diff --git a/.gitignore b/.gitignore index 86a5927..fb61d6b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,4 @@ node_modules -.env broadcast/ contracts/broadcast cache_forge/ @@ -20,6 +19,7 @@ dist/ # Hardhat Ignition default folder for deployments against a local node ignition/deployments/chain-31337 +/.env .DS_STORE /target out/ diff --git a/backend/.env b/backend/.env new file mode 100644 index 0000000..dfa4d44 --- /dev/null +++ b/backend/.env @@ -0,0 +1,7 @@ +OC_LISTEN_PORT=1234 +OC_HYBRID_ACCOUNT=0x81199357b12d66ebd36166ff80b8b2d2596e4c2a +ENTRY_POINTS=0x5fbdb2315678afecb367f032d93f642f64180aa3 +CHAIN_ID=901 +HC_HELPER_ADDR=0xe7f1725e7734ce288f8367e1bb143e90bb3f0512 +COINRANKING_API_KEY=coinranking679eb5fd3f71f032e8ab560780d4c4ac9e8c129a217a9a0c +OC_PRIVKEY=0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80 \ No newline at end of file diff --git a/backend/Dockerfile b/backend/Dockerfile index 66eb6f2..f76ecff 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -1,19 +1,8 @@ -# Stage 1: Build the application -FROM node:18 AS builder - +FROM node:18 WORKDIR /app - -# Copy package.json and package-lock.json (if available) -COPY ./package*.json ./ - -# Install dependencies +COPY package*.json ./ RUN npm i - -# Copy the rest of the application code -COPY *.ts . - -# Expose the port the app runs on +COPY tsconfig.json ./ +COPY src ./src EXPOSE ${OC_LISTEN_PORT:-1234} - -# Build the TypeScript application -CMD ["npm", "start"] +CMD ["npm", "start"] \ No newline at end of file diff --git a/backend/common/types.ts b/backend/common/types.ts deleted file mode 100644 index 8b7e42b..0000000 --- a/backend/common/types.ts +++ /dev/null @@ -1,7 +0,0 @@ -export type Request = { - skey: Uint8Array; - srcAddr: string; - srcNonce: number | bigint; - opNonce: number | bigint; - reqBytes: string; -}; diff --git a/backend/common/utils.ts b/backend/common/utils.ts deleted file mode 100644 index 997590e..0000000 --- a/backend/common/utils.ts +++ /dev/null @@ -1,45 +0,0 @@ -import Web3, { HexString } from "web3"; -import { Request } from "./types"; -import "dotenv/config"; -import { OffchainParameter, OffchainParameterParsed } from "../offchain/utils"; - -const web3 = new Web3(); - -export function selector(name: string): HexString { - const hex = web3.utils.toHex(web3.utils.keccak256(name)); - return hex.slice(2, 10); -} - -export function parseOffchainParameter( - params: OffchainParameter -): OffchainParameterParsed { - return { - ooNonce: params.oo_nonce, - payload: params.payload, - sk: params.sk, - srcAddr: params.src_addr, - srcNonce: params.src_nonce, - ver: params.ver, - }; -} - -export function parseRequest(params: OffchainParameterParsed): Request { - console.log("params", params); - return { - skey: web3.utils.hexToBytes(params.sk), - srcAddr: web3.utils.toChecksumAddress(params.srcAddr), - //srcNonce: web3.utils.toBigInt(params.srcNonce), - //opNonce: web3.utils.toBigInt(params.ooNonce), - srcNonce: web3.utils.hexToNumber("0x" + params.srcNonce), - opNonce: web3.utils.hexToNumber(params.ooNonce), - //reqBytes: web3.utils.utf8ToBytes(params.payload), - reqBytes: params.payload, - } as const; -} - -export function decodeAbi( - types: string[], - data: string -): { [key: string]: unknown; __length__: number } { - return web3.eth.abi.decodeParameters(types, data); -} diff --git a/backend/docker-compose.yml b/backend/docker-compose.yml deleted file mode 100644 index a28e06c..0000000 --- a/backend/docker-compose.yml +++ /dev/null @@ -1,21 +0,0 @@ -version: '3.8' - -services: - offchain-service: - build: - context: ./offchain - dockerfile: ../Dockerfile - ports: - - "${OC_LISTEN_PORT:-1234}:${OC_LISTEN_PORT:-1234}" - env_file: .env - restart: unless-stopped - healthcheck: - test: ["CMD", "curl", "-f", "http://localhost:${OC_LISTEN_PORT:-1234}/hc"] - interval: 30s - timeout: 10s - retries: 3 - start_period: 10s - -networks: - default: - name: offchain-network \ No newline at end of file diff --git a/backend/jest.config.js b/backend/jest.config.js deleted file mode 100644 index ceae66c..0000000 --- a/backend/jest.config.js +++ /dev/null @@ -1,10 +0,0 @@ -/** @type {import('ts-jest').JestConfigWithTsJest} */ -module.exports = { - "preset": "ts-jest", - "testEnvironment": "node", - "globals": { - "ts-jest": { - "tsconfig": "tsconfig.json" - } - } -} \ No newline at end of file diff --git a/backend/offchain/package.json b/backend/offchain/package.json deleted file mode 100644 index 39fb17a..0000000 --- a/backend/offchain/package.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "name": "aa-hc-backend-server", - "version": "1.0.0", - "main": "index.js", - "scripts": { - "start": "npx ts-node ./server.ts" - }, - "license": "MIT", - "devDependencies": { - "@types/body-parser": "^1.19.5", - "@types/node": "^20.14.11", - "ts-node": "^10.9.2" - }, - "dependencies": { - "@types/express": "^4.17.21", - "axios": "^1.7.2", - "body-parser": "^1.20.2", - "dotenv": "^16.4.5", - "express": "^4.19.2", - "json-rpc-2.0": "^1.7.0", - "web3": "^4.11.0" - } -} diff --git a/backend/offchain/pnpm-lock.yaml b/backend/offchain/pnpm-lock.yaml deleted file mode 100644 index c170aef..0000000 --- a/backend/offchain/pnpm-lock.yaml +++ /dev/null @@ -1,1394 +0,0 @@ -lockfileVersion: '9.0' - -settings: - autoInstallPeers: true - excludeLinksFromLockfile: false - -importers: - - .: - dependencies: - '@types/express': - specifier: ^4.17.21 - version: 4.17.21 - axios: - specifier: ^1.7.2 - version: 1.7.2 - dotenv: - specifier: ^16.4.5 - version: 16.4.5 - express: - specifier: ^4.19.2 - version: 4.19.2 - web3: - specifier: ^4.11.0 - version: 4.11.1(typescript@5.5.4)(zod@3.23.8) - devDependencies: - '@types/node': - specifier: ^20.14.11 - version: 20.14.13 - ts-node: - specifier: ^10.9.2 - version: 10.9.2(@types/node@20.14.13)(typescript@5.5.4) - -packages: - - '@adraffy/ens-normalize@1.10.1': - resolution: {integrity: sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==} - - '@cspotcode/source-map-support@0.8.1': - resolution: {integrity: sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==} - engines: {node: '>=12'} - - '@ethereumjs/rlp@4.0.1': - resolution: {integrity: sha512-tqsQiBQDQdmPWE1xkkBq4rlSW5QZpLOUJ5RJh2/9fug+q9tnUhuZoVLk7s0scUIKTOzEtR72DFBXI4WiZcMpvw==} - engines: {node: '>=14'} - hasBin: true - - '@ethereumjs/rlp@5.0.2': - resolution: {integrity: sha512-DziebCdg4JpGlEqEdGgXmjqcFoJi+JGulUXwEjsZGAscAQ7MyD/7LE/GVCP29vEQxKc7AAwjT3A2ywHp2xfoCA==} - engines: {node: '>=18'} - hasBin: true - - '@jridgewell/resolve-uri@3.1.2': - resolution: {integrity: sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==} - engines: {node: '>=6.0.0'} - - '@jridgewell/sourcemap-codec@1.5.0': - resolution: {integrity: sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==} - - '@jridgewell/trace-mapping@0.3.9': - resolution: {integrity: sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==} - - '@noble/curves@1.4.2': - resolution: {integrity: sha512-TavHr8qycMChk8UwMld0ZDRvatedkzWfH8IiaeGCfymOP5i0hSCozz9vHOL0nkwk7HRMlFnAiKpS2jrUmSybcw==} - - '@noble/hashes@1.4.0': - resolution: {integrity: sha512-V1JJ1WTRUqHHrOSh597hURcMqVKVGL/ea3kv0gSnEdsEZ0/+VyPghM1lMNGc00z7CIQorSvbKpuJkxvuHbvdbg==} - engines: {node: '>= 16'} - - '@scure/base@1.1.7': - resolution: {integrity: sha512-PPNYBslrLNNUQ/Yad37MHYsNQtK67EhWb6WtSvNLLPo7SdVZgkUjD6Dg+5On7zNwmskf8OX7I7Nx5oN+MIWE0g==} - - '@scure/bip32@1.4.0': - resolution: {integrity: sha512-sVUpc0Vq3tXCkDGYVWGIZTRfnvu8LoTDaev7vbwh0omSvVORONr960MQWdKqJDCReIEmTj3PAr73O3aoxz7OPg==} - - '@scure/bip39@1.3.0': - resolution: {integrity: sha512-disdg7gHuTDZtY+ZdkmLpPCk7fxZSu3gBiEGuoC1XYxv9cGx3Z6cpTggCgW6odSOOIXCiDjuGejW+aJKCY/pIQ==} - - '@tsconfig/node10@1.0.11': - resolution: {integrity: sha512-DcRjDCujK/kCk/cUe8Xz8ZSpm8mS3mNNpta+jGCA6USEDfktlNvm1+IuZ9eTcDbNk41BHwpHHeW+N1lKCz4zOw==} - - '@tsconfig/node12@1.0.11': - resolution: {integrity: sha512-cqefuRsh12pWyGsIoBKJA9luFu3mRxCA+ORZvA4ktLSzIuCUtWVxGIuXigEwO5/ywWFMZ2QEGKWvkZG1zDMTag==} - - '@tsconfig/node14@1.0.3': - resolution: {integrity: sha512-ysT8mhdixWK6Hw3i1V2AeRqZ5WfXg1G43mqoYlM2nc6388Fq5jcXyr5mRsqViLx/GJYdoL0bfXD8nmF+Zn/Iow==} - - '@tsconfig/node16@1.0.4': - resolution: {integrity: sha512-vxhUy4J8lyeyinH7Azl1pdd43GJhZH/tP2weN8TntQblOY+A0XbT8DJk1/oCPuOOyg/Ja757rG0CgHcWC8OfMA==} - - '@types/body-parser@1.19.5': - resolution: {integrity: sha512-fB3Zu92ucau0iQ0JMCFQE7b/dv8Ot07NI3KaZIkIUNXq82k4eBAqUaneXfleGY9JWskeS9y+u0nXMyspcuQrCg==} - - '@types/connect@3.4.38': - resolution: {integrity: sha512-K6uROf1LD88uDQqJCktA4yzL1YYAK6NgfsI0v/mTgyPKWsX1CnJ0XPSDhViejru1GcRkLWb8RlzFYJRqGUbaug==} - - '@types/express-serve-static-core@4.19.5': - resolution: {integrity: sha512-y6W03tvrACO72aijJ5uF02FRq5cgDR9lUxddQ8vyF+GvmjJQqbzDcJngEjURc+ZsG31VI3hODNZJ2URj86pzmg==} - - '@types/express@4.17.21': - resolution: {integrity: sha512-ejlPM315qwLpaQlQDTjPdsUFSc6ZsP4AN6AlWnogPjQ7CVi7PYF3YVz+CY3jE2pwYf7E/7HlDAN0rV2GxTG0HQ==} - - '@types/http-errors@2.0.4': - resolution: {integrity: sha512-D0CFMMtydbJAegzOyHjtiKPLlvnm3iTZyZRSZoLq2mRhDdmLfIWOCYPfQJ4cu2erKghU++QvjcUjp/5h7hESpA==} - - '@types/mime@1.3.5': - resolution: {integrity: sha512-/pyBZWSLD2n0dcHE3hq8s8ZvcETHtEuF+3E7XVt0Ig2nvsVQXdghHVcEkIWjy9A0wKfTn97a/PSDYohKIlnP/w==} - - '@types/node@20.14.13': - resolution: {integrity: sha512-+bHoGiZb8UiQ0+WEtmph2IWQCjIqg8MDZMAV+ppRRhUZnquF5mQkP/9vpSwJClEiSM/C7fZZExPzfU0vJTyp8w==} - - '@types/qs@6.9.15': - resolution: {integrity: sha512-uXHQKES6DQKKCLh441Xv/dwxOq1TVS3JPUMlEqoEglvlhR6Mxnlew/Xq/LRVHpLyk7iK3zODe1qYHIMltO7XGg==} - - '@types/range-parser@1.2.7': - resolution: {integrity: sha512-hKormJbkJqzQGhziax5PItDUTMAM9uE2XXQmM37dyd4hVM+5aVl7oVxMVUiVQn2oCQFN/LKCZdvSM0pFRqbSmQ==} - - '@types/send@0.17.4': - resolution: {integrity: sha512-x2EM6TJOybec7c52BX0ZspPodMsQUd5L6PRwOunVyVUhXiBSKf3AezDL8Dgvgt5o0UfKNfuA0eMLr2wLT4AiBA==} - - '@types/serve-static@1.15.7': - resolution: {integrity: sha512-W8Ym+h8nhuRwaKPaDw34QUkwsGi6Rc4yYqvKFo5rm2FUEhCFbzVWrxXUxuKK8TASjWsysJY0nsmNCGhCOIsrOw==} - - '@types/ws@8.5.3': - resolution: {integrity: sha512-6YOoWjruKj1uLf3INHH7D3qTXwFfEsg1kf3c0uDdSBJwfa/llkwIjrAGV7j7mVgGNbzTQ3HiHKKDXl6bJPD97w==} - - abitype@0.7.1: - resolution: {integrity: sha512-VBkRHTDZf9Myaek/dO3yMmOzB/y2s3Zo6nVU7yaw1G+TvCHAjwaJzNGN9yo4K5D8bU/VZXKP1EJpRhFr862PlQ==} - peerDependencies: - typescript: '>=4.9.4' - zod: ^3 >=3.19.1 - peerDependenciesMeta: - zod: - optional: true - - accepts@1.3.8: - resolution: {integrity: sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==} - engines: {node: '>= 0.6'} - - acorn-walk@8.3.3: - resolution: {integrity: sha512-MxXdReSRhGO7VlFe1bRG/oI7/mdLV9B9JJT0N8vZOhF7gFRR5l3M8W9G8JxmKV+JC5mGqJ0QvqfSOLsCPa4nUw==} - engines: {node: '>=0.4.0'} - - acorn@8.12.1: - resolution: {integrity: sha512-tcpGyI9zbizT9JbV6oYE477V6mTlXvvi0T0G3SNIYE2apm/G5huBa1+K89VGeovbg+jycCrfhl3ADxErOuO6Jg==} - engines: {node: '>=0.4.0'} - hasBin: true - - arg@4.1.3: - resolution: {integrity: sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==} - - array-flatten@1.1.1: - resolution: {integrity: sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg==} - - asynckit@0.4.0: - resolution: {integrity: sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==} - - available-typed-arrays@1.0.7: - resolution: {integrity: sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ==} - engines: {node: '>= 0.4'} - - axios@1.7.2: - resolution: {integrity: sha512-2A8QhOMrbomlDuiLeK9XibIBzuHeRcqqNOHp0Cyp5EoJ1IFDh+XZH3A6BkXtv0K4gFGCI0Y4BM7B1wOEi0Rmgw==} - - body-parser@1.20.2: - resolution: {integrity: sha512-ml9pReCu3M61kGlqoTm2umSXTlRTuGTx0bfYj+uIUKKYycG5NtSbeetV3faSU6R7ajOPw0g/J1PvK4qNy7s5bA==} - engines: {node: '>= 0.8', npm: 1.2.8000 || >= 1.4.16} - - bytes@3.1.2: - resolution: {integrity: sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==} - engines: {node: '>= 0.8'} - - call-bind@1.0.7: - resolution: {integrity: sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==} - engines: {node: '>= 0.4'} - - combined-stream@1.0.8: - resolution: {integrity: sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==} - engines: {node: '>= 0.8'} - - content-disposition@0.5.4: - resolution: {integrity: sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==} - engines: {node: '>= 0.6'} - - content-type@1.0.5: - resolution: {integrity: sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==} - engines: {node: '>= 0.6'} - - cookie-signature@1.0.6: - resolution: {integrity: sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ==} - - cookie@0.6.0: - resolution: {integrity: sha512-U71cyTamuh1CRNCfpGY6to28lxvNwPG4Guz/EVjgf3Jmzv0vlDp1atT9eS5dDjMYHucpHbWns6Lwf3BKz6svdw==} - engines: {node: '>= 0.6'} - - crc-32@1.2.2: - resolution: {integrity: sha512-ROmzCKrTnOwybPcJApAA6WBWij23HVfGVNKqqrZpuyZOHqK2CwHSvpGuyt/UNNvaIjEd8X5IFGp4Mh+Ie1IHJQ==} - engines: {node: '>=0.8'} - hasBin: true - - create-require@1.1.1: - resolution: {integrity: sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==} - - cross-fetch@4.0.0: - resolution: {integrity: sha512-e4a5N8lVvuLgAWgnCrLr2PP0YyDOTHa9H/Rj54dirp61qXnNq46m82bRhNqIA5VccJtWBvPTFRV3TtvHUKPB1g==} - - debug@2.6.9: - resolution: {integrity: sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==} - peerDependencies: - supports-color: '*' - peerDependenciesMeta: - supports-color: - optional: true - - define-data-property@1.1.4: - resolution: {integrity: sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==} - engines: {node: '>= 0.4'} - - delayed-stream@1.0.0: - resolution: {integrity: sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==} - engines: {node: '>=0.4.0'} - - depd@2.0.0: - resolution: {integrity: sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==} - engines: {node: '>= 0.8'} - - destroy@1.2.0: - resolution: {integrity: sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==} - engines: {node: '>= 0.8', npm: 1.2.8000 || >= 1.4.16} - - diff@4.0.2: - resolution: {integrity: sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==} - engines: {node: '>=0.3.1'} - - dotenv@16.4.5: - resolution: {integrity: sha512-ZmdL2rui+eB2YwhsWzjInR8LldtZHGDoQ1ugH85ppHKwpUHL7j7rN0Ti9NCnGiQbhaZ11FpR+7ao1dNsmduNUg==} - engines: {node: '>=12'} - - ee-first@1.1.1: - resolution: {integrity: sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==} - - encodeurl@1.0.2: - resolution: {integrity: sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==} - engines: {node: '>= 0.8'} - - es-define-property@1.0.0: - resolution: {integrity: sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ==} - engines: {node: '>= 0.4'} - - es-errors@1.3.0: - resolution: {integrity: sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==} - engines: {node: '>= 0.4'} - - escape-html@1.0.3: - resolution: {integrity: sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==} - - etag@1.8.1: - resolution: {integrity: sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==} - engines: {node: '>= 0.6'} - - ethereum-cryptography@2.2.1: - resolution: {integrity: sha512-r/W8lkHSiTLxUxW8Rf3u4HGB0xQweG2RyETjywylKZSzLWoWAijRz8WCuOtJ6wah+avllXBqZuk29HCCvhEIRg==} - - eventemitter3@5.0.1: - resolution: {integrity: sha512-GWkBvjiSZK87ELrYOSESUYeVIc9mvLLf/nXalMOS5dYrgZq9o5OVkbZAVM06CVxYsCwH9BDZFPlQTlPA1j4ahA==} - - express@4.19.2: - resolution: {integrity: sha512-5T6nhjsT+EOMzuck8JjBHARTHfMht0POzlA60WV2pMD3gyXw2LZnZ+ueGdNxG+0calOJcWKbpFcuzLZ91YWq9Q==} - engines: {node: '>= 0.10.0'} - - finalhandler@1.2.0: - resolution: {integrity: sha512-5uXcUVftlQMFnWC9qu/svkWv3GTd2PfUhK/3PLkYNAe7FbqJMt3515HaxE6eRL74GdsriiwujiawdaB1BpEISg==} - engines: {node: '>= 0.8'} - - follow-redirects@1.15.6: - resolution: {integrity: sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA==} - engines: {node: '>=4.0'} - peerDependencies: - debug: '*' - peerDependenciesMeta: - debug: - optional: true - - for-each@0.3.3: - resolution: {integrity: sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==} - - form-data@4.0.0: - resolution: {integrity: sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==} - engines: {node: '>= 6'} - - forwarded@0.2.0: - resolution: {integrity: sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==} - engines: {node: '>= 0.6'} - - fresh@0.5.2: - resolution: {integrity: sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==} - engines: {node: '>= 0.6'} - - function-bind@1.1.2: - resolution: {integrity: sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==} - - get-intrinsic@1.2.4: - resolution: {integrity: sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==} - engines: {node: '>= 0.4'} - - gopd@1.0.1: - resolution: {integrity: sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==} - - has-property-descriptors@1.0.2: - resolution: {integrity: sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==} - - has-proto@1.0.3: - resolution: {integrity: sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q==} - engines: {node: '>= 0.4'} - - has-symbols@1.0.3: - resolution: {integrity: sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==} - engines: {node: '>= 0.4'} - - has-tostringtag@1.0.2: - resolution: {integrity: sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==} - engines: {node: '>= 0.4'} - - hasown@2.0.2: - resolution: {integrity: sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==} - engines: {node: '>= 0.4'} - - http-errors@2.0.0: - resolution: {integrity: sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==} - engines: {node: '>= 0.8'} - - iconv-lite@0.4.24: - resolution: {integrity: sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==} - engines: {node: '>=0.10.0'} - - inherits@2.0.4: - resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==} - - ipaddr.js@1.9.1: - resolution: {integrity: sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==} - engines: {node: '>= 0.10'} - - is-arguments@1.1.1: - resolution: {integrity: sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==} - engines: {node: '>= 0.4'} - - is-callable@1.2.7: - resolution: {integrity: sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==} - engines: {node: '>= 0.4'} - - is-generator-function@1.0.10: - resolution: {integrity: sha512-jsEjy9l3yiXEQ+PsXdmBwEPcOxaXWLspKdplFUVI9vq1iZgIekeC0L167qeu86czQaxed3q/Uzuw0swL0irL8A==} - engines: {node: '>= 0.4'} - - is-typed-array@1.1.13: - resolution: {integrity: sha512-uZ25/bUAlUY5fR4OKT4rZQEBrzQWYV9ZJYGGsUmEJ6thodVJ1HX64ePQ6Z0qPWP+m+Uq6e9UugrE38jeYsDSMw==} - engines: {node: '>= 0.4'} - - isomorphic-ws@5.0.0: - resolution: {integrity: sha512-muId7Zzn9ywDsyXgTIafTry2sV3nySZeUDe6YedVd1Hvuuep5AsIlqK+XefWpYTyJG5e503F2xIuT2lcU6rCSw==} - peerDependencies: - ws: '*' - - make-error@1.3.6: - resolution: {integrity: sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==} - - media-typer@0.3.0: - resolution: {integrity: sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==} - engines: {node: '>= 0.6'} - - merge-descriptors@1.0.1: - resolution: {integrity: sha512-cCi6g3/Zr1iqQi6ySbseM1Xvooa98N0w31jzUYrXPX2xqObmFGHJ0tQ5u74H3mVh7wLouTseZyYIq39g8cNp1w==} - - methods@1.1.2: - resolution: {integrity: sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==} - engines: {node: '>= 0.6'} - - mime-db@1.52.0: - resolution: {integrity: sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==} - engines: {node: '>= 0.6'} - - mime-types@2.1.35: - resolution: {integrity: sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==} - engines: {node: '>= 0.6'} - - mime@1.6.0: - resolution: {integrity: sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==} - engines: {node: '>=4'} - hasBin: true - - ms@2.0.0: - resolution: {integrity: sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==} - - ms@2.1.3: - resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==} - - negotiator@0.6.3: - resolution: {integrity: sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==} - engines: {node: '>= 0.6'} - - node-fetch@2.7.0: - resolution: {integrity: sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==} - engines: {node: 4.x || >=6.0.0} - peerDependencies: - encoding: ^0.1.0 - peerDependenciesMeta: - encoding: - optional: true - - object-inspect@1.13.2: - resolution: {integrity: sha512-IRZSRuzJiynemAXPYtPe5BoI/RESNYR7TYm50MC5Mqbd3Jmw5y790sErYw3V6SryFJD64b74qQQs9wn5Bg/k3g==} - engines: {node: '>= 0.4'} - - on-finished@2.4.1: - resolution: {integrity: sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==} - engines: {node: '>= 0.8'} - - parseurl@1.3.3: - resolution: {integrity: sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==} - engines: {node: '>= 0.8'} - - path-to-regexp@0.1.7: - resolution: {integrity: sha512-5DFkuoqlv1uYQKxy8omFBeJPQcdoE07Kv2sferDCrAq1ohOU+MSDswDIbnx3YAM60qIOnYa53wBhXW0EbMonrQ==} - - possible-typed-array-names@1.0.0: - resolution: {integrity: sha512-d7Uw+eZoloe0EHDIYoe+bQ5WXnGMOpmiZFTuMWCwpjzzkL2nTjcKiAk4hh8TjnGye2TwWOk3UXucZ+3rbmBa8Q==} - engines: {node: '>= 0.4'} - - proxy-addr@2.0.7: - resolution: {integrity: sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==} - engines: {node: '>= 0.10'} - - proxy-from-env@1.1.0: - resolution: {integrity: sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==} - - qs@6.11.0: - resolution: {integrity: sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu/MaJzRkIk4Q==} - engines: {node: '>=0.6'} - - range-parser@1.2.1: - resolution: {integrity: sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==} - engines: {node: '>= 0.6'} - - raw-body@2.5.2: - resolution: {integrity: sha512-8zGqypfENjCIqGhgXToC8aB2r7YrBX+AQAfIPs/Mlk+BtPTztOvTS01NRW/3Eh60J+a48lt8qsCzirQ6loCVfA==} - engines: {node: '>= 0.8'} - - safe-buffer@5.2.1: - resolution: {integrity: sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==} - - safer-buffer@2.1.2: - resolution: {integrity: sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==} - - send@0.18.0: - resolution: {integrity: sha512-qqWzuOjSFOuqPjFe4NOsMLafToQQwBSOEpS+FwEt3A2V3vKubTquT3vmLTQpFgMXp8AlFWFuP1qKaJZOtPpVXg==} - engines: {node: '>= 0.8.0'} - - serve-static@1.15.0: - resolution: {integrity: sha512-XGuRDNjXUijsUL0vl6nSD7cwURuzEgglbOaFuZM9g3kwDXOWVTck0jLzjPzGD+TazWbboZYu52/9/XPdUgne9g==} - engines: {node: '>= 0.8.0'} - - set-function-length@1.2.2: - resolution: {integrity: sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==} - engines: {node: '>= 0.4'} - - setimmediate@1.0.5: - resolution: {integrity: sha512-MATJdZp8sLqDl/68LfQmbP8zKPLQNV6BIZoIgrscFDQ+RsvK/BxeDQOgyxKKoh0y/8h3BqVFnCqQ/gd+reiIXA==} - - setprototypeof@1.2.0: - resolution: {integrity: sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==} - - side-channel@1.0.6: - resolution: {integrity: sha512-fDW/EZ6Q9RiO8eFG8Hj+7u/oW+XrPTIChwCOM2+th2A6OblDtYYIpve9m+KvI9Z4C9qSEXlaGR6bTEYHReuglA==} - engines: {node: '>= 0.4'} - - statuses@2.0.1: - resolution: {integrity: sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==} - engines: {node: '>= 0.8'} - - toidentifier@1.0.1: - resolution: {integrity: sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==} - engines: {node: '>=0.6'} - - tr46@0.0.3: - resolution: {integrity: sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==} - - ts-node@10.9.2: - resolution: {integrity: sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==} - hasBin: true - peerDependencies: - '@swc/core': '>=1.2.50' - '@swc/wasm': '>=1.2.50' - '@types/node': '*' - typescript: '>=2.7' - peerDependenciesMeta: - '@swc/core': - optional: true - '@swc/wasm': - optional: true - - type-is@1.6.18: - resolution: {integrity: sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==} - engines: {node: '>= 0.6'} - - typescript@5.5.4: - resolution: {integrity: sha512-Mtq29sKDAEYP7aljRgtPOpTvOfbwRWlS6dPRzwjdE+C0R4brX/GUyhHSecbHMFLNBLcJIPt9nl9yG5TZ1weH+Q==} - engines: {node: '>=14.17'} - hasBin: true - - undici-types@5.26.5: - resolution: {integrity: sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==} - - unpipe@1.0.0: - resolution: {integrity: sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==} - engines: {node: '>= 0.8'} - - util@0.12.5: - resolution: {integrity: sha512-kZf/K6hEIrWHI6XqOFUiiMa+79wE/D8Q+NCNAWclkyg3b4d2k7s0QGepNjiABc+aR3N1PAyHL7p6UcLY6LmrnA==} - - utils-merge@1.0.1: - resolution: {integrity: sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==} - engines: {node: '>= 0.4.0'} - - v8-compile-cache-lib@3.0.1: - resolution: {integrity: sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==} - - vary@1.1.2: - resolution: {integrity: sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==} - engines: {node: '>= 0.8'} - - web3-core@4.5.0: - resolution: {integrity: sha512-Q8LIAqmF7vkRydBPiU+OC7wI44nEU6JEExolFaOakqrjMtQ1CWFHRUQMNJRDsk5bRirjyShuAsuqLeYByvvXhg==} - engines: {node: '>=14', npm: '>=6.12.0'} - - web3-errors@1.2.1: - resolution: {integrity: sha512-dIsi8SFC9TCAWpPmacXeVMk/F8tDNa1Bvg8/Cc2cvJo8LRSWd099szEyb+/SiMYcLlEbwftiT9Rpukz7ql4hBg==} - engines: {node: '>=14', npm: '>=6.12.0'} - - web3-eth-abi@4.2.3: - resolution: {integrity: sha512-rPVwTn0O1CzbtfXwEfIjUP0W5Y7u1OFjugwKpSqJzPQE6+REBg6OELjomTGZBu+GThxHnv0rp15SOxvqp+tyXA==} - engines: {node: '>=14', npm: '>=6.12.0'} - - web3-eth-accounts@4.1.3: - resolution: {integrity: sha512-61Nb7xCXy6Vw/6xUZMM5ITtXetXmaP0F8oKRxika4GO4fRfKZLAwBZtshMyrdAORPZYq77ENiqXJVU+hTmtUaQ==} - engines: {node: '>=14', npm: '>=6.12.0'} - - web3-eth-contract@4.6.0: - resolution: {integrity: sha512-mgQ/WUUlgW9BVKKVGU/Q7KrQEbEGI98h8ppox7fT964wY9ITFMDuRCvYk50WTWnFMdjFtOBqt1xRJ0+B1ekCHg==} - engines: {node: '>=14', npm: '>=6.12.0'} - - web3-eth-ens@4.4.0: - resolution: {integrity: sha512-DeyVIS060hNV9g8dnTx92syqvgbvPricE3MerCxe/DquNZT3tD8aVgFfq65GATtpCgDDJffO2bVeHp3XBemnSQ==} - engines: {node: '>=14', npm: '>=6.12.0'} - - web3-eth-iban@4.0.7: - resolution: {integrity: sha512-8weKLa9KuKRzibC87vNLdkinpUE30gn0IGY027F8doeJdcPUfsa4IlBgNC4k4HLBembBB2CTU0Kr/HAOqMeYVQ==} - engines: {node: '>=14', npm: '>=6.12.0'} - - web3-eth-personal@4.0.8: - resolution: {integrity: sha512-sXeyLKJ7ddQdMxz1BZkAwImjqh7OmKxhXoBNF3isDmD4QDpMIwv/t237S3q4Z0sZQamPa/pHebJRWVuvP8jZdw==} - engines: {node: '>=14', npm: '>=6.12.0'} - - web3-eth@4.8.2: - resolution: {integrity: sha512-DLV/fIMG6gBp/B0gv0+G4FzxZ4YCDQsY3lzqqv7avwh3uU7/O27aifCUcFd7Ye+3ixTqCjAvLEl9wYSeyG3zQw==} - engines: {node: '>=14', npm: '>=6.12.0'} - - web3-net@4.1.0: - resolution: {integrity: sha512-WWmfvHVIXWEoBDWdgKNYKN8rAy6SgluZ0abyRyXOL3ESr7ym7pKWbfP4fjApIHlYTh8tNqkrdPfM4Dyi6CA0SA==} - engines: {node: '>=14', npm: '>=6.12.0'} - - web3-providers-http@4.1.0: - resolution: {integrity: sha512-6qRUGAhJfVQM41E5t+re5IHYmb5hSaLc02BE2MaRQsz2xKA6RjmHpOA5h/+ojJxEpI9NI2CrfDKOAgtJfoUJQg==} - engines: {node: '>=14', npm: '>=6.12.0'} - - web3-providers-ipc@4.0.7: - resolution: {integrity: sha512-YbNqY4zUvIaK2MHr1lQFE53/8t/ejHtJchrWn9zVbFMGXlTsOAbNoIoZWROrg1v+hCBvT2c9z8xt7e/+uz5p1g==} - engines: {node: '>=14', npm: '>=6.12.0'} - - web3-providers-ws@4.0.8: - resolution: {integrity: sha512-goJdgata7v4pyzHRsg9fSegUG4gVnHZSHODhNnn6J93ykHkBI1nz4fjlGpcQLUMi4jAMz6SHl9Ibzs2jj9xqPw==} - engines: {node: '>=14', npm: '>=6.12.0'} - - web3-rpc-methods@1.3.0: - resolution: {integrity: sha512-/CHmzGN+IYgdBOme7PdqzF+FNeMleefzqs0LVOduncSaqsppeOEoskLXb2anSpzmQAP3xZJPaTrkQPWSJMORig==} - engines: {node: '>=14', npm: '>=6.12.0'} - - web3-rpc-providers@1.0.0-rc.1: - resolution: {integrity: sha512-N7AgGB+ilKPFQohnlI1vNHWmQ5Wh5vlGdYKWCWJc9kisKxxGtOsqN3W8tOj6/898sHZIXU9i/IAOyreGDIybmw==} - engines: {node: '>=14', npm: '>=6.12.0'} - - web3-types@1.7.0: - resolution: {integrity: sha512-nhXxDJ7a5FesRw9UG5SZdP/C/3Q2EzHGnB39hkAV+YGXDMgwxBXFWebQLfEzZzuArfHnvC0sQqkIHNwSKcVjdA==} - engines: {node: '>=14', npm: '>=6.12.0'} - - web3-utils@4.3.1: - resolution: {integrity: sha512-kGwOk8FxOLJ9DQC68yqNQc7AzN+k9YDLaW+ZjlAXs3qORhf8zXk5SxWAAGLbLykMs3vTeB0FTb1Exut4JEYfFA==} - engines: {node: '>=14', npm: '>=6.12.0'} - - web3-validator@2.0.6: - resolution: {integrity: sha512-qn9id0/l1bWmvH4XfnG/JtGKKwut2Vokl6YXP5Kfg424npysmtRLe9DgiNBM9Op7QL/aSiaA0TVXibuIuWcizg==} - engines: {node: '>=14', npm: '>=6.12.0'} - - web3@4.11.1: - resolution: {integrity: sha512-KUntBtnc+cj9ur/yNcdTok9MpCI9dHf8h1hRmLPVICF5wyKyHbR4t+51vqUnK5bI6UxVfRPT++qCcP7KhDACVA==} - engines: {node: '>=14.0.0', npm: '>=6.12.0'} - - webidl-conversions@3.0.1: - resolution: {integrity: sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==} - - whatwg-url@5.0.0: - resolution: {integrity: sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==} - - which-typed-array@1.1.15: - resolution: {integrity: sha512-oV0jmFtUky6CXfkqehVvBP/LSWJ2sy4vWMioiENyJLePrBO/yKyV9OyJySfAKosh+RYkIl5zJCNZ8/4JncrpdA==} - engines: {node: '>= 0.4'} - - ws@8.18.0: - resolution: {integrity: sha512-8VbfWfHLbbwu3+N6OKsOMpBdT4kXPDDB9cJk2bJ6mh9ucxdlnNvH1e+roYkKmN9Nxw2yjz7VzeO9oOz2zJ04Pw==} - engines: {node: '>=10.0.0'} - peerDependencies: - bufferutil: ^4.0.1 - utf-8-validate: '>=5.0.2' - peerDependenciesMeta: - bufferutil: - optional: true - utf-8-validate: - optional: true - - yn@3.1.1: - resolution: {integrity: sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==} - engines: {node: '>=6'} - - zod@3.23.8: - resolution: {integrity: sha512-XBx9AXhXktjUqnepgTiE5flcKIYWi/rme0Eaj+5Y0lftuGBq+jyRu/md4WnuxqgP1ubdpNCsYEYPxrzVHD8d6g==} - -snapshots: - - '@adraffy/ens-normalize@1.10.1': {} - - '@cspotcode/source-map-support@0.8.1': - dependencies: - '@jridgewell/trace-mapping': 0.3.9 - - '@ethereumjs/rlp@4.0.1': {} - - '@ethereumjs/rlp@5.0.2': {} - - '@jridgewell/resolve-uri@3.1.2': {} - - '@jridgewell/sourcemap-codec@1.5.0': {} - - '@jridgewell/trace-mapping@0.3.9': - dependencies: - '@jridgewell/resolve-uri': 3.1.2 - '@jridgewell/sourcemap-codec': 1.5.0 - - '@noble/curves@1.4.2': - dependencies: - '@noble/hashes': 1.4.0 - - '@noble/hashes@1.4.0': {} - - '@scure/base@1.1.7': {} - - '@scure/bip32@1.4.0': - dependencies: - '@noble/curves': 1.4.2 - '@noble/hashes': 1.4.0 - '@scure/base': 1.1.7 - - '@scure/bip39@1.3.0': - dependencies: - '@noble/hashes': 1.4.0 - '@scure/base': 1.1.7 - - '@tsconfig/node10@1.0.11': {} - - '@tsconfig/node12@1.0.11': {} - - '@tsconfig/node14@1.0.3': {} - - '@tsconfig/node16@1.0.4': {} - - '@types/body-parser@1.19.5': - dependencies: - '@types/connect': 3.4.38 - '@types/node': 20.14.13 - - '@types/connect@3.4.38': - dependencies: - '@types/node': 20.14.13 - - '@types/express-serve-static-core@4.19.5': - dependencies: - '@types/node': 20.14.13 - '@types/qs': 6.9.15 - '@types/range-parser': 1.2.7 - '@types/send': 0.17.4 - - '@types/express@4.17.21': - dependencies: - '@types/body-parser': 1.19.5 - '@types/express-serve-static-core': 4.19.5 - '@types/qs': 6.9.15 - '@types/serve-static': 1.15.7 - - '@types/http-errors@2.0.4': {} - - '@types/mime@1.3.5': {} - - '@types/node@20.14.13': - dependencies: - undici-types: 5.26.5 - - '@types/qs@6.9.15': {} - - '@types/range-parser@1.2.7': {} - - '@types/send@0.17.4': - dependencies: - '@types/mime': 1.3.5 - '@types/node': 20.14.13 - - '@types/serve-static@1.15.7': - dependencies: - '@types/http-errors': 2.0.4 - '@types/node': 20.14.13 - '@types/send': 0.17.4 - - '@types/ws@8.5.3': - dependencies: - '@types/node': 20.14.13 - - abitype@0.7.1(typescript@5.5.4)(zod@3.23.8): - dependencies: - typescript: 5.5.4 - optionalDependencies: - zod: 3.23.8 - - accepts@1.3.8: - dependencies: - mime-types: 2.1.35 - negotiator: 0.6.3 - - acorn-walk@8.3.3: - dependencies: - acorn: 8.12.1 - - acorn@8.12.1: {} - - arg@4.1.3: {} - - array-flatten@1.1.1: {} - - asynckit@0.4.0: {} - - available-typed-arrays@1.0.7: - dependencies: - possible-typed-array-names: 1.0.0 - - axios@1.7.2: - dependencies: - follow-redirects: 1.15.6 - form-data: 4.0.0 - proxy-from-env: 1.1.0 - transitivePeerDependencies: - - debug - - body-parser@1.20.2: - dependencies: - bytes: 3.1.2 - content-type: 1.0.5 - debug: 2.6.9 - depd: 2.0.0 - destroy: 1.2.0 - http-errors: 2.0.0 - iconv-lite: 0.4.24 - on-finished: 2.4.1 - qs: 6.11.0 - raw-body: 2.5.2 - type-is: 1.6.18 - unpipe: 1.0.0 - transitivePeerDependencies: - - supports-color - - bytes@3.1.2: {} - - call-bind@1.0.7: - dependencies: - es-define-property: 1.0.0 - es-errors: 1.3.0 - function-bind: 1.1.2 - get-intrinsic: 1.2.4 - set-function-length: 1.2.2 - - combined-stream@1.0.8: - dependencies: - delayed-stream: 1.0.0 - - content-disposition@0.5.4: - dependencies: - safe-buffer: 5.2.1 - - content-type@1.0.5: {} - - cookie-signature@1.0.6: {} - - cookie@0.6.0: {} - - crc-32@1.2.2: {} - - create-require@1.1.1: {} - - cross-fetch@4.0.0: - dependencies: - node-fetch: 2.7.0 - transitivePeerDependencies: - - encoding - - debug@2.6.9: - dependencies: - ms: 2.0.0 - - define-data-property@1.1.4: - dependencies: - es-define-property: 1.0.0 - es-errors: 1.3.0 - gopd: 1.0.1 - - delayed-stream@1.0.0: {} - - depd@2.0.0: {} - - destroy@1.2.0: {} - - diff@4.0.2: {} - - dotenv@16.4.5: {} - - ee-first@1.1.1: {} - - encodeurl@1.0.2: {} - - es-define-property@1.0.0: - dependencies: - get-intrinsic: 1.2.4 - - es-errors@1.3.0: {} - - escape-html@1.0.3: {} - - etag@1.8.1: {} - - ethereum-cryptography@2.2.1: - dependencies: - '@noble/curves': 1.4.2 - '@noble/hashes': 1.4.0 - '@scure/bip32': 1.4.0 - '@scure/bip39': 1.3.0 - - eventemitter3@5.0.1: {} - - express@4.19.2: - dependencies: - accepts: 1.3.8 - array-flatten: 1.1.1 - body-parser: 1.20.2 - content-disposition: 0.5.4 - content-type: 1.0.5 - cookie: 0.6.0 - cookie-signature: 1.0.6 - debug: 2.6.9 - depd: 2.0.0 - encodeurl: 1.0.2 - escape-html: 1.0.3 - etag: 1.8.1 - finalhandler: 1.2.0 - fresh: 0.5.2 - http-errors: 2.0.0 - merge-descriptors: 1.0.1 - methods: 1.1.2 - on-finished: 2.4.1 - parseurl: 1.3.3 - path-to-regexp: 0.1.7 - proxy-addr: 2.0.7 - qs: 6.11.0 - range-parser: 1.2.1 - safe-buffer: 5.2.1 - send: 0.18.0 - serve-static: 1.15.0 - setprototypeof: 1.2.0 - statuses: 2.0.1 - type-is: 1.6.18 - utils-merge: 1.0.1 - vary: 1.1.2 - transitivePeerDependencies: - - supports-color - - finalhandler@1.2.0: - dependencies: - debug: 2.6.9 - encodeurl: 1.0.2 - escape-html: 1.0.3 - on-finished: 2.4.1 - parseurl: 1.3.3 - statuses: 2.0.1 - unpipe: 1.0.0 - transitivePeerDependencies: - - supports-color - - follow-redirects@1.15.6: {} - - for-each@0.3.3: - dependencies: - is-callable: 1.2.7 - - form-data@4.0.0: - dependencies: - asynckit: 0.4.0 - combined-stream: 1.0.8 - mime-types: 2.1.35 - - forwarded@0.2.0: {} - - fresh@0.5.2: {} - - function-bind@1.1.2: {} - - get-intrinsic@1.2.4: - dependencies: - es-errors: 1.3.0 - function-bind: 1.1.2 - has-proto: 1.0.3 - has-symbols: 1.0.3 - hasown: 2.0.2 - - gopd@1.0.1: - dependencies: - get-intrinsic: 1.2.4 - - has-property-descriptors@1.0.2: - dependencies: - es-define-property: 1.0.0 - - has-proto@1.0.3: {} - - has-symbols@1.0.3: {} - - has-tostringtag@1.0.2: - dependencies: - has-symbols: 1.0.3 - - hasown@2.0.2: - dependencies: - function-bind: 1.1.2 - - http-errors@2.0.0: - dependencies: - depd: 2.0.0 - inherits: 2.0.4 - setprototypeof: 1.2.0 - statuses: 2.0.1 - toidentifier: 1.0.1 - - iconv-lite@0.4.24: - dependencies: - safer-buffer: 2.1.2 - - inherits@2.0.4: {} - - ipaddr.js@1.9.1: {} - - is-arguments@1.1.1: - dependencies: - call-bind: 1.0.7 - has-tostringtag: 1.0.2 - - is-callable@1.2.7: {} - - is-generator-function@1.0.10: - dependencies: - has-tostringtag: 1.0.2 - - is-typed-array@1.1.13: - dependencies: - which-typed-array: 1.1.15 - - isomorphic-ws@5.0.0(ws@8.18.0): - dependencies: - ws: 8.18.0 - - make-error@1.3.6: {} - - media-typer@0.3.0: {} - - merge-descriptors@1.0.1: {} - - methods@1.1.2: {} - - mime-db@1.52.0: {} - - mime-types@2.1.35: - dependencies: - mime-db: 1.52.0 - - mime@1.6.0: {} - - ms@2.0.0: {} - - ms@2.1.3: {} - - negotiator@0.6.3: {} - - node-fetch@2.7.0: - dependencies: - whatwg-url: 5.0.0 - - object-inspect@1.13.2: {} - - on-finished@2.4.1: - dependencies: - ee-first: 1.1.1 - - parseurl@1.3.3: {} - - path-to-regexp@0.1.7: {} - - possible-typed-array-names@1.0.0: {} - - proxy-addr@2.0.7: - dependencies: - forwarded: 0.2.0 - ipaddr.js: 1.9.1 - - proxy-from-env@1.1.0: {} - - qs@6.11.0: - dependencies: - side-channel: 1.0.6 - - range-parser@1.2.1: {} - - raw-body@2.5.2: - dependencies: - bytes: 3.1.2 - http-errors: 2.0.0 - iconv-lite: 0.4.24 - unpipe: 1.0.0 - - safe-buffer@5.2.1: {} - - safer-buffer@2.1.2: {} - - send@0.18.0: - dependencies: - debug: 2.6.9 - depd: 2.0.0 - destroy: 1.2.0 - encodeurl: 1.0.2 - escape-html: 1.0.3 - etag: 1.8.1 - fresh: 0.5.2 - http-errors: 2.0.0 - mime: 1.6.0 - ms: 2.1.3 - on-finished: 2.4.1 - range-parser: 1.2.1 - statuses: 2.0.1 - transitivePeerDependencies: - - supports-color - - serve-static@1.15.0: - dependencies: - encodeurl: 1.0.2 - escape-html: 1.0.3 - parseurl: 1.3.3 - send: 0.18.0 - transitivePeerDependencies: - - supports-color - - set-function-length@1.2.2: - dependencies: - define-data-property: 1.1.4 - es-errors: 1.3.0 - function-bind: 1.1.2 - get-intrinsic: 1.2.4 - gopd: 1.0.1 - has-property-descriptors: 1.0.2 - - setimmediate@1.0.5: {} - - setprototypeof@1.2.0: {} - - side-channel@1.0.6: - dependencies: - call-bind: 1.0.7 - es-errors: 1.3.0 - get-intrinsic: 1.2.4 - object-inspect: 1.13.2 - - statuses@2.0.1: {} - - toidentifier@1.0.1: {} - - tr46@0.0.3: {} - - ts-node@10.9.2(@types/node@20.14.13)(typescript@5.5.4): - dependencies: - '@cspotcode/source-map-support': 0.8.1 - '@tsconfig/node10': 1.0.11 - '@tsconfig/node12': 1.0.11 - '@tsconfig/node14': 1.0.3 - '@tsconfig/node16': 1.0.4 - '@types/node': 20.14.13 - acorn: 8.12.1 - acorn-walk: 8.3.3 - arg: 4.1.3 - create-require: 1.1.1 - diff: 4.0.2 - make-error: 1.3.6 - typescript: 5.5.4 - v8-compile-cache-lib: 3.0.1 - yn: 3.1.1 - - type-is@1.6.18: - dependencies: - media-typer: 0.3.0 - mime-types: 2.1.35 - - typescript@5.5.4: {} - - undici-types@5.26.5: {} - - unpipe@1.0.0: {} - - util@0.12.5: - dependencies: - inherits: 2.0.4 - is-arguments: 1.1.1 - is-generator-function: 1.0.10 - is-typed-array: 1.1.13 - which-typed-array: 1.1.15 - - utils-merge@1.0.1: {} - - v8-compile-cache-lib@3.0.1: {} - - vary@1.1.2: {} - - web3-core@4.5.0: - dependencies: - web3-errors: 1.2.1 - web3-eth-accounts: 4.1.3 - web3-eth-iban: 4.0.7 - web3-providers-http: 4.1.0 - web3-providers-ws: 4.0.8 - web3-types: 1.7.0 - web3-utils: 4.3.1 - web3-validator: 2.0.6 - optionalDependencies: - web3-providers-ipc: 4.0.7 - transitivePeerDependencies: - - bufferutil - - encoding - - utf-8-validate - - web3-errors@1.2.1: - dependencies: - web3-types: 1.7.0 - - web3-eth-abi@4.2.3(typescript@5.5.4)(zod@3.23.8): - dependencies: - abitype: 0.7.1(typescript@5.5.4)(zod@3.23.8) - web3-errors: 1.2.1 - web3-types: 1.7.0 - web3-utils: 4.3.1 - web3-validator: 2.0.6 - transitivePeerDependencies: - - typescript - - zod - - web3-eth-accounts@4.1.3: - dependencies: - '@ethereumjs/rlp': 4.0.1 - crc-32: 1.2.2 - ethereum-cryptography: 2.2.1 - web3-errors: 1.2.1 - web3-types: 1.7.0 - web3-utils: 4.3.1 - web3-validator: 2.0.6 - - web3-eth-contract@4.6.0(typescript@5.5.4)(zod@3.23.8): - dependencies: - '@ethereumjs/rlp': 5.0.2 - web3-core: 4.5.0 - web3-errors: 1.2.1 - web3-eth: 4.8.2(typescript@5.5.4)(zod@3.23.8) - web3-eth-abi: 4.2.3(typescript@5.5.4)(zod@3.23.8) - web3-types: 1.7.0 - web3-utils: 4.3.1 - web3-validator: 2.0.6 - transitivePeerDependencies: - - bufferutil - - encoding - - typescript - - utf-8-validate - - zod - - web3-eth-ens@4.4.0(typescript@5.5.4)(zod@3.23.8): - dependencies: - '@adraffy/ens-normalize': 1.10.1 - web3-core: 4.5.0 - web3-errors: 1.2.1 - web3-eth: 4.8.2(typescript@5.5.4)(zod@3.23.8) - web3-eth-contract: 4.6.0(typescript@5.5.4)(zod@3.23.8) - web3-net: 4.1.0 - web3-types: 1.7.0 - web3-utils: 4.3.1 - web3-validator: 2.0.6 - transitivePeerDependencies: - - bufferutil - - encoding - - typescript - - utf-8-validate - - zod - - web3-eth-iban@4.0.7: - dependencies: - web3-errors: 1.2.1 - web3-types: 1.7.0 - web3-utils: 4.3.1 - web3-validator: 2.0.6 - - web3-eth-personal@4.0.8(typescript@5.5.4)(zod@3.23.8): - dependencies: - web3-core: 4.5.0 - web3-eth: 4.8.2(typescript@5.5.4)(zod@3.23.8) - web3-rpc-methods: 1.3.0 - web3-types: 1.7.0 - web3-utils: 4.3.1 - web3-validator: 2.0.6 - transitivePeerDependencies: - - bufferutil - - encoding - - typescript - - utf-8-validate - - zod - - web3-eth@4.8.2(typescript@5.5.4)(zod@3.23.8): - dependencies: - setimmediate: 1.0.5 - web3-core: 4.5.0 - web3-errors: 1.2.1 - web3-eth-abi: 4.2.3(typescript@5.5.4)(zod@3.23.8) - web3-eth-accounts: 4.1.3 - web3-net: 4.1.0 - web3-providers-ws: 4.0.8 - web3-rpc-methods: 1.3.0 - web3-types: 1.7.0 - web3-utils: 4.3.1 - web3-validator: 2.0.6 - transitivePeerDependencies: - - bufferutil - - encoding - - typescript - - utf-8-validate - - zod - - web3-net@4.1.0: - dependencies: - web3-core: 4.5.0 - web3-rpc-methods: 1.3.0 - web3-types: 1.7.0 - web3-utils: 4.3.1 - transitivePeerDependencies: - - bufferutil - - encoding - - utf-8-validate - - web3-providers-http@4.1.0: - dependencies: - cross-fetch: 4.0.0 - web3-errors: 1.2.1 - web3-types: 1.7.0 - web3-utils: 4.3.1 - transitivePeerDependencies: - - encoding - - web3-providers-ipc@4.0.7: - dependencies: - web3-errors: 1.2.1 - web3-types: 1.7.0 - web3-utils: 4.3.1 - optional: true - - web3-providers-ws@4.0.8: - dependencies: - '@types/ws': 8.5.3 - isomorphic-ws: 5.0.0(ws@8.18.0) - web3-errors: 1.2.1 - web3-types: 1.7.0 - web3-utils: 4.3.1 - ws: 8.18.0 - transitivePeerDependencies: - - bufferutil - - utf-8-validate - - web3-rpc-methods@1.3.0: - dependencies: - web3-core: 4.5.0 - web3-types: 1.7.0 - web3-validator: 2.0.6 - transitivePeerDependencies: - - bufferutil - - encoding - - utf-8-validate - - web3-rpc-providers@1.0.0-rc.1: - dependencies: - web3-errors: 1.2.1 - web3-providers-http: 4.1.0 - web3-providers-ws: 4.0.8 - web3-types: 1.7.0 - web3-utils: 4.3.1 - web3-validator: 2.0.6 - transitivePeerDependencies: - - bufferutil - - encoding - - utf-8-validate - - web3-types@1.7.0: {} - - web3-utils@4.3.1: - dependencies: - ethereum-cryptography: 2.2.1 - eventemitter3: 5.0.1 - web3-errors: 1.2.1 - web3-types: 1.7.0 - web3-validator: 2.0.6 - - web3-validator@2.0.6: - dependencies: - ethereum-cryptography: 2.2.1 - util: 0.12.5 - web3-errors: 1.2.1 - web3-types: 1.7.0 - zod: 3.23.8 - - web3@4.11.1(typescript@5.5.4)(zod@3.23.8): - dependencies: - web3-core: 4.5.0 - web3-errors: 1.2.1 - web3-eth: 4.8.2(typescript@5.5.4)(zod@3.23.8) - web3-eth-abi: 4.2.3(typescript@5.5.4)(zod@3.23.8) - web3-eth-accounts: 4.1.3 - web3-eth-contract: 4.6.0(typescript@5.5.4)(zod@3.23.8) - web3-eth-ens: 4.4.0(typescript@5.5.4)(zod@3.23.8) - web3-eth-iban: 4.0.7 - web3-eth-personal: 4.0.8(typescript@5.5.4)(zod@3.23.8) - web3-net: 4.1.0 - web3-providers-http: 4.1.0 - web3-providers-ws: 4.0.8 - web3-rpc-methods: 1.3.0 - web3-rpc-providers: 1.0.0-rc.1 - web3-types: 1.7.0 - web3-utils: 4.3.1 - web3-validator: 2.0.6 - transitivePeerDependencies: - - bufferutil - - encoding - - typescript - - utf-8-validate - - zod - - webidl-conversions@3.0.1: {} - - whatwg-url@5.0.0: - dependencies: - tr46: 0.0.3 - webidl-conversions: 3.0.1 - - which-typed-array@1.1.15: - dependencies: - available-typed-arrays: 1.0.7 - call-bind: 1.0.7 - for-each: 0.3.3 - gopd: 1.0.1 - has-tostringtag: 1.0.2 - - ws@8.18.0: {} - - yn@3.1.1: {} - - zod@3.23.8: {} diff --git a/backend/offchain/server.ts b/backend/offchain/server.ts deleted file mode 100644 index 280c535..0000000 --- a/backend/offchain/server.ts +++ /dev/null @@ -1,47 +0,0 @@ -// @ts-ignore -import express, { Request, Response } from "express"; -import { offchainTokenPrice } from "./token-price"; -import {JSONRPCServer} from "json-rpc-2.0"; -import bodyParser from 'body-parser' -import {selector} from "./utils"; - -const server = new JSONRPCServer(); -const app = express(); -const port = process.env.OC_LISTEN_PORT; - -app.use(bodyParser.json()); - -// Add method to the JSON-RPC server -server.addMethod(selector("getprice(string)"), async (params) => { - const result = await offchainTokenPrice(params); - console.log("Price result:", result); - return result; -}); - -app.post('/hc', (req, res) => { - const jsonRPCRequest = req.body; - console.log("Received jsonRPCRequest: ", JSON.stringify(jsonRPCRequest)) - - server.receive(jsonRPCRequest).then((jsonRPCResponse) => { - if (jsonRPCResponse) { - res.json(jsonRPCResponse); - } else { - res.sendStatus(204); - } - }); -}); - -// Global error handler -// @ts-ignore -app.use((err, req, res, next) => { - console.error('RPC Error:', err); - res.status(400).json({ error: err.message }); -}); - -if (!process.env.JEST_WORKER_ID) { - app.listen(port, () => { - console.log(`RPC server listening at http://localhost:${port}`); - }); -} - -export default app; diff --git a/backend/offchain/token-price.ts b/backend/offchain/token-price.ts deleted file mode 100644 index 9f67634..0000000 --- a/backend/offchain/token-price.ts +++ /dev/null @@ -1,187 +0,0 @@ -import Web3 from "web3"; -import axios from "axios"; -import "dotenv/config"; -import { - OffchainParameter, - parseOffchainParameter, - parseRequest, - selector, -} from "./utils"; - -const web3 = new Web3(); - -export async function offchainTokenPrice(params: OffchainParameter) { - const parsedParams = parseOffchainParameter(params); - const request = parseRequest(parsedParams); - - try { - // Tokensymbol was encoded with a string in the smart-contract - const tokenSymbol = web3.eth.abi.decodeParameter( - "string", - request["reqBytes"] - ) as string; - const tokenPrice = (await getTokenPrice(tokenSymbol)).toString(); - console.log("token price: ", tokenPrice); - - // Encode fetched token price as a string. - const encodedTokenPrice = web3.eth.abi.encodeParameter( - "string", - tokenPrice - ); - console.log("ENCODED TOKEN PRICE = ", encodedTokenPrice); - return generateResponse(request, 0, encodedTokenPrice); - } catch (error: any) { - console.log("received error: ", error); - return generateResponse(request, 1, web3.utils.asciiToHex(error.message)); - } -} - -/** - * Retrieves the current price of a specified cryptocurrency token. - * - * This asynchronous function fetches the price of a cryptocurrency token - * by its symbol from the CoinRanking API. It first retrieves the list of - * coins and searches for the token by its symbol. If found, it fetches - * the price of the token using its unique identifier. - * - * @param {string} tokenSymbol - The symbol of the cryptocurrency token (e.g., 'BTC', 'ETH'). - * @returns {Promise} - A promise that resolves to the current price of the token. - * @throws {Error} - If the token is not found or if there is an issue with the API requests. - */ -export async function getTokenPrice(tokenSymbol: string): Promise { - const headers = { - accept: "application/json", - "x-access-token": process.env.COINRANKING_API_KEY, - }; - - const coinListResponse = await axios.get( - "https://api.coinranking.com/v2/coins", - {headers} - ); - const token = coinListResponse.data.data.coins.find( - (c: any) => c.symbol === tokenSymbol - ); - - if (!token) { - throw new Error(`Token ${tokenSymbol} not found`); - } - - const priceResponse = await axios.get( - `https://api.coinranking.com/v2/coin/${token.uuid}/price`, - {headers} - ); - return priceResponse.data.data.price; -} - -/** - * Generates and returns a response object with a signed payload. - * - * This function takes a request object, an error code, and a response payload, - * encodes the necessary parameters, estimates gas, and signs the final encoded - * parameters before returning the result. It ensures the integrity and - * authenticity of the response by using the account's private key to sign the - * hash of the final encoded parameters. - * - * @param {object} req - The request object containing source address, nonce, and other details. - * @param {number} errorCode - The error code to include in the response. - * @param {string} respPayload - The response payload to include. - * @returns {object} - An object containing the success status, response payload, and signature. - * @throws {Error} - */ -export const generateResponse = ( - req: { - readonly srcAddr: string; - readonly reqBytes: string; - readonly srcNonce: bigint | number; - readonly skey: Uint8Array; - readonly opNonce: bigint | number - }, - errorCode: number, - respPayload: string -) => { - if (!process.env.HC_HELPER_ADDR) { - throw new Error("HC_HELPER_ADDR not defined!"); - } - const encodedResponse = web3.eth.abi.encodeParameters( - ["address", "uint256", "uint32", "bytes"], - [req.srcAddr, req.srcNonce, errorCode, respPayload] - ); - const putResponseCallData = web3.eth.abi.encodeParameters( - ["bytes32", "bytes"], - [req.skey, encodedResponse] - ); - const putResponseEncoded = - "0x" + - selector("PutResponse(bytes32,bytes)") + - putResponseCallData.slice(2); - - const executeCallData = web3.eth.abi.encodeParameters( - ["address", "uint256", "bytes"], - [ - web3.utils.toChecksumAddress(process.env.HC_HELPER_ADDR), - 0, - putResponseEncoded, - ] - ); - const executeEncoded = - "0x" + - selector("execute(address,uint256,bytes)") + - executeCallData.slice(2); - - const callGasEstimate = 705 * web3.utils.hexToBytes(respPayload).length + 170000; // needs to be calculated this way for correct signature - console.log("Final gas estimate: ", callGasEstimate) - - const finalEncodedParameters = web3.eth.abi.encodeParameters( - [ - "address", - "uint256", - "bytes32", - "bytes32", - "uint256", - "uint256", - "uint256", - "uint256", - "uint256", - "bytes32", - ], - [ - process.env.OC_HYBRID_ACCOUNT, - req.opNonce, - web3.utils.keccak256("0x"), // initcode - web3.utils.keccak256(executeEncoded), - callGasEstimate, // callGas - 0x10000, // verificationGasLimit - 0x10000, // preVerificationGas - 0, // maxFeePerGas - 0, // maxPriorityFeePerGas - web3.utils.keccak256("0x"), // paymasterAndData - ] - ); - - const finalHash = web3.utils.keccak256( - web3.eth.abi.encodeParameters( - ["bytes32", "address", "uint256"], - [ - web3.utils.keccak256(finalEncodedParameters), - process.env.ENTRY_POINTS, - process.env.CHAIN_ID, - ] - ) - ); - - // Retrieve account from private key - const account = web3.eth.accounts.privateKeyToAccount( - process.env.OC_PRIVKEY! - ); - - // Sign the final hash - const signature = account.sign(finalHash); - - console.log("Returning response payload:", respPayload); - - return { - success: errorCode === 0, - response: respPayload, - signature: signature.signature, - }; -} diff --git a/backend/offchain/utils.ts b/backend/offchain/utils.ts deleted file mode 100644 index d2f4f22..0000000 --- a/backend/offchain/utils.ts +++ /dev/null @@ -1,71 +0,0 @@ -import Web3, { HexString } from "web3"; - -const web3 = new Web3(); - -/** - * Generates a selector for a given function name. - * - * This function takes a function name as input and returns the first 8 - * characters of the keccak256 hash of the function name. This selector - * is used by the calling smart-contract to identify the targeting function. - * - * @param {string} name - The name of the function for which to generate the selector. - * @returns {HexString} - The first 8 characters of the keccak256 hash of the function name, representing the function selector. - */ -export const selector = (name: string): HexString => { - const hex = web3.utils.toHex(web3.utils.keccak256(name)); - return hex.slice(2, 10); -}; - -/** - * Parse arguments to object. - */ -export function parseOffchainParameter( - params: OffchainParameter -): OffchainParameterParsed { - return { - ooNonce: params.oo_nonce, - payload: params.payload, - sk: params.sk, - srcAddr: params.src_addr, - srcNonce: params.src_nonce, - ver: params.ver, - }; -} - -/** - * Parses offchain parameters and returns a structured request object. - * - * This function takes an object containing offchain parameters, parses them, - * and returns an object with properly formatted values. It converts the secret - * key to bytes, ensures the source address is in checksum format, and converts - * nonces from hexadecimal to number format. - * - */ -export function parseRequest(params: OffchainParameterParsed) { - return { - skey: web3.utils.hexToBytes(params.sk), - srcAddr: web3.utils.toChecksumAddress(params.srcAddr), - srcNonce: web3.utils.hexToNumber("0x" + params.srcNonce), - opNonce: web3.utils.hexToNumber(params.ooNonce), - reqBytes: params.payload, - } as const; -} - -export type OffchainParameterParsed = { - ver: string; - sk: string; - srcAddr: string; - srcNonce: string; - ooNonce: string; - payload: string; -}; - -export type OffchainParameter = { - ver: string; - sk: string; - src_addr: string; - src_nonce: string; - oo_nonce: string; - payload: string; -}; diff --git a/backend/package.json b/backend/package.json index 8c853f7..d1117a1 100644 --- a/backend/package.json +++ b/backend/package.json @@ -1,9 +1,10 @@ { "name": "aa-hc-example-backend", "version": "1.0.0", - "main": "index.js", + "main": "src/index.js", + "type": "module", "scripts": { - "start": "ts-node offchain/server.ts", + "start": "npx tsx src/index.ts", "test": "jest" }, "license": "MIT", @@ -24,12 +25,18 @@ "typescript": "^5.5.3" }, "dependencies": { - "@types/express": "^4.17.21", + "@bobanetwork/aa-hc-sdk-server": "^1.0.1", "axios": "^1.7.2", - "body-parser": "^1.20.2", "dotenv": "^16.4.5", - "express": "^4.19.2", - "json-rpc-2.0": "^1.7.0", - "web3": "^4.11.1" + "web3": "^4.13.0" + }, + "jest": { + "preset": "ts-jest", + "testEnvironment": "node", + "globals": { + "ts-jest": { + "tsconfig": "tsconfig.json" + } + } } -} +} \ No newline at end of file diff --git a/backend/pnpm-lock.yaml b/backend/pnpm-lock.yaml deleted file mode 100644 index c26df7f..0000000 --- a/backend/pnpm-lock.yaml +++ /dev/null @@ -1,6765 +0,0 @@ -lockfileVersion: '9.0' - -settings: - autoInstallPeers: true - excludeLinksFromLockfile: false - -importers: - - .: - dependencies: - '@types/express': - specifier: ^4.17.21 - version: 4.17.21 - axios: - specifier: ^1.7.2 - version: 1.7.3 - dotenv: - specifier: ^16.4.5 - version: 16.4.5 - express: - specifier: ^4.19.2 - version: 4.19.2 - web3: - specifier: ^4.11.0 - version: 4.11.1(typescript@5.5.4) - devDependencies: - '@types/jest': - specifier: ^29.5.12 - version: 29.5.12 - '@types/mocha': - specifier: ^10.0.7 - version: 10.0.7 - '@types/node': - specifier: ^20.14.11 - version: 20.14.14 - '@types/supertest': - specifier: ^6.0.2 - version: 6.0.2 - axios-mock-adapter: - specifier: ^1.22.0 - version: 1.22.0(axios@1.7.3) - ethers: - specifier: '5' - version: 5.7.2 - hardhat: - specifier: ^2.22.6 - version: 2.22.7(ts-node@10.9.2)(typescript@5.5.4) - hardhat-gas-reporter: - specifier: ^2.2.0 - version: 2.2.0(hardhat@2.22.7)(typescript@5.5.4) - jest: - specifier: ^29.7.0 - version: 29.7.0(@types/node@20.14.14)(ts-node@10.9.2) - solidity-coverage: - specifier: ^0.8.12 - version: 0.8.12(hardhat@2.22.7) - supertest: - specifier: ^7.0.0 - version: 7.0.0 - ts-jest: - specifier: ^29.2.3 - version: 29.2.4(@babel/core@7.25.2)(jest@29.7.0)(typescript@5.5.4) - ts-node: - specifier: ^10.9.2 - version: 10.9.2(@types/node@20.14.14)(typescript@5.5.4) - typescript: - specifier: ^5.5.3 - version: 5.5.4 - -packages: - - '@adraffy/ens-normalize@1.10.0': - resolution: {integrity: sha512-nA9XHtlAkYfJxY7bce8DcN7eKxWWCWkU+1GR9d+U6MbNpfwQp8TI7vqOsBsMcHoT4mBu2kypKoSKnghEzOOq5Q==} - - '@adraffy/ens-normalize@1.10.1': - resolution: {integrity: sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==} - - '@ampproject/remapping@2.3.0': - resolution: {integrity: sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==} - engines: {node: '>=6.0.0'} - - '@babel/code-frame@7.24.7': - resolution: {integrity: sha512-BcYH1CVJBO9tvyIZ2jVeXgSIMvGZ2FDRvDdOIVQyuklNKSsx+eppDEBq/g47Ayw+RqNFE+URvOShmf+f/qwAlA==} - engines: {node: '>=6.9.0'} - - '@babel/compat-data@7.25.2': - resolution: {integrity: sha512-bYcppcpKBvX4znYaPEeFau03bp89ShqNMLs+rmdptMw+heSZh9+z84d2YG+K7cYLbWwzdjtDoW/uqZmPjulClQ==} - engines: {node: '>=6.9.0'} - - '@babel/core@7.25.2': - resolution: {integrity: sha512-BBt3opiCOxUr9euZ5/ro/Xv8/V7yJ5bjYMqG/C1YAo8MIKAnumZalCN+msbci3Pigy4lIQfPUpfMM27HMGaYEA==} - engines: {node: '>=6.9.0'} - - '@babel/generator@7.25.0': - resolution: {integrity: sha512-3LEEcj3PVW8pW2R1SR1M89g/qrYk/m/mB/tLqn7dn4sbBUQyTqnlod+II2U4dqiGtUmkcnAmkMDralTFZttRiw==} - engines: {node: '>=6.9.0'} - - '@babel/helper-compilation-targets@7.25.2': - resolution: {integrity: sha512-U2U5LsSaZ7TAt3cfaymQ8WHh0pxvdHoEk6HVpaexxixjyEquMh0L0YNJNM6CTGKMXV1iksi0iZkGw4AcFkPaaw==} - engines: {node: '>=6.9.0'} - - '@babel/helper-module-imports@7.24.7': - resolution: {integrity: sha512-8AyH3C+74cgCVVXow/myrynrAGv+nTVg5vKu2nZph9x7RcRwzmh0VFallJuFTZ9mx6u4eSdXZfcOzSqTUm0HCA==} - engines: {node: '>=6.9.0'} - - '@babel/helper-module-transforms@7.25.2': - resolution: {integrity: sha512-BjyRAbix6j/wv83ftcVJmBt72QtHI56C7JXZoG2xATiLpmoC7dpd8WnkikExHDVPpi/3qCmO6WY1EaXOluiecQ==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0 - - '@babel/helper-plugin-utils@7.24.8': - resolution: {integrity: sha512-FFWx5142D8h2Mgr/iPVGH5G7w6jDn4jUSpZTyDnQO0Yn7Ks2Kuz6Pci8H6MPCoUJegd/UZQ3tAvfLCxQSnWWwg==} - engines: {node: '>=6.9.0'} - - '@babel/helper-simple-access@7.24.7': - resolution: {integrity: sha512-zBAIvbCMh5Ts+b86r/CjU+4XGYIs+R1j951gxI3KmmxBMhCg4oQMsv6ZXQ64XOm/cvzfU1FmoCyt6+owc5QMYg==} - engines: {node: '>=6.9.0'} - - '@babel/helper-string-parser@7.24.8': - resolution: {integrity: sha512-pO9KhhRcuUyGnJWwyEgnRJTSIZHiT+vMD0kPeD+so0l7mxkMT19g3pjY9GTnHySck/hDzq+dtW/4VgnMkippsQ==} - engines: {node: '>=6.9.0'} - - '@babel/helper-validator-identifier@7.24.7': - resolution: {integrity: sha512-rR+PBcQ1SMQDDyF6X0wxtG8QyLCgUB0eRAGguqRLfkCA87l7yAP7ehq8SNj96OOGTO8OBV70KhuFYcIkHXOg0w==} - engines: {node: '>=6.9.0'} - - '@babel/helper-validator-option@7.24.8': - resolution: {integrity: sha512-xb8t9tD1MHLungh/AIoWYN+gVHaB9kwlu8gffXGSt3FFEIT7RjS+xWbc2vUD1UTZdIpKj/ab3rdqJ7ufngyi2Q==} - engines: {node: '>=6.9.0'} - - '@babel/helpers@7.25.0': - resolution: {integrity: sha512-MjgLZ42aCm0oGjJj8CtSM3DB8NOOf8h2l7DCTePJs29u+v7yO/RBX9nShlKMgFnRks/Q4tBAe7Hxnov9VkGwLw==} - engines: {node: '>=6.9.0'} - - '@babel/highlight@7.24.7': - resolution: {integrity: sha512-EStJpq4OuY8xYfhGVXngigBJRWxftKX9ksiGDnmlY3o7B/V7KIAc9X4oiK87uPJSc/vs5L869bem5fhZa8caZw==} - engines: {node: '>=6.9.0'} - - '@babel/parser@7.25.3': - resolution: {integrity: sha512-iLTJKDbJ4hMvFPgQwwsVoxtHyWpKKPBrxkANrSYewDPaPpT5py5yeVkgPIJ7XYXhndxJpaA3PyALSXQ7u8e/Dw==} - engines: {node: '>=6.0.0'} - hasBin: true - - '@babel/plugin-syntax-async-generators@7.8.4': - resolution: {integrity: sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==} - peerDependencies: - '@babel/core': ^7.0.0-0 - - '@babel/plugin-syntax-bigint@7.8.3': - resolution: {integrity: sha512-wnTnFlG+YxQm3vDxpGE57Pj0srRU4sHE/mDkt1qv2YJJSeUAec2ma4WLUnUPeKjyrfntVwe/N6dCXpU+zL3Npg==} - peerDependencies: - '@babel/core': ^7.0.0-0 - - '@babel/plugin-syntax-class-properties@7.12.13': - resolution: {integrity: sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==} - peerDependencies: - '@babel/core': ^7.0.0-0 - - '@babel/plugin-syntax-import-meta@7.10.4': - resolution: {integrity: sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g==} - peerDependencies: - '@babel/core': ^7.0.0-0 - - '@babel/plugin-syntax-json-strings@7.8.3': - resolution: {integrity: sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==} - peerDependencies: - '@babel/core': ^7.0.0-0 - - '@babel/plugin-syntax-jsx@7.24.7': - resolution: {integrity: sha512-6ddciUPe/mpMnOKv/U+RSd2vvVy+Yw/JfBB0ZHYjEZt9NLHmCUylNYlsbqCCS1Bffjlb0fCwC9Vqz+sBz6PsiQ==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - - '@babel/plugin-syntax-logical-assignment-operators@7.10.4': - resolution: {integrity: sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==} - peerDependencies: - '@babel/core': ^7.0.0-0 - - '@babel/plugin-syntax-nullish-coalescing-operator@7.8.3': - resolution: {integrity: sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==} - peerDependencies: - '@babel/core': ^7.0.0-0 - - '@babel/plugin-syntax-numeric-separator@7.10.4': - resolution: {integrity: sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==} - peerDependencies: - '@babel/core': ^7.0.0-0 - - '@babel/plugin-syntax-object-rest-spread@7.8.3': - resolution: {integrity: sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==} - peerDependencies: - '@babel/core': ^7.0.0-0 - - '@babel/plugin-syntax-optional-catch-binding@7.8.3': - resolution: {integrity: sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==} - peerDependencies: - '@babel/core': ^7.0.0-0 - - '@babel/plugin-syntax-optional-chaining@7.8.3': - resolution: {integrity: sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==} - peerDependencies: - '@babel/core': ^7.0.0-0 - - '@babel/plugin-syntax-top-level-await@7.14.5': - resolution: {integrity: sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - - '@babel/plugin-syntax-typescript@7.24.7': - resolution: {integrity: sha512-c/+fVeJBB0FeKsFvwytYiUD+LBvhHjGSI0g446PRGdSVGZLRNArBUno2PETbAly3tpiNAQR5XaZ+JslxkotsbA==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - - '@babel/template@7.25.0': - resolution: {integrity: sha512-aOOgh1/5XzKvg1jvVz7AVrx2piJ2XBi227DHmbY6y+bM9H2FlN+IfecYu4Xl0cNiiVejlsCri89LUsbj8vJD9Q==} - engines: {node: '>=6.9.0'} - - '@babel/traverse@7.25.3': - resolution: {integrity: sha512-HefgyP1x754oGCsKmV5reSmtV7IXj/kpaE1XYY+D9G5PvKKoFfSbiS4M77MdjuwlZKDIKFCffq9rPU+H/s3ZdQ==} - engines: {node: '>=6.9.0'} - - '@babel/types@7.25.2': - resolution: {integrity: sha512-YTnYtra7W9e6/oAZEHj0bJehPRUlLH9/fbpT5LfB0NhQXyALCRkRs3zH9v07IYhkgpqX6Z78FnuccZr/l4Fs4Q==} - engines: {node: '>=6.9.0'} - - '@bcoe/v8-coverage@0.2.3': - resolution: {integrity: sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==} - - '@colors/colors@1.5.0': - resolution: {integrity: sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==} - engines: {node: '>=0.1.90'} - - '@cspotcode/source-map-support@0.8.1': - resolution: {integrity: sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==} - engines: {node: '>=12'} - - '@ethereumjs/rlp@4.0.1': - resolution: {integrity: sha512-tqsQiBQDQdmPWE1xkkBq4rlSW5QZpLOUJ5RJh2/9fug+q9tnUhuZoVLk7s0scUIKTOzEtR72DFBXI4WiZcMpvw==} - engines: {node: '>=14'} - hasBin: true - - '@ethereumjs/rlp@5.0.2': - resolution: {integrity: sha512-DziebCdg4JpGlEqEdGgXmjqcFoJi+JGulUXwEjsZGAscAQ7MyD/7LE/GVCP29vEQxKc7AAwjT3A2ywHp2xfoCA==} - engines: {node: '>=18'} - hasBin: true - - '@ethereumjs/util@8.1.0': - resolution: {integrity: sha512-zQ0IqbdX8FZ9aw11vP+dZkKDkS+kgIvQPHnSAXzP9pLu+Rfu3D3XEeLbicvoXJTYnhZiPmsZUxgdzXwNKxRPbA==} - engines: {node: '>=14'} - - '@ethersproject/abi@5.7.0': - resolution: {integrity: sha512-351ktp42TiRcYB3H1OP8yajPeAQstMW/yCFokj/AthP9bLHzQFPlOrxOcwYEDkUAICmOHljvN4K39OMTMUa9RA==} - - '@ethersproject/abstract-provider@5.7.0': - resolution: {integrity: sha512-R41c9UkchKCpAqStMYUpdunjo3pkEvZC3FAwZn5S5MGbXoMQOHIdHItezTETxAO5bevtMApSyEhn9+CHcDsWBw==} - - '@ethersproject/abstract-signer@5.7.0': - resolution: {integrity: sha512-a16V8bq1/Cz+TGCkE2OPMTOUDLS3grCpdjoJCYNnVBbdYEMSgKrU0+B90s8b6H+ByYTBZN7a3g76jdIJi7UfKQ==} - - '@ethersproject/address@5.7.0': - resolution: {integrity: sha512-9wYhYt7aghVGo758POM5nqcOMaE168Q6aRLJZwUmiqSrAungkG74gSSeKEIR7ukixesdRZGPgVqme6vmxs1fkA==} - - '@ethersproject/base64@5.7.0': - resolution: {integrity: sha512-Dr8tcHt2mEbsZr/mwTPIQAf3Ai0Bks/7gTw9dSqk1mQvhW3XvRlmDJr/4n+wg1JmCl16NZue17CDh8xb/vZ0sQ==} - - '@ethersproject/basex@5.7.0': - resolution: {integrity: sha512-ywlh43GwZLv2Voc2gQVTKBoVQ1mti3d8HK5aMxsfu/nRDnMmNqaSJ3r3n85HBByT8OpoY96SXM1FogC533T4zw==} - - '@ethersproject/bignumber@5.7.0': - resolution: {integrity: sha512-n1CAdIHRWjSucQO3MC1zPSVgV/6dy/fjL9pMrPP9peL+QxEg9wOsVqwD4+818B6LUEtaXzVHQiuivzRoxPxUGw==} - - '@ethersproject/bytes@5.7.0': - resolution: {integrity: sha512-nsbxwgFXWh9NyYWo+U8atvmMsSdKJprTcICAkvbBffT75qDocbuggBU0SJiVK2MuTrp0q+xvLkTnGMPK1+uA9A==} - - '@ethersproject/constants@5.7.0': - resolution: {integrity: sha512-DHI+y5dBNvkpYUMiRQyxRBYBefZkJfo70VUkUAsRjcPs47muV9evftfZ0PJVCXYbAiCgght0DtcF9srFQmIgWA==} - - '@ethersproject/contracts@5.7.0': - resolution: {integrity: sha512-5GJbzEU3X+d33CdfPhcyS+z8MzsTrBGk/sc+G+59+tPa9yFkl6HQ9D6L0QMgNTA9q8dT0XKxxkyp883XsQvbbg==} - - '@ethersproject/hash@5.7.0': - resolution: {integrity: sha512-qX5WrQfnah1EFnO5zJv1v46a8HW0+E5xuBBDTwMFZLuVTx0tbU2kkx15NqdjxecrLGatQN9FGQKpb1FKdHCt+g==} - - '@ethersproject/hdnode@5.7.0': - resolution: {integrity: sha512-OmyYo9EENBPPf4ERhR7oj6uAtUAhYGqOnIS+jE5pTXvdKBS99ikzq1E7Iv0ZQZ5V36Lqx1qZLeak0Ra16qpeOg==} - - '@ethersproject/json-wallets@5.7.0': - resolution: {integrity: sha512-8oee5Xgu6+RKgJTkvEMl2wDgSPSAQ9MB/3JYjFV9jlKvcYHUXZC+cQp0njgmxdHkYWn8s6/IqIZYm0YWCjO/0g==} - - '@ethersproject/keccak256@5.7.0': - resolution: {integrity: sha512-2UcPboeL/iW+pSg6vZ6ydF8tCnv3Iu/8tUmLLzWWGzxWKFFqOBQFLo6uLUv6BDrLgCDfN28RJ/wtByx+jZ4KBg==} - - '@ethersproject/logger@5.7.0': - resolution: {integrity: sha512-0odtFdXu/XHtjQXJYA3u9G0G8btm0ND5Cu8M7i5vhEcE8/HmF4Lbdqanwyv4uQTr2tx6b7fQRmgLrsnpQlmnig==} - - '@ethersproject/networks@5.7.1': - resolution: {integrity: sha512-n/MufjFYv3yFcUyfhnXotyDlNdFb7onmkSy8aQERi2PjNcnWQ66xXxa3XlS8nCcA8aJKJjIIMNJTC7tu80GwpQ==} - - '@ethersproject/pbkdf2@5.7.0': - resolution: {integrity: sha512-oR/dBRZR6GTyaofd86DehG72hY6NpAjhabkhxgr3X2FpJtJuodEl2auADWBZfhDHgVCbu3/H/Ocq2uC6dpNjjw==} - - '@ethersproject/properties@5.7.0': - resolution: {integrity: sha512-J87jy8suntrAkIZtecpxEPxY//szqr1mlBaYlQ0r4RCaiD2hjheqF9s1LVE8vVuJCXisjIP+JgtK/Do54ej4Sw==} - - '@ethersproject/providers@5.7.2': - resolution: {integrity: sha512-g34EWZ1WWAVgr4aptGlVBF8mhl3VWjv+8hoAnzStu8Ah22VHBsuGzP17eb6xDVRzw895G4W7vvx60lFFur/1Rg==} - - '@ethersproject/random@5.7.0': - resolution: {integrity: sha512-19WjScqRA8IIeWclFme75VMXSBvi4e6InrUNuaR4s5pTF2qNhcGdCUwdxUVGtDDqC00sDLCO93jPQoDUH4HVmQ==} - - '@ethersproject/rlp@5.7.0': - resolution: {integrity: sha512-rBxzX2vK8mVF7b0Tol44t5Tb8gomOHkj5guL+HhzQ1yBh/ydjGnpw6at+X6Iw0Kp3OzzzkcKp8N9r0W4kYSs9w==} - - '@ethersproject/sha2@5.7.0': - resolution: {integrity: sha512-gKlH42riwb3KYp0reLsFTokByAKoJdgFCwI+CCiX/k+Jm2mbNs6oOaCjYQSlI1+XBVejwH2KrmCbMAT/GnRDQw==} - - '@ethersproject/signing-key@5.7.0': - resolution: {integrity: sha512-MZdy2nL3wO0u7gkB4nA/pEf8lu1TlFswPNmy8AiYkfKTdO6eXBJyUdmHO/ehm/htHw9K/qF8ujnTyUAD+Ry54Q==} - - '@ethersproject/solidity@5.7.0': - resolution: {integrity: sha512-HmabMd2Dt/raavyaGukF4XxizWKhKQ24DoLtdNbBmNKUOPqwjsKQSdV9GQtj9CBEea9DlzETlVER1gYeXXBGaA==} - - '@ethersproject/strings@5.7.0': - resolution: {integrity: sha512-/9nu+lj0YswRNSH0NXYqrh8775XNyEdUQAuf3f+SmOrnVewcJ5SBNAjF7lpgehKi4abvNNXyf+HX86czCdJ8Mg==} - - '@ethersproject/transactions@5.7.0': - resolution: {integrity: sha512-kmcNicCp1lp8qanMTC3RIikGgoJ80ztTyvtsFvCYpSCfkjhD0jZ2LOrnbcuxuToLIUYYf+4XwD1rP+B/erDIhQ==} - - '@ethersproject/units@5.7.0': - resolution: {integrity: sha512-pD3xLMy3SJu9kG5xDGI7+xhTEmGXlEqXU4OfNapmfnxLVY4EMSSRp7j1k7eezutBPH7RBN/7QPnwR7hzNlEFeg==} - - '@ethersproject/wallet@5.7.0': - resolution: {integrity: sha512-MhmXlJXEJFBFVKrDLB4ZdDzxcBxQ3rLyCkhNqVu3CDYvR97E+8r01UgrI+TI99Le+aYm/in/0vp86guJuM7FCA==} - - '@ethersproject/web@5.7.1': - resolution: {integrity: sha512-Gueu8lSvyjBWL4cYsWsjh6MtMwM0+H4HvqFPZfB6dV8ctbP9zFAO73VG1cMWae0FLPCtz0peKPpZY8/ugJJX2w==} - - '@ethersproject/wordlists@5.7.0': - resolution: {integrity: sha512-S2TFNJNfHWVHNE6cNDjbVlZ6MgE17MIxMbMg2zv3wn+3XSJGosL1m9ZVv3GXCf/2ymSsQ+hRI5IzoMJTG6aoVA==} - - '@fastify/busboy@2.1.1': - resolution: {integrity: sha512-vBZP4NlzfOlerQTnba4aqZoMhE/a9HY7HRqoOPaETQcSQuWEIyZMHGfVu6w9wGtGK5fED5qRs2DteVCjOH60sA==} - engines: {node: '>=14'} - - '@isaacs/cliui@8.0.2': - resolution: {integrity: sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==} - engines: {node: '>=12'} - - '@istanbuljs/load-nyc-config@1.1.0': - resolution: {integrity: sha512-VjeHSlIzpv/NyD3N0YuHfXOPDIixcA1q2ZV98wsMqcYlPmv2n3Yb2lYP9XMElnaFVXg5A7YLTeLu6V84uQDjmQ==} - engines: {node: '>=8'} - - '@istanbuljs/schema@0.1.3': - resolution: {integrity: sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA==} - engines: {node: '>=8'} - - '@jest/console@29.7.0': - resolution: {integrity: sha512-5Ni4CU7XHQi32IJ398EEP4RrB8eV09sXP2ROqD4bksHrnTree52PsxvX8tpL8LvTZ3pFzXyPbNQReSN41CAhOg==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - - '@jest/core@29.7.0': - resolution: {integrity: sha512-n7aeXWKMnGtDA48y8TLWJPJmLmmZ642Ceo78cYWEpiD7FzDgmNDV/GCVRorPABdXLJZ/9wzzgZAlHjXjxDHGsg==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - peerDependencies: - node-notifier: ^8.0.1 || ^9.0.0 || ^10.0.0 - peerDependenciesMeta: - node-notifier: - optional: true - - '@jest/environment@29.7.0': - resolution: {integrity: sha512-aQIfHDq33ExsN4jP1NWGXhxgQ/wixs60gDiKO+XVMd8Mn0NWPWgc34ZQDTb2jKaUWQ7MuwoitXAsN2XVXNMpAw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - - '@jest/expect-utils@29.7.0': - resolution: {integrity: sha512-GlsNBWiFQFCVi9QVSx7f5AgMeLxe9YCCs5PuP2O2LdjDAA8Jh9eX7lA1Jq/xdXw3Wb3hyvlFNfZIfcRetSzYcA==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - - '@jest/expect@29.7.0': - resolution: {integrity: sha512-8uMeAMycttpva3P1lBHB8VciS9V0XAr3GymPpipdyQXbBcuhkLQOSe8E/p92RyAdToS6ZD1tFkX+CkhoECE0dQ==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - - '@jest/fake-timers@29.7.0': - resolution: {integrity: sha512-q4DH1Ha4TTFPdxLsqDXK1d3+ioSL7yL5oCMJZgDYm6i+6CygW5E5xVr/D1HdsGxjt1ZWSfUAs9OxSB/BNelWrQ==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - - '@jest/globals@29.7.0': - resolution: {integrity: sha512-mpiz3dutLbkW2MNFubUGUEVLkTGiqW6yLVTA+JbP6fI6J5iL9Y0Nlg8k95pcF8ctKwCS7WVxteBs29hhfAotzQ==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - - '@jest/reporters@29.7.0': - resolution: {integrity: sha512-DApq0KJbJOEzAFYjHADNNxAE3KbhxQB1y5Kplb5Waqw6zVbuWatSnMjE5gs8FUgEPmNsnZA3NCWl9NG0ia04Pg==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - peerDependencies: - node-notifier: ^8.0.1 || ^9.0.0 || ^10.0.0 - peerDependenciesMeta: - node-notifier: - optional: true - - '@jest/schemas@29.6.3': - resolution: {integrity: sha512-mo5j5X+jIZmJQveBKeS/clAueipV7KgiX1vMgCxam1RNYiqE1w62n0/tJJnHtjW8ZHcQco5gY85jA3mi0L+nSA==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - - '@jest/source-map@29.6.3': - resolution: {integrity: sha512-MHjT95QuipcPrpLM+8JMSzFx6eHp5Bm+4XeFDJlwsvVBjmKNiIAvasGK2fxz2WbGRlnvqehFbh07MMa7n3YJnw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - - '@jest/test-result@29.7.0': - resolution: {integrity: sha512-Fdx+tv6x1zlkJPcWXmMDAG2HBnaR9XPSd5aDWQVsfrZmLVT3lU1cwyxLgRmXR9yrq4NBoEm9BMsfgFzTQAbJYA==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - - '@jest/test-sequencer@29.7.0': - resolution: {integrity: sha512-GQwJ5WZVrKnOJuiYiAF52UNUJXgTZx1NHjFSEB0qEMmSZKAkdMoIzw/Cj6x6NF4AvV23AUqDpFzQkN/eYCYTxw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - - '@jest/transform@29.7.0': - resolution: {integrity: sha512-ok/BTPFzFKVMwO5eOHRrvnBVHdRy9IrsrW1GpMaQ9MCnilNLXQKmAX8s1YXDFaai9xJpac2ySzV0YeRRECr2Vw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - - '@jest/types@29.6.3': - resolution: {integrity: sha512-u3UPsIilWKOM3F9CXtrG8LEJmNxwoCQC/XVj4IKYXvvpx7QIi/Kg1LI5uDmDpKlac62NUtX7eLjRh+jVZcLOzw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - - '@jridgewell/gen-mapping@0.3.5': - resolution: {integrity: sha512-IzL8ZoEDIBRWEzlCcRhOaCupYyN5gdIK+Q6fbFdPDg6HqX6jpkItn7DFIpW9LQzXG6Df9sA7+OKnq0qlz/GaQg==} - engines: {node: '>=6.0.0'} - - '@jridgewell/resolve-uri@3.1.2': - resolution: {integrity: sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==} - engines: {node: '>=6.0.0'} - - '@jridgewell/set-array@1.2.1': - resolution: {integrity: sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==} - engines: {node: '>=6.0.0'} - - '@jridgewell/sourcemap-codec@1.5.0': - resolution: {integrity: sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==} - - '@jridgewell/trace-mapping@0.3.25': - resolution: {integrity: sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==} - - '@jridgewell/trace-mapping@0.3.9': - resolution: {integrity: sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==} - - '@metamask/eth-sig-util@4.0.1': - resolution: {integrity: sha512-tghyZKLHZjcdlDqCA3gNZmLeR0XvOE9U1qoQO9ohyAZT6Pya+H9vkBPcsyXytmYLNgVoin7CKCmweo/R43V+tQ==} - engines: {node: '>=12.0.0'} - - '@noble/curves@1.2.0': - resolution: {integrity: sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==} - - '@noble/curves@1.4.2': - resolution: {integrity: sha512-TavHr8qycMChk8UwMld0ZDRvatedkzWfH8IiaeGCfymOP5i0hSCozz9vHOL0nkwk7HRMlFnAiKpS2jrUmSybcw==} - - '@noble/hashes@1.2.0': - resolution: {integrity: sha512-FZfhjEDbT5GRswV3C6uvLPHMiVD6lQBmpoX5+eSiPaMTXte/IKqI5dykDxzZB/WBeK/CDuQRBWarPdi3FNY2zQ==} - - '@noble/hashes@1.3.2': - resolution: {integrity: sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==} - engines: {node: '>= 16'} - - '@noble/hashes@1.4.0': - resolution: {integrity: sha512-V1JJ1WTRUqHHrOSh597hURcMqVKVGL/ea3kv0gSnEdsEZ0/+VyPghM1lMNGc00z7CIQorSvbKpuJkxvuHbvdbg==} - engines: {node: '>= 16'} - - '@noble/secp256k1@1.7.1': - resolution: {integrity: sha512-hOUk6AyBFmqVrv7k5WAw/LpszxVbj9gGN4JRkIX52fdFAj1UA61KXmZDvqVEm+pOyec3+fIeZB02LYa/pWOArw==} - - '@nodelib/fs.scandir@2.1.5': - resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==} - engines: {node: '>= 8'} - - '@nodelib/fs.stat@2.0.5': - resolution: {integrity: sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==} - engines: {node: '>= 8'} - - '@nodelib/fs.walk@1.2.8': - resolution: {integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==} - engines: {node: '>= 8'} - - '@nomicfoundation/edr-darwin-arm64@0.5.2': - resolution: {integrity: sha512-Gm4wOPKhbDjGTIRyFA2QUAPfCXA1AHxYOKt3yLSGJkQkdy9a5WW+qtqKeEKHc/+4wpJSLtsGQfpzyIzggFfo/A==} - engines: {node: '>= 18'} - - '@nomicfoundation/edr-darwin-x64@0.5.2': - resolution: {integrity: sha512-ClyABq2dFCsrYEED3/UIO0c7p4H1/4vvlswFlqUyBpOkJccr75qIYvahOSJRM62WgUFRhbSS0OJXFRwc/PwmVg==} - engines: {node: '>= 18'} - - '@nomicfoundation/edr-linux-arm64-gnu@0.5.2': - resolution: {integrity: sha512-HWMTVk1iOabfvU2RvrKLDgtFjJZTC42CpHiw2h6rfpsgRqMahvIlx2jdjWYzFNy1jZKPTN1AStQ/91MRrg5KnA==} - engines: {node: '>= 18'} - - '@nomicfoundation/edr-linux-arm64-musl@0.5.2': - resolution: {integrity: sha512-CwsQ10xFx/QAD5y3/g5alm9+jFVuhc7uYMhrZAu9UVF+KtVjeCvafj0PaVsZ8qyijjqVuVsJ8hD1x5ob7SMcGg==} - engines: {node: '>= 18'} - - '@nomicfoundation/edr-linux-x64-gnu@0.5.2': - resolution: {integrity: sha512-CWVCEdhWJ3fmUpzWHCRnC0/VLBDbqtqTGTR6yyY1Ep3S3BOrHEAvt7h5gx85r2vLcztisu2vlDq51auie4IU1A==} - engines: {node: '>= 18'} - - '@nomicfoundation/edr-linux-x64-musl@0.5.2': - resolution: {integrity: sha512-+aJDfwhkddy2pP5u1ISg3IZVAm0dO836tRlDTFWtvvSMQ5hRGqPcWwlsbobhDQsIxhPJyT7phL0orCg5W3WMeA==} - engines: {node: '>= 18'} - - '@nomicfoundation/edr-win32-x64-msvc@0.5.2': - resolution: {integrity: sha512-CcvvuA3sAv7liFNPsIR/68YlH6rrybKzYttLlMr80d4GKJjwJ5OKb3YgE6FdZZnOfP19HEHhsLcE0DPLtY3r0w==} - engines: {node: '>= 18'} - - '@nomicfoundation/edr@0.5.2': - resolution: {integrity: sha512-hW/iLvUQZNTVjFyX/I40rtKvvDOqUEyIi96T28YaLfmPL+3LW2lxmYLUXEJ6MI14HzqxDqrLyhf6IbjAa2r3Dw==} - engines: {node: '>= 18'} - - '@nomicfoundation/ethereumjs-common@4.0.4': - resolution: {integrity: sha512-9Rgb658lcWsjiicr5GzNCjI1llow/7r0k50dLL95OJ+6iZJcVbi15r3Y0xh2cIO+zgX0WIHcbzIu6FeQf9KPrg==} - - '@nomicfoundation/ethereumjs-rlp@5.0.4': - resolution: {integrity: sha512-8H1S3s8F6QueOc/X92SdrA4RDenpiAEqMg5vJH99kcQaCy/a3Q6fgseo75mgWlbanGJXSlAPtnCeG9jvfTYXlw==} - engines: {node: '>=18'} - hasBin: true - - '@nomicfoundation/ethereumjs-tx@5.0.4': - resolution: {integrity: sha512-Xjv8wAKJGMrP1f0n2PeyfFCCojHd7iS3s/Ab7qzF1S64kxZ8Z22LCMynArYsVqiFx6rzYy548HNVEyI+AYN/kw==} - engines: {node: '>=18'} - peerDependencies: - c-kzg: ^2.1.2 - peerDependenciesMeta: - c-kzg: - optional: true - - '@nomicfoundation/ethereumjs-util@9.0.4': - resolution: {integrity: sha512-sLOzjnSrlx9Bb9EFNtHzK/FJFsfg2re6bsGqinFinH1gCqVfz9YYlXiMWwDM4C/L4ywuHFCYwfKTVr/QHQcU0Q==} - engines: {node: '>=18'} - peerDependencies: - c-kzg: ^2.1.2 - peerDependenciesMeta: - c-kzg: - optional: true - - '@nomicfoundation/solidity-analyzer-darwin-arm64@0.1.2': - resolution: {integrity: sha512-JaqcWPDZENCvm++lFFGjrDd8mxtf+CtLd2MiXvMNTBD33dContTZ9TWETwNFwg7JTJT5Q9HEecH7FA+HTSsIUw==} - engines: {node: '>= 12'} - - '@nomicfoundation/solidity-analyzer-darwin-x64@0.1.2': - resolution: {integrity: sha512-fZNmVztrSXC03e9RONBT+CiksSeYcxI1wlzqyr0L7hsQlK1fzV+f04g2JtQ1c/Fe74ZwdV6aQBdd6Uwl1052sw==} - engines: {node: '>= 12'} - - '@nomicfoundation/solidity-analyzer-linux-arm64-gnu@0.1.2': - resolution: {integrity: sha512-3d54oc+9ZVBuB6nbp8wHylk4xh0N0Gc+bk+/uJae+rUgbOBwQSfuGIbAZt1wBXs5REkSmynEGcqx6DutoK0tPA==} - engines: {node: '>= 12'} - - '@nomicfoundation/solidity-analyzer-linux-arm64-musl@0.1.2': - resolution: {integrity: sha512-iDJfR2qf55vgsg7BtJa7iPiFAsYf2d0Tv/0B+vhtnI16+wfQeTbP7teookbGvAo0eJo7aLLm0xfS/GTkvHIucA==} - engines: {node: '>= 12'} - - '@nomicfoundation/solidity-analyzer-linux-x64-gnu@0.1.2': - resolution: {integrity: sha512-9dlHMAt5/2cpWyuJ9fQNOUXFB/vgSFORg1jpjX1Mh9hJ/MfZXlDdHQ+DpFCs32Zk5pxRBb07yGvSHk9/fezL+g==} - engines: {node: '>= 12'} - - '@nomicfoundation/solidity-analyzer-linux-x64-musl@0.1.2': - resolution: {integrity: sha512-GzzVeeJob3lfrSlDKQw2bRJ8rBf6mEYaWY+gW0JnTDHINA0s2gPR4km5RLIj1xeZZOYz4zRw+AEeYgLRqB2NXg==} - engines: {node: '>= 12'} - - '@nomicfoundation/solidity-analyzer-win32-x64-msvc@0.1.2': - resolution: {integrity: sha512-Fdjli4DCcFHb4Zgsz0uEJXZ2K7VEO+w5KVv7HmT7WO10iODdU9csC2az4jrhEsRtiR9Gfd74FlG0NYlw1BMdyA==} - engines: {node: '>= 12'} - - '@nomicfoundation/solidity-analyzer@0.1.2': - resolution: {integrity: sha512-q4n32/FNKIhQ3zQGGw5CvPF6GTvDCpYwIf7bEY/dZTZbgfDsHyjJwURxUJf3VQuuJj+fDIFl4+KkBVbw4Ef6jA==} - engines: {node: '>= 12'} - - '@pkgjs/parseargs@0.11.0': - resolution: {integrity: sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==} - engines: {node: '>=14'} - - '@scure/base@1.1.7': - resolution: {integrity: sha512-PPNYBslrLNNUQ/Yad37MHYsNQtK67EhWb6WtSvNLLPo7SdVZgkUjD6Dg+5On7zNwmskf8OX7I7Nx5oN+MIWE0g==} - - '@scure/bip32@1.1.5': - resolution: {integrity: sha512-XyNh1rB0SkEqd3tXcXMi+Xe1fvg+kUIcoRIEujP1Jgv7DqW2r9lg3Ah0NkFaCs9sTkQAQA8kw7xiRXzENi9Rtw==} - - '@scure/bip32@1.3.2': - resolution: {integrity: sha512-N1ZhksgwD3OBlwTv3R6KFEcPojl/W4ElJOeCZdi+vuI5QmTFwLq3OFf2zd2ROpKvxFdgZ6hUpb0dx9bVNEwYCA==} - - '@scure/bip32@1.4.0': - resolution: {integrity: sha512-sVUpc0Vq3tXCkDGYVWGIZTRfnvu8LoTDaev7vbwh0omSvVORONr960MQWdKqJDCReIEmTj3PAr73O3aoxz7OPg==} - - '@scure/bip39@1.1.1': - resolution: {integrity: sha512-t+wDck2rVkh65Hmv280fYdVdY25J9YeEUIgn2LG1WM6gxFkGzcksoDiUkWVpVp3Oex9xGC68JU2dSbUfwZ2jPg==} - - '@scure/bip39@1.2.1': - resolution: {integrity: sha512-Z3/Fsz1yr904dduJD0NpiyRHhRYHdcnyh73FZWiV+/qhWi83wNJ3NWolYqCEN+ZWsUz2TWwajJggcRE9r1zUYg==} - - '@scure/bip39@1.3.0': - resolution: {integrity: sha512-disdg7gHuTDZtY+ZdkmLpPCk7fxZSu3gBiEGuoC1XYxv9cGx3Z6cpTggCgW6odSOOIXCiDjuGejW+aJKCY/pIQ==} - - '@sentry/core@5.30.0': - resolution: {integrity: sha512-TmfrII8w1PQZSZgPpUESqjB+jC6MvZJZdLtE/0hZ+SrnKhW3x5WlYLvTXZpcWePYBku7rl2wn1RZu6uT0qCTeg==} - engines: {node: '>=6'} - - '@sentry/hub@5.30.0': - resolution: {integrity: sha512-2tYrGnzb1gKz2EkMDQcfLrDTvmGcQPuWxLnJKXJvYTQDGLlEvi2tWz1VIHjunmOvJrB5aIQLhm+dcMRwFZDCqQ==} - engines: {node: '>=6'} - - '@sentry/minimal@5.30.0': - resolution: {integrity: sha512-BwWb/owZKtkDX+Sc4zCSTNcvZUq7YcH3uAVlmh/gtR9rmUvbzAA3ewLuB3myi4wWRAMEtny6+J/FN/x+2wn9Xw==} - engines: {node: '>=6'} - - '@sentry/node@5.30.0': - resolution: {integrity: sha512-Br5oyVBF0fZo6ZS9bxbJZG4ApAjRqAnqFFurMVJJdunNb80brh7a5Qva2kjhm+U6r9NJAB5OmDyPkA1Qnt+QVg==} - engines: {node: '>=6'} - - '@sentry/tracing@5.30.0': - resolution: {integrity: sha512-dUFowCr0AIMwiLD7Fs314Mdzcug+gBVo/+NCMyDw8tFxJkwWAKl7Qa2OZxLQ0ZHjakcj1hNKfCQJ9rhyfOl4Aw==} - engines: {node: '>=6'} - - '@sentry/types@5.30.0': - resolution: {integrity: sha512-R8xOqlSTZ+htqrfteCWU5Nk0CDN5ApUTvrlvBuiH1DyP6czDZ4ktbZB0hAgBlVcK0U+qpD3ag3Tqqpa5Q67rPw==} - engines: {node: '>=6'} - - '@sentry/utils@5.30.0': - resolution: {integrity: sha512-zaYmoH0NWWtvnJjC9/CBseXMtKHm/tm40sz3YfJRxeQjyzRqNQPgivpd9R/oDJCYj999mzdW382p/qi2ypjLww==} - engines: {node: '>=6'} - - '@sinclair/typebox@0.27.8': - resolution: {integrity: sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==} - - '@sinonjs/commons@3.0.1': - resolution: {integrity: sha512-K3mCHKQ9sVh8o1C9cxkwxaOmXoAMlDxC1mYyHrjqOWEcBjYr76t96zL2zlj5dUGZ3HSw240X1qgH3Mjf1yJWpQ==} - - '@sinonjs/fake-timers@10.3.0': - resolution: {integrity: sha512-V4BG07kuYSUkTCSBHG8G8TNhM+F19jXFWnQtzj+we8DrkpSBCee9Z3Ms8yiGer/dlmhe35/Xdgyo3/0rQKg7YA==} - - '@solidity-parser/parser@0.18.0': - resolution: {integrity: sha512-yfORGUIPgLck41qyN7nbwJRAx17/jAIXCTanHOJZhB6PJ1iAk/84b/xlsVKFSyNyLXIj0dhppoE0+CRws7wlzA==} - - '@tsconfig/node10@1.0.11': - resolution: {integrity: sha512-DcRjDCujK/kCk/cUe8Xz8ZSpm8mS3mNNpta+jGCA6USEDfktlNvm1+IuZ9eTcDbNk41BHwpHHeW+N1lKCz4zOw==} - - '@tsconfig/node12@1.0.11': - resolution: {integrity: sha512-cqefuRsh12pWyGsIoBKJA9luFu3mRxCA+ORZvA4ktLSzIuCUtWVxGIuXigEwO5/ywWFMZ2QEGKWvkZG1zDMTag==} - - '@tsconfig/node14@1.0.3': - resolution: {integrity: sha512-ysT8mhdixWK6Hw3i1V2AeRqZ5WfXg1G43mqoYlM2nc6388Fq5jcXyr5mRsqViLx/GJYdoL0bfXD8nmF+Zn/Iow==} - - '@tsconfig/node16@1.0.4': - resolution: {integrity: sha512-vxhUy4J8lyeyinH7Azl1pdd43GJhZH/tP2weN8TntQblOY+A0XbT8DJk1/oCPuOOyg/Ja757rG0CgHcWC8OfMA==} - - '@types/babel__core@7.20.5': - resolution: {integrity: sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA==} - - '@types/babel__generator@7.6.8': - resolution: {integrity: sha512-ASsj+tpEDsEiFr1arWrlN6V3mdfjRMZt6LtK/Vp/kreFLnr5QH5+DhvD5nINYZXzwJvXeGq+05iUXcAzVrqWtw==} - - '@types/babel__template@7.4.4': - resolution: {integrity: sha512-h/NUaSyG5EyxBIp8YRxo4RMe2/qQgvyowRwVMzhYhBCONbW8PUsg4lkFMrhgZhUe5z3L3MiLDuvyJ/CaPa2A8A==} - - '@types/babel__traverse@7.20.6': - resolution: {integrity: sha512-r1bzfrm0tomOI8g1SzvCaQHo6Lcv6zu0EA+W2kHrt8dyrHQxGzBBL4kdkzIS+jBMV+EYcMAEAqXqYaLJq5rOZg==} - - '@types/bn.js@4.11.6': - resolution: {integrity: sha512-pqr857jrp2kPuO9uRjZ3PwnJTjoQy+fcdxvBTvHm6dkmEL9q+hDD/2j/0ELOBPtPnS8LjCX0gI9nbl8lVkadpg==} - - '@types/bn.js@5.1.5': - resolution: {integrity: sha512-V46N0zwKRF5Q00AZ6hWtN0T8gGmDUaUzLWQvHFo5yThtVwK/VCenFY3wXVbOvNfajEpsTfQM4IN9k/d6gUVX3A==} - - '@types/body-parser@1.19.5': - resolution: {integrity: sha512-fB3Zu92ucau0iQ0JMCFQE7b/dv8Ot07NI3KaZIkIUNXq82k4eBAqUaneXfleGY9JWskeS9y+u0nXMyspcuQrCg==} - - '@types/connect@3.4.38': - resolution: {integrity: sha512-K6uROf1LD88uDQqJCktA4yzL1YYAK6NgfsI0v/mTgyPKWsX1CnJ0XPSDhViejru1GcRkLWb8RlzFYJRqGUbaug==} - - '@types/cookiejar@2.1.5': - resolution: {integrity: sha512-he+DHOWReW0nghN24E1WUqM0efK4kI9oTqDm6XmK8ZPe2djZ90BSNdGnIyCLzCPw7/pogPlGbzI2wHGGmi4O/Q==} - - '@types/express-serve-static-core@4.19.5': - resolution: {integrity: sha512-y6W03tvrACO72aijJ5uF02FRq5cgDR9lUxddQ8vyF+GvmjJQqbzDcJngEjURc+ZsG31VI3hODNZJ2URj86pzmg==} - - '@types/express@4.17.21': - resolution: {integrity: sha512-ejlPM315qwLpaQlQDTjPdsUFSc6ZsP4AN6AlWnogPjQ7CVi7PYF3YVz+CY3jE2pwYf7E/7HlDAN0rV2GxTG0HQ==} - - '@types/glob@7.2.0': - resolution: {integrity: sha512-ZUxbzKl0IfJILTS6t7ip5fQQM/J3TJYubDm3nMbgubNNYS62eXeUpoLUC8/7fJNiFYHTrGPQn7hspDUzIHX3UA==} - - '@types/graceful-fs@4.1.9': - resolution: {integrity: sha512-olP3sd1qOEe5dXTSaFvQG+02VdRXcdytWLAZsAq1PecU8uqQAhkrnbli7DagjtXKW/Bl7YJbUsa8MPcuc8LHEQ==} - - '@types/http-errors@2.0.4': - resolution: {integrity: sha512-D0CFMMtydbJAegzOyHjtiKPLlvnm3iTZyZRSZoLq2mRhDdmLfIWOCYPfQJ4cu2erKghU++QvjcUjp/5h7hESpA==} - - '@types/istanbul-lib-coverage@2.0.6': - resolution: {integrity: sha512-2QF/t/auWm0lsy8XtKVPG19v3sSOQlJe/YHZgfjb/KBBHOGSV+J2q/S671rcq9uTBrLAXmZpqJiaQbMT+zNU1w==} - - '@types/istanbul-lib-report@3.0.3': - resolution: {integrity: sha512-NQn7AHQnk/RSLOxrBbGyJM/aVQ+pjj5HCgasFxc0K/KhoATfQ/47AyUl15I2yBUpihjmas+a+VJBOqecrFH+uA==} - - '@types/istanbul-reports@3.0.4': - resolution: {integrity: sha512-pk2B1NWalF9toCRu6gjBzR69syFjP4Od8WRAX+0mmf9lAjCRicLOWc+ZrxZHx/0XRjotgkF9t6iaMJ+aXcOdZQ==} - - '@types/jest@29.5.12': - resolution: {integrity: sha512-eDC8bTvT/QhYdxJAulQikueigY5AsdBRH2yDKW3yveW7svY3+DzN84/2NUgkw10RTiJbWqZrTtoGVdYlvFJdLw==} - - '@types/lru-cache@5.1.1': - resolution: {integrity: sha512-ssE3Vlrys7sdIzs5LOxCzTVMsU7i9oa/IaW92wF32JFb3CVczqOkru2xspuKczHEbG3nvmPY7IFqVmGGHdNbYw==} - - '@types/methods@1.1.4': - resolution: {integrity: sha512-ymXWVrDiCxTBE3+RIrrP533E70eA+9qu7zdWoHuOmGujkYtzf4HQF96b8nwHLqhuf4ykX61IGRIB38CC6/sImQ==} - - '@types/mime@1.3.5': - resolution: {integrity: sha512-/pyBZWSLD2n0dcHE3hq8s8ZvcETHtEuF+3E7XVt0Ig2nvsVQXdghHVcEkIWjy9A0wKfTn97a/PSDYohKIlnP/w==} - - '@types/minimatch@5.1.2': - resolution: {integrity: sha512-K0VQKziLUWkVKiRVrx4a40iPaxTUefQmjtkQofBkYRcoaaL/8rhwDWww9qWbrgicNOgnpIsMxyNIUM4+n6dUIA==} - - '@types/mocha@10.0.7': - resolution: {integrity: sha512-GN8yJ1mNTcFcah/wKEFIJckJx9iJLoMSzWcfRRuxz/Jk+U6KQNnml+etbtxFK8lPjzOw3zp4Ha/kjSst9fsHYw==} - - '@types/node@20.14.14': - resolution: {integrity: sha512-d64f00982fS9YoOgJkAMolK7MN8Iq3TDdVjchbYHdEmjth/DHowx82GnoA+tVUAN+7vxfYUgAzi+JXbKNd2SDQ==} - - '@types/pbkdf2@3.1.2': - resolution: {integrity: sha512-uRwJqmiXmh9++aSu1VNEn3iIxWOhd8AHXNSdlaLfdAAdSTY9jYVeGWnzejM3dvrkbqE3/hyQkQQ29IFATEGlew==} - - '@types/qs@6.9.15': - resolution: {integrity: sha512-uXHQKES6DQKKCLh441Xv/dwxOq1TVS3JPUMlEqoEglvlhR6Mxnlew/Xq/LRVHpLyk7iK3zODe1qYHIMltO7XGg==} - - '@types/range-parser@1.2.7': - resolution: {integrity: sha512-hKormJbkJqzQGhziax5PItDUTMAM9uE2XXQmM37dyd4hVM+5aVl7oVxMVUiVQn2oCQFN/LKCZdvSM0pFRqbSmQ==} - - '@types/secp256k1@4.0.6': - resolution: {integrity: sha512-hHxJU6PAEUn0TP4S/ZOzuTUvJWuZ6eIKeNKb5RBpODvSl6hp1Wrw4s7ATY50rklRCScUDpHzVA/DQdSjJ3UoYQ==} - - '@types/send@0.17.4': - resolution: {integrity: sha512-x2EM6TJOybec7c52BX0ZspPodMsQUd5L6PRwOunVyVUhXiBSKf3AezDL8Dgvgt5o0UfKNfuA0eMLr2wLT4AiBA==} - - '@types/serve-static@1.15.7': - resolution: {integrity: sha512-W8Ym+h8nhuRwaKPaDw34QUkwsGi6Rc4yYqvKFo5rm2FUEhCFbzVWrxXUxuKK8TASjWsysJY0nsmNCGhCOIsrOw==} - - '@types/stack-utils@2.0.3': - resolution: {integrity: sha512-9aEbYZ3TbYMznPdcdr3SmIrLXwC/AKZXQeCf9Pgao5CKb8CyHuEX5jzWPTkvregvhRJHcpRO6BFoGW9ycaOkYw==} - - '@types/superagent@8.1.8': - resolution: {integrity: sha512-nTqHJ2OTa7PFEpLahzSEEeFeqbMpmcN7OeayiOc7v+xk+/vyTKljRe+o4MPqSnPeRCMvtxuLG+5QqluUVQJOnA==} - - '@types/supertest@6.0.2': - resolution: {integrity: sha512-137ypx2lk/wTQbW6An6safu9hXmajAifU/s7szAHLN/FeIm5w7yR0Wkl9fdJMRSHwOn4HLAI0DaB2TOORuhPDg==} - - '@types/ws@8.5.3': - resolution: {integrity: sha512-6YOoWjruKj1uLf3INHH7D3qTXwFfEsg1kf3c0uDdSBJwfa/llkwIjrAGV7j7mVgGNbzTQ3HiHKKDXl6bJPD97w==} - - '@types/yargs-parser@21.0.3': - resolution: {integrity: sha512-I4q9QU9MQv4oEOz4tAHJtNz1cwuLxn2F3xcc2iV5WdqLPpUnj30aUuxt1mAxYTG+oe8CZMV/+6rU4S4gRDzqtQ==} - - '@types/yargs@17.0.32': - resolution: {integrity: sha512-xQ67Yc/laOG5uMfX/093MRlGGCIBzZMarVa+gfNKJxWAIgykYpVGkBdbqEzGDDfCrVUj6Hiff4mTZ5BA6TmAog==} - - abbrev@1.0.9: - resolution: {integrity: sha512-LEyx4aLEC3x6T0UguF6YILf+ntvmOaWsVfENmIW0E9H09vKlLDGelMjjSm0jkDHALj8A8quZ/HapKNigzwge+Q==} - - abitype@0.7.1: - resolution: {integrity: sha512-VBkRHTDZf9Myaek/dO3yMmOzB/y2s3Zo6nVU7yaw1G+TvCHAjwaJzNGN9yo4K5D8bU/VZXKP1EJpRhFr862PlQ==} - peerDependencies: - typescript: '>=4.9.4' - zod: ^3 >=3.19.1 - peerDependenciesMeta: - zod: - optional: true - - abitype@1.0.0: - resolution: {integrity: sha512-NMeMah//6bJ56H5XRj8QCV4AwuW6hB6zqz2LnhhLdcWVQOsXki6/Pn3APeqxCma62nXIcmZWdu1DlHWS74umVQ==} - peerDependencies: - typescript: '>=5.0.4' - zod: ^3 >=3.22.0 - peerDependenciesMeta: - typescript: - optional: true - zod: - optional: true - - accepts@1.3.8: - resolution: {integrity: sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==} - engines: {node: '>= 0.6'} - - acorn-walk@8.3.3: - resolution: {integrity: sha512-MxXdReSRhGO7VlFe1bRG/oI7/mdLV9B9JJT0N8vZOhF7gFRR5l3M8W9G8JxmKV+JC5mGqJ0QvqfSOLsCPa4nUw==} - engines: {node: '>=0.4.0'} - - acorn@8.12.1: - resolution: {integrity: sha512-tcpGyI9zbizT9JbV6oYE477V6mTlXvvi0T0G3SNIYE2apm/G5huBa1+K89VGeovbg+jycCrfhl3ADxErOuO6Jg==} - engines: {node: '>=0.4.0'} - hasBin: true - - adm-zip@0.4.16: - resolution: {integrity: sha512-TFi4HBKSGfIKsK5YCkKaaFG2m4PEDyViZmEwof3MTIgzimHLto6muaHVpbrljdIvIrFZzEq/p4nafOeLcYegrg==} - engines: {node: '>=0.3.0'} - - aes-js@3.0.0: - resolution: {integrity: sha512-H7wUZRn8WpTq9jocdxQ2c8x2sKo9ZVmzfRE13GiNJXfp7NcKYEdvl3vspKjXox6RIG2VtaRe4JFvxG4rqp2Zuw==} - - agent-base@6.0.2: - resolution: {integrity: sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==} - engines: {node: '>= 6.0.0'} - - aggregate-error@3.1.0: - resolution: {integrity: sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==} - engines: {node: '>=8'} - - amdefine@1.0.1: - resolution: {integrity: sha512-S2Hw0TtNkMJhIabBwIojKL9YHO5T0n5eNqWJ7Lrlel/zDbftQpxpapi8tZs3X1HWa+u+QeydGmzzNU0m09+Rcg==} - engines: {node: '>=0.4.2'} - - ansi-align@3.0.1: - resolution: {integrity: sha512-IOfwwBF5iczOjp/WeY4YxyjqAFMQoZufdQWDd19SEExbVLNXqvpzSJ/M7Za4/sCPmQ0+GRquoA7bGcINcxew6w==} - - ansi-colors@4.1.3: - resolution: {integrity: sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw==} - engines: {node: '>=6'} - - ansi-escapes@4.3.2: - resolution: {integrity: sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==} - engines: {node: '>=8'} - - ansi-regex@5.0.1: - resolution: {integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==} - engines: {node: '>=8'} - - ansi-regex@6.0.1: - resolution: {integrity: sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==} - engines: {node: '>=12'} - - ansi-styles@3.2.1: - resolution: {integrity: sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==} - engines: {node: '>=4'} - - ansi-styles@4.3.0: - resolution: {integrity: sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==} - engines: {node: '>=8'} - - ansi-styles@5.2.0: - resolution: {integrity: sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==} - engines: {node: '>=10'} - - ansi-styles@6.2.1: - resolution: {integrity: sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==} - engines: {node: '>=12'} - - anymatch@3.1.3: - resolution: {integrity: sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==} - engines: {node: '>= 8'} - - arg@4.1.3: - resolution: {integrity: sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==} - - argparse@1.0.10: - resolution: {integrity: sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==} - - argparse@2.0.1: - resolution: {integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==} - - array-flatten@1.1.1: - resolution: {integrity: sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg==} - - array-union@2.1.0: - resolution: {integrity: sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==} - engines: {node: '>=8'} - - asap@2.0.6: - resolution: {integrity: sha512-BSHWgDSAiKs50o2Re8ppvp3seVHXSRM44cdSsT9FfNEUUZLOGWVCsiWaRPWM1Znn+mqZ1OfVZ3z3DWEzSp7hRA==} - - async@1.5.2: - resolution: {integrity: sha512-nSVgobk4rv61R9PUSDtYt7mPVB2olxNR5RWJcAsH676/ef11bUZwvu7+RGYrYauVdDPcO519v68wRhXQtxsV9w==} - - async@3.2.5: - resolution: {integrity: sha512-baNZyqaaLhyLVKm/DlvdW051MSgO6b8eVfIezl9E5PqWxFgzLm/wQntEW4zOytVburDEr0JlALEpdOFwvErLsg==} - - asynckit@0.4.0: - resolution: {integrity: sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==} - - available-typed-arrays@1.0.7: - resolution: {integrity: sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ==} - engines: {node: '>= 0.4'} - - axios-mock-adapter@1.22.0: - resolution: {integrity: sha512-dmI0KbkyAhntUR05YY96qg2H6gg0XMl2+qTW0xmYg6Up+BFBAJYRLROMXRdDEL06/Wqwa0TJThAYvFtSFdRCZw==} - peerDependencies: - axios: '>= 0.17.0' - - axios@1.7.3: - resolution: {integrity: sha512-Ar7ND9pU99eJ9GpoGQKhKf58GpUOgnzuaB7ueNQ5BMi0p+LZ5oaEnfF999fAArcTIBwXTCHAmGcHOZJaWPq9Nw==} - - babel-jest@29.7.0: - resolution: {integrity: sha512-BrvGY3xZSwEcCzKvKsCi2GgHqDqsYkOP4/by5xCgIwGXQxIEh+8ew3gmrE1y7XRR6LHZIj6yLYnUi/mm2KXKBg==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - peerDependencies: - '@babel/core': ^7.8.0 - - babel-plugin-istanbul@6.1.1: - resolution: {integrity: sha512-Y1IQok9821cC9onCx5otgFfRm7Lm+I+wwxOx738M/WLPZ9Q42m4IG5W0FNX8WLL2gYMZo3JkuXIH2DOpWM+qwA==} - engines: {node: '>=8'} - - babel-plugin-jest-hoist@29.6.3: - resolution: {integrity: sha512-ESAc/RJvGTFEzRwOTT4+lNDk/GNHMkKbNzsvT0qKRfDyyYTskxB5rnU2njIDYVxXCBHHEI1c0YwHob3WaYujOg==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - - babel-preset-current-node-syntax@1.0.1: - resolution: {integrity: sha512-M7LQ0bxarkxQoN+vz5aJPsLBn77n8QgTFmo8WK0/44auK2xlCXrYcUxHFxgU7qW5Yzw/CjmLRK2uJzaCd7LvqQ==} - peerDependencies: - '@babel/core': ^7.0.0 - - babel-preset-jest@29.6.3: - resolution: {integrity: sha512-0B3bhxR6snWXJZtR/RliHTDPRgn1sNHOR0yVtq/IiQFyuOVjFS+wuio/R4gSNkyYmKmJB4wGZv2NZanmKmTnNA==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - peerDependencies: - '@babel/core': ^7.0.0 - - balanced-match@1.0.2: - resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==} - - base-x@3.0.10: - resolution: {integrity: sha512-7d0s06rR9rYaIWHkpfLIFICM/tkSVdoPC9qYAQRpxn9DdKNWNsKC0uk++akckyLq16Tx2WIinnZ6WRriAt6njQ==} - - bech32@1.1.4: - resolution: {integrity: sha512-s0IrSOzLlbvX7yp4WBfPITzpAU8sqQcpsmwXDiKwrG4r491vwCO/XpejasRNl0piBMe/DvP4Tz0mIS/X1DPJBQ==} - - binary-extensions@2.3.0: - resolution: {integrity: sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==} - engines: {node: '>=8'} - - blakejs@1.2.1: - resolution: {integrity: sha512-QXUSXI3QVc/gJME0dBpXrag1kbzOqCjCX8/b54ntNyW6sjtoqxqRk3LTmXzaJoh71zMsDCjM+47jS7XiwN/+fQ==} - - bn.js@4.11.6: - resolution: {integrity: sha512-XWwnNNFCuuSQ0m3r3C4LE3EiORltHd9M05pq6FOlVeiophzRbMo50Sbz1ehl8K3Z+jw9+vmgnXefY1hz8X+2wA==} - - bn.js@4.12.0: - resolution: {integrity: sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==} - - bn.js@5.2.1: - resolution: {integrity: sha512-eXRvHzWyYPBuB4NBy0cmYQjGitUrtqwbvlzP3G6VFnNRbsZQIxQ10PbKKHt8gZ/HW/D/747aDl+QkDqg3KQLMQ==} - - body-parser@1.20.2: - resolution: {integrity: sha512-ml9pReCu3M61kGlqoTm2umSXTlRTuGTx0bfYj+uIUKKYycG5NtSbeetV3faSU6R7ajOPw0g/J1PvK4qNy7s5bA==} - engines: {node: '>= 0.8', npm: 1.2.8000 || >= 1.4.16} - - boxen@5.1.2: - resolution: {integrity: sha512-9gYgQKXx+1nP8mP7CzFyaUARhg7D3n1dF/FnErWmu9l6JvGpNUN278h0aSb+QjoiKSWG+iZ3uHrcqk0qrY9RQQ==} - engines: {node: '>=10'} - - brace-expansion@1.1.11: - resolution: {integrity: sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==} - - brace-expansion@2.0.1: - resolution: {integrity: sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==} - - braces@3.0.3: - resolution: {integrity: sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==} - engines: {node: '>=8'} - - brorand@1.1.0: - resolution: {integrity: sha512-cKV8tMCEpQs4hK/ik71d6LrPOnpkpGBR0wzxqr68g2m/LB2GxVYQroAjMJZRVM1Y4BCjCKc3vAamxSzOY2RP+w==} - - brotli-wasm@2.0.1: - resolution: {integrity: sha512-+3USgYsC7bzb5yU0/p2HnnynZl0ak0E6uoIm4UW4Aby/8s8HFCq6NCfrrf1E9c3O8OCSzq3oYO1tUVqIi61Nww==} - - browser-stdout@1.3.1: - resolution: {integrity: sha512-qhAVI1+Av2X7qelOfAIYwXONood6XlZE/fXaBSmW/T5SzLAmCgzi+eiWE7fUvbHaeNBQH13UftjpXxsfLkMpgw==} - - browserify-aes@1.2.0: - resolution: {integrity: sha512-+7CHXqGuspUn/Sl5aO7Ea0xWGAtETPXNSAjHo48JfLdPWcMng33Xe4znFvQweqc/uzk5zSOI3H52CYnjCfb5hA==} - - browserslist@4.23.3: - resolution: {integrity: sha512-btwCFJVjI4YWDNfau8RhZ+B1Q/VLoUITrm3RlP6y1tYGWIOa+InuYiRGXUBXo8nA1qKmHMyLB/iVQg5TT4eFoA==} - engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} - hasBin: true - - bs-logger@0.2.6: - resolution: {integrity: sha512-pd8DCoxmbgc7hyPKOvxtqNcjYoOsABPQdcCUjGp3d42VR2CX1ORhk2A87oqqu5R1kk+76nsxZupkmyd+MVtCog==} - engines: {node: '>= 6'} - - bs58@4.0.1: - resolution: {integrity: sha512-Ok3Wdf5vOIlBrgCvTq96gBkJw+JUEzdBgyaza5HLtPm7yTHkjRy8+JzNyHF7BHa0bNWOQIp3m5YF0nnFcOIKLw==} - - bs58check@2.1.2: - resolution: {integrity: sha512-0TS1jicxdU09dwJMNZtVAfzPi6Q6QeN0pM1Fkzrjn+XYHvzMKPU3pHVpva+769iNVSfIYWf7LJ6WR+BuuMf8cA==} - - bser@2.1.1: - resolution: {integrity: sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ==} - - buffer-from@1.1.2: - resolution: {integrity: sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==} - - buffer-xor@1.0.3: - resolution: {integrity: sha512-571s0T7nZWK6vB67HI5dyUF7wXiNcfaPPPTl6zYCNApANjIvYJTg7hlud/+cJpdAhS7dVzqMLmfhfHR3rAcOjQ==} - - bytes@3.1.2: - resolution: {integrity: sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==} - engines: {node: '>= 0.8'} - - call-bind@1.0.7: - resolution: {integrity: sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==} - engines: {node: '>= 0.4'} - - callsites@3.1.0: - resolution: {integrity: sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==} - engines: {node: '>=6'} - - camelcase@5.3.1: - resolution: {integrity: sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==} - engines: {node: '>=6'} - - camelcase@6.3.0: - resolution: {integrity: sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==} - engines: {node: '>=10'} - - caniuse-lite@1.0.30001649: - resolution: {integrity: sha512-fJegqZZ0ZX8HOWr6rcafGr72+xcgJKI9oWfDW5DrD7ExUtgZC7a7R7ZYmZqplh7XDocFdGeIFn7roAxhOeYrPQ==} - - chalk@2.4.2: - resolution: {integrity: sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==} - engines: {node: '>=4'} - - chalk@4.1.2: - resolution: {integrity: sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==} - engines: {node: '>=10'} - - char-regex@1.0.2: - resolution: {integrity: sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw==} - engines: {node: '>=10'} - - charenc@0.0.2: - resolution: {integrity: sha512-yrLQ/yVUFXkzg7EDQsPieE/53+0RlaWTs+wBrvW36cyilJ2SaDWfl4Yj7MtLTXleV9uEKefbAGUPv2/iWSooRA==} - - chokidar@3.6.0: - resolution: {integrity: sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==} - engines: {node: '>= 8.10.0'} - - ci-info@2.0.0: - resolution: {integrity: sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ==} - - ci-info@3.9.0: - resolution: {integrity: sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ==} - engines: {node: '>=8'} - - cipher-base@1.0.4: - resolution: {integrity: sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q==} - - cjs-module-lexer@1.3.1: - resolution: {integrity: sha512-a3KdPAANPbNE4ZUv9h6LckSl9zLsYOP4MBmhIPkRaeyybt+r4UghLvq+xw/YwUcC1gqylCkL4rdVs3Lwupjm4Q==} - - clean-stack@2.2.0: - resolution: {integrity: sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==} - engines: {node: '>=6'} - - cli-boxes@2.2.1: - resolution: {integrity: sha512-y4coMcylgSCdVinjiDBuR8PCC2bLjyGTwEmPb9NHR/QaNU6EUOXcTY/s6VjGMD6ENSEaeQYHCY0GNGS5jfMwPw==} - engines: {node: '>=6'} - - cli-table3@0.6.5: - resolution: {integrity: sha512-+W/5efTR7y5HRD7gACw9yQjqMVvEMLBHmboM/kPWam+H+Hmyrgjh6YncVKK122YZkXrLudzTuAukUw9FnMf7IQ==} - engines: {node: 10.* || >= 12.*} - - cliui@7.0.4: - resolution: {integrity: sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==} - - cliui@8.0.1: - resolution: {integrity: sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==} - engines: {node: '>=12'} - - co@4.6.0: - resolution: {integrity: sha512-QVb0dM5HvG+uaxitm8wONl7jltx8dqhfU33DcqtOZcLSVIKSDDLDi7+0LbAKiyI8hD9u42m2YxXSkMGWThaecQ==} - engines: {iojs: '>= 1.0.0', node: '>= 0.12.0'} - - collect-v8-coverage@1.0.2: - resolution: {integrity: sha512-lHl4d5/ONEbLlJvaJNtsF/Lz+WvB07u2ycqTYbdrq7UypDXailES4valYb2eWiJFxZlVmpGekfqoxQhzyFdT4Q==} - - color-convert@1.9.3: - resolution: {integrity: sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==} - - color-convert@2.0.1: - resolution: {integrity: sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==} - engines: {node: '>=7.0.0'} - - color-name@1.1.3: - resolution: {integrity: sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==} - - color-name@1.1.4: - resolution: {integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==} - - combined-stream@1.0.8: - resolution: {integrity: sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==} - engines: {node: '>= 0.8'} - - command-exists@1.2.9: - resolution: {integrity: sha512-LTQ/SGc+s0Xc0Fu5WaKnR0YiygZkm9eKFvyS+fRsU7/ZWFF8ykFM6Pc9aCVf1+xasOOZpO3BAVgVrKvsqKHV7w==} - - commander@8.3.0: - resolution: {integrity: sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww==} - engines: {node: '>= 12'} - - component-emitter@1.3.1: - resolution: {integrity: sha512-T0+barUSQRTUQASh8bx02dl+DhF54GtIDY13Y3m9oWTklKbb3Wv974meRpeZ3lp1JpLVECWWNHC4vaG2XHXouQ==} - - concat-map@0.0.1: - resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==} - - content-disposition@0.5.4: - resolution: {integrity: sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==} - engines: {node: '>= 0.6'} - - content-type@1.0.5: - resolution: {integrity: sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==} - engines: {node: '>= 0.6'} - - convert-source-map@2.0.0: - resolution: {integrity: sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==} - - cookie-signature@1.0.6: - resolution: {integrity: sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ==} - - cookie@0.4.2: - resolution: {integrity: sha512-aSWTXFzaKWkvHO1Ny/s+ePFpvKsPnjc551iI41v3ny/ow6tBG5Vd+FuqGNhh1LxOmVzOlGUriIlOaokOvhaStA==} - engines: {node: '>= 0.6'} - - cookie@0.6.0: - resolution: {integrity: sha512-U71cyTamuh1CRNCfpGY6to28lxvNwPG4Guz/EVjgf3Jmzv0vlDp1atT9eS5dDjMYHucpHbWns6Lwf3BKz6svdw==} - engines: {node: '>= 0.6'} - - cookiejar@2.1.4: - resolution: {integrity: sha512-LDx6oHrK+PhzLKJU9j5S7/Y3jM/mUHvD/DeI1WQmJn652iPC5Y4TBzC9l+5OMOXlyTTA+SmVUPm0HQUwpD5Jqw==} - - crc-32@1.2.2: - resolution: {integrity: sha512-ROmzCKrTnOwybPcJApAA6WBWij23HVfGVNKqqrZpuyZOHqK2CwHSvpGuyt/UNNvaIjEd8X5IFGp4Mh+Ie1IHJQ==} - engines: {node: '>=0.8'} - hasBin: true - - create-hash@1.2.0: - resolution: {integrity: sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg==} - - create-hmac@1.1.7: - resolution: {integrity: sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg==} - - create-jest@29.7.0: - resolution: {integrity: sha512-Adz2bdH0Vq3F53KEMJOoftQFutWCukm6J24wbPWRO4k1kMY7gS7ds/uoJkNuV8wDCtWWnuwGcJwpWcih+zEW1Q==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - hasBin: true - - create-require@1.1.1: - resolution: {integrity: sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==} - - cross-fetch@4.0.0: - resolution: {integrity: sha512-e4a5N8lVvuLgAWgnCrLr2PP0YyDOTHa9H/Rj54dirp61qXnNq46m82bRhNqIA5VccJtWBvPTFRV3TtvHUKPB1g==} - - cross-spawn@7.0.3: - resolution: {integrity: sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==} - engines: {node: '>= 8'} - - crypt@0.0.2: - resolution: {integrity: sha512-mCxBlsHFYh9C+HVpiEacem8FEBnMXgU9gy4zmNC+SXAZNB/1idgp/aulFJ4FgCi7GPEVbfyng092GqL2k2rmow==} - - death@1.1.0: - resolution: {integrity: sha512-vsV6S4KVHvTGxbEcij7hkWRv0It+sGGWVOM67dQde/o5Xjnr+KmLjxWJii2uEObIrt1CcM9w0Yaovx+iOlIL+w==} - - debug@2.6.9: - resolution: {integrity: sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==} - peerDependencies: - supports-color: '*' - peerDependenciesMeta: - supports-color: - optional: true - - debug@4.3.6: - resolution: {integrity: sha512-O/09Bd4Z1fBrU4VzkhFqVgpPzaGbw6Sm9FEkBT1A/YBXQFGuuSxa1dN2nxgxS34JmKXqYx8CZAwEVoJFImUXIg==} - engines: {node: '>=6.0'} - peerDependencies: - supports-color: '*' - peerDependenciesMeta: - supports-color: - optional: true - - decamelize@4.0.0: - resolution: {integrity: sha512-9iE1PgSik9HeIIw2JO94IidnE3eBoQrFJ3w7sFuzSX4DpmZ3v5sZpUiV5Swcf6mQEF+Y0ru8Neo+p+nyh2J+hQ==} - engines: {node: '>=10'} - - dedent@1.5.3: - resolution: {integrity: sha512-NHQtfOOW68WD8lgypbLA5oT+Bt0xXJhiYvoR6SmmNXZfpzOGXwdKWmcwG8N7PwVVWV3eF/68nmD9BaJSsTBhyQ==} - peerDependencies: - babel-plugin-macros: ^3.1.0 - peerDependenciesMeta: - babel-plugin-macros: - optional: true - - deep-is@0.1.4: - resolution: {integrity: sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==} - - deepmerge@4.3.1: - resolution: {integrity: sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==} - engines: {node: '>=0.10.0'} - - define-data-property@1.1.4: - resolution: {integrity: sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==} - engines: {node: '>= 0.4'} - - delayed-stream@1.0.0: - resolution: {integrity: sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==} - engines: {node: '>=0.4.0'} - - depd@2.0.0: - resolution: {integrity: sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==} - engines: {node: '>= 0.8'} - - destroy@1.2.0: - resolution: {integrity: sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==} - engines: {node: '>= 0.8', npm: 1.2.8000 || >= 1.4.16} - - detect-newline@3.1.0: - resolution: {integrity: sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA==} - engines: {node: '>=8'} - - dezalgo@1.0.4: - resolution: {integrity: sha512-rXSP0bf+5n0Qonsb+SVVfNfIsimO4HEtmnIpPHY8Q1UCzKlQrDMfdobr8nJOOsRgWCyMRqeSBQzmWUMq7zvVig==} - - diff-sequences@29.6.3: - resolution: {integrity: sha512-EjePK1srD3P08o2j4f0ExnylqRs5B9tJjcp9t1krH2qRi8CCdsYfwe9JgSLurFBWwq4uOlipzfk5fHNvwFKr8Q==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - - diff@4.0.2: - resolution: {integrity: sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==} - engines: {node: '>=0.3.1'} - - diff@5.2.0: - resolution: {integrity: sha512-uIFDxqpRZGZ6ThOk84hEfqWoHx2devRFvpTZcTHur85vImfaxUbTW9Ryh4CpCuDnToOP1CEtXKIgytHBPVff5A==} - engines: {node: '>=0.3.1'} - - difflib@0.2.4: - resolution: {integrity: sha512-9YVwmMb0wQHQNr5J9m6BSj6fk4pfGITGQOOs+D9Fl+INODWFOfvhIU1hNv6GgR1RBoC/9NJcwu77zShxV0kT7w==} - - dir-glob@3.0.1: - resolution: {integrity: sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==} - engines: {node: '>=8'} - - dotenv@16.4.5: - resolution: {integrity: sha512-ZmdL2rui+eB2YwhsWzjInR8LldtZHGDoQ1ugH85ppHKwpUHL7j7rN0Ti9NCnGiQbhaZ11FpR+7ao1dNsmduNUg==} - engines: {node: '>=12'} - - eastasianwidth@0.2.0: - resolution: {integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==} - - ee-first@1.1.1: - resolution: {integrity: sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==} - - ejs@3.1.10: - resolution: {integrity: sha512-UeJmFfOrAQS8OJWPZ4qtgHyWExa088/MtK5UEyoJGFH67cDEXkZSviOiKRCZ4Xij0zxI3JECgYs3oKx+AizQBA==} - engines: {node: '>=0.10.0'} - hasBin: true - - electron-to-chromium@1.5.5: - resolution: {integrity: sha512-QR7/A7ZkMS8tZuoftC/jfqNkZLQO779SSW3YuZHP4eXpj3EffGLFcB/Xu9AAZQzLccTiCV+EmUo3ha4mQ9wnlA==} - - elliptic@6.5.4: - resolution: {integrity: sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ==} - - elliptic@6.5.6: - resolution: {integrity: sha512-mpzdtpeCLuS3BmE3pO3Cpp5bbjlOPY2Q0PgoF+Od1XZrHLYI28Xe3ossCmYCQt11FQKEYd9+PF8jymTvtWJSHQ==} - - emittery@0.13.1: - resolution: {integrity: sha512-DeWwawk6r5yR9jFgnDKYt4sLS0LmHJJi3ZOnb5/JdbYwj3nW+FxQnHIjhBKz8YLC7oRNPVM9NQ47I3CVx34eqQ==} - engines: {node: '>=12'} - - emoji-regex@8.0.0: - resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==} - - emoji-regex@9.2.2: - resolution: {integrity: sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==} - - encodeurl@1.0.2: - resolution: {integrity: sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==} - engines: {node: '>= 0.8'} - - enquirer@2.4.1: - resolution: {integrity: sha512-rRqJg/6gd538VHvR3PSrdRBb/1Vy2YfzHqzvbhGIQpDRKIa4FgV/54b5Q1xYSxOOwKvjXweS26E0Q+nAMwp2pQ==} - engines: {node: '>=8.6'} - - env-paths@2.2.1: - resolution: {integrity: sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==} - engines: {node: '>=6'} - - error-ex@1.3.2: - resolution: {integrity: sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==} - - es-define-property@1.0.0: - resolution: {integrity: sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ==} - engines: {node: '>= 0.4'} - - es-errors@1.3.0: - resolution: {integrity: sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==} - engines: {node: '>= 0.4'} - - escalade@3.1.2: - resolution: {integrity: sha512-ErCHMCae19vR8vQGe50xIsVomy19rg6gFu3+r3jkEO46suLMWBksvVyoGgQV+jOfl84ZSOSlmv6Gxa89PmTGmA==} - engines: {node: '>=6'} - - escape-html@1.0.3: - resolution: {integrity: sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==} - - escape-string-regexp@1.0.5: - resolution: {integrity: sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==} - engines: {node: '>=0.8.0'} - - escape-string-regexp@2.0.0: - resolution: {integrity: sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==} - engines: {node: '>=8'} - - escape-string-regexp@4.0.0: - resolution: {integrity: sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==} - engines: {node: '>=10'} - - escodegen@1.8.1: - resolution: {integrity: sha512-yhi5S+mNTOuRvyW4gWlg5W1byMaQGWWSYHXsuFZ7GBo7tpyOwi2EdzMP/QWxh9hwkD2m+wDVHJsxhRIj+v/b/A==} - engines: {node: '>=0.12.0'} - hasBin: true - - esprima@2.7.3: - resolution: {integrity: sha512-OarPfz0lFCiW4/AV2Oy1Rp9qu0iusTKqykwTspGCZtPxmF81JR4MmIebvF1F9+UOKth2ZubLQ4XGGaU+hSn99A==} - engines: {node: '>=0.10.0'} - hasBin: true - - esprima@4.0.1: - resolution: {integrity: sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==} - engines: {node: '>=4'} - hasBin: true - - estraverse@1.9.3: - resolution: {integrity: sha512-25w1fMXQrGdoquWnScXZGckOv+Wes+JDnuN/+7ex3SauFRS72r2lFDec0EKPt2YD1wUJ/IrfEex+9yp4hfSOJA==} - engines: {node: '>=0.10.0'} - - esutils@2.0.3: - resolution: {integrity: sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==} - engines: {node: '>=0.10.0'} - - etag@1.8.1: - resolution: {integrity: sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==} - engines: {node: '>= 0.6'} - - ethereum-bloom-filters@1.2.0: - resolution: {integrity: sha512-28hyiE7HVsWubqhpVLVmZXFd4ITeHi+BUu05o9isf0GUpMtzBUi+8/gFrGaGYzvGAJQmJ3JKj77Mk9G98T84rA==} - - ethereum-cryptography@0.1.3: - resolution: {integrity: sha512-w8/4x1SGGzc+tO97TASLja6SLd3fRIK2tLVcV2Gx4IB21hE19atll5Cq9o3d0ZmAYC/8aw0ipieTSiekAea4SQ==} - - ethereum-cryptography@1.2.0: - resolution: {integrity: sha512-6yFQC9b5ug6/17CQpCyE3k9eKBMdhyVjzUy1WkiuY/E4vj/SXDBbCw8QEIaXqf0Mf2SnY6RmpDcwlUmBSS0EJw==} - - ethereum-cryptography@2.2.1: - resolution: {integrity: sha512-r/W8lkHSiTLxUxW8Rf3u4HGB0xQweG2RyETjywylKZSzLWoWAijRz8WCuOtJ6wah+avllXBqZuk29HCCvhEIRg==} - - ethereumjs-abi@0.6.8: - resolution: {integrity: sha512-Tx0r/iXI6r+lRsdvkFDlut0N08jWMnKRZ6Gkq+Nmw75lZe4e6o3EkSnkaBP5NF6+m5PTGAr9JP43N3LyeoglsA==} - - ethereumjs-util@6.2.1: - resolution: {integrity: sha512-W2Ktez4L01Vexijrm5EB6w7dg4n/TgpoYU4avuT5T3Vmnw/eCRtiBrJfQYS/DCSvDIOLn2k57GcHdeBcgVxAqw==} - - ethers@5.7.2: - resolution: {integrity: sha512-wswUsmWo1aOK8rR7DIKiWSw9DbLWe6x98Jrn8wcTflTVvaXhAMaB5zGAXy0GYQEQp9iO1iSHWVyARQm11zUtyg==} - - ethjs-unit@0.1.6: - resolution: {integrity: sha512-/Sn9Y0oKl0uqQuvgFk/zQgR7aw1g36qX/jzSQ5lSwlO0GigPymk4eGQfeNTD03w1dPOqfz8V77Cy43jH56pagw==} - engines: {node: '>=6.5.0', npm: '>=3'} - - ethjs-util@0.1.6: - resolution: {integrity: sha512-CUnVOQq7gSpDHZVVrQW8ExxUETWrnrvXYvYz55wOU8Uj4VCgw56XC2B/fVqQN+f7gmrnRHSLVnFAwsCuNwji8w==} - engines: {node: '>=6.5.0', npm: '>=3'} - - eventemitter3@5.0.1: - resolution: {integrity: sha512-GWkBvjiSZK87ELrYOSESUYeVIc9mvLLf/nXalMOS5dYrgZq9o5OVkbZAVM06CVxYsCwH9BDZFPlQTlPA1j4ahA==} - - evp_bytestokey@1.0.3: - resolution: {integrity: sha512-/f2Go4TognH/KvCISP7OUsHn85hT9nUkxxA9BEWxFn+Oj9o8ZNLm/40hdlgSLyuOimsrTKLUMEorQexp/aPQeA==} - - execa@5.1.1: - resolution: {integrity: sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==} - engines: {node: '>=10'} - - exit@0.1.2: - resolution: {integrity: sha512-Zk/eNKV2zbjpKzrsQ+n1G6poVbErQxJ0LBOJXaKZ1EViLzH+hrLu9cdXI4zw9dBQJslwBEpbQ2P1oS7nDxs6jQ==} - engines: {node: '>= 0.8.0'} - - expect@29.7.0: - resolution: {integrity: sha512-2Zks0hf1VLFYI1kbh0I5jP3KHHyCHpkfyHBzsSXRFgl/Bg9mWYfMW8oD+PdMPlEwy5HNsR9JutYy6pMeOh61nw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - - express@4.19.2: - resolution: {integrity: sha512-5T6nhjsT+EOMzuck8JjBHARTHfMht0POzlA60WV2pMD3gyXw2LZnZ+ueGdNxG+0calOJcWKbpFcuzLZ91YWq9Q==} - engines: {node: '>= 0.10.0'} - - fast-deep-equal@3.1.3: - resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==} - - fast-glob@3.3.2: - resolution: {integrity: sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==} - engines: {node: '>=8.6.0'} - - fast-json-stable-stringify@2.1.0: - resolution: {integrity: sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==} - - fast-levenshtein@2.0.6: - resolution: {integrity: sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==} - - fast-safe-stringify@2.1.1: - resolution: {integrity: sha512-W+KJc2dmILlPplD/H4K9l9LcAHAfPtP6BY84uVLXQ6Evcz9Lcg33Y2z1IVblT6xdY54PXYVHEv+0Wpq8Io6zkA==} - - fastq@1.17.1: - resolution: {integrity: sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w==} - - fb-watchman@2.0.2: - resolution: {integrity: sha512-p5161BqbuCaSnB8jIbzQHOlpgsPmK5rJVDfDKO91Axs5NC1uu3HRQm6wt9cd9/+GtQQIO53JdGXXoyDpTAsgYA==} - - filelist@1.0.4: - resolution: {integrity: sha512-w1cEuf3S+DrLCQL7ET6kz+gmlJdbq9J7yXCSjK/OZCPA+qEN1WyF4ZAf0YYJa4/shHJra2t/d/r8SV4Ji+x+8Q==} - - fill-range@7.1.1: - resolution: {integrity: sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==} - engines: {node: '>=8'} - - finalhandler@1.2.0: - resolution: {integrity: sha512-5uXcUVftlQMFnWC9qu/svkWv3GTd2PfUhK/3PLkYNAe7FbqJMt3515HaxE6eRL74GdsriiwujiawdaB1BpEISg==} - engines: {node: '>= 0.8'} - - find-up@2.1.0: - resolution: {integrity: sha512-NWzkk0jSJtTt08+FBFMvXoeZnOJD+jTtsRmBYbAIzJdX6l7dLgR7CTubCM5/eDdPUBvLCeVasP1brfVR/9/EZQ==} - engines: {node: '>=4'} - - find-up@4.1.0: - resolution: {integrity: sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==} - engines: {node: '>=8'} - - find-up@5.0.0: - resolution: {integrity: sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==} - engines: {node: '>=10'} - - flat@5.0.2: - resolution: {integrity: sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==} - hasBin: true - - follow-redirects@1.15.6: - resolution: {integrity: sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA==} - engines: {node: '>=4.0'} - peerDependencies: - debug: '*' - peerDependenciesMeta: - debug: - optional: true - - for-each@0.3.3: - resolution: {integrity: sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==} - - foreground-child@3.2.1: - resolution: {integrity: sha512-PXUUyLqrR2XCWICfv6ukppP96sdFwWbNEnfEMt7jNsISjMsvaLNinAHNDYyvkyU+SZG2BTSbT5NjG+vZslfGTA==} - engines: {node: '>=14'} - - form-data@4.0.0: - resolution: {integrity: sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==} - engines: {node: '>= 6'} - - formidable@3.5.1: - resolution: {integrity: sha512-WJWKelbRHN41m5dumb0/k8TeAx7Id/y3a+Z7QfhxP/htI9Js5zYaEDtG8uMgG0vM0lOlqnmjE99/kfpOYi/0Og==} - - forwarded@0.2.0: - resolution: {integrity: sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==} - engines: {node: '>= 0.6'} - - fp-ts@1.19.3: - resolution: {integrity: sha512-H5KQDspykdHuztLTg+ajGN0Z2qUjcEf3Ybxc6hLt0k7/zPkn29XnKnxlBPyW2XIddWrGaJBzBl4VLYOtk39yZg==} - - fresh@0.5.2: - resolution: {integrity: sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==} - engines: {node: '>= 0.6'} - - fs-extra@7.0.1: - resolution: {integrity: sha512-YJDaCJZEnBmcbw13fvdAM9AwNOJwOzrE4pqMqBq5nFiEqXUqHwlK4B+3pUw6JNvfSPtX05xFHtYy/1ni01eGCw==} - engines: {node: '>=6 <7 || >=8'} - - fs-extra@8.1.0: - resolution: {integrity: sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==} - engines: {node: '>=6 <7 || >=8'} - - fs.realpath@1.0.0: - resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==} - - fsevents@2.3.3: - resolution: {integrity: sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==} - engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} - os: [darwin] - - function-bind@1.1.2: - resolution: {integrity: sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==} - - gensync@1.0.0-beta.2: - resolution: {integrity: sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==} - engines: {node: '>=6.9.0'} - - get-caller-file@2.0.5: - resolution: {integrity: sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==} - engines: {node: 6.* || 8.* || >= 10.*} - - get-intrinsic@1.2.4: - resolution: {integrity: sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==} - engines: {node: '>= 0.4'} - - get-package-type@0.1.0: - resolution: {integrity: sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q==} - engines: {node: '>=8.0.0'} - - get-stream@6.0.1: - resolution: {integrity: sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==} - engines: {node: '>=10'} - - ghost-testrpc@0.0.2: - resolution: {integrity: sha512-i08dAEgJ2g8z5buJIrCTduwPIhih3DP+hOCTyyryikfV8T0bNvHnGXO67i0DD1H4GBDETTclPy9njZbfluQYrQ==} - hasBin: true - - glob-parent@5.1.2: - resolution: {integrity: sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==} - engines: {node: '>= 6'} - - glob@10.4.5: - resolution: {integrity: sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==} - hasBin: true - - glob@5.0.15: - resolution: {integrity: sha512-c9IPMazfRITpmAAKi22dK1VKxGDX9ehhqfABDriL/lzO92xcUKEJPQHrVA/2YHSNFB4iFlykVmWvwo48nr3OxA==} - deprecated: Glob versions prior to v9 are no longer supported - - glob@7.2.0: - resolution: {integrity: sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q==} - deprecated: Glob versions prior to v9 are no longer supported - - glob@7.2.3: - resolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==} - deprecated: Glob versions prior to v9 are no longer supported - - glob@8.1.0: - resolution: {integrity: sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==} - engines: {node: '>=12'} - deprecated: Glob versions prior to v9 are no longer supported - - global-modules@2.0.0: - resolution: {integrity: sha512-NGbfmJBp9x8IxyJSd1P+otYK8vonoJactOogrVfFRIAEY1ukil8RSKDz2Yo7wh1oihl51l/r6W4epkeKJHqL8A==} - engines: {node: '>=6'} - - global-prefix@3.0.0: - resolution: {integrity: sha512-awConJSVCHVGND6x3tmMaKcQvwXLhjdkmomy2W+Goaui8YPgYgXJZewhg3fWC+DlfqqQuWg8AwqjGTD2nAPVWg==} - engines: {node: '>=6'} - - globals@11.12.0: - resolution: {integrity: sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==} - engines: {node: '>=4'} - - globby@10.0.2: - resolution: {integrity: sha512-7dUi7RvCoT/xast/o/dLN53oqND4yk0nsHkhRgn9w65C4PofCLOoJ39iSOg+qVDdWQPIEj+eszMHQ+aLVwwQSg==} - engines: {node: '>=8'} - - gopd@1.0.1: - resolution: {integrity: sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==} - - graceful-fs@4.2.11: - resolution: {integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==} - - handlebars@4.7.8: - resolution: {integrity: sha512-vafaFqs8MZkRrSX7sFVUdo3ap/eNiLnb4IakshzvP56X5Nr1iGKAIqdX6tMlm6HcNRIkr6AxO5jFEoJzzpT8aQ==} - engines: {node: '>=0.4.7'} - hasBin: true - - hardhat-gas-reporter@2.2.0: - resolution: {integrity: sha512-eAlLWnyDpQ+wJXgSCZsM0yt+rQm3ryJia1I1Hoi94LzlIfuSPcsMQM12VO6UHmAFLvXvoKxXPJ3ZYk0Kz+7CDQ==} - peerDependencies: - hardhat: ^2.16.0 - - hardhat@2.22.7: - resolution: {integrity: sha512-nrXQAl+qUr75TsCLDo8P41YXLc+5U7qQMMCIrbbmy1/uQaVPncdjDrD5BR0CENvHRj7EBqO+JkofpozXoIfJKg==} - hasBin: true - peerDependencies: - ts-node: '*' - typescript: '*' - peerDependenciesMeta: - ts-node: - optional: true - typescript: - optional: true - - has-flag@1.0.0: - resolution: {integrity: sha512-DyYHfIYwAJmjAjSSPKANxI8bFY9YtFrgkAfinBojQ8YJTOuOuav64tMUJv584SES4xl74PmuaevIyaLESHdTAA==} - engines: {node: '>=0.10.0'} - - has-flag@3.0.0: - resolution: {integrity: sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==} - engines: {node: '>=4'} - - has-flag@4.0.0: - resolution: {integrity: sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==} - engines: {node: '>=8'} - - has-property-descriptors@1.0.2: - resolution: {integrity: sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==} - - has-proto@1.0.3: - resolution: {integrity: sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q==} - engines: {node: '>= 0.4'} - - has-symbols@1.0.3: - resolution: {integrity: sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==} - engines: {node: '>= 0.4'} - - has-tostringtag@1.0.2: - resolution: {integrity: sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==} - engines: {node: '>= 0.4'} - - hash-base@3.1.0: - resolution: {integrity: sha512-1nmYp/rhMDiE7AYkDw+lLwlAzz0AntGIe51F3RfFfEqyQ3feY2eI/NcwC6umIQVOASPMsWJLJScWKSSvzL9IVA==} - engines: {node: '>=4'} - - hash.js@1.1.7: - resolution: {integrity: sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA==} - - hasown@2.0.2: - resolution: {integrity: sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==} - engines: {node: '>= 0.4'} - - he@1.2.0: - resolution: {integrity: sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==} - hasBin: true - - heap@0.2.7: - resolution: {integrity: sha512-2bsegYkkHO+h/9MGbn6KWcE45cHZgPANo5LXF7EvWdT0yT2EguSVO1nDgU5c8+ZOPwp2vMNa7YFsJhVcDR9Sdg==} - - hexoid@1.0.0: - resolution: {integrity: sha512-QFLV0taWQOZtvIRIAdBChesmogZrtuXvVWsFHZTk2SU+anspqZ2vMnoLg7IE1+Uk16N19APic1BuF8bC8c2m5g==} - engines: {node: '>=8'} - - hmac-drbg@1.0.1: - resolution: {integrity: sha512-Tti3gMqLdZfhOQY1Mzf/AanLiqh1WTiJgEj26ZuYQ9fbkLomzGchCws4FyrSd4VkpBfiNhaE1On+lOz894jvXg==} - - html-escaper@2.0.2: - resolution: {integrity: sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==} - - http-errors@2.0.0: - resolution: {integrity: sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==} - engines: {node: '>= 0.8'} - - https-proxy-agent@5.0.1: - resolution: {integrity: sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==} - engines: {node: '>= 6'} - - human-signals@2.1.0: - resolution: {integrity: sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==} - engines: {node: '>=10.17.0'} - - iconv-lite@0.4.24: - resolution: {integrity: sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==} - engines: {node: '>=0.10.0'} - - ignore@5.3.1: - resolution: {integrity: sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw==} - engines: {node: '>= 4'} - - immutable@4.3.7: - resolution: {integrity: sha512-1hqclzwYwjRDFLjcFxOM5AYkkG0rpFPpr1RLPMEuGczoS7YA8gLhy8SWXYRAA/XwfEHpfo3cw5JGioS32fnMRw==} - - import-local@3.2.0: - resolution: {integrity: sha512-2SPlun1JUPWoM6t3F0dw0FkCF/jWY8kttcY4f599GLTSjh2OCuuhdTkJQsEcZzBqbXZGKMK2OqW1oZsjtf/gQA==} - engines: {node: '>=8'} - hasBin: true - - imurmurhash@0.1.4: - resolution: {integrity: sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==} - engines: {node: '>=0.8.19'} - - indent-string@4.0.0: - resolution: {integrity: sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==} - engines: {node: '>=8'} - - inflight@1.0.6: - resolution: {integrity: sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==} - deprecated: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. - - inherits@2.0.4: - resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==} - - ini@1.3.8: - resolution: {integrity: sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==} - - interpret@1.4.0: - resolution: {integrity: sha512-agE4QfB2Lkp9uICn7BAqoscw4SZP9kTE2hxiFI3jBPmXJfdqiahTbUuKGsMoN2GtqL9AxhYioAcVvgsb1HvRbA==} - engines: {node: '>= 0.10'} - - io-ts@1.10.4: - resolution: {integrity: sha512-b23PteSnYXSONJ6JQXRAlvJhuw8KOtkqa87W4wDtvMrud/DTJd5X+NpOOI+O/zZwVq6v0VLAaJ+1EDViKEuN9g==} - - ipaddr.js@1.9.1: - resolution: {integrity: sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==} - engines: {node: '>= 0.10'} - - is-arguments@1.1.1: - resolution: {integrity: sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==} - engines: {node: '>= 0.4'} - - is-arrayish@0.2.1: - resolution: {integrity: sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==} - - is-binary-path@2.1.0: - resolution: {integrity: sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==} - engines: {node: '>=8'} - - is-buffer@2.0.5: - resolution: {integrity: sha512-i2R6zNFDwgEHJyQUtJEk0XFi1i0dPFn/oqjK3/vPCcDeJvW5NQ83V8QbicfF1SupOaB0h8ntgBC2YiE7dfyctQ==} - engines: {node: '>=4'} - - is-callable@1.2.7: - resolution: {integrity: sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==} - engines: {node: '>= 0.4'} - - is-core-module@2.15.0: - resolution: {integrity: sha512-Dd+Lb2/zvk9SKy1TGCt1wFJFo/MWBPMX5x7KcvLajWTGuomczdQX61PvY5yK6SVACwpoexWo81IfFyoKY2QnTA==} - engines: {node: '>= 0.4'} - - is-extglob@2.1.1: - resolution: {integrity: sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==} - engines: {node: '>=0.10.0'} - - is-fullwidth-code-point@3.0.0: - resolution: {integrity: sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==} - engines: {node: '>=8'} - - is-generator-fn@2.1.0: - resolution: {integrity: sha512-cTIB4yPYL/Grw0EaSzASzg6bBy9gqCofvWN8okThAYIxKJZC+udlRAmGbM0XLeniEJSs8uEgHPGuHSe1XsOLSQ==} - engines: {node: '>=6'} - - is-generator-function@1.0.10: - resolution: {integrity: sha512-jsEjy9l3yiXEQ+PsXdmBwEPcOxaXWLspKdplFUVI9vq1iZgIekeC0L167qeu86czQaxed3q/Uzuw0swL0irL8A==} - engines: {node: '>= 0.4'} - - is-glob@4.0.3: - resolution: {integrity: sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==} - engines: {node: '>=0.10.0'} - - is-hex-prefixed@1.0.0: - resolution: {integrity: sha512-WvtOiug1VFrE9v1Cydwm+FnXd3+w9GaeVUss5W4v/SLy3UW00vP+6iNF2SdnfiBoLy4bTqVdkftNGTUeOFVsbA==} - engines: {node: '>=6.5.0', npm: '>=3'} - - is-number@7.0.0: - resolution: {integrity: sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==} - engines: {node: '>=0.12.0'} - - is-plain-obj@2.1.0: - resolution: {integrity: sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA==} - engines: {node: '>=8'} - - is-stream@2.0.1: - resolution: {integrity: sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==} - engines: {node: '>=8'} - - is-typed-array@1.1.13: - resolution: {integrity: sha512-uZ25/bUAlUY5fR4OKT4rZQEBrzQWYV9ZJYGGsUmEJ6thodVJ1HX64ePQ6Z0qPWP+m+Uq6e9UugrE38jeYsDSMw==} - engines: {node: '>= 0.4'} - - is-unicode-supported@0.1.0: - resolution: {integrity: sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==} - engines: {node: '>=10'} - - isexe@2.0.0: - resolution: {integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==} - - isomorphic-ws@5.0.0: - resolution: {integrity: sha512-muId7Zzn9ywDsyXgTIafTry2sV3nySZeUDe6YedVd1Hvuuep5AsIlqK+XefWpYTyJG5e503F2xIuT2lcU6rCSw==} - peerDependencies: - ws: '*' - - isows@1.0.3: - resolution: {integrity: sha512-2cKei4vlmg2cxEjm3wVSqn8pcoRF/LX/wpifuuNquFO4SQmPwarClT+SUCA2lt+l581tTeZIPIZuIDo2jWN1fg==} - peerDependencies: - ws: '*' - - istanbul-lib-coverage@3.2.2: - resolution: {integrity: sha512-O8dpsF+r0WV/8MNRKfnmrtCWhuKjxrq2w+jpzBL5UZKTi2LeVWnWOmWRxFlesJONmc+wLAGvKQZEOanko0LFTg==} - engines: {node: '>=8'} - - istanbul-lib-instrument@5.2.1: - resolution: {integrity: sha512-pzqtp31nLv/XFOzXGuvhCb8qhjmTVo5vjVk19XE4CRlSWz0KoeJ3bw9XsA7nOp9YBf4qHjwBxkDzKcME/J29Yg==} - engines: {node: '>=8'} - - istanbul-lib-instrument@6.0.3: - resolution: {integrity: sha512-Vtgk7L/R2JHyyGW07spoFlB8/lpjiOLTjMdms6AFMraYt3BaJauod/NGrfnVG/y4Ix1JEuMRPDPEj2ua+zz1/Q==} - engines: {node: '>=10'} - - istanbul-lib-report@3.0.1: - resolution: {integrity: sha512-GCfE1mtsHGOELCU8e/Z7YWzpmybrx/+dSTfLrvY8qRmaY6zXTKWn6WQIjaAFw069icm6GVMNkgu0NzI4iPZUNw==} - engines: {node: '>=10'} - - istanbul-lib-source-maps@4.0.1: - resolution: {integrity: sha512-n3s8EwkdFIJCG3BPKBYvskgXGoy88ARzvegkitk60NxRdwltLOTaH7CUiMRXvwYorl0Q712iEjcWB+fK/MrWVw==} - engines: {node: '>=10'} - - istanbul-reports@3.1.7: - resolution: {integrity: sha512-BewmUXImeuRk2YY0PVbxgKAysvhRPUQE0h5QRM++nVWyubKGV0l8qQ5op8+B2DOmwSe63Jivj0BjkPQVf8fP5g==} - engines: {node: '>=8'} - - jackspeak@3.4.3: - resolution: {integrity: sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw==} - - jake@10.9.2: - resolution: {integrity: sha512-2P4SQ0HrLQ+fw6llpLnOaGAvN2Zu6778SJMrCUwns4fOoG9ayrTiZk3VV8sCPkVZF8ab0zksVpS8FDY5pRCNBA==} - engines: {node: '>=10'} - hasBin: true - - jest-changed-files@29.7.0: - resolution: {integrity: sha512-fEArFiwf1BpQ+4bXSprcDc3/x4HSzL4al2tozwVpDFpsxALjLYdyiIK4e5Vz66GQJIbXJ82+35PtysofptNX2w==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - - jest-circus@29.7.0: - resolution: {integrity: sha512-3E1nCMgipcTkCocFwM90XXQab9bS+GMsjdpmPrlelaxwD93Ad8iVEjX/vvHPdLPnFf+L40u+5+iutRdA1N9myw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - - jest-cli@29.7.0: - resolution: {integrity: sha512-OVVobw2IubN/GSYsxETi+gOe7Ka59EFMR/twOU3Jb2GnKKeMGJB5SGUUrEz3SFVmJASUdZUzy83sLNNQ2gZslg==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - hasBin: true - peerDependencies: - node-notifier: ^8.0.1 || ^9.0.0 || ^10.0.0 - peerDependenciesMeta: - node-notifier: - optional: true - - jest-config@29.7.0: - resolution: {integrity: sha512-uXbpfeQ7R6TZBqI3/TxCU4q4ttk3u0PJeC+E0zbfSoSjq6bJ7buBPxzQPL0ifrkY4DNu4JUdk0ImlBUYi840eQ==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - peerDependencies: - '@types/node': '*' - ts-node: '>=9.0.0' - peerDependenciesMeta: - '@types/node': - optional: true - ts-node: - optional: true - - jest-diff@29.7.0: - resolution: {integrity: sha512-LMIgiIrhigmPrs03JHpxUh2yISK3vLFPkAodPeo0+BuF7wA2FoQbkEg1u8gBYBThncu7e1oEDUfIXVuTqLRUjw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - - jest-docblock@29.7.0: - resolution: {integrity: sha512-q617Auw3A612guyaFgsbFeYpNP5t2aoUNLwBUbc/0kD1R4t9ixDbyFTHd1nok4epoVFpr7PmeWHrhvuV3XaJ4g==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - - jest-each@29.7.0: - resolution: {integrity: sha512-gns+Er14+ZrEoC5fhOfYCY1LOHHr0TI+rQUHZS8Ttw2l7gl+80eHc/gFf2Ktkw0+SIACDTeWvpFcv3B04VembQ==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - - jest-environment-node@29.7.0: - resolution: {integrity: sha512-DOSwCRqXirTOyheM+4d5YZOrWcdu0LNZ87ewUoywbcb2XR4wKgqiG8vNeYwhjFMbEkfju7wx2GYH0P2gevGvFw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - - jest-get-type@29.6.3: - resolution: {integrity: sha512-zrteXnqYxfQh7l5FHyL38jL39di8H8rHoecLH3JNxH3BwOrBsNeabdap5e0I23lD4HHI8W5VFBZqG4Eaq5LNcw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - - jest-haste-map@29.7.0: - resolution: {integrity: sha512-fP8u2pyfqx0K1rGn1R9pyE0/KTn+G7PxktWidOBTqFPLYX0b9ksaMFkhK5vrS3DVun09pckLdlx90QthlW7AmA==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - - jest-leak-detector@29.7.0: - resolution: {integrity: sha512-kYA8IJcSYtST2BY9I+SMC32nDpBT3J2NvWJx8+JCuCdl/CR1I4EKUJROiP8XtCcxqgTTBGJNdbB1A8XRKbTetw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - - jest-matcher-utils@29.7.0: - resolution: {integrity: sha512-sBkD+Xi9DtcChsI3L3u0+N0opgPYnCRPtGcQYrgXmR+hmt/fYfWAL0xRXYU8eWOdfuLgBe0YCW3AFtnRLagq/g==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - - jest-message-util@29.7.0: - resolution: {integrity: sha512-GBEV4GRADeP+qtB2+6u61stea8mGcOT4mCtrYISZwfu9/ISHFJ/5zOMXYbpBE9RsS5+Gb63DW4FgmnKJ79Kf6w==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - - jest-mock@29.7.0: - resolution: {integrity: sha512-ITOMZn+UkYS4ZFh83xYAOzWStloNzJFO2s8DWrE4lhtGD+AorgnbkiKERe4wQVBydIGPx059g6riW5Btp6Llnw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - - jest-pnp-resolver@1.2.3: - resolution: {integrity: sha512-+3NpwQEnRoIBtx4fyhblQDPgJI0H1IEIkX7ShLUjPGA7TtUTvI1oiKi3SR4oBR0hQhQR80l4WAe5RrXBwWMA8w==} - engines: {node: '>=6'} - peerDependencies: - jest-resolve: '*' - peerDependenciesMeta: - jest-resolve: - optional: true - - jest-regex-util@29.6.3: - resolution: {integrity: sha512-KJJBsRCyyLNWCNBOvZyRDnAIfUiRJ8v+hOBQYGn8gDyF3UegwiP4gwRR3/SDa42g1YbVycTidUF3rKjyLFDWbg==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - - jest-resolve-dependencies@29.7.0: - resolution: {integrity: sha512-un0zD/6qxJ+S0et7WxeI3H5XSe9lTBBR7bOHCHXkKR6luG5mwDDlIzVQ0V5cZCuoTgEdcdwzTghYkTWfubi+nA==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - - jest-resolve@29.7.0: - resolution: {integrity: sha512-IOVhZSrg+UvVAshDSDtHyFCCBUl/Q3AAJv8iZ6ZjnZ74xzvwuzLXid9IIIPgTnY62SJjfuupMKZsZQRsCvxEgA==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - - jest-runner@29.7.0: - resolution: {integrity: sha512-fsc4N6cPCAahybGBfTRcq5wFR6fpLznMg47sY5aDpsoejOcVYFb07AHuSnR0liMcPTgBsA3ZJL6kFOjPdoNipQ==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - - jest-runtime@29.7.0: - resolution: {integrity: sha512-gUnLjgwdGqW7B4LvOIkbKs9WGbn+QLqRQQ9juC6HndeDiezIwhDP+mhMwHWCEcfQ5RUXa6OPnFF8BJh5xegwwQ==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - - jest-snapshot@29.7.0: - resolution: {integrity: sha512-Rm0BMWtxBcioHr1/OX5YCP8Uov4riHvKPknOGs804Zg9JGZgmIBkbtlxJC/7Z4msKYVbIJtfU+tKb8xlYNfdkw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - - jest-util@29.7.0: - resolution: {integrity: sha512-z6EbKajIpqGKU56y5KBUgy1dt1ihhQJgWzUlZHArA/+X2ad7Cb5iF+AK1EWVL/Bo7Rz9uurpqw6SiBCefUbCGA==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - - jest-validate@29.7.0: - resolution: {integrity: sha512-ZB7wHqaRGVw/9hST/OuFUReG7M8vKeq0/J2egIGLdvjHCmYqGARhzXmtgi+gVeZ5uXFF219aOc3Ls2yLg27tkw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - - jest-watcher@29.7.0: - resolution: {integrity: sha512-49Fg7WXkU3Vl2h6LbLtMQ/HyB6rXSIX7SqvBLQmssRBGN9I0PNvPmAmCWSOY6SOvrjhI/F7/bGAv9RtnsPA03g==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - - jest-worker@29.7.0: - resolution: {integrity: sha512-eIz2msL/EzL9UFTFFx7jBTkeZfku0yUAyZZZmJ93H2TYEiroIx2PQjEXcwYtYl8zXCxb+PAmA2hLIt/6ZEkPHw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - - jest@29.7.0: - resolution: {integrity: sha512-NIy3oAFp9shda19hy4HK0HRTWKtPJmGdnvywu01nOqNC2vZg+Z+fvJDxpMQA88eb2I9EcafcdjYgsDthnYTvGw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - hasBin: true - peerDependencies: - node-notifier: ^8.0.1 || ^9.0.0 || ^10.0.0 - peerDependenciesMeta: - node-notifier: - optional: true - - js-sha3@0.8.0: - resolution: {integrity: sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q==} - - js-tokens@4.0.0: - resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==} - - js-yaml@3.14.1: - resolution: {integrity: sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==} - hasBin: true - - js-yaml@4.1.0: - resolution: {integrity: sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==} - hasBin: true - - jsesc@2.5.2: - resolution: {integrity: sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==} - engines: {node: '>=4'} - hasBin: true - - json-parse-even-better-errors@2.3.1: - resolution: {integrity: sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==} - - json5@2.2.3: - resolution: {integrity: sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==} - engines: {node: '>=6'} - hasBin: true - - jsonfile@4.0.0: - resolution: {integrity: sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg==} - - jsonschema@1.4.1: - resolution: {integrity: sha512-S6cATIPVv1z0IlxdN+zUk5EPjkGCdnhN4wVSBlvoUO1tOLJootbo9CquNJmbIh4yikWHiUedhRYrNPn1arpEmQ==} - - keccak@3.0.4: - resolution: {integrity: sha512-3vKuW0jV8J3XNTzvfyicFR5qvxrSAGl7KIhvgOu5cmWwM7tZRj3fMbj/pfIf4be7aznbc+prBWGjywox/g2Y6Q==} - engines: {node: '>=10.0.0'} - - kind-of@6.0.3: - resolution: {integrity: sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==} - engines: {node: '>=0.10.0'} - - kleur@3.0.3: - resolution: {integrity: sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==} - engines: {node: '>=6'} - - leven@3.1.0: - resolution: {integrity: sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A==} - engines: {node: '>=6'} - - levn@0.3.0: - resolution: {integrity: sha512-0OO4y2iOHix2W6ujICbKIaEQXvFQHue65vUG3pb5EUomzPI90z9hsA1VsO/dbIIpC53J8gxM9Q4Oho0jrCM/yA==} - engines: {node: '>= 0.8.0'} - - lines-and-columns@1.2.4: - resolution: {integrity: sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==} - - locate-path@2.0.0: - resolution: {integrity: sha512-NCI2kiDkyR7VeEKm27Kda/iQHyKJe1Bu0FlTbYp3CqJu+9IFe9bLyAjMxf5ZDDbEg+iMPzB5zYyUTSm8wVTKmA==} - engines: {node: '>=4'} - - locate-path@5.0.0: - resolution: {integrity: sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==} - engines: {node: '>=8'} - - locate-path@6.0.0: - resolution: {integrity: sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==} - engines: {node: '>=10'} - - lodash.memoize@4.1.2: - resolution: {integrity: sha512-t7j+NzmgnQzTAYXcsHYLgimltOV1MXHtlOWf6GjL9Kj8GK5FInw5JotxvbOs+IvV1/Dzo04/fCGfLVs7aXb4Ag==} - - lodash@4.17.21: - resolution: {integrity: sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==} - - log-symbols@4.1.0: - resolution: {integrity: sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==} - engines: {node: '>=10'} - - lru-cache@10.4.3: - resolution: {integrity: sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==} - - lru-cache@5.1.1: - resolution: {integrity: sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==} - - lru_map@0.3.3: - resolution: {integrity: sha512-Pn9cox5CsMYngeDbmChANltQl+5pi6XmTrraMSzhPmMBbmgcxmqWry0U3PGapCU1yB4/LqCcom7qhHZiF/jGfQ==} - - make-dir@4.0.0: - resolution: {integrity: sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw==} - engines: {node: '>=10'} - - make-error@1.3.6: - resolution: {integrity: sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==} - - makeerror@1.0.12: - resolution: {integrity: sha512-JmqCvUhmt43madlpFzG4BQzG2Z3m6tvQDNKdClZnO3VbIudJYmxsT0FNJMeiB2+JTSlTQTSbU8QdesVmwJcmLg==} - - markdown-table@2.0.0: - resolution: {integrity: sha512-Ezda85ToJUBhM6WGaG6veasyym+Tbs3cMAw/ZhOPqXiYsr0jgocBV3j3nx+4lk47plLlIqjwuTm/ywVI+zjJ/A==} - - md5.js@1.3.5: - resolution: {integrity: sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg==} - - media-typer@0.3.0: - resolution: {integrity: sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==} - engines: {node: '>= 0.6'} - - memorystream@0.3.1: - resolution: {integrity: sha512-S3UwM3yj5mtUSEfP41UZmt/0SCoVYUcU1rkXv+BQ5Ig8ndL4sPoJNBUJERafdPb5jjHJGuMgytgKvKIf58XNBw==} - engines: {node: '>= 0.10.0'} - - merge-descriptors@1.0.1: - resolution: {integrity: sha512-cCi6g3/Zr1iqQi6ySbseM1Xvooa98N0w31jzUYrXPX2xqObmFGHJ0tQ5u74H3mVh7wLouTseZyYIq39g8cNp1w==} - - merge-stream@2.0.0: - resolution: {integrity: sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==} - - merge2@1.4.1: - resolution: {integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==} - engines: {node: '>= 8'} - - methods@1.1.2: - resolution: {integrity: sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==} - engines: {node: '>= 0.6'} - - micro-ftch@0.3.1: - resolution: {integrity: sha512-/0LLxhzP0tfiR5hcQebtudP56gUurs2CLkGarnCiB/OqEyUFQ6U3paQi/tgLv0hBJYt2rnr9MNpxz4fiiugstg==} - - micromatch@4.0.7: - resolution: {integrity: sha512-LPP/3KorzCwBxfeUuZmaR6bG2kdeHSbe0P2tY3FLRU4vYrjYz5hI4QZwV0njUx3jeuKe67YukQ1LSPZBKDqO/Q==} - engines: {node: '>=8.6'} - - mime-db@1.52.0: - resolution: {integrity: sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==} - engines: {node: '>= 0.6'} - - mime-types@2.1.35: - resolution: {integrity: sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==} - engines: {node: '>= 0.6'} - - mime@1.6.0: - resolution: {integrity: sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==} - engines: {node: '>=4'} - hasBin: true - - mime@2.6.0: - resolution: {integrity: sha512-USPkMeET31rOMiarsBNIHZKLGgvKc/LrjofAnBlOttf5ajRvqiRA8QsenbcooctK6d6Ts6aqZXBA+XbkKthiQg==} - engines: {node: '>=4.0.0'} - hasBin: true - - mimic-fn@2.1.0: - resolution: {integrity: sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==} - engines: {node: '>=6'} - - minimalistic-assert@1.0.1: - resolution: {integrity: sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==} - - minimalistic-crypto-utils@1.0.1: - resolution: {integrity: sha512-JIYlbt6g8i5jKfJ3xz7rF0LXmv2TkDxBLUkiBeZ7bAx4GnnNMr8xFpGnOxn6GhTEHx3SjRrZEoU+j04prX1ktg==} - - minimatch@3.1.2: - resolution: {integrity: sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==} - - minimatch@5.1.6: - resolution: {integrity: sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==} - engines: {node: '>=10'} - - minimatch@9.0.5: - resolution: {integrity: sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==} - engines: {node: '>=16 || 14 >=14.17'} - - minimist@1.2.8: - resolution: {integrity: sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==} - - minipass@7.1.2: - resolution: {integrity: sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==} - engines: {node: '>=16 || 14 >=14.17'} - - mkdirp@0.5.6: - resolution: {integrity: sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==} - hasBin: true - - mnemonist@0.38.5: - resolution: {integrity: sha512-bZTFT5rrPKtPJxj8KSV0WkPyNxl72vQepqqVUAW2ARUpUSF2qXMB6jZj7hW5/k7C1rtpzqbD/IIbJwLXUjCHeg==} - - mocha@10.7.0: - resolution: {integrity: sha512-v8/rBWr2VO5YkspYINnvu81inSz2y3ODJrhO175/Exzor1RcEZZkizgE2A+w/CAXXoESS8Kys5E62dOHGHzULA==} - engines: {node: '>= 14.0.0'} - hasBin: true - - ms@2.0.0: - resolution: {integrity: sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==} - - ms@2.1.2: - resolution: {integrity: sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==} - - ms@2.1.3: - resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==} - - natural-compare@1.4.0: - resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==} - - negotiator@0.6.3: - resolution: {integrity: sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==} - engines: {node: '>= 0.6'} - - neo-async@2.6.2: - resolution: {integrity: sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==} - - node-addon-api@2.0.2: - resolution: {integrity: sha512-Ntyt4AIXyaLIuMHF6IOoTakB3K+RWxwtsHNRxllEoA6vPwP9o4866g6YWDLUdnucilZhmkxiHwHr11gAENw+QA==} - - node-emoji@1.11.0: - resolution: {integrity: sha512-wo2DpQkQp7Sjm2A0cq+sN7EHKO6Sl0ctXeBdFZrL9T9+UywORbufTcTZxom8YqpLQt/FqNMUkOpkZrJVYSKD3A==} - - node-fetch@2.7.0: - resolution: {integrity: sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==} - engines: {node: 4.x || >=6.0.0} - peerDependencies: - encoding: ^0.1.0 - peerDependenciesMeta: - encoding: - optional: true - - node-gyp-build@4.8.1: - resolution: {integrity: sha512-OSs33Z9yWr148JZcbZd5WiAXhh/n9z8TxQcdMhIOlpN9AhWpLfvVFO73+m77bBABQMaY9XSvIa+qk0jlI7Gcaw==} - hasBin: true - - node-int64@0.4.0: - resolution: {integrity: sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw==} - - node-releases@2.0.18: - resolution: {integrity: sha512-d9VeXT4SJ7ZeOqGX6R5EM022wpL+eWPooLI+5UpWn2jCT1aosUQEhQP214x33Wkwx3JQMvIm+tIoVOdodFS40g==} - - nopt@3.0.6: - resolution: {integrity: sha512-4GUt3kSEYmk4ITxzB/b9vaIDfUVWN/Ml1Fwl11IlnIG2iaJ9O6WXZ9SrYM9NLI8OCBieN2Y8SWC2oJV0RQ7qYg==} - hasBin: true - - normalize-path@3.0.0: - resolution: {integrity: sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==} - engines: {node: '>=0.10.0'} - - npm-run-path@4.0.1: - resolution: {integrity: sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==} - engines: {node: '>=8'} - - number-to-bn@1.7.0: - resolution: {integrity: sha512-wsJ9gfSz1/s4ZsJN01lyonwuxA1tml6X1yBDnfpMglypcBRFZZkus26EdPSlqS5GJfYddVZa22p3VNb3z5m5Ig==} - engines: {node: '>=6.5.0', npm: '>=3'} - - object-inspect@1.13.2: - resolution: {integrity: sha512-IRZSRuzJiynemAXPYtPe5BoI/RESNYR7TYm50MC5Mqbd3Jmw5y790sErYw3V6SryFJD64b74qQQs9wn5Bg/k3g==} - engines: {node: '>= 0.4'} - - obliterator@2.0.4: - resolution: {integrity: sha512-lgHwxlxV1qIg1Eap7LgIeoBWIMFibOjbrYPIPJZcI1mmGAI2m3lNYpK12Y+GBdPQ0U1hRwSord7GIaawz962qQ==} - - on-finished@2.4.1: - resolution: {integrity: sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==} - engines: {node: '>= 0.8'} - - once@1.4.0: - resolution: {integrity: sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==} - - onetime@5.1.2: - resolution: {integrity: sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==} - engines: {node: '>=6'} - - optionator@0.8.3: - resolution: {integrity: sha512-+IW9pACdk3XWmmTXG8m3upGUJst5XRGzxMRjXzAuJ1XnIFNvfhjjIuYkDvysnPQ7qzqVzLt78BCruntqRhWQbA==} - engines: {node: '>= 0.8.0'} - - os-tmpdir@1.0.2: - resolution: {integrity: sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g==} - engines: {node: '>=0.10.0'} - - p-limit@1.3.0: - resolution: {integrity: sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==} - engines: {node: '>=4'} - - p-limit@2.3.0: - resolution: {integrity: sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==} - engines: {node: '>=6'} - - p-limit@3.1.0: - resolution: {integrity: sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==} - engines: {node: '>=10'} - - p-locate@2.0.0: - resolution: {integrity: sha512-nQja7m7gSKuewoVRen45CtVfODR3crN3goVQ0DDZ9N3yHxgpkuBhZqsaiotSQRrADUrne346peY7kT3TSACykg==} - engines: {node: '>=4'} - - p-locate@4.1.0: - resolution: {integrity: sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==} - engines: {node: '>=8'} - - p-locate@5.0.0: - resolution: {integrity: sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==} - engines: {node: '>=10'} - - p-map@4.0.0: - resolution: {integrity: sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ==} - engines: {node: '>=10'} - - p-try@1.0.0: - resolution: {integrity: sha512-U1etNYuMJoIz3ZXSrrySFjsXQTWOx2/jdi86L+2pRvph/qMKL6sbcCYdH23fqsbm8TH2Gn0OybpT4eSFlCVHww==} - engines: {node: '>=4'} - - p-try@2.2.0: - resolution: {integrity: sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==} - engines: {node: '>=6'} - - package-json-from-dist@1.0.0: - resolution: {integrity: sha512-dATvCeZN/8wQsGywez1mzHtTlP22H8OEfPrVMLNr4/eGa+ijtLn/6M5f0dY8UKNrC2O9UCU6SSoG3qRKnt7STw==} - - parse-json@5.2.0: - resolution: {integrity: sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==} - engines: {node: '>=8'} - - parseurl@1.3.3: - resolution: {integrity: sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==} - engines: {node: '>= 0.8'} - - path-exists@3.0.0: - resolution: {integrity: sha512-bpC7GYwiDYQ4wYLe+FA8lhRjhQCMcQGuSgGGqDkg/QerRWw9CmGRT0iSOVRSZJ29NMLZgIzqaljJ63oaL4NIJQ==} - engines: {node: '>=4'} - - path-exists@4.0.0: - resolution: {integrity: sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==} - engines: {node: '>=8'} - - path-is-absolute@1.0.1: - resolution: {integrity: sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==} - engines: {node: '>=0.10.0'} - - path-key@3.1.1: - resolution: {integrity: sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==} - engines: {node: '>=8'} - - path-parse@1.0.7: - resolution: {integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==} - - path-scurry@1.11.1: - resolution: {integrity: sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==} - engines: {node: '>=16 || 14 >=14.18'} - - path-to-regexp@0.1.7: - resolution: {integrity: sha512-5DFkuoqlv1uYQKxy8omFBeJPQcdoE07Kv2sferDCrAq1ohOU+MSDswDIbnx3YAM60qIOnYa53wBhXW0EbMonrQ==} - - path-type@4.0.0: - resolution: {integrity: sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==} - engines: {node: '>=8'} - - pbkdf2@3.1.2: - resolution: {integrity: sha512-iuh7L6jA7JEGu2WxDwtQP1ddOpaJNC4KlDEFfdQajSGgGPNi4OyDc2R7QnbY2bR9QjBVGwgvTdNJZoE7RaxUMA==} - engines: {node: '>=0.12'} - - picocolors@1.0.1: - resolution: {integrity: sha512-anP1Z8qwhkbmu7MFP5iTt+wQKXgwzf7zTyGlcdzabySa9vd0Xt392U0rVmz9poOaBj0uHJKyyo9/upk0HrEQew==} - - picomatch@2.3.1: - resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==} - engines: {node: '>=8.6'} - - pify@4.0.1: - resolution: {integrity: sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==} - engines: {node: '>=6'} - - pirates@4.0.6: - resolution: {integrity: sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg==} - engines: {node: '>= 6'} - - pkg-dir@4.2.0: - resolution: {integrity: sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==} - engines: {node: '>=8'} - - possible-typed-array-names@1.0.0: - resolution: {integrity: sha512-d7Uw+eZoloe0EHDIYoe+bQ5WXnGMOpmiZFTuMWCwpjzzkL2nTjcKiAk4hh8TjnGye2TwWOk3UXucZ+3rbmBa8Q==} - engines: {node: '>= 0.4'} - - prelude-ls@1.1.2: - resolution: {integrity: sha512-ESF23V4SKG6lVSGZgYNpbsiaAkdab6ZgOxe52p7+Kid3W3u3bxR4Vfd/o21dmN7jSt0IwgZ4v5MUd26FEtXE9w==} - engines: {node: '>= 0.8.0'} - - pretty-format@29.7.0: - resolution: {integrity: sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - - prompts@2.4.2: - resolution: {integrity: sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==} - engines: {node: '>= 6'} - - proxy-addr@2.0.7: - resolution: {integrity: sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==} - engines: {node: '>= 0.10'} - - proxy-from-env@1.1.0: - resolution: {integrity: sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==} - - pure-rand@6.1.0: - resolution: {integrity: sha512-bVWawvoZoBYpp6yIoQtQXHZjmz35RSVHnUOTefl8Vcjr8snTPY1wnpSPMWekcFwbxI6gtmT7rSYPFvz71ldiOA==} - - qs@6.11.0: - resolution: {integrity: sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu/MaJzRkIk4Q==} - engines: {node: '>=0.6'} - - qs@6.13.0: - resolution: {integrity: sha512-+38qI9SOr8tfZ4QmJNplMUxqjbe7LKvvZgWdExBOmd+egZTtjLB67Gu0HRX3u/XOq7UU2Nx6nsjvS16Z9uwfpg==} - engines: {node: '>=0.6'} - - queue-microtask@1.2.3: - resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==} - - randombytes@2.1.0: - resolution: {integrity: sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==} - - range-parser@1.2.1: - resolution: {integrity: sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==} - engines: {node: '>= 0.6'} - - raw-body@2.5.2: - resolution: {integrity: sha512-8zGqypfENjCIqGhgXToC8aB2r7YrBX+AQAfIPs/Mlk+BtPTztOvTS01NRW/3Eh60J+a48lt8qsCzirQ6loCVfA==} - engines: {node: '>= 0.8'} - - react-is@18.3.1: - resolution: {integrity: sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg==} - - readable-stream@3.6.2: - resolution: {integrity: sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==} - engines: {node: '>= 6'} - - readdirp@3.6.0: - resolution: {integrity: sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==} - engines: {node: '>=8.10.0'} - - rechoir@0.6.2: - resolution: {integrity: sha512-HFM8rkZ+i3zrV+4LQjwQ0W+ez98pApMGM3HUrN04j3CqzPOzl9nmP15Y8YXNm8QHGv/eacOVEjqhmWpkRV0NAw==} - engines: {node: '>= 0.10'} - - recursive-readdir@2.2.3: - resolution: {integrity: sha512-8HrF5ZsXk5FAH9dgsx3BlUer73nIhuj+9OrQwEbLTPOBzGkL1lsFCR01am+v+0m2Cmbs1nP12hLDl5FA7EszKA==} - engines: {node: '>=6.0.0'} - - repeat-string@1.6.1: - resolution: {integrity: sha512-PV0dzCYDNfRi1jCDbJzpW7jNNDRuCOG/jI5ctQcGKt/clZD+YcPS3yIlWuTJMmESC8aevCFmWJy5wjAFgNqN6w==} - engines: {node: '>=0.10'} - - require-directory@2.1.1: - resolution: {integrity: sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==} - engines: {node: '>=0.10.0'} - - resolve-cwd@3.0.0: - resolution: {integrity: sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg==} - engines: {node: '>=8'} - - resolve-from@5.0.0: - resolution: {integrity: sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==} - engines: {node: '>=8'} - - resolve.exports@2.0.2: - resolution: {integrity: sha512-X2UW6Nw3n/aMgDVy+0rSqgHlv39WZAlZrXCdnbyEiKm17DSqHX4MmQMaST3FbeWR5FTuRcUwYAziZajji0Y7mg==} - engines: {node: '>=10'} - - resolve@1.1.7: - resolution: {integrity: sha512-9znBF0vBcaSN3W2j7wKvdERPwqTxSpCq+if5C0WoTCyV9n24rua28jeuQ2pL/HOf+yUe/Mef+H/5p60K0Id3bg==} - - resolve@1.17.0: - resolution: {integrity: sha512-ic+7JYiV8Vi2yzQGFWOkiZD5Z9z7O2Zhm9XMaTxdJExKasieFCr+yXZ/WmXsckHiKl12ar0y6XiXDx3m4RHn1w==} - - resolve@1.22.8: - resolution: {integrity: sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==} - hasBin: true - - reusify@1.0.4: - resolution: {integrity: sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==} - engines: {iojs: '>=1.0.0', node: '>=0.10.0'} - - ripemd160@2.0.2: - resolution: {integrity: sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA==} - - rlp@2.2.7: - resolution: {integrity: sha512-d5gdPmgQ0Z+AklL2NVXr/IoSjNZFfTVvQWzL/AM2AOcSzYP2xjlb0AC8YyCLc41MSNf6P6QVtjgPdmVtzb+4lQ==} - hasBin: true - - run-parallel@1.2.0: - resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==} - - safe-buffer@5.2.1: - resolution: {integrity: sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==} - - safer-buffer@2.1.2: - resolution: {integrity: sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==} - - sc-istanbul@0.4.6: - resolution: {integrity: sha512-qJFF/8tW/zJsbyfh/iT/ZM5QNHE3CXxtLJbZsL+CzdJLBsPD7SedJZoUA4d8iAcN2IoMp/Dx80shOOd2x96X/g==} - hasBin: true - - scrypt-js@3.0.1: - resolution: {integrity: sha512-cdwTTnqPu0Hyvf5in5asVdZocVDTNRmR7XEcJuIzMjJeSHybHl7vpB66AzwTaIg6CLSbtjcxc8fqcySfnTkccA==} - - secp256k1@4.0.3: - resolution: {integrity: sha512-NLZVf+ROMxwtEj3Xa562qgv2BK5e2WNmXPiOdVIPLgs6lyTzMvBq0aWTYMI5XCP9jZMVKOcqZLw/Wc4vDkuxhA==} - engines: {node: '>=10.0.0'} - - semver@5.7.2: - resolution: {integrity: sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==} - hasBin: true - - semver@6.3.1: - resolution: {integrity: sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==} - hasBin: true - - semver@7.6.3: - resolution: {integrity: sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==} - engines: {node: '>=10'} - hasBin: true - - send@0.18.0: - resolution: {integrity: sha512-qqWzuOjSFOuqPjFe4NOsMLafToQQwBSOEpS+FwEt3A2V3vKubTquT3vmLTQpFgMXp8AlFWFuP1qKaJZOtPpVXg==} - engines: {node: '>= 0.8.0'} - - serialize-javascript@6.0.2: - resolution: {integrity: sha512-Saa1xPByTTq2gdeFZYLLo+RFE35NHZkAbqZeWNd3BpzppeVisAqpDjcp8dyf6uIvEqJRd46jemmyA4iFIeVk8g==} - - serve-static@1.15.0: - resolution: {integrity: sha512-XGuRDNjXUijsUL0vl6nSD7cwURuzEgglbOaFuZM9g3kwDXOWVTck0jLzjPzGD+TazWbboZYu52/9/XPdUgne9g==} - engines: {node: '>= 0.8.0'} - - set-function-length@1.2.2: - resolution: {integrity: sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==} - engines: {node: '>= 0.4'} - - setimmediate@1.0.5: - resolution: {integrity: sha512-MATJdZp8sLqDl/68LfQmbP8zKPLQNV6BIZoIgrscFDQ+RsvK/BxeDQOgyxKKoh0y/8h3BqVFnCqQ/gd+reiIXA==} - - setprototypeof@1.2.0: - resolution: {integrity: sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==} - - sha.js@2.4.11: - resolution: {integrity: sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ==} - hasBin: true - - sha1@1.1.1: - resolution: {integrity: sha512-dZBS6OrMjtgVkopB1Gmo4RQCDKiZsqcpAQpkV/aaj+FCrCg8r4I4qMkDPQjBgLIxlmu9k4nUbWq6ohXahOneYA==} - - shebang-command@2.0.0: - resolution: {integrity: sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==} - engines: {node: '>=8'} - - shebang-regex@3.0.0: - resolution: {integrity: sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==} - engines: {node: '>=8'} - - shelljs@0.8.5: - resolution: {integrity: sha512-TiwcRcrkhHvbrZbnRcFYMLl30Dfov3HKqzp5tO5b4pt6G/SezKcYhmDg15zXVBswHmctSAQKznqNW2LO5tTDow==} - engines: {node: '>=4'} - hasBin: true - - side-channel@1.0.6: - resolution: {integrity: sha512-fDW/EZ6Q9RiO8eFG8Hj+7u/oW+XrPTIChwCOM2+th2A6OblDtYYIpve9m+KvI9Z4C9qSEXlaGR6bTEYHReuglA==} - engines: {node: '>= 0.4'} - - signal-exit@3.0.7: - resolution: {integrity: sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==} - - signal-exit@4.1.0: - resolution: {integrity: sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==} - engines: {node: '>=14'} - - sisteransi@1.0.5: - resolution: {integrity: sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==} - - slash@3.0.0: - resolution: {integrity: sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==} - engines: {node: '>=8'} - - solc@0.8.26: - resolution: {integrity: sha512-yiPQNVf5rBFHwN6SIf3TUUvVAFKcQqmSUFeq+fb6pNRCo0ZCgpYOZDi3BVoezCPIAcKrVYd/qXlBLUP9wVrZ9g==} - engines: {node: '>=10.0.0'} - hasBin: true - - solidity-coverage@0.8.12: - resolution: {integrity: sha512-8cOB1PtjnjFRqOgwFiD8DaUsYJtVJ6+YdXQtSZDrLGf8cdhhh8xzTtGzVTGeBf15kTv0v7lYPJlV/az7zLEPJw==} - hasBin: true - peerDependencies: - hardhat: ^2.11.0 - - source-map-support@0.5.13: - resolution: {integrity: sha512-SHSKFHadjVA5oR4PPqhtAVdcBWwRYVd6g6cAXnIbRiIwc2EhPrTuKUBdSLvlEKyIP3GCf89fltvcZiP9MMFA1w==} - - source-map-support@0.5.21: - resolution: {integrity: sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==} - - source-map@0.2.0: - resolution: {integrity: sha512-CBdZ2oa/BHhS4xj5DlhjWNHcan57/5YuvfdLf17iVmIpd9KRm+DFLmC6nBNj+6Ua7Kt3TmOjDpQT1aTYOQtoUA==} - engines: {node: '>=0.8.0'} - - source-map@0.6.1: - resolution: {integrity: sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==} - engines: {node: '>=0.10.0'} - - sprintf-js@1.0.3: - resolution: {integrity: sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==} - - stack-utils@2.0.6: - resolution: {integrity: sha512-XlkWvfIm6RmsWtNJx+uqtKLS8eqFbxUg0ZzLXqY0caEy9l7hruX8IpiDnjsLavoBgqCCR71TqWO8MaXYheJ3RQ==} - engines: {node: '>=10'} - - stacktrace-parser@0.1.10: - resolution: {integrity: sha512-KJP1OCML99+8fhOHxwwzyWrlUuVX5GQ0ZpJTd1DFXhdkrvg1szxfHhawXUZ3g9TkXORQd4/WG68jMlQZ2p8wlg==} - engines: {node: '>=6'} - - statuses@2.0.1: - resolution: {integrity: sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==} - engines: {node: '>= 0.8'} - - string-length@4.0.2: - resolution: {integrity: sha512-+l6rNN5fYHNhZZy41RXsYptCjA2Igmq4EG7kZAYFQI1E1VTXarr6ZPXBg6eq7Y6eK4FEhY6AJlyuFIb/v/S0VQ==} - engines: {node: '>=10'} - - string-width@4.2.3: - resolution: {integrity: sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==} - engines: {node: '>=8'} - - string-width@5.1.2: - resolution: {integrity: sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==} - engines: {node: '>=12'} - - string_decoder@1.3.0: - resolution: {integrity: sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==} - - strip-ansi@6.0.1: - resolution: {integrity: sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==} - engines: {node: '>=8'} - - strip-ansi@7.1.0: - resolution: {integrity: sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==} - engines: {node: '>=12'} - - strip-bom@4.0.0: - resolution: {integrity: sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w==} - engines: {node: '>=8'} - - strip-final-newline@2.0.0: - resolution: {integrity: sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==} - engines: {node: '>=6'} - - strip-hex-prefix@1.0.0: - resolution: {integrity: sha512-q8d4ue7JGEiVcypji1bALTos+0pWtyGlivAWyPuTkHzuTCJqrK9sWxYQZUq6Nq3cuyv3bm734IhHvHtGGURU6A==} - engines: {node: '>=6.5.0', npm: '>=3'} - - strip-json-comments@3.1.1: - resolution: {integrity: sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==} - engines: {node: '>=8'} - - superagent@9.0.2: - resolution: {integrity: sha512-xuW7dzkUpcJq7QnhOsnNUgtYp3xRwpt2F7abdRYIpCsAt0hhUqia0EdxyXZQQpNmGtsCzYHryaKSV3q3GJnq7w==} - engines: {node: '>=14.18.0'} - - supertest@7.0.0: - resolution: {integrity: sha512-qlsr7fIC0lSddmA3tzojvzubYxvlGtzumcdHgPwbFWMISQwL22MhM2Y3LNt+6w9Yyx7559VW5ab70dgphm8qQA==} - engines: {node: '>=14.18.0'} - - supports-color@3.2.3: - resolution: {integrity: sha512-Jds2VIYDrlp5ui7t8abHN2bjAu4LV/q4N2KivFPpGH0lrka0BMq/33AmECUXlKPcHigkNaqfXRENFju+rlcy+A==} - engines: {node: '>=0.8.0'} - - supports-color@5.5.0: - resolution: {integrity: sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==} - engines: {node: '>=4'} - - supports-color@7.2.0: - resolution: {integrity: sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==} - engines: {node: '>=8'} - - supports-color@8.1.1: - resolution: {integrity: sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==} - engines: {node: '>=10'} - - supports-preserve-symlinks-flag@1.0.0: - resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==} - engines: {node: '>= 0.4'} - - test-exclude@6.0.0: - resolution: {integrity: sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==} - engines: {node: '>=8'} - - tmp@0.0.33: - resolution: {integrity: sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==} - engines: {node: '>=0.6.0'} - - tmpl@1.0.5: - resolution: {integrity: sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw==} - - to-fast-properties@2.0.0: - resolution: {integrity: sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==} - engines: {node: '>=4'} - - to-regex-range@5.0.1: - resolution: {integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==} - engines: {node: '>=8.0'} - - toidentifier@1.0.1: - resolution: {integrity: sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==} - engines: {node: '>=0.6'} - - tr46@0.0.3: - resolution: {integrity: sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==} - - ts-jest@29.2.4: - resolution: {integrity: sha512-3d6tgDyhCI29HlpwIq87sNuI+3Q6GLTTCeYRHCs7vDz+/3GCMwEtV9jezLyl4ZtnBgx00I7hm8PCP8cTksMGrw==} - engines: {node: ^14.15.0 || ^16.10.0 || ^18.0.0 || >=20.0.0} - hasBin: true - peerDependencies: - '@babel/core': '>=7.0.0-beta.0 <8' - '@jest/transform': ^29.0.0 - '@jest/types': ^29.0.0 - babel-jest: ^29.0.0 - esbuild: '*' - jest: ^29.0.0 - typescript: '>=4.3 <6' - peerDependenciesMeta: - '@babel/core': - optional: true - '@jest/transform': - optional: true - '@jest/types': - optional: true - babel-jest: - optional: true - esbuild: - optional: true - - ts-node@10.9.2: - resolution: {integrity: sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==} - hasBin: true - peerDependencies: - '@swc/core': '>=1.2.50' - '@swc/wasm': '>=1.2.50' - '@types/node': '*' - typescript: '>=2.7' - peerDependenciesMeta: - '@swc/core': - optional: true - '@swc/wasm': - optional: true - - tslib@1.14.1: - resolution: {integrity: sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==} - - tsort@0.0.1: - resolution: {integrity: sha512-Tyrf5mxF8Ofs1tNoxA13lFeZ2Zrbd6cKbuH3V+MQ5sb6DtBj5FjrXVsRWT8YvNAQTqNoz66dz1WsbigI22aEnw==} - - tweetnacl-util@0.15.1: - resolution: {integrity: sha512-RKJBIj8lySrShN4w6i/BonWp2Z/uxwC3h4y7xsRrpP59ZboCd0GpEVsOnMDYLMmKBpYhb5TgHzZXy7wTfYFBRw==} - - tweetnacl@1.0.3: - resolution: {integrity: sha512-6rt+RN7aOi1nGMyC4Xa5DdYiukl2UWCbcJft7YhxReBGQD7OAM8Pbxw6YMo4r2diNEA8FEmu32YOn9rhaiE5yw==} - - type-check@0.3.2: - resolution: {integrity: sha512-ZCmOJdvOWDBYJlzAoFkC+Q0+bUyEOS1ltgp1MGU03fqHG+dbi9tBFU2Rd9QKiDZFAYrhPh2JUf7rZRIuHRKtOg==} - engines: {node: '>= 0.8.0'} - - type-detect@4.0.8: - resolution: {integrity: sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==} - engines: {node: '>=4'} - - type-fest@0.20.2: - resolution: {integrity: sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==} - engines: {node: '>=10'} - - type-fest@0.21.3: - resolution: {integrity: sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==} - engines: {node: '>=10'} - - type-fest@0.7.1: - resolution: {integrity: sha512-Ne2YiiGN8bmrmJJEuTWTLJR32nh/JdL1+PSicowtNb0WFpn59GK8/lfD61bVtzguz7b3PBt74nxpv/Pw5po5Rg==} - engines: {node: '>=8'} - - type-is@1.6.18: - resolution: {integrity: sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==} - engines: {node: '>= 0.6'} - - typescript@5.5.4: - resolution: {integrity: sha512-Mtq29sKDAEYP7aljRgtPOpTvOfbwRWlS6dPRzwjdE+C0R4brX/GUyhHSecbHMFLNBLcJIPt9nl9yG5TZ1weH+Q==} - engines: {node: '>=14.17'} - hasBin: true - - uglify-js@3.19.1: - resolution: {integrity: sha512-y/2wiW+ceTYR2TSSptAhfnEtpLaQ4Ups5zrjB2d3kuVxHj16j/QJwPl5PvuGy9uARb39J0+iKxcRPvtpsx4A4A==} - engines: {node: '>=0.8.0'} - hasBin: true - - undici-types@5.26.5: - resolution: {integrity: sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==} - - undici@5.28.4: - resolution: {integrity: sha512-72RFADWFqKmUb2hmmvNODKL3p9hcB6Gt2DOQMis1SEBaV6a4MH8soBvzg+95CYhCKPFedut2JY9bMfrDl9D23g==} - engines: {node: '>=14.0'} - - universalify@0.1.2: - resolution: {integrity: sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==} - engines: {node: '>= 4.0.0'} - - unpipe@1.0.0: - resolution: {integrity: sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==} - engines: {node: '>= 0.8'} - - update-browserslist-db@1.1.0: - resolution: {integrity: sha512-EdRAaAyk2cUE1wOf2DkEhzxqOQvFOoRJFNS6NeyJ01Gp2beMRpBAINjM2iDXE3KCuKhwnvHIQCJm6ThL2Z+HzQ==} - hasBin: true - peerDependencies: - browserslist: '>= 4.21.0' - - utf8@3.0.0: - resolution: {integrity: sha512-E8VjFIQ/TyQgp+TZfS6l8yp/xWppSAHzidGiRrqe4bK4XP9pTRyKFgGJpO3SN7zdX4DeomTrwaseCHovfpFcqQ==} - - util-deprecate@1.0.2: - resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==} - - util@0.12.5: - resolution: {integrity: sha512-kZf/K6hEIrWHI6XqOFUiiMa+79wE/D8Q+NCNAWclkyg3b4d2k7s0QGepNjiABc+aR3N1PAyHL7p6UcLY6LmrnA==} - - utils-merge@1.0.1: - resolution: {integrity: sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==} - engines: {node: '>= 0.4.0'} - - uuid@8.3.2: - resolution: {integrity: sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==} - hasBin: true - - v8-compile-cache-lib@3.0.1: - resolution: {integrity: sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==} - - v8-to-istanbul@9.3.0: - resolution: {integrity: sha512-kiGUalWN+rgBJ/1OHZsBtU4rXZOfj/7rKQxULKlIzwzQSvMJUUNgPwJEEh7gU6xEVxC0ahoOBvN2YI8GH6FNgA==} - engines: {node: '>=10.12.0'} - - vary@1.1.2: - resolution: {integrity: sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==} - engines: {node: '>= 0.8'} - - viem@2.7.14: - resolution: {integrity: sha512-5b1KB1gXli02GOQHZIUsRluNUwssl2t4hqdFAzyWPwJ744N83jAOBOjOkrGz7K3qMIv9b0GQt3DoZIErSQTPkQ==} - peerDependencies: - typescript: '>=5.0.4' - peerDependenciesMeta: - typescript: - optional: true - - walker@1.0.8: - resolution: {integrity: sha512-ts/8E8l5b7kY0vlWLewOkDXMmPdLcVV4GmOQLyxuSswIJsweeFZtAsMF7k1Nszz+TYBQrlYRmzOnr398y1JemQ==} - - web3-core@4.5.0: - resolution: {integrity: sha512-Q8LIAqmF7vkRydBPiU+OC7wI44nEU6JEExolFaOakqrjMtQ1CWFHRUQMNJRDsk5bRirjyShuAsuqLeYByvvXhg==} - engines: {node: '>=14', npm: '>=6.12.0'} - - web3-errors@1.2.1: - resolution: {integrity: sha512-dIsi8SFC9TCAWpPmacXeVMk/F8tDNa1Bvg8/Cc2cvJo8LRSWd099szEyb+/SiMYcLlEbwftiT9Rpukz7ql4hBg==} - engines: {node: '>=14', npm: '>=6.12.0'} - - web3-eth-abi@4.2.3: - resolution: {integrity: sha512-rPVwTn0O1CzbtfXwEfIjUP0W5Y7u1OFjugwKpSqJzPQE6+REBg6OELjomTGZBu+GThxHnv0rp15SOxvqp+tyXA==} - engines: {node: '>=14', npm: '>=6.12.0'} - - web3-eth-accounts@4.1.3: - resolution: {integrity: sha512-61Nb7xCXy6Vw/6xUZMM5ITtXetXmaP0F8oKRxika4GO4fRfKZLAwBZtshMyrdAORPZYq77ENiqXJVU+hTmtUaQ==} - engines: {node: '>=14', npm: '>=6.12.0'} - - web3-eth-contract@4.6.0: - resolution: {integrity: sha512-mgQ/WUUlgW9BVKKVGU/Q7KrQEbEGI98h8ppox7fT964wY9ITFMDuRCvYk50WTWnFMdjFtOBqt1xRJ0+B1ekCHg==} - engines: {node: '>=14', npm: '>=6.12.0'} - - web3-eth-ens@4.4.0: - resolution: {integrity: sha512-DeyVIS060hNV9g8dnTx92syqvgbvPricE3MerCxe/DquNZT3tD8aVgFfq65GATtpCgDDJffO2bVeHp3XBemnSQ==} - engines: {node: '>=14', npm: '>=6.12.0'} - - web3-eth-iban@4.0.7: - resolution: {integrity: sha512-8weKLa9KuKRzibC87vNLdkinpUE30gn0IGY027F8doeJdcPUfsa4IlBgNC4k4HLBembBB2CTU0Kr/HAOqMeYVQ==} - engines: {node: '>=14', npm: '>=6.12.0'} - - web3-eth-personal@4.0.8: - resolution: {integrity: sha512-sXeyLKJ7ddQdMxz1BZkAwImjqh7OmKxhXoBNF3isDmD4QDpMIwv/t237S3q4Z0sZQamPa/pHebJRWVuvP8jZdw==} - engines: {node: '>=14', npm: '>=6.12.0'} - - web3-eth@4.8.2: - resolution: {integrity: sha512-DLV/fIMG6gBp/B0gv0+G4FzxZ4YCDQsY3lzqqv7avwh3uU7/O27aifCUcFd7Ye+3ixTqCjAvLEl9wYSeyG3zQw==} - engines: {node: '>=14', npm: '>=6.12.0'} - - web3-net@4.1.0: - resolution: {integrity: sha512-WWmfvHVIXWEoBDWdgKNYKN8rAy6SgluZ0abyRyXOL3ESr7ym7pKWbfP4fjApIHlYTh8tNqkrdPfM4Dyi6CA0SA==} - engines: {node: '>=14', npm: '>=6.12.0'} - - web3-providers-http@4.1.0: - resolution: {integrity: sha512-6qRUGAhJfVQM41E5t+re5IHYmb5hSaLc02BE2MaRQsz2xKA6RjmHpOA5h/+ojJxEpI9NI2CrfDKOAgtJfoUJQg==} - engines: {node: '>=14', npm: '>=6.12.0'} - - web3-providers-ipc@4.0.7: - resolution: {integrity: sha512-YbNqY4zUvIaK2MHr1lQFE53/8t/ejHtJchrWn9zVbFMGXlTsOAbNoIoZWROrg1v+hCBvT2c9z8xt7e/+uz5p1g==} - engines: {node: '>=14', npm: '>=6.12.0'} - - web3-providers-ws@4.0.8: - resolution: {integrity: sha512-goJdgata7v4pyzHRsg9fSegUG4gVnHZSHODhNnn6J93ykHkBI1nz4fjlGpcQLUMi4jAMz6SHl9Ibzs2jj9xqPw==} - engines: {node: '>=14', npm: '>=6.12.0'} - - web3-rpc-methods@1.3.0: - resolution: {integrity: sha512-/CHmzGN+IYgdBOme7PdqzF+FNeMleefzqs0LVOduncSaqsppeOEoskLXb2anSpzmQAP3xZJPaTrkQPWSJMORig==} - engines: {node: '>=14', npm: '>=6.12.0'} - - web3-rpc-providers@1.0.0-rc.1: - resolution: {integrity: sha512-N7AgGB+ilKPFQohnlI1vNHWmQ5Wh5vlGdYKWCWJc9kisKxxGtOsqN3W8tOj6/898sHZIXU9i/IAOyreGDIybmw==} - engines: {node: '>=14', npm: '>=6.12.0'} - - web3-types@1.7.0: - resolution: {integrity: sha512-nhXxDJ7a5FesRw9UG5SZdP/C/3Q2EzHGnB39hkAV+YGXDMgwxBXFWebQLfEzZzuArfHnvC0sQqkIHNwSKcVjdA==} - engines: {node: '>=14', npm: '>=6.12.0'} - - web3-utils@1.10.4: - resolution: {integrity: sha512-tsu8FiKJLk2PzhDl9fXbGUWTkkVXYhtTA+SmEFkKft+9BgwLxfCRpU96sWv7ICC8zixBNd3JURVoiR3dUXgP8A==} - engines: {node: '>=8.0.0'} - - web3-utils@4.3.1: - resolution: {integrity: sha512-kGwOk8FxOLJ9DQC68yqNQc7AzN+k9YDLaW+ZjlAXs3qORhf8zXk5SxWAAGLbLykMs3vTeB0FTb1Exut4JEYfFA==} - engines: {node: '>=14', npm: '>=6.12.0'} - - web3-validator@2.0.6: - resolution: {integrity: sha512-qn9id0/l1bWmvH4XfnG/JtGKKwut2Vokl6YXP5Kfg424npysmtRLe9DgiNBM9Op7QL/aSiaA0TVXibuIuWcizg==} - engines: {node: '>=14', npm: '>=6.12.0'} - - web3@4.11.1: - resolution: {integrity: sha512-KUntBtnc+cj9ur/yNcdTok9MpCI9dHf8h1hRmLPVICF5wyKyHbR4t+51vqUnK5bI6UxVfRPT++qCcP7KhDACVA==} - engines: {node: '>=14.0.0', npm: '>=6.12.0'} - - webidl-conversions@3.0.1: - resolution: {integrity: sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==} - - whatwg-url@5.0.0: - resolution: {integrity: sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==} - - which-typed-array@1.1.15: - resolution: {integrity: sha512-oV0jmFtUky6CXfkqehVvBP/LSWJ2sy4vWMioiENyJLePrBO/yKyV9OyJySfAKosh+RYkIl5zJCNZ8/4JncrpdA==} - engines: {node: '>= 0.4'} - - which@1.3.1: - resolution: {integrity: sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==} - hasBin: true - - which@2.0.2: - resolution: {integrity: sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==} - engines: {node: '>= 8'} - hasBin: true - - widest-line@3.1.0: - resolution: {integrity: sha512-NsmoXalsWVDMGupxZ5R08ka9flZjjiLvHVAWYOKtiKM8ujtZWr9cRffak+uSE48+Ob8ObalXpwyeUiyDD6QFgg==} - engines: {node: '>=8'} - - word-wrap@1.2.5: - resolution: {integrity: sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==} - engines: {node: '>=0.10.0'} - - wordwrap@1.0.0: - resolution: {integrity: sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q==} - - workerpool@6.5.1: - resolution: {integrity: sha512-Fs4dNYcsdpYSAfVxhnl1L5zTksjvOJxtC5hzMNl+1t9B8hTJTdKDyZ5ju7ztgPy+ft9tBFXoOlDNiOT9WUXZlA==} - - wrap-ansi@7.0.0: - resolution: {integrity: sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==} - engines: {node: '>=10'} - - wrap-ansi@8.1.0: - resolution: {integrity: sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==} - engines: {node: '>=12'} - - wrappy@1.0.2: - resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==} - - write-file-atomic@4.0.2: - resolution: {integrity: sha512-7KxauUdBmSdWnmpaGFg+ppNjKF8uNLry8LyzjauQDOVONfFLNKrKvQOxZ/VuTIcS/gge/YNahf5RIIQWTSarlg==} - engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} - - ws@7.4.6: - resolution: {integrity: sha512-YmhHDO4MzaDLB+M9ym/mDA5z0naX8j7SIlT8f8z+I0VtzsRbekxEutHSme7NPS2qE8StCYQNUnfWdXta/Yu85A==} - engines: {node: '>=8.3.0'} - peerDependencies: - bufferutil: ^4.0.1 - utf-8-validate: ^5.0.2 - peerDependenciesMeta: - bufferutil: - optional: true - utf-8-validate: - optional: true - - ws@7.5.10: - resolution: {integrity: sha512-+dbF1tHwZpXcbOJdVOkzLDxZP1ailvSxM6ZweXTegylPny803bFhA+vqBYw4s31NSAk4S2Qz+AKXK9a4wkdjcQ==} - engines: {node: '>=8.3.0'} - peerDependencies: - bufferutil: ^4.0.1 - utf-8-validate: ^5.0.2 - peerDependenciesMeta: - bufferutil: - optional: true - utf-8-validate: - optional: true - - ws@8.13.0: - resolution: {integrity: sha512-x9vcZYTrFPC7aSIbj7sRCYo7L/Xb8Iy+pW0ng0wt2vCJv7M9HOMy0UoN3rr+IFC7hb7vXoqS+P9ktyLLLhO+LA==} - engines: {node: '>=10.0.0'} - peerDependencies: - bufferutil: ^4.0.1 - utf-8-validate: '>=5.0.2' - peerDependenciesMeta: - bufferutil: - optional: true - utf-8-validate: - optional: true - - ws@8.18.0: - resolution: {integrity: sha512-8VbfWfHLbbwu3+N6OKsOMpBdT4kXPDDB9cJk2bJ6mh9ucxdlnNvH1e+roYkKmN9Nxw2yjz7VzeO9oOz2zJ04Pw==} - engines: {node: '>=10.0.0'} - peerDependencies: - bufferutil: ^4.0.1 - utf-8-validate: '>=5.0.2' - peerDependenciesMeta: - bufferutil: - optional: true - utf-8-validate: - optional: true - - y18n@5.0.8: - resolution: {integrity: sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==} - engines: {node: '>=10'} - - yallist@3.1.1: - resolution: {integrity: sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==} - - yargs-parser@20.2.9: - resolution: {integrity: sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==} - engines: {node: '>=10'} - - yargs-parser@21.1.1: - resolution: {integrity: sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==} - engines: {node: '>=12'} - - yargs-unparser@2.0.0: - resolution: {integrity: sha512-7pRTIA9Qc1caZ0bZ6RYRGbHJthJWuakf+WmHK0rVeLkNrrGhfoabBNdue6kdINI6r4if7ocq9aD/n7xwKOdzOA==} - engines: {node: '>=10'} - - yargs@16.2.0: - resolution: {integrity: sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==} - engines: {node: '>=10'} - - yargs@17.7.2: - resolution: {integrity: sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==} - engines: {node: '>=12'} - - yn@3.1.1: - resolution: {integrity: sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==} - engines: {node: '>=6'} - - yocto-queue@0.1.0: - resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==} - engines: {node: '>=10'} - - zod@3.23.8: - resolution: {integrity: sha512-XBx9AXhXktjUqnepgTiE5flcKIYWi/rme0Eaj+5Y0lftuGBq+jyRu/md4WnuxqgP1ubdpNCsYEYPxrzVHD8d6g==} - -snapshots: - - '@adraffy/ens-normalize@1.10.0': {} - - '@adraffy/ens-normalize@1.10.1': {} - - '@ampproject/remapping@2.3.0': - dependencies: - '@jridgewell/gen-mapping': 0.3.5 - '@jridgewell/trace-mapping': 0.3.25 - - '@babel/code-frame@7.24.7': - dependencies: - '@babel/highlight': 7.24.7 - picocolors: 1.0.1 - - '@babel/compat-data@7.25.2': {} - - '@babel/core@7.25.2': - dependencies: - '@ampproject/remapping': 2.3.0 - '@babel/code-frame': 7.24.7 - '@babel/generator': 7.25.0 - '@babel/helper-compilation-targets': 7.25.2 - '@babel/helper-module-transforms': 7.25.2(@babel/core@7.25.2) - '@babel/helpers': 7.25.0 - '@babel/parser': 7.25.3 - '@babel/template': 7.25.0 - '@babel/traverse': 7.25.3 - '@babel/types': 7.25.2 - convert-source-map: 2.0.0 - debug: 4.3.6(supports-color@8.1.1) - gensync: 1.0.0-beta.2 - json5: 2.2.3 - semver: 6.3.1 - transitivePeerDependencies: - - supports-color - - '@babel/generator@7.25.0': - dependencies: - '@babel/types': 7.25.2 - '@jridgewell/gen-mapping': 0.3.5 - '@jridgewell/trace-mapping': 0.3.25 - jsesc: 2.5.2 - - '@babel/helper-compilation-targets@7.25.2': - dependencies: - '@babel/compat-data': 7.25.2 - '@babel/helper-validator-option': 7.24.8 - browserslist: 4.23.3 - lru-cache: 5.1.1 - semver: 6.3.1 - - '@babel/helper-module-imports@7.24.7': - dependencies: - '@babel/traverse': 7.25.3 - '@babel/types': 7.25.2 - transitivePeerDependencies: - - supports-color - - '@babel/helper-module-transforms@7.25.2(@babel/core@7.25.2)': - dependencies: - '@babel/core': 7.25.2 - '@babel/helper-module-imports': 7.24.7 - '@babel/helper-simple-access': 7.24.7 - '@babel/helper-validator-identifier': 7.24.7 - '@babel/traverse': 7.25.3 - transitivePeerDependencies: - - supports-color - - '@babel/helper-plugin-utils@7.24.8': {} - - '@babel/helper-simple-access@7.24.7': - dependencies: - '@babel/traverse': 7.25.3 - '@babel/types': 7.25.2 - transitivePeerDependencies: - - supports-color - - '@babel/helper-string-parser@7.24.8': {} - - '@babel/helper-validator-identifier@7.24.7': {} - - '@babel/helper-validator-option@7.24.8': {} - - '@babel/helpers@7.25.0': - dependencies: - '@babel/template': 7.25.0 - '@babel/types': 7.25.2 - - '@babel/highlight@7.24.7': - dependencies: - '@babel/helper-validator-identifier': 7.24.7 - chalk: 2.4.2 - js-tokens: 4.0.0 - picocolors: 1.0.1 - - '@babel/parser@7.25.3': - dependencies: - '@babel/types': 7.25.2 - - '@babel/plugin-syntax-async-generators@7.8.4(@babel/core@7.25.2)': - dependencies: - '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.24.8 - - '@babel/plugin-syntax-bigint@7.8.3(@babel/core@7.25.2)': - dependencies: - '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.24.8 - - '@babel/plugin-syntax-class-properties@7.12.13(@babel/core@7.25.2)': - dependencies: - '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.24.8 - - '@babel/plugin-syntax-import-meta@7.10.4(@babel/core@7.25.2)': - dependencies: - '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.24.8 - - '@babel/plugin-syntax-json-strings@7.8.3(@babel/core@7.25.2)': - dependencies: - '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.24.8 - - '@babel/plugin-syntax-jsx@7.24.7(@babel/core@7.25.2)': - dependencies: - '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.24.8 - - '@babel/plugin-syntax-logical-assignment-operators@7.10.4(@babel/core@7.25.2)': - dependencies: - '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.24.8 - - '@babel/plugin-syntax-nullish-coalescing-operator@7.8.3(@babel/core@7.25.2)': - dependencies: - '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.24.8 - - '@babel/plugin-syntax-numeric-separator@7.10.4(@babel/core@7.25.2)': - dependencies: - '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.24.8 - - '@babel/plugin-syntax-object-rest-spread@7.8.3(@babel/core@7.25.2)': - dependencies: - '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.24.8 - - '@babel/plugin-syntax-optional-catch-binding@7.8.3(@babel/core@7.25.2)': - dependencies: - '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.24.8 - - '@babel/plugin-syntax-optional-chaining@7.8.3(@babel/core@7.25.2)': - dependencies: - '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.24.8 - - '@babel/plugin-syntax-top-level-await@7.14.5(@babel/core@7.25.2)': - dependencies: - '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.24.8 - - '@babel/plugin-syntax-typescript@7.24.7(@babel/core@7.25.2)': - dependencies: - '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.24.8 - - '@babel/template@7.25.0': - dependencies: - '@babel/code-frame': 7.24.7 - '@babel/parser': 7.25.3 - '@babel/types': 7.25.2 - - '@babel/traverse@7.25.3': - dependencies: - '@babel/code-frame': 7.24.7 - '@babel/generator': 7.25.0 - '@babel/parser': 7.25.3 - '@babel/template': 7.25.0 - '@babel/types': 7.25.2 - debug: 4.3.6(supports-color@8.1.1) - globals: 11.12.0 - transitivePeerDependencies: - - supports-color - - '@babel/types@7.25.2': - dependencies: - '@babel/helper-string-parser': 7.24.8 - '@babel/helper-validator-identifier': 7.24.7 - to-fast-properties: 2.0.0 - - '@bcoe/v8-coverage@0.2.3': {} - - '@colors/colors@1.5.0': - optional: true - - '@cspotcode/source-map-support@0.8.1': - dependencies: - '@jridgewell/trace-mapping': 0.3.9 - - '@ethereumjs/rlp@4.0.1': {} - - '@ethereumjs/rlp@5.0.2': {} - - '@ethereumjs/util@8.1.0': - dependencies: - '@ethereumjs/rlp': 4.0.1 - ethereum-cryptography: 2.2.1 - micro-ftch: 0.3.1 - - '@ethersproject/abi@5.7.0': - dependencies: - '@ethersproject/address': 5.7.0 - '@ethersproject/bignumber': 5.7.0 - '@ethersproject/bytes': 5.7.0 - '@ethersproject/constants': 5.7.0 - '@ethersproject/hash': 5.7.0 - '@ethersproject/keccak256': 5.7.0 - '@ethersproject/logger': 5.7.0 - '@ethersproject/properties': 5.7.0 - '@ethersproject/strings': 5.7.0 - - '@ethersproject/abstract-provider@5.7.0': - dependencies: - '@ethersproject/bignumber': 5.7.0 - '@ethersproject/bytes': 5.7.0 - '@ethersproject/logger': 5.7.0 - '@ethersproject/networks': 5.7.1 - '@ethersproject/properties': 5.7.0 - '@ethersproject/transactions': 5.7.0 - '@ethersproject/web': 5.7.1 - - '@ethersproject/abstract-signer@5.7.0': - dependencies: - '@ethersproject/abstract-provider': 5.7.0 - '@ethersproject/bignumber': 5.7.0 - '@ethersproject/bytes': 5.7.0 - '@ethersproject/logger': 5.7.0 - '@ethersproject/properties': 5.7.0 - - '@ethersproject/address@5.7.0': - dependencies: - '@ethersproject/bignumber': 5.7.0 - '@ethersproject/bytes': 5.7.0 - '@ethersproject/keccak256': 5.7.0 - '@ethersproject/logger': 5.7.0 - '@ethersproject/rlp': 5.7.0 - - '@ethersproject/base64@5.7.0': - dependencies: - '@ethersproject/bytes': 5.7.0 - - '@ethersproject/basex@5.7.0': - dependencies: - '@ethersproject/bytes': 5.7.0 - '@ethersproject/properties': 5.7.0 - - '@ethersproject/bignumber@5.7.0': - dependencies: - '@ethersproject/bytes': 5.7.0 - '@ethersproject/logger': 5.7.0 - bn.js: 5.2.1 - - '@ethersproject/bytes@5.7.0': - dependencies: - '@ethersproject/logger': 5.7.0 - - '@ethersproject/constants@5.7.0': - dependencies: - '@ethersproject/bignumber': 5.7.0 - - '@ethersproject/contracts@5.7.0': - dependencies: - '@ethersproject/abi': 5.7.0 - '@ethersproject/abstract-provider': 5.7.0 - '@ethersproject/abstract-signer': 5.7.0 - '@ethersproject/address': 5.7.0 - '@ethersproject/bignumber': 5.7.0 - '@ethersproject/bytes': 5.7.0 - '@ethersproject/constants': 5.7.0 - '@ethersproject/logger': 5.7.0 - '@ethersproject/properties': 5.7.0 - '@ethersproject/transactions': 5.7.0 - - '@ethersproject/hash@5.7.0': - dependencies: - '@ethersproject/abstract-signer': 5.7.0 - '@ethersproject/address': 5.7.0 - '@ethersproject/base64': 5.7.0 - '@ethersproject/bignumber': 5.7.0 - '@ethersproject/bytes': 5.7.0 - '@ethersproject/keccak256': 5.7.0 - '@ethersproject/logger': 5.7.0 - '@ethersproject/properties': 5.7.0 - '@ethersproject/strings': 5.7.0 - - '@ethersproject/hdnode@5.7.0': - dependencies: - '@ethersproject/abstract-signer': 5.7.0 - '@ethersproject/basex': 5.7.0 - '@ethersproject/bignumber': 5.7.0 - '@ethersproject/bytes': 5.7.0 - '@ethersproject/logger': 5.7.0 - '@ethersproject/pbkdf2': 5.7.0 - '@ethersproject/properties': 5.7.0 - '@ethersproject/sha2': 5.7.0 - '@ethersproject/signing-key': 5.7.0 - '@ethersproject/strings': 5.7.0 - '@ethersproject/transactions': 5.7.0 - '@ethersproject/wordlists': 5.7.0 - - '@ethersproject/json-wallets@5.7.0': - dependencies: - '@ethersproject/abstract-signer': 5.7.0 - '@ethersproject/address': 5.7.0 - '@ethersproject/bytes': 5.7.0 - '@ethersproject/hdnode': 5.7.0 - '@ethersproject/keccak256': 5.7.0 - '@ethersproject/logger': 5.7.0 - '@ethersproject/pbkdf2': 5.7.0 - '@ethersproject/properties': 5.7.0 - '@ethersproject/random': 5.7.0 - '@ethersproject/strings': 5.7.0 - '@ethersproject/transactions': 5.7.0 - aes-js: 3.0.0 - scrypt-js: 3.0.1 - - '@ethersproject/keccak256@5.7.0': - dependencies: - '@ethersproject/bytes': 5.7.0 - js-sha3: 0.8.0 - - '@ethersproject/logger@5.7.0': {} - - '@ethersproject/networks@5.7.1': - dependencies: - '@ethersproject/logger': 5.7.0 - - '@ethersproject/pbkdf2@5.7.0': - dependencies: - '@ethersproject/bytes': 5.7.0 - '@ethersproject/sha2': 5.7.0 - - '@ethersproject/properties@5.7.0': - dependencies: - '@ethersproject/logger': 5.7.0 - - '@ethersproject/providers@5.7.2': - dependencies: - '@ethersproject/abstract-provider': 5.7.0 - '@ethersproject/abstract-signer': 5.7.0 - '@ethersproject/address': 5.7.0 - '@ethersproject/base64': 5.7.0 - '@ethersproject/basex': 5.7.0 - '@ethersproject/bignumber': 5.7.0 - '@ethersproject/bytes': 5.7.0 - '@ethersproject/constants': 5.7.0 - '@ethersproject/hash': 5.7.0 - '@ethersproject/logger': 5.7.0 - '@ethersproject/networks': 5.7.1 - '@ethersproject/properties': 5.7.0 - '@ethersproject/random': 5.7.0 - '@ethersproject/rlp': 5.7.0 - '@ethersproject/sha2': 5.7.0 - '@ethersproject/strings': 5.7.0 - '@ethersproject/transactions': 5.7.0 - '@ethersproject/web': 5.7.1 - bech32: 1.1.4 - ws: 7.4.6 - transitivePeerDependencies: - - bufferutil - - utf-8-validate - - '@ethersproject/random@5.7.0': - dependencies: - '@ethersproject/bytes': 5.7.0 - '@ethersproject/logger': 5.7.0 - - '@ethersproject/rlp@5.7.0': - dependencies: - '@ethersproject/bytes': 5.7.0 - '@ethersproject/logger': 5.7.0 - - '@ethersproject/sha2@5.7.0': - dependencies: - '@ethersproject/bytes': 5.7.0 - '@ethersproject/logger': 5.7.0 - hash.js: 1.1.7 - - '@ethersproject/signing-key@5.7.0': - dependencies: - '@ethersproject/bytes': 5.7.0 - '@ethersproject/logger': 5.7.0 - '@ethersproject/properties': 5.7.0 - bn.js: 5.2.1 - elliptic: 6.5.4 - hash.js: 1.1.7 - - '@ethersproject/solidity@5.7.0': - dependencies: - '@ethersproject/bignumber': 5.7.0 - '@ethersproject/bytes': 5.7.0 - '@ethersproject/keccak256': 5.7.0 - '@ethersproject/logger': 5.7.0 - '@ethersproject/sha2': 5.7.0 - '@ethersproject/strings': 5.7.0 - - '@ethersproject/strings@5.7.0': - dependencies: - '@ethersproject/bytes': 5.7.0 - '@ethersproject/constants': 5.7.0 - '@ethersproject/logger': 5.7.0 - - '@ethersproject/transactions@5.7.0': - dependencies: - '@ethersproject/address': 5.7.0 - '@ethersproject/bignumber': 5.7.0 - '@ethersproject/bytes': 5.7.0 - '@ethersproject/constants': 5.7.0 - '@ethersproject/keccak256': 5.7.0 - '@ethersproject/logger': 5.7.0 - '@ethersproject/properties': 5.7.0 - '@ethersproject/rlp': 5.7.0 - '@ethersproject/signing-key': 5.7.0 - - '@ethersproject/units@5.7.0': - dependencies: - '@ethersproject/bignumber': 5.7.0 - '@ethersproject/constants': 5.7.0 - '@ethersproject/logger': 5.7.0 - - '@ethersproject/wallet@5.7.0': - dependencies: - '@ethersproject/abstract-provider': 5.7.0 - '@ethersproject/abstract-signer': 5.7.0 - '@ethersproject/address': 5.7.0 - '@ethersproject/bignumber': 5.7.0 - '@ethersproject/bytes': 5.7.0 - '@ethersproject/hash': 5.7.0 - '@ethersproject/hdnode': 5.7.0 - '@ethersproject/json-wallets': 5.7.0 - '@ethersproject/keccak256': 5.7.0 - '@ethersproject/logger': 5.7.0 - '@ethersproject/properties': 5.7.0 - '@ethersproject/random': 5.7.0 - '@ethersproject/signing-key': 5.7.0 - '@ethersproject/transactions': 5.7.0 - '@ethersproject/wordlists': 5.7.0 - - '@ethersproject/web@5.7.1': - dependencies: - '@ethersproject/base64': 5.7.0 - '@ethersproject/bytes': 5.7.0 - '@ethersproject/logger': 5.7.0 - '@ethersproject/properties': 5.7.0 - '@ethersproject/strings': 5.7.0 - - '@ethersproject/wordlists@5.7.0': - dependencies: - '@ethersproject/bytes': 5.7.0 - '@ethersproject/hash': 5.7.0 - '@ethersproject/logger': 5.7.0 - '@ethersproject/properties': 5.7.0 - '@ethersproject/strings': 5.7.0 - - '@fastify/busboy@2.1.1': {} - - '@isaacs/cliui@8.0.2': - dependencies: - string-width: 5.1.2 - string-width-cjs: string-width@4.2.3 - strip-ansi: 7.1.0 - strip-ansi-cjs: strip-ansi@6.0.1 - wrap-ansi: 8.1.0 - wrap-ansi-cjs: wrap-ansi@7.0.0 - - '@istanbuljs/load-nyc-config@1.1.0': - dependencies: - camelcase: 5.3.1 - find-up: 4.1.0 - get-package-type: 0.1.0 - js-yaml: 3.14.1 - resolve-from: 5.0.0 - - '@istanbuljs/schema@0.1.3': {} - - '@jest/console@29.7.0': - dependencies: - '@jest/types': 29.6.3 - '@types/node': 20.14.14 - chalk: 4.1.2 - jest-message-util: 29.7.0 - jest-util: 29.7.0 - slash: 3.0.0 - - '@jest/core@29.7.0(ts-node@10.9.2)': - dependencies: - '@jest/console': 29.7.0 - '@jest/reporters': 29.7.0 - '@jest/test-result': 29.7.0 - '@jest/transform': 29.7.0 - '@jest/types': 29.6.3 - '@types/node': 20.14.14 - ansi-escapes: 4.3.2 - chalk: 4.1.2 - ci-info: 3.9.0 - exit: 0.1.2 - graceful-fs: 4.2.11 - jest-changed-files: 29.7.0 - jest-config: 29.7.0(@types/node@20.14.14)(ts-node@10.9.2) - jest-haste-map: 29.7.0 - jest-message-util: 29.7.0 - jest-regex-util: 29.6.3 - jest-resolve: 29.7.0 - jest-resolve-dependencies: 29.7.0 - jest-runner: 29.7.0 - jest-runtime: 29.7.0 - jest-snapshot: 29.7.0 - jest-util: 29.7.0 - jest-validate: 29.7.0 - jest-watcher: 29.7.0 - micromatch: 4.0.7 - pretty-format: 29.7.0 - slash: 3.0.0 - strip-ansi: 6.0.1 - transitivePeerDependencies: - - babel-plugin-macros - - supports-color - - ts-node - - '@jest/environment@29.7.0': - dependencies: - '@jest/fake-timers': 29.7.0 - '@jest/types': 29.6.3 - '@types/node': 20.14.14 - jest-mock: 29.7.0 - - '@jest/expect-utils@29.7.0': - dependencies: - jest-get-type: 29.6.3 - - '@jest/expect@29.7.0': - dependencies: - expect: 29.7.0 - jest-snapshot: 29.7.0 - transitivePeerDependencies: - - supports-color - - '@jest/fake-timers@29.7.0': - dependencies: - '@jest/types': 29.6.3 - '@sinonjs/fake-timers': 10.3.0 - '@types/node': 20.14.14 - jest-message-util: 29.7.0 - jest-mock: 29.7.0 - jest-util: 29.7.0 - - '@jest/globals@29.7.0': - dependencies: - '@jest/environment': 29.7.0 - '@jest/expect': 29.7.0 - '@jest/types': 29.6.3 - jest-mock: 29.7.0 - transitivePeerDependencies: - - supports-color - - '@jest/reporters@29.7.0': - dependencies: - '@bcoe/v8-coverage': 0.2.3 - '@jest/console': 29.7.0 - '@jest/test-result': 29.7.0 - '@jest/transform': 29.7.0 - '@jest/types': 29.6.3 - '@jridgewell/trace-mapping': 0.3.25 - '@types/node': 20.14.14 - chalk: 4.1.2 - collect-v8-coverage: 1.0.2 - exit: 0.1.2 - glob: 7.2.3 - graceful-fs: 4.2.11 - istanbul-lib-coverage: 3.2.2 - istanbul-lib-instrument: 6.0.3 - istanbul-lib-report: 3.0.1 - istanbul-lib-source-maps: 4.0.1 - istanbul-reports: 3.1.7 - jest-message-util: 29.7.0 - jest-util: 29.7.0 - jest-worker: 29.7.0 - slash: 3.0.0 - string-length: 4.0.2 - strip-ansi: 6.0.1 - v8-to-istanbul: 9.3.0 - transitivePeerDependencies: - - supports-color - - '@jest/schemas@29.6.3': - dependencies: - '@sinclair/typebox': 0.27.8 - - '@jest/source-map@29.6.3': - dependencies: - '@jridgewell/trace-mapping': 0.3.25 - callsites: 3.1.0 - graceful-fs: 4.2.11 - - '@jest/test-result@29.7.0': - dependencies: - '@jest/console': 29.7.0 - '@jest/types': 29.6.3 - '@types/istanbul-lib-coverage': 2.0.6 - collect-v8-coverage: 1.0.2 - - '@jest/test-sequencer@29.7.0': - dependencies: - '@jest/test-result': 29.7.0 - graceful-fs: 4.2.11 - jest-haste-map: 29.7.0 - slash: 3.0.0 - - '@jest/transform@29.7.0': - dependencies: - '@babel/core': 7.25.2 - '@jest/types': 29.6.3 - '@jridgewell/trace-mapping': 0.3.25 - babel-plugin-istanbul: 6.1.1 - chalk: 4.1.2 - convert-source-map: 2.0.0 - fast-json-stable-stringify: 2.1.0 - graceful-fs: 4.2.11 - jest-haste-map: 29.7.0 - jest-regex-util: 29.6.3 - jest-util: 29.7.0 - micromatch: 4.0.7 - pirates: 4.0.6 - slash: 3.0.0 - write-file-atomic: 4.0.2 - transitivePeerDependencies: - - supports-color - - '@jest/types@29.6.3': - dependencies: - '@jest/schemas': 29.6.3 - '@types/istanbul-lib-coverage': 2.0.6 - '@types/istanbul-reports': 3.0.4 - '@types/node': 20.14.14 - '@types/yargs': 17.0.32 - chalk: 4.1.2 - - '@jridgewell/gen-mapping@0.3.5': - dependencies: - '@jridgewell/set-array': 1.2.1 - '@jridgewell/sourcemap-codec': 1.5.0 - '@jridgewell/trace-mapping': 0.3.25 - - '@jridgewell/resolve-uri@3.1.2': {} - - '@jridgewell/set-array@1.2.1': {} - - '@jridgewell/sourcemap-codec@1.5.0': {} - - '@jridgewell/trace-mapping@0.3.25': - dependencies: - '@jridgewell/resolve-uri': 3.1.2 - '@jridgewell/sourcemap-codec': 1.5.0 - - '@jridgewell/trace-mapping@0.3.9': - dependencies: - '@jridgewell/resolve-uri': 3.1.2 - '@jridgewell/sourcemap-codec': 1.5.0 - - '@metamask/eth-sig-util@4.0.1': - dependencies: - ethereumjs-abi: 0.6.8 - ethereumjs-util: 6.2.1 - ethjs-util: 0.1.6 - tweetnacl: 1.0.3 - tweetnacl-util: 0.15.1 - - '@noble/curves@1.2.0': - dependencies: - '@noble/hashes': 1.3.2 - - '@noble/curves@1.4.2': - dependencies: - '@noble/hashes': 1.4.0 - - '@noble/hashes@1.2.0': {} - - '@noble/hashes@1.3.2': {} - - '@noble/hashes@1.4.0': {} - - '@noble/secp256k1@1.7.1': {} - - '@nodelib/fs.scandir@2.1.5': - dependencies: - '@nodelib/fs.stat': 2.0.5 - run-parallel: 1.2.0 - - '@nodelib/fs.stat@2.0.5': {} - - '@nodelib/fs.walk@1.2.8': - dependencies: - '@nodelib/fs.scandir': 2.1.5 - fastq: 1.17.1 - - '@nomicfoundation/edr-darwin-arm64@0.5.2': {} - - '@nomicfoundation/edr-darwin-x64@0.5.2': {} - - '@nomicfoundation/edr-linux-arm64-gnu@0.5.2': {} - - '@nomicfoundation/edr-linux-arm64-musl@0.5.2': {} - - '@nomicfoundation/edr-linux-x64-gnu@0.5.2': {} - - '@nomicfoundation/edr-linux-x64-musl@0.5.2': {} - - '@nomicfoundation/edr-win32-x64-msvc@0.5.2': {} - - '@nomicfoundation/edr@0.5.2': - dependencies: - '@nomicfoundation/edr-darwin-arm64': 0.5.2 - '@nomicfoundation/edr-darwin-x64': 0.5.2 - '@nomicfoundation/edr-linux-arm64-gnu': 0.5.2 - '@nomicfoundation/edr-linux-arm64-musl': 0.5.2 - '@nomicfoundation/edr-linux-x64-gnu': 0.5.2 - '@nomicfoundation/edr-linux-x64-musl': 0.5.2 - '@nomicfoundation/edr-win32-x64-msvc': 0.5.2 - - '@nomicfoundation/ethereumjs-common@4.0.4': - dependencies: - '@nomicfoundation/ethereumjs-util': 9.0.4 - transitivePeerDependencies: - - c-kzg - - '@nomicfoundation/ethereumjs-rlp@5.0.4': {} - - '@nomicfoundation/ethereumjs-tx@5.0.4': - dependencies: - '@nomicfoundation/ethereumjs-common': 4.0.4 - '@nomicfoundation/ethereumjs-rlp': 5.0.4 - '@nomicfoundation/ethereumjs-util': 9.0.4 - ethereum-cryptography: 0.1.3 - - '@nomicfoundation/ethereumjs-util@9.0.4': - dependencies: - '@nomicfoundation/ethereumjs-rlp': 5.0.4 - ethereum-cryptography: 0.1.3 - - '@nomicfoundation/solidity-analyzer-darwin-arm64@0.1.2': - optional: true - - '@nomicfoundation/solidity-analyzer-darwin-x64@0.1.2': - optional: true - - '@nomicfoundation/solidity-analyzer-linux-arm64-gnu@0.1.2': - optional: true - - '@nomicfoundation/solidity-analyzer-linux-arm64-musl@0.1.2': - optional: true - - '@nomicfoundation/solidity-analyzer-linux-x64-gnu@0.1.2': - optional: true - - '@nomicfoundation/solidity-analyzer-linux-x64-musl@0.1.2': - optional: true - - '@nomicfoundation/solidity-analyzer-win32-x64-msvc@0.1.2': - optional: true - - '@nomicfoundation/solidity-analyzer@0.1.2': - optionalDependencies: - '@nomicfoundation/solidity-analyzer-darwin-arm64': 0.1.2 - '@nomicfoundation/solidity-analyzer-darwin-x64': 0.1.2 - '@nomicfoundation/solidity-analyzer-linux-arm64-gnu': 0.1.2 - '@nomicfoundation/solidity-analyzer-linux-arm64-musl': 0.1.2 - '@nomicfoundation/solidity-analyzer-linux-x64-gnu': 0.1.2 - '@nomicfoundation/solidity-analyzer-linux-x64-musl': 0.1.2 - '@nomicfoundation/solidity-analyzer-win32-x64-msvc': 0.1.2 - - '@pkgjs/parseargs@0.11.0': - optional: true - - '@scure/base@1.1.7': {} - - '@scure/bip32@1.1.5': - dependencies: - '@noble/hashes': 1.2.0 - '@noble/secp256k1': 1.7.1 - '@scure/base': 1.1.7 - - '@scure/bip32@1.3.2': - dependencies: - '@noble/curves': 1.2.0 - '@noble/hashes': 1.3.2 - '@scure/base': 1.1.7 - - '@scure/bip32@1.4.0': - dependencies: - '@noble/curves': 1.4.2 - '@noble/hashes': 1.4.0 - '@scure/base': 1.1.7 - - '@scure/bip39@1.1.1': - dependencies: - '@noble/hashes': 1.2.0 - '@scure/base': 1.1.7 - - '@scure/bip39@1.2.1': - dependencies: - '@noble/hashes': 1.3.2 - '@scure/base': 1.1.7 - - '@scure/bip39@1.3.0': - dependencies: - '@noble/hashes': 1.4.0 - '@scure/base': 1.1.7 - - '@sentry/core@5.30.0': - dependencies: - '@sentry/hub': 5.30.0 - '@sentry/minimal': 5.30.0 - '@sentry/types': 5.30.0 - '@sentry/utils': 5.30.0 - tslib: 1.14.1 - - '@sentry/hub@5.30.0': - dependencies: - '@sentry/types': 5.30.0 - '@sentry/utils': 5.30.0 - tslib: 1.14.1 - - '@sentry/minimal@5.30.0': - dependencies: - '@sentry/hub': 5.30.0 - '@sentry/types': 5.30.0 - tslib: 1.14.1 - - '@sentry/node@5.30.0': - dependencies: - '@sentry/core': 5.30.0 - '@sentry/hub': 5.30.0 - '@sentry/tracing': 5.30.0 - '@sentry/types': 5.30.0 - '@sentry/utils': 5.30.0 - cookie: 0.4.2 - https-proxy-agent: 5.0.1 - lru_map: 0.3.3 - tslib: 1.14.1 - transitivePeerDependencies: - - supports-color - - '@sentry/tracing@5.30.0': - dependencies: - '@sentry/hub': 5.30.0 - '@sentry/minimal': 5.30.0 - '@sentry/types': 5.30.0 - '@sentry/utils': 5.30.0 - tslib: 1.14.1 - - '@sentry/types@5.30.0': {} - - '@sentry/utils@5.30.0': - dependencies: - '@sentry/types': 5.30.0 - tslib: 1.14.1 - - '@sinclair/typebox@0.27.8': {} - - '@sinonjs/commons@3.0.1': - dependencies: - type-detect: 4.0.8 - - '@sinonjs/fake-timers@10.3.0': - dependencies: - '@sinonjs/commons': 3.0.1 - - '@solidity-parser/parser@0.18.0': {} - - '@tsconfig/node10@1.0.11': {} - - '@tsconfig/node12@1.0.11': {} - - '@tsconfig/node14@1.0.3': {} - - '@tsconfig/node16@1.0.4': {} - - '@types/babel__core@7.20.5': - dependencies: - '@babel/parser': 7.25.3 - '@babel/types': 7.25.2 - '@types/babel__generator': 7.6.8 - '@types/babel__template': 7.4.4 - '@types/babel__traverse': 7.20.6 - - '@types/babel__generator@7.6.8': - dependencies: - '@babel/types': 7.25.2 - - '@types/babel__template@7.4.4': - dependencies: - '@babel/parser': 7.25.3 - '@babel/types': 7.25.2 - - '@types/babel__traverse@7.20.6': - dependencies: - '@babel/types': 7.25.2 - - '@types/bn.js@4.11.6': - dependencies: - '@types/node': 20.14.14 - - '@types/bn.js@5.1.5': - dependencies: - '@types/node': 20.14.14 - - '@types/body-parser@1.19.5': - dependencies: - '@types/connect': 3.4.38 - '@types/node': 20.14.14 - - '@types/connect@3.4.38': - dependencies: - '@types/node': 20.14.14 - - '@types/cookiejar@2.1.5': {} - - '@types/express-serve-static-core@4.19.5': - dependencies: - '@types/node': 20.14.14 - '@types/qs': 6.9.15 - '@types/range-parser': 1.2.7 - '@types/send': 0.17.4 - - '@types/express@4.17.21': - dependencies: - '@types/body-parser': 1.19.5 - '@types/express-serve-static-core': 4.19.5 - '@types/qs': 6.9.15 - '@types/serve-static': 1.15.7 - - '@types/glob@7.2.0': - dependencies: - '@types/minimatch': 5.1.2 - '@types/node': 20.14.14 - - '@types/graceful-fs@4.1.9': - dependencies: - '@types/node': 20.14.14 - - '@types/http-errors@2.0.4': {} - - '@types/istanbul-lib-coverage@2.0.6': {} - - '@types/istanbul-lib-report@3.0.3': - dependencies: - '@types/istanbul-lib-coverage': 2.0.6 - - '@types/istanbul-reports@3.0.4': - dependencies: - '@types/istanbul-lib-report': 3.0.3 - - '@types/jest@29.5.12': - dependencies: - expect: 29.7.0 - pretty-format: 29.7.0 - - '@types/lru-cache@5.1.1': {} - - '@types/methods@1.1.4': {} - - '@types/mime@1.3.5': {} - - '@types/minimatch@5.1.2': {} - - '@types/mocha@10.0.7': {} - - '@types/node@20.14.14': - dependencies: - undici-types: 5.26.5 - - '@types/pbkdf2@3.1.2': - dependencies: - '@types/node': 20.14.14 - - '@types/qs@6.9.15': {} - - '@types/range-parser@1.2.7': {} - - '@types/secp256k1@4.0.6': - dependencies: - '@types/node': 20.14.14 - - '@types/send@0.17.4': - dependencies: - '@types/mime': 1.3.5 - '@types/node': 20.14.14 - - '@types/serve-static@1.15.7': - dependencies: - '@types/http-errors': 2.0.4 - '@types/node': 20.14.14 - '@types/send': 0.17.4 - - '@types/stack-utils@2.0.3': {} - - '@types/superagent@8.1.8': - dependencies: - '@types/cookiejar': 2.1.5 - '@types/methods': 1.1.4 - '@types/node': 20.14.14 - form-data: 4.0.0 - - '@types/supertest@6.0.2': - dependencies: - '@types/methods': 1.1.4 - '@types/superagent': 8.1.8 - - '@types/ws@8.5.3': - dependencies: - '@types/node': 20.14.14 - - '@types/yargs-parser@21.0.3': {} - - '@types/yargs@17.0.32': - dependencies: - '@types/yargs-parser': 21.0.3 - - abbrev@1.0.9: {} - - abitype@0.7.1(typescript@5.5.4): - dependencies: - typescript: 5.5.4 - - abitype@1.0.0(typescript@5.5.4): - dependencies: - typescript: 5.5.4 - - accepts@1.3.8: - dependencies: - mime-types: 2.1.35 - negotiator: 0.6.3 - - acorn-walk@8.3.3: - dependencies: - acorn: 8.12.1 - - acorn@8.12.1: {} - - adm-zip@0.4.16: {} - - aes-js@3.0.0: {} - - agent-base@6.0.2: - dependencies: - debug: 4.3.6(supports-color@8.1.1) - transitivePeerDependencies: - - supports-color - - aggregate-error@3.1.0: - dependencies: - clean-stack: 2.2.0 - indent-string: 4.0.0 - - amdefine@1.0.1: - optional: true - - ansi-align@3.0.1: - dependencies: - string-width: 4.2.3 - - ansi-colors@4.1.3: {} - - ansi-escapes@4.3.2: - dependencies: - type-fest: 0.21.3 - - ansi-regex@5.0.1: {} - - ansi-regex@6.0.1: {} - - ansi-styles@3.2.1: - dependencies: - color-convert: 1.9.3 - - ansi-styles@4.3.0: - dependencies: - color-convert: 2.0.1 - - ansi-styles@5.2.0: {} - - ansi-styles@6.2.1: {} - - anymatch@3.1.3: - dependencies: - normalize-path: 3.0.0 - picomatch: 2.3.1 - - arg@4.1.3: {} - - argparse@1.0.10: - dependencies: - sprintf-js: 1.0.3 - - argparse@2.0.1: {} - - array-flatten@1.1.1: {} - - array-union@2.1.0: {} - - asap@2.0.6: {} - - async@1.5.2: {} - - async@3.2.5: {} - - asynckit@0.4.0: {} - - available-typed-arrays@1.0.7: - dependencies: - possible-typed-array-names: 1.0.0 - - axios-mock-adapter@1.22.0(axios@1.7.3): - dependencies: - axios: 1.7.3 - fast-deep-equal: 3.1.3 - is-buffer: 2.0.5 - - axios@1.7.3: - dependencies: - follow-redirects: 1.15.6(debug@4.3.6) - form-data: 4.0.0 - proxy-from-env: 1.1.0 - transitivePeerDependencies: - - debug - - babel-jest@29.7.0(@babel/core@7.25.2): - dependencies: - '@babel/core': 7.25.2 - '@jest/transform': 29.7.0 - '@types/babel__core': 7.20.5 - babel-plugin-istanbul: 6.1.1 - babel-preset-jest: 29.6.3(@babel/core@7.25.2) - chalk: 4.1.2 - graceful-fs: 4.2.11 - slash: 3.0.0 - transitivePeerDependencies: - - supports-color - - babel-plugin-istanbul@6.1.1: - dependencies: - '@babel/helper-plugin-utils': 7.24.8 - '@istanbuljs/load-nyc-config': 1.1.0 - '@istanbuljs/schema': 0.1.3 - istanbul-lib-instrument: 5.2.1 - test-exclude: 6.0.0 - transitivePeerDependencies: - - supports-color - - babel-plugin-jest-hoist@29.6.3: - dependencies: - '@babel/template': 7.25.0 - '@babel/types': 7.25.2 - '@types/babel__core': 7.20.5 - '@types/babel__traverse': 7.20.6 - - babel-preset-current-node-syntax@1.0.1(@babel/core@7.25.2): - dependencies: - '@babel/core': 7.25.2 - '@babel/plugin-syntax-async-generators': 7.8.4(@babel/core@7.25.2) - '@babel/plugin-syntax-bigint': 7.8.3(@babel/core@7.25.2) - '@babel/plugin-syntax-class-properties': 7.12.13(@babel/core@7.25.2) - '@babel/plugin-syntax-import-meta': 7.10.4(@babel/core@7.25.2) - '@babel/plugin-syntax-json-strings': 7.8.3(@babel/core@7.25.2) - '@babel/plugin-syntax-logical-assignment-operators': 7.10.4(@babel/core@7.25.2) - '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3(@babel/core@7.25.2) - '@babel/plugin-syntax-numeric-separator': 7.10.4(@babel/core@7.25.2) - '@babel/plugin-syntax-object-rest-spread': 7.8.3(@babel/core@7.25.2) - '@babel/plugin-syntax-optional-catch-binding': 7.8.3(@babel/core@7.25.2) - '@babel/plugin-syntax-optional-chaining': 7.8.3(@babel/core@7.25.2) - '@babel/plugin-syntax-top-level-await': 7.14.5(@babel/core@7.25.2) - - babel-preset-jest@29.6.3(@babel/core@7.25.2): - dependencies: - '@babel/core': 7.25.2 - babel-plugin-jest-hoist: 29.6.3 - babel-preset-current-node-syntax: 1.0.1(@babel/core@7.25.2) - - balanced-match@1.0.2: {} - - base-x@3.0.10: - dependencies: - safe-buffer: 5.2.1 - - bech32@1.1.4: {} - - binary-extensions@2.3.0: {} - - blakejs@1.2.1: {} - - bn.js@4.11.6: {} - - bn.js@4.12.0: {} - - bn.js@5.2.1: {} - - body-parser@1.20.2: - dependencies: - bytes: 3.1.2 - content-type: 1.0.5 - debug: 2.6.9 - depd: 2.0.0 - destroy: 1.2.0 - http-errors: 2.0.0 - iconv-lite: 0.4.24 - on-finished: 2.4.1 - qs: 6.11.0 - raw-body: 2.5.2 - type-is: 1.6.18 - unpipe: 1.0.0 - transitivePeerDependencies: - - supports-color - - boxen@5.1.2: - dependencies: - ansi-align: 3.0.1 - camelcase: 6.3.0 - chalk: 4.1.2 - cli-boxes: 2.2.1 - string-width: 4.2.3 - type-fest: 0.20.2 - widest-line: 3.1.0 - wrap-ansi: 7.0.0 - - brace-expansion@1.1.11: - dependencies: - balanced-match: 1.0.2 - concat-map: 0.0.1 - - brace-expansion@2.0.1: - dependencies: - balanced-match: 1.0.2 - - braces@3.0.3: - dependencies: - fill-range: 7.1.1 - - brorand@1.1.0: {} - - brotli-wasm@2.0.1: {} - - browser-stdout@1.3.1: {} - - browserify-aes@1.2.0: - dependencies: - buffer-xor: 1.0.3 - cipher-base: 1.0.4 - create-hash: 1.2.0 - evp_bytestokey: 1.0.3 - inherits: 2.0.4 - safe-buffer: 5.2.1 - - browserslist@4.23.3: - dependencies: - caniuse-lite: 1.0.30001649 - electron-to-chromium: 1.5.5 - node-releases: 2.0.18 - update-browserslist-db: 1.1.0(browserslist@4.23.3) - - bs-logger@0.2.6: - dependencies: - fast-json-stable-stringify: 2.1.0 - - bs58@4.0.1: - dependencies: - base-x: 3.0.10 - - bs58check@2.1.2: - dependencies: - bs58: 4.0.1 - create-hash: 1.2.0 - safe-buffer: 5.2.1 - - bser@2.1.1: - dependencies: - node-int64: 0.4.0 - - buffer-from@1.1.2: {} - - buffer-xor@1.0.3: {} - - bytes@3.1.2: {} - - call-bind@1.0.7: - dependencies: - es-define-property: 1.0.0 - es-errors: 1.3.0 - function-bind: 1.1.2 - get-intrinsic: 1.2.4 - set-function-length: 1.2.2 - - callsites@3.1.0: {} - - camelcase@5.3.1: {} - - camelcase@6.3.0: {} - - caniuse-lite@1.0.30001649: {} - - chalk@2.4.2: - dependencies: - ansi-styles: 3.2.1 - escape-string-regexp: 1.0.5 - supports-color: 5.5.0 - - chalk@4.1.2: - dependencies: - ansi-styles: 4.3.0 - supports-color: 7.2.0 - - char-regex@1.0.2: {} - - charenc@0.0.2: {} - - chokidar@3.6.0: - dependencies: - anymatch: 3.1.3 - braces: 3.0.3 - glob-parent: 5.1.2 - is-binary-path: 2.1.0 - is-glob: 4.0.3 - normalize-path: 3.0.0 - readdirp: 3.6.0 - optionalDependencies: - fsevents: 2.3.3 - - ci-info@2.0.0: {} - - ci-info@3.9.0: {} - - cipher-base@1.0.4: - dependencies: - inherits: 2.0.4 - safe-buffer: 5.2.1 - - cjs-module-lexer@1.3.1: {} - - clean-stack@2.2.0: {} - - cli-boxes@2.2.1: {} - - cli-table3@0.6.5: - dependencies: - string-width: 4.2.3 - optionalDependencies: - '@colors/colors': 1.5.0 - - cliui@7.0.4: - dependencies: - string-width: 4.2.3 - strip-ansi: 6.0.1 - wrap-ansi: 7.0.0 - - cliui@8.0.1: - dependencies: - string-width: 4.2.3 - strip-ansi: 6.0.1 - wrap-ansi: 7.0.0 - - co@4.6.0: {} - - collect-v8-coverage@1.0.2: {} - - color-convert@1.9.3: - dependencies: - color-name: 1.1.3 - - color-convert@2.0.1: - dependencies: - color-name: 1.1.4 - - color-name@1.1.3: {} - - color-name@1.1.4: {} - - combined-stream@1.0.8: - dependencies: - delayed-stream: 1.0.0 - - command-exists@1.2.9: {} - - commander@8.3.0: {} - - component-emitter@1.3.1: {} - - concat-map@0.0.1: {} - - content-disposition@0.5.4: - dependencies: - safe-buffer: 5.2.1 - - content-type@1.0.5: {} - - convert-source-map@2.0.0: {} - - cookie-signature@1.0.6: {} - - cookie@0.4.2: {} - - cookie@0.6.0: {} - - cookiejar@2.1.4: {} - - crc-32@1.2.2: {} - - create-hash@1.2.0: - dependencies: - cipher-base: 1.0.4 - inherits: 2.0.4 - md5.js: 1.3.5 - ripemd160: 2.0.2 - sha.js: 2.4.11 - - create-hmac@1.1.7: - dependencies: - cipher-base: 1.0.4 - create-hash: 1.2.0 - inherits: 2.0.4 - ripemd160: 2.0.2 - safe-buffer: 5.2.1 - sha.js: 2.4.11 - - create-jest@29.7.0(@types/node@20.14.14)(ts-node@10.9.2): - dependencies: - '@jest/types': 29.6.3 - chalk: 4.1.2 - exit: 0.1.2 - graceful-fs: 4.2.11 - jest-config: 29.7.0(@types/node@20.14.14)(ts-node@10.9.2) - jest-util: 29.7.0 - prompts: 2.4.2 - transitivePeerDependencies: - - '@types/node' - - babel-plugin-macros - - supports-color - - ts-node - - create-require@1.1.1: {} - - cross-fetch@4.0.0: - dependencies: - node-fetch: 2.7.0 - transitivePeerDependencies: - - encoding - - cross-spawn@7.0.3: - dependencies: - path-key: 3.1.1 - shebang-command: 2.0.0 - which: 2.0.2 - - crypt@0.0.2: {} - - death@1.1.0: {} - - debug@2.6.9: - dependencies: - ms: 2.0.0 - - debug@4.3.6(supports-color@8.1.1): - dependencies: - ms: 2.1.2 - supports-color: 8.1.1 - - decamelize@4.0.0: {} - - dedent@1.5.3: {} - - deep-is@0.1.4: {} - - deepmerge@4.3.1: {} - - define-data-property@1.1.4: - dependencies: - es-define-property: 1.0.0 - es-errors: 1.3.0 - gopd: 1.0.1 - - delayed-stream@1.0.0: {} - - depd@2.0.0: {} - - destroy@1.2.0: {} - - detect-newline@3.1.0: {} - - dezalgo@1.0.4: - dependencies: - asap: 2.0.6 - wrappy: 1.0.2 - - diff-sequences@29.6.3: {} - - diff@4.0.2: {} - - diff@5.2.0: {} - - difflib@0.2.4: - dependencies: - heap: 0.2.7 - - dir-glob@3.0.1: - dependencies: - path-type: 4.0.0 - - dotenv@16.4.5: {} - - eastasianwidth@0.2.0: {} - - ee-first@1.1.1: {} - - ejs@3.1.10: - dependencies: - jake: 10.9.2 - - electron-to-chromium@1.5.5: {} - - elliptic@6.5.4: - dependencies: - bn.js: 4.12.0 - brorand: 1.1.0 - hash.js: 1.1.7 - hmac-drbg: 1.0.1 - inherits: 2.0.4 - minimalistic-assert: 1.0.1 - minimalistic-crypto-utils: 1.0.1 - - elliptic@6.5.6: - dependencies: - bn.js: 4.12.0 - brorand: 1.1.0 - hash.js: 1.1.7 - hmac-drbg: 1.0.1 - inherits: 2.0.4 - minimalistic-assert: 1.0.1 - minimalistic-crypto-utils: 1.0.1 - - emittery@0.13.1: {} - - emoji-regex@8.0.0: {} - - emoji-regex@9.2.2: {} - - encodeurl@1.0.2: {} - - enquirer@2.4.1: - dependencies: - ansi-colors: 4.1.3 - strip-ansi: 6.0.1 - - env-paths@2.2.1: {} - - error-ex@1.3.2: - dependencies: - is-arrayish: 0.2.1 - - es-define-property@1.0.0: - dependencies: - get-intrinsic: 1.2.4 - - es-errors@1.3.0: {} - - escalade@3.1.2: {} - - escape-html@1.0.3: {} - - escape-string-regexp@1.0.5: {} - - escape-string-regexp@2.0.0: {} - - escape-string-regexp@4.0.0: {} - - escodegen@1.8.1: - dependencies: - esprima: 2.7.3 - estraverse: 1.9.3 - esutils: 2.0.3 - optionator: 0.8.3 - optionalDependencies: - source-map: 0.2.0 - - esprima@2.7.3: {} - - esprima@4.0.1: {} - - estraverse@1.9.3: {} - - esutils@2.0.3: {} - - etag@1.8.1: {} - - ethereum-bloom-filters@1.2.0: - dependencies: - '@noble/hashes': 1.4.0 - - ethereum-cryptography@0.1.3: - dependencies: - '@types/pbkdf2': 3.1.2 - '@types/secp256k1': 4.0.6 - blakejs: 1.2.1 - browserify-aes: 1.2.0 - bs58check: 2.1.2 - create-hash: 1.2.0 - create-hmac: 1.1.7 - hash.js: 1.1.7 - keccak: 3.0.4 - pbkdf2: 3.1.2 - randombytes: 2.1.0 - safe-buffer: 5.2.1 - scrypt-js: 3.0.1 - secp256k1: 4.0.3 - setimmediate: 1.0.5 - - ethereum-cryptography@1.2.0: - dependencies: - '@noble/hashes': 1.2.0 - '@noble/secp256k1': 1.7.1 - '@scure/bip32': 1.1.5 - '@scure/bip39': 1.1.1 - - ethereum-cryptography@2.2.1: - dependencies: - '@noble/curves': 1.4.2 - '@noble/hashes': 1.4.0 - '@scure/bip32': 1.4.0 - '@scure/bip39': 1.3.0 - - ethereumjs-abi@0.6.8: - dependencies: - bn.js: 4.12.0 - ethereumjs-util: 6.2.1 - - ethereumjs-util@6.2.1: - dependencies: - '@types/bn.js': 4.11.6 - bn.js: 4.12.0 - create-hash: 1.2.0 - elliptic: 6.5.6 - ethereum-cryptography: 0.1.3 - ethjs-util: 0.1.6 - rlp: 2.2.7 - - ethers@5.7.2: - dependencies: - '@ethersproject/abi': 5.7.0 - '@ethersproject/abstract-provider': 5.7.0 - '@ethersproject/abstract-signer': 5.7.0 - '@ethersproject/address': 5.7.0 - '@ethersproject/base64': 5.7.0 - '@ethersproject/basex': 5.7.0 - '@ethersproject/bignumber': 5.7.0 - '@ethersproject/bytes': 5.7.0 - '@ethersproject/constants': 5.7.0 - '@ethersproject/contracts': 5.7.0 - '@ethersproject/hash': 5.7.0 - '@ethersproject/hdnode': 5.7.0 - '@ethersproject/json-wallets': 5.7.0 - '@ethersproject/keccak256': 5.7.0 - '@ethersproject/logger': 5.7.0 - '@ethersproject/networks': 5.7.1 - '@ethersproject/pbkdf2': 5.7.0 - '@ethersproject/properties': 5.7.0 - '@ethersproject/providers': 5.7.2 - '@ethersproject/random': 5.7.0 - '@ethersproject/rlp': 5.7.0 - '@ethersproject/sha2': 5.7.0 - '@ethersproject/signing-key': 5.7.0 - '@ethersproject/solidity': 5.7.0 - '@ethersproject/strings': 5.7.0 - '@ethersproject/transactions': 5.7.0 - '@ethersproject/units': 5.7.0 - '@ethersproject/wallet': 5.7.0 - '@ethersproject/web': 5.7.1 - '@ethersproject/wordlists': 5.7.0 - transitivePeerDependencies: - - bufferutil - - utf-8-validate - - ethjs-unit@0.1.6: - dependencies: - bn.js: 4.11.6 - number-to-bn: 1.7.0 - - ethjs-util@0.1.6: - dependencies: - is-hex-prefixed: 1.0.0 - strip-hex-prefix: 1.0.0 - - eventemitter3@5.0.1: {} - - evp_bytestokey@1.0.3: - dependencies: - md5.js: 1.3.5 - safe-buffer: 5.2.1 - - execa@5.1.1: - dependencies: - cross-spawn: 7.0.3 - get-stream: 6.0.1 - human-signals: 2.1.0 - is-stream: 2.0.1 - merge-stream: 2.0.0 - npm-run-path: 4.0.1 - onetime: 5.1.2 - signal-exit: 3.0.7 - strip-final-newline: 2.0.0 - - exit@0.1.2: {} - - expect@29.7.0: - dependencies: - '@jest/expect-utils': 29.7.0 - jest-get-type: 29.6.3 - jest-matcher-utils: 29.7.0 - jest-message-util: 29.7.0 - jest-util: 29.7.0 - - express@4.19.2: - dependencies: - accepts: 1.3.8 - array-flatten: 1.1.1 - body-parser: 1.20.2 - content-disposition: 0.5.4 - content-type: 1.0.5 - cookie: 0.6.0 - cookie-signature: 1.0.6 - debug: 2.6.9 - depd: 2.0.0 - encodeurl: 1.0.2 - escape-html: 1.0.3 - etag: 1.8.1 - finalhandler: 1.2.0 - fresh: 0.5.2 - http-errors: 2.0.0 - merge-descriptors: 1.0.1 - methods: 1.1.2 - on-finished: 2.4.1 - parseurl: 1.3.3 - path-to-regexp: 0.1.7 - proxy-addr: 2.0.7 - qs: 6.11.0 - range-parser: 1.2.1 - safe-buffer: 5.2.1 - send: 0.18.0 - serve-static: 1.15.0 - setprototypeof: 1.2.0 - statuses: 2.0.1 - type-is: 1.6.18 - utils-merge: 1.0.1 - vary: 1.1.2 - transitivePeerDependencies: - - supports-color - - fast-deep-equal@3.1.3: {} - - fast-glob@3.3.2: - dependencies: - '@nodelib/fs.stat': 2.0.5 - '@nodelib/fs.walk': 1.2.8 - glob-parent: 5.1.2 - merge2: 1.4.1 - micromatch: 4.0.7 - - fast-json-stable-stringify@2.1.0: {} - - fast-levenshtein@2.0.6: {} - - fast-safe-stringify@2.1.1: {} - - fastq@1.17.1: - dependencies: - reusify: 1.0.4 - - fb-watchman@2.0.2: - dependencies: - bser: 2.1.1 - - filelist@1.0.4: - dependencies: - minimatch: 5.1.6 - - fill-range@7.1.1: - dependencies: - to-regex-range: 5.0.1 - - finalhandler@1.2.0: - dependencies: - debug: 2.6.9 - encodeurl: 1.0.2 - escape-html: 1.0.3 - on-finished: 2.4.1 - parseurl: 1.3.3 - statuses: 2.0.1 - unpipe: 1.0.0 - transitivePeerDependencies: - - supports-color - - find-up@2.1.0: - dependencies: - locate-path: 2.0.0 - - find-up@4.1.0: - dependencies: - locate-path: 5.0.0 - path-exists: 4.0.0 - - find-up@5.0.0: - dependencies: - locate-path: 6.0.0 - path-exists: 4.0.0 - - flat@5.0.2: {} - - follow-redirects@1.15.6(debug@4.3.6): - dependencies: - debug: 4.3.6(supports-color@8.1.1) - - for-each@0.3.3: - dependencies: - is-callable: 1.2.7 - - foreground-child@3.2.1: - dependencies: - cross-spawn: 7.0.3 - signal-exit: 4.1.0 - - form-data@4.0.0: - dependencies: - asynckit: 0.4.0 - combined-stream: 1.0.8 - mime-types: 2.1.35 - - formidable@3.5.1: - dependencies: - dezalgo: 1.0.4 - hexoid: 1.0.0 - once: 1.4.0 - - forwarded@0.2.0: {} - - fp-ts@1.19.3: {} - - fresh@0.5.2: {} - - fs-extra@7.0.1: - dependencies: - graceful-fs: 4.2.11 - jsonfile: 4.0.0 - universalify: 0.1.2 - - fs-extra@8.1.0: - dependencies: - graceful-fs: 4.2.11 - jsonfile: 4.0.0 - universalify: 0.1.2 - - fs.realpath@1.0.0: {} - - fsevents@2.3.3: - optional: true - - function-bind@1.1.2: {} - - gensync@1.0.0-beta.2: {} - - get-caller-file@2.0.5: {} - - get-intrinsic@1.2.4: - dependencies: - es-errors: 1.3.0 - function-bind: 1.1.2 - has-proto: 1.0.3 - has-symbols: 1.0.3 - hasown: 2.0.2 - - get-package-type@0.1.0: {} - - get-stream@6.0.1: {} - - ghost-testrpc@0.0.2: - dependencies: - chalk: 2.4.2 - node-emoji: 1.11.0 - - glob-parent@5.1.2: - dependencies: - is-glob: 4.0.3 - - glob@10.4.5: - dependencies: - foreground-child: 3.2.1 - jackspeak: 3.4.3 - minimatch: 9.0.5 - minipass: 7.1.2 - package-json-from-dist: 1.0.0 - path-scurry: 1.11.1 - - glob@5.0.15: - dependencies: - inflight: 1.0.6 - inherits: 2.0.4 - minimatch: 3.1.2 - once: 1.4.0 - path-is-absolute: 1.0.1 - - glob@7.2.0: - dependencies: - fs.realpath: 1.0.0 - inflight: 1.0.6 - inherits: 2.0.4 - minimatch: 3.1.2 - once: 1.4.0 - path-is-absolute: 1.0.1 - - glob@7.2.3: - dependencies: - fs.realpath: 1.0.0 - inflight: 1.0.6 - inherits: 2.0.4 - minimatch: 3.1.2 - once: 1.4.0 - path-is-absolute: 1.0.1 - - glob@8.1.0: - dependencies: - fs.realpath: 1.0.0 - inflight: 1.0.6 - inherits: 2.0.4 - minimatch: 5.1.6 - once: 1.4.0 - - global-modules@2.0.0: - dependencies: - global-prefix: 3.0.0 - - global-prefix@3.0.0: - dependencies: - ini: 1.3.8 - kind-of: 6.0.3 - which: 1.3.1 - - globals@11.12.0: {} - - globby@10.0.2: - dependencies: - '@types/glob': 7.2.0 - array-union: 2.1.0 - dir-glob: 3.0.1 - fast-glob: 3.3.2 - glob: 7.2.3 - ignore: 5.3.1 - merge2: 1.4.1 - slash: 3.0.0 - - gopd@1.0.1: - dependencies: - get-intrinsic: 1.2.4 - - graceful-fs@4.2.11: {} - - handlebars@4.7.8: - dependencies: - minimist: 1.2.8 - neo-async: 2.6.2 - source-map: 0.6.1 - wordwrap: 1.0.0 - optionalDependencies: - uglify-js: 3.19.1 - - hardhat-gas-reporter@2.2.0(hardhat@2.22.7)(typescript@5.5.4): - dependencies: - '@ethersproject/abi': 5.7.0 - '@ethersproject/bytes': 5.7.0 - '@ethersproject/units': 5.7.0 - '@solidity-parser/parser': 0.18.0 - axios: 1.7.3 - brotli-wasm: 2.0.1 - chalk: 4.1.2 - cli-table3: 0.6.5 - ethereum-cryptography: 2.2.1 - glob: 10.4.5 - hardhat: 2.22.7(ts-node@10.9.2)(typescript@5.5.4) - jsonschema: 1.4.1 - lodash: 4.17.21 - markdown-table: 2.0.0 - sha1: 1.1.1 - viem: 2.7.14(typescript@5.5.4) - transitivePeerDependencies: - - bufferutil - - debug - - typescript - - utf-8-validate - - zod - - hardhat@2.22.7(ts-node@10.9.2)(typescript@5.5.4): - dependencies: - '@ethersproject/abi': 5.7.0 - '@metamask/eth-sig-util': 4.0.1 - '@nomicfoundation/edr': 0.5.2 - '@nomicfoundation/ethereumjs-common': 4.0.4 - '@nomicfoundation/ethereumjs-tx': 5.0.4 - '@nomicfoundation/ethereumjs-util': 9.0.4 - '@nomicfoundation/solidity-analyzer': 0.1.2 - '@sentry/node': 5.30.0 - '@types/bn.js': 5.1.5 - '@types/lru-cache': 5.1.1 - adm-zip: 0.4.16 - aggregate-error: 3.1.0 - ansi-escapes: 4.3.2 - boxen: 5.1.2 - chalk: 2.4.2 - chokidar: 3.6.0 - ci-info: 2.0.0 - debug: 4.3.6(supports-color@8.1.1) - enquirer: 2.4.1 - env-paths: 2.2.1 - ethereum-cryptography: 1.2.0 - ethereumjs-abi: 0.6.8 - find-up: 2.1.0 - fp-ts: 1.19.3 - fs-extra: 7.0.1 - glob: 7.2.0 - immutable: 4.3.7 - io-ts: 1.10.4 - keccak: 3.0.4 - lodash: 4.17.21 - mnemonist: 0.38.5 - mocha: 10.7.0 - p-map: 4.0.0 - raw-body: 2.5.2 - resolve: 1.17.0 - semver: 6.3.1 - solc: 0.8.26(debug@4.3.6) - source-map-support: 0.5.21 - stacktrace-parser: 0.1.10 - ts-node: 10.9.2(@types/node@20.14.14)(typescript@5.5.4) - tsort: 0.0.1 - typescript: 5.5.4 - undici: 5.28.4 - uuid: 8.3.2 - ws: 7.5.10 - transitivePeerDependencies: - - bufferutil - - c-kzg - - supports-color - - utf-8-validate - - has-flag@1.0.0: {} - - has-flag@3.0.0: {} - - has-flag@4.0.0: {} - - has-property-descriptors@1.0.2: - dependencies: - es-define-property: 1.0.0 - - has-proto@1.0.3: {} - - has-symbols@1.0.3: {} - - has-tostringtag@1.0.2: - dependencies: - has-symbols: 1.0.3 - - hash-base@3.1.0: - dependencies: - inherits: 2.0.4 - readable-stream: 3.6.2 - safe-buffer: 5.2.1 - - hash.js@1.1.7: - dependencies: - inherits: 2.0.4 - minimalistic-assert: 1.0.1 - - hasown@2.0.2: - dependencies: - function-bind: 1.1.2 - - he@1.2.0: {} - - heap@0.2.7: {} - - hexoid@1.0.0: {} - - hmac-drbg@1.0.1: - dependencies: - hash.js: 1.1.7 - minimalistic-assert: 1.0.1 - minimalistic-crypto-utils: 1.0.1 - - html-escaper@2.0.2: {} - - http-errors@2.0.0: - dependencies: - depd: 2.0.0 - inherits: 2.0.4 - setprototypeof: 1.2.0 - statuses: 2.0.1 - toidentifier: 1.0.1 - - https-proxy-agent@5.0.1: - dependencies: - agent-base: 6.0.2 - debug: 4.3.6(supports-color@8.1.1) - transitivePeerDependencies: - - supports-color - - human-signals@2.1.0: {} - - iconv-lite@0.4.24: - dependencies: - safer-buffer: 2.1.2 - - ignore@5.3.1: {} - - immutable@4.3.7: {} - - import-local@3.2.0: - dependencies: - pkg-dir: 4.2.0 - resolve-cwd: 3.0.0 - - imurmurhash@0.1.4: {} - - indent-string@4.0.0: {} - - inflight@1.0.6: - dependencies: - once: 1.4.0 - wrappy: 1.0.2 - - inherits@2.0.4: {} - - ini@1.3.8: {} - - interpret@1.4.0: {} - - io-ts@1.10.4: - dependencies: - fp-ts: 1.19.3 - - ipaddr.js@1.9.1: {} - - is-arguments@1.1.1: - dependencies: - call-bind: 1.0.7 - has-tostringtag: 1.0.2 - - is-arrayish@0.2.1: {} - - is-binary-path@2.1.0: - dependencies: - binary-extensions: 2.3.0 - - is-buffer@2.0.5: {} - - is-callable@1.2.7: {} - - is-core-module@2.15.0: - dependencies: - hasown: 2.0.2 - - is-extglob@2.1.1: {} - - is-fullwidth-code-point@3.0.0: {} - - is-generator-fn@2.1.0: {} - - is-generator-function@1.0.10: - dependencies: - has-tostringtag: 1.0.2 - - is-glob@4.0.3: - dependencies: - is-extglob: 2.1.1 - - is-hex-prefixed@1.0.0: {} - - is-number@7.0.0: {} - - is-plain-obj@2.1.0: {} - - is-stream@2.0.1: {} - - is-typed-array@1.1.13: - dependencies: - which-typed-array: 1.1.15 - - is-unicode-supported@0.1.0: {} - - isexe@2.0.0: {} - - isomorphic-ws@5.0.0(ws@8.18.0): - dependencies: - ws: 8.18.0 - - isows@1.0.3(ws@8.13.0): - dependencies: - ws: 8.13.0 - - istanbul-lib-coverage@3.2.2: {} - - istanbul-lib-instrument@5.2.1: - dependencies: - '@babel/core': 7.25.2 - '@babel/parser': 7.25.3 - '@istanbuljs/schema': 0.1.3 - istanbul-lib-coverage: 3.2.2 - semver: 6.3.1 - transitivePeerDependencies: - - supports-color - - istanbul-lib-instrument@6.0.3: - dependencies: - '@babel/core': 7.25.2 - '@babel/parser': 7.25.3 - '@istanbuljs/schema': 0.1.3 - istanbul-lib-coverage: 3.2.2 - semver: 7.6.3 - transitivePeerDependencies: - - supports-color - - istanbul-lib-report@3.0.1: - dependencies: - istanbul-lib-coverage: 3.2.2 - make-dir: 4.0.0 - supports-color: 7.2.0 - - istanbul-lib-source-maps@4.0.1: - dependencies: - debug: 4.3.6(supports-color@8.1.1) - istanbul-lib-coverage: 3.2.2 - source-map: 0.6.1 - transitivePeerDependencies: - - supports-color - - istanbul-reports@3.1.7: - dependencies: - html-escaper: 2.0.2 - istanbul-lib-report: 3.0.1 - - jackspeak@3.4.3: - dependencies: - '@isaacs/cliui': 8.0.2 - optionalDependencies: - '@pkgjs/parseargs': 0.11.0 - - jake@10.9.2: - dependencies: - async: 3.2.5 - chalk: 4.1.2 - filelist: 1.0.4 - minimatch: 3.1.2 - - jest-changed-files@29.7.0: - dependencies: - execa: 5.1.1 - jest-util: 29.7.0 - p-limit: 3.1.0 - - jest-circus@29.7.0: - dependencies: - '@jest/environment': 29.7.0 - '@jest/expect': 29.7.0 - '@jest/test-result': 29.7.0 - '@jest/types': 29.6.3 - '@types/node': 20.14.14 - chalk: 4.1.2 - co: 4.6.0 - dedent: 1.5.3 - is-generator-fn: 2.1.0 - jest-each: 29.7.0 - jest-matcher-utils: 29.7.0 - jest-message-util: 29.7.0 - jest-runtime: 29.7.0 - jest-snapshot: 29.7.0 - jest-util: 29.7.0 - p-limit: 3.1.0 - pretty-format: 29.7.0 - pure-rand: 6.1.0 - slash: 3.0.0 - stack-utils: 2.0.6 - transitivePeerDependencies: - - babel-plugin-macros - - supports-color - - jest-cli@29.7.0(@types/node@20.14.14)(ts-node@10.9.2): - dependencies: - '@jest/core': 29.7.0(ts-node@10.9.2) - '@jest/test-result': 29.7.0 - '@jest/types': 29.6.3 - chalk: 4.1.2 - create-jest: 29.7.0(@types/node@20.14.14)(ts-node@10.9.2) - exit: 0.1.2 - import-local: 3.2.0 - jest-config: 29.7.0(@types/node@20.14.14)(ts-node@10.9.2) - jest-util: 29.7.0 - jest-validate: 29.7.0 - yargs: 17.7.2 - transitivePeerDependencies: - - '@types/node' - - babel-plugin-macros - - supports-color - - ts-node - - jest-config@29.7.0(@types/node@20.14.14)(ts-node@10.9.2): - dependencies: - '@babel/core': 7.25.2 - '@jest/test-sequencer': 29.7.0 - '@jest/types': 29.6.3 - '@types/node': 20.14.14 - babel-jest: 29.7.0(@babel/core@7.25.2) - chalk: 4.1.2 - ci-info: 3.9.0 - deepmerge: 4.3.1 - glob: 7.2.3 - graceful-fs: 4.2.11 - jest-circus: 29.7.0 - jest-environment-node: 29.7.0 - jest-get-type: 29.6.3 - jest-regex-util: 29.6.3 - jest-resolve: 29.7.0 - jest-runner: 29.7.0 - jest-util: 29.7.0 - jest-validate: 29.7.0 - micromatch: 4.0.7 - parse-json: 5.2.0 - pretty-format: 29.7.0 - slash: 3.0.0 - strip-json-comments: 3.1.1 - ts-node: 10.9.2(@types/node@20.14.14)(typescript@5.5.4) - transitivePeerDependencies: - - babel-plugin-macros - - supports-color - - jest-diff@29.7.0: - dependencies: - chalk: 4.1.2 - diff-sequences: 29.6.3 - jest-get-type: 29.6.3 - pretty-format: 29.7.0 - - jest-docblock@29.7.0: - dependencies: - detect-newline: 3.1.0 - - jest-each@29.7.0: - dependencies: - '@jest/types': 29.6.3 - chalk: 4.1.2 - jest-get-type: 29.6.3 - jest-util: 29.7.0 - pretty-format: 29.7.0 - - jest-environment-node@29.7.0: - dependencies: - '@jest/environment': 29.7.0 - '@jest/fake-timers': 29.7.0 - '@jest/types': 29.6.3 - '@types/node': 20.14.14 - jest-mock: 29.7.0 - jest-util: 29.7.0 - - jest-get-type@29.6.3: {} - - jest-haste-map@29.7.0: - dependencies: - '@jest/types': 29.6.3 - '@types/graceful-fs': 4.1.9 - '@types/node': 20.14.14 - anymatch: 3.1.3 - fb-watchman: 2.0.2 - graceful-fs: 4.2.11 - jest-regex-util: 29.6.3 - jest-util: 29.7.0 - jest-worker: 29.7.0 - micromatch: 4.0.7 - walker: 1.0.8 - optionalDependencies: - fsevents: 2.3.3 - - jest-leak-detector@29.7.0: - dependencies: - jest-get-type: 29.6.3 - pretty-format: 29.7.0 - - jest-matcher-utils@29.7.0: - dependencies: - chalk: 4.1.2 - jest-diff: 29.7.0 - jest-get-type: 29.6.3 - pretty-format: 29.7.0 - - jest-message-util@29.7.0: - dependencies: - '@babel/code-frame': 7.24.7 - '@jest/types': 29.6.3 - '@types/stack-utils': 2.0.3 - chalk: 4.1.2 - graceful-fs: 4.2.11 - micromatch: 4.0.7 - pretty-format: 29.7.0 - slash: 3.0.0 - stack-utils: 2.0.6 - - jest-mock@29.7.0: - dependencies: - '@jest/types': 29.6.3 - '@types/node': 20.14.14 - jest-util: 29.7.0 - - jest-pnp-resolver@1.2.3(jest-resolve@29.7.0): - dependencies: - jest-resolve: 29.7.0 - - jest-regex-util@29.6.3: {} - - jest-resolve-dependencies@29.7.0: - dependencies: - jest-regex-util: 29.6.3 - jest-snapshot: 29.7.0 - transitivePeerDependencies: - - supports-color - - jest-resolve@29.7.0: - dependencies: - chalk: 4.1.2 - graceful-fs: 4.2.11 - jest-haste-map: 29.7.0 - jest-pnp-resolver: 1.2.3(jest-resolve@29.7.0) - jest-util: 29.7.0 - jest-validate: 29.7.0 - resolve: 1.22.8 - resolve.exports: 2.0.2 - slash: 3.0.0 - - jest-runner@29.7.0: - dependencies: - '@jest/console': 29.7.0 - '@jest/environment': 29.7.0 - '@jest/test-result': 29.7.0 - '@jest/transform': 29.7.0 - '@jest/types': 29.6.3 - '@types/node': 20.14.14 - chalk: 4.1.2 - emittery: 0.13.1 - graceful-fs: 4.2.11 - jest-docblock: 29.7.0 - jest-environment-node: 29.7.0 - jest-haste-map: 29.7.0 - jest-leak-detector: 29.7.0 - jest-message-util: 29.7.0 - jest-resolve: 29.7.0 - jest-runtime: 29.7.0 - jest-util: 29.7.0 - jest-watcher: 29.7.0 - jest-worker: 29.7.0 - p-limit: 3.1.0 - source-map-support: 0.5.13 - transitivePeerDependencies: - - supports-color - - jest-runtime@29.7.0: - dependencies: - '@jest/environment': 29.7.0 - '@jest/fake-timers': 29.7.0 - '@jest/globals': 29.7.0 - '@jest/source-map': 29.6.3 - '@jest/test-result': 29.7.0 - '@jest/transform': 29.7.0 - '@jest/types': 29.6.3 - '@types/node': 20.14.14 - chalk: 4.1.2 - cjs-module-lexer: 1.3.1 - collect-v8-coverage: 1.0.2 - glob: 7.2.3 - graceful-fs: 4.2.11 - jest-haste-map: 29.7.0 - jest-message-util: 29.7.0 - jest-mock: 29.7.0 - jest-regex-util: 29.6.3 - jest-resolve: 29.7.0 - jest-snapshot: 29.7.0 - jest-util: 29.7.0 - slash: 3.0.0 - strip-bom: 4.0.0 - transitivePeerDependencies: - - supports-color - - jest-snapshot@29.7.0: - dependencies: - '@babel/core': 7.25.2 - '@babel/generator': 7.25.0 - '@babel/plugin-syntax-jsx': 7.24.7(@babel/core@7.25.2) - '@babel/plugin-syntax-typescript': 7.24.7(@babel/core@7.25.2) - '@babel/types': 7.25.2 - '@jest/expect-utils': 29.7.0 - '@jest/transform': 29.7.0 - '@jest/types': 29.6.3 - babel-preset-current-node-syntax: 1.0.1(@babel/core@7.25.2) - chalk: 4.1.2 - expect: 29.7.0 - graceful-fs: 4.2.11 - jest-diff: 29.7.0 - jest-get-type: 29.6.3 - jest-matcher-utils: 29.7.0 - jest-message-util: 29.7.0 - jest-util: 29.7.0 - natural-compare: 1.4.0 - pretty-format: 29.7.0 - semver: 7.6.3 - transitivePeerDependencies: - - supports-color - - jest-util@29.7.0: - dependencies: - '@jest/types': 29.6.3 - '@types/node': 20.14.14 - chalk: 4.1.2 - ci-info: 3.9.0 - graceful-fs: 4.2.11 - picomatch: 2.3.1 - - jest-validate@29.7.0: - dependencies: - '@jest/types': 29.6.3 - camelcase: 6.3.0 - chalk: 4.1.2 - jest-get-type: 29.6.3 - leven: 3.1.0 - pretty-format: 29.7.0 - - jest-watcher@29.7.0: - dependencies: - '@jest/test-result': 29.7.0 - '@jest/types': 29.6.3 - '@types/node': 20.14.14 - ansi-escapes: 4.3.2 - chalk: 4.1.2 - emittery: 0.13.1 - jest-util: 29.7.0 - string-length: 4.0.2 - - jest-worker@29.7.0: - dependencies: - '@types/node': 20.14.14 - jest-util: 29.7.0 - merge-stream: 2.0.0 - supports-color: 8.1.1 - - jest@29.7.0(@types/node@20.14.14)(ts-node@10.9.2): - dependencies: - '@jest/core': 29.7.0(ts-node@10.9.2) - '@jest/types': 29.6.3 - import-local: 3.2.0 - jest-cli: 29.7.0(@types/node@20.14.14)(ts-node@10.9.2) - transitivePeerDependencies: - - '@types/node' - - babel-plugin-macros - - supports-color - - ts-node - - js-sha3@0.8.0: {} - - js-tokens@4.0.0: {} - - js-yaml@3.14.1: - dependencies: - argparse: 1.0.10 - esprima: 4.0.1 - - js-yaml@4.1.0: - dependencies: - argparse: 2.0.1 - - jsesc@2.5.2: {} - - json-parse-even-better-errors@2.3.1: {} - - json5@2.2.3: {} - - jsonfile@4.0.0: - optionalDependencies: - graceful-fs: 4.2.11 - - jsonschema@1.4.1: {} - - keccak@3.0.4: - dependencies: - node-addon-api: 2.0.2 - node-gyp-build: 4.8.1 - readable-stream: 3.6.2 - - kind-of@6.0.3: {} - - kleur@3.0.3: {} - - leven@3.1.0: {} - - levn@0.3.0: - dependencies: - prelude-ls: 1.1.2 - type-check: 0.3.2 - - lines-and-columns@1.2.4: {} - - locate-path@2.0.0: - dependencies: - p-locate: 2.0.0 - path-exists: 3.0.0 - - locate-path@5.0.0: - dependencies: - p-locate: 4.1.0 - - locate-path@6.0.0: - dependencies: - p-locate: 5.0.0 - - lodash.memoize@4.1.2: {} - - lodash@4.17.21: {} - - log-symbols@4.1.0: - dependencies: - chalk: 4.1.2 - is-unicode-supported: 0.1.0 - - lru-cache@10.4.3: {} - - lru-cache@5.1.1: - dependencies: - yallist: 3.1.1 - - lru_map@0.3.3: {} - - make-dir@4.0.0: - dependencies: - semver: 7.6.3 - - make-error@1.3.6: {} - - makeerror@1.0.12: - dependencies: - tmpl: 1.0.5 - - markdown-table@2.0.0: - dependencies: - repeat-string: 1.6.1 - - md5.js@1.3.5: - dependencies: - hash-base: 3.1.0 - inherits: 2.0.4 - safe-buffer: 5.2.1 - - media-typer@0.3.0: {} - - memorystream@0.3.1: {} - - merge-descriptors@1.0.1: {} - - merge-stream@2.0.0: {} - - merge2@1.4.1: {} - - methods@1.1.2: {} - - micro-ftch@0.3.1: {} - - micromatch@4.0.7: - dependencies: - braces: 3.0.3 - picomatch: 2.3.1 - - mime-db@1.52.0: {} - - mime-types@2.1.35: - dependencies: - mime-db: 1.52.0 - - mime@1.6.0: {} - - mime@2.6.0: {} - - mimic-fn@2.1.0: {} - - minimalistic-assert@1.0.1: {} - - minimalistic-crypto-utils@1.0.1: {} - - minimatch@3.1.2: - dependencies: - brace-expansion: 1.1.11 - - minimatch@5.1.6: - dependencies: - brace-expansion: 2.0.1 - - minimatch@9.0.5: - dependencies: - brace-expansion: 2.0.1 - - minimist@1.2.8: {} - - minipass@7.1.2: {} - - mkdirp@0.5.6: - dependencies: - minimist: 1.2.8 - - mnemonist@0.38.5: - dependencies: - obliterator: 2.0.4 - - mocha@10.7.0: - dependencies: - ansi-colors: 4.1.3 - browser-stdout: 1.3.1 - chokidar: 3.6.0 - debug: 4.3.6(supports-color@8.1.1) - diff: 5.2.0 - escape-string-regexp: 4.0.0 - find-up: 5.0.0 - glob: 8.1.0 - he: 1.2.0 - js-yaml: 4.1.0 - log-symbols: 4.1.0 - minimatch: 5.1.6 - ms: 2.1.3 - serialize-javascript: 6.0.2 - strip-json-comments: 3.1.1 - supports-color: 8.1.1 - workerpool: 6.5.1 - yargs: 16.2.0 - yargs-parser: 20.2.9 - yargs-unparser: 2.0.0 - - ms@2.0.0: {} - - ms@2.1.2: {} - - ms@2.1.3: {} - - natural-compare@1.4.0: {} - - negotiator@0.6.3: {} - - neo-async@2.6.2: {} - - node-addon-api@2.0.2: {} - - node-emoji@1.11.0: - dependencies: - lodash: 4.17.21 - - node-fetch@2.7.0: - dependencies: - whatwg-url: 5.0.0 - - node-gyp-build@4.8.1: {} - - node-int64@0.4.0: {} - - node-releases@2.0.18: {} - - nopt@3.0.6: - dependencies: - abbrev: 1.0.9 - - normalize-path@3.0.0: {} - - npm-run-path@4.0.1: - dependencies: - path-key: 3.1.1 - - number-to-bn@1.7.0: - dependencies: - bn.js: 4.11.6 - strip-hex-prefix: 1.0.0 - - object-inspect@1.13.2: {} - - obliterator@2.0.4: {} - - on-finished@2.4.1: - dependencies: - ee-first: 1.1.1 - - once@1.4.0: - dependencies: - wrappy: 1.0.2 - - onetime@5.1.2: - dependencies: - mimic-fn: 2.1.0 - - optionator@0.8.3: - dependencies: - deep-is: 0.1.4 - fast-levenshtein: 2.0.6 - levn: 0.3.0 - prelude-ls: 1.1.2 - type-check: 0.3.2 - word-wrap: 1.2.5 - - os-tmpdir@1.0.2: {} - - p-limit@1.3.0: - dependencies: - p-try: 1.0.0 - - p-limit@2.3.0: - dependencies: - p-try: 2.2.0 - - p-limit@3.1.0: - dependencies: - yocto-queue: 0.1.0 - - p-locate@2.0.0: - dependencies: - p-limit: 1.3.0 - - p-locate@4.1.0: - dependencies: - p-limit: 2.3.0 - - p-locate@5.0.0: - dependencies: - p-limit: 3.1.0 - - p-map@4.0.0: - dependencies: - aggregate-error: 3.1.0 - - p-try@1.0.0: {} - - p-try@2.2.0: {} - - package-json-from-dist@1.0.0: {} - - parse-json@5.2.0: - dependencies: - '@babel/code-frame': 7.24.7 - error-ex: 1.3.2 - json-parse-even-better-errors: 2.3.1 - lines-and-columns: 1.2.4 - - parseurl@1.3.3: {} - - path-exists@3.0.0: {} - - path-exists@4.0.0: {} - - path-is-absolute@1.0.1: {} - - path-key@3.1.1: {} - - path-parse@1.0.7: {} - - path-scurry@1.11.1: - dependencies: - lru-cache: 10.4.3 - minipass: 7.1.2 - - path-to-regexp@0.1.7: {} - - path-type@4.0.0: {} - - pbkdf2@3.1.2: - dependencies: - create-hash: 1.2.0 - create-hmac: 1.1.7 - ripemd160: 2.0.2 - safe-buffer: 5.2.1 - sha.js: 2.4.11 - - picocolors@1.0.1: {} - - picomatch@2.3.1: {} - - pify@4.0.1: {} - - pirates@4.0.6: {} - - pkg-dir@4.2.0: - dependencies: - find-up: 4.1.0 - - possible-typed-array-names@1.0.0: {} - - prelude-ls@1.1.2: {} - - pretty-format@29.7.0: - dependencies: - '@jest/schemas': 29.6.3 - ansi-styles: 5.2.0 - react-is: 18.3.1 - - prompts@2.4.2: - dependencies: - kleur: 3.0.3 - sisteransi: 1.0.5 - - proxy-addr@2.0.7: - dependencies: - forwarded: 0.2.0 - ipaddr.js: 1.9.1 - - proxy-from-env@1.1.0: {} - - pure-rand@6.1.0: {} - - qs@6.11.0: - dependencies: - side-channel: 1.0.6 - - qs@6.13.0: - dependencies: - side-channel: 1.0.6 - - queue-microtask@1.2.3: {} - - randombytes@2.1.0: - dependencies: - safe-buffer: 5.2.1 - - range-parser@1.2.1: {} - - raw-body@2.5.2: - dependencies: - bytes: 3.1.2 - http-errors: 2.0.0 - iconv-lite: 0.4.24 - unpipe: 1.0.0 - - react-is@18.3.1: {} - - readable-stream@3.6.2: - dependencies: - inherits: 2.0.4 - string_decoder: 1.3.0 - util-deprecate: 1.0.2 - - readdirp@3.6.0: - dependencies: - picomatch: 2.3.1 - - rechoir@0.6.2: - dependencies: - resolve: 1.22.8 - - recursive-readdir@2.2.3: - dependencies: - minimatch: 3.1.2 - - repeat-string@1.6.1: {} - - require-directory@2.1.1: {} - - resolve-cwd@3.0.0: - dependencies: - resolve-from: 5.0.0 - - resolve-from@5.0.0: {} - - resolve.exports@2.0.2: {} - - resolve@1.1.7: {} - - resolve@1.17.0: - dependencies: - path-parse: 1.0.7 - - resolve@1.22.8: - dependencies: - is-core-module: 2.15.0 - path-parse: 1.0.7 - supports-preserve-symlinks-flag: 1.0.0 - - reusify@1.0.4: {} - - ripemd160@2.0.2: - dependencies: - hash-base: 3.1.0 - inherits: 2.0.4 - - rlp@2.2.7: - dependencies: - bn.js: 5.2.1 - - run-parallel@1.2.0: - dependencies: - queue-microtask: 1.2.3 - - safe-buffer@5.2.1: {} - - safer-buffer@2.1.2: {} - - sc-istanbul@0.4.6: - dependencies: - abbrev: 1.0.9 - async: 1.5.2 - escodegen: 1.8.1 - esprima: 2.7.3 - glob: 5.0.15 - handlebars: 4.7.8 - js-yaml: 3.14.1 - mkdirp: 0.5.6 - nopt: 3.0.6 - once: 1.4.0 - resolve: 1.1.7 - supports-color: 3.2.3 - which: 1.3.1 - wordwrap: 1.0.0 - - scrypt-js@3.0.1: {} - - secp256k1@4.0.3: - dependencies: - elliptic: 6.5.6 - node-addon-api: 2.0.2 - node-gyp-build: 4.8.1 - - semver@5.7.2: {} - - semver@6.3.1: {} - - semver@7.6.3: {} - - send@0.18.0: - dependencies: - debug: 2.6.9 - depd: 2.0.0 - destroy: 1.2.0 - encodeurl: 1.0.2 - escape-html: 1.0.3 - etag: 1.8.1 - fresh: 0.5.2 - http-errors: 2.0.0 - mime: 1.6.0 - ms: 2.1.3 - on-finished: 2.4.1 - range-parser: 1.2.1 - statuses: 2.0.1 - transitivePeerDependencies: - - supports-color - - serialize-javascript@6.0.2: - dependencies: - randombytes: 2.1.0 - - serve-static@1.15.0: - dependencies: - encodeurl: 1.0.2 - escape-html: 1.0.3 - parseurl: 1.3.3 - send: 0.18.0 - transitivePeerDependencies: - - supports-color - - set-function-length@1.2.2: - dependencies: - define-data-property: 1.1.4 - es-errors: 1.3.0 - function-bind: 1.1.2 - get-intrinsic: 1.2.4 - gopd: 1.0.1 - has-property-descriptors: 1.0.2 - - setimmediate@1.0.5: {} - - setprototypeof@1.2.0: {} - - sha.js@2.4.11: - dependencies: - inherits: 2.0.4 - safe-buffer: 5.2.1 - - sha1@1.1.1: - dependencies: - charenc: 0.0.2 - crypt: 0.0.2 - - shebang-command@2.0.0: - dependencies: - shebang-regex: 3.0.0 - - shebang-regex@3.0.0: {} - - shelljs@0.8.5: - dependencies: - glob: 7.2.3 - interpret: 1.4.0 - rechoir: 0.6.2 - - side-channel@1.0.6: - dependencies: - call-bind: 1.0.7 - es-errors: 1.3.0 - get-intrinsic: 1.2.4 - object-inspect: 1.13.2 - - signal-exit@3.0.7: {} - - signal-exit@4.1.0: {} - - sisteransi@1.0.5: {} - - slash@3.0.0: {} - - solc@0.8.26(debug@4.3.6): - dependencies: - command-exists: 1.2.9 - commander: 8.3.0 - follow-redirects: 1.15.6(debug@4.3.6) - js-sha3: 0.8.0 - memorystream: 0.3.1 - semver: 5.7.2 - tmp: 0.0.33 - transitivePeerDependencies: - - debug - - solidity-coverage@0.8.12(hardhat@2.22.7): - dependencies: - '@ethersproject/abi': 5.7.0 - '@solidity-parser/parser': 0.18.0 - chalk: 2.4.2 - death: 1.1.0 - difflib: 0.2.4 - fs-extra: 8.1.0 - ghost-testrpc: 0.0.2 - global-modules: 2.0.0 - globby: 10.0.2 - hardhat: 2.22.7(ts-node@10.9.2)(typescript@5.5.4) - jsonschema: 1.4.1 - lodash: 4.17.21 - mocha: 10.7.0 - node-emoji: 1.11.0 - pify: 4.0.1 - recursive-readdir: 2.2.3 - sc-istanbul: 0.4.6 - semver: 7.6.3 - shelljs: 0.8.5 - web3-utils: 1.10.4 - - source-map-support@0.5.13: - dependencies: - buffer-from: 1.1.2 - source-map: 0.6.1 - - source-map-support@0.5.21: - dependencies: - buffer-from: 1.1.2 - source-map: 0.6.1 - - source-map@0.2.0: - dependencies: - amdefine: 1.0.1 - optional: true - - source-map@0.6.1: {} - - sprintf-js@1.0.3: {} - - stack-utils@2.0.6: - dependencies: - escape-string-regexp: 2.0.0 - - stacktrace-parser@0.1.10: - dependencies: - type-fest: 0.7.1 - - statuses@2.0.1: {} - - string-length@4.0.2: - dependencies: - char-regex: 1.0.2 - strip-ansi: 6.0.1 - - string-width@4.2.3: - dependencies: - emoji-regex: 8.0.0 - is-fullwidth-code-point: 3.0.0 - strip-ansi: 6.0.1 - - string-width@5.1.2: - dependencies: - eastasianwidth: 0.2.0 - emoji-regex: 9.2.2 - strip-ansi: 7.1.0 - - string_decoder@1.3.0: - dependencies: - safe-buffer: 5.2.1 - - strip-ansi@6.0.1: - dependencies: - ansi-regex: 5.0.1 - - strip-ansi@7.1.0: - dependencies: - ansi-regex: 6.0.1 - - strip-bom@4.0.0: {} - - strip-final-newline@2.0.0: {} - - strip-hex-prefix@1.0.0: - dependencies: - is-hex-prefixed: 1.0.0 - - strip-json-comments@3.1.1: {} - - superagent@9.0.2: - dependencies: - component-emitter: 1.3.1 - cookiejar: 2.1.4 - debug: 4.3.6(supports-color@8.1.1) - fast-safe-stringify: 2.1.1 - form-data: 4.0.0 - formidable: 3.5.1 - methods: 1.1.2 - mime: 2.6.0 - qs: 6.13.0 - transitivePeerDependencies: - - supports-color - - supertest@7.0.0: - dependencies: - methods: 1.1.2 - superagent: 9.0.2 - transitivePeerDependencies: - - supports-color - - supports-color@3.2.3: - dependencies: - has-flag: 1.0.0 - - supports-color@5.5.0: - dependencies: - has-flag: 3.0.0 - - supports-color@7.2.0: - dependencies: - has-flag: 4.0.0 - - supports-color@8.1.1: - dependencies: - has-flag: 4.0.0 - - supports-preserve-symlinks-flag@1.0.0: {} - - test-exclude@6.0.0: - dependencies: - '@istanbuljs/schema': 0.1.3 - glob: 7.2.3 - minimatch: 3.1.2 - - tmp@0.0.33: - dependencies: - os-tmpdir: 1.0.2 - - tmpl@1.0.5: {} - - to-fast-properties@2.0.0: {} - - to-regex-range@5.0.1: - dependencies: - is-number: 7.0.0 - - toidentifier@1.0.1: {} - - tr46@0.0.3: {} - - ts-jest@29.2.4(@babel/core@7.25.2)(jest@29.7.0)(typescript@5.5.4): - dependencies: - '@babel/core': 7.25.2 - bs-logger: 0.2.6 - ejs: 3.1.10 - fast-json-stable-stringify: 2.1.0 - jest: 29.7.0(@types/node@20.14.14)(ts-node@10.9.2) - jest-util: 29.7.0 - json5: 2.2.3 - lodash.memoize: 4.1.2 - make-error: 1.3.6 - semver: 7.6.3 - typescript: 5.5.4 - yargs-parser: 21.1.1 - - ts-node@10.9.2(@types/node@20.14.14)(typescript@5.5.4): - dependencies: - '@cspotcode/source-map-support': 0.8.1 - '@tsconfig/node10': 1.0.11 - '@tsconfig/node12': 1.0.11 - '@tsconfig/node14': 1.0.3 - '@tsconfig/node16': 1.0.4 - '@types/node': 20.14.14 - acorn: 8.12.1 - acorn-walk: 8.3.3 - arg: 4.1.3 - create-require: 1.1.1 - diff: 4.0.2 - make-error: 1.3.6 - typescript: 5.5.4 - v8-compile-cache-lib: 3.0.1 - yn: 3.1.1 - - tslib@1.14.1: {} - - tsort@0.0.1: {} - - tweetnacl-util@0.15.1: {} - - tweetnacl@1.0.3: {} - - type-check@0.3.2: - dependencies: - prelude-ls: 1.1.2 - - type-detect@4.0.8: {} - - type-fest@0.20.2: {} - - type-fest@0.21.3: {} - - type-fest@0.7.1: {} - - type-is@1.6.18: - dependencies: - media-typer: 0.3.0 - mime-types: 2.1.35 - - typescript@5.5.4: {} - - uglify-js@3.19.1: - optional: true - - undici-types@5.26.5: {} - - undici@5.28.4: - dependencies: - '@fastify/busboy': 2.1.1 - - universalify@0.1.2: {} - - unpipe@1.0.0: {} - - update-browserslist-db@1.1.0(browserslist@4.23.3): - dependencies: - browserslist: 4.23.3 - escalade: 3.1.2 - picocolors: 1.0.1 - - utf8@3.0.0: {} - - util-deprecate@1.0.2: {} - - util@0.12.5: - dependencies: - inherits: 2.0.4 - is-arguments: 1.1.1 - is-generator-function: 1.0.10 - is-typed-array: 1.1.13 - which-typed-array: 1.1.15 - - utils-merge@1.0.1: {} - - uuid@8.3.2: {} - - v8-compile-cache-lib@3.0.1: {} - - v8-to-istanbul@9.3.0: - dependencies: - '@jridgewell/trace-mapping': 0.3.25 - '@types/istanbul-lib-coverage': 2.0.6 - convert-source-map: 2.0.0 - - vary@1.1.2: {} - - viem@2.7.14(typescript@5.5.4): - dependencies: - '@adraffy/ens-normalize': 1.10.0 - '@noble/curves': 1.2.0 - '@noble/hashes': 1.3.2 - '@scure/bip32': 1.3.2 - '@scure/bip39': 1.2.1 - abitype: 1.0.0(typescript@5.5.4) - isows: 1.0.3(ws@8.13.0) - typescript: 5.5.4 - ws: 8.13.0 - transitivePeerDependencies: - - bufferutil - - utf-8-validate - - zod - - walker@1.0.8: - dependencies: - makeerror: 1.0.12 - - web3-core@4.5.0: - dependencies: - web3-errors: 1.2.1 - web3-eth-accounts: 4.1.3 - web3-eth-iban: 4.0.7 - web3-providers-http: 4.1.0 - web3-providers-ws: 4.0.8 - web3-types: 1.7.0 - web3-utils: 4.3.1 - web3-validator: 2.0.6 - optionalDependencies: - web3-providers-ipc: 4.0.7 - transitivePeerDependencies: - - bufferutil - - encoding - - utf-8-validate - - web3-errors@1.2.1: - dependencies: - web3-types: 1.7.0 - - web3-eth-abi@4.2.3(typescript@5.5.4): - dependencies: - abitype: 0.7.1(typescript@5.5.4) - web3-errors: 1.2.1 - web3-types: 1.7.0 - web3-utils: 4.3.1 - web3-validator: 2.0.6 - transitivePeerDependencies: - - typescript - - zod - - web3-eth-accounts@4.1.3: - dependencies: - '@ethereumjs/rlp': 4.0.1 - crc-32: 1.2.2 - ethereum-cryptography: 2.2.1 - web3-errors: 1.2.1 - web3-types: 1.7.0 - web3-utils: 4.3.1 - web3-validator: 2.0.6 - - web3-eth-contract@4.6.0(typescript@5.5.4): - dependencies: - '@ethereumjs/rlp': 5.0.2 - web3-core: 4.5.0 - web3-errors: 1.2.1 - web3-eth: 4.8.2(typescript@5.5.4) - web3-eth-abi: 4.2.3(typescript@5.5.4) - web3-types: 1.7.0 - web3-utils: 4.3.1 - web3-validator: 2.0.6 - transitivePeerDependencies: - - bufferutil - - encoding - - typescript - - utf-8-validate - - zod - - web3-eth-ens@4.4.0(typescript@5.5.4): - dependencies: - '@adraffy/ens-normalize': 1.10.1 - web3-core: 4.5.0 - web3-errors: 1.2.1 - web3-eth: 4.8.2(typescript@5.5.4) - web3-eth-contract: 4.6.0(typescript@5.5.4) - web3-net: 4.1.0 - web3-types: 1.7.0 - web3-utils: 4.3.1 - web3-validator: 2.0.6 - transitivePeerDependencies: - - bufferutil - - encoding - - typescript - - utf-8-validate - - zod - - web3-eth-iban@4.0.7: - dependencies: - web3-errors: 1.2.1 - web3-types: 1.7.0 - web3-utils: 4.3.1 - web3-validator: 2.0.6 - - web3-eth-personal@4.0.8(typescript@5.5.4): - dependencies: - web3-core: 4.5.0 - web3-eth: 4.8.2(typescript@5.5.4) - web3-rpc-methods: 1.3.0 - web3-types: 1.7.0 - web3-utils: 4.3.1 - web3-validator: 2.0.6 - transitivePeerDependencies: - - bufferutil - - encoding - - typescript - - utf-8-validate - - zod - - web3-eth@4.8.2(typescript@5.5.4): - dependencies: - setimmediate: 1.0.5 - web3-core: 4.5.0 - web3-errors: 1.2.1 - web3-eth-abi: 4.2.3(typescript@5.5.4) - web3-eth-accounts: 4.1.3 - web3-net: 4.1.0 - web3-providers-ws: 4.0.8 - web3-rpc-methods: 1.3.0 - web3-types: 1.7.0 - web3-utils: 4.3.1 - web3-validator: 2.0.6 - transitivePeerDependencies: - - bufferutil - - encoding - - typescript - - utf-8-validate - - zod - - web3-net@4.1.0: - dependencies: - web3-core: 4.5.0 - web3-rpc-methods: 1.3.0 - web3-types: 1.7.0 - web3-utils: 4.3.1 - transitivePeerDependencies: - - bufferutil - - encoding - - utf-8-validate - - web3-providers-http@4.1.0: - dependencies: - cross-fetch: 4.0.0 - web3-errors: 1.2.1 - web3-types: 1.7.0 - web3-utils: 4.3.1 - transitivePeerDependencies: - - encoding - - web3-providers-ipc@4.0.7: - dependencies: - web3-errors: 1.2.1 - web3-types: 1.7.0 - web3-utils: 4.3.1 - optional: true - - web3-providers-ws@4.0.8: - dependencies: - '@types/ws': 8.5.3 - isomorphic-ws: 5.0.0(ws@8.18.0) - web3-errors: 1.2.1 - web3-types: 1.7.0 - web3-utils: 4.3.1 - ws: 8.18.0 - transitivePeerDependencies: - - bufferutil - - utf-8-validate - - web3-rpc-methods@1.3.0: - dependencies: - web3-core: 4.5.0 - web3-types: 1.7.0 - web3-validator: 2.0.6 - transitivePeerDependencies: - - bufferutil - - encoding - - utf-8-validate - - web3-rpc-providers@1.0.0-rc.1: - dependencies: - web3-errors: 1.2.1 - web3-providers-http: 4.1.0 - web3-providers-ws: 4.0.8 - web3-types: 1.7.0 - web3-utils: 4.3.1 - web3-validator: 2.0.6 - transitivePeerDependencies: - - bufferutil - - encoding - - utf-8-validate - - web3-types@1.7.0: {} - - web3-utils@1.10.4: - dependencies: - '@ethereumjs/util': 8.1.0 - bn.js: 5.2.1 - ethereum-bloom-filters: 1.2.0 - ethereum-cryptography: 2.2.1 - ethjs-unit: 0.1.6 - number-to-bn: 1.7.0 - randombytes: 2.1.0 - utf8: 3.0.0 - - web3-utils@4.3.1: - dependencies: - ethereum-cryptography: 2.2.1 - eventemitter3: 5.0.1 - web3-errors: 1.2.1 - web3-types: 1.7.0 - web3-validator: 2.0.6 - - web3-validator@2.0.6: - dependencies: - ethereum-cryptography: 2.2.1 - util: 0.12.5 - web3-errors: 1.2.1 - web3-types: 1.7.0 - zod: 3.23.8 - - web3@4.11.1(typescript@5.5.4): - dependencies: - web3-core: 4.5.0 - web3-errors: 1.2.1 - web3-eth: 4.8.2(typescript@5.5.4) - web3-eth-abi: 4.2.3(typescript@5.5.4) - web3-eth-accounts: 4.1.3 - web3-eth-contract: 4.6.0(typescript@5.5.4) - web3-eth-ens: 4.4.0(typescript@5.5.4) - web3-eth-iban: 4.0.7 - web3-eth-personal: 4.0.8(typescript@5.5.4) - web3-net: 4.1.0 - web3-providers-http: 4.1.0 - web3-providers-ws: 4.0.8 - web3-rpc-methods: 1.3.0 - web3-rpc-providers: 1.0.0-rc.1 - web3-types: 1.7.0 - web3-utils: 4.3.1 - web3-validator: 2.0.6 - transitivePeerDependencies: - - bufferutil - - encoding - - typescript - - utf-8-validate - - zod - - webidl-conversions@3.0.1: {} - - whatwg-url@5.0.0: - dependencies: - tr46: 0.0.3 - webidl-conversions: 3.0.1 - - which-typed-array@1.1.15: - dependencies: - available-typed-arrays: 1.0.7 - call-bind: 1.0.7 - for-each: 0.3.3 - gopd: 1.0.1 - has-tostringtag: 1.0.2 - - which@1.3.1: - dependencies: - isexe: 2.0.0 - - which@2.0.2: - dependencies: - isexe: 2.0.0 - - widest-line@3.1.0: - dependencies: - string-width: 4.2.3 - - word-wrap@1.2.5: {} - - wordwrap@1.0.0: {} - - workerpool@6.5.1: {} - - wrap-ansi@7.0.0: - dependencies: - ansi-styles: 4.3.0 - string-width: 4.2.3 - strip-ansi: 6.0.1 - - wrap-ansi@8.1.0: - dependencies: - ansi-styles: 6.2.1 - string-width: 5.1.2 - strip-ansi: 7.1.0 - - wrappy@1.0.2: {} - - write-file-atomic@4.0.2: - dependencies: - imurmurhash: 0.1.4 - signal-exit: 3.0.7 - - ws@7.4.6: {} - - ws@7.5.10: {} - - ws@8.13.0: {} - - ws@8.18.0: {} - - y18n@5.0.8: {} - - yallist@3.1.1: {} - - yargs-parser@20.2.9: {} - - yargs-parser@21.1.1: {} - - yargs-unparser@2.0.0: - dependencies: - camelcase: 6.3.0 - decamelize: 4.0.0 - flat: 5.0.2 - is-plain-obj: 2.1.0 - - yargs@16.2.0: - dependencies: - cliui: 7.0.4 - escalade: 3.1.2 - get-caller-file: 2.0.5 - require-directory: 2.1.1 - string-width: 4.2.3 - y18n: 5.0.8 - yargs-parser: 20.2.9 - - yargs@17.7.2: - dependencies: - cliui: 8.0.1 - escalade: 3.1.2 - get-caller-file: 2.0.5 - require-directory: 2.1.1 - string-width: 4.2.3 - y18n: 5.0.8 - yargs-parser: 21.1.1 - - yn@3.1.1: {} - - yocto-queue@0.1.0: {} - - zod@3.23.8: {} diff --git a/backend/common/environment.d.ts b/backend/src/environment.d.ts similarity index 100% rename from backend/common/environment.d.ts rename to backend/src/environment.d.ts diff --git a/backend/src/index.ts b/backend/src/index.ts new file mode 100644 index 0000000..c95a2c7 --- /dev/null +++ b/backend/src/index.ts @@ -0,0 +1,13 @@ +import {action} from "./server-actions/custom-server-action"; +import { HybridComputeSDK } from '@bobanetwork/aa-hc-sdk-server'; + +/** use the HC SDK to create a server, add a rpc method and start the server */ +const hybridCompute = new HybridComputeSDK() + .createJsonRpcServerInstance() + .addServerAction('getprice(string)', action) + .listenAt(1234); + +console.log(`Started successfully: ${hybridCompute.isServerHealthy()}`) + + + diff --git a/backend/src/server-actions/custom-server-action.ts b/backend/src/server-actions/custom-server-action.ts new file mode 100644 index 0000000..b77b5fe --- /dev/null +++ b/backend/src/server-actions/custom-server-action.ts @@ -0,0 +1,64 @@ +import Web3 from "web3"; +import axios from "axios"; +import "dotenv/config"; +import { + generateResponse, + OffchainParameter, + parseOffchainParameter, + parseRequest, + ServerActionResponse +} from "@bobanetwork/aa-hc-sdk-server"; + +/** + * Custom Server Action + * --- + * A Custom Server Action is a callable function defined on the server side that allows for specific server-side operations to be executed on demand + * within the AA HC environment. An Example is illustrated below + * + */ + +const web3 = new Web3(); + +export async function action(params: OffchainParameter): Promise { + const parsedParams = parseOffchainParameter(params); + const request = parseRequest(parsedParams); + + try { + // Tokensymbol was encoded with a string in the smart-contract + const tokenSymbol = web3.eth.abi.decodeParameter( + "string", + request["reqBytes"] + ) as string; + + const headers = { + accept: "application/json", + "x-access-token": process.env.COINRANKING_API_KEY, + }; + + const coinListResponse = await axios.get( + "https://api.coinranking.com/v2/coins", + {headers} + ); + const token = coinListResponse.data.data.coins.find( + (c: any) => c.symbol === tokenSymbol + ); + + if (!token) { + throw new Error(`Token ${tokenSymbol} not found`); + } + + const priceResponse = await axios.get( + `https://api.coinranking.com/v2/coin/${token.uuid}/price`, + {headers} + ); + + const tokenPrice = priceResponse.data.data.price; + const encodedTokenPrice = web3.eth.abi.encodeParameter("string", tokenPrice); + + console.log("ENCODED TOKEN PRICE = ", encodedTokenPrice); + return generateResponse(request, 0, encodedTokenPrice); + } catch (error: any) { + console.log("received error: ", error); + return generateResponse(request, 1, web3.utils.asciiToHex(error.message)); + } +} \ No newline at end of file diff --git a/backend/tests/server.test.ts b/backend/tests/server.test.ts index 6421bc1..ebad5a3 100644 --- a/backend/tests/server.test.ts +++ b/backend/tests/server.test.ts @@ -1,8 +1,8 @@ import request from "supertest"; -import { selector } from "../common/utils"; +import { selector } from "../src/common/utils"; import Web3 from "web3"; import "dotenv/config"; -import app from "../offchain/server"; +import app from "../src/common/server"; import MockAdapter from "axios-mock-adapter"; import axios from "axios"; diff --git a/backend/tests/token-price.test.ts b/backend/tests/token-price.test.ts index 79e2f06..c81d146 100644 --- a/backend/tests/token-price.test.ts +++ b/backend/tests/token-price.test.ts @@ -2,9 +2,9 @@ import Web3 from "web3"; import MockAdapter from "axios-mock-adapter"; import axios from "axios"; import "dotenv/config"; -import { getTokenPrice, generateResponse } from "../offchain/token-price"; -import { parseRequest } from "../common/utils"; -import { OffchainParameterParsed } from "../offchain/utils"; +import { getTokenPrice, generateResponse } from "../src/token-price"; +import { parseRequest } from "../src/common/utils"; +import { OffchainParameterParsed } from "../src/utils"; jest.mock("../common/utils", () => ({ ...jest.requireActual("../common/utils"), diff --git a/backend/tests/utils.test.ts b/backend/tests/utils.test.ts index 81506f6..928eaf8 100644 --- a/backend/tests/utils.test.ts +++ b/backend/tests/utils.test.ts @@ -4,9 +4,9 @@ import { parseOffchainParameter, parseRequest, selector, -} from "../common/utils"; +} from "../src/common/utils"; import "dotenv/config"; -import { OffchainParameter } from "../offchain/utils"; +import { OffchainParameter } from "../src/utils"; const web3 = new Web3(); diff --git a/backend/tsconfig.json b/backend/tsconfig.json index 2f73cf5..de75afd 100644 --- a/backend/tsconfig.json +++ b/backend/tsconfig.json @@ -1,12 +1,12 @@ { - "compilerOptions": { - "target": "es2020", - "module": "commonjs", - "esModuleInterop": true, - "forceConsistentCasingInFileNames": true, - "strict": true, - "skipLibCheck": true, - "resolveJsonModule": true - } + "compilerOptions": { + "target": "ES2020", + "module": "ESNext", + "moduleResolution": "node", + "esModuleInterop": true, + "strict": true, + "outDir": "./dist", + "resolveJsonModule": true, + "types": ["mocha"] } - \ No newline at end of file +} \ No newline at end of file diff --git a/contracts/broadcast/deploy-hybrid-account.s.sol/28882/run-latest.json b/contracts/broadcast/deploy-hybrid-account.s.sol/28882/run-latest.json deleted file mode 100644 index 603e573..0000000 --- a/contracts/broadcast/deploy-hybrid-account.s.sol/28882/run-latest.json +++ /dev/null @@ -1,289 +0,0 @@ -{ - "transactions": [ - { - "hash": "0x5c3613b3ac1c593b7d2d653548eeb8cc31e0280b3f60d0dd5b2a00c53429de75", - "transactionType": "CREATE", - "contractName": "HCHelper", - "contractAddress": "0x446559ce4bfade99c036c43f861af681a10433b9", - "function": null, - "arguments": [ - "0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789", - "0x1c64EC0A5E2C58295c3208a63209A2A719dF68D8" - ], - "transaction": { - "from": "0xd538daed647eb02e71a9e810aff855d013fd493c", - "gas": "0x1c6a82", - "value": "0x0", - "input": "0x60a0604052348015600f57600080fd5b50604051611935380380611935833981016040819052602c91606e565b6001600160a01b03918216608052600280546001600160a01b03191691909216179055609c565b80516001600160a01b0381168114606957600080fd5b919050565b60008060408385031215608057600080fd5b6087836053565b91506093602084016053565b90509250929050565b60805161187e6100b76000396000610ca8015261187e6000f3fe608060405234801561001057600080fd5b50600436106100f55760003560e01c80637f8d6fb911610097578063c25fcdff11610066578063c25fcdff1461020b578063dfc98ae81461021e578063e2af398014610231578063fde89b641461024457600080fd5b80637f8d6fb9146101bb57806387fc1b25146101ce5780638da5cb5b146101e1578063c1907c9b146101f457600080fd5b80634f5539c0116100d35780634f5539c0146101355780635fbe4d1d146101485780636868c6b9146101785780636c7f457d1461019957600080fd5b806310404d34146100fa578063364b6f631461010f578063485cc95514610122575b600080fd5b61010d610108366004611036565b610257565b005b61010d61011d3660046110c2565b61032e565b61010d6101303660046110f2565b610374565b61010d610143366004611120565b6103e0565b60025461015b906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b61018b6101863660046111fe565b61040f565b60405161016f929190611295565b6101ac6101a73660046112b4565b61068e565b60405161016f939291906112d8565b61010d6101c93660046112b4565b610743565b61010d6101dc36600461130c565b61078f565b60015461015b906001600160a01b031681565b6101fd60035481565b60405190815260200161016f565b61010d61021936600461137a565b6107f8565b61010d61022c3660046113cf565b61085e565b60045461015b906001600160a01b031681565b61010d6102523660046113cf565b6109c0565b6004546001600160a01b031633146102ca5760405162461bcd60e51b815260206004820152602b60248201527f4f6e6c792073797374656d4163636f756e74206d61792063616c6c2052656d6f60448201526a7665526573706f6e73657360a81b60648201526084015b60405180910390fd5b60005b63ffffffff81168211156103295760008084848463ffffffff168181106102f6576102f6611402565b90506020020135815260200190815260200160002060006103179190610fe0565b806103218161142e565b9150506102cd565b505050565b6001546001600160a01b031633146103585760405162461bcd60e51b81526004016102c190611453565b600254610370906001600160a01b0316308385610b10565b5050565b6001546001600160a01b031633148061039657506001546001600160a01b0316155b6103b25760405162461bcd60e51b81526004016102c190611453565b600180546001600160a01b039384166001600160a01b03199182161790915560048054929093169116179055565b6001546001600160a01b0316331461040a5760405162461bcd60e51b81526004016102c190611453565b600355565b336000908152600560205260408120546060908290819083906001600160a01b031661047d5760405162461bcd60e51b815260206004820152601f60248201527f43616c6c696e6720636f6e7472616374206e6f7420726567697374657265640060448201526064016102c1565b3360009081526005602052604081206002015490036104d057600560405180604001604052806013815260200172125b9cdd59999a58da595b9d0818dc99591a5d606a1b81525094509450505050610687565b3360009081526005602052604081206002018054600192906104f3908490611477565b909155505060405160009061050e9089908990602001611490565b6040516020818303038152906040528051906020012090506000338260405160200161053b9291906114b6565b60405160208183030381529060405280519060200120905061055c81610b6a565b91965094509250841561057757509194509250610687915050565b6000308360405160200161058c9291906114b6565b6040516020818303038152906040528051906020012090506105ad81610b6a565b9197509550935085156106135760028563ffffffff1610156106035760405162461bcd60e51b815260206004820152600f60248201526e696e76616c696420657272436f646560881b60448201526064016102c1565b5092955090935061068792505050565b6000604051806040016040528060088152602001675f48435f5452494760c01b8152509050600081338d8d604051602001610650939291906114d8565b60408051601f198184030181529082905261066e9291602001611517565b6040516020818303038152906040529050805160208201fd5b9250929050565b600560205260009081526040902080546001820180546001600160a01b0390921692916106ba90611546565b80601f01602080910402602001604051908101604052809291908181526020018280546106e690611546565b80156107335780601f1061070857610100808354040283529160200191610733565b820191906000526020600020905b81548152906001019060200180831161071657829003601f168201915b5050505050908060020154905083565b6001546001600160a01b0316331461076d5760405162461bcd60e51b81526004016102c190611453565b600480546001600160a01b0319166001600160a01b0392909216919091179055565b600354156107c4576000600354826107a79190611580565b6002549091506107c2906001600160a01b0316333084610b10565b505b6001600160a01b038216600090815260056020526040812060020180548392906107ef908490611597565b90915550505050565b6001546001600160a01b031633146108225760405162461bcd60e51b81526004016102c190611453565b6001600160a01b038316600090815260056020526040902080546001600160a01b031916331781556001016108588284836115f8565b50505050565b336000908152600560205260409020546001600160a01b03166108b95760405162461bcd60e51b81526020600482015260136024820152722ab73932b3b4b9ba32b932b21031b0b63632b960691b60448201526064016102c1565b60808110156108ff5760405162461bcd60e51b815260206004820152601260248201527114995cdc1bdb9cd9481d1bdbc81cda1bdc9d60721b60448201526064016102c1565b600061090d828401846116ca565b509250505060028163ffffffff16106109725760405162461bcd60e51b815260206004820152602160248201527f696e76616c696420657272436f646520666f7220507574526573706f6e7365286044820152602960f81b60648201526084016102c1565b600033856040516020016109879291906114b6565b60408051601f19818403018152918152815160209283012060008181529283905291209091506109b88486836115f8565b505050505050565b6004546001600160a01b03163314610a2d5760405162461bcd60e51b815260206004820152602a60248201527f4f6e6c792073797374656d4163636f756e74206d61792063616c6c20507574536044820152697973526573706f6e736560b01b60648201526084016102c1565b6080811015610a735760405162461bcd60e51b815260206004820152601260248201527114995cdc1bdb9cd9481d1bdbc81cda1bdc9d60721b60448201526064016102c1565b6000610a81828401846116ca565b509250505060028163ffffffff161015610afb5760405162461bcd60e51b815260206004820152603560248201527f507574537973526573706f6e73652829206d6179206f6e6c79206265207573656044820152746420666f72206572726f7220726573706f6e73657360581b60648201526084016102c1565b600030856040516020016109879291906114b6565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052610858908590610d7b565b60008060608060008060606000806000808b81526020019081526020016000208054610b9590611546565b80601f0160208091040260200160405190810160405280929190818152602001828054610bc190611546565b8015610c0e5780601f10610be357610100808354040283529160200191610c0e565b820191906000526020600020905b815481529060010190602001808311610bf157829003601f168201915b505050505095508551600103610c515760405162461bcd60e51b81526020600482015260086024820152675f48435f5652465960c01b60448201526064016102c1565b855115610d6c576001945085806020019051810190610c709190611736565b60408051631aab3f0d60e11b81526001600160a01b0380871660048301529185901c60248201819052939950919750939550919350917f0000000000000000000000000000000000000000000000000000000000000000916000918316906335567e1a90604401602060405180830381865afa158015610cf4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d1891906117de565b905080610d26856001611597565b14610d5157600097506000965060405180604001604052806002815260200161060f60f31b81525095505b60008d8152602081905260408120610d6891610fe0565b5050505b50929891975095509350505050565b6000610dd0826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610e509092919063ffffffff16565b9050805160001480610df1575080806020019051810190610df191906117f7565b6103295760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016102c1565b6060610e5f8484600085610e67565b949350505050565b606082471015610ec85760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016102c1565b600080866001600160a01b03168587604051610ee49190611819565b60006040518083038185875af1925050503d8060008114610f21576040519150601f19603f3d011682016040523d82523d6000602084013e610f26565b606091505b5091509150610f3787838387610f42565b979650505050505050565b60608315610fb1578251600003610faa576001600160a01b0385163b610faa5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016102c1565b5081610e5f565b610e5f8383815115610fc65781518083602001fd5b8060405162461bcd60e51b81526004016102c19190611835565b508054610fec90611546565b6000825580601f10610ffc575050565b601f01602090049060005260206000209081019061101a919061101d565b50565b5b80821115611032576000815560010161101e565b5090565b6000806020838503121561104957600080fd5b823567ffffffffffffffff81111561106057600080fd5b8301601f8101851361107157600080fd5b803567ffffffffffffffff81111561108857600080fd5b8560208260051b840101111561109d57600080fd5b6020919091019590945092505050565b6001600160a01b038116811461101a57600080fd5b600080604083850312156110d557600080fd5b8235915060208301356110e7816110ad565b809150509250929050565b6000806040838503121561110557600080fd5b8235611110816110ad565b915060208301356110e7816110ad565b60006020828403121561113257600080fd5b5035919050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561117857611178611139565b604052919050565b600067ffffffffffffffff82111561119a5761119a611139565b50601f01601f191660200190565b600082601f8301126111b957600080fd5b81356111cc6111c782611180565b61114f565b8181528460208386010111156111e157600080fd5b816020850160208301376000918101602001919091529392505050565b6000806040838503121561121157600080fd5b82359150602083013567ffffffffffffffff81111561122f57600080fd5b61123b858286016111a8565b9150509250929050565b60005b83811015611260578181015183820152602001611248565b50506000910152565b60008151808452611281816020860160208601611245565b601f01601f19169290920160200192915050565b63ffffffff83168152604060208201526000610e5f6040830184611269565b6000602082840312156112c657600080fd5b81356112d1816110ad565b9392505050565b6001600160a01b03841681526060602082018190526000906112fc90830185611269565b9050826040830152949350505050565b6000806040838503121561131f57600080fd5b823561132a816110ad565b946020939093013593505050565b60008083601f84011261134a57600080fd5b50813567ffffffffffffffff81111561136257600080fd5b60208301915083602082850101111561068757600080fd5b60008060006040848603121561138f57600080fd5b833561139a816110ad565b9250602084013567ffffffffffffffff8111156113b657600080fd5b6113c286828701611338565b9497909650939450505050565b6000806000604084860312156113e457600080fd5b83359250602084013567ffffffffffffffff8111156113b657600080fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600063ffffffff821663ffffffff810361144a5761144a611418565b60010192915050565b6020808252600a908201526927b7363c9037bbb732b960b11b604082015260600190565b8181038181111561148a5761148a611418565b92915050565b828152600082516114a8816020850160208701611245565b919091016020019392505050565b60609290921b6bffffffffffffffffffffffff19168252601482015260340190565b6bffffffffffffffffffffffff198460601b16815282601482015260008251611508816034850160208701611245565b91909101603401949350505050565b60008351611529818460208801611245565b83519083019061153d818360208801611245565b01949350505050565b600181811c9082168061155a57607f821691505b60208210810361157a57634e487b7160e01b600052602260045260246000fd5b50919050565b808202811582820484141761148a5761148a611418565b8082018082111561148a5761148a611418565b601f82111561032957806000526020600020601f840160051c810160208510156115d15750805b601f840160051c820191505b818110156115f157600081556001016115dd565b5050505050565b67ffffffffffffffff83111561161057611610611139565b6116248361161e8354611546565b836115aa565b6000601f84116001811461165857600085156116405750838201355b600019600387901b1c1916600186901b1783556115f1565b600083815260209020601f19861690835b828110156116895786850135825560209485019460019092019101611669565b50868210156116a65760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b63ffffffff8116811461101a57600080fd5b600080600080608085870312156116e057600080fd5b84356116eb816110ad565b9350602085013592506040850135611702816116b8565b9150606085013567ffffffffffffffff81111561171e57600080fd5b61172a878288016111a8565b91505092959194509250565b6000806000806080858703121561174c57600080fd5b8451611757816110ad565b60208601516040870151919550935061176f816116b8565b606086015190925067ffffffffffffffff81111561178c57600080fd5b8501601f8101871361179d57600080fd5b80516117ab6111c782611180565b8181528860208385010111156117c057600080fd5b6117d1826020830160208601611245565b9598949750929550505050565b6000602082840312156117f057600080fd5b5051919050565b60006020828403121561180957600080fd5b815180151581146112d157600080fd5b6000825161182b818460208701611245565b9190910192915050565b6020815260006112d1602083018461126956fea2646970667358221220debfb5c9322353354ac5f925294b468c260d1f7b6643a06bcb3251727f6d13d664736f6c634300081a00330000000000000000000000005ff137d4b0fdcd49dca30c7cf57e578a026d27890000000000000000000000001c64ec0a5e2c58295c3208a63209a2a719df68d8", - "nonce": "0x67", - "chainId": "0x70d2" - }, - "additionalContracts": [], - "isFixedGasLimit": false - }, - { - "hash": "0x998f709cd3ba49b0764c7396731ce596b2091d103149d3a603eb2f740588de83", - "transactionType": "CALL", - "contractName": null, - "contractAddress": "0x3dd6ee2e539ccd7eab881173fb704f766e877848", - "function": "createAccount(address,uint256)", - "arguments": [ - "0xD538DAed647eb02E71a9E810afF855D013FD493C", - "9012365" - ], - "transaction": { - "from": "0xd538daed647eb02e71a9e810aff855d013fd493c", - "to": "0x3dd6ee2e539ccd7eab881173fb704f766e877848", - "gas": "0x359a2", - "value": "0x0", - "input": "0x5fbfb9cf000000000000000000000000d538daed647eb02e71a9e810aff855d013fd493c000000000000000000000000000000000000000000000000000000000089848d", - "nonce": "0x68", - "chainId": "0x70d2" - }, - "additionalContracts": [ - { - "transactionType": "CREATE2", - "address": "0x19ec35e5d5e26ebbf1ac2611c2efc7acc8f9fab5", - "initCode": "0x60806040526040516104e13803806104e1833981016040819052610022916102de565b61002e82826000610035565b50506103fb565b61003e83610061565b60008251118061004b5750805b1561005c5761005a83836100a1565b505b505050565b61006a816100cd565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b60606100c683836040518060600160405280602781526020016104ba60279139610180565b9392505050565b6001600160a01b0381163b61013f5760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b60648201526084015b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80546001600160a01b0319166001600160a01b0392909216919091179055565b6060600080856001600160a01b03168560405161019d91906103ac565b600060405180830381855af49150503d80600081146101d8576040519150601f19603f3d011682016040523d82523d6000602084013e6101dd565b606091505b5090925090506101ef868383876101f9565b9695505050505050565b60608315610268578251600003610261576001600160a01b0385163b6102615760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610136565b5081610272565b610272838361027a565b949350505050565b81511561028a5781518083602001fd5b8060405162461bcd60e51b815260040161013691906103c8565b634e487b7160e01b600052604160045260246000fd5b60005b838110156102d55781810151838201526020016102bd565b50506000910152565b600080604083850312156102f157600080fd5b82516001600160a01b038116811461030857600080fd5b60208401519092506001600160401b038082111561032557600080fd5b818501915085601f83011261033957600080fd5b81518181111561034b5761034b6102a4565b604051601f8201601f19908116603f01168101908382118183101715610373576103736102a4565b8160405282815288602084870101111561038c57600080fd5b61039d8360208301602088016102ba565b80955050505050509250929050565b600082516103be8184602087016102ba565b9190910192915050565b60208152600082518060208401526103e78160408501602087016102ba565b601f01601f19169190910160400192915050565b60b1806104096000396000f3fe608060405236601057600e6013565b005b600e5b601f601b6021565b6058565b565b600060537f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b905090565b3660008037600080366000845af43d6000803e8080156076573d6000f35b3d6000fdfea2646970667358221220b1c2d4337feb913e19cf66a7fdab13832aa3e16dd7abd3391cf09c3011a5a46664736f6c63430008190033416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c65640000000000000000000000003d3541c4c0e53c79d849db25d7520cd7d9b4a92400000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000024c4d66de8000000000000000000000000d538daed647eb02e71a9e810aff855d013fd493c00000000000000000000000000000000000000000000000000000000" - } - ], - "isFixedGasLimit": false - }, - { - "hash": "0xa8f5d56cf6136ff104d88eb56d8233c3351ce17ffafed1b56ee2f38d96bba2f8", - "transactionType": "CALL", - "contractName": null, - "contractAddress": "0x5ff137d4b0fdcd49dca30c7cf57e578a026d2789", - "function": "depositTo(address)", - "arguments": [ - "0x19EC35e5D5E26ebBf1ac2611C2Efc7Acc8F9Fab5" - ], - "transaction": { - "from": "0xd538daed647eb02e71a9e810aff855d013fd493c", - "to": "0x5ff137d4b0fdcd49dca30c7cf57e578a026d2789", - "gas": "0x10670", - "value": "0x38d7ea4c68000", - "input": "0xb760faf900000000000000000000000019ec35e5d5e26ebbf1ac2611c2efc7acc8f9fab5", - "nonce": "0x69", - "chainId": "0x70d2" - }, - "additionalContracts": [], - "isFixedGasLimit": false - }, - { - "hash": "0x71b3b5ac788684d4259729415f5f8f167ae34c4caa8a9465b007b111fb419037", - "transactionType": "CALL", - "contractName": "HCHelper", - "contractAddress": "0x446559ce4bfade99c036c43f861af681a10433b9", - "function": "AddCredit(address,uint256)", - "arguments": [ - "0x19EC35e5D5E26ebBf1ac2611C2Efc7Acc8F9Fab5", - "100" - ], - "transaction": { - "from": "0xd538daed647eb02e71a9e810aff855d013fd493c", - "to": "0x446559ce4bfade99c036c43f861af681a10433b9", - "gas": "0x108d0", - "value": "0x0", - "input": "0x87fc1b2500000000000000000000000019ec35e5d5e26ebbf1ac2611c2efc7acc8f9fab50000000000000000000000000000000000000000000000000000000000000064", - "nonce": "0x6a", - "chainId": "0x70d2" - }, - "additionalContracts": [], - "isFixedGasLimit": false - }, - { - "hash": "0x42cb717036f0e8c2d118f7d6a3e9f0593fc1845187f22046e7cee19f29ef1fe9", - "transactionType": "CALL", - "contractName": "ERC1967Proxy", - "contractAddress": "0x19ec35e5d5e26ebbf1ac2611c2efc7acc8f9fab5", - "function": null, - "arguments": null, - "transaction": { - "from": "0xd538daed647eb02e71a9e810aff855d013fd493c", - "to": "0x19ec35e5d5e26ebbf1ac2611c2efc7acc8f9fab5", - "gas": "0xa4a9", - "value": "0x0", - "input": "0xc4d66de8000000000000000000000000d538daed647eb02e71a9e810aff855d013fd493c", - "nonce": "0x6b", - "chainId": "0x70d2" - }, - "additionalContracts": [], - "isFixedGasLimit": false - } - ], - "receipts": [ - { - "status": "0x1", - "cumulativeGasUsed": "0x168895", - "logs": [], - "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", - "type": "0x2", - "transactionHash": "0x5c3613b3ac1c593b7d2d653548eeb8cc31e0280b3f60d0dd5b2a00c53429de75", - "transactionIndex": "0x1", - "blockHash": "0x65b9bf005c93b8aac61f0c903e483879abe03f53861e3b4569e8f578566eccfb", - "blockNumber": "0x898494", - "gasUsed": "0x15dd5f", - "effectiveGasPrice": "0xd", - "from": "0xd538daed647eb02e71a9e810aff855d013fd493c", - "to": null, - "contractAddress": "0x446559ce4bfade99c036c43f861af681a10433b9", - "l1BaseFeeScalar": "0xf4240", - "l1BlobBaseFeeScalar": "0x0", - "l1Fee": "0x9575a18df386", - "l1GasPrice": "0xa46b2c71", - "l1GasUsed": "0xe8b5" - }, - { - "status": "0x1", - "cumulativeGasUsed": "0x18d35a", - "logs": [ - { - "address": "0x19ec35e5d5e26ebbf1ac2611c2efc7acc8f9fab5", - "topics": [ - "0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b", - "0x0000000000000000000000003d3541c4c0e53c79d849db25d7520cd7d9b4a924" - ], - "data": "0x", - "blockHash": "0x65b9bf005c93b8aac61f0c903e483879abe03f53861e3b4569e8f578566eccfb", - "blockNumber": "0x898494", - "transactionHash": "0x998f709cd3ba49b0764c7396731ce596b2091d103149d3a603eb2f740588de83", - "transactionIndex": "0x2", - "logIndex": "0x0", - "removed": false - }, - { - "address": "0x19ec35e5d5e26ebbf1ac2611c2efc7acc8f9fab5", - "topics": [ - "0x9b59b00fd640e59bf0e3692231b0a9c9637a5dea0c4b2a681c2987883c65ea9d", - "0x0000000000000000000000005ff137d4b0fdcd49dca30c7cf57e578a026d2789", - "0x000000000000000000000000d538daed647eb02e71a9e810aff855d013fd493c" - ], - "data": "0x", - "blockHash": "0x65b9bf005c93b8aac61f0c903e483879abe03f53861e3b4569e8f578566eccfb", - "blockNumber": "0x898494", - "transactionHash": "0x998f709cd3ba49b0764c7396731ce596b2091d103149d3a603eb2f740588de83", - "transactionIndex": "0x2", - "logIndex": "0x1", - "removed": false - } - ], - "logsBloom": "0x00000000000000000000000000000000400000000000100000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000008000000000000000000000000000000000000000000000000000000000000000000000000004000820000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000000002000000080000000020000000000108000000000008000000000000010000000000000000000000000000000000000000000000000000000000000000000008000000000000", - "type": "0x2", - "transactionHash": "0x998f709cd3ba49b0764c7396731ce596b2091d103149d3a603eb2f740588de83", - "transactionIndex": "0x2", - "blockHash": "0x65b9bf005c93b8aac61f0c903e483879abe03f53861e3b4569e8f578566eccfb", - "blockNumber": "0x898494", - "gasUsed": "0x24ac5", - "effectiveGasPrice": "0xd", - "from": "0xd538daed647eb02e71a9e810aff855d013fd493c", - "to": "0x3dd6ee2e539ccd7eab881173fb704f766e877848", - "contractAddress": null, - "l1BaseFeeScalar": "0xf4240", - "l1BlobBaseFeeScalar": "0x0", - "l1Fee": "0x4039dd5c240", - "l1GasPrice": "0xa46b2c71", - "l1GasUsed": "0x640" - }, - { - "status": "0x1", - "cumulativeGasUsed": "0x1986cc", - "logs": [ - { - "address": "0x5ff137d4b0fdcd49dca30c7cf57e578a026d2789", - "topics": [ - "0x2da466a7b24304f47e87fa2e1e5a81b9831ce54fec19055ce277ca2f39ba42c4", - "0x00000000000000000000000019ec35e5d5e26ebbf1ac2611c2efc7acc8f9fab5" - ], - "data": "0x00000000000000000000000000000000000000000000000000038d7ea4c68000", - "blockHash": "0x65b9bf005c93b8aac61f0c903e483879abe03f53861e3b4569e8f578566eccfb", - "blockNumber": "0x898494", - "transactionHash": "0xa8f5d56cf6136ff104d88eb56d8233c3351ce17ffafed1b56ee2f38d96bba2f8", - "transactionIndex": "0x3", - "logIndex": "0x2", - "removed": false - } - ], - "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000100000000000000000000000000000000002000000000000000000000000000000000000000000000000000000200000000000080000000000000000000200000000000000000000000000020200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000", - "type": "0x2", - "transactionHash": "0xa8f5d56cf6136ff104d88eb56d8233c3351ce17ffafed1b56ee2f38d96bba2f8", - "transactionIndex": "0x3", - "blockHash": "0x65b9bf005c93b8aac61f0c903e483879abe03f53861e3b4569e8f578566eccfb", - "blockNumber": "0x898494", - "gasUsed": "0xb372", - "effectiveGasPrice": "0xd", - "from": "0xd538daed647eb02e71a9e810aff855d013fd493c", - "to": "0x5ff137d4b0fdcd49dca30c7cf57e578a026d2789", - "contractAddress": null, - "l1BaseFeeScalar": "0xf4240", - "l1BlobBaseFeeScalar": "0x0", - "l1Fee": "0x4039dd5c240", - "l1GasPrice": "0xa46b2c71", - "l1GasUsed": "0x640" - }, - { - "status": "0x1", - "cumulativeGasUsed": "0x1a3bde", - "logs": [], - "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", - "type": "0x2", - "transactionHash": "0x71b3b5ac788684d4259729415f5f8f167ae34c4caa8a9465b007b111fb419037", - "transactionIndex": "0x4", - "blockHash": "0x65b9bf005c93b8aac61f0c903e483879abe03f53861e3b4569e8f578566eccfb", - "blockNumber": "0x898494", - "gasUsed": "0xb512", - "effectiveGasPrice": "0xd", - "from": "0xd538daed647eb02e71a9e810aff855d013fd493c", - "to": "0x446559ce4bfade99c036c43f861af681a10433b9", - "contractAddress": null, - "l1BaseFeeScalar": "0xf4240", - "l1BlobBaseFeeScalar": "0x0", - "l1Fee": "0x4039dd5c240", - "l1GasPrice": "0xa46b2c71", - "l1GasUsed": "0x640" - }, - { - "status": "0x1", - "cumulativeGasUsed": "0x1ab315", - "logs": [ - { - "address": "0x19ec35e5d5e26ebbf1ac2611c2efc7acc8f9fab5", - "topics": [ - "0x9b59b00fd640e59bf0e3692231b0a9c9637a5dea0c4b2a681c2987883c65ea9d", - "0x0000000000000000000000005ff137d4b0fdcd49dca30c7cf57e578a026d2789", - "0x000000000000000000000000d538daed647eb02e71a9e810aff855d013fd493c" - ], - "data": "0x", - "blockHash": "0x65b9bf005c93b8aac61f0c903e483879abe03f53861e3b4569e8f578566eccfb", - "blockNumber": "0x898494", - "transactionHash": "0x42cb717036f0e8c2d118f7d6a3e9f0593fc1845187f22046e7cee19f29ef1fe9", - "transactionIndex": "0x5", - "logIndex": "0x3", - "removed": false - } - ], - "logsBloom": "0x00000000000000000000000000000000000000000000100000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000820000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000000002000000080000000000000000000100000000000008000000000000010000000000000000000000000000000000000000000000000000000000000000000008000000000000", - "type": "0x2", - "transactionHash": "0x42cb717036f0e8c2d118f7d6a3e9f0593fc1845187f22046e7cee19f29ef1fe9", - "transactionIndex": "0x5", - "blockHash": "0x65b9bf005c93b8aac61f0c903e483879abe03f53861e3b4569e8f578566eccfb", - "blockNumber": "0x898494", - "gasUsed": "0x7737", - "effectiveGasPrice": "0xd", - "from": "0xd538daed647eb02e71a9e810aff855d013fd493c", - "to": "0x19ec35e5d5e26ebbf1ac2611c2efc7acc8f9fab5", - "contractAddress": null, - "l1BaseFeeScalar": "0xf4240", - "l1BlobBaseFeeScalar": "0x0", - "l1Fee": "0x4039dd5c240", - "l1GasPrice": "0xa46b2c71", - "l1GasUsed": "0x640" - } - ], - "libraries": [], - "pending": [], - "returns": {}, - "timestamp": 1723624514, - "chain": 28882, - "commit": "86d6e76" -} \ No newline at end of file diff --git a/contracts/ignition/modules/TokenPrice.ts b/contracts/ignition/modules/TokenPrice.ts deleted file mode 100644 index beab03d..0000000 --- a/contracts/ignition/modules/TokenPrice.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { buildModule } from "@nomicfoundation/hardhat-ignition/modules"; -require("dotenv").config(); - -const TokenModule = buildModule("TokenPrice", (m) => { - if (!process.env.HYBRID_ACCOUNT) { - throw Error("HYBRID_ACCOUNT must be set!") - } - console.log('HA verified -> ', process.env.HYBRID_ACCOUNT); - - const tokenPrice = m.contract("TokenPrice", [ - process.env.HYBRID_ACCOUNT, - ]); - - return { tokenPrice }; -}); - -module.exports = TokenModule; diff --git a/contracts/script/LocalDeploy.s.sol b/contracts/script/LocalDeploy.s.sol deleted file mode 100644 index f6eb989..0000000 --- a/contracts/script/LocalDeploy.s.sol +++ /dev/null @@ -1,84 +0,0 @@ -// SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.13; - -import "forge-std/Script.sol"; -import "../contracts/core/EntryPoint.sol"; -import "../contracts/core/HCHelper.sol"; -import "../contracts/samples/HybridAccountFactory.sol"; -import "../contracts/samples/SimpleAccountFactory.sol"; - -contract LocalDeploy is Script { - function run() external - returns (address[5] memory) { - address deployAddr = vm.envAddress("DEPLOY_ADDR"); - uint256 deployerPrivateKey = vm.envUint("PRIVATE_KEY"); - address hcSysOwner = vm.envAddress("HC_SYS_OWNER"); - require (hcSysOwner != address(0), "HC_SYS_OWNER not set"); - uint256 deploySalt = vm.envOr("DEPLOY_SALT",uint256(0)); // Change this to force redeployment of contracts - - address bobaAddr = vm.envOr("BOBA_TOKEN", 0x4200000000000000000000000000000000000023); - - EntryPoint ept; - HCHelper helper; - SimpleAccountFactory saf; - HybridAccountFactory haf; - HybridAccount ha0; - - bytes32 salt_val = bytes32(deploySalt); - uint112 min_deposit = 0.001 ether; - - vm.startBroadcast(deployerPrivateKey); - - { // Limit variable scope to avoid "stack too deep" - address entryPointAddr = vm.envOr("ENTRY_POINTS", 0x0000000000000000000000000000000000000000); // Must be a single value despite the variable name - if (entryPointAddr != address(0) && entryPointAddr.code.length > 0) { - ept = EntryPoint(payable(entryPointAddr)); - } else { - ept = new EntryPoint{salt: salt_val}(); - } - } - { - address helperAddr = vm.envOr("HC_HELPER_ADDR", 0x0000000000000000000000000000000000000000); - if (helperAddr != address(0) && helperAddr.code.length > 0) { - helper = HCHelper(helperAddr); - } else { - helper = new HCHelper{salt: salt_val}(address(ept), bobaAddr); - } - } - { - address safAddr = vm.envOr("SA_FACTORY_ADDR", 0x0000000000000000000000000000000000000000); - if (safAddr != address(0) && safAddr.code.length > 0) { - saf = SimpleAccountFactory(safAddr); - } else { - saf = new SimpleAccountFactory(ept); - } - } - { - address hafAddr = vm.envOr("HA_FACTORY_ADDR", 0x0000000000000000000000000000000000000000); - if (hafAddr != address(0) && hafAddr.code.length > 0) { - haf = HybridAccountFactory(hafAddr); - } else { - haf = new HybridAccountFactory(ept, address(helper)); - } - } - { - address ha0Addr = vm.envOr("HC_SYS_ACCOUNT", 0x0000000000000000000000000000000000000000); - if (ha0Addr != address(0) && ha0Addr.code.length > 0) { - ha0 = HybridAccount(payable(ha0Addr)); - } else { - ha0 = haf.createAccount(hcSysOwner,0); - } - } - if (helper.systemAccount() != address(ha0)) { - helper.initialize(deployAddr, address(ha0)); - } - - (uint112 bal,,,,) = ept.deposits(address(ha0)); - if (bal < min_deposit) { - ept.depositTo{value: min_deposit - bal}(address(ha0)); - } - - vm.stopBroadcast(); - return [address(ept),address(helper), address(saf), address(haf), address(ha0)]; - } -} diff --git a/contracts/script/pushProduction.js b/contracts/script/create-contract-configuration.js similarity index 100% rename from contracts/script/pushProduction.js rename to contracts/script/create-contract-configuration.js diff --git a/contracts/script/deploy-local.ts b/contracts/script/deploy-local.ts index cee58ab..de595fe 100644 --- a/contracts/script/deploy-local.ts +++ b/contracts/script/deploy-local.ts @@ -14,6 +14,7 @@ import {sleep} from "@nomicfoundation/hardhat-verify/internal/utilities"; dotenv.config(); +/** @DEV addresses */ const deployAddr = ethers.getAddress("0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266"); const deployKey = "0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80"; const bundlerAddr = ethers.getAddress("0xB834a876b7234eb5A45C0D5e693566e8842400bB"); @@ -22,6 +23,14 @@ const ha0Owner = ethers.getAddress("0x2A9099A58E0830A4Ab418c2a19710022466F1ce7") const ha0Privkey = "0x75cd983f0f4714969b152baa258d849473732905e2301467303dacf5a09fdd57"; const ha1Owner = ethers.getAddress("0xE073fC0ff8122389F6e693DD94CcDc5AF637448e"); +/** @DEV Other Configurations */ +const RPC_URL_L1 = 'http://localhost:8545'; +const RPC_URL_L2 = 'http://localhost:9545'; +const L1StandardBridge = '0xCf7Ed3AccA5a467e9e704C703E8D87F634fB0Fc9'; +const l1provider = new ethers.JsonRpcProvider(RPC_URL_L1); +const l2provider = new ethers.JsonRpcProvider(RPC_URL_L2); +const walletL2 = new ethers.Wallet(deployKey, l2provider); +const walletL1 = new ethers.Wallet(deployKey, l1provider); /** @DEV Configurations */ const snapEnv = '../snap-account-abstraction-keyring/packages/snap/.env-local' @@ -39,7 +48,6 @@ async function main() { // if true, then the script will regularly clean up idle data to keep storage low const isCi: boolean = ciArg ? ciArg.split('=')[1].toLowerCase() === 'true' : false; - if (!isPortInUse(8545) && !isPortInUse(9545)) { await execPromise("pnpm install", [], path.resolve(__dirname, "../../boba")); //await execPromise('go mod tidy -e', [], path.resolve(__dirname, "../../boba")); @@ -58,9 +66,7 @@ async function main() { console.log("Deleted make and golang as not needed anymore.") } - const fundL2Vars = {...process.env, PRIVATE_KEY: deployKey,}; - - await execPromise("node fundL2.js", undefined, path.resolve(__dirname, "../script/"), fundL2Vars); + await fundL2(); await sleep(5000); @@ -187,4 +193,24 @@ const updateEnvVariable = (key: string, value: string, envPath: string) => { dotenv.config(); }; +async function fundL2() { + if ((await l2provider.getBalance(walletL2)) > 1) { + console.log("Deployer already has funds on L2, continue"); + } else { + console.log('Funding L2...') + try { + const tx = { + to: L1StandardBridge, + value: ethers.parseEther('100') + }; + const response = await walletL1.sendTransaction(tx); + await response.wait(); + console.log("Funding L2 done..."); + } catch (e) { + console.error("Error: ", e); + } + } +} + + main(); diff --git a/contracts/script/deploy-sepolia.ts b/contracts/script/deploy-sepolia.ts index 9ddcbda..bb45984 100644 --- a/contracts/script/deploy-sepolia.ts +++ b/contracts/script/deploy-sepolia.ts @@ -83,7 +83,7 @@ async function main() { } await execPromise( - `node script/pushProduction.js ${RPC_URL} ${PRIVATE_KEY} ${HC_HELPER_ADDR} ${hybridAccountAddress} ${tokenPriceAddress} ${finalBackendUrl}` + `node script/create-contract-configuration.js ${RPC_URL} ${PRIVATE_KEY} ${HC_HELPER_ADDR} ${hybridAccountAddress} ${tokenPriceAddress} ${finalBackendUrl}` ); console.log("Deployment process completed successfully!"); diff --git a/contracts/script/fundL2.js b/contracts/script/fundL2.js deleted file mode 100644 index ba075a0..0000000 --- a/contracts/script/fundL2.js +++ /dev/null @@ -1,34 +0,0 @@ -const {ethers} = require('ethers'); -require("dotenv").config(); - -const RPC_URL_L1 = 'http://localhost:8545'; -const RPC_URL_L2 = 'http://localhost:9545'; -const PRIVATE_KEY = process.env.PRIVATE_KEY; -const L1StandardBridge = '0xCf7Ed3AccA5a467e9e704C703E8D87F634fB0Fc9'; - -const l1provider = new ethers.JsonRpcProvider(RPC_URL_L1); -const l2provider = new ethers.JsonRpcProvider(RPC_URL_L2); - -const walletL2 = new ethers.Wallet(PRIVATE_KEY, l2provider); -const walletL1 = new ethers.Wallet(PRIVATE_KEY, l1provider); - -async function main() { - if ((await l2provider.getBalance(walletL2)) > 1) { - console.log("Deployer already has funds on L2, continue"); - } else { - console.log('Funding L2...') - try { - const tx = { - to: L1StandardBridge, - value: ethers.parseEther('100') - }; - const response = await walletL1.sendTransaction(tx); - await response.wait(); - console.log("Funding L2 done..."); - } catch (e) { - console.error("Error: ", e); - } - } -} - -main().catch(console.error); \ No newline at end of file diff --git a/contracts/script/fundPaymaster.js b/contracts/script/fundPaymaster.js deleted file mode 100644 index b5d9b73..0000000 --- a/contracts/script/fundPaymaster.js +++ /dev/null @@ -1,58 +0,0 @@ -const {ethers, parseEther} = require('ethers'); -require("dotenv").config(); - -(async () => { - const RPC_URL_L2 = 'http://localhost:9545'; - const PRIVATE_KEY = process.env.PRIVATE_KEY; - const l2provider = new ethers.JsonRpcProvider(RPC_URL_L2); - const walletL2 = new ethers.Wallet(PRIVATE_KEY, l2provider); - - const bobaPaymaster = "0x2279b7a0a67db372996a5fab50d91eaa73d2ebe6"; - if (!bobaPaymaster) { - throw Error("Error: LOCAL_BOBAPAYMASTER= must be defined and passed. ") - } - - const bobaPaymasterContract = new ethers.Contract( - bobaPaymaster, - ['function mintTokens(address recipient, uint256 amount)', - 'function addStake(uint32 unstakeDelaySec) payable', - 'function deposit() payable' - ], - walletL2 - ) - - console.log('Minting Paymaster Tokens'); - - /** @DEV Mint Paymaster Tokens for [HA, TokenContract, what?] */ - // 0x19dE105C7Bb25798BDF07212B2FB82A1Ef1De3fC - Wallet - // 0x5fc8d32690cc91d4c39d9d3abcbd16989f875707 - token contract token was used and now hybrid account - // HA = 0x071fd326577b1a9098c971af5f61a954594b67dd - // const addCredit2 = await bobaPaymasterContract.mintTokens('0x5fc8d32690cc91d4c39d9d3abcbd16989f875707', parseEther('1'), { - // gasPrice: 100_000_000 - // }) - - - /** @DEV Deposit into the BobaPaymentContract */ - const depositTx = await bobaPaymasterContract.deposit({ - value: ethers.parseEther("0.1"), - gasPrice: 100_000_000 - }); - console.log('Deposit transaction sent. Waiting for confirmation...'); - const r2 = await depositTx.wait(); - console.log('Success =', r2.status === 1); - - - /** @DEV Add Stake to the PaymasterContract*/ - const unstakeDelaySecBN = BigInt("5"); - const stakeAmountWei = ethers.parseEther("1"); - const addStakeTx = await bobaPaymasterContract.addStake(unstakeDelaySecBN, { - value: stakeAmountWei, - gasPrice: 100_000_000 - }); - - console.log('Add Stake Transaction sent. Waiting for confirmation...'); - const receipt = await addStakeTx.wait(); - console.log('Success =', receipt.status === 1); - - // console.log('done: ', await addCredit3.wait()); -})(); \ No newline at end of file diff --git a/contracts/script/parseEnvironment.js b/contracts/script/parseEnvironment.js deleted file mode 100644 index dfd0ea6..0000000 --- a/contracts/script/parseEnvironment.js +++ /dev/null @@ -1,38 +0,0 @@ -const fs = require('fs'); -const logFilePath = 'deploy.log'; -const envFilePath = '.env'; - -fs.readFile(logFilePath, 'utf8', (err, data) => { - if (err) { - console.error('Error reading the log file:', err); - process.exit(1); - } - const regex = /(\w+)=\s*(0x[0-9a-fA-F]+|[0-9]+(?:\.[0-9]+)?)\b/g; - let match; - const envVars = {}; - - while ((match = regex.exec(data)) !== null) { - envVars[match[1]] = match[2]; - } - fs.readFile(envFilePath, 'utf8', (err, envData) => { - if (err) { - console.error('Error reading the .env file:', err); - process.exit(1); - } - let updatedEnvData = envData; - for (const [key, value] of Object.entries(envVars)) { - const regex = new RegExp(`^${key}=.*`, 'm'); - if (regex.test(updatedEnvData)) { - updatedEnvData = updatedEnvData.replace(regex, `${key}=${value}`); - } else { - updatedEnvData += `\n${key}=${value}`; - } - } - fs.writeFile(envFilePath, updatedEnvData, 'utf8', (err) => { - if (err) { - console.error('Error writing to the .env file:', err); - process.exit(1); - } - }); - }); -}); \ No newline at end of file diff --git a/contracts/script/prefund.s.sol b/contracts/script/prefund.s.sol deleted file mode 100644 index b82891d..0000000 --- a/contracts/script/prefund.s.sol +++ /dev/null @@ -1,23 +0,0 @@ -// SPDX-License-Identifier: MIT -pragma solidity ^0.8.0; - -import "forge-std/Script.sol"; - -contract L1ToL2DepositScript is Script { - uint256 public deployerPrivateKey = vm.envUint("PRIVATE_KEY"); - address public deployerAddress = address(0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266); - address constant L1_PORTAL_ADDRESS = 0x3fdc08D815cc4ED3B7F69Ee246716f2C8bCD6b07; - - function run() external { - deployerAddress = vm.addr(deployerPrivateKey); - console.log("Balance deployer =", deployerAddress.balance); - console.log("----"); - vm.startBroadcast(deployerPrivateKey); - - // Send ETH directly to the portal address - (bool success, ) = L1_PORTAL_ADDRESS.call{value: 1000}(""); - require(success, "L1 to L2 ETH transfer failed"); - - vm.stopBroadcast(); - } -} \ No newline at end of file diff --git a/contracts/script/registerUrl.s.sol b/contracts/script/registerUrl.s.sol deleted file mode 100644 index 77402cb..0000000 --- a/contracts/script/registerUrl.s.sol +++ /dev/null @@ -1,34 +0,0 @@ -// SPDX-License-Identifier: MIT -pragma solidity ^0.8.13; - -import "forge-std/Script.sol"; -import "../contracts/samples/HybridAccount.sol"; -import "../contracts/core/HCHelper.sol"; -import {HybridAccountFactory} from "../contracts/samples/HybridAccountFactory.sol"; - -contract RegisterUrl is Script { - // Configs - address public deployerAddress; - uint256 public deployerPrivateKey = vm.envUint("PRIVATE_KEY_OWNER"); - string public backendURL = vm.envString("BACKEND_URL"); // default backend for boba sepolia - address public hcHelperAddr = vm.envAddress("HC_HELPER_ADDR"); // System-wide HCHelper - - // Contracts - address public hybridAccount = vm.envAddress("HYBRID_ACCOUNT"); - address public entrypoint = vm.envAddress("ENTRY_POINT"); // system wide - - function run() public { - deployerAddress = vm.addr(deployerPrivateKey); - - HCHelper hcHelper = HCHelper(hcHelperAddr); // make sure you don't deploy a new one here - assert(address(hcHelper) == hcHelperAddr); // check if assigned properly - - vm.startBroadcast(deployerPrivateKey); - - assert(hcHelper.owner() == deployerAddress); // Wrong private key - - // register url, only owner - reach out to Boba foundation: - hcHelper.RegisterUrl(hybridAccount, backendURL); - vm.stopBroadcast(); - } -} \ No newline at end of file diff --git a/contracts/script/utils.ts b/contracts/script/utils.ts index 529db9a..da3eaa8 100644 --- a/contracts/script/utils.ts +++ b/contracts/script/utils.ts @@ -5,7 +5,7 @@ import * as fs from "fs"; import * as dotenv from "dotenv"; import * as path from "path"; -export const DEFAULT_SNAP_VERSION = '1.1.3' +export const DEFAULT_SNAP_VERSION = '1.1.4' export const getLocalIpAddress = () => { const networkInterfaces = os.networkInterfaces(); diff --git a/contracts/test/e2e/metamask-flask-unpacked/background-0.js b/contracts/test/e2e/metamask-flask-unpacked/background-0.js index 16cfa75..9e05ab5 100644 --- a/contracts/test/e2e/metamask-flask-unpacked/background-0.js +++ b/contracts/test/e2e/metamask-flask-unpacked/background-0.js @@ -1 +1 @@ -LavaPack.loadBundle([[10,{"../../../shared/constants/alarms":4491,"../../../shared/constants/app":4493,"../../../shared/constants/preferences":4512,"../../../shared/constants/time":4518,"../../../shared/modules/mv3.utils":4547,"../../../ui/helpers/utils/build-types":5379,"../metamask-controller":121,"@metamask/controller-utils":1163,"@metamask/obs-store":1610,events:3328,loglevel:3842,uuid:4424},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=f(e("events")),s=e("@metamask/obs-store"),i=e("uuid"),o=f(e("loglevel")),a=e("@metamask/controller-utils"),l=e("../metamask-controller"),c=e("../../../shared/constants/time"),d=e("../../../shared/constants/alarms"),u=e("../../../shared/modules/mv3.utils"),h=e("../../../ui/helpers/utils/build-types"),p=e("../../../shared/constants/app"),m=e("../../../shared/constants/preferences");function f(e){return e&&e.__esModule?e:{default:e}}class g extends n.default{constructor(e={}){const{addUnlockListener:t,isUnlocked:r,initState:n,onInactiveTimeout:i,preferencesStore:o,messenger:a,extension:l}=e;super(),this.extension=l,this.onInactiveTimeout=i||(()=>undefined),this.store=new s.ObservableStore({timeoutMinutes:m.DEFAULT_AUTO_LOCK_TIME_LIMIT,connectedStatusPopoverHasBeenShown:!0,defaultHomeActiveTabName:null,browserEnvironment:{},popupGasPollTokens:[],notificationGasPollTokens:[],fullScreenGasPollTokens:[],recoveryPhraseReminderHasBeenShown:!1,recoveryPhraseReminderLastShown:(new Date).getTime(),outdatedBrowserWarningLastShown:(new Date).getTime(),nftsDetectionNoticeDismissed:!1,showTestnetMessageInDropdown:!0,showBetaHeader:(0,h.isBeta)(),showPermissionsTour:!0,showNetworkBanner:!0,showAccountBanner:!0,trezorModel:null,currentPopupId:undefined,onboardingDate:null,newPrivacyPolicyToastClickedOrClosed:null,newPrivacyPolicyToastShownDate:null,hadAdvancedGasFeesSetPriorToMigration92_3:!1,...n,qrHardware:{},nftsDropdownState:{},usedNetworks:{"0x1":!0,"0x5":!0,"0x539":!0},surveyLinkLastClickedOrClosed:null,signatureSecurityAlertResponses:{},switchedNetworkDetails:null,switchedNetworkNeverShowMessage:!1,currentExtensionPopupId:0}),this.timer=null,this.isUnlocked=r,this.waitingForUnlock=[],t(this.handleUnlock.bind(this)),o.subscribe((({preferences:e})=>{this.store.getState().timeoutMinutes!==e.autoLockTimeLimit&&this._setInactiveTimeout(e.autoLockTimeLimit)})),a.subscribe("KeyringController:qrKeyringStateChange",(e=>this.store.updateState({qrHardware:e})));const{preferences:c}=o.getState();this._setInactiveTimeout(c.autoLockTimeLimit),this.messagingSystem=a,this._approvalRequestId=null}getUnlockPromise(e){return new Promise((t=>{this.isUnlocked()?t():this.waitForUnlock(t,e)}))}waitForUnlock(e,t){this.waitingForUnlock.push({resolve:e}),this.emit(l.METAMASK_CONTROLLER_EVENTS.UPDATE_BADGE),t&&this._requestApproval()}handleUnlock(){if(this.waitingForUnlock.length>0){for(;this.waitingForUnlock.length>0;)this.waitingForUnlock.shift().resolve();this.emit(l.METAMASK_CONTROLLER_EVENTS.UPDATE_BADGE)}this._acceptApproval()}setDefaultHomeActiveTabName(e){this.store.updateState({defaultHomeActiveTabName:e})}setConnectedStatusPopoverHasBeenShown(){this.store.updateState({connectedStatusPopoverHasBeenShown:!0})}setRecoveryPhraseReminderHasBeenShown(){this.store.updateState({recoveryPhraseReminderHasBeenShown:!0})}setSurveyLinkLastClickedOrClosed(e){this.store.updateState({surveyLinkLastClickedOrClosed:e})}setOnboardingDate(){this.store.updateState({onboardingDate:Date.now()})}setNewPrivacyPolicyToastClickedOrClosed(){this.store.updateState({newPrivacyPolicyToastClickedOrClosed:!0})}setNewPrivacyPolicyToastShownDate(e){this.store.updateState({newPrivacyPolicyToastShownDate:e})}setRecoveryPhraseReminderLastShown(e){this.store.updateState({recoveryPhraseReminderLastShown:e})}setTermsOfUseLastAgreed(e){this.store.updateState({termsOfUseLastAgreed:e})}setSnapsInstallPrivacyWarningShownStatus(e){this.store.updateState({snapsInstallPrivacyWarningShown:e})}setOutdatedBrowserWarningLastShown(e){this.store.updateState({outdatedBrowserWarningLastShown:e})}setLastActiveTime(){this._resetTimer()}_setInactiveTimeout(e){this.store.updateState({timeoutMinutes:e}),this._resetTimer()}_resetTimer(){const{timeoutMinutes:e}=this.store.getState();if(this.timer?clearTimeout(this.timer):u.isManifestV3&&this.extension.alarms.clear(d.AUTO_LOCK_TIMEOUT_ALARM),!e)return;const t=Number(e);u.isManifestV3?(this.extension.alarms.create(d.AUTO_LOCK_TIMEOUT_ALARM,{delayInMinutes:t,periodInMinutes:t}),this.extension.alarms.onAlarm.addListener((e=>{e.name===d.AUTO_LOCK_TIMEOUT_ALARM&&(this.onInactiveTimeout(),this.extension.alarms.clear(d.AUTO_LOCK_TIMEOUT_ALARM))}))):this.timer=setTimeout((()=>this.onInactiveTimeout()),t*c.MINUTE)}setBrowserEnvironment(e,t){this.store.updateState({browserEnvironment:{os:e,browser:t}})}addPollingToken(e,t){if(t!==p.POLLING_TOKEN_ENVIRONMENT_TYPES[p.ENVIRONMENT_TYPE_BACKGROUND]){const r=this.store.getState()[t];this.store.updateState({[t]:[...r,e]})}}removePollingToken(e,t){if(t!==p.POLLING_TOKEN_ENVIRONMENT_TYPES[p.ENVIRONMENT_TYPE_BACKGROUND]){const r=this.store.getState()[t];this.store.updateState({[t]:r.filter((t=>t!==e))})}}clearPollingTokens(){this.store.updateState({popupGasPollTokens:[],notificationGasPollTokens:[],fullScreenGasPollTokens:[]})}setShowTestnetMessageInDropdown(e){this.store.updateState({showTestnetMessageInDropdown:e})}setShowBetaHeader(e){this.store.updateState({showBetaHeader:e})}setShowPermissionsTour(e){this.store.updateState({showPermissionsTour:e})}setShowNetworkBanner(e){this.store.updateState({showNetworkBanner:e})}setShowAccountBanner(e){this.store.updateState({showAccountBanner:e})}setCurrentExtensionPopupId(e){this.store.updateState({currentExtensionPopupId:e})}setSwitchedNetworkDetails(e){this.store.updateState({switchedNetworkDetails:e})}clearSwitchedNetworkDetails(){this.store.updateState({switchedNetworkDetails:null})}setSwitchedNetworkNeverShowMessage(e){this.store.updateState({switchedNetworkDetails:null,switchedNetworkNeverShowMessage:e})}setTrezorModel(e){this.store.updateState({trezorModel:e})}updateNftDropDownState(e){this.store.updateState({nftsDropdownState:e})}setFirstTimeUsedNetwork(e){const t=this.store.getState(),{usedNetworks:r}=t;r[e]=!0,this.store.updateState({usedNetworks:r})}getSignatureSecurityAlertResponse(e){return this.store.getState().signatureSecurityAlertResponses[e]}addSignatureSecurityAlertResponse(e){const t=this.store.getState(),{signatureSecurityAlertResponses:r}=t;this.store.updateState({signatureSecurityAlertResponses:{...r,[e.securityAlertId]:e}})}setCurrentPopupId(e){this.store.updateState({currentPopupId:e})}getCurrentPopupId(){return this.store.getState().currentPopupId}_requestApproval(){this._approvalRequestId||(this._approvalRequestId=(0,i.v4)(),this.messagingSystem.call("ApprovalController:addRequest",{id:this._approvalRequestId,origin:p.ORIGIN_METAMASK,type:a.ApprovalType.Unlock},!0).catch((()=>{this._approvalRequestId=null})))}_acceptApproval(){if(this._approvalRequestId){try{this.messagingSystem.call("ApprovalController:acceptRequest",this._approvalRequestId)}catch(e){o.default.error("Failed to unlock approval request",e)}this._approvalRequestId=null}}}r.default=g}}},{package:"$root$",file:"app/scripts/controllers/app-state.js"}],[100,{"../../../../../shared/constants/app":4493,"../../../../../shared/constants/metametrics":4505,"../../util":120,"eth-rpc-errors":3257},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=e("eth-rpc-errors"),s=e("../../../../../shared/constants/app"),i=e("../../../../../shared/constants/metametrics"),o=e("../../util");const a={methodNames:[s.MESSAGE_TYPE.ETH_REQUEST_ACCOUNTS],implementation:async function(e,t,r,a,{origin:c,getAccounts:d,getUnlockPromise:u,hasPermission:h,requestAccountsPermission:p,sendMetrics:m,getPermissionsForOrigin:f,metamaskState:g}){if(l.has(c))return t.error=n.ethErrors.rpc.resourceUnavailable(`Already processing ${s.MESSAGE_TYPE.ETH_REQUEST_ACCOUNTS}. Please wait.`),a();if(h(s.MESSAGE_TYPE.ETH_ACCOUNTS)){try{l.add(c),await u(!0),t.result=await d(),a()}catch(e){a(e)}finally{l.delete(c)}return undefined}try{await p()}catch(e){return t.error=e,a()}const v=await d();if(v.length>0){t.result=v;const e=f(c).eth_accounts.caveats[0].value.length,r=!Object.keys(g.permissionHistory).includes(c);(0,o.shouldEmitDappViewedEvent)(g.metaMetricsId)&&m({event:i.MetaMetricsEventName.DappViewed,category:i.MetaMetricsEventCategory.InpageProvider,referrer:{url:c},properties:{is_first_visit:r,number_of_accounts:Object.keys(g.accounts).length,number_of_accounts_connected:e}})}else t.error=n.ethErrors.rpc.internal("Accounts unexpectedly unavailable. Please report this bug.");return a()},hookNames:{origin:!0,getAccounts:!0,getUnlockPromise:!0,hasPermission:!0,requestAccountsPermission:!0,sendMetrics:!0,getPermissionsForOrigin:!0,metamaskState:!0}};r.default=a;const l=new Set}}},{package:"$root$",file:"app/scripts/lib/rpc-method-middleware/handlers/request-accounts.js"}],[101,{"../../../../../shared/constants/app":4493,"eth-rpc-errors":3257},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=e("eth-rpc-errors");const s={methodNames:[e("../../../../../shared/constants/app").MESSAGE_TYPE.SEND_METADATA],implementation:function(e,t,r,s,{addSubjectMetadata:i,subjectType:o}){const{origin:a,params:l}=e;if(!l||"object"!=typeof l||Array.isArray(l))return s(n.ethErrors.rpc.invalidParams({data:l}));{const{icon:e=null,name:t=null,...r}=l;i({...r,iconUrl:e,name:t,subjectType:o,origin:a})}return t.result=!0,s()},hookNames:{addSubjectMetadata:!0,subjectType:!0}};r.default=s}}},{package:"$root$",file:"app/scripts/lib/rpc-method-middleware/handlers/send-metadata.js"}],[102,{"../../../../../shared/constants/app":4493,"./ethereum-chain-utils":96,"eth-rpc-errors":3257},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=e("eth-rpc-errors"),s=e("../../../../../shared/constants/app"),i=e("./ethereum-chain-utils");const o={methodNames:[s.MESSAGE_TYPE.SWITCH_ETHEREUM_CHAIN],implementation:async function(e,t,r,o,{findNetworkConfigurationBy:a,setActiveNetwork:l,requestPermittedChainsPermission:c,getCaveat:d,getCurrentChainIdForDomain:u,requestUserApproval:h,getChainPermissionsFeatureFlag:p}){let m;try{m=(0,i.validateSwitchEthereumChainParams)(e,o)}catch(e){return o(e)}const{origin:f}=e,g=u(f);if(g===m)return t.result=null,o();const v=(0,i.findExistingNetwork)(m,a),w=(null==v?void 0:v.id)??(null==v?void 0:v.type);if(!w)return o(n.ethErrors.provider.custom({code:4902,message:`Unrecognized chain ID "${m}". Try adding the chain using ${s.MESSAGE_TYPE.ADD_ETHEREUM_CHAIN} first.`}));const y={toNetworkConfiguration:v,fromNetworkConfiguration:(0,i.findExistingNetwork)(g,a)};return(0,i.switchChain)(t,o,f,m,y,w,null,{getChainPermissionsFeatureFlag:p,setActiveNetwork:l,requestUserApproval:h,getCaveat:d,requestPermittedChainsPermission:c})},hookNames:{findNetworkConfigurationBy:!0,setActiveNetwork:!0,getCaveat:!0,requestPermittedChainsPermission:!0,getCurrentChainIdForDomain:!0,requestUserApproval:!0,getChainPermissionsFeatureFlag:!0}};r.default=o}}},{package:"$root$",file:"app/scripts/lib/rpc-method-middleware/handlers/switch-ethereum-chain.js"}],[103,{"../../../../../shared/constants/app":4493,"@metamask/controller-utils":1163,"eth-rpc-errors":3257},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=e("@metamask/controller-utils"),s=e("eth-rpc-errors"),i=e("../../../../../shared/constants/app");const o={methodNames:[i.MESSAGE_TYPE.WATCH_ASSET,i.MESSAGE_TYPE.WATCH_ASSET_LEGACY],implementation:async function(e,t,r,i,{handleWatchAssetRequest:o}){try{const{params:{options:r,type:a},origin:l,networkClientId:c}=e,{tokenId:d}=r;return[n.ERC721,n.ERC1155].includes(a)&&d!==undefined&&"string"!=typeof d?i(s.ethErrors.rpc.invalidParams({message:`Expected parameter 'tokenId' to be type 'string'. Received type '${typeof d}'`})):(await o({asset:r,type:a,origin:l,networkClientId:c}),t.result=!0,i())}catch(e){return i(e)}},hookNames:{handleWatchAssetRequest:!0}};r.default=o}}},{package:"$root$",file:"app/scripts/lib/rpc-method-middleware/handlers/watch-asset.js"}],[104,{"./createMethodMiddleware":92,"./createUnsupportedMethodMiddleware":93},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n=e("./createMethodMiddleware");Object.keys(n).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in r&&r[e]===n[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return n[e]}}))}));var s=e("./createUnsupportedMethodMiddleware");Object.keys(s).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in r&&r[e]===s[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return s[e]}}))}))}}},{package:"$root$",file:"app/scripts/lib/rpc-method-middleware/index.js"}],[105,{"../util":120,"@segment/loosely-validate-event":2376,buffer:3028,"is-retry-allowed":3659,lodash:3836,"remove-trailing-slash":4267,timers:4365},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(t,n){(function(){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var s=c(e("remove-trailing-slash")),i=c(e("@segment/loosely-validate-event")),o=e("lodash"),a=c(e("is-retry-allowed")),l=e("../util");function c(e){return e&&e.__esModule?e:{default:e}}const d=()=>({});r.default=class{constructor(e,t={}){this.writeKey=e,this.host=(0,s.default)(t.host||"https://api.segment.io"),this.flushInterval=t.flushInterval||1e4,this.flushAt=t.flushAt||Math.max(t.flushAt,1)||20,this.queue=[],this.path="/v1/batch",this.maxQueueSize=460800,this.flushed=!1,this.retryCount=3,Object.defineProperty(this,"enable",{configurable:!1,writable:!1,enumerable:!0,value:!0})}_validate(e,t){(0,i.default)(e,t)}_message(e,t,r){return this._validate(t,e),this.enqueue(e,t,r),this}identify(e,t){return this._message("identify",e,t)}track(e,t){return this._message("track",e,t)}page(e,t){return this._message("page",e,t)}enqueue(e,t,r=d){if(!this.enable)return void n(r);const s={...t,type:e};if(s.context={...s.context,library:{name:"analytics-node"}},s.timestamp||(s.timestamp=new Date),s.messageId||(s.messageId=(0,l.generateRandomId)()),s.anonymousId&&!(0,o.isString)(s.anonymousId)&&(s.anonymousId=JSON.stringify(s.anonymousId)),s.userId&&!(0,o.isString)(s.userId)&&(s.userId=JSON.stringify(s.userId)),this.queue.push({message:s,callback:r}),!this.flushed)return this.flushed=!0,void this.flush();const i=this.queue.length>=this.flushAt,a=this.queue.reduce(((e,t)=>e+JSON.stringify(t).length),0)>=this.maxQueueSize;(i||a)&&this.flush(),this.flushInterval&&!this.timer&&(this.timer=setTimeout(this.flush.bind(this),this.flushInterval))}flush(e=d){if(!this.enable)return n(e),Promise.resolve();if(this.timer&&(clearTimeout(this.timer),this.timer=null),!this.queue.length)return n(e),Promise.resolve();const r=this.queue.splice(0,this.flushAt),s=r.map((e=>e.callback)),i={batch:r.map((e=>e.message)),timestamp:new Date,sentAt:new Date},o={Authorization:`Basic ${t.from(this.writeKey,"utf8").toString("base64")}`};return this._sendRequest(`${this.host}${this.path}`,{method:"POST",body:JSON.stringify(i),headers:o},(t=>{n((()=>{s.forEach((e=>e(t,i))),e(t,i)}))}),0)}_retryRequest(e,t,r,n){const s=100*Math.pow(2,n);setTimeout((()=>{this._sendRequest(e,t,r,n+1)}),s)}async _sendRequest(e,t,r,n){return fetch(e,t).then((async s=>{if(s.ok)r();else if(this._isErrorRetryable({response:s})&&n<=this.retryCount)this._retryRequest(e,t,r,n);else{const e=new Error(s.statusText);r(e)}})).catch((s=>{this._isErrorRetryable(s)&&n<=this.retryCount?this._retryRequest(e,t,r,n):r(s)}))}_isErrorRetryable(e){return!!function(e){return!e.response&&Boolean(e.code)&&"ECONNABORTED"!==e.code&&(0,a.default)(e)}(e)||!!e.response&&(e.response.status>=500&&e.response.status<=599||429===e.response.status)}}}).call(this)}).call(this,e("buffer").Buffer,e("timers").setImmediate)}}},{package:"$root$",file:"app/scripts/lib/segment/analytics.js"}],[106,{"../../../../shared/constants/time":4518,"./analytics":105},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.segment=r.createSegmentMock=void 0;var n,s=e("../../../../shared/constants/time"),i=(n=e("./analytics"))&&n.__esModule?n:{default:n};const o="oYt5aIHCTO7F4ZfwJHphzyM4JrBL3koF",a=undefined,l=5*s.SECOND,c=(e=a)=>{const t={queue:[],flush(){t.queue.forEach((([e,t])=>{t()})),t.queue=[]},track(r,n=(()=>undefined)){t.queue.push([r,n]),t.queue.length>=e&&t.flush()},page(){},identify(){}};return t};r.createSegmentMock=c;r.segment=o?new i.default(o,{host:null,flushAt:a,flushInterval:l}):c(a)}}},{package:"$root$",file:"app/scripts/lib/segment/index.js"}],[1076,{"./chunk-EIQ5DUI6.js":1077,"./chunk-UJIPPGP6.js":1079,"@metamask/base-controller":1086,"@metamask/eth-snap-keyring":1329,"@metamask/keyring-api":1444,"@metamask/keyring-controller":1476,"@metamask/utils":2300},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n,s,i,o,a,l,c,d,u,h,p,m,f,g,v,w,y,k,b,C,_,S,T,A,E=e("./chunk-EIQ5DUI6.js"),M=e("./chunk-UJIPPGP6.js"),P=e("@metamask/base-controller"),N=e("@metamask/eth-snap-keyring"),I=e("@metamask/keyring-api"),R=e("@metamask/keyring-controller"),j=e("@metamask/utils"),O="AccountsController",x={internalAccounts:{persist:!0,anonymous:!1}},B={internalAccounts:{accounts:{},selectedAccount:""}},D=class extends P.BaseController{constructor({messenger:e,state:t}){super({messenger:e,name:O,metadata:x,state:{...B,...t}}),M.__privateAdd.call(void 0,this,n),M.__privateAdd.call(void 0,this,i),M.__privateAdd.call(void 0,this,a),M.__privateAdd.call(void 0,this,c),M.__privateAdd.call(void 0,this,u),M.__privateAdd.call(void 0,this,p),M.__privateAdd.call(void 0,this,f),M.__privateAdd.call(void 0,this,v),M.__privateAdd.call(void 0,this,y),M.__privateAdd.call(void 0,this,b),M.__privateAdd.call(void 0,this,_),M.__privateAdd.call(void 0,this,T),this.messagingSystem.subscribe("SnapController:stateChange",(e=>M.__privateMethod.call(void 0,this,u,h).call(this,e))),this.messagingSystem.subscribe("KeyringController:stateChange",(e=>M.__privateMethod.call(void 0,this,c,d).call(this,e))),M.__privateMethod.call(void 0,this,T,A).call(this)}getAccount(e){return this.state.internalAccounts.accounts[e]}listAccounts(){return Object.values(this.state.internalAccounts.accounts).filter((e=>I.isEvmAccountType.call(void 0,e.type)))}listMultichainAccounts(e){const t=Object.values(this.state.internalAccounts.accounts);if(!e)return t;if(!j.isCaipChainId.call(void 0,e))throw new Error(`Invalid CAIP-2 chain ID: ${String(e)}`);return t.filter((t=>M.__privateMethod.call(void 0,this,v,w).call(this,t,e)))}getAccountExpect(e){if(!e)return{id:"",address:"",options:{},methods:[],type:I.EthAccountType.Eoa,metadata:{name:"",keyring:{type:""},importTime:0}};const t=this.getAccount(e);if(void 0===t)throw new Error(`Account Id "${e}" not found`);return t}getSelectedAccount(){const e=this.getAccountExpect(this.state.internalAccounts.selectedAccount);if(I.isEvmAccountType.call(void 0,e.type))return e;const t=this.listAccounts();if(!t.length)throw new Error("No EVM accounts");return M.__privateMethod.call(void 0,this,f,g).call(this,t)}getSelectedMultichainAccount(e){if(!e)return this.getAccountExpect(this.state.internalAccounts.selectedAccount);if(!j.isCaipChainId.call(void 0,e))throw new Error(`Invalid CAIP-2 chain ID: ${e}`);const t=Object.values(this.state.internalAccounts.accounts).filter((t=>M.__privateMethod.call(void 0,this,v,w).call(this,t,e)));return M.__privateMethod.call(void 0,this,f,g).call(this,t)}getAccountByAddress(e){return this.listAccounts().find((t=>t.address.toLowerCase()===e.toLowerCase()))}setSelectedAccount(e){const t=this.getAccountExpect(e);this.update((e=>{e.internalAccounts.accounts[t.id].metadata.lastSelected=Date.now(),e.internalAccounts.selectedAccount=t.id})),I.isEvmAccountType.call(void 0,t.type)&&this.messagingSystem.publish("AccountsController:selectedEvmAccountChange",t),this.messagingSystem.publish("AccountsController:selectedAccountChange",t)}setAccountName(e,t){const r=this.getAccountExpect(e);if(this.listAccounts().find((r=>r.metadata.name===t&&r.id!==e)))throw new Error("Account name already exists");this.update((n=>{const s={...r,metadata:{...r.metadata,name:t}},i=E.deepCloneDraft.call(void 0,n);return i.internalAccounts.accounts[e]=s,i}))}async updateAccounts(){const e=await M.__privateMethod.call(void 0,this,i,o).call(this),t=await M.__privateMethod.call(void 0,this,a,l).call(this),r=new Map,n=this.state.internalAccounts.accounts,s=[...t,...e].reduce(((e,t)=>{const s=E.keyringTypeToName.call(void 0,t.metadata.keyring.type),i=r.get(s)??0;i?r.set(s,i+1):r.set(s,1);const o=n[t.id];return e[t.id]={...t,metadata:{...t.metadata,name:M.__privateMethod.call(void 0,this,_,S).call(this,o?.id,"name")??`${s} ${i+1}`,importTime:M.__privateMethod.call(void 0,this,_,S).call(this,o?.id,"importTime")??Date.now(),lastSelected:M.__privateMethod.call(void 0,this,_,S).call(this,o?.id,"lastSelected")??0}},e}),{});this.update((e=>{const t=E.deepCloneDraft.call(void 0,e);return t.internalAccounts.accounts=s,t}))}loadBackup(e){e.internalAccounts&&this.update((t=>{const r=E.deepCloneDraft.call(void 0,t);return r.internalAccounts=e.internalAccounts,r}))}getNextAvailableAccountName(e=R.KeyringTypes.hd){const t=E.keyringTypeToName.call(void 0,e),r=M.__privateMethod.call(void 0,this,p,m).call(this,e),n=r.reduce(((e,r)=>{const n=new RegExp(`${t} ([0-9]+)$`,"u").exec(r.metadata.name);if(n){const t=parseInt(n[1],10);return Math.max(e,t)}return e}),0),s=Math.max(r.length+1,n+1);return`${t} ${s}`}};n=new WeakSet,s=function(e,t){return{id:E.getUUIDFromAddressOfNormalAccount.call(void 0,e),address:e,options:{},methods:[I.EthMethod.PersonalSign,I.EthMethod.Sign,I.EthMethod.SignTransaction,I.EthMethod.SignTypedDataV1,I.EthMethod.SignTypedDataV3,I.EthMethod.SignTypedDataV4],type:I.EthAccountType.Eoa,metadata:{name:"",importTime:Date.now(),keyring:{type:t}}}},i=new WeakSet,o=async function(){const[e]=this.messagingSystem.call("KeyringController:getKeyringsByType",N.SnapKeyring.type);if(!e)return[];return e.listAccounts()},a=new WeakSet,l=async function(){const e=await this.messagingSystem.call("KeyringController:getAccounts"),t=[];for(const r of e){const e=await this.messagingSystem.call("KeyringController:getKeyringForAccount",r),n=e.type;if(!E.isNormalKeyringType.call(void 0,n))continue;const s=E.getUUIDFromAddressOfNormalAccount.call(void 0,r);t.push({id:s,address:r,options:{},methods:[I.EthMethod.PersonalSign,I.EthMethod.Sign,I.EthMethod.SignTransaction,I.EthMethod.SignTypedDataV1,I.EthMethod.SignTypedDataV3,I.EthMethod.SignTypedDataV4],type:I.EthAccountType.Eoa,metadata:{name:M.__privateMethod.call(void 0,this,_,S).call(this,s,"name")??"",importTime:M.__privateMethod.call(void 0,this,_,S).call(this,s,"importTime")??Date.now(),lastSelected:M.__privateMethod.call(void 0,this,_,S).call(this,s,"lastSelected")??0,keyring:{type:e.type}}})}return t},c=new WeakSet,d=function(e){if(e.isUnlocked&&e.keyrings.length>0){const t=[],r=[];for(const n of e.keyrings)n.type===R.KeyringTypes.snap?r.push(...n.accounts.map((e=>({address:e,type:n.type})))):t.push(...n.accounts.map((e=>({address:e,type:n.type}))));const{previousNormalInternalAccounts:n,previousSnapInternalAccounts:s}=this.listAccounts().reduce(((e,t)=>(t.metadata.keyring.type===R.KeyringTypes.snap?e.previousSnapInternalAccounts.push(t):e.previousNormalInternalAccounts.push(t),e)),{previousNormalInternalAccounts:[],previousSnapInternalAccounts:[]}),i=[],o=[];for(const e of t)this.state.internalAccounts.accounts[E.getUUIDFromAddressOfNormalAccount.call(void 0,e.address)]||i.push(e);for(const e of r)s.find((t=>t.address.toLowerCase()===e.address.toLowerCase()))||i.push(e);for(const e of n)t.find((({address:t})=>t.toLowerCase()===e.address.toLowerCase()))||o.push(e);for(const e of s)r.find((({address:t})=>t.toLowerCase()===e.address.toLowerCase()))||o.push(e);if(o.length>0)for(const e of o)M.__privateMethod.call(void 0,this,b,C).call(this,e.id);if(i.length>0)for(const e of i)M.__privateMethod.call(void 0,this,y,k).call(this,e);if(!this.getAccount(this.state.internalAccounts.selectedAccount)){const[e]=this.listAccounts().sort(((e,t)=>(t.metadata.lastSelected??0)-(e.metadata.lastSelected??0)));if(!e)return void this.update((e=>{e.internalAccounts.selectedAccount=""}));this.setSelectedAccount(e.id)}}},u=new WeakSet,h=function(e){const{snaps:t}=e,r=this.listAccounts().filter((e=>e.metadata.snap));this.update((e=>{r.forEach((r=>{const n=e.internalAccounts.accounts[r.id];if(n.metadata.snap){const e=n.metadata.snap.id,r=t[e];r&&(n.metadata.snap.enabled=r.enabled&&!r.blocked)}}))}))},p=new WeakSet,m=function(e){return this.listAccounts().filter((t=>e===R.KeyringTypes.hd||e===R.KeyringTypes.simple?t.metadata.keyring.type===R.KeyringTypes.hd||t.metadata.keyring.type===R.KeyringTypes.simple:t.metadata.keyring.type===e))},f=new WeakSet,g=function(e){return e.reduce(((e,t)=>t.metadata.lastSelected>e.metadata.lastSelected?t:e),e[0])},v=new WeakSet,w=function(e,t){return e.type.startsWith(j.parseCaipChainId.call(void 0,t).namespace)},y=new WeakSet,k=function(e){let t;if(e.type!==R.KeyringTypes.snap)t=M.__privateMethod.call(void 0,this,n,s).call(this,e.address,e.type);else{const[r]=this.messagingSystem.call("KeyringController:getKeyringsByType",N.SnapKeyring.type);if(t=r.getAccountByAddress(e.address),!t)return}const r=this.getNextAvailableAccountName(t.metadata.keyring.type);this.update((e=>{const n=E.deepCloneDraft.call(void 0,e);return n.internalAccounts.accounts[t.id]={...t,metadata:{...t.metadata,name:r,importTime:Date.now(),lastSelected:Date.now()}},n})),this.setSelectedAccount(t.id)},b=new WeakSet,C=function(e){this.update((t=>{delete t.internalAccounts.accounts[e]}))},_=new WeakSet,S=function(e,t){const r=this.getAccount(e);return r?r.metadata[t]:void 0},T=new WeakSet,A=function(){this.messagingSystem.registerActionHandler(`${O}:setSelectedAccount`,this.setSelectedAccount.bind(this)),this.messagingSystem.registerActionHandler(`${O}:listAccounts`,this.listAccounts.bind(this)),this.messagingSystem.registerActionHandler(`${O}:setAccountName`,this.setAccountName.bind(this)),this.messagingSystem.registerActionHandler(`${O}:updateAccounts`,this.updateAccounts.bind(this)),this.messagingSystem.registerActionHandler(`${O}:getSelectedAccount`,this.getSelectedAccount.bind(this)),this.messagingSystem.registerActionHandler(`${O}:getSelectedMultichainAccount`,this.getSelectedMultichainAccount.bind(this)),this.messagingSystem.registerActionHandler(`${O}:getAccountByAddress`,this.getAccountByAddress.bind(this)),this.messagingSystem.registerActionHandler(`${O}:getNextAvailableAccountName`,this.getNextAvailableAccountName.bind(this)),this.messagingSystem.registerActionHandler("AccountsController:getAccount",this.getAccount.bind(this))},r.AccountsController=D}}},{package:"@metamask/accounts-controller",file:"node_modules/@metamask/accounts-controller/dist/chunk-7CWWNB3P.js"}],[1077,{"@ethereumjs/util":438,"@metamask/keyring-controller":1476,"@metamask/snaps-utils":2163,"ethereum-cryptography/sha256":3278,uuid:4424},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n=e("@ethereumjs/util"),s=e("@metamask/keyring-controller"),i=e("@metamask/snaps-utils"),o=e("ethereum-cryptography/sha256"),a=e("uuid");function l(e){return{random:o.sha256.call(void 0,n.toBuffer.call(void 0,e)).slice(0,16)}}r.keyringTypeToName=function(e){if(s.isCustodyKeyring.call(void 0,e))return"Custody";switch(e){case s.KeyringTypes.simple:case s.KeyringTypes.hd:return"Account";case s.KeyringTypes.trezor:return"Trezor";case s.KeyringTypes.ledger:return"Ledger";case s.KeyringTypes.lattice:return"Lattice";case s.KeyringTypes.qr:return"QR";case s.KeyringTypes.snap:return"Snap Account";default:throw new Error(`Unknown keyring ${e}`)}},r.getUUIDOptionsFromAddressOfNormalAccount=l,r.getUUIDFromAddressOfNormalAccount=function(e){return a.v4.call(void 0,l(e))},r.isNormalKeyringType=function(e){return e!==s.KeyringTypes.snap},r.deepCloneDraft=function(e){return i.deepClone.call(void 0,e)}}}},{package:"@metamask/accounts-controller",file:"node_modules/@metamask/accounts-controller/dist/chunk-EIQ5DUI6.js"}],[1078,{"@metamask/keyring-api":1444,"@metamask/keyring-controller":1476,uuid:4424},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n=e("@metamask/keyring-api"),s=e("@metamask/keyring-controller"),i=e("uuid");r.createMockInternalAccount=({id:e=i.v4.call(void 0),address:t="0x2990079bcdee240329a520d2444386fc119da21a",type:r=n.EthAccountType.Eoa,name:o="Account 1",keyringType:a=s.KeyringTypes.hd,snap:l,importTime:c=Date.now(),lastSelected:d=Date.now()}={})=>{let u;switch(r){case n.EthAccountType.Eoa:u=[n.EthMethod.PersonalSign,n.EthMethod.Sign,n.EthMethod.SignTransaction,n.EthMethod.SignTypedDataV1,n.EthMethod.SignTypedDataV3,n.EthMethod.SignTypedDataV4];break;case n.EthAccountType.Erc4337:u=[n.EthErc4337Method.PatchUserOperation,n.EthErc4337Method.PrepareUserOperation,n.EthErc4337Method.SignUserOperation];break;case n.BtcAccountType.P2wpkh:u=[n.BtcMethod.SendMany];break;default:throw new Error(`Unknown account type: ${r}`)}return{id:e,address:t,options:{},methods:u,type:r,metadata:{name:o,keyring:{type:a},importTime:c,lastSelected:d,snap:l}}}}}},{package:"@metamask/accounts-controller",file:"node_modules/@metamask/accounts-controller/dist/chunk-IBSI66UQ.js"}],[1079,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});r.__privateAdd=(e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)},r.__privateMethod=(e,t,r)=>(((e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)})(e,t,"access private method"),r)}}},{package:"@metamask/accounts-controller",file:"node_modules/@metamask/accounts-controller/dist/chunk-UJIPPGP6.js"}],[1080,{"./chunk-7CWWNB3P.js":1076,"./chunk-EIQ5DUI6.js":1077,"./chunk-IBSI66UQ.js":1078,"./chunk-UJIPPGP6.js":1079},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n=e("./chunk-7CWWNB3P.js"),s=e("./chunk-EIQ5DUI6.js"),i=e("./chunk-IBSI66UQ.js");e("./chunk-UJIPPGP6.js"),r.AccountsController=n.AccountsController,r.createMockInternalAccount=i.createMockInternalAccount,r.getUUIDFromAddressOfNormalAccount=s.getUUIDFromAddressOfNormalAccount,r.keyringTypeToName=s.keyringTypeToName}}},{package:"@metamask/accounts-controller",file:"node_modules/@metamask/accounts-controller/dist/index.js"}],[1081,{"./chunk-UJFCPTF3.js":1083,"./chunk-Z4BLTVTB.js":1084},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n,s,i,o,a=e("./chunk-UJFCPTF3.js"),l=e("./chunk-Z4BLTVTB.js");n=new WeakMap,s=new WeakMap,i=new WeakMap,o=new WeakMap,r.ControllerMessenger=class{constructor(){l.__privateAdd.call(void 0,this,n,new Map),l.__privateAdd.call(void 0,this,s,new Map),l.__privateAdd.call(void 0,this,i,new Map),l.__privateAdd.call(void 0,this,o,new Map)}registerActionHandler(e,t){if(l.__privateGet.call(void 0,this,n).has(e))throw new Error(`A handler for ${e} has already been registered`);l.__privateGet.call(void 0,this,n).set(e,t)}unregisterActionHandler(e){l.__privateGet.call(void 0,this,n).delete(e)}clearActions(){l.__privateGet.call(void 0,this,n).clear()}call(e,...t){const r=l.__privateGet.call(void 0,this,n).get(e);if(!r)throw new Error(`A handler for ${e} has not been registered`);return r(...t)}registerInitialEventPayload({eventType:e,getPayload:t}){l.__privateGet.call(void 0,this,i).set(e,t)}publish(e,...t){const r=l.__privateGet.call(void 0,this,s).get(e);if(r)for(const[e,n]of r.entries())try{if(n){const r=l.__privateGet.call(void 0,this,o).get(e),s=n(...t);s!==r&&(l.__privateGet.call(void 0,this,o).set(e,s),e(s,r))}else e(...t)}catch(e){setTimeout((()=>{throw e}))}}subscribe(e,t,r){let n=l.__privateGet.call(void 0,this,s).get(e);if(n||(n=new Map,l.__privateGet.call(void 0,this,s).set(e,n)),n.set(t,r),r){const n=l.__privateGet.call(void 0,this,i).get(e);if(n){const e=r(...n());l.__privateGet.call(void 0,this,o).set(t,e)}}}unsubscribe(e,t){const r=l.__privateGet.call(void 0,this,s).get(e);if(!r||!r.has(t))throw new Error(`Subscription not found for event: ${e}`);r.get(t)&&l.__privateGet.call(void 0,this,o).delete(t),r.delete(t)}clearEventSubscriptions(e){l.__privateGet.call(void 0,this,s).delete(e)}clearSubscriptions(){l.__privateGet.call(void 0,this,s).clear()}getRestricted({name:e,allowedActions:t,allowedEvents:r}){return new(0,a.RestrictedControllerMessenger)({controllerMessenger:this,name:e,allowedActions:t,allowedEvents:r})}}}}},{package:"@metamask/accounts-controller>@metamask/base-controller",file:"node_modules/@metamask/accounts-controller/node_modules/@metamask/base-controller/dist/chunk-G42723LG.js"}],[1082,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n=class{constructor(e={},t={}){this.defaultConfig={},this.defaultState={},this.disabled=!1,this.name="BaseController",this.internalConfig=this.defaultConfig,this.internalState=this.defaultState,this.internalListeners=[],this.initialState=t,this.initialConfig=e}initialize(){return this.internalState=this.defaultState,this.internalConfig=this.defaultConfig,this.configure(this.initialConfig),this.update(this.initialState),this}get config(){return this.internalConfig}get state(){return this.internalState}configure(e,t=!1,r=!0){if(r){this.internalConfig=t?e:Object.assign(this.internalConfig,e);for(const e of Object.keys(this.internalConfig)){const t=this.internalConfig[e];void 0!==t&&(this[e]=t)}}else for(const t of Object.keys(e))if(void 0!==this.internalConfig[t]){const r=e[t];this.internalConfig[t]=r,this[t]=r}}notify(){this.disabled||this.internalListeners.forEach((e=>{e(this.internalState)}))}subscribe(e){this.internalListeners.push(e)}unsubscribe(e){const t=this.internalListeners.findIndex((t=>e===t));return t>-1&&this.internalListeners.splice(t,1),t>-1}update(e,t=!1){this.internalState=t?Object.assign({},e):Object.assign({},this.internalState,e),this.notify()}},s=n;r.BaseControllerV1=n,r.BaseControllerV1_default=s}}},{package:"@metamask/accounts-controller>@metamask/base-controller",file:"node_modules/@metamask/accounts-controller/node_modules/@metamask/base-controller/dist/chunk-NINOM2XQ.js"}],[1083,{"./chunk-Z4BLTVTB.js":1084},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n,s,i,o,a,l,c,d,u,h,p=e("./chunk-Z4BLTVTB.js");n=new WeakMap,s=new WeakMap,i=new WeakMap,o=new WeakMap,a=new WeakSet,l=function(e){const t=p.__privateGet.call(void 0,this,o);return p.__privateMethod.call(void 0,this,u,h).call(this,e)||null!==t&&t.includes(e)},c=new WeakSet,d=function(e){const t=p.__privateGet.call(void 0,this,i);return p.__privateMethod.call(void 0,this,u,h).call(this,e)||null!==t&&t.includes(e)},u=new WeakSet,h=function(e){return e.startsWith(`${p.__privateGet.call(void 0,this,s)}:`)},r.RestrictedControllerMessenger=class{constructor({controllerMessenger:e,name:t,allowedActions:r,allowedEvents:l}){p.__privateAdd.call(void 0,this,a),p.__privateAdd.call(void 0,this,c),p.__privateAdd.call(void 0,this,u),p.__privateAdd.call(void 0,this,n,void 0),p.__privateAdd.call(void 0,this,s,void 0),p.__privateAdd.call(void 0,this,i,void 0),p.__privateAdd.call(void 0,this,o,void 0),p.__privateSet.call(void 0,this,n,e),p.__privateSet.call(void 0,this,s,t),p.__privateSet.call(void 0,this,i,r),p.__privateSet.call(void 0,this,o,l)}registerActionHandler(e,t){if(!p.__privateMethod.call(void 0,this,u,h).call(this,e))throw new Error(`Only allowed registering action handlers prefixed by '${p.__privateGet.call(void 0,this,s)}:'`);p.__privateGet.call(void 0,this,n).registerActionHandler(e,t)}unregisterActionHandler(e){if(!p.__privateMethod.call(void 0,this,u,h).call(this,e))throw new Error(`Only allowed unregistering action handlers prefixed by '${p.__privateGet.call(void 0,this,s)}:'`);p.__privateGet.call(void 0,this,n).unregisterActionHandler(e)}call(e,...t){if(!p.__privateMethod.call(void 0,this,c,d).call(this,e))throw new Error(`Action missing from allow list: ${e}`);return p.__privateGet.call(void 0,this,n).call(e,...t)}registerInitialEventPayload({eventType:e,getPayload:t}){if(!p.__privateMethod.call(void 0,this,u,h).call(this,e))throw new Error(`Only allowed publishing events prefixed by '${p.__privateGet.call(void 0,this,s)}:'`);p.__privateGet.call(void 0,this,n).registerInitialEventPayload({eventType:e,getPayload:t})}publish(e,...t){if(!p.__privateMethod.call(void 0,this,u,h).call(this,e))throw new Error(`Only allowed publishing events prefixed by '${p.__privateGet.call(void 0,this,s)}:'`);p.__privateGet.call(void 0,this,n).publish(e,...t)}subscribe(e,t,r){if(!p.__privateMethod.call(void 0,this,a,l).call(this,e))throw new Error(`Event missing from allow list: ${e}`);return r?p.__privateGet.call(void 0,this,n).subscribe(e,t,r):p.__privateGet.call(void 0,this,n).subscribe(e,t)}unsubscribe(e,t){if(!p.__privateMethod.call(void 0,this,a,l).call(this,e))throw new Error(`Event missing from allow list: ${e}`);p.__privateGet.call(void 0,this,n).unsubscribe(e,t)}clearEventSubscriptions(e){if(!p.__privateMethod.call(void 0,this,u,h).call(this,e))throw new Error(`Only allowed clearing events prefixed by '${p.__privateGet.call(void 0,this,s)}:'`);p.__privateGet.call(void 0,this,n).clearEventSubscriptions(e)}}}}},{package:"@metamask/accounts-controller>@metamask/base-controller",file:"node_modules/@metamask/accounts-controller/node_modules/@metamask/base-controller/dist/chunk-UJFCPTF3.js"}],[1084,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)};r.__privateGet=(e,t,r)=>(n(e,t,"read from private field"),r?r.call(e):t.get(e)),r.__privateAdd=(e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)},r.__privateSet=(e,t,r,s)=>(n(e,t,"write to private field"),s?s.call(e,r):t.set(e,r),r),r.__privateMethod=(e,t,r)=>(n(e,t,"access private method"),r)}}},{package:"@metamask/accounts-controller>@metamask/base-controller",file:"node_modules/@metamask/accounts-controller/node_modules/@metamask/base-controller/dist/chunk-Z4BLTVTB.js"}],[1085,{"./chunk-Z4BLTVTB.js":1084,immer:3640},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n,s=e("./chunk-Z4BLTVTB.js"),i=e("immer");i.enablePatches.call(void 0);function o(e,t,r){return Object.keys(e).reduce(((n,s)=>{try{const i=t[s];if(!i)throw new Error(`No metadata found for '${String(s)}'`);const o=i[r],a=e[s];return"function"==typeof o?n[s]=o(a):o&&(n[s]=a),n}catch(e){return setTimeout((()=>{throw e})),n}}),{})}n=new WeakMap,r.BaseController=class{constructor({messenger:e,metadata:t,name:r,state:o}){s.__privateAdd.call(void 0,this,n,void 0),this.messagingSystem=e,this.name=r,s.__privateSet.call(void 0,this,n,i.freeze.call(void 0,o,!0)),this.metadata=t,this.messagingSystem.registerActionHandler(`${r}:getState`,(()=>this.state)),this.messagingSystem.registerInitialEventPayload({eventType:`${r}:stateChange`,getPayload:()=>[this.state,[]]})}get state(){return s.__privateGet.call(void 0,this,n)}set state(e){throw new Error("Controller state cannot be directly mutated; use 'update' method instead.")}update(e){const[t,r,o]=i.produceWithPatches.call(void 0,s.__privateGet.call(void 0,this,n),e);return s.__privateSet.call(void 0,this,n,t),this.messagingSystem.publish(`${this.name}:stateChange`,t,r),{nextState:t,patches:r,inversePatches:o}}applyPatches(e){const t=i.applyPatches.call(void 0,s.__privateGet.call(void 0,this,n),e);s.__privateSet.call(void 0,this,n,t),this.messagingSystem.publish(`${this.name}:stateChange`,t,e)}destroy(){this.messagingSystem.clearEventSubscriptions(`${this.name}:stateChange`)}},r.getAnonymizedState=function(e,t){return o(e,t,"anonymous")},r.getPersistentState=function(e,t){return o(e,t,"persist")}}}},{package:"@metamask/accounts-controller>@metamask/base-controller",file:"node_modules/@metamask/accounts-controller/node_modules/@metamask/base-controller/dist/chunk-ZNOPSWMU.js"}],[1086,{"./chunk-G42723LG.js":1081,"./chunk-NINOM2XQ.js":1082,"./chunk-UJFCPTF3.js":1083,"./chunk-Z4BLTVTB.js":1084,"./chunk-ZNOPSWMU.js":1085},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n=e("./chunk-NINOM2XQ.js"),s=e("./chunk-ZNOPSWMU.js"),i=e("./chunk-G42723LG.js"),o=e("./chunk-UJFCPTF3.js");e("./chunk-Z4BLTVTB.js"),r.BaseController=s.BaseController,r.BaseControllerV1=n.BaseControllerV1,r.ControllerMessenger=i.ControllerMessenger,r.RestrictedControllerMessenger=o.RestrictedControllerMessenger,r.getAnonymizedState=s.getAnonymizedState,r.getPersistentState=s.getPersistentState}}},{package:"@metamask/accounts-controller>@metamask/base-controller",file:"node_modules/@metamask/accounts-controller/node_modules/@metamask/base-controller/dist/index.js"}],[1087,{"@metamask/base-controller":1094,"@metamask/controller-utils":1100},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n=e("@metamask/base-controller"),s=e("@metamask/controller-utils"),i=(e=>(e.externallyOwnedAccounts="EXTERNALLY_OWNED_ACCOUNTS",e.contractAccounts="CONTRACT_ACCOUNTS",e.nonAccounts="NON_ACCOUNTS",e))(i||{}),o=class extends n.BaseControllerV1{constructor(e,t){super(e,t),this.name="AddressBookController",this.defaultState={addressBook:{}},this.initialize()}clear(){this.update({addressBook:{}})}delete(e,t){if(t=s.toChecksumHexAddress.call(void 0,t),!s.isValidHexAddress.call(void 0,t)||!this.state.addressBook[e]||!this.state.addressBook[e][t])return!1;const r=Object.assign({},this.state.addressBook);return delete r[e][t],0===Object.keys(r[e]).length&&delete r[e],this.update({addressBook:r}),!0}set(e,t,r=s.toHex.call(void 0,1),n="",i){if(e=s.toChecksumHexAddress.call(void 0,e),!s.isValidHexAddress.call(void 0,e))return!1;const o={address:e,chainId:r,isEns:!1,memo:n,name:t,addressType:i},a=s.normalizeEnsName.call(void 0,t);return a&&(o.name=a,o.isEns=!0),this.update({addressBook:{...this.state.addressBook,[r]:{...this.state.addressBook[r],[e]:o}}}),!0}},a=o;r.AddressType=i,r.AddressBookController=o,r.AddressBookController_default=a}}},{package:"@metamask/address-book-controller",file:"node_modules/@metamask/address-book-controller/dist/chunk-ISKA7MA7.js"}],[1088,{"./chunk-ISKA7MA7.js":1087},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n=e("./chunk-ISKA7MA7.js");r.AddressBookController=n.AddressBookController,r.AddressType=n.AddressType}}},{package:"@metamask/address-book-controller",file:"node_modules/@metamask/address-book-controller/dist/index.js"}],[1089,{"./chunk-UJFCPTF3.js":1091,"./chunk-Z4BLTVTB.js":1092},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n,s,i,o,a=e("./chunk-UJFCPTF3.js"),l=e("./chunk-Z4BLTVTB.js");n=new WeakMap,s=new WeakMap,i=new WeakMap,o=new WeakMap,r.ControllerMessenger=class{constructor(){l.__privateAdd.call(void 0,this,n,new Map),l.__privateAdd.call(void 0,this,s,new Map),l.__privateAdd.call(void 0,this,i,new Map),l.__privateAdd.call(void 0,this,o,new Map)}registerActionHandler(e,t){if(l.__privateGet.call(void 0,this,n).has(e))throw new Error(`A handler for ${e} has already been registered`);l.__privateGet.call(void 0,this,n).set(e,t)}unregisterActionHandler(e){l.__privateGet.call(void 0,this,n).delete(e)}clearActions(){l.__privateGet.call(void 0,this,n).clear()}call(e,...t){const r=l.__privateGet.call(void 0,this,n).get(e);if(!r)throw new Error(`A handler for ${e} has not been registered`);return r(...t)}registerInitialEventPayload({eventType:e,getPayload:t}){l.__privateGet.call(void 0,this,i).set(e,t)}publish(e,...t){const r=l.__privateGet.call(void 0,this,s).get(e);if(r)for(const[e,n]of r.entries())try{if(n){const r=l.__privateGet.call(void 0,this,o).get(e),s=n(...t);s!==r&&(l.__privateGet.call(void 0,this,o).set(e,s),e(s,r))}else e(...t)}catch(e){setTimeout((()=>{throw e}))}}subscribe(e,t,r){let n=l.__privateGet.call(void 0,this,s).get(e);if(n||(n=new Map,l.__privateGet.call(void 0,this,s).set(e,n)),n.set(t,r),r){const n=l.__privateGet.call(void 0,this,i).get(e);if(n){const e=r(...n());l.__privateGet.call(void 0,this,o).set(t,e)}}}unsubscribe(e,t){const r=l.__privateGet.call(void 0,this,s).get(e);if(!r||!r.has(t))throw new Error(`Subscription not found for event: ${e}`);r.get(t)&&l.__privateGet.call(void 0,this,o).delete(t),r.delete(t)}clearEventSubscriptions(e){l.__privateGet.call(void 0,this,s).delete(e)}clearSubscriptions(){l.__privateGet.call(void 0,this,s).clear()}getRestricted({name:e,allowedActions:t,allowedEvents:r}){return new(0,a.RestrictedControllerMessenger)({controllerMessenger:this,name:e,allowedActions:t,allowedEvents:r})}}}}},{package:"@metamask/address-book-controller>@metamask/base-controller",file:"node_modules/@metamask/address-book-controller/node_modules/@metamask/base-controller/dist/chunk-G42723LG.js"}],[1090,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n=class{constructor(e={},t={}){this.defaultConfig={},this.defaultState={},this.disabled=!1,this.name="BaseController",this.internalConfig=this.defaultConfig,this.internalState=this.defaultState,this.internalListeners=[],this.initialState=t,this.initialConfig=e}initialize(){return this.internalState=this.defaultState,this.internalConfig=this.defaultConfig,this.configure(this.initialConfig),this.update(this.initialState),this}get config(){return this.internalConfig}get state(){return this.internalState}configure(e,t=!1,r=!0){if(r){this.internalConfig=t?e:Object.assign(this.internalConfig,e);for(const e of Object.keys(this.internalConfig)){const t=this.internalConfig[e];void 0!==t&&(this[e]=t)}}else for(const t of Object.keys(e))if(void 0!==this.internalConfig[t]){const r=e[t];this.internalConfig[t]=r,this[t]=r}}notify(){this.disabled||this.internalListeners.forEach((e=>{e(this.internalState)}))}subscribe(e){this.internalListeners.push(e)}unsubscribe(e){const t=this.internalListeners.findIndex((t=>e===t));return t>-1&&this.internalListeners.splice(t,1),t>-1}update(e,t=!1){this.internalState=t?Object.assign({},e):Object.assign({},this.internalState,e),this.notify()}},s=n;r.BaseControllerV1=n,r.BaseControllerV1_default=s}}},{package:"@metamask/address-book-controller>@metamask/base-controller",file:"node_modules/@metamask/address-book-controller/node_modules/@metamask/base-controller/dist/chunk-NINOM2XQ.js"}],[1091,{"./chunk-Z4BLTVTB.js":1092},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n,s,i,o,a,l,c,d,u,h,p=e("./chunk-Z4BLTVTB.js");n=new WeakMap,s=new WeakMap,i=new WeakMap,o=new WeakMap,a=new WeakSet,l=function(e){const t=p.__privateGet.call(void 0,this,o);return p.__privateMethod.call(void 0,this,u,h).call(this,e)||null!==t&&t.includes(e)},c=new WeakSet,d=function(e){const t=p.__privateGet.call(void 0,this,i);return p.__privateMethod.call(void 0,this,u,h).call(this,e)||null!==t&&t.includes(e)},u=new WeakSet,h=function(e){return e.startsWith(`${p.__privateGet.call(void 0,this,s)}:`)},r.RestrictedControllerMessenger=class{constructor({controllerMessenger:e,name:t,allowedActions:r,allowedEvents:l}){p.__privateAdd.call(void 0,this,a),p.__privateAdd.call(void 0,this,c),p.__privateAdd.call(void 0,this,u),p.__privateAdd.call(void 0,this,n,void 0),p.__privateAdd.call(void 0,this,s,void 0),p.__privateAdd.call(void 0,this,i,void 0),p.__privateAdd.call(void 0,this,o,void 0),p.__privateSet.call(void 0,this,n,e),p.__privateSet.call(void 0,this,s,t),p.__privateSet.call(void 0,this,i,r),p.__privateSet.call(void 0,this,o,l)}registerActionHandler(e,t){if(!p.__privateMethod.call(void 0,this,u,h).call(this,e))throw new Error(`Only allowed registering action handlers prefixed by '${p.__privateGet.call(void 0,this,s)}:'`);p.__privateGet.call(void 0,this,n).registerActionHandler(e,t)}unregisterActionHandler(e){if(!p.__privateMethod.call(void 0,this,u,h).call(this,e))throw new Error(`Only allowed unregistering action handlers prefixed by '${p.__privateGet.call(void 0,this,s)}:'`);p.__privateGet.call(void 0,this,n).unregisterActionHandler(e)}call(e,...t){if(!p.__privateMethod.call(void 0,this,c,d).call(this,e))throw new Error(`Action missing from allow list: ${e}`);return p.__privateGet.call(void 0,this,n).call(e,...t)}registerInitialEventPayload({eventType:e,getPayload:t}){if(!p.__privateMethod.call(void 0,this,u,h).call(this,e))throw new Error(`Only allowed publishing events prefixed by '${p.__privateGet.call(void 0,this,s)}:'`);p.__privateGet.call(void 0,this,n).registerInitialEventPayload({eventType:e,getPayload:t})}publish(e,...t){if(!p.__privateMethod.call(void 0,this,u,h).call(this,e))throw new Error(`Only allowed publishing events prefixed by '${p.__privateGet.call(void 0,this,s)}:'`);p.__privateGet.call(void 0,this,n).publish(e,...t)}subscribe(e,t,r){if(!p.__privateMethod.call(void 0,this,a,l).call(this,e))throw new Error(`Event missing from allow list: ${e}`);return r?p.__privateGet.call(void 0,this,n).subscribe(e,t,r):p.__privateGet.call(void 0,this,n).subscribe(e,t)}unsubscribe(e,t){if(!p.__privateMethod.call(void 0,this,a,l).call(this,e))throw new Error(`Event missing from allow list: ${e}`);p.__privateGet.call(void 0,this,n).unsubscribe(e,t)}clearEventSubscriptions(e){if(!p.__privateMethod.call(void 0,this,u,h).call(this,e))throw new Error(`Only allowed clearing events prefixed by '${p.__privateGet.call(void 0,this,s)}:'`);p.__privateGet.call(void 0,this,n).clearEventSubscriptions(e)}}}}},{package:"@metamask/address-book-controller>@metamask/base-controller",file:"node_modules/@metamask/address-book-controller/node_modules/@metamask/base-controller/dist/chunk-UJFCPTF3.js"}],[1092,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)};r.__privateGet=(e,t,r)=>(n(e,t,"read from private field"),r?r.call(e):t.get(e)),r.__privateAdd=(e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)},r.__privateSet=(e,t,r,s)=>(n(e,t,"write to private field"),s?s.call(e,r):t.set(e,r),r),r.__privateMethod=(e,t,r)=>(n(e,t,"access private method"),r)}}},{package:"@metamask/address-book-controller>@metamask/base-controller",file:"node_modules/@metamask/address-book-controller/node_modules/@metamask/base-controller/dist/chunk-Z4BLTVTB.js"}],[1093,{"./chunk-Z4BLTVTB.js":1092,immer:3640},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n,s=e("./chunk-Z4BLTVTB.js"),i=e("immer");i.enablePatches.call(void 0);function o(e,t,r){return Object.keys(e).reduce(((n,s)=>{try{const i=t[s];if(!i)throw new Error(`No metadata found for '${String(s)}'`);const o=i[r],a=e[s];return"function"==typeof o?n[s]=o(a):o&&(n[s]=a),n}catch(e){return setTimeout((()=>{throw e})),n}}),{})}n=new WeakMap,r.BaseController=class{constructor({messenger:e,metadata:t,name:r,state:o}){s.__privateAdd.call(void 0,this,n,void 0),this.messagingSystem=e,this.name=r,s.__privateSet.call(void 0,this,n,i.freeze.call(void 0,o,!0)),this.metadata=t,this.messagingSystem.registerActionHandler(`${r}:getState`,(()=>this.state)),this.messagingSystem.registerInitialEventPayload({eventType:`${r}:stateChange`,getPayload:()=>[this.state,[]]})}get state(){return s.__privateGet.call(void 0,this,n)}set state(e){throw new Error("Controller state cannot be directly mutated; use 'update' method instead.")}update(e){const[t,r,o]=i.produceWithPatches.call(void 0,s.__privateGet.call(void 0,this,n),e);return s.__privateSet.call(void 0,this,n,t),this.messagingSystem.publish(`${this.name}:stateChange`,t,r),{nextState:t,patches:r,inversePatches:o}}applyPatches(e){const t=i.applyPatches.call(void 0,s.__privateGet.call(void 0,this,n),e);s.__privateSet.call(void 0,this,n,t),this.messagingSystem.publish(`${this.name}:stateChange`,t,e)}destroy(){this.messagingSystem.clearEventSubscriptions(`${this.name}:stateChange`)}},r.getAnonymizedState=function(e,t){return o(e,t,"anonymous")},r.getPersistentState=function(e,t){return o(e,t,"persist")}}}},{package:"@metamask/address-book-controller>@metamask/base-controller",file:"node_modules/@metamask/address-book-controller/node_modules/@metamask/base-controller/dist/chunk-ZNOPSWMU.js"}],[1094,{"./chunk-G42723LG.js":1089,"./chunk-NINOM2XQ.js":1090,"./chunk-UJFCPTF3.js":1091,"./chunk-Z4BLTVTB.js":1092,"./chunk-ZNOPSWMU.js":1093},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n=e("./chunk-NINOM2XQ.js"),s=e("./chunk-ZNOPSWMU.js"),i=e("./chunk-G42723LG.js"),o=e("./chunk-UJFCPTF3.js");e("./chunk-Z4BLTVTB.js"),r.BaseController=s.BaseController,r.BaseControllerV1=n.BaseControllerV1,r.ControllerMessenger=i.ControllerMessenger,r.RestrictedControllerMessenger=o.RestrictedControllerMessenger,r.getAnonymizedState=s.getAnonymizedState,r.getPersistentState=s.getPersistentState}}},{package:"@metamask/address-book-controller>@metamask/base-controller",file:"node_modules/@metamask/address-book-controller/node_modules/@metamask/base-controller/dist/index.js"}],[1095,{"@metamask/utils":2300},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n=e("@metamask/utils"),s=n.createProjectLogger.call(void 0,"controller-utils");r.createModuleLogger=n.createModuleLogger,r.projectLogger=s}}},{package:"@metamask/address-book-controller>@metamask/controller-utils",file:"node_modules/@metamask/address-book-controller/node_modules/@metamask/controller-utils/dist/chunk-DBJSLKNR.js"}],[1096,{"./chunk-X4PYR7CK.js":1099,"@ethereumjs/util":438,"@metamask/ethjs-unit":1381,"@metamask/utils":2300,"bn.js":2980,buffer:3028,"eth-ens-namehash":3225,"fast-deep-equal":3356},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(t){(function(){function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(r,"__esModule",{value:!0});var s=e("./chunk-X4PYR7CK.js"),i=e("@ethereumjs/util"),o=e("@metamask/ethjs-unit"),a=e("@metamask/utils"),l=n(e("bn.js")),c=n(e("eth-ens-namehash")),d=n(e("fast-deep-equal")),u=new Error("timeout"),h=["__proto__","constructor","prototype"];function p(e){return e?new(0,l.default)(a.remove0x.call(void 0,e),16):new(0,l.default)(0)}async function m(e,t){const r=await fetch(e,t);if(!r.ok)throw new Error(`Fetch failed with status '${r.status}' for request '${String(e)}'`);return r}async function f(e,t){const r=await m(e,t);return await r.json()}r.PROTOTYPE_POLLUTION_BLOCKLIST=h,r.isSafeDynamicKey=function(e){return"string"==typeof e&&!h.some((t=>e===t))},r.isSafeChainId=function(e){if(!a.isHexString.call(void 0,e))return!1;const t=Number.parseInt(e,a.isStrictHexString.call(void 0,e)?16:10);return Number.isSafeInteger(t)&&t>0&&t<=s.MAX_SAFE_CHAIN_ID},r.BNToHex=function(e){return a.add0x.call(void 0,e.toString(16))},r.fractionBN=function(e,t,r){const n=new(0,l.default)(t),s=new(0,l.default)(r);return e.mul(n).div(s)},r.gweiDecToWEIBN=function(e){if(Number.isNaN(e))return new(0,l.default)(0);const t=e.toString().split("."),r=t[0]||"0";let n=t[1]||"";if(!n)return o.toWei.call(void 0,r,"gwei");if(n.length<=9)return o.toWei.call(void 0,`${r}.${n}`,"gwei");const s=n.slice(9)[0];n=n.slice(0,9);let i=o.toWei.call(void 0,`${r}.${n}`,"gwei");return Number(s)>=5&&(i=i.add(new(0,l.default)(1))),i},r.weiHexToGweiDec=function(e){const t=new(0,l.default)(a.remove0x.call(void 0,e),16);return o.fromWei.call(void 0,t,"gwei")},r.getBuyURL=function(e="1",t,r=5){switch(e){case"1":return`https://buy.coinbase.com/?code=9ec56d01-7e81-5017-930c-513daa27bb6a&amount=${r}&address=${t}&crypto_currency=ETH`;case"5":return"https://goerli-faucet.slock.it/";case"11155111":return"https://sepoliafaucet.net/";default:return}},r.hexToBN=p,r.hexToText=function(e){try{const r=a.remove0x.call(void 0,e);return t.from(r,"hex").toString("utf8")}catch(t){return e}},r.fromHex=function(e){return l.default.isBN(e)?e:new(0,l.default)(p(e).toString(10))},r.toHex=function(e){return"string"==typeof e&&a.isStrictHexString.call(void 0,e)?e:`0x${l.default.isBN(e)?e.toString(16):new(0,l.default)(e.toString(),10).toString(16)}`},r.safelyExecute=async function(e,t=!1){try{return await e()}catch(e){return void(t&&console.error(e))}},r.safelyExecuteWithTimeout=async function(e,t=!1,r=500){try{return await Promise.race([e(),new Promise(((e,t)=>setTimeout((()=>{t(u)}),r)))])}catch(e){return void(t&&console.error(e))}},r.toChecksumHexAddress=function(e){if("string"!=typeof e)return e;const t=a.add0x.call(void 0,e);return a.isHexString.call(void 0,t)?i.toChecksumAddress.call(void 0,t):t},r.isValidHexAddress=function(e,{allowNonPrefixed:t=!0}={}){const r=t?a.add0x.call(void 0,e):e;return!!a.isStrictHexString.call(void 0,r)&&i.isValidAddress.call(void 0,r)},r.isSmartContractCode=function(e){return!!e&&("0x"!==e&&"0x0"!==e)},r.successfulFetch=m,r.handleFetch=f,r.fetchWithErrorHandling=async function({url:e,options:t,timeout:r,errorCodesToCatch:n}){let s;try{s=r?Promise.race([await f(e,t),new Promise(((e,t)=>setTimeout((()=>{t(u)}),r)))]):await f(e,t)}catch(e){!function(e,t=[]){if(!e)return;if(!(e instanceof Error))throw e;if(!t.some((t=>e.message.includes(`Fetch failed with status '${t}'`)))&&!e.message.includes("Failed to fetch")&&e!==u)throw e;console.error(e)}(e,n)}return s},r.timeoutFetch=async function(e,t,r=500){return Promise.race([m(e,t),new Promise(((e,t)=>setTimeout((()=>{t(u)}),r)))])},r.normalizeEnsName=function(e){if("."===e)return e;if(e&&"string"==typeof e)try{const t=c.default.normalize(e.trim());if(t.match(/^(([\w\d-]+)\.)*[\w\d-]{7,}\.(eth|test)$/u))return t}catch(e){}return null},r.query=function(e,t,r=[]){return new Promise(((n,s)=>{const i=(e,t)=>{e?s(e):n(t)};t in e&&"function"==typeof e[t]?e[t](...r,i):e.sendAsync({method:t,params:r},i)}))},r.convertHexToDecimal=(e="0x0")=>a.isStrictHexString.call(void 0,e)?parseInt(e,16):Number(e)?Number(e):0,r.isPlainObject=function(e){return Boolean(e)&&"object"==typeof e&&!Array.isArray(e)},r.isNonEmptyArray=function(e){return Array.isArray(e)&&e.length>0},r.isValidJson=function(e){try{return d.default.call(void 0,e,JSON.parse(JSON.stringify(e)))}catch(e){return!1}}}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"@metamask/address-book-controller>@metamask/controller-utils",file:"node_modules/@metamask/address-book-controller/node_modules/@metamask/controller-utils/dist/chunk-EDY72VWL.js"}],[1097,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n={mainnet:"mainnet",goerli:"goerli",sepolia:"sepolia","linea-goerli":"linea-goerli","linea-sepolia":"linea-sepolia","linea-mainnet":"linea-mainnet"},s={...n,rpc:"rpc"};var i=(e=>(e.Mainnet="mainnet",e.Goerli="goerli",e.Sepolia="sepolia",e.LineaGoerli="linea-goerli",e.LineaSepolia="linea-sepolia",e.LineaMainnet="linea-mainnet",e.Aurora="aurora",e))(i||{}),o={mainnet:"0x1",goerli:"0x5",sepolia:"0xaa36a7",aurora:"0x4e454152","linea-goerli":"0xe704","linea-sepolia":"0xe705","linea-mainnet":"0xe708"},a=(e=>(e.mainnet="ETH",e.goerli="GoerliETH",e.sepolia="SepoliaETH",e["linea-goerli"]="LineaETH",e["linea-sepolia"]="LineaETH",e["linea-mainnet"]="ETH",e.rpc="",e))(a||{});r.InfuraNetworkType=n,r.NetworkType=s,r.isNetworkType=function(e){return Object.values(s).includes(e)},r.isInfuraNetworkType=function(e){return Object.keys(n).includes(e)},r.BuiltInNetworkName=i,r.ChainId=o,r.NetworksTicker=a}}},{package:"@metamask/address-book-controller>@metamask/controller-utils",file:"node_modules/@metamask/address-book-controller/node_modules/@metamask/controller-utils/dist/chunk-LGGBBU6G.js"}],[1098,{"./chunk-DBJSLKNR.js":1095,"@metamask/utils":2300,"@spruceid/siwe-parser":2526,buffer:3028},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(t){(function(){Object.defineProperty(r,"__esModule",{value:!0});var n=e("./chunk-DBJSLKNR.js"),s=e("@metamask/utils"),i=e("@spruceid/siwe-parser"),o=n.createModuleLogger.call(void 0,n.projectLogger,"detect-siwe");function a(e){try{const n="string"!=typeof(r=e)?r:s.remove0x.call(void 0,r),i=t.from(n,"hex");return 32===i.length?e:i.toString("utf8")}catch(t){return o(t),e}var r}var l={"http:":"80","https:":"443"},c=(e,t)=>e.match(/^[^/:]*:\/\//u)?new URL(e):new URL(`${t}//${e}`);r.parseDomainParts=c,r.isValidSIWEOrigin=e=>{try{const{origin:t,siwe:r}=e;if(!t||!r?.parsedMessage?.domain)return!1;const n=new URL(t),s=c(r.parsedMessage.domain,n.protocol);return 0===s.hostname.localeCompare(n.hostname,void 0,{sensitivity:"accent"})&&(""!==s.port&&s.port!==n.port?""===n.port&&s.port===l[n.protocol]:""===s.username||s.username===n.username)}catch(e){return o(e),!1}},r.detectSIWE=e=>{try{const{data:t}=e,r=a(t);return{isSIWEMessage:!0,parsedMessage:new(0,i.ParsedMessage)(r)}}catch(e){return{isSIWEMessage:!1,parsedMessage:null}}}}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"@metamask/address-book-controller>@metamask/controller-utils",file:"node_modules/@metamask/address-book-controller/node_modules/@metamask/controller-utils/dist/chunk-M6G3ISXG.js"}],[1099,{"./chunk-LGGBBU6G.js":1097},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n=e("./chunk-LGGBBU6G.js"),s={[n.NetworkType.goerli]:{chainId:n.ChainId.goerli,ticker:"GoerliETH",rpcPrefs:{blockExplorerUrl:`https://${n.NetworkType.goerli}.etherscan.io`}},[n.NetworkType.sepolia]:{chainId:n.ChainId.sepolia,ticker:"SepoliaETH",rpcPrefs:{blockExplorerUrl:`https://${n.NetworkType.sepolia}.etherscan.io`}},[n.NetworkType.mainnet]:{chainId:n.ChainId.mainnet,ticker:"ETH",rpcPrefs:{blockExplorerUrl:"https://etherscan.io"}},[n.NetworkType["linea-goerli"]]:{chainId:n.ChainId["linea-goerli"],ticker:"LineaETH",rpcPrefs:{blockExplorerUrl:"https://goerli.lineascan.build"}},[n.NetworkType["linea-sepolia"]]:{chainId:n.ChainId["linea-sepolia"],ticker:"LineaETH",rpcPrefs:{blockExplorerUrl:"https://sepolia.lineascan.build"}},[n.NetworkType["linea-mainnet"]]:{chainId:n.ChainId["linea-mainnet"],ticker:"ETH",rpcPrefs:{blockExplorerUrl:"https://lineascan.build"}},[n.NetworkType.rpc]:{chainId:void 0,blockExplorerUrl:void 0,ticker:void 0,rpcPrefs:void 0}},i=(e=>(e.AddEthereumChain="wallet_addEthereumChain",e.ConnectAccounts="connect_accounts",e.EthDecrypt="eth_decrypt",e.EthGetEncryptionPublicKey="eth_getEncryptionPublicKey",e.EthSign="eth_sign",e.EthSignTypedData="eth_signTypedData",e.PersonalSign="personal_sign",e.ResultError="result_error",e.ResultSuccess="result_success",e.SnapDialogAlert="snap_dialog:alert",e.SnapDialogConfirmation="snap_dialog:confirmation",e.SnapDialogPrompt="snap_dialog:prompt",e.SwitchEthereumChain="wallet_switchEthereumChain",e.Transaction="transaction",e.Unlock="unlock",e.WalletConnect="wallet_connect",e.WalletRequestPermissions="wallet_requestPermissions",e.WatchAsset="wallet_watchAsset",e))(i||{}),o={[n.ChainId.goerli]:"goerli",[n.ChainId.sepolia]:"sepolia",[n.ChainId.mainnet]:"mainnet",[n.ChainId["linea-goerli"]]:"linea-goerli",[n.ChainId["linea-sepolia"]]:"linea-sepolia",[n.ChainId["linea-mainnet"]]:"linea-mainnet",[n.ChainId.aurora]:"aurora"};r.RPC="rpc",r.FALL_BACK_VS_CURRENCY="ETH",r.IPFS_DEFAULT_GATEWAY_URL="https://cloudflare-ipfs.com/ipfs/",r.GANACHE_CHAIN_ID="0x539",r.MAX_SAFE_CHAIN_ID=0xfffffffffffec,r.ERC721="ERC721",r.ERC1155="ERC1155",r.ERC20="ERC20",r.ERC721_INTERFACE_ID="0x80ac58cd",r.ERC721_METADATA_INTERFACE_ID="0x5b5e139f",r.ERC721_ENUMERABLE_INTERFACE_ID="0x780e9d63",r.ERC1155_INTERFACE_ID="0xd9b67a26",r.ERC1155_METADATA_URI_INTERFACE_ID="0x0e89341c",r.ERC1155_TOKEN_RECEIVER_INTERFACE_ID="0x4e2312e0",r.GWEI="gwei",r.ASSET_TYPES={NATIVE:"NATIVE",TOKEN:"TOKEN",NFT:"NFT",UNKNOWN:"UNKNOWN"},r.TESTNET_TICKER_SYMBOLS={GOERLI:"GoerliETH",SEPOLIA:"SepoliaETH",LINEA_GOERLI:"LineaETH",LINEA_SEPOLIA:"LineaETH"},r.BUILT_IN_NETWORKS=s,r.OPENSEA_PROXY_URL="https://proxy.metafi.codefi.network/opensea/v1/api/v2",r.NFT_API_BASE_URL="https://nft.api.cx.metamask.io",r.ORIGIN_METAMASK="metamask",r.ApprovalType=i,r.CHAIN_ID_TO_ETHERS_NETWORK_NAME_MAP=o}}},{package:"@metamask/address-book-controller>@metamask/controller-utils",file:"node_modules/@metamask/address-book-controller/node_modules/@metamask/controller-utils/dist/chunk-X4PYR7CK.js"}],[11,{"@metamask/snaps-utils":2163},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.createSnapPublicKeyRequest=function(){return{snapId:s,origin:"",handler:n.HandlerType.OnRpcRequest,request:{method:"getPublicKey"}}},r.createSnapSignMessageRequest=function(e){return{snapId:s,origin:"",handler:n.HandlerType.OnRpcRequest,request:{method:"signMessage",params:{message:e}}}};var n=e("@metamask/snaps-utils");const s="npm:@metamask/message-signing-snap"}}},{package:"$root$",file:"app/scripts/controllers/authentication/auth-snap-requests.ts"}],[110,{"./snap-keyring":112},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"getAccountsBySnapId",{enumerable:!0,get:function(){return n.getAccountsBySnapId}}),Object.defineProperty(r,"snapKeyringBuilder",{enumerable:!0,get:function(){return n.snapKeyringBuilder}});var n=e("./snap-keyring")}}},{package:"$root$",file:"app/scripts/lib/snap-keyring/index.ts"}],[1100,{"./chunk-DBJSLKNR.js":1095,"./chunk-EDY72VWL.js":1096,"./chunk-LGGBBU6G.js":1097,"./chunk-M6G3ISXG.js":1098,"./chunk-X4PYR7CK.js":1099},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n=e("./chunk-M6G3ISXG.js");e("./chunk-DBJSLKNR.js");var s=e("./chunk-EDY72VWL.js"),i=e("./chunk-X4PYR7CK.js"),o=e("./chunk-LGGBBU6G.js");r.ASSET_TYPES=i.ASSET_TYPES,r.ApprovalType=i.ApprovalType,r.BNToHex=s.BNToHex,r.BUILT_IN_NETWORKS=i.BUILT_IN_NETWORKS,r.BuiltInNetworkName=o.BuiltInNetworkName,r.CHAIN_ID_TO_ETHERS_NETWORK_NAME_MAP=i.CHAIN_ID_TO_ETHERS_NETWORK_NAME_MAP,r.ChainId=o.ChainId,r.ERC1155=i.ERC1155,r.ERC1155_INTERFACE_ID=i.ERC1155_INTERFACE_ID,r.ERC1155_METADATA_URI_INTERFACE_ID=i.ERC1155_METADATA_URI_INTERFACE_ID,r.ERC1155_TOKEN_RECEIVER_INTERFACE_ID=i.ERC1155_TOKEN_RECEIVER_INTERFACE_ID,r.ERC20=i.ERC20,r.ERC721=i.ERC721,r.ERC721_ENUMERABLE_INTERFACE_ID=i.ERC721_ENUMERABLE_INTERFACE_ID,r.ERC721_INTERFACE_ID=i.ERC721_INTERFACE_ID,r.ERC721_METADATA_INTERFACE_ID=i.ERC721_METADATA_INTERFACE_ID,r.FALL_BACK_VS_CURRENCY=i.FALL_BACK_VS_CURRENCY,r.GANACHE_CHAIN_ID=i.GANACHE_CHAIN_ID,r.GWEI=i.GWEI,r.IPFS_DEFAULT_GATEWAY_URL=i.IPFS_DEFAULT_GATEWAY_URL,r.InfuraNetworkType=o.InfuraNetworkType,r.MAX_SAFE_CHAIN_ID=i.MAX_SAFE_CHAIN_ID,r.NFT_API_BASE_URL=i.NFT_API_BASE_URL,r.NetworkType=o.NetworkType,r.NetworksTicker=o.NetworksTicker,r.OPENSEA_PROXY_URL=i.OPENSEA_PROXY_URL,r.ORIGIN_METAMASK=i.ORIGIN_METAMASK,r.RPC=i.RPC,r.TESTNET_TICKER_SYMBOLS=i.TESTNET_TICKER_SYMBOLS,r.convertHexToDecimal=s.convertHexToDecimal,r.detectSIWE=n.detectSIWE,r.fetchWithErrorHandling=s.fetchWithErrorHandling,r.fractionBN=s.fractionBN,r.fromHex=s.fromHex,r.getBuyURL=s.getBuyURL,r.gweiDecToWEIBN=s.gweiDecToWEIBN,r.handleFetch=s.handleFetch,r.hexToBN=s.hexToBN,r.hexToText=s.hexToText,r.isInfuraNetworkType=o.isInfuraNetworkType,r.isNetworkType=o.isNetworkType,r.isNonEmptyArray=s.isNonEmptyArray,r.isPlainObject=s.isPlainObject,r.isSafeChainId=s.isSafeChainId,r.isSafeDynamicKey=s.isSafeDynamicKey,r.isSmartContractCode=s.isSmartContractCode,r.isValidHexAddress=s.isValidHexAddress,r.isValidJson=s.isValidJson,r.isValidSIWEOrigin=n.isValidSIWEOrigin,r.normalizeEnsName=s.normalizeEnsName,r.parseDomainParts=n.parseDomainParts,r.query=s.query,r.safelyExecute=s.safelyExecute,r.safelyExecuteWithTimeout=s.safelyExecuteWithTimeout,r.successfulFetch=s.successfulFetch,r.timeoutFetch=s.timeoutFetch,r.toChecksumHexAddress=s.toChecksumHexAddress,r.toHex=s.toHex,r.weiHexToGweiDec=s.weiHexToGweiDec}}},{package:"@metamask/address-book-controller>@metamask/controller-utils",file:"node_modules/@metamask/address-book-controller/node_modules/@metamask/controller-utils/dist/index.js"}],[1101,{"@metamask/base-controller":1108},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n,s,i=(e,t,r)=>(((e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)})(e,t,"access private method"),r),o=e("@metamask/base-controller"),a={announcements:{}},l={announcements:{persist:!0,anonymous:!0}},c=class extends o.BaseController{constructor({messenger:e,state:t,allAnnouncements:r}){const o={...a,...t};super({messenger:e,metadata:l,name:"AnnouncementController",state:o}),((e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)})(this,n),i(this,n,s).call(this,r)}resetViewed(){this.update((({announcements:e})=>{for(const t of Object.values(e))t.isShown=!1}))}updateViewed(e){this.update((({announcements:t})=>{for(const r of Object.keys(e).map(Number))t[r].isShown=e[r]}))}};n=new WeakSet,s=function(e){this.update((t=>{Object.values(e).forEach((e=>{t.announcements[e.id]=t.announcements[e.id]??{...e,isShown:!1}}))}))},r.AnnouncementController=c}}},{package:"@metamask/announcement-controller",file:"node_modules/@metamask/announcement-controller/dist/chunk-ZGM3XNIO.js"}],[1102,{"./chunk-ZGM3XNIO.js":1101},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n=e("./chunk-ZGM3XNIO.js");r.AnnouncementController=n.AnnouncementController}}},{package:"@metamask/announcement-controller",file:"node_modules/@metamask/announcement-controller/dist/index.js"}],[1103,{"./chunk-UJFCPTF3.js":1105,"./chunk-Z4BLTVTB.js":1106},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n,s,i,o,a=e("./chunk-UJFCPTF3.js"),l=e("./chunk-Z4BLTVTB.js");n=new WeakMap,s=new WeakMap,i=new WeakMap,o=new WeakMap,r.ControllerMessenger=class{constructor(){l.__privateAdd.call(void 0,this,n,new Map),l.__privateAdd.call(void 0,this,s,new Map),l.__privateAdd.call(void 0,this,i,new Map),l.__privateAdd.call(void 0,this,o,new Map)}registerActionHandler(e,t){if(l.__privateGet.call(void 0,this,n).has(e))throw new Error(`A handler for ${e} has already been registered`);l.__privateGet.call(void 0,this,n).set(e,t)}unregisterActionHandler(e){l.__privateGet.call(void 0,this,n).delete(e)}clearActions(){l.__privateGet.call(void 0,this,n).clear()}call(e,...t){const r=l.__privateGet.call(void 0,this,n).get(e);if(!r)throw new Error(`A handler for ${e} has not been registered`);return r(...t)}registerInitialEventPayload({eventType:e,getPayload:t}){l.__privateGet.call(void 0,this,i).set(e,t)}publish(e,...t){const r=l.__privateGet.call(void 0,this,s).get(e);if(r)for(const[e,n]of r.entries())try{if(n){const r=l.__privateGet.call(void 0,this,o).get(e),s=n(...t);s!==r&&(l.__privateGet.call(void 0,this,o).set(e,s),e(s,r))}else e(...t)}catch(e){setTimeout((()=>{throw e}))}}subscribe(e,t,r){let n=l.__privateGet.call(void 0,this,s).get(e);if(n||(n=new Map,l.__privateGet.call(void 0,this,s).set(e,n)),n.set(t,r),r){const n=l.__privateGet.call(void 0,this,i).get(e);if(n){const e=r(...n());l.__privateGet.call(void 0,this,o).set(t,e)}}}unsubscribe(e,t){const r=l.__privateGet.call(void 0,this,s).get(e);if(!r||!r.has(t))throw new Error(`Subscription not found for event: ${e}`);r.get(t)&&l.__privateGet.call(void 0,this,o).delete(t),r.delete(t)}clearEventSubscriptions(e){l.__privateGet.call(void 0,this,s).delete(e)}clearSubscriptions(){l.__privateGet.call(void 0,this,s).clear()}getRestricted({name:e,allowedActions:t,allowedEvents:r}){return new(0,a.RestrictedControllerMessenger)({controllerMessenger:this,name:e,allowedActions:t,allowedEvents:r})}}}}},{package:"@metamask/announcement-controller>@metamask/base-controller",file:"node_modules/@metamask/announcement-controller/node_modules/@metamask/base-controller/dist/chunk-G42723LG.js"}],[1104,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n=class{constructor(e={},t={}){this.defaultConfig={},this.defaultState={},this.disabled=!1,this.name="BaseController",this.internalConfig=this.defaultConfig,this.internalState=this.defaultState,this.internalListeners=[],this.initialState=t,this.initialConfig=e}initialize(){return this.internalState=this.defaultState,this.internalConfig=this.defaultConfig,this.configure(this.initialConfig),this.update(this.initialState),this}get config(){return this.internalConfig}get state(){return this.internalState}configure(e,t=!1,r=!0){if(r){this.internalConfig=t?e:Object.assign(this.internalConfig,e);for(const e of Object.keys(this.internalConfig)){const t=this.internalConfig[e];void 0!==t&&(this[e]=t)}}else for(const t of Object.keys(e))if(void 0!==this.internalConfig[t]){const r=e[t];this.internalConfig[t]=r,this[t]=r}}notify(){this.disabled||this.internalListeners.forEach((e=>{e(this.internalState)}))}subscribe(e){this.internalListeners.push(e)}unsubscribe(e){const t=this.internalListeners.findIndex((t=>e===t));return t>-1&&this.internalListeners.splice(t,1),t>-1}update(e,t=!1){this.internalState=t?Object.assign({},e):Object.assign({},this.internalState,e),this.notify()}},s=n;r.BaseControllerV1=n,r.BaseControllerV1_default=s}}},{package:"@metamask/announcement-controller>@metamask/base-controller",file:"node_modules/@metamask/announcement-controller/node_modules/@metamask/base-controller/dist/chunk-NINOM2XQ.js"}],[1105,{"./chunk-Z4BLTVTB.js":1106},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n,s,i,o,a,l,c,d,u,h,p=e("./chunk-Z4BLTVTB.js");n=new WeakMap,s=new WeakMap,i=new WeakMap,o=new WeakMap,a=new WeakSet,l=function(e){const t=p.__privateGet.call(void 0,this,o);return p.__privateMethod.call(void 0,this,u,h).call(this,e)||null!==t&&t.includes(e)},c=new WeakSet,d=function(e){const t=p.__privateGet.call(void 0,this,i);return p.__privateMethod.call(void 0,this,u,h).call(this,e)||null!==t&&t.includes(e)},u=new WeakSet,h=function(e){return e.startsWith(`${p.__privateGet.call(void 0,this,s)}:`)},r.RestrictedControllerMessenger=class{constructor({controllerMessenger:e,name:t,allowedActions:r,allowedEvents:l}){p.__privateAdd.call(void 0,this,a),p.__privateAdd.call(void 0,this,c),p.__privateAdd.call(void 0,this,u),p.__privateAdd.call(void 0,this,n,void 0),p.__privateAdd.call(void 0,this,s,void 0),p.__privateAdd.call(void 0,this,i,void 0),p.__privateAdd.call(void 0,this,o,void 0),p.__privateSet.call(void 0,this,n,e),p.__privateSet.call(void 0,this,s,t),p.__privateSet.call(void 0,this,i,r),p.__privateSet.call(void 0,this,o,l)}registerActionHandler(e,t){if(!p.__privateMethod.call(void 0,this,u,h).call(this,e))throw new Error(`Only allowed registering action handlers prefixed by '${p.__privateGet.call(void 0,this,s)}:'`);p.__privateGet.call(void 0,this,n).registerActionHandler(e,t)}unregisterActionHandler(e){if(!p.__privateMethod.call(void 0,this,u,h).call(this,e))throw new Error(`Only allowed unregistering action handlers prefixed by '${p.__privateGet.call(void 0,this,s)}:'`);p.__privateGet.call(void 0,this,n).unregisterActionHandler(e)}call(e,...t){if(!p.__privateMethod.call(void 0,this,c,d).call(this,e))throw new Error(`Action missing from allow list: ${e}`);return p.__privateGet.call(void 0,this,n).call(e,...t)}registerInitialEventPayload({eventType:e,getPayload:t}){if(!p.__privateMethod.call(void 0,this,u,h).call(this,e))throw new Error(`Only allowed publishing events prefixed by '${p.__privateGet.call(void 0,this,s)}:'`);p.__privateGet.call(void 0,this,n).registerInitialEventPayload({eventType:e,getPayload:t})}publish(e,...t){if(!p.__privateMethod.call(void 0,this,u,h).call(this,e))throw new Error(`Only allowed publishing events prefixed by '${p.__privateGet.call(void 0,this,s)}:'`);p.__privateGet.call(void 0,this,n).publish(e,...t)}subscribe(e,t,r){if(!p.__privateMethod.call(void 0,this,a,l).call(this,e))throw new Error(`Event missing from allow list: ${e}`);return r?p.__privateGet.call(void 0,this,n).subscribe(e,t,r):p.__privateGet.call(void 0,this,n).subscribe(e,t)}unsubscribe(e,t){if(!p.__privateMethod.call(void 0,this,a,l).call(this,e))throw new Error(`Event missing from allow list: ${e}`);p.__privateGet.call(void 0,this,n).unsubscribe(e,t)}clearEventSubscriptions(e){if(!p.__privateMethod.call(void 0,this,u,h).call(this,e))throw new Error(`Only allowed clearing events prefixed by '${p.__privateGet.call(void 0,this,s)}:'`);p.__privateGet.call(void 0,this,n).clearEventSubscriptions(e)}}}}},{package:"@metamask/announcement-controller>@metamask/base-controller",file:"node_modules/@metamask/announcement-controller/node_modules/@metamask/base-controller/dist/chunk-UJFCPTF3.js"}],[1106,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)};r.__privateGet=(e,t,r)=>(n(e,t,"read from private field"),r?r.call(e):t.get(e)),r.__privateAdd=(e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)},r.__privateSet=(e,t,r,s)=>(n(e,t,"write to private field"),s?s.call(e,r):t.set(e,r),r),r.__privateMethod=(e,t,r)=>(n(e,t,"access private method"),r)}}},{package:"@metamask/announcement-controller>@metamask/base-controller",file:"node_modules/@metamask/announcement-controller/node_modules/@metamask/base-controller/dist/chunk-Z4BLTVTB.js"}],[1107,{"./chunk-Z4BLTVTB.js":1106,immer:3640},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n,s=e("./chunk-Z4BLTVTB.js"),i=e("immer");i.enablePatches.call(void 0);function o(e,t,r){return Object.keys(e).reduce(((n,s)=>{try{const i=t[s];if(!i)throw new Error(`No metadata found for '${String(s)}'`);const o=i[r],a=e[s];return"function"==typeof o?n[s]=o(a):o&&(n[s]=a),n}catch(e){return setTimeout((()=>{throw e})),n}}),{})}n=new WeakMap,r.BaseController=class{constructor({messenger:e,metadata:t,name:r,state:o}){s.__privateAdd.call(void 0,this,n,void 0),this.messagingSystem=e,this.name=r,s.__privateSet.call(void 0,this,n,i.freeze.call(void 0,o,!0)),this.metadata=t,this.messagingSystem.registerActionHandler(`${r}:getState`,(()=>this.state)),this.messagingSystem.registerInitialEventPayload({eventType:`${r}:stateChange`,getPayload:()=>[this.state,[]]})}get state(){return s.__privateGet.call(void 0,this,n)}set state(e){throw new Error("Controller state cannot be directly mutated; use 'update' method instead.")}update(e){const[t,r,o]=i.produceWithPatches.call(void 0,s.__privateGet.call(void 0,this,n),e);return s.__privateSet.call(void 0,this,n,t),this.messagingSystem.publish(`${this.name}:stateChange`,t,r),{nextState:t,patches:r,inversePatches:o}}applyPatches(e){const t=i.applyPatches.call(void 0,s.__privateGet.call(void 0,this,n),e);s.__privateSet.call(void 0,this,n,t),this.messagingSystem.publish(`${this.name}:stateChange`,t,e)}destroy(){this.messagingSystem.clearEventSubscriptions(`${this.name}:stateChange`)}},r.getAnonymizedState=function(e,t){return o(e,t,"anonymous")},r.getPersistentState=function(e,t){return o(e,t,"persist")}}}},{package:"@metamask/announcement-controller>@metamask/base-controller",file:"node_modules/@metamask/announcement-controller/node_modules/@metamask/base-controller/dist/chunk-ZNOPSWMU.js"}],[1108,{"./chunk-G42723LG.js":1103,"./chunk-NINOM2XQ.js":1104,"./chunk-UJFCPTF3.js":1105,"./chunk-Z4BLTVTB.js":1106,"./chunk-ZNOPSWMU.js":1107},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n=e("./chunk-NINOM2XQ.js"),s=e("./chunk-ZNOPSWMU.js"),i=e("./chunk-G42723LG.js"),o=e("./chunk-UJFCPTF3.js");e("./chunk-Z4BLTVTB.js"),r.BaseController=s.BaseController,r.BaseControllerV1=n.BaseControllerV1,r.ControllerMessenger=i.ControllerMessenger,r.RestrictedControllerMessenger=o.RestrictedControllerMessenger,r.getAnonymizedState=s.getAnonymizedState,r.getPersistentState=s.getPersistentState}}},{package:"@metamask/announcement-controller>@metamask/base-controller",file:"node_modules/@metamask/announcement-controller/node_modules/@metamask/base-controller/dist/index.js"}],[1109,{"./chunk-LKCXZAKD.js":1110,"@metamask/base-controller":1117,"@metamask/rpc-errors":1717,nanoid:1118},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n,s,i,o,a,l,c,d,u,h,p,m,f,g,v,w,y,k,b=e("./chunk-LKCXZAKD.js"),C=e("@metamask/base-controller"),_=e("@metamask/rpc-errors"),S=e("nanoid"),T="metamask",A="result_error",E="result_success",M="ApprovalController",P={pendingApprovals:{persist:!1,anonymous:!0},pendingApprovalCount:{persist:!1,anonymous:!1},approvalFlows:{persist:!1,anonymous:!1}},N=class extends C.BaseController{constructor({messenger:e,showApprovalRequest:t,state:r={},typesExcludedFromRateLimiting:l=[]}){super({name:M,metadata:P,messenger:e,state:{pendingApprovals:{},pendingApprovalCount:0,approvalFlows:[],...r}}),b.__privateAdd.call(void 0,this,a),b.__privateAdd.call(void 0,this,c),b.__privateAdd.call(void 0,this,u),b.__privateAdd.call(void 0,this,p),b.__privateAdd.call(void 0,this,f),b.__privateAdd.call(void 0,this,v),b.__privateAdd.call(void 0,this,y),b.__privateAdd.call(void 0,this,n,void 0),b.__privateAdd.call(void 0,this,s,void 0),b.__privateAdd.call(void 0,this,i,void 0),b.__privateAdd.call(void 0,this,o,void 0),b.__privateSet.call(void 0,this,n,new Map),b.__privateSet.call(void 0,this,s,new Map),b.__privateSet.call(void 0,this,i,t),b.__privateSet.call(void 0,this,o,l),this.registerMessageHandlers()}registerMessageHandlers(){this.messagingSystem.registerActionHandler(`${M}:clearRequests`,this.clear.bind(this)),this.messagingSystem.registerActionHandler(`${M}:addRequest`,((e,t)=>t?this.addAndShowApprovalRequest(e):this.add(e))),this.messagingSystem.registerActionHandler(`${M}:hasRequest`,this.has.bind(this)),this.messagingSystem.registerActionHandler(`${M}:acceptRequest`,this.accept.bind(this)),this.messagingSystem.registerActionHandler(`${M}:rejectRequest`,this.reject.bind(this)),this.messagingSystem.registerActionHandler(`${M}:updateRequestState`,this.updateRequestState.bind(this)),this.messagingSystem.registerActionHandler(`${M}:startFlow`,this.startFlow.bind(this)),this.messagingSystem.registerActionHandler(`${M}:endFlow`,this.endFlow.bind(this)),this.messagingSystem.registerActionHandler(`${M}:setFlowLoadingText`,this.setFlowLoadingText.bind(this)),this.messagingSystem.registerActionHandler(`${M}:showSuccess`,this.success.bind(this)),this.messagingSystem.registerActionHandler(`${M}:showError`,this.error.bind(this))}addAndShowApprovalRequest(e){const t=b.__privateMethod.call(void 0,this,a,l).call(this,e.origin,e.type,e.id,e.requestData,e.requestState,e.expectsResult);return b.__privateGet.call(void 0,this,i).call(this),t}add(e){return b.__privateMethod.call(void 0,this,a,l).call(this,e.origin,e.type,e.id,e.requestData,e.requestState,e.expectsResult)}get(e){return this.state.pendingApprovals[e]}getApprovalCount(e={}){if(!e.origin&&!e.type)throw new Error("Must specify origin, type, or both.");const{origin:t,type:r}=e;if(t&&r)return b.__privateGet.call(void 0,this,s).get(t)?.get(r)||0;if(t)return Array.from((b.__privateGet.call(void 0,this,s).get(t)||new Map).values()).reduce(((e,t)=>e+t),0);let n=0;for(const e of Object.values(this.state.pendingApprovals))e.type===r&&(n+=1);return n}getTotalApprovalCount(){return this.state.pendingApprovalCount}has(e={}){const{id:t,origin:r,type:i}=e;if(t){if("string"!=typeof t)throw new Error("May not specify non-string id.");return b.__privateGet.call(void 0,this,n).has(t)}if(i&&"string"!=typeof i)throw new Error("May not specify non-string type.");if(r){if("string"!=typeof r)throw new Error("May not specify non-string origin.");return i?Boolean(b.__privateGet.call(void 0,this,s).get(r)?.get(i)):b.__privateGet.call(void 0,this,s).has(r)}if(i){for(const e of Object.values(this.state.pendingApprovals))if(e.type===i)return!0;return!1}throw new Error("Must specify a valid combination of id, origin, and type.")}accept(e,t,r){const n=this.get(e),s=b.__privateMethod.call(void 0,this,v,w).call(this,e);return new Promise(((i,o)=>{const a={success:e=>i({value:e}),error:o};if(r?.waitForResult&&!n.expectsResult)return void o(new(0,b.ApprovalRequestNoResultSupportError)(e));const l=r?.waitForResult?a:void 0,c=n.expectsResult?{value:t,resultCallbacks:l}:t;s.resolve(c),r?.waitForResult||i({value:void 0})}))}reject(e,t){b.__privateMethod.call(void 0,this,v,w).call(this,e).reject(t)}clear(e){for(const t of b.__privateGet.call(void 0,this,n).keys())this.reject(t,e);b.__privateGet.call(void 0,this,s).clear(),this.update((e=>{e.pendingApprovals={},e.pendingApprovalCount=0}))}updateRequestState(e){if(!this.state.pendingApprovals[e.id])throw new(0,b.ApprovalRequestNotFoundError)(e.id);this.update((t=>{t.pendingApprovals[e.id].requestState=e.requestState}))}startFlow(e={}){const t=e.id??S.nanoid.call(void 0),r=e.loadingText??null;return this.update((e=>{e.approvalFlows.push({id:t,loadingText:r})})),!1!==e.show&&b.__privateGet.call(void 0,this,i).call(this),{id:t,loadingText:r}}endFlow({id:e}){if(!this.state.approvalFlows.length)throw new(0,b.NoApprovalFlowsError);if(e!==this.state.approvalFlows.slice(-1)[0].id)throw new(0,b.EndInvalidFlowError)(e,this.state.approvalFlows.map((e=>e.id)));this.update((e=>{e.approvalFlows.pop()}))}setFlowLoadingText({id:e,loadingText:t}){const r=this.state.approvalFlows.findIndex((t=>t.id===e));if(-1===r)throw new(0,b.MissingApprovalFlowError)(e);this.update((e=>{e.approvalFlows[r].loadingText=t}))}async success(e={}){return await b.__privateMethod.call(void 0,this,y,k).call(this,E,e,{message:e.message,header:e.header,title:e.title,icon:e.icon}),{}}async error(e={}){return await b.__privateMethod.call(void 0,this,y,k).call(this,A,e,{error:e.error,header:e.header,title:e.title,icon:e.icon}),{}}};n=new WeakMap,s=new WeakMap,i=new WeakMap,o=new WeakMap,a=new WeakSet,l=function(e,t,r=S.nanoid.call(void 0),s,i,a){if(b.__privateMethod.call(void 0,this,c,d).call(this,r,e,t,s,i),!b.__privateGet.call(void 0,this,o).includes(t)&&this.has({origin:e,type:t}))throw _.rpcErrors.resourceUnavailable(((e,t)=>`Request of type '${t}' already pending for origin ${e}. Please wait.`)(e,t));return new Promise(((o,l)=>{b.__privateGet.call(void 0,this,n).set(r,{resolve:o,reject:l}),b.__privateMethod.call(void 0,this,u,h).call(this,e,t),b.__privateMethod.call(void 0,this,p,m).call(this,r,e,t,s,i,a)}))},c=new WeakSet,d=function(e,t,r,s,i){let o=null;if(e&&"string"==typeof e?b.__privateGet.call(void 0,this,n).has(e)?o=`Approval request with id '${e}' already exists.`:t&&"string"==typeof t?r&&"string"==typeof r?s&&("object"!=typeof s||Array.isArray(s))?o="Request data must be a plain object if specified.":i&&("object"!=typeof i||Array.isArray(i))&&(o="Request state must be a plain object if specified."):o="Must specify non-empty string type.":o="Must specify non-empty string origin.":o="Must specify non-empty string id.",o)throw _.rpcErrors.internal(o)},u=new WeakSet,h=function(e,t){let r=b.__privateGet.call(void 0,this,s).get(e);r||(r=new Map,b.__privateGet.call(void 0,this,s).set(e,r));const n=r.get(t)||0;r.set(t,n+1)},p=new WeakSet,m=function(e,t,r,n,s,i){const o={id:e,origin:t,type:r,time:Date.now(),requestData:n||null,requestState:s||null,expectsResult:i||!1};this.update((t=>{t.pendingApprovals[e]=o,t.pendingApprovalCount=Object.keys(t.pendingApprovals).length}))},f=new WeakSet,g=function(e){b.__privateGet.call(void 0,this,n).delete(e);const{origin:t,type:r}=this.state.pendingApprovals[e],i=b.__privateGet.call(void 0,this,s).get(t),o=this.getApprovalCount({origin:t}),a=i.get(r);1===o?b.__privateGet.call(void 0,this,s).delete(t):i.set(r,a-1),this.update((t=>{delete t.pendingApprovals[e],t.pendingApprovalCount=Object.keys(t.pendingApprovals).length}))},v=new WeakSet,w=function(e){const t=b.__privateGet.call(void 0,this,n).get(e);if(!t)throw new(0,b.ApprovalRequestNotFoundError)(e);return b.__privateMethod.call(void 0,this,f,g).call(this,e),t},y=new WeakSet,k=async function(e,t,r){try{await this.addAndShowApprovalRequest({origin:T,type:e,requestData:r})}catch(e){console.info("Failed to display result page",e)}finally{if(t.flowToEnd)try{this.endFlow({id:t.flowToEnd})}catch(e){console.info("Failed to end flow",{id:t.flowToEnd,error:e})}}};var I=N;r.ORIGIN_METAMASK=T,r.APPROVAL_TYPE_RESULT_ERROR=A,r.APPROVAL_TYPE_RESULT_SUCCESS=E,r.ApprovalController=N,r.ApprovalController_default=I}}},{package:"@metamask/approval-controller",file:"node_modules/@metamask/approval-controller/dist/chunk-5K4GVAX5.js"}],[111,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.getSnapAndHardwareInfoForMetrics=async function(e,t,r){var n,s,i;if(!r)return{};const o=r.call("AccountsController:getSelectedAccount"),a=o.address,{keyring:l}=o.metadata;let c;var d;null!==(n=o.metadata.snap)&&void 0!==n&&n.id&&(c=r.call("SnapController:get",null===(d=o.metadata.snap)||void 0===d?void 0:d.id));return{account_type:await e(a),device_model:await t(a),account_hardware_type:await async function(){var e;return null!=l&&null!==(e=l.type)&&void 0!==e&&e.includes("Hardware")?l.type:undefined}(),account_snap_type:null===(s=c)||void 0===s?void 0:s.id,account_snap_version:null===(i=c)||void 0===i?void 0:i.version}}}}},{package:"$root$",file:"app/scripts/lib/snap-keyring/metrics.ts"}],[1110,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)},s=class extends Error{constructor(e){super(`Approval request with id '${e}' not found.`)}},i=class extends Error{constructor(e){super(`Approval acceptance requested result but request with id '${e}' does not support it.`)}},o=class extends Error{constructor(){super("No approval flows found.")}},a=class extends Error{constructor(e,t){super(`Attempted to end flow with id '${e}' which does not match current flow with id '${t.slice(-1)[0]}'. All Flows: ${t.join(", ")}`)}},l=class extends Error{constructor(e){super(`No approval flows found with id '${e}'.`)}};r.__privateGet=(e,t,r)=>(n(e,t,"read from private field"),r?r.call(e):t.get(e)),r.__privateAdd=(e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)},r.__privateSet=(e,t,r,s)=>(n(e,t,"write to private field"),s?s.call(e,r):t.set(e,r),r),r.__privateMethod=(e,t,r)=>(n(e,t,"access private method"),r),r.ApprovalRequestNotFoundError=s,r.ApprovalRequestNoResultSupportError=i,r.NoApprovalFlowsError=o,r.EndInvalidFlowError=a,r.MissingApprovalFlowError=l}}},{package:"@metamask/approval-controller",file:"node_modules/@metamask/approval-controller/dist/chunk-LKCXZAKD.js"}],[1111,{"./chunk-5K4GVAX5.js":1109,"./chunk-LKCXZAKD.js":1110},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n=e("./chunk-5K4GVAX5.js"),s=e("./chunk-LKCXZAKD.js");r.APPROVAL_TYPE_RESULT_ERROR=n.APPROVAL_TYPE_RESULT_ERROR,r.APPROVAL_TYPE_RESULT_SUCCESS=n.APPROVAL_TYPE_RESULT_SUCCESS,r.ApprovalController=n.ApprovalController,r.ApprovalRequestNoResultSupportError=s.ApprovalRequestNoResultSupportError,r.ApprovalRequestNotFoundError=s.ApprovalRequestNotFoundError,r.EndInvalidFlowError=s.EndInvalidFlowError,r.MissingApprovalFlowError=s.MissingApprovalFlowError,r.NoApprovalFlowsError=s.NoApprovalFlowsError,r.ORIGIN_METAMASK=n.ORIGIN_METAMASK}}},{package:"@metamask/approval-controller",file:"node_modules/@metamask/approval-controller/dist/index.js"}],[1112,{"./chunk-UJFCPTF3.js":1114,"./chunk-Z4BLTVTB.js":1115},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n,s,i,o,a=e("./chunk-UJFCPTF3.js"),l=e("./chunk-Z4BLTVTB.js");n=new WeakMap,s=new WeakMap,i=new WeakMap,o=new WeakMap,r.ControllerMessenger=class{constructor(){l.__privateAdd.call(void 0,this,n,new Map),l.__privateAdd.call(void 0,this,s,new Map),l.__privateAdd.call(void 0,this,i,new Map),l.__privateAdd.call(void 0,this,o,new Map)}registerActionHandler(e,t){if(l.__privateGet.call(void 0,this,n).has(e))throw new Error(`A handler for ${e} has already been registered`);l.__privateGet.call(void 0,this,n).set(e,t)}unregisterActionHandler(e){l.__privateGet.call(void 0,this,n).delete(e)}clearActions(){l.__privateGet.call(void 0,this,n).clear()}call(e,...t){const r=l.__privateGet.call(void 0,this,n).get(e);if(!r)throw new Error(`A handler for ${e} has not been registered`);return r(...t)}registerInitialEventPayload({eventType:e,getPayload:t}){l.__privateGet.call(void 0,this,i).set(e,t)}publish(e,...t){const r=l.__privateGet.call(void 0,this,s).get(e);if(r)for(const[e,n]of r.entries())try{if(n){const r=l.__privateGet.call(void 0,this,o).get(e),s=n(...t);s!==r&&(l.__privateGet.call(void 0,this,o).set(e,s),e(s,r))}else e(...t)}catch(e){setTimeout((()=>{throw e}))}}subscribe(e,t,r){let n=l.__privateGet.call(void 0,this,s).get(e);if(n||(n=new Map,l.__privateGet.call(void 0,this,s).set(e,n)),n.set(t,r),r){const n=l.__privateGet.call(void 0,this,i).get(e);if(n){const e=r(...n());l.__privateGet.call(void 0,this,o).set(t,e)}}}unsubscribe(e,t){const r=l.__privateGet.call(void 0,this,s).get(e);if(!r||!r.has(t))throw new Error(`Subscription not found for event: ${e}`);r.get(t)&&l.__privateGet.call(void 0,this,o).delete(t),r.delete(t)}clearEventSubscriptions(e){l.__privateGet.call(void 0,this,s).delete(e)}clearSubscriptions(){l.__privateGet.call(void 0,this,s).clear()}getRestricted({name:e,allowedActions:t,allowedEvents:r}){return new(0,a.RestrictedControllerMessenger)({controllerMessenger:this,name:e,allowedActions:t,allowedEvents:r})}}}}},{package:"@metamask/approval-controller>@metamask/base-controller",file:"node_modules/@metamask/approval-controller/node_modules/@metamask/base-controller/dist/chunk-G42723LG.js"}],[1113,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n=class{constructor(e={},t={}){this.defaultConfig={},this.defaultState={},this.disabled=!1,this.name="BaseController",this.internalConfig=this.defaultConfig,this.internalState=this.defaultState,this.internalListeners=[],this.initialState=t,this.initialConfig=e}initialize(){return this.internalState=this.defaultState,this.internalConfig=this.defaultConfig,this.configure(this.initialConfig),this.update(this.initialState),this}get config(){return this.internalConfig}get state(){return this.internalState}configure(e,t=!1,r=!0){if(r){this.internalConfig=t?e:Object.assign(this.internalConfig,e);for(const e of Object.keys(this.internalConfig)){const t=this.internalConfig[e];void 0!==t&&(this[e]=t)}}else for(const t of Object.keys(e))if(void 0!==this.internalConfig[t]){const r=e[t];this.internalConfig[t]=r,this[t]=r}}notify(){this.disabled||this.internalListeners.forEach((e=>{e(this.internalState)}))}subscribe(e){this.internalListeners.push(e)}unsubscribe(e){const t=this.internalListeners.findIndex((t=>e===t));return t>-1&&this.internalListeners.splice(t,1),t>-1}update(e,t=!1){this.internalState=t?Object.assign({},e):Object.assign({},this.internalState,e),this.notify()}},s=n;r.BaseControllerV1=n,r.BaseControllerV1_default=s}}},{package:"@metamask/approval-controller>@metamask/base-controller",file:"node_modules/@metamask/approval-controller/node_modules/@metamask/base-controller/dist/chunk-NINOM2XQ.js"}],[1114,{"./chunk-Z4BLTVTB.js":1115},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n,s,i,o,a,l,c,d,u,h,p=e("./chunk-Z4BLTVTB.js");n=new WeakMap,s=new WeakMap,i=new WeakMap,o=new WeakMap,a=new WeakSet,l=function(e){const t=p.__privateGet.call(void 0,this,o);return p.__privateMethod.call(void 0,this,u,h).call(this,e)||null!==t&&t.includes(e)},c=new WeakSet,d=function(e){const t=p.__privateGet.call(void 0,this,i);return p.__privateMethod.call(void 0,this,u,h).call(this,e)||null!==t&&t.includes(e)},u=new WeakSet,h=function(e){return e.startsWith(`${p.__privateGet.call(void 0,this,s)}:`)},r.RestrictedControllerMessenger=class{constructor({controllerMessenger:e,name:t,allowedActions:r,allowedEvents:l}){p.__privateAdd.call(void 0,this,a),p.__privateAdd.call(void 0,this,c),p.__privateAdd.call(void 0,this,u),p.__privateAdd.call(void 0,this,n,void 0),p.__privateAdd.call(void 0,this,s,void 0),p.__privateAdd.call(void 0,this,i,void 0),p.__privateAdd.call(void 0,this,o,void 0),p.__privateSet.call(void 0,this,n,e),p.__privateSet.call(void 0,this,s,t),p.__privateSet.call(void 0,this,i,r),p.__privateSet.call(void 0,this,o,l)}registerActionHandler(e,t){if(!p.__privateMethod.call(void 0,this,u,h).call(this,e))throw new Error(`Only allowed registering action handlers prefixed by '${p.__privateGet.call(void 0,this,s)}:'`);p.__privateGet.call(void 0,this,n).registerActionHandler(e,t)}unregisterActionHandler(e){if(!p.__privateMethod.call(void 0,this,u,h).call(this,e))throw new Error(`Only allowed unregistering action handlers prefixed by '${p.__privateGet.call(void 0,this,s)}:'`);p.__privateGet.call(void 0,this,n).unregisterActionHandler(e)}call(e,...t){if(!p.__privateMethod.call(void 0,this,c,d).call(this,e))throw new Error(`Action missing from allow list: ${e}`);return p.__privateGet.call(void 0,this,n).call(e,...t)}registerInitialEventPayload({eventType:e,getPayload:t}){if(!p.__privateMethod.call(void 0,this,u,h).call(this,e))throw new Error(`Only allowed publishing events prefixed by '${p.__privateGet.call(void 0,this,s)}:'`);p.__privateGet.call(void 0,this,n).registerInitialEventPayload({eventType:e,getPayload:t})}publish(e,...t){if(!p.__privateMethod.call(void 0,this,u,h).call(this,e))throw new Error(`Only allowed publishing events prefixed by '${p.__privateGet.call(void 0,this,s)}:'`);p.__privateGet.call(void 0,this,n).publish(e,...t)}subscribe(e,t,r){if(!p.__privateMethod.call(void 0,this,a,l).call(this,e))throw new Error(`Event missing from allow list: ${e}`);return r?p.__privateGet.call(void 0,this,n).subscribe(e,t,r):p.__privateGet.call(void 0,this,n).subscribe(e,t)}unsubscribe(e,t){if(!p.__privateMethod.call(void 0,this,a,l).call(this,e))throw new Error(`Event missing from allow list: ${e}`);p.__privateGet.call(void 0,this,n).unsubscribe(e,t)}clearEventSubscriptions(e){if(!p.__privateMethod.call(void 0,this,u,h).call(this,e))throw new Error(`Only allowed clearing events prefixed by '${p.__privateGet.call(void 0,this,s)}:'`);p.__privateGet.call(void 0,this,n).clearEventSubscriptions(e)}}}}},{package:"@metamask/approval-controller>@metamask/base-controller",file:"node_modules/@metamask/approval-controller/node_modules/@metamask/base-controller/dist/chunk-UJFCPTF3.js"}],[1115,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)};r.__privateGet=(e,t,r)=>(n(e,t,"read from private field"),r?r.call(e):t.get(e)),r.__privateAdd=(e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)},r.__privateSet=(e,t,r,s)=>(n(e,t,"write to private field"),s?s.call(e,r):t.set(e,r),r),r.__privateMethod=(e,t,r)=>(n(e,t,"access private method"),r)}}},{package:"@metamask/approval-controller>@metamask/base-controller",file:"node_modules/@metamask/approval-controller/node_modules/@metamask/base-controller/dist/chunk-Z4BLTVTB.js"}],[1116,{"./chunk-Z4BLTVTB.js":1115,immer:3640},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n,s=e("./chunk-Z4BLTVTB.js"),i=e("immer");i.enablePatches.call(void 0);function o(e,t,r){return Object.keys(e).reduce(((n,s)=>{try{const i=t[s];if(!i)throw new Error(`No metadata found for '${String(s)}'`);const o=i[r],a=e[s];return"function"==typeof o?n[s]=o(a):o&&(n[s]=a),n}catch(e){return setTimeout((()=>{throw e})),n}}),{})}n=new WeakMap,r.BaseController=class{constructor({messenger:e,metadata:t,name:r,state:o}){s.__privateAdd.call(void 0,this,n,void 0),this.messagingSystem=e,this.name=r,s.__privateSet.call(void 0,this,n,i.freeze.call(void 0,o,!0)),this.metadata=t,this.messagingSystem.registerActionHandler(`${r}:getState`,(()=>this.state)),this.messagingSystem.registerInitialEventPayload({eventType:`${r}:stateChange`,getPayload:()=>[this.state,[]]})}get state(){return s.__privateGet.call(void 0,this,n)}set state(e){throw new Error("Controller state cannot be directly mutated; use 'update' method instead.")}update(e){const[t,r,o]=i.produceWithPatches.call(void 0,s.__privateGet.call(void 0,this,n),e);return s.__privateSet.call(void 0,this,n,t),this.messagingSystem.publish(`${this.name}:stateChange`,t,r),{nextState:t,patches:r,inversePatches:o}}applyPatches(e){const t=i.applyPatches.call(void 0,s.__privateGet.call(void 0,this,n),e);s.__privateSet.call(void 0,this,n,t),this.messagingSystem.publish(`${this.name}:stateChange`,t,e)}destroy(){this.messagingSystem.clearEventSubscriptions(`${this.name}:stateChange`)}},r.getAnonymizedState=function(e,t){return o(e,t,"anonymous")},r.getPersistentState=function(e,t){return o(e,t,"persist")}}}},{package:"@metamask/approval-controller>@metamask/base-controller",file:"node_modules/@metamask/approval-controller/node_modules/@metamask/base-controller/dist/chunk-ZNOPSWMU.js"}],[1117,{"./chunk-G42723LG.js":1112,"./chunk-NINOM2XQ.js":1113,"./chunk-UJFCPTF3.js":1114,"./chunk-Z4BLTVTB.js":1115,"./chunk-ZNOPSWMU.js":1116},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n=e("./chunk-NINOM2XQ.js"),s=e("./chunk-ZNOPSWMU.js"),i=e("./chunk-G42723LG.js"),o=e("./chunk-UJFCPTF3.js");e("./chunk-Z4BLTVTB.js"),r.BaseController=s.BaseController,r.BaseControllerV1=n.BaseControllerV1,r.ControllerMessenger=i.ControllerMessenger,r.RestrictedControllerMessenger=o.RestrictedControllerMessenger,r.getAnonymizedState=s.getAnonymizedState,r.getPersistentState=s.getPersistentState}}},{package:"@metamask/approval-controller>@metamask/base-controller",file:"node_modules/@metamask/approval-controller/node_modules/@metamask/base-controller/dist/index.js"}],[1118,{"./url-alphabet/index.cjs":1119},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){let{urlAlphabet:n}=e("./url-alphabet/index.cjs"),s=e=>crypto.getRandomValues(new Uint8Array(e)),i=(e,t,r)=>{let n=(2<{let o="";for(;;){let t=r(s),a=s;for(;a--;)if(o+=e[t[a]&n]||"",o.length===i)return o}}};t.exports={nanoid:(e=21)=>crypto.getRandomValues(new Uint8Array(e)).reduce(((e,t)=>e+=(t&=63)<36?t.toString(36):t<62?(t-26).toString(36).toUpperCase():t>62?"-":"_"),""),customAlphabet:(e,t=21)=>i(e,t,s),customRandom:i,urlAlphabet:n,random:s}}}},{package:"@metamask/approval-controller>nanoid",file:"node_modules/@metamask/approval-controller/node_modules/nanoid/index.browser.cjs"}],[1119,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports={urlAlphabet:"useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"}}}},{package:"@metamask/approval-controller>nanoid",file:"node_modules/@metamask/approval-controller/node_modules/nanoid/url-alphabet/index.cjs"}],[112,{"../../../../shared/constants/app":4493,"../../../../shared/constants/metametrics":4505,"../../../../ui/components/component-library/icon":4954,"../../translate":255,"./utils/isBlockedUrl":113,"./utils/showResult":114,"@metamask/eth-snap-keyring":1329,"webextension-polyfill":4472},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.snapKeyringBuilder=r.getAccountsBySnapId=void 0;var n,s=e("@metamask/eth-snap-keyring"),i=(n=e("webextension-polyfill"))&&n.__esModule?n:{default:n},o=e("../../../../shared/constants/metametrics"),a=e("../../../../shared/constants/app"),l=e("../../translate"),c=e("../../../../ui/components/component-library/icon"),d=e("./utils/isBlockedUrl"),u=e("./utils/showResult");r.getAccountsBySnapId=async(e,t)=>{const r=await e.getSnapKeyring();return await r.getAccountsBySnapId(t)};r.snapKeyringBuilder=(e,t,r,n,h,p,m,f)=>{const g=()=>new s.SnapKeyring(t(),{addressExists:async t=>(await e.call("KeyringController:getAccounts")).includes(t.toLowerCase()),redirectUser:async(t,r,n)=>{if(r.length>0||n.length>0){const s=await(0,d.isBlockedUrl)(r,(async()=>await e.call("PhishingController:maybeUpdateState")),(t=>e.call("PhishingController:testOrigin",t))),o=await e.call("ApprovalController:addRequest",{origin:t,requestData:{url:r,message:n,isBlockedUrl:s},type:a.SNAP_MANAGE_ACCOUNTS_CONFIRMATION_TYPES.showSnapAccountRedirect},!0);Boolean(o)&&r.length>0?i.default.tabs.create({url:r}):console.log("User refused snap account redirection to:",r)}else console.log("Error occurred when redirecting snap account. url or message must be defined")},saveState:async()=>{await r()},addAccount:async(t,s,i,d,h=!1)=>{const g=m(s),v=e=>{p({event:e,category:o.MetaMetricsEventCategory.Accounts,properties:{account_type:o.MetaMetricsEventAccountType.Snap,snap_id:s,snap_name:g}})},w="https://support.metamask.io/hc/en-us/articles/360015289452-How-to-add-accounts-in-your-wallet",y=f(s)&&!h;let k=y,b="";try{if(!y){const{id:t}=e.call("ApprovalController:startFlow");b=t,k=Boolean(await e.call("ApprovalController:addRequest",{origin:s,type:a.SNAP_MANAGE_ACCOUNTS_CONFIRMATION_TYPES.confirmAccountCreation},!0))}if(!k)throw await i(k),new Error("User denied account creation");try{await i(k),await r(),n(t);const a=e.call("AccountsController:getAccountByAddress",t);if(!a)throw new Error(`Internal account not found for address: ${t}`);e.call("AccountsController:setSelectedAccount",a.id),v(o.MetaMetricsEventName.AddSnapAccountSuccessViewed),y||await(0,u.showSuccess)(e,s,{icon:c.IconName.UserCircleAdd,title:(0,l.t)("snapAccountCreated")},{message:(0,l.t)("snapAccountCreatedDescription"),address:t,learnMoreLink:w}),v(o.MetaMetricsEventName.AddSnapAccountSuccessClicked)}catch(t){const r=t.message;throw await(0,u.showError)(e,s,{icon:c.IconName.UserCircleAdd,title:(0,l.t)("snapAccountCreationFailed")},{message:(0,l.t)("snapAccountCreationFailedDescription",g),learnMoreLink:w,error:r}),v(o.MetaMetricsEventName.AccountAddFailed),new Error(`Error occurred while creating snap account: ${r}`)}}finally{k&&v(o.MetaMetricsEventName.AccountAdded),y||e.call("ApprovalController:endFlow",{id:b})}},removeAccount:async(t,n,s)=>{const i=m(n),{id:d}=e.call("ApprovalController:startFlow"),f="https://support.metamask.io/hc/en-us/articles/360057435092-How-to-remove-an-account-from-your-MetaMask-wallet",g=e=>{p({event:e,category:o.MetaMetricsEventCategory.Accounts,properties:{account_type:o.MetaMetricsEventAccountType.Snap,snap_id:n,snap_name:i}})};let v=!1;try{if(v=Boolean(await e.call("ApprovalController:addRequest",{origin:n,type:a.SNAP_MANAGE_ACCOUNTS_CONFIRMATION_TYPES.confirmAccountRemoval,requestData:{publicAddress:t}},!0)),!v)throw await s(v),new Error("User denied account removal");try{await h(t),await s(v),await r(),g(o.MetaMetricsEventName.RemoveSnapAccountSuccessViewed),await(0,u.showError)(e,n,{icon:c.IconName.UserCircleRemove,title:(0,l.t)("snapAccountRemoved")},{message:(0,l.t)("snapAccountRemovedDescription"),learnMoreLink:f}),g(o.MetaMetricsEventName.RemoveSnapAccountSuccessClicked)}catch(t){const r=t.message;throw await(0,u.showError)(e,n,{icon:c.IconName.UserCircleRemove,title:(0,l.t)("snapAccountRemovalFailed")},{message:(0,l.t)("snapAccountRemovalFailedDescription",i),learnMoreLink:f,error:r}),g(o.MetaMetricsEventName.AccountRemoveFailed),new Error(`Error occurred while removing snap account: ${r}`)}}finally{v&&g(o.MetaMetricsEventName.AccountRemoved),e.call("ApprovalController:endFlow",{id:d})}}});return g.type=s.SnapKeyring.type,g}}}},{package:"$root$",file:"app/scripts/lib/snap-keyring/snap-keyring.ts"}],[113,{"../../keyring-snaps-permissions":77},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.isBlockedUrl=void 0;var n=e("../../keyring-snaps-permissions");r.isBlockedUrl=async(e,t,r)=>{try{return!(0,n.isProtocolAllowed)(e)||(await t(),r(e).result)}catch(e){return console.error("Invalid URL passed into snap-keyring:",e),!1}}}}},{package:"$root$",file:"app/scripts/lib/snap-keyring/utils/isBlockedUrl.ts"}],[114,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.showSuccess=r.showError=void 0;const n=e=>({name:"SnapAuthorshipHeader",key:"snapHeader",properties:{snapId:e}});r.showError=(e,t,r,s)=>e.call("ApprovalController:showError",{header:[n(t)],title:r.title,icon:r.icon,error:{key:"snapAccountErrorMessage",name:"SnapAccountErrorMessage",properties:s}});r.showSuccess=(e,t,r,s)=>e.call("ApprovalController:showSuccess",{header:[n(t)],title:r.title,icon:r.icon,message:{key:"snapAccountSuccessMessage",name:"SnapAccountSuccessMessage",properties:s}})}}},{package:"$root$",file:"app/scripts/lib/snap-keyring/utils/showResult.ts"}],[1150,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.BaseControllerV1=void 0;class n{constructor(e={},t={}){this.defaultConfig={},this.defaultState={},this.disabled=!1,this.name="BaseController",this.internalConfig=this.defaultConfig,this.internalState=this.defaultState,this.internalListeners=[],this.initialState=t,this.initialConfig=e}initialize(){return this.internalState=this.defaultState,this.internalConfig=this.defaultConfig,this.configure(this.initialConfig),this.update(this.initialState),this}get config(){return this.internalConfig}get state(){return this.internalState}configure(e,t=!1,r=!0){if(r){this.internalConfig=t?e:Object.assign(this.internalConfig,e);for(const[e,t]of Object.entries(this.internalConfig))t!==undefined&&(this[e]=t)}else for(const t of Object.keys(e))void 0!==this.internalConfig[t]&&(this.internalConfig[t]=e[t],this[t]=e[t])}notify(){this.disabled||this.internalListeners.forEach((e=>{e(this.internalState)}))}subscribe(e){this.internalListeners.push(e)}unsubscribe(e){const t=this.internalListeners.findIndex((t=>e===t));return t>-1&&this.internalListeners.splice(t,1),t>-1}update(e,t=!1){this.internalState=t?Object.assign({},e):Object.assign({},this.internalState,e),this.notify()}}r.BaseControllerV1=n,r.default=n}}},{package:"@metamask/base-controller",file:"node_modules/@metamask/base-controller/dist/BaseControllerV1.js"}],[1151,{immer:3640},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,s=this&&this.__classPrivateFieldSet||function(e,t,r,n,s){if("m"===n)throw new TypeError("Private method is not writable");if("a"===n&&!s)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!s:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?s.call(e,r):s?s.value=r:t.set(e,r),r},i=this&&this.__classPrivateFieldGet||function(e,t,r,n){if("a"===r&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)};Object.defineProperty(r,"__esModule",{value:!0}),r.getPersistentState=r.getAnonymizedState=r.BaseController=void 0;const o=e("immer");(0,o.enablePatches)();function a(e,t,r){return Object.keys(e).reduce(((n,s)=>{try{const i=t[s];if(!i)throw new Error(`No metadata found for '${String(s)}'`);const o=i[r],a=e[s];return"function"==typeof o?n[s]=o(a):o&&(n[s]=a),n}catch(e){return setTimeout((()=>{throw e})),n}}),{})}r.BaseController=class{constructor({messenger:e,metadata:t,name:r,state:i}){n.set(this,void 0),this.messagingSystem=e,this.name=r,s(this,n,i,"f"),this.metadata=t,this.messagingSystem.registerActionHandler(`${r}:getState`,(()=>this.state)),this.messagingSystem.registerInitialEventPayload({eventType:`${r}:stateChange`,getPayload:()=>[this.state,[]]})}get state(){return i(this,n,"f")}set state(e){throw new Error("Controller state cannot be directly mutated; use 'update' method instead.")}update(e){const[t,r,a]=o.produceWithPatches(i(this,n,"f"),e);return s(this,n,t,"f"),this.messagingSystem.publish(`${this.name}:stateChange`,t,r),{nextState:t,patches:r,inversePatches:a}}applyPatches(e){const t=(0,o.applyPatches)(i(this,n,"f"),e);s(this,n,t,"f"),this.messagingSystem.publish(`${this.name}:stateChange`,t,e)}destroy(){this.messagingSystem.clearEventSubscriptions(`${this.name}:stateChange`)}},n=new WeakMap,r.getAnonymizedState=function(e,t){return a(e,t,"anonymous")},r.getPersistentState=function(e,t){return a(e,t,"persist")}}}},{package:"@metamask/base-controller",file:"node_modules/@metamask/base-controller/dist/BaseControllerV2.js"}],[1152,{"./RestrictedControllerMessenger":1153},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,s,i,o,a=this&&this.__classPrivateFieldGet||function(e,t,r,n){if("a"===r&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)};Object.defineProperty(r,"__esModule",{value:!0}),r.ControllerMessenger=void 0;const l=e("./RestrictedControllerMessenger");r.ControllerMessenger=class{constructor(){n.set(this,new Map),s.set(this,new Map),i.set(this,new Map),o.set(this,new Map)}registerActionHandler(e,t){if(a(this,n,"f").has(e))throw new Error(`A handler for ${e} has already been registered`);a(this,n,"f").set(e,t)}unregisterActionHandler(e){a(this,n,"f").delete(e)}clearActions(){a(this,n,"f").clear()}call(e,...t){const r=a(this,n,"f").get(e);if(!r)throw new Error(`A handler for ${e} has not been registered`);return r(...t)}registerInitialEventPayload({eventType:e,getPayload:t}){a(this,i,"f").set(e,t)}publish(e,...t){const r=a(this,s,"f").get(e);if(r)for(const[e,n]of r.entries())try{if(n){const r=a(this,o,"f").get(e),s=n(...t);s!==r&&(a(this,o,"f").set(e,s),e(s,r))}else e(...t)}catch(e){setTimeout((()=>{throw e}))}}subscribe(e,t,r){let n=a(this,s,"f").get(e);if(n||(n=new Map,a(this,s,"f").set(e,n)),n.set(t,r),r){const n=a(this,i,"f").get(e);if(n){const e=r(...n());a(this,o,"f").set(t,e)}}}unsubscribe(e,t){const r=a(this,s,"f").get(e);if(!r||!r.has(t))throw new Error(`Subscription not found for event: ${e}`);r.get(t)&&a(this,o,"f").delete(t),r.delete(t)}clearEventSubscriptions(e){a(this,s,"f").delete(e)}clearSubscriptions(){a(this,s,"f").clear()}getRestricted({name:e,allowedActions:t,allowedEvents:r}){return new l.RestrictedControllerMessenger({controllerMessenger:this,name:e,allowedActions:t,allowedEvents:r})}},n=new WeakMap,s=new WeakMap,i=new WeakMap,o=new WeakMap}}},{package:"@metamask/base-controller",file:"node_modules/@metamask/base-controller/dist/ControllerMessenger.js"}],[1153,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,s,i,o,a,l,c,d,u=this&&this.__classPrivateFieldSet||function(e,t,r,n,s){if("m"===n)throw new TypeError("Private method is not writable");if("a"===n&&!s)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!s:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?s.call(e,r):s?s.value=r:t.set(e,r),r},h=this&&this.__classPrivateFieldGet||function(e,t,r,n){if("a"===r&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)};Object.defineProperty(r,"__esModule",{value:!0}),r.RestrictedControllerMessenger=void 0;r.RestrictedControllerMessenger=class{constructor({controllerMessenger:e,name:t,allowedActions:r,allowedEvents:l}){n.add(this),s.set(this,void 0),i.set(this,void 0),o.set(this,void 0),a.set(this,void 0),u(this,s,e,"f"),u(this,i,t,"f"),u(this,o,null!=r?r:null,"f"),u(this,a,null!=l?l:null,"f")}registerActionHandler(e,t){if(!h(this,n,"m",d).call(this,e))throw new Error(`Only allowed registering action handlers prefixed by '${h(this,i,"f")}:'`);h(this,s,"f").registerActionHandler(e,t)}unregisterActionHandler(e){if(!h(this,n,"m",d).call(this,e))throw new Error(`Only allowed unregistering action handlers prefixed by '${h(this,i,"f")}:'`);h(this,s,"f").unregisterActionHandler(e)}call(e,...t){if(!h(this,n,"m",c).call(this,e))throw new Error(`Action missing from allow list: ${e}`);return h(this,s,"f").call(e,...t)}registerInitialEventPayload({eventType:e,getPayload:t}){if(!h(this,n,"m",d).call(this,e))throw new Error(`Only allowed publishing events prefixed by '${h(this,i,"f")}:'`);h(this,s,"f").registerInitialEventPayload({eventType:e,getPayload:t})}publish(e,...t){if(!h(this,n,"m",d).call(this,e))throw new Error(`Only allowed publishing events prefixed by '${h(this,i,"f")}:'`);h(this,s,"f").publish(e,...t)}subscribe(e,t,r){if(!h(this,n,"m",l).call(this,e))throw new Error(`Event missing from allow list: ${e}`);return r?h(this,s,"f").subscribe(e,t,r):h(this,s,"f").subscribe(e,t)}unsubscribe(e,t){if(!h(this,n,"m",l).call(this,e))throw new Error(`Event missing from allow list: ${e}`);h(this,s,"f").unsubscribe(e,t)}clearEventSubscriptions(e){if(!h(this,n,"m",d).call(this,e))throw new Error(`Only allowed clearing events prefixed by '${h(this,i,"f")}:'`);h(this,s,"f").clearEventSubscriptions(e)}},s=new WeakMap,i=new WeakMap,o=new WeakMap,a=new WeakMap,n=new WeakSet,l=function(e){const t=h(this,a,"f");return h(this,n,"m",d).call(this,e)||null!==t&&t.includes(e)},c=function(e){const t=h(this,o,"f");return h(this,n,"m",d).call(this,e)||null!==t&&t.includes(e)},d=function(e){return e.startsWith(`${h(this,i,"f")}:`)}}}},{package:"@metamask/base-controller",file:"node_modules/@metamask/base-controller/dist/RestrictedControllerMessenger.js"}],[1154,{"./BaseControllerV1":1150,"./BaseControllerV2":1151,"./ControllerMessenger":1152,"./RestrictedControllerMessenger":1153},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){n===undefined&&(n=r);var s=Object.getOwnPropertyDescriptor(t,r);s&&!("get"in s?!t.__esModule:s.writable||s.configurable)||(s={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,s)}:function(e,t,r,n){n===undefined&&(n=r),e[n]=t[r]}),s=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(r,"__esModule",{value:!0}),r.getPersistentState=r.getAnonymizedState=r.BaseController=r.BaseControllerV1=void 0;var i=e("./BaseControllerV1");Object.defineProperty(r,"BaseControllerV1",{enumerable:!0,get:function(){return i.BaseControllerV1}});var o=e("./BaseControllerV2");Object.defineProperty(r,"BaseController",{enumerable:!0,get:function(){return o.BaseController}}),Object.defineProperty(r,"getAnonymizedState",{enumerable:!0,get:function(){return o.getAnonymizedState}}),Object.defineProperty(r,"getPersistentState",{enumerable:!0,get:function(){return o.getPersistentState}}),s(e("./ControllerMessenger"),r),s(e("./RestrictedControllerMessenger"),r)}}},{package:"@metamask/base-controller",file:"node_modules/@metamask/base-controller/dist/index.js"}],[116,{"../../../../shared/constants/app":4493,"../../../../shared/constants/gas":4500,"../../../../shared/constants/metametrics":4505,"../../../../shared/constants/transaction":4520,"../../../../shared/lib/transactions-controller-utils":4531,"../../../../shared/modules/conversion.utils":4537,"../../../../shared/modules/metametrics":4546,"../../../../shared/modules/transaction.utils":4560,"../../../../ui/helpers/utils/metrics":5389,"../snap-keyring/metrics":111,"@metamask/eth-query":1316,"@metamask/transaction-controller":2234,"bignumber.js":2933,"ethereumjs-util":3288},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.handleTransactionSubmitted=r.handleTransactionRejected=r.handleTransactionFailed=r.handleTransactionDropped=r.handleTransactionConfirmed=r.handleTransactionApproved=r.handleTransactionAdded=r.handlePostTransactionBalanceUpdate=r.createTransactionEventFragmentWithTxId=r.METRICS_STATUS_FAILED=void 0;var n,s=e("ethereumjs-util"),i=(n=e("@metamask/eth-query"))&&n.__esModule?n:{default:n},o=e("bignumber.js"),a=e("@metamask/transaction-controller"),l=e("../../../../shared/constants/app"),c=e("../../../../shared/modules/transaction.utils"),d=e("../../../../shared/modules/conversion.utils"),u=e("../../../../shared/constants/transaction"),h=e("../../../../shared/constants/metametrics"),p=e("../../../../shared/constants/gas"),m=e("../../../../shared/lib/transactions-controller-utils"),f=e("../../../../ui/helpers/utils/metrics"),g=e("../../../../shared/modules/metametrics"),v=e("../snap-keyring/metrics");const w=r.METRICS_STATUS_FAILED="failed on-chain";r.handleTransactionAdded=async(e,t)=>{if(!t.transactionMeta)return;const{properties:r,sensitiveProperties:n}=await C({transactionEventPayload:t,transactionMetricsRequest:e});y({eventName:u.TransactionMetaMetricsEvent.added,transactionEventPayload:t,transactionMetricsRequest:e,payload:{properties:r,sensitiveProperties:n}})};r.handleTransactionApproved=async(e,t)=>{t.transactionMeta&&await k({eventName:u.TransactionMetaMetricsEvent.approved,transactionEventPayload:t,transactionMetricsRequest:e})};r.handleTransactionFailed=async(e,t)=>{if(!t.transactionMeta)return;const r={};t.error&&(r.error=t.error),await k({eventName:u.TransactionMetaMetricsEvent.finalized,extraParams:r,transactionEventPayload:t,transactionMetricsRequest:e})};r.handleTransactionConfirmed=async(e,t)=>{if(0===Object.keys(t).length)return;const r={},n={...t},{txReceipt:s}=n;r.gas_used=null==s?void 0:s.gasUsed;const{submittedTime:i}=n;i&&(r.completion_time=function(e){return Math.round((Date.now()-e)/1e3).toString()}(i)),"0x0"===(null==s?void 0:s.status)&&(r.status=w),await k({eventName:u.TransactionMetaMetricsEvent.finalized,extraParams:r,transactionEventPayload:{actionId:n.actionId,transactionMeta:n},transactionMetricsRequest:e})};r.handleTransactionDropped=async(e,t)=>{if(!t.transactionMeta)return;await k({eventName:u.TransactionMetaMetricsEvent.finalized,extraParams:{dropped:!0},transactionEventPayload:t,transactionMetricsRequest:e})};r.handleTransactionRejected=async(e,t)=>{t.transactionMeta&&await k({eventName:u.TransactionMetaMetricsEvent.rejected,transactionEventPayload:t,transactionMetricsRequest:e})};r.handleTransactionSubmitted=async(e,t)=>{if(!t.transactionMeta)return;const{properties:r,sensitiveProperties:n}=await C({transactionEventPayload:t,transactionMetricsRequest:e});y({eventName:u.TransactionMetaMetricsEvent.submitted,transactionEventPayload:t,transactionMetricsRequest:e,payload:{properties:r,sensitiveProperties:n}})};r.createTransactionEventFragmentWithTxId=async(e,{transactionId:t,actionId:r})=>{const n={...e.getTransaction(t),actionId:r},{properties:s,sensitiveProperties:i}=await C({transactionEventPayload:{transactionMeta:n},transactionMetricsRequest:e});y({eventName:u.TransactionMetaMetricsEvent.approved,transactionEventPayload:{actionId:n.actionId,transactionMeta:n},transactionMetricsRequest:e,payload:{properties:s,sensitiveProperties:i}})};function y({eventName:e,transactionEventPayload:{transactionMeta:t,actionId:r},transactionMetricsRequest:n,payload:s}){if(function(e,t,r){const n=b(t,r.id);return void 0!==e(n)}(n.getEventFragmentById,e,t))return;const i=b(e,t.id);switch(e){case u.TransactionMetaMetricsEvent.added:n.createEventFragment({category:h.MetaMetricsEventCategory.Transactions,initialEvent:u.TransactionMetaMetricsEvent.added,successEvent:u.TransactionMetaMetricsEvent.approved,failureEvent:u.TransactionMetaMetricsEvent.rejected,properties:s.properties,sensitiveProperties:s.sensitiveProperties,actionId:r,uniqueIdentifier:i,persist:!0});break;case u.TransactionMetaMetricsEvent.approved:case u.TransactionMetaMetricsEvent.rejected:n.createEventFragment({category:h.MetaMetricsEventCategory.Transactions,successEvent:u.TransactionMetaMetricsEvent.approved,failureEvent:u.TransactionMetaMetricsEvent.rejected,properties:s.properties,sensitiveProperties:s.sensitiveProperties,actionId:r,uniqueIdentifier:i,persist:!0});break;case u.TransactionMetaMetricsEvent.submitted:n.createEventFragment({category:h.MetaMetricsEventCategory.Transactions,initialEvent:u.TransactionMetaMetricsEvent.submitted,successEvent:u.TransactionMetaMetricsEvent.finalized,properties:s.properties,sensitiveProperties:s.sensitiveProperties,actionId:r,uniqueIdentifier:i,persist:!0});break;case u.TransactionMetaMetricsEvent.finalized:n.createEventFragment({category:h.MetaMetricsEventCategory.Transactions,successEvent:u.TransactionMetaMetricsEvent.finalized,properties:s.properties,sensitiveProperties:s.sensitiveProperties,actionId:r,uniqueIdentifier:i,persist:!0})}}async function k({eventName:e,transactionEventPayload:t,transactionMetricsRequest:r,extraParams:n={}}){const{properties:s,sensitiveProperties:i}=await C({transactionEventPayload:t,transactionMetricsRequest:r,extraParams:n});y({eventName:e,transactionEventPayload:t,transactionMetricsRequest:r,payload:{properties:s,sensitiveProperties:i}}),function({eventName:e,transactionEventPayload:{transactionMeta:t},transactionMetricsRequest:r,payload:n}){const s=b(e,t.id);switch(e){case u.TransactionMetaMetricsEvent.approved:case u.TransactionMetaMetricsEvent.rejected:case u.TransactionMetaMetricsEvent.finalized:r.updateEventFragment(s,{properties:n.properties,sensitiveProperties:n.sensitiveProperties})}}({eventName:e,transactionEventPayload:t,transactionMetricsRequest:r,payload:{properties:s,sensitiveProperties:i}}),function({eventName:e,transactionMetricsRequest:t,transactionEventPayload:{transactionMeta:r}}){const n=b(e,r.id);switch(e){case u.TransactionMetaMetricsEvent.approved:t.finalizeEventFragment(n);break;case u.TransactionMetaMetricsEvent.rejected:t.finalizeEventFragment(n,{abandoned:!0});break;case u.TransactionMetaMetricsEvent.finalized:t.finalizeEventFragment(n)}}({eventName:e,transactionEventPayload:t,transactionMetricsRequest:r})}function b(e,t){return`transaction-${e===u.TransactionMetaMetricsEvent.finalized||e===u.TransactionMetaMetricsEvent.submitted?"submitted":"added"}-${t}`}async function C({transactionEventPayload:{transactionMeta:e},transactionMetricsRequest:t,extraParams:r={}}){var n;const{type:w,time:y,status:k,chainId:b,origin:C,txParams:{gasPrice:_,gas:S,maxFeePerGas:T,maxPriorityFeePerGas:A,estimateSuggested:E,estimateUsed:M},defaultGasEstimates:P,originalType:N,replacedById:I,customTokenAmount:R,dappProposedTokenAmount:j,currentTokenBalance:O,originalApprovalAmount:x,finalApprovalAmount:B,contractMethodName:D,securityProviderResponse:L,simulationFails:F}=e,U=new i.default(t.provider),G=C===l.ORIGIN_METAMASK?"user":"dapp",{assetType:K,tokenStandard:H}=await(0,c.determineTransactionAssetType)(e,U,t.getTokenStandardAndDetails),$={};if((0,c.isEIP1559Transaction)(e)?($.max_fee_per_gas=T,$.max_priority_fee_per_gas=A):$.gas_price=_,P){var W,q;const{estimateType:r}=P;if(r){var V,z;$.default_estimate=r;let n=null===(V=e.defaultGasEstimates)||void 0===V?void 0:V.maxFeePerGas,s=null===(z=e.defaultGasEstimates)||void 0===z?void 0:z.maxPriorityFeePerGas;if([p.GasRecommendations.low,p.GasRecommendations.medium,p.GasRecommendations.high].includes(r)){var J,Y;const{gasFeeEstimates:e}=await t.getEIP1559GasFeeEstimates();var Q,X;if(null!=e&&null!==(J=e[r])&&void 0!==J&&J.suggestedMaxFeePerGas)n=null===(Q=e[r])||void 0===Q?void 0:Q.suggestedMaxFeePerGas,$.default_max_fee_per_gas=n;if(null!=e&&null!==(Y=e[r])&&void 0!==Y&&Y.suggestedMaxPriorityFeePerGas)s=null===(X=e[r])||void 0===X?void 0:X.suggestedMaxPriorityFeePerGas,$.default_max_priority_fee_per_gas=s}}null!==(W=e.defaultGasEstimates)&&void 0!==W&&W.gas&&($.default_gas=e.defaultGasEstimates.gas),null!==(q=e.defaultGasEstimates)&&void 0!==q&&q.gasPrice&&($.default_gas_price=e.defaultGasEstimates.gasPrice)}E&&($.estimate_suggested=E),M&&($.estimate_used=M),null!=r&&r.gas_used&&($.gas_used=r.gas_used);const Z=function(e){const t={};for(const r in e)(0,s.isHexString)(e[r])?t[r]=(0,d.hexWEIToDecGWEI)(e[r]):t[r]=e[r];return t}($);let ee="0";e.txParams.maxFeePerGas&&(ee="2");const te=w&&[a.TransactionType.contractInteraction,a.TransactionType.tokenMethodApprove,a.TransactionType.tokenMethodIncreaseAllowance,a.TransactionType.tokenMethodSafeTransferFrom,a.TransactionType.tokenMethodSetApprovalForAll,a.TransactionType.tokenMethodTransfer,a.TransactionType.tokenMethodTransferFrom,a.TransactionType.swap,a.TransactionType.swapAndSend,a.TransactionType.swapApproval].includes(w),re="Approve";let ne,se,ie,oe,ae=a.TransactionType.simpleSend;w===a.TransactionType.cancel?ae=a.TransactionType.cancel:w===a.TransactionType.retry&&N?ae=N:w===a.TransactionType.deployContract?ae=a.TransactionType.deployContract:te&&(ae=a.TransactionType.contractInteraction,se=D,se===re&&H===u.TokenStandard.ERC20&&("0"===j||"0"===R?ne=u.TransactionApprovalAmountType.revoke:R&&R!==j?ne=u.TransactionApprovalAmountType.custom:j&&(ne=u.TransactionApprovalAmountType.dappProposed),ie=function(e,t,r){if(e===u.TransactionApprovalAmountType.custom&&t&&r)return`${new o.BigNumber(t,10).div(r,10).times(100).round(2)}`;return null}(ne,x,B),oe=function(e,t,r){if((e===u.TransactionApprovalAmountType.custom||e===u.TransactionApprovalAmountType.dappProposed)&&t&&r)return`${new o.BigNumber(t,16).div(r,10).times(100).round(2)}`;return null}(ne,j,O)));const le=t.getTransaction(I),ce={RETRY:a.TransactionType.retry,CANCEL:a.TransactionType.cancel,SAME_NONCE:"other"};let de;null!=r&&r.dropped&&(de=ce.SAME_NONCE,(null==le?void 0:le.type)===a.TransactionType.cancel?de=ce.CANCEL:(null==le?void 0:le.type)===a.TransactionType.retry&&(de=ce.RETRY));const ue=[];1===(null==L?void 0:L.flagAsDangerous)?ue.push(h.MetaMetricsEventUiCustomization.FlaggedAsMalicious):2===(null==L?void 0:L.flagAsDangerous)&&ue.push(h.MetaMetricsEventUiCustomization.FlaggedAsSafetyUnknown);const he=(0,f.getBlockaidMetricsProps)(e);(null==he||null===(n=he.ui_customizations)||void 0===n?void 0:n.length)>0&&ue.push(...he.ui_customizations),F&&ue.push(h.MetaMetricsEventUiCustomization.GasEstimationFailed);const pe=(0,g.getSmartTransactionMetricsProperties)(t,e);let me={chain_id:b,referrer:C,source:G,status:k,network:`${parseInt(b,16)}`,eip_1559_version:ee,gas_edit_type:"none",gas_edit_attempted:"none",gas_estimation_failed:Boolean(F),account_type:await t.getAccountType(t.getSelectedAddress()),device_model:await t.getDeviceModel(t.getSelectedAddress()),asset_type:K,token_standard:H,transaction_type:ae,transaction_speed_up:w===a.TransactionType.retry,...he,ui_customizations:ue.length>0?ue:null,...pe};const fe=await(0,v.getSnapAndHardwareInfoForMetrics)(t.getAccountType,t.getDeviceModel,t.snapAndHardwareMessenger);Object.assign(me,fe),se===re&&(me={...me,transaction_approval_amount_type:ne});let ge={transaction_envelope_type:(0,c.isEIP1559Transaction)(e)?m.TRANSACTION_ENVELOPE_TYPE_NAMES.FEE_MARKET:m.TRANSACTION_ENVELOPE_TYPE_NAMES.LEGACY,first_seen:y,gas_limit:S,transaction_contract_method:se,transaction_replaced:de,...r,...Z};return se===re&&(ge={...ge,transaction_approval_amount_vs_balance_ratio:oe,transaction_approval_amount_vs_proposed_ratio:ie}),{properties:me,sensitiveProperties:ge}}r.handlePostTransactionBalanceUpdate=async({getParticipateInMetrics:e,trackEvent:t},{transactionMeta:r,approvalTransactionMeta:n})=>{var s;if(e()&&r.swapMetaData)if("0x0"===(null===(s=r.txReceipt)||void 0===s?void 0:s.status))t({event:"Swap Failed",sensitiveProperties:{...r.swapMetaData},category:h.MetaMetricsEventCategory.Swaps});else{var i;const e=(0,m.getSwapsTokensReceivedFromTxMeta)(r.destinationTokenSymbol,r,r.destinationTokenAddress,r.txParams.from,r.destinationTokenDecimals,n,r.chainId),s=e?`${new o.BigNumber(e,10).div(r.swapMetaData.token_to_amount,10).times(100).round(2)}%`:null,a=null!==(i=r.txReceipt)&&void 0!==i&&i.gasUsed&&r.swapMetaData.estimated_gas?`${new o.BigNumber(r.txReceipt.gasUsed,16).div(r.swapMetaData.estimated_gas,10).times(100).round(2)}%`:null,l=function(e,t){var r,n;let s="0x0";null!=t&&t.txReceipt&&(s=(0,m.calcGasTotal)(t.txReceipt.gasUsed,t.txReceipt.effectiveGasPrice));const i=(0,m.calcGasTotal)(null===(r=e.txReceipt)||void 0===r?void 0:r.gasUsed,null===(n=e.txReceipt)||void 0===n?void 0:n.effectiveGasPrice),a=new o.BigNumber(i,16).plus(s,16).toString(16);return{approvalGasCostInEth:Number((0,d.hexWEIToDecETH)(s)),tradeGasCostInEth:Number((0,d.hexWEIToDecETH)(i)),tradeAndApprovalGasCostInEth:Number((0,d.hexWEIToDecETH)(a))}}(r,n);t({event:h.MetaMetricsEventName.SwapCompleted,category:h.MetaMetricsEventCategory.Swaps,sensitiveProperties:{...r.swapMetaData,token_to_amount_received:e,quote_vs_executionRatio:s,estimated_vs_used_gasRatio:a,approval_gas_cost_in_eth:l.approvalGasCostInEth,trade_gas_cost_in_eth:l.tradeGasCostInEth,trade_and_approval_gas_cost_in_eth:l.tradeAndApprovalGasCostInEth,token_to_amount:r.swapMetaData.token_to_amount.toString(10)}})}}}}},{package:"$root$",file:"app/scripts/lib/transaction/metrics.ts"}],[117,{"../../../../shared/constants/app":4493,"../../../../shared/constants/smartTransactions":4514,"../../../../shared/modules/conversion.utils":4537,"@metamask/smart-transactions-controller/dist/types":1765,"@metamask/transaction-controller":2234,loglevel:3842},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.submitSmartTransactionHook=void 0;var n,s=e("@metamask/smart-transactions-controller/dist/types"),i=e("@metamask/transaction-controller"),o=(n=e("loglevel"))&&n.__esModule?n:{default:n},a=e("../../../../shared/modules/conversion.utils"),l=e("../../../../shared/constants/smartTransactions"),c=e("../../../../shared/constants/app");function d(e,t){h(e,t),t.add(e)}function u(e,t,r){h(e,t),t.set(e,r)}function h(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function p(e,t,r){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return r}function m(e,t){return function(e,t){if(t.get)return t.get.call(e);return t.value}(e,g(e,t,"get"))}function f(e,t,r){return function(e,t,r){if(t.set)t.set.call(e,r);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=r}}(e,g(e,t,"set"),r),r}function g(e,t,r){if(!t.has(e))throw new TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}var v=new WeakMap,w=new WeakMap,y=new WeakMap,k=new WeakMap,b=new WeakMap,C=new WeakMap,_=new WeakMap,S=new WeakMap,T=new WeakMap,A=new WeakMap,E=new WeakMap,M=new WeakSet,P=new WeakSet,N=new WeakSet,I=new WeakSet,R=new WeakSet,j=new WeakSet,O=new WeakSet,x=new WeakSet;class B{constructor(e){d(this,x),d(this,O),d(this,j),d(this,R),d(this,I),d(this,N),d(this,P),d(this,M),u(this,v,{writable:!0,value:void 0}),u(this,w,{writable:!0,value:void 0}),u(this,y,{writable:!0,value:void 0}),u(this,k,{writable:!0,value:void 0}),u(this,b,{writable:!0,value:void 0}),u(this,C,{writable:!0,value:void 0}),u(this,_,{writable:!0,value:void 0}),u(this,S,{writable:!0,value:void 0}),u(this,T,{writable:!0,value:void 0}),u(this,A,{writable:!0,value:void 0}),u(this,E,{writable:!0,value:void 0});const{transactionMeta:t,smartTransactionsController:r,transactionController:n,isSmartTransaction:s,controllerMessenger:i,featureFlags:o}=e;f(this,w,""),f(this,v,!1),f(this,A,t),f(this,S,r),f(this,T,n),f(this,_,s),f(this,k,i),f(this,b,o),f(this,C,t.origin!==c.ORIGIN_METAMASK),f(this,y,t.chainId),f(this,E,t.txParams)}async submit(){var e;const t=!(null===(e=m(this,A))||void 0===e||!e.type)&&[i.TransactionType.swapAndSend,i.TransactionType.swapApproval].includes(m(this,A).type),r={transactionHash:undefined};if(!m(this,_)||t)return r;const{id:n}=await m(this,k).call("ApprovalController:startFlow");let s;f(this,w,n);try{s=await m(this,S).getFees({...m(this,E),chainId:m(this,y)},undefined)}catch(e){return o.default.error("Error in smart transaction publish hook, falling back to regular transaction submission",e),p(this,M,D).call(this),r}try{var a;const e=await p(this,j,K).call(this,{getFeesResponse:s}),t=null==e?void 0:e.uuid;if(!t)throw new Error("No smart transaction UUID");const r=null===(a=m(this,b))||void 0===a||null===(a=a.smartTransactions)||void 0===a?void 0:a.returnTxHashAsap;let n;if(p(this,P,L).call(this,{uuid:t}),p(this,I,U).call(this,{uuid:t}),n=r&&null!=e&&e.txHash?e.txHash:await p(this,R,G).call(this,{uuid:t}),null===n)throw new Error("Transaction does not have a transaction hash, there was a problem");return{transactionHash:n}}catch(e){throw o.default.error("Error in smart transaction publish hook",e),p(this,M,D).call(this),e}}}function D(){m(this,v)||(f(this,v,!0),m(this,k).call("ApprovalController:endFlow",{id:m(this,w)}))}function L({uuid:e}){const t=()=>{p(this,M,D).call(this)};m(this,k).call("ApprovalController:addRequest",{id:m(this,w),origin:origin,type:c.SMART_TRANSACTION_CONFIRMATION_TYPES.showSmartTransactionStatusPage,requestState:{smartTransaction:{status:s.SmartTransactionStatuses.PENDING,creationTime:Date.now(),uuid:e},isDapp:m(this,C),txId:m(this,A).id}},!0).then(t,t)}async function F({smartTransaction:e}){return await m(this,k).call("ApprovalController:updateRequestState",{id:m(this,w),requestState:{smartTransaction:e,isDapp:m(this,C),txId:m(this,A).id}})}async function U({uuid:e}){m(this,S).eventEmitter.on(`${e}:smartTransaction`,(async e=>{const{status:t}=e;t&&t!==s.SmartTransactionStatuses.PENDING&&(m(this,v)||await p(this,N,F).call(this,{smartTransaction:e}))}))}function G({uuid:e}){return new Promise((t=>{m(this,S).eventEmitter.on(`${e}:smartTransaction`,(async e=>{const{status:r,statusMetadata:n}=e;r&&r!==s.SmartTransactionStatuses.PENDING&&(o.default.debug("Smart Transaction: ",e),null!=n&&n.minedHash?(o.default.debug("Smart Transaction - Received tx hash: ",null==n?void 0:n.minedHash),t(n.minedHash)):t(null))}))}))}async function K({getFeesResponse:e}){var t,r;const n=await p(this,x,$).call(this,(null===(t=e.tradeTxFees)||void 0===t?void 0:t.fees)??[],!1),s=await p(this,x,$).call(this,(null===(r=e.tradeTxFees)||void 0===r?void 0:r.cancelFees)||[],!0);return await m(this,S).submitSignedTransactions({signedTransactions:n,signedCanceledTransactions:s,txParams:m(this,E),transactionMeta:m(this,A)})}function H(e,t){const r={...m(this,E),maxFeePerGas:`0x${(0,a.decimalToHex)(e.maxFeePerGas)}`,maxPriorityFeePerGas:`0x${(0,a.decimalToHex)(e.maxPriorityFeePerGas)}`,gas:t?`0x${(0,a.decimalToHex)(l.CANCEL_GAS_LIMIT_DEC)}`:m(this,E).gas};return t&&(r.to=r.from,r.data="0x"),r}async function $(e,t){const r=e.map((e=>p(this,O,H).call(this,e,t))).map((e=>({...e,chainId:e.chainId||m(this,y)})));return await m(this,T).approveTransactionsWithSameNonce(r,{hasNonce:!0})}r.submitSmartTransactionHook=e=>new B(e).submit()}}},{package:"$root$",file:"app/scripts/lib/transaction/smart-transactions.ts"}],[118,{"../../../../shared/constants/security-provider":4513,"../ppom/ppom-util":90,"@metamask/keyring-api":1444,"ethereumjs-util":3288},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.addDappTransaction=async function(e){const{dappRequest:t}=e,{id:r,method:n,origin:s}=t,{securityAlertResponse:i}=t,o={actionId:r,method:n,origin:s,requireApproval:!0,securityAlertResponse:i},{waitForHash:l}=await a({...e,transactionOptions:o});return await l()},r.addTransaction=async function(e){!function(e){const{chainId:t,ppomController:r,securityAlertsEnabled:n,transactionOptions:s,transactionParams:a,updateSecurityAlertResponse:l}=e,{type:c}=s,d=o.SECURITY_PROVIDER_EXCLUDED_TRANSACTION_TYPES.includes(c);if(!n||!o.SECURITY_PROVIDER_SUPPORTED_CHAIN_IDS.includes(t)||d)return;try{const{from:t,to:n,value:c,data:d}=a,{actionId:u,origin:h}=s,p={method:"eth_sendTransaction",id:u??"",origin:h??"",params:[{from:t,to:n,value:c,data:d}]},m=(0,i.generateSecurityAlertId)();(0,i.validateRequestWithPPOM)({ppomController:r,request:p,securityAlertId:m}).then((e=>{l(p.method,m,e)}));const f={...o.LOADING_SECURITY_ALERT_RESPONSE,securityAlertId:m};e.transactionOptions.securityAlertResponse=f}catch(e){(0,i.handlePPOMError)(e,"Error validating JSON RPC using PPOM: ")}}(e);const{transactionMeta:t,waitForHash:r}=await a(e);if(!e.waitForSubmit)return r().catch((()=>{})),t;const n=await r();return function(e,t){return t.state.transactions.find((t=>t.hash===e))}(n,e.transactionController)};var n=e("@metamask/keyring-api"),s=e("ethereumjs-util"),i=e("../ppom/ppom-util"),o=e("../../../../shared/constants/security-provider");async function a(e){const{selectedAccount:t}=e;return t.type===n.EthAccountType.Erc4337?async function(e){var t;const{networkClientId:r,transactionController:n,transactionOptions:i,transactionParams:o,userOperationController:a}=e,{maxFeePerGas:c,maxPriorityFeePerGas:d}=o,{origin:u,requireApproval:h,type:p}=i,m={...o,maxFeePerGas:(0,s.addHexPrefix)(c),maxPriorityFeePerGas:(0,s.addHexPrefix)(d)},f=null==i||null===(t=i.swaps)||void 0===t?void 0:t.meta;null!=f&&f.type&&delete f.type;const g={networkClientId:r,origin:u,requireApproval:h,swaps:f,type:p},v=await a.addUserOperationFromTransaction(m,g);a.startPollingByNetworkClientId(r);return{transactionMeta:l(v.id,n),waitForHash:v.transactionHash}}(e):async function(e){const{transactionController:t,transactionOptions:r,transactionParams:n,networkClientId:s}=e,{result:i,transactionMeta:o}=await t.addTransaction(n,{...r});return{transactionMeta:o,waitForHash:()=>i}}(e)}function l(e,t){return t.state.transactions.find((t=>t.id===e))}}}},{package:"$root$",file:"app/scripts/lib/transaction/util.ts"}],[1186,{".":1187,"../utils/log":1205},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.registerResponseStream=void 0;const s=n(e("../utils/log")),i=e(".");let o;const a=async e=>{s.default.debug("Received browser request",e);const t=await(async e=>{let t=i.browser;const r=3===(await(i.browser?.runtime?.getManifest()))?.manifest_version;for(let n of e)if(r&&(n=n.replace("browserAction","action")),t=t[n],!t)return undefined;return t})(e.key);if(!t)return void s.default.error(`Cannot find browser method - ${e.key.join(".")}`);const r=await t(...e.args),n={id:e.id,result:r};s.default.debug("Sending browser response",n),o?.write(n)};r.registerResponseStream=e=>{o=e,o.on("data",(e=>a(e)))}}}},{package:"@metamask/desktop",file:"node_modules/@metamask/desktop/dist/browser/browser-proxy.js"}],[1187,{"./browser-proxy":1186,"webextension-polyfill":4472},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){n===undefined&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){n===undefined&&(n=r),e[n]=t[r]}),s=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.browser=void 0;var o=e("webextension-polyfill");Object.defineProperty(r,"browser",{enumerable:!0,get:function(){return i(o).default}}),s(e("./browser-proxy"),r)}}},{package:"@metamask/desktop",file:"node_modules/@metamask/desktop/dist/browser/index.js"}],[1189,{"@metamask/obs-store":1217},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.DesktopController=void 0;const n=e("@metamask/obs-store");r.DesktopController=class{constructor({initState:e}){this.store=new n.ObservableStore({desktopEnabled:!1,pairingKey:undefined,pairingKeyHash:undefined,...e})}getDesktopEnabled(){return!0===this.store.getState().desktopEnabled}setDesktopEnabled(e){this.store.updateState({desktopEnabled:e})}setPairingKey(e){this.store.updateState({pairingKey:e})}generateOtp(){throw Error("No implementation provided")}async testDesktopConnection(){throw Error("No implementation provided")}async disableDesktop(){throw Error("No implementation provided")}}}}},{package:"@metamask/desktop",file:"node_modules/@metamask/desktop/dist/controllers/desktop-base.js"}],[119,{"../../../../shared/constants/app":4493,"../../../../shared/constants/verification":4522,"@ethersproject/hash":489,"@ethersproject/wallet":552,"@metamask/rpc-errors":1717,"@metamask/utils":2300},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.createTxVerificationMiddleware=function(e,t=a.TRUSTED_SIGNERS){return function(r,c,d,u){if(r.method!==l.MESSAGE_TYPE.ETH_SEND_TRANSACTION||!Array.isArray(r.params)||!function(e){return(0,o.isObject)(e[0])&&"string"==typeof e[0].data&&"string"==typeof e[0].from&&"string"==typeof e[0].to&&"string"==typeof e[0].value&&(!(0,o.hasProperty)(e[0],"chainId")||"string"==typeof e[0].chainId&&e[0].chainId.startsWith("0x"))}(r.params))return d();const h=r.params[0],p="string"==typeof h.chainId?h.chainId.toLowerCase():e.state.providerConfig.chainId,m=(0,a.getExperience)(h.to.toLowerCase(),p);if(!m||!a.EXPERIENCES_TO_VERIFY.includes(m))return d();const f=`0x${h.data.slice(-a.TX_SIG_LEN)}`,g=(0,s.verifyMessage)(function(e){const t={to:(0,n.hashMessage)(e.to.toLowerCase()),from:(0,n.hashMessage)(e.from.toLowerCase()),data:(0,n.hashMessage)(e.data.toLowerCase().slice(0,e.data.length-a.TX_SIG_LEN)),value:(0,n.hashMessage)(e.value.toLowerCase())};return(0,n.hashMessage)(JSON.stringify(t))}(h),f);return g!==t[m]?u(i.rpcErrors.invalidParams("Invalid transaction signature.")):d()}};var n=e("@ethersproject/hash"),s=e("@ethersproject/wallet"),i=e("@metamask/rpc-errors"),o=e("@metamask/utils"),a=e("../../../../shared/constants/verification"),l=e("../../../../shared/constants/app")}}},{package:"$root$",file:"app/scripts/lib/tx-verification/tx-verification-middleware.ts"}],[1190,{"../desktop-manager":1193,"../pairing":1197,"./desktop-base":1189},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.ExtensionDesktopController=void 0;const s=n(e("../desktop-manager")),i=e("../pairing"),o=e("./desktop-base");class a extends o.DesktopController{generateOtp(){return i.Pairing.generateOTP()}async testDesktopConnection(){return await s.default.testConnection()}}r.ExtensionDesktopController=a}}},{package:"@metamask/desktop",file:"node_modules/@metamask/desktop/dist/controllers/desktop-extension.js"}],[1191,{"./desktop-extension":1190},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){let n;Object.defineProperty(r,"__esModule",{value:!0}),r.DesktopController=r.initDesktopController=void 0,r.DesktopController=n;r.initDesktopController=e=>{n||(r.DesktopController=n=e)},global.isDesktopApp||(r.DesktopController=n=e("./desktop-extension").ExtensionDesktopController)}}},{package:"@metamask/desktop",file:"node_modules/@metamask/desktop/dist/controllers/desktop.js"}],[1192,{"./browser":1187,"./constants":1188,"./pairing":1197,"./utils/log":1205,"./utils/state":1206,"./utils/stream":1207,"./utils/utils":1209,"./version-check":1210,"end-of-stream":3213,events:3328,"obj-multiplex":3932},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0});const s=n(e("events")),i=n(e("end-of-stream")),o=n(e("obj-multiplex")),a=n(e("./utils/log")),l=e("./pairing"),c=e("./version-check"),d=e("./utils/utils"),u=e("./utils/stream"),h=e("./utils/state"),p=e("./constants"),m=e("./browser");class f extends s.default{constructor(e,t){super(),this.paired=!1,this.stream=e,this.extensionVersion=t,this.multiplex=new o.default,this.newConnectionStream=this.multiplex.createStream(p.CLIENT_ID_NEW_CONNECTION),this.endConnectionStream=this.multiplex.createStream(p.CLIENT_ID_END_CONNECTION),this.stateStream=this.multiplex.createStream(p.CLIENT_ID_STATE),this.addPairedOnlyDataListener(this.stateStream,(e=>{this.onDesktopState(e)})),this.disableStream=this.multiplex.createStream(p.CLIENT_ID_DISABLE),this.addPairedOnlyDataListener(this.disableStream,(e=>this.onDisable(e)));const r=this.multiplex.createStream(p.CLIENT_ID_PAIRING);this.extensionPairing=new l.Pairing(r,(()=>this.transferState())).init();const n=this.multiplex.createStream(p.CLIENT_ID_VERSION);this.versionCheck=new c.VersionCheck(n,this.extensionVersion),this.browserControllerStream=this.multiplex.createStream(p.CLIENT_ID_BROWSER_CONTROLLER),this.stream.pipe(this.multiplex).pipe(this.stream)}setPaired(){this.paired=!0,(0,m.registerResponseStream)(this.browserControllerStream)}async createStream(e,t,r){const n=this.generateClientId(),s=this.multiplex.createStream(n);r.pipe(s).pipe(r),(0,i.default)(r,(()=>{this.onUIStreamEnd(n,s)})),this.sendNewConnectionMessage(e,n,t),r.resume()}async transferState(){const e=await(0,h.getAndUpdateDesktopState)({desktopEnabled:!0}),t=(0,h.removePairingKeyFromRawState)(e);this.stateStream.write(t),await(0,u.waitForAcknowledge)(this.stateStream),a.default.debug("Sent extension state to desktop")}async checkVersions(){return await this.versionCheck.check()}async checkPairingKey(){return await this.extensionPairing.checkPairingKeyMatch()}async onDisable(e){a.default.debug("Received desktop disable message"),e?(await(0,h.setRawState)(e),a.default.debug("Synchronised with final desktop state")):(await(0,h.setDesktopState)({desktopEnabled:!1,pairingKey:undefined,pairingKeyHash:undefined}),a.default.debug("Disabled desktop mode")),(0,u.acknowledge)(this.disableStream),this.restart()}onUIStreamEnd(e,t){a.default.debug("Port stream closed",e),t.end(),this.endConnectionStream?this.endConnectionStream.write({clientId:e}):a.default.error("End connection stream not initialised")}async onDesktopState(e){const t=await(0,h.addPairingKeyToRawState)(e);await(0,h.setRawState)(t),a.default.debug("Synchronised state with desktop")}sendNewConnectionMessage(e,t,r){if(!this.newConnectionStream)return void a.default.error("New Connection stream not initialised");const n={clientId:t,connectionType:r,remotePort:{name:e.name,sender:e.sender}};a.default.debug("Sending new connection message",n),this.newConnectionStream.write(n)}addPairedOnlyDataListener(e,t){(0,u.addDataListener)(e,(e=>{this.paired?t(e):a.default.debug("Ignoring message as not paired")}))}async restart(){a.default.debug("Restarting extension"),m.browser.runtime.reload()}generateClientId(){return(0,d.uuid)()}}r.default=f}}},{package:"@metamask/desktop",file:"node_modules/@metamask/desktop/dist/desktop-connection.js"}],[1193,{"./browser":1187,"./constants":1188,"./desktop-connection":1192,"./encryption/web-socket-stream":1196,"./types":1201,"./utils/config":1203,"./utils/log":1205,"./utils/state":1206,"./utils/stream":1207,"./utils/utils":1209,"./web-socket-stream":1211,"end-of-stream":3213,"extension-port-stream":1220},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){n===undefined&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){n===undefined&&(n=r),e[n]=t[r]}),s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return s(t,e),t},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0});const a=o(e("extension-port-stream")),l=o(e("end-of-stream")),c=o(e("./utils/log")),d=e("./browser"),u=e("./utils/config"),h=e("./types"),p=e("./web-socket-stream"),m=e("./utils/stream"),f=i(e("./utils/state")),g=o(e("./encryption/web-socket-stream")),v=e("./utils/utils"),w=e("./constants"),y=o(e("./desktop-connection")),k="Desktop app is not recognized";r.default=new class{constructor(){this.transferredState=!1,this.desktopState={}}async init(e){this.extensionVersion=e}setState(e){this.desktopState=e.DesktopController||{}}async getConnection(){return this.desktopState.desktopEnabled?(this.desktopConnection||await this.createConnection(),this.desktopConnection):undefined}isDesktopEnabled(){return!0===this.desktopState.desktopEnabled}async createStream(e,t){const r=new a.default(e);r.pause(),r.on("data",(e=>this.onUIMessage(e,r)));const n=new m.DuplexCopy(r);n.pause(),r.resume(),(0,l.default)(r,(()=>{n.destroy()}));const s=await this.getConnection();await(s?.createStream(e,t,n))}async testConnection(){c.default.debug("Testing desktop connection");try{const e=this.desktopConnection||await this.createConnection(),t=await e.checkVersions();return c.default.debug("Connection test completed"),{isConnected:!0,versionCheck:t}}catch(e){let t={isConnected:!1};return e?.message===k&&(t={...t,pairingKeyCheck:h.PairingKeyStatus.NO_MATCH}),c.default.debug("Connection test failed",e),t}}async createConnection(){const e=await this.createWebSocket(),t=(0,u.cfg)().webSocket.disableEncryption?new p.WebSocketStream(e):new g.default(e);try{await t.init({startHandshake:!0})}catch(t){throw c.default.error("Failed to initialise web socket stream",t),e.close(),t}const r=new y.default(t,this.extensionVersion);if(e.addEventListener("close",(n=>{this.onDisconnect(e,t,r,n.code)})),c.default.debug("Created web socket connection"),!(0,u.cfg)().skipOtpPairingFlow){c.default.debug("Desktop enabled, checking pairing key");const t=await r.checkPairingKey();if([h.PairingKeyStatus.NO_MATCH].includes(t))throw c.default.error("The pairing key does not match, desktop app is not recognized"),e.close(4e3,k),new Error(k);c.default.debug("Desktop app recognised")}return this.isDesktopEnabled()?(r.setPaired(),await this.transferState(r),this.desktopConnection=r,r):(this.desktopConnection=r,r)}async onDisconnect(e,t,r,n){c.default.debug("Desktop connection disconnected"),t.removeAllListeners(),t.destroy(),e.close(),r.removeAllListeners(),r===this.desktopConnection&&(this.desktopConnection=undefined),4e3!==n&&await(d.browser?.runtime?.sendMessage?.({type:w.DESKTOP_HOOK_TYPES.DISCONNECT}))}async onUIMessage(e,t){const r=e.data?.method,n=e.data?.id;"disableDesktopError"===r&&await this.disable(),"getDesktopEnabled"===r&&t.write({name:e.name,data:{jsonrpc:"2.0",result:!0,id:n}})}async transferState(e){this.transferredState||((0,u.cfg)().isExtensionTest||await e.transferState(),this.transferredState=!0)}async disable(){c.default.debug("Disabling desktop mode"),await f.setDesktopState({desktopEnabled:!1,pairingKey:undefined,pairingKeyHash:undefined}),d.browser.runtime.reload()}async createWebSocket(){const e=new Promise((e=>{const t=new WebSocket(`${(0,u.cfg)().webSocket.url}`);t.addEventListener("open",(()=>{e(t)}))}));return(0,v.timeoutPromise)(e,1e4,{errorMessage:"Timeout connecting to web socket server"})}}}}},{package:"@metamask/desktop",file:"node_modules/@metamask/desktop/dist/desktop-manager.js"}],[1194,{buffer:3028,eciesjs:3192},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(t){(function(){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){n===undefined&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){n===undefined&&(n=r),e[n]=t[r]}),s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return s(t,e),t};Object.defineProperty(r,"__esModule",{value:!0}),r.decrypt=r.encrypt=r.createKeyPair=void 0;const o=i(e("eciesjs"));r.createKeyPair=()=>{const e=new o.PrivateKey,t=e.publicKey;return{privateKey:e.toHex(),publicKey:t.toHex()}};r.encrypt=(e,r)=>{const n=t.from(e,"utf8");return o.encrypt(r,n).toString("hex")};r.decrypt=(e,r)=>{const n=t.from(e,"hex");return o.decrypt(r,n).toString("utf8")}}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"@metamask/desktop",file:"node_modules/@metamask/desktop/dist/encryption/asymmetric.js"}],[1195,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.decrypt=r.encrypt=r.createKey=void 0;const n="AES-GCM",s=["encrypt","decrypt"],i=async e=>{const t=Uint8Array.from(e);return await global.crypto.subtle.importKey("raw",t,{name:n},!1,s)};r.createKey=async()=>{const e=await global.crypto.subtle.generateKey({name:n,length:256},!0,s),t=await global.crypto.subtle.exportKey("raw",e);return Array.from(new Uint8Array(t))};r.encrypt=async(e,t)=>{const r=global.crypto.getRandomValues(new Uint8Array(12)),s=await i(t),o=(new TextEncoder).encode(e),a=await global.crypto.subtle.encrypt({name:n,iv:r},s,o);return{data:Array.from(new Uint8Array(a)),iv:Array.from(r)}};r.decrypt=async(e,t,r)=>{const s=await i(t),o=Uint8Array.from(e),a=Uint8Array.from(r),l=await global.crypto.subtle.decrypt({name:n,iv:a},s,o);return(new TextDecoder).decode(l)}}}},{package:"@metamask/desktop",file:"node_modules/@metamask/desktop/dist/encryption/symmetric.js"}],[1196,{"../constants":1188,"../utils/log":1205,"../utils/stream":1207,"../utils/utils":1209,"../web-socket-stream":1211,"./asymmetric":1194,"./symmetric":1195,stream:4348},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){n===undefined&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){n===undefined&&(n=r),e[n]=t[r]}),s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return s(t,e),t},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0});const a=e("stream"),l=o(e("../utils/log")),c=e("../constants"),d=e("../web-socket-stream"),u=e("../utils/stream"),h=e("../utils/utils"),p=i(e("./asymmetric")),m=i(e("./symmetric"));var f;!function(e){e[e.START=0]="START",e[e.WAIT=1]="WAIT",e[e.RECEIVED=2]="RECEIVED"}(f||(f={}));class g extends a.Duplex{constructor(e){super({objectMode:!0}),this.webSocket=e,this.performingHandshake=!0}async init({startHandshake:e}){this.webSocketStream=new d.WebSocketStream(this.webSocket),this.webSocketStream.on("data",(e=>this.onMessage(e))),this.asymmetricKeyPair=p.createKeyPair(),this.symmetricKey=await m.createKey(),await(0,h.timeoutPromise)(this.handshake(e?f.START:f.WAIT),1e4,{errorMessage:"Encryption handshake timed out",cleanUp:()=>{this.resendInterval&&clearInterval(this.resendInterval)}})}_read(){return undefined}async _write(e,t,r){await this.writeSymmetric(e,r)}async onMessage(e){if(this.performingHandshake)return;if(e===c.MESSAGE_HANDSHAKE_START)return void await this.handshake(f.RECEIVED);const t=await this.decryptSymmetric(e);this.push(t)}async handshake(e){l.default.debug("Starting handshake"),this.cork(),this.pause(),this.performingHandshake=!0,this.targetPublicKey=undefined,this.targetSymmetricKey=undefined;const t=e===f.START;await this.handshakeStep((()=>{this.writeRaw(c.MESSAGE_HANDSHAKE_START)}),(async e=>e===c.MESSAGE_HANDSHAKE_START?e:undefined),t,e===f.RECEIVED),l.default.debug("Received handshake"),this.targetPublicKey=await this.handshakeStep((()=>{this.writeRaw({publicKey:this.asymmetricKeyPair?.publicKey})}),(async e=>e.publicKey),t),l.default.debug("Received public key",this.targetPublicKey),this.targetSymmetricKey=await this.handshakeStep((()=>{this.writeAsymmetric({symmetricKey:this.symmetricKey})}),(async e=>{const t=this.decryptAsymmetric(e);return t?.symmetricKey}),t),l.default.debug("Received symmetric key",this.targetSymmetricKey),await this.handshakeStep((()=>{this.writeSymmetric(c.MESSAGE_HANDSHAKE_FINISH)}),(async e=>await this.decryptSymmetric(e)===c.MESSAGE_HANDSHAKE_FINISH?{}:undefined),t),l.default.debug("Completed handshake"),this.uncork(),this.resume(),this.performingHandshake=!1}async handshakeStep(e,t,r,n=!1){let s;return r&&e(),n||(this.resendInterval=setInterval((()=>{r?e():this.previousSendSecond?.()}),1e3),s=await(0,u.waitForMessage)(this.webSocketStream,t,{returnFilterOutput:!0}),clearInterval(this.resendInterval),this.resendInterval=undefined),r||(this.previousSendSecond=e,e()),s}async decryptSymmetric(e){if(!this.targetSymmetricKey)return l.default.error("Target symmetric key not set"),undefined;let t;try{t=await m.decrypt(e.data,this.targetSymmetricKey,e.iv)}catch(e){return l.default.debug("Failed to decrypt symmetric encrypted web socket message",e),undefined}try{t=JSON.parse(t)}catch{}return l.default.debug("Decrypted symmetric encrypted web socket message",(0,h.flattenMessage)(t)),t}decryptAsymmetric(e){if(!this.asymmetricKeyPair)return l.default.error("Key pair not created"),undefined;let t;try{t=p.decrypt(e,this.asymmetricKeyPair.privateKey)}catch(t){return l.default.debug("Failed to decrypt asymmetric encrypted web socket message",{error:t,data:e}),undefined}try{t=JSON.parse(t)}catch{}return l.default.debug("Decrypted asymmetric encrypted web socket message",(0,h.flattenMessage)(t)),t}async writeSymmetric(e,t){if(!this.symmetricKey)return void l.default.error("Symmetric key not created");const r="string"==typeof e?e:JSON.stringify(e),n=await m.encrypt(r,this.symmetricKey);l.default.debug("Sending symmetric encrypted message to web socket"),this.writeRaw(n,t)}writeAsymmetric(e,t){if(!this.targetPublicKey)return void l.default.error("Target public key not set");const r="string"==typeof e?e:JSON.stringify(e),n=p.encrypt(r,this.targetPublicKey);l.default.debug("Sending asymmetric encrypted message to web socket"),this.writeRaw(n,t)}writeRaw(e,t=(()=>undefined)){this.webSocketStream?this.webSocketStream.write(e,undefined,t):l.default.error("Web socket stream not initialised")}}r.default=g}}},{package:"@metamask/desktop",file:"node_modules/@metamask/desktop/dist/encryption/web-socket-stream.js"}],[1197,{"./browser":1187,"./encryption/symmetric":1195,"./types":1201,"./utils/crypto":1204,"./utils/log":1205,"./utils/state":1206,"./utils/stream":1207,"./utils/totp":1208,buffer:3028,"obj-multiplex":3932},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(t){(function(){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){n===undefined&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){n===undefined&&(n=r),e[n]=t[r]}),s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return s(t,e),t},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.Pairing=void 0;const a=o(e("obj-multiplex")),l=o(e("./utils/log")),c=e("./utils/stream"),d=o(e("./utils/totp")),u=e("./encryption/symmetric"),h=e("./utils/crypto"),p=e("./types"),m=i(e("./utils/state")),f=e("./browser");r.Pairing=class{constructor(e,t){const r=this.createStreams(e);this.requestStream=r.requestStream,this.keyStream=r.keyStream,this.transferState=t}static generateOTP(){const e=d.default.generate();return l.default.debug("Generated OTP",e),e}init(){return(0,c.addDataListener)(this.requestStream,(e=>{this.onRequestMessage(e)})),this}async checkPairingKeyMatch(){l.default.debug("Validating pairing key");this.keyStream.write({isRequestPairingKey:!0});const e=(await(0,c.waitForMessage)(this.keyStream)).pairingKey;if(!e)return l.default.debug("Desktop has no pairing key"),p.PairingKeyStatus.MISSING;const t=await(0,h.hashString)(e,{isHex:!0}),r=(await m.getDesktopState()).pairingKeyHash===t;return l.default.debug("Completed pairing key check",r),r?p.PairingKeyStatus.MATCH:p.PairingKeyStatus.NO_MATCH}async onRequestMessage(e){l.default.debug("Received pairing request message",e);if(!d.default.validate(e.otp)){l.default.debug("Received invalid OTP");const e={isDesktopEnabled:!1};return void this.requestStream.write(e)}const r=t.from(await(0,u.createKey)()).toString("hex"),n=await(0,h.hashString)(r,{isHex:!0});await m.setDesktopState({desktopEnabled:!0,pairingKeyHash:n});const s={isDesktopEnabled:!0,pairingKey:r};this.requestStream.write(s),await(0,c.waitForAcknowledge)(this.requestStream),l.default.debug("Saved pairing key",{pairingKey:r,pairingKeyHash:n}),await this.transferState(),f.browser.runtime.reload(),l.default.debug("Paired with desktop")}createStreams(e){const t=new a.default,r=t.createStream("request"),n=t.createStream("key");return e.pipe(t).pipe(e),{requestStream:r,keyStream:n}}}}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"@metamask/desktop",file:"node_modules/@metamask/desktop/dist/pairing.js"}],[12,{"./auth-snap-requests":11,"./services":13,"@metamask/base-controller":1154},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=e("@metamask/base-controller"),s=e("./auth-snap-requests"),i=e("./services");function o(e,t){l(e,t),t.add(e)}function a(e,t,r){l(e,t),t.set(e,r)}function l(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function c(e,t,r){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return r}function d(e,t){return function(e,t){if(t.get)return t.get.call(e);return t.value}(e,h(e,t,"get"))}function u(e,t,r){return function(e,t,r){if(t.set)t.set.call(e,r);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=r}}(e,h(e,t,"set"),r),r}function h(e,t,r){if(!t.has(e))throw new TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}const p=18e5,m="AuthenticationController",f={isSignedIn:!1},g={isSignedIn:{persist:!0,anonymous:!0},sessionData:{persist:!0,anonymous:!1}};var v=new WeakMap,w=new WeakMap,y=new WeakMap,k=new WeakSet,b=new WeakSet,C=new WeakSet,_=new WeakSet,S=new WeakMap,T=new WeakSet,A=new WeakMap,E=new WeakSet;class M extends n.BaseController{constructor({messenger:e,state:t,metametrics:r}){super({messenger:e,metadata:g,name:m,state:{...f,...t}}),o(this,E),o(this,T),o(this,_),o(this,C),o(this,b),o(this,k),a(this,v,{writable:!0,value:void 0}),a(this,w,{writable:!0,value:!1}),a(this,y,{writable:!0,value:{setupLockedStateSubscriptions:()=>{const{isUnlocked:e}=this.messagingSystem.call("KeyringController:getState");u(this,w,e),this.messagingSystem.subscribe("KeyringController:unlock",(()=>{u(this,w,!0)})),this.messagingSystem.subscribe("KeyringController:lock",(()=>{u(this,w,!1)}))}}}),a(this,S,{writable:!0,value:void 0}),a(this,A,{writable:!0,value:{}}),u(this,v,r),d(this,y).setupLockedStateSubscriptions(),c(this,k,P).call(this)}async performSignIn(){const{accessToken:e}=await c(this,C,I).call(this);return e}performSignOut(){c(this,b,N).call(this),this.update((e=>{e.isSignedIn=!1,e.sessionData=undefined}))}async getBearerToken(){if(c(this,b,N).call(this),c(this,_,R).call(this,this.state.sessionData))return this.state.sessionData.accessToken;const{accessToken:e}=await c(this,C,I).call(this);return e}async getSessionProfile(){if(c(this,b,N).call(this),c(this,_,R).call(this,this.state.sessionData))return this.state.sessionData.profile;const{profile:e}=await c(this,C,I).call(this);return e}isSignedIn(){return this.state.isSignedIn}}function P(){this.messagingSystem.registerActionHandler("AuthenticationController:getBearerToken",this.getBearerToken.bind(this)),this.messagingSystem.registerActionHandler("AuthenticationController:getSessionProfile",this.getSessionProfile.bind(this)),this.messagingSystem.registerActionHandler("AuthenticationController:isSignedIn",this.isSignedIn.bind(this)),this.messagingSystem.registerActionHandler("AuthenticationController:performSignIn",this.performSignIn.bind(this)),this.messagingSystem.registerActionHandler("AuthenticationController:performSignOut",this.performSignOut.bind(this))}function N(){if(!this.state.isSignedIn)throw new Error(`${m}: Unable to call method, user is not authenticated`)}async function I(){try{const e=await c(this,T,j).call(this),t=await(0,i.getNonce)(e);if(!t)throw new Error("Unable to get nonce");const r=(0,i.createLoginRawMessage)(t,e),n=await c(this,E,O).call(this,r),s=await(0,i.login)(r,n,d(this,v).getMetaMetricsId());if(null==s||!s.token)throw new Error("Unable to login");const o={identifierId:s.profile.identifier_id,profileId:s.profile.profile_id},a=await(0,i.getAccessToken)(s.token);if(!a)throw new Error("Unable to get Access Token");return this.update((e=>{e.isSignedIn=!0;const t=new Date;t.setTime(t.getTime()+p),e.sessionData={profile:o,accessToken:a,expiresIn:t.toString()}})),{profile:o,accessToken:a}}catch(e){console.error("Failed to authenticate",e);const t=e instanceof Error?e.message:JSON.stringify(e??"");throw new Error(`${m}: Failed to authenticate - ${t}`)}}function R(e){if(!e)return!1;const t=Date.parse(e.expiresIn);if(isNaN(t))return!1;const r=new Date,n=Math.abs(r.getTime()-t);return p>n}async function j(){if(d(this,S))return d(this,S);if(!d(this,w))throw new Error("#snapGetPublicKey - unable to call snap, wallet is locked");const e=await this.messagingSystem.call("SnapController:handleRequest",(0,s.createSnapPublicKeyRequest)());return u(this,S,e),e}async function O(e){if(d(this,A)[e])return d(this,A)[e];if(!d(this,w))throw new Error("#snapSignMessage - unable to call snap, wallet is locked");const t=await this.messagingSystem.call("SnapController:handleRequest",(0,s.createSnapSignMessageRequest)(e));return d(this,A)[e]=t,t}r.default=M}}},{package:"$root$",file:"app/scripts/controllers/authentication/authentication-controller.ts"}],[1203,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.cfg=r.envBool=r.envInt=r.envStringMatch=void 0;function n(e,t){return e?parseInt(e,10):t}r.envStringMatch=(e,t)=>!!e&&(!!e.toLowerCase&&e.toLowerCase()===t.toLowerCase()),r.envInt=n;r.envBool=(e,t=!1)=>e===undefined||null===e?t:!0===e||!1===e?e:(0,r.envStringMatch)(e,"true");let s;r.cfg=()=>(s||(s=(()=>{const e=n(null,7071);return{isDebug:(0,r.envBool)(!1),isExtensionTest:(0,r.envBool)(!1),skipOtpPairingFlow:(0,r.envBool)(!1),compatibilityVersion:{extension:n(1,1)},webSocket:{disableEncryption:(0,r.envBool)(!1),port:e,url:`ws://localhost:${e}`}}})()),s)}}},{package:"@metamask/desktop",file:"node_modules/@metamask/desktop/dist/utils/config.js"}],[1204,{buffer:3028},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(e){(function(){Object.defineProperty(r,"__esModule",{value:!0}),r.hashString=r.randomHex=void 0;r.randomHex=()=>{const t=global.crypto?.getRandomValues(new Uint8Array(12))||e.from([]);return e.from(t).toString("hex")};r.hashString=async(t,{isHex:r=!1}={})=>{const n=r?"hex":"utf8",s=e.from(t,n),i=await global.crypto.subtle.digest("SHA-512",s);return e.from(i).toString("hex")}}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"@metamask/desktop",file:"node_modules/@metamask/desktop/dist/utils/crypto.js"}],[1205,{"./config":1203,loglevel:3842},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0});const s=n(e("loglevel")),i=e("./config");s.default.setDefaultLevel((0,i.cfg)().isDebug?"debug":"info"),r.default=s.default}}},{package:"@metamask/desktop",file:"node_modules/@metamask/desktop/dist/utils/log.js"}],[1206,{"../browser":1187},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.removePairingKeyFromRawState=r.addPairingKeyToRawState=r.clearRawState=r.setDesktopState=r.setRawState=r.getAndUpdateDesktopState=r.getDesktopState=r.getRawState=void 0;const n=e("../browser");r.getRawState=async()=>await n.browser.storage.local.get();r.getDesktopState=async()=>{const e=await(0,r.getRawState)();return e.data?.DesktopController||{}};r.getAndUpdateDesktopState=async e=>{const t=await(0,r.getRawState)(),n=t.data.DesktopController;return t.data.DesktopController={...n,...e},t};r.setRawState=async e=>{await n.browser.storage.local.set(e)};r.setDesktopState=async e=>{const t=await(0,r.getAndUpdateDesktopState)(e);await(0,r.setRawState)(t)};r.clearRawState=async()=>{await n.browser.storage.local.clear()};r.addPairingKeyToRawState=async e=>{const t=await(0,r.getDesktopState)();return{...e,data:{...e.data,DesktopController:{...e.data?.DesktopController,pairingKey:t.pairingKey,pairingKeyHash:t.pairingKeyHash}}}};r.removePairingKeyFromRawState=e=>({...e,data:{...e.data,DesktopController:{...e.data.DesktopController,pairingKey:undefined,pairingKeyHash:undefined}}})}}},{package:"@metamask/desktop",file:"node_modules/@metamask/desktop/dist/utils/state.js"}],[1207,{"../constants":1188,stream:4348},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.DuplexCopy=r.addDataListener=r.acknowledge=r.waitForAcknowledge=r.waitForMessage=void 0;const n=e("stream"),s=e("../constants");r.waitForMessage=(e,t,{returnFilterOutput:r=!1}={})=>new Promise((n=>{const s=async i=>{const o=t?await t(i):Promise.resolve(!0);o&&(e.removeListener("data",s),n(r?o:i))};e.on("data",s)}));r.waitForAcknowledge=async e=>{await(0,r.waitForMessage)(e,(e=>Promise.resolve(e===s.MESSAGE_ACKNOWLEDGE)))};r.acknowledge=e=>{e.write(s.MESSAGE_ACKNOWLEDGE)};r.addDataListener=(e,t)=>{e.on("data",(e=>{e!==s.MESSAGE_ACKNOWLEDGE&&t(e)}))};class i extends n.Duplex{constructor(e){super({objectMode:!0}),this.stream=e,this.stream.on("data",(e=>{this.onMessage(e)}))}onMessage(e){this.push(e)}_read(){return null}_write(e,t,r){this.stream.write(e,t,r)}}r.DuplexCopy=i}}},{package:"@metamask/desktop",file:"node_modules/@metamask/desktop/dist/utils/stream.js"}],[1208,{"./crypto":1204,otpauth:3959},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){n===undefined&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){n===undefined&&(n=r),e[n]=t[r]}),s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return s(t,e),t};Object.defineProperty(r,"__esModule",{value:!0}),r.MAX_TOTP_VALIDATE_RETRY_IN_30_SECONDS=void 0;const o=i(e("otpauth")),a=e("./crypto");r.MAX_TOTP_VALIDATE_RETRY_IN_30_SECONDS=5;class l{constructor(){this.generate=()=>(this.resetAttemptsCounter(),l.instance.generate()),this.validate=e=>{const t=l.instance.validate({token:e,window:1});return l.validateAttemptsCounter+=1,this.hasReachedMaxValidateAttempts(l.validateAttemptsCounter)&&this.init({resetInstance:!0}),null!==t},this.hasReachedMaxValidateAttempts=e=>e>=r.MAX_TOTP_VALIDATE_RETRY_IN_30_SECONDS,this.resetAttemptsCounter=()=>{l.validateAttemptsCounter=0},this.init=e=>{const{resetInstance:t}=e;l.instance&&!t||(l.instance=new o.TOTP({issuer:"MM",label:"MetaMask",algorithm:"SHA1",digits:6,period:30,secret:o.Secret.fromHex((0,a.randomHex)())}),this.resetAttemptsCounter())},this.init({resetInstance:!1})}}l.validateAttemptsCounter=0,r.default=new l}}},{package:"@metamask/desktop",file:"node_modules/@metamask/desktop/dist/utils/totp.js"}],[1209,{uuid:4424},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.uuid=r.timeoutPromise=r.flattenMessage=void 0;const n=e("uuid");r.flattenMessage=e=>{let t;try{const r=e.name,n=e.data,s=n?.name,i=n?.data,o=i?.method,a=i?.result;t={},t={...t,...r?{stream:r}:{}},t={...t,...s?{type:s}:{}},t={...t,...o?{method:o}:{}},t={...t,...a?{isResult:!0}:{}}}catch{t=e}return t};r.timeoutPromise=(e,t,r={})=>new Promise(((n,s)=>{let i=!1;const o=setTimeout((()=>{i=!0,r.cleanUp?.(),s(new Error(r.errorMessage||`Promise timeout after ${t}ms`))}),t);e.then((e=>{i||(clearTimeout(o),n(e))})).catch(s)})),r.uuid=n.v4}}},{package:"@metamask/desktop",file:"node_modules/@metamask/desktop/dist/utils/utils.js"}],[121,{"../../shared/constants/app":4493,"../../shared/constants/hardware-wallets":4501,"../../shared/constants/keyring":4502,"../../shared/constants/logs":4504,"../../shared/constants/metametrics":4505,"../../shared/constants/methods-tags":4506,"../../shared/constants/network":4507,"../../shared/constants/permissions":4511,"../../shared/constants/smartTransactions":4514,"../../shared/constants/swaps":4516,"../../shared/constants/time":4518,"../../shared/constants/tokens":4519,"../../shared/constants/transaction":4520,"../../shared/constants/urls":4521,"../../shared/lib/metamask-controller-utils":4526,"../../shared/lib/token-util":4530,"../../shared/modules/mv3.utils":4547,"../../shared/modules/network.utils":4548,"../../shared/modules/selectors":4554,"../../shared/modules/string-utils":4558,"../../shared/modules/transaction.utils":4560,"../../shared/notifications":4562,"./controllers/account-order":7,"./controllers/alert":8,"./controllers/app-metadata":9,"./controllers/app-state":10,"./controllers/authentication/authentication-controller":12,"./controllers/decrypt-message":14,"./controllers/encryption-public-key":15,"./controllers/metamask-notifications/metamask-notifications":18,"./controllers/metametrics":25,"./controllers/network-order":26,"./controllers/onboarding":27,"./controllers/permissions":31,"./controllers/preferences":34,"./controllers/push-platform-notifications/push-platform-notifications":35,"./controllers/swaps":41,"./controllers/user-storage/user-storage-controller":48,"./detect-multiple-instances":49,"./lib/AccountIdentitiesPetnamesBridge":52,"./lib/AddressBookPetnamesBridge":53,"./lib/ComposableObservableStore":54,"./lib/SnapsNameProvider":55,"./lib/WeakRefObjectMap":56,"./lib/account-tracker":57,"./lib/backup":58,"./lib/createDupeReqFilterStream":59,"./lib/createLoggerMiddleware":60,"./lib/createMetaRPCHandler":61,"./lib/createMetamaskMiddleware":62,"./lib/createOnboardingMiddleware":63,"./lib/createOriginMiddleware":64,"./lib/createRPCMethodTrackingMiddleware":65,"./lib/createTabIdMiddleware":67,"./lib/encryptor-factory":68,"./lib/hardware-keyring-builder-factory":76,"./lib/keyring-snaps-permissions":77,"./lib/offscreen-bridge/lattice-offscreen-keyring":85,"./lib/offscreen-bridge/ledger-offscreen-bridge":86,"./lib/offscreen-bridge/trezor-offscreen-bridge":87,"./lib/ppom/indexed-db-backend":88,"./lib/ppom/ppom":91,"./lib/ppom/ppom-middleware":89,"./lib/ppom/ppom-util":90,"./lib/rpc-method-middleware":104,"./lib/segment":106,"./lib/snap-keyring":110,"./lib/stream-utils":115,"./lib/transaction/metrics":116,"./lib/transaction/smart-transactions":117,"./lib/transaction/util":118,"./lib/tx-verification/tx-verification-middleware":119,"./lib/util":120,"./snaps/preinstalled-snaps":254,"./translate":255,"@keystonehq/metamask-airgapped-keyring":608,"@metamask/accounts-controller":1080,"@metamask/address-book-controller":1088,"@metamask/announcement-controller":1102,"@metamask/approval-controller":1111,"@metamask/assets-controllers":1143,"@metamask/base-controller":1154,"@metamask/controller-utils":1163,"@metamask/desktop/dist/controllers/desktop":1191,"@metamask/ens-controller":1235,"@metamask/eth-json-rpc-filters":1259,"@metamask/eth-json-rpc-filters/subscriptionManager":1269,"@metamask/eth-json-rpc-middleware":1292,"@metamask/eth-ledger-bridge-keyring":1312,"@metamask/eth-query":1316,"@metamask/eth-trezor-keyring":1353,"@metamask/ethjs-query":1379,"@metamask/gas-fee-controller":1387,"@metamask/keyring-controller":1476,"@metamask/logging-controller":1489,"@metamask/name-controller":1529,"@metamask/network-controller":1555,"@metamask/notification-controller":1577,"@metamask/obs-store":1610,"@metamask/obs-store/dist/asStream":1609,"@metamask/permission-controller":1624,"@metamask/permission-log-controller":1641,"@metamask/phishing-controller":1649,"@metamask/ppom-validator":1673,"@metamask/queued-request-controller":1690,"@metamask/rate-limit-controller":1706,"@metamask/scure-bip39/dist/wordlists/english":1720,"@metamask/selected-network-controller":1732,"@metamask/signature-controller":1740,"@metamask/smart-transactions-controller":1764,"@metamask/snaps-controllers":1993,"@metamask/snaps-rpc-methods":2086,"@metamask/snaps-utils":2163,"@metamask/transaction-controller":2234,"@metamask/user-operation-controller":2266,"@sentry/browser":2409,"await-semaphore":2922,buffer:3028,"eth-lattice-keyring":3226,"eth-rpc-errors":3257,events:3328,"json-rpc-engine":3680,"json-rpc-middleware-stream":3685,lodash:3836,loglevel:3842,nanoid:3929,"readable-stream":4258},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(t){(function(){Object.defineProperty(r,"__esModule",{value:!0}),r.default=r.METAMASK_CONTROLLER_EVENTS=void 0;var n=Ct(e("events")),s=e("readable-stream"),i=e("@metamask/assets-controllers"),o=e("@metamask/obs-store"),a=e("@metamask/obs-store/dist/asStream"),l=e("json-rpc-engine"),c=e("json-rpc-middleware-stream"),d=e("@metamask/eth-json-rpc-middleware"),u=e("lodash"),h=e("@metamask/keyring-controller"),p=Ct(e("@metamask/eth-json-rpc-filters")),m=Ct(e("@metamask/eth-json-rpc-filters/subscriptionManager")),f=e("eth-rpc-errors"),g=e("await-semaphore"),v=Ct(e("loglevel")),w=e("@metamask/eth-trezor-keyring"),y=e("@metamask/eth-ledger-bridge-keyring"),k=Ct(e("eth-lattice-keyring")),b=e("@keystonehq/metamask-airgapped-keyring"),C=Ct(e("@metamask/eth-query")),_=Ct(e("@metamask/ethjs-query")),S=Ct(e("nanoid")),T=e("@sentry/browser"),A=e("@metamask/address-book-controller"),E=e("@metamask/approval-controller"),M=e("@metamask/base-controller"),P=e("@metamask/ens-controller"),N=e("@metamask/phishing-controller"),I=e("@metamask/announcement-controller"),R=e("@metamask/network-controller"),j=e("@metamask/gas-fee-controller"),O=e("@metamask/permission-controller"),x=Ct(e("@metamask/smart-transactions-controller")),B=e("@metamask/selected-network-controller"),D=e("@metamask/logging-controller"),L=e("@metamask/permission-log-controller"),F=e("@metamask/rate-limit-controller"),U=e("@metamask/notification-controller"),G=e("@metamask/snaps-controllers"),K=e("@metamask/snaps-rpc-methods"),H=e("@metamask/accounts-controller"),$=e("@metamask/signature-controller"),W=e("@metamask/ppom-validator"),q=e("@metamask/desktop/dist/controllers/desktop"),V=e("@metamask/controller-utils"),z=e("@metamask/scure-bip39/dist/wordlists/english"),J=e("@metamask/name-controller"),Y=e("@metamask/queued-request-controller"),Q=e("@metamask/user-operation-controller"),X=e("@metamask/transaction-controller"),Z=e("@metamask/snaps-utils"),ee=e("../../shared/constants/methods-tags"),te=e("../../shared/constants/transaction"),re=e("../../shared/constants/swaps"),ne=e("../../shared/constants/network"),se=e("../../shared/constants/smartTransactions"),ie=e("../../shared/constants/hardware-wallets"),oe=e("../../shared/constants/keyring"),ae=e("../../shared/constants/permissions"),le=e("../../shared/notifications"),ce=e("../../shared/constants/time"),de=e("../../shared/constants/app"),ue=e("../../shared/constants/metametrics"),he=e("../../shared/constants/logs"),pe=e("../../shared/lib/token-util"),me=e("../../shared/modules/string-utils"),fe=e("../../shared/modules/transaction.utils"),ge=e("../../shared/constants/tokens"),ve=e("../../shared/lib/metamask-controller-utils"),we=e("../../shared/modules/mv3.utils"),ye=e("../../shared/modules/network.utils"),ke=e("../../shared/modules/selectors"),be=e("../../shared/constants/urls"),Ce=e("./lib/transaction/metrics"),_e=e("./lib/transaction/smart-transactions"),Se=e("./lib/keyring-snaps-permissions"),Te=e("./lib/SnapsNameProvider"),Ae=e("./lib/AddressBookPetnamesBridge"),Ee=e("./lib/AccountIdentitiesPetnamesBridge"),Me=e("./lib/ppom/ppom-middleware"),Pe=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=bt(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var o=s?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}(e("./lib/ppom/ppom")),Ne=e("./detect-multiple-instances"),Ie=Ct(e("./lib/ComposableObservableStore")),Re=Ct(e("./lib/account-tracker")),je=Ct(e("./lib/createDupeReqFilterStream")),Oe=Ct(e("./lib/createLoggerMiddleware")),xe=e("./lib/rpc-method-middleware"),Be=Ct(e("./lib/createOriginMiddleware")),De=Ct(e("./lib/createTabIdMiddleware")),Le=e("./controllers/network-order"),Fe=e("./controllers/account-order"),Ue=Ct(e("./lib/createOnboardingMiddleware")),Ge=e("./lib/stream-utils"),Ke=Ct(e("./controllers/preferences")),He=Ct(e("./controllers/app-state")),$e=Ct(e("./controllers/alert")),We=Ct(e("./controllers/onboarding")),qe=Ct(e("./lib/backup")),Ve=Ct(e("./controllers/decrypt-message")),ze=Ct(e("./controllers/swaps")),Je=Ct(e("./controllers/metametrics")),Ye=e("./lib/segment"),Qe=Ct(e("./lib/createMetaRPCHandler")),Xe=e("./lib/util"),Ze=Ct(e("./lib/createMetamaskMiddleware")),et=e("./lib/hardware-keyring-builder-factory"),tt=Ct(e("./controllers/encryption-public-key")),rt=Ct(e("./controllers/app-metadata")),nt=e("./controllers/permissions"),st=Ct(e("./lib/createRPCMethodTrackingMiddleware")),it=e("./lib/ppom/indexed-db-backend"),ot=e("./translate"),at=e("./lib/offscreen-bridge/trezor-offscreen-bridge"),lt=e("./lib/offscreen-bridge/ledger-offscreen-bridge"),ct=e("./lib/snap-keyring"),dt=e("./lib/encryptor-factory"),ut=e("./lib/transaction/util"),ht=e("./lib/offscreen-bridge/lattice-offscreen-keyring"),pt=Ct(e("./snaps/preinstalled-snaps")),mt=e("./lib/WeakRefObjectMap"),ft=Ct(e("./controllers/authentication/authentication-controller")),gt=Ct(e("./controllers/user-storage/user-storage-controller")),vt=e("./controllers/push-platform-notifications/push-platform-notifications"),wt=e("./controllers/metamask-notifications/metamask-notifications"),yt=e("./lib/tx-verification/tx-verification-middleware"),kt=e("./lib/ppom/ppom-util");function bt(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(bt=function(e){return e?r:t})(e)}function Ct(e){return e&&e.__esModule?e:{default:e}}function _t(e,t){!function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}(e,t),t.add(e)}function St(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(r!==undefined){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Tt(e,t,r){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return r}r.METAMASK_CONTROLLER_EVENTS={UPDATE_BADGE:"updateBadge",APPROVAL_STATE_CHANGE:"ApprovalController:stateChange",QUEUED_REQUEST_STATE_CHANGE:"QueuedRequestController:stateChange"};var At=new WeakSet,Et=new WeakSet,Mt=new WeakSet;class Pt extends n.default{constructor(e){var t,r;super(),_t(this,Mt),_t(this,Et),_t(this,At),St(this,"_trackSnapExportUsage",(0,u.wrap)((0,u.memoize)((()=>(0,u.throttle)(((e,t,r,n)=>{var s;return this.metaMetricsController.trackEvent({event:ue.MetaMetricsEventName.SnapExportUsed,category:ue.MetaMetricsEventCategory.Snaps,properties:{snap_id:e,export:t,snap_category:null===(s=this._getSnapMetadata(e))||void 0===s?void 0:s.category,success:r,origin:n}})}),60*ce.SECOND)),((e,t,r,n)=>`${e}${t}${n}`)),((e,...t)=>e(...t)(...t)))),St(this,"handleWatchAssetRequest",(({asset:e,type:t,origin:r,networkClientId:n})=>{switch(t){case V.ERC20:return this.tokensController.watchAsset({asset:e,type:t,networkClientId:n});case V.ERC721:case V.ERC1155:return this.nftController.watchNft(e,t,r);default:throw new Error(`Asset type ${t} not supported`)}})),St(this,"removePermissionsFor",(e=>{try{this.permissionController.revokePermissions(e)}catch(e){if(!(e instanceof O.PermissionsRequestNotFoundError))throw e}})),St(this,"updateCaveat",((e,t,r,n)=>{try{this.controllerMessenger.call("PermissionController:updateCaveat",e,t,r,n)}catch(e){if(!(e instanceof O.PermissionsRequestNotFoundError))throw e}})),St(this,"updateNetworksList",(e=>{try{this.networkOrderController.updateNetworksList(e)}catch(e){throw v.default.error(e.message),e}})),St(this,"updateAccountsList",(e=>{try{this.accountOrderController.updateAccountsList(e)}catch(e){throw v.default.error(e.message),e}})),St(this,"updateHiddenAccountsList",(e=>{try{this.accountOrderController.updateHiddenAccountsList(e)}catch(e){throw v.default.error(e.message),e}})),St(this,"rejectPermissionsRequest",(e=>{try{this.permissionController.rejectPermissionsRequest(e)}catch(e){if(!(e instanceof O.PermissionsRequestNotFoundError))throw e}})),St(this,"acceptPermissionsRequest",(e=>{try{this.permissionController.acceptPermissionsRequest(e)}catch(e){if(!(e instanceof O.PermissionsRequestNotFoundError))throw e}})),St(this,"resolvePendingApproval",(async(e,t,r)=>{try{await this.approvalController.accept(e,t,r)}catch(e){if(!(e instanceof E.ApprovalRequestNotFoundError))throw e}})),St(this,"rejectPendingApproval",((e,t)=>{try{this.approvalController.reject(e,new f.EthereumRpcError(t.code,t.message,t.data))}catch(e){if(!(e instanceof E.ApprovalRequestNotFoundError))throw e}}));const{isFirstMetaMaskControllerSetup:n}=e;this.defaultMaxListeners=20,this.sendUpdate=(0,u.debounce)(this.privateSendUpdate.bind(this),200*ce.MILLISECOND),this.opts=e,this.extension=e.browser,this.platform=e.platform,this.notificationManager=e.notificationManager;const s=e.initState||{},o=this.platform.getVersion();this.recordFirstTimeInfo(s),this.featureFlags=e.featureFlags,this.activeControllerConnections=0,this.offscreenPromise=e.offscreenPromise??Promise.resolve(),this.getRequestAccountTabIds=e.getRequestAccountTabIds,this.getOpenMetamaskTabsIds=e.getOpenMetamaskTabsIds,this.controllerMessenger=new M.ControllerMessenger,this.loggingController=new D.LoggingController({messenger:this.controllerMessenger.getRestricted({name:"LoggingController"}),state:s.LoggingController}),this.localStoreApiWrapper=e.localStore,this.currentMigrationVersion=e.currentMigrationVersion,this.store=new Ie.default({state:s,controllerMessenger:this.controllerMessenger,persist:!0}),this.connections={},this.createVaultMutex=new g.Mutex,this.extension.runtime.onInstalled.addListener((e=>{"update"===e.reason&&("8.1.0"===o&&this.platform.openExtensionInBrowser(),this.loggingController.add({type:D.LogType.GenericLog,data:{event:he.LOG_EVENT.VERSION_UPDATE,previousVersion:e.previousVersion,version:o}}))})),this.appMetadataController=new rt.default({state:s.AppMetadataController,currentMigrationVersion:this.currentMigrationVersion,currentAppVersion:o});const a=()=>{this.encryptionPublicKeyController.clearUnapproved(),this.decryptMessageController.clearUnapproved(),this.signatureController.clearUnapproved(),this.approvalController.clear(f.ethErrors.provider.userRejectedRequest())};this.queuedRequestController=new Y.QueuedRequestController({messenger:this.controllerMessenger.getRestricted({name:"QueuedRequestController",allowedActions:["NetworkController:getState","NetworkController:setActiveNetwork","SelectedNetworkController:getNetworkClientIdForDomain"],allowedEvents:["SelectedNetworkController:stateChange"]}),shouldRequestSwitchNetwork:({method:e})=>ee.methodsRequiringNetworkSwitch.includes(e),clearPendingConfirmations:a,showApprovalRequest:e.showUserConfirmation}),this.approvalController=new E.ApprovalController({messenger:this.controllerMessenger.getRestricted({name:"ApprovalController"}),showApprovalRequest:e.showUserConfirmation,typesExcludedFromRateLimiting:[V.ApprovalType.EthSign,V.ApprovalType.PersonalSign,V.ApprovalType.EthSignTypedData,V.ApprovalType.Transaction,V.ApprovalType.WatchAsset,V.ApprovalType.EthGetEncryptionPublicKey,V.ApprovalType.EthDecrypt]});const l=this.controllerMessenger.getRestricted({name:"NetworkController"});let c={};s.NetworkController&&(c=s.NetworkController),this.networkController=new R.NetworkController({messenger:l,state:c,infuraProjectId:e.infuraProjectId,trackMetaMetricsEvent:(...e)=>this.metaMetricsController.trackEvent(...e)}),this.networkController.initializeProvider(),this.provider=this.networkController.getProviderAndBlockTracker().provider,this.blockTracker=this.networkController.getProviderAndBlockTracker().blockTracker,this.deprecatedNetworkVersions={};const d=this.controllerMessenger.getRestricted({name:"TokenListController",allowedEvents:["NetworkController:stateChange"]}),p=this.controllerMessenger.getRestricted({name:"AccountsController",allowedEvents:["SnapController:stateChange","KeyringController:accountRemoved","KeyringController:stateChange"],allowedActions:["KeyringController:getAccounts","KeyringController:getKeyringsByType","KeyringController:getKeyringForAccount"]});this.accountsController=new H.AccountsController({messenger:p,state:s.AccountsController});const m=this.controllerMessenger.getRestricted({name:"PreferencesController",allowedActions:["AccountsController:setSelectedAccount","AccountsController:getAccountByAddress","AccountsController:setAccountName"],allowedEvents:["AccountsController:stateChange"]});this.preferencesController=new Ke.default({initState:s.PreferencesController,initLangCode:e.initLangCode,messenger:m,provider:this.provider,networkConfigurations:this.networkController.state.networkConfigurations}),this.tokenListController=new i.TokenListController({chainId:this.networkController.state.providerConfig.chainId,preventPollingOnNetworkRestart:!Tt(this,Mt,Rt).call(this,this.preferencesController.store.getState()),messenger:d,state:s.TokenListController}),this.assetsContractController=new i.AssetsContractController({chainId:this.networkController.state.providerConfig.chainId,onPreferencesStateChange:e=>this.preferencesController.store.subscribe(e),onNetworkDidChange:e=>l.subscribe("NetworkController:networkDidChange",(()=>{const t=this.networkController.state;return e(t)})),getNetworkClientById:this.networkController.getNetworkClientById.bind(this.networkController)},{provider:this.provider},s.AssetsContractController);const C=this.controllerMessenger.getRestricted({name:"TokensController",allowedActions:["ApprovalController:addRequest","NetworkController:getNetworkClientById"],allowedEvents:["NetworkController:networkDidChange","AccountsController:selectedAccountChange","PreferencesController:stateChange","TokenListController:stateChange"]});this.tokensController=new i.TokensController({messenger:C,chainId:this.networkController.state.providerConfig.chainId,onPreferencesStateChange:e=>this.controllerMessenger.subscribe("AccountsController:selectedAccountChange",(t=>{e({selectedAddress:t.address})})),onNetworkDidChange:e=>l.subscribe("NetworkController:networkDidChange",(()=>{const t=this.networkController.state;return e(t)})),onTokenListStateChange:e=>this.controllerMessenger.subscribe(`${this.tokenListController.name}:stateChange`,e),getNetworkClientById:this.networkController.getNetworkClientById.bind(this.networkController),config:{provider:this.provider,selectedAddress:(null===(t=s.AccountsController)||void 0===t||null===(t=t.internalAccounts)||void 0===t||null===(t=t.accounts[null===(r=s.AccountsController)||void 0===r||null===(r=r.internalAccounts)||void 0===r?void 0:r.selectedAccount])||void 0===t?void 0:t.address)??""},state:s.TokensController}),this.controllerMessenger.registerActionHandler("TokensController:getState",(()=>this.tokensController.state));const _=this.controllerMessenger.getRestricted({name:"NftController",allowedActions:[`${this.approvalController.name}:addRequest`,`${this.networkController.name}:getNetworkClientById`]});this.nftController=new i.NftController({messenger:_,chainId:this.networkController.state.providerConfig.chainId,onPreferencesStateChange:this.preferencesController.store.subscribe.bind(this.preferencesController.store),onNetworkStateChange:l.subscribe.bind(l,"NetworkController:stateChange"),getERC721AssetName:this.assetsContractController.getERC721AssetName.bind(this.assetsContractController),getERC721AssetSymbol:this.assetsContractController.getERC721AssetSymbol.bind(this.assetsContractController),getERC721TokenURI:this.assetsContractController.getERC721TokenURI.bind(this.assetsContractController),getERC721OwnerOf:this.assetsContractController.getERC721OwnerOf.bind(this.assetsContractController),getERC1155BalanceOf:this.assetsContractController.getERC1155BalanceOf.bind(this.assetsContractController),getERC1155TokenURI:this.assetsContractController.getERC1155TokenURI.bind(this.assetsContractController),onNftAdded:({address:e,symbol:t,tokenId:r,standard:n,source:s})=>this.metaMetricsController.trackEvent({event:ue.MetaMetricsEventName.NftAdded,category:ue.MetaMetricsEventCategory.Wallet,sensitiveProperties:{token_contract_address:e,token_symbol:t,token_id:r,token_standard:n,asset_type:te.AssetType.NFT,source:s}}),getNetworkClientById:this.networkController.getNetworkClientById.bind(this.networkController)},{},s.NftController),this.nftController.setApiKey(null),this.nftDetectionController=new i.NftDetectionController({chainId:this.networkController.state.providerConfig.chainId,onNftsStateChange:e=>this.nftController.subscribe(e),onPreferencesStateChange:this.preferencesController.store.subscribe.bind(this.preferencesController.store),onNetworkStateChange:l.subscribe.bind(l,"NetworkController:stateChange"),getOpenSeaApiKey:()=>this.nftController.openSeaApiKey,getBalancesInSingleCall:this.assetsContractController.getBalancesInSingleCall.bind(this.assetsContractController),addNft:this.nftController.addNft.bind(this.nftController),getNftApi:this.nftController.getNftApi.bind(this.nftController),getNftState:()=>this.nftController.state,disabled:this.preferencesController.store.getState().useNftDetection===undefined||!this.preferencesController.store.getState().useNftDetection,selectedAddress:this.preferencesController.store.getState().selectedAddress,getNetworkClientById:this.networkController.getNetworkClientById.bind(this.networkController)}),this.metaMetricsController=new Je.default({segment:Ye.segment,preferencesStore:this.preferencesController.store,onNetworkDidChange:l.subscribe.bind(l,"NetworkController:networkDidChange"),getNetworkIdentifier:()=>{const{type:e,rpcUrl:t}=this.networkController.state.providerConfig;return e===ne.NETWORK_TYPES.RPC?t:e},getCurrentChainId:()=>this.networkController.state.providerConfig.chainId,version:this.platform.getVersion(),environment:"production",extension:this.extension,initState:s.MetaMetricsController,captureException:T.captureException}),this.on("update",(e=>{this.metaMetricsController.handleMetaMaskStateUpdate(e)}));const S=this.controllerMessenger.getRestricted({name:"GasFeeController",allowedActions:["NetworkController:getEIP1559Compatibility","NetworkController:getNetworkClientById","NetworkController:getState"],allowedEvents:["NetworkController:stateChange"]}),K=re.GAS_API_BASE_URL;this.gasFeeController=new j.GasFeeController({state:s.GasFeeController,interval:1e4,messenger:S,clientId:re.SWAPS_CLIENT_ID,getProvider:()=>this.networkController.getProviderAndBlockTracker().provider,onNetworkDidChange:e=>{l.subscribe("NetworkController:networkDidChange",(()=>e(this.networkController.state)))},getCurrentNetworkEIP1559Compatibility:this.networkController.getEIP1559Compatibility.bind(this.networkController),getCurrentAccountEIP1559Compatibility:this.getCurrentAccountEIP1559Compatibility.bind(this),legacyAPIEndpoint:`${K}/networks//gasPrices`,EIP1559APIEndpoint:`${K}/networks//suggestedGasFees`,getCurrentNetworkLegacyGasAPICompatibility:()=>{const{chainId:e}=this.networkController.state.providerConfig;return e===ne.CHAIN_IDS.BSC},getChainId:()=>this.networkController.state.providerConfig.chainId}),this.appStateController=new He.default({addUnlockListener:this.on.bind(this,"unlock"),isUnlocked:this.isUnlocked.bind(this),initState:s.AppStateController,onInactiveTimeout:()=>this.setLocked(),preferencesStore:this.preferencesController.store,messenger:this.controllerMessenger.getRestricted({name:"AppStateController",allowedActions:[`${this.approvalController.name}:addRequest`,`${this.approvalController.name}:acceptRequest`],allowedEvents:["KeyringController:qrKeyringStateChange"]}),extension:this.extension});const z=this.controllerMessenger.getRestricted({name:"CurrencyRateController",allowedActions:[`${this.networkController.name}:getNetworkClientById`]});this.currencyRateController=new i.CurrencyRateController({includeUsdRate:!0,messenger:z,state:s.CurrencyController});const ie=this.currencyRateController.fetchExchangeRate.bind(this.currencyRateController);this.currencyRateController.fetchExchangeRate=(...e)=>this.preferencesController.store.getState().useCurrencyRateCheck?ie(...e):{conversionRate:null,usdConversionRate:null};const oe=this.controllerMessenger.getRestricted({name:"PhishingController"});this.phishingController=new N.PhishingController({messenger:oe,state:s.PhishingController,hotlistRefreshInterval:undefined,stalelistRefreshInterval:undefined}),this.ppomController=new W.PPOMController({messenger:this.controllerMessenger.getRestricted({name:"PPOMController",allowedEvents:["NetworkController:stateChange"]}),storageBackend:new it.IndexedDBPPOMStorage("PPOMDB",1),provider:this.provider,ppomProvider:{PPOM:Pe.PPOM,ppomInit:Pe.default},state:s.PPOMController,chainId:this.networkController.state.providerConfig.chainId,securityAlertsEnabled:this.preferencesController.store.getState().securityAlertsEnabled,onPreferencesChange:this.preferencesController.store.subscribe.bind(this.preferencesController.store),cdnBaseUrl:"static.cx.metamask.io/api/v1/confirmations/ppom",blockaidPublicKey:"066ad3e8af5583385e312c156d238055215d5f25247c1e91055afa756cb98a88"});const pe=this.controllerMessenger.getRestricted({name:"AnnouncementController"});this.announcementController=new I.AnnouncementController({messenger:pe,allAnnouncements:le.UI_NOTIFICATIONS,state:s.AnnouncementController});const me=this.controllerMessenger.getRestricted({name:"NetworkOrderController",allowedEvents:["NetworkController:stateChange"]});this.networkOrderController=new Le.NetworkOrderController({messenger:me,state:s.NetworkOrderController});const fe=this.controllerMessenger.getRestricted({name:"AccountOrderController"});this.accountOrderController=new Fe.AccountOrderController({messenger:fe,state:s.AccountOrderController}),this.tokenRatesController=new i.TokenRatesController({chainId:this.networkController.state.providerConfig.chainId,ticker:this.networkController.state.providerConfig.ticker,selectedAddress:this.accountsController.getSelectedAccount().address,onTokensStateChange:e=>this.tokensController.subscribe(e),onNetworkStateChange:l.subscribe.bind(l,"NetworkController:stateChange"),onPreferencesStateChange:e=>this.controllerMessenger.subscribe("AccountsController:selectedAccountChange",(t=>{e({selectedAddress:t.address})})),tokenPricesService:new i.CodefiTokenPricesServiceV2,getNetworkClientById:this.networkController.getNetworkClientById.bind(this.networkController)},{allTokens:this.tokensController.state.allTokens,allDetectedTokens:this.tokensController.state.allDetectedTokens},s.TokenRatesController),this.preferencesController.store.subscribe((0,Xe.previousValueComparator)(((e,t)=>{const{useCurrencyRateCheck:r}=e,{useCurrencyRateCheck:n}=t;n&&!r?this.tokenRatesController.start():!n&&r&&this.tokenRatesController.stop()}),this.preferencesController.store.getState())),this.ensController=new P.EnsController({messenger:this.controllerMessenger.getRestricted({name:"EnsController"}),provider:this.provider,onNetworkDidChange:l.subscribe.bind(l,"NetworkController:networkDidChange")}),this.onboardingController=new We.default({initState:s.OnboardingController});let ge=[(0,h.keyringBuilderFactory)(b.MetaMaskKeyring)];if(!1===we.isManifestV3){var ve;const e=null===(ve=this.opts.overrides)||void 0===ve?void 0:ve.keyrings,t=[(null==e?void 0:e.lattice)||k.default,b.MetaMaskKeyring],r=[{keyring:(null==e?void 0:e.trezor)||w.TrezorKeyring,bridge:(null==e?void 0:e.trezorBridge)||w.TrezorConnectBridge},{keyring:(null==e?void 0:e.ledger)||y.LedgerKeyring,bridge:(null==e?void 0:e.ledgerBridge)||y.LedgerIframeBridge}];ge=t.map((e=>(0,h.keyringBuilderFactory)(e))),r.forEach((e=>ge.push((0,et.hardwareKeyringBuilderFactory)(e.keyring,e.bridge))))}else ge.push((0,et.hardwareKeyringBuilderFactory)(w.TrezorKeyring,at.TrezorOffscreenBridge),(0,et.hardwareKeyringBuilderFactory)(y.LedgerKeyring,lt.LedgerOffscreenBridge),(0,h.keyringBuilderFactory)(ht.LatticeKeyringOffscreen));const ye=this.controllerMessenger.getRestricted({name:"SnapKeyringBuilder",allowedActions:["ApprovalController:addRequest","ApprovalController:acceptRequest","ApprovalController:rejectRequest","ApprovalController:startFlow","ApprovalController:endFlow","ApprovalController:showSuccess","ApprovalController:showError","PhishingController:test","PhishingController:maybeUpdateState","KeyringController:getAccounts","AccountsController:setSelectedAccount","AccountsController:getAccountByAddress"]});ge.push((0,ct.snapKeyringBuilder)(ye,(()=>this.snapController),(async()=>{await this.keyringController.persistAllKeyrings(),await this.accountsController.updateAccounts()}),(e=>this.preferencesController.setSelectedAddress(e)),(e=>this.removeAccount(e)),this.metaMetricsController.trackEvent.bind(this.metaMetricsController),(e=>{if(!e)return null;const t=this.getLocale(),{snaps:r}=this.snapController.state,n=r[e];if(!n)return(0,Z.stripSnapPrefix)(e);if(n.localizationFiles){return(0,Z.getLocalizedSnapManifest)(n.manifest,t,n.localizationFiles).proposedName}return n.manifest.proposedName}),(e=>pt.default.some((t=>t.snapId===e)))));const be=this.controllerMessenger.getRestricted({name:"KeyringController"});this.keyringController=new h.KeyringController({cacheEncryptionKey:!0,keyringBuilders:ge,state:s.KeyringController,encryptor:e.encryptor||(0,dt.encryptorFactory)(6e5),messenger:be}),this.controllerMessenger.subscribe("KeyringController:unlock",(()=>this._onUnlock())),this.controllerMessenger.subscribe("KeyringController:lock",(()=>this._onLock())),this.controllerMessenger.subscribe("KeyringController:stateChange",(e=>{this._onKeyringControllerUpdate(e)})),this.permissionController=new O.PermissionController({messenger:this.controllerMessenger.getRestricted({name:"PermissionController",allowedActions:[`${this.approvalController.name}:addRequest`,`${this.approvalController.name}:hasRequest`,`${this.approvalController.name}:acceptRequest`,`${this.approvalController.name}:rejectRequest`,"SnapController:getPermitted","SnapController:install","SubjectMetadataController:getSubjectMetadata"]}),state:s.PermissionController,caveatSpecifications:(0,nt.getCaveatSpecifications)({getInternalAccounts:this.accountsController.listAccounts.bind(this.accountsController),findNetworkClientIdByChainId:this.networkController.findNetworkClientIdByChainId.bind(this.networkController)}),permissionSpecifications:{...(0,nt.getPermissionSpecifications)({getInternalAccounts:this.accountsController.listAccounts.bind(this.accountsController),getAllAccounts:this.keyringController.getAccounts.bind(this.keyringController),captureKeyringTypesWithMissingIdentities:(e=[],t=[])=>{const r=t.filter((t=>!e.some((e=>e.address.toLowerCase()===t.toLowerCase())))).map((e=>this.keyringController.getAccountKeyringType(e))),n=e.length,s=Object.keys(this.accountTracker.store.getState().accounts||{}).length;(0,T.captureException)(new Error(`Attempt to get permission specifications failed because their were ${t.length} accounts, but ${n} identities, and the ${r} keyrings included accounts with missing identities. Meanwhile, there are ${s} accounts in the account tracker.`))}}),...this.getSnapPermissionSpecifications()},unrestrictedMethods:nt.unrestrictedMethods}),this.selectedNetworkController=new B.SelectedNetworkController({messenger:this.controllerMessenger.getRestricted({name:"SelectedNetworkController",allowedActions:["NetworkController:getNetworkClientById","NetworkController:getState","NetworkController:getSelectedNetworkClient","PermissionController:hasPermissions","PermissionController:getSubjectNames"],allowedEvents:["NetworkController:stateChange","PermissionController:stateChange"]}),state:s.SelectedNetworkController,useRequestQueuePreference:this.preferencesController.store.getState().useRequestQueue,onPreferencesStateChange:e=>this.preferencesController.store.subscribe(e),domainProxyMap:new mt.WeakRefObjectMap}),this.permissionLogController=new L.PermissionLogController({messenger:this.controllerMessenger.getRestricted({name:"PermissionLogController"}),restrictedMethods:new Set(Object.keys(ae.RestrictedMethods)),state:s.PermissionLogController}),this.subjectMetadataController=new O.SubjectMetadataController({messenger:this.controllerMessenger.getRestricted({name:"SubjectMetadataController",allowedActions:[`${this.permissionController.name}:hasPermissions`]}),state:s.SubjectMetadataController,subjectCacheLimit:100});const Ce=we.isManifestV3&&"undefined"!=typeof chrome&&void 0!==chrome.offscreen,_e={messenger:this.controllerMessenger.getRestricted({name:"ExecutionService"}),setupSnapProvider:this.setupSnapProvider.bind(this)};this.snapExecutionService=!1===Ce?new G.IframeExecutionService({..._e,iframeUrl:new URL("https://execution.metamask.io/iframe/6.4.0/index.html")}):new G.OffscreenExecutionService({..._e,offscreenPromise:this.offscreenPromise});const Se=this.controllerMessenger.getRestricted({name:"SnapController",allowedEvents:["ExecutionService:unhandledError","ExecutionService:outboundRequest","ExecutionService:outboundResponse"],allowedActions:[`${this.permissionController.name}:getEndowments`,`${this.permissionController.name}:getPermissions`,`${this.permissionController.name}:hasPermission`,`${this.permissionController.name}:hasPermissions`,`${this.permissionController.name}:requestPermissions`,`${this.permissionController.name}:revokeAllPermissions`,`${this.permissionController.name}:revokePermissions`,`${this.permissionController.name}:revokePermissionForAllSubjects`,`${this.permissionController.name}:getSubjectNames`,`${this.permissionController.name}:updateCaveat`,`${this.approvalController.name}:addRequest`,`${this.approvalController.name}:updateRequestState`,`${this.permissionController.name}:grantPermissions`,`${this.subjectMetadataController.name}:getSubjectMetadata`,`${this.subjectMetadataController.name}:addSubjectMetadata`,"ExecutionService:executeSnap","ExecutionService:getRpcRequestHandler","ExecutionService:terminateSnap","ExecutionService:terminateAllSnaps","ExecutionService:handleRpcRequest","SnapsRegistry:get","SnapsRegistry:getMetadata","SnapsRegistry:update","SnapsRegistry:resolveVersion","SnapInterfaceController:createInterface","SnapInterfaceController:getInterface"]}),Me=!1;this.snapController=new G.SnapController({environmentEndowmentPermissions:Object.values(ae.EndowmentPermissions),excludedPermissions:{...ae.ExcludedSnapPermissions,...ae.ExcludedSnapEndowments},closeAllConnections:this.removeAllConnections.bind(this),state:s.SnapController,messenger:Se,featureFlags:{dappsCanUpdateSnaps:!0,allowLocalSnaps:!0,requireAllowlist:Me},encryptor:(0,dt.encryptorFactory)(6e5),getMnemonic:this.getPrimaryKeyringMnemonic.bind(this),preinstalledSnaps:pt.default,getFeatureFlags:()=>({disableSnaps:!1===this.preferencesController.store.getState().useExternalServices})}),this.notificationController=new U.NotificationController({messenger:this.controllerMessenger.getRestricted({name:"NotificationController"}),state:s.NotificationController}),this.rateLimitController=new F.RateLimitController({state:s.RateLimitController,messenger:this.controllerMessenger.getRestricted({name:"RateLimitController"}),implementations:{showNativeNotification:{method:(e,t)=>{const r=this.controllerMessenger.call("SubjectMetadataController:getState").subjectMetadata[e];return this.platform._showNotification((null==r?void 0:r.name)??e,t).catch((e=>{v.default.error("Failed to create notification",e)})),null},rateLimitCount:2,rateLimitTimeout:3e5},showInAppNotification:{method:(e,t)=>(this.controllerMessenger.call("NotificationController:show",e,t),null),rateLimitCount:5,rateLimitTimeout:6e4}}});const je=this.controllerMessenger.getRestricted({name:"CronjobController",allowedEvents:["SnapController:snapInstalled","SnapController:snapUpdated","SnapController:snapUninstalled","SnapController:snapEnabled","SnapController:snapDisabled"],allowedActions:[`${this.permissionController.name}:getPermissions`,"SnapController:handleRequest","SnapController:getAll"]});this.cronjobController=new G.CronjobController({state:s.CronjobController,messenger:je});const Oe=this.controllerMessenger.getRestricted({name:"SnapsRegistry",allowedEvents:[],allowedActions:[]});this.snapsRegistry=new G.JsonSnapsRegistry({state:s.SnapsRegistry,messenger:Oe,refetchOnAllowlistMiss:Me,url:{registry:"https://acl.execution.metamask.io/latest/registry.json",signature:"https://acl.execution.metamask.io/latest/signature.json"},publicKey:"0x025b65308f0f0fb8bc7f7ff87bfc296e0330eee5d3c1d1ee4a048b2fd6a86fa0a6"});const xe=this.controllerMessenger.getRestricted({name:"SnapInterfaceController",allowedActions:[`${this.phishingController.name}:maybeUpdateState`,`${this.phishingController.name}:testOrigin`]});this.snapInterfaceController=new G.SnapInterfaceController({state:s.SnapInterfaceController,messenger:xe}),this.authenticationController=new ft.default({state:s.AuthenticationController,messenger:this.controllerMessenger.getRestricted({name:"AuthenticationController",allowedActions:["KeyringController:getState","SnapController:handleRequest","UserStorageController:disableProfileSyncing"],allowedEvents:["KeyringController:lock","KeyringController:unlock"]}),metametrics:{getMetaMetricsId:()=>this.metaMetricsController.getMetaMetricsId()}}),this.userStorageController=new gt.default({getMetaMetricsState:()=>this.metaMetricsController.state.participateInMetaMetrics,state:s.UserStorageController,messenger:this.controllerMessenger.getRestricted({name:"UserStorageController",allowedActions:["KeyringController:getState","SnapController:handleRequest","AuthenticationController:getBearerToken","AuthenticationController:getSessionProfile","AuthenticationController:isSignedIn","AuthenticationController:performSignOut","AuthenticationController:performSignIn","MetamaskNotificationsController:disableMetamaskNotifications","MetamaskNotificationsController:selectIsMetamaskNotificationsEnabled"],allowedEvents:["KeyringController:lock","KeyringController:unlock"]})});const Be=this.controllerMessenger.getRestricted({name:"PushPlatformNotificationsController",allowedActions:["AuthenticationController:getBearerToken"]});this.pushPlatformNotificationsController=new vt.PushPlatformNotificationsController({state:s.PushPlatformNotificationsController,messenger:Be}),Be.subscribe("PushPlatformNotificationsController:onNewNotifications",(e=>{this.metaMetricsController.trackEvent({event:ue.MetaMetricsEventName.PushNotificationReceived,category:ue.MetaMetricsEventCategory.PushNotifications,properties:{notification_type:e.type,chain_id:null==e?void 0:e.chain_id}})})),Be.subscribe("PushPlatformNotificationsController:pushNotificationClicked",(e=>{this.metaMetricsController.trackEvent({event:ue.MetaMetricsEventName.PushNotificationClicked,category:ue.MetaMetricsEventCategory.PushNotifications,properties:{notification_type:e.type,chain_id:null==e?void 0:e.chain_id}})})),this.metamaskNotificationsController=new wt.MetamaskNotificationsController({messenger:this.controllerMessenger.getRestricted({name:"MetamaskNotificationsController",allowedActions:["KeyringController:getAccounts","KeyringController:getState","AuthenticationController:getBearerToken","AuthenticationController:isSignedIn","UserStorageController:enableProfileSyncing","UserStorageController:getStorageKey","UserStorageController:performGetStorage","UserStorageController:performSetStorage","PushPlatformNotificationsController:enablePushNotifications","PushPlatformNotificationsController:disablePushNotifications","PushPlatformNotificationsController:updateTriggerPushNotifications"],allowedEvents:["KeyringController:stateChange","KeyringController:lock","KeyringController:unlock","PushPlatformNotificationsController:onNewNotifications"]}),state:s.MetamaskNotificationsController}),this.accountTracker=new Re.default({provider:this.provider,blockTracker:this.blockTracker,getCurrentChainId:()=>this.networkController.state.providerConfig.chainId,getNetworkIdentifier:e=>{const{type:t,rpcUrl:r}=e??this.networkController.state.providerConfig;return t===ne.NETWORK_TYPES.RPC?r:t},preferencesController:this.preferencesController,onboardingController:this.onboardingController,controllerMessenger:this.controllerMessenger.getRestricted({name:"AccountTracker",allowedEvents:["AccountsController:selectedAccountChange"],allowedActions:["AccountsController:getSelectedAccount"]}),initState:{accounts:{}},onAccountRemoved:this.controllerMessenger.subscribe.bind(this.controllerMessenger,"KeyringController:accountRemoved")}),this.on("controllerConnectionChanged",(e=>{const{completedOnboarding:t}=this.onboardingController.store.getState();e>0&&t?this.triggerNetworkrequests():this.stopNetworkRequests()})),this.onboardingController.store.subscribe((0,Xe.previousValueComparator)((async(e,t)=>{const{completedOnboarding:r}=e,{completedOnboarding:n}=t;if(!r&&n){const{address:e}=this.accountsController.getSelectedAccount();this._addAccountsWithBalance(),this.postOnboardingInitialization(),this.triggerNetworkrequests(),await this.tokenDetectionController.detectTokens({selectedAddress:e})}}),this.onboardingController.store.getState())),this.desktopController=new q.DesktopController({initState:s.DesktopController});const De=this.controllerMessenger.getRestricted({name:"TokenDetectionController",allowedActions:["AccountsController:getSelectedAccount","KeyringController:getState","NetworkController:getNetworkClientById","NetworkController:getNetworkConfigurationByNetworkClientId","NetworkController:getState","PreferencesController:getState","TokenListController:getState","TokensController:getState","TokensController:addDetectedTokens"],allowedEvents:["AccountsController:selectedAccountChange","KeyringController:lock","KeyringController:unlock","NetworkController:networkDidChange","PreferencesController:stateChange","TokenListController:stateChange"]});this.tokenDetectionController=new i.TokenDetectionController({messenger:De,getBalancesInSingleCall:this.assetsContractController.getBalancesInSingleCall.bind(this.assetsContractController),trackMetaMetricsEvent:this.metaMetricsController.trackEvent.bind(this.metaMetricsController)}),this.addressBookController=new A.AddressBookController(undefined,s.AddressBookController),this.alertController=new $e.default({initState:s.AlertController,preferencesStore:this.preferencesController.store,controllerMessenger:this.controllerMessenger.getRestricted({name:"AlertController",allowedEvents:["AccountsController:selectedAccountChange"],allowedActions:["AccountsController:getSelectedAccount"]})}),this.backup=new qe.default({preferencesController:this.preferencesController,addressBookController:this.addressBookController,accountsController:this.accountsController,networkController:this.networkController,trackMetaMetricsEvent:this.metaMetricsController.trackEvent.bind(this.metaMetricsController)}),this.snapAndHardwareMetricsParams={getSelectedAccount:this.accountsController.getSelectedAccount.bind(this.accountsController),getAccountType:this.getAccountType.bind(this),getDeviceModel:this.getDeviceModel.bind(this),snapAndHardwareMessenger:this.controllerMessenger.getRestricted({name:"SnapAndHardwareMessenger",allowedActions:["KeyringController:getKeyringForAccount","SnapController:get","AccountsController:getSelectedAccount"]})};const Ue=this.controllerMessenger.getRestricted({name:"TransactionController",allowedActions:[`${this.approvalController.name}:addRequest`,"NetworkController:findNetworkClientIdByChainId","NetworkController:getNetworkClientById"],allowedEvents:["NetworkController:stateChange"]});this.txController=new X.TransactionController({blockTracker:this.blockTracker,getCurrentNetworkEIP1559Compatibility:this.networkController.getEIP1559Compatibility.bind(this.networkController),getCurrentAccountEIP1559Compatibility:this.getCurrentAccountEIP1559Compatibility.bind(this),getExternalPendingTransactions:this.getExternalPendingTransactions.bind(this),getGasFeeEstimates:this.gasFeeController.fetchGasFeeEstimates.bind(this.gasFeeController),getNetworkClientRegistry:this.networkController.getNetworkClientRegistry.bind(this.networkController),getNetworkState:()=>this.networkController.state,getPermittedAccounts:this.getPermittedAccounts.bind(this),getSavedGasFees:()=>this.preferencesController.store.getState().advancedGasFee[this.networkController.state.providerConfig.chainId],getSelectedAddress:()=>this.accountsController.getSelectedAccount().address,incomingTransactions:{includeTokenTransfers:!1,isEnabled:()=>{var e;return Boolean((null===(e=this.preferencesController.store.getState().incomingTransactionsPreferences)||void 0===e?void 0:e[this.networkController.state.providerConfig.chainId])&&this.onboardingController.store.getState().completedOnboarding)},queryEntireHistory:!1,updateTransactions:!1},isMultichainEnabled:"",isSimulationEnabled:()=>this.preferencesController.store.getState().useTransactionSimulations,messenger:Ue,onNetworkStateChange:e=>{l.subscribe("NetworkController:networkDidChange",(()=>e()))},pendingTransactions:{isResubmitEnabled:()=>{const e=this._getMetaMaskState();return!((0,ke.getSmartTransactionsOptInStatus)(e)&&(0,ke.getCurrentChainSupportsSmartTransactions)(e))}},provider:this.provider,testGasFeeFlows:!1,hooks:{publish:this._publishSmartTransactionHook.bind(this)},sign:(...e)=>this.keyringController.signTransaction(...e),state:s.TransactionController}),this._addTransactionControllerListeners(),this.decryptMessageController=new Ve.default({getState:this.getState.bind(this),messenger:this.controllerMessenger.getRestricted({name:"DecryptMessageController",allowedActions:[`${this.approvalController.name}:addRequest`,`${this.approvalController.name}:acceptRequest`,`${this.approvalController.name}:rejectRequest`,`${this.keyringController.name}:decryptMessage`]}),metricsEvent:this.metaMetricsController.trackEvent.bind(this.metaMetricsController)}),this.encryptionPublicKeyController=new tt.default({messenger:this.controllerMessenger.getRestricted({name:"EncryptionPublicKeyController",allowedActions:[`${this.approvalController.name}:addRequest`,`${this.approvalController.name}:acceptRequest`,`${this.approvalController.name}:rejectRequest`]}),getEncryptionPublicKey:this.keyringController.getEncryptionPublicKey.bind(this.keyringController),getAccountKeyringType:this.keyringController.getAccountKeyringType.bind(this.keyringController),getState:this.getState.bind(this),metricsEvent:this.metaMetricsController.trackEvent.bind(this.metaMetricsController)}),this.signatureController=new $.SignatureController({messenger:this.controllerMessenger.getRestricted({name:"SignatureController",allowedActions:[`${this.approvalController.name}:addRequest`,`${this.keyringController.name}:signMessage`,`${this.keyringController.name}:signPersonalMessage`,`${this.keyringController.name}:signTypedMessage`,`${this.loggingController.name}:add`]}),isEthSignEnabled:()=>{var e;return null===(e=this.preferencesController.store.getState())||void 0===e||null===(e=e.disabledRpcMethodPreferences)||void 0===e?void 0:e.eth_sign},getAllState:this.getState.bind(this),getCurrentChainId:()=>this.networkController.state.providerConfig.chainId}),this.signatureController.hub.on("cancelWithReason",(({message:e,reason:t})=>{this.metaMetricsController.trackEvent({event:t,category:ue.MetaMetricsEventCategory.Transactions,properties:{action:"Sign Request",type:e.type}})})),this.swapsController=new ze.default({getBufferedGasLimit:async(e,t)=>{const{gas:r,simulationFails:n}=await this.txController.estimateGasBuffered(e.txParams,t);return{gasLimit:r,simulationFails:n}},provider:this.provider,getProviderConfig:()=>this.networkController.state.providerConfig,getTokenRatesState:()=>this.tokenRatesController.state,getCurrentChainId:()=>this.networkController.state.providerConfig.chainId,getEIP1559GasFeeEstimates:this.gasFeeController.fetchGasFeeEstimates.bind(this.gasFeeController),getLayer1GasFee:this.txController.getLayer1GasFee.bind(this.txController),getNetworkClientId:()=>this.networkController.state.selectedNetworkClientId,trackMetaMetricsEvent:this.metaMetricsController.trackEvent.bind(this.metaMetricsController)},s.SwapsController),this.smartTransactionsController=new x.default({getNetworkClientById:this.networkController.getNetworkClientById.bind(this.networkController),onNetworkStateChange:l.subscribe.bind(l,"NetworkController:stateChange"),getNonceLock:this.txController.getNonceLock.bind(this.txController),confirmExternalTransaction:this.txController.confirmExternalTransaction.bind(this.txController),getTransactions:this.txController.getTransactions.bind(this.txController),provider:this.provider,trackMetaMetricsEvent:this.metaMetricsController.trackEvent.bind(this.metaMetricsController)},{supportedChainIds:(0,se.getAllowedSmartTransactionsChainIds)()},s.SmartTransactionsController);const Ge=()=>this.preferencesController.store.getState().useExternalNameSources;this.nameController=new J.NameController({messenger:this.controllerMessenger.getRestricted({name:"NameController",allowedActions:[]}),providers:[new J.ENSNameProvider({reverseLookup:this.ensController.reverseResolveAddress.bind(this.ensController)}),new J.EtherscanNameProvider({isEnabled:Ge}),new J.TokenNameProvider({isEnabled:Ge}),new J.LensNameProvider({isEnabled:Ge}),new Te.SnapsNameProvider({messenger:this.controllerMessenger.getRestricted({name:"SnapsNameProvider",allowedActions:["SnapController:getAll","SnapController:get","SnapController:handleRequest","PermissionController:getState"]})})],state:s.NameController});const Qe=this.controllerMessenger.getRestricted({name:"PetnamesBridge",allowedEvents:["NameController:stateChange","AccountsController:stateChange"],allowedActions:["AccountsController:listAccounts"]});new Ae.AddressBookPetnamesBridge({addressBookController:this.addressBookController,nameController:this.nameController,messenger:Qe}).init(),new Ee.AccountIdentitiesPetnamesBridge({nameController:this.nameController,messenger:Qe}).init(),this.userOperationController=new Q.UserOperationController({entrypoint:"0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789",getGasFeeEstimates:this.gasFeeController.fetchGasFeeEstimates.bind(this.gasFeeController),messenger:this.controllerMessenger.getRestricted({name:"UserOperationController",allowedActions:["ApprovalController:addRequest","NetworkController:getNetworkClientById","KeyringController:prepareUserOperation","KeyringController:patchUserOperation","KeyringController:signUserOperation"]}),state:s.UserOperationController}),this.userOperationController.hub.on("user-operation-added",this._onUserOperationAdded.bind(this)),this.userOperationController.hub.on("transaction-updated",this._onUserOperationTransactionUpdated.bind(this)),l.subscribe("NetworkController:networkDidChange",(()=>{this.accountTracker.updateAccounts()})),l.subscribe("NetworkController:networkWillChange",a.bind(this)),this.metamaskMiddleware=(0,Ze.default)({static:{eth_syncing:!1,web3_clientVersion:`MetaMask/v${o}`},version:o,getAccounts:async({origin:e},{suppressUnauthorizedError:t=!0}={})=>{if(e===de.ORIGIN_METAMASK){const e=this.accountsController.getSelectedAccount().address;return e?[e]:[]}return this.isUnlocked()?await this.getPermittedAccounts(e,{suppressUnauthorizedError:t}):[]},processTransaction:(e,t)=>(0,ut.addDappTransaction)(this.getAddTransactionRequest({transactionParams:e,dappRequest:t})),processEthSignMessage:this.signatureController.newUnsignedMessage.bind(this.signatureController),processTypedMessage:this.signatureController.newUnsignedTypedMessage.bind(this.signatureController),processTypedMessageV3:this.signatureController.newUnsignedTypedMessage.bind(this.signatureController),processTypedMessageV4:this.signatureController.newUnsignedTypedMessage.bind(this.signatureController),processPersonalMessage:this.signatureController.newUnsignedPersonalMessage.bind(this.signatureController),processEncryptionPublicKey:this.encryptionPublicKeyController.newRequestEncryptionPublicKey.bind(this.encryptionPublicKeyController),processDecryptMessage:this.decryptMessageController.newRequestDecryptMessage.bind(this.decryptMessageController),getPendingNonce:this.getPendingNonce.bind(this),getPendingTransactionByHash:e=>this.txController.state.transactions.find((t=>t.hash===e&&t.status===X.TransactionStatus.submitted))}),this.on("update",(e=>this._onStateUpdate(e)));const st={AccountTracker:this.accountTracker.store,TokenRatesController:this.tokenRatesController,DecryptMessageController:this.decryptMessageController,EncryptionPublicKeyController:this.encryptionPublicKeyController,SignatureController:this.signatureController,SwapsController:this.swapsController.store,EnsController:this.ensController,ApprovalController:this.approvalController,PPOMController:this.ppomController};this.store.updateStructure({AccountsController:this.accountsController,AppStateController:this.appStateController.store,AppMetadataController:this.appMetadataController.store,TransactionController:this.txController,KeyringController:this.keyringController,PreferencesController:this.preferencesController.store,MetaMetricsController:this.metaMetricsController.store,AddressBookController:this.addressBookController,CurrencyController:this.currencyRateController,NetworkController:this.networkController,AlertController:this.alertController.store,OnboardingController:this.onboardingController.store,PermissionController:this.permissionController,PermissionLogController:this.permissionLogController,SubjectMetadataController:this.subjectMetadataController,AnnouncementController:this.announcementController,NetworkOrderController:this.networkOrderController,AccountOrderController:this.accountOrderController,GasFeeController:this.gasFeeController,TokenListController:this.tokenListController,TokensController:this.tokensController,SmartTransactionsController:this.smartTransactionsController,NftController:this.nftController,PhishingController:this.phishingController,SelectedNetworkController:this.selectedNetworkController,LoggingController:this.loggingController,SnapController:this.snapController,CronjobController:this.cronjobController,SnapsRegistry:this.snapsRegistry,NotificationController:this.notificationController,SnapInterfaceController:this.snapInterfaceController,DesktopController:this.desktopController.store,PPOMController:this.ppomController,NameController:this.nameController,UserOperationController:this.userOperationController,AuthenticationController:this.authenticationController,UserStorageController:this.userStorageController,MetamaskNotificationsController:this.metamaskNotificationsController,PushPlatformNotificationsController:this.pushPlatformNotificationsController,...st}),this.memStore=new Ie.default({config:{AccountsController:this.accountsController,AppStateController:this.appStateController.store,AppMetadataController:this.appMetadataController.store,NetworkController:this.networkController,KeyringController:this.keyringController,PreferencesController:this.preferencesController.store,MetaMetricsController:this.metaMetricsController.store,AddressBookController:this.addressBookController,CurrencyController:this.currencyRateController,AlertController:this.alertController.store,OnboardingController:this.onboardingController.store,PermissionController:this.permissionController,PermissionLogController:this.permissionLogController,SubjectMetadataController:this.subjectMetadataController,AnnouncementController:this.announcementController,NetworkOrderController:this.networkOrderController,AccountOrderController:this.accountOrderController,GasFeeController:this.gasFeeController,TokenListController:this.tokenListController,TokensController:this.tokensController,SmartTransactionsController:this.smartTransactionsController,NftController:this.nftController,SelectedNetworkController:this.selectedNetworkController,LoggingController:this.loggingController,TxController:this.txController,SnapController:this.snapController,CronjobController:this.cronjobController,SnapsRegistry:this.snapsRegistry,NotificationController:this.notificationController,SnapInterfaceController:this.snapInterfaceController,DesktopController:this.desktopController.store,NameController:this.nameController,UserOperationController:this.userOperationController,AuthenticationController:this.authenticationController,UserStorageController:this.userStorageController,MetamaskNotificationsController:this.metamaskNotificationsController,QueuedRequestController:this.queuedRequestController,PushPlatformNotificationsController:this.pushPlatformNotificationsController,...st},controllerMessenger:this.controllerMessenger});const ot=[this.accountTracker.resetState,this.decryptMessageController.resetState.bind(this.decryptMessageController),this.encryptionPublicKeyController.resetState.bind(this.encryptionPublicKeyController),this.signatureController.resetState.bind(this.signatureController),this.swapsController.resetState,this.ensController.resetState.bind(this.ensController),this.approvalController.clear.bind(this.approvalController)];we.isManifestV3?!0===n&&(this.resetStates(ot),this.extension.storage.session.set({isFirstMetaMaskControllerSetup:!1})):this.resetStates(ot);!this.isUnlocked()&&this.onboardingController.store.getState().completedOnboarding,this._startUISync(),this.extension.runtime.getPlatformInfo().then((({os:e})=>{this.appStateController.setBrowserEnvironment(e,this.extension.runtime.getBrowserInfo===undefined?"chrome":"firefox")})),this.setupControllerEventSubscriptions(),this.publicConfigStore=this.createPublicConfigStore(),this.extension.runtime.onMessageExternal.addListener(Ne.onMessageReceived),(0,Ne.checkForMultipleVersionsRunning)(),this.onboardingController.store.getState().completedOnboarding&&this.postOnboardingInitialization()}postOnboardingInitialization(){const{usePhishDetect:e}=this.preferencesController.store.getState();this.networkController.lookupNetwork(),e&&this.phishingController.maybeUpdateState()}triggerNetworkrequests(){this.accountTracker.start(),this.txController.startIncomingTransactionPolling(),this.tokenDetectionController.enable();const e=this.preferencesController.store.getState(),{useCurrencyRateCheck:t,useNftDetection:r}=e;r&&this.nftDetectionController.start(),t&&this.tokenRatesController.start(),Tt(this,Mt,Rt).call(this,e)&&this.tokenListController.start()}stopNetworkRequests(){this.accountTracker.stop(),this.txController.stopIncomingTransactionPolling(),this.tokenDetectionController.disable(),this.nftDetectionController.stop();const e=this.preferencesController.store.getState(),{useCurrencyRateCheck:t}=e;t&&this.tokenRatesController.stop(),Tt(this,Mt,Rt).call(this,e)&&this.tokenListController.stop()}resetStates(e){e.forEach((e=>{try{e()}catch(e){console.error(e)}}))}async getSnapKeyring(){let[e]=this.keyringController.getKeyringsByType(oe.KeyringType.snap);return e||(e=await this.keyringController.addNewKeyring(oe.KeyringType.snap)),e}trackInsightSnapView(e){this.metaMetricsController.trackEvent({event:ue.MetaMetricsEventName.InsightSnapViewed,category:ue.MetaMetricsEventCategory.Snaps,properties:{snap_id:e}})}_getSnapMetadata(e){var t;return null===(t=this.snapsRegistry.state.database)||void 0===t||null===(t=t.verifiedSnaps)||void 0===t||null===(t=t[e])||void 0===t?void 0:t.metadata}async handleSnapRequest(e){try{const t=await this.controllerMessenger.call("SnapController:handleRequest",e);return this._trackSnapExportUsage(e.snapId,e.handler,!0,e.origin),t}catch(t){throw this._trackSnapExportUsage(e.snapId,e.handler,!1,e.origin),t}}getLocale(){const{currentLocale:e}=this.preferencesController.store.getState();return e}getSnapPermissionSpecifications(){return{...(0,K.buildSnapEndowmentSpecifications)(Object.keys(ae.ExcludedSnapEndowments)),...(0,K.buildSnapRestrictedMethodSpecifications)(Object.keys(ae.ExcludedSnapPermissions),{getLocale:this.getLocale.bind(this),clearSnapState:this.controllerMessenger.call.bind(this.controllerMessenger,"SnapController:clearSnapState"),getMnemonic:this.getPrimaryKeyringMnemonic.bind(this),getUnlockPromise:this.appStateController.getUnlockPromise.bind(this.appStateController),getSnap:this.controllerMessenger.call.bind(this.controllerMessenger,"SnapController:get"),handleSnapRpcRequest:this.handleSnapRequest.bind(this),getSnapState:this.controllerMessenger.call.bind(this.controllerMessenger,"SnapController:getSnapState"),showDialog:(e,t,r,n)=>this.approvalController.addAndShowApprovalRequest({origin:e,type:de.SNAP_DIALOG_TYPES[t],requestData:{id:r,placeholder:n}}),showNativeNotification:(e,t)=>this.controllerMessenger.call("RateLimitController:call",e,"showNativeNotification",e,t.message),showInAppNotification:(e,t)=>this.controllerMessenger.call("RateLimitController:call",e,"showInAppNotification",e,t.message),updateSnapState:this.controllerMessenger.call.bind(this.controllerMessenger,"SnapController:updateSnapState"),maybeUpdatePhishingList:()=>{const{usePhishDetect:e}=this.preferencesController.store.getState();e&&this.controllerMessenger.call("PhishingController:maybeUpdateState")},isOnPhishingList:e=>{const{usePhishDetect:t}=this.preferencesController.store.getState();return!!t&&this.controllerMessenger.call("PhishingController:testOrigin",e).result},createInterface:this.controllerMessenger.call.bind(this.controllerMessenger,"SnapInterfaceController:createInterface"),getInterface:this.controllerMessenger.call.bind(this.controllerMessenger,"SnapInterfaceController:getInterface"),getSnapKeyring:this.getSnapKeyring.bind(this)})}}dismissNotifications(e){this.notificationController.dismiss(e)}markNotificationsAsRead(e){this.notificationController.markRead(e)}setupControllerEventSubscriptions(){let e;this.preferencesController.store.subscribe((0,Xe.previousValueComparator)(((e,t)=>{Tt(this,At,Nt).call(this,t,e)}),this.preferencesController.store.getState())),this.controllerMessenger.subscribe(`${this.accountsController.name}:selectedAccountChange`,(async t=>{t.address&&t.address!==e&&(e=t.address,await this._onAccountChange(t.address))})),this.controllerMessenger.subscribe(`${this.permissionController.name}:stateChange`,(async(e,t)=>{const r=(0,nt.getChangedAccounts)(e,t);for(const[e,t]of r.entries())this._notifyAccountsChange(e,t)}),nt.getPermittedAccountsByOrigin),this.controllerMessenger.subscribe("NetworkController:networkDidChange",(async()=>{await this.txController.updateIncomingTransactions()})),this.controllerMessenger.subscribe(`${this.snapController.name}:snapInstallStarted`,((e,t,r)=>{var n;const s=null===(n=this._getSnapMetadata(e))||void 0===n?void 0:n.category;this.metaMetricsController.trackEvent({event:r?ue.MetaMetricsEventName.SnapUpdateStarted:ue.MetaMetricsEventName.SnapInstallStarted,category:ue.MetaMetricsEventCategory.Snaps,properties:{snap_id:e,origin:t,snap_category:s}})})),this.controllerMessenger.subscribe(`${this.snapController.name}:snapInstallFailed`,((e,t,r,n)=>{var s;const i=n.includes("User rejected the request."),o=r?ue.MetaMetricsEventName.SnapUpdateFailed:ue.MetaMetricsEventName.SnapInstallFailed,a=r?ue.MetaMetricsEventName.SnapUpdateRejected:ue.MetaMetricsEventName.SnapInstallRejected,l=null===(s=this._getSnapMetadata(e))||void 0===s?void 0:s.category;this.metaMetricsController.trackEvent({event:i?a:o,category:ue.MetaMetricsEventCategory.Snaps,properties:{snap_id:e,origin:t,snap_category:l}})})),this.controllerMessenger.subscribe(`${this.snapController.name}:snapInstalled`,((e,t)=>{var r;const n=e.id,s=null===(r=this._getSnapMetadata(n))||void 0===r?void 0:r.category;this.metaMetricsController.trackEvent({event:ue.MetaMetricsEventName.SnapInstalled,category:ue.MetaMetricsEventCategory.Snaps,properties:{snap_id:n,version:e.version,origin:t,snap_category:s}})})),this.controllerMessenger.subscribe(`${this.snapController.name}:snapUpdated`,((e,t,r)=>{var n;const s=e.id,i=null===(n=this._getSnapMetadata(s))||void 0===n?void 0:n.category;this.metaMetricsController.trackEvent({event:ue.MetaMetricsEventName.SnapUpdated,category:ue.MetaMetricsEventCategory.Snaps,properties:{snap_id:s,old_version:t,new_version:e.version,origin:r,snap_category:i}})})),this.controllerMessenger.subscribe(`${this.snapController.name}:snapTerminated`,(e=>{const t=Object.values(this.approvalController.state.pendingApprovals).filter((t=>t.origin===e.id&&t.type.startsWith(ae.RestrictedMethods.snap_dialog)));for(const e of t)this.approvalController.reject(e.id,new Error("Snap was terminated."))})),this.controllerMessenger.subscribe(`${this.snapController.name}:snapUninstalled`,(e=>{var t;const r=Object.values(this.notificationController.state.notifications).reduce(((t,r)=>(r.origin===e.id&&t.push(r.id),t)),[]);this.dismissNotifications(r);const n=e.id,s=null===(t=this._getSnapMetadata(n))||void 0===t?void 0:t.category;this.metaMetricsController.trackEvent({event:ue.MetaMetricsEventName.SnapUninstalled,category:ue.MetaMetricsEventCategory.Snaps,properties:{snap_id:n,version:e.version,snap_category:s}})}))}createPublicConfigStore(){const e=new o.ObservableStore,t=async({isUnlocked:e})=>{const{chainId:t,networkVersion:r}=await this.getProviderNetworkState();return{isUnlocked:e,chainId:t,networkVersion:r??"loading"}},r=async r=>{var n;(null===(n=r.networksMetadata[r.selectedNetworkClientId])||void 0===n?void 0:n.status)===ne.NetworkStatus.Available&&e.putState(await t(r))};return this.on("update",r),r(this.getState()),e}async getProviderState(e){const t=await this.getProviderNetworkState(this.preferencesController.getUseRequestQueue()?e:undefined);return{isUnlocked:this.isUnlocked(),accounts:await this.getPermittedAccounts(e),...t}}async getProviderNetworkState(e=B.METAMASK_DOMAIN){const t=this.controllerMessenger.call("SelectedNetworkController:getNetworkClientIdForDomain",e),r=this.controllerMessenger.call("NetworkController:getNetworkClientById",t),{chainId:n}=r.configuration,{completedOnboarding:s}=this.onboardingController.store.getState();let i=this.deprecatedNetworkVersions[t];if(!i&&s){const e=new C.default(r.provider);i=await new Promise((t=>{e.sendAsync({method:"net_version"},((e,r)=>{e?(console.error(e),t(null)):t((0,ye.convertNetworkId)(r))}))})),this.deprecatedNetworkVersions[t]=i}return{chainId:n,networkVersion:i??"loading"}}getState(){const{vault:e}=this.keyringController.state,t=Boolean(e),r=this.memStore.getFlatState();return delete r.vault,{isInitialized:t,...r,snapStates:{},unencryptedSnapStates:{},snaps:Object.values(r.snaps??{}).reduce(((e,t)=>{const{sourceCode:r,auxiliaryFiles:n,...s}=t;return e[t.id]=s,e}),{})}}getApi(){const{accountsController:e,addressBookController:t,alertController:r,appStateController:n,keyringController:s,nftController:i,nftDetectionController:o,currencyRateController:a,tokenDetectionController:l,ensController:c,gasFeeController:d,metaMetricsController:u,networkController:h,announcementController:p,onboardingController:m,appMetadataController:f,permissionController:g,preferencesController:v,swapsController:w,tokensController:y,smartTransactionsController:k,txController:b,assetsContractController:C,backup:_,approvalController:S,phishingController:T,authenticationController:A,userStorageController:E,metamaskNotificationsController:M,pushPlatformNotificationsController:P}=this;return{getState:this.getState.bind(this),setCurrentCurrency:a.setCurrentCurrency.bind(a),setUseBlockie:v.setUseBlockie.bind(v),setUseNonceField:v.setUseNonceField.bind(v),setUsePhishDetect:v.setUsePhishDetect.bind(v),setUseMultiAccountBalanceChecker:v.setUseMultiAccountBalanceChecker.bind(v),dismissOpenSeaToBlockaidBanner:v.dismissOpenSeaToBlockaidBanner.bind(v),setUseSafeChainsListValidation:v.setUseSafeChainsListValidation.bind(v),setUseTokenDetection:v.setUseTokenDetection.bind(v),setUseNftDetection:v.setUseNftDetection.bind(v),setUse4ByteResolution:v.setUse4ByteResolution.bind(v),setUseCurrencyRateCheck:v.setUseCurrencyRateCheck.bind(v),setOpenSeaEnabled:v.setOpenSeaEnabled.bind(v),getUseRequestQueue:this.preferencesController.getUseRequestQueue.bind(this.preferencesController),getProviderConfig:()=>this.networkController.state.providerConfig,setSecurityAlertsEnabled:v.setSecurityAlertsEnabled.bind(v),setAddSnapAccountEnabled:v.setAddSnapAccountEnabled.bind(v),setUseExternalNameSources:v.setUseExternalNameSources.bind(v),setUseTransactionSimulations:v.setUseTransactionSimulations.bind(v),setUseRequestQueue:this.setUseRequestQueue.bind(this),setIpfsGateway:v.setIpfsGateway.bind(v),setIsIpfsGatewayEnabled:v.setIsIpfsGatewayEnabled.bind(v),setUseAddressBarEnsResolution:v.setUseAddressBarEnsResolution.bind(v),setParticipateInMetaMetrics:u.setParticipateInMetaMetrics.bind(u),setDataCollectionForMarketing:u.setDataCollectionForMarketing.bind(u),setCurrentLocale:v.setCurrentLocale.bind(v),setIncomingTransactionsPreferences:v.setIncomingTransactionsPreferences.bind(v),setServiceWorkerKeepAlivePreference:v.setServiceWorkerKeepAlivePreference.bind(v),markPasswordForgotten:this.markPasswordForgotten.bind(this),unMarkPasswordForgotten:this.unMarkPasswordForgotten.bind(this),getRequestAccountTabIds:this.getRequestAccountTabIds,getOpenMetamaskTabsIds:this.getOpenMetamaskTabsIds,markNotificationPopupAsAutomaticallyClosed:()=>this.notificationManager.markAsAutomaticallyClosed(),requestUserApproval:S.addAndShowApprovalRequest.bind(S),addNewAccount:this.addNewAccount.bind(this),getSeedPhrase:this.getSeedPhrase.bind(this),resetAccount:this.resetAccount.bind(this),removeAccount:this.removeAccount.bind(this),importAccountWithStrategy:this.importAccountWithStrategy.bind(this),getNextAvailableAccountName:e.getNextAvailableAccountName.bind(e),getAccountsBySnapId:e=>(0,ct.getAccountsBySnapId)(this,e),connectHardware:this.connectHardware.bind(this),forgetDevice:this.forgetDevice.bind(this),checkHardwareStatus:this.checkHardwareStatus.bind(this),unlockHardwareWalletAccount:this.unlockHardwareWalletAccount.bind(this),attemptLedgerTransportCreation:this.attemptLedgerTransportCreation.bind(this),submitQRHardwareCryptoHDKey:s.submitQRCryptoHDKey.bind(s),submitQRHardwareCryptoAccount:s.submitQRCryptoAccount.bind(s),cancelSyncQRHardware:s.cancelQRSynchronization.bind(s),submitQRHardwareSignature:s.submitQRSignature.bind(s),cancelQRHardwareSignRequest:s.cancelQRSignRequest.bind(s),submitPassword:this.submitPassword.bind(this),verifyPassword:this.verifyPassword.bind(this),setProviderType:e=>this.networkController.setProviderType(e),setActiveNetwork:e=>this.networkController.setActiveNetwork(e),setActiveNetworkConfigurationId:e=>{this.networkController.setActiveNetwork(e)},setNetworkClientIdForDomain:(e,t)=>this.selectedNetworkController.setNetworkClientIdForDomain(e,t),rollbackToPreviousProvider:h.rollbackToPreviousProvider.bind(h),removeNetworkConfiguration:this.removeNetworkConfiguration.bind(this),upsertNetworkConfiguration:this.networkController.upsertNetworkConfiguration.bind(this.networkController),getCurrentNetworkEIP1559Compatibility:this.networkController.getEIP1559Compatibility.bind(this.networkController),getNetworkConfigurationByNetworkClientId:this.networkController.getNetworkConfigurationByNetworkClientId.bind(this.networkController),setSelectedAddress:e=>{const t=this.accountsController.getAccountByAddress(e);if(!t)throw new Error(`No account found for address: ${e}`);this.accountsController.setSelectedAccount(t.id)},toggleExternalServices:this.toggleExternalServices.bind(this),addToken:y.addToken.bind(y),updateTokenType:y.updateTokenType.bind(y),setFeatureFlag:v.setFeatureFlag.bind(v),setPreference:v.setPreference.bind(v),addKnownMethodData:v.addKnownMethodData.bind(v),setDismissSeedBackUpReminder:v.setDismissSeedBackUpReminder.bind(v),setDisabledRpcMethodPreference:v.setDisabledRpcMethodPreference.bind(v),getRpcMethodPreferences:v.getRpcMethodPreferences.bind(v),setAdvancedGasFee:v.setAdvancedGasFee.bind(v),setTheme:v.setTheme.bind(v),setSnapsAddSnapAccountModalDismissed:v.setSnapsAddSnapAccountModalDismissed.bind(v),setSelectedInternalAccount:e=>{this.accountsController.getAccount(e)&&this.accountsController.setSelectedAccount(e)},setAccountName:e.setAccountName.bind(e),setAccountLabel:(e,t)=>{this.preferencesController.setAccountLabel(e,t);const r=this.accountsController.getAccountByAddress(e);if(r===undefined)throw new Error(`No account found for address: ${e}`);this.accountsController.setAccountName(r.id,t)},getTokenStandardAndDetails:this.getTokenStandardAndDetails.bind(this),getTokenSymbol:this.getTokenSymbol.bind(this),addNft:i.addNft.bind(i),addNftVerifyOwnership:i.addNftVerifyOwnership.bind(i),removeAndIgnoreNft:i.removeAndIgnoreNft.bind(i),removeNft:i.removeNft.bind(i),checkAndUpdateAllNftsOwnershipStatus:i.checkAndUpdateAllNftsOwnershipStatus.bind(i),checkAndUpdateSingleNftOwnershipStatus:i.checkAndUpdateSingleNftOwnershipStatus.bind(i),isNftOwner:i.isNftOwner.bind(i),setAddressBook:t.set.bind(t),removeFromAddressBook:t.delete.bind(t),setLastActiveTime:n.setLastActiveTime.bind(n),setCurrentExtensionPopupId:n.setCurrentExtensionPopupId.bind(n),setDefaultHomeActiveTabName:n.setDefaultHomeActiveTabName.bind(n),setConnectedStatusPopoverHasBeenShown:n.setConnectedStatusPopoverHasBeenShown.bind(n),setRecoveryPhraseReminderHasBeenShown:n.setRecoveryPhraseReminderHasBeenShown.bind(n),setRecoveryPhraseReminderLastShown:n.setRecoveryPhraseReminderLastShown.bind(n),setTermsOfUseLastAgreed:n.setTermsOfUseLastAgreed.bind(n),setSurveyLinkLastClickedOrClosed:n.setSurveyLinkLastClickedOrClosed.bind(n),setOnboardingDate:n.setOnboardingDate.bind(n),setNewPrivacyPolicyToastClickedOrClosed:n.setNewPrivacyPolicyToastClickedOrClosed.bind(n),setNewPrivacyPolicyToastShownDate:n.setNewPrivacyPolicyToastShownDate.bind(n),setSnapsInstallPrivacyWarningShownStatus:n.setSnapsInstallPrivacyWarningShownStatus.bind(n),setOutdatedBrowserWarningLastShown:n.setOutdatedBrowserWarningLastShown.bind(n),setShowTestnetMessageInDropdown:n.setShowTestnetMessageInDropdown.bind(n),setShowBetaHeader:n.setShowBetaHeader.bind(n),setShowPermissionsTour:n.setShowPermissionsTour.bind(n),setShowAccountBanner:n.setShowAccountBanner.bind(n),setShowNetworkBanner:n.setShowNetworkBanner.bind(n),updateNftDropDownState:n.updateNftDropDownState.bind(n),setFirstTimeUsedNetwork:n.setFirstTimeUsedNetwork.bind(n),setSwitchedNetworkDetails:n.setSwitchedNetworkDetails.bind(n),clearSwitchedNetworkDetails:n.clearSwitchedNetworkDetails.bind(n),setSwitchedNetworkNeverShowMessage:n.setSwitchedNetworkNeverShowMessage.bind(n),tryReverseResolveAddress:c.reverseResolveAddress.bind(c),setLocked:this.setLocked.bind(this),createNewVaultAndKeychain:this.createNewVaultAndKeychain.bind(this),createNewVaultAndRestore:this.createNewVaultAndRestore.bind(this),exportAccount:this.exportAccount.bind(this),updateTransaction:b.updateTransaction.bind(b),approveTransactionsWithSameNonce:b.approveTransactionsWithSameNonce.bind(b),createCancelTransaction:this.createCancelTransaction.bind(this),createSpeedUpTransaction:this.createSpeedUpTransaction.bind(this),estimateGas:this.estimateGas.bind(this),getNextNonce:this.getNextNonce.bind(this),addTransaction:(e,t)=>(0,ut.addTransaction)(this.getAddTransactionRequest({transactionParams:e,transactionOptions:t,waitForSubmit:!1})),addTransactionAndWaitForPublish:(e,t)=>(0,ut.addTransaction)(this.getAddTransactionRequest({transactionParams:e,transactionOptions:t,waitForSubmit:!0})),createTransactionEventFragment:Ce.createTransactionEventFragmentWithTxId.bind(null,this.getTransactionMetricsRequest()),getTransactions:this.txController.getTransactions.bind(this.txController),updateEditableParams:this.txController.updateEditableParams.bind(this.txController),updateTransactionGasFees:b.updateTransactionGasFees.bind(b),updateTransactionSendFlowHistory:b.updateTransactionSendFlowHistory.bind(b),updatePreviousGasParams:b.updatePreviousGasParams.bind(b),abortTransactionSigning:b.abortTransactionSigning.bind(b),getLayer1GasFee:b.getLayer1GasFee.bind(b),decryptMessage:this.decryptMessageController.decryptMessage.bind(this.decryptMessageController),decryptMessageInline:this.decryptMessageController.decryptMessageInline.bind(this.decryptMessageController),cancelDecryptMessage:this.decryptMessageController.cancelDecryptMessage.bind(this.decryptMessageController),encryptionPublicKey:this.encryptionPublicKeyController.encryptionPublicKey.bind(this.encryptionPublicKeyController),cancelEncryptionPublicKey:this.encryptionPublicKeyController.cancelEncryptionPublicKey.bind(this.encryptionPublicKeyController),setShowTokenAutodetectModalOnUpgrade:f.setShowTokenAutodetectModalOnUpgrade.bind(f),setSeedPhraseBackedUp:m.setSeedPhraseBackedUp.bind(m),completeOnboarding:m.completeOnboarding.bind(m),setFirstTimeFlowType:m.setFirstTimeFlowType.bind(m),setAlertEnabledness:r.setAlertEnabledness.bind(r),setUnconnectedAccountAlertShown:r.setUnconnectedAccountAlertShown.bind(r),setWeb3ShimUsageAlertDismissed:r.setWeb3ShimUsageAlertDismissed.bind(r),removePermissionsFor:this.removePermissionsFor,approvePermissionsRequest:this.acceptPermissionsRequest,rejectPermissionsRequest:this.rejectPermissionsRequest,...(0,nt.getPermissionBackgroundApiMethods)(g),disableSnap:this.controllerMessenger.call.bind(this.controllerMessenger,"SnapController:disable"),enableSnap:this.controllerMessenger.call.bind(this.controllerMessenger,"SnapController:enable"),updateSnap:(e,t)=>(this.controllerMessenger.call("SnapController:install",e,t),null),removeSnap:this.controllerMessenger.call.bind(this.controllerMessenger,"SnapController:remove"),handleSnapRequest:this.handleSnapRequest.bind(this),revokeDynamicSnapPermissions:this.controllerMessenger.call.bind(this.controllerMessenger,"SnapController:revokeDynamicPermissions"),dismissNotifications:this.dismissNotifications.bind(this),markNotificationsAsRead:this.markNotificationsAsRead.bind(this),disconnectOriginFromSnap:this.controllerMessenger.call.bind(this.controllerMessenger,"SnapController:disconnectOrigin"),updateNetworksList:this.updateNetworksList.bind(this),updateAccountsList:this.updateAccountsList.bind(this),updateHiddenAccountsList:this.updateHiddenAccountsList.bind(this),getPhishingResult:async e=>(await T.maybeUpdateState(),T.test(e)),deleteInterface:this.controllerMessenger.call.bind(this.controllerMessenger,"SnapInterfaceController:deleteInterface"),updateInterfaceState:this.controllerMessenger.call.bind(this.controllerMessenger,"SnapInterfaceController:updateInterfaceState"),getDesktopEnabled:this.desktopController.getDesktopEnabled.bind(this.desktopController),setDesktopEnabled:this.desktopController.setDesktopEnabled.bind(this.desktopController),generateDesktopOtp:this.desktopController.generateOtp.bind(this.desktopController),testDesktopConnection:this.desktopController.testDesktopConnection.bind(this.desktopController),disableDesktop:this.desktopController.disableDesktop.bind(this.desktopController),fetchAndSetQuotes:w.fetchAndSetQuotes.bind(w),setSelectedQuoteAggId:w.setSelectedQuoteAggId.bind(w),resetSwapsState:w.resetSwapsState.bind(w),setSwapsTokens:w.setSwapsTokens.bind(w),clearSwapsQuotes:w.clearSwapsQuotes.bind(w),setApproveTxId:w.setApproveTxId.bind(w),setTradeTxId:w.setTradeTxId.bind(w),setSwapsTxGasPrice:w.setSwapsTxGasPrice.bind(w),setSwapsTxGasLimit:w.setSwapsTxGasLimit.bind(w),setSwapsTxMaxFeePerGas:w.setSwapsTxMaxFeePerGas.bind(w),setSwapsTxMaxFeePriorityPerGas:w.setSwapsTxMaxFeePriorityPerGas.bind(w),safeRefetchQuotes:w.safeRefetchQuotes.bind(w),stopPollingForQuotes:w.stopPollingForQuotes.bind(w),setBackgroundSwapRouteState:w.setBackgroundSwapRouteState.bind(w),resetPostFetchState:w.resetPostFetchState.bind(w),setSwapsErrorKey:w.setSwapsErrorKey.bind(w),setInitialGasEstimate:w.setInitialGasEstimate.bind(w),setCustomApproveTxData:w.setCustomApproveTxData.bind(w),setSwapsLiveness:w.setSwapsLiveness.bind(w),setSwapsFeatureFlags:w.setSwapsFeatureFlags.bind(w),setSwapsUserFeeLevel:w.setSwapsUserFeeLevel.bind(w),setSwapsQuotesPollingLimitEnabled:w.setSwapsQuotesPollingLimitEnabled.bind(w),fetchSmartTransactionFees:k.getFees.bind(k),clearSmartTransactionFees:k.clearFees.bind(k),submitSignedTransactions:k.submitSignedTransactions.bind(k),cancelSmartTransaction:k.cancelSmartTransaction.bind(k),fetchSmartTransactionsLiveness:k.fetchLiveness.bind(k),updateSmartTransaction:k.updateSmartTransaction.bind(k),setStatusRefreshInterval:k.setStatusRefreshInterval.bind(k),trackMetaMetricsEvent:u.trackEvent.bind(u),trackMetaMetricsPage:u.trackPage.bind(u),createEventFragment:u.createEventFragment.bind(u),updateEventFragment:u.updateEventFragment.bind(u),finalizeEventFragment:u.finalizeEventFragment.bind(u),trackInsightSnapView:this.trackInsightSnapView.bind(this),resolvePendingApproval:this.resolvePendingApproval,rejectPendingApproval:this.rejectPendingApproval,resetViewedNotifications:p.resetViewed.bind(p),updateViewedNotifications:p.updateViewed.bind(p),currencyRateStartPollingByNetworkClientId:a.startPollingByNetworkClientId.bind(a),currencyRateStopPollingByPollingToken:a.stopPollingByPollingToken.bind(a),gasFeeStartPollingByNetworkClientId:d.startPollingByNetworkClientId.bind(d),gasFeeStopPollingByPollingToken:d.stopPollingByPollingToken.bind(d),getGasFeeTimeEstimate:d.getTimeEstimate.bind(d),addPollingTokenToAppState:n.addPollingToken.bind(n),removePollingTokenFromAppState:n.removePollingToken.bind(n),backupUserData:_.backupUserData.bind(_),restoreUserData:_.restoreUserData.bind(_),detectTokens:l.detectTokens.bind(l),detectNfts:o.detectNfts.bind(o),addDetectedTokens:y.addDetectedTokens.bind(y),addImportedTokens:y.addTokens.bind(y),ignoreTokens:y.ignoreTokens.bind(y),getBalancesInSingleCall:C.getBalancesInSingleCall.bind(C),performSignIn:A.performSignIn.bind(A),performSignOut:A.performSignOut.bind(A),enableProfileSyncing:E.enableProfileSyncing.bind(E),disableProfileSyncing:E.disableProfileSyncing.bind(E),setIsProfileSyncingEnabled:E.setIsProfileSyncingEnabled.bind(E),checkAccountsPresence:M.checkAccountsPresence.bind(M),createOnChainTriggers:M.createOnChainTriggers.bind(M),deleteOnChainTriggersByAccount:M.deleteOnChainTriggersByAccount.bind(M),updateOnChainTriggersByAccount:M.updateOnChainTriggersByAccount.bind(M),fetchAndUpdateMetamaskNotifications:M.fetchAndUpdateMetamaskNotifications.bind(M),markMetamaskNotificationsAsRead:M.markMetamaskNotificationsAsRead.bind(M),setFeatureAnnouncementsEnabled:M.setFeatureAnnouncementsEnabled.bind(M),enablePushNotifications:P.enablePushNotifications.bind(P),disablePushNotifications:P.disablePushNotifications.bind(P),updateTriggerPushNotifications:P.updateTriggerPushNotifications.bind(P),enableMetamaskNotifications:M.enableMetamaskNotifications.bind(M),disableMetamaskNotifications:M.disableMetamaskNotifications.bind(M),throwTestError:this.throwTestError.bind(this),updateProposedNames:this.nameController.updateProposedNames.bind(this.nameController),setName:this.nameController.setName.bind(this.nameController)}}async exportAccount(e,t){return await this.verifyPassword(t),this.keyringController.exportAccount(t,e)}async getTokenStandardAndDetails(e,t,r){var n,s;const{tokenList:i}=this.tokenListController.state,{tokens:o}=this.tokensController.state,a={...ge.STATIC_MAINNET_TOKEN_LIST[e.toLowerCase()]||{},...i[e.toLowerCase()]||{},...o.find((({address:t})=>(0,me.isEqualCaseInsensitive)(t,e)))||{}},l=(0,me.isEqualCaseInsensitive)(a.standard,te.TokenStandard.ERC20)||!0===a.erc20,c=!(r||(0,me.isEqualCaseInsensitive)(a.standard,te.TokenStandard.ERC1155)||(0,me.isEqualCaseInsensitive)(a.standard,te.TokenStandard.ERC721)||a.erc721),d=a.decimals!==undefined&&a.symbol;let u;if(l||c&&d)try{const r=t?await(0,pe.fetchTokenBalance)(e,t,this.provider):undefined;u={address:e,balance:r,standard:te.TokenStandard.ERC20,decimals:a.decimals,symbol:a.symbol}}catch(e){v.default.warn(`Failed to get token balance. Error: ${e}`)}u===undefined&&(u=await this.assetsContractController.getTokenStandardAndDetails(e,t,r));if((0,me.isEqualCaseInsensitive)(u.standard,te.TokenStandard.ERC1155))try{const n=await(0,pe.fetchERC1155Balance)(e,t,r,this.provider),s=null!=n&&n._hex?parseInt(n._hex,16).toString():null;u={...u,balance:s}}catch(e){v.default.warn("Failed to get token balance. Error:",e)}return{...u,decimals:null===(n=u)||void 0===n||null===(n=n.decimals)||void 0===n?void 0:n.toString(10),balance:null===(s=u)||void 0===s||null===(s=s.balance)||void 0===s?void 0:s.toString(10)}}async getTokenSymbol(e){try{const t=await this.assetsContractController.getTokenStandardAndDetails(e);return null==t?void 0:t.symbol}catch(e){return null}}async createNewVaultAndKeychain(e){const t=await this.createVaultMutex.acquire();try{return await this.keyringController.createNewVaultAndKeychain(e)}finally{t()}}async createNewVaultAndRestore(e,r){const n=await this.createVaultMutex.acquire();try{const{completedOnboarding:n}=this.onboardingController.store.getState(),s=t.from(r);this.permissionController.clearState(),this.snapController.clearState(),this.notificationController.clear(),this.accountTracker.clearAccounts(),this.txController.clearUnapprovedTransactions(),n&&this.tokenDetectionController.enable();const i=await this.keyringController.createNewVaultAndRestore(e,this._convertMnemonicToWordlistIndices(s));return n&&(await this._addAccountsWithBalance(),this.setLedgerTransportPreference()),i}finally{n()}}async _addAccountsWithBalance(){const{chainId:e}=this.networkController.state.providerConfig,t=new C.default(this.provider),r=await this.keyringController.getAccounts();let n=r[r.length-1];for(let o=r.length;;o++){if("0x0"===await this.getBalance(n,t)){var s,i;await this.tokenDetectionController.detectTokens({selectedAddress:n});const t=null===(s=this.tokensController.state.allTokens)||void 0===s||null===(s=s[e])||void 0===s?void 0:s[n],r=null===(i=this.tokensController.state.allDetectedTokens)||void 0===i||null===(i=i[e])||void 0===i?void 0:i[n];if(0===((null==t?void 0:t.length)??0)&&0===((null==r?void 0:r.length)??0)){1!==o&&await this.removeAccount(n);break}}({addedAccountAddress:n}=await this.keyringController.addNewAccount(o))}}_convertMnemonicToWordlistIndices(e){const t=e.toString().split(" ").map((e=>z.wordlist.indexOf(e)));return new Uint8Array(new Uint16Array(t).buffer)}_convertEnglishWordlistIndicesToCodepoints(e){return t.from(Array.from(new Uint16Array(e.buffer)).map((e=>z.wordlist[e])).join(" "))}getBalance(e,t){return new Promise(((r,n)=>{const s=this.accountTracker.store.getState().accounts[e];s&&s.balance?r(s.balance):t.getBalance(e,((e,t)=>{e?(n(e),v.default.error(e)):r(t||"0x0")}))}))}async submitPassword(e){const{completedOnboarding:t}=this.onboardingController.store.getState();await this.offscreenPromise,await this.keyringController.submitPassword(e);try{await this.blockTracker.checkForLatestBlock()}catch(e){v.default.error("Error while unlocking extension.",e)}await this.accountsController.updateAccounts(),t&&this.setLedgerTransportPreference()}async _loginUser(e){try{await this.submitPassword(e),await this.accountTracker.updateAccountsAllActiveNetworks()}finally{this._startUISync()}}_startUISync(){this.emit("startUISync"),this.startUISync=!0,this.memStore.subscribe(this.sendUpdate.bind(this))}async submitEncryptionKey(){try{const{loginToken:e,loginSalt:t}=await this.extension.storage.session.get(["loginToken","loginSalt"]);if(e&&t){const{vault:r}=this.keyringController.state;if(JSON.parse(r).salt!==t)return console.warn("submitEncryptionKey: Stored salt and vault salt do not match"),void await this.clearLoginArtifacts();await this.keyringController.submitEncryptionKey(e,t)}}catch(e){throw await this.clearLoginArtifacts(),e}}async clearLoginArtifacts(){await this.extension.storage.session.remove(["loginToken","loginSalt"])}async verifyPassword(e){await this.keyringController.verifyPassword(e)}getPrimaryKeyringMnemonic(){const[e]=this.keyringController.getKeyringsByType(oe.KeyringType.hdKeyTree);if(!e.mnemonic)throw new Error("Primary keyring mnemonic unavailable.");return e.mnemonic}async getKeyringForDevice(e,t=null){var r,n,s,i;const o=null===(r=this.opts.overrides)||void 0===r?void 0:r.keyrings;let a=null;switch(e){case ie.HardwareDeviceNames.trezor:a=(null==o||null===(n=o.trezor)||void 0===n?void 0:n.type)||w.TrezorKeyring.type;break;case ie.HardwareDeviceNames.ledger:a=(null==o||null===(s=o.ledger)||void 0===s?void 0:s.type)||y.LedgerKeyring.type;break;case ie.HardwareDeviceNames.qr:a=b.MetaMaskKeyring.type;break;case ie.HardwareDeviceNames.lattice:a=(null==o||null===(i=o.lattice)||void 0===i?void 0:i.type)||k.default.type;break;default:throw new Error("MetamaskController:getKeyringForDevice - Unknown device")}let[l]=await this.keyringController.getKeyringsByType(a);if(l||(l=await this.keyringController.addNewKeyring(a)),t&&l.setHdPath&&l.setHdPath(t),e===ie.HardwareDeviceNames.lattice&&(l.appName="MetaMask"),e===ie.HardwareDeviceNames.trezor){const e=l.getModel();this.appStateController.setTrezorModel(e)}return l.network=this.networkController.state.providerConfig.type,l}async attemptLedgerTransportCreation(){const e=await this.getKeyringForDevice(ie.HardwareDeviceNames.ledger);return await e.attemptMakeApp()}async connectHardware(e,t,r){const n=await this.getKeyringForDevice(e,r);e===ie.HardwareDeviceNames.ledger&&await this.setLedgerTransportPreference(n);let s=[];switch(t){case-1:s=await n.getPreviousPage();break;case 1:s=await n.getNextPage();break;default:s=await n.getFirstPage()}const i=await this.keyringController.getAccounts(),o=[...new Set(i.concat(s.map((e=>e.address.toLowerCase()))))];return this.accountTracker.syncWithAddresses(o),s}async checkHardwareStatus(e,t){return(await this.getKeyringForDevice(e,t)).isUnlocked()}async forgetDevice(e){const t=await this.getKeyringForDevice(e);for(const e of t.accounts)await this.removeAccount(e);return t.forgetDevice(),!0}async getAccountType(e){switch(await this.keyringController.getAccountKeyringType(e)){case oe.KeyringType.trezor:case oe.KeyringType.lattice:case oe.KeyringType.qr:case oe.KeyringType.ledger:return"hardware";case oe.KeyringType.imported:return"imported";case oe.KeyringType.snap:return"snap";default:return"MetaMask"}}async getDeviceModel(e){const t=await this.keyringController.getKeyringForAccount(e);switch(t.type){case oe.KeyringType.trezor:return t.getModel();case oe.KeyringType.qr:return t.getName();case oe.KeyringType.ledger:return ie.HardwareDeviceNames.ledger;case oe.KeyringType.lattice:return ie.HardwareDeviceNames.lattice;default:return undefined}}getAccountLabel(e,t,r){return`${e[0].toUpperCase()}${e.slice(1)} ${parseInt(t,10)+1} ${r||""}`.trim()}async unlockHardwareWalletAccount(e,t,r,n){const s=await this.getKeyringForDevice(t,r);s.setAccountToUnlock(e);const i=await this.keyringController.getAccounts(),o=await this.keyringController.addNewAccountForKeyring(s);(await this.keyringController.getAccounts()).forEach((r=>{if(!i.includes(r)){const i=this.getAccountLabel(t===ie.HardwareDeviceNames.qr?s.getName():t,e,n);this.preferencesController.setAccountLabel(r,i),this.preferencesController.setSelectedAddress(r);const o=this.accountsController.getAccountByAddress(r);this.accountsController.setAccountName(o.id,i)}}));const a=this.accountsController.listAccounts(),{identities:l}=this.preferencesController.store.getState();return{...o,identities:l,accounts:a}}async addNewAccount(e){const t=await this.keyringController.getAccounts(),{addedAccountAddress:r}=await this.keyringController.addNewAccount(e);return t.includes(r)||this.preferencesController.setSelectedAddress(r),r}async getSeedPhrase(e){return this._convertEnglishWordlistIndicesToCodepoints(await this.keyringController.exportSeedPhrase(e))}async resetAccount(){const e=this.accountsController.getSelectedAccount().address;return this.txController.wipeTransactions(!1,e),this.smartTransactionsController.wipeSmartTransactions({address:e,ignoreNetwork:!1}),this.networkController.resetConnection(),e}async getPermittedAccounts(e,{suppressUnauthorizedError:t=!0}={}){try{return await this.permissionController.executeRestrictedMethod(e,ae.RestrictedMethods.eth_accounts)}catch(e){if(t&&e.code===f.errorCodes.provider.unauthorized)return[];throw e}}removeAllChainIdPermissions(e){this.permissionController.updatePermissionsByCaveat(ae.CaveatTypes.restrictNetworkSwitching,(t=>nt.CaveatMutatorFactories[ae.CaveatTypes.restrictNetworkSwitching].removeChainId(e,t)))}removeNetworkConfiguration(e){const{networkConfigurations:t}=this.networkController.state,{chainId:r}=t[e]??{};if(!r)throw new Error("Network configuration not found");Object.values(t).some((t=>t.chainId===r&&t.id!==e&&t.type!==e))||this.removeAllChainIdPermissions(r),this.networkController.removeNetworkConfiguration(e)}removeAllAccountPermissions(e){this.permissionController.updatePermissionsByCaveat(ae.CaveatTypes.restrictReturnedAccounts,(t=>nt.CaveatMutatorFactories[ae.CaveatTypes.restrictReturnedAccounts].removeAccount(e,t)))}async removeAccount(e){this.removeAllAccountPermissions(e);const t=await this.keyringController.getKeyringForAccount(e);await this.keyringController.removeAccount(e);const r=t?await t.getAccounts():{};var n;0===(null==r?void 0:r.length)&&(null===(n=t.destroy)||void 0===n||n.call(t));return e}async importAccountWithStrategy(e,t){const{importedAccountAddress:r}=await this.keyringController.importAccountWithStrategy(e,t);this.preferencesController.setSelectedAddress(r)}getAddTransactionRequest({transactionParams:e,transactionOptions:t,dappRequest:r}){var n;return{dappRequest:r,networkClientId:(null==r?void 0:r.networkClientId)??this.networkController.state.selectedNetworkClientId,selectedAccount:this.accountsController.getAccountByAddress(e.from),transactionController:this.txController,transactionOptions:t,transactionParams:e,userOperationController:this.userOperationController,chainId:this.networkController.state.providerConfig.chainId,ppomController:this.ppomController,securityAlertsEnabled:null===(n=this.preferencesController.store.getState())||void 0===n?void 0:n.securityAlertsEnabled,updateSecurityAlertResponse:this.updateSecurityAlertResponse.bind(this)}}async getCurrentAccountEIP1559Compatibility(){return!0}async createCancelTransaction(e,t,r){await this.txController.stopTransaction(e,t,r);return this.getState()}async createSpeedUpTransaction(e,t,r){await this.txController.speedUpTransaction(e,t,r);return this.getState()}async estimateGas(e){return new Promise(((t,r)=>new _.default(this.provider).estimateGas(e,((e,n)=>e?r(e):t(n.toString(16))))))}async updateSecurityAlertResponse(e,t,r){(0,kt.updateSecurityAlertResponse)({appStateController:this.appStateController,method:e,securityAlertId:t,securityAlertResponse:r,signatureController:this.signatureController,transactionController:this.txController})}markPasswordForgotten(){this.preferencesController.setPasswordForgotten(!0),this.sendUpdate()}unMarkPasswordForgotten(){this.preferencesController.setPasswordForgotten(!1),this.sendUpdate()}setUseRequestQueue(e){this.preferencesController.setUseRequestQueue(e)}setupUntrustedCommunication({connectionStream:e,sender:t,subjectType:r}){const{completedOnboarding:n}=this.onboardingController.store.getState(),{usePhishDetect:s}=this.preferencesController.store.getState();let i;if(i=r||(t.id&&t.id!==this.extension.runtime.id?O.SubjectType.Extension:O.SubjectType.Website),s&&n&&t.url){const{hostname:r}=new URL(t.url);this.phishingController.maybeUpdateState();const n=this.phishingController.test(r);if(null!=n&&n.result)return this.sendPhishingWarning(e,r),void this.metaMetricsController.trackEvent({event:ue.MetaMetricsEventName.PhishingPageDisplayed,category:ue.MetaMetricsEventCategory.Phishing,properties:{url:r}})}const o=(0,Ge.setupMultiplex)(e);this.setupProviderConnection(o.createStream("metamask-provider"),t,i),t.url&&this.setupPublicConfig(o.createStream("publicConfig"))}setupTrustedCommunication(e,t){const r=(0,Ge.setupMultiplex)(e);this.setupControllerConnection(r.createStream("controller")),this.setupProviderConnection(r.createStream("provider"),t,O.SubjectType.Internal)}setupPhishingCommunication({connectionStream:e}){const{usePhishDetect:t}=this.preferencesController.store.getState();if(!t)return;const r=(0,Ge.setupMultiplex)(e).createStream("metamask-phishing-safelist");r.on("data",(0,Qe.default)({safelistPhishingDomain:this.safelistPhishingDomain.bind(this),backToSafetyPhishingWarning:this.backToSafetyPhishingWarning.bind(this)},r))}sendPhishingWarning(e,t){(0,Ge.setupMultiplex)(e).createStream("phishing").write({hostname:t})}setupControllerConnection(e){const t=this.getApi();this.activeControllerConnections+=1,this.emit("controllerConnectionChanged",this.activeControllerConnections),e.on("data",(0,Qe.default)(t,e));const r=t=>{(0,Ge.isStreamWritable)(e)&&e.write({jsonrpc:"2.0",method:"sendUpdate",params:[t]})};this.on("update",r);const n=()=>{(0,Ge.isStreamWritable)(e)&&e.write({jsonrpc:"2.0",method:"startUISync"})};this.startUISync?n():this.once("startUISync",n);const i=()=>{e.mmFinished||(this.activeControllerConnections-=1,this.emit("controllerConnectionChanged",this.activeControllerConnections),e.mmFinished=!0,this.removeListener("update",r))};e.mmFinished=!1,(0,s.finished)(e,i),e.once("close",i),e.once("end",i)}setupProviderConnection(e,t,r){let n,i;n=r===O.SubjectType.Internal?de.ORIGIN_METAMASK:r===O.SubjectType.Snap?t.snapId:new URL(t.url).origin,t.id&&t.id!==this.extension.runtime.id&&this.subjectMetadataController.addSubjectMetadata({origin:n,extensionId:t.id,subjectType:O.SubjectType.Extension}),t.tab&&t.tab.id&&(i=t.tab.id);const o=this.setupProviderEngine({origin:n,sender:t,subjectType:r,tabId:i}),a=(0,je.default)(),l=(0,c.createEngineStream)({engine:o}),d=this.addConnection(n,{engine:o});(0,s.pipeline)(e,a,l,e,(e=>{o._middleware.forEach((e=>{e.destroy&&"function"==typeof e.destroy&&e.destroy()})),d&&this.removeConnection(n,d),e&&v.default.error(e)}))}setupSnapProvider(e,t){this.setupUntrustedCommunication({connectionStream:t,sender:{snapId:e},subjectType:O.SubjectType.Snap})}setupProviderEngine({origin:e,subjectType:t,sender:r,tabId:n}){const s=new l.JsonRpcEngine;s.push((0,Be.default)({origin:e})),s.push((0,B.createSelectedNetworkMiddleware)(this.controllerMessenger));const i=(0,Y.createQueuedRequestMiddleware)({enqueueRequest:this.queuedRequestController.enqueueRequest.bind(this.queuedRequestController),useRequestQueue:this.preferencesController.getUseRequestQueue.bind(this.preferencesController),shouldEnqueueRequest:e=>("eth_requestAccounts"!==e.method||!this.permissionController.hasPermission(e.origin,nt.PermissionNames.eth_accounts))&&ee.methodsWithConfirmation.includes(e.method)});s.push(i);const o=this.selectedNetworkController.getProviderAndBlockTracker(e),a=(0,p.default)(o),c=(0,m.default)(o);c.events.on("notification",(e=>s.emit("notification",e))),n&&s.push((0,De.default)({tabId:n})),s.push((0,Oe.default)({origin:e})),s.push(this.permissionLogController.createMiddleware()),e===be.BaseUrl.Portfolio&&s.push((0,yt.createTxVerificationMiddleware)(this.networkController)),s.push((0,Me.createPPOMMiddleware)(this.ppomController,this.preferencesController,this.networkController,this.appStateController,this.updateSecurityAlertResponse.bind(this)));return s.push((0,st.default)({trackEvent:this.metaMetricsController.trackEvent.bind(this.metaMetricsController),getMetricsState:this.metaMetricsController.store.getState.bind(this.metaMetricsController.store),getAccountType:this.getAccountType.bind(this),getDeviceModel:this.getDeviceModel.bind(this),isConfirmationRedesignEnabled:()=>this.preferencesController.store.getState().preferences.redesignedConfirmationsEnabled,snapAndHardwareMessenger:this.controllerMessenger.getRestricted({name:"SnapAndHardwareMessenger",allowedActions:["KeyringController:getKeyringForAccount","SnapController:get","AccountsController:getSelectedAccount"]}),appStateController:this.appStateController})),s.push((0,xe.createUnsupportedMethodMiddleware)()),s.push((0,xe.createLegacyMethodMiddleware)({getAccounts:this.getPermittedAccounts.bind(this,e)})),t!==O.SubjectType.Internal&&s.push(this.permissionController.createPermissionMiddleware({origin:e})),t===O.SubjectType.Website&&s.push((0,Ue.default)({location:r.url,registerOnboarding:this.onboardingController.registerOnboarding})),s.push((0,xe.createMethodMiddleware)({origin:e,subjectType:t,addSubjectMetadata:this.subjectMetadataController.addSubjectMetadata.bind(this.subjectMetadataController),metamaskState:this.getState(),getProviderState:this.getProviderState.bind(this),getUnlockPromise:this.appStateController.getUnlockPromise.bind(this.appStateController),handleWatchAssetRequest:this.handleWatchAssetRequest.bind(this),requestUserApproval:this.approvalController.addAndShowApprovalRequest.bind(this.approvalController),startApprovalFlow:this.approvalController.startFlow.bind(this.approvalController),endApprovalFlow:this.approvalController.endFlow.bind(this.approvalController),sendMetrics:this.metaMetricsController.trackEvent.bind(this.metaMetricsController),getAccounts:this.getPermittedAccounts.bind(this,e),getPermissionsForOrigin:this.permissionController.getPermissions.bind(this.permissionController,e),hasPermission:this.permissionController.hasPermission.bind(this.permissionController,e),requestAccountsPermission:this.permissionController.requestPermissions.bind(this.permissionController,{origin:e},{eth_accounts:{}}),requestPermittedChainsPermission:t=>this.permissionController.requestPermissions({origin:e},{[nt.PermissionNames.permittedChains]:{caveats:[nt.CaveatFactories[ae.CaveatTypes.restrictNetworkSwitching](t)]}}),requestPermissionsForOrigin:this.permissionController.requestPermissions.bind(this.permissionController,{origin:e}),revokePermissionsForOrigin:t=>{try{this.permissionController.revokePermissions({[e]:t})}catch(e){console.log(e)}},getCaveat:({target:t,caveatType:r})=>{try{return this.permissionController.getCaveat(e,t,r)}catch(e){if(!(e instanceof O.PermissionDoesNotExistError))throw e}return undefined},getChainPermissionsFeatureFlag:()=>Boolean(""),getCurrentRpcUrl:()=>this.networkController.state.providerConfig.rpcUrl,upsertNetworkConfiguration:this.networkController.upsertNetworkConfiguration.bind(this.networkController),setActiveNetwork:async t=>{await this.networkController.setActiveNetwork(t),this.permissionController.hasPermission(e,nt.PermissionNames.eth_accounts)&&this.selectedNetworkController.setNetworkClientIdForDomain(e,t)},findNetworkConfigurationBy:this.findNetworkConfigurationBy.bind(this),getCurrentChainIdForDomain:e=>{const t=this.selectedNetworkController.getNetworkClientIdForDomain(e),{chainId:r}=this.networkController.getNetworkConfigurationByNetworkClientId(t);return r},getWeb3ShimUsageState:this.alertController.getWeb3ShimUsageState.bind(this.alertController),setWeb3ShimUsageRecorded:this.alertController.setWeb3ShimUsageRecorded.bind(this.alertController)})),s.push((0,K.createSnapsMethodMiddleware)(t===O.SubjectType.Snap,{getUnlockPromise:this.appStateController.getUnlockPromise.bind(this.appStateController),getSnaps:this.controllerMessenger.call.bind(this.controllerMessenger,"SnapController:getPermitted",e),requestPermissions:async t=>await this.permissionController.requestPermissions({origin:e},t),getPermissions:this.permissionController.getPermissions.bind(this.permissionController,e),getSnapFile:this.controllerMessenger.call.bind(this.controllerMessenger,"SnapController:getFile",e),installSnaps:this.controllerMessenger.call.bind(this.controllerMessenger,"SnapController:install",e),invokeSnap:this.permissionController.executeRestrictedMethod.bind(this.permissionController,e,ae.RestrictedMethods.wallet_snap),getIsLocked:()=>!this.appStateController.isUnlocked(),hasPermission:this.permissionController.hasPermission.bind(this.permissionController,e),getSnap:this.controllerMessenger.call.bind(this.controllerMessenger,"SnapController:get"),getAllSnaps:this.controllerMessenger.call.bind(this.controllerMessenger,"SnapController:getAll"),handleSnapRpcRequest:t=>this.handleSnapRequest({...t,origin:e}),getAllowedKeyringMethods:(0,Se.keyringSnapPermissionsBuilder)(this.subjectMetadataController,e),createInterface:this.controllerMessenger.call.bind(this.controllerMessenger,"SnapInterfaceController:createInterface",e),getInterfaceState:(...t)=>this.controllerMessenger.call("SnapInterfaceController:getInterface",e,...t).state,updateInterface:this.controllerMessenger.call.bind(this.controllerMessenger,"SnapInterfaceController:updateInterface",e)})),s.push(a),s.push(c.middleware),s.push(this.metamaskMiddleware),s.push((0,d.providerAsMiddleware)(o.provider)),s}setupPublicConfig(e){const t=(0,a.storeAsStream)(this.publicConfigStore);(0,s.pipeline)(t,e,(e=>{t.destroy(),e&&v.default.error(e)}))}addConnection(e,{engine:t}){if(e===de.ORIGIN_METAMASK)return null;this.connections[e]||(this.connections[e]={});const r=(0,S.default)();return this.connections[e][r]={engine:t},r}removeConnection(e,t){const r=this.connections[e];r&&(delete r[t],0===Object.keys(r).length&&delete this.connections[e])}removeAllConnections(e){const t=this.connections[e];t&&Object.keys(t).forEach((t=>{this.removeConnection(e,t)}))}notifyConnections(e,t){const r=this.connections[e];r&&Object.values(r).forEach((e=>{e.engine&&e.engine.emit("notification",t)}))}notifyAllConnections(e){const t="function"==typeof e?t=>e(t):()=>e;Object.keys(this.connections).forEach((e=>{Object.values(this.connections[e]).forEach((async r=>{try{r.engine&&r.engine.emit("notification",await t(e))}catch(e){console.error(e)}}))}))}async _onKeyringControllerUpdate(e){const{keyrings:t}=e,r=t.reduce(((e,{accounts:t})=>e.concat(t)),[]);r.length&&this.accountTracker.syncWithAddresses(r)}_onUnlock(){this.notifyAllConnections((async e=>({method:nt.NOTIFICATION_NAMES.unlockStateChanged,params:{isUnlocked:!0,accounts:await this.getPermittedAccounts(e)}}))),this.unMarkPasswordForgotten(),this.emit("unlock")}_onLock(){this.notifyAllConnections({method:nt.NOTIFICATION_NAMES.unlockStateChanged,params:{isUnlocked:!1}}),this.emit("lock")}_onStateUpdate(e){this.isClientOpenAndUnlocked=e.isUnlocked&&this._isClientOpen,this._notifyChainChange()}privateSendUpdate(){this.emit("update",this.getState())}isUnlocked(){return this.keyringController.state.isUnlocked}getExternalPendingTransactions(e){return this.smartTransactionsController.getTransactions({addressFrom:e,status:"pending"})}async getPendingNonce(e,t){const{nonceDetails:r,releaseLock:n}=await this.txController.getNonceLock(e,undefined),s=r.params.highestSuggested;return n(),s}async getNextNonce(e,t){const r=await this.txController.getNonceLock(e,undefined);return r.releaseLock(),r.nextNonce}throwTestError(e){setTimeout((()=>{const t=new Error(e);throw t.name="TestError",t}))}_addTransactionControllerListeners(){const e=this.getTransactionMetricsRequest();this.controllerMessenger.subscribe("TransactionController:postTransactionBalanceUpdated",Ce.handlePostTransactionBalanceUpdate.bind(null,e)),this.controllerMessenger.subscribe("TransactionController:unapprovedTransactionAdded",(t=>(0,Ce.handleTransactionAdded)(e,{transactionMeta:t}))),this.controllerMessenger.subscribe("TransactionController:transactionApproved",Ce.handleTransactionApproved.bind(null,e)),this.controllerMessenger.subscribe("TransactionController:transactionDropped",Ce.handleTransactionDropped.bind(null,e)),this.controllerMessenger.subscribe("TransactionController:transactionConfirmed",Ce.handleTransactionConfirmed.bind(null,e)),this.controllerMessenger.subscribe("TransactionController:transactionFailed",Ce.handleTransactionFailed.bind(null,e)),this.controllerMessenger.subscribe("TransactionController:transactionNewSwap",(({transactionMeta:e})=>this.swapsController.setTradeTxId(e.id))),this.controllerMessenger.subscribe("TransactionController:transactionNewSwapApproval",(({transactionMeta:e})=>this.swapsController.setApproveTxId(e.id))),this.controllerMessenger.subscribe("TransactionController:transactionRejected",Ce.handleTransactionRejected.bind(null,e)),this.controllerMessenger.subscribe("TransactionController:transactionSubmitted",Ce.handleTransactionSubmitted.bind(null,e)),this.controllerMessenger.subscribe("TransactionController:transactionStatusUpdated",(({transactionMeta:e})=>{this._onFinishedTransaction(e)}))}getTransactionMetricsRequest(){return{...{createEventFragment:this.metaMetricsController.createEventFragment.bind(this.metaMetricsController),finalizeEventFragment:this.metaMetricsController.finalizeEventFragment.bind(this.metaMetricsController),getEventFragmentById:this.metaMetricsController.getEventFragmentById.bind(this.metaMetricsController),getParticipateInMetrics:()=>this.metaMetricsController.state.participateInMetaMetrics,trackEvent:this.metaMetricsController.trackEvent.bind(this.metaMetricsController),updateEventFragment:this.metaMetricsController.updateEventFragment.bind(this.metaMetricsController),getAccountType:this.getAccountType.bind(this),getDeviceModel:this.getDeviceModel.bind(this),getEIP1559GasFeeEstimates:this.gasFeeController.fetchGasFeeEstimates.bind(this.gasFeeController),getSelectedAddress:()=>this.accountsController.getSelectedAccount().address,getTokenStandardAndDetails:this.getTokenStandardAndDetails.bind(this),getTransaction:e=>this.txController.state.transactions.find((t=>t.id===e)),getIsSmartTransaction:()=>(0,ke.getIsSmartTransaction)(this._getMetaMaskState()),getSmartTransactionByMinedTxHash:e=>this.smartTransactionsController.getSmartTransactionByMinedTxHash(e)},snapAndHardwareMessenger:this.controllerMessenger.getRestricted({name:"SnapAndHardwareMessenger",allowedActions:["KeyringController:getKeyringForAccount","SnapController:get","AccountsController:getSelectedAccount"]}),provider:this.provider}}toggleExternalServices(e){this.preferencesController.toggleExternalServices(e),this.tokenListController.updatePreventPollingOnNetworkRestart(!e),e?(this.tokenDetectionController.enable(),this.gasFeeController.enableNonRPCGasFeeApis()):(this.tokenDetectionController.disable(),this.gasFeeController.disableNonRPCGasFeeApis())}findNetworkConfigurationBy(e){const{networkConfigurations:t}=this.networkController.state;return Object.values(t).find((t=>Object.keys(e).some((r=>t[r]===e[r]))))||null}async setLedgerTransportPreference(e){const t=window.navigator.hid?ie.LedgerTransportTypes.webhid:ie.LedgerTransportTypes.u2f,r=e||await this.getKeyringForDevice(ie.HardwareDeviceNames.ledger);return null!=r&&r.updateTransportMethod?r.updateTransportMethod(t).catch((e=>{throw e})):undefined}recordFirstTimeInfo(e){if(!("firstTimeInfo"in e)){const t=this.platform.getVersion();e.firstTimeInfo={version:t,date:Date.now()}}}set isClientOpen(e){this._isClientOpen=e}onClientClosed(){try{this.gasFeeController.stopAllPolling(),this.currencyRateController.stopAllPolling(),this.appStateController.clearPollingTokens()}catch(e){console.error(e)}}onEnvironmentTypeClosed(e){const t=de.POLLING_TOKEN_ENVIRONMENT_TYPES[e];this.appStateController.store.getState()[t].forEach((e=>{this.gasFeeController.stopPollingByPollingToken(e),this.currencyRateController.stopPollingByPollingToken(e),this.appStateController.removePollingToken(e,t)}))}safelistPhishingDomain(e){return this.phishingController.bypass(e)}async backToSafetyPhishingWarning(){const e=this.platform.getExtensionURL();await this.platform.switchToAnotherURL(undefined,e)}setLocked(){return this.keyringController.setLocked()}async _onAccountChange(e){const t=(0,nt.getPermittedAccountsByOrigin)(this.permissionController.state);for(const[r,n]of t.entries())n.includes(e)&&this._notifyAccountsChange(r,n);await this.txController.updateIncomingTransactions()}async _notifyAccountsChange(e,t){this.isUnlocked()&&this.notifyConnections(e,{method:nt.NOTIFICATION_NAMES.accountsChanged,params:t.length<2?t:await this.getPermittedAccounts(e)}),this.permissionLogController.updateAccountsHistory(e,t)}async _notifyChainChange(){this.preferencesController.getUseRequestQueue()?this.notifyAllConnections((async e=>({method:nt.NOTIFICATION_NAMES.chainChanged,params:await this.getProviderNetworkState(e)}))):this.notifyAllConnections({method:nt.NOTIFICATION_NAMES.chainChanged,params:await this.getProviderNetworkState()})}async _onFinishedTransaction(e){[X.TransactionStatus.confirmed,X.TransactionStatus.failed].includes(e.status)&&(await this._createTransactionNotifcation(e),this._updateNFTOwnership(e),this._trackTransactionFailure(e))}async _createTransactionNotifcation(e){const{chainId:t}=e;let r={};if(t){const{networkConfigurations:e}=this.networkController.state,n=Object.values(e).find((e=>e.chainId===t));r=(null==n?void 0:n.rpcPrefs)??{}}try{await this.platform.showTransactionNotification(e,r)}catch(e){v.default.error("Failed to create transaction notification",e)}}_updateNFTOwnership(e){var t;const{type:r,txParams:n,chainId:s}=e;if(r!==X.TransactionType.tokenMethodTransferFrom||n===undefined)return;const{data:i,to:o,from:a}=n,l=(0,fe.parseStandardTokenTransactionData)(i),c=(0,pe.getTokenIdParam)(l)??(0,ve.getTokenValueParam)(l),{allNfts:d}=this.nftController.state,u=null==d||null===(t=d[a])||void 0===t||null===(t=t[s])||void 0===t?void 0:t.find((({address:e,tokenId:t})=>(0,me.isEqualCaseInsensitive)(e,o)&&t===c));u&&this.nftController.checkAndUpdateSingleNftOwnershipStatus(u,!1,{userAddress:a})}_trackTransactionFailure(e){var t;const{txReceipt:r}=e,n=this.getState();r&&"0x0"===r.status&&this.metaMetricsController.trackEvent({event:"Tx Status Update: On-Chain Failure",category:ue.MetaMetricsEventCategory.Background,properties:{action:"Transactions",errorMessage:null===(t=e.simulationFails)||void 0===t?void 0:t.reason,numberOfTokens:n.tokens.length,numberOfAccounts:Object.keys(n.accounts).length}},{matomoEvent:!0})}_onUserOperationAdded(e){const t=this.txController.state.transactions.find((t=>t.id===e.id));t&&(t.type===X.TransactionType.swap?this.controllerMessenger.publish("TransactionController:transactionNewSwap",{transactionMeta:t}):t.type===X.TransactionType.swapApproval&&this.controllerMessenger.publish("TransactionController:transactionNewSwapApproval",{transactionMeta:t}))}_onUserOperationTransactionUpdated(e){const t={...e,txParams:{...e.txParams,from:this.accountsController.getSelectedAccount().address}};this.txController.state.transactions.some((e=>e.id===t.id))||this.txController.update((e=>{e.transactions.push(t)})),this.txController.updateTransaction(t,"Generated from user operation"),this.controllerMessenger.publish("TransactionController:transactionStatusUpdated",{transactionMeta:t})}_publishSmartTransactionHook(e){const t=this._getMetaMaskState(),r=(0,ke.getIsSmartTransaction)(t);if(!r)return{transactionHash:undefined};const n=(0,ke.getFeatureFlagsByChainId)(t);return(0,_e.submitSmartTransactionHook)({transactionMeta:e,transactionController:this.txController,smartTransactionsController:this.smartTransactionsController,controllerMessenger:this.controllerMessenger,isSmartTransaction:r,featureFlags:n})}_getMetaMaskState(){return{metamask:this.getState()}}}async function Nt(e,t){var r;const{currentLocale:n}=e,{chainId:s}=this.networkController.state.providerConfig;await(0,ot.updateCurrentLocale)(n),null!==(r=e.incomingTransactionsPreferences)&&void 0!==r&&r[s]?this.txController.startIncomingTransactionPolling():this.txController.stopIncomingTransactionPolling(),Tt(this,Et,It).call(this,e,t),this.controllerMessenger.publish("PreferencesController:stateChange",e,[])}function It(e,t){const r=Tt(this,Mt,Rt).call(this,t),n=Tt(this,Mt,Rt).call(this,e);r!==n&&(this.tokenListController.updatePreventPollingOnNetworkRestart(!n),n?(v.default.debug("Started token list controller polling"),this.tokenListController.start()):(v.default.debug("Stopped token list controller polling"),this.tokenListController.clearingTokenListData(),this.tokenListController.stop()))}function Rt(e){const{useTokenDetection:t,useTransactionSimulations:r,preferences:n}=e??{},{petnamesEnabled:s}=n??{};return t||s||r}r.default=Pt}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"$root$",file:"app/scripts/metamask-controller.js"}],[1210,{"./utils/config":1203,"./utils/log":1205,"./utils/stream":1207},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.VersionCheck=void 0;const s=n(e("./utils/log")),i=e("./utils/config"),o=e("./utils/stream");r.VersionCheck=class{constructor(e,t){this.stream=e,this.extensionVersion=t}async check(){s.default.debug("Checking versions");const e={version:this.extensionVersion,compatibilityVersion:(0,i.cfg)().compatibilityVersion.extension},t={extensionVersionData:e};this.stream.write(t);const r=await(0,o.waitForMessage)(this.stream),n=r.isExtensionSupported,a=this.isDesktopVersionSupported(r.desktopVersionData,e),l={extensionVersion:e.version,desktopVersion:r.desktopVersionData.version,isExtensionVersionValid:n,isDesktopVersionValid:a};return s.default.debug("Completed version check",l),l}isDesktopVersionSupported(e,t){return e.compatibilityVersion>=t.compatibilityVersion}}}}},{package:"@metamask/desktop",file:"node_modules/@metamask/desktop/dist/version-check.js"}],[1211,{"./utils/log":1205,"./utils/utils":1209,stream:4348},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.WebSocketStream=void 0;const s=e("stream"),i=n(e("./utils/log")),o=e("./utils/utils");class a extends s.Duplex{constructor(e){super({objectMode:!0}),this.webSocket=e,this.isBrowser=!this.webSocket.on,this.isBrowser?this.webSocket.addEventListener("message",(e=>this.onMessage(e.data))):this.webSocket.on("message",(e=>this.onMessage(e)))}init(){}_read(){return undefined}async _write(e,t,r){i.default.debug("Sending message to web socket");const n="string"==typeof e?e:JSON.stringify(e);try{await this.waitForSocketConnected(this.webSocket)}catch(e){return i.default.error("Timeout waiting for web socket to be writable"),void r()}this.webSocket.send(n),r()}async onMessage(e){let t=e;try{t=JSON.parse(t)}catch{}i.default.debug("Received web socket message"),this.push(t)}async waitForSocketConnected(e){let t;return(0,o.timeoutPromise)(new Promise((r=>{const n=()=>1===e.readyState;n()?r():t=setInterval((()=>{n()&&(clearInterval(t),r())}),500)})),3e3,{cleanUp:()=>{t&&clearInterval(t)}})}}r.WebSocketStream=a}}},{package:"@metamask/desktop",file:"node_modules/@metamask/desktop/dist/web-socket-stream.js"}],[1212,{"./ObservableStore":1215},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.ComposedStore=void 0;const n=e("./ObservableStore");class s extends n.ObservableStore{constructor(e){super();this.getState()||this.putState({}),this._children=e||{},Object.keys(this._children).forEach((e=>{const t=this._children[e];this._addChild(e,t)}))}_addChild(e,t){const r=t=>{const r=this.getState();r[e]=t,this.putState(r)};t.subscribe(r),r(t.getState())}}r.ComposedStore=s}}},{package:"@metamask/desktop>@metamask/obs-store",file:"node_modules/@metamask/desktop/node_modules/@metamask/obs-store/dist/ComposedStore.js"}],[1213,{"./ObservableStore":1215},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.LocalStorageStore=void 0;const n=e("./ObservableStore");class s extends n.ObservableStore{constructor(e={}){if(!global.localStorage)throw new Error("LocalStorageStore - can't find localStorage.");if(super(),!e.storageKey)throw new Error("LocalStorageStore - no storageKey specified.");this._storageKey=e.storageKey}_getState(){const e=global.localStorage.getItem(this._storageKey);return e?JSON.parse(e):undefined}_putState(e){const t=JSON.stringify(e);return global.localStorage.setItem(this._storageKey,t)}}r.LocalStorageStore=s}}},{package:"@metamask/desktop>@metamask/obs-store",file:"node_modules/@metamask/desktop/node_modules/@metamask/obs-store/dist/LocalStorageStore.js"}],[1214,{"./ObservableStore":1215},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.MergedStore=void 0;const n=e("./ObservableStore");class s extends n.ObservableStore{constructor(e=[]){super();this.getState()||this.putState({}),this._children=e,e.forEach((e=>this._addChild(e))),this._updateWholeState()}_addChild(e){e.subscribe((()=>this._updateWholeState()))}_updateWholeState(){const e=this._children.map((e=>e.getState())),t=Object.assign({},...e);this.putState(t)}}r.MergedStore=s}}},{package:"@metamask/desktop>@metamask/obs-store",file:"node_modules/@metamask/desktop/node_modules/@metamask/obs-store/dist/MergedStore.js"}],[1215,{"@metamask/safe-event-emitter":1219},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.ObservableStore=void 0;const s=n(e("@metamask/safe-event-emitter"));class i extends s.default{constructor(e={}){super(),this._state=e}getState(){return this._getState()}putState(e){this._putState(e),this.emit("update",e)}updateState(e){if(e&&"object"==typeof e){const t=this.getState(),r=Object.assign({},t,e);this.putState(r)}else this.putState(e)}subscribe(e){this.on("update",e)}unsubscribe(e){this.removeListener("update",e)}_getState(){return this._state}_putState(e){this._state=e}}r.ObservableStore=i}}},{package:"@metamask/desktop>@metamask/obs-store",file:"node_modules/@metamask/desktop/node_modules/@metamask/obs-store/dist/ObservableStore.js"}],[1216,{stream:4348},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.storeAsStream=void 0;const n=e("stream");class s extends n.Duplex{constructor(e){super({objectMode:!0}),this.resume(),this.handler=e=>this.push(e),this.obsStore=e,this.obsStore.subscribe(this.handler)}pipe(e,t){const r=super.pipe(e,t);return e.write(this.obsStore.getState()),r}_write(e,t,r){this.obsStore.putState(e),r()}_read(e){return undefined}_destroy(e,t){this.obsStore.unsubscribe(this.handler),super._destroy(e,t)}}r.storeAsStream=function(e){return new s(e)}}}},{package:"@metamask/desktop>@metamask/obs-store",file:"node_modules/@metamask/desktop/node_modules/@metamask/obs-store/dist/asStream.js"}],[1217,{"./ComposedStore":1212,"./LocalStorageStore":1213,"./MergedStore":1214,"./ObservableStore":1215,"./asStream":1216,"./transform":1218},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){n===undefined&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){n===undefined&&(n=r),e[n]=t[r]}),s=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(r,"__esModule",{value:!0}),s(e("./asStream"),r),s(e("./ComposedStore"),r),s(e("./LocalStorageStore"),r),s(e("./MergedStore"),r),s(e("./ObservableStore"),r),s(e("./transform"),r)}}},{package:"@metamask/desktop>@metamask/obs-store",file:"node_modules/@metamask/desktop/node_modules/@metamask/obs-store/dist/index.js"}],[1218,{through2:1233},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.storeTransformStream=void 0;const n=e("through2");r.storeTransformStream=function(e){return n.obj(((t,r,n)=>{try{return n(null,e(t)),undefined}catch(e){return n(e),undefined}}))}}}},{package:"@metamask/desktop>@metamask/obs-store",file:"node_modules/@metamask/desktop/node_modules/@metamask/obs-store/dist/transform.js"}],[1219,{events:3328},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e("events");function s(e,t,r){try{Reflect.apply(e,t,r)}catch(e){setTimeout((()=>{throw e}))}}class i extends n.EventEmitter{emit(e,...t){let r="error"===e;const n=this._events;if(n!==undefined)r=r&&n.error===undefined;else if(!r)return!1;if(r){let e;if(t.length>0&&([e]=t),e instanceof Error)throw e;const r=new Error("Unhandled error."+(e?` (${e.message})`:""));throw r.context=e,r}const i=n[e];if(i===undefined)return!1;if("function"==typeof i)s(i,this,t);else{const e=i.length,r=function(e){const t=e.length,r=new Array(t);for(let n=0;n@metamask/obs-store>@metamask/safe-event-emitter",file:"node_modules/@metamask/desktop/node_modules/@metamask/safe-event-emitter/index.js"}],[122,{lodash:3836},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=e("lodash");r.default={version:2,migrate(e){const t=(0,n.cloneDeep)(e);t.meta.version=2;try{"etherscan"===t.data.config.provider.type&&(t.data.config.provider.type="rpc",t.data.config.provider.rpcTarget="https://rpc.metamask.io/")}catch(e){}return Promise.resolve(t)}}}}},{package:"$root$",file:"app/scripts/migrations/002.js"}],[1220,{buffer:3028,stream:4348},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(t){(function(){Object.defineProperty(r,"__esModule",{value:!0});const n=e("stream");class s extends n.Duplex{constructor(e){super({objectMode:!0}),this._port=e,this._port.onMessage.addListener((e=>this._onMessage(e))),this._port.onDisconnect.addListener((()=>this._onDisconnect())),this._log=()=>null}_onMessage(e){if(t.isBuffer(e)){const r=t.from(e);this._log(r,!1),this.push(r)}else this._log(e,!1),this.push(e)}_onDisconnect(){this.destroy()}_read(){return undefined}_write(e,r,n){try{if(t.isBuffer(e)){const t=e.toJSON();t._isBuffer=!0,this._log(t,!0),this._port.postMessage(t)}else this._log(e,!0),this._port.postMessage(e)}catch(e){return n(new Error("PortDuplexStream - disconnected"))}return n()}_setLogger(e){this._log=e}}r.default=s}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"@metamask/desktop>extension-port-stream",file:"node_modules/@metamask/desktop/node_modules/extension-port-stream/dist/index.js"}],[1221,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n={}.toString;t.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}}}},{package:"@metamask/desktop>@metamask/obs-store>readable-stream>isarray",file:"node_modules/@metamask/desktop/node_modules/isarray/index.js"}],[1222,{"./_stream_readable":1224,"./_stream_writable":1226,"core-util-is":3088,inherits:3641,"process-nextick-args":3991},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("process-nextick-args"),s=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};t.exports=u;var i=Object.create(e("core-util-is"));i.inherits=e("inherits");var o=e("./_stream_readable"),a=e("./_stream_writable");i.inherits(u,o);for(var l=s(a.prototype),c=0;c@metamask/obs-store>readable-stream",file:"node_modules/@metamask/desktop/node_modules/readable-stream/lib/_stream_duplex.js"}],[1223,{"./_stream_transform":1225,"core-util-is":3088,inherits:3641},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=i;var n=e("./_stream_transform"),s=Object.create(e("core-util-is"));function i(e){if(!(this instanceof i))return new i(e);n.call(this,e)}s.inherits=e("inherits"),s.inherits(i,n),i.prototype._transform=function(e,t,r){r(null,e)}}}},{package:"@metamask/desktop>@metamask/obs-store>readable-stream",file:"node_modules/@metamask/desktop/node_modules/readable-stream/lib/_stream_passthrough.js"}],[1224,{"./_stream_duplex":1222,"./internal/streams/BufferList":1227,"./internal/streams/destroy":1228,"./internal/streams/stream":1229,_process:3992,"core-util-is":3088,events:3328,inherits:3641,isarray:1221,"process-nextick-args":3991,"safe-buffer":1231,"string_decoder/":1232,util:2993},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(r){(function(){var n=e("process-nextick-args");t.exports=w;var s,i=e("isarray");w.ReadableState=v;e("events").EventEmitter;var o=function(e,t){return e.listeners(t).length},a=e("./internal/streams/stream"),l=e("safe-buffer").Buffer,c=global.Uint8Array||function(){};var d=Object.create(e("core-util-is"));d.inherits=e("inherits");var u=e("util"),h=void 0;h=u&&u.debuglog?u.debuglog("stream"):function(){};var p,m=e("./internal/streams/BufferList"),f=e("./internal/streams/destroy");d.inherits(w,a);var g=["error","close","destroy","pause","resume"];function v(t,r){t=t||{};var n=r instanceof(s=s||e("./_stream_duplex"));this.objectMode=!!t.objectMode,n&&(this.objectMode=this.objectMode||!!t.readableObjectMode);var i=t.highWaterMark,o=t.readableHighWaterMark,a=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:n&&(o||0===o)?o:a,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new m,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(p||(p=e("string_decoder/").StringDecoder),this.decoder=new p(t.encoding),this.encoding=t.encoding)}function w(t){if(s=s||e("./_stream_duplex"),!(this instanceof w))return new w(t);this._readableState=new v(t,this),this.readable=!0,t&&("function"==typeof t.read&&(this._read=t.read),"function"==typeof t.destroy&&(this._destroy=t.destroy)),a.call(this)}function y(e,t,r,n,s){var i,o=e._readableState;null===t?(o.reading=!1,function(e,t){if(t.ended)return;if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,_(e)}(e,o)):(s||(i=function(e,t){var r;n=t,l.isBuffer(n)||n instanceof c||"string"==typeof t||t===undefined||e.objectMode||(r=new TypeError("Invalid non-string/buffer chunk"));var n;return r}(o,t)),i?e.emit("error",i):o.objectMode||t&&t.length>0?("string"==typeof t||o.objectMode||Object.getPrototypeOf(t)===l.prototype||(t=function(e){return l.from(e)}(t)),n?o.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):k(e,o,t,!0):o.ended?e.emit("error",new Error("stream.push() after EOF")):(o.reading=!1,o.decoder&&!r?(t=o.decoder.write(t),o.objectMode||0!==t.length?k(e,o,t,!1):T(e,o)):k(e,o,t,!1))):n||(o.reading=!1));return function(e){return!e.ended&&(e.needReadable||e.lengtht.highWaterMark&&(t.highWaterMark=function(e){return e>=b?e=b:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function _(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(h("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?n.nextTick(S,e):S(e))}function S(e){h("emit readable"),e.emit("readable"),P(e)}function T(e,t){t.readingMore||(t.readingMore=!0,n.nextTick(A,e,t))}function A(e,t){for(var r=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):r=function(e,t,r){var n;ei.length?i.length:e;if(o===i.length?s+=i:s+=i.slice(0,e),0===(e-=o)){o===i.length?(++n,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=i.slice(o));break}++n}return t.length-=n,s}(e,t):function(e,t){var r=l.allocUnsafe(e),n=t.head,s=1;n.data.copy(r),e-=n.data.length;for(;n=n.next;){var i=n.data,o=e>i.length?i.length:e;if(i.copy(r,r.length-e,0,o),0===(e-=o)){o===i.length?(++s,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=i.slice(o));break}++s}return t.length-=s,r}(e,t);return n}(e,t.buffer,t.decoder),r);var r}function I(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,n.nextTick(R,t,e))}function R(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function j(e,t){for(var r=0,n=e.length;r=t.highWaterMark||t.ended))return h("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?I(this):_(this),null;if(0===(e=C(e,t))&&t.ended)return 0===t.length&&I(this),null;var n,s=t.needReadable;return h("need readable",s),(0===t.length||t.length-e0?N(e,t):null)?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&I(this)),null!==n&&this.emit("data",n),n},w.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},w.prototype.pipe=function(e,t){var s=this,a=this._readableState;switch(a.pipesCount){case 0:a.pipes=e;break;case 1:a.pipes=[a.pipes,e];break;default:a.pipes.push(e)}a.pipesCount+=1,h("pipe count=%d opts=%j",a.pipesCount,t);var l=(!t||!1!==t.end)&&e!==r.stdout&&e!==r.stderr?d:y;function c(t,r){h("onunpipe"),t===s&&r&&!1===r.hasUnpiped&&(r.hasUnpiped=!0,h("cleanup"),e.removeListener("close",v),e.removeListener("finish",w),e.removeListener("drain",u),e.removeListener("error",g),e.removeListener("unpipe",c),s.removeListener("end",d),s.removeListener("end",y),s.removeListener("data",f),p=!0,!a.awaitDrain||e._writableState&&!e._writableState.needDrain||u())}function d(){h("onend"),e.end()}a.endEmitted?n.nextTick(l):s.once("end",l),e.on("unpipe",c);var u=function(e){return function(){var t=e._readableState;h("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&o(e,"data")&&(t.flowing=!0,P(e))}}(s);e.on("drain",u);var p=!1;var m=!1;function f(t){h("ondata"),m=!1,!1!==e.write(t)||m||((1===a.pipesCount&&a.pipes===e||a.pipesCount>1&&-1!==j(a.pipes,e))&&!p&&(h("false write response, pause",s._readableState.awaitDrain),s._readableState.awaitDrain++,m=!0),s.pause())}function g(t){h("onerror",t),y(),e.removeListener("error",g),0===o(e,"error")&&e.emit("error",t)}function v(){e.removeListener("finish",w),y()}function w(){h("onfinish"),e.removeListener("close",v),y()}function y(){h("unpipe"),s.unpipe(e)}return s.on("data",f),function(e,t,r){if("function"==typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?i(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}(e,"error",g),e.once("close",v),e.once("finish",w),e.emit("pipe",s),a.flowing||(h("pipe resume"),s.resume()),e},w.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this;if(!e){var n=t.pipes,s=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var i=0;i@metamask/obs-store>readable-stream",file:"node_modules/@metamask/desktop/node_modules/readable-stream/lib/_stream_readable.js"}],[1225,{"./_stream_duplex":1222,"core-util-is":3088,inherits:3641},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=o;var n=e("./_stream_duplex"),s=Object.create(e("core-util-is"));function i(e,t){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(!n)return this.emit("error",new Error("write callback called multiple times"));r.writechunk=null,r.writecb=null,null!=t&&this.push(t),n(e);var s=this._readableState;s.reading=!1,(s.needReadable||s.length@metamask/obs-store>readable-stream",file:"node_modules/@metamask/desktop/node_modules/readable-stream/lib/_stream_transform.js"}],[1226,{"./_stream_duplex":1222,"./internal/streams/destroy":1228,"./internal/streams/stream":1229,_process:3992,"core-util-is":3088,inherits:3641,"process-nextick-args":3991,"safe-buffer":1231,timers:4365,"util-deprecate":4420},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(r,n){(function(){var s=e("process-nextick-args");function i(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,r){var n=e.entry;e.entry=null;for(;n;){var s=n.callback;t.pendingcb--,s(r),n=n.next}t.corkedRequestsFree?t.corkedRequestsFree.next=e:t.corkedRequestsFree=e}(t,e)}}t.exports=v;var o,a=!r.browser&&["v0.10","v0.9."].indexOf(r.version.slice(0,5))>-1?n:s.nextTick;v.WritableState=g;var l=Object.create(e("core-util-is"));l.inherits=e("inherits");var c={deprecate:e("util-deprecate")},d=e("./internal/streams/stream"),u=e("safe-buffer").Buffer,h=global.Uint8Array||function(){};var p,m=e("./internal/streams/destroy");function f(){}function g(t,r){o=o||e("./_stream_duplex"),t=t||{};var n=r instanceof o;this.objectMode=!!t.objectMode,n&&(this.objectMode=this.objectMode||!!t.writableObjectMode);var l=t.highWaterMark,c=t.writableHighWaterMark,d=this.objectMode?16:16384;this.highWaterMark=l||0===l?l:n&&(c||0===c)?c:d,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var u=!1===t.decodeStrings;this.decodeStrings=!u,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var r=e._writableState,n=r.sync,i=r.writecb;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(r),t)!function(e,t,r,n,i){--t.pendingcb,r?(s.nextTick(i,n),s.nextTick(_,e,t),e._writableState.errorEmitted=!0,e.emit("error",n)):(i(n),e._writableState.errorEmitted=!0,e.emit("error",n),_(e,t))}(e,r,n,t,i);else{var o=b(r);o||r.corked||r.bufferProcessing||!r.bufferedRequest||k(e,r),n?a(y,e,r,o,i):y(e,r,o,i)}}(r,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new i(this)}function v(t){if(o=o||e("./_stream_duplex"),!(p.call(v,this)||this instanceof o))return new v(t);this._writableState=new g(t,this),this.writable=!0,t&&("function"==typeof t.write&&(this._write=t.write),"function"==typeof t.writev&&(this._writev=t.writev),"function"==typeof t.destroy&&(this._destroy=t.destroy),"function"==typeof t.final&&(this._final=t.final)),d.call(this)}function w(e,t,r,n,s,i,o){t.writelen=n,t.writecb=o,t.writing=!0,t.sync=!0,r?e._writev(s,t.onwrite):e._write(s,i,t.onwrite),t.sync=!1}function y(e,t,r,n){r||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,n(),_(e,t)}function k(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var n=t.bufferedRequestCount,s=new Array(n),o=t.corkedRequestsFree;o.entry=r;for(var a=0,l=!0;r;)s[a]=r,r.isBuf||(l=!1),r=r.next,a+=1;s.allBuffers=l,w(e,t,!0,t.length,s,"",o.finish),t.pendingcb++,t.lastBufferedRequest=null,o.next?(t.corkedRequestsFree=o.next,o.next=null):t.corkedRequestsFree=new i(t),t.bufferedRequestCount=0}else{for(;r;){var c=r.chunk,d=r.encoding,u=r.callback;if(w(e,t,!1,t.objectMode?1:c.length,c,d,u),r=r.next,t.bufferedRequestCount--,t.writing)break}null===r&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}function b(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function C(e,t){e._final((function(r){t.pendingcb--,r&&e.emit("error",r),t.prefinished=!0,e.emit("prefinish"),_(e,t)}))}function _(e,t){var r=b(t);return r&&(!function(e,t){t.prefinished||t.finalCalled||("function"==typeof e._final?(t.pendingcb++,t.finalCalled=!0,s.nextTick(C,e,t)):(t.prefinished=!0,e.emit("prefinish")))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"))),r}l.inherits(v,d),g.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(g.prototype,"buffer",{get:c.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(p=Function.prototype[Symbol.hasInstance],Object.defineProperty(v,Symbol.hasInstance,{value:function(e){return!!p.call(this,e)||this===v&&(e&&e._writableState instanceof g)}})):p=function(e){return e instanceof this},v.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},v.prototype.write=function(e,t,r){var n,i=this._writableState,o=!1,a=!i.objectMode&&(n=e,u.isBuffer(n)||n instanceof h);return a&&!u.isBuffer(e)&&(e=function(e){return u.from(e)}(e)),"function"==typeof t&&(r=t,t=null),a?t="buffer":t||(t=i.defaultEncoding),"function"!=typeof r&&(r=f),i.ended?function(e,t){var r=new Error("write after end");e.emit("error",r),s.nextTick(t,r)}(this,r):(a||function(e,t,r,n){var i=!0,o=!1;return null===r?o=new TypeError("May not write null values to stream"):"string"==typeof r||r===undefined||t.objectMode||(o=new TypeError("Invalid non-string/buffer chunk")),o&&(e.emit("error",o),s.nextTick(n,o),i=!1),i}(this,i,e,r))&&(i.pendingcb++,o=function(e,t,r,n,s,i){if(!r){var o=function(e,t,r){e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=u.from(t,r));return t}(t,n,s);n!==o&&(r=!0,s="buffer",n=o)}var a=t.objectMode?1:n.length;t.length+=a;var l=t.length-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(v.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),v.prototype._write=function(e,t,r){r(new Error("_write() is not implemented"))},v.prototype._writev=null,v.prototype.end=function(e,t,r){var n=this._writableState;"function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!==e&&e!==undefined&&this.write(e,t),n.corked&&(n.corked=1,this.uncork()),n.ending||n.finished||function(e,t,r){t.ending=!0,_(e,t),r&&(t.finished?s.nextTick(r):e.once("finish",r));t.ended=!0,e.writable=!1}(this,n,r)},Object.defineProperty(v.prototype,"destroyed",{get:function(){return this._writableState!==undefined&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),v.prototype.destroy=m.destroy,v.prototype._undestroy=m.undestroy,v.prototype._destroy=function(e,t){this.end(),t(e)}}).call(this)}).call(this,e("_process"),e("timers").setImmediate)}}},{package:"@metamask/desktop>@metamask/obs-store>readable-stream",file:"node_modules/@metamask/desktop/node_modules/readable-stream/lib/_stream_writable.js"}],[1227,{"safe-buffer":1231,util:2993},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("safe-buffer").Buffer,s=e("util");t.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},e.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},e.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(e){if(0===this.length)return"";for(var t=this.head,r=""+t.data;t=t.next;)r+=e+t.data;return r},e.prototype.concat=function(e){if(0===this.length)return n.alloc(0);if(1===this.length)return this.head.data;for(var t,r,s,i=n.allocUnsafe(e>>>0),o=this.head,a=0;o;)t=o.data,r=i,s=a,t.copy(r,s),a+=o.data.length,o=o.next;return i},e}(),s&&s.inspect&&s.inspect.custom&&(t.exports.prototype[s.inspect.custom]=function(){var e=s.inspect({length:this.length});return this.constructor.name+" "+e})}}},{package:"@metamask/desktop>@metamask/obs-store>readable-stream",file:"node_modules/@metamask/desktop/node_modules/readable-stream/lib/internal/streams/BufferList.js"}],[1228,{"process-nextick-args":3991},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("process-nextick-args");function s(e,t){e.emit("error",t)}t.exports={destroy:function(e,t){var r=this,i=this._readableState&&this._readableState.destroyed,o=this._writableState&&this._writableState.destroyed;return i||o?(t?t(e):!e||this._writableState&&this._writableState.errorEmitted||n.nextTick(s,this,e),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,(function(e){!t&&e?(n.nextTick(s,r,e),r._writableState&&(r._writableState.errorEmitted=!0)):t&&t(e)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}}}}},{package:"@metamask/desktop>@metamask/obs-store>readable-stream",file:"node_modules/@metamask/desktop/node_modules/readable-stream/lib/internal/streams/destroy.js"}],[1229,{events:3328},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=e("events").EventEmitter}}},{package:"@metamask/desktop>@metamask/obs-store>readable-stream",file:"node_modules/@metamask/desktop/node_modules/readable-stream/lib/internal/streams/stream-browser.js"}],[123,{lodash:3836},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=e("lodash");r.default={version:3,migrate(e){const t=(0,n.cloneDeep)(e);t.meta.version=3;try{"https://rawtestrpc.metamask.io/"===t.data.config.provider.rpcTarget&&(t.data.config.provider.rpcTarget="https://testrpc.metamask.io/")}catch(e){}return Promise.resolve(t)}}}}},{package:"$root$",file:"app/scripts/migrations/003.js"}],[1230,{"./lib/_stream_duplex.js":1222,"./lib/_stream_passthrough.js":1223,"./lib/_stream_readable.js":1224,"./lib/_stream_transform.js":1225,"./lib/_stream_writable.js":1226},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(r=t.exports=e("./lib/_stream_readable.js")).Stream=r,r.Readable=r,r.Writable=e("./lib/_stream_writable.js"),r.Duplex=e("./lib/_stream_duplex.js"),r.Transform=e("./lib/_stream_transform.js"),r.PassThrough=e("./lib/_stream_passthrough.js")}}},{package:"@metamask/desktop>@metamask/obs-store>readable-stream",file:"node_modules/@metamask/desktop/node_modules/readable-stream/readable-browser.js"}],[1231,{buffer:3028},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("buffer"),s=n.Buffer;function i(e,t){for(var r in e)t[r]=e[r]}function o(e,t,r){return s(e,t,r)}s.from&&s.alloc&&s.allocUnsafe&&s.allocUnsafeSlow?t.exports=n:(i(n,r),r.Buffer=o),i(s,o),o.from=function(e,t,r){if("number"==typeof e)throw new TypeError("Argument must not be a number");return s(e,t,r)},o.alloc=function(e,t,r){if("number"!=typeof e)throw new TypeError("Argument must be a number");var n=s(e);return t!==undefined?"string"==typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},o.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return s(e)},o.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return n.SlowBuffer(e)}}}},{package:"@metamask/desktop>@metamask/obs-store>readable-stream>safe-buffer",file:"node_modules/@metamask/desktop/node_modules/safe-buffer/index.js"}],[1232,{"safe-buffer":1231},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("safe-buffer").Buffer,s=n.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function i(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(n.isEncoding===s||!s(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=l,this.end=c,t=4;break;case"utf8":this.fillLast=a,t=4;break;case"base64":this.text=d,this.end=u,t=3;break;default:return this.write=h,void(this.end=p)}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(t)}function o(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function a(e){var t=this.lastTotal-this.lastNeed,r=function(e,t,r){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return r!==undefined?r:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function l(e,t){if((e.length-t)%2==0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function c(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function d(e,t){var r=(e.length-t)%3;return 0===r?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function u(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function h(e){return e.toString(this.encoding)}function p(e){return e&&e.length?this.write(e):""}r.StringDecoder=i,i.prototype.write=function(e){if(0===e.length)return"";var t,r;if(this.lastNeed){if((t=this.fillLast(e))===undefined)return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r=0)return s>0&&(e.lastNeed=s-1),s;if(--n=0)return s>0&&(e.lastNeed=s-2),s;if(--n=0)return s>0&&(2===s?s=0:e.lastNeed=s-3),s;return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var n=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)},i.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}}}},{package:"@metamask/desktop>@metamask/obs-store>readable-stream>string_decoder",file:"node_modules/@metamask/desktop/node_modules/string_decoder/lib/string_decoder.js"}],[1233,{_process:3992,"readable-stream":1230,util:4423,xtend:4478},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(r){(function(){var n=e("readable-stream").Transform,s=e("util").inherits,i=e("xtend");function o(e){n.call(this,e),this._destroyed=!1}function a(e,t,r){r(null,e)}function l(e){return function(t,r,n){return"function"==typeof t&&(n=r,r=t,t={}),"function"!=typeof r&&(r=a),"function"!=typeof n&&(n=null),e(t,r,n)}}s(o,n),o.prototype.destroy=function(e){if(!this._destroyed){this._destroyed=!0;var t=this;r.nextTick((function(){e&&t.emit("error",e),t.emit("close")}))}},t.exports=l((function(e,t,r){var n=new o(e);return n._transform=t,r&&(n._flush=r),n})),t.exports.ctor=l((function(e,t,r){function n(t){if(!(this instanceof n))return new n(t);this.options=i(e,t),o.call(this,this.options)}return s(n,o),n.prototype._transform=t,r&&(n.prototype._flush=r),n})),t.exports.obj=l((function(e,t,r){var n=new o(i({objectMode:!0,highWaterMark:16},e));return n._transform=t,r&&(n._flush=r),n}))}).call(this)}).call(this,e("_process"))}}},{package:"@metamask/desktop>@metamask/obs-store>through2",file:"node_modules/@metamask/desktop/node_modules/through2/through2.js"}],[1234,{"@ethersproject/providers":521,"@metamask/base-controller":1241,"@metamask/controller-utils":1247,"@metamask/utils":2300,"punycode/":4055},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n,s,i,o=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)},a=(e,t,r)=>(o(e,t,"read from private field"),r?r.call(e):t.get(e)),l=(e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)},c=(e,t,r,n)=>(o(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),d=e("@ethersproject/providers"),u=e("@metamask/base-controller"),h=e("@metamask/controller-utils"),p=e("@metamask/utils"),m=e("punycode/"),f=p.createProjectLogger.call(void 0,"ens-controller"),g={1:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",3:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",4:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",5:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",17e3:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",11155111:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e"},v={ensEntries:{persist:!0,anonymous:!1},ensResolutionsByAddress:{persist:!0,anonymous:!1}},w={ensEntries:{},ensResolutionsByAddress:{}},y=class extends u.BaseController{constructor({registriesByChainId:e=g,messenger:t,state:r={},provider:a,onNetworkDidChange:u}){super({name:"EnsController",metadata:v,messenger:t,state:{...w,ensEntries:Object.fromEntries(Object.entries(e).map((([e,t])=>[h.toHex.call(void 0,e),{".":{address:t,chainId:h.toHex.call(void 0,e),ensName:"."}}]))),...r}}),l(this,s),l(this,n,null),a&&u&&u((t=>{this.resetState();const r=t.providerConfig.chainId;var l,u,p;(l=this,u=s,p=i,o(l,u,"access private method"),p).call(this,r)?c(this,n,new(0,d.Web3Provider)(a,{chainId:h.convertHexToDecimal.call(void 0,r),name:h.CHAIN_ID_TO_ETHERS_NETWORK_NAME_MAP[r],ensAddress:e[parseInt(r,16)]})):c(this,n,null)}))}resetState(){this.update((e=>{e.ensResolutionsByAddress={}}))}clear(){this.update((e=>{e.ensEntries={}}))}delete(e,t){const r=h.normalizeEnsName.call(void 0,t);return!!(r&&this.state.ensEntries[e]&&this.state.ensEntries[e][r])&&(this.update((t=>{delete t.ensEntries[e][r],0===Object.keys(t.ensEntries[e]).length&&delete t.ensEntries[e]})),!0)}get(e,t){const r=h.normalizeEnsName.call(void 0,t);return r&&this.state.ensEntries[e]&&this.state.ensEntries[e][r]||null}set(e,t,r){if(!Number.isInteger(Number.parseInt(e,10))||!t||"string"!=typeof t||r&&!h.isValidHexAddress.call(void 0,r))throw new Error(`Invalid ENS entry: { chainId:${e}, ensName:${t}, address:${r}}`);const n=h.normalizeEnsName.call(void 0,t);if(!n)throw new Error(`Invalid ENS name: ${t}`);const s=r?h.toChecksumHexAddress.call(void 0,r):null,i=this.state.ensEntries[e];return(!i?.[n]||i[n].address!==s)&&(this.update((t=>{t.ensEntries={...this.state.ensEntries,[e]:{...this.state.ensEntries[e],[n]:{address:s,chainId:e,ensName:n}}}})),!0)}async reverseResolveAddress(e){if(!a(this,n))return;const t=h.toChecksumHexAddress.call(void 0,e);if(this.state.ensResolutionsByAddress[t])return this.state.ensResolutionsByAddress[t];let r,s;try{r=await a(this,n).lookupAddress(t)}catch(e){return void f(e)}if(r){try{s=await a(this,n).resolveName(r)}catch(e){return void f(e)}return s&&"0x0000000000000000000000000000000000000000"!==s&&"0x"!==s&&h.toChecksumHexAddress.call(void 0,s)===t?(this.update((e=>{e.ensResolutionsByAddress[t]=m.toASCII.call(void 0,r)})),r):void 0}}};n=new WeakMap,s=new WeakSet,i=function(e){return Boolean(this.state.ensEntries[e])};var k=y;r.DEFAULT_ENS_NETWORK_MAP=g,r.EnsController=y,r.EnsController_default=k}}},{package:"@metamask/ens-controller",file:"node_modules/@metamask/ens-controller/dist/chunk-S7KH3XXU.js"}],[1235,{"./chunk-S7KH3XXU.js":1234},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n=e("./chunk-S7KH3XXU.js");r.DEFAULT_ENS_NETWORK_MAP=n.DEFAULT_ENS_NETWORK_MAP,r.EnsController=n.EnsController}}},{package:"@metamask/ens-controller",file:"node_modules/@metamask/ens-controller/dist/index.js"}],[1236,{"./chunk-UJFCPTF3.js":1238,"./chunk-Z4BLTVTB.js":1239},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n,s,i,o,a=e("./chunk-UJFCPTF3.js"),l=e("./chunk-Z4BLTVTB.js");n=new WeakMap,s=new WeakMap,i=new WeakMap,o=new WeakMap,r.ControllerMessenger=class{constructor(){l.__privateAdd.call(void 0,this,n,new Map),l.__privateAdd.call(void 0,this,s,new Map),l.__privateAdd.call(void 0,this,i,new Map),l.__privateAdd.call(void 0,this,o,new Map)}registerActionHandler(e,t){if(l.__privateGet.call(void 0,this,n).has(e))throw new Error(`A handler for ${e} has already been registered`);l.__privateGet.call(void 0,this,n).set(e,t)}unregisterActionHandler(e){l.__privateGet.call(void 0,this,n).delete(e)}clearActions(){l.__privateGet.call(void 0,this,n).clear()}call(e,...t){const r=l.__privateGet.call(void 0,this,n).get(e);if(!r)throw new Error(`A handler for ${e} has not been registered`);return r(...t)}registerInitialEventPayload({eventType:e,getPayload:t}){l.__privateGet.call(void 0,this,i).set(e,t)}publish(e,...t){const r=l.__privateGet.call(void 0,this,s).get(e);if(r)for(const[e,n]of r.entries())try{if(n){const r=l.__privateGet.call(void 0,this,o).get(e),s=n(...t);s!==r&&(l.__privateGet.call(void 0,this,o).set(e,s),e(s,r))}else e(...t)}catch(e){setTimeout((()=>{throw e}))}}subscribe(e,t,r){let n=l.__privateGet.call(void 0,this,s).get(e);if(n||(n=new Map,l.__privateGet.call(void 0,this,s).set(e,n)),n.set(t,r),r){const n=l.__privateGet.call(void 0,this,i).get(e);if(n){const e=r(...n());l.__privateGet.call(void 0,this,o).set(t,e)}}}unsubscribe(e,t){const r=l.__privateGet.call(void 0,this,s).get(e);if(!r||!r.has(t))throw new Error(`Subscription not found for event: ${e}`);r.get(t)&&l.__privateGet.call(void 0,this,o).delete(t),r.delete(t)}clearEventSubscriptions(e){l.__privateGet.call(void 0,this,s).delete(e)}clearSubscriptions(){l.__privateGet.call(void 0,this,s).clear()}getRestricted({name:e,allowedActions:t,allowedEvents:r}){return new(0,a.RestrictedControllerMessenger)({controllerMessenger:this,name:e,allowedActions:t,allowedEvents:r})}}}}},{package:"@metamask/ens-controller>@metamask/base-controller",file:"node_modules/@metamask/ens-controller/node_modules/@metamask/base-controller/dist/chunk-G42723LG.js"}],[1237,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n=class{constructor(e={},t={}){this.defaultConfig={},this.defaultState={},this.disabled=!1,this.name="BaseController",this.internalConfig=this.defaultConfig,this.internalState=this.defaultState,this.internalListeners=[],this.initialState=t,this.initialConfig=e}initialize(){return this.internalState=this.defaultState,this.internalConfig=this.defaultConfig,this.configure(this.initialConfig),this.update(this.initialState),this}get config(){return this.internalConfig}get state(){return this.internalState}configure(e,t=!1,r=!0){if(r){this.internalConfig=t?e:Object.assign(this.internalConfig,e);for(const e of Object.keys(this.internalConfig)){const t=this.internalConfig[e];void 0!==t&&(this[e]=t)}}else for(const t of Object.keys(e))if(void 0!==this.internalConfig[t]){const r=e[t];this.internalConfig[t]=r,this[t]=r}}notify(){this.disabled||this.internalListeners.forEach((e=>{e(this.internalState)}))}subscribe(e){this.internalListeners.push(e)}unsubscribe(e){const t=this.internalListeners.findIndex((t=>e===t));return t>-1&&this.internalListeners.splice(t,1),t>-1}update(e,t=!1){this.internalState=t?Object.assign({},e):Object.assign({},this.internalState,e),this.notify()}},s=n;r.BaseControllerV1=n,r.BaseControllerV1_default=s}}},{package:"@metamask/ens-controller>@metamask/base-controller",file:"node_modules/@metamask/ens-controller/node_modules/@metamask/base-controller/dist/chunk-NINOM2XQ.js"}],[1238,{"./chunk-Z4BLTVTB.js":1239},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n,s,i,o,a,l,c,d,u,h,p=e("./chunk-Z4BLTVTB.js");n=new WeakMap,s=new WeakMap,i=new WeakMap,o=new WeakMap,a=new WeakSet,l=function(e){const t=p.__privateGet.call(void 0,this,o);return p.__privateMethod.call(void 0,this,u,h).call(this,e)||null!==t&&t.includes(e)},c=new WeakSet,d=function(e){const t=p.__privateGet.call(void 0,this,i);return p.__privateMethod.call(void 0,this,u,h).call(this,e)||null!==t&&t.includes(e)},u=new WeakSet,h=function(e){return e.startsWith(`${p.__privateGet.call(void 0,this,s)}:`)},r.RestrictedControllerMessenger=class{constructor({controllerMessenger:e,name:t,allowedActions:r,allowedEvents:l}){p.__privateAdd.call(void 0,this,a),p.__privateAdd.call(void 0,this,c),p.__privateAdd.call(void 0,this,u),p.__privateAdd.call(void 0,this,n,void 0),p.__privateAdd.call(void 0,this,s,void 0),p.__privateAdd.call(void 0,this,i,void 0),p.__privateAdd.call(void 0,this,o,void 0),p.__privateSet.call(void 0,this,n,e),p.__privateSet.call(void 0,this,s,t),p.__privateSet.call(void 0,this,i,r),p.__privateSet.call(void 0,this,o,l)}registerActionHandler(e,t){if(!p.__privateMethod.call(void 0,this,u,h).call(this,e))throw new Error(`Only allowed registering action handlers prefixed by '${p.__privateGet.call(void 0,this,s)}:'`);p.__privateGet.call(void 0,this,n).registerActionHandler(e,t)}unregisterActionHandler(e){if(!p.__privateMethod.call(void 0,this,u,h).call(this,e))throw new Error(`Only allowed unregistering action handlers prefixed by '${p.__privateGet.call(void 0,this,s)}:'`);p.__privateGet.call(void 0,this,n).unregisterActionHandler(e)}call(e,...t){if(!p.__privateMethod.call(void 0,this,c,d).call(this,e))throw new Error(`Action missing from allow list: ${e}`);return p.__privateGet.call(void 0,this,n).call(e,...t)}registerInitialEventPayload({eventType:e,getPayload:t}){if(!p.__privateMethod.call(void 0,this,u,h).call(this,e))throw new Error(`Only allowed publishing events prefixed by '${p.__privateGet.call(void 0,this,s)}:'`);p.__privateGet.call(void 0,this,n).registerInitialEventPayload({eventType:e,getPayload:t})}publish(e,...t){if(!p.__privateMethod.call(void 0,this,u,h).call(this,e))throw new Error(`Only allowed publishing events prefixed by '${p.__privateGet.call(void 0,this,s)}:'`);p.__privateGet.call(void 0,this,n).publish(e,...t)}subscribe(e,t,r){if(!p.__privateMethod.call(void 0,this,a,l).call(this,e))throw new Error(`Event missing from allow list: ${e}`);return r?p.__privateGet.call(void 0,this,n).subscribe(e,t,r):p.__privateGet.call(void 0,this,n).subscribe(e,t)}unsubscribe(e,t){if(!p.__privateMethod.call(void 0,this,a,l).call(this,e))throw new Error(`Event missing from allow list: ${e}`);p.__privateGet.call(void 0,this,n).unsubscribe(e,t)}clearEventSubscriptions(e){if(!p.__privateMethod.call(void 0,this,u,h).call(this,e))throw new Error(`Only allowed clearing events prefixed by '${p.__privateGet.call(void 0,this,s)}:'`);p.__privateGet.call(void 0,this,n).clearEventSubscriptions(e)}}}}},{package:"@metamask/ens-controller>@metamask/base-controller",file:"node_modules/@metamask/ens-controller/node_modules/@metamask/base-controller/dist/chunk-UJFCPTF3.js"}],[1239,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)};r.__privateGet=(e,t,r)=>(n(e,t,"read from private field"),r?r.call(e):t.get(e)),r.__privateAdd=(e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)},r.__privateSet=(e,t,r,s)=>(n(e,t,"write to private field"),s?s.call(e,r):t.set(e,r),r),r.__privateMethod=(e,t,r)=>(n(e,t,"access private method"),r)}}},{package:"@metamask/ens-controller>@metamask/base-controller",file:"node_modules/@metamask/ens-controller/node_modules/@metamask/base-controller/dist/chunk-Z4BLTVTB.js"}],[124,{lodash:3836},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=e("lodash");r.default={version:4,migrate(e){const t=(0,n.cloneDeep)(e);t.meta.version=4;try{if("rpc"!==t.data.config.provider.type)return Promise.resolve(t);switch(t.data.config.provider.rpcTarget){case"https://testrpc.metamask.io/":t.data.config.provider={type:"testnet"};break;case"https://rpc.metamask.io/":t.data.config.provider={type:"mainnet"}}}catch(e){}return Promise.resolve(t)}}}}},{package:"$root$",file:"app/scripts/migrations/004.js"}],[1240,{"./chunk-Z4BLTVTB.js":1239,immer:3640},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n,s=e("./chunk-Z4BLTVTB.js"),i=e("immer");i.enablePatches.call(void 0);function o(e,t,r){return Object.keys(e).reduce(((n,s)=>{try{const i=t[s];if(!i)throw new Error(`No metadata found for '${String(s)}'`);const o=i[r],a=e[s];return"function"==typeof o?n[s]=o(a):o&&(n[s]=a),n}catch(e){return setTimeout((()=>{throw e})),n}}),{})}n=new WeakMap,r.BaseController=class{constructor({messenger:e,metadata:t,name:r,state:o}){s.__privateAdd.call(void 0,this,n,void 0),this.messagingSystem=e,this.name=r,s.__privateSet.call(void 0,this,n,i.freeze.call(void 0,o,!0)),this.metadata=t,this.messagingSystem.registerActionHandler(`${r}:getState`,(()=>this.state)),this.messagingSystem.registerInitialEventPayload({eventType:`${r}:stateChange`,getPayload:()=>[this.state,[]]})}get state(){return s.__privateGet.call(void 0,this,n)}set state(e){throw new Error("Controller state cannot be directly mutated; use 'update' method instead.")}update(e){const[t,r,o]=i.produceWithPatches.call(void 0,s.__privateGet.call(void 0,this,n),e);return s.__privateSet.call(void 0,this,n,t),this.messagingSystem.publish(`${this.name}:stateChange`,t,r),{nextState:t,patches:r,inversePatches:o}}applyPatches(e){const t=i.applyPatches.call(void 0,s.__privateGet.call(void 0,this,n),e);s.__privateSet.call(void 0,this,n,t),this.messagingSystem.publish(`${this.name}:stateChange`,t,e)}destroy(){this.messagingSystem.clearEventSubscriptions(`${this.name}:stateChange`)}},r.getAnonymizedState=function(e,t){return o(e,t,"anonymous")},r.getPersistentState=function(e,t){return o(e,t,"persist")}}}},{package:"@metamask/ens-controller>@metamask/base-controller",file:"node_modules/@metamask/ens-controller/node_modules/@metamask/base-controller/dist/chunk-ZNOPSWMU.js"}],[1241,{"./chunk-G42723LG.js":1236,"./chunk-NINOM2XQ.js":1237,"./chunk-UJFCPTF3.js":1238,"./chunk-Z4BLTVTB.js":1239,"./chunk-ZNOPSWMU.js":1240},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n=e("./chunk-NINOM2XQ.js"),s=e("./chunk-ZNOPSWMU.js"),i=e("./chunk-G42723LG.js"),o=e("./chunk-UJFCPTF3.js");e("./chunk-Z4BLTVTB.js"),r.BaseController=s.BaseController,r.BaseControllerV1=n.BaseControllerV1,r.ControllerMessenger=i.ControllerMessenger,r.RestrictedControllerMessenger=o.RestrictedControllerMessenger,r.getAnonymizedState=s.getAnonymizedState,r.getPersistentState=s.getPersistentState}}},{package:"@metamask/ens-controller>@metamask/base-controller",file:"node_modules/@metamask/ens-controller/node_modules/@metamask/base-controller/dist/index.js"}],[1242,{"@metamask/utils":2300},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n=e("@metamask/utils"),s=n.createProjectLogger.call(void 0,"controller-utils");r.createModuleLogger=n.createModuleLogger,r.projectLogger=s}}},{package:"@metamask/ens-controller>@metamask/controller-utils",file:"node_modules/@metamask/ens-controller/node_modules/@metamask/controller-utils/dist/chunk-DBJSLKNR.js"}],[1243,{"./chunk-X4PYR7CK.js":1246,"@ethereumjs/util":438,"@metamask/ethjs-unit":1381,"@metamask/utils":2300,"bn.js":2980,buffer:3028,"eth-ens-namehash":3225,"fast-deep-equal":3356},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(t){(function(){function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(r,"__esModule",{value:!0});var s=e("./chunk-X4PYR7CK.js"),i=e("@ethereumjs/util"),o=e("@metamask/ethjs-unit"),a=e("@metamask/utils"),l=n(e("bn.js")),c=n(e("eth-ens-namehash")),d=n(e("fast-deep-equal")),u=new Error("timeout"),h=["__proto__","constructor","prototype"];function p(e){return e?new(0,l.default)(a.remove0x.call(void 0,e),16):new(0,l.default)(0)}async function m(e,t){const r=await fetch(e,t);if(!r.ok)throw new Error(`Fetch failed with status '${r.status}' for request '${String(e)}'`);return r}async function f(e,t){const r=await m(e,t);return await r.json()}r.PROTOTYPE_POLLUTION_BLOCKLIST=h,r.isSafeDynamicKey=function(e){return"string"==typeof e&&!h.some((t=>e===t))},r.isSafeChainId=function(e){if(!a.isHexString.call(void 0,e))return!1;const t=Number.parseInt(e,a.isStrictHexString.call(void 0,e)?16:10);return Number.isSafeInteger(t)&&t>0&&t<=s.MAX_SAFE_CHAIN_ID},r.BNToHex=function(e){return a.add0x.call(void 0,e.toString(16))},r.fractionBN=function(e,t,r){const n=new(0,l.default)(t),s=new(0,l.default)(r);return e.mul(n).div(s)},r.gweiDecToWEIBN=function(e){if(Number.isNaN(e))return new(0,l.default)(0);const t=e.toString().split("."),r=t[0]||"0";let n=t[1]||"";if(!n)return o.toWei.call(void 0,r,"gwei");if(n.length<=9)return o.toWei.call(void 0,`${r}.${n}`,"gwei");const s=n.slice(9)[0];n=n.slice(0,9);let i=o.toWei.call(void 0,`${r}.${n}`,"gwei");return Number(s)>=5&&(i=i.add(new(0,l.default)(1))),i},r.weiHexToGweiDec=function(e){const t=new(0,l.default)(a.remove0x.call(void 0,e),16);return o.fromWei.call(void 0,t,"gwei")},r.getBuyURL=function(e="1",t,r=5){switch(e){case"1":return`https://buy.coinbase.com/?code=9ec56d01-7e81-5017-930c-513daa27bb6a&amount=${r}&address=${t}&crypto_currency=ETH`;case"5":return"https://goerli-faucet.slock.it/";case"11155111":return"https://sepoliafaucet.net/";default:return}},r.hexToBN=p,r.hexToText=function(e){try{const r=a.remove0x.call(void 0,e);return t.from(r,"hex").toString("utf8")}catch(t){return e}},r.fromHex=function(e){return l.default.isBN(e)?e:new(0,l.default)(p(e).toString(10))},r.toHex=function(e){return"string"==typeof e&&a.isStrictHexString.call(void 0,e)?e:`0x${l.default.isBN(e)?e.toString(16):new(0,l.default)(e.toString(),10).toString(16)}`},r.safelyExecute=async function(e,t=!1){try{return await e()}catch(e){return void(t&&console.error(e))}},r.safelyExecuteWithTimeout=async function(e,t=!1,r=500){try{return await Promise.race([e(),new Promise(((e,t)=>setTimeout((()=>{t(u)}),r)))])}catch(e){return void(t&&console.error(e))}},r.toChecksumHexAddress=function(e){if("string"!=typeof e)return e;const t=a.add0x.call(void 0,e);return a.isHexString.call(void 0,t)?i.toChecksumAddress.call(void 0,t):t},r.isValidHexAddress=function(e,{allowNonPrefixed:t=!0}={}){const r=t?a.add0x.call(void 0,e):e;return!!a.isStrictHexString.call(void 0,r)&&i.isValidAddress.call(void 0,r)},r.isSmartContractCode=function(e){return!!e&&("0x"!==e&&"0x0"!==e)},r.successfulFetch=m,r.handleFetch=f,r.fetchWithErrorHandling=async function({url:e,options:t,timeout:r,errorCodesToCatch:n}){let s;try{s=r?Promise.race([await f(e,t),new Promise(((e,t)=>setTimeout((()=>{t(u)}),r)))]):await f(e,t)}catch(e){!function(e,t=[]){if(!e)return;if(!(e instanceof Error))throw e;if(!t.some((t=>e.message.includes(`Fetch failed with status '${t}'`)))&&!e.message.includes("Failed to fetch")&&e!==u)throw e;console.error(e)}(e,n)}return s},r.timeoutFetch=async function(e,t,r=500){return Promise.race([m(e,t),new Promise(((e,t)=>setTimeout((()=>{t(u)}),r)))])},r.normalizeEnsName=function(e){if("."===e)return e;if(e&&"string"==typeof e)try{const t=c.default.normalize(e.trim());if(t.match(/^(([\w\d-]+)\.)*[\w\d-]{7,}\.(eth|test)$/u))return t}catch(e){}return null},r.query=function(e,t,r=[]){return new Promise(((n,s)=>{const i=(e,t)=>{e?s(e):n(t)};t in e&&"function"==typeof e[t]?e[t](...r,i):e.sendAsync({method:t,params:r},i)}))},r.convertHexToDecimal=(e="0x0")=>a.isStrictHexString.call(void 0,e)?parseInt(e,16):Number(e)?Number(e):0,r.isPlainObject=function(e){return Boolean(e)&&"object"==typeof e&&!Array.isArray(e)},r.isNonEmptyArray=function(e){return Array.isArray(e)&&e.length>0},r.isValidJson=function(e){try{return d.default.call(void 0,e,JSON.parse(JSON.stringify(e)))}catch(e){return!1}}}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"@metamask/ens-controller>@metamask/controller-utils",file:"node_modules/@metamask/ens-controller/node_modules/@metamask/controller-utils/dist/chunk-EDY72VWL.js"}],[1244,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n={mainnet:"mainnet",goerli:"goerli",sepolia:"sepolia","linea-goerli":"linea-goerli","linea-sepolia":"linea-sepolia","linea-mainnet":"linea-mainnet"},s={...n,rpc:"rpc"};var i=(e=>(e.Mainnet="mainnet",e.Goerli="goerli",e.Sepolia="sepolia",e.LineaGoerli="linea-goerli",e.LineaSepolia="linea-sepolia",e.LineaMainnet="linea-mainnet",e.Aurora="aurora",e))(i||{}),o={mainnet:"0x1",goerli:"0x5",sepolia:"0xaa36a7",aurora:"0x4e454152","linea-goerli":"0xe704","linea-sepolia":"0xe705","linea-mainnet":"0xe708"},a=(e=>(e.mainnet="ETH",e.goerli="GoerliETH",e.sepolia="SepoliaETH",e["linea-goerli"]="LineaETH",e["linea-sepolia"]="LineaETH",e["linea-mainnet"]="ETH",e.rpc="",e))(a||{});r.InfuraNetworkType=n,r.NetworkType=s,r.isNetworkType=function(e){return Object.values(s).includes(e)},r.isInfuraNetworkType=function(e){return Object.keys(n).includes(e)},r.BuiltInNetworkName=i,r.ChainId=o,r.NetworksTicker=a}}},{package:"@metamask/ens-controller>@metamask/controller-utils",file:"node_modules/@metamask/ens-controller/node_modules/@metamask/controller-utils/dist/chunk-LGGBBU6G.js"}],[1245,{"./chunk-DBJSLKNR.js":1242,"@metamask/utils":2300,"@spruceid/siwe-parser":2526,buffer:3028},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(t){(function(){Object.defineProperty(r,"__esModule",{value:!0});var n=e("./chunk-DBJSLKNR.js"),s=e("@metamask/utils"),i=e("@spruceid/siwe-parser"),o=n.createModuleLogger.call(void 0,n.projectLogger,"detect-siwe");function a(e){try{const n="string"!=typeof(r=e)?r:s.remove0x.call(void 0,r),i=t.from(n,"hex");return 32===i.length?e:i.toString("utf8")}catch(t){return o(t),e}var r}var l={"http:":"80","https:":"443"},c=(e,t)=>e.match(/^[^/:]*:\/\//u)?new URL(e):new URL(`${t}//${e}`);r.parseDomainParts=c,r.isValidSIWEOrigin=e=>{try{const{origin:t,siwe:r}=e;if(!t||!r?.parsedMessage?.domain)return!1;const n=new URL(t),s=c(r.parsedMessage.domain,n.protocol);return 0===s.hostname.localeCompare(n.hostname,void 0,{sensitivity:"accent"})&&(""!==s.port&&s.port!==n.port?""===n.port&&s.port===l[n.protocol]:""===s.username||s.username===n.username)}catch(e){return o(e),!1}},r.detectSIWE=e=>{try{const{data:t}=e,r=a(t);return{isSIWEMessage:!0,parsedMessage:new(0,i.ParsedMessage)(r)}}catch(e){return{isSIWEMessage:!1,parsedMessage:null}}}}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"@metamask/ens-controller>@metamask/controller-utils",file:"node_modules/@metamask/ens-controller/node_modules/@metamask/controller-utils/dist/chunk-M6G3ISXG.js"}],[1246,{"./chunk-LGGBBU6G.js":1244},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n=e("./chunk-LGGBBU6G.js"),s={[n.NetworkType.goerli]:{chainId:n.ChainId.goerli,ticker:"GoerliETH",rpcPrefs:{blockExplorerUrl:`https://${n.NetworkType.goerli}.etherscan.io`}},[n.NetworkType.sepolia]:{chainId:n.ChainId.sepolia,ticker:"SepoliaETH",rpcPrefs:{blockExplorerUrl:`https://${n.NetworkType.sepolia}.etherscan.io`}},[n.NetworkType.mainnet]:{chainId:n.ChainId.mainnet,ticker:"ETH",rpcPrefs:{blockExplorerUrl:"https://etherscan.io"}},[n.NetworkType["linea-goerli"]]:{chainId:n.ChainId["linea-goerli"],ticker:"LineaETH",rpcPrefs:{blockExplorerUrl:"https://goerli.lineascan.build"}},[n.NetworkType["linea-sepolia"]]:{chainId:n.ChainId["linea-sepolia"],ticker:"LineaETH",rpcPrefs:{blockExplorerUrl:"https://sepolia.lineascan.build"}},[n.NetworkType["linea-mainnet"]]:{chainId:n.ChainId["linea-mainnet"],ticker:"ETH",rpcPrefs:{blockExplorerUrl:"https://lineascan.build"}},[n.NetworkType.rpc]:{chainId:void 0,blockExplorerUrl:void 0,ticker:void 0,rpcPrefs:void 0}},i=(e=>(e.AddEthereumChain="wallet_addEthereumChain",e.ConnectAccounts="connect_accounts",e.EthDecrypt="eth_decrypt",e.EthGetEncryptionPublicKey="eth_getEncryptionPublicKey",e.EthSign="eth_sign",e.EthSignTypedData="eth_signTypedData",e.PersonalSign="personal_sign",e.ResultError="result_error",e.ResultSuccess="result_success",e.SnapDialogAlert="snap_dialog:alert",e.SnapDialogConfirmation="snap_dialog:confirmation",e.SnapDialogPrompt="snap_dialog:prompt",e.SwitchEthereumChain="wallet_switchEthereumChain",e.Transaction="transaction",e.Unlock="unlock",e.WalletConnect="wallet_connect",e.WalletRequestPermissions="wallet_requestPermissions",e.WatchAsset="wallet_watchAsset",e))(i||{}),o={[n.ChainId.goerli]:"goerli",[n.ChainId.sepolia]:"sepolia",[n.ChainId.mainnet]:"mainnet",[n.ChainId["linea-goerli"]]:"linea-goerli",[n.ChainId["linea-sepolia"]]:"linea-sepolia",[n.ChainId["linea-mainnet"]]:"linea-mainnet",[n.ChainId.aurora]:"aurora"};r.RPC="rpc",r.FALL_BACK_VS_CURRENCY="ETH",r.IPFS_DEFAULT_GATEWAY_URL="https://cloudflare-ipfs.com/ipfs/",r.GANACHE_CHAIN_ID="0x539",r.MAX_SAFE_CHAIN_ID=0xfffffffffffec,r.ERC721="ERC721",r.ERC1155="ERC1155",r.ERC20="ERC20",r.ERC721_INTERFACE_ID="0x80ac58cd",r.ERC721_METADATA_INTERFACE_ID="0x5b5e139f",r.ERC721_ENUMERABLE_INTERFACE_ID="0x780e9d63",r.ERC1155_INTERFACE_ID="0xd9b67a26",r.ERC1155_METADATA_URI_INTERFACE_ID="0x0e89341c",r.ERC1155_TOKEN_RECEIVER_INTERFACE_ID="0x4e2312e0",r.GWEI="gwei",r.ASSET_TYPES={NATIVE:"NATIVE",TOKEN:"TOKEN",NFT:"NFT",UNKNOWN:"UNKNOWN"},r.TESTNET_TICKER_SYMBOLS={GOERLI:"GoerliETH",SEPOLIA:"SepoliaETH",LINEA_GOERLI:"LineaETH",LINEA_SEPOLIA:"LineaETH"},r.BUILT_IN_NETWORKS=s,r.OPENSEA_PROXY_URL="https://proxy.metafi.codefi.network/opensea/v1/api/v2",r.NFT_API_BASE_URL="https://nft.api.cx.metamask.io",r.ORIGIN_METAMASK="metamask",r.ApprovalType=i,r.CHAIN_ID_TO_ETHERS_NETWORK_NAME_MAP=o}}},{package:"@metamask/ens-controller>@metamask/controller-utils",file:"node_modules/@metamask/ens-controller/node_modules/@metamask/controller-utils/dist/chunk-X4PYR7CK.js"}],[1247,{"./chunk-DBJSLKNR.js":1242,"./chunk-EDY72VWL.js":1243,"./chunk-LGGBBU6G.js":1244,"./chunk-M6G3ISXG.js":1245,"./chunk-X4PYR7CK.js":1246},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n=e("./chunk-M6G3ISXG.js");e("./chunk-DBJSLKNR.js");var s=e("./chunk-EDY72VWL.js"),i=e("./chunk-X4PYR7CK.js"),o=e("./chunk-LGGBBU6G.js");r.ASSET_TYPES=i.ASSET_TYPES,r.ApprovalType=i.ApprovalType,r.BNToHex=s.BNToHex,r.BUILT_IN_NETWORKS=i.BUILT_IN_NETWORKS,r.BuiltInNetworkName=o.BuiltInNetworkName,r.CHAIN_ID_TO_ETHERS_NETWORK_NAME_MAP=i.CHAIN_ID_TO_ETHERS_NETWORK_NAME_MAP,r.ChainId=o.ChainId,r.ERC1155=i.ERC1155,r.ERC1155_INTERFACE_ID=i.ERC1155_INTERFACE_ID,r.ERC1155_METADATA_URI_INTERFACE_ID=i.ERC1155_METADATA_URI_INTERFACE_ID,r.ERC1155_TOKEN_RECEIVER_INTERFACE_ID=i.ERC1155_TOKEN_RECEIVER_INTERFACE_ID,r.ERC20=i.ERC20,r.ERC721=i.ERC721,r.ERC721_ENUMERABLE_INTERFACE_ID=i.ERC721_ENUMERABLE_INTERFACE_ID,r.ERC721_INTERFACE_ID=i.ERC721_INTERFACE_ID,r.ERC721_METADATA_INTERFACE_ID=i.ERC721_METADATA_INTERFACE_ID,r.FALL_BACK_VS_CURRENCY=i.FALL_BACK_VS_CURRENCY,r.GANACHE_CHAIN_ID=i.GANACHE_CHAIN_ID,r.GWEI=i.GWEI,r.IPFS_DEFAULT_GATEWAY_URL=i.IPFS_DEFAULT_GATEWAY_URL,r.InfuraNetworkType=o.InfuraNetworkType,r.MAX_SAFE_CHAIN_ID=i.MAX_SAFE_CHAIN_ID,r.NFT_API_BASE_URL=i.NFT_API_BASE_URL,r.NetworkType=o.NetworkType,r.NetworksTicker=o.NetworksTicker,r.OPENSEA_PROXY_URL=i.OPENSEA_PROXY_URL,r.ORIGIN_METAMASK=i.ORIGIN_METAMASK,r.RPC=i.RPC,r.TESTNET_TICKER_SYMBOLS=i.TESTNET_TICKER_SYMBOLS,r.convertHexToDecimal=s.convertHexToDecimal,r.detectSIWE=n.detectSIWE,r.fetchWithErrorHandling=s.fetchWithErrorHandling,r.fractionBN=s.fractionBN,r.fromHex=s.fromHex,r.getBuyURL=s.getBuyURL,r.gweiDecToWEIBN=s.gweiDecToWEIBN,r.handleFetch=s.handleFetch,r.hexToBN=s.hexToBN,r.hexToText=s.hexToText,r.isInfuraNetworkType=o.isInfuraNetworkType,r.isNetworkType=o.isNetworkType,r.isNonEmptyArray=s.isNonEmptyArray,r.isPlainObject=s.isPlainObject,r.isSafeChainId=s.isSafeChainId,r.isSafeDynamicKey=s.isSafeDynamicKey,r.isSmartContractCode=s.isSmartContractCode,r.isValidHexAddress=s.isValidHexAddress,r.isValidJson=s.isValidJson,r.isValidSIWEOrigin=n.isValidSIWEOrigin,r.normalizeEnsName=s.normalizeEnsName,r.parseDomainParts=n.parseDomainParts,r.query=s.query,r.safelyExecute=s.safelyExecute,r.safelyExecuteWithTimeout=s.safelyExecuteWithTimeout,r.successfulFetch=s.successfulFetch,r.timeoutFetch=s.timeoutFetch,r.toChecksumHexAddress=s.toChecksumHexAddress,r.toHex=s.toHex,r.weiHexToGweiDec=s.weiHexToGweiDec}}},{package:"@metamask/ens-controller>@metamask/controller-utils",file:"node_modules/@metamask/ens-controller/node_modules/@metamask/controller-utils/dist/index.js"}],[125,{lodash:3836},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=e("lodash");r.default={version:5,migrate(e){const t=(0,n.cloneDeep)(e);t.meta.version=5;try{const e=function(e){const{config:t}=e,r={...e,KeyringController:{vault:e.vault,selectedAccount:t.selectedAccount,walletNicknames:e.walletNicknames}};return delete r.vault,delete r.walletNicknames,delete r.config.selectedAccount,r}(t.data);t.data=e}catch(e){console.warn(`MetaMask Migration #5${e.stack}`)}return Promise.resolve(t)}}}}},{package:"$root$",file:"app/scripts/migrations/005.js"}],[1254,{"./base-filter":1255},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("./base-filter");t.exports=class extends n{constructor(){super(),this.allResults=[]}async update(){throw new Error("BaseFilterWithHistory - no update method specified")}addResults(e){this.allResults=this.allResults.concat(e),super.addResults(e)}addInitialResults(e){this.allResults=this.allResults.concat(e),super.addInitialResults(e)}getAllResults(){return this.allResults}}}}},{package:"@metamask/eth-json-rpc-filters",file:"node_modules/@metamask/eth-json-rpc-filters/base-filter-history.js"}],[1255,{"@metamask/safe-event-emitter":1718},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("@metamask/safe-event-emitter").default;t.exports=class extends n{constructor(){super(),this.updates=[]}async initialize(){}async update(){throw new Error("BaseFilter - no update method specified")}addResults(e){this.updates=this.updates.concat(e),e.forEach((e=>this.emit("update",e)))}addInitialResults(e){}getChangesAndClear(){const e=this.updates;return this.updates=[],e}}}}},{package:"@metamask/eth-json-rpc-filters",file:"node_modules/@metamask/eth-json-rpc-filters/base-filter.js"}],[1256,{"./base-filter":1255,"./getBlocksForRange":1257,"./hexUtils":1258},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("./base-filter"),s=e("./getBlocksForRange"),{incrementHexInt:i}=e("./hexUtils");t.exports=class extends n{constructor({provider:e,params:t}){super(),this.type="block",this.provider=e}async update({oldBlock:e,newBlock:t}){const r=t,n=i(e),o=(await s({provider:this.provider,fromBlock:n,toBlock:r})).map((e=>e.hash));this.addResults(o)}}}}},{package:"@metamask/eth-json-rpc-filters",file:"node_modules/@metamask/eth-json-rpc-filters/block-filter.js"}],[1257,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){function n(e){return e===undefined||null===e?e:Number.parseInt(e,16)}function s(e){if(e===undefined||null===e)return e;return"0x"+e.toString(16)}function i(e,t){return new Promise(((r,n)=>{e.sendAsync(t,((e,t)=>{e?n(e):t.error?n(t.error):t.result?r(t.result):n(new Error("Result was empty"))}))}))}t.exports=async function({provider:e,fromBlock:t,toBlock:r}){t||(t=r);const o=n(t),a=n(r),l=Array(a-o+1).fill().map(((e,t)=>o+t)).map(s);let c=await Promise.all(l.map((t=>async function(e,t,r){for(let n=0;n<3;n++)try{return await i(e,{id:1,jsonrpc:"2.0",method:t,params:r})}catch(e){console.error(`provider.sendAsync failed: ${e.stack||e.message||e}`)}return null}(e,"eth_getBlockByNumber",[t,!1]))));return c=c.filter((e=>null!==e)),c}}}},{package:"@metamask/eth-json-rpc-filters",file:"node_modules/@metamask/eth-json-rpc-filters/getBlocksForRange.js"}],[1258,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){function n(e){return e.sort(((e,t)=>"latest"===e||"earliest"===t?1:"latest"===t||"earliest"===e?-1:s(e)-s(t)))}function s(e){return e===undefined||null===e?e:Number.parseInt(e,16)}function i(e){if(e===undefined||null===e)return e;let t=e.toString(16);return t.length%2&&(t="0"+t),"0x"+t}function o(){return Math.floor(16*Math.random()).toString(16)}t.exports={minBlockRef:function(...e){return n(e)[0]},maxBlockRef:function(...e){const t=n(e);return t[t.length-1]},sortBlockRefs:n,bnToHex:function(e){return"0x"+e.toString(16)},blockRefIsNumber:function(e){return e&&!["earliest","latest","pending"].includes(e)},hexToInt:s,incrementHexInt:function(e){if(e===undefined||null===e)return e;return i(s(e)+1)},intToHex:i,unsafeRandomBytes:function(e){let t="0x";for(let r=0;r{const r=await e(...t);return c(r.id)}))}function h(e){return s((async(t,r)=>{const n=await e.apply(null,t.params);r.result=n}))}function p(e,t){const r=[];for(let t in e)r.push(e[t]);return r}t.exports=function({blockTracker:e,provider:t}){let r=0,s={};const m=new n,f=function({mutex:e}){return t=>async(r,n,s,i)=>{(await e.acquire())(),t(r,n,s,i)}}({mutex:m}),g=i({eth_newFilter:f(u(w)),eth_newBlockFilter:f(u(y)),eth_newPendingTransactionFilter:f(u(k)),eth_uninstallFilter:f(h(_)),eth_getFilterChanges:f(h(b)),eth_getFilterLogs:f(h(C))}),v=async({oldBlock:e,newBlock:t})=>{if(0===s.length)return;const r=await m.acquire();try{await Promise.all(p(s).map((async r=>{try{await r.update({oldBlock:e,newBlock:t})}catch(e){console.error(e)}})))}catch(e){console.error(e)}r()};return g.newLogFilter=w,g.newBlockFilter=y,g.newPendingTransactionFilter=k,g.uninstallFilter=_,g.getFilterChanges=b,g.getFilterLogs=C,g.destroy=()=>{!async function(){const e=p(s).length;s={},T({prevFilterCount:e,newFilterCount:0})}()},g;async function w(e){const r=new o({provider:t,params:e});await S(r);return r}async function y(){const e=new a({provider:t});await S(e);return e}async function k(){const e=new l({provider:t});await S(e);return e}async function b(e){const t=d(e),r=s[t];if(!r)throw new Error(`No filter for index "${t}"`);return r.getChangesAndClear()}async function C(e){const t=d(e),r=s[t];if(!r)throw new Error(`No filter for index "${t}"`);let n=[];return"log"===r.type&&(n=r.getAllResults()),n}async function _(e){const t=d(e),r=s[t],n=Boolean(r);return n&&await async function(e){const t=p(s).length;delete s[e];const r=p(s).length;T({prevFilterCount:t,newFilterCount:r})}(t),n}async function S(t){const n=p(s).length,i=await e.getLatestBlock();await t.initialize({currentBlock:i}),r++,s[r]=t,t.id=r,t.idHex=c(r);return T({prevFilterCount:n,newFilterCount:p(s).length}),r}function T({prevFilterCount:t,newFilterCount:r}){0===t&&r>0?e.on("sync",v):t>0&&0===r&&e.removeListener("sync",v)}}}}},{package:"@metamask/eth-json-rpc-filters",file:"node_modules/@metamask/eth-json-rpc-filters/index.js"}],[126,{lodash:3836},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=e("lodash");r.default={version:6,migrate(e){const t=(0,n.cloneDeep)(e);t.meta.version=6;try{const e=function(e){const t=e.KeyringController,r={...e,PreferencesController:{selectedAddress:t.selectedAccount}};return delete r.KeyringController.selectedAccount,r}(t.data);t.data=e}catch(e){console.warn(`MetaMask Migration #6${e.stack}`)}return Promise.resolve(t)}}}}},{package:"$root$",file:"app/scripts/migrations/006.js"}],[1260,{"./base-filter-history":1254,"./hexUtils":1258,"@metamask/eth-query":1261,pify:3986},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("@metamask/eth-query"),s=e("pify"),i=e("./base-filter-history"),{bnToHex:o,hexToInt:a,incrementHexInt:l,minBlockRef:c,blockRefIsNumber:d}=e("./hexUtils");t.exports=class extends i{constructor({provider:e,params:t}){super(),this.type="log",this.ethQuery=new n(e),this.params=Object.assign({fromBlock:"latest",toBlock:"latest",address:undefined,topics:[]},t),this.params.address&&(Array.isArray(this.params.address)||(this.params.address=[this.params.address]),this.params.address=this.params.address.map((e=>e.toLowerCase())))}async initialize({currentBlock:e}){let t=this.params.fromBlock;["latest","pending"].includes(t)&&(t=e),"earliest"===t&&(t="0x0"),this.params.fromBlock=t;const r=c(this.params.toBlock,e),n=Object.assign({},this.params,{toBlock:r}),s=await this._fetchLogs(n);this.addInitialResults(s)}async update({oldBlock:e,newBlock:t}){const r=t;let n;n=e?l(e):t;const s=Object.assign({},this.params,{fromBlock:n,toBlock:r}),i=(await this._fetchLogs(s)).filter((e=>this.matchLog(e)));this.addResults(i)}async _fetchLogs(e){return await s((t=>this.ethQuery.getLogs(e,t)))()}matchLog(e){if(a(this.params.fromBlock)>=a(e.blockNumber))return!1;if(d(this.params.toBlock)&&a(this.params.toBlock)<=a(e.blockNumber))return!1;const t=e.address&&e.address.toLowerCase();if(this.params.address&&t&&!this.params.address.includes(t))return!1;return this.params.topics.every(((t,r)=>{let n=e.topics[r];if(!n)return!1;n=n.toLowerCase();let s=Array.isArray(t)?t:[t];if(s.includes(null))return!0;s=s.map((e=>e.toLowerCase()));return s.includes(n)}))}}}}},{package:"@metamask/eth-json-rpc-filters",file:"node_modules/@metamask/eth-json-rpc-filters/log-filter.js"}],[1261,{"json-rpc-random-id":3686,xtend:4478},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("json-rpc-random-id")(),s=e("xtend");function i(e){this.currentProvider=e}function o(e){return function(...t){const r=t.pop();this.sendAsync({method:e,params:t},r)}}function a(e,t){return function(...r){const n=r.pop();r.length@metamask/eth-query",file:"node_modules/@metamask/eth-json-rpc-filters/node_modules/@metamask/eth-query/index.js"}],[1262,{"@metamask/rpc-errors":1717,"@metamask/safe-event-emitter":1718,"@metamask/utils":2300},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,s,i,o,a,l,c,d,u,h,p,m,f,g=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(s,i){function o(e){try{l(n.next(e))}catch(e){i(e)}}function a(e){try{l(n.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(o,a)}l((n=n.apply(e,t||[])).next())}))},v=this&&this.__classPrivateFieldSet||function(e,t,r,n,s){if("m"===n)throw new TypeError("Private method is not writable");if("a"===n&&!s)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!s:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?s.call(e,r):s?s.value=r:t.set(e,r),r},w=this&&this.__classPrivateFieldGet||function(e,t,r,n){if("a"===r&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)},y=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.JsonRpcEngine=void 0;const k=e("@metamask/rpc-errors"),b=y(e("@metamask/safe-event-emitter")),C=e("@metamask/utils");class _ extends b.default{constructor({notificationHandler:e}={}){super(),n.add(this),i.set(this,!1),o.set(this,void 0),a.set(this,void 0),v(this,o,[],"f"),v(this,a,e,"f")}destroy(){w(this,o,"f").forEach((e=>{"destroy"in e&&"function"==typeof e.destroy&&e.destroy()})),v(this,o,[],"f"),v(this,i,!0,"f")}push(e){w(this,n,"m",l).call(this),w(this,o,"f").push(e)}handle(e,t){if(w(this,n,"m",l).call(this),t&&"function"!=typeof t)throw new Error('"callback" must be a function if provided.');return Array.isArray(e)?t?w(this,n,"m",c).call(this,e,t):w(this,n,"m",c).call(this,e):t?w(this,n,"m",d).call(this,e,t):this._promiseHandle(e)}asMiddleware(){return w(this,n,"m",l).call(this),(e,t,r,n)=>g(this,void 0,void 0,(function*(){try{const[i,a,l]=yield w(_,s,"m",h).call(_,e,t,w(this,o,"f"));return a?(yield w(_,s,"m",m).call(_,l),n(i)):r((e=>g(this,void 0,void 0,(function*(){try{yield w(_,s,"m",m).call(_,l)}catch(t){return e(t)}return e()}))))}catch(e){return n(e)}}))}_promiseHandle(e){return g(this,void 0,void 0,(function*(){return new Promise(((t,r)=>{w(this,n,"m",d).call(this,e,((e,n)=>{e&&n===undefined?r(e):t(n)})).catch(r)}))}))}}function S(e){return JSON.stringify(e,null,2)}r.JsonRpcEngine=_,s=_,i=new WeakMap,o=new WeakMap,a=new WeakMap,n=new WeakSet,l=function(){if(w(this,i,"f"))throw new Error("This engine is destroyed and can no longer be used.")},c=function(e,t){return g(this,void 0,void 0,(function*(){try{if(0===e.length){const e=[{id:null,jsonrpc:"2.0",error:new k.JsonRpcError(k.errorCodes.rpc.invalidRequest,"Request batch must contain plain objects. Received an empty array")}];return t?t(null,e):e}const r=(yield Promise.all(e.map(this._promiseHandle.bind(this)))).filter((e=>e!==undefined));return t?t(null,r):r}catch(e){if(t)return t(e);throw e}}))},d=function(e,t){var r;return g(this,void 0,void 0,(function*(){if(!e||Array.isArray(e)||"object"!=typeof e){const r=new k.JsonRpcError(k.errorCodes.rpc.invalidRequest,"Requests must be plain objects. Received: "+typeof e,{request:e});return t(r,{id:null,jsonrpc:"2.0",error:r})}if("string"!=typeof e.method){const n=new k.JsonRpcError(k.errorCodes.rpc.invalidRequest,"Must specify a string method. Received: "+typeof e.method,{request:e});return w(this,a,"f")&&!(0,C.isJsonRpcRequest)(e)?t(null):t(n,{id:null!==(r=e.id)&&void 0!==r?r:null,jsonrpc:"2.0",error:n})}if(w(this,a,"f")&&!(0,C.isJsonRpcRequest)(e)){try{yield w(this,a,"f").call(this,e)}catch(n){return t(n)}return t(null)}let n=null;const i=Object.assign({},e),l={id:i.id,jsonrpc:i.jsonrpc};try{yield w(_,s,"m",u).call(_,i,l,w(this,o,"f"))}catch(e){n=e}return n&&(delete l.result,l.error||(l.error=(0,k.serializeError)(n))),t(n,l)}))},u=function(e,t,r){return g(this,void 0,void 0,(function*(){const[n,i,o]=yield w(_,s,"m",h).call(_,e,t,r);if(w(_,s,"m",f).call(_,e,t,i),yield w(_,s,"m",m).call(_,o),n)throw n}))},h=function(e,t,r){return g(this,void 0,void 0,(function*(){const n=[];let i=null,o=!1;for(const a of r)if([i,o]=yield w(_,s,"m",p).call(_,e,t,a,n),o)break;return[i,o,n.reverse()]}))},p=function(e,t,r,n){return g(this,void 0,void 0,(function*(){return new Promise((s=>{const i=e=>{const r=e||t.error;r&&(t.error=(0,k.serializeError)(r)),s([r,!0])},o=r=>{t.error?i(t.error):(r&&("function"!=typeof r&&i(new k.JsonRpcError(k.errorCodes.rpc.internal,`JsonRpcEngine: "next" return handlers must be functions. Received "${typeof r}" for request:\n${S(e)}`,{request:e})),n.push(r)),s([null,!1]))};try{r(e,t,o,i)}catch(e){i(e)}}))}))},m=function(e){return g(this,void 0,void 0,(function*(){for(const t of e)yield new Promise(((e,r)=>{t((t=>t?r(t):e()))}))}))},f=function(e,t,r){if(!(0,C.hasProperty)(t,"result")&&!(0,C.hasProperty)(t,"error"))throw new k.JsonRpcError(k.errorCodes.rpc.internal,`JsonRpcEngine: Response has no error or result for request:\n${S(e)}`,{request:e});if(!r)throw new k.JsonRpcError(k.errorCodes.rpc.internal,`JsonRpcEngine: Nothing ended request:\n${S(e)}`,{request:e})}}}},{package:"@metamask/eth-json-rpc-filters>@metamask/json-rpc-engine",file:"node_modules/@metamask/eth-json-rpc-filters/node_modules/@metamask/json-rpc-engine/dist/JsonRpcEngine.js"}],[1263,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(s,i){function o(e){try{l(n.next(e))}catch(e){i(e)}}function a(e){try{l(n.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(o,a)}l((n=n.apply(e,t||[])).next())}))};Object.defineProperty(r,"__esModule",{value:!0}),r.createAsyncMiddleware=void 0,r.createAsyncMiddleware=function(e){return(t,r,s,i)=>n(this,void 0,void 0,(function*(){let o;const a=new Promise((e=>{o=e}));let l=null,c=!1;const d=()=>n(this,void 0,void 0,(function*(){return c=!0,s((e=>{l=e,o()})),a}));try{yield e(t,r,d),c?(yield a,l(null)):i(null)}catch(e){l?l(e):i(e)}}))}}}},{package:"@metamask/eth-json-rpc-filters>@metamask/json-rpc-engine",file:"node_modules/@metamask/eth-json-rpc-filters/node_modules/@metamask/json-rpc-engine/dist/createAsyncMiddleware.js"}],[1264,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.createScaffoldMiddleware=void 0,r.createScaffoldMiddleware=function(e){return(t,r,n,s)=>{const i=e[t.method];return i===undefined?n():"function"==typeof i?i(t,r,n,s):(r.result=i,s())}}}}},{package:"@metamask/eth-json-rpc-filters>@metamask/json-rpc-engine",file:"node_modules/@metamask/eth-json-rpc-filters/node_modules/@metamask/json-rpc-engine/dist/createScaffoldMiddleware.js"}],[1265,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.getUniqueId=void 0;const n=4294967295;let s=Math.floor(Math.random()*n);r.getUniqueId=function(){return s=(s+1)%n,s}}}},{package:"@metamask/eth-json-rpc-filters>@metamask/json-rpc-engine",file:"node_modules/@metamask/eth-json-rpc-filters/node_modules/@metamask/json-rpc-engine/dist/getUniqueId.js"}],[1266,{"./getUniqueId":1265},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.createIdRemapMiddleware=void 0;const n=e("./getUniqueId");r.createIdRemapMiddleware=function(){return(e,t,r,s)=>{const i=e.id,o=(0,n.getUniqueId)();e.id=o,t.id=o,r((r=>{e.id=i,t.id=i,r()}))}}}}},{package:"@metamask/eth-json-rpc-filters>@metamask/json-rpc-engine",file:"node_modules/@metamask/eth-json-rpc-filters/node_modules/@metamask/json-rpc-engine/dist/idRemapMiddleware.js"}],[1267,{"./JsonRpcEngine":1262,"./createAsyncMiddleware":1263,"./createScaffoldMiddleware":1264,"./getUniqueId":1265,"./idRemapMiddleware":1266,"./mergeMiddleware":1268},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){n===undefined&&(n=r);var s=Object.getOwnPropertyDescriptor(t,r);s&&!("get"in s?!t.__esModule:s.writable||s.configurable)||(s={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,s)}:function(e,t,r,n){n===undefined&&(n=r),e[n]=t[r]}),s=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(r,"__esModule",{value:!0}),s(e("./createAsyncMiddleware"),r),s(e("./createScaffoldMiddleware"),r),s(e("./getUniqueId"),r),s(e("./idRemapMiddleware"),r),s(e("./JsonRpcEngine"),r),s(e("./mergeMiddleware"),r)}}},{package:"@metamask/eth-json-rpc-filters>@metamask/json-rpc-engine",file:"node_modules/@metamask/eth-json-rpc-filters/node_modules/@metamask/json-rpc-engine/dist/index.js"}],[1268,{"./JsonRpcEngine":1262},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.mergeMiddleware=void 0;const n=e("./JsonRpcEngine");r.mergeMiddleware=function(e){const t=new n.JsonRpcEngine;return e.forEach((e=>t.push(e))),t.asMiddleware()}}}},{package:"@metamask/eth-json-rpc-filters>@metamask/json-rpc-engine",file:"node_modules/@metamask/eth-json-rpc-filters/node_modules/@metamask/json-rpc-engine/dist/mergeMiddleware.js"}],[1269,{"./getBlocksForRange.js":1257,"./hexUtils.js":1258,"./index.js":1259,"@metamask/json-rpc-engine":1267,"@metamask/safe-event-emitter":1718},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("@metamask/safe-event-emitter").default,{createAsyncMiddleware:s,createScaffoldMiddleware:i}=e("@metamask/json-rpc-engine"),o=e("./index.js"),{unsafeRandomBytes:a,incrementHexInt:l}=e("./hexUtils.js"),c=e("./getBlocksForRange.js");function d(e){return null===e||e===undefined?null:{hash:e.hash,parentHash:e.parentHash,sha3Uncles:e.sha3Uncles,miner:e.miner,stateRoot:e.stateRoot,transactionsRoot:e.transactionsRoot,receiptsRoot:e.receiptsRoot,logsBloom:e.logsBloom,difficulty:e.difficulty,number:e.number,gasLimit:e.gasLimit,gasUsed:e.gasUsed,nonce:e.nonce,mixHash:e.mixHash,timestamp:e.timestamp,extraData:e.extraData}}t.exports=function({blockTracker:e,provider:t}){const r={},u=o({blockTracker:e,provider:t});let h=!1;const p=new n,m=i({eth_subscribe:s((async function(n,s){if(h)throw new Error("SubscriptionManager - attempting to use after destroying");const i=n.params[0],o=a(16);let p;switch(i){case"newHeads":p=m({subId:o});break;case"logs":const e=n.params[1];p=g({subId:o,filter:await u.newLogFilter(e)});break;default:throw new Error(`SubscriptionManager - unsupported subscription type "${i}"`)}return r[o]=p,void(s.result=o);function m({subId:r}){const n={type:i,destroy:async()=>{e.removeListener("sync",n.update)},update:async({oldBlock:e,newBlock:n})=>{const s=n,i=l(e);(await c({provider:t,fromBlock:i,toBlock:s})).map(d).filter((e=>null!==e)).forEach((e=>{f(r,e)}))}};return e.on("sync",n.update),n}function g({subId:e,filter:t}){t.on("update",(t=>f(e,t)));return{type:i,destroy:async()=>await u.uninstallFilter(t.idHex)}}})),eth_unsubscribe:s((async function(e,t){if(h)throw new Error("SubscriptionManager - attempting to use after destroying");const n=e.params[0],s=r[n];if(!s)return void(t.result=!1);delete r[n],await s.destroy(),t.result=!0}))});return m.destroy=function(){p.removeAllListeners();for(const e in r)r[e].destroy(),delete r[e];h=!0},{events:p,middleware:m};function f(e,t){p.emit("notification",{jsonrpc:"2.0",method:"eth_subscription",params:{subscription:e,result:t}})}}}}},{package:"@metamask/eth-json-rpc-filters",file:"node_modules/@metamask/eth-json-rpc-filters/subscriptionManager.js"}],[127,{lodash:3836},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=e("lodash");r.default={version:7,migrate(e){const t=(0,n.cloneDeep)(e);t.meta.version=7;try{const e=function(e){const t={...e,TransactionManager:{transactions:e.transactions||[],gasMultiplier:e.gasMultiplier||1}};return delete t.transactions,delete t.gasMultiplier,t}(t.data);t.data=e}catch(e){console.warn(`MetaMask Migration #7${e.stack}`)}return Promise.resolve(t)}}}}},{package:"$root$",file:"app/scripts/migrations/007.js"}],[1270,{"./base-filter":1255,"./getBlocksForRange":1257,"./hexUtils":1258},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("./base-filter"),s=e("./getBlocksForRange"),{incrementHexInt:i}=e("./hexUtils");t.exports=class extends n{constructor({provider:e}){super(),this.type="tx",this.provider=e}async update({oldBlock:e}){const t=e,r=i(e),n=await s({provider:this.provider,fromBlock:r,toBlock:t}),o=[];for(const e of n)o.push(...e.transactions);this.addResults(o)}}}}},{package:"@metamask/eth-json-rpc-filters",file:"node_modules/@metamask/eth-json-rpc-filters/tx-filter.js"}],[128,{lodash:3836},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=e("lodash");r.default={version:8,migrate(e){const t=(0,n.cloneDeep)(e);t.meta.version=8;try{const e=function(e){const t={...e,NoticeController:{noticesList:e.noticesList||[]}};return delete t.noticesList,t}(t.data);t.data=e}catch(e){console.warn(`MetaMask Migration #8${e.stack}`)}return Promise.resolve(t)}}}}},{package:"$root$",file:"app/scripts/migrations/008.js"}],[129,{lodash:3836},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=e("lodash");r.default={version:9,migrate(e){const t=(0,n.cloneDeep)(e);t.meta.version=9;try{const e=function(e){const t=(0,n.merge)({},e,{CurrencyController:{currentCurrency:e.currentFiat||e.fiatCurrency||"USD",conversionRate:e.conversionRate,conversionDate:e.conversionDate}});return delete t.currentFiat,delete t.fiatCurrency,delete t.conversionRate,delete t.conversionDate,t}(t.data);t.data=e}catch(e){console.warn(`MetaMask Migration #9${e.stack}`)}return Promise.resolve(t)}}}}},{package:"$root$",file:"app/scripts/migrations/009.js"}],[13,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.OIDC_TOKENS_ENDPOINT=r.AUTH_NONCE_ENDPOINT=r.AUTH_LOGIN_ENDPOINT=void 0,r.createLoginRawMessage=function(e,t){return`metamask:${e}:${t}`},r.getAccessToken=async function(e){const t=new Headers({"Content-Type":"application/x-www-form-urlencoded"}),r=new URLSearchParams;r.append("grant_type",l),r.append("client_id",a),r.append("assertion",e);try{const e=await fetch(o,{method:"POST",headers:t,body:r.toString()});if(!e.ok)return null;const n=await e.json();return(null==n?void 0:n.access_token)??null}catch(e){return console.error("authentication-controller/services: unable to get access token",e),null}},r.getNonce=async function(e){const t=new URL(s);t.searchParams.set("identifier",e);try{const e=await fetch(t.toString());if(!e.ok)return null;const r=await e.json();return(null==r?void 0:r.nonce)??null}catch(e){return console.error("authentication-controller/services: unable to get nonce",e),null}},r.login=async function(e,t,r){try{const n=await fetch(i,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({signature:t,raw_message:e,metametrics:{metametrics_id:r,agent:"extension"}})});if(!n.ok)return null;return await n.json()??null}catch(e){return console.error("authentication-controller/services: unable to login",e),null}};const n="https://authentication.api.cx.metamask.io",s=r.AUTH_NONCE_ENDPOINT=`${n}/api/v2/nonce`,i=r.AUTH_LOGIN_ENDPOINT=`${n}/api/v2/srp/login`,o=r.OIDC_TOKENS_ENDPOINT="https://oidc.api.cx.metamask.io/oauth2/token",a="1132f10a-b4e5-4390-a5f2-d9c6022db564",l="urn:ietf:params:oauth:grant-type:jwt-bearer"}}},{package:"$root$",file:"app/scripts/controllers/authentication/services.ts"}],[130,{lodash:3836},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=e("lodash");r.default={version:10,migrate(e){const t=(0,n.cloneDeep)(e);t.meta.version=10;try{const e=function(e){const t=(0,n.merge)({},e,{ShapeShiftController:{shapeShiftTxList:e.shapeShiftTxList||[]}});return delete t.shapeShiftTxList,t}(t.data);t.data=e}catch(e){console.warn(`MetaMask Migration #10${e.stack}`)}return Promise.resolve(t)}}}}},{package:"$root$",file:"app/scripts/migrations/010.js"}],[131,{lodash:3836},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=e("lodash");r.default={version:11,migrate(e){const t=(0,n.cloneDeep)(e);t.meta.version=11;try{const e=function(e){const t=e;return delete t.TOSHash,delete t.isDisclaimerConfirmed,t}(t.data);t.data=e}catch(e){console.warn(`MetaMask Migration #11${e.stack}`)}return Promise.resolve(t)}}}}},{package:"$root$",file:"app/scripts/migrations/011.js"}],[1312,{"./ledger-bridge":1313,"./ledger-iframe-bridge":1314,"./ledger-keyring":1315},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){n===undefined&&(n=r);var s=Object.getOwnPropertyDescriptor(t,r);s&&!("get"in s?!t.__esModule:s.writable||s.configurable)||(s={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,s)}:function(e,t,r,n){n===undefined&&(n=r),e[n]=t[r]}),s=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(r,"__esModule",{value:!0}),s(e("./ledger-keyring"),r),s(e("./ledger-iframe-bridge"),r),s(e("./ledger-bridge"),r)}}},{package:"@metamask/eth-ledger-bridge-keyring",file:"node_modules/@metamask/eth-ledger-bridge-keyring/dist/index.js"}],[1313,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0})}}},{package:"@metamask/eth-ledger-bridge-keyring",file:"node_modules/@metamask/eth-ledger-bridge-keyring/dist/ledger-bridge.js"}],[1314,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,s,i,o,a,l,c=this&&this.__classPrivateFieldGet||function(e,t,r,n){if("a"===r&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)};Object.defineProperty(r,"__esModule",{value:!0}),r.LedgerIframeBridge=r.IFrameMessageAction=void 0;var d;!function(e){e.LedgerConnectionChange="ledger-connection-change",e.LedgerUnlock="ledger-unlock",e.LedgerMakeApp="ledger-make-app",e.LedgerUpdateTransport="ledger-update-transport",e.LedgerSignTransaction="ledger-sign-transaction",e.LedgerSignPersonalMessage="ledger-sign-personal-message",e.LedgerSignTypedData="ledger-sign-typed-data"}(d=r.IFrameMessageAction||(r.IFrameMessageAction={}));r.LedgerIframeBridge=class{constructor(){n.add(this),this.iframeLoaded=!1,this.isDeviceConnected=!1,this.currentMessageId=0,this.messageCallbacks={}}async init(e){c(this,n,"m",i).call(this,e),this.eventListener=c(this,n,"m",a).bind(this,e),window.addEventListener("message",this.eventListener)}async destroy(){this.eventListener&&window.removeEventListener("message",this.eventListener)}async attemptMakeApp(){return new Promise(((e,t)=>{c(this,n,"m",l).call(this,{action:d.LedgerMakeApp},(r=>{r.success?e(!0):t(r.error)}))}))}async updateTransportMethod(e){return new Promise(((t,r)=>{this.iframeLoaded?c(this,n,"m",l).call(this,{action:d.LedgerUpdateTransport,params:{transportType:e}},(({success:e})=>e?t(!0):r(new Error("Ledger transport could not be updated")))):this.delayedPromise={resolve:t,reject:r,transportType:e}}))}async getPublicKey(e){return c(this,n,"m",s).call(this,d.LedgerUnlock,e)}async deviceSignTransaction(e){return c(this,n,"m",s).call(this,d.LedgerSignTransaction,e)}async deviceSignMessage(e){return c(this,n,"m",s).call(this,d.LedgerSignPersonalMessage,e)}async deviceSignTypedData(e){return c(this,n,"m",s).call(this,d.LedgerSignTypedData,e)}},n=new WeakSet,s=async function(...[e,t]){return new Promise(((r,s)=>{c(this,n,"m",l).call(this,{action:e,params:t},(({success:e,payload:t})=>e?r(t):s(t.error)))}))},i=function(e){this.iframe=document.createElement("iframe"),this.iframe.src=e,this.iframe.allow="hid 'src'",this.iframe.onload=async()=>{if(this.iframeLoaded=!0,this.delayedPromise)try{const e=await this.updateTransportMethod(this.delayedPromise.transportType);this.delayedPromise.resolve(e)}catch(e){this.delayedPromise.reject(e)}finally{delete this.delayedPromise}},document.head.appendChild(this.iframe)},o=function(e){const t=e.split("/");return t.splice(-1,1),t.join("/")},a=function(e,t){if(t.origin===c(this,n,"m",o).call(this,e)&&t.data){const e=this.messageCallbacks[t.data.messageId];e?e(t.data):t.data.action===d.LedgerConnectionChange&&(this.isDeviceConnected=t.data.payload.connected)}},l=function(e,t){this.currentMessageId+=1;const r=Object.assign(Object.assign({},e),{messageId:this.currentMessageId,target:"LEDGER-IFRAME"});if(this.messageCallbacks[this.currentMessageId]=t,!this.iframeLoaded||!this.iframe||!this.iframe.contentWindow)throw new Error("The iframe is not loaded yet");this.iframe.contentWindow.postMessage(r,"*")}}}},{package:"@metamask/eth-ledger-bridge-keyring",file:"node_modules/@metamask/eth-ledger-bridge-keyring/dist/ledger-iframe-bridge.js"}],[1315,{"@ethereumjs/rlp":421,"@ethereumjs/tx":426,"@ethereumjs/util":438,"@metamask/eth-sig-util":1318,buffer:3028,events:3328,hdkey:3626},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,s,i,o,a,l,c,d,u,h,p,m,f,g=this&&this.__createBinding||(Object.create?function(e,t,r,n){n===undefined&&(n=r);var s=Object.getOwnPropertyDescriptor(t,r);s&&!("get"in s?!t.__esModule:s.writable||s.configurable)||(s={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,s)}:function(e,t,r,n){n===undefined&&(n=r),e[n]=t[r]}),v=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),w=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&g(t,e,r);return v(t,e),t},y=this&&this.__classPrivateFieldGet||function(e,t,r,n){if("a"===r&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)},k=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.LedgerKeyring=void 0;const b=e("@ethereumjs/rlp"),C=e("@ethereumjs/tx"),_=w(e("@ethereumjs/util")),S=e("@metamask/eth-sig-util"),T=e("buffer"),A=e("events"),E=k(e("hdkey")),M="m",P=`${M}/44'/60'/0'`,N="Ledger Hardware",I="https://metamask.github.io/eth-ledger-bridge-keyring";var R;!function(e){e.Ropsten="http://api-ropsten.etherscan.io",e.Kovan="http://api-kovan.etherscan.io",e.Rinkeby="https://api-rinkeby.etherscan.io",e.Mainnet="https://api.etherscan.io"}(R||(R={}));class j extends A.EventEmitter{constructor({bridge:e}){if(super(),n.add(this),this.type=N,this.page=0,this.perPage=5,this.unlockedAccount=0,this.accounts=[],this.accountDetails={},this.hdk=new E.default,this.hdPath=P,this.paths={},this.network=R.Mainnet,this.implementFullBIP44=!1,this.bridgeUrl=I,!e)throw new Error("Bridge is a required dependency for the keyring");this.bridge=e}async init(){return this.bridge.init(this.bridgeUrl)}async destroy(){return this.bridge.destroy()}async serialize(){return{hdPath:this.hdPath,accounts:this.accounts,accountDetails:this.accountDetails,bridgeUrl:this.bridgeUrl,implementFullBIP44:!1}}async deserialize(e={}){var t,r,i,o,a;return this.hdPath=null!==(t=e.hdPath)&&void 0!==t?t:P,this.bridgeUrl=null!==(r=e.bridgeUrl)&&void 0!==r?r:I,this.accounts=null!==(i=e.accounts)&&void 0!==i?i:[],this.accountDetails=null!==(o=e.accountDetails)&&void 0!==o?o:{},e.accountDetails||y(this,n,"m",s).call(this,e),this.implementFullBIP44=null!==(a=e.implementFullBIP44)&&void 0!==a&&a,this.accounts=this.accounts.filter((e=>Object.keys(this.accountDetails).includes(_.toChecksumAddress(e)))),Promise.resolve()}isUnlocked(){var e;return Boolean(null===(e=this.hdk)||void 0===e?void 0:e.publicKey)}isConnected(){return this.bridge.isDeviceConnected}setAccountToUnlock(e){this.unlockedAccount="number"==typeof e?e:parseInt(e,10)}setHdPath(e){this.hdPath!==e&&(this.hdk=new E.default),this.hdPath=e}async unlock(e,t=!0){if(this.isUnlocked()&&!e)return"already unlocked";const r=e?y(this,n,"m",p).call(this,e):this.hdPath;let s;try{s=await this.bridge.getPublicKey({hdPath:r})}catch(e){throw e instanceof Error?e:new Error("Unknown error")}return t&&s.chainCode&&(this.hdk.publicKey=T.Buffer.from(s.publicKey,"hex"),this.hdk.chainCode=T.Buffer.from(s.chainCode,"hex")),s.address}async addAccounts(e=1){return new Promise(((t,r)=>{this.unlock().then((async r=>{const s=this.unlockedAccount,i=s+e;for(let e=s;ee.toLowerCase())).includes(e.toLowerCase()))throw new Error(`Address ${e} not found in this keyring`);this.accounts=this.accounts.filter((t=>t.toLowerCase()!==e.toLowerCase())),delete this.accountDetails[_.toChecksumAddress(e)]}async attemptMakeApp(){return this.bridge.attemptMakeApp()}async updateTransportMethod(e){return this.bridge.updateTransportMethod(e)}async signTransaction(e,t){let r;if(function(e){return"getChainId"in e&&"function"==typeof e.getChainId}(t))return t.v=_.bufferToHex(t.getChainId()),t.r="0x00",t.s="0x00",r=t.serialize().toString("hex"),y(this,n,"m",i).call(this,e,r,(e=>(t.v=T.Buffer.from(e.v,"hex"),t.r=T.Buffer.from(e.r,"hex"),t.s=T.Buffer.from(e.s,"hex"),t)));const s=t.getMessageToSign(!1);return r=T.Buffer.isBuffer(s)?s.toString("hex"):T.Buffer.from(b.RLP.encode(s)).toString("hex"),y(this,n,"m",i).call(this,e,r,(e=>{const r=t.toJSON();return r.type=t.type,r.v=_.addHexPrefix(e.v),r.r=_.addHexPrefix(e.r),r.s=_.addHexPrefix(e.s),C.TransactionFactory.fromTxData(r,{common:t.common,freeze:Object.isFrozen(t)})}))}async signMessage(e,t){return this.signPersonalMessage(e,t)}async signPersonalMessage(e,t){const r=await this.unlockAccountByAddress(e);if(!r)throw new Error("Ledger: Unknown error while signing message");let n;try{n=await this.bridge.deviceSignMessage({hdPath:r,message:_.stripHexPrefix(t)})}catch(e){throw e instanceof Error?e:new Error("Ledger: Unknown error while signing message")}let s=parseInt(String(n.v),10).toString(16);s.length<2&&(s=`0${s}`);const i=`0x${n.r}${n.s}${s}`,o=(0,S.recoverPersonalSignature)({data:t,signature:i});if(_.toChecksumAddress(o)!==_.toChecksumAddress(e))throw new Error("Ledger: The signature doesnt match the right address");return i}async unlockAccountByAddress(e){const t=_.toChecksumAddress(e),r=this.accountDetails[t];if(!r)throw new Error(`Ledger: Account for address '${t}' not found`);const{hdPath:n}=r;if((await this.unlock(n,!1)).toLowerCase()!==e.toLowerCase())throw new Error(`Ledger: Account ${e} does not belong to the connected device`);return n}async signTypedData(e,t,r={}){if(!("V4"===r.version))throw new Error("Ledger: Only version 4 of typed data signing is supported");const{domain:n,types:s,primaryType:i,message:o}=S.TypedDataUtils.sanitizeData(t),a=S.TypedDataUtils.hashStruct("EIP712Domain",n,s,S.SignTypedDataVersion.V4).toString("hex"),l=S.TypedDataUtils.hashStruct(i.toString(),o,s,S.SignTypedDataVersion.V4).toString("hex"),c=await this.unlockAccountByAddress(e);if(!c)throw new Error("Ledger: Unknown error while signing message");let d;try{d=await this.bridge.deviceSignTypedData({hdPath:c,domainSeparatorHex:a,hashStructMessageHex:l})}catch(e){throw e instanceof Error?e:new Error("Ledger: Unknown error while signing message")}let u=parseInt(String(d.v),10).toString(16);u.length<2&&(u=`0${u}`);const h=`0x${d.r}${d.s}${u}`,p=(0,S.recoverTypedSignature)({data:t,signature:h,version:S.SignTypedDataVersion.V4});if(_.toChecksumAddress(p)!==_.toChecksumAddress(e))throw new Error("Ledger: The signature doesnt match the right address");return h}exportAccount(){throw new Error("Not supported on this device")}forgetDevice(){this.accounts=[],this.page=0,this.unlockedAccount=0,this.paths={},this.accountDetails={},this.hdk=new E.default}}r.LedgerKeyring=j,n=new WeakSet,s=function(e){if(y(this,n,"m",h).call(this)&&e.accountIndexes)for(const[t,r]of Object.entries(e.accountIndexes))this.accountDetails[t]={bip44:!0,hdPath:y(this,n,"m",u).call(this,r)};y(this,n,"m",h).call(this)||this.accounts.filter((e=>!Object.keys(this.accountDetails).includes(_.toChecksumAddress(e)))).forEach((e=>{try{this.accountDetails[_.toChecksumAddress(e)]={bip44:!1,hdPath:y(this,n,"m",d).call(this,e)}}catch(t){console.log(`failed to migrate account ${e}`)}}))},i=async function(e,t,r){const n=await this.unlockAccountByAddress(e);if(!n)throw new Error("Ledger: Unknown error while signing transaction");let s;try{s=await this.bridge.deviceSignTransaction({tx:t,hdPath:n})}catch(e){throw e instanceof Error?e:new Error("Ledger: Unknown error while signing transaction")}const i=r(s);if(i.verifySignature())return i;throw new Error("Ledger: The transaction signature is not valid")},o=async function(e){this.page+=e,this.page<=0&&(this.page=1);const t=(this.page-1)*this.perPage,r=t+this.perPage;let s;return await this.unlock(),s=y(this,n,"m",h).call(this)?await y(this,n,"m",a).call(this,t,r):y(this,n,"m",l).call(this,t,r),s},a=async function(e,t){const r=[];for(let s=e;s0},f=function(){return this.network},j.type=N}}},{package:"@metamask/eth-ledger-bridge-keyring",file:"node_modules/@metamask/eth-ledger-bridge-keyring/dist/ledger-keyring.js"}],[132,{lodash:3836},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=e("lodash");r.default={version:12,migrate(e){const t=(0,n.cloneDeep)(e);t.meta.version=12;try{const e=function(e){const t=e;return t.NoticeController.noticesList.forEach((e=>{e.read&&(e.body="")})),t}(t.data);t.data=e}catch(e){console.warn(`MetaMask Migration #12${e.stack}`)}return Promise.resolve(t)}}}}},{package:"$root$",file:"app/scripts/migrations/012.js"}],[1324,{"./util":1332},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.CaseInsensitiveMap=void 0;const n=e("./util");class s extends Map{static fromObject(e){return new s(Object.entries(e))}toObject(){return Object.fromEntries(this.entries())}get(e){return super.get(e.toLowerCase())}getOrThrow(e,t="Key"){return this.get(e)??(0,n.throwError)(`${t} '${e}' not found`)}has(e){return super.has(e.toLowerCase())}set(e,t){return super.set(e.toLowerCase(),t)}delete(e){return super.delete(e.toLowerCase())}}r.CaseInsensitiveMap=s}}},{package:"@metamask/eth-snap-keyring",file:"node_modules/@metamask/eth-snap-keyring/dist/CaseInsensitiveMap.js"}],[1325,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.DeferredPromise=void 0;r.DeferredPromise=class{constructor(){if(this.resolve=undefined,this.reject=undefined,this.promise=new Promise(((e,t)=>{this.resolve=e,this.reject=t})),!this.resolve||!this.reject)throw new Error("Promise constructor failed")}}}}},{package:"@metamask/eth-snap-keyring",file:"node_modules/@metamask/eth-snap-keyring/dist/DeferredPromise.js"}],[1326,{"@metamask/keyring-api":1444},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,s,i,o,a,l=this&&this.__classPrivateFieldSet||function(e,t,r,n,s){if("m"===n)throw new TypeError("Private method is not writable");if("a"===n&&!s)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!s:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?s.call(e,r):s?s.value=r:t.set(e,r),r},c=this&&this.__classPrivateFieldGet||function(e,t,r,n){if("a"===r&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)};Object.defineProperty(r,"__esModule",{value:!0}),r.KeyringSnapControllerClient=void 0;const d=e("@metamask/keyring-api");class u{constructor(e,t,r,a){n.set(this,void 0),s.set(this,void 0),i.set(this,void 0),o.set(this,void 0),l(this,i,e,"f"),l(this,n,t,"f"),l(this,s,r,"f"),l(this,o,a,"f")}async send(e){return c(this,i,"f").handleRequest({snapId:c(this,n,"f"),origin:c(this,s,"f"),handler:c(this,o,"f"),request:e})}}n=new WeakMap,s=new WeakMap,i=new WeakMap,o=new WeakMap;class h extends d.KeyringClient{constructor({controller:e,snapId:t="undefined",origin:r="metamask",handler:n="onKeyringRequest"}){super(new u(e,t,r,n)),a.set(this,void 0),l(this,a,e,"f")}withSnapId(e){return new h({controller:c(this,a,"f"),snapId:e})}getController(){return c(this,a,"f")}}r.KeyringSnapControllerClient=h,a=new WeakMap}}},{package:"@metamask/eth-snap-keyring",file:"node_modules/@metamask/eth-snap-keyring/dist/KeyringSnapControllerClient.js"}],[1327,{"./CaseInsensitiveMap":1324},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,s=this&&this.__classPrivateFieldSet||function(e,t,r,n,s){if("m"===n)throw new TypeError("Private method is not writable");if("a"===n&&!s)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!s:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?s.call(e,r):s?s.value=r:t.set(e,r),r},i=this&&this.__classPrivateFieldGet||function(e,t,r,n){if("a"===r&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)};Object.defineProperty(r,"__esModule",{value:!0}),r.SnapIdMap=r.InvalidSnapIdError=void 0;const o=e("./CaseInsensitiveMap");class a extends Error{constructor(e,t){super(`Snap "${e}" is not allowed to set "${t}"`),this.name="InvalidSnapIdError",this.snapId=e,this.key=t}}r.InvalidSnapIdError=a;class l{constructor(e){n.set(this,void 0),s(this,n,new o.CaseInsensitiveMap(e),"f")}toObject(){return i(this,n,"f").toObject()}static fromObject(e){return new l(Object.entries(e))}get(e,t){const r=i(this,n,"f").get(t);return r?.snapId===e?r:undefined}has(e,t){return this.get(e,t)!==undefined}delete(e,t){return this.has(e,t)&&i(this,n,"f").delete(t)}set(e,t){if(i(this,n,"f").has(e)&&!this.has(t.snapId,e))throw new a(t.snapId,e);return i(this,n,"f").set(e,t),this}values(){return i(this,n,"f").values()}get size(){return i(this,n,"f").size}}r.SnapIdMap=l,n=new WeakMap}}},{package:"@metamask/eth-snap-keyring",file:"node_modules/@metamask/eth-snap-keyring/dist/SnapIdMap.js"}],[1328,{"./DeferredPromise":1325,"./KeyringSnapControllerClient":1326,"./SnapIdMap":1327,"./logger":1330,"./types":1331,"./util":1332,"@ethereumjs/tx":426,"@metamask/eth-sig-util":1318,"@metamask/keyring-api":1444,"@metamask/utils":2300,events:3328,superstruct:4358,uuid:1333},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,s,i,o,a,l,c,d,u,h,p,m,f,g,v,w,y,k,b,C,_=this&&this.__classPrivateFieldSet||function(e,t,r,n,s){if("m"===n)throw new TypeError("Private method is not writable");if("a"===n&&!s)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!s:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?s.call(e,r):s?s.value=r:t.set(e,r),r},S=this&&this.__classPrivateFieldGet||function(e,t,r,n){if("a"===r&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)};Object.defineProperty(r,"__esModule",{value:!0}),r.SnapKeyring=r.SNAP_KEYRING_TYPE=void 0;const T=e("@ethereumjs/tx"),A=e("@metamask/eth-sig-util"),E=e("@metamask/keyring-api"),M=e("@metamask/utils"),P=e("events"),N=e("superstruct"),I=e("uuid"),R=e("./DeferredPromise"),j=e("./KeyringSnapControllerClient"),O=e("./logger"),x=e("./SnapIdMap"),B=e("./types"),D=e("./util");r.SNAP_KEYRING_TYPE="Snap Keyring";class L extends P.EventEmitter{constructor(e,t){super(),n.add(this),s.set(this,void 0),i.set(this,void 0),o.set(this,void 0),a.set(this,void 0),this.type=L.type,_(this,s,new j.KeyringSnapControllerClient({controller:e}),"f"),_(this,o,new x.SnapIdMap,"f"),_(this,i,new x.SnapIdMap,"f"),_(this,a,t,"f")}async handleKeyringSnapMessage(e,t){switch((0,N.assert)(t,B.SnapMessageStruct),t.method){case E.KeyringEvent.AccountCreated:return S(this,n,"m",l).call(this,e,t);case E.KeyringEvent.AccountUpdated:return S(this,n,"m",c).call(this,e,t);case E.KeyringEvent.AccountDeleted:return S(this,n,"m",d).call(this,e,t);case E.KeyringEvent.RequestApproved:return S(this,n,"m",u).call(this,e,t);case E.KeyringEvent.RequestRejected:return S(this,n,"m",h).call(this,e,t);default:throw new Error(`Method not supported: ${t.method}`)}}async serialize(){return{accounts:S(this,i,"f").toObject()}}async deserialize(e){e!==undefined&&_(this,i,x.SnapIdMap.fromObject(e.accounts),"f")}async getAccounts(){return(0,D.unique)([...S(this,i,"f").values()].map((({account:e})=>e.address.toLowerCase())))}async getAccountsBySnapId(e){return(0,D.unique)([...S(this,i,"f").values()].filter((({snapId:t})=>t===e)).map((({account:e})=>e.address.toLowerCase())))}async signTransaction(e,t,r={}){const s=t.common.chainId(),i=(0,D.toJson)({...t.toJSON(),from:e,type:`0x${t.type.toString(16)}`,chainId:(0,M.bigIntToHex)(s)}),o=await S(this,n,"m",p).call(this,{address:e,method:E.EthMethod.SignTransaction,params:[i],chainId:(0,M.toCaipChainId)(M.KnownCaipNamespace.Eip155,`${s}`)}),a=(0,N.mask)(o,(0,N.object)({r:(0,N.string)(),s:(0,N.string)(),v:(0,N.string)()}));return T.TransactionFactory.fromTxData({...i,r:a.r,s:a.s,v:a.v})}async signTypedData(e,t,r={version:A.SignTypedDataVersion.V1}){const s={[A.SignTypedDataVersion.V1]:E.EthMethod.SignTypedDataV1,[A.SignTypedDataVersion.V3]:E.EthMethod.SignTypedDataV3,[A.SignTypedDataVersion.V4]:E.EthMethod.SignTypedDataV4}[r.version]||E.EthMethod.SignTypedDataV1,i=t.domain?.chainId;return(0,D.strictMask)(await S(this,n,"m",p).call(this,{address:e,method:s,params:(0,D.toJson)([e,t]),...i===undefined?{}:{chainId:(0,M.toCaipChainId)(M.KnownCaipNamespace.Eip155,`${i}`)}}),E.EthBytesStruct)}async signMessage(e,t){return(0,D.strictMask)(await S(this,n,"m",p).call(this,{address:e,method:E.EthMethod.Sign,params:(0,D.toJson)([e,t])}),E.EthBytesStruct)}async signPersonalMessage(e,t){return(0,D.strictMask)(await S(this,n,"m",p).call(this,{address:e,method:E.EthMethod.PersonalSign,params:(0,D.toJson)([t,e])}),E.EthBytesStruct)}async prepareUserOperation(e,t,r){return(0,D.strictMask)(await S(this,n,"m",p).call(this,{address:e,method:E.EthMethod.PrepareUserOperation,params:(0,D.toJson)(t),expectSync:!0,chainId:(0,M.toCaipChainId)(M.KnownCaipNamespace.Eip155,r.chainId)}),E.EthBaseUserOperationStruct)}async patchUserOperation(e,t,r){return(0,D.strictMask)(await S(this,n,"m",p).call(this,{address:e,method:E.EthMethod.PatchUserOperation,params:(0,D.toJson)([t]),expectSync:!0,chainId:(0,M.toCaipChainId)(M.KnownCaipNamespace.Eip155,r.chainId)}),E.EthUserOperationPatchStruct)}async signUserOperation(e,t,r){return(0,D.strictMask)(await S(this,n,"m",p).call(this,{address:e,method:E.EthMethod.SignUserOperation,params:(0,D.toJson)([t]),chainId:(0,M.toCaipChainId)(M.KnownCaipNamespace.Eip155,r.chainId)}),E.EthBytesStruct)}exportAccount(e){throw new Error("Exporting accounts from snaps is not supported.")}async removeAccount(e){const{account:t,snapId:r}=S(this,n,"m",k).call(this,e);S(this,i,"f").delete(r,t.id);try{await S(this,s,"f").withSnapId(r).deleteAccount(t.id)}catch(t){console.error(`Account '${e}' may not have been removed from snap '${r}':`,t)}}getAccountByAddress(e){return this.listAccounts().find((({address:t})=>(0,D.equalsIgnoreCase)(t,e)))}listAccounts(){return[...S(this,i,"f").values()].map((({account:e,snapId:t})=>{const r=S(this,n,"m",b).call(this,t);return{...e,address:e.address.toLowerCase(),metadata:{name:"",importTime:0,keyring:{type:this.type},...r!==undefined&&{snap:r}}}}))}}r.SnapKeyring=L,s=new WeakMap,i=new WeakMap,o=new WeakMap,a=new WeakMap,n=new WeakSet,l=async function(e,t){(0,N.assert)(t,E.AccountCreatedEventStruct);const{account:r,accountNameSuggestion:n,displayConfirmation:s}=t.params;if(await S(this,a,"f").addressExists(r.address.toLowerCase()))throw new Error(`Account address '${r.address}' already exists`);if(S(this,i,"f").has(e,r.id))throw new Error(`Account '${r.id}' already exists`);return await S(this,a,"f").addAccount(r.address.toLowerCase(),e,(async t=>{t&&(S(this,i,"f").set(r.id,{account:r,snapId:e}),await S(this,a,"f").saveState())}),n,s),null},c=async function(e,t){(0,N.assert)(t,E.AccountUpdatedEventStruct);const{account:r}=t.params,{account:n}=S(this,i,"f").get(e,r.id)??(0,D.throwError)(`Account '${r.id}' not found`);if(!(0,D.equalsIgnoreCase)(n.address,r.address))throw new Error(`Cannot change address of account '${r.id}'`);return S(this,i,"f").set(r.id,{account:r,snapId:e}),await S(this,a,"f").saveState(),null},d=async function(e,t){(0,N.assert)(t,E.AccountDeletedEventStruct);const{id:r}=t.params,n=S(this,i,"f").get(e,r);if(n===undefined)return null;const{account:{address:s}}=n;return await S(this,a,"f").removeAccount(s.toLowerCase(),e,(async e=>{e&&await S(this,a,"f").saveState()})),null},u=async function(e,t){(0,N.assert)(t,E.RequestApprovedEventStruct);const{id:r,result:n}=t.params,{promise:s}=S(this,o,"f").get(e,r)??(0,D.throwError)(`Request '${r}' not found`);return S(this,o,"f").delete(e,r),s.resolve(n),null},h=async function(e,t){(0,N.assert)(t,E.RequestRejectedEventStruct);const{id:r}=t.params,{promise:n}=S(this,o,"f").get(e,r)??(0,D.throwError)(`Request '${r}' not found`);return S(this,o,"f").delete(e,r),n.reject(new Error("Request rejected by user or snap.")),null},p=async function({address:e,method:t,params:r,chainId:s="",expectSync:i=!1}){const{account:o,snapId:a}=S(this,n,"m",k).call(this,e);if(!S(this,n,"m",m).call(this,o,t))throw new Error(`Method '${t}' not supported for account ${o.address}`);const l=(0,I.v4)(),c=S(this,n,"m",f).call(this,l,a),d=await S(this,n,"m",g).call(this,{snapId:a,requestId:l,account:o,method:t,params:r,chainId:s});if(i&&d.pending)throw new Error(`Request '${l}' to snap '${a}' is pending and expectSync is true.`);return d.pending?((d.redirect?.message||d.redirect?.url)&&await S(this,n,"m",w).call(this,d.redirect,a),c.promise):S(this,n,"m",v).call(this,d,l,a)},m=function(e,t){return e.methods.includes(t)},f=function(e,t){const r=new R.DeferredPromise;return S(this,o,"f").set(e,{promise:r,snapId:t}),r},g=async function({snapId:e,requestId:t,account:r,method:n,params:i,chainId:a}){try{const o={id:t,scope:a,account:r.id,request:{method:n,...i!==undefined&&{params:i}}};return(0,O.projectLogger)("Submit Snap request: ",o),await S(this,s,"f").withSnapId(e).submitRequest(o)}catch(r){throw(0,O.projectLogger)("Snap Request failed: ",{requestId:t}),S(this,o,"f").delete(e,t),r}},v=function(e,t,r){return S(this,o,"f").delete(r,t),e.result},w=async function(e,t){const{message:r="",url:s=""}=e;s&&S(this,n,"m",y).call(this,s,t),await S(this,a,"f").redirectUser(t,s,r)},y=function(e,t){const{origin:r}=new URL(e),i=S(this,s,"f").getController().get(t);if(!i)throw new Error(`Snap '${t}' not found.`);if(!S(this,n,"m",C).call(this,i).includes(r))throw new Error(`Redirect URL domain '${r}' is not an allowed origin by snap '${t}'`)},k=function(e){return[...S(this,i,"f").values()].find((({account:t})=>(0,D.equalsIgnoreCase)(t.address,e)))??(0,D.throwError)(`Account '${e}' not found`)},b=function(e){const t=S(this,s,"f").getController().get(e);return t?{id:e,name:t.manifest.proposedName,enabled:t.enabled}:undefined},C=function(e){return e.manifest.initialPermissions["endowment:keyring"]?.allowedOrigins??[]},L.type=r.SNAP_KEYRING_TYPE}}},{package:"@metamask/eth-snap-keyring",file:"node_modules/@metamask/eth-snap-keyring/dist/SnapKeyring.js"}],[1329,{"./SnapKeyring":1328,"./types":1331},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){n===undefined&&(n=r);var s=Object.getOwnPropertyDescriptor(t,r);s&&!("get"in s?!t.__esModule:s.writable||s.configurable)||(s={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,s)}:function(e,t,r,n){n===undefined&&(n=r),e[n]=t[r]}),s=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(r,"__esModule",{value:!0}),s(e("./types"),r),s(e("./SnapKeyring"),r)}}},{package:"@metamask/eth-snap-keyring",file:"node_modules/@metamask/eth-snap-keyring/dist/index.js"}],[133,{lodash:3836},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=e("lodash");r.default={version:13,migrate(e){const t=(0,n.cloneDeep)(e);t.meta.version=13;try{const e=function(e){const t=e,{config:r}=t;r&&r.provider&&"testnet"===r.provider.type&&(t.config.provider.type="ropsten");return t}(t.data);t.data=e}catch(e){console.warn(`MetaMask Migration #13${e.stack}`)}return Promise.resolve(t)}}}}},{package:"$root$",file:"app/scripts/migrations/013.js"}],[1330,{"@metamask/utils":2300},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.createModuleLogger=r.projectLogger=void 0;const n=e("@metamask/utils");Object.defineProperty(r,"createModuleLogger",{enumerable:!0,get:function(){return n.createModuleLogger}}),r.projectLogger=(0,n.createProjectLogger)("eth-snap-keyring")}}},{package:"@metamask/eth-snap-keyring",file:"node_modules/@metamask/eth-snap-keyring/dist/logger.js"}],[1331,{"@metamask/utils":2300,superstruct:4358},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.SnapMessageStruct=void 0;const n=e("@metamask/utils"),s=e("superstruct");r.SnapMessageStruct=(0,s.object)({method:(0,s.string)(),params:(0,s.optional)((0,s.union)([(0,s.array)(n.JsonStruct),(0,s.record)((0,s.string)(),n.JsonStruct)]))})}}},{package:"@metamask/eth-snap-keyring",file:"node_modules/@metamask/eth-snap-keyring/dist/types.js"}],[1332,{superstruct:4358},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.equalsIgnoreCase=r.throwError=r.ensureDefined=r.toJson=r.unique=r.strictMask=void 0;const n=e("superstruct");r.strictMask=function(e,t,r){return(0,n.assert)(e,t,r),e},r.unique=function(e){return[...new Set(e)]},r.toJson=function(e){return JSON.parse(JSON.stringify(e))},r.ensureDefined=function(e){if(e===undefined)throw new Error("Argument is undefined")},r.throwError=function(e){throw new Error(e)},r.equalsIgnoreCase=function(e,t){return e.toLowerCase()===t.toLowerCase()}}}},{package:"@metamask/eth-snap-keyring",file:"node_modules/@metamask/eth-snap-keyring/dist/util.js"}],[1333,{"./nil.js":1336,"./parse.js":1337,"./stringify.js":1341,"./v1.js":1342,"./v3.js":1343,"./v4.js":1345,"./v5.js":1346,"./validate.js":1347,"./version.js":1348},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"NIL",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(r,"parse",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(r,"stringify",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(r,"v1",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(r,"v3",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(r,"v4",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(r,"v5",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(r,"validate",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(r,"version",{enumerable:!0,get:function(){return l.default}});var n=h(e("./v1.js")),s=h(e("./v3.js")),i=h(e("./v4.js")),o=h(e("./v5.js")),a=h(e("./nil.js")),l=h(e("./version.js")),c=h(e("./validate.js")),d=h(e("./stringify.js")),u=h(e("./parse.js"));function h(e){return e&&e.__esModule?e:{default:e}}}}},{package:"@metamask/eth-snap-keyring>uuid",file:"node_modules/@metamask/eth-snap-keyring/node_modules/uuid/dist/index.js"}],[1334,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){function n(e){return 14+(e+64>>>9<<4)+1}function s(e,t){const r=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(r>>16)<<16|65535&r}function i(e,t,r,n,i,o){return s((a=s(s(t,e),s(n,o)))<<(l=i)|a>>>32-l,r);var a,l}function o(e,t,r,n,s,o,a){return i(t&r|~t&n,e,t,s,o,a)}function a(e,t,r,n,s,o,a){return i(t&n|r&~n,e,t,s,o,a)}function l(e,t,r,n,s,o,a){return i(t^r^n,e,t,s,o,a)}function c(e,t,r,n,s,o,a){return i(r^(t|~n),e,t,s,o,a)}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var d=function(e){if("string"==typeof e){const t=unescape(encodeURIComponent(e));e=new Uint8Array(t.length);for(let r=0;r>5]>>>s%32&255,i=parseInt(n.charAt(r>>>4&15)+n.charAt(15&r),16);t.push(i)}return t}(function(e,t){e[t>>5]|=128<>5]|=(255&e[n/8])<uuid",file:"node_modules/@metamask/eth-snap-keyring/node_modules/uuid/dist/md5-browser.js"}],[1335,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};r.default=n}}},{package:"@metamask/eth-snap-keyring>uuid",file:"node_modules/@metamask/eth-snap-keyring/node_modules/uuid/dist/native-browser.js"}],[1336,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;r.default="00000000-0000-0000-0000-000000000000"}}},{package:"@metamask/eth-snap-keyring>uuid",file:"node_modules/@metamask/eth-snap-keyring/node_modules/uuid/dist/nil.js"}],[1337,{"./validate.js":1347},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n,s=(n=e("./validate.js"))&&n.__esModule?n:{default:n};var i=function(e){if(!(0,s.default)(e))throw TypeError("Invalid UUID");let t;const r=new Uint8Array(16);return r[0]=(t=parseInt(e.slice(0,8),16))>>>24,r[1]=t>>>16&255,r[2]=t>>>8&255,r[3]=255&t,r[4]=(t=parseInt(e.slice(9,13),16))>>>8,r[5]=255&t,r[6]=(t=parseInt(e.slice(14,18),16))>>>8,r[7]=255&t,r[8]=(t=parseInt(e.slice(19,23),16))>>>8,r[9]=255&t,r[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255,r[11]=t/4294967296&255,r[12]=t>>>24&255,r[13]=t>>>16&255,r[14]=t>>>8&255,r[15]=255&t,r};r.default=i}}},{package:"@metamask/eth-snap-keyring>uuid",file:"node_modules/@metamask/eth-snap-keyring/node_modules/uuid/dist/parse.js"}],[1338,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;r.default=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i}}},{package:"@metamask/eth-snap-keyring>uuid",file:"node_modules/@metamask/eth-snap-keyring/node_modules/uuid/dist/regex.js"}],[1339,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){let n;Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(){if(!n&&(n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!n))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return n(s)};const s=new Uint8Array(16)}}},{package:"@metamask/eth-snap-keyring>uuid",file:"node_modules/@metamask/eth-snap-keyring/node_modules/uuid/dist/rng-browser.js"}],[134,{lodash:3836},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=e("lodash");r.default={version:14,migrate(e){const t=(0,n.cloneDeep)(e);t.meta.version=14;try{const e=function(e){const t=e;return t.NetworkController={},t.NetworkController.provider=t.config.provider,delete t.config.provider,t}(t.data);t.data=e}catch(e){console.warn(`MetaMask Migration #14${e.stack}`)}return Promise.resolve(t)}}}}},{package:"$root$",file:"app/scripts/migrations/014.js"}],[1340,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){function n(e,t,r,n){switch(e){case 0:return t&r^~t&n;case 1:case 3:return t^r^n;case 2:return t&r^t&n^r&n}}function s(e,t){return e<>>32-t}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var i=function(e){const t=[1518500249,1859775393,2400959708,3395469782],r=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof e){const t=unescape(encodeURIComponent(e));e=[];for(let r=0;r>>0;u=d,d=c,c=s(l,30)>>>0,l=o,o=a}r[0]=r[0]+o>>>0,r[1]=r[1]+l>>>0,r[2]=r[2]+c>>>0,r[3]=r[3]+d>>>0,r[4]=r[4]+u>>>0}return[r[0]>>24&255,r[0]>>16&255,r[0]>>8&255,255&r[0],r[1]>>24&255,r[1]>>16&255,r[1]>>8&255,255&r[1],r[2]>>24&255,r[2]>>16&255,r[2]>>8&255,255&r[2],r[3]>>24&255,r[3]>>16&255,r[3]>>8&255,255&r[3],r[4]>>24&255,r[4]>>16&255,r[4]>>8&255,255&r[4]]};r.default=i}}},{package:"@metamask/eth-snap-keyring>uuid",file:"node_modules/@metamask/eth-snap-keyring/node_modules/uuid/dist/sha1-browser.js"}],[1341,{"./validate.js":1347},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.unsafeStringify=o;var n,s=(n=e("./validate.js"))&&n.__esModule?n:{default:n};const i=[];for(let e=0;e<256;++e)i.push((e+256).toString(16).slice(1));function o(e,t=0){return i[e[t+0]]+i[e[t+1]]+i[e[t+2]]+i[e[t+3]]+"-"+i[e[t+4]]+i[e[t+5]]+"-"+i[e[t+6]]+i[e[t+7]]+"-"+i[e[t+8]]+i[e[t+9]]+"-"+i[e[t+10]]+i[e[t+11]]+i[e[t+12]]+i[e[t+13]]+i[e[t+14]]+i[e[t+15]]}var a=function(e,t=0){const r=o(e,t);if(!(0,s.default)(r))throw TypeError("Stringified UUID is invalid");return r};r.default=a}}},{package:"@metamask/eth-snap-keyring>uuid",file:"node_modules/@metamask/eth-snap-keyring/node_modules/uuid/dist/stringify.js"}],[1342,{"./rng.js":1339,"./stringify.js":1341},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n,s=(n=e("./rng.js"))&&n.__esModule?n:{default:n},i=e("./stringify.js");let o,a,l=0,c=0;var d=function(e,t,r){let n=t&&r||0;const d=t||new Array(16);let u=(e=e||{}).node||o,h=e.clockseq!==undefined?e.clockseq:a;if(null==u||null==h){const t=e.random||(e.rng||s.default)();null==u&&(u=o=[1|t[0],t[1],t[2],t[3],t[4],t[5]]),null==h&&(h=a=16383&(t[6]<<8|t[7]))}let p=e.msecs!==undefined?e.msecs:Date.now(),m=e.nsecs!==undefined?e.nsecs:c+1;const f=p-l+(m-c)/1e4;if(f<0&&e.clockseq===undefined&&(h=h+1&16383),(f<0||p>l)&&e.nsecs===undefined&&(m=0),m>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");l=p,c=m,a=h,p+=122192928e5;const g=(1e4*(268435455&p)+m)%4294967296;d[n++]=g>>>24&255,d[n++]=g>>>16&255,d[n++]=g>>>8&255,d[n++]=255&g;const v=p/4294967296*1e4&268435455;d[n++]=v>>>8&255,d[n++]=255&v,d[n++]=v>>>24&15|16,d[n++]=v>>>16&255,d[n++]=h>>>8|128,d[n++]=255&h;for(let e=0;e<6;++e)d[n+e]=u[e];return t||(0,i.unsafeStringify)(d)};r.default=d}}},{package:"@metamask/eth-snap-keyring>uuid",file:"node_modules/@metamask/eth-snap-keyring/node_modules/uuid/dist/v1.js"}],[1343,{"./md5.js":1334,"./v35.js":1344},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=i(e("./v35.js")),s=i(e("./md5.js"));function i(e){return e&&e.__esModule?e:{default:e}}var o=(0,n.default)("v3",48,s.default);r.default=o}}},{package:"@metamask/eth-snap-keyring>uuid",file:"node_modules/@metamask/eth-snap-keyring/node_modules/uuid/dist/v3.js"}],[1344,{"./parse.js":1337,"./stringify.js":1341},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.URL=r.DNS=void 0,r.default=function(e,t,r){function n(e,n,o,a){var l;if("string"==typeof e&&(e=function(e){e=unescape(encodeURIComponent(e));const t=[];for(let r=0;ruuid",file:"node_modules/@metamask/eth-snap-keyring/node_modules/uuid/dist/v35.js"}],[1345,{"./native.js":1335,"./rng.js":1339,"./stringify.js":1341},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=o(e("./native.js")),s=o(e("./rng.js")),i=e("./stringify.js");function o(e){return e&&e.__esModule?e:{default:e}}var a=function(e,t,r){if(n.default.randomUUID&&!t&&!e)return n.default.randomUUID();const o=(e=e||{}).random||(e.rng||s.default)();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t){r=r||0;for(let e=0;e<16;++e)t[r+e]=o[e];return t}return(0,i.unsafeStringify)(o)};r.default=a}}},{package:"@metamask/eth-snap-keyring>uuid",file:"node_modules/@metamask/eth-snap-keyring/node_modules/uuid/dist/v4.js"}],[1346,{"./sha1.js":1340,"./v35.js":1344},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=i(e("./v35.js")),s=i(e("./sha1.js"));function i(e){return e&&e.__esModule?e:{default:e}}var o=(0,n.default)("v5",80,s.default);r.default=o}}},{package:"@metamask/eth-snap-keyring>uuid",file:"node_modules/@metamask/eth-snap-keyring/node_modules/uuid/dist/v5.js"}],[1347,{"./regex.js":1338},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n,s=(n=e("./regex.js"))&&n.__esModule?n:{default:n};var i=function(e){return"string"==typeof e&&s.default.test(e)};r.default=i}}},{package:"@metamask/eth-snap-keyring>uuid",file:"node_modules/@metamask/eth-snap-keyring/node_modules/uuid/dist/validate.js"}],[1348,{"./validate.js":1347},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n,s=(n=e("./validate.js"))&&n.__esModule?n:{default:n};var i=function(e){if(!(0,s.default)(e))throw TypeError("Invalid UUID");return parseInt(e.slice(14,15),16)};r.default=i}}},{package:"@metamask/eth-snap-keyring>uuid",file:"node_modules/@metamask/eth-snap-keyring/node_modules/uuid/dist/version.js"}],[135,{"@metamask/transaction-controller":2234,lodash:3836},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=e("@metamask/transaction-controller"),s=e("lodash");r.default={version:15,migrate(e){const t=(0,s.cloneDeep)(e);t.meta.version=15;try{const e=function(e){const t=e,{TransactionController:r}=t;if(r&&r.transactions){const{transactions:e}=r;t.TransactionController.transactions=e.map((e=>e.err?("Gave up submitting tx."===e.err.message&&(e.status=n.TransactionStatus.failed),e):e))}return t}(t.data);t.data=e}catch(e){console.warn(`MetaMask Migration #15${e.stack}`)}return Promise.resolve(t)}}}}},{package:"$root$",file:"app/scripts/migrations/015.js"}],[1353,{"./trezor-bridge":1354,"./trezor-connect-bridge":1355,"./trezor-keyring":1356},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){n===undefined&&(n=r);var s=Object.getOwnPropertyDescriptor(t,r);s&&!("get"in s?!t.__esModule:s.writable||s.configurable)||(s={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,s)}:function(e,t,r,n){n===undefined&&(n=r),e[n]=t[r]}),s=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(r,"__esModule",{value:!0}),s(e("./trezor-keyring"),r),s(e("./trezor-bridge"),r),s(e("./trezor-connect-bridge"),r)}}},{package:"@metamask/eth-trezor-keyring",file:"node_modules/@metamask/eth-trezor-keyring/dist/index.js"}],[1354,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0})}}},{package:"@metamask/eth-trezor-keyring",file:"node_modules/@metamask/eth-trezor-keyring/dist/trezor-bridge.js"}],[1355,{"@trezor/connect-web":1362},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){n===undefined&&(n=r);var s=Object.getOwnPropertyDescriptor(t,r);s&&!("get"in s?!t.__esModule:s.writable||s.configurable)||(s={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,s)}:function(e,t,r,n){n===undefined&&(n=r),e[n]=t[r]}),s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return s(t,e),t};Object.defineProperty(r,"__esModule",{value:!0}),r.TrezorConnectBridge=void 0;const o=i(e("@trezor/connect-web"));r.TrezorConnectBridge=class{constructor(){this.trezorConnectInitiated=!1}async init(e){o.default.on(o.DEVICE_EVENT,(e=>{var t;e.type===o.DEVICE.CONNECT&&(this.model=null===(t=e.payload.features)||void 0===t?void 0:t.model)})),this.trezorConnectInitiated||(await o.default.init(e),this.trezorConnectInitiated=!0)}dispose(){return o.default.dispose(),Promise.resolve()}getPublicKey(e){return o.default.getPublicKey(e)}ethereumSignTransaction(e){return o.default.ethereumSignTransaction(e)}ethereumSignMessage(e){return o.default.ethereumSignMessage(e)}ethereumSignTypedData(e){return o.default.ethereumSignTypedData(e)}}}}},{package:"@metamask/eth-trezor-keyring",file:"node_modules/@metamask/eth-trezor-keyring/dist/trezor-connect-bridge.js"}]],[],{}); \ No newline at end of file +LavaPack.loadBundle([[10,{"../../../shared/constants/alarms":4491,"../../../shared/constants/app":4493,"../../../shared/constants/preferences":4512,"../../../shared/constants/time":4518,"../../../shared/modules/mv3.utils":4547,"../../../ui/helpers/utils/build-types":5379,"../metamask-controller":121,"@metamask/controller-utils":1163,"@metamask/obs-store":1610,events:3328,loglevel:3842,uuid:4424},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=f(e("events")),s=e("@metamask/obs-store"),i=e("uuid"),o=f(e("loglevel")),a=e("@metamask/controller-utils"),l=e("../metamask-controller"),c=e("../../../shared/constants/time"),d=e("../../../shared/constants/alarms"),u=e("../../../shared/modules/mv3.utils"),h=e("../../../ui/helpers/utils/build-types"),p=e("../../../shared/constants/app"),m=e("../../../shared/constants/preferences");function f(e){return e&&e.__esModule?e:{default:e}}class g extends n.default{constructor(e={}){const{addUnlockListener:t,isUnlocked:r,initState:n,onInactiveTimeout:i,preferencesStore:o,messenger:a,extension:l}=e;super(),this.extension=l,this.onInactiveTimeout=i||(()=>undefined),this.store=new s.ObservableStore({timeoutMinutes:m.DEFAULT_AUTO_LOCK_TIME_LIMIT,connectedStatusPopoverHasBeenShown:!0,defaultHomeActiveTabName:null,browserEnvironment:{},popupGasPollTokens:[],notificationGasPollTokens:[],fullScreenGasPollTokens:[],recoveryPhraseReminderHasBeenShown:!1,recoveryPhraseReminderLastShown:(new Date).getTime(),outdatedBrowserWarningLastShown:(new Date).getTime(),nftsDetectionNoticeDismissed:!1,showTestnetMessageInDropdown:!0,showBetaHeader:(0,h.isBeta)(),showPermissionsTour:!0,showNetworkBanner:!0,showAccountBanner:!0,trezorModel:null,currentPopupId:undefined,onboardingDate:null,newPrivacyPolicyToastClickedOrClosed:null,newPrivacyPolicyToastShownDate:null,hadAdvancedGasFeesSetPriorToMigration92_3:!1,...n,qrHardware:{},nftsDropdownState:{},usedNetworks:{"0x1":!0,"0x5":!0,"0x539":!0},surveyLinkLastClickedOrClosed:null,signatureSecurityAlertResponses:{},switchedNetworkDetails:null,switchedNetworkNeverShowMessage:!1,currentExtensionPopupId:0}),this.timer=null,this.isUnlocked=r,this.waitingForUnlock=[],t(this.handleUnlock.bind(this)),o.subscribe((({preferences:e})=>{this.store.getState().timeoutMinutes!==e.autoLockTimeLimit&&this._setInactiveTimeout(e.autoLockTimeLimit)})),a.subscribe("KeyringController:qrKeyringStateChange",(e=>this.store.updateState({qrHardware:e})));const{preferences:c}=o.getState();this._setInactiveTimeout(c.autoLockTimeLimit),this.messagingSystem=a,this._approvalRequestId=null}getUnlockPromise(e){return new Promise((t=>{this.isUnlocked()?t():this.waitForUnlock(t,e)}))}waitForUnlock(e,t){this.waitingForUnlock.push({resolve:e}),this.emit(l.METAMASK_CONTROLLER_EVENTS.UPDATE_BADGE),t&&this._requestApproval()}handleUnlock(){if(this.waitingForUnlock.length>0){for(;this.waitingForUnlock.length>0;)this.waitingForUnlock.shift().resolve();this.emit(l.METAMASK_CONTROLLER_EVENTS.UPDATE_BADGE)}this._acceptApproval()}setDefaultHomeActiveTabName(e){this.store.updateState({defaultHomeActiveTabName:e})}setConnectedStatusPopoverHasBeenShown(){this.store.updateState({connectedStatusPopoverHasBeenShown:!0})}setRecoveryPhraseReminderHasBeenShown(){this.store.updateState({recoveryPhraseReminderHasBeenShown:!0})}setSurveyLinkLastClickedOrClosed(e){this.store.updateState({surveyLinkLastClickedOrClosed:e})}setOnboardingDate(){this.store.updateState({onboardingDate:Date.now()})}setNewPrivacyPolicyToastClickedOrClosed(){this.store.updateState({newPrivacyPolicyToastClickedOrClosed:!0})}setNewPrivacyPolicyToastShownDate(e){this.store.updateState({newPrivacyPolicyToastShownDate:e})}setRecoveryPhraseReminderLastShown(e){this.store.updateState({recoveryPhraseReminderLastShown:e})}setTermsOfUseLastAgreed(e){this.store.updateState({termsOfUseLastAgreed:e})}setSnapsInstallPrivacyWarningShownStatus(e){this.store.updateState({snapsInstallPrivacyWarningShown:e})}setOutdatedBrowserWarningLastShown(e){this.store.updateState({outdatedBrowserWarningLastShown:e})}setLastActiveTime(){this._resetTimer()}_setInactiveTimeout(e){this.store.updateState({timeoutMinutes:e}),this._resetTimer()}_resetTimer(){const{timeoutMinutes:e}=this.store.getState();if(this.timer?clearTimeout(this.timer):u.isManifestV3&&this.extension.alarms.clear(d.AUTO_LOCK_TIMEOUT_ALARM),!e)return;const t=Number(e);u.isManifestV3?(this.extension.alarms.create(d.AUTO_LOCK_TIMEOUT_ALARM,{delayInMinutes:t,periodInMinutes:t}),this.extension.alarms.onAlarm.addListener((e=>{e.name===d.AUTO_LOCK_TIMEOUT_ALARM&&(this.onInactiveTimeout(),this.extension.alarms.clear(d.AUTO_LOCK_TIMEOUT_ALARM))}))):this.timer=setTimeout((()=>this.onInactiveTimeout()),t*c.MINUTE)}setBrowserEnvironment(e,t){this.store.updateState({browserEnvironment:{os:e,browser:t}})}addPollingToken(e,t){if(t!==p.POLLING_TOKEN_ENVIRONMENT_TYPES[p.ENVIRONMENT_TYPE_BACKGROUND]){const r=this.store.getState()[t];this.store.updateState({[t]:[...r,e]})}}removePollingToken(e,t){if(t!==p.POLLING_TOKEN_ENVIRONMENT_TYPES[p.ENVIRONMENT_TYPE_BACKGROUND]){const r=this.store.getState()[t];this.store.updateState({[t]:r.filter((t=>t!==e))})}}clearPollingTokens(){this.store.updateState({popupGasPollTokens:[],notificationGasPollTokens:[],fullScreenGasPollTokens:[]})}setShowTestnetMessageInDropdown(e){this.store.updateState({showTestnetMessageInDropdown:e})}setShowBetaHeader(e){this.store.updateState({showBetaHeader:e})}setShowPermissionsTour(e){this.store.updateState({showPermissionsTour:e})}setShowNetworkBanner(e){this.store.updateState({showNetworkBanner:e})}setShowAccountBanner(e){this.store.updateState({showAccountBanner:e})}setCurrentExtensionPopupId(e){this.store.updateState({currentExtensionPopupId:e})}setSwitchedNetworkDetails(e){this.store.updateState({switchedNetworkDetails:e})}clearSwitchedNetworkDetails(){this.store.updateState({switchedNetworkDetails:null})}setSwitchedNetworkNeverShowMessage(e){this.store.updateState({switchedNetworkDetails:null,switchedNetworkNeverShowMessage:e})}setTrezorModel(e){this.store.updateState({trezorModel:e})}updateNftDropDownState(e){this.store.updateState({nftsDropdownState:e})}setFirstTimeUsedNetwork(e){const t=this.store.getState(),{usedNetworks:r}=t;r[e]=!0,this.store.updateState({usedNetworks:r})}getSignatureSecurityAlertResponse(e){return this.store.getState().signatureSecurityAlertResponses[e]}addSignatureSecurityAlertResponse(e){const t=this.store.getState(),{signatureSecurityAlertResponses:r}=t;this.store.updateState({signatureSecurityAlertResponses:{...r,[e.securityAlertId]:e}})}setCurrentPopupId(e){this.store.updateState({currentPopupId:e})}getCurrentPopupId(){return this.store.getState().currentPopupId}_requestApproval(){this._approvalRequestId||(this._approvalRequestId=(0,i.v4)(),this.messagingSystem.call("ApprovalController:addRequest",{id:this._approvalRequestId,origin:p.ORIGIN_METAMASK,type:a.ApprovalType.Unlock},!0).catch((()=>{this._approvalRequestId=null})))}_acceptApproval(){if(this._approvalRequestId){try{this.messagingSystem.call("ApprovalController:acceptRequest",this._approvalRequestId)}catch(e){o.default.error("Failed to unlock approval request",e)}this._approvalRequestId=null}}}r.default=g}}},{package:"$root$",file:"app/scripts/controllers/app-state.js"}],[100,{"../../../../../shared/constants/app":4493,"../../../../../shared/constants/metametrics":4505,"../../util":120,"eth-rpc-errors":3257},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=e("eth-rpc-errors"),s=e("../../../../../shared/constants/app"),i=e("../../../../../shared/constants/metametrics"),o=e("../../util");const a={methodNames:[s.MESSAGE_TYPE.ETH_REQUEST_ACCOUNTS],implementation:async function(e,t,r,a,{origin:c,getAccounts:d,getUnlockPromise:u,hasPermission:h,requestAccountsPermission:p,sendMetrics:m,getPermissionsForOrigin:f,metamaskState:g}){if(l.has(c))return t.error=n.ethErrors.rpc.resourceUnavailable(`Already processing ${s.MESSAGE_TYPE.ETH_REQUEST_ACCOUNTS}. Please wait.`),a();if(h(s.MESSAGE_TYPE.ETH_ACCOUNTS)){try{l.add(c),await u(!0),t.result=await d(),a()}catch(e){a(e)}finally{l.delete(c)}return undefined}try{await p()}catch(e){return t.error=e,a()}const v=await d();if(v.length>0){t.result=v;const e=f(c).eth_accounts.caveats[0].value.length,r=!Object.keys(g.permissionHistory).includes(c);(0,o.shouldEmitDappViewedEvent)(g.metaMetricsId)&&m({event:i.MetaMetricsEventName.DappViewed,category:i.MetaMetricsEventCategory.InpageProvider,referrer:{url:c},properties:{is_first_visit:r,number_of_accounts:Object.keys(g.accounts).length,number_of_accounts_connected:e}})}else t.error=n.ethErrors.rpc.internal("Accounts unexpectedly unavailable. Please report this bug.");return a()},hookNames:{origin:!0,getAccounts:!0,getUnlockPromise:!0,hasPermission:!0,requestAccountsPermission:!0,sendMetrics:!0,getPermissionsForOrigin:!0,metamaskState:!0}};r.default=a;const l=new Set}}},{package:"$root$",file:"app/scripts/lib/rpc-method-middleware/handlers/request-accounts.js"}],[101,{"../../../../../shared/constants/app":4493,"eth-rpc-errors":3257},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=e("eth-rpc-errors");const s={methodNames:[e("../../../../../shared/constants/app").MESSAGE_TYPE.SEND_METADATA],implementation:function(e,t,r,s,{addSubjectMetadata:i,subjectType:o}){const{origin:a,params:l}=e;if(!l||"object"!=typeof l||Array.isArray(l))return s(n.ethErrors.rpc.invalidParams({data:l}));{const{icon:e=null,name:t=null,...r}=l;i({...r,iconUrl:e,name:t,subjectType:o,origin:a})}return t.result=!0,s()},hookNames:{addSubjectMetadata:!0,subjectType:!0}};r.default=s}}},{package:"$root$",file:"app/scripts/lib/rpc-method-middleware/handlers/send-metadata.js"}],[102,{"../../../../../shared/constants/app":4493,"./ethereum-chain-utils":96,"eth-rpc-errors":3257},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=e("eth-rpc-errors"),s=e("../../../../../shared/constants/app"),i=e("./ethereum-chain-utils");const o={methodNames:[s.MESSAGE_TYPE.SWITCH_ETHEREUM_CHAIN],implementation:async function(e,t,r,o,{findNetworkConfigurationBy:a,setActiveNetwork:l,requestPermittedChainsPermission:c,getCaveat:d,getCurrentChainIdForDomain:u,requestUserApproval:h,getChainPermissionsFeatureFlag:p}){let m;try{m=(0,i.validateSwitchEthereumChainParams)(e,o)}catch(e){return o(e)}const{origin:f}=e,g=u(f);if(g===m)return t.result=null,o();const v=(0,i.findExistingNetwork)(m,a),w=(null==v?void 0:v.id)??(null==v?void 0:v.type);if(!w)return o(n.ethErrors.provider.custom({code:4902,message:`Unrecognized chain ID "${m}". Try adding the chain using ${s.MESSAGE_TYPE.ADD_ETHEREUM_CHAIN} first.`}));const y={toNetworkConfiguration:v,fromNetworkConfiguration:(0,i.findExistingNetwork)(g,a)};return(0,i.switchChain)(t,o,f,m,y,w,null,{getChainPermissionsFeatureFlag:p,setActiveNetwork:l,requestUserApproval:h,getCaveat:d,requestPermittedChainsPermission:c})},hookNames:{findNetworkConfigurationBy:!0,setActiveNetwork:!0,getCaveat:!0,requestPermittedChainsPermission:!0,getCurrentChainIdForDomain:!0,requestUserApproval:!0,getChainPermissionsFeatureFlag:!0}};r.default=o}}},{package:"$root$",file:"app/scripts/lib/rpc-method-middleware/handlers/switch-ethereum-chain.js"}],[103,{"../../../../../shared/constants/app":4493,"@metamask/controller-utils":1163,"eth-rpc-errors":3257},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=e("@metamask/controller-utils"),s=e("eth-rpc-errors"),i=e("../../../../../shared/constants/app");const o={methodNames:[i.MESSAGE_TYPE.WATCH_ASSET,i.MESSAGE_TYPE.WATCH_ASSET_LEGACY],implementation:async function(e,t,r,i,{handleWatchAssetRequest:o}){try{const{params:{options:r,type:a},origin:l,networkClientId:c}=e,{tokenId:d}=r;return[n.ERC721,n.ERC1155].includes(a)&&d!==undefined&&"string"!=typeof d?i(s.ethErrors.rpc.invalidParams({message:`Expected parameter 'tokenId' to be type 'string'. Received type '${typeof d}'`})):(await o({asset:r,type:a,origin:l,networkClientId:c}),t.result=!0,i())}catch(e){return i(e)}},hookNames:{handleWatchAssetRequest:!0}};r.default=o}}},{package:"$root$",file:"app/scripts/lib/rpc-method-middleware/handlers/watch-asset.js"}],[104,{"./createMethodMiddleware":92,"./createUnsupportedMethodMiddleware":93},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n=e("./createMethodMiddleware");Object.keys(n).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in r&&r[e]===n[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return n[e]}}))}));var s=e("./createUnsupportedMethodMiddleware");Object.keys(s).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in r&&r[e]===s[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return s[e]}}))}))}}},{package:"$root$",file:"app/scripts/lib/rpc-method-middleware/index.js"}],[105,{"../util":120,"@segment/loosely-validate-event":2376,buffer:3028,"is-retry-allowed":3659,lodash:3836,"remove-trailing-slash":4267,timers:4365},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(t,n){(function(){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var s=c(e("remove-trailing-slash")),i=c(e("@segment/loosely-validate-event")),o=e("lodash"),a=c(e("is-retry-allowed")),l=e("../util");function c(e){return e&&e.__esModule?e:{default:e}}const d=()=>({});r.default=class{constructor(e,t={}){this.writeKey=e,this.host=(0,s.default)(t.host||"https://api.segment.io"),this.flushInterval=t.flushInterval||1e4,this.flushAt=t.flushAt||Math.max(t.flushAt,1)||20,this.queue=[],this.path="/v1/batch",this.maxQueueSize=460800,this.flushed=!1,this.retryCount=3,Object.defineProperty(this,"enable",{configurable:!1,writable:!1,enumerable:!0,value:!0})}_validate(e,t){(0,i.default)(e,t)}_message(e,t,r){return this._validate(t,e),this.enqueue(e,t,r),this}identify(e,t){return this._message("identify",e,t)}track(e,t){return this._message("track",e,t)}page(e,t){return this._message("page",e,t)}enqueue(e,t,r=d){if(!this.enable)return void n(r);const s={...t,type:e};if(s.context={...s.context,library:{name:"analytics-node"}},s.timestamp||(s.timestamp=new Date),s.messageId||(s.messageId=(0,l.generateRandomId)()),s.anonymousId&&!(0,o.isString)(s.anonymousId)&&(s.anonymousId=JSON.stringify(s.anonymousId)),s.userId&&!(0,o.isString)(s.userId)&&(s.userId=JSON.stringify(s.userId)),this.queue.push({message:s,callback:r}),!this.flushed)return this.flushed=!0,void this.flush();const i=this.queue.length>=this.flushAt,a=this.queue.reduce(((e,t)=>e+JSON.stringify(t).length),0)>=this.maxQueueSize;(i||a)&&this.flush(),this.flushInterval&&!this.timer&&(this.timer=setTimeout(this.flush.bind(this),this.flushInterval))}flush(e=d){if(!this.enable)return n(e),Promise.resolve();if(this.timer&&(clearTimeout(this.timer),this.timer=null),!this.queue.length)return n(e),Promise.resolve();const r=this.queue.splice(0,this.flushAt),s=r.map((e=>e.callback)),i={batch:r.map((e=>e.message)),timestamp:new Date,sentAt:new Date},o={Authorization:`Basic ${t.from(this.writeKey,"utf8").toString("base64")}`};return this._sendRequest(`${this.host}${this.path}`,{method:"POST",body:JSON.stringify(i),headers:o},(t=>{n((()=>{s.forEach((e=>e(t,i))),e(t,i)}))}),0)}_retryRequest(e,t,r,n){const s=100*Math.pow(2,n);setTimeout((()=>{this._sendRequest(e,t,r,n+1)}),s)}async _sendRequest(e,t,r,n){return fetch(e,t).then((async s=>{if(s.ok)r();else if(this._isErrorRetryable({response:s})&&n<=this.retryCount)this._retryRequest(e,t,r,n);else{const e=new Error(s.statusText);r(e)}})).catch((s=>{this._isErrorRetryable(s)&&n<=this.retryCount?this._retryRequest(e,t,r,n):r(s)}))}_isErrorRetryable(e){return!!function(e){return!e.response&&Boolean(e.code)&&"ECONNABORTED"!==e.code&&(0,a.default)(e)}(e)||!!e.response&&(e.response.status>=500&&e.response.status<=599||429===e.response.status)}}}).call(this)}).call(this,e("buffer").Buffer,e("timers").setImmediate)}}},{package:"$root$",file:"app/scripts/lib/segment/analytics.js"}],[106,{"../../../../shared/constants/time":4518,"./analytics":105},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.segment=r.createSegmentMock=void 0;var n,s=e("../../../../shared/constants/time"),i=(n=e("./analytics"))&&n.__esModule?n:{default:n};const o="oYt5aIHCTO7F4ZfwJHphzyM4JrBL3koF",a=undefined,l=5*s.SECOND,c=(e=a)=>{const t={queue:[],flush(){t.queue.forEach((([e,t])=>{t()})),t.queue=[]},track(r,n=(()=>undefined)){t.queue.push([r,n]),t.queue.length>=e&&t.flush()},page(){},identify(){}};return t};r.createSegmentMock=c;r.segment=o?new i.default(o,{host:null,flushAt:a,flushInterval:l}):c(a)}}},{package:"$root$",file:"app/scripts/lib/segment/index.js"}],[1076,{"./chunk-EIQ5DUI6.js":1077,"./chunk-UJIPPGP6.js":1079,"@metamask/base-controller":1086,"@metamask/eth-snap-keyring":1329,"@metamask/keyring-api":1444,"@metamask/keyring-controller":1476,"@metamask/utils":2300},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n,s,i,o,a,l,c,d,u,h,p,m,f,g,v,w,y,k,b,C,_,S,T,A,E=e("./chunk-EIQ5DUI6.js"),M=e("./chunk-UJIPPGP6.js"),P=e("@metamask/base-controller"),N=e("@metamask/eth-snap-keyring"),I=e("@metamask/keyring-api"),R=e("@metamask/keyring-controller"),j=e("@metamask/utils"),O="AccountsController",x={internalAccounts:{persist:!0,anonymous:!1}},B={internalAccounts:{accounts:{},selectedAccount:""}},D=class extends P.BaseController{constructor({messenger:e,state:t}){super({messenger:e,name:O,metadata:x,state:{...B,...t}}),M.__privateAdd.call(void 0,this,n),M.__privateAdd.call(void 0,this,i),M.__privateAdd.call(void 0,this,a),M.__privateAdd.call(void 0,this,c),M.__privateAdd.call(void 0,this,u),M.__privateAdd.call(void 0,this,p),M.__privateAdd.call(void 0,this,f),M.__privateAdd.call(void 0,this,v),M.__privateAdd.call(void 0,this,y),M.__privateAdd.call(void 0,this,b),M.__privateAdd.call(void 0,this,_),M.__privateAdd.call(void 0,this,T),this.messagingSystem.subscribe("SnapController:stateChange",(e=>M.__privateMethod.call(void 0,this,u,h).call(this,e))),this.messagingSystem.subscribe("KeyringController:stateChange",(e=>M.__privateMethod.call(void 0,this,c,d).call(this,e))),M.__privateMethod.call(void 0,this,T,A).call(this)}getAccount(e){return this.state.internalAccounts.accounts[e]}listAccounts(){return Object.values(this.state.internalAccounts.accounts).filter((e=>I.isEvmAccountType.call(void 0,e.type)))}listMultichainAccounts(e){const t=Object.values(this.state.internalAccounts.accounts);if(!e)return t;if(!j.isCaipChainId.call(void 0,e))throw new Error(`Invalid CAIP-2 chain ID: ${String(e)}`);return t.filter((t=>M.__privateMethod.call(void 0,this,v,w).call(this,t,e)))}getAccountExpect(e){if(!e)return{id:"",address:"",options:{},methods:[],type:I.EthAccountType.Eoa,metadata:{name:"",keyring:{type:""},importTime:0}};const t=this.getAccount(e);if(void 0===t)throw new Error(`Account Id "${e}" not found`);return t}getSelectedAccount(){const e=this.getAccountExpect(this.state.internalAccounts.selectedAccount);if(I.isEvmAccountType.call(void 0,e.type))return e;const t=this.listAccounts();if(!t.length)throw new Error("No EVM accounts");return M.__privateMethod.call(void 0,this,f,g).call(this,t)}getSelectedMultichainAccount(e){if(!e)return this.getAccountExpect(this.state.internalAccounts.selectedAccount);if(!j.isCaipChainId.call(void 0,e))throw new Error(`Invalid CAIP-2 chain ID: ${e}`);const t=Object.values(this.state.internalAccounts.accounts).filter((t=>M.__privateMethod.call(void 0,this,v,w).call(this,t,e)));return M.__privateMethod.call(void 0,this,f,g).call(this,t)}getAccountByAddress(e){return this.listAccounts().find((t=>t.address.toLowerCase()===e.toLowerCase()))}setSelectedAccount(e){const t=this.getAccountExpect(e);this.update((e=>{e.internalAccounts.accounts[t.id].metadata.lastSelected=Date.now(),e.internalAccounts.selectedAccount=t.id})),I.isEvmAccountType.call(void 0,t.type)&&this.messagingSystem.publish("AccountsController:selectedEvmAccountChange",t),this.messagingSystem.publish("AccountsController:selectedAccountChange",t)}setAccountName(e,t){const r=this.getAccountExpect(e);if(this.listAccounts().find((r=>r.metadata.name===t&&r.id!==e)))throw new Error("Account name already exists");this.update((n=>{const s={...r,metadata:{...r.metadata,name:t}},i=E.deepCloneDraft.call(void 0,n);return i.internalAccounts.accounts[e]=s,i}))}async updateAccounts(){const e=await M.__privateMethod.call(void 0,this,i,o).call(this),t=await M.__privateMethod.call(void 0,this,a,l).call(this),r=new Map,n=this.state.internalAccounts.accounts,s=[...t,...e].reduce(((e,t)=>{const s=E.keyringTypeToName.call(void 0,t.metadata.keyring.type),i=r.get(s)??0;i?r.set(s,i+1):r.set(s,1);const o=n[t.id];return e[t.id]={...t,metadata:{...t.metadata,name:M.__privateMethod.call(void 0,this,_,S).call(this,o?.id,"name")??`${s} ${i+1}`,importTime:M.__privateMethod.call(void 0,this,_,S).call(this,o?.id,"importTime")??Date.now(),lastSelected:M.__privateMethod.call(void 0,this,_,S).call(this,o?.id,"lastSelected")??0}},e}),{});this.update((e=>{const t=E.deepCloneDraft.call(void 0,e);return t.internalAccounts.accounts=s,t}))}loadBackup(e){e.internalAccounts&&this.update((t=>{const r=E.deepCloneDraft.call(void 0,t);return r.internalAccounts=e.internalAccounts,r}))}getNextAvailableAccountName(e=R.KeyringTypes.hd){const t=E.keyringTypeToName.call(void 0,e),r=M.__privateMethod.call(void 0,this,p,m).call(this,e),n=r.reduce(((e,r)=>{const n=new RegExp(`${t} ([0-9]+)$`,"u").exec(r.metadata.name);if(n){const t=parseInt(n[1],10);return Math.max(e,t)}return e}),0),s=Math.max(r.length+1,n+1);return`${t} ${s}`}};n=new WeakSet,s=function(e,t){return{id:E.getUUIDFromAddressOfNormalAccount.call(void 0,e),address:e,options:{},methods:[I.EthMethod.PersonalSign,I.EthMethod.Sign,I.EthMethod.SignTransaction,I.EthMethod.SignTypedDataV1,I.EthMethod.SignTypedDataV3,I.EthMethod.SignTypedDataV4],type:I.EthAccountType.Eoa,metadata:{name:"",importTime:Date.now(),keyring:{type:t}}}},i=new WeakSet,o=async function(){const[e]=this.messagingSystem.call("KeyringController:getKeyringsByType",N.SnapKeyring.type);if(!e)return[];return e.listAccounts()},a=new WeakSet,l=async function(){const e=await this.messagingSystem.call("KeyringController:getAccounts"),t=[];for(const r of e){const e=await this.messagingSystem.call("KeyringController:getKeyringForAccount",r),n=e.type;if(!E.isNormalKeyringType.call(void 0,n))continue;const s=E.getUUIDFromAddressOfNormalAccount.call(void 0,r);t.push({id:s,address:r,options:{},methods:[I.EthMethod.PersonalSign,I.EthMethod.Sign,I.EthMethod.SignTransaction,I.EthMethod.SignTypedDataV1,I.EthMethod.SignTypedDataV3,I.EthMethod.SignTypedDataV4],type:I.EthAccountType.Eoa,metadata:{name:M.__privateMethod.call(void 0,this,_,S).call(this,s,"name")??"",importTime:M.__privateMethod.call(void 0,this,_,S).call(this,s,"importTime")??Date.now(),lastSelected:M.__privateMethod.call(void 0,this,_,S).call(this,s,"lastSelected")??0,keyring:{type:e.type}}})}return t},c=new WeakSet,d=function(e){if(e.isUnlocked&&e.keyrings.length>0){const t=[],r=[];for(const n of e.keyrings)n.type===R.KeyringTypes.snap?r.push(...n.accounts.map((e=>({address:e,type:n.type})))):t.push(...n.accounts.map((e=>({address:e,type:n.type}))));const{previousNormalInternalAccounts:n,previousSnapInternalAccounts:s}=this.listAccounts().reduce(((e,t)=>(t.metadata.keyring.type===R.KeyringTypes.snap?e.previousSnapInternalAccounts.push(t):e.previousNormalInternalAccounts.push(t),e)),{previousNormalInternalAccounts:[],previousSnapInternalAccounts:[]}),i=[],o=[];for(const e of t)this.state.internalAccounts.accounts[E.getUUIDFromAddressOfNormalAccount.call(void 0,e.address)]||i.push(e);for(const e of r)s.find((t=>t.address.toLowerCase()===e.address.toLowerCase()))||i.push(e);for(const e of n)t.find((({address:t})=>t.toLowerCase()===e.address.toLowerCase()))||o.push(e);for(const e of s)r.find((({address:t})=>t.toLowerCase()===e.address.toLowerCase()))||o.push(e);if(o.length>0)for(const e of o)M.__privateMethod.call(void 0,this,b,C).call(this,e.id);if(i.length>0)for(const e of i)M.__privateMethod.call(void 0,this,y,k).call(this,e);if(!this.getAccount(this.state.internalAccounts.selectedAccount)){const[e]=this.listAccounts().sort(((e,t)=>(t.metadata.lastSelected??0)-(e.metadata.lastSelected??0)));if(!e)return void this.update((e=>{e.internalAccounts.selectedAccount=""}));this.setSelectedAccount(e.id)}}},u=new WeakSet,h=function(e){const{snaps:t}=e,r=this.listAccounts().filter((e=>e.metadata.snap));this.update((e=>{r.forEach((r=>{const n=e.internalAccounts.accounts[r.id];if(n.metadata.snap){const e=n.metadata.snap.id,r=t[e];r&&(n.metadata.snap.enabled=r.enabled&&!r.blocked)}}))}))},p=new WeakSet,m=function(e){return this.listAccounts().filter((t=>e===R.KeyringTypes.hd||e===R.KeyringTypes.simple?t.metadata.keyring.type===R.KeyringTypes.hd||t.metadata.keyring.type===R.KeyringTypes.simple:t.metadata.keyring.type===e))},f=new WeakSet,g=function(e){return e.reduce(((e,t)=>t.metadata.lastSelected>e.metadata.lastSelected?t:e),e[0])},v=new WeakSet,w=function(e,t){return e.type.startsWith(j.parseCaipChainId.call(void 0,t).namespace)},y=new WeakSet,k=function(e){let t;if(e.type!==R.KeyringTypes.snap)t=M.__privateMethod.call(void 0,this,n,s).call(this,e.address,e.type);else{const[r]=this.messagingSystem.call("KeyringController:getKeyringsByType",N.SnapKeyring.type);if(t=r.getAccountByAddress(e.address),!t)return}const r=this.getNextAvailableAccountName(t.metadata.keyring.type);this.update((e=>{const n=E.deepCloneDraft.call(void 0,e);return n.internalAccounts.accounts[t.id]={...t,metadata:{...t.metadata,name:r,importTime:Date.now(),lastSelected:Date.now()}},n})),this.setSelectedAccount(t.id)},b=new WeakSet,C=function(e){this.update((t=>{delete t.internalAccounts.accounts[e]}))},_=new WeakSet,S=function(e,t){const r=this.getAccount(e);return r?r.metadata[t]:void 0},T=new WeakSet,A=function(){this.messagingSystem.registerActionHandler(`${O}:setSelectedAccount`,this.setSelectedAccount.bind(this)),this.messagingSystem.registerActionHandler(`${O}:listAccounts`,this.listAccounts.bind(this)),this.messagingSystem.registerActionHandler(`${O}:setAccountName`,this.setAccountName.bind(this)),this.messagingSystem.registerActionHandler(`${O}:updateAccounts`,this.updateAccounts.bind(this)),this.messagingSystem.registerActionHandler(`${O}:getSelectedAccount`,this.getSelectedAccount.bind(this)),this.messagingSystem.registerActionHandler(`${O}:getSelectedMultichainAccount`,this.getSelectedMultichainAccount.bind(this)),this.messagingSystem.registerActionHandler(`${O}:getAccountByAddress`,this.getAccountByAddress.bind(this)),this.messagingSystem.registerActionHandler(`${O}:getNextAvailableAccountName`,this.getNextAvailableAccountName.bind(this)),this.messagingSystem.registerActionHandler("AccountsController:getAccount",this.getAccount.bind(this))},r.AccountsController=D}}},{package:"@metamask/accounts-controller",file:"node_modules/@metamask/accounts-controller/dist/chunk-7CWWNB3P.js"}],[1077,{"@ethereumjs/util":438,"@metamask/keyring-controller":1476,"@metamask/snaps-utils":2163,"ethereum-cryptography/sha256":3278,uuid:4424},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n=e("@ethereumjs/util"),s=e("@metamask/keyring-controller"),i=e("@metamask/snaps-utils"),o=e("ethereum-cryptography/sha256"),a=e("uuid");function l(e){return{random:o.sha256.call(void 0,n.toBuffer.call(void 0,e)).slice(0,16)}}r.keyringTypeToName=function(e){if(s.isCustodyKeyring.call(void 0,e))return"Custody";switch(e){case s.KeyringTypes.simple:case s.KeyringTypes.hd:return"Account";case s.KeyringTypes.trezor:return"Trezor";case s.KeyringTypes.ledger:return"Ledger";case s.KeyringTypes.lattice:return"Lattice";case s.KeyringTypes.qr:return"QR";case s.KeyringTypes.snap:return"Snap Account";default:throw new Error(`Unknown keyring ${e}`)}},r.getUUIDOptionsFromAddressOfNormalAccount=l,r.getUUIDFromAddressOfNormalAccount=function(e){return a.v4.call(void 0,l(e))},r.isNormalKeyringType=function(e){return e!==s.KeyringTypes.snap},r.deepCloneDraft=function(e){return i.deepClone.call(void 0,e)}}}},{package:"@metamask/accounts-controller",file:"node_modules/@metamask/accounts-controller/dist/chunk-EIQ5DUI6.js"}],[1078,{"@metamask/keyring-api":1444,"@metamask/keyring-controller":1476,uuid:4424},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n=e("@metamask/keyring-api"),s=e("@metamask/keyring-controller"),i=e("uuid");r.createMockInternalAccount=({id:e=i.v4.call(void 0),address:t="0x2990079bcdee240329a520d2444386fc119da21a",type:r=n.EthAccountType.Eoa,name:o="Account 1",keyringType:a=s.KeyringTypes.hd,snap:l,importTime:c=Date.now(),lastSelected:d=Date.now()}={})=>{let u;switch(r){case n.EthAccountType.Eoa:u=[n.EthMethod.PersonalSign,n.EthMethod.Sign,n.EthMethod.SignTransaction,n.EthMethod.SignTypedDataV1,n.EthMethod.SignTypedDataV3,n.EthMethod.SignTypedDataV4];break;case n.EthAccountType.Erc4337:u=[n.EthErc4337Method.PatchUserOperation,n.EthErc4337Method.PrepareUserOperation,n.EthErc4337Method.SignUserOperation];break;case n.BtcAccountType.P2wpkh:u=[n.BtcMethod.SendMany];break;default:throw new Error(`Unknown account type: ${r}`)}return{id:e,address:t,options:{},methods:u,type:r,metadata:{name:o,keyring:{type:a},importTime:c,lastSelected:d,snap:l}}}}}},{package:"@metamask/accounts-controller",file:"node_modules/@metamask/accounts-controller/dist/chunk-IBSI66UQ.js"}],[1079,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});r.__privateAdd=(e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)},r.__privateMethod=(e,t,r)=>(((e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)})(e,t,"access private method"),r)}}},{package:"@metamask/accounts-controller",file:"node_modules/@metamask/accounts-controller/dist/chunk-UJIPPGP6.js"}],[1080,{"./chunk-7CWWNB3P.js":1076,"./chunk-EIQ5DUI6.js":1077,"./chunk-IBSI66UQ.js":1078,"./chunk-UJIPPGP6.js":1079},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n=e("./chunk-7CWWNB3P.js"),s=e("./chunk-EIQ5DUI6.js"),i=e("./chunk-IBSI66UQ.js");e("./chunk-UJIPPGP6.js"),r.AccountsController=n.AccountsController,r.createMockInternalAccount=i.createMockInternalAccount,r.getUUIDFromAddressOfNormalAccount=s.getUUIDFromAddressOfNormalAccount,r.keyringTypeToName=s.keyringTypeToName}}},{package:"@metamask/accounts-controller",file:"node_modules/@metamask/accounts-controller/dist/index.js"}],[1081,{"./chunk-UJFCPTF3.js":1083,"./chunk-Z4BLTVTB.js":1084},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n,s,i,o,a=e("./chunk-UJFCPTF3.js"),l=e("./chunk-Z4BLTVTB.js");n=new WeakMap,s=new WeakMap,i=new WeakMap,o=new WeakMap,r.ControllerMessenger=class{constructor(){l.__privateAdd.call(void 0,this,n,new Map),l.__privateAdd.call(void 0,this,s,new Map),l.__privateAdd.call(void 0,this,i,new Map),l.__privateAdd.call(void 0,this,o,new Map)}registerActionHandler(e,t){if(l.__privateGet.call(void 0,this,n).has(e))throw new Error(`A handler for ${e} has already been registered`);l.__privateGet.call(void 0,this,n).set(e,t)}unregisterActionHandler(e){l.__privateGet.call(void 0,this,n).delete(e)}clearActions(){l.__privateGet.call(void 0,this,n).clear()}call(e,...t){const r=l.__privateGet.call(void 0,this,n).get(e);if(!r)throw new Error(`A handler for ${e} has not been registered`);return r(...t)}registerInitialEventPayload({eventType:e,getPayload:t}){l.__privateGet.call(void 0,this,i).set(e,t)}publish(e,...t){const r=l.__privateGet.call(void 0,this,s).get(e);if(r)for(const[e,n]of r.entries())try{if(n){const r=l.__privateGet.call(void 0,this,o).get(e),s=n(...t);s!==r&&(l.__privateGet.call(void 0,this,o).set(e,s),e(s,r))}else e(...t)}catch(e){setTimeout((()=>{throw e}))}}subscribe(e,t,r){let n=l.__privateGet.call(void 0,this,s).get(e);if(n||(n=new Map,l.__privateGet.call(void 0,this,s).set(e,n)),n.set(t,r),r){const n=l.__privateGet.call(void 0,this,i).get(e);if(n){const e=r(...n());l.__privateGet.call(void 0,this,o).set(t,e)}}}unsubscribe(e,t){const r=l.__privateGet.call(void 0,this,s).get(e);if(!r||!r.has(t))throw new Error(`Subscription not found for event: ${e}`);r.get(t)&&l.__privateGet.call(void 0,this,o).delete(t),r.delete(t)}clearEventSubscriptions(e){l.__privateGet.call(void 0,this,s).delete(e)}clearSubscriptions(){l.__privateGet.call(void 0,this,s).clear()}getRestricted({name:e,allowedActions:t,allowedEvents:r}){return new(0,a.RestrictedControllerMessenger)({controllerMessenger:this,name:e,allowedActions:t,allowedEvents:r})}}}}},{package:"@metamask/accounts-controller>@metamask/base-controller",file:"node_modules/@metamask/accounts-controller/node_modules/@metamask/base-controller/dist/chunk-G42723LG.js"}],[1082,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n=class{constructor(e={},t={}){this.defaultConfig={},this.defaultState={},this.disabled=!1,this.name="BaseController",this.internalConfig=this.defaultConfig,this.internalState=this.defaultState,this.internalListeners=[],this.initialState=t,this.initialConfig=e}initialize(){return this.internalState=this.defaultState,this.internalConfig=this.defaultConfig,this.configure(this.initialConfig),this.update(this.initialState),this}get config(){return this.internalConfig}get state(){return this.internalState}configure(e,t=!1,r=!0){if(r){this.internalConfig=t?e:Object.assign(this.internalConfig,e);for(const e of Object.keys(this.internalConfig)){const t=this.internalConfig[e];void 0!==t&&(this[e]=t)}}else for(const t of Object.keys(e))if(void 0!==this.internalConfig[t]){const r=e[t];this.internalConfig[t]=r,this[t]=r}}notify(){this.disabled||this.internalListeners.forEach((e=>{e(this.internalState)}))}subscribe(e){this.internalListeners.push(e)}unsubscribe(e){const t=this.internalListeners.findIndex((t=>e===t));return t>-1&&this.internalListeners.splice(t,1),t>-1}update(e,t=!1){this.internalState=t?Object.assign({},e):Object.assign({},this.internalState,e),this.notify()}},s=n;r.BaseControllerV1=n,r.BaseControllerV1_default=s}}},{package:"@metamask/accounts-controller>@metamask/base-controller",file:"node_modules/@metamask/accounts-controller/node_modules/@metamask/base-controller/dist/chunk-NINOM2XQ.js"}],[1083,{"./chunk-Z4BLTVTB.js":1084},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n,s,i,o,a,l,c,d,u,h,p=e("./chunk-Z4BLTVTB.js");n=new WeakMap,s=new WeakMap,i=new WeakMap,o=new WeakMap,a=new WeakSet,l=function(e){const t=p.__privateGet.call(void 0,this,o);return p.__privateMethod.call(void 0,this,u,h).call(this,e)||null!==t&&t.includes(e)},c=new WeakSet,d=function(e){const t=p.__privateGet.call(void 0,this,i);return p.__privateMethod.call(void 0,this,u,h).call(this,e)||null!==t&&t.includes(e)},u=new WeakSet,h=function(e){return e.startsWith(`${p.__privateGet.call(void 0,this,s)}:`)},r.RestrictedControllerMessenger=class{constructor({controllerMessenger:e,name:t,allowedActions:r,allowedEvents:l}){p.__privateAdd.call(void 0,this,a),p.__privateAdd.call(void 0,this,c),p.__privateAdd.call(void 0,this,u),p.__privateAdd.call(void 0,this,n,void 0),p.__privateAdd.call(void 0,this,s,void 0),p.__privateAdd.call(void 0,this,i,void 0),p.__privateAdd.call(void 0,this,o,void 0),p.__privateSet.call(void 0,this,n,e),p.__privateSet.call(void 0,this,s,t),p.__privateSet.call(void 0,this,i,r),p.__privateSet.call(void 0,this,o,l)}registerActionHandler(e,t){if(!p.__privateMethod.call(void 0,this,u,h).call(this,e))throw new Error(`Only allowed registering action handlers prefixed by '${p.__privateGet.call(void 0,this,s)}:'`);p.__privateGet.call(void 0,this,n).registerActionHandler(e,t)}unregisterActionHandler(e){if(!p.__privateMethod.call(void 0,this,u,h).call(this,e))throw new Error(`Only allowed unregistering action handlers prefixed by '${p.__privateGet.call(void 0,this,s)}:'`);p.__privateGet.call(void 0,this,n).unregisterActionHandler(e)}call(e,...t){if(!p.__privateMethod.call(void 0,this,c,d).call(this,e))throw new Error(`Action missing from allow list: ${e}`);return p.__privateGet.call(void 0,this,n).call(e,...t)}registerInitialEventPayload({eventType:e,getPayload:t}){if(!p.__privateMethod.call(void 0,this,u,h).call(this,e))throw new Error(`Only allowed publishing events prefixed by '${p.__privateGet.call(void 0,this,s)}:'`);p.__privateGet.call(void 0,this,n).registerInitialEventPayload({eventType:e,getPayload:t})}publish(e,...t){if(!p.__privateMethod.call(void 0,this,u,h).call(this,e))throw new Error(`Only allowed publishing events prefixed by '${p.__privateGet.call(void 0,this,s)}:'`);p.__privateGet.call(void 0,this,n).publish(e,...t)}subscribe(e,t,r){if(!p.__privateMethod.call(void 0,this,a,l).call(this,e))throw new Error(`Event missing from allow list: ${e}`);return r?p.__privateGet.call(void 0,this,n).subscribe(e,t,r):p.__privateGet.call(void 0,this,n).subscribe(e,t)}unsubscribe(e,t){if(!p.__privateMethod.call(void 0,this,a,l).call(this,e))throw new Error(`Event missing from allow list: ${e}`);p.__privateGet.call(void 0,this,n).unsubscribe(e,t)}clearEventSubscriptions(e){if(!p.__privateMethod.call(void 0,this,u,h).call(this,e))throw new Error(`Only allowed clearing events prefixed by '${p.__privateGet.call(void 0,this,s)}:'`);p.__privateGet.call(void 0,this,n).clearEventSubscriptions(e)}}}}},{package:"@metamask/accounts-controller>@metamask/base-controller",file:"node_modules/@metamask/accounts-controller/node_modules/@metamask/base-controller/dist/chunk-UJFCPTF3.js"}],[1084,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)};r.__privateGet=(e,t,r)=>(n(e,t,"read from private field"),r?r.call(e):t.get(e)),r.__privateAdd=(e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)},r.__privateSet=(e,t,r,s)=>(n(e,t,"write to private field"),s?s.call(e,r):t.set(e,r),r),r.__privateMethod=(e,t,r)=>(n(e,t,"access private method"),r)}}},{package:"@metamask/accounts-controller>@metamask/base-controller",file:"node_modules/@metamask/accounts-controller/node_modules/@metamask/base-controller/dist/chunk-Z4BLTVTB.js"}],[1085,{"./chunk-Z4BLTVTB.js":1084,immer:3640},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n,s=e("./chunk-Z4BLTVTB.js"),i=e("immer");i.enablePatches.call(void 0);function o(e,t,r){return Object.keys(e).reduce(((n,s)=>{try{const i=t[s];if(!i)throw new Error(`No metadata found for '${String(s)}'`);const o=i[r],a=e[s];return"function"==typeof o?n[s]=o(a):o&&(n[s]=a),n}catch(e){return setTimeout((()=>{throw e})),n}}),{})}n=new WeakMap,r.BaseController=class{constructor({messenger:e,metadata:t,name:r,state:o}){s.__privateAdd.call(void 0,this,n,void 0),this.messagingSystem=e,this.name=r,s.__privateSet.call(void 0,this,n,i.freeze.call(void 0,o,!0)),this.metadata=t,this.messagingSystem.registerActionHandler(`${r}:getState`,(()=>this.state)),this.messagingSystem.registerInitialEventPayload({eventType:`${r}:stateChange`,getPayload:()=>[this.state,[]]})}get state(){return s.__privateGet.call(void 0,this,n)}set state(e){throw new Error("Controller state cannot be directly mutated; use 'update' method instead.")}update(e){const[t,r,o]=i.produceWithPatches.call(void 0,s.__privateGet.call(void 0,this,n),e);return s.__privateSet.call(void 0,this,n,t),this.messagingSystem.publish(`${this.name}:stateChange`,t,r),{nextState:t,patches:r,inversePatches:o}}applyPatches(e){const t=i.applyPatches.call(void 0,s.__privateGet.call(void 0,this,n),e);s.__privateSet.call(void 0,this,n,t),this.messagingSystem.publish(`${this.name}:stateChange`,t,e)}destroy(){this.messagingSystem.clearEventSubscriptions(`${this.name}:stateChange`)}},r.getAnonymizedState=function(e,t){return o(e,t,"anonymous")},r.getPersistentState=function(e,t){return o(e,t,"persist")}}}},{package:"@metamask/accounts-controller>@metamask/base-controller",file:"node_modules/@metamask/accounts-controller/node_modules/@metamask/base-controller/dist/chunk-ZNOPSWMU.js"}],[1086,{"./chunk-G42723LG.js":1081,"./chunk-NINOM2XQ.js":1082,"./chunk-UJFCPTF3.js":1083,"./chunk-Z4BLTVTB.js":1084,"./chunk-ZNOPSWMU.js":1085},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n=e("./chunk-NINOM2XQ.js"),s=e("./chunk-ZNOPSWMU.js"),i=e("./chunk-G42723LG.js"),o=e("./chunk-UJFCPTF3.js");e("./chunk-Z4BLTVTB.js"),r.BaseController=s.BaseController,r.BaseControllerV1=n.BaseControllerV1,r.ControllerMessenger=i.ControllerMessenger,r.RestrictedControllerMessenger=o.RestrictedControllerMessenger,r.getAnonymizedState=s.getAnonymizedState,r.getPersistentState=s.getPersistentState}}},{package:"@metamask/accounts-controller>@metamask/base-controller",file:"node_modules/@metamask/accounts-controller/node_modules/@metamask/base-controller/dist/index.js"}],[1087,{"@metamask/base-controller":1094,"@metamask/controller-utils":1100},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n=e("@metamask/base-controller"),s=e("@metamask/controller-utils"),i=(e=>(e.externallyOwnedAccounts="EXTERNALLY_OWNED_ACCOUNTS",e.contractAccounts="CONTRACT_ACCOUNTS",e.nonAccounts="NON_ACCOUNTS",e))(i||{}),o=class extends n.BaseControllerV1{constructor(e,t){super(e,t),this.name="AddressBookController",this.defaultState={addressBook:{}},this.initialize()}clear(){this.update({addressBook:{}})}delete(e,t){if(t=s.toChecksumHexAddress.call(void 0,t),!s.isValidHexAddress.call(void 0,t)||!this.state.addressBook[e]||!this.state.addressBook[e][t])return!1;const r=Object.assign({},this.state.addressBook);return delete r[e][t],0===Object.keys(r[e]).length&&delete r[e],this.update({addressBook:r}),!0}set(e,t,r=s.toHex.call(void 0,1),n="",i){if(e=s.toChecksumHexAddress.call(void 0,e),!s.isValidHexAddress.call(void 0,e))return!1;const o={address:e,chainId:r,isEns:!1,memo:n,name:t,addressType:i},a=s.normalizeEnsName.call(void 0,t);return a&&(o.name=a,o.isEns=!0),this.update({addressBook:{...this.state.addressBook,[r]:{...this.state.addressBook[r],[e]:o}}}),!0}},a=o;r.AddressType=i,r.AddressBookController=o,r.AddressBookController_default=a}}},{package:"@metamask/address-book-controller",file:"node_modules/@metamask/address-book-controller/dist/chunk-ISKA7MA7.js"}],[1088,{"./chunk-ISKA7MA7.js":1087},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n=e("./chunk-ISKA7MA7.js");r.AddressBookController=n.AddressBookController,r.AddressType=n.AddressType}}},{package:"@metamask/address-book-controller",file:"node_modules/@metamask/address-book-controller/dist/index.js"}],[1089,{"./chunk-UJFCPTF3.js":1091,"./chunk-Z4BLTVTB.js":1092},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n,s,i,o,a=e("./chunk-UJFCPTF3.js"),l=e("./chunk-Z4BLTVTB.js");n=new WeakMap,s=new WeakMap,i=new WeakMap,o=new WeakMap,r.ControllerMessenger=class{constructor(){l.__privateAdd.call(void 0,this,n,new Map),l.__privateAdd.call(void 0,this,s,new Map),l.__privateAdd.call(void 0,this,i,new Map),l.__privateAdd.call(void 0,this,o,new Map)}registerActionHandler(e,t){if(l.__privateGet.call(void 0,this,n).has(e))throw new Error(`A handler for ${e} has already been registered`);l.__privateGet.call(void 0,this,n).set(e,t)}unregisterActionHandler(e){l.__privateGet.call(void 0,this,n).delete(e)}clearActions(){l.__privateGet.call(void 0,this,n).clear()}call(e,...t){const r=l.__privateGet.call(void 0,this,n).get(e);if(!r)throw new Error(`A handler for ${e} has not been registered`);return r(...t)}registerInitialEventPayload({eventType:e,getPayload:t}){l.__privateGet.call(void 0,this,i).set(e,t)}publish(e,...t){const r=l.__privateGet.call(void 0,this,s).get(e);if(r)for(const[e,n]of r.entries())try{if(n){const r=l.__privateGet.call(void 0,this,o).get(e),s=n(...t);s!==r&&(l.__privateGet.call(void 0,this,o).set(e,s),e(s,r))}else e(...t)}catch(e){setTimeout((()=>{throw e}))}}subscribe(e,t,r){let n=l.__privateGet.call(void 0,this,s).get(e);if(n||(n=new Map,l.__privateGet.call(void 0,this,s).set(e,n)),n.set(t,r),r){const n=l.__privateGet.call(void 0,this,i).get(e);if(n){const e=r(...n());l.__privateGet.call(void 0,this,o).set(t,e)}}}unsubscribe(e,t){const r=l.__privateGet.call(void 0,this,s).get(e);if(!r||!r.has(t))throw new Error(`Subscription not found for event: ${e}`);r.get(t)&&l.__privateGet.call(void 0,this,o).delete(t),r.delete(t)}clearEventSubscriptions(e){l.__privateGet.call(void 0,this,s).delete(e)}clearSubscriptions(){l.__privateGet.call(void 0,this,s).clear()}getRestricted({name:e,allowedActions:t,allowedEvents:r}){return new(0,a.RestrictedControllerMessenger)({controllerMessenger:this,name:e,allowedActions:t,allowedEvents:r})}}}}},{package:"@metamask/address-book-controller>@metamask/base-controller",file:"node_modules/@metamask/address-book-controller/node_modules/@metamask/base-controller/dist/chunk-G42723LG.js"}],[1090,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n=class{constructor(e={},t={}){this.defaultConfig={},this.defaultState={},this.disabled=!1,this.name="BaseController",this.internalConfig=this.defaultConfig,this.internalState=this.defaultState,this.internalListeners=[],this.initialState=t,this.initialConfig=e}initialize(){return this.internalState=this.defaultState,this.internalConfig=this.defaultConfig,this.configure(this.initialConfig),this.update(this.initialState),this}get config(){return this.internalConfig}get state(){return this.internalState}configure(e,t=!1,r=!0){if(r){this.internalConfig=t?e:Object.assign(this.internalConfig,e);for(const e of Object.keys(this.internalConfig)){const t=this.internalConfig[e];void 0!==t&&(this[e]=t)}}else for(const t of Object.keys(e))if(void 0!==this.internalConfig[t]){const r=e[t];this.internalConfig[t]=r,this[t]=r}}notify(){this.disabled||this.internalListeners.forEach((e=>{e(this.internalState)}))}subscribe(e){this.internalListeners.push(e)}unsubscribe(e){const t=this.internalListeners.findIndex((t=>e===t));return t>-1&&this.internalListeners.splice(t,1),t>-1}update(e,t=!1){this.internalState=t?Object.assign({},e):Object.assign({},this.internalState,e),this.notify()}},s=n;r.BaseControllerV1=n,r.BaseControllerV1_default=s}}},{package:"@metamask/address-book-controller>@metamask/base-controller",file:"node_modules/@metamask/address-book-controller/node_modules/@metamask/base-controller/dist/chunk-NINOM2XQ.js"}],[1091,{"./chunk-Z4BLTVTB.js":1092},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n,s,i,o,a,l,c,d,u,h,p=e("./chunk-Z4BLTVTB.js");n=new WeakMap,s=new WeakMap,i=new WeakMap,o=new WeakMap,a=new WeakSet,l=function(e){const t=p.__privateGet.call(void 0,this,o);return p.__privateMethod.call(void 0,this,u,h).call(this,e)||null!==t&&t.includes(e)},c=new WeakSet,d=function(e){const t=p.__privateGet.call(void 0,this,i);return p.__privateMethod.call(void 0,this,u,h).call(this,e)||null!==t&&t.includes(e)},u=new WeakSet,h=function(e){return e.startsWith(`${p.__privateGet.call(void 0,this,s)}:`)},r.RestrictedControllerMessenger=class{constructor({controllerMessenger:e,name:t,allowedActions:r,allowedEvents:l}){p.__privateAdd.call(void 0,this,a),p.__privateAdd.call(void 0,this,c),p.__privateAdd.call(void 0,this,u),p.__privateAdd.call(void 0,this,n,void 0),p.__privateAdd.call(void 0,this,s,void 0),p.__privateAdd.call(void 0,this,i,void 0),p.__privateAdd.call(void 0,this,o,void 0),p.__privateSet.call(void 0,this,n,e),p.__privateSet.call(void 0,this,s,t),p.__privateSet.call(void 0,this,i,r),p.__privateSet.call(void 0,this,o,l)}registerActionHandler(e,t){if(!p.__privateMethod.call(void 0,this,u,h).call(this,e))throw new Error(`Only allowed registering action handlers prefixed by '${p.__privateGet.call(void 0,this,s)}:'`);p.__privateGet.call(void 0,this,n).registerActionHandler(e,t)}unregisterActionHandler(e){if(!p.__privateMethod.call(void 0,this,u,h).call(this,e))throw new Error(`Only allowed unregistering action handlers prefixed by '${p.__privateGet.call(void 0,this,s)}:'`);p.__privateGet.call(void 0,this,n).unregisterActionHandler(e)}call(e,...t){if(!p.__privateMethod.call(void 0,this,c,d).call(this,e))throw new Error(`Action missing from allow list: ${e}`);return p.__privateGet.call(void 0,this,n).call(e,...t)}registerInitialEventPayload({eventType:e,getPayload:t}){if(!p.__privateMethod.call(void 0,this,u,h).call(this,e))throw new Error(`Only allowed publishing events prefixed by '${p.__privateGet.call(void 0,this,s)}:'`);p.__privateGet.call(void 0,this,n).registerInitialEventPayload({eventType:e,getPayload:t})}publish(e,...t){if(!p.__privateMethod.call(void 0,this,u,h).call(this,e))throw new Error(`Only allowed publishing events prefixed by '${p.__privateGet.call(void 0,this,s)}:'`);p.__privateGet.call(void 0,this,n).publish(e,...t)}subscribe(e,t,r){if(!p.__privateMethod.call(void 0,this,a,l).call(this,e))throw new Error(`Event missing from allow list: ${e}`);return r?p.__privateGet.call(void 0,this,n).subscribe(e,t,r):p.__privateGet.call(void 0,this,n).subscribe(e,t)}unsubscribe(e,t){if(!p.__privateMethod.call(void 0,this,a,l).call(this,e))throw new Error(`Event missing from allow list: ${e}`);p.__privateGet.call(void 0,this,n).unsubscribe(e,t)}clearEventSubscriptions(e){if(!p.__privateMethod.call(void 0,this,u,h).call(this,e))throw new Error(`Only allowed clearing events prefixed by '${p.__privateGet.call(void 0,this,s)}:'`);p.__privateGet.call(void 0,this,n).clearEventSubscriptions(e)}}}}},{package:"@metamask/address-book-controller>@metamask/base-controller",file:"node_modules/@metamask/address-book-controller/node_modules/@metamask/base-controller/dist/chunk-UJFCPTF3.js"}],[1092,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)};r.__privateGet=(e,t,r)=>(n(e,t,"read from private field"),r?r.call(e):t.get(e)),r.__privateAdd=(e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)},r.__privateSet=(e,t,r,s)=>(n(e,t,"write to private field"),s?s.call(e,r):t.set(e,r),r),r.__privateMethod=(e,t,r)=>(n(e,t,"access private method"),r)}}},{package:"@metamask/address-book-controller>@metamask/base-controller",file:"node_modules/@metamask/address-book-controller/node_modules/@metamask/base-controller/dist/chunk-Z4BLTVTB.js"}],[1093,{"./chunk-Z4BLTVTB.js":1092,immer:3640},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n,s=e("./chunk-Z4BLTVTB.js"),i=e("immer");i.enablePatches.call(void 0);function o(e,t,r){return Object.keys(e).reduce(((n,s)=>{try{const i=t[s];if(!i)throw new Error(`No metadata found for '${String(s)}'`);const o=i[r],a=e[s];return"function"==typeof o?n[s]=o(a):o&&(n[s]=a),n}catch(e){return setTimeout((()=>{throw e})),n}}),{})}n=new WeakMap,r.BaseController=class{constructor({messenger:e,metadata:t,name:r,state:o}){s.__privateAdd.call(void 0,this,n,void 0),this.messagingSystem=e,this.name=r,s.__privateSet.call(void 0,this,n,i.freeze.call(void 0,o,!0)),this.metadata=t,this.messagingSystem.registerActionHandler(`${r}:getState`,(()=>this.state)),this.messagingSystem.registerInitialEventPayload({eventType:`${r}:stateChange`,getPayload:()=>[this.state,[]]})}get state(){return s.__privateGet.call(void 0,this,n)}set state(e){throw new Error("Controller state cannot be directly mutated; use 'update' method instead.")}update(e){const[t,r,o]=i.produceWithPatches.call(void 0,s.__privateGet.call(void 0,this,n),e);return s.__privateSet.call(void 0,this,n,t),this.messagingSystem.publish(`${this.name}:stateChange`,t,r),{nextState:t,patches:r,inversePatches:o}}applyPatches(e){const t=i.applyPatches.call(void 0,s.__privateGet.call(void 0,this,n),e);s.__privateSet.call(void 0,this,n,t),this.messagingSystem.publish(`${this.name}:stateChange`,t,e)}destroy(){this.messagingSystem.clearEventSubscriptions(`${this.name}:stateChange`)}},r.getAnonymizedState=function(e,t){return o(e,t,"anonymous")},r.getPersistentState=function(e,t){return o(e,t,"persist")}}}},{package:"@metamask/address-book-controller>@metamask/base-controller",file:"node_modules/@metamask/address-book-controller/node_modules/@metamask/base-controller/dist/chunk-ZNOPSWMU.js"}],[1094,{"./chunk-G42723LG.js":1089,"./chunk-NINOM2XQ.js":1090,"./chunk-UJFCPTF3.js":1091,"./chunk-Z4BLTVTB.js":1092,"./chunk-ZNOPSWMU.js":1093},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n=e("./chunk-NINOM2XQ.js"),s=e("./chunk-ZNOPSWMU.js"),i=e("./chunk-G42723LG.js"),o=e("./chunk-UJFCPTF3.js");e("./chunk-Z4BLTVTB.js"),r.BaseController=s.BaseController,r.BaseControllerV1=n.BaseControllerV1,r.ControllerMessenger=i.ControllerMessenger,r.RestrictedControllerMessenger=o.RestrictedControllerMessenger,r.getAnonymizedState=s.getAnonymizedState,r.getPersistentState=s.getPersistentState}}},{package:"@metamask/address-book-controller>@metamask/base-controller",file:"node_modules/@metamask/address-book-controller/node_modules/@metamask/base-controller/dist/index.js"}],[1095,{"@metamask/utils":2300},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n=e("@metamask/utils"),s=n.createProjectLogger.call(void 0,"controller-utils");r.createModuleLogger=n.createModuleLogger,r.projectLogger=s}}},{package:"@metamask/address-book-controller>@metamask/controller-utils",file:"node_modules/@metamask/address-book-controller/node_modules/@metamask/controller-utils/dist/chunk-DBJSLKNR.js"}],[1096,{"./chunk-X4PYR7CK.js":1099,"@ethereumjs/util":438,"@metamask/ethjs-unit":1381,"@metamask/utils":2300,"bn.js":2980,buffer:3028,"eth-ens-namehash":3225,"fast-deep-equal":3356},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(t){(function(){function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(r,"__esModule",{value:!0});var s=e("./chunk-X4PYR7CK.js"),i=e("@ethereumjs/util"),o=e("@metamask/ethjs-unit"),a=e("@metamask/utils"),l=n(e("bn.js")),c=n(e("eth-ens-namehash")),d=n(e("fast-deep-equal")),u=new Error("timeout"),h=["__proto__","constructor","prototype"];function p(e){return e?new(0,l.default)(a.remove0x.call(void 0,e),16):new(0,l.default)(0)}async function m(e,t){const r=await fetch(e,t);if(!r.ok)throw new Error(`Fetch failed with status '${r.status}' for request '${String(e)}'`);return r}async function f(e,t){const r=await m(e,t);return await r.json()}r.PROTOTYPE_POLLUTION_BLOCKLIST=h,r.isSafeDynamicKey=function(e){return"string"==typeof e&&!h.some((t=>e===t))},r.isSafeChainId=function(e){if(!a.isHexString.call(void 0,e))return!1;const t=Number.parseInt(e,a.isStrictHexString.call(void 0,e)?16:10);return Number.isSafeInteger(t)&&t>0&&t<=s.MAX_SAFE_CHAIN_ID},r.BNToHex=function(e){return a.add0x.call(void 0,e.toString(16))},r.fractionBN=function(e,t,r){const n=new(0,l.default)(t),s=new(0,l.default)(r);return e.mul(n).div(s)},r.gweiDecToWEIBN=function(e){if(Number.isNaN(e))return new(0,l.default)(0);const t=e.toString().split("."),r=t[0]||"0";let n=t[1]||"";if(!n)return o.toWei.call(void 0,r,"gwei");if(n.length<=9)return o.toWei.call(void 0,`${r}.${n}`,"gwei");const s=n.slice(9)[0];n=n.slice(0,9);let i=o.toWei.call(void 0,`${r}.${n}`,"gwei");return Number(s)>=5&&(i=i.add(new(0,l.default)(1))),i},r.weiHexToGweiDec=function(e){const t=new(0,l.default)(a.remove0x.call(void 0,e),16);return o.fromWei.call(void 0,t,"gwei")},r.getBuyURL=function(e="1",t,r=5){switch(e){case"1":return`https://buy.coinbase.com/?code=9ec56d01-7e81-5017-930c-513daa27bb6a&amount=${r}&address=${t}&crypto_currency=ETH`;case"5":return"https://goerli-faucet.slock.it/";case"11155111":return"https://sepoliafaucet.net/";default:return}},r.hexToBN=p,r.hexToText=function(e){try{const r=a.remove0x.call(void 0,e);return t.from(r,"hex").toString("utf8")}catch(t){return e}},r.fromHex=function(e){return l.default.isBN(e)?e:new(0,l.default)(p(e).toString(10))},r.toHex=function(e){return"string"==typeof e&&a.isStrictHexString.call(void 0,e)?e:`0x${l.default.isBN(e)?e.toString(16):new(0,l.default)(e.toString(),10).toString(16)}`},r.safelyExecute=async function(e,t=!1){try{return await e()}catch(e){return void(t&&console.error(e))}},r.safelyExecuteWithTimeout=async function(e,t=!1,r=500){try{return await Promise.race([e(),new Promise(((e,t)=>setTimeout((()=>{t(u)}),r)))])}catch(e){return void(t&&console.error(e))}},r.toChecksumHexAddress=function(e){if("string"!=typeof e)return e;const t=a.add0x.call(void 0,e);return a.isHexString.call(void 0,t)?i.toChecksumAddress.call(void 0,t):t},r.isValidHexAddress=function(e,{allowNonPrefixed:t=!0}={}){const r=t?a.add0x.call(void 0,e):e;return!!a.isStrictHexString.call(void 0,r)&&i.isValidAddress.call(void 0,r)},r.isSmartContractCode=function(e){return!!e&&("0x"!==e&&"0x0"!==e)},r.successfulFetch=m,r.handleFetch=f,r.fetchWithErrorHandling=async function({url:e,options:t,timeout:r,errorCodesToCatch:n}){let s;try{s=r?Promise.race([await f(e,t),new Promise(((e,t)=>setTimeout((()=>{t(u)}),r)))]):await f(e,t)}catch(e){!function(e,t=[]){if(!e)return;if(!(e instanceof Error))throw e;if(!t.some((t=>e.message.includes(`Fetch failed with status '${t}'`)))&&!e.message.includes("Failed to fetch")&&e!==u)throw e;console.error(e)}(e,n)}return s},r.timeoutFetch=async function(e,t,r=500){return Promise.race([m(e,t),new Promise(((e,t)=>setTimeout((()=>{t(u)}),r)))])},r.normalizeEnsName=function(e){if("."===e)return e;if(e&&"string"==typeof e)try{const t=c.default.normalize(e.trim());if(t.match(/^(([\w\d-]+)\.)*[\w\d-]{7,}\.(eth|test)$/u))return t}catch(e){}return null},r.query=function(e,t,r=[]){return new Promise(((n,s)=>{const i=(e,t)=>{e?s(e):n(t)};t in e&&"function"==typeof e[t]?e[t](...r,i):e.sendAsync({method:t,params:r},i)}))},r.convertHexToDecimal=(e="0x0")=>a.isStrictHexString.call(void 0,e)?parseInt(e,16):Number(e)?Number(e):0,r.isPlainObject=function(e){return Boolean(e)&&"object"==typeof e&&!Array.isArray(e)},r.isNonEmptyArray=function(e){return Array.isArray(e)&&e.length>0},r.isValidJson=function(e){try{return d.default.call(void 0,e,JSON.parse(JSON.stringify(e)))}catch(e){return!1}}}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"@metamask/address-book-controller>@metamask/controller-utils",file:"node_modules/@metamask/address-book-controller/node_modules/@metamask/controller-utils/dist/chunk-EDY72VWL.js"}],[1097,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n={mainnet:"mainnet",goerli:"goerli",sepolia:"sepolia","linea-goerli":"linea-goerli","linea-sepolia":"linea-sepolia","linea-mainnet":"linea-mainnet"},s={...n,rpc:"rpc"};var i=(e=>(e.Mainnet="mainnet",e.Goerli="goerli",e.Sepolia="sepolia",e.LineaGoerli="linea-goerli",e.LineaSepolia="linea-sepolia",e.LineaMainnet="linea-mainnet",e.Aurora="aurora",e))(i||{}),o={mainnet:"0x1",goerli:"0x5",sepolia:"0xaa36a7",aurora:"0x4e454152","linea-goerli":"0xe704","linea-sepolia":"0xe705","linea-mainnet":"0xe708"},a=(e=>(e.mainnet="ETH",e.goerli="GoerliETH",e.sepolia="SepoliaETH",e["linea-goerli"]="LineaETH",e["linea-sepolia"]="LineaETH",e["linea-mainnet"]="ETH",e.rpc="",e))(a||{});r.InfuraNetworkType=n,r.NetworkType=s,r.isNetworkType=function(e){return Object.values(s).includes(e)},r.isInfuraNetworkType=function(e){return Object.keys(n).includes(e)},r.BuiltInNetworkName=i,r.ChainId=o,r.NetworksTicker=a}}},{package:"@metamask/address-book-controller>@metamask/controller-utils",file:"node_modules/@metamask/address-book-controller/node_modules/@metamask/controller-utils/dist/chunk-LGGBBU6G.js"}],[1098,{"./chunk-DBJSLKNR.js":1095,"@metamask/utils":2300,"@spruceid/siwe-parser":2526,buffer:3028},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(t){(function(){Object.defineProperty(r,"__esModule",{value:!0});var n=e("./chunk-DBJSLKNR.js"),s=e("@metamask/utils"),i=e("@spruceid/siwe-parser"),o=n.createModuleLogger.call(void 0,n.projectLogger,"detect-siwe");function a(e){try{const n="string"!=typeof(r=e)?r:s.remove0x.call(void 0,r),i=t.from(n,"hex");return 32===i.length?e:i.toString("utf8")}catch(t){return o(t),e}var r}var l={"http:":"80","https:":"443"},c=(e,t)=>e.match(/^[^/:]*:\/\//u)?new URL(e):new URL(`${t}//${e}`);r.parseDomainParts=c,r.isValidSIWEOrigin=e=>{try{const{origin:t,siwe:r}=e;if(!t||!r?.parsedMessage?.domain)return!1;const n=new URL(t),s=c(r.parsedMessage.domain,n.protocol);return 0===s.hostname.localeCompare(n.hostname,void 0,{sensitivity:"accent"})&&(""!==s.port&&s.port!==n.port?""===n.port&&s.port===l[n.protocol]:""===s.username||s.username===n.username)}catch(e){return o(e),!1}},r.detectSIWE=e=>{try{const{data:t}=e,r=a(t);return{isSIWEMessage:!0,parsedMessage:new(0,i.ParsedMessage)(r)}}catch(e){return{isSIWEMessage:!1,parsedMessage:null}}}}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"@metamask/address-book-controller>@metamask/controller-utils",file:"node_modules/@metamask/address-book-controller/node_modules/@metamask/controller-utils/dist/chunk-M6G3ISXG.js"}],[1099,{"./chunk-LGGBBU6G.js":1097},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n=e("./chunk-LGGBBU6G.js"),s={[n.NetworkType.goerli]:{chainId:n.ChainId.goerli,ticker:"GoerliETH",rpcPrefs:{blockExplorerUrl:`https://${n.NetworkType.goerli}.etherscan.io`}},[n.NetworkType.sepolia]:{chainId:n.ChainId.sepolia,ticker:"SepoliaETH",rpcPrefs:{blockExplorerUrl:`https://${n.NetworkType.sepolia}.etherscan.io`}},[n.NetworkType.mainnet]:{chainId:n.ChainId.mainnet,ticker:"ETH",rpcPrefs:{blockExplorerUrl:"https://etherscan.io"}},[n.NetworkType["linea-goerli"]]:{chainId:n.ChainId["linea-goerli"],ticker:"LineaETH",rpcPrefs:{blockExplorerUrl:"https://goerli.lineascan.build"}},[n.NetworkType["linea-sepolia"]]:{chainId:n.ChainId["linea-sepolia"],ticker:"LineaETH",rpcPrefs:{blockExplorerUrl:"https://sepolia.lineascan.build"}},[n.NetworkType["linea-mainnet"]]:{chainId:n.ChainId["linea-mainnet"],ticker:"ETH",rpcPrefs:{blockExplorerUrl:"https://lineascan.build"}},[n.NetworkType.rpc]:{chainId:void 0,blockExplorerUrl:void 0,ticker:void 0,rpcPrefs:void 0}},i=(e=>(e.AddEthereumChain="wallet_addEthereumChain",e.ConnectAccounts="connect_accounts",e.EthDecrypt="eth_decrypt",e.EthGetEncryptionPublicKey="eth_getEncryptionPublicKey",e.EthSign="eth_sign",e.EthSignTypedData="eth_signTypedData",e.PersonalSign="personal_sign",e.ResultError="result_error",e.ResultSuccess="result_success",e.SnapDialogAlert="snap_dialog:alert",e.SnapDialogConfirmation="snap_dialog:confirmation",e.SnapDialogPrompt="snap_dialog:prompt",e.SwitchEthereumChain="wallet_switchEthereumChain",e.Transaction="transaction",e.Unlock="unlock",e.WalletConnect="wallet_connect",e.WalletRequestPermissions="wallet_requestPermissions",e.WatchAsset="wallet_watchAsset",e))(i||{}),o={[n.ChainId.goerli]:"goerli",[n.ChainId.sepolia]:"sepolia",[n.ChainId.mainnet]:"mainnet",[n.ChainId["linea-goerli"]]:"linea-goerli",[n.ChainId["linea-sepolia"]]:"linea-sepolia",[n.ChainId["linea-mainnet"]]:"linea-mainnet",[n.ChainId.aurora]:"aurora"};r.RPC="rpc",r.FALL_BACK_VS_CURRENCY="ETH",r.IPFS_DEFAULT_GATEWAY_URL="https://cloudflare-ipfs.com/ipfs/",r.GANACHE_CHAIN_ID="0x539",r.MAX_SAFE_CHAIN_ID=0xfffffffffffec,r.ERC721="ERC721",r.ERC1155="ERC1155",r.ERC20="ERC20",r.ERC721_INTERFACE_ID="0x80ac58cd",r.ERC721_METADATA_INTERFACE_ID="0x5b5e139f",r.ERC721_ENUMERABLE_INTERFACE_ID="0x780e9d63",r.ERC1155_INTERFACE_ID="0xd9b67a26",r.ERC1155_METADATA_URI_INTERFACE_ID="0x0e89341c",r.ERC1155_TOKEN_RECEIVER_INTERFACE_ID="0x4e2312e0",r.GWEI="gwei",r.ASSET_TYPES={NATIVE:"NATIVE",TOKEN:"TOKEN",NFT:"NFT",UNKNOWN:"UNKNOWN"},r.TESTNET_TICKER_SYMBOLS={GOERLI:"GoerliETH",SEPOLIA:"SepoliaETH",LINEA_GOERLI:"LineaETH",LINEA_SEPOLIA:"LineaETH"},r.BUILT_IN_NETWORKS=s,r.OPENSEA_PROXY_URL="https://proxy.metafi.codefi.network/opensea/v1/api/v2",r.NFT_API_BASE_URL="https://nft.api.cx.metamask.io",r.ORIGIN_METAMASK="metamask",r.ApprovalType=i,r.CHAIN_ID_TO_ETHERS_NETWORK_NAME_MAP=o}}},{package:"@metamask/address-book-controller>@metamask/controller-utils",file:"node_modules/@metamask/address-book-controller/node_modules/@metamask/controller-utils/dist/chunk-X4PYR7CK.js"}],[11,{"@metamask/snaps-utils":2163},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.createSnapPublicKeyRequest=function(){return{snapId:s,origin:"",handler:n.HandlerType.OnRpcRequest,request:{method:"getPublicKey"}}},r.createSnapSignMessageRequest=function(e){return{snapId:s,origin:"",handler:n.HandlerType.OnRpcRequest,request:{method:"signMessage",params:{message:e}}}};var n=e("@metamask/snaps-utils");const s="npm:@metamask/message-signing-snap"}}},{package:"$root$",file:"app/scripts/controllers/authentication/auth-snap-requests.ts"}],[110,{"./snap-keyring":112},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"getAccountsBySnapId",{enumerable:!0,get:function(){return n.getAccountsBySnapId}}),Object.defineProperty(r,"snapKeyringBuilder",{enumerable:!0,get:function(){return n.snapKeyringBuilder}});var n=e("./snap-keyring")}}},{package:"$root$",file:"app/scripts/lib/snap-keyring/hybrid-compute-sdk.ts"}],[1100,{"./chunk-DBJSLKNR.js":1095,"./chunk-EDY72VWL.js":1096,"./chunk-LGGBBU6G.js":1097,"./chunk-M6G3ISXG.js":1098,"./chunk-X4PYR7CK.js":1099},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n=e("./chunk-M6G3ISXG.js");e("./chunk-DBJSLKNR.js");var s=e("./chunk-EDY72VWL.js"),i=e("./chunk-X4PYR7CK.js"),o=e("./chunk-LGGBBU6G.js");r.ASSET_TYPES=i.ASSET_TYPES,r.ApprovalType=i.ApprovalType,r.BNToHex=s.BNToHex,r.BUILT_IN_NETWORKS=i.BUILT_IN_NETWORKS,r.BuiltInNetworkName=o.BuiltInNetworkName,r.CHAIN_ID_TO_ETHERS_NETWORK_NAME_MAP=i.CHAIN_ID_TO_ETHERS_NETWORK_NAME_MAP,r.ChainId=o.ChainId,r.ERC1155=i.ERC1155,r.ERC1155_INTERFACE_ID=i.ERC1155_INTERFACE_ID,r.ERC1155_METADATA_URI_INTERFACE_ID=i.ERC1155_METADATA_URI_INTERFACE_ID,r.ERC1155_TOKEN_RECEIVER_INTERFACE_ID=i.ERC1155_TOKEN_RECEIVER_INTERFACE_ID,r.ERC20=i.ERC20,r.ERC721=i.ERC721,r.ERC721_ENUMERABLE_INTERFACE_ID=i.ERC721_ENUMERABLE_INTERFACE_ID,r.ERC721_INTERFACE_ID=i.ERC721_INTERFACE_ID,r.ERC721_METADATA_INTERFACE_ID=i.ERC721_METADATA_INTERFACE_ID,r.FALL_BACK_VS_CURRENCY=i.FALL_BACK_VS_CURRENCY,r.GANACHE_CHAIN_ID=i.GANACHE_CHAIN_ID,r.GWEI=i.GWEI,r.IPFS_DEFAULT_GATEWAY_URL=i.IPFS_DEFAULT_GATEWAY_URL,r.InfuraNetworkType=o.InfuraNetworkType,r.MAX_SAFE_CHAIN_ID=i.MAX_SAFE_CHAIN_ID,r.NFT_API_BASE_URL=i.NFT_API_BASE_URL,r.NetworkType=o.NetworkType,r.NetworksTicker=o.NetworksTicker,r.OPENSEA_PROXY_URL=i.OPENSEA_PROXY_URL,r.ORIGIN_METAMASK=i.ORIGIN_METAMASK,r.RPC=i.RPC,r.TESTNET_TICKER_SYMBOLS=i.TESTNET_TICKER_SYMBOLS,r.convertHexToDecimal=s.convertHexToDecimal,r.detectSIWE=n.detectSIWE,r.fetchWithErrorHandling=s.fetchWithErrorHandling,r.fractionBN=s.fractionBN,r.fromHex=s.fromHex,r.getBuyURL=s.getBuyURL,r.gweiDecToWEIBN=s.gweiDecToWEIBN,r.handleFetch=s.handleFetch,r.hexToBN=s.hexToBN,r.hexToText=s.hexToText,r.isInfuraNetworkType=o.isInfuraNetworkType,r.isNetworkType=o.isNetworkType,r.isNonEmptyArray=s.isNonEmptyArray,r.isPlainObject=s.isPlainObject,r.isSafeChainId=s.isSafeChainId,r.isSafeDynamicKey=s.isSafeDynamicKey,r.isSmartContractCode=s.isSmartContractCode,r.isValidHexAddress=s.isValidHexAddress,r.isValidJson=s.isValidJson,r.isValidSIWEOrigin=n.isValidSIWEOrigin,r.normalizeEnsName=s.normalizeEnsName,r.parseDomainParts=n.parseDomainParts,r.query=s.query,r.safelyExecute=s.safelyExecute,r.safelyExecuteWithTimeout=s.safelyExecuteWithTimeout,r.successfulFetch=s.successfulFetch,r.timeoutFetch=s.timeoutFetch,r.toChecksumHexAddress=s.toChecksumHexAddress,r.toHex=s.toHex,r.weiHexToGweiDec=s.weiHexToGweiDec}}},{package:"@metamask/address-book-controller>@metamask/controller-utils",file:"node_modules/@metamask/address-book-controller/node_modules/@metamask/controller-utils/dist/index.js"}],[1101,{"@metamask/base-controller":1108},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n,s,i=(e,t,r)=>(((e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)})(e,t,"access private method"),r),o=e("@metamask/base-controller"),a={announcements:{}},l={announcements:{persist:!0,anonymous:!0}},c=class extends o.BaseController{constructor({messenger:e,state:t,allAnnouncements:r}){const o={...a,...t};super({messenger:e,metadata:l,name:"AnnouncementController",state:o}),((e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)})(this,n),i(this,n,s).call(this,r)}resetViewed(){this.update((({announcements:e})=>{for(const t of Object.values(e))t.isShown=!1}))}updateViewed(e){this.update((({announcements:t})=>{for(const r of Object.keys(e).map(Number))t[r].isShown=e[r]}))}};n=new WeakSet,s=function(e){this.update((t=>{Object.values(e).forEach((e=>{t.announcements[e.id]=t.announcements[e.id]??{...e,isShown:!1}}))}))},r.AnnouncementController=c}}},{package:"@metamask/announcement-controller",file:"node_modules/@metamask/announcement-controller/dist/chunk-ZGM3XNIO.js"}],[1102,{"./chunk-ZGM3XNIO.js":1101},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n=e("./chunk-ZGM3XNIO.js");r.AnnouncementController=n.AnnouncementController}}},{package:"@metamask/announcement-controller",file:"node_modules/@metamask/announcement-controller/dist/index.js"}],[1103,{"./chunk-UJFCPTF3.js":1105,"./chunk-Z4BLTVTB.js":1106},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n,s,i,o,a=e("./chunk-UJFCPTF3.js"),l=e("./chunk-Z4BLTVTB.js");n=new WeakMap,s=new WeakMap,i=new WeakMap,o=new WeakMap,r.ControllerMessenger=class{constructor(){l.__privateAdd.call(void 0,this,n,new Map),l.__privateAdd.call(void 0,this,s,new Map),l.__privateAdd.call(void 0,this,i,new Map),l.__privateAdd.call(void 0,this,o,new Map)}registerActionHandler(e,t){if(l.__privateGet.call(void 0,this,n).has(e))throw new Error(`A handler for ${e} has already been registered`);l.__privateGet.call(void 0,this,n).set(e,t)}unregisterActionHandler(e){l.__privateGet.call(void 0,this,n).delete(e)}clearActions(){l.__privateGet.call(void 0,this,n).clear()}call(e,...t){const r=l.__privateGet.call(void 0,this,n).get(e);if(!r)throw new Error(`A handler for ${e} has not been registered`);return r(...t)}registerInitialEventPayload({eventType:e,getPayload:t}){l.__privateGet.call(void 0,this,i).set(e,t)}publish(e,...t){const r=l.__privateGet.call(void 0,this,s).get(e);if(r)for(const[e,n]of r.entries())try{if(n){const r=l.__privateGet.call(void 0,this,o).get(e),s=n(...t);s!==r&&(l.__privateGet.call(void 0,this,o).set(e,s),e(s,r))}else e(...t)}catch(e){setTimeout((()=>{throw e}))}}subscribe(e,t,r){let n=l.__privateGet.call(void 0,this,s).get(e);if(n||(n=new Map,l.__privateGet.call(void 0,this,s).set(e,n)),n.set(t,r),r){const n=l.__privateGet.call(void 0,this,i).get(e);if(n){const e=r(...n());l.__privateGet.call(void 0,this,o).set(t,e)}}}unsubscribe(e,t){const r=l.__privateGet.call(void 0,this,s).get(e);if(!r||!r.has(t))throw new Error(`Subscription not found for event: ${e}`);r.get(t)&&l.__privateGet.call(void 0,this,o).delete(t),r.delete(t)}clearEventSubscriptions(e){l.__privateGet.call(void 0,this,s).delete(e)}clearSubscriptions(){l.__privateGet.call(void 0,this,s).clear()}getRestricted({name:e,allowedActions:t,allowedEvents:r}){return new(0,a.RestrictedControllerMessenger)({controllerMessenger:this,name:e,allowedActions:t,allowedEvents:r})}}}}},{package:"@metamask/announcement-controller>@metamask/base-controller",file:"node_modules/@metamask/announcement-controller/node_modules/@metamask/base-controller/dist/chunk-G42723LG.js"}],[1104,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n=class{constructor(e={},t={}){this.defaultConfig={},this.defaultState={},this.disabled=!1,this.name="BaseController",this.internalConfig=this.defaultConfig,this.internalState=this.defaultState,this.internalListeners=[],this.initialState=t,this.initialConfig=e}initialize(){return this.internalState=this.defaultState,this.internalConfig=this.defaultConfig,this.configure(this.initialConfig),this.update(this.initialState),this}get config(){return this.internalConfig}get state(){return this.internalState}configure(e,t=!1,r=!0){if(r){this.internalConfig=t?e:Object.assign(this.internalConfig,e);for(const e of Object.keys(this.internalConfig)){const t=this.internalConfig[e];void 0!==t&&(this[e]=t)}}else for(const t of Object.keys(e))if(void 0!==this.internalConfig[t]){const r=e[t];this.internalConfig[t]=r,this[t]=r}}notify(){this.disabled||this.internalListeners.forEach((e=>{e(this.internalState)}))}subscribe(e){this.internalListeners.push(e)}unsubscribe(e){const t=this.internalListeners.findIndex((t=>e===t));return t>-1&&this.internalListeners.splice(t,1),t>-1}update(e,t=!1){this.internalState=t?Object.assign({},e):Object.assign({},this.internalState,e),this.notify()}},s=n;r.BaseControllerV1=n,r.BaseControllerV1_default=s}}},{package:"@metamask/announcement-controller>@metamask/base-controller",file:"node_modules/@metamask/announcement-controller/node_modules/@metamask/base-controller/dist/chunk-NINOM2XQ.js"}],[1105,{"./chunk-Z4BLTVTB.js":1106},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n,s,i,o,a,l,c,d,u,h,p=e("./chunk-Z4BLTVTB.js");n=new WeakMap,s=new WeakMap,i=new WeakMap,o=new WeakMap,a=new WeakSet,l=function(e){const t=p.__privateGet.call(void 0,this,o);return p.__privateMethod.call(void 0,this,u,h).call(this,e)||null!==t&&t.includes(e)},c=new WeakSet,d=function(e){const t=p.__privateGet.call(void 0,this,i);return p.__privateMethod.call(void 0,this,u,h).call(this,e)||null!==t&&t.includes(e)},u=new WeakSet,h=function(e){return e.startsWith(`${p.__privateGet.call(void 0,this,s)}:`)},r.RestrictedControllerMessenger=class{constructor({controllerMessenger:e,name:t,allowedActions:r,allowedEvents:l}){p.__privateAdd.call(void 0,this,a),p.__privateAdd.call(void 0,this,c),p.__privateAdd.call(void 0,this,u),p.__privateAdd.call(void 0,this,n,void 0),p.__privateAdd.call(void 0,this,s,void 0),p.__privateAdd.call(void 0,this,i,void 0),p.__privateAdd.call(void 0,this,o,void 0),p.__privateSet.call(void 0,this,n,e),p.__privateSet.call(void 0,this,s,t),p.__privateSet.call(void 0,this,i,r),p.__privateSet.call(void 0,this,o,l)}registerActionHandler(e,t){if(!p.__privateMethod.call(void 0,this,u,h).call(this,e))throw new Error(`Only allowed registering action handlers prefixed by '${p.__privateGet.call(void 0,this,s)}:'`);p.__privateGet.call(void 0,this,n).registerActionHandler(e,t)}unregisterActionHandler(e){if(!p.__privateMethod.call(void 0,this,u,h).call(this,e))throw new Error(`Only allowed unregistering action handlers prefixed by '${p.__privateGet.call(void 0,this,s)}:'`);p.__privateGet.call(void 0,this,n).unregisterActionHandler(e)}call(e,...t){if(!p.__privateMethod.call(void 0,this,c,d).call(this,e))throw new Error(`Action missing from allow list: ${e}`);return p.__privateGet.call(void 0,this,n).call(e,...t)}registerInitialEventPayload({eventType:e,getPayload:t}){if(!p.__privateMethod.call(void 0,this,u,h).call(this,e))throw new Error(`Only allowed publishing events prefixed by '${p.__privateGet.call(void 0,this,s)}:'`);p.__privateGet.call(void 0,this,n).registerInitialEventPayload({eventType:e,getPayload:t})}publish(e,...t){if(!p.__privateMethod.call(void 0,this,u,h).call(this,e))throw new Error(`Only allowed publishing events prefixed by '${p.__privateGet.call(void 0,this,s)}:'`);p.__privateGet.call(void 0,this,n).publish(e,...t)}subscribe(e,t,r){if(!p.__privateMethod.call(void 0,this,a,l).call(this,e))throw new Error(`Event missing from allow list: ${e}`);return r?p.__privateGet.call(void 0,this,n).subscribe(e,t,r):p.__privateGet.call(void 0,this,n).subscribe(e,t)}unsubscribe(e,t){if(!p.__privateMethod.call(void 0,this,a,l).call(this,e))throw new Error(`Event missing from allow list: ${e}`);p.__privateGet.call(void 0,this,n).unsubscribe(e,t)}clearEventSubscriptions(e){if(!p.__privateMethod.call(void 0,this,u,h).call(this,e))throw new Error(`Only allowed clearing events prefixed by '${p.__privateGet.call(void 0,this,s)}:'`);p.__privateGet.call(void 0,this,n).clearEventSubscriptions(e)}}}}},{package:"@metamask/announcement-controller>@metamask/base-controller",file:"node_modules/@metamask/announcement-controller/node_modules/@metamask/base-controller/dist/chunk-UJFCPTF3.js"}],[1106,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)};r.__privateGet=(e,t,r)=>(n(e,t,"read from private field"),r?r.call(e):t.get(e)),r.__privateAdd=(e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)},r.__privateSet=(e,t,r,s)=>(n(e,t,"write to private field"),s?s.call(e,r):t.set(e,r),r),r.__privateMethod=(e,t,r)=>(n(e,t,"access private method"),r)}}},{package:"@metamask/announcement-controller>@metamask/base-controller",file:"node_modules/@metamask/announcement-controller/node_modules/@metamask/base-controller/dist/chunk-Z4BLTVTB.js"}],[1107,{"./chunk-Z4BLTVTB.js":1106,immer:3640},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n,s=e("./chunk-Z4BLTVTB.js"),i=e("immer");i.enablePatches.call(void 0);function o(e,t,r){return Object.keys(e).reduce(((n,s)=>{try{const i=t[s];if(!i)throw new Error(`No metadata found for '${String(s)}'`);const o=i[r],a=e[s];return"function"==typeof o?n[s]=o(a):o&&(n[s]=a),n}catch(e){return setTimeout((()=>{throw e})),n}}),{})}n=new WeakMap,r.BaseController=class{constructor({messenger:e,metadata:t,name:r,state:o}){s.__privateAdd.call(void 0,this,n,void 0),this.messagingSystem=e,this.name=r,s.__privateSet.call(void 0,this,n,i.freeze.call(void 0,o,!0)),this.metadata=t,this.messagingSystem.registerActionHandler(`${r}:getState`,(()=>this.state)),this.messagingSystem.registerInitialEventPayload({eventType:`${r}:stateChange`,getPayload:()=>[this.state,[]]})}get state(){return s.__privateGet.call(void 0,this,n)}set state(e){throw new Error("Controller state cannot be directly mutated; use 'update' method instead.")}update(e){const[t,r,o]=i.produceWithPatches.call(void 0,s.__privateGet.call(void 0,this,n),e);return s.__privateSet.call(void 0,this,n,t),this.messagingSystem.publish(`${this.name}:stateChange`,t,r),{nextState:t,patches:r,inversePatches:o}}applyPatches(e){const t=i.applyPatches.call(void 0,s.__privateGet.call(void 0,this,n),e);s.__privateSet.call(void 0,this,n,t),this.messagingSystem.publish(`${this.name}:stateChange`,t,e)}destroy(){this.messagingSystem.clearEventSubscriptions(`${this.name}:stateChange`)}},r.getAnonymizedState=function(e,t){return o(e,t,"anonymous")},r.getPersistentState=function(e,t){return o(e,t,"persist")}}}},{package:"@metamask/announcement-controller>@metamask/base-controller",file:"node_modules/@metamask/announcement-controller/node_modules/@metamask/base-controller/dist/chunk-ZNOPSWMU.js"}],[1108,{"./chunk-G42723LG.js":1103,"./chunk-NINOM2XQ.js":1104,"./chunk-UJFCPTF3.js":1105,"./chunk-Z4BLTVTB.js":1106,"./chunk-ZNOPSWMU.js":1107},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n=e("./chunk-NINOM2XQ.js"),s=e("./chunk-ZNOPSWMU.js"),i=e("./chunk-G42723LG.js"),o=e("./chunk-UJFCPTF3.js");e("./chunk-Z4BLTVTB.js"),r.BaseController=s.BaseController,r.BaseControllerV1=n.BaseControllerV1,r.ControllerMessenger=i.ControllerMessenger,r.RestrictedControllerMessenger=o.RestrictedControllerMessenger,r.getAnonymizedState=s.getAnonymizedState,r.getPersistentState=s.getPersistentState}}},{package:"@metamask/announcement-controller>@metamask/base-controller",file:"node_modules/@metamask/announcement-controller/node_modules/@metamask/base-controller/dist/index.js"}],[1109,{"./chunk-LKCXZAKD.js":1110,"@metamask/base-controller":1117,"@metamask/rpc-errors":1717,nanoid:1118},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n,s,i,o,a,l,c,d,u,h,p,m,f,g,v,w,y,k,b=e("./chunk-LKCXZAKD.js"),C=e("@metamask/base-controller"),_=e("@metamask/rpc-errors"),S=e("nanoid"),T="metamask",A="result_error",E="result_success",M="ApprovalController",P={pendingApprovals:{persist:!1,anonymous:!0},pendingApprovalCount:{persist:!1,anonymous:!1},approvalFlows:{persist:!1,anonymous:!1}},N=class extends C.BaseController{constructor({messenger:e,showApprovalRequest:t,state:r={},typesExcludedFromRateLimiting:l=[]}){super({name:M,metadata:P,messenger:e,state:{pendingApprovals:{},pendingApprovalCount:0,approvalFlows:[],...r}}),b.__privateAdd.call(void 0,this,a),b.__privateAdd.call(void 0,this,c),b.__privateAdd.call(void 0,this,u),b.__privateAdd.call(void 0,this,p),b.__privateAdd.call(void 0,this,f),b.__privateAdd.call(void 0,this,v),b.__privateAdd.call(void 0,this,y),b.__privateAdd.call(void 0,this,n,void 0),b.__privateAdd.call(void 0,this,s,void 0),b.__privateAdd.call(void 0,this,i,void 0),b.__privateAdd.call(void 0,this,o,void 0),b.__privateSet.call(void 0,this,n,new Map),b.__privateSet.call(void 0,this,s,new Map),b.__privateSet.call(void 0,this,i,t),b.__privateSet.call(void 0,this,o,l),this.registerMessageHandlers()}registerMessageHandlers(){this.messagingSystem.registerActionHandler(`${M}:clearRequests`,this.clear.bind(this)),this.messagingSystem.registerActionHandler(`${M}:addRequest`,((e,t)=>t?this.addAndShowApprovalRequest(e):this.add(e))),this.messagingSystem.registerActionHandler(`${M}:hasRequest`,this.has.bind(this)),this.messagingSystem.registerActionHandler(`${M}:acceptRequest`,this.accept.bind(this)),this.messagingSystem.registerActionHandler(`${M}:rejectRequest`,this.reject.bind(this)),this.messagingSystem.registerActionHandler(`${M}:updateRequestState`,this.updateRequestState.bind(this)),this.messagingSystem.registerActionHandler(`${M}:startFlow`,this.startFlow.bind(this)),this.messagingSystem.registerActionHandler(`${M}:endFlow`,this.endFlow.bind(this)),this.messagingSystem.registerActionHandler(`${M}:setFlowLoadingText`,this.setFlowLoadingText.bind(this)),this.messagingSystem.registerActionHandler(`${M}:showSuccess`,this.success.bind(this)),this.messagingSystem.registerActionHandler(`${M}:showError`,this.error.bind(this))}addAndShowApprovalRequest(e){const t=b.__privateMethod.call(void 0,this,a,l).call(this,e.origin,e.type,e.id,e.requestData,e.requestState,e.expectsResult);return b.__privateGet.call(void 0,this,i).call(this),t}add(e){return b.__privateMethod.call(void 0,this,a,l).call(this,e.origin,e.type,e.id,e.requestData,e.requestState,e.expectsResult)}get(e){return this.state.pendingApprovals[e]}getApprovalCount(e={}){if(!e.origin&&!e.type)throw new Error("Must specify origin, type, or both.");const{origin:t,type:r}=e;if(t&&r)return b.__privateGet.call(void 0,this,s).get(t)?.get(r)||0;if(t)return Array.from((b.__privateGet.call(void 0,this,s).get(t)||new Map).values()).reduce(((e,t)=>e+t),0);let n=0;for(const e of Object.values(this.state.pendingApprovals))e.type===r&&(n+=1);return n}getTotalApprovalCount(){return this.state.pendingApprovalCount}has(e={}){const{id:t,origin:r,type:i}=e;if(t){if("string"!=typeof t)throw new Error("May not specify non-string id.");return b.__privateGet.call(void 0,this,n).has(t)}if(i&&"string"!=typeof i)throw new Error("May not specify non-string type.");if(r){if("string"!=typeof r)throw new Error("May not specify non-string origin.");return i?Boolean(b.__privateGet.call(void 0,this,s).get(r)?.get(i)):b.__privateGet.call(void 0,this,s).has(r)}if(i){for(const e of Object.values(this.state.pendingApprovals))if(e.type===i)return!0;return!1}throw new Error("Must specify a valid combination of id, origin, and type.")}accept(e,t,r){const n=this.get(e),s=b.__privateMethod.call(void 0,this,v,w).call(this,e);return new Promise(((i,o)=>{const a={success:e=>i({value:e}),error:o};if(r?.waitForResult&&!n.expectsResult)return void o(new(0,b.ApprovalRequestNoResultSupportError)(e));const l=r?.waitForResult?a:void 0,c=n.expectsResult?{value:t,resultCallbacks:l}:t;s.resolve(c),r?.waitForResult||i({value:void 0})}))}reject(e,t){b.__privateMethod.call(void 0,this,v,w).call(this,e).reject(t)}clear(e){for(const t of b.__privateGet.call(void 0,this,n).keys())this.reject(t,e);b.__privateGet.call(void 0,this,s).clear(),this.update((e=>{e.pendingApprovals={},e.pendingApprovalCount=0}))}updateRequestState(e){if(!this.state.pendingApprovals[e.id])throw new(0,b.ApprovalRequestNotFoundError)(e.id);this.update((t=>{t.pendingApprovals[e.id].requestState=e.requestState}))}startFlow(e={}){const t=e.id??S.nanoid.call(void 0),r=e.loadingText??null;return this.update((e=>{e.approvalFlows.push({id:t,loadingText:r})})),!1!==e.show&&b.__privateGet.call(void 0,this,i).call(this),{id:t,loadingText:r}}endFlow({id:e}){if(!this.state.approvalFlows.length)throw new(0,b.NoApprovalFlowsError);if(e!==this.state.approvalFlows.slice(-1)[0].id)throw new(0,b.EndInvalidFlowError)(e,this.state.approvalFlows.map((e=>e.id)));this.update((e=>{e.approvalFlows.pop()}))}setFlowLoadingText({id:e,loadingText:t}){const r=this.state.approvalFlows.findIndex((t=>t.id===e));if(-1===r)throw new(0,b.MissingApprovalFlowError)(e);this.update((e=>{e.approvalFlows[r].loadingText=t}))}async success(e={}){return await b.__privateMethod.call(void 0,this,y,k).call(this,E,e,{message:e.message,header:e.header,title:e.title,icon:e.icon}),{}}async error(e={}){return await b.__privateMethod.call(void 0,this,y,k).call(this,A,e,{error:e.error,header:e.header,title:e.title,icon:e.icon}),{}}};n=new WeakMap,s=new WeakMap,i=new WeakMap,o=new WeakMap,a=new WeakSet,l=function(e,t,r=S.nanoid.call(void 0),s,i,a){if(b.__privateMethod.call(void 0,this,c,d).call(this,r,e,t,s,i),!b.__privateGet.call(void 0,this,o).includes(t)&&this.has({origin:e,type:t}))throw _.rpcErrors.resourceUnavailable(((e,t)=>`Request of type '${t}' already pending for origin ${e}. Please wait.`)(e,t));return new Promise(((o,l)=>{b.__privateGet.call(void 0,this,n).set(r,{resolve:o,reject:l}),b.__privateMethod.call(void 0,this,u,h).call(this,e,t),b.__privateMethod.call(void 0,this,p,m).call(this,r,e,t,s,i,a)}))},c=new WeakSet,d=function(e,t,r,s,i){let o=null;if(e&&"string"==typeof e?b.__privateGet.call(void 0,this,n).has(e)?o=`Approval request with id '${e}' already exists.`:t&&"string"==typeof t?r&&"string"==typeof r?s&&("object"!=typeof s||Array.isArray(s))?o="Request data must be a plain object if specified.":i&&("object"!=typeof i||Array.isArray(i))&&(o="Request state must be a plain object if specified."):o="Must specify non-empty string type.":o="Must specify non-empty string origin.":o="Must specify non-empty string id.",o)throw _.rpcErrors.internal(o)},u=new WeakSet,h=function(e,t){let r=b.__privateGet.call(void 0,this,s).get(e);r||(r=new Map,b.__privateGet.call(void 0,this,s).set(e,r));const n=r.get(t)||0;r.set(t,n+1)},p=new WeakSet,m=function(e,t,r,n,s,i){const o={id:e,origin:t,type:r,time:Date.now(),requestData:n||null,requestState:s||null,expectsResult:i||!1};this.update((t=>{t.pendingApprovals[e]=o,t.pendingApprovalCount=Object.keys(t.pendingApprovals).length}))},f=new WeakSet,g=function(e){b.__privateGet.call(void 0,this,n).delete(e);const{origin:t,type:r}=this.state.pendingApprovals[e],i=b.__privateGet.call(void 0,this,s).get(t),o=this.getApprovalCount({origin:t}),a=i.get(r);1===o?b.__privateGet.call(void 0,this,s).delete(t):i.set(r,a-1),this.update((t=>{delete t.pendingApprovals[e],t.pendingApprovalCount=Object.keys(t.pendingApprovals).length}))},v=new WeakSet,w=function(e){const t=b.__privateGet.call(void 0,this,n).get(e);if(!t)throw new(0,b.ApprovalRequestNotFoundError)(e);return b.__privateMethod.call(void 0,this,f,g).call(this,e),t},y=new WeakSet,k=async function(e,t,r){try{await this.addAndShowApprovalRequest({origin:T,type:e,requestData:r})}catch(e){console.info("Failed to display result page",e)}finally{if(t.flowToEnd)try{this.endFlow({id:t.flowToEnd})}catch(e){console.info("Failed to end flow",{id:t.flowToEnd,error:e})}}};var I=N;r.ORIGIN_METAMASK=T,r.APPROVAL_TYPE_RESULT_ERROR=A,r.APPROVAL_TYPE_RESULT_SUCCESS=E,r.ApprovalController=N,r.ApprovalController_default=I}}},{package:"@metamask/approval-controller",file:"node_modules/@metamask/approval-controller/dist/chunk-5K4GVAX5.js"}],[111,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.getSnapAndHardwareInfoForMetrics=async function(e,t,r){var n,s,i;if(!r)return{};const o=r.call("AccountsController:getSelectedAccount"),a=o.address,{keyring:l}=o.metadata;let c;var d;null!==(n=o.metadata.snap)&&void 0!==n&&n.id&&(c=r.call("SnapController:get",null===(d=o.metadata.snap)||void 0===d?void 0:d.id));return{account_type:await e(a),device_model:await t(a),account_hardware_type:await async function(){var e;return null!=l&&null!==(e=l.type)&&void 0!==e&&e.includes("Hardware")?l.type:undefined}(),account_snap_type:null===(s=c)||void 0===s?void 0:s.id,account_snap_version:null===(i=c)||void 0===i?void 0:i.version}}}}},{package:"$root$",file:"app/scripts/lib/snap-keyring/metrics.ts"}],[1110,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)},s=class extends Error{constructor(e){super(`Approval request with id '${e}' not found.`)}},i=class extends Error{constructor(e){super(`Approval acceptance requested result but request with id '${e}' does not support it.`)}},o=class extends Error{constructor(){super("No approval flows found.")}},a=class extends Error{constructor(e,t){super(`Attempted to end flow with id '${e}' which does not match current flow with id '${t.slice(-1)[0]}'. All Flows: ${t.join(", ")}`)}},l=class extends Error{constructor(e){super(`No approval flows found with id '${e}'.`)}};r.__privateGet=(e,t,r)=>(n(e,t,"read from private field"),r?r.call(e):t.get(e)),r.__privateAdd=(e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)},r.__privateSet=(e,t,r,s)=>(n(e,t,"write to private field"),s?s.call(e,r):t.set(e,r),r),r.__privateMethod=(e,t,r)=>(n(e,t,"access private method"),r),r.ApprovalRequestNotFoundError=s,r.ApprovalRequestNoResultSupportError=i,r.NoApprovalFlowsError=o,r.EndInvalidFlowError=a,r.MissingApprovalFlowError=l}}},{package:"@metamask/approval-controller",file:"node_modules/@metamask/approval-controller/dist/chunk-LKCXZAKD.js"}],[1111,{"./chunk-5K4GVAX5.js":1109,"./chunk-LKCXZAKD.js":1110},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n=e("./chunk-5K4GVAX5.js"),s=e("./chunk-LKCXZAKD.js");r.APPROVAL_TYPE_RESULT_ERROR=n.APPROVAL_TYPE_RESULT_ERROR,r.APPROVAL_TYPE_RESULT_SUCCESS=n.APPROVAL_TYPE_RESULT_SUCCESS,r.ApprovalController=n.ApprovalController,r.ApprovalRequestNoResultSupportError=s.ApprovalRequestNoResultSupportError,r.ApprovalRequestNotFoundError=s.ApprovalRequestNotFoundError,r.EndInvalidFlowError=s.EndInvalidFlowError,r.MissingApprovalFlowError=s.MissingApprovalFlowError,r.NoApprovalFlowsError=s.NoApprovalFlowsError,r.ORIGIN_METAMASK=n.ORIGIN_METAMASK}}},{package:"@metamask/approval-controller",file:"node_modules/@metamask/approval-controller/dist/index.js"}],[1112,{"./chunk-UJFCPTF3.js":1114,"./chunk-Z4BLTVTB.js":1115},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n,s,i,o,a=e("./chunk-UJFCPTF3.js"),l=e("./chunk-Z4BLTVTB.js");n=new WeakMap,s=new WeakMap,i=new WeakMap,o=new WeakMap,r.ControllerMessenger=class{constructor(){l.__privateAdd.call(void 0,this,n,new Map),l.__privateAdd.call(void 0,this,s,new Map),l.__privateAdd.call(void 0,this,i,new Map),l.__privateAdd.call(void 0,this,o,new Map)}registerActionHandler(e,t){if(l.__privateGet.call(void 0,this,n).has(e))throw new Error(`A handler for ${e} has already been registered`);l.__privateGet.call(void 0,this,n).set(e,t)}unregisterActionHandler(e){l.__privateGet.call(void 0,this,n).delete(e)}clearActions(){l.__privateGet.call(void 0,this,n).clear()}call(e,...t){const r=l.__privateGet.call(void 0,this,n).get(e);if(!r)throw new Error(`A handler for ${e} has not been registered`);return r(...t)}registerInitialEventPayload({eventType:e,getPayload:t}){l.__privateGet.call(void 0,this,i).set(e,t)}publish(e,...t){const r=l.__privateGet.call(void 0,this,s).get(e);if(r)for(const[e,n]of r.entries())try{if(n){const r=l.__privateGet.call(void 0,this,o).get(e),s=n(...t);s!==r&&(l.__privateGet.call(void 0,this,o).set(e,s),e(s,r))}else e(...t)}catch(e){setTimeout((()=>{throw e}))}}subscribe(e,t,r){let n=l.__privateGet.call(void 0,this,s).get(e);if(n||(n=new Map,l.__privateGet.call(void 0,this,s).set(e,n)),n.set(t,r),r){const n=l.__privateGet.call(void 0,this,i).get(e);if(n){const e=r(...n());l.__privateGet.call(void 0,this,o).set(t,e)}}}unsubscribe(e,t){const r=l.__privateGet.call(void 0,this,s).get(e);if(!r||!r.has(t))throw new Error(`Subscription not found for event: ${e}`);r.get(t)&&l.__privateGet.call(void 0,this,o).delete(t),r.delete(t)}clearEventSubscriptions(e){l.__privateGet.call(void 0,this,s).delete(e)}clearSubscriptions(){l.__privateGet.call(void 0,this,s).clear()}getRestricted({name:e,allowedActions:t,allowedEvents:r}){return new(0,a.RestrictedControllerMessenger)({controllerMessenger:this,name:e,allowedActions:t,allowedEvents:r})}}}}},{package:"@metamask/approval-controller>@metamask/base-controller",file:"node_modules/@metamask/approval-controller/node_modules/@metamask/base-controller/dist/chunk-G42723LG.js"}],[1113,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n=class{constructor(e={},t={}){this.defaultConfig={},this.defaultState={},this.disabled=!1,this.name="BaseController",this.internalConfig=this.defaultConfig,this.internalState=this.defaultState,this.internalListeners=[],this.initialState=t,this.initialConfig=e}initialize(){return this.internalState=this.defaultState,this.internalConfig=this.defaultConfig,this.configure(this.initialConfig),this.update(this.initialState),this}get config(){return this.internalConfig}get state(){return this.internalState}configure(e,t=!1,r=!0){if(r){this.internalConfig=t?e:Object.assign(this.internalConfig,e);for(const e of Object.keys(this.internalConfig)){const t=this.internalConfig[e];void 0!==t&&(this[e]=t)}}else for(const t of Object.keys(e))if(void 0!==this.internalConfig[t]){const r=e[t];this.internalConfig[t]=r,this[t]=r}}notify(){this.disabled||this.internalListeners.forEach((e=>{e(this.internalState)}))}subscribe(e){this.internalListeners.push(e)}unsubscribe(e){const t=this.internalListeners.findIndex((t=>e===t));return t>-1&&this.internalListeners.splice(t,1),t>-1}update(e,t=!1){this.internalState=t?Object.assign({},e):Object.assign({},this.internalState,e),this.notify()}},s=n;r.BaseControllerV1=n,r.BaseControllerV1_default=s}}},{package:"@metamask/approval-controller>@metamask/base-controller",file:"node_modules/@metamask/approval-controller/node_modules/@metamask/base-controller/dist/chunk-NINOM2XQ.js"}],[1114,{"./chunk-Z4BLTVTB.js":1115},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n,s,i,o,a,l,c,d,u,h,p=e("./chunk-Z4BLTVTB.js");n=new WeakMap,s=new WeakMap,i=new WeakMap,o=new WeakMap,a=new WeakSet,l=function(e){const t=p.__privateGet.call(void 0,this,o);return p.__privateMethod.call(void 0,this,u,h).call(this,e)||null!==t&&t.includes(e)},c=new WeakSet,d=function(e){const t=p.__privateGet.call(void 0,this,i);return p.__privateMethod.call(void 0,this,u,h).call(this,e)||null!==t&&t.includes(e)},u=new WeakSet,h=function(e){return e.startsWith(`${p.__privateGet.call(void 0,this,s)}:`)},r.RestrictedControllerMessenger=class{constructor({controllerMessenger:e,name:t,allowedActions:r,allowedEvents:l}){p.__privateAdd.call(void 0,this,a),p.__privateAdd.call(void 0,this,c),p.__privateAdd.call(void 0,this,u),p.__privateAdd.call(void 0,this,n,void 0),p.__privateAdd.call(void 0,this,s,void 0),p.__privateAdd.call(void 0,this,i,void 0),p.__privateAdd.call(void 0,this,o,void 0),p.__privateSet.call(void 0,this,n,e),p.__privateSet.call(void 0,this,s,t),p.__privateSet.call(void 0,this,i,r),p.__privateSet.call(void 0,this,o,l)}registerActionHandler(e,t){if(!p.__privateMethod.call(void 0,this,u,h).call(this,e))throw new Error(`Only allowed registering action handlers prefixed by '${p.__privateGet.call(void 0,this,s)}:'`);p.__privateGet.call(void 0,this,n).registerActionHandler(e,t)}unregisterActionHandler(e){if(!p.__privateMethod.call(void 0,this,u,h).call(this,e))throw new Error(`Only allowed unregistering action handlers prefixed by '${p.__privateGet.call(void 0,this,s)}:'`);p.__privateGet.call(void 0,this,n).unregisterActionHandler(e)}call(e,...t){if(!p.__privateMethod.call(void 0,this,c,d).call(this,e))throw new Error(`Action missing from allow list: ${e}`);return p.__privateGet.call(void 0,this,n).call(e,...t)}registerInitialEventPayload({eventType:e,getPayload:t}){if(!p.__privateMethod.call(void 0,this,u,h).call(this,e))throw new Error(`Only allowed publishing events prefixed by '${p.__privateGet.call(void 0,this,s)}:'`);p.__privateGet.call(void 0,this,n).registerInitialEventPayload({eventType:e,getPayload:t})}publish(e,...t){if(!p.__privateMethod.call(void 0,this,u,h).call(this,e))throw new Error(`Only allowed publishing events prefixed by '${p.__privateGet.call(void 0,this,s)}:'`);p.__privateGet.call(void 0,this,n).publish(e,...t)}subscribe(e,t,r){if(!p.__privateMethod.call(void 0,this,a,l).call(this,e))throw new Error(`Event missing from allow list: ${e}`);return r?p.__privateGet.call(void 0,this,n).subscribe(e,t,r):p.__privateGet.call(void 0,this,n).subscribe(e,t)}unsubscribe(e,t){if(!p.__privateMethod.call(void 0,this,a,l).call(this,e))throw new Error(`Event missing from allow list: ${e}`);p.__privateGet.call(void 0,this,n).unsubscribe(e,t)}clearEventSubscriptions(e){if(!p.__privateMethod.call(void 0,this,u,h).call(this,e))throw new Error(`Only allowed clearing events prefixed by '${p.__privateGet.call(void 0,this,s)}:'`);p.__privateGet.call(void 0,this,n).clearEventSubscriptions(e)}}}}},{package:"@metamask/approval-controller>@metamask/base-controller",file:"node_modules/@metamask/approval-controller/node_modules/@metamask/base-controller/dist/chunk-UJFCPTF3.js"}],[1115,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)};r.__privateGet=(e,t,r)=>(n(e,t,"read from private field"),r?r.call(e):t.get(e)),r.__privateAdd=(e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)},r.__privateSet=(e,t,r,s)=>(n(e,t,"write to private field"),s?s.call(e,r):t.set(e,r),r),r.__privateMethod=(e,t,r)=>(n(e,t,"access private method"),r)}}},{package:"@metamask/approval-controller>@metamask/base-controller",file:"node_modules/@metamask/approval-controller/node_modules/@metamask/base-controller/dist/chunk-Z4BLTVTB.js"}],[1116,{"./chunk-Z4BLTVTB.js":1115,immer:3640},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n,s=e("./chunk-Z4BLTVTB.js"),i=e("immer");i.enablePatches.call(void 0);function o(e,t,r){return Object.keys(e).reduce(((n,s)=>{try{const i=t[s];if(!i)throw new Error(`No metadata found for '${String(s)}'`);const o=i[r],a=e[s];return"function"==typeof o?n[s]=o(a):o&&(n[s]=a),n}catch(e){return setTimeout((()=>{throw e})),n}}),{})}n=new WeakMap,r.BaseController=class{constructor({messenger:e,metadata:t,name:r,state:o}){s.__privateAdd.call(void 0,this,n,void 0),this.messagingSystem=e,this.name=r,s.__privateSet.call(void 0,this,n,i.freeze.call(void 0,o,!0)),this.metadata=t,this.messagingSystem.registerActionHandler(`${r}:getState`,(()=>this.state)),this.messagingSystem.registerInitialEventPayload({eventType:`${r}:stateChange`,getPayload:()=>[this.state,[]]})}get state(){return s.__privateGet.call(void 0,this,n)}set state(e){throw new Error("Controller state cannot be directly mutated; use 'update' method instead.")}update(e){const[t,r,o]=i.produceWithPatches.call(void 0,s.__privateGet.call(void 0,this,n),e);return s.__privateSet.call(void 0,this,n,t),this.messagingSystem.publish(`${this.name}:stateChange`,t,r),{nextState:t,patches:r,inversePatches:o}}applyPatches(e){const t=i.applyPatches.call(void 0,s.__privateGet.call(void 0,this,n),e);s.__privateSet.call(void 0,this,n,t),this.messagingSystem.publish(`${this.name}:stateChange`,t,e)}destroy(){this.messagingSystem.clearEventSubscriptions(`${this.name}:stateChange`)}},r.getAnonymizedState=function(e,t){return o(e,t,"anonymous")},r.getPersistentState=function(e,t){return o(e,t,"persist")}}}},{package:"@metamask/approval-controller>@metamask/base-controller",file:"node_modules/@metamask/approval-controller/node_modules/@metamask/base-controller/dist/chunk-ZNOPSWMU.js"}],[1117,{"./chunk-G42723LG.js":1112,"./chunk-NINOM2XQ.js":1113,"./chunk-UJFCPTF3.js":1114,"./chunk-Z4BLTVTB.js":1115,"./chunk-ZNOPSWMU.js":1116},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n=e("./chunk-NINOM2XQ.js"),s=e("./chunk-ZNOPSWMU.js"),i=e("./chunk-G42723LG.js"),o=e("./chunk-UJFCPTF3.js");e("./chunk-Z4BLTVTB.js"),r.BaseController=s.BaseController,r.BaseControllerV1=n.BaseControllerV1,r.ControllerMessenger=i.ControllerMessenger,r.RestrictedControllerMessenger=o.RestrictedControllerMessenger,r.getAnonymizedState=s.getAnonymizedState,r.getPersistentState=s.getPersistentState}}},{package:"@metamask/approval-controller>@metamask/base-controller",file:"node_modules/@metamask/approval-controller/node_modules/@metamask/base-controller/dist/index.js"}],[1118,{"./url-alphabet/index.cjs":1119},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){let{urlAlphabet:n}=e("./url-alphabet/index.cjs"),s=e=>crypto.getRandomValues(new Uint8Array(e)),i=(e,t,r)=>{let n=(2<{let o="";for(;;){let t=r(s),a=s;for(;a--;)if(o+=e[t[a]&n]||"",o.length===i)return o}}};t.exports={nanoid:(e=21)=>crypto.getRandomValues(new Uint8Array(e)).reduce(((e,t)=>e+=(t&=63)<36?t.toString(36):t<62?(t-26).toString(36).toUpperCase():t>62?"-":"_"),""),customAlphabet:(e,t=21)=>i(e,t,s),customRandom:i,urlAlphabet:n,random:s}}}},{package:"@metamask/approval-controller>nanoid",file:"node_modules/@metamask/approval-controller/node_modules/nanoid/index.browser.cjs"}],[1119,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports={urlAlphabet:"useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"}}}},{package:"@metamask/approval-controller>nanoid",file:"node_modules/@metamask/approval-controller/node_modules/nanoid/url-alphabet/index.cjs"}],[112,{"../../../../shared/constants/app":4493,"../../../../shared/constants/metametrics":4505,"../../../../ui/components/component-library/icon":4954,"../../translate":255,"./utils/isBlockedUrl":113,"./utils/showResult":114,"@metamask/eth-snap-keyring":1329,"webextension-polyfill":4472},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.snapKeyringBuilder=r.getAccountsBySnapId=void 0;var n,s=e("@metamask/eth-snap-keyring"),i=(n=e("webextension-polyfill"))&&n.__esModule?n:{default:n},o=e("../../../../shared/constants/metametrics"),a=e("../../../../shared/constants/app"),l=e("../../translate"),c=e("../../../../ui/components/component-library/icon"),d=e("./utils/isBlockedUrl"),u=e("./utils/showResult");r.getAccountsBySnapId=async(e,t)=>{const r=await e.getSnapKeyring();return await r.getAccountsBySnapId(t)};r.snapKeyringBuilder=(e,t,r,n,h,p,m,f)=>{const g=()=>new s.SnapKeyring(t(),{addressExists:async t=>(await e.call("KeyringController:getAccounts")).includes(t.toLowerCase()),redirectUser:async(t,r,n)=>{if(r.length>0||n.length>0){const s=await(0,d.isBlockedUrl)(r,(async()=>await e.call("PhishingController:maybeUpdateState")),(t=>e.call("PhishingController:testOrigin",t))),o=await e.call("ApprovalController:addRequest",{origin:t,requestData:{url:r,message:n,isBlockedUrl:s},type:a.SNAP_MANAGE_ACCOUNTS_CONFIRMATION_TYPES.showSnapAccountRedirect},!0);Boolean(o)&&r.length>0?i.default.tabs.create({url:r}):console.log("User refused snap account redirection to:",r)}else console.log("Error occurred when redirecting snap account. url or message must be defined")},saveState:async()=>{await r()},addAccount:async(t,s,i,d,h=!1)=>{const g=m(s),v=e=>{p({event:e,category:o.MetaMetricsEventCategory.Accounts,properties:{account_type:o.MetaMetricsEventAccountType.Snap,snap_id:s,snap_name:g}})},w="https://support.metamask.io/hc/en-us/articles/360015289452-How-to-add-accounts-in-your-wallet",y=f(s)&&!h;let k=y,b="";try{if(!y){const{id:t}=e.call("ApprovalController:startFlow");b=t,k=Boolean(await e.call("ApprovalController:addRequest",{origin:s,type:a.SNAP_MANAGE_ACCOUNTS_CONFIRMATION_TYPES.confirmAccountCreation},!0))}if(!k)throw await i(k),new Error("User denied account creation");try{await i(k),await r(),n(t);const a=e.call("AccountsController:getAccountByAddress",t);if(!a)throw new Error(`Internal account not found for address: ${t}`);e.call("AccountsController:setSelectedAccount",a.id),v(o.MetaMetricsEventName.AddSnapAccountSuccessViewed),y||await(0,u.showSuccess)(e,s,{icon:c.IconName.UserCircleAdd,title:(0,l.t)("snapAccountCreated")},{message:(0,l.t)("snapAccountCreatedDescription"),address:t,learnMoreLink:w}),v(o.MetaMetricsEventName.AddSnapAccountSuccessClicked)}catch(t){const r=t.message;throw await(0,u.showError)(e,s,{icon:c.IconName.UserCircleAdd,title:(0,l.t)("snapAccountCreationFailed")},{message:(0,l.t)("snapAccountCreationFailedDescription",g),learnMoreLink:w,error:r}),v(o.MetaMetricsEventName.AccountAddFailed),new Error(`Error occurred while creating snap account: ${r}`)}}finally{k&&v(o.MetaMetricsEventName.AccountAdded),y||e.call("ApprovalController:endFlow",{id:b})}},removeAccount:async(t,n,s)=>{const i=m(n),{id:d}=e.call("ApprovalController:startFlow"),f="https://support.metamask.io/hc/en-us/articles/360057435092-How-to-remove-an-account-from-your-MetaMask-wallet",g=e=>{p({event:e,category:o.MetaMetricsEventCategory.Accounts,properties:{account_type:o.MetaMetricsEventAccountType.Snap,snap_id:n,snap_name:i}})};let v=!1;try{if(v=Boolean(await e.call("ApprovalController:addRequest",{origin:n,type:a.SNAP_MANAGE_ACCOUNTS_CONFIRMATION_TYPES.confirmAccountRemoval,requestData:{publicAddress:t}},!0)),!v)throw await s(v),new Error("User denied account removal");try{await h(t),await s(v),await r(),g(o.MetaMetricsEventName.RemoveSnapAccountSuccessViewed),await(0,u.showError)(e,n,{icon:c.IconName.UserCircleRemove,title:(0,l.t)("snapAccountRemoved")},{message:(0,l.t)("snapAccountRemovedDescription"),learnMoreLink:f}),g(o.MetaMetricsEventName.RemoveSnapAccountSuccessClicked)}catch(t){const r=t.message;throw await(0,u.showError)(e,n,{icon:c.IconName.UserCircleRemove,title:(0,l.t)("snapAccountRemovalFailed")},{message:(0,l.t)("snapAccountRemovalFailedDescription",i),learnMoreLink:f,error:r}),g(o.MetaMetricsEventName.AccountRemoveFailed),new Error(`Error occurred while removing snap account: ${r}`)}}finally{v&&g(o.MetaMetricsEventName.AccountRemoved),e.call("ApprovalController:endFlow",{id:d})}}});return g.type=s.SnapKeyring.type,g}}}},{package:"$root$",file:"app/scripts/lib/snap-keyring/snap-keyring.ts"}],[113,{"../../keyring-snaps-permissions":77},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.isBlockedUrl=void 0;var n=e("../../keyring-snaps-permissions");r.isBlockedUrl=async(e,t,r)=>{try{return!(0,n.isProtocolAllowed)(e)||(await t(),r(e).result)}catch(e){return console.error("Invalid URL passed into snap-keyring:",e),!1}}}}},{package:"$root$",file:"app/scripts/lib/snap-keyring/utils/isBlockedUrl.ts"}],[114,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.showSuccess=r.showError=void 0;const n=e=>({name:"SnapAuthorshipHeader",key:"snapHeader",properties:{snapId:e}});r.showError=(e,t,r,s)=>e.call("ApprovalController:showError",{header:[n(t)],title:r.title,icon:r.icon,error:{key:"snapAccountErrorMessage",name:"SnapAccountErrorMessage",properties:s}});r.showSuccess=(e,t,r,s)=>e.call("ApprovalController:showSuccess",{header:[n(t)],title:r.title,icon:r.icon,message:{key:"snapAccountSuccessMessage",name:"SnapAccountSuccessMessage",properties:s}})}}},{package:"$root$",file:"app/scripts/lib/snap-keyring/utils/showResult.ts"}],[1150,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.BaseControllerV1=void 0;class n{constructor(e={},t={}){this.defaultConfig={},this.defaultState={},this.disabled=!1,this.name="BaseController",this.internalConfig=this.defaultConfig,this.internalState=this.defaultState,this.internalListeners=[],this.initialState=t,this.initialConfig=e}initialize(){return this.internalState=this.defaultState,this.internalConfig=this.defaultConfig,this.configure(this.initialConfig),this.update(this.initialState),this}get config(){return this.internalConfig}get state(){return this.internalState}configure(e,t=!1,r=!0){if(r){this.internalConfig=t?e:Object.assign(this.internalConfig,e);for(const[e,t]of Object.entries(this.internalConfig))t!==undefined&&(this[e]=t)}else for(const t of Object.keys(e))void 0!==this.internalConfig[t]&&(this.internalConfig[t]=e[t],this[t]=e[t])}notify(){this.disabled||this.internalListeners.forEach((e=>{e(this.internalState)}))}subscribe(e){this.internalListeners.push(e)}unsubscribe(e){const t=this.internalListeners.findIndex((t=>e===t));return t>-1&&this.internalListeners.splice(t,1),t>-1}update(e,t=!1){this.internalState=t?Object.assign({},e):Object.assign({},this.internalState,e),this.notify()}}r.BaseControllerV1=n,r.default=n}}},{package:"@metamask/base-controller",file:"node_modules/@metamask/base-controller/dist/BaseControllerV1.js"}],[1151,{immer:3640},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,s=this&&this.__classPrivateFieldSet||function(e,t,r,n,s){if("m"===n)throw new TypeError("Private method is not writable");if("a"===n&&!s)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!s:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?s.call(e,r):s?s.value=r:t.set(e,r),r},i=this&&this.__classPrivateFieldGet||function(e,t,r,n){if("a"===r&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)};Object.defineProperty(r,"__esModule",{value:!0}),r.getPersistentState=r.getAnonymizedState=r.BaseController=void 0;const o=e("immer");(0,o.enablePatches)();function a(e,t,r){return Object.keys(e).reduce(((n,s)=>{try{const i=t[s];if(!i)throw new Error(`No metadata found for '${String(s)}'`);const o=i[r],a=e[s];return"function"==typeof o?n[s]=o(a):o&&(n[s]=a),n}catch(e){return setTimeout((()=>{throw e})),n}}),{})}r.BaseController=class{constructor({messenger:e,metadata:t,name:r,state:i}){n.set(this,void 0),this.messagingSystem=e,this.name=r,s(this,n,i,"f"),this.metadata=t,this.messagingSystem.registerActionHandler(`${r}:getState`,(()=>this.state)),this.messagingSystem.registerInitialEventPayload({eventType:`${r}:stateChange`,getPayload:()=>[this.state,[]]})}get state(){return i(this,n,"f")}set state(e){throw new Error("Controller state cannot be directly mutated; use 'update' method instead.")}update(e){const[t,r,a]=o.produceWithPatches(i(this,n,"f"),e);return s(this,n,t,"f"),this.messagingSystem.publish(`${this.name}:stateChange`,t,r),{nextState:t,patches:r,inversePatches:a}}applyPatches(e){const t=(0,o.applyPatches)(i(this,n,"f"),e);s(this,n,t,"f"),this.messagingSystem.publish(`${this.name}:stateChange`,t,e)}destroy(){this.messagingSystem.clearEventSubscriptions(`${this.name}:stateChange`)}},n=new WeakMap,r.getAnonymizedState=function(e,t){return a(e,t,"anonymous")},r.getPersistentState=function(e,t){return a(e,t,"persist")}}}},{package:"@metamask/base-controller",file:"node_modules/@metamask/base-controller/dist/BaseControllerV2.js"}],[1152,{"./RestrictedControllerMessenger":1153},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,s,i,o,a=this&&this.__classPrivateFieldGet||function(e,t,r,n){if("a"===r&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)};Object.defineProperty(r,"__esModule",{value:!0}),r.ControllerMessenger=void 0;const l=e("./RestrictedControllerMessenger");r.ControllerMessenger=class{constructor(){n.set(this,new Map),s.set(this,new Map),i.set(this,new Map),o.set(this,new Map)}registerActionHandler(e,t){if(a(this,n,"f").has(e))throw new Error(`A handler for ${e} has already been registered`);a(this,n,"f").set(e,t)}unregisterActionHandler(e){a(this,n,"f").delete(e)}clearActions(){a(this,n,"f").clear()}call(e,...t){const r=a(this,n,"f").get(e);if(!r)throw new Error(`A handler for ${e} has not been registered`);return r(...t)}registerInitialEventPayload({eventType:e,getPayload:t}){a(this,i,"f").set(e,t)}publish(e,...t){const r=a(this,s,"f").get(e);if(r)for(const[e,n]of r.entries())try{if(n){const r=a(this,o,"f").get(e),s=n(...t);s!==r&&(a(this,o,"f").set(e,s),e(s,r))}else e(...t)}catch(e){setTimeout((()=>{throw e}))}}subscribe(e,t,r){let n=a(this,s,"f").get(e);if(n||(n=new Map,a(this,s,"f").set(e,n)),n.set(t,r),r){const n=a(this,i,"f").get(e);if(n){const e=r(...n());a(this,o,"f").set(t,e)}}}unsubscribe(e,t){const r=a(this,s,"f").get(e);if(!r||!r.has(t))throw new Error(`Subscription not found for event: ${e}`);r.get(t)&&a(this,o,"f").delete(t),r.delete(t)}clearEventSubscriptions(e){a(this,s,"f").delete(e)}clearSubscriptions(){a(this,s,"f").clear()}getRestricted({name:e,allowedActions:t,allowedEvents:r}){return new l.RestrictedControllerMessenger({controllerMessenger:this,name:e,allowedActions:t,allowedEvents:r})}},n=new WeakMap,s=new WeakMap,i=new WeakMap,o=new WeakMap}}},{package:"@metamask/base-controller",file:"node_modules/@metamask/base-controller/dist/ControllerMessenger.js"}],[1153,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,s,i,o,a,l,c,d,u=this&&this.__classPrivateFieldSet||function(e,t,r,n,s){if("m"===n)throw new TypeError("Private method is not writable");if("a"===n&&!s)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!s:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?s.call(e,r):s?s.value=r:t.set(e,r),r},h=this&&this.__classPrivateFieldGet||function(e,t,r,n){if("a"===r&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)};Object.defineProperty(r,"__esModule",{value:!0}),r.RestrictedControllerMessenger=void 0;r.RestrictedControllerMessenger=class{constructor({controllerMessenger:e,name:t,allowedActions:r,allowedEvents:l}){n.add(this),s.set(this,void 0),i.set(this,void 0),o.set(this,void 0),a.set(this,void 0),u(this,s,e,"f"),u(this,i,t,"f"),u(this,o,null!=r?r:null,"f"),u(this,a,null!=l?l:null,"f")}registerActionHandler(e,t){if(!h(this,n,"m",d).call(this,e))throw new Error(`Only allowed registering action handlers prefixed by '${h(this,i,"f")}:'`);h(this,s,"f").registerActionHandler(e,t)}unregisterActionHandler(e){if(!h(this,n,"m",d).call(this,e))throw new Error(`Only allowed unregistering action handlers prefixed by '${h(this,i,"f")}:'`);h(this,s,"f").unregisterActionHandler(e)}call(e,...t){if(!h(this,n,"m",c).call(this,e))throw new Error(`Action missing from allow list: ${e}`);return h(this,s,"f").call(e,...t)}registerInitialEventPayload({eventType:e,getPayload:t}){if(!h(this,n,"m",d).call(this,e))throw new Error(`Only allowed publishing events prefixed by '${h(this,i,"f")}:'`);h(this,s,"f").registerInitialEventPayload({eventType:e,getPayload:t})}publish(e,...t){if(!h(this,n,"m",d).call(this,e))throw new Error(`Only allowed publishing events prefixed by '${h(this,i,"f")}:'`);h(this,s,"f").publish(e,...t)}subscribe(e,t,r){if(!h(this,n,"m",l).call(this,e))throw new Error(`Event missing from allow list: ${e}`);return r?h(this,s,"f").subscribe(e,t,r):h(this,s,"f").subscribe(e,t)}unsubscribe(e,t){if(!h(this,n,"m",l).call(this,e))throw new Error(`Event missing from allow list: ${e}`);h(this,s,"f").unsubscribe(e,t)}clearEventSubscriptions(e){if(!h(this,n,"m",d).call(this,e))throw new Error(`Only allowed clearing events prefixed by '${h(this,i,"f")}:'`);h(this,s,"f").clearEventSubscriptions(e)}},s=new WeakMap,i=new WeakMap,o=new WeakMap,a=new WeakMap,n=new WeakSet,l=function(e){const t=h(this,a,"f");return h(this,n,"m",d).call(this,e)||null!==t&&t.includes(e)},c=function(e){const t=h(this,o,"f");return h(this,n,"m",d).call(this,e)||null!==t&&t.includes(e)},d=function(e){return e.startsWith(`${h(this,i,"f")}:`)}}}},{package:"@metamask/base-controller",file:"node_modules/@metamask/base-controller/dist/RestrictedControllerMessenger.js"}],[1154,{"./BaseControllerV1":1150,"./BaseControllerV2":1151,"./ControllerMessenger":1152,"./RestrictedControllerMessenger":1153},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){n===undefined&&(n=r);var s=Object.getOwnPropertyDescriptor(t,r);s&&!("get"in s?!t.__esModule:s.writable||s.configurable)||(s={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,s)}:function(e,t,r,n){n===undefined&&(n=r),e[n]=t[r]}),s=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(r,"__esModule",{value:!0}),r.getPersistentState=r.getAnonymizedState=r.BaseController=r.BaseControllerV1=void 0;var i=e("./BaseControllerV1");Object.defineProperty(r,"BaseControllerV1",{enumerable:!0,get:function(){return i.BaseControllerV1}});var o=e("./BaseControllerV2");Object.defineProperty(r,"BaseController",{enumerable:!0,get:function(){return o.BaseController}}),Object.defineProperty(r,"getAnonymizedState",{enumerable:!0,get:function(){return o.getAnonymizedState}}),Object.defineProperty(r,"getPersistentState",{enumerable:!0,get:function(){return o.getPersistentState}}),s(e("./ControllerMessenger"),r),s(e("./RestrictedControllerMessenger"),r)}}},{package:"@metamask/base-controller",file:"node_modules/@metamask/base-controller/dist/index.js"}],[116,{"../../../../shared/constants/app":4493,"../../../../shared/constants/gas":4500,"../../../../shared/constants/metametrics":4505,"../../../../shared/constants/transaction":4520,"../../../../shared/lib/transactions-controller-utils":4531,"../../../../shared/modules/conversion.utils":4537,"../../../../shared/modules/metametrics":4546,"../../../../shared/modules/transaction.utils":4560,"../../../../ui/helpers/utils/metrics":5389,"../snap-keyring/metrics":111,"@metamask/eth-query":1316,"@metamask/transaction-controller":2234,"bignumber.js":2933,"ethereumjs-util":3288},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.handleTransactionSubmitted=r.handleTransactionRejected=r.handleTransactionFailed=r.handleTransactionDropped=r.handleTransactionConfirmed=r.handleTransactionApproved=r.handleTransactionAdded=r.handlePostTransactionBalanceUpdate=r.createTransactionEventFragmentWithTxId=r.METRICS_STATUS_FAILED=void 0;var n,s=e("ethereumjs-util"),i=(n=e("@metamask/eth-query"))&&n.__esModule?n:{default:n},o=e("bignumber.js"),a=e("@metamask/transaction-controller"),l=e("../../../../shared/constants/app"),c=e("../../../../shared/modules/transaction.utils"),d=e("../../../../shared/modules/conversion.utils"),u=e("../../../../shared/constants/transaction"),h=e("../../../../shared/constants/metametrics"),p=e("../../../../shared/constants/gas"),m=e("../../../../shared/lib/transactions-controller-utils"),f=e("../../../../ui/helpers/utils/metrics"),g=e("../../../../shared/modules/metametrics"),v=e("../snap-keyring/metrics");const w=r.METRICS_STATUS_FAILED="failed on-chain";r.handleTransactionAdded=async(e,t)=>{if(!t.transactionMeta)return;const{properties:r,sensitiveProperties:n}=await C({transactionEventPayload:t,transactionMetricsRequest:e});y({eventName:u.TransactionMetaMetricsEvent.added,transactionEventPayload:t,transactionMetricsRequest:e,payload:{properties:r,sensitiveProperties:n}})};r.handleTransactionApproved=async(e,t)=>{t.transactionMeta&&await k({eventName:u.TransactionMetaMetricsEvent.approved,transactionEventPayload:t,transactionMetricsRequest:e})};r.handleTransactionFailed=async(e,t)=>{if(!t.transactionMeta)return;const r={};t.error&&(r.error=t.error),await k({eventName:u.TransactionMetaMetricsEvent.finalized,extraParams:r,transactionEventPayload:t,transactionMetricsRequest:e})};r.handleTransactionConfirmed=async(e,t)=>{if(0===Object.keys(t).length)return;const r={},n={...t},{txReceipt:s}=n;r.gas_used=null==s?void 0:s.gasUsed;const{submittedTime:i}=n;i&&(r.completion_time=function(e){return Math.round((Date.now()-e)/1e3).toString()}(i)),"0x0"===(null==s?void 0:s.status)&&(r.status=w),await k({eventName:u.TransactionMetaMetricsEvent.finalized,extraParams:r,transactionEventPayload:{actionId:n.actionId,transactionMeta:n},transactionMetricsRequest:e})};r.handleTransactionDropped=async(e,t)=>{if(!t.transactionMeta)return;await k({eventName:u.TransactionMetaMetricsEvent.finalized,extraParams:{dropped:!0},transactionEventPayload:t,transactionMetricsRequest:e})};r.handleTransactionRejected=async(e,t)=>{t.transactionMeta&&await k({eventName:u.TransactionMetaMetricsEvent.rejected,transactionEventPayload:t,transactionMetricsRequest:e})};r.handleTransactionSubmitted=async(e,t)=>{if(!t.transactionMeta)return;const{properties:r,sensitiveProperties:n}=await C({transactionEventPayload:t,transactionMetricsRequest:e});y({eventName:u.TransactionMetaMetricsEvent.submitted,transactionEventPayload:t,transactionMetricsRequest:e,payload:{properties:r,sensitiveProperties:n}})};r.createTransactionEventFragmentWithTxId=async(e,{transactionId:t,actionId:r})=>{const n={...e.getTransaction(t),actionId:r},{properties:s,sensitiveProperties:i}=await C({transactionEventPayload:{transactionMeta:n},transactionMetricsRequest:e});y({eventName:u.TransactionMetaMetricsEvent.approved,transactionEventPayload:{actionId:n.actionId,transactionMeta:n},transactionMetricsRequest:e,payload:{properties:s,sensitiveProperties:i}})};function y({eventName:e,transactionEventPayload:{transactionMeta:t,actionId:r},transactionMetricsRequest:n,payload:s}){if(function(e,t,r){const n=b(t,r.id);return void 0!==e(n)}(n.getEventFragmentById,e,t))return;const i=b(e,t.id);switch(e){case u.TransactionMetaMetricsEvent.added:n.createEventFragment({category:h.MetaMetricsEventCategory.Transactions,initialEvent:u.TransactionMetaMetricsEvent.added,successEvent:u.TransactionMetaMetricsEvent.approved,failureEvent:u.TransactionMetaMetricsEvent.rejected,properties:s.properties,sensitiveProperties:s.sensitiveProperties,actionId:r,uniqueIdentifier:i,persist:!0});break;case u.TransactionMetaMetricsEvent.approved:case u.TransactionMetaMetricsEvent.rejected:n.createEventFragment({category:h.MetaMetricsEventCategory.Transactions,successEvent:u.TransactionMetaMetricsEvent.approved,failureEvent:u.TransactionMetaMetricsEvent.rejected,properties:s.properties,sensitiveProperties:s.sensitiveProperties,actionId:r,uniqueIdentifier:i,persist:!0});break;case u.TransactionMetaMetricsEvent.submitted:n.createEventFragment({category:h.MetaMetricsEventCategory.Transactions,initialEvent:u.TransactionMetaMetricsEvent.submitted,successEvent:u.TransactionMetaMetricsEvent.finalized,properties:s.properties,sensitiveProperties:s.sensitiveProperties,actionId:r,uniqueIdentifier:i,persist:!0});break;case u.TransactionMetaMetricsEvent.finalized:n.createEventFragment({category:h.MetaMetricsEventCategory.Transactions,successEvent:u.TransactionMetaMetricsEvent.finalized,properties:s.properties,sensitiveProperties:s.sensitiveProperties,actionId:r,uniqueIdentifier:i,persist:!0})}}async function k({eventName:e,transactionEventPayload:t,transactionMetricsRequest:r,extraParams:n={}}){const{properties:s,sensitiveProperties:i}=await C({transactionEventPayload:t,transactionMetricsRequest:r,extraParams:n});y({eventName:e,transactionEventPayload:t,transactionMetricsRequest:r,payload:{properties:s,sensitiveProperties:i}}),function({eventName:e,transactionEventPayload:{transactionMeta:t},transactionMetricsRequest:r,payload:n}){const s=b(e,t.id);switch(e){case u.TransactionMetaMetricsEvent.approved:case u.TransactionMetaMetricsEvent.rejected:case u.TransactionMetaMetricsEvent.finalized:r.updateEventFragment(s,{properties:n.properties,sensitiveProperties:n.sensitiveProperties})}}({eventName:e,transactionEventPayload:t,transactionMetricsRequest:r,payload:{properties:s,sensitiveProperties:i}}),function({eventName:e,transactionMetricsRequest:t,transactionEventPayload:{transactionMeta:r}}){const n=b(e,r.id);switch(e){case u.TransactionMetaMetricsEvent.approved:t.finalizeEventFragment(n);break;case u.TransactionMetaMetricsEvent.rejected:t.finalizeEventFragment(n,{abandoned:!0});break;case u.TransactionMetaMetricsEvent.finalized:t.finalizeEventFragment(n)}}({eventName:e,transactionEventPayload:t,transactionMetricsRequest:r})}function b(e,t){return`transaction-${e===u.TransactionMetaMetricsEvent.finalized||e===u.TransactionMetaMetricsEvent.submitted?"submitted":"added"}-${t}`}async function C({transactionEventPayload:{transactionMeta:e},transactionMetricsRequest:t,extraParams:r={}}){var n;const{type:w,time:y,status:k,chainId:b,origin:C,txParams:{gasPrice:_,gas:S,maxFeePerGas:T,maxPriorityFeePerGas:A,estimateSuggested:E,estimateUsed:M},defaultGasEstimates:P,originalType:N,replacedById:I,customTokenAmount:R,dappProposedTokenAmount:j,currentTokenBalance:O,originalApprovalAmount:x,finalApprovalAmount:B,contractMethodName:D,securityProviderResponse:L,simulationFails:F}=e,U=new i.default(t.provider),G=C===l.ORIGIN_METAMASK?"user":"dapp",{assetType:K,tokenStandard:H}=await(0,c.determineTransactionAssetType)(e,U,t.getTokenStandardAndDetails),$={};if((0,c.isEIP1559Transaction)(e)?($.max_fee_per_gas=T,$.max_priority_fee_per_gas=A):$.gas_price=_,P){var W,q;const{estimateType:r}=P;if(r){var V,z;$.default_estimate=r;let n=null===(V=e.defaultGasEstimates)||void 0===V?void 0:V.maxFeePerGas,s=null===(z=e.defaultGasEstimates)||void 0===z?void 0:z.maxPriorityFeePerGas;if([p.GasRecommendations.low,p.GasRecommendations.medium,p.GasRecommendations.high].includes(r)){var J,Y;const{gasFeeEstimates:e}=await t.getEIP1559GasFeeEstimates();var Q,X;if(null!=e&&null!==(J=e[r])&&void 0!==J&&J.suggestedMaxFeePerGas)n=null===(Q=e[r])||void 0===Q?void 0:Q.suggestedMaxFeePerGas,$.default_max_fee_per_gas=n;if(null!=e&&null!==(Y=e[r])&&void 0!==Y&&Y.suggestedMaxPriorityFeePerGas)s=null===(X=e[r])||void 0===X?void 0:X.suggestedMaxPriorityFeePerGas,$.default_max_priority_fee_per_gas=s}}null!==(W=e.defaultGasEstimates)&&void 0!==W&&W.gas&&($.default_gas=e.defaultGasEstimates.gas),null!==(q=e.defaultGasEstimates)&&void 0!==q&&q.gasPrice&&($.default_gas_price=e.defaultGasEstimates.gasPrice)}E&&($.estimate_suggested=E),M&&($.estimate_used=M),null!=r&&r.gas_used&&($.gas_used=r.gas_used);const Z=function(e){const t={};for(const r in e)(0,s.isHexString)(e[r])?t[r]=(0,d.hexWEIToDecGWEI)(e[r]):t[r]=e[r];return t}($);let ee="0";e.txParams.maxFeePerGas&&(ee="2");const te=w&&[a.TransactionType.contractInteraction,a.TransactionType.tokenMethodApprove,a.TransactionType.tokenMethodIncreaseAllowance,a.TransactionType.tokenMethodSafeTransferFrom,a.TransactionType.tokenMethodSetApprovalForAll,a.TransactionType.tokenMethodTransfer,a.TransactionType.tokenMethodTransferFrom,a.TransactionType.swap,a.TransactionType.swapAndSend,a.TransactionType.swapApproval].includes(w),re="Approve";let ne,se,ie,oe,ae=a.TransactionType.simpleSend;w===a.TransactionType.cancel?ae=a.TransactionType.cancel:w===a.TransactionType.retry&&N?ae=N:w===a.TransactionType.deployContract?ae=a.TransactionType.deployContract:te&&(ae=a.TransactionType.contractInteraction,se=D,se===re&&H===u.TokenStandard.ERC20&&("0"===j||"0"===R?ne=u.TransactionApprovalAmountType.revoke:R&&R!==j?ne=u.TransactionApprovalAmountType.custom:j&&(ne=u.TransactionApprovalAmountType.dappProposed),ie=function(e,t,r){if(e===u.TransactionApprovalAmountType.custom&&t&&r)return`${new o.BigNumber(t,10).div(r,10).times(100).round(2)}`;return null}(ne,x,B),oe=function(e,t,r){if((e===u.TransactionApprovalAmountType.custom||e===u.TransactionApprovalAmountType.dappProposed)&&t&&r)return`${new o.BigNumber(t,16).div(r,10).times(100).round(2)}`;return null}(ne,j,O)));const le=t.getTransaction(I),ce={RETRY:a.TransactionType.retry,CANCEL:a.TransactionType.cancel,SAME_NONCE:"other"};let de;null!=r&&r.dropped&&(de=ce.SAME_NONCE,(null==le?void 0:le.type)===a.TransactionType.cancel?de=ce.CANCEL:(null==le?void 0:le.type)===a.TransactionType.retry&&(de=ce.RETRY));const ue=[];1===(null==L?void 0:L.flagAsDangerous)?ue.push(h.MetaMetricsEventUiCustomization.FlaggedAsMalicious):2===(null==L?void 0:L.flagAsDangerous)&&ue.push(h.MetaMetricsEventUiCustomization.FlaggedAsSafetyUnknown);const he=(0,f.getBlockaidMetricsProps)(e);(null==he||null===(n=he.ui_customizations)||void 0===n?void 0:n.length)>0&&ue.push(...he.ui_customizations),F&&ue.push(h.MetaMetricsEventUiCustomization.GasEstimationFailed);const pe=(0,g.getSmartTransactionMetricsProperties)(t,e);let me={chain_id:b,referrer:C,source:G,status:k,network:`${parseInt(b,16)}`,eip_1559_version:ee,gas_edit_type:"none",gas_edit_attempted:"none",gas_estimation_failed:Boolean(F),account_type:await t.getAccountType(t.getSelectedAddress()),device_model:await t.getDeviceModel(t.getSelectedAddress()),asset_type:K,token_standard:H,transaction_type:ae,transaction_speed_up:w===a.TransactionType.retry,...he,ui_customizations:ue.length>0?ue:null,...pe};const fe=await(0,v.getSnapAndHardwareInfoForMetrics)(t.getAccountType,t.getDeviceModel,t.snapAndHardwareMessenger);Object.assign(me,fe),se===re&&(me={...me,transaction_approval_amount_type:ne});let ge={transaction_envelope_type:(0,c.isEIP1559Transaction)(e)?m.TRANSACTION_ENVELOPE_TYPE_NAMES.FEE_MARKET:m.TRANSACTION_ENVELOPE_TYPE_NAMES.LEGACY,first_seen:y,gas_limit:S,transaction_contract_method:se,transaction_replaced:de,...r,...Z};return se===re&&(ge={...ge,transaction_approval_amount_vs_balance_ratio:oe,transaction_approval_amount_vs_proposed_ratio:ie}),{properties:me,sensitiveProperties:ge}}r.handlePostTransactionBalanceUpdate=async({getParticipateInMetrics:e,trackEvent:t},{transactionMeta:r,approvalTransactionMeta:n})=>{var s;if(e()&&r.swapMetaData)if("0x0"===(null===(s=r.txReceipt)||void 0===s?void 0:s.status))t({event:"Swap Failed",sensitiveProperties:{...r.swapMetaData},category:h.MetaMetricsEventCategory.Swaps});else{var i;const e=(0,m.getSwapsTokensReceivedFromTxMeta)(r.destinationTokenSymbol,r,r.destinationTokenAddress,r.txParams.from,r.destinationTokenDecimals,n,r.chainId),s=e?`${new o.BigNumber(e,10).div(r.swapMetaData.token_to_amount,10).times(100).round(2)}%`:null,a=null!==(i=r.txReceipt)&&void 0!==i&&i.gasUsed&&r.swapMetaData.estimated_gas?`${new o.BigNumber(r.txReceipt.gasUsed,16).div(r.swapMetaData.estimated_gas,10).times(100).round(2)}%`:null,l=function(e,t){var r,n;let s="0x0";null!=t&&t.txReceipt&&(s=(0,m.calcGasTotal)(t.txReceipt.gasUsed,t.txReceipt.effectiveGasPrice));const i=(0,m.calcGasTotal)(null===(r=e.txReceipt)||void 0===r?void 0:r.gasUsed,null===(n=e.txReceipt)||void 0===n?void 0:n.effectiveGasPrice),a=new o.BigNumber(i,16).plus(s,16).toString(16);return{approvalGasCostInEth:Number((0,d.hexWEIToDecETH)(s)),tradeGasCostInEth:Number((0,d.hexWEIToDecETH)(i)),tradeAndApprovalGasCostInEth:Number((0,d.hexWEIToDecETH)(a))}}(r,n);t({event:h.MetaMetricsEventName.SwapCompleted,category:h.MetaMetricsEventCategory.Swaps,sensitiveProperties:{...r.swapMetaData,token_to_amount_received:e,quote_vs_executionRatio:s,estimated_vs_used_gasRatio:a,approval_gas_cost_in_eth:l.approvalGasCostInEth,trade_gas_cost_in_eth:l.tradeGasCostInEth,trade_and_approval_gas_cost_in_eth:l.tradeAndApprovalGasCostInEth,token_to_amount:r.swapMetaData.token_to_amount.toString(10)}})}}}}},{package:"$root$",file:"app/scripts/lib/transaction/metrics.ts"}],[117,{"../../../../shared/constants/app":4493,"../../../../shared/constants/smartTransactions":4514,"../../../../shared/modules/conversion.utils":4537,"@metamask/smart-transactions-controller/dist/types":1765,"@metamask/transaction-controller":2234,loglevel:3842},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.submitSmartTransactionHook=void 0;var n,s=e("@metamask/smart-transactions-controller/dist/types"),i=e("@metamask/transaction-controller"),o=(n=e("loglevel"))&&n.__esModule?n:{default:n},a=e("../../../../shared/modules/conversion.utils"),l=e("../../../../shared/constants/smartTransactions"),c=e("../../../../shared/constants/app");function d(e,t){h(e,t),t.add(e)}function u(e,t,r){h(e,t),t.set(e,r)}function h(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function p(e,t,r){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return r}function m(e,t){return function(e,t){if(t.get)return t.get.call(e);return t.value}(e,g(e,t,"get"))}function f(e,t,r){return function(e,t,r){if(t.set)t.set.call(e,r);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=r}}(e,g(e,t,"set"),r),r}function g(e,t,r){if(!t.has(e))throw new TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}var v=new WeakMap,w=new WeakMap,y=new WeakMap,k=new WeakMap,b=new WeakMap,C=new WeakMap,_=new WeakMap,S=new WeakMap,T=new WeakMap,A=new WeakMap,E=new WeakMap,M=new WeakSet,P=new WeakSet,N=new WeakSet,I=new WeakSet,R=new WeakSet,j=new WeakSet,O=new WeakSet,x=new WeakSet;class B{constructor(e){d(this,x),d(this,O),d(this,j),d(this,R),d(this,I),d(this,N),d(this,P),d(this,M),u(this,v,{writable:!0,value:void 0}),u(this,w,{writable:!0,value:void 0}),u(this,y,{writable:!0,value:void 0}),u(this,k,{writable:!0,value:void 0}),u(this,b,{writable:!0,value:void 0}),u(this,C,{writable:!0,value:void 0}),u(this,_,{writable:!0,value:void 0}),u(this,S,{writable:!0,value:void 0}),u(this,T,{writable:!0,value:void 0}),u(this,A,{writable:!0,value:void 0}),u(this,E,{writable:!0,value:void 0});const{transactionMeta:t,smartTransactionsController:r,transactionController:n,isSmartTransaction:s,controllerMessenger:i,featureFlags:o}=e;f(this,w,""),f(this,v,!1),f(this,A,t),f(this,S,r),f(this,T,n),f(this,_,s),f(this,k,i),f(this,b,o),f(this,C,t.origin!==c.ORIGIN_METAMASK),f(this,y,t.chainId),f(this,E,t.txParams)}async submit(){var e;const t=!(null===(e=m(this,A))||void 0===e||!e.type)&&[i.TransactionType.swapAndSend,i.TransactionType.swapApproval].includes(m(this,A).type),r={transactionHash:undefined};if(!m(this,_)||t)return r;const{id:n}=await m(this,k).call("ApprovalController:startFlow");let s;f(this,w,n);try{s=await m(this,S).getFees({...m(this,E),chainId:m(this,y)},undefined)}catch(e){return o.default.error("Error in smart transaction publish hook, falling back to regular transaction submission",e),p(this,M,D).call(this),r}try{var a;const e=await p(this,j,K).call(this,{getFeesResponse:s}),t=null==e?void 0:e.uuid;if(!t)throw new Error("No smart transaction UUID");const r=null===(a=m(this,b))||void 0===a||null===(a=a.smartTransactions)||void 0===a?void 0:a.returnTxHashAsap;let n;if(p(this,P,L).call(this,{uuid:t}),p(this,I,U).call(this,{uuid:t}),n=r&&null!=e&&e.txHash?e.txHash:await p(this,R,G).call(this,{uuid:t}),null===n)throw new Error("Transaction does not have a transaction hash, there was a problem");return{transactionHash:n}}catch(e){throw o.default.error("Error in smart transaction publish hook",e),p(this,M,D).call(this),e}}}function D(){m(this,v)||(f(this,v,!0),m(this,k).call("ApprovalController:endFlow",{id:m(this,w)}))}function L({uuid:e}){const t=()=>{p(this,M,D).call(this)};m(this,k).call("ApprovalController:addRequest",{id:m(this,w),origin:origin,type:c.SMART_TRANSACTION_CONFIRMATION_TYPES.showSmartTransactionStatusPage,requestState:{smartTransaction:{status:s.SmartTransactionStatuses.PENDING,creationTime:Date.now(),uuid:e},isDapp:m(this,C),txId:m(this,A).id}},!0).then(t,t)}async function F({smartTransaction:e}){return await m(this,k).call("ApprovalController:updateRequestState",{id:m(this,w),requestState:{smartTransaction:e,isDapp:m(this,C),txId:m(this,A).id}})}async function U({uuid:e}){m(this,S).eventEmitter.on(`${e}:smartTransaction`,(async e=>{const{status:t}=e;t&&t!==s.SmartTransactionStatuses.PENDING&&(m(this,v)||await p(this,N,F).call(this,{smartTransaction:e}))}))}function G({uuid:e}){return new Promise((t=>{m(this,S).eventEmitter.on(`${e}:smartTransaction`,(async e=>{const{status:r,statusMetadata:n}=e;r&&r!==s.SmartTransactionStatuses.PENDING&&(o.default.debug("Smart Transaction: ",e),null!=n&&n.minedHash?(o.default.debug("Smart Transaction - Received tx hash: ",null==n?void 0:n.minedHash),t(n.minedHash)):t(null))}))}))}async function K({getFeesResponse:e}){var t,r;const n=await p(this,x,$).call(this,(null===(t=e.tradeTxFees)||void 0===t?void 0:t.fees)??[],!1),s=await p(this,x,$).call(this,(null===(r=e.tradeTxFees)||void 0===r?void 0:r.cancelFees)||[],!0);return await m(this,S).submitSignedTransactions({signedTransactions:n,signedCanceledTransactions:s,txParams:m(this,E),transactionMeta:m(this,A)})}function H(e,t){const r={...m(this,E),maxFeePerGas:`0x${(0,a.decimalToHex)(e.maxFeePerGas)}`,maxPriorityFeePerGas:`0x${(0,a.decimalToHex)(e.maxPriorityFeePerGas)}`,gas:t?`0x${(0,a.decimalToHex)(l.CANCEL_GAS_LIMIT_DEC)}`:m(this,E).gas};return t&&(r.to=r.from,r.data="0x"),r}async function $(e,t){const r=e.map((e=>p(this,O,H).call(this,e,t))).map((e=>({...e,chainId:e.chainId||m(this,y)})));return await m(this,T).approveTransactionsWithSameNonce(r,{hasNonce:!0})}r.submitSmartTransactionHook=e=>new B(e).submit()}}},{package:"$root$",file:"app/scripts/lib/transaction/smart-transactions.ts"}],[118,{"../../../../shared/constants/security-provider":4513,"../ppom/ppom-util":90,"@metamask/keyring-api":1444,"ethereumjs-util":3288},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.addDappTransaction=async function(e){const{dappRequest:t}=e,{id:r,method:n,origin:s}=t,{securityAlertResponse:i}=t,o={actionId:r,method:n,origin:s,requireApproval:!0,securityAlertResponse:i},{waitForHash:l}=await a({...e,transactionOptions:o});return await l()},r.addTransaction=async function(e){!function(e){const{chainId:t,ppomController:r,securityAlertsEnabled:n,transactionOptions:s,transactionParams:a,updateSecurityAlertResponse:l}=e,{type:c}=s,d=o.SECURITY_PROVIDER_EXCLUDED_TRANSACTION_TYPES.includes(c);if(!n||!o.SECURITY_PROVIDER_SUPPORTED_CHAIN_IDS.includes(t)||d)return;try{const{from:t,to:n,value:c,data:d}=a,{actionId:u,origin:h}=s,p={method:"eth_sendTransaction",id:u??"",origin:h??"",params:[{from:t,to:n,value:c,data:d}]},m=(0,i.generateSecurityAlertId)();(0,i.validateRequestWithPPOM)({ppomController:r,request:p,securityAlertId:m}).then((e=>{l(p.method,m,e)}));const f={...o.LOADING_SECURITY_ALERT_RESPONSE,securityAlertId:m};e.transactionOptions.securityAlertResponse=f}catch(e){(0,i.handlePPOMError)(e,"Error validating JSON RPC using PPOM: ")}}(e);const{transactionMeta:t,waitForHash:r}=await a(e);if(!e.waitForSubmit)return r().catch((()=>{})),t;const n=await r();return function(e,t){return t.state.transactions.find((t=>t.hash===e))}(n,e.transactionController)};var n=e("@metamask/keyring-api"),s=e("ethereumjs-util"),i=e("../ppom/ppom-util"),o=e("../../../../shared/constants/security-provider");async function a(e){const{selectedAccount:t}=e;return t.type===n.EthAccountType.Erc4337?async function(e){var t;const{networkClientId:r,transactionController:n,transactionOptions:i,transactionParams:o,userOperationController:a}=e,{maxFeePerGas:c,maxPriorityFeePerGas:d}=o,{origin:u,requireApproval:h,type:p}=i,m={...o,maxFeePerGas:(0,s.addHexPrefix)(c),maxPriorityFeePerGas:(0,s.addHexPrefix)(d)},f=null==i||null===(t=i.swaps)||void 0===t?void 0:t.meta;null!=f&&f.type&&delete f.type;const g={networkClientId:r,origin:u,requireApproval:h,swaps:f,type:p},v=await a.addUserOperationFromTransaction(m,g);a.startPollingByNetworkClientId(r);return{transactionMeta:l(v.id,n),waitForHash:v.transactionHash}}(e):async function(e){const{transactionController:t,transactionOptions:r,transactionParams:n,networkClientId:s}=e,{result:i,transactionMeta:o}=await t.addTransaction(n,{...r});return{transactionMeta:o,waitForHash:()=>i}}(e)}function l(e,t){return t.state.transactions.find((t=>t.id===e))}}}},{package:"$root$",file:"app/scripts/lib/transaction/util.ts"}],[1186,{".":1187,"../utils/log":1205},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.registerResponseStream=void 0;const s=n(e("../utils/log")),i=e(".");let o;const a=async e=>{s.default.debug("Received browser request",e);const t=await(async e=>{let t=i.browser;const r=3===(await(i.browser?.runtime?.getManifest()))?.manifest_version;for(let n of e)if(r&&(n=n.replace("browserAction","action")),t=t[n],!t)return undefined;return t})(e.key);if(!t)return void s.default.error(`Cannot find browser method - ${e.key.join(".")}`);const r=await t(...e.args),n={id:e.id,result:r};s.default.debug("Sending browser response",n),o?.write(n)};r.registerResponseStream=e=>{o=e,o.on("data",(e=>a(e)))}}}},{package:"@metamask/desktop",file:"node_modules/@metamask/desktop/dist/browser/browser-proxy.js"}],[1187,{"./browser-proxy":1186,"webextension-polyfill":4472},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){n===undefined&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){n===undefined&&(n=r),e[n]=t[r]}),s=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.browser=void 0;var o=e("webextension-polyfill");Object.defineProperty(r,"browser",{enumerable:!0,get:function(){return i(o).default}}),s(e("./browser-proxy"),r)}}},{package:"@metamask/desktop",file:"node_modules/@metamask/desktop/dist/browser/index.js"}],[1189,{"@metamask/obs-store":1217},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.DesktopController=void 0;const n=e("@metamask/obs-store");r.DesktopController=class{constructor({initState:e}){this.store=new n.ObservableStore({desktopEnabled:!1,pairingKey:undefined,pairingKeyHash:undefined,...e})}getDesktopEnabled(){return!0===this.store.getState().desktopEnabled}setDesktopEnabled(e){this.store.updateState({desktopEnabled:e})}setPairingKey(e){this.store.updateState({pairingKey:e})}generateOtp(){throw Error("No implementation provided")}async testDesktopConnection(){throw Error("No implementation provided")}async disableDesktop(){throw Error("No implementation provided")}}}}},{package:"@metamask/desktop",file:"node_modules/@metamask/desktop/dist/controllers/desktop-base.js"}],[119,{"../../../../shared/constants/app":4493,"../../../../shared/constants/verification":4522,"@ethersproject/hash":489,"@ethersproject/wallet":552,"@metamask/rpc-errors":1717,"@metamask/utils":2300},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.createTxVerificationMiddleware=function(e,t=a.TRUSTED_SIGNERS){return function(r,c,d,u){if(r.method!==l.MESSAGE_TYPE.ETH_SEND_TRANSACTION||!Array.isArray(r.params)||!function(e){return(0,o.isObject)(e[0])&&"string"==typeof e[0].data&&"string"==typeof e[0].from&&"string"==typeof e[0].to&&"string"==typeof e[0].value&&(!(0,o.hasProperty)(e[0],"chainId")||"string"==typeof e[0].chainId&&e[0].chainId.startsWith("0x"))}(r.params))return d();const h=r.params[0],p="string"==typeof h.chainId?h.chainId.toLowerCase():e.state.providerConfig.chainId,m=(0,a.getExperience)(h.to.toLowerCase(),p);if(!m||!a.EXPERIENCES_TO_VERIFY.includes(m))return d();const f=`0x${h.data.slice(-a.TX_SIG_LEN)}`,g=(0,s.verifyMessage)(function(e){const t={to:(0,n.hashMessage)(e.to.toLowerCase()),from:(0,n.hashMessage)(e.from.toLowerCase()),data:(0,n.hashMessage)(e.data.toLowerCase().slice(0,e.data.length-a.TX_SIG_LEN)),value:(0,n.hashMessage)(e.value.toLowerCase())};return(0,n.hashMessage)(JSON.stringify(t))}(h),f);return g!==t[m]?u(i.rpcErrors.invalidParams("Invalid transaction signature.")):d()}};var n=e("@ethersproject/hash"),s=e("@ethersproject/wallet"),i=e("@metamask/rpc-errors"),o=e("@metamask/utils"),a=e("../../../../shared/constants/verification"),l=e("../../../../shared/constants/app")}}},{package:"$root$",file:"app/scripts/lib/tx-verification/tx-verification-middleware.ts"}],[1190,{"../desktop-manager":1193,"../pairing":1197,"./desktop-base":1189},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.ExtensionDesktopController=void 0;const s=n(e("../desktop-manager")),i=e("../pairing"),o=e("./desktop-base");class a extends o.DesktopController{generateOtp(){return i.Pairing.generateOTP()}async testDesktopConnection(){return await s.default.testConnection()}}r.ExtensionDesktopController=a}}},{package:"@metamask/desktop",file:"node_modules/@metamask/desktop/dist/controllers/desktop-extension.js"}],[1191,{"./desktop-extension":1190},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){let n;Object.defineProperty(r,"__esModule",{value:!0}),r.DesktopController=r.initDesktopController=void 0,r.DesktopController=n;r.initDesktopController=e=>{n||(r.DesktopController=n=e)},global.isDesktopApp||(r.DesktopController=n=e("./desktop-extension").ExtensionDesktopController)}}},{package:"@metamask/desktop",file:"node_modules/@metamask/desktop/dist/controllers/desktop.js"}],[1192,{"./browser":1187,"./constants":1188,"./pairing":1197,"./utils/log":1205,"./utils/state":1206,"./utils/stream":1207,"./utils/utils":1209,"./version-check":1210,"end-of-stream":3213,events:3328,"obj-multiplex":3932},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0});const s=n(e("events")),i=n(e("end-of-stream")),o=n(e("obj-multiplex")),a=n(e("./utils/log")),l=e("./pairing"),c=e("./version-check"),d=e("./utils/utils"),u=e("./utils/stream"),h=e("./utils/state"),p=e("./constants"),m=e("./browser");class f extends s.default{constructor(e,t){super(),this.paired=!1,this.stream=e,this.extensionVersion=t,this.multiplex=new o.default,this.newConnectionStream=this.multiplex.createStream(p.CLIENT_ID_NEW_CONNECTION),this.endConnectionStream=this.multiplex.createStream(p.CLIENT_ID_END_CONNECTION),this.stateStream=this.multiplex.createStream(p.CLIENT_ID_STATE),this.addPairedOnlyDataListener(this.stateStream,(e=>{this.onDesktopState(e)})),this.disableStream=this.multiplex.createStream(p.CLIENT_ID_DISABLE),this.addPairedOnlyDataListener(this.disableStream,(e=>this.onDisable(e)));const r=this.multiplex.createStream(p.CLIENT_ID_PAIRING);this.extensionPairing=new l.Pairing(r,(()=>this.transferState())).init();const n=this.multiplex.createStream(p.CLIENT_ID_VERSION);this.versionCheck=new c.VersionCheck(n,this.extensionVersion),this.browserControllerStream=this.multiplex.createStream(p.CLIENT_ID_BROWSER_CONTROLLER),this.stream.pipe(this.multiplex).pipe(this.stream)}setPaired(){this.paired=!0,(0,m.registerResponseStream)(this.browserControllerStream)}async createStream(e,t,r){const n=this.generateClientId(),s=this.multiplex.createStream(n);r.pipe(s).pipe(r),(0,i.default)(r,(()=>{this.onUIStreamEnd(n,s)})),this.sendNewConnectionMessage(e,n,t),r.resume()}async transferState(){const e=await(0,h.getAndUpdateDesktopState)({desktopEnabled:!0}),t=(0,h.removePairingKeyFromRawState)(e);this.stateStream.write(t),await(0,u.waitForAcknowledge)(this.stateStream),a.default.debug("Sent extension state to desktop")}async checkVersions(){return await this.versionCheck.check()}async checkPairingKey(){return await this.extensionPairing.checkPairingKeyMatch()}async onDisable(e){a.default.debug("Received desktop disable message"),e?(await(0,h.setRawState)(e),a.default.debug("Synchronised with final desktop state")):(await(0,h.setDesktopState)({desktopEnabled:!1,pairingKey:undefined,pairingKeyHash:undefined}),a.default.debug("Disabled desktop mode")),(0,u.acknowledge)(this.disableStream),this.restart()}onUIStreamEnd(e,t){a.default.debug("Port stream closed",e),t.end(),this.endConnectionStream?this.endConnectionStream.write({clientId:e}):a.default.error("End connection stream not initialised")}async onDesktopState(e){const t=await(0,h.addPairingKeyToRawState)(e);await(0,h.setRawState)(t),a.default.debug("Synchronised state with desktop")}sendNewConnectionMessage(e,t,r){if(!this.newConnectionStream)return void a.default.error("New Connection stream not initialised");const n={clientId:t,connectionType:r,remotePort:{name:e.name,sender:e.sender}};a.default.debug("Sending new connection message",n),this.newConnectionStream.write(n)}addPairedOnlyDataListener(e,t){(0,u.addDataListener)(e,(e=>{this.paired?t(e):a.default.debug("Ignoring message as not paired")}))}async restart(){a.default.debug("Restarting extension"),m.browser.runtime.reload()}generateClientId(){return(0,d.uuid)()}}r.default=f}}},{package:"@metamask/desktop",file:"node_modules/@metamask/desktop/dist/desktop-connection.js"}],[1193,{"./browser":1187,"./constants":1188,"./desktop-connection":1192,"./encryption/web-socket-stream":1196,"./types":1201,"./utils/config":1203,"./utils/log":1205,"./utils/state":1206,"./utils/stream":1207,"./utils/utils":1209,"./web-socket-stream":1211,"end-of-stream":3213,"extension-port-stream":1220},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){n===undefined&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){n===undefined&&(n=r),e[n]=t[r]}),s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return s(t,e),t},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0});const a=o(e("extension-port-stream")),l=o(e("end-of-stream")),c=o(e("./utils/log")),d=e("./browser"),u=e("./utils/config"),h=e("./types"),p=e("./web-socket-stream"),m=e("./utils/stream"),f=i(e("./utils/state")),g=o(e("./encryption/web-socket-stream")),v=e("./utils/utils"),w=e("./constants"),y=o(e("./desktop-connection")),k="Desktop app is not recognized";r.default=new class{constructor(){this.transferredState=!1,this.desktopState={}}async init(e){this.extensionVersion=e}setState(e){this.desktopState=e.DesktopController||{}}async getConnection(){return this.desktopState.desktopEnabled?(this.desktopConnection||await this.createConnection(),this.desktopConnection):undefined}isDesktopEnabled(){return!0===this.desktopState.desktopEnabled}async createStream(e,t){const r=new a.default(e);r.pause(),r.on("data",(e=>this.onUIMessage(e,r)));const n=new m.DuplexCopy(r);n.pause(),r.resume(),(0,l.default)(r,(()=>{n.destroy()}));const s=await this.getConnection();await(s?.createStream(e,t,n))}async testConnection(){c.default.debug("Testing desktop connection");try{const e=this.desktopConnection||await this.createConnection(),t=await e.checkVersions();return c.default.debug("Connection test completed"),{isConnected:!0,versionCheck:t}}catch(e){let t={isConnected:!1};return e?.message===k&&(t={...t,pairingKeyCheck:h.PairingKeyStatus.NO_MATCH}),c.default.debug("Connection test failed",e),t}}async createConnection(){const e=await this.createWebSocket(),t=(0,u.cfg)().webSocket.disableEncryption?new p.WebSocketStream(e):new g.default(e);try{await t.init({startHandshake:!0})}catch(t){throw c.default.error("Failed to initialise web socket stream",t),e.close(),t}const r=new y.default(t,this.extensionVersion);if(e.addEventListener("close",(n=>{this.onDisconnect(e,t,r,n.code)})),c.default.debug("Created web socket connection"),!(0,u.cfg)().skipOtpPairingFlow){c.default.debug("Desktop enabled, checking pairing key");const t=await r.checkPairingKey();if([h.PairingKeyStatus.NO_MATCH].includes(t))throw c.default.error("The pairing key does not match, desktop app is not recognized"),e.close(4e3,k),new Error(k);c.default.debug("Desktop app recognised")}return this.isDesktopEnabled()?(r.setPaired(),await this.transferState(r),this.desktopConnection=r,r):(this.desktopConnection=r,r)}async onDisconnect(e,t,r,n){c.default.debug("Desktop connection disconnected"),t.removeAllListeners(),t.destroy(),e.close(),r.removeAllListeners(),r===this.desktopConnection&&(this.desktopConnection=undefined),4e3!==n&&await(d.browser?.runtime?.sendMessage?.({type:w.DESKTOP_HOOK_TYPES.DISCONNECT}))}async onUIMessage(e,t){const r=e.data?.method,n=e.data?.id;"disableDesktopError"===r&&await this.disable(),"getDesktopEnabled"===r&&t.write({name:e.name,data:{jsonrpc:"2.0",result:!0,id:n}})}async transferState(e){this.transferredState||((0,u.cfg)().isExtensionTest||await e.transferState(),this.transferredState=!0)}async disable(){c.default.debug("Disabling desktop mode"),await f.setDesktopState({desktopEnabled:!1,pairingKey:undefined,pairingKeyHash:undefined}),d.browser.runtime.reload()}async createWebSocket(){const e=new Promise((e=>{const t=new WebSocket(`${(0,u.cfg)().webSocket.url}`);t.addEventListener("open",(()=>{e(t)}))}));return(0,v.timeoutPromise)(e,1e4,{errorMessage:"Timeout connecting to web socket server"})}}}}},{package:"@metamask/desktop",file:"node_modules/@metamask/desktop/dist/desktop-manager.js"}],[1194,{buffer:3028,eciesjs:3192},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(t){(function(){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){n===undefined&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){n===undefined&&(n=r),e[n]=t[r]}),s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return s(t,e),t};Object.defineProperty(r,"__esModule",{value:!0}),r.decrypt=r.encrypt=r.createKeyPair=void 0;const o=i(e("eciesjs"));r.createKeyPair=()=>{const e=new o.PrivateKey,t=e.publicKey;return{privateKey:e.toHex(),publicKey:t.toHex()}};r.encrypt=(e,r)=>{const n=t.from(e,"utf8");return o.encrypt(r,n).toString("hex")};r.decrypt=(e,r)=>{const n=t.from(e,"hex");return o.decrypt(r,n).toString("utf8")}}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"@metamask/desktop",file:"node_modules/@metamask/desktop/dist/encryption/asymmetric.js"}],[1195,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.decrypt=r.encrypt=r.createKey=void 0;const n="AES-GCM",s=["encrypt","decrypt"],i=async e=>{const t=Uint8Array.from(e);return await global.crypto.subtle.importKey("raw",t,{name:n},!1,s)};r.createKey=async()=>{const e=await global.crypto.subtle.generateKey({name:n,length:256},!0,s),t=await global.crypto.subtle.exportKey("raw",e);return Array.from(new Uint8Array(t))};r.encrypt=async(e,t)=>{const r=global.crypto.getRandomValues(new Uint8Array(12)),s=await i(t),o=(new TextEncoder).encode(e),a=await global.crypto.subtle.encrypt({name:n,iv:r},s,o);return{data:Array.from(new Uint8Array(a)),iv:Array.from(r)}};r.decrypt=async(e,t,r)=>{const s=await i(t),o=Uint8Array.from(e),a=Uint8Array.from(r),l=await global.crypto.subtle.decrypt({name:n,iv:a},s,o);return(new TextDecoder).decode(l)}}}},{package:"@metamask/desktop",file:"node_modules/@metamask/desktop/dist/encryption/symmetric.js"}],[1196,{"../constants":1188,"../utils/log":1205,"../utils/stream":1207,"../utils/utils":1209,"../web-socket-stream":1211,"./asymmetric":1194,"./symmetric":1195,stream:4348},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){n===undefined&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){n===undefined&&(n=r),e[n]=t[r]}),s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return s(t,e),t},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0});const a=e("stream"),l=o(e("../utils/log")),c=e("../constants"),d=e("../web-socket-stream"),u=e("../utils/stream"),h=e("../utils/utils"),p=i(e("./asymmetric")),m=i(e("./symmetric"));var f;!function(e){e[e.START=0]="START",e[e.WAIT=1]="WAIT",e[e.RECEIVED=2]="RECEIVED"}(f||(f={}));class g extends a.Duplex{constructor(e){super({objectMode:!0}),this.webSocket=e,this.performingHandshake=!0}async init({startHandshake:e}){this.webSocketStream=new d.WebSocketStream(this.webSocket),this.webSocketStream.on("data",(e=>this.onMessage(e))),this.asymmetricKeyPair=p.createKeyPair(),this.symmetricKey=await m.createKey(),await(0,h.timeoutPromise)(this.handshake(e?f.START:f.WAIT),1e4,{errorMessage:"Encryption handshake timed out",cleanUp:()=>{this.resendInterval&&clearInterval(this.resendInterval)}})}_read(){return undefined}async _write(e,t,r){await this.writeSymmetric(e,r)}async onMessage(e){if(this.performingHandshake)return;if(e===c.MESSAGE_HANDSHAKE_START)return void await this.handshake(f.RECEIVED);const t=await this.decryptSymmetric(e);this.push(t)}async handshake(e){l.default.debug("Starting handshake"),this.cork(),this.pause(),this.performingHandshake=!0,this.targetPublicKey=undefined,this.targetSymmetricKey=undefined;const t=e===f.START;await this.handshakeStep((()=>{this.writeRaw(c.MESSAGE_HANDSHAKE_START)}),(async e=>e===c.MESSAGE_HANDSHAKE_START?e:undefined),t,e===f.RECEIVED),l.default.debug("Received handshake"),this.targetPublicKey=await this.handshakeStep((()=>{this.writeRaw({publicKey:this.asymmetricKeyPair?.publicKey})}),(async e=>e.publicKey),t),l.default.debug("Received public key",this.targetPublicKey),this.targetSymmetricKey=await this.handshakeStep((()=>{this.writeAsymmetric({symmetricKey:this.symmetricKey})}),(async e=>{const t=this.decryptAsymmetric(e);return t?.symmetricKey}),t),l.default.debug("Received symmetric key",this.targetSymmetricKey),await this.handshakeStep((()=>{this.writeSymmetric(c.MESSAGE_HANDSHAKE_FINISH)}),(async e=>await this.decryptSymmetric(e)===c.MESSAGE_HANDSHAKE_FINISH?{}:undefined),t),l.default.debug("Completed handshake"),this.uncork(),this.resume(),this.performingHandshake=!1}async handshakeStep(e,t,r,n=!1){let s;return r&&e(),n||(this.resendInterval=setInterval((()=>{r?e():this.previousSendSecond?.()}),1e3),s=await(0,u.waitForMessage)(this.webSocketStream,t,{returnFilterOutput:!0}),clearInterval(this.resendInterval),this.resendInterval=undefined),r||(this.previousSendSecond=e,e()),s}async decryptSymmetric(e){if(!this.targetSymmetricKey)return l.default.error("Target symmetric key not set"),undefined;let t;try{t=await m.decrypt(e.data,this.targetSymmetricKey,e.iv)}catch(e){return l.default.debug("Failed to decrypt symmetric encrypted web socket message",e),undefined}try{t=JSON.parse(t)}catch{}return l.default.debug("Decrypted symmetric encrypted web socket message",(0,h.flattenMessage)(t)),t}decryptAsymmetric(e){if(!this.asymmetricKeyPair)return l.default.error("Key pair not created"),undefined;let t;try{t=p.decrypt(e,this.asymmetricKeyPair.privateKey)}catch(t){return l.default.debug("Failed to decrypt asymmetric encrypted web socket message",{error:t,data:e}),undefined}try{t=JSON.parse(t)}catch{}return l.default.debug("Decrypted asymmetric encrypted web socket message",(0,h.flattenMessage)(t)),t}async writeSymmetric(e,t){if(!this.symmetricKey)return void l.default.error("Symmetric key not created");const r="string"==typeof e?e:JSON.stringify(e),n=await m.encrypt(r,this.symmetricKey);l.default.debug("Sending symmetric encrypted message to web socket"),this.writeRaw(n,t)}writeAsymmetric(e,t){if(!this.targetPublicKey)return void l.default.error("Target public key not set");const r="string"==typeof e?e:JSON.stringify(e),n=p.encrypt(r,this.targetPublicKey);l.default.debug("Sending asymmetric encrypted message to web socket"),this.writeRaw(n,t)}writeRaw(e,t=(()=>undefined)){this.webSocketStream?this.webSocketStream.write(e,undefined,t):l.default.error("Web socket stream not initialised")}}r.default=g}}},{package:"@metamask/desktop",file:"node_modules/@metamask/desktop/dist/encryption/web-socket-stream.js"}],[1197,{"./browser":1187,"./encryption/symmetric":1195,"./types":1201,"./utils/crypto":1204,"./utils/log":1205,"./utils/state":1206,"./utils/stream":1207,"./utils/totp":1208,buffer:3028,"obj-multiplex":3932},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(t){(function(){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){n===undefined&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){n===undefined&&(n=r),e[n]=t[r]}),s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return s(t,e),t},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.Pairing=void 0;const a=o(e("obj-multiplex")),l=o(e("./utils/log")),c=e("./utils/stream"),d=o(e("./utils/totp")),u=e("./encryption/symmetric"),h=e("./utils/crypto"),p=e("./types"),m=i(e("./utils/state")),f=e("./browser");r.Pairing=class{constructor(e,t){const r=this.createStreams(e);this.requestStream=r.requestStream,this.keyStream=r.keyStream,this.transferState=t}static generateOTP(){const e=d.default.generate();return l.default.debug("Generated OTP",e),e}init(){return(0,c.addDataListener)(this.requestStream,(e=>{this.onRequestMessage(e)})),this}async checkPairingKeyMatch(){l.default.debug("Validating pairing key");this.keyStream.write({isRequestPairingKey:!0});const e=(await(0,c.waitForMessage)(this.keyStream)).pairingKey;if(!e)return l.default.debug("Desktop has no pairing key"),p.PairingKeyStatus.MISSING;const t=await(0,h.hashString)(e,{isHex:!0}),r=(await m.getDesktopState()).pairingKeyHash===t;return l.default.debug("Completed pairing key check",r),r?p.PairingKeyStatus.MATCH:p.PairingKeyStatus.NO_MATCH}async onRequestMessage(e){l.default.debug("Received pairing request message",e);if(!d.default.validate(e.otp)){l.default.debug("Received invalid OTP");const e={isDesktopEnabled:!1};return void this.requestStream.write(e)}const r=t.from(await(0,u.createKey)()).toString("hex"),n=await(0,h.hashString)(r,{isHex:!0});await m.setDesktopState({desktopEnabled:!0,pairingKeyHash:n});const s={isDesktopEnabled:!0,pairingKey:r};this.requestStream.write(s),await(0,c.waitForAcknowledge)(this.requestStream),l.default.debug("Saved pairing key",{pairingKey:r,pairingKeyHash:n}),await this.transferState(),f.browser.runtime.reload(),l.default.debug("Paired with desktop")}createStreams(e){const t=new a.default,r=t.createStream("request"),n=t.createStream("key");return e.pipe(t).pipe(e),{requestStream:r,keyStream:n}}}}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"@metamask/desktop",file:"node_modules/@metamask/desktop/dist/pairing.js"}],[12,{"./auth-snap-requests":11,"./services":13,"@metamask/base-controller":1154},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=e("@metamask/base-controller"),s=e("./auth-snap-requests"),i=e("./services");function o(e,t){l(e,t),t.add(e)}function a(e,t,r){l(e,t),t.set(e,r)}function l(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function c(e,t,r){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return r}function d(e,t){return function(e,t){if(t.get)return t.get.call(e);return t.value}(e,h(e,t,"get"))}function u(e,t,r){return function(e,t,r){if(t.set)t.set.call(e,r);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=r}}(e,h(e,t,"set"),r),r}function h(e,t,r){if(!t.has(e))throw new TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}const p=18e5,m="AuthenticationController",f={isSignedIn:!1},g={isSignedIn:{persist:!0,anonymous:!0},sessionData:{persist:!0,anonymous:!1}};var v=new WeakMap,w=new WeakMap,y=new WeakMap,k=new WeakSet,b=new WeakSet,C=new WeakSet,_=new WeakSet,S=new WeakMap,T=new WeakSet,A=new WeakMap,E=new WeakSet;class M extends n.BaseController{constructor({messenger:e,state:t,metametrics:r}){super({messenger:e,metadata:g,name:m,state:{...f,...t}}),o(this,E),o(this,T),o(this,_),o(this,C),o(this,b),o(this,k),a(this,v,{writable:!0,value:void 0}),a(this,w,{writable:!0,value:!1}),a(this,y,{writable:!0,value:{setupLockedStateSubscriptions:()=>{const{isUnlocked:e}=this.messagingSystem.call("KeyringController:getState");u(this,w,e),this.messagingSystem.subscribe("KeyringController:unlock",(()=>{u(this,w,!0)})),this.messagingSystem.subscribe("KeyringController:lock",(()=>{u(this,w,!1)}))}}}),a(this,S,{writable:!0,value:void 0}),a(this,A,{writable:!0,value:{}}),u(this,v,r),d(this,y).setupLockedStateSubscriptions(),c(this,k,P).call(this)}async performSignIn(){const{accessToken:e}=await c(this,C,I).call(this);return e}performSignOut(){c(this,b,N).call(this),this.update((e=>{e.isSignedIn=!1,e.sessionData=undefined}))}async getBearerToken(){if(c(this,b,N).call(this),c(this,_,R).call(this,this.state.sessionData))return this.state.sessionData.accessToken;const{accessToken:e}=await c(this,C,I).call(this);return e}async getSessionProfile(){if(c(this,b,N).call(this),c(this,_,R).call(this,this.state.sessionData))return this.state.sessionData.profile;const{profile:e}=await c(this,C,I).call(this);return e}isSignedIn(){return this.state.isSignedIn}}function P(){this.messagingSystem.registerActionHandler("AuthenticationController:getBearerToken",this.getBearerToken.bind(this)),this.messagingSystem.registerActionHandler("AuthenticationController:getSessionProfile",this.getSessionProfile.bind(this)),this.messagingSystem.registerActionHandler("AuthenticationController:isSignedIn",this.isSignedIn.bind(this)),this.messagingSystem.registerActionHandler("AuthenticationController:performSignIn",this.performSignIn.bind(this)),this.messagingSystem.registerActionHandler("AuthenticationController:performSignOut",this.performSignOut.bind(this))}function N(){if(!this.state.isSignedIn)throw new Error(`${m}: Unable to call method, user is not authenticated`)}async function I(){try{const e=await c(this,T,j).call(this),t=await(0,i.getNonce)(e);if(!t)throw new Error("Unable to get nonce");const r=(0,i.createLoginRawMessage)(t,e),n=await c(this,E,O).call(this,r),s=await(0,i.login)(r,n,d(this,v).getMetaMetricsId());if(null==s||!s.token)throw new Error("Unable to login");const o={identifierId:s.profile.identifier_id,profileId:s.profile.profile_id},a=await(0,i.getAccessToken)(s.token);if(!a)throw new Error("Unable to get Access Token");return this.update((e=>{e.isSignedIn=!0;const t=new Date;t.setTime(t.getTime()+p),e.sessionData={profile:o,accessToken:a,expiresIn:t.toString()}})),{profile:o,accessToken:a}}catch(e){console.error("Failed to authenticate",e);const t=e instanceof Error?e.message:JSON.stringify(e??"");throw new Error(`${m}: Failed to authenticate - ${t}`)}}function R(e){if(!e)return!1;const t=Date.parse(e.expiresIn);if(isNaN(t))return!1;const r=new Date,n=Math.abs(r.getTime()-t);return p>n}async function j(){if(d(this,S))return d(this,S);if(!d(this,w))throw new Error("#snapGetPublicKey - unable to call snap, wallet is locked");const e=await this.messagingSystem.call("SnapController:handleRequest",(0,s.createSnapPublicKeyRequest)());return u(this,S,e),e}async function O(e){if(d(this,A)[e])return d(this,A)[e];if(!d(this,w))throw new Error("#snapSignMessage - unable to call snap, wallet is locked");const t=await this.messagingSystem.call("SnapController:handleRequest",(0,s.createSnapSignMessageRequest)(e));return d(this,A)[e]=t,t}r.default=M}}},{package:"$root$",file:"app/scripts/controllers/authentication/authentication-controller.ts"}],[1203,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.cfg=r.envBool=r.envInt=r.envStringMatch=void 0;function n(e,t){return e?parseInt(e,10):t}r.envStringMatch=(e,t)=>!!e&&(!!e.toLowerCase&&e.toLowerCase()===t.toLowerCase()),r.envInt=n;r.envBool=(e,t=!1)=>e===undefined||null===e?t:!0===e||!1===e?e:(0,r.envStringMatch)(e,"true");let s;r.cfg=()=>(s||(s=(()=>{const e=n(null,7071);return{isDebug:(0,r.envBool)(!1),isExtensionTest:(0,r.envBool)(!1),skipOtpPairingFlow:(0,r.envBool)(!1),compatibilityVersion:{extension:n(1,1)},webSocket:{disableEncryption:(0,r.envBool)(!1),port:e,url:`ws://localhost:${e}`}}})()),s)}}},{package:"@metamask/desktop",file:"node_modules/@metamask/desktop/dist/utils/config.js"}],[1204,{buffer:3028},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(e){(function(){Object.defineProperty(r,"__esModule",{value:!0}),r.hashString=r.randomHex=void 0;r.randomHex=()=>{const t=global.crypto?.getRandomValues(new Uint8Array(12))||e.from([]);return e.from(t).toString("hex")};r.hashString=async(t,{isHex:r=!1}={})=>{const n=r?"hex":"utf8",s=e.from(t,n),i=await global.crypto.subtle.digest("SHA-512",s);return e.from(i).toString("hex")}}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"@metamask/desktop",file:"node_modules/@metamask/desktop/dist/utils/crypto.js"}],[1205,{"./config":1203,loglevel:3842},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0});const s=n(e("loglevel")),i=e("./config");s.default.setDefaultLevel((0,i.cfg)().isDebug?"debug":"info"),r.default=s.default}}},{package:"@metamask/desktop",file:"node_modules/@metamask/desktop/dist/utils/log.js"}],[1206,{"../browser":1187},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.removePairingKeyFromRawState=r.addPairingKeyToRawState=r.clearRawState=r.setDesktopState=r.setRawState=r.getAndUpdateDesktopState=r.getDesktopState=r.getRawState=void 0;const n=e("../browser");r.getRawState=async()=>await n.browser.storage.local.get();r.getDesktopState=async()=>{const e=await(0,r.getRawState)();return e.data?.DesktopController||{}};r.getAndUpdateDesktopState=async e=>{const t=await(0,r.getRawState)(),n=t.data.DesktopController;return t.data.DesktopController={...n,...e},t};r.setRawState=async e=>{await n.browser.storage.local.set(e)};r.setDesktopState=async e=>{const t=await(0,r.getAndUpdateDesktopState)(e);await(0,r.setRawState)(t)};r.clearRawState=async()=>{await n.browser.storage.local.clear()};r.addPairingKeyToRawState=async e=>{const t=await(0,r.getDesktopState)();return{...e,data:{...e.data,DesktopController:{...e.data?.DesktopController,pairingKey:t.pairingKey,pairingKeyHash:t.pairingKeyHash}}}};r.removePairingKeyFromRawState=e=>({...e,data:{...e.data,DesktopController:{...e.data.DesktopController,pairingKey:undefined,pairingKeyHash:undefined}}})}}},{package:"@metamask/desktop",file:"node_modules/@metamask/desktop/dist/utils/state.js"}],[1207,{"../constants":1188,stream:4348},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.DuplexCopy=r.addDataListener=r.acknowledge=r.waitForAcknowledge=r.waitForMessage=void 0;const n=e("stream"),s=e("../constants");r.waitForMessage=(e,t,{returnFilterOutput:r=!1}={})=>new Promise((n=>{const s=async i=>{const o=t?await t(i):Promise.resolve(!0);o&&(e.removeListener("data",s),n(r?o:i))};e.on("data",s)}));r.waitForAcknowledge=async e=>{await(0,r.waitForMessage)(e,(e=>Promise.resolve(e===s.MESSAGE_ACKNOWLEDGE)))};r.acknowledge=e=>{e.write(s.MESSAGE_ACKNOWLEDGE)};r.addDataListener=(e,t)=>{e.on("data",(e=>{e!==s.MESSAGE_ACKNOWLEDGE&&t(e)}))};class i extends n.Duplex{constructor(e){super({objectMode:!0}),this.stream=e,this.stream.on("data",(e=>{this.onMessage(e)}))}onMessage(e){this.push(e)}_read(){return null}_write(e,t,r){this.stream.write(e,t,r)}}r.DuplexCopy=i}}},{package:"@metamask/desktop",file:"node_modules/@metamask/desktop/dist/utils/stream.js"}],[1208,{"./crypto":1204,otpauth:3959},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){n===undefined&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){n===undefined&&(n=r),e[n]=t[r]}),s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return s(t,e),t};Object.defineProperty(r,"__esModule",{value:!0}),r.MAX_TOTP_VALIDATE_RETRY_IN_30_SECONDS=void 0;const o=i(e("otpauth")),a=e("./crypto");r.MAX_TOTP_VALIDATE_RETRY_IN_30_SECONDS=5;class l{constructor(){this.generate=()=>(this.resetAttemptsCounter(),l.instance.generate()),this.validate=e=>{const t=l.instance.validate({token:e,window:1});return l.validateAttemptsCounter+=1,this.hasReachedMaxValidateAttempts(l.validateAttemptsCounter)&&this.init({resetInstance:!0}),null!==t},this.hasReachedMaxValidateAttempts=e=>e>=r.MAX_TOTP_VALIDATE_RETRY_IN_30_SECONDS,this.resetAttemptsCounter=()=>{l.validateAttemptsCounter=0},this.init=e=>{const{resetInstance:t}=e;l.instance&&!t||(l.instance=new o.TOTP({issuer:"MM",label:"MetaMask",algorithm:"SHA1",digits:6,period:30,secret:o.Secret.fromHex((0,a.randomHex)())}),this.resetAttemptsCounter())},this.init({resetInstance:!1})}}l.validateAttemptsCounter=0,r.default=new l}}},{package:"@metamask/desktop",file:"node_modules/@metamask/desktop/dist/utils/totp.js"}],[1209,{uuid:4424},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.uuid=r.timeoutPromise=r.flattenMessage=void 0;const n=e("uuid");r.flattenMessage=e=>{let t;try{const r=e.name,n=e.data,s=n?.name,i=n?.data,o=i?.method,a=i?.result;t={},t={...t,...r?{stream:r}:{}},t={...t,...s?{type:s}:{}},t={...t,...o?{method:o}:{}},t={...t,...a?{isResult:!0}:{}}}catch{t=e}return t};r.timeoutPromise=(e,t,r={})=>new Promise(((n,s)=>{let i=!1;const o=setTimeout((()=>{i=!0,r.cleanUp?.(),s(new Error(r.errorMessage||`Promise timeout after ${t}ms`))}),t);e.then((e=>{i||(clearTimeout(o),n(e))})).catch(s)})),r.uuid=n.v4}}},{package:"@metamask/desktop",file:"node_modules/@metamask/desktop/dist/utils/utils.js"}],[121,{"../../shared/constants/app":4493,"../../shared/constants/hardware-wallets":4501,"../../shared/constants/keyring":4502,"../../shared/constants/logs":4504,"../../shared/constants/metametrics":4505,"../../shared/constants/methods-tags":4506,"../../shared/constants/network":4507,"../../shared/constants/permissions":4511,"../../shared/constants/smartTransactions":4514,"../../shared/constants/swaps":4516,"../../shared/constants/time":4518,"../../shared/constants/tokens":4519,"../../shared/constants/transaction":4520,"../../shared/constants/urls":4521,"../../shared/lib/metamask-controller-utils":4526,"../../shared/lib/token-util":4530,"../../shared/modules/mv3.utils":4547,"../../shared/modules/network.utils":4548,"../../shared/modules/selectors":4554,"../../shared/modules/string-utils":4558,"../../shared/modules/transaction.utils":4560,"../../shared/notifications":4562,"./controllers/account-order":7,"./controllers/alert":8,"./controllers/app-metadata":9,"./controllers/app-state":10,"./controllers/authentication/authentication-controller":12,"./controllers/decrypt-message":14,"./controllers/encryption-public-key":15,"./controllers/metamask-notifications/metamask-notifications":18,"./controllers/metametrics":25,"./controllers/network-order":26,"./controllers/onboarding":27,"./controllers/permissions":31,"./controllers/preferences":34,"./controllers/push-platform-notifications/push-platform-notifications":35,"./controllers/swaps":41,"./controllers/user-storage/user-storage-controller":48,"./detect-multiple-instances":49,"./lib/AccountIdentitiesPetnamesBridge":52,"./lib/AddressBookPetnamesBridge":53,"./lib/ComposableObservableStore":54,"./lib/SnapsNameProvider":55,"./lib/WeakRefObjectMap":56,"./lib/account-tracker":57,"./lib/backup":58,"./lib/createDupeReqFilterStream":59,"./lib/createLoggerMiddleware":60,"./lib/createMetaRPCHandler":61,"./lib/createMetamaskMiddleware":62,"./lib/createOnboardingMiddleware":63,"./lib/createOriginMiddleware":64,"./lib/createRPCMethodTrackingMiddleware":65,"./lib/createTabIdMiddleware":67,"./lib/encryptor-factory":68,"./lib/hardware-keyring-builder-factory":76,"./lib/keyring-snaps-permissions":77,"./lib/offscreen-bridge/lattice-offscreen-keyring":85,"./lib/offscreen-bridge/ledger-offscreen-bridge":86,"./lib/offscreen-bridge/trezor-offscreen-bridge":87,"./lib/ppom/indexed-db-backend":88,"./lib/ppom/ppom":91,"./lib/ppom/ppom-middleware":89,"./lib/ppom/ppom-util":90,"./lib/rpc-method-middleware":104,"./lib/segment":106,"./lib/snap-keyring":110,"./lib/stream-utils":115,"./lib/transaction/metrics":116,"./lib/transaction/smart-transactions":117,"./lib/transaction/util":118,"./lib/tx-verification/tx-verification-middleware":119,"./lib/util":120,"./snaps/preinstalled-snaps":254,"./translate":255,"@keystonehq/metamask-airgapped-keyring":608,"@metamask/accounts-controller":1080,"@metamask/address-book-controller":1088,"@metamask/announcement-controller":1102,"@metamask/approval-controller":1111,"@metamask/assets-controllers":1143,"@metamask/base-controller":1154,"@metamask/controller-utils":1163,"@metamask/desktop/dist/controllers/desktop":1191,"@metamask/ens-controller":1235,"@metamask/eth-json-rpc-filters":1259,"@metamask/eth-json-rpc-filters/subscriptionManager":1269,"@metamask/eth-json-rpc-middleware":1292,"@metamask/eth-ledger-bridge-keyring":1312,"@metamask/eth-query":1316,"@metamask/eth-trezor-keyring":1353,"@metamask/ethjs-query":1379,"@metamask/gas-fee-controller":1387,"@metamask/keyring-controller":1476,"@metamask/logging-controller":1489,"@metamask/name-controller":1529,"@metamask/network-controller":1555,"@metamask/notification-controller":1577,"@metamask/obs-store":1610,"@metamask/obs-store/dist/asStream":1609,"@metamask/permission-controller":1624,"@metamask/permission-log-controller":1641,"@metamask/phishing-controller":1649,"@metamask/ppom-validator":1673,"@metamask/queued-request-controller":1690,"@metamask/rate-limit-controller":1706,"@metamask/scure-bip39/dist/wordlists/english":1720,"@metamask/selected-network-controller":1732,"@metamask/signature-controller":1740,"@metamask/smart-transactions-controller":1764,"@metamask/snaps-controllers":1993,"@metamask/snaps-rpc-methods":2086,"@metamask/snaps-utils":2163,"@metamask/transaction-controller":2234,"@metamask/user-operation-controller":2266,"@sentry/browser":2409,"await-semaphore":2922,buffer:3028,"eth-lattice-keyring":3226,"eth-rpc-errors":3257,events:3328,"json-rpc-engine":3680,"json-rpc-middleware-stream":3685,lodash:3836,loglevel:3842,nanoid:3929,"readable-stream":4258},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(t){(function(){Object.defineProperty(r,"__esModule",{value:!0}),r.default=r.METAMASK_CONTROLLER_EVENTS=void 0;var n=Ct(e("events")),s=e("readable-stream"),i=e("@metamask/assets-controllers"),o=e("@metamask/obs-store"),a=e("@metamask/obs-store/dist/asStream"),l=e("json-rpc-engine"),c=e("json-rpc-middleware-stream"),d=e("@metamask/eth-json-rpc-middleware"),u=e("lodash"),h=e("@metamask/keyring-controller"),p=Ct(e("@metamask/eth-json-rpc-filters")),m=Ct(e("@metamask/eth-json-rpc-filters/subscriptionManager")),f=e("eth-rpc-errors"),g=e("await-semaphore"),v=Ct(e("loglevel")),w=e("@metamask/eth-trezor-keyring"),y=e("@metamask/eth-ledger-bridge-keyring"),k=Ct(e("eth-lattice-keyring")),b=e("@keystonehq/metamask-airgapped-keyring"),C=Ct(e("@metamask/eth-query")),_=Ct(e("@metamask/ethjs-query")),S=Ct(e("nanoid")),T=e("@sentry/browser"),A=e("@metamask/address-book-controller"),E=e("@metamask/approval-controller"),M=e("@metamask/base-controller"),P=e("@metamask/ens-controller"),N=e("@metamask/phishing-controller"),I=e("@metamask/announcement-controller"),R=e("@metamask/network-controller"),j=e("@metamask/gas-fee-controller"),O=e("@metamask/permission-controller"),x=Ct(e("@metamask/smart-transactions-controller")),B=e("@metamask/selected-network-controller"),D=e("@metamask/logging-controller"),L=e("@metamask/permission-log-controller"),F=e("@metamask/rate-limit-controller"),U=e("@metamask/notification-controller"),G=e("@metamask/snaps-controllers"),K=e("@metamask/snaps-rpc-methods"),H=e("@metamask/accounts-controller"),$=e("@metamask/signature-controller"),W=e("@metamask/ppom-validator"),q=e("@metamask/desktop/dist/controllers/desktop"),V=e("@metamask/controller-utils"),z=e("@metamask/scure-bip39/dist/wordlists/english"),J=e("@metamask/name-controller"),Y=e("@metamask/queued-request-controller"),Q=e("@metamask/user-operation-controller"),X=e("@metamask/transaction-controller"),Z=e("@metamask/snaps-utils"),ee=e("../../shared/constants/methods-tags"),te=e("../../shared/constants/transaction"),re=e("../../shared/constants/swaps"),ne=e("../../shared/constants/network"),se=e("../../shared/constants/smartTransactions"),ie=e("../../shared/constants/hardware-wallets"),oe=e("../../shared/constants/keyring"),ae=e("../../shared/constants/permissions"),le=e("../../shared/notifications"),ce=e("../../shared/constants/time"),de=e("../../shared/constants/app"),ue=e("../../shared/constants/metametrics"),he=e("../../shared/constants/logs"),pe=e("../../shared/lib/token-util"),me=e("../../shared/modules/string-utils"),fe=e("../../shared/modules/transaction.utils"),ge=e("../../shared/constants/tokens"),ve=e("../../shared/lib/metamask-controller-utils"),we=e("../../shared/modules/mv3.utils"),ye=e("../../shared/modules/network.utils"),ke=e("../../shared/modules/selectors"),be=e("../../shared/constants/urls"),Ce=e("./lib/transaction/metrics"),_e=e("./lib/transaction/smart-transactions"),Se=e("./lib/keyring-snaps-permissions"),Te=e("./lib/SnapsNameProvider"),Ae=e("./lib/AddressBookPetnamesBridge"),Ee=e("./lib/AccountIdentitiesPetnamesBridge"),Me=e("./lib/ppom/ppom-middleware"),Pe=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=bt(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var o=s?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}(e("./lib/ppom/ppom")),Ne=e("./detect-multiple-instances"),Ie=Ct(e("./lib/ComposableObservableStore")),Re=Ct(e("./lib/account-tracker")),je=Ct(e("./lib/createDupeReqFilterStream")),Oe=Ct(e("./lib/createLoggerMiddleware")),xe=e("./lib/rpc-method-middleware"),Be=Ct(e("./lib/createOriginMiddleware")),De=Ct(e("./lib/createTabIdMiddleware")),Le=e("./controllers/network-order"),Fe=e("./controllers/account-order"),Ue=Ct(e("./lib/createOnboardingMiddleware")),Ge=e("./lib/stream-utils"),Ke=Ct(e("./controllers/preferences")),He=Ct(e("./controllers/app-state")),$e=Ct(e("./controllers/alert")),We=Ct(e("./controllers/onboarding")),qe=Ct(e("./lib/backup")),Ve=Ct(e("./controllers/decrypt-message")),ze=Ct(e("./controllers/swaps")),Je=Ct(e("./controllers/metametrics")),Ye=e("./lib/segment"),Qe=Ct(e("./lib/createMetaRPCHandler")),Xe=e("./lib/util"),Ze=Ct(e("./lib/createMetamaskMiddleware")),et=e("./lib/hardware-keyring-builder-factory"),tt=Ct(e("./controllers/encryption-public-key")),rt=Ct(e("./controllers/app-metadata")),nt=e("./controllers/permissions"),st=Ct(e("./lib/createRPCMethodTrackingMiddleware")),it=e("./lib/ppom/indexed-db-backend"),ot=e("./translate"),at=e("./lib/offscreen-bridge/trezor-offscreen-bridge"),lt=e("./lib/offscreen-bridge/ledger-offscreen-bridge"),ct=e("./lib/snap-keyring"),dt=e("./lib/encryptor-factory"),ut=e("./lib/transaction/util"),ht=e("./lib/offscreen-bridge/lattice-offscreen-keyring"),pt=Ct(e("./snaps/preinstalled-snaps")),mt=e("./lib/WeakRefObjectMap"),ft=Ct(e("./controllers/authentication/authentication-controller")),gt=Ct(e("./controllers/user-storage/user-storage-controller")),vt=e("./controllers/push-platform-notifications/push-platform-notifications"),wt=e("./controllers/metamask-notifications/metamask-notifications"),yt=e("./lib/tx-verification/tx-verification-middleware"),kt=e("./lib/ppom/ppom-util");function bt(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(bt=function(e){return e?r:t})(e)}function Ct(e){return e&&e.__esModule?e:{default:e}}function _t(e,t){!function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}(e,t),t.add(e)}function St(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(r!==undefined){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Tt(e,t,r){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return r}r.METAMASK_CONTROLLER_EVENTS={UPDATE_BADGE:"updateBadge",APPROVAL_STATE_CHANGE:"ApprovalController:stateChange",QUEUED_REQUEST_STATE_CHANGE:"QueuedRequestController:stateChange"};var At=new WeakSet,Et=new WeakSet,Mt=new WeakSet;class Pt extends n.default{constructor(e){var t,r;super(),_t(this,Mt),_t(this,Et),_t(this,At),St(this,"_trackSnapExportUsage",(0,u.wrap)((0,u.memoize)((()=>(0,u.throttle)(((e,t,r,n)=>{var s;return this.metaMetricsController.trackEvent({event:ue.MetaMetricsEventName.SnapExportUsed,category:ue.MetaMetricsEventCategory.Snaps,properties:{snap_id:e,export:t,snap_category:null===(s=this._getSnapMetadata(e))||void 0===s?void 0:s.category,success:r,origin:n}})}),60*ce.SECOND)),((e,t,r,n)=>`${e}${t}${n}`)),((e,...t)=>e(...t)(...t)))),St(this,"handleWatchAssetRequest",(({asset:e,type:t,origin:r,networkClientId:n})=>{switch(t){case V.ERC20:return this.tokensController.watchAsset({asset:e,type:t,networkClientId:n});case V.ERC721:case V.ERC1155:return this.nftController.watchNft(e,t,r);default:throw new Error(`Asset type ${t} not supported`)}})),St(this,"removePermissionsFor",(e=>{try{this.permissionController.revokePermissions(e)}catch(e){if(!(e instanceof O.PermissionsRequestNotFoundError))throw e}})),St(this,"updateCaveat",((e,t,r,n)=>{try{this.controllerMessenger.call("PermissionController:updateCaveat",e,t,r,n)}catch(e){if(!(e instanceof O.PermissionsRequestNotFoundError))throw e}})),St(this,"updateNetworksList",(e=>{try{this.networkOrderController.updateNetworksList(e)}catch(e){throw v.default.error(e.message),e}})),St(this,"updateAccountsList",(e=>{try{this.accountOrderController.updateAccountsList(e)}catch(e){throw v.default.error(e.message),e}})),St(this,"updateHiddenAccountsList",(e=>{try{this.accountOrderController.updateHiddenAccountsList(e)}catch(e){throw v.default.error(e.message),e}})),St(this,"rejectPermissionsRequest",(e=>{try{this.permissionController.rejectPermissionsRequest(e)}catch(e){if(!(e instanceof O.PermissionsRequestNotFoundError))throw e}})),St(this,"acceptPermissionsRequest",(e=>{try{this.permissionController.acceptPermissionsRequest(e)}catch(e){if(!(e instanceof O.PermissionsRequestNotFoundError))throw e}})),St(this,"resolvePendingApproval",(async(e,t,r)=>{try{await this.approvalController.accept(e,t,r)}catch(e){if(!(e instanceof E.ApprovalRequestNotFoundError))throw e}})),St(this,"rejectPendingApproval",((e,t)=>{try{this.approvalController.reject(e,new f.EthereumRpcError(t.code,t.message,t.data))}catch(e){if(!(e instanceof E.ApprovalRequestNotFoundError))throw e}}));const{isFirstMetaMaskControllerSetup:n}=e;this.defaultMaxListeners=20,this.sendUpdate=(0,u.debounce)(this.privateSendUpdate.bind(this),200*ce.MILLISECOND),this.opts=e,this.extension=e.browser,this.platform=e.platform,this.notificationManager=e.notificationManager;const s=e.initState||{},o=this.platform.getVersion();this.recordFirstTimeInfo(s),this.featureFlags=e.featureFlags,this.activeControllerConnections=0,this.offscreenPromise=e.offscreenPromise??Promise.resolve(),this.getRequestAccountTabIds=e.getRequestAccountTabIds,this.getOpenMetamaskTabsIds=e.getOpenMetamaskTabsIds,this.controllerMessenger=new M.ControllerMessenger,this.loggingController=new D.LoggingController({messenger:this.controllerMessenger.getRestricted({name:"LoggingController"}),state:s.LoggingController}),this.localStoreApiWrapper=e.localStore,this.currentMigrationVersion=e.currentMigrationVersion,this.store=new Ie.default({state:s,controllerMessenger:this.controllerMessenger,persist:!0}),this.connections={},this.createVaultMutex=new g.Mutex,this.extension.runtime.onInstalled.addListener((e=>{"update"===e.reason&&("8.1.0"===o&&this.platform.openExtensionInBrowser(),this.loggingController.add({type:D.LogType.GenericLog,data:{event:he.LOG_EVENT.VERSION_UPDATE,previousVersion:e.previousVersion,version:o}}))})),this.appMetadataController=new rt.default({state:s.AppMetadataController,currentMigrationVersion:this.currentMigrationVersion,currentAppVersion:o});const a=()=>{this.encryptionPublicKeyController.clearUnapproved(),this.decryptMessageController.clearUnapproved(),this.signatureController.clearUnapproved(),this.approvalController.clear(f.ethErrors.provider.userRejectedRequest())};this.queuedRequestController=new Y.QueuedRequestController({messenger:this.controllerMessenger.getRestricted({name:"QueuedRequestController",allowedActions:["NetworkController:getState","NetworkController:setActiveNetwork","SelectedNetworkController:getNetworkClientIdForDomain"],allowedEvents:["SelectedNetworkController:stateChange"]}),shouldRequestSwitchNetwork:({method:e})=>ee.methodsRequiringNetworkSwitch.includes(e),clearPendingConfirmations:a,showApprovalRequest:e.showUserConfirmation}),this.approvalController=new E.ApprovalController({messenger:this.controllerMessenger.getRestricted({name:"ApprovalController"}),showApprovalRequest:e.showUserConfirmation,typesExcludedFromRateLimiting:[V.ApprovalType.EthSign,V.ApprovalType.PersonalSign,V.ApprovalType.EthSignTypedData,V.ApprovalType.Transaction,V.ApprovalType.WatchAsset,V.ApprovalType.EthGetEncryptionPublicKey,V.ApprovalType.EthDecrypt]});const l=this.controllerMessenger.getRestricted({name:"NetworkController"});let c={};s.NetworkController&&(c=s.NetworkController),this.networkController=new R.NetworkController({messenger:l,state:c,infuraProjectId:e.infuraProjectId,trackMetaMetricsEvent:(...e)=>this.metaMetricsController.trackEvent(...e)}),this.networkController.initializeProvider(),this.provider=this.networkController.getProviderAndBlockTracker().provider,this.blockTracker=this.networkController.getProviderAndBlockTracker().blockTracker,this.deprecatedNetworkVersions={};const d=this.controllerMessenger.getRestricted({name:"TokenListController",allowedEvents:["NetworkController:stateChange"]}),p=this.controllerMessenger.getRestricted({name:"AccountsController",allowedEvents:["SnapController:stateChange","KeyringController:accountRemoved","KeyringController:stateChange"],allowedActions:["KeyringController:getAccounts","KeyringController:getKeyringsByType","KeyringController:getKeyringForAccount"]});this.accountsController=new H.AccountsController({messenger:p,state:s.AccountsController});const m=this.controllerMessenger.getRestricted({name:"PreferencesController",allowedActions:["AccountsController:setSelectedAccount","AccountsController:getAccountByAddress","AccountsController:setAccountName"],allowedEvents:["AccountsController:stateChange"]});this.preferencesController=new Ke.default({initState:s.PreferencesController,initLangCode:e.initLangCode,messenger:m,provider:this.provider,networkConfigurations:this.networkController.state.networkConfigurations}),this.tokenListController=new i.TokenListController({chainId:this.networkController.state.providerConfig.chainId,preventPollingOnNetworkRestart:!Tt(this,Mt,Rt).call(this,this.preferencesController.store.getState()),messenger:d,state:s.TokenListController}),this.assetsContractController=new i.AssetsContractController({chainId:this.networkController.state.providerConfig.chainId,onPreferencesStateChange:e=>this.preferencesController.store.subscribe(e),onNetworkDidChange:e=>l.subscribe("NetworkController:networkDidChange",(()=>{const t=this.networkController.state;return e(t)})),getNetworkClientById:this.networkController.getNetworkClientById.bind(this.networkController)},{provider:this.provider},s.AssetsContractController);const C=this.controllerMessenger.getRestricted({name:"TokensController",allowedActions:["ApprovalController:addRequest","NetworkController:getNetworkClientById"],allowedEvents:["NetworkController:networkDidChange","AccountsController:selectedAccountChange","PreferencesController:stateChange","TokenListController:stateChange"]});this.tokensController=new i.TokensController({messenger:C,chainId:this.networkController.state.providerConfig.chainId,onPreferencesStateChange:e=>this.controllerMessenger.subscribe("AccountsController:selectedAccountChange",(t=>{e({selectedAddress:t.address})})),onNetworkDidChange:e=>l.subscribe("NetworkController:networkDidChange",(()=>{const t=this.networkController.state;return e(t)})),onTokenListStateChange:e=>this.controllerMessenger.subscribe(`${this.tokenListController.name}:stateChange`,e),getNetworkClientById:this.networkController.getNetworkClientById.bind(this.networkController),config:{provider:this.provider,selectedAddress:(null===(t=s.AccountsController)||void 0===t||null===(t=t.internalAccounts)||void 0===t||null===(t=t.accounts[null===(r=s.AccountsController)||void 0===r||null===(r=r.internalAccounts)||void 0===r?void 0:r.selectedAccount])||void 0===t?void 0:t.address)??""},state:s.TokensController}),this.controllerMessenger.registerActionHandler("TokensController:getState",(()=>this.tokensController.state));const _=this.controllerMessenger.getRestricted({name:"NftController",allowedActions:[`${this.approvalController.name}:addRequest`,`${this.networkController.name}:getNetworkClientById`]});this.nftController=new i.NftController({messenger:_,chainId:this.networkController.state.providerConfig.chainId,onPreferencesStateChange:this.preferencesController.store.subscribe.bind(this.preferencesController.store),onNetworkStateChange:l.subscribe.bind(l,"NetworkController:stateChange"),getERC721AssetName:this.assetsContractController.getERC721AssetName.bind(this.assetsContractController),getERC721AssetSymbol:this.assetsContractController.getERC721AssetSymbol.bind(this.assetsContractController),getERC721TokenURI:this.assetsContractController.getERC721TokenURI.bind(this.assetsContractController),getERC721OwnerOf:this.assetsContractController.getERC721OwnerOf.bind(this.assetsContractController),getERC1155BalanceOf:this.assetsContractController.getERC1155BalanceOf.bind(this.assetsContractController),getERC1155TokenURI:this.assetsContractController.getERC1155TokenURI.bind(this.assetsContractController),onNftAdded:({address:e,symbol:t,tokenId:r,standard:n,source:s})=>this.metaMetricsController.trackEvent({event:ue.MetaMetricsEventName.NftAdded,category:ue.MetaMetricsEventCategory.Wallet,sensitiveProperties:{token_contract_address:e,token_symbol:t,token_id:r,token_standard:n,asset_type:te.AssetType.NFT,source:s}}),getNetworkClientById:this.networkController.getNetworkClientById.bind(this.networkController)},{},s.NftController),this.nftController.setApiKey(null),this.nftDetectionController=new i.NftDetectionController({chainId:this.networkController.state.providerConfig.chainId,onNftsStateChange:e=>this.nftController.subscribe(e),onPreferencesStateChange:this.preferencesController.store.subscribe.bind(this.preferencesController.store),onNetworkStateChange:l.subscribe.bind(l,"NetworkController:stateChange"),getOpenSeaApiKey:()=>this.nftController.openSeaApiKey,getBalancesInSingleCall:this.assetsContractController.getBalancesInSingleCall.bind(this.assetsContractController),addNft:this.nftController.addNft.bind(this.nftController),getNftApi:this.nftController.getNftApi.bind(this.nftController),getNftState:()=>this.nftController.state,disabled:this.preferencesController.store.getState().useNftDetection===undefined||!this.preferencesController.store.getState().useNftDetection,selectedAddress:this.preferencesController.store.getState().selectedAddress,getNetworkClientById:this.networkController.getNetworkClientById.bind(this.networkController)}),this.metaMetricsController=new Je.default({segment:Ye.segment,preferencesStore:this.preferencesController.store,onNetworkDidChange:l.subscribe.bind(l,"NetworkController:networkDidChange"),getNetworkIdentifier:()=>{const{type:e,rpcUrl:t}=this.networkController.state.providerConfig;return e===ne.NETWORK_TYPES.RPC?t:e},getCurrentChainId:()=>this.networkController.state.providerConfig.chainId,version:this.platform.getVersion(),environment:"production",extension:this.extension,initState:s.MetaMetricsController,captureException:T.captureException}),this.on("update",(e=>{this.metaMetricsController.handleMetaMaskStateUpdate(e)}));const S=this.controllerMessenger.getRestricted({name:"GasFeeController",allowedActions:["NetworkController:getEIP1559Compatibility","NetworkController:getNetworkClientById","NetworkController:getState"],allowedEvents:["NetworkController:stateChange"]}),K=re.GAS_API_BASE_URL;this.gasFeeController=new j.GasFeeController({state:s.GasFeeController,interval:1e4,messenger:S,clientId:re.SWAPS_CLIENT_ID,getProvider:()=>this.networkController.getProviderAndBlockTracker().provider,onNetworkDidChange:e=>{l.subscribe("NetworkController:networkDidChange",(()=>e(this.networkController.state)))},getCurrentNetworkEIP1559Compatibility:this.networkController.getEIP1559Compatibility.bind(this.networkController),getCurrentAccountEIP1559Compatibility:this.getCurrentAccountEIP1559Compatibility.bind(this),legacyAPIEndpoint:`${K}/networks//gasPrices`,EIP1559APIEndpoint:`${K}/networks//suggestedGasFees`,getCurrentNetworkLegacyGasAPICompatibility:()=>{const{chainId:e}=this.networkController.state.providerConfig;return e===ne.CHAIN_IDS.BSC},getChainId:()=>this.networkController.state.providerConfig.chainId}),this.appStateController=new He.default({addUnlockListener:this.on.bind(this,"unlock"),isUnlocked:this.isUnlocked.bind(this),initState:s.AppStateController,onInactiveTimeout:()=>this.setLocked(),preferencesStore:this.preferencesController.store,messenger:this.controllerMessenger.getRestricted({name:"AppStateController",allowedActions:[`${this.approvalController.name}:addRequest`,`${this.approvalController.name}:acceptRequest`],allowedEvents:["KeyringController:qrKeyringStateChange"]}),extension:this.extension});const z=this.controllerMessenger.getRestricted({name:"CurrencyRateController",allowedActions:[`${this.networkController.name}:getNetworkClientById`]});this.currencyRateController=new i.CurrencyRateController({includeUsdRate:!0,messenger:z,state:s.CurrencyController});const ie=this.currencyRateController.fetchExchangeRate.bind(this.currencyRateController);this.currencyRateController.fetchExchangeRate=(...e)=>this.preferencesController.store.getState().useCurrencyRateCheck?ie(...e):{conversionRate:null,usdConversionRate:null};const oe=this.controllerMessenger.getRestricted({name:"PhishingController"});this.phishingController=new N.PhishingController({messenger:oe,state:s.PhishingController,hotlistRefreshInterval:undefined,stalelistRefreshInterval:undefined}),this.ppomController=new W.PPOMController({messenger:this.controllerMessenger.getRestricted({name:"PPOMController",allowedEvents:["NetworkController:stateChange"]}),storageBackend:new it.IndexedDBPPOMStorage("PPOMDB",1),provider:this.provider,ppomProvider:{PPOM:Pe.PPOM,ppomInit:Pe.default},state:s.PPOMController,chainId:this.networkController.state.providerConfig.chainId,securityAlertsEnabled:this.preferencesController.store.getState().securityAlertsEnabled,onPreferencesChange:this.preferencesController.store.subscribe.bind(this.preferencesController.store),cdnBaseUrl:"static.cx.metamask.io/api/v1/confirmations/ppom",blockaidPublicKey:"066ad3e8af5583385e312c156d238055215d5f25247c1e91055afa756cb98a88"});const pe=this.controllerMessenger.getRestricted({name:"AnnouncementController"});this.announcementController=new I.AnnouncementController({messenger:pe,allAnnouncements:le.UI_NOTIFICATIONS,state:s.AnnouncementController});const me=this.controllerMessenger.getRestricted({name:"NetworkOrderController",allowedEvents:["NetworkController:stateChange"]});this.networkOrderController=new Le.NetworkOrderController({messenger:me,state:s.NetworkOrderController});const fe=this.controllerMessenger.getRestricted({name:"AccountOrderController"});this.accountOrderController=new Fe.AccountOrderController({messenger:fe,state:s.AccountOrderController}),this.tokenRatesController=new i.TokenRatesController({chainId:this.networkController.state.providerConfig.chainId,ticker:this.networkController.state.providerConfig.ticker,selectedAddress:this.accountsController.getSelectedAccount().address,onTokensStateChange:e=>this.tokensController.subscribe(e),onNetworkStateChange:l.subscribe.bind(l,"NetworkController:stateChange"),onPreferencesStateChange:e=>this.controllerMessenger.subscribe("AccountsController:selectedAccountChange",(t=>{e({selectedAddress:t.address})})),tokenPricesService:new i.CodefiTokenPricesServiceV2,getNetworkClientById:this.networkController.getNetworkClientById.bind(this.networkController)},{allTokens:this.tokensController.state.allTokens,allDetectedTokens:this.tokensController.state.allDetectedTokens},s.TokenRatesController),this.preferencesController.store.subscribe((0,Xe.previousValueComparator)(((e,t)=>{const{useCurrencyRateCheck:r}=e,{useCurrencyRateCheck:n}=t;n&&!r?this.tokenRatesController.start():!n&&r&&this.tokenRatesController.stop()}),this.preferencesController.store.getState())),this.ensController=new P.EnsController({messenger:this.controllerMessenger.getRestricted({name:"EnsController"}),provider:this.provider,onNetworkDidChange:l.subscribe.bind(l,"NetworkController:networkDidChange")}),this.onboardingController=new We.default({initState:s.OnboardingController});let ge=[(0,h.keyringBuilderFactory)(b.MetaMaskKeyring)];if(!1===we.isManifestV3){var ve;const e=null===(ve=this.opts.overrides)||void 0===ve?void 0:ve.keyrings,t=[(null==e?void 0:e.lattice)||k.default,b.MetaMaskKeyring],r=[{keyring:(null==e?void 0:e.trezor)||w.TrezorKeyring,bridge:(null==e?void 0:e.trezorBridge)||w.TrezorConnectBridge},{keyring:(null==e?void 0:e.ledger)||y.LedgerKeyring,bridge:(null==e?void 0:e.ledgerBridge)||y.LedgerIframeBridge}];ge=t.map((e=>(0,h.keyringBuilderFactory)(e))),r.forEach((e=>ge.push((0,et.hardwareKeyringBuilderFactory)(e.keyring,e.bridge))))}else ge.push((0,et.hardwareKeyringBuilderFactory)(w.TrezorKeyring,at.TrezorOffscreenBridge),(0,et.hardwareKeyringBuilderFactory)(y.LedgerKeyring,lt.LedgerOffscreenBridge),(0,h.keyringBuilderFactory)(ht.LatticeKeyringOffscreen));const ye=this.controllerMessenger.getRestricted({name:"SnapKeyringBuilder",allowedActions:["ApprovalController:addRequest","ApprovalController:acceptRequest","ApprovalController:rejectRequest","ApprovalController:startFlow","ApprovalController:endFlow","ApprovalController:showSuccess","ApprovalController:showError","PhishingController:test","PhishingController:maybeUpdateState","KeyringController:getAccounts","AccountsController:setSelectedAccount","AccountsController:getAccountByAddress"]});ge.push((0,ct.snapKeyringBuilder)(ye,(()=>this.snapController),(async()=>{await this.keyringController.persistAllKeyrings(),await this.accountsController.updateAccounts()}),(e=>this.preferencesController.setSelectedAddress(e)),(e=>this.removeAccount(e)),this.metaMetricsController.trackEvent.bind(this.metaMetricsController),(e=>{if(!e)return null;const t=this.getLocale(),{snaps:r}=this.snapController.state,n=r[e];if(!n)return(0,Z.stripSnapPrefix)(e);if(n.localizationFiles){return(0,Z.getLocalizedSnapManifest)(n.manifest,t,n.localizationFiles).proposedName}return n.manifest.proposedName}),(e=>pt.default.some((t=>t.snapId===e)))));const be=this.controllerMessenger.getRestricted({name:"KeyringController"});this.keyringController=new h.KeyringController({cacheEncryptionKey:!0,keyringBuilders:ge,state:s.KeyringController,encryptor:e.encryptor||(0,dt.encryptorFactory)(6e5),messenger:be}),this.controllerMessenger.subscribe("KeyringController:unlock",(()=>this._onUnlock())),this.controllerMessenger.subscribe("KeyringController:lock",(()=>this._onLock())),this.controllerMessenger.subscribe("KeyringController:stateChange",(e=>{this._onKeyringControllerUpdate(e)})),this.permissionController=new O.PermissionController({messenger:this.controllerMessenger.getRestricted({name:"PermissionController",allowedActions:[`${this.approvalController.name}:addRequest`,`${this.approvalController.name}:hasRequest`,`${this.approvalController.name}:acceptRequest`,`${this.approvalController.name}:rejectRequest`,"SnapController:getPermitted","SnapController:install","SubjectMetadataController:getSubjectMetadata"]}),state:s.PermissionController,caveatSpecifications:(0,nt.getCaveatSpecifications)({getInternalAccounts:this.accountsController.listAccounts.bind(this.accountsController),findNetworkClientIdByChainId:this.networkController.findNetworkClientIdByChainId.bind(this.networkController)}),permissionSpecifications:{...(0,nt.getPermissionSpecifications)({getInternalAccounts:this.accountsController.listAccounts.bind(this.accountsController),getAllAccounts:this.keyringController.getAccounts.bind(this.keyringController),captureKeyringTypesWithMissingIdentities:(e=[],t=[])=>{const r=t.filter((t=>!e.some((e=>e.address.toLowerCase()===t.toLowerCase())))).map((e=>this.keyringController.getAccountKeyringType(e))),n=e.length,s=Object.keys(this.accountTracker.store.getState().accounts||{}).length;(0,T.captureException)(new Error(`Attempt to get permission specifications failed because their were ${t.length} accounts, but ${n} identities, and the ${r} keyrings included accounts with missing identities. Meanwhile, there are ${s} accounts in the account tracker.`))}}),...this.getSnapPermissionSpecifications()},unrestrictedMethods:nt.unrestrictedMethods}),this.selectedNetworkController=new B.SelectedNetworkController({messenger:this.controllerMessenger.getRestricted({name:"SelectedNetworkController",allowedActions:["NetworkController:getNetworkClientById","NetworkController:getState","NetworkController:getSelectedNetworkClient","PermissionController:hasPermissions","PermissionController:getSubjectNames"],allowedEvents:["NetworkController:stateChange","PermissionController:stateChange"]}),state:s.SelectedNetworkController,useRequestQueuePreference:this.preferencesController.store.getState().useRequestQueue,onPreferencesStateChange:e=>this.preferencesController.store.subscribe(e),domainProxyMap:new mt.WeakRefObjectMap}),this.permissionLogController=new L.PermissionLogController({messenger:this.controllerMessenger.getRestricted({name:"PermissionLogController"}),restrictedMethods:new Set(Object.keys(ae.RestrictedMethods)),state:s.PermissionLogController}),this.subjectMetadataController=new O.SubjectMetadataController({messenger:this.controllerMessenger.getRestricted({name:"SubjectMetadataController",allowedActions:[`${this.permissionController.name}:hasPermissions`]}),state:s.SubjectMetadataController,subjectCacheLimit:100});const Ce=we.isManifestV3&&"undefined"!=typeof chrome&&void 0!==chrome.offscreen,_e={messenger:this.controllerMessenger.getRestricted({name:"ExecutionService"}),setupSnapProvider:this.setupSnapProvider.bind(this)};this.snapExecutionService=!1===Ce?new G.IframeExecutionService({..._e,iframeUrl:new URL("https://execution.metamask.io/iframe/6.4.0/index.html")}):new G.OffscreenExecutionService({..._e,offscreenPromise:this.offscreenPromise});const Se=this.controllerMessenger.getRestricted({name:"SnapController",allowedEvents:["ExecutionService:unhandledError","ExecutionService:outboundRequest","ExecutionService:outboundResponse"],allowedActions:[`${this.permissionController.name}:getEndowments`,`${this.permissionController.name}:getPermissions`,`${this.permissionController.name}:hasPermission`,`${this.permissionController.name}:hasPermissions`,`${this.permissionController.name}:requestPermissions`,`${this.permissionController.name}:revokeAllPermissions`,`${this.permissionController.name}:revokePermissions`,`${this.permissionController.name}:revokePermissionForAllSubjects`,`${this.permissionController.name}:getSubjectNames`,`${this.permissionController.name}:updateCaveat`,`${this.approvalController.name}:addRequest`,`${this.approvalController.name}:updateRequestState`,`${this.permissionController.name}:grantPermissions`,`${this.subjectMetadataController.name}:getSubjectMetadata`,`${this.subjectMetadataController.name}:addSubjectMetadata`,"ExecutionService:executeSnap","ExecutionService:getRpcRequestHandler","ExecutionService:terminateSnap","ExecutionService:terminateAllSnaps","ExecutionService:handleRpcRequest","SnapsRegistry:get","SnapsRegistry:getMetadata","SnapsRegistry:update","SnapsRegistry:resolveVersion","SnapInterfaceController:createInterface","SnapInterfaceController:getInterface"]}),Me=!1;this.snapController=new G.SnapController({environmentEndowmentPermissions:Object.values(ae.EndowmentPermissions),excludedPermissions:{...ae.ExcludedSnapPermissions,...ae.ExcludedSnapEndowments},closeAllConnections:this.removeAllConnections.bind(this),state:s.SnapController,messenger:Se,featureFlags:{dappsCanUpdateSnaps:!0,allowLocalSnaps:!0,requireAllowlist:Me},encryptor:(0,dt.encryptorFactory)(6e5),getMnemonic:this.getPrimaryKeyringMnemonic.bind(this),preinstalledSnaps:pt.default,getFeatureFlags:()=>({disableSnaps:!1===this.preferencesController.store.getState().useExternalServices})}),this.notificationController=new U.NotificationController({messenger:this.controllerMessenger.getRestricted({name:"NotificationController"}),state:s.NotificationController}),this.rateLimitController=new F.RateLimitController({state:s.RateLimitController,messenger:this.controllerMessenger.getRestricted({name:"RateLimitController"}),implementations:{showNativeNotification:{method:(e,t)=>{const r=this.controllerMessenger.call("SubjectMetadataController:getState").subjectMetadata[e];return this.platform._showNotification((null==r?void 0:r.name)??e,t).catch((e=>{v.default.error("Failed to create notification",e)})),null},rateLimitCount:2,rateLimitTimeout:3e5},showInAppNotification:{method:(e,t)=>(this.controllerMessenger.call("NotificationController:show",e,t),null),rateLimitCount:5,rateLimitTimeout:6e4}}});const je=this.controllerMessenger.getRestricted({name:"CronjobController",allowedEvents:["SnapController:snapInstalled","SnapController:snapUpdated","SnapController:snapUninstalled","SnapController:snapEnabled","SnapController:snapDisabled"],allowedActions:[`${this.permissionController.name}:getPermissions`,"SnapController:handleRequest","SnapController:getAll"]});this.cronjobController=new G.CronjobController({state:s.CronjobController,messenger:je});const Oe=this.controllerMessenger.getRestricted({name:"SnapsRegistry",allowedEvents:[],allowedActions:[]});this.snapsRegistry=new G.JsonSnapsRegistry({state:s.SnapsRegistry,messenger:Oe,refetchOnAllowlistMiss:Me,url:{registry:"https://acl.execution.metamask.io/latest/registry.json",signature:"https://acl.execution.metamask.io/latest/signature.json"},publicKey:"0x025b65308f0f0fb8bc7f7ff87bfc296e0330eee5d3c1d1ee4a048b2fd6a86fa0a6"});const xe=this.controllerMessenger.getRestricted({name:"SnapInterfaceController",allowedActions:[`${this.phishingController.name}:maybeUpdateState`,`${this.phishingController.name}:testOrigin`]});this.snapInterfaceController=new G.SnapInterfaceController({state:s.SnapInterfaceController,messenger:xe}),this.authenticationController=new ft.default({state:s.AuthenticationController,messenger:this.controllerMessenger.getRestricted({name:"AuthenticationController",allowedActions:["KeyringController:getState","SnapController:handleRequest","UserStorageController:disableProfileSyncing"],allowedEvents:["KeyringController:lock","KeyringController:unlock"]}),metametrics:{getMetaMetricsId:()=>this.metaMetricsController.getMetaMetricsId()}}),this.userStorageController=new gt.default({getMetaMetricsState:()=>this.metaMetricsController.state.participateInMetaMetrics,state:s.UserStorageController,messenger:this.controllerMessenger.getRestricted({name:"UserStorageController",allowedActions:["KeyringController:getState","SnapController:handleRequest","AuthenticationController:getBearerToken","AuthenticationController:getSessionProfile","AuthenticationController:isSignedIn","AuthenticationController:performSignOut","AuthenticationController:performSignIn","MetamaskNotificationsController:disableMetamaskNotifications","MetamaskNotificationsController:selectIsMetamaskNotificationsEnabled"],allowedEvents:["KeyringController:lock","KeyringController:unlock"]})});const Be=this.controllerMessenger.getRestricted({name:"PushPlatformNotificationsController",allowedActions:["AuthenticationController:getBearerToken"]});this.pushPlatformNotificationsController=new vt.PushPlatformNotificationsController({state:s.PushPlatformNotificationsController,messenger:Be}),Be.subscribe("PushPlatformNotificationsController:onNewNotifications",(e=>{this.metaMetricsController.trackEvent({event:ue.MetaMetricsEventName.PushNotificationReceived,category:ue.MetaMetricsEventCategory.PushNotifications,properties:{notification_type:e.type,chain_id:null==e?void 0:e.chain_id}})})),Be.subscribe("PushPlatformNotificationsController:pushNotificationClicked",(e=>{this.metaMetricsController.trackEvent({event:ue.MetaMetricsEventName.PushNotificationClicked,category:ue.MetaMetricsEventCategory.PushNotifications,properties:{notification_type:e.type,chain_id:null==e?void 0:e.chain_id}})})),this.metamaskNotificationsController=new wt.MetamaskNotificationsController({messenger:this.controllerMessenger.getRestricted({name:"MetamaskNotificationsController",allowedActions:["KeyringController:getAccounts","KeyringController:getState","AuthenticationController:getBearerToken","AuthenticationController:isSignedIn","UserStorageController:enableProfileSyncing","UserStorageController:getStorageKey","UserStorageController:performGetStorage","UserStorageController:performSetStorage","PushPlatformNotificationsController:enablePushNotifications","PushPlatformNotificationsController:disablePushNotifications","PushPlatformNotificationsController:updateTriggerPushNotifications"],allowedEvents:["KeyringController:stateChange","KeyringController:lock","KeyringController:unlock","PushPlatformNotificationsController:onNewNotifications"]}),state:s.MetamaskNotificationsController}),this.accountTracker=new Re.default({provider:this.provider,blockTracker:this.blockTracker,getCurrentChainId:()=>this.networkController.state.providerConfig.chainId,getNetworkIdentifier:e=>{const{type:t,rpcUrl:r}=e??this.networkController.state.providerConfig;return t===ne.NETWORK_TYPES.RPC?r:t},preferencesController:this.preferencesController,onboardingController:this.onboardingController,controllerMessenger:this.controllerMessenger.getRestricted({name:"AccountTracker",allowedEvents:["AccountsController:selectedAccountChange"],allowedActions:["AccountsController:getSelectedAccount"]}),initState:{accounts:{}},onAccountRemoved:this.controllerMessenger.subscribe.bind(this.controllerMessenger,"KeyringController:accountRemoved")}),this.on("controllerConnectionChanged",(e=>{const{completedOnboarding:t}=this.onboardingController.store.getState();e>0&&t?this.triggerNetworkrequests():this.stopNetworkRequests()})),this.onboardingController.store.subscribe((0,Xe.previousValueComparator)((async(e,t)=>{const{completedOnboarding:r}=e,{completedOnboarding:n}=t;if(!r&&n){const{address:e}=this.accountsController.getSelectedAccount();this._addAccountsWithBalance(),this.postOnboardingInitialization(),this.triggerNetworkrequests(),await this.tokenDetectionController.detectTokens({selectedAddress:e})}}),this.onboardingController.store.getState())),this.desktopController=new q.DesktopController({initState:s.DesktopController});const De=this.controllerMessenger.getRestricted({name:"TokenDetectionController",allowedActions:["AccountsController:getSelectedAccount","KeyringController:getState","NetworkController:getNetworkClientById","NetworkController:getNetworkConfigurationByNetworkClientId","NetworkController:getState","PreferencesController:getState","TokenListController:getState","TokensController:getState","TokensController:addDetectedTokens"],allowedEvents:["AccountsController:selectedAccountChange","KeyringController:lock","KeyringController:unlock","NetworkController:networkDidChange","PreferencesController:stateChange","TokenListController:stateChange"]});this.tokenDetectionController=new i.TokenDetectionController({messenger:De,getBalancesInSingleCall:this.assetsContractController.getBalancesInSingleCall.bind(this.assetsContractController),trackMetaMetricsEvent:this.metaMetricsController.trackEvent.bind(this.metaMetricsController)}),this.addressBookController=new A.AddressBookController(undefined,s.AddressBookController),this.alertController=new $e.default({initState:s.AlertController,preferencesStore:this.preferencesController.store,controllerMessenger:this.controllerMessenger.getRestricted({name:"AlertController",allowedEvents:["AccountsController:selectedAccountChange"],allowedActions:["AccountsController:getSelectedAccount"]})}),this.backup=new qe.default({preferencesController:this.preferencesController,addressBookController:this.addressBookController,accountsController:this.accountsController,networkController:this.networkController,trackMetaMetricsEvent:this.metaMetricsController.trackEvent.bind(this.metaMetricsController)}),this.snapAndHardwareMetricsParams={getSelectedAccount:this.accountsController.getSelectedAccount.bind(this.accountsController),getAccountType:this.getAccountType.bind(this),getDeviceModel:this.getDeviceModel.bind(this),snapAndHardwareMessenger:this.controllerMessenger.getRestricted({name:"SnapAndHardwareMessenger",allowedActions:["KeyringController:getKeyringForAccount","SnapController:get","AccountsController:getSelectedAccount"]})};const Ue=this.controllerMessenger.getRestricted({name:"TransactionController",allowedActions:[`${this.approvalController.name}:addRequest`,"NetworkController:findNetworkClientIdByChainId","NetworkController:getNetworkClientById"],allowedEvents:["NetworkController:stateChange"]});this.txController=new X.TransactionController({blockTracker:this.blockTracker,getCurrentNetworkEIP1559Compatibility:this.networkController.getEIP1559Compatibility.bind(this.networkController),getCurrentAccountEIP1559Compatibility:this.getCurrentAccountEIP1559Compatibility.bind(this),getExternalPendingTransactions:this.getExternalPendingTransactions.bind(this),getGasFeeEstimates:this.gasFeeController.fetchGasFeeEstimates.bind(this.gasFeeController),getNetworkClientRegistry:this.networkController.getNetworkClientRegistry.bind(this.networkController),getNetworkState:()=>this.networkController.state,getPermittedAccounts:this.getPermittedAccounts.bind(this),getSavedGasFees:()=>this.preferencesController.store.getState().advancedGasFee[this.networkController.state.providerConfig.chainId],getSelectedAddress:()=>this.accountsController.getSelectedAccount().address,incomingTransactions:{includeTokenTransfers:!1,isEnabled:()=>{var e;return Boolean((null===(e=this.preferencesController.store.getState().incomingTransactionsPreferences)||void 0===e?void 0:e[this.networkController.state.providerConfig.chainId])&&this.onboardingController.store.getState().completedOnboarding)},queryEntireHistory:!1,updateTransactions:!1},isMultichainEnabled:"",isSimulationEnabled:()=>this.preferencesController.store.getState().useTransactionSimulations,messenger:Ue,onNetworkStateChange:e=>{l.subscribe("NetworkController:networkDidChange",(()=>e()))},pendingTransactions:{isResubmitEnabled:()=>{const e=this._getMetaMaskState();return!((0,ke.getSmartTransactionsOptInStatus)(e)&&(0,ke.getCurrentChainSupportsSmartTransactions)(e))}},provider:this.provider,testGasFeeFlows:!1,hooks:{publish:this._publishSmartTransactionHook.bind(this)},sign:(...e)=>this.keyringController.signTransaction(...e),state:s.TransactionController}),this._addTransactionControllerListeners(),this.decryptMessageController=new Ve.default({getState:this.getState.bind(this),messenger:this.controllerMessenger.getRestricted({name:"DecryptMessageController",allowedActions:[`${this.approvalController.name}:addRequest`,`${this.approvalController.name}:acceptRequest`,`${this.approvalController.name}:rejectRequest`,`${this.keyringController.name}:decryptMessage`]}),metricsEvent:this.metaMetricsController.trackEvent.bind(this.metaMetricsController)}),this.encryptionPublicKeyController=new tt.default({messenger:this.controllerMessenger.getRestricted({name:"EncryptionPublicKeyController",allowedActions:[`${this.approvalController.name}:addRequest`,`${this.approvalController.name}:acceptRequest`,`${this.approvalController.name}:rejectRequest`]}),getEncryptionPublicKey:this.keyringController.getEncryptionPublicKey.bind(this.keyringController),getAccountKeyringType:this.keyringController.getAccountKeyringType.bind(this.keyringController),getState:this.getState.bind(this),metricsEvent:this.metaMetricsController.trackEvent.bind(this.metaMetricsController)}),this.signatureController=new $.SignatureController({messenger:this.controllerMessenger.getRestricted({name:"SignatureController",allowedActions:[`${this.approvalController.name}:addRequest`,`${this.keyringController.name}:signMessage`,`${this.keyringController.name}:signPersonalMessage`,`${this.keyringController.name}:signTypedMessage`,`${this.loggingController.name}:add`]}),isEthSignEnabled:()=>{var e;return null===(e=this.preferencesController.store.getState())||void 0===e||null===(e=e.disabledRpcMethodPreferences)||void 0===e?void 0:e.eth_sign},getAllState:this.getState.bind(this),getCurrentChainId:()=>this.networkController.state.providerConfig.chainId}),this.signatureController.hub.on("cancelWithReason",(({message:e,reason:t})=>{this.metaMetricsController.trackEvent({event:t,category:ue.MetaMetricsEventCategory.Transactions,properties:{action:"Sign Request",type:e.type}})})),this.swapsController=new ze.default({getBufferedGasLimit:async(e,t)=>{const{gas:r,simulationFails:n}=await this.txController.estimateGasBuffered(e.txParams,t);return{gasLimit:r,simulationFails:n}},provider:this.provider,getProviderConfig:()=>this.networkController.state.providerConfig,getTokenRatesState:()=>this.tokenRatesController.state,getCurrentChainId:()=>this.networkController.state.providerConfig.chainId,getEIP1559GasFeeEstimates:this.gasFeeController.fetchGasFeeEstimates.bind(this.gasFeeController),getLayer1GasFee:this.txController.getLayer1GasFee.bind(this.txController),getNetworkClientId:()=>this.networkController.state.selectedNetworkClientId,trackMetaMetricsEvent:this.metaMetricsController.trackEvent.bind(this.metaMetricsController)},s.SwapsController),this.smartTransactionsController=new x.default({getNetworkClientById:this.networkController.getNetworkClientById.bind(this.networkController),onNetworkStateChange:l.subscribe.bind(l,"NetworkController:stateChange"),getNonceLock:this.txController.getNonceLock.bind(this.txController),confirmExternalTransaction:this.txController.confirmExternalTransaction.bind(this.txController),getTransactions:this.txController.getTransactions.bind(this.txController),provider:this.provider,trackMetaMetricsEvent:this.metaMetricsController.trackEvent.bind(this.metaMetricsController)},{supportedChainIds:(0,se.getAllowedSmartTransactionsChainIds)()},s.SmartTransactionsController);const Ge=()=>this.preferencesController.store.getState().useExternalNameSources;this.nameController=new J.NameController({messenger:this.controllerMessenger.getRestricted({name:"NameController",allowedActions:[]}),providers:[new J.ENSNameProvider({reverseLookup:this.ensController.reverseResolveAddress.bind(this.ensController)}),new J.EtherscanNameProvider({isEnabled:Ge}),new J.TokenNameProvider({isEnabled:Ge}),new J.LensNameProvider({isEnabled:Ge}),new Te.SnapsNameProvider({messenger:this.controllerMessenger.getRestricted({name:"SnapsNameProvider",allowedActions:["SnapController:getAll","SnapController:get","SnapController:handleRequest","PermissionController:getState"]})})],state:s.NameController});const Qe=this.controllerMessenger.getRestricted({name:"PetnamesBridge",allowedEvents:["NameController:stateChange","AccountsController:stateChange"],allowedActions:["AccountsController:listAccounts"]});new Ae.AddressBookPetnamesBridge({addressBookController:this.addressBookController,nameController:this.nameController,messenger:Qe}).init(),new Ee.AccountIdentitiesPetnamesBridge({nameController:this.nameController,messenger:Qe}).init(),this.userOperationController=new Q.UserOperationController({entrypoint:"0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789",getGasFeeEstimates:this.gasFeeController.fetchGasFeeEstimates.bind(this.gasFeeController),messenger:this.controllerMessenger.getRestricted({name:"UserOperationController",allowedActions:["ApprovalController:addRequest","NetworkController:getNetworkClientById","KeyringController:prepareUserOperation","KeyringController:patchUserOperation","KeyringController:signUserOperation"]}),state:s.UserOperationController}),this.userOperationController.hub.on("user-operation-added",this._onUserOperationAdded.bind(this)),this.userOperationController.hub.on("transaction-updated",this._onUserOperationTransactionUpdated.bind(this)),l.subscribe("NetworkController:networkDidChange",(()=>{this.accountTracker.updateAccounts()})),l.subscribe("NetworkController:networkWillChange",a.bind(this)),this.metamaskMiddleware=(0,Ze.default)({static:{eth_syncing:!1,web3_clientVersion:`MetaMask/v${o}`},version:o,getAccounts:async({origin:e},{suppressUnauthorizedError:t=!0}={})=>{if(e===de.ORIGIN_METAMASK){const e=this.accountsController.getSelectedAccount().address;return e?[e]:[]}return this.isUnlocked()?await this.getPermittedAccounts(e,{suppressUnauthorizedError:t}):[]},processTransaction:(e,t)=>(0,ut.addDappTransaction)(this.getAddTransactionRequest({transactionParams:e,dappRequest:t})),processEthSignMessage:this.signatureController.newUnsignedMessage.bind(this.signatureController),processTypedMessage:this.signatureController.newUnsignedTypedMessage.bind(this.signatureController),processTypedMessageV3:this.signatureController.newUnsignedTypedMessage.bind(this.signatureController),processTypedMessageV4:this.signatureController.newUnsignedTypedMessage.bind(this.signatureController),processPersonalMessage:this.signatureController.newUnsignedPersonalMessage.bind(this.signatureController),processEncryptionPublicKey:this.encryptionPublicKeyController.newRequestEncryptionPublicKey.bind(this.encryptionPublicKeyController),processDecryptMessage:this.decryptMessageController.newRequestDecryptMessage.bind(this.decryptMessageController),getPendingNonce:this.getPendingNonce.bind(this),getPendingTransactionByHash:e=>this.txController.state.transactions.find((t=>t.hash===e&&t.status===X.TransactionStatus.submitted))}),this.on("update",(e=>this._onStateUpdate(e)));const st={AccountTracker:this.accountTracker.store,TokenRatesController:this.tokenRatesController,DecryptMessageController:this.decryptMessageController,EncryptionPublicKeyController:this.encryptionPublicKeyController,SignatureController:this.signatureController,SwapsController:this.swapsController.store,EnsController:this.ensController,ApprovalController:this.approvalController,PPOMController:this.ppomController};this.store.updateStructure({AccountsController:this.accountsController,AppStateController:this.appStateController.store,AppMetadataController:this.appMetadataController.store,TransactionController:this.txController,KeyringController:this.keyringController,PreferencesController:this.preferencesController.store,MetaMetricsController:this.metaMetricsController.store,AddressBookController:this.addressBookController,CurrencyController:this.currencyRateController,NetworkController:this.networkController,AlertController:this.alertController.store,OnboardingController:this.onboardingController.store,PermissionController:this.permissionController,PermissionLogController:this.permissionLogController,SubjectMetadataController:this.subjectMetadataController,AnnouncementController:this.announcementController,NetworkOrderController:this.networkOrderController,AccountOrderController:this.accountOrderController,GasFeeController:this.gasFeeController,TokenListController:this.tokenListController,TokensController:this.tokensController,SmartTransactionsController:this.smartTransactionsController,NftController:this.nftController,PhishingController:this.phishingController,SelectedNetworkController:this.selectedNetworkController,LoggingController:this.loggingController,SnapController:this.snapController,CronjobController:this.cronjobController,SnapsRegistry:this.snapsRegistry,NotificationController:this.notificationController,SnapInterfaceController:this.snapInterfaceController,DesktopController:this.desktopController.store,PPOMController:this.ppomController,NameController:this.nameController,UserOperationController:this.userOperationController,AuthenticationController:this.authenticationController,UserStorageController:this.userStorageController,MetamaskNotificationsController:this.metamaskNotificationsController,PushPlatformNotificationsController:this.pushPlatformNotificationsController,...st}),this.memStore=new Ie.default({config:{AccountsController:this.accountsController,AppStateController:this.appStateController.store,AppMetadataController:this.appMetadataController.store,NetworkController:this.networkController,KeyringController:this.keyringController,PreferencesController:this.preferencesController.store,MetaMetricsController:this.metaMetricsController.store,AddressBookController:this.addressBookController,CurrencyController:this.currencyRateController,AlertController:this.alertController.store,OnboardingController:this.onboardingController.store,PermissionController:this.permissionController,PermissionLogController:this.permissionLogController,SubjectMetadataController:this.subjectMetadataController,AnnouncementController:this.announcementController,NetworkOrderController:this.networkOrderController,AccountOrderController:this.accountOrderController,GasFeeController:this.gasFeeController,TokenListController:this.tokenListController,TokensController:this.tokensController,SmartTransactionsController:this.smartTransactionsController,NftController:this.nftController,SelectedNetworkController:this.selectedNetworkController,LoggingController:this.loggingController,TxController:this.txController,SnapController:this.snapController,CronjobController:this.cronjobController,SnapsRegistry:this.snapsRegistry,NotificationController:this.notificationController,SnapInterfaceController:this.snapInterfaceController,DesktopController:this.desktopController.store,NameController:this.nameController,UserOperationController:this.userOperationController,AuthenticationController:this.authenticationController,UserStorageController:this.userStorageController,MetamaskNotificationsController:this.metamaskNotificationsController,QueuedRequestController:this.queuedRequestController,PushPlatformNotificationsController:this.pushPlatformNotificationsController,...st},controllerMessenger:this.controllerMessenger});const ot=[this.accountTracker.resetState,this.decryptMessageController.resetState.bind(this.decryptMessageController),this.encryptionPublicKeyController.resetState.bind(this.encryptionPublicKeyController),this.signatureController.resetState.bind(this.signatureController),this.swapsController.resetState,this.ensController.resetState.bind(this.ensController),this.approvalController.clear.bind(this.approvalController)];we.isManifestV3?!0===n&&(this.resetStates(ot),this.extension.storage.session.set({isFirstMetaMaskControllerSetup:!1})):this.resetStates(ot);!this.isUnlocked()&&this.onboardingController.store.getState().completedOnboarding,this._startUISync(),this.extension.runtime.getPlatformInfo().then((({os:e})=>{this.appStateController.setBrowserEnvironment(e,this.extension.runtime.getBrowserInfo===undefined?"chrome":"firefox")})),this.setupControllerEventSubscriptions(),this.publicConfigStore=this.createPublicConfigStore(),this.extension.runtime.onMessageExternal.addListener(Ne.onMessageReceived),(0,Ne.checkForMultipleVersionsRunning)(),this.onboardingController.store.getState().completedOnboarding&&this.postOnboardingInitialization()}postOnboardingInitialization(){const{usePhishDetect:e}=this.preferencesController.store.getState();this.networkController.lookupNetwork(),e&&this.phishingController.maybeUpdateState()}triggerNetworkrequests(){this.accountTracker.start(),this.txController.startIncomingTransactionPolling(),this.tokenDetectionController.enable();const e=this.preferencesController.store.getState(),{useCurrencyRateCheck:t,useNftDetection:r}=e;r&&this.nftDetectionController.start(),t&&this.tokenRatesController.start(),Tt(this,Mt,Rt).call(this,e)&&this.tokenListController.start()}stopNetworkRequests(){this.accountTracker.stop(),this.txController.stopIncomingTransactionPolling(),this.tokenDetectionController.disable(),this.nftDetectionController.stop();const e=this.preferencesController.store.getState(),{useCurrencyRateCheck:t}=e;t&&this.tokenRatesController.stop(),Tt(this,Mt,Rt).call(this,e)&&this.tokenListController.stop()}resetStates(e){e.forEach((e=>{try{e()}catch(e){console.error(e)}}))}async getSnapKeyring(){let[e]=this.keyringController.getKeyringsByType(oe.KeyringType.snap);return e||(e=await this.keyringController.addNewKeyring(oe.KeyringType.snap)),e}trackInsightSnapView(e){this.metaMetricsController.trackEvent({event:ue.MetaMetricsEventName.InsightSnapViewed,category:ue.MetaMetricsEventCategory.Snaps,properties:{snap_id:e}})}_getSnapMetadata(e){var t;return null===(t=this.snapsRegistry.state.database)||void 0===t||null===(t=t.verifiedSnaps)||void 0===t||null===(t=t[e])||void 0===t?void 0:t.metadata}async handleSnapRequest(e){try{const t=await this.controllerMessenger.call("SnapController:handleRequest",e);return this._trackSnapExportUsage(e.snapId,e.handler,!0,e.origin),t}catch(t){throw this._trackSnapExportUsage(e.snapId,e.handler,!1,e.origin),t}}getLocale(){const{currentLocale:e}=this.preferencesController.store.getState();return e}getSnapPermissionSpecifications(){return{...(0,K.buildSnapEndowmentSpecifications)(Object.keys(ae.ExcludedSnapEndowments)),...(0,K.buildSnapRestrictedMethodSpecifications)(Object.keys(ae.ExcludedSnapPermissions),{getLocale:this.getLocale.bind(this),clearSnapState:this.controllerMessenger.call.bind(this.controllerMessenger,"SnapController:clearSnapState"),getMnemonic:this.getPrimaryKeyringMnemonic.bind(this),getUnlockPromise:this.appStateController.getUnlockPromise.bind(this.appStateController),getSnap:this.controllerMessenger.call.bind(this.controllerMessenger,"SnapController:get"),handleSnapRpcRequest:this.handleSnapRequest.bind(this),getSnapState:this.controllerMessenger.call.bind(this.controllerMessenger,"SnapController:getSnapState"),showDialog:(e,t,r,n)=>this.approvalController.addAndShowApprovalRequest({origin:e,type:de.SNAP_DIALOG_TYPES[t],requestData:{id:r,placeholder:n}}),showNativeNotification:(e,t)=>this.controllerMessenger.call("RateLimitController:call",e,"showNativeNotification",e,t.message),showInAppNotification:(e,t)=>this.controllerMessenger.call("RateLimitController:call",e,"showInAppNotification",e,t.message),updateSnapState:this.controllerMessenger.call.bind(this.controllerMessenger,"SnapController:updateSnapState"),maybeUpdatePhishingList:()=>{const{usePhishDetect:e}=this.preferencesController.store.getState();e&&this.controllerMessenger.call("PhishingController:maybeUpdateState")},isOnPhishingList:e=>{const{usePhishDetect:t}=this.preferencesController.store.getState();return!!t&&this.controllerMessenger.call("PhishingController:testOrigin",e).result},createInterface:this.controllerMessenger.call.bind(this.controllerMessenger,"SnapInterfaceController:createInterface"),getInterface:this.controllerMessenger.call.bind(this.controllerMessenger,"SnapInterfaceController:getInterface"),getSnapKeyring:this.getSnapKeyring.bind(this)})}}dismissNotifications(e){this.notificationController.dismiss(e)}markNotificationsAsRead(e){this.notificationController.markRead(e)}setupControllerEventSubscriptions(){let e;this.preferencesController.store.subscribe((0,Xe.previousValueComparator)(((e,t)=>{Tt(this,At,Nt).call(this,t,e)}),this.preferencesController.store.getState())),this.controllerMessenger.subscribe(`${this.accountsController.name}:selectedAccountChange`,(async t=>{t.address&&t.address!==e&&(e=t.address,await this._onAccountChange(t.address))})),this.controllerMessenger.subscribe(`${this.permissionController.name}:stateChange`,(async(e,t)=>{const r=(0,nt.getChangedAccounts)(e,t);for(const[e,t]of r.entries())this._notifyAccountsChange(e,t)}),nt.getPermittedAccountsByOrigin),this.controllerMessenger.subscribe("NetworkController:networkDidChange",(async()=>{await this.txController.updateIncomingTransactions()})),this.controllerMessenger.subscribe(`${this.snapController.name}:snapInstallStarted`,((e,t,r)=>{var n;const s=null===(n=this._getSnapMetadata(e))||void 0===n?void 0:n.category;this.metaMetricsController.trackEvent({event:r?ue.MetaMetricsEventName.SnapUpdateStarted:ue.MetaMetricsEventName.SnapInstallStarted,category:ue.MetaMetricsEventCategory.Snaps,properties:{snap_id:e,origin:t,snap_category:s}})})),this.controllerMessenger.subscribe(`${this.snapController.name}:snapInstallFailed`,((e,t,r,n)=>{var s;const i=n.includes("User rejected the request."),o=r?ue.MetaMetricsEventName.SnapUpdateFailed:ue.MetaMetricsEventName.SnapInstallFailed,a=r?ue.MetaMetricsEventName.SnapUpdateRejected:ue.MetaMetricsEventName.SnapInstallRejected,l=null===(s=this._getSnapMetadata(e))||void 0===s?void 0:s.category;this.metaMetricsController.trackEvent({event:i?a:o,category:ue.MetaMetricsEventCategory.Snaps,properties:{snap_id:e,origin:t,snap_category:l}})})),this.controllerMessenger.subscribe(`${this.snapController.name}:snapInstalled`,((e,t)=>{var r;const n=e.id,s=null===(r=this._getSnapMetadata(n))||void 0===r?void 0:r.category;this.metaMetricsController.trackEvent({event:ue.MetaMetricsEventName.SnapInstalled,category:ue.MetaMetricsEventCategory.Snaps,properties:{snap_id:n,version:e.version,origin:t,snap_category:s}})})),this.controllerMessenger.subscribe(`${this.snapController.name}:snapUpdated`,((e,t,r)=>{var n;const s=e.id,i=null===(n=this._getSnapMetadata(s))||void 0===n?void 0:n.category;this.metaMetricsController.trackEvent({event:ue.MetaMetricsEventName.SnapUpdated,category:ue.MetaMetricsEventCategory.Snaps,properties:{snap_id:s,old_version:t,new_version:e.version,origin:r,snap_category:i}})})),this.controllerMessenger.subscribe(`${this.snapController.name}:snapTerminated`,(e=>{const t=Object.values(this.approvalController.state.pendingApprovals).filter((t=>t.origin===e.id&&t.type.startsWith(ae.RestrictedMethods.snap_dialog)));for(const e of t)this.approvalController.reject(e.id,new Error("Snap was terminated."))})),this.controllerMessenger.subscribe(`${this.snapController.name}:snapUninstalled`,(e=>{var t;const r=Object.values(this.notificationController.state.notifications).reduce(((t,r)=>(r.origin===e.id&&t.push(r.id),t)),[]);this.dismissNotifications(r);const n=e.id,s=null===(t=this._getSnapMetadata(n))||void 0===t?void 0:t.category;this.metaMetricsController.trackEvent({event:ue.MetaMetricsEventName.SnapUninstalled,category:ue.MetaMetricsEventCategory.Snaps,properties:{snap_id:n,version:e.version,snap_category:s}})}))}createPublicConfigStore(){const e=new o.ObservableStore,t=async({isUnlocked:e})=>{const{chainId:t,networkVersion:r}=await this.getProviderNetworkState();return{isUnlocked:e,chainId:t,networkVersion:r??"loading"}},r=async r=>{var n;(null===(n=r.networksMetadata[r.selectedNetworkClientId])||void 0===n?void 0:n.status)===ne.NetworkStatus.Available&&e.putState(await t(r))};return this.on("update",r),r(this.getState()),e}async getProviderState(e){const t=await this.getProviderNetworkState(this.preferencesController.getUseRequestQueue()?e:undefined);return{isUnlocked:this.isUnlocked(),accounts:await this.getPermittedAccounts(e),...t}}async getProviderNetworkState(e=B.METAMASK_DOMAIN){const t=this.controllerMessenger.call("SelectedNetworkController:getNetworkClientIdForDomain",e),r=this.controllerMessenger.call("NetworkController:getNetworkClientById",t),{chainId:n}=r.configuration,{completedOnboarding:s}=this.onboardingController.store.getState();let i=this.deprecatedNetworkVersions[t];if(!i&&s){const e=new C.default(r.provider);i=await new Promise((t=>{e.sendAsync({method:"net_version"},((e,r)=>{e?(console.error(e),t(null)):t((0,ye.convertNetworkId)(r))}))})),this.deprecatedNetworkVersions[t]=i}return{chainId:n,networkVersion:i??"loading"}}getState(){const{vault:e}=this.keyringController.state,t=Boolean(e),r=this.memStore.getFlatState();return delete r.vault,{isInitialized:t,...r,snapStates:{},unencryptedSnapStates:{},snaps:Object.values(r.snaps??{}).reduce(((e,t)=>{const{sourceCode:r,auxiliaryFiles:n,...s}=t;return e[t.id]=s,e}),{})}}getApi(){const{accountsController:e,addressBookController:t,alertController:r,appStateController:n,keyringController:s,nftController:i,nftDetectionController:o,currencyRateController:a,tokenDetectionController:l,ensController:c,gasFeeController:d,metaMetricsController:u,networkController:h,announcementController:p,onboardingController:m,appMetadataController:f,permissionController:g,preferencesController:v,swapsController:w,tokensController:y,smartTransactionsController:k,txController:b,assetsContractController:C,backup:_,approvalController:S,phishingController:T,authenticationController:A,userStorageController:E,metamaskNotificationsController:M,pushPlatformNotificationsController:P}=this;return{getState:this.getState.bind(this),setCurrentCurrency:a.setCurrentCurrency.bind(a),setUseBlockie:v.setUseBlockie.bind(v),setUseNonceField:v.setUseNonceField.bind(v),setUsePhishDetect:v.setUsePhishDetect.bind(v),setUseMultiAccountBalanceChecker:v.setUseMultiAccountBalanceChecker.bind(v),dismissOpenSeaToBlockaidBanner:v.dismissOpenSeaToBlockaidBanner.bind(v),setUseSafeChainsListValidation:v.setUseSafeChainsListValidation.bind(v),setUseTokenDetection:v.setUseTokenDetection.bind(v),setUseNftDetection:v.setUseNftDetection.bind(v),setUse4ByteResolution:v.setUse4ByteResolution.bind(v),setUseCurrencyRateCheck:v.setUseCurrencyRateCheck.bind(v),setOpenSeaEnabled:v.setOpenSeaEnabled.bind(v),getUseRequestQueue:this.preferencesController.getUseRequestQueue.bind(this.preferencesController),getProviderConfig:()=>this.networkController.state.providerConfig,setSecurityAlertsEnabled:v.setSecurityAlertsEnabled.bind(v),setAddSnapAccountEnabled:v.setAddSnapAccountEnabled.bind(v),setUseExternalNameSources:v.setUseExternalNameSources.bind(v),setUseTransactionSimulations:v.setUseTransactionSimulations.bind(v),setUseRequestQueue:this.setUseRequestQueue.bind(this),setIpfsGateway:v.setIpfsGateway.bind(v),setIsIpfsGatewayEnabled:v.setIsIpfsGatewayEnabled.bind(v),setUseAddressBarEnsResolution:v.setUseAddressBarEnsResolution.bind(v),setParticipateInMetaMetrics:u.setParticipateInMetaMetrics.bind(u),setDataCollectionForMarketing:u.setDataCollectionForMarketing.bind(u),setCurrentLocale:v.setCurrentLocale.bind(v),setIncomingTransactionsPreferences:v.setIncomingTransactionsPreferences.bind(v),setServiceWorkerKeepAlivePreference:v.setServiceWorkerKeepAlivePreference.bind(v),markPasswordForgotten:this.markPasswordForgotten.bind(this),unMarkPasswordForgotten:this.unMarkPasswordForgotten.bind(this),getRequestAccountTabIds:this.getRequestAccountTabIds,getOpenMetamaskTabsIds:this.getOpenMetamaskTabsIds,markNotificationPopupAsAutomaticallyClosed:()=>this.notificationManager.markAsAutomaticallyClosed(),requestUserApproval:S.addAndShowApprovalRequest.bind(S),addNewAccount:this.addNewAccount.bind(this),getSeedPhrase:this.getSeedPhrase.bind(this),resetAccount:this.resetAccount.bind(this),removeAccount:this.removeAccount.bind(this),importAccountWithStrategy:this.importAccountWithStrategy.bind(this),getNextAvailableAccountName:e.getNextAvailableAccountName.bind(e),getAccountsBySnapId:e=>(0,ct.getAccountsBySnapId)(this,e),connectHardware:this.connectHardware.bind(this),forgetDevice:this.forgetDevice.bind(this),checkHardwareStatus:this.checkHardwareStatus.bind(this),unlockHardwareWalletAccount:this.unlockHardwareWalletAccount.bind(this),attemptLedgerTransportCreation:this.attemptLedgerTransportCreation.bind(this),submitQRHardwareCryptoHDKey:s.submitQRCryptoHDKey.bind(s),submitQRHardwareCryptoAccount:s.submitQRCryptoAccount.bind(s),cancelSyncQRHardware:s.cancelQRSynchronization.bind(s),submitQRHardwareSignature:s.submitQRSignature.bind(s),cancelQRHardwareSignRequest:s.cancelQRSignRequest.bind(s),submitPassword:this.submitPassword.bind(this),verifyPassword:this.verifyPassword.bind(this),setProviderType:e=>this.networkController.setProviderType(e),setActiveNetwork:e=>this.networkController.setActiveNetwork(e),setActiveNetworkConfigurationId:e=>{this.networkController.setActiveNetwork(e)},setNetworkClientIdForDomain:(e,t)=>this.selectedNetworkController.setNetworkClientIdForDomain(e,t),rollbackToPreviousProvider:h.rollbackToPreviousProvider.bind(h),removeNetworkConfiguration:this.removeNetworkConfiguration.bind(this),upsertNetworkConfiguration:this.networkController.upsertNetworkConfiguration.bind(this.networkController),getCurrentNetworkEIP1559Compatibility:this.networkController.getEIP1559Compatibility.bind(this.networkController),getNetworkConfigurationByNetworkClientId:this.networkController.getNetworkConfigurationByNetworkClientId.bind(this.networkController),setSelectedAddress:e=>{const t=this.accountsController.getAccountByAddress(e);if(!t)throw new Error(`No account found for address: ${e}`);this.accountsController.setSelectedAccount(t.id)},toggleExternalServices:this.toggleExternalServices.bind(this),addToken:y.addToken.bind(y),updateTokenType:y.updateTokenType.bind(y),setFeatureFlag:v.setFeatureFlag.bind(v),setPreference:v.setPreference.bind(v),addKnownMethodData:v.addKnownMethodData.bind(v),setDismissSeedBackUpReminder:v.setDismissSeedBackUpReminder.bind(v),setDisabledRpcMethodPreference:v.setDisabledRpcMethodPreference.bind(v),getRpcMethodPreferences:v.getRpcMethodPreferences.bind(v),setAdvancedGasFee:v.setAdvancedGasFee.bind(v),setTheme:v.setTheme.bind(v),setSnapsAddSnapAccountModalDismissed:v.setSnapsAddSnapAccountModalDismissed.bind(v),setSelectedInternalAccount:e=>{this.accountsController.getAccount(e)&&this.accountsController.setSelectedAccount(e)},setAccountName:e.setAccountName.bind(e),setAccountLabel:(e,t)=>{this.preferencesController.setAccountLabel(e,t);const r=this.accountsController.getAccountByAddress(e);if(r===undefined)throw new Error(`No account found for address: ${e}`);this.accountsController.setAccountName(r.id,t)},getTokenStandardAndDetails:this.getTokenStandardAndDetails.bind(this),getTokenSymbol:this.getTokenSymbol.bind(this),addNft:i.addNft.bind(i),addNftVerifyOwnership:i.addNftVerifyOwnership.bind(i),removeAndIgnoreNft:i.removeAndIgnoreNft.bind(i),removeNft:i.removeNft.bind(i),checkAndUpdateAllNftsOwnershipStatus:i.checkAndUpdateAllNftsOwnershipStatus.bind(i),checkAndUpdateSingleNftOwnershipStatus:i.checkAndUpdateSingleNftOwnershipStatus.bind(i),isNftOwner:i.isNftOwner.bind(i),setAddressBook:t.set.bind(t),removeFromAddressBook:t.delete.bind(t),setLastActiveTime:n.setLastActiveTime.bind(n),setCurrentExtensionPopupId:n.setCurrentExtensionPopupId.bind(n),setDefaultHomeActiveTabName:n.setDefaultHomeActiveTabName.bind(n),setConnectedStatusPopoverHasBeenShown:n.setConnectedStatusPopoverHasBeenShown.bind(n),setRecoveryPhraseReminderHasBeenShown:n.setRecoveryPhraseReminderHasBeenShown.bind(n),setRecoveryPhraseReminderLastShown:n.setRecoveryPhraseReminderLastShown.bind(n),setTermsOfUseLastAgreed:n.setTermsOfUseLastAgreed.bind(n),setSurveyLinkLastClickedOrClosed:n.setSurveyLinkLastClickedOrClosed.bind(n),setOnboardingDate:n.setOnboardingDate.bind(n),setNewPrivacyPolicyToastClickedOrClosed:n.setNewPrivacyPolicyToastClickedOrClosed.bind(n),setNewPrivacyPolicyToastShownDate:n.setNewPrivacyPolicyToastShownDate.bind(n),setSnapsInstallPrivacyWarningShownStatus:n.setSnapsInstallPrivacyWarningShownStatus.bind(n),setOutdatedBrowserWarningLastShown:n.setOutdatedBrowserWarningLastShown.bind(n),setShowTestnetMessageInDropdown:n.setShowTestnetMessageInDropdown.bind(n),setShowBetaHeader:n.setShowBetaHeader.bind(n),setShowPermissionsTour:n.setShowPermissionsTour.bind(n),setShowAccountBanner:n.setShowAccountBanner.bind(n),setShowNetworkBanner:n.setShowNetworkBanner.bind(n),updateNftDropDownState:n.updateNftDropDownState.bind(n),setFirstTimeUsedNetwork:n.setFirstTimeUsedNetwork.bind(n),setSwitchedNetworkDetails:n.setSwitchedNetworkDetails.bind(n),clearSwitchedNetworkDetails:n.clearSwitchedNetworkDetails.bind(n),setSwitchedNetworkNeverShowMessage:n.setSwitchedNetworkNeverShowMessage.bind(n),tryReverseResolveAddress:c.reverseResolveAddress.bind(c),setLocked:this.setLocked.bind(this),createNewVaultAndKeychain:this.createNewVaultAndKeychain.bind(this),createNewVaultAndRestore:this.createNewVaultAndRestore.bind(this),exportAccount:this.exportAccount.bind(this),updateTransaction:b.updateTransaction.bind(b),approveTransactionsWithSameNonce:b.approveTransactionsWithSameNonce.bind(b),createCancelTransaction:this.createCancelTransaction.bind(this),createSpeedUpTransaction:this.createSpeedUpTransaction.bind(this),estimateGas:this.estimateGas.bind(this),getNextNonce:this.getNextNonce.bind(this),addTransaction:(e,t)=>(0,ut.addTransaction)(this.getAddTransactionRequest({transactionParams:e,transactionOptions:t,waitForSubmit:!1})),addTransactionAndWaitForPublish:(e,t)=>(0,ut.addTransaction)(this.getAddTransactionRequest({transactionParams:e,transactionOptions:t,waitForSubmit:!0})),createTransactionEventFragment:Ce.createTransactionEventFragmentWithTxId.bind(null,this.getTransactionMetricsRequest()),getTransactions:this.txController.getTransactions.bind(this.txController),updateEditableParams:this.txController.updateEditableParams.bind(this.txController),updateTransactionGasFees:b.updateTransactionGasFees.bind(b),updateTransactionSendFlowHistory:b.updateTransactionSendFlowHistory.bind(b),updatePreviousGasParams:b.updatePreviousGasParams.bind(b),abortTransactionSigning:b.abortTransactionSigning.bind(b),getLayer1GasFee:b.getLayer1GasFee.bind(b),decryptMessage:this.decryptMessageController.decryptMessage.bind(this.decryptMessageController),decryptMessageInline:this.decryptMessageController.decryptMessageInline.bind(this.decryptMessageController),cancelDecryptMessage:this.decryptMessageController.cancelDecryptMessage.bind(this.decryptMessageController),encryptionPublicKey:this.encryptionPublicKeyController.encryptionPublicKey.bind(this.encryptionPublicKeyController),cancelEncryptionPublicKey:this.encryptionPublicKeyController.cancelEncryptionPublicKey.bind(this.encryptionPublicKeyController),setShowTokenAutodetectModalOnUpgrade:f.setShowTokenAutodetectModalOnUpgrade.bind(f),setSeedPhraseBackedUp:m.setSeedPhraseBackedUp.bind(m),completeOnboarding:m.completeOnboarding.bind(m),setFirstTimeFlowType:m.setFirstTimeFlowType.bind(m),setAlertEnabledness:r.setAlertEnabledness.bind(r),setUnconnectedAccountAlertShown:r.setUnconnectedAccountAlertShown.bind(r),setWeb3ShimUsageAlertDismissed:r.setWeb3ShimUsageAlertDismissed.bind(r),removePermissionsFor:this.removePermissionsFor,approvePermissionsRequest:this.acceptPermissionsRequest,rejectPermissionsRequest:this.rejectPermissionsRequest,...(0,nt.getPermissionBackgroundApiMethods)(g),disableSnap:this.controllerMessenger.call.bind(this.controllerMessenger,"SnapController:disable"),enableSnap:this.controllerMessenger.call.bind(this.controllerMessenger,"SnapController:enable"),updateSnap:(e,t)=>(this.controllerMessenger.call("SnapController:install",e,t),null),removeSnap:this.controllerMessenger.call.bind(this.controllerMessenger,"SnapController:remove"),handleSnapRequest:this.handleSnapRequest.bind(this),revokeDynamicSnapPermissions:this.controllerMessenger.call.bind(this.controllerMessenger,"SnapController:revokeDynamicPermissions"),dismissNotifications:this.dismissNotifications.bind(this),markNotificationsAsRead:this.markNotificationsAsRead.bind(this),disconnectOriginFromSnap:this.controllerMessenger.call.bind(this.controllerMessenger,"SnapController:disconnectOrigin"),updateNetworksList:this.updateNetworksList.bind(this),updateAccountsList:this.updateAccountsList.bind(this),updateHiddenAccountsList:this.updateHiddenAccountsList.bind(this),getPhishingResult:async e=>(await T.maybeUpdateState(),T.test(e)),deleteInterface:this.controllerMessenger.call.bind(this.controllerMessenger,"SnapInterfaceController:deleteInterface"),updateInterfaceState:this.controllerMessenger.call.bind(this.controllerMessenger,"SnapInterfaceController:updateInterfaceState"),getDesktopEnabled:this.desktopController.getDesktopEnabled.bind(this.desktopController),setDesktopEnabled:this.desktopController.setDesktopEnabled.bind(this.desktopController),generateDesktopOtp:this.desktopController.generateOtp.bind(this.desktopController),testDesktopConnection:this.desktopController.testDesktopConnection.bind(this.desktopController),disableDesktop:this.desktopController.disableDesktop.bind(this.desktopController),fetchAndSetQuotes:w.fetchAndSetQuotes.bind(w),setSelectedQuoteAggId:w.setSelectedQuoteAggId.bind(w),resetSwapsState:w.resetSwapsState.bind(w),setSwapsTokens:w.setSwapsTokens.bind(w),clearSwapsQuotes:w.clearSwapsQuotes.bind(w),setApproveTxId:w.setApproveTxId.bind(w),setTradeTxId:w.setTradeTxId.bind(w),setSwapsTxGasPrice:w.setSwapsTxGasPrice.bind(w),setSwapsTxGasLimit:w.setSwapsTxGasLimit.bind(w),setSwapsTxMaxFeePerGas:w.setSwapsTxMaxFeePerGas.bind(w),setSwapsTxMaxFeePriorityPerGas:w.setSwapsTxMaxFeePriorityPerGas.bind(w),safeRefetchQuotes:w.safeRefetchQuotes.bind(w),stopPollingForQuotes:w.stopPollingForQuotes.bind(w),setBackgroundSwapRouteState:w.setBackgroundSwapRouteState.bind(w),resetPostFetchState:w.resetPostFetchState.bind(w),setSwapsErrorKey:w.setSwapsErrorKey.bind(w),setInitialGasEstimate:w.setInitialGasEstimate.bind(w),setCustomApproveTxData:w.setCustomApproveTxData.bind(w),setSwapsLiveness:w.setSwapsLiveness.bind(w),setSwapsFeatureFlags:w.setSwapsFeatureFlags.bind(w),setSwapsUserFeeLevel:w.setSwapsUserFeeLevel.bind(w),setSwapsQuotesPollingLimitEnabled:w.setSwapsQuotesPollingLimitEnabled.bind(w),fetchSmartTransactionFees:k.getFees.bind(k),clearSmartTransactionFees:k.clearFees.bind(k),submitSignedTransactions:k.submitSignedTransactions.bind(k),cancelSmartTransaction:k.cancelSmartTransaction.bind(k),fetchSmartTransactionsLiveness:k.fetchLiveness.bind(k),updateSmartTransaction:k.updateSmartTransaction.bind(k),setStatusRefreshInterval:k.setStatusRefreshInterval.bind(k),trackMetaMetricsEvent:u.trackEvent.bind(u),trackMetaMetricsPage:u.trackPage.bind(u),createEventFragment:u.createEventFragment.bind(u),updateEventFragment:u.updateEventFragment.bind(u),finalizeEventFragment:u.finalizeEventFragment.bind(u),trackInsightSnapView:this.trackInsightSnapView.bind(this),resolvePendingApproval:this.resolvePendingApproval,rejectPendingApproval:this.rejectPendingApproval,resetViewedNotifications:p.resetViewed.bind(p),updateViewedNotifications:p.updateViewed.bind(p),currencyRateStartPollingByNetworkClientId:a.startPollingByNetworkClientId.bind(a),currencyRateStopPollingByPollingToken:a.stopPollingByPollingToken.bind(a),gasFeeStartPollingByNetworkClientId:d.startPollingByNetworkClientId.bind(d),gasFeeStopPollingByPollingToken:d.stopPollingByPollingToken.bind(d),getGasFeeTimeEstimate:d.getTimeEstimate.bind(d),addPollingTokenToAppState:n.addPollingToken.bind(n),removePollingTokenFromAppState:n.removePollingToken.bind(n),backupUserData:_.backupUserData.bind(_),restoreUserData:_.restoreUserData.bind(_),detectTokens:l.detectTokens.bind(l),detectNfts:o.detectNfts.bind(o),addDetectedTokens:y.addDetectedTokens.bind(y),addImportedTokens:y.addTokens.bind(y),ignoreTokens:y.ignoreTokens.bind(y),getBalancesInSingleCall:C.getBalancesInSingleCall.bind(C),performSignIn:A.performSignIn.bind(A),performSignOut:A.performSignOut.bind(A),enableProfileSyncing:E.enableProfileSyncing.bind(E),disableProfileSyncing:E.disableProfileSyncing.bind(E),setIsProfileSyncingEnabled:E.setIsProfileSyncingEnabled.bind(E),checkAccountsPresence:M.checkAccountsPresence.bind(M),createOnChainTriggers:M.createOnChainTriggers.bind(M),deleteOnChainTriggersByAccount:M.deleteOnChainTriggersByAccount.bind(M),updateOnChainTriggersByAccount:M.updateOnChainTriggersByAccount.bind(M),fetchAndUpdateMetamaskNotifications:M.fetchAndUpdateMetamaskNotifications.bind(M),markMetamaskNotificationsAsRead:M.markMetamaskNotificationsAsRead.bind(M),setFeatureAnnouncementsEnabled:M.setFeatureAnnouncementsEnabled.bind(M),enablePushNotifications:P.enablePushNotifications.bind(P),disablePushNotifications:P.disablePushNotifications.bind(P),updateTriggerPushNotifications:P.updateTriggerPushNotifications.bind(P),enableMetamaskNotifications:M.enableMetamaskNotifications.bind(M),disableMetamaskNotifications:M.disableMetamaskNotifications.bind(M),throwTestError:this.throwTestError.bind(this),updateProposedNames:this.nameController.updateProposedNames.bind(this.nameController),setName:this.nameController.setName.bind(this.nameController)}}async exportAccount(e,t){return await this.verifyPassword(t),this.keyringController.exportAccount(t,e)}async getTokenStandardAndDetails(e,t,r){var n,s;const{tokenList:i}=this.tokenListController.state,{tokens:o}=this.tokensController.state,a={...ge.STATIC_MAINNET_TOKEN_LIST[e.toLowerCase()]||{},...i[e.toLowerCase()]||{},...o.find((({address:t})=>(0,me.isEqualCaseInsensitive)(t,e)))||{}},l=(0,me.isEqualCaseInsensitive)(a.standard,te.TokenStandard.ERC20)||!0===a.erc20,c=!(r||(0,me.isEqualCaseInsensitive)(a.standard,te.TokenStandard.ERC1155)||(0,me.isEqualCaseInsensitive)(a.standard,te.TokenStandard.ERC721)||a.erc721),d=a.decimals!==undefined&&a.symbol;let u;if(l||c&&d)try{const r=t?await(0,pe.fetchTokenBalance)(e,t,this.provider):undefined;u={address:e,balance:r,standard:te.TokenStandard.ERC20,decimals:a.decimals,symbol:a.symbol}}catch(e){v.default.warn(`Failed to get token balance. Error: ${e}`)}u===undefined&&(u=await this.assetsContractController.getTokenStandardAndDetails(e,t,r));if((0,me.isEqualCaseInsensitive)(u.standard,te.TokenStandard.ERC1155))try{const n=await(0,pe.fetchERC1155Balance)(e,t,r,this.provider),s=null!=n&&n._hex?parseInt(n._hex,16).toString():null;u={...u,balance:s}}catch(e){v.default.warn("Failed to get token balance. Error:",e)}return{...u,decimals:null===(n=u)||void 0===n||null===(n=n.decimals)||void 0===n?void 0:n.toString(10),balance:null===(s=u)||void 0===s||null===(s=s.balance)||void 0===s?void 0:s.toString(10)}}async getTokenSymbol(e){try{const t=await this.assetsContractController.getTokenStandardAndDetails(e);return null==t?void 0:t.symbol}catch(e){return null}}async createNewVaultAndKeychain(e){const t=await this.createVaultMutex.acquire();try{return await this.keyringController.createNewVaultAndKeychain(e)}finally{t()}}async createNewVaultAndRestore(e,r){const n=await this.createVaultMutex.acquire();try{const{completedOnboarding:n}=this.onboardingController.store.getState(),s=t.from(r);this.permissionController.clearState(),this.snapController.clearState(),this.notificationController.clear(),this.accountTracker.clearAccounts(),this.txController.clearUnapprovedTransactions(),n&&this.tokenDetectionController.enable();const i=await this.keyringController.createNewVaultAndRestore(e,this._convertMnemonicToWordlistIndices(s));return n&&(await this._addAccountsWithBalance(),this.setLedgerTransportPreference()),i}finally{n()}}async _addAccountsWithBalance(){const{chainId:e}=this.networkController.state.providerConfig,t=new C.default(this.provider),r=await this.keyringController.getAccounts();let n=r[r.length-1];for(let o=r.length;;o++){if("0x0"===await this.getBalance(n,t)){var s,i;await this.tokenDetectionController.detectTokens({selectedAddress:n});const t=null===(s=this.tokensController.state.allTokens)||void 0===s||null===(s=s[e])||void 0===s?void 0:s[n],r=null===(i=this.tokensController.state.allDetectedTokens)||void 0===i||null===(i=i[e])||void 0===i?void 0:i[n];if(0===((null==t?void 0:t.length)??0)&&0===((null==r?void 0:r.length)??0)){1!==o&&await this.removeAccount(n);break}}({addedAccountAddress:n}=await this.keyringController.addNewAccount(o))}}_convertMnemonicToWordlistIndices(e){const t=e.toString().split(" ").map((e=>z.wordlist.indexOf(e)));return new Uint8Array(new Uint16Array(t).buffer)}_convertEnglishWordlistIndicesToCodepoints(e){return t.from(Array.from(new Uint16Array(e.buffer)).map((e=>z.wordlist[e])).join(" "))}getBalance(e,t){return new Promise(((r,n)=>{const s=this.accountTracker.store.getState().accounts[e];s&&s.balance?r(s.balance):t.getBalance(e,((e,t)=>{e?(n(e),v.default.error(e)):r(t||"0x0")}))}))}async submitPassword(e){const{completedOnboarding:t}=this.onboardingController.store.getState();await this.offscreenPromise,await this.keyringController.submitPassword(e);try{await this.blockTracker.checkForLatestBlock()}catch(e){v.default.error("Error while unlocking extension.",e)}await this.accountsController.updateAccounts(),t&&this.setLedgerTransportPreference()}async _loginUser(e){try{await this.submitPassword(e),await this.accountTracker.updateAccountsAllActiveNetworks()}finally{this._startUISync()}}_startUISync(){this.emit("startUISync"),this.startUISync=!0,this.memStore.subscribe(this.sendUpdate.bind(this))}async submitEncryptionKey(){try{const{loginToken:e,loginSalt:t}=await this.extension.storage.session.get(["loginToken","loginSalt"]);if(e&&t){const{vault:r}=this.keyringController.state;if(JSON.parse(r).salt!==t)return console.warn("submitEncryptionKey: Stored salt and vault salt do not match"),void await this.clearLoginArtifacts();await this.keyringController.submitEncryptionKey(e,t)}}catch(e){throw await this.clearLoginArtifacts(),e}}async clearLoginArtifacts(){await this.extension.storage.session.remove(["loginToken","loginSalt"])}async verifyPassword(e){await this.keyringController.verifyPassword(e)}getPrimaryKeyringMnemonic(){const[e]=this.keyringController.getKeyringsByType(oe.KeyringType.hdKeyTree);if(!e.mnemonic)throw new Error("Primary keyring mnemonic unavailable.");return e.mnemonic}async getKeyringForDevice(e,t=null){var r,n,s,i;const o=null===(r=this.opts.overrides)||void 0===r?void 0:r.keyrings;let a=null;switch(e){case ie.HardwareDeviceNames.trezor:a=(null==o||null===(n=o.trezor)||void 0===n?void 0:n.type)||w.TrezorKeyring.type;break;case ie.HardwareDeviceNames.ledger:a=(null==o||null===(s=o.ledger)||void 0===s?void 0:s.type)||y.LedgerKeyring.type;break;case ie.HardwareDeviceNames.qr:a=b.MetaMaskKeyring.type;break;case ie.HardwareDeviceNames.lattice:a=(null==o||null===(i=o.lattice)||void 0===i?void 0:i.type)||k.default.type;break;default:throw new Error("MetamaskController:getKeyringForDevice - Unknown device")}let[l]=await this.keyringController.getKeyringsByType(a);if(l||(l=await this.keyringController.addNewKeyring(a)),t&&l.setHdPath&&l.setHdPath(t),e===ie.HardwareDeviceNames.lattice&&(l.appName="MetaMask"),e===ie.HardwareDeviceNames.trezor){const e=l.getModel();this.appStateController.setTrezorModel(e)}return l.network=this.networkController.state.providerConfig.type,l}async attemptLedgerTransportCreation(){const e=await this.getKeyringForDevice(ie.HardwareDeviceNames.ledger);return await e.attemptMakeApp()}async connectHardware(e,t,r){const n=await this.getKeyringForDevice(e,r);e===ie.HardwareDeviceNames.ledger&&await this.setLedgerTransportPreference(n);let s=[];switch(t){case-1:s=await n.getPreviousPage();break;case 1:s=await n.getNextPage();break;default:s=await n.getFirstPage()}const i=await this.keyringController.getAccounts(),o=[...new Set(i.concat(s.map((e=>e.address.toLowerCase()))))];return this.accountTracker.syncWithAddresses(o),s}async checkHardwareStatus(e,t){return(await this.getKeyringForDevice(e,t)).isUnlocked()}async forgetDevice(e){const t=await this.getKeyringForDevice(e);for(const e of t.accounts)await this.removeAccount(e);return t.forgetDevice(),!0}async getAccountType(e){switch(await this.keyringController.getAccountKeyringType(e)){case oe.KeyringType.trezor:case oe.KeyringType.lattice:case oe.KeyringType.qr:case oe.KeyringType.ledger:return"hardware";case oe.KeyringType.imported:return"imported";case oe.KeyringType.snap:return"snap";default:return"MetaMask"}}async getDeviceModel(e){const t=await this.keyringController.getKeyringForAccount(e);switch(t.type){case oe.KeyringType.trezor:return t.getModel();case oe.KeyringType.qr:return t.getName();case oe.KeyringType.ledger:return ie.HardwareDeviceNames.ledger;case oe.KeyringType.lattice:return ie.HardwareDeviceNames.lattice;default:return undefined}}getAccountLabel(e,t,r){return`${e[0].toUpperCase()}${e.slice(1)} ${parseInt(t,10)+1} ${r||""}`.trim()}async unlockHardwareWalletAccount(e,t,r,n){const s=await this.getKeyringForDevice(t,r);s.setAccountToUnlock(e);const i=await this.keyringController.getAccounts(),o=await this.keyringController.addNewAccountForKeyring(s);(await this.keyringController.getAccounts()).forEach((r=>{if(!i.includes(r)){const i=this.getAccountLabel(t===ie.HardwareDeviceNames.qr?s.getName():t,e,n);this.preferencesController.setAccountLabel(r,i),this.preferencesController.setSelectedAddress(r);const o=this.accountsController.getAccountByAddress(r);this.accountsController.setAccountName(o.id,i)}}));const a=this.accountsController.listAccounts(),{identities:l}=this.preferencesController.store.getState();return{...o,identities:l,accounts:a}}async addNewAccount(e){const t=await this.keyringController.getAccounts(),{addedAccountAddress:r}=await this.keyringController.addNewAccount(e);return t.includes(r)||this.preferencesController.setSelectedAddress(r),r}async getSeedPhrase(e){return this._convertEnglishWordlistIndicesToCodepoints(await this.keyringController.exportSeedPhrase(e))}async resetAccount(){const e=this.accountsController.getSelectedAccount().address;return this.txController.wipeTransactions(!1,e),this.smartTransactionsController.wipeSmartTransactions({address:e,ignoreNetwork:!1}),this.networkController.resetConnection(),e}async getPermittedAccounts(e,{suppressUnauthorizedError:t=!0}={}){try{return await this.permissionController.executeRestrictedMethod(e,ae.RestrictedMethods.eth_accounts)}catch(e){if(t&&e.code===f.errorCodes.provider.unauthorized)return[];throw e}}removeAllChainIdPermissions(e){this.permissionController.updatePermissionsByCaveat(ae.CaveatTypes.restrictNetworkSwitching,(t=>nt.CaveatMutatorFactories[ae.CaveatTypes.restrictNetworkSwitching].removeChainId(e,t)))}removeNetworkConfiguration(e){const{networkConfigurations:t}=this.networkController.state,{chainId:r}=t[e]??{};if(!r)throw new Error("Network configuration not found");Object.values(t).some((t=>t.chainId===r&&t.id!==e&&t.type!==e))||this.removeAllChainIdPermissions(r),this.networkController.removeNetworkConfiguration(e)}removeAllAccountPermissions(e){this.permissionController.updatePermissionsByCaveat(ae.CaveatTypes.restrictReturnedAccounts,(t=>nt.CaveatMutatorFactories[ae.CaveatTypes.restrictReturnedAccounts].removeAccount(e,t)))}async removeAccount(e){this.removeAllAccountPermissions(e);const t=await this.keyringController.getKeyringForAccount(e);await this.keyringController.removeAccount(e);const r=t?await t.getAccounts():{};var n;0===(null==r?void 0:r.length)&&(null===(n=t.destroy)||void 0===n||n.call(t));return e}async importAccountWithStrategy(e,t){const{importedAccountAddress:r}=await this.keyringController.importAccountWithStrategy(e,t);this.preferencesController.setSelectedAddress(r)}getAddTransactionRequest({transactionParams:e,transactionOptions:t,dappRequest:r}){var n;return{dappRequest:r,networkClientId:(null==r?void 0:r.networkClientId)??this.networkController.state.selectedNetworkClientId,selectedAccount:this.accountsController.getAccountByAddress(e.from),transactionController:this.txController,transactionOptions:t,transactionParams:e,userOperationController:this.userOperationController,chainId:this.networkController.state.providerConfig.chainId,ppomController:this.ppomController,securityAlertsEnabled:null===(n=this.preferencesController.store.getState())||void 0===n?void 0:n.securityAlertsEnabled,updateSecurityAlertResponse:this.updateSecurityAlertResponse.bind(this)}}async getCurrentAccountEIP1559Compatibility(){return!0}async createCancelTransaction(e,t,r){await this.txController.stopTransaction(e,t,r);return this.getState()}async createSpeedUpTransaction(e,t,r){await this.txController.speedUpTransaction(e,t,r);return this.getState()}async estimateGas(e){return new Promise(((t,r)=>new _.default(this.provider).estimateGas(e,((e,n)=>e?r(e):t(n.toString(16))))))}async updateSecurityAlertResponse(e,t,r){(0,kt.updateSecurityAlertResponse)({appStateController:this.appStateController,method:e,securityAlertId:t,securityAlertResponse:r,signatureController:this.signatureController,transactionController:this.txController})}markPasswordForgotten(){this.preferencesController.setPasswordForgotten(!0),this.sendUpdate()}unMarkPasswordForgotten(){this.preferencesController.setPasswordForgotten(!1),this.sendUpdate()}setUseRequestQueue(e){this.preferencesController.setUseRequestQueue(e)}setupUntrustedCommunication({connectionStream:e,sender:t,subjectType:r}){const{completedOnboarding:n}=this.onboardingController.store.getState(),{usePhishDetect:s}=this.preferencesController.store.getState();let i;if(i=r||(t.id&&t.id!==this.extension.runtime.id?O.SubjectType.Extension:O.SubjectType.Website),s&&n&&t.url){const{hostname:r}=new URL(t.url);this.phishingController.maybeUpdateState();const n=this.phishingController.test(r);if(null!=n&&n.result)return this.sendPhishingWarning(e,r),void this.metaMetricsController.trackEvent({event:ue.MetaMetricsEventName.PhishingPageDisplayed,category:ue.MetaMetricsEventCategory.Phishing,properties:{url:r}})}const o=(0,Ge.setupMultiplex)(e);this.setupProviderConnection(o.createStream("metamask-provider"),t,i),t.url&&this.setupPublicConfig(o.createStream("publicConfig"))}setupTrustedCommunication(e,t){const r=(0,Ge.setupMultiplex)(e);this.setupControllerConnection(r.createStream("controller")),this.setupProviderConnection(r.createStream("provider"),t,O.SubjectType.Internal)}setupPhishingCommunication({connectionStream:e}){const{usePhishDetect:t}=this.preferencesController.store.getState();if(!t)return;const r=(0,Ge.setupMultiplex)(e).createStream("metamask-phishing-safelist");r.on("data",(0,Qe.default)({safelistPhishingDomain:this.safelistPhishingDomain.bind(this),backToSafetyPhishingWarning:this.backToSafetyPhishingWarning.bind(this)},r))}sendPhishingWarning(e,t){(0,Ge.setupMultiplex)(e).createStream("phishing").write({hostname:t})}setupControllerConnection(e){const t=this.getApi();this.activeControllerConnections+=1,this.emit("controllerConnectionChanged",this.activeControllerConnections),e.on("data",(0,Qe.default)(t,e));const r=t=>{(0,Ge.isStreamWritable)(e)&&e.write({jsonrpc:"2.0",method:"sendUpdate",params:[t]})};this.on("update",r);const n=()=>{(0,Ge.isStreamWritable)(e)&&e.write({jsonrpc:"2.0",method:"startUISync"})};this.startUISync?n():this.once("startUISync",n);const i=()=>{e.mmFinished||(this.activeControllerConnections-=1,this.emit("controllerConnectionChanged",this.activeControllerConnections),e.mmFinished=!0,this.removeListener("update",r))};e.mmFinished=!1,(0,s.finished)(e,i),e.once("close",i),e.once("end",i)}setupProviderConnection(e,t,r){let n,i;n=r===O.SubjectType.Internal?de.ORIGIN_METAMASK:r===O.SubjectType.Snap?t.snapId:new URL(t.url).origin,t.id&&t.id!==this.extension.runtime.id&&this.subjectMetadataController.addSubjectMetadata({origin:n,extensionId:t.id,subjectType:O.SubjectType.Extension}),t.tab&&t.tab.id&&(i=t.tab.id);const o=this.setupProviderEngine({origin:n,sender:t,subjectType:r,tabId:i}),a=(0,je.default)(),l=(0,c.createEngineStream)({engine:o}),d=this.addConnection(n,{engine:o});(0,s.pipeline)(e,a,l,e,(e=>{o._middleware.forEach((e=>{e.destroy&&"function"==typeof e.destroy&&e.destroy()})),d&&this.removeConnection(n,d),e&&v.default.error(e)}))}setupSnapProvider(e,t){this.setupUntrustedCommunication({connectionStream:t,sender:{snapId:e},subjectType:O.SubjectType.Snap})}setupProviderEngine({origin:e,subjectType:t,sender:r,tabId:n}){const s=new l.JsonRpcEngine;s.push((0,Be.default)({origin:e})),s.push((0,B.createSelectedNetworkMiddleware)(this.controllerMessenger));const i=(0,Y.createQueuedRequestMiddleware)({enqueueRequest:this.queuedRequestController.enqueueRequest.bind(this.queuedRequestController),useRequestQueue:this.preferencesController.getUseRequestQueue.bind(this.preferencesController),shouldEnqueueRequest:e=>("eth_requestAccounts"!==e.method||!this.permissionController.hasPermission(e.origin,nt.PermissionNames.eth_accounts))&&ee.methodsWithConfirmation.includes(e.method)});s.push(i);const o=this.selectedNetworkController.getProviderAndBlockTracker(e),a=(0,p.default)(o),c=(0,m.default)(o);c.events.on("notification",(e=>s.emit("notification",e))),n&&s.push((0,De.default)({tabId:n})),s.push((0,Oe.default)({origin:e})),s.push(this.permissionLogController.createMiddleware()),e===be.BaseUrl.Portfolio&&s.push((0,yt.createTxVerificationMiddleware)(this.networkController)),s.push((0,Me.createPPOMMiddleware)(this.ppomController,this.preferencesController,this.networkController,this.appStateController,this.updateSecurityAlertResponse.bind(this)));return s.push((0,st.default)({trackEvent:this.metaMetricsController.trackEvent.bind(this.metaMetricsController),getMetricsState:this.metaMetricsController.store.getState.bind(this.metaMetricsController.store),getAccountType:this.getAccountType.bind(this),getDeviceModel:this.getDeviceModel.bind(this),isConfirmationRedesignEnabled:()=>this.preferencesController.store.getState().preferences.redesignedConfirmationsEnabled,snapAndHardwareMessenger:this.controllerMessenger.getRestricted({name:"SnapAndHardwareMessenger",allowedActions:["KeyringController:getKeyringForAccount","SnapController:get","AccountsController:getSelectedAccount"]}),appStateController:this.appStateController})),s.push((0,xe.createUnsupportedMethodMiddleware)()),s.push((0,xe.createLegacyMethodMiddleware)({getAccounts:this.getPermittedAccounts.bind(this,e)})),t!==O.SubjectType.Internal&&s.push(this.permissionController.createPermissionMiddleware({origin:e})),t===O.SubjectType.Website&&s.push((0,Ue.default)({location:r.url,registerOnboarding:this.onboardingController.registerOnboarding})),s.push((0,xe.createMethodMiddleware)({origin:e,subjectType:t,addSubjectMetadata:this.subjectMetadataController.addSubjectMetadata.bind(this.subjectMetadataController),metamaskState:this.getState(),getProviderState:this.getProviderState.bind(this),getUnlockPromise:this.appStateController.getUnlockPromise.bind(this.appStateController),handleWatchAssetRequest:this.handleWatchAssetRequest.bind(this),requestUserApproval:this.approvalController.addAndShowApprovalRequest.bind(this.approvalController),startApprovalFlow:this.approvalController.startFlow.bind(this.approvalController),endApprovalFlow:this.approvalController.endFlow.bind(this.approvalController),sendMetrics:this.metaMetricsController.trackEvent.bind(this.metaMetricsController),getAccounts:this.getPermittedAccounts.bind(this,e),getPermissionsForOrigin:this.permissionController.getPermissions.bind(this.permissionController,e),hasPermission:this.permissionController.hasPermission.bind(this.permissionController,e),requestAccountsPermission:this.permissionController.requestPermissions.bind(this.permissionController,{origin:e},{eth_accounts:{}}),requestPermittedChainsPermission:t=>this.permissionController.requestPermissions({origin:e},{[nt.PermissionNames.permittedChains]:{caveats:[nt.CaveatFactories[ae.CaveatTypes.restrictNetworkSwitching](t)]}}),requestPermissionsForOrigin:this.permissionController.requestPermissions.bind(this.permissionController,{origin:e}),revokePermissionsForOrigin:t=>{try{this.permissionController.revokePermissions({[e]:t})}catch(e){console.log(e)}},getCaveat:({target:t,caveatType:r})=>{try{return this.permissionController.getCaveat(e,t,r)}catch(e){if(!(e instanceof O.PermissionDoesNotExistError))throw e}return undefined},getChainPermissionsFeatureFlag:()=>Boolean(""),getCurrentRpcUrl:()=>this.networkController.state.providerConfig.rpcUrl,upsertNetworkConfiguration:this.networkController.upsertNetworkConfiguration.bind(this.networkController),setActiveNetwork:async t=>{await this.networkController.setActiveNetwork(t),this.permissionController.hasPermission(e,nt.PermissionNames.eth_accounts)&&this.selectedNetworkController.setNetworkClientIdForDomain(e,t)},findNetworkConfigurationBy:this.findNetworkConfigurationBy.bind(this),getCurrentChainIdForDomain:e=>{const t=this.selectedNetworkController.getNetworkClientIdForDomain(e),{chainId:r}=this.networkController.getNetworkConfigurationByNetworkClientId(t);return r},getWeb3ShimUsageState:this.alertController.getWeb3ShimUsageState.bind(this.alertController),setWeb3ShimUsageRecorded:this.alertController.setWeb3ShimUsageRecorded.bind(this.alertController)})),s.push((0,K.createSnapsMethodMiddleware)(t===O.SubjectType.Snap,{getUnlockPromise:this.appStateController.getUnlockPromise.bind(this.appStateController),getSnaps:this.controllerMessenger.call.bind(this.controllerMessenger,"SnapController:getPermitted",e),requestPermissions:async t=>await this.permissionController.requestPermissions({origin:e},t),getPermissions:this.permissionController.getPermissions.bind(this.permissionController,e),getSnapFile:this.controllerMessenger.call.bind(this.controllerMessenger,"SnapController:getFile",e),installSnaps:this.controllerMessenger.call.bind(this.controllerMessenger,"SnapController:install",e),invokeSnap:this.permissionController.executeRestrictedMethod.bind(this.permissionController,e,ae.RestrictedMethods.wallet_snap),getIsLocked:()=>!this.appStateController.isUnlocked(),hasPermission:this.permissionController.hasPermission.bind(this.permissionController,e),getSnap:this.controllerMessenger.call.bind(this.controllerMessenger,"SnapController:get"),getAllSnaps:this.controllerMessenger.call.bind(this.controllerMessenger,"SnapController:getAll"),handleSnapRpcRequest:t=>this.handleSnapRequest({...t,origin:e}),getAllowedKeyringMethods:(0,Se.keyringSnapPermissionsBuilder)(this.subjectMetadataController,e),createInterface:this.controllerMessenger.call.bind(this.controllerMessenger,"SnapInterfaceController:createInterface",e),getInterfaceState:(...t)=>this.controllerMessenger.call("SnapInterfaceController:getInterface",e,...t).state,updateInterface:this.controllerMessenger.call.bind(this.controllerMessenger,"SnapInterfaceController:updateInterface",e)})),s.push(a),s.push(c.middleware),s.push(this.metamaskMiddleware),s.push((0,d.providerAsMiddleware)(o.provider)),s}setupPublicConfig(e){const t=(0,a.storeAsStream)(this.publicConfigStore);(0,s.pipeline)(t,e,(e=>{t.destroy(),e&&v.default.error(e)}))}addConnection(e,{engine:t}){if(e===de.ORIGIN_METAMASK)return null;this.connections[e]||(this.connections[e]={});const r=(0,S.default)();return this.connections[e][r]={engine:t},r}removeConnection(e,t){const r=this.connections[e];r&&(delete r[t],0===Object.keys(r).length&&delete this.connections[e])}removeAllConnections(e){const t=this.connections[e];t&&Object.keys(t).forEach((t=>{this.removeConnection(e,t)}))}notifyConnections(e,t){const r=this.connections[e];r&&Object.values(r).forEach((e=>{e.engine&&e.engine.emit("notification",t)}))}notifyAllConnections(e){const t="function"==typeof e?t=>e(t):()=>e;Object.keys(this.connections).forEach((e=>{Object.values(this.connections[e]).forEach((async r=>{try{r.engine&&r.engine.emit("notification",await t(e))}catch(e){console.error(e)}}))}))}async _onKeyringControllerUpdate(e){const{keyrings:t}=e,r=t.reduce(((e,{accounts:t})=>e.concat(t)),[]);r.length&&this.accountTracker.syncWithAddresses(r)}_onUnlock(){this.notifyAllConnections((async e=>({method:nt.NOTIFICATION_NAMES.unlockStateChanged,params:{isUnlocked:!0,accounts:await this.getPermittedAccounts(e)}}))),this.unMarkPasswordForgotten(),this.emit("unlock")}_onLock(){this.notifyAllConnections({method:nt.NOTIFICATION_NAMES.unlockStateChanged,params:{isUnlocked:!1}}),this.emit("lock")}_onStateUpdate(e){this.isClientOpenAndUnlocked=e.isUnlocked&&this._isClientOpen,this._notifyChainChange()}privateSendUpdate(){this.emit("update",this.getState())}isUnlocked(){return this.keyringController.state.isUnlocked}getExternalPendingTransactions(e){return this.smartTransactionsController.getTransactions({addressFrom:e,status:"pending"})}async getPendingNonce(e,t){const{nonceDetails:r,releaseLock:n}=await this.txController.getNonceLock(e,undefined),s=r.params.highestSuggested;return n(),s}async getNextNonce(e,t){const r=await this.txController.getNonceLock(e,undefined);return r.releaseLock(),r.nextNonce}throwTestError(e){setTimeout((()=>{const t=new Error(e);throw t.name="TestError",t}))}_addTransactionControllerListeners(){const e=this.getTransactionMetricsRequest();this.controllerMessenger.subscribe("TransactionController:postTransactionBalanceUpdated",Ce.handlePostTransactionBalanceUpdate.bind(null,e)),this.controllerMessenger.subscribe("TransactionController:unapprovedTransactionAdded",(t=>(0,Ce.handleTransactionAdded)(e,{transactionMeta:t}))),this.controllerMessenger.subscribe("TransactionController:transactionApproved",Ce.handleTransactionApproved.bind(null,e)),this.controllerMessenger.subscribe("TransactionController:transactionDropped",Ce.handleTransactionDropped.bind(null,e)),this.controllerMessenger.subscribe("TransactionController:transactionConfirmed",Ce.handleTransactionConfirmed.bind(null,e)),this.controllerMessenger.subscribe("TransactionController:transactionFailed",Ce.handleTransactionFailed.bind(null,e)),this.controllerMessenger.subscribe("TransactionController:transactionNewSwap",(({transactionMeta:e})=>this.swapsController.setTradeTxId(e.id))),this.controllerMessenger.subscribe("TransactionController:transactionNewSwapApproval",(({transactionMeta:e})=>this.swapsController.setApproveTxId(e.id))),this.controllerMessenger.subscribe("TransactionController:transactionRejected",Ce.handleTransactionRejected.bind(null,e)),this.controllerMessenger.subscribe("TransactionController:transactionSubmitted",Ce.handleTransactionSubmitted.bind(null,e)),this.controllerMessenger.subscribe("TransactionController:transactionStatusUpdated",(({transactionMeta:e})=>{this._onFinishedTransaction(e)}))}getTransactionMetricsRequest(){return{...{createEventFragment:this.metaMetricsController.createEventFragment.bind(this.metaMetricsController),finalizeEventFragment:this.metaMetricsController.finalizeEventFragment.bind(this.metaMetricsController),getEventFragmentById:this.metaMetricsController.getEventFragmentById.bind(this.metaMetricsController),getParticipateInMetrics:()=>this.metaMetricsController.state.participateInMetaMetrics,trackEvent:this.metaMetricsController.trackEvent.bind(this.metaMetricsController),updateEventFragment:this.metaMetricsController.updateEventFragment.bind(this.metaMetricsController),getAccountType:this.getAccountType.bind(this),getDeviceModel:this.getDeviceModel.bind(this),getEIP1559GasFeeEstimates:this.gasFeeController.fetchGasFeeEstimates.bind(this.gasFeeController),getSelectedAddress:()=>this.accountsController.getSelectedAccount().address,getTokenStandardAndDetails:this.getTokenStandardAndDetails.bind(this),getTransaction:e=>this.txController.state.transactions.find((t=>t.id===e)),getIsSmartTransaction:()=>(0,ke.getIsSmartTransaction)(this._getMetaMaskState()),getSmartTransactionByMinedTxHash:e=>this.smartTransactionsController.getSmartTransactionByMinedTxHash(e)},snapAndHardwareMessenger:this.controllerMessenger.getRestricted({name:"SnapAndHardwareMessenger",allowedActions:["KeyringController:getKeyringForAccount","SnapController:get","AccountsController:getSelectedAccount"]}),provider:this.provider}}toggleExternalServices(e){this.preferencesController.toggleExternalServices(e),this.tokenListController.updatePreventPollingOnNetworkRestart(!e),e?(this.tokenDetectionController.enable(),this.gasFeeController.enableNonRPCGasFeeApis()):(this.tokenDetectionController.disable(),this.gasFeeController.disableNonRPCGasFeeApis())}findNetworkConfigurationBy(e){const{networkConfigurations:t}=this.networkController.state;return Object.values(t).find((t=>Object.keys(e).some((r=>t[r]===e[r]))))||null}async setLedgerTransportPreference(e){const t=window.navigator.hid?ie.LedgerTransportTypes.webhid:ie.LedgerTransportTypes.u2f,r=e||await this.getKeyringForDevice(ie.HardwareDeviceNames.ledger);return null!=r&&r.updateTransportMethod?r.updateTransportMethod(t).catch((e=>{throw e})):undefined}recordFirstTimeInfo(e){if(!("firstTimeInfo"in e)){const t=this.platform.getVersion();e.firstTimeInfo={version:t,date:Date.now()}}}set isClientOpen(e){this._isClientOpen=e}onClientClosed(){try{this.gasFeeController.stopAllPolling(),this.currencyRateController.stopAllPolling(),this.appStateController.clearPollingTokens()}catch(e){console.error(e)}}onEnvironmentTypeClosed(e){const t=de.POLLING_TOKEN_ENVIRONMENT_TYPES[e];this.appStateController.store.getState()[t].forEach((e=>{this.gasFeeController.stopPollingByPollingToken(e),this.currencyRateController.stopPollingByPollingToken(e),this.appStateController.removePollingToken(e,t)}))}safelistPhishingDomain(e){return this.phishingController.bypass(e)}async backToSafetyPhishingWarning(){const e=this.platform.getExtensionURL();await this.platform.switchToAnotherURL(undefined,e)}setLocked(){return this.keyringController.setLocked()}async _onAccountChange(e){const t=(0,nt.getPermittedAccountsByOrigin)(this.permissionController.state);for(const[r,n]of t.entries())n.includes(e)&&this._notifyAccountsChange(r,n);await this.txController.updateIncomingTransactions()}async _notifyAccountsChange(e,t){this.isUnlocked()&&this.notifyConnections(e,{method:nt.NOTIFICATION_NAMES.accountsChanged,params:t.length<2?t:await this.getPermittedAccounts(e)}),this.permissionLogController.updateAccountsHistory(e,t)}async _notifyChainChange(){this.preferencesController.getUseRequestQueue()?this.notifyAllConnections((async e=>({method:nt.NOTIFICATION_NAMES.chainChanged,params:await this.getProviderNetworkState(e)}))):this.notifyAllConnections({method:nt.NOTIFICATION_NAMES.chainChanged,params:await this.getProviderNetworkState()})}async _onFinishedTransaction(e){[X.TransactionStatus.confirmed,X.TransactionStatus.failed].includes(e.status)&&(await this._createTransactionNotifcation(e),this._updateNFTOwnership(e),this._trackTransactionFailure(e))}async _createTransactionNotifcation(e){const{chainId:t}=e;let r={};if(t){const{networkConfigurations:e}=this.networkController.state,n=Object.values(e).find((e=>e.chainId===t));r=(null==n?void 0:n.rpcPrefs)??{}}try{await this.platform.showTransactionNotification(e,r)}catch(e){v.default.error("Failed to create transaction notification",e)}}_updateNFTOwnership(e){var t;const{type:r,txParams:n,chainId:s}=e;if(r!==X.TransactionType.tokenMethodTransferFrom||n===undefined)return;const{data:i,to:o,from:a}=n,l=(0,fe.parseStandardTokenTransactionData)(i),c=(0,pe.getTokenIdParam)(l)??(0,ve.getTokenValueParam)(l),{allNfts:d}=this.nftController.state,u=null==d||null===(t=d[a])||void 0===t||null===(t=t[s])||void 0===t?void 0:t.find((({address:e,tokenId:t})=>(0,me.isEqualCaseInsensitive)(e,o)&&t===c));u&&this.nftController.checkAndUpdateSingleNftOwnershipStatus(u,!1,{userAddress:a})}_trackTransactionFailure(e){var t;const{txReceipt:r}=e,n=this.getState();r&&"0x0"===r.status&&this.metaMetricsController.trackEvent({event:"Tx Status Update: On-Chain Failure",category:ue.MetaMetricsEventCategory.Background,properties:{action:"Transactions",errorMessage:null===(t=e.simulationFails)||void 0===t?void 0:t.reason,numberOfTokens:n.tokens.length,numberOfAccounts:Object.keys(n.accounts).length}},{matomoEvent:!0})}_onUserOperationAdded(e){const t=this.txController.state.transactions.find((t=>t.id===e.id));t&&(t.type===X.TransactionType.swap?this.controllerMessenger.publish("TransactionController:transactionNewSwap",{transactionMeta:t}):t.type===X.TransactionType.swapApproval&&this.controllerMessenger.publish("TransactionController:transactionNewSwapApproval",{transactionMeta:t}))}_onUserOperationTransactionUpdated(e){const t={...e,txParams:{...e.txParams,from:this.accountsController.getSelectedAccount().address}};this.txController.state.transactions.some((e=>e.id===t.id))||this.txController.update((e=>{e.transactions.push(t)})),this.txController.updateTransaction(t,"Generated from user operation"),this.controllerMessenger.publish("TransactionController:transactionStatusUpdated",{transactionMeta:t})}_publishSmartTransactionHook(e){const t=this._getMetaMaskState(),r=(0,ke.getIsSmartTransaction)(t);if(!r)return{transactionHash:undefined};const n=(0,ke.getFeatureFlagsByChainId)(t);return(0,_e.submitSmartTransactionHook)({transactionMeta:e,transactionController:this.txController,smartTransactionsController:this.smartTransactionsController,controllerMessenger:this.controllerMessenger,isSmartTransaction:r,featureFlags:n})}_getMetaMaskState(){return{metamask:this.getState()}}}async function Nt(e,t){var r;const{currentLocale:n}=e,{chainId:s}=this.networkController.state.providerConfig;await(0,ot.updateCurrentLocale)(n),null!==(r=e.incomingTransactionsPreferences)&&void 0!==r&&r[s]?this.txController.startIncomingTransactionPolling():this.txController.stopIncomingTransactionPolling(),Tt(this,Et,It).call(this,e,t),this.controllerMessenger.publish("PreferencesController:stateChange",e,[])}function It(e,t){const r=Tt(this,Mt,Rt).call(this,t),n=Tt(this,Mt,Rt).call(this,e);r!==n&&(this.tokenListController.updatePreventPollingOnNetworkRestart(!n),n?(v.default.debug("Started token list controller polling"),this.tokenListController.start()):(v.default.debug("Stopped token list controller polling"),this.tokenListController.clearingTokenListData(),this.tokenListController.stop()))}function Rt(e){const{useTokenDetection:t,useTransactionSimulations:r,preferences:n}=e??{},{petnamesEnabled:s}=n??{};return t||s||r}r.default=Pt}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"$root$",file:"app/scripts/metamask-controller.js"}],[1210,{"./utils/config":1203,"./utils/log":1205,"./utils/stream":1207},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.VersionCheck=void 0;const s=n(e("./utils/log")),i=e("./utils/config"),o=e("./utils/stream");r.VersionCheck=class{constructor(e,t){this.stream=e,this.extensionVersion=t}async check(){s.default.debug("Checking versions");const e={version:this.extensionVersion,compatibilityVersion:(0,i.cfg)().compatibilityVersion.extension},t={extensionVersionData:e};this.stream.write(t);const r=await(0,o.waitForMessage)(this.stream),n=r.isExtensionSupported,a=this.isDesktopVersionSupported(r.desktopVersionData,e),l={extensionVersion:e.version,desktopVersion:r.desktopVersionData.version,isExtensionVersionValid:n,isDesktopVersionValid:a};return s.default.debug("Completed version check",l),l}isDesktopVersionSupported(e,t){return e.compatibilityVersion>=t.compatibilityVersion}}}}},{package:"@metamask/desktop",file:"node_modules/@metamask/desktop/dist/version-check.js"}],[1211,{"./utils/log":1205,"./utils/utils":1209,stream:4348},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.WebSocketStream=void 0;const s=e("stream"),i=n(e("./utils/log")),o=e("./utils/utils");class a extends s.Duplex{constructor(e){super({objectMode:!0}),this.webSocket=e,this.isBrowser=!this.webSocket.on,this.isBrowser?this.webSocket.addEventListener("message",(e=>this.onMessage(e.data))):this.webSocket.on("message",(e=>this.onMessage(e)))}init(){}_read(){return undefined}async _write(e,t,r){i.default.debug("Sending message to web socket");const n="string"==typeof e?e:JSON.stringify(e);try{await this.waitForSocketConnected(this.webSocket)}catch(e){return i.default.error("Timeout waiting for web socket to be writable"),void r()}this.webSocket.send(n),r()}async onMessage(e){let t=e;try{t=JSON.parse(t)}catch{}i.default.debug("Received web socket message"),this.push(t)}async waitForSocketConnected(e){let t;return(0,o.timeoutPromise)(new Promise((r=>{const n=()=>1===e.readyState;n()?r():t=setInterval((()=>{n()&&(clearInterval(t),r())}),500)})),3e3,{cleanUp:()=>{t&&clearInterval(t)}})}}r.WebSocketStream=a}}},{package:"@metamask/desktop",file:"node_modules/@metamask/desktop/dist/web-socket-stream.js"}],[1212,{"./ObservableStore":1215},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.ComposedStore=void 0;const n=e("./ObservableStore");class s extends n.ObservableStore{constructor(e){super();this.getState()||this.putState({}),this._children=e||{},Object.keys(this._children).forEach((e=>{const t=this._children[e];this._addChild(e,t)}))}_addChild(e,t){const r=t=>{const r=this.getState();r[e]=t,this.putState(r)};t.subscribe(r),r(t.getState())}}r.ComposedStore=s}}},{package:"@metamask/desktop>@metamask/obs-store",file:"node_modules/@metamask/desktop/node_modules/@metamask/obs-store/dist/ComposedStore.js"}],[1213,{"./ObservableStore":1215},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.LocalStorageStore=void 0;const n=e("./ObservableStore");class s extends n.ObservableStore{constructor(e={}){if(!global.localStorage)throw new Error("LocalStorageStore - can't find localStorage.");if(super(),!e.storageKey)throw new Error("LocalStorageStore - no storageKey specified.");this._storageKey=e.storageKey}_getState(){const e=global.localStorage.getItem(this._storageKey);return e?JSON.parse(e):undefined}_putState(e){const t=JSON.stringify(e);return global.localStorage.setItem(this._storageKey,t)}}r.LocalStorageStore=s}}},{package:"@metamask/desktop>@metamask/obs-store",file:"node_modules/@metamask/desktop/node_modules/@metamask/obs-store/dist/LocalStorageStore.js"}],[1214,{"./ObservableStore":1215},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.MergedStore=void 0;const n=e("./ObservableStore");class s extends n.ObservableStore{constructor(e=[]){super();this.getState()||this.putState({}),this._children=e,e.forEach((e=>this._addChild(e))),this._updateWholeState()}_addChild(e){e.subscribe((()=>this._updateWholeState()))}_updateWholeState(){const e=this._children.map((e=>e.getState())),t=Object.assign({},...e);this.putState(t)}}r.MergedStore=s}}},{package:"@metamask/desktop>@metamask/obs-store",file:"node_modules/@metamask/desktop/node_modules/@metamask/obs-store/dist/MergedStore.js"}],[1215,{"@metamask/safe-event-emitter":1219},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.ObservableStore=void 0;const s=n(e("@metamask/safe-event-emitter"));class i extends s.default{constructor(e={}){super(),this._state=e}getState(){return this._getState()}putState(e){this._putState(e),this.emit("update",e)}updateState(e){if(e&&"object"==typeof e){const t=this.getState(),r=Object.assign({},t,e);this.putState(r)}else this.putState(e)}subscribe(e){this.on("update",e)}unsubscribe(e){this.removeListener("update",e)}_getState(){return this._state}_putState(e){this._state=e}}r.ObservableStore=i}}},{package:"@metamask/desktop>@metamask/obs-store",file:"node_modules/@metamask/desktop/node_modules/@metamask/obs-store/dist/ObservableStore.js"}],[1216,{stream:4348},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.storeAsStream=void 0;const n=e("stream");class s extends n.Duplex{constructor(e){super({objectMode:!0}),this.resume(),this.handler=e=>this.push(e),this.obsStore=e,this.obsStore.subscribe(this.handler)}pipe(e,t){const r=super.pipe(e,t);return e.write(this.obsStore.getState()),r}_write(e,t,r){this.obsStore.putState(e),r()}_read(e){return undefined}_destroy(e,t){this.obsStore.unsubscribe(this.handler),super._destroy(e,t)}}r.storeAsStream=function(e){return new s(e)}}}},{package:"@metamask/desktop>@metamask/obs-store",file:"node_modules/@metamask/desktop/node_modules/@metamask/obs-store/dist/asStream.js"}],[1217,{"./ComposedStore":1212,"./LocalStorageStore":1213,"./MergedStore":1214,"./ObservableStore":1215,"./asStream":1216,"./transform":1218},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){n===undefined&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){n===undefined&&(n=r),e[n]=t[r]}),s=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(r,"__esModule",{value:!0}),s(e("./asStream"),r),s(e("./ComposedStore"),r),s(e("./LocalStorageStore"),r),s(e("./MergedStore"),r),s(e("./ObservableStore"),r),s(e("./transform"),r)}}},{package:"@metamask/desktop>@metamask/obs-store",file:"node_modules/@metamask/desktop/node_modules/@metamask/obs-store/dist/index.js"}],[1218,{through2:1233},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.storeTransformStream=void 0;const n=e("through2");r.storeTransformStream=function(e){return n.obj(((t,r,n)=>{try{return n(null,e(t)),undefined}catch(e){return n(e),undefined}}))}}}},{package:"@metamask/desktop>@metamask/obs-store",file:"node_modules/@metamask/desktop/node_modules/@metamask/obs-store/dist/transform.js"}],[1219,{events:3328},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e("events");function s(e,t,r){try{Reflect.apply(e,t,r)}catch(e){setTimeout((()=>{throw e}))}}class i extends n.EventEmitter{emit(e,...t){let r="error"===e;const n=this._events;if(n!==undefined)r=r&&n.error===undefined;else if(!r)return!1;if(r){let e;if(t.length>0&&([e]=t),e instanceof Error)throw e;const r=new Error("Unhandled error."+(e?` (${e.message})`:""));throw r.context=e,r}const i=n[e];if(i===undefined)return!1;if("function"==typeof i)s(i,this,t);else{const e=i.length,r=function(e){const t=e.length,r=new Array(t);for(let n=0;n@metamask/obs-store>@metamask/safe-event-emitter",file:"node_modules/@metamask/desktop/node_modules/@metamask/safe-event-emitter/index.js"}],[122,{lodash:3836},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=e("lodash");r.default={version:2,migrate(e){const t=(0,n.cloneDeep)(e);t.meta.version=2;try{"etherscan"===t.data.config.provider.type&&(t.data.config.provider.type="rpc",t.data.config.provider.rpcTarget="https://rpc.metamask.io/")}catch(e){}return Promise.resolve(t)}}}}},{package:"$root$",file:"app/scripts/migrations/002.js"}],[1220,{buffer:3028,stream:4348},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(t){(function(){Object.defineProperty(r,"__esModule",{value:!0});const n=e("stream");class s extends n.Duplex{constructor(e){super({objectMode:!0}),this._port=e,this._port.onMessage.addListener((e=>this._onMessage(e))),this._port.onDisconnect.addListener((()=>this._onDisconnect())),this._log=()=>null}_onMessage(e){if(t.isBuffer(e)){const r=t.from(e);this._log(r,!1),this.push(r)}else this._log(e,!1),this.push(e)}_onDisconnect(){this.destroy()}_read(){return undefined}_write(e,r,n){try{if(t.isBuffer(e)){const t=e.toJSON();t._isBuffer=!0,this._log(t,!0),this._port.postMessage(t)}else this._log(e,!0),this._port.postMessage(e)}catch(e){return n(new Error("PortDuplexStream - disconnected"))}return n()}_setLogger(e){this._log=e}}r.default=s}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"@metamask/desktop>extension-port-stream",file:"node_modules/@metamask/desktop/node_modules/extension-port-stream/dist/index.js"}],[1221,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n={}.toString;t.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}}}},{package:"@metamask/desktop>@metamask/obs-store>readable-stream>isarray",file:"node_modules/@metamask/desktop/node_modules/isarray/index.js"}],[1222,{"./_stream_readable":1224,"./_stream_writable":1226,"core-util-is":3088,inherits:3641,"process-nextick-args":3991},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("process-nextick-args"),s=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};t.exports=u;var i=Object.create(e("core-util-is"));i.inherits=e("inherits");var o=e("./_stream_readable"),a=e("./_stream_writable");i.inherits(u,o);for(var l=s(a.prototype),c=0;c@metamask/obs-store>readable-stream",file:"node_modules/@metamask/desktop/node_modules/readable-stream/lib/_stream_duplex.js"}],[1223,{"./_stream_transform":1225,"core-util-is":3088,inherits:3641},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=i;var n=e("./_stream_transform"),s=Object.create(e("core-util-is"));function i(e){if(!(this instanceof i))return new i(e);n.call(this,e)}s.inherits=e("inherits"),s.inherits(i,n),i.prototype._transform=function(e,t,r){r(null,e)}}}},{package:"@metamask/desktop>@metamask/obs-store>readable-stream",file:"node_modules/@metamask/desktop/node_modules/readable-stream/lib/_stream_passthrough.js"}],[1224,{"./_stream_duplex":1222,"./internal/streams/BufferList":1227,"./internal/streams/destroy":1228,"./internal/streams/stream":1229,_process:3992,"core-util-is":3088,events:3328,inherits:3641,isarray:1221,"process-nextick-args":3991,"safe-buffer":1231,"string_decoder/":1232,util:2993},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(r){(function(){var n=e("process-nextick-args");t.exports=w;var s,i=e("isarray");w.ReadableState=v;e("events").EventEmitter;var o=function(e,t){return e.listeners(t).length},a=e("./internal/streams/stream"),l=e("safe-buffer").Buffer,c=global.Uint8Array||function(){};var d=Object.create(e("core-util-is"));d.inherits=e("inherits");var u=e("util"),h=void 0;h=u&&u.debuglog?u.debuglog("stream"):function(){};var p,m=e("./internal/streams/BufferList"),f=e("./internal/streams/destroy");d.inherits(w,a);var g=["error","close","destroy","pause","resume"];function v(t,r){t=t||{};var n=r instanceof(s=s||e("./_stream_duplex"));this.objectMode=!!t.objectMode,n&&(this.objectMode=this.objectMode||!!t.readableObjectMode);var i=t.highWaterMark,o=t.readableHighWaterMark,a=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:n&&(o||0===o)?o:a,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new m,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(p||(p=e("string_decoder/").StringDecoder),this.decoder=new p(t.encoding),this.encoding=t.encoding)}function w(t){if(s=s||e("./_stream_duplex"),!(this instanceof w))return new w(t);this._readableState=new v(t,this),this.readable=!0,t&&("function"==typeof t.read&&(this._read=t.read),"function"==typeof t.destroy&&(this._destroy=t.destroy)),a.call(this)}function y(e,t,r,n,s){var i,o=e._readableState;null===t?(o.reading=!1,function(e,t){if(t.ended)return;if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,_(e)}(e,o)):(s||(i=function(e,t){var r;n=t,l.isBuffer(n)||n instanceof c||"string"==typeof t||t===undefined||e.objectMode||(r=new TypeError("Invalid non-string/buffer chunk"));var n;return r}(o,t)),i?e.emit("error",i):o.objectMode||t&&t.length>0?("string"==typeof t||o.objectMode||Object.getPrototypeOf(t)===l.prototype||(t=function(e){return l.from(e)}(t)),n?o.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):k(e,o,t,!0):o.ended?e.emit("error",new Error("stream.push() after EOF")):(o.reading=!1,o.decoder&&!r?(t=o.decoder.write(t),o.objectMode||0!==t.length?k(e,o,t,!1):T(e,o)):k(e,o,t,!1))):n||(o.reading=!1));return function(e){return!e.ended&&(e.needReadable||e.lengtht.highWaterMark&&(t.highWaterMark=function(e){return e>=b?e=b:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function _(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(h("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?n.nextTick(S,e):S(e))}function S(e){h("emit readable"),e.emit("readable"),P(e)}function T(e,t){t.readingMore||(t.readingMore=!0,n.nextTick(A,e,t))}function A(e,t){for(var r=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):r=function(e,t,r){var n;ei.length?i.length:e;if(o===i.length?s+=i:s+=i.slice(0,e),0===(e-=o)){o===i.length?(++n,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=i.slice(o));break}++n}return t.length-=n,s}(e,t):function(e,t){var r=l.allocUnsafe(e),n=t.head,s=1;n.data.copy(r),e-=n.data.length;for(;n=n.next;){var i=n.data,o=e>i.length?i.length:e;if(i.copy(r,r.length-e,0,o),0===(e-=o)){o===i.length?(++s,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=i.slice(o));break}++s}return t.length-=s,r}(e,t);return n}(e,t.buffer,t.decoder),r);var r}function I(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,n.nextTick(R,t,e))}function R(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function j(e,t){for(var r=0,n=e.length;r=t.highWaterMark||t.ended))return h("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?I(this):_(this),null;if(0===(e=C(e,t))&&t.ended)return 0===t.length&&I(this),null;var n,s=t.needReadable;return h("need readable",s),(0===t.length||t.length-e0?N(e,t):null)?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&I(this)),null!==n&&this.emit("data",n),n},w.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},w.prototype.pipe=function(e,t){var s=this,a=this._readableState;switch(a.pipesCount){case 0:a.pipes=e;break;case 1:a.pipes=[a.pipes,e];break;default:a.pipes.push(e)}a.pipesCount+=1,h("pipe count=%d opts=%j",a.pipesCount,t);var l=(!t||!1!==t.end)&&e!==r.stdout&&e!==r.stderr?d:y;function c(t,r){h("onunpipe"),t===s&&r&&!1===r.hasUnpiped&&(r.hasUnpiped=!0,h("cleanup"),e.removeListener("close",v),e.removeListener("finish",w),e.removeListener("drain",u),e.removeListener("error",g),e.removeListener("unpipe",c),s.removeListener("end",d),s.removeListener("end",y),s.removeListener("data",f),p=!0,!a.awaitDrain||e._writableState&&!e._writableState.needDrain||u())}function d(){h("onend"),e.end()}a.endEmitted?n.nextTick(l):s.once("end",l),e.on("unpipe",c);var u=function(e){return function(){var t=e._readableState;h("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&o(e,"data")&&(t.flowing=!0,P(e))}}(s);e.on("drain",u);var p=!1;var m=!1;function f(t){h("ondata"),m=!1,!1!==e.write(t)||m||((1===a.pipesCount&&a.pipes===e||a.pipesCount>1&&-1!==j(a.pipes,e))&&!p&&(h("false write response, pause",s._readableState.awaitDrain),s._readableState.awaitDrain++,m=!0),s.pause())}function g(t){h("onerror",t),y(),e.removeListener("error",g),0===o(e,"error")&&e.emit("error",t)}function v(){e.removeListener("finish",w),y()}function w(){h("onfinish"),e.removeListener("close",v),y()}function y(){h("unpipe"),s.unpipe(e)}return s.on("data",f),function(e,t,r){if("function"==typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?i(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}(e,"error",g),e.once("close",v),e.once("finish",w),e.emit("pipe",s),a.flowing||(h("pipe resume"),s.resume()),e},w.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this;if(!e){var n=t.pipes,s=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var i=0;i@metamask/obs-store>readable-stream",file:"node_modules/@metamask/desktop/node_modules/readable-stream/lib/_stream_readable.js"}],[1225,{"./_stream_duplex":1222,"core-util-is":3088,inherits:3641},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=o;var n=e("./_stream_duplex"),s=Object.create(e("core-util-is"));function i(e,t){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(!n)return this.emit("error",new Error("write callback called multiple times"));r.writechunk=null,r.writecb=null,null!=t&&this.push(t),n(e);var s=this._readableState;s.reading=!1,(s.needReadable||s.length@metamask/obs-store>readable-stream",file:"node_modules/@metamask/desktop/node_modules/readable-stream/lib/_stream_transform.js"}],[1226,{"./_stream_duplex":1222,"./internal/streams/destroy":1228,"./internal/streams/stream":1229,_process:3992,"core-util-is":3088,inherits:3641,"process-nextick-args":3991,"safe-buffer":1231,timers:4365,"util-deprecate":4420},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(r,n){(function(){var s=e("process-nextick-args");function i(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,r){var n=e.entry;e.entry=null;for(;n;){var s=n.callback;t.pendingcb--,s(r),n=n.next}t.corkedRequestsFree?t.corkedRequestsFree.next=e:t.corkedRequestsFree=e}(t,e)}}t.exports=v;var o,a=!r.browser&&["v0.10","v0.9."].indexOf(r.version.slice(0,5))>-1?n:s.nextTick;v.WritableState=g;var l=Object.create(e("core-util-is"));l.inherits=e("inherits");var c={deprecate:e("util-deprecate")},d=e("./internal/streams/stream"),u=e("safe-buffer").Buffer,h=global.Uint8Array||function(){};var p,m=e("./internal/streams/destroy");function f(){}function g(t,r){o=o||e("./_stream_duplex"),t=t||{};var n=r instanceof o;this.objectMode=!!t.objectMode,n&&(this.objectMode=this.objectMode||!!t.writableObjectMode);var l=t.highWaterMark,c=t.writableHighWaterMark,d=this.objectMode?16:16384;this.highWaterMark=l||0===l?l:n&&(c||0===c)?c:d,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var u=!1===t.decodeStrings;this.decodeStrings=!u,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var r=e._writableState,n=r.sync,i=r.writecb;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(r),t)!function(e,t,r,n,i){--t.pendingcb,r?(s.nextTick(i,n),s.nextTick(_,e,t),e._writableState.errorEmitted=!0,e.emit("error",n)):(i(n),e._writableState.errorEmitted=!0,e.emit("error",n),_(e,t))}(e,r,n,t,i);else{var o=b(r);o||r.corked||r.bufferProcessing||!r.bufferedRequest||k(e,r),n?a(y,e,r,o,i):y(e,r,o,i)}}(r,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new i(this)}function v(t){if(o=o||e("./_stream_duplex"),!(p.call(v,this)||this instanceof o))return new v(t);this._writableState=new g(t,this),this.writable=!0,t&&("function"==typeof t.write&&(this._write=t.write),"function"==typeof t.writev&&(this._writev=t.writev),"function"==typeof t.destroy&&(this._destroy=t.destroy),"function"==typeof t.final&&(this._final=t.final)),d.call(this)}function w(e,t,r,n,s,i,o){t.writelen=n,t.writecb=o,t.writing=!0,t.sync=!0,r?e._writev(s,t.onwrite):e._write(s,i,t.onwrite),t.sync=!1}function y(e,t,r,n){r||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,n(),_(e,t)}function k(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var n=t.bufferedRequestCount,s=new Array(n),o=t.corkedRequestsFree;o.entry=r;for(var a=0,l=!0;r;)s[a]=r,r.isBuf||(l=!1),r=r.next,a+=1;s.allBuffers=l,w(e,t,!0,t.length,s,"",o.finish),t.pendingcb++,t.lastBufferedRequest=null,o.next?(t.corkedRequestsFree=o.next,o.next=null):t.corkedRequestsFree=new i(t),t.bufferedRequestCount=0}else{for(;r;){var c=r.chunk,d=r.encoding,u=r.callback;if(w(e,t,!1,t.objectMode?1:c.length,c,d,u),r=r.next,t.bufferedRequestCount--,t.writing)break}null===r&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}function b(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function C(e,t){e._final((function(r){t.pendingcb--,r&&e.emit("error",r),t.prefinished=!0,e.emit("prefinish"),_(e,t)}))}function _(e,t){var r=b(t);return r&&(!function(e,t){t.prefinished||t.finalCalled||("function"==typeof e._final?(t.pendingcb++,t.finalCalled=!0,s.nextTick(C,e,t)):(t.prefinished=!0,e.emit("prefinish")))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"))),r}l.inherits(v,d),g.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(g.prototype,"buffer",{get:c.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(p=Function.prototype[Symbol.hasInstance],Object.defineProperty(v,Symbol.hasInstance,{value:function(e){return!!p.call(this,e)||this===v&&(e&&e._writableState instanceof g)}})):p=function(e){return e instanceof this},v.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},v.prototype.write=function(e,t,r){var n,i=this._writableState,o=!1,a=!i.objectMode&&(n=e,u.isBuffer(n)||n instanceof h);return a&&!u.isBuffer(e)&&(e=function(e){return u.from(e)}(e)),"function"==typeof t&&(r=t,t=null),a?t="buffer":t||(t=i.defaultEncoding),"function"!=typeof r&&(r=f),i.ended?function(e,t){var r=new Error("write after end");e.emit("error",r),s.nextTick(t,r)}(this,r):(a||function(e,t,r,n){var i=!0,o=!1;return null===r?o=new TypeError("May not write null values to stream"):"string"==typeof r||r===undefined||t.objectMode||(o=new TypeError("Invalid non-string/buffer chunk")),o&&(e.emit("error",o),s.nextTick(n,o),i=!1),i}(this,i,e,r))&&(i.pendingcb++,o=function(e,t,r,n,s,i){if(!r){var o=function(e,t,r){e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=u.from(t,r));return t}(t,n,s);n!==o&&(r=!0,s="buffer",n=o)}var a=t.objectMode?1:n.length;t.length+=a;var l=t.length-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(v.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),v.prototype._write=function(e,t,r){r(new Error("_write() is not implemented"))},v.prototype._writev=null,v.prototype.end=function(e,t,r){var n=this._writableState;"function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!==e&&e!==undefined&&this.write(e,t),n.corked&&(n.corked=1,this.uncork()),n.ending||n.finished||function(e,t,r){t.ending=!0,_(e,t),r&&(t.finished?s.nextTick(r):e.once("finish",r));t.ended=!0,e.writable=!1}(this,n,r)},Object.defineProperty(v.prototype,"destroyed",{get:function(){return this._writableState!==undefined&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),v.prototype.destroy=m.destroy,v.prototype._undestroy=m.undestroy,v.prototype._destroy=function(e,t){this.end(),t(e)}}).call(this)}).call(this,e("_process"),e("timers").setImmediate)}}},{package:"@metamask/desktop>@metamask/obs-store>readable-stream",file:"node_modules/@metamask/desktop/node_modules/readable-stream/lib/_stream_writable.js"}],[1227,{"safe-buffer":1231,util:2993},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("safe-buffer").Buffer,s=e("util");t.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},e.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},e.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(e){if(0===this.length)return"";for(var t=this.head,r=""+t.data;t=t.next;)r+=e+t.data;return r},e.prototype.concat=function(e){if(0===this.length)return n.alloc(0);if(1===this.length)return this.head.data;for(var t,r,s,i=n.allocUnsafe(e>>>0),o=this.head,a=0;o;)t=o.data,r=i,s=a,t.copy(r,s),a+=o.data.length,o=o.next;return i},e}(),s&&s.inspect&&s.inspect.custom&&(t.exports.prototype[s.inspect.custom]=function(){var e=s.inspect({length:this.length});return this.constructor.name+" "+e})}}},{package:"@metamask/desktop>@metamask/obs-store>readable-stream",file:"node_modules/@metamask/desktop/node_modules/readable-stream/lib/internal/streams/BufferList.js"}],[1228,{"process-nextick-args":3991},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("process-nextick-args");function s(e,t){e.emit("error",t)}t.exports={destroy:function(e,t){var r=this,i=this._readableState&&this._readableState.destroyed,o=this._writableState&&this._writableState.destroyed;return i||o?(t?t(e):!e||this._writableState&&this._writableState.errorEmitted||n.nextTick(s,this,e),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,(function(e){!t&&e?(n.nextTick(s,r,e),r._writableState&&(r._writableState.errorEmitted=!0)):t&&t(e)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}}}}},{package:"@metamask/desktop>@metamask/obs-store>readable-stream",file:"node_modules/@metamask/desktop/node_modules/readable-stream/lib/internal/streams/destroy.js"}],[1229,{events:3328},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=e("events").EventEmitter}}},{package:"@metamask/desktop>@metamask/obs-store>readable-stream",file:"node_modules/@metamask/desktop/node_modules/readable-stream/lib/internal/streams/stream-browser.js"}],[123,{lodash:3836},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=e("lodash");r.default={version:3,migrate(e){const t=(0,n.cloneDeep)(e);t.meta.version=3;try{"https://rawtestrpc.metamask.io/"===t.data.config.provider.rpcTarget&&(t.data.config.provider.rpcTarget="https://testrpc.metamask.io/")}catch(e){}return Promise.resolve(t)}}}}},{package:"$root$",file:"app/scripts/migrations/003.js"}],[1230,{"./lib/_stream_duplex.js":1222,"./lib/_stream_passthrough.js":1223,"./lib/_stream_readable.js":1224,"./lib/_stream_transform.js":1225,"./lib/_stream_writable.js":1226},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(r=t.exports=e("./lib/_stream_readable.js")).Stream=r,r.Readable=r,r.Writable=e("./lib/_stream_writable.js"),r.Duplex=e("./lib/_stream_duplex.js"),r.Transform=e("./lib/_stream_transform.js"),r.PassThrough=e("./lib/_stream_passthrough.js")}}},{package:"@metamask/desktop>@metamask/obs-store>readable-stream",file:"node_modules/@metamask/desktop/node_modules/readable-stream/readable-browser.js"}],[1231,{buffer:3028},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("buffer"),s=n.Buffer;function i(e,t){for(var r in e)t[r]=e[r]}function o(e,t,r){return s(e,t,r)}s.from&&s.alloc&&s.allocUnsafe&&s.allocUnsafeSlow?t.exports=n:(i(n,r),r.Buffer=o),i(s,o),o.from=function(e,t,r){if("number"==typeof e)throw new TypeError("Argument must not be a number");return s(e,t,r)},o.alloc=function(e,t,r){if("number"!=typeof e)throw new TypeError("Argument must be a number");var n=s(e);return t!==undefined?"string"==typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},o.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return s(e)},o.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return n.SlowBuffer(e)}}}},{package:"@metamask/desktop>@metamask/obs-store>readable-stream>safe-buffer",file:"node_modules/@metamask/desktop/node_modules/safe-buffer/index.js"}],[1232,{"safe-buffer":1231},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("safe-buffer").Buffer,s=n.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function i(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(n.isEncoding===s||!s(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=l,this.end=c,t=4;break;case"utf8":this.fillLast=a,t=4;break;case"base64":this.text=d,this.end=u,t=3;break;default:return this.write=h,void(this.end=p)}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(t)}function o(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function a(e){var t=this.lastTotal-this.lastNeed,r=function(e,t,r){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return r!==undefined?r:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function l(e,t){if((e.length-t)%2==0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function c(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function d(e,t){var r=(e.length-t)%3;return 0===r?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function u(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function h(e){return e.toString(this.encoding)}function p(e){return e&&e.length?this.write(e):""}r.StringDecoder=i,i.prototype.write=function(e){if(0===e.length)return"";var t,r;if(this.lastNeed){if((t=this.fillLast(e))===undefined)return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r=0)return s>0&&(e.lastNeed=s-1),s;if(--n=0)return s>0&&(e.lastNeed=s-2),s;if(--n=0)return s>0&&(2===s?s=0:e.lastNeed=s-3),s;return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var n=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)},i.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}}}},{package:"@metamask/desktop>@metamask/obs-store>readable-stream>string_decoder",file:"node_modules/@metamask/desktop/node_modules/string_decoder/lib/string_decoder.js"}],[1233,{_process:3992,"readable-stream":1230,util:4423,xtend:4478},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(r){(function(){var n=e("readable-stream").Transform,s=e("util").inherits,i=e("xtend");function o(e){n.call(this,e),this._destroyed=!1}function a(e,t,r){r(null,e)}function l(e){return function(t,r,n){return"function"==typeof t&&(n=r,r=t,t={}),"function"!=typeof r&&(r=a),"function"!=typeof n&&(n=null),e(t,r,n)}}s(o,n),o.prototype.destroy=function(e){if(!this._destroyed){this._destroyed=!0;var t=this;r.nextTick((function(){e&&t.emit("error",e),t.emit("close")}))}},t.exports=l((function(e,t,r){var n=new o(e);return n._transform=t,r&&(n._flush=r),n})),t.exports.ctor=l((function(e,t,r){function n(t){if(!(this instanceof n))return new n(t);this.options=i(e,t),o.call(this,this.options)}return s(n,o),n.prototype._transform=t,r&&(n.prototype._flush=r),n})),t.exports.obj=l((function(e,t,r){var n=new o(i({objectMode:!0,highWaterMark:16},e));return n._transform=t,r&&(n._flush=r),n}))}).call(this)}).call(this,e("_process"))}}},{package:"@metamask/desktop>@metamask/obs-store>through2",file:"node_modules/@metamask/desktop/node_modules/through2/through2.js"}],[1234,{"@ethersproject/providers":521,"@metamask/base-controller":1241,"@metamask/controller-utils":1247,"@metamask/utils":2300,"punycode/":4055},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n,s,i,o=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)},a=(e,t,r)=>(o(e,t,"read from private field"),r?r.call(e):t.get(e)),l=(e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)},c=(e,t,r,n)=>(o(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),d=e("@ethersproject/providers"),u=e("@metamask/base-controller"),h=e("@metamask/controller-utils"),p=e("@metamask/utils"),m=e("punycode/"),f=p.createProjectLogger.call(void 0,"ens-controller"),g={1:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",3:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",4:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",5:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",17e3:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",11155111:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e"},v={ensEntries:{persist:!0,anonymous:!1},ensResolutionsByAddress:{persist:!0,anonymous:!1}},w={ensEntries:{},ensResolutionsByAddress:{}},y=class extends u.BaseController{constructor({registriesByChainId:e=g,messenger:t,state:r={},provider:a,onNetworkDidChange:u}){super({name:"EnsController",metadata:v,messenger:t,state:{...w,ensEntries:Object.fromEntries(Object.entries(e).map((([e,t])=>[h.toHex.call(void 0,e),{".":{address:t,chainId:h.toHex.call(void 0,e),ensName:"."}}]))),...r}}),l(this,s),l(this,n,null),a&&u&&u((t=>{this.resetState();const r=t.providerConfig.chainId;var l,u,p;(l=this,u=s,p=i,o(l,u,"access private method"),p).call(this,r)?c(this,n,new(0,d.Web3Provider)(a,{chainId:h.convertHexToDecimal.call(void 0,r),name:h.CHAIN_ID_TO_ETHERS_NETWORK_NAME_MAP[r],ensAddress:e[parseInt(r,16)]})):c(this,n,null)}))}resetState(){this.update((e=>{e.ensResolutionsByAddress={}}))}clear(){this.update((e=>{e.ensEntries={}}))}delete(e,t){const r=h.normalizeEnsName.call(void 0,t);return!!(r&&this.state.ensEntries[e]&&this.state.ensEntries[e][r])&&(this.update((t=>{delete t.ensEntries[e][r],0===Object.keys(t.ensEntries[e]).length&&delete t.ensEntries[e]})),!0)}get(e,t){const r=h.normalizeEnsName.call(void 0,t);return r&&this.state.ensEntries[e]&&this.state.ensEntries[e][r]||null}set(e,t,r){if(!Number.isInteger(Number.parseInt(e,10))||!t||"string"!=typeof t||r&&!h.isValidHexAddress.call(void 0,r))throw new Error(`Invalid ENS entry: { chainId:${e}, ensName:${t}, address:${r}}`);const n=h.normalizeEnsName.call(void 0,t);if(!n)throw new Error(`Invalid ENS name: ${t}`);const s=r?h.toChecksumHexAddress.call(void 0,r):null,i=this.state.ensEntries[e];return(!i?.[n]||i[n].address!==s)&&(this.update((t=>{t.ensEntries={...this.state.ensEntries,[e]:{...this.state.ensEntries[e],[n]:{address:s,chainId:e,ensName:n}}}})),!0)}async reverseResolveAddress(e){if(!a(this,n))return;const t=h.toChecksumHexAddress.call(void 0,e);if(this.state.ensResolutionsByAddress[t])return this.state.ensResolutionsByAddress[t];let r,s;try{r=await a(this,n).lookupAddress(t)}catch(e){return void f(e)}if(r){try{s=await a(this,n).resolveName(r)}catch(e){return void f(e)}return s&&"0x0000000000000000000000000000000000000000"!==s&&"0x"!==s&&h.toChecksumHexAddress.call(void 0,s)===t?(this.update((e=>{e.ensResolutionsByAddress[t]=m.toASCII.call(void 0,r)})),r):void 0}}};n=new WeakMap,s=new WeakSet,i=function(e){return Boolean(this.state.ensEntries[e])};var k=y;r.DEFAULT_ENS_NETWORK_MAP=g,r.EnsController=y,r.EnsController_default=k}}},{package:"@metamask/ens-controller",file:"node_modules/@metamask/ens-controller/dist/chunk-S7KH3XXU.js"}],[1235,{"./chunk-S7KH3XXU.js":1234},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n=e("./chunk-S7KH3XXU.js");r.DEFAULT_ENS_NETWORK_MAP=n.DEFAULT_ENS_NETWORK_MAP,r.EnsController=n.EnsController}}},{package:"@metamask/ens-controller",file:"node_modules/@metamask/ens-controller/dist/index.js"}],[1236,{"./chunk-UJFCPTF3.js":1238,"./chunk-Z4BLTVTB.js":1239},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n,s,i,o,a=e("./chunk-UJFCPTF3.js"),l=e("./chunk-Z4BLTVTB.js");n=new WeakMap,s=new WeakMap,i=new WeakMap,o=new WeakMap,r.ControllerMessenger=class{constructor(){l.__privateAdd.call(void 0,this,n,new Map),l.__privateAdd.call(void 0,this,s,new Map),l.__privateAdd.call(void 0,this,i,new Map),l.__privateAdd.call(void 0,this,o,new Map)}registerActionHandler(e,t){if(l.__privateGet.call(void 0,this,n).has(e))throw new Error(`A handler for ${e} has already been registered`);l.__privateGet.call(void 0,this,n).set(e,t)}unregisterActionHandler(e){l.__privateGet.call(void 0,this,n).delete(e)}clearActions(){l.__privateGet.call(void 0,this,n).clear()}call(e,...t){const r=l.__privateGet.call(void 0,this,n).get(e);if(!r)throw new Error(`A handler for ${e} has not been registered`);return r(...t)}registerInitialEventPayload({eventType:e,getPayload:t}){l.__privateGet.call(void 0,this,i).set(e,t)}publish(e,...t){const r=l.__privateGet.call(void 0,this,s).get(e);if(r)for(const[e,n]of r.entries())try{if(n){const r=l.__privateGet.call(void 0,this,o).get(e),s=n(...t);s!==r&&(l.__privateGet.call(void 0,this,o).set(e,s),e(s,r))}else e(...t)}catch(e){setTimeout((()=>{throw e}))}}subscribe(e,t,r){let n=l.__privateGet.call(void 0,this,s).get(e);if(n||(n=new Map,l.__privateGet.call(void 0,this,s).set(e,n)),n.set(t,r),r){const n=l.__privateGet.call(void 0,this,i).get(e);if(n){const e=r(...n());l.__privateGet.call(void 0,this,o).set(t,e)}}}unsubscribe(e,t){const r=l.__privateGet.call(void 0,this,s).get(e);if(!r||!r.has(t))throw new Error(`Subscription not found for event: ${e}`);r.get(t)&&l.__privateGet.call(void 0,this,o).delete(t),r.delete(t)}clearEventSubscriptions(e){l.__privateGet.call(void 0,this,s).delete(e)}clearSubscriptions(){l.__privateGet.call(void 0,this,s).clear()}getRestricted({name:e,allowedActions:t,allowedEvents:r}){return new(0,a.RestrictedControllerMessenger)({controllerMessenger:this,name:e,allowedActions:t,allowedEvents:r})}}}}},{package:"@metamask/ens-controller>@metamask/base-controller",file:"node_modules/@metamask/ens-controller/node_modules/@metamask/base-controller/dist/chunk-G42723LG.js"}],[1237,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n=class{constructor(e={},t={}){this.defaultConfig={},this.defaultState={},this.disabled=!1,this.name="BaseController",this.internalConfig=this.defaultConfig,this.internalState=this.defaultState,this.internalListeners=[],this.initialState=t,this.initialConfig=e}initialize(){return this.internalState=this.defaultState,this.internalConfig=this.defaultConfig,this.configure(this.initialConfig),this.update(this.initialState),this}get config(){return this.internalConfig}get state(){return this.internalState}configure(e,t=!1,r=!0){if(r){this.internalConfig=t?e:Object.assign(this.internalConfig,e);for(const e of Object.keys(this.internalConfig)){const t=this.internalConfig[e];void 0!==t&&(this[e]=t)}}else for(const t of Object.keys(e))if(void 0!==this.internalConfig[t]){const r=e[t];this.internalConfig[t]=r,this[t]=r}}notify(){this.disabled||this.internalListeners.forEach((e=>{e(this.internalState)}))}subscribe(e){this.internalListeners.push(e)}unsubscribe(e){const t=this.internalListeners.findIndex((t=>e===t));return t>-1&&this.internalListeners.splice(t,1),t>-1}update(e,t=!1){this.internalState=t?Object.assign({},e):Object.assign({},this.internalState,e),this.notify()}},s=n;r.BaseControllerV1=n,r.BaseControllerV1_default=s}}},{package:"@metamask/ens-controller>@metamask/base-controller",file:"node_modules/@metamask/ens-controller/node_modules/@metamask/base-controller/dist/chunk-NINOM2XQ.js"}],[1238,{"./chunk-Z4BLTVTB.js":1239},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n,s,i,o,a,l,c,d,u,h,p=e("./chunk-Z4BLTVTB.js");n=new WeakMap,s=new WeakMap,i=new WeakMap,o=new WeakMap,a=new WeakSet,l=function(e){const t=p.__privateGet.call(void 0,this,o);return p.__privateMethod.call(void 0,this,u,h).call(this,e)||null!==t&&t.includes(e)},c=new WeakSet,d=function(e){const t=p.__privateGet.call(void 0,this,i);return p.__privateMethod.call(void 0,this,u,h).call(this,e)||null!==t&&t.includes(e)},u=new WeakSet,h=function(e){return e.startsWith(`${p.__privateGet.call(void 0,this,s)}:`)},r.RestrictedControllerMessenger=class{constructor({controllerMessenger:e,name:t,allowedActions:r,allowedEvents:l}){p.__privateAdd.call(void 0,this,a),p.__privateAdd.call(void 0,this,c),p.__privateAdd.call(void 0,this,u),p.__privateAdd.call(void 0,this,n,void 0),p.__privateAdd.call(void 0,this,s,void 0),p.__privateAdd.call(void 0,this,i,void 0),p.__privateAdd.call(void 0,this,o,void 0),p.__privateSet.call(void 0,this,n,e),p.__privateSet.call(void 0,this,s,t),p.__privateSet.call(void 0,this,i,r),p.__privateSet.call(void 0,this,o,l)}registerActionHandler(e,t){if(!p.__privateMethod.call(void 0,this,u,h).call(this,e))throw new Error(`Only allowed registering action handlers prefixed by '${p.__privateGet.call(void 0,this,s)}:'`);p.__privateGet.call(void 0,this,n).registerActionHandler(e,t)}unregisterActionHandler(e){if(!p.__privateMethod.call(void 0,this,u,h).call(this,e))throw new Error(`Only allowed unregistering action handlers prefixed by '${p.__privateGet.call(void 0,this,s)}:'`);p.__privateGet.call(void 0,this,n).unregisterActionHandler(e)}call(e,...t){if(!p.__privateMethod.call(void 0,this,c,d).call(this,e))throw new Error(`Action missing from allow list: ${e}`);return p.__privateGet.call(void 0,this,n).call(e,...t)}registerInitialEventPayload({eventType:e,getPayload:t}){if(!p.__privateMethod.call(void 0,this,u,h).call(this,e))throw new Error(`Only allowed publishing events prefixed by '${p.__privateGet.call(void 0,this,s)}:'`);p.__privateGet.call(void 0,this,n).registerInitialEventPayload({eventType:e,getPayload:t})}publish(e,...t){if(!p.__privateMethod.call(void 0,this,u,h).call(this,e))throw new Error(`Only allowed publishing events prefixed by '${p.__privateGet.call(void 0,this,s)}:'`);p.__privateGet.call(void 0,this,n).publish(e,...t)}subscribe(e,t,r){if(!p.__privateMethod.call(void 0,this,a,l).call(this,e))throw new Error(`Event missing from allow list: ${e}`);return r?p.__privateGet.call(void 0,this,n).subscribe(e,t,r):p.__privateGet.call(void 0,this,n).subscribe(e,t)}unsubscribe(e,t){if(!p.__privateMethod.call(void 0,this,a,l).call(this,e))throw new Error(`Event missing from allow list: ${e}`);p.__privateGet.call(void 0,this,n).unsubscribe(e,t)}clearEventSubscriptions(e){if(!p.__privateMethod.call(void 0,this,u,h).call(this,e))throw new Error(`Only allowed clearing events prefixed by '${p.__privateGet.call(void 0,this,s)}:'`);p.__privateGet.call(void 0,this,n).clearEventSubscriptions(e)}}}}},{package:"@metamask/ens-controller>@metamask/base-controller",file:"node_modules/@metamask/ens-controller/node_modules/@metamask/base-controller/dist/chunk-UJFCPTF3.js"}],[1239,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)};r.__privateGet=(e,t,r)=>(n(e,t,"read from private field"),r?r.call(e):t.get(e)),r.__privateAdd=(e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)},r.__privateSet=(e,t,r,s)=>(n(e,t,"write to private field"),s?s.call(e,r):t.set(e,r),r),r.__privateMethod=(e,t,r)=>(n(e,t,"access private method"),r)}}},{package:"@metamask/ens-controller>@metamask/base-controller",file:"node_modules/@metamask/ens-controller/node_modules/@metamask/base-controller/dist/chunk-Z4BLTVTB.js"}],[124,{lodash:3836},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=e("lodash");r.default={version:4,migrate(e){const t=(0,n.cloneDeep)(e);t.meta.version=4;try{if("rpc"!==t.data.config.provider.type)return Promise.resolve(t);switch(t.data.config.provider.rpcTarget){case"https://testrpc.metamask.io/":t.data.config.provider={type:"testnet"};break;case"https://rpc.metamask.io/":t.data.config.provider={type:"mainnet"}}}catch(e){}return Promise.resolve(t)}}}}},{package:"$root$",file:"app/scripts/migrations/004.js"}],[1240,{"./chunk-Z4BLTVTB.js":1239,immer:3640},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n,s=e("./chunk-Z4BLTVTB.js"),i=e("immer");i.enablePatches.call(void 0);function o(e,t,r){return Object.keys(e).reduce(((n,s)=>{try{const i=t[s];if(!i)throw new Error(`No metadata found for '${String(s)}'`);const o=i[r],a=e[s];return"function"==typeof o?n[s]=o(a):o&&(n[s]=a),n}catch(e){return setTimeout((()=>{throw e})),n}}),{})}n=new WeakMap,r.BaseController=class{constructor({messenger:e,metadata:t,name:r,state:o}){s.__privateAdd.call(void 0,this,n,void 0),this.messagingSystem=e,this.name=r,s.__privateSet.call(void 0,this,n,i.freeze.call(void 0,o,!0)),this.metadata=t,this.messagingSystem.registerActionHandler(`${r}:getState`,(()=>this.state)),this.messagingSystem.registerInitialEventPayload({eventType:`${r}:stateChange`,getPayload:()=>[this.state,[]]})}get state(){return s.__privateGet.call(void 0,this,n)}set state(e){throw new Error("Controller state cannot be directly mutated; use 'update' method instead.")}update(e){const[t,r,o]=i.produceWithPatches.call(void 0,s.__privateGet.call(void 0,this,n),e);return s.__privateSet.call(void 0,this,n,t),this.messagingSystem.publish(`${this.name}:stateChange`,t,r),{nextState:t,patches:r,inversePatches:o}}applyPatches(e){const t=i.applyPatches.call(void 0,s.__privateGet.call(void 0,this,n),e);s.__privateSet.call(void 0,this,n,t),this.messagingSystem.publish(`${this.name}:stateChange`,t,e)}destroy(){this.messagingSystem.clearEventSubscriptions(`${this.name}:stateChange`)}},r.getAnonymizedState=function(e,t){return o(e,t,"anonymous")},r.getPersistentState=function(e,t){return o(e,t,"persist")}}}},{package:"@metamask/ens-controller>@metamask/base-controller",file:"node_modules/@metamask/ens-controller/node_modules/@metamask/base-controller/dist/chunk-ZNOPSWMU.js"}],[1241,{"./chunk-G42723LG.js":1236,"./chunk-NINOM2XQ.js":1237,"./chunk-UJFCPTF3.js":1238,"./chunk-Z4BLTVTB.js":1239,"./chunk-ZNOPSWMU.js":1240},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n=e("./chunk-NINOM2XQ.js"),s=e("./chunk-ZNOPSWMU.js"),i=e("./chunk-G42723LG.js"),o=e("./chunk-UJFCPTF3.js");e("./chunk-Z4BLTVTB.js"),r.BaseController=s.BaseController,r.BaseControllerV1=n.BaseControllerV1,r.ControllerMessenger=i.ControllerMessenger,r.RestrictedControllerMessenger=o.RestrictedControllerMessenger,r.getAnonymizedState=s.getAnonymizedState,r.getPersistentState=s.getPersistentState}}},{package:"@metamask/ens-controller>@metamask/base-controller",file:"node_modules/@metamask/ens-controller/node_modules/@metamask/base-controller/dist/index.js"}],[1242,{"@metamask/utils":2300},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n=e("@metamask/utils"),s=n.createProjectLogger.call(void 0,"controller-utils");r.createModuleLogger=n.createModuleLogger,r.projectLogger=s}}},{package:"@metamask/ens-controller>@metamask/controller-utils",file:"node_modules/@metamask/ens-controller/node_modules/@metamask/controller-utils/dist/chunk-DBJSLKNR.js"}],[1243,{"./chunk-X4PYR7CK.js":1246,"@ethereumjs/util":438,"@metamask/ethjs-unit":1381,"@metamask/utils":2300,"bn.js":2980,buffer:3028,"eth-ens-namehash":3225,"fast-deep-equal":3356},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(t){(function(){function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(r,"__esModule",{value:!0});var s=e("./chunk-X4PYR7CK.js"),i=e("@ethereumjs/util"),o=e("@metamask/ethjs-unit"),a=e("@metamask/utils"),l=n(e("bn.js")),c=n(e("eth-ens-namehash")),d=n(e("fast-deep-equal")),u=new Error("timeout"),h=["__proto__","constructor","prototype"];function p(e){return e?new(0,l.default)(a.remove0x.call(void 0,e),16):new(0,l.default)(0)}async function m(e,t){const r=await fetch(e,t);if(!r.ok)throw new Error(`Fetch failed with status '${r.status}' for request '${String(e)}'`);return r}async function f(e,t){const r=await m(e,t);return await r.json()}r.PROTOTYPE_POLLUTION_BLOCKLIST=h,r.isSafeDynamicKey=function(e){return"string"==typeof e&&!h.some((t=>e===t))},r.isSafeChainId=function(e){if(!a.isHexString.call(void 0,e))return!1;const t=Number.parseInt(e,a.isStrictHexString.call(void 0,e)?16:10);return Number.isSafeInteger(t)&&t>0&&t<=s.MAX_SAFE_CHAIN_ID},r.BNToHex=function(e){return a.add0x.call(void 0,e.toString(16))},r.fractionBN=function(e,t,r){const n=new(0,l.default)(t),s=new(0,l.default)(r);return e.mul(n).div(s)},r.gweiDecToWEIBN=function(e){if(Number.isNaN(e))return new(0,l.default)(0);const t=e.toString().split("."),r=t[0]||"0";let n=t[1]||"";if(!n)return o.toWei.call(void 0,r,"gwei");if(n.length<=9)return o.toWei.call(void 0,`${r}.${n}`,"gwei");const s=n.slice(9)[0];n=n.slice(0,9);let i=o.toWei.call(void 0,`${r}.${n}`,"gwei");return Number(s)>=5&&(i=i.add(new(0,l.default)(1))),i},r.weiHexToGweiDec=function(e){const t=new(0,l.default)(a.remove0x.call(void 0,e),16);return o.fromWei.call(void 0,t,"gwei")},r.getBuyURL=function(e="1",t,r=5){switch(e){case"1":return`https://buy.coinbase.com/?code=9ec56d01-7e81-5017-930c-513daa27bb6a&amount=${r}&address=${t}&crypto_currency=ETH`;case"5":return"https://goerli-faucet.slock.it/";case"11155111":return"https://sepoliafaucet.net/";default:return}},r.hexToBN=p,r.hexToText=function(e){try{const r=a.remove0x.call(void 0,e);return t.from(r,"hex").toString("utf8")}catch(t){return e}},r.fromHex=function(e){return l.default.isBN(e)?e:new(0,l.default)(p(e).toString(10))},r.toHex=function(e){return"string"==typeof e&&a.isStrictHexString.call(void 0,e)?e:`0x${l.default.isBN(e)?e.toString(16):new(0,l.default)(e.toString(),10).toString(16)}`},r.safelyExecute=async function(e,t=!1){try{return await e()}catch(e){return void(t&&console.error(e))}},r.safelyExecuteWithTimeout=async function(e,t=!1,r=500){try{return await Promise.race([e(),new Promise(((e,t)=>setTimeout((()=>{t(u)}),r)))])}catch(e){return void(t&&console.error(e))}},r.toChecksumHexAddress=function(e){if("string"!=typeof e)return e;const t=a.add0x.call(void 0,e);return a.isHexString.call(void 0,t)?i.toChecksumAddress.call(void 0,t):t},r.isValidHexAddress=function(e,{allowNonPrefixed:t=!0}={}){const r=t?a.add0x.call(void 0,e):e;return!!a.isStrictHexString.call(void 0,r)&&i.isValidAddress.call(void 0,r)},r.isSmartContractCode=function(e){return!!e&&("0x"!==e&&"0x0"!==e)},r.successfulFetch=m,r.handleFetch=f,r.fetchWithErrorHandling=async function({url:e,options:t,timeout:r,errorCodesToCatch:n}){let s;try{s=r?Promise.race([await f(e,t),new Promise(((e,t)=>setTimeout((()=>{t(u)}),r)))]):await f(e,t)}catch(e){!function(e,t=[]){if(!e)return;if(!(e instanceof Error))throw e;if(!t.some((t=>e.message.includes(`Fetch failed with status '${t}'`)))&&!e.message.includes("Failed to fetch")&&e!==u)throw e;console.error(e)}(e,n)}return s},r.timeoutFetch=async function(e,t,r=500){return Promise.race([m(e,t),new Promise(((e,t)=>setTimeout((()=>{t(u)}),r)))])},r.normalizeEnsName=function(e){if("."===e)return e;if(e&&"string"==typeof e)try{const t=c.default.normalize(e.trim());if(t.match(/^(([\w\d-]+)\.)*[\w\d-]{7,}\.(eth|test)$/u))return t}catch(e){}return null},r.query=function(e,t,r=[]){return new Promise(((n,s)=>{const i=(e,t)=>{e?s(e):n(t)};t in e&&"function"==typeof e[t]?e[t](...r,i):e.sendAsync({method:t,params:r},i)}))},r.convertHexToDecimal=(e="0x0")=>a.isStrictHexString.call(void 0,e)?parseInt(e,16):Number(e)?Number(e):0,r.isPlainObject=function(e){return Boolean(e)&&"object"==typeof e&&!Array.isArray(e)},r.isNonEmptyArray=function(e){return Array.isArray(e)&&e.length>0},r.isValidJson=function(e){try{return d.default.call(void 0,e,JSON.parse(JSON.stringify(e)))}catch(e){return!1}}}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"@metamask/ens-controller>@metamask/controller-utils",file:"node_modules/@metamask/ens-controller/node_modules/@metamask/controller-utils/dist/chunk-EDY72VWL.js"}],[1244,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n={mainnet:"mainnet",goerli:"goerli",sepolia:"sepolia","linea-goerli":"linea-goerli","linea-sepolia":"linea-sepolia","linea-mainnet":"linea-mainnet"},s={...n,rpc:"rpc"};var i=(e=>(e.Mainnet="mainnet",e.Goerli="goerli",e.Sepolia="sepolia",e.LineaGoerli="linea-goerli",e.LineaSepolia="linea-sepolia",e.LineaMainnet="linea-mainnet",e.Aurora="aurora",e))(i||{}),o={mainnet:"0x1",goerli:"0x5",sepolia:"0xaa36a7",aurora:"0x4e454152","linea-goerli":"0xe704","linea-sepolia":"0xe705","linea-mainnet":"0xe708"},a=(e=>(e.mainnet="ETH",e.goerli="GoerliETH",e.sepolia="SepoliaETH",e["linea-goerli"]="LineaETH",e["linea-sepolia"]="LineaETH",e["linea-mainnet"]="ETH",e.rpc="",e))(a||{});r.InfuraNetworkType=n,r.NetworkType=s,r.isNetworkType=function(e){return Object.values(s).includes(e)},r.isInfuraNetworkType=function(e){return Object.keys(n).includes(e)},r.BuiltInNetworkName=i,r.ChainId=o,r.NetworksTicker=a}}},{package:"@metamask/ens-controller>@metamask/controller-utils",file:"node_modules/@metamask/ens-controller/node_modules/@metamask/controller-utils/dist/chunk-LGGBBU6G.js"}],[1245,{"./chunk-DBJSLKNR.js":1242,"@metamask/utils":2300,"@spruceid/siwe-parser":2526,buffer:3028},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(t){(function(){Object.defineProperty(r,"__esModule",{value:!0});var n=e("./chunk-DBJSLKNR.js"),s=e("@metamask/utils"),i=e("@spruceid/siwe-parser"),o=n.createModuleLogger.call(void 0,n.projectLogger,"detect-siwe");function a(e){try{const n="string"!=typeof(r=e)?r:s.remove0x.call(void 0,r),i=t.from(n,"hex");return 32===i.length?e:i.toString("utf8")}catch(t){return o(t),e}var r}var l={"http:":"80","https:":"443"},c=(e,t)=>e.match(/^[^/:]*:\/\//u)?new URL(e):new URL(`${t}//${e}`);r.parseDomainParts=c,r.isValidSIWEOrigin=e=>{try{const{origin:t,siwe:r}=e;if(!t||!r?.parsedMessage?.domain)return!1;const n=new URL(t),s=c(r.parsedMessage.domain,n.protocol);return 0===s.hostname.localeCompare(n.hostname,void 0,{sensitivity:"accent"})&&(""!==s.port&&s.port!==n.port?""===n.port&&s.port===l[n.protocol]:""===s.username||s.username===n.username)}catch(e){return o(e),!1}},r.detectSIWE=e=>{try{const{data:t}=e,r=a(t);return{isSIWEMessage:!0,parsedMessage:new(0,i.ParsedMessage)(r)}}catch(e){return{isSIWEMessage:!1,parsedMessage:null}}}}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"@metamask/ens-controller>@metamask/controller-utils",file:"node_modules/@metamask/ens-controller/node_modules/@metamask/controller-utils/dist/chunk-M6G3ISXG.js"}],[1246,{"./chunk-LGGBBU6G.js":1244},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n=e("./chunk-LGGBBU6G.js"),s={[n.NetworkType.goerli]:{chainId:n.ChainId.goerli,ticker:"GoerliETH",rpcPrefs:{blockExplorerUrl:`https://${n.NetworkType.goerli}.etherscan.io`}},[n.NetworkType.sepolia]:{chainId:n.ChainId.sepolia,ticker:"SepoliaETH",rpcPrefs:{blockExplorerUrl:`https://${n.NetworkType.sepolia}.etherscan.io`}},[n.NetworkType.mainnet]:{chainId:n.ChainId.mainnet,ticker:"ETH",rpcPrefs:{blockExplorerUrl:"https://etherscan.io"}},[n.NetworkType["linea-goerli"]]:{chainId:n.ChainId["linea-goerli"],ticker:"LineaETH",rpcPrefs:{blockExplorerUrl:"https://goerli.lineascan.build"}},[n.NetworkType["linea-sepolia"]]:{chainId:n.ChainId["linea-sepolia"],ticker:"LineaETH",rpcPrefs:{blockExplorerUrl:"https://sepolia.lineascan.build"}},[n.NetworkType["linea-mainnet"]]:{chainId:n.ChainId["linea-mainnet"],ticker:"ETH",rpcPrefs:{blockExplorerUrl:"https://lineascan.build"}},[n.NetworkType.rpc]:{chainId:void 0,blockExplorerUrl:void 0,ticker:void 0,rpcPrefs:void 0}},i=(e=>(e.AddEthereumChain="wallet_addEthereumChain",e.ConnectAccounts="connect_accounts",e.EthDecrypt="eth_decrypt",e.EthGetEncryptionPublicKey="eth_getEncryptionPublicKey",e.EthSign="eth_sign",e.EthSignTypedData="eth_signTypedData",e.PersonalSign="personal_sign",e.ResultError="result_error",e.ResultSuccess="result_success",e.SnapDialogAlert="snap_dialog:alert",e.SnapDialogConfirmation="snap_dialog:confirmation",e.SnapDialogPrompt="snap_dialog:prompt",e.SwitchEthereumChain="wallet_switchEthereumChain",e.Transaction="transaction",e.Unlock="unlock",e.WalletConnect="wallet_connect",e.WalletRequestPermissions="wallet_requestPermissions",e.WatchAsset="wallet_watchAsset",e))(i||{}),o={[n.ChainId.goerli]:"goerli",[n.ChainId.sepolia]:"sepolia",[n.ChainId.mainnet]:"mainnet",[n.ChainId["linea-goerli"]]:"linea-goerli",[n.ChainId["linea-sepolia"]]:"linea-sepolia",[n.ChainId["linea-mainnet"]]:"linea-mainnet",[n.ChainId.aurora]:"aurora"};r.RPC="rpc",r.FALL_BACK_VS_CURRENCY="ETH",r.IPFS_DEFAULT_GATEWAY_URL="https://cloudflare-ipfs.com/ipfs/",r.GANACHE_CHAIN_ID="0x539",r.MAX_SAFE_CHAIN_ID=0xfffffffffffec,r.ERC721="ERC721",r.ERC1155="ERC1155",r.ERC20="ERC20",r.ERC721_INTERFACE_ID="0x80ac58cd",r.ERC721_METADATA_INTERFACE_ID="0x5b5e139f",r.ERC721_ENUMERABLE_INTERFACE_ID="0x780e9d63",r.ERC1155_INTERFACE_ID="0xd9b67a26",r.ERC1155_METADATA_URI_INTERFACE_ID="0x0e89341c",r.ERC1155_TOKEN_RECEIVER_INTERFACE_ID="0x4e2312e0",r.GWEI="gwei",r.ASSET_TYPES={NATIVE:"NATIVE",TOKEN:"TOKEN",NFT:"NFT",UNKNOWN:"UNKNOWN"},r.TESTNET_TICKER_SYMBOLS={GOERLI:"GoerliETH",SEPOLIA:"SepoliaETH",LINEA_GOERLI:"LineaETH",LINEA_SEPOLIA:"LineaETH"},r.BUILT_IN_NETWORKS=s,r.OPENSEA_PROXY_URL="https://proxy.metafi.codefi.network/opensea/v1/api/v2",r.NFT_API_BASE_URL="https://nft.api.cx.metamask.io",r.ORIGIN_METAMASK="metamask",r.ApprovalType=i,r.CHAIN_ID_TO_ETHERS_NETWORK_NAME_MAP=o}}},{package:"@metamask/ens-controller>@metamask/controller-utils",file:"node_modules/@metamask/ens-controller/node_modules/@metamask/controller-utils/dist/chunk-X4PYR7CK.js"}],[1247,{"./chunk-DBJSLKNR.js":1242,"./chunk-EDY72VWL.js":1243,"./chunk-LGGBBU6G.js":1244,"./chunk-M6G3ISXG.js":1245,"./chunk-X4PYR7CK.js":1246},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n=e("./chunk-M6G3ISXG.js");e("./chunk-DBJSLKNR.js");var s=e("./chunk-EDY72VWL.js"),i=e("./chunk-X4PYR7CK.js"),o=e("./chunk-LGGBBU6G.js");r.ASSET_TYPES=i.ASSET_TYPES,r.ApprovalType=i.ApprovalType,r.BNToHex=s.BNToHex,r.BUILT_IN_NETWORKS=i.BUILT_IN_NETWORKS,r.BuiltInNetworkName=o.BuiltInNetworkName,r.CHAIN_ID_TO_ETHERS_NETWORK_NAME_MAP=i.CHAIN_ID_TO_ETHERS_NETWORK_NAME_MAP,r.ChainId=o.ChainId,r.ERC1155=i.ERC1155,r.ERC1155_INTERFACE_ID=i.ERC1155_INTERFACE_ID,r.ERC1155_METADATA_URI_INTERFACE_ID=i.ERC1155_METADATA_URI_INTERFACE_ID,r.ERC1155_TOKEN_RECEIVER_INTERFACE_ID=i.ERC1155_TOKEN_RECEIVER_INTERFACE_ID,r.ERC20=i.ERC20,r.ERC721=i.ERC721,r.ERC721_ENUMERABLE_INTERFACE_ID=i.ERC721_ENUMERABLE_INTERFACE_ID,r.ERC721_INTERFACE_ID=i.ERC721_INTERFACE_ID,r.ERC721_METADATA_INTERFACE_ID=i.ERC721_METADATA_INTERFACE_ID,r.FALL_BACK_VS_CURRENCY=i.FALL_BACK_VS_CURRENCY,r.GANACHE_CHAIN_ID=i.GANACHE_CHAIN_ID,r.GWEI=i.GWEI,r.IPFS_DEFAULT_GATEWAY_URL=i.IPFS_DEFAULT_GATEWAY_URL,r.InfuraNetworkType=o.InfuraNetworkType,r.MAX_SAFE_CHAIN_ID=i.MAX_SAFE_CHAIN_ID,r.NFT_API_BASE_URL=i.NFT_API_BASE_URL,r.NetworkType=o.NetworkType,r.NetworksTicker=o.NetworksTicker,r.OPENSEA_PROXY_URL=i.OPENSEA_PROXY_URL,r.ORIGIN_METAMASK=i.ORIGIN_METAMASK,r.RPC=i.RPC,r.TESTNET_TICKER_SYMBOLS=i.TESTNET_TICKER_SYMBOLS,r.convertHexToDecimal=s.convertHexToDecimal,r.detectSIWE=n.detectSIWE,r.fetchWithErrorHandling=s.fetchWithErrorHandling,r.fractionBN=s.fractionBN,r.fromHex=s.fromHex,r.getBuyURL=s.getBuyURL,r.gweiDecToWEIBN=s.gweiDecToWEIBN,r.handleFetch=s.handleFetch,r.hexToBN=s.hexToBN,r.hexToText=s.hexToText,r.isInfuraNetworkType=o.isInfuraNetworkType,r.isNetworkType=o.isNetworkType,r.isNonEmptyArray=s.isNonEmptyArray,r.isPlainObject=s.isPlainObject,r.isSafeChainId=s.isSafeChainId,r.isSafeDynamicKey=s.isSafeDynamicKey,r.isSmartContractCode=s.isSmartContractCode,r.isValidHexAddress=s.isValidHexAddress,r.isValidJson=s.isValidJson,r.isValidSIWEOrigin=n.isValidSIWEOrigin,r.normalizeEnsName=s.normalizeEnsName,r.parseDomainParts=n.parseDomainParts,r.query=s.query,r.safelyExecute=s.safelyExecute,r.safelyExecuteWithTimeout=s.safelyExecuteWithTimeout,r.successfulFetch=s.successfulFetch,r.timeoutFetch=s.timeoutFetch,r.toChecksumHexAddress=s.toChecksumHexAddress,r.toHex=s.toHex,r.weiHexToGweiDec=s.weiHexToGweiDec}}},{package:"@metamask/ens-controller>@metamask/controller-utils",file:"node_modules/@metamask/ens-controller/node_modules/@metamask/controller-utils/dist/index.js"}],[125,{lodash:3836},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=e("lodash");r.default={version:5,migrate(e){const t=(0,n.cloneDeep)(e);t.meta.version=5;try{const e=function(e){const{config:t}=e,r={...e,KeyringController:{vault:e.vault,selectedAccount:t.selectedAccount,walletNicknames:e.walletNicknames}};return delete r.vault,delete r.walletNicknames,delete r.config.selectedAccount,r}(t.data);t.data=e}catch(e){console.warn(`MetaMask Migration #5${e.stack}`)}return Promise.resolve(t)}}}}},{package:"$root$",file:"app/scripts/migrations/005.js"}],[1254,{"./base-filter":1255},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("./base-filter");t.exports=class extends n{constructor(){super(),this.allResults=[]}async update(){throw new Error("BaseFilterWithHistory - no update method specified")}addResults(e){this.allResults=this.allResults.concat(e),super.addResults(e)}addInitialResults(e){this.allResults=this.allResults.concat(e),super.addInitialResults(e)}getAllResults(){return this.allResults}}}}},{package:"@metamask/eth-json-rpc-filters",file:"node_modules/@metamask/eth-json-rpc-filters/base-filter-history.js"}],[1255,{"@metamask/safe-event-emitter":1718},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("@metamask/safe-event-emitter").default;t.exports=class extends n{constructor(){super(),this.updates=[]}async initialize(){}async update(){throw new Error("BaseFilter - no update method specified")}addResults(e){this.updates=this.updates.concat(e),e.forEach((e=>this.emit("update",e)))}addInitialResults(e){}getChangesAndClear(){const e=this.updates;return this.updates=[],e}}}}},{package:"@metamask/eth-json-rpc-filters",file:"node_modules/@metamask/eth-json-rpc-filters/base-filter.js"}],[1256,{"./base-filter":1255,"./getBlocksForRange":1257,"./hexUtils":1258},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("./base-filter"),s=e("./getBlocksForRange"),{incrementHexInt:i}=e("./hexUtils");t.exports=class extends n{constructor({provider:e,params:t}){super(),this.type="block",this.provider=e}async update({oldBlock:e,newBlock:t}){const r=t,n=i(e),o=(await s({provider:this.provider,fromBlock:n,toBlock:r})).map((e=>e.hash));this.addResults(o)}}}}},{package:"@metamask/eth-json-rpc-filters",file:"node_modules/@metamask/eth-json-rpc-filters/block-filter.js"}],[1257,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){function n(e){return e===undefined||null===e?e:Number.parseInt(e,16)}function s(e){if(e===undefined||null===e)return e;return"0x"+e.toString(16)}function i(e,t){return new Promise(((r,n)=>{e.sendAsync(t,((e,t)=>{e?n(e):t.error?n(t.error):t.result?r(t.result):n(new Error("Result was empty"))}))}))}t.exports=async function({provider:e,fromBlock:t,toBlock:r}){t||(t=r);const o=n(t),a=n(r),l=Array(a-o+1).fill().map(((e,t)=>o+t)).map(s);let c=await Promise.all(l.map((t=>async function(e,t,r){for(let n=0;n<3;n++)try{return await i(e,{id:1,jsonrpc:"2.0",method:t,params:r})}catch(e){console.error(`provider.sendAsync failed: ${e.stack||e.message||e}`)}return null}(e,"eth_getBlockByNumber",[t,!1]))));return c=c.filter((e=>null!==e)),c}}}},{package:"@metamask/eth-json-rpc-filters",file:"node_modules/@metamask/eth-json-rpc-filters/getBlocksForRange.js"}],[1258,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){function n(e){return e.sort(((e,t)=>"latest"===e||"earliest"===t?1:"latest"===t||"earliest"===e?-1:s(e)-s(t)))}function s(e){return e===undefined||null===e?e:Number.parseInt(e,16)}function i(e){if(e===undefined||null===e)return e;let t=e.toString(16);return t.length%2&&(t="0"+t),"0x"+t}function o(){return Math.floor(16*Math.random()).toString(16)}t.exports={minBlockRef:function(...e){return n(e)[0]},maxBlockRef:function(...e){const t=n(e);return t[t.length-1]},sortBlockRefs:n,bnToHex:function(e){return"0x"+e.toString(16)},blockRefIsNumber:function(e){return e&&!["earliest","latest","pending"].includes(e)},hexToInt:s,incrementHexInt:function(e){if(e===undefined||null===e)return e;return i(s(e)+1)},intToHex:i,unsafeRandomBytes:function(e){let t="0x";for(let r=0;r{const r=await e(...t);return c(r.id)}))}function h(e){return s((async(t,r)=>{const n=await e.apply(null,t.params);r.result=n}))}function p(e,t){const r=[];for(let t in e)r.push(e[t]);return r}t.exports=function({blockTracker:e,provider:t}){let r=0,s={};const m=new n,f=function({mutex:e}){return t=>async(r,n,s,i)=>{(await e.acquire())(),t(r,n,s,i)}}({mutex:m}),g=i({eth_newFilter:f(u(w)),eth_newBlockFilter:f(u(y)),eth_newPendingTransactionFilter:f(u(k)),eth_uninstallFilter:f(h(_)),eth_getFilterChanges:f(h(b)),eth_getFilterLogs:f(h(C))}),v=async({oldBlock:e,newBlock:t})=>{if(0===s.length)return;const r=await m.acquire();try{await Promise.all(p(s).map((async r=>{try{await r.update({oldBlock:e,newBlock:t})}catch(e){console.error(e)}})))}catch(e){console.error(e)}r()};return g.newLogFilter=w,g.newBlockFilter=y,g.newPendingTransactionFilter=k,g.uninstallFilter=_,g.getFilterChanges=b,g.getFilterLogs=C,g.destroy=()=>{!async function(){const e=p(s).length;s={},T({prevFilterCount:e,newFilterCount:0})}()},g;async function w(e){const r=new o({provider:t,params:e});await S(r);return r}async function y(){const e=new a({provider:t});await S(e);return e}async function k(){const e=new l({provider:t});await S(e);return e}async function b(e){const t=d(e),r=s[t];if(!r)throw new Error(`No filter for index "${t}"`);return r.getChangesAndClear()}async function C(e){const t=d(e),r=s[t];if(!r)throw new Error(`No filter for index "${t}"`);let n=[];return"log"===r.type&&(n=r.getAllResults()),n}async function _(e){const t=d(e),r=s[t],n=Boolean(r);return n&&await async function(e){const t=p(s).length;delete s[e];const r=p(s).length;T({prevFilterCount:t,newFilterCount:r})}(t),n}async function S(t){const n=p(s).length,i=await e.getLatestBlock();await t.initialize({currentBlock:i}),r++,s[r]=t,t.id=r,t.idHex=c(r);return T({prevFilterCount:n,newFilterCount:p(s).length}),r}function T({prevFilterCount:t,newFilterCount:r}){0===t&&r>0?e.on("sync",v):t>0&&0===r&&e.removeListener("sync",v)}}}}},{package:"@metamask/eth-json-rpc-filters",file:"node_modules/@metamask/eth-json-rpc-filters/index.js"}],[126,{lodash:3836},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=e("lodash");r.default={version:6,migrate(e){const t=(0,n.cloneDeep)(e);t.meta.version=6;try{const e=function(e){const t=e.KeyringController,r={...e,PreferencesController:{selectedAddress:t.selectedAccount}};return delete r.KeyringController.selectedAccount,r}(t.data);t.data=e}catch(e){console.warn(`MetaMask Migration #6${e.stack}`)}return Promise.resolve(t)}}}}},{package:"$root$",file:"app/scripts/migrations/006.js"}],[1260,{"./base-filter-history":1254,"./hexUtils":1258,"@metamask/eth-query":1261,pify:3986},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("@metamask/eth-query"),s=e("pify"),i=e("./base-filter-history"),{bnToHex:o,hexToInt:a,incrementHexInt:l,minBlockRef:c,blockRefIsNumber:d}=e("./hexUtils");t.exports=class extends i{constructor({provider:e,params:t}){super(),this.type="log",this.ethQuery=new n(e),this.params=Object.assign({fromBlock:"latest",toBlock:"latest",address:undefined,topics:[]},t),this.params.address&&(Array.isArray(this.params.address)||(this.params.address=[this.params.address]),this.params.address=this.params.address.map((e=>e.toLowerCase())))}async initialize({currentBlock:e}){let t=this.params.fromBlock;["latest","pending"].includes(t)&&(t=e),"earliest"===t&&(t="0x0"),this.params.fromBlock=t;const r=c(this.params.toBlock,e),n=Object.assign({},this.params,{toBlock:r}),s=await this._fetchLogs(n);this.addInitialResults(s)}async update({oldBlock:e,newBlock:t}){const r=t;let n;n=e?l(e):t;const s=Object.assign({},this.params,{fromBlock:n,toBlock:r}),i=(await this._fetchLogs(s)).filter((e=>this.matchLog(e)));this.addResults(i)}async _fetchLogs(e){return await s((t=>this.ethQuery.getLogs(e,t)))()}matchLog(e){if(a(this.params.fromBlock)>=a(e.blockNumber))return!1;if(d(this.params.toBlock)&&a(this.params.toBlock)<=a(e.blockNumber))return!1;const t=e.address&&e.address.toLowerCase();if(this.params.address&&t&&!this.params.address.includes(t))return!1;return this.params.topics.every(((t,r)=>{let n=e.topics[r];if(!n)return!1;n=n.toLowerCase();let s=Array.isArray(t)?t:[t];if(s.includes(null))return!0;s=s.map((e=>e.toLowerCase()));return s.includes(n)}))}}}}},{package:"@metamask/eth-json-rpc-filters",file:"node_modules/@metamask/eth-json-rpc-filters/log-filter.js"}],[1261,{"json-rpc-random-id":3686,xtend:4478},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("json-rpc-random-id")(),s=e("xtend");function i(e){this.currentProvider=e}function o(e){return function(...t){const r=t.pop();this.sendAsync({method:e,params:t},r)}}function a(e,t){return function(...r){const n=r.pop();r.length@metamask/eth-query",file:"node_modules/@metamask/eth-json-rpc-filters/node_modules/@metamask/eth-query/index.js"}],[1262,{"@metamask/rpc-errors":1717,"@metamask/safe-event-emitter":1718,"@metamask/utils":2300},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,s,i,o,a,l,c,d,u,h,p,m,f,g=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(s,i){function o(e){try{l(n.next(e))}catch(e){i(e)}}function a(e){try{l(n.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(o,a)}l((n=n.apply(e,t||[])).next())}))},v=this&&this.__classPrivateFieldSet||function(e,t,r,n,s){if("m"===n)throw new TypeError("Private method is not writable");if("a"===n&&!s)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!s:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?s.call(e,r):s?s.value=r:t.set(e,r),r},w=this&&this.__classPrivateFieldGet||function(e,t,r,n){if("a"===r&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)},y=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.JsonRpcEngine=void 0;const k=e("@metamask/rpc-errors"),b=y(e("@metamask/safe-event-emitter")),C=e("@metamask/utils");class _ extends b.default{constructor({notificationHandler:e}={}){super(),n.add(this),i.set(this,!1),o.set(this,void 0),a.set(this,void 0),v(this,o,[],"f"),v(this,a,e,"f")}destroy(){w(this,o,"f").forEach((e=>{"destroy"in e&&"function"==typeof e.destroy&&e.destroy()})),v(this,o,[],"f"),v(this,i,!0,"f")}push(e){w(this,n,"m",l).call(this),w(this,o,"f").push(e)}handle(e,t){if(w(this,n,"m",l).call(this),t&&"function"!=typeof t)throw new Error('"callback" must be a function if provided.');return Array.isArray(e)?t?w(this,n,"m",c).call(this,e,t):w(this,n,"m",c).call(this,e):t?w(this,n,"m",d).call(this,e,t):this._promiseHandle(e)}asMiddleware(){return w(this,n,"m",l).call(this),(e,t,r,n)=>g(this,void 0,void 0,(function*(){try{const[i,a,l]=yield w(_,s,"m",h).call(_,e,t,w(this,o,"f"));return a?(yield w(_,s,"m",m).call(_,l),n(i)):r((e=>g(this,void 0,void 0,(function*(){try{yield w(_,s,"m",m).call(_,l)}catch(t){return e(t)}return e()}))))}catch(e){return n(e)}}))}_promiseHandle(e){return g(this,void 0,void 0,(function*(){return new Promise(((t,r)=>{w(this,n,"m",d).call(this,e,((e,n)=>{e&&n===undefined?r(e):t(n)})).catch(r)}))}))}}function S(e){return JSON.stringify(e,null,2)}r.JsonRpcEngine=_,s=_,i=new WeakMap,o=new WeakMap,a=new WeakMap,n=new WeakSet,l=function(){if(w(this,i,"f"))throw new Error("This engine is destroyed and can no longer be used.")},c=function(e,t){return g(this,void 0,void 0,(function*(){try{if(0===e.length){const e=[{id:null,jsonrpc:"2.0",error:new k.JsonRpcError(k.errorCodes.rpc.invalidRequest,"Request batch must contain plain objects. Received an empty array")}];return t?t(null,e):e}const r=(yield Promise.all(e.map(this._promiseHandle.bind(this)))).filter((e=>e!==undefined));return t?t(null,r):r}catch(e){if(t)return t(e);throw e}}))},d=function(e,t){var r;return g(this,void 0,void 0,(function*(){if(!e||Array.isArray(e)||"object"!=typeof e){const r=new k.JsonRpcError(k.errorCodes.rpc.invalidRequest,"Requests must be plain objects. Received: "+typeof e,{request:e});return t(r,{id:null,jsonrpc:"2.0",error:r})}if("string"!=typeof e.method){const n=new k.JsonRpcError(k.errorCodes.rpc.invalidRequest,"Must specify a string method. Received: "+typeof e.method,{request:e});return w(this,a,"f")&&!(0,C.isJsonRpcRequest)(e)?t(null):t(n,{id:null!==(r=e.id)&&void 0!==r?r:null,jsonrpc:"2.0",error:n})}if(w(this,a,"f")&&!(0,C.isJsonRpcRequest)(e)){try{yield w(this,a,"f").call(this,e)}catch(n){return t(n)}return t(null)}let n=null;const i=Object.assign({},e),l={id:i.id,jsonrpc:i.jsonrpc};try{yield w(_,s,"m",u).call(_,i,l,w(this,o,"f"))}catch(e){n=e}return n&&(delete l.result,l.error||(l.error=(0,k.serializeError)(n))),t(n,l)}))},u=function(e,t,r){return g(this,void 0,void 0,(function*(){const[n,i,o]=yield w(_,s,"m",h).call(_,e,t,r);if(w(_,s,"m",f).call(_,e,t,i),yield w(_,s,"m",m).call(_,o),n)throw n}))},h=function(e,t,r){return g(this,void 0,void 0,(function*(){const n=[];let i=null,o=!1;for(const a of r)if([i,o]=yield w(_,s,"m",p).call(_,e,t,a,n),o)break;return[i,o,n.reverse()]}))},p=function(e,t,r,n){return g(this,void 0,void 0,(function*(){return new Promise((s=>{const i=e=>{const r=e||t.error;r&&(t.error=(0,k.serializeError)(r)),s([r,!0])},o=r=>{t.error?i(t.error):(r&&("function"!=typeof r&&i(new k.JsonRpcError(k.errorCodes.rpc.internal,`JsonRpcEngine: "next" return handlers must be functions. Received "${typeof r}" for request:\n${S(e)}`,{request:e})),n.push(r)),s([null,!1]))};try{r(e,t,o,i)}catch(e){i(e)}}))}))},m=function(e){return g(this,void 0,void 0,(function*(){for(const t of e)yield new Promise(((e,r)=>{t((t=>t?r(t):e()))}))}))},f=function(e,t,r){if(!(0,C.hasProperty)(t,"result")&&!(0,C.hasProperty)(t,"error"))throw new k.JsonRpcError(k.errorCodes.rpc.internal,`JsonRpcEngine: Response has no error or result for request:\n${S(e)}`,{request:e});if(!r)throw new k.JsonRpcError(k.errorCodes.rpc.internal,`JsonRpcEngine: Nothing ended request:\n${S(e)}`,{request:e})}}}},{package:"@metamask/eth-json-rpc-filters>@metamask/json-rpc-engine",file:"node_modules/@metamask/eth-json-rpc-filters/node_modules/@metamask/json-rpc-engine/dist/JsonRpcEngine.js"}],[1263,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(s,i){function o(e){try{l(n.next(e))}catch(e){i(e)}}function a(e){try{l(n.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(o,a)}l((n=n.apply(e,t||[])).next())}))};Object.defineProperty(r,"__esModule",{value:!0}),r.createAsyncMiddleware=void 0,r.createAsyncMiddleware=function(e){return(t,r,s,i)=>n(this,void 0,void 0,(function*(){let o;const a=new Promise((e=>{o=e}));let l=null,c=!1;const d=()=>n(this,void 0,void 0,(function*(){return c=!0,s((e=>{l=e,o()})),a}));try{yield e(t,r,d),c?(yield a,l(null)):i(null)}catch(e){l?l(e):i(e)}}))}}}},{package:"@metamask/eth-json-rpc-filters>@metamask/json-rpc-engine",file:"node_modules/@metamask/eth-json-rpc-filters/node_modules/@metamask/json-rpc-engine/dist/createAsyncMiddleware.js"}],[1264,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.createScaffoldMiddleware=void 0,r.createScaffoldMiddleware=function(e){return(t,r,n,s)=>{const i=e[t.method];return i===undefined?n():"function"==typeof i?i(t,r,n,s):(r.result=i,s())}}}}},{package:"@metamask/eth-json-rpc-filters>@metamask/json-rpc-engine",file:"node_modules/@metamask/eth-json-rpc-filters/node_modules/@metamask/json-rpc-engine/dist/createScaffoldMiddleware.js"}],[1265,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.getUniqueId=void 0;const n=4294967295;let s=Math.floor(Math.random()*n);r.getUniqueId=function(){return s=(s+1)%n,s}}}},{package:"@metamask/eth-json-rpc-filters>@metamask/json-rpc-engine",file:"node_modules/@metamask/eth-json-rpc-filters/node_modules/@metamask/json-rpc-engine/dist/getUniqueId.js"}],[1266,{"./getUniqueId":1265},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.createIdRemapMiddleware=void 0;const n=e("./getUniqueId");r.createIdRemapMiddleware=function(){return(e,t,r,s)=>{const i=e.id,o=(0,n.getUniqueId)();e.id=o,t.id=o,r((r=>{e.id=i,t.id=i,r()}))}}}}},{package:"@metamask/eth-json-rpc-filters>@metamask/json-rpc-engine",file:"node_modules/@metamask/eth-json-rpc-filters/node_modules/@metamask/json-rpc-engine/dist/idRemapMiddleware.js"}],[1267,{"./JsonRpcEngine":1262,"./createAsyncMiddleware":1263,"./createScaffoldMiddleware":1264,"./getUniqueId":1265,"./idRemapMiddleware":1266,"./mergeMiddleware":1268},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){n===undefined&&(n=r);var s=Object.getOwnPropertyDescriptor(t,r);s&&!("get"in s?!t.__esModule:s.writable||s.configurable)||(s={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,s)}:function(e,t,r,n){n===undefined&&(n=r),e[n]=t[r]}),s=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(r,"__esModule",{value:!0}),s(e("./createAsyncMiddleware"),r),s(e("./createScaffoldMiddleware"),r),s(e("./getUniqueId"),r),s(e("./idRemapMiddleware"),r),s(e("./JsonRpcEngine"),r),s(e("./mergeMiddleware"),r)}}},{package:"@metamask/eth-json-rpc-filters>@metamask/json-rpc-engine",file:"node_modules/@metamask/eth-json-rpc-filters/node_modules/@metamask/json-rpc-engine/dist/index.js"}],[1268,{"./JsonRpcEngine":1262},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.mergeMiddleware=void 0;const n=e("./JsonRpcEngine");r.mergeMiddleware=function(e){const t=new n.JsonRpcEngine;return e.forEach((e=>t.push(e))),t.asMiddleware()}}}},{package:"@metamask/eth-json-rpc-filters>@metamask/json-rpc-engine",file:"node_modules/@metamask/eth-json-rpc-filters/node_modules/@metamask/json-rpc-engine/dist/mergeMiddleware.js"}],[1269,{"./getBlocksForRange.js":1257,"./hexUtils.js":1258,"./index.js":1259,"@metamask/json-rpc-engine":1267,"@metamask/safe-event-emitter":1718},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("@metamask/safe-event-emitter").default,{createAsyncMiddleware:s,createScaffoldMiddleware:i}=e("@metamask/json-rpc-engine"),o=e("./index.js"),{unsafeRandomBytes:a,incrementHexInt:l}=e("./hexUtils.js"),c=e("./getBlocksForRange.js");function d(e){return null===e||e===undefined?null:{hash:e.hash,parentHash:e.parentHash,sha3Uncles:e.sha3Uncles,miner:e.miner,stateRoot:e.stateRoot,transactionsRoot:e.transactionsRoot,receiptsRoot:e.receiptsRoot,logsBloom:e.logsBloom,difficulty:e.difficulty,number:e.number,gasLimit:e.gasLimit,gasUsed:e.gasUsed,nonce:e.nonce,mixHash:e.mixHash,timestamp:e.timestamp,extraData:e.extraData}}t.exports=function({blockTracker:e,provider:t}){const r={},u=o({blockTracker:e,provider:t});let h=!1;const p=new n,m=i({eth_subscribe:s((async function(n,s){if(h)throw new Error("SubscriptionManager - attempting to use after destroying");const i=n.params[0],o=a(16);let p;switch(i){case"newHeads":p=m({subId:o});break;case"logs":const e=n.params[1];p=g({subId:o,filter:await u.newLogFilter(e)});break;default:throw new Error(`SubscriptionManager - unsupported subscription type "${i}"`)}return r[o]=p,void(s.result=o);function m({subId:r}){const n={type:i,destroy:async()=>{e.removeListener("sync",n.update)},update:async({oldBlock:e,newBlock:n})=>{const s=n,i=l(e);(await c({provider:t,fromBlock:i,toBlock:s})).map(d).filter((e=>null!==e)).forEach((e=>{f(r,e)}))}};return e.on("sync",n.update),n}function g({subId:e,filter:t}){t.on("update",(t=>f(e,t)));return{type:i,destroy:async()=>await u.uninstallFilter(t.idHex)}}})),eth_unsubscribe:s((async function(e,t){if(h)throw new Error("SubscriptionManager - attempting to use after destroying");const n=e.params[0],s=r[n];if(!s)return void(t.result=!1);delete r[n],await s.destroy(),t.result=!0}))});return m.destroy=function(){p.removeAllListeners();for(const e in r)r[e].destroy(),delete r[e];h=!0},{events:p,middleware:m};function f(e,t){p.emit("notification",{jsonrpc:"2.0",method:"eth_subscription",params:{subscription:e,result:t}})}}}}},{package:"@metamask/eth-json-rpc-filters",file:"node_modules/@metamask/eth-json-rpc-filters/subscriptionManager.js"}],[127,{lodash:3836},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=e("lodash");r.default={version:7,migrate(e){const t=(0,n.cloneDeep)(e);t.meta.version=7;try{const e=function(e){const t={...e,TransactionManager:{transactions:e.transactions||[],gasMultiplier:e.gasMultiplier||1}};return delete t.transactions,delete t.gasMultiplier,t}(t.data);t.data=e}catch(e){console.warn(`MetaMask Migration #7${e.stack}`)}return Promise.resolve(t)}}}}},{package:"$root$",file:"app/scripts/migrations/007.js"}],[1270,{"./base-filter":1255,"./getBlocksForRange":1257,"./hexUtils":1258},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("./base-filter"),s=e("./getBlocksForRange"),{incrementHexInt:i}=e("./hexUtils");t.exports=class extends n{constructor({provider:e}){super(),this.type="tx",this.provider=e}async update({oldBlock:e}){const t=e,r=i(e),n=await s({provider:this.provider,fromBlock:r,toBlock:t}),o=[];for(const e of n)o.push(...e.transactions);this.addResults(o)}}}}},{package:"@metamask/eth-json-rpc-filters",file:"node_modules/@metamask/eth-json-rpc-filters/tx-filter.js"}],[128,{lodash:3836},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=e("lodash");r.default={version:8,migrate(e){const t=(0,n.cloneDeep)(e);t.meta.version=8;try{const e=function(e){const t={...e,NoticeController:{noticesList:e.noticesList||[]}};return delete t.noticesList,t}(t.data);t.data=e}catch(e){console.warn(`MetaMask Migration #8${e.stack}`)}return Promise.resolve(t)}}}}},{package:"$root$",file:"app/scripts/migrations/008.js"}],[129,{lodash:3836},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=e("lodash");r.default={version:9,migrate(e){const t=(0,n.cloneDeep)(e);t.meta.version=9;try{const e=function(e){const t=(0,n.merge)({},e,{CurrencyController:{currentCurrency:e.currentFiat||e.fiatCurrency||"USD",conversionRate:e.conversionRate,conversionDate:e.conversionDate}});return delete t.currentFiat,delete t.fiatCurrency,delete t.conversionRate,delete t.conversionDate,t}(t.data);t.data=e}catch(e){console.warn(`MetaMask Migration #9${e.stack}`)}return Promise.resolve(t)}}}}},{package:"$root$",file:"app/scripts/migrations/009.js"}],[13,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.OIDC_TOKENS_ENDPOINT=r.AUTH_NONCE_ENDPOINT=r.AUTH_LOGIN_ENDPOINT=void 0,r.createLoginRawMessage=function(e,t){return`metamask:${e}:${t}`},r.getAccessToken=async function(e){const t=new Headers({"Content-Type":"application/x-www-form-urlencoded"}),r=new URLSearchParams;r.append("grant_type",l),r.append("client_id",a),r.append("assertion",e);try{const e=await fetch(o,{method:"POST",headers:t,body:r.toString()});if(!e.ok)return null;const n=await e.json();return(null==n?void 0:n.access_token)??null}catch(e){return console.error("authentication-controller/services: unable to get access token",e),null}},r.getNonce=async function(e){const t=new URL(s);t.searchParams.set("identifier",e);try{const e=await fetch(t.toString());if(!e.ok)return null;const r=await e.json();return(null==r?void 0:r.nonce)??null}catch(e){return console.error("authentication-controller/services: unable to get nonce",e),null}},r.login=async function(e,t,r){try{const n=await fetch(i,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({signature:t,raw_message:e,metametrics:{metametrics_id:r,agent:"extension"}})});if(!n.ok)return null;return await n.json()??null}catch(e){return console.error("authentication-controller/services: unable to login",e),null}};const n="https://authentication.api.cx.metamask.io",s=r.AUTH_NONCE_ENDPOINT=`${n}/api/v2/nonce`,i=r.AUTH_LOGIN_ENDPOINT=`${n}/api/v2/srp/login`,o=r.OIDC_TOKENS_ENDPOINT="https://oidc.api.cx.metamask.io/oauth2/token",a="1132f10a-b4e5-4390-a5f2-d9c6022db564",l="urn:ietf:params:oauth:grant-type:jwt-bearer"}}},{package:"$root$",file:"app/scripts/controllers/authentication/services.ts"}],[130,{lodash:3836},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=e("lodash");r.default={version:10,migrate(e){const t=(0,n.cloneDeep)(e);t.meta.version=10;try{const e=function(e){const t=(0,n.merge)({},e,{ShapeShiftController:{shapeShiftTxList:e.shapeShiftTxList||[]}});return delete t.shapeShiftTxList,t}(t.data);t.data=e}catch(e){console.warn(`MetaMask Migration #10${e.stack}`)}return Promise.resolve(t)}}}}},{package:"$root$",file:"app/scripts/migrations/010.js"}],[131,{lodash:3836},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=e("lodash");r.default={version:11,migrate(e){const t=(0,n.cloneDeep)(e);t.meta.version=11;try{const e=function(e){const t=e;return delete t.TOSHash,delete t.isDisclaimerConfirmed,t}(t.data);t.data=e}catch(e){console.warn(`MetaMask Migration #11${e.stack}`)}return Promise.resolve(t)}}}}},{package:"$root$",file:"app/scripts/migrations/011.js"}],[1312,{"./ledger-bridge":1313,"./ledger-iframe-bridge":1314,"./ledger-keyring":1315},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){n===undefined&&(n=r);var s=Object.getOwnPropertyDescriptor(t,r);s&&!("get"in s?!t.__esModule:s.writable||s.configurable)||(s={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,s)}:function(e,t,r,n){n===undefined&&(n=r),e[n]=t[r]}),s=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(r,"__esModule",{value:!0}),s(e("./ledger-keyring"),r),s(e("./ledger-iframe-bridge"),r),s(e("./ledger-bridge"),r)}}},{package:"@metamask/eth-ledger-bridge-keyring",file:"node_modules/@metamask/eth-ledger-bridge-keyring/dist/index.js"}],[1313,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0})}}},{package:"@metamask/eth-ledger-bridge-keyring",file:"node_modules/@metamask/eth-ledger-bridge-keyring/dist/ledger-bridge.js"}],[1314,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,s,i,o,a,l,c=this&&this.__classPrivateFieldGet||function(e,t,r,n){if("a"===r&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)};Object.defineProperty(r,"__esModule",{value:!0}),r.LedgerIframeBridge=r.IFrameMessageAction=void 0;var d;!function(e){e.LedgerConnectionChange="ledger-connection-change",e.LedgerUnlock="ledger-unlock",e.LedgerMakeApp="ledger-make-app",e.LedgerUpdateTransport="ledger-update-transport",e.LedgerSignTransaction="ledger-sign-transaction",e.LedgerSignPersonalMessage="ledger-sign-personal-message",e.LedgerSignTypedData="ledger-sign-typed-data"}(d=r.IFrameMessageAction||(r.IFrameMessageAction={}));r.LedgerIframeBridge=class{constructor(){n.add(this),this.iframeLoaded=!1,this.isDeviceConnected=!1,this.currentMessageId=0,this.messageCallbacks={}}async init(e){c(this,n,"m",i).call(this,e),this.eventListener=c(this,n,"m",a).bind(this,e),window.addEventListener("message",this.eventListener)}async destroy(){this.eventListener&&window.removeEventListener("message",this.eventListener)}async attemptMakeApp(){return new Promise(((e,t)=>{c(this,n,"m",l).call(this,{action:d.LedgerMakeApp},(r=>{r.success?e(!0):t(r.error)}))}))}async updateTransportMethod(e){return new Promise(((t,r)=>{this.iframeLoaded?c(this,n,"m",l).call(this,{action:d.LedgerUpdateTransport,params:{transportType:e}},(({success:e})=>e?t(!0):r(new Error("Ledger transport could not be updated")))):this.delayedPromise={resolve:t,reject:r,transportType:e}}))}async getPublicKey(e){return c(this,n,"m",s).call(this,d.LedgerUnlock,e)}async deviceSignTransaction(e){return c(this,n,"m",s).call(this,d.LedgerSignTransaction,e)}async deviceSignMessage(e){return c(this,n,"m",s).call(this,d.LedgerSignPersonalMessage,e)}async deviceSignTypedData(e){return c(this,n,"m",s).call(this,d.LedgerSignTypedData,e)}},n=new WeakSet,s=async function(...[e,t]){return new Promise(((r,s)=>{c(this,n,"m",l).call(this,{action:e,params:t},(({success:e,payload:t})=>e?r(t):s(t.error)))}))},i=function(e){this.iframe=document.createElement("iframe"),this.iframe.src=e,this.iframe.allow="hid 'src'",this.iframe.onload=async()=>{if(this.iframeLoaded=!0,this.delayedPromise)try{const e=await this.updateTransportMethod(this.delayedPromise.transportType);this.delayedPromise.resolve(e)}catch(e){this.delayedPromise.reject(e)}finally{delete this.delayedPromise}},document.head.appendChild(this.iframe)},o=function(e){const t=e.split("/");return t.splice(-1,1),t.join("/")},a=function(e,t){if(t.origin===c(this,n,"m",o).call(this,e)&&t.data){const e=this.messageCallbacks[t.data.messageId];e?e(t.data):t.data.action===d.LedgerConnectionChange&&(this.isDeviceConnected=t.data.payload.connected)}},l=function(e,t){this.currentMessageId+=1;const r=Object.assign(Object.assign({},e),{messageId:this.currentMessageId,target:"LEDGER-IFRAME"});if(this.messageCallbacks[this.currentMessageId]=t,!this.iframeLoaded||!this.iframe||!this.iframe.contentWindow)throw new Error("The iframe is not loaded yet");this.iframe.contentWindow.postMessage(r,"*")}}}},{package:"@metamask/eth-ledger-bridge-keyring",file:"node_modules/@metamask/eth-ledger-bridge-keyring/dist/ledger-iframe-bridge.js"}],[1315,{"@ethereumjs/rlp":421,"@ethereumjs/tx":426,"@ethereumjs/util":438,"@metamask/eth-sig-util":1318,buffer:3028,events:3328,hdkey:3626},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,s,i,o,a,l,c,d,u,h,p,m,f,g=this&&this.__createBinding||(Object.create?function(e,t,r,n){n===undefined&&(n=r);var s=Object.getOwnPropertyDescriptor(t,r);s&&!("get"in s?!t.__esModule:s.writable||s.configurable)||(s={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,s)}:function(e,t,r,n){n===undefined&&(n=r),e[n]=t[r]}),v=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),w=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&g(t,e,r);return v(t,e),t},y=this&&this.__classPrivateFieldGet||function(e,t,r,n){if("a"===r&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)},k=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.LedgerKeyring=void 0;const b=e("@ethereumjs/rlp"),C=e("@ethereumjs/tx"),_=w(e("@ethereumjs/util")),S=e("@metamask/eth-sig-util"),T=e("buffer"),A=e("events"),E=k(e("hdkey")),M="m",P=`${M}/44'/60'/0'`,N="Ledger Hardware",I="https://metamask.github.io/eth-ledger-bridge-keyring";var R;!function(e){e.Ropsten="http://api-ropsten.etherscan.io",e.Kovan="http://api-kovan.etherscan.io",e.Rinkeby="https://api-rinkeby.etherscan.io",e.Mainnet="https://api.etherscan.io"}(R||(R={}));class j extends A.EventEmitter{constructor({bridge:e}){if(super(),n.add(this),this.type=N,this.page=0,this.perPage=5,this.unlockedAccount=0,this.accounts=[],this.accountDetails={},this.hdk=new E.default,this.hdPath=P,this.paths={},this.network=R.Mainnet,this.implementFullBIP44=!1,this.bridgeUrl=I,!e)throw new Error("Bridge is a required dependency for the keyring");this.bridge=e}async init(){return this.bridge.init(this.bridgeUrl)}async destroy(){return this.bridge.destroy()}async serialize(){return{hdPath:this.hdPath,accounts:this.accounts,accountDetails:this.accountDetails,bridgeUrl:this.bridgeUrl,implementFullBIP44:!1}}async deserialize(e={}){var t,r,i,o,a;return this.hdPath=null!==(t=e.hdPath)&&void 0!==t?t:P,this.bridgeUrl=null!==(r=e.bridgeUrl)&&void 0!==r?r:I,this.accounts=null!==(i=e.accounts)&&void 0!==i?i:[],this.accountDetails=null!==(o=e.accountDetails)&&void 0!==o?o:{},e.accountDetails||y(this,n,"m",s).call(this,e),this.implementFullBIP44=null!==(a=e.implementFullBIP44)&&void 0!==a&&a,this.accounts=this.accounts.filter((e=>Object.keys(this.accountDetails).includes(_.toChecksumAddress(e)))),Promise.resolve()}isUnlocked(){var e;return Boolean(null===(e=this.hdk)||void 0===e?void 0:e.publicKey)}isConnected(){return this.bridge.isDeviceConnected}setAccountToUnlock(e){this.unlockedAccount="number"==typeof e?e:parseInt(e,10)}setHdPath(e){this.hdPath!==e&&(this.hdk=new E.default),this.hdPath=e}async unlock(e,t=!0){if(this.isUnlocked()&&!e)return"already unlocked";const r=e?y(this,n,"m",p).call(this,e):this.hdPath;let s;try{s=await this.bridge.getPublicKey({hdPath:r})}catch(e){throw e instanceof Error?e:new Error("Unknown error")}return t&&s.chainCode&&(this.hdk.publicKey=T.Buffer.from(s.publicKey,"hex"),this.hdk.chainCode=T.Buffer.from(s.chainCode,"hex")),s.address}async addAccounts(e=1){return new Promise(((t,r)=>{this.unlock().then((async r=>{const s=this.unlockedAccount,i=s+e;for(let e=s;ee.toLowerCase())).includes(e.toLowerCase()))throw new Error(`Address ${e} not found in this keyring`);this.accounts=this.accounts.filter((t=>t.toLowerCase()!==e.toLowerCase())),delete this.accountDetails[_.toChecksumAddress(e)]}async attemptMakeApp(){return this.bridge.attemptMakeApp()}async updateTransportMethod(e){return this.bridge.updateTransportMethod(e)}async signTransaction(e,t){let r;if(function(e){return"getChainId"in e&&"function"==typeof e.getChainId}(t))return t.v=_.bufferToHex(t.getChainId()),t.r="0x00",t.s="0x00",r=t.serialize().toString("hex"),y(this,n,"m",i).call(this,e,r,(e=>(t.v=T.Buffer.from(e.v,"hex"),t.r=T.Buffer.from(e.r,"hex"),t.s=T.Buffer.from(e.s,"hex"),t)));const s=t.getMessageToSign(!1);return r=T.Buffer.isBuffer(s)?s.toString("hex"):T.Buffer.from(b.RLP.encode(s)).toString("hex"),y(this,n,"m",i).call(this,e,r,(e=>{const r=t.toJSON();return r.type=t.type,r.v=_.addHexPrefix(e.v),r.r=_.addHexPrefix(e.r),r.s=_.addHexPrefix(e.s),C.TransactionFactory.fromTxData(r,{common:t.common,freeze:Object.isFrozen(t)})}))}async signMessage(e,t){return this.signPersonalMessage(e,t)}async signPersonalMessage(e,t){const r=await this.unlockAccountByAddress(e);if(!r)throw new Error("Ledger: Unknown error while signing message");let n;try{n=await this.bridge.deviceSignMessage({hdPath:r,message:_.stripHexPrefix(t)})}catch(e){throw e instanceof Error?e:new Error("Ledger: Unknown error while signing message")}let s=parseInt(String(n.v),10).toString(16);s.length<2&&(s=`0${s}`);const i=`0x${n.r}${n.s}${s}`,o=(0,S.recoverPersonalSignature)({data:t,signature:i});if(_.toChecksumAddress(o)!==_.toChecksumAddress(e))throw new Error("Ledger: The signature doesnt match the right address");return i}async unlockAccountByAddress(e){const t=_.toChecksumAddress(e),r=this.accountDetails[t];if(!r)throw new Error(`Ledger: Account for address '${t}' not found`);const{hdPath:n}=r;if((await this.unlock(n,!1)).toLowerCase()!==e.toLowerCase())throw new Error(`Ledger: Account ${e} does not belong to the connected device`);return n}async signTypedData(e,t,r={}){if(!("V4"===r.version))throw new Error("Ledger: Only version 4 of typed data signing is supported");const{domain:n,types:s,primaryType:i,message:o}=S.TypedDataUtils.sanitizeData(t),a=S.TypedDataUtils.hashStruct("EIP712Domain",n,s,S.SignTypedDataVersion.V4).toString("hex"),l=S.TypedDataUtils.hashStruct(i.toString(),o,s,S.SignTypedDataVersion.V4).toString("hex"),c=await this.unlockAccountByAddress(e);if(!c)throw new Error("Ledger: Unknown error while signing message");let d;try{d=await this.bridge.deviceSignTypedData({hdPath:c,domainSeparatorHex:a,hashStructMessageHex:l})}catch(e){throw e instanceof Error?e:new Error("Ledger: Unknown error while signing message")}let u=parseInt(String(d.v),10).toString(16);u.length<2&&(u=`0${u}`);const h=`0x${d.r}${d.s}${u}`,p=(0,S.recoverTypedSignature)({data:t,signature:h,version:S.SignTypedDataVersion.V4});if(_.toChecksumAddress(p)!==_.toChecksumAddress(e))throw new Error("Ledger: The signature doesnt match the right address");return h}exportAccount(){throw new Error("Not supported on this device")}forgetDevice(){this.accounts=[],this.page=0,this.unlockedAccount=0,this.paths={},this.accountDetails={},this.hdk=new E.default}}r.LedgerKeyring=j,n=new WeakSet,s=function(e){if(y(this,n,"m",h).call(this)&&e.accountIndexes)for(const[t,r]of Object.entries(e.accountIndexes))this.accountDetails[t]={bip44:!0,hdPath:y(this,n,"m",u).call(this,r)};y(this,n,"m",h).call(this)||this.accounts.filter((e=>!Object.keys(this.accountDetails).includes(_.toChecksumAddress(e)))).forEach((e=>{try{this.accountDetails[_.toChecksumAddress(e)]={bip44:!1,hdPath:y(this,n,"m",d).call(this,e)}}catch(t){console.log(`failed to migrate account ${e}`)}}))},i=async function(e,t,r){const n=await this.unlockAccountByAddress(e);if(!n)throw new Error("Ledger: Unknown error while signing transaction");let s;try{s=await this.bridge.deviceSignTransaction({tx:t,hdPath:n})}catch(e){throw e instanceof Error?e:new Error("Ledger: Unknown error while signing transaction")}const i=r(s);if(i.verifySignature())return i;throw new Error("Ledger: The transaction signature is not valid")},o=async function(e){this.page+=e,this.page<=0&&(this.page=1);const t=(this.page-1)*this.perPage,r=t+this.perPage;let s;return await this.unlock(),s=y(this,n,"m",h).call(this)?await y(this,n,"m",a).call(this,t,r):y(this,n,"m",l).call(this,t,r),s},a=async function(e,t){const r=[];for(let s=e;s0},f=function(){return this.network},j.type=N}}},{package:"@metamask/eth-ledger-bridge-keyring",file:"node_modules/@metamask/eth-ledger-bridge-keyring/dist/ledger-keyring.js"}],[132,{lodash:3836},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=e("lodash");r.default={version:12,migrate(e){const t=(0,n.cloneDeep)(e);t.meta.version=12;try{const e=function(e){const t=e;return t.NoticeController.noticesList.forEach((e=>{e.read&&(e.body="")})),t}(t.data);t.data=e}catch(e){console.warn(`MetaMask Migration #12${e.stack}`)}return Promise.resolve(t)}}}}},{package:"$root$",file:"app/scripts/migrations/012.js"}],[1324,{"./util":1332},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.CaseInsensitiveMap=void 0;const n=e("./util");class s extends Map{static fromObject(e){return new s(Object.entries(e))}toObject(){return Object.fromEntries(this.entries())}get(e){return super.get(e.toLowerCase())}getOrThrow(e,t="Key"){return this.get(e)??(0,n.throwError)(`${t} '${e}' not found`)}has(e){return super.has(e.toLowerCase())}set(e,t){return super.set(e.toLowerCase(),t)}delete(e){return super.delete(e.toLowerCase())}}r.CaseInsensitiveMap=s}}},{package:"@metamask/eth-snap-keyring",file:"node_modules/@metamask/eth-snap-keyring/dist/CaseInsensitiveMap.js"}],[1325,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.DeferredPromise=void 0;r.DeferredPromise=class{constructor(){if(this.resolve=undefined,this.reject=undefined,this.promise=new Promise(((e,t)=>{this.resolve=e,this.reject=t})),!this.resolve||!this.reject)throw new Error("Promise constructor failed")}}}}},{package:"@metamask/eth-snap-keyring",file:"node_modules/@metamask/eth-snap-keyring/dist/DeferredPromise.js"}],[1326,{"@metamask/keyring-api":1444},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,s,i,o,a,l=this&&this.__classPrivateFieldSet||function(e,t,r,n,s){if("m"===n)throw new TypeError("Private method is not writable");if("a"===n&&!s)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!s:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?s.call(e,r):s?s.value=r:t.set(e,r),r},c=this&&this.__classPrivateFieldGet||function(e,t,r,n){if("a"===r&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)};Object.defineProperty(r,"__esModule",{value:!0}),r.KeyringSnapControllerClient=void 0;const d=e("@metamask/keyring-api");class u{constructor(e,t,r,a){n.set(this,void 0),s.set(this,void 0),i.set(this,void 0),o.set(this,void 0),l(this,i,e,"f"),l(this,n,t,"f"),l(this,s,r,"f"),l(this,o,a,"f")}async send(e){return c(this,i,"f").handleRequest({snapId:c(this,n,"f"),origin:c(this,s,"f"),handler:c(this,o,"f"),request:e})}}n=new WeakMap,s=new WeakMap,i=new WeakMap,o=new WeakMap;class h extends d.KeyringClient{constructor({controller:e,snapId:t="undefined",origin:r="metamask",handler:n="onKeyringRequest"}){super(new u(e,t,r,n)),a.set(this,void 0),l(this,a,e,"f")}withSnapId(e){return new h({controller:c(this,a,"f"),snapId:e})}getController(){return c(this,a,"f")}}r.KeyringSnapControllerClient=h,a=new WeakMap}}},{package:"@metamask/eth-snap-keyring",file:"node_modules/@metamask/eth-snap-keyring/dist/KeyringSnapControllerClient.js"}],[1327,{"./CaseInsensitiveMap":1324},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,s=this&&this.__classPrivateFieldSet||function(e,t,r,n,s){if("m"===n)throw new TypeError("Private method is not writable");if("a"===n&&!s)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!s:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?s.call(e,r):s?s.value=r:t.set(e,r),r},i=this&&this.__classPrivateFieldGet||function(e,t,r,n){if("a"===r&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)};Object.defineProperty(r,"__esModule",{value:!0}),r.SnapIdMap=r.InvalidSnapIdError=void 0;const o=e("./CaseInsensitiveMap");class a extends Error{constructor(e,t){super(`Snap "${e}" is not allowed to set "${t}"`),this.name="InvalidSnapIdError",this.snapId=e,this.key=t}}r.InvalidSnapIdError=a;class l{constructor(e){n.set(this,void 0),s(this,n,new o.CaseInsensitiveMap(e),"f")}toObject(){return i(this,n,"f").toObject()}static fromObject(e){return new l(Object.entries(e))}get(e,t){const r=i(this,n,"f").get(t);return r?.snapId===e?r:undefined}has(e,t){return this.get(e,t)!==undefined}delete(e,t){return this.has(e,t)&&i(this,n,"f").delete(t)}set(e,t){if(i(this,n,"f").has(e)&&!this.has(t.snapId,e))throw new a(t.snapId,e);return i(this,n,"f").set(e,t),this}values(){return i(this,n,"f").values()}get size(){return i(this,n,"f").size}}r.SnapIdMap=l,n=new WeakMap}}},{package:"@metamask/eth-snap-keyring",file:"node_modules/@metamask/eth-snap-keyring/dist/SnapIdMap.js"}],[1328,{"./DeferredPromise":1325,"./KeyringSnapControllerClient":1326,"./SnapIdMap":1327,"./logger":1330,"./types":1331,"./util":1332,"@ethereumjs/tx":426,"@metamask/eth-sig-util":1318,"@metamask/keyring-api":1444,"@metamask/utils":2300,events:3328,superstruct:4358,uuid:1333},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,s,i,o,a,l,c,d,u,h,p,m,f,g,v,w,y,k,b,C,_=this&&this.__classPrivateFieldSet||function(e,t,r,n,s){if("m"===n)throw new TypeError("Private method is not writable");if("a"===n&&!s)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!s:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?s.call(e,r):s?s.value=r:t.set(e,r),r},S=this&&this.__classPrivateFieldGet||function(e,t,r,n){if("a"===r&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)};Object.defineProperty(r,"__esModule",{value:!0}),r.SnapKeyring=r.SNAP_KEYRING_TYPE=void 0;const T=e("@ethereumjs/tx"),A=e("@metamask/eth-sig-util"),E=e("@metamask/keyring-api"),M=e("@metamask/utils"),P=e("events"),N=e("superstruct"),I=e("uuid"),R=e("./DeferredPromise"),j=e("./KeyringSnapControllerClient"),O=e("./logger"),x=e("./SnapIdMap"),B=e("./types"),D=e("./util");r.SNAP_KEYRING_TYPE="Snap Keyring";class L extends P.EventEmitter{constructor(e,t){super(),n.add(this),s.set(this,void 0),i.set(this,void 0),o.set(this,void 0),a.set(this,void 0),this.type=L.type,_(this,s,new j.KeyringSnapControllerClient({controller:e}),"f"),_(this,o,new x.SnapIdMap,"f"),_(this,i,new x.SnapIdMap,"f"),_(this,a,t,"f")}async handleKeyringSnapMessage(e,t){switch((0,N.assert)(t,B.SnapMessageStruct),t.method){case E.KeyringEvent.AccountCreated:return S(this,n,"m",l).call(this,e,t);case E.KeyringEvent.AccountUpdated:return S(this,n,"m",c).call(this,e,t);case E.KeyringEvent.AccountDeleted:return S(this,n,"m",d).call(this,e,t);case E.KeyringEvent.RequestApproved:return S(this,n,"m",u).call(this,e,t);case E.KeyringEvent.RequestRejected:return S(this,n,"m",h).call(this,e,t);default:throw new Error(`Method not supported: ${t.method}`)}}async serialize(){return{accounts:S(this,i,"f").toObject()}}async deserialize(e){e!==undefined&&_(this,i,x.SnapIdMap.fromObject(e.accounts),"f")}async getAccounts(){return(0,D.unique)([...S(this,i,"f").values()].map((({account:e})=>e.address.toLowerCase())))}async getAccountsBySnapId(e){return(0,D.unique)([...S(this,i,"f").values()].filter((({snapId:t})=>t===e)).map((({account:e})=>e.address.toLowerCase())))}async signTransaction(e,t,r={}){const s=t.common.chainId(),i=(0,D.toJson)({...t.toJSON(),from:e,type:`0x${t.type.toString(16)}`,chainId:(0,M.bigIntToHex)(s)}),o=await S(this,n,"m",p).call(this,{address:e,method:E.EthMethod.SignTransaction,params:[i],chainId:(0,M.toCaipChainId)(M.KnownCaipNamespace.Eip155,`${s}`)}),a=(0,N.mask)(o,(0,N.object)({r:(0,N.string)(),s:(0,N.string)(),v:(0,N.string)()}));return T.TransactionFactory.fromTxData({...i,r:a.r,s:a.s,v:a.v})}async signTypedData(e,t,r={version:A.SignTypedDataVersion.V1}){const s={[A.SignTypedDataVersion.V1]:E.EthMethod.SignTypedDataV1,[A.SignTypedDataVersion.V3]:E.EthMethod.SignTypedDataV3,[A.SignTypedDataVersion.V4]:E.EthMethod.SignTypedDataV4}[r.version]||E.EthMethod.SignTypedDataV1,i=t.domain?.chainId;return(0,D.strictMask)(await S(this,n,"m",p).call(this,{address:e,method:s,params:(0,D.toJson)([e,t]),...i===undefined?{}:{chainId:(0,M.toCaipChainId)(M.KnownCaipNamespace.Eip155,`${i}`)}}),E.EthBytesStruct)}async signMessage(e,t){return(0,D.strictMask)(await S(this,n,"m",p).call(this,{address:e,method:E.EthMethod.Sign,params:(0,D.toJson)([e,t])}),E.EthBytesStruct)}async signPersonalMessage(e,t){return(0,D.strictMask)(await S(this,n,"m",p).call(this,{address:e,method:E.EthMethod.PersonalSign,params:(0,D.toJson)([t,e])}),E.EthBytesStruct)}async prepareUserOperation(e,t,r){return(0,D.strictMask)(await S(this,n,"m",p).call(this,{address:e,method:E.EthMethod.PrepareUserOperation,params:(0,D.toJson)(t),expectSync:!0,chainId:(0,M.toCaipChainId)(M.KnownCaipNamespace.Eip155,r.chainId)}),E.EthBaseUserOperationStruct)}async patchUserOperation(e,t,r){return(0,D.strictMask)(await S(this,n,"m",p).call(this,{address:e,method:E.EthMethod.PatchUserOperation,params:(0,D.toJson)([t]),expectSync:!0,chainId:(0,M.toCaipChainId)(M.KnownCaipNamespace.Eip155,r.chainId)}),E.EthUserOperationPatchStruct)}async signUserOperation(e,t,r){return(0,D.strictMask)(await S(this,n,"m",p).call(this,{address:e,method:E.EthMethod.SignUserOperation,params:(0,D.toJson)([t]),chainId:(0,M.toCaipChainId)(M.KnownCaipNamespace.Eip155,r.chainId)}),E.EthBytesStruct)}exportAccount(e){throw new Error("Exporting accounts from snaps is not supported.")}async removeAccount(e){const{account:t,snapId:r}=S(this,n,"m",k).call(this,e);S(this,i,"f").delete(r,t.id);try{await S(this,s,"f").withSnapId(r).deleteAccount(t.id)}catch(t){console.error(`Account '${e}' may not have been removed from snap '${r}':`,t)}}getAccountByAddress(e){return this.listAccounts().find((({address:t})=>(0,D.equalsIgnoreCase)(t,e)))}listAccounts(){return[...S(this,i,"f").values()].map((({account:e,snapId:t})=>{const r=S(this,n,"m",b).call(this,t);return{...e,address:e.address.toLowerCase(),metadata:{name:"",importTime:0,keyring:{type:this.type},...r!==undefined&&{snap:r}}}}))}}r.SnapKeyring=L,s=new WeakMap,i=new WeakMap,o=new WeakMap,a=new WeakMap,n=new WeakSet,l=async function(e,t){(0,N.assert)(t,E.AccountCreatedEventStruct);const{account:r,accountNameSuggestion:n,displayConfirmation:s}=t.params;if(await S(this,a,"f").addressExists(r.address.toLowerCase()))throw new Error(`Account address '${r.address}' already exists`);if(S(this,i,"f").has(e,r.id))throw new Error(`Account '${r.id}' already exists`);return await S(this,a,"f").addAccount(r.address.toLowerCase(),e,(async t=>{t&&(S(this,i,"f").set(r.id,{account:r,snapId:e}),await S(this,a,"f").saveState())}),n,s),null},c=async function(e,t){(0,N.assert)(t,E.AccountUpdatedEventStruct);const{account:r}=t.params,{account:n}=S(this,i,"f").get(e,r.id)??(0,D.throwError)(`Account '${r.id}' not found`);if(!(0,D.equalsIgnoreCase)(n.address,r.address))throw new Error(`Cannot change address of account '${r.id}'`);return S(this,i,"f").set(r.id,{account:r,snapId:e}),await S(this,a,"f").saveState(),null},d=async function(e,t){(0,N.assert)(t,E.AccountDeletedEventStruct);const{id:r}=t.params,n=S(this,i,"f").get(e,r);if(n===undefined)return null;const{account:{address:s}}=n;return await S(this,a,"f").removeAccount(s.toLowerCase(),e,(async e=>{e&&await S(this,a,"f").saveState()})),null},u=async function(e,t){(0,N.assert)(t,E.RequestApprovedEventStruct);const{id:r,result:n}=t.params,{promise:s}=S(this,o,"f").get(e,r)??(0,D.throwError)(`Request '${r}' not found`);return S(this,o,"f").delete(e,r),s.resolve(n),null},h=async function(e,t){(0,N.assert)(t,E.RequestRejectedEventStruct);const{id:r}=t.params,{promise:n}=S(this,o,"f").get(e,r)??(0,D.throwError)(`Request '${r}' not found`);return S(this,o,"f").delete(e,r),n.reject(new Error("Request rejected by user or snap.")),null},p=async function({address:e,method:t,params:r,chainId:s="",expectSync:i=!1}){const{account:o,snapId:a}=S(this,n,"m",k).call(this,e);if(!S(this,n,"m",m).call(this,o,t))throw new Error(`Method '${t}' not supported for account ${o.address}`);const l=(0,I.v4)(),c=S(this,n,"m",f).call(this,l,a),d=await S(this,n,"m",g).call(this,{snapId:a,requestId:l,account:o,method:t,params:r,chainId:s});if(i&&d.pending)throw new Error(`Request '${l}' to snap '${a}' is pending and expectSync is true.`);return d.pending?((d.redirect?.message||d.redirect?.url)&&await S(this,n,"m",w).call(this,d.redirect,a),c.promise):S(this,n,"m",v).call(this,d,l,a)},m=function(e,t){return e.methods.includes(t)},f=function(e,t){const r=new R.DeferredPromise;return S(this,o,"f").set(e,{promise:r,snapId:t}),r},g=async function({snapId:e,requestId:t,account:r,method:n,params:i,chainId:a}){try{const o={id:t,scope:a,account:r.id,request:{method:n,...i!==undefined&&{params:i}}};return(0,O.projectLogger)("Submit Snap request: ",o),await S(this,s,"f").withSnapId(e).submitRequest(o)}catch(r){throw(0,O.projectLogger)("Snap Request failed: ",{requestId:t}),S(this,o,"f").delete(e,t),r}},v=function(e,t,r){return S(this,o,"f").delete(r,t),e.result},w=async function(e,t){const{message:r="",url:s=""}=e;s&&S(this,n,"m",y).call(this,s,t),await S(this,a,"f").redirectUser(t,s,r)},y=function(e,t){const{origin:r}=new URL(e),i=S(this,s,"f").getController().get(t);if(!i)throw new Error(`Snap '${t}' not found.`);if(!S(this,n,"m",C).call(this,i).includes(r))throw new Error(`Redirect URL domain '${r}' is not an allowed origin by snap '${t}'`)},k=function(e){return[...S(this,i,"f").values()].find((({account:t})=>(0,D.equalsIgnoreCase)(t.address,e)))??(0,D.throwError)(`Account '${e}' not found`)},b=function(e){const t=S(this,s,"f").getController().get(e);return t?{id:e,name:t.manifest.proposedName,enabled:t.enabled}:undefined},C=function(e){return e.manifest.initialPermissions["endowment:keyring"]?.allowedOrigins??[]},L.type=r.SNAP_KEYRING_TYPE}}},{package:"@metamask/eth-snap-keyring",file:"node_modules/@metamask/eth-snap-keyring/dist/SnapKeyring.js"}],[1329,{"./SnapKeyring":1328,"./types":1331},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){n===undefined&&(n=r);var s=Object.getOwnPropertyDescriptor(t,r);s&&!("get"in s?!t.__esModule:s.writable||s.configurable)||(s={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,s)}:function(e,t,r,n){n===undefined&&(n=r),e[n]=t[r]}),s=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(r,"__esModule",{value:!0}),s(e("./types"),r),s(e("./SnapKeyring"),r)}}},{package:"@metamask/eth-snap-keyring",file:"node_modules/@metamask/eth-snap-keyring/dist/index.js"}],[133,{lodash:3836},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=e("lodash");r.default={version:13,migrate(e){const t=(0,n.cloneDeep)(e);t.meta.version=13;try{const e=function(e){const t=e,{config:r}=t;r&&r.provider&&"testnet"===r.provider.type&&(t.config.provider.type="ropsten");return t}(t.data);t.data=e}catch(e){console.warn(`MetaMask Migration #13${e.stack}`)}return Promise.resolve(t)}}}}},{package:"$root$",file:"app/scripts/migrations/013.js"}],[1330,{"@metamask/utils":2300},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.createModuleLogger=r.projectLogger=void 0;const n=e("@metamask/utils");Object.defineProperty(r,"createModuleLogger",{enumerable:!0,get:function(){return n.createModuleLogger}}),r.projectLogger=(0,n.createProjectLogger)("eth-snap-keyring")}}},{package:"@metamask/eth-snap-keyring",file:"node_modules/@metamask/eth-snap-keyring/dist/logger.js"}],[1331,{"@metamask/utils":2300,superstruct:4358},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.SnapMessageStruct=void 0;const n=e("@metamask/utils"),s=e("superstruct");r.SnapMessageStruct=(0,s.object)({method:(0,s.string)(),params:(0,s.optional)((0,s.union)([(0,s.array)(n.JsonStruct),(0,s.record)((0,s.string)(),n.JsonStruct)]))})}}},{package:"@metamask/eth-snap-keyring",file:"node_modules/@metamask/eth-snap-keyring/dist/types.js"}],[1332,{superstruct:4358},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.equalsIgnoreCase=r.throwError=r.ensureDefined=r.toJson=r.unique=r.strictMask=void 0;const n=e("superstruct");r.strictMask=function(e,t,r){return(0,n.assert)(e,t,r),e},r.unique=function(e){return[...new Set(e)]},r.toJson=function(e){return JSON.parse(JSON.stringify(e))},r.ensureDefined=function(e){if(e===undefined)throw new Error("Argument is undefined")},r.throwError=function(e){throw new Error(e)},r.equalsIgnoreCase=function(e,t){return e.toLowerCase()===t.toLowerCase()}}}},{package:"@metamask/eth-snap-keyring",file:"node_modules/@metamask/eth-snap-keyring/dist/util.js"}],[1333,{"./nil.js":1336,"./parse.js":1337,"./stringify.js":1341,"./v1.js":1342,"./v3.js":1343,"./v4.js":1345,"./v5.js":1346,"./validate.js":1347,"./version.js":1348},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"NIL",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(r,"parse",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(r,"stringify",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(r,"v1",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(r,"v3",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(r,"v4",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(r,"v5",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(r,"validate",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(r,"version",{enumerable:!0,get:function(){return l.default}});var n=h(e("./v1.js")),s=h(e("./v3.js")),i=h(e("./v4.js")),o=h(e("./v5.js")),a=h(e("./nil.js")),l=h(e("./version.js")),c=h(e("./validate.js")),d=h(e("./stringify.js")),u=h(e("./parse.js"));function h(e){return e&&e.__esModule?e:{default:e}}}}},{package:"@metamask/eth-snap-keyring>uuid",file:"node_modules/@metamask/eth-snap-keyring/node_modules/uuid/dist/index.js"}],[1334,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){function n(e){return 14+(e+64>>>9<<4)+1}function s(e,t){const r=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(r>>16)<<16|65535&r}function i(e,t,r,n,i,o){return s((a=s(s(t,e),s(n,o)))<<(l=i)|a>>>32-l,r);var a,l}function o(e,t,r,n,s,o,a){return i(t&r|~t&n,e,t,s,o,a)}function a(e,t,r,n,s,o,a){return i(t&n|r&~n,e,t,s,o,a)}function l(e,t,r,n,s,o,a){return i(t^r^n,e,t,s,o,a)}function c(e,t,r,n,s,o,a){return i(r^(t|~n),e,t,s,o,a)}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var d=function(e){if("string"==typeof e){const t=unescape(encodeURIComponent(e));e=new Uint8Array(t.length);for(let r=0;r>5]>>>s%32&255,i=parseInt(n.charAt(r>>>4&15)+n.charAt(15&r),16);t.push(i)}return t}(function(e,t){e[t>>5]|=128<>5]|=(255&e[n/8])<uuid",file:"node_modules/@metamask/eth-snap-keyring/node_modules/uuid/dist/md5-browser.js"}],[1335,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};r.default=n}}},{package:"@metamask/eth-snap-keyring>uuid",file:"node_modules/@metamask/eth-snap-keyring/node_modules/uuid/dist/native-browser.js"}],[1336,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;r.default="00000000-0000-0000-0000-000000000000"}}},{package:"@metamask/eth-snap-keyring>uuid",file:"node_modules/@metamask/eth-snap-keyring/node_modules/uuid/dist/nil.js"}],[1337,{"./validate.js":1347},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n,s=(n=e("./validate.js"))&&n.__esModule?n:{default:n};var i=function(e){if(!(0,s.default)(e))throw TypeError("Invalid UUID");let t;const r=new Uint8Array(16);return r[0]=(t=parseInt(e.slice(0,8),16))>>>24,r[1]=t>>>16&255,r[2]=t>>>8&255,r[3]=255&t,r[4]=(t=parseInt(e.slice(9,13),16))>>>8,r[5]=255&t,r[6]=(t=parseInt(e.slice(14,18),16))>>>8,r[7]=255&t,r[8]=(t=parseInt(e.slice(19,23),16))>>>8,r[9]=255&t,r[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255,r[11]=t/4294967296&255,r[12]=t>>>24&255,r[13]=t>>>16&255,r[14]=t>>>8&255,r[15]=255&t,r};r.default=i}}},{package:"@metamask/eth-snap-keyring>uuid",file:"node_modules/@metamask/eth-snap-keyring/node_modules/uuid/dist/parse.js"}],[1338,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;r.default=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i}}},{package:"@metamask/eth-snap-keyring>uuid",file:"node_modules/@metamask/eth-snap-keyring/node_modules/uuid/dist/regex.js"}],[1339,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){let n;Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(){if(!n&&(n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!n))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return n(s)};const s=new Uint8Array(16)}}},{package:"@metamask/eth-snap-keyring>uuid",file:"node_modules/@metamask/eth-snap-keyring/node_modules/uuid/dist/rng-browser.js"}],[134,{lodash:3836},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=e("lodash");r.default={version:14,migrate(e){const t=(0,n.cloneDeep)(e);t.meta.version=14;try{const e=function(e){const t=e;return t.NetworkController={},t.NetworkController.provider=t.config.provider,delete t.config.provider,t}(t.data);t.data=e}catch(e){console.warn(`MetaMask Migration #14${e.stack}`)}return Promise.resolve(t)}}}}},{package:"$root$",file:"app/scripts/migrations/014.js"}],[1340,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){function n(e,t,r,n){switch(e){case 0:return t&r^~t&n;case 1:case 3:return t^r^n;case 2:return t&r^t&n^r&n}}function s(e,t){return e<>>32-t}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var i=function(e){const t=[1518500249,1859775393,2400959708,3395469782],r=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof e){const t=unescape(encodeURIComponent(e));e=[];for(let r=0;r>>0;u=d,d=c,c=s(l,30)>>>0,l=o,o=a}r[0]=r[0]+o>>>0,r[1]=r[1]+l>>>0,r[2]=r[2]+c>>>0,r[3]=r[3]+d>>>0,r[4]=r[4]+u>>>0}return[r[0]>>24&255,r[0]>>16&255,r[0]>>8&255,255&r[0],r[1]>>24&255,r[1]>>16&255,r[1]>>8&255,255&r[1],r[2]>>24&255,r[2]>>16&255,r[2]>>8&255,255&r[2],r[3]>>24&255,r[3]>>16&255,r[3]>>8&255,255&r[3],r[4]>>24&255,r[4]>>16&255,r[4]>>8&255,255&r[4]]};r.default=i}}},{package:"@metamask/eth-snap-keyring>uuid",file:"node_modules/@metamask/eth-snap-keyring/node_modules/uuid/dist/sha1-browser.js"}],[1341,{"./validate.js":1347},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.unsafeStringify=o;var n,s=(n=e("./validate.js"))&&n.__esModule?n:{default:n};const i=[];for(let e=0;e<256;++e)i.push((e+256).toString(16).slice(1));function o(e,t=0){return i[e[t+0]]+i[e[t+1]]+i[e[t+2]]+i[e[t+3]]+"-"+i[e[t+4]]+i[e[t+5]]+"-"+i[e[t+6]]+i[e[t+7]]+"-"+i[e[t+8]]+i[e[t+9]]+"-"+i[e[t+10]]+i[e[t+11]]+i[e[t+12]]+i[e[t+13]]+i[e[t+14]]+i[e[t+15]]}var a=function(e,t=0){const r=o(e,t);if(!(0,s.default)(r))throw TypeError("Stringified UUID is invalid");return r};r.default=a}}},{package:"@metamask/eth-snap-keyring>uuid",file:"node_modules/@metamask/eth-snap-keyring/node_modules/uuid/dist/stringify.js"}],[1342,{"./rng.js":1339,"./stringify.js":1341},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n,s=(n=e("./rng.js"))&&n.__esModule?n:{default:n},i=e("./stringify.js");let o,a,l=0,c=0;var d=function(e,t,r){let n=t&&r||0;const d=t||new Array(16);let u=(e=e||{}).node||o,h=e.clockseq!==undefined?e.clockseq:a;if(null==u||null==h){const t=e.random||(e.rng||s.default)();null==u&&(u=o=[1|t[0],t[1],t[2],t[3],t[4],t[5]]),null==h&&(h=a=16383&(t[6]<<8|t[7]))}let p=e.msecs!==undefined?e.msecs:Date.now(),m=e.nsecs!==undefined?e.nsecs:c+1;const f=p-l+(m-c)/1e4;if(f<0&&e.clockseq===undefined&&(h=h+1&16383),(f<0||p>l)&&e.nsecs===undefined&&(m=0),m>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");l=p,c=m,a=h,p+=122192928e5;const g=(1e4*(268435455&p)+m)%4294967296;d[n++]=g>>>24&255,d[n++]=g>>>16&255,d[n++]=g>>>8&255,d[n++]=255&g;const v=p/4294967296*1e4&268435455;d[n++]=v>>>8&255,d[n++]=255&v,d[n++]=v>>>24&15|16,d[n++]=v>>>16&255,d[n++]=h>>>8|128,d[n++]=255&h;for(let e=0;e<6;++e)d[n+e]=u[e];return t||(0,i.unsafeStringify)(d)};r.default=d}}},{package:"@metamask/eth-snap-keyring>uuid",file:"node_modules/@metamask/eth-snap-keyring/node_modules/uuid/dist/v1.js"}],[1343,{"./md5.js":1334,"./v35.js":1344},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=i(e("./v35.js")),s=i(e("./md5.js"));function i(e){return e&&e.__esModule?e:{default:e}}var o=(0,n.default)("v3",48,s.default);r.default=o}}},{package:"@metamask/eth-snap-keyring>uuid",file:"node_modules/@metamask/eth-snap-keyring/node_modules/uuid/dist/v3.js"}],[1344,{"./parse.js":1337,"./stringify.js":1341},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.URL=r.DNS=void 0,r.default=function(e,t,r){function n(e,n,o,a){var l;if("string"==typeof e&&(e=function(e){e=unescape(encodeURIComponent(e));const t=[];for(let r=0;ruuid",file:"node_modules/@metamask/eth-snap-keyring/node_modules/uuid/dist/v35.js"}],[1345,{"./native.js":1335,"./rng.js":1339,"./stringify.js":1341},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=o(e("./native.js")),s=o(e("./rng.js")),i=e("./stringify.js");function o(e){return e&&e.__esModule?e:{default:e}}var a=function(e,t,r){if(n.default.randomUUID&&!t&&!e)return n.default.randomUUID();const o=(e=e||{}).random||(e.rng||s.default)();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t){r=r||0;for(let e=0;e<16;++e)t[r+e]=o[e];return t}return(0,i.unsafeStringify)(o)};r.default=a}}},{package:"@metamask/eth-snap-keyring>uuid",file:"node_modules/@metamask/eth-snap-keyring/node_modules/uuid/dist/v4.js"}],[1346,{"./sha1.js":1340,"./v35.js":1344},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=i(e("./v35.js")),s=i(e("./sha1.js"));function i(e){return e&&e.__esModule?e:{default:e}}var o=(0,n.default)("v5",80,s.default);r.default=o}}},{package:"@metamask/eth-snap-keyring>uuid",file:"node_modules/@metamask/eth-snap-keyring/node_modules/uuid/dist/v5.js"}],[1347,{"./regex.js":1338},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n,s=(n=e("./regex.js"))&&n.__esModule?n:{default:n};var i=function(e){return"string"==typeof e&&s.default.test(e)};r.default=i}}},{package:"@metamask/eth-snap-keyring>uuid",file:"node_modules/@metamask/eth-snap-keyring/node_modules/uuid/dist/validate.js"}],[1348,{"./validate.js":1347},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n,s=(n=e("./validate.js"))&&n.__esModule?n:{default:n};var i=function(e){if(!(0,s.default)(e))throw TypeError("Invalid UUID");return parseInt(e.slice(14,15),16)};r.default=i}}},{package:"@metamask/eth-snap-keyring>uuid",file:"node_modules/@metamask/eth-snap-keyring/node_modules/uuid/dist/version.js"}],[135,{"@metamask/transaction-controller":2234,lodash:3836},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=e("@metamask/transaction-controller"),s=e("lodash");r.default={version:15,migrate(e){const t=(0,s.cloneDeep)(e);t.meta.version=15;try{const e=function(e){const t=e,{TransactionController:r}=t;if(r&&r.transactions){const{transactions:e}=r;t.TransactionController.transactions=e.map((e=>e.err?("Gave up submitting tx."===e.err.message&&(e.status=n.TransactionStatus.failed),e):e))}return t}(t.data);t.data=e}catch(e){console.warn(`MetaMask Migration #15${e.stack}`)}return Promise.resolve(t)}}}}},{package:"$root$",file:"app/scripts/migrations/015.js"}],[1353,{"./trezor-bridge":1354,"./trezor-connect-bridge":1355,"./trezor-keyring":1356},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){n===undefined&&(n=r);var s=Object.getOwnPropertyDescriptor(t,r);s&&!("get"in s?!t.__esModule:s.writable||s.configurable)||(s={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,s)}:function(e,t,r,n){n===undefined&&(n=r),e[n]=t[r]}),s=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(r,"__esModule",{value:!0}),s(e("./trezor-keyring"),r),s(e("./trezor-bridge"),r),s(e("./trezor-connect-bridge"),r)}}},{package:"@metamask/eth-trezor-keyring",file:"node_modules/@metamask/eth-trezor-keyring/dist/index.js"}],[1354,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0})}}},{package:"@metamask/eth-trezor-keyring",file:"node_modules/@metamask/eth-trezor-keyring/dist/trezor-bridge.js"}],[1355,{"@trezor/connect-web":1362},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){n===undefined&&(n=r);var s=Object.getOwnPropertyDescriptor(t,r);s&&!("get"in s?!t.__esModule:s.writable||s.configurable)||(s={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,s)}:function(e,t,r,n){n===undefined&&(n=r),e[n]=t[r]}),s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return s(t,e),t};Object.defineProperty(r,"__esModule",{value:!0}),r.TrezorConnectBridge=void 0;const o=i(e("@trezor/connect-web"));r.TrezorConnectBridge=class{constructor(){this.trezorConnectInitiated=!1}async init(e){o.default.on(o.DEVICE_EVENT,(e=>{var t;e.type===o.DEVICE.CONNECT&&(this.model=null===(t=e.payload.features)||void 0===t?void 0:t.model)})),this.trezorConnectInitiated||(await o.default.init(e),this.trezorConnectInitiated=!0)}dispose(){return o.default.dispose(),Promise.resolve()}getPublicKey(e){return o.default.getPublicKey(e)}ethereumSignTransaction(e){return o.default.ethereumSignTransaction(e)}ethereumSignMessage(e){return o.default.ethereumSignMessage(e)}ethereumSignTypedData(e){return o.default.ethereumSignTypedData(e)}}}}},{package:"@metamask/eth-trezor-keyring",file:"node_modules/@metamask/eth-trezor-keyring/dist/trezor-connect-bridge.js"}]],[],{}); \ No newline at end of file diff --git a/contracts/test/e2e/metamask-flask-unpacked/background-5.js b/contracts/test/e2e/metamask-flask-unpacked/background-5.js index 68da0c4..99fe0f3 100644 --- a/contracts/test/e2e/metamask-flask-unpacked/background-5.js +++ b/contracts/test/e2e/metamask-flask-unpacked/background-5.js @@ -1,4 +1,4 @@ -LavaPack.loadBundle([[40,{"../../../platforms/extension":252,"../../../translate":255,"../../metamask-notifications/constants/notification-schema":17,"./get-notification-data":38,"./get-notification-image":39},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.createNotificationMessage=f,n.isOnChainNotification=function(e){const t=e;return[null==t?void 0:t.id,null==t?void 0:t.data,null==t?void 0:t.trigger_id].every((e=>e!==undefined))},n.onNotificationClick=async function(e,t){var n;e.notification.close();const r=null==e||null===(n=e.notification)||void 0===n?void 0:n.data;null==t||t(r);const i=`${l.getExtensionURL(null,null)}#notifications/${r.id}`;e.waitUntil(u.clients.openWindow(i))},n.onPushNotification=async function(e){const t=f(e);if(!t)return;const n=null==u?void 0:u.registration;if(!n)return;const r=await(0,c.getNotificationImage)();await n.showNotification(t.title,{body:t.description,icon:r,tag:null==e?void 0:e.id,data:e})};var r,i=e("../../metamask-notifications/constants/notification-schema"),s=e("../../../translate"),a=(r=e("../../../platforms/extension"))&&r.__esModule?r:{default:r},o=e("./get-notification-data"),c=e("./get-notification-image");const u=self,l=new a.default;function h(e){return i.CHAIN_SYMBOLS[e]??null}const d={erc20_sent:{title:(0,s.t)("pushPlatformNotificationsFundsSentTitle"),defaultDescription:(0,s.t)("pushPlatformNotificationsFundsSentDescriptionDefault"),getDescription:e=>{var t,n,r;const i=null==e||null===(t=e.data)||void 0===t||null===(t=t.token)||void 0===t?void 0:t.symbol,a=null==e||null===(n=e.data)||void 0===n||null===(n=n.token)||void 0===n?void 0:n.amount,c=null==e||null===(r=e.data)||void 0===r||null===(r=r.token)||void 0===r?void 0:r.decimals;if(!i||!a||!c)return null;const u=(0,o.getAmount)(a,c,{shouldEllipse:!0});return(0,s.t)("pushPlatformNotificationsFundsSentDescription",u,i)}},eth_sent:{title:(0,s.t)("pushPlatformNotificationsFundsSentTitle"),defaultDescription:(0,s.t)("pushPlatformNotificationsFundsSentDescriptionDefault"),getDescription:e=>{var t;const n=h(null==e?void 0:e.chain_id),r=null==e||null===(t=e.data)||void 0===t||null===(t=t.amount)||void 0===t?void 0:t.eth;if(!n||!r)return null;const i=(0,o.formatAmount)(parseFloat(r),{shouldEllipse:!0});return(0,s.t)("pushPlatformNotificationsFundsSentDescription",i,n)}},erc20_received:{title:(0,s.t)("pushPlatformNotificationsFundsReceivedTitle"),defaultDescription:(0,s.t)("pushPlatformNotificationsFundsReceivedDescriptionDefault"),getDescription:e=>{var t,n,r;const i=null==e||null===(t=e.data)||void 0===t||null===(t=t.token)||void 0===t?void 0:t.symbol,a=null==e||null===(n=e.data)||void 0===n||null===(n=n.token)||void 0===n?void 0:n.amount,c=null==e||null===(r=e.data)||void 0===r||null===(r=r.token)||void 0===r?void 0:r.decimals;if(!i||!a||!c)return null;const u=(0,o.getAmount)(a,c,{shouldEllipse:!0});return(0,s.t)("pushPlatformNotificationsFundsReceivedDescription",u,i)}},eth_received:{title:(0,s.t)("pushPlatformNotificationsFundsReceivedTitle"),defaultDescription:(0,s.t)("pushPlatformNotificationsFundsReceivedDescriptionDefault"),getDescription:e=>{var t;const n=h(null==e?void 0:e.chain_id),r=null==e||null===(t=e.data)||void 0===t||null===(t=t.amount)||void 0===t?void 0:t.eth;if(!n||!r)return null;const i=(0,o.formatAmount)(parseFloat(r),{shouldEllipse:!0});return(0,s.t)("pushPlatformNotificationsFundsReceivedDescription",i,n)}},metamask_swap_completed:{title:(0,s.t)("pushPlatformNotificationsSwapCompletedTitle"),defaultDescription:(0,s.t)("pushPlatformNotificationsSwapCompletedDescription")},erc721_sent:{title:(0,s.t)("pushPlatformNotificationsNftSentTitle"),defaultDescription:(0,s.t)("pushPlatformNotificationsNftSentDescription")},erc1155_sent:{title:(0,s.t)("pushPlatformNotificationsNftSentTitle"),defaultDescription:(0,s.t)("pushPlatformNotificationsNftSentDescription")},erc721_received:{title:(0,s.t)("pushPlatformNotificationsNftReceivedTitle"),defaultDescription:(0,s.t)("pushPlatformNotificationsNftReceivedDescription")},erc1155_received:{title:(0,s.t)("pushPlatformNotificationsNftReceivedTitle"),defaultDescription:(0,s.t)("pushPlatformNotificationsNftReceivedDescription")},rocketpool_stake_completed:{title:(0,s.t)("pushPlatformNotificationsStakingRocketpoolStakeCompletedTitle"),defaultDescription:(0,s.t)("pushPlatformNotificationsStakingRocketpoolStakeCompletedDescription")},rocketpool_unstake_completed:{title:(0,s.t)("pushPlatformNotificationsStakingRocketpoolUnstakeCompletedTitle"),defaultDescription:(0,s.t)("pushPlatformNotificationsStakingRocketpoolUnstakeCompletedDescription")},lido_stake_completed:{title:(0,s.t)("pushPlatformNotificationsStakingLidoStakeCompletedTitle"),defaultDescription:(0,s.t)("pushPlatformNotificationsStakingLidoStakeCompletedDescription")},lido_stake_ready_to_be_withdrawn:{title:(0,s.t)("pushPlatformNotificationsStakingLidoStakeReadyToBeWithdrawnTitle"),defaultDescription:(0,s.t)("pushPlatformNotificationsStakingLidoStakeReadyToBeWithdrawnDescription")},lido_withdrawal_requested:{title:(0,s.t)("pushPlatformNotificationsStakingLidoWithdrawalRequestedTitle"),defaultDescription:(0,s.t)("pushPlatformNotificationsStakingLidoWithdrawalRequestedDescription")},lido_withdrawal_completed:{title:(0,s.t)("pushPlatformNotificationsStakingLidoWithdrawalCompletedTitle"),defaultDescription:(0,s.t)("pushPlatformNotificationsStakingLidoWithdrawalCompletedDescription")}};function f(e){if(null==e||!e.type)return null;const t=d[e.type];if(!t)return null;let n=null;try{var r;n=(null==t||null===(r=t.getDescription)||void 0===r?void 0:r.call(t,e))??t.defaultDescription??null}catch(e){n=t.defaultDescription??null}return{title:t.title??"",description:n??""}}}}},{package:"$root$",file:"app/scripts/controllers/push-platform-notifications/utils/get-notification-message.ts"}],[4063,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){t.exports="function"==typeof queueMicrotask?queueMicrotask:e=>Promise.resolve().then(e)}}},{package:"@metamask/snaps-controllers>tar-stream>streamx>queue-tick",file:"node_modules/queue-tick/queue-microtask.js"}],[41,{"../../../shared/constants/common":4495,"../../../shared/constants/gas":4500,"../../../shared/constants/metametrics":4505,"../../../shared/constants/network":4507,"../../../shared/constants/smartTransactions":4514,"../../../shared/constants/swaps":4516,"../../../shared/constants/time":4518,"../../../shared/lib/fetch-with-cache":4525,"../../../shared/lib/swaps-utils":4528,"../../../shared/lib/transactions-controller-utils":4531,"../../../shared/modules/Numeric":4533,"../../../shared/modules/conversion.utils":4537,"../../../shared/modules/string-utils":4558,"../../../shared/modules/swaps.utils":4559,"@ethersproject/contracts":483,"@ethersproject/providers":521,"@metamask/obs-store":1610,"@sentry/browser":2409,"bignumber.js":2933,"human-standard-token-abi":3631,lodash:3836},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.utils=n.default=void 0;var r=e("@ethersproject/providers"),i=e("@ethersproject/contracts"),s=E(e("bignumber.js")),a=e("@metamask/obs-store"),o=e("lodash"),c=E(e("human-standard-token-abi")),u=e("@sentry/browser"),l=e("../../../shared/modules/conversion.utils"),h=e("../../../shared/constants/swaps"),d=e("../../../shared/constants/gas"),f=e("../../../shared/constants/network"),p=e("../../../shared/constants/metametrics"),g=e("../../../shared/constants/smartTransactions"),m=e("../../../shared/modules/swaps.utils"),y=e("../../../shared/lib/swaps-utils"),b=E(e("../../../shared/lib/fetch-with-cache")),w=e("../../../shared/constants/time"),_=e("../../../shared/modules/string-utils"),v=e("../../../shared/lib/transactions-controller-utils"),S=e("../../../shared/modules/Numeric"),k=e("../../../shared/constants/common");function E(e){return e&&e.__esModule?e:{default:e}}const T=25e5,A=w.MINUTE;function x(e=25e5,t=0,n=0){const r=new s.default(e,10).minus(t,10);return!r.lt(0)&&r.lt(n,16)?`0x${r.toString(16)}`:n}const C={quotes:{},quotesPollingLimitEnabled:!1,fetchParams:null,tokens:null,tradeTxId:null,approveTxId:null,quotesLastFetched:null,customMaxGas:"",customGasPrice:null,customMaxFeePerGas:null,customMaxPriorityFeePerGas:null,swapsUserFeeLevel:"",selectedAggId:null,customApproveTxData:"",errorKey:"",topAggId:null,routeState:"",swapsFeatureIsLive:!0,saveFetchedQuotes:!1,swapsQuoteRefreshTime:A,swapsQuotePrefetchingRefreshTime:A,swapsStxBatchStatusRefreshTime:g.FALLBACK_SMART_TRANSACTIONS_REFRESH_TIME,swapsStxGetTransactionsRefreshTime:g.FALLBACK_SMART_TRANSACTIONS_REFRESH_TIME,swapsStxMaxFeeMultiplier:g.FALLBACK_SMART_TRANSACTIONS_MAX_FEE_MULTIPLIER,swapsFeatureFlags:{}};function P(e){if(!Array.isArray(e)||0===e.length)throw new Error("Expected non-empty array param.");const t=[...e];if(t.sort(((e,t)=>{const n=new s.default(e.overallValueOfQuote,10),r=new s.default(t.overallValueOfQuote,10);return n.equals(r)?0:n.lessThan(r)?-1:1})),t.length%2==1){const e=t[(t.length-1)/2].overallValueOfQuote;return I(t.filter((t=>e===t.overallValueOfQuote)))}const n=t.length/2,r=n-1,i=t[n].overallValueOfQuote,a=t[r].overallValueOfQuote,o=t.filter((e=>i===e.overallValueOfQuote)),c=t.filter((e=>a===e.overallValueOfQuote)),u=I(o),l=I(c);return{ethFee:new s.default(u.ethFee,10).plus(l.ethFee,10).dividedBy(2).toString(10),metaMaskFeeInEth:new s.default(u.metaMaskFeeInEth,10).plus(l.metaMaskFeeInEth,10).dividedBy(2).toString(10),ethValueOfTokens:new s.default(u.ethValueOfTokens,10).plus(l.ethValueOfTokens,10).dividedBy(2).toString(10)}}function I(e){const t=e.reduce(((e,t)=>({ethFee:e.ethFee.plus(t.ethFee,10),metaMaskFeeInEth:e.metaMaskFeeInEth.plus(t.metaMaskFeeInEth,10),ethValueOfTokens:e.ethValueOfTokens.plus(t.ethValueOfTokens,10)})),{ethFee:new s.default(0,10),metaMaskFeeInEth:new s.default(0,10),ethValueOfTokens:new s.default(0,10)});return{ethFee:t.ethFee.div(e.length,10).toString(10),metaMaskFeeInEth:t.metaMaskFeeInEth.div(e.length,10).toString(10),ethValueOfTokens:t.ethValueOfTokens.div(e.length,10).toString(10)}}n.default=class{constructor({getBufferedGasLimit:e,provider:t,getProviderConfig:n,getTokenRatesState:i,fetchTradesInfo:s=y.fetchTradesInfo,getCurrentChainId:o,getLayer1GasFee:c,getEIP1559GasFeeEstimates:u,trackMetaMetricsEvent:l},h){var d;this.store=new a.ObservableStore({swapsState:{...C,swapsFeatureFlags:(null==h||null===(d=h.swapsState)||void 0===d?void 0:d.swapsFeatureFlags)||{}}}),this.resetState=()=>{var e;this.store.updateState({swapsState:{...C,swapsFeatureFlags:null==h||null===(e=h.swapsState)||void 0===e?void 0:e.swapsFeatureFlags}})},this._fetchTradesInfo=s,this._getCurrentChainId=o,this._getEIP1559GasFeeEstimates=u,this._getLayer1GasFee=c,this.getBufferedGasLimit=e,this.getTokenRatesState=i,this.trackMetaMetricsEvent=l,this.pollCount=0,this.getProviderConfig=n,this.indexOfNewestCallInFlight=0,this.provider=t,this.ethersProvider=new r.Web3Provider(t),this._ethersProviderChainId=this._getCurrentChainId()}async fetchSwapsNetworkConfig(e){const t=await(0,b.default)({url:(0,y.getBaseApi)("network",e),fetchOptions:{method:"GET"},cacheOptions:{cacheRefreshTime:6e5},functionName:"fetchSwapsNetworkConfig"}),{refreshRates:n,parameters:r={}}=t||{};if(!n||"number"!=typeof n.quotes||"number"!=typeof n.quotesPrefetching)throw new Error(`MetaMask - invalid response for refreshRates: ${t}`);return{quotes:1e3*n.quotes,quotesPrefetching:1e3*n.quotesPrefetching,stxGetTransactions:1e3*n.stxGetTransactions,stxBatchStatus:1e3*n.stxBatchStatus,stxStatusDeadline:n.stxStatusDeadline,stxMaxFeeMultiplier:r.stxMaxFeeMultiplier}}async _setSwapsNetworkConfig(){var e,t,n,r,i,s;const a=this._getCurrentChainId();let o;try{o=await this.fetchSwapsNetworkConfig(a)}catch(e){console.error("Request for Swaps network config failed: ",e)}const{swapsState:c}=this.store.getState();this.store.updateState({swapsState:{...c,swapsQuoteRefreshTime:(null===(e=o)||void 0===e?void 0:e.quotes)||A,swapsQuotePrefetchingRefreshTime:(null===(t=o)||void 0===t?void 0:t.quotesPrefetching)||A,swapsStxGetTransactionsRefreshTime:(null===(n=o)||void 0===n?void 0:n.stxGetTransactions)||g.FALLBACK_SMART_TRANSACTIONS_REFRESH_TIME,swapsStxBatchStatusRefreshTime:(null===(r=o)||void 0===r?void 0:r.stxBatchStatus)||g.FALLBACK_SMART_TRANSACTIONS_REFRESH_TIME,swapsStxStatusDeadline:(null===(i=o)||void 0===i?void 0:i.stxStatusDeadline)||g.FALLBACK_SMART_TRANSACTIONS_DEADLINE,swapsStxMaxFeeMultiplier:(null===(s=o)||void 0===s?void 0:s.stxMaxFeeMultiplier)||g.FALLBACK_SMART_TRANSACTIONS_MAX_FEE_MULTIPLIER}})}pollForNewQuotes(){const{swapsState:{swapsQuoteRefreshTime:e,swapsQuotePrefetchingRefreshTime:t,quotesPollingLimitEnabled:n}}=this.store.getState(),r=n?e:t;this.pollingTimeout=setTimeout((()=>{var e;const{swapsState:t}=this.store.getState();this.fetchAndSetQuotes(t.fetchParams,null===(e=t.fetchParams)||void 0===e?void 0:e.metaData,!0)}),r)}stopPollingForQuotes(){this.pollingTimeout&&clearTimeout(this.pollingTimeout)}async fetchAndSetQuotes(e,t={},n){const{chainId:i}=t;i!==this._ethersProviderChainId&&(this.ethersProvider=new r.Web3Provider(this.provider),this._ethersProviderChainId=i);const{swapsState:{quotesPollingLimitEnabled:s,saveFetchedQuotes:a}}=this.store.getState();if(!e)return null;n||(this.pollCount=0),clearTimeout(this.pollingTimeout),n||this.setSwapsErrorKey("");const c=this.indexOfNewestCallInFlight+1;this.indexOfNewestCallInFlight=c,a||this.setSaveFetchedQuotes(!0);let[u]=await Promise.all([this._fetchTradesInfo(e,{...t}),this._setSwapsNetworkConfig()]);const{swapsState:{saveFetchedQuotes:l}}=this.store.getState();if(!l)return[{},null];u=(0,o.mapValues)(u,(e=>({...e,sourceTokenInfo:t.sourceTokenInfo,destinationTokenInfo:t.destinationTokenInfo}))),(i===f.CHAIN_IDS.OPTIMISM||i===f.CHAIN_IDS.BASE)&&Object.values(u).length>0&&await Promise.all(Object.values(u).map((async e=>{if(e.trade){const t=await this._getLayer1GasFee({transactionParams:e.trade,chainId:i});e.multiLayerL1TradeFeeTotal=t}return e})));const d=Date.now();let p=!1;if(!(0,m.isSwapsDefaultTokenAddress)(e.sourceToken,i)&&Object.values(u).length){const t=await this._getERC20Allowance(e.sourceToken,e.fromAddress,i),[r]=Object.values(u);if(p=r.approvalNeeded&&t.eq(0)&&"wrappedNative"!==r.aggregator,p){if(!n){const{gasLimit:e}=await this.timedoutGasReturn(r.approvalNeeded,r.aggregator);u=(0,o.mapValues)(u,(t=>({...t,approvalNeeded:{...t.approvalNeeded,gas:e||h.DEFAULT_ERC20_APPROVE_GAS}})))}}else u=(0,o.mapValues)(u,(e=>({...e,approvalNeeded:null})))}let g=null;if(p||null!=e&&e.balanceError||(u=await this.getAllQuotesWithGasEstimates(u)),0===Object.values(u).length)this.setSwapsErrorKey(h.QUOTES_NOT_AVAILABLE_ERROR);else{const[e,t]=await this._findTopQuoteAndCalculateSavings(u);g=e,u=t}if(this.indexOfNewestCallInFlight!==c)throw new Error(h.SWAPS_FETCH_ORDER_CONFLICT);const{swapsState:y}=this.store.getState();let{selectedAggId:b}=y;return u[b]||(b=null),this.store.updateState({swapsState:{...y,quotes:u,fetchParams:{...e,metaData:t},quotesLastFetched:d,selectedAggId:b,topAggId:g}}),s&&(this.pollCount+=1),!s||this.pollCount<4?(this.pollForNewQuotes(),[u,g]):(this.resetPostFetchState(),this.setSwapsErrorKey(h.QUOTES_EXPIRED_ERROR),null)}safeRefetchQuotes(){const{swapsState:e}=this.store.getState();!this.pollingTimeout&&e.fetchParams&&this.fetchAndSetQuotes(e.fetchParams)}setSelectedQuoteAggId(e){const{swapsState:t}=this.store.getState();this.store.updateState({swapsState:{...t,selectedAggId:e}})}setSwapsTokens(e){const{swapsState:t}=this.store.getState();this.store.updateState({swapsState:{...t,tokens:e}})}clearSwapsQuotes(){const{swapsState:e}=this.store.getState();this.store.updateState({swapsState:{...e,quotes:{}}})}setSwapsErrorKey(e){const{swapsState:t}=this.store.getState();this.store.updateState({swapsState:{...t,errorKey:e}})}async getAllQuotesWithGasEstimates(e){const t=await Promise.all(Object.values(e).map((async e=>{const{gasLimit:t,simulationFails:n}=await this.timedoutGasReturn(e.trade,e.aggregator);return[t,n,e.aggregator]}))),n={};return t.forEach((([t,r,i])=>{if(t&&!r){const r=x(e[i].maxGas,e[i].estimatedRefund,t);n[i]={...e[i],gasEstimate:t,gasEstimateWithRefund:r}}else e[i].approvalNeeded&&(n[i]=e[i])})),n}timedoutGasReturn(e,t=""){return new Promise((n=>{let r=!1;const i=setTimeout((()=>{r=!0,this.trackMetaMetricsEvent({event:p.MetaMetricsEventName.QuoteError,category:p.MetaMetricsEventCategory.Swaps,properties:{error_type:p.MetaMetricsEventErrorType.GasTimeout,aggregator:t}}),n({gasLimit:null,simulationFails:!0})}),5*w.SECOND),s={data:e.data,from:e.from,to:e.to,value:e.value};this.getBufferedGasLimit({txParams:s},1).then((({gasLimit:e,simulationFails:t})=>{r||(clearTimeout(i),n({gasLimit:e,simulationFails:t}))})).catch((e=>{(0,u.captureException)(e,{extra:{aggregator:t}}),r||(clearTimeout(i),n({gasLimit:null,simulationFails:!0}))}))}))}async setInitialGasEstimate(e){const{swapsState:t}=this.store.getState(),n={...t.quotes[e]},{gasLimit:r,simulationFails:i}=await this.timedoutGasReturn(n.trade,n.aggregator);if(r&&!i){const e=x(n.maxGas,n.estimatedRefund,r);n.gasEstimate=r,n.gasEstimateWithRefund=e}this.store.updateState({swapsState:{...t,quotes:{...t.quotes,[e]:n}}})}setApproveTxId(e){const{swapsState:t}=this.store.getState();this.store.updateState({swapsState:{...t,approveTxId:e}})}setTradeTxId(e){const{swapsState:t}=this.store.getState();this.store.updateState({swapsState:{...t,tradeTxId:e}})}setQuotesLastFetched(e){const{swapsState:t}=this.store.getState();this.store.updateState({swapsState:{...t,quotesLastFetched:e}})}setSwapsTxGasPrice(e){const{swapsState:t}=this.store.getState();this.store.updateState({swapsState:{...t,customGasPrice:e}})}setSwapsTxMaxFeePerGas(e){const{swapsState:t}=this.store.getState();this.store.updateState({swapsState:{...t,customMaxFeePerGas:e}})}setSwapsUserFeeLevel(e){const{swapsState:t}=this.store.getState();this.store.updateState({swapsState:{...t,swapsUserFeeLevel:e}})}setSwapsQuotesPollingLimitEnabled(e){const{swapsState:t}=this.store.getState();this.store.updateState({swapsState:{...t,quotesPollingLimitEnabled:e}})}setSwapsTxMaxFeePriorityPerGas(e){const{swapsState:t}=this.store.getState();this.store.updateState({swapsState:{...t,customMaxPriorityFeePerGas:e}})}setSwapsTxGasLimit(e){const{swapsState:t}=this.store.getState();this.store.updateState({swapsState:{...t,customMaxGas:e}})}setCustomApproveTxData(e){const{swapsState:t}=this.store.getState();this.store.updateState({swapsState:{...t,customApproveTxData:e}})}setBackgroundSwapRouteState(e){const{swapsState:t}=this.store.getState();this.store.updateState({swapsState:{...t,routeState:e}})}setSaveFetchedQuotes(e){const{swapsState:t}=this.store.getState();this.store.updateState({swapsState:{...t,saveFetchedQuotes:e}})}setSwapsLiveness(e){const{swapsState:t}=this.store.getState(),{swapsFeatureIsLive:n}=e;this.store.updateState({swapsState:{...t,swapsFeatureIsLive:n}})}setSwapsFeatureFlags(e){const{swapsState:t}=this.store.getState();this.store.updateState({swapsState:{...t,swapsFeatureFlags:e}})}resetPostFetchState(){const{swapsState:e}=this.store.getState();this.store.updateState({swapsState:{...C,tokens:e.tokens,fetchParams:e.fetchParams,swapsFeatureIsLive:e.swapsFeatureIsLive,swapsQuoteRefreshTime:e.swapsQuoteRefreshTime,swapsQuotePrefetchingRefreshTime:e.swapsQuotePrefetchingRefreshTime,swapsFeatureFlags:e.swapsFeatureFlags}}),clearTimeout(this.pollingTimeout)}resetSwapsState(){const{swapsState:e}=this.store.getState();this.store.updateState({swapsState:{...C,swapsQuoteRefreshTime:e.swapsQuoteRefreshTime,swapsQuotePrefetchingRefreshTime:e.swapsQuotePrefetchingRefreshTime,swapsFeatureFlags:e.swapsFeatureFlags}}),clearTimeout(this.pollingTimeout)}async _findTopQuoteAndCalculateSavings(e={}){const{marketData:t}=this.getTokenRatesState(),n=this._getCurrentChainId(),r=t[n],{swapsState:{customGasPrice:i,customMaxPriorityFeePerGas:a}}=this.store.getState();if(!Object.keys(e).length)return{};const c=(0,o.cloneDeep)(e),{gasFeeEstimates:u,gasEstimateType:h}=await this._getEIP1559GasFeeEstimates();let f="0x0";if(h===d.GasEstimateTypes.feeMarket){const{high:{suggestedMaxPriorityFeePerGas:e},estimatedBaseFee:t}=u,n=(0,l.decGWEIToHexWEI)(e),r=new S.Numeric(t,10,k.EtherDenomination.GWEI).toDenomination(k.EtherDenomination.WEI);f=new S.Numeric(a||n,16).add(r).round(6).toString()}else h===d.GasEstimateTypes.legacy?f=i||(0,l.decGWEIToHexWEI)(u.high):h===d.GasEstimateTypes.ethGasPrice&&(f=i||(0,l.decGWEIToHexWEI)(u.gasPrice));let p=null,g=null;Object.values(c).forEach((e=>{var t;const{aggregator:i,approvalNeeded:a,averageGas:o,destinationAmount:c=0,destinationToken:u,destinationTokenInfo:h,gasEstimateWithRefund:d,sourceAmount:y,sourceToken:b,trade:w,fee:E,multiLayerL1TradeFeeTotal:A}=e,x=(d?new s.default(d,16):new s.default(o||T,10)).plus((null==a?void 0:a.gas)||"0x0",16).toString(16);let C=(0,v.calcGasTotal)(x,f);null!==A&&(C=(0,l.sumHexes)(C||"0x0",A||"0x0"));const P=new S.Numeric(C,16,k.EtherDenomination.WEI).add(new S.Numeric(w.value,16,k.EtherDenomination.WEI)),I=P.toDenomination(k.EtherDenomination.ETH).round(6).value,M=(0,m.isSwapsDefaultTokenAddress)(b,n)?P.minus(new S.Numeric(y,10)).toDenomination(k.EtherDenomination.ETH).round(6).value:I,O=(0,v.calcTokenAmount)(c,h.decimals),j=new s.default(100,10).minus(E,10).div(100),D=O.div(j).minus(O),L=null===(t=r[Object.keys(r).find((e=>(0,_.isEqualCaseInsensitive)(e,u)))])||void 0===t?void 0:t.price,N=L||1,R=O.times(N.toString(10),10),B=(0,m.isSwapsDefaultTokenAddress)(u,n)?1:L,F=B===undefined?R:R.minus(M,10);e.ethFee=M.toString(10),B!==undefined&&(e.ethValueOfTokens=R.toString(10),e.overallValueOfQuote=F.toString(10),e.metaMaskFeeInEth=D.times(B.toString(10)).toString(10)),(null===g||F.gt(g))&&(p=i,g=F)}));let y=null;if((0,m.isSwapsDefaultTokenAddress)(c[p].destinationToken,n)||Boolean(r[Object.keys(r).find((e=>{var t;return(0,_.isEqualCaseInsensitive)(e,null===(t=c[p])||void 0===t?void 0:t.destinationToken)}))])){const e=c[p];y={};const{ethFee:t,metaMaskFeeInEth:n,ethValueOfTokens:r}=P(Object.values(c));y.performance=new s.default(e.ethValueOfTokens,10).minus(r,10),y.fee=new s.default(t).minus(e.ethFee,10),y.metaMaskFee=e.metaMaskFeeInEth,y.total=y.performance.plus(y.fee).minus(y.metaMaskFee).toString(10),y.performance=y.performance.toString(10),y.fee=y.fee.toString(10),y.medianMetaMaskFee=n,c[p].isBestQuote=!0,c[p].savings=y}return[p,c]}async _getERC20Allowance(e,t,n){const r=new i.Contract(e,c.default,this.ethersProvider);return await r.allowance(t,h.SWAPS_CHAINID_CONTRACT_ADDRESS_MAP[n])}};n.utils={getMedianEthValueQuote:P,meansOfQuotesFeesAndValue:I}}}},{package:"$root$",file:"app/scripts/controllers/swaps.js"}],[42,{"./utils":45},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.getAnyCachedKey=function(e){const t=o(e).entries().next().value;if(!t)return undefined;const n=t[0];return{salt:(0,r.base64ToByteArray)(n),base64Salt:n,key:t[1]}},n.getCachedKeyBySalt=function(e,t){const n=o(e),i=(0,r.byteArrayToBase64)(t),s=n.get(i);if(!s)return undefined;return{salt:t,base64Salt:i,key:s}},n.setCachedKey=function(e,t,n){Object.keys(a).length>i&&(a={});const c=o(e),u=(0,r.byteArrayToBase64)(t);c.size>s&&c.clear();c.set(u,n)};var r=e("./utils");const i=3,s=10;let a={};const o=e=>{var t;return(t=a)[e]??(t[e]=new Map),a[e]}}}},{package:"$root$",file:"app/scripts/controllers/user-storage/encryption/cache.ts"}],[4259,{"readable-stream":4258},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.ReadableWebToNodeStream=void 0;const r=e("readable-stream");class i extends r.Readable{constructor(e){super(),this.bytesRead=0,this.released=!1,this.reader=e.getReader()}async _read(){if(this.released)return void this.push(null);this.pendingRead=this.reader.read();const e=await this.pendingRead;delete this.pendingRead,e.done||this.released?this.push(null):(this.bytesRead+=e.value.length,this.push(e.value))}async waitForReadToComplete(){this.pendingRead&&await this.pendingRead}async close(){await this.syncAndRelease()}async syncAndRelease(){this.released=!0,await this.waitForReadToComplete(),await this.reader.releaseLock()}}n.ReadableWebToNodeStream=i}}},{package:"@metamask/snaps-controllers>readable-web-to-node-stream",file:"node_modules/readable-web-to-node-stream/lib/index.js"}],[4267,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){(n=t.exports=function(e){return String(e).replace(n.expr,"")}).expr=/\/+$/}}},{package:"remove-trailing-slash",file:"node_modules/remove-trailing-slash/index.js"}],[4275,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){function r(e){if(Array.isArray(e)){const t=[];for(let n=0;ne.length)throw new Error("invalid RLP (safeSlice): end slice of Uint8Array out-of-bounds");return e.slice(t,n)}function s(e){if(0===e[0])throw new Error("invalid RLP: extra zeros");return h(l(e))}function a(e,t){if(e<56)return Uint8Array.from([e+t]);const n=g(e),r=g(t+55+n.length/2);return Uint8Array.from(d(r+n))}function o(e,t=!1){if(!e||0===e.length)return Uint8Array.from([]);const n=c(y(e));if(t)return n;if(0!==n.remainder.length)throw new Error("invalid RLP: remainder must be zero");return n.data}function c(e){let t,n,r,a,o;const u=[],l=e[0];if(l<=127)return{data:e.slice(0,1),remainder:e.slice(1)};if(l<=183){if(t=l-127,r=128===l?Uint8Array.from([]):i(e,1,t),2===t&&r[0]<128)throw new Error("invalid RLP encoding: invalid prefix, single byte < 0x80 are not prefixed");return{data:r,remainder:e.slice(t)}}if(l<=191){if(n=l-182,e.length-1e.length)throw new Error("invalid RLP: total length is larger than the data");for(a=i(e,n,r);a.length;)o=c(a),u.push(o.data),a=o.remainder;return{data:u,remainder:e.slice(r)}}}Object.defineProperty(n,"__esModule",{value:!0}),n.utils=n.decode=n.encode=void 0,n.encode=r,n.decode=o;const u=Array.from({length:256},((e,t)=>t.toString(16).padStart(2,"0")));function l(e){let t="";for(let n=0;ne+t.length),0),n=new Uint8Array(t);for(let t=0,r=0;t=2&&"0"===e[0]&&"x"===e[1]}function y(e){if(e instanceof Uint8Array)return e;if("string"==typeof e)return m(e)?d((t="string"!=typeof(n=e)?n:m(n)?n.slice(2):n).length%2?`0${t}`:t):p(e);var t,n;if("number"==typeof e||"bigint"==typeof e)return e?d(g(e)):Uint8Array.from([]);if(null===e||e===undefined)return Uint8Array.from([]);throw new Error("toBytes: received unsupported type "+typeof e)}n.utils={bytesToHex:l,concatBytes:f,hexToBytes:d,utf8ToBytes:p};const b={encode:r,decode:o};n.default=b}}},{package:"eth-lattice-keyring>rlp",file:"node_modules/rlp/dist/index.js"}],[43,{"./cache":42,"./utils":45,"@noble/ciphers/aes":2317,"@noble/ciphers/webcrypto":2320,"@noble/hashes/scrypt":2338,"@noble/hashes/sha256":2339,"@noble/hashes/utils":2342},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.createSHA256Hash=O,n.default=void 0;var r=e("@noble/hashes/scrypt"),i=e("@noble/hashes/sha256"),s=e("@noble/hashes/utils"),a=e("@noble/ciphers/aes"),o=e("@noble/ciphers/webcrypto"),c=e("./cache"),u=e("./utils");function l(e,t){d(e,t),t.add(e)}function h(e,t,n){d(e,t),t.set(e,n)}function d(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function f(e,t){var n=function(e,t,n){if(!t.has(e))throw new TypeError("attempted to "+n+" private field on non-instance");return t.get(e)}(e,t,"get");return function(e,t){if(t.get)return t.get.call(e);return t.value}(e,n)}function p(e,t,n){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return n}var g=new WeakMap,m=new WeakMap,y=new WeakMap,b=new WeakMap,w=new WeakMap,_=new WeakMap,v=new WeakSet,S=new WeakSet,k=new WeakSet,E=new WeakSet,T=new WeakSet;function A(e,t){const{key:n,salt:r}=p(this,T,I).call(this,t,{N:f(this,b),r:f(this,w),p:f(this,_),dkLen:f(this,m)}),i=(0,s.utf8ToBytes)(e),a=(0,s.concatBytes)(r,p(this,k,C).call(this,i,n)),o={v:"1",t:"scrypt",d:(0,u.byteArrayToBase64)(a),o:{N:f(this,b),r:f(this,w),p:f(this,_),dkLen:f(this,m)},saltLen:f(this,y)};return JSON.stringify(o)}function x(e,t){const{o:n,d:r,saltLen:i}=e,s=(0,u.base64ToByteArray)(r),a=s.slice(0,i),o=s.slice(i,s.length),{key:c}=p(this,T,I).call(this,t,{N:n.N,r:n.r,p:n.p,dkLen:n.dkLen},a);return(0,u.bytesToUtf8)(p(this,E,P).call(this,o,c))}function C(e,t){const n=(0,o.randomBytes)(f(this,g)),r=(0,a.gcm)(t,n).encrypt(e);return(0,s.concatBytes)(n,r)}function P(e,t){const n=e.slice(0,f(this,g)),r=e.slice(f(this,g),e.length);return(0,a.gcm)(t,n).decrypt(r)}function I(e,t,n){const i=O(e),s=n?(0,c.getCachedKeyBySalt)(i,n):(0,c.getAnyCachedKey)(i);if(s)return{key:s.key,salt:s.salt};const a=n??(0,o.randomBytes)(f(this,y)),u=(0,r.scrypt)(e,a,{N:t.N,r:t.r,p:t.p,dkLen:t.dkLen});return(0,c.setCachedKey)(i,a,u),{key:u,salt:a}}const M=new class{constructor(){l(this,T),l(this,E),l(this,k),l(this,S),l(this,v),h(this,g,{writable:!0,value:12}),h(this,m,{writable:!0,value:16}),h(this,y,{writable:!0,value:16}),h(this,b,{writable:!0,value:2**17}),h(this,w,{writable:!0,value:8}),h(this,_,{writable:!0,value:1})}encryptString(e,t){try{return p(this,v,A).call(this,e,t)}catch(e){const t=e instanceof Error?e.message:e;throw new Error(`Unable to encrypt string - ${t}`)}}decryptString(e,t){try{const n=JSON.parse(e);if("1"===n.v&&"scrypt"===n.t)return p(this,S,x).call(this,n,t);throw new Error(`Unsupported encrypted data payload - ${e}`)}catch(e){const t=e instanceof Error?e.message:e;throw new Error(`Unable to decrypt string - ${t}`)}}};n.default=M;function O(e){const t=(0,i.sha256)(e);return(0,s.bytesToHex)(t)}}}},{package:"$root$",file:"app/scripts/controllers/user-storage/encryption/encryption.ts"}],[4353,{events:3328,"fast-fifo":3358,"queue-tick":4063},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){const{EventEmitter:r}=e("events"),i=new Error("Stream was destroyed"),s=new Error("Premature close"),a=e("queue-tick"),o=e("fast-fifo"),c=134217727,u=1^c,l=2^c,h=64,d=128,f=256,p=1024,g=2048,m=4096,y=8192,b=16384,w=32768,_=16^c,v=768^c,S=134184959,k=32^c,E=2<<17,T=4<<17,A=8<<17,x=16<<17,C=32<<17,P=64<<17,I=128<<17,M=256<<17,O=512<<17,j=100532223,D=133693439,L=117440511,N=131088,R=134086639,B=4210688,F=14,K=15,U=4210702,q=16809984,H=16809999,W=1179648,$=1179663,z=Symbol.asyncIterator||Symbol("asyncIterator");class V{constructor(e,{highWaterMark:t=16384,map:n=null,mapWritable:r,byteLength:i,byteLengthWritable:s}={}){this.stream=e,this.queue=new o,this.highWaterMark=t,this.buffered=0,this.error=null,this.pipeline=null,this.drains=null,this.byteLength=s||i||pe,this.map=r||n,this.afterWrite=ee.bind(this),this.afterUpdateNextTick=re.bind(this)}get ended(){return!!(this.stream._duplexState&C)}push(e){return null!==this.map&&(e=this.map(e)),this.buffered+=this.byteLength(e),this.queue.push(e),this.buffered0;)t.push(this.shift());for(let e=0;e0;)r.drains.shift().resolve(!1);null!==r.pipeline&&r.pipeline.done(t,e)}}function ee(e){const t=this.stream;e&&t.destroy(e),t._duplexState&=j,null!==this.drains&&function(e){for(let t=0;t=e._readableState.highWaterMark}static isPaused(e){return!(e._duplexState&f)}[z](){const e=this;let t=null,n=null,r=null;return this.on("error",(e=>{t=e})),this.on("readable",(function(){null!==n&&s(e.read())})),this.on("close",(function(){null!==n&&s(null)})),{[z](){return this},next:()=>new Promise((function(t,i){n=t,r=i;const a=e.read();null!==a?s(a):8&e._duplexState&&s(null)})),return:()=>a(null),throw:e=>a(e)};function s(s){null!==r&&(t?r(t):null!==s||e._duplexState&b?n({value:s,done:null===s}):r(i),r=n=null)}function a(t){return e.destroy(t),new Promise(((n,r)=>{if(8&e._duplexState)return n({value:undefined,done:!0});e.once("close",(function(){t?r(t):n({value:undefined,done:!0})}))}))}}}class ce extends oe{constructor(e){super(e),this._duplexState=1,this._writableState=new V(this,e),e&&(e.writev&&(this._writev=e.writev),e.write&&(this._write=e.write),e.final&&(this._final=e.final))}_writev(e,t){t(null)}_write(e,t){this._writableState.autoBatch(e,t)}_final(e){e(null)}write(e){return this._writableState.updateNextTick(),this._writableState.push(e)}end(e){return this._writableState.updateNextTick(),this._writableState.end(e),this}}class ue extends ce{constructor(e){super(e),this._transformState=new Q(this),e&&(e.transform&&(this._transform=e.transform),e.flush&&(this._flush=e.flush))}_write(e,t){this._readableState.buffered>=this._readableState.highWaterMark?this._transformState.data=e:this._transform(e,this._transformState.afterTransform)}_read(e){if(null!==this._transformState.data){const t=this._transformState.data;this._transformState.data=null,e(null),this._transform(t,this._transformState.afterTransform)}else e(null)}_transform(e,t){t(null,e)}_flush(e){e(null)}_final(e){this._transformState.afterFinal=e,this._flush(le.bind(this))}}function le(e,t){const n=this._transformState.afterFinal;if(e)return n(e);null!==t&&t!==undefined&&this.push(t),this.push(null),n(null)}function he(e,...t){const n=Array.isArray(e)?[...e,...t]:[e,...t],r=n.length&&"function"==typeof n[n.length-1]?n.pop():null;if(n.length<2)throw new Error("Pipeline requires at least 2 streams");let i=n[0],a=null,o=null;for(let e=1;e1,u),i.pipe(a)),i=a;if(r){let e=!1;const t=fe(a)||!(!a._writableState||!a._writableState.autoDestroy);a.on("error",(e=>{null===o&&(o=e)})),a.on("finish",(()=>{e=!0,t||r(o)})),t&&a.on("close",(()=>r(o||(e?null:s))))}return a;function c(e,t,n,r){e.on("error",r),e.on("close",(function(){if(t&&e._readableState&&!e._readableState.ended)return r(s);if(n&&e._writableState&&!e._writableState.ended)return r(s)}))}function u(e){if(e&&!o){o=e;for(const t of n)t.destroy(e)}}}function de(e){return!!e._readableState||!!e._writableState}function fe(e){return"number"==typeof e._duplexState&&de(e)}function pe(e){return function(e){return"object"==typeof e&&null!==e&&"number"==typeof e.byteLength}(e)?e.byteLength:1024}function ge(){}function me(){this.destroy(new Error("Stream aborted."))}t.exports={pipeline:he,pipelinePromise:function(...e){return new Promise(((t,n)=>he(...e,(e=>{if(e)return n(e);t()}))))},isStream:de,isStreamx:fe,getStreamError:function(e){const t=e._readableState&&e._readableState.error||e._writableState&&e._writableState.error;return t===i?null:t},Stream:ae,Writable:class extends ae{constructor(e){super(e),this._duplexState|=16385,this._writableState=new V(this,e),e&&(e.writev&&(this._writev=e.writev),e.write&&(this._write=e.write),e.final&&(this._final=e.final),e.eagerOpen&&this._writableState.updateNextTick())}_writev(e,t){t(null)}_write(e,t){this._writableState.autoBatch(e,t)}_final(e){e(null)}static isBackpressured(e){return!!(73400334&e._duplexState)}static drained(e){if(e.destroyed)return Promise.resolve(!1);const t=e._writableState,n=t.queue.length+(e._duplexState&M?1:0);return 0===n?Promise.resolve(!0):(null===t.drains&&(t.drains=[]),new Promise((e=>{t.drains.push({writes:n,resolve:e})})))}write(e){return this._writableState.updateNextTick(),this._writableState.push(e)}end(e){return this._writableState.updateNextTick(),this._writableState.end(e),this}},Readable:oe,Duplex:ce,Transform:ue,PassThrough:class extends ue{}}}}},{package:"@metamask/snaps-controllers>tar-stream>streamx",file:"node_modules/streamx/index.js"}],[4359,{fs:2993},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){const r={S_IFMT:61440,S_IFDIR:16384,S_IFCHR:8192,S_IFBLK:24576,S_IFIFO:4096,S_IFLNK:40960};try{t.exports=e("fs").constants||r}catch{t.exports=r}}}},{package:"@metamask/snaps-controllers>tar-stream",file:"node_modules/tar-stream/constants.js"}],[4360,{"./headers":4361,b4a:2923,"fast-fifo":3358,streamx:4353},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){const{Writable:r,Readable:i,getStreamError:s}=e("streamx"),a=e("fast-fifo"),o=e("b4a"),c=e("./headers"),u=o.alloc(0);class l{constructor(){this.buffered=0,this.shifted=0,this.queue=new a,this._offset=0}push(e){this.buffered+=e.byteLength,this.queue.push(e)}shiftFirst(e){return 0===this._buffered?null:this._next(e)}shift(e){if(e>this.buffered)return null;if(0===e)return u;let t=this._next(e);if(e===t.byteLength)return t;const n=[t];for(;(e-=t.byteLength)>0;)t=this._next(e),n.push(t);return o.concat(n)}_next(e){const t=this.queue.peek(),n=t.byteLength-this._offset;if(e>=n){const e=this._offset?t.subarray(this._offset,t.byteLength):t;return this.queue.shift(),this._offset=0,this.buffered-=n,this.shifted+=n,e}return this.buffered-=e,this.shifted+=e,t.subarray(this._offset,this._offset+=e)}}class h extends i{constructor(e,t,n){super(),this.header=t,this.offset=n,this._parent=e}_read(e){0===this.header.size&&this.push(null),this._parent._stream===this&&this._parent._update(),e(null)}_predestroy(){this._parent.destroy(s(this))}_detach(){this._parent._stream===this&&(this._parent._stream=null,this._parent._missing=p(this.header.size),this._parent._update())}_destroy(e){this._detach(),e(null)}}class d extends r{constructor(e){super(e),e||(e={}),this._buffer=new l,this._offset=0,this._header=null,this._stream=null,this._missing=0,this._longHeader=!1,this._callback=f,this._locked=!1,this._finished=!1,this._pax=null,this._paxGlobal=null,this._gnuLongPath=null,this._gnuLongLinkPath=null,this._filenameEncoding=e.filenameEncoding||"utf-8",this._allowUnknownFormat=!!e.allowUnknownFormat,this._unlockBound=this._unlock.bind(this)}_unlock(e){if(this._locked=!1,e)return this.destroy(e),void this._continueWrite(e);this._update()}_consumeHeader(){if(this._locked)return!1;this._offset=this._buffer.shifted;try{this._header=c.decode(this._buffer.shift(512),this._filenameEncoding,this._allowUnknownFormat)}catch(e){return this._continueWrite(e),!1}if(!this._header)return!0;switch(this._header.type){case"gnu-long-path":case"gnu-long-link-path":case"pax-global-header":case"pax-header":return this._longHeader=!0,this._missing=this._header.size,!0}return this._locked=!0,this._applyLongHeaders(),0===this._header.size||"directory"===this._header.type?(this.emit("entry",this._header,this._createStream(),this._unlockBound),!0):(this._stream=this._createStream(),this._missing=this._header.size,this.emit("entry",this._header,this._stream,this._unlockBound),!0)}_applyLongHeaders(){this._gnuLongPath&&(this._header.name=this._gnuLongPath,this._gnuLongPath=null),this._gnuLongLinkPath&&(this._header.linkname=this._gnuLongLinkPath,this._gnuLongLinkPath=null),this._pax&&(this._pax.path&&(this._header.name=this._pax.path),this._pax.linkpath&&(this._header.linkname=this._pax.linkpath),this._pax.size&&(this._header.size=parseInt(this._pax.size,10)),this._header.pax=this._pax,this._pax=null)}_decodeLongHeader(e){switch(this._header.type){case"gnu-long-path":this._gnuLongPath=c.decodeLongPath(e,this._filenameEncoding);break;case"gnu-long-link-path":this._gnuLongLinkPath=c.decodeLongPath(e,this._filenameEncoding);break;case"pax-global-header":this._paxGlobal=c.decodePax(e);break;case"pax-header":this._pax=null===this._paxGlobal?c.decodePax(e):Object.assign({},this._paxGlobal,c.decodePax(e))}}_consumeLongHeader(){this._longHeader=!1,this._missing=p(this._header.size);const e=this._buffer.shift(this._header.size);try{this._decodeLongHeader(e)}catch(e){return this._continueWrite(e),!1}return!0}_consumeStream(){const e=this._buffer.shiftFirst(this._missing);if(null===e)return!1;this._missing-=e.byteLength;const t=this._stream.push(e);return 0===this._missing?(this._stream.push(null),t&&this._stream._detach(),t&&!1===this._locked):t}_createStream(){return new h(this,this._header,this._offset)}_update(){for(;this._buffer.buffered>0&&!this.destroying;)if(this._missing>0){if(null!==this._stream){if(!1===this._consumeStream())return;continue}if(!0===this._longHeader){if(this._missing>this._buffer.buffered)break;if(!1===this._consumeLongHeader())return!1;continue}const e=this._buffer.shiftFirst(this._missing);null!==e&&(this._missing-=e.byteLength)}else{if(this._buffer.buffered<512)break;if(null!==this._stream||!1===this._consumeHeader())return}this._continueWrite(null)}_continueWrite(e){const t=this._callback;this._callback=f,t(e)}_write(e,t){this._callback=t,this._buffer.push(e),this._update()}_final(e){this._finished=0===this._missing&&0===this._buffer.buffered,e(this._finished?null:new Error("Unexpected end of data"))}_predestroy(){this._continueWrite(null)}_destroy(e){this._stream&&this._stream.destroy(s(this)),e(null)}[Symbol.asyncIterator](){let e=null,t=null,n=null,r=null,i=null;const s=this;return this.on("entry",(function(e,s,a){i=a,s.on("error",f),t?(t({value:s,done:!1}),t=n=null):r=s})),this.on("error",(t=>{e=t})),this.on("close",(function(){if(a(e),!t)return;e?n(e):t({value:undefined,done:!0});t=n=null})),{[Symbol.asyncIterator](){return this},next:()=>new Promise(o),return:()=>c(null),throw:e=>c(e)};function a(e){if(!i)return;const t=i;i=null,t(e)}function o(i,o){return e?o(e):r?(i({value:r,done:!1}),void(r=null)):(t=i,n=o,a(null),void(s._finished&&t&&(t({value:undefined,done:!0}),t=n=null)))}function c(e){return s.destroy(e),a(e),new Promise(((t,n)=>{if(s.destroyed)return t({value:undefined,done:!0});s.once("close",(function(){e?n(e):t({value:undefined,done:!0})}))}))}}}function f(){}function p(e){return(e&=511)&&512-e}t.exports=function(e){return new d(e)}}}},{package:"@metamask/snaps-controllers>tar-stream",file:"node_modules/tar-stream/extract.js"}],[4361,{b4a:2923},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){const r=e("b4a"),i="0000000000000000000",s="7777777777777777777",a="0".charCodeAt(0),o=r.from([117,115,116,97,114,0]),c=r.from([a,a]),u=r.from([117,115,116,97,114,32]),l=r.from([32,0]),h=257,d=263;function f(e,t,n,r){for(;nt?s.slice(0,t)+" ":i.slice(0,t-e.length)+e+" "}function m(e,t,n){if(128&(e=e.subarray(t,t+n))[t=0])return function(e){let t;if(128===e[0])t=!0;else{if(255!==e[0])return null;t=!1}const n=[];let r;for(r=e.length-1;r>0;r--){const i=e[r];t?n.push(i):n.push(255-i)}let i=0;const s=n.length;for(r=0;r=s?s:i>=0||(i+=s)>=0?i:0);for(;t=Math.pow(10,n)&&n++,t+n+e}n.decodeLongPath=function(e,t){return y(e,0,e.length,t)},n.encodePax=function(e){let t="";e.name&&(t+=b(" path="+e.name+"\n")),e.linkname&&(t+=b(" linkpath="+e.linkname+"\n"));const n=e.pax;if(n)for(const e in n)t+=b(" "+e+"="+n[e]+"\n");return r.from(t)},n.decodePax=function(e){const t={};for(;e.length;){let n=0;for(;n100;){const e=n.indexOf("/");if(-1===e)return null;i+=i?"/"+n.slice(0,e):n.slice(0,e),n=n.slice(e+1)}return r.byteLength(n)>100||r.byteLength(i)>155||e.linkname&&r.byteLength(e.linkname)>100?null:(r.write(t,n),r.write(t,g(4095&e.mode,6),100),r.write(t,g(e.uid,6),108),r.write(t,g(e.gid,6),116),function(e,t,n){e.toString(8).length>11?function(e,t,n){t[n]=128;for(let r=11;r>0;r--)t[n+r]=255&e,e=Math.floor(e/256)}(e,t,n):r.write(t,g(e,11),n)}(e.size,t,124),r.write(t,g(e.mtime.getTime()/1e3|0,11),136),t[156]=a+function(e){switch(e){case"file":return 0;case"link":return 1;case"symlink":return 2;case"character-device":return 3;case"block-device":return 4;case"directory":return 5;case"fifo":return 6;case"contiguous-file":return 7;case"pax-header":return 72}return 0}(e.type),e.linkname&&r.write(t,e.linkname,157),r.copy(o,t,h),r.copy(c,t,263),e.uname&&r.write(t,e.uname,265),e.gname&&r.write(t,e.gname,297),r.write(t,g(e.devmajor||0,6),329),r.write(t,g(e.devminor||0,6),337),i&&r.write(t,i,345),r.write(t,g(p(t),6),148),t)},n.decode=function(e,t,n){let i=0===e[156]?0:e[156]-a,s=y(e,0,100,t);const c=m(e,100,8),f=m(e,108,8),g=m(e,116,8),b=m(e,124,12),w=m(e,136,12),_=function(e){switch(e){case 0:return"file";case 1:return"link";case 2:return"symlink";case 3:return"character-device";case 4:return"block-device";case 5:return"directory";case 6:return"fifo";case 7:return"contiguous-file";case 72:return"pax-header";case 55:return"pax-global-header";case 27:return"gnu-long-link-path";case 28:case 30:return"gnu-long-path"}return null}(i),v=0===e[157]?null:y(e,157,100,t),S=y(e,265,32),k=y(e,297,32),E=m(e,329,8),T=m(e,337,8),A=p(e);if(256===A)return null;if(A!==m(e,148,8))throw new Error("Invalid tar header. Maybe the tar is corrupted or it needs to be gunzipped?");if(function(e){return r.equals(o,e.subarray(h,263))}(e))e[345]&&(s=y(e,345,155,t)+"/"+s);else if(function(e){return r.equals(u,e.subarray(h,263))&&r.equals(l,e.subarray(d,265))}(e));else if(!n)throw new Error("Invalid tar header: unknown format.");return 0===i&&s&&"/"===s[s.length-1]&&(i=5),{name:s,mode:c,uid:f,gid:g,size:b,mtime:new Date(1e3*w),type:_,linkname:v,uname:S,gname:k,devmajor:E,devminor:T,pax:null}}}}},{package:"@metamask/snaps-controllers>tar-stream",file:"node_modules/tar-stream/headers.js"}],[4362,{"./extract":4360,"./pack":4363},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){n.extract=e("./extract"),n.pack=e("./pack")}}},{package:"@metamask/snaps-controllers>tar-stream",file:"node_modules/tar-stream/index.js"}],[4363,{"./constants":4359,"./headers":4361,b4a:2923,streamx:4353},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){const{Readable:r,Writable:i,getStreamError:s}=e("streamx"),a=e("b4a"),o=e("./constants"),c=e("./headers"),u=a.alloc(1024);class l extends i{constructor(e,t,n){super({mapWritable:p,eagerOpen:!0}),this.written=0,this.header=t,this._callback=n,this._linkname=null,this._isLinkname="symlink"===t.type&&!t.linkname,this._isVoid="file"!==t.type&&"contiguous-file"!==t.type,this._finished=!1,this._pack=e,this._openCallback=null,null===this._pack._stream?this._pack._stream=this:this._pack._pending.push(this)}_open(e){this._openCallback=e,this._pack._stream===this&&this._continueOpen()}_continuePack(e){if(null===this._callback)return;const t=this._callback;this._callback=null,t(e)}_continueOpen(){null===this._pack._stream&&(this._pack._stream=this);const e=this._openCallback;if(this._openCallback=null,null!==e){if(this._pack.destroying)return e(new Error("pack stream destroyed"));if(this._pack._finalized)return e(new Error("pack stream is already finalized"));this._pack._stream=this,this._isLinkname||this._pack._encode(this.header),this._isVoid&&(this._finish(),this._continuePack(null)),e(null)}}_write(e,t){return this._isLinkname?(this._linkname=this._linkname?a.concat([this._linkname,e]):e,t(null)):this._isVoid?e.byteLength>0?t(new Error("No body allowed for this entry")):t():(this.written+=e.byteLength,this._pack.push(e)?t():void(this._pack._drain=t))}_finish(){this._finished||(this._finished=!0,this._isLinkname&&(this.header.linkname=this._linkname?a.toString(this._linkname,"utf-8"):"",this._pack._encode(this.header)),f(this._pack,this.header.size),this._pack._done(this))}_final(e){if(this.written!==this.header.size)return e(new Error("Size mismatch"));this._finish(),e(null)}_getError(){return s(this)||new Error("tar entry destroyed")}_predestroy(){this._pack.destroy(this._getError())}_destroy(e){this._pack._done(this),this._continuePack(this._finished?null:this._getError()),e()}}class h extends r{constructor(e){super(e),this._drain=d,this._finalized=!1,this._finalizing=!1,this._pending=[],this._stream=null}entry(e,t,n){if(this._finalized||this.destroying)throw new Error("already finalized or destroyed");"function"==typeof t&&(n=t,t=null),n||(n=d),e.size&&"symlink"!==e.type||(e.size=0),e.type||(e.type=function(e){switch(e&o.S_IFMT){case o.S_IFBLK:return"block-device";case o.S_IFCHR:return"character-device";case o.S_IFDIR:return"directory";case o.S_IFIFO:return"fifo";case o.S_IFLNK:return"symlink"}return"file"}(e.mode)),e.mode||(e.mode="directory"===e.type?493:420),e.uid||(e.uid=0),e.gid||(e.gid=0),e.mtime||(e.mtime=new Date),"string"==typeof t&&(t=a.from(t));const r=new l(this,e,n);return a.isBuffer(t)?(e.size=t.byteLength,r.write(t),r.end(),r):(r._isVoid,r)}finalize(){this._stream||this._pending.length>0?this._finalizing=!0:this._finalized||(this._finalized=!0,this.push(u),this.push(null))}_done(e){e===this._stream&&(this._stream=null,this._finalizing&&this.finalize(),this._pending.length&&this._pending.shift()._continueOpen())}_encode(e){if(!e.pax){const t=c.encode(e);if(t)return void this.push(t)}this._encodePax(e)}_encodePax(e){const t=c.encodePax({name:e.name,linkname:e.linkname,pax:e.pax}),n={name:"PaxHeader",mode:e.mode,uid:e.uid,gid:e.gid,size:t.byteLength,mtime:e.mtime,type:"pax-header",linkname:e.linkname&&"PaxHeader",uname:e.uname,gname:e.gname,devmajor:e.devmajor,devminor:e.devminor};this.push(c.encode(n)),this.push(t),f(this,t.byteLength),n.size=e.size,n.type=e.type,this.push(c.encode(n))}_doDrain(){const e=this._drain;this._drain=d,e()}_predestroy(){const e=s(this);for(this._stream&&this._stream.destroy(e);this._pending.length;){const t=this._pending.shift();t.destroy(e),t._continueOpen()}this._doDrain()}_read(e){this._doDrain(),e()}}function d(){}function f(e,t){(t&=511)&&e.push(u.subarray(0,512-t))}function p(e){return a.isBuffer(e)?e:a.from(e)}t.exports=function(e){return new h(e)}}}},{package:"@metamask/snaps-controllers>tar-stream",file:"node_modules/tar-stream/pack.js"}],[4364,{_process:3992,stream:4348},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){(function(n){(function(){var r=e("stream");function i(e,t,i){e=e||function(e){this.queue(e)},t=t||function(){this.queue(null)};var s=!1,a=!1,o=[],c=!1,u=new r;function l(){for(;o.length&&!u.paused;){var e=o.shift();if(null===e)return u.emit("end");u.emit("data",e)}}return u.readable=u.writable=!0,u.paused=!1,u.autoDestroy=!(i&&!1===i.autoDestroy),u.write=function(t){return e.call(this,t),!u.paused},u.queue=u.push=function(e){return c||(null===e&&(c=!0),o.push(e),l()),u},u.on("end",(function(){u.readable=!1,!u.writable&&u.autoDestroy&&n.nextTick((function(){u.destroy()}))})),u.end=function(e){if(!s)return s=!0,arguments.length&&u.write(e),u.writable=!1,t.call(u),!u.readable&&u.autoDestroy&&u.destroy(),u},u.destroy=function(){if(!a)return a=!0,s=!0,o.length=0,u.writable=u.readable=!1,u.emit("close"),u},u.pause=function(){if(!u.paused)return u.paused=!0,u},u.resume=function(){return u.paused&&(u.paused=!1,u.emit("resume")),l(),u.paused||u.emit("drain"),u},u}t.exports=i,i.through=i}).call(this)}).call(this,e("_process"))}}},{package:"debounce-stream>through",file:"node_modules/through/index.js"}],[4368,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){t.exports=function(e){if(e instanceof Int8Array||e instanceof Uint8Array||e instanceof Uint8ClampedArray)return new DataView(e.buffer,e.byteOffset,e.byteLength);if(e instanceof ArrayBuffer)return new DataView(e);throw new TypeError("Expected `data` to be an ArrayBuffer, Buffer, Int8Array, Uint8Array or Uint8ClampedArray")}}}},{package:"base32-encode>to-data-view",file:"node_modules/to-data-view/index.js"}],[4381,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r,i,s,a=void 0,o=(r=Object.prototype.toString,i=Object.prototype.hasOwnProperty,{Class:function(e){return r.call(e).replace(/^\[object *|\]$/g,"")},HasProperty:function(e,t){return t in e},HasOwnProperty:function(e,t){return i.call(e,t)},IsCallable:function(e){return"function"==typeof e},ToInt32:function(e){return 0|e},ToUint32:function(e){return e>>>0}}),c=Math.LN2,u=Math.abs,l=Math.floor,h=Math.log,d=Math.min,f=Math.pow,p=Math.round;function g(e){if(m&&s){var t,n=m(e);for(t=0;t>n}function b(e,t){var n=32-t;return e<>>n}function w(e){return[255&e]}function _(e){return y(e[0],8)}function v(e){return[255&e]}function S(e){return b(e[0],8)}function k(e){return[(e=p(Number(e)))<0?0:e>255?255:255&e]}function E(e){return[e>>8&255,255&e]}function T(e){return y(e[0]<<8|e[1],16)}function A(e){return[e>>8&255,255&e]}function x(e){return b(e[0]<<8|e[1],16)}function C(e){return[e>>24&255,e>>16&255,e>>8&255,255&e]}function P(e){return y(e[0]<<24|e[1]<<16|e[2]<<8|e[3],32)}function I(e){return[e>>24&255,e>>16&255,e>>8&255,255&e]}function M(e){return b(e[0]<<24|e[1]<<16|e[2]<<8|e[3],32)}function O(e,t,n){var r,i,s,a,o,p,g,m=(1<.5||t%2?t+1:t}for(e!=e?(i=(1<=f(2,1-m)?(i=d(l(h(e)/c),1023),(s=y(e/f(2,i)*f(2,n)))/f(2,n)>=2&&(i+=1,s=1),i>m?(i=(1<>=1;return h.reverse(),a=h.join(""),o=(1<0?c*f(2,u-o)*(1+l/f(2,n)):0!==l?c*f(2,-(o-1))*(l/f(2,n)):c<0?-0:0}function D(e){return j(e,11,52)}function L(e){return O(e,11,52)}function N(e){return j(e,8,23)}function R(e){return O(e,8,23)}!function(){var e=function(e){if((e=o.ToInt32(e))<0)throw new RangeError("ArrayBuffer size is not a small enough positive integer");var t;for(this.byteLength=e,this._bytes=[],this._bytes.length=e,t=0;tthis.buffer.byteLength)throw new RangeError("byteOffset out of range");if(this.byteOffset%this.BYTES_PER_ELEMENT)throw new RangeError("ArrayBuffer length minus the byteOffset is not a multiple of the element size.");if(arguments.length<3){if(this.byteLength=this.buffer.byteLength-this.byteOffset,this.byteLength%this.BYTES_PER_ELEMENT)throw new RangeError("length of buffer minus byteOffset not a multiple of the element size");this.length=this.byteLength/this.BYTES_PER_ELEMENT}else this.length=o.ToUint32(r),this.byteLength=this.length*this.BYTES_PER_ELEMENT;if(this.byteOffset+this.byteLength>this.buffer.byteLength)throw new RangeError("byteOffset and length reference an area beyond the end of the buffer")}else for(a=arguments[0],this.length=o.ToUint32(a.length),this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new e(this.byteLength),this.byteOffset=0,u=0;u1e5)throw new RangeError("Array too large for polyfill");var t;for(t=0;t=this.length)return a;var t,n,r=[];for(t=0,n=this.byteOffset+e*this.BYTES_PER_ELEMENT;t=this.length)return a;var n,r,i=this._pack(t);for(n=0,r=this.byteOffset+e*this.BYTES_PER_ELEMENT;nthis.length)throw new RangeError("Offset plus length of array is out of range");if(l=this.byteOffset+i*this.BYTES_PER_ELEMENT,h=n.length*this.BYTES_PER_ELEMENT,n.buffer===this.buffer){for(d=[],a=0,c=n.byteOffset;athis.length)throw new RangeError("Offset plus length of array is out of range");for(a=0;an?n:e}e=o.ToInt32(e),t=o.ToInt32(t),arguments.length<1&&(e=0),arguments.length<2&&(t=this.length),e<0&&(e=this.length+e),t<0&&(t=this.length+t),e=n(e,0,this.length);var r=(t=n(t,0,this.length))-e;return r<0&&(r=0),new this.constructor(this.buffer,this.byteOffset+e*this.BYTES_PER_ELEMENT,r)},c}var i=r(1,w,_),c=r(1,v,S),u=r(1,k,S),l=r(2,E,T),h=r(2,A,x),d=r(4,C,P),f=r(4,I,M),p=r(4,R,N),m=r(8,L,D);n.Int8Array=n.Int8Array||i,n.Uint8Array=n.Uint8Array||c,n.Uint8ClampedArray=n.Uint8ClampedArray||u,n.Int16Array=n.Int16Array||l,n.Uint16Array=n.Uint16Array||h,n.Int32Array=n.Int32Array||d,n.Uint32Array=n.Uint32Array||f,n.Float32Array=n.Float32Array||p,n.Float64Array=n.Float64Array||m}(),function(){function e(e,t){return o.IsCallable(e.get)?e.get(t):e[t]}var t,r=(t=new n.Uint16Array([4660]),18===e(new n.Uint8Array(t.buffer),0)),i=function(e,t,r){if(0===arguments.length)e=new n.ArrayBuffer(0);else if(!(e instanceof n.ArrayBuffer||"ArrayBuffer"===o.Class(e)))throw new TypeError("TypeError");if(this.buffer=e||new n.ArrayBuffer(0),this.byteOffset=o.ToUint32(t),this.byteOffset>this.buffer.byteLength)throw new RangeError("byteOffset out of range");if(this.byteLength=arguments.length<3?this.buffer.byteLength-this.byteOffset:o.ToUint32(r),this.byteOffset+this.byteLength>this.buffer.byteLength)throw new RangeError("byteOffset and length reference an area beyond the end of the buffer");g(this)};function s(t){return function(i,s){if((i=o.ToUint32(i))+t.BYTES_PER_ELEMENT>this.byteLength)throw new RangeError("Array index out of range");i+=this.byteOffset;var a,c=new n.Uint8Array(this.buffer,i,t.BYTES_PER_ELEMENT),u=[];for(a=0;athis.byteLength)throw new RangeError("Array index out of range");var c,u=new t([s]),l=new n.Uint8Array(u.buffer),h=[];for(c=0;cconcat-stream>typedarray",file:"node_modules/typedarray/index.js"}],[4383,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){t.exports=function(e,t){t||(t=e.reduce(((e,t)=>e+t.length),0));const n=new Uint8Array(t);let r=0;for(const t of e)n.set(t,r),r+=t.length;return n}}}},{package:"@ensdomains/content-hash>cids>uint8arrays",file:"node_modules/uint8arrays/concat.js"}],[4384,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){t.exports=function(e,t){if(e===t)return!0;if(e.byteLength!==t.byteLength)return!1;for(let n=0;ncids>uint8arrays",file:"node_modules/uint8arrays/equals.js"}],[4385,{multibase:3886},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){const{encoding:r}=e("multibase"),i=new TextEncoder;t.exports=function(e,t="utf8"){return"utf8"===t||"utf-8"===t?i.encode(e):"ascii"===t?function(e){const t=new Uint8Array(e.length);for(let n=0;ncids>uint8arrays",file:"node_modules/uint8arrays/from-string.js"}],[4386,{multibase:3886},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){const{encoding:r}=e("multibase"),i=new TextDecoder("utf8");t.exports=function(e,t="utf8"){return"utf8"===t||"utf-8"===t?i.decode(e):"ascii"===t?function(e){let t="";for(let n=0;ncids>uint8arrays",file:"node_modules/uint8arrays/to-string.js"}],[44,{"./encryption":43},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var r={};n.default=void 0;var i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=s(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var o=i?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(r,a,o):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(e("./encryption"));function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(s=function(e){return e?n:t})(e)}Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||e in n&&n[e]===i[e]||Object.defineProperty(n,e,{enumerable:!0,get:function(){return i[e]}}))}));n.default=i.default}}},{package:"$root$",file:"app/scripts/controllers/user-storage/encryption/index.ts"}],[4443,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){t.exports=function e(t,n){var s,a=0,o=0,c=n=n||0,u=t.length;do{if(c>=u||o>49)throw e.bytes=0,new RangeError("Could not decode varint");s=t[c++],a+=o<28?(s&i)<=r);return e.bytes=c-n,a};var r=128,i=127}}},{package:"sass-embedded>varint",file:"node_modules/varint/decode.js"}],[4444,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){t.exports=function e(t,n,a){if(Number.MAX_SAFE_INTEGER&&t>Number.MAX_SAFE_INTEGER)throw e.bytes=0,new RangeError("Could not encode varint");n=n||[];var o=a=a||0;for(;t>=s;)n[a++]=255&t|r,t/=128;for(;t&i;)n[a++]=255&t|r,t>>>=7;return n[a]=0|t,e.bytes=a-o+1,n};var r=128,i=-128,s=Math.pow(2,31)}}},{package:"sass-embedded>varint",file:"node_modules/varint/encode.js"}],[4445,{"./decode.js":4443,"./encode.js":4444,"./length.js":4446},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){t.exports={encode:e("./encode.js"),decode:e("./decode.js"),encodingLength:e("./length.js")}}}},{package:"sass-embedded>varint",file:"node_modules/varint/index.js"}],[4446,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r=Math.pow(2,7),i=Math.pow(2,14),s=Math.pow(2,21),a=Math.pow(2,28),o=Math.pow(2,35),c=Math.pow(2,42),u=Math.pow(2,49),l=Math.pow(2,56),h=Math.pow(2,63);t.exports=function(e){return evarint",file:"node_modules/varint/length.js"}],[4454,{util:4423},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){n.TextEncoder="undefined"!=typeof TextEncoder?TextEncoder:e("util").TextEncoder,n.TextDecoder="undefined"!=typeof TextDecoder?TextDecoder:e("util").TextDecoder}}},{package:"@ensdomains/content-hash>multihashes>web-encoding",file:"node_modules/web-encoding/src/lib.js"}],[4491,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.METAMETRICS_FINALIZE_EVENT_FRAGMENT_ALARM=n.AUTO_LOCK_TIMEOUT_ALARM=void 0;n.AUTO_LOCK_TIMEOUT_ALARM="AUTO_LOCK_TIMEOUT_ALARM",n.METAMETRICS_FINALIZE_EVENT_FRAGMENT_ALARM="METAMETRICS_FINALIZE_EVENT_FRAGMENT_ALARM"}}},{package:"$root$",file:"shared/constants/alarms.js"}],[4498,{"@metamask/keyring-api":1444},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.ETH_EOA_METHODS=n.ETH_4337_METHODS=void 0;var r=e("@metamask/keyring-api");n.ETH_EOA_METHODS=[r.EthMethod.PersonalSign,r.EthMethod.Sign,r.EthMethod.SignTransaction,r.EthMethod.SignTypedDataV1,r.EthMethod.SignTypedDataV3,r.EthMethod.SignTypedDataV4],n.ETH_4337_METHODS=[r.EthMethod.PrepareUserOperation,r.EthMethod.PatchUserOperation,r.EthMethod.SignUserOperation]}}},{package:"$root$",file:"shared/constants/eth-methods.ts"}],[45,{buffer:3028},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){(function(e){(function(){Object.defineProperty(n,"__esModule",{value:!0}),n.base64ToByteArray=function(t){return new Uint8Array(e.from(t,"base64"))},n.byteArrayToBase64=function(t){return e.from(t).toString("base64")},n.bytesToUtf8=function(e){return new TextDecoder("utf-8").decode(e)}}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"$root$",file:"app/scripts/controllers/user-storage/encryption/utils.ts"}],[4504,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.LOG_EVENT=void 0;n.LOG_EVENT={VERSION_UPDATE:"Extension version update"}}}},{package:"$root$",file:"shared/constants/logs.ts"}],[4506,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.methodsWithConfirmation=n.methodsRequiringNetworkSwitch=void 0;const r=n.methodsRequiringNetworkSwitch=["eth_sendTransaction","eth_sendRawTransaction","wallet_switchEthereumChain","wallet_addEthereumChain","wallet_watchAsset","eth_signTypedData","eth_signTypedData_v3","eth_signTypedData_v4","personal_sign"];n.methodsWithConfirmation=[...r,"wallet_requestPermissions","wallet_requestSnaps","eth_decrypt","eth_sign","eth_requestAccounts","eth_getEncryptionPublicKey"]}}},{package:"$root$",file:"shared/constants/methods-tags.ts"}],[4522,{"./first-party-contracts":4499},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.getExperience=n.TX_SIG_LEN=n.TRUSTED_SIGNERS=n.EXPERIENCES_TO_VERIFY=void 0;var r=e("./first-party-contracts");n.TX_SIG_LEN=130,n.EXPERIENCES_TO_VERIFY=[r.EXPERIENCES_TYPE.METAMASK_BRIDGE],n.TRUSTED_SIGNERS={[r.EXPERIENCES_TYPE.METAMASK_BRIDGE]:"0x533FbF047Ed13C20e263e2576e41c747206d1348"};n.getExperience=(e,t)=>{var n;return null===(n=Object.entries(r.FIRST_PARTY_CONTRACT_NAMES).find((([,n])=>{var r;return(null===(r=n[t])||void 0===r?void 0:r.toLowerCase())===e.toLowerCase()})))||void 0===n?void 0:n[0]}}}},{package:"$root$",file:"shared/constants/verification.ts"}],[4546,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.getSmartTransactionMetricsProperties=void 0;n.getSmartTransactionMetricsProperties=(e,t)=>{const n=e.getIsSmartTransaction(),r={is_smart_transaction:n};if(!n)return r;const i=e.getSmartTransactionByMinedTxHash(t.hash),s=null==i?void 0:i.statusMetadata;return s?(r.smart_transaction_duplicated=s.duplicated,r.smart_transaction_timed_out=s.timedOut,r.smart_transaction_proxied=s.proxied,r):r}}}},{package:"$root$",file:"shared/modules/metametrics.ts"}],[4563,{"../../shared/constants/network":4507,"../../shared/constants/onboarding":4510,"@metamask/network-controller":1555},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){const{NetworkStatus:r}=e("@metamask/network-controller"),{CHAIN_IDS:i}=e("../../shared/constants/network"),{FirstTimeFlowType:s}=e("../../shared/constants/onboarding");t.exports={defaultFixture:function(e=i.LOCALHOST){return{data:{AuthenticationController:{isSignedIn:!0},UserStorageController:{isProfileSyncingEnabled:!0},MetamaskNotificationsController:{subscriptionAccountsSeen:[],isFeatureAnnouncementsEnabled:!1,isMetamaskNotificationsEnabled:!1,isMetamaskNotificationsFeatureSeen:!1,metamaskNotificationsList:[],metamaskNotificationsReadList:[]},AccountsController:{internalAccounts:{selectedAccount:"d5e45e4a-3b04-4a09-a5e1-39762e5c6be4",accounts:{"d5e45e4a-3b04-4a09-a5e1-39762e5c6be4":{id:"d5e45e4a-3b04-4a09-a5e1-39762e5c6be4",address:"0x5cfe73b6021e818b776b421b1c4db2474086a7e1",metadata:{name:"Account 1",lastSelected:16655076e5,keyring:{type:"HD Key Tree"}},options:{},methods:["personal_sign","eth_sign","eth_signTransaction","eth_signTypedData_v1","eth_signTypedData_v3","eth_signTypedData_v4"],type:"eip155:eoa"}}}},AlertController:{alertEnabledness:{unconnectedAccount:!0,web3ShimUsage:!0},unconnectedAccountAlertShownOrigins:{},web3ShimUsageOrigins:{}},AnnouncementController:{announcements:{8:{date:"2021-11-01",id:8,isShown:!1}}},NetworkOrderController:{orderedNetworkList:[{networkId:"0x1",networkRpcUrl:"https://mainnet.infura.io/v3/00000000000000000000000000000000"},{networkId:"0xe708",networkRpcUrl:"https://linea-mainnet.infura.io/v3/00000000000000000000000000000000"},{networkId:"0x539",networkRpcUrl:"http://localhost:8545"}]},AccountOrderController:{pinnedAccountList:[],hiddenAccountList:[]},AppStateController:{browserEnvironment:{},nftsDropdownState:{},connectedStatusPopoverHasBeenShown:!0,termsOfUseLastAgreed:"__FIXTURE_SUBSTITUTION__currentDateInMilliseconds",defaultHomeActiveTabName:null,fullScreenGasPollTokens:[],notificationGasPollTokens:[],popupGasPollTokens:[],qrHardware:{},recoveryPhraseReminderHasBeenShown:!0,recoveryPhraseReminderLastShown:"__FIXTURE_SUBSTITUTION__currentDateInMilliseconds",showTestnetMessageInDropdown:!0,trezorModel:null,newPrivacyPolicyToastClickedOrClosed:!0,newPrivacyPolicyToastShownDate:Date.now(),usedNetworks:{[i.MAINNET]:!0,[i.LINEA_MAINNET]:!0,[i.GOERLI]:!0,[i.LOCALHOST]:!0},snapsInstallPrivacyWarningShown:!0},CurrencyController:{currentCurrency:"usd",currencyRates:{ETH:{conversionDate:1665507600,conversionRate:1700,usdConversionRate:1700}}},GasFeeController:{estimatedGasFeeTimeBounds:{},gasEstimateType:"none",gasFeeEstimates:{}},KeyringController:{vault:'{"data":"WHaP1FrrtV4zUonudIppDifsLHF39g6oPkVksAIdWAHBRzax1uy1asfAJprR7u72t4/HuYz5yPIFQrnNnv+hwQu9GRuty88VKMnvMy+sq8MNtoXI+C54bZpWa8r4iUQfa0Mj/cfJbpFpzOdF1ZYXahTfTcU5WsrHwvJew842CiJR4B2jmCHHXfm/DxLK3WazsVQwXJGx/U71UelGoOOrT8NI28EKrAwgPn+7Xmv0j92gmhau30N7Bo2fr6Zv","iv":"LfD8/tY1EjXzxuemSmDVdA==","keyMetadata":{"algorithm":"PBKDF2","params":{"iterations":600000}},"salt":"nk4xdpmMR+1s5BYe4Vnk++XAQwrISI2bCtbMg7V1wUA="}'},MetaMetricsController:{eventsBeforeMetricsOptIn:[],fragments:{},metaMetricsId:null,participateInMetaMetrics:!1,traits:{},dataCollectionForMarketing:!1},NetworkController:{selectedNetworkClientId:"networkConfigurationId",networksMetadata:{networkConfigurationId:{EIPS:{},status:r.Available}},providerConfig:{chainId:e,nickname:"Localhost 8545",rpcPrefs:{},rpcUrl:"http://localhost:8545",ticker:"ETH",type:"rpc",id:"networkConfigurationId"},networkConfigurations:{networkConfigurationId:{chainId:e,nickname:"Localhost 8545",rpcPrefs:{},rpcUrl:"http://localhost:8545",ticker:"ETH",networkConfigurationId:"networkConfigurationId"}}},OnboardingController:{completedOnboarding:!0,firstTimeFlowType:s.import,onboardingTabs:{},seedPhraseBackedUp:!0},PermissionController:{subjects:{}},PreferencesController:{advancedGasFee:null,currentLocale:"en",useExternalServices:!0,dismissSeedBackUpReminder:!0,featureFlags:{},forgottenPassword:!1,identities:{"0x5cfe73b6021e818b776b421b1c4db2474086a7e1":{address:"0x5cfe73b6021e818b776b421b1c4db2474086a7e1",lastSelected:16655076e5,name:"Account 1"}},ipfsGateway:"dweb.link",knownMethodData:{},ledgerTransportType:"webhid",lostIdentities:{},openSeaEnabled:!1,preferences:{hideZeroBalanceTokens:!1,showExtensionInFullSizeView:!1,showFiatInTestnets:!1,showTestNetworks:!1,smartTransactionsOptInStatus:!1,useNativeCurrencyAsPrimaryCurrency:!0,petnamesEnabled:!0,showTokenAutodetectModal:!1},selectedAddress:"0x5cfe73b6021e818b776b421b1c4db2474086a7e1",theme:"light",useBlockie:!1,useNftDetection:!1,useNonceField:!1,usePhishDetect:!0,useTokenDetection:!1,useCurrencyRateCheck:!0,useMultiAccountBalanceChecker:!0,useRequestQueue:!0},QueuedRequestController:{queuedRequestCount:0},SelectedNetworkController:{domains:{}},SmartTransactionsController:{smartTransactionsState:{fees:{},liveness:!0,smartTransactions:{[i.MAINNET]:[]}}},SubjectMetadataController:{subjectMetadata:{"https://metamask.github.io":{extensionId:null,iconUrl:null,name:"MetaMask < = > Ledger Bridge",origin:"https://metamask.github.io",subjectType:"website"}}},TokensController:{allDetectedTokens:{},allIgnoredTokens:{},allTokens:{},detectedTokens:[],ignoredTokens:[],tokens:[]},TransactionController:{transactions:{}},config:{},firstTimeInfo:{date:16655076e5,version:"10.21.0"}}}},FIXTURE_STATE_METADATA_VERSION:74,E2E_SRP:"spread raise short crane omit tent fringe mandate neglect detail suspect cradle"}}}},{package:"$root$",file:"test/e2e/default-fixture.js"}],[46,{"./encryption":44},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.USER_STORAGE_ENTRIES=void 0,n.createEntryPath=function(e,t){const n=i[e];if(!n)throw new Error(`user-storage - invalid entry provided: ${e}`);const s=(0,r.createSHA256Hash)(n.entryName+t);return`/${n.path}/${s}`};var r=e("./encryption");const i=n.USER_STORAGE_ENTRIES={notification_settings:{path:"notifications",entryName:"notification_settings"}}}}},{package:"$root$",file:"app/scripts/controllers/user-storage/schema.ts"}],[47,{"./encryption":44,"./schema":46,loglevel:3842},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.USER_STORAGE_ENDPOINT=n.USER_STORAGE_API=void 0,n.getUserStorage=async function(e){try{const t=(0,s.createEntryPath)(e.entryKey,e.storageKey),n=new URL(`${c}${t}`),r=await fetch(n.toString(),{headers:{"Content-Type":"application/json",Authorization:`Bearer ${e.bearerToken}`}});if(404===r.status)return null;if(200!==r.status)throw new Error("Unable to get User Storage");const a=await r.json(),o=(null==a?void 0:a.Data)??null;if(!o)return null;return i.default.decryptString(o,e.storageKey)}catch(e){return r.default.error("Failed to get user storage",e),null}},n.upsertUserStorage=async function(e,t){const n=i.default.encryptString(e,t.storageKey),r=(0,s.createEntryPath)(t.entryKey,t.storageKey),a=new URL(`${c}${r}`);if(!(await fetch(a.toString(),{method:"PUT",headers:{"Content-Type":"application/json",Authorization:`Bearer ${t.bearerToken}`},body:JSON.stringify({data:n})})).ok)throw new Error("user-storage - unable to upsert data")};var r=a(e("loglevel")),i=a(e("./encryption")),s=e("./schema");function a(e){return e&&e.__esModule?e:{default:e}}const o=n.USER_STORAGE_API="https://user-storage.api.cx.metamask.io",c=n.USER_STORAGE_ENDPOINT=`${o}/api/v1/userstorage`}}},{package:"$root$",file:"app/scripts/controllers/user-storage/services.ts"}],[48,{"../authentication/auth-snap-requests":11,"./encryption":44,"./services":47,"@metamask/base-controller":1154},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r=e("@metamask/base-controller"),i=e("../authentication/auth-snap-requests"),s=e("./services"),a=e("./encryption");function o(e,t){l(e,t),t.add(e)}function c(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(e,t,n){l(e,t),t.set(e,n)}function l(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function h(e,t,n){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return n}function d(e,t){return function(e,t){if(t.get)return t.get.call(e);return t.value}(e,p(e,t,"get"))}function f(e,t,n){return function(e,t,n){if(t.set)t.set.call(e,n);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=n}}(e,p(e,t,"set"),n),n}function p(e,t,n){if(!t.has(e))throw new TypeError("attempted to "+n+" private field on non-instance");return t.get(e)}const g="UserStorageController",m={isProfileSyncingEnabled:!0,isProfileSyncingUpdateLoading:!1},y={isProfileSyncingEnabled:{persist:!0,anonymous:!0},isProfileSyncingUpdateLoading:{persist:!1,anonymous:!1}};var b=new WeakMap,w=new WeakMap,_=new WeakMap,v=new WeakMap,S=new WeakSet,k=new WeakSet,E=new WeakSet,T=new WeakSet,A=new WeakMap,x=new WeakSet,C=new WeakSet;class P extends r.BaseController{constructor(e){super({messenger:e.messenger,metadata:y,name:g,state:{...m,...e.state}}),o(this,C),o(this,x),o(this,T),o(this,E),o(this,k),o(this,S),u(this,b,{writable:!0,value:{getBearerToken:async()=>await this.messagingSystem.call("AuthenticationController:getBearerToken"),getProfileId:async()=>{const e=await this.messagingSystem.call("AuthenticationController:getSessionProfile");return null==e?void 0:e.profileId},isAuthEnabled:()=>this.messagingSystem.call("AuthenticationController:isSignedIn"),signIn:async()=>await this.messagingSystem.call("AuthenticationController:performSignIn"),signOut:async()=>await this.messagingSystem.call("AuthenticationController:performSignOut")}}),u(this,w,{writable:!0,value:{disableMetamaskNotifications:async()=>await this.messagingSystem.call("MetamaskNotificationsController:disableMetamaskNotifications"),selectIsMetamaskNotificationsEnabled:async()=>await this.messagingSystem.call("MetamaskNotificationsController:selectIsMetamaskNotificationsEnabled")}}),u(this,_,{writable:!0,value:!1}),u(this,v,{writable:!0,value:{setupLockedStateSubscriptions:()=>{const{isUnlocked:e}=this.messagingSystem.call("KeyringController:getState");f(this,_,e),this.messagingSystem.subscribe("KeyringController:unlock",(()=>{f(this,_,!0)})),this.messagingSystem.subscribe("KeyringController:lock",(()=>{f(this,_,!1)}))}}}),c(this,"getMetaMetricsState",void 0),u(this,A,{writable:!0,value:{}}),this.getMetaMetricsState=e.getMetaMetricsState,d(this,v).setupLockedStateSubscriptions(),h(this,S,I).call(this)}async enableProfileSyncing(){try{h(this,C,L).call(this,!0);d(this,b).isAuthEnabled()||await d(this,b).signIn(),this.update((e=>{e.isProfileSyncingEnabled=!0})),h(this,C,L).call(this,!1)}catch(e){h(this,C,L).call(this,!1);const t=e instanceof Error?e.message:e;throw new Error(`${g} - failed to enable profile syncing - ${t}`)}}async setIsProfileSyncingEnabled(e){this.update((t=>{t.isProfileSyncingEnabled=e}))}async disableProfileSyncing(){if(!!this.state.isProfileSyncingEnabled)try{h(this,C,L).call(this,!0);await d(this,w).selectIsMetamaskNotificationsEnabled()&&await d(this,w).disableMetamaskNotifications();this.getMetaMetricsState()||await this.messagingSystem.call("AuthenticationController:performSignOut"),h(this,C,L).call(this,!1),this.update((e=>{e.isProfileSyncingEnabled=!1}))}catch(e){h(this,C,L).call(this,!1);const t=e instanceof Error?e.message:e;throw new Error(`${g} - failed to disable profile syncing - ${t}`)}}async performGetStorage(e){h(this,k,M).call(this);const{bearerToken:t,storageKey:n}=await h(this,E,O).call(this);return await(0,s.getUserStorage)({entryKey:e,bearerToken:t,storageKey:n})}async performSetStorage(e,t){h(this,k,M).call(this);const{bearerToken:n,storageKey:r}=await h(this,E,O).call(this);await(0,s.upsertUserStorage)(t,{entryKey:e,bearerToken:n,storageKey:r})}async getStorageKey(){h(this,k,M).call(this);return await h(this,T,j).call(this)}}function I(){this.messagingSystem.registerActionHandler("UserStorageController:performGetStorage",this.performGetStorage.bind(this)),this.messagingSystem.registerActionHandler("UserStorageController:performSetStorage",this.performSetStorage.bind(this)),this.messagingSystem.registerActionHandler("UserStorageController:getStorageKey",this.getStorageKey.bind(this)),this.messagingSystem.registerActionHandler("UserStorageController:enableProfileSyncing",this.enableProfileSyncing.bind(this)),this.messagingSystem.registerActionHandler("UserStorageController:disableProfileSyncing",this.disableProfileSyncing.bind(this))}function M(){if(!this.state.isProfileSyncingEnabled)throw new Error(`${g}: Unable to call method, user is not authenticated`)}async function O(){const e=await d(this,b).getBearerToken();if(!e)throw new Error("UserStorageController - unable to get bearer token");return{bearerToken:e,storageKey:await h(this,T,j).call(this)}}async function j(){const e=await d(this,b).getProfileId();if(!e)throw new Error("UserStorageController - unable to create storage key");const t=await h(this,x,D).call(this,`metamask:${e}`);return(0,a.createSHA256Hash)(t)}async function D(e){if(d(this,A)[e])return d(this,A)[e];if(!d(this,_))throw new Error("#snapSignMessage - unable to call snap, wallet is locked");const t=await this.messagingSystem.call("SnapController:handleRequest",(0,i.createSnapSignMessageRequest)(e));return d(this,A)[e]=t,t}async function L(e){this.update((t=>{t.isProfileSyncingUpdateLoading=e}))}n.default=P}}},{package:"$root$",file:"app/scripts/controllers/user-storage/user-storage-controller.ts"}],[49,{"../../shared/constants/app":4493,"./lib/util":120,"webextension-polyfill":4472},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.onMessageReceived=n.checkForMultipleVersionsRunning=void 0;var r,i=(r=e("webextension-polyfill"))&&r.__esModule?r:{default:r},s=e("../../shared/constants/app"),a=e("./lib/util");const o="isRunning";n.onMessageReceived=e=>{e===o&&console.warn("Warning! You have multiple instances of MetaMask running!")};n.checkForMultipleVersionsRunning=async()=>{if((0,a.getPlatform)()!==s.PLATFORM_CHROME&&(0,a.getPlatform)()!==s.PLATFORM_FIREFOX)return;const e=(0,a.getPlatform)()===s.PLATFORM_CHROME?s.CHROME_BUILD_IDS:s.FIREFOX_BUILD_IDS,t=i.default.runtime.id;for(const n of e)if(n!==t)try{await i.default.runtime.sendMessage(n,o)}catch(e){}}}}},{package:"$root$",file:"app/scripts/detect-multiple-instances.js"}],[495,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.version=void 0,n.version="json-wallets/5.7.0"}}},{package:"@ethersproject/wallet>@ethersproject/json-wallets",file:"node_modules/@ethersproject/json-wallets/lib/_version.js"}],[496,{"./_version":495,"./utils":500,"@ethersproject/address":467,"@ethersproject/bytes":476,"@ethersproject/keccak256":502,"@ethersproject/logger":504,"@ethersproject/pbkdf2":508,"@ethersproject/properties":510,"@ethersproject/strings":547,"aes-js":501},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(n,"__esModule",{value:!0}),n.decrypt=n.CrowdsaleAccount=void 0;var a=s(e("aes-js")),o=e("@ethersproject/address"),c=e("@ethersproject/bytes"),u=e("@ethersproject/keccak256"),l=e("@ethersproject/pbkdf2"),h=e("@ethersproject/strings"),d=e("@ethersproject/properties"),f=e("@ethersproject/logger"),p=e("./_version"),g=new f.Logger(p.version),m=e("./utils"),y=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.isCrowdsaleAccount=function(e){return!(!e||!e._isCrowdsaleAccount)},t}(d.Description);n.CrowdsaleAccount=y,n.decrypt=function(e,t){var n=JSON.parse(e);t=(0,m.getPassword)(t);var r=(0,o.getAddress)((0,m.searchPath)(n,"ethaddr")),i=(0,m.looseArrayify)((0,m.searchPath)(n,"encseed"));i&&i.length%16==0||g.throwArgumentError("invalid encseed","json",e);for(var s=(0,c.arrayify)((0,l.pbkdf2)(t,t,2e3,32,"sha256")).slice(0,16),d=i.slice(0,16),f=i.slice(16),p=new a.default.ModeOfOperation.cbc(s,d),b=a.default.padding.pkcs7.strip((0,c.arrayify)(p.decrypt(f))),w="",_=0;_@ethersproject/json-wallets",file:"node_modules/@ethersproject/json-wallets/lib/crowdsale.js"}],[497,{"./crowdsale":496,"./inspect":498,"./keystore":499},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.decryptJsonWalletSync=n.decryptJsonWallet=n.getJsonWalletAddress=n.isKeystoreWallet=n.isCrowdsaleWallet=n.encryptKeystore=n.decryptKeystoreSync=n.decryptKeystore=n.decryptCrowdsale=void 0;var r=e("./crowdsale");Object.defineProperty(n,"decryptCrowdsale",{enumerable:!0,get:function(){return r.decrypt}});var i=e("./inspect");Object.defineProperty(n,"getJsonWalletAddress",{enumerable:!0,get:function(){return i.getJsonWalletAddress}}),Object.defineProperty(n,"isCrowdsaleWallet",{enumerable:!0,get:function(){return i.isCrowdsaleWallet}}),Object.defineProperty(n,"isKeystoreWallet",{enumerable:!0,get:function(){return i.isKeystoreWallet}});var s=e("./keystore");Object.defineProperty(n,"decryptKeystore",{enumerable:!0,get:function(){return s.decrypt}}),Object.defineProperty(n,"decryptKeystoreSync",{enumerable:!0,get:function(){return s.decryptSync}}),Object.defineProperty(n,"encryptKeystore",{enumerable:!0,get:function(){return s.encrypt}}),n.decryptJsonWallet=function(e,t,n){if((0,i.isCrowdsaleWallet)(e)){n&&n(0);var a=(0,r.decrypt)(e,t);return n&&n(1),Promise.resolve(a)}return(0,i.isKeystoreWallet)(e)?(0,s.decrypt)(e,t,n):Promise.reject(new Error("invalid JSON wallet"))},n.decryptJsonWalletSync=function(e,t){if((0,i.isCrowdsaleWallet)(e))return(0,r.decrypt)(e,t);if((0,i.isKeystoreWallet)(e))return(0,s.decryptSync)(e,t);throw new Error("invalid JSON wallet")}}}},{package:"@ethersproject/wallet>@ethersproject/json-wallets",file:"node_modules/@ethersproject/json-wallets/lib/index.js"}],[498,{"@ethersproject/address":467},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.getJsonWalletAddress=n.isKeystoreWallet=n.isCrowdsaleWallet=void 0;var r=e("@ethersproject/address");function i(e){var t=null;try{t=JSON.parse(e)}catch(e){return!1}return t.encseed&&t.ethaddr}function s(e){var t=null;try{t=JSON.parse(e)}catch(e){return!1}return!(!t.version||parseInt(t.version)!==t.version||3!==parseInt(t.version))}n.isCrowdsaleWallet=i,n.isKeystoreWallet=s,n.getJsonWalletAddress=function(e){if(i(e))try{return(0,r.getAddress)(JSON.parse(e).ethaddr)}catch(e){return null}if(s(e))try{return(0,r.getAddress)(JSON.parse(e).address)}catch(e){return null}return null}}}},{package:"@ethersproject/wallet>@ethersproject/json-wallets",file:"node_modules/@ethersproject/json-wallets/lib/inspect.js"}],[499,{"./_version":495,"./utils":500,"@ethersproject/address":467,"@ethersproject/bytes":476,"@ethersproject/hdnode":494,"@ethersproject/keccak256":502,"@ethersproject/logger":504,"@ethersproject/pbkdf2":508,"@ethersproject/properties":510,"@ethersproject/random":533,"@ethersproject/transactions":550,"aes-js":501,"scrypt-js":4284},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),s=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,s){function a(e){try{c(r.next(e))}catch(e){s(e)}}function o(e){try{c(r.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,o)}c((r=r.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,r,i,s,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return s={next:o(0),throw:o(1),return:o(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function o(s){return function(o){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]@ethersproject/json-wallets",file:"node_modules/@ethersproject/json-wallets/lib/keystore.js"}],[50,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;n.default={config:{}}}}},{package:"$root$",file:"app/scripts/first-time-state.js"}],[500,{"@ethersproject/bytes":476,"@ethersproject/strings":547},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.uuidV4=n.searchPath=n.getPassword=n.zpad=n.looseArrayify=void 0;var r=e("@ethersproject/bytes"),i=e("@ethersproject/strings");n.looseArrayify=function(e){return"string"==typeof e&&"0x"!==e.substring(0,2)&&(e="0x"+e),(0,r.arrayify)(e)},n.zpad=function(e,t){for(e=String(e);e.length@ethersproject/json-wallets",file:"node_modules/@ethersproject/json-wallets/lib/utils.js"}],[501,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){!function(e){function r(e){return parseInt(e)===e}function i(e){if(!r(e.length))return!1;for(var t=0;t255)return!1;return!0}function s(e,t){if(e.buffer&&ArrayBuffer.isView(e)&&"Uint8Array"===e.name)return t&&(e=e.slice?e.slice():Array.prototype.slice.call(e)),e;if(Array.isArray(e)){if(!i(e))throw new Error("Array contains invalid value: "+e);return new Uint8Array(e)}if(r(e.length)&&i(e))return new Uint8Array(e);throw new Error("unsupported array-like object")}function a(e){return new Uint8Array(e)}function o(e,t,n,r,i){null==r&&null==i||(e=e.slice?e.slice(r,i):Array.prototype.slice.call(e,r,i)),t.set(e,n)}var c,u={toBytes:function(e){var t=[],n=0;for(e=encodeURI(e);n191&&r<224?(t.push(String.fromCharCode((31&r)<<6|63&e[n+1])),n+=2):(t.push(String.fromCharCode((15&r)<<12|(63&e[n+1])<<6|63&e[n+2])),n+=3)}return t.join("")}},l=(c="0123456789abcdef",{toBytes:function(e){for(var t=[],n=0;n>4]+c[15&r])}return t.join("")}}),h={16:10,24:12,32:14},d=[1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145],f=[99,124,119,123,242,107,111,197,48,1,103,43,254,215,171,118,202,130,201,125,250,89,71,240,173,212,162,175,156,164,114,192,183,253,147,38,54,63,247,204,52,165,229,241,113,216,49,21,4,199,35,195,24,150,5,154,7,18,128,226,235,39,178,117,9,131,44,26,27,110,90,160,82,59,214,179,41,227,47,132,83,209,0,237,32,252,177,91,106,203,190,57,74,76,88,207,208,239,170,251,67,77,51,133,69,249,2,127,80,60,159,168,81,163,64,143,146,157,56,245,188,182,218,33,16,255,243,210,205,12,19,236,95,151,68,23,196,167,126,61,100,93,25,115,96,129,79,220,34,42,144,136,70,238,184,20,222,94,11,219,224,50,58,10,73,6,36,92,194,211,172,98,145,149,228,121,231,200,55,109,141,213,78,169,108,86,244,234,101,122,174,8,186,120,37,46,28,166,180,198,232,221,116,31,75,189,139,138,112,62,181,102,72,3,246,14,97,53,87,185,134,193,29,158,225,248,152,17,105,217,142,148,155,30,135,233,206,85,40,223,140,161,137,13,191,230,66,104,65,153,45,15,176,84,187,22],p=[82,9,106,213,48,54,165,56,191,64,163,158,129,243,215,251,124,227,57,130,155,47,255,135,52,142,67,68,196,222,233,203,84,123,148,50,166,194,35,61,238,76,149,11,66,250,195,78,8,46,161,102,40,217,36,178,118,91,162,73,109,139,209,37,114,248,246,100,134,104,152,22,212,164,92,204,93,101,182,146,108,112,72,80,253,237,185,218,94,21,70,87,167,141,157,132,144,216,171,0,140,188,211,10,247,228,88,5,184,179,69,6,208,44,30,143,202,63,15,2,193,175,189,3,1,19,138,107,58,145,17,65,79,103,220,234,151,242,207,206,240,180,230,115,150,172,116,34,231,173,53,133,226,249,55,232,28,117,223,110,71,241,26,113,29,41,197,137,111,183,98,14,170,24,190,27,252,86,62,75,198,210,121,32,154,219,192,254,120,205,90,244,31,221,168,51,136,7,199,49,177,18,16,89,39,128,236,95,96,81,127,169,25,181,74,13,45,229,122,159,147,201,156,239,160,224,59,77,174,42,245,176,200,235,187,60,131,83,153,97,23,43,4,126,186,119,214,38,225,105,20,99,85,33,12,125],g=[3328402341,4168907908,4000806809,4135287693,4294111757,3597364157,3731845041,2445657428,1613770832,33620227,3462883241,1445669757,3892248089,3050821474,1303096294,3967186586,2412431941,528646813,2311702848,4202528135,4026202645,2992200171,2387036105,4226871307,1101901292,3017069671,1604494077,1169141738,597466303,1403299063,3832705686,2613100635,1974974402,3791519004,1033081774,1277568618,1815492186,2118074177,4126668546,2211236943,1748251740,1369810420,3521504564,4193382664,3799085459,2883115123,1647391059,706024767,134480908,2512897874,1176707941,2646852446,806885416,932615841,168101135,798661301,235341577,605164086,461406363,3756188221,3454790438,1311188841,2142417613,3933566367,302582043,495158174,1479289972,874125870,907746093,3698224818,3025820398,1537253627,2756858614,1983593293,3084310113,2108928974,1378429307,3722699582,1580150641,327451799,2790478837,3117535592,0,3253595436,1075847264,3825007647,2041688520,3059440621,3563743934,2378943302,1740553945,1916352843,2487896798,2555137236,2958579944,2244988746,3151024235,3320835882,1336584933,3992714006,2252555205,2588757463,1714631509,293963156,2319795663,3925473552,67240454,4269768577,2689618160,2017213508,631218106,1269344483,2723238387,1571005438,2151694528,93294474,1066570413,563977660,1882732616,4059428100,1673313503,2008463041,2950355573,1109467491,537923632,3858759450,4260623118,3218264685,2177748300,403442708,638784309,3287084079,3193921505,899127202,2286175436,773265209,2479146071,1437050866,4236148354,2050833735,3362022572,3126681063,840505643,3866325909,3227541664,427917720,2655997905,2749160575,1143087718,1412049534,999329963,193497219,2353415882,3354324521,1807268051,672404540,2816401017,3160301282,369822493,2916866934,3688947771,1681011286,1949973070,336202270,2454276571,201721354,1210328172,3093060836,2680341085,3184776046,1135389935,3294782118,965841320,831886756,3554993207,4068047243,3588745010,2345191491,1849112409,3664604599,26054028,2983581028,2622377682,1235855840,3630984372,2891339514,4092916743,3488279077,3395642799,4101667470,1202630377,268961816,1874508501,4034427016,1243948399,1546530418,941366308,1470539505,1941222599,2546386513,3421038627,2715671932,3899946140,1042226977,2521517021,1639824860,227249030,260737669,3765465232,2084453954,1907733956,3429263018,2420656344,100860677,4160157185,470683154,3261161891,1781871967,2924959737,1773779408,394692241,2579611992,974986535,664706745,3655459128,3958962195,731420851,571543859,3530123707,2849626480,126783113,865375399,765172662,1008606754,361203602,3387549984,2278477385,2857719295,1344809080,2782912378,59542671,1503764984,160008576,437062935,1707065306,3622233649,2218934982,3496503480,2185314755,697932208,1512910199,504303377,2075177163,2824099068,1841019862,739644986],m=[2781242211,2230877308,2582542199,2381740923,234877682,3184946027,2984144751,1418839493,1348481072,50462977,2848876391,2102799147,434634494,1656084439,3863849899,2599188086,1167051466,2636087938,1082771913,2281340285,368048890,3954334041,3381544775,201060592,3963727277,1739838676,4250903202,3930435503,3206782108,4149453988,2531553906,1536934080,3262494647,484572669,2923271059,1783375398,1517041206,1098792767,49674231,1334037708,1550332980,4098991525,886171109,150598129,2481090929,1940642008,1398944049,1059722517,201851908,1385547719,1699095331,1587397571,674240536,2704774806,252314885,3039795866,151914247,908333586,2602270848,1038082786,651029483,1766729511,3447698098,2682942837,454166793,2652734339,1951935532,775166490,758520603,3000790638,4004797018,4217086112,4137964114,1299594043,1639438038,3464344499,2068982057,1054729187,1901997871,2534638724,4121318227,1757008337,0,750906861,1614815264,535035132,3363418545,3988151131,3201591914,1183697867,3647454910,1265776953,3734260298,3566750796,3903871064,1250283471,1807470800,717615087,3847203498,384695291,3313910595,3617213773,1432761139,2484176261,3481945413,283769337,100925954,2180939647,4037038160,1148730428,3123027871,3813386408,4087501137,4267549603,3229630528,2315620239,2906624658,3156319645,1215313976,82966005,3747855548,3245848246,1974459098,1665278241,807407632,451280895,251524083,1841287890,1283575245,337120268,891687699,801369324,3787349855,2721421207,3431482436,959321879,1469301956,4065699751,2197585534,1199193405,2898814052,3887750493,724703513,2514908019,2696962144,2551808385,3516813135,2141445340,1715741218,2119445034,2872807568,2198571144,3398190662,700968686,3547052216,1009259540,2041044702,3803995742,487983883,1991105499,1004265696,1449407026,1316239930,504629770,3683797321,168560134,1816667172,3837287516,1570751170,1857934291,4014189740,2797888098,2822345105,2754712981,936633572,2347923833,852879335,1133234376,1500395319,3084545389,2348912013,1689376213,3533459022,3762923945,3034082412,4205598294,133428468,634383082,2949277029,2398386810,3913789102,403703816,3580869306,2297460856,1867130149,1918643758,607656988,4049053350,3346248884,1368901318,600565992,2090982877,2632479860,557719327,3717614411,3697393085,2249034635,2232388234,2430627952,1115438654,3295786421,2865522278,3633334344,84280067,33027830,303828494,2747425121,1600795957,4188952407,3496589753,2434238086,1486471617,658119965,3106381470,953803233,334231800,3005978776,857870609,3151128937,1890179545,2298973838,2805175444,3056442267,574365214,2450884487,550103529,1233637070,4289353045,2018519080,2057691103,2399374476,4166623649,2148108681,387583245,3664101311,836232934,3330556482,3100665960,3280093505,2955516313,2002398509,287182607,3413881008,4238890068,3597515707,975967766],y=[1671808611,2089089148,2006576759,2072901243,4061003762,1807603307,1873927791,3310653893,810573872,16974337,1739181671,729634347,4263110654,3613570519,2883997099,1989864566,3393556426,2191335298,3376449993,2106063485,4195741690,1508618841,1204391495,4027317232,2917941677,3563566036,2734514082,2951366063,2629772188,2767672228,1922491506,3227229120,3082974647,4246528509,2477669779,644500518,911895606,1061256767,4144166391,3427763148,878471220,2784252325,3845444069,4043897329,1905517169,3631459288,827548209,356461077,67897348,3344078279,593839651,3277757891,405286936,2527147926,84871685,2595565466,118033927,305538066,2157648768,3795705826,3945188843,661212711,2999812018,1973414517,152769033,2208177539,745822252,439235610,455947803,1857215598,1525593178,2700827552,1391895634,994932283,3596728278,3016654259,695947817,3812548067,795958831,2224493444,1408607827,3513301457,0,3979133421,543178784,4229948412,2982705585,1542305371,1790891114,3410398667,3201918910,961245753,1256100938,1289001036,1491644504,3477767631,3496721360,4012557807,2867154858,4212583931,1137018435,1305975373,861234739,2241073541,1171229253,4178635257,33948674,2139225727,1357946960,1011120188,2679776671,2833468328,1374921297,2751356323,1086357568,2408187279,2460827538,2646352285,944271416,4110742005,3168756668,3066132406,3665145818,560153121,271589392,4279952895,4077846003,3530407890,3444343245,202643468,322250259,3962553324,1608629855,2543990167,1154254916,389623319,3294073796,2817676711,2122513534,1028094525,1689045092,1575467613,422261273,1939203699,1621147744,2174228865,1339137615,3699352540,577127458,712922154,2427141008,2290289544,1187679302,3995715566,3100863416,339486740,3732514782,1591917662,186455563,3681988059,3762019296,844522546,978220090,169743370,1239126601,101321734,611076132,1558493276,3260915650,3547250131,2901361580,1655096418,2443721105,2510565781,3828863972,2039214713,3878868455,3359869896,928607799,1840765549,2374762893,3580146133,1322425422,2850048425,1823791212,1459268694,4094161908,3928346602,1706019429,2056189050,2934523822,135794696,3134549946,2022240376,628050469,779246638,472135708,2800834470,3032970164,3327236038,3894660072,3715932637,1956440180,522272287,1272813131,3185336765,2340818315,2323976074,1888542832,1044544574,3049550261,1722469478,1222152264,50660867,4127324150,236067854,1638122081,895445557,1475980887,3117443513,2257655686,3243809217,489110045,2662934430,3778599393,4162055160,2561878936,288563729,1773916777,3648039385,2391345038,2493985684,2612407707,505560094,2274497927,3911240169,3460925390,1442818645,678973480,3749357023,2358182796,2717407649,2306869641,219617805,3218761151,3862026214,1120306242,1756942440,1103331905,2578459033,762796589,252780047,2966125488,1425844308,3151392187,372911126],b=[1667474886,2088535288,2004326894,2071694838,4075949567,1802223062,1869591006,3318043793,808472672,16843522,1734846926,724270422,4278065639,3621216949,2880169549,1987484396,3402253711,2189597983,3385409673,2105378810,4210693615,1499065266,1195886990,4042263547,2913856577,3570689971,2728590687,2947541573,2627518243,2762274643,1920112356,3233831835,3082273397,4261223649,2475929149,640051788,909531756,1061110142,4160160501,3435941763,875846760,2779116625,3857003729,4059105529,1903268834,3638064043,825316194,353713962,67374088,3351728789,589522246,3284360861,404236336,2526454071,84217610,2593830191,117901582,303183396,2155911963,3806477791,3958056653,656894286,2998062463,1970642922,151591698,2206440989,741110872,437923380,454765878,1852748508,1515908788,2694904667,1381168804,993742198,3604373943,3014905469,690584402,3823320797,791638366,2223281939,1398011302,3520161977,0,3991743681,538992704,4244381667,2981218425,1532751286,1785380564,3419096717,3200178535,960056178,1246420628,1280103576,1482221744,3486468741,3503319995,4025428677,2863326543,4227536621,1128514950,1296947098,859002214,2240123921,1162203018,4193849577,33687044,2139062782,1347481760,1010582648,2678045221,2829640523,1364325282,2745433693,1077985408,2408548869,2459086143,2644360225,943212656,4126475505,3166494563,3065430391,3671750063,555836226,269496352,4294908645,4092792573,3537006015,3452783745,202118168,320025894,3974901699,1600119230,2543297077,1145359496,387397934,3301201811,2812801621,2122220284,1027426170,1684319432,1566435258,421079858,1936954854,1616945344,2172753945,1330631070,3705438115,572679748,707427924,2425400123,2290647819,1179044492,4008585671,3099120491,336870440,3739122087,1583276732,185277718,3688593069,3772791771,842159716,976899700,168435220,1229577106,101059084,606366792,1549591736,3267517855,3553849021,2897014595,1650632388,2442242105,2509612081,3840161747,2038008818,3890688725,3368567691,926374254,1835907034,2374863873,3587531953,1313788572,2846482505,1819063512,1448540844,4109633523,3941213647,1701162954,2054852340,2930698567,134748176,3132806511,2021165296,623210314,774795868,471606328,2795958615,3031746419,3334885783,3907527627,3722280097,1953799400,522133822,1263263126,3183336545,2341176845,2324333839,1886425312,1044267644,3048588401,1718004428,1212733584,50529542,4143317495,235803164,1633788866,892690282,1465383342,3115962473,2256965911,3250673817,488449850,2661202215,3789633753,4177007595,2560144171,286339874,1768537042,3654906025,2391705863,2492770099,2610673197,505291324,2273808917,3924369609,3469625735,1431699370,673740880,3755965093,2358021891,2711746649,2307489801,218961690,3217021541,3873845719,1111672452,1751693520,1094828930,2576986153,757954394,252645662,2964376443,1414855848,3149649517,370555436],w=[1374988112,2118214995,437757123,975658646,1001089995,530400753,2902087851,1273168787,540080725,2910219766,2295101073,4110568485,1340463100,3307916247,641025152,3043140495,3736164937,632953703,1172967064,1576976609,3274667266,2169303058,2370213795,1809054150,59727847,361929877,3211623147,2505202138,3569255213,1484005843,1239443753,2395588676,1975683434,4102977912,2572697195,666464733,3202437046,4035489047,3374361702,2110667444,1675577880,3843699074,2538681184,1649639237,2976151520,3144396420,4269907996,4178062228,1883793496,2403728665,2497604743,1383856311,2876494627,1917518562,3810496343,1716890410,3001755655,800440835,2261089178,3543599269,807962610,599762354,33778362,3977675356,2328828971,2809771154,4077384432,1315562145,1708848333,101039829,3509871135,3299278474,875451293,2733856160,92987698,2767645557,193195065,1080094634,1584504582,3178106961,1042385657,2531067453,3711829422,1306967366,2438237621,1908694277,67556463,1615861247,429456164,3602770327,2302690252,1742315127,2968011453,126454664,3877198648,2043211483,2709260871,2084704233,4169408201,0,159417987,841739592,504459436,1817866830,4245618683,260388950,1034867998,908933415,168810852,1750902305,2606453969,607530554,202008497,2472011535,3035535058,463180190,2160117071,1641816226,1517767529,470948374,3801332234,3231722213,1008918595,303765277,235474187,4069246893,766945465,337553864,1475418501,2943682380,4003061179,2743034109,4144047775,1551037884,1147550661,1543208500,2336434550,3408119516,3069049960,3102011747,3610369226,1113818384,328671808,2227573024,2236228733,3535486456,2935566865,3341394285,496906059,3702665459,226906860,2009195472,733156972,2842737049,294930682,1206477858,2835123396,2700099354,1451044056,573804783,2269728455,3644379585,2362090238,2564033334,2801107407,2776292904,3669462566,1068351396,742039012,1350078989,1784663195,1417561698,4136440770,2430122216,775550814,2193862645,2673705150,1775276924,1876241833,3475313331,3366754619,270040487,3902563182,3678124923,3441850377,1851332852,3969562369,2203032232,3868552805,2868897406,566021896,4011190502,3135740889,1248802510,3936291284,699432150,832877231,708780849,3332740144,899835584,1951317047,4236429990,3767586992,866637845,4043610186,1106041591,2144161806,395441711,1984812685,1139781709,3433712980,3835036895,2664543715,1282050075,3240894392,1181045119,2640243204,25965917,4203181171,4211818798,3009879386,2463879762,3910161971,1842759443,2597806476,933301370,1509430414,3943906441,3467192302,3076639029,3776767469,2051518780,2631065433,1441952575,404016761,1942435775,1408749034,1610459739,3745345300,2017778566,3400528769,3110650942,941896748,3265478751,371049330,3168937228,675039627,4279080257,967311729,135050206,3635733660,1683407248,2076935265,3576870512,1215061108,3501741890],_=[1347548327,1400783205,3273267108,2520393566,3409685355,4045380933,2880240216,2471224067,1428173050,4138563181,2441661558,636813900,4233094615,3620022987,2149987652,2411029155,1239331162,1730525723,2554718734,3781033664,46346101,310463728,2743944855,3328955385,3875770207,2501218972,3955191162,3667219033,768917123,3545789473,692707433,1150208456,1786102409,2029293177,1805211710,3710368113,3065962831,401639597,1724457132,3028143674,409198410,2196052529,1620529459,1164071807,3769721975,2226875310,486441376,2499348523,1483753576,428819965,2274680428,3075636216,598438867,3799141122,1474502543,711349675,129166120,53458370,2592523643,2782082824,4063242375,2988687269,3120694122,1559041666,730517276,2460449204,4042459122,2706270690,3446004468,3573941694,533804130,2328143614,2637442643,2695033685,839224033,1973745387,957055980,2856345839,106852767,1371368976,4181598602,1033297158,2933734917,1179510461,3046200461,91341917,1862534868,4284502037,605657339,2547432937,3431546947,2003294622,3182487618,2282195339,954669403,3682191598,1201765386,3917234703,3388507166,0,2198438022,1211247597,2887651696,1315723890,4227665663,1443857720,507358933,657861945,1678381017,560487590,3516619604,975451694,2970356327,261314535,3535072918,2652609425,1333838021,2724322336,1767536459,370938394,182621114,3854606378,1128014560,487725847,185469197,2918353863,3106780840,3356761769,2237133081,1286567175,3152976349,4255350624,2683765030,3160175349,3309594171,878443390,1988838185,3704300486,1756818940,1673061617,3403100636,272786309,1075025698,545572369,2105887268,4174560061,296679730,1841768865,1260232239,4091327024,3960309330,3497509347,1814803222,2578018489,4195456072,575138148,3299409036,446754879,3629546796,4011996048,3347532110,3252238545,4270639778,915985419,3483825537,681933534,651868046,2755636671,3828103837,223377554,2607439820,1649704518,3270937875,3901806776,1580087799,4118987695,3198115200,2087309459,2842678573,3016697106,1003007129,2802849917,1860738147,2077965243,164439672,4100872472,32283319,2827177882,1709610350,2125135846,136428751,3874428392,3652904859,3460984630,3572145929,3593056380,2939266226,824852259,818324884,3224740454,930369212,2801566410,2967507152,355706840,1257309336,4148292826,243256656,790073846,2373340630,1296297904,1422699085,3756299780,3818836405,457992840,3099667487,2135319889,77422314,1560382517,1945798516,788204353,1521706781,1385356242,870912086,325965383,2358957921,2050466060,2388260884,2313884476,4006521127,901210569,3990953189,1014646705,1503449823,1062597235,2031621326,3212035895,3931371469,1533017514,350174575,2256028891,2177544179,1052338372,741876788,1606591296,1914052035,213705253,2334669897,1107234197,1899603969,3725069491,2631447780,2422494913,1635502980,1893020342,1950903388,1120974935],v=[2807058932,1699970625,2764249623,1586903591,1808481195,1173430173,1487645946,59984867,4199882800,1844882806,1989249228,1277555970,3623636965,3419915562,1149249077,2744104290,1514790577,459744698,244860394,3235995134,1963115311,4027744588,2544078150,4190530515,1608975247,2627016082,2062270317,1507497298,2200818878,567498868,1764313568,3359936201,2305455554,2037970062,1047239e3,1910319033,1337376481,2904027272,2892417312,984907214,1243112415,830661914,861968209,2135253587,2011214180,2927934315,2686254721,731183368,1750626376,4246310725,1820824798,4172763771,3542330227,48394827,2404901663,2871682645,671593195,3254988725,2073724613,145085239,2280796200,2779915199,1790575107,2187128086,472615631,3029510009,4075877127,3802222185,4107101658,3201631749,1646252340,4270507174,1402811438,1436590835,3778151818,3950355702,3963161475,4020912224,2667994737,273792366,2331590177,104699613,95345982,3175501286,2377486676,1560637892,3564045318,369057872,4213447064,3919042237,1137477952,2658625497,1119727848,2340947849,1530455833,4007360968,172466556,266959938,516552836,0,2256734592,3980931627,1890328081,1917742170,4294704398,945164165,3575528878,958871085,3647212047,2787207260,1423022939,775562294,1739656202,3876557655,2530391278,2443058075,3310321856,547512796,1265195639,437656594,3121275539,719700128,3762502690,387781147,218828297,3350065803,2830708150,2848461854,428169201,122466165,3720081049,1627235199,648017665,4122762354,1002783846,2117360635,695634755,3336358691,4234721005,4049844452,3704280881,2232435299,574624663,287343814,612205898,1039717051,840019705,2708326185,793451934,821288114,1391201670,3822090177,376187827,3113855344,1224348052,1679968233,2361698556,1058709744,752375421,2431590963,1321699145,3519142200,2734591178,188127444,2177869557,3727205754,2384911031,3215212461,2648976442,2450346104,3432737375,1180849278,331544205,3102249176,4150144569,2952102595,2159976285,2474404304,766078933,313773861,2570832044,2108100632,1668212892,3145456443,2013908262,418672217,3070356634,2594734927,1852171925,3867060991,3473416636,3907448597,2614737639,919489135,164948639,2094410160,2997825956,590424639,2486224549,1723872674,3157750862,3399941250,3501252752,3625268135,2555048196,3673637356,1343127501,4130281361,3599595085,2957853679,1297403050,81781910,3051593425,2283490410,532201772,1367295589,3926170974,895287692,1953757831,1093597963,492483431,3528626907,1446242576,1192455638,1636604631,209336225,344873464,1015671571,669961897,3375740769,3857572124,2973530695,3747192018,1933530610,3464042516,935293895,3454686199,2858115069,1863638845,3683022916,4085369519,3292445032,875313188,1080017571,3279033885,621591778,1233856572,2504130317,24197544,3017672716,3835484340,3247465558,2220981195,3060847922,1551124588,1463996600],S=[4104605777,1097159550,396673818,660510266,2875968315,2638606623,4200115116,3808662347,821712160,1986918061,3430322568,38544885,3856137295,718002117,893681702,1654886325,2975484382,3122358053,3926825029,4274053469,796197571,1290801793,1184342925,3556361835,2405426947,2459735317,1836772287,1381620373,3196267988,1948373848,3764988233,3385345166,3263785589,2390325492,1480485785,3111247143,3780097726,2293045232,548169417,3459953789,3746175075,439452389,1362321559,1400849762,1685577905,1806599355,2174754046,137073913,1214797936,1174215055,3731654548,2079897426,1943217067,1258480242,529487843,1437280870,3945269170,3049390895,3313212038,923313619,679998e3,3215307299,57326082,377642221,3474729866,2041877159,133361907,1776460110,3673476453,96392454,878845905,2801699524,777231668,4082475170,2330014213,4142626212,2213296395,1626319424,1906247262,1846563261,562755902,3708173718,1040559837,3871163981,1418573201,3294430577,114585348,1343618912,2566595609,3186202582,1078185097,3651041127,3896688048,2307622919,425408743,3371096953,2081048481,1108339068,2216610296,0,2156299017,736970802,292596766,1517440620,251657213,2235061775,2933202493,758720310,265905162,1554391400,1532285339,908999204,174567692,1474760595,4002861748,2610011675,3234156416,3693126241,2001430874,303699484,2478443234,2687165888,585122620,454499602,151849742,2345119218,3064510765,514443284,4044981591,1963412655,2581445614,2137062819,19308535,1928707164,1715193156,4219352155,1126790795,600235211,3992742070,3841024952,836553431,1669664834,2535604243,3323011204,1243905413,3141400786,4180808110,698445255,2653899549,2989552604,2253581325,3252932727,3004591147,1891211689,2487810577,3915653703,4237083816,4030667424,2100090966,865136418,1229899655,953270745,3399679628,3557504664,4118925222,2061379749,3079546586,2915017791,983426092,2022837584,1607244650,2118541908,2366882550,3635996816,972512814,3283088770,1568718495,3499326569,3576539503,621982671,2895723464,410887952,2623762152,1002142683,645401037,1494807662,2595684844,1335535747,2507040230,4293295786,3167684641,367585007,3885750714,1865862730,2668221674,2960971305,2763173681,1059270954,2777952454,2724642869,1320957812,2194319100,2429595872,2815956275,77089521,3973773121,3444575871,2448830231,1305906550,4021308739,2857194700,2516901860,3518358430,1787304780,740276417,1699839814,1592394909,2352307457,2272556026,188821243,1729977011,3687994002,274084841,3594982253,3613494426,2701949495,4162096729,322734571,2837966542,1640576439,484830689,1202797690,3537852828,4067639125,349075736,3342319475,4157467219,4255800159,1030690015,1155237496,2951971274,1757691577,607398968,2738905026,499347990,3794078908,1011452712,227885567,2818666809,213114376,3034881240,1455525988,3414450555,850817237,1817998408,3092726480],k=[0,235474187,470948374,303765277,941896748,908933415,607530554,708780849,1883793496,2118214995,1817866830,1649639237,1215061108,1181045119,1417561698,1517767529,3767586992,4003061179,4236429990,4069246893,3635733660,3602770327,3299278474,3400528769,2430122216,2664543715,2362090238,2193862645,2835123396,2801107407,3035535058,3135740889,3678124923,3576870512,3341394285,3374361702,3810496343,3977675356,4279080257,4043610186,2876494627,2776292904,3076639029,3110650942,2472011535,2640243204,2403728665,2169303058,1001089995,899835584,666464733,699432150,59727847,226906860,530400753,294930682,1273168787,1172967064,1475418501,1509430414,1942435775,2110667444,1876241833,1641816226,2910219766,2743034109,2976151520,3211623147,2505202138,2606453969,2302690252,2269728455,3711829422,3543599269,3240894392,3475313331,3843699074,3943906441,4178062228,4144047775,1306967366,1139781709,1374988112,1610459739,1975683434,2076935265,1775276924,1742315127,1034867998,866637845,566021896,800440835,92987698,193195065,429456164,395441711,1984812685,2017778566,1784663195,1683407248,1315562145,1080094634,1383856311,1551037884,101039829,135050206,437757123,337553864,1042385657,807962610,573804783,742039012,2531067453,2564033334,2328828971,2227573024,2935566865,2700099354,3001755655,3168937228,3868552805,3902563182,4203181171,4102977912,3736164937,3501741890,3265478751,3433712980,1106041591,1340463100,1576976609,1408749034,2043211483,2009195472,1708848333,1809054150,832877231,1068351396,766945465,599762354,159417987,126454664,361929877,463180190,2709260871,2943682380,3178106961,3009879386,2572697195,2538681184,2236228733,2336434550,3509871135,3745345300,3441850377,3274667266,3910161971,3877198648,4110568485,4211818798,2597806476,2497604743,2261089178,2295101073,2733856160,2902087851,3202437046,2968011453,3936291284,3835036895,4136440770,4169408201,3535486456,3702665459,3467192302,3231722213,2051518780,1951317047,1716890410,1750902305,1113818384,1282050075,1584504582,1350078989,168810852,67556463,371049330,404016761,841739592,1008918595,775550814,540080725,3969562369,3801332234,4035489047,4269907996,3569255213,3669462566,3366754619,3332740144,2631065433,2463879762,2160117071,2395588676,2767645557,2868897406,3102011747,3069049960,202008497,33778362,270040487,504459436,875451293,975658646,675039627,641025152,2084704233,1917518562,1615861247,1851332852,1147550661,1248802510,1484005843,1451044056,933301370,967311729,733156972,632953703,260388950,25965917,328671808,496906059,1206477858,1239443753,1543208500,1441952575,2144161806,1908694277,1675577880,1842759443,3610369226,3644379585,3408119516,3307916247,4011190502,3776767469,4077384432,4245618683,2809771154,2842737049,3144396420,3043140495,2673705150,2438237621,2203032232,2370213795],E=[0,185469197,370938394,487725847,741876788,657861945,975451694,824852259,1483753576,1400783205,1315723890,1164071807,1950903388,2135319889,1649704518,1767536459,2967507152,3152976349,2801566410,2918353863,2631447780,2547432937,2328143614,2177544179,3901806776,3818836405,4270639778,4118987695,3299409036,3483825537,3535072918,3652904859,2077965243,1893020342,1841768865,1724457132,1474502543,1559041666,1107234197,1257309336,598438867,681933534,901210569,1052338372,261314535,77422314,428819965,310463728,3409685355,3224740454,3710368113,3593056380,3875770207,3960309330,4045380933,4195456072,2471224067,2554718734,2237133081,2388260884,3212035895,3028143674,2842678573,2724322336,4138563181,4255350624,3769721975,3955191162,3667219033,3516619604,3431546947,3347532110,2933734917,2782082824,3099667487,3016697106,2196052529,2313884476,2499348523,2683765030,1179510461,1296297904,1347548327,1533017514,1786102409,1635502980,2087309459,2003294622,507358933,355706840,136428751,53458370,839224033,957055980,605657339,790073846,2373340630,2256028891,2607439820,2422494913,2706270690,2856345839,3075636216,3160175349,3573941694,3725069491,3273267108,3356761769,4181598602,4063242375,4011996048,3828103837,1033297158,915985419,730517276,545572369,296679730,446754879,129166120,213705253,1709610350,1860738147,1945798516,2029293177,1239331162,1120974935,1606591296,1422699085,4148292826,4233094615,3781033664,3931371469,3682191598,3497509347,3446004468,3328955385,2939266226,2755636671,3106780840,2988687269,2198438022,2282195339,2501218972,2652609425,1201765386,1286567175,1371368976,1521706781,1805211710,1620529459,2105887268,1988838185,533804130,350174575,164439672,46346101,870912086,954669403,636813900,788204353,2358957921,2274680428,2592523643,2441661558,2695033685,2880240216,3065962831,3182487618,3572145929,3756299780,3270937875,3388507166,4174560061,4091327024,4006521127,3854606378,1014646705,930369212,711349675,560487590,272786309,457992840,106852767,223377554,1678381017,1862534868,1914052035,2031621326,1211247597,1128014560,1580087799,1428173050,32283319,182621114,401639597,486441376,768917123,651868046,1003007129,818324884,1503449823,1385356242,1333838021,1150208456,1973745387,2125135846,1673061617,1756818940,2970356327,3120694122,2802849917,2887651696,2637442643,2520393566,2334669897,2149987652,3917234703,3799141122,4284502037,4100872472,3309594171,3460984630,3545789473,3629546796,2050466060,1899603969,1814803222,1730525723,1443857720,1560382517,1075025698,1260232239,575138148,692707433,878443390,1062597235,243256656,91341917,409198410,325965383,3403100636,3252238545,3704300486,3620022987,3874428392,3990953189,4042459122,4227665663,2460449204,2578018489,2226875310,2411029155,3198115200,3046200461,2827177882,2743944855],T=[0,218828297,437656594,387781147,875313188,958871085,775562294,590424639,1750626376,1699970625,1917742170,2135253587,1551124588,1367295589,1180849278,1265195639,3501252752,3720081049,3399941250,3350065803,3835484340,3919042237,4270507174,4085369519,3102249176,3051593425,2734591178,2952102595,2361698556,2177869557,2530391278,2614737639,3145456443,3060847922,2708326185,2892417312,2404901663,2187128086,2504130317,2555048196,3542330227,3727205754,3375740769,3292445032,3876557655,3926170974,4246310725,4027744588,1808481195,1723872674,1910319033,2094410160,1608975247,1391201670,1173430173,1224348052,59984867,244860394,428169201,344873464,935293895,984907214,766078933,547512796,1844882806,1627235199,2011214180,2062270317,1507497298,1423022939,1137477952,1321699145,95345982,145085239,532201772,313773861,830661914,1015671571,731183368,648017665,3175501286,2957853679,2807058932,2858115069,2305455554,2220981195,2474404304,2658625497,3575528878,3625268135,3473416636,3254988725,3778151818,3963161475,4213447064,4130281361,3599595085,3683022916,3432737375,3247465558,3802222185,4020912224,4172763771,4122762354,3201631749,3017672716,2764249623,2848461854,2331590177,2280796200,2431590963,2648976442,104699613,188127444,472615631,287343814,840019705,1058709744,671593195,621591778,1852171925,1668212892,1953757831,2037970062,1514790577,1463996600,1080017571,1297403050,3673637356,3623636965,3235995134,3454686199,4007360968,3822090177,4107101658,4190530515,2997825956,3215212461,2830708150,2779915199,2256734592,2340947849,2627016082,2443058075,172466556,122466165,273792366,492483431,1047239e3,861968209,612205898,695634755,1646252340,1863638845,2013908262,1963115311,1446242576,1530455833,1277555970,1093597963,1636604631,1820824798,2073724613,1989249228,1436590835,1487645946,1337376481,1119727848,164948639,81781910,331544205,516552836,1039717051,821288114,669961897,719700128,2973530695,3157750862,2871682645,2787207260,2232435299,2283490410,2667994737,2450346104,3647212047,3564045318,3279033885,3464042516,3980931627,3762502690,4150144569,4199882800,3070356634,3121275539,2904027272,2686254721,2200818878,2384911031,2570832044,2486224549,3747192018,3528626907,3310321856,3359936201,3950355702,3867060991,4049844452,4234721005,1739656202,1790575107,2108100632,1890328081,1402811438,1586903591,1233856572,1149249077,266959938,48394827,369057872,418672217,1002783846,919489135,567498868,752375421,209336225,24197544,376187827,459744698,945164165,895287692,574624663,793451934,1679968233,1764313568,2117360635,1933530610,1343127501,1560637892,1243112415,1192455638,3704280881,3519142200,3336358691,3419915562,3907448597,3857572124,4075877127,4294704398,3029510009,3113855344,2927934315,2744104290,2159976285,2377486676,2594734927,2544078150],A=[0,151849742,303699484,454499602,607398968,758720310,908999204,1059270954,1214797936,1097159550,1517440620,1400849762,1817998408,1699839814,2118541908,2001430874,2429595872,2581445614,2194319100,2345119218,3034881240,3186202582,2801699524,2951971274,3635996816,3518358430,3399679628,3283088770,4237083816,4118925222,4002861748,3885750714,1002142683,850817237,698445255,548169417,529487843,377642221,227885567,77089521,1943217067,2061379749,1640576439,1757691577,1474760595,1592394909,1174215055,1290801793,2875968315,2724642869,3111247143,2960971305,2405426947,2253581325,2638606623,2487810577,3808662347,3926825029,4044981591,4162096729,3342319475,3459953789,3576539503,3693126241,1986918061,2137062819,1685577905,1836772287,1381620373,1532285339,1078185097,1229899655,1040559837,923313619,740276417,621982671,439452389,322734571,137073913,19308535,3871163981,4021308739,4104605777,4255800159,3263785589,3414450555,3499326569,3651041127,2933202493,2815956275,3167684641,3049390895,2330014213,2213296395,2566595609,2448830231,1305906550,1155237496,1607244650,1455525988,1776460110,1626319424,2079897426,1928707164,96392454,213114376,396673818,514443284,562755902,679998e3,865136418,983426092,3708173718,3557504664,3474729866,3323011204,4180808110,4030667424,3945269170,3794078908,2507040230,2623762152,2272556026,2390325492,2975484382,3092726480,2738905026,2857194700,3973773121,3856137295,4274053469,4157467219,3371096953,3252932727,3673476453,3556361835,2763173681,2915017791,3064510765,3215307299,2156299017,2307622919,2459735317,2610011675,2081048481,1963412655,1846563261,1729977011,1480485785,1362321559,1243905413,1126790795,878845905,1030690015,645401037,796197571,274084841,425408743,38544885,188821243,3613494426,3731654548,3313212038,3430322568,4082475170,4200115116,3780097726,3896688048,2668221674,2516901860,2366882550,2216610296,3141400786,2989552604,2837966542,2687165888,1202797690,1320957812,1437280870,1554391400,1669664834,1787304780,1906247262,2022837584,265905162,114585348,499347990,349075736,736970802,585122620,972512814,821712160,2595684844,2478443234,2293045232,2174754046,3196267988,3079546586,2895723464,2777952454,3537852828,3687994002,3234156416,3385345166,4142626212,4293295786,3841024952,3992742070,174567692,57326082,410887952,292596766,777231668,660510266,1011452712,893681702,1108339068,1258480242,1343618912,1494807662,1715193156,1865862730,1948373848,2100090966,2701949495,2818666809,3004591147,3122358053,2235061775,2352307457,2535604243,2653899549,3915653703,3764988233,4219352155,4067639125,3444575871,3294430577,3746175075,3594982253,836553431,953270745,600235211,718002117,367585007,484830689,133361907,251657213,2041877159,1891211689,1806599355,1654886325,1568718495,1418573201,1335535747,1184342925];function x(e){for(var t=[],n=0;n>2,this._Ke[n][t%4]=s[t],this._Kd[e-n][t%4]=s[t];for(var a,o=0,c=i;c>16&255]<<24^f[a>>8&255]<<16^f[255&a]<<8^f[a>>24&255]^d[o]<<24,o+=1,8!=i)for(t=1;t>8&255]<<8^f[a>>16&255]<<16^f[a>>24&255]<<24;for(t=i/2+1;t>2,l=c%4,this._Ke[u][l]=s[t],this._Kd[e-u][l]=s[t++],c++}for(var u=1;u>24&255]^E[a>>16&255]^T[a>>8&255]^A[255&a]},C.prototype.encrypt=function(e){if(16!=e.length)throw new Error("invalid plaintext size (must be 16 bytes)");for(var t=this._Ke.length-1,n=[0,0,0,0],r=x(e),i=0;i<4;i++)r[i]^=this._Ke[0][i];for(var s=1;s>24&255]^m[r[(i+1)%4]>>16&255]^y[r[(i+2)%4]>>8&255]^b[255&r[(i+3)%4]]^this._Ke[s][i];r=n.slice()}var o,c=a(16);for(i=0;i<4;i++)o=this._Ke[t][i],c[4*i]=255&(f[r[i]>>24&255]^o>>24),c[4*i+1]=255&(f[r[(i+1)%4]>>16&255]^o>>16),c[4*i+2]=255&(f[r[(i+2)%4]>>8&255]^o>>8),c[4*i+3]=255&(f[255&r[(i+3)%4]]^o);return c},C.prototype.decrypt=function(e){if(16!=e.length)throw new Error("invalid ciphertext size (must be 16 bytes)");for(var t=this._Kd.length-1,n=[0,0,0,0],r=x(e),i=0;i<4;i++)r[i]^=this._Kd[0][i];for(var s=1;s>24&255]^_[r[(i+3)%4]>>16&255]^v[r[(i+2)%4]>>8&255]^S[255&r[(i+1)%4]]^this._Kd[s][i];r=n.slice()}var o,c=a(16);for(i=0;i<4;i++)o=this._Kd[t][i],c[4*i]=255&(p[r[i]>>24&255]^o>>24),c[4*i+1]=255&(p[r[(i+3)%4]>>16&255]^o>>16),c[4*i+2]=255&(p[r[(i+2)%4]>>8&255]^o>>8),c[4*i+3]=255&(p[255&r[(i+1)%4]]^o);return c};var P=function(e){if(!(this instanceof P))throw Error("AES must be instanitated with `new`");this.description="Electronic Code Block",this.name="ecb",this._aes=new C(e)};P.prototype.encrypt=function(e){if((e=s(e)).length%16!=0)throw new Error("invalid plaintext size (must be multiple of 16 bytes)");for(var t=a(e.length),n=a(16),r=0;r=0;--t)this._counter[t]=e%256,e>>=8},j.prototype.setBytes=function(e){if(16!=(e=s(e,!0)).length)throw new Error("invalid counter bytes size (must be 16 bytes)");this._counter=e},j.prototype.increment=function(){for(var e=15;e>=0;e--){if(255!==this._counter[e]){this._counter[e]++;break}this._counter[e]=0}};var D=function(e,t){if(!(this instanceof D))throw Error("AES must be instanitated with `new`");this.description="Counter",this.name="ctr",t instanceof j||(t=new j(t)),this._counter=t,this._remainingCounter=null,this._remainingCounterIndex=16,this._aes=new C(e)};D.prototype.encrypt=function(e){for(var t=s(e,!0),n=0;n16)throw new Error("PKCS#7 padding byte out of range");for(var n=e.length-t,r=0;r@ethersproject/json-wallets>aes-js",file:"node_modules/@ethersproject/json-wallets/node_modules/aes-js/index.js"}],[51,{"@metamask/name-controller":1529},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.ChangeType=n.AbstractPetnamesBridge=void 0;var r=e("@metamask/name-controller");function i(e,t){o(e,t),t.add(e)}function s(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t,n){o(e,t),t.set(e,n)}function o(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function c(e,t,n){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return n}function u(e,t){return function(e,t){if(t.get)return t.get.call(e);return t.value}(e,h(e,t,"get"))}function l(e,t,n){return function(e,t,n){if(t.set)t.set.call(e,n);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=n}}(e,h(e,t,"set"),n),n}function h(e,t,n){if(!t.has(e))throw new TypeError("attempted to "+n+" private field on non-instance");return t.get(e)}let d=n.ChangeType=function(e){return e.ADDED="ADDED",e.UPDATED="UPDATED",e.DELETED="DELETED",e}({});var f=function(e){return e.SOURCE_TO_PETNAMES="Source->Petnames",e.PETNAMES_TO_SOURCE="Petnames->Source",e}(f||{});function p({type:e,variation:t,value:n}){return`${e}/${t}/${e===r.NameType.ETHEREUM_ADDRESS?n.toLowerCase():n}`}var g=new WeakMap,m=new WeakMap,y=new WeakMap,b=new WeakSet,w=new WeakSet,_=new WeakSet,v=new WeakSet,S=new WeakSet;function k(e){if(u(this,y)===e)throw new Error(`Attempted to synchronize recursively in same direction: ${e}`);if(null!==u(this,y))return;l(this,y,e);const[t,n]="Source->Petnames"===e?[this.getSourceEntries(),c(this,w,E).call(this)]:[c(this,w,E).call(this),this.getSourceEntries()],r=c(this,v,A).call(this,n,t);c(this,S,x).call(this,r),l(this,y,null)}function E(){const{names:e}=u(this,m).state,t=[];for(const n of Object.values(r.NameType))for(const r of Object.keys(e[n]))for(const i of Object.keys(e[n][r])){const{name:s,sourceId:a,origin:o}=e[n][r][i];if(!s)continue;const c={value:r,type:n,name:s,variation:i,sourceId:a??undefined,origin:o??undefined};this.shouldSyncPetname(c)&&t.push(c)}return t}function T(e,t){e===d.DELETED?(delete t.sourceId,delete t.origin,u(this,m).setName({...t,name:null})):u(this,m).setName(t)}function A(e,t){const n=[],r=[],i=[],s=new Map(e.map((e=>[p(e),e]))),a=new Map(t.map((e=>[p(e),e])));return a.forEach(((e,t)=>{const i=s.get(t);i?e.name!==i.name&&r.push(e):n.push(e)})),s.forEach(((e,t)=>{a.has(t)||i.push(e)})),{[d.ADDED]:n,[d.UPDATED]:r,[d.DELETED]:i}}function x(e){const t=u(this,y)===f.SOURCE_TO_PETNAMES?c(this,_,T).bind(this):this.updateSourceEntry.bind(this);for(const n of Object.values(d))for(const r of e[n])t(n,r)}n.AbstractPetnamesBridge=class{constructor({isTwoWay:e,nameController:t,messenger:n}){i(this,S),i(this,v),i(this,_),i(this,w),i(this,b),a(this,g,{writable:!0,value:void 0}),a(this,m,{writable:!0,value:void 0}),a(this,y,{writable:!0,value:null}),s(this,"messenger",void 0),l(this,g,e),l(this,m,t),this.messenger=n}init(){u(this,g)&&this.messenger.subscribe("NameController:stateChange",(()=>c(this,b,k).call(this,f.PETNAMES_TO_SOURCE))),this.onSourceChange((()=>c(this,b,k).call(this,f.SOURCE_TO_PETNAMES)))}updateSourceEntry(e,t){throw new Error("updateSourceEntry must be overridden for two-way bridges")}shouldSyncPetname(e){return!0}}}}},{package:"$root$",file:"app/scripts/lib/AbstractPetnamesBridge.ts"}],[52,{"./AbstractPetnamesBridge":51,"@metamask/name-controller":1529},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.AccountIdentitiesPetnamesBridge=void 0;var r=e("@metamask/name-controller"),i=e("./AbstractPetnamesBridge");class s extends i.AbstractPetnamesBridge{constructor({nameController:e,messenger:t}){super({isTwoWay:!1,nameController:e,messenger:t})}getSourceEntries(){return this.messenger.call("AccountsController:listAccounts").map((e=>({value:e.address,type:r.NameType.ETHEREUM_ADDRESS,name:e.metadata.name,sourceId:undefined,variation:r.FALLBACK_VARIATION,origin:r.NameOrigin.ACCOUNT_IDENTITY})))}onSourceChange(e){this.messenger.subscribe("AccountsController:stateChange",e)}shouldSyncPetname(e){return e.origin===r.NameOrigin.ACCOUNT_IDENTITY}}n.AccountIdentitiesPetnamesBridge=s}}},{package:"$root$",file:"app/scripts/lib/AccountIdentitiesPetnamesBridge.ts"}],[53,{"./AbstractPetnamesBridge":51,"@metamask/name-controller":1529},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.AddressBookPetnamesBridge=void 0;var r=e("@metamask/name-controller"),i=e("./AbstractPetnamesBridge");function s(e,t,n){!function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}(e,t),t.set(e,n)}function a(e,t){return function(e,t){if(t.get)return t.get.call(e);return t.value}(e,c(e,t,"get"))}function o(e,t,n){return function(e,t,n){if(t.set)t.set.call(e,n);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=n}}(e,c(e,t,"set"),n),n}function c(e,t,n){if(!t.has(e))throw new TypeError("attempted to "+n+" private field on non-instance");return t.get(e)}var u=new WeakMap;class l extends i.AbstractPetnamesBridge{constructor({addressBookController:e,nameController:t,messenger:n}){super({isTwoWay:!0,nameController:t,messenger:n}),s(this,u,{writable:!0,value:void 0}),o(this,u,e)}getSourceEntries(){const e=[],{state:t}=a(this,u);for(const n of Object.keys(t.addressBook)){const i=t.addressBook[n];for(const s of Object.keys(i)){const i=t.addressBook[n][s],a=n.toLowerCase(),{name:o,isEns:c}=i;null!=o&&o.length&&null!=s&&s.length&&e.push({value:s,name:o,variation:a,type:r.NameType.ETHEREUM_ADDRESS,sourceId:c?"ens":undefined,origin:r.NameOrigin.ADDRESS_BOOK})}}return e}updateSourceEntry(e,t){e===i.ChangeType.DELETED?a(this,u).delete(t.variation,t.value):a(this,u).set(t.value,t.name,t.variation)}onSourceChange(e){a(this,u).subscribe(e)}}n.AddressBookPetnamesBridge=l}}},{package:"$root$",file:"app/scripts/lib/AddressBookPetnamesBridge.ts"}],[54,{"@metamask/base-controller":1154,"@metamask/obs-store":1610},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r=e("@metamask/obs-store"),i=e("@metamask/base-controller");function s(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class a extends r.ObservableStore{constructor({config:e,controllerMessenger:t,state:n,persist:r}){super(n),s(this,"config",{}),this.persist=r,this.controllerMessenger=t,e&&this.updateStructure(e)}updateStructure(e){this.config=e,this.removeAllListeners();const t={};for(const r of Object.keys(e)){var n;if(!e[r])throw new Error(`Undefined '${r}'`);const s=e[r];s.subscribe?e[r].subscribe((e=>{this.updateState({[r]:e})})):this.controllerMessenger.subscribe(`${s.name}:stateChange`,(t=>{let n=t;this.persist&&(n=(0,i.getPersistentState)(t,e[r].metadata)),this.updateState({[r]:n})})),t[r]=s.state??(null===(n=s.getState)||void 0===n?void 0:n.call(s))}this.updateState(t)}getFlatState(){if(!this.config)return{};let e={};for(const t of Object.keys(this.config)){const n=this.config[t],r=n.getState?n.getState():n.state;e={...e,...r}}return e}}n.default=a}}},{package:"$root$",file:"app/scripts/lib/ComposableObservableStore.js"}],[55,{"@metamask/name-controller":1529,"@metamask/snaps-utils":2163,loglevel:3842},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.SnapsNameProvider=void 0;var r,i=e("@metamask/name-controller"),s=e("@metamask/snaps-utils"),a=(r=e("loglevel"))&&r.__esModule?r:{default:r};function o(e,t){c(e,t),t.add(e)}function c(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function u(e,t){return function(e,t){if(t.get)return t.get.call(e);return t.value}(e,d(e,t,"get"))}function l(e,t,n){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return n}function h(e,t,n){return function(e,t,n){if(t.set)t.set.call(e,n);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=n}}(e,d(e,t,"set"),n),n}function d(e,t,n){if(!t.has(e))throw new TypeError("attempted to "+n+" private field on non-instance");return t.get(e)}var f=new WeakMap,p=new WeakSet,g=new WeakSet;function m(){const e=u(this,f).call("PermissionController:getState").subjects;return u(this,f).call("SnapController:getAll").filter((({id:t})=>{var n;return null===(n=e[t])||void 0===n?void 0:n.permissions["endowment:name-lookup"]}))}async function y(e,t){const{variation:n,value:r}=t,i=e.id,o={chainId:`eip155:${parseInt(n,16)}`,address:r};let c,l;try{const t=await u(this,f).call("SnapController:handleRequest",{snapId:e.id,origin:"",handler:s.HandlerType.OnNameLookup,request:{jsonrpc:"2.0",method:" ",params:o}}),n=null==t?void 0:t.resolvedDomains;c=n?[...new Set(n.map((e=>e.resolvedDomain)))]:[]}catch(t){a.default.error("Snap name provider request failed",{snapId:e.id,request:o,error:t}),l=t}return{sourceId:i,result:{proposedNames:c,error:l}}}n.SnapsNameProvider=class{constructor({messenger:e}){o(this,g),o(this,p),function(e,t,n){c(e,t),t.set(e,n)}(this,f,{writable:!0,value:void 0}),h(this,f,e)}getMetadata(){const e=l(this,p,m).call(this);return{sourceIds:{[i.NameType.ETHEREUM_ADDRESS]:e.map((e=>e.id))},sourceLabels:e.reduce(((e,t)=>{const n=u(this,f).call("SnapController:get",t.id),r=null==n?void 0:n.manifest.proposedName;return{...e,[t.id]:r||t.id}}),{})}}async getProposedNames(e){const t=l(this,p,m).call(this);return{results:(await Promise.all(t.map((t=>l(this,g,y).call(this,t,e))))).reduce(((e,t)=>{const{sourceId:n,result:r}=t;return{...e,[n]:r}}),{})}}}}}},{package:"$root$",file:"app/scripts/lib/SnapsNameProvider.ts"}],[551,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.version=void 0,n.version="wallet/5.7.0"}}},{package:"@ethersproject/wallet",file:"node_modules/@ethersproject/wallet/lib/_version.js"}],[552,{"./_version":551,"@ethersproject/abstract-provider":463,"@ethersproject/abstract-signer":465,"@ethersproject/address":467,"@ethersproject/bytes":476,"@ethersproject/hash":489,"@ethersproject/hdnode":494,"@ethersproject/json-wallets":497,"@ethersproject/keccak256":502,"@ethersproject/logger":504,"@ethersproject/properties":510,"@ethersproject/random":533,"@ethersproject/signing-key":543,"@ethersproject/transactions":550},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),s=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,s){function a(e){try{c(r.next(e))}catch(e){s(e)}}function o(e){try{c(r.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,o)}c((r=r.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,r,i,s,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return s={next:o(0),throw:o(1),return:o(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function o(s){return function(o){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]{const r=this.get(n);r!==undefined&&e.push([n,r])})),e.values()}keys(){return this.map.keys()}values(){const e=[];return this.map.forEach(((t,n)=>{const r=this.get(n);r!==undefined&&e.push(r)})),e.values()}[Symbol.iterator](){return this.entries()}get[Symbol.toStringTag](){return"WeakRefObjectMap"}forEach(e,t){this.map.forEach(((n,r)=>{const i=this.get(r);i!==undefined&&(t?e.call(t,i,r,this):e(i,r,this))}))}}n.WeakRefObjectMap=i}}},{package:"$root$",file:"app/scripts/lib/WeakRefObjectMap.ts"}],[568,{"@firebase/component":569,"@firebase/logger":571,"@firebase/util":574,idb:3633},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"FirebaseError",{enumerable:!0,get:function(){return s.FirebaseError}}),n._DEFAULT_ENTRY_NAME=n.SDK_VERSION=void 0,n._addComponent=m,n._addOrOverwriteComponent=function(e,t){e.container.addOrOverwriteComponent(t)},n._apps=void 0,n._clearComponents=function(){g.clear()} +LavaPack.loadBundle([[40,{"../../../platforms/extension":252,"../../../translate":255,"../../metamask-notifications/constants/notification-schema":17,"./get-notification-data":38,"./get-notification-image":39},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.createNotificationMessage=f,n.isOnChainNotification=function(e){const t=e;return[null==t?void 0:t.id,null==t?void 0:t.data,null==t?void 0:t.trigger_id].every((e=>e!==undefined))},n.onNotificationClick=async function(e,t){var n;e.notification.close();const r=null==e||null===(n=e.notification)||void 0===n?void 0:n.data;null==t||t(r);const i=`${l.getExtensionURL(null,null)}#notifications/${r.id}`;e.waitUntil(u.clients.openWindow(i))},n.onPushNotification=async function(e){const t=f(e);if(!t)return;const n=null==u?void 0:u.registration;if(!n)return;const r=await(0,c.getNotificationImage)();await n.showNotification(t.title,{body:t.description,icon:r,tag:null==e?void 0:e.id,data:e})};var r,i=e("../../metamask-notifications/constants/notification-schema"),s=e("../../../translate"),a=(r=e("../../../platforms/extension"))&&r.__esModule?r:{default:r},o=e("./get-notification-data"),c=e("./get-notification-image");const u=self,l=new a.default;function h(e){return i.CHAIN_SYMBOLS[e]??null}const d={erc20_sent:{title:(0,s.t)("pushPlatformNotificationsFundsSentTitle"),defaultDescription:(0,s.t)("pushPlatformNotificationsFundsSentDescriptionDefault"),getDescription:e=>{var t,n,r;const i=null==e||null===(t=e.data)||void 0===t||null===(t=t.token)||void 0===t?void 0:t.symbol,a=null==e||null===(n=e.data)||void 0===n||null===(n=n.token)||void 0===n?void 0:n.amount,c=null==e||null===(r=e.data)||void 0===r||null===(r=r.token)||void 0===r?void 0:r.decimals;if(!i||!a||!c)return null;const u=(0,o.getAmount)(a,c,{shouldEllipse:!0});return(0,s.t)("pushPlatformNotificationsFundsSentDescription",u,i)}},eth_sent:{title:(0,s.t)("pushPlatformNotificationsFundsSentTitle"),defaultDescription:(0,s.t)("pushPlatformNotificationsFundsSentDescriptionDefault"),getDescription:e=>{var t;const n=h(null==e?void 0:e.chain_id),r=null==e||null===(t=e.data)||void 0===t||null===(t=t.amount)||void 0===t?void 0:t.eth;if(!n||!r)return null;const i=(0,o.formatAmount)(parseFloat(r),{shouldEllipse:!0});return(0,s.t)("pushPlatformNotificationsFundsSentDescription",i,n)}},erc20_received:{title:(0,s.t)("pushPlatformNotificationsFundsReceivedTitle"),defaultDescription:(0,s.t)("pushPlatformNotificationsFundsReceivedDescriptionDefault"),getDescription:e=>{var t,n,r;const i=null==e||null===(t=e.data)||void 0===t||null===(t=t.token)||void 0===t?void 0:t.symbol,a=null==e||null===(n=e.data)||void 0===n||null===(n=n.token)||void 0===n?void 0:n.amount,c=null==e||null===(r=e.data)||void 0===r||null===(r=r.token)||void 0===r?void 0:r.decimals;if(!i||!a||!c)return null;const u=(0,o.getAmount)(a,c,{shouldEllipse:!0});return(0,s.t)("pushPlatformNotificationsFundsReceivedDescription",u,i)}},eth_received:{title:(0,s.t)("pushPlatformNotificationsFundsReceivedTitle"),defaultDescription:(0,s.t)("pushPlatformNotificationsFundsReceivedDescriptionDefault"),getDescription:e=>{var t;const n=h(null==e?void 0:e.chain_id),r=null==e||null===(t=e.data)||void 0===t||null===(t=t.amount)||void 0===t?void 0:t.eth;if(!n||!r)return null;const i=(0,o.formatAmount)(parseFloat(r),{shouldEllipse:!0});return(0,s.t)("pushPlatformNotificationsFundsReceivedDescription",i,n)}},metamask_swap_completed:{title:(0,s.t)("pushPlatformNotificationsSwapCompletedTitle"),defaultDescription:(0,s.t)("pushPlatformNotificationsSwapCompletedDescription")},erc721_sent:{title:(0,s.t)("pushPlatformNotificationsNftSentTitle"),defaultDescription:(0,s.t)("pushPlatformNotificationsNftSentDescription")},erc1155_sent:{title:(0,s.t)("pushPlatformNotificationsNftSentTitle"),defaultDescription:(0,s.t)("pushPlatformNotificationsNftSentDescription")},erc721_received:{title:(0,s.t)("pushPlatformNotificationsNftReceivedTitle"),defaultDescription:(0,s.t)("pushPlatformNotificationsNftReceivedDescription")},erc1155_received:{title:(0,s.t)("pushPlatformNotificationsNftReceivedTitle"),defaultDescription:(0,s.t)("pushPlatformNotificationsNftReceivedDescription")},rocketpool_stake_completed:{title:(0,s.t)("pushPlatformNotificationsStakingRocketpoolStakeCompletedTitle"),defaultDescription:(0,s.t)("pushPlatformNotificationsStakingRocketpoolStakeCompletedDescription")},rocketpool_unstake_completed:{title:(0,s.t)("pushPlatformNotificationsStakingRocketpoolUnstakeCompletedTitle"),defaultDescription:(0,s.t)("pushPlatformNotificationsStakingRocketpoolUnstakeCompletedDescription")},lido_stake_completed:{title:(0,s.t)("pushPlatformNotificationsStakingLidoStakeCompletedTitle"),defaultDescription:(0,s.t)("pushPlatformNotificationsStakingLidoStakeCompletedDescription")},lido_stake_ready_to_be_withdrawn:{title:(0,s.t)("pushPlatformNotificationsStakingLidoStakeReadyToBeWithdrawnTitle"),defaultDescription:(0,s.t)("pushPlatformNotificationsStakingLidoStakeReadyToBeWithdrawnDescription")},lido_withdrawal_requested:{title:(0,s.t)("pushPlatformNotificationsStakingLidoWithdrawalRequestedTitle"),defaultDescription:(0,s.t)("pushPlatformNotificationsStakingLidoWithdrawalRequestedDescription")},lido_withdrawal_completed:{title:(0,s.t)("pushPlatformNotificationsStakingLidoWithdrawalCompletedTitle"),defaultDescription:(0,s.t)("pushPlatformNotificationsStakingLidoWithdrawalCompletedDescription")}};function f(e){if(null==e||!e.type)return null;const t=d[e.type];if(!t)return null;let n=null;try{var r;n=(null==t||null===(r=t.getDescription)||void 0===r?void 0:r.call(t,e))??t.defaultDescription??null}catch(e){n=t.defaultDescription??null}return{title:t.title??"",description:n??""}}}}},{package:"$root$",file:"app/scripts/controllers/push-platform-notifications/utils/get-notification-message.ts"}],[4063,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){t.exports="function"==typeof queueMicrotask?queueMicrotask:e=>Promise.resolve().then(e)}}},{package:"@metamask/snaps-controllers>tar-stream>streamx>queue-tick",file:"node_modules/queue-tick/queue-microtask.js"}],[41,{"../../../shared/constants/common":4495,"../../../shared/constants/gas":4500,"../../../shared/constants/metametrics":4505,"../../../shared/constants/network":4507,"../../../shared/constants/smartTransactions":4514,"../../../shared/constants/swaps":4516,"../../../shared/constants/time":4518,"../../../shared/lib/fetch-with-cache":4525,"../../../shared/lib/swaps-utils":4528,"../../../shared/lib/transactions-controller-utils":4531,"../../../shared/modules/Numeric":4533,"../../../shared/modules/conversion.utils":4537,"../../../shared/modules/string-utils":4558,"../../../shared/modules/swaps.utils":4559,"@ethersproject/contracts":483,"@ethersproject/providers":521,"@metamask/obs-store":1610,"@sentry/browser":2409,"bignumber.js":2933,"human-standard-token-abi":3631,lodash:3836},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.utils=n.default=void 0;var r=e("@ethersproject/providers"),i=e("@ethersproject/contracts"),s=E(e("bignumber.js")),a=e("@metamask/obs-store"),o=e("lodash"),c=E(e("human-standard-token-abi")),u=e("@sentry/browser"),l=e("../../../shared/modules/conversion.utils"),h=e("../../../shared/constants/swaps"),d=e("../../../shared/constants/gas"),f=e("../../../shared/constants/network"),p=e("../../../shared/constants/metametrics"),g=e("../../../shared/constants/smartTransactions"),m=e("../../../shared/modules/swaps.utils"),y=e("../../../shared/lib/swaps-utils"),b=E(e("../../../shared/lib/fetch-with-cache")),w=e("../../../shared/constants/time"),_=e("../../../shared/modules/string-utils"),v=e("../../../shared/lib/transactions-controller-utils"),S=e("../../../shared/modules/Numeric"),k=e("../../../shared/constants/common");function E(e){return e&&e.__esModule?e:{default:e}}const T=25e5,A=w.MINUTE;function x(e=25e5,t=0,n=0){const r=new s.default(e,10).minus(t,10);return!r.lt(0)&&r.lt(n,16)?`0x${r.toString(16)}`:n}const C={quotes:{},quotesPollingLimitEnabled:!1,fetchParams:null,tokens:null,tradeTxId:null,approveTxId:null,quotesLastFetched:null,customMaxGas:"",customGasPrice:null,customMaxFeePerGas:null,customMaxPriorityFeePerGas:null,swapsUserFeeLevel:"",selectedAggId:null,customApproveTxData:"",errorKey:"",topAggId:null,routeState:"",swapsFeatureIsLive:!0,saveFetchedQuotes:!1,swapsQuoteRefreshTime:A,swapsQuotePrefetchingRefreshTime:A,swapsStxBatchStatusRefreshTime:g.FALLBACK_SMART_TRANSACTIONS_REFRESH_TIME,swapsStxGetTransactionsRefreshTime:g.FALLBACK_SMART_TRANSACTIONS_REFRESH_TIME,swapsStxMaxFeeMultiplier:g.FALLBACK_SMART_TRANSACTIONS_MAX_FEE_MULTIPLIER,swapsFeatureFlags:{}};function P(e){if(!Array.isArray(e)||0===e.length)throw new Error("Expected non-empty array param.");const t=[...e];if(t.sort(((e,t)=>{const n=new s.default(e.overallValueOfQuote,10),r=new s.default(t.overallValueOfQuote,10);return n.equals(r)?0:n.lessThan(r)?-1:1})),t.length%2==1){const e=t[(t.length-1)/2].overallValueOfQuote;return I(t.filter((t=>e===t.overallValueOfQuote)))}const n=t.length/2,r=n-1,i=t[n].overallValueOfQuote,a=t[r].overallValueOfQuote,o=t.filter((e=>i===e.overallValueOfQuote)),c=t.filter((e=>a===e.overallValueOfQuote)),u=I(o),l=I(c);return{ethFee:new s.default(u.ethFee,10).plus(l.ethFee,10).dividedBy(2).toString(10),metaMaskFeeInEth:new s.default(u.metaMaskFeeInEth,10).plus(l.metaMaskFeeInEth,10).dividedBy(2).toString(10),ethValueOfTokens:new s.default(u.ethValueOfTokens,10).plus(l.ethValueOfTokens,10).dividedBy(2).toString(10)}}function I(e){const t=e.reduce(((e,t)=>({ethFee:e.ethFee.plus(t.ethFee,10),metaMaskFeeInEth:e.metaMaskFeeInEth.plus(t.metaMaskFeeInEth,10),ethValueOfTokens:e.ethValueOfTokens.plus(t.ethValueOfTokens,10)})),{ethFee:new s.default(0,10),metaMaskFeeInEth:new s.default(0,10),ethValueOfTokens:new s.default(0,10)});return{ethFee:t.ethFee.div(e.length,10).toString(10),metaMaskFeeInEth:t.metaMaskFeeInEth.div(e.length,10).toString(10),ethValueOfTokens:t.ethValueOfTokens.div(e.length,10).toString(10)}}n.default=class{constructor({getBufferedGasLimit:e,provider:t,getProviderConfig:n,getTokenRatesState:i,fetchTradesInfo:s=y.fetchTradesInfo,getCurrentChainId:o,getLayer1GasFee:c,getEIP1559GasFeeEstimates:u,trackMetaMetricsEvent:l},h){var d;this.store=new a.ObservableStore({swapsState:{...C,swapsFeatureFlags:(null==h||null===(d=h.swapsState)||void 0===d?void 0:d.swapsFeatureFlags)||{}}}),this.resetState=()=>{var e;this.store.updateState({swapsState:{...C,swapsFeatureFlags:null==h||null===(e=h.swapsState)||void 0===e?void 0:e.swapsFeatureFlags}})},this._fetchTradesInfo=s,this._getCurrentChainId=o,this._getEIP1559GasFeeEstimates=u,this._getLayer1GasFee=c,this.getBufferedGasLimit=e,this.getTokenRatesState=i,this.trackMetaMetricsEvent=l,this.pollCount=0,this.getProviderConfig=n,this.indexOfNewestCallInFlight=0,this.provider=t,this.ethersProvider=new r.Web3Provider(t),this._ethersProviderChainId=this._getCurrentChainId()}async fetchSwapsNetworkConfig(e){const t=await(0,b.default)({url:(0,y.getBaseApi)("network",e),fetchOptions:{method:"GET"},cacheOptions:{cacheRefreshTime:6e5},functionName:"fetchSwapsNetworkConfig"}),{refreshRates:n,parameters:r={}}=t||{};if(!n||"number"!=typeof n.quotes||"number"!=typeof n.quotesPrefetching)throw new Error(`MetaMask - invalid response for refreshRates: ${t}`);return{quotes:1e3*n.quotes,quotesPrefetching:1e3*n.quotesPrefetching,stxGetTransactions:1e3*n.stxGetTransactions,stxBatchStatus:1e3*n.stxBatchStatus,stxStatusDeadline:n.stxStatusDeadline,stxMaxFeeMultiplier:r.stxMaxFeeMultiplier}}async _setSwapsNetworkConfig(){var e,t,n,r,i,s;const a=this._getCurrentChainId();let o;try{o=await this.fetchSwapsNetworkConfig(a)}catch(e){console.error("Request for Swaps network config failed: ",e)}const{swapsState:c}=this.store.getState();this.store.updateState({swapsState:{...c,swapsQuoteRefreshTime:(null===(e=o)||void 0===e?void 0:e.quotes)||A,swapsQuotePrefetchingRefreshTime:(null===(t=o)||void 0===t?void 0:t.quotesPrefetching)||A,swapsStxGetTransactionsRefreshTime:(null===(n=o)||void 0===n?void 0:n.stxGetTransactions)||g.FALLBACK_SMART_TRANSACTIONS_REFRESH_TIME,swapsStxBatchStatusRefreshTime:(null===(r=o)||void 0===r?void 0:r.stxBatchStatus)||g.FALLBACK_SMART_TRANSACTIONS_REFRESH_TIME,swapsStxStatusDeadline:(null===(i=o)||void 0===i?void 0:i.stxStatusDeadline)||g.FALLBACK_SMART_TRANSACTIONS_DEADLINE,swapsStxMaxFeeMultiplier:(null===(s=o)||void 0===s?void 0:s.stxMaxFeeMultiplier)||g.FALLBACK_SMART_TRANSACTIONS_MAX_FEE_MULTIPLIER}})}pollForNewQuotes(){const{swapsState:{swapsQuoteRefreshTime:e,swapsQuotePrefetchingRefreshTime:t,quotesPollingLimitEnabled:n}}=this.store.getState(),r=n?e:t;this.pollingTimeout=setTimeout((()=>{var e;const{swapsState:t}=this.store.getState();this.fetchAndSetQuotes(t.fetchParams,null===(e=t.fetchParams)||void 0===e?void 0:e.metaData,!0)}),r)}stopPollingForQuotes(){this.pollingTimeout&&clearTimeout(this.pollingTimeout)}async fetchAndSetQuotes(e,t={},n){const{chainId:i}=t;i!==this._ethersProviderChainId&&(this.ethersProvider=new r.Web3Provider(this.provider),this._ethersProviderChainId=i);const{swapsState:{quotesPollingLimitEnabled:s,saveFetchedQuotes:a}}=this.store.getState();if(!e)return null;n||(this.pollCount=0),clearTimeout(this.pollingTimeout),n||this.setSwapsErrorKey("");const c=this.indexOfNewestCallInFlight+1;this.indexOfNewestCallInFlight=c,a||this.setSaveFetchedQuotes(!0);let[u]=await Promise.all([this._fetchTradesInfo(e,{...t}),this._setSwapsNetworkConfig()]);const{swapsState:{saveFetchedQuotes:l}}=this.store.getState();if(!l)return[{},null];u=(0,o.mapValues)(u,(e=>({...e,sourceTokenInfo:t.sourceTokenInfo,destinationTokenInfo:t.destinationTokenInfo}))),(i===f.CHAIN_IDS.OPTIMISM||i===f.CHAIN_IDS.BASE)&&Object.values(u).length>0&&await Promise.all(Object.values(u).map((async e=>{if(e.trade){const t=await this._getLayer1GasFee({transactionParams:e.trade,chainId:i});e.multiLayerL1TradeFeeTotal=t}return e})));const d=Date.now();let p=!1;if(!(0,m.isSwapsDefaultTokenAddress)(e.sourceToken,i)&&Object.values(u).length){const t=await this._getERC20Allowance(e.sourceToken,e.fromAddress,i),[r]=Object.values(u);if(p=r.approvalNeeded&&t.eq(0)&&"wrappedNative"!==r.aggregator,p){if(!n){const{gasLimit:e}=await this.timedoutGasReturn(r.approvalNeeded,r.aggregator);u=(0,o.mapValues)(u,(t=>({...t,approvalNeeded:{...t.approvalNeeded,gas:e||h.DEFAULT_ERC20_APPROVE_GAS}})))}}else u=(0,o.mapValues)(u,(e=>({...e,approvalNeeded:null})))}let g=null;if(p||null!=e&&e.balanceError||(u=await this.getAllQuotesWithGasEstimates(u)),0===Object.values(u).length)this.setSwapsErrorKey(h.QUOTES_NOT_AVAILABLE_ERROR);else{const[e,t]=await this._findTopQuoteAndCalculateSavings(u);g=e,u=t}if(this.indexOfNewestCallInFlight!==c)throw new Error(h.SWAPS_FETCH_ORDER_CONFLICT);const{swapsState:y}=this.store.getState();let{selectedAggId:b}=y;return u[b]||(b=null),this.store.updateState({swapsState:{...y,quotes:u,fetchParams:{...e,metaData:t},quotesLastFetched:d,selectedAggId:b,topAggId:g}}),s&&(this.pollCount+=1),!s||this.pollCount<4?(this.pollForNewQuotes(),[u,g]):(this.resetPostFetchState(),this.setSwapsErrorKey(h.QUOTES_EXPIRED_ERROR),null)}safeRefetchQuotes(){const{swapsState:e}=this.store.getState();!this.pollingTimeout&&e.fetchParams&&this.fetchAndSetQuotes(e.fetchParams)}setSelectedQuoteAggId(e){const{swapsState:t}=this.store.getState();this.store.updateState({swapsState:{...t,selectedAggId:e}})}setSwapsTokens(e){const{swapsState:t}=this.store.getState();this.store.updateState({swapsState:{...t,tokens:e}})}clearSwapsQuotes(){const{swapsState:e}=this.store.getState();this.store.updateState({swapsState:{...e,quotes:{}}})}setSwapsErrorKey(e){const{swapsState:t}=this.store.getState();this.store.updateState({swapsState:{...t,errorKey:e}})}async getAllQuotesWithGasEstimates(e){const t=await Promise.all(Object.values(e).map((async e=>{const{gasLimit:t,simulationFails:n}=await this.timedoutGasReturn(e.trade,e.aggregator);return[t,n,e.aggregator]}))),n={};return t.forEach((([t,r,i])=>{if(t&&!r){const r=x(e[i].maxGas,e[i].estimatedRefund,t);n[i]={...e[i],gasEstimate:t,gasEstimateWithRefund:r}}else e[i].approvalNeeded&&(n[i]=e[i])})),n}timedoutGasReturn(e,t=""){return new Promise((n=>{let r=!1;const i=setTimeout((()=>{r=!0,this.trackMetaMetricsEvent({event:p.MetaMetricsEventName.QuoteError,category:p.MetaMetricsEventCategory.Swaps,properties:{error_type:p.MetaMetricsEventErrorType.GasTimeout,aggregator:t}}),n({gasLimit:null,simulationFails:!0})}),5*w.SECOND),s={data:e.data,from:e.from,to:e.to,value:e.value};this.getBufferedGasLimit({txParams:s},1).then((({gasLimit:e,simulationFails:t})=>{r||(clearTimeout(i),n({gasLimit:e,simulationFails:t}))})).catch((e=>{(0,u.captureException)(e,{extra:{aggregator:t}}),r||(clearTimeout(i),n({gasLimit:null,simulationFails:!0}))}))}))}async setInitialGasEstimate(e){const{swapsState:t}=this.store.getState(),n={...t.quotes[e]},{gasLimit:r,simulationFails:i}=await this.timedoutGasReturn(n.trade,n.aggregator);if(r&&!i){const e=x(n.maxGas,n.estimatedRefund,r);n.gasEstimate=r,n.gasEstimateWithRefund=e}this.store.updateState({swapsState:{...t,quotes:{...t.quotes,[e]:n}}})}setApproveTxId(e){const{swapsState:t}=this.store.getState();this.store.updateState({swapsState:{...t,approveTxId:e}})}setTradeTxId(e){const{swapsState:t}=this.store.getState();this.store.updateState({swapsState:{...t,tradeTxId:e}})}setQuotesLastFetched(e){const{swapsState:t}=this.store.getState();this.store.updateState({swapsState:{...t,quotesLastFetched:e}})}setSwapsTxGasPrice(e){const{swapsState:t}=this.store.getState();this.store.updateState({swapsState:{...t,customGasPrice:e}})}setSwapsTxMaxFeePerGas(e){const{swapsState:t}=this.store.getState();this.store.updateState({swapsState:{...t,customMaxFeePerGas:e}})}setSwapsUserFeeLevel(e){const{swapsState:t}=this.store.getState();this.store.updateState({swapsState:{...t,swapsUserFeeLevel:e}})}setSwapsQuotesPollingLimitEnabled(e){const{swapsState:t}=this.store.getState();this.store.updateState({swapsState:{...t,quotesPollingLimitEnabled:e}})}setSwapsTxMaxFeePriorityPerGas(e){const{swapsState:t}=this.store.getState();this.store.updateState({swapsState:{...t,customMaxPriorityFeePerGas:e}})}setSwapsTxGasLimit(e){const{swapsState:t}=this.store.getState();this.store.updateState({swapsState:{...t,customMaxGas:e}})}setCustomApproveTxData(e){const{swapsState:t}=this.store.getState();this.store.updateState({swapsState:{...t,customApproveTxData:e}})}setBackgroundSwapRouteState(e){const{swapsState:t}=this.store.getState();this.store.updateState({swapsState:{...t,routeState:e}})}setSaveFetchedQuotes(e){const{swapsState:t}=this.store.getState();this.store.updateState({swapsState:{...t,saveFetchedQuotes:e}})}setSwapsLiveness(e){const{swapsState:t}=this.store.getState(),{swapsFeatureIsLive:n}=e;this.store.updateState({swapsState:{...t,swapsFeatureIsLive:n}})}setSwapsFeatureFlags(e){const{swapsState:t}=this.store.getState();this.store.updateState({swapsState:{...t,swapsFeatureFlags:e}})}resetPostFetchState(){const{swapsState:e}=this.store.getState();this.store.updateState({swapsState:{...C,tokens:e.tokens,fetchParams:e.fetchParams,swapsFeatureIsLive:e.swapsFeatureIsLive,swapsQuoteRefreshTime:e.swapsQuoteRefreshTime,swapsQuotePrefetchingRefreshTime:e.swapsQuotePrefetchingRefreshTime,swapsFeatureFlags:e.swapsFeatureFlags}}),clearTimeout(this.pollingTimeout)}resetSwapsState(){const{swapsState:e}=this.store.getState();this.store.updateState({swapsState:{...C,swapsQuoteRefreshTime:e.swapsQuoteRefreshTime,swapsQuotePrefetchingRefreshTime:e.swapsQuotePrefetchingRefreshTime,swapsFeatureFlags:e.swapsFeatureFlags}}),clearTimeout(this.pollingTimeout)}async _findTopQuoteAndCalculateSavings(e={}){const{marketData:t}=this.getTokenRatesState(),n=this._getCurrentChainId(),r=t[n],{swapsState:{customGasPrice:i,customMaxPriorityFeePerGas:a}}=this.store.getState();if(!Object.keys(e).length)return{};const c=(0,o.cloneDeep)(e),{gasFeeEstimates:u,gasEstimateType:h}=await this._getEIP1559GasFeeEstimates();let f="0x0";if(h===d.GasEstimateTypes.feeMarket){const{high:{suggestedMaxPriorityFeePerGas:e},estimatedBaseFee:t}=u,n=(0,l.decGWEIToHexWEI)(e),r=new S.Numeric(t,10,k.EtherDenomination.GWEI).toDenomination(k.EtherDenomination.WEI);f=new S.Numeric(a||n,16).add(r).round(6).toString()}else h===d.GasEstimateTypes.legacy?f=i||(0,l.decGWEIToHexWEI)(u.high):h===d.GasEstimateTypes.ethGasPrice&&(f=i||(0,l.decGWEIToHexWEI)(u.gasPrice));let p=null,g=null;Object.values(c).forEach((e=>{var t;const{aggregator:i,approvalNeeded:a,averageGas:o,destinationAmount:c=0,destinationToken:u,destinationTokenInfo:h,gasEstimateWithRefund:d,sourceAmount:y,sourceToken:b,trade:w,fee:E,multiLayerL1TradeFeeTotal:A}=e,x=(d?new s.default(d,16):new s.default(o||T,10)).plus((null==a?void 0:a.gas)||"0x0",16).toString(16);let C=(0,v.calcGasTotal)(x,f);null!==A&&(C=(0,l.sumHexes)(C||"0x0",A||"0x0"));const P=new S.Numeric(C,16,k.EtherDenomination.WEI).add(new S.Numeric(w.value,16,k.EtherDenomination.WEI)),I=P.toDenomination(k.EtherDenomination.ETH).round(6).value,M=(0,m.isSwapsDefaultTokenAddress)(b,n)?P.minus(new S.Numeric(y,10)).toDenomination(k.EtherDenomination.ETH).round(6).value:I,O=(0,v.calcTokenAmount)(c,h.decimals),j=new s.default(100,10).minus(E,10).div(100),D=O.div(j).minus(O),L=null===(t=r[Object.keys(r).find((e=>(0,_.isEqualCaseInsensitive)(e,u)))])||void 0===t?void 0:t.price,N=L||1,R=O.times(N.toString(10),10),B=(0,m.isSwapsDefaultTokenAddress)(u,n)?1:L,F=B===undefined?R:R.minus(M,10);e.ethFee=M.toString(10),B!==undefined&&(e.ethValueOfTokens=R.toString(10),e.overallValueOfQuote=F.toString(10),e.metaMaskFeeInEth=D.times(B.toString(10)).toString(10)),(null===g||F.gt(g))&&(p=i,g=F)}));let y=null;if((0,m.isSwapsDefaultTokenAddress)(c[p].destinationToken,n)||Boolean(r[Object.keys(r).find((e=>{var t;return(0,_.isEqualCaseInsensitive)(e,null===(t=c[p])||void 0===t?void 0:t.destinationToken)}))])){const e=c[p];y={};const{ethFee:t,metaMaskFeeInEth:n,ethValueOfTokens:r}=P(Object.values(c));y.performance=new s.default(e.ethValueOfTokens,10).minus(r,10),y.fee=new s.default(t).minus(e.ethFee,10),y.metaMaskFee=e.metaMaskFeeInEth,y.total=y.performance.plus(y.fee).minus(y.metaMaskFee).toString(10),y.performance=y.performance.toString(10),y.fee=y.fee.toString(10),y.medianMetaMaskFee=n,c[p].isBestQuote=!0,c[p].savings=y}return[p,c]}async _getERC20Allowance(e,t,n){const r=new i.Contract(e,c.default,this.ethersProvider);return await r.allowance(t,h.SWAPS_CHAINID_CONTRACT_ADDRESS_MAP[n])}};n.utils={getMedianEthValueQuote:P,meansOfQuotesFeesAndValue:I}}}},{package:"$root$",file:"app/scripts/controllers/swaps.js"}],[42,{"./utils":45},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.getAnyCachedKey=function(e){const t=o(e).entries().next().value;if(!t)return undefined;const n=t[0];return{salt:(0,r.base64ToByteArray)(n),base64Salt:n,key:t[1]}},n.getCachedKeyBySalt=function(e,t){const n=o(e),i=(0,r.byteArrayToBase64)(t),s=n.get(i);if(!s)return undefined;return{salt:t,base64Salt:i,key:s}},n.setCachedKey=function(e,t,n){Object.keys(a).length>i&&(a={});const c=o(e),u=(0,r.byteArrayToBase64)(t);c.size>s&&c.clear();c.set(u,n)};var r=e("./utils");const i=3,s=10;let a={};const o=e=>{var t;return(t=a)[e]??(t[e]=new Map),a[e]}}}},{package:"$root$",file:"app/scripts/controllers/user-storage/encryption/cache.ts"}],[4259,{"readable-stream":4258},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.ReadableWebToNodeStream=void 0;const r=e("readable-stream");class i extends r.Readable{constructor(e){super(),this.bytesRead=0,this.released=!1,this.reader=e.getReader()}async _read(){if(this.released)return void this.push(null);this.pendingRead=this.reader.read();const e=await this.pendingRead;delete this.pendingRead,e.done||this.released?this.push(null):(this.bytesRead+=e.value.length,this.push(e.value))}async waitForReadToComplete(){this.pendingRead&&await this.pendingRead}async close(){await this.syncAndRelease()}async syncAndRelease(){this.released=!0,await this.waitForReadToComplete(),await this.reader.releaseLock()}}n.ReadableWebToNodeStream=i}}},{package:"@metamask/snaps-controllers>readable-web-to-node-stream",file:"node_modules/readable-web-to-node-stream/lib/index.js"}],[4267,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){(n=t.exports=function(e){return String(e).replace(n.expr,"")}).expr=/\/+$/}}},{package:"remove-trailing-slash",file:"node_modules/remove-trailing-slash/index.js"}],[4275,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){function r(e){if(Array.isArray(e)){const t=[];for(let n=0;ne.length)throw new Error("invalid RLP (safeSlice): end slice of Uint8Array out-of-bounds");return e.slice(t,n)}function s(e){if(0===e[0])throw new Error("invalid RLP: extra zeros");return h(l(e))}function a(e,t){if(e<56)return Uint8Array.from([e+t]);const n=g(e),r=g(t+55+n.length/2);return Uint8Array.from(d(r+n))}function o(e,t=!1){if(!e||0===e.length)return Uint8Array.from([]);const n=c(y(e));if(t)return n;if(0!==n.remainder.length)throw new Error("invalid RLP: remainder must be zero");return n.data}function c(e){let t,n,r,a,o;const u=[],l=e[0];if(l<=127)return{data:e.slice(0,1),remainder:e.slice(1)};if(l<=183){if(t=l-127,r=128===l?Uint8Array.from([]):i(e,1,t),2===t&&r[0]<128)throw new Error("invalid RLP encoding: invalid prefix, single byte < 0x80 are not prefixed");return{data:r,remainder:e.slice(t)}}if(l<=191){if(n=l-182,e.length-1e.length)throw new Error("invalid RLP: total length is larger than the data");for(a=i(e,n,r);a.length;)o=c(a),u.push(o.data),a=o.remainder;return{data:u,remainder:e.slice(r)}}}Object.defineProperty(n,"__esModule",{value:!0}),n.utils=n.decode=n.encode=void 0,n.encode=r,n.decode=o;const u=Array.from({length:256},((e,t)=>t.toString(16).padStart(2,"0")));function l(e){let t="";for(let n=0;ne+t.length),0),n=new Uint8Array(t);for(let t=0,r=0;t=2&&"0"===e[0]&&"x"===e[1]}function y(e){if(e instanceof Uint8Array)return e;if("string"==typeof e)return m(e)?d((t="string"!=typeof(n=e)?n:m(n)?n.slice(2):n).length%2?`0${t}`:t):p(e);var t,n;if("number"==typeof e||"bigint"==typeof e)return e?d(g(e)):Uint8Array.from([]);if(null===e||e===undefined)return Uint8Array.from([]);throw new Error("toBytes: received unsupported type "+typeof e)}n.utils={bytesToHex:l,concatBytes:f,hexToBytes:d,utf8ToBytes:p};const b={encode:r,decode:o};n.default=b}}},{package:"eth-lattice-keyring>rlp",file:"node_modules/rlp/dist/index.js"}],[43,{"./cache":42,"./utils":45,"@noble/ciphers/aes":2317,"@noble/ciphers/webcrypto":2320,"@noble/hashes/scrypt":2338,"@noble/hashes/sha256":2339,"@noble/hashes/utils":2342},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.createSHA256Hash=O,n.default=void 0;var r=e("@noble/hashes/scrypt"),i=e("@noble/hashes/sha256"),s=e("@noble/hashes/utils"),a=e("@noble/ciphers/aes"),o=e("@noble/ciphers/webcrypto"),c=e("./cache"),u=e("./utils");function l(e,t){d(e,t),t.add(e)}function h(e,t,n){d(e,t),t.set(e,n)}function d(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function f(e,t){var n=function(e,t,n){if(!t.has(e))throw new TypeError("attempted to "+n+" private field on non-instance");return t.get(e)}(e,t,"get");return function(e,t){if(t.get)return t.get.call(e);return t.value}(e,n)}function p(e,t,n){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return n}var g=new WeakMap,m=new WeakMap,y=new WeakMap,b=new WeakMap,w=new WeakMap,_=new WeakMap,v=new WeakSet,S=new WeakSet,k=new WeakSet,E=new WeakSet,T=new WeakSet;function A(e,t){const{key:n,salt:r}=p(this,T,I).call(this,t,{N:f(this,b),r:f(this,w),p:f(this,_),dkLen:f(this,m)}),i=(0,s.utf8ToBytes)(e),a=(0,s.concatBytes)(r,p(this,k,C).call(this,i,n)),o={v:"1",t:"scrypt",d:(0,u.byteArrayToBase64)(a),o:{N:f(this,b),r:f(this,w),p:f(this,_),dkLen:f(this,m)},saltLen:f(this,y)};return JSON.stringify(o)}function x(e,t){const{o:n,d:r,saltLen:i}=e,s=(0,u.base64ToByteArray)(r),a=s.slice(0,i),o=s.slice(i,s.length),{key:c}=p(this,T,I).call(this,t,{N:n.N,r:n.r,p:n.p,dkLen:n.dkLen},a);return(0,u.bytesToUtf8)(p(this,E,P).call(this,o,c))}function C(e,t){const n=(0,o.randomBytes)(f(this,g)),r=(0,a.gcm)(t,n).encrypt(e);return(0,s.concatBytes)(n,r)}function P(e,t){const n=e.slice(0,f(this,g)),r=e.slice(f(this,g),e.length);return(0,a.gcm)(t,n).decrypt(r)}function I(e,t,n){const i=O(e),s=n?(0,c.getCachedKeyBySalt)(i,n):(0,c.getAnyCachedKey)(i);if(s)return{key:s.key,salt:s.salt};const a=n??(0,o.randomBytes)(f(this,y)),u=(0,r.scrypt)(e,a,{N:t.N,r:t.r,p:t.p,dkLen:t.dkLen});return(0,c.setCachedKey)(i,a,u),{key:u,salt:a}}const M=new class{constructor(){l(this,T),l(this,E),l(this,k),l(this,S),l(this,v),h(this,g,{writable:!0,value:12}),h(this,m,{writable:!0,value:16}),h(this,y,{writable:!0,value:16}),h(this,b,{writable:!0,value:2**17}),h(this,w,{writable:!0,value:8}),h(this,_,{writable:!0,value:1})}encryptString(e,t){try{return p(this,v,A).call(this,e,t)}catch(e){const t=e instanceof Error?e.message:e;throw new Error(`Unable to encrypt string - ${t}`)}}decryptString(e,t){try{const n=JSON.parse(e);if("1"===n.v&&"scrypt"===n.t)return p(this,S,x).call(this,n,t);throw new Error(`Unsupported encrypted data payload - ${e}`)}catch(e){const t=e instanceof Error?e.message:e;throw new Error(`Unable to decrypt string - ${t}`)}}};n.default=M;function O(e){const t=(0,i.sha256)(e);return(0,s.bytesToHex)(t)}}}},{package:"$root$",file:"app/scripts/controllers/user-storage/encryption/encryption.ts"}],[4353,{events:3328,"fast-fifo":3358,"queue-tick":4063},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){const{EventEmitter:r}=e("events"),i=new Error("Stream was destroyed"),s=new Error("Premature close"),a=e("queue-tick"),o=e("fast-fifo"),c=134217727,u=1^c,l=2^c,h=64,d=128,f=256,p=1024,g=2048,m=4096,y=8192,b=16384,w=32768,_=16^c,v=768^c,S=134184959,k=32^c,E=2<<17,T=4<<17,A=8<<17,x=16<<17,C=32<<17,P=64<<17,I=128<<17,M=256<<17,O=512<<17,j=100532223,D=133693439,L=117440511,N=131088,R=134086639,B=4210688,F=14,K=15,U=4210702,q=16809984,H=16809999,W=1179648,$=1179663,z=Symbol.asyncIterator||Symbol("asyncIterator");class V{constructor(e,{highWaterMark:t=16384,map:n=null,mapWritable:r,byteLength:i,byteLengthWritable:s}={}){this.stream=e,this.queue=new o,this.highWaterMark=t,this.buffered=0,this.error=null,this.pipeline=null,this.drains=null,this.byteLength=s||i||pe,this.map=r||n,this.afterWrite=ee.bind(this),this.afterUpdateNextTick=re.bind(this)}get ended(){return!!(this.stream._duplexState&C)}push(e){return null!==this.map&&(e=this.map(e)),this.buffered+=this.byteLength(e),this.queue.push(e),this.buffered0;)t.push(this.shift());for(let e=0;e0;)r.drains.shift().resolve(!1);null!==r.pipeline&&r.pipeline.done(t,e)}}function ee(e){const t=this.stream;e&&t.destroy(e),t._duplexState&=j,null!==this.drains&&function(e){for(let t=0;t=e._readableState.highWaterMark}static isPaused(e){return!(e._duplexState&f)}[z](){const e=this;let t=null,n=null,r=null;return this.on("error",(e=>{t=e})),this.on("readable",(function(){null!==n&&s(e.read())})),this.on("close",(function(){null!==n&&s(null)})),{[z](){return this},next:()=>new Promise((function(t,i){n=t,r=i;const a=e.read();null!==a?s(a):8&e._duplexState&&s(null)})),return:()=>a(null),throw:e=>a(e)};function s(s){null!==r&&(t?r(t):null!==s||e._duplexState&b?n({value:s,done:null===s}):r(i),r=n=null)}function a(t){return e.destroy(t),new Promise(((n,r)=>{if(8&e._duplexState)return n({value:undefined,done:!0});e.once("close",(function(){t?r(t):n({value:undefined,done:!0})}))}))}}}class ce extends oe{constructor(e){super(e),this._duplexState=1,this._writableState=new V(this,e),e&&(e.writev&&(this._writev=e.writev),e.write&&(this._write=e.write),e.final&&(this._final=e.final))}_writev(e,t){t(null)}_write(e,t){this._writableState.autoBatch(e,t)}_final(e){e(null)}write(e){return this._writableState.updateNextTick(),this._writableState.push(e)}end(e){return this._writableState.updateNextTick(),this._writableState.end(e),this}}class ue extends ce{constructor(e){super(e),this._transformState=new Q(this),e&&(e.transform&&(this._transform=e.transform),e.flush&&(this._flush=e.flush))}_write(e,t){this._readableState.buffered>=this._readableState.highWaterMark?this._transformState.data=e:this._transform(e,this._transformState.afterTransform)}_read(e){if(null!==this._transformState.data){const t=this._transformState.data;this._transformState.data=null,e(null),this._transform(t,this._transformState.afterTransform)}else e(null)}_transform(e,t){t(null,e)}_flush(e){e(null)}_final(e){this._transformState.afterFinal=e,this._flush(le.bind(this))}}function le(e,t){const n=this._transformState.afterFinal;if(e)return n(e);null!==t&&t!==undefined&&this.push(t),this.push(null),n(null)}function he(e,...t){const n=Array.isArray(e)?[...e,...t]:[e,...t],r=n.length&&"function"==typeof n[n.length-1]?n.pop():null;if(n.length<2)throw new Error("Pipeline requires at least 2 streams");let i=n[0],a=null,o=null;for(let e=1;e1,u),i.pipe(a)),i=a;if(r){let e=!1;const t=fe(a)||!(!a._writableState||!a._writableState.autoDestroy);a.on("error",(e=>{null===o&&(o=e)})),a.on("finish",(()=>{e=!0,t||r(o)})),t&&a.on("close",(()=>r(o||(e?null:s))))}return a;function c(e,t,n,r){e.on("error",r),e.on("close",(function(){if(t&&e._readableState&&!e._readableState.ended)return r(s);if(n&&e._writableState&&!e._writableState.ended)return r(s)}))}function u(e){if(e&&!o){o=e;for(const t of n)t.destroy(e)}}}function de(e){return!!e._readableState||!!e._writableState}function fe(e){return"number"==typeof e._duplexState&&de(e)}function pe(e){return function(e){return"object"==typeof e&&null!==e&&"number"==typeof e.byteLength}(e)?e.byteLength:1024}function ge(){}function me(){this.destroy(new Error("Stream aborted."))}t.exports={pipeline:he,pipelinePromise:function(...e){return new Promise(((t,n)=>he(...e,(e=>{if(e)return n(e);t()}))))},isStream:de,isStreamx:fe,getStreamError:function(e){const t=e._readableState&&e._readableState.error||e._writableState&&e._writableState.error;return t===i?null:t},Stream:ae,Writable:class extends ae{constructor(e){super(e),this._duplexState|=16385,this._writableState=new V(this,e),e&&(e.writev&&(this._writev=e.writev),e.write&&(this._write=e.write),e.final&&(this._final=e.final),e.eagerOpen&&this._writableState.updateNextTick())}_writev(e,t){t(null)}_write(e,t){this._writableState.autoBatch(e,t)}_final(e){e(null)}static isBackpressured(e){return!!(73400334&e._duplexState)}static drained(e){if(e.destroyed)return Promise.resolve(!1);const t=e._writableState,n=t.queue.length+(e._duplexState&M?1:0);return 0===n?Promise.resolve(!0):(null===t.drains&&(t.drains=[]),new Promise((e=>{t.drains.push({writes:n,resolve:e})})))}write(e){return this._writableState.updateNextTick(),this._writableState.push(e)}end(e){return this._writableState.updateNextTick(),this._writableState.end(e),this}},Readable:oe,Duplex:ce,Transform:ue,PassThrough:class extends ue{}}}}},{package:"@metamask/snaps-controllers>tar-stream>streamx",file:"node_modules/streamx/index.js"}],[4359,{fs:2993},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){const r={S_IFMT:61440,S_IFDIR:16384,S_IFCHR:8192,S_IFBLK:24576,S_IFIFO:4096,S_IFLNK:40960};try{t.exports=e("fs").constants||r}catch{t.exports=r}}}},{package:"@metamask/snaps-controllers>tar-stream",file:"node_modules/tar-stream/constants.js"}],[4360,{"./headers":4361,b4a:2923,"fast-fifo":3358,streamx:4353},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){const{Writable:r,Readable:i,getStreamError:s}=e("streamx"),a=e("fast-fifo"),o=e("b4a"),c=e("./headers"),u=o.alloc(0);class l{constructor(){this.buffered=0,this.shifted=0,this.queue=new a,this._offset=0}push(e){this.buffered+=e.byteLength,this.queue.push(e)}shiftFirst(e){return 0===this._buffered?null:this._next(e)}shift(e){if(e>this.buffered)return null;if(0===e)return u;let t=this._next(e);if(e===t.byteLength)return t;const n=[t];for(;(e-=t.byteLength)>0;)t=this._next(e),n.push(t);return o.concat(n)}_next(e){const t=this.queue.peek(),n=t.byteLength-this._offset;if(e>=n){const e=this._offset?t.subarray(this._offset,t.byteLength):t;return this.queue.shift(),this._offset=0,this.buffered-=n,this.shifted+=n,e}return this.buffered-=e,this.shifted+=e,t.subarray(this._offset,this._offset+=e)}}class h extends i{constructor(e,t,n){super(),this.header=t,this.offset=n,this._parent=e}_read(e){0===this.header.size&&this.push(null),this._parent._stream===this&&this._parent._update(),e(null)}_predestroy(){this._parent.destroy(s(this))}_detach(){this._parent._stream===this&&(this._parent._stream=null,this._parent._missing=p(this.header.size),this._parent._update())}_destroy(e){this._detach(),e(null)}}class d extends r{constructor(e){super(e),e||(e={}),this._buffer=new l,this._offset=0,this._header=null,this._stream=null,this._missing=0,this._longHeader=!1,this._callback=f,this._locked=!1,this._finished=!1,this._pax=null,this._paxGlobal=null,this._gnuLongPath=null,this._gnuLongLinkPath=null,this._filenameEncoding=e.filenameEncoding||"utf-8",this._allowUnknownFormat=!!e.allowUnknownFormat,this._unlockBound=this._unlock.bind(this)}_unlock(e){if(this._locked=!1,e)return this.destroy(e),void this._continueWrite(e);this._update()}_consumeHeader(){if(this._locked)return!1;this._offset=this._buffer.shifted;try{this._header=c.decode(this._buffer.shift(512),this._filenameEncoding,this._allowUnknownFormat)}catch(e){return this._continueWrite(e),!1}if(!this._header)return!0;switch(this._header.type){case"gnu-long-path":case"gnu-long-link-path":case"pax-global-header":case"pax-header":return this._longHeader=!0,this._missing=this._header.size,!0}return this._locked=!0,this._applyLongHeaders(),0===this._header.size||"directory"===this._header.type?(this.emit("entry",this._header,this._createStream(),this._unlockBound),!0):(this._stream=this._createStream(),this._missing=this._header.size,this.emit("entry",this._header,this._stream,this._unlockBound),!0)}_applyLongHeaders(){this._gnuLongPath&&(this._header.name=this._gnuLongPath,this._gnuLongPath=null),this._gnuLongLinkPath&&(this._header.linkname=this._gnuLongLinkPath,this._gnuLongLinkPath=null),this._pax&&(this._pax.path&&(this._header.name=this._pax.path),this._pax.linkpath&&(this._header.linkname=this._pax.linkpath),this._pax.size&&(this._header.size=parseInt(this._pax.size,10)),this._header.pax=this._pax,this._pax=null)}_decodeLongHeader(e){switch(this._header.type){case"gnu-long-path":this._gnuLongPath=c.decodeLongPath(e,this._filenameEncoding);break;case"gnu-long-link-path":this._gnuLongLinkPath=c.decodeLongPath(e,this._filenameEncoding);break;case"pax-global-header":this._paxGlobal=c.decodePax(e);break;case"pax-header":this._pax=null===this._paxGlobal?c.decodePax(e):Object.assign({},this._paxGlobal,c.decodePax(e))}}_consumeLongHeader(){this._longHeader=!1,this._missing=p(this._header.size);const e=this._buffer.shift(this._header.size);try{this._decodeLongHeader(e)}catch(e){return this._continueWrite(e),!1}return!0}_consumeStream(){const e=this._buffer.shiftFirst(this._missing);if(null===e)return!1;this._missing-=e.byteLength;const t=this._stream.push(e);return 0===this._missing?(this._stream.push(null),t&&this._stream._detach(),t&&!1===this._locked):t}_createStream(){return new h(this,this._header,this._offset)}_update(){for(;this._buffer.buffered>0&&!this.destroying;)if(this._missing>0){if(null!==this._stream){if(!1===this._consumeStream())return;continue}if(!0===this._longHeader){if(this._missing>this._buffer.buffered)break;if(!1===this._consumeLongHeader())return!1;continue}const e=this._buffer.shiftFirst(this._missing);null!==e&&(this._missing-=e.byteLength)}else{if(this._buffer.buffered<512)break;if(null!==this._stream||!1===this._consumeHeader())return}this._continueWrite(null)}_continueWrite(e){const t=this._callback;this._callback=f,t(e)}_write(e,t){this._callback=t,this._buffer.push(e),this._update()}_final(e){this._finished=0===this._missing&&0===this._buffer.buffered,e(this._finished?null:new Error("Unexpected end of data"))}_predestroy(){this._continueWrite(null)}_destroy(e){this._stream&&this._stream.destroy(s(this)),e(null)}[Symbol.asyncIterator](){let e=null,t=null,n=null,r=null,i=null;const s=this;return this.on("entry",(function(e,s,a){i=a,s.on("error",f),t?(t({value:s,done:!1}),t=n=null):r=s})),this.on("error",(t=>{e=t})),this.on("close",(function(){if(a(e),!t)return;e?n(e):t({value:undefined,done:!0});t=n=null})),{[Symbol.asyncIterator](){return this},next:()=>new Promise(o),return:()=>c(null),throw:e=>c(e)};function a(e){if(!i)return;const t=i;i=null,t(e)}function o(i,o){return e?o(e):r?(i({value:r,done:!1}),void(r=null)):(t=i,n=o,a(null),void(s._finished&&t&&(t({value:undefined,done:!0}),t=n=null)))}function c(e){return s.destroy(e),a(e),new Promise(((t,n)=>{if(s.destroyed)return t({value:undefined,done:!0});s.once("close",(function(){e?n(e):t({value:undefined,done:!0})}))}))}}}function f(){}function p(e){return(e&=511)&&512-e}t.exports=function(e){return new d(e)}}}},{package:"@metamask/snaps-controllers>tar-stream",file:"node_modules/tar-stream/extract.js"}],[4361,{b4a:2923},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){const r=e("b4a"),i="0000000000000000000",s="7777777777777777777",a="0".charCodeAt(0),o=r.from([117,115,116,97,114,0]),c=r.from([a,a]),u=r.from([117,115,116,97,114,32]),l=r.from([32,0]),h=257,d=263;function f(e,t,n,r){for(;nt?s.slice(0,t)+" ":i.slice(0,t-e.length)+e+" "}function m(e,t,n){if(128&(e=e.subarray(t,t+n))[t=0])return function(e){let t;if(128===e[0])t=!0;else{if(255!==e[0])return null;t=!1}const n=[];let r;for(r=e.length-1;r>0;r--){const i=e[r];t?n.push(i):n.push(255-i)}let i=0;const s=n.length;for(r=0;r=s?s:i>=0||(i+=s)>=0?i:0);for(;t=Math.pow(10,n)&&n++,t+n+e}n.decodeLongPath=function(e,t){return y(e,0,e.length,t)},n.encodePax=function(e){let t="";e.name&&(t+=b(" path="+e.name+"\n")),e.linkname&&(t+=b(" linkpath="+e.linkname+"\n"));const n=e.pax;if(n)for(const e in n)t+=b(" "+e+"="+n[e]+"\n");return r.from(t)},n.decodePax=function(e){const t={};for(;e.length;){let n=0;for(;n100;){const e=n.indexOf("/");if(-1===e)return null;i+=i?"/"+n.slice(0,e):n.slice(0,e),n=n.slice(e+1)}return r.byteLength(n)>100||r.byteLength(i)>155||e.linkname&&r.byteLength(e.linkname)>100?null:(r.write(t,n),r.write(t,g(4095&e.mode,6),100),r.write(t,g(e.uid,6),108),r.write(t,g(e.gid,6),116),function(e,t,n){e.toString(8).length>11?function(e,t,n){t[n]=128;for(let r=11;r>0;r--)t[n+r]=255&e,e=Math.floor(e/256)}(e,t,n):r.write(t,g(e,11),n)}(e.size,t,124),r.write(t,g(e.mtime.getTime()/1e3|0,11),136),t[156]=a+function(e){switch(e){case"file":return 0;case"link":return 1;case"symlink":return 2;case"character-device":return 3;case"block-device":return 4;case"directory":return 5;case"fifo":return 6;case"contiguous-file":return 7;case"pax-header":return 72}return 0}(e.type),e.linkname&&r.write(t,e.linkname,157),r.copy(o,t,h),r.copy(c,t,263),e.uname&&r.write(t,e.uname,265),e.gname&&r.write(t,e.gname,297),r.write(t,g(e.devmajor||0,6),329),r.write(t,g(e.devminor||0,6),337),i&&r.write(t,i,345),r.write(t,g(p(t),6),148),t)},n.decode=function(e,t,n){let i=0===e[156]?0:e[156]-a,s=y(e,0,100,t);const c=m(e,100,8),f=m(e,108,8),g=m(e,116,8),b=m(e,124,12),w=m(e,136,12),_=function(e){switch(e){case 0:return"file";case 1:return"link";case 2:return"symlink";case 3:return"character-device";case 4:return"block-device";case 5:return"directory";case 6:return"fifo";case 7:return"contiguous-file";case 72:return"pax-header";case 55:return"pax-global-header";case 27:return"gnu-long-link-path";case 28:case 30:return"gnu-long-path"}return null}(i),v=0===e[157]?null:y(e,157,100,t),S=y(e,265,32),k=y(e,297,32),E=m(e,329,8),T=m(e,337,8),A=p(e);if(256===A)return null;if(A!==m(e,148,8))throw new Error("Invalid tar header. Maybe the tar is corrupted or it needs to be gunzipped?");if(function(e){return r.equals(o,e.subarray(h,263))}(e))e[345]&&(s=y(e,345,155,t)+"/"+s);else if(function(e){return r.equals(u,e.subarray(h,263))&&r.equals(l,e.subarray(d,265))}(e));else if(!n)throw new Error("Invalid tar header: unknown format.");return 0===i&&s&&"/"===s[s.length-1]&&(i=5),{name:s,mode:c,uid:f,gid:g,size:b,mtime:new Date(1e3*w),type:_,linkname:v,uname:S,gname:k,devmajor:E,devminor:T,pax:null}}}}},{package:"@metamask/snaps-controllers>tar-stream",file:"node_modules/tar-stream/headers.js"}],[4362,{"./extract":4360,"./pack":4363},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){n.extract=e("./extract"),n.pack=e("./pack")}}},{package:"@metamask/snaps-controllers>tar-stream",file:"node_modules/tar-stream/index.js"}],[4363,{"./constants":4359,"./headers":4361,b4a:2923,streamx:4353},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){const{Readable:r,Writable:i,getStreamError:s}=e("streamx"),a=e("b4a"),o=e("./constants"),c=e("./headers"),u=a.alloc(1024);class l extends i{constructor(e,t,n){super({mapWritable:p,eagerOpen:!0}),this.written=0,this.header=t,this._callback=n,this._linkname=null,this._isLinkname="symlink"===t.type&&!t.linkname,this._isVoid="file"!==t.type&&"contiguous-file"!==t.type,this._finished=!1,this._pack=e,this._openCallback=null,null===this._pack._stream?this._pack._stream=this:this._pack._pending.push(this)}_open(e){this._openCallback=e,this._pack._stream===this&&this._continueOpen()}_continuePack(e){if(null===this._callback)return;const t=this._callback;this._callback=null,t(e)}_continueOpen(){null===this._pack._stream&&(this._pack._stream=this);const e=this._openCallback;if(this._openCallback=null,null!==e){if(this._pack.destroying)return e(new Error("pack stream destroyed"));if(this._pack._finalized)return e(new Error("pack stream is already finalized"));this._pack._stream=this,this._isLinkname||this._pack._encode(this.header),this._isVoid&&(this._finish(),this._continuePack(null)),e(null)}}_write(e,t){return this._isLinkname?(this._linkname=this._linkname?a.concat([this._linkname,e]):e,t(null)):this._isVoid?e.byteLength>0?t(new Error("No body allowed for this entry")):t():(this.written+=e.byteLength,this._pack.push(e)?t():void(this._pack._drain=t))}_finish(){this._finished||(this._finished=!0,this._isLinkname&&(this.header.linkname=this._linkname?a.toString(this._linkname,"utf-8"):"",this._pack._encode(this.header)),f(this._pack,this.header.size),this._pack._done(this))}_final(e){if(this.written!==this.header.size)return e(new Error("Size mismatch"));this._finish(),e(null)}_getError(){return s(this)||new Error("tar entry destroyed")}_predestroy(){this._pack.destroy(this._getError())}_destroy(e){this._pack._done(this),this._continuePack(this._finished?null:this._getError()),e()}}class h extends r{constructor(e){super(e),this._drain=d,this._finalized=!1,this._finalizing=!1,this._pending=[],this._stream=null}entry(e,t,n){if(this._finalized||this.destroying)throw new Error("already finalized or destroyed");"function"==typeof t&&(n=t,t=null),n||(n=d),e.size&&"symlink"!==e.type||(e.size=0),e.type||(e.type=function(e){switch(e&o.S_IFMT){case o.S_IFBLK:return"block-device";case o.S_IFCHR:return"character-device";case o.S_IFDIR:return"directory";case o.S_IFIFO:return"fifo";case o.S_IFLNK:return"symlink"}return"file"}(e.mode)),e.mode||(e.mode="directory"===e.type?493:420),e.uid||(e.uid=0),e.gid||(e.gid=0),e.mtime||(e.mtime=new Date),"string"==typeof t&&(t=a.from(t));const r=new l(this,e,n);return a.isBuffer(t)?(e.size=t.byteLength,r.write(t),r.end(),r):(r._isVoid,r)}finalize(){this._stream||this._pending.length>0?this._finalizing=!0:this._finalized||(this._finalized=!0,this.push(u),this.push(null))}_done(e){e===this._stream&&(this._stream=null,this._finalizing&&this.finalize(),this._pending.length&&this._pending.shift()._continueOpen())}_encode(e){if(!e.pax){const t=c.encode(e);if(t)return void this.push(t)}this._encodePax(e)}_encodePax(e){const t=c.encodePax({name:e.name,linkname:e.linkname,pax:e.pax}),n={name:"PaxHeader",mode:e.mode,uid:e.uid,gid:e.gid,size:t.byteLength,mtime:e.mtime,type:"pax-header",linkname:e.linkname&&"PaxHeader",uname:e.uname,gname:e.gname,devmajor:e.devmajor,devminor:e.devminor};this.push(c.encode(n)),this.push(t),f(this,t.byteLength),n.size=e.size,n.type=e.type,this.push(c.encode(n))}_doDrain(){const e=this._drain;this._drain=d,e()}_predestroy(){const e=s(this);for(this._stream&&this._stream.destroy(e);this._pending.length;){const t=this._pending.shift();t.destroy(e),t._continueOpen()}this._doDrain()}_read(e){this._doDrain(),e()}}function d(){}function f(e,t){(t&=511)&&e.push(u.subarray(0,512-t))}function p(e){return a.isBuffer(e)?e:a.from(e)}t.exports=function(e){return new h(e)}}}},{package:"@metamask/snaps-controllers>tar-stream",file:"node_modules/tar-stream/pack.js"}],[4364,{_process:3992,stream:4348},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){(function(n){(function(){var r=e("stream");function i(e,t,i){e=e||function(e){this.queue(e)},t=t||function(){this.queue(null)};var s=!1,a=!1,o=[],c=!1,u=new r;function l(){for(;o.length&&!u.paused;){var e=o.shift();if(null===e)return u.emit("end");u.emit("data",e)}}return u.readable=u.writable=!0,u.paused=!1,u.autoDestroy=!(i&&!1===i.autoDestroy),u.write=function(t){return e.call(this,t),!u.paused},u.queue=u.push=function(e){return c||(null===e&&(c=!0),o.push(e),l()),u},u.on("end",(function(){u.readable=!1,!u.writable&&u.autoDestroy&&n.nextTick((function(){u.destroy()}))})),u.end=function(e){if(!s)return s=!0,arguments.length&&u.write(e),u.writable=!1,t.call(u),!u.readable&&u.autoDestroy&&u.destroy(),u},u.destroy=function(){if(!a)return a=!0,s=!0,o.length=0,u.writable=u.readable=!1,u.emit("close"),u},u.pause=function(){if(!u.paused)return u.paused=!0,u},u.resume=function(){return u.paused&&(u.paused=!1,u.emit("resume")),l(),u.paused||u.emit("drain"),u},u}t.exports=i,i.through=i}).call(this)}).call(this,e("_process"))}}},{package:"debounce-stream>through",file:"node_modules/through/index.js"}],[4368,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){t.exports=function(e){if(e instanceof Int8Array||e instanceof Uint8Array||e instanceof Uint8ClampedArray)return new DataView(e.buffer,e.byteOffset,e.byteLength);if(e instanceof ArrayBuffer)return new DataView(e);throw new TypeError("Expected `data` to be an ArrayBuffer, Buffer, Int8Array, Uint8Array or Uint8ClampedArray")}}}},{package:"base32-encode>to-data-view",file:"node_modules/to-data-view/index.js"}],[4381,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r,i,s,a=void 0,o=(r=Object.prototype.toString,i=Object.prototype.hasOwnProperty,{Class:function(e){return r.call(e).replace(/^\[object *|\]$/g,"")},HasProperty:function(e,t){return t in e},HasOwnProperty:function(e,t){return i.call(e,t)},IsCallable:function(e){return"function"==typeof e},ToInt32:function(e){return 0|e},ToUint32:function(e){return e>>>0}}),c=Math.LN2,u=Math.abs,l=Math.floor,h=Math.log,d=Math.min,f=Math.pow,p=Math.round;function g(e){if(m&&s){var t,n=m(e);for(t=0;t>n}function b(e,t){var n=32-t;return e<>>n}function w(e){return[255&e]}function _(e){return y(e[0],8)}function v(e){return[255&e]}function S(e){return b(e[0],8)}function k(e){return[(e=p(Number(e)))<0?0:e>255?255:255&e]}function E(e){return[e>>8&255,255&e]}function T(e){return y(e[0]<<8|e[1],16)}function A(e){return[e>>8&255,255&e]}function x(e){return b(e[0]<<8|e[1],16)}function C(e){return[e>>24&255,e>>16&255,e>>8&255,255&e]}function P(e){return y(e[0]<<24|e[1]<<16|e[2]<<8|e[3],32)}function I(e){return[e>>24&255,e>>16&255,e>>8&255,255&e]}function M(e){return b(e[0]<<24|e[1]<<16|e[2]<<8|e[3],32)}function O(e,t,n){var r,i,s,a,o,p,g,m=(1<.5||t%2?t+1:t}for(e!=e?(i=(1<=f(2,1-m)?(i=d(l(h(e)/c),1023),(s=y(e/f(2,i)*f(2,n)))/f(2,n)>=2&&(i+=1,s=1),i>m?(i=(1<>=1;return h.reverse(),a=h.join(""),o=(1<0?c*f(2,u-o)*(1+l/f(2,n)):0!==l?c*f(2,-(o-1))*(l/f(2,n)):c<0?-0:0}function D(e){return j(e,11,52)}function L(e){return O(e,11,52)}function N(e){return j(e,8,23)}function R(e){return O(e,8,23)}!function(){var e=function(e){if((e=o.ToInt32(e))<0)throw new RangeError("ArrayBuffer size is not a small enough positive integer");var t;for(this.byteLength=e,this._bytes=[],this._bytes.length=e,t=0;tthis.buffer.byteLength)throw new RangeError("byteOffset out of range");if(this.byteOffset%this.BYTES_PER_ELEMENT)throw new RangeError("ArrayBuffer length minus the byteOffset is not a multiple of the element size.");if(arguments.length<3){if(this.byteLength=this.buffer.byteLength-this.byteOffset,this.byteLength%this.BYTES_PER_ELEMENT)throw new RangeError("length of buffer minus byteOffset not a multiple of the element size");this.length=this.byteLength/this.BYTES_PER_ELEMENT}else this.length=o.ToUint32(r),this.byteLength=this.length*this.BYTES_PER_ELEMENT;if(this.byteOffset+this.byteLength>this.buffer.byteLength)throw new RangeError("byteOffset and length reference an area beyond the end of the buffer")}else for(a=arguments[0],this.length=o.ToUint32(a.length),this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new e(this.byteLength),this.byteOffset=0,u=0;u1e5)throw new RangeError("Array too large for polyfill");var t;for(t=0;t=this.length)return a;var t,n,r=[];for(t=0,n=this.byteOffset+e*this.BYTES_PER_ELEMENT;t=this.length)return a;var n,r,i=this._pack(t);for(n=0,r=this.byteOffset+e*this.BYTES_PER_ELEMENT;nthis.length)throw new RangeError("Offset plus length of array is out of range");if(l=this.byteOffset+i*this.BYTES_PER_ELEMENT,h=n.length*this.BYTES_PER_ELEMENT,n.buffer===this.buffer){for(d=[],a=0,c=n.byteOffset;athis.length)throw new RangeError("Offset plus length of array is out of range");for(a=0;an?n:e}e=o.ToInt32(e),t=o.ToInt32(t),arguments.length<1&&(e=0),arguments.length<2&&(t=this.length),e<0&&(e=this.length+e),t<0&&(t=this.length+t),e=n(e,0,this.length);var r=(t=n(t,0,this.length))-e;return r<0&&(r=0),new this.constructor(this.buffer,this.byteOffset+e*this.BYTES_PER_ELEMENT,r)},c}var i=r(1,w,_),c=r(1,v,S),u=r(1,k,S),l=r(2,E,T),h=r(2,A,x),d=r(4,C,P),f=r(4,I,M),p=r(4,R,N),m=r(8,L,D);n.Int8Array=n.Int8Array||i,n.Uint8Array=n.Uint8Array||c,n.Uint8ClampedArray=n.Uint8ClampedArray||u,n.Int16Array=n.Int16Array||l,n.Uint16Array=n.Uint16Array||h,n.Int32Array=n.Int32Array||d,n.Uint32Array=n.Uint32Array||f,n.Float32Array=n.Float32Array||p,n.Float64Array=n.Float64Array||m}(),function(){function e(e,t){return o.IsCallable(e.get)?e.get(t):e[t]}var t,r=(t=new n.Uint16Array([4660]),18===e(new n.Uint8Array(t.buffer),0)),i=function(e,t,r){if(0===arguments.length)e=new n.ArrayBuffer(0);else if(!(e instanceof n.ArrayBuffer||"ArrayBuffer"===o.Class(e)))throw new TypeError("TypeError");if(this.buffer=e||new n.ArrayBuffer(0),this.byteOffset=o.ToUint32(t),this.byteOffset>this.buffer.byteLength)throw new RangeError("byteOffset out of range");if(this.byteLength=arguments.length<3?this.buffer.byteLength-this.byteOffset:o.ToUint32(r),this.byteOffset+this.byteLength>this.buffer.byteLength)throw new RangeError("byteOffset and length reference an area beyond the end of the buffer");g(this)};function s(t){return function(i,s){if((i=o.ToUint32(i))+t.BYTES_PER_ELEMENT>this.byteLength)throw new RangeError("Array index out of range");i+=this.byteOffset;var a,c=new n.Uint8Array(this.buffer,i,t.BYTES_PER_ELEMENT),u=[];for(a=0;athis.byteLength)throw new RangeError("Array index out of range");var c,u=new t([s]),l=new n.Uint8Array(u.buffer),h=[];for(c=0;cconcat-stream>typedarray",file:"node_modules/typedarray/index.js"}],[4383,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){t.exports=function(e,t){t||(t=e.reduce(((e,t)=>e+t.length),0));const n=new Uint8Array(t);let r=0;for(const t of e)n.set(t,r),r+=t.length;return n}}}},{package:"@ensdomains/content-hash>cids>uint8arrays",file:"node_modules/uint8arrays/concat.js"}],[4384,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){t.exports=function(e,t){if(e===t)return!0;if(e.byteLength!==t.byteLength)return!1;for(let n=0;ncids>uint8arrays",file:"node_modules/uint8arrays/equals.js"}],[4385,{multibase:3886},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){const{encoding:r}=e("multibase"),i=new TextEncoder;t.exports=function(e,t="utf8"){return"utf8"===t||"utf-8"===t?i.encode(e):"ascii"===t?function(e){const t=new Uint8Array(e.length);for(let n=0;ncids>uint8arrays",file:"node_modules/uint8arrays/from-string.js"}],[4386,{multibase:3886},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){const{encoding:r}=e("multibase"),i=new TextDecoder("utf8");t.exports=function(e,t="utf8"){return"utf8"===t||"utf-8"===t?i.decode(e):"ascii"===t?function(e){let t="";for(let n=0;ncids>uint8arrays",file:"node_modules/uint8arrays/to-string.js"}],[44,{"./encryption":43},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var r={};n.default=void 0;var i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=s(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var o=i?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(r,a,o):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(e("./encryption"));function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(s=function(e){return e?n:t})(e)}Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||e in n&&n[e]===i[e]||Object.defineProperty(n,e,{enumerable:!0,get:function(){return i[e]}}))}));n.default=i.default}}},{package:"$root$",file:"app/scripts/controllers/user-storage/encryption/hybrid-compute-sdk.ts"}],[4443,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){t.exports=function e(t,n){var s,a=0,o=0,c=n=n||0,u=t.length;do{if(c>=u||o>49)throw e.bytes=0,new RangeError("Could not decode varint");s=t[c++],a+=o<28?(s&i)<=r);return e.bytes=c-n,a};var r=128,i=127}}},{package:"sass-embedded>varint",file:"node_modules/varint/decode.js"}],[4444,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){t.exports=function e(t,n,a){if(Number.MAX_SAFE_INTEGER&&t>Number.MAX_SAFE_INTEGER)throw e.bytes=0,new RangeError("Could not encode varint");n=n||[];var o=a=a||0;for(;t>=s;)n[a++]=255&t|r,t/=128;for(;t&i;)n[a++]=255&t|r,t>>>=7;return n[a]=0|t,e.bytes=a-o+1,n};var r=128,i=-128,s=Math.pow(2,31)}}},{package:"sass-embedded>varint",file:"node_modules/varint/encode.js"}],[4445,{"./decode.js":4443,"./encode.js":4444,"./length.js":4446},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){t.exports={encode:e("./encode.js"),decode:e("./decode.js"),encodingLength:e("./length.js")}}}},{package:"sass-embedded>varint",file:"node_modules/varint/index.js"}],[4446,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r=Math.pow(2,7),i=Math.pow(2,14),s=Math.pow(2,21),a=Math.pow(2,28),o=Math.pow(2,35),c=Math.pow(2,42),u=Math.pow(2,49),l=Math.pow(2,56),h=Math.pow(2,63);t.exports=function(e){return evarint",file:"node_modules/varint/length.js"}],[4454,{util:4423},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){n.TextEncoder="undefined"!=typeof TextEncoder?TextEncoder:e("util").TextEncoder,n.TextDecoder="undefined"!=typeof TextDecoder?TextDecoder:e("util").TextDecoder}}},{package:"@ensdomains/content-hash>multihashes>web-encoding",file:"node_modules/web-encoding/src/lib.js"}],[4491,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.METAMETRICS_FINALIZE_EVENT_FRAGMENT_ALARM=n.AUTO_LOCK_TIMEOUT_ALARM=void 0;n.AUTO_LOCK_TIMEOUT_ALARM="AUTO_LOCK_TIMEOUT_ALARM",n.METAMETRICS_FINALIZE_EVENT_FRAGMENT_ALARM="METAMETRICS_FINALIZE_EVENT_FRAGMENT_ALARM"}}},{package:"$root$",file:"shared/constants/alarms.js"}],[4498,{"@metamask/keyring-api":1444},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.ETH_EOA_METHODS=n.ETH_4337_METHODS=void 0;var r=e("@metamask/keyring-api");n.ETH_EOA_METHODS=[r.EthMethod.PersonalSign,r.EthMethod.Sign,r.EthMethod.SignTransaction,r.EthMethod.SignTypedDataV1,r.EthMethod.SignTypedDataV3,r.EthMethod.SignTypedDataV4],n.ETH_4337_METHODS=[r.EthMethod.PrepareUserOperation,r.EthMethod.PatchUserOperation,r.EthMethod.SignUserOperation]}}},{package:"$root$",file:"shared/constants/eth-methods.ts"}],[45,{buffer:3028},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){(function(e){(function(){Object.defineProperty(n,"__esModule",{value:!0}),n.base64ToByteArray=function(t){return new Uint8Array(e.from(t,"base64"))},n.byteArrayToBase64=function(t){return e.from(t).toString("base64")},n.bytesToUtf8=function(e){return new TextDecoder("utf-8").decode(e)}}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"$root$",file:"app/scripts/controllers/user-storage/encryption/utils.ts"}],[4504,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.LOG_EVENT=void 0;n.LOG_EVENT={VERSION_UPDATE:"Extension version update"}}}},{package:"$root$",file:"shared/constants/logs.ts"}],[4506,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.methodsWithConfirmation=n.methodsRequiringNetworkSwitch=void 0;const r=n.methodsRequiringNetworkSwitch=["eth_sendTransaction","eth_sendRawTransaction","wallet_switchEthereumChain","wallet_addEthereumChain","wallet_watchAsset","eth_signTypedData","eth_signTypedData_v3","eth_signTypedData_v4","personal_sign"];n.methodsWithConfirmation=[...r,"wallet_requestPermissions","wallet_requestSnaps","eth_decrypt","eth_sign","eth_requestAccounts","eth_getEncryptionPublicKey"]}}},{package:"$root$",file:"shared/constants/methods-tags.ts"}],[4522,{"./first-party-contracts":4499},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.getExperience=n.TX_SIG_LEN=n.TRUSTED_SIGNERS=n.EXPERIENCES_TO_VERIFY=void 0;var r=e("./first-party-contracts");n.TX_SIG_LEN=130,n.EXPERIENCES_TO_VERIFY=[r.EXPERIENCES_TYPE.METAMASK_BRIDGE],n.TRUSTED_SIGNERS={[r.EXPERIENCES_TYPE.METAMASK_BRIDGE]:"0x533FbF047Ed13C20e263e2576e41c747206d1348"};n.getExperience=(e,t)=>{var n;return null===(n=Object.entries(r.FIRST_PARTY_CONTRACT_NAMES).find((([,n])=>{var r;return(null===(r=n[t])||void 0===r?void 0:r.toLowerCase())===e.toLowerCase()})))||void 0===n?void 0:n[0]}}}},{package:"$root$",file:"shared/constants/verification.ts"}],[4546,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.getSmartTransactionMetricsProperties=void 0;n.getSmartTransactionMetricsProperties=(e,t)=>{const n=e.getIsSmartTransaction(),r={is_smart_transaction:n};if(!n)return r;const i=e.getSmartTransactionByMinedTxHash(t.hash),s=null==i?void 0:i.statusMetadata;return s?(r.smart_transaction_duplicated=s.duplicated,r.smart_transaction_timed_out=s.timedOut,r.smart_transaction_proxied=s.proxied,r):r}}}},{package:"$root$",file:"shared/modules/metametrics.ts"}],[4563,{"../../shared/constants/network":4507,"../../shared/constants/onboarding":4510,"@metamask/network-controller":1555},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){const{NetworkStatus:r}=e("@metamask/network-controller"),{CHAIN_IDS:i}=e("../../shared/constants/network"),{FirstTimeFlowType:s}=e("../../shared/constants/onboarding");t.exports={defaultFixture:function(e=i.LOCALHOST){return{data:{AuthenticationController:{isSignedIn:!0},UserStorageController:{isProfileSyncingEnabled:!0},MetamaskNotificationsController:{subscriptionAccountsSeen:[],isFeatureAnnouncementsEnabled:!1,isMetamaskNotificationsEnabled:!1,isMetamaskNotificationsFeatureSeen:!1,metamaskNotificationsList:[],metamaskNotificationsReadList:[]},AccountsController:{internalAccounts:{selectedAccount:"d5e45e4a-3b04-4a09-a5e1-39762e5c6be4",accounts:{"d5e45e4a-3b04-4a09-a5e1-39762e5c6be4":{id:"d5e45e4a-3b04-4a09-a5e1-39762e5c6be4",address:"0x5cfe73b6021e818b776b421b1c4db2474086a7e1",metadata:{name:"Account 1",lastSelected:16655076e5,keyring:{type:"HD Key Tree"}},options:{},methods:["personal_sign","eth_sign","eth_signTransaction","eth_signTypedData_v1","eth_signTypedData_v3","eth_signTypedData_v4"],type:"eip155:eoa"}}}},AlertController:{alertEnabledness:{unconnectedAccount:!0,web3ShimUsage:!0},unconnectedAccountAlertShownOrigins:{},web3ShimUsageOrigins:{}},AnnouncementController:{announcements:{8:{date:"2021-11-01",id:8,isShown:!1}}},NetworkOrderController:{orderedNetworkList:[{networkId:"0x1",networkRpcUrl:"https://mainnet.infura.io/v3/00000000000000000000000000000000"},{networkId:"0xe708",networkRpcUrl:"https://linea-mainnet.infura.io/v3/00000000000000000000000000000000"},{networkId:"0x539",networkRpcUrl:"http://localhost:8545"}]},AccountOrderController:{pinnedAccountList:[],hiddenAccountList:[]},AppStateController:{browserEnvironment:{},nftsDropdownState:{},connectedStatusPopoverHasBeenShown:!0,termsOfUseLastAgreed:"__FIXTURE_SUBSTITUTION__currentDateInMilliseconds",defaultHomeActiveTabName:null,fullScreenGasPollTokens:[],notificationGasPollTokens:[],popupGasPollTokens:[],qrHardware:{},recoveryPhraseReminderHasBeenShown:!0,recoveryPhraseReminderLastShown:"__FIXTURE_SUBSTITUTION__currentDateInMilliseconds",showTestnetMessageInDropdown:!0,trezorModel:null,newPrivacyPolicyToastClickedOrClosed:!0,newPrivacyPolicyToastShownDate:Date.now(),usedNetworks:{[i.MAINNET]:!0,[i.LINEA_MAINNET]:!0,[i.GOERLI]:!0,[i.LOCALHOST]:!0},snapsInstallPrivacyWarningShown:!0},CurrencyController:{currentCurrency:"usd",currencyRates:{ETH:{conversionDate:1665507600,conversionRate:1700,usdConversionRate:1700}}},GasFeeController:{estimatedGasFeeTimeBounds:{},gasEstimateType:"none",gasFeeEstimates:{}},KeyringController:{vault:'{"data":"WHaP1FrrtV4zUonudIppDifsLHF39g6oPkVksAIdWAHBRzax1uy1asfAJprR7u72t4/HuYz5yPIFQrnNnv+hwQu9GRuty88VKMnvMy+sq8MNtoXI+C54bZpWa8r4iUQfa0Mj/cfJbpFpzOdF1ZYXahTfTcU5WsrHwvJew842CiJR4B2jmCHHXfm/DxLK3WazsVQwXJGx/U71UelGoOOrT8NI28EKrAwgPn+7Xmv0j92gmhau30N7Bo2fr6Zv","iv":"LfD8/tY1EjXzxuemSmDVdA==","keyMetadata":{"algorithm":"PBKDF2","params":{"iterations":600000}},"salt":"nk4xdpmMR+1s5BYe4Vnk++XAQwrISI2bCtbMg7V1wUA="}'},MetaMetricsController:{eventsBeforeMetricsOptIn:[],fragments:{},metaMetricsId:null,participateInMetaMetrics:!1,traits:{},dataCollectionForMarketing:!1},NetworkController:{selectedNetworkClientId:"networkConfigurationId",networksMetadata:{networkConfigurationId:{EIPS:{},status:r.Available}},providerConfig:{chainId:e,nickname:"Localhost 8545",rpcPrefs:{},rpcUrl:"http://localhost:8545",ticker:"ETH",type:"rpc",id:"networkConfigurationId"},networkConfigurations:{networkConfigurationId:{chainId:e,nickname:"Localhost 8545",rpcPrefs:{},rpcUrl:"http://localhost:8545",ticker:"ETH",networkConfigurationId:"networkConfigurationId"}}},OnboardingController:{completedOnboarding:!0,firstTimeFlowType:s.import,onboardingTabs:{},seedPhraseBackedUp:!0},PermissionController:{subjects:{}},PreferencesController:{advancedGasFee:null,currentLocale:"en",useExternalServices:!0,dismissSeedBackUpReminder:!0,featureFlags:{},forgottenPassword:!1,identities:{"0x5cfe73b6021e818b776b421b1c4db2474086a7e1":{address:"0x5cfe73b6021e818b776b421b1c4db2474086a7e1",lastSelected:16655076e5,name:"Account 1"}},ipfsGateway:"dweb.link",knownMethodData:{},ledgerTransportType:"webhid",lostIdentities:{},openSeaEnabled:!1,preferences:{hideZeroBalanceTokens:!1,showExtensionInFullSizeView:!1,showFiatInTestnets:!1,showTestNetworks:!1,smartTransactionsOptInStatus:!1,useNativeCurrencyAsPrimaryCurrency:!0,petnamesEnabled:!0,showTokenAutodetectModal:!1},selectedAddress:"0x5cfe73b6021e818b776b421b1c4db2474086a7e1",theme:"light",useBlockie:!1,useNftDetection:!1,useNonceField:!1,usePhishDetect:!0,useTokenDetection:!1,useCurrencyRateCheck:!0,useMultiAccountBalanceChecker:!0,useRequestQueue:!0},QueuedRequestController:{queuedRequestCount:0},SelectedNetworkController:{domains:{}},SmartTransactionsController:{smartTransactionsState:{fees:{},liveness:!0,smartTransactions:{[i.MAINNET]:[]}}},SubjectMetadataController:{subjectMetadata:{"https://metamask.github.io":{extensionId:null,iconUrl:null,name:"MetaMask < = > Ledger Bridge",origin:"https://metamask.github.io",subjectType:"website"}}},TokensController:{allDetectedTokens:{},allIgnoredTokens:{},allTokens:{},detectedTokens:[],ignoredTokens:[],tokens:[]},TransactionController:{transactions:{}},config:{},firstTimeInfo:{date:16655076e5,version:"10.21.0"}}}},FIXTURE_STATE_METADATA_VERSION:74,E2E_SRP:"spread raise short crane omit tent fringe mandate neglect detail suspect cradle"}}}},{package:"$root$",file:"test/e2e/default-fixture.js"}],[46,{"./encryption":44},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.USER_STORAGE_ENTRIES=void 0,n.createEntryPath=function(e,t){const n=i[e];if(!n)throw new Error(`user-storage - invalid entry provided: ${e}`);const s=(0,r.createSHA256Hash)(n.entryName+t);return`/${n.path}/${s}`};var r=e("./encryption");const i=n.USER_STORAGE_ENTRIES={notification_settings:{path:"notifications",entryName:"notification_settings"}}}}},{package:"$root$",file:"app/scripts/controllers/user-storage/schema.ts"}],[47,{"./encryption":44,"./schema":46,loglevel:3842},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.USER_STORAGE_ENDPOINT=n.USER_STORAGE_API=void 0,n.getUserStorage=async function(e){try{const t=(0,s.createEntryPath)(e.entryKey,e.storageKey),n=new URL(`${c}${t}`),r=await fetch(n.toString(),{headers:{"Content-Type":"application/json",Authorization:`Bearer ${e.bearerToken}`}});if(404===r.status)return null;if(200!==r.status)throw new Error("Unable to get User Storage");const a=await r.json(),o=(null==a?void 0:a.Data)??null;if(!o)return null;return i.default.decryptString(o,e.storageKey)}catch(e){return r.default.error("Failed to get user storage",e),null}},n.upsertUserStorage=async function(e,t){const n=i.default.encryptString(e,t.storageKey),r=(0,s.createEntryPath)(t.entryKey,t.storageKey),a=new URL(`${c}${r}`);if(!(await fetch(a.toString(),{method:"PUT",headers:{"Content-Type":"application/json",Authorization:`Bearer ${t.bearerToken}`},body:JSON.stringify({data:n})})).ok)throw new Error("user-storage - unable to upsert data")};var r=a(e("loglevel")),i=a(e("./encryption")),s=e("./schema");function a(e){return e&&e.__esModule?e:{default:e}}const o=n.USER_STORAGE_API="https://user-storage.api.cx.metamask.io",c=n.USER_STORAGE_ENDPOINT=`${o}/api/v1/userstorage`}}},{package:"$root$",file:"app/scripts/controllers/user-storage/services.ts"}],[48,{"../authentication/auth-snap-requests":11,"./encryption":44,"./services":47,"@metamask/base-controller":1154},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r=e("@metamask/base-controller"),i=e("../authentication/auth-snap-requests"),s=e("./services"),a=e("./encryption");function o(e,t){l(e,t),t.add(e)}function c(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(e,t,n){l(e,t),t.set(e,n)}function l(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function h(e,t,n){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return n}function d(e,t){return function(e,t){if(t.get)return t.get.call(e);return t.value}(e,p(e,t,"get"))}function f(e,t,n){return function(e,t,n){if(t.set)t.set.call(e,n);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=n}}(e,p(e,t,"set"),n),n}function p(e,t,n){if(!t.has(e))throw new TypeError("attempted to "+n+" private field on non-instance");return t.get(e)}const g="UserStorageController",m={isProfileSyncingEnabled:!0,isProfileSyncingUpdateLoading:!1},y={isProfileSyncingEnabled:{persist:!0,anonymous:!0},isProfileSyncingUpdateLoading:{persist:!1,anonymous:!1}};var b=new WeakMap,w=new WeakMap,_=new WeakMap,v=new WeakMap,S=new WeakSet,k=new WeakSet,E=new WeakSet,T=new WeakSet,A=new WeakMap,x=new WeakSet,C=new WeakSet;class P extends r.BaseController{constructor(e){super({messenger:e.messenger,metadata:y,name:g,state:{...m,...e.state}}),o(this,C),o(this,x),o(this,T),o(this,E),o(this,k),o(this,S),u(this,b,{writable:!0,value:{getBearerToken:async()=>await this.messagingSystem.call("AuthenticationController:getBearerToken"),getProfileId:async()=>{const e=await this.messagingSystem.call("AuthenticationController:getSessionProfile");return null==e?void 0:e.profileId},isAuthEnabled:()=>this.messagingSystem.call("AuthenticationController:isSignedIn"),signIn:async()=>await this.messagingSystem.call("AuthenticationController:performSignIn"),signOut:async()=>await this.messagingSystem.call("AuthenticationController:performSignOut")}}),u(this,w,{writable:!0,value:{disableMetamaskNotifications:async()=>await this.messagingSystem.call("MetamaskNotificationsController:disableMetamaskNotifications"),selectIsMetamaskNotificationsEnabled:async()=>await this.messagingSystem.call("MetamaskNotificationsController:selectIsMetamaskNotificationsEnabled")}}),u(this,_,{writable:!0,value:!1}),u(this,v,{writable:!0,value:{setupLockedStateSubscriptions:()=>{const{isUnlocked:e}=this.messagingSystem.call("KeyringController:getState");f(this,_,e),this.messagingSystem.subscribe("KeyringController:unlock",(()=>{f(this,_,!0)})),this.messagingSystem.subscribe("KeyringController:lock",(()=>{f(this,_,!1)}))}}}),c(this,"getMetaMetricsState",void 0),u(this,A,{writable:!0,value:{}}),this.getMetaMetricsState=e.getMetaMetricsState,d(this,v).setupLockedStateSubscriptions(),h(this,S,I).call(this)}async enableProfileSyncing(){try{h(this,C,L).call(this,!0);d(this,b).isAuthEnabled()||await d(this,b).signIn(),this.update((e=>{e.isProfileSyncingEnabled=!0})),h(this,C,L).call(this,!1)}catch(e){h(this,C,L).call(this,!1);const t=e instanceof Error?e.message:e;throw new Error(`${g} - failed to enable profile syncing - ${t}`)}}async setIsProfileSyncingEnabled(e){this.update((t=>{t.isProfileSyncingEnabled=e}))}async disableProfileSyncing(){if(!!this.state.isProfileSyncingEnabled)try{h(this,C,L).call(this,!0);await d(this,w).selectIsMetamaskNotificationsEnabled()&&await d(this,w).disableMetamaskNotifications();this.getMetaMetricsState()||await this.messagingSystem.call("AuthenticationController:performSignOut"),h(this,C,L).call(this,!1),this.update((e=>{e.isProfileSyncingEnabled=!1}))}catch(e){h(this,C,L).call(this,!1);const t=e instanceof Error?e.message:e;throw new Error(`${g} - failed to disable profile syncing - ${t}`)}}async performGetStorage(e){h(this,k,M).call(this);const{bearerToken:t,storageKey:n}=await h(this,E,O).call(this);return await(0,s.getUserStorage)({entryKey:e,bearerToken:t,storageKey:n})}async performSetStorage(e,t){h(this,k,M).call(this);const{bearerToken:n,storageKey:r}=await h(this,E,O).call(this);await(0,s.upsertUserStorage)(t,{entryKey:e,bearerToken:n,storageKey:r})}async getStorageKey(){h(this,k,M).call(this);return await h(this,T,j).call(this)}}function I(){this.messagingSystem.registerActionHandler("UserStorageController:performGetStorage",this.performGetStorage.bind(this)),this.messagingSystem.registerActionHandler("UserStorageController:performSetStorage",this.performSetStorage.bind(this)),this.messagingSystem.registerActionHandler("UserStorageController:getStorageKey",this.getStorageKey.bind(this)),this.messagingSystem.registerActionHandler("UserStorageController:enableProfileSyncing",this.enableProfileSyncing.bind(this)),this.messagingSystem.registerActionHandler("UserStorageController:disableProfileSyncing",this.disableProfileSyncing.bind(this))}function M(){if(!this.state.isProfileSyncingEnabled)throw new Error(`${g}: Unable to call method, user is not authenticated`)}async function O(){const e=await d(this,b).getBearerToken();if(!e)throw new Error("UserStorageController - unable to get bearer token");return{bearerToken:e,storageKey:await h(this,T,j).call(this)}}async function j(){const e=await d(this,b).getProfileId();if(!e)throw new Error("UserStorageController - unable to create storage key");const t=await h(this,x,D).call(this,`metamask:${e}`);return(0,a.createSHA256Hash)(t)}async function D(e){if(d(this,A)[e])return d(this,A)[e];if(!d(this,_))throw new Error("#snapSignMessage - unable to call snap, wallet is locked");const t=await this.messagingSystem.call("SnapController:handleRequest",(0,i.createSnapSignMessageRequest)(e));return d(this,A)[e]=t,t}async function L(e){this.update((t=>{t.isProfileSyncingUpdateLoading=e}))}n.default=P}}},{package:"$root$",file:"app/scripts/controllers/user-storage/user-storage-controller.ts"}],[49,{"../../shared/constants/app":4493,"./lib/util":120,"webextension-polyfill":4472},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.onMessageReceived=n.checkForMultipleVersionsRunning=void 0;var r,i=(r=e("webextension-polyfill"))&&r.__esModule?r:{default:r},s=e("../../shared/constants/app"),a=e("./lib/util");const o="isRunning";n.onMessageReceived=e=>{e===o&&console.warn("Warning! You have multiple instances of MetaMask running!")};n.checkForMultipleVersionsRunning=async()=>{if((0,a.getPlatform)()!==s.PLATFORM_CHROME&&(0,a.getPlatform)()!==s.PLATFORM_FIREFOX)return;const e=(0,a.getPlatform)()===s.PLATFORM_CHROME?s.CHROME_BUILD_IDS:s.FIREFOX_BUILD_IDS,t=i.default.runtime.id;for(const n of e)if(n!==t)try{await i.default.runtime.sendMessage(n,o)}catch(e){}}}}},{package:"$root$",file:"app/scripts/detect-multiple-instances.js"}],[495,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.version=void 0,n.version="json-wallets/5.7.0"}}},{package:"@ethersproject/wallet>@ethersproject/json-wallets",file:"node_modules/@ethersproject/json-wallets/lib/_version.js"}],[496,{"./_version":495,"./utils":500,"@ethersproject/address":467,"@ethersproject/bytes":476,"@ethersproject/keccak256":502,"@ethersproject/logger":504,"@ethersproject/pbkdf2":508,"@ethersproject/properties":510,"@ethersproject/strings":547,"aes-js":501},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(n,"__esModule",{value:!0}),n.decrypt=n.CrowdsaleAccount=void 0;var a=s(e("aes-js")),o=e("@ethersproject/address"),c=e("@ethersproject/bytes"),u=e("@ethersproject/keccak256"),l=e("@ethersproject/pbkdf2"),h=e("@ethersproject/strings"),d=e("@ethersproject/properties"),f=e("@ethersproject/logger"),p=e("./_version"),g=new f.Logger(p.version),m=e("./utils"),y=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.isCrowdsaleAccount=function(e){return!(!e||!e._isCrowdsaleAccount)},t}(d.Description);n.CrowdsaleAccount=y,n.decrypt=function(e,t){var n=JSON.parse(e);t=(0,m.getPassword)(t);var r=(0,o.getAddress)((0,m.searchPath)(n,"ethaddr")),i=(0,m.looseArrayify)((0,m.searchPath)(n,"encseed"));i&&i.length%16==0||g.throwArgumentError("invalid encseed","json",e);for(var s=(0,c.arrayify)((0,l.pbkdf2)(t,t,2e3,32,"sha256")).slice(0,16),d=i.slice(0,16),f=i.slice(16),p=new a.default.ModeOfOperation.cbc(s,d),b=a.default.padding.pkcs7.strip((0,c.arrayify)(p.decrypt(f))),w="",_=0;_@ethersproject/json-wallets",file:"node_modules/@ethersproject/json-wallets/lib/crowdsale.js"}],[497,{"./crowdsale":496,"./inspect":498,"./keystore":499},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.decryptJsonWalletSync=n.decryptJsonWallet=n.getJsonWalletAddress=n.isKeystoreWallet=n.isCrowdsaleWallet=n.encryptKeystore=n.decryptKeystoreSync=n.decryptKeystore=n.decryptCrowdsale=void 0;var r=e("./crowdsale");Object.defineProperty(n,"decryptCrowdsale",{enumerable:!0,get:function(){return r.decrypt}});var i=e("./inspect");Object.defineProperty(n,"getJsonWalletAddress",{enumerable:!0,get:function(){return i.getJsonWalletAddress}}),Object.defineProperty(n,"isCrowdsaleWallet",{enumerable:!0,get:function(){return i.isCrowdsaleWallet}}),Object.defineProperty(n,"isKeystoreWallet",{enumerable:!0,get:function(){return i.isKeystoreWallet}});var s=e("./keystore");Object.defineProperty(n,"decryptKeystore",{enumerable:!0,get:function(){return s.decrypt}}),Object.defineProperty(n,"decryptKeystoreSync",{enumerable:!0,get:function(){return s.decryptSync}}),Object.defineProperty(n,"encryptKeystore",{enumerable:!0,get:function(){return s.encrypt}}),n.decryptJsonWallet=function(e,t,n){if((0,i.isCrowdsaleWallet)(e)){n&&n(0);var a=(0,r.decrypt)(e,t);return n&&n(1),Promise.resolve(a)}return(0,i.isKeystoreWallet)(e)?(0,s.decrypt)(e,t,n):Promise.reject(new Error("invalid JSON wallet"))},n.decryptJsonWalletSync=function(e,t){if((0,i.isCrowdsaleWallet)(e))return(0,r.decrypt)(e,t);if((0,i.isKeystoreWallet)(e))return(0,s.decryptSync)(e,t);throw new Error("invalid JSON wallet")}}}},{package:"@ethersproject/wallet>@ethersproject/json-wallets",file:"node_modules/@ethersproject/json-wallets/lib/index.js"}],[498,{"@ethersproject/address":467},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.getJsonWalletAddress=n.isKeystoreWallet=n.isCrowdsaleWallet=void 0;var r=e("@ethersproject/address");function i(e){var t=null;try{t=JSON.parse(e)}catch(e){return!1}return t.encseed&&t.ethaddr}function s(e){var t=null;try{t=JSON.parse(e)}catch(e){return!1}return!(!t.version||parseInt(t.version)!==t.version||3!==parseInt(t.version))}n.isCrowdsaleWallet=i,n.isKeystoreWallet=s,n.getJsonWalletAddress=function(e){if(i(e))try{return(0,r.getAddress)(JSON.parse(e).ethaddr)}catch(e){return null}if(s(e))try{return(0,r.getAddress)(JSON.parse(e).address)}catch(e){return null}return null}}}},{package:"@ethersproject/wallet>@ethersproject/json-wallets",file:"node_modules/@ethersproject/json-wallets/lib/inspect.js"}],[499,{"./_version":495,"./utils":500,"@ethersproject/address":467,"@ethersproject/bytes":476,"@ethersproject/hdnode":494,"@ethersproject/keccak256":502,"@ethersproject/logger":504,"@ethersproject/pbkdf2":508,"@ethersproject/properties":510,"@ethersproject/random":533,"@ethersproject/transactions":550,"aes-js":501,"scrypt-js":4284},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),s=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,s){function a(e){try{c(r.next(e))}catch(e){s(e)}}function o(e){try{c(r.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,o)}c((r=r.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,r,i,s,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return s={next:o(0),throw:o(1),return:o(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function o(s){return function(o){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]@ethersproject/json-wallets",file:"node_modules/@ethersproject/json-wallets/lib/keystore.js"}],[50,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;n.default={config:{}}}}},{package:"$root$",file:"app/scripts/first-time-state.js"}],[500,{"@ethersproject/bytes":476,"@ethersproject/strings":547},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.uuidV4=n.searchPath=n.getPassword=n.zpad=n.looseArrayify=void 0;var r=e("@ethersproject/bytes"),i=e("@ethersproject/strings");n.looseArrayify=function(e){return"string"==typeof e&&"0x"!==e.substring(0,2)&&(e="0x"+e),(0,r.arrayify)(e)},n.zpad=function(e,t){for(e=String(e);e.length@ethersproject/json-wallets",file:"node_modules/@ethersproject/json-wallets/lib/utils.js"}],[501,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){!function(e){function r(e){return parseInt(e)===e}function i(e){if(!r(e.length))return!1;for(var t=0;t255)return!1;return!0}function s(e,t){if(e.buffer&&ArrayBuffer.isView(e)&&"Uint8Array"===e.name)return t&&(e=e.slice?e.slice():Array.prototype.slice.call(e)),e;if(Array.isArray(e)){if(!i(e))throw new Error("Array contains invalid value: "+e);return new Uint8Array(e)}if(r(e.length)&&i(e))return new Uint8Array(e);throw new Error("unsupported array-like object")}function a(e){return new Uint8Array(e)}function o(e,t,n,r,i){null==r&&null==i||(e=e.slice?e.slice(r,i):Array.prototype.slice.call(e,r,i)),t.set(e,n)}var c,u={toBytes:function(e){var t=[],n=0;for(e=encodeURI(e);n191&&r<224?(t.push(String.fromCharCode((31&r)<<6|63&e[n+1])),n+=2):(t.push(String.fromCharCode((15&r)<<12|(63&e[n+1])<<6|63&e[n+2])),n+=3)}return t.join("")}},l=(c="0123456789abcdef",{toBytes:function(e){for(var t=[],n=0;n>4]+c[15&r])}return t.join("")}}),h={16:10,24:12,32:14},d=[1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145],f=[99,124,119,123,242,107,111,197,48,1,103,43,254,215,171,118,202,130,201,125,250,89,71,240,173,212,162,175,156,164,114,192,183,253,147,38,54,63,247,204,52,165,229,241,113,216,49,21,4,199,35,195,24,150,5,154,7,18,128,226,235,39,178,117,9,131,44,26,27,110,90,160,82,59,214,179,41,227,47,132,83,209,0,237,32,252,177,91,106,203,190,57,74,76,88,207,208,239,170,251,67,77,51,133,69,249,2,127,80,60,159,168,81,163,64,143,146,157,56,245,188,182,218,33,16,255,243,210,205,12,19,236,95,151,68,23,196,167,126,61,100,93,25,115,96,129,79,220,34,42,144,136,70,238,184,20,222,94,11,219,224,50,58,10,73,6,36,92,194,211,172,98,145,149,228,121,231,200,55,109,141,213,78,169,108,86,244,234,101,122,174,8,186,120,37,46,28,166,180,198,232,221,116,31,75,189,139,138,112,62,181,102,72,3,246,14,97,53,87,185,134,193,29,158,225,248,152,17,105,217,142,148,155,30,135,233,206,85,40,223,140,161,137,13,191,230,66,104,65,153,45,15,176,84,187,22],p=[82,9,106,213,48,54,165,56,191,64,163,158,129,243,215,251,124,227,57,130,155,47,255,135,52,142,67,68,196,222,233,203,84,123,148,50,166,194,35,61,238,76,149,11,66,250,195,78,8,46,161,102,40,217,36,178,118,91,162,73,109,139,209,37,114,248,246,100,134,104,152,22,212,164,92,204,93,101,182,146,108,112,72,80,253,237,185,218,94,21,70,87,167,141,157,132,144,216,171,0,140,188,211,10,247,228,88,5,184,179,69,6,208,44,30,143,202,63,15,2,193,175,189,3,1,19,138,107,58,145,17,65,79,103,220,234,151,242,207,206,240,180,230,115,150,172,116,34,231,173,53,133,226,249,55,232,28,117,223,110,71,241,26,113,29,41,197,137,111,183,98,14,170,24,190,27,252,86,62,75,198,210,121,32,154,219,192,254,120,205,90,244,31,221,168,51,136,7,199,49,177,18,16,89,39,128,236,95,96,81,127,169,25,181,74,13,45,229,122,159,147,201,156,239,160,224,59,77,174,42,245,176,200,235,187,60,131,83,153,97,23,43,4,126,186,119,214,38,225,105,20,99,85,33,12,125],g=[3328402341,4168907908,4000806809,4135287693,4294111757,3597364157,3731845041,2445657428,1613770832,33620227,3462883241,1445669757,3892248089,3050821474,1303096294,3967186586,2412431941,528646813,2311702848,4202528135,4026202645,2992200171,2387036105,4226871307,1101901292,3017069671,1604494077,1169141738,597466303,1403299063,3832705686,2613100635,1974974402,3791519004,1033081774,1277568618,1815492186,2118074177,4126668546,2211236943,1748251740,1369810420,3521504564,4193382664,3799085459,2883115123,1647391059,706024767,134480908,2512897874,1176707941,2646852446,806885416,932615841,168101135,798661301,235341577,605164086,461406363,3756188221,3454790438,1311188841,2142417613,3933566367,302582043,495158174,1479289972,874125870,907746093,3698224818,3025820398,1537253627,2756858614,1983593293,3084310113,2108928974,1378429307,3722699582,1580150641,327451799,2790478837,3117535592,0,3253595436,1075847264,3825007647,2041688520,3059440621,3563743934,2378943302,1740553945,1916352843,2487896798,2555137236,2958579944,2244988746,3151024235,3320835882,1336584933,3992714006,2252555205,2588757463,1714631509,293963156,2319795663,3925473552,67240454,4269768577,2689618160,2017213508,631218106,1269344483,2723238387,1571005438,2151694528,93294474,1066570413,563977660,1882732616,4059428100,1673313503,2008463041,2950355573,1109467491,537923632,3858759450,4260623118,3218264685,2177748300,403442708,638784309,3287084079,3193921505,899127202,2286175436,773265209,2479146071,1437050866,4236148354,2050833735,3362022572,3126681063,840505643,3866325909,3227541664,427917720,2655997905,2749160575,1143087718,1412049534,999329963,193497219,2353415882,3354324521,1807268051,672404540,2816401017,3160301282,369822493,2916866934,3688947771,1681011286,1949973070,336202270,2454276571,201721354,1210328172,3093060836,2680341085,3184776046,1135389935,3294782118,965841320,831886756,3554993207,4068047243,3588745010,2345191491,1849112409,3664604599,26054028,2983581028,2622377682,1235855840,3630984372,2891339514,4092916743,3488279077,3395642799,4101667470,1202630377,268961816,1874508501,4034427016,1243948399,1546530418,941366308,1470539505,1941222599,2546386513,3421038627,2715671932,3899946140,1042226977,2521517021,1639824860,227249030,260737669,3765465232,2084453954,1907733956,3429263018,2420656344,100860677,4160157185,470683154,3261161891,1781871967,2924959737,1773779408,394692241,2579611992,974986535,664706745,3655459128,3958962195,731420851,571543859,3530123707,2849626480,126783113,865375399,765172662,1008606754,361203602,3387549984,2278477385,2857719295,1344809080,2782912378,59542671,1503764984,160008576,437062935,1707065306,3622233649,2218934982,3496503480,2185314755,697932208,1512910199,504303377,2075177163,2824099068,1841019862,739644986],m=[2781242211,2230877308,2582542199,2381740923,234877682,3184946027,2984144751,1418839493,1348481072,50462977,2848876391,2102799147,434634494,1656084439,3863849899,2599188086,1167051466,2636087938,1082771913,2281340285,368048890,3954334041,3381544775,201060592,3963727277,1739838676,4250903202,3930435503,3206782108,4149453988,2531553906,1536934080,3262494647,484572669,2923271059,1783375398,1517041206,1098792767,49674231,1334037708,1550332980,4098991525,886171109,150598129,2481090929,1940642008,1398944049,1059722517,201851908,1385547719,1699095331,1587397571,674240536,2704774806,252314885,3039795866,151914247,908333586,2602270848,1038082786,651029483,1766729511,3447698098,2682942837,454166793,2652734339,1951935532,775166490,758520603,3000790638,4004797018,4217086112,4137964114,1299594043,1639438038,3464344499,2068982057,1054729187,1901997871,2534638724,4121318227,1757008337,0,750906861,1614815264,535035132,3363418545,3988151131,3201591914,1183697867,3647454910,1265776953,3734260298,3566750796,3903871064,1250283471,1807470800,717615087,3847203498,384695291,3313910595,3617213773,1432761139,2484176261,3481945413,283769337,100925954,2180939647,4037038160,1148730428,3123027871,3813386408,4087501137,4267549603,3229630528,2315620239,2906624658,3156319645,1215313976,82966005,3747855548,3245848246,1974459098,1665278241,807407632,451280895,251524083,1841287890,1283575245,337120268,891687699,801369324,3787349855,2721421207,3431482436,959321879,1469301956,4065699751,2197585534,1199193405,2898814052,3887750493,724703513,2514908019,2696962144,2551808385,3516813135,2141445340,1715741218,2119445034,2872807568,2198571144,3398190662,700968686,3547052216,1009259540,2041044702,3803995742,487983883,1991105499,1004265696,1449407026,1316239930,504629770,3683797321,168560134,1816667172,3837287516,1570751170,1857934291,4014189740,2797888098,2822345105,2754712981,936633572,2347923833,852879335,1133234376,1500395319,3084545389,2348912013,1689376213,3533459022,3762923945,3034082412,4205598294,133428468,634383082,2949277029,2398386810,3913789102,403703816,3580869306,2297460856,1867130149,1918643758,607656988,4049053350,3346248884,1368901318,600565992,2090982877,2632479860,557719327,3717614411,3697393085,2249034635,2232388234,2430627952,1115438654,3295786421,2865522278,3633334344,84280067,33027830,303828494,2747425121,1600795957,4188952407,3496589753,2434238086,1486471617,658119965,3106381470,953803233,334231800,3005978776,857870609,3151128937,1890179545,2298973838,2805175444,3056442267,574365214,2450884487,550103529,1233637070,4289353045,2018519080,2057691103,2399374476,4166623649,2148108681,387583245,3664101311,836232934,3330556482,3100665960,3280093505,2955516313,2002398509,287182607,3413881008,4238890068,3597515707,975967766],y=[1671808611,2089089148,2006576759,2072901243,4061003762,1807603307,1873927791,3310653893,810573872,16974337,1739181671,729634347,4263110654,3613570519,2883997099,1989864566,3393556426,2191335298,3376449993,2106063485,4195741690,1508618841,1204391495,4027317232,2917941677,3563566036,2734514082,2951366063,2629772188,2767672228,1922491506,3227229120,3082974647,4246528509,2477669779,644500518,911895606,1061256767,4144166391,3427763148,878471220,2784252325,3845444069,4043897329,1905517169,3631459288,827548209,356461077,67897348,3344078279,593839651,3277757891,405286936,2527147926,84871685,2595565466,118033927,305538066,2157648768,3795705826,3945188843,661212711,2999812018,1973414517,152769033,2208177539,745822252,439235610,455947803,1857215598,1525593178,2700827552,1391895634,994932283,3596728278,3016654259,695947817,3812548067,795958831,2224493444,1408607827,3513301457,0,3979133421,543178784,4229948412,2982705585,1542305371,1790891114,3410398667,3201918910,961245753,1256100938,1289001036,1491644504,3477767631,3496721360,4012557807,2867154858,4212583931,1137018435,1305975373,861234739,2241073541,1171229253,4178635257,33948674,2139225727,1357946960,1011120188,2679776671,2833468328,1374921297,2751356323,1086357568,2408187279,2460827538,2646352285,944271416,4110742005,3168756668,3066132406,3665145818,560153121,271589392,4279952895,4077846003,3530407890,3444343245,202643468,322250259,3962553324,1608629855,2543990167,1154254916,389623319,3294073796,2817676711,2122513534,1028094525,1689045092,1575467613,422261273,1939203699,1621147744,2174228865,1339137615,3699352540,577127458,712922154,2427141008,2290289544,1187679302,3995715566,3100863416,339486740,3732514782,1591917662,186455563,3681988059,3762019296,844522546,978220090,169743370,1239126601,101321734,611076132,1558493276,3260915650,3547250131,2901361580,1655096418,2443721105,2510565781,3828863972,2039214713,3878868455,3359869896,928607799,1840765549,2374762893,3580146133,1322425422,2850048425,1823791212,1459268694,4094161908,3928346602,1706019429,2056189050,2934523822,135794696,3134549946,2022240376,628050469,779246638,472135708,2800834470,3032970164,3327236038,3894660072,3715932637,1956440180,522272287,1272813131,3185336765,2340818315,2323976074,1888542832,1044544574,3049550261,1722469478,1222152264,50660867,4127324150,236067854,1638122081,895445557,1475980887,3117443513,2257655686,3243809217,489110045,2662934430,3778599393,4162055160,2561878936,288563729,1773916777,3648039385,2391345038,2493985684,2612407707,505560094,2274497927,3911240169,3460925390,1442818645,678973480,3749357023,2358182796,2717407649,2306869641,219617805,3218761151,3862026214,1120306242,1756942440,1103331905,2578459033,762796589,252780047,2966125488,1425844308,3151392187,372911126],b=[1667474886,2088535288,2004326894,2071694838,4075949567,1802223062,1869591006,3318043793,808472672,16843522,1734846926,724270422,4278065639,3621216949,2880169549,1987484396,3402253711,2189597983,3385409673,2105378810,4210693615,1499065266,1195886990,4042263547,2913856577,3570689971,2728590687,2947541573,2627518243,2762274643,1920112356,3233831835,3082273397,4261223649,2475929149,640051788,909531756,1061110142,4160160501,3435941763,875846760,2779116625,3857003729,4059105529,1903268834,3638064043,825316194,353713962,67374088,3351728789,589522246,3284360861,404236336,2526454071,84217610,2593830191,117901582,303183396,2155911963,3806477791,3958056653,656894286,2998062463,1970642922,151591698,2206440989,741110872,437923380,454765878,1852748508,1515908788,2694904667,1381168804,993742198,3604373943,3014905469,690584402,3823320797,791638366,2223281939,1398011302,3520161977,0,3991743681,538992704,4244381667,2981218425,1532751286,1785380564,3419096717,3200178535,960056178,1246420628,1280103576,1482221744,3486468741,3503319995,4025428677,2863326543,4227536621,1128514950,1296947098,859002214,2240123921,1162203018,4193849577,33687044,2139062782,1347481760,1010582648,2678045221,2829640523,1364325282,2745433693,1077985408,2408548869,2459086143,2644360225,943212656,4126475505,3166494563,3065430391,3671750063,555836226,269496352,4294908645,4092792573,3537006015,3452783745,202118168,320025894,3974901699,1600119230,2543297077,1145359496,387397934,3301201811,2812801621,2122220284,1027426170,1684319432,1566435258,421079858,1936954854,1616945344,2172753945,1330631070,3705438115,572679748,707427924,2425400123,2290647819,1179044492,4008585671,3099120491,336870440,3739122087,1583276732,185277718,3688593069,3772791771,842159716,976899700,168435220,1229577106,101059084,606366792,1549591736,3267517855,3553849021,2897014595,1650632388,2442242105,2509612081,3840161747,2038008818,3890688725,3368567691,926374254,1835907034,2374863873,3587531953,1313788572,2846482505,1819063512,1448540844,4109633523,3941213647,1701162954,2054852340,2930698567,134748176,3132806511,2021165296,623210314,774795868,471606328,2795958615,3031746419,3334885783,3907527627,3722280097,1953799400,522133822,1263263126,3183336545,2341176845,2324333839,1886425312,1044267644,3048588401,1718004428,1212733584,50529542,4143317495,235803164,1633788866,892690282,1465383342,3115962473,2256965911,3250673817,488449850,2661202215,3789633753,4177007595,2560144171,286339874,1768537042,3654906025,2391705863,2492770099,2610673197,505291324,2273808917,3924369609,3469625735,1431699370,673740880,3755965093,2358021891,2711746649,2307489801,218961690,3217021541,3873845719,1111672452,1751693520,1094828930,2576986153,757954394,252645662,2964376443,1414855848,3149649517,370555436],w=[1374988112,2118214995,437757123,975658646,1001089995,530400753,2902087851,1273168787,540080725,2910219766,2295101073,4110568485,1340463100,3307916247,641025152,3043140495,3736164937,632953703,1172967064,1576976609,3274667266,2169303058,2370213795,1809054150,59727847,361929877,3211623147,2505202138,3569255213,1484005843,1239443753,2395588676,1975683434,4102977912,2572697195,666464733,3202437046,4035489047,3374361702,2110667444,1675577880,3843699074,2538681184,1649639237,2976151520,3144396420,4269907996,4178062228,1883793496,2403728665,2497604743,1383856311,2876494627,1917518562,3810496343,1716890410,3001755655,800440835,2261089178,3543599269,807962610,599762354,33778362,3977675356,2328828971,2809771154,4077384432,1315562145,1708848333,101039829,3509871135,3299278474,875451293,2733856160,92987698,2767645557,193195065,1080094634,1584504582,3178106961,1042385657,2531067453,3711829422,1306967366,2438237621,1908694277,67556463,1615861247,429456164,3602770327,2302690252,1742315127,2968011453,126454664,3877198648,2043211483,2709260871,2084704233,4169408201,0,159417987,841739592,504459436,1817866830,4245618683,260388950,1034867998,908933415,168810852,1750902305,2606453969,607530554,202008497,2472011535,3035535058,463180190,2160117071,1641816226,1517767529,470948374,3801332234,3231722213,1008918595,303765277,235474187,4069246893,766945465,337553864,1475418501,2943682380,4003061179,2743034109,4144047775,1551037884,1147550661,1543208500,2336434550,3408119516,3069049960,3102011747,3610369226,1113818384,328671808,2227573024,2236228733,3535486456,2935566865,3341394285,496906059,3702665459,226906860,2009195472,733156972,2842737049,294930682,1206477858,2835123396,2700099354,1451044056,573804783,2269728455,3644379585,2362090238,2564033334,2801107407,2776292904,3669462566,1068351396,742039012,1350078989,1784663195,1417561698,4136440770,2430122216,775550814,2193862645,2673705150,1775276924,1876241833,3475313331,3366754619,270040487,3902563182,3678124923,3441850377,1851332852,3969562369,2203032232,3868552805,2868897406,566021896,4011190502,3135740889,1248802510,3936291284,699432150,832877231,708780849,3332740144,899835584,1951317047,4236429990,3767586992,866637845,4043610186,1106041591,2144161806,395441711,1984812685,1139781709,3433712980,3835036895,2664543715,1282050075,3240894392,1181045119,2640243204,25965917,4203181171,4211818798,3009879386,2463879762,3910161971,1842759443,2597806476,933301370,1509430414,3943906441,3467192302,3076639029,3776767469,2051518780,2631065433,1441952575,404016761,1942435775,1408749034,1610459739,3745345300,2017778566,3400528769,3110650942,941896748,3265478751,371049330,3168937228,675039627,4279080257,967311729,135050206,3635733660,1683407248,2076935265,3576870512,1215061108,3501741890],_=[1347548327,1400783205,3273267108,2520393566,3409685355,4045380933,2880240216,2471224067,1428173050,4138563181,2441661558,636813900,4233094615,3620022987,2149987652,2411029155,1239331162,1730525723,2554718734,3781033664,46346101,310463728,2743944855,3328955385,3875770207,2501218972,3955191162,3667219033,768917123,3545789473,692707433,1150208456,1786102409,2029293177,1805211710,3710368113,3065962831,401639597,1724457132,3028143674,409198410,2196052529,1620529459,1164071807,3769721975,2226875310,486441376,2499348523,1483753576,428819965,2274680428,3075636216,598438867,3799141122,1474502543,711349675,129166120,53458370,2592523643,2782082824,4063242375,2988687269,3120694122,1559041666,730517276,2460449204,4042459122,2706270690,3446004468,3573941694,533804130,2328143614,2637442643,2695033685,839224033,1973745387,957055980,2856345839,106852767,1371368976,4181598602,1033297158,2933734917,1179510461,3046200461,91341917,1862534868,4284502037,605657339,2547432937,3431546947,2003294622,3182487618,2282195339,954669403,3682191598,1201765386,3917234703,3388507166,0,2198438022,1211247597,2887651696,1315723890,4227665663,1443857720,507358933,657861945,1678381017,560487590,3516619604,975451694,2970356327,261314535,3535072918,2652609425,1333838021,2724322336,1767536459,370938394,182621114,3854606378,1128014560,487725847,185469197,2918353863,3106780840,3356761769,2237133081,1286567175,3152976349,4255350624,2683765030,3160175349,3309594171,878443390,1988838185,3704300486,1756818940,1673061617,3403100636,272786309,1075025698,545572369,2105887268,4174560061,296679730,1841768865,1260232239,4091327024,3960309330,3497509347,1814803222,2578018489,4195456072,575138148,3299409036,446754879,3629546796,4011996048,3347532110,3252238545,4270639778,915985419,3483825537,681933534,651868046,2755636671,3828103837,223377554,2607439820,1649704518,3270937875,3901806776,1580087799,4118987695,3198115200,2087309459,2842678573,3016697106,1003007129,2802849917,1860738147,2077965243,164439672,4100872472,32283319,2827177882,1709610350,2125135846,136428751,3874428392,3652904859,3460984630,3572145929,3593056380,2939266226,824852259,818324884,3224740454,930369212,2801566410,2967507152,355706840,1257309336,4148292826,243256656,790073846,2373340630,1296297904,1422699085,3756299780,3818836405,457992840,3099667487,2135319889,77422314,1560382517,1945798516,788204353,1521706781,1385356242,870912086,325965383,2358957921,2050466060,2388260884,2313884476,4006521127,901210569,3990953189,1014646705,1503449823,1062597235,2031621326,3212035895,3931371469,1533017514,350174575,2256028891,2177544179,1052338372,741876788,1606591296,1914052035,213705253,2334669897,1107234197,1899603969,3725069491,2631447780,2422494913,1635502980,1893020342,1950903388,1120974935],v=[2807058932,1699970625,2764249623,1586903591,1808481195,1173430173,1487645946,59984867,4199882800,1844882806,1989249228,1277555970,3623636965,3419915562,1149249077,2744104290,1514790577,459744698,244860394,3235995134,1963115311,4027744588,2544078150,4190530515,1608975247,2627016082,2062270317,1507497298,2200818878,567498868,1764313568,3359936201,2305455554,2037970062,1047239e3,1910319033,1337376481,2904027272,2892417312,984907214,1243112415,830661914,861968209,2135253587,2011214180,2927934315,2686254721,731183368,1750626376,4246310725,1820824798,4172763771,3542330227,48394827,2404901663,2871682645,671593195,3254988725,2073724613,145085239,2280796200,2779915199,1790575107,2187128086,472615631,3029510009,4075877127,3802222185,4107101658,3201631749,1646252340,4270507174,1402811438,1436590835,3778151818,3950355702,3963161475,4020912224,2667994737,273792366,2331590177,104699613,95345982,3175501286,2377486676,1560637892,3564045318,369057872,4213447064,3919042237,1137477952,2658625497,1119727848,2340947849,1530455833,4007360968,172466556,266959938,516552836,0,2256734592,3980931627,1890328081,1917742170,4294704398,945164165,3575528878,958871085,3647212047,2787207260,1423022939,775562294,1739656202,3876557655,2530391278,2443058075,3310321856,547512796,1265195639,437656594,3121275539,719700128,3762502690,387781147,218828297,3350065803,2830708150,2848461854,428169201,122466165,3720081049,1627235199,648017665,4122762354,1002783846,2117360635,695634755,3336358691,4234721005,4049844452,3704280881,2232435299,574624663,287343814,612205898,1039717051,840019705,2708326185,793451934,821288114,1391201670,3822090177,376187827,3113855344,1224348052,1679968233,2361698556,1058709744,752375421,2431590963,1321699145,3519142200,2734591178,188127444,2177869557,3727205754,2384911031,3215212461,2648976442,2450346104,3432737375,1180849278,331544205,3102249176,4150144569,2952102595,2159976285,2474404304,766078933,313773861,2570832044,2108100632,1668212892,3145456443,2013908262,418672217,3070356634,2594734927,1852171925,3867060991,3473416636,3907448597,2614737639,919489135,164948639,2094410160,2997825956,590424639,2486224549,1723872674,3157750862,3399941250,3501252752,3625268135,2555048196,3673637356,1343127501,4130281361,3599595085,2957853679,1297403050,81781910,3051593425,2283490410,532201772,1367295589,3926170974,895287692,1953757831,1093597963,492483431,3528626907,1446242576,1192455638,1636604631,209336225,344873464,1015671571,669961897,3375740769,3857572124,2973530695,3747192018,1933530610,3464042516,935293895,3454686199,2858115069,1863638845,3683022916,4085369519,3292445032,875313188,1080017571,3279033885,621591778,1233856572,2504130317,24197544,3017672716,3835484340,3247465558,2220981195,3060847922,1551124588,1463996600],S=[4104605777,1097159550,396673818,660510266,2875968315,2638606623,4200115116,3808662347,821712160,1986918061,3430322568,38544885,3856137295,718002117,893681702,1654886325,2975484382,3122358053,3926825029,4274053469,796197571,1290801793,1184342925,3556361835,2405426947,2459735317,1836772287,1381620373,3196267988,1948373848,3764988233,3385345166,3263785589,2390325492,1480485785,3111247143,3780097726,2293045232,548169417,3459953789,3746175075,439452389,1362321559,1400849762,1685577905,1806599355,2174754046,137073913,1214797936,1174215055,3731654548,2079897426,1943217067,1258480242,529487843,1437280870,3945269170,3049390895,3313212038,923313619,679998e3,3215307299,57326082,377642221,3474729866,2041877159,133361907,1776460110,3673476453,96392454,878845905,2801699524,777231668,4082475170,2330014213,4142626212,2213296395,1626319424,1906247262,1846563261,562755902,3708173718,1040559837,3871163981,1418573201,3294430577,114585348,1343618912,2566595609,3186202582,1078185097,3651041127,3896688048,2307622919,425408743,3371096953,2081048481,1108339068,2216610296,0,2156299017,736970802,292596766,1517440620,251657213,2235061775,2933202493,758720310,265905162,1554391400,1532285339,908999204,174567692,1474760595,4002861748,2610011675,3234156416,3693126241,2001430874,303699484,2478443234,2687165888,585122620,454499602,151849742,2345119218,3064510765,514443284,4044981591,1963412655,2581445614,2137062819,19308535,1928707164,1715193156,4219352155,1126790795,600235211,3992742070,3841024952,836553431,1669664834,2535604243,3323011204,1243905413,3141400786,4180808110,698445255,2653899549,2989552604,2253581325,3252932727,3004591147,1891211689,2487810577,3915653703,4237083816,4030667424,2100090966,865136418,1229899655,953270745,3399679628,3557504664,4118925222,2061379749,3079546586,2915017791,983426092,2022837584,1607244650,2118541908,2366882550,3635996816,972512814,3283088770,1568718495,3499326569,3576539503,621982671,2895723464,410887952,2623762152,1002142683,645401037,1494807662,2595684844,1335535747,2507040230,4293295786,3167684641,367585007,3885750714,1865862730,2668221674,2960971305,2763173681,1059270954,2777952454,2724642869,1320957812,2194319100,2429595872,2815956275,77089521,3973773121,3444575871,2448830231,1305906550,4021308739,2857194700,2516901860,3518358430,1787304780,740276417,1699839814,1592394909,2352307457,2272556026,188821243,1729977011,3687994002,274084841,3594982253,3613494426,2701949495,4162096729,322734571,2837966542,1640576439,484830689,1202797690,3537852828,4067639125,349075736,3342319475,4157467219,4255800159,1030690015,1155237496,2951971274,1757691577,607398968,2738905026,499347990,3794078908,1011452712,227885567,2818666809,213114376,3034881240,1455525988,3414450555,850817237,1817998408,3092726480],k=[0,235474187,470948374,303765277,941896748,908933415,607530554,708780849,1883793496,2118214995,1817866830,1649639237,1215061108,1181045119,1417561698,1517767529,3767586992,4003061179,4236429990,4069246893,3635733660,3602770327,3299278474,3400528769,2430122216,2664543715,2362090238,2193862645,2835123396,2801107407,3035535058,3135740889,3678124923,3576870512,3341394285,3374361702,3810496343,3977675356,4279080257,4043610186,2876494627,2776292904,3076639029,3110650942,2472011535,2640243204,2403728665,2169303058,1001089995,899835584,666464733,699432150,59727847,226906860,530400753,294930682,1273168787,1172967064,1475418501,1509430414,1942435775,2110667444,1876241833,1641816226,2910219766,2743034109,2976151520,3211623147,2505202138,2606453969,2302690252,2269728455,3711829422,3543599269,3240894392,3475313331,3843699074,3943906441,4178062228,4144047775,1306967366,1139781709,1374988112,1610459739,1975683434,2076935265,1775276924,1742315127,1034867998,866637845,566021896,800440835,92987698,193195065,429456164,395441711,1984812685,2017778566,1784663195,1683407248,1315562145,1080094634,1383856311,1551037884,101039829,135050206,437757123,337553864,1042385657,807962610,573804783,742039012,2531067453,2564033334,2328828971,2227573024,2935566865,2700099354,3001755655,3168937228,3868552805,3902563182,4203181171,4102977912,3736164937,3501741890,3265478751,3433712980,1106041591,1340463100,1576976609,1408749034,2043211483,2009195472,1708848333,1809054150,832877231,1068351396,766945465,599762354,159417987,126454664,361929877,463180190,2709260871,2943682380,3178106961,3009879386,2572697195,2538681184,2236228733,2336434550,3509871135,3745345300,3441850377,3274667266,3910161971,3877198648,4110568485,4211818798,2597806476,2497604743,2261089178,2295101073,2733856160,2902087851,3202437046,2968011453,3936291284,3835036895,4136440770,4169408201,3535486456,3702665459,3467192302,3231722213,2051518780,1951317047,1716890410,1750902305,1113818384,1282050075,1584504582,1350078989,168810852,67556463,371049330,404016761,841739592,1008918595,775550814,540080725,3969562369,3801332234,4035489047,4269907996,3569255213,3669462566,3366754619,3332740144,2631065433,2463879762,2160117071,2395588676,2767645557,2868897406,3102011747,3069049960,202008497,33778362,270040487,504459436,875451293,975658646,675039627,641025152,2084704233,1917518562,1615861247,1851332852,1147550661,1248802510,1484005843,1451044056,933301370,967311729,733156972,632953703,260388950,25965917,328671808,496906059,1206477858,1239443753,1543208500,1441952575,2144161806,1908694277,1675577880,1842759443,3610369226,3644379585,3408119516,3307916247,4011190502,3776767469,4077384432,4245618683,2809771154,2842737049,3144396420,3043140495,2673705150,2438237621,2203032232,2370213795],E=[0,185469197,370938394,487725847,741876788,657861945,975451694,824852259,1483753576,1400783205,1315723890,1164071807,1950903388,2135319889,1649704518,1767536459,2967507152,3152976349,2801566410,2918353863,2631447780,2547432937,2328143614,2177544179,3901806776,3818836405,4270639778,4118987695,3299409036,3483825537,3535072918,3652904859,2077965243,1893020342,1841768865,1724457132,1474502543,1559041666,1107234197,1257309336,598438867,681933534,901210569,1052338372,261314535,77422314,428819965,310463728,3409685355,3224740454,3710368113,3593056380,3875770207,3960309330,4045380933,4195456072,2471224067,2554718734,2237133081,2388260884,3212035895,3028143674,2842678573,2724322336,4138563181,4255350624,3769721975,3955191162,3667219033,3516619604,3431546947,3347532110,2933734917,2782082824,3099667487,3016697106,2196052529,2313884476,2499348523,2683765030,1179510461,1296297904,1347548327,1533017514,1786102409,1635502980,2087309459,2003294622,507358933,355706840,136428751,53458370,839224033,957055980,605657339,790073846,2373340630,2256028891,2607439820,2422494913,2706270690,2856345839,3075636216,3160175349,3573941694,3725069491,3273267108,3356761769,4181598602,4063242375,4011996048,3828103837,1033297158,915985419,730517276,545572369,296679730,446754879,129166120,213705253,1709610350,1860738147,1945798516,2029293177,1239331162,1120974935,1606591296,1422699085,4148292826,4233094615,3781033664,3931371469,3682191598,3497509347,3446004468,3328955385,2939266226,2755636671,3106780840,2988687269,2198438022,2282195339,2501218972,2652609425,1201765386,1286567175,1371368976,1521706781,1805211710,1620529459,2105887268,1988838185,533804130,350174575,164439672,46346101,870912086,954669403,636813900,788204353,2358957921,2274680428,2592523643,2441661558,2695033685,2880240216,3065962831,3182487618,3572145929,3756299780,3270937875,3388507166,4174560061,4091327024,4006521127,3854606378,1014646705,930369212,711349675,560487590,272786309,457992840,106852767,223377554,1678381017,1862534868,1914052035,2031621326,1211247597,1128014560,1580087799,1428173050,32283319,182621114,401639597,486441376,768917123,651868046,1003007129,818324884,1503449823,1385356242,1333838021,1150208456,1973745387,2125135846,1673061617,1756818940,2970356327,3120694122,2802849917,2887651696,2637442643,2520393566,2334669897,2149987652,3917234703,3799141122,4284502037,4100872472,3309594171,3460984630,3545789473,3629546796,2050466060,1899603969,1814803222,1730525723,1443857720,1560382517,1075025698,1260232239,575138148,692707433,878443390,1062597235,243256656,91341917,409198410,325965383,3403100636,3252238545,3704300486,3620022987,3874428392,3990953189,4042459122,4227665663,2460449204,2578018489,2226875310,2411029155,3198115200,3046200461,2827177882,2743944855],T=[0,218828297,437656594,387781147,875313188,958871085,775562294,590424639,1750626376,1699970625,1917742170,2135253587,1551124588,1367295589,1180849278,1265195639,3501252752,3720081049,3399941250,3350065803,3835484340,3919042237,4270507174,4085369519,3102249176,3051593425,2734591178,2952102595,2361698556,2177869557,2530391278,2614737639,3145456443,3060847922,2708326185,2892417312,2404901663,2187128086,2504130317,2555048196,3542330227,3727205754,3375740769,3292445032,3876557655,3926170974,4246310725,4027744588,1808481195,1723872674,1910319033,2094410160,1608975247,1391201670,1173430173,1224348052,59984867,244860394,428169201,344873464,935293895,984907214,766078933,547512796,1844882806,1627235199,2011214180,2062270317,1507497298,1423022939,1137477952,1321699145,95345982,145085239,532201772,313773861,830661914,1015671571,731183368,648017665,3175501286,2957853679,2807058932,2858115069,2305455554,2220981195,2474404304,2658625497,3575528878,3625268135,3473416636,3254988725,3778151818,3963161475,4213447064,4130281361,3599595085,3683022916,3432737375,3247465558,3802222185,4020912224,4172763771,4122762354,3201631749,3017672716,2764249623,2848461854,2331590177,2280796200,2431590963,2648976442,104699613,188127444,472615631,287343814,840019705,1058709744,671593195,621591778,1852171925,1668212892,1953757831,2037970062,1514790577,1463996600,1080017571,1297403050,3673637356,3623636965,3235995134,3454686199,4007360968,3822090177,4107101658,4190530515,2997825956,3215212461,2830708150,2779915199,2256734592,2340947849,2627016082,2443058075,172466556,122466165,273792366,492483431,1047239e3,861968209,612205898,695634755,1646252340,1863638845,2013908262,1963115311,1446242576,1530455833,1277555970,1093597963,1636604631,1820824798,2073724613,1989249228,1436590835,1487645946,1337376481,1119727848,164948639,81781910,331544205,516552836,1039717051,821288114,669961897,719700128,2973530695,3157750862,2871682645,2787207260,2232435299,2283490410,2667994737,2450346104,3647212047,3564045318,3279033885,3464042516,3980931627,3762502690,4150144569,4199882800,3070356634,3121275539,2904027272,2686254721,2200818878,2384911031,2570832044,2486224549,3747192018,3528626907,3310321856,3359936201,3950355702,3867060991,4049844452,4234721005,1739656202,1790575107,2108100632,1890328081,1402811438,1586903591,1233856572,1149249077,266959938,48394827,369057872,418672217,1002783846,919489135,567498868,752375421,209336225,24197544,376187827,459744698,945164165,895287692,574624663,793451934,1679968233,1764313568,2117360635,1933530610,1343127501,1560637892,1243112415,1192455638,3704280881,3519142200,3336358691,3419915562,3907448597,3857572124,4075877127,4294704398,3029510009,3113855344,2927934315,2744104290,2159976285,2377486676,2594734927,2544078150],A=[0,151849742,303699484,454499602,607398968,758720310,908999204,1059270954,1214797936,1097159550,1517440620,1400849762,1817998408,1699839814,2118541908,2001430874,2429595872,2581445614,2194319100,2345119218,3034881240,3186202582,2801699524,2951971274,3635996816,3518358430,3399679628,3283088770,4237083816,4118925222,4002861748,3885750714,1002142683,850817237,698445255,548169417,529487843,377642221,227885567,77089521,1943217067,2061379749,1640576439,1757691577,1474760595,1592394909,1174215055,1290801793,2875968315,2724642869,3111247143,2960971305,2405426947,2253581325,2638606623,2487810577,3808662347,3926825029,4044981591,4162096729,3342319475,3459953789,3576539503,3693126241,1986918061,2137062819,1685577905,1836772287,1381620373,1532285339,1078185097,1229899655,1040559837,923313619,740276417,621982671,439452389,322734571,137073913,19308535,3871163981,4021308739,4104605777,4255800159,3263785589,3414450555,3499326569,3651041127,2933202493,2815956275,3167684641,3049390895,2330014213,2213296395,2566595609,2448830231,1305906550,1155237496,1607244650,1455525988,1776460110,1626319424,2079897426,1928707164,96392454,213114376,396673818,514443284,562755902,679998e3,865136418,983426092,3708173718,3557504664,3474729866,3323011204,4180808110,4030667424,3945269170,3794078908,2507040230,2623762152,2272556026,2390325492,2975484382,3092726480,2738905026,2857194700,3973773121,3856137295,4274053469,4157467219,3371096953,3252932727,3673476453,3556361835,2763173681,2915017791,3064510765,3215307299,2156299017,2307622919,2459735317,2610011675,2081048481,1963412655,1846563261,1729977011,1480485785,1362321559,1243905413,1126790795,878845905,1030690015,645401037,796197571,274084841,425408743,38544885,188821243,3613494426,3731654548,3313212038,3430322568,4082475170,4200115116,3780097726,3896688048,2668221674,2516901860,2366882550,2216610296,3141400786,2989552604,2837966542,2687165888,1202797690,1320957812,1437280870,1554391400,1669664834,1787304780,1906247262,2022837584,265905162,114585348,499347990,349075736,736970802,585122620,972512814,821712160,2595684844,2478443234,2293045232,2174754046,3196267988,3079546586,2895723464,2777952454,3537852828,3687994002,3234156416,3385345166,4142626212,4293295786,3841024952,3992742070,174567692,57326082,410887952,292596766,777231668,660510266,1011452712,893681702,1108339068,1258480242,1343618912,1494807662,1715193156,1865862730,1948373848,2100090966,2701949495,2818666809,3004591147,3122358053,2235061775,2352307457,2535604243,2653899549,3915653703,3764988233,4219352155,4067639125,3444575871,3294430577,3746175075,3594982253,836553431,953270745,600235211,718002117,367585007,484830689,133361907,251657213,2041877159,1891211689,1806599355,1654886325,1568718495,1418573201,1335535747,1184342925];function x(e){for(var t=[],n=0;n>2,this._Ke[n][t%4]=s[t],this._Kd[e-n][t%4]=s[t];for(var a,o=0,c=i;c>16&255]<<24^f[a>>8&255]<<16^f[255&a]<<8^f[a>>24&255]^d[o]<<24,o+=1,8!=i)for(t=1;t>8&255]<<8^f[a>>16&255]<<16^f[a>>24&255]<<24;for(t=i/2+1;t>2,l=c%4,this._Ke[u][l]=s[t],this._Kd[e-u][l]=s[t++],c++}for(var u=1;u>24&255]^E[a>>16&255]^T[a>>8&255]^A[255&a]},C.prototype.encrypt=function(e){if(16!=e.length)throw new Error("invalid plaintext size (must be 16 bytes)");for(var t=this._Ke.length-1,n=[0,0,0,0],r=x(e),i=0;i<4;i++)r[i]^=this._Ke[0][i];for(var s=1;s>24&255]^m[r[(i+1)%4]>>16&255]^y[r[(i+2)%4]>>8&255]^b[255&r[(i+3)%4]]^this._Ke[s][i];r=n.slice()}var o,c=a(16);for(i=0;i<4;i++)o=this._Ke[t][i],c[4*i]=255&(f[r[i]>>24&255]^o>>24),c[4*i+1]=255&(f[r[(i+1)%4]>>16&255]^o>>16),c[4*i+2]=255&(f[r[(i+2)%4]>>8&255]^o>>8),c[4*i+3]=255&(f[255&r[(i+3)%4]]^o);return c},C.prototype.decrypt=function(e){if(16!=e.length)throw new Error("invalid ciphertext size (must be 16 bytes)");for(var t=this._Kd.length-1,n=[0,0,0,0],r=x(e),i=0;i<4;i++)r[i]^=this._Kd[0][i];for(var s=1;s>24&255]^_[r[(i+3)%4]>>16&255]^v[r[(i+2)%4]>>8&255]^S[255&r[(i+1)%4]]^this._Kd[s][i];r=n.slice()}var o,c=a(16);for(i=0;i<4;i++)o=this._Kd[t][i],c[4*i]=255&(p[r[i]>>24&255]^o>>24),c[4*i+1]=255&(p[r[(i+3)%4]>>16&255]^o>>16),c[4*i+2]=255&(p[r[(i+2)%4]>>8&255]^o>>8),c[4*i+3]=255&(p[255&r[(i+1)%4]]^o);return c};var P=function(e){if(!(this instanceof P))throw Error("AES must be instanitated with `new`");this.description="Electronic Code Block",this.name="ecb",this._aes=new C(e)};P.prototype.encrypt=function(e){if((e=s(e)).length%16!=0)throw new Error("invalid plaintext size (must be multiple of 16 bytes)");for(var t=a(e.length),n=a(16),r=0;r=0;--t)this._counter[t]=e%256,e>>=8},j.prototype.setBytes=function(e){if(16!=(e=s(e,!0)).length)throw new Error("invalid counter bytes size (must be 16 bytes)");this._counter=e},j.prototype.increment=function(){for(var e=15;e>=0;e--){if(255!==this._counter[e]){this._counter[e]++;break}this._counter[e]=0}};var D=function(e,t){if(!(this instanceof D))throw Error("AES must be instanitated with `new`");this.description="Counter",this.name="ctr",t instanceof j||(t=new j(t)),this._counter=t,this._remainingCounter=null,this._remainingCounterIndex=16,this._aes=new C(e)};D.prototype.encrypt=function(e){for(var t=s(e,!0),n=0;n16)throw new Error("PKCS#7 padding byte out of range");for(var n=e.length-t,r=0;r@ethersproject/json-wallets>aes-js",file:"node_modules/@ethersproject/json-wallets/node_modules/aes-js/index.js"}],[51,{"@metamask/name-controller":1529},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.ChangeType=n.AbstractPetnamesBridge=void 0;var r=e("@metamask/name-controller");function i(e,t){o(e,t),t.add(e)}function s(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t,n){o(e,t),t.set(e,n)}function o(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function c(e,t,n){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return n}function u(e,t){return function(e,t){if(t.get)return t.get.call(e);return t.value}(e,h(e,t,"get"))}function l(e,t,n){return function(e,t,n){if(t.set)t.set.call(e,n);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=n}}(e,h(e,t,"set"),n),n}function h(e,t,n){if(!t.has(e))throw new TypeError("attempted to "+n+" private field on non-instance");return t.get(e)}let d=n.ChangeType=function(e){return e.ADDED="ADDED",e.UPDATED="UPDATED",e.DELETED="DELETED",e}({});var f=function(e){return e.SOURCE_TO_PETNAMES="Source->Petnames",e.PETNAMES_TO_SOURCE="Petnames->Source",e}(f||{});function p({type:e,variation:t,value:n}){return`${e}/${t}/${e===r.NameType.ETHEREUM_ADDRESS?n.toLowerCase():n}`}var g=new WeakMap,m=new WeakMap,y=new WeakMap,b=new WeakSet,w=new WeakSet,_=new WeakSet,v=new WeakSet,S=new WeakSet;function k(e){if(u(this,y)===e)throw new Error(`Attempted to synchronize recursively in same direction: ${e}`);if(null!==u(this,y))return;l(this,y,e);const[t,n]="Source->Petnames"===e?[this.getSourceEntries(),c(this,w,E).call(this)]:[c(this,w,E).call(this),this.getSourceEntries()],r=c(this,v,A).call(this,n,t);c(this,S,x).call(this,r),l(this,y,null)}function E(){const{names:e}=u(this,m).state,t=[];for(const n of Object.values(r.NameType))for(const r of Object.keys(e[n]))for(const i of Object.keys(e[n][r])){const{name:s,sourceId:a,origin:o}=e[n][r][i];if(!s)continue;const c={value:r,type:n,name:s,variation:i,sourceId:a??undefined,origin:o??undefined};this.shouldSyncPetname(c)&&t.push(c)}return t}function T(e,t){e===d.DELETED?(delete t.sourceId,delete t.origin,u(this,m).setName({...t,name:null})):u(this,m).setName(t)}function A(e,t){const n=[],r=[],i=[],s=new Map(e.map((e=>[p(e),e]))),a=new Map(t.map((e=>[p(e),e])));return a.forEach(((e,t)=>{const i=s.get(t);i?e.name!==i.name&&r.push(e):n.push(e)})),s.forEach(((e,t)=>{a.has(t)||i.push(e)})),{[d.ADDED]:n,[d.UPDATED]:r,[d.DELETED]:i}}function x(e){const t=u(this,y)===f.SOURCE_TO_PETNAMES?c(this,_,T).bind(this):this.updateSourceEntry.bind(this);for(const n of Object.values(d))for(const r of e[n])t(n,r)}n.AbstractPetnamesBridge=class{constructor({isTwoWay:e,nameController:t,messenger:n}){i(this,S),i(this,v),i(this,_),i(this,w),i(this,b),a(this,g,{writable:!0,value:void 0}),a(this,m,{writable:!0,value:void 0}),a(this,y,{writable:!0,value:null}),s(this,"messenger",void 0),l(this,g,e),l(this,m,t),this.messenger=n}init(){u(this,g)&&this.messenger.subscribe("NameController:stateChange",(()=>c(this,b,k).call(this,f.PETNAMES_TO_SOURCE))),this.onSourceChange((()=>c(this,b,k).call(this,f.SOURCE_TO_PETNAMES)))}updateSourceEntry(e,t){throw new Error("updateSourceEntry must be overridden for two-way bridges")}shouldSyncPetname(e){return!0}}}}},{package:"$root$",file:"app/scripts/lib/AbstractPetnamesBridge.ts"}],[52,{"./AbstractPetnamesBridge":51,"@metamask/name-controller":1529},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.AccountIdentitiesPetnamesBridge=void 0;var r=e("@metamask/name-controller"),i=e("./AbstractPetnamesBridge");class s extends i.AbstractPetnamesBridge{constructor({nameController:e,messenger:t}){super({isTwoWay:!1,nameController:e,messenger:t})}getSourceEntries(){return this.messenger.call("AccountsController:listAccounts").map((e=>({value:e.address,type:r.NameType.ETHEREUM_ADDRESS,name:e.metadata.name,sourceId:undefined,variation:r.FALLBACK_VARIATION,origin:r.NameOrigin.ACCOUNT_IDENTITY})))}onSourceChange(e){this.messenger.subscribe("AccountsController:stateChange",e)}shouldSyncPetname(e){return e.origin===r.NameOrigin.ACCOUNT_IDENTITY}}n.AccountIdentitiesPetnamesBridge=s}}},{package:"$root$",file:"app/scripts/lib/AccountIdentitiesPetnamesBridge.ts"}],[53,{"./AbstractPetnamesBridge":51,"@metamask/name-controller":1529},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.AddressBookPetnamesBridge=void 0;var r=e("@metamask/name-controller"),i=e("./AbstractPetnamesBridge");function s(e,t,n){!function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}(e,t),t.set(e,n)}function a(e,t){return function(e,t){if(t.get)return t.get.call(e);return t.value}(e,c(e,t,"get"))}function o(e,t,n){return function(e,t,n){if(t.set)t.set.call(e,n);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=n}}(e,c(e,t,"set"),n),n}function c(e,t,n){if(!t.has(e))throw new TypeError("attempted to "+n+" private field on non-instance");return t.get(e)}var u=new WeakMap;class l extends i.AbstractPetnamesBridge{constructor({addressBookController:e,nameController:t,messenger:n}){super({isTwoWay:!0,nameController:t,messenger:n}),s(this,u,{writable:!0,value:void 0}),o(this,u,e)}getSourceEntries(){const e=[],{state:t}=a(this,u);for(const n of Object.keys(t.addressBook)){const i=t.addressBook[n];for(const s of Object.keys(i)){const i=t.addressBook[n][s],a=n.toLowerCase(),{name:o,isEns:c}=i;null!=o&&o.length&&null!=s&&s.length&&e.push({value:s,name:o,variation:a,type:r.NameType.ETHEREUM_ADDRESS,sourceId:c?"ens":undefined,origin:r.NameOrigin.ADDRESS_BOOK})}}return e}updateSourceEntry(e,t){e===i.ChangeType.DELETED?a(this,u).delete(t.variation,t.value):a(this,u).set(t.value,t.name,t.variation)}onSourceChange(e){a(this,u).subscribe(e)}}n.AddressBookPetnamesBridge=l}}},{package:"$root$",file:"app/scripts/lib/AddressBookPetnamesBridge.ts"}],[54,{"@metamask/base-controller":1154,"@metamask/obs-store":1610},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r=e("@metamask/obs-store"),i=e("@metamask/base-controller");function s(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class a extends r.ObservableStore{constructor({config:e,controllerMessenger:t,state:n,persist:r}){super(n),s(this,"config",{}),this.persist=r,this.controllerMessenger=t,e&&this.updateStructure(e)}updateStructure(e){this.config=e,this.removeAllListeners();const t={};for(const r of Object.keys(e)){var n;if(!e[r])throw new Error(`Undefined '${r}'`);const s=e[r];s.subscribe?e[r].subscribe((e=>{this.updateState({[r]:e})})):this.controllerMessenger.subscribe(`${s.name}:stateChange`,(t=>{let n=t;this.persist&&(n=(0,i.getPersistentState)(t,e[r].metadata)),this.updateState({[r]:n})})),t[r]=s.state??(null===(n=s.getState)||void 0===n?void 0:n.call(s))}this.updateState(t)}getFlatState(){if(!this.config)return{};let e={};for(const t of Object.keys(this.config)){const n=this.config[t],r=n.getState?n.getState():n.state;e={...e,...r}}return e}}n.default=a}}},{package:"$root$",file:"app/scripts/lib/ComposableObservableStore.js"}],[55,{"@metamask/name-controller":1529,"@metamask/snaps-utils":2163,loglevel:3842},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.SnapsNameProvider=void 0;var r,i=e("@metamask/name-controller"),s=e("@metamask/snaps-utils"),a=(r=e("loglevel"))&&r.__esModule?r:{default:r};function o(e,t){c(e,t),t.add(e)}function c(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function u(e,t){return function(e,t){if(t.get)return t.get.call(e);return t.value}(e,d(e,t,"get"))}function l(e,t,n){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return n}function h(e,t,n){return function(e,t,n){if(t.set)t.set.call(e,n);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=n}}(e,d(e,t,"set"),n),n}function d(e,t,n){if(!t.has(e))throw new TypeError("attempted to "+n+" private field on non-instance");return t.get(e)}var f=new WeakMap,p=new WeakSet,g=new WeakSet;function m(){const e=u(this,f).call("PermissionController:getState").subjects;return u(this,f).call("SnapController:getAll").filter((({id:t})=>{var n;return null===(n=e[t])||void 0===n?void 0:n.permissions["endowment:name-lookup"]}))}async function y(e,t){const{variation:n,value:r}=t,i=e.id,o={chainId:`eip155:${parseInt(n,16)}`,address:r};let c,l;try{const t=await u(this,f).call("SnapController:handleRequest",{snapId:e.id,origin:"",handler:s.HandlerType.OnNameLookup,request:{jsonrpc:"2.0",method:" ",params:o}}),n=null==t?void 0:t.resolvedDomains;c=n?[...new Set(n.map((e=>e.resolvedDomain)))]:[]}catch(t){a.default.error("Snap name provider request failed",{snapId:e.id,request:o,error:t}),l=t}return{sourceId:i,result:{proposedNames:c,error:l}}}n.SnapsNameProvider=class{constructor({messenger:e}){o(this,g),o(this,p),function(e,t,n){c(e,t),t.set(e,n)}(this,f,{writable:!0,value:void 0}),h(this,f,e)}getMetadata(){const e=l(this,p,m).call(this);return{sourceIds:{[i.NameType.ETHEREUM_ADDRESS]:e.map((e=>e.id))},sourceLabels:e.reduce(((e,t)=>{const n=u(this,f).call("SnapController:get",t.id),r=null==n?void 0:n.manifest.proposedName;return{...e,[t.id]:r||t.id}}),{})}}async getProposedNames(e){const t=l(this,p,m).call(this);return{results:(await Promise.all(t.map((t=>l(this,g,y).call(this,t,e))))).reduce(((e,t)=>{const{sourceId:n,result:r}=t;return{...e,[n]:r}}),{})}}}}}},{package:"$root$",file:"app/scripts/lib/SnapsNameProvider.ts"}],[551,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.version=void 0,n.version="wallet/5.7.0"}}},{package:"@ethersproject/wallet",file:"node_modules/@ethersproject/wallet/lib/_version.js"}],[552,{"./_version":551,"@ethersproject/abstract-provider":463,"@ethersproject/abstract-signer":465,"@ethersproject/address":467,"@ethersproject/bytes":476,"@ethersproject/hash":489,"@ethersproject/hdnode":494,"@ethersproject/json-wallets":497,"@ethersproject/keccak256":502,"@ethersproject/logger":504,"@ethersproject/properties":510,"@ethersproject/random":533,"@ethersproject/signing-key":543,"@ethersproject/transactions":550},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),s=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,s){function a(e){try{c(r.next(e))}catch(e){s(e)}}function o(e){try{c(r.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,o)}c((r=r.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,r,i,s,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return s={next:o(0),throw:o(1),return:o(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function o(s){return function(o){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]{const r=this.get(n);r!==undefined&&e.push([n,r])})),e.values()}keys(){return this.map.keys()}values(){const e=[];return this.map.forEach(((t,n)=>{const r=this.get(n);r!==undefined&&e.push(r)})),e.values()}[Symbol.iterator](){return this.entries()}get[Symbol.toStringTag](){return"WeakRefObjectMap"}forEach(e,t){this.map.forEach(((n,r)=>{const i=this.get(r);i!==undefined&&(t?e.call(t,i,r,this):e(i,r,this))}))}}n.WeakRefObjectMap=i}}},{package:"$root$",file:"app/scripts/lib/WeakRefObjectMap.ts"}],[568,{"@firebase/component":569,"@firebase/logger":571,"@firebase/util":574,idb:3633},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"FirebaseError",{enumerable:!0,get:function(){return s.FirebaseError}}),n._DEFAULT_ENTRY_NAME=n.SDK_VERSION=void 0,n._addComponent=m,n._addOrOverwriteComponent=function(e,t){e.container.addOrOverwriteComponent(t)},n._apps=void 0,n._clearComponents=function(){g.clear()} /** * @license * Copyright 2019 Google LLC diff --git a/contracts/test/e2e/metamask-flask-unpacked/background-6.js b/contracts/test/e2e/metamask-flask-unpacked/background-6.js index 7a81a5c..ed30aa7 100644 --- a/contracts/test/e2e/metamask-flask-unpacked/background-6.js +++ b/contracts/test/e2e/metamask-flask-unpacked/background-6.js @@ -1 +1 @@ -LavaPack.loadBundle([[63,{loglevel:3842,"webextension-polyfill":4472},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function({location:e,registerOnboarding:t}){return async function(n,a,i,o){try{if("wallet_registerOnboarding"!==n.method)return void i();n.tabId&&n.tabId!==s.default.tabs.TAB_ID_NONE?await t(e,n.tabId):r.default.debug(`'wallet_registerOnboarding' message from ${e} ignored due to missing tabId`),a.result=!0,o()}catch(e){o(e)}}};var r=a(e("loglevel")),s=a(e("webextension-polyfill"));function a(e){return e&&e.__esModule?e:{default:e}}}}},{package:"$root$",file:"app/scripts/lib/createOnboardingMiddleware.js"}],[630,{"safe-buffer":629},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r=e("safe-buffer").Buffer,s=r.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function a(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(r.isEncoding===s||!s(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=c,this.end=u,t=4;break;case"utf8":this.fillLast=o,t=4;break;case"base64":this.text=l,this.end=d,t=3;break;default:return this.write=p,void(this.end=f)}this.lastNeed=0,this.lastTotal=0,this.lastChar=r.allocUnsafe(t)}function i(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function o(e){var t=this.lastTotal-this.lastNeed,n=function(e,t,n){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return n!==undefined?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function c(e,t){if((e.length-t)%2==0){var n=e.toString("utf16le",t);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function u(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function l(e,t){var n=(e.length-t)%3;return 0===n?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-n))}function d(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function p(e){return e.toString(this.encoding)}function f(e){return e&&e.length?this.write(e):""}n.StringDecoder=a,a.prototype.write=function(e){if(0===e.length)return"";var t,n;if(this.lastNeed){if((t=this.fillLast(e))===undefined)return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n=0)return s>0&&(e.lastNeed=s-1),s;if(--r=0)return s>0&&(e.lastNeed=s-2),s;if(--r=0)return s>0&&(2===s?s=0:e.lastNeed=s-3),s;return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var r=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,r),e.toString("utf8",t,r)},a.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}}}},{package:"@keystonehq/metamask-airgapped-keyring>@metamask/obs-store>through2>readable-stream>string_decoder",file:"node_modules/@keystonehq/metamask-airgapped-keyring/node_modules/string_decoder/lib/string_decoder.js"}],[631,{_process:3992,"readable-stream":627,util:4423,xtend:4478},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){(function(n){(function(){var r=e("readable-stream").Transform,s=e("util").inherits,a=e("xtend");function i(e){r.call(this,e),this._destroyed=!1}function o(e,t,n){n(null,e)}function c(e){return function(t,n,r){return"function"==typeof t&&(r=n,n=t,t={}),"function"!=typeof n&&(n=o),"function"!=typeof r&&(r=null),e(t,n,r)}}s(i,r),i.prototype.destroy=function(e){if(!this._destroyed){this._destroyed=!0;var t=this;n.nextTick((function(){e&&t.emit("error",e),t.emit("close")}))}},t.exports=c((function(e,t,n){var r=new i(e);return r._transform=t,n&&(r._flush=n),r})),t.exports.ctor=c((function(e,t,n){function r(t){if(!(this instanceof r))return new r(t);this.options=a(e,t),i.call(this,this.options)}return s(r,i),r.prototype._transform=t,n&&(r.prototype._flush=n),r})),t.exports.obj=c((function(e,t,n){var r=new i(a({objectMode:!0,highWaterMark:16},e));return r._transform=t,n&&(r._flush=n),r}))}).call(this)}).call(this,e("_process"))}}},{package:"@keystonehq/metamask-airgapped-keyring>@metamask/obs-store>through2",file:"node_modules/@keystonehq/metamask-airgapped-keyring/node_modules/through2/through2.js"}],[64,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e){return function(t,n,r){t.origin=e.origin,r()}}}}},{package:"$root$",file:"app/scripts/lib/createOriginMiddleware.js"}],[65,{"../../../shared/constants/app":4493,"../../../shared/constants/metametrics":4505,"../../../shared/constants/security-provider":4513,"../../../shared/constants/transaction":4520,"../../../ui/helpers/utils/metrics":5389,"../../../ui/pages/confirmations/utils/confirm":5724,"./snap-keyring/metrics":111,"@metamask/controller-utils":1163,"eth-rpc-errors":3257,"ethereumjs-util":3288},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function({trackEvent:e,getMetricsState:t,rateLimitTimeout:n=3e5,rateLimitSamplePercent:E=.001,globalRateLimitTimeout:w=3e5,globalRateLimitMaxAmount:v=10,getAccountType:T,getDeviceModel:S,isConfirmationRedesignEnabled:M,snapAndHardwareMessenger:A,appStateController:P}){return async function(O,N,C){const{origin:R,method:k,params:I}=O,D=h[k]??f.RANDOM_SAMPLE;let j;switch(D){case f.TIMEOUT:j=void 0!==b[k];break;case f.NON_RATE_LIMITED:j=!1;break;case f.BLOCKED:j=!0;break;default:case f.RANDOM_SAMPLE:j=Math.random()>=E}const L=v>0&&_>=v,x=!0===t().participateInMetaMetrics,U=g[k],$={},G=R!==i.ORIGIN_METAMASK&&!j&&!L&&!0===x;if(G){const t=U?U.REQUESTED:o.MetaMetricsEventName.ProviderMethodCalled;if(t===o.MetaMetricsEventName.SignatureRequested){var Y,F,V,B,K;let e;var W,H;if($.signature_type=k,(0,a.isValidAddress)(null==O||null===(Y=O.params)||void 0===Y?void 0:Y[1]))e=null==O||null===(W=O.params)||void 0===W?void 0:W[0];else e=null==O||null===(H=O.params)||void 0===H?void 0:H[1];null!==(F=O.securityAlertResponse)&&void 0!==F&&F.providerRequestsCount&&Object.keys(O.securityAlertResponse.providerRequestsCount).forEach((e=>{$[`ppom_${e}_count`]=O.securityAlertResponse.providerRequestsCount[e]})),$.security_alert_response=(null===(V=O.securityAlertResponse)||void 0===V?void 0:V.result_type)??c.BlockaidResultType.NotApplicable,$.security_alert_reason=(null===(B=O.securityAlertResponse)||void 0===B?void 0:B.reason)??c.BlockaidReason.notApplicable,null!==(K=O.securityAlertResponse)&&void 0!==K&&K.description&&($.security_alert_description=O.securityAlertResponse.description);M()&&d.REDESIGN_APPROVAL_TYPES.find((e=>e===m[k]))&&($.ui_customizations=[...$.ui_customizations||[],o.MetaMetricsEventUiCustomization.RedesignedConfirmation]);const t=await(0,p.getSnapAndHardwareInfoForMetrics)(T,S,A);Object.assign($,t);try{if(k===i.MESSAGE_TYPE.PERSONAL_SIGN){const{isSIWEMessage:t}=(0,r.detectSIWE)({data:e});t&&($.ui_customizations=[...$.ui_customizations||[],o.MetaMetricsEventUiCustomization.Siwe])}}catch(e){console.warn(`createRPCMethodTrackingMiddleware: Errored - ${e}`)}}else $.method=k;const s=y[k];s&&($.params=s(I)),e({event:t,category:o.MetaMetricsEventCategory.InpageProvider,referrer:{url:R},properties:$}),D===f.TIMEOUT&&(b[k]=setTimeout((()=>{delete b[k]}),n)),_+=1,setTimeout((()=>{_-=1}),w)}C((async t=>{var n,r,a,d;if(!1===G||void 0===U)return t();const p=k===i.MESSAGE_TYPE.ETH_SIGN&&(null===(n=N.error)||void 0===n?void 0:n.code)===s.errorCodes.rpc.methodNotFound;let f;p?(f=U.FAILED,$.error=N.error):(null===(r=N.error)||void 0===r?void 0:r.code)===s.errorCodes.provider.userRejectedRequest?f=U.REJECTED:(null===(a=N.error)||void 0===a?void 0:a.code)===s.errorCodes.rpc.internal&&"Request rejected by user or snap."===(null===(d=N.error)||void 0===d?void 0:d.message)?(f=U.REJECTED,$.status=N.error.message):f=U.APPROVED;let h={};if(!p&&u.SIGNING_METHODS.includes(k)){var m;const e=P.getSignatureSecurityAlertResponse(null===(m=O.securityAlertResponse)||void 0===m?void 0:m.securityAlertId);h=(0,l.getBlockaidMetricsProps)({securityAlertResponse:e})}const g={...$,...h,security_alert_reason:h.security_alert_response===c.BlockaidResultType.Benign?"":h.security_alert_reason};return e({event:f,category:o.MetaMetricsEventCategory.InpageProvider,referrer:{url:R},properties:g}),t()}))}};var r=e("@metamask/controller-utils"),s=e("eth-rpc-errors"),a=e("ethereumjs-util"),i=e("../../../shared/constants/app"),o=e("../../../shared/constants/metametrics"),c=e("../../../shared/constants/security-provider"),u=e("../../../shared/constants/transaction"),l=e("../../../ui/helpers/utils/metrics"),d=e("../../../ui/pages/confirmations/utils/confirm"),p=e("./snap-keyring/metrics");const f={TIMEOUT:"timeout",BLOCKED:"blocked",NON_RATE_LIMITED:"non_rate_limited",RANDOM_SAMPLE:"random_sample"},h={[i.MESSAGE_TYPE.ETH_SIGN]:f.NON_RATE_LIMITED,[i.MESSAGE_TYPE.ETH_SIGN_TYPED_DATA]:f.NON_RATE_LIMITED,[i.MESSAGE_TYPE.ETH_SIGN_TYPED_DATA_V3]:f.NON_RATE_LIMITED,[i.MESSAGE_TYPE.ETH_SIGN_TYPED_DATA_V4]:f.NON_RATE_LIMITED,[i.MESSAGE_TYPE.PERSONAL_SIGN]:f.NON_RATE_LIMITED,[i.MESSAGE_TYPE.ETH_DECRYPT]:f.NON_RATE_LIMITED,[i.MESSAGE_TYPE.ETH_GET_ENCRYPTION_PUBLIC_KEY]:f.NON_RATE_LIMITED,[i.MESSAGE_TYPE.ETH_REQUEST_ACCOUNTS]:f.TIMEOUT,[i.MESSAGE_TYPE.WALLET_REQUEST_PERMISSIONS]:f.TIMEOUT,[i.MESSAGE_TYPE.SEND_METADATA]:f.BLOCKED,[i.MESSAGE_TYPE.ETH_CHAIN_ID]:f.BLOCKED,[i.MESSAGE_TYPE.ETH_ACCOUNTS]:f.BLOCKED,[i.MESSAGE_TYPE.LOG_WEB3_SHIM_USAGE]:f.BLOCKED,[i.MESSAGE_TYPE.GET_PROVIDER_STATE]:f.BLOCKED},m={[i.MESSAGE_TYPE.PERSONAL_SIGN]:r.ApprovalType.PersonalSign,[i.MESSAGE_TYPE.ETH_SIGN]:r.ApprovalType.Sign,[i.MESSAGE_TYPE.SIGN]:r.ApprovalType.SignTransaction,[i.MESSAGE_TYPE.ETH_SIGN_TYPED_DATA]:r.ApprovalType.EthSignTypedData,[i.MESSAGE_TYPE.ETH_SIGN_TYPED_DATA_V1]:r.ApprovalType.EthSignTypedData,[i.MESSAGE_TYPE.ETH_SIGN_TYPED_DATA_V3]:r.ApprovalType.EthSignTypedData,[i.MESSAGE_TYPE.ETH_SIGN_TYPED_DATA_V4]:r.ApprovalType.EthSignTypedData},g={[i.MESSAGE_TYPE.ETH_SIGN]:{APPROVED:o.MetaMetricsEventName.SignatureApproved,FAILED:o.MetaMetricsEventName.SignatureFailed,REJECTED:o.MetaMetricsEventName.SignatureRejected,REQUESTED:o.MetaMetricsEventName.SignatureRequested},[i.MESSAGE_TYPE.ETH_SIGN_TYPED_DATA]:{APPROVED:o.MetaMetricsEventName.SignatureApproved,REJECTED:o.MetaMetricsEventName.SignatureRejected,REQUESTED:o.MetaMetricsEventName.SignatureRequested},[i.MESSAGE_TYPE.ETH_SIGN_TYPED_DATA_V3]:{APPROVED:o.MetaMetricsEventName.SignatureApproved,REJECTED:o.MetaMetricsEventName.SignatureRejected,REQUESTED:o.MetaMetricsEventName.SignatureRequested},[i.MESSAGE_TYPE.ETH_SIGN_TYPED_DATA_V4]:{APPROVED:o.MetaMetricsEventName.SignatureApproved,REJECTED:o.MetaMetricsEventName.SignatureRejected,REQUESTED:o.MetaMetricsEventName.SignatureRequested},[i.MESSAGE_TYPE.PERSONAL_SIGN]:{APPROVED:o.MetaMetricsEventName.SignatureApproved,REJECTED:o.MetaMetricsEventName.SignatureRejected,REQUESTED:o.MetaMetricsEventName.SignatureRequested},[i.MESSAGE_TYPE.ETH_DECRYPT]:{APPROVED:o.MetaMetricsEventName.DecryptionApproved,REJECTED:o.MetaMetricsEventName.DecryptionRejected,REQUESTED:o.MetaMetricsEventName.DecryptionRequested},[i.MESSAGE_TYPE.ETH_GET_ENCRYPTION_PUBLIC_KEY]:{APPROVED:o.MetaMetricsEventName.EncryptionPublicKeyApproved,REJECTED:o.MetaMetricsEventName.EncryptionPublicKeyRejected,REQUESTED:o.MetaMetricsEventName.EncryptionPublicKeyRequested},[i.MESSAGE_TYPE.ETH_REQUEST_ACCOUNTS]:{APPROVED:o.MetaMetricsEventName.PermissionsApproved,REJECTED:o.MetaMetricsEventName.PermissionsRejected,REQUESTED:o.MetaMetricsEventName.PermissionsRequested},[i.MESSAGE_TYPE.WALLET_REQUEST_PERMISSIONS]:{APPROVED:o.MetaMetricsEventName.PermissionsApproved,REJECTED:o.MetaMetricsEventName.PermissionsRejected,REQUESTED:o.MetaMetricsEventName.PermissionsRequested}},y={[i.MESSAGE_TYPE.WATCH_ASSET]:({type:e})=>({type:e})},b={};let _=0}}},{package:"$root$",file:"app/scripts/lib/createRPCMethodTrackingMiddleware.js"}],[66,{"promise-to-callback":3993,"readable-stream":4258},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e,t){return new i(e,t)};var r,s=e("readable-stream"),a=(r=e("promise-to-callback"))&&r.__esModule?r:{default:r};class i extends s.Writable{constructor(e,t){super({objectMode:!0,...t}),this._asyncWriteFn=e}_write(e,t,n){(0,a.default)(this._asyncWriteFn(e,t))(n)}}}}},{package:"$root$",file:"app/scripts/lib/createStreamSink.js"}],[67,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e){return function(t,n,r){t.tabId=e.tabId,r()}}}}},{package:"$root$",file:"app/scripts/lib/createTabIdMiddleware.js"}],[68,{"@metamask/browser-passworder":1155},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.encryptorFactory=void 0;var r=e("@metamask/browser-passworder");const s=e=>async(t,n,s,a)=>(0,r.encrypt)(t,n,s,a,{algorithm:"PBKDF2",params:{iterations:e}}),a=e=>async(t,n,s)=>(0,r.encryptWithDetail)(t,n,s,{algorithm:"PBKDF2",params:{iterations:e}}),i=e=>async(t,n,s,a)=>(0,r.keyFromPassword)(t,n,s,a??{algorithm:"PBKDF2",params:{iterations:e}}),o=e=>t=>(0,r.isVaultUpdated)(t,{algorithm:"PBKDF2",params:{iterations:e}});n.encryptorFactory=e=>({encrypt:s(e),encryptWithKey:r.encryptWithKey,encryptWithDetail:a(e),decrypt:r.decrypt,decryptWithKey:r.decryptWithKey,decryptWithDetail:r.decryptWithDetail,keyFromPassword:i(e),isVaultUpdated:o(e),importKey:r.importKey,exportKey:r.exportKey,generateSalt:r.generateSalt})}}},{package:"$root$",file:"app/scripts/lib/encryptor-factory.ts"}],[69,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;n.default=[{constant:!0,inputs:[{name:"node",type:"bytes32"}],name:"resolver",outputs:[{name:"",type:"address"}],payable:!1,type:"function"},{constant:!0,inputs:[{name:"node",type:"bytes32"}],name:"owner",outputs:[{name:"",type:"address"}],payable:!1,type:"function"},{constant:!1,inputs:[{name:"node",type:"bytes32"},{name:"label",type:"bytes32"},{name:"owner",type:"address"}],name:"setSubnodeOwner",outputs:[],payable:!1,type:"function"},{constant:!1,inputs:[{name:"node",type:"bytes32"},{name:"ttl",type:"uint64"}],name:"setTTL",outputs:[],payable:!1,type:"function"},{constant:!0,inputs:[{name:"node",type:"bytes32"}],name:"ttl",outputs:[{name:"",type:"uint64"}],payable:!1,type:"function"},{constant:!1,inputs:[{name:"node",type:"bytes32"},{name:"resolver",type:"address"}],name:"setResolver",outputs:[],payable:!1,type:"function"},{constant:!1,inputs:[{name:"node",type:"bytes32"},{name:"owner",type:"address"}],name:"setOwner",outputs:[],payable:!1,type:"function"},{anonymous:!1,inputs:[{indexed:!0,name:"node",type:"bytes32"},{indexed:!1,name:"owner",type:"address"}],name:"Transfer",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"node",type:"bytes32"},{indexed:!0,name:"label",type:"bytes32"},{indexed:!1,name:"owner",type:"address"}],name:"NewOwner",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"node",type:"bytes32"},{indexed:!1,name:"resolver",type:"address"}],name:"NewResolver",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"node",type:"bytes32"},{indexed:!1,name:"ttl",type:"uint64"}],name:"NewTTL",type:"event"}]}}},{package:"$root$",file:"app/scripts/lib/ens-ipfs/contracts/registry.js"}],[7,{"@metamask/base-controller":1154},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.AccountOrderController=void 0;var r=e("@metamask/base-controller");const s={pinnedAccountList:[],hiddenAccountList:[]},a={pinnedAccountList:{persist:!0,anonymous:!0},hiddenAccountList:{persist:!0,anonymous:!0}};class i extends r.BaseController{constructor({messenger:e,state:t}){super({messenger:e,metadata:a,name:"AccountOrderController",state:{...s,...t}})}updateAccountsList(e){this.update((t=>(t.pinnedAccountList=e,t)))}updateHiddenAccountsList(e){this.update((t=>(t.hiddenAccountList=e,t)))}}n.AccountOrderController=i}}},{package:"$root$",file:"app/scripts/controllers/account-order.ts"}],[70,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;n.default=[{constant:!1,inputs:[{name:"node",type:"bytes32"},{name:"hash",type:"bytes32"}],name:"setContent",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!0,inputs:[{name:"node",type:"bytes32"}],name:"content",outputs:[{name:"",type:"bytes32"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[{name:"interfaceID",type:"bytes4"}],name:"supportsInterface",outputs:[{name:"",type:"bool"}],payable:!1,stateMutability:"pure",type:"function"},{constant:!1,inputs:[{name:"node",type:"bytes32"},{name:"key",type:"string"},{name:"value",type:"string"}],name:"setText",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!0,inputs:[{name:"node",type:"bytes32"},{name:"contentTypes",type:"uint256"}],name:"ABI",outputs:[{name:"contentType",type:"uint256"},{name:"data",type:"bytes"}],payable:!1,stateMutability:"view",type:"function"},{constant:!1,inputs:[{name:"node",type:"bytes32"},{name:"x",type:"bytes32"},{name:"y",type:"bytes32"}],name:"setPubkey",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!1,inputs:[{name:"node",type:"bytes32"},{name:"hash",type:"bytes"}],name:"setContenthash",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!0,inputs:[{name:"node",type:"bytes32"}],name:"addr",outputs:[{name:"",type:"address"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[{name:"node",type:"bytes32"},{name:"key",type:"string"}],name:"text",outputs:[{name:"",type:"string"}],payable:!1,stateMutability:"view",type:"function"},{constant:!1,inputs:[{name:"node",type:"bytes32"},{name:"contentType",type:"uint256"},{name:"data",type:"bytes"}],name:"setABI",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!0,inputs:[{name:"node",type:"bytes32"}],name:"name",outputs:[{name:"",type:"string"}],payable:!1,stateMutability:"view",type:"function"},{constant:!1,inputs:[{name:"node",type:"bytes32"},{name:"name",type:"string"}],name:"setName",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!0,inputs:[{name:"node",type:"bytes32"}],name:"contenthash",outputs:[{name:"",type:"bytes"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[{name:"node",type:"bytes32"}],name:"pubkey",outputs:[{name:"x",type:"bytes32"},{name:"y",type:"bytes32"}],payable:!1,stateMutability:"view",type:"function"},{constant:!1,inputs:[{name:"node",type:"bytes32"},{name:"addr",type:"address"}],name:"setAddr",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{inputs:[{name:"ensAddr",type:"address"}],payable:!1,stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!0,name:"node",type:"bytes32"},{indexed:!1,name:"a",type:"address"}],name:"AddrChanged",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"node",type:"bytes32"},{indexed:!1,name:"name",type:"string"}],name:"NameChanged",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"node",type:"bytes32"},{indexed:!0,name:"contentType",type:"uint256"}],name:"ABIChanged",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"node",type:"bytes32"},{indexed:!1,name:"x",type:"bytes32"},{indexed:!1,name:"y",type:"bytes32"}],name:"PubkeyChanged",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"node",type:"bytes32"},{indexed:!1,name:"indexedKey",type:"string"},{indexed:!1,name:"key",type:"string"}],name:"TextChanged",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"node",type:"bytes32"},{indexed:!1,name:"hash",type:"bytes"}],name:"ContenthashChanged",type:"event"}]}}},{package:"$root$",file:"app/scripts/lib/ens-ipfs/contracts/resolver.js"}],[71,{"./contracts/registry":69,"./contracts/resolver":70,"@ensdomains/content-hash":364,"@metamask/ethjs-contract":1375,"@metamask/ethjs-query":1379,"eth-ens-namehash":3225},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=async function({provider:e,name:t}){const n=new s.default(e),u=r.default.hash(t),d=new a.default(n),p=Number.parseInt(await n.net_version(),10),f=function(e){switch(e){case 1:case 3:case 4:case 5:case 6:return"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e";default:return null}}(p);if(!f)throw new Error(`EnsIpfsResolver - no known ens-ipfs registry for chainId "${p}"`);const h=d(o.default).at(f),m=(await h.resolver(u))[0];if(l(m))throw new Error(`EnsIpfsResolver - no resolver found for name "${t}"`);const g=d(c.default).at(m),y=await g.supportsInterface("0xbc1c58d1"),b=await g.supportsInterface("0xd8389dc5");if(y[0]){const e=(await g.contenthash(u))[0];let t=i.default.decode(e);const n=i.default.getCodec(e);return"ipfs-ns"!==n&&"ipns-ns"!==n||(t=i.default.helpers.cidV0ToV1Base32(t)),{type:n,hash:t}}if(b[0]){const e=(await g.content(u))[0];if(l(e))throw new Error(`EnsIpfsResolver - no content ID found for name "${t}"`);return{type:"swarm-ns",hash:e.slice(2)}}throw new Error(`EnsIpfsResolver - the resolver for name "${t}" is not standard, it should either supports contenthash() or content()`)};var r=u(e("eth-ens-namehash")),s=u(e("@metamask/ethjs-query")),a=u(e("@metamask/ethjs-contract")),i=u(e("@ensdomains/content-hash")),o=u(e("./contracts/registry")),c=u(e("./contracts/resolver"));function u(e){return e&&e.__esModule?e:{default:e}}function l(e){return[undefined,null,"0x","0x0","0x0000000000000000000000000000000000000000000000000000000000000000"].includes(e)}}}},{package:"$root$",file:"app/scripts/lib/ens-ipfs/resolver.js"}],[72,{"../../../../shared/modules/fetch-with-timeout":4542,"./resolver":71,"base32-encode":2930,"base64-js":2931,"webextension-polyfill":4472},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function({provider:e,getCurrentChainId:t,getIpfsGateway:n,getUseAddressBarEnsResolution:i}){const c=l.map((e=>`*://*.${e}/*`));return a.default.webRequest.onErrorOccurred.addListener(d,{urls:c,types:["main_frame"]}),{remove(){a.default.webRequest.onErrorOccurred.removeListener(d)}};async function d(c){const{tabId:d,url:p}=c;if(-1===d||"0x1"!==t())return;const{hostname:f,pathname:h,search:m,hash:g}=new URL(p),y=f.split("."),b=y[y.length-1];l.includes(b)&&async function({tabId:t,name:c,pathname:l,search:d,fragment:p}){const f=n(),h=i(),m=`https://app.ens.domains/name/${c}`;h&&f&&a.default.tabs.update(t,{url:"loading.html"});let g=m;0;try{const{type:t,hash:n}=await(0,o.default)({provider:e,name:c});if("ipfs-ns"===t||"ipns-ns"===t){if(""===f)return void(g=null);const e=`https://${n}.${t.slice(0,4)}.${f}${l}${d||""}${p||""}`;try{200===(await u(e,{method:"HEAD"})).status&&(g=e)}catch(e){console.warn(e)}}else if("swarm-ns"===t)g=`https://swarm-gateways.net/bzz:/${n}${l}${d||""}${p||""}`;else if("onion"===t||"onion3"===t)g=`http://${n}.onion${l}${d||""}${p||""}`;else if("zeronet"===t)g=`http://127.0.0.1:43110/${n}${l}${d||""}${p||""}`;else if("skynet-ns"===t){const e=n.padEnd(n.length+4-n.length%4,"="),t=s.default.toByteArray(e),a={padding:!1};g=`https://${(0,r.default)(t,"RFC4648-HEX",a).toLowerCase()}.siasky.net${l}${d||""}${p||""}`}}catch(e){console.warn(e)}finally{g&&(h||!h&&g!==m)&&a.default.tabs.update(t,{url:g})}}({tabId:d,name:f,pathname:h,search:m,fragment:g})}};var r=c(e("base32-encode")),s=c(e("base64-js")),a=c(e("webextension-polyfill")),i=c(e("../../../../shared/modules/fetch-with-timeout")),o=c(e("./resolver"));function c(e){return e&&e.__esModule?e:{default:e}}const u=(0,i.default)(),l=["eth"]}}},{package:"$root$",file:"app/scripts/lib/ens-ipfs/setup.js"}],[75,{lodash:3836},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e){return s((0,r.cloneDeep)(e),(e=>null===e?"null":typeof e))};var r=e("lodash");function s(e={},t){return Object.entries(e).forEach((([n,r])=>{e[n]="object"==typeof r&&null!==r?s(r,t):t(r)})),e}}}},{package:"$root$",file:"app/scripts/lib/getObjStructure.js"}],[76,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.hardwareKeyringBuilderFactory=function(e,t){const n=()=>new e({bridge:new t});return n.type=e.type,n}}}},{package:"$root$",file:"app/scripts/lib/hardware-keyring-builder-factory.ts"}],[77,{"@metamask/keyring-api":1444,"@metamask/permission-controller":1624},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.isProtocolAllowed=c,n.keyringSnapPermissionsBuilder=function(e,t){return()=>{if("metamask"===t)return a;const n=e.getSubjectMetadata(t);return(null==n?void 0:n.subjectType)===r.SubjectType.Website&&c(t)?i:[]}};var r=e("@metamask/permission-controller"),s=e("@metamask/keyring-api");const a=[s.KeyringRpcMethod.ListAccounts,s.KeyringRpcMethod.GetAccount,s.KeyringRpcMethod.FilterAccountChains,s.KeyringRpcMethod.DeleteAccount,s.KeyringRpcMethod.ListRequests,s.KeyringRpcMethod.GetRequest,s.KeyringRpcMethod.SubmitRequest,s.KeyringRpcMethod.RejectRequest],i=[s.KeyringRpcMethod.ListAccounts,s.KeyringRpcMethod.GetAccount,s.KeyringRpcMethod.CreateAccount,s.KeyringRpcMethod.FilterAccountChains,s.KeyringRpcMethod.UpdateAccount,s.KeyringRpcMethod.DeleteAccount,s.KeyringRpcMethod.ExportAccount,s.KeyringRpcMethod.ListRequests,s.KeyringRpcMethod.GetRequest,s.KeyringRpcMethod.ApproveRequest,s.KeyringRpcMethod.RejectRequest,s.KeyringRpcMethod.SubmitRequest],o=["https:","http:"];function c(e){try{const t=new URL(e);return o.includes(t.protocol)}catch(e){return!1}}}}},{package:"$root$",file:"app/scripts/lib/keyring-snaps-permissions.ts"}],[8,{"../../../shared/constants/alerts":4492,"@metamask/obs-store":1610},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r=e("@metamask/obs-store"),s=e("../../../shared/constants/alerts");const a={alertEnabledness:s.TOGGLEABLE_ALERT_TYPES.reduce(((e,t)=>(e[t]=!0,e)),{}),unconnectedAccountAlertShownOrigins:{},web3ShimUsageOrigins:{}};n.default=class{constructor(e={}){const{initState:t={},controllerMessenger:n}=e,s={...a,alertEnabledness:{...a.alertEnabledness,...t.alertEnabledness}};this.store=new r.ObservableStore(s),this.controllerMessenger=n,this.selectedAddress=this.controllerMessenger.call("AccountsController:getSelectedAccount"),this.controllerMessenger.subscribe("AccountsController:selectedAccountChange",(e=>{this.store.getState().unconnectedAccountAlertShownOrigins&&this.selectedAddress!==e.address&&(this.selectedAddress=e.address,this.store.updateState({unconnectedAccountAlertShownOrigins:{}}))}))}setAlertEnabledness(e,t){let{alertEnabledness:n}=this.store.getState();n={...n},n[e]=t,this.store.updateState({alertEnabledness:n})}setUnconnectedAccountAlertShown(e){let{unconnectedAccountAlertShownOrigins:t}=this.store.getState();t={...t},t[e]=!0,this.store.updateState({unconnectedAccountAlertShownOrigins:t})}getWeb3ShimUsageState(e){return this.store.getState().web3ShimUsageOrigins[e]}setWeb3ShimUsageRecorded(e){this._setWeb3ShimUsageState(e,s.Web3ShimUsageAlertStates.recorded)}setWeb3ShimUsageAlertDismissed(e){this._setWeb3ShimUsageState(e,s.Web3ShimUsageAlertStates.dismissed)}_setWeb3ShimUsageState(e,t){let{web3ShimUsageOrigins:n}=this.store.getState();n={...n},n[e]=t,this.store.updateState({web3ShimUsageOrigins:n})}}}}},{package:"$root$",file:"app/scripts/controllers/alert.js"}],[80,{"../util":120,"json-rpc-engine":3680},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.createPendingNonceMiddleware=function({getPendingNonce:e}){return(0,r.createAsyncMiddleware)((async(t,n,r)=>{const{method:s,params:a}=t;if("eth_getTransactionCount"!==s)return void r();const[i,o]=a;"pending"===o?n.result=await e(i,t.networkClientId):r()}))},n.createPendingTxMiddleware=function({getPendingTransactionByHash:e}){return(0,r.createAsyncMiddleware)((async(t,n,r)=>{const{method:a,params:i}=t;if("eth_getTransactionByHash"!==a)return void r();const[o]=i,c=e(o);c?n.result=(0,s.formatTxMetaForRpcResult)(c):r()}))};var r=e("json-rpc-engine"),s=e("../util")}}},{package:"$root$",file:"app/scripts/lib/middleware/pending.js"}],[81,{events:3328,loglevel:3842},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r=a(e("events")),s=a(e("loglevel"));function a(e){return e&&e.__esModule?e:{default:e}}class i extends r.default{constructor(e={}){super();const t=e.migrations||[];this.migrations=t.sort(((e,t)=>e.version-t.version));const n=this.migrations.slice(-1)[0];this.defaultVersion=e.defaultVersion||n&&n.version||0}async migrateData(e=this.generateInitialState()){const t=this.migrations.filter((function(t){return t.version>e.meta.version}));for(const n of t)try{s.default.info(`Running migration ${n.version}...`);const t=await n.migrate(e);if(!t.data)throw new Error("Migrator - migration returned empty data");if(t.version!==undefined&&t.meta.version!==n.version)throw new Error("Migrator - Migration did not update version number correctly");e=t,s.default.info(`Migration ${n.version} complete`)}catch(t){const r=t.message;return t.message=`MetaMask Migration Error #${n.version}: ${r}`,this.emit("error",t),e}return e}generateInitialState(e){return{meta:{version:this.defaultVersion},data:e}}}n.default=i}}},{package:"$root$",file:"app/scripts/lib/migrator/index.js"}],[84,{"../../../shared/constants/notifications":4508,"../platforms/extension":252,"@metamask/safe-event-emitter":1718},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=n.NOTIFICATION_MANAGER_EVENTS=void 0;var r=i(e("@metamask/safe-event-emitter")),s=i(e("../platforms/extension")),a=e("../../../shared/constants/notifications");function i(e){return e&&e.__esModule?e:{default:e}}const o=n.NOTIFICATION_MANAGER_EVENTS={POPUP_CLOSED:"onPopupClosed"};class c extends r.default{constructor(){super(),this.platform=new s.default,this.platform.addOnRemovedListener(this._onWindowClosed.bind(this))}markAsAutomaticallyClosed(){this._popupAutomaticallyClosed=!0}async showPopup(e,t){this._popupId=t,this._setCurrentPopupId=e;const n=await this._getPopup(t);if(n)await this.platform.focusWindow(n.id);else{let e=0,t=0;try{const n=await this.platform.getLastFocusedWindow();t=n.top,e=Math.max(n.left+(n.width-a.NOTIFICATION_WIDTH),0)}catch(n){const{screenX:r,screenY:s,outerWidth:i}=window;t=Math.max(s,0),e=Math.max(r+(i-a.NOTIFICATION_WIDTH),0)}const n=await this.platform.openWindow({url:"notification.html",type:"popup",width:a.NOTIFICATION_WIDTH,height:a.NOTIFICATION_HEIGHT,left:e,top:t});n.left!==e&&"fullscreen"!==n.state&&await this.platform.updateWindowPosition(n.id,e,t),this._setCurrentPopupId(n.id),this._popupId=n.id}}_onWindowClosed(e){e===this._popupId&&(this._setCurrentPopupId(undefined),this._popupId=undefined,this.emit(o.POPUP_CLOSED,{automaticallyClosed:this._popupAutomaticallyClosed}),this._popupAutomaticallyClosed=undefined)}async _getPopup(){const e=await this.platform.getAllWindows();return this._getPopupIn(e)}_getPopupIn(e){return e?e.find((e=>e&&"popup"===e.type&&e.id===this._popupId)):null}}n.default=c}}},{package:"$root$",file:"app/scripts/lib/notification-manager.js"}],[85,{"../../../../shared/constants/offscreen-communication":4509,"eth-lattice-keyring":3226},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.LatticeKeyringOffscreen=void 0;var r,s=(r=e("eth-lattice-keyring"))&&r.__esModule?r:{default:r},a=e("../../../../shared/constants/offscreen-communication");class i extends s.default{constructor(e={}){super(e)}async _getCreds(){try{const e=this.appName?this.appName:"Unknown",t=`${a.KnownOrigins.lattice}?keyring=${e}&forceLogin=true`;return await new Promise(((e,n)=>{chrome.runtime.sendMessage({target:a.OffscreenCommunicationTarget.latticeOffscreen,params:{url:t}},(t=>{t.error&&n(t.error),e(t.result)}))}))}catch(e){throw new Error(e)}}}n.LatticeKeyringOffscreen=i,function(e,t,n){(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(i,"type",void 0),i.type=s.default.type}}},{package:"$root$",file:"app/scripts/lib/offscreen-bridge/lattice-offscreen-keyring.ts"}],[86,{"../../../../shared/constants/offscreen-communication":4509},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.LedgerOffscreenBridge=void 0;var r=e("../../../../shared/constants/offscreen-communication");function s(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.LedgerOffscreenBridge=class{constructor(){s(this,"isDeviceConnected",!1)}init(){return chrome.runtime.onMessage.addListener((e=>{e.target===r.OffscreenCommunicationTarget.extension&&e.event===r.OffscreenCommunicationEvents.ledgerDeviceConnect&&(this.isDeviceConnected=!0)})),Promise.resolve()}destroy(){return Promise.resolve()}attemptMakeApp(){return new Promise(((e,t)=>{chrome.runtime.sendMessage({target:r.OffscreenCommunicationTarget.ledgerOffscreen,action:r.LedgerAction.makeApp},(n=>{n.success?e(!0):n.error?t(n.error):t(new Error("Unknown error occurred"))}))}))}updateTransportMethod(e){return new Promise(((t,n)=>{chrome.runtime.sendMessage({target:r.OffscreenCommunicationTarget.ledgerOffscreen,action:r.LedgerAction.updateTransport,params:{transportType:e}},(e=>{e.success?t(!0):n(new Error("Ledger transport could not be updated"))}))}))}getPublicKey(e){return new Promise(((t,n)=>{chrome.runtime.sendMessage({target:r.OffscreenCommunicationTarget.ledgerOffscreen,action:r.LedgerAction.getPublicKey,params:e},(e=>{e.success?t(e.payload):n(e.payload.error)}))}))}deviceSignTransaction(e){return new Promise(((t,n)=>{chrome.runtime.sendMessage({target:r.OffscreenCommunicationTarget.ledgerOffscreen,action:r.LedgerAction.signTransaction,params:e},(e=>{e.success?t(e.payload):n(e.payload.error)}))}))}deviceSignMessage(e){return new Promise(((t,n)=>{chrome.runtime.sendMessage({target:r.OffscreenCommunicationTarget.ledgerOffscreen,action:r.LedgerAction.signPersonalMessage,params:e},(e=>{e.success?t(e.payload):n(e.payload.error)}))}))}deviceSignTypedData(e){return new Promise(((t,n)=>{chrome.runtime.sendMessage({target:r.OffscreenCommunicationTarget.ledgerOffscreen,action:r.LedgerAction.signTypedData,params:e},(e=>{e.success?t(e.payload):n(e.payload.error)}))}))}}}}},{package:"$root$",file:"app/scripts/lib/offscreen-bridge/ledger-offscreen-bridge.ts"}],[87,{"../../../../shared/constants/offscreen-communication":4509},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.TrezorOffscreenBridge=void 0;var r=e("../../../../shared/constants/offscreen-communication");function s(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.TrezorOffscreenBridge=class{constructor(){s(this,"model",void 0)}init(e){return chrome.runtime.onMessage.addListener((e=>{e.target===r.OffscreenCommunicationTarget.extension&&e.event===r.OffscreenCommunicationEvents.trezorDeviceConnect&&(this.model=e.payload)})),new Promise((t=>{chrome.runtime.sendMessage({target:r.OffscreenCommunicationTarget.trezorOffscreen,action:r.TrezorAction.init,params:e},(()=>{t()}))}))}dispose(){return new Promise((e=>{chrome.runtime.sendMessage({target:r.OffscreenCommunicationTarget.trezorOffscreen,action:r.TrezorAction.dispose},(()=>{e()}))}))}getPublicKey(e){return new Promise((t=>{chrome.runtime.sendMessage({target:r.OffscreenCommunicationTarget.trezorOffscreen,action:r.TrezorAction.getPublicKey,params:e},(e=>{t(e)}))}))}ethereumSignTransaction(e){return new Promise((t=>{chrome.runtime.sendMessage({target:r.OffscreenCommunicationTarget.trezorOffscreen,action:r.TrezorAction.signTransaction,params:e},(e=>{t(e)}))}))}ethereumSignMessage(e){return new Promise((t=>{chrome.runtime.sendMessage({target:r.OffscreenCommunicationTarget.trezorOffscreen,action:r.TrezorAction.signMessage,params:e},(e=>{t(e)}))}))}ethereumSignTypedData(e){return new Promise((t=>{chrome.runtime.sendMessage({target:r.OffscreenCommunicationTarget.trezorOffscreen,action:r.TrezorAction.signTypedData,params:e},(e=>{t(e)}))}))}}}}},{package:"$root$",file:"app/scripts/lib/offscreen-bridge/trezor-offscreen-bridge.ts"}],[88,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){function r(e,t){!function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}(e,t),t.add(e)}function s(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(n,"__esModule",{value:!0}),n.IndexedDBPPOMStorage=void 0;const a=async(e,t,n)=>{const r=await crypto.subtle.digest("SHA-256",t);if(Array.from(new Uint8Array(r)).map((e=>e.toString(16).padStart(2,"0"))).join("")!==n)throw new Error(`Checksum mismatch for key ${e}`)};var i=new WeakSet;function o(e){return new Promise(((t,n)=>{const r=indexedDB.open(this.storeName,this.dbVersion);r.onerror=e=>{var t;n(new Error(`Failed to open database ${this.storeName}: ${null===(t=e.target)||void 0===t?void 0:t.error}`))},r.onupgradeneeded=e=>{const t=e.target.result;t.objectStoreNames.contains(this.storeName)||t.createObjectStore(this.storeName,{keyPath:["name","chainId"]})},r.onsuccess=n=>{const r=n.target.result.transaction([this.storeName],e).objectStore(this.storeName);t(r)}}))}n.IndexedDBPPOMStorage=class{constructor(e,t){r(this,i),s(this,"storeName",void 0),s(this,"dbVersion",void 0),this.storeName=e,this.dbVersion=t}async objectStoreAction(e,t,n="readonly"){return new Promise(((r,s)=>{(function(e,t,n){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return n})(this,i,o).call(this,n).then((n=>{const a=n[e](t);a.onsuccess=async e=>{r(e)},a.onerror=t=>{var n;s(new Error(`Error in indexDB operation ${e}: ${null===(n=t.target)||void 0===n?void 0:n.error}`))}})).catch((e=>{s(e)}))}))}async read(e,t){var n;const r=null===(n=(await this.objectStoreAction("get",[e.name,e.chainId])).target)||void 0===n||null===(n=n.result)||void 0===n?void 0:n.data;return await a(e,r,t),r}async write(e,t,n){await a(e,t,n),await this.objectStoreAction("put",{...e,data:t},"readwrite")}async delete(e){await this.objectStoreAction("delete",[e.name,e.chainId],"readwrite")}async dir(){var e;return null===(e=(await this.objectStoreAction("getAllKeys")).target)||void 0===e?void 0:e.result.map((([e,t])=>({name:e,chainId:t})))}}}}},{package:"$root$",file:"app/scripts/lib/ppom/indexed-db-backend.ts"}],[89,{"../../../../shared/constants/security-provider":4513,"../../../../shared/constants/transaction":4520,"./ppom-util":90},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.createPPOMMiddleware=function(e,t,n,o,c){return async(u,l,d)=>{try{var p;const l=null===(p=t.store.getState())||void 0===p?void 0:p.securityAlertsEnabled,{chainId:d}=n.state.providerConfig;if(!l||!i.includes(u.method)||!s.SECURITY_PROVIDER_SUPPORTED_CHAIN_IDS.includes(d))return;const f=(0,a.generateSecurityAlertId)();(0,a.validateRequestWithPPOM)({ppomController:e,request:u,securityAlertId:f}).then((e=>{c(u.method,f,e)}));const h={...s.LOADING_SECURITY_ALERT_RESPONSE,securityAlertId:f};r.SIGNING_METHODS.includes(u.method)&&o.addSignatureSecurityAlertResponse(h),u.securityAlertResponse=h}catch(e){u.securityAlertResponse=(0,a.handlePPOMError)(e,"Error createPPOMMiddleware: ")}finally{d()}}};var r=e("../../../../shared/constants/transaction"),s=e("../../../../shared/constants/security-provider"),a=e("./ppom-util");const i=Object.freeze(["eth_sendRawTransaction","eth_sendTransaction",...r.SIGNING_METHODS])}}},{package:"$root$",file:"app/scripts/lib/ppom/ppom-middleware.ts"}],[9,{"@metamask/obs-store":1610,events:3328},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r,s=(r=e("events"))&&r.__esModule?r:{default:r},a=e("@metamask/obs-store");function i(e,t){!function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}(e,t),t.add(e)}function o(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(e,t,n){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return n}const u={currentAppVersion:"",previousAppVersion:"",previousMigrationVersion:0,currentMigrationVersion:0,showTokenAutodetectModalOnUpgrade:!1};var l=new WeakSet,d=new WeakSet;class p extends s.default{constructor({currentAppVersion:e="",currentMigrationVersion:t=0,state:n={}}){super(),i(this,d),i(this,l),o(this,"store",void 0),this.store=new a.ObservableStore({...u,...n}),c(this,l,f).call(this,e),c(this,d,h).call(this,t)}setShowTokenAutodetectModalOnUpgrade(e){this.store.updateState({showTokenAutodetectModalOnUpgrade:e})}}function f(e){const t=this.store.getState().currentAppVersion;e!==t&&this.store.updateState({currentAppVersion:e,previousAppVersion:t,showTokenAutodetectModalOnUpgrade:null})}function h(e){const t=this.store.getState().currentMigrationVersion;e!==t&&this.store.updateState({previousMigrationVersion:t,currentMigrationVersion:e})}n.default=p}}},{package:"$root$",file:"app/scripts/controllers/app-metadata.ts"}],[90,{"../../../../shared/constants/security-provider":4513,"../../../../shared/constants/transaction":4520,"@metamask/transaction-controller":2234,uuid:4424},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.generateSecurityAlertId=function(){return(0,s.v4)()},n.handlePPOMError=l,n.updateSecurityAlertResponse=async function({appStateController:e,method:t,securityAlertId:n,securityAlertResponse:r,signatureController:s,transactionController:a}){const o=i.SIGNING_METHODS.includes(t),c=await async function(e,t,n,r){const s=i.SIGNING_METHODS.includes(t);for(;;){let t;if(t=s?Object.values(n.messages).find((t=>{var n;return(null===(n=t.securityAlertResponse)||void 0===n?void 0:n.securityAlertId)===e})):r.state.transactions.find((t=>{var n;return(null===(n=t.securityAlertResponse)||void 0===n?void 0:n.securityAlertId)===e})),t)return t;await new Promise((e=>setTimeout(e,100)))}}(n,t,s,a);o?e.addSignatureSecurityAlertResponse(r):a.updateSecurityAlertResponse(c.id,r)},n.validateRequestWithPPOM=async function({ppomController:e,request:t,securityAlertId:n}){try{return await e.usePPOM((async e=>await async function(e,t,n){try{const s=function(e){var t;if(e.method!==c)return e;const n=(null===(t=e.params)||void 0===t?void 0:t[0])||{},s=(0,r.normalizeTransactionParams)(n);return{...e,params:[s]}}(e);return{...await n.validateJsonRpc(s),securityAlertId:t}}catch(e){return l(e,"Error validating JSON RPC using PPOM: ")}}(t,n,e)))}catch(e){return l(e,"Error validateRequestWithPPOM#usePPOM: ")}};var r=e("@metamask/transaction-controller"),s=e("uuid"),a=e("../../../../shared/constants/security-provider"),i=e("../../../../shared/constants/transaction");const{sentry:o}=global,c="eth_sendTransaction",u={result_type:a.BlockaidResultType.Errored,reason:a.BlockaidReason.errored};function l(e,t){const n=function(e){if("object"==typeof e||"string"==typeof e)return e;return JSON.stringify(e)}(e),r=function(e){if(e instanceof Error)return`${e.name}: ${e.message}`;return JSON.stringify(e)}(e);return null==o||o.captureException(e),console.error(t,n),{...u,description:r}}}}},{package:"$root$",file:"app/scripts/lib/ppom/ppom-util.ts"}],[91,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){let r;Object.defineProperty(n,"__esModule",{value:!0}),n.default=n.PPOM=void 0,n.initSync=function(e){if(r!==undefined)return r;const t=A();e instanceof WebAssembly.Module||(e=new WebAssembly.Module(e));const n=new WebAssembly.Instance(e,t);return P(n,e)},n.main=function(){r.main()};const s="undefined"!=typeof TextDecoder?new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}):{decode:()=>{throw Error("TextDecoder not available")}};"undefined"!=typeof TextDecoder&&s.decode();let a=null;function i(){return null!==a&&0!==a.byteLength||(a=new Uint8Array(r.memory.buffer)),a}function o(e,t){return e>>>=0,s.decode(i().subarray(e,e+t))}const c=new Array(128).fill(undefined);c.push(undefined,null,!0,!1);let u=c.length;function l(e){u===c.length&&c.push(c.length+1);const t=u;return u=c[t],c[t]=e,t}function d(e){return c[e]}function p(e){const t=d(e);return function(e){e<132||(c[e]=u,u=e)}(e),t}let f=0;const h="undefined"!=typeof TextEncoder?new TextEncoder("utf-8"):{encode:()=>{throw Error("TextEncoder not available")}},m="function"==typeof h.encodeInto?function(e,t){return h.encodeInto(e,t)}:function(e,t){const n=h.encode(e);return t.set(n),{read:e.length,written:n.length}};function g(e,t,n){if(n===undefined){const n=h.encode(e),r=t(n.length,1)>>>0;return i().subarray(r,r+n.length).set(n),f=n.length,r}let r=e.length,s=t(r,1)>>>0;const a=i();let o=0;for(;o127)break;a[s+o]=t}if(o!==r){0!==o&&(e=e.slice(o)),s=n(s,r,r=o+3*e.length,1)>>>0;const t=i().subarray(s+o,s+r);o+=m(e,t).written}return f=o,s}let y=null;function b(){return null!==y&&0!==y.byteLength||(y=new Int32Array(r.memory.buffer)),y}function _(e){const t=typeof e;if("number"==t||"boolean"==t||null==e)return`${e}`;if("string"==t)return`"${e}"`;if("symbol"==t){const t=e.description;return null==t?"Symbol":`Symbol(${t})`}if("function"==t){const t=e.name;return"string"==typeof t&&t.length>0?`Function(${t})`:"Function"}if(Array.isArray(e)){const t=e.length;let n="[";t>0&&(n+=_(e[0]));for(let r=1;r1))return toString.call(e);if(r=n[1],"Object"==r)try{return"Object("+JSON.stringify(e)+")"}catch(e){return"Object"}return e instanceof Error?`${e.name}: ${e.message}\n${e.stack}`:r}function E(e,t,n){r.wasm_bindgen__convert__closures__invoke1_mut(e,t,l(n))}function w(e,t){r._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__destroy(e,t)}let v=null;function T(e,t){const n=t(4*e.length,4)>>>0,s=(null!==v&&0!==v.byteLength||(v=new Uint32Array(r.memory.buffer)),v);for(let t=0;t>>=0;const t=Object.create(M.prototype);return t.__wbg_ptr=e,t}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,e}free(){const e=this.__destroy_into_raw();r.__wbg_ppom_free(e)}static new(e,t){const n=T(t,r.__wbindgen_malloc),s=f;return p(r.ppom_new(l(e),n,s))}validateJsonRpc(e){return p(r.ppom_validateJsonRpc(this.__wbg_ptr,l(e)))}static version(){return p(r.ppom_version())}}function A(){const e={wbg:{}};return e.wbg.__wbg_buffer_085ec1f694018c4f=function(e){return l(d(e).buffer)},e.wbg.__wbg_call_01734de55d61e11d=function(){return S((function(e,t,n){return l(d(e).call(d(t),d(n)))}),arguments)},e.wbg.__wbg_call_4c92f6aec1e1d6e6=function(){return S((function(e,t,n,r){return l(d(e).call(d(t),d(n),d(r)))}),arguments)},e.wbg.__wbg_from_d7c216d4616bb368=function(e){return l(Array.from(d(e)))},e.wbg.__wbg_get_44be0491f933a435=function(e,t){return l(d(e)[t>>>0])},e.wbg.__wbg_length_72e2208bbc0efc61=function(e){return d(e).length},e.wbg.__wbg_length_d813e535247d427e=function(e){return d(e).length},e.wbg.__wbg_length_fff51ee6522a1a18=function(e){return d(e).length},e.wbg.__wbg_new_43f1b47c28813cbd=function(e,t){try{var n={a:e,b:t};const s=new Promise(((e,t)=>{const s=n.a;n.a=0;try{return function(e,t,n,s){r.wasm_bindgen__convert__closures__invoke2_mut(e,t,l(n),l(s))}(s,n.b,e,t)}finally{n.a=s}}));return l(s)}finally{n.a=n.b=0}},e.wbg.__wbg_new_8125e318e6245eed=function(e){return l(new Uint8Array(d(e)))},e.wbg.__wbg_parse_670c19d4e984792e=function(){return S((function(e,t){return l(JSON.parse(o(e,t)))}),arguments)},e.wbg.__wbg_ppom_new=function(e){return l(M.__wrap(e))},e.wbg.__wbg_resolve_53698b95aaf7fcf8=function(e){return l(Promise.resolve(d(e)))},e.wbg.__wbg_set_5cf90238115182c3=function(e,t,n){d(e).set(d(t),n>>>0)},e.wbg.__wbg_stringify_e25465938f3f611f=function(){return S((function(e){return l(JSON.stringify(d(e)))}),arguments)},e.wbg.__wbg_then_b2267541e2a73865=function(e,t,n){return l(d(e).then(d(t),d(n)))},e.wbg.__wbg_then_f7e06ee3c11698eb=function(e,t){return l(d(e).then(d(t)))},e.wbg.__wbindgen_cb_drop=function(e){const t=p(e).original;if(1==t.cnt--)return t.a=0,!0;return!1},e.wbg.__wbindgen_closure_wrapper_wasm_bindgen__closure__Closure_T___wrap__breaks_if_inlined=function(e,t,n){const r=function(e,t,n,r){const s={a:e,b:t,cnt:1},a=(...e)=>{s.cnt++;const t=s.a;s.a=0;try{return r(t,s.b,...e)}finally{0==--s.cnt?n(t,s.b):s.a=t}};return a.original=s,a}(e,t,w,E);return l(r)},e.wbg.__wbindgen_debug_string=function(e,t){const n=g(_(d(t)),r.__wbindgen_malloc,r.__wbindgen_realloc),s=f;b()[e/4+1]=s,b()[e/4+0]=n},e.wbg.__wbindgen_error_new=function(e,t){return l(new Error(o(e,t)))},e.wbg.__wbindgen_is_undefined=function(e){return d(e)===undefined},e.wbg.__wbindgen_memory=function(){return l(r.memory)},e.wbg.__wbindgen_object_drop_ref=function(e){p(e)},e.wbg.__wbindgen_string_get=function(e,t){const n=d(t),s="string"==typeof n?n:undefined;var a,i=(a=s)===undefined||null===a?0:g(s,r.__wbindgen_malloc,r.__wbindgen_realloc),o=f;b()[e/4+1]=o,b()[e/4+0]=i},e.wbg.__wbindgen_string_new=function(e,t){return l(o(e,t))},e.wbg.__wbindgen_throw=function(e,t){throw new Error(o(e,t))},e}function P(e,t){return r=e.exports,O.__wbindgen_wasm_module=t,y=null,v=null,a=null,r.__wbindgen_start(),r}async function O(e){if(r!==undefined)return r;const t=A();("string"==typeof e||"function"==typeof Request&&e instanceof Request||"function"==typeof URL&&e instanceof URL)&&(e=fetch(e));const{instance:n,module:s}=await async function(e,t){if("function"==typeof Response&&e instanceof Response){if("function"==typeof WebAssembly.instantiateStreaming)try{return await WebAssembly.instantiateStreaming(e,t)}catch(t){if("application/wasm"==e.headers.get("Content-Type"))throw t;console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n",t)}const n=await e.arrayBuffer();return await WebAssembly.instantiate(n,t)}{const n=await WebAssembly.instantiate(e,t);return n instanceof WebAssembly.Instance?{instance:n,module:e}:n}}(await e,t);return P(n,s)}n.PPOM=M;n.default=O}}},{package:"$root$",file:"app/scripts/lib/ppom/ppom.js"}],[92,{"./handlers":98,"@metamask/permission-controller":1624,"@metamask/snaps-rpc-methods":2086,"@metamask/utils":2300,"eth-rpc-errors":3257},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.createMethodMiddleware=n.createLegacyMethodMiddleware=void 0;var r=e("@metamask/permission-controller"),s=e("@metamask/snaps-rpc-methods"),a=e("@metamask/utils"),i=e("eth-rpc-errors"),o=e("./handlers");const c=[...o.handlers,...r.permissionRpcMethods.handlers];n.createMethodMiddleware=u(c),n.createLegacyMethodMiddleware=u(o.legacyHandlers);function u(e){const t=e.reduce(((e,t)=>{for(const n of t.methodNames)e[n]=t;return e}),{}),n=new Set(e.flatMap((({hookNames:e})=>Object.getOwnPropertyNames(e))));return e=>{!function(e,t){const n=[];if(t.forEach((t=>{(0,a.hasProperty)(e,t)||n.push(t)})),n.length>0)throw new Error(`Missing expected hooks:\n\n${n.join("\n")}\n`);const r=Object.getOwnPropertyNames(e).filter((e=>!t.has(e)));if(r.length>0)throw new Error(`Received unexpected hooks:\n\n${r.join("\n")}\n`)}(e,n);return async(n,r,a,o)=>{const c=t[n.method];if(c){const{implementation:t,hookNames:u}=c;try{return await t(n,r,a,o,(0,s.selectHooks)(e,u))}catch(e){return o(e instanceof Error?e:i.ethErrors.rpc.internal({data:e}))}}return a()}}}}}},{package:"$root$",file:"app/scripts/lib/rpc-method-middleware/createMethodMiddleware.js"}],[93,{"../../../../shared/constants/network":4507,"eth-rpc-errors":3257},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.createUnsupportedMethodMiddleware=function(){return async function(e,t,n,a){return s.UNSUPPORTED_RPC_METHODS.has(e.method)?a(r.ethErrors.rpc.methodNotSupported()):n()}};var r=e("eth-rpc-errors"),s=e("../../../../shared/constants/network")}}},{package:"$root$",file:"app/scripts/lib/rpc-method-middleware/createUnsupportedMethodMiddleware.ts"}],[94,{"../../../../../shared/constants/app":4493,"./ethereum-chain-utils":96,"@metamask/controller-utils":1163,"eth-rpc-errors":3257},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r=e("eth-rpc-errors"),s=e("@metamask/controller-utils"),a=e("../../../../../shared/constants/app"),i=e("./ethereum-chain-utils");const o={methodNames:[a.MESSAGE_TYPE.ADD_ETHEREUM_CHAIN],implementation:async function(e,t,n,a,{upsertNetworkConfiguration:o,getCurrentRpcUrl:c,findNetworkConfigurationBy:u,setActiveNetwork:l,requestUserApproval:d,startApprovalFlow:p,endApprovalFlow:f,getCurrentChainIdForDomain:h,getCaveat:m,requestPermittedChainsPermission:g,getChainPermissionsFeatureFlag:y}){let b;try{b=(0,i.validateAddEthereumChainParams)(e.params[0],a)}catch(e){return a(e)}const{chainId:_,chainName:E,firstValidBlockExplorerUrl:w,firstValidRPCUrl:v,ticker:T}=b,{origin:S}=e,M=h(S),A=(0,i.findExistingNetwork)(M,u),P=(0,i.findExistingNetwork)(_,u);if(P&&P.chainId===_&&P.ticker!==T)return a(r.ethErrors.rpc.invalidParams({message:`nativeCurrency.symbol does not match currency symbol for a network the user already has added with the same chainId. Received:\n${T}`}));let O,N,C;if(P&&P.rpcUrl===v){O=P.id??P.type;const e=c();if(M===_&&e===v)return a();N={toNetworkConfiguration:P,fromNetworkConfiguration:A}}else{({id:C}=await p());try{await d({origin:S,type:s.ApprovalType.AddEthereumChain,requestData:{chainId:_,rpcPrefs:{blockExplorerUrl:w},chainName:E,rpcUrl:v,ticker:T}}),O=await o({chainId:_,rpcPrefs:{blockExplorerUrl:w},nickname:E,rpcUrl:v,ticker:T},{source:"dapp",referrer:S})}catch(e){return f({id:C}),a(e)}N={toNetworkConfiguration:{rpcUrl:v,chainId:_,nickname:E,ticker:T,networkClientId:O},fromNetworkConfiguration:A}}return(0,i.switchChain)(t,a,S,_,N,O,C,{getChainPermissionsFeatureFlag:y,setActiveNetwork:l,requestUserApproval:d,getCaveat:m,requestPermittedChainsPermission:g,endApprovalFlow:f})},hookNames:{upsertNetworkConfiguration:!0,getCurrentRpcUrl:!0,findNetworkConfigurationBy:!0,setActiveNetwork:!0,requestUserApproval:!0,startApprovalFlow:!0,endApprovalFlow:!0,getCurrentChainIdForDomain:!0,getCaveat:!0,requestPermittedChainsPermission:!0,getChainPermissionsFeatureFlag:!0}};n.default=o}}},{package:"$root$",file:"app/scripts/lib/rpc-method-middleware/handlers/add-ethereum-chain.js"}],[95,{"../../../../../shared/constants/app":4493},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;const r={methodNames:[e("../../../../../shared/constants/app").MESSAGE_TYPE.ETH_ACCOUNTS],implementation:async function(e,t,n,r,{getAccounts:s}){return t.result=await s(),r()},hookNames:{getAccounts:!0}};n.default=r}}},{package:"$root$",file:"app/scripts/lib/rpc-method-middleware/handlers/eth-accounts.js"}],[96,{"../../../../../shared/constants/app":4493,"../../../../../shared/constants/network":4507,"../../../../../shared/constants/permissions":4511,"../../../../../shared/modules/network.utils":4548,"../../../controllers/permissions":31,"../../util":120,"@metamask/controller-utils":1163,"eth-rpc-errors":3257},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.findExistingNetwork=function(e,t){if(Object.values(a.BUILT_IN_INFURA_NETWORKS).map((({chainId:e})=>e)).includes(e))return{chainId:e,ticker:a.CURRENCY_SYMBOLS.ETH,nickname:a.NETWORK_TO_NAME_MAP[e],rpcUrl:a.CHAIN_ID_TO_RPC_URL_MAP[e],type:a.CHAIN_ID_TO_TYPE_MAP[e]};return t({chainId:e})},n.switchChain=async function(e,t,n,a,i,c,l,{getChainPermissionsFeatureFlag:d,setActiveNetwork:p,endApprovalFlow:f,requestUserApproval:h,getCaveat:m,requestPermittedChainsPermission:g}){try{if(d()){const{value:e}=m({target:u.PermissionNames.permittedChains,caveatType:o.CaveatTypes.restrictNetworkSwitching})??{};e!==undefined&&e.includes(a)||await g([...e??[],a])}else await h({origin:n,type:s.ApprovalType.SwitchEthereumChain,requestData:i});await p(c),e.result=null}catch(n){return n.code===r.errorCodes.provider.userRejectedRequest&&l?(e.result=null,t()):t(n)}finally{l&&f({id:l})}return t()},n.validateAddEthereumChainParams=function(e,t){if(!e||"object"!=typeof e)throw r.ethErrors.rpc.invalidParams({message:`Expected single, object parameter. Received:\n${JSON.stringify(e)}`});const{chainId:n,chainName:s,blockExplorerUrls:a,nativeCurrency:i,rpcUrls:o,...u}=e,p=Object.keys(u).filter((e=>!["iconUrls"].includes(e)));if(p.length>0)throw r.ethErrors.rpc.invalidParams({message:`Received unexpected keys on object parameter. Unsupported keys:\n${p}`});const f=d(n);if(!o||!Array.isArray(o)||0===o.length)throw r.ethErrors.rpc.invalidParams({message:`Expected an array with at least one valid string HTTPS url 'rpcUrls', Received:\n${o}`});const h=e=>{const t=(0,l.getValidUrl)(e);return null!==t&&("localhost"===t.hostname||"127.0.0.1"===t.hostname||"https:"===t.protocol)},m=o.find((e=>h(e))),g=null!==a&&Array.isArray(a)?a.find((e=>h(e))):null;if(!m)throw r.ethErrors.rpc.invalidParams({message:`Expected an array with at least one valid string HTTPS url 'rpcUrls', Received:\n${o}`});if(null!==a&&!g)throw r.ethErrors.rpc.invalidParams({message:`Expected null or array with at least one valid string HTTPS URL 'blockExplorerUrl'. Received: ${a}`});if("string"!=typeof s||!s)throw r.ethErrors.rpc.invalidParams({message:`Expected non-empty string 'chainName'. Received:\n${s}`});const y=s.length>100?s.substring(0,100):s;if(null!==i){if("object"!=typeof i||Array.isArray(i))throw r.ethErrors.rpc.invalidParams({message:`Expected null or object 'nativeCurrency'. Received:\n${i}`});if(18!==i.decimals)throw r.ethErrors.rpc.invalidParams({message:`Expected the number 18 for 'nativeCurrency.decimals' when 'nativeCurrency' is provided. Received: ${i.decimals}`});if(!i.symbol||"string"!=typeof i.symbol)throw r.ethErrors.rpc.invalidParams({message:`Expected a string 'nativeCurrency.symbol'. Received: ${i.symbol}`})}const b=(null==i?void 0:i.symbol)||c.UNKNOWN_TICKER_SYMBOL;if(b!==c.UNKNOWN_TICKER_SYMBOL&&("string"!=typeof b||b.length<1||b.length>6))throw r.ethErrors.rpc.invalidParams({message:`Expected 1-6 character string 'nativeCurrency.symbol'. Received:\n${b}`});return{chainId:f,chainName:y,firstValidBlockExplorerUrl:g,firstValidRPCUrl:m,ticker:b}},n.validateChainId=d,n.validateSwitchEthereumChainParams=function(e,t){var n;if(null===(n=e.params)||void 0===n||!n[0]||"object"!=typeof e.params[0])throw r.ethErrors.rpc.invalidParams({message:`Expected single, object parameter. Received:\n${JSON.stringify(e.params)}`});const{chainId:s,...a}=e.params[0];if(Object.keys(a).length>0)throw r.ethErrors.rpc.invalidParams({message:`Received unexpected keys on object parameter. Unsupported keys:\n${Object.keys(a)}`});return d(s)};var r=e("eth-rpc-errors"),s=e("@metamask/controller-utils"),a=e("../../../../../shared/constants/network"),i=e("../../../../../shared/modules/network.utils"),o=e("../../../../../shared/constants/permissions"),c=e("../../../../../shared/constants/app"),u=e("../../../controllers/permissions"),l=e("../../util");function d(e){const t="string"==typeof e&&e.toLowerCase();if(!(0,i.isPrefixedFormattedHexString)(t))throw r.ethErrors.rpc.invalidParams({message:`Expected 0x-prefixed, unpadded, non-zero hexadecimal string 'chainId'. Received:\n${e}`});if(!(0,i.isSafeChainId)(parseInt(t,16)))throw r.ethErrors.rpc.invalidParams({message:`Invalid chain ID "${t}": numerical value greater than max safe value. Received:\n${e}`});return t}}}},{package:"$root$",file:"app/scripts/lib/rpc-method-middleware/handlers/ethereum-chain-utils.js"}],[97,{"../../../../../shared/constants/app":4493},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;const r={methodNames:[e("../../../../../shared/constants/app").MESSAGE_TYPE.GET_PROVIDER_STATE],implementation:async function(e,t,n,r,{getProviderState:s}){return t.result={...await s(e.origin)},r()},hookNames:{getProviderState:!0}};n.default=r}}},{package:"$root$",file:"app/scripts/lib/rpc-method-middleware/handlers/get-provider-state.js"}],[98,{"./add-ethereum-chain":94,"./eth-accounts":95,"./get-provider-state":97,"./log-web3-shim-usage":99,"./request-accounts":100,"./send-metadata":101,"./switch-ethereum-chain":102,"./watch-asset":103},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.legacyHandlers=n.handlers=void 0;var r=d(e("./add-ethereum-chain")),s=d(e("./eth-accounts")),a=d(e("./get-provider-state")),i=d(e("./log-web3-shim-usage")),o=d(e("./request-accounts")),c=d(e("./send-metadata")),u=d(e("./switch-ethereum-chain")),l=d(e("./watch-asset"));function d(e){return e&&e.__esModule?e:{default:e}}n.handlers=[r.default,a.default,i.default,o.default,c.default,u.default,l.default],n.legacyHandlers=[s.default]}}},{package:"$root$",file:"app/scripts/lib/rpc-method-middleware/handlers/index.ts"}],[99,{"../../../../../shared/constants/app":4493},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;const r={methodNames:[e("../../../../../shared/constants/app").MESSAGE_TYPE.LOG_WEB3_SHIM_USAGE],implementation:function(e,t,n,r,{getWeb3ShimUsageState:s,setWeb3ShimUsageRecorded:a}){const{origin:i}=e;s(i)===undefined&&a(i);return t.result=!0,r()},hookNames:{getWeb3ShimUsageState:!0,setWeb3ShimUsageRecorded:!0}};n.default=r}}},{package:"$root$",file:"app/scripts/lib/rpc-method-middleware/handlers/log-web3-shim-usage.js"}],[5,{"../../shared/constants/app":4493,"../../shared/constants/metametrics":4505,"../../shared/modules/browser-runtime.utils":4534,"../../shared/modules/mv3.utils":4547,"../../shared/modules/object.utils":4549,"../../test/e2e/default-fixture":4563,"./first-time-state":50,"./lib/createStreamSink":66,"./lib/ens-ipfs/setup":72,"./lib/get-first-preferred-lang-code":74,"./lib/getObjStructure":75,"./lib/local-store":78,"./lib/migrator":81,"./lib/network-store":83,"./lib/notification-manager":84,"./lib/setup-initial-state-hooks":108,"./lib/setupSentry":109,"./lib/util":120,"./metamask-controller":121,"./migrations":250,"./offscreen":251,"./platforms/extension":252,"./skip-onboarding":253,"@metamask/controller-utils":1163,"@metamask/desktop/dist/constants":1188,"@metamask/desktop/dist/desktop-manager":1193,"@metamask/obs-store":1610,"@metamask/utils":2300,"debounce-stream":3168,"eth-rpc-errors":3257,events:3328,"extension-port-stream":3331,loglevel:3842,"readable-stream":4258,"webextension-polyfill":4472},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.loadStateFromPersistence=de,n.setupController=fe,n.statePersistenceEvents=void 0,e("./lib/setup-initial-state-hooks");var r=L(e("events")),s=e("readable-stream"),a=L(e("debounce-stream")),i=L(e("loglevel")),o=L(e("webextension-polyfill")),c=e("@metamask/obs-store"),u=e("@metamask/utils"),l=e("@metamask/controller-utils"),d=L(e("extension-port-stream")),p=e("eth-rpc-errors"),f=e("../../shared/constants/app"),h=e("../../shared/constants/metametrics"),m=e("../../shared/modules/browser-runtime.utils"),g=e("../../shared/modules/mv3.utils"),y=e("../../shared/modules/object.utils"),b=(e("../../test/e2e/default-fixture"),L(e("./migrations"))),_=L(e("./lib/migrator")),E=L(e("./platforms/extension")),w=L(e("./lib/local-store")),v=(L(e("./lib/network-store")),e("./lib/setupSentry")),T=L(e("./lib/createStreamSink")),S=j(e("./lib/notification-manager")),M=j(e("./metamask-controller")),A=L(e("./first-time-state")),P=L(e("./lib/get-first-preferred-lang-code")),O=L(e("./lib/getObjStructure")),N=L(e("./lib/ens-ipfs/setup")),C=e("./lib/util"),R=(e("./skip-onboarding"),e("./offscreen")),k=e("@metamask/desktop/dist/constants"),I=L(e("@metamask/desktop/dist/desktop-manager"));function D(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(D=function(e){return e?n:t})(e)}function j(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=D(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=s?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}function L(e){return e&&e.__esModule?e:{default:e}}const x=new w.default;global.stateHooks.getMostRecentPersistedState=()=>x.mostRecentRetrievedState;const{sentry:U}=global;let $={...A.default};const G={[f.ENVIRONMENT_TYPE_POPUP]:!0,[f.ENVIRONMENT_TYPE_NOTIFICATION]:!0,[f.ENVIRONMENT_TYPE_FULLSCREEN]:!0},Y=["trezor-connect"];i.default.setLevel("info",!1);const F=new E.default,V=new S.default;let B=0,K=!1,W=!1;const H={},q={};let z,J;const Q={};const X=new URL("https://metamask.github.io/phishing-warning/v3.0.3/"),Z=1e3,ee={EXTENSION:"EXTENSION",DESKTOP:"DESKTOP_APP"},te=n.statePersistenceEvents=new r.default,{promise:ne,resolve:re,reject:se}=(0,C.deferredPromise)(),ae=async()=>{const e=await o.default.tabs.query({url:"",windowType:"normal"}).then((e=>((0,m.checkForLastErrorAndLog)(),e))).catch((()=>{(0,m.checkForLastErrorAndLog)()}));for(const t of e)o.default.tabs.sendMessage(t.id,{name:f.EXTENSION_MESSAGES.READY}).then((()=>{(0,m.checkForLastErrorAndLog)()})).catch((()=>{(0,m.checkForLastErrorAndLog)()}))};let ie,oe;function ce(){const e=(new Date).toISOString();o.default.storage.session.set({timestamp:e})}async function ue(){try{const t=g.isManifestV3?(0,R.createOffscreen)():null,n=await de(),r=n.data,s=await(0,P.default)();let a;if(await I.default.init(F.getVersion()),g.isManifestV3){var e;if(!1!==(null===(e=r.PreferencesController)||void 0===e?void 0:e.enableMV3TimestampSave)){const e=2e3;ce(),setInterval(ce,e)}const t=await o.default.storage.session.get(["isFirstMetaMaskControllerSetup"]);a=(null==t?void 0:t.isFirstMetaMaskControllerSetup)===undefined,await o.default.storage.session.set({isFirstMetaMaskControllerSetup:a})}fe(r,s,{},a,n.meta,t),g.isManifestV3||await async function(){let e;try{const t=new URL("https://metamask.github.io/phishing-warning/v3.0.3/");let n,r;t.hash="#extensionStartup",e=window.document.createElement("iframe"),e.setAttribute("src",t.href),e.setAttribute("sandbox","allow-scripts allow-same-origin");const s=new Promise(((e,t)=>{n=e,r=t}));e.addEventListener("load",n),window.document.body.appendChild(e),setTimeout((()=>r(new le)),Z),await s}catch(e){e instanceof le?console.warn("Phishing warning page timeout; page not guaranteed to work offline."):console.error("Failed to initialize phishing warning page",e)}finally{e&&e.remove()}}(),await ae(),i.default.info("MetaMask initialization complete."),re()}catch(e){se(e)}}o.default.runtime.onConnect.addListener((async(...e)=>{await ne,ie(...e)})),o.default.runtime.onConnectExternal.addListener((async(...e)=>{await ne,oe(...e)}));class le extends Error{constructor(){super("Timeout failed")}}async function de(){const e=new _.default({migrations:b.default,defaultVersion:null});if(e.on("error",console.warn),J=await x.get()||e.generateInitialState($),J&&!J.data&&(J=e.generateInitialState($),U.captureMessage("MetaMask - Empty vault found - unable to recover")),e.on("error",(e=>{const t=(0,O.default)(J);U.captureException(e,{extra:{vaultStructure:t}})})),J=await e.migrateData(J),!J)throw new Error("MetaMask - migrator returned undefined");if(!(0,u.isObject)(J.meta))throw new Error(`MetaMask - migrator metadata has invalid type '${typeof J.meta}'`);if("number"!=typeof J.meta.version)throw new Error(`MetaMask - migrator metadata version has invalid type '${typeof J.meta.version}'`);if(!(0,u.isObject)(J.data))throw new Error(`MetaMask - migrator data has invalid type '${typeof J.data}'`);return x.setMetadata(J.meta),x.set(J.data),J}function pe(e,t,n){const{metaMetricsId:r}=z.metaMetricsController.state;if(!(0,C.shouldEmitDappViewedEvent)(r))return;if(!(0,u.hasProperty)(t.permissions,"eth_accounts"))return;const s=Object.keys(n.store.getState().identities).length,a=t.permissions.eth_accounts.caveats;if(a){const t=a[0].value.length;z.metaMetricsController.trackEvent({event:h.MetaMetricsEventName.DappViewed,category:h.MetaMetricsEventCategory.InpageProvider,referrer:{url:e},properties:{is_first_visit:!1,number_of_accounts:s,number_of_accounts_connected:t}})}}function fe(e,t,n,r,u,m){var b,_;z=new M.default({infuraProjectId:"0d73cc5bbe184146957a9d00764db99f",showUserConfirmation:he,initState:e,initLangCode:t,platform:F,notificationManager:V,browser:o.default,getRequestAccountTabIds:()=>q,getOpenMetamaskTabsIds:()=>H,localStore:x,overrides:n,isFirstMetaMaskControllerSetup:r,currentMigrationVersion:u.version,featureFlags:{},offscreenPromise:m}),(0,N.default)({getCurrentChainId:()=>z.networkController.state.providerConfig.chainId,getIpfsGateway:z.preferencesController.getIpfsGateway.bind(z.preferencesController),getUseAddressBarEnsResolution:()=>z.preferencesController.store.getState().useAddressBarEnsResolution,provider:z.provider}),(0,s.pipeline)((0,c.storeAsStream)(z.store),(0,a.default)(1e3),(0,T.default)((async e=>{await x.set(e),te.emit("state-persisted",e)})),(e=>{i.default.error("MetaMask - Persistence pipeline failed",e)})),_=z,global.stateHooks.getSentryAppState=function(){const e=_.memStore.getState();return(0,y.maskObject)(e,v.SENTRY_BACKGROUND_STATE)};const E=()=>B>0||Boolean(Object.keys(H).length)||K,w=(e,t)=>{if(!1===e)z.onClientClosed();else{if(t===f.ENVIRONMENT_TYPE_FULLSCREEN&&Boolean(Object.keys(H).length))return;z.onEnvironmentTypeClosed(t)}};function A(){let e="";const t=P();t&&(e=String(t)),g.isManifestV3?(o.default.action.setBadgeText({text:e}),o.default.action.setBadgeBackgroundColor({color:"#037DD6"})):(o.default.browserAction.setBadgeText({text:e}),o.default.browserAction.setBadgeBackgroundColor({color:"#037DD6"}))}function P(){let e=z.appStateController.waitingForUnlock.length+z.approvalController.getTotalApprovalCount();return z.preferencesController.getUseRequestQueue()&&(e+=z.queuedRequestController.state.queuedRequestCount),e}ie=async e=>{var t,r;if(I.default.isDesktopEnabled()&&ee.DESKTOP!==(null==n||null===(t=n.getOrigin)||void 0===t?void 0:t.call(n)))return void I.default.createStream(e,k.CONNECTION_TYPE_INTERNAL).then((()=>{g.isManifestV3&&e.postMessage({name:"CONNECTION_READY"})}));const a=e.name;if(Y.includes(e.name))return;let i=!1;const c=(0,C.getPlatform)(),u=null!==(r=e.sender)&&void 0!==r&&r.url?new URL(e.sender.url):null;if(i=c===f.PLATFORM_FIREFOX?G[a]:(null==u?void 0:u.origin)===`chrome-extension://${o.default.runtime.id}`,i){var l;const t=(null==n||null===(l=n.getPortStream)||void 0===l?void 0:l.call(n,e))||new d.default(e);if(z.isClientOpen=!0,z.setupTrustedCommunication(t,e.sender),a===f.ENVIRONMENT_TYPE_POPUP&&(B+=1,(0,s.finished)(t,(()=>{B-=1;const e=E();z.isClientOpen=e,w(e,f.ENVIRONMENT_TYPE_POPUP)}))),a===f.ENVIRONMENT_TYPE_NOTIFICATION&&(K=!0,(0,s.finished)(t,(()=>{K=!1;const e=E();z.isClientOpen=e,w(e,f.ENVIRONMENT_TYPE_NOTIFICATION)}))),a===f.ENVIRONMENT_TYPE_FULLSCREEN){const n=e.sender.tab.id;H[n]=!0,(0,s.finished)(t,(()=>{delete H[n];const e=E();z.isClientOpen=e,w(e,f.ENVIRONMENT_TYPE_FULLSCREEN)}))}}else if(u&&u.origin===X.origin&&u.pathname===X.pathname){var p;const t=(null==n||null===(p=n.getPortStream)||void 0===p?void 0:p.call(n,e))||new d.default(e);z.setupPhishingCommunication({connectionStream:t})}else{if(e.sender&&e.sender.tab&&e.sender.url){const t=e.sender.tab.id,n=new URL(e.sender.url),{origin:r}=n;Object.keys(Q).includes(t)||(Q[t]=r);const s=z.permissionController.state.subjects[r],a=s!==undefined,i="New Tab"!==e.sender.tab.title;a&&i&&pe(r,s,z.preferencesController),e.onMessage.addListener((e=>{e.data&&e.data.method===f.MESSAGE_TYPE.ETH_REQUEST_ACCOUNTS&&(q[r]=t)}))}oe(e)}},oe=e=>{var t,r;if(I.default.isDesktopEnabled()&&ee.DESKTOP!==(null==n||null===(t=n.getOrigin)||void 0===t?void 0:t.call(n)))return void I.default.createStream(e,k.CONNECTION_TYPE_EXTERNAL);const s=(null==n||null===(r=n.getPortStream)||void 0===r?void 0:r.call(n,e))||new d.default(e);z.setupUntrustedCommunication({connectionStream:s,sender:e.sender})},null!=n&&n.registerConnectListeners&&n.registerConnectListeners(ie,oe),A(),z.decryptMessageController.hub.on(M.METAMASK_CONTROLLER_EVENTS.UPDATE_BADGE,A),z.encryptionPublicKeyController.hub.on(M.METAMASK_CONTROLLER_EVENTS.UPDATE_BADGE,A),z.signatureController.hub.on(M.METAMASK_CONTROLLER_EVENTS.UPDATE_BADGE,A),z.appStateController.on(M.METAMASK_CONTROLLER_EVENTS.UPDATE_BADGE,A),z.controllerMessenger.subscribe(M.METAMASK_CONTROLLER_EVENTS.APPROVAL_STATE_CHANGE,A),z.controllerMessenger.subscribe(M.METAMASK_CONTROLLER_EVENTS.QUEUED_REQUEST_STATE_CHANGE,A),z.txController.initApprovals(),V.on(S.NOTIFICATION_MANAGER_EVENTS.POPUP_CLOSED,(({automaticallyClosed:e})=>{e?P()>0&&he():(z.signatureController.rejectUnapproved(h.REJECT_NOTIFICATION_CLOSE_SIG),z.decryptMessageController.rejectUnapproved(h.REJECT_NOTIFICATION_CLOSE),z.encryptionPublicKeyController.rejectUnapproved(h.REJECT_NOTIFICATION_CLOSE),Object.values(z.approvalController.state.pendingApprovals).forEach((({id:e,type:t})=>{switch(t){case l.ApprovalType.SnapDialogAlert:case l.ApprovalType.SnapDialogPrompt:z.approvalController.accept(e,null);break;case l.ApprovalType.SnapDialogConfirmation:case f.SNAP_MANAGE_ACCOUNTS_CONFIRMATION_TYPES.confirmAccountCreation:case f.SNAP_MANAGE_ACCOUNTS_CONFIRMATION_TYPES.confirmAccountRemoval:case f.SNAP_MANAGE_ACCOUNTS_CONFIRMATION_TYPES.showSnapAccountRedirect:z.approvalController.accept(e,!1);break;default:z.approvalController.reject(e,p.ethErrors.provider.userRejectedRequest())}}))),A()})),ee.DESKTOP!==(null==n||null===(b=n.getOrigin)||void 0===b?void 0:b.call(n))&&z.store.subscribe((e=>{I.default.setState(e)})),Object.values(z.snapController.state.snaps).some((e=>!e.preinstalled))&&z.snapController.updateBlockedSnaps()}async function he(){const e=await F.getActiveTabs(),t=Boolean(e.find((e=>H[e.id]))),n=e.length>0&&e[0].extData&&e[0].extData.indexOf("vivaldi_tab")>-1;if(!W&&(n||0===B)&&!t){W=!0;try{const e=z.appStateController.getCurrentPopupId();await V.showPopup((e=>z.appStateController.setCurrentPopupId(e)),e)}finally{W=!1}}}const me=()=>{if(z)return z.metaMetricsController.updateTraits({[h.MetaMetricsUserTrait.InstallDateExt]:(new Date).toISOString().split("T")[0]}),void z.metaMetricsController.addEventBeforeMetricsOptIn({category:h.MetaMetricsEventCategory.App,event:h.MetaMetricsEventName.AppInstalled,properties:{}});setTimeout((()=>{me()}),500)};async function ge(){Boolean(await x.get())||(me(),F.openExtensionInBrowser()),o.default.tabs.onActivated.addListener((e=>{if(z){const{tabId:t}=e,n=Q[t];if(n){const e=z.permissionController.state.subjects[n];e!==undefined&&pe(n,e,z.preferencesController)}}}))}(async function(){await ge(),ue().catch(i.default.error)})()}}},{package:"$root$",file:"app/scripts/background.js"}]],[5],{}); \ No newline at end of file +LavaPack.loadBundle([[63,{loglevel:3842,"webextension-polyfill":4472},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function({location:e,registerOnboarding:t}){return async function(n,a,i,o){try{if("wallet_registerOnboarding"!==n.method)return void i();n.tabId&&n.tabId!==s.default.tabs.TAB_ID_NONE?await t(e,n.tabId):r.default.debug(`'wallet_registerOnboarding' message from ${e} ignored due to missing tabId`),a.result=!0,o()}catch(e){o(e)}}};var r=a(e("loglevel")),s=a(e("webextension-polyfill"));function a(e){return e&&e.__esModule?e:{default:e}}}}},{package:"$root$",file:"app/scripts/lib/createOnboardingMiddleware.js"}],[630,{"safe-buffer":629},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){var r=e("safe-buffer").Buffer,s=r.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function a(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(r.isEncoding===s||!s(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=c,this.end=u,t=4;break;case"utf8":this.fillLast=o,t=4;break;case"base64":this.text=l,this.end=d,t=3;break;default:return this.write=p,void(this.end=f)}this.lastNeed=0,this.lastTotal=0,this.lastChar=r.allocUnsafe(t)}function i(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function o(e){var t=this.lastTotal-this.lastNeed,n=function(e,t,n){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return n!==undefined?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function c(e,t){if((e.length-t)%2==0){var n=e.toString("utf16le",t);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function u(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function l(e,t){var n=(e.length-t)%3;return 0===n?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-n))}function d(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function p(e){return e.toString(this.encoding)}function f(e){return e&&e.length?this.write(e):""}n.StringDecoder=a,a.prototype.write=function(e){if(0===e.length)return"";var t,n;if(this.lastNeed){if((t=this.fillLast(e))===undefined)return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n=0)return s>0&&(e.lastNeed=s-1),s;if(--r=0)return s>0&&(e.lastNeed=s-2),s;if(--r=0)return s>0&&(2===s?s=0:e.lastNeed=s-3),s;return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var r=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,r),e.toString("utf8",t,r)},a.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}}}},{package:"@keystonehq/metamask-airgapped-keyring>@metamask/obs-store>through2>readable-stream>string_decoder",file:"node_modules/@keystonehq/metamask-airgapped-keyring/node_modules/string_decoder/lib/string_decoder.js"}],[631,{_process:3992,"readable-stream":627,util:4423,xtend:4478},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){(function(n){(function(){var r=e("readable-stream").Transform,s=e("util").inherits,a=e("xtend");function i(e){r.call(this,e),this._destroyed=!1}function o(e,t,n){n(null,e)}function c(e){return function(t,n,r){return"function"==typeof t&&(r=n,n=t,t={}),"function"!=typeof n&&(n=o),"function"!=typeof r&&(r=null),e(t,n,r)}}s(i,r),i.prototype.destroy=function(e){if(!this._destroyed){this._destroyed=!0;var t=this;n.nextTick((function(){e&&t.emit("error",e),t.emit("close")}))}},t.exports=c((function(e,t,n){var r=new i(e);return r._transform=t,n&&(r._flush=n),r})),t.exports.ctor=c((function(e,t,n){function r(t){if(!(this instanceof r))return new r(t);this.options=a(e,t),i.call(this,this.options)}return s(r,i),r.prototype._transform=t,n&&(r.prototype._flush=n),r})),t.exports.obj=c((function(e,t,n){var r=new i(a({objectMode:!0,highWaterMark:16},e));return r._transform=t,n&&(r._flush=n),r}))}).call(this)}).call(this,e("_process"))}}},{package:"@keystonehq/metamask-airgapped-keyring>@metamask/obs-store>through2",file:"node_modules/@keystonehq/metamask-airgapped-keyring/node_modules/through2/through2.js"}],[64,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e){return function(t,n,r){t.origin=e.origin,r()}}}}},{package:"$root$",file:"app/scripts/lib/createOriginMiddleware.js"}],[65,{"../../../shared/constants/app":4493,"../../../shared/constants/metametrics":4505,"../../../shared/constants/security-provider":4513,"../../../shared/constants/transaction":4520,"../../../ui/helpers/utils/metrics":5389,"../../../ui/pages/confirmations/utils/confirm":5724,"./snap-keyring/metrics":111,"@metamask/controller-utils":1163,"eth-rpc-errors":3257,"ethereumjs-util":3288},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function({trackEvent:e,getMetricsState:t,rateLimitTimeout:n=3e5,rateLimitSamplePercent:E=.001,globalRateLimitTimeout:w=3e5,globalRateLimitMaxAmount:v=10,getAccountType:T,getDeviceModel:S,isConfirmationRedesignEnabled:M,snapAndHardwareMessenger:A,appStateController:P}){return async function(O,N,C){const{origin:R,method:k,params:I}=O,D=h[k]??f.RANDOM_SAMPLE;let j;switch(D){case f.TIMEOUT:j=void 0!==b[k];break;case f.NON_RATE_LIMITED:j=!1;break;case f.BLOCKED:j=!0;break;default:case f.RANDOM_SAMPLE:j=Math.random()>=E}const L=v>0&&_>=v,x=!0===t().participateInMetaMetrics,U=g[k],$={},G=R!==i.ORIGIN_METAMASK&&!j&&!L&&!0===x;if(G){const t=U?U.REQUESTED:o.MetaMetricsEventName.ProviderMethodCalled;if(t===o.MetaMetricsEventName.SignatureRequested){var Y,F,V,B,K;let e;var W,H;if($.signature_type=k,(0,a.isValidAddress)(null==O||null===(Y=O.params)||void 0===Y?void 0:Y[1]))e=null==O||null===(W=O.params)||void 0===W?void 0:W[0];else e=null==O||null===(H=O.params)||void 0===H?void 0:H[1];null!==(F=O.securityAlertResponse)&&void 0!==F&&F.providerRequestsCount&&Object.keys(O.securityAlertResponse.providerRequestsCount).forEach((e=>{$[`ppom_${e}_count`]=O.securityAlertResponse.providerRequestsCount[e]})),$.security_alert_response=(null===(V=O.securityAlertResponse)||void 0===V?void 0:V.result_type)??c.BlockaidResultType.NotApplicable,$.security_alert_reason=(null===(B=O.securityAlertResponse)||void 0===B?void 0:B.reason)??c.BlockaidReason.notApplicable,null!==(K=O.securityAlertResponse)&&void 0!==K&&K.description&&($.security_alert_description=O.securityAlertResponse.description);M()&&d.REDESIGN_APPROVAL_TYPES.find((e=>e===m[k]))&&($.ui_customizations=[...$.ui_customizations||[],o.MetaMetricsEventUiCustomization.RedesignedConfirmation]);const t=await(0,p.getSnapAndHardwareInfoForMetrics)(T,S,A);Object.assign($,t);try{if(k===i.MESSAGE_TYPE.PERSONAL_SIGN){const{isSIWEMessage:t}=(0,r.detectSIWE)({data:e});t&&($.ui_customizations=[...$.ui_customizations||[],o.MetaMetricsEventUiCustomization.Siwe])}}catch(e){console.warn(`createRPCMethodTrackingMiddleware: Errored - ${e}`)}}else $.method=k;const s=y[k];s&&($.params=s(I)),e({event:t,category:o.MetaMetricsEventCategory.InpageProvider,referrer:{url:R},properties:$}),D===f.TIMEOUT&&(b[k]=setTimeout((()=>{delete b[k]}),n)),_+=1,setTimeout((()=>{_-=1}),w)}C((async t=>{var n,r,a,d;if(!1===G||void 0===U)return t();const p=k===i.MESSAGE_TYPE.ETH_SIGN&&(null===(n=N.error)||void 0===n?void 0:n.code)===s.errorCodes.rpc.methodNotFound;let f;p?(f=U.FAILED,$.error=N.error):(null===(r=N.error)||void 0===r?void 0:r.code)===s.errorCodes.provider.userRejectedRequest?f=U.REJECTED:(null===(a=N.error)||void 0===a?void 0:a.code)===s.errorCodes.rpc.internal&&"Request rejected by user or snap."===(null===(d=N.error)||void 0===d?void 0:d.message)?(f=U.REJECTED,$.status=N.error.message):f=U.APPROVED;let h={};if(!p&&u.SIGNING_METHODS.includes(k)){var m;const e=P.getSignatureSecurityAlertResponse(null===(m=O.securityAlertResponse)||void 0===m?void 0:m.securityAlertId);h=(0,l.getBlockaidMetricsProps)({securityAlertResponse:e})}const g={...$,...h,security_alert_reason:h.security_alert_response===c.BlockaidResultType.Benign?"":h.security_alert_reason};return e({event:f,category:o.MetaMetricsEventCategory.InpageProvider,referrer:{url:R},properties:g}),t()}))}};var r=e("@metamask/controller-utils"),s=e("eth-rpc-errors"),a=e("ethereumjs-util"),i=e("../../../shared/constants/app"),o=e("../../../shared/constants/metametrics"),c=e("../../../shared/constants/security-provider"),u=e("../../../shared/constants/transaction"),l=e("../../../ui/helpers/utils/metrics"),d=e("../../../ui/pages/confirmations/utils/confirm"),p=e("./snap-keyring/metrics");const f={TIMEOUT:"timeout",BLOCKED:"blocked",NON_RATE_LIMITED:"non_rate_limited",RANDOM_SAMPLE:"random_sample"},h={[i.MESSAGE_TYPE.ETH_SIGN]:f.NON_RATE_LIMITED,[i.MESSAGE_TYPE.ETH_SIGN_TYPED_DATA]:f.NON_RATE_LIMITED,[i.MESSAGE_TYPE.ETH_SIGN_TYPED_DATA_V3]:f.NON_RATE_LIMITED,[i.MESSAGE_TYPE.ETH_SIGN_TYPED_DATA_V4]:f.NON_RATE_LIMITED,[i.MESSAGE_TYPE.PERSONAL_SIGN]:f.NON_RATE_LIMITED,[i.MESSAGE_TYPE.ETH_DECRYPT]:f.NON_RATE_LIMITED,[i.MESSAGE_TYPE.ETH_GET_ENCRYPTION_PUBLIC_KEY]:f.NON_RATE_LIMITED,[i.MESSAGE_TYPE.ETH_REQUEST_ACCOUNTS]:f.TIMEOUT,[i.MESSAGE_TYPE.WALLET_REQUEST_PERMISSIONS]:f.TIMEOUT,[i.MESSAGE_TYPE.SEND_METADATA]:f.BLOCKED,[i.MESSAGE_TYPE.ETH_CHAIN_ID]:f.BLOCKED,[i.MESSAGE_TYPE.ETH_ACCOUNTS]:f.BLOCKED,[i.MESSAGE_TYPE.LOG_WEB3_SHIM_USAGE]:f.BLOCKED,[i.MESSAGE_TYPE.GET_PROVIDER_STATE]:f.BLOCKED},m={[i.MESSAGE_TYPE.PERSONAL_SIGN]:r.ApprovalType.PersonalSign,[i.MESSAGE_TYPE.ETH_SIGN]:r.ApprovalType.Sign,[i.MESSAGE_TYPE.SIGN]:r.ApprovalType.SignTransaction,[i.MESSAGE_TYPE.ETH_SIGN_TYPED_DATA]:r.ApprovalType.EthSignTypedData,[i.MESSAGE_TYPE.ETH_SIGN_TYPED_DATA_V1]:r.ApprovalType.EthSignTypedData,[i.MESSAGE_TYPE.ETH_SIGN_TYPED_DATA_V3]:r.ApprovalType.EthSignTypedData,[i.MESSAGE_TYPE.ETH_SIGN_TYPED_DATA_V4]:r.ApprovalType.EthSignTypedData},g={[i.MESSAGE_TYPE.ETH_SIGN]:{APPROVED:o.MetaMetricsEventName.SignatureApproved,FAILED:o.MetaMetricsEventName.SignatureFailed,REJECTED:o.MetaMetricsEventName.SignatureRejected,REQUESTED:o.MetaMetricsEventName.SignatureRequested},[i.MESSAGE_TYPE.ETH_SIGN_TYPED_DATA]:{APPROVED:o.MetaMetricsEventName.SignatureApproved,REJECTED:o.MetaMetricsEventName.SignatureRejected,REQUESTED:o.MetaMetricsEventName.SignatureRequested},[i.MESSAGE_TYPE.ETH_SIGN_TYPED_DATA_V3]:{APPROVED:o.MetaMetricsEventName.SignatureApproved,REJECTED:o.MetaMetricsEventName.SignatureRejected,REQUESTED:o.MetaMetricsEventName.SignatureRequested},[i.MESSAGE_TYPE.ETH_SIGN_TYPED_DATA_V4]:{APPROVED:o.MetaMetricsEventName.SignatureApproved,REJECTED:o.MetaMetricsEventName.SignatureRejected,REQUESTED:o.MetaMetricsEventName.SignatureRequested},[i.MESSAGE_TYPE.PERSONAL_SIGN]:{APPROVED:o.MetaMetricsEventName.SignatureApproved,REJECTED:o.MetaMetricsEventName.SignatureRejected,REQUESTED:o.MetaMetricsEventName.SignatureRequested},[i.MESSAGE_TYPE.ETH_DECRYPT]:{APPROVED:o.MetaMetricsEventName.DecryptionApproved,REJECTED:o.MetaMetricsEventName.DecryptionRejected,REQUESTED:o.MetaMetricsEventName.DecryptionRequested},[i.MESSAGE_TYPE.ETH_GET_ENCRYPTION_PUBLIC_KEY]:{APPROVED:o.MetaMetricsEventName.EncryptionPublicKeyApproved,REJECTED:o.MetaMetricsEventName.EncryptionPublicKeyRejected,REQUESTED:o.MetaMetricsEventName.EncryptionPublicKeyRequested},[i.MESSAGE_TYPE.ETH_REQUEST_ACCOUNTS]:{APPROVED:o.MetaMetricsEventName.PermissionsApproved,REJECTED:o.MetaMetricsEventName.PermissionsRejected,REQUESTED:o.MetaMetricsEventName.PermissionsRequested},[i.MESSAGE_TYPE.WALLET_REQUEST_PERMISSIONS]:{APPROVED:o.MetaMetricsEventName.PermissionsApproved,REJECTED:o.MetaMetricsEventName.PermissionsRejected,REQUESTED:o.MetaMetricsEventName.PermissionsRequested}},y={[i.MESSAGE_TYPE.WATCH_ASSET]:({type:e})=>({type:e})},b={};let _=0}}},{package:"$root$",file:"app/scripts/lib/createRPCMethodTrackingMiddleware.js"}],[66,{"promise-to-callback":3993,"readable-stream":4258},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e,t){return new i(e,t)};var r,s=e("readable-stream"),a=(r=e("promise-to-callback"))&&r.__esModule?r:{default:r};class i extends s.Writable{constructor(e,t){super({objectMode:!0,...t}),this._asyncWriteFn=e}_write(e,t,n){(0,a.default)(this._asyncWriteFn(e,t))(n)}}}}},{package:"$root$",file:"app/scripts/lib/createStreamSink.js"}],[67,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e){return function(t,n,r){t.tabId=e.tabId,r()}}}}},{package:"$root$",file:"app/scripts/lib/createTabIdMiddleware.js"}],[68,{"@metamask/browser-passworder":1155},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.encryptorFactory=void 0;var r=e("@metamask/browser-passworder");const s=e=>async(t,n,s,a)=>(0,r.encrypt)(t,n,s,a,{algorithm:"PBKDF2",params:{iterations:e}}),a=e=>async(t,n,s)=>(0,r.encryptWithDetail)(t,n,s,{algorithm:"PBKDF2",params:{iterations:e}}),i=e=>async(t,n,s,a)=>(0,r.keyFromPassword)(t,n,s,a??{algorithm:"PBKDF2",params:{iterations:e}}),o=e=>t=>(0,r.isVaultUpdated)(t,{algorithm:"PBKDF2",params:{iterations:e}});n.encryptorFactory=e=>({encrypt:s(e),encryptWithKey:r.encryptWithKey,encryptWithDetail:a(e),decrypt:r.decrypt,decryptWithKey:r.decryptWithKey,decryptWithDetail:r.decryptWithDetail,keyFromPassword:i(e),isVaultUpdated:o(e),importKey:r.importKey,exportKey:r.exportKey,generateSalt:r.generateSalt})}}},{package:"$root$",file:"app/scripts/lib/encryptor-factory.ts"}],[69,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;n.default=[{constant:!0,inputs:[{name:"node",type:"bytes32"}],name:"resolver",outputs:[{name:"",type:"address"}],payable:!1,type:"function"},{constant:!0,inputs:[{name:"node",type:"bytes32"}],name:"owner",outputs:[{name:"",type:"address"}],payable:!1,type:"function"},{constant:!1,inputs:[{name:"node",type:"bytes32"},{name:"label",type:"bytes32"},{name:"owner",type:"address"}],name:"setSubnodeOwner",outputs:[],payable:!1,type:"function"},{constant:!1,inputs:[{name:"node",type:"bytes32"},{name:"ttl",type:"uint64"}],name:"setTTL",outputs:[],payable:!1,type:"function"},{constant:!0,inputs:[{name:"node",type:"bytes32"}],name:"ttl",outputs:[{name:"",type:"uint64"}],payable:!1,type:"function"},{constant:!1,inputs:[{name:"node",type:"bytes32"},{name:"resolver",type:"address"}],name:"setResolver",outputs:[],payable:!1,type:"function"},{constant:!1,inputs:[{name:"node",type:"bytes32"},{name:"owner",type:"address"}],name:"setOwner",outputs:[],payable:!1,type:"function"},{anonymous:!1,inputs:[{indexed:!0,name:"node",type:"bytes32"},{indexed:!1,name:"owner",type:"address"}],name:"Transfer",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"node",type:"bytes32"},{indexed:!0,name:"label",type:"bytes32"},{indexed:!1,name:"owner",type:"address"}],name:"NewOwner",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"node",type:"bytes32"},{indexed:!1,name:"resolver",type:"address"}],name:"NewResolver",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"node",type:"bytes32"},{indexed:!1,name:"ttl",type:"uint64"}],name:"NewTTL",type:"event"}]}}},{package:"$root$",file:"app/scripts/lib/ens-ipfs/contracts/registry.js"}],[7,{"@metamask/base-controller":1154},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.AccountOrderController=void 0;var r=e("@metamask/base-controller");const s={pinnedAccountList:[],hiddenAccountList:[]},a={pinnedAccountList:{persist:!0,anonymous:!0},hiddenAccountList:{persist:!0,anonymous:!0}};class i extends r.BaseController{constructor({messenger:e,state:t}){super({messenger:e,metadata:a,name:"AccountOrderController",state:{...s,...t}})}updateAccountsList(e){this.update((t=>(t.pinnedAccountList=e,t)))}updateHiddenAccountsList(e){this.update((t=>(t.hiddenAccountList=e,t)))}}n.AccountOrderController=i}}},{package:"$root$",file:"app/scripts/controllers/account-order.ts"}],[70,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;n.default=[{constant:!1,inputs:[{name:"node",type:"bytes32"},{name:"hash",type:"bytes32"}],name:"setContent",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!0,inputs:[{name:"node",type:"bytes32"}],name:"content",outputs:[{name:"",type:"bytes32"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[{name:"interfaceID",type:"bytes4"}],name:"supportsInterface",outputs:[{name:"",type:"bool"}],payable:!1,stateMutability:"pure",type:"function"},{constant:!1,inputs:[{name:"node",type:"bytes32"},{name:"key",type:"string"},{name:"value",type:"string"}],name:"setText",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!0,inputs:[{name:"node",type:"bytes32"},{name:"contentTypes",type:"uint256"}],name:"ABI",outputs:[{name:"contentType",type:"uint256"},{name:"data",type:"bytes"}],payable:!1,stateMutability:"view",type:"function"},{constant:!1,inputs:[{name:"node",type:"bytes32"},{name:"x",type:"bytes32"},{name:"y",type:"bytes32"}],name:"setPubkey",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!1,inputs:[{name:"node",type:"bytes32"},{name:"hash",type:"bytes"}],name:"setContenthash",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!0,inputs:[{name:"node",type:"bytes32"}],name:"addr",outputs:[{name:"",type:"address"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[{name:"node",type:"bytes32"},{name:"key",type:"string"}],name:"text",outputs:[{name:"",type:"string"}],payable:!1,stateMutability:"view",type:"function"},{constant:!1,inputs:[{name:"node",type:"bytes32"},{name:"contentType",type:"uint256"},{name:"data",type:"bytes"}],name:"setABI",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!0,inputs:[{name:"node",type:"bytes32"}],name:"name",outputs:[{name:"",type:"string"}],payable:!1,stateMutability:"view",type:"function"},{constant:!1,inputs:[{name:"node",type:"bytes32"},{name:"name",type:"string"}],name:"setName",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!0,inputs:[{name:"node",type:"bytes32"}],name:"contenthash",outputs:[{name:"",type:"bytes"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[{name:"node",type:"bytes32"}],name:"pubkey",outputs:[{name:"x",type:"bytes32"},{name:"y",type:"bytes32"}],payable:!1,stateMutability:"view",type:"function"},{constant:!1,inputs:[{name:"node",type:"bytes32"},{name:"addr",type:"address"}],name:"setAddr",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{inputs:[{name:"ensAddr",type:"address"}],payable:!1,stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!0,name:"node",type:"bytes32"},{indexed:!1,name:"a",type:"address"}],name:"AddrChanged",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"node",type:"bytes32"},{indexed:!1,name:"name",type:"string"}],name:"NameChanged",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"node",type:"bytes32"},{indexed:!0,name:"contentType",type:"uint256"}],name:"ABIChanged",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"node",type:"bytes32"},{indexed:!1,name:"x",type:"bytes32"},{indexed:!1,name:"y",type:"bytes32"}],name:"PubkeyChanged",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"node",type:"bytes32"},{indexed:!1,name:"indexedKey",type:"string"},{indexed:!1,name:"key",type:"string"}],name:"TextChanged",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"node",type:"bytes32"},{indexed:!1,name:"hash",type:"bytes"}],name:"ContenthashChanged",type:"event"}]}}},{package:"$root$",file:"app/scripts/lib/ens-ipfs/contracts/resolver.js"}],[71,{"./contracts/registry":69,"./contracts/resolver":70,"@ensdomains/content-hash":364,"@metamask/ethjs-contract":1375,"@metamask/ethjs-query":1379,"eth-ens-namehash":3225},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=async function({provider:e,name:t}){const n=new s.default(e),u=r.default.hash(t),d=new a.default(n),p=Number.parseInt(await n.net_version(),10),f=function(e){switch(e){case 1:case 3:case 4:case 5:case 6:return"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e";default:return null}}(p);if(!f)throw new Error(`EnsIpfsResolver - no known ens-ipfs registry for chainId "${p}"`);const h=d(o.default).at(f),m=(await h.resolver(u))[0];if(l(m))throw new Error(`EnsIpfsResolver - no resolver found for name "${t}"`);const g=d(c.default).at(m),y=await g.supportsInterface("0xbc1c58d1"),b=await g.supportsInterface("0xd8389dc5");if(y[0]){const e=(await g.contenthash(u))[0];let t=i.default.decode(e);const n=i.default.getCodec(e);return"ipfs-ns"!==n&&"ipns-ns"!==n||(t=i.default.helpers.cidV0ToV1Base32(t)),{type:n,hash:t}}if(b[0]){const e=(await g.content(u))[0];if(l(e))throw new Error(`EnsIpfsResolver - no content ID found for name "${t}"`);return{type:"swarm-ns",hash:e.slice(2)}}throw new Error(`EnsIpfsResolver - the resolver for name "${t}" is not standard, it should either supports contenthash() or content()`)};var r=u(e("eth-ens-namehash")),s=u(e("@metamask/ethjs-query")),a=u(e("@metamask/ethjs-contract")),i=u(e("@ensdomains/content-hash")),o=u(e("./contracts/registry")),c=u(e("./contracts/resolver"));function u(e){return e&&e.__esModule?e:{default:e}}function l(e){return[undefined,null,"0x","0x0","0x0000000000000000000000000000000000000000000000000000000000000000"].includes(e)}}}},{package:"$root$",file:"app/scripts/lib/ens-ipfs/resolver.js"}],[72,{"../../../../shared/modules/fetch-with-timeout":4542,"./resolver":71,"base32-encode":2930,"base64-js":2931,"webextension-polyfill":4472},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function({provider:e,getCurrentChainId:t,getIpfsGateway:n,getUseAddressBarEnsResolution:i}){const c=l.map((e=>`*://*.${e}/*`));return a.default.webRequest.onErrorOccurred.addListener(d,{urls:c,types:["main_frame"]}),{remove(){a.default.webRequest.onErrorOccurred.removeListener(d)}};async function d(c){const{tabId:d,url:p}=c;if(-1===d||"0x1"!==t())return;const{hostname:f,pathname:h,search:m,hash:g}=new URL(p),y=f.split("."),b=y[y.length-1];l.includes(b)&&async function({tabId:t,name:c,pathname:l,search:d,fragment:p}){const f=n(),h=i(),m=`https://app.ens.domains/name/${c}`;h&&f&&a.default.tabs.update(t,{url:"loading.html"});let g=m;0;try{const{type:t,hash:n}=await(0,o.default)({provider:e,name:c});if("ipfs-ns"===t||"ipns-ns"===t){if(""===f)return void(g=null);const e=`https://${n}.${t.slice(0,4)}.${f}${l}${d||""}${p||""}`;try{200===(await u(e,{method:"HEAD"})).status&&(g=e)}catch(e){console.warn(e)}}else if("swarm-ns"===t)g=`https://swarm-gateways.net/bzz:/${n}${l}${d||""}${p||""}`;else if("onion"===t||"onion3"===t)g=`http://${n}.onion${l}${d||""}${p||""}`;else if("zeronet"===t)g=`http://127.0.0.1:43110/${n}${l}${d||""}${p||""}`;else if("skynet-ns"===t){const e=n.padEnd(n.length+4-n.length%4,"="),t=s.default.toByteArray(e),a={padding:!1};g=`https://${(0,r.default)(t,"RFC4648-HEX",a).toLowerCase()}.siasky.net${l}${d||""}${p||""}`}}catch(e){console.warn(e)}finally{g&&(h||!h&&g!==m)&&a.default.tabs.update(t,{url:g})}}({tabId:d,name:f,pathname:h,search:m,fragment:g})}};var r=c(e("base32-encode")),s=c(e("base64-js")),a=c(e("webextension-polyfill")),i=c(e("../../../../shared/modules/fetch-with-timeout")),o=c(e("./resolver"));function c(e){return e&&e.__esModule?e:{default:e}}const u=(0,i.default)(),l=["eth"]}}},{package:"$root$",file:"app/scripts/lib/ens-ipfs/setup.js"}],[75,{lodash:3836},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e){return s((0,r.cloneDeep)(e),(e=>null===e?"null":typeof e))};var r=e("lodash");function s(e={},t){return Object.entries(e).forEach((([n,r])=>{e[n]="object"==typeof r&&null!==r?s(r,t):t(r)})),e}}}},{package:"$root$",file:"app/scripts/lib/getObjStructure.js"}],[76,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.hardwareKeyringBuilderFactory=function(e,t){const n=()=>new e({bridge:new t});return n.type=e.type,n}}}},{package:"$root$",file:"app/scripts/lib/hardware-keyring-builder-factory.ts"}],[77,{"@metamask/keyring-api":1444,"@metamask/permission-controller":1624},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.isProtocolAllowed=c,n.keyringSnapPermissionsBuilder=function(e,t){return()=>{if("metamask"===t)return a;const n=e.getSubjectMetadata(t);return(null==n?void 0:n.subjectType)===r.SubjectType.Website&&c(t)?i:[]}};var r=e("@metamask/permission-controller"),s=e("@metamask/keyring-api");const a=[s.KeyringRpcMethod.ListAccounts,s.KeyringRpcMethod.GetAccount,s.KeyringRpcMethod.FilterAccountChains,s.KeyringRpcMethod.DeleteAccount,s.KeyringRpcMethod.ListRequests,s.KeyringRpcMethod.GetRequest,s.KeyringRpcMethod.SubmitRequest,s.KeyringRpcMethod.RejectRequest],i=[s.KeyringRpcMethod.ListAccounts,s.KeyringRpcMethod.GetAccount,s.KeyringRpcMethod.CreateAccount,s.KeyringRpcMethod.FilterAccountChains,s.KeyringRpcMethod.UpdateAccount,s.KeyringRpcMethod.DeleteAccount,s.KeyringRpcMethod.ExportAccount,s.KeyringRpcMethod.ListRequests,s.KeyringRpcMethod.GetRequest,s.KeyringRpcMethod.ApproveRequest,s.KeyringRpcMethod.RejectRequest,s.KeyringRpcMethod.SubmitRequest],o=["https:","http:"];function c(e){try{const t=new URL(e);return o.includes(t.protocol)}catch(e){return!1}}}}},{package:"$root$",file:"app/scripts/lib/keyring-snaps-permissions.ts"}],[8,{"../../../shared/constants/alerts":4492,"@metamask/obs-store":1610},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r=e("@metamask/obs-store"),s=e("../../../shared/constants/alerts");const a={alertEnabledness:s.TOGGLEABLE_ALERT_TYPES.reduce(((e,t)=>(e[t]=!0,e)),{}),unconnectedAccountAlertShownOrigins:{},web3ShimUsageOrigins:{}};n.default=class{constructor(e={}){const{initState:t={},controllerMessenger:n}=e,s={...a,alertEnabledness:{...a.alertEnabledness,...t.alertEnabledness}};this.store=new r.ObservableStore(s),this.controllerMessenger=n,this.selectedAddress=this.controllerMessenger.call("AccountsController:getSelectedAccount"),this.controllerMessenger.subscribe("AccountsController:selectedAccountChange",(e=>{this.store.getState().unconnectedAccountAlertShownOrigins&&this.selectedAddress!==e.address&&(this.selectedAddress=e.address,this.store.updateState({unconnectedAccountAlertShownOrigins:{}}))}))}setAlertEnabledness(e,t){let{alertEnabledness:n}=this.store.getState();n={...n},n[e]=t,this.store.updateState({alertEnabledness:n})}setUnconnectedAccountAlertShown(e){let{unconnectedAccountAlertShownOrigins:t}=this.store.getState();t={...t},t[e]=!0,this.store.updateState({unconnectedAccountAlertShownOrigins:t})}getWeb3ShimUsageState(e){return this.store.getState().web3ShimUsageOrigins[e]}setWeb3ShimUsageRecorded(e){this._setWeb3ShimUsageState(e,s.Web3ShimUsageAlertStates.recorded)}setWeb3ShimUsageAlertDismissed(e){this._setWeb3ShimUsageState(e,s.Web3ShimUsageAlertStates.dismissed)}_setWeb3ShimUsageState(e,t){let{web3ShimUsageOrigins:n}=this.store.getState();n={...n},n[e]=t,this.store.updateState({web3ShimUsageOrigins:n})}}}}},{package:"$root$",file:"app/scripts/controllers/alert.js"}],[80,{"../util":120,"json-rpc-engine":3680},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.createPendingNonceMiddleware=function({getPendingNonce:e}){return(0,r.createAsyncMiddleware)((async(t,n,r)=>{const{method:s,params:a}=t;if("eth_getTransactionCount"!==s)return void r();const[i,o]=a;"pending"===o?n.result=await e(i,t.networkClientId):r()}))},n.createPendingTxMiddleware=function({getPendingTransactionByHash:e}){return(0,r.createAsyncMiddleware)((async(t,n,r)=>{const{method:a,params:i}=t;if("eth_getTransactionByHash"!==a)return void r();const[o]=i,c=e(o);c?n.result=(0,s.formatTxMetaForRpcResult)(c):r()}))};var r=e("json-rpc-engine"),s=e("../util")}}},{package:"$root$",file:"app/scripts/lib/middleware/pending.js"}],[81,{events:3328,loglevel:3842},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r=a(e("events")),s=a(e("loglevel"));function a(e){return e&&e.__esModule?e:{default:e}}class i extends r.default{constructor(e={}){super();const t=e.migrations||[];this.migrations=t.sort(((e,t)=>e.version-t.version));const n=this.migrations.slice(-1)[0];this.defaultVersion=e.defaultVersion||n&&n.version||0}async migrateData(e=this.generateInitialState()){const t=this.migrations.filter((function(t){return t.version>e.meta.version}));for(const n of t)try{s.default.info(`Running migration ${n.version}...`);const t=await n.migrate(e);if(!t.data)throw new Error("Migrator - migration returned empty data");if(t.version!==undefined&&t.meta.version!==n.version)throw new Error("Migrator - Migration did not update version number correctly");e=t,s.default.info(`Migration ${n.version} complete`)}catch(t){const r=t.message;return t.message=`MetaMask Migration Error #${n.version}: ${r}`,this.emit("error",t),e}return e}generateInitialState(e){return{meta:{version:this.defaultVersion},data:e}}}n.default=i}}},{package:"$root$",file:"app/scripts/lib/migrator/index.js"}],[84,{"../../../shared/constants/notifications":4508,"../platforms/extension":252,"@metamask/safe-event-emitter":1718},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=n.NOTIFICATION_MANAGER_EVENTS=void 0;var r=i(e("@metamask/safe-event-emitter")),s=i(e("../platforms/extension")),a=e("../../../shared/constants/notifications");function i(e){return e&&e.__esModule?e:{default:e}}const o=n.NOTIFICATION_MANAGER_EVENTS={POPUP_CLOSED:"onPopupClosed"};class c extends r.default{constructor(){super(),this.platform=new s.default,this.platform.addOnRemovedListener(this._onWindowClosed.bind(this))}markAsAutomaticallyClosed(){this._popupAutomaticallyClosed=!0}async showPopup(e,t){this._popupId=t,this._setCurrentPopupId=e;const n=await this._getPopup(t);if(n)await this.platform.focusWindow(n.id);else{let e=0,t=0;try{const n=await this.platform.getLastFocusedWindow();t=n.top,e=Math.max(n.left+(n.width-a.NOTIFICATION_WIDTH),0)}catch(n){const{screenX:r,screenY:s,outerWidth:i}=window;t=Math.max(s,0),e=Math.max(r+(i-a.NOTIFICATION_WIDTH),0)}const n=await this.platform.openWindow({url:"notification.html",type:"popup",width:a.NOTIFICATION_WIDTH,height:a.NOTIFICATION_HEIGHT,left:e,top:t});n.left!==e&&"fullscreen"!==n.state&&await this.platform.updateWindowPosition(n.id,e,t),this._setCurrentPopupId(n.id),this._popupId=n.id}}_onWindowClosed(e){e===this._popupId&&(this._setCurrentPopupId(undefined),this._popupId=undefined,this.emit(o.POPUP_CLOSED,{automaticallyClosed:this._popupAutomaticallyClosed}),this._popupAutomaticallyClosed=undefined)}async _getPopup(){const e=await this.platform.getAllWindows();return this._getPopupIn(e)}_getPopupIn(e){return e?e.find((e=>e&&"popup"===e.type&&e.id===this._popupId)):null}}n.default=c}}},{package:"$root$",file:"app/scripts/lib/notification-manager.js"}],[85,{"../../../../shared/constants/offscreen-communication":4509,"eth-lattice-keyring":3226},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.LatticeKeyringOffscreen=void 0;var r,s=(r=e("eth-lattice-keyring"))&&r.__esModule?r:{default:r},a=e("../../../../shared/constants/offscreen-communication");class i extends s.default{constructor(e={}){super(e)}async _getCreds(){try{const e=this.appName?this.appName:"Unknown",t=`${a.KnownOrigins.lattice}?keyring=${e}&forceLogin=true`;return await new Promise(((e,n)=>{chrome.runtime.sendMessage({target:a.OffscreenCommunicationTarget.latticeOffscreen,params:{url:t}},(t=>{t.error&&n(t.error),e(t.result)}))}))}catch(e){throw new Error(e)}}}n.LatticeKeyringOffscreen=i,function(e,t,n){(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(i,"type",void 0),i.type=s.default.type}}},{package:"$root$",file:"app/scripts/lib/offscreen-bridge/lattice-offscreen-keyring.ts"}],[86,{"../../../../shared/constants/offscreen-communication":4509},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.LedgerOffscreenBridge=void 0;var r=e("../../../../shared/constants/offscreen-communication");function s(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.LedgerOffscreenBridge=class{constructor(){s(this,"isDeviceConnected",!1)}init(){return chrome.runtime.onMessage.addListener((e=>{e.target===r.OffscreenCommunicationTarget.extension&&e.event===r.OffscreenCommunicationEvents.ledgerDeviceConnect&&(this.isDeviceConnected=!0)})),Promise.resolve()}destroy(){return Promise.resolve()}attemptMakeApp(){return new Promise(((e,t)=>{chrome.runtime.sendMessage({target:r.OffscreenCommunicationTarget.ledgerOffscreen,action:r.LedgerAction.makeApp},(n=>{n.success?e(!0):n.error?t(n.error):t(new Error("Unknown error occurred"))}))}))}updateTransportMethod(e){return new Promise(((t,n)=>{chrome.runtime.sendMessage({target:r.OffscreenCommunicationTarget.ledgerOffscreen,action:r.LedgerAction.updateTransport,params:{transportType:e}},(e=>{e.success?t(!0):n(new Error("Ledger transport could not be updated"))}))}))}getPublicKey(e){return new Promise(((t,n)=>{chrome.runtime.sendMessage({target:r.OffscreenCommunicationTarget.ledgerOffscreen,action:r.LedgerAction.getPublicKey,params:e},(e=>{e.success?t(e.payload):n(e.payload.error)}))}))}deviceSignTransaction(e){return new Promise(((t,n)=>{chrome.runtime.sendMessage({target:r.OffscreenCommunicationTarget.ledgerOffscreen,action:r.LedgerAction.signTransaction,params:e},(e=>{e.success?t(e.payload):n(e.payload.error)}))}))}deviceSignMessage(e){return new Promise(((t,n)=>{chrome.runtime.sendMessage({target:r.OffscreenCommunicationTarget.ledgerOffscreen,action:r.LedgerAction.signPersonalMessage,params:e},(e=>{e.success?t(e.payload):n(e.payload.error)}))}))}deviceSignTypedData(e){return new Promise(((t,n)=>{chrome.runtime.sendMessage({target:r.OffscreenCommunicationTarget.ledgerOffscreen,action:r.LedgerAction.signTypedData,params:e},(e=>{e.success?t(e.payload):n(e.payload.error)}))}))}}}}},{package:"$root$",file:"app/scripts/lib/offscreen-bridge/ledger-offscreen-bridge.ts"}],[87,{"../../../../shared/constants/offscreen-communication":4509},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.TrezorOffscreenBridge=void 0;var r=e("../../../../shared/constants/offscreen-communication");function s(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.TrezorOffscreenBridge=class{constructor(){s(this,"model",void 0)}init(e){return chrome.runtime.onMessage.addListener((e=>{e.target===r.OffscreenCommunicationTarget.extension&&e.event===r.OffscreenCommunicationEvents.trezorDeviceConnect&&(this.model=e.payload)})),new Promise((t=>{chrome.runtime.sendMessage({target:r.OffscreenCommunicationTarget.trezorOffscreen,action:r.TrezorAction.init,params:e},(()=>{t()}))}))}dispose(){return new Promise((e=>{chrome.runtime.sendMessage({target:r.OffscreenCommunicationTarget.trezorOffscreen,action:r.TrezorAction.dispose},(()=>{e()}))}))}getPublicKey(e){return new Promise((t=>{chrome.runtime.sendMessage({target:r.OffscreenCommunicationTarget.trezorOffscreen,action:r.TrezorAction.getPublicKey,params:e},(e=>{t(e)}))}))}ethereumSignTransaction(e){return new Promise((t=>{chrome.runtime.sendMessage({target:r.OffscreenCommunicationTarget.trezorOffscreen,action:r.TrezorAction.signTransaction,params:e},(e=>{t(e)}))}))}ethereumSignMessage(e){return new Promise((t=>{chrome.runtime.sendMessage({target:r.OffscreenCommunicationTarget.trezorOffscreen,action:r.TrezorAction.signMessage,params:e},(e=>{t(e)}))}))}ethereumSignTypedData(e){return new Promise((t=>{chrome.runtime.sendMessage({target:r.OffscreenCommunicationTarget.trezorOffscreen,action:r.TrezorAction.signTypedData,params:e},(e=>{t(e)}))}))}}}}},{package:"$root$",file:"app/scripts/lib/offscreen-bridge/trezor-offscreen-bridge.ts"}],[88,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){function r(e,t){!function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}(e,t),t.add(e)}function s(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(n,"__esModule",{value:!0}),n.IndexedDBPPOMStorage=void 0;const a=async(e,t,n)=>{const r=await crypto.subtle.digest("SHA-256",t);if(Array.from(new Uint8Array(r)).map((e=>e.toString(16).padStart(2,"0"))).join("")!==n)throw new Error(`Checksum mismatch for key ${e}`)};var i=new WeakSet;function o(e){return new Promise(((t,n)=>{const r=indexedDB.open(this.storeName,this.dbVersion);r.onerror=e=>{var t;n(new Error(`Failed to open database ${this.storeName}: ${null===(t=e.target)||void 0===t?void 0:t.error}`))},r.onupgradeneeded=e=>{const t=e.target.result;t.objectStoreNames.contains(this.storeName)||t.createObjectStore(this.storeName,{keyPath:["name","chainId"]})},r.onsuccess=n=>{const r=n.target.result.transaction([this.storeName],e).objectStore(this.storeName);t(r)}}))}n.IndexedDBPPOMStorage=class{constructor(e,t){r(this,i),s(this,"storeName",void 0),s(this,"dbVersion",void 0),this.storeName=e,this.dbVersion=t}async objectStoreAction(e,t,n="readonly"){return new Promise(((r,s)=>{(function(e,t,n){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return n})(this,i,o).call(this,n).then((n=>{const a=n[e](t);a.onsuccess=async e=>{r(e)},a.onerror=t=>{var n;s(new Error(`Error in indexDB operation ${e}: ${null===(n=t.target)||void 0===n?void 0:n.error}`))}})).catch((e=>{s(e)}))}))}async read(e,t){var n;const r=null===(n=(await this.objectStoreAction("get",[e.name,e.chainId])).target)||void 0===n||null===(n=n.result)||void 0===n?void 0:n.data;return await a(e,r,t),r}async write(e,t,n){await a(e,t,n),await this.objectStoreAction("put",{...e,data:t},"readwrite")}async delete(e){await this.objectStoreAction("delete",[e.name,e.chainId],"readwrite")}async dir(){var e;return null===(e=(await this.objectStoreAction("getAllKeys")).target)||void 0===e?void 0:e.result.map((([e,t])=>({name:e,chainId:t})))}}}}},{package:"$root$",file:"app/scripts/lib/ppom/indexed-db-backend.ts"}],[89,{"../../../../shared/constants/security-provider":4513,"../../../../shared/constants/transaction":4520,"./ppom-util":90},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.createPPOMMiddleware=function(e,t,n,o,c){return async(u,l,d)=>{try{var p;const l=null===(p=t.store.getState())||void 0===p?void 0:p.securityAlertsEnabled,{chainId:d}=n.state.providerConfig;if(!l||!i.includes(u.method)||!s.SECURITY_PROVIDER_SUPPORTED_CHAIN_IDS.includes(d))return;const f=(0,a.generateSecurityAlertId)();(0,a.validateRequestWithPPOM)({ppomController:e,request:u,securityAlertId:f}).then((e=>{c(u.method,f,e)}));const h={...s.LOADING_SECURITY_ALERT_RESPONSE,securityAlertId:f};r.SIGNING_METHODS.includes(u.method)&&o.addSignatureSecurityAlertResponse(h),u.securityAlertResponse=h}catch(e){u.securityAlertResponse=(0,a.handlePPOMError)(e,"Error createPPOMMiddleware: ")}finally{d()}}};var r=e("../../../../shared/constants/transaction"),s=e("../../../../shared/constants/security-provider"),a=e("./ppom-util");const i=Object.freeze(["eth_sendRawTransaction","eth_sendTransaction",...r.SIGNING_METHODS])}}},{package:"$root$",file:"app/scripts/lib/ppom/ppom-middleware.ts"}],[9,{"@metamask/obs-store":1610,events:3328},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r,s=(r=e("events"))&&r.__esModule?r:{default:r},a=e("@metamask/obs-store");function i(e,t){!function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}(e,t),t.add(e)}function o(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(e,t,n){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return n}const u={currentAppVersion:"",previousAppVersion:"",previousMigrationVersion:0,currentMigrationVersion:0,showTokenAutodetectModalOnUpgrade:!1};var l=new WeakSet,d=new WeakSet;class p extends s.default{constructor({currentAppVersion:e="",currentMigrationVersion:t=0,state:n={}}){super(),i(this,d),i(this,l),o(this,"store",void 0),this.store=new a.ObservableStore({...u,...n}),c(this,l,f).call(this,e),c(this,d,h).call(this,t)}setShowTokenAutodetectModalOnUpgrade(e){this.store.updateState({showTokenAutodetectModalOnUpgrade:e})}}function f(e){const t=this.store.getState().currentAppVersion;e!==t&&this.store.updateState({currentAppVersion:e,previousAppVersion:t,showTokenAutodetectModalOnUpgrade:null})}function h(e){const t=this.store.getState().currentMigrationVersion;e!==t&&this.store.updateState({previousMigrationVersion:t,currentMigrationVersion:e})}n.default=p}}},{package:"$root$",file:"app/scripts/controllers/app-metadata.ts"}],[90,{"../../../../shared/constants/security-provider":4513,"../../../../shared/constants/transaction":4520,"@metamask/transaction-controller":2234,uuid:4424},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.generateSecurityAlertId=function(){return(0,s.v4)()},n.handlePPOMError=l,n.updateSecurityAlertResponse=async function({appStateController:e,method:t,securityAlertId:n,securityAlertResponse:r,signatureController:s,transactionController:a}){const o=i.SIGNING_METHODS.includes(t),c=await async function(e,t,n,r){const s=i.SIGNING_METHODS.includes(t);for(;;){let t;if(t=s?Object.values(n.messages).find((t=>{var n;return(null===(n=t.securityAlertResponse)||void 0===n?void 0:n.securityAlertId)===e})):r.state.transactions.find((t=>{var n;return(null===(n=t.securityAlertResponse)||void 0===n?void 0:n.securityAlertId)===e})),t)return t;await new Promise((e=>setTimeout(e,100)))}}(n,t,s,a);o?e.addSignatureSecurityAlertResponse(r):a.updateSecurityAlertResponse(c.id,r)},n.validateRequestWithPPOM=async function({ppomController:e,request:t,securityAlertId:n}){try{return await e.usePPOM((async e=>await async function(e,t,n){try{const s=function(e){var t;if(e.method!==c)return e;const n=(null===(t=e.params)||void 0===t?void 0:t[0])||{},s=(0,r.normalizeTransactionParams)(n);return{...e,params:[s]}}(e);return{...await n.validateJsonRpc(s),securityAlertId:t}}catch(e){return l(e,"Error validating JSON RPC using PPOM: ")}}(t,n,e)))}catch(e){return l(e,"Error validateRequestWithPPOM#usePPOM: ")}};var r=e("@metamask/transaction-controller"),s=e("uuid"),a=e("../../../../shared/constants/security-provider"),i=e("../../../../shared/constants/transaction");const{sentry:o}=global,c="eth_sendTransaction",u={result_type:a.BlockaidResultType.Errored,reason:a.BlockaidReason.errored};function l(e,t){const n=function(e){if("object"==typeof e||"string"==typeof e)return e;return JSON.stringify(e)}(e),r=function(e){if(e instanceof Error)return`${e.name}: ${e.message}`;return JSON.stringify(e)}(e);return null==o||o.captureException(e),console.error(t,n),{...u,description:r}}}}},{package:"$root$",file:"app/scripts/lib/ppom/ppom-util.ts"}],[91,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){let r;Object.defineProperty(n,"__esModule",{value:!0}),n.default=n.PPOM=void 0,n.initSync=function(e){if(r!==undefined)return r;const t=A();e instanceof WebAssembly.Module||(e=new WebAssembly.Module(e));const n=new WebAssembly.Instance(e,t);return P(n,e)},n.main=function(){r.main()};const s="undefined"!=typeof TextDecoder?new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}):{decode:()=>{throw Error("TextDecoder not available")}};"undefined"!=typeof TextDecoder&&s.decode();let a=null;function i(){return null!==a&&0!==a.byteLength||(a=new Uint8Array(r.memory.buffer)),a}function o(e,t){return e>>>=0,s.decode(i().subarray(e,e+t))}const c=new Array(128).fill(undefined);c.push(undefined,null,!0,!1);let u=c.length;function l(e){u===c.length&&c.push(c.length+1);const t=u;return u=c[t],c[t]=e,t}function d(e){return c[e]}function p(e){const t=d(e);return function(e){e<132||(c[e]=u,u=e)}(e),t}let f=0;const h="undefined"!=typeof TextEncoder?new TextEncoder("utf-8"):{encode:()=>{throw Error("TextEncoder not available")}},m="function"==typeof h.encodeInto?function(e,t){return h.encodeInto(e,t)}:function(e,t){const n=h.encode(e);return t.set(n),{read:e.length,written:n.length}};function g(e,t,n){if(n===undefined){const n=h.encode(e),r=t(n.length,1)>>>0;return i().subarray(r,r+n.length).set(n),f=n.length,r}let r=e.length,s=t(r,1)>>>0;const a=i();let o=0;for(;o127)break;a[s+o]=t}if(o!==r){0!==o&&(e=e.slice(o)),s=n(s,r,r=o+3*e.length,1)>>>0;const t=i().subarray(s+o,s+r);o+=m(e,t).written}return f=o,s}let y=null;function b(){return null!==y&&0!==y.byteLength||(y=new Int32Array(r.memory.buffer)),y}function _(e){const t=typeof e;if("number"==t||"boolean"==t||null==e)return`${e}`;if("string"==t)return`"${e}"`;if("symbol"==t){const t=e.description;return null==t?"Symbol":`Symbol(${t})`}if("function"==t){const t=e.name;return"string"==typeof t&&t.length>0?`Function(${t})`:"Function"}if(Array.isArray(e)){const t=e.length;let n="[";t>0&&(n+=_(e[0]));for(let r=1;r1))return toString.call(e);if(r=n[1],"Object"==r)try{return"Object("+JSON.stringify(e)+")"}catch(e){return"Object"}return e instanceof Error?`${e.name}: ${e.message}\n${e.stack}`:r}function E(e,t,n){r.wasm_bindgen__convert__closures__invoke1_mut(e,t,l(n))}function w(e,t){r._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__destroy(e,t)}let v=null;function T(e,t){const n=t(4*e.length,4)>>>0,s=(null!==v&&0!==v.byteLength||(v=new Uint32Array(r.memory.buffer)),v);for(let t=0;t>>=0;const t=Object.create(M.prototype);return t.__wbg_ptr=e,t}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,e}free(){const e=this.__destroy_into_raw();r.__wbg_ppom_free(e)}static new(e,t){const n=T(t,r.__wbindgen_malloc),s=f;return p(r.ppom_new(l(e),n,s))}validateJsonRpc(e){return p(r.ppom_validateJsonRpc(this.__wbg_ptr,l(e)))}static version(){return p(r.ppom_version())}}function A(){const e={wbg:{}};return e.wbg.__wbg_buffer_085ec1f694018c4f=function(e){return l(d(e).buffer)},e.wbg.__wbg_call_01734de55d61e11d=function(){return S((function(e,t,n){return l(d(e).call(d(t),d(n)))}),arguments)},e.wbg.__wbg_call_4c92f6aec1e1d6e6=function(){return S((function(e,t,n,r){return l(d(e).call(d(t),d(n),d(r)))}),arguments)},e.wbg.__wbg_from_d7c216d4616bb368=function(e){return l(Array.from(d(e)))},e.wbg.__wbg_get_44be0491f933a435=function(e,t){return l(d(e)[t>>>0])},e.wbg.__wbg_length_72e2208bbc0efc61=function(e){return d(e).length},e.wbg.__wbg_length_d813e535247d427e=function(e){return d(e).length},e.wbg.__wbg_length_fff51ee6522a1a18=function(e){return d(e).length},e.wbg.__wbg_new_43f1b47c28813cbd=function(e,t){try{var n={a:e,b:t};const s=new Promise(((e,t)=>{const s=n.a;n.a=0;try{return function(e,t,n,s){r.wasm_bindgen__convert__closures__invoke2_mut(e,t,l(n),l(s))}(s,n.b,e,t)}finally{n.a=s}}));return l(s)}finally{n.a=n.b=0}},e.wbg.__wbg_new_8125e318e6245eed=function(e){return l(new Uint8Array(d(e)))},e.wbg.__wbg_parse_670c19d4e984792e=function(){return S((function(e,t){return l(JSON.parse(o(e,t)))}),arguments)},e.wbg.__wbg_ppom_new=function(e){return l(M.__wrap(e))},e.wbg.__wbg_resolve_53698b95aaf7fcf8=function(e){return l(Promise.resolve(d(e)))},e.wbg.__wbg_set_5cf90238115182c3=function(e,t,n){d(e).set(d(t),n>>>0)},e.wbg.__wbg_stringify_e25465938f3f611f=function(){return S((function(e){return l(JSON.stringify(d(e)))}),arguments)},e.wbg.__wbg_then_b2267541e2a73865=function(e,t,n){return l(d(e).then(d(t),d(n)))},e.wbg.__wbg_then_f7e06ee3c11698eb=function(e,t){return l(d(e).then(d(t)))},e.wbg.__wbindgen_cb_drop=function(e){const t=p(e).original;if(1==t.cnt--)return t.a=0,!0;return!1},e.wbg.__wbindgen_closure_wrapper_wasm_bindgen__closure__Closure_T___wrap__breaks_if_inlined=function(e,t,n){const r=function(e,t,n,r){const s={a:e,b:t,cnt:1},a=(...e)=>{s.cnt++;const t=s.a;s.a=0;try{return r(t,s.b,...e)}finally{0==--s.cnt?n(t,s.b):s.a=t}};return a.original=s,a}(e,t,w,E);return l(r)},e.wbg.__wbindgen_debug_string=function(e,t){const n=g(_(d(t)),r.__wbindgen_malloc,r.__wbindgen_realloc),s=f;b()[e/4+1]=s,b()[e/4+0]=n},e.wbg.__wbindgen_error_new=function(e,t){return l(new Error(o(e,t)))},e.wbg.__wbindgen_is_undefined=function(e){return d(e)===undefined},e.wbg.__wbindgen_memory=function(){return l(r.memory)},e.wbg.__wbindgen_object_drop_ref=function(e){p(e)},e.wbg.__wbindgen_string_get=function(e,t){const n=d(t),s="string"==typeof n?n:undefined;var a,i=(a=s)===undefined||null===a?0:g(s,r.__wbindgen_malloc,r.__wbindgen_realloc),o=f;b()[e/4+1]=o,b()[e/4+0]=i},e.wbg.__wbindgen_string_new=function(e,t){return l(o(e,t))},e.wbg.__wbindgen_throw=function(e,t){throw new Error(o(e,t))},e}function P(e,t){return r=e.exports,O.__wbindgen_wasm_module=t,y=null,v=null,a=null,r.__wbindgen_start(),r}async function O(e){if(r!==undefined)return r;const t=A();("string"==typeof e||"function"==typeof Request&&e instanceof Request||"function"==typeof URL&&e instanceof URL)&&(e=fetch(e));const{instance:n,module:s}=await async function(e,t){if("function"==typeof Response&&e instanceof Response){if("function"==typeof WebAssembly.instantiateStreaming)try{return await WebAssembly.instantiateStreaming(e,t)}catch(t){if("application/wasm"==e.headers.get("Content-Type"))throw t;console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n",t)}const n=await e.arrayBuffer();return await WebAssembly.instantiate(n,t)}{const n=await WebAssembly.instantiate(e,t);return n instanceof WebAssembly.Instance?{instance:n,module:e}:n}}(await e,t);return P(n,s)}n.PPOM=M;n.default=O}}},{package:"$root$",file:"app/scripts/lib/ppom/ppom.js"}],[92,{"./handlers":98,"@metamask/permission-controller":1624,"@metamask/snaps-rpc-methods":2086,"@metamask/utils":2300,"eth-rpc-errors":3257},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.createMethodMiddleware=n.createLegacyMethodMiddleware=void 0;var r=e("@metamask/permission-controller"),s=e("@metamask/snaps-rpc-methods"),a=e("@metamask/utils"),i=e("eth-rpc-errors"),o=e("./handlers");const c=[...o.handlers,...r.permissionRpcMethods.handlers];n.createMethodMiddleware=u(c),n.createLegacyMethodMiddleware=u(o.legacyHandlers);function u(e){const t=e.reduce(((e,t)=>{for(const n of t.methodNames)e[n]=t;return e}),{}),n=new Set(e.flatMap((({hookNames:e})=>Object.getOwnPropertyNames(e))));return e=>{!function(e,t){const n=[];if(t.forEach((t=>{(0,a.hasProperty)(e,t)||n.push(t)})),n.length>0)throw new Error(`Missing expected hooks:\n\n${n.join("\n")}\n`);const r=Object.getOwnPropertyNames(e).filter((e=>!t.has(e)));if(r.length>0)throw new Error(`Received unexpected hooks:\n\n${r.join("\n")}\n`)}(e,n);return async(n,r,a,o)=>{const c=t[n.method];if(c){const{implementation:t,hookNames:u}=c;try{return await t(n,r,a,o,(0,s.selectHooks)(e,u))}catch(e){return o(e instanceof Error?e:i.ethErrors.rpc.internal({data:e}))}}return a()}}}}}},{package:"$root$",file:"app/scripts/lib/rpc-method-middleware/createMethodMiddleware.js"}],[93,{"../../../../shared/constants/network":4507,"eth-rpc-errors":3257},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.createUnsupportedMethodMiddleware=function(){return async function(e,t,n,a){return s.UNSUPPORTED_RPC_METHODS.has(e.method)?a(r.ethErrors.rpc.methodNotSupported()):n()}};var r=e("eth-rpc-errors"),s=e("../../../../shared/constants/network")}}},{package:"$root$",file:"app/scripts/lib/rpc-method-middleware/createUnsupportedMethodMiddleware.ts"}],[94,{"../../../../../shared/constants/app":4493,"./ethereum-chain-utils":96,"@metamask/controller-utils":1163,"eth-rpc-errors":3257},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r=e("eth-rpc-errors"),s=e("@metamask/controller-utils"),a=e("../../../../../shared/constants/app"),i=e("./ethereum-chain-utils");const o={methodNames:[a.MESSAGE_TYPE.ADD_ETHEREUM_CHAIN],implementation:async function(e,t,n,a,{upsertNetworkConfiguration:o,getCurrentRpcUrl:c,findNetworkConfigurationBy:u,setActiveNetwork:l,requestUserApproval:d,startApprovalFlow:p,endApprovalFlow:f,getCurrentChainIdForDomain:h,getCaveat:m,requestPermittedChainsPermission:g,getChainPermissionsFeatureFlag:y}){let b;try{b=(0,i.validateAddEthereumChainParams)(e.params[0],a)}catch(e){return a(e)}const{chainId:_,chainName:E,firstValidBlockExplorerUrl:w,firstValidRPCUrl:v,ticker:T}=b,{origin:S}=e,M=h(S),A=(0,i.findExistingNetwork)(M,u),P=(0,i.findExistingNetwork)(_,u);if(P&&P.chainId===_&&P.ticker!==T)return a(r.ethErrors.rpc.invalidParams({message:`nativeCurrency.symbol does not match currency symbol for a network the user already has added with the same chainId. Received:\n${T}`}));let O,N,C;if(P&&P.rpcUrl===v){O=P.id??P.type;const e=c();if(M===_&&e===v)return a();N={toNetworkConfiguration:P,fromNetworkConfiguration:A}}else{({id:C}=await p());try{await d({origin:S,type:s.ApprovalType.AddEthereumChain,requestData:{chainId:_,rpcPrefs:{blockExplorerUrl:w},chainName:E,rpcUrl:v,ticker:T}}),O=await o({chainId:_,rpcPrefs:{blockExplorerUrl:w},nickname:E,rpcUrl:v,ticker:T},{source:"dapp",referrer:S})}catch(e){return f({id:C}),a(e)}N={toNetworkConfiguration:{rpcUrl:v,chainId:_,nickname:E,ticker:T,networkClientId:O},fromNetworkConfiguration:A}}return(0,i.switchChain)(t,a,S,_,N,O,C,{getChainPermissionsFeatureFlag:y,setActiveNetwork:l,requestUserApproval:d,getCaveat:m,requestPermittedChainsPermission:g,endApprovalFlow:f})},hookNames:{upsertNetworkConfiguration:!0,getCurrentRpcUrl:!0,findNetworkConfigurationBy:!0,setActiveNetwork:!0,requestUserApproval:!0,startApprovalFlow:!0,endApprovalFlow:!0,getCurrentChainIdForDomain:!0,getCaveat:!0,requestPermittedChainsPermission:!0,getChainPermissionsFeatureFlag:!0}};n.default=o}}},{package:"$root$",file:"app/scripts/lib/rpc-method-middleware/handlers/add-ethereum-chain.js"}],[95,{"../../../../../shared/constants/app":4493},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;const r={methodNames:[e("../../../../../shared/constants/app").MESSAGE_TYPE.ETH_ACCOUNTS],implementation:async function(e,t,n,r,{getAccounts:s}){return t.result=await s(),r()},hookNames:{getAccounts:!0}};n.default=r}}},{package:"$root$",file:"app/scripts/lib/rpc-method-middleware/handlers/eth-accounts.js"}],[96,{"../../../../../shared/constants/app":4493,"../../../../../shared/constants/network":4507,"../../../../../shared/constants/permissions":4511,"../../../../../shared/modules/network.utils":4548,"../../../controllers/permissions":31,"../../util":120,"@metamask/controller-utils":1163,"eth-rpc-errors":3257},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.findExistingNetwork=function(e,t){if(Object.values(a.BUILT_IN_INFURA_NETWORKS).map((({chainId:e})=>e)).includes(e))return{chainId:e,ticker:a.CURRENCY_SYMBOLS.ETH,nickname:a.NETWORK_TO_NAME_MAP[e],rpcUrl:a.CHAIN_ID_TO_RPC_URL_MAP[e],type:a.CHAIN_ID_TO_TYPE_MAP[e]};return t({chainId:e})},n.switchChain=async function(e,t,n,a,i,c,l,{getChainPermissionsFeatureFlag:d,setActiveNetwork:p,endApprovalFlow:f,requestUserApproval:h,getCaveat:m,requestPermittedChainsPermission:g}){try{if(d()){const{value:e}=m({target:u.PermissionNames.permittedChains,caveatType:o.CaveatTypes.restrictNetworkSwitching})??{};e!==undefined&&e.includes(a)||await g([...e??[],a])}else await h({origin:n,type:s.ApprovalType.SwitchEthereumChain,requestData:i});await p(c),e.result=null}catch(n){return n.code===r.errorCodes.provider.userRejectedRequest&&l?(e.result=null,t()):t(n)}finally{l&&f({id:l})}return t()},n.validateAddEthereumChainParams=function(e,t){if(!e||"object"!=typeof e)throw r.ethErrors.rpc.invalidParams({message:`Expected single, object parameter. Received:\n${JSON.stringify(e)}`});const{chainId:n,chainName:s,blockExplorerUrls:a,nativeCurrency:i,rpcUrls:o,...u}=e,p=Object.keys(u).filter((e=>!["iconUrls"].includes(e)));if(p.length>0)throw r.ethErrors.rpc.invalidParams({message:`Received unexpected keys on object parameter. Unsupported keys:\n${p}`});const f=d(n);if(!o||!Array.isArray(o)||0===o.length)throw r.ethErrors.rpc.invalidParams({message:`Expected an array with at least one valid string HTTPS url 'rpcUrls', Received:\n${o}`});const h=e=>{const t=(0,l.getValidUrl)(e);return null!==t&&("localhost"===t.hostname||"127.0.0.1"===t.hostname||"https:"===t.protocol)},m=o.find((e=>h(e))),g=null!==a&&Array.isArray(a)?a.find((e=>h(e))):null;if(!m)throw r.ethErrors.rpc.invalidParams({message:`Expected an array with at least one valid string HTTPS url 'rpcUrls', Received:\n${o}`});if(null!==a&&!g)throw r.ethErrors.rpc.invalidParams({message:`Expected null or array with at least one valid string HTTPS URL 'blockExplorerUrl'. Received: ${a}`});if("string"!=typeof s||!s)throw r.ethErrors.rpc.invalidParams({message:`Expected non-empty string 'chainName'. Received:\n${s}`});const y=s.length>100?s.substring(0,100):s;if(null!==i){if("object"!=typeof i||Array.isArray(i))throw r.ethErrors.rpc.invalidParams({message:`Expected null or object 'nativeCurrency'. Received:\n${i}`});if(18!==i.decimals)throw r.ethErrors.rpc.invalidParams({message:`Expected the number 18 for 'nativeCurrency.decimals' when 'nativeCurrency' is provided. Received: ${i.decimals}`});if(!i.symbol||"string"!=typeof i.symbol)throw r.ethErrors.rpc.invalidParams({message:`Expected a string 'nativeCurrency.symbol'. Received: ${i.symbol}`})}const b=(null==i?void 0:i.symbol)||c.UNKNOWN_TICKER_SYMBOL;if(b!==c.UNKNOWN_TICKER_SYMBOL&&("string"!=typeof b||b.length<1||b.length>6))throw r.ethErrors.rpc.invalidParams({message:`Expected 1-6 character string 'nativeCurrency.symbol'. Received:\n${b}`});return{chainId:f,chainName:y,firstValidBlockExplorerUrl:g,firstValidRPCUrl:m,ticker:b}},n.validateChainId=d,n.validateSwitchEthereumChainParams=function(e,t){var n;if(null===(n=e.params)||void 0===n||!n[0]||"object"!=typeof e.params[0])throw r.ethErrors.rpc.invalidParams({message:`Expected single, object parameter. Received:\n${JSON.stringify(e.params)}`});const{chainId:s,...a}=e.params[0];if(Object.keys(a).length>0)throw r.ethErrors.rpc.invalidParams({message:`Received unexpected keys on object parameter. Unsupported keys:\n${Object.keys(a)}`});return d(s)};var r=e("eth-rpc-errors"),s=e("@metamask/controller-utils"),a=e("../../../../../shared/constants/network"),i=e("../../../../../shared/modules/network.utils"),o=e("../../../../../shared/constants/permissions"),c=e("../../../../../shared/constants/app"),u=e("../../../controllers/permissions"),l=e("../../util");function d(e){const t="string"==typeof e&&e.toLowerCase();if(!(0,i.isPrefixedFormattedHexString)(t))throw r.ethErrors.rpc.invalidParams({message:`Expected 0x-prefixed, unpadded, non-zero hexadecimal string 'chainId'. Received:\n${e}`});if(!(0,i.isSafeChainId)(parseInt(t,16)))throw r.ethErrors.rpc.invalidParams({message:`Invalid chain ID "${t}": numerical value greater than max safe value. Received:\n${e}`});return t}}}},{package:"$root$",file:"app/scripts/lib/rpc-method-middleware/handlers/ethereum-chain-utils.js"}],[97,{"../../../../../shared/constants/app":4493},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;const r={methodNames:[e("../../../../../shared/constants/app").MESSAGE_TYPE.GET_PROVIDER_STATE],implementation:async function(e,t,n,r,{getProviderState:s}){return t.result={...await s(e.origin)},r()},hookNames:{getProviderState:!0}};n.default=r}}},{package:"$root$",file:"app/scripts/lib/rpc-method-middleware/handlers/get-provider-state.js"}],[98,{"./add-ethereum-chain":94,"./eth-accounts":95,"./get-provider-state":97,"./log-web3-shim-usage":99,"./request-accounts":100,"./send-metadata":101,"./switch-ethereum-chain":102,"./watch-asset":103},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.legacyHandlers=n.handlers=void 0;var r=d(e("./add-ethereum-chain")),s=d(e("./eth-accounts")),a=d(e("./get-provider-state")),i=d(e("./log-web3-shim-usage")),o=d(e("./request-accounts")),c=d(e("./send-metadata")),u=d(e("./switch-ethereum-chain")),l=d(e("./watch-asset"));function d(e){return e&&e.__esModule?e:{default:e}}n.handlers=[r.default,a.default,i.default,o.default,c.default,u.default,l.default],n.legacyHandlers=[s.default]}}},{package:"$root$",file:"app/scripts/lib/rpc-method-middleware/handlers/hybrid-compute-sdk.ts"}],[99,{"../../../../../shared/constants/app":4493},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;const r={methodNames:[e("../../../../../shared/constants/app").MESSAGE_TYPE.LOG_WEB3_SHIM_USAGE],implementation:function(e,t,n,r,{getWeb3ShimUsageState:s,setWeb3ShimUsageRecorded:a}){const{origin:i}=e;s(i)===undefined&&a(i);return t.result=!0,r()},hookNames:{getWeb3ShimUsageState:!0,setWeb3ShimUsageRecorded:!0}};n.default=r}}},{package:"$root$",file:"app/scripts/lib/rpc-method-middleware/handlers/log-web3-shim-usage.js"}],[5,{"../../shared/constants/app":4493,"../../shared/constants/metametrics":4505,"../../shared/modules/browser-runtime.utils":4534,"../../shared/modules/mv3.utils":4547,"../../shared/modules/object.utils":4549,"../../test/e2e/default-fixture":4563,"./first-time-state":50,"./lib/createStreamSink":66,"./lib/ens-ipfs/setup":72,"./lib/get-first-preferred-lang-code":74,"./lib/getObjStructure":75,"./lib/local-store":78,"./lib/migrator":81,"./lib/network-store":83,"./lib/notification-manager":84,"./lib/setup-initial-state-hooks":108,"./lib/setupSentry":109,"./lib/util":120,"./metamask-controller":121,"./migrations":250,"./offscreen":251,"./platforms/extension":252,"./skip-onboarding":253,"@metamask/controller-utils":1163,"@metamask/desktop/dist/constants":1188,"@metamask/desktop/dist/desktop-manager":1193,"@metamask/obs-store":1610,"@metamask/utils":2300,"debounce-stream":3168,"eth-rpc-errors":3257,events:3328,"extension-port-stream":3331,loglevel:3842,"readable-stream":4258,"webextension-polyfill":4472},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.loadStateFromPersistence=de,n.setupController=fe,n.statePersistenceEvents=void 0,e("./lib/setup-initial-state-hooks");var r=L(e("events")),s=e("readable-stream"),a=L(e("debounce-stream")),i=L(e("loglevel")),o=L(e("webextension-polyfill")),c=e("@metamask/obs-store"),u=e("@metamask/utils"),l=e("@metamask/controller-utils"),d=L(e("extension-port-stream")),p=e("eth-rpc-errors"),f=e("../../shared/constants/app"),h=e("../../shared/constants/metametrics"),m=e("../../shared/modules/browser-runtime.utils"),g=e("../../shared/modules/mv3.utils"),y=e("../../shared/modules/object.utils"),b=(e("../../test/e2e/default-fixture"),L(e("./migrations"))),_=L(e("./lib/migrator")),E=L(e("./platforms/extension")),w=L(e("./lib/local-store")),v=(L(e("./lib/network-store")),e("./lib/setupSentry")),T=L(e("./lib/createStreamSink")),S=j(e("./lib/notification-manager")),M=j(e("./metamask-controller")),A=L(e("./first-time-state")),P=L(e("./lib/get-first-preferred-lang-code")),O=L(e("./lib/getObjStructure")),N=L(e("./lib/ens-ipfs/setup")),C=e("./lib/util"),R=(e("./skip-onboarding"),e("./offscreen")),k=e("@metamask/desktop/dist/constants"),I=L(e("@metamask/desktop/dist/desktop-manager"));function D(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(D=function(e){return e?n:t})(e)}function j(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=D(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=s?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}function L(e){return e&&e.__esModule?e:{default:e}}const x=new w.default;global.stateHooks.getMostRecentPersistedState=()=>x.mostRecentRetrievedState;const{sentry:U}=global;let $={...A.default};const G={[f.ENVIRONMENT_TYPE_POPUP]:!0,[f.ENVIRONMENT_TYPE_NOTIFICATION]:!0,[f.ENVIRONMENT_TYPE_FULLSCREEN]:!0},Y=["trezor-connect"];i.default.setLevel("info",!1);const F=new E.default,V=new S.default;let B=0,K=!1,W=!1;const H={},q={};let z,J;const Q={};const X=new URL("https://metamask.github.io/phishing-warning/v3.0.3/"),Z=1e3,ee={EXTENSION:"EXTENSION",DESKTOP:"DESKTOP_APP"},te=n.statePersistenceEvents=new r.default,{promise:ne,resolve:re,reject:se}=(0,C.deferredPromise)(),ae=async()=>{const e=await o.default.tabs.query({url:"",windowType:"normal"}).then((e=>((0,m.checkForLastErrorAndLog)(),e))).catch((()=>{(0,m.checkForLastErrorAndLog)()}));for(const t of e)o.default.tabs.sendMessage(t.id,{name:f.EXTENSION_MESSAGES.READY}).then((()=>{(0,m.checkForLastErrorAndLog)()})).catch((()=>{(0,m.checkForLastErrorAndLog)()}))};let ie,oe;function ce(){const e=(new Date).toISOString();o.default.storage.session.set({timestamp:e})}async function ue(){try{const t=g.isManifestV3?(0,R.createOffscreen)():null,n=await de(),r=n.data,s=await(0,P.default)();let a;if(await I.default.init(F.getVersion()),g.isManifestV3){var e;if(!1!==(null===(e=r.PreferencesController)||void 0===e?void 0:e.enableMV3TimestampSave)){const e=2e3;ce(),setInterval(ce,e)}const t=await o.default.storage.session.get(["isFirstMetaMaskControllerSetup"]);a=(null==t?void 0:t.isFirstMetaMaskControllerSetup)===undefined,await o.default.storage.session.set({isFirstMetaMaskControllerSetup:a})}fe(r,s,{},a,n.meta,t),g.isManifestV3||await async function(){let e;try{const t=new URL("https://metamask.github.io/phishing-warning/v3.0.3/");let n,r;t.hash="#extensionStartup",e=window.document.createElement("iframe"),e.setAttribute("src",t.href),e.setAttribute("sandbox","allow-scripts allow-same-origin");const s=new Promise(((e,t)=>{n=e,r=t}));e.addEventListener("load",n),window.document.body.appendChild(e),setTimeout((()=>r(new le)),Z),await s}catch(e){e instanceof le?console.warn("Phishing warning page timeout; page not guaranteed to work offline."):console.error("Failed to initialize phishing warning page",e)}finally{e&&e.remove()}}(),await ae(),i.default.info("MetaMask initialization complete."),re()}catch(e){se(e)}}o.default.runtime.onConnect.addListener((async(...e)=>{await ne,ie(...e)})),o.default.runtime.onConnectExternal.addListener((async(...e)=>{await ne,oe(...e)}));class le extends Error{constructor(){super("Timeout failed")}}async function de(){const e=new _.default({migrations:b.default,defaultVersion:null});if(e.on("error",console.warn),J=await x.get()||e.generateInitialState($),J&&!J.data&&(J=e.generateInitialState($),U.captureMessage("MetaMask - Empty vault found - unable to recover")),e.on("error",(e=>{const t=(0,O.default)(J);U.captureException(e,{extra:{vaultStructure:t}})})),J=await e.migrateData(J),!J)throw new Error("MetaMask - migrator returned undefined");if(!(0,u.isObject)(J.meta))throw new Error(`MetaMask - migrator metadata has invalid type '${typeof J.meta}'`);if("number"!=typeof J.meta.version)throw new Error(`MetaMask - migrator metadata version has invalid type '${typeof J.meta.version}'`);if(!(0,u.isObject)(J.data))throw new Error(`MetaMask - migrator data has invalid type '${typeof J.data}'`);return x.setMetadata(J.meta),x.set(J.data),J}function pe(e,t,n){const{metaMetricsId:r}=z.metaMetricsController.state;if(!(0,C.shouldEmitDappViewedEvent)(r))return;if(!(0,u.hasProperty)(t.permissions,"eth_accounts"))return;const s=Object.keys(n.store.getState().identities).length,a=t.permissions.eth_accounts.caveats;if(a){const t=a[0].value.length;z.metaMetricsController.trackEvent({event:h.MetaMetricsEventName.DappViewed,category:h.MetaMetricsEventCategory.InpageProvider,referrer:{url:e},properties:{is_first_visit:!1,number_of_accounts:s,number_of_accounts_connected:t}})}}function fe(e,t,n,r,u,m){var b,_;z=new M.default({infuraProjectId:"0d73cc5bbe184146957a9d00764db99f",showUserConfirmation:he,initState:e,initLangCode:t,platform:F,notificationManager:V,browser:o.default,getRequestAccountTabIds:()=>q,getOpenMetamaskTabsIds:()=>H,localStore:x,overrides:n,isFirstMetaMaskControllerSetup:r,currentMigrationVersion:u.version,featureFlags:{},offscreenPromise:m}),(0,N.default)({getCurrentChainId:()=>z.networkController.state.providerConfig.chainId,getIpfsGateway:z.preferencesController.getIpfsGateway.bind(z.preferencesController),getUseAddressBarEnsResolution:()=>z.preferencesController.store.getState().useAddressBarEnsResolution,provider:z.provider}),(0,s.pipeline)((0,c.storeAsStream)(z.store),(0,a.default)(1e3),(0,T.default)((async e=>{await x.set(e),te.emit("state-persisted",e)})),(e=>{i.default.error("MetaMask - Persistence pipeline failed",e)})),_=z,global.stateHooks.getSentryAppState=function(){const e=_.memStore.getState();return(0,y.maskObject)(e,v.SENTRY_BACKGROUND_STATE)};const E=()=>B>0||Boolean(Object.keys(H).length)||K,w=(e,t)=>{if(!1===e)z.onClientClosed();else{if(t===f.ENVIRONMENT_TYPE_FULLSCREEN&&Boolean(Object.keys(H).length))return;z.onEnvironmentTypeClosed(t)}};function A(){let e="";const t=P();t&&(e=String(t)),g.isManifestV3?(o.default.action.setBadgeText({text:e}),o.default.action.setBadgeBackgroundColor({color:"#037DD6"})):(o.default.browserAction.setBadgeText({text:e}),o.default.browserAction.setBadgeBackgroundColor({color:"#037DD6"}))}function P(){let e=z.appStateController.waitingForUnlock.length+z.approvalController.getTotalApprovalCount();return z.preferencesController.getUseRequestQueue()&&(e+=z.queuedRequestController.state.queuedRequestCount),e}ie=async e=>{var t,r;if(I.default.isDesktopEnabled()&&ee.DESKTOP!==(null==n||null===(t=n.getOrigin)||void 0===t?void 0:t.call(n)))return void I.default.createStream(e,k.CONNECTION_TYPE_INTERNAL).then((()=>{g.isManifestV3&&e.postMessage({name:"CONNECTION_READY"})}));const a=e.name;if(Y.includes(e.name))return;let i=!1;const c=(0,C.getPlatform)(),u=null!==(r=e.sender)&&void 0!==r&&r.url?new URL(e.sender.url):null;if(i=c===f.PLATFORM_FIREFOX?G[a]:(null==u?void 0:u.origin)===`chrome-extension://${o.default.runtime.id}`,i){var l;const t=(null==n||null===(l=n.getPortStream)||void 0===l?void 0:l.call(n,e))||new d.default(e);if(z.isClientOpen=!0,z.setupTrustedCommunication(t,e.sender),a===f.ENVIRONMENT_TYPE_POPUP&&(B+=1,(0,s.finished)(t,(()=>{B-=1;const e=E();z.isClientOpen=e,w(e,f.ENVIRONMENT_TYPE_POPUP)}))),a===f.ENVIRONMENT_TYPE_NOTIFICATION&&(K=!0,(0,s.finished)(t,(()=>{K=!1;const e=E();z.isClientOpen=e,w(e,f.ENVIRONMENT_TYPE_NOTIFICATION)}))),a===f.ENVIRONMENT_TYPE_FULLSCREEN){const n=e.sender.tab.id;H[n]=!0,(0,s.finished)(t,(()=>{delete H[n];const e=E();z.isClientOpen=e,w(e,f.ENVIRONMENT_TYPE_FULLSCREEN)}))}}else if(u&&u.origin===X.origin&&u.pathname===X.pathname){var p;const t=(null==n||null===(p=n.getPortStream)||void 0===p?void 0:p.call(n,e))||new d.default(e);z.setupPhishingCommunication({connectionStream:t})}else{if(e.sender&&e.sender.tab&&e.sender.url){const t=e.sender.tab.id,n=new URL(e.sender.url),{origin:r}=n;Object.keys(Q).includes(t)||(Q[t]=r);const s=z.permissionController.state.subjects[r],a=s!==undefined,i="New Tab"!==e.sender.tab.title;a&&i&&pe(r,s,z.preferencesController),e.onMessage.addListener((e=>{e.data&&e.data.method===f.MESSAGE_TYPE.ETH_REQUEST_ACCOUNTS&&(q[r]=t)}))}oe(e)}},oe=e=>{var t,r;if(I.default.isDesktopEnabled()&&ee.DESKTOP!==(null==n||null===(t=n.getOrigin)||void 0===t?void 0:t.call(n)))return void I.default.createStream(e,k.CONNECTION_TYPE_EXTERNAL);const s=(null==n||null===(r=n.getPortStream)||void 0===r?void 0:r.call(n,e))||new d.default(e);z.setupUntrustedCommunication({connectionStream:s,sender:e.sender})},null!=n&&n.registerConnectListeners&&n.registerConnectListeners(ie,oe),A(),z.decryptMessageController.hub.on(M.METAMASK_CONTROLLER_EVENTS.UPDATE_BADGE,A),z.encryptionPublicKeyController.hub.on(M.METAMASK_CONTROLLER_EVENTS.UPDATE_BADGE,A),z.signatureController.hub.on(M.METAMASK_CONTROLLER_EVENTS.UPDATE_BADGE,A),z.appStateController.on(M.METAMASK_CONTROLLER_EVENTS.UPDATE_BADGE,A),z.controllerMessenger.subscribe(M.METAMASK_CONTROLLER_EVENTS.APPROVAL_STATE_CHANGE,A),z.controllerMessenger.subscribe(M.METAMASK_CONTROLLER_EVENTS.QUEUED_REQUEST_STATE_CHANGE,A),z.txController.initApprovals(),V.on(S.NOTIFICATION_MANAGER_EVENTS.POPUP_CLOSED,(({automaticallyClosed:e})=>{e?P()>0&&he():(z.signatureController.rejectUnapproved(h.REJECT_NOTIFICATION_CLOSE_SIG),z.decryptMessageController.rejectUnapproved(h.REJECT_NOTIFICATION_CLOSE),z.encryptionPublicKeyController.rejectUnapproved(h.REJECT_NOTIFICATION_CLOSE),Object.values(z.approvalController.state.pendingApprovals).forEach((({id:e,type:t})=>{switch(t){case l.ApprovalType.SnapDialogAlert:case l.ApprovalType.SnapDialogPrompt:z.approvalController.accept(e,null);break;case l.ApprovalType.SnapDialogConfirmation:case f.SNAP_MANAGE_ACCOUNTS_CONFIRMATION_TYPES.confirmAccountCreation:case f.SNAP_MANAGE_ACCOUNTS_CONFIRMATION_TYPES.confirmAccountRemoval:case f.SNAP_MANAGE_ACCOUNTS_CONFIRMATION_TYPES.showSnapAccountRedirect:z.approvalController.accept(e,!1);break;default:z.approvalController.reject(e,p.ethErrors.provider.userRejectedRequest())}}))),A()})),ee.DESKTOP!==(null==n||null===(b=n.getOrigin)||void 0===b?void 0:b.call(n))&&z.store.subscribe((e=>{I.default.setState(e)})),Object.values(z.snapController.state.snaps).some((e=>!e.preinstalled))&&z.snapController.updateBlockedSnaps()}async function he(){const e=await F.getActiveTabs(),t=Boolean(e.find((e=>H[e.id]))),n=e.length>0&&e[0].extData&&e[0].extData.indexOf("vivaldi_tab")>-1;if(!W&&(n||0===B)&&!t){W=!0;try{const e=z.appStateController.getCurrentPopupId();await V.showPopup((e=>z.appStateController.setCurrentPopupId(e)),e)}finally{W=!1}}}const me=()=>{if(z)return z.metaMetricsController.updateTraits({[h.MetaMetricsUserTrait.InstallDateExt]:(new Date).toISOString().split("T")[0]}),void z.metaMetricsController.addEventBeforeMetricsOptIn({category:h.MetaMetricsEventCategory.App,event:h.MetaMetricsEventName.AppInstalled,properties:{}});setTimeout((()=>{me()}),500)};async function ge(){Boolean(await x.get())||(me(),F.openExtensionInBrowser()),o.default.tabs.onActivated.addListener((e=>{if(z){const{tabId:t}=e,n=Q[t];if(n){const e=z.permissionController.state.subjects[n];e!==undefined&&pe(n,e,z.preferencesController)}}}))}(async function(){await ge(),ue().catch(i.default.error)})()}}},{package:"$root$",file:"app/scripts/background.js"}]],[5],{}); \ No newline at end of file diff --git a/contracts/test/e2e/metamask-flask-unpacked/common-7.js b/contracts/test/e2e/metamask-flask-unpacked/common-7.js index af80196..dc8411f 100644 --- a/contracts/test/e2e/metamask-flask-unpacked/common-7.js +++ b/contracts/test/e2e/metamask-flask-unpacked/common-7.js @@ -1 +1 @@ -LavaPack.loadBundle([[434,{"./helpers":437,"./internal":439,buffer:3028},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(t){(function(){Object.defineProperty(r,"__esModule",{value:!0}),r.intToUnpaddedBuffer=r.bigIntToUnpaddedBuffer=r.bigIntToHex=r.bufArrToArr=r.arrToBufArr=r.validateNoLeadingZeroes=r.baToJSON=r.toUtf8=r.short=r.addHexPrefix=r.toUnsigned=r.fromSigned=r.bufferToInt=r.bigIntToBuffer=r.bufferToBigInt=r.bufferToHex=r.toBuffer=r.unpadHexString=r.unpadArray=r.unpadBuffer=r.setLengthRight=r.setLengthLeft=r.zeros=r.intToBuffer=r.intToHex=void 0;const n=e("./helpers"),o=e("./internal");r.intToHex=function(e){if(!Number.isSafeInteger(e)||e<0)throw new Error(`Received an invalid integer type: ${e}`);return`0x${e.toString(16)}`};r.intToBuffer=function(e){const n=(0,r.intToHex)(e);return t.from((0,o.padToEven)(n.slice(2)),"hex")};r.zeros=function(e){return t.allocUnsafe(e).fill(0)};const i=function(e,t,n){const o=(0,r.zeros)(t);return n?e.length0&&"0"===t.toString();)t=(e=e.slice(1))[0];return e};r.unpadBuffer=function(e){return(0,n.assertIsBuffer)(e),a(e)};r.unpadArray=function(e){return(0,n.assertIsArray)(e),a(e)};r.unpadHexString=function(e){return(0,n.assertIsHexString)(e),e=(0,o.stripHexPrefix)(e),"0x"+a(e)};r.toBuffer=function(e){if(null===e||e===undefined)return t.allocUnsafe(0);if(t.isBuffer(e))return t.from(e);if(Array.isArray(e)||e instanceof Uint8Array)return t.from(e);if("string"==typeof e){if(!(0,o.isHexString)(e))throw new Error(`Cannot convert string to buffer. toBuffer only supports 0x-prefixed hex strings and this string was given: ${e}`);return t.from((0,o.padToEven)((0,o.stripHexPrefix)(e)),"hex")}if("number"==typeof e)return(0,r.intToBuffer)(e);if("bigint"==typeof e){if(e0&&0===r[0])throw new Error(`${t} cannot have leading zeroes, received: ${r.toString("hex")}`)},r.arrToBufArr=function e(r){return Array.isArray(r)?r.map((t=>e(t))):t.from(r)},r.bufArrToArr=function e(t){return Array.isArray(t)?t.map((t=>e(t))):Uint8Array.from(t??[])};r.bigIntToHex=e=>"0x"+e.toString(16),r.bigIntToUnpaddedBuffer=function(e){return(0,r.unpadBuffer)(c(e))},r.intToUnpaddedBuffer=function(e){return(0,r.unpadBuffer)((0,r.intToBuffer)(e))}}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"@ethereumjs/tx>@ethereumjs/util",file:"node_modules/@ethereumjs/util/dist/bytes.js"}],[4340,{"./hash":4336,"./sha256":4341,inherits:3641,"safe-buffer":4276},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("inherits"),o=e("./sha256"),i=e("./hash"),a=e("safe-buffer").Buffer,s=new Array(64);function c(){this.init(),this._w=s,i.call(this,64,56)}n(c,o),c.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},c.prototype._hash=function(){var e=a.allocUnsafe(28);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e},t.exports=c}}},{package:"addons-linter>sha.js",file:"node_modules/sha.js/sha224.js"}],[4341,{"./hash":4336,inherits:3641,"safe-buffer":4276},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("inherits"),o=e("./hash"),i=e("safe-buffer").Buffer,a=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],s=new Array(64);function c(){this.init(),this._w=s,o.call(this,64,56)}function u(e,t,r){return r^e&(t^r)}function l(e,t,r){return e&t|r&(e|t)}function f(e){return(e>>>2|e<<30)^(e>>>13|e<<19)^(e>>>22|e<<10)}function d(e){return(e>>>6|e<<26)^(e>>>11|e<<21)^(e>>>25|e<<7)}function h(e){return(e>>>7|e<<25)^(e>>>18|e<<14)^e>>>3}n(c,o),c.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},c.prototype._update=function(e){for(var t,r=this._w,n=0|this._a,o=0|this._b,i=0|this._c,s=0|this._d,c=0|this._e,p=0|this._f,m=0|this._g,g=0|this._h,A=0;A<16;++A)r[A]=e.readInt32BE(4*A);for(;A<64;++A)r[A]=0|(((t=r[A-2])>>>17|t<<15)^(t>>>19|t<<13)^t>>>10)+r[A-7]+h(r[A-15])+r[A-16];for(var y=0;y<64;++y){var _=g+d(c)+u(c,p,m)+a[y]+r[y]|0,b=f(n)+l(n,o,i)|0;g=m,m=p,p=c,c=s+_|0,s=i,i=o,o=n,n=_+b|0}this._a=n+this._a|0,this._b=o+this._b|0,this._c=i+this._c|0,this._d=s+this._d|0,this._e=c+this._e|0,this._f=p+this._f|0,this._g=m+this._g|0,this._h=g+this._h|0},c.prototype._hash=function(){var e=i.allocUnsafe(32);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e.writeInt32BE(this._h,28),e},t.exports=c}}},{package:"addons-linter>sha.js",file:"node_modules/sha.js/sha256.js"}],[4342,{"./hash":4336,"./sha512":4343,inherits:3641,"safe-buffer":4276},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("inherits"),o=e("./sha512"),i=e("./hash"),a=e("safe-buffer").Buffer,s=new Array(160);function c(){this.init(),this._w=s,i.call(this,128,112)}n(c,o),c.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},c.prototype._hash=function(){var e=a.allocUnsafe(48);function t(t,r,n){e.writeInt32BE(t,n),e.writeInt32BE(r,n+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),e},t.exports=c}}},{package:"addons-linter>sha.js",file:"node_modules/sha.js/sha384.js"}],[4343,{"./hash":4336,inherits:3641,"safe-buffer":4276},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("inherits"),o=e("./hash"),i=e("safe-buffer").Buffer,a=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],s=new Array(160);function c(){this.init(),this._w=s,o.call(this,128,112)}function u(e,t,r){return r^e&(t^r)}function l(e,t,r){return e&t|r&(e|t)}function f(e,t){return(e>>>28|t<<4)^(t>>>2|e<<30)^(t>>>7|e<<25)}function d(e,t){return(e>>>14|t<<18)^(e>>>18|t<<14)^(t>>>9|e<<23)}function h(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^e>>>7}function p(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^(e>>>7|t<<25)}function m(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^e>>>6}function g(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^(e>>>6|t<<26)}function A(e,t){return e>>>0>>0?1:0}n(c,o),c.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this},c.prototype._update=function(e){for(var t=this._w,r=0|this._ah,n=0|this._bh,o=0|this._ch,i=0|this._dh,s=0|this._eh,c=0|this._fh,y=0|this._gh,_=0|this._hh,b=0|this._al,v=0|this._bl,E=0|this._cl,T=0|this._dl,w=0|this._el,N=0|this._fl,S=0|this._gl,I=0|this._hl,O=0;O<32;O+=2)t[O]=e.readInt32BE(4*O),t[O+1]=e.readInt32BE(4*O+4);for(;O<160;O+=2){var C=t[O-30],M=t[O-30+1],R=h(C,M),P=p(M,C),x=m(C=t[O-4],M=t[O-4+1]),k=g(M,C),L=t[O-14],j=t[O-14+1],B=t[O-32],D=t[O-32+1],U=P+j|0,H=R+L+A(U,P)|0;H=(H=H+x+A(U=U+k|0,k)|0)+B+A(U=U+D|0,D)|0,t[O]=H,t[O+1]=U}for(var F=0;F<160;F+=2){H=t[F],U=t[F+1];var G=l(r,n,o),K=l(b,v,E),z=f(r,b),W=f(b,r),Y=d(s,w),V=d(w,s),$=a[F],X=a[F+1],q=u(s,c,y),Q=u(w,N,S),J=I+V|0,Z=_+Y+A(J,I)|0;Z=(Z=(Z=Z+q+A(J=J+Q|0,Q)|0)+$+A(J=J+X|0,X)|0)+H+A(J=J+U|0,U)|0;var ee=W+K|0,te=z+G+A(ee,W)|0;_=y,I=S,y=c,S=N,c=s,N=w,s=i+Z+A(w=T+J|0,T)|0,i=o,T=E,o=n,E=v,n=r,v=b,r=Z+te+A(b=J+ee|0,J)|0}this._al=this._al+b|0,this._bl=this._bl+v|0,this._cl=this._cl+E|0,this._dl=this._dl+T|0,this._el=this._el+w|0,this._fl=this._fl+N|0,this._gl=this._gl+S|0,this._hl=this._hl+I|0,this._ah=this._ah+r+A(this._al,b)|0,this._bh=this._bh+n+A(this._bl,v)|0,this._ch=this._ch+o+A(this._cl,E)|0,this._dh=this._dh+i+A(this._dl,T)|0,this._eh=this._eh+s+A(this._el,w)|0,this._fh=this._fh+c+A(this._fl,N)|0,this._gh=this._gh+y+A(this._gl,S)|0,this._hh=this._hh+_+A(this._hl,I)|0},c.prototype._hash=function(){var e=i.allocUnsafe(64);function t(t,r,n){e.writeInt32BE(t,n),e.writeInt32BE(r,n+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),t(this._gh,this._gl,48),t(this._hh,this._hl,56),e},t.exports=c}}},{package:"addons-linter>sha.js",file:"node_modules/sha.js/sha512.js"}],[4344,{"call-bind/callBound":3038,"get-intrinsic":3409,"object-inspect":3946},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("get-intrinsic"),o=e("call-bind/callBound"),i=e("object-inspect"),a=n("%TypeError%"),s=n("%WeakMap%",!0),c=n("%Map%",!0),u=o("WeakMap.prototype.get",!0),l=o("WeakMap.prototype.set",!0),f=o("WeakMap.prototype.has",!0),d=o("Map.prototype.get",!0),h=o("Map.prototype.set",!0),p=o("Map.prototype.has",!0),m=function(e,t){for(var r,n=e;null!==(r=n.next);n=r)if(r.key===t)return n.next=r.next,r.next=e.next,e.next=r,r};t.exports=function(){var e,t,r,n={assert:function(e){if(!n.has(e))throw new a("Side channel does not contain "+i(e))},get:function(n){if(s&&n&&("object"==typeof n||"function"==typeof n)){if(e)return u(e,n)}else if(c){if(t)return d(t,n)}else if(r)return function(e,t){var r=m(e,t);return r&&r.value}(r,n)},has:function(n){if(s&&n&&("object"==typeof n||"function"==typeof n)){if(e)return f(e,n)}else if(c){if(t)return p(t,n)}else if(r)return function(e,t){return!!m(e,t)}(r,n);return!1},set:function(n,o){s&&n&&("object"==typeof n||"function"==typeof n)?(e||(e=new s),l(e,n,o)):c?(t||(t=new c),h(t,n,o)):(r||(r={key:{},next:null}),function(e,t,r){var n=m(e,t);n?n.value=r:e.next={key:t,next:e.next,value:r}}(r,n,o))}};return n}}}},{package:"string.prototype.matchall>side-channel",file:"node_modules/side-channel/index.js"}],[4345,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=[{payable:!0,stateMutability:"payable",type:"fallback"},{constant:!0,inputs:[{name:"user",type:"address"},{name:"token",type:"address"}],name:"tokenBalance",outputs:[{name:"",type:"uint256"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[{name:"users",type:"address[]"},{name:"tokens",type:"address[]"}],name:"balances",outputs:[{name:"",type:"uint256[]"}],payable:!1,stateMutability:"view",type:"function"}]}}},{package:"single-call-balance-checker-abi",file:"node_modules/single-call-balance-checker-abi/index.js"}],[4348,{events:3328,inherits:3641,"readable-stream/lib/_stream_duplex.js":4245,"readable-stream/lib/_stream_passthrough.js":4246,"readable-stream/lib/_stream_readable.js":4247,"readable-stream/lib/_stream_transform.js":4248,"readable-stream/lib/_stream_writable.js":4249,"readable-stream/lib/internal/streams/end-of-stream.js":4253,"readable-stream/lib/internal/streams/pipeline.js":4255},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=o;var n=e("events").EventEmitter;function o(){n.call(this)}e("inherits")(o,n),o.Readable=e("readable-stream/lib/_stream_readable.js"),o.Writable=e("readable-stream/lib/_stream_writable.js"),o.Duplex=e("readable-stream/lib/_stream_duplex.js"),o.Transform=e("readable-stream/lib/_stream_transform.js"),o.PassThrough=e("readable-stream/lib/_stream_passthrough.js"),o.finished=e("readable-stream/lib/internal/streams/end-of-stream.js"),o.pipeline=e("readable-stream/lib/internal/streams/pipeline.js"),o.Stream=o,o.prototype.pipe=function(e,t){var r=this;function o(t){e.writable&&!1===e.write(t)&&r.pause&&r.pause()}function i(){r.readable&&r.resume&&r.resume()}r.on("data",o),e.on("drain",i),e._isStdio||t&&!1===t.end||(r.on("end",s),r.on("close",c));var a=!1;function s(){a||(a=!0,e.end())}function c(){a||(a=!0,"function"==typeof e.destroy&&e.destroy())}function u(e){if(l(),0===n.listenerCount(this,"error"))throw e}function l(){r.removeListener("data",o),e.removeListener("drain",i),r.removeListener("end",s),r.removeListener("close",c),r.removeListener("error",u),e.removeListener("error",u),r.removeListener("end",l),r.removeListener("close",l),e.removeListener("close",l)}return r.on("error",u),e.on("error",u),r.on("end",l),r.on("close",l),e.on("close",l),e.emit("pipe",r),e}}}},{package:"stream-browserify",file:"node_modules/stream-browserify/index.js"}],[4349,{"./lib/request":4351,"./lib/response":4352,"builtin-status-codes":3036,url:4400,xtend:4478},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./lib/request"),o=e("./lib/response"),i=e("xtend"),a=e("builtin-status-codes"),s=e("url"),c=r;c.request=function(e,t){e="string"==typeof e?s.parse(e):i(e);var r=-1===global.location.protocol.search(/^https?:$/)?"http:":"",o=e.protocol||r,a=e.hostname||e.host,c=e.port,u=e.path||"/";a&&-1!==a.indexOf(":")&&(a="["+a+"]"),e.url=(a?o+"//"+a:"")+(c?":"+c:"")+u,e.method=(e.method||"GET").toUpperCase(),e.headers=e.headers||{};var l=new n(e);return t&&l.on("response",t),l},c.get=function(e,t){var r=c.request(e,t);return r.end(),r},c.ClientRequest=n,c.IncomingMessage=o.IncomingMessage,c.Agent=function(){},c.Agent.defaultMaxSockets=4,c.globalAgent=new c.Agent,c.STATUS_CODES=a,c.METHODS=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"]}}},{package:"browserify>stream-http",file:"node_modules/stream-http/index.js"}],[435,{buffer:3028,"ethereum-cryptography/secp256k1":3277},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.MAX_WITHDRAWALS_PER_PAYLOAD=r.RLP_EMPTY_STRING=r.KECCAK256_RLP=r.KECCAK256_RLP_S=r.KECCAK256_RLP_ARRAY=r.KECCAK256_RLP_ARRAY_S=r.KECCAK256_NULL=r.KECCAK256_NULL_S=r.TWO_POW256=r.SECP256K1_ORDER_DIV_2=r.SECP256K1_ORDER=r.MAX_INTEGER_BIGINT=r.MAX_INTEGER=r.MAX_UINT64=void 0;const n=e("buffer"),o=e("ethereum-cryptography/secp256k1");r.MAX_UINT64=BigInt("0xffffffffffffffff"),r.MAX_INTEGER=BigInt("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"),r.MAX_INTEGER_BIGINT=BigInt("115792089237316195423570985008687907853269984665640564039457584007913129639935"),r.SECP256K1_ORDER=o.secp256k1.CURVE.n,r.SECP256K1_ORDER_DIV_2=o.secp256k1.CURVE.n/BigInt(2),r.TWO_POW256=BigInt("0x10000000000000000000000000000000000000000000000000000000000000000"),r.KECCAK256_NULL_S="c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",r.KECCAK256_NULL=n.Buffer.from(r.KECCAK256_NULL_S,"hex"),r.KECCAK256_RLP_ARRAY_S="1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",r.KECCAK256_RLP_ARRAY=n.Buffer.from(r.KECCAK256_RLP_ARRAY_S,"hex"),r.KECCAK256_RLP_S="56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",r.KECCAK256_RLP=n.Buffer.from(r.KECCAK256_RLP_S,"hex"),r.RLP_EMPTY_STRING=n.Buffer.from([128]),r.MAX_WITHDRAWALS_PER_PAYLOAD=16}}},{package:"@ethereumjs/tx>@ethereumjs/util",file:"node_modules/@ethereumjs/util/dist/constants.js"}],[4350,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n;function o(){if(n!==undefined)return n;if(global.XMLHttpRequest){n=new global.XMLHttpRequest;try{n.open("GET",global.XDomainRequest?"/":"https://example.com")}catch(e){n=null}}else n=null;return n}function i(e){var t=o();if(!t)return!1;try{return t.responseType=e,t.responseType===e}catch(e){}return!1}function a(e){return"function"==typeof e}r.fetch=a(global.fetch)&&a(global.ReadableStream),r.writableStream=a(global.WritableStream),r.abortController=a(global.AbortController),r.arraybuffer=r.fetch||i("arraybuffer"),r.msstream=!r.fetch&&i("ms-stream"),r.mozchunkedarraybuffer=!r.fetch&&i("moz-chunked-arraybuffer"),r.overrideMimeType=r.fetch||!!o()&&a(o().overrideMimeType),n=null}}},{package:"browserify>stream-http",file:"node_modules/stream-http/lib/capability.js"}],[4351,{"./capability":4350,"./response":4352,_process:3992,buffer:3028,inherits:3641,"readable-stream":4258},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(r,n){(function(){var o=e("./capability"),i=e("inherits"),a=e("./response"),s=e("readable-stream"),c=a.IncomingMessage,u=a.readyStates;var l=t.exports=function(e){var t,r=this;s.Writable.call(r),r._opts=e,r._body=[],r._headers={},e.auth&&r.setHeader("Authorization","Basic "+n.from(e.auth).toString("base64")),Object.keys(e.headers).forEach((function(t){r.setHeader(t,e.headers[t])}));var i=!0;if("disable-fetch"===e.mode||"requestTimeout"in e&&!o.abortController)i=!1,t=!0;else if("prefer-streaming"===e.mode)t=!1;else if("allow-wrong-content-type"===e.mode)t=!o.overrideMimeType;else{if(e.mode&&"default"!==e.mode&&"prefer-fast"!==e.mode)throw new Error("Invalid value for opts.mode");t=!0}r._mode=function(e,t){return o.fetch&&t?"fetch":o.mozchunkedarraybuffer?"moz-chunked-arraybuffer":o.msstream?"ms-stream":o.arraybuffer&&e?"arraybuffer":"text"}(t,i),r._fetchTimer=null,r.on("finish",(function(){r._onFinish()}))};i(l,s.Writable),l.prototype.setHeader=function(e,t){var r=e.toLowerCase();-1===f.indexOf(r)&&(this._headers[r]={name:e,value:t})},l.prototype.getHeader=function(e){var t=this._headers[e.toLowerCase()];return t?t.value:null},l.prototype.removeHeader=function(e){delete this._headers[e.toLowerCase()]},l.prototype._onFinish=function(){var e=this;if(!e._destroyed){var t=e._opts,n=e._headers,i=null;"GET"!==t.method&&"HEAD"!==t.method&&(i=new Blob(e._body,{type:(n["content-type"]||{}).value||""}));var a=[];if(Object.keys(n).forEach((function(e){var t=n[e].name,r=n[e].value;Array.isArray(r)?r.forEach((function(e){a.push([t,e])})):a.push([t,r])})),"fetch"===e._mode){var s=null;if(o.abortController){var c=new AbortController;s=c.signal,e._fetchAbortController=c,"requestTimeout"in t&&0!==t.requestTimeout&&(e._fetchTimer=global.setTimeout((function(){e.emit("requestTimeout"),e._fetchAbortController&&e._fetchAbortController.abort()}),t.requestTimeout))}global.fetch(e._opts.url,{method:e._opts.method,headers:a,body:i||undefined,mode:"cors",credentials:t.withCredentials?"include":"same-origin",signal:s}).then((function(t){e._fetchResponse=t,e._connect()}),(function(t){global.clearTimeout(e._fetchTimer),e._destroyed||e.emit("error",t)}))}else{var l=e._xhr=new global.XMLHttpRequest;try{l.open(e._opts.method,e._opts.url,!0)}catch(t){return void r.nextTick((function(){e.emit("error",t)}))}"responseType"in l&&(l.responseType=e._mode),"withCredentials"in l&&(l.withCredentials=!!t.withCredentials),"text"===e._mode&&"overrideMimeType"in l&&l.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in t&&(l.timeout=t.requestTimeout,l.ontimeout=function(){e.emit("requestTimeout")}),a.forEach((function(e){l.setRequestHeader(e[0],e[1])})),e._response=null,l.onreadystatechange=function(){switch(l.readyState){case u.LOADING:case u.DONE:e._onXHRProgress()}},"moz-chunked-arraybuffer"===e._mode&&(l.onprogress=function(){e._onXHRProgress()}),l.onerror=function(){e._destroyed||e.emit("error",new Error("XHR error"))};try{l.send(i)}catch(t){return void r.nextTick((function(){e.emit("error",t)}))}}}},l.prototype._onXHRProgress=function(){var e=this;(function(e){try{var t=e.status;return null!==t&&0!==t}catch(e){return!1}})(e._xhr)&&!e._destroyed&&(e._response||e._connect(),e._response._onXHRProgress())},l.prototype._connect=function(){var e=this;e._destroyed||(e._response=new c(e._xhr,e._fetchResponse,e._mode,e._fetchTimer),e._response.on("error",(function(t){e.emit("error",t)})),e.emit("response",e._response))},l.prototype._write=function(e,t,r){this._body.push(e),r()},l.prototype.abort=l.prototype.destroy=function(){var e=this;e._destroyed=!0,global.clearTimeout(e._fetchTimer),e._response&&(e._response._destroyed=!0),e._xhr?e._xhr.abort():e._fetchAbortController&&e._fetchAbortController.abort()},l.prototype.end=function(e,t,r){"function"==typeof e&&(r=e,e=undefined),s.Writable.prototype.end.call(this,e,t,r)},l.prototype.flushHeaders=function(){},l.prototype.setTimeout=function(){},l.prototype.setNoDelay=function(){},l.prototype.setSocketKeepAlive=function(){};var f=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","via"]}).call(this)}).call(this,e("_process"),e("buffer").Buffer)}}},{package:"browserify>stream-http",file:"node_modules/stream-http/lib/request.js"}],[4352,{"./capability":4350,_process:3992,buffer:3028,inherits:3641,"readable-stream":4258},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(t,n){(function(){var o=e("./capability"),i=e("inherits"),a=e("readable-stream"),s=r.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},c=r.IncomingMessage=function(e,r,i,s){var c=this;if(a.Readable.call(c),c._mode=i,c.headers={},c.rawHeaders=[],c.trailers={},c.rawTrailers=[],c.on("end",(function(){t.nextTick((function(){c.emit("close")}))})),"fetch"===i){if(c._fetchResponse=r,c.url=r.url,c.statusCode=r.status,c.statusMessage=r.statusText,r.headers.forEach((function(e,t){c.headers[t.toLowerCase()]=e,c.rawHeaders.push(t,e)})),o.writableStream){var u=new WritableStream({write:function(e){return new Promise((function(t,r){c._destroyed?r():c.push(n.from(e))?t():c._resumeFetch=t}))},close:function(){global.clearTimeout(s),c._destroyed||c.push(null)},abort:function(e){c._destroyed||c.emit("error",e)}});try{return void r.body.pipeTo(u).catch((function(e){global.clearTimeout(s),c._destroyed||c.emit("error",e)}))}catch(p){}}var l=r.body.getReader();function h(){l.read().then((function(e){if(!c._destroyed){if(e.done)return global.clearTimeout(s),void c.push(null);c.push(n.from(e.value)),h()}})).catch((function(e){global.clearTimeout(s),c._destroyed||c.emit("error",e)}))}h()}else{if(c._xhr=e,c._pos=0,c.url=e.responseURL,c.statusCode=e.status,c.statusMessage=e.statusText,e.getAllResponseHeaders().split(/\r?\n/).forEach((function(e){var t=e.match(/^([^:]+):\s*(.*)/);if(t){var r=t[1].toLowerCase();"set-cookie"===r?(c.headers[r]===undefined&&(c.headers[r]=[]),c.headers[r].push(t[2])):c.headers[r]!==undefined?c.headers[r]+=", "+t[2]:c.headers[r]=t[2],c.rawHeaders.push(t[1],t[2])}})),c._charset="x-user-defined",!o.overrideMimeType){var f=c.rawHeaders["mime-type"];if(f){var d=f.match(/;\s*charset=([^;])(;|$)/);d&&(c._charset=d[1].toLowerCase())}c._charset||(c._charset="utf-8")}}};i(c,a.Readable),c.prototype._read=function(){var e=this._resumeFetch;e&&(this._resumeFetch=null,e())},c.prototype._onXHRProgress=function(){var e=this,t=e._xhr,r=null;switch(e._mode){case"text":if((r=t.responseText).length>e._pos){var o=r.substr(e._pos);if("x-user-defined"===e._charset){for(var i=n.alloc(o.length),a=0;ae._pos&&(e.push(n.from(new Uint8Array(c.result.slice(e._pos)))),e._pos=c.result.byteLength)},c.onload=function(){e.push(null)},c.readAsArrayBuffer(r)}e._xhr.readyState===s.DONE&&"ms-stream"!==e._mode&&e.push(null)}}).call(this)}).call(this,e("_process"),e("buffer").Buffer)}}},{package:"browserify>stream-http",file:"node_modules/stream-http/lib/response.js"}],[4354,{"safe-buffer":4276},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("safe-buffer").Buffer,o=n.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function i(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(n.isEncoding===o||!o(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=c,this.end=u,t=4;break;case"utf8":this.fillLast=s,t=4;break;case"base64":this.text=l,this.end=f,t=3;break;default:return this.write=d,void(this.end=h)}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(t)}function a(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function s(e){var t=this.lastTotal-this.lastNeed,r=function(e,t,r){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return r!==undefined?r:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function c(e,t){if((e.length-t)%2==0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function u(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function l(e,t){var r=(e.length-t)%3;return 0===r?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function f(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function d(e){return e.toString(this.encoding)}function h(e){return e&&e.length?this.write(e):""}r.StringDecoder=i,i.prototype.write=function(e){if(0===e.length)return"";var t,r;if(this.lastNeed){if((t=this.fillLast(e))===undefined)return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r=0)return o>0&&(e.lastNeed=o-1),o;if(--n=0)return o>0&&(e.lastNeed=o-2),o;if(--n=0)return o>0&&(2===o?o=0:e.lastNeed=o-3),o;return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var n=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)},i.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}}}},{package:"browserify>string_decoder",file:"node_modules/string_decoder/lib/string_decoder.js"}],[4355,{"is-hex-prefixed":3653},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("is-hex-prefixed");t.exports=function(e){return"string"!=typeof e?e:n(e)?e.slice(2):e}}}},{package:"@metamask/ethjs>@metamask/ethjs-util>strip-hex-prefix",file:"node_modules/strip-hex-prefix/src/index.js"}],[4356,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=/^[-+]?0x[a-fA-F0-9]+$/,o=/^([\-\+])?(0*)(\.[0-9]+([eE]\-?[0-9]+)?|[0-9]+(\.[0-9]+([eE]\-?[0-9]+)?)?)$/;!Number.parseInt&&window.parseInt&&(Number.parseInt=window.parseInt),!Number.parseFloat&&window.parseFloat&&(Number.parseFloat=window.parseFloat);const i={hex:!0,leadingZeros:!0,decimalPoint:".",eNotation:!0};t.exports=function(e,t={}){if(t=Object.assign({},i,t),!e||"string"!=typeof e)return e;let r=e.trim();if(t.skipLike!==undefined&&t.skipLike.test(r))return e;if(t.hex&&n.test(r))return Number.parseInt(r,16);{const n=o.exec(r);if(n){const o=n[1],i=n[2];let a=function(e){if(e&&-1!==e.indexOf("."))return"."===(e=e.replace(/0+$/,""))?e="0":"."===e[0]?e="0"+e:"."===e[e.length-1]&&(e=e.substr(0,e.length-1)),e;return e}(n[3]);const s=n[4]||n[6];if(!t.leadingZeros&&i.length>0&&o&&"."!==r[2])return e;if(!t.leadingZeros&&i.length>0&&!o&&"."!==r[1])return e;{const n=Number(r),c=""+n;return-1!==c.search(/[eE]/)||s?t.eNotation?n:e:-1!==r.indexOf(".")?"0"===c&&""===a||c===a||o&&c==="-"+a?n:e:i?a===c||o+a===c?n:e:r===c||r===o+c?n:e}}return e}}}}},{package:"@metamask/snaps-utils>fast-xml-parser>strnum",file:"node_modules/strnum/strnum.js"}],[4358,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){!function(e,n){"object"==typeof r&&void 0!==t?n(r):"function"==typeof define&&define.amd?define(["exports"],n):n((e="undefined"!=typeof globalThis?globalThis:e||self).Superstruct={})}(this,(function(e){class t extends TypeError{constructor(e,t){let r;const{message:n,explanation:o,...i}=e,{path:a}=e,s=0===a.length?n:`At path: ${a.join(".")} -- ${n}`;super(o??s),null!=o&&(this.cause=s),Object.assign(this,i),this.name=this.constructor.name,this.failures=()=>r??(r=[e,...t()])}}function r(e){return"object"==typeof e&&null!=e}function n(e){if("[object Object]"!==Object.prototype.toString.call(e))return!1;const t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function o(e){return"symbol"==typeof e?e.toString():"string"==typeof e?JSON.stringify(e):`${e}`}function i(e,t,r,n){if(!0===e)return;!1===e?e={}:"string"==typeof e&&(e={message:e});const{path:i,branch:a}=t,{type:s}=r,{refinement:c,message:u=`Expected a value of type \`${s}\`${c?` with refinement \`${c}\``:""}, but received: \`${o(n)}\``}=e;return{value:n,type:s,refinement:c,key:i[i.length-1],path:i,branch:a,...e,message:u}}function*a(e,t,n,o){var a;r(a=e)&&"function"==typeof a[Symbol.iterator]||(e=[e]);for(const r of e){const e=i(r,t,n,o);e&&(yield e)}}function*s(e,t,n={}){const{path:o=[],branch:i=[e],coerce:a=!1,mask:c=!1}=n,u={path:o,branch:i};if(a&&(e=t.coercer(e,u),c&&"type"!==t.type&&r(t.schema)&&r(e)&&!Array.isArray(e)))for(const r in e)t.schema[r]===undefined&&delete e[r];let l="valid";for(const r of t.validator(e,u))r.explanation=n.message,l="not_valid",yield[r,undefined];for(let[f,d,h]of t.entries(e,u)){const t=s(d,h,{path:f===undefined?o:[...o,f],branch:f===undefined?i:[...i,d],coerce:a,mask:c,message:n.message});for(const n of t)n[0]?(l=null!=n[0].refinement?"not_refined":"not_valid",yield[n[0],undefined]):a&&(d=n[1],f===undefined?e=d:e instanceof Map?e.set(f,d):e instanceof Set?e.add(d):r(e)&&(d!==undefined||f in e)&&(e[f]=d))}if("not_valid"!==l)for(const r of t.refiner(e,u))r.explanation=n.message,l="not_refined",yield[r,undefined];"valid"===l&&(yield[undefined,e])}class c{constructor(e){const{type:t,schema:r,validator:n,refiner:o,coercer:i=(e=>e),entries:s=function*(){}}=e;this.type=t,this.schema=r,this.entries=s,this.coercer=i,this.validator=n?(e,t)=>a(n(e,t),t,this,e):()=>[],this.refiner=o?(e,t)=>a(o(e,t),t,this,e):()=>[]}assert(e,t){return u(e,this,t)}create(e,t){return l(e,this,t)}is(e){return d(e,this)}mask(e,t){return f(e,this,t)}validate(e,t={}){return h(e,this,t)}}function u(e,t,r){const n=h(e,t,{message:r});if(n[0])throw n[0]}function l(e,t,r){const n=h(e,t,{coerce:!0,message:r});if(n[0])throw n[0];return n[1]}function f(e,t,r){const n=h(e,t,{coerce:!0,mask:!0,message:r});if(n[0])throw n[0];return n[1]}function d(e,t){return!h(e,t)[0]}function h(e,r,n={}){const o=s(e,r,n),i=function(e){const{done:t,value:r}=e.next();return t?undefined:r}(o);if(i[0]){return[new t(i[0],(function*(){for(const e of o)e[0]&&(yield e[0])})),undefined]}{const e=i[1];return[undefined,e]}}function p(e,t){return new c({type:e,schema:null,validator:t})}function m(){return p("never",(()=>!1))}function g(e){const t=e?Object.keys(e):[],n=m();return new c({type:"object",schema:e||null,*entries(o){if(e&&r(o)){const r=new Set(Object.keys(o));for(const n of t)r.delete(n),yield[n,o[n],e[n]];for(const e of r)yield[e,o[e],n]}},validator:e=>r(e)||`Expected an object, but received: ${o(e)}`,coercer:e=>r(e)?{...e}:e})}function A(e){return new c({...e,validator:(t,r)=>t===undefined||e.validator(t,r),refiner:(t,r)=>t===undefined||e.refiner(t,r)})}function y(){return p("string",(e=>"string"==typeof e||`Expected a string, but received: ${o(e)}`))}function _(e){const t=Object.keys(e);return new c({type:"type",schema:e,*entries(n){if(r(n))for(const r of t)yield[r,n[r],e[r]]},validator:e=>r(e)||`Expected an object, but received: ${o(e)}`,coercer:e=>r(e)?{...e}:e})}function b(){return p("unknown",(()=>!0))}function v(e,t,r){return new c({...e,coercer:(n,o)=>d(n,t)?e.coercer(r(n,o),o):e.coercer(n,o)})}function E(e){return e instanceof Map||e instanceof Set?e.size:e.length}function T(e,t,r){return new c({...e,*refiner(n,o){yield*e.refiner(n,o);const i=a(r(n,o),o,e,n);for(const e of i)yield{...e,refinement:t}}})}e.Struct=c,e.StructError=t,e.any=function(){return p("any",(()=>!0))},e.array=function(e){return new c({type:"array",schema:e,*entries(t){if(e&&Array.isArray(t))for(const[r,n]of t.entries())yield[r,n,e]},coercer:e=>Array.isArray(e)?e.slice():e,validator:e=>Array.isArray(e)||`Expected an array value, but received: ${o(e)}`})},e.assert=u,e.assign=function(...e){const t="type"===e[0].type,r=e.map((e=>e.schema)),n=Object.assign({},...r);return t?_(n):g(n)},e.bigint=function(){return p("bigint",(e=>"bigint"==typeof e))},e.boolean=function(){return p("boolean",(e=>"boolean"==typeof e))},e.coerce=v,e.create=l,e.date=function(){return p("date",(e=>e instanceof Date&&!isNaN(e.getTime())||`Expected a valid \`Date\` object, but received: ${o(e)}`))},e.defaulted=function(e,t,r={}){return v(e,b(),(e=>{const o="function"==typeof t?t():t;if(e===undefined)return o;if(!r.strict&&n(e)&&n(o)){const t={...e};let r=!1;for(const e in o)t[e]===undefined&&(t[e]=o[e],r=!0);if(r)return t}return e}))},e.define=p,e.deprecated=function(e,t){return new c({...e,refiner:(t,r)=>t===undefined||e.refiner(t,r),validator:(r,n)=>r===undefined||(t(r,n),e.validator(r,n))})},e.dynamic=function(e){return new c({type:"dynamic",schema:null,*entries(t,r){const n=e(t,r);yield*n.entries(t,r)},validator:(t,r)=>e(t,r).validator(t,r),coercer:(t,r)=>e(t,r).coercer(t,r),refiner:(t,r)=>e(t,r).refiner(t,r)})},e.empty=function(e){return T(e,"empty",(t=>{const r=E(t);return 0===r||`Expected an empty ${e.type} but received one with a size of \`${r}\``}))},e.enums=function(e){const t={},r=e.map((e=>o(e))).join();for(const r of e)t[r]=r;return new c({type:"enums",schema:t,validator:t=>e.includes(t)||`Expected one of \`${r}\`, but received: ${o(t)}`})},e.func=function(){return p("func",(e=>"function"==typeof e||`Expected a function, but received: ${o(e)}`))},e.instance=function(e){return p("instance",(t=>t instanceof e||`Expected a \`${e.name}\` instance, but received: ${o(t)}`))},e.integer=function(){return p("integer",(e=>"number"==typeof e&&!isNaN(e)&&Number.isInteger(e)||`Expected an integer, but received: ${o(e)}`))},e.intersection=function(e){return new c({type:"intersection",schema:null,*entries(t,r){for(const n of e)yield*n.entries(t,r)},*validator(t,r){for(const n of e)yield*n.validator(t,r)},*refiner(t,r){for(const n of e)yield*n.refiner(t,r)}})},e.is=d,e.lazy=function(e){let t;return new c({type:"lazy",schema:null,*entries(r,n){t??(t=e()),yield*t.entries(r,n)},validator:(r,n)=>(t??(t=e()),t.validator(r,n)),coercer:(r,n)=>(t??(t=e()),t.coercer(r,n)),refiner:(r,n)=>(t??(t=e()),t.refiner(r,n))})},e.literal=function(e){const t=o(e),r=typeof e;return new c({type:"literal",schema:"string"===r||"number"===r||"boolean"===r?e:null,validator:r=>r===e||`Expected the literal \`${t}\`, but received: ${o(r)}`})},e.map=function(e,t){return new c({type:"map",schema:null,*entries(r){if(e&&t&&r instanceof Map)for(const[n,o]of r.entries())yield[n,n,e],yield[n,o,t]},coercer:e=>e instanceof Map?new Map(e):e,validator:e=>e instanceof Map||`Expected a \`Map\` object, but received: ${o(e)}`})},e.mask=f,e.max=function(e,t,r={}){const{exclusive:n}=r;return T(e,"max",(r=>n?rn?r>t:r>=t||`Expected a ${e.type} greater than ${n?"":"or equal to "}${t} but received \`${r}\``))},e.never=m,e.nonempty=function(e){return T(e,"nonempty",(t=>E(t)>0||`Expected a nonempty ${e.type} but received an empty one`))},e.nullable=function(e){return new c({...e,validator:(t,r)=>null===t||e.validator(t,r),refiner:(t,r)=>null===t||e.refiner(t,r)})},e.number=function(){return p("number",(e=>"number"==typeof e&&!isNaN(e)||`Expected a number, but received: ${o(e)}`))},e.object=g,e.omit=function(e,t){const{schema:r}=e,n={...r};for(const e of t)delete n[e];return"type"===e.type?_(n):g(n)},e.optional=A,e.partial=function(e){const t=e instanceof c?{...e.schema}:{...e};for(const e in t)t[e]=A(t[e]);return g(t)},e.pattern=function(e,t){return T(e,"pattern",(r=>t.test(r)||`Expected a ${e.type} matching \`/${t.source}/\` but received "${r}"`))},e.pick=function(e,t){const{schema:r}=e,n={};for(const e of t)n[e]=r[e];return g(n)},e.record=function(e,t){return new c({type:"record",schema:null,*entries(n){if(r(n))for(const r in n){const o=n[r];yield[r,r,e],yield[r,o,t]}},validator:e=>r(e)||`Expected an object, but received: ${o(e)}`})},e.refine=T,e.regexp=function(){return p("regexp",(e=>e instanceof RegExp))},e.set=function(e){return new c({type:"set",schema:null,*entries(t){if(e&&t instanceof Set)for(const r of t)yield[r,r,e]},coercer:e=>e instanceof Set?new Set(e):e,validator:e=>e instanceof Set||`Expected a \`Set\` object, but received: ${o(e)}`})},e.size=function(e,t,r=t){const n=`Expected a ${e.type}`,o=t===r?`of \`${t}\``:`between \`${t}\` and \`${r}\``;return T(e,"size",(e=>{if("number"==typeof e||e instanceof Date)return t<=e&&e<=r||`${n} ${o} but received \`${e}\``;if(e instanceof Map||e instanceof Set){const{size:i}=e;return t<=i&&i<=r||`${n} with a size ${o} but received one with a size of \`${i}\``}{const{length:i}=e;return t<=i&&i<=r||`${n} with a length ${o} but received one with a length of \`${i}\``}}))},e.string=y,e.struct=function(e,t){return console.warn("superstruct@0.11 - The `struct` helper has been renamed to `define`."),p(e,t)},e.trimmed=function(e){return v(e,y(),(e=>e.trim()))},e.tuple=function(e){const t=m();return new c({type:"tuple",schema:null,*entries(r){if(Array.isArray(r)){const n=Math.max(e.length,r.length);for(let o=0;oArray.isArray(e)||`Expected an array, but received: ${o(e)}`})},e.type=_,e.union=function(e){const t=e.map((e=>e.type)).join(" | ");return new c({type:"union",schema:null,coercer(t){for(const r of e){const[e,n]=r.validate(t,{coerce:!0});if(!e)return n}return t},validator(r,n){const i=[];for(const t of e){const[...e]=s(r,t,n),[o]=e;if(!o[0])return[];for(const[t]of e)t&&i.push(t)}return[`Expected the value to satisfy a union of \`${t}\`, but received: ${o(r)}`,...i]}})},e.unknown=b,e.validate=h}))}}},{package:"superstruct",file:"node_modules/superstruct/dist/index.cjs"}],[436,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.compactBytesToNibbles=r.bytesToNibbles=r.nibblesToCompactBytes=r.nibblesToBytes=r.hasTerminator=void 0;r.hasTerminator=e=>e.length>0&&16===e[e.length-1];r.nibblesToBytes=(e,t)=>{for(let r=0,n=0;n{let t=0;(0,r.hasTerminator)(e)&&(t=1,e=e.subarray(0,e.length-1));const n=new Uint8Array(e.length/2+1);return n[0]=t<<5,1&~e.length||(n[0]|=16,n[0]|=e[0],e=e.subarray(1)),(0,r.nibblesToBytes)(e,n.subarray(1)),n};r.bytesToNibbles=e=>{const t=2*e.length+1,r=new Uint8Array(t);for(let t=0;t{if(0===e.length)return e;let t=(0,r.bytesToNibbles)(e);t[0]<2&&(t=t.subarray(0,t.length-1));const n=2-(1&t[0]);return t.subarray(n)}}}},{package:"@ethereumjs/tx>@ethereumjs/util",file:"node_modules/@ethereumjs/util/dist/encoding.js"}],[4365,{"process/browser.js":3992,timers:4365},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(t,n){(function(){var o=e("process/browser.js").nextTick,i=Function.prototype.apply,a=Array.prototype.slice,s={},c=0;function u(e,t){this._id=e,this._clearFn=t}r.setTimeout=function(){return new u(i.call(setTimeout,window,arguments),clearTimeout)},r.setInterval=function(){return new u(i.call(setInterval,window,arguments),clearInterval)},r.clearTimeout=r.clearInterval=function(e){e.close()},u.prototype.unref=u.prototype.ref=function(){},u.prototype.close=function(){this._clearFn.call(window,this._id)},r.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},r.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},r._unrefActive=r.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},r.setImmediate="function"==typeof t?t:function(e){var t=c++,n=!(arguments.length<2)&&a.call(arguments,1);return s[t]=!0,o((function(){s[t]&&(n?e.apply(null,n):e.call(null),r.clearImmediate(t))})),t},r.clearImmediate="function"==typeof n?n:function(e){delete s[e]}}).call(this)}).call(this,e("timers").setImmediate,e("timers").clearImmediate)}}},{package:"browserify>timers-browserify",file:"node_modules/timers-browserify/main.js"}],[437,{"../../../is-buffer/index.js":3648,"./internal":439},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(t){(function(){Object.defineProperty(r,"__esModule",{value:!0}),r.assertIsString=r.assertIsArray=r.assertIsBuffer=r.assertIsHexString=void 0;const n=e("./internal");r.assertIsHexString=function(e){if(!(0,n.isHexString)(e)){throw new Error(`This method only supports 0x-prefixed hex strings but input was: ${e}`)}};r.assertIsBuffer=function(e){if(!t.isBuffer(e)){throw new Error(`This method only supports Buffer but input was: ${e}`)}};r.assertIsArray=function(e){if(!Array.isArray(e)){throw new Error(`This method only supports number arrays but input was: ${e}`)}};r.assertIsString=function(e){if("string"!=typeof e){throw new Error(`This method only supports strings but input was: ${e}`)}}}).call(this)}).call(this,{isBuffer:e("../../../is-buffer/index.js")})}}},{package:"@ethereumjs/tx>@ethereumjs/util",file:"node_modules/@ethereumjs/util/dist/helpers.js"}],[4371,{"./mixin-tracking":4373,"./util":4377},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.decorate=r.getDecoratorsForClass=r.directDecoratorSearch=r.deepDecoratorSearch=void 0;const n=e("./util"),o=e("./mixin-tracking"),i=(e,t)=>{var r,o;const i=(0,n.unique)([...Object.getOwnPropertyNames(e),...Object.getOwnPropertyNames(t)]),a={};for(let s of i)a[s]=(0,n.unique)([...null!==(r=null==e?void 0:e[s])&&void 0!==r?r:[],...null!==(o=null==t?void 0:t[s])&&void 0!==o?o:[]]);return a},a=(e,t)=>{var r,n,o,a;return{property:i(null!==(r=null==e?void 0:e.property)&&void 0!==r?r:{},null!==(n=null==t?void 0:t.property)&&void 0!==n?n:{}),method:i(null!==(o=null==e?void 0:e.method)&&void 0!==o?o:{},null!==(a=null==t?void 0:t.method)&&void 0!==a?a:{})}},s=(e,t)=>{var r,o,i,s,c,u;return{class:(0,n.unique)([...null!==(r=null==e?void 0:e.class)&&void 0!==r?r:[],...null!==(o=null==t?void 0:t.class)&&void 0!==o?o:[]]),static:a(null!==(i=null==e?void 0:e.static)&&void 0!==i?i:{},null!==(s=null==t?void 0:t.static)&&void 0!==s?s:{}),instance:a(null!==(c=null==e?void 0:e.instance)&&void 0!==c?c:{},null!==(u=null==t?void 0:t.instance)&&void 0!==u?u:{})}},c=new Map;r.deepDecoratorSearch=(...e)=>{const t=((...e)=>{var t;const r=new Set,i=new Set([...e]);for(;i.size>0;)for(let e of i){const a=[...(0,n.protoChain)(e.prototype).map((e=>e.constructor)),...null!==(t=(0,o.getMixinsForClass)(e))&&void 0!==t?t:[]].filter((e=>!r.has(e)));for(let e of a)i.add(e);r.add(e),i.delete(e)}return[...r]})(...e).map((e=>c.get(e))).filter((e=>!!e));return 0==t.length?{}:1==t.length?t[0]:t.reduce(((e,t)=>s(e,t)))};r.directDecoratorSearch=(...e)=>{const t=e.map((e=>(0,r.getDecoratorsForClass)(e)));return 0===t.length?{}:1===t.length?t[0]:t.reduce(((e,t)=>s(e,t)))};r.getDecoratorsForClass=e=>{let t=c.get(e);return t||(t={},c.set(e,t)),t};r.decorate=e=>(...t)=>1===t.length?(e=>t=>{const n=(0,r.getDecoratorsForClass)(t);let o=n.class;return o||(o=[],n.class=o),o.push(e),e(t)})(e)(t[0]):(e=>(t,n,...o)=>{var i,a,s;const c="function"==typeof t?"static":"instance",u="function"==typeof t[n]?"method":"property",l="static"===c?t:t.constructor,f=(0,r.getDecoratorsForClass)(l),d=null!==(i=null==f?void 0:f[c])&&void 0!==i?i:{};f[c]=d;let h=null!==(a=null==d?void 0:d[u])&&void 0!==a?a:{};d[u]=h;let p=null!==(s=null==h?void 0:h[n])&&void 0!==s?s:[];return h[n]=p,p.push(e),e(t,n,...o)})(e)(...t)}}},{package:"ts-mixer",file:"node_modules/ts-mixer/dist/cjs/decorator.js"}],[4372,{"./decorator":4371,"./mixin-tracking":4373,"./mixins":4374,"./settings":4376},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.hasMixin=r.decorate=r.settings=r.mix=r.Mixin=void 0;var n=e("./mixins");Object.defineProperty(r,"Mixin",{enumerable:!0,get:function(){return n.Mixin}}),Object.defineProperty(r,"mix",{enumerable:!0,get:function(){return n.mix}});var o=e("./settings");Object.defineProperty(r,"settings",{enumerable:!0,get:function(){return o.settings}});var i=e("./decorator");Object.defineProperty(r,"decorate",{enumerable:!0,get:function(){return i.decorate}});var a=e("./mixin-tracking");Object.defineProperty(r,"hasMixin",{enumerable:!0,get:function(){return a.hasMixin}})}}},{package:"ts-mixer",file:"node_modules/ts-mixer/dist/cjs/index.js"}],[4373,{"./util":4377},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.hasMixin=r.registerMixins=r.getMixinsForClass=void 0;const n=e("./util"),o=new WeakMap;r.getMixinsForClass=e=>o.get(e);r.registerMixins=(e,t)=>o.set(e,t);r.hasMixin=(e,t)=>{if(e instanceof t)return!0;const r=e.constructor,i=new Set;let a=new Set;for(a.add(r);a.size>0;){if(a.has(t))return!0;a.forEach((e=>i.add(e)));const e=new Set;a.forEach((t=>{var r;const s=null!==(r=o.get(t))&&void 0!==r?r:(0,n.protoChain)(t.prototype).map((e=>e.constructor)).filter((e=>null!==e));s&&s.forEach((t=>{i.has(t)||a.has(t)||e.add(t)}))})),a=e}return!1}}}},{package:"ts-mixer",file:"node_modules/ts-mixer/dist/cjs/mixin-tracking.js"}],[4374,{"./decorator":4371,"./mixin-tracking":4373,"./proxy":4375,"./settings":4376,"./util":4377},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.mix=r.Mixin=void 0;const n=e("./proxy"),o=e("./settings"),i=e("./util"),a=e("./decorator"),s=e("./mixin-tracking");function c(...e){var t,r,c;const l=e.map((e=>e.prototype)),f=o.settings.initFunction;if(null!==f){const e=l.map((e=>e[f])).filter((e=>"function"==typeof e)),t={[f]:function(...t){for(let r of e)r.apply(this,t)}};l.push(t)}function d(...t){for(const r of e)(0,i.copyProps)(this,new r(...t));null!==f&&"function"==typeof this[f]&&this[f].apply(this,t)}d.prototype="copy"===o.settings.prototypeStrategy?(0,i.hardMixProtos)(l,d):(0,n.softMixProtos)(l,d),Object.setPrototypeOf(d,"copy"===o.settings.staticsStrategy?(0,i.hardMixProtos)(e,null,["prototype"]):(0,n.proxyMix)(e,Function.prototype));let h=d;if("none"!==o.settings.decoratorInheritance){const n="deep"===o.settings.decoratorInheritance?(0,a.deepDecoratorSearch)(...e):(0,a.directDecoratorSearch)(...e);for(let e of null!==(t=null==n?void 0:n.class)&&void 0!==t?t:[]){const t=e(h);t&&(h=t)}u(null!==(r=null==n?void 0:n.static)&&void 0!==r?r:{},h),u(null!==(c=null==n?void 0:n.instance)&&void 0!==c?c:{},h.prototype)}return(0,s.registerMixins)(h,e),h}r.Mixin=c;const u=(e,t)=>{const r=e.property,n=e.method;if(r)for(let e in r)for(let n of r[e])n(t,e);if(n)for(let e in n)for(let r of n[e])r(t,e,Object.getOwnPropertyDescriptor(t,e))};r.mix=(...e)=>t=>{const r=c(...e.concat([t]));return Object.defineProperty(r,"name",{value:t.name,writable:!1}),r}}}},{package:"ts-mixer",file:"node_modules/ts-mixer/dist/cjs/mixins.js"}],[4375,{"./util":4377},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.softMixProtos=r.proxyMix=r.getIngredientWithProp=void 0;const n=e("./util");r.getIngredientWithProp=(e,t)=>{const r=t.map((e=>(0,n.protoChain)(e)));let o=0,i=!0;for(;i;){i=!1;for(let n=t.length-1;n>=0;n--){const t=r[n][o];if(t!==undefined&&null!==t&&(i=!0,Object.getOwnPropertyDescriptor(t,e)!=undefined))return r[n][0]}o++}return undefined};r.proxyMix=(e,t=Object.prototype)=>new Proxy({},{getPrototypeOf:()=>t,setPrototypeOf(){throw Error("Cannot set prototype of Proxies created by ts-mixer")},getOwnPropertyDescriptor:(t,n)=>Object.getOwnPropertyDescriptor((0,r.getIngredientWithProp)(n,e)||{},n),defineProperty(){throw new Error("Cannot define new properties on Proxies created by ts-mixer")},has:(n,o)=>(0,r.getIngredientWithProp)(o,e)!==undefined||t[o]!==undefined,get:(n,o)=>((0,r.getIngredientWithProp)(o,e)||t)[o],set(t,n,o){const i=(0,r.getIngredientWithProp)(n,e);if(i===undefined)throw new Error("Cannot set new properties on Proxies created by ts-mixer");return i[n]=o,!0},deleteProperty(){throw new Error("Cannot delete properties on Proxies created by ts-mixer")},ownKeys:()=>e.map(Object.getOwnPropertyNames).reduce(((e,t)=>t.concat(e.filter((e=>t.indexOf(e)<0)))))});r.softMixProtos=(e,t)=>(0,r.proxyMix)([...e,{constructor:t}])}}},{package:"ts-mixer",file:"node_modules/ts-mixer/dist/cjs/proxy.js"}],[4376,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.settings=void 0,r.settings={initFunction:null,staticsStrategy:"copy",prototypeStrategy:"copy",decoratorInheritance:"deep"}}}},{package:"ts-mixer",file:"node_modules/ts-mixer/dist/cjs/settings.js"}],[4377,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.flatten=r.unique=r.hardMixProtos=r.nearestCommonProto=r.protoChain=r.copyProps=void 0;r.copyProps=(e,t,r=[])=>{const n=Object.getOwnPropertyDescriptors(t);for(let e of r)delete n[e];Object.defineProperties(e,n)};r.protoChain=(e,t=[e])=>{const n=Object.getPrototypeOf(e);return null===n?t:(0,r.protoChain)(n,[...t,n])};r.nearestCommonProto=(...e)=>{if(0===e.length)return undefined;let t=undefined;const n=e.map((e=>(0,r.protoChain)(e)));for(;n.every((e=>e.length>0));){const e=n.map((e=>e.pop())),r=e[0];if(!e.every((e=>e===r)))break;t=r}return t};r.hardMixProtos=(e,t,n=[])=>{var o;const i=null!==(o=(0,r.nearestCommonProto)(...e))&&void 0!==o?o:Object.prototype,a=Object.create(i),s=(0,r.protoChain)(i);for(let t of e){let e=(0,r.protoChain)(t);for(let t=e.length-1;t>=0;t--){let o=e[t];-1===s.indexOf(o)&&((0,r.copyProps)(a,o,["constructor",...n]),s.push(o))}}return a.constructor=t,a};r.unique=e=>e.filter(((t,r)=>e.indexOf(t)==r));r.flatten=e=>0===e.length?[]:1===e.length?e[0]:e.reduce(((e,t)=>[...e,...t]))}}},{package:"ts-mixer",file:"node_modules/ts-mixer/dist/cjs/util.js"}],[4378,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,o,i,a,s,c,u,l,f,d,h,p,m,g,A,y,_,b,v,E,T,w,N,S,I,O,C,M,R,P,x;!function(e){var r="object"==typeof global?global:"object"==typeof self?self:"object"==typeof this?this:{};function n(e,t){return e!==r&&("function"==typeof Object.create?Object.defineProperty(e,"__esModule",{value:!0}):e.__esModule=!0),function(r,n){return e[r]=t?t(r,n):n}}"function"==typeof define&&define.amd?define("tslib",["exports"],(function(t){e(n(r,n(t)))})):"object"==typeof t&&"object"==typeof t.exports?e(n(r,n(t.exports))):e(n(r))}((function(e){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])};n=function(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)},o=Object.assign||function(e){for(var t,r=1,n=arguments.length;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},s=function(e,t){return function(r,n){t(r,n,e)}},c=function(e,t,r,n,o,i){function a(e){if(void 0!==e&&"function"!=typeof e)throw new TypeError("Function expected");return e}for(var s,c=n.kind,u="getter"===c?"get":"setter"===c?"set":"value",l=!t&&e?n.static?e:e.prototype:null,f=t||(l?Object.getOwnPropertyDescriptor(l,n.name):{}),d=!1,h=r.length-1;h>=0;h--){var p={};for(var m in n)p[m]="access"===m?{}:n[m];for(var m in n.access)p.access[m]=n.access[m];p.addInitializer=function(e){if(d)throw new TypeError("Cannot add initializers after decoration has completed");i.push(a(e||null))};var g=(0,r[h])("accessor"===c?{get:f.get,set:f.set}:f[u],p);if("accessor"===c){if(void 0===g)continue;if(null===g||"object"!=typeof g)throw new TypeError("Object expected");(s=a(g.get))&&(f.get=s),(s=a(g.set))&&(f.set=s),(s=a(g.init))&&o.unshift(s)}else(s=a(g))&&("field"===c?o.unshift(s):f[u]=s)}l&&Object.defineProperty(l,n.name,f),d=!0},u=function(e,t,r){for(var n=arguments.length>2,o=0;o0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},A=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},y=function(){for(var e=[],t=0;t1||s(e,t)}))})}function s(e,t){try{(r=o[e](t)).value instanceof v?Promise.resolve(r.value.v).then(c,u):l(i[0][2],r)}catch(e){l(i[0][3],e)}var r}function c(e){s("next",e)}function u(e){s("throw",e)}function l(e,t){e(t),i.shift(),i.length&&s(i[0][0],i[0][1])}},T=function(e){var t,r;return t={},n("next"),n("throw",(function(e){throw e})),n("return"),t[Symbol.iterator]=function(){return this},t;function n(n,o){t[n]=e[n]?function(t){return(r=!r)?{value:v(e[n](t)),done:!1}:o?o(t):t}:o}},w=function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e=g(e),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(r){t[r]=e[r]&&function(t){return new Promise((function(n,o){(function(e,t,r,n){Promise.resolve(n).then((function(t){e({value:t,done:r})}),t)})(n,o,(t=e[r](t)).done,t.value)}))}}},N=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e};var r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};S=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&R(t,e,n);return r(t,e),t},I=function(e){return e&&e.__esModule?e:{default:e}},O=function(e,t,r,n){if("a"===r&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)},C=function(e,t,r,n,o){if("m"===n)throw new TypeError("Private method is not writable");if("a"===n&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?o.call(e,r):o?o.value=r:t.set(e,r),r},M=function(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)},P=function(e,t,r){if(null!=t){if("object"!=typeof t&&"function"!=typeof t)throw new TypeError("Object expected.");var n;if(r){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");n=t[Symbol.asyncDispose]}if(void 0===n){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");n=t[Symbol.dispose]}if("function"!=typeof n)throw new TypeError("Object not disposable.");e.stack.push({value:t,dispose:n,async:r})}else r&&e.stack.push({async:!0});return t};var k="function"==typeof SuppressedError?SuppressedError:function(e,t,r){var n=new Error(r);return n.name="SuppressedError",n.error=e,n.suppressed=t,n};x=function(e){function t(t){e.error=e.hasError?new k(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}return function r(){for(;e.stack.length;){var n=e.stack.pop();try{var o=n.dispose&&n.dispose.call(n.value);if(n.async)return Promise.resolve(o).then(r,(function(e){return t(e),r()}))}catch(e){t(e)}}if(e.hasError)throw e.error}()},e("__extends",n),e("__assign",o),e("__rest",i),e("__decorate",a),e("__param",s),e("__esDecorate",c),e("__runInitializers",u),e("__propKey",l),e("__setFunctionName",f),e("__metadata",d),e("__awaiter",h),e("__generator",p),e("__exportStar",m),e("__createBinding",R),e("__values",g),e("__read",A),e("__spread",y),e("__spreadArrays",_),e("__spreadArray",b),e("__await",v),e("__asyncGenerator",E),e("__asyncDelegator",T),e("__asyncValues",w),e("__makeTemplateObject",N),e("__importStar",S),e("__importDefault",I),e("__classPrivateFieldGet",O),e("__classPrivateFieldSet",C),e("__classPrivateFieldIn",M),e("__addDisposableResource",P),e("__disposeResources",x)}))}}},{package:"@trezor/connect-web>tslib",file:"node_modules/tslib/tslib.js"}],[4379,{buffer:2993},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(e){(function(){var r,n;r=this,n=function(){var t={};function r(e){if(!/^(?:[A-Za-z0-9+\/]{2}[A-Za-z0-9+\/]{2})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/.test(e))throw new TypeError("invalid encoding")}return t.decodeUTF8=function(e){if("string"!=typeof e)throw new TypeError("expected string");var t,r=unescape(encodeURIComponent(e)),n=new Uint8Array(r.length);for(t=0;ttweetnacl-util",file:"node_modules/tweetnacl-util/nacl-util.js"}],[438,{"./account":431,"./address":432,"./asyncEventEmitter":433,"./bytes":434,"./constants":435,"./encoding":436,"./internal":439,"./lock":440,"./provider":441,"./signature":442,"./types":443,"./units":444,"./withdrawal":445},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){n===undefined&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){n===undefined&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(r,"__esModule",{value:!0}),r.toAscii=r.stripHexPrefix=r.padToEven=r.isHexString=r.isHexPrefixed=r.getKeys=r.getBinarySize=r.fromUtf8=r.fromAscii=r.arrayContainsArray=void 0,o(e("./constants"),r),o(e("./units"),r),o(e("./account"),r),o(e("./address"),r),o(e("./withdrawal"),r),o(e("./signature"),r),o(e("./bytes"),r),o(e("./types"),r),o(e("./encoding"),r),o(e("./asyncEventEmitter"),r);var i=e("./internal");Object.defineProperty(r,"arrayContainsArray",{enumerable:!0,get:function(){return i.arrayContainsArray}}),Object.defineProperty(r,"fromAscii",{enumerable:!0,get:function(){return i.fromAscii}}),Object.defineProperty(r,"fromUtf8",{enumerable:!0,get:function(){return i.fromUtf8}}),Object.defineProperty(r,"getBinarySize",{enumerable:!0,get:function(){return i.getBinarySize}}),Object.defineProperty(r,"getKeys",{enumerable:!0,get:function(){return i.getKeys}}),Object.defineProperty(r,"isHexPrefixed",{enumerable:!0,get:function(){return i.isHexPrefixed}}),Object.defineProperty(r,"isHexString",{enumerable:!0,get:function(){return i.isHexString}}),Object.defineProperty(r,"padToEven",{enumerable:!0,get:function(){return i.padToEven}}),Object.defineProperty(r,"stripHexPrefix",{enumerable:!0,get:function(){return i.stripHexPrefix}}),Object.defineProperty(r,"toAscii",{enumerable:!0,get:function(){return i.toAscii}}),o(e("./lock"),r),o(e("./provider"),r)}}},{package:"@ethereumjs/tx>@ethereumjs/util",file:"node_modules/@ethereumjs/util/dist/index.js"}],[4380,{crypto:2993},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){!function(t){var r=function(e){var t,r=new Float64Array(16);if(e)for(t=0;t>24&255,e[t+1]=r>>16&255,e[t+2]=r>>8&255,e[t+3]=255&r,e[t+4]=n>>24&255,e[t+5]=n>>16&255,e[t+6]=n>>8&255,e[t+7]=255&n}function m(e,t,r,n,o){var i,a=0;for(i=0;i>>8)-1}function g(e,t,r,n){return m(e,t,r,n,16)}function A(e,t,r,n){return m(e,t,r,n,32)}function y(e,t,r,n){!function(e,t,r,n){for(var o,i=255&n[0]|(255&n[1])<<8|(255&n[2])<<16|(255&n[3])<<24,a=255&r[0]|(255&r[1])<<8|(255&r[2])<<16|(255&r[3])<<24,s=255&r[4]|(255&r[5])<<8|(255&r[6])<<16|(255&r[7])<<24,c=255&r[8]|(255&r[9])<<8|(255&r[10])<<16|(255&r[11])<<24,u=255&r[12]|(255&r[13])<<8|(255&r[14])<<16|(255&r[15])<<24,l=255&n[4]|(255&n[5])<<8|(255&n[6])<<16|(255&n[7])<<24,f=255&t[0]|(255&t[1])<<8|(255&t[2])<<16|(255&t[3])<<24,d=255&t[4]|(255&t[5])<<8|(255&t[6])<<16|(255&t[7])<<24,h=255&t[8]|(255&t[9])<<8|(255&t[10])<<16|(255&t[11])<<24,p=255&t[12]|(255&t[13])<<8|(255&t[14])<<16|(255&t[15])<<24,m=255&n[8]|(255&n[9])<<8|(255&n[10])<<16|(255&n[11])<<24,g=255&r[16]|(255&r[17])<<8|(255&r[18])<<16|(255&r[19])<<24,A=255&r[20]|(255&r[21])<<8|(255&r[22])<<16|(255&r[23])<<24,y=255&r[24]|(255&r[25])<<8|(255&r[26])<<16|(255&r[27])<<24,_=255&r[28]|(255&r[29])<<8|(255&r[30])<<16|(255&r[31])<<24,b=255&n[12]|(255&n[13])<<8|(255&n[14])<<16|(255&n[15])<<24,v=i,E=a,T=s,w=c,N=u,S=l,I=f,O=d,C=h,M=p,R=m,P=g,x=A,k=y,L=_,j=b,B=0;B<20;B+=2)v^=(o=(x^=(o=(C^=(o=(N^=(o=v+x|0)<<7|o>>>25)+v|0)<<9|o>>>23)+N|0)<<13|o>>>19)+C|0)<<18|o>>>14,S^=(o=(E^=(o=(k^=(o=(M^=(o=S+E|0)<<7|o>>>25)+S|0)<<9|o>>>23)+M|0)<<13|o>>>19)+k|0)<<18|o>>>14,R^=(o=(I^=(o=(T^=(o=(L^=(o=R+I|0)<<7|o>>>25)+R|0)<<9|o>>>23)+L|0)<<13|o>>>19)+T|0)<<18|o>>>14,j^=(o=(P^=(o=(O^=(o=(w^=(o=j+P|0)<<7|o>>>25)+j|0)<<9|o>>>23)+w|0)<<13|o>>>19)+O|0)<<18|o>>>14,v^=(o=(w^=(o=(T^=(o=(E^=(o=v+w|0)<<7|o>>>25)+v|0)<<9|o>>>23)+E|0)<<13|o>>>19)+T|0)<<18|o>>>14,S^=(o=(N^=(o=(O^=(o=(I^=(o=S+N|0)<<7|o>>>25)+S|0)<<9|o>>>23)+I|0)<<13|o>>>19)+O|0)<<18|o>>>14,R^=(o=(M^=(o=(C^=(o=(P^=(o=R+M|0)<<7|o>>>25)+R|0)<<9|o>>>23)+P|0)<<13|o>>>19)+C|0)<<18|o>>>14,j^=(o=(L^=(o=(k^=(o=(x^=(o=j+L|0)<<7|o>>>25)+j|0)<<9|o>>>23)+x|0)<<13|o>>>19)+k|0)<<18|o>>>14;v=v+i|0,E=E+a|0,T=T+s|0,w=w+c|0,N=N+u|0,S=S+l|0,I=I+f|0,O=O+d|0,C=C+h|0,M=M+p|0,R=R+m|0,P=P+g|0,x=x+A|0,k=k+y|0,L=L+_|0,j=j+b|0,e[0]=v>>>0&255,e[1]=v>>>8&255,e[2]=v>>>16&255,e[3]=v>>>24&255,e[4]=E>>>0&255,e[5]=E>>>8&255,e[6]=E>>>16&255,e[7]=E>>>24&255,e[8]=T>>>0&255,e[9]=T>>>8&255,e[10]=T>>>16&255,e[11]=T>>>24&255,e[12]=w>>>0&255,e[13]=w>>>8&255,e[14]=w>>>16&255,e[15]=w>>>24&255,e[16]=N>>>0&255,e[17]=N>>>8&255,e[18]=N>>>16&255,e[19]=N>>>24&255,e[20]=S>>>0&255,e[21]=S>>>8&255,e[22]=S>>>16&255,e[23]=S>>>24&255,e[24]=I>>>0&255,e[25]=I>>>8&255,e[26]=I>>>16&255,e[27]=I>>>24&255,e[28]=O>>>0&255,e[29]=O>>>8&255,e[30]=O>>>16&255,e[31]=O>>>24&255,e[32]=C>>>0&255,e[33]=C>>>8&255,e[34]=C>>>16&255,e[35]=C>>>24&255,e[36]=M>>>0&255,e[37]=M>>>8&255,e[38]=M>>>16&255,e[39]=M>>>24&255,e[40]=R>>>0&255,e[41]=R>>>8&255,e[42]=R>>>16&255,e[43]=R>>>24&255,e[44]=P>>>0&255,e[45]=P>>>8&255,e[46]=P>>>16&255,e[47]=P>>>24&255,e[48]=x>>>0&255,e[49]=x>>>8&255,e[50]=x>>>16&255,e[51]=x>>>24&255,e[52]=k>>>0&255,e[53]=k>>>8&255,e[54]=k>>>16&255,e[55]=k>>>24&255,e[56]=L>>>0&255,e[57]=L>>>8&255,e[58]=L>>>16&255,e[59]=L>>>24&255,e[60]=j>>>0&255,e[61]=j>>>8&255,e[62]=j>>>16&255,e[63]=j>>>24&255}(e,t,r,n)}function _(e,t,r,n){!function(e,t,r,n){for(var o,i=255&n[0]|(255&n[1])<<8|(255&n[2])<<16|(255&n[3])<<24,a=255&r[0]|(255&r[1])<<8|(255&r[2])<<16|(255&r[3])<<24,s=255&r[4]|(255&r[5])<<8|(255&r[6])<<16|(255&r[7])<<24,c=255&r[8]|(255&r[9])<<8|(255&r[10])<<16|(255&r[11])<<24,u=255&r[12]|(255&r[13])<<8|(255&r[14])<<16|(255&r[15])<<24,l=255&n[4]|(255&n[5])<<8|(255&n[6])<<16|(255&n[7])<<24,f=255&t[0]|(255&t[1])<<8|(255&t[2])<<16|(255&t[3])<<24,d=255&t[4]|(255&t[5])<<8|(255&t[6])<<16|(255&t[7])<<24,h=255&t[8]|(255&t[9])<<8|(255&t[10])<<16|(255&t[11])<<24,p=255&t[12]|(255&t[13])<<8|(255&t[14])<<16|(255&t[15])<<24,m=255&n[8]|(255&n[9])<<8|(255&n[10])<<16|(255&n[11])<<24,g=255&r[16]|(255&r[17])<<8|(255&r[18])<<16|(255&r[19])<<24,A=255&r[20]|(255&r[21])<<8|(255&r[22])<<16|(255&r[23])<<24,y=255&r[24]|(255&r[25])<<8|(255&r[26])<<16|(255&r[27])<<24,_=255&r[28]|(255&r[29])<<8|(255&r[30])<<16|(255&r[31])<<24,b=255&n[12]|(255&n[13])<<8|(255&n[14])<<16|(255&n[15])<<24,v=0;v<20;v+=2)i^=(o=(A^=(o=(h^=(o=(u^=(o=i+A|0)<<7|o>>>25)+i|0)<<9|o>>>23)+u|0)<<13|o>>>19)+h|0)<<18|o>>>14,l^=(o=(a^=(o=(y^=(o=(p^=(o=l+a|0)<<7|o>>>25)+l|0)<<9|o>>>23)+p|0)<<13|o>>>19)+y|0)<<18|o>>>14,m^=(o=(f^=(o=(s^=(o=(_^=(o=m+f|0)<<7|o>>>25)+m|0)<<9|o>>>23)+_|0)<<13|o>>>19)+s|0)<<18|o>>>14,b^=(o=(g^=(o=(d^=(o=(c^=(o=b+g|0)<<7|o>>>25)+b|0)<<9|o>>>23)+c|0)<<13|o>>>19)+d|0)<<18|o>>>14,i^=(o=(c^=(o=(s^=(o=(a^=(o=i+c|0)<<7|o>>>25)+i|0)<<9|o>>>23)+a|0)<<13|o>>>19)+s|0)<<18|o>>>14,l^=(o=(u^=(o=(d^=(o=(f^=(o=l+u|0)<<7|o>>>25)+l|0)<<9|o>>>23)+f|0)<<13|o>>>19)+d|0)<<18|o>>>14,m^=(o=(p^=(o=(h^=(o=(g^=(o=m+p|0)<<7|o>>>25)+m|0)<<9|o>>>23)+g|0)<<13|o>>>19)+h|0)<<18|o>>>14,b^=(o=(_^=(o=(y^=(o=(A^=(o=b+_|0)<<7|o>>>25)+b|0)<<9|o>>>23)+A|0)<<13|o>>>19)+y|0)<<18|o>>>14;e[0]=i>>>0&255,e[1]=i>>>8&255,e[2]=i>>>16&255,e[3]=i>>>24&255,e[4]=l>>>0&255,e[5]=l>>>8&255,e[6]=l>>>16&255,e[7]=l>>>24&255,e[8]=m>>>0&255,e[9]=m>>>8&255,e[10]=m>>>16&255,e[11]=m>>>24&255,e[12]=b>>>0&255,e[13]=b>>>8&255,e[14]=b>>>16&255,e[15]=b>>>24&255,e[16]=f>>>0&255,e[17]=f>>>8&255,e[18]=f>>>16&255,e[19]=f>>>24&255,e[20]=d>>>0&255,e[21]=d>>>8&255,e[22]=d>>>16&255,e[23]=d>>>24&255,e[24]=h>>>0&255,e[25]=h>>>8&255,e[26]=h>>>16&255,e[27]=h>>>24&255,e[28]=p>>>0&255,e[29]=p>>>8&255,e[30]=p>>>16&255,e[31]=p>>>24&255}(e,t,r,n)}var b=new Uint8Array([101,120,112,97,110,100,32,51,50,45,98,121,116,101,32,107]);function v(e,t,r,n,o,i,a){var s,c,u=new Uint8Array(16),l=new Uint8Array(64);for(c=0;c<16;c++)u[c]=0;for(c=0;c<8;c++)u[c]=i[c];for(;o>=64;){for(y(l,u,a,b),c=0;c<64;c++)e[t+c]=r[n+c]^l[c];for(s=1,c=8;c<16;c++)s=s+(255&u[c])|0,u[c]=255&s,s>>>=8;o-=64,t+=64,n+=64}if(o>0)for(y(l,u,a,b),c=0;c=64;){for(y(c,s,o,b),a=0;a<64;a++)e[t+a]=c[a];for(i=1,a=8;a<16;a++)i=i+(255&s[a])|0,s[a]=255&i,i>>>=8;r-=64,t+=64}if(r>0)for(y(c,s,o,b),a=0;a>>13|r<<3),n=255&e[4]|(255&e[5])<<8,this.r[2]=7939&(r>>>10|n<<6),o=255&e[6]|(255&e[7])<<8,this.r[3]=8191&(n>>>7|o<<9),i=255&e[8]|(255&e[9])<<8,this.r[4]=255&(o>>>4|i<<12),this.r[5]=i>>>1&8190,a=255&e[10]|(255&e[11])<<8,this.r[6]=8191&(i>>>14|a<<2),s=255&e[12]|(255&e[13])<<8,this.r[7]=8065&(a>>>11|s<<5),c=255&e[14]|(255&e[15])<<8,this.r[8]=8191&(s>>>8|c<<8),this.r[9]=c>>>5&127,this.pad[0]=255&e[16]|(255&e[17])<<8,this.pad[1]=255&e[18]|(255&e[19])<<8,this.pad[2]=255&e[20]|(255&e[21])<<8,this.pad[3]=255&e[22]|(255&e[23])<<8,this.pad[4]=255&e[24]|(255&e[25])<<8,this.pad[5]=255&e[26]|(255&e[27])<<8,this.pad[6]=255&e[28]|(255&e[29])<<8,this.pad[7]=255&e[30]|(255&e[31])<<8};function S(e,t,r,n,o,i){var a=new N(i);return a.update(r,n,o),a.finish(e,t),0}function I(e,t,r,n,o,i){var a=new Uint8Array(16);return S(a,0,r,n,o,i),g(e,t,a,0)}function O(e,t,r,n,o){var i;if(r<32)return-1;for(w(e,0,t,0,r,n,o),S(e,16,e,32,r-32,e),i=0;i<16;i++)e[i]=0;return 0}function C(e,t,r,n,o){var i,a=new Uint8Array(32);if(r<32)return-1;if(T(a,0,32,n,o),0!==I(t,16,t,32,r-32,a))return-1;for(w(e,0,t,0,r,n,o),i=0;i<32;i++)e[i]=0;return 0}function M(e,t){var r;for(r=0;r<16;r++)e[r]=0|t[r]}function R(e){var t,r,n=1;for(t=0;t<16;t++)r=e[t]+n+65535,n=Math.floor(r/65536),e[t]=r-65536*n;e[0]+=n-1+37*(n-1)}function P(e,t,r){for(var n,o=~(r-1),i=0;i<16;i++)n=o&(e[i]^t[i]),e[i]^=n,t[i]^=n}function x(e,t){var n,o,i,a=r(),s=r();for(n=0;n<16;n++)s[n]=t[n];for(R(s),R(s),R(s),o=0;o<2;o++){for(a[0]=s[0]-65517,n=1;n<15;n++)a[n]=s[n]-65535-(a[n-1]>>16&1),a[n-1]&=65535;a[15]=s[15]-32767-(a[14]>>16&1),i=a[15]>>16&1,a[14]&=65535,P(s,a,1-i)}for(n=0;n<16;n++)e[2*n]=255&s[n],e[2*n+1]=s[n]>>8}function k(e,t){var r=new Uint8Array(32),n=new Uint8Array(32);return x(r,e),x(n,t),A(r,0,n,0)}function L(e){var t=new Uint8Array(32);return x(t,e),1&t[0]}function j(e,t){var r;for(r=0;r<16;r++)e[r]=t[2*r]+(t[2*r+1]<<8);e[15]&=32767}function B(e,t,r){for(var n=0;n<16;n++)e[n]=t[n]+r[n]}function D(e,t,r){for(var n=0;n<16;n++)e[n]=t[n]-r[n]}function U(e,t,r){var n,o,i=0,a=0,s=0,c=0,u=0,l=0,f=0,d=0,h=0,p=0,m=0,g=0,A=0,y=0,_=0,b=0,v=0,E=0,T=0,w=0,N=0,S=0,I=0,O=0,C=0,M=0,R=0,P=0,x=0,k=0,L=0,j=r[0],B=r[1],D=r[2],U=r[3],H=r[4],F=r[5],G=r[6],K=r[7],z=r[8],W=r[9],Y=r[10],V=r[11],$=r[12],X=r[13],q=r[14],Q=r[15];i+=(n=t[0])*j,a+=n*B,s+=n*D,c+=n*U,u+=n*H,l+=n*F,f+=n*G,d+=n*K,h+=n*z,p+=n*W,m+=n*Y,g+=n*V,A+=n*$,y+=n*X,_+=n*q,b+=n*Q,a+=(n=t[1])*j,s+=n*B,c+=n*D,u+=n*U,l+=n*H,f+=n*F,d+=n*G,h+=n*K,p+=n*z,m+=n*W,g+=n*Y,A+=n*V,y+=n*$,_+=n*X,b+=n*q,v+=n*Q,s+=(n=t[2])*j,c+=n*B,u+=n*D,l+=n*U,f+=n*H,d+=n*F,h+=n*G,p+=n*K,m+=n*z,g+=n*W,A+=n*Y,y+=n*V,_+=n*$,b+=n*X,v+=n*q,E+=n*Q,c+=(n=t[3])*j,u+=n*B,l+=n*D,f+=n*U,d+=n*H,h+=n*F,p+=n*G,m+=n*K,g+=n*z,A+=n*W,y+=n*Y,_+=n*V,b+=n*$,v+=n*X,E+=n*q,T+=n*Q,u+=(n=t[4])*j,l+=n*B,f+=n*D,d+=n*U,h+=n*H,p+=n*F,m+=n*G,g+=n*K,A+=n*z,y+=n*W,_+=n*Y,b+=n*V,v+=n*$,E+=n*X,T+=n*q,w+=n*Q,l+=(n=t[5])*j,f+=n*B,d+=n*D,h+=n*U,p+=n*H,m+=n*F,g+=n*G,A+=n*K,y+=n*z,_+=n*W,b+=n*Y,v+=n*V,E+=n*$,T+=n*X,w+=n*q,N+=n*Q,f+=(n=t[6])*j,d+=n*B,h+=n*D,p+=n*U,m+=n*H,g+=n*F,A+=n*G,y+=n*K,_+=n*z,b+=n*W,v+=n*Y,E+=n*V,T+=n*$,w+=n*X,N+=n*q,S+=n*Q,d+=(n=t[7])*j,h+=n*B,p+=n*D,m+=n*U,g+=n*H,A+=n*F,y+=n*G,_+=n*K,b+=n*z,v+=n*W,E+=n*Y,T+=n*V,w+=n*$,N+=n*X,S+=n*q,I+=n*Q,h+=(n=t[8])*j,p+=n*B,m+=n*D,g+=n*U,A+=n*H,y+=n*F,_+=n*G,b+=n*K,v+=n*z,E+=n*W,T+=n*Y,w+=n*V,N+=n*$,S+=n*X,I+=n*q,O+=n*Q,p+=(n=t[9])*j,m+=n*B,g+=n*D,A+=n*U,y+=n*H,_+=n*F,b+=n*G,v+=n*K,E+=n*z,T+=n*W,w+=n*Y,N+=n*V,S+=n*$,I+=n*X,O+=n*q,C+=n*Q,m+=(n=t[10])*j,g+=n*B,A+=n*D,y+=n*U,_+=n*H,b+=n*F,v+=n*G,E+=n*K,T+=n*z,w+=n*W,N+=n*Y,S+=n*V,I+=n*$,O+=n*X,C+=n*q,M+=n*Q,g+=(n=t[11])*j,A+=n*B,y+=n*D,_+=n*U,b+=n*H,v+=n*F,E+=n*G,T+=n*K,w+=n*z,N+=n*W,S+=n*Y,I+=n*V,O+=n*$,C+=n*X,M+=n*q,R+=n*Q,A+=(n=t[12])*j,y+=n*B,_+=n*D,b+=n*U,v+=n*H,E+=n*F,T+=n*G,w+=n*K,N+=n*z,S+=n*W,I+=n*Y,O+=n*V,C+=n*$,M+=n*X,R+=n*q,P+=n*Q,y+=(n=t[13])*j,_+=n*B,b+=n*D,v+=n*U,E+=n*H,T+=n*F,w+=n*G,N+=n*K,S+=n*z,I+=n*W,O+=n*Y,C+=n*V,M+=n*$,R+=n*X,P+=n*q,x+=n*Q,_+=(n=t[14])*j,b+=n*B,v+=n*D,E+=n*U,T+=n*H,w+=n*F,N+=n*G,S+=n*K,I+=n*z,O+=n*W,C+=n*Y,M+=n*V,R+=n*$,P+=n*X,x+=n*q,k+=n*Q,b+=(n=t[15])*j,a+=38*(E+=n*D),s+=38*(T+=n*U),c+=38*(w+=n*H),u+=38*(N+=n*F),l+=38*(S+=n*G),f+=38*(I+=n*K),d+=38*(O+=n*z),h+=38*(C+=n*W),p+=38*(M+=n*Y),m+=38*(R+=n*V),g+=38*(P+=n*$),A+=38*(x+=n*X),y+=38*(k+=n*q),_+=38*(L+=n*Q),i=(n=(i+=38*(v+=n*B))+(o=1)+65535)-65536*(o=Math.floor(n/65536)),a=(n=a+o+65535)-65536*(o=Math.floor(n/65536)),s=(n=s+o+65535)-65536*(o=Math.floor(n/65536)),c=(n=c+o+65535)-65536*(o=Math.floor(n/65536)),u=(n=u+o+65535)-65536*(o=Math.floor(n/65536)),l=(n=l+o+65535)-65536*(o=Math.floor(n/65536)),f=(n=f+o+65535)-65536*(o=Math.floor(n/65536)),d=(n=d+o+65535)-65536*(o=Math.floor(n/65536)),h=(n=h+o+65535)-65536*(o=Math.floor(n/65536)),p=(n=p+o+65535)-65536*(o=Math.floor(n/65536)),m=(n=m+o+65535)-65536*(o=Math.floor(n/65536)),g=(n=g+o+65535)-65536*(o=Math.floor(n/65536)),A=(n=A+o+65535)-65536*(o=Math.floor(n/65536)),y=(n=y+o+65535)-65536*(o=Math.floor(n/65536)),_=(n=_+o+65535)-65536*(o=Math.floor(n/65536)),b=(n=b+o+65535)-65536*(o=Math.floor(n/65536)),i=(n=(i+=o-1+37*(o-1))+(o=1)+65535)-65536*(o=Math.floor(n/65536)),a=(n=a+o+65535)-65536*(o=Math.floor(n/65536)),s=(n=s+o+65535)-65536*(o=Math.floor(n/65536)),c=(n=c+o+65535)-65536*(o=Math.floor(n/65536)),u=(n=u+o+65535)-65536*(o=Math.floor(n/65536)),l=(n=l+o+65535)-65536*(o=Math.floor(n/65536)),f=(n=f+o+65535)-65536*(o=Math.floor(n/65536)),d=(n=d+o+65535)-65536*(o=Math.floor(n/65536)),h=(n=h+o+65535)-65536*(o=Math.floor(n/65536)),p=(n=p+o+65535)-65536*(o=Math.floor(n/65536)),m=(n=m+o+65535)-65536*(o=Math.floor(n/65536)),g=(n=g+o+65535)-65536*(o=Math.floor(n/65536)),A=(n=A+o+65535)-65536*(o=Math.floor(n/65536)),y=(n=y+o+65535)-65536*(o=Math.floor(n/65536)),_=(n=_+o+65535)-65536*(o=Math.floor(n/65536)),b=(n=b+o+65535)-65536*(o=Math.floor(n/65536)),i+=o-1+37*(o-1),e[0]=i,e[1]=a,e[2]=s,e[3]=c,e[4]=u,e[5]=l,e[6]=f,e[7]=d,e[8]=h,e[9]=p,e[10]=m,e[11]=g,e[12]=A,e[13]=y,e[14]=_,e[15]=b}function H(e,t){U(e,t,t)}function F(e,t){var n,o=r();for(n=0;n<16;n++)o[n]=t[n];for(n=253;n>=0;n--)H(o,o),2!==n&&4!==n&&U(o,o,t);for(n=0;n<16;n++)e[n]=o[n]}function G(e,t){var n,o=r();for(n=0;n<16;n++)o[n]=t[n];for(n=250;n>=0;n--)H(o,o),1!==n&&U(o,o,t);for(n=0;n<16;n++)e[n]=o[n]}function K(e,t,n){var o,i,a=new Uint8Array(32),s=new Float64Array(80),u=r(),l=r(),f=r(),d=r(),h=r(),p=r();for(i=0;i<31;i++)a[i]=t[i];for(a[31]=127&t[31]|64,a[0]&=248,j(s,n),i=0;i<16;i++)l[i]=s[i],d[i]=u[i]=f[i]=0;for(u[0]=d[0]=1,i=254;i>=0;--i)P(u,l,o=a[i>>>3]>>>(7&i)&1),P(f,d,o),B(h,u,f),D(u,u,f),B(f,l,d),D(l,l,d),H(d,h),H(p,u),U(u,f,u),U(f,l,h),B(h,u,f),D(u,u,f),H(l,u),D(f,d,p),U(u,f,c),B(u,u,d),U(f,f,u),U(u,d,p),U(d,l,s),H(l,h),P(u,l,o),P(f,d,o);for(i=0;i<16;i++)s[i+16]=u[i],s[i+32]=f[i],s[i+48]=l[i],s[i+64]=d[i];var m=s.subarray(32),g=s.subarray(16);return F(m,m),U(g,g,m),x(e,g),0}function z(e,t){return K(e,t,i)}function W(e,t){return n(t,32),z(e,t)}function Y(e,t,r){var n=new Uint8Array(32);return K(n,r,t),_(e,o,n,b)}N.prototype.blocks=function(e,t,r){for(var n,o,i,a,s,c,u,l,f,d,h,p,m,g,A,y,_,b,v,E=this.fin?0:2048,T=this.h[0],w=this.h[1],N=this.h[2],S=this.h[3],I=this.h[4],O=this.h[5],C=this.h[6],M=this.h[7],R=this.h[8],P=this.h[9],x=this.r[0],k=this.r[1],L=this.r[2],j=this.r[3],B=this.r[4],D=this.r[5],U=this.r[6],H=this.r[7],F=this.r[8],G=this.r[9];r>=16;)d=f=0,d+=(T+=8191&(n=255&e[t+0]|(255&e[t+1])<<8))*x,d+=(w+=8191&(n>>>13|(o=255&e[t+2]|(255&e[t+3])<<8)<<3))*(5*G),d+=(N+=8191&(o>>>10|(i=255&e[t+4]|(255&e[t+5])<<8)<<6))*(5*F),d+=(S+=8191&(i>>>7|(a=255&e[t+6]|(255&e[t+7])<<8)<<9))*(5*H),f=(d+=(I+=8191&(a>>>4|(s=255&e[t+8]|(255&e[t+9])<<8)<<12))*(5*U))>>>13,d&=8191,d+=(O+=s>>>1&8191)*(5*D),d+=(C+=8191&(s>>>14|(c=255&e[t+10]|(255&e[t+11])<<8)<<2))*(5*B),d+=(M+=8191&(c>>>11|(u=255&e[t+12]|(255&e[t+13])<<8)<<5))*(5*j),d+=(R+=8191&(u>>>8|(l=255&e[t+14]|(255&e[t+15])<<8)<<8))*(5*L),h=f+=(d+=(P+=l>>>5|E)*(5*k))>>>13,h+=T*k,h+=w*x,h+=N*(5*G),h+=S*(5*F),f=(h+=I*(5*H))>>>13,h&=8191,h+=O*(5*U),h+=C*(5*D),h+=M*(5*B),h+=R*(5*j),f+=(h+=P*(5*L))>>>13,h&=8191,p=f,p+=T*L,p+=w*k,p+=N*x,p+=S*(5*G),f=(p+=I*(5*F))>>>13,p&=8191,p+=O*(5*H),p+=C*(5*U),p+=M*(5*D),p+=R*(5*B),m=f+=(p+=P*(5*j))>>>13,m+=T*j,m+=w*L,m+=N*k,m+=S*x,f=(m+=I*(5*G))>>>13,m&=8191,m+=O*(5*F),m+=C*(5*H),m+=M*(5*U),m+=R*(5*D),g=f+=(m+=P*(5*B))>>>13,g+=T*B,g+=w*j,g+=N*L,g+=S*k,f=(g+=I*x)>>>13,g&=8191,g+=O*(5*G),g+=C*(5*F),g+=M*(5*H),g+=R*(5*U),A=f+=(g+=P*(5*D))>>>13,A+=T*D,A+=w*B,A+=N*j,A+=S*L,f=(A+=I*k)>>>13,A&=8191,A+=O*x,A+=C*(5*G),A+=M*(5*F),A+=R*(5*H),y=f+=(A+=P*(5*U))>>>13,y+=T*U,y+=w*D,y+=N*B,y+=S*j,f=(y+=I*L)>>>13,y&=8191,y+=O*k,y+=C*x,y+=M*(5*G),y+=R*(5*F),_=f+=(y+=P*(5*H))>>>13,_+=T*H,_+=w*U,_+=N*D,_+=S*B,f=(_+=I*j)>>>13,_&=8191,_+=O*L,_+=C*k,_+=M*x,_+=R*(5*G),b=f+=(_+=P*(5*F))>>>13,b+=T*F,b+=w*H,b+=N*U,b+=S*D,f=(b+=I*B)>>>13,b&=8191,b+=O*j,b+=C*L,b+=M*k,b+=R*x,v=f+=(b+=P*(5*G))>>>13,v+=T*G,v+=w*F,v+=N*H,v+=S*U,f=(v+=I*D)>>>13,v&=8191,v+=O*B,v+=C*j,v+=M*L,v+=R*k,T=d=8191&(f=(f=((f+=(v+=P*x)>>>13)<<2)+f|0)+(d&=8191)|0),w=h+=f>>>=13,N=p&=8191,S=m&=8191,I=g&=8191,O=A&=8191,C=y&=8191,M=_&=8191,R=b&=8191,P=v&=8191,t+=16,r-=16;this.h[0]=T,this.h[1]=w,this.h[2]=N,this.h[3]=S,this.h[4]=I,this.h[5]=O,this.h[6]=C,this.h[7]=M,this.h[8]=R,this.h[9]=P},N.prototype.finish=function(e,t){var r,n,o,i,a=new Uint16Array(10);if(this.leftover){for(i=this.leftover,this.buffer[i++]=1;i<16;i++)this.buffer[i]=0;this.fin=1,this.blocks(this.buffer,0,16)}for(r=this.h[1]>>>13,this.h[1]&=8191,i=2;i<10;i++)this.h[i]+=r,r=this.h[i]>>>13,this.h[i]&=8191;for(this.h[0]+=5*r,r=this.h[0]>>>13,this.h[0]&=8191,this.h[1]+=r,r=this.h[1]>>>13,this.h[1]&=8191,this.h[2]+=r,a[0]=this.h[0]+5,r=a[0]>>>13,a[0]&=8191,i=1;i<10;i++)a[i]=this.h[i]+r,r=a[i]>>>13,a[i]&=8191;for(a[9]-=8192,n=(1^r)-1,i=0;i<10;i++)a[i]&=n;for(n=~n,i=0;i<10;i++)this.h[i]=this.h[i]&n|a[i];for(this.h[0]=65535&(this.h[0]|this.h[1]<<13),this.h[1]=65535&(this.h[1]>>>3|this.h[2]<<10),this.h[2]=65535&(this.h[2]>>>6|this.h[3]<<7),this.h[3]=65535&(this.h[3]>>>9|this.h[4]<<4),this.h[4]=65535&(this.h[4]>>>12|this.h[5]<<1|this.h[6]<<14),this.h[5]=65535&(this.h[6]>>>2|this.h[7]<<11),this.h[6]=65535&(this.h[7]>>>5|this.h[8]<<8),this.h[7]=65535&(this.h[8]>>>8|this.h[9]<<5),o=this.h[0]+this.pad[0],this.h[0]=65535&o,i=1;i<8;i++)o=(this.h[i]+this.pad[i]|0)+(o>>>16)|0,this.h[i]=65535&o;e[t+0]=this.h[0]>>>0&255,e[t+1]=this.h[0]>>>8&255,e[t+2]=this.h[1]>>>0&255,e[t+3]=this.h[1]>>>8&255,e[t+4]=this.h[2]>>>0&255,e[t+5]=this.h[2]>>>8&255,e[t+6]=this.h[3]>>>0&255,e[t+7]=this.h[3]>>>8&255,e[t+8]=this.h[4]>>>0&255,e[t+9]=this.h[4]>>>8&255,e[t+10]=this.h[5]>>>0&255,e[t+11]=this.h[5]>>>8&255,e[t+12]=this.h[6]>>>0&255,e[t+13]=this.h[6]>>>8&255,e[t+14]=this.h[7]>>>0&255,e[t+15]=this.h[7]>>>8&255},N.prototype.update=function(e,t,r){var n,o;if(this.leftover){for((o=16-this.leftover)>r&&(o=r),n=0;n=16&&(o=r-r%16,this.blocks(e,t,o),t+=o,r-=o),r){for(n=0;n=128;){for(E=0;E<16;E++)T=8*E+$,M[E]=r[T+0]<<24|r[T+1]<<16|r[T+2]<<8|r[T+3],R[E]=r[T+4]<<24|r[T+5]<<16|r[T+6]<<8|r[T+7];for(E=0;E<80;E++)if(o=P,i=x,a=k,s=L,c=j,u=B,l=D,U,d=H,h=F,p=G,m=K,g=z,A=W,y=Y,V,S=65535&(N=V),I=N>>>16,O=65535&(w=U),C=w>>>16,S+=65535&(N=(z>>>14|j<<18)^(z>>>18|j<<14)^(j>>>9|z<<23)),I+=N>>>16,O+=65535&(w=(j>>>14|z<<18)^(j>>>18|z<<14)^(z>>>9|j<<23)),C+=w>>>16,S+=65535&(N=z&W^~z&Y),I+=N>>>16,O+=65535&(w=j&B^~j&D),C+=w>>>16,w=X[2*E],S+=65535&(N=X[2*E+1]),I+=N>>>16,O+=65535&w,C+=w>>>16,w=M[E%16],I+=(N=R[E%16])>>>16,O+=65535&w,C+=w>>>16,O+=(I+=(S+=65535&N)>>>16)>>>16,S=65535&(N=v=65535&S|I<<16),I=N>>>16,O=65535&(w=b=65535&O|(C+=O>>>16)<<16),C=w>>>16,S+=65535&(N=(H>>>28|P<<4)^(P>>>2|H<<30)^(P>>>7|H<<25)),I+=N>>>16,O+=65535&(w=(P>>>28|H<<4)^(H>>>2|P<<30)^(H>>>7|P<<25)),C+=w>>>16,I+=(N=H&F^H&G^F&G)>>>16,O+=65535&(w=P&x^P&k^x&k),C+=w>>>16,f=65535&(O+=(I+=(S+=65535&N)>>>16)>>>16)|(C+=O>>>16)<<16,_=65535&S|I<<16,S=65535&(N=m),I=N>>>16,O=65535&(w=s),C=w>>>16,I+=(N=v)>>>16,O+=65535&(w=b),C+=w>>>16,x=o,k=i,L=a,j=s=65535&(O+=(I+=(S+=65535&N)>>>16)>>>16)|(C+=O>>>16)<<16,B=c,D=u,U=l,P=f,F=d,G=h,K=p,z=m=65535&S|I<<16,W=g,Y=A,V=y,H=_,E%16==15)for(T=0;T<16;T++)w=M[T],S=65535&(N=R[T]),I=N>>>16,O=65535&w,C=w>>>16,w=M[(T+9)%16],S+=65535&(N=R[(T+9)%16]),I+=N>>>16,O+=65535&w,C+=w>>>16,b=M[(T+1)%16],S+=65535&(N=((v=R[(T+1)%16])>>>1|b<<31)^(v>>>8|b<<24)^(v>>>7|b<<25)),I+=N>>>16,O+=65535&(w=(b>>>1|v<<31)^(b>>>8|v<<24)^b>>>7),C+=w>>>16,b=M[(T+14)%16],I+=(N=((v=R[(T+14)%16])>>>19|b<<13)^(b>>>29|v<<3)^(v>>>6|b<<26))>>>16,O+=65535&(w=(b>>>19|v<<13)^(v>>>29|b<<3)^b>>>6),C+=w>>>16,C+=(O+=(I+=(S+=65535&N)>>>16)>>>16)>>>16,M[T]=65535&O|C<<16,R[T]=65535&S|I<<16;S=65535&(N=H),I=N>>>16,O=65535&(w=P),C=w>>>16,w=e[0],I+=(N=t[0])>>>16,O+=65535&w,C+=w>>>16,C+=(O+=(I+=(S+=65535&N)>>>16)>>>16)>>>16,e[0]=P=65535&O|C<<16,t[0]=H=65535&S|I<<16,S=65535&(N=F),I=N>>>16,O=65535&(w=x),C=w>>>16,w=e[1],I+=(N=t[1])>>>16,O+=65535&w,C+=w>>>16,C+=(O+=(I+=(S+=65535&N)>>>16)>>>16)>>>16,e[1]=x=65535&O|C<<16,t[1]=F=65535&S|I<<16,S=65535&(N=G),I=N>>>16,O=65535&(w=k),C=w>>>16,w=e[2],I+=(N=t[2])>>>16,O+=65535&w,C+=w>>>16,C+=(O+=(I+=(S+=65535&N)>>>16)>>>16)>>>16,e[2]=k=65535&O|C<<16,t[2]=G=65535&S|I<<16,S=65535&(N=K),I=N>>>16,O=65535&(w=L),C=w>>>16,w=e[3],I+=(N=t[3])>>>16,O+=65535&w,C+=w>>>16,C+=(O+=(I+=(S+=65535&N)>>>16)>>>16)>>>16,e[3]=L=65535&O|C<<16,t[3]=K=65535&S|I<<16,S=65535&(N=z),I=N>>>16,O=65535&(w=j),C=w>>>16,w=e[4],I+=(N=t[4])>>>16,O+=65535&w,C+=w>>>16,C+=(O+=(I+=(S+=65535&N)>>>16)>>>16)>>>16,e[4]=j=65535&O|C<<16,t[4]=z=65535&S|I<<16,S=65535&(N=W),I=N>>>16,O=65535&(w=B),C=w>>>16,w=e[5],I+=(N=t[5])>>>16,O+=65535&w,C+=w>>>16,C+=(O+=(I+=(S+=65535&N)>>>16)>>>16)>>>16,e[5]=B=65535&O|C<<16,t[5]=W=65535&S|I<<16,S=65535&(N=Y),I=N>>>16,O=65535&(w=D),C=w>>>16,w=e[6],I+=(N=t[6])>>>16,O+=65535&w,C+=w>>>16,C+=(O+=(I+=(S+=65535&N)>>>16)>>>16)>>>16,e[6]=D=65535&O|C<<16,t[6]=Y=65535&S|I<<16,S=65535&(N=V),I=N>>>16,O=65535&(w=U),C=w>>>16,w=e[7],I+=(N=t[7])>>>16,O+=65535&w,C+=w>>>16,C+=(O+=(I+=(S+=65535&N)>>>16)>>>16)>>>16,e[7]=U=65535&O|C<<16,t[7]=V=65535&S|I<<16,$+=128,n-=128}return n}function Q(e,t,r){var n,o=new Int32Array(8),i=new Int32Array(8),a=new Uint8Array(256),s=r;for(o[0]=1779033703,o[1]=3144134277,o[2]=1013904242,o[3]=2773480762,o[4]=1359893119,o[5]=2600822924,o[6]=528734635,o[7]=1541459225,i[0]=4089235720,i[1]=2227873595,i[2]=4271175723,i[3]=1595750129,i[4]=2917565137,i[5]=725511199,i[6]=4215389547,i[7]=327033209,q(o,i,t,r),r%=128,n=0;n=0;--o)Z(e,t,n=r[o/8|0]>>(7&o)&1),J(t,e),J(e,e),Z(e,t,n)}function re(e,t){var n=[r(),r(),r(),r()];M(n[0],f),M(n[1],d),M(n[2],s),U(n[3],f,d),te(e,n,t)}function ne(e,t,o){var i,a=new Uint8Array(64),s=[r(),r(),r(),r()];for(o||n(t,32),Q(a,t,32),a[0]&=248,a[31]&=127,a[31]|=64,re(s,a),ee(e,s),i=0;i<32;i++)t[i+32]=e[i];return 0}var oe=new Float64Array([237,211,245,92,26,99,18,88,214,156,247,162,222,249,222,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16]);function ie(e,t){var r,n,o,i;for(n=63;n>=32;--n){for(r=0,o=n-32,i=n-12;o>4)*oe[o],r=t[o]>>8,t[o]&=255;for(o=0;o<32;o++)t[o]-=r*oe[o];for(n=0;n<32;n++)t[n+1]+=t[n]>>8,e[n]=255&t[n]}function ae(e){var t,r=new Float64Array(64);for(t=0;t<64;t++)r[t]=e[t];for(t=0;t<64;t++)e[t]=0;ie(e,r)}function se(e,t,n,o){var i,a,s=new Uint8Array(64),c=new Uint8Array(64),u=new Uint8Array(64),l=new Float64Array(64),f=[r(),r(),r(),r()];Q(s,o,32),s[0]&=248,s[31]&=127,s[31]|=64;var d=n+64;for(i=0;i>7&&D(e[0],a,e[0]),U(e[3],e[0],e[1]),0)}(d,o))return-1;for(i=0;i=0},t.sign.keyPair=function(){var e=new Uint8Array(fe),t=new Uint8Array(de);return ne(e,t),{publicKey:e,secretKey:t}},t.sign.keyPair.fromSecretKey=function(e){if(pe(e),e.length!==de)throw new Error("bad secret key size");for(var t=new Uint8Array(fe),r=0;rtweetnacl",file:"node_modules/tweetnacl/nacl-fast.js"}],[4382,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){!function(e,n){var o="function",i="undefined",a="object",s="string",c="major",u="model",l="name",f="type",d="vendor",h="version",p="architecture",m="console",g="mobile",A="tablet",y="smarttv",_="wearable",b="embedded",v="Amazon",E="Apple",T="ASUS",w="BlackBerry",N="Browser",S="Chrome",I="Firefox",O="Google",C="Huawei",M="LG",R="Microsoft",P="Motorola",x="Opera",k="Samsung",L="Sharp",j="Sony",B="Xiaomi",D="Zebra",U="Facebook",H="Chromium OS",F="Mac OS",G=function(e){for(var t={},r=0;r0?2===c.length?typeof c[1]==o?this[c[0]]=c[1].call(this,l):this[c[0]]=c[1]:3===c.length?typeof c[1]!==o||c[1].exec&&c[1].test?this[c[0]]=l?l.replace(c[1],c[2]):n:this[c[0]]=l?c[1].call(this,l,c[2]):n:4===c.length&&(this[c[0]]=l?c[3].call(this,l.replace(c[1],c[2])):n):this[c]=l||n;f+=2}},V=function(e,t){for(var r in t)if(typeof t[r]===a&&t[r].length>0){for(var o=0;o2&&(e[u]="iPad",e[f]=A),e},this.getEngine=function(){var e={};return e[l]=n,e[h]=n,Y.call(e,y,b.engine),e},this.getOS=function(){var e={};return e[l]=n,e[h]=n,Y.call(e,y,b.os),v&&!e[l]&&_&&"Unknown"!=_.platform&&(e[l]=_.platform.replace(/chrome os/i,H).replace(/macos/i,F)),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return y},this.setUA=function(e){return y=typeof e===s&&e.length>500?W(e,500):e,this},this.setUA(y),this};q.VERSION="1.0.37",q.BROWSER=G([l,h,c]),q.CPU=G([p]),q.DEVICE=G([u,d,f,m,g,y,A,_,b]),q.ENGINE=q.OS=G([l,h]),typeof r!==i?(typeof t!==i&&t.exports&&(r=t.exports=q),r.UAParser=q):typeof define===o&&define.amd?define((function(){return q})):typeof e!==i&&(e.UAParser=q);var Q=typeof e!==i&&(e.jQuery||e.Zepto);if(Q&&!Q.ua){var J=new q;Q.ua=J.getResult(),Q.ua.get=function(){return J.getUA()},Q.ua.set=function(e){J.setUA(e);var t=J.getResult();for(var r in t)Q.ua[r]=t[r]}}}("object"==typeof window?window:this)}}},{package:"@trezor/connect-web>@trezor/connect-common>@trezor/env-utils>ua-parser-js",file:"node_modules/ua-parser-js/src/ua-parser.js"}],[4387,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports={0:"O",1:"l","֭":"֖","֮":"֘","֨":"֙","֤":"֚","᪴":"ۛ","⃛":"ۛ","ؙ":"̓","ࣳ":"̓","̓":"̓","̕":"̓","ُ":"̓","ٝ":"̔","֜":"́","֝":"́","ؘ":"́","݇":"́","́":"́","॔":"́","َ":"́","̀":"̀","॓":"̀","̌":"̆","꙼":"̆","٘":"̆","ٚ":"̆","ͮ":"̆","ۨ":"̆̇","̐":"̆̇","ँ":"̆̇","ঁ":"̆̇","ઁ":"̆̇","ଁ":"̆̇","ఀ":"̆̇","ಁ":"̆̇","ഁ":"̆̇","𑒿":"̆̇","᳐":"̂","̑":"̂","ٛ":"̂","߮":"̂","꛰":"̂","֯":"̊","۟":"̊","៓":"̊","゚":"̊","ْ":"̊","ஂ":"̊","ံ":"̊","ំ":"̊","𑌀":"̊","ํ":"̊","ໍ":"̊","ͦ":"̊","ⷪ":"̊","࣫":"̈","߳":"̈","ً":"̋","ࣰ":"̋","͂":"̃","ٓ":"̃","ׄ":"̇","۬":"̇","݀":"̇","࣪":"̇","݁":"̇","͘":"̇","ֹ":"̇","ֺ":"̇","ׂ":"̇","ׁ":"̇","߭":"̇","ं":"̇","ਂ":"̇","ં":"̇","்":"̇","̷":"̸","᪷":"̨","̢":"̨","ͅ":"̨","᳒":"̄","̅":"̄","ٙ":"̄","߫":"̄","꛱":"̄","᳚":"̎","ٗ":"̒","͗":"͐","ࣿ":"͐","ࣸ":"͐","ऀ":"͒","᳭":"̖","᳜":"̩","ٖ":"̩","᳕":"̫","͇":"̳","ࣹ":"͔","ࣺ":"͕","゛":"゙","゜":"゚","̶":"̵","〬":"̉","ׅ":"̣","࣭":"̣","᳝":"̣","ִ":"̣","ٜ":"̣","़":"̣","়":"̣","਼":"̣","઼":"̣","଼":"̣","𑇊":"̣","𑓃":"̣","𐨺":"̣","࣮":"̤","᳞":"̤","༷":"̥","〭":"̥","̧":"̦","̡":"̦","̹":"̦","᳙":"̭","᳘":"̮","॒":"̱","̠":"̱","ࣱ":"ٌ","ࣨ":"ٌ","ࣥ":"ٌ","ﱞ":"ﹲّ","ࣲ":"ٍ","ﱟ":"ﹴّ","ﳲ":"ﹷّ","ﱠ":"ﹶّ","ﳳ":"ﹹّ","ﱡ":"ﹸّ","ؚ":"ِ","̗":"ِ","ﳴ":"ﹻّ","ﱢ":"ﹺّ","ﱣ":"ﹼٰ","ٟ":"ٕ","̍":"ٰ","݂":"ܼ","ਃ":"ঃ","ః":"ঃ","ಃ":"ঃ","ഃ":"ঃ","ඃ":"ঃ","း":"ঃ","𑓁":"ঃ","់":"่","່":"่","້":"้","໊":"๊","໋":"๋","꙯":"⃩","\u2028":" ","\u2029":" "," ":" "," ":" "," ":" "," ":" "," ":" "," ":" "," ":" "," ":" "," ":" "," ":" "," ":" "," ":" "," ":" "," ":" "," ":" ","ߺ":"_","﹍":"_","﹎":"_","﹏":"_","‐":"-","‑":"-","‒":"-","–":"-","﹘":"-","۔":"-","⁃":"-","˗":"-","−":"-","➖":"-","Ⲻ":"-","⨩":"-̓","⸚":"-̈","﬩":"-̇","∸":"-̇","⨪":"-̣","꓾":"-.","~":"〜","؍":",","٫":",","‚":",","¸":",","ꓹ":",","⸲":"،","٬":"،",";":";","⸵":"؛","ः":":","ઃ":":",":":":","։":":","܃":":","܄":":","᛬":":","︰":":","᠃":":","᠉":":","⁚":":","׃":":","˸":":","꞉":":","∶":":","ː":":","ꓽ":":","⩴":"::=","⧴":":→","!":"!","ǃ":"!","ⵑ":"!","‼":"!!","⁉":"!?","ʔ":"?","Ɂ":"?","ॽ":"?","Ꭾ":"?","ꛫ":"?","⁈":"?!","⁇":"??","⸮":"؟","𝅭":".","․":".","܁":".","܂":".","꘎":".","𐩐":".","٠":".","۰":".","ꓸ":".","ꓻ":".,","‥":"..","ꓺ":"..","…":"...","꛴":"꛳꛳","・":"·","・":"·","᛫":"·","·":"·","⸱":"·","𐄁":"·","•":"·","‧":"·","∙":"·","⋅":"·","ꞏ":"·","ᐧ":"·","⋯":"···","ⵈ":"···","ᑄ":"·<","⋗":"·>","ᐷ":"·>","ᑀ":"·>","ᔯ":"·4","ᑺ":"·d","ᒘ":"·J","ᒶ":"·L","ᑶ":"·P","ᑗ":"·U","ᐺ":"·V","ᐼ":"·Ʌ","ᒮ":"·Γ","ᐎ":"·Δ","ᑙ":"·Ո","ᐌ":"·ᐁ","ᐐ":"·ᐄ","ᐒ":"·ᐅ","ᐔ":"·ᐆ","ᐗ":"·ᐊ","ᐙ":"·ᐋ","ᐾ":"·ᐲ","ᑂ":"·ᐴ","ᑆ":"·ᐹ","ᑛ":"·ᑏ","ᑔ":"·ᑐ","ᑝ":"·ᑐ","ᑟ":"·ᑑ","ᑡ":"·ᑕ","ᑣ":"·ᑖ","ᑴ":"·ᑫ","ᑸ":"·ᑮ","ᑼ":"·ᑰ","ᑾ":"·ᑲ","ᒀ":"·ᑳ","ᒒ":"·ᒉ","ᒔ":"·ᒋ","ᒖ":"·ᒌ","ᒚ":"·ᒎ","ᒜ":"·ᒐ","ᒞ":"·ᒑ","ᒬ":"·ᒣ","ᒰ":"·ᒦ","ᒲ":"·ᒧ","ᒴ":"·ᒨ","ᒸ":"·ᒫ","ᓉ":"·ᓀ","ᣆ":"·ᓂ","ᣈ":"·ᓃ","ᣊ":"·ᓄ","ᣌ":"·ᓅ","ᓋ":"·ᓇ","ᓍ":"·ᓈ","ᓜ":"·ᓓ","ᓞ":"·ᓕ","ᓠ":"·ᓖ","ᓢ":"·ᓗ","ᓤ":"·ᓘ","ᓦ":"·ᓚ","ᓨ":"·ᓛ","ᓶ":"·ᓭ","ᓸ":"·ᓯ","ᓺ":"·ᓰ","ᓼ":"·ᓱ","ᓾ":"·ᓲ","ᔀ":"·ᓴ","ᔂ":"·ᓵ","ᔗ":"·ᔐ","ᔙ":"·ᔑ","ᔛ":"·ᔒ","ᔝ":"·ᔓ","ᔟ":"·ᔔ","ᔡ":"·ᔕ","ᔣ":"·ᔖ","ᔱ":"·ᔨ","ᔳ":"·ᔩ","ᔵ":"·ᔪ","ᔷ":"·ᔫ","ᔹ":"·ᔭ","ᔻ":"·ᔮ","ᣎ":"·ᕃ","ᣏ":"·ᕆ","ᣐ":"·ᕇ","ᣑ":"·ᕈ","ᣒ":"·ᕉ","ᣓ":"·ᕋ","ᕎ":"·ᕌ","ᕛ":"·ᕚ","ᕨ":"·ᕧ","ᢳ":"·ᢱ","ᢶ":"·ᢴ","ᢹ":"·ᢸ","ᣂ":"·ᣀ","꠰":"।","॥":"।।","᰼":"᰻᰻","။":"၊၊","᪩":"᪨᪨","᪫":"᪪᪨","᭟":"᭞᭞","𐩗":"𐩖𐩖","𑑌":"𑑋𑑋","𑙂":"𑙁𑙁","𑱂":"𑱁𑱁","᱿":"᱾᱾","՝":"'","'":"'","‘":"'","’":"'","‛":"'","′":"'","‵":"'","՚":"'","׳":"'","`":"'","`":"'","`":"'","´":"'","΄":"'","´":"'","᾽":"'","᾿":"'","῾":"'","ʹ":"'","ʹ":"'","ˈ":"'","ˊ":"'","ˋ":"'","˴":"'","ʻ":"'","ʽ":"'","ʼ":"'","ʾ":"'","ꞌ":"'","י":"'","ߴ":"'","ߵ":"'","ᑊ":"'","ᛌ":"'","𖽑":"'","𖽒":"'","᳓":"''",'"':"''",""":"''","“":"''","”":"''","‟":"''","″":"''","‶":"''","〃":"''","״":"''","˝":"''","ʺ":"''","˶":"''","ˮ":"''","ײ":"''","‴":"'''","‷":"'''","⁗":"''''","Ɓ":"'B","Ɗ":"'D","ʼn":"'n","Ƥ":"'P","Ƭ":"'T","Ƴ":"'Y","[":"(","❨":"(","❲":"(","〔":"(","﴾":"(","⸨":"((","㈠":"(ー)","⑵":"(2)","⒇":"(2O)","⑶":"(3)","⑷":"(4)","⑸":"(5)","⑹":"(6)","⑺":"(7)","⑻":"(8)","⑼":"(9)","⒜":"(a)","🄐":"(A)","⒝":"(b)","🄑":"(B)","⒞":"(c)","🄒":"(C)","⒟":"(d)","🄓":"(D)","⒠":"(e)","🄔":"(E)","⒡":"(f)","🄕":"(F)","⒢":"(g)","🄖":"(G)","⒣":"(h)","🄗":"(H)","⒤":"(i)","⒥":"(j)","🄙":"(J)","⒦":"(k)","🄚":"(K)","⑴":"(l)","🄘":"(l)","⒧":"(l)","🄛":"(L)","⑿":"(l2)","⒀":"(l3)","⒁":"(l4)","⒂":"(l5)","⒃":"(l6)","⒄":"(l7)","⒅":"(l8)","⒆":"(l9)","⑾":"(ll)","⑽":"(lO)","🄜":"(M)","⒩":"(n)","🄝":"(N)","⒪":"(o)","🄞":"(O)","⒫":"(p)","🄟":"(P)","⒬":"(q)","🄠":"(Q)","⒭":"(r)","🄡":"(R)","⒨":"(rn)","⒮":"(s)","🄢":"(S)","🄪":"(S)","⒯":"(t)","🄣":"(T)","⒰":"(u)","🄤":"(U)","⒱":"(v)","🄥":"(V)","⒲":"(w)","🄦":"(W)","⒳":"(x)","🄧":"(X)","⒴":"(y)","🄨":"(Y)","⒵":"(z)","🄩":"(Z)","㈀":"(ᄀ)","㈎":"(가)","㈁":"(ᄂ)","㈏":"(나)","㈂":"(ᄃ)","㈐":"(다)","㈃":"(ᄅ)","㈑":"(라)","㈄":"(ᄆ)","㈒":"(마)","㈅":"(ᄇ)","㈓":"(바)","㈆":"(ᄉ)","㈔":"(사)","㈇":"(ᄋ)","㈕":"(아)","㈝":"(오전)","㈞":"(오후)","㈈":"(ᄌ)","㈖":"(자)","㈜":"(주)","㈉":"(ᄎ)","㈗":"(차)","㈊":"(ᄏ)","㈘":"(카)","㈋":"(ᄐ)","㈙":"(타)","㈌":"(ᄑ)","㈚":"(파)","㈍":"(ᄒ)","㈛":"(하)","㈦":"(七)","㈢":"(三)","🉁":"(三)","㈨":"(九)","㈡":"(二)","🉂":"(二)","㈤":"(五)","㈹":"(代)","㈽":"(企)","㉁":"(休)","㈧":"(八)","㈥":"(六)","㈸":"(労)","🉇":"(勝)","㈩":"(十)","㈿":"(協)","㈴":"(名)","㈺":"(呼)","㈣":"(四)","㈯":"(土)","㈻":"(学)","🉃":"(安)","🉅":"(打)","🉈":"(敗)","㈰":"(日)","㈪":"(月)","㈲":"(有)","㈭":"(木)","🉀":"(本)","㈱":"(株)","㈬":"(水)","㈫":"(火)","🉄":"(点)","㈵":"(特)","🉆":"(盗)","㈼":"(監)","㈳":"(社)","㈷":"(祝)","㉀":"(祭)","㉂":"(自)","㉃":"(至)","㈶":"(財)","㈾":"(資)","㈮":"(金)","]":")","❩":")","❳":")","〕":")","﴿":")","⸩":"))","❴":"{","𝄔":"{","❵":"}","〚":"⟦","〛":"⟧","⟨":"❬","〈":"❬","〈":"❬","㇛":"❬","く":"❬","𡿨":"❬","⟩":"❭","〉":"❭","〉":"❭","^":"︿","⸿":"¶","⁎":"*","٭":"*","∗":"*","𐌟":"*","᜵":"/","⁁":"/","∕":"/","⁄":"/","╱":"/","⟋":"/","⧸":"/","𝈺":"/","㇓":"/","〳":"/","Ⳇ":"/","ノ":"/","丿":"/","⼃":"/","⧶":"/̄","⫽":"//","⫻":"///","\":"\\","﹨":"\\","∖":"\\","⟍":"\\","⧵":"\\","⧹":"\\","𝈏":"\\","𝈻":"\\","㇔":"\\","丶":"\\","⼂":"\\","⳹":"\\\\","⑊":"\\\\","⟈":"\\ᑕ","ꝸ":"&","૰":"॰","𑂻":"॰","𑇇":"॰","⚬":"॰","𑇛":"꣼","៙":"๏","៕":"๚","៚":"๛","༌":"་","༎":"།།","˄":"^","ˆ":"^","꙾":"ˇ","˘":"ˇ","‾":"ˉ","﹉":"ˉ","﹊":"ˉ","﹋":"ˉ","﹌":"ˉ","¯":"ˉ"," ̄":"ˉ","▔":"ˉ","ъ":"ˉb","ꙑ":"ˉbi","͵":"ˏ","˻":"˪","꜖":"˪","꜔":"˫","。":"˳","⸰":"°","˚":"°","∘":"°","○":"°","◦":"°","⍜":"°̲","⍤":"°̈","℃":"°C","℉":"°F","௵":"௳","༛":"༚༚","༟":"༚༝","࿎":"༝༚","༞":"༝༝","Ⓒ":"©","Ⓡ":"®","Ⓟ":"℗","𝈛":"⅄","⯬":"↞","⯭":"↟","⯮":"↠","⯯":"↡","↵":"↲","⥥":"⇃⇂","⥯":"⇃ᛚ","𝛛":"∂","𝜕":"∂","𝝏":"∂","𝞉":"∂","𝟃":"∂","𞣌":"∂","𞣍":"∂̵","ð":"∂̵","⌀":"∅","𝛁":"∇","𝛻":"∇","𝜵":"∇","𝝯":"∇","𝞩":"∇","𑢨":"∇","⍢":"∇̈","⍫":"∇̴","█":"∎","■":"∎","⨿":"∐","᛭":"+","➕":"+","𐊛":"+","⨣":"+̂","⨢":"+̊","⨤":"+̃","∔":"+̇","⨥":"+̣","⨦":"+̰","⨧":"+₂","➗":"÷","‹":"<","❮":"<","˂":"<","𝈶":"<","ᐸ":"<","ᚲ":"<","⋖":"<·","Ⲵ":"<·","ᑅ":"<·","≪":"<<","⋘":"<<<","᐀":"=","⹀":"=","゠":"=","꓿":"=","≚":"=̆","≙":"=̂","≗":"=̊","≐":"=̇","≑":"=̣̇","⩮":"=⃰","⩵":"==","⩶":"===","≞":"=ͫ","›":">","❯":">","˃":">","𝈷":">","ᐳ":">","𖼿":">","ᑁ":">·","⪥":"><","≫":">>","⨠":">>","⋙":">>>","⁓":"~","˜":"~","῀":"~","∼":"~","⍨":"~̈","⸞":"~̇","⩪":"~̇","⸟":"~̣","𞣈":"∠","⋀":"∧","∯":"∮∮","∰":"∮∮∮","⸫":"∴","⸪":"∵","⸬":"∷","𑇞":"≈","♎":"≏","🝞":"≏","≣":"≡","⨃":"⊍","⨄":"⊎","𝈸":"⊏","𝈹":"⊐","⨅":"⊓","⨆":"⊔","⨂":"⊗","⍟":"⊛","🝱":"⊠","🝕":"⊡","◁":"⊲","▷":"⊳","⍣":"⋆̈","︴":"⌇","◠":"⌒","⨽":"⌙","⌥":"⌤","⧇":"⌻","◎":"⌾","⦾":"⌾","⧅":"⍂","⦰":"⍉","⏃":"⍋","⏂":"⍎","⏁":"⍕","Ö":"⍥","Ő":"⍥","⏆":"⍭","☸":"⎈","︵":"⏜","︶":"⏝","︷":"⏞","︸":"⏟","︹":"⏠","︺":"⏡","▱":"⏥","⏼":"⏻","︱":"│","|":"│","┃":"│","┏":"┌","┣":"├","▐":"▌","▗":"▖","▝":"▘","☐":"□","■":"▪","▸":"▶","►":"▶","⳩":"☧","🜊":"☩","🌒":"☽","🌙":"☽","⏾":"☾","🌘":"☾","⧙":"⦚","🜺":"⧟","⨾":"⨟","𐆠":"⳨","♩":"𝅘𝅥","♪":"𝅘𝅥𝅮","˙":"ॱ","ൎ":"ॱ","-":"ー","—":"ー","―":"ー","─":"ー","━":"ー","㇐":"ー","ꟷ":"ー","ᅳ":"ー","ㅡ":"ー","一":"ー","⼀":"ー","ᆖ":"ーー","ힹ":"ーᅡ","ힺ":"ーᅥ","ힻ":"ーᅥ丨","ힼ":"ーᅩ","ᆕ":"ーᅮ","ᅴ":"ー丨","ㅢ":"ー丨","ᆗ":"ー丨ᅮ","₤":"£","〒":"₸","〶":"₸","᭜":"᭐","꧆":"꧐","𑓑":"১","೧":"౧","ၥ":"၁","①":"➀","⑩":"➉","⏨":"₁₀","𝟐":"2","𝟚":"2","𝟤":"2","𝟮":"2","𝟸":"2","Ꝛ":"2","Ƨ":"2","Ϩ":"2","Ꙅ":"2","ᒿ":"2","ꛯ":"2","ꧏ":"٢","۲":"٢","૨":"२","𑓒":"২","೨":"౨","②":"➁","ƻ":"2̵","🄃":"2,","⒉":"2.","㏵":"22日","㍮":"22点","㏶":"23日","㍯":"23点","㏷":"24日","㍰":"24点","㏸":"25日","㏹":"26日","㏺":"27日","㏻":"28日","㏼":"29日","㏴":"2l日","㍭":"2l点","⒛":"2O.","㏳":"2O日","㍬":"2O点","෩":"෨ා","෯":"෨ී","㏡":"2日","㋁":"2月","㍚":"2点","𝈆":"3","𝟑":"3","𝟛":"3","𝟥":"3","𝟯":"3","𝟹":"3","Ɜ":"3","Ȝ":"3","Ʒ":"3","Ꝫ":"3","Ⳍ":"3","З":"3","Ӡ":"3","𖼻":"3","𑣊":"3","۳":"٣","𞣉":"٣","૩":"३","③":"➂","Ҙ":"3̦","🄄":"3,","⒊":"3.","㏾":"3l日","㏽":"3O日","㏢":"3日","㋂":"3月","㍛":"3点","𝟒":"4","𝟜":"4","𝟦":"4","𝟰":"4","𝟺":"4","Ꮞ":"4","𑢯":"4","۴":"٤","૪":"४","④":"➃","🄅":"4,","⒋":"4.","ᔰ":"4·","㏣":"4日","㋃":"4月","㍜":"4点","𝟓":"5","𝟝":"5","𝟧":"5","𝟱":"5","𝟻":"5","Ƽ":"5","𑢻":"5","⑤":"➄","🄆":"5,","⒌":"5.","㏤":"5日","㋄":"5月","㍝":"5点","𝟔":"6","𝟞":"6","𝟨":"6","𝟲":"6","𝟼":"6","Ⳓ":"6","б":"6","Ꮾ":"6","𑣕":"6","۶":"٦","𑓖":"৬","⑥":"➅","🄇":"6,","⒍":"6.","㏥":"6日","㋅":"6月","㍞":"6点","𝈒":"7","𝟕":"7","𝟟":"7","𝟩":"7","𝟳":"7","𝟽":"7","𐓒":"7","𑣆":"7","⑦":"➆","🄈":"7,","⒎":"7.","㏦":"7日","㋆":"7月","㍟":"7点","ଃ":"8","৪":"8","੪":"8","𞣋":"8","𝟖":"8","𝟠":"8","𝟪":"8","𝟴":"8","𝟾":"8","ȣ":"8","Ȣ":"8","𐌚":"8","૮":"८","⑧":"➇","🄉":"8,","⒏":"8.","㏧":"8日","㋇":"8月","㍠":"8点","੧":"9","୨":"9","৭":"9","൭":"9","𝟗":"9","𝟡":"9","𝟫":"9","𝟵":"9","𝟿":"9","Ꝯ":"9","Ⳋ":"9","𑣌":"9","𑢬":"9","𑣖":"9","१":"٩","𑣤":"٩","۹":"٩","೯":"౯","⑨":"➈","🄊":"9,","⒐":"9.","㏨":"9日","㋈":"9月","㍡":"9点","⍺":"a","a":"a","𝐚":"a","𝑎":"a","𝒂":"a","𝒶":"a","𝓪":"a","𝔞":"a","𝕒":"a","𝖆":"a","𝖺":"a","𝗮":"a","𝘢":"a","𝙖":"a","𝚊":"a","ɑ":"a","α":"a","𝛂":"a","𝛼":"a","𝜶":"a","𝝰":"a","𝞪":"a","а":"a","ⷶ":"ͣ","A":"A","𝐀":"A","𝐴":"A","𝑨":"A","𝒜":"A","𝓐":"A","𝔄":"A","𝔸":"A","𝕬":"A","𝖠":"A","𝗔":"A","𝘈":"A","𝘼":"A","𝙰":"A","Α":"A","𝚨":"A","𝛢":"A","𝜜":"A","𝝖":"A","𝞐":"A","А":"A","Ꭺ":"A","ᗅ":"A","ꓮ":"A","𖽀":"A","𐊠":"A","⍶":"a̲","ǎ":"ă","Ǎ":"Ă","ȧ":"å","Ȧ":"Å","ẚ":"ả","℀":"a/c","℁":"a/s","ꜳ":"aa","Ꜳ":"AA","æ":"ae","ӕ":"ae","Æ":"AE","Ӕ":"AE","ꜵ":"ao","Ꜵ":"AO","🜇":"AR","ꜷ":"au","Ꜷ":"AU","ꜹ":"av","ꜻ":"av","Ꜹ":"AV","Ꜻ":"AV","ꜽ":"ay","Ꜽ":"AY","ꭺ":"ᴀ","∀":"Ɐ","𝈗":"Ɐ","ᗄ":"Ɐ","ꓯ":"Ɐ","𐐟":"Ɒ","𝐛":"b","𝑏":"b","𝒃":"b","𝒷":"b","𝓫":"b","𝔟":"b","𝕓":"b","𝖇":"b","𝖻":"b","𝗯":"b","𝘣":"b","𝙗":"b","𝚋":"b","Ƅ":"b","Ь":"b","Ꮟ":"b","ᖯ":"b","B":"B","ℬ":"B","𝐁":"B","𝐵":"B","𝑩":"B","𝓑":"B","𝔅":"B","𝔹":"B","𝕭":"B","𝖡":"B","𝗕":"B","𝘉":"B","𝘽":"B","𝙱":"B","Ꞵ":"B","Β":"B","𝚩":"B","𝛣":"B","𝜝":"B","𝝗":"B","𝞑":"B","В":"B","Ᏼ":"B","ᗷ":"B","ꓐ":"B","𐊂":"B","𐊡":"B","𐌁":"B","ɓ":"b̔","ƃ":"b̄","Ƃ":"b̄","Б":"b̄","ƀ":"b̵","ҍ":"b̵","Ҍ":"b̵","ѣ":"b̵","Ѣ":"b̵","Ы":"bl","в":"ʙ","ᏼ":"ʙ","c":"c","ⅽ":"c","𝐜":"c","𝑐":"c","𝒄":"c","𝒸":"c","𝓬":"c","𝔠":"c","𝕔":"c","𝖈":"c","𝖼":"c","𝗰":"c","𝘤":"c","𝙘":"c","𝚌":"c","ᴄ":"c","ϲ":"c","ⲥ":"c","с":"c","ꮯ":"c","𐐽":"c","ⷭ":"ͨ","🝌":"C","𑣲":"C","𑣩":"C","C":"C","Ⅽ":"C","ℂ":"C","ℭ":"C","𝐂":"C","𝐶":"C","𝑪":"C","𝒞":"C","𝓒":"C","𝕮":"C","𝖢":"C","𝗖":"C","𝘊":"C","𝘾":"C","𝙲":"C","Ϲ":"C","Ⲥ":"C","С":"C","Ꮯ":"C","ꓚ":"C","𐊢":"C","𐌂":"C","𐐕":"C","𐔜":"C","¢":"c̸","ȼ":"c̸","₡":"C⃫","ç":"c̦","ҫ":"c̦","Ç":"C̦","Ҫ":"C̦","Ƈ":"C'","℅":"c/o","℆":"c/u","⋴":"ꞓ","ɛ":"ꞓ","ε":"ꞓ","ϵ":"ꞓ","𝛆":"ꞓ","𝛜":"ꞓ","𝜀":"ꞓ","𝜖":"ꞓ","𝜺":"ꞓ","𝝐":"ꞓ","𝝴":"ꞓ","𝞊":"ꞓ","𝞮":"ꞓ","𝟄":"ꞓ","ⲉ":"ꞓ","є":"ꞓ","ԑ":"ꞓ","ꮛ":"ꞓ","𑣎":"ꞓ","𐐩":"ꞓ","€":"Ꞓ","Ⲉ":"Ꞓ","Є":"Ꞓ","⍷":"ꞓ̲","ͽ":"ꜿ","Ͽ":"Ꜿ","ⅾ":"d","ⅆ":"d","𝐝":"d","𝑑":"d","𝒅":"d","𝒹":"d","𝓭":"d","𝔡":"d","𝕕":"d","𝖉":"d","𝖽":"d","𝗱":"d","𝘥":"d","𝙙":"d","𝚍":"d","ԁ":"d","Ꮷ":"d","ᑯ":"d","ꓒ":"d","Ⅾ":"D","ⅅ":"D","𝐃":"D","𝐷":"D","𝑫":"D","𝒟":"D","𝓓":"D","𝔇":"D","𝔻":"D","𝕯":"D","𝖣":"D","𝗗":"D","𝘋":"D","𝘿":"D","𝙳":"D","Ꭰ":"D","ᗞ":"D","ᗪ":"D","ꓓ":"D","ɗ":"d̔","ɖ":"d̨","ƌ":"d̄","đ":"d̵","Đ":"D̵","Ð":"D̵","Ɖ":"D̵","₫":"ḏ̵","ꝺ":"Ꝺ","ᑻ":"d·","ᒇ":"d'","ʤ":"dȝ","dz":"dz","ʣ":"dz","Dz":"Dz","DZ":"DZ","dž":"dž","Dž":"Dž","DŽ":"DŽ","ʥ":"dʑ","ꭰ":"ᴅ","⸹":"ẟ","δ":"ẟ","𝛅":"ẟ","𝛿":"ẟ","𝜹":"ẟ","𝝳":"ẟ","𝞭":"ẟ","ծ":"ẟ","ᕷ":"ẟ","℮":"e","e":"e","ℯ":"e","ⅇ":"e","𝐞":"e","𝑒":"e","𝒆":"e","𝓮":"e","𝔢":"e","𝕖":"e","𝖊":"e","𝖾":"e","𝗲":"e","𝘦":"e","𝙚":"e","𝚎":"e","ꬲ":"e","е":"e","ҽ":"e","ⷷ":"ͤ","⋿":"E","E":"E","ℰ":"E","𝐄":"E","𝐸":"E","𝑬":"E","𝓔":"E","𝔈":"E","𝔼":"E","𝕰":"E","𝖤":"E","𝗘":"E","𝘌":"E","𝙀":"E","𝙴":"E","Ε":"E","𝚬":"E","𝛦":"E","𝜠":"E","𝝚":"E","𝞔":"E","Е":"E","ⴹ":"E","Ꭼ":"E","ꓰ":"E","𑢦":"E","𑢮":"E","𐊆":"E","ě":"ĕ","Ě":"Ĕ","ɇ":"e̸","Ɇ":"E̸","ҿ":"ę","ꭼ":"ᴇ","ə":"ǝ","ә":"ǝ","∃":"Ǝ","ⴺ":"Ǝ","ꓱ":"Ǝ","ɚ":"ǝ˞","ᴔ":"ǝo","ꭁ":"ǝo̸","ꭂ":"ǝo̵","Ә":"Ə","𝈡":"Ɛ","ℇ":"Ɛ","Ԑ":"Ɛ","Ꮛ":"Ɛ","𖼭":"Ɛ","𐐁":"Ɛ","ᶟ":"ᵋ","ᴈ":"ɜ","з":"ɜ","ҙ":"ɜ̦","𐑂":"ɞ","ꞝ":"ʚ","𐐪":"ʚ","𝐟":"f","𝑓":"f","𝒇":"f","𝒻":"f","𝓯":"f","𝔣":"f","𝕗":"f","𝖋":"f","𝖿":"f","𝗳":"f","𝘧":"f","𝙛":"f","𝚏":"f","ꬵ":"f","ꞙ":"f","ſ":"f","ẝ":"f","ք":"f","𝈓":"F","ℱ":"F","𝐅":"F","𝐹":"F","𝑭":"F","𝓕":"F","𝔉":"F","𝔽":"F","𝕱":"F","𝖥":"F","𝗙":"F","𝘍":"F","𝙁":"F","𝙵":"F","Ꞙ":"F","Ϝ":"F","𝟊":"F","ᖴ":"F","ꓝ":"F","𑣂":"F","𑢢":"F","𐊇":"F","𐊥":"F","𐔥":"F","ƒ":"f̦","Ƒ":"F̦","ᵮ":"f̴","℻":"FAX","ff":"ff","ffi":"ffi","ffl":"ffl","fi":"fi","fl":"fl","ʩ":"fŋ","ᖵ":"Ⅎ","ꓞ":"Ⅎ","𝈰":"ꟻ","ᖷ":"ꟻ","g":"g","ℊ":"g","𝐠":"g","𝑔":"g","𝒈":"g","𝓰":"g","𝔤":"g","𝕘":"g","𝖌":"g","𝗀":"g","𝗴":"g","𝘨":"g","𝙜":"g","𝚐":"g","ɡ":"g","ᶃ":"g","ƍ":"g","ց":"g","𝐆":"G","𝐺":"G","𝑮":"G","𝒢":"G","𝓖":"G","𝔊":"G","𝔾":"G","𝕲":"G","𝖦":"G","𝗚":"G","𝘎":"G","𝙂":"G","𝙶":"G","Ԍ":"G","Ꮐ":"G","Ᏻ":"G","ꓖ":"G","ᶢ":"ᵍ","ɠ":"g̔","ǧ":"ğ","Ǧ":"Ğ","ǵ":"ģ","ǥ":"g̵","Ǥ":"G̵","Ɠ":"G'","ԍ":"ɢ","ꮐ":"ɢ","ᏻ":"ɢ","h":"h","ℎ":"h","𝐡":"h","𝒉":"h","𝒽":"h","𝓱":"h","𝔥":"h","𝕙":"h","𝖍":"h","𝗁":"h","𝗵":"h","𝘩":"h","𝙝":"h","𝚑":"h","һ":"h","հ":"h","Ꮒ":"h","H":"H","ℋ":"H","ℌ":"H","ℍ":"H","𝐇":"H","𝐻":"H","𝑯":"H","𝓗":"H","𝕳":"H","𝖧":"H","𝗛":"H","𝘏":"H","𝙃":"H","𝙷":"H","Η":"H","𝚮":"H","𝛨":"H","𝜢":"H","𝝜":"H","𝞖":"H","Ⲏ":"H","Н":"H","Ꮋ":"H","ᕼ":"H","ꓧ":"H","𐋏":"H","ᵸ":"ᴴ","ɦ":"h̔","ꚕ":"h̔","Ᏺ":"h̔","Ⱨ":"H̩","Ң":"H̩","ħ":"h̵","ℏ":"h̵","ћ":"h̵","Ħ":"H̵","Ӊ":"H̦","Ӈ":"H̦","н":"ʜ","ꮋ":"ʜ","ң":"ʜ̩","ӊ":"ʜ̦","ӈ":"ʜ̦","Ԋ":"Ƕ","ꮀ":"ⱶ","Ͱ":"Ⱶ","Ꭸ":"Ⱶ","Ꮀ":"Ⱶ","ꚱ":"Ⱶ","ꞕ":"ꜧ","˛":"i","⍳":"i","i":"i","ⅰ":"i","ℹ":"i","ⅈ":"i","𝐢":"i","𝑖":"i","𝒊":"i","𝒾":"i","𝓲":"i","𝔦":"i","𝕚":"i","𝖎":"i","𝗂":"i","𝗶":"i","𝘪":"i","𝙞":"i","𝚒":"i","ı":"i","𝚤":"i","ɪ":"i","ɩ":"i","ι":"i","ι":"i","ͺ":"i","𝛊":"i","𝜄":"i","𝜾":"i","𝝸":"i","𝞲":"i","і":"i","ꙇ":"i","ӏ":"i","ꭵ":"i","Ꭵ":"i","𑣃":"i","ⓛ":"Ⓘ","⍸":"i̲","ǐ":"ĭ","Ǐ":"Ĭ","ɨ":"i̵","ᵻ":"i̵","ᵼ":"i̵","ⅱ":"ii","ⅲ":"iii","ij":"ij","ⅳ":"iv","ⅸ":"ix","j":"j","ⅉ":"j","𝐣":"j","𝑗":"j","𝒋":"j","𝒿":"j","𝓳":"j","𝔧":"j","𝕛":"j","𝖏":"j","𝗃":"j","𝗷":"j","𝘫":"j","𝙟":"j","𝚓":"j","ϳ":"j","ј":"j","J":"J","𝐉":"J","𝐽":"J","𝑱":"J","𝒥":"J","𝓙":"J","𝔍":"J","𝕁":"J","𝕵":"J","𝖩":"J","𝗝":"J","𝘑":"J","𝙅":"J","𝙹":"J","Ʝ":"J","Ϳ":"J","Ј":"J","Ꭻ":"J","ᒍ":"J","ꓙ":"J","ɉ":"j̵","Ɉ":"J̵","ᒙ":"J·","𝚥":"ȷ","յ":"ȷ","ꭻ":"ᴊ","𝐤":"k","𝑘":"k","𝒌":"k","𝓀":"k","𝓴":"k","𝔨":"k","𝕜":"k","𝖐":"k","𝗄":"k","𝗸":"k","𝘬":"k","𝙠":"k","𝚔":"k","K":"K","K":"K","𝐊":"K","𝐾":"K","𝑲":"K","𝒦":"K","𝓚":"K","𝔎":"K","𝕂":"K","𝕶":"K","𝖪":"K","𝗞":"K","𝘒":"K","𝙆":"K","𝙺":"K","Κ":"K","𝚱":"K","𝛫":"K","𝜥":"K","𝝟":"K","𝞙":"K","Ⲕ":"K","К":"K","Ꮶ":"K","ᛕ":"K","ꓗ":"K","𐔘":"K","ƙ":"k̔","Ⱪ":"K̩","Қ":"K̩","₭":"K̵","Ꝁ":"K̵","Ҟ":"K̵","Ƙ":"K'","׀":"l","|":"l","∣":"l","⏽":"l","│":"l","١":"l","۱":"l","𐌠":"l","𞣇":"l","𝟏":"l","𝟙":"l","𝟣":"l","𝟭":"l","𝟷":"l",I:"l","I":"l","Ⅰ":"l","ℐ":"l","ℑ":"l","𝐈":"l","𝐼":"l","𝑰":"l","𝓘":"l","𝕀":"l","𝕴":"l","𝖨":"l","𝗜":"l","𝘐":"l","𝙄":"l","𝙸":"l","Ɩ":"l","l":"l","ⅼ":"l","ℓ":"l","𝐥":"l","𝑙":"l","𝒍":"l","𝓁":"l","𝓵":"l","𝔩":"l","𝕝":"l","𝖑":"l","𝗅":"l","𝗹":"l","𝘭":"l","𝙡":"l","𝚕":"l","ǀ":"l","Ι":"l","𝚰":"l","𝛪":"l","𝜤":"l","𝝞":"l","𝞘":"l","Ⲓ":"l","І":"l","Ӏ":"l","ו":"l","ן":"l","ا":"l","𞸀":"l","𞺀":"l","ﺎ":"l","ﺍ":"l","ߊ":"l","ⵏ":"l","ᛁ":"l","ꓲ":"l","𖼨":"l","𐊊":"l","𐌉":"l","𝈪":"L","Ⅼ":"L","ℒ":"L","𝐋":"L","𝐿":"L","𝑳":"L","𝓛":"L","𝔏":"L","𝕃":"L","𝕷":"L","𝖫":"L","𝗟":"L","𝘓":"L","𝙇":"L","𝙻":"L","Ⳑ":"L","Ꮮ":"L","ᒪ":"L","ꓡ":"L","𖼖":"L","𑢣":"L","𑢲":"L","𐐛":"L","𐔦":"L","ﴼ":"l̋","ﴽ":"l̋","ł":"l̸","Ł":"L̸","ɭ":"l̨","Ɨ":"l̵","ƚ":"l̵","ɫ":"l̴","إ":"lٕ","ﺈ":"lٕ","ﺇ":"lٕ","ٳ":"lٕ","ŀ":"l·","Ŀ":"l·","ᒷ":"l·","🄂":"l,","⒈":"l.","ױ":"l'","⒓":"l2.","㏫":"l2日","㋋":"l2月","㍤":"l2点","⒔":"l3.","㏬":"l3日","㍥":"l3点","⒕":"l4.","㏭":"l4日","㍦":"l4点","⒖":"l5.","㏮":"l5日","㍧":"l5点","⒗":"l6.","㏯":"l6日","㍨":"l6点","⒘":"l7.","㏰":"l7日","㍩":"l7点","⒙":"l8.","㏱":"l8日","㍪":"l8点","⒚":"l9.","㏲":"l9日","㍫":"l9点","lj":"lj","IJ":"lJ","Lj":"Lj","LJ":"LJ","‖":"ll","∥":"ll","Ⅱ":"ll","ǁ":"ll","װ":"ll","𐆙":"l̵l̵","⒒":"ll.","Ⅲ":"lll","𐆘":"l̵l̵S̵","㏪":"ll日","㋊":"ll月","㍣":"ll点","Ю":"lO","⒑":"lO.","㏩":"lO日","㋉":"lO月","㍢":"lO点","ʪ":"ls","₶":"lt","Ⅳ":"lV","Ⅸ":"lX","ɮ":"lȝ","ʫ":"lz","أ":"lٴ","ﺄ":"lٴ","ﺃ":"lٴ","ٲ":"lٴ","ٵ":"lٴ","ﷳ":"lكبر","ﷲ":"lللّٰo","㏠":"l日","㋀":"l月","㍙":"l点","ⳑ":"ʟ","ꮮ":"ʟ","𐑃":"ʟ","M":"M","Ⅿ":"M","ℳ":"M","𝐌":"M","𝑀":"M","𝑴":"M","𝓜":"M","𝔐":"M","𝕄":"M","𝕸":"M","𝖬":"M","𝗠":"M","𝘔":"M","𝙈":"M","𝙼":"M","Μ":"M","𝚳":"M","𝛭":"M","𝜧":"M","𝝡":"M","𝞛":"M","Ϻ":"M","Ⲙ":"M","М":"M","Ꮇ":"M","ᗰ":"M","ᛖ":"M","ꓟ":"M","𐊰":"M","𐌑":"M","Ӎ":"M̦","🝫":"MB","ⷨ":"ᷟ","𝐧":"n","𝑛":"n","𝒏":"n","𝓃":"n","𝓷":"n","𝔫":"n","𝕟":"n","𝖓":"n","𝗇":"n","𝗻":"n","𝘯":"n","𝙣":"n","𝚗":"n","ո":"n","ռ":"n","N":"N","ℕ":"N","𝐍":"N","𝑁":"N","𝑵":"N","𝒩":"N","𝓝":"N","𝔑":"N","𝕹":"N","𝖭":"N","𝗡":"N","𝘕":"N","𝙉":"N","𝙽":"N","Ν":"N","𝚴":"N","𝛮":"N","𝜨":"N","𝝢":"N","𝞜":"N","Ⲛ":"N","ꓠ":"N","𐔓":"N","𐆎":"N̊","ɳ":"n̨","ƞ":"n̩","η":"n̩","𝛈":"n̩","𝜂":"n̩","𝜼":"n̩","𝝶":"n̩","𝞰":"n̩","Ɲ":"N̦","ᵰ":"n̴","nj":"nj","Nj":"Nj","NJ":"NJ","№":"No","ͷ":"ᴎ","и":"ᴎ","𐑍":"ᴎ","ņ":"ɲ","ం":"o","ಂ":"o","ം":"o","ං":"o","०":"o","੦":"o","૦":"o","௦":"o","౦":"o","೦":"o","൦":"o","๐":"o","໐":"o","၀":"o","٥":"o","۵":"o","o":"o","ℴ":"o","𝐨":"o","𝑜":"o","𝒐":"o","𝓸":"o","𝔬":"o","𝕠":"o","𝖔":"o","𝗈":"o","𝗼":"o","𝘰":"o","𝙤":"o","𝚘":"o","ᴏ":"o","ᴑ":"o","ꬽ":"o","ο":"o","𝛐":"o","𝜊":"o","𝝄":"o","𝝾":"o","𝞸":"o","σ":"o","𝛔":"o","𝜎":"o","𝝈":"o","𝞂":"o","𝞼":"o","ⲟ":"o","о":"o","ჿ":"o","օ":"o","ס":"o","ه":"o","𞸤":"o","𞹤":"o","𞺄":"o","ﻫ":"o","ﻬ":"o","ﻪ":"o","ﻩ":"o","ھ":"o","ﮬ":"o","ﮭ":"o","ﮫ":"o","ﮪ":"o","ہ":"o","ﮨ":"o","ﮩ":"o","ﮧ":"o","ﮦ":"o","ە":"o","ഠ":"o","ဝ":"o","𐓪":"o","𑣈":"o","𑣗":"o","𐐬":"o","߀":"O","০":"O","୦":"O","〇":"O","𑓐":"O","𑣠":"O","𝟎":"O","𝟘":"O","𝟢":"O","𝟬":"O","𝟶":"O","O":"O","𝐎":"O","𝑂":"O","𝑶":"O","𝒪":"O","𝓞":"O","𝔒":"O","𝕆":"O","𝕺":"O","𝖮":"O","𝗢":"O","𝘖":"O","𝙊":"O","𝙾":"O","Ο":"O","𝚶":"O","𝛰":"O","𝜪":"O","𝝤":"O","𝞞":"O","Ⲟ":"O","О":"O","Օ":"O","ⵔ":"O","ዐ":"O","ଠ":"O","𐓂":"O","ꓳ":"O","𑢵":"O","𐊒":"O","𐊫":"O","𐐄":"O","𐔖":"O","⁰":"º","ᵒ":"º","ǒ":"ŏ","Ǒ":"Ŏ","ۿ":"ô","ø":"o̸","ꬾ":"o̸","Ø":"O̸","ⵁ":"O̸","Ǿ":"Ó̸","ɵ":"o̵","ꝋ":"o̵","ө":"o̵","ѳ":"o̵","ꮎ":"o̵","ꮻ":"o̵","⊖":"O̵","⊝":"O̵","⍬":"O̵","𝈚":"O̵","🜔":"O̵","Ɵ":"O̵","Ꝋ":"O̵","θ":"O̵","ϑ":"O̵","𝛉":"O̵","𝛝":"O̵","𝜃":"O̵","𝜗":"O̵","𝜽":"O̵","𝝑":"O̵","𝝷":"O̵","𝞋":"O̵","𝞱":"O̵","𝟅":"O̵","Θ":"O̵","ϴ":"O̵","𝚯":"O̵","𝚹":"O̵","𝛩":"O̵","𝛳":"O̵","𝜣":"O̵","𝜭":"O̵","𝝝":"O̵","𝝧":"O̵","𝞗":"O̵","𝞡":"O̵","Ө":"O̵","Ѳ":"O̵","ⴱ":"O̵","Ꮎ":"O̵","Ꮻ":"O̵","ꭴ":"ơ","ﳙ":"oٰ","🄁":"O,","🄀":"O.","ơ":"o'","Ơ":"O'","Ꭴ":"O'","%":"º/₀","٪":"º/₀","⁒":"º/₀","‰":"º/₀₀","؉":"º/₀₀","‱":"º/₀₀₀","؊":"º/₀₀₀","œ":"oe","Œ":"OE","ɶ":"oᴇ","∞":"oo","ꝏ":"oo","ꚙ":"oo","Ꝏ":"OO","Ꚙ":"OO","ﳗ":"oج","ﱑ":"oج","ﳘ":"oم","ﱒ":"oم","ﶓ":"oمج","ﶔ":"oمم","ﱓ":"oى","ﱔ":"oى","ൟ":"oരo","တ":"oာ","㍘":"O点","ↄ":"ɔ","ᴐ":"ɔ","ͻ":"ɔ","𐑋":"ɔ","Ↄ":"Ɔ","Ͻ":"Ɔ","ꓛ":"Ɔ","𐐣":"Ɔ","ꬿ":"ɔ̸","ꭢ":"ɔe","𐐿":"ɷ","⍴":"p","p":"p","𝐩":"p","𝑝":"p","𝒑":"p","𝓅":"p","𝓹":"p","𝔭":"p","𝕡":"p","𝖕":"p","𝗉":"p","𝗽":"p","𝘱":"p","𝙥":"p","𝚙":"p","ρ":"p","ϱ":"p","𝛒":"p","𝛠":"p","𝜌":"p","𝜚":"p","𝝆":"p","𝝔":"p","𝞀":"p","𝞎":"p","𝞺":"p","𝟈":"p","ⲣ":"p","р":"p","P":"P","ℙ":"P","𝐏":"P","𝑃":"P","𝑷":"P","𝒫":"P","𝓟":"P","𝔓":"P","𝕻":"P","𝖯":"P","𝗣":"P","𝘗":"P","𝙋":"P","𝙿":"P","Ρ":"P","𝚸":"P","𝛲":"P","𝜬":"P","𝝦":"P","𝞠":"P","Ⲣ":"P","Р":"P","Ꮲ":"P","ᑭ":"P","ꓑ":"P","𐊕":"P","ƥ":"p̔","ᵽ":"p̵","ᑷ":"p·","ᒆ":"P'","ᴩ":"ᴘ","ꮲ":"ᴘ","φ":"ɸ","ϕ":"ɸ","𝛗":"ɸ","𝛟":"ɸ","𝜑":"ɸ","𝜙":"ɸ","𝝋":"ɸ","𝝓":"ɸ","𝞅":"ɸ","𝞍":"ɸ","𝞿":"ɸ","𝟇":"ɸ","ⲫ":"ɸ","ф":"ɸ","𝐪":"q","𝑞":"q","𝒒":"q","𝓆":"q","𝓺":"q","𝔮":"q","𝕢":"q","𝖖":"q","𝗊":"q","𝗾":"q","𝘲":"q","𝙦":"q","𝚚":"q","ԛ":"q","գ":"q","զ":"q","ℚ":"Q","𝐐":"Q","𝑄":"Q","𝑸":"Q","𝒬":"Q","𝓠":"Q","𝔔":"Q","𝕼":"Q","𝖰":"Q","𝗤":"Q","𝘘":"Q","𝙌":"Q","𝚀":"Q","ⵕ":"Q","ʠ":"q̔","🜀":"QE","ᶐ":"ɋ","ᴋ":"ĸ","κ":"ĸ","ϰ":"ĸ","𝛋":"ĸ","𝛞":"ĸ","𝜅":"ĸ","𝜘":"ĸ","𝜿":"ĸ","𝝒":"ĸ","𝝹":"ĸ","𝞌":"ĸ","𝞳":"ĸ","𝟆":"ĸ","ⲕ":"ĸ","к":"ĸ","ꮶ":"ĸ","қ":"ĸ̩","ҟ":"ĸ̵","𝐫":"r","𝑟":"r","𝒓":"r","𝓇":"r","𝓻":"r","𝔯":"r","𝕣":"r","𝖗":"r","𝗋":"r","𝗿":"r","𝘳":"r","𝙧":"r","𝚛":"r","ꭇ":"r","ꭈ":"r","ᴦ":"r","ⲅ":"r","г":"r","ꮁ":"r","𝈖":"R","ℛ":"R","ℜ":"R","ℝ":"R","𝐑":"R","𝑅":"R","𝑹":"R","𝓡":"R","𝕽":"R","𝖱":"R","𝗥":"R","𝘙":"R","𝙍":"R","𝚁":"R","Ʀ":"R","Ꭱ":"R","Ꮢ":"R","𐒴":"R","ᖇ":"R","ꓣ":"R","𖼵":"R","ɽ":"r̨","ɼ":"r̩","ɍ":"r̵","ғ":"r̵","ᵲ":"r̴","ґ":"r'","𑣣":"rn",m:"rn","ⅿ":"rn","𝐦":"rn","𝑚":"rn","𝒎":"rn","𝓂":"rn","𝓶":"rn","𝔪":"rn","𝕞":"rn","𝖒":"rn","𝗆":"rn","𝗺":"rn","𝘮":"rn","𝙢":"rn","𝚖":"rn","𑜀":"rn","₥":"rn̸","ɱ":"rn̦","ᵯ":"rn̴","₨":"Rs","ꭱ":"ʀ","ꮢ":"ʀ","я":"ᴙ","ᵳ":"ɾ̴","℩":"ɿ","s":"s","𝐬":"s","𝑠":"s","𝒔":"s","𝓈":"s","𝓼":"s","𝔰":"s","𝕤":"s","𝖘":"s","𝗌":"s","𝘀":"s","𝘴":"s","𝙨":"s","𝚜":"s","ꜱ":"s","ƽ":"s","ѕ":"s","ꮪ":"s","𑣁":"s","𐑈":"s","S":"S","𝐒":"S","𝑆":"S","𝑺":"S","𝒮":"S","𝓢":"S","𝔖":"S","𝕊":"S","𝕾":"S","𝖲":"S","𝗦":"S","𝘚":"S","𝙎":"S","𝚂":"S","Ѕ":"S","Տ":"S","Ꮥ":"S","Ꮪ":"S","ꓢ":"S","𖼺":"S","𐊖":"S","𐐠":"S","ʂ":"s̨","ᵴ":"s̴","ꞵ":"ß","β":"ß","ϐ":"ß","𝛃":"ß","𝛽":"ß","𝜷":"ß","𝝱":"ß","𝞫":"ß","Ᏸ":"ß","🝜":"sss","st":"st","∫":"ʃ","ꭍ":"ʃ","∑":"Ʃ","⅀":"Ʃ","Σ":"Ʃ","𝚺":"Ʃ","𝛴":"Ʃ","𝜮":"Ʃ","𝝨":"Ʃ","𝞢":"Ʃ","ⵉ":"Ʃ","∬":"ʃʃ","∭":"ʃʃʃ","⨌":"ʃʃʃʃ","𝐭":"t","𝑡":"t","𝒕":"t","𝓉":"t","𝓽":"t","𝔱":"t","𝕥":"t","𝖙":"t","𝗍":"t","𝘁":"t","𝘵":"t","𝙩":"t","𝚝":"t","⊤":"T","⟙":"T","🝨":"T","T":"T","𝐓":"T","𝑇":"T","𝑻":"T","𝒯":"T","𝓣":"T","𝔗":"T","𝕋":"T","𝕿":"T","𝖳":"T","𝗧":"T","𝘛":"T","𝙏":"T","𝚃":"T","Τ":"T","𝚻":"T","𝛵":"T","𝜯":"T","𝝩":"T","𝞣":"T","Ⲧ":"T","Т":"T","Ꭲ":"T","ꓔ":"T","𖼊":"T","𑢼":"T","𐊗":"T","𐊱":"T","𐌕":"T","ƭ":"t̔","⍡":"T̈","Ⱦ":"T̸","Ț":"Ţ","Ʈ":"T̨","Ҭ":"T̩","₮":"T⃫","ŧ":"t̵","Ŧ":"T̵","ᵵ":"t̴","Ⴀ":"Ꞇ","Ꜩ":"T3","ʨ":"tɕ","℡":"TEL","ꝷ":"tf","ʦ":"ts","ʧ":"tʃ","ꜩ":"tȝ","τ":"ᴛ","𝛕":"ᴛ","𝜏":"ᴛ","𝝉":"ᴛ","𝞃":"ᴛ","𝞽":"ᴛ","т":"ᴛ","ꭲ":"ᴛ","ҭ":"ᴛ̩","ţ":"ƫ","ț":"ƫ","Ꮏ":"ƫ","𝐮":"u","𝑢":"u","𝒖":"u","𝓊":"u","𝓾":"u","𝔲":"u","𝕦":"u","𝖚":"u","𝗎":"u","𝘂":"u","𝘶":"u","𝙪":"u","𝚞":"u","ꞟ":"u","ᴜ":"u","ꭎ":"u","ꭒ":"u","ʋ":"u","υ":"u","𝛖":"u","𝜐":"u","𝝊":"u","𝞄":"u","𝞾":"u","ս":"u","𐓶":"u","𑣘":"u","∪":"U","⋃":"U","𝐔":"U","𝑈":"U","𝑼":"U","𝒰":"U","𝓤":"U","𝔘":"U","𝕌":"U","𝖀":"U","𝖴":"U","𝗨":"U","𝘜":"U","𝙐":"U","𝚄":"U","Ս":"U","ሀ":"U","𐓎":"U","ᑌ":"U","ꓴ":"U","𖽂":"U","𑢸":"U","ǔ":"ŭ","Ǔ":"Ŭ","ᵾ":"u̵","ꮜ":"u̵","Ʉ":"U̵","Ꮜ":"U̵","ᑘ":"U·","ᑧ":"U'","ᵫ":"ue","ꭣ":"uo","ṃ":"ꭑ","պ":"ɰ","ሣ":"ɰ","℧":"Ʊ","ᘮ":"Ʊ","ᘴ":"Ʊ","ᵿ":"ʊ̵","∨":"v","⋁":"v","v":"v","ⅴ":"v","𝐯":"v","𝑣":"v","𝒗":"v","𝓋":"v","𝓿":"v","𝔳":"v","𝕧":"v","𝖛":"v","𝗏":"v","𝘃":"v","𝘷":"v","𝙫":"v","𝚟":"v","ᴠ":"v","ν":"v","𝛎":"v","𝜈":"v","𝝂":"v","𝝼":"v","𝞶":"v","ѵ":"v","ט":"v","𑜆":"v","ꮩ":"v","𑣀":"v","𝈍":"V","٧":"V","۷":"V","Ⅴ":"V","𝐕":"V","𝑉":"V","𝑽":"V","𝒱":"V","𝓥":"V","𝔙":"V","𝕍":"V","𝖁":"V","𝖵":"V","𝗩":"V","𝘝":"V","𝙑":"V","𝚅":"V","Ѵ":"V","ⴸ":"V","Ꮩ":"V","ᐯ":"V","ꛟ":"V","ꓦ":"V","𖼈":"V","𑢠":"V","𐔝":"V","𐆗":"V̵","ᐻ":"V·","🝬":"VB","ⅵ":"vi","ⅶ":"vii","ⅷ":"viii","Ⅵ":"Vl","Ⅶ":"Vll","Ⅷ":"Vlll","🜈":"Vᷤ","ᴧ":"ʌ","𐓘":"ʌ","٨":"Ʌ","۸":"Ʌ","Λ":"Ʌ","𝚲":"Ʌ","𝛬":"Ʌ","𝜦":"Ʌ","𝝠":"Ʌ","𝞚":"Ʌ","Л":"Ʌ","ⴷ":"Ʌ","𐒰":"Ʌ","ᐱ":"Ʌ","ꛎ":"Ʌ","ꓥ":"Ʌ","𖼽":"Ʌ","𐊍":"Ʌ","Ӆ":"Ʌ̦","ᐽ":"Ʌ·","ɯ":"w","𝐰":"w","𝑤":"w","𝒘":"w","𝓌":"w","𝔀":"w","𝔴":"w","𝕨":"w","𝖜":"w","𝗐":"w","𝘄":"w","𝘸":"w","𝙬":"w","𝚠":"w","ᴡ":"w","ѡ":"w","ԝ":"w","ա":"w","𑜊":"w","𑜎":"w","𑜏":"w","ꮃ":"w","𑣯":"W","𑣦":"W","𝐖":"W","𝑊":"W","𝑾":"W","𝒲":"W","𝓦":"W","𝔚":"W","𝕎":"W","𝖂":"W","𝖶":"W","𝗪":"W","𝘞":"W","𝙒":"W","𝚆":"W","Ԝ":"W","Ꮃ":"W","Ꮤ":"W","ꓪ":"W","ѽ":"w҆҇","𑓅":"ẇ","₩":"W̵","ꝡ":"w̦","ᴍ":"ʍ","м":"ʍ","ꮇ":"ʍ","ӎ":"ʍ̦","᙮":"x","×":"x","⤫":"x","⤬":"x","⨯":"x","x":"x","ⅹ":"x","𝐱":"x","𝑥":"x","𝒙":"x","𝓍":"x","𝔁":"x","𝔵":"x","𝕩":"x","𝖝":"x","𝗑":"x","𝘅":"x","𝘹":"x","𝙭":"x","𝚡":"x","х":"x","ᕁ":"x","ᕽ":"x","ⷯ":"ͯ","᙭":"X","╳":"X","𐌢":"X","𑣬":"X","X":"X","Ⅹ":"X","𝐗":"X","𝑋":"X","𝑿":"X","𝒳":"X","𝓧":"X","𝔛":"X","𝕏":"X","𝖃":"X","𝖷":"X","𝗫":"X","𝘟":"X","𝙓":"X","𝚇":"X","Ꭓ":"X","Χ":"X","𝚾":"X","𝛸":"X","𝜲":"X","𝝬":"X","𝞦":"X","Ⲭ":"X","Х":"X","ⵝ":"X","ᚷ":"X","ꓫ":"X","𐊐":"X","𐊴":"X","𐌗":"X","𐔧":"X","⨰":"ẋ","Ҳ":"X̩","𐆖":"X̵","ⅺ":"xi","ⅻ":"xii","Ⅺ":"Xl","Ⅻ":"Xll","ɣ":"y","ᶌ":"y","y":"y","𝐲":"y","𝑦":"y","𝒚":"y","𝓎":"y","𝔂":"y","𝔶":"y","𝕪":"y","𝖞":"y","𝗒":"y","𝘆":"y","𝘺":"y","𝙮":"y","𝚢":"y","ʏ":"y","ỿ":"y","ꭚ":"y","γ":"y","ℽ":"y","𝛄":"y","𝛾":"y","𝜸":"y","𝝲":"y","𝞬":"y","у":"y","ү":"y","ყ":"y","𑣜":"y","Y":"Y","𝐘":"Y","𝑌":"Y","𝒀":"Y","𝒴":"Y","𝓨":"Y","𝔜":"Y","𝕐":"Y","𝖄":"Y","𝖸":"Y","𝗬":"Y","𝘠":"Y","𝙔":"Y","𝚈":"Y","Υ":"Y","ϒ":"Y","𝚼":"Y","𝛶":"Y","𝜰":"Y","𝝪":"Y","𝞤":"Y","Ⲩ":"Y","У":"Y","Ү":"Y","Ꭹ":"Y","Ꮍ":"Y","ꓬ":"Y","𖽃":"Y","𑢤":"Y","𐊲":"Y","ƴ":"y̔","ɏ":"y̵","ұ":"y̵","¥":"Y̵","Ɏ":"Y̵","Ұ":"Y̵","ʒ":"ȝ","ꝫ":"ȝ","ⳍ":"ȝ","ӡ":"ȝ","ჳ":"ȝ","𝐳":"z","𝑧":"z","𝒛":"z","𝓏":"z","𝔃":"z","𝔷":"z","𝕫":"z","𝖟":"z","𝗓":"z","𝘇":"z","𝘻":"z","𝙯":"z","𝚣":"z","ᴢ":"z","ꮓ":"z","𑣄":"z","𐋵":"Z","𑣥":"Z","Z":"Z","ℤ":"Z","ℨ":"Z","𝐙":"Z","𝑍":"Z","𝒁":"Z","𝒵":"Z","𝓩":"Z","𝖅":"Z","𝖹":"Z","𝗭":"Z","𝘡":"Z","𝙕":"Z","𝚉":"Z","Ζ":"Z","𝚭":"Z","𝛧":"Z","𝜡":"Z","𝝛":"Z","𝞕":"Z","Ꮓ":"Z","ꓜ":"Z","𑢩":"Z","ʐ":"z̨","ƶ":"z̵","Ƶ":"Z̵","ȥ":"z̦","Ȥ":"Z̦","ᵶ":"z̴","ƿ":"þ","ϸ":"þ","Ϸ":"Þ","𐓄":"Þ","⁹":"ꝰ","ᴤ":"ƨ","ϩ":"ƨ","ꙅ":"ƨ","ь":"ƅ","ꮟ":"ƅ","ы":"ƅi","ꭾ":"ɂ","ˤ":"ˁ","ꛍ":"ʡ","⊙":"ʘ","☉":"ʘ","⨀":"ʘ","Ꙩ":"ʘ","ⵙ":"ʘ","𐓃":"ʘ","ℾ":"Γ","𝚪":"Γ","𝛤":"Γ","𝜞":"Γ","𝝘":"Γ","𝞒":"Γ","Ⲅ":"Γ","Г":"Γ","Ꮁ":"Γ","ᒥ":"Γ","𖼇":"Γ","Ғ":"Γ̵","ᒯ":"Γ·","Ґ":"Γ'","∆":"Δ","△":"Δ","🜂":"Δ","𝚫":"Δ","𝛥":"Δ","𝜟":"Δ","𝝙":"Δ","𝞓":"Δ","Ⲇ":"Δ","ⵠ":"Δ","ᐃ":"Δ","𖼚":"Δ","𐊅":"Δ","𐊣":"Δ","⍙":"Δ̲","ᐏ":"Δ·","ᐬ":"Δᐠ","𝟋":"ϝ","𝛇":"ζ","𝜁":"ζ","𝜻":"ζ","𝝵":"ζ","𝞯":"ζ","ⳤ":"ϗ","𝛌":"λ","𝜆":"λ","𝝀":"λ","𝝺":"λ","𝞴":"λ","Ⲗ":"λ","𐓛":"λ","µ":"μ","𝛍":"μ","𝜇":"μ","𝝁":"μ","𝝻":"μ","𝞵":"μ","𝛏":"ξ","𝜉":"ξ","𝝃":"ξ","𝝽":"ξ","𝞷":"ξ","𝚵":"Ξ","𝛯":"Ξ","𝜩":"Ξ","𝝣":"Ξ","𝞝":"Ξ","ϖ":"π","ℼ":"π","𝛑":"π","𝛡":"π","𝜋":"π","𝜛":"π","𝝅":"π","𝝕":"π","𝝿":"π","𝞏":"π","𝞹":"π","𝟉":"π","ᴨ":"π","п":"π","∏":"Π","ℿ":"Π","𝚷":"Π","𝛱":"Π","𝜫":"Π","𝝥":"Π","𝞟":"Π","Ⲡ":"Π","П":"Π","ꛛ":"Π","𐊭":"Ϙ","𐌒":"Ϙ","ϛ":"ς","𝛓":"ς","𝜍":"ς","𝝇":"ς","𝞁":"ς","𝞻":"ς","𝚽":"Φ","𝛷":"Φ","𝜱":"Φ","𝝫":"Φ","𝞥":"Φ","Ⲫ":"Φ","Ф":"Φ","Փ":"Φ","ቀ":"Φ","ᛰ":"Φ","𐊳":"Φ","ꭓ":"χ","ꭕ":"χ","𝛘":"χ","𝜒":"χ","𝝌":"χ","𝞆":"χ","𝟀":"χ","ⲭ":"χ","𝛙":"ψ","𝜓":"ψ","𝝍":"ψ","𝞇":"ψ","𝟁":"ψ","ѱ":"ψ","𐓹":"ψ","𝚿":"Ψ","𝛹":"Ψ","𝜳":"Ψ","𝝭":"Ψ","𝞧":"Ψ","Ⲯ":"Ψ","Ѱ":"Ψ","𐓑":"Ψ","ᛘ":"Ψ","𐊵":"Ψ","⍵":"ω","ꞷ":"ω","𝛚":"ω","𝜔":"ω","𝝎":"ω","𝞈":"ω","𝟂":"ω","ⲱ":"ω","ꙍ":"ω","Ω":"Ω","𝛀":"Ω","𝛺":"Ω","𝜴":"Ω","𝝮":"Ω","𝞨":"Ω","ᘯ":"Ω","ᘵ":"Ω","𐊶":"Ω","⍹":"ω̲","ώ":"ῴ","☰":"Ⲷ","Ⳝ":"Ϭ","җ":"ж̩","Җ":"Ж̩","𝈋":"И","Ͷ":"И","ꚡ":"И","𐐥":"И","Й":"Ѝ","Ҋ":"Ѝ̦","ѝ":"й","ҋ":"й̦","𐒼":"Ӄ","ᴫ":"л","ӆ":"л̦","ꭠ":"љ","𐓫":"ꙩ","ᷮ":"ⷬ","𐓍":"Ћ","𝈂":"Ӿ","𝈢":"Ѡ","Ꮗ":"Ѡ","ᗯ":"Ѡ","Ѽ":"Ѡ҆҇","ᣭ":"Ѡ·","Ꞷ":"Ꙍ","ӌ":"ҷ","Ӌ":"Ҷ","Ҿ":"Ҽ̨","ⲽ":"ш","Ⲽ":"Ш","Ꙑ":"Ъl","℈":"Э","🜁":"Ꙙ","𖼜":"Ꙙ","ꦒ":"ⰿ","և":"եւ","ኔ":"ձ","ﬔ":"մե","ﬕ":"մի","ﬗ":"մխ","ﬓ":"մն","∩":"Ո","⋂":"Ո","𝉅":"Ո","በ":"Ո","ᑎ":"Ո","ꓵ":"Ո","ᑚ":"Ո·","ᑨ":"Ո'","ﬖ":"վն","₽":"Ք","˓":"ՙ","ʿ":"ՙ","ℵ":"א","ﬡ":"א","אָ":"אַ","אּ":"אַ","ﭏ":"אל","ℶ":"ב","ℷ":"ג","ℸ":"ד","ﬢ":"ד","ﬣ":"ה","יּ":"יִ","ﬤ":"כ","ﬥ":"ל","ﬦ":"ם","ﬠ":"ע","ﬧ":"ר","שׂ":"שׁ","שּ":"שׁ","שּׂ":"שּׁ","ﬨ":"ת","ﺀ":"ء","۽":"ء͈","ﺂ":"آ","ﺁ":"آ","ﭑ":"ٱ","ﭐ":"ٱ","𞸁":"ب","𞸡":"ب","𞹡":"ب","𞺁":"ب","𞺡":"ب","ﺑ":"ب","ﺒ":"ب","ﺐ":"ب","ﺏ":"ب","ݑ":"بۛ","ࢶ":"بۢ","ࢡ":"بٔ","ﲠ":"بo","ﳢ":"بo","ﲜ":"بج","ﰅ":"بج","ﲝ":"بح","ﰆ":"بح","ﷂ":"بحى","ﲞ":"بخ","ﰇ":"بخ","ﳒ":"بخ","ﱋ":"بخ","ﶞ":"بخى","ﱪ":"بر","ﱫ":"بز","ﲟ":"بم","ﳡ":"بم","ﱬ":"بم","ﰈ":"بم","ﱭ":"بن","ﱮ":"بى","ﰉ":"بى","ﱯ":"بى","ﰊ":"بى","ﭔ":"ٻ","ﭕ":"ٻ","ﭓ":"ٻ","ﭒ":"ٻ","ې":"ٻ","ﯦ":"ٻ","ﯧ":"ٻ","ﯥ":"ٻ","ﯤ":"ٻ","ﭜ":"ڀ","ﭝ":"ڀ","ﭛ":"ڀ","ﭚ":"ڀ","ࢩ":"ݔ","ݧ":"ݔ","ö":"ة","ﺔ":"ة","ﺓ":"ة","ۃ":"ة","𞸕":"ت","𞸵":"ت","𞹵":"ت","𞺕":"ت","𞺵":"ت","ﺗ":"ت","ﺘ":"ت","ﺖ":"ت","ﺕ":"ت","ﲥ":"تo","ﳤ":"تo","ﲡ":"تج","ﰋ":"تج","ﵐ":"تجم","ﶠ":"تجى","ﶟ":"تجى","ﲢ":"تح","ﰌ":"تح","ﵒ":"تحج","ﵑ":"تحج","ﵓ":"تحم","ﲣ":"تخ","ﰍ":"تخ","ﵔ":"تخم","ﶢ":"تخى","ﶡ":"تخى","ﱰ":"تر","ﱱ":"تز","ﲤ":"تم","ﳣ":"تم","ﱲ":"تم","ﰎ":"تم","ﵕ":"تمج","ﵖ":"تمح","ﵗ":"تمخ","ﶤ":"تمى","ﶣ":"تمى","ﱳ":"تن","ﱴ":"تى","ﰏ":"تى","ﱵ":"تى","ﰐ":"تى","ﭠ":"ٺ","ﭡ":"ٺ","ﭟ":"ٺ","ﭞ":"ٺ","ﭤ":"ٿ","ﭥ":"ٿ","ﭣ":"ٿ","ﭢ":"ٿ","𞸂":"ج","𞸢":"ج","𞹂":"ج","𞹢":"ج","𞺂":"ج","𞺢":"ج","ﺟ":"ج","ﺠ":"ج","ﺞ":"ج","ﺝ":"ج","ﲧ":"جح","ﰕ":"جح","ﶦ":"جحى","ﶾ":"جحى","ﷻ":"جل جلlلo","ﲨ":"جم","ﰖ":"جم","ﵙ":"جمح","ﵘ":"جمح","ﶧ":"جمى","ﶥ":"جمى","ﴝ":"جى","ﴁ":"جى","ﴞ":"جى","ﴂ":"جى","ﭸ":"ڃ","ﭹ":"ڃ","ﭷ":"ڃ","ﭶ":"ڃ","ﭴ":"ڄ","ﭵ":"ڄ","ﭳ":"ڄ","ﭲ":"ڄ","ﭼ":"چ","ﭽ":"چ","ﭻ":"چ","ﭺ":"چ","ﮀ":"ڇ","ﮁ":"ڇ","ﭿ":"ڇ","ﭾ":"ڇ","𞸇":"ح","𞸧":"ح","𞹇":"ح","𞹧":"ح","𞺇":"ح","𞺧":"ح","ﺣ":"ح","ﺤ":"ح","ﺢ":"ح","ﺡ":"ح","څ":"حۛ","ځ":"حٔ","ݲ":"حٔ","ﲩ":"حج","ﰗ":"حج","ﶿ":"حجى","ﲪ":"حم","ﰘ":"حم","ﵛ":"حمى","ﵚ":"حمى","ﴛ":"حى","ﳿ":"حى","ﴜ":"حى","ﴀ":"حى","𞸗":"خ","𞸷":"خ","𞹗":"خ","𞹷":"خ","𞺗":"خ","𞺷":"خ","ﺧ":"خ","ﺨ":"خ","ﺦ":"خ","ﺥ":"خ","ﲫ":"خج","ﰙ":"خج","ﰚ":"خح","ﲬ":"خم","ﰛ":"خم","ﴟ":"خى","ﴃ":"خى","ﴠ":"خى","ﴄ":"خى","𐋡":"د","𞸃":"د","𞺃":"د","𞺣":"د","ﺪ":"د","ﺩ":"د","ڈ":"دؕ","ﮉ":"دؕ","ﮈ":"دؕ","ڎ":"دۛ","ﮇ":"دۛ","ﮆ":"دۛ","ۮ":"د̂","ࢮ":"د̤̣","𞸘":"ذ","𞺘":"ذ","𞺸":"ذ","ﺬ":"ذ","ﺫ":"ذ","ﱛ":"ذٰ","ڋ":"ڊؕ","ﮅ":"ڌ","ﮄ":"ڌ","ﮃ":"ڍ","ﮂ":"ڍ","𞸓":"ر","𞺓":"ر","𞺳":"ر","ﺮ":"ر","ﺭ":"ر","ڑ":"رؕ","ﮍ":"رؕ","ﮌ":"رؕ","ژ":"رۛ","ﮋ":"رۛ","ﮊ":"رۛ","ڒ":"ر̆","ࢹ":"ر̆̇","ۯ":"ر̂","ݬ":"رٔ","ﱜ":"رٰ","ﷶ":"رسول","﷼":"رىlل","𞸆":"ز","𞺆":"ز","𞺦":"ز","ﺰ":"ز","ﺯ":"ز","ࢲ":"ز̂","ݱ":"ڗؕ","𞸎":"س","𞸮":"س","𞹎":"س","𞹮":"س","𞺎":"س","𞺮":"س","ﺳ":"س","ﺴ":"س","ﺲ":"س","ﺱ":"س","ش":"سۛ","𞸔":"سۛ","𞸴":"سۛ","𞹔":"سۛ","𞹴":"سۛ","𞺔":"سۛ","𞺴":"سۛ","ﺷ":"سۛ","ﺸ":"سۛ","ﺶ":"سۛ","ﺵ":"سۛ","ݾ":"س̂","ﴱ":"سo","ﳨ":"سo","ﴲ":"سۛo","ﳪ":"سۛo","ﲭ":"سج","ﴴ":"سج","ﰜ":"سج","ﴭ":"سۛج","ﴷ":"سۛج","ﴥ":"سۛج","ﴉ":"سۛج","ﵝ":"سجح","ﵞ":"سجى","ﵩ":"سۛجى","ﲮ":"سح","ﴵ":"سح","ﰝ":"سح","ﴮ":"سۛح","ﴸ":"سۛح","ﴦ":"سۛح","ﴊ":"سۛح","ﵜ":"سحج","ﵨ":"سۛحم","ﵧ":"سۛحم","ﶪ":"سۛحى","ﲯ":"سخ","ﴶ":"سخ","ﰞ":"سخ","ﴯ":"سۛخ","ﴹ":"سۛخ","ﴧ":"سۛخ","ﴋ":"سۛخ","ﶨ":"سخى","ﷆ":"سخى","ﴪ":"سر","ﴎ":"سر","ﴩ":"سۛر","ﴍ":"سۛر","ﲰ":"سم","ﳧ":"سم","ﰟ":"سم","ﴰ":"سۛم","ﳩ":"سۛم","ﴨ":"سۛم","ﴌ":"سۛم","ﵡ":"سمج","ﵠ":"سمح","ﵟ":"سمح","ﵫ":"سۛمخ","ﵪ":"سۛمخ","ﵣ":"سمم","ﵢ":"سمم","ﵭ":"سۛمم","ﵬ":"سۛمم","ﴗ":"سى","ﳻ":"سى","ﴘ":"سى","ﳼ":"سى","ﴙ":"سۛى","ﳽ":"سۛى","ﴚ":"سۛى","ﳾ":"سۛى","𐋲":"ص","𞸑":"ص","𞸱":"ص","𞹑":"ص","𞹱":"ص","𞺑":"ص","𞺱":"ص","ﺻ":"ص","ﺼ":"ص","ﺺ":"ص","ﺹ":"ص","ڞ":"صۛ","ࢯ":"ص̤̣","ﲱ":"صح","ﰠ":"صح","ﵥ":"صحح","ﵤ":"صحح","ﶩ":"صحى","ﲲ":"صخ","ﴫ":"صر","ﴏ":"صر","ﷵ":"صلعم","ﷹ":"صلى","ﷰ":"صلى","ﷺ":"صلى lللo علىo وسلم","ﲳ":"صم","ﰡ":"صم","ﷅ":"صمم","ﵦ":"صمم","ﴡ":"صى","ﴅ":"صى","ﴢ":"صى","ﴆ":"صى","𞸙":"ض","𞸹":"ض","𞹙":"ض","𞹹":"ض","𞺙":"ض","𞺹":"ض","ﺿ":"ض","ﻀ":"ض","ﺾ":"ض","ﺽ":"ض","ﲴ":"ضج","ﰢ":"ضج","ﲵ":"ضح","ﰣ":"ضح","ﵮ":"ضحى","ﶫ":"ضحى","ﲶ":"ضخ","ﰤ":"ضخ","ﵰ":"ضخم","ﵯ":"ضخم","ﴬ":"ضر","ﴐ":"ضر","ﲷ":"ضم","ﰥ":"ضم","ﴣ":"ضى","ﴇ":"ضى","ﴤ":"ضى","ﴈ":"ضى","𐋨":"ط","𞸈":"ط","𞹨":"ط","𞺈":"ط","𞺨":"ط","ﻃ":"ط","ﻄ":"ط","ﻂ":"ط","ﻁ":"ط","ڟ":"طۛ","ﲸ":"طح","ﰦ":"طح","ﴳ":"طم","ﴺ":"طم","ﰧ":"طم","ﵲ":"طمح","ﵱ":"طمح","ﵳ":"طمم","ﵴ":"طمى","ﴑ":"طى","ﳵ":"طى","ﴒ":"طى","ﳶ":"طى","𞸚":"ظ","𞹺":"ظ","𞺚":"ظ","𞺺":"ظ","ﻇ":"ظ","ﻈ":"ظ","ﻆ":"ظ","ﻅ":"ظ","ﲹ":"ظم","ﴻ":"ظم","ﰨ":"ظم","؏":"ع","𞸏":"ع","𞸯":"ع","𞹏":"ع","𞹯":"ع","𞺏":"ع","𞺯":"ع","ﻋ":"ع","ﻌ":"ع","ﻊ":"ع","ﻉ":"ع","ﲺ":"عج","ﰩ":"عج","ﷄ":"عجم","ﵵ":"عجم","ﷷ":"علىo","ﲻ":"عم","ﰪ":"عم","ﵷ":"عمم","ﵶ":"عمم","ﵸ":"عمى","ﶶ":"عمى","ﴓ":"عى","ﳷ":"عى","ﴔ":"عى","ﳸ":"عى","𞸛":"غ","𞸻":"غ","𞹛":"غ","𞹻":"غ","𞺛":"غ","𞺻":"غ","ﻏ":"غ","ﻐ":"غ","ﻎ":"غ","ﻍ":"غ","ﲼ":"غج","ﰫ":"غج","ﲽ":"غم","ﰬ":"غم","ﵹ":"غمم","ﵻ":"غمى","ﵺ":"غمى","ﴕ":"غى","ﳹ":"غى","ﴖ":"غى","ﳺ":"غى","𞸐":"ف","𞸰":"ف","𞹰":"ف","𞺐":"ف","𞺰":"ف","ﻓ":"ف","ﻔ":"ف","ﻒ":"ف","ﻑ":"ف","ڧ":"ف","ﲾ":"فج","ﰭ":"فج","ﲿ":"فح","ﰮ":"فح","ﳀ":"فخ","ﰯ":"فخ","ﵽ":"فخم","ﵼ":"فخم","ﳁ":"فم","ﰰ":"فم","ﷁ":"فمى","ﱼ":"فى","ﰱ":"فى","ﱽ":"فى","ﰲ":"فى","𞸞":"ڡ","𞹾":"ڡ","ࢻ":"ڡ","ٯ":"ڡ","𞸟":"ڡ","𞹟":"ڡ","ࢼ":"ڡ","ڤ":"ڡۛ","ﭬ":"ڡۛ","ﭭ":"ڡۛ","ﭫ":"ڡۛ","ﭪ":"ڡۛ","ڨ":"ڡۛ","ࢤ":"ڢۛ","ﭰ":"ڦ","ﭱ":"ڦ","ﭯ":"ڦ","ﭮ":"ڦ","𞸒":"ق","𞸲":"ق","𞹒":"ق","𞹲":"ق","𞺒":"ق","𞺲":"ق","ﻗ":"ق","ﻘ":"ق","ﻖ":"ق","ﻕ":"ق","ﳂ":"قح","ﰳ":"قح","ﷱ":"قلى","ﳃ":"قم","ﰴ":"قم","ﶴ":"قمح","ﵾ":"قمح","ﵿ":"قمم","ﶲ":"قمى","ﱾ":"قى","ﰵ":"قى","ﱿ":"قى","ﰶ":"قى","𞸊":"ك","𞸪":"ك","𞹪":"ك","ﻛ":"ك","ﻜ":"ك","ﻚ":"ك","ﻙ":"ك","ک":"ك","ﮐ":"ك","ﮑ":"ك","ﮏ":"ك","ﮎ":"ك","ڪ":"ك","ڭ":"كۛ","ﯕ":"كۛ","ﯖ":"كۛ","ﯔ":"كۛ","ﯓ":"كۛ","ݣ":"كۛ","ﲀ":"كl","ﰷ":"كl","ﳄ":"كج","ﰸ":"كج","ﳅ":"كح","ﰹ":"كح","ﳆ":"كخ","ﰺ":"كخ","ﳇ":"كل","ﳫ":"كل","ﲁ":"كل","ﰻ":"كل","ﳈ":"كم","ﳬ":"كم","ﲂ":"كم","ﰼ":"كم","ﷃ":"كمم","ﶻ":"كمم","ﶷ":"كمى","ﲃ":"كى","ﰽ":"كى","ﲄ":"كى","ﰾ":"كى","ݢ":"ڬ","ﮔ":"گ","ﮕ":"گ","ﮓ":"گ","ﮒ":"گ","ࢰ":"گ","ڴ":"گۛ","ﮜ":"ڱ","ﮝ":"ڱ","ﮛ":"ڱ","ﮚ":"ڱ","ﮘ":"ڳ","ﮙ":"ڳ","ﮗ":"ڳ","ﮖ":"ڳ","𞸋":"ل","𞸫":"ل","𞹋":"ل","𞺋":"ل","𞺫":"ل","ﻟ":"ل","ﻠ":"ل","ﻞ":"ل","ﻝ":"ل","ڷ":"لۛ","ڵ":"ل̆","ﻼ":"لl","ﻻ":"لl","ﻺ":"لlٕ","ﻹ":"لlٕ","ﻸ":"لlٴ","ﻷ":"لlٴ","ﳍ":"لo","ﻶ":"لآ","ﻵ":"لآ","ﳉ":"لج","ﰿ":"لج","ﶃ":"لجج","ﶄ":"لجج","ﶺ":"لجم","ﶼ":"لجم","ﶬ":"لجى","ﳊ":"لح","ﱀ":"لح","ﶵ":"لحم","ﶀ":"لحم","ﶂ":"لحى","ﶁ":"لحى","ﳋ":"لخ","ﱁ":"لخ","ﶆ":"لخم","ﶅ":"لخم","ﳌ":"لم","ﳭ":"لم","ﲅ":"لم","ﱂ":"لم","ﶈ":"لمح","ﶇ":"لمح","ﶭ":"لمى","ﲆ":"لى","ﱃ":"لى","ﲇ":"لى","ﱄ":"لى","𞸌":"م","𞸬":"م","𞹬":"م","𞺌":"م","𞺬":"م","ﻣ":"م","ﻤ":"م","ﻢ":"م","ﻡ":"م","ࢧ":"مۛ","۾":"م͈","ﲈ":"مl","ﳎ":"مج","ﱅ":"مج","ﶌ":"مجح","ﶒ":"مجخ","ﶍ":"مجم","ﷀ":"مجى","ﳏ":"مح","ﱆ":"مح","ﶉ":"محج","ﶊ":"محم","ﷴ":"محمد","ﶋ":"محى","ﳐ":"مخ","ﱇ":"مخ","ﶎ":"مخج","ﶏ":"مخم","ﶹ":"مخى","ﳑ":"مم","ﲉ":"مم","ﱈ":"مم","ﶱ":"ممى","ﱉ":"مى","ﱊ":"مى","𞸍":"ن","𞸭":"ن","𞹍":"ن","𞹭":"ن","𞺍":"ن","𞺭":"ن","ﻧ":"ن","ﻨ":"ن","ﻦ":"ن","ﻥ":"ن","ݨ":"نؕ","ݩ":"ن̆","ﳖ":"نo","ﳯ":"نo","ﶸ":"نجح","ﶽ":"نجح","ﶘ":"نجم","ﶗ":"نجم","ﶙ":"نجى","ﷇ":"نجى","ﳓ":"نح","ﱌ":"نح","ﶕ":"نحم","ﶖ":"نحى","ﶳ":"نحى","ﳔ":"نخ","ﱍ":"نخ","ﲊ":"نر","ﲋ":"نز","ﳕ":"نم","ﳮ":"نم","ﲌ":"نم","ﱎ":"نم","ﶛ":"نمى","ﶚ":"نمى","ﲍ":"نن","ﲎ":"نى","ﱏ":"نى","ﲏ":"نى","ﱐ":"نى","ۂ":"ۀ","ﮥ":"ۀ","ﮤ":"ۀ","𐋤":"و","𞸅":"و","𞺅":"و","𞺥":"و","ﻮ":"و","ﻭ":"و","ࢱ":"و","ۋ":"وۛ","ﯟ":"وۛ","ﯞ":"وۛ","ۇ":"و̓","ﯘ":"و̓","ﯗ":"و̓","ۆ":"و̆","ﯚ":"و̆","ﯙ":"و̆","ۉ":"و̂","ﯣ":"و̂","ﯢ":"و̂","ۈ":"وٰ","ﯜ":"وٰ","ﯛ":"وٰ","ؤ":"وٴ","ﺆ":"وٴ","ﺅ":"وٴ","ٶ":"وٴ","ٷ":"و̓ٴ","ﯝ":"و̓ٴ","ﷸ":"وسلم","ﯡ":"ۅ","ﯠ":"ۅ","ٮ":"ى","𞸜":"ى","𞹼":"ى","ں":"ى","𞸝":"ى","𞹝":"ى","ﮟ":"ى","ﮞ":"ى","ࢽ":"ى","ﯨ":"ى","ﯩ":"ى","ﻰ":"ى","ﻯ":"ى","ي":"ى","𞸉":"ى","𞸩":"ى","𞹉":"ى","𞹩":"ى","𞺉":"ى","𞺩":"ى","ﻳ":"ى","ﻴ":"ى","ﻲ":"ى","ﻱ":"ى","ی":"ى","ﯾ":"ى","ﯿ":"ى","ﯽ":"ى","ﯼ":"ى","ے":"ى","ﮯ":"ى","ﮮ":"ى","ٹ":"ىؕ","ﭨ":"ىؕ","ﭩ":"ىؕ","ﭧ":"ىؕ","ﭦ":"ىؕ","ڻ":"ىؕ","ﮢ":"ىؕ","ﮣ":"ىؕ","ﮡ":"ىؕ","ﮠ":"ىؕ","پ":"ىۛ","ﭘ":"ىۛ","ﭙ":"ىۛ","ﭗ":"ىۛ","ﭖ":"ىۛ","ث":"ىۛ","𞸖":"ىۛ","𞸶":"ىۛ","𞹶":"ىۛ","𞺖":"ىۛ","𞺶":"ىۛ","ﺛ":"ىۛ","ﺜ":"ىۛ","ﺚ":"ىۛ","ﺙ":"ىۛ","ڽ":"ىۛ","ۑ":"ىۛ","ؿ":"ىۛ","ࢷ":"ىۛۢ","ݖ":"ى̆","ێ":"ى̆","ࢺ":"ى̆̇","ؽ":"ى̂","ࢨ":"ىٔ","ﲐ":"ىٰ","ﱝ":"ىٰ","ﳞ":"ىo","ﳱ":"ىo","ﳦ":"ىۛo","ئ":"ىٴ","ﺋ":"ىٴ","ﺌ":"ىٴ","ﺊ":"ىٴ","ﺉ":"ىٴ","ٸ":"ىٴ","ﯫ":"ىٴl","ﯪ":"ىٴl","ﲛ":"ىٴo","ﳠ":"ىٴo","ﯭ":"ىٴo","ﯬ":"ىٴo","ﯸ":"ىٴٻ","ﯷ":"ىٴٻ","ﯶ":"ىٴٻ","ﲗ":"ىٴج","ﰀ":"ىٴج","ﲘ":"ىٴح","ﰁ":"ىٴح","ﲙ":"ىٴخ","ﱤ":"ىٴر","ﱥ":"ىٴز","ﲚ":"ىٴم","ﳟ":"ىٴم","ﱦ":"ىٴم","ﰂ":"ىٴم","ﱧ":"ىٴن","ﯯ":"ىٴو","ﯮ":"ىٴو","ﯱ":"ىٴو̓","ﯰ":"ىٴو̓","ﯳ":"ىٴو̆","ﯲ":"ىٴو̆","ﯵ":"ىٴوٰ","ﯴ":"ىٴوٰ","ﯻ":"ىٴى","ﯺ":"ىٴى","ﱨ":"ىٴى","ﯹ":"ىٴى","ﰃ":"ىٴى","ﱩ":"ىٴى","ﰄ":"ىٴى","ﳚ":"ىج","ﱕ":"ىج","ﰑ":"ىۛج","ﶯ":"ىجى","ﳛ":"ىح","ﱖ":"ىح","ﶮ":"ىحى","ﳜ":"ىخ","ﱗ":"ىخ","ﲑ":"ىر","ﱶ":"ىۛر","ﲒ":"ىز","ﱷ":"ىۛز","ﳝ":"ىم","ﳰ":"ىم","ﲓ":"ىم","ﱘ":"ىم","ﲦ":"ىۛم","ﳥ":"ىۛم","ﱸ":"ىۛم","ﰒ":"ىۛم","ﶝ":"ىمم","ﶜ":"ىمم","ﶰ":"ىمى","ﲔ":"ىن","ﱹ":"ىۛن","ﲕ":"ىى","ﱙ":"ىى","ﲖ":"ىى","ﱚ":"ىى","ﱺ":"ىۛى","ﰓ":"ىۛى","ﱻ":"ىۛى","ﰔ":"ىۛى","ﮱ":"ۓ","ﮰ":"ۓ","𐊸":"ⵀ","⁞":"ⵂ","⸽":"ⵂ","⦙":"ⵂ","︙":"ⵗ","⁝":"ⵗ","⋮":"ⵗ","Մ":"ሆ","Ռ":"ቡ","Ի":"ኮ","Պ":"ጣ","आ":"अा","ऒ":"अाॆ","ओ":"अाे","औ":"अाै","ऄ":"अॆ","ऑ":"अॉ","ऍ":"एॅ","ऎ":"एॆ","ऐ":"एे","ई":"र्इ","ઽ":"ऽ","𑇜":"ꣻ","𑇋":"ऺ","ુ":"ु","ૂ":"ू","ੋ":"ॆ","੍":"्","્":"्","আ":"অা","ৠ":"ঋৃ","ৡ":"ঋৃ","𑒒":"ঘ","𑒔":"চ","𑒖":"জ","𑒘":"ঞ","𑒙":"ট","𑒛":"ড","𑒪":"ণ","𑒞":"ত","𑒟":"থ","𑒠":"দ","𑒡":"ধ","𑒢":"ন","𑒣":"প","𑒩":"ব","𑒧":"ম","𑒨":"য","𑒫":"র","𑒝":"ল","𑒭":"ষ","𑒮":"স","𑓄":"ঽ","𑒰":"া","𑒱":"ি","𑒹":"ে","𑒼":"ো","𑒾":"ৌ","𑓂":"্","𑒽":"ৗ","ਉ":"ੳੁ","ਊ":"ੳੂ","ਆ":"ਅਾ","ਐ":"ਅੈ","ਔ":"ਅੌ","ਇ":"ੲਿ","ਈ":"ੲੀ","ਏ":"ੲੇ","આ":"અા","ઑ":"અાૅ","ઓ":"અાે","ઔ":"અાૈ","ઍ":"અૅ","એ":"અે","ઐ":"અૈ","ଆ":"ଅା","௮":"அ","ர":"ஈ","ா":"ஈ","௫":"ஈு","௨":"உ","ഉ":"உ","ஊ":"உள","ഊ":"உൗ","௭":"எ","௷":"எவ","ஜ":"ஐ","ജ":"ஐ","௧":"க","௪":"ச","௬":"சு","௲":"சூ","ഺ":"டி","ണ":"ண","௺":"நீ","௴":"மீ","௰":"ய","ഴ":"ழ","ௗ":"ள","ை":"ன","ശ":"ஶ","௸":"ஷ","ി":"ி","ീ":"ி","ொ":"ெஈ","ௌ":"ெள","ோ":"ேஈ","ಅ":"అ","ಆ":"ఆ","ಇ":"ఇ","ౠ":"ఋా","ౡ":"ఌా","ಒ":"ఒ","ఔ":"ఒౌ","ಔ":"ఒౌ","ఓ":"ఒౕ","ಓ":"ఒౕ","ಜ":"జ","ಞ":"ఞ","ఢ":"డ̣","ಣ":"ణ","థ":"ధּ","భ":"బ̣","ಯ":"య","ఠ":"రּ","ಱ":"ఱ","ಲ":"ల","ష":"వ̣","హ":"వా","మ":"వు","ూ":"ుా","ౄ":"ృా","ೡ":"ಌಾ","ഈ":"ഇൗ","ഐ":"എെ","ഓ":"ഒാ","ഔ":"ഒൗ","ൡ":"ഞ","൫":"ദ്ര","൹":"നു","ഌ":"നു","ങ":"നു","൯":"ന്","ൻ":"ന്","൬":"ന്ന","൚":"ന്മ","റ":"ര","൪":"ര്","ർ":"ര്","൮":"വ്ര","൶":"ഹ്മ","ൂ":"ു","ൃ":"ു","ൈ":"െെ","෪":"ජ","෫":"ද","𑐓":"𑐴𑑂𑐒","𑐙":"𑐴𑑂𑐘","𑐤":"𑐴𑑂𑐣","𑐪":"𑐴𑑂𑐩","𑐭":"𑐴𑑂𑐬","𑐯":"𑐴𑑂𑐮","𑗘":"𑖂","𑗙":"𑖂","𑗚":"𑖃","𑗛":"𑖄","𑗜":"𑖲","𑗝":"𑖳","ฃ":"ข","ด":"ค","ต":"ค","ม":"ฆ","ຈ":"จ","ซ":"ช","ฏ":"ฎ","ท":"ฑ","ບ":"บ","ປ":"ป","ຝ":"ฝ","ພ":"พ","ຟ":"ฟ","ฦ":"ภ","ຍ":"ย","។":"ฯ","ๅ":"า","ำ":"̊า","ិ":"ิ","ី":"ี","ឹ":"ึ","ឺ":"ื","ຸ":"ุ","ູ":"ู","แ":"เเ","ໜ":"ຫນ","ໝ":"ຫມ","ຳ":"̊າ","༂":"འུྂཿ","༃":"འུྂ༔","ཪ":"ར","ༀ":"ཨོཾ","ཷ":"ྲཱྀ","ཹ":"ླཱྀ","𑲲":"𑲪","ႁ":"ဂှ","က":"ဂာ","ၰ":"ဃှ","ၦ":"ပှ","ဟ":"ပာ","ၯ":"ပာှ","ၾ":"ၽှ","ဩ":"သြ","ဪ":"သြော်","႞":"ႃ̊","ឣ":"អ","᧐":"ᦞ","᧑":"ᦱ","᪀":"ᩅ","᪐":"ᩅ","꩓":"ꨁ","꩖":"ꨣ","᭒":"ᬍ","᭓":"ᬑ","᭘":"ᬨ","ꦣ":"ꦝ","ᢖ":"ᡜ","ᡕ":"ᠵ","ῶ":"Ꮿ","ᐍ":"ᐁ·","ᐫ":"ᐁᐠ","ᐑ":"ᐄ·","ᐓ":"ᐅ·","ᐭ":"ᐅᐠ","ᐕ":"ᐆ·","ᐘ":"ᐊ·","ᐮ":"ᐊᐠ","ᐚ":"ᐋ·","ᣝ":"ᐞᣟ","ᓑ":"ᐡ","ᕀ":"ᐩ","ᐿ":"ᐲ·","ᑃ":"ᐴ·","⍩":"ᐵ","ᑇ":"ᐹ·","ᑜ":"ᑏ·","⸧":"ᑐ","⊃":"ᑐ","ᑞ":"ᑐ·","ᑩ":"ᑐ'","⟉":"ᑐ/","⫗":"ᑐᑕ","ᑠ":"ᑑ·","⸦":"ᑕ","⊂":"ᑕ","ᑢ":"ᑕ·","ᑪ":"ᑕ'","ᑤ":"ᑖ·","ᑵ":"ᑫ·","ᒅ":"ᑫ'","ᑹ":"ᑮ·","ᑽ":"ᑰ·","ᑿ":"ᑲ·","ᒈ":"ᑲ'","ᒁ":"ᑳ·","ᘃ":"ᒉ","ᒓ":"ᒉ·","ᒕ":"ᒋ·","ᒗ":"ᒌ·","ᒛ":"ᒎ·","ᘂ":"ᒐ","ᒝ":"ᒐ·","ᒟ":"ᒑ·","ᒭ":"ᒣ·","ᒱ":"ᒦ·","ᒳ":"ᒧ·","ᒵ":"ᒨ·","ᒹ":"ᒫ·","ᓊ":"ᓀ·","ᣇ":"ᓂ·","ᣉ":"ᓃ·","ᣋ":"ᓄ·","ᣍ":"ᓅ·","ᓌ":"ᓇ·","ᓎ":"ᓈ·","ᘄ":"ᓓ","ᓝ":"ᓓ·","ᓟ":"ᓕ·","ᓡ":"ᓖ·","ᓣ":"ᓗ·","ᓥ":"ᓘ·","ᘇ":"ᓚ","ᓧ":"ᓚ·","ᓩ":"ᓛ·","ᓷ":"ᓭ·","ᓹ":"ᓯ·","ᓻ":"ᓰ·","ᓽ":"ᓱ·","ᓿ":"ᓲ·","ᔁ":"ᓴ·","ᔃ":"ᓵ·","ᔌ":"ᔋ<","ᔍ":"ᔋᑕ","ᔎ":"ᔋᑲ","ᔏ":"ᔋᒐ","ᔘ":"ᔐ·","ᔚ":"ᔑ·","ᔜ":"ᔒ·","ᔞ":"ᔓ·","ᔠ":"ᔔ·","ᔢ":"ᔕ·","ᔤ":"ᔖ·","ᔲ":"ᔨ·","ᔴ":"ᔩ·","ᔶ":"ᔪ·","ᔸ":"ᔫ·","ᔺ":"ᔭ·","ᔼ":"ᔮ·","ᘢ":"ᕃ","ᣠ":"ᕃ·","ᘣ":"ᕆ","ᘤ":"ᕊ","ᕏ":"ᕌ·","ᖁ":"ᕐd","ᕿ":"ᕐP","ᙯ":"ᕐᑫ","ᕾ":"ᕐᑬ","ᖀ":"ᕐᑮ","ᖂ":"ᕐᑰ","ᖃ":"ᕐᑲ","ᖄ":"ᕐᑳ","ᖅ":"ᕐᒃ","ᕜ":"ᕚ·","ᣣ":"ᕞ·","ᣤ":"ᕦ·","ᕩ":"ᕧ·","ᣥ":"ᕫ·","ᣨ":"ᖆ·","ᖑ":"ᖕJ","ᙰ":"ᖕᒉ","ᖎ":"ᖕᒊ","ᖏ":"ᖕᒋ","ᖐ":"ᖕᒌ","ᖒ":"ᖕᒎ","ᖓ":"ᖕᒐ","ᖔ":"ᖕᒑ","ᙳ":"ᖖJ","ᙱ":"ᖖᒋ","ᙲ":"ᖖᒌ","ᙴ":"ᖖᒎ","ᙵ":"ᖖᒐ","ᙶ":"ᖖᒑ","ᣪ":"ᖗ·","ᙷ":"ᖧ·","ᙸ":"ᖨ·","ᙹ":"ᖩ·","ᙺ":"ᖪ·","ᙻ":"ᖫ·","ᙼ":"ᖬ·","ᙽ":"ᖭ·","⪫":"ᗒ","⪪":"ᗕ","ꓷ":"ᗡ","ᣰ":"ᗴ·","ᣲ":"ᘛ·","ᶻ":"ᙆ","ꓭ":"ᙠ","ᶺ":"ᣔ","ᴾ":"ᣖ","ᣜ":"ᣟᐞ","ˡ":"ᣳ","ʳ":"ᣴ","ˢ":"ᣵ","ᣛ":"ᣵ","ꚰ":"ᚹ","ᛡ":"ᚼ","⍿":"ᚽ","ᛂ":"ᚽ","𝈿":"ᛋ","↑":"ᛏ","↿":"ᛐ","⥮":"ᛐ⇂","⥣":"ᛐᛚ","ⵣ":"ᛯ","↾":"ᛚ","⨡":"ᛚ","⋄":"ᛜ","◇":"ᛜ","◊":"ᛜ","♢":"ᛜ","🝔":"ᛜ","𑢷":"ᛜ","𐊔":"ᛜ","⍚":"ᛜ̲","⋈":"ᛞ","⨝":"ᛞ","𐓐":"ᛦ","↕":"ᛨ","𐳼":"𐲂","𐳺":"𐲥","ㄱ":"ᄀ","ᆨ":"ᄀ","ᄁ":"ᄀᄀ","ㄲ":"ᄀᄀ","ᆩ":"ᄀᄀ","ᇺ":"ᄀᄂ","ᅚ":"ᄀᄃ","ᇃ":"ᄀᄅ","ᇻ":"ᄀᄇ","ᆪ":"ᄀᄉ","ㄳ":"ᄀᄉ","ᇄ":"ᄀᄉᄀ","ᇼ":"ᄀᄎ","ᇽ":"ᄀᄏ","ᇾ":"ᄀᄒ","ㄴ":"ᄂ","ᆫ":"ᄂ","ᄓ":"ᄂᄀ","ᇅ":"ᄂᄀ","ᄔ":"ᄂᄂ","ㅥ":"ᄂᄂ","ᇿ":"ᄂᄂ","ᄕ":"ᄂᄃ","ㅦ":"ᄂᄃ","ᇆ":"ᄂᄃ","ퟋ":"ᄂᄅ","ᄖ":"ᄂᄇ","ᅛ":"ᄂᄉ","ᇇ":"ᄂᄉ","ㅧ":"ᄂᄉ","ᅜ":"ᄂᄌ","ᆬ":"ᄂᄌ","ㄵ":"ᄂᄌ","ퟌ":"ᄂᄎ","ᇉ":"ᄂᄐ","ᅝ":"ᄂᄒ","ᆭ":"ᄂᄒ","ㄶ":"ᄂᄒ","ᇈ":"ᄂᅀ","ㅨ":"ᄂᅀ","ㄷ":"ᄃ","ᆮ":"ᄃ","ᄗ":"ᄃᄀ","ᇊ":"ᄃᄀ","ᄄ":"ᄃᄃ","ㄸ":"ᄃᄃ","ퟍ":"ᄃᄃ","ퟎ":"ᄃᄃᄇ","ᅞ":"ᄃᄅ","ᇋ":"ᄃᄅ","ꥠ":"ᄃᄆ","ꥡ":"ᄃᄇ","ퟏ":"ᄃᄇ","ꥢ":"ᄃᄉ","ퟐ":"ᄃᄉ","ퟑ":"ᄃᄉᄀ","ꥣ":"ᄃᄌ","ퟒ":"ᄃᄌ","ퟓ":"ᄃᄎ","ퟔ":"ᄃᄐ","ㄹ":"ᄅ","ᆯ":"ᄅ","ꥤ":"ᄅᄀ","ᆰ":"ᄅᄀ","ㄺ":"ᄅᄀ","ꥥ":"ᄅᄀᄀ","ퟕ":"ᄅᄀᄀ","ᇌ":"ᄅᄀᄉ","ㅩ":"ᄅᄀᄉ","ퟖ":"ᄅᄀᄒ","ᄘ":"ᄅᄂ","ᇍ":"ᄅᄂ","ꥦ":"ᄅᄃ","ᇎ":"ᄅᄃ","ㅪ":"ᄅᄃ","ꥧ":"ᄅᄃᄃ","ᇏ":"ᄅᄃᄒ","ᄙ":"ᄅᄅ","ᇐ":"ᄅᄅ","ퟗ":"ᄅᄅᄏ","ꥨ":"ᄅᄆ","ᆱ":"ᄅᄆ","ㄻ":"ᄅᄆ","ᇑ":"ᄅᄆᄀ","ᇒ":"ᄅᄆᄉ","ퟘ":"ᄅᄆᄒ","ꥩ":"ᄅᄇ","ᆲ":"ᄅᄇ","ㄼ":"ᄅᄇ","ퟙ":"ᄅᄇᄃ","ꥪ":"ᄅᄇᄇ","ᇓ":"ᄅᄇᄉ","ㅫ":"ᄅᄇᄉ","ꥫ":"ᄅᄇᄋ","ᇕ":"ᄅᄇᄋ","ퟚ":"ᄅᄇᄑ","ᇔ":"ᄅᄇᄒ","ꥬ":"ᄅᄉ","ᆳ":"ᄅᄉ","ㄽ":"ᄅᄉ","ᇖ":"ᄅᄉᄉ","ᄛ":"ᄅᄋ","ퟝ":"ᄅᄋ","ꥭ":"ᄅᄌ","ꥮ":"ᄅᄏ","ᇘ":"ᄅᄏ","ᆴ":"ᄅᄐ","ㄾ":"ᄅᄐ","ᆵ":"ᄅᄑ","ㄿ":"ᄅᄑ","ᄚ":"ᄅᄒ","ㅀ":"ᄅᄒ","ᄻ":"ᄅᄒ","ᆶ":"ᄅᄒ","ퟲ":"ᄅᄒ","ᇗ":"ᄅᅀ","ㅬ":"ᄅᅀ","ퟛ":"ᄅᅌ","ᇙ":"ᄅᅙ","ㅭ":"ᄅᅙ","ퟜ":"ᄅᅙᄒ","ㅁ":"ᄆ","ᆷ":"ᄆ","ꥯ":"ᄆᄀ","ᇚ":"ᄆᄀ","ퟞ":"ᄆᄂ","ퟟ":"ᄆᄂᄂ","ꥰ":"ᄆᄃ","ᇛ":"ᄆᄅ","ퟠ":"ᄆᄆ","ᄜ":"ᄆᄇ","ㅮ":"ᄆᄇ","ᇜ":"ᄆᄇ","ퟡ":"ᄆᄇᄉ","ꥱ":"ᄆᄉ","ᇝ":"ᄆᄉ","ㅯ":"ᄆᄉ","ᇞ":"ᄆᄉᄉ","ᄝ":"ᄆᄋ","ㅱ":"ᄆᄋ","ᇢ":"ᄆᄋ","ퟢ":"ᄆᄌ","ᇠ":"ᄆᄎ","ᇡ":"ᄆᄒ","ᇟ":"ᄆᅀ","ㅰ":"ᄆᅀ","ㅂ":"ᄇ","ᆸ":"ᄇ","ᄞ":"ᄇᄀ","ㅲ":"ᄇᄀ","ᄟ":"ᄇᄂ","ᄠ":"ᄇᄃ","ㅳ":"ᄇᄃ","ퟣ":"ᄇᄃ","ᇣ":"ᄇᄅ","ퟤ":"ᄇᄅᄑ","ퟥ":"ᄇᄆ","ᄈ":"ᄇᄇ","ㅃ":"ᄇᄇ","ퟦ":"ᄇᄇ","ᄬ":"ᄇᄇᄋ","ㅹ":"ᄇᄇᄋ","ᄡ":"ᄇᄉ","ㅄ":"ᄇᄉ","ᆹ":"ᄇᄉ","ᄢ":"ᄇᄉᄀ","ㅴ":"ᄇᄉᄀ","ᄣ":"ᄇᄉᄃ","ㅵ":"ᄇᄉᄃ","ퟧ":"ᄇᄉᄃ","ᄤ":"ᄇᄉᄇ","ᄥ":"ᄇᄉᄉ","ᄦ":"ᄇᄉᄌ","ꥲ":"ᄇᄉᄐ","ᄫ":"ᄇᄋ","ㅸ":"ᄇᄋ","ᇦ":"ᄇᄋ","ᄧ":"ᄇᄌ","ㅶ":"ᄇᄌ","ퟨ":"ᄇᄌ","ᄨ":"ᄇᄎ","ퟩ":"ᄇᄎ","ꥳ":"ᄇᄏ","ᄩ":"ᄇᄐ","ㅷ":"ᄇᄐ","ᄪ":"ᄇᄑ","ᇤ":"ᄇᄑ","ꥴ":"ᄇᄒ","ᇥ":"ᄇᄒ","ㅅ":"ᄉ","ᆺ":"ᄉ","ᄭ":"ᄉᄀ","ㅺ":"ᄉᄀ","ᇧ":"ᄉᄀ","ᄮ":"ᄉᄂ","ㅻ":"ᄉᄂ","ᄯ":"ᄉᄃ","ㅼ":"ᄉᄃ","ᇨ":"ᄉᄃ","ᄰ":"ᄉᄅ","ᇩ":"ᄉᄅ","ᄱ":"ᄉᄆ","ퟪ":"ᄉᄆ","ᄲ":"ᄉᄇ","ㅽ":"ᄉᄇ","ᇪ":"ᄉᄇ","ᄳ":"ᄉᄇᄀ","ퟫ":"ᄉᄇᄋ","ᄊ":"ᄉᄉ","ㅆ":"ᄉᄉ","ᆻ":"ᄉᄉ","ퟬ":"ᄉᄉᄀ","ퟭ":"ᄉᄉᄃ","ꥵ":"ᄉᄉᄇ","ᄴ":"ᄉᄉᄉ","ᄵ":"ᄉᄋ","ᄶ":"ᄉᄌ","ㅾ":"ᄉᄌ","ퟯ":"ᄉᄌ","ᄷ":"ᄉᄎ","ퟰ":"ᄉᄎ","ᄸ":"ᄉᄏ","ᄹ":"ᄉᄐ","ퟱ":"ᄉᄐ","ᄺ":"ᄉᄑ","ퟮ":"ᄉᅀ","ㅇ":"ᄋ","ᆼ":"ᄋ","ᅁ":"ᄋᄀ","ᇬ":"ᄋᄀ","ᇭ":"ᄋᄀᄀ","ᅂ":"ᄋᄃ","ꥶ":"ᄋᄅ","ᅃ":"ᄋᄆ","ᅄ":"ᄋᄇ","ᅅ":"ᄋᄉ","ᇱ":"ᄋᄉ","ㆂ":"ᄋᄉ","ᅇ":"ᄋᄋ","ㆀ":"ᄋᄋ","ᇮ":"ᄋᄋ","ᅈ":"ᄋᄌ","ᅉ":"ᄋᄎ","ᇯ":"ᄋᄏ","ᅊ":"ᄋᄐ","ᅋ":"ᄋᄑ","ꥷ":"ᄋᄒ","ᅆ":"ᄋᅀ","ᇲ":"ᄋᅀ","ㆃ":"ᄋᅀ","ㅈ":"ᄌ","ᆽ":"ᄌ","ퟷ":"ᄌᄇ","ퟸ":"ᄌᄇᄇ","ᅍ":"ᄌᄋ","ᄍ":"ᄌᄌ","ㅉ":"ᄌᄌ","ퟹ":"ᄌᄌ","ꥸ":"ᄌᄌᄒ","ㅊ":"ᄎ","ᆾ":"ᄎ","ᅒ":"ᄎᄏ","ᅓ":"ᄎᄒ","ㅋ":"ᄏ","ᆿ":"ᄏ","ㅌ":"ᄐ","ᇀ":"ᄐ","ꥹ":"ᄐᄐ","ㅍ":"ᄑ","ᇁ":"ᄑ","ᅖ":"ᄑᄇ","ᇳ":"ᄑᄇ","ퟺ":"ᄑᄉ","ᅗ":"ᄑᄋ","ㆄ":"ᄑᄋ","ᇴ":"ᄑᄋ","ퟻ":"ᄑᄐ","ꥺ":"ᄑᄒ","ㅎ":"ᄒ","ᇂ":"ᄒ","ᇵ":"ᄒᄂ","ᇶ":"ᄒᄅ","ᇷ":"ᄒᄆ","ᇸ":"ᄒᄇ","ꥻ":"ᄒᄉ","ᅘ":"ᄒᄒ","ㆅ":"ᄒᄒ","ᄽ":"ᄼᄼ","ᄿ":"ᄾᄾ","ㅿ":"ᅀ","ᇫ":"ᅀ","ퟳ":"ᅀᄇ","ퟴ":"ᅀᄇᄋ","ㆁ":"ᅌ","ᇰ":"ᅌ","ퟵ":"ᅌᄆ","ퟶ":"ᅌᄒ","ᅏ":"ᅎᅎ","ᅑ":"ᅐᅐ","ㆆ":"ᅙ","ᇹ":"ᅙ","ꥼ":"ᅙᅙ","ㅤ":"ᅠ","ㅏ":"ᅡ","ᆣ":"ᅡー","ᅶ":"ᅡᅩ","ᅷ":"ᅡᅮ","ᅢ":"ᅡ丨","ㅐ":"ᅡ丨","ㅑ":"ᅣ","ᅸ":"ᅣᅩ","ᅹ":"ᅣᅭ","ᆤ":"ᅣᅮ","ᅤ":"ᅣ丨","ㅒ":"ᅣ丨","ㅓ":"ᅥ","ᅼ":"ᅥー","ᅺ":"ᅥᅩ","ᅻ":"ᅥᅮ","ᅦ":"ᅥ丨","ㅔ":"ᅥ丨","ㅕ":"ᅧ","ᆥ":"ᅧᅣ","ᅽ":"ᅧᅩ","ᅾ":"ᅧᅮ","ᅨ":"ᅧ丨","ㅖ":"ᅧ丨","ㅗ":"ᅩ","ᅪ":"ᅩᅡ","ㅘ":"ᅩᅡ","ᅫ":"ᅩᅡ丨","ㅙ":"ᅩᅡ丨","ᆦ":"ᅩᅣ","ᆧ":"ᅩᅣ丨","ᅿ":"ᅩᅥ","ᆀ":"ᅩᅥ丨","ힰ":"ᅩᅧ","ᆁ":"ᅩᅧ丨","ᆂ":"ᅩᅩ","ힱ":"ᅩᅩ丨","ᆃ":"ᅩᅮ","ᅬ":"ᅩ丨","ㅚ":"ᅩ丨","ㅛ":"ᅭ","ힲ":"ᅭᅡ","ힳ":"ᅭᅡ丨","ᆄ":"ᅭᅣ","ㆇ":"ᅭᅣ","ᆆ":"ᅭᅣ","ᆅ":"ᅭᅣ丨","ㆈ":"ᅭᅣ丨","ힴ":"ᅭᅥ","ᆇ":"ᅭᅩ","ᆈ":"ᅭ丨","ㆉ":"ᅭ丨","ㅜ":"ᅮ","ᆉ":"ᅮᅡ","ᆊ":"ᅮᅡ丨","ᅯ":"ᅮᅥ","ㅝ":"ᅮᅥ","ᆋ":"ᅮᅥー","ᅰ":"ᅮᅥ丨","ㅞ":"ᅮᅥ丨","ힵ":"ᅮᅧ","ᆌ":"ᅮᅧ丨","ᆍ":"ᅮᅮ","ᅱ":"ᅮ丨","ㅟ":"ᅮ丨","ힶ":"ᅮ丨丨","ㅠ":"ᅲ","ᆎ":"ᅲᅡ","ힷ":"ᅲᅡ丨","ᆏ":"ᅲᅥ","ᆐ":"ᅲᅥ丨","ᆑ":"ᅲᅧ","ㆊ":"ᅲᅧ","ᆒ":"ᅲᅧ丨","ㆋ":"ᅲᅧ丨","ힸ":"ᅲᅩ","ᆓ":"ᅲᅮ","ᆔ":"ᅲ丨","ㆌ":"ᅲ丨","ㆍ":"ᆞ","ퟅ":"ᆞᅡ","ᆟ":"ᆞᅥ","ퟆ":"ᆞᅥ丨","ᆠ":"ᆞᅮ","ᆢ":"ᆞᆞ","ᆡ":"ᆞ丨","ㆎ":"ᆞ丨","ヘ":"へ","⍁":"〼","⧄":"〼","꒞":"ꁊ","꒬":"ꁐ","꒜":"ꃀ","꒨":"ꄲ","꒿":"ꉙ","꒾":"ꊱ","꒔":"ꋍ","꓀":"ꎫ","꓂":"ꎵ","꒺":"ꎿ","꒰":"ꏂ","꒧":"ꑘ","⊥":"ꓕ","⟂":"ꓕ","𝈜":"ꓕ","Ʇ":"ꓕ","Ꞟ":"ꓤ","⅁":"ꓨ","⅂":"ꓶ","𝈕":"ꓶ","𝈫":"ꓶ","𖼦":"ꓶ","𐐑":"ꓶ","⅃":"𖼀","𑫦":"𑫥𑫯","𑫨":"𑫥𑫥","𑫩":"𑫥𑫥𑫯","𑫪":"𑫥𑫥𑫰","𑫧":"𑫥𑫰","𑫴":"𑫳𑫯","𑫶":"𑫳𑫳","𑫷":"𑫳𑫳𑫯","𑫸":"𑫳𑫳𑫰","𑫵":"𑫳𑫰","𑫬":"𑫫𑫯","𑫭":"𑫫𑫫","𑫮":"𑫫𑫫𑫯","⊕":"𐊨","⨁":"𐊨","🜨":"𐊨","Ꚛ":"𐊨","▽":"𐊼","𝈔":"𐊼","🜄":"𐊼","⧖":"𐋀","ꞛ":"𐐺","Ꞛ":"𐐒","𐒠":"𐒆","𐏑":"𐎂","𐏓":"𐎓","𒀸":"𐎚","☥":"𐦞","𓋹":"𐦞","〹":"卄","不":"不","丽":"丽","並":"並","⎜":"丨","⎟":"丨","⎢":"丨","⎥":"丨","⎪":"丨","⎮":"丨","㇑":"丨","ᅵ":"丨","ㅣ":"丨","⼁":"丨","ᆜ":"丨ー","ᆘ":"丨ᅡ","ᆙ":"丨ᅣ","ힽ":"丨ᅣᅩ","ힾ":"丨ᅣ丨","ힿ":"丨ᅧ","ퟀ":"丨ᅧ丨","ᆚ":"丨ᅩ","ퟁ":"丨ᅩ丨","ퟂ":"丨ᅭ","ᆛ":"丨ᅮ","ퟃ":"丨ᅲ","ᆝ":"丨ᆞ","ퟄ":"丨丨","串":"串","丸":"丸","丹":"丹","乁":"乁","㇠":"乙","⼄":"乙","㇟":"乚","⺃":"乚","㇖":"乛","⺂":"乛","⻲":"亀","亂":"亂","㇚":"亅","⼅":"亅","了":"了","ニ":"二","⼆":"二","𠄢":"𠄢","⼇":"亠","亮":"亮","⼈":"人","イ":"亻","⺅":"亻","什":"什","仌":"仌","令":"令","你":"你","倂":"併","倂":"併","侀":"侀","來":"來","例":"例","侮":"侮","侮":"侮","侻":"侻","便":"便","值":"値","倫":"倫","偺":"偺","備":"備","像":"像","僚":"僚","僧":"僧","僧":"僧","㒞":"㒞","⼉":"儿","兀":"兀","⺎":"兀","充":"充","免":"免","免":"免","兔":"兔","兤":"兤","⼊":"入","內":"內","全":"全","兩":"兩","ハ":"八","⼋":"八","六":"六","具":"具","𠔜":"𠔜","𠔥":"𠔥","冀":"冀","㒹":"㒹","⼌":"冂","再":"再","𠕋":"𠕋","冒":"冒","冕":"冕","㒻":"㒻","最":"最","⼍":"冖","冗":"冗","冤":"冤","⼎":"冫","冬":"冬","况":"况","况":"况","冷":"冷","凉":"凉","凌":"凌","凜":"凜","凞":"凞","⼏":"几","𠘺":"𠘺","凵":"凵","⼐":"凵","⼑":"刀","⺉":"刂","刃":"刃","切":"切","切":"切","列":"列","利":"利","㓟":"㓟","刺":"刺","刻":"刻","剆":"剆","割":"割","剷":"剷","劉":"劉","𠠄":"𠠄","カ":"力","力":"力","⼒":"力","劣":"劣","㔕":"㔕","劳":"劳","勇":"勇","勇":"勇","勉":"勉","勉":"勉","勒":"勒","勞":"勞","勤":"勤","勤":"勤","勵":"勵","⼓":"勹","勺":"勺","勺":"勺","包":"包","匆":"匆","𠣞":"𠣞","⼔":"匕","北":"北","北":"北","⼕":"匚","⼖":"匸","匿":"匿","⼗":"十","〸":"十","〺":"卅","卉":"卉","࿖":"卍","࿕":"卐","卑":"卑","卑":"卑","博":"博","ト":"卜","⼘":"卜","⼙":"卩","⺋":"㔾","即":"即","卵":"卵","卽":"卽","卿":"卿","卿":"卿","卿":"卿","⼚":"厂","𠨬":"𠨬","⼛":"厶","參":"參","⼜":"又","及":"及","叟":"叟","𠭣":"𠭣","ロ":"口","⼝":"口","囗":"口","⼞":"口","句":"句","叫":"叫","叱":"叱","吆":"吆","吏":"吏","吝":"吝","吸":"吸","呂":"呂","呈":"呈","周":"周","咞":"咞","咢":"咢","咽":"咽","䎛":"㖈","哶":"哶","唐":"唐","啓":"啓","啟":"啓","啕":"啕","啣":"啣","善":"善","善":"善","喇":"喇","喙":"喙","喙":"喙","喝":"喝","喝":"喝","喫":"喫","喳":"喳","嗀":"嗀","嗂":"嗂","嗢":"嗢","嘆":"嘆","嘆":"嘆","噑":"噑","噴":"噴","器":"器","囹":"囹","圖":"圖","圗":"圗","⼟":"土","士":"土","⼠":"土","型":"型","城":"城","㦳":"㘽","埴":"埴","堍":"堍","報":"報","堲":"堲","塀":"塀","塚":"塚","塚":"塚","塞":"塞","填":"塡","壿":"墫","墬":"墬","墳":"墳","壘":"壘","壟":"壟","𡓤":"𡓤","壮":"壮","売":"売","壷":"壷","⼡":"夂","夆":"夆","⼢":"夊","タ":"夕","⼣":"夕","多":"多","夢":"夢","⼤":"大","奄":"奄","奈":"奈","契":"契","奔":"奔","奢":"奢","女":"女","⼥":"女","𡚨":"𡚨","𡛪":"𡛪","姘":"姘","姬":"姬","娛":"娛","娧":"娧","婢":"婢","婦":"婦","嬀":"媯","㛮":"㛮","㛼":"㛼","媵":"媵","嬈":"嬈","嬨":"嬨","嬾":"嬾","嬾":"嬾","⼦":"子","⼧":"宀","宅":"宅","𡧈":"𡧈","寃":"寃","寘":"寘","寧":"寧","寧":"寧","寧":"寧","寮":"寮","寳":"寳","𡬘":"𡬘","⼨":"寸","寿":"寿","将":"将","⼩":"小","尢":"尢","⺐":"尢","⼪":"尢","⺏":"尣","㞁":"㞁","⼫":"尸","尿":"尿","屠":"屠","屢":"屢","層":"層","履":"履","屮":"屮","屮":"屮","⼬":"屮","𡴋":"𡴋","⼭":"山","峀":"峀","岍":"岍","𡷤":"𡷤","𡷦":"𡷦","崙":"崙","嵃":"嵃","嵐":"嵐","嵫":"嵫","嵮":"嵮","嵼":"嵼","嶲":"嶲","嶺":"嶺","⼮":"巛","巢":"巢","エ":"工","⼯":"工","⼰":"己","⺒":"巳","㠯":"㠯","巽":"巽","⼱":"巾","帲":"帡","帨":"帨","帽":"帽","幩":"幩","㡢":"㡢","𢆃":"𢆃","⼲":"干","年":"年","𢆟":"𢆟","⺓":"幺","⼳":"幺","⼴":"广","度":"度","㡼":"㡼","庰":"庰","庳":"庳","庶":"庶","廊":"廊","廊":"廊","廉":"廉","廒":"廒","廓":"廓","廙":"廙","廬":"廬","⼵":"廴","廾":"廾","⼶":"廾","𢌱":"𢌱","𢌱":"𢌱","弄":"弄","⼷":"弋","⼸":"弓","弢":"弢","弢":"弢","⼹":"彐","⺔":"彑","当":"当","㣇":"㣇","⼺":"彡","形":"形","彩":"彩","彫":"彫","⼻":"彳","律":"律","㣣":"㣣","徚":"徚","復":"復","徭":"徭","⼼":"心","⺖":"忄","⺗":"㣺","忍":"忍","志":"志","念":"念","忹":"忹","怒":"怒","怜":"怜","恵":"恵","㤜":"㤜","㤺":"㤺","悁":"悁","悔":"悔","悔":"悔","惇":"惇","惘":"惘","惡":"惡","𢛔":"𢛔","愈":"愈","慨":"慨","慄":"慄","慈":"慈","慌":"慌","慌":"慌","慎":"慎","慎":"慎","慠":"慠","慺":"慺","憎":"憎","憎":"憎","憎":"憎","憐":"憐","憤":"憤","憯":"憯","憲":"憲","𢡄":"𢡄","𢡊":"𢡊","懞":"懞","懲":"懲","懲":"懲","懲":"懲","懶":"懶","懶":"懶","戀":"戀","⼽":"戈","成":"成","戛":"戛","戮":"戮","戴":"戴","⼾":"戶","戸":"戶","⼿":"手","⺘":"扌","扝":"扝","抱":"抱","拉":"拉","拏":"拏","拓":"拓","拔":"拔","拼":"拼","拾":"拾","𢬌":"𢬌","挽":"挽","捐":"捐","捨":"捨","捻":"捻","掃":"掃","掠":"掠","掩":"掩","揄":"揄","揤":"揤","摒":"摒","𢯱":"𢯱","搜":"搜","搢":"搢","揅":"揅","摩":"摩","摷":"摷","摾":"摾","㨮":"㨮","搉":"㩁","撚":"撚","撝":"撝","擄":"擄","㩬":"㩬","⽀":"支","⽁":"攴","⺙":"攵","敏":"敏","敏":"敏","敖":"敖","敬":"敬","數":"數","𣀊":"𣀊","⽂":"文","⻫":"斉","⽃":"斗","料":"料","⽄":"斤","⽅":"方","旅":"旅","⽆":"无","⺛":"旡","既":"既","旣":"旣","⽇":"日","易":"易","曶":"㫚","㫤":"㫤","晉":"晉","晩":"晚","晴":"晴","晴":"晴","暑":"暑","暑":"暑","暈":"暈","㬈":"㬈","暜":"暜","暴":"暴","曆":"曆","㬙":"㬙","𣊸":"𣊸","⽈":"曰","更":"更","書":"書","⽉":"月","𣍟":"𣍟","肦":"朌","胐":"朏","胊":"朐","脁":"朓","胶":"㬵","朗":"朗","朗":"朗","朗":"朗","脧":"朘","望":"望","望":"望","朡":"朡","幐":"㬺","䐠":"㬻","𣎓":"𣎓","膧":"朣","𣎜":"𣎜","⽊":"木","李":"李","杓":"杓","杖":"杖","杞":"杞","𣏃":"𣏃","柿":"杮","杻":"杻","枅":"枅","林":"林","㭉":"㭉","𣏕":"𣏕","柳":"柳","柺":"柺","栗":"栗","栟":"栟","桒":"桒","𣑭":"𣑭","梁":"梁","梅":"梅","梅":"梅","梎":"梎","梨":"梨","椔":"椔","楂":"楂","㮝":"㮝","㮝":"㮝","槩":"㮣","樧":"榝","榣":"榣","槪":"槪","樂":"樂","樂":"樂","樂":"樂","樓":"樓","𣚣":"𣚣","檨":"檨","櫓":"櫓","櫛":"櫛","欄":"欄","㰘":"㰘","⽋":"欠","次":"次","𣢧":"𣢧","歔":"歔","㱎":"㱎","⽌":"止","⻭":"歯","歲":"歲","歷":"歷","歹":"歹","⽍":"歹","⺞":"歺","殟":"殟","殮":"殮","⽎":"殳","殺":"殺","殺":"殺","殺":"殺","殻":"殻","𣪍":"𣪍","⽏":"毋","⺟":"母","𣫺":"𣫺","⽐":"比","⽑":"毛","⽒":"氏","⺠":"民","⽓":"气","⽔":"水","⺡":"氵","⺢":"氺","汎":"汎","汧":"汧","沈":"沈","沿":"沿","泌":"泌","泍":"泍","泥":"泥","𣲼":"𣲼","洛":"洛","洞":"洞","洴":"洴","派":"派","流":"流","流":"流","流":"流","洖":"洖","浩":"浩","浪":"浪","海":"海","海":"海","浸":"浸","涅":"涅","𣴞":"𣴞","淋":"淋","淚":"淚","淪":"淪","淹":"淹","渚":"渚","港":"港","湮":"湮","潙":"溈","滋":"滋","滋":"滋","溜":"溜","溺":"溺","滇":"滇","滑":"滑","滛":"滛","㴳":"㴳","漏":"漏","漢":"漢","漢":"漢","漣":"漣","𣻑":"𣻑","潮":"潮","𣽞":"𣽞","𣾎":"𣾎","濆":"濆","濫":"濫","濾":"濾","瀛":"瀛","瀞":"瀞","瀞":"瀞","瀹":"瀹","灊":"灊","㶖":"㶖","⽕":"火","⺣":"灬","灰":"灰","灷":"灷","災":"災","炙":"炙","炭":"炭","烈":"烈","烙":"烙","煮":"煮","煮":"煮","𤉣":"𤉣","煅":"煅","煉":"煉","𤋮":"𤋮","熜":"熜","燎":"燎","燐":"燐","𤎫":"𤎫","爐":"爐","爛":"爛","爨":"爨","⽖":"爪","爫":"爫","⺤":"爫","爵":"爵","爵":"爵","⽗":"父","⽘":"爻","⺦":"丬","⽙":"爿","⽚":"片","牐":"牐","⽛":"牙","𤘈":"𤘈","⽜":"牛","牢":"牢","犀":"犀","犕":"犕","⽝":"犬","⺨":"犭","犯":"犯","狀":"狀","𤜵":"𤜵","狼":"狼","猪":"猪","猪":"猪","𤠔":"𤠔","獵":"獵","獺":"獺","⽞":"玄","率":"率","率":"率","⽟":"玉","王":"王","㺬":"㺬","玥":"玥","玲":"玲","㺸":"㺸","㺸":"㺸","珞":"珞","琉":"琉","理":"理","琢":"琢","瑇":"瑇","瑜":"瑜","瑩":"瑩","瑱":"瑱","瑱":"瑱","璅":"璅","璉":"璉","璘":"璘","瓊":"瓊","⽠":"瓜","⽡":"瓦","㼛":"㼛","甆":"甆","⽢":"甘","⽣":"生","甤":"甤","⽤":"用","⽥":"田","画":"画","甾":"甾","𤰶":"𤰶","留":"留","略":"略","異":"異","異":"異","𤲒":"𤲒","⽦":"疋","⽧":"疒","痢":"痢","瘐":"瘐","瘟":"瘟","瘝":"瘝","療":"療","癩":"癩","⽨":"癶","⽩":"白","𤾡":"𤾡","𤾸":"𤾸","⽪":"皮","⽫":"皿","𥁄":"𥁄","㿼":"㿼","益":"益","益":"益","盛":"盛","盧":"盧","䀈":"䀈","⽬":"目","直":"直","直":"直","𥃲":"𥃲","𥃳":"𥃳","省":"省","䀘":"䀘","𥄙":"𥄙","眞":"眞","真":"真","真":"真","𥄳":"𥄳","着":"着","睊":"睊","睊":"睊","鿃":"䀹","䀹":"䀹","䀹":"䀹","晣":"䀿","䁆":"䁆","瞋":"瞋","𥉉":"𥉉","瞧":"瞧","⽭":"矛","⽮":"矢","⽯":"石","䂖":"䂖","𥐝":"𥐝","硏":"研","硎":"硎","硫":"硫","碌":"碌","碌":"碌","碑":"碑","磊":"磊","磌":"磌","磌":"磌","磻":"磻","䃣":"䃣","礪":"礪","⽰":"示","⺭":"礻","礼":"礼","社":"社","祈":"祈","祉":"祉","𥘦":"𥘦","祐":"祐","祖":"祖","祖":"祖","祝":"祝","神":"神","祥":"祥","視":"視","視":"視","祿":"祿","𥚚":"𥚚","禍":"禍","禎":"禎","福":"福","福":"福","𥛅":"𥛅","禮":"禮","⽱":"禸","⽲":"禾","秊":"秊","䄯":"䄯","秫":"秫","稜":"稜","穊":"穊","穀":"穀","穀":"穀","穏":"穏","⽳":"穴","突":"突","𥥼":"𥥼","窱":"窱","立":"立","⽴":"立","⻯":"竜","𥪧":"𥪧","𥪧":"𥪧","竮":"竮","⽵":"竹","笠":"笠","節":"節","節":"節","䈂":"䈂","𥮫":"𥮫","篆":"篆","䈧":"䈧","築":"築","𥲀":"𥲀","𥳐":"𥳐","簾":"簾","籠":"籠","⽶":"米","类":"类","粒":"粒","精":"精","糒":"糒","糖":"糖","糨":"糨","䊠":"䊠","糣":"糣","糧":"糧","⽷":"糸","⺯":"糹","𥾆":"𥾆","紀":"紀","紐":"紐","索":"索","累":"累","絶":"絕","絣":"絣","絛":"絛","綠":"綠","綾":"綾","緇":"緇","練":"練","練":"練","練":"練","縂":"縂","䌁":"䌁","縉":"縉","縷":"縷","繁":"繁","繅":"繅","𦇚":"𦇚","䌴":"䌴","⽸":"缶","𦈨":"𦈨","缾":"缾","𦉇":"𦉇","⽹":"网","⺫":"罒","⺲":"罒","⺱":"罓","䍙":"䍙","署":"署","𦋙":"𦋙","罹":"罹","罺":"罺","羅":"羅","𦌾":"𦌾","⽺":"羊","羕":"羕","羚":"羚","羽":"羽","⽻":"羽","翺":"翺","老":"老","⽼":"老","⺹":"耂","者":"者","者":"者","者":"者","⽽":"而","𦓚":"𦓚","⽾":"耒","𦔣":"𦔣","⽿":"耳","聆":"聆","聠":"聠","𦖨":"𦖨","聯":"聯","聰":"聰","聾":"聾","⾀":"聿","⺺":"肀","⾁":"肉","肋":"肋","肭":"肭","育":"育","䏕":"䏕","䏙":"䏙","腁":"胼","脃":"脃","脾":"脾","䐋":"䐋","𦞧":"𦞧","𦞵":"𦞵","朦":"䑃","臘":"臘","⾂":"臣","臨":"臨","⾃":"自","臭":"臭","⾄":"至","⾅":"臼","舁":"舁","舁":"舁","舄":"舄","⾆":"舌","舘":"舘","⾇":"舛","⾈":"舟","䑫":"䑫","⾉":"艮","良":"良","⾊":"色","⾋":"艸","艹":"艹","艹":"艹","⺾":"艹","⺿":"艹","⻀":"艹","芋":"芋","芑":"芑","芝":"芝","花":"花","芳":"芳","芽":"芽","若":"若","若":"若","苦":"苦","𦬼":"𦬼","茶":"茶","荒":"荒","荣":"荣","茝":"茝","茣":"茣","莽":"莽","荓":"荓","菉":"菉","菊":"菊","菌":"菌","菜":"菜","菧":"菧","華":"華","菱":"菱","著":"著","著":"著","𦰶":"𦰶","莭":"莭","落":"落","葉":"葉","蔿":"蒍","𦳕":"𦳕","𦵫":"𦵫","蓮":"蓮","蓱":"蓱","蓳":"蓳","蓼":"蓼","蔖":"蔖","䔫":"䔫","蕤":"蕤","𦼬":"𦼬","藍":"藍","䕝":"䕝","𦾱":"𦾱","䕡":"䕡","藺":"藺","蘆":"蘆","䕫":"䕫","蘒":"蘒","蘭":"蘭","𧃒":"𧃒","虁":"蘷","蘿":"蘿","⾌":"虍","⻁":"虎","虐":"虐","虜":"虜","虜":"虜","虧":"虧","虩":"虩","⾍":"虫","蚩":"蚩","蚈":"蚈","蛢":"蛢","蜎":"蜎","蜨":"蜨","蝫":"蝫","蟡":"蟡","蝹":"蝹","蝹":"蝹","螆":"螆","䗗":"䗗","𧏊":"𧏊","螺":"螺","蠁":"蠁","䗹":"䗹","蠟":"蠟","⾎":"血","行":"行","⾏":"行","衠":"衠","衣":"衣","⾐":"衣","⻂":"衤","裂":"裂","𧙧":"𧙧","裏":"裏","裗":"裗","裞":"裞","裡":"裡","裸":"裸","裺":"裺","䘵":"䘵","褐":"褐","襁":"襁","襤":"襤","⾑":"襾","⻄":"西","⻃":"覀","覆":"覆","見":"見","⾒":"見","𧢮":"𧢮","⻅":"见","⾓":"角","⾔":"言","𧥦":"𧥦","詽":"訮","訞":"䚶","䚾":"䚾","䛇":"䛇","誠":"誠","說":"說","說":"說","調":"調","請":"請","諒":"諒","論":"論","諭":"諭","諭":"諭","諸":"諸","諸":"諸","諾":"諾","諾":"諾","謁":"謁","謁":"謁","謹":"謹","謹":"謹","識":"識","讀":"讀","讏":"讆","變":"變","變":"變","⻈":"讠","⾕":"谷","⾖":"豆","豈":"豈","豕":"豕","⾗":"豕","豣":"豜","⾘":"豸","𧲨":"𧲨","⾙":"貝","貫":"貫","賁":"賁","賂":"賂","賈":"賈","賓":"賓","贈":"贈","贈":"贈","贛":"贛","⻉":"贝","⾚":"赤","⾛":"走","起":"起","趆":"赿","𧻓":"𧻓","𧼯":"𧼯","⾜":"足","跋":"跋","趼":"趼","跺":"跥","路":"路","跰":"跰","躛":"躗","⾝":"身","車":"車","⾞":"車","軔":"軔","輧":"軿","輦":"輦","輪":"輪","輸":"輸","輸":"輸","輻":"輻","轢":"轢","⻋":"车","⾟":"辛","辞":"辞","辰":"辰","⾠":"辰","⾡":"辵","辶":"辶","⻌":"辶","⻍":"辶","巡":"巡","連":"連","逸":"逸","逸":"逸","遲":"遲","遼":"遼","𨗒":"𨗒","𨗭":"𨗭","邏":"邏","⾢":"邑","邔":"邔","郎":"郎","郞":"郎","郞":"郎","郱":"郱","都":"都","𨜮":"𨜮","鄑":"鄑","鄛":"鄛","⾣":"酉","酪":"酪","醙":"醙","醴":"醴","⾤":"釆","里":"里","⾥":"里","量":"量","金":"金","⾦":"金","鈴":"鈴","鈸":"鈸","鉶":"鉶","鋗":"鋗","鋘":"鋘","鉼":"鉼","錄":"錄","鍊":"鍊","鎮":"鎭","鏹":"鏹","鐕":"鐕","𨯺":"𨯺","⻐":"钅","⻑":"長","⾧":"長","⻒":"镸","⻓":"长","⾨":"門","開":"開","䦕":"䦕","閭":"閭","閷":"閷","𨵷":"𨵷","⻔":"门","⾩":"阜","⻏":"阝","⻖":"阝","阮":"阮","陋":"陋","降":"降","陵":"陵","陸":"陸","陼":"陼","隆":"隆","隣":"隣","䧦":"䧦","⾪":"隶","隷":"隷","隸":"隷","隸":"隷","⾫":"隹","雃":"雃","離":"離","難":"難","難":"難","⾬":"雨","零":"零","雷":"雷","霣":"霣","𩅅":"𩅅","露":"露","靈":"靈","⾭":"靑","⻘":"青","靖":"靖","靖":"靖","𩇟":"𩇟","⾮":"非","⾯":"面","𩈚":"𩈚","⾰":"革","䩮":"䩮","䩶":"䩶","⾱":"韋","韛":"韛","韠":"韠","⻙":"韦","⾲":"韭","𩐊":"𩐊","⾳":"音","響":"響","響":"響","⾴":"頁","䪲":"䪲","頋":"頋","頋":"頋","頋":"頋","領":"領","頩":"頩","𩒖":"𩒖","頻":"頻","頻":"頻","類":"類","⻚":"页","⾵":"風","𩖶":"𩖶","⻛":"风","⾶":"飛","⻜":"飞","⻝":"食","⾷":"食","⻟":"飠","飢":"飢","飯":"飯","飼":"飼","䬳":"䬳","館":"館","餩":"餩","⻠":"饣","⾸":"首","⾹":"香","馧":"馧","⾺":"馬","駂":"駂","駱":"駱","駾":"駾","驪":"驪","⻢":"马","⾻":"骨","䯎":"䯎","⾼":"高","⾽":"髟","𩬰":"𩬰","鬒":"鬒","鬒":"鬒","⾾":"鬥","⾿":"鬯","⿀":"鬲","⿁":"鬼","⻤":"鬼","⿂":"魚","魯":"魯","鱀":"鱀","鱗":"鱗","⻥":"鱼","⿃":"鳥","鳽":"鳽","䳎":"䳎","鵧":"鵧","䳭":"䳭","𪃎":"𪃎","鶴":"鶴","𪄅":"𪄅","䳸":"䳸","鷺":"鷺","𪈎":"𪈎","鸞":"鸞","鹃":"鹂","⿄":"鹵","鹿":"鹿","⿅":"鹿","𪊑":"𪊑","麗":"麗","麟":"麟","⿆":"麥","⻨":"麦","麻":"麻","⿇":"麻","𪎒":"𪎒","⿈":"黃","⻩":"黄","⿉":"黍","黎":"黎","䵖":"䵖","⿊":"黑","黒":"黑","墨":"墨","黹":"黹","⿋":"黹","⿌":"黽","鼅":"鼅","黾":"黾","⿍":"鼎","鼏":"鼏","⿎":"鼓","鼖":"鼖","⿏":"鼠","鼻":"鼻","⿐":"鼻","齃":"齃","⿑":"齊","⻬":"齐","⿒":"齒","𪘀":"𪘀","⻮":"齿","龍":"龍","⿓":"龍","龎":"龎","⻰":"龙","龜":"龜","龜":"龜","龜":"龜","⿔":"龜","⻳":"龟","⿕":"龠"}}}},{package:"unicode-confusables",file:"node_modules/unicode-confusables/data/confusables.json"}],[4388,{"./data/confusables.json":4387},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("./data/confusables.json"),o="",i=new Set(["​","‌","‍","\ufeff","\u2028","\u2029"]);function a(e){return[...e].reduce(((e,t)=>(i.has(t)||e.push(n[t]||t),e)),[])}function s(e){const t=a(e),r=[...e];let n=0;return r.reduce(((e,r,a)=>{const s=t[a-n];return s!==r&&s?i.has(r)?(e.push({point:r,similarTo:o}),n+=1):e.push({point:r,similarTo:s}):e.push({point:r}),e}),[])}t.exports={isConfusing:function(e){const t=a(e),r=[...e];for(var n=0,o=t.length;nnull==t?e:t)).join("")}}}}},{package:"unicode-confusables",file:"node_modules/unicode-confusables/index.js"}],[439,{buffer:3028},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(e){(function(){function t(e){if("string"!=typeof e)throw new Error("[isHexPrefixed] input must be type 'string', received type "+typeof e);return"0"===e[0]&&"x"===e[1]}Object.defineProperty(r,"__esModule",{value:!0}),r.isHexString=r.getKeys=r.fromAscii=r.fromUtf8=r.toAscii=r.arrayContainsArray=r.getBinarySize=r.padToEven=r.stripHexPrefix=r.isHexPrefixed=void 0,r.isHexPrefixed=t;function n(e){let t=e;if("string"!=typeof t)throw new Error("[padToEven] value must be type 'string', received "+typeof t);return t.length%2&&(t=`0${t}`),t}r.stripHexPrefix=e=>{if("string"!=typeof e)throw new Error("[stripHexPrefix] input must be type 'string', received "+typeof e);return t(e)?e.slice(2):e},r.padToEven=n,r.getBinarySize=function(t){if("string"!=typeof t)throw new Error("[getBinarySize] method requires input type 'string', received "+typeof t);return e.byteLength(t,"utf8")},r.arrayContainsArray=function(e,t,r){if(!0!==Array.isArray(e))throw new Error(`[arrayContainsArray] method requires input 'superset' to be an array, got type '${typeof e}'`);if(!0!==Array.isArray(t))throw new Error(`[arrayContainsArray] method requires input 'subset' to be an array, got type '${typeof t}'`);return t[!0===r?"some":"every"]((t=>e.indexOf(t)>=0))},r.toAscii=function(e){let t="",r=0;const n=e.length;for("0x"===e.substring(0,2)&&(r=2);r0&&e.length!==2+2*t)}}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"@ethereumjs/tx>@ethereumjs/util",file:"node_modules/@ethereumjs/util/dist/internal.js"}],[440,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.Lock=void 0;r.Lock=class{constructor(){this.permits=1,this.promiseResolverQueue=[]}async acquire(){return this.permits>0?(this.permits-=1,Promise.resolve(!0)):new Promise((e=>this.promiseResolverQueue.push(e)))}release(){if(this.permits+=1,this.permits>1&&this.promiseResolverQueue.length>0)console.warn("Lock.permits should never be > 0 when there is someone waiting.");else if(1===this.permits&&this.promiseResolverQueue.length>0){this.permits-=1;const e=this.promiseResolverQueue.shift();e&&e(!0)}}}}}},{package:"@ethereumjs/tx>@ethereumjs/util",file:"node_modules/@ethereumjs/util/dist/lock.js"}],[4400,{punycode:3029,qs:4059},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("punycode");function o(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var i=/^([a-z0-9.+-]+:)/i,a=/:[0-9]*$/,s=/^(\/\/?(?!\/)[^?\s]*)(\?[^\s]*)?$/,c=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),u=["'"].concat(c),l=["%","/","?",";","#"].concat(u),f=["/","?","#"],d=/^[+a-z0-9A-Z_-]{0,63}$/,h=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,p={javascript:!0,"javascript:":!0},m={javascript:!0,"javascript:":!0},g={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},A=e("qs");function y(e,t,r){if(e&&"object"==typeof e&&e instanceof o)return e;var n=new o;return n.parse(e,t,r),n}o.prototype.parse=function(e,t,r){if("string"!=typeof e)throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var o=e.indexOf("?"),a=-1!==o&&o127?P+="x":P+=R[x];if(!P.match(d)){var L=C.slice(0,S),j=C.slice(S+1),B=R.match(h);B&&(L.push(B[1]),j.unshift(B[2])),j.length&&(y="/"+j.join(".")+y),this.hostname=L.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),O||(this.hostname=n.toASCII(this.hostname));var D=this.port?":"+this.port:"",U=this.hostname||"";this.host=U+D,this.href+=this.host,O&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==y[0]&&(y="/"+y))}if(!p[v])for(S=0,M=u.length;S0)&&r.host.split("@"))&&(r.auth=O.shift(),r.hostname=O.shift(),r.host=r.hostname);return r.search=e.search,r.query=e.query,null===r.pathname&&null===r.search||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r}if(!E.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var w=E.slice(-1)[0],N=(r.host||e.host||E.length>1)&&("."===w||".."===w)||""===w,S=0,I=E.length;I>=0;I--)"."===(w=E[I])?E.splice(I,1):".."===w?(E.splice(I,1),S++):S&&(E.splice(I,1),S--);if(!b&&!v)for(;S--;S)E.unshift("..");!b||""===E[0]||E[0]&&"/"===E[0].charAt(0)||E.unshift(""),N&&"/"!==E.join("/").substr(-1)&&E.push("");var O,C=""===E[0]||E[0]&&"/"===E[0].charAt(0);T&&(r.hostname=C?"":E.length?E.shift():"",r.host=r.hostname,(O=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=O.shift(),r.hostname=O.shift(),r.host=r.hostname));return(b=b||r.host&&E.length)&&!C&&E.unshift(""),E.length>0?r.pathname=E.join("/"):(r.pathname=null,r.path=null),null===r.pathname&&null===r.search||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=e.auth||r.auth,r.slashes=r.slashes||e.slashes,r.href=r.format(),r},o.prototype.parseHost=function(){var e=this.host,t=a.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},r.parse=y,r.resolve=function(e,t){return y(e,!1,!0).resolve(t)},r.resolveObject=function(e,t){return e?y(e,!1,!0).resolveObject(t):t},r.format=function(e){return"string"==typeof e&&(e=y(e)),e instanceof o?e.format():o.prototype.format.call(e)},r.Url=o}}},{package:"browserify>url",file:"node_modules/url/url.js"}],[4401,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.assignRef=void 0,r.assignRef=function(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}}}},{package:"react-focus-lock>use-callback-ref",file:"node_modules/use-callback-ref/dist/es5/assignRef.js"}],[4402,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.createCallbackRef=void 0,r.createCallbackRef=function(e){var t=null;return{get current(){return t},set current(r){var n=t;n!==r&&(t=r,e(r,n))}}}}}},{package:"react-focus-lock>use-callback-ref",file:"node_modules/use-callback-ref/dist/es5/createRef.js"}],[4403,{"./assignRef":4401,"./createRef":4402,"./mergeRef":4404,"./refToCallback":4405,"./transformRef":4406,"./useMergeRef":4407,"./useRef":4408,"./useTransformRef":4409},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.useRefToCallback=r.refToCallback=r.transformRef=r.useTransformRef=r.useMergeRefs=r.mergeRefs=r.createCallbackRef=r.useCallbackRef=r.assignRef=void 0;var n=e("./assignRef");Object.defineProperty(r,"assignRef",{enumerable:!0,get:function(){return n.assignRef}});var o=e("./useRef");Object.defineProperty(r,"useCallbackRef",{enumerable:!0,get:function(){return o.useCallbackRef}});var i=e("./createRef");Object.defineProperty(r,"createCallbackRef",{enumerable:!0,get:function(){return i.createCallbackRef}});var a=e("./mergeRef");Object.defineProperty(r,"mergeRefs",{enumerable:!0,get:function(){return a.mergeRefs}});var s=e("./useMergeRef");Object.defineProperty(r,"useMergeRefs",{enumerable:!0,get:function(){return s.useMergeRefs}});var c=e("./useTransformRef");Object.defineProperty(r,"useTransformRef",{enumerable:!0,get:function(){return c.useTransformRef}});var u=e("./transformRef");Object.defineProperty(r,"transformRef",{enumerable:!0,get:function(){return u.transformRef}});var l=e("./refToCallback");Object.defineProperty(r,"refToCallback",{enumerable:!0,get:function(){return l.refToCallback}}),Object.defineProperty(r,"useRefToCallback",{enumerable:!0,get:function(){return l.useRefToCallback}})}}},{package:"react-focus-lock>use-callback-ref",file:"node_modules/use-callback-ref/dist/es5/index.js"}],[4404,{"./assignRef":4401,"./createRef":4402},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.mergeRefs=void 0;var n=e("./assignRef"),o=e("./createRef");r.mergeRefs=function(e){return(0,o.createCallbackRef)((function(t){return e.forEach((function(e){return(0,n.assignRef)(e,t)}))}))}}}},{package:"react-focus-lock>use-callback-ref",file:"node_modules/use-callback-ref/dist/es5/mergeRef.js"}],[4405,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){function n(e){return function(t){"function"==typeof e?e(t):e&&(e.current=t)}}Object.defineProperty(r,"__esModule",{value:!0}),r.useRefToCallback=r.refToCallback=void 0,r.refToCallback=n;var o=function(){return null},i=new WeakMap;r.useRefToCallback=function(e){return function(e){var t=e||o,r=i.get(t);if(r)return r;var a=n(t);return i.set(t,a),a}(e)}}}},{package:"react-focus-lock>use-callback-ref",file:"node_modules/use-callback-ref/dist/es5/refToCallback.js"}],[4406,{"./assignRef":4401,"./createRef":4402},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.transformRef=void 0;var n=e("./assignRef"),o=e("./createRef");r.transformRef=function(e,t){return(0,o.createCallbackRef)((function(r){return(0,n.assignRef)(e,t(r))}))}}}},{package:"react-focus-lock>use-callback-ref",file:"node_modules/use-callback-ref/dist/es5/transformRef.js"}],[4407,{"./assignRef":4401,"./useRef":4408},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.useMergeRefs=void 0;var n=e("./assignRef"),o=e("./useRef");r.useMergeRefs=function(e,t){return(0,o.useCallbackRef)(t||null,(function(t){return e.forEach((function(e){return(0,n.assignRef)(e,t)}))}))}}}},{package:"react-focus-lock>use-callback-ref",file:"node_modules/use-callback-ref/dist/es5/useMergeRef.js"}],[4408,{react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.useCallbackRef=void 0;var n=e("react");r.useCallbackRef=function(e,t){var r=(0,n.useState)((function(){return{value:e,callback:t,facade:{get current(){return r.value},set current(e){var t=r.value;t!==e&&(r.value=e,r.callback(e,t))}}}}))[0];return r.callback=t,r.facade}}}},{package:"react-focus-lock>use-callback-ref",file:"node_modules/use-callback-ref/dist/es5/useRef.js"}],[4409,{"./assignRef":4401,"./useRef":4408},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.useTransformRef=void 0;var n=e("./assignRef"),o=e("./useRef");r.useTransformRef=function(e,t){return(0,o.useCallbackRef)(null,(function(r){return(0,n.assignRef)(e,t(r))}))}}}},{package:"react-focus-lock>use-callback-ref",file:"node_modules/use-callback-ref/dist/es5/useTransformRef.js"}],[441,{"micro-ftch":3879},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.getProvider=r.fetchFromProvider=void 0;const n=e("micro-ftch");r.fetchFromProvider=async(e,t)=>(await(0,n.default)(e,{headers:{"content-type":"application/json"},type:"json",data:{method:t.method,params:t.params,jsonrpc:"2.0",id:1}})).result;r.getProvider=e=>{if("string"==typeof e)return e;if(e?.connection?.url!==undefined)return e.connection.url;throw new Error("Must provide valid provider URL or Web3Provider")}}}},{package:"@ethereumjs/tx>@ethereumjs/util",file:"node_modules/@ethereumjs/util/dist/provider.js"}],[4411,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.setConfig=r.config=void 0,r.config={onError:function(e){return console.error(e)}};r.setConfig=function(e){Object.assign(r.config,e)}}}},{package:"react-focus-lock>use-sidecar",file:"node_modules/use-sidecar/dist/es5/config.js"}],[4412,{"detect-node-es":3182},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.env=void 0;var n=e("detect-node-es");r.env={isNode:n.isNode,forceCache:!1}}}},{package:"react-focus-lock>use-sidecar",file:"node_modules/use-sidecar/dist/es5/env.js"}],[4413,{react:4243,tslib:4378},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.exportSidecar=void 0;var n=e("tslib"),o=n.__importStar(e("react")),i=function(e){var t=e.sideCar,r=n.__rest(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var i=t.read();if(!i)throw new Error("Sidecar medium not found");return o.createElement(i,n.__assign({},r))};i.isSideCarExport=!0,r.exportSidecar=function(e,t){return e.useMedium(t),i}}}},{package:"react-focus-lock>use-sidecar",file:"node_modules/use-sidecar/dist/es5/exports.js"}],[4414,{"./hook":4415,react:4243,tslib:4378},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.sidecar=void 0;var n=e("tslib"),o=n.__importStar(e("react")),i=e("./hook");r.sidecar=function(e,t){var r=function(){return t};return function(a){var s=(0,i.useSidecar)(e,a.sideCar),c=s[0];return s[1]&&t?r:c?o.createElement(c,n.__assign({},a)):null}}}}},{package:"react-focus-lock>use-sidecar",file:"node_modules/use-sidecar/dist/es5/hoc.js"}],[4415,{"./env":4412,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.useSidecar=void 0;var n=e("react"),o=e("./env"),i=new WeakMap,a={};r.useSidecar=function(e,t){var r=t&&t.options||a;return o.env.isNode&&!r.ssr?[null,null]:function(e,t){var r=t&&t.options||a,s=o.env.forceCache||o.env.isNode&&!!r.ssr||!r.async,c=(0,n.useState)(s?function(){return i.get(e)}:undefined),u=c[0],l=c[1],f=(0,n.useState)(null),d=f[0],h=f[1];return(0,n.useEffect)((function(){u||e().then((function(r){var n,o=t?t.read():r.default||r;if(!o)throw console.error("Sidecar error: with importer",e),t?(console.error("Sidecar error: with medium",t),n=new Error("Sidecar medium was not found")):n=new Error("Sidecar was not found in exports"),h((function(){return n})),n;i.set(e,o),l((function(){return o}))}),(function(e){return h((function(){return e}))}))}),[]),[u,d]}(e,t)}}}},{package:"react-focus-lock>use-sidecar",file:"node_modules/use-sidecar/dist/es5/hook.js"}],[4416,{"./config":4411,"./exports":4413,"./hoc":4414,"./hook":4415,"./medium":4417,"./renderProp":4418},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.exportSidecar=r.renderCar=r.createSidecarMedium=r.createMedium=r.setConfig=r.useSidecar=r.sidecar=void 0;var n=e("./hoc");Object.defineProperty(r,"sidecar",{enumerable:!0,get:function(){return n.sidecar}});var o=e("./hook");Object.defineProperty(r,"useSidecar",{enumerable:!0,get:function(){return o.useSidecar}});var i=e("./config");Object.defineProperty(r,"setConfig",{enumerable:!0,get:function(){return i.setConfig}});var a=e("./medium");Object.defineProperty(r,"createMedium",{enumerable:!0,get:function(){return a.createMedium}}),Object.defineProperty(r,"createSidecarMedium",{enumerable:!0,get:function(){return a.createSidecarMedium}});var s=e("./renderProp");Object.defineProperty(r,"renderCar",{enumerable:!0,get:function(){return s.renderCar}});var c=e("./exports");Object.defineProperty(r,"exportSidecar",{enumerable:!0,get:function(){return c.exportSidecar}})}}},{package:"react-focus-lock>use-sidecar",file:"node_modules/use-sidecar/dist/es5/index.js"}],[4417,{tslib:4378},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.createSidecarMedium=r.createMedium=void 0;var n=e("tslib");function o(e){return e}function i(e,t){void 0===t&&(t=o);var r=[],n=!1;return{read:function(){if(n)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:e},useMedium:function(e){var o=t(e,n);return r.push(o),function(){r=r.filter((function(e){return e!==o}))}},assignSyncMedium:function(e){for(n=!0;r.length;){var t=r;r=[],t.forEach(e)}r={push:function(t){return e(t)},filter:function(){return r}}},assignMedium:function(e){n=!0;var t=[];if(r.length){var o=r;r=[],o.forEach(e),t=r}var i=function(){var r=t;t=[],r.forEach(e)},a=function(){return Promise.resolve().then(i)};a(),r={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),r}}}}}r.createMedium=function(e,t){return void 0===t&&(t=o),i(e,t)},r.createSidecarMedium=function(e){void 0===e&&(e={});var t=i(null);return t.options=n.__assign({async:!0,ssr:!1},e),t}}}},{package:"react-focus-lock>use-sidecar",file:"node_modules/use-sidecar/dist/es5/medium.js"}],[4418,{react:4243,tslib:4378},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.renderCar=void 0;var n=e("tslib"),o=n.__importStar(e("react")),i=e("react");r.renderCar=function(e,t){function r(t){var r=t.stateRef,a=t.props,s=(0,i.useCallback)((function(){for(var e=[],t=0;tuse-sidecar",file:"node_modules/use-sidecar/dist/es5/renderProp.js"}],[4419,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){!function(e){var t,r,n,o=String.fromCharCode;function i(e){for(var t,r,n=[],o=0,i=e.length;o=55296&&t<=56319&&o=55296&&e<=57343)throw Error("Lone surrogate U+"+e.toString(16).toUpperCase()+" is not a scalar value")}function s(e,t){return o(e>>t&63|128)}function c(e){if(!(4294967168&e))return o(e);var t="";return 4294965248&e?4294901760&e?4292870144&e||(t=o(e>>18&7|240),t+=s(e,12),t+=s(e,6)):(a(e),t=o(e>>12&15|224),t+=s(e,6)):t=o(e>>6&31|192),t+=o(63&e|128)}function u(){if(n>=r)throw Error("Invalid byte index");var e=255&t[n];if(n++,128==(192&e))return 63&e;throw Error("Invalid continuation byte")}function l(){var e,o;if(n>r)throw Error("Invalid byte index");if(n==r)return!1;if(e=255&t[n],n++,!(128&e))return e;if(192==(224&e)){if((o=(31&e)<<6|u())>=128)return o;throw Error("Invalid continuation byte")}if(224==(240&e)){if((o=(15&e)<<12|u()<<6|u())>=2048)return a(o),o;throw Error("Invalid continuation byte")}if(240==(248&e)&&(o=(7&e)<<18|u()<<12|u()<<6|u())>=65536&&o<=1114111)return o;throw Error("Invalid UTF-8 detected")}e.version="3.0.0",e.encode=function(e){for(var t=i(e),r=t.length,n=-1,o="";++n65535&&(i+=o((t-=65536)>>>10&1023|55296),t=56320|1023&t),i+=o(t);return i}(s)}}(void 0===r?this.utf8={}:r)}}},{package:"@metamask/keyring-controller>ethereumjs-wallet>utf8",file:"node_modules/utf8/utf8.js"}],[442,{"./bytes":434,"./constants":435,"./helpers":437,buffer:3028,"ethereum-cryptography/keccak":3260,"ethereum-cryptography/secp256k1":3277},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(t){(function(){Object.defineProperty(r,"__esModule",{value:!0}),r.hashPersonalMessage=r.isValidSignature=r.fromRpcSig=r.toCompactSig=r.toRpcSig=r.ecrecover=r.ecsign=void 0;const n=e("ethereum-cryptography/keccak"),o=e("ethereum-cryptography/secp256k1"),i=e("./bytes"),a=e("./constants"),s=e("./helpers");function c(e,t){return e===BigInt(0)||e===BigInt(1)?e:t===undefined?e-BigInt(27):e-(t*BigInt(2)+BigInt(35))}function u(e){return e===BigInt(0)||e===BigInt(1)}r.ecsign=function(e,r,n){const i=o.secp256k1.sign(e,r),a=i.toCompactRawBytes();return{r:t.from(a.slice(0,32)),s:t.from(a.slice(32,64)),v:n===undefined?BigInt(i.recovery+27):BigInt(i.recovery+35)+BigInt(n)*BigInt(2)}};r.ecrecover=function(e,r,n,a,s){const l=t.concat([(0,i.setLengthLeft)(n,32),(0,i.setLengthLeft)(a,32)],64),f=c(r,s);if(!u(f))throw new Error("Invalid signature v value");const d=o.secp256k1.Signature.fromCompact(l).addRecoveryBit(Number(f)).recoverPublicKey(e);return t.from(d.toRawBytes(!1).slice(1))};r.toRpcSig=function(e,r,n,o){if(!u(c(e,o)))throw new Error("Invalid signature v value");return(0,i.bufferToHex)(t.concat([(0,i.setLengthLeft)(r,32),(0,i.setLengthLeft)(n,32),(0,i.toBuffer)(e)]))};r.toCompactSig=function(e,r,n,o){if(!u(c(e,o)))throw new Error("Invalid signature v value");let a=n;return(e>BigInt(28)&&e%BigInt(2)===BigInt(1)||e===BigInt(1)||e===BigInt(28))&&(a=t.from(n),a[0]|=128),(0,i.bufferToHex)(t.concat([(0,i.setLengthLeft)(r,32),(0,i.setLengthLeft)(a,32)]))};r.fromRpcSig=function(e){const t=(0,i.toBuffer)(e);let r,n,o;if(t.length>=65)r=t.slice(0,32),n=t.slice(32,64),o=(0,i.bufferToBigInt)(t.slice(64));else{if(64!==t.length)throw new Error("Invalid signature length");r=t.slice(0,32),n=t.slice(32,64),o=BigInt((0,i.bufferToInt)(t.slice(32,33))>>7),n[0]&=127}return o<27&&(o+=BigInt(27)),{v:o,r:r,s:n}};r.isValidSignature=function(e,t,r,n=!0,o){if(32!==t.length||32!==r.length)return!1;if(!u(c(e,o)))return!1;const s=(0,i.bufferToBigInt)(t),l=(0,i.bufferToBigInt)(r);return!(s===BigInt(0)||s>=a.SECP256K1_ORDER||l===BigInt(0)||l>=a.SECP256K1_ORDER)&&!(n&&l>=a.SECP256K1_ORDER_DIV_2)};r.hashPersonalMessage=function(e){(0,s.assertIsBuffer)(e);const r=t.from(`Ethereum Signed Message:\n${e.length}`,"utf-8");return t.from((0,n.keccak256)(t.concat([r,e])))}}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"@ethereumjs/tx>@ethereumjs/util",file:"node_modules/@ethereumjs/util/dist/signature.js"}],[4420,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){function n(e){try{if(!global.localStorage)return!1}catch(e){return!1}var t=global.localStorage[e];return null!=t&&"true"===String(t).toLowerCase()}t.exports=function(e,t){if(n("noDeprecation"))return e;var r=!1;return function(){if(!r){if(n("throwDeprecation"))throw new Error(t);n("traceDeprecation")?console.trace(t):console.warn(t),r=!0}return e.apply(this,arguments)}}}}},{package:"readable-stream>util-deprecate",file:"node_modules/util-deprecate/browser.js"}],[4421,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}}}},{package:"browserify>util",file:"node_modules/util/support/isBufferBrowser.js"}],[4422,{"is-arguments":3644,"is-generator-function":3652,"is-typed-array":3664,"which-typed-array":4475},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("is-arguments"),o=e("is-generator-function"),i=e("which-typed-array"),a=e("is-typed-array");function s(e){return e.call.bind(e)}var c="undefined"!=typeof BigInt,u="undefined"!=typeof Symbol,l=s(Object.prototype.toString),f=s(Number.prototype.valueOf),d=s(String.prototype.valueOf),h=s(Boolean.prototype.valueOf);if(c)var p=s(BigInt.prototype.valueOf);if(u)var m=s(Symbol.prototype.valueOf);function g(e,t){if("object"!=typeof e)return!1;try{return t(e),!0}catch(e){return!1}}function A(e){return"[object Map]"===l(e)}function y(e){return"[object Set]"===l(e)}function _(e){return"[object WeakMap]"===l(e)}function b(e){return"[object WeakSet]"===l(e)}function v(e){return"[object ArrayBuffer]"===l(e)}function E(e){return"undefined"!=typeof ArrayBuffer&&(v.working?v(e):e instanceof ArrayBuffer)}function T(e){return"[object DataView]"===l(e)}function w(e){return"undefined"!=typeof DataView&&(T.working?T(e):e instanceof DataView)}r.isArgumentsObject=n,r.isGeneratorFunction=o,r.isTypedArray=a,r.isPromise=function(e){return"undefined"!=typeof Promise&&e instanceof Promise||null!==e&&"object"==typeof e&&"function"==typeof e.then&&"function"==typeof e.catch},r.isArrayBufferView=function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):a(e)||w(e)},r.isUint8Array=function(e){return"Uint8Array"===i(e)},r.isUint8ClampedArray=function(e){return"Uint8ClampedArray"===i(e)},r.isUint16Array=function(e){return"Uint16Array"===i(e)},r.isUint32Array=function(e){return"Uint32Array"===i(e)},r.isInt8Array=function(e){return"Int8Array"===i(e)},r.isInt16Array=function(e){return"Int16Array"===i(e)},r.isInt32Array=function(e){return"Int32Array"===i(e)},r.isFloat32Array=function(e){return"Float32Array"===i(e)},r.isFloat64Array=function(e){return"Float64Array"===i(e)},r.isBigInt64Array=function(e){return"BigInt64Array"===i(e)},r.isBigUint64Array=function(e){return"BigUint64Array"===i(e)},A.working="undefined"!=typeof Map&&A(new Map),r.isMap=function(e){return"undefined"!=typeof Map&&(A.working?A(e):e instanceof Map)},y.working="undefined"!=typeof Set&&y(new Set),r.isSet=function(e){return"undefined"!=typeof Set&&(y.working?y(e):e instanceof Set)},_.working="undefined"!=typeof WeakMap&&_(new WeakMap),r.isWeakMap=function(e){return"undefined"!=typeof WeakMap&&(_.working?_(e):e instanceof WeakMap)},b.working="undefined"!=typeof WeakSet&&b(new WeakSet),r.isWeakSet=function(e){return b(e)},v.working="undefined"!=typeof ArrayBuffer&&v(new ArrayBuffer),r.isArrayBuffer=E,T.working="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView&&T(new DataView(new ArrayBuffer(1),0,1)),r.isDataView=w;var N="undefined"!=typeof SharedArrayBuffer?SharedArrayBuffer:undefined;function S(e){return"[object SharedArrayBuffer]"===l(e)}function I(e){return void 0!==N&&(void 0===S.working&&(S.working=S(new N)),S.working?S(e):e instanceof N)}function O(e){return g(e,f)}function C(e){return g(e,d)}function M(e){return g(e,h)}function R(e){return c&&g(e,p)}function P(e){return u&&g(e,m)}r.isSharedArrayBuffer=I,r.isAsyncFunction=function(e){return"[object AsyncFunction]"===l(e)},r.isMapIterator=function(e){return"[object Map Iterator]"===l(e)},r.isSetIterator=function(e){return"[object Set Iterator]"===l(e)},r.isGeneratorObject=function(e){return"[object Generator]"===l(e)},r.isWebAssemblyCompiledModule=function(e){return"[object WebAssembly.Module]"===l(e)},r.isNumberObject=O,r.isStringObject=C,r.isBooleanObject=M,r.isBigIntObject=R,r.isSymbolObject=P,r.isBoxedPrimitive=function(e){return O(e)||C(e)||M(e)||R(e)||P(e)},r.isAnyArrayBuffer=function(e){return"undefined"!=typeof Uint8Array&&(E(e)||I(e))},["isProxy","isExternal","isModuleNamespaceObject"].forEach((function(e){Object.defineProperty(r,e,{enumerable:!1,value:function(){throw new Error(e+" is not supported in userland")}})}))}}},{package:"browserify>util",file:"node_modules/util/support/types.js"}],[4423,{"./support/isBuffer":4421,"./support/types":4422,_process:3992,inherits:3641},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(t){(function(){var n=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),r={},n=0;n=i)return e;switch(e){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(e){return"[Circular]"}default:return e}})),c=n[r];r=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),p(t)?n.showHidden=t:t&&r._extend(n,t),y(n.showHidden)&&(n.showHidden=!1),y(n.depth)&&(n.depth=2),y(n.colors)&&(n.colors=!1),y(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=c),l(n,e,n.depth)}function c(e,t){var r=s.styles[t];return r?"["+s.colors[r][0]+"m"+e+"["+s.colors[r][1]+"m":e}function u(e,t){return e}function l(e,t,n){if(e.customInspect&&t&&T(t.inspect)&&t.inspect!==r.inspect&&(!t.constructor||t.constructor.prototype!==t)){var o=t.inspect(n,e);return A(o)||(o=l(e,o,n)),o}var i=function(e,t){if(y(t))return e.stylize("undefined","undefined");if(A(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}if(g(t))return e.stylize(""+t,"number");if(p(t))return e.stylize(""+t,"boolean");if(m(t))return e.stylize("null","null")}(e,t);if(i)return i;var a=Object.keys(t),s=function(e){var t={};return e.forEach((function(e,r){t[e]=!0})),t}(a);if(e.showHidden&&(a=Object.getOwnPropertyNames(t)),E(t)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return f(t);if(0===a.length){if(T(t)){var c=t.name?": "+t.name:"";return e.stylize("[Function"+c+"]","special")}if(_(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(v(t))return e.stylize(Date.prototype.toString.call(t),"date");if(E(t))return f(t)}var u,b="",w=!1,N=["{","}"];(h(t)&&(w=!0,N=["[","]"]),T(t))&&(b=" [Function"+(t.name?": "+t.name:"")+"]");return _(t)&&(b=" "+RegExp.prototype.toString.call(t)),v(t)&&(b=" "+Date.prototype.toUTCString.call(t)),E(t)&&(b=" "+f(t)),0!==a.length||w&&0!=t.length?n<0?_(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special"):(e.seen.push(t),u=w?function(e,t,r,n,o){for(var i=[],a=0,s=t.length;a=0&&0,e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0);if(n>60)return r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+r[1];return r[0]+t+" "+e.join(", ")+" "+r[1]}(u,b,N)):N[0]+b+N[1]}function f(e){return"["+Error.prototype.toString.call(e)+"]"}function d(e,t,r,n,o,i){var a,s,c;if((c=Object.getOwnPropertyDescriptor(t,o)||{value:t[o]}).get?s=c.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):c.set&&(s=e.stylize("[Setter]","special")),I(n,o)||(a="["+o+"]"),s||(e.seen.indexOf(c.value)<0?(s=m(r)?l(e,c.value,null):l(e,c.value,r-1)).indexOf("\n")>-1&&(s=i?s.split("\n").map((function(e){return" "+e})).join("\n").slice(2):"\n"+s.split("\n").map((function(e){return" "+e})).join("\n")):s=e.stylize("[Circular]","special")),y(a)){if(i&&o.match(/^\d+$/))return s;(a=JSON.stringify(""+o)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.slice(1,-1),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+s}function h(e){return Array.isArray(e)}function p(e){return"boolean"==typeof e}function m(e){return null===e}function g(e){return"number"==typeof e}function A(e){return"string"==typeof e}function y(e){return void 0===e}function _(e){return b(e)&&"[object RegExp]"===w(e)}function b(e){return"object"==typeof e&&null!==e}function v(e){return b(e)&&"[object Date]"===w(e)}function E(e){return b(e)&&("[object Error]"===w(e)||e instanceof Error)}function T(e){return"function"==typeof e}function w(e){return Object.prototype.toString.call(e)}function N(e){return e<10?"0"+e.toString(10):e.toString(10)}r.debuglog=function(e){if(e=e.toUpperCase(),!i[e])if(a.test(e)){var n=t.pid;i[e]=function(){var t=r.format.apply(r,arguments);console.error("%s %d: %s",e,n,t)}}else i[e]=function(){};return i[e]},r.inspect=s,s.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},s.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},r.types=e("./support/types"),r.isArray=h,r.isBoolean=p,r.isNull=m,r.isNullOrUndefined=function(e){return null==e},r.isNumber=g,r.isString=A,r.isSymbol=function(e){return"symbol"==typeof e},r.isUndefined=y,r.isRegExp=_,r.types.isRegExp=_,r.isObject=b,r.isDate=v,r.types.isDate=v,r.isError=E,r.types.isNativeError=E,r.isFunction=T,r.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},r.isBuffer=e("./support/isBuffer");var S=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function I(e,t){return Object.prototype.hasOwnProperty.call(e,t)}r.log=function(){var e,t;console.log("%s - %s",(e=new Date,t=[N(e.getHours()),N(e.getMinutes()),N(e.getSeconds())].join(":"),[e.getDate(),S[e.getMonth()],t].join(" ")),r.format.apply(r,arguments))},r.inherits=e("inherits"),r._extend=function(e,t){if(!t||!b(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e};var O="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):undefined;function C(e,t){if(!e){var r=new Error("Promise was rejected with a falsy value");r.reason=e,e=r}return t(e)}r.promisify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');if(O&&e[O]){var t;if("function"!=typeof(t=e[O]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,O,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,r,n=new Promise((function(e,n){t=e,r=n})),o=[],i=0;iutil",file:"node_modules/util/util.js"}],[4424,{"./nil.js":4426,"./parse.js":4427,"./stringify.js":4431,"./v1.js":4432,"./v3.js":4433,"./v4.js":4435,"./v5.js":4436,"./validate.js":4437,"./version.js":4438},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"v1",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(r,"v3",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(r,"v4",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(r,"v5",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(r,"NIL",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(r,"version",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(r,"validate",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(r,"stringify",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(r,"parse",{enumerable:!0,get:function(){return f.default}});var n=d(e("./v1.js")),o=d(e("./v3.js")),i=d(e("./v4.js")),a=d(e("./v5.js")),s=d(e("./nil.js")),c=d(e("./version.js")),u=d(e("./validate.js")),l=d(e("./stringify.js")),f=d(e("./parse.js"));function d(e){return e&&e.__esModule?e:{default:e}}}}},{package:"uuid",file:"node_modules/uuid/dist/index.js"}],[4425,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){function n(e){return 14+(e+64>>>9<<4)+1}function o(e,t){const r=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(r>>16)<<16|65535&r}function i(e,t,r,n,i,a){return o((s=o(o(t,e),o(n,a)))<<(c=i)|s>>>32-c,r);var s,c}function a(e,t,r,n,o,a,s){return i(t&r|~t&n,e,t,o,a,s)}function s(e,t,r,n,o,a,s){return i(t&n|r&~n,e,t,o,a,s)}function c(e,t,r,n,o,a,s){return i(t^r^n,e,t,o,a,s)}function u(e,t,r,n,o,a,s){return i(r^(t|~n),e,t,o,a,s)}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var l=function(e){if("string"==typeof e){const t=unescape(encodeURIComponent(e));e=new Uint8Array(t.length);for(let r=0;r>5]>>>o%32&255,i=parseInt(n.charAt(r>>>4&15)+n.charAt(15&r),16);t.push(i)}return t}(function(e,t){e[t>>5]|=128<>5]|=(255&e[n/8])<>>24,r[1]=t>>>16&255,r[2]=t>>>8&255,r[3]=255&t,r[4]=(t=parseInt(e.slice(9,13),16))>>>8,r[5]=255&t,r[6]=(t=parseInt(e.slice(14,18),16))>>>8,r[7]=255&t,r[8]=(t=parseInt(e.slice(19,23),16))>>>8,r[9]=255&t,r[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255,r[11]=t/4294967296&255,r[12]=t>>>24&255,r[13]=t>>>16&255,r[14]=t>>>8&255,r[15]=255&t,r};r.default=i}}},{package:"uuid",file:"node_modules/uuid/dist/parse.js"}],[4428,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;r.default=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i}}},{package:"uuid",file:"node_modules/uuid/dist/regex.js"}],[4429,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){let n;Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(){if(!n&&(n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto),!n))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return n(o)};const o=new Uint8Array(16)}}},{package:"uuid",file:"node_modules/uuid/dist/rng-browser.js"}],[443,{"./bytes":434,"./internal":439},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.toType=r.TypeOutput=void 0;const n=e("./bytes"),o=e("./internal");var i;!function(e){e[e.Number=0]="Number",e[e.BigInt=1]="BigInt",e[e.Buffer=2]="Buffer",e[e.PrefixedHexString=3]="PrefixedHexString"}(i=r.TypeOutput||(r.TypeOutput={})),r.toType=function(e,t){if(null===e)return null;if(e===undefined)return undefined;if("string"==typeof e&&!(0,o.isHexString)(e))throw new Error(`A string must be provided with a 0x-prefix, given: ${e}`);if("number"==typeof e&&!Number.isSafeInteger(e))throw new Error("The provided number is greater than MAX_SAFE_INTEGER (please use an alternative input type)");const r=(0,n.toBuffer)(e);switch(t){case i.Buffer:return r;case i.BigInt:return(0,n.bufferToBigInt)(r);case i.Number:{const e=(0,n.bufferToBigInt)(r);if(e>BigInt(Number.MAX_SAFE_INTEGER))throw new Error("The provided number is greater than MAX_SAFE_INTEGER (please use an alternative output type)");return Number(e)}case i.PrefixedHexString:return(0,n.bufferToHex)(r);default:throw new Error("unknown outputType")}}}}},{package:"@ethereumjs/tx>@ethereumjs/util",file:"node_modules/@ethereumjs/util/dist/types.js"}],[4430,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){function n(e,t,r,n){switch(e){case 0:return t&r^~t&n;case 1:case 3:return t^r^n;case 2:return t&r^t&n^r&n}}function o(e,t){return e<>>32-t}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var i=function(e){const t=[1518500249,1859775393,2400959708,3395469782],r=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof e){const t=unescape(encodeURIComponent(e));e=[];for(let r=0;r>>0;f=l,l=u,u=o(c,30)>>>0,c=a,a=s}r[0]=r[0]+a>>>0,r[1]=r[1]+c>>>0,r[2]=r[2]+u>>>0,r[3]=r[3]+l>>>0,r[4]=r[4]+f>>>0}return[r[0]>>24&255,r[0]>>16&255,r[0]>>8&255,255&r[0],r[1]>>24&255,r[1]>>16&255,r[1]>>8&255,255&r[1],r[2]>>24&255,r[2]>>16&255,r[2]>>8&255,255&r[2],r[3]>>24&255,r[3]>>16&255,r[3]>>8&255,255&r[3],r[4]>>24&255,r[4]>>16&255,r[4]>>8&255,255&r[4]]};r.default=i}}},{package:"uuid",file:"node_modules/uuid/dist/sha1-browser.js"}],[4431,{"./validate.js":4437},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n,o=(n=e("./validate.js"))&&n.__esModule?n:{default:n};const i=[];for(let e=0;e<256;++e)i.push((e+256).toString(16).substr(1));var a=function(e,t=0){const r=(i[e[t+0]]+i[e[t+1]]+i[e[t+2]]+i[e[t+3]]+"-"+i[e[t+4]]+i[e[t+5]]+"-"+i[e[t+6]]+i[e[t+7]]+"-"+i[e[t+8]]+i[e[t+9]]+"-"+i[e[t+10]]+i[e[t+11]]+i[e[t+12]]+i[e[t+13]]+i[e[t+14]]+i[e[t+15]]).toLowerCase();if(!(0,o.default)(r))throw TypeError("Stringified UUID is invalid");return r};r.default=a}}},{package:"uuid",file:"node_modules/uuid/dist/stringify.js"}],[4432,{"./rng.js":4429,"./stringify.js":4431},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=i(e("./rng.js")),o=i(e("./stringify.js"));function i(e){return e&&e.__esModule?e:{default:e}}let a,s,c=0,u=0;var l=function(e,t,r){let i=t&&r||0;const l=t||new Array(16);let f=(e=e||{}).node||a,d=e.clockseq!==undefined?e.clockseq:s;if(null==f||null==d){const t=e.random||(e.rng||n.default)();null==f&&(f=a=[1|t[0],t[1],t[2],t[3],t[4],t[5]]),null==d&&(d=s=16383&(t[6]<<8|t[7]))}let h=e.msecs!==undefined?e.msecs:Date.now(),p=e.nsecs!==undefined?e.nsecs:u+1;const m=h-c+(p-u)/1e4;if(m<0&&e.clockseq===undefined&&(d=d+1&16383),(m<0||h>c)&&e.nsecs===undefined&&(p=0),p>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");c=h,u=p,s=d,h+=122192928e5;const g=(1e4*(268435455&h)+p)%4294967296;l[i++]=g>>>24&255,l[i++]=g>>>16&255,l[i++]=g>>>8&255,l[i++]=255&g;const A=h/4294967296*1e4&268435455;l[i++]=A>>>8&255,l[i++]=255&A,l[i++]=A>>>24&15|16,l[i++]=A>>>16&255,l[i++]=d>>>8|128,l[i++]=255&d;for(let e=0;e<6;++e)l[i+e]=f[e];return t||(0,o.default)(l)};r.default=l}}},{package:"uuid",file:"node_modules/uuid/dist/v1.js"}],[4433,{"./md5.js":4425,"./v35.js":4434},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=i(e("./v35.js")),o=i(e("./md5.js"));function i(e){return e&&e.__esModule?e:{default:e}}var a=(0,n.default)("v3",48,o.default);r.default=a}}},{package:"uuid",file:"node_modules/uuid/dist/v3.js"}],[4434,{"./parse.js":4427,"./stringify.js":4431},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,t,r){function i(e,i,a,s){if("string"==typeof e&&(e=function(e){e=unescape(encodeURIComponent(e));const t=[];for(let r=0;r214&&t.push("name can no longer contain more than 214 characters"),e.toLowerCase()!==e&&t.push("name can no longer contain capital letters"),/[~'!()*]/.test(e.split("/").slice(-1)[0])&&t.push('name can no longer contain special characters ("~\'!()*")'),encodeURIComponent(e)!==e){var s=e.match(n);if(s){var c=s[1],u=s[2];if(encodeURIComponent(c)===c&&encodeURIComponent(u)===u)return a(t,r)}r.push("name can only contain URL-friendly characters")}return a(t,r)}}}},{package:"@metamask/snaps-utils>validate-npm-package-name",file:"node_modules/validate-npm-package-name/lib/index.js"}],[444,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.GWEI_TO_WEI=void 0,r.GWEI_TO_WEI=BigInt(1e9)}}},{package:"@ethereumjs/tx>@ethereumjs/util",file:"node_modules/@ethereumjs/util/dist/units.js"}],[445,{"./address":432,"./bytes":434,"./types":443,buffer:3028},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(t){(function(){Object.defineProperty(r,"__esModule",{value:!0}),r.Withdrawal=void 0;const n=e("./address"),o=e("./bytes"),i=e("./types");class a{constructor(e,t,r,n){this.index=e,this.validatorIndex=t,this.address=r,this.amount=n}static fromWithdrawalData(e){const{index:t,validatorIndex:r,address:o,amount:s}=e,c=(0,i.toType)(t,i.TypeOutput.BigInt),u=(0,i.toType)(r,i.TypeOutput.BigInt),l=new n.Address((0,i.toType)(o,i.TypeOutput.Buffer)),f=(0,i.toType)(s,i.TypeOutput.BigInt);return new a(c,u,l,f)}static fromValuesArray(e){if(4!==e.length)throw Error(`Invalid withdrawalArray length expected=4 actual=${e.length}`);const[t,r,n,o]=e;return a.fromWithdrawalData({index:t,validatorIndex:r,address:n,amount:o})}static toBufferArray(e){const{index:r,validatorIndex:o,address:a,amount:s}=e,c=(0,i.toType)(r,i.TypeOutput.BigInt)===BigInt(0)?t.alloc(0):(0,i.toType)(r,i.TypeOutput.Buffer),u=(0,i.toType)(o,i.TypeOutput.BigInt)===BigInt(0)?t.alloc(0):(0,i.toType)(o,i.TypeOutput.Buffer);let l;l=a instanceof n.Address?a.buf:(0,i.toType)(a,i.TypeOutput.Buffer);return[c,u,l,(0,i.toType)(s,i.TypeOutput.BigInt)===BigInt(0)?t.alloc(0):(0,i.toType)(s,i.TypeOutput.Buffer)]}raw(){return a.toBufferArray(this)}toValue(){return{index:this.index,validatorIndex:this.validatorIndex,address:this.address.buf,amount:this.amount}}toJSON(){return{index:(0,o.bigIntToHex)(this.index),validatorIndex:(0,o.bigIntToHex)(this.validatorIndex),address:"0x"+this.address.buf.toString("hex"),amount:(0,o.bigIntToHex)(this.amount)}}}r.Withdrawal=a}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"@ethereumjs/tx>@ethereumjs/util",file:"node_modules/@ethereumjs/util/dist/withdrawal.js"}],[4452,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=function(e){if(Object.keys)return Object.keys(e);var t=[];for(var r in e)t.push(r);return t},o=function(e,t){if(e.forEach)return e.forEach(t);for(var r=0;rvm-browserify",file:"node_modules/vm-browserify/index.js"}],[4453,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=function(){};t.exports=n}}},{package:"react-popper>warning",file:"node_modules/warning/warning.js"}],[446,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.version=void 0,r.version="abi/5.7.0"}}},{package:"@ethersproject/abi",file:"node_modules/@ethersproject/abi/lib/_version.js"}],[447,{"./_version":446,"./coders/abstract-coder":448,"./coders/address":449,"./coders/array":451,"./coders/boolean":452,"./coders/bytes":453,"./coders/fixed-bytes":454,"./coders/null":455,"./coders/number":456,"./coders/string":457,"./coders/tuple":458,"./fragments":459,"@ethersproject/bytes":476,"@ethersproject/logger":504,"@ethersproject/properties":510},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.defaultAbiCoder=r.AbiCoder=void 0;var n=e("@ethersproject/bytes"),o=e("@ethersproject/properties"),i=e("@ethersproject/logger"),a=e("./_version"),s=new i.Logger(a.version),c=e("./coders/abstract-coder"),u=e("./coders/address"),l=e("./coders/array"),f=e("./coders/boolean"),d=e("./coders/bytes"),h=e("./coders/fixed-bytes"),p=e("./coders/null"),m=e("./coders/number"),g=e("./coders/string"),A=e("./coders/tuple"),y=e("./fragments"),_=new RegExp(/^bytes([0-9]*)$/),b=new RegExp(/^(u?int)([0-9]*)$/),v=function(){function e(e){(0,o.defineReadOnly)(this,"coerceFunc",e||null)}return e.prototype._getCoder=function(e){var t=this;switch(e.baseType){case"address":return new u.AddressCoder(e.name);case"bool":return new f.BooleanCoder(e.name);case"string":return new g.StringCoder(e.name);case"bytes":return new d.BytesCoder(e.name);case"array":return new l.ArrayCoder(this._getCoder(e.arrayChildren),e.arrayLength,e.name);case"tuple":return new A.TupleCoder((e.components||[]).map((function(e){return t._getCoder(e)})),e.name);case"":return new p.NullCoder(e.name)}var r,n=e.type.match(b);return n?((0===(r=parseInt(n[2]||"256"))||r>256||r%8!=0)&&s.throwArgumentError("invalid "+n[1]+" bit length","param",e),new m.NumberCoder(r/8,"int"===n[1],e.name)):(n=e.type.match(_))?((0===(r=parseInt(n[1]))||r>32)&&s.throwArgumentError("invalid bytes length","param",e),new h.FixedBytesCoder(r,e.name)):s.throwArgumentError("invalid type","type",e.type)},e.prototype._getWordSize=function(){return 32},e.prototype._getReader=function(e,t){return new c.Reader(e,this._getWordSize(),this.coerceFunc,t)},e.prototype._getWriter=function(){return new c.Writer(this._getWordSize())},e.prototype.getDefaultValue=function(e){var t=this,r=e.map((function(e){return t._getCoder(y.ParamType.from(e))}));return new A.TupleCoder(r,"_").defaultValue()},e.prototype.encode=function(e,t){var r=this;e.length!==t.length&&s.throwError("types/values length mismatch",i.Logger.errors.INVALID_ARGUMENT,{count:{types:e.length,values:t.length},value:{types:e,values:t}});var n=e.map((function(e){return r._getCoder(y.ParamType.from(e))})),o=new A.TupleCoder(n,"_"),a=this._getWriter();return o.encode(a,t),a.data},e.prototype.decode=function(e,t,r){var o=this,i=e.map((function(e){return o._getCoder(y.ParamType.from(e))}));return new A.TupleCoder(i,"_").decode(this._getReader((0,n.arrayify)(t),r))},e}();r.AbiCoder=v,r.defaultAbiCoder=new v}}},{package:"@ethersproject/abi",file:"node_modules/@ethersproject/abi/lib/abi-coder.js"}],[4472,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){!function(e,n){if("function"==typeof define&&define.amd)define("webextension-polyfill",["module"],n);else if(void 0!==r)n(t);else{var o={exports:{}};n(o),e.browser=o.exports}}("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:this,(function(e){if("undefined"==typeof browser||Object.getPrototypeOf(browser)!==Object.prototype){const t="The message port closed before a response was received.",r="Returning a Promise is the preferred way to send a reply from an onMessage/onMessageExternal listener, as the sendResponse will be removed from the specs (See https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/runtime/onMessage)",n=e=>{const n={alarms:{clear:{minArgs:0,maxArgs:1},clearAll:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getAll:{minArgs:0,maxArgs:0}},bookmarks:{create:{minArgs:1,maxArgs:1},get:{minArgs:1,maxArgs:1},getChildren:{minArgs:1,maxArgs:1},getRecent:{minArgs:1,maxArgs:1},getSubTree:{minArgs:1,maxArgs:1},getTree:{minArgs:0,maxArgs:0},move:{minArgs:2,maxArgs:2},remove:{minArgs:1,maxArgs:1},removeTree:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1},update:{minArgs:2,maxArgs:2}},browserAction:{disable:{minArgs:0,maxArgs:1,fallbackToNoCallback:!0},enable:{minArgs:0,maxArgs:1,fallbackToNoCallback:!0},getBadgeBackgroundColor:{minArgs:1,maxArgs:1},getBadgeText:{minArgs:1,maxArgs:1},getPopup:{minArgs:1,maxArgs:1},getTitle:{minArgs:1,maxArgs:1},openPopup:{minArgs:0,maxArgs:0},setBadgeBackgroundColor:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setBadgeText:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setIcon:{minArgs:1,maxArgs:1},setPopup:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setTitle:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},browsingData:{remove:{minArgs:2,maxArgs:2},removeCache:{minArgs:1,maxArgs:1},removeCookies:{minArgs:1,maxArgs:1},removeDownloads:{minArgs:1,maxArgs:1},removeFormData:{minArgs:1,maxArgs:1},removeHistory:{minArgs:1,maxArgs:1},removeLocalStorage:{minArgs:1,maxArgs:1},removePasswords:{minArgs:1,maxArgs:1},removePluginData:{minArgs:1,maxArgs:1},settings:{minArgs:0,maxArgs:0}},commands:{getAll:{minArgs:0,maxArgs:0}},contextMenus:{remove:{minArgs:1,maxArgs:1},removeAll:{minArgs:0,maxArgs:0},update:{minArgs:2,maxArgs:2}},cookies:{get:{minArgs:1,maxArgs:1},getAll:{minArgs:1,maxArgs:1},getAllCookieStores:{minArgs:0,maxArgs:0},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}},devtools:{inspectedWindow:{eval:{minArgs:1,maxArgs:2,singleCallbackArg:!1}},panels:{create:{minArgs:3,maxArgs:3,singleCallbackArg:!0},elements:{createSidebarPane:{minArgs:1,maxArgs:1}}}},downloads:{cancel:{minArgs:1,maxArgs:1},download:{minArgs:1,maxArgs:1},erase:{minArgs:1,maxArgs:1},getFileIcon:{minArgs:1,maxArgs:2},open:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},pause:{minArgs:1,maxArgs:1},removeFile:{minArgs:1,maxArgs:1},resume:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1},show:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},extension:{isAllowedFileSchemeAccess:{minArgs:0,maxArgs:0},isAllowedIncognitoAccess:{minArgs:0,maxArgs:0}},history:{addUrl:{minArgs:1,maxArgs:1},deleteAll:{minArgs:0,maxArgs:0},deleteRange:{minArgs:1,maxArgs:1},deleteUrl:{minArgs:1,maxArgs:1},getVisits:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1}},i18n:{detectLanguage:{minArgs:1,maxArgs:1},getAcceptLanguages:{minArgs:0,maxArgs:0}},identity:{launchWebAuthFlow:{minArgs:1,maxArgs:1}},idle:{queryState:{minArgs:1,maxArgs:1}},management:{get:{minArgs:1,maxArgs:1},getAll:{minArgs:0,maxArgs:0},getSelf:{minArgs:0,maxArgs:0},setEnabled:{minArgs:2,maxArgs:2},uninstallSelf:{minArgs:0,maxArgs:1}},notifications:{clear:{minArgs:1,maxArgs:1},create:{minArgs:1,maxArgs:2},getAll:{minArgs:0,maxArgs:0},getPermissionLevel:{minArgs:0,maxArgs:0},update:{minArgs:2,maxArgs:2}},pageAction:{getPopup:{minArgs:1,maxArgs:1},getTitle:{minArgs:1,maxArgs:1},hide:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setIcon:{minArgs:1,maxArgs:1},setPopup:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setTitle:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},show:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},permissions:{contains:{minArgs:1,maxArgs:1},getAll:{minArgs:0,maxArgs:0},remove:{minArgs:1,maxArgs:1},request:{minArgs:1,maxArgs:1}},runtime:{getBackgroundPage:{minArgs:0,maxArgs:0},getPlatformInfo:{minArgs:0,maxArgs:0},openOptionsPage:{minArgs:0,maxArgs:0},requestUpdateCheck:{minArgs:0,maxArgs:0},sendMessage:{minArgs:1,maxArgs:3},sendNativeMessage:{minArgs:2,maxArgs:2},setUninstallURL:{minArgs:1,maxArgs:1}},sessions:{getDevices:{minArgs:0,maxArgs:1},getRecentlyClosed:{minArgs:0,maxArgs:1},restore:{minArgs:0,maxArgs:1}},storage:{local:{clear:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}},managed:{get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1}},sync:{clear:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}}},tabs:{captureVisibleTab:{minArgs:0,maxArgs:2},create:{minArgs:1,maxArgs:1},detectLanguage:{minArgs:0,maxArgs:1},discard:{minArgs:0,maxArgs:1},duplicate:{minArgs:1,maxArgs:1},executeScript:{minArgs:1,maxArgs:2},get:{minArgs:1,maxArgs:1},getCurrent:{minArgs:0,maxArgs:0},getZoom:{minArgs:0,maxArgs:1},getZoomSettings:{minArgs:0,maxArgs:1},goBack:{minArgs:0,maxArgs:1},goForward:{minArgs:0,maxArgs:1},highlight:{minArgs:1,maxArgs:1},insertCSS:{minArgs:1,maxArgs:2},move:{minArgs:2,maxArgs:2},query:{minArgs:1,maxArgs:1},reload:{minArgs:0,maxArgs:2},remove:{minArgs:1,maxArgs:1},removeCSS:{minArgs:1,maxArgs:2},sendMessage:{minArgs:2,maxArgs:3},setZoom:{minArgs:1,maxArgs:2},setZoomSettings:{minArgs:1,maxArgs:2},update:{minArgs:1,maxArgs:2}},topSites:{get:{minArgs:0,maxArgs:0}},webNavigation:{getAllFrames:{minArgs:1,maxArgs:1},getFrame:{minArgs:1,maxArgs:1}},webRequest:{handlerBehaviorChanged:{minArgs:0,maxArgs:0}},windows:{create:{minArgs:0,maxArgs:1},get:{minArgs:1,maxArgs:2},getAll:{minArgs:0,maxArgs:1},getCurrent:{minArgs:0,maxArgs:1},getLastFocused:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},update:{minArgs:2,maxArgs:2}}};if(0===Object.keys(n).length)throw new Error("api-metadata.json has not been included in browser-polyfill");class o extends WeakMap{constructor(e,t=undefined){super(t),this.createItem=e}get(e){return this.has(e)||this.set(e,this.createItem(e)),super.get(e)}}const i=(t,r)=>(...n)=>{e.runtime.lastError?t.reject(new Error(e.runtime.lastError.message)):r.singleCallbackArg||n.length<=1&&!1!==r.singleCallbackArg?t.resolve(n[0]):t.resolve(n)},a=e=>1==e?"argument":"arguments",s=(e,t,r)=>new Proxy(t,{apply:(t,n,o)=>r.call(n,e,...o)});let c=Function.call.bind(Object.prototype.hasOwnProperty);const u=(e,t={},r={})=>{let n=Object.create(null),o={has:(t,r)=>r in e||r in n,get(o,l,f){if(l in n)return n[l];if(!(l in e))return undefined;let d=e[l];if("function"==typeof d)if("function"==typeof t[l])d=s(e,e[l],t[l]);else if(c(r,l)){let t=((e,t)=>function(r,...n){if(n.lengtht.maxArgs)throw new Error(`Expected at most ${t.maxArgs} ${a(t.maxArgs)} for ${e}(), got ${n.length}`);return new Promise(((o,a)=>{if(t.fallbackToNoCallback)try{r[e](...n,i({resolve:o,reject:a},t))}catch(i){console.warn(`${e} API method doesn't seem to support the callback parameter, falling back to call it without a callback: `,i),r[e](...n),t.fallbackToNoCallback=!1,t.noCallback=!0,o()}else t.noCallback?(r[e](...n),o()):r[e](...n,i({resolve:o,reject:a},t))}))})(l,r[l]);d=s(e,e[l],t)}else d=d.bind(e);else if("object"==typeof d&&null!==d&&(c(t,l)||c(r,l)))d=u(d,t[l],r[l]);else{if(!c(r,"*"))return Object.defineProperty(n,l,{configurable:!0,enumerable:!0,get:()=>e[l],set(t){e[l]=t}}),d;d=u(d,t[l],r["*"])}return n[l]=d,d},set:(t,r,o,i)=>(r in n?n[r]=o:e[r]=o,!0),defineProperty:(e,t,r)=>Reflect.defineProperty(n,t,r),deleteProperty:(e,t)=>Reflect.deleteProperty(n,t)},l=Object.create(e);return new Proxy(l,o)},l=e=>({addListener(t,r,...n){t.addListener(e.get(r),...n)},hasListener:(t,r)=>t.hasListener(e.get(r)),removeListener(t,r){t.removeListener(e.get(r))}}),f=new o((e=>"function"!=typeof e?e:function(t){const r=u(t,{},{getContent:{minArgs:0,maxArgs:0}});e(r)}));let d=!1;const h=new o((e=>"function"!=typeof e?e:function(t,n,o){let i,a,s=!1,c=new Promise((e=>{i=function(t){d||(console.warn(r,(new Error).stack),d=!0),s=!0,e(t)}}));try{a=e(t,n,i)}catch(e){a=Promise.reject(e)}const u=!0!==a&&((l=a)&&"object"==typeof l&&"function"==typeof l.then);var l;if(!0!==a&&!u&&!s)return!1;const f=e=>{e.then((e=>{o(e)}),(e=>{let t;t=e&&(e instanceof Error||"string"==typeof e.message)?e.message:"An unexpected error occurred",o({__mozWebExtensionPolyfillReject__:!0,message:t})})).catch((e=>{console.error("Failed to send onMessage rejected reply",e)}))};return f(u?a:c),!0})),p=({reject:r,resolve:n},o)=>{e.runtime.lastError?e.runtime.lastError.message===t?n():r(new Error(e.runtime.lastError.message)):o&&o.__mozWebExtensionPolyfillReject__?r(new Error(o.message)):n(o)},m=(e,t,r,...n)=>{if(n.lengtht.maxArgs)throw new Error(`Expected at most ${t.maxArgs} ${a(t.maxArgs)} for ${e}(), got ${n.length}`);return new Promise(((e,t)=>{const o=p.bind(null,{resolve:e,reject:t});n.push(o),r.sendMessage(...n)}))},g={devtools:{network:{onRequestFinished:l(f)}},runtime:{onMessage:l(h),onMessageExternal:l(h),sendMessage:m.bind(null,"sendMessage",{minArgs:1,maxArgs:3})},tabs:{sendMessage:m.bind(null,"sendMessage",{minArgs:2,maxArgs:3})}},A={clear:{minArgs:1,maxArgs:1},get:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}};return n.privacy={network:{"*":A},services:{"*":A},websites:{"*":A}},u(e,g,n)};if("object"!=typeof chrome||!chrome||!chrome.runtime||!chrome.runtime.id)throw new Error("This script should only be loaded in a browser extension.");e.exports=n(chrome)}else e.exports=browser}))}}},{package:"webextension-polyfill",file:"node_modules/webextension-polyfill/dist/browser-polyfill.js"}],[4475,{"available-typed-arrays":2921,"call-bind/callBound":3038,"for-each":3403,gopd:3418,"has-tostringtag/shams":3611,"is-typed-array":3664},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("for-each"),o=e("available-typed-arrays"),i=e("call-bind/callBound"),a=e("gopd"),s=i("Object.prototype.toString"),c=e("has-tostringtag/shams")(),u="undefined"==typeof globalThis?global:globalThis,l=o(),f=i("String.prototype.slice"),d={},h=Object.getPrototypeOf;c&&a&&h&&n(l,(function(e){if("function"==typeof u[e]){var t=new u[e];if(Symbol.toStringTag in t){var r=h(t),n=a(r,Symbol.toStringTag);if(!n){var o=h(r);n=a(o,Symbol.toStringTag)}d[e]=n.get}}}));var p=e("is-typed-array");t.exports=function(e){return!!p(e)&&(c&&Symbol.toStringTag in e?function(e){var t=!1;return n(d,(function(r,n){if(!t)try{var o=r.call(e);o===n&&(t=o)}catch(e){}})),t}(e):f(s(e),8,-1))}}}},{package:"browserify>util>which-typed-array",file:"node_modules/which-typed-array/index.js"}],[4476,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function e(t,r){if(t&&r)return e(t)(r);if("function"!=typeof t)throw new TypeError("need wrapper function");return Object.keys(t).forEach((function(e){n[e]=t[e]})),n;function n(){for(var e=new Array(arguments.length),r=0;ronce>wrappy",file:"node_modules/wrappy/wrappy.js"}],[4478,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function(){for(var e={},t=0;txtend",file:"node_modules/xtend/immutable.js"}],[448,{"../_version":446,"@ethersproject/bignumber":474,"@ethersproject/bytes":476,"@ethersproject/logger":504,"@ethersproject/properties":510},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.Reader=r.Writer=r.Coder=r.checkResultErrors=void 0;var n=e("@ethersproject/bytes"),o=e("@ethersproject/bignumber"),i=e("@ethersproject/properties"),a=e("@ethersproject/logger"),s=e("../_version"),c=new a.Logger(s.version);r.checkResultErrors=function(e){var t=[],r=function(e,n){if(Array.isArray(n))for(var o in n){var i=e.slice();i.push(o);try{r(i,n[o])}catch(e){t.push({path:i,error:e})}}};return r([],e),t};var u=function(){function e(e,t,r,n){this.name=e,this.type=t,this.localName=r,this.dynamic=n}return e.prototype._throwError=function(e,t){c.throwArgumentError(e,this.localName,t)},e}();r.Coder=u;var l=function(){function e(e){(0,i.defineReadOnly)(this,"wordSize",e||32),this._data=[],this._dataLength=0,this._padding=new Uint8Array(e)}return Object.defineProperty(e.prototype,"data",{get:function(){return(0,n.hexConcat)(this._data)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"length",{get:function(){return this._dataLength},enumerable:!1,configurable:!0}),e.prototype._writeData=function(e){return this._data.push(e),this._dataLength+=e.length,e.length},e.prototype.appendWriter=function(e){return this._writeData((0,n.concat)(e._data))},e.prototype.writeBytes=function(e){var t=(0,n.arrayify)(e),r=t.length%this.wordSize;return r&&(t=(0,n.concat)([t,this._padding.slice(r)])),this._writeData(t)},e.prototype._getValue=function(e){var t=(0,n.arrayify)(o.BigNumber.from(e));return t.length>this.wordSize&&c.throwError("value out-of-bounds",a.Logger.errors.BUFFER_OVERRUN,{length:this.wordSize,offset:t.length}),t.length%this.wordSize&&(t=(0,n.concat)([this._padding.slice(t.length%this.wordSize),t])),t},e.prototype.writeValue=function(e){return this._writeData(this._getValue(e))},e.prototype.writeUpdatableValue=function(){var e=this,t=this._data.length;return this._data.push(this._padding),this._dataLength+=this.wordSize,function(r){e._data[t]=e._getValue(r)}},e}();r.Writer=l;var f=function(){function e(e,t,r,o){(0,i.defineReadOnly)(this,"_data",(0,n.arrayify)(e)),(0,i.defineReadOnly)(this,"wordSize",t||32),(0,i.defineReadOnly)(this,"_coerceFunc",r),(0,i.defineReadOnly)(this,"allowLoose",o),this._offset=0}return Object.defineProperty(e.prototype,"data",{get:function(){return(0,n.hexlify)(this._data)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"consumed",{get:function(){return this._offset},enumerable:!1,configurable:!0}),e.coerce=function(e,t){var r=e.match("^u?int([0-9]+)$");return r&&parseInt(r[1])<=48&&(t=t.toNumber()),t},e.prototype.coerce=function(t,r){return this._coerceFunc?this._coerceFunc(t,r):e.coerce(t,r)},e.prototype._peekBytes=function(e,t,r){var n=Math.ceil(t/this.wordSize)*this.wordSize;return this._offset+n>this._data.length&&(this.allowLoose&&r&&this._offset+t<=this._data.length?n=t:c.throwError("data out-of-bounds",a.Logger.errors.BUFFER_OVERRUN,{length:this._data.length,offset:this._offset+n})),this._data.slice(this._offset,this._offset+n)},e.prototype.subReader=function(t){return new e(this._data.slice(this._offset+t),this.wordSize,this._coerceFunc,this.allowLoose)},e.prototype.readBytes=function(e,t){var r=this._peekBytes(0,e,!!t);return this._offset+=r.length,r.slice(0,e)},e.prototype.readValue=function(){return o.BigNumber.from(this.readBytes(this.wordSize))},e}();r.Reader=f}}},{package:"@ethersproject/abi",file:"node_modules/@ethersproject/abi/lib/coders/abstract-coder.js"}],[449,{"./abstract-coder":448,"@ethersproject/address":467,"@ethersproject/bytes":476},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.AddressCoder=void 0;var i=e("@ethersproject/address"),a=e("@ethersproject/bytes"),s=function(e){function t(t){return e.call(this,"address","address",t,!1)||this}return o(t,e),t.prototype.defaultValue=function(){return"0x0000000000000000000000000000000000000000"},t.prototype.encode=function(e,t){try{t=(0,i.getAddress)(t)}catch(e){this._throwError(e.message,t)}return e.writeValue(t)},t.prototype.decode=function(e){return(0,i.getAddress)((0,a.hexZeroPad)(e.readValue().toHexString(),20))},t}(e("./abstract-coder").Coder);r.AddressCoder=s}}},{package:"@ethersproject/abi",file:"node_modules/@ethersproject/abi/lib/coders/address.js"}],[4492,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.Web3ShimUsageAlertStates=r.TOGGLEABLE_ALERT_TYPES=r.AlertTypes=void 0;let n=r.AlertTypes=function(e){return e.unconnectedAccount="unconnectedAccount",e.web3ShimUsage="web3ShimUsage",e.invalidCustomNetwork="invalidCustomNetwork",e}({});r.TOGGLEABLE_ALERT_TYPES=[n.unconnectedAccount,n.web3ShimUsage];r.Web3ShimUsageAlertStates=function(e){return e[e.recorded=1]="recorded",e[e.dismissed=2]="dismissed",e}({})}}},{package:"$root$",file:"shared/constants/alerts.ts"}],[4493,{"./permissions":4511,"@metamask/snaps-sdk":2122},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.UNKNOWN_TICKER_SYMBOL=r.SNAP_MANAGE_ACCOUNTS_CONFIRMATION_TYPES=r.SNAP_DIALOG_TYPES=r.SMART_TRANSACTION_CONFIRMATION_TYPES=r.POLLING_TOKEN_ENVIRONMENT_TYPES=r.PLATFORM_OPERA=r.PLATFORM_FIREFOX=r.PLATFORM_EDGE=r.PLATFORM_CHROME=r.PLATFORM_BRAVE=r.ORIGIN_METAMASK=r.METAMASK_PROD_CHROME_ID=r.METAMASK_MMI_PROD_CHROME_ID=r.METAMASK_MMI_BETA_CHROME_ID=r.METAMASK_FLASK_CHROME_ID=r.METAMASK_BETA_CHROME_ID=r.MESSAGE_TYPE=r.FIREFOX_BUILD_IDS=r.EXTENSION_MESSAGES=r.ENVIRONMENT_TYPE_POPUP=r.ENVIRONMENT_TYPE_NOTIFICATION=r.ENVIRONMENT_TYPE_FULLSCREEN=r.ENVIRONMENT_TYPE_BACKGROUND=r.CHROME_BUILD_IDS=void 0;var n=e("@metamask/snaps-sdk"),o=e("./permissions");const i=r.ENVIRONMENT_TYPE_POPUP="popup",a=r.ENVIRONMENT_TYPE_NOTIFICATION="notification",s=r.ENVIRONMENT_TYPE_FULLSCREEN="fullscreen",c=r.ENVIRONMENT_TYPE_BACKGROUND="background",u=(r.PLATFORM_BRAVE="Brave",r.PLATFORM_CHROME="Chrome",r.PLATFORM_EDGE="Edge",r.PLATFORM_FIREFOX="Firefox",r.PLATFORM_OPERA="Opera",r.MESSAGE_TYPE={ADD_ETHEREUM_CHAIN:"wallet_addEthereumChain",ETH_ACCOUNTS:o.RestrictedMethods.eth_accounts,ETH_DECRYPT:"eth_decrypt",ETH_CHAIN_ID:"eth_chainId",ETH_GET_ENCRYPTION_PUBLIC_KEY:"eth_getEncryptionPublicKey",ETH_GET_BLOCK_BY_NUMBER:"eth_getBlockByNumber",ETH_REQUEST_ACCOUNTS:"eth_requestAccounts",ETH_SEND_TRANSACTION:"eth_sendTransaction",ETH_SEND_RAW_TRANSACTION:"eth_sendRawTransaction",ETH_SIGN:"eth_sign",ETH_SIGN_TRANSACTION:"eth_signTransaction",ETH_SIGN_TYPED_DATA:"eth_signTypedData",ETH_SIGN_TYPED_DATA_V1:"eth_signTypedData_v1",ETH_SIGN_TYPED_DATA_V3:"eth_signTypedData_v3",ETH_SIGN_TYPED_DATA_V4:"eth_signTypedData_v4",GET_PROVIDER_STATE:"metamask_getProviderState",LOG_WEB3_SHIM_USAGE:"metamask_logWeb3ShimUsage",PERSONAL_SIGN:"personal_sign",SEND_METADATA:"metamask_sendDomainMetadata",SWITCH_ETHEREUM_CHAIN:"wallet_switchEthereumChain",TRANSACTION:"transaction",WALLET_REQUEST_PERMISSIONS:"wallet_requestPermissions",WATCH_ASSET:"wallet_watchAsset",WATCH_ASSET_LEGACY:"metamask_watchAsset",SNAP_DIALOG_ALERT:`${o.RestrictedMethods.snap_dialog}:alert`,SNAP_DIALOG_CONFIRMATION:`${o.RestrictedMethods.snap_dialog}:confirmation`,SNAP_DIALOG_PROMPT:`${o.RestrictedMethods.snap_dialog}:prompt`}),l=(r.SNAP_DIALOG_TYPES={[n.DialogType.Alert]:u.SNAP_DIALOG_ALERT,[n.DialogType.Confirmation]:u.SNAP_DIALOG_CONFIRMATION,[n.DialogType.Prompt]:u.SNAP_DIALOG_PROMPT},r.SNAP_MANAGE_ACCOUNTS_CONFIRMATION_TYPES={confirmAccountCreation:"snap_manageAccounts:confirmAccountCreation",confirmAccountRemoval:"snap_manageAccounts:confirmAccountRemoval",showSnapAccountRedirect:"showSnapAccountRedirect"},r.SMART_TRANSACTION_CONFIRMATION_TYPES={showSmartTransactionStatusPage:"smartTransaction:showSmartTransactionStatusPage"},r.EXTENSION_MESSAGES={CONNECTION_READY:"CONNECTION_READY",READY:"METAMASK_EXTENSION_READY"},r.POLLING_TOKEN_ENVIRONMENT_TYPES={[i]:"popupGasPollTokens",[a]:"notificationGasPollTokens",[s]:"fullScreenGasPollTokens",[c]:"none"},r.ORIGIN_METAMASK="metamask",r.METAMASK_BETA_CHROME_ID="pbbkamfgmaedccnfkmjcofcecjhfgldn"),f=r.METAMASK_PROD_CHROME_ID="nkbihfbeogaeaoehlefnkodbefgpgknn",d=r.METAMASK_FLASK_CHROME_ID="ljfoeinjpaedjfecbmggjgodbgkmjkjk",h=r.METAMASK_MMI_BETA_CHROME_ID="kmbhbcbadohhhgdgihejcicbgcehoaeg",p=r.METAMASK_MMI_PROD_CHROME_ID="ikkihjamdhfiojpdbnfllpjigpneipbc";r.CHROME_BUILD_IDS=[l,f,d,h,p],r.FIREFOX_BUILD_IDS=["webextension-beta@metamask.io","webextension@metamask.io","webextension-flask@metamask.io"],r.UNKNOWN_TICKER_SYMBOL="UNKNOWN"}}},{package:"$root$",file:"shared/constants/app.ts"}],[4494,{"./network":4507},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.ALLOWED_BRIDGE_CHAIN_IDS=void 0;var n=e("./network");r.ALLOWED_BRIDGE_CHAIN_IDS=[n.CHAIN_IDS.MAINNET,n.CHAIN_IDS.BSC,n.CHAIN_IDS.POLYGON,n.CHAIN_IDS.ZKSYNC_ERA,n.CHAIN_IDS.AVALANCHE,n.CHAIN_IDS.OPTIMISM,n.CHAIN_IDS.ARBITRUM,n.CHAIN_IDS.LINEA_MAINNET,n.CHAIN_IDS.BASE]}}},{package:"$root$",file:"shared/constants/bridge.ts"}],[4495,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.EtherDenomination=void 0;r.EtherDenomination=function(e){return e.ETH="ETH",e.GWEI="GWEI",e.WEI="WEI",e}({})}}},{package:"$root$",file:"shared/constants/common.ts"}],[4499,{"./network":4507},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.FIRST_PARTY_CONTRACT_NAMES=r.EXPERIENCES_TYPE=void 0;var n=e("./network");let o=r.EXPERIENCES_TYPE=function(e){return e.METAMASK_VALIDATOR_STAKING="MetaMask Validator Staking",e.METAMASK_POOLED_STAKING="MetaMask Pooled Staking",e.METAMASK_THIRD_PARTY_STAKING="MetaMask Third Party Staking",e.METAMASK_POOLED_STAKING_V1="MetaMask Pool Staking (v1)",e.METAMASK_BRIDGE="MetaMask Bridge",e.METAMASK_SWAPS="MetaMask Swaps",e}({});r.FIRST_PARTY_CONTRACT_NAMES={[o.METAMASK_VALIDATOR_STAKING]:{[n.CHAIN_IDS.MAINNET]:"0xDc71aFFC862fceB6aD32BE58E098423A7727bEbd"},[o.METAMASK_POOLED_STAKING]:{[n.CHAIN_IDS.MAINNET]:"0x4FEF9D741011476750A243aC70b9789a63dd47Df"},[o.METAMASK_THIRD_PARTY_STAKING]:{[n.CHAIN_IDS.MAINNET]:"0x1f6692E78dDE07FF8da75769B6d7c716215bC7D0"},[o.METAMASK_POOLED_STAKING_V1]:{[n.CHAIN_IDS.MAINNET]:"0xc7bE520a13dC023A1b34C03F4Abdab8A43653F7B"},[o.METAMASK_BRIDGE]:{[n.CHAIN_IDS.MAINNET]:"0x0439e60F02a8900a951603950d8D4527f400C3f1",[n.CHAIN_IDS.OPTIMISM]:"0xB90357f2b86dbfD59c3502215d4060f71DF8ca0e",[n.CHAIN_IDS.BSC]:"0xaEc23140408534b378bf5832defc426dF8604B59",[n.CHAIN_IDS.POLYGON]:"0x3A0b42cE6166abB05d30DdF12E726c95a83D7a16",[n.CHAIN_IDS.ZKSYNC_ERA]:"0x357B5935482AD8a4A2e181e0132aBd1882E16520",[n.CHAIN_IDS.BASE]:"0xa20ECbC821fB54064aa7B5C6aC81173b8b34Df71",[n.CHAIN_IDS.ARBITRUM]:"0x23981fC34e69eeDFE2BD9a0a9fCb0719Fe09DbFC",[n.CHAIN_IDS.AVALANCHE]:"0x29106d08382d3c73bF477A94333C61Db1142E1B6",[n.CHAIN_IDS.LINEA_MAINNET]:"0xE3d0d2607182Af5B24f5C3C2E4990A053aDd64e3"},[o.METAMASK_SWAPS]:{[n.CHAIN_IDS.MAINNET]:"0x881D40237659C251811CEC9c364ef91dC08D300C",[n.CHAIN_IDS.BSC]:"0x1a1ec25DC08e98e5E93F1104B5e5cdD298707d31",[n.CHAIN_IDS.POLYGON]:"0x1a1ec25DC08e98e5E93F1104B5e5cdD298707d31",[n.CHAIN_IDS.AVALANCHE]:"0x1a1ec25DC08e98e5E93F1104B5e5cdD298707d31",[n.CHAIN_IDS.ARBITRUM]:"0x9dDA6Ef3D919c9bC8885D5560999A3640431e8e6",[n.CHAIN_IDS.OPTIMISM]:"0x9dDA6Ef3D919c9bC8885D5560999A3640431e8e6",[n.CHAIN_IDS.ZKSYNC_ERA]:"0xf504c1fe13d14DF615E66dcd0ABF39e60c697f34",[n.CHAIN_IDS.LINEA_MAINNET]:"0x9dDA6Ef3D919c9bC8885D5560999A3640431e8e6"}}}}},{package:"$root$",file:"shared/constants/first-party-contracts.ts"}],[450,{"./abstract-coder":448},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.AnonymousCoder=void 0;var i=function(e){function t(t){var r=e.call(this,t.name,t.type,undefined,t.dynamic)||this;return r.coder=t,r}return o(t,e),t.prototype.defaultValue=function(){return this.coder.defaultValue()},t.prototype.encode=function(e,t){return this.coder.encode(e,t)},t.prototype.decode=function(e){return this.coder.decode(e)},t}(e("./abstract-coder").Coder);r.AnonymousCoder=i}}},{package:"@ethersproject/abi",file:"node_modules/@ethersproject/abi/lib/coders/anonymous.js"}],[4500,{"ethereumjs-util":3288},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.PriorityLevels=r.NetworkCongestionThresholds=r.MIN_GAS_LIMIT_HEX=r.GasRecommendations=r.GasEstimateTypes=r.GAS_LIMITS=r.EditGasModes=r.CUSTOM_GAS_ESTIMATE=void 0;var n=e("ethereumjs-util");const o=r.MIN_GAS_LIMIT_HEX=parseInt("21000",10).toString(16);r.GAS_LIMITS={SIMPLE:(0,n.addHexPrefix)(o),BASE_TOKEN_ESTIMATE:(0,n.addHexPrefix)(1e5.toString(16))};r.GasEstimateTypes=function(e){return e.feeMarket="fee-market",e.legacy="legacy",e.ethGasPrice="eth_gasPrice",e.none="none",e}({}),r.GasRecommendations=function(e){return e.low="low",e.medium="medium",e.high="high",e}({}),r.PriorityLevels=function(e){return e.tenPercentIncreased="tenPercentIncreased",e.low="low",e.medium="medium",e.high="high",e.custom="custom",e.dAppSuggested="dappSuggested",e.dappSuggestedHigh="dappSuggestedHigh",e}({});r.CUSTOM_GAS_ESTIMATE="custom";r.EditGasModes=function(e){return e.speedUp="speed-up",e.cancel="cancel",e.modifyInPlace="modify-in-place",e.swaps="swaps",e}({}),r.NetworkCongestionThresholds=function(e){return e[e.notBusy=0]="notBusy",e[e.stable=.33]="stable",e[e.busy=.66]="busy",e}({})}}},{package:"$root$",file:"shared/constants/gas.ts"}],[4501,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.WebHIDConnectedStatuses=r.LedgerTransportTypes=r.LEDGER_USB_VENDOR_ID=r.HardwareTransportStates=r.HardwareKeyringType=r.HardwareKeyringNames=r.HardwareDeviceNames=r.HardwareAffiliateTutorialLinks=r.HardwareAffiliateLinks=void 0;r.HardwareKeyringType=function(e){return e.ledger="Ledger Hardware",e.trezor="Trezor Hardware",e.lattice="Lattice Hardware",e.qr="QR Hardware Wallet Device",e}({}),r.HardwareKeyringNames=function(e){return e.ledger="Ledger",e.trezor="Trezor",e.lattice="Lattice1",e.qr="QR",e}({}),r.HardwareDeviceNames=function(e){return e.ledger="ledger",e.trezor="trezor",e.lattice="lattice",e.qr="QR Hardware",e}({}),r.HardwareTransportStates=function(e){return e.none="NONE",e.verified="VERIFIED",e.deviceOpenFailure="DEVICE_OPEN_FAILURE",e.unknownFailure="UNKNOWN_FAILURE",e}({}),r.HardwareAffiliateLinks=function(e){return e.ledger="https://shop.ledger.com/?r=17c4991a03fa",e.gridplus="https://gridplus.io/?afmc=7p",e.trezor="https://shop.trezor.io/product/trezor-one-black?offer_id=35&aff_id=11009",e.keystone="https://keyst.one/metamask?rfsn=6088257.656b3e9&utm_source=refersion&utm_medium=affiliate&utm_campaign=6088257.656b3e9",e.airgap="https://airgap.it/",e.coolwallet="https://www.coolwallet.io/",e.dcent="https://dcentwallet.com/",e.imtoken="https://token.im/",e.onekey="https://onekey.so/products/onekey-pro-hardware-wallet/",e}({}),r.HardwareAffiliateTutorialLinks=function(e){return e.ledger="https://support.ledger.com/hc/en-us/articles/4404366864657-Set-up-and-use-MetaMask-to-access-your-Ledger-Ethereum-ETH-account?docs=true",e.gridplus="https://docs.gridplus.io/setup/metamask",e.trezor="https://wiki.trezor.io/Apps:MetaMask",e.keystone="https://support.keyst.one/3rd-party-wallets/eth-and-web3-wallets-keystone/bind-metamask-with-keystone",e.airgap="https://support.airgap.it/guides/metamask/",e.coolwallet="https://www.coolwallet.io/metamask-step-by-step-guides/",e.dcent="https://medium.com/dcentwallet/dcent-wallet-now-supports-qr-based-protocol-to-link-with-metamask-57555f02603f",e.imtoken="https://support.token.im/hc/en-us/articles/24652624775961/",e.onekey="https://help.onekey.so/hc/articles/9426592069903",e}({}),r.LedgerTransportTypes=function(e){return e.webhid="webhid",e.u2f="u2f",e}({}),r.WebHIDConnectedStatuses=function(e){return e.connected="connected",e.notConnected="notConnected",e.unknown="unknown",e}({});r.LEDGER_USB_VENDOR_ID="0x2c97"}}},{package:"$root$",file:"shared/constants/hardware-wallets.ts"}],[4502,{"./hardware-wallets":4501},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.SnapKeyringType=r.KeyringType=r.InternalKeyringType=void 0;var n=e("./hardware-wallets");let o=r.InternalKeyringType=function(e){return e.hdKeyTree="HD Key Tree",e.imported="Simple Key Pair",e}({}),i=r.SnapKeyringType=function(e){return e.snap="Snap Keyring",e}({});r.KeyringType={...n.HardwareKeyringType,...o,...i}}}},{package:"$root$",file:"shared/constants/keyring.ts"}],[4503,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.TRUNCATED_NAME_CHAR_LIMIT=r.TRUNCATED_ADDRESS_START_CHARS=r.TRUNCATED_ADDRESS_END_CHARS=void 0;r.TRUNCATED_NAME_CHAR_LIMIT=11,r.TRUNCATED_ADDRESS_START_CHARS=7,r.TRUNCATED_ADDRESS_END_CHARS=5}}},{package:"$root$",file:"shared/constants/labels.ts"}],[4505,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.REJECT_NOTIFICATION_CLOSE_SIG=r.REJECT_NOTIFICATION_CLOSE=r.MetaMetricsUserTrait=r.MetaMetricsTransactionEventSource=r.MetaMetricsTokenEventSource=r.MetaMetricsSwapsEventSource=r.MetaMetricsNetworkEventSource=r.MetaMetricsEventUiCustomization=r.MetaMetricsEventName=r.MetaMetricsEventLocation=r.MetaMetricsEventLinkType=r.MetaMetricsEventKeyType=r.MetaMetricsEventErrorType=r.MetaMetricsEventCategory=r.MetaMetricsEventAccountType=r.MetaMetricsEventAccountImportType=r.MetaMetricsContextProp=r.METAMETRICS_BACKGROUND_PAGE_OBJECT=r.METAMETRICS_ANONYMOUS_ID=void 0;r.MetaMetricsUserTrait=function(e){return e.IsMetricsOptedIn="is_metrics_opted_in",e.HasMarketingConsent="has_marketing_consent",e.AddressBookEntries="address_book_entries",e.InstallDateExt="install_date_ext",e.LedgerConnectionType="ledger_connection_type",e.NetworksAdded="networks_added",e.NetworksWithoutTicker="networks_without_ticker",e.NftAutodetectionEnabled="nft_autodetection_enabled",e.NumberOfAccounts="number_of_accounts",e.NumberOfNftCollections="number_of_nft_collections",e.NumberOfNfts="number_of_nfts",e.NumberOfTokens="number_of_tokens",e.OpenSeaApiEnabled="opensea_api_enabled",e.Theme="theme",e.ThreeBoxEnabled="three_box_enabled",e.TokenDetectionEnabled="token_detection_enabled",e.UseNativeCurrencyAsPrimaryCurrency="use_native_currency_as_primary_currency",e.DesktopEnabled="desktop_enabled",e.SecurityProviders="security_providers",e.PetnameAddressCount="petname_addresses_count",e}({});r.METAMETRICS_ANONYMOUS_ID="0x0000000000000000",r.METAMETRICS_BACKGROUND_PAGE_OBJECT={path:"/background-process",title:"Background Process",url:"/background-process"},r.REJECT_NOTIFICATION_CLOSE="Cancel Via Notification Close",r.REJECT_NOTIFICATION_CLOSE_SIG="Cancel Sig Request Via Notification Close";r.MetaMetricsEventName=function(e){return e.AccountAdded="Account Added",e.AccountAddSelected="Account Add Selected",e.AccountAddFailed="Account Add Failed",e.AccountDetailsOpened="Account Details Opened",e.AccountPasswordCreated="Account Password Created",e.AccountReset="Account Reset",e.AccountRenamed="Account Renamed",e.ActivityDetailsOpened="Activity Details Opened",e.ActivityDetailsClosed="Activity Details Closed",e.AnalyticsPreferenceSelected="Analytics Preference Selected",e.AppInstalled="App Installed",e.AppUnlocked="App Unlocked",e.AppUnlockedFailed="App Unlocked Failed",e.AppLocked="App Locked",e.AppWindowExpanded="App Window Expanded",e.BridgeLinkClicked="Bridge Link Clicked",e.DappViewed="Dapp Viewed",e.DecryptionApproved="Decryption Approved",e.DecryptionRejected="Decryption Rejected",e.DecryptionRequested="Decryption Requested",e.DisablingAccountNotifications="Disabling Account Notifications",e.EnablingAccountNotifications="Enabling Account Notifications",e.DisablingNotifications="Disabling Notifications",e.DismissEnablingNotificationsFlow="Dismiss Enabling Notifications Flow",e.EmptyBuyBannerDisplayed="Empty Buy Banner Displayed",e.EmptyBuyBannerClicked="Empty Buy Banner Clicked",e.EmptyReceiveBannerDisplayed="Empty Receive Banner Displayed",e.EmptyReceiveBannerClicked="Empty Receive Banner Clicked",e.EmptyNftsBannerDisplayed="Empty NFTs Banner Displayed",e.EmptyNftsBannerClicked="Empty NFTs Banner Clicked",e.EnablingNotifications="Enabling Notifications",e.EncryptionPublicKeyApproved="Encryption Approved",e.EncryptionPublicKeyRejected="Encryption Rejected",e.EncryptionPublicKeyRequested="Encryption Requested",e.ExternalLinkClicked="External Link Clicked",e.FeatureAnnouncementEnabled="Feature Announcement Enabled",e.FeatureAnnouncementDisabled="Feature Announcement Disabled",e.KeyExportSelected="Key Export Selected",e.KeyExportRequested="Key Export Requested",e.KeyExportFailed="Key Export Failed",e.KeyExportCanceled="Key Export Canceled",e.KeyExportRevealed="Key Material Revealed",e.KeyExportCopied="Key Material Copied",e.KeyTokenDetectionSelected="Key Token Detection Selected",e.KeyGlobalSecurityToggleSelected="Key Global Security/Privacy Settings",e.KeyBalanceTokenPriceChecker="Key Show Balance and Token Price Checker Settings",e.KeyGasFeeEstimationBuySwapTokens="Key Show Gas Fee Estimation, Buy Crypto and Swap Tokens",e.KeyAutoDetectTokens="Key Autodetect tokens",e.KeyBatchAccountBalanceRequests="Key Batch account balance requests",e.MarkAllNotificationsRead="Mark All Notifications Read",e.MetricsOptIn="Metrics Opt In",e.MetricsOptOut="Metrics Opt Out",e.NavAccountMenuOpened="Account Menu Opened",e.NavConnectedSitesOpened="Connected Sites Opened",e.NavMainMenuOpened="Main Menu Opened",e.NavPermissionsOpened="Permissions Opened",e.NavNetworkMenuOpened="Network Menu Opened",e.NavSettingsOpened="Settings Opened",e.NavAccountSwitched="Account Switched",e.NavNetworkSwitched="Network Switched",e.NavBuyButtonClicked="Buy Button Clicked",e.NavSendButtonClicked="Send Button Clicked",e.NavSwapButtonClicked="Swap Button Clicked",e.NftAdded="NFT Added",e.NotificationPageOpened="Notification Page Opened",e.NotificationItemClicked="Notification Item Clicked",e.NotificationDetailClicked="Notification Detail Clicked",e.OnboardingWalletCreationStarted="Wallet Setup Selected",e.OnboardingWalletImportStarted="Wallet Import Started",e.OnboardingWalletCreationAttempted="Wallet Password Created",e.OnboardingWalletSecurityStarted="SRP Backup Selected",e.OnboardingWalletSecuritySkipInitiated="SRP Skip Backup Selected",e.OnboardingWalletSecuritySkipConfirmed="SRP Backup Skipped",e.OnboardingWalletSecuritySkipCanceled="SRP Skip Backup Canceled",e.OnboardingWalletSecurityPhraseRevealed="SRP Revealed",e.OnboardingWalletSecurityPhraseWrittenDown="SRP Backup Confirm Display",e.OnboardingWalletSecurityPhraseConfirmed="SRP Backup Confirmed",e.OnboardingWalletCreationComplete="Wallet Created",e.OnboardingWalletCreationCompleteWithAuthenticating="Wallet Created with Authenticating",e.OnboardingWalletSetupComplete="Application Opened",e.OnboardingWalletAdvancedSettings="Settings Updated",e.OnboardingWalletAdvancedSettingsWithAuthenticating="Settings Updated with Authenticating",e.OnboardingWalletAdvancedSettingsWithoutAuthenticating="Settings Updated without Authenticating",e.OnboardingWalletAdvancedSettingsTurnOffProfileSyncing="Turn Off Profile Syncing",e.OnboardingWalletImportAttempted="Wallet Import Attempted",e.OnboardingWalletVideoPlay="SRP Intro Video Played",e.OnboardingTwitterClick="External Link Clicked",e.OnrampProviderSelected="On-ramp Provider Selected",e.PermissionsApproved="Permissions Approved",e.PermissionsRejected="Permissions Rejected",e.PermissionsRequested="Permissions Requested",e.PetnameCreated="Petname Created",e.PetnameDeleted="Petname Deleted",e.PetnameDisplayed="Petname Displayed",e.PetnameModalOpened="Petname Modal Opened",e.PetnameUpdated="Petname Updated",e.PhishingPageDisplayed="Phishing Page Displayed",e.PortfolioLinkClicked="Portfolio Link Clicked",e.ProviderMethodCalled="Provider Method Called",e.PublicAddressCopied="Public Address Copied",e.QuoteError="Quote Error",e.SettingsUpdated="Settings Updated",e.SignatureApproved="Signature Approved",e.SignatureFailed="Signature Failed",e.SignatureRejected="Signature Rejected",e.SignatureRequested="Signature Requested",e.SimulationFails="Simulation Fails",e.SimulationIncompleteAssetDisplayed="Incomplete Asset Displayed",e.SrpRevealStarted="Reveal SRP Initiated",e.SrpRevealClicked="Clicked Reveal Secret Recovery",e.SrpRevealViewed="Views Reveal Secret Recovery",e.SrpRevealBackButtonClicked="Clicked Back on Reveal SRP Password Page",e.SrpRevealCancelled="Reveal SRP Cancelled",e.SrpRevealCancelButtonClicked="Clicks Cancel on Reveal Secret Recovery Phrase Page",e.SrpRevealCloseClicked="Clicks CLOSE with SRP",e.SrpRevealNextClicked="Clicks Next on Reveal Secret Recovery Phrase",e.SrpHoldToRevealClickStarted="Reveal SRP Click Started",e.SrpHoldToRevealCloseClicked="Closes Hold To Reveal SRP",e.SrpHoldToRevealCompleted="Reveal SRP Completed",e.SrpViewsSrpQR="Views SRP QR Code",e.SrpViewSrpText="Views SRP",e.SrpCopiedToClipboard="Copies SRP to clipboard",e.SrpToConfirmBackup="SRP Backup Confirm Displayed",e.StakingEntryPointClicked="Stake Button Clicked",e.StartEnablingNotificationsFlow="Start Enabling Notifications Flow",e.SupportLinkClicked="Support Link Clicked",e.TermsOfUseShown="Terms of Use Shown",e.TermsOfUseAccepted="Terms of Use Accepted",e.TokenImportButtonClicked="Import Token Button Clicked",e.TokenScreenOpened="Token Screen Opened",e.TokenAdded="Token Added",e.TokenRemoved="Token Removed",e.NFTRemoved="NFT Removed",e.TokenDetected="Token Detected",e.TokenHidden="Token Hidden",e.TokenImportCanceled="Token Import Canceled",e.TokenImportClicked="Token Import Clicked",e.UseNativeCurrencyAsPrimaryCurrency="Use Native Currency as Primary Currency",e.WalletSetupStarted="Wallet Setup Selected",e.WalletSetupCanceled="Wallet Setup Canceled",e.WalletSetupFailed="Wallet Setup Failed",e.WalletCreated="Wallet Created",e.AccountDetailMenuOpened="Account Details Menu Opened",e.BlockExplorerLinkClicked="Block Explorer Clicked",e.AccountRemoved="Account Removed",e.AccountRemoveFailed="Account Remove Failed",e.TestNetworksDisplayed="Test Networks Displayed",e.AddNetworkButtonClick="Add Network Button Clicked",e.CustomNetworkAdded="Custom Network Added",e.TokenDetailsOpened="Token Details Opened",e.NftScreenOpened="NFT Screen Opened",e.NftDetailsOpened="NFT Details Opened",e.ActivityScreenOpened="Activity Screen Opened",e.WhatsNewViewed="What's New Viewed",e.WhatsNewClicked="What's New Link Clicked",e.PrepareSwapPageLoaded="Prepare Swap Page Loaded",e.QuotesRequested="Quotes Requested",e.QuotesReceived="Quotes Received",e.BestQuoteReviewed="Best Quote Reviewed",e.AllAvailableQuotesOpened="All Available Quotes Opened",e.SwapStarted="Swap Started",e.TransactionAdded="Transaction Added",e.TransactionSubmitted="Transaction Submitted",e.TransactionApproved="Transaction Approved",e.SwapCompleted="Swap Completed",e.TransactionFinalized="Transaction Finalized",e.ExitedSwaps="Exited Swaps",e.SwapError="Swap Error",e.SnapInstallStarted="Snap Install Started",e.SnapInstallFailed="Snap Install Failed",e.SnapInstallRejected="Snap Install Rejected",e.SnapInstalled="Snap Installed",e.SnapUninstalled="Snap Uninstalled",e.SnapUpdateStarted="Snap Update Started",e.SnapUpdateRejected="Snap Update Rejected",e.SnapUpdateFailed="Snap Update Failed",e.SnapUpdated="Snap Updated",e.SnapExportUsed="Snap Export Used",e.InsightSnapViewed="Insight Snap Viewed",e.AddSnapAccountEnabled="Add Snap Account Enabled",e.AddSnapAccountViewed="Add Snap Account Viewed",e.AddSnapAccountConfirmed="Add Snap Account Confirmed",e.AddSnapAccountCanceled="Add Snap Account Canceled",e.AddSnapAccountSuccessViewed="Add Snap Account Success Viewed",e.AddSnapAccountSuccessClicked="Add Snap Account Success Clicked",e.RemoveSnapAccountViewed="Remove Snap Account Viewed",e.RemoveSnapAccountConfirmed="Remove Snap Account Confirmed",e.RemoveSnapAccountCanceled="Remove Snap Account Canceled",e.RemoveSnapAccountSuccessViewed="Remove Snap Account Success Viewed",e.RemoveSnapAccountSuccessClicked="Remove Snap Account Success Clicked",e.SnapAccountTransactionLoadingViewed="Snap Account Transaction Loading Viewed",e.SnapAccountTransactionFinalizeViewed="Snap Account Transaction Finalize Viewed",e.SnapAccountTransactionFinalizeRedirectGoToSiteClicked='Snap Account Transaction Finalize Redirect "Go To Site" Clicked',e.SnapAccountTransactionFinalizeRedirectSnapUrlClicked='Snap Account Transaction Finalize Redirect "Snap URL" Clicked',e.SnapAccountTransactionFinalizeClosed="Snap Account Transaction Finalize Closed",e.TokenAutoDetectionEnableModal="Token Autodetection Enabled from modal",e.TokenAutoDetectionDisableModal="Token Autodetection Disabled from modal",e.TurnOffProfileSyncing="Turn Off Profile Syncing",e.TurnOnProfileSyncing="Turn On Profile Syncing",e.TurnOnMetaMetrics="Turn On MetaMetrics",e.TurnOffMetaMetrics="Turn Off MetaMetrics",e.PushNotificationReceived="Push Notification Received",e.PushNotificationClicked="Push Notification Clicked",e.sendAssetSelected="Send Asset Selected",e.sendFlowExited="Send Flow Exited",e.sendRecipientSelected="Send Recipient Selected",e.sendSwapQuoteError="Send Swap Quote Error",e.sendSwapQuoteFetched="Send Swap Quote Fetched",e.sendTokenModalOpened="Send Token Modal Opened",e}({}),r.MetaMetricsEventAccountType=function(e){return e.Default="metamask",e.Hardware="hardware",e.Imported="imported",e.Snap="snap",e}({}),r.MetaMetricsEventAccountImportType=function(e){return e.Json="json",e.PrivateKey="private_key",e.Srp="srp",e}({}),r.MetaMetricsEventCategory=function(e){return e.Accounts="Accounts",e.App="App",e.Auth="Auth",e.Background="Background",e.Desktop="Desktop",e.Error="Error",e.Footer="Footer",e.Home="Home",e.InpageProvider="inpage_provider",e.Keys="Keys",e.Messages="Messages",e.Navigation="Navigation",e.Network="Network",e.EnableNotifications="Enable Notifications",e.Onboarding="Onboarding",e.NotificationInteraction="Notification Interaction",e.NotificationSettings="Notification Settings",e.Petnames="Petnames",e.Phishing="Phishing",e.PushNotifications="Notifications",e.Retention="Retention",e.Send="Send",e.Settings="Settings",e.Snaps="Snaps",e.Swaps="Swaps",e.Tokens="Tokens",e.Transactions="Transactions",e.Wallet="Wallet",e}({}),r.MetaMetricsEventLinkType=function(e){return e.AccountTracker="Account Tracker",e.BlockExplorer="Block Explorer",e.TokenTracker="Token Tracker",e.TransactionBlockExplorer="Transaction Block Explorer",e}({}),r.MetaMetricsEventKeyType=function(e){return e.Pkey="private_key",e.Srp="srp",e}({}),r.MetaMetricsEventErrorType=function(e){return e.InsufficientGas="insufficient_gas",e.GasTimeout="gas_timeout",e}({}),r.MetaMetricsNetworkEventSource=function(e){return e.CustomNetworkForm="custom_network_form",e.PopularNetworkList="popular_network_list",e.Dapp="dapp",e.DeprecatedNetworkModal="deprecated_network_modal",e}({}),r.MetaMetricsSwapsEventSource=function(e){return e.MainView="Main View",e.TokenView="Token View",e}({}),r.MetaMetricsTokenEventSource=function(e){return e.Custom="custom",e.Dapp="dapp",e.Detected="detected",e.List="list",e}({}),r.MetaMetricsTransactionEventSource=function(e){return e.Dapp="dapp",e.User="user",e}({}),r.MetaMetricsEventLocation=function(e){return e.SignatureConfirmation="signature_confirmation",e.TokenDetails="token_details",e.TokenDetection="token_detection",e.TokenMenu="token_menu",e}({}),r.MetaMetricsEventUiCustomization=function(e){return e.FlaggedAsMalicious="flagged_as_malicious",e.FlaggedAsSafetyUnknown="flagged_as_safety_unknown",e.FlaggedAsWarning="flagged_as_warning",e.GasEstimationFailed="gas_estimation_failed",e.RedesignedConfirmation="redesigned_confirmation",e.SecurityAlertError="security_alert_error",e.Siwe="sign_in_with_ethereum",e}({}),r.MetaMetricsContextProp=function(e){return e.PageTitle="location",e}({})}}},{package:"$root$",file:"shared/constants/metametrics.ts"}],[4507,{lodash:3836},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.OPTIMISM_TOKEN_IMAGE_URL=r.OPTIMISM_DISPLAY_NAME=r.OKXCHAIN_MAINNET_IMAGE_URL=r.OASYS_MAINNET_IMAGE_URL=r.NetworkStatus=r.NUMBERS_TOKEN_IMAGE_URL=r.NUMBERS_MAINNET_IMAGE_URL=r.NETWORK_TYPES=r.NETWORK_TO_NAME_MAP=r.NETWORK_NAMES=r.NEBULA_MAINNET_IMAGE_URL=r.NEAR_AURORA_MAINNET_IMAGE_URL=r.MOONRIVER_IMAGE_URL=r.MOONRIVER_DISPLAY_NAME=r.MOONBEAM_IMAGE_URL=r.MOONBEAM_DISPLAY_NAME=r.MAX_SAFE_CHAIN_ID=r.MATIC_TOKEN_IMAGE_URL=r.MANTLE_MAINNET_IMAGE_URL=r.MANTA_PACIFIC_MAINNET_IMAGE_URL=r.MAINNET_RPC_URL=r.MAINNET_DISPLAY_NAME=r.MAINNET_CHAINS=r.LOCALHOST_RPC_URL=r.LOCALHOST_DISPLAY_NAME=r.LINEA_SEPOLIA_TOKEN_IMAGE_URL=r.LINEA_SEPOLIA_RPC_URL=r.LINEA_SEPOLIA_DISPLAY_NAME=r.LINEA_MAINNET_TOKEN_IMAGE_URL=r.LINEA_MAINNET_RPC_URL=r.LINEA_MAINNET_DISPLAY_NAME=r.LINEA_GOERLI_TOKEN_IMAGE_URL=r.LINEA_GOERLI_RPC_URL=r.LINEA_GOERLI_DISPLAY_NAME=r.LIGHT_LINK_IMAGE_URL=r.KROMA_MAINNET_IMAGE_URL=r.KLAYTN_MAINNET_IMAGE_URL=r.KCC_MAINNET_IMAGE_URL=r.IPFS_DEFAULT_GATEWAY_URL=r.INFURA_PROVIDER_TYPES=r.INFURA_BLOCKED_KEY=r.HARMONY_ONE_TOKEN_IMAGE_URL=r.HARMONY_DISPLAY_NAME=r.HAQQ_NETWORK_IMAGE_URL=r.GOERLI_RPC_URL=r.GOERLI_DISPLAY_NAME=r.GNOSIS_TOKEN_IMAGE_URL=r.GNOSIS_DISPLAY_NAME=r.FUSE_GOLD_MAINNET_IMAGE_URL=r.FTM_TOKEN_IMAGE_URL=r.FLARE_MAINNET_IMAGE_URL=r.FILECOIN_MAINNET_IMAGE_URL=r.FEATURED_RPCS=r.FANTOM_DISPLAY_NAME=r.EVMOS_IMAGE_URL=r.ETH_TOKEN_IMAGE_URL=r.ETHERSCAN_SUPPORTED_NETWORKS=r.ETHEREUM_CLASSIC_MAINNET_IMAGE_URL=r.ENDURANCE_SMART_CHAIN_MAINNET_IMAGE_URL=r.DOGECHAIN_IMAGE_URL=r.DFK_CHAIN_IMAGE_URL=r.DEXALOT_SUBNET_IMAGE_URL=r.DEPRECATED_NETWORKS=r.CURRENCY_SYMBOLS=r.CRONOS_IMAGE_URL=r.CRONOS_DISPLAY_NAME=r.CORE_BLOCKCHAIN_MAINNET_IMAGE_URL=r.CONFLUX_ESPACE_IMAGE_URL=r.CHAIN_ID_TO_TYPE_MAP=r.CHAIN_ID_TO_RPC_URL_MAP=r.CHAIN_ID_TO_NETWORK_IMAGE_URL_MAP=r.CHAIN_ID_TO_GAS_LIMIT_BUFFER_MAP=r.CHAIN_ID_TO_ETHERS_NETWORK_NAME_MAP=r.CHAIN_ID_TO_CURRENCY_SYMBOL_MAP_NETWORK_COLLISION=r.CHAIN_ID_TO_CURRENCY_SYMBOL_MAP=r.CHAIN_ID_TOKEN_IMAGE_MAP=r.CHAIN_IDS=r.CHAINLIST_CURRENCY_SYMBOLS_MAP_NETWORK_COLLISION=r.CHAINLIST_CHAIN_IDS_MAP=r.CELO_TOKEN_IMAGE_URL=r.CELO_DISPLAY_NAME=r.CANTO_IMAGE_URL=r.BUYABLE_CHAINS_MAP=r.BUILT_IN_NETWORKS=r.BUILT_IN_INFURA_NETWORKS=r.BSC_DISPLAY_NAME=r.BNB_TOKEN_IMAGE_URL=r.BNB_DISPLAY_NAME=r.BLACKFORT_IMAGE_URL=r.BASE_TOKEN_IMAGE_URL=r.BASE_DISPLAY_NAME=r.BAHAMUT_IMAGE_URL=r.AVAX_TOKEN_IMAGE_URL=r.AVALANCHE_DISPLAY_NAME=r.AURORA_DISPLAY_NAME=r.ASTAR_IMAGE_URL=r.ARBITRUM_NOVA_IMAGE_URL=r.ARBITRUM_DISPLAY_NAME=r.AETH_TOKEN_IMAGE_URL=r.ACALA_TOKEN_IMAGE_URL=void 0,r.infuraProjectId=r.getRpcUrl=r.ZORA_MAINNET_IMAGE_URL=r.ZK_SYNC_ERA_TOKEN_IMAGE_URL=r.ZK_SYNC_ERA_DISPLAY_NAME=r.ZKEVM_MAINNET_IMAGE_URL=r.ZKATANA_MAINNET_IMAGE_URL=r.VELAS_EVM_MAINNET_IMAGE_URL=r.UNSUPPORTED_RPC_METHODS=r.TEST_NETWORK_TICKER_MAP=r.TEST_NETWORKS=r.TEST_ETH_TOKEN_IMAGE_URL=r.TEST_CHAINS=r.TENET_MAINNET_IMAGE_URL=r.TELOS_EVM_MAINNET_IMAGE_URL=r.STEP_NETWORK_IMAGE_URL=r.SONGBIRD_MAINNET_IMAGE_URL=r.SHIB_MAINNET_IMAGE_URL=r.SHARDEUM_SPHINX_1X_IMAGE_URL=r.SHARDEUM_LIBERTY_2X_IMAGE_URL=r.SEPOLIA_RPC_URL=r.SEPOLIA_DISPLAY_NAME=r.SEI_IMAGE_URL=r.SCROLL_SEPOLIA_DISPLAY_NAME=r.SCROLL_IMAGE_URL=r.SCROLL_DISPLAY_NAME=r.PULSECHAIN_MAINNET_IMAGE_URL=r.POLYGON_ZKEVM_DISPLAY_NAME=r.POLYGON_DISPLAY_NAME=r.PGN_MAINNET_IMAGE_URL=r.PALM_TOKEN_IMAGE_URL=r.PALM_DISPLAY_NAME=r.OP_BNB_DISPLAY_NAME=void 0;var n=e("lodash");const o=r.NETWORK_TYPES={GOERLI:"goerli",LOCALHOST:"localhost",MAINNET:"mainnet",RPC:"rpc",SEPOLIA:"sepolia",LINEA_GOERLI:"linea-goerli",LINEA_SEPOLIA:"linea-sepolia",LINEA_MAINNET:"linea-mainnet"},i=r.NETWORK_NAMES={HOMESTEAD:"homestead"},a=r.CHAIN_IDS={MAINNET:"0x1",GOERLI:"0x5",LOCALHOST:"0x539",BSC:"0x38",BSC_TESTNET:"0x61",OPTIMISM:"0xa",OPTIMISM_TESTNET:"0xaa37dc",OPTIMISM_GOERLI:"0x1a4",BASE:"0x2105",BASE_TESTNET:"0x14a33",OPBNB:"0xcc",OPBNB_TESTNET:"0x15eb",POLYGON:"0x89",POLYGON_TESTNET:"0x13881",AVALANCHE:"0xa86a",AVALANCHE_TESTNET:"0xa869",FANTOM:"0xfa",FANTOM_TESTNET:"0xfa2",CELO:"0xa4ec",ARBITRUM:"0xa4b1",HARMONY:"0x63564c40",PALM:"0x2a15c308d",SEPOLIA:"0xaa36a7",LINEA_GOERLI:"0xe704",LINEA_SEPOLIA:"0xe705",LINEA_MAINNET:"0xe708",AURORA:"0x4e454152",MOONBEAM:"0x504",MOONBEAM_TESTNET:"0x507",MOONRIVER:"0x505",CRONOS:"0x19",GNOSIS:"0x64",ZKSYNC_ERA:"0x144",TEST_ETH:"0x539",ARBITRUM_GOERLI:"0x66eed",BLAST:"0x13e31",FILECOIN:"0x13a",POLYGON_ZKEVM:"0x44d",SCROLL:"0x82750",SCROLL_SEPOLIA:"0x8274f",WETHIO:"0x4e",CHZ:"0x15b38",NUMBERS:"0x290b",SEI:"0x531"},s=r.CHAINLIST_CHAIN_IDS_MAP={...a,SCROLL:"0x82750",TAIKO_JOLNIR_L2_MAINNET:"0x28c5f",FANTOM_OPERA:"0xfa",CELO_MAINNET:"0xa4ec",KAVA_EVM:"0x8ae",HARMONY_MAINNET_SHARD_0:"0x63564c40",CRONOS_MAINNET_BETA:"0x19",Q_MAINNET:"0x8a71",HUOBI_ECO_CHAIN_MAINNET:"0x80",ACALA_NETWORK:"0x313",ARBITRUM_NOVA:"0xa4ba",ASTAR:"0x250",BAHAMUT_MAINNET:"0x142d",BLACKFORT_EXCHANGE_NETWORK:"0x1387",CANTO:"0x1e14",CONFLUX_ESPACE:"0x406",CORE_BLOCKCHAIN_MAINNET:"0x45c",DEXALOT_SUBNET:"0x6984c",DFK_CHAIN:"0xd2af",DOGECHAIN_MAINNET:"0x7d0",ENDURANCE_SMART_CHAIN_MAINNET:"0x288",ETHEREUM_CLASSIC_MAINNET:"0x3d",EVMOS:"0x2329",FLARE_MAINNET:"0xe",FUSE_GOLD_MAINNET:"0x7a",HAQQ_NETWORK:"0x2be3",KCC_MAINNET:"0x141",KLAYTN_MAINNET_CYPRESS:"0x2019",KROMA_MAINNET:"0xff",LIGHTLINK_PHOENIX_MAINNET:"0x762",MANTA_PACIFIC_MAINNET:"0xa9",MANTLE:"0x1388",NEAR_AURORA_MAINNET:"0x4e454152",NEBULA_MAINNET:"0x585eb4b1",OASYS_MAINNET:"0xf8",OKXCHAIN_MAINNET:"0x42",PGN_PUBLIC_GOODS_NETWORK:"0x1a8",PULSECHAIN_MAINNET:"0x171",SHARDEUM_LIBERTY_2X:"0x1f91",SHARDEUM_SPHINX_1X:"0x1f92",SHIB_MAINNET:"0x1b",SONGBIRD_CANARY_NETWORK:"0x13",STEP_NETWORK:"0x4d2",TELOS_EVM_MAINNET:"0x28",TENET:"0x617",VELAS_EVM_MAINNET:"0x6a",ZKATANA:"0x133e40",ZORA_MAINNET:"0x76adf1",FILECOIN:"0x13a",NUMBERS:"0x290b"},c=(r.DEPRECATED_NETWORKS=[a.GOERLI,a.ARBITRUM_GOERLI,a.OPTIMISM_GOERLI,a.POLYGON_TESTNET,a.LINEA_GOERLI],r.MAX_SAFE_CHAIN_ID=0xfffffffffffec,r.MAINNET_DISPLAY_NAME="Ethereum Mainnet"),u=r.GOERLI_DISPLAY_NAME="Goerli",l=r.SEPOLIA_DISPLAY_NAME="Sepolia",f=r.LINEA_GOERLI_DISPLAY_NAME="Linea Goerli",d=r.LINEA_SEPOLIA_DISPLAY_NAME="Linea Sepolia",h=r.LINEA_MAINNET_DISPLAY_NAME="Linea Mainnet",p=r.LOCALHOST_DISPLAY_NAME="Localhost 8545",m=r.BSC_DISPLAY_NAME="Binance Smart Chain",g=r.POLYGON_DISPLAY_NAME="Polygon",A=r.AVALANCHE_DISPLAY_NAME="Avalanche Network C-Chain",y=r.ARBITRUM_DISPLAY_NAME="Arbitrum One",_=r.BNB_DISPLAY_NAME="BNB Chain",b=r.OPTIMISM_DISPLAY_NAME="OP Mainnet",v=(r.FANTOM_DISPLAY_NAME="Fantom Opera",r.HARMONY_DISPLAY_NAME="Harmony Mainnet Shard 0",r.PALM_DISPLAY_NAME="Palm",r.CELO_DISPLAY_NAME="Celo Mainnet",r.GNOSIS_DISPLAY_NAME="Gnosis",r.ZK_SYNC_ERA_DISPLAY_NAME="zkSync Era Mainnet"),E=r.BASE_DISPLAY_NAME="Base Mainnet",T=(r.AURORA_DISPLAY_NAME="Aurora Mainnet",r.CRONOS_DISPLAY_NAME="Cronos",r.POLYGON_ZKEVM_DISPLAY_NAME="Polygon zkEVM",r.MOONBEAM_DISPLAY_NAME="Moonbeam",r.MOONRIVER_DISPLAY_NAME="Moonriver",r.SCROLL_DISPLAY_NAME="Scroll"),w=r.SCROLL_SEPOLIA_DISPLAY_NAME="Scroll Sepolia",N=r.OP_BNB_DISPLAY_NAME="opBNB",S=r.infuraProjectId="0d73cc5bbe184146957a9d00764db99f",I=({network:e,excludeProjectId:t=!1})=>`https://${e}.infura.io/v3/${t?"":S}`;r.getRpcUrl=I;const O=r.MAINNET_RPC_URL=I({network:o.MAINNET}),C=r.GOERLI_RPC_URL=I({network:o.GOERLI}),M=r.SEPOLIA_RPC_URL=I({network:o.SEPOLIA}),R=r.LINEA_GOERLI_RPC_URL=I({network:o.LINEA_GOERLI}),P=r.LINEA_SEPOLIA_RPC_URL=I({network:o.LINEA_SEPOLIA}),x=r.LINEA_MAINNET_RPC_URL=I({network:o.LINEA_MAINNET}),k=r.LOCALHOST_RPC_URL="http://localhost:8545",L=r.CURRENCY_SYMBOLS={ARBITRUM:"ETH",AVALANCHE:"AVAX",BNB:"BNB",BUSD:"BUSD",CELO:"CELO",DAI:"DAI",GNOSIS:"XDAI",ETH:"ETH",FANTOM:"FTM",HARMONY:"ONE",PALM:"PALM",MATIC:"MATIC",TEST_ETH:"TESTETH",USDC:"USDC",USDT:"USDT",WETH:"WETH",OPTIMISM:"ETH",CRONOS:"CRO",GLIMMER:"GLMR",MOONRIVER:"MOVR",ONE:"ONE"},j={...L,BASE:"ETH",LINEA_MAINNET:"ETH",OPBNB:"BNB",ZKSYNC_ERA:"ETH",SCROLL:"ETH",ZORA_MAINNET:"ETH",TAIKO_JOLNIR_L2_MAINNET:"ETH",POLYGON_ZKEVM:"ETH",FANTOM_OPERA:"FTM",CELO_MAINNET:"CELO",ARBITRUM_NOVA:"ETH",MANTLE:"MNT",CORE_BLOCKCHAIN_MAINNET:"CORE",MANTA_PACIFIC_MAINNET:"ETH",PULSECHAIN_MAINNET:"PLS",MOONBEAM:"GLMR",FUSE_GOLD_MAINNET:"FUSE",KAVA_EVM:"KAVA",DFK_CHAIN:"JEWEL",HARMONY_MAINNET_SHARD_0:"ONE",PGN_PUBLIC_GOODS_NETWORK:"ETH",LIGHTLINK_PHOENIX_MAINNET:"ETH",NEAR_AURORA_MAINNET:"ETH",KROMA_MAINNET:"ETH",NEBULA_MAINNET:"sFUEL",KLAYTN_MAINNET_CYPRESS:"KLAY",ENDURANCE_SMART_CHAIN_MAINNET:"ACE",CRONOS_MAINNET_BETA:"CRO",FLARE_MAINNET:"FLR",KCC_MAINNET:"KCS",SHARDEUM_SPHINX_1X:"SHM",ETHEREUM_CLASSIC_MAINNET:"ETC",HAQQ_NETWORK:"ISLM",SHARDEUM_LIBERTY_2X:"SHM",BLACKFORT_EXCHANGE_NETWORK:"BXN",CONFLUX_ESPACE:"CFX",CANTO:"CANTO",SHIB_MAINNET:"SHIB",OKXCHAIN_MAINNET:"OKT",ZKATANA:"ETH",DEXALOT_SUBNET:"ALOT",ASTAR:"ASTR",EVMOS:"EVMOS",BAHAMUT_MAINNET:"FTN",SONGBIRD_CANARY_NETWORK:"SGB",STEP_NETWORK:"FITFI",VELAS_EVM_MAINNET:"VLX",Q_MAINNET:"Q",TELOS_EVM_MAINNET:"TLOS",TENET:"TENET",DOGECHAIN_MAINNET:"DOGE",OASYS_MAINNET:"OAS",HUOBI_ECO_CHAIN_MAINNET:"HT",ACALA_NETWORK:"ACA"},B=r.CHAINLIST_CURRENCY_SYMBOLS_MAP_NETWORK_COLLISION={WETHIO:"ZYN",CHZ:"CHZ"},D=r.ETH_TOKEN_IMAGE_URL="./images/eth_logo.svg",U=r.LINEA_GOERLI_TOKEN_IMAGE_URL="./images/linea-logo-testnet.png",H=r.LINEA_SEPOLIA_TOKEN_IMAGE_URL="./images/linea-logo-testnet.png",F=r.LINEA_MAINNET_TOKEN_IMAGE_URL="./images/linea-logo-mainnet.svg",G=r.TEST_ETH_TOKEN_IMAGE_URL="./images/black-eth-logo.svg",K=r.BNB_TOKEN_IMAGE_URL="./images/bnb.svg",z=r.MATIC_TOKEN_IMAGE_URL="./images/matic-token.svg",W=r.AVAX_TOKEN_IMAGE_URL="./images/avax-token.svg",Y=r.AETH_TOKEN_IMAGE_URL="./images/arbitrum.svg",V=r.FTM_TOKEN_IMAGE_URL="./images/fantom-opera.svg",$=r.HARMONY_ONE_TOKEN_IMAGE_URL="./images/harmony-one.svg",X=r.OPTIMISM_TOKEN_IMAGE_URL="./images/optimism.svg",q=r.PALM_TOKEN_IMAGE_URL="./images/palm.svg",Q=r.CELO_TOKEN_IMAGE_URL="./images/celo.svg",J=r.GNOSIS_TOKEN_IMAGE_URL="./images/gnosis.svg",Z=r.ZK_SYNC_ERA_TOKEN_IMAGE_URL="./images/zk-sync.svg",ee=r.BASE_TOKEN_IMAGE_URL="./images/base.svg",te=r.ACALA_TOKEN_IMAGE_URL="./images/acala-network-logo.svg",re=r.ARBITRUM_NOVA_IMAGE_URL="./images/arbitrum-nova-logo.svg",ne=r.ASTAR_IMAGE_URL="./images/astar-logo.svg",oe=r.BAHAMUT_IMAGE_URL="./images/bahamut.png",ie=r.BLACKFORT_IMAGE_URL="./images/blackfort.png",ae=r.CANTO_IMAGE_URL="./images/canto.svg",se=r.CONFLUX_ESPACE_IMAGE_URL="./images/conflux.svg",ce=r.CORE_BLOCKCHAIN_MAINNET_IMAGE_URL="./images/core.svg",ue=r.CRONOS_IMAGE_URL="./images/cronos.svg",le=r.DEXALOT_SUBNET_IMAGE_URL="./images/dexalut-subnet.svg",fe=r.DFK_CHAIN_IMAGE_URL="./images/dfk.png",de=r.DOGECHAIN_IMAGE_URL="./images/dogechain.jpeg",he=r.ENDURANCE_SMART_CHAIN_MAINNET_IMAGE_URL="./images/endurance-smart-chain-mainnet.png",pe=r.ETHEREUM_CLASSIC_MAINNET_IMAGE_URL="./images/eth_classic.svg",me=r.EVMOS_IMAGE_URL="./images/evmos.svg",ge=r.FLARE_MAINNET_IMAGE_URL="./images/flare-mainnet.svg",Ae=r.FUSE_GOLD_MAINNET_IMAGE_URL="./images/fuse-mainnet.jpg",ye=r.HAQQ_NETWORK_IMAGE_URL="./images/haqq.svg",_e=r.KCC_MAINNET_IMAGE_URL="./images/kcc-mainnet.svg",be=r.KLAYTN_MAINNET_IMAGE_URL="./images/klaytn.svg",ve=r.KROMA_MAINNET_IMAGE_URL="./images/kroma.svg",Ee=r.LIGHT_LINK_IMAGE_URL="./images/lightlink.svg",Te=r.MANTA_PACIFIC_MAINNET_IMAGE_URL="./images/manta.svg",we=r.MANTLE_MAINNET_IMAGE_URL="./images/mantle.svg",Ne=r.MOONBEAM_IMAGE_URL="./images/moonbeam.svg",Se=r.MOONRIVER_IMAGE_URL="./images/moonriver.svg",Ie=r.NEAR_AURORA_MAINNET_IMAGE_URL="./images/near-aurora.svg",Oe=r.NEBULA_MAINNET_IMAGE_URL="./images/nebula.svg",Ce=r.OASYS_MAINNET_IMAGE_URL="./images/oasys.svg",Me=r.OKXCHAIN_MAINNET_IMAGE_URL="./images/okx.svg",Re=r.PGN_MAINNET_IMAGE_URL="./images/pgn.svg",Pe=r.ZKEVM_MAINNET_IMAGE_URL="./images/polygon-zkevm.svg",xe=r.PULSECHAIN_MAINNET_IMAGE_URL="./images/pulse.svg",ke=r.SHARDEUM_LIBERTY_2X_IMAGE_URL="./images/shardeum-2.svg",Le=r.SHARDEUM_SPHINX_1X_IMAGE_URL="./images/shardeum-1.svg",je=r.SHIB_MAINNET_IMAGE_URL="./images/shiba.svg",Be=r.SONGBIRD_MAINNET_IMAGE_URL="./images/songbird.svg",De=r.STEP_NETWORK_IMAGE_URL="./images/step.svg",Ue=r.TELOS_EVM_MAINNET_IMAGE_URL="./images/telos.svg",He=r.TENET_MAINNET_IMAGE_URL="./images/tenet.svg",Fe=r.VELAS_EVM_MAINNET_IMAGE_URL="./images/velas.svg",Ge=r.ZKATANA_MAINNET_IMAGE_URL="./images/zkatana.png",Ke=r.ZORA_MAINNET_IMAGE_URL="./images/zora.svg",ze=r.FILECOIN_MAINNET_IMAGE_URL="./images/filecoin.svg",We=r.SCROLL_IMAGE_URL="./images/scroll.svg",Ye=r.NUMBERS_MAINNET_IMAGE_URL="./images/numbers-mainnet.svg",Ve=r.NUMBERS_TOKEN_IMAGE_URL="./images/numbers-token.png",$e=r.SEI_IMAGE_URL="./images/sei.svg",Xe=r.INFURA_PROVIDER_TYPES=[o.MAINNET,o.SEPOLIA,o.LINEA_GOERLI,o.LINEA_SEPOLIA,o.LINEA_MAINNET],qe=(r.TEST_CHAINS=[a.SEPOLIA,o.LINEA_GOERLI,a.LINEA_SEPOLIA,a.LOCALHOST],r.MAINNET_CHAINS=[{chainId:a.MAINNET,rpcUrl:O},{chainId:a.LINEA_MAINNET,rpcUrl:x}],e=>(0,n.capitalize)(e)),Qe=r.TEST_NETWORK_TICKER_MAP={[o.GOERLI]:`${qe(o.GOERLI)}${L.ETH}`,[o.SEPOLIA]:`${qe(o.SEPOLIA)}${L.ETH}`,[o.LINEA_GOERLI]:`Linea${L.ETH}`,[o.LINEA_SEPOLIA]:`Linea${L.ETH}`},Je=r.BUILT_IN_NETWORKS={[o.SEPOLIA]:{chainId:a.SEPOLIA,ticker:Qe[o.SEPOLIA],blockExplorerUrl:`https://${o.SEPOLIA}.etherscan.io`},[o.LINEA_GOERLI]:{chainId:a.LINEA_GOERLI,ticker:Qe[o.LINEA_GOERLI],blockExplorerUrl:"https://goerli.lineascan.build"},[o.LINEA_SEPOLIA]:{chainId:a.LINEA_SEPOLIA,ticker:Qe[o.LINEA_SEPOLIA],blockExplorerUrl:"https://sepolia.lineascan.build"},[o.MAINNET]:{chainId:a.MAINNET,blockExplorerUrl:"https://etherscan.io"},[o.LINEA_MAINNET]:{chainId:a.LINEA_MAINNET,blockExplorerUrl:"https://lineascan.build"},[o.LOCALHOST]:{chainId:a.LOCALHOST}},Ze=(r.BUILT_IN_INFURA_NETWORKS=(0,n.pick)(Je,Xe),r.NETWORK_TO_NAME_MAP={[o.GOERLI]:u,[o.MAINNET]:c,[o.LINEA_GOERLI]:f,[o.LINEA_SEPOLIA]:d,[o.LINEA_MAINNET]:h,[o.LOCALHOST]:p,[o.SEPOLIA]:l,[a.ARBITRUM]:y,[a.AVALANCHE]:A,[a.BSC]:m,[a.BASE]:E,[a.GOERLI]:u,[a.MAINNET]:c,[a.LINEA_GOERLI]:f,[a.LINEA_MAINNET]:h,[a.LINEA_SEPOLIA]:d,[a.LOCALHOST]:p,[a.OPTIMISM]:b,[a.POLYGON]:g,[a.SCROLL]:T,[a.SCROLL_SEPOLIA]:w,[a.SEPOLIA]:l,[a.OPBNB]:N},r.CHAIN_ID_TO_CURRENCY_SYMBOL_MAP={[s.AVALANCHE]:j.AVALANCHE,[s.BSC]:j.BNB,[s.BASE]:j.BASE,[s.ARBITRUM]:j.ARBITRUM,[s.LINEA_MAINNET]:j.LINEA_MAINNET,[s.MAINNET]:j.ETH,[s.OPBNB]:j.OPBNB,[s.OPTIMISM]:j.OPTIMISM,[s.POLYGON]:j.MATIC,[s.ZKSYNC_ERA]:j.ZKSYNC_ERA,[s.GOERLI]:Qe[o.GOERLI],[s.SEPOLIA]:Qe[o.SEPOLIA],[s.LINEA_GOERLI]:Qe[o.LINEA_GOERLI],[s.LINEA_SEPOLIA]:Qe[o.LINEA_SEPOLIA],[s.SCROLL]:j.SCROLL,[s.ZORA_MAINNET]:j.ZORA_MAINNET,[s.TAIKO_JOLNIR_L2_MAINNET]:j.TAIKO_JOLNIR_L2_MAINNET,[s.POLYGON_ZKEVM]:j.POLYGON_ZKEVM,[s.FANTOM_OPERA]:j.FANTOM_OPERA,[s.CELO_MAINNET]:j.CELO_MAINNET,[s.ARBITRUM_NOVA]:j.ARBITRUM_NOVA,[s.MANTLE]:j.MANTLE,[s.GNOSIS]:j.GNOSIS,[s.CORE_BLOCKCHAIN_MAINNET]:j.CORE_BLOCKCHAIN_MAINNET,[s.MANTA_PACIFIC_MAINNET]:j.MANTA_PACIFIC_MAINNET,[s.PULSECHAIN_MAINNET]:j.PULSECHAIN_MAINNET,[s.MOONBEAM]:j.MOONBEAM,[s.FUSE_GOLD_MAINNET]:j.FUSE_GOLD_MAINNET,[s.KAVA_EVM]:j.KAVA_EVM,[s.DFK_CHAIN]:j.DFK_CHAIN,[s.HARMONY_MAINNET_SHARD_0]:j.HARMONY_MAINNET_SHARD_0,[s.PGN_PUBLIC_GOODS_NETWORK]:j.PGN_PUBLIC_GOODS_NETWORK,[s.LIGHTLINK_PHOENIX_MAINNET]:j.LIGHTLINK_PHOENIX_MAINNET,[s.NEAR_AURORA_MAINNET]:j.NEAR_AURORA_MAINNET,[s.KROMA_MAINNET]:j.KROMA_MAINNET,[s.NEBULA_MAINNET]:j.NEBULA_MAINNET,[s.KLAYTN_MAINNET_CYPRESS]:j.KLAYTN_MAINNET_CYPRESS,[s.MOONRIVER]:j.MOONRIVER,[s.ENDURANCE_SMART_CHAIN_MAINNET]:j.ENDURANCE_SMART_CHAIN_MAINNET,[s.CRONOS_MAINNET_BETA]:j.CRONOS_MAINNET_BETA,[s.FLARE_MAINNET]:j.FLARE_MAINNET,[s.KCC_MAINNET]:j.KCC_MAINNET,[s.SHARDEUM_SPHINX_1X]:j.SHARDEUM_SPHINX_1X,[s.ETHEREUM_CLASSIC_MAINNET]:j.ETHEREUM_CLASSIC_MAINNET,[s.HAQQ_NETWORK]:j.HAQQ_NETWORK,[s.SHARDEUM_LIBERTY_2X]:j.SHARDEUM_LIBERTY_2X,[s.BLACKFORT_EXCHANGE_NETWORK]:j.BLACKFORT_EXCHANGE_NETWORK,[s.CONFLUX_ESPACE]:j.CONFLUX_ESPACE,[s.CANTO]:j.CANTO,[s.SHIB_MAINNET]:j.SHIB_MAINNET,[s.OKXCHAIN_MAINNET]:j.OKXCHAIN_MAINNET,[s.ZKATANA]:j.ZKATANA,[s.DEXALOT_SUBNET]:j.DEXALOT_SUBNET,[s.ASTAR]:j.ASTAR,[s.EVMOS]:j.EVMOS,[s.BAHAMUT_MAINNET]:j.BAHAMUT_MAINNET,[s.SONGBIRD_CANARY_NETWORK]:j.SONGBIRD_CANARY_NETWORK,[s.STEP_NETWORK]:j.STEP_NETWORK,[s.VELAS_EVM_MAINNET]:j.VELAS_EVM_MAINNET,[s.Q_MAINNET]:j.Q_MAINNET,[s.TELOS_EVM_MAINNET]:j.TELOS_EVM_MAINNET,[s.TENET]:j.TENET,[s.DOGECHAIN_MAINNET]:j.DOGECHAIN_MAINNET,[s.OASYS_MAINNET]:j.OASYS_MAINNET,[s.HUOBI_ECO_CHAIN_MAINNET]:j.HUOBI_ECO_CHAIN_MAINNET,[s.ACALA_NETWORK]:j.ACALA_NETWORK},r.CHAIN_ID_TO_CURRENCY_SYMBOL_MAP_NETWORK_COLLISION={[s.CHZ]:[{currencySymbol:B.CHZ}],[s.WETHIO]:[{currencySymbol:B.WETHIO}]},r.CHAIN_ID_TO_TYPE_MAP={[a.MAINNET]:o.MAINNET,[a.GOERLI]:o.GOERLI,[a.SEPOLIA]:o.SEPOLIA,[a.LINEA_GOERLI]:o.LINEA_GOERLI,[a.LINEA_SEPOLIA]:o.LINEA_SEPOLIA,[a.LINEA_MAINNET]:o.LINEA_MAINNET,[a.LOCALHOST]:o.LOCALHOST}),et=(r.CHAIN_ID_TO_RPC_URL_MAP={[a.GOERLI]:C,[a.SEPOLIA]:M,[a.LINEA_GOERLI]:R,[a.LINEA_SEPOLIA]:P,[a.MAINNET]:O,[a.LINEA_MAINNET]:x,[a.LOCALHOST]:k},r.CHAIN_ID_TO_NETWORK_IMAGE_URL_MAP={[a.MAINNET]:D,[a.LINEA_GOERLI]:U,[a.LINEA_SEPOLIA]:H,[a.LINEA_MAINNET]:F,[a.AVALANCHE]:W,[a.BSC]:K,[a.POLYGON]:z,[a.ARBITRUM]:Y,[a.FANTOM]:V,[a.HARMONY]:$,[a.OPTIMISM]:X,[a.PALM]:q,[a.CELO]:Q,[a.GNOSIS]:J,[s.ACALA_NETWORK]:te,[s.ARBITRUM_NOVA]:re,[s.ASTAR]:ne,[s.BAHAMUT_MAINNET]:oe,[s.BLACKFORT_EXCHANGE_NETWORK]:ie,[s.CANTO]:ae,[s.CONFLUX_ESPACE]:se,[s.CORE_BLOCKCHAIN_MAINNET]:ce,[a.CRONOS]:ue,[s.DEXALOT_SUBNET]:le,[s.DFK_CHAIN]:fe,[s.DOGECHAIN_MAINNET]:de,[s.ENDURANCE_SMART_CHAIN_MAINNET]:he,[s.ETHEREUM_CLASSIC_MAINNET]:pe,[s.EVMOS]:me,[s.FLARE_MAINNET]:ge,[s.FUSE_GOLD_MAINNET]:Ae,[s.HAQQ_NETWORK]:ye,[s.KCC_MAINNET]:_e,[s.KLAYTN_MAINNET_CYPRESS]:be,[s.KROMA_MAINNET]:ve,[s.LIGHTLINK_PHOENIX_MAINNET]:Ee,[s.MANTA_PACIFIC_MAINNET]:Te,[s.MANTLE]:we,[s.MOONBEAM]:Ne,[s.MOONRIVER]:Se,[s.NEAR_AURORA_MAINNET]:Ie,[s.NEBULA_MAINNET]:Oe,[s.OASYS_MAINNET]:Ce,[s.OKXCHAIN_MAINNET]:Me,[s.PGN_PUBLIC_GOODS_NETWORK]:Re,[s.POLYGON_ZKEVM]:Pe,[s.PULSECHAIN_MAINNET]:xe,[s.SHARDEUM_LIBERTY_2X]:ke,[s.SHARDEUM_SPHINX_1X]:Le,[s.SHIB_MAINNET]:je,[s.SONGBIRD_CANARY_NETWORK]:Be,[s.STEP_NETWORK]:De,[s.TELOS_EVM_MAINNET]:Ue,[s.TENET]:He,[s.VELAS_EVM_MAINNET]:Fe,[s.ZKATANA]:Ge,[s.ZORA_MAINNET]:Ke,[s.FILECOIN]:ze,[s.BASE]:ee,[s.NUMBERS]:Ye,[s.SEI]:$e},r.CHAIN_ID_TO_ETHERS_NETWORK_NAME_MAP={[a.GOERLI]:o.GOERLI,[a.SEPOLIA]:o.SEPOLIA,[a.LINEA_GOERLI]:o.LINEA_GOERLI,[a.LINEA_SEPOLIA]:o.LINEA_SEPOLIA,[a.MAINNET]:i.HOMESTEAD,[a.LINEA_MAINNET]:o.LINEA_MAINNET},r.CHAIN_ID_TOKEN_IMAGE_MAP={[a.MAINNET]:D,[a.TEST_ETH]:G,[a.BSC]:K,[a.POLYGON]:z,[a.AVALANCHE]:W,[a.OPTIMISM]:D,[a.CELO]:Q,[a.GNOSIS]:J,[a.FANTOM]:V,[a.FILECOIN]:ze,[a.SCROLL]:We,[a.SCROLL_SEPOLIA]:We,[a.NUMBERS]:Ve,[a.SEI]:$e},r.INFURA_BLOCKED_KEY="countryBlocked","etherscan.io"),tt="api";r.ETHERSCAN_SUPPORTED_NETWORKS={[a.GOERLI]:{domain:et,subdomain:`${tt}-${Ze[a.GOERLI]}`},[a.MAINNET]:{domain:et,subdomain:tt},[a.SEPOLIA]:{domain:et,subdomain:`${tt}-${Ze[a.SEPOLIA]}`},[a.LINEA_GOERLI]:{domain:"lineascan.build",subdomain:"goerli"},[a.LINEA_SEPOLIA]:{domain:"lineascan.build",subdomain:"sepolia"},[a.LINEA_MAINNET]:{domain:"lineascan.build",subdomain:tt},[a.BSC]:{domain:"bscscan.com",subdomain:tt},[a.BSC_TESTNET]:{domain:"bscscan.com",subdomain:`${tt}-testnet`},[a.OPTIMISM]:{domain:et,subdomain:`${tt}-optimistic`},[a.OPTIMISM_TESTNET]:{domain:et,subdomain:`${tt}-sepolia-optimistic`},[a.POLYGON]:{domain:"polygonscan.com",subdomain:tt},[a.POLYGON_TESTNET]:{domain:"polygonscan.com",subdomain:`${tt}-mumbai`},[a.AVALANCHE]:{domain:"snowtrace.io",subdomain:tt},[a.AVALANCHE_TESTNET]:{domain:"snowtrace.io",subdomain:`${tt}-testnet`},[a.FANTOM]:{domain:"ftmscan.com",subdomain:tt},[a.FANTOM_TESTNET]:{domain:"ftmscan.com",subdomain:`${tt}-testnet`},[a.MOONBEAM]:{domain:"moonscan.io",subdomain:`${tt}-moonbeam`},[a.MOONBEAM_TESTNET]:{domain:"moonscan.io",subdomain:`${tt}-moonbase`},[a.MOONRIVER]:{domain:"moonscan.io",subdomain:`${tt}-moonriver`},[a.GNOSIS]:{domain:"gnosisscan.io",subdomain:`${tt}-gnosis`}},r.CHAIN_ID_TO_GAS_LIMIT_BUFFER_MAP={[a.OPTIMISM]:1,[a.OPTIMISM_TESTNET]:1},r.UNSUPPORTED_RPC_METHODS=new Set(["eth_signTransaction"]),r.IPFS_DEFAULT_GATEWAY_URL="dweb.link",r.BUYABLE_CHAINS_MAP={[a.MAINNET]:{nativeCurrency:L.ETH,network:"ethereum"},[a.BSC]:{nativeCurrency:L.BNB,network:"bsc"},[a.POLYGON]:{nativeCurrency:L.MATIC,network:"polygon"},[a.AVALANCHE]:{nativeCurrency:L.AVALANCHE,network:"avaxcchain"},[a.FANTOM]:{nativeCurrency:L.FANTOM,network:"fantom"},[a.CELO]:{nativeCurrency:L.CELO,network:"celo"},[a.OPTIMISM]:{nativeCurrency:L.ETH,network:"optimism"},[a.ARBITRUM]:{nativeCurrency:L.ARBITRUM,network:"arbitrum"},[a.CRONOS]:{nativeCurrency:L.CRONOS,network:"cronos"},[a.MOONBEAM]:{nativeCurrency:L.GLIMMER,network:"moonbeam"},[a.MOONRIVER]:{nativeCurrency:L.MOONRIVER,network:"moonriver"},[a.HARMONY]:{nativeCurrency:L.ONE,network:"harmony"},[a.PALM]:{nativeCurrency:L.PALM,network:"palm"},[a.LINEA_MAINNET]:{nativeCurrency:L.ETH,network:"linea"},[a.ZKSYNC_ERA]:{nativeCurrency:L.ETH,network:"zksync"},[a.BASE]:{nativeCurrency:L.ETH,network:"base"}},r.FEATURED_RPCS=[{chainId:a.ARBITRUM,nickname:y,rpcUrl:`https://arbitrum-mainnet.infura.io/v3/${S}`,ticker:L.ARBITRUM,rpcPrefs:{blockExplorerUrl:"https://explorer.arbitrum.io",imageUrl:Y}},{chainId:a.AVALANCHE,nickname:A,rpcUrl:`https://avalanche-mainnet.infura.io/v3/${S}`,ticker:L.AVALANCHE,rpcPrefs:{blockExplorerUrl:"https://snowtrace.io/",imageUrl:W}},{chainId:a.BSC,nickname:_,rpcUrl:"https://bsc-dataseed.binance.org/",ticker:L.BNB,rpcPrefs:{blockExplorerUrl:"https://bscscan.com/",imageUrl:K}},{chainId:a.OPTIMISM,nickname:b,rpcUrl:`https://optimism-mainnet.infura.io/v3/${S}`,ticker:L.ETH,rpcPrefs:{blockExplorerUrl:"https://optimistic.etherscan.io/",imageUrl:X}},{chainId:a.POLYGON,nickname:`${g} ${(0,n.capitalize)(o.MAINNET)}`,rpcUrl:`https://polygon-mainnet.infura.io/v3/${S}`,ticker:L.MATIC,rpcPrefs:{blockExplorerUrl:"https://polygonscan.com/",imageUrl:z}},{chainId:a.ZKSYNC_ERA,nickname:v,rpcUrl:"https://mainnet.era.zksync.io",ticker:L.ETH,rpcPrefs:{blockExplorerUrl:"https://explorer.zksync.io/",imageUrl:Z}},{chainId:a.BASE,nickname:E,rpcUrl:"https://mainnet.base.org",ticker:L.ETH,rpcPrefs:{blockExplorerUrl:"https://basescan.org",imageUrl:ee}}];r.NetworkStatus=function(e){return e.Unknown="unknown",e.Available="available",e.Unavailable="unavailable",e.Blocked="blocked",e}({});r.TEST_NETWORKS=[u,l,f,d]}}},{package:"$root$",file:"shared/constants/network.ts"}],[4508,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.NOTIFICATION_WIDTH=r.NOTIFICATION_HEIGHT=void 0;r.NOTIFICATION_HEIGHT=620,r.NOTIFICATION_WIDTH=360}}},{package:"$root$",file:"shared/constants/notifications.ts"}],[4509,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.TrezorAction=r.OffscreenCommunicationTarget=r.OffscreenCommunicationEvents=r.LedgerAction=r.KnownOrigins=void 0;r.OffscreenCommunicationTarget=function(e){return e.trezorOffscreen="trezor-offscreen",e.ledgerOffscreen="ledger-offscreen",e.latticeOffscreen="lattice-offscreen",e.extension="extension-offscreen",e.extensionMain="extension",e}({}),r.OffscreenCommunicationEvents=function(e){return e.trezorDeviceConnect="trezor-device-connect",e.ledgerDeviceConnect="ledger-device-connect",e}({}),r.TrezorAction=function(e){return e.init="trezor-init",e.dispose="trezor-dispose",e.getPublicKey="trezor-get-public-key",e.signTransaction="trezor-sign-transaction",e.signMessage="trezor-sign-message",e.signTypedData="trezor-sign-typed-data",e}({}),r.LedgerAction=function(e){return e.makeApp="ledger-make-app",e.updateTransport="ledger-update-transport",e.unlock="ledger-unlock",e.getPublicKey="ledger-unlock",e.signTransaction="ledger-sign-transaction",e.signPersonalMessage="ledger-sign-personal-message",e.signTypedData="ledger-sign-typed-data",e}({}),r.KnownOrigins=function(e){return e.lattice="https://lattice.gridplus.io",e.ledger="https://metamask.github.io",e}({})}}},{package:"$root$",file:"shared/constants/offscreen-communication.ts"}],[451,{"../_version":446,"./abstract-coder":448,"./anonymous":450,"@ethersproject/logger":504},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.ArrayCoder=r.unpack=r.pack=void 0;var i=e("@ethersproject/logger"),a=e("../_version"),s=new i.Logger(a.version),c=e("./abstract-coder"),u=e("./anonymous");function l(e,t,r){var n=null;if(Array.isArray(r))n=r;else if(r&&"object"==typeof r){var o={};n=t.map((function(e){var t=e.localName;return t||s.throwError("cannot encode object for signature with missing names",i.Logger.errors.INVALID_ARGUMENT,{argument:"values",coder:e,value:r}),o[t]&&s.throwError("cannot encode object for signature with duplicate names",i.Logger.errors.INVALID_ARGUMENT,{argument:"values",coder:e,value:r}),o[t]=!0,r[t]}))}else s.throwArgumentError("invalid tuple value","tuple",r);t.length!==n.length&&s.throwArgumentError("types/value length mismatch","tuple",r);var a=new c.Writer(e.wordSize),u=new c.Writer(e.wordSize),l=[];t.forEach((function(e,t){var r=n[t];if(e.dynamic){var o=u.length;e.encode(u,r);var i=a.writeUpdatableValue();l.push((function(e){i(e+o)}))}else e.encode(a,r)})),l.forEach((function(e){e(a.length)}));var f=e.appendWriter(a);return f+=e.appendWriter(u)}function f(e,t){var r=[],n=e.subReader(0);t.forEach((function(t){var o=null;if(t.dynamic){var a=e.readValue(),s=n.subReader(a.toNumber());try{o=t.decode(s)}catch(e){if(e.code===i.Logger.errors.BUFFER_OVERRUN)throw e;(o=e).baseType=t.name,o.name=t.localName,o.type=t.type}}else try{o=t.decode(e)}catch(e){if(e.code===i.Logger.errors.BUFFER_OVERRUN)throw e;(o=e).baseType=t.name,o.name=t.localName,o.type=t.type}o!=undefined&&r.push(o)}));var o=t.reduce((function(e,t){var r=t.localName;return r&&(e[r]||(e[r]=0),e[r]++),e}),{});t.forEach((function(e,t){var n=e.localName;if(n&&1===o[n]&&("length"===n&&(n="_length"),null==r[n])){var i=r[t];i instanceof Error?Object.defineProperty(r,n,{enumerable:!0,get:function(){throw i}}):r[n]=i}}));for(var a=function(e){var t=r[e];t instanceof Error&&Object.defineProperty(r,e,{enumerable:!0,get:function(){throw t}})},s=0;s=0?r:"")+"]",a=-1===r||t.dynamic;return(o=e.call(this,"array",i,n,a)||this).coder=t,o.length=r,o}return o(t,e),t.prototype.defaultValue=function(){for(var e=this.coder.defaultValue(),t=[],r=0;re._data.length&&s.throwError("insufficient data length",i.Logger.errors.BUFFER_OVERRUN,{length:e._data.length,count:t});for(var r=[],n=0;n(0,n.isProduction)()?s:a;r.SKIP_STX_RPC_URL_CHECK_CHAIN_IDS=[i.CHAIN_IDS.SEPOLIA],r.CANCEL_GAS_LIMIT_DEC=21e3,r.SMART_TRANSACTIONS_LEARN_MORE_URL="https://support.metamask.io/transactions-and-gas/transactions/smart-transactions/"}}},{package:"$root$",file:"shared/constants/smartTransactions.ts"}],[4515,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.ExcludedSnapPermissions=r.ExcludedSnapEndowments=r.EndowmentPermissions=r.DynamicSnapPermissions=void 0;r.EndowmentPermissions=Object.freeze({"endowment:network-access":"endowment:network-access","endowment:transaction-insight":"endowment:transaction-insight","endowment:cronjob":"endowment:cronjob","endowment:ethereum-provider":"endowment:ethereum-provider","endowment:rpc":"endowment:rpc","endowment:webassembly":"endowment:webassembly","endowment:lifecycle-hooks":"endowment:lifecycle-hooks","endowment:page-home":"endowment:page-home","endowment:signature-insight":"endowment:signature-insight","endowment:name-lookup":"endowment:name-lookup","endowment:keyring":"endowment:keyring"}),r.ExcludedSnapPermissions=Object.freeze({eth_accounts:"eth_accounts is disabled. For more information please see https://github.com/MetaMask/snaps/issues/990."}),r.ExcludedSnapEndowments=Object.freeze({}),r.DynamicSnapPermissions=Object.freeze(["eth_accounts"])}}},{package:"$root$",file:"shared/constants/snaps/permissions.ts"}],[4516,{"./network":4507},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.ZKSYNC_ERA_SWAPS_TOKEN_OBJECT=r.ZKSYNC_ERA=r.WMATIC_CONTRACT_ADDRESS=r.WETH_ZKSYNC_ERA_CONTRACT_ADDRESS=r.WETH_OPTIMISM_CONTRACT_ADDRESS=r.WETH_LINEA_CONTRACT_ADDRESS=r.WETH_GOERLI_CONTRACT_ADDRESS=r.WETH_CONTRACT_ADDRESS=r.WETH_BASE_CONTRACT_ADDRESS=r.WETH_ARBITRUM_CONTRACT_ADDRESS=r.WBNB_CONTRACT_ADDRESS=r.WAVAX_CONTRACT_ADDRESS=r.TokenBucketPriority=r.TOKEN_API_BASE_URL=r.TEST_ETH_SWAPS_TOKEN_OBJECT=r.Slippage=r.SWAP_FAILED_ERROR=r.SWAPS_WRAPPED_TOKENS_ADDRESSES=r.SWAPS_FETCH_ORDER_CONFLICT=r.SWAPS_DEV_API_V2_BASE_URL=r.SWAPS_CLIENT_ID=r.SWAPS_CHAINID_DEFAULT_TOKEN_MAP=r.SWAPS_CHAINID_DEFAULT_BLOCK_EXPLORER_URL_MAP=r.SWAPS_CHAINID_CONTRACT_ADDRESS_MAP=r.SWAPS_API_V2_BASE_URL=r.SLIPPAGE_VERY_HIGH_ERROR=r.SLIPPAGE_NEGATIVE_ERROR=r.SLIPPAGE_LOW_ERROR=r.SLIPPAGE_HIGH_ERROR=r.SEPOLIA_SWAPS_TOKEN_OBJECT=r.QUOTES_NOT_AVAILABLE_ERROR=r.QUOTES_EXPIRED_ERROR=r.POLYGON=r.OPTIMISM_SWAPS_TOKEN_OBJECT=r.OPTIMISM=r.OFFLINE_FOR_MAINTENANCE=r.MAX_ALLOWED_SLIPPAGE=r.MATIC_SWAPS_TOKEN_OBJECT=r.LINEA_SWAPS_TOKEN_OBJECT=r.LINEA=r.GOERLI_SWAPS_TOKEN_OBJECT=r.GOERLI=r.GAS_DEV_API_BASE_URL=r.GAS_API_BASE_URL=r.ETH_SWAPS_TOKEN_OBJECT=r.ETHEREUM=r.ERROR_FETCHING_QUOTES=r.DEFAULT_ERC20_APPROVE_GAS=r.CONTRACT_DATA_DISABLED_ERROR=r.BSC=r.BNB_SWAPS_TOKEN_OBJECT=r.BASE_SWAPS_TOKEN_OBJECT=r.BASE=r.AVAX_SWAPS_TOKEN_OBJECT=r.AVALANCHE=r.ARBITRUM_SWAPS_TOKEN_OBJECT=r.ARBITRUM=r.ALLOWED_SMART_TRANSACTIONS_CHAIN_IDS=r.ALLOWED_PROD_SWAPS_CHAIN_IDS=r.ALLOWED_DEV_SWAPS_CHAIN_IDS=r.ALLOWED_CONTRACT_ADDRESSES=void 0;var n=e("./network");r.QUOTES_EXPIRED_ERROR="quotes-expired",r.SWAP_FAILED_ERROR="swap-failed-error",r.ERROR_FETCHING_QUOTES="error-fetching-quotes",r.QUOTES_NOT_AVAILABLE_ERROR="quotes-not-avilable",r.CONTRACT_DATA_DISABLED_ERROR="contract-data-disabled",r.OFFLINE_FOR_MAINTENANCE="offline-for-maintenance",r.SWAPS_FETCH_ORDER_CONFLICT="swaps-fetch-order-conflict",r.SLIPPAGE_VERY_HIGH_ERROR="slippage-very-high",r.SLIPPAGE_HIGH_ERROR="slippage-high",r.SLIPPAGE_LOW_ERROR="slippage-low",r.SLIPPAGE_NEGATIVE_ERROR="slippage-negative",r.MAX_ALLOWED_SLIPPAGE=15;const o="0x0000000000000000000000000000000000000000",i=r.ETH_SWAPS_TOKEN_OBJECT={symbol:n.CURRENCY_SYMBOLS.ETH,name:"Ether",address:o,decimals:18,iconUrl:n.ETH_TOKEN_IMAGE_URL},a=r.BNB_SWAPS_TOKEN_OBJECT={symbol:n.CURRENCY_SYMBOLS.BNB,name:"Binance Coin",address:o,decimals:18,iconUrl:n.BNB_TOKEN_IMAGE_URL},s=r.MATIC_SWAPS_TOKEN_OBJECT={symbol:n.CURRENCY_SYMBOLS.MATIC,name:"Matic",address:o,decimals:18,iconUrl:n.MATIC_TOKEN_IMAGE_URL},c=r.AVAX_SWAPS_TOKEN_OBJECT={symbol:n.CURRENCY_SYMBOLS.AVALANCHE,name:"Avalanche",address:o,decimals:18,iconUrl:n.AVAX_TOKEN_IMAGE_URL},u=r.TEST_ETH_SWAPS_TOKEN_OBJECT={symbol:n.CURRENCY_SYMBOLS.TEST_ETH,name:"Test Ether",address:o,decimals:18,iconUrl:n.TEST_ETH_TOKEN_IMAGE_URL},l=r.GOERLI_SWAPS_TOKEN_OBJECT={symbol:n.CURRENCY_SYMBOLS.ETH,name:"Ether",address:o,decimals:18,iconUrl:n.TEST_ETH_TOKEN_IMAGE_URL},f=(r.SEPOLIA_SWAPS_TOKEN_OBJECT={symbol:n.CURRENCY_SYMBOLS.ETH,name:"Ether",address:o,decimals:18,iconUrl:n.TEST_ETH_TOKEN_IMAGE_URL},r.ARBITRUM_SWAPS_TOKEN_OBJECT={...i}),d=r.OPTIMISM_SWAPS_TOKEN_OBJECT={...i},h=r.ZKSYNC_ERA_SWAPS_TOKEN_OBJECT={...i},p=r.LINEA_SWAPS_TOKEN_OBJECT={...i},m=r.BASE_SWAPS_TOKEN_OBJECT={...i},g=(r.DEFAULT_ERC20_APPROVE_GAS="0x1d4c0","0x881d40237659c251811cec9c364ef91dc08d300c"),A=r.WETH_CONTRACT_ADDRESS="0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",y=r.WETH_GOERLI_CONTRACT_ADDRESS="0xB4FBF271143F4FBf7B91A5ded31805e42b2208d6",_=r.WBNB_CONTRACT_ADDRESS="0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c",b=r.WMATIC_CONTRACT_ADDRESS="0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270",v=r.WAVAX_CONTRACT_ADDRESS="0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7",E=r.WETH_OPTIMISM_CONTRACT_ADDRESS="0x4200000000000000000000000000000000000006",T=r.WETH_ARBITRUM_CONTRACT_ADDRESS="0x82af49447d8a07e3bd95bd0d56f35241523fbab1",w=r.WETH_ZKSYNC_ERA_CONTRACT_ADDRESS="0x5AEa5775959fBC2557Cc8789bC1bf90A239D9a91",N=r.WETH_LINEA_CONTRACT_ADDRESS="0xe5D7C2a44FfDDf6b295A15c148167daaAf5Cf34f",S=r.WETH_BASE_CONTRACT_ADDRESS="0x4200000000000000000000000000000000000006",I="0x539",O=(r.SWAPS_API_V2_BASE_URL="https://swap.api.cx.metamask.io",r.SWAPS_DEV_API_V2_BASE_URL="https://swap.dev-api.cx.metamask.io",r.TOKEN_API_BASE_URL="https://tokens.api.cx.metamask.io",r.GAS_API_BASE_URL="https://gas.api.cx.metamask.io",r.GAS_DEV_API_BASE_URL="https://gas.uat-api.cx.metamask.io",r.ALLOWED_PROD_SWAPS_CHAIN_IDS=[n.CHAIN_IDS.MAINNET,I,n.CHAIN_IDS.BSC,n.CHAIN_IDS.POLYGON,n.CHAIN_IDS.AVALANCHE,n.CHAIN_IDS.OPTIMISM,n.CHAIN_IDS.ARBITRUM,n.CHAIN_IDS.ZKSYNC_ERA,n.CHAIN_IDS.LINEA_MAINNET,n.CHAIN_IDS.BASE]),C=(r.ALLOWED_DEV_SWAPS_CHAIN_IDS=[...O,n.CHAIN_IDS.GOERLI],r.ALLOWED_SMART_TRANSACTIONS_CHAIN_IDS=[n.CHAIN_IDS.MAINNET,n.CHAIN_IDS.GOERLI],r.SWAPS_CHAINID_CONTRACT_ADDRESS_MAP={[n.CHAIN_IDS.MAINNET]:"0x881d40237659c251811cec9c364ef91dc08d300c",[I]:g,[n.CHAIN_IDS.BSC]:"0x1a1ec25dc08e98e5e93f1104b5e5cdd298707d31",[n.CHAIN_IDS.POLYGON]:"0x1a1ec25dc08e98e5e93f1104b5e5cdd298707d31",[n.CHAIN_IDS.GOERLI]:g,[n.CHAIN_IDS.AVALANCHE]:"0x1a1ec25dc08e98e5e93f1104b5e5cdd298707d31",[n.CHAIN_IDS.OPTIMISM]:"0x9dda6ef3d919c9bc8885d5560999a3640431e8e6",[n.CHAIN_IDS.ARBITRUM]:"0x9dda6ef3d919c9bc8885d5560999a3640431e8e6",[n.CHAIN_IDS.ZKSYNC_ERA]:"0xf504c1fe13d14df615e66dcd0abf39e60c697f34",[n.CHAIN_IDS.LINEA_MAINNET]:"0x9dda6ef3d919c9bc8885d5560999a3640431e8e6",[n.CHAIN_IDS.BASE]:"0x9dda6ef3d919c9bc8885d5560999a3640431e8e6"}),M=r.SWAPS_WRAPPED_TOKENS_ADDRESSES={[n.CHAIN_IDS.MAINNET]:A,[I]:A,[n.CHAIN_IDS.BSC]:_,[n.CHAIN_IDS.POLYGON]:b,[n.CHAIN_IDS.GOERLI]:y,[n.CHAIN_IDS.AVALANCHE]:v,[n.CHAIN_IDS.OPTIMISM]:E,[n.CHAIN_IDS.ARBITRUM]:T,[n.CHAIN_IDS.ZKSYNC_ERA]:w,[n.CHAIN_IDS.LINEA_MAINNET]:N,[n.CHAIN_IDS.BASE]:S};r.ALLOWED_CONTRACT_ADDRESSES={[n.CHAIN_IDS.MAINNET]:[C[n.CHAIN_IDS.MAINNET],M[n.CHAIN_IDS.MAINNET]],[I]:[C[I],M[I]],[n.CHAIN_IDS.GOERLI]:[C[n.CHAIN_IDS.GOERLI],M[n.CHAIN_IDS.GOERLI]],[n.CHAIN_IDS.BSC]:[C[n.CHAIN_IDS.BSC],M[n.CHAIN_IDS.BSC]],[n.CHAIN_IDS.POLYGON]:[C[n.CHAIN_IDS.POLYGON],M[n.CHAIN_IDS.POLYGON]],[n.CHAIN_IDS.AVALANCHE]:[C[n.CHAIN_IDS.AVALANCHE],M[n.CHAIN_IDS.AVALANCHE]],[n.CHAIN_IDS.OPTIMISM]:[C[n.CHAIN_IDS.OPTIMISM],M[n.CHAIN_IDS.OPTIMISM]],[n.CHAIN_IDS.ARBITRUM]:[C[n.CHAIN_IDS.ARBITRUM],M[n.CHAIN_IDS.ARBITRUM]],[n.CHAIN_IDS.ZKSYNC_ERA]:[C[n.CHAIN_IDS.ZKSYNC_ERA],M[n.CHAIN_IDS.ZKSYNC_ERA]],[n.CHAIN_IDS.LINEA_MAINNET]:[C[n.CHAIN_IDS.LINEA_MAINNET],M[n.CHAIN_IDS.LINEA_MAINNET]],[n.CHAIN_IDS.BASE]:[C[n.CHAIN_IDS.BASE],M[n.CHAIN_IDS.BASE]]},r.SWAPS_CHAINID_DEFAULT_TOKEN_MAP={[n.CHAIN_IDS.MAINNET]:i,[I]:u,[n.CHAIN_IDS.BSC]:a,[n.CHAIN_IDS.POLYGON]:s,[n.CHAIN_IDS.GOERLI]:l,[n.CHAIN_IDS.SEPOLIA]:l,[n.CHAIN_IDS.AVALANCHE]:c,[n.CHAIN_IDS.OPTIMISM]:d,[n.CHAIN_IDS.ARBITRUM]:f,[n.CHAIN_IDS.ZKSYNC_ERA]:h,[n.CHAIN_IDS.LINEA_MAINNET]:p,[n.CHAIN_IDS.BASE]:m},r.SWAPS_CHAINID_DEFAULT_BLOCK_EXPLORER_URL_MAP={[n.CHAIN_IDS.BSC]:"https://bscscan.com/",[n.CHAIN_IDS.MAINNET]:"https://etherscan.io/",[n.CHAIN_IDS.POLYGON]:"https://polygonscan.com/",[n.CHAIN_IDS.GOERLI]:"https://goerli.etherscan.io/",[n.CHAIN_IDS.AVALANCHE]:"https://snowtrace.io/",[n.CHAIN_IDS.OPTIMISM]:"https://optimistic.etherscan.io/",[n.CHAIN_IDS.ARBITRUM]:"https://arbiscan.io/",[n.CHAIN_IDS.ZKSYNC_ERA]:"https://explorer.zksync.io/",[n.CHAIN_IDS.LINEA_MAINNET]:"https://lineascan.build/",[n.CHAIN_IDS.BASE]:"https://basescan.org/"},r.ETHEREUM="ethereum",r.POLYGON="polygon",r.BSC="bsc",r.GOERLI="goerli",r.AVALANCHE="avalanche",r.OPTIMISM="optimism",r.ARBITRUM="arbitrum",r.ZKSYNC_ERA="zksync",r.LINEA="linea",r.BASE="base",r.SWAPS_CLIENT_ID="extension";r.TokenBucketPriority=function(e){return e.owned="owned",e.top="top",e}({}),r.Slippage=function(e){return e[e.default=2]="default",e[e.high=3]="high",e}({})}}},{package:"$root$",file:"shared/constants/swaps.ts"}],[4517,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.TERMS_OF_USE_LINK=r.TERMS_OF_USE_LAST_UPDATED=void 0;r.TERMS_OF_USE_LINK="https://consensys.io/terms-of-use/",r.TERMS_OF_USE_LAST_UPDATED="2023-03-25"}}},{package:"$root$",file:"shared/constants/terms.js"}],[4518,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.SECOND=r.MINUTE=r.MILLISECOND=r.HOUR=r.DAY=void 0;const n=r.MILLISECOND=1,o=r.SECOND=1e3*n,i=r.MINUTE=60*o,a=r.HOUR=60*i;r.DAY=24*a}}},{package:"$root$",file:"shared/constants/time.ts"}],[4519,{"@metamask/contract-metadata":1157,"bignumber.js":2933},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.TOKEN_API_METASWAP_CODEFI_URL=r.STATIC_MAINNET_TOKEN_LIST=r.NUM_W_OPT_DECIMAL_COMMA_OR_DOT_REGEX=r.MAX_TOKEN_ALLOWANCE_AMOUNT=r.LISTED_CONTRACT_ADDRESSES=r.DECIMAL_REGEX=void 0;var n=i(e("@metamask/contract-metadata")),o=i(e("bignumber.js"));function i(e){return e&&e.__esModule?e:{default:e}}r.LISTED_CONTRACT_ADDRESSES=Object.keys(n.default).map((e=>e.toLowerCase())),r.STATIC_MAINNET_TOKEN_LIST=Object.keys(n.default).reduce(((e,t)=>{const{logo:r,...o}=n.default[t];return{...e,[t.toLowerCase()]:{...o,address:t.toLowerCase(),iconUrl:`images/contract/${r}`,aggregators:[]}}}),{}),r.TOKEN_API_METASWAP_CODEFI_URL="https://token.api.cx.metamask.io/tokens/",r.MAX_TOKEN_ALLOWANCE_AMOUNT=new o.default(2).pow(256).minus(1).toString(10),r.NUM_W_OPT_DECIMAL_COMMA_OR_DOT_REGEX=/^[0-9]{1,}([,.][0-9]{1,})?$/u,r.DECIMAL_REGEX=/\.(\d*)/u}}},{package:"$root$",file:"shared/constants/tokens.js"}],[452,{"./abstract-coder":448},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.BooleanCoder=void 0;var i=function(e){function t(t){return e.call(this,"bool","bool",t,!1)||this}return o(t,e),t.prototype.defaultValue=function(){return!1},t.prototype.encode=function(e,t){return e.writeValue(t?1:0)},t.prototype.decode=function(e){return e.coerce(this.type,!e.readValue().isZero())},t}(e("./abstract-coder").Coder);r.BooleanCoder=i}}},{package:"@ethersproject/abi",file:"node_modules/@ethersproject/abi/lib/coders/boolean.js"}],[4520,{"@metamask/transaction-controller":2234},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.TransactionMetaMetricsEvent=r.TransactionGroupStatus=r.TransactionGroupCategory=r.TransactionApprovalAmountType=r.TokenStandard=r.SmartTransactionStatus=r.SIGNING_METHODS=r.IN_PROGRESS_TRANSACTION_STATUSES=r.AssetType=r.AnonymousTransactionMetaMetricsEvent=void 0;var n=e("@metamask/transaction-controller");r.IN_PROGRESS_TRANSACTION_STATUSES=[n.TransactionStatus.unapproved,n.TransactionStatus.approved,n.TransactionStatus.signed,n.TransactionStatus.submitted],r.SIGNING_METHODS=Object.freeze(["eth_sign","eth_signTypedData","eth_signTypedData_v1","eth_signTypedData_v3","eth_signTypedData_v4","personal_sign"]);r.TransactionGroupStatus=function(e){return e.cancelled="cancelled",e.pending="pending",e}({}),r.SmartTransactionStatus=function(e){return e.cancelled="cancelled",e.pending="pending",e.success="success",e}({}),r.TransactionApprovalAmountType=function(e){return e.custom="custom",e.revoke="revoke",e.dappProposed="dapp_proposed",e}({}),r.TransactionGroupCategory=function(e){return e.approval="approval",e.interaction="interaction",e.receive="receive",e.send="send",e.signatureRequest="signature-request",e.swap="swap",e.swapAndSend="swapAndSend",e}({}),r.TransactionMetaMetricsEvent=function(e){return e.added="Transaction Added",e.approved="Transaction Approved",e.finalized="Transaction Finalized",e.rejected="Transaction Rejected",e.submitted="Transaction Submitted",e}({}),r.AnonymousTransactionMetaMetricsEvent=function(e){return e.added="Transaction Added Anon",e.approved="Transaction Approved Anon",e.finalized="Transaction Finalized Anon",e.rejected="Transaction Rejected Anon",e.submitted="Transaction Submitted Anon",e}({}),r.AssetType=function(e){return e.native="NATIVE",e.token="TOKEN",e.NFT="NFT",e.unknown="UNKNOWN",e}({}),r.TokenStandard=function(e){return e.ERC20="ERC20",e.ERC721="ERC721",e.ERC1155="ERC1155",e.none="NONE",e}({})}}},{package:"$root$",file:"shared/constants/transaction.ts"}],[4521,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.BaseUrl=void 0;r.BaseUrl=function(e){return e.Portfolio="https://portfolio.metamask.io",e}({})}}},{package:"$root$",file:"shared/constants/urls.ts"}],[4525,{"../constants/time":4518,"../modules/fetch-with-timeout":4542,"./storage-helpers":4527},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n,o=e("../constants/time"),i=(n=e("../modules/fetch-with-timeout"))&&n.__esModule?n:{default:n},a=e("./storage-helpers");r.default=async({url:e,fetchOptions:t={},cacheOptions:{cacheRefreshTime:r=6*o.MINUTE,timeout:n=30*o.SECOND}={},functionName:s=""})=>{if(t.body||t.method&&"GET"!==t.method)throw new Error("fetchWithCache only supports GET requests");if(t.headers instanceof window.Headers||(t.headers=new window.Headers(t.headers)),t.headers.has("Content-Type")&&"application/json"!==t.headers.get("Content-Type"))throw new Error("fetchWithCache only supports JSON responses");const c=Date.now(),u=`cachedFetch:${e}`,{cachedResponse:l,cachedTime:f}=await(0,a.getStorageItem)(u)||{};if(l&&c-f{if(r.trade&&!r.error&&b(v,r,h)){const n=S({to:r.trade.to,from:r.trade.from,data:r.trade.data,amount:(0,f.decimalToHex)(r.trade.value),gas:(0,f.decimalToHex)(r.maxGas)});let{approvalNeeded:o}=r;return o&&(o=S({...o})),{...t,[r.aggregator]:{...r,slippage:e,trade:n,approvalNeeded:o}}}return t}),{})},r.validHex=r.truthyString=r.truthyDigitString=r.shouldEnableDirectWrapping=r.getBaseApi=void 0,r.validateData=b;var n=h(e("bignumber.js")),o=h(e("loglevel")),i=e("../constants/network"),a=e("../constants/swaps"),s=e("../constants/time"),c=e("../modules/hexstring-utils"),u=e("../modules/string-utils"),l=e("../../app/scripts/lib/util"),f=e("../modules/conversion.utils"),d=h(e("./fetch-with-cache"));function h(e){return e&&e.__esModule?e:{default:e}}const p=1.5,m=[i.CHAIN_IDS.GOERLI,i.CHAIN_IDS.LOCALHOST],g={"X-Client-Id":a.SWAPS_CLIENT_ID},A=e=>Boolean(null==e?void 0:e.match(/^0x[a-f0-9]+$/u));r.validHex=A;const y=e=>Boolean(null==e?void 0:e.length);r.truthyString=y;const _=e=>y(e)&&Boolean(e.match(/^\d+$/u));function b(e,t,r,n=!0){return e.every((({property:e,type:i,validator:a})=>{const s=i.split("|").some((r=>typeof t[e]===r))&&(!a||a(t[e]));return!s&&n&&o.default.error(`response to GET ${r} invalid for property ${e}; value was:`,t[e],"| type was: ",typeof t[e]),s}))}r.truthyDigitString=_;const v=r.QUOTE_VALIDATORS=[{property:"trade",type:"object",validator:e=>e&&A(e.data)&&(0,c.isValidHexAddress)(e.to,{allowNonPrefixed:!1})&&(0,c.isValidHexAddress)(e.from,{allowNonPrefixed:!1})&&y(e.value)},{property:"approvalNeeded",type:"object",validator:e=>null===e||e&&A(e.data)&&(0,c.isValidHexAddress)(e.to,{allowNonPrefixed:!1})&&(0,c.isValidHexAddress)(e.from,{allowNonPrefixed:!1})},{property:"sourceAmount",type:"string",validator:_},{property:"destinationAmount",type:"string",validator:_},{property:"sourceToken",type:"string",validator:e=>(0,c.isValidHexAddress)(e,{allowNonPrefixed:!1})},{property:"destinationToken",type:"string",validator:e=>(0,c.isValidHexAddress)(e,{allowNonPrefixed:!1})},{property:"aggregator",type:"string",validator:y},{property:"aggType",type:"string",validator:y},{property:"error",type:"object",validator:e=>null===e||"object"==typeof e},{property:"averageGas",type:"number"},{property:"maxGas",type:"number"},{property:"gasEstimate",type:"number|undefined",validator:e=>e===undefined||e>0},{property:"fee",type:"number"}],E=function(e,t){const r=m.includes(t)?i.CHAIN_IDS.MAINNET:t,n=((e,t)=>{const r=a.SWAPS_API_V2_BASE_URL,n=a.GAS_API_BASE_URL,o=a.TOKEN_API_BASE_URL;if(["refreshTime"].includes(e))return r;const i=t&&parseInt(t,16);return["gasPrices"].includes(e)?`${n}/networks/${i}`:["blockedTokens"].includes(e)?`${o}/blocklist?chainId=${i}`:`${r}/networks/${i}`})(e,r);if(!n)throw new Error(`Swaps API calls are disabled for chainId: ${r}`);switch(e){case"trade":return`${n}/trades?`;case"tokens":return`${n}/tokens?includeBlockedTokens=true`;case"token":return`${n}/token`;case"topAssets":return`${n}/topAssets`;case"aggregatorMetadata":return`${n}/aggregatorMetadata`;case"gasPrices":return`${n}/gasPrices`;case"blockedTokens":return`${n}®ion=global`;case"network":return n;default:throw new Error("getBaseApi requires an api call type")}};function T(e,t){const r=Math.pow(10,Number(t||0));return new n.default(String(e)).times(r)}r.getBaseApi=E;const w=(e,t,r)=>{var n;if(!t||!r)return!1;const o=a.SWAPS_WRAPPED_TOKENS_ADDRESSES[e],i=null===(n=a.SWAPS_CHAINID_DEFAULT_TOKEN_MAP[e])||void 0===n?void 0:n.address;return(0,u.isEqualCaseInsensitive)(t,o)&&(0,u.isEqualCaseInsensitive)(r,i)||(0,u.isEqualCaseInsensitive)(t,i)&&(0,u.isEqualCaseInsensitive)(r,o)};function N(e){return Object.keys(e).reduce(((t,r)=>({...t,[r]:(0,l.addHexPrefix)(e[r])})),{})}function S({sendToken:e,data:t,to:r,amount:n,from:o,gas:i,gasPrice:a}){const s={data:t,from:o,value:"0",gas:i,gasPrice:a};return e||(s.value=n,s.to=r),N(s)}r.shouldEnableDirectWrapping=w}}},{package:"$root$",file:"shared/lib/swaps-utils.js"}],[4529,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;r.default=e=>{document.documentElement.dir="auto"===e?"ltr":e}}}},{package:"$root$",file:"shared/lib/switch-direction.js"}],[453,{"./abstract-coder":448,"@ethersproject/bytes":476},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.BytesCoder=r.DynamicBytesCoder=void 0;var i=e("@ethersproject/bytes"),a=function(e){function t(t,r){return e.call(this,t,t,r,!0)||this}return o(t,e),t.prototype.defaultValue=function(){return"0x"},t.prototype.encode=function(e,t){t=(0,i.arrayify)(t);var r=e.writeValue(t.length);return r+=e.writeBytes(t)},t.prototype.decode=function(e){return e.readBytes(e.readValue().toNumber(),!0)},t}(e("./abstract-coder").Coder);r.DynamicBytesCoder=a;var s=function(e){function t(t){return e.call(this,"bytes",t)||this}return o(t,e),t.prototype.decode=function(t){return t.coerce(this.name,(0,i.hexlify)(e.prototype.decode.call(this,t)))},t}(a);r.BytesCoder=s}}},{package:"@ethersproject/abi",file:"node_modules/@ethersproject/abi/lib/coders/bytes.js"}],[4530,{"@ethersproject/contracts":483,"@ethersproject/providers":521,"@metamask/metamask-eth-abis":1518},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.fetchERC1155Balance=async function(e,t,r,a){if(!t||!r)return null;const s=new i.Web3Provider(a),c=new o.Contract(e,n.abiERC1155,s),u=c?c.balanceOf(t,r):Promise.resolve();return await u},r.fetchTokenBalance=async function(e,t,r){const a=new i.Web3Provider(r),s=new o.Contract(e,n.abiERC20,a),c=s?s.balanceOf(t):Promise.resolve();return await c},r.getTokenIdParam=function(e={}){var t,r;return(null==e||null===(t=e.args)||void 0===t||null===(t=t._tokenId)||void 0===t?void 0:t.toString())??(null==e||null===(r=e.args)||void 0===r||null===(r=r.id)||void 0===r?void 0:r.toString())};var n=e("@metamask/metamask-eth-abis"),o=e("@ethersproject/contracts"),i=e("@ethersproject/providers")}}},{package:"$root$",file:"shared/lib/token-util.ts"}],[4531,{"../constants/common":4495,"../modules/Numeric":4533,"../modules/swaps.utils":4559,"@metamask/transaction-controller":2234,"bignumber.js":2933},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.TRANSACTION_NO_CONTRACT_ERROR_KEY=r.TRANSACTION_ENVELOPE_TYPE_NAMES=r.TOKEN_TRANSFER_LOG_TOPIC_HASH=r.TEN_SECONDS_IN_MILLISECONDS=void 0,r.calcGasTotal=l,r.calcTokenAmount=d,r.getSwapsTokensReceivedFromTxMeta=function(e,t,r,n,o,h,p){var m;const g=(null==t?void 0:t.swapAndSendRecipient)??n,A=null==t?void 0:t.txReceipt,y=(null==t||null===(m=t.txReceipt)||void 0===m?void 0:m.type)===i.TransactionEnvelopeType.feeMarket;if((0,c.isSwapsDefaultTokenSymbol)(e,p)){if(!(A&&t&&t.postTxBalance&&t.preTxBalance))return null;if(t.swapMetaData&&t.preTxBalance===t.postTxBalance)return t.swapMetaData.token_to_amount;let e=new s.Numeric("0x0",16);h&&h.txReceipt&&(e=new s.Numeric(l(h.txReceipt.gasUsed,y?h.txReceipt.effectiveGasPrice:h.txParams.gasPrice),16));const r=l(A.gasUsed,y?A.effectiveGasPrice:t.txParams.gasPrice),n=new s.Numeric(r,16).add(e),o=new s.Numeric(t.preTxBalance,16).minus(n);return new s.Numeric(t.postTxBalance,16,a.EtherDenomination.WEI).minus(o).toDenomination(a.EtherDenomination.ETH).toBase(10).round(6).toString()}const _=null==A?void 0:A.logs;if(_&&"0x0"!==(null==A?void 0:A.status)){const e=_.find((e=>{const t=e.topics&&e.topics[0]===u,n=e.address===r,o=e.topics&&e.topics[2]&&e.topics[2].match(null==g?void 0:g.slice(2));return t&&n&&o}));return e?f(d(e.data,o).toString(10),6):""}return null},r.toPrecisionWithoutTrailingZeros=f;var n,o=(n=e("bignumber.js"))&&n.__esModule?n:{default:n},i=e("@metamask/transaction-controller"),a=e("../constants/common"),s=e("../modules/Numeric"),c=e("../modules/swaps.utils");const u=r.TOKEN_TRANSFER_LOG_TOPIC_HASH="0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef";r.TRANSACTION_NO_CONTRACT_ERROR_KEY="transactionErrorNoContract",r.TEN_SECONDS_IN_MILLISECONDS=1e4;function l(e="0",t="0"){return new s.Numeric(e,16).times(new s.Numeric(t,16)).toString()}function f(e,t){return new o.default(e).toPrecision(t).replace(/(\.[0-9]*[1-9])0*|(\.0*)/u,"$1")}function d(e,t){const r=Math.pow(10,Number(t||0));return new o.default(String(e)).div(r)}r.TRANSACTION_ENVELOPE_TYPE_NAMES={FEE_MARKET:"fee-market",LEGACY:"legacy"}}}},{package:"$root$",file:"shared/lib/transactions-controller-utils.js"}],[4533,{"../constants/common":4495,"./hexstring-utils":4544,"@metamask/utils":2300,"bignumber.js":2933,"bn.js":2980,"ethereumjs-util":3288},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.Numeric=void 0;var n,o=e("bignumber.js"),i=(n=e("bn.js"))&&n.__esModule?n:{default:n},a=e("@metamask/utils"),s=e("ethereumjs-util"),c=e("../constants/common"),u=e("./hexstring-utils");function l(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(r!==undefined){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function f(e){return(0,a.isHexString)(e.replace("-",""))||(0,a.isHexString)(e)}function d(e,t){if("string"!=typeof e)throw new Error(`Value of type ${typeof e} passed to stringToBigNumber`);if(16===t&&(f(e)||function(e){const t=e.split(".");return 1!==t.length&&t.every((e=>f(e)))}(e)))return function(e){const t="number"==typeof e?`${e}`:e,r="-"===(0,u.stripHexPrefix)(t)[0],n=t.replace("-",""),i=new o.BigNumber((0,u.stripHexPrefix)(n),16);return r?i.negated():i}(e);if(10===t&&(isFinite(parseInt(e,10))||isFinite(parseFloat(e))))return function(e){return new o.BigNumber(String(e),10)}(e);throw new Error(`String provided to stringToBigNumber is not a hexadecimal or decimal string: ${e}, ${t}`)}function h(e,t){if("string"==typeof e)return d(e,t);if("number"==typeof e&&!1===isNaN(e))return function(e,t){if("number"!=typeof e)throw new Error(`Value of type ${typeof e} passed to numberToBigNumber`);return 16===t&&(0,a.isHexString)(`${e}`)?new o.BigNumber(`${e}`,16):new o.BigNumber(e,10)}(e,t);throw new Error(`Value: ${e} is not a string, number, BigNumber or BN. Type is: ${typeof e}.`)}o.BigNumber.config({DECIMAL_PLACES:36});const p=new o.BigNumber("1000000000000000000"),m=new o.BigNumber("1000000000"),g=new o.BigNumber("1"),A={WEI:e=>e.div(p),GWEI:e=>e.div(m),ETH:e=>e.div(g)},y={WEI:e=>e.times(p).round(),GWEI:e=>e.times(m).round(9),ETH:e=>e.times(g).round(9)};function _(e,t){return void 0!==t.denomination&&e.denomination!==t.denomination?t.toDenomination(e.denomination):t}class b{constructor(e,t,r){if(l(this,"value",void 0),l(this,"base",void 0),l(this,"denomination",void 0),this.base=t,this.denomination=r,e instanceof o.BigNumber)this.value=e;else if(e instanceof i.default)this.value=function(e){if(e instanceof i.default==0)throw new Error("value passed to bnToBigNumber is not a BN. Received type "+typeof e);return new o.BigNumber(e.toString(16),16)}(e);else if((0,a.isNullOrUndefined)(e)||"number"==typeof e&&isNaN(e)||"string"==typeof e&&""===e)this.value=new o.BigNumber("0",10),this.base=10;else{if(!t)throw new Error("You must specify the base of the provided number if the value is not already a BigNumber");this.value=h(e,t)}}static from(e,t,r){if(e instanceof b){if(t||r)throw new Error(`Numeric.from was called with a value (${e.toString()}) that is already a Numeric but a base and/or denomination was provided. Only supply base or denomination when creating a new Numeric`);return e}return new b(e,t,r)}toBase(e){return this.base!==e?new b(this.value,e,this.denomination):this}toDenomination(e){if(e&&this.denomination!==e){return new b(y[e]((t=this).denomination===c.EtherDenomination.ETH||void 0===t.denomination?t.value:A[t.denomination](t.value)),this.base,e)}var t;return this}shiftedBy(e){const t=new b(Math.pow(10,e),10);return this.divide(t)}applyConversionRate(e,t){if(void 0===e)return this;let r=new b(e,10);return t&&(r=new b(new o.BigNumber(1)).divide(r)),this.times(r)}round(e,t=o.BigNumber.ROUND_HALF_DOWN){return"number"==typeof e?new b(this.value.round(e,t),this.base,this.denomination):this}add(e,t,r){const n=b.from(e,t,r);return new b(this.value.add(_(this,n).value),this.base,this.denomination)}minus(e,t,r){const n=b.from(e,t,r);return new b(this.value.minus(_(this,n).value),this.base,this.denomination)}times(e,t,r){const n=b.from(e,t,r);return new b(this.value.times(_(this,n).value),this.base,this.denomination)}divide(e,t,r){return new b(this.value.div(_(this,b.from(e,t,r)).value),this.base,this.denomination)}abs(){return new b(this.value.abs(),this.base,this.denomination)}isZero(){return this.value.isZero()}greaterThan(e,t,r){return this.value.greaterThan(b.from(e,t,r).value)}greaterThanOrEqualTo(e,t,r){return this.value.greaterThanOrEqualTo(b.from(e,t,r).value)}lessThan(e,t,r){return this.value.lessThan(b.from(e,t,r).value)}lessThanOrEqualTo(e,t,r){return this.value.lessThanOrEqualTo(b.from(e,t,r).value)}isNegative(){return this.value.isNegative()}isPositive(){return!1===this.isNegative()}isFloat(){return this.value.decimalPlaces()>0}toPrefixedHexString(){return(0,s.addHexPrefix)(this.value.toString(16))}toString(){return this.value.toString(this.base)}toFixed(e){return this.value.toFixed(e)}toNumber(){return this.value.toNumber()}}r.Numeric=b}}},{package:"$root$",file:"shared/modules/Numeric.ts"}],[4534,{"../../ui/helpers/constants/common":5353,bowser:2991,loglevel:3842,"webextension-polyfill":4472},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.checkForLastError=c,r.checkForLastErrorAndLog=function(){const e=c();e&&i.default.error(e);return e},r.checkForLastErrorAndWarn=function(){const e=c();e&&console.warn(e);return e},r.getIsBrowserPrerenderBroken=function(e=n.default.getParser(window.navigator.userAgent)){return(e.satisfies(a.BROKEN_PRERENDER_BROWSER_VERSIONS)&&!e.satisfies(a.FIXED_PRERENDER_BROWSER_VERSIONS))??!1};var n=s(e("bowser")),o=s(e("webextension-polyfill")),i=s(e("loglevel")),a=e("../../ui/helpers/constants/common");function s(e){return e&&e.__esModule?e:{default:e}}function c(){const{lastError:e}=o.default.runtime;return e?e.stack&&e.message?e:new Error(e.message):undefined}}}},{package:"$root$",file:"shared/modules/browser-runtime.utils.js"}],[4536,{pify:3986},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.readAddressAsContract=void 0;var n,o=(n=e("pify"))&&n.__esModule?n:{default:n};r.readAddressAsContract=async(e,t)=>{let r=null;try{e&&"getCode"in e&&(r=await(0,o.default)(e.getCode.bind(e))(t))}catch(e){r=null}return{contractCode:r,isContractAddress:!!r&&("0x"!==r&&"0x0"!==r)}}}}},{package:"$root$",file:"shared/modules/contract-utils.ts"}],[4537,{"../constants/common":4495,"./Numeric":4533,"bignumber.js":2933,"ethereumjs-util":3288},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.addHexes=function(e,t){return new a.Numeric(e,16).add(new a.Numeric(t,16)).round(6,n.BigNumber.ROUND_HALF_DOWN).toString()},r.bnToHex=function(e){return(0,o.addHexPrefix)(e.toString(16))},r.decEthToConvertedCurrency=function(e,t,r){let n=new a.Numeric(e,10,i.EtherDenomination.ETH);t!==i.EtherDenomination.ETH&&(n=n.applyConversionRate(r));return n.round(2)},r.decGWEIToHexWEI=function(e){return new a.Numeric(e,10,i.EtherDenomination.GWEI).toBase(16).toDenomination(i.EtherDenomination.WEI).toString()},r.decWEIToDecETH=function(e){return new a.Numeric(e,10,i.EtherDenomination.WEI).toDenomination(i.EtherDenomination.ETH).toString()},r.decimalToHex=function(e){return new a.Numeric(e,10).toBase(16).toString()},r.getEthConversionFromWeiHex=function({value:e,fromCurrency:t=i.EtherDenomination.ETH,conversionRate:r,numberOfDecimals:n=6}){const o=[i.EtherDenomination.ETH,i.EtherDenomination.GWEI,i.EtherDenomination.WEI];let a;for(let i=0;ie.add(new a.Numeric(t,10))),r)},r.sumHexes=function(e,...t){const r=new a.Numeric(e,16);return t.reduce(((e,t)=>e.add(new a.Numeric(t,16))),r).toPrefixedHexString()};var n=e("bignumber.js"),o=e("ethereumjs-util"),i=e("../constants/common"),a=e("./Numeric");function s({value:e,fromCurrency:t=i.EtherDenomination.ETH,toCurrency:r,conversionRate:o,numberOfDecimals:s,toDenomination:c=i.EtherDenomination.ETH}){let u=new a.Numeric(e,16,i.EtherDenomination.WEI);return t!==r&&(u=u.applyConversionRate(o)),u.toBase(10).toDenomination(c).round(s,n.BigNumber.ROUND_HALF_DOWN).toString()}}}},{package:"$root$",file:"shared/modules/conversion.utils.ts"}],[4539,{"../../development/build/constants":258},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.isProduction=void 0;var n=e("../../development/build/constants");r.isProduction=()=>"production"!==n.ENVIRONMENT.DEVELOPMENT&&"production"!==n.ENVIRONMENT.TESTING}}},{package:"$root$",file:"shared/modules/environment.ts"}],[454,{"./abstract-coder":448,"@ethersproject/bytes":476},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.FixedBytesCoder=void 0;var i=e("@ethersproject/bytes"),a=function(e){function t(t,r){var n=this,o="bytes"+String(t);return(n=e.call(this,o,o,r,!1)||this).size=t,n}return o(t,e),t.prototype.defaultValue=function(){return"0x0000000000000000000000000000000000000000000000000000000000000000".substring(0,2+2*this.size)},t.prototype.encode=function(e,t){var r=(0,i.arrayify)(t);return r.length!==this.size&&this._throwError("incorrect data length",t),e.writeBytes(r)},t.prototype.decode=function(e){return e.coerce(this.name,(0,i.hexlify)(e.readBytes(this.size)))},t}(e("./abstract-coder").Coder);r.FixedBytesCoder=a}}},{package:"@ethersproject/abi",file:"node_modules/@ethersproject/abi/lib/coders/fixed-bytes.js"}],[4540,{loglevel:3842},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.isErrorWithMessage=i,r.logErrorWithMessage=function(e){i(e)?o.default.error(e.message):o.default.error(e)};var n,o=(n=e("loglevel"))&&n.__esModule?n:{default:n};function i(e){return"object"==typeof e&&null!==e&&"message"in e}}}},{package:"$root$",file:"shared/modules/error.ts"}],[4541,{"../constants/network":4507},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.getNetworkNameByChainId=void 0;var n=e("../constants/network"),o=function(e){return e.Ethereum="ethereum",e.Polygon="polygon",e.Bsc="bsc",e.Avalanche="avalanche",e.Optimism="optimism",e.Arbitrum="arbitrum",e.ZkSyncEra="zksync",e.Linea="linea",e}(o||{});r.getNetworkNameByChainId=e=>{switch(e){case n.CHAIN_IDS.MAINNET:case n.CHAIN_IDS.GOERLI:case n.CHAIN_IDS.SEPOLIA:return o.Ethereum;case n.CHAIN_IDS.BSC:return o.Bsc;case n.CHAIN_IDS.POLYGON:return o.Polygon;case n.CHAIN_IDS.AVALANCHE:return o.Avalanche;case n.CHAIN_IDS.OPTIMISM:return o.Optimism;case n.CHAIN_IDS.ARBITRUM:return o.Arbitrum;case n.CHAIN_IDS.ZKSYNC_ERA:return o.ZkSyncEra;case n.CHAIN_IDS.LINEA_MAINNET:return o.Linea;default:return""}}}}},{package:"$root$",file:"shared/modules/feature-flags.ts"}],[4542,{"../constants/time":4518,lodash:3836},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=e("lodash"),o=e("../constants/time");const i=(0,n.memoize)(((e=30*o.SECOND)=>{if(!Number.isInteger(e)||e<1)throw new Error("Must specify positive integer timeout.");return async function(t,r){const n=new window.AbortController,{signal:o}=n,i=window.fetch(t,{...r,signal:o}),a=setTimeout((()=>n.abort()),e);try{return await i}finally{clearTimeout(a)}}}));r.default=i}}},{package:"$root$",file:"shared/modules/fetch-with-timeout.ts"}],[4543,{"./Numeric":4533},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.getMaximumGasTotalInHexWei=o,r.getMinimumGasTotalInHexWei=function({gasLimit:e="0x0",gasPrice:t,maxPriorityFeePerGas:r,maxFeePerGas:i,baseFeePerGas:a}={}){const s=Boolean(i||r||a);if(s&&t)throw new Error("getMinimumGasTotalInHexWei expects either gasPrice OR the EIP-1559 gas fields, but both were provided");if(!1===s&&!t)throw new Error("getMinimumGasTotalInHexWei expects either gasPrice OR the EIP-1559 gas fields, but neither were provided");if(s&&!a)throw new Error("getMinimumGasTotalInHexWei requires baseFeePerGas be provided when calculating EIP-1559 totals");if(s&&(!i||!r))throw new Error("getMinimumGasTotalInHexWei requires maxFeePerGas and maxPriorityFeePerGas be provided when calculating EIP-1559 totals");if(!1===s)return o({gasLimit:e,gasPrice:t});const c=new n.Numeric(a,16).add(new n.Numeric(r,16)).toString();if(new n.Numeric(c,16).greaterThan(i,16))return o({gasLimit:e,maxFeePerGas:i});return new n.Numeric(e,16).times(new n.Numeric(c,16)).toPrefixedHexString()};var n=e("./Numeric");function o({gasLimit:e="0x0",gasPrice:t,maxFeePerGas:r}={}){if(r)return new n.Numeric(e,16).times(new n.Numeric(r,16)).toPrefixedHexString();if(!t)throw new Error("getMaximumGasTotalInHexWei requires gasPrice be provided to calculate legacy gas total");return new n.Numeric(e,16).times(new n.Numeric(t,16)).toPrefixedHexString()}}}},{package:"$root$",file:"shared/modules/gas.utils.js"}],[4544,{"ethereumjs-util":3288},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.BURN_ADDRESS=void 0,r.isBurnAddress=function(e){return e===o},r.isEmptyHexString=function(e){return[undefined,null,"0x","0x0","0x0000000000000000000000000000000000000000000000000000000000000000"].includes(e)},r.isValidHexAddress=function(e,{allowNonPrefixed:t=!0,mixedCaseUseChecksum:r=!1}={}){const o=t?(0,n.addHexPrefix)(e):e;if(!(0,n.isHexString)(o))return!1;if(r){const e=o.slice(2),t=e.toLowerCase(),r=e.toUpperCase();if(!(e===t||e===r))return(0,n.isValidChecksumAddress)(o)}return(0,n.isValidAddress)(o)},r.stripHexPrefix=function(e){if("string"!=typeof e)return e;return(0,n.isHexPrefixed)(e)?e.slice(2):e},r.toChecksumHexAddress=function(e){if(!e)return"";const t=(0,n.addHexPrefix)(e);if(!(0,n.isHexString)(t))return t;return(0,n.toChecksumAddress)(t)};var n=e("ethereumjs-util");const o=r.BURN_ADDRESS=(0,n.zeroAddress)()}}},{package:"$root$",file:"shared/modules/hexstring-utils.ts"}],[4545,{"./fetch-with-timeout":4542,loglevel:3842},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.FALLBACK_LOCALE=void 0,r.clearCaches=function(){Object.keys(s).forEach((e=>{delete s[e]})),Object.keys(c).forEach((e=>{delete c[e]})),Object.keys(u).forEach((e=>{delete u[e]})),l.clear()},r.fetchLocale=async function(e){try{const t=await i(`../_locales/${e}/messages.json`);return await t.json()}catch(t){return n.default.error(`failed to fetch ${e} locale because of ${t}`),{}}},r.getMessage=void 0,r.loadRelativeTimeFormatLocaleData=async function(e){const t=e.split("_")[0];if(Intl.RelativeTimeFormat&&"function"==typeof Intl.RelativeTimeFormat.__addLocaleData&&!l.has(t)){const e=await async function(e){const t=await i(`./intl/${e}/relative-time-format-data.json`);return await t.json()}(t);Intl.RelativeTimeFormat.__addLocaleData(e),l.add(t)}};var n=o(e("loglevel"));function o(e){return e&&e.__esModule?e:{default:e}}const i=(0,o(e("./fetch-with-timeout")).default)(),a=r.FALLBACK_LOCALE="en",s={},c={},u={},l=new Set;r.getMessage=(e,t,r,o,i,l)=>{if(!t)return null;const f=t[r];if(!f)return function(e,t,r){var o;if(t===a&&!c[e]){const o=new Error(`Unable to find value of key "${e}" for locale "${t}"`);c[e]=o,null==r||r(o),n.default.error(o)}if(t===a||null!==(o=s[t])&&void 0!==o&&o[e])return;s[t]=s[t]??{},s[t][e]=!0,n.default.warn(`Translator - Unable to find value of key "${e}" for locale "${t}"`)}(r,e,i),null;const d=f.message,h=function(e){return((null==e?void 0:e.length)??0)>0}(o)?function(e,t,r,o,i){const a=e.split(/(\$\d)/gu);return a.map((e=>{const a=e.match(/\$(\d)/u);if(!a)return e;const s=Number(a[1])-1,c=t[s];return null!==c&&c!==undefined||function(e,t,r){var o;if(null!==(o=u[t])&&void 0!==o&&o[e])return;u[t]=u[t]??{},u[t][e]=!0;const i=new Error(`Insufficient number of substitutions for key "${e}" with locale "${t}"`);n.default.error(i),null==r||r(i)}(r,o,i),null==t?void 0:t[s]}))}(d,o,r,e,i):[d];return l?l(h):h.join("")}}}},{package:"$root$",file:"shared/modules/i18n.ts"}],[4547,{"webextension-polyfill":4472},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.isOffscreenAvailable=r.isMv3ButOffscreenDocIsMissing=r.isManifestV3=void 0;var n,o=(n=e("webextension-polyfill"))&&n.__esModule?n:{default:n};const i=r.isManifestV3=3===o.default.runtime.getManifest().manifest_version,a=r.isOffscreenAvailable=Boolean(o.default.offscreen);r.isMv3ButOffscreenDocIsMissing=i&&!a}}},{package:"$root$",file:"shared/modules/mv3.utils.js"}],[4548,{"../constants/network":4507,"@metamask/controller-utils":1163,"@metamask/utils":2300},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.convertNetworkId=function(e){if("number"==typeof e&&!Number.isNaN(e))return`${e}`;if((0,n.isStrictHexString)(e))return`${(0,o.convertHexToDecimal)(e)}`;if("string"==typeof e&&/^\d+$/u.test(e))return e;throw new Error(`Cannot parse as a valid network ID: '${e}'`)},r.isPrefixedFormattedHexString=function(e){if("string"!=typeof e)return!1;return/^0x[1-9a-f]+[0-9a-f]*$/iu.test(e)},r.isSafeChainId=function(e){return t=e,Number.isSafeInteger(t)&&e>0&&e<=i.MAX_SAFE_CHAIN_ID;var t},r.isTokenDetectionEnabledForNetwork=function(e){switch(e){case i.CHAIN_IDS.MAINNET:case i.CHAIN_IDS.BSC:case i.CHAIN_IDS.POLYGON:case i.CHAIN_IDS.AVALANCHE:case i.CHAIN_IDS.LINEA_GOERLI:case i.CHAIN_IDS.LINEA_SEPOLIA:case i.CHAIN_IDS.LINEA_MAINNET:case i.CHAIN_IDS.ARBITRUM:case i.CHAIN_IDS.OPTIMISM:case i.CHAIN_IDS.BASE:case i.CHAIN_IDS.ZKSYNC_ERA:case i.CHAIN_IDS.CRONOS:case i.CHAIN_IDS.CELO:case i.CHAIN_IDS.GNOSIS:case i.CHAIN_IDS.FANTOM:case i.CHAIN_IDS.POLYGON_ZKEVM:case i.CHAIN_IDS.MOONBEAM:case i.CHAIN_IDS.MOONRIVER:return!0;default:return!1}};var n=e("@metamask/utils"),o=e("@metamask/controller-utils"),i=e("../constants/network")}}},{package:"$root$",file:"shared/modules/network.utils.ts"}],[4549,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.AllProperties=void 0,r.maskObject=function e(t,r){let o=!1;if(Object.keys(r).includes(n)){if(Object.keys(r).length>1)throw new Error("AllProperties mask key does not support sibling keys");o=!0}return Object.keys(t).reduce(((i,a)=>{const s=o?r[n]:r[a];if(!0===s)i[a]=t[a];else if(s&&"object"==typeof s)i[a]=e(t[a],s);else{if(s!==undefined&&!1!==s)throw new Error(`Unsupported mask entry: ${s}`);i[a]=typeof t[a]}return i}),{})};const n=r.AllProperties=Symbol("*")}}},{package:"$root$",file:"shared/modules/object.utils.js"}],[455,{"./abstract-coder":448},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.NullCoder=void 0;var i=function(e){function t(t){return e.call(this,"null","",t,!1)||this}return o(t,e),t.prototype.defaultValue=function(){return null},t.prototype.encode=function(e,t){return null!=t&&this._throwError("not null",t),e.writeBytes([])},t.prototype.decode=function(e){return e.readBytes(0),e.coerce(this.name,null)},t}(e("./abstract-coder").Coder);r.NullCoder=i}}},{package:"@ethersproject/abi",file:"node_modules/@ethersproject/abi/lib/coders/null.js"}],[4550,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(){return o%=n,o++};const n=Number.MAX_SAFE_INTEGER;let o=Math.round(Math.random()*n)}}},{package:"$root$",file:"shared/modules/random-id.js"}],[4551,{"./fetch-with-timeout":4542,buffer:3028},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(t){(function(){var n;Object.defineProperty(r,"__esModule",{value:!0}),r.jsonRpcRequest=async function(e,r,n=[]){let i=e;const a={"Content-Type":"application/json"},{origin:s,pathname:c,username:u,password:l,search:f}=new URL(e);if(u&&l){const e=t.from(`${u}:${l}`).toString("base64");a.Authorization=`Basic ${e}`,i=`${s}${c}${f}`}const d=await o(i,{method:"POST",body:JSON.stringify({id:Date.now().toString(),jsonrpc:"2.0",method:r,params:n}),headers:a,cache:"default"}).then((e=>e.json()));if(!d||Array.isArray(d)||"object"!=typeof d)throw new Error(`RPC endpoint ${e} returned non-object response.`);const{error:h,result:p}=d;if(h)throw new Error((null==h?void 0:h.message)||h);return p};const o=(0,((n=e("./fetch-with-timeout"))&&n.__esModule?n:{default:n}).default)()}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"$root$",file:"shared/modules/rpc.utils.js"}],[4553,{"../../../ui/selectors/selectors":5994,"../feature-flags":4541},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.getFeatureFlagsByChainId=function(e){var t;const r=(0,n.getCurrentChainId)(e),i=(0,o.getNetworkNameByChainId)(r),a=null===(t=e.metamask.swapsState)||void 0===t?void 0:t.swapsFeatureFlags;if(null==a||!a[i])return null;return{smartTransactions:{...a.smartTransactions,...a[i].smartTransactions}}};var n=e("../../../ui/selectors/selectors"),o=e("../feature-flags")}}},{package:"$root$",file:"shared/modules/selectors/feature-flags.ts"}],[4554,{"./feature-flags":4553,"./smart-transactions":4555,"./token-auto-detect":4556},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n=e("./smart-transactions");Object.keys(n).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in r&&r[e]===n[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return n[e]}}))}));var o=e("./feature-flags");Object.keys(o).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in r&&r[e]===o[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return o[e]}}))}));var i=e("./token-auto-detect");Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in r&&r[e]===i[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return i[e]}}))}))}}},{package:"$root$",file:"shared/modules/selectors/index.ts"}],[4555,{"../../../ui/selectors/selectors":5994,"../../constants/smartTransactions":4514,"../environment":4539},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.getSmartTransactionsOptInStatus=r.getSmartTransactionsEnabled=r.getIsSmartTransactionsOptInModalAvailable=r.getIsSmartTransaction=r.getCurrentChainSupportsSmartTransactions=void 0;var n=e("../../constants/smartTransactions"),o=e("../../../ui/selectors/selectors"),i=e("../environment");const a=e=>{var t;return(null===(t=e.metamask.preferences)||void 0===t?void 0:t.smartTransactionsOptInStatus)??null};r.getSmartTransactionsOptInStatus=a;const s=e=>{const t=(0,o.getCurrentChainId)(e);return(0,n.getAllowedSmartTransactionsChainIds)().includes(t)};r.getCurrentChainSupportsSmartTransactions=s;const c=e=>{var t;const r=(0,o.getCurrentChainId)(e);if(!(0,i.isProduction)()||n.SKIP_STX_RPC_URL_CHECK_CHAIN_IDS.includes(r))return!0;const a=(0,o.getCurrentNetwork)(e);if(null==a||!a.rpcUrl)return!1;const s=new URL(a.rpcUrl);return null==s||null===(t=s.hostname)||void 0===t?void 0:t.endsWith(".infura.io")};r.getIsSmartTransactionsOptInModalAvailable=e=>s(e)&&c(e)&&null===a(e)&&(e=>{const t=(0,o.getSelectedAccount)(e);return BigInt((null==t?void 0:t.balance)||"0x0")>0n})(e);const u=e=>{var t,r;const n=(0,o.accountSupportsSmartTx)(e),i=null===(t=e.metamask.swapsState)||void 0===t||null===(t=t.swapsFeatureFlags)||void 0===t||null===(t=t.smartTransactions)||void 0===t?void 0:t.extensionActive,a=null===(r=e.metamask.smartTransactionsState)||void 0===r?void 0:r.liveness;return Boolean(s(e)&&c(e)&&n&&i&&a)};r.getSmartTransactionsEnabled=u;r.getIsSmartTransaction=e=>{const t=a(e),r=u(e);return Boolean(t&&r)}}}},{package:"$root$",file:"shared/modules/selectors/smart-transactions.ts"}],[4556,{"../../../ui/selectors/selectors":5994},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.getShowTokenAutodetectModal=r.getIsShowTokenAutodetectModal=void 0;var n=e("../../../ui/selectors/selectors");const o=e=>{var t;return null===(t=e.metamask.preferences)||void 0===t?void 0:t.showTokenAutodetectModal};r.getShowTokenAutodetectModal=o;r.getIsShowTokenAutodetectModal=e=>null===e.metamask.showTokenAutodetectModalOnUpgrade?!(0,n.getUseTokenDetection)(e)&&null===e.metamask.showTokenAutodetectModalOnUpgrade:!(0,n.getUseTokenDetection)(e)&&null===o(e)}}},{package:"$root$",file:"shared/modules/selectors/token-auto-detect.ts"}],[4558,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.isEqualCaseInsensitive=function(e,t){if("string"!=typeof e||"string"!=typeof t)return!1;return e.toLowerCase()===t.toLowerCase()},r.prependZero=function(e,t){return e.toString().padStart(t,"0")}}}},{package:"$root$",file:"shared/modules/string-utils.ts"}],[4559,{"../constants/swaps":4516},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.isSwapsDefaultTokenAddress=function(e,t){var r;if(!e||!t)return!1;return e===(null===(r=n.SWAPS_CHAINID_DEFAULT_TOKEN_MAP[t])||void 0===r?void 0:r.address)},r.isSwapsDefaultTokenSymbol=function(e,t){var r;if(!e||!t)return!1;return e===(null===(r=n.SWAPS_CHAINID_DEFAULT_TOKEN_MAP[t])||void 0===r?void 0:r.symbol)};var n=e("../constants/swaps")}}},{package:"$root$",file:"shared/modules/swaps.utils.js"}],[456,{"./abstract-coder":448,"@ethersproject/bignumber":474,"@ethersproject/constants":480},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.NumberCoder=void 0;var i=e("@ethersproject/bignumber"),a=e("@ethersproject/constants"),s=function(e){function t(t,r,n){var o=this,i=(r?"int":"uint")+8*t;return(o=e.call(this,i,i,n,!1)||this).size=t,o.signed=r,o}return o(t,e),t.prototype.defaultValue=function(){return 0},t.prototype.encode=function(e,t){var r=i.BigNumber.from(t),n=a.MaxUint256.mask(8*e.wordSize);if(this.signed){var o=n.mask(8*this.size-1);(r.gt(o)||r.lt(o.add(a.One).mul(a.NegativeOne)))&&this._throwError("value out-of-bounds",t)}else(r.lt(a.Zero)||r.gt(n.mask(8*this.size)))&&this._throwError("value out-of-bounds",t);return r=r.toTwos(8*this.size).mask(8*this.size),this.signed&&(r=r.fromTwos(8*this.size).toTwos(8*e.wordSize)),e.writeValue(r)},t.prototype.decode=function(e){var t=e.readValue().mask(8*this.size);return this.signed&&(t=t.fromTwos(8*this.size)),e.coerce(this.name,t)},t}(e("./abstract-coder").Coder);r.NumberCoder=s}}},{package:"@ethersproject/abi",file:"node_modules/@ethersproject/abi/lib/coders/number.js"}],[4560,{"../constants/transaction":4520,"./contract-utils":4536,"./string-utils":4558,"@ethersproject/abi":460,"@metamask/metamask-eth-abis":1518,"@metamask/transaction-controller":2234,"ethereumjs-util":3288,loglevel:3842},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.determineTransactionAssetType=async function(e,t,r){let n=e.type;if(e.type&&!d.includes(e.type)){const r=await y(e.txParams,t);n=r.type}if([c.TransactionType.tokenMethodApprove,c.TransactionType.tokenMethodSetApprovalForAll,c.TransactionType.tokenMethodTransfer,c.TransactionType.tokenMethodTransferFrom,c.TransactionType.tokenMethodIncreaseAllowance].find((e=>e===n))||n===c.TransactionType.contractInteraction)try{const t=await r(e.txParams.to);if(t.standard)return{assetType:t.standard===u.TokenStandard.ERC20?u.AssetType.token:u.AssetType.NFT,tokenStandard:t.standard}}catch{}if(n===c.TransactionType.contractInteraction)return{assetType:u.AssetType.unknown,tokenStandard:u.TokenStandard.none};return{assetType:u.AssetType.native,tokenStandard:u.TokenStandard.none}},r.determineTransactionType=y,r.isEIP1559Transaction=function(e){var t,r;return(0,o.isHexString)((null==e||null===(t=e.txParams)||void 0===t?void 0:t.maxFeePerGas)??"")&&(0,o.isHexString)((null==e||null===(r=e.txParams)||void 0===r?void 0:r.maxPriorityFeePerGas)??"")},r.isLegacyTransaction=function(e){return void 0===e.txParams.maxFeePerGas&&void 0===e.txParams.maxPriorityFeePerGas&&(void 0===e.txParams.gasPrice||(0,o.isHexString)(e.txParams.gasPrice))},r.parseStandardTokenTransactionData=A,r.txParamsAreDappSuggested=function(e){var t,r,n;const{gasPrice:o,maxPriorityFeePerGas:i,maxFeePerGas:a}=(null==e?void 0:e.txParams)||{};return Boolean(o&&o===(null==e||null===(t=e.dappSuggestedGasFees)||void 0===t?void 0:t.gasPrice)||i&&a&&(null==e||null===(r=e.dappSuggestedGasFees)||void 0===r?void 0:r.maxPriorityFeePerGas)===i&&(null==e||null===(n=e.dappSuggestedGasFees)||void 0===n?void 0:n.maxFeePerGas)===a)};var n,o=e("ethereumjs-util"),i=e("@ethersproject/abi"),a=e("@metamask/metamask-eth-abis"),s=(n=e("loglevel"))&&n.__esModule?n:{default:n},c=e("@metamask/transaction-controller"),u=e("../constants/transaction"),l=e("./contract-utils"),f=e("./string-utils");const d=[c.TransactionType.tokenMethodApprove,c.TransactionType.tokenMethodSetApprovalForAll,c.TransactionType.tokenMethodTransfer,c.TransactionType.tokenMethodTransferFrom,c.TransactionType.tokenMethodIncreaseAllowance,c.TransactionType.contractInteraction,c.TransactionType.simpleSend],h=new i.Interface(a.abiERC20),p=new i.Interface(a.abiERC721),m=new i.Interface(a.abiERC1155),g=new i.Interface(a.abiFiatTokenV2);function A(e){try{return h.parseTransaction({data:e})}catch{}try{return p.parseTransaction({data:e})}catch{}try{return m.parseTransaction({data:e})}catch{}try{return g.parseTransaction({data:e})}catch{}return undefined}async function y(e,t){const{data:r,to:n}=e;let o;if(r&&!n)return{type:c.TransactionType.deployContract,getCodeResponse:o};if(n){const{contractCode:i,isContractAddress:a}=await(0,l.readAddressAsContract)(t,n);if(o=i,a){const t=e.value&&0!==Number(e.value);let n="";try{const e=r?A(r):undefined;null!=e&&e.name&&(n=e.name)}catch(e){s.default.debug("Failed to parse transaction data.",e,r)}const i=[c.TransactionType.tokenMethodApprove,c.TransactionType.tokenMethodSetApprovalForAll,c.TransactionType.tokenMethodTransfer,c.TransactionType.tokenMethodTransferFrom,c.TransactionType.tokenMethodIncreaseAllowance,c.TransactionType.tokenMethodSafeTransferFrom].find((e=>(0,f.isEqualCaseInsensitive)(e,n)));return{type:r&&i&&!t?i:c.TransactionType.contractInteraction,getCodeResponse:o}}}return{type:c.TransactionType.simpleSend,getCodeResponse:o}}}}},{package:"$root$",file:"shared/modules/transaction.utils.ts"}],[4562,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.getTranslatedUINotifications=r.UI_NOTIFICATIONS=r.NOTIFICATION_DROP_LEDGER_FIREFOX=void 0;const n=r.NOTIFICATION_DROP_LEDGER_FIREFOX=25,o=r.UI_NOTIFICATIONS={[n]:{id:Number(n),date:null}},i=(e,t)=>{let r;if(e){const t=e.split("-");r=new Date(Number(t[0]),Number(t[1])-1,Number(t[2]))}else r=new Date;return new Intl.DateTimeFormat(t).format(r)};r.getTranslatedUINotifications=(e,t)=>{const r=null==t?void 0:t.replace("_","-");return{[n]:{...o[n],title:e("notificationsDropLedgerFirefoxTitle"),description:[e("notificationsDropLedgerFirefoxDescription")],date:o[n].date?i(o[n].date,r):""}}}}}},{package:"$root$",file:"shared/notifications/index.ts"}],[457,{"./bytes":453,"@ethersproject/strings":547},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.StringCoder=void 0;var i=e("@ethersproject/strings"),a=function(e){function t(t){return e.call(this,"string",t)||this}return o(t,e),t.prototype.defaultValue=function(){return""},t.prototype.encode=function(t,r){return e.prototype.encode.call(this,t,(0,i.toUtf8Bytes)(r))},t.prototype.decode=function(t){return(0,i.toUtf8String)(e.prototype.decode.call(this,t))},t}(e("./bytes").DynamicBytesCoder);r.StringCoder=a}}},{package:"@ethersproject/abi",file:"node_modules/@ethersproject/abi/lib/coders/string.js"}],[458,{"./abstract-coder":448,"./array":451},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.TupleCoder=void 0;var i=e("./abstract-coder"),a=e("./array"),s=function(e){function t(t,r){var n=this,o=!1,i=[];t.forEach((function(e){e.dynamic&&(o=!0),i.push(e.type)}));var a="tuple("+i.join(",")+")";return(n=e.call(this,"tuple",a,r,o)||this).coders=t,n}return o(t,e),t.prototype.defaultValue=function(){var e=[];this.coders.forEach((function(t){e.push(t.defaultValue())}));var t=this.coders.reduce((function(e,t){var r=t.localName;return r&&(e[r]||(e[r]=0),e[r]++),e}),{});return this.coders.forEach((function(r,n){var o=r.localName;o&&1===t[o]&&("length"===o&&(o="_length"),null==e[o]&&(e[o]=e[n]))})),Object.freeze(e)},t.prototype.encode=function(e,t){return(0,a.pack)(e,this.coders,t)},t.prototype.decode=function(e){return e.coerce(this.name,(0,a.unpack)(e,this.coders))},t}(i.Coder);r.TupleCoder=s}}},{package:"@ethersproject/abi",file:"node_modules/@ethersproject/abi/lib/coders/tuple.js"}],[459,{"./_version":446,"@ethersproject/bignumber":474,"@ethersproject/logger":504,"@ethersproject/properties":510},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.ErrorFragment=r.FunctionFragment=r.ConstructorFragment=r.EventFragment=r.Fragment=r.ParamType=r.FormatTypes=void 0;var i=e("@ethersproject/bignumber"),a=e("@ethersproject/properties"),s=e("@ethersproject/logger"),c=e("./_version"),u=new s.Logger(c.version),l={},f={calldata:!0,memory:!0,storage:!0},d={calldata:!0,memory:!0};function h(e,t){if("bytes"===e||"string"===e){if(f[t])return!0}else if("address"===e){if("payable"===t)return!0}else if((e.indexOf("[")>=0||"tuple"===e)&&d[t])return!0;return(f[t]||"payable"===t)&&u.throwArgumentError("invalid modifier","name",t),!1}function p(e,t){for(var r in t)(0,a.defineReadOnly)(e,r,t[r])}r.FormatTypes=Object.freeze({sighash:"sighash",minimal:"minimal",full:"full",json:"json"});var m=new RegExp(/^(.*)\[([0-9]*)\]$/),g=function(){function e(t,r){t!==l&&u.throwError("use fromString",s.Logger.errors.UNSUPPORTED_OPERATION,{operation:"new ParamType()"}),p(this,r);var n=this.type.match(m);p(this,n?{arrayLength:parseInt(n[2]||"-1"),arrayChildren:e.fromObject({type:n[1],components:this.components}),baseType:"array"}:{arrayLength:null,arrayChildren:null,baseType:null!=this.components?"tuple":this.type}),this._isParamType=!0,Object.freeze(this)}return e.prototype.format=function(e){if(e||(e=r.FormatTypes.sighash),r.FormatTypes[e]||u.throwArgumentError("invalid format type","format",e),e===r.FormatTypes.json){var t={type:"tuple"===this.baseType?"tuple":this.type,name:this.name||undefined};return"boolean"==typeof this.indexed&&(t.indexed=this.indexed),this.components&&(t.components=this.components.map((function(t){return JSON.parse(t.format(e))}))),JSON.stringify(t)}var n="";return"array"===this.baseType?(n+=this.arrayChildren.format(e),n+="["+(this.arrayLength<0?"":String(this.arrayLength))+"]"):"tuple"===this.baseType?(e!==r.FormatTypes.sighash&&(n+=this.type),n+="("+this.components.map((function(t){return t.format(e)})).join(e===r.FormatTypes.full?", ":",")+")"):n+=this.type,e!==r.FormatTypes.sighash&&(!0===this.indexed&&(n+=" indexed"),e===r.FormatTypes.full&&this.name&&(n+=" "+this.name)),n},e.from=function(t,r){return"string"==typeof t?e.fromString(t,r):e.fromObject(t)},e.fromObject=function(t){return e.isParamType(t)?t:new e(l,{name:t.name||null,type:I(t.type),indexed:null==t.indexed?null:!!t.indexed,components:t.components?t.components.map(e.fromObject):null})},e.fromString=function(t,r){return n=function(e,t){var r=e;function n(t){u.throwArgumentError("unexpected character at position "+t,"param",e)}function o(e){var r={type:"",name:"",parent:e,state:{allowType:!0}};return t&&(r.indexed=!1),r}e=e.replace(/\s/g," ");for(var i={type:"",name:"",state:{allowType:!0}},a=i,s=0;s2&&u.throwArgumentError("invalid human-readable ABI signature","value",e),r[1].match(/^[0-9]+$/)||u.throwArgumentError("invalid human-readable ABI signature gas","value",e),t.gas=i.BigNumber.from(r[1]),r[0]):e}function v(e,t){t.constant=!1,t.payable=!1,t.stateMutability="nonpayable",e.split(" ").forEach((function(e){switch(e.trim()){case"constant":t.constant=!0;break;case"payable":t.payable=!0,t.stateMutability="payable";break;case"nonpayable":t.payable=!1,t.stateMutability="nonpayable";break;case"pure":t.constant=!0,t.stateMutability="pure";break;case"view":t.constant=!0,t.stateMutability="view";break;case"external":case"public":case"":break;default:console.log("unknown modifier: "+e)}}))}function E(e){var t={constant:!1,payable:!0,stateMutability:"payable"};return null!=e.stateMutability?(t.stateMutability=e.stateMutability,t.constant="view"===t.stateMutability||"pure"===t.stateMutability,null!=e.constant&&!!e.constant!==t.constant&&u.throwArgumentError("cannot have constant function with mutability "+t.stateMutability,"value",e),t.payable="payable"===t.stateMutability,null!=e.payable&&!!e.payable!==t.payable&&u.throwArgumentError("cannot have payable function with mutability "+t.stateMutability,"value",e)):null!=e.payable?(t.payable=!!e.payable,null!=e.constant||t.payable||"constructor"===e.type||u.throwArgumentError("unable to determine stateMutability","value",e),t.constant=!!e.constant,t.constant?t.stateMutability="view":t.stateMutability=t.payable?"payable":"nonpayable",t.payable&&t.constant&&u.throwArgumentError("cannot have constant payable function","value",e)):null!=e.constant?(t.constant=!!e.constant,t.payable=!t.constant,t.stateMutability=t.constant?"view":"payable"):"constructor"!==e.type&&u.throwArgumentError("unable to determine stateMutability","value",e),t}r.EventFragment=_;var T=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.format=function(e){if(e||(e=r.FormatTypes.sighash),r.FormatTypes[e]||u.throwArgumentError("invalid format type","format",e),e===r.FormatTypes.json)return JSON.stringify({type:"constructor",stateMutability:"nonpayable"!==this.stateMutability?this.stateMutability:undefined,payable:this.payable,gas:this.gas?this.gas.toNumber():undefined,inputs:this.inputs.map((function(t){return JSON.parse(t.format(e))}))});e===r.FormatTypes.sighash&&u.throwError("cannot format a constructor for sighash",s.Logger.errors.UNSUPPORTED_OPERATION,{operation:"format(sighash)"});var t="constructor("+this.inputs.map((function(t){return t.format(e)})).join(e===r.FormatTypes.full?", ":",")+") ";return this.stateMutability&&"nonpayable"!==this.stateMutability&&(t+=this.stateMutability+" "),t.trim()},t.from=function(e){return"string"==typeof e?t.fromString(e):t.fromObject(e)},t.fromObject=function(e){if(t.isConstructorFragment(e))return e;"constructor"!==e.type&&u.throwArgumentError("invalid constructor object","value",e);var r=E(e);r.constant&&u.throwArgumentError("constructor cannot be constant","value",e);var n={name:null,type:e.type,inputs:e.inputs?e.inputs.map(g.fromObject):[],payable:r.payable,stateMutability:r.stateMutability,gas:e.gas?i.BigNumber.from(e.gas):null};return new t(l,n)},t.fromString=function(e){var r={type:"constructor"},n=(e=b(e,r)).match(M);return n&&"constructor"===n[1].trim()||u.throwArgumentError("invalid constructor string","value",e),r.inputs=A(n[2].trim(),!1),v(n[3].trim(),r),t.fromObject(r)},t.isConstructorFragment=function(e){return e&&e._isFragment&&"constructor"===e.type},t}(y);r.ConstructorFragment=T;var w=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.format=function(e){if(e||(e=r.FormatTypes.sighash),r.FormatTypes[e]||u.throwArgumentError("invalid format type","format",e),e===r.FormatTypes.json)return JSON.stringify({type:"function",name:this.name,constant:this.constant,stateMutability:"nonpayable"!==this.stateMutability?this.stateMutability:undefined,payable:this.payable,gas:this.gas?this.gas.toNumber():undefined,inputs:this.inputs.map((function(t){return JSON.parse(t.format(e))})),outputs:this.outputs.map((function(t){return JSON.parse(t.format(e))}))});var t="";return e!==r.FormatTypes.sighash&&(t+="function "),t+=this.name+"("+this.inputs.map((function(t){return t.format(e)})).join(e===r.FormatTypes.full?", ":",")+") ",e!==r.FormatTypes.sighash&&(this.stateMutability?"nonpayable"!==this.stateMutability&&(t+=this.stateMutability+" "):this.constant&&(t+="view "),this.outputs&&this.outputs.length&&(t+="returns ("+this.outputs.map((function(t){return t.format(e)})).join(", ")+") "),null!=this.gas&&(t+="@"+this.gas.toString()+" ")),t.trim()},t.from=function(e){return"string"==typeof e?t.fromString(e):t.fromObject(e)},t.fromObject=function(e){if(t.isFunctionFragment(e))return e;"function"!==e.type&&u.throwArgumentError("invalid function object","value",e);var r=E(e),n={type:e.type,name:C(e.name),constant:r.constant,inputs:e.inputs?e.inputs.map(g.fromObject):[],outputs:e.outputs?e.outputs.map(g.fromObject):[],payable:r.payable,stateMutability:r.stateMutability,gas:e.gas?i.BigNumber.from(e.gas):null};return new t(l,n)},t.fromString=function(e){var r={type:"function"},n=(e=b(e,r)).split(" returns ");n.length>2&&u.throwArgumentError("invalid function string","value",e);var o=n[0].match(M);if(o||u.throwArgumentError("invalid function signature","value",e),r.name=o[1].trim(),r.name&&C(r.name),r.inputs=A(o[2],!1),v(o[3].trim(),r),n.length>1){var i=n[1].match(M);""==i[1].trim()&&""==i[3].trim()||u.throwArgumentError("unexpected tokens","value",e),r.outputs=A(i[2],!1)}else r.outputs=[];return t.fromObject(r)},t.isFunctionFragment=function(e){return e&&e._isFragment&&"function"===e.type},t}(T);function N(e){var t=e.format();return"Error(string)"!==t&&"Panic(uint256)"!==t||u.throwArgumentError("cannot specify user defined "+t+" error","fragment",e),e}r.FunctionFragment=w;var S=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.format=function(e){if(e||(e=r.FormatTypes.sighash),r.FormatTypes[e]||u.throwArgumentError("invalid format type","format",e),e===r.FormatTypes.json)return JSON.stringify({type:"error",name:this.name,inputs:this.inputs.map((function(t){return JSON.parse(t.format(e))}))});var t="";return e!==r.FormatTypes.sighash&&(t+="error "),(t+=this.name+"("+this.inputs.map((function(t){return t.format(e)})).join(e===r.FormatTypes.full?", ":",")+") ").trim()},t.from=function(e){return"string"==typeof e?t.fromString(e):t.fromObject(e)},t.fromObject=function(e){if(t.isErrorFragment(e))return e;"error"!==e.type&&u.throwArgumentError("invalid error object","value",e);var r={type:e.type,name:C(e.name),inputs:e.inputs?e.inputs.map(g.fromObject):[]};return N(new t(l,r))},t.fromString=function(e){var r={type:"error"},n=e.match(M);return n||u.throwArgumentError("invalid error signature","value",e),r.name=n[1].trim(),r.name&&C(r.name),r.inputs=A(n[2],!1),N(t.fromObject(r))},t.isErrorFragment=function(e){return e&&e._isFragment&&"error"===e.type},t}(y);function I(e){return e.match(/^uint($|[^1-9])/)?e="uint256"+e.substring(4):e.match(/^int($|[^1-9])/)&&(e="int256"+e.substring(3)),e}r.ErrorFragment=S;var O=new RegExp("^[a-zA-Z$_][a-zA-Z0-9$_]*$");function C(e){return e&&e.match(O)||u.throwArgumentError('invalid identifier "'+e+'"',"value",e),e}var M=new RegExp("^([^)(]*)\\((.*)\\)([^)(]*)$")}}},{package:"@ethersproject/abi",file:"node_modules/@ethersproject/abi/lib/fragments.js"}],[460,{"./abi-coder":447,"./fragments":459,"./interface":461},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.TransactionDescription=r.LogDescription=r.checkResultErrors=r.Indexed=r.Interface=r.defaultAbiCoder=r.AbiCoder=r.FormatTypes=r.ParamType=r.FunctionFragment=r.Fragment=r.EventFragment=r.ErrorFragment=r.ConstructorFragment=void 0;var n=e("./fragments");Object.defineProperty(r,"ConstructorFragment",{enumerable:!0,get:function(){return n.ConstructorFragment}}),Object.defineProperty(r,"ErrorFragment",{enumerable:!0,get:function(){return n.ErrorFragment}}),Object.defineProperty(r,"EventFragment",{enumerable:!0,get:function(){return n.EventFragment}}),Object.defineProperty(r,"FormatTypes",{enumerable:!0,get:function(){return n.FormatTypes}}),Object.defineProperty(r,"Fragment",{enumerable:!0,get:function(){return n.Fragment}}),Object.defineProperty(r,"FunctionFragment",{enumerable:!0,get:function(){return n.FunctionFragment}}),Object.defineProperty(r,"ParamType",{enumerable:!0,get:function(){return n.ParamType}});var o=e("./abi-coder");Object.defineProperty(r,"AbiCoder",{enumerable:!0,get:function(){return o.AbiCoder}}),Object.defineProperty(r,"defaultAbiCoder",{enumerable:!0,get:function(){return o.defaultAbiCoder}});var i=e("./interface");Object.defineProperty(r,"checkResultErrors",{enumerable:!0,get:function(){return i.checkResultErrors}}),Object.defineProperty(r,"Indexed",{enumerable:!0,get:function(){return i.Indexed}}),Object.defineProperty(r,"Interface",{enumerable:!0,get:function(){return i.Interface}}),Object.defineProperty(r,"LogDescription",{enumerable:!0,get:function(){return i.LogDescription}}),Object.defineProperty(r,"TransactionDescription",{enumerable:!0,get:function(){return i.TransactionDescription}})}}},{package:"@ethersproject/abi",file:"node_modules/@ethersproject/abi/lib/index.js"}],[461,{"./_version":446,"./abi-coder":447,"./coders/abstract-coder":448,"./fragments":459,"@ethersproject/address":467,"@ethersproject/bignumber":474,"@ethersproject/bytes":476,"@ethersproject/hash":489,"@ethersproject/keccak256":502,"@ethersproject/logger":504,"@ethersproject/properties":510},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.Interface=r.Indexed=r.ErrorDescription=r.TransactionDescription=r.LogDescription=r.checkResultErrors=void 0;var i=e("@ethersproject/address"),a=e("@ethersproject/bignumber"),s=e("@ethersproject/bytes"),c=e("@ethersproject/hash"),u=e("@ethersproject/keccak256"),l=e("@ethersproject/properties"),f=e("./abi-coder"),d=e("./coders/abstract-coder");Object.defineProperty(r,"checkResultErrors",{enumerable:!0,get:function(){return d.checkResultErrors}});var h=e("./fragments"),p=e("@ethersproject/logger"),m=e("./_version"),g=new p.Logger(m.version),A=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t}(l.Description);r.LogDescription=A;var y=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t}(l.Description);r.TransactionDescription=y;var _=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t}(l.Description);r.ErrorDescription=_;var b=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.isIndexed=function(e){return!(!e||!e._isIndexed)},t}(l.Description);r.Indexed=b;var v={"0x08c379a0":{signature:"Error(string)",name:"Error",inputs:["string"],reason:!0},"0x4e487b71":{signature:"Panic(uint256)",name:"Panic",inputs:["uint256"]}};function E(e,t){var r=new Error("deferred error during ABI decoding triggered accessing "+e);return r.error=t,r}var T=function(){function e(e){var t=this.constructor,r=this,n=[];n="string"==typeof e?JSON.parse(e):e,(0,l.defineReadOnly)(this,"fragments",n.map((function(e){return h.Fragment.from(e)})).filter((function(e){return null!=e}))),(0,l.defineReadOnly)(this,"_abiCoder",(0,l.getStatic)(t,"getAbiCoder")()),(0,l.defineReadOnly)(this,"functions",{}),(0,l.defineReadOnly)(this,"errors",{}),(0,l.defineReadOnly)(this,"events",{}),(0,l.defineReadOnly)(this,"structs",{}),this.fragments.forEach((function(e){var t=null;switch(e.type){case"constructor":return r.deploy?void g.warn("duplicate definition - constructor"):void(0,l.defineReadOnly)(r,"deploy",e);case"function":t=r.functions;break;case"event":t=r.events;break;case"error":t=r.errors;break;default:return}var n=e.format();t[n]?g.warn("duplicate definition - "+n):t[n]=e})),this.deploy||(0,l.defineReadOnly)(this,"deploy",h.ConstructorFragment.from({payable:!1,type:"constructor"})),(0,l.defineReadOnly)(this,"_isInterface",!0)}return e.prototype.format=function(e){e||(e=h.FormatTypes.full),e===h.FormatTypes.sighash&&g.throwArgumentError("interface does not support formatting sighash","format",e);var t=this.fragments.map((function(t){return t.format(e)}));return e===h.FormatTypes.json?JSON.stringify(t.map((function(e){return JSON.parse(e)}))):t},e.getAbiCoder=function(){return f.defaultAbiCoder},e.getAddress=function(e){return(0,i.getAddress)(e)},e.getSighash=function(e){return(0,s.hexDataSlice)((0,c.id)(e.format()),0,4)},e.getEventTopic=function(e){return(0,c.id)(e.format())},e.prototype.getFunction=function(e){if((0,s.isHexString)(e)){for(var t in this.functions)if(e===this.getSighash(t))return this.functions[t];g.throwArgumentError("no matching function","sighash",e)}if(-1===e.indexOf("(")){var r=e.trim(),n=Object.keys(this.functions).filter((function(e){return e.split("(")[0]===r}));return 0===n.length?g.throwArgumentError("no matching function","name",r):n.length>1&&g.throwArgumentError("multiple matching functions","name",r),this.functions[n[0]]}var o=this.functions[h.FunctionFragment.fromString(e).format()];return o||g.throwArgumentError("no matching function","signature",e),o},e.prototype.getEvent=function(e){if((0,s.isHexString)(e)){var t=e.toLowerCase();for(var r in this.events)if(t===this.getEventTopic(r))return this.events[r];g.throwArgumentError("no matching event","topichash",t)}if(-1===e.indexOf("(")){var n=e.trim(),o=Object.keys(this.events).filter((function(e){return e.split("(")[0]===n}));return 0===o.length?g.throwArgumentError("no matching event","name",n):o.length>1&&g.throwArgumentError("multiple matching events","name",n),this.events[o[0]]}var i=this.events[h.EventFragment.fromString(e).format()];return i||g.throwArgumentError("no matching event","signature",e),i},e.prototype.getError=function(e){if((0,s.isHexString)(e)){var t=(0,l.getStatic)(this.constructor,"getSighash");for(var r in this.errors){if(e===t(this.errors[r]))return this.errors[r]}g.throwArgumentError("no matching error","sighash",e)}if(-1===e.indexOf("(")){var n=e.trim(),o=Object.keys(this.errors).filter((function(e){return e.split("(")[0]===n}));return 0===o.length?g.throwArgumentError("no matching error","name",n):o.length>1&&g.throwArgumentError("multiple matching errors","name",n),this.errors[o[0]]}var i=this.errors[h.FunctionFragment.fromString(e).format()];return i||g.throwArgumentError("no matching error","signature",e),i},e.prototype.getSighash=function(e){if("string"==typeof e)try{e=this.getFunction(e)}catch(t){try{e=this.getError(e)}catch(e){throw t}}return(0,l.getStatic)(this.constructor,"getSighash")(e)},e.prototype.getEventTopic=function(e){return"string"==typeof e&&(e=this.getEvent(e)),(0,l.getStatic)(this.constructor,"getEventTopic")(e)},e.prototype._decodeParams=function(e,t){return this._abiCoder.decode(e,t)},e.prototype._encodeParams=function(e,t){return this._abiCoder.encode(e,t)},e.prototype.encodeDeploy=function(e){return this._encodeParams(this.deploy.inputs,e||[])},e.prototype.decodeErrorResult=function(e,t){"string"==typeof e&&(e=this.getError(e));var r=(0,s.arrayify)(t);return(0,s.hexlify)(r.slice(0,4))!==this.getSighash(e)&&g.throwArgumentError("data signature does not match error "+e.name+".","data",(0,s.hexlify)(r)),this._decodeParams(e.inputs,r.slice(4))},e.prototype.encodeErrorResult=function(e,t){return"string"==typeof e&&(e=this.getError(e)),(0,s.hexlify)((0,s.concat)([this.getSighash(e),this._encodeParams(e.inputs,t||[])]))},e.prototype.decodeFunctionData=function(e,t){"string"==typeof e&&(e=this.getFunction(e));var r=(0,s.arrayify)(t);return(0,s.hexlify)(r.slice(0,4))!==this.getSighash(e)&&g.throwArgumentError("data signature does not match function "+e.name+".","data",(0,s.hexlify)(r)),this._decodeParams(e.inputs,r.slice(4))},e.prototype.encodeFunctionData=function(e,t){return"string"==typeof e&&(e=this.getFunction(e)),(0,s.hexlify)((0,s.concat)([this.getSighash(e),this._encodeParams(e.inputs,t||[])]))},e.prototype.decodeFunctionResult=function(e,t){"string"==typeof e&&(e=this.getFunction(e));var r=(0,s.arrayify)(t),n=null,o="",i=null,a=null,c=null;switch(r.length%this._abiCoder._getWordSize()){case 0:try{return this._abiCoder.decode(e.outputs,r)}catch(f){}break;case 4:var u=(0,s.hexlify)(r.slice(0,4)),l=v[u];if(l)i=this._abiCoder.decode(l.inputs,r.slice(4)),a=l.name,c=l.signature,l.reason&&(n=i[0]),"Error"===a?o="; VM Exception while processing transaction: reverted with reason string "+JSON.stringify(i[0]):"Panic"===a&&(o="; VM Exception while processing transaction: reverted with panic code "+i[0]);else try{var f=this.getError(u);i=this._abiCoder.decode(f.inputs,r.slice(4)),a=f.name,c=f.format()}catch(f){}}return g.throwError("call revert exception"+o,p.Logger.errors.CALL_EXCEPTION,{method:e.format(),data:(0,s.hexlify)(t),errorArgs:i,errorName:a,errorSignature:c,reason:n})},e.prototype.encodeFunctionResult=function(e,t){return"string"==typeof e&&(e=this.getFunction(e)),(0,s.hexlify)(this._abiCoder.encode(e.outputs,t||[]))},e.prototype.encodeFilterTopics=function(e,t){var r=this;"string"==typeof e&&(e=this.getEvent(e)),t.length>e.inputs.length&&g.throwError("too many arguments for "+e.format(),p.Logger.errors.UNEXPECTED_ARGUMENT,{argument:"values",value:t});var n=[];e.anonymous||n.push(this.getEventTopic(e));var o=function(e,t){return"string"===e.type?(0,c.id)(t):"bytes"===e.type?(0,u.keccak256)((0,s.hexlify)(t)):("bool"===e.type&&"boolean"==typeof t&&(t=t?"0x01":"0x00"),e.type.match(/^u?int/)&&(t=a.BigNumber.from(t).toHexString()),"address"===e.type&&r._abiCoder.encode(["address"],[t]),(0,s.hexZeroPad)((0,s.hexlify)(t),32))};for(t.forEach((function(t,r){var i=e.inputs[r];i.indexed?null==t?n.push(null):"array"===i.baseType||"tuple"===i.baseType?g.throwArgumentError("filtering with tuples or arrays not supported","contract."+i.name,t):Array.isArray(t)?n.push(t.map((function(e){return o(i,e)}))):n.push(o(i,t)):null!=t&&g.throwArgumentError("cannot filter non-indexed parameters; must be null","contract."+i.name,t)}));n.length&&null===n[n.length-1];)n.pop();return n},e.prototype.encodeEventLog=function(e,t){var r=this;"string"==typeof e&&(e=this.getEvent(e));var n=[],o=[],i=[];return e.anonymous||n.push(this.getEventTopic(e)),t.length!==e.inputs.length&&g.throwArgumentError("event arguments/values mismatch","values",t),e.inputs.forEach((function(e,a){var s=t[a];if(e.indexed)if("string"===e.type)n.push((0,c.id)(s));else if("bytes"===e.type)n.push((0,u.keccak256)(s));else{if("tuple"===e.baseType||"array"===e.baseType)throw new Error("not implemented");n.push(r._abiCoder.encode([e.type],[s]))}else o.push(e),i.push(s)})),{data:this._abiCoder.encode(o,i),topics:n}},e.prototype.decodeEventLog=function(e,t,r){if("string"==typeof e&&(e=this.getEvent(e)),null!=r&&!e.anonymous){var n=this.getEventTopic(e);(0,s.isHexString)(r[0],32)&&r[0].toLowerCase()===n||g.throwError("fragment/topic mismatch",p.Logger.errors.INVALID_ARGUMENT,{argument:"topics[0]",expected:n,value:r[0]}),r=r.slice(1)}var o=[],i=[],a=[];e.inputs.forEach((function(e,t){e.indexed?"string"===e.type||"bytes"===e.type||"tuple"===e.baseType||"array"===e.baseType?(o.push(h.ParamType.fromObject({type:"bytes32",name:e.name})),a.push(!0)):(o.push(e),a.push(!1)):(i.push(e),a.push(!1))}));var c=null!=r?this._abiCoder.decode(o,(0,s.concat)(r)):null,u=this._abiCoder.decode(i,t,!0),l=[],f=0,d=0;e.inputs.forEach((function(e,t){if(e.indexed)if(null==c)l[t]=new b({_isIndexed:!0,hash:null});else if(a[t])l[t]=new b({_isIndexed:!0,hash:c[d++]});else try{l[t]=c[d++]}catch(e){l[t]=e}else try{l[t]=u[f++]}catch(e){l[t]=e}if(e.name&&null==l[e.name]){var r=l[t];r instanceof Error?Object.defineProperty(l,e.name,{enumerable:!0,get:function(){throw E("property "+JSON.stringify(e.name),r)}}):l[e.name]=r}}));for(var m=function(e){var t=l[e];t instanceof Error&&Object.defineProperty(l,e,{enumerable:!0,get:function(){throw E("index "+e,t)}})},A=0;A@ethersproject/abstract-provider",file:"node_modules/@ethersproject/abstract-provider/lib/_version.js"}],[463,{"./_version":462,"@ethersproject/bignumber":474,"@ethersproject/bytes":476,"@ethersproject/logger":504,"@ethersproject/properties":510},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),i=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function a(e){try{c(n.next(e))}catch(e){i(e)}}function s(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}c((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]@ethersproject/abstract-provider",file:"node_modules/@ethersproject/abstract-provider/lib/index.js"}],[464,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.version=void 0,r.version="abstract-signer/5.7.0"}}},{package:"@ethersproject/hash>@ethersproject/abstract-signer",file:"node_modules/@ethersproject/abstract-signer/lib/_version.js"}],[465,{"./_version":464,"@ethersproject/logger":504,"@ethersproject/properties":510},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),i=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function a(e){try{c(n.next(e))}catch(e){i(e)}}function s(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}c((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]=0)throw e;return l.throwError("cannot estimate gas; transaction may fail or may require manual gas limit",c.Logger.errors.UNPREDICTABLE_GAS_LIMIT,{error:e,tx:t})}))),null==t.chainId?t.chainId=this.getChainId():t.chainId=Promise.all([Promise.resolve(t.chainId),this.getChainId()]).then((function(t){return 0!==t[1]&&t[0]!==t[1]&&l.throwArgumentError("chainId address mismatch","transaction",e),t[0]})),[4,(0,s.resolveProperties)(t)];case 6:return[2,f.sent()]}}))}))},e.prototype._checkProvider=function(e){this.provider||l.throwError("missing provider",c.Logger.errors.UNSUPPORTED_OPERATION,{operation:e||"_checkProvider"})},e.isSigner=function(e){return!(!e||!e._isSigner)},e}();r.Signer=h;var p=function(e){function t(t,r){var n=e.call(this)||this;return(0,s.defineReadOnly)(n,"address",t),(0,s.defineReadOnly)(n,"provider",r||null),n}return o(t,e),t.prototype.getAddress=function(){return Promise.resolve(this.address)},t.prototype._fail=function(e,t){return Promise.resolve().then((function(){l.throwError(e,c.Logger.errors.UNSUPPORTED_OPERATION,{operation:t})}))},t.prototype.signMessage=function(e){return this._fail("VoidSigner cannot sign messages","signMessage")},t.prototype.signTransaction=function(e){return this._fail("VoidSigner cannot sign transactions","signTransaction")},t.prototype._signTypedData=function(e,t,r){return this._fail("VoidSigner cannot sign typed data","signTypedData")},t.prototype.connect=function(e){return new t(this.address,e)},t}(h);r.VoidSigner=p}}},{package:"@ethersproject/hash>@ethersproject/abstract-signer",file:"node_modules/@ethersproject/abstract-signer/lib/index.js"}],[466,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.version=void 0,r.version="address/5.7.0"}}},{package:"@ethersproject/abi>@ethersproject/address",file:"node_modules/@ethersproject/address/lib/_version.js"}],[467,{"./_version":466,"@ethersproject/bignumber":474,"@ethersproject/bytes":476,"@ethersproject/keccak256":502,"@ethersproject/logger":504,"@ethersproject/rlp":536},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.getCreate2Address=r.getContractAddress=r.getIcapAddress=r.isAddress=r.getAddress=void 0;var n=e("@ethersproject/bytes"),o=e("@ethersproject/bignumber"),i=e("@ethersproject/keccak256"),a=e("@ethersproject/rlp"),s=e("@ethersproject/logger"),c=e("./_version"),u=new s.Logger(c.version);function l(e){(0,n.isHexString)(e,20)||u.throwArgumentError("invalid address","address",e);for(var t=(e=e.toLowerCase()).substring(2).split(""),r=new Uint8Array(40),o=0;o<40;o++)r[o]=t[o].charCodeAt(0);var a=(0,n.arrayify)((0,i.keccak256)(r));for(o=0;o<40;o+=2)a[o>>1]>>4>=8&&(t[o]=t[o].toUpperCase()),(15&a[o>>1])>=8&&(t[o+1]=t[o+1].toUpperCase());return"0x"+t.join("")}for(var f={},d=0;d<10;d++)f[String(d)]=String(d);for(d=0;d<26;d++)f[String.fromCharCode(65+d)]=String(10+d);var h,p=Math.floor((h=9007199254740991,Math.log10?Math.log10(h):Math.log(h)/Math.LN10));function m(e){for(var t=(e=(e=e.toUpperCase()).substring(4)+e.substring(0,2)+"00").split("").map((function(e){return f[e]})).join("");t.length>=p;){var r=t.substring(0,p);t=parseInt(r,10)%97+t.substring(r.length)}for(var n=String(98-parseInt(t,10)%97);n.length<2;)n="0"+n;return n}function g(e){var t=null;if("string"!=typeof e&&u.throwArgumentError("invalid address","address",e),e.match(/^(0x)?[0-9a-fA-F]{40}$/))"0x"!==e.substring(0,2)&&(e="0x"+e),t=l(e),e.match(/([A-F].*[a-f])|([a-f].*[A-F])/)&&t!==e&&u.throwArgumentError("bad address checksum","address",e);else if(e.match(/^XE[0-9]{2}[0-9A-Za-z]{30,31}$/)){for(e.substring(2,4)!==m(e)&&u.throwArgumentError("bad icap checksum","address",e),t=(0,o._base36To16)(e.substring(4));t.length<40;)t="0"+t;t=l("0x"+t)}else u.throwArgumentError("invalid address","address",e);return t}r.getAddress=g,r.isAddress=function(e){try{return g(e),!0}catch(e){}return!1},r.getIcapAddress=function(e){for(var t=(0,o._base16To36)(g(e).substring(2)).toUpperCase();t.length<30;)t="0"+t;return"XE"+m("XE00"+t)+t},r.getContractAddress=function(e){var t=null;try{t=g(e.from)}catch(t){u.throwArgumentError("missing from address","transaction",e)}var r=(0,n.stripZeros)((0,n.arrayify)(o.BigNumber.from(e.nonce).toHexString()));return g((0,n.hexDataSlice)((0,i.keccak256)((0,a.encode)([t,r])),12))},r.getCreate2Address=function(e,t,r){return 32!==(0,n.hexDataLength)(t)&&u.throwArgumentError("salt must be 32 bytes","salt",t),32!==(0,n.hexDataLength)(r)&&u.throwArgumentError("initCodeHash must be 32 bytes","initCodeHash",r),g((0,n.hexDataSlice)((0,i.keccak256)((0,n.concat)(["0xff",g(e),t,r])),12))}}}},{package:"@ethersproject/abi>@ethersproject/address",file:"node_modules/@ethersproject/address/lib/index.js"}],[468,{"@ethersproject/bytes":476},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.encode=r.decode=void 0;var n=e("@ethersproject/bytes");r.decode=function(e){e=atob(e);for(var t=[],r=0;r@ethersproject/base64",file:"node_modules/@ethersproject/base64/lib/browser-base64.js"}],[469,{"./base64":468},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.encode=r.decode=void 0;var n=e("./base64");Object.defineProperty(r,"decode",{enumerable:!0,get:function(){return n.decode}}),Object.defineProperty(r,"encode",{enumerable:!0,get:function(){return n.encode}})}}},{package:"@ethersproject/hash>@ethersproject/base64",file:"node_modules/@ethersproject/base64/lib/index.js"}],[470,{"@ethersproject/bytes":476,"@ethersproject/properties":510},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.Base58=r.Base32=r.BaseX=void 0;var n=e("@ethersproject/bytes"),o=e("@ethersproject/properties"),i=function(){function e(e){(0,o.defineReadOnly)(this,"alphabet",e),(0,o.defineReadOnly)(this,"base",e.length),(0,o.defineReadOnly)(this,"_alphabetMap",{}),(0,o.defineReadOnly)(this,"_leader",e.charAt(0));for(var t=0;t0;)r.push(i%this.base),i=i/this.base|0}for(var s="",c=0;0===t[c]&&c=0;--u)s+=this.alphabet[r[u]];return s},e.prototype.decode=function(e){if("string"!=typeof e)throw new TypeError("Expected String");var t=[];if(0===e.length)return new Uint8Array(t);t.push(0);for(var r=0;r>=8;for(;i>0;)t.push(255&i),i>>=8}for(var s=0;e[s]===this._leader&&s@ethersproject/basex",file:"node_modules/@ethersproject/basex/lib/index.js"}],[471,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.version=void 0,r.version="bignumber/5.7.0"}}},{package:"@ethersproject/bignumber",file:"node_modules/@ethersproject/bignumber/lib/_version.js"}],[472,{"./_version":471,"@ethersproject/bytes":476,"@ethersproject/logger":504,"bn.js":2980},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r._base16To36=r._base36To16=r.BigNumber=r.isBigNumberish=void 0;var o=n(e("bn.js")).default.BN,i=e("@ethersproject/bytes"),a=e("@ethersproject/logger"),s=e("./_version"),c=new a.Logger(s.version),u={},l=9007199254740991;r.isBigNumberish=function(e){return null!=e&&(d.isBigNumber(e)||"number"==typeof e&&e%1==0||"string"==typeof e&&!!e.match(/^-?[0-9]+$/)||(0,i.isHexString)(e)||"bigint"==typeof e||(0,i.isBytes)(e))};var f=!1,d=function(){function e(e,t){e!==u&&c.throwError("cannot call constructor directly; use BigNumber.from",a.Logger.errors.UNSUPPORTED_OPERATION,{operation:"new (BigNumber)"}),this._hex=t,this._isBigNumber=!0,Object.freeze(this)}return e.prototype.fromTwos=function(e){return p(m(this).fromTwos(e))},e.prototype.toTwos=function(e){return p(m(this).toTwos(e))},e.prototype.abs=function(){return"-"===this._hex[0]?e.from(this._hex.substring(1)):this},e.prototype.add=function(e){return p(m(this).add(m(e)))},e.prototype.sub=function(e){return p(m(this).sub(m(e)))},e.prototype.div=function(t){return e.from(t).isZero()&&g("division-by-zero","div"),p(m(this).div(m(t)))},e.prototype.mul=function(e){return p(m(this).mul(m(e)))},e.prototype.mod=function(e){var t=m(e);return t.isNeg()&&g("division-by-zero","mod"),p(m(this).umod(t))},e.prototype.pow=function(e){var t=m(e);return t.isNeg()&&g("negative-power","pow"),p(m(this).pow(t))},e.prototype.and=function(e){var t=m(e);return(this.isNegative()||t.isNeg())&&g("unbound-bitwise-result","and"),p(m(this).and(t))},e.prototype.or=function(e){var t=m(e);return(this.isNegative()||t.isNeg())&&g("unbound-bitwise-result","or"),p(m(this).or(t))},e.prototype.xor=function(e){var t=m(e);return(this.isNegative()||t.isNeg())&&g("unbound-bitwise-result","xor"),p(m(this).xor(t))},e.prototype.mask=function(e){return(this.isNegative()||e<0)&&g("negative-width","mask"),p(m(this).maskn(e))},e.prototype.shl=function(e){return(this.isNegative()||e<0)&&g("negative-width","shl"),p(m(this).shln(e))},e.prototype.shr=function(e){return(this.isNegative()||e<0)&&g("negative-width","shr"),p(m(this).shrn(e))},e.prototype.eq=function(e){return m(this).eq(m(e))},e.prototype.lt=function(e){return m(this).lt(m(e))},e.prototype.lte=function(e){return m(this).lte(m(e))},e.prototype.gt=function(e){return m(this).gt(m(e))},e.prototype.gte=function(e){return m(this).gte(m(e))},e.prototype.isNegative=function(){return"-"===this._hex[0]},e.prototype.isZero=function(){return m(this).isZero()},e.prototype.toNumber=function(){try{return m(this).toNumber()}catch(e){g("overflow","toNumber",this.toString())}return null},e.prototype.toBigInt=function(){try{return BigInt(this.toString())}catch(e){}return c.throwError("this platform does not support BigInt",a.Logger.errors.UNSUPPORTED_OPERATION,{value:this.toString()})},e.prototype.toString=function(){return arguments.length>0&&(10===arguments[0]?f||(f=!0,c.warn("BigNumber.toString does not accept any parameters; base-10 is assumed")):16===arguments[0]?c.throwError("BigNumber.toString does not accept any parameters; use bigNumber.toHexString()",a.Logger.errors.UNEXPECTED_ARGUMENT,{}):c.throwError("BigNumber.toString does not accept parameters",a.Logger.errors.UNEXPECTED_ARGUMENT,{})),m(this).toString(10)},e.prototype.toHexString=function(){return this._hex},e.prototype.toJSON=function(e){return{type:"BigNumber",hex:this.toHexString()}},e.from=function(t){if(t instanceof e)return t;if("string"==typeof t)return t.match(/^-?0x[0-9a-f]+$/i)?new e(u,h(t)):t.match(/^-?[0-9]+$/)?new e(u,h(new o(t))):c.throwArgumentError("invalid BigNumber string","value",t);if("number"==typeof t)return t%1&&g("underflow","BigNumber.from",t),(t>=l||t<=-l)&&g("overflow","BigNumber.from",t),e.from(String(t));var r,n=t;if("bigint"==typeof n)return e.from(n.toString());if((0,i.isBytes)(n))return e.from((0,i.hexlify)(n));if(n)if(n.toHexString){if("string"==typeof(r=n.toHexString()))return e.from(r)}else if(null==(r=n._hex)&&"BigNumber"===n.type&&(r=n.hex),"string"==typeof r&&((0,i.isHexString)(r)||"-"===r[0]&&(0,i.isHexString)(r.substring(1))))return e.from(r);return c.throwArgumentError("invalid BigNumber value","value",t)},e.isBigNumber=function(e){return!(!e||!e._isBigNumber)},e}();function h(e){if("string"!=typeof e)return h(e.toString(16));if("-"===e[0])return"-"===(e=e.substring(1))[0]&&c.throwArgumentError("invalid hex","value",e),"0x00"===(e=h(e))?e:"-"+e;if("0x"!==e.substring(0,2)&&(e="0x"+e),"0x"===e)return"0x00";for(e.length%2&&(e="0x0"+e.substring(2));e.length>4&&"0x00"===e.substring(0,4);)e="0x"+e.substring(4);return e}function p(e){return d.from(h(e))}function m(e){var t=d.from(e).toHexString();return"-"===t[0]?new o("-"+t.substring(3),16):new o(t.substring(2),16)}function g(e,t,r){var n={fault:e,operation:t};return null!=r&&(n.value=r),c.throwError(e,a.Logger.errors.NUMERIC_FAULT,n)}r.BigNumber=d,r._base36To16=function(e){return new o(e,36).toString(16)},r._base16To36=function(e){return new o(e,16).toString(36)}}}},{package:"@ethersproject/bignumber",file:"node_modules/@ethersproject/bignumber/lib/bignumber.js"}],[473,{"./_version":471,"./bignumber":472,"@ethersproject/bytes":476,"@ethersproject/logger":504},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.FixedNumber=r.FixedFormat=r.parseFixed=r.formatFixed=void 0;var n=e("@ethersproject/bytes"),o=e("@ethersproject/logger"),i=e("./_version"),a=new o.Logger(i.version),s=e("./bignumber"),c={},u=s.BigNumber.from(0),l=s.BigNumber.from(-1);function f(e,t,r,n){var i={fault:t,operation:r};return n!==undefined&&(i.value=n),a.throwError(e,o.Logger.errors.NUMERIC_FAULT,i)}for(var d="0";d.length<256;)d+=d;function h(e){if("number"!=typeof e)try{e=s.BigNumber.from(e).toNumber()}catch(e){}return"number"==typeof e&&e>=0&&e<=256&&!(e%1)?"1"+d.substring(0,e):a.throwArgumentError("invalid decimal size","decimals",e)}function p(e,t){null==t&&(t=0);var r=h(t),n=(e=s.BigNumber.from(e)).lt(u);n&&(e=e.mul(l));for(var o=e.mod(r).toString();o.length2&&a.throwArgumentError("too many decimal points","value",e);var i=o[0],c=o[1];for(i||(i="0"),c||(c="0");"0"===c[c.length-1];)c=c.substring(0,c.length-1);for(c.length>r.length-1&&f("fractional component exceeds decimals","underflow","parseFixed"),""===c&&(c="0");c.length80&&a.throwArgumentError("invalid fixed format (decimals too large)","format.decimals",o),new e(c,r,n,o)},e}();r.FixedFormat=g;var A=function(){function e(e,t,r,n){e!==c&&a.throwError("cannot use FixedNumber constructor; use FixedNumber.from",o.Logger.errors.UNSUPPORTED_OPERATION,{operation:"new FixedFormat"}),this.format=n,this._hex=t,this._value=r,this._isFixedNumber=!0,Object.freeze(this)}return e.prototype._checkFormat=function(e){this.format.name!==e.format.name&&a.throwArgumentError("incompatible format; use fixedNumber.toFormat","other",e)},e.prototype.addUnsafe=function(t){this._checkFormat(t);var r=m(this._value,this.format.decimals),n=m(t._value,t.format.decimals);return e.fromValue(r.add(n),this.format.decimals,this.format)},e.prototype.subUnsafe=function(t){this._checkFormat(t);var r=m(this._value,this.format.decimals),n=m(t._value,t.format.decimals);return e.fromValue(r.sub(n),this.format.decimals,this.format)},e.prototype.mulUnsafe=function(t){this._checkFormat(t);var r=m(this._value,this.format.decimals),n=m(t._value,t.format.decimals);return e.fromValue(r.mul(n).div(this.format._multiplier),this.format.decimals,this.format)},e.prototype.divUnsafe=function(t){this._checkFormat(t);var r=m(this._value,this.format.decimals),n=m(t._value,t.format.decimals);return e.fromValue(r.mul(this.format._multiplier).div(n),this.format.decimals,this.format)},e.prototype.floor=function(){var t=this.toString().split(".");1===t.length&&t.push("0");var r=e.from(t[0],this.format),n=!t[1].match(/^(0*)$/);return this.isNegative()&&n&&(r=r.subUnsafe(y.toFormat(r.format))),r},e.prototype.ceiling=function(){var t=this.toString().split(".");1===t.length&&t.push("0");var r=e.from(t[0],this.format),n=!t[1].match(/^(0*)$/);return!this.isNegative()&&n&&(r=r.addUnsafe(y.toFormat(r.format))),r},e.prototype.round=function(t){null==t&&(t=0);var r=this.toString().split(".");if(1===r.length&&r.push("0"),(t<0||t>80||t%1)&&a.throwArgumentError("invalid decimal count","decimals",t),r[1].length<=t)return this;var n=e.from("1"+d.substring(0,t),this.format),o=_.toFormat(this.format);return this.mulUnsafe(n).addUnsafe(o).floor().divUnsafe(n)},e.prototype.isZero=function(){return"0.0"===this._value||"0"===this._value},e.prototype.isNegative=function(){return"-"===this._value[0]},e.prototype.toString=function(){return this._value},e.prototype.toHexString=function(e){if(null==e)return this._hex;e%8&&a.throwArgumentError("invalid byte width","width",e);var t=s.BigNumber.from(this._hex).fromTwos(this.format.width).toTwos(e).toHexString();return(0,n.hexZeroPad)(t,e/8)},e.prototype.toUnsafeFloat=function(){return parseFloat(this.toString())},e.prototype.toFormat=function(t){return e.fromString(this._value,t)},e.fromValue=function(t,r,n){return null!=n||null==r||(0,s.isBigNumberish)(r)||(n=r,r=null),null==r&&(r=0),null==n&&(n="fixed"),e.fromString(p(t,r),g.from(n))},e.fromString=function(t,r){null==r&&(r="fixed");var o=g.from(r),i=m(t,o.decimals);!o.signed&&i.lt(u)&&f("unsigned value cannot be negative","overflow","value",t);var a=null;o.signed?a=i.toTwos(o.width).toHexString():(a=i.toHexString(),a=(0,n.hexZeroPad)(a,o.width/8));var s=p(i,o.decimals);return new e(c,a,s,o)},e.fromBytes=function(t,r){null==r&&(r="fixed");var o=g.from(r);if((0,n.arrayify)(t).length>o.width/8)throw new Error("overflow");var i=s.BigNumber.from(t);o.signed&&(i=i.fromTwos(o.width));var a=i.toTwos((o.signed?0:1)+o.width).toHexString(),u=p(i,o.decimals);return new e(c,a,u,o)},e.from=function(t,r){if("string"==typeof t)return e.fromString(t,r);if((0,n.isBytes)(t))return e.fromBytes(t,r);try{return e.fromValue(t,0,r)}catch(e){if(e.code!==o.Logger.errors.INVALID_ARGUMENT)throw e}return a.throwArgumentError("invalid FixedNumber value","value",t)},e.isFixedNumber=function(e){return!(!e||!e._isFixedNumber)},e}();r.FixedNumber=A;var y=A.from(1),_=A.from("0.5")}}},{package:"@ethersproject/bignumber",file:"node_modules/@ethersproject/bignumber/lib/fixednumber.js"}],[474,{"./bignumber":472,"./fixednumber":473},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r._base36To16=r._base16To36=r.parseFixed=r.FixedNumber=r.FixedFormat=r.formatFixed=r.BigNumber=void 0;var n=e("./bignumber");Object.defineProperty(r,"BigNumber",{enumerable:!0,get:function(){return n.BigNumber}});var o=e("./fixednumber");Object.defineProperty(r,"formatFixed",{enumerable:!0,get:function(){return o.formatFixed}}),Object.defineProperty(r,"FixedFormat",{enumerable:!0,get:function(){return o.FixedFormat}}),Object.defineProperty(r,"FixedNumber",{enumerable:!0,get:function(){return o.FixedNumber}}),Object.defineProperty(r,"parseFixed",{enumerable:!0,get:function(){return o.parseFixed}});var i=e("./bignumber");Object.defineProperty(r,"_base16To36",{enumerable:!0,get:function(){return i._base16To36}}),Object.defineProperty(r,"_base36To16",{enumerable:!0,get:function(){return i._base36To16}})}}},{package:"@ethersproject/bignumber",file:"node_modules/@ethersproject/bignumber/lib/index.js"}],[475,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.version=void 0,r.version="bytes/5.7.0"}}},{package:"@ethersproject/abi>@ethersproject/bytes",file:"node_modules/@ethersproject/bytes/lib/_version.js"}],[476,{"./_version":475,"@ethersproject/logger":504},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.joinSignature=r.splitSignature=r.hexZeroPad=r.hexStripZeros=r.hexValue=r.hexConcat=r.hexDataSlice=r.hexDataLength=r.hexlify=r.isHexString=r.zeroPad=r.stripZeros=r.concat=r.arrayify=r.isBytes=r.isBytesLike=void 0;var n=e("@ethersproject/logger"),o=e("./_version"),i=new n.Logger(o.version);function a(e){return!!e.toHexString}function s(e){return e.slice||(e.slice=function(){var t=Array.prototype.slice.call(arguments);return s(new Uint8Array(Array.prototype.slice.apply(e,t)))}),e}function c(e){return p(e)&&!(e.length%2)||l(e)}function u(e){return"number"==typeof e&&e==e&&e%1==0}function l(e){if(null==e)return!1;if(e.constructor===Uint8Array)return!0;if("string"==typeof e)return!1;if(!u(e.length)||e.length<0)return!1;for(var t=0;t=256)return!1}return!0}function f(e,t){if(t||(t={}),"number"==typeof e){i.checkSafeUint53(e,"invalid arrayify value");for(var r=[];e;)r.unshift(255&e),e=parseInt(String(e/256));return 0===r.length&&r.push(0),s(new Uint8Array(r))}if(t.allowMissingPrefix&&"string"==typeof e&&"0x"!==e.substring(0,2)&&(e="0x"+e),a(e)&&(e=e.toHexString()),p(e)){var n=e.substring(2);n.length%2&&("left"===t.hexPad?n="0"+n:"right"===t.hexPad?n+="0":i.throwArgumentError("hex data is odd-length","value",e));r=[];for(var o=0;ot&&i.throwArgumentError("value out of range","value",arguments[0]);var r=new Uint8Array(t);return r.set(e,t-e.length),s(r)}function p(e,t){return!("string"!=typeof e||!e.match(/^0x[0-9A-Fa-f]*$/))&&(!t||e.length===2+2*t)}r.isBytesLike=c,r.isBytes=l,r.arrayify=f,r.concat=d,r.stripZeros=function(e){var t=f(e);if(0===t.length)return t;for(var r=0;r>4]+m[15&s]}return n}return i.throwArgumentError("invalid hexlify value","value",e)}function A(e){"string"!=typeof e&&(e=g(e)),p(e)||i.throwArgumentError("invalid hex string","value",e),e=e.substring(2);for(var t=0;t2*t+2&&i.throwArgumentError("value out of range","value",arguments[1]);e.length<2*t+2;)e="0x0"+e.substring(2);return e}function _(e){var t={r:"0x",s:"0x",_vs:"0x",recoveryParam:0,v:0,yParityAndS:"0x",compact:"0x"};if(c(e)){var r=f(e);64===r.length?(t.v=27+(r[32]>>7),r[32]&=127,t.r=g(r.slice(0,32)),t.s=g(r.slice(32,64))):65===r.length?(t.r=g(r.slice(0,32)),t.s=g(r.slice(32,64)),t.v=r[64]):i.throwArgumentError("invalid signature string","signature",e),t.v<27&&(0===t.v||1===t.v?t.v+=27:i.throwArgumentError("signature invalid v byte","signature",e)),t.recoveryParam=1-t.v%2,t.recoveryParam&&(r[32]|=128),t._vs=g(r.slice(32,64))}else{if(t.r=e.r,t.s=e.s,t.v=e.v,t.recoveryParam=e.recoveryParam,t._vs=e._vs,null!=t._vs){var n=h(f(t._vs),32);t._vs=g(n);var o=n[0]>=128?1:0;null==t.recoveryParam?t.recoveryParam=o:t.recoveryParam!==o&&i.throwArgumentError("signature recoveryParam mismatch _vs","signature",e),n[0]&=127;var a=g(n);null==t.s?t.s=a:t.s!==a&&i.throwArgumentError("signature v mismatch _vs","signature",e)}if(null==t.recoveryParam)null==t.v?i.throwArgumentError("signature missing v and recoveryParam","signature",e):0===t.v||1===t.v?t.recoveryParam=t.v:t.recoveryParam=1-t.v%2;else if(null==t.v)t.v=27+t.recoveryParam;else{var s=0===t.v||1===t.v?t.v:1-t.v%2;t.recoveryParam!==s&&i.throwArgumentError("signature recoveryParam mismatch v","signature",e)}null!=t.r&&p(t.r)?t.r=y(t.r,32):i.throwArgumentError("signature missing or invalid r","signature",e),null!=t.s&&p(t.s)?t.s=y(t.s,32):i.throwArgumentError("signature missing or invalid s","signature",e);var u=f(t.s);u[0]>=128&&i.throwArgumentError("signature s out of range","signature",e),t.recoveryParam&&(u[0]|=128);var l=g(u);t._vs&&(p(t._vs)||i.throwArgumentError("signature invalid _vs","signature",e),t._vs=y(t._vs,32)),null==t._vs?t._vs=l:t._vs!==l&&i.throwArgumentError("signature _vs mismatch v and s","signature",e)}return t.yParityAndS=t._vs,t.compact=t.r+t.yParityAndS.substring(2),t}r.hexlify=g,r.hexDataLength=function(e){if("string"!=typeof e)e=g(e);else if(!p(e)||e.length%2)return null;return(e.length-2)/2},r.hexDataSlice=function(e,t,r){return"string"!=typeof e?e=g(e):(!p(e)||e.length%2)&&i.throwArgumentError("invalid hexData","value",e),t=2+2*t,null!=r?"0x"+e.substring(t,2+2*r):"0x"+e.substring(t)},r.hexConcat=function(e){var t="0x";return e.forEach((function(e){t+=g(e).substring(2)})),t},r.hexValue=function(e){var t=A(g(e,{hexPad:"left"}));return"0x"===t?"0x0":t},r.hexStripZeros=A,r.hexZeroPad=y,r.splitSignature=_,r.joinSignature=function(e){return g(d([(e=_(e)).r,e.s,e.recoveryParam?"0x1c":"0x1b"]))}}}},{package:"@ethersproject/abi>@ethersproject/bytes",file:"node_modules/@ethersproject/bytes/lib/index.js"}],[477,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.AddressZero=void 0,r.AddressZero="0x0000000000000000000000000000000000000000"}}},{package:"@ethersproject/abi>@ethersproject/constants",file:"node_modules/@ethersproject/constants/lib/addresses.js"}],[478,{"@ethersproject/bignumber":474},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.MaxInt256=r.MinInt256=r.MaxUint256=r.WeiPerEther=r.Two=r.One=r.Zero=r.NegativeOne=void 0;var n=e("@ethersproject/bignumber"),o=n.BigNumber.from(-1);r.NegativeOne=o;var i=n.BigNumber.from(0);r.Zero=i;var a=n.BigNumber.from(1);r.One=a;var s=n.BigNumber.from(2);r.Two=s;var c=n.BigNumber.from("1000000000000000000");r.WeiPerEther=c;var u=n.BigNumber.from("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff");r.MaxUint256=u;var l=n.BigNumber.from("-0x8000000000000000000000000000000000000000000000000000000000000000");r.MinInt256=l;var f=n.BigNumber.from("0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff");r.MaxInt256=f}}},{package:"@ethersproject/abi>@ethersproject/constants",file:"node_modules/@ethersproject/constants/lib/bignumbers.js"}],[479,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.HashZero=void 0,r.HashZero="0x0000000000000000000000000000000000000000000000000000000000000000"}}},{package:"@ethersproject/abi>@ethersproject/constants",file:"node_modules/@ethersproject/constants/lib/hashes.js"}],[480,{"./addresses":477,"./bignumbers":478,"./hashes":479,"./strings":481},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.EtherSymbol=r.HashZero=r.MaxInt256=r.MinInt256=r.MaxUint256=r.WeiPerEther=r.Two=r.One=r.Zero=r.NegativeOne=r.AddressZero=void 0;var n=e("./addresses");Object.defineProperty(r,"AddressZero",{enumerable:!0,get:function(){return n.AddressZero}});var o=e("./bignumbers");Object.defineProperty(r,"NegativeOne",{enumerable:!0,get:function(){return o.NegativeOne}}),Object.defineProperty(r,"Zero",{enumerable:!0,get:function(){return o.Zero}}),Object.defineProperty(r,"One",{enumerable:!0,get:function(){return o.One}}),Object.defineProperty(r,"Two",{enumerable:!0,get:function(){return o.Two}}),Object.defineProperty(r,"WeiPerEther",{enumerable:!0,get:function(){return o.WeiPerEther}}),Object.defineProperty(r,"MaxUint256",{enumerable:!0,get:function(){return o.MaxUint256}}),Object.defineProperty(r,"MinInt256",{enumerable:!0,get:function(){return o.MinInt256}}),Object.defineProperty(r,"MaxInt256",{enumerable:!0,get:function(){return o.MaxInt256}});var i=e("./hashes");Object.defineProperty(r,"HashZero",{enumerable:!0,get:function(){return i.HashZero}});var a=e("./strings");Object.defineProperty(r,"EtherSymbol",{enumerable:!0,get:function(){return a.EtherSymbol}})}}},{package:"@ethersproject/abi>@ethersproject/constants",file:"node_modules/@ethersproject/constants/lib/index.js"}],[481,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.EtherSymbol=void 0,r.EtherSymbol="Ξ"}}},{package:"@ethersproject/abi>@ethersproject/constants",file:"node_modules/@ethersproject/constants/lib/strings.js"}],[482,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.version=void 0,r.version="contracts/5.7.0"}}},{package:"@ethersproject/contracts",file:"node_modules/@ethersproject/contracts/lib/_version.js"}],[483,{"./_version":482,"@ethersproject/abi":460,"@ethersproject/abstract-provider":463,"@ethersproject/abstract-signer":465,"@ethersproject/address":467,"@ethersproject/bignumber":474,"@ethersproject/bytes":476,"@ethersproject/logger":504,"@ethersproject/properties":510,"@ethersproject/transactions":550},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),i=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function a(e){try{c(n.next(e))}catch(e){i(e)}}function s(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}c((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]1)){e=e.substring(1);var r=t[0];try{null==o[e]&&(0,p.defineReadOnly)(o,e,o[r])}catch(e){}null==o.functions[e]&&(0,p.defineReadOnly)(o.functions,e,o.functions[r]),null==o.callStatic[e]&&(0,p.defineReadOnly)(o.callStatic,e,o.callStatic[r]),null==o.populateTransaction[e]&&(0,p.defineReadOnly)(o.populateTransaction,e,o.populateTransaction[r]),null==o.estimateGas[e]&&(0,p.defineReadOnly)(o.estimateGas,e,o.estimateGas[r])}}))}return e.getContractAddress=function(e){return(0,f.getContractAddress)(e)},e.getInterface=function(e){return c.Interface.isInterface(e)?e:new c.Interface(e)},e.prototype.deployed=function(){return this._deployed()},e.prototype._deployed=function(e){var t=this;return this._deployedPromise||(this.deployTransaction?this._deployedPromise=this.deployTransaction.wait().then((function(){return t})):this._deployedPromise=this.provider.getCode(this.address,e).then((function(e){return"0x"===e&&y.throwError("contract not deployed",g.Logger.errors.UNSUPPORTED_OPERATION,{contractAddress:t.address,operation:"getDeployed"}),t}))),this._deployedPromise},e.prototype.fallback=function(e){var t=this;this.signer||y.throwError("sending a transactions require a signer",g.Logger.errors.UNSUPPORTED_OPERATION,{operation:"sendTransaction(fallback)"});var r=(0,p.shallowCopy)(e||{});return["from","to"].forEach((function(e){null!=r[e]&&y.throwError("cannot override "+e,g.Logger.errors.UNSUPPORTED_OPERATION,{operation:e})})),r.to=this.resolvedAddress,this.deployed().then((function(){return t.signer.sendTransaction(r)}))},e.prototype.connect=function(e){"string"==typeof e&&(e=new l.VoidSigner(e,this.provider));var t=new this.constructor(this.address,this.interface,e);return this.deployTransaction&&(0,p.defineReadOnly)(t,"deployTransaction",this.deployTransaction),t},e.prototype.attach=function(e){return new this.constructor(e,this.interface,this.signer||this.provider)},e.isIndexed=function(e){return c.Indexed.isIndexed(e)},e.prototype._normalizeRunningEvent=function(e){return this._runningEvents[e.tag]?this._runningEvents[e.tag]:e},e.prototype._getRunningEvent=function(e){if("string"==typeof e){if("error"===e)return this._normalizeRunningEvent(new O);if("event"===e)return this._normalizeRunningEvent(new I("event",null));if("*"===e)return this._normalizeRunningEvent(new M(this.address,this.interface));var t=this.interface.getEvent(e);return this._normalizeRunningEvent(new C(this.address,this.interface,t))}if(e.topics&&e.topics.length>0){try{var r=e.topics[0];if("string"!=typeof r)throw new Error("invalid topic");t=this.interface.getEvent(r);return this._normalizeRunningEvent(new C(this.address,this.interface,t,e.topics))}catch(e){}var n={address:this.address,topics:e.topics};return this._normalizeRunningEvent(new I(S(n),n))}return this._normalizeRunningEvent(new M(this.address,this.interface))},e.prototype._checkRunningEvents=function(e){if(0===e.listenerCount()){delete this._runningEvents[e.tag];var t=this._wrappedEmits[e.tag];t&&e.filter&&(this.provider.off(e.filter,t),delete this._wrappedEmits[e.tag])}},e.prototype._wrapEvent=function(e,t,r){var n=this,o=(0,p.deepCopy)(t);return o.removeListener=function(){r&&(e.removeListener(r),n._checkRunningEvents(e))},o.getBlock=function(){return n.provider.getBlock(t.blockHash)},o.getTransaction=function(){return n.provider.getTransaction(t.transactionHash)},o.getTransactionReceipt=function(){return n.provider.getTransactionReceipt(t.transactionHash)},e.prepareEvent(o),o},e.prototype._addEventListener=function(e,t,r){var n=this;if(this.provider||y.throwError("events require a provider or a signer with a provider",g.Logger.errors.UNSUPPORTED_OPERATION,{operation:"once"}),e.addListener(t,r),this._runningEvents[e.tag]=e,!this._wrappedEmits[e.tag]){var o=function(r){var o=n._wrapEvent(e,r,t);if(null==o.decodeError)try{var i=e.getEmit(o);n.emit.apply(n,s([e.filter],i,!1))}catch(e){o.decodeError=e.error}null!=e.filter&&n.emit("event",o),null!=o.decodeError&&n.emit("error",o.decodeError,o)};this._wrappedEmits[e.tag]=o,null!=e.filter&&this.provider.on(e.filter,o)}},e.prototype.queryFilter=function(e,t,r){var n=this,o=this._getRunningEvent(e),i=(0,p.shallowCopy)(o.filter);return"string"==typeof t&&(0,h.isHexString)(t,32)?(null!=r&&y.throwArgumentError("cannot specify toBlock with blockhash","toBlock",r),i.blockHash=t):(i.fromBlock=null!=t?t:0,i.toBlock=null!=r?r:"latest"),this.provider.getLogs(i).then((function(e){return e.map((function(e){return n._wrapEvent(o,e,null)}))}))},e.prototype.on=function(e,t){return this._addEventListener(this._getRunningEvent(e),t,!1),this},e.prototype.once=function(e,t){return this._addEventListener(this._getRunningEvent(e),t,!0),this},e.prototype.emit=function(e){for(var t=[],r=1;r0;return this._checkRunningEvents(n),o},e.prototype.listenerCount=function(e){var t=this;return this.provider?null==e?Object.keys(this._runningEvents).reduce((function(e,r){return e+t._runningEvents[r].listenerCount()}),0):this._getRunningEvent(e).listenerCount():0},e.prototype.listeners=function(e){if(!this.provider)return[];if(null==e){var t=[];for(var r in this._runningEvents)this._runningEvents[r].listeners().forEach((function(e){t.push(e)}));return t}return this._getRunningEvent(e).listeners()},e.prototype.removeAllListeners=function(e){if(!this.provider)return this;if(null==e){for(var t in this._runningEvents){var r=this._runningEvents[t];r.removeAllListeners(),this._checkRunningEvents(r)}return this}var n=this._getRunningEvent(e);return n.removeAllListeners(),this._checkRunningEvents(n),this},e.prototype.off=function(e,t){if(!this.provider)return this;var r=this._getRunningEvent(e);return r.removeListener(t),this._checkRunningEvents(r),this},e.prototype.removeListener=function(e,t){return this.off(e,t)},e}();r.BaseContract=R;var P=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t}(R);r.Contract=P;var x=function(){function e(e,t,r){var n=this.constructor,o=null;"0x"!==(o="string"==typeof t?t:(0,h.isBytes)(t)?(0,h.hexlify)(t):t&&"string"==typeof t.object?t.object:"!").substring(0,2)&&(o="0x"+o),(!(0,h.isHexString)(o)||o.length%2)&&y.throwArgumentError("invalid bytecode","bytecode",t),r&&!l.Signer.isSigner(r)&&y.throwArgumentError("invalid signer","signer",r),(0,p.defineReadOnly)(this,"bytecode",o),(0,p.defineReadOnly)(this,"interface",(0,p.getStatic)(n,"getInterface")(e)),(0,p.defineReadOnly)(this,"signer",r||null)}return e.prototype.getDeployTransaction=function(){for(var e=[],t=0;t0&&Array.isArray(e)?o(e,t-1):r.push(e)}))};return o(e,t),r}function o(e){var t=0;function r(){return e[t++]<<8|e[t++]}for(var n=r(),o=1,i=[0,1],a=1;a>--u&1}var d=Math.pow(2,31),h=d>>>1,p=h>>1,m=d-1,g=0;for(a=0;a<31;a++)g=g<<1|f();for(var A=[],y=0,_=d;;){for(var b=Math.floor(((g-y+1)*o-1)/_),v=0,E=n;E-v>1;){var T=v+E>>>1;b>>1|f(),w=w<<1^h,N=(N^h)<<1|h|1;y=w,_=1+N-w}var S=n-4;return A.map((function(t){switch(t-S){case 3:return S+65792+(e[c++]<<16|e[c++]<<8|e[c++]);case 2:return S+256+(e[c++]<<8|e[c++]);case 1:return S+e[c++];default:return t-1}}))}function i(e){var t=0;return function(){return e[t++]}}function a(e){return 1&e?~e>>1:e>>1}function s(e,t){for(var r=Array(e),n=0,o=-1;n>=1),check:2==i}}()}}}},{package:"@ethersproject/hash",file:"node_modules/@ethersproject/hash/lib/ens-normalize/decoder.js"}],[486,{"./decoder.js":485,"@ethersproject/base64":469},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.getData=void 0;var n=e("@ethersproject/base64"),o=e("./decoder.js");r.getData=function(){return(0,o.read_compressed_payload)((0,n.decode)("AEQF2AO2DEsA2wIrAGsBRABxAN8AZwCcAEwAqgA0AGwAUgByADcATAAVAFYAIQAyACEAKAAYAFgAGwAjABQAMAAmADIAFAAfABQAKwATACoADgAbAA8AHQAYABoAGQAxADgALAAoADwAEwA9ABMAGgARAA4ADwAWABMAFgAIAA8AHgQXBYMA5BHJAS8JtAYoAe4AExozi0UAH21tAaMnBT8CrnIyhrMDhRgDygIBUAEHcoFHUPe8AXBjAewCjgDQR8IICIcEcQLwATXCDgzvHwBmBoHNAqsBdBcUAykgDhAMShskMgo8AY8jqAQfAUAfHw8BDw87MioGlCIPBwZCa4ELatMAAMspJVgsDl8AIhckSg8XAHdvTwBcIQEiDT4OPhUqbyECAEoAS34Aej8Ybx83JgT/Xw8gHxZ/7w8RICxPHA9vBw+Pfw8PHwAPFv+fAsAvCc8vEr8ivwD/EQ8Bol8OEBa/A78hrwAPCU8vESNvvwWfHwNfAVoDHr+ZAAED34YaAdJPAK7PLwSEgDLHAGo1Pz8Pvx9fUwMrpb8O/58VTzAPIBoXIyQJNF8hpwIVAT8YGAUADDNBaX3RAMomJCg9EhUeA29MABsZBTMNJipjOhc19gcIDR8bBwQHEggCWi6DIgLuAQYA+BAFCha3A5XiAEsqM7UFFgFLhAMjFTMYE1Klnw74nRVBG/ASCm0BYRN/BrsU3VoWy+S0vV8LQx+vN8gF2AC2AK5EAWwApgYDKmAAroQ0NDQ0AT+OCg7wAAIHRAbpNgVcBV0APTA5BfbPFgMLzcYL/QqqA82eBALKCjQCjqYCht0/k2+OAsXQAoP3ASTKDgDw6ACKAUYCMpIKJpRaAE4A5womABzZvs0REEKiACIQAd5QdAECAj4Ywg/wGqY2AVgAYADYvAoCGAEubA0gvAY2ALAAbpbvqpyEAGAEpgQAJgAG7gAgAEACmghUFwCqAMpAINQIwC4DthRAAPcycKgApoIdABwBfCisABoATwBqASIAvhnSBP8aH/ECeAKXAq40NjgDBTwFYQU6AXs3oABgAD4XNgmcCY1eCl5tIFZeUqGgyoNHABgAEQAaABNwWQAmABMATPMa3T34ADldyprmM1M2XociUQgLzvwAXT3xABgAEQAaABNwIGFAnADD8AAgAD4BBJWzaCcIAIEBFMAWwKoAAdq9BWAF5wLQpALEtQAKUSGkahR4GnJM+gsAwCgeFAiUAECQ0BQuL8AAIAAAADKeIheclvFqQAAETr4iAMxIARMgAMIoHhQIAn0E0pDQFC4HhznoAAAAIAI2C0/4lvFqQAAETgBJJwYCAy4ABgYAFAA8MBKYEH4eRhTkAjYeFcgACAYAeABsOqyQ5gRwDayqugEgaIIAtgoACgDmEABmBAWGme5OBJJA2m4cDeoAmITWAXwrMgOgAGwBCh6CBXYF1Tzg1wKAAFdiuABRAFwAXQBsAG8AdgBrAHYAbwCEAHEwfxQBVE5TEQADVFhTBwBDANILAqcCzgLTApQCrQL6vAAMAL8APLhNBKkE6glGKTAU4Dr4N2EYEwBCkABKk8rHAbYBmwIoAiU4Ajf/Aq4CowCAANIChzgaNBsCsTgeODcFXrgClQKdAqQBiQGYAqsCsjTsNHsfNPA0ixsAWTWiOAMFPDQSNCk2BDZHNow2TTZUNhk28Jk9VzI3QkEoAoICoQKwAqcAQAAxBV4FXbS9BW47YkIXP1ciUqs05DS/FwABUwJW11e6nHuYZmSh/RAYA8oMKvZ8KASoUAJYWAJ6ILAsAZSoqjpgA0ocBIhmDgDWAAawRDQoAAcuAj5iAHABZiR2AIgiHgCaAU68ACxuHAG0ygM8MiZIAlgBdF4GagJqAPZOHAMuBgoATkYAsABiAHgAMLoGDPj0HpKEBAAOJgAuALggTAHWAeAMEDbd20Uege0ADwAWADkAQgA9OHd+2MUQZBBhBgNNDkxxPxUQArEPqwvqERoM1irQ090ANK4H8ANYB/ADWANYB/AH8ANYB/ADWANYA1gDWBwP8B/YxRBkD00EcgWTBZAE2wiIJk4RhgctCNdUEnQjHEwDSgEBIypJITuYMxAlR0wRTQgIATZHbKx9PQNMMbBU+pCnA9AyVDlxBgMedhKlAC8PeCE1uk6DekxxpQpQT7NX9wBFBgASqwAS5gBJDSgAUCwGPQBI4zTYABNGAE2bAE3KAExdGABKaAbgAFBXAFCOAFBJABI2SWdObALDOq0//QomCZhvwHdTBkIQHCemEPgMNAG2ATwN7kvZBPIGPATKH34ZGg/OlZ0Ipi3eDO4m5C6igFsj9iqEBe5L9TzeC05RaQ9aC2YJ5DpkgU8DIgEOIowK3g06CG4Q9ArKbA3mEUYHOgPWSZsApgcCCxIdNhW2JhFirQsKOXgG/Br3C5AmsBMqev0F1BoiBk4BKhsAANAu6IWxWjJcHU9gBgQLJiPIFKlQIQ0mQLh4SRocBxYlqgKSQ3FKiFE3HpQh9zw+DWcuFFF9B/Y8BhlQC4I8n0asRQ8R0z6OPUkiSkwtBDaALDAnjAnQD4YMunxzAVoJIgmyDHITMhEYN8YIOgcaLpclJxYIIkaWYJsE+KAD9BPSAwwFQAlCBxQDthwuEy8VKgUOgSXYAvQ21i60ApBWgQEYBcwPJh/gEFFH4Q7qCJwCZgOEJewALhUiABginAhEZABgj9lTBi7MCMhqbSN1A2gU6GIRdAeSDlgHqBw0FcAc4nDJXgyGCSiksAlcAXYJmgFgBOQICjVcjKEgQmdUi1kYnCBiQUBd/QIyDGYVoES+h3kCjA9sEhwBNgF0BzoNAgJ4Ee4RbBCWCOyGBTW2M/k6JgRQIYQgEgooA1BszwsoJvoM+WoBpBJjAw00PnfvZ6xgtyUX/gcaMsZBYSHyC5NPzgydGsIYQ1QvGeUHwAP0GvQn60FYBgADpAQUOk4z7wS+C2oIjAlAAEoOpBgH2BhrCnKM0QEyjAG4mgNYkoQCcJAGOAcMAGgMiAV65gAeAqgIpAAGANADWAA6Aq4HngAaAIZCAT4DKDABIuYCkAOUCDLMAZYwAfQqBBzEDBYA+DhuSwLDsgKAa2ajBd5ZAo8CSjYBTiYEBk9IUgOwcuIA3ABMBhTgSAEWrEvMG+REAeBwLADIAPwABjYHBkIBzgH0bgC4AWALMgmjtLYBTuoqAIQAFmwB2AKKAN4ANgCA8gFUAE4FWvoF1AJQSgESMhksWGIBvAMgATQBDgB6BsyOpsoIIARuB9QCEBwV4gLvLwe2AgMi4BPOQsYCvd9WADIXUu5eZwqoCqdeaAC0YTQHMnM9UQAPH6k+yAdy/BZIiQImSwBQ5gBQQzSaNTFWSTYBpwGqKQK38AFtqwBI/wK37gK3rQK3sAK6280C0gK33AK3zxAAUEIAUD9SklKDArekArw5AEQAzAHCO147WTteO1k7XjtZO147WTteO1kDmChYI03AVU0oJqkKbV9GYewMpw3VRMk6ShPcYFJgMxPJLbgUwhXPJVcZPhq9JwYl5VUKDwUt1GYxCC00dhe9AEApaYNCY4ceMQpMHOhTklT5LRwAskujM7ANrRsWREEFSHXuYisWDwojAmSCAmJDXE6wXDchAqH4AmiZAmYKAp+FOBwMAmY8AmYnBG8EgAN/FAN+kzkHOXgYOYM6JCQCbB4CMjc4CwJtyAJtr/CLADRoRiwBaADfAOIASwYHmQyOAP8MwwAOtgJ3MAJ2o0ACeUxEAni7Hl3cRa9G9AJ8QAJ6yQJ9CgJ88UgBSH5kJQAsFklZSlwWGErNAtECAtDNSygDiFADh+dExpEzAvKiXQQDA69Lz0wuJgTQTU1NsAKLQAKK2cIcCB5EaAa4Ao44Ao5dQZiCAo7aAo5deVG1UzYLUtVUhgKT/AKTDQDqAB1VH1WwVdEHLBwplocy4nhnRTw6ApegAu+zWCKpAFomApaQApZ9nQCqWa1aCoJOADwClrYClk9cRVzSApnMApllXMtdCBoCnJw5wzqeApwXAp+cAp65iwAeEDIrEAKd8gKekwC2PmE1YfACntQCoG8BqgKeoCACnk+mY8lkKCYsAiewAiZ/AqD8AqBN2AKmMAKlzwKoAAB+AqfzaH1osgAESmodatICrOQCrK8CrWgCrQMCVx4CVd0CseLYAx9PbJgCsr4OArLpGGzhbWRtSWADJc4Ctl08QG6RAylGArhfArlIFgK5K3hwN3DiAr0aAy2zAzISAr6JcgMDM3ICvhtzI3NQAsPMAsMFc4N0TDZGdOEDPKgDPJsDPcACxX0CxkgCxhGKAshqUgLIRQLJUALJLwJkngLd03h6YniveSZL0QMYpGcDAmH1GfSVJXsMXpNevBICz2wCz20wTFTT9BSgAMeuAs90ASrrA04TfkwGAtwoAtuLAtJQA1JdA1NgAQIDVY2AikABzBfuYUZ2AILPg44C2sgC2d+EEYRKpz0DhqYAMANkD4ZyWvoAVgLfZgLeuXR4AuIw7RUB8zEoAfScAfLTiALr9ALpcXoAAur6AurlAPpIAboC7ooC652Wq5cEAu5AA4XhmHpw4XGiAvMEAGoDjheZlAL3FAORbwOSiAL3mQL52gL4Z5odmqy8OJsfA52EAv77ARwAOp8dn7QDBY4DpmsDptoA0sYDBmuhiaIGCgMMSgFgASACtgNGAJwEgLpoBgC8BGzAEowcggCEDC6kdjoAJAM0C5IKRoABZCgiAIzw3AYBLACkfng9ogigkgNmWAN6AEQCvrkEVqTGAwCsBRbAA+4iQkMCHR072jI2PTbUNsk2RjY5NvA23TZKNiU3EDcZN5I+RTxDRTBCJkK5VBYKFhZfwQCWygU3AJBRHpu+OytgNxa61A40GMsYjsn7BVwFXQVcBV0FaAVdBVwFXQVcBV0FXAVdBVwFXUsaCNyKAK4AAQUHBwKU7oICoW1e7jAEzgPxA+YDwgCkBFDAwADABKzAAOxFLhitA1UFTDeyPkM+bj51QkRCuwTQWWQ8X+0AWBYzsACNA8xwzAGm7EZ/QisoCTAbLDs6fnLfb8H2GccsbgFw13M1HAVkBW/Jxsm9CNRO8E8FDD0FBQw9FkcClOYCoMFegpDfADgcMiA2AJQACB8AsigKAIzIEAJKeBIApY5yPZQIAKQiHb4fvj5BKSRPQrZCOz0oXyxgOywfKAnGbgMClQaCAkILXgdeCD9IIGUgQj5fPoY+dT52Ao5CM0dAX9BTVG9SDzFwWTQAbxBzJF/lOEIQQglCCkKJIAls5AcClQICoKPMODEFxhi6KSAbiyfIRrMjtCgdWCAkPlFBIitCsEJRzAbMAV/OEyQzDg0OAQQEJ36i328/Mk9AybDJsQlq3tDRApUKAkFzXf1d/j9uALYP6hCoFgCTGD8kPsFKQiobrm0+zj0KSD8kPnVCRBwMDyJRTHFgMTJa5rwXQiQ2YfI/JD7BMEJEHGINTw4TOFlIRzwJO0icMQpyPyQ+wzJCRBv6DVgnKB01NgUKj2bwYzMqCoBkznBgEF+zYDIocwRIX+NgHj4HICNfh2C4CwdwFWpTG/lgUhYGAwRfv2Ts8mAaXzVgml/XYIJfuWC4HI1gUF9pYJZgMR6ilQHMAOwLAlDRefC0in4AXAEJA6PjCwc0IamOANMMCAECRQDFNRTZBgd+CwQlRA+r6+gLBDEFBnwUBXgKATIArwAGRAAHA3cDdAN2A3kDdwN9A3oDdQN7A30DfAN4A3oDfQAYEAAlAtYASwMAUAFsAHcKAHcAmgB3AHUAdQB2AHVu8UgAygDAAHcAdQB1AHYAdQALCgB3AAsAmgB3AAsCOwB3AAtu8UgAygDAAHgKAJoAdwB3AHUAdQB2AHUAeAB1AHUAdgB1bvFIAMoAwAALCgCaAHcACwB3AAsCOwB3AAtu8UgAygDAAH4ACwGgALcBpwC6AahdAu0COwLtbvFIAMoAwAALCgCaAu0ACwLtAAsCOwLtAAtu8UgAygDAA24ACwNvAAu0VsQAAzsAABCkjUIpAAsAUIusOggWcgMeBxVsGwL67U/2HlzmWOEeOgALASvuAAseAfpKUpnpGgYJDCIZM6YyARUE9ThqAD5iXQgnAJYJPnOzw0ZAEZxEKsIAkA4DhAHnTAIDxxUDK0lxCQlPYgIvIQVYJQBVqE1GakUAKGYiDToSBA1EtAYAXQJYAIF8GgMHRyAAIAjOe9YncekRAA0KACUrjwE7Ayc6AAYWAqaiKG4McEcqANoN3+Mg9TwCBhIkuCny+JwUQ29L008JluRxu3K+oAdqiHOqFH0AG5SUIfUJ5SxCGfxdipRzqTmT4V5Zb+r1Uo4Vm+NqSSEl2mNvR2JhIa8SpYO6ntdwFXHCWTCK8f2+Hxo7uiG3drDycAuKIMP5bhi06ACnqArH1rz4Rqg//lm6SgJGEVbF9xJHISaR6HxqxSnkw6shDnelHKNEfGUXSJRJ1GcsmtJw25xrZMDK9gXSm1/YMkdX4/6NKYOdtk/NQ3/NnDASjTc3fPjIjW/5sVfVObX2oTDWkr1dF9f3kxBsD3/3aQO8hPfRz+e0uEiJqt1161griu7gz8hDDwtpy+F+BWtefnKHZPAxcZoWbnznhJpy0e842j36bcNzGnIEusgGX0a8ZxsnjcSsPDZ09yZ36fCQbriHeQ72JRMILNl6ePPf2HWoVwgWAm1fb3V2sAY0+B6rAXqSwPBgseVmoqsBTSrm91+XasMYYySI8eeRxH3ZvHkMz3BQ5aJ3iUVbYPNM3/7emRtjlsMgv/9VyTsyt/mK+8fgWeT6SoFaclXqn42dAIsvAarF5vNNWHzKSkKQ/8Hfk5ZWK7r9yliOsooyBjRhfkHP4Q2DkWXQi6FG/9r/IwbmkV5T7JSopHKn1pJwm9tb5Ot0oyN1Z2mPpKXHTxx2nlK08fKk1hEYA8WgVVWL5lgx0iTv+KdojJeU23ZDjmiubXOxVXJKKi2Wjuh2HLZOFLiSC7Tls5SMh4f+Pj6xUSrNjFqLGehRNB8lC0QSLNmkJJx/wSG3MnjE9T1CkPwJI0wH2lfzwETIiVqUxg0dfu5q39Gt+hwdcxkhhNvQ4TyrBceof3Mhs/IxFci1HmHr4FMZgXEEczPiGCx0HRwzAqDq2j9AVm1kwN0mRVLWLylgtoPNapF5cY4Y1wJh/e0BBwZj44YgZrDNqvD/9Hv7GFYdUQeDJuQ3EWI4HaKqavU1XjC/n41kT4L79kqGq0kLhdTZvgP3TA3fS0ozVz+5piZsoOtIvBUFoMKbNcmBL6YxxaUAusHB38XrS8dQMnQwJfUUkpRoGr5AUeWicvBTzyK9g77+yCkf5PAysL7r/JjcZgrbvRpMW9iyaxZvKO6ceZN2EwIxKwVFPuvFuiEPGCoagbMo+SpydLrXqBzNCDGFCrO/rkcwa2xhokQZ5CdZ0AsU3JfSqJ6n5I14YA+P/uAgfhPU84Tlw7cEFfp7AEE8ey4sP12PTt4Cods1GRgDOB5xvyiR5m+Bx8O5nBCNctU8BevfV5A08x6RHd5jcwPTMDSZJOedIZ1cGQ704lxbAzqZOP05ZxaOghzSdvFBHYqomATARyAADK4elP8Ly3IrUZKfWh23Xy20uBUmLS4Pfagu9+oyVa2iPgqRP3F2CTUsvJ7+RYnN8fFZbU/HVvxvcFFDKkiTqV5UBZ3Gz54JAKByi9hkKMZJvuGgcSYXFmw08UyoQyVdfTD1/dMkCHXcTGAKeROgArsvmRrQTLUOXioOHGK2QkjHuoYFgXciZoTJd6Fs5q1QX1G+p/e26hYsEf7QZD1nnIyl/SFkNtYYmmBhpBrxl9WbY0YpHWRuw2Ll/tj9mD8P4snVzJl4F9J+1arVeTb9E5r2ILH04qStjxQNwn3m4YNqxmaNbLAqW2TN6LidwuJRqS+NXbtqxoeDXpxeGWmxzSkWxjkyCkX4NQRme6q5SAcC+M7+9ETfA/EwrzQajKakCwYyeunP6ZFlxU2oMEn1Pz31zeStW74G406ZJFCl1wAXIoUKkWotYEpOuXB1uVNxJ63dpJEqfxBeptwIHNrPz8BllZoIcBoXwgfJ+8VAUnVPvRvexnw0Ma/WiGYuJO5y8QTvEYBigFmhUxY5RqzE8OcywN/8m4UYrlaniJO75XQ6KSo9+tWHlu+hMi0UVdiKQp7NelnoZUzNaIyBPVeOwK6GNp+FfHuPOoyhaWuNvTYFkvxscMQWDh+zeFCFkgwbXftiV23ywJ4+uwRqmg9k3KzwIQpzppt8DBBOMbrqwQM5Gb05sEwdKzMiAqOloaA/lr0KA+1pr0/+HiWoiIjHA/wir2nIuS3PeU/ji3O6ZwoxcR1SZ9FhtLC5S0FIzFhbBWcGVP/KpxOPSiUoAdWUpqKH++6Scz507iCcxYI6rdMBICPJZea7OcmeFw5mObJSiqpjg2UoWNIs+cFhyDSt6geV5qgi3FunmwwDoGSMgerFOZGX1m0dMCYo5XOruxO063dwENK9DbnVM9wYFREzh4vyU1WYYJ/LRRp6oxgjqP/X5a8/4Af6p6NWkQferzBmXme0zY/4nwMJm/wd1tIqSwGz+E3xPEAOoZlJit3XddD7/BT1pllzOx+8bmQtANQ/S6fZexc6qi3W+Q2xcmXTUhuS5mpHQRvcxZUN0S5+PL9lXWUAaRZhEH8hTdAcuNMMCuVNKTEGtSUKNi3O6KhSaTzck8csZ2vWRZ+d7mW8c4IKwXIYd25S/zIftPkwPzufjEvOHWVD1m+FjpDVUTV0DGDuHj6QnaEwLu/dEgdLQOg9E1Sro9XHJ8ykLAwtPu+pxqKDuFexqON1sKQm7rwbE1E68UCfA/erovrTCG+DBSNg0l4goDQvZN6uNlbyLpcZAwj2UclycvLpIZMgv4yRlpb3YuMftozorbcGVHt/VeDV3+Fdf1TP0iuaCsPi2G4XeGhsyF1ubVDxkoJhmniQ0/jSg/eYML9KLfnCFgISWkp91eauR3IQvED0nAPXK+6hPCYs+n3+hCZbiskmVMG2da+0EsZPonUeIY8EbfusQXjsK/eFDaosbPjEfQS0RKG7yj5GG69M7MeO1HmiUYocgygJHL6M1qzUDDwUSmr99V7Sdr2F3JjQAJY+F0yH33Iv3+C9M38eML7gTgmNu/r2bUMiPvpYbZ6v1/IaESirBHNa7mPKn4dEmYg7v/+HQgPN1G79jBQ1+soydfDC2r+h2Bl/KIc5KjMK7OH6nb1jLsNf0EHVe2KBiE51ox636uyG6Lho0t3J34L5QY/ilE3mikaF4HKXG1mG1rCevT1Vv6GavltxoQe/bMrpZvRggnBxSEPEeEzkEdOxTnPXHVjUYdw8JYvjB/o7Eegc3Ma+NUxLLnsK0kJlinPmUHzHGtrk5+CAbVzFOBqpyy3QVUnzTDfC/0XD94/okH+OB+i7g9lolhWIjSnfIb+Eq43ZXOWmwvjyV/qqD+t0e+7mTEM74qP/Ozt8nmC7mRpyu63OB4KnUzFc074SqoyPUAgM+/TJGFo6T44EHnQU4X4z6qannVqgw/U7zCpwcmXV1AubIrvOmkKHazJAR55ePjp5tLBsN8vAqs3NAHdcEHOR2xQ0lsNAFzSUuxFQCFYvXLZJdOj9p4fNq6p0HBGUik2YzaI4xySy91KzhQ0+q1hjxvImRwPRf76tChlRkhRCi74NXZ9qUNeIwP+s5p+3m5nwPdNOHgSLD79n7O9m1n1uDHiMntq4nkYwV5OZ1ENbXxFd4PgrlvavZsyUO4MqYlqqn1O8W/I1dEZq5dXhrbETLaZIbC2Kj/Aa/QM+fqUOHdf0tXAQ1huZ3cmWECWSXy/43j35+Mvq9xws7JKseriZ1pEWKc8qlzNrGPUGcVgOa9cPJYIJsGnJTAUsEcDOEVULO5x0rXBijc1lgXEzQQKhROf8zIV82w8eswc78YX11KYLWQRcgHNJElBxfXr72lS2RBSl07qTKorO2uUDZr3sFhYsvnhLZn0A94KRzJ/7DEGIAhW5ZWFpL8gEwu1aLA9MuWZzNwl8Oze9Y+bX+v9gywRVnoB5I/8kXTXU3141yRLYrIOOz6SOnyHNy4SieqzkBXharjfjqq1q6tklaEbA8Qfm2DaIPs7OTq/nvJBjKfO2H9bH2cCMh1+5gspfycu8f/cuuRmtDjyqZ7uCIMyjdV3a+p3fqmXsRx4C8lujezIFHnQiVTXLXuI1XrwN3+siYYj2HHTvESUx8DlOTXpak9qFRK+L3mgJ1WsD7F4cu1aJoFoYQnu+wGDMOjJM3kiBQWHCcvhJ/HRdxodOQp45YZaOTA22Nb4XKCVxqkbwMYFhzYQYIAnCW8FW14uf98jhUG2zrKhQQ0q0CEq0t5nXyvUyvR8DvD69LU+g3i+HFWQMQ8PqZuHD+sNKAV0+M6EJC0szq7rEr7B5bQ8BcNHzvDMc9eqB5ZCQdTf80Obn4uzjwpYU7SISdtV0QGa9D3Wrh2BDQtpBKxaNFV+/Cy2P/Sv+8s7Ud0Fd74X4+o/TNztWgETUapy+majNQ68Lq3ee0ZO48VEbTZYiH1Co4OlfWef82RWeyUXo7woM03PyapGfikTnQinoNq5z5veLpeMV3HCAMTaZmA1oGLAn7XS3XYsz+XK7VMQsc4XKrmDXOLU/pSXVNUq8dIqTba///3x6LiLS6xs1xuCAYSfcQ3+rQgmu7uvf3THKt5Ooo97TqcbRqxx7EASizaQCBQllG/rYxVapMLgtLbZS64w1MDBMXX+PQpBKNwqUKOf2DDRDUXQf9EhOS0Qj4nTmlA8dzSLz/G1d+Ud8MTy/6ghhdiLpeerGY/UlDOfiuqFsMUU5/UYlP+BAmgRLuNpvrUaLlVkrqDievNVEAwF+4CoM1MZTmjxjJMsKJq+u8Zd7tNCUFy6LiyYXRJQ4VyvEQFFaCGKsxIwQkk7EzZ6LTJq2hUuPhvAW+gQnSG6J+MszC+7QCRHcnqDdyNRJ6T9xyS87A6MDutbzKGvGktpbXqtzWtXb9HsfK2cBMomjN9a4y+TaJLnXxAeX/HWzmf4cR4vALt/P4w4qgKY04ml4ZdLOinFYS6cup3G/1ie4+t1eOnpBNlqGqs75ilzkT4+DsZQxNvaSKJ//6zIbbk/M7LOhFmRc/1R+kBtz7JFGdZm/COotIdvQoXpTqP/1uqEUmCb/QWoGLMwO5ANcHzxdY48IGP5+J+zKOTBFZ4Pid+GTM+Wq12MV/H86xEJptBa6T+p3kgpwLedManBHC2GgNrFpoN2xnrMz9WFWX/8/ygSBkavq2Uv7FdCsLEYLu9LLIvAU0bNRDtzYl+/vXmjpIvuJFYjmI0im6QEYqnIeMsNjXG4vIutIGHijeAG/9EDBozKV5cldkHbLxHh25vT+ZEzbhXlqvpzKJwcEgfNwLAKFeo0/pvEE10XDB+EXRTXtSzJozQKFFAJhMxYkVaCW+E9AL7tMeU8acxidHqzb6lX4691UsDpy/LLRmT+epgW56+5Cw8tB4kMUv6s9lh3eRKbyGs+H/4mQMaYzPTf2OOdokEn+zzgvoD3FqNKk8QqGAXVsqcGdXrT62fSPkR2vROFi68A6se86UxRUk4cajfPyCC4G5wDhD+zNq4jodQ4u4n/m37Lr36n4LIAAsVr02dFi9AiwA81MYs2rm4eDlDNmdMRvEKRHfBwW5DdMNp0jPFZMeARqF/wL4XBfd+EMLBfMzpH5GH6NaW+1vrvMdg+VxDzatk3MXgO3ro3P/DpcC6+Mo4MySJhKJhSR01SGGGp5hPWmrrUgrv3lDnP+HhcI3nt3YqBoVAVTBAQT5iuhTg8nvPtd8ZeYj6w1x6RqGUBrSku7+N1+BaasZvjTk64RoIDlL8brpEcJx3OmY7jLoZsswdtmhfC/G21llXhITOwmvRDDeTTPbyASOa16cF5/A1fZAidJpqju3wYAy9avPR1ya6eNp9K8XYrrtuxlqi+bDKwlfrYdR0RRiKRVTLOH85+ZY7XSmzRpfZBJjaTa81VDcJHpZnZnSQLASGYW9l51ZV/h7eVzTi3Hv6hUsgc/51AqJRTkpbFVLXXszoBL8nBX0u/0jBLT8nH+fJePbrwURT58OY+UieRjd1vs04w0VG5VN2U6MoGZkQzKN/ptz0Q366dxoTGmj7i1NQGHi9GgnquXFYdrCfZBmeb7s0T6yrdlZH5cZuwHFyIJ/kAtGsTg0xH5taAAq44BAk1CPk9KVVbqQzrCUiFdF/6gtlPQ8bHHc1G1W92MXGZ5HEHftyLYs8mbD/9xYRUWkHmlM0zC2ilJlnNgV4bfALpQghxOUoZL7VTqtCHIaQSXm+YUMnpkXybnV+A6xlm2CVy8fn0Xlm2XRa0+zzOa21JWWmixfiPMSCZ7qA4rS93VN3pkpF1s5TonQjisHf7iU9ZGvUPOAKZcR1pbeVf/Ul7OhepGCaId9wOtqo7pJ7yLcBZ0pFkOF28y4zEI/kcUNmutBHaQpBdNM8vjCS6HZRokkeo88TBAjGyG7SR+6vUgTcyK9Imalj0kuxz0wmK+byQU11AiJFk/ya5dNduRClcnU64yGu/ieWSeOos1t3ep+RPIWQ2pyTYVbZltTbsb7NiwSi3AV+8KLWk7LxCnfZUetEM8ThnsSoGH38/nyAwFguJp8FjvlHtcWZuU4hPva0rHfr0UhOOJ/F6vS62FW7KzkmRll2HEc7oUq4fyi5T70Vl7YVIfsPHUCdHesf9Lk7WNVWO75JDkYbMI8TOW8JKVtLY9d6UJRITO8oKo0xS+o99Yy04iniGHAaGj88kEWgwv0OrHdY/nr76DOGNS59hXCGXzTKUvDl9iKpLSWYN1lxIeyywdNpTkhay74w2jFT6NS8qkjo5CxA1yfSYwp6AJIZNKIeEK5PJAW7ORgWgwp0VgzYpqovMrWxbu+DGZ6Lhie1RAqpzm8VUzKJOH3mCzWuTOLsN3VT/dv2eeYe9UjbR8YTBsLz7q60VN1sU51k+um1f8JxD5pPhbhSC8rRaB454tmh6YUWrJI3+GWY0qeWioj/tbkYITOkJaeuGt4JrJvHA+l0Gu7kY7XOaa05alMnRWVCXqFgLIwSY4uF59Ue5SU4QKuc/HamDxbr0x6csCetXGoP7Qn1Bk/J9DsynO/UD6iZ1Hyrz+jit0hDCwi/E9OjgKTbB3ZQKQ/0ZOvevfNHG0NK4Aj3Cp7NpRk07RT1i/S0EL93Ag8GRgKI9CfpajKyK6+Jj/PI1KO5/85VAwz2AwzP8FTBb075IxCXv6T9RVvWT2tUaqxDS92zrGUbWzUYk9mSs82pECH+fkqsDt93VW++4YsR/dHCYcQSYTO/KaBMDj9LSD/J/+z20Kq8XvZUAIHtm9hRPP3ItbuAu2Hm5lkPs92pd7kCxgRs0xOVBnZ13ccdA0aunrwv9SdqElJRC3g+oCu+nXyCgmXUs9yMjTMAIHfxZV+aPKcZeUBWt057Xo85Ks1Ir5gzEHCWqZEhrLZMuF11ziGtFQUds/EESajhagzcKsxamcSZxGth4UII+adPhQkUnx2WyN+4YWR+r3f8MnkyGFuR4zjzxJS8WsQYR5PTyRaD9ixa6Mh741nBHbzfjXHskGDq179xaRNrCIB1z1xRfWfjqw2pHc1zk9xlPpL8sQWAIuETZZhbnmL54rceXVNRvUiKrrqIkeogsl0XXb17ylNb0f4GA9Wd44vffEG8FSZGHEL2fbaTGRcSiCeA8PmA/f6Hz8HCS76fXUHwgwkzSwlI71ekZ7Fapmlk/KC+Hs8hUcw3N2LN5LhkVYyizYFl/uPeVP5lsoJHhhfWvvSWruCUW1ZcJOeuTbrDgywJ/qG07gZJplnTvLcYdNaH0KMYOYMGX+rB4NGPFmQsNaIwlWrfCezxre8zXBrsMT+edVLbLqN1BqB76JH4BvZTqUIMfGwPGEn+EnmTV86fPBaYbFL3DFEhjB45CewkXEAtJxk4/Ms2pPXnaRqdky0HOYdcUcE2zcXq4vaIvW2/v0nHFJH2XXe22ueDmq/18XGtELSq85j9X8q0tcNSSKJIX8FTuJF/Pf8j5PhqG2u+osvsLxYrvvfeVJL+4tkcXcr9JV7v0ERmj/X6fM3NC4j6dS1+9Umr2oPavqiAydTZPLMNRGY23LO9zAVDly7jD+70G5TPPLdhRIl4WxcYjLnM+SNcJ26FOrkrISUtPObIz5Zb3AG612krnpy15RMW+1cQjlnWFI6538qky9axd2oJmHIHP08KyP0ubGO+TQNOYuv2uh17yCIvR8VcStw7o1g0NM60sk+8Tq7YfIBJrtp53GkvzXH7OA0p8/n/u1satf/VJhtR1l8Wa6Gmaug7haSpaCaYQax6ta0mkutlb+eAOSG1aobM81D9A4iS1RRlzBBoVX6tU1S6WE2N9ORY6DfeLRC4l9Rvr5h95XDWB2mR1d4WFudpsgVYwiTwT31ljskD8ZyDOlm5DkGh9N/UB/0AI5Xvb8ZBmai2hQ4BWMqFwYnzxwB26YHSOv9WgY3JXnvoN+2R4rqGVh/LLDMtpFP+SpMGJNWvbIl5SOodbCczW2RKleksPoUeGEzrjtKHVdtZA+kfqO+rVx/iclCqwoopepvJpSTDjT+b9GWylGRF8EDbGlw6eUzmJM95Ovoz+kwLX3c2fTjFeYEsE7vUZm3mqdGJuKh2w9/QGSaqRHs99aScGOdDqkFcACoqdbBoQqqjamhH6Q9ng39JCg3lrGJwd50Qk9ovnqBTr8MME7Ps2wiVfygUmPoUBJJfJWX5Nda0nuncbFkA=="))}}}},{package:"@ethersproject/hash",file:"node_modules/@ethersproject/hash/lib/ens-normalize/include.js"}],[487,{"./decoder.js":485,"./include.js":486,"@ethersproject/strings":547},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.ens_normalize=r.ens_normalize_post_check=void 0;var n=e("@ethersproject/strings"),o=(0,e("./include.js").getData)(),i=e("./decoder.js"),a=new Set((0,i.read_member_array)(o)),s=new Set((0,i.read_member_array)(o)),c=(0,i.read_mapped_map)(o),u=(0,i.read_emoji_trie)(o),l=45,f=95;function d(e){return(0,n.toUtf8CodePoints)(e)}function h(e){return e.filter((function(e){return 65039!=e}))}function p(e){for(var t=0,r=e.split(".");t=0;i--)if(o[i]!==f)throw new Error("underscore only allowed at start");if(o.length>=4&&o.every((function(e){return e<128}))&&o[2]===l&&o[3]===l)throw new Error("invalid label extension")}catch(e){throw new Error('Invalid label "'+n+'": '+e.message)}}return e}function m(e,t){var r,n,o,i=u,a=[],s=e.length;t&&(t.length=0);for(var c=function(){var c=e[--s];if(!(i=null===(r=i.branches.find((function(e){return e.set.has(c)})))||void 0===r?void 0:r.node))return"break";if(i.save)o=c;else if(i.check&&c===o)return"break";a.push(c),i.fe0f&&(a.push(65039),s>0&&65039==e[s-1]&&s--),i.valid&&(n=a.slice(),2==i.valid&&n.splice(1,1),t&&t.push.apply(t,e.slice(s).reverse()),e.length=s)};s;){if("break"===c())break}return n}r.ens_normalize_post_check=p,r.ens_normalize=function(e){return p(function(e,t){var r=d(e).reverse(),n=[];for(;r.length;){var o=m(r);if(o)n.push.apply(n,t(o));else{var i=r.pop();if(a.has(i))n.push(i);else if(!s.has(i)){var u=c[i];if(!u)throw new Error("Disallowed codepoint: 0x"+i.toString(16).toUpperCase());n.push.apply(n,u)}}}return p((l=String.fromCodePoint.apply(String,n),l.normalize("NFC")));var l}(e,h))}}}},{package:"@ethersproject/hash",file:"node_modules/@ethersproject/hash/lib/ens-normalize/lib.js"}],[488,{"@ethersproject/keccak256":502,"@ethersproject/strings":547},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.id=void 0;var n=e("@ethersproject/keccak256"),o=e("@ethersproject/strings");r.id=function(e){return(0,n.keccak256)((0,o.toUtf8Bytes)(e))}}}},{package:"@ethersproject/hash",file:"node_modules/@ethersproject/hash/lib/id.js"}],[4888,{"../../ui/identicon/blockieIdenticon/blockieIdenticon.component":5243,"../../ui/jazzicon/jazzicon.component":5252,"../avatar-base":4893,"./avatar-account.types":4889,classnames:3049,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.AvatarAccount=void 0;var n=u(e("react")),o=u(e("classnames")),i=u(e("../../ui/jazzicon/jazzicon.component")),a=u(e("../../ui/identicon/blockieIdenticon/blockieIdenticon.component")),s=e("../avatar-base"),c=e("./avatar-account.types");function u(e){return e&&e.__esModule?e:{default:e}}function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;tn.default.createElement(s.AvatarBase,l({ref:d,size:e,className:(0,o.default)("mm-avatar-account",r)},f),u===c.AvatarAccountVariant.Jazzicon?n.default.createElement(i.default,{className:(0,o.default)("mm-avatar-account__jazzicon"),address:t,diameter:c.AvatarAccountDiameter[e]}):n.default.createElement(a.default,{address:t,diameter:c.AvatarAccountDiameter[e],borderRadius:"50%"}))))}}},{package:"$root$",file:"ui/components/component-library/avatar-account/avatar-account.tsx"}],[4889,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.AvatarAccountVariant=r.AvatarAccountSize=r.AvatarAccountDiameter=void 0;r.AvatarAccountVariant=function(e){return e.Jazzicon="jazzicon",e.Blockies="blockies",e}({});let n=r.AvatarAccountSize=function(e){return e.Xs="xs",e.Sm="sm",e.Md="md",e.Lg="lg",e.Xl="xl",e}({});r.AvatarAccountDiameter={[n.Xs]:16,[n.Sm]:24,[n.Md]:32,[n.Lg]:40,[n.Xl]:48}}}},{package:"$root$",file:"ui/components/component-library/avatar-account/avatar-account.types.ts"}],[489,{"./id":488,"./message":490,"./namehash":491,"./typed-data":492},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r._TypedDataEncoder=r.hashMessage=r.messagePrefix=r.ensNormalize=r.isValidName=r.namehash=r.dnsEncode=r.id=void 0;var n=e("./id");Object.defineProperty(r,"id",{enumerable:!0,get:function(){return n.id}});var o=e("./namehash");Object.defineProperty(r,"dnsEncode",{enumerable:!0,get:function(){return o.dnsEncode}}),Object.defineProperty(r,"isValidName",{enumerable:!0,get:function(){return o.isValidName}}),Object.defineProperty(r,"namehash",{enumerable:!0,get:function(){return o.namehash}});var i=e("./message");Object.defineProperty(r,"hashMessage",{enumerable:!0,get:function(){return i.hashMessage}}),Object.defineProperty(r,"messagePrefix",{enumerable:!0,get:function(){return i.messagePrefix}});var a=e("./namehash");Object.defineProperty(r,"ensNormalize",{enumerable:!0,get:function(){return a.ensNormalize}});var s=e("./typed-data");Object.defineProperty(r,"_TypedDataEncoder",{enumerable:!0,get:function(){return s.TypedDataEncoder}})}}},{package:"@ethersproject/hash",file:"node_modules/@ethersproject/hash/lib/index.js"}],[4890,{"./avatar-account":4888,"./avatar-account.types":4889},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"AvatarAccount",{enumerable:!0,get:function(){return n.AvatarAccount}}),Object.defineProperty(r,"AvatarAccountDiameter",{enumerable:!0,get:function(){return o.AvatarAccountDiameter}}),Object.defineProperty(r,"AvatarAccountSize",{enumerable:!0,get:function(){return o.AvatarAccountSize}}),Object.defineProperty(r,"AvatarAccountVariant",{enumerable:!0,get:function(){return o.AvatarAccountVariant}});var n=e("./avatar-account"),o=e("./avatar-account.types")}}},{package:"$root$",file:"ui/components/component-library/avatar-account/index.ts"}],[4891,{"../../../helpers/constants/design-system":5355,"../text":5008,"./avatar-base.types":4892,classnames:3049,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.AvatarBase=void 0;var n=c(e("react")),o=c(e("classnames")),i=e("../../../helpers/constants/design-system"),a=e("../text"),s=e("./avatar-base.types");function c(e){return e&&e.__esModule?e:{default:e}}function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let h;return h=e===s.AvatarBaseSize.Lg||e===s.AvatarBaseSize.Xl?i.TextVariant.bodyLgMedium:e===s.AvatarBaseSize.Sm||e===s.AvatarBaseSize.Md?i.TextVariant.bodySm:i.TextVariant.bodyXs,n.default.createElement(a.Text,u({className:(0,o.default)("mm-avatar-base",`mm-avatar-base--size-${e}`,l),ref:d,as:"div",display:i.Display.Flex,justifyContent:i.JustifyContent.center,alignItems:i.AlignItems.center,borderRadius:i.BorderRadius.full,variant:h,textTransform:i.TextTransform.Uppercase,backgroundColor:r,color:c},f),t)}))}}},{package:"$root$",file:"ui/components/component-library/avatar-base/avatar-base.tsx"}],[4892,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.AvatarBaseSize=void 0;r.AvatarBaseSize=function(e){return e.Xs="xs",e.Sm="sm",e.Md="md",e.Lg="lg",e.Xl="xl",e}({})}}},{package:"$root$",file:"ui/components/component-library/avatar-base/avatar-base.types.ts"}],[4893,{"./avatar-base":4891,"./avatar-base.types":4892},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"AvatarBase",{enumerable:!0,get:function(){return n.AvatarBase}}),Object.defineProperty(r,"AvatarBaseSize",{enumerable:!0,get:function(){return o.AvatarBaseSize}});var n=e("./avatar-base"),o=e("./avatar-base.types")}}},{package:"$root$",file:"ui/components/component-library/avatar-base/index.ts"}],[4894,{"../../../helpers/constants/design-system":5355,"../../../hooks/useI18nContext":5427,"../avatar-base":4893,"../icon":4954,"./avatar-favicon.types":4895,classnames:3049,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.AvatarFavicon=void 0;var n=l(e("react")),o=l(e("classnames")),i=e("../avatar-base"),a=e("../icon"),s=e("../../../helpers/constants/design-system"),c=e("../../../hooks/useI18nContext"),u=e("./avatar-favicon.types");function l(e){return e&&e.__esModule?e:{default:e}}function f(){return f=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const g=(0,c.useI18nContext)();return n.default.createElement(i.AvatarBase,f({ref:m,size:e,display:s.Display.Flex,alignItems:s.AlignItems.center,justifyContent:s.JustifyContent.center,className:(0,o.default)("mm-avatar-favicon",l),borderColor:h},p),t?n.default.createElement("img",{className:"mm-avatar-favicon__image",src:t,alt:g("logo",[r])}):n.default.createElement(a.Icon,f({name:a.IconName.Global,color:s.IconColor.iconDefault,size:a.IconSize.Md},d)))}))}}},{package:"$root$",file:"ui/components/component-library/avatar-favicon/avatar-favicon.tsx"}],[4895,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.AvatarFaviconSize=void 0;r.AvatarFaviconSize=function(e){return e.Xs="xs",e.Sm="sm",e.Md="md",e.Lg="lg",e.Xl="xl",e}({})}}},{package:"$root$",file:"ui/components/component-library/avatar-favicon/avatar-favicon.types.ts"}],[4896,{"./avatar-favicon":4894,"./avatar-favicon.types":4895},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"AvatarFavicon",{enumerable:!0,get:function(){return n.AvatarFavicon}}),Object.defineProperty(r,"AvatarFaviconSize",{enumerable:!0,get:function(){return o.AvatarFaviconSize}});var n=e("./avatar-favicon"),o=e("./avatar-favicon.types")}}},{package:"$root$",file:"ui/components/component-library/avatar-favicon/index.ts"}],[4897,{"../../../helpers/constants/design-system":5355,"../avatar-base":4893,"../icon":4954,"./avatar-icon.types":4898,classnames:3049,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.AvatarIcon=void 0;var n=u(e("react")),o=u(e("classnames")),i=e("../../../helpers/constants/design-system"),a=e("../icon"),s=e("../avatar-base"),c=e("./avatar-icon.types");function u(e){return e&&e.__esModule?e:{default:e}}function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const m=c.avatarIconSizeToIconSize[e];return n.default.createElement(s.AvatarBase,l({ref:p,size:e,display:i.Display.Flex,alignItems:i.AlignItems.center,justifyContent:i.JustifyContent.center,color:t,backgroundColor:r,borderColor:i.BorderColor.transparent,className:(0,o.default)("mm-avatar-icon",u)},h),n.default.createElement(a.Icon,l({color:i.IconColor.inherit,name:d,size:m},f)))}))}}},{package:"$root$",file:"ui/components/component-library/avatar-icon/avatar-icon.tsx"}],[4898,{"../icon":4954},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.avatarIconSizeToIconSize=r.AvatarIconSize=void 0;var n=e("../icon");let o=r.AvatarIconSize=function(e){return e.Xs="xs",e.Sm="sm",e.Md="md",e.Lg="lg",e.Xl="xl",e}({});r.avatarIconSizeToIconSize={[o.Xs]:n.IconSize.Xs,[o.Sm]:n.IconSize.Sm,[o.Md]:n.IconSize.Md,[o.Lg]:n.IconSize.Lg,[o.Xl]:n.IconSize.Xl}}}},{package:"$root$",file:"ui/components/component-library/avatar-icon/avatar-icon.types.ts"}],[4899,{"./avatar-icon":4897,"./avatar-icon.types":4898},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"AvatarIcon",{enumerable:!0,get:function(){return n.AvatarIcon}}),Object.defineProperty(r,"AvatarIconSize",{enumerable:!0,get:function(){return o.AvatarIconSize}});var n=e("./avatar-icon"),o=e("./avatar-icon.types")}}},{package:"$root$",file:"ui/components/component-library/avatar-icon/index.ts"}],[490,{"@ethersproject/bytes":476,"@ethersproject/keccak256":502,"@ethersproject/strings":547},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.hashMessage=r.messagePrefix=void 0;var n=e("@ethersproject/bytes"),o=e("@ethersproject/keccak256"),i=e("@ethersproject/strings");r.messagePrefix="Ethereum Signed Message:\n",r.hashMessage=function(e){return"string"==typeof e&&(e=(0,i.toUtf8Bytes)(e)),(0,o.keccak256)((0,n.concat)([(0,i.toUtf8Bytes)(r.messagePrefix),(0,i.toUtf8Bytes)(String(e.length)),e]))}}}},{package:"@ethersproject/hash",file:"node_modules/@ethersproject/hash/lib/message.js"}],[4900,{"../../../helpers/constants/design-system":5355,"../avatar-base":4893,"./avatar-network.types":4901,classnames:3049,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.AvatarNetwork=void 0;var n,o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=u(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}(e("react")),i=(n=e("classnames"))&&n.__esModule?n:{default:n},a=e("../../../helpers/constants/design-system"),s=e("../avatar-base"),c=e("./avatar-network.types");function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(u=function(e){return e?r:t})(e)}function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const[g,A]=(0,o.useState)(!1);(0,o.useEffect)((()=>{A(!r)}),[r]);const y=(null==t?void 0:t[0])??"?";return o.default.createElement(s.AvatarBase,l({ref:m,size:e,display:a.Display.Flex,alignItems:a.AlignItems.center,justifyContent:a.JustifyContent.center,className:(0,i.default)("mm-avatar-network",n?"mm-avatar-network--with-halo":"",h),backgroundColor:f,borderColor:d,color:u},p),g?y:o.default.createElement(o.default.Fragment,null,n&&o.default.createElement("img",{src:r,className:n?"mm-avatar-network__network-image--blurred":"","aria-hidden":"true"}),o.default.createElement("img",{className:n?"mm-avatar-network__network-image--size-reduced":"mm-avatar-network__network-image",onError:()=>{A(!0)},src:r,alt:`${t} logo`||"network logo"})))}))}}},{package:"$root$",file:"ui/components/component-library/avatar-network/avatar-network.tsx"}],[4901,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.AvatarNetworkSize=void 0;r.AvatarNetworkSize=function(e){return e.Xs="xs",e.Sm="sm",e.Md="md",e.Lg="lg",e.Xl="xl",e}({})}}},{package:"$root$",file:"ui/components/component-library/avatar-network/avatar-network.types.ts"}],[4902,{"./avatar-network":4900,"./avatar-network.types":4901},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"AvatarNetwork",{enumerable:!0,get:function(){return n.AvatarNetwork}}),Object.defineProperty(r,"AvatarNetworkSize",{enumerable:!0,get:function(){return o.AvatarNetworkSize}});var n=e("./avatar-network"),o=e("./avatar-network.types")}}},{package:"$root$",file:"ui/components/component-library/avatar-network/index.ts"}],[4903,{"../../../helpers/constants/design-system":5355,"../avatar-base":4893,"./avatar-token.types":4904,classnames:3049,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.AvatarToken=void 0;var n,o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=u(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}(e("react")),i=(n=e("classnames"))&&n.__esModule?n:{default:n},a=e("../avatar-base"),s=e("../../../helpers/constants/design-system"),c=e("./avatar-token.types");function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(u=function(e){return e?r:t})(e)}function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const[g,A]=(0,o.useState)(!1);(0,o.useEffect)((()=>{A(!r)}),[r]);const y=(null==t?void 0:t[0])??"?";return o.default.createElement(a.AvatarBase,l({ref:m,size:e,display:s.Display.Flex,alignItems:s.AlignItems.center,justifyContent:s.JustifyContent.center,className:(0,i.default)("mm-avatar-token",n?"mm-avatar-token--with-halo":"",h),backgroundColor:f,borderColor:d,color:u},p),g?y:o.default.createElement(o.default.Fragment,null,n&&o.default.createElement("img",{src:r,className:n?"mm-avatar-token__token-image--blurred":"","aria-hidden":"true"}),o.default.createElement("img",{className:n?"mm-avatar-token__token-image--size-reduced":"mm-avatar-token__token-image",onError:()=>{A(!0)},src:r,alt:`${t} logo`||"token logo"})))}))}}},{package:"$root$",file:"ui/components/component-library/avatar-token/avatar-token.tsx"}],[4904,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.AvatarTokenSize=void 0;r.AvatarTokenSize=function(e){return e.Xs="xs",e.Sm="sm",e.Md="md",e.Lg="lg",e.Xl="xl",e}({})}}},{package:"$root$",file:"ui/components/component-library/avatar-token/avatar-token.types.ts"}],[4905,{"./avatar-token":4903,"./avatar-token.types":4904},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"AvatarToken",{enumerable:!0,get:function(){return n.AvatarToken}}),Object.defineProperty(r,"AvatarTokenSize",{enumerable:!0,get:function(){return o.AvatarTokenSize}});var n=e("./avatar-token"),o=e("./avatar-token.types")}}},{package:"$root$",file:"ui/components/component-library/avatar-token/index.ts"}],[4906,{"..":4955,"../../../helpers/constants/design-system":5355,"./badge-wrapper.types":4907,classnames:3049,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.BadgeWrapper=void 0;var n=c(e("react")),o=c(e("classnames")),i=e("../../../helpers/constants/design-system"),a=e(".."),s=e("./badge-wrapper.types");function c(e){return e&&e.__esModule?e:{default:e}}function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;tn.default.createElement(a.Box,u({className:(0,o.default)("mm-badge-wrapper",d),ref:p,display:i.Display.InlineBlock},h),e,n.default.createElement(a.Box,u({className:(0,o.default)("mm-badge-wrapper__badge-container",{[`mm-badge-wrapper__badge-container--${f}-${c}`]:!l}),style:{...l}},r),t))))}}},{package:"$root$",file:"ui/components/component-library/badge-wrapper/badge-wrapper.tsx"}],[4907,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.BadgeWrapperPosition=r.BadgeWrapperAnchorElementShape=void 0;r.BadgeWrapperPosition=function(e){return e.topRight="top-right",e.bottomRight="bottom-right",e.topLeft="top-left",e.bottomLeft="bottom-left",e}({}),r.BadgeWrapperAnchorElementShape=function(e){return e.rectangular="rectangular",e.circular="circular",e}({})}}},{package:"$root$",file:"ui/components/component-library/badge-wrapper/badge-wrapper.types.ts"}],[4908,{"./badge-wrapper":4906,"./badge-wrapper.types":4907},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"BadgeWrapper",{enumerable:!0,get:function(){return n.BadgeWrapper}}),Object.defineProperty(r,"BadgeWrapperAnchorElementShape",{enumerable:!0,get:function(){return o.BadgeWrapperAnchorElementShape}}),Object.defineProperty(r,"BadgeWrapperPosition",{enumerable:!0,get:function(){return o.BadgeWrapperPosition}});var n=e("./badge-wrapper"),o=e("./badge-wrapper.types")}}},{package:"$root$",file:"ui/components/component-library/badge-wrapper/index.ts"}],[4909,{"..":4955,"../../../helpers/constants/design-system":5355,"./banner-alert.types":4910,classnames:3049,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.BannerAlert=void 0;var n=c(e("react")),o=c(e("classnames")),i=e(".."),a=e("../../../helpers/constants/design-system"),s=e("./banner-alert.types");function c(e){return e&&e.__esModule?e:{default:e}}function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;tn.default.createElement(i.BannerBase,u({ref:l,startAccessory:n.default.createElement(i.Icon,u({size:i.IconSize.Lg},(()=>{switch(r){case s.BannerAlertSeverity.Danger:return{name:i.IconName.Danger,color:a.IconColor.errorDefault};case s.BannerAlertSeverity.Warning:return{name:i.IconName.Danger,color:a.IconColor.warningDefault};case s.BannerAlertSeverity.Success:return{name:i.IconName.Confirmation,color:a.IconColor.successDefault};default:return{name:i.IconName.Info,color:a.IconColor.primaryDefault}}})())),backgroundColor:(()=>{switch(r){case s.BannerAlertSeverity.Danger:return a.BackgroundColor.errorMuted;case s.BannerAlertSeverity.Warning:return a.BackgroundColor.warningMuted;case s.BannerAlertSeverity.Success:return a.BackgroundColor.successMuted;default:return a.BackgroundColor.primaryMuted}})(),paddingLeft:2,className:(0,o.default)("mm-banner-alert",{[`mm-banner-alert--severity-${r}`]:Object.values(s.BannerAlertSeverity).includes(r)},t)},c),e)))}}},{package:"$root$",file:"ui/components/component-library/banner-alert/banner-alert.tsx"}],[491,{"./_version":484,"./ens-normalize/lib":487,"@ethersproject/bytes":476,"@ethersproject/keccak256":502,"@ethersproject/logger":504,"@ethersproject/strings":547},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.dnsEncode=r.namehash=r.isValidName=r.ensNormalize=void 0;var n=e("@ethersproject/bytes"),o=e("@ethersproject/strings"),i=e("@ethersproject/keccak256"),a=e("@ethersproject/logger"),s=e("./_version"),c=new a.Logger(s.version),u=e("./ens-normalize/lib"),l=new Uint8Array(32);function f(e){if(0===e.length)throw new Error("invalid ENS name; empty component");return e}function d(e){var t=(0,o.toUtf8Bytes)((0,u.ens_normalize)(e)),r=[];if(0===e.length)return r;for(var n=0,i=0;i=t.length)throw new Error("invalid ENS name; empty component");return r.push(f(t.slice(n))),r}l.fill(0),r.ensNormalize=function(e){return d(e).map((function(e){return(0,o.toUtf8String)(e)})).join(".")},r.isValidName=function(e){try{return 0!==d(e).length}catch(e){}return!1},r.namehash=function(e){"string"!=typeof e&&c.throwArgumentError("invalid ENS name; not a string","name",e);for(var t=l,r=d(e);r.length;)t=(0,i.keccak256)((0,n.concat)([t,(0,i.keccak256)(r.pop())]));return(0,n.hexlify)(t)},r.dnsEncode=function(e){return(0,n.hexlify)((0,n.concat)(d(e).map((function(e){if(e.length>63)throw new Error("invalid DNS encoded entry; length exceeds 63 bytes");var t=new Uint8Array(e.length+1);return t.set(e,1),t[0]=t.length-1,t}))))+"00"}}}},{package:"@ethersproject/hash",file:"node_modules/@ethersproject/hash/lib/namehash.js"}],[4910,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.BannerAlertSeverity=void 0;r.BannerAlertSeverity=function(e){return e.Danger="danger",e.Info="info",e.Success="success",e.Warning="warning",e}({})}}},{package:"$root$",file:"ui/components/component-library/banner-alert/banner-alert.types.ts"}],[4911,{"./banner-alert":4909,"./banner-alert.types":4910},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"BannerAlert",{enumerable:!0,get:function(){return n.BannerAlert}}),Object.defineProperty(r,"BannerAlertSeverity",{enumerable:!0,get:function(){return o.BannerAlertSeverity}});var n=e("./banner-alert"),o=e("./banner-alert.types")}}},{package:"$root$",file:"ui/components/component-library/banner-alert/index.ts"}],[4912,{"..":4955,"../../../helpers/constants/design-system":5355,"../../../hooks/useI18nContext":5427,classnames:3049,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.BannerBase=void 0;var n=c(e("react")),o=c(e("classnames")),i=e("../../../hooks/useI18nContext"),a=e("../../../helpers/constants/design-system"),s=e("..");function c(e){return e&&e.__esModule?e:{default:e}}function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const v=(0,i.useI18nContext)();return n.default.createElement(s.Box,u({className:(0,o.default)("mm-banner-base",e),ref:b,display:a.Display.Flex,gap:2,backgroundColor:a.BackgroundColor.backgroundDefault,borderRadius:a.BorderRadius.SM,padding:3},_),g&&n.default.createElement(n.default.Fragment,null,g),n.default.createElement(s.Box,{minWidth:a.BlockSize.Zero},t&&n.default.createElement(s.Text,u({variant:a.TextVariant.bodyLgMedium},r),t),c&&n.default.createElement(s.Text,l,c),f&&"object"==typeof f?f:n.default.createElement(s.Text,d,f),h&&n.default.createElement(s.ButtonLink,u({size:s.ButtonLinkSize.Auto,onClick:p},m),h)),A&&n.default.createElement(s.ButtonIcon,u({className:"mm-banner-base__close-button",marginLeft:"auto",iconName:s.IconName.Close,size:s.ButtonIconSize.Sm,ariaLabel:v("close"),onClick:A},y)))}))}}},{package:"$root$",file:"ui/components/component-library/banner-base/banner-base.tsx"}],[4913,{"./banner-base":4912},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"BannerBase",{enumerable:!0,get:function(){return n.BannerBase}});var n=e("./banner-base")}}},{package:"$root$",file:"ui/components/component-library/banner-base/index.ts"}],[4914,{"..":4955,"../../../helpers/constants/design-system":5355,"./banner-tip.types":4915,classnames:3049,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.BannerTip=void 0;var n=c(e("react")),o=c(e("classnames")),i=e("../../../helpers/constants/design-system"),a=e(".."),s=e("./banner-tip.types");function c(e){return e&&e.__esModule?e:{default:e}}function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;tn.default.createElement(a.BannerBase,u({ref:h,startAccessory:f||n.default.createElement(a.Box,u({display:i.Display.Flex,alignItems:i.AlignItems.center},c),n.default.createElement(a.Box,u({as:"img",src:`images/fox-${r}.png`,alt:r},l,{className:(0,o.default)("mm-banner-tip--logo",(null==l?void 0:l.className)??"")}))),borderColor:i.BorderColor.borderDefault,className:(0,o.default)("mm-banner-tip",t)},d),e)))}}},{package:"$root$",file:"ui/components/component-library/banner-tip/banner-tip.tsx"}],[4915,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.BannerTipLogoType=void 0;r.BannerTipLogoType=function(e){return e.Greeting="greeting",e.Chat="chat",e}({})}}},{package:"$root$",file:"ui/components/component-library/banner-tip/banner-tip.types.ts"}],[4916,{"./banner-tip":4914,"./banner-tip.types":4915},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"BannerTip",{enumerable:!0,get:function(){return n.BannerTip}}),Object.defineProperty(r,"BannerTipLogoType",{enumerable:!0,get:function(){return o.BannerTipLogoType}});var n=e("./banner-tip"),o=e("./banner-tip.types")}}},{package:"$root$",file:"ui/components/component-library/banner-tip/index.ts"}],[4917,{"../../../helpers/constants/design-system":5355,classnames:3049,lodash:3836,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.Box=void 0;var n=s(e("react")),o=s(e("classnames")),i=e("lodash"),a=e("../../../helpers/constants/design-system");function s(e){return e&&e.__esModule?e:{default:e}}function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t{if(!t&&"number"!=typeof t)return{};const n={},o=Array.isArray(t)&&1===t.length?t[0]:undefined,i=!Array.isArray(t)&&"string"==typeof t||"number"==typeof t?t:undefined;let s;if((i||0===i)&&(s=i),(o||0===o)&&(s=o),s||0===s)n[`${u}--${e}-${s}`]=r(e,s);else if(Array.isArray(t))switch(t.length){case 4:n[`${u}--${e}-${t[0]}`]=r(e,t[0]),n[`${u}--${a.BREAKPOINTS[1]}:${e}-${t[1]}`]=r(e,t[1]),n[`${u}--${a.BREAKPOINTS[2]}:${e}-${t[2]}`]=r(e,t[2]),n[`${u}--${a.BREAKPOINTS[3]}:${e}-${t[3]}`]=r(e,t[3]);break;case 3:n[`${u}--${e}-${t[0]}`]=r(e,t[0]),n[`${u}--${a.BREAKPOINTS[1]}:${e}-${t[1]}`]=r(e,t[1]),n[`${u}--${a.BREAKPOINTS[2]}:${e}-${t[2]}`]=r(e,t[2]);break;case 2:n[`${u}--${e}-${t[0]}`]=r(e,t[0]),n[`${u}--${a.BREAKPOINTS[1]}:${e}-${t[1]}`]=r(e,t[1]);break;default:console.log(`Invalid array prop length: ${t.length}`)}return n}),((e,t)=>`${e}${t}`));r.Box=n.default.forwardRef((({as:e,padding:t,paddingTop:r,paddingRight:i,paddingBottom:a,paddingLeft:s,paddingInline:h,paddingInlineStart:p,paddingInlineEnd:m,margin:g,marginTop:A,marginRight:y,marginBottom:_,marginLeft:b,marginInline:v,marginInlineStart:E,marginInlineEnd:T,borderColor:w,borderWidth:N,borderRadius:S,borderStyle:I,alignItems:O,justifyContent:C,textAlign:M,flexDirection:R,flexWrap:P,gap:x,display:k,width:L,minWidth:j,height:B,children:D,className:U="",backgroundColor:H,color:F,...G},K)=>{const z=e||"div",W=(0,o.default)(u,U,d("margin",g,l),d("margin-top",A,l),d("margin-right",y,l),d("margin-bottom",_,l),d("margin-left",b,l),d("margin-inline",v,l),d("margin-inline-start",E,l),d("margin-inline-end",T,l),d("padding",t,l),d("padding-top",r,l),d("padding-right",i,l),d("padding-bottom",a,l),d("padding-left",s,l),d("padding-inline",h,l),d("padding-inline-start",p,l),d("padding-inline-end",m,l),d("display",k,f),d("gap",x,l),d("flex-direction",R,f),d("flex-wrap",P,f),d("justify-content",C,f),d("align-items",O,f),d("text-align",M,f),d("width",L,f),d("min-width",j,f),d("height",B,f),d("color",F,f),d("background-color",H,f),d("rounded",S,f),d("border-style",I,f),d("border-color",w,f),d("border-width",N,l),{"box--border-style-solid":!I&&(Boolean(N)||Boolean(w)),"box--border-width-1":!N&&Boolean(w)});return n.default.createElement(z,c({className:W,ref:K},G),D)}))}}},{package:"$root$",file:"ui/components/component-library/box/box.tsx"}],[4918,{"./box":4917},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"Box",{enumerable:!0,get:function(){return n.Box}});var n=e("./box")}}},{package:"$root$",file:"ui/components/component-library/box/index.ts"}],[4919,{"..":4955,"../../../helpers/constants/design-system":5355,"./button-base.types":4920,classnames:3049,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.ButtonBase=void 0;var n=c(e("react")),o=c(e("classnames")),i=e(".."),a=e("../../../helpers/constants/design-system"),s=e("./button-base.types");function c(e){return e&&e.__esModule?e:{default:e}}function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const S=l?"a":e||"button",I=l&&"a"===S?{href:l,...w}:w;return n.default.createElement(i.Text,u({as:S,backgroundColor:a.BackgroundColor.backgroundAlternative,variant:a.TextVariant.bodyMdMedium,color:y?a.TextColor.transparent:E,ref:N},"button"===S?{disabled:_}:{},l&&d?{target:"_blank",rel:"noopener noreferrer"}:{},{padding:0,paddingLeft:4,paddingRight:4,ellipsis:f,className:(0,o.default)("mm-button-base",{[`mm-button-base--size-${h}`]:Object.values(s.ButtonBaseSize).includes(h),"mm-button-base--loading":y||!1,"mm-button-base--disabled":_||!1,"mm-button-base--block":t||!1,"mm-button-base--ellipsis":f},c),display:a.Display.InlineFlex,justifyContent:a.JustifyContent.center,alignItems:a.AlignItems.center,borderRadius:a.BorderRadius.pill},I),p&&n.default.createElement(i.Icon,u({name:p,size:i.IconSize.Sm,marginInlineEnd:1},m,{color:y?a.IconColor.transparent:null==m?void 0:m.color})),"string"!=typeof r||f||y?n.default.createElement(i.Text,u({as:"span",ellipsis:f,variant:a.TextVariant.inherit,color:y?a.TextColor.transparent:E},v),r):r,g&&n.default.createElement(i.Icon,u({name:g,size:i.IconSize.Sm,marginInlineStart:1},A,{color:y?a.IconColor.transparent:null==A?void 0:A.color})),y&&n.default.createElement(i.Icon,u({className:"mm-button-base__icon-loading",name:i.IconName.Loading,color:T,size:i.IconSize.Md},b)))}))}}},{package:"$root$",file:"ui/components/component-library/button-base/button-base.tsx"}],[492,{"./_version":484,"./id":488,"@ethersproject/address":467,"@ethersproject/bignumber":474,"@ethersproject/bytes":476,"@ethersproject/keccak256":502,"@ethersproject/logger":504,"@ethersproject/properties":510},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function a(e){try{c(n.next(e))}catch(e){i(e)}}function s(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}c((n=n.apply(e,t||[])).next())}))},o=this&&this.__generator||function(e,t){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]256||t[2]&&t[2]!==String(n))&&d.throwArgumentError("invalid numeric width","type",e);var o=y.mask(r?n-1:n),u=r?o.add(A).mul(m):g;return function(t){var r=a.BigNumber.from(t);return(r.lt(u)||r.gt(o))&&d.throwArgumentError("value out-of-bounds for "+e,"value",t),(0,s.hexZeroPad)(r.toTwos(256).toHexString(),32)}}if(t=e.match(/^bytes(\d+)$/)){var l=parseInt(t[1]);return(0===l||l>32||t[1]!==String(l))&&d.throwArgumentError("invalid bytes width","type",e),function(t){return(0,s.arrayify)(t).length!==l&&d.throwArgumentError("invalid length for "+e,"value",t),function(e){var t=(0,s.arrayify)(e),r=t.length%32;return r?(0,s.hexConcat)([t,p.slice(r)]):(0,s.hexlify)(t)}(t)}}switch(e){case"address":return function(e){return(0,s.hexZeroPad)((0,i.getAddress)(e),32)};case"bool":return function(e){return e?_:b};case"bytes":return function(e){return(0,c.keccak256)(e)};case"string":return function(e){return(0,h.id)(e)}}return null}function S(e,t){return e+"("+t.map((function(e){var t=e.name;return e.type+" "+t})).join(",")+")"}var I=function(){function e(e){(0,u.defineReadOnly)(this,"types",Object.freeze((0,u.deepCopy)(e))),(0,u.defineReadOnly)(this,"_encoderCache",{}),(0,u.defineReadOnly)(this,"_types",{});var t={},r={},n={};Object.keys(e).forEach((function(e){t[e]={},r[e]=[],n[e]={}}));var o=function(n){var o={};e[n].forEach((function(i){o[i.name]&&d.throwArgumentError("duplicate variable name "+JSON.stringify(i.name)+" in "+JSON.stringify(n),"types",e),o[i.name]=!0;var a=i.type.match(/^([^\x5b]*)(\x5b|$)/)[1];a===n&&d.throwArgumentError("circular type reference to "+JSON.stringify(a),"types",e),N(a)||(r[a]||d.throwArgumentError("unknown type "+JSON.stringify(a),"types",e),r[a].push(n),t[n][a]=!0)}))};for(var i in e)o(i);var a=Object.keys(r).filter((function(e){return 0===r[e].length}));for(var s in 0===a.length?d.throwArgumentError("missing primary type","types",e):a.length>1&&d.throwArgumentError("ambiguous primary types or unused types: "+a.map((function(e){return JSON.stringify(e)})).join(", "),"types",e),(0,u.defineReadOnly)(this,"primaryType",a[0]),function o(i,a){a[i]&&d.throwArgumentError("circular type reference to "+JSON.stringify(i),"types",e),a[i]=!0,Object.keys(t[i]).forEach((function(e){r[e]&&(o(e,a),Object.keys(a).forEach((function(t){n[t][e]=!0})))})),delete a[i]}(this.primaryType,{}),n){var c=Object.keys(n[s]);c.sort(),this._types[s]=S(s,e[s])+c.map((function(t){return S(t,e[t])})).join("")}}return e.prototype.getEncoder=function(e){var t=this._encoderCache[e];return t||(t=this._encoderCache[e]=this._getEncoder(e)),t},e.prototype._getEncoder=function(e){var t=this,r=N(e);if(r)return r;var n=e.match(/^(.*)(\x5b(\d*)\x5d)$/);if(n){var o=n[1],i=this.getEncoder(o),a=parseInt(n[3]);return function(e){a>=0&&e.length!==a&&d.throwArgumentError("array length mismatch; expected length ${ arrayLength }","value",e);var r=e.map(i);return t._types[o]&&(r=r.map(c.keccak256)),(0,c.keccak256)((0,s.hexConcat)(r))}}var u=this.types[e];if(u){var l=(0,h.id)(this._types[e]);return function(e){var r=u.map((function(r){var n=r.name,o=r.type,i=t.getEncoder(o)(e[n]);return t._types[o]?(0,c.keccak256)(i):i}));return r.unshift(l),(0,s.hexConcat)(r)}}return d.throwArgumentError("unknown type: "+e,"type",e)},e.prototype.encodeType=function(e){var t=this._types[e];return t||d.throwArgumentError("unknown type: "+JSON.stringify(e),"name",e),t},e.prototype.encodeData=function(e,t){return this.getEncoder(e)(t)},e.prototype.hashStruct=function(e,t){return(0,c.keccak256)(this.encodeData(e,t))},e.prototype.encode=function(e){return this.encodeData(this.primaryType,e)},e.prototype.hash=function(e){return this.hashStruct(this.primaryType,e)},e.prototype._visit=function(e,t,r){var n=this;if(N(e))return r(e,t);var o=e.match(/^(.*)(\x5b(\d*)\x5d)$/);if(o){var i=o[1],a=parseInt(o[3]);return a>=0&&t.length!==a&&d.throwArgumentError("array length mismatch; expected length ${ arrayLength }","value",t),t.map((function(e){return n._visit(i,e,r)}))}var s=this.types[e];return s?s.reduce((function(e,o){var i=o.name,a=o.type;return e[i]=n._visit(a,t[i],r),e}),{}):d.throwArgumentError("unknown type: "+e,"type",e)},e.prototype.visit=function(e,t){return this._visit(this.primaryType,e,t)},e.from=function(t){return new e(t)},e.getPrimaryType=function(t){return e.from(t).primaryType},e.hashStruct=function(t,r,n){return e.from(r).hashStruct(t,n)},e.hashDomain=function(t){var r=[];for(var n in t){var o=v[n];o||d.throwArgumentError("invalid typed-data domain key: "+JSON.stringify(n),"domain",t),r.push({name:n,type:o})}return r.sort((function(e,t){return E.indexOf(e.name)-E.indexOf(t.name)})),e.hashStruct("EIP712Domain",{EIP712Domain:r},t)},e.encode=function(t,r,n){return(0,s.hexConcat)(["0x1901",e.hashDomain(t),e.from(r).hash(n)])},e.hash=function(t,r,n){return(0,c.keccak256)(e.encode(t,r,n))},e.resolveNames=function(t,r,i,a){return n(this,void 0,void 0,(function(){var n,c,l,f,d,h,p,m;return o(this,(function(o){switch(o.label){case 0:for(f in t=(0,u.shallowCopy)(t),n={},t.verifyingContract&&!(0,s.isHexString)(t.verifyingContract,20)&&(n[t.verifyingContract]="0x"),(c=e.from(r)).visit(i,(function(e,t){return"address"!==e||(0,s.isHexString)(t,20)||(n[t]="0x"),t})),l=[],n)l.push(f);d=0,o.label=1;case 1:return d{const y=u?"a":t||"button",_=p&&"button"===y;return n.default.createElement(a.Box,l({"aria-label":e,as:y,className:(0,o.default)("mm-button-icon",`mm-button-icon--size-${String(d)}`,{"mm-button-icon--disabled":Boolean(p)},r),color:s},_?{disabled:!0}:{},{display:i.Display.InlineFlex,justifyContent:i.JustifyContent.center,alignItems:i.AlignItems.center,borderRadius:i.BorderRadius.LG,backgroundColor:i.BackgroundColor.transparent},u?{href:u}:{},{ref:A},g),n.default.createElement(a.Icon,l({name:h,size:f[d]},m)))}))}}},{package:"$root$",file:"ui/components/component-library/button-icon/button-icon.tsx"}],[4923,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.ButtonIconSize=void 0;r.ButtonIconSize=function(e){return e.Sm="sm",e.Md="md",e.Lg="lg",e}({})}}},{package:"$root$",file:"ui/components/component-library/button-icon/button-icon.types.ts"}],[4924,{"./button-icon":4922,"./button-icon.types":4923},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ButtonIcon",{enumerable:!0,get:function(){return n.ButtonIcon}}),Object.defineProperty(r,"ButtonIconSize",{enumerable:!0,get:function(){return o.ButtonIconSize}});var n=e("./button-icon"),o=e("./button-icon.types")}}},{package:"$root$",file:"ui/components/component-library/button-icon/index.ts"}],[4925,{"..":4955,"../../../helpers/constants/design-system":5355,"./button-link.types":4926,classnames:3049,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.ButtonLink=void 0;var n=c(e("react")),o=c(e("classnames")),i=e(".."),a=e("../../../helpers/constants/design-system"),s=e("./button-link.types");function c(e){return e&&e.__esModule?e:{default:e}}function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;tn.default.createElement(i.ButtonBase,u({className:(0,o.default)(e,"mm-button-link",{"mm-button-link--type-danger":r,"mm-button-link--disabled":c,"mm-button-link--loading":l,"mm-button-link--size-inherit":f===s.ButtonLinkSize.Inherit,"mm-button-link--size-auto":f===s.ButtonLinkSize.Auto}),paddingLeft:0,paddingRight:0,size:f===s.ButtonLinkSize.Inherit?null:f,backgroundColor:a.BackgroundColor.transparent,color:t||(r?a.Color.errorDefault:a.Color.primaryDefault),borderRadius:null,startIconProps:{size:f===s.ButtonLinkSize.Inherit?i.IconSize.Inherit:i.IconSize.Sm,...h,className:f===s.ButtonLinkSize.Inherit?`mm-button-link--size-inherit__icon ${(null==h?void 0:h.className)||""}`:""},endIconProps:{size:f===s.ButtonLinkSize.Inherit?i.IconSize.Inherit:i.IconSize.Sm,...d,className:f===s.ButtonLinkSize.Inherit?`mm-button-link--size-inherit__icon ${(null==d?void 0:d.className)||""}`:""},iconLoadingProps:{size:f===s.ButtonLinkSize.Inherit?i.IconSize.Inherit:i.IconSize.Md,color:t||(r?a.Color.errorDefault:a.Color.primaryDefault)},ref:m,disabled:c,loading:l},p))))}}},{package:"$root$",file:"ui/components/component-library/button-link/button-link.tsx"}],[4926,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.ButtonLinkSize=void 0;r.ButtonLinkSize=function(e){return e.Auto="auto",e.Sm="sm",e.Md="md",e.Lg="lg",e.Inherit="inherit",e}({})}}},{package:"$root$",file:"ui/components/component-library/button-link/button-link.types.ts"}],[4927,{"./button-link":4925,"./button-link.types":4926},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ButtonLink",{enumerable:!0,get:function(){return n.ButtonLink}}),Object.defineProperty(r,"ButtonLinkSize",{enumerable:!0,get:function(){return o.ButtonLinkSize}});var n=e("./button-link"),o=e("./button-link.types")}}},{package:"$root$",file:"ui/components/component-library/button-link/index.ts"}],[4928,{"../../../helpers/constants/design-system":5355,"../button-base":4921,"./button-primary.types":4929,classnames:3049,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.ButtonPrimary=void 0;var n=c(e("react")),o=c(e("classnames")),i=e("../button-base"),a=e("../../../helpers/constants/design-system"),s=e("./button-primary.types");function c(e){return e&&e.__esModule?e:{default:e}}function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;tn.default.createElement(i.ButtonBase,u({backgroundColor:t?a.BackgroundColor.errorDefault:a.BackgroundColor.primaryDefault,color:t?a.TextColor.errorInverse:a.TextColor.primaryInverse,className:(0,o.default)(e,"mm-button-primary",{"mm-button-primary--type-danger":t,"mm-button-primary--disabled":r}),iconLoadingProps:{color:t?a.IconColor.errorInverse:a.IconColor.primaryInverse},size:c,ref:f,disabled:r},l))))}}},{package:"$root$",file:"ui/components/component-library/button-primary/button-primary.tsx"}],[4929,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.ButtonPrimarySize=void 0;r.ButtonPrimarySize=function(e){return e.Sm="sm",e.Md="md",e.Lg="lg",e}({})}}},{package:"$root$",file:"ui/components/component-library/button-primary/button-primary.types.ts"}],[493,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.version=void 0,r.version="hdnode/5.7.0"}}},{package:"@ethersproject/hdnode",file:"node_modules/@ethersproject/hdnode/lib/_version.js"}],[4930,{"./button-primary":4928,"./button-primary.types":4929},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ButtonPrimary",{enumerable:!0,get:function(){return n.ButtonPrimary}}),Object.defineProperty(r,"ButtonPrimarySize",{enumerable:!0,get:function(){return o.ButtonPrimarySize}});var n=e("./button-primary"),o=e("./button-primary.types")}}},{package:"$root$",file:"ui/components/component-library/button-primary/index.ts"}],[4931,{"../../../helpers/constants/design-system":5355,"../button-base":4921,"./button-secondary.types":4932,classnames:3049,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.ButtonSecondary=void 0;var n=c(e("react")),o=c(e("classnames")),i=e("../button-base"),a=e("../../../helpers/constants/design-system"),s=e("./button-secondary.types");function c(e){return e&&e.__esModule?e:{default:e}}function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const d=t?a.Color.errorDefault:a.Color.primaryDefault;return n.default.createElement(i.ButtonBase,u({backgroundColor:a.Color.transparent,borderColor:d,color:d,className:(0,o.default)(e,"mm-button-secondary",{"mm-button-secondary--type-danger":t,"mm-button-secondary--disabled":r}),size:c,ref:f,disabled:r},l))}))}}},{package:"$root$",file:"ui/components/component-library/button-secondary/button-secondary.tsx"}],[4932,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.ButtonSecondarySize=void 0;r.ButtonSecondarySize=function(e){return e.Sm="sm",e.Md="md",e.Lg="lg",e}({})}}},{package:"$root$",file:"ui/components/component-library/button-secondary/button-secondary.types.ts"}],[4933,{"./button-secondary":4931,"./button-secondary.types":4932},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ButtonSecondary",{enumerable:!0,get:function(){return n.ButtonSecondary}}),Object.defineProperty(r,"ButtonSecondarySize",{enumerable:!0,get:function(){return o.ButtonSecondarySize}});var n=e("./button-secondary"),o=e("./button-secondary.types")}}},{package:"$root$",file:"ui/components/component-library/button-secondary/index.ts"}],[4934,{"../button-link":4927,"../button-primary":4930,"../button-secondary":4933,"./button.types":4935,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.Button=void 0;var n,o=(n=e("react"))&&n.__esModule?n:{default:n},i=e("../button-primary"),a=e("../button-secondary"),s=e("../button-link"),c=e("./button.types");function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t{switch(e){case c.ButtonVariant.Primary:return o.default.createElement(i.ButtonPrimary,u({ref:r},t));case c.ButtonVariant.Secondary:return o.default.createElement(a.ButtonSecondary,u({ref:r},t));case c.ButtonVariant.Link:return o.default.createElement(s.ButtonLink,u({ref:r},t));default:return o.default.createElement(i.ButtonPrimary,u({ref:r},t))}}))}}},{package:"$root$",file:"ui/components/component-library/button/button.tsx"}],[4935,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.ButtonVariant=r.ButtonSize=void 0;r.ButtonSize=function(e){return e.Sm="sm",e.Md="md",e.Lg="lg",e.Inherit="inherit",e.Auto="auto",e}({}),r.ButtonVariant=function(e){return e.Primary="primary",e.Secondary="secondary",e.Link="link",e}({})}}},{package:"$root$",file:"ui/components/component-library/button/button.types.ts"}],[4936,{"../../../helpers/constants/design-system":5355,"./button":4934,"./button.types":4935},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.BUTTON_VARIANT=r.BUTTON_SIZES=void 0,Object.defineProperty(r,"Button",{enumerable:!0,get:function(){return o.Button}}),Object.defineProperty(r,"ButtonSize",{enumerable:!0,get:function(){return i.ButtonSize}}),Object.defineProperty(r,"ButtonVariant",{enumerable:!0,get:function(){return i.ButtonVariant}});var n=e("../../../helpers/constants/design-system"),o=e("./button"),i=e("./button.types");r.BUTTON_SIZES={SM:n.Size.SM,MD:n.Size.MD,LG:n.Size.LG,INHERIT:n.Size.inherit,AUTO:n.Size.auto},r.BUTTON_VARIANT={PRIMARY:"primary",SECONDARY:"secondary",LINK:"link"}}}},{package:"$root$",file:"ui/components/component-library/button/index.ts"}],[4937,{"..":4955,"../../../helpers/constants/design-system":5355,classnames:3049,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.Checkbox=void 0;var n=s(e("react")),o=s(e("classnames")),i=e("../../../helpers/constants/design-system"),a=e("..");function s(e){return e&&e.__esModule?e:{default:e}}function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const v=g||"string"!=typeof y?g||e:y;return n.default.createElement(a.Text,c({className:(0,o.default)("mm-checkbox",d,{"mm-checkbox--disabled":Boolean(s)}),as:"label",display:i.Display.InlineFlex,alignItems:i.AlignItems.center,ref:b,htmlFor:e},_),n.default.createElement("span",{className:"mm-checkbox__input-wrapper"},n.default.createElement(a.Box,c({as:"input",type:"checkbox",title:v,name:A,id:e,checked:t,disabled:s,readOnly:u,required:l,"data-indeterminate":r,onChange:e=>{u?e.preventDefault():null==f||f(e)},onKeyDown:e=>{"Enter"===e.key&&(null==f||f(e))},margin:0,marginRight:y?2:0,backgroundColor:t||r?i.BackgroundColor.primaryDefault:i.BackgroundColor.backgroundDefault,borderColor:t||r?i.BorderColor.primaryDefault:i.BorderColor.borderDefault,borderRadius:i.BorderRadius.SM,borderWidth:2,display:i.Display.Flex,ref:m},p,{className:(0,o.default)("mm-checkbox__input",(null==p?void 0:p.className)??"",{"mm-checkbox__input--checked":Boolean(t),"mm-checkbox__input--indeterminate":Boolean(r),"mm-checkbox__input--readonly":Boolean(u)})})),(t||r)&&n.default.createElement(a.Icon,c({color:i.IconColor.primaryInverse,name:t?a.IconName.CheckBold:a.IconName.MinusBold,className:(0,o.default)("mm-checkbox__icon",(null==h?void 0:h.className)??"")},h))),y?n.default.createElement("span",null,y):null)}))}}},{package:"$root$",file:"ui/components/component-library/checkbox/checkbox.tsx"}],[4938,{"./checkbox":4937},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"Checkbox",{enumerable:!0,get:function(){return n.Checkbox}});var n=e("./checkbox")}}},{package:"$root$",file:"ui/components/component-library/checkbox/index.ts"}],[4939,{"..":4955,classnames:3049,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.Container=void 0;var n=a(e("react")),o=a(e("classnames")),i=e("..");function a(e){return e&&e.__esModule?e:{default:e}}function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;tn.default.createElement(i.Box,s({className:(0,o.default)("mm-container",`mm-container--max-width-${r}`,t),ref:c},a),e)))}}},{package:"$root$",file:"ui/components/component-library/container/container.tsx"}],[494,{"./_version":493,"@ethersproject/basex":470,"@ethersproject/bignumber":474,"@ethersproject/bytes":476,"@ethersproject/logger":504,"@ethersproject/pbkdf2":508,"@ethersproject/properties":510,"@ethersproject/sha2":539,"@ethersproject/signing-key":543,"@ethersproject/strings":547,"@ethersproject/transactions":550,"@ethersproject/wordlists":557},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.getAccountPath=r.isValidMnemonic=r.entropyToMnemonic=r.mnemonicToEntropy=r.mnemonicToSeed=r.HDNode=r.defaultPath=void 0;var n=e("@ethersproject/basex"),o=e("@ethersproject/bytes"),i=e("@ethersproject/bignumber"),a=e("@ethersproject/strings"),s=e("@ethersproject/pbkdf2"),c=e("@ethersproject/properties"),u=e("@ethersproject/signing-key"),l=e("@ethersproject/sha2"),f=e("@ethersproject/transactions"),d=e("@ethersproject/wordlists"),h=e("@ethersproject/logger"),p=e("./_version"),m=new h.Logger(p.version),g=i.BigNumber.from("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),A=(0,a.toUtf8Bytes)("Bitcoin seed"),y=2147483648;function _(e){return(1<=256)throw new Error("Depth too large!");return v((0,o.concat)([null!=this.privateKey?"0x0488ADE4":"0x0488B21E",(0,o.hexlify)(this.depth),this.parentFingerprint,(0,o.hexZeroPad)((0,o.hexlify)(this.index),4),this.chainCode,null!=this.privateKey?(0,o.concat)(["0x00",this.privateKey]):this.publicKey]))},enumerable:!1,configurable:!0}),e.prototype.neuter=function(){return new e(T,null,this.publicKey,this.parentFingerprint,this.chainCode,this.index,this.depth,this.path)},e.prototype._derive=function(t){if(t>4294967295)throw new Error("invalid index - "+String(t));var r=this.path;r&&(r+="/"+(2147483647&t));var n=new Uint8Array(37);if(t&y){if(!this.privateKey)throw new Error("cannot derive child of neutered node");n.set((0,o.arrayify)(this.privateKey),1),r&&(r+="'")}else n.set((0,o.arrayify)(this.publicKey));for(var a=24;a>=0;a-=8)n[33+(a>>3)]=t>>24-a&255;var s=(0,o.arrayify)((0,l.computeHmac)(l.SupportedAlgorithm.sha512,this.chainCode,n)),c=s.slice(0,32),f=s.slice(32),d=null,h=null;this.privateKey?d=b(i.BigNumber.from(c).add(this.privateKey).mod(g)):h=new u.SigningKey((0,o.hexlify)(c))._addPoint(this.publicKey);var p=r,m=this.mnemonic;return m&&(p=Object.freeze({phrase:m.phrase,path:r,locale:m.locale||"en"})),new e(T,d,h,this.fingerprint,b(f),t,this.depth+1,p)},e.prototype.derivePath=function(e){var t=e.split("/");if(0===t.length||"m"===t[0]&&0!==this.depth)throw new Error("invalid path - "+e);"m"===t[0]&&t.shift();for(var r=this,n=0;n=y)throw new Error("invalid path index - "+o);r=r._derive(y+i)}else{if(!o.match(/^[0-9]+$/))throw new Error("invalid path component - "+o);var i;if((i=parseInt(o))>=y)throw new Error("invalid path index - "+o);r=r._derive(i)}}return r},e._fromSeed=function(t,r){var n=(0,o.arrayify)(t);if(n.length<16||n.length>64)throw new Error("invalid seed");var i=(0,o.arrayify)((0,l.computeHmac)(l.SupportedAlgorithm.sha512,A,n));return new e(T,b(i.slice(0,32)),null,"0x00000000",b(i.slice(32)),0,0,r)},e.fromMnemonic=function(t,r,n){return t=I(S(t,n=E(n)),n),e._fromSeed(N(t,r),{phrase:t,path:"m",locale:n.locale})},e.fromSeed=function(t){return e._fromSeed(t,null)},e.fromExtendedKey=function(t){var r=n.Base58.decode(t);82===r.length&&v(r.slice(0,78))===t||m.throwArgumentError("invalid extended key","extendedKey","[REDACTED]");var i=r[4],a=(0,o.hexlify)(r.slice(5,9)),s=parseInt((0,o.hexlify)(r.slice(9,13)).substring(2),16),c=(0,o.hexlify)(r.slice(13,45)),u=r.slice(45,78);switch((0,o.hexlify)(r.slice(0,4))){case"0x0488b21e":case"0x043587cf":return new e(T,null,(0,o.hexlify)(u),a,c,s,i,null);case"0x0488ade4":case"0x04358394 ":if(0!==u[0])break;return new e(T,(0,o.hexlify)(u.slice(1)),null,a,c,s,i,null)}return m.throwArgumentError("invalid extended key","extendedKey","[REDACTED]")},e}();function N(e,t){t||(t="");var r=(0,a.toUtf8Bytes)("mnemonic"+t,a.UnicodeNormalizationForm.NFKD);return(0,s.pbkdf2)((0,a.toUtf8Bytes)(e,a.UnicodeNormalizationForm.NFKD),r,2048,64,"sha512")}function S(e,t){t=E(t),m.checkNormalize();var r=t.split(e);if(r.length%3!=0)throw new Error("invalid mnemonic");for(var n=(0,o.arrayify)(new Uint8Array(Math.ceil(11*r.length/8))),i=0,a=0;a>3]|=1<<7-i%8),i++}var u=32*r.length/3,f=_(r.length/3);if(((0,o.arrayify)((0,l.sha256)(n.slice(0,u/8)))[0]&f)!==(n[n.length-1]&f))throw new Error("invalid checksum");return(0,o.hexlify)(n.slice(0,u/8))}function I(e,t){if(t=E(t),(e=(0,o.arrayify)(e)).length%4!=0||e.length<16||e.length>32)throw new Error("invalid entropy");for(var r=[0],n=11,i=0;i8?(r[r.length-1]<<=8,r[r.length-1]|=e[i],n-=8):(r[r.length-1]<<=n,r[r.length-1]|=e[i]>>8-n,r.push(e[i]&(1<<8-n)-1),n+=3);var a=e.length/4,s=(0,o.arrayify)((0,l.sha256)(e))[0]&_(a);return r[r.length-1]<<=a,r[r.length-1]|=s>>8-a,t.join(r.map((function(e){return t.getWord(e)})))}r.HDNode=w,r.mnemonicToSeed=N,r.mnemonicToEntropy=S,r.entropyToMnemonic=I,r.isValidMnemonic=function(e,t){try{return S(e,t),!0}catch(e){}return!1},r.getAccountPath=function(e){return("number"!=typeof e||e<0||e>=y||e%1)&&m.throwArgumentError("invalid account index","index",e),"m/44'/60'/"+e+"'/0/0"}}}},{package:"@ethersproject/hdnode",file:"node_modules/@ethersproject/hdnode/lib/index.js"}],[4940,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.ContainerMaxWidth=void 0;r.ContainerMaxWidth=function(e){return e.Sm="sm",e.Md="md",e.Lg="lg",e}({})}}},{package:"$root$",file:"ui/components/component-library/container/container.types.ts"}],[4941,{"./container":4939,"./container.types":4940},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"Container",{enumerable:!0,get:function(){return n.Container}}),Object.defineProperty(r,"ContainerMaxWidth",{enumerable:!0,get:function(){return o.ContainerMaxWidth}});var n=e("./container"),o=e("./container.types")}}},{package:"$root$",file:"ui/components/component-library/container/index.ts"}],[4944,{"..":4955,"../../../helpers/constants/design-system":5355,"./form-text-field.types":4945,classnames:3049,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.FormTextField=void 0;var n=c(e("react")),o=c(e("classnames")),i=e("../../../helpers/constants/design-system"),a=e(".."),s=e("./form-text-field.types");function c(e){return e&&e.__esModule?e:{default:e}}function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;tn.default.createElement(a.Box,u({className:(0,o.default)("mm-form-text-field",{"mm-form-text-field--disabled":Boolean(f)||Boolean(l)},r),display:i.Display.Flex,flexDirection:i.FlexDirection.Column,ref:j},L),y&&n.default.createElement(a.Label,u({htmlFor:m},_,{className:(0,o.default)("mm-form-text-field__label",(null==_?void 0:_.className)??"")}),y),n.default.createElement(a.TextField,u({className:(0,o.default)("mm-form-text-field__text-field",(null==R?void 0:R.className)??""),size:M,autoComplete:e,autoFocus:t,defaultValue:c,disabled:l,error:d,id:m,inputProps:g,inputRef:A,startAccessory:b,maxLength:v,name:E,onBlur:T,onChange:w,onFocus:N,placeholder:S,readOnly:I,required:O,endAccessory:C,truncate:P,type:x,value:k},R)),h&&n.default.createElement(a.HelpText,u({severity:d?a.HelpTextSeverity.Danger:undefined,marginTop:1},p,{className:(0,o.default)("mm-form-text-field__help-text",(null==p?void 0:p.className)??"")}),h))))}}},{package:"$root$",file:"ui/components/component-library/form-text-field/form-text-field.tsx"}],[4945,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.FormTextFieldSize=void 0;r.FormTextFieldSize=function(e){return e.Sm="sm",e.Md="md",e.Lg="lg",e}({})}}},{package:"$root$",file:"ui/components/component-library/form-text-field/form-text-field.types.ts"}],[4946,{"./form-text-field":4944,"./form-text-field.types":4945},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"FormTextField",{enumerable:!0,get:function(){return n.FormTextField}}),Object.defineProperty(r,"FormTextFieldSize",{enumerable:!0,get:function(){return o.FormTextFieldSize}});var n=e("./form-text-field"),o=e("./form-text-field.types")}}},{package:"$root$",file:"ui/components/component-library/form-text-field/index.ts"}],[4947,{"..":4955,"../../../helpers/constants/design-system":5355,classnames:3049,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.HeaderBase=void 0;var n,o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=c(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}(e("react")),i=(n=e("classnames"))&&n.__esModule?n:{default:n},a=e("../../../helpers/constants/design-system"),s=e("..");function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(c=function(e){return e?r:t})(e)}function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const p=(0,o.useRef)(null),m=(0,o.useRef)(null),[g,A]=(0,o.useState)();(0,o.useEffect)((()=>{function e(){if(p.current&&m.current){const e=Math.max(p.current.scrollWidth,m.current.scrollWidth);A(e)}else p.current&&!m.current?A(p.current.scrollWidth):!p.current&&m.current?A(m.current.scrollWidth):A(0)}return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}}),[p,m,n]);const y=(0,o.useMemo)((()=>e&&!t&&g?{marginRight:`${g}px`,width:`calc(100% - ${2*g}px)`}:!e&&t&&g?{marginLeft:`${g}px`,width:`calc(100% - ${2*g}px)`}:e&&t&&g?{width:`calc(100% - ${2*g}px)`}:{}),[g,e,t]);return o.default.createElement(s.Box,u({className:(0,i.default)("mm-header-base",r),ref:h,display:a.Display.Flex,justifyContent:a.JustifyContent.spaceBetween},d),e&&o.default.createElement(s.Box,u({ref:p,style:n?{minWidth:`${g}px`}:undefined},l),e),n&&o.default.createElement(s.Box,u({style:y},c),n),t&&o.default.createElement(s.Box,u({display:a.Display.Flex,justifyContent:a.JustifyContent.flexEnd,ref:m,style:n?{minWidth:`${g}px`}:undefined},f),t))}))}}},{package:"$root$",file:"ui/components/component-library/header-base/header-base.tsx"}],[4948,{"./header-base":4947},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"HeaderBase",{enumerable:!0,get:function(){return n.HeaderBase}});var n=e("./header-base")}}},{package:"$root$",file:"ui/components/component-library/header-base/index.ts"}],[4949,{".":4951,"../../../helpers/constants/design-system":5355,"../text":5008,classnames:3049,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.HelpText=void 0;var n,o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=u(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}(e("react")),i=(n=e("classnames"))&&n.__esModule?n:{default:n},a=e("../../../helpers/constants/design-system"),s=e("../text"),c=e(".");function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(u=function(e){return e?r:t})(e)}function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;to.default.createElement(s.Text,l({className:(0,i.default)("mm-help-text",r??""),ref:f,as:n&&"object"==typeof n?"div":"p",variant:a.TextVariant.bodyXs,color:e?(()=>{switch(e){case c.HelpTextSeverity.Danger:return a.TextColor.errorDefault;case c.HelpTextSeverity.Warning:return a.TextColor.warningDefault;case c.HelpTextSeverity.Success:return a.TextColor.successDefault;case c.HelpTextSeverity.Info:return a.TextColor.infoDefault;default:return a.TextColor.textDefault}})():t},u),n)))}}},{package:"$root$",file:"ui/components/component-library/help-text/help-text.tsx"}],[4950,{"../../../helpers/constants/design-system":5355},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.HelpTextSeverity=void 0;var n=e("../../../helpers/constants/design-system");r.HelpTextSeverity=function(e){return e[e.Danger=n.Severity.Danger]="Danger",e[e.Warning=n.Severity.Warning]="Warning",e[e.Success=n.Severity.Success]="Success",e[e.Info=n.Severity.Info]="Info",e}({})}}},{package:"$root$",file:"ui/components/component-library/help-text/help-text.types.ts"}],[4951,{"./help-text":4949,"./help-text.types":4950},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"HelpText",{enumerable:!0,get:function(){return n.HelpText}}),Object.defineProperty(r,"HelpTextSeverity",{enumerable:!0,get:function(){return o.HelpTextSeverity}});var n=e("./help-text"),o=e("./help-text.types")}}},{package:"$root$",file:"ui/components/component-library/help-text/index.ts"}],[4952,{"../../../helpers/constants/design-system":5355,"../box":4918,"./icon.types":4953,classnames:3049,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.Icon=void 0;var n=c(e("react")),o=c(e("classnames")),i=e("../../../helpers/constants/design-system"),a=e("../box"),s=e("./icon.types");function c(e){return e&&e.__esModule?e:{default:e}}function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;tn.default.createElement(a.Box,u({className:(0,o.default)(c,"mm-icon",`mm-icon--size-${t}`),ref:d,as:"span",display:i.Display.InlineBlock,color:r,style:{maskImage:`url('./images/icons/${String(e)}.svg')`,WebkitMaskImage:`url('./images/icons/${String(e)}.svg')`,...l}},f))))}}},{package:"$root$",file:"ui/components/component-library/icon/icon.tsx"}]],[],{}); \ No newline at end of file +LavaPack.loadBundle([[434,{"./helpers":437,"./internal":439,buffer:3028},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(t){(function(){Object.defineProperty(r,"__esModule",{value:!0}),r.intToUnpaddedBuffer=r.bigIntToUnpaddedBuffer=r.bigIntToHex=r.bufArrToArr=r.arrToBufArr=r.validateNoLeadingZeroes=r.baToJSON=r.toUtf8=r.short=r.addHexPrefix=r.toUnsigned=r.fromSigned=r.bufferToInt=r.bigIntToBuffer=r.bufferToBigInt=r.bufferToHex=r.toBuffer=r.unpadHexString=r.unpadArray=r.unpadBuffer=r.setLengthRight=r.setLengthLeft=r.zeros=r.intToBuffer=r.intToHex=void 0;const n=e("./helpers"),o=e("./internal");r.intToHex=function(e){if(!Number.isSafeInteger(e)||e<0)throw new Error(`Received an invalid integer type: ${e}`);return`0x${e.toString(16)}`};r.intToBuffer=function(e){const n=(0,r.intToHex)(e);return t.from((0,o.padToEven)(n.slice(2)),"hex")};r.zeros=function(e){return t.allocUnsafe(e).fill(0)};const i=function(e,t,n){const o=(0,r.zeros)(t);return n?e.length0&&"0"===t.toString();)t=(e=e.slice(1))[0];return e};r.unpadBuffer=function(e){return(0,n.assertIsBuffer)(e),a(e)};r.unpadArray=function(e){return(0,n.assertIsArray)(e),a(e)};r.unpadHexString=function(e){return(0,n.assertIsHexString)(e),e=(0,o.stripHexPrefix)(e),"0x"+a(e)};r.toBuffer=function(e){if(null===e||e===undefined)return t.allocUnsafe(0);if(t.isBuffer(e))return t.from(e);if(Array.isArray(e)||e instanceof Uint8Array)return t.from(e);if("string"==typeof e){if(!(0,o.isHexString)(e))throw new Error(`Cannot convert string to buffer. toBuffer only supports 0x-prefixed hex strings and this string was given: ${e}`);return t.from((0,o.padToEven)((0,o.stripHexPrefix)(e)),"hex")}if("number"==typeof e)return(0,r.intToBuffer)(e);if("bigint"==typeof e){if(e0&&0===r[0])throw new Error(`${t} cannot have leading zeroes, received: ${r.toString("hex")}`)},r.arrToBufArr=function e(r){return Array.isArray(r)?r.map((t=>e(t))):t.from(r)},r.bufArrToArr=function e(t){return Array.isArray(t)?t.map((t=>e(t))):Uint8Array.from(t??[])};r.bigIntToHex=e=>"0x"+e.toString(16),r.bigIntToUnpaddedBuffer=function(e){return(0,r.unpadBuffer)(c(e))},r.intToUnpaddedBuffer=function(e){return(0,r.unpadBuffer)((0,r.intToBuffer)(e))}}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"@ethereumjs/tx>@ethereumjs/util",file:"node_modules/@ethereumjs/util/dist/bytes.js"}],[4340,{"./hash":4336,"./sha256":4341,inherits:3641,"safe-buffer":4276},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("inherits"),o=e("./sha256"),i=e("./hash"),a=e("safe-buffer").Buffer,s=new Array(64);function c(){this.init(),this._w=s,i.call(this,64,56)}n(c,o),c.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},c.prototype._hash=function(){var e=a.allocUnsafe(28);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e},t.exports=c}}},{package:"addons-linter>sha.js",file:"node_modules/sha.js/sha224.js"}],[4341,{"./hash":4336,inherits:3641,"safe-buffer":4276},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("inherits"),o=e("./hash"),i=e("safe-buffer").Buffer,a=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],s=new Array(64);function c(){this.init(),this._w=s,o.call(this,64,56)}function u(e,t,r){return r^e&(t^r)}function l(e,t,r){return e&t|r&(e|t)}function f(e){return(e>>>2|e<<30)^(e>>>13|e<<19)^(e>>>22|e<<10)}function d(e){return(e>>>6|e<<26)^(e>>>11|e<<21)^(e>>>25|e<<7)}function h(e){return(e>>>7|e<<25)^(e>>>18|e<<14)^e>>>3}n(c,o),c.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},c.prototype._update=function(e){for(var t,r=this._w,n=0|this._a,o=0|this._b,i=0|this._c,s=0|this._d,c=0|this._e,p=0|this._f,m=0|this._g,g=0|this._h,A=0;A<16;++A)r[A]=e.readInt32BE(4*A);for(;A<64;++A)r[A]=0|(((t=r[A-2])>>>17|t<<15)^(t>>>19|t<<13)^t>>>10)+r[A-7]+h(r[A-15])+r[A-16];for(var y=0;y<64;++y){var _=g+d(c)+u(c,p,m)+a[y]+r[y]|0,b=f(n)+l(n,o,i)|0;g=m,m=p,p=c,c=s+_|0,s=i,i=o,o=n,n=_+b|0}this._a=n+this._a|0,this._b=o+this._b|0,this._c=i+this._c|0,this._d=s+this._d|0,this._e=c+this._e|0,this._f=p+this._f|0,this._g=m+this._g|0,this._h=g+this._h|0},c.prototype._hash=function(){var e=i.allocUnsafe(32);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e.writeInt32BE(this._h,28),e},t.exports=c}}},{package:"addons-linter>sha.js",file:"node_modules/sha.js/sha256.js"}],[4342,{"./hash":4336,"./sha512":4343,inherits:3641,"safe-buffer":4276},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("inherits"),o=e("./sha512"),i=e("./hash"),a=e("safe-buffer").Buffer,s=new Array(160);function c(){this.init(),this._w=s,i.call(this,128,112)}n(c,o),c.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},c.prototype._hash=function(){var e=a.allocUnsafe(48);function t(t,r,n){e.writeInt32BE(t,n),e.writeInt32BE(r,n+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),e},t.exports=c}}},{package:"addons-linter>sha.js",file:"node_modules/sha.js/sha384.js"}],[4343,{"./hash":4336,inherits:3641,"safe-buffer":4276},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("inherits"),o=e("./hash"),i=e("safe-buffer").Buffer,a=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],s=new Array(160);function c(){this.init(),this._w=s,o.call(this,128,112)}function u(e,t,r){return r^e&(t^r)}function l(e,t,r){return e&t|r&(e|t)}function f(e,t){return(e>>>28|t<<4)^(t>>>2|e<<30)^(t>>>7|e<<25)}function d(e,t){return(e>>>14|t<<18)^(e>>>18|t<<14)^(t>>>9|e<<23)}function h(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^e>>>7}function p(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^(e>>>7|t<<25)}function m(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^e>>>6}function g(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^(e>>>6|t<<26)}function A(e,t){return e>>>0>>0?1:0}n(c,o),c.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this},c.prototype._update=function(e){for(var t=this._w,r=0|this._ah,n=0|this._bh,o=0|this._ch,i=0|this._dh,s=0|this._eh,c=0|this._fh,y=0|this._gh,_=0|this._hh,b=0|this._al,v=0|this._bl,E=0|this._cl,T=0|this._dl,w=0|this._el,N=0|this._fl,S=0|this._gl,I=0|this._hl,O=0;O<32;O+=2)t[O]=e.readInt32BE(4*O),t[O+1]=e.readInt32BE(4*O+4);for(;O<160;O+=2){var C=t[O-30],M=t[O-30+1],R=h(C,M),P=p(M,C),x=m(C=t[O-4],M=t[O-4+1]),k=g(M,C),L=t[O-14],j=t[O-14+1],B=t[O-32],D=t[O-32+1],U=P+j|0,H=R+L+A(U,P)|0;H=(H=H+x+A(U=U+k|0,k)|0)+B+A(U=U+D|0,D)|0,t[O]=H,t[O+1]=U}for(var F=0;F<160;F+=2){H=t[F],U=t[F+1];var G=l(r,n,o),K=l(b,v,E),z=f(r,b),W=f(b,r),Y=d(s,w),V=d(w,s),$=a[F],X=a[F+1],q=u(s,c,y),Q=u(w,N,S),J=I+V|0,Z=_+Y+A(J,I)|0;Z=(Z=(Z=Z+q+A(J=J+Q|0,Q)|0)+$+A(J=J+X|0,X)|0)+H+A(J=J+U|0,U)|0;var ee=W+K|0,te=z+G+A(ee,W)|0;_=y,I=S,y=c,S=N,c=s,N=w,s=i+Z+A(w=T+J|0,T)|0,i=o,T=E,o=n,E=v,n=r,v=b,r=Z+te+A(b=J+ee|0,J)|0}this._al=this._al+b|0,this._bl=this._bl+v|0,this._cl=this._cl+E|0,this._dl=this._dl+T|0,this._el=this._el+w|0,this._fl=this._fl+N|0,this._gl=this._gl+S|0,this._hl=this._hl+I|0,this._ah=this._ah+r+A(this._al,b)|0,this._bh=this._bh+n+A(this._bl,v)|0,this._ch=this._ch+o+A(this._cl,E)|0,this._dh=this._dh+i+A(this._dl,T)|0,this._eh=this._eh+s+A(this._el,w)|0,this._fh=this._fh+c+A(this._fl,N)|0,this._gh=this._gh+y+A(this._gl,S)|0,this._hh=this._hh+_+A(this._hl,I)|0},c.prototype._hash=function(){var e=i.allocUnsafe(64);function t(t,r,n){e.writeInt32BE(t,n),e.writeInt32BE(r,n+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),t(this._gh,this._gl,48),t(this._hh,this._hl,56),e},t.exports=c}}},{package:"addons-linter>sha.js",file:"node_modules/sha.js/sha512.js"}],[4344,{"call-bind/callBound":3038,"get-intrinsic":3409,"object-inspect":3946},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("get-intrinsic"),o=e("call-bind/callBound"),i=e("object-inspect"),a=n("%TypeError%"),s=n("%WeakMap%",!0),c=n("%Map%",!0),u=o("WeakMap.prototype.get",!0),l=o("WeakMap.prototype.set",!0),f=o("WeakMap.prototype.has",!0),d=o("Map.prototype.get",!0),h=o("Map.prototype.set",!0),p=o("Map.prototype.has",!0),m=function(e,t){for(var r,n=e;null!==(r=n.next);n=r)if(r.key===t)return n.next=r.next,r.next=e.next,e.next=r,r};t.exports=function(){var e,t,r,n={assert:function(e){if(!n.has(e))throw new a("Side channel does not contain "+i(e))},get:function(n){if(s&&n&&("object"==typeof n||"function"==typeof n)){if(e)return u(e,n)}else if(c){if(t)return d(t,n)}else if(r)return function(e,t){var r=m(e,t);return r&&r.value}(r,n)},has:function(n){if(s&&n&&("object"==typeof n||"function"==typeof n)){if(e)return f(e,n)}else if(c){if(t)return p(t,n)}else if(r)return function(e,t){return!!m(e,t)}(r,n);return!1},set:function(n,o){s&&n&&("object"==typeof n||"function"==typeof n)?(e||(e=new s),l(e,n,o)):c?(t||(t=new c),h(t,n,o)):(r||(r={key:{},next:null}),function(e,t,r){var n=m(e,t);n?n.value=r:e.next={key:t,next:e.next,value:r}}(r,n,o))}};return n}}}},{package:"string.prototype.matchall>side-channel",file:"node_modules/side-channel/index.js"}],[4345,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=[{payable:!0,stateMutability:"payable",type:"fallback"},{constant:!0,inputs:[{name:"user",type:"address"},{name:"token",type:"address"}],name:"tokenBalance",outputs:[{name:"",type:"uint256"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[{name:"users",type:"address[]"},{name:"tokens",type:"address[]"}],name:"balances",outputs:[{name:"",type:"uint256[]"}],payable:!1,stateMutability:"view",type:"function"}]}}},{package:"single-call-balance-checker-abi",file:"node_modules/single-call-balance-checker-abi/index.js"}],[4348,{events:3328,inherits:3641,"readable-stream/lib/_stream_duplex.js":4245,"readable-stream/lib/_stream_passthrough.js":4246,"readable-stream/lib/_stream_readable.js":4247,"readable-stream/lib/_stream_transform.js":4248,"readable-stream/lib/_stream_writable.js":4249,"readable-stream/lib/internal/streams/end-of-stream.js":4253,"readable-stream/lib/internal/streams/pipeline.js":4255},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=o;var n=e("events").EventEmitter;function o(){n.call(this)}e("inherits")(o,n),o.Readable=e("readable-stream/lib/_stream_readable.js"),o.Writable=e("readable-stream/lib/_stream_writable.js"),o.Duplex=e("readable-stream/lib/_stream_duplex.js"),o.Transform=e("readable-stream/lib/_stream_transform.js"),o.PassThrough=e("readable-stream/lib/_stream_passthrough.js"),o.finished=e("readable-stream/lib/internal/streams/end-of-stream.js"),o.pipeline=e("readable-stream/lib/internal/streams/pipeline.js"),o.Stream=o,o.prototype.pipe=function(e,t){var r=this;function o(t){e.writable&&!1===e.write(t)&&r.pause&&r.pause()}function i(){r.readable&&r.resume&&r.resume()}r.on("data",o),e.on("drain",i),e._isStdio||t&&!1===t.end||(r.on("end",s),r.on("close",c));var a=!1;function s(){a||(a=!0,e.end())}function c(){a||(a=!0,"function"==typeof e.destroy&&e.destroy())}function u(e){if(l(),0===n.listenerCount(this,"error"))throw e}function l(){r.removeListener("data",o),e.removeListener("drain",i),r.removeListener("end",s),r.removeListener("close",c),r.removeListener("error",u),e.removeListener("error",u),r.removeListener("end",l),r.removeListener("close",l),e.removeListener("close",l)}return r.on("error",u),e.on("error",u),r.on("end",l),r.on("close",l),e.on("close",l),e.emit("pipe",r),e}}}},{package:"stream-browserify",file:"node_modules/stream-browserify/index.js"}],[4349,{"./lib/request":4351,"./lib/response":4352,"builtin-status-codes":3036,url:4400,xtend:4478},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("./lib/request"),o=e("./lib/response"),i=e("xtend"),a=e("builtin-status-codes"),s=e("url"),c=r;c.request=function(e,t){e="string"==typeof e?s.parse(e):i(e);var r=-1===global.location.protocol.search(/^https?:$/)?"http:":"",o=e.protocol||r,a=e.hostname||e.host,c=e.port,u=e.path||"/";a&&-1!==a.indexOf(":")&&(a="["+a+"]"),e.url=(a?o+"//"+a:"")+(c?":"+c:"")+u,e.method=(e.method||"GET").toUpperCase(),e.headers=e.headers||{};var l=new n(e);return t&&l.on("response",t),l},c.get=function(e,t){var r=c.request(e,t);return r.end(),r},c.ClientRequest=n,c.IncomingMessage=o.IncomingMessage,c.Agent=function(){},c.Agent.defaultMaxSockets=4,c.globalAgent=new c.Agent,c.STATUS_CODES=a,c.METHODS=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"]}}},{package:"browserify>stream-http",file:"node_modules/stream-http/index.js"}],[435,{buffer:3028,"ethereum-cryptography/secp256k1":3277},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.MAX_WITHDRAWALS_PER_PAYLOAD=r.RLP_EMPTY_STRING=r.KECCAK256_RLP=r.KECCAK256_RLP_S=r.KECCAK256_RLP_ARRAY=r.KECCAK256_RLP_ARRAY_S=r.KECCAK256_NULL=r.KECCAK256_NULL_S=r.TWO_POW256=r.SECP256K1_ORDER_DIV_2=r.SECP256K1_ORDER=r.MAX_INTEGER_BIGINT=r.MAX_INTEGER=r.MAX_UINT64=void 0;const n=e("buffer"),o=e("ethereum-cryptography/secp256k1");r.MAX_UINT64=BigInt("0xffffffffffffffff"),r.MAX_INTEGER=BigInt("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"),r.MAX_INTEGER_BIGINT=BigInt("115792089237316195423570985008687907853269984665640564039457584007913129639935"),r.SECP256K1_ORDER=o.secp256k1.CURVE.n,r.SECP256K1_ORDER_DIV_2=o.secp256k1.CURVE.n/BigInt(2),r.TWO_POW256=BigInt("0x10000000000000000000000000000000000000000000000000000000000000000"),r.KECCAK256_NULL_S="c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",r.KECCAK256_NULL=n.Buffer.from(r.KECCAK256_NULL_S,"hex"),r.KECCAK256_RLP_ARRAY_S="1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",r.KECCAK256_RLP_ARRAY=n.Buffer.from(r.KECCAK256_RLP_ARRAY_S,"hex"),r.KECCAK256_RLP_S="56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",r.KECCAK256_RLP=n.Buffer.from(r.KECCAK256_RLP_S,"hex"),r.RLP_EMPTY_STRING=n.Buffer.from([128]),r.MAX_WITHDRAWALS_PER_PAYLOAD=16}}},{package:"@ethereumjs/tx>@ethereumjs/util",file:"node_modules/@ethereumjs/util/dist/constants.js"}],[4350,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n;function o(){if(n!==undefined)return n;if(global.XMLHttpRequest){n=new global.XMLHttpRequest;try{n.open("GET",global.XDomainRequest?"/":"https://example.com")}catch(e){n=null}}else n=null;return n}function i(e){var t=o();if(!t)return!1;try{return t.responseType=e,t.responseType===e}catch(e){}return!1}function a(e){return"function"==typeof e}r.fetch=a(global.fetch)&&a(global.ReadableStream),r.writableStream=a(global.WritableStream),r.abortController=a(global.AbortController),r.arraybuffer=r.fetch||i("arraybuffer"),r.msstream=!r.fetch&&i("ms-stream"),r.mozchunkedarraybuffer=!r.fetch&&i("moz-chunked-arraybuffer"),r.overrideMimeType=r.fetch||!!o()&&a(o().overrideMimeType),n=null}}},{package:"browserify>stream-http",file:"node_modules/stream-http/lib/capability.js"}],[4351,{"./capability":4350,"./response":4352,_process:3992,buffer:3028,inherits:3641,"readable-stream":4258},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(r,n){(function(){var o=e("./capability"),i=e("inherits"),a=e("./response"),s=e("readable-stream"),c=a.IncomingMessage,u=a.readyStates;var l=t.exports=function(e){var t,r=this;s.Writable.call(r),r._opts=e,r._body=[],r._headers={},e.auth&&r.setHeader("Authorization","Basic "+n.from(e.auth).toString("base64")),Object.keys(e.headers).forEach((function(t){r.setHeader(t,e.headers[t])}));var i=!0;if("disable-fetch"===e.mode||"requestTimeout"in e&&!o.abortController)i=!1,t=!0;else if("prefer-streaming"===e.mode)t=!1;else if("allow-wrong-content-type"===e.mode)t=!o.overrideMimeType;else{if(e.mode&&"default"!==e.mode&&"prefer-fast"!==e.mode)throw new Error("Invalid value for opts.mode");t=!0}r._mode=function(e,t){return o.fetch&&t?"fetch":o.mozchunkedarraybuffer?"moz-chunked-arraybuffer":o.msstream?"ms-stream":o.arraybuffer&&e?"arraybuffer":"text"}(t,i),r._fetchTimer=null,r.on("finish",(function(){r._onFinish()}))};i(l,s.Writable),l.prototype.setHeader=function(e,t){var r=e.toLowerCase();-1===f.indexOf(r)&&(this._headers[r]={name:e,value:t})},l.prototype.getHeader=function(e){var t=this._headers[e.toLowerCase()];return t?t.value:null},l.prototype.removeHeader=function(e){delete this._headers[e.toLowerCase()]},l.prototype._onFinish=function(){var e=this;if(!e._destroyed){var t=e._opts,n=e._headers,i=null;"GET"!==t.method&&"HEAD"!==t.method&&(i=new Blob(e._body,{type:(n["content-type"]||{}).value||""}));var a=[];if(Object.keys(n).forEach((function(e){var t=n[e].name,r=n[e].value;Array.isArray(r)?r.forEach((function(e){a.push([t,e])})):a.push([t,r])})),"fetch"===e._mode){var s=null;if(o.abortController){var c=new AbortController;s=c.signal,e._fetchAbortController=c,"requestTimeout"in t&&0!==t.requestTimeout&&(e._fetchTimer=global.setTimeout((function(){e.emit("requestTimeout"),e._fetchAbortController&&e._fetchAbortController.abort()}),t.requestTimeout))}global.fetch(e._opts.url,{method:e._opts.method,headers:a,body:i||undefined,mode:"cors",credentials:t.withCredentials?"include":"same-origin",signal:s}).then((function(t){e._fetchResponse=t,e._connect()}),(function(t){global.clearTimeout(e._fetchTimer),e._destroyed||e.emit("error",t)}))}else{var l=e._xhr=new global.XMLHttpRequest;try{l.open(e._opts.method,e._opts.url,!0)}catch(t){return void r.nextTick((function(){e.emit("error",t)}))}"responseType"in l&&(l.responseType=e._mode),"withCredentials"in l&&(l.withCredentials=!!t.withCredentials),"text"===e._mode&&"overrideMimeType"in l&&l.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in t&&(l.timeout=t.requestTimeout,l.ontimeout=function(){e.emit("requestTimeout")}),a.forEach((function(e){l.setRequestHeader(e[0],e[1])})),e._response=null,l.onreadystatechange=function(){switch(l.readyState){case u.LOADING:case u.DONE:e._onXHRProgress()}},"moz-chunked-arraybuffer"===e._mode&&(l.onprogress=function(){e._onXHRProgress()}),l.onerror=function(){e._destroyed||e.emit("error",new Error("XHR error"))};try{l.send(i)}catch(t){return void r.nextTick((function(){e.emit("error",t)}))}}}},l.prototype._onXHRProgress=function(){var e=this;(function(e){try{var t=e.status;return null!==t&&0!==t}catch(e){return!1}})(e._xhr)&&!e._destroyed&&(e._response||e._connect(),e._response._onXHRProgress())},l.prototype._connect=function(){var e=this;e._destroyed||(e._response=new c(e._xhr,e._fetchResponse,e._mode,e._fetchTimer),e._response.on("error",(function(t){e.emit("error",t)})),e.emit("response",e._response))},l.prototype._write=function(e,t,r){this._body.push(e),r()},l.prototype.abort=l.prototype.destroy=function(){var e=this;e._destroyed=!0,global.clearTimeout(e._fetchTimer),e._response&&(e._response._destroyed=!0),e._xhr?e._xhr.abort():e._fetchAbortController&&e._fetchAbortController.abort()},l.prototype.end=function(e,t,r){"function"==typeof e&&(r=e,e=undefined),s.Writable.prototype.end.call(this,e,t,r)},l.prototype.flushHeaders=function(){},l.prototype.setTimeout=function(){},l.prototype.setNoDelay=function(){},l.prototype.setSocketKeepAlive=function(){};var f=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","via"]}).call(this)}).call(this,e("_process"),e("buffer").Buffer)}}},{package:"browserify>stream-http",file:"node_modules/stream-http/lib/request.js"}],[4352,{"./capability":4350,_process:3992,buffer:3028,inherits:3641,"readable-stream":4258},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(t,n){(function(){var o=e("./capability"),i=e("inherits"),a=e("readable-stream"),s=r.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},c=r.IncomingMessage=function(e,r,i,s){var c=this;if(a.Readable.call(c),c._mode=i,c.headers={},c.rawHeaders=[],c.trailers={},c.rawTrailers=[],c.on("end",(function(){t.nextTick((function(){c.emit("close")}))})),"fetch"===i){if(c._fetchResponse=r,c.url=r.url,c.statusCode=r.status,c.statusMessage=r.statusText,r.headers.forEach((function(e,t){c.headers[t.toLowerCase()]=e,c.rawHeaders.push(t,e)})),o.writableStream){var u=new WritableStream({write:function(e){return new Promise((function(t,r){c._destroyed?r():c.push(n.from(e))?t():c._resumeFetch=t}))},close:function(){global.clearTimeout(s),c._destroyed||c.push(null)},abort:function(e){c._destroyed||c.emit("error",e)}});try{return void r.body.pipeTo(u).catch((function(e){global.clearTimeout(s),c._destroyed||c.emit("error",e)}))}catch(p){}}var l=r.body.getReader();function h(){l.read().then((function(e){if(!c._destroyed){if(e.done)return global.clearTimeout(s),void c.push(null);c.push(n.from(e.value)),h()}})).catch((function(e){global.clearTimeout(s),c._destroyed||c.emit("error",e)}))}h()}else{if(c._xhr=e,c._pos=0,c.url=e.responseURL,c.statusCode=e.status,c.statusMessage=e.statusText,e.getAllResponseHeaders().split(/\r?\n/).forEach((function(e){var t=e.match(/^([^:]+):\s*(.*)/);if(t){var r=t[1].toLowerCase();"set-cookie"===r?(c.headers[r]===undefined&&(c.headers[r]=[]),c.headers[r].push(t[2])):c.headers[r]!==undefined?c.headers[r]+=", "+t[2]:c.headers[r]=t[2],c.rawHeaders.push(t[1],t[2])}})),c._charset="x-user-defined",!o.overrideMimeType){var f=c.rawHeaders["mime-type"];if(f){var d=f.match(/;\s*charset=([^;])(;|$)/);d&&(c._charset=d[1].toLowerCase())}c._charset||(c._charset="utf-8")}}};i(c,a.Readable),c.prototype._read=function(){var e=this._resumeFetch;e&&(this._resumeFetch=null,e())},c.prototype._onXHRProgress=function(){var e=this,t=e._xhr,r=null;switch(e._mode){case"text":if((r=t.responseText).length>e._pos){var o=r.substr(e._pos);if("x-user-defined"===e._charset){for(var i=n.alloc(o.length),a=0;ae._pos&&(e.push(n.from(new Uint8Array(c.result.slice(e._pos)))),e._pos=c.result.byteLength)},c.onload=function(){e.push(null)},c.readAsArrayBuffer(r)}e._xhr.readyState===s.DONE&&"ms-stream"!==e._mode&&e.push(null)}}).call(this)}).call(this,e("_process"),e("buffer").Buffer)}}},{package:"browserify>stream-http",file:"node_modules/stream-http/lib/response.js"}],[4354,{"safe-buffer":4276},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("safe-buffer").Buffer,o=n.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function i(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(n.isEncoding===o||!o(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=c,this.end=u,t=4;break;case"utf8":this.fillLast=s,t=4;break;case"base64":this.text=l,this.end=f,t=3;break;default:return this.write=d,void(this.end=h)}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(t)}function a(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function s(e){var t=this.lastTotal-this.lastNeed,r=function(e,t,r){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return r!==undefined?r:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function c(e,t){if((e.length-t)%2==0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function u(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function l(e,t){var r=(e.length-t)%3;return 0===r?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function f(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function d(e){return e.toString(this.encoding)}function h(e){return e&&e.length?this.write(e):""}r.StringDecoder=i,i.prototype.write=function(e){if(0===e.length)return"";var t,r;if(this.lastNeed){if((t=this.fillLast(e))===undefined)return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r=0)return o>0&&(e.lastNeed=o-1),o;if(--n=0)return o>0&&(e.lastNeed=o-2),o;if(--n=0)return o>0&&(2===o?o=0:e.lastNeed=o-3),o;return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var n=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)},i.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}}}},{package:"browserify>string_decoder",file:"node_modules/string_decoder/lib/string_decoder.js"}],[4355,{"is-hex-prefixed":3653},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("is-hex-prefixed");t.exports=function(e){return"string"!=typeof e?e:n(e)?e.slice(2):e}}}},{package:"@metamask/ethjs>@metamask/ethjs-util>strip-hex-prefix",file:"node_modules/strip-hex-prefix/src/index.js"}],[4356,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=/^[-+]?0x[a-fA-F0-9]+$/,o=/^([\-\+])?(0*)(\.[0-9]+([eE]\-?[0-9]+)?|[0-9]+(\.[0-9]+([eE]\-?[0-9]+)?)?)$/;!Number.parseInt&&window.parseInt&&(Number.parseInt=window.parseInt),!Number.parseFloat&&window.parseFloat&&(Number.parseFloat=window.parseFloat);const i={hex:!0,leadingZeros:!0,decimalPoint:".",eNotation:!0};t.exports=function(e,t={}){if(t=Object.assign({},i,t),!e||"string"!=typeof e)return e;let r=e.trim();if(t.skipLike!==undefined&&t.skipLike.test(r))return e;if(t.hex&&n.test(r))return Number.parseInt(r,16);{const n=o.exec(r);if(n){const o=n[1],i=n[2];let a=function(e){if(e&&-1!==e.indexOf("."))return"."===(e=e.replace(/0+$/,""))?e="0":"."===e[0]?e="0"+e:"."===e[e.length-1]&&(e=e.substr(0,e.length-1)),e;return e}(n[3]);const s=n[4]||n[6];if(!t.leadingZeros&&i.length>0&&o&&"."!==r[2])return e;if(!t.leadingZeros&&i.length>0&&!o&&"."!==r[1])return e;{const n=Number(r),c=""+n;return-1!==c.search(/[eE]/)||s?t.eNotation?n:e:-1!==r.indexOf(".")?"0"===c&&""===a||c===a||o&&c==="-"+a?n:e:i?a===c||o+a===c?n:e:r===c||r===o+c?n:e}}return e}}}}},{package:"@metamask/snaps-utils>fast-xml-parser>strnum",file:"node_modules/strnum/strnum.js"}],[4358,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){!function(e,n){"object"==typeof r&&void 0!==t?n(r):"function"==typeof define&&define.amd?define(["exports"],n):n((e="undefined"!=typeof globalThis?globalThis:e||self).Superstruct={})}(this,(function(e){class t extends TypeError{constructor(e,t){let r;const{message:n,explanation:o,...i}=e,{path:a}=e,s=0===a.length?n:`At path: ${a.join(".")} -- ${n}`;super(o??s),null!=o&&(this.cause=s),Object.assign(this,i),this.name=this.constructor.name,this.failures=()=>r??(r=[e,...t()])}}function r(e){return"object"==typeof e&&null!=e}function n(e){if("[object Object]"!==Object.prototype.toString.call(e))return!1;const t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function o(e){return"symbol"==typeof e?e.toString():"string"==typeof e?JSON.stringify(e):`${e}`}function i(e,t,r,n){if(!0===e)return;!1===e?e={}:"string"==typeof e&&(e={message:e});const{path:i,branch:a}=t,{type:s}=r,{refinement:c,message:u=`Expected a value of type \`${s}\`${c?` with refinement \`${c}\``:""}, but received: \`${o(n)}\``}=e;return{value:n,type:s,refinement:c,key:i[i.length-1],path:i,branch:a,...e,message:u}}function*a(e,t,n,o){var a;r(a=e)&&"function"==typeof a[Symbol.iterator]||(e=[e]);for(const r of e){const e=i(r,t,n,o);e&&(yield e)}}function*s(e,t,n={}){const{path:o=[],branch:i=[e],coerce:a=!1,mask:c=!1}=n,u={path:o,branch:i};if(a&&(e=t.coercer(e,u),c&&"type"!==t.type&&r(t.schema)&&r(e)&&!Array.isArray(e)))for(const r in e)t.schema[r]===undefined&&delete e[r];let l="valid";for(const r of t.validator(e,u))r.explanation=n.message,l="not_valid",yield[r,undefined];for(let[f,d,h]of t.entries(e,u)){const t=s(d,h,{path:f===undefined?o:[...o,f],branch:f===undefined?i:[...i,d],coerce:a,mask:c,message:n.message});for(const n of t)n[0]?(l=null!=n[0].refinement?"not_refined":"not_valid",yield[n[0],undefined]):a&&(d=n[1],f===undefined?e=d:e instanceof Map?e.set(f,d):e instanceof Set?e.add(d):r(e)&&(d!==undefined||f in e)&&(e[f]=d))}if("not_valid"!==l)for(const r of t.refiner(e,u))r.explanation=n.message,l="not_refined",yield[r,undefined];"valid"===l&&(yield[undefined,e])}class c{constructor(e){const{type:t,schema:r,validator:n,refiner:o,coercer:i=(e=>e),entries:s=function*(){}}=e;this.type=t,this.schema=r,this.entries=s,this.coercer=i,this.validator=n?(e,t)=>a(n(e,t),t,this,e):()=>[],this.refiner=o?(e,t)=>a(o(e,t),t,this,e):()=>[]}assert(e,t){return u(e,this,t)}create(e,t){return l(e,this,t)}is(e){return d(e,this)}mask(e,t){return f(e,this,t)}validate(e,t={}){return h(e,this,t)}}function u(e,t,r){const n=h(e,t,{message:r});if(n[0])throw n[0]}function l(e,t,r){const n=h(e,t,{coerce:!0,message:r});if(n[0])throw n[0];return n[1]}function f(e,t,r){const n=h(e,t,{coerce:!0,mask:!0,message:r});if(n[0])throw n[0];return n[1]}function d(e,t){return!h(e,t)[0]}function h(e,r,n={}){const o=s(e,r,n),i=function(e){const{done:t,value:r}=e.next();return t?undefined:r}(o);if(i[0]){return[new t(i[0],(function*(){for(const e of o)e[0]&&(yield e[0])})),undefined]}{const e=i[1];return[undefined,e]}}function p(e,t){return new c({type:e,schema:null,validator:t})}function m(){return p("never",(()=>!1))}function g(e){const t=e?Object.keys(e):[],n=m();return new c({type:"object",schema:e||null,*entries(o){if(e&&r(o)){const r=new Set(Object.keys(o));for(const n of t)r.delete(n),yield[n,o[n],e[n]];for(const e of r)yield[e,o[e],n]}},validator:e=>r(e)||`Expected an object, but received: ${o(e)}`,coercer:e=>r(e)?{...e}:e})}function A(e){return new c({...e,validator:(t,r)=>t===undefined||e.validator(t,r),refiner:(t,r)=>t===undefined||e.refiner(t,r)})}function y(){return p("string",(e=>"string"==typeof e||`Expected a string, but received: ${o(e)}`))}function _(e){const t=Object.keys(e);return new c({type:"type",schema:e,*entries(n){if(r(n))for(const r of t)yield[r,n[r],e[r]]},validator:e=>r(e)||`Expected an object, but received: ${o(e)}`,coercer:e=>r(e)?{...e}:e})}function b(){return p("unknown",(()=>!0))}function v(e,t,r){return new c({...e,coercer:(n,o)=>d(n,t)?e.coercer(r(n,o),o):e.coercer(n,o)})}function E(e){return e instanceof Map||e instanceof Set?e.size:e.length}function T(e,t,r){return new c({...e,*refiner(n,o){yield*e.refiner(n,o);const i=a(r(n,o),o,e,n);for(const e of i)yield{...e,refinement:t}}})}e.Struct=c,e.StructError=t,e.any=function(){return p("any",(()=>!0))},e.array=function(e){return new c({type:"array",schema:e,*entries(t){if(e&&Array.isArray(t))for(const[r,n]of t.entries())yield[r,n,e]},coercer:e=>Array.isArray(e)?e.slice():e,validator:e=>Array.isArray(e)||`Expected an array value, but received: ${o(e)}`})},e.assert=u,e.assign=function(...e){const t="type"===e[0].type,r=e.map((e=>e.schema)),n=Object.assign({},...r);return t?_(n):g(n)},e.bigint=function(){return p("bigint",(e=>"bigint"==typeof e))},e.boolean=function(){return p("boolean",(e=>"boolean"==typeof e))},e.coerce=v,e.create=l,e.date=function(){return p("date",(e=>e instanceof Date&&!isNaN(e.getTime())||`Expected a valid \`Date\` object, but received: ${o(e)}`))},e.defaulted=function(e,t,r={}){return v(e,b(),(e=>{const o="function"==typeof t?t():t;if(e===undefined)return o;if(!r.strict&&n(e)&&n(o)){const t={...e};let r=!1;for(const e in o)t[e]===undefined&&(t[e]=o[e],r=!0);if(r)return t}return e}))},e.define=p,e.deprecated=function(e,t){return new c({...e,refiner:(t,r)=>t===undefined||e.refiner(t,r),validator:(r,n)=>r===undefined||(t(r,n),e.validator(r,n))})},e.dynamic=function(e){return new c({type:"dynamic",schema:null,*entries(t,r){const n=e(t,r);yield*n.entries(t,r)},validator:(t,r)=>e(t,r).validator(t,r),coercer:(t,r)=>e(t,r).coercer(t,r),refiner:(t,r)=>e(t,r).refiner(t,r)})},e.empty=function(e){return T(e,"empty",(t=>{const r=E(t);return 0===r||`Expected an empty ${e.type} but received one with a size of \`${r}\``}))},e.enums=function(e){const t={},r=e.map((e=>o(e))).join();for(const r of e)t[r]=r;return new c({type:"enums",schema:t,validator:t=>e.includes(t)||`Expected one of \`${r}\`, but received: ${o(t)}`})},e.func=function(){return p("func",(e=>"function"==typeof e||`Expected a function, but received: ${o(e)}`))},e.instance=function(e){return p("instance",(t=>t instanceof e||`Expected a \`${e.name}\` instance, but received: ${o(t)}`))},e.integer=function(){return p("integer",(e=>"number"==typeof e&&!isNaN(e)&&Number.isInteger(e)||`Expected an integer, but received: ${o(e)}`))},e.intersection=function(e){return new c({type:"intersection",schema:null,*entries(t,r){for(const n of e)yield*n.entries(t,r)},*validator(t,r){for(const n of e)yield*n.validator(t,r)},*refiner(t,r){for(const n of e)yield*n.refiner(t,r)}})},e.is=d,e.lazy=function(e){let t;return new c({type:"lazy",schema:null,*entries(r,n){t??(t=e()),yield*t.entries(r,n)},validator:(r,n)=>(t??(t=e()),t.validator(r,n)),coercer:(r,n)=>(t??(t=e()),t.coercer(r,n)),refiner:(r,n)=>(t??(t=e()),t.refiner(r,n))})},e.literal=function(e){const t=o(e),r=typeof e;return new c({type:"literal",schema:"string"===r||"number"===r||"boolean"===r?e:null,validator:r=>r===e||`Expected the literal \`${t}\`, but received: ${o(r)}`})},e.map=function(e,t){return new c({type:"map",schema:null,*entries(r){if(e&&t&&r instanceof Map)for(const[n,o]of r.entries())yield[n,n,e],yield[n,o,t]},coercer:e=>e instanceof Map?new Map(e):e,validator:e=>e instanceof Map||`Expected a \`Map\` object, but received: ${o(e)}`})},e.mask=f,e.max=function(e,t,r={}){const{exclusive:n}=r;return T(e,"max",(r=>n?rn?r>t:r>=t||`Expected a ${e.type} greater than ${n?"":"or equal to "}${t} but received \`${r}\``))},e.never=m,e.nonempty=function(e){return T(e,"nonempty",(t=>E(t)>0||`Expected a nonempty ${e.type} but received an empty one`))},e.nullable=function(e){return new c({...e,validator:(t,r)=>null===t||e.validator(t,r),refiner:(t,r)=>null===t||e.refiner(t,r)})},e.number=function(){return p("number",(e=>"number"==typeof e&&!isNaN(e)||`Expected a number, but received: ${o(e)}`))},e.object=g,e.omit=function(e,t){const{schema:r}=e,n={...r};for(const e of t)delete n[e];return"type"===e.type?_(n):g(n)},e.optional=A,e.partial=function(e){const t=e instanceof c?{...e.schema}:{...e};for(const e in t)t[e]=A(t[e]);return g(t)},e.pattern=function(e,t){return T(e,"pattern",(r=>t.test(r)||`Expected a ${e.type} matching \`/${t.source}/\` but received "${r}"`))},e.pick=function(e,t){const{schema:r}=e,n={};for(const e of t)n[e]=r[e];return g(n)},e.record=function(e,t){return new c({type:"record",schema:null,*entries(n){if(r(n))for(const r in n){const o=n[r];yield[r,r,e],yield[r,o,t]}},validator:e=>r(e)||`Expected an object, but received: ${o(e)}`})},e.refine=T,e.regexp=function(){return p("regexp",(e=>e instanceof RegExp))},e.set=function(e){return new c({type:"set",schema:null,*entries(t){if(e&&t instanceof Set)for(const r of t)yield[r,r,e]},coercer:e=>e instanceof Set?new Set(e):e,validator:e=>e instanceof Set||`Expected a \`Set\` object, but received: ${o(e)}`})},e.size=function(e,t,r=t){const n=`Expected a ${e.type}`,o=t===r?`of \`${t}\``:`between \`${t}\` and \`${r}\``;return T(e,"size",(e=>{if("number"==typeof e||e instanceof Date)return t<=e&&e<=r||`${n} ${o} but received \`${e}\``;if(e instanceof Map||e instanceof Set){const{size:i}=e;return t<=i&&i<=r||`${n} with a size ${o} but received one with a size of \`${i}\``}{const{length:i}=e;return t<=i&&i<=r||`${n} with a length ${o} but received one with a length of \`${i}\``}}))},e.string=y,e.struct=function(e,t){return console.warn("superstruct@0.11 - The `struct` helper has been renamed to `define`."),p(e,t)},e.trimmed=function(e){return v(e,y(),(e=>e.trim()))},e.tuple=function(e){const t=m();return new c({type:"tuple",schema:null,*entries(r){if(Array.isArray(r)){const n=Math.max(e.length,r.length);for(let o=0;oArray.isArray(e)||`Expected an array, but received: ${o(e)}`})},e.type=_,e.union=function(e){const t=e.map((e=>e.type)).join(" | ");return new c({type:"union",schema:null,coercer(t){for(const r of e){const[e,n]=r.validate(t,{coerce:!0});if(!e)return n}return t},validator(r,n){const i=[];for(const t of e){const[...e]=s(r,t,n),[o]=e;if(!o[0])return[];for(const[t]of e)t&&i.push(t)}return[`Expected the value to satisfy a union of \`${t}\`, but received: ${o(r)}`,...i]}})},e.unknown=b,e.validate=h}))}}},{package:"superstruct",file:"node_modules/superstruct/dist/index.cjs"}],[436,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.compactBytesToNibbles=r.bytesToNibbles=r.nibblesToCompactBytes=r.nibblesToBytes=r.hasTerminator=void 0;r.hasTerminator=e=>e.length>0&&16===e[e.length-1];r.nibblesToBytes=(e,t)=>{for(let r=0,n=0;n{let t=0;(0,r.hasTerminator)(e)&&(t=1,e=e.subarray(0,e.length-1));const n=new Uint8Array(e.length/2+1);return n[0]=t<<5,1&~e.length||(n[0]|=16,n[0]|=e[0],e=e.subarray(1)),(0,r.nibblesToBytes)(e,n.subarray(1)),n};r.bytesToNibbles=e=>{const t=2*e.length+1,r=new Uint8Array(t);for(let t=0;t{if(0===e.length)return e;let t=(0,r.bytesToNibbles)(e);t[0]<2&&(t=t.subarray(0,t.length-1));const n=2-(1&t[0]);return t.subarray(n)}}}},{package:"@ethereumjs/tx>@ethereumjs/util",file:"node_modules/@ethereumjs/util/dist/encoding.js"}],[4365,{"process/browser.js":3992,timers:4365},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(t,n){(function(){var o=e("process/browser.js").nextTick,i=Function.prototype.apply,a=Array.prototype.slice,s={},c=0;function u(e,t){this._id=e,this._clearFn=t}r.setTimeout=function(){return new u(i.call(setTimeout,window,arguments),clearTimeout)},r.setInterval=function(){return new u(i.call(setInterval,window,arguments),clearInterval)},r.clearTimeout=r.clearInterval=function(e){e.close()},u.prototype.unref=u.prototype.ref=function(){},u.prototype.close=function(){this._clearFn.call(window,this._id)},r.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},r.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},r._unrefActive=r.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},r.setImmediate="function"==typeof t?t:function(e){var t=c++,n=!(arguments.length<2)&&a.call(arguments,1);return s[t]=!0,o((function(){s[t]&&(n?e.apply(null,n):e.call(null),r.clearImmediate(t))})),t},r.clearImmediate="function"==typeof n?n:function(e){delete s[e]}}).call(this)}).call(this,e("timers").setImmediate,e("timers").clearImmediate)}}},{package:"browserify>timers-browserify",file:"node_modules/timers-browserify/main.js"}],[437,{"../../../is-buffer/index.js":3648,"./internal":439},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(t){(function(){Object.defineProperty(r,"__esModule",{value:!0}),r.assertIsString=r.assertIsArray=r.assertIsBuffer=r.assertIsHexString=void 0;const n=e("./internal");r.assertIsHexString=function(e){if(!(0,n.isHexString)(e)){throw new Error(`This method only supports 0x-prefixed hex strings but input was: ${e}`)}};r.assertIsBuffer=function(e){if(!t.isBuffer(e)){throw new Error(`This method only supports Buffer but input was: ${e}`)}};r.assertIsArray=function(e){if(!Array.isArray(e)){throw new Error(`This method only supports number arrays but input was: ${e}`)}};r.assertIsString=function(e){if("string"!=typeof e){throw new Error(`This method only supports strings but input was: ${e}`)}}}).call(this)}).call(this,{isBuffer:e("../../../is-buffer/index.js")})}}},{package:"@ethereumjs/tx>@ethereumjs/util",file:"node_modules/@ethereumjs/util/dist/helpers.js"}],[4371,{"./mixin-tracking":4373,"./util":4377},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.decorate=r.getDecoratorsForClass=r.directDecoratorSearch=r.deepDecoratorSearch=void 0;const n=e("./util"),o=e("./mixin-tracking"),i=(e,t)=>{var r,o;const i=(0,n.unique)([...Object.getOwnPropertyNames(e),...Object.getOwnPropertyNames(t)]),a={};for(let s of i)a[s]=(0,n.unique)([...null!==(r=null==e?void 0:e[s])&&void 0!==r?r:[],...null!==(o=null==t?void 0:t[s])&&void 0!==o?o:[]]);return a},a=(e,t)=>{var r,n,o,a;return{property:i(null!==(r=null==e?void 0:e.property)&&void 0!==r?r:{},null!==(n=null==t?void 0:t.property)&&void 0!==n?n:{}),method:i(null!==(o=null==e?void 0:e.method)&&void 0!==o?o:{},null!==(a=null==t?void 0:t.method)&&void 0!==a?a:{})}},s=(e,t)=>{var r,o,i,s,c,u;return{class:(0,n.unique)([...null!==(r=null==e?void 0:e.class)&&void 0!==r?r:[],...null!==(o=null==t?void 0:t.class)&&void 0!==o?o:[]]),static:a(null!==(i=null==e?void 0:e.static)&&void 0!==i?i:{},null!==(s=null==t?void 0:t.static)&&void 0!==s?s:{}),instance:a(null!==(c=null==e?void 0:e.instance)&&void 0!==c?c:{},null!==(u=null==t?void 0:t.instance)&&void 0!==u?u:{})}},c=new Map;r.deepDecoratorSearch=(...e)=>{const t=((...e)=>{var t;const r=new Set,i=new Set([...e]);for(;i.size>0;)for(let e of i){const a=[...(0,n.protoChain)(e.prototype).map((e=>e.constructor)),...null!==(t=(0,o.getMixinsForClass)(e))&&void 0!==t?t:[]].filter((e=>!r.has(e)));for(let e of a)i.add(e);r.add(e),i.delete(e)}return[...r]})(...e).map((e=>c.get(e))).filter((e=>!!e));return 0==t.length?{}:1==t.length?t[0]:t.reduce(((e,t)=>s(e,t)))};r.directDecoratorSearch=(...e)=>{const t=e.map((e=>(0,r.getDecoratorsForClass)(e)));return 0===t.length?{}:1===t.length?t[0]:t.reduce(((e,t)=>s(e,t)))};r.getDecoratorsForClass=e=>{let t=c.get(e);return t||(t={},c.set(e,t)),t};r.decorate=e=>(...t)=>1===t.length?(e=>t=>{const n=(0,r.getDecoratorsForClass)(t);let o=n.class;return o||(o=[],n.class=o),o.push(e),e(t)})(e)(t[0]):(e=>(t,n,...o)=>{var i,a,s;const c="function"==typeof t?"static":"instance",u="function"==typeof t[n]?"method":"property",l="static"===c?t:t.constructor,f=(0,r.getDecoratorsForClass)(l),d=null!==(i=null==f?void 0:f[c])&&void 0!==i?i:{};f[c]=d;let h=null!==(a=null==d?void 0:d[u])&&void 0!==a?a:{};d[u]=h;let p=null!==(s=null==h?void 0:h[n])&&void 0!==s?s:[];return h[n]=p,p.push(e),e(t,n,...o)})(e)(...t)}}},{package:"ts-mixer",file:"node_modules/ts-mixer/dist/cjs/decorator.js"}],[4372,{"./decorator":4371,"./mixin-tracking":4373,"./mixins":4374,"./settings":4376},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.hasMixin=r.decorate=r.settings=r.mix=r.Mixin=void 0;var n=e("./mixins");Object.defineProperty(r,"Mixin",{enumerable:!0,get:function(){return n.Mixin}}),Object.defineProperty(r,"mix",{enumerable:!0,get:function(){return n.mix}});var o=e("./settings");Object.defineProperty(r,"settings",{enumerable:!0,get:function(){return o.settings}});var i=e("./decorator");Object.defineProperty(r,"decorate",{enumerable:!0,get:function(){return i.decorate}});var a=e("./mixin-tracking");Object.defineProperty(r,"hasMixin",{enumerable:!0,get:function(){return a.hasMixin}})}}},{package:"ts-mixer",file:"node_modules/ts-mixer/dist/cjs/index.js"}],[4373,{"./util":4377},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.hasMixin=r.registerMixins=r.getMixinsForClass=void 0;const n=e("./util"),o=new WeakMap;r.getMixinsForClass=e=>o.get(e);r.registerMixins=(e,t)=>o.set(e,t);r.hasMixin=(e,t)=>{if(e instanceof t)return!0;const r=e.constructor,i=new Set;let a=new Set;for(a.add(r);a.size>0;){if(a.has(t))return!0;a.forEach((e=>i.add(e)));const e=new Set;a.forEach((t=>{var r;const s=null!==(r=o.get(t))&&void 0!==r?r:(0,n.protoChain)(t.prototype).map((e=>e.constructor)).filter((e=>null!==e));s&&s.forEach((t=>{i.has(t)||a.has(t)||e.add(t)}))})),a=e}return!1}}}},{package:"ts-mixer",file:"node_modules/ts-mixer/dist/cjs/mixin-tracking.js"}],[4374,{"./decorator":4371,"./mixin-tracking":4373,"./proxy":4375,"./settings":4376,"./util":4377},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.mix=r.Mixin=void 0;const n=e("./proxy"),o=e("./settings"),i=e("./util"),a=e("./decorator"),s=e("./mixin-tracking");function c(...e){var t,r,c;const l=e.map((e=>e.prototype)),f=o.settings.initFunction;if(null!==f){const e=l.map((e=>e[f])).filter((e=>"function"==typeof e)),t={[f]:function(...t){for(let r of e)r.apply(this,t)}};l.push(t)}function d(...t){for(const r of e)(0,i.copyProps)(this,new r(...t));null!==f&&"function"==typeof this[f]&&this[f].apply(this,t)}d.prototype="copy"===o.settings.prototypeStrategy?(0,i.hardMixProtos)(l,d):(0,n.softMixProtos)(l,d),Object.setPrototypeOf(d,"copy"===o.settings.staticsStrategy?(0,i.hardMixProtos)(e,null,["prototype"]):(0,n.proxyMix)(e,Function.prototype));let h=d;if("none"!==o.settings.decoratorInheritance){const n="deep"===o.settings.decoratorInheritance?(0,a.deepDecoratorSearch)(...e):(0,a.directDecoratorSearch)(...e);for(let e of null!==(t=null==n?void 0:n.class)&&void 0!==t?t:[]){const t=e(h);t&&(h=t)}u(null!==(r=null==n?void 0:n.static)&&void 0!==r?r:{},h),u(null!==(c=null==n?void 0:n.instance)&&void 0!==c?c:{},h.prototype)}return(0,s.registerMixins)(h,e),h}r.Mixin=c;const u=(e,t)=>{const r=e.property,n=e.method;if(r)for(let e in r)for(let n of r[e])n(t,e);if(n)for(let e in n)for(let r of n[e])r(t,e,Object.getOwnPropertyDescriptor(t,e))};r.mix=(...e)=>t=>{const r=c(...e.concat([t]));return Object.defineProperty(r,"name",{value:t.name,writable:!1}),r}}}},{package:"ts-mixer",file:"node_modules/ts-mixer/dist/cjs/mixins.js"}],[4375,{"./util":4377},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.softMixProtos=r.proxyMix=r.getIngredientWithProp=void 0;const n=e("./util");r.getIngredientWithProp=(e,t)=>{const r=t.map((e=>(0,n.protoChain)(e)));let o=0,i=!0;for(;i;){i=!1;for(let n=t.length-1;n>=0;n--){const t=r[n][o];if(t!==undefined&&null!==t&&(i=!0,Object.getOwnPropertyDescriptor(t,e)!=undefined))return r[n][0]}o++}return undefined};r.proxyMix=(e,t=Object.prototype)=>new Proxy({},{getPrototypeOf:()=>t,setPrototypeOf(){throw Error("Cannot set prototype of Proxies created by ts-mixer")},getOwnPropertyDescriptor:(t,n)=>Object.getOwnPropertyDescriptor((0,r.getIngredientWithProp)(n,e)||{},n),defineProperty(){throw new Error("Cannot define new properties on Proxies created by ts-mixer")},has:(n,o)=>(0,r.getIngredientWithProp)(o,e)!==undefined||t[o]!==undefined,get:(n,o)=>((0,r.getIngredientWithProp)(o,e)||t)[o],set(t,n,o){const i=(0,r.getIngredientWithProp)(n,e);if(i===undefined)throw new Error("Cannot set new properties on Proxies created by ts-mixer");return i[n]=o,!0},deleteProperty(){throw new Error("Cannot delete properties on Proxies created by ts-mixer")},ownKeys:()=>e.map(Object.getOwnPropertyNames).reduce(((e,t)=>t.concat(e.filter((e=>t.indexOf(e)<0)))))});r.softMixProtos=(e,t)=>(0,r.proxyMix)([...e,{constructor:t}])}}},{package:"ts-mixer",file:"node_modules/ts-mixer/dist/cjs/proxy.js"}],[4376,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.settings=void 0,r.settings={initFunction:null,staticsStrategy:"copy",prototypeStrategy:"copy",decoratorInheritance:"deep"}}}},{package:"ts-mixer",file:"node_modules/ts-mixer/dist/cjs/settings.js"}],[4377,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.flatten=r.unique=r.hardMixProtos=r.nearestCommonProto=r.protoChain=r.copyProps=void 0;r.copyProps=(e,t,r=[])=>{const n=Object.getOwnPropertyDescriptors(t);for(let e of r)delete n[e];Object.defineProperties(e,n)};r.protoChain=(e,t=[e])=>{const n=Object.getPrototypeOf(e);return null===n?t:(0,r.protoChain)(n,[...t,n])};r.nearestCommonProto=(...e)=>{if(0===e.length)return undefined;let t=undefined;const n=e.map((e=>(0,r.protoChain)(e)));for(;n.every((e=>e.length>0));){const e=n.map((e=>e.pop())),r=e[0];if(!e.every((e=>e===r)))break;t=r}return t};r.hardMixProtos=(e,t,n=[])=>{var o;const i=null!==(o=(0,r.nearestCommonProto)(...e))&&void 0!==o?o:Object.prototype,a=Object.create(i),s=(0,r.protoChain)(i);for(let t of e){let e=(0,r.protoChain)(t);for(let t=e.length-1;t>=0;t--){let o=e[t];-1===s.indexOf(o)&&((0,r.copyProps)(a,o,["constructor",...n]),s.push(o))}}return a.constructor=t,a};r.unique=e=>e.filter(((t,r)=>e.indexOf(t)==r));r.flatten=e=>0===e.length?[]:1===e.length?e[0]:e.reduce(((e,t)=>[...e,...t]))}}},{package:"ts-mixer",file:"node_modules/ts-mixer/dist/cjs/util.js"}],[4378,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,o,i,a,s,c,u,l,f,d,h,p,m,g,A,y,_,b,v,E,T,w,N,S,I,O,C,M,R,P,x;!function(e){var r="object"==typeof global?global:"object"==typeof self?self:"object"==typeof this?this:{};function n(e,t){return e!==r&&("function"==typeof Object.create?Object.defineProperty(e,"__esModule",{value:!0}):e.__esModule=!0),function(r,n){return e[r]=t?t(r,n):n}}"function"==typeof define&&define.amd?define("tslib",["exports"],(function(t){e(n(r,n(t)))})):"object"==typeof t&&"object"==typeof t.exports?e(n(r,n(t.exports))):e(n(r))}((function(e){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])};n=function(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)},o=Object.assign||function(e){for(var t,r=1,n=arguments.length;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},s=function(e,t){return function(r,n){t(r,n,e)}},c=function(e,t,r,n,o,i){function a(e){if(void 0!==e&&"function"!=typeof e)throw new TypeError("Function expected");return e}for(var s,c=n.kind,u="getter"===c?"get":"setter"===c?"set":"value",l=!t&&e?n.static?e:e.prototype:null,f=t||(l?Object.getOwnPropertyDescriptor(l,n.name):{}),d=!1,h=r.length-1;h>=0;h--){var p={};for(var m in n)p[m]="access"===m?{}:n[m];for(var m in n.access)p.access[m]=n.access[m];p.addInitializer=function(e){if(d)throw new TypeError("Cannot add initializers after decoration has completed");i.push(a(e||null))};var g=(0,r[h])("accessor"===c?{get:f.get,set:f.set}:f[u],p);if("accessor"===c){if(void 0===g)continue;if(null===g||"object"!=typeof g)throw new TypeError("Object expected");(s=a(g.get))&&(f.get=s),(s=a(g.set))&&(f.set=s),(s=a(g.init))&&o.unshift(s)}else(s=a(g))&&("field"===c?o.unshift(s):f[u]=s)}l&&Object.defineProperty(l,n.name,f),d=!0},u=function(e,t,r){for(var n=arguments.length>2,o=0;o0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},A=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},y=function(){for(var e=[],t=0;t1||s(e,t)}))})}function s(e,t){try{(r=o[e](t)).value instanceof v?Promise.resolve(r.value.v).then(c,u):l(i[0][2],r)}catch(e){l(i[0][3],e)}var r}function c(e){s("next",e)}function u(e){s("throw",e)}function l(e,t){e(t),i.shift(),i.length&&s(i[0][0],i[0][1])}},T=function(e){var t,r;return t={},n("next"),n("throw",(function(e){throw e})),n("return"),t[Symbol.iterator]=function(){return this},t;function n(n,o){t[n]=e[n]?function(t){return(r=!r)?{value:v(e[n](t)),done:!1}:o?o(t):t}:o}},w=function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e=g(e),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(r){t[r]=e[r]&&function(t){return new Promise((function(n,o){(function(e,t,r,n){Promise.resolve(n).then((function(t){e({value:t,done:r})}),t)})(n,o,(t=e[r](t)).done,t.value)}))}}},N=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e};var r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};S=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&R(t,e,n);return r(t,e),t},I=function(e){return e&&e.__esModule?e:{default:e}},O=function(e,t,r,n){if("a"===r&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)},C=function(e,t,r,n,o){if("m"===n)throw new TypeError("Private method is not writable");if("a"===n&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?o.call(e,r):o?o.value=r:t.set(e,r),r},M=function(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)},P=function(e,t,r){if(null!=t){if("object"!=typeof t&&"function"!=typeof t)throw new TypeError("Object expected.");var n;if(r){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");n=t[Symbol.asyncDispose]}if(void 0===n){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");n=t[Symbol.dispose]}if("function"!=typeof n)throw new TypeError("Object not disposable.");e.stack.push({value:t,dispose:n,async:r})}else r&&e.stack.push({async:!0});return t};var k="function"==typeof SuppressedError?SuppressedError:function(e,t,r){var n=new Error(r);return n.name="SuppressedError",n.error=e,n.suppressed=t,n};x=function(e){function t(t){e.error=e.hasError?new k(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}return function r(){for(;e.stack.length;){var n=e.stack.pop();try{var o=n.dispose&&n.dispose.call(n.value);if(n.async)return Promise.resolve(o).then(r,(function(e){return t(e),r()}))}catch(e){t(e)}}if(e.hasError)throw e.error}()},e("__extends",n),e("__assign",o),e("__rest",i),e("__decorate",a),e("__param",s),e("__esDecorate",c),e("__runInitializers",u),e("__propKey",l),e("__setFunctionName",f),e("__metadata",d),e("__awaiter",h),e("__generator",p),e("__exportStar",m),e("__createBinding",R),e("__values",g),e("__read",A),e("__spread",y),e("__spreadArrays",_),e("__spreadArray",b),e("__await",v),e("__asyncGenerator",E),e("__asyncDelegator",T),e("__asyncValues",w),e("__makeTemplateObject",N),e("__importStar",S),e("__importDefault",I),e("__classPrivateFieldGet",O),e("__classPrivateFieldSet",C),e("__classPrivateFieldIn",M),e("__addDisposableResource",P),e("__disposeResources",x)}))}}},{package:"@trezor/connect-web>tslib",file:"node_modules/tslib/tslib.js"}],[4379,{buffer:2993},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(e){(function(){var r,n;r=this,n=function(){var t={};function r(e){if(!/^(?:[A-Za-z0-9+\/]{2}[A-Za-z0-9+\/]{2})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/.test(e))throw new TypeError("invalid encoding")}return t.decodeUTF8=function(e){if("string"!=typeof e)throw new TypeError("expected string");var t,r=unescape(encodeURIComponent(e)),n=new Uint8Array(r.length);for(t=0;ttweetnacl-util",file:"node_modules/tweetnacl-util/nacl-util.js"}],[438,{"./account":431,"./address":432,"./asyncEventEmitter":433,"./bytes":434,"./constants":435,"./encoding":436,"./internal":439,"./lock":440,"./provider":441,"./signature":442,"./types":443,"./units":444,"./withdrawal":445},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){n===undefined&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){n===undefined&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(r,"__esModule",{value:!0}),r.toAscii=r.stripHexPrefix=r.padToEven=r.isHexString=r.isHexPrefixed=r.getKeys=r.getBinarySize=r.fromUtf8=r.fromAscii=r.arrayContainsArray=void 0,o(e("./constants"),r),o(e("./units"),r),o(e("./account"),r),o(e("./address"),r),o(e("./withdrawal"),r),o(e("./signature"),r),o(e("./bytes"),r),o(e("./types"),r),o(e("./encoding"),r),o(e("./asyncEventEmitter"),r);var i=e("./internal");Object.defineProperty(r,"arrayContainsArray",{enumerable:!0,get:function(){return i.arrayContainsArray}}),Object.defineProperty(r,"fromAscii",{enumerable:!0,get:function(){return i.fromAscii}}),Object.defineProperty(r,"fromUtf8",{enumerable:!0,get:function(){return i.fromUtf8}}),Object.defineProperty(r,"getBinarySize",{enumerable:!0,get:function(){return i.getBinarySize}}),Object.defineProperty(r,"getKeys",{enumerable:!0,get:function(){return i.getKeys}}),Object.defineProperty(r,"isHexPrefixed",{enumerable:!0,get:function(){return i.isHexPrefixed}}),Object.defineProperty(r,"isHexString",{enumerable:!0,get:function(){return i.isHexString}}),Object.defineProperty(r,"padToEven",{enumerable:!0,get:function(){return i.padToEven}}),Object.defineProperty(r,"stripHexPrefix",{enumerable:!0,get:function(){return i.stripHexPrefix}}),Object.defineProperty(r,"toAscii",{enumerable:!0,get:function(){return i.toAscii}}),o(e("./lock"),r),o(e("./provider"),r)}}},{package:"@ethereumjs/tx>@ethereumjs/util",file:"node_modules/@ethereumjs/util/dist/index.js"}],[4380,{crypto:2993},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){!function(t){var r=function(e){var t,r=new Float64Array(16);if(e)for(t=0;t>24&255,e[t+1]=r>>16&255,e[t+2]=r>>8&255,e[t+3]=255&r,e[t+4]=n>>24&255,e[t+5]=n>>16&255,e[t+6]=n>>8&255,e[t+7]=255&n}function m(e,t,r,n,o){var i,a=0;for(i=0;i>>8)-1}function g(e,t,r,n){return m(e,t,r,n,16)}function A(e,t,r,n){return m(e,t,r,n,32)}function y(e,t,r,n){!function(e,t,r,n){for(var o,i=255&n[0]|(255&n[1])<<8|(255&n[2])<<16|(255&n[3])<<24,a=255&r[0]|(255&r[1])<<8|(255&r[2])<<16|(255&r[3])<<24,s=255&r[4]|(255&r[5])<<8|(255&r[6])<<16|(255&r[7])<<24,c=255&r[8]|(255&r[9])<<8|(255&r[10])<<16|(255&r[11])<<24,u=255&r[12]|(255&r[13])<<8|(255&r[14])<<16|(255&r[15])<<24,l=255&n[4]|(255&n[5])<<8|(255&n[6])<<16|(255&n[7])<<24,f=255&t[0]|(255&t[1])<<8|(255&t[2])<<16|(255&t[3])<<24,d=255&t[4]|(255&t[5])<<8|(255&t[6])<<16|(255&t[7])<<24,h=255&t[8]|(255&t[9])<<8|(255&t[10])<<16|(255&t[11])<<24,p=255&t[12]|(255&t[13])<<8|(255&t[14])<<16|(255&t[15])<<24,m=255&n[8]|(255&n[9])<<8|(255&n[10])<<16|(255&n[11])<<24,g=255&r[16]|(255&r[17])<<8|(255&r[18])<<16|(255&r[19])<<24,A=255&r[20]|(255&r[21])<<8|(255&r[22])<<16|(255&r[23])<<24,y=255&r[24]|(255&r[25])<<8|(255&r[26])<<16|(255&r[27])<<24,_=255&r[28]|(255&r[29])<<8|(255&r[30])<<16|(255&r[31])<<24,b=255&n[12]|(255&n[13])<<8|(255&n[14])<<16|(255&n[15])<<24,v=i,E=a,T=s,w=c,N=u,S=l,I=f,O=d,C=h,M=p,R=m,P=g,x=A,k=y,L=_,j=b,B=0;B<20;B+=2)v^=(o=(x^=(o=(C^=(o=(N^=(o=v+x|0)<<7|o>>>25)+v|0)<<9|o>>>23)+N|0)<<13|o>>>19)+C|0)<<18|o>>>14,S^=(o=(E^=(o=(k^=(o=(M^=(o=S+E|0)<<7|o>>>25)+S|0)<<9|o>>>23)+M|0)<<13|o>>>19)+k|0)<<18|o>>>14,R^=(o=(I^=(o=(T^=(o=(L^=(o=R+I|0)<<7|o>>>25)+R|0)<<9|o>>>23)+L|0)<<13|o>>>19)+T|0)<<18|o>>>14,j^=(o=(P^=(o=(O^=(o=(w^=(o=j+P|0)<<7|o>>>25)+j|0)<<9|o>>>23)+w|0)<<13|o>>>19)+O|0)<<18|o>>>14,v^=(o=(w^=(o=(T^=(o=(E^=(o=v+w|0)<<7|o>>>25)+v|0)<<9|o>>>23)+E|0)<<13|o>>>19)+T|0)<<18|o>>>14,S^=(o=(N^=(o=(O^=(o=(I^=(o=S+N|0)<<7|o>>>25)+S|0)<<9|o>>>23)+I|0)<<13|o>>>19)+O|0)<<18|o>>>14,R^=(o=(M^=(o=(C^=(o=(P^=(o=R+M|0)<<7|o>>>25)+R|0)<<9|o>>>23)+P|0)<<13|o>>>19)+C|0)<<18|o>>>14,j^=(o=(L^=(o=(k^=(o=(x^=(o=j+L|0)<<7|o>>>25)+j|0)<<9|o>>>23)+x|0)<<13|o>>>19)+k|0)<<18|o>>>14;v=v+i|0,E=E+a|0,T=T+s|0,w=w+c|0,N=N+u|0,S=S+l|0,I=I+f|0,O=O+d|0,C=C+h|0,M=M+p|0,R=R+m|0,P=P+g|0,x=x+A|0,k=k+y|0,L=L+_|0,j=j+b|0,e[0]=v>>>0&255,e[1]=v>>>8&255,e[2]=v>>>16&255,e[3]=v>>>24&255,e[4]=E>>>0&255,e[5]=E>>>8&255,e[6]=E>>>16&255,e[7]=E>>>24&255,e[8]=T>>>0&255,e[9]=T>>>8&255,e[10]=T>>>16&255,e[11]=T>>>24&255,e[12]=w>>>0&255,e[13]=w>>>8&255,e[14]=w>>>16&255,e[15]=w>>>24&255,e[16]=N>>>0&255,e[17]=N>>>8&255,e[18]=N>>>16&255,e[19]=N>>>24&255,e[20]=S>>>0&255,e[21]=S>>>8&255,e[22]=S>>>16&255,e[23]=S>>>24&255,e[24]=I>>>0&255,e[25]=I>>>8&255,e[26]=I>>>16&255,e[27]=I>>>24&255,e[28]=O>>>0&255,e[29]=O>>>8&255,e[30]=O>>>16&255,e[31]=O>>>24&255,e[32]=C>>>0&255,e[33]=C>>>8&255,e[34]=C>>>16&255,e[35]=C>>>24&255,e[36]=M>>>0&255,e[37]=M>>>8&255,e[38]=M>>>16&255,e[39]=M>>>24&255,e[40]=R>>>0&255,e[41]=R>>>8&255,e[42]=R>>>16&255,e[43]=R>>>24&255,e[44]=P>>>0&255,e[45]=P>>>8&255,e[46]=P>>>16&255,e[47]=P>>>24&255,e[48]=x>>>0&255,e[49]=x>>>8&255,e[50]=x>>>16&255,e[51]=x>>>24&255,e[52]=k>>>0&255,e[53]=k>>>8&255,e[54]=k>>>16&255,e[55]=k>>>24&255,e[56]=L>>>0&255,e[57]=L>>>8&255,e[58]=L>>>16&255,e[59]=L>>>24&255,e[60]=j>>>0&255,e[61]=j>>>8&255,e[62]=j>>>16&255,e[63]=j>>>24&255}(e,t,r,n)}function _(e,t,r,n){!function(e,t,r,n){for(var o,i=255&n[0]|(255&n[1])<<8|(255&n[2])<<16|(255&n[3])<<24,a=255&r[0]|(255&r[1])<<8|(255&r[2])<<16|(255&r[3])<<24,s=255&r[4]|(255&r[5])<<8|(255&r[6])<<16|(255&r[7])<<24,c=255&r[8]|(255&r[9])<<8|(255&r[10])<<16|(255&r[11])<<24,u=255&r[12]|(255&r[13])<<8|(255&r[14])<<16|(255&r[15])<<24,l=255&n[4]|(255&n[5])<<8|(255&n[6])<<16|(255&n[7])<<24,f=255&t[0]|(255&t[1])<<8|(255&t[2])<<16|(255&t[3])<<24,d=255&t[4]|(255&t[5])<<8|(255&t[6])<<16|(255&t[7])<<24,h=255&t[8]|(255&t[9])<<8|(255&t[10])<<16|(255&t[11])<<24,p=255&t[12]|(255&t[13])<<8|(255&t[14])<<16|(255&t[15])<<24,m=255&n[8]|(255&n[9])<<8|(255&n[10])<<16|(255&n[11])<<24,g=255&r[16]|(255&r[17])<<8|(255&r[18])<<16|(255&r[19])<<24,A=255&r[20]|(255&r[21])<<8|(255&r[22])<<16|(255&r[23])<<24,y=255&r[24]|(255&r[25])<<8|(255&r[26])<<16|(255&r[27])<<24,_=255&r[28]|(255&r[29])<<8|(255&r[30])<<16|(255&r[31])<<24,b=255&n[12]|(255&n[13])<<8|(255&n[14])<<16|(255&n[15])<<24,v=0;v<20;v+=2)i^=(o=(A^=(o=(h^=(o=(u^=(o=i+A|0)<<7|o>>>25)+i|0)<<9|o>>>23)+u|0)<<13|o>>>19)+h|0)<<18|o>>>14,l^=(o=(a^=(o=(y^=(o=(p^=(o=l+a|0)<<7|o>>>25)+l|0)<<9|o>>>23)+p|0)<<13|o>>>19)+y|0)<<18|o>>>14,m^=(o=(f^=(o=(s^=(o=(_^=(o=m+f|0)<<7|o>>>25)+m|0)<<9|o>>>23)+_|0)<<13|o>>>19)+s|0)<<18|o>>>14,b^=(o=(g^=(o=(d^=(o=(c^=(o=b+g|0)<<7|o>>>25)+b|0)<<9|o>>>23)+c|0)<<13|o>>>19)+d|0)<<18|o>>>14,i^=(o=(c^=(o=(s^=(o=(a^=(o=i+c|0)<<7|o>>>25)+i|0)<<9|o>>>23)+a|0)<<13|o>>>19)+s|0)<<18|o>>>14,l^=(o=(u^=(o=(d^=(o=(f^=(o=l+u|0)<<7|o>>>25)+l|0)<<9|o>>>23)+f|0)<<13|o>>>19)+d|0)<<18|o>>>14,m^=(o=(p^=(o=(h^=(o=(g^=(o=m+p|0)<<7|o>>>25)+m|0)<<9|o>>>23)+g|0)<<13|o>>>19)+h|0)<<18|o>>>14,b^=(o=(_^=(o=(y^=(o=(A^=(o=b+_|0)<<7|o>>>25)+b|0)<<9|o>>>23)+A|0)<<13|o>>>19)+y|0)<<18|o>>>14;e[0]=i>>>0&255,e[1]=i>>>8&255,e[2]=i>>>16&255,e[3]=i>>>24&255,e[4]=l>>>0&255,e[5]=l>>>8&255,e[6]=l>>>16&255,e[7]=l>>>24&255,e[8]=m>>>0&255,e[9]=m>>>8&255,e[10]=m>>>16&255,e[11]=m>>>24&255,e[12]=b>>>0&255,e[13]=b>>>8&255,e[14]=b>>>16&255,e[15]=b>>>24&255,e[16]=f>>>0&255,e[17]=f>>>8&255,e[18]=f>>>16&255,e[19]=f>>>24&255,e[20]=d>>>0&255,e[21]=d>>>8&255,e[22]=d>>>16&255,e[23]=d>>>24&255,e[24]=h>>>0&255,e[25]=h>>>8&255,e[26]=h>>>16&255,e[27]=h>>>24&255,e[28]=p>>>0&255,e[29]=p>>>8&255,e[30]=p>>>16&255,e[31]=p>>>24&255}(e,t,r,n)}var b=new Uint8Array([101,120,112,97,110,100,32,51,50,45,98,121,116,101,32,107]);function v(e,t,r,n,o,i,a){var s,c,u=new Uint8Array(16),l=new Uint8Array(64);for(c=0;c<16;c++)u[c]=0;for(c=0;c<8;c++)u[c]=i[c];for(;o>=64;){for(y(l,u,a,b),c=0;c<64;c++)e[t+c]=r[n+c]^l[c];for(s=1,c=8;c<16;c++)s=s+(255&u[c])|0,u[c]=255&s,s>>>=8;o-=64,t+=64,n+=64}if(o>0)for(y(l,u,a,b),c=0;c=64;){for(y(c,s,o,b),a=0;a<64;a++)e[t+a]=c[a];for(i=1,a=8;a<16;a++)i=i+(255&s[a])|0,s[a]=255&i,i>>>=8;r-=64,t+=64}if(r>0)for(y(c,s,o,b),a=0;a>>13|r<<3),n=255&e[4]|(255&e[5])<<8,this.r[2]=7939&(r>>>10|n<<6),o=255&e[6]|(255&e[7])<<8,this.r[3]=8191&(n>>>7|o<<9),i=255&e[8]|(255&e[9])<<8,this.r[4]=255&(o>>>4|i<<12),this.r[5]=i>>>1&8190,a=255&e[10]|(255&e[11])<<8,this.r[6]=8191&(i>>>14|a<<2),s=255&e[12]|(255&e[13])<<8,this.r[7]=8065&(a>>>11|s<<5),c=255&e[14]|(255&e[15])<<8,this.r[8]=8191&(s>>>8|c<<8),this.r[9]=c>>>5&127,this.pad[0]=255&e[16]|(255&e[17])<<8,this.pad[1]=255&e[18]|(255&e[19])<<8,this.pad[2]=255&e[20]|(255&e[21])<<8,this.pad[3]=255&e[22]|(255&e[23])<<8,this.pad[4]=255&e[24]|(255&e[25])<<8,this.pad[5]=255&e[26]|(255&e[27])<<8,this.pad[6]=255&e[28]|(255&e[29])<<8,this.pad[7]=255&e[30]|(255&e[31])<<8};function S(e,t,r,n,o,i){var a=new N(i);return a.update(r,n,o),a.finish(e,t),0}function I(e,t,r,n,o,i){var a=new Uint8Array(16);return S(a,0,r,n,o,i),g(e,t,a,0)}function O(e,t,r,n,o){var i;if(r<32)return-1;for(w(e,0,t,0,r,n,o),S(e,16,e,32,r-32,e),i=0;i<16;i++)e[i]=0;return 0}function C(e,t,r,n,o){var i,a=new Uint8Array(32);if(r<32)return-1;if(T(a,0,32,n,o),0!==I(t,16,t,32,r-32,a))return-1;for(w(e,0,t,0,r,n,o),i=0;i<32;i++)e[i]=0;return 0}function M(e,t){var r;for(r=0;r<16;r++)e[r]=0|t[r]}function R(e){var t,r,n=1;for(t=0;t<16;t++)r=e[t]+n+65535,n=Math.floor(r/65536),e[t]=r-65536*n;e[0]+=n-1+37*(n-1)}function P(e,t,r){for(var n,o=~(r-1),i=0;i<16;i++)n=o&(e[i]^t[i]),e[i]^=n,t[i]^=n}function x(e,t){var n,o,i,a=r(),s=r();for(n=0;n<16;n++)s[n]=t[n];for(R(s),R(s),R(s),o=0;o<2;o++){for(a[0]=s[0]-65517,n=1;n<15;n++)a[n]=s[n]-65535-(a[n-1]>>16&1),a[n-1]&=65535;a[15]=s[15]-32767-(a[14]>>16&1),i=a[15]>>16&1,a[14]&=65535,P(s,a,1-i)}for(n=0;n<16;n++)e[2*n]=255&s[n],e[2*n+1]=s[n]>>8}function k(e,t){var r=new Uint8Array(32),n=new Uint8Array(32);return x(r,e),x(n,t),A(r,0,n,0)}function L(e){var t=new Uint8Array(32);return x(t,e),1&t[0]}function j(e,t){var r;for(r=0;r<16;r++)e[r]=t[2*r]+(t[2*r+1]<<8);e[15]&=32767}function B(e,t,r){for(var n=0;n<16;n++)e[n]=t[n]+r[n]}function D(e,t,r){for(var n=0;n<16;n++)e[n]=t[n]-r[n]}function U(e,t,r){var n,o,i=0,a=0,s=0,c=0,u=0,l=0,f=0,d=0,h=0,p=0,m=0,g=0,A=0,y=0,_=0,b=0,v=0,E=0,T=0,w=0,N=0,S=0,I=0,O=0,C=0,M=0,R=0,P=0,x=0,k=0,L=0,j=r[0],B=r[1],D=r[2],U=r[3],H=r[4],F=r[5],G=r[6],K=r[7],z=r[8],W=r[9],Y=r[10],V=r[11],$=r[12],X=r[13],q=r[14],Q=r[15];i+=(n=t[0])*j,a+=n*B,s+=n*D,c+=n*U,u+=n*H,l+=n*F,f+=n*G,d+=n*K,h+=n*z,p+=n*W,m+=n*Y,g+=n*V,A+=n*$,y+=n*X,_+=n*q,b+=n*Q,a+=(n=t[1])*j,s+=n*B,c+=n*D,u+=n*U,l+=n*H,f+=n*F,d+=n*G,h+=n*K,p+=n*z,m+=n*W,g+=n*Y,A+=n*V,y+=n*$,_+=n*X,b+=n*q,v+=n*Q,s+=(n=t[2])*j,c+=n*B,u+=n*D,l+=n*U,f+=n*H,d+=n*F,h+=n*G,p+=n*K,m+=n*z,g+=n*W,A+=n*Y,y+=n*V,_+=n*$,b+=n*X,v+=n*q,E+=n*Q,c+=(n=t[3])*j,u+=n*B,l+=n*D,f+=n*U,d+=n*H,h+=n*F,p+=n*G,m+=n*K,g+=n*z,A+=n*W,y+=n*Y,_+=n*V,b+=n*$,v+=n*X,E+=n*q,T+=n*Q,u+=(n=t[4])*j,l+=n*B,f+=n*D,d+=n*U,h+=n*H,p+=n*F,m+=n*G,g+=n*K,A+=n*z,y+=n*W,_+=n*Y,b+=n*V,v+=n*$,E+=n*X,T+=n*q,w+=n*Q,l+=(n=t[5])*j,f+=n*B,d+=n*D,h+=n*U,p+=n*H,m+=n*F,g+=n*G,A+=n*K,y+=n*z,_+=n*W,b+=n*Y,v+=n*V,E+=n*$,T+=n*X,w+=n*q,N+=n*Q,f+=(n=t[6])*j,d+=n*B,h+=n*D,p+=n*U,m+=n*H,g+=n*F,A+=n*G,y+=n*K,_+=n*z,b+=n*W,v+=n*Y,E+=n*V,T+=n*$,w+=n*X,N+=n*q,S+=n*Q,d+=(n=t[7])*j,h+=n*B,p+=n*D,m+=n*U,g+=n*H,A+=n*F,y+=n*G,_+=n*K,b+=n*z,v+=n*W,E+=n*Y,T+=n*V,w+=n*$,N+=n*X,S+=n*q,I+=n*Q,h+=(n=t[8])*j,p+=n*B,m+=n*D,g+=n*U,A+=n*H,y+=n*F,_+=n*G,b+=n*K,v+=n*z,E+=n*W,T+=n*Y,w+=n*V,N+=n*$,S+=n*X,I+=n*q,O+=n*Q,p+=(n=t[9])*j,m+=n*B,g+=n*D,A+=n*U,y+=n*H,_+=n*F,b+=n*G,v+=n*K,E+=n*z,T+=n*W,w+=n*Y,N+=n*V,S+=n*$,I+=n*X,O+=n*q,C+=n*Q,m+=(n=t[10])*j,g+=n*B,A+=n*D,y+=n*U,_+=n*H,b+=n*F,v+=n*G,E+=n*K,T+=n*z,w+=n*W,N+=n*Y,S+=n*V,I+=n*$,O+=n*X,C+=n*q,M+=n*Q,g+=(n=t[11])*j,A+=n*B,y+=n*D,_+=n*U,b+=n*H,v+=n*F,E+=n*G,T+=n*K,w+=n*z,N+=n*W,S+=n*Y,I+=n*V,O+=n*$,C+=n*X,M+=n*q,R+=n*Q,A+=(n=t[12])*j,y+=n*B,_+=n*D,b+=n*U,v+=n*H,E+=n*F,T+=n*G,w+=n*K,N+=n*z,S+=n*W,I+=n*Y,O+=n*V,C+=n*$,M+=n*X,R+=n*q,P+=n*Q,y+=(n=t[13])*j,_+=n*B,b+=n*D,v+=n*U,E+=n*H,T+=n*F,w+=n*G,N+=n*K,S+=n*z,I+=n*W,O+=n*Y,C+=n*V,M+=n*$,R+=n*X,P+=n*q,x+=n*Q,_+=(n=t[14])*j,b+=n*B,v+=n*D,E+=n*U,T+=n*H,w+=n*F,N+=n*G,S+=n*K,I+=n*z,O+=n*W,C+=n*Y,M+=n*V,R+=n*$,P+=n*X,x+=n*q,k+=n*Q,b+=(n=t[15])*j,a+=38*(E+=n*D),s+=38*(T+=n*U),c+=38*(w+=n*H),u+=38*(N+=n*F),l+=38*(S+=n*G),f+=38*(I+=n*K),d+=38*(O+=n*z),h+=38*(C+=n*W),p+=38*(M+=n*Y),m+=38*(R+=n*V),g+=38*(P+=n*$),A+=38*(x+=n*X),y+=38*(k+=n*q),_+=38*(L+=n*Q),i=(n=(i+=38*(v+=n*B))+(o=1)+65535)-65536*(o=Math.floor(n/65536)),a=(n=a+o+65535)-65536*(o=Math.floor(n/65536)),s=(n=s+o+65535)-65536*(o=Math.floor(n/65536)),c=(n=c+o+65535)-65536*(o=Math.floor(n/65536)),u=(n=u+o+65535)-65536*(o=Math.floor(n/65536)),l=(n=l+o+65535)-65536*(o=Math.floor(n/65536)),f=(n=f+o+65535)-65536*(o=Math.floor(n/65536)),d=(n=d+o+65535)-65536*(o=Math.floor(n/65536)),h=(n=h+o+65535)-65536*(o=Math.floor(n/65536)),p=(n=p+o+65535)-65536*(o=Math.floor(n/65536)),m=(n=m+o+65535)-65536*(o=Math.floor(n/65536)),g=(n=g+o+65535)-65536*(o=Math.floor(n/65536)),A=(n=A+o+65535)-65536*(o=Math.floor(n/65536)),y=(n=y+o+65535)-65536*(o=Math.floor(n/65536)),_=(n=_+o+65535)-65536*(o=Math.floor(n/65536)),b=(n=b+o+65535)-65536*(o=Math.floor(n/65536)),i=(n=(i+=o-1+37*(o-1))+(o=1)+65535)-65536*(o=Math.floor(n/65536)),a=(n=a+o+65535)-65536*(o=Math.floor(n/65536)),s=(n=s+o+65535)-65536*(o=Math.floor(n/65536)),c=(n=c+o+65535)-65536*(o=Math.floor(n/65536)),u=(n=u+o+65535)-65536*(o=Math.floor(n/65536)),l=(n=l+o+65535)-65536*(o=Math.floor(n/65536)),f=(n=f+o+65535)-65536*(o=Math.floor(n/65536)),d=(n=d+o+65535)-65536*(o=Math.floor(n/65536)),h=(n=h+o+65535)-65536*(o=Math.floor(n/65536)),p=(n=p+o+65535)-65536*(o=Math.floor(n/65536)),m=(n=m+o+65535)-65536*(o=Math.floor(n/65536)),g=(n=g+o+65535)-65536*(o=Math.floor(n/65536)),A=(n=A+o+65535)-65536*(o=Math.floor(n/65536)),y=(n=y+o+65535)-65536*(o=Math.floor(n/65536)),_=(n=_+o+65535)-65536*(o=Math.floor(n/65536)),b=(n=b+o+65535)-65536*(o=Math.floor(n/65536)),i+=o-1+37*(o-1),e[0]=i,e[1]=a,e[2]=s,e[3]=c,e[4]=u,e[5]=l,e[6]=f,e[7]=d,e[8]=h,e[9]=p,e[10]=m,e[11]=g,e[12]=A,e[13]=y,e[14]=_,e[15]=b}function H(e,t){U(e,t,t)}function F(e,t){var n,o=r();for(n=0;n<16;n++)o[n]=t[n];for(n=253;n>=0;n--)H(o,o),2!==n&&4!==n&&U(o,o,t);for(n=0;n<16;n++)e[n]=o[n]}function G(e,t){var n,o=r();for(n=0;n<16;n++)o[n]=t[n];for(n=250;n>=0;n--)H(o,o),1!==n&&U(o,o,t);for(n=0;n<16;n++)e[n]=o[n]}function K(e,t,n){var o,i,a=new Uint8Array(32),s=new Float64Array(80),u=r(),l=r(),f=r(),d=r(),h=r(),p=r();for(i=0;i<31;i++)a[i]=t[i];for(a[31]=127&t[31]|64,a[0]&=248,j(s,n),i=0;i<16;i++)l[i]=s[i],d[i]=u[i]=f[i]=0;for(u[0]=d[0]=1,i=254;i>=0;--i)P(u,l,o=a[i>>>3]>>>(7&i)&1),P(f,d,o),B(h,u,f),D(u,u,f),B(f,l,d),D(l,l,d),H(d,h),H(p,u),U(u,f,u),U(f,l,h),B(h,u,f),D(u,u,f),H(l,u),D(f,d,p),U(u,f,c),B(u,u,d),U(f,f,u),U(u,d,p),U(d,l,s),H(l,h),P(u,l,o),P(f,d,o);for(i=0;i<16;i++)s[i+16]=u[i],s[i+32]=f[i],s[i+48]=l[i],s[i+64]=d[i];var m=s.subarray(32),g=s.subarray(16);return F(m,m),U(g,g,m),x(e,g),0}function z(e,t){return K(e,t,i)}function W(e,t){return n(t,32),z(e,t)}function Y(e,t,r){var n=new Uint8Array(32);return K(n,r,t),_(e,o,n,b)}N.prototype.blocks=function(e,t,r){for(var n,o,i,a,s,c,u,l,f,d,h,p,m,g,A,y,_,b,v,E=this.fin?0:2048,T=this.h[0],w=this.h[1],N=this.h[2],S=this.h[3],I=this.h[4],O=this.h[5],C=this.h[6],M=this.h[7],R=this.h[8],P=this.h[9],x=this.r[0],k=this.r[1],L=this.r[2],j=this.r[3],B=this.r[4],D=this.r[5],U=this.r[6],H=this.r[7],F=this.r[8],G=this.r[9];r>=16;)d=f=0,d+=(T+=8191&(n=255&e[t+0]|(255&e[t+1])<<8))*x,d+=(w+=8191&(n>>>13|(o=255&e[t+2]|(255&e[t+3])<<8)<<3))*(5*G),d+=(N+=8191&(o>>>10|(i=255&e[t+4]|(255&e[t+5])<<8)<<6))*(5*F),d+=(S+=8191&(i>>>7|(a=255&e[t+6]|(255&e[t+7])<<8)<<9))*(5*H),f=(d+=(I+=8191&(a>>>4|(s=255&e[t+8]|(255&e[t+9])<<8)<<12))*(5*U))>>>13,d&=8191,d+=(O+=s>>>1&8191)*(5*D),d+=(C+=8191&(s>>>14|(c=255&e[t+10]|(255&e[t+11])<<8)<<2))*(5*B),d+=(M+=8191&(c>>>11|(u=255&e[t+12]|(255&e[t+13])<<8)<<5))*(5*j),d+=(R+=8191&(u>>>8|(l=255&e[t+14]|(255&e[t+15])<<8)<<8))*(5*L),h=f+=(d+=(P+=l>>>5|E)*(5*k))>>>13,h+=T*k,h+=w*x,h+=N*(5*G),h+=S*(5*F),f=(h+=I*(5*H))>>>13,h&=8191,h+=O*(5*U),h+=C*(5*D),h+=M*(5*B),h+=R*(5*j),f+=(h+=P*(5*L))>>>13,h&=8191,p=f,p+=T*L,p+=w*k,p+=N*x,p+=S*(5*G),f=(p+=I*(5*F))>>>13,p&=8191,p+=O*(5*H),p+=C*(5*U),p+=M*(5*D),p+=R*(5*B),m=f+=(p+=P*(5*j))>>>13,m+=T*j,m+=w*L,m+=N*k,m+=S*x,f=(m+=I*(5*G))>>>13,m&=8191,m+=O*(5*F),m+=C*(5*H),m+=M*(5*U),m+=R*(5*D),g=f+=(m+=P*(5*B))>>>13,g+=T*B,g+=w*j,g+=N*L,g+=S*k,f=(g+=I*x)>>>13,g&=8191,g+=O*(5*G),g+=C*(5*F),g+=M*(5*H),g+=R*(5*U),A=f+=(g+=P*(5*D))>>>13,A+=T*D,A+=w*B,A+=N*j,A+=S*L,f=(A+=I*k)>>>13,A&=8191,A+=O*x,A+=C*(5*G),A+=M*(5*F),A+=R*(5*H),y=f+=(A+=P*(5*U))>>>13,y+=T*U,y+=w*D,y+=N*B,y+=S*j,f=(y+=I*L)>>>13,y&=8191,y+=O*k,y+=C*x,y+=M*(5*G),y+=R*(5*F),_=f+=(y+=P*(5*H))>>>13,_+=T*H,_+=w*U,_+=N*D,_+=S*B,f=(_+=I*j)>>>13,_&=8191,_+=O*L,_+=C*k,_+=M*x,_+=R*(5*G),b=f+=(_+=P*(5*F))>>>13,b+=T*F,b+=w*H,b+=N*U,b+=S*D,f=(b+=I*B)>>>13,b&=8191,b+=O*j,b+=C*L,b+=M*k,b+=R*x,v=f+=(b+=P*(5*G))>>>13,v+=T*G,v+=w*F,v+=N*H,v+=S*U,f=(v+=I*D)>>>13,v&=8191,v+=O*B,v+=C*j,v+=M*L,v+=R*k,T=d=8191&(f=(f=((f+=(v+=P*x)>>>13)<<2)+f|0)+(d&=8191)|0),w=h+=f>>>=13,N=p&=8191,S=m&=8191,I=g&=8191,O=A&=8191,C=y&=8191,M=_&=8191,R=b&=8191,P=v&=8191,t+=16,r-=16;this.h[0]=T,this.h[1]=w,this.h[2]=N,this.h[3]=S,this.h[4]=I,this.h[5]=O,this.h[6]=C,this.h[7]=M,this.h[8]=R,this.h[9]=P},N.prototype.finish=function(e,t){var r,n,o,i,a=new Uint16Array(10);if(this.leftover){for(i=this.leftover,this.buffer[i++]=1;i<16;i++)this.buffer[i]=0;this.fin=1,this.blocks(this.buffer,0,16)}for(r=this.h[1]>>>13,this.h[1]&=8191,i=2;i<10;i++)this.h[i]+=r,r=this.h[i]>>>13,this.h[i]&=8191;for(this.h[0]+=5*r,r=this.h[0]>>>13,this.h[0]&=8191,this.h[1]+=r,r=this.h[1]>>>13,this.h[1]&=8191,this.h[2]+=r,a[0]=this.h[0]+5,r=a[0]>>>13,a[0]&=8191,i=1;i<10;i++)a[i]=this.h[i]+r,r=a[i]>>>13,a[i]&=8191;for(a[9]-=8192,n=(1^r)-1,i=0;i<10;i++)a[i]&=n;for(n=~n,i=0;i<10;i++)this.h[i]=this.h[i]&n|a[i];for(this.h[0]=65535&(this.h[0]|this.h[1]<<13),this.h[1]=65535&(this.h[1]>>>3|this.h[2]<<10),this.h[2]=65535&(this.h[2]>>>6|this.h[3]<<7),this.h[3]=65535&(this.h[3]>>>9|this.h[4]<<4),this.h[4]=65535&(this.h[4]>>>12|this.h[5]<<1|this.h[6]<<14),this.h[5]=65535&(this.h[6]>>>2|this.h[7]<<11),this.h[6]=65535&(this.h[7]>>>5|this.h[8]<<8),this.h[7]=65535&(this.h[8]>>>8|this.h[9]<<5),o=this.h[0]+this.pad[0],this.h[0]=65535&o,i=1;i<8;i++)o=(this.h[i]+this.pad[i]|0)+(o>>>16)|0,this.h[i]=65535&o;e[t+0]=this.h[0]>>>0&255,e[t+1]=this.h[0]>>>8&255,e[t+2]=this.h[1]>>>0&255,e[t+3]=this.h[1]>>>8&255,e[t+4]=this.h[2]>>>0&255,e[t+5]=this.h[2]>>>8&255,e[t+6]=this.h[3]>>>0&255,e[t+7]=this.h[3]>>>8&255,e[t+8]=this.h[4]>>>0&255,e[t+9]=this.h[4]>>>8&255,e[t+10]=this.h[5]>>>0&255,e[t+11]=this.h[5]>>>8&255,e[t+12]=this.h[6]>>>0&255,e[t+13]=this.h[6]>>>8&255,e[t+14]=this.h[7]>>>0&255,e[t+15]=this.h[7]>>>8&255},N.prototype.update=function(e,t,r){var n,o;if(this.leftover){for((o=16-this.leftover)>r&&(o=r),n=0;n=16&&(o=r-r%16,this.blocks(e,t,o),t+=o,r-=o),r){for(n=0;n=128;){for(E=0;E<16;E++)T=8*E+$,M[E]=r[T+0]<<24|r[T+1]<<16|r[T+2]<<8|r[T+3],R[E]=r[T+4]<<24|r[T+5]<<16|r[T+6]<<8|r[T+7];for(E=0;E<80;E++)if(o=P,i=x,a=k,s=L,c=j,u=B,l=D,U,d=H,h=F,p=G,m=K,g=z,A=W,y=Y,V,S=65535&(N=V),I=N>>>16,O=65535&(w=U),C=w>>>16,S+=65535&(N=(z>>>14|j<<18)^(z>>>18|j<<14)^(j>>>9|z<<23)),I+=N>>>16,O+=65535&(w=(j>>>14|z<<18)^(j>>>18|z<<14)^(z>>>9|j<<23)),C+=w>>>16,S+=65535&(N=z&W^~z&Y),I+=N>>>16,O+=65535&(w=j&B^~j&D),C+=w>>>16,w=X[2*E],S+=65535&(N=X[2*E+1]),I+=N>>>16,O+=65535&w,C+=w>>>16,w=M[E%16],I+=(N=R[E%16])>>>16,O+=65535&w,C+=w>>>16,O+=(I+=(S+=65535&N)>>>16)>>>16,S=65535&(N=v=65535&S|I<<16),I=N>>>16,O=65535&(w=b=65535&O|(C+=O>>>16)<<16),C=w>>>16,S+=65535&(N=(H>>>28|P<<4)^(P>>>2|H<<30)^(P>>>7|H<<25)),I+=N>>>16,O+=65535&(w=(P>>>28|H<<4)^(H>>>2|P<<30)^(H>>>7|P<<25)),C+=w>>>16,I+=(N=H&F^H&G^F&G)>>>16,O+=65535&(w=P&x^P&k^x&k),C+=w>>>16,f=65535&(O+=(I+=(S+=65535&N)>>>16)>>>16)|(C+=O>>>16)<<16,_=65535&S|I<<16,S=65535&(N=m),I=N>>>16,O=65535&(w=s),C=w>>>16,I+=(N=v)>>>16,O+=65535&(w=b),C+=w>>>16,x=o,k=i,L=a,j=s=65535&(O+=(I+=(S+=65535&N)>>>16)>>>16)|(C+=O>>>16)<<16,B=c,D=u,U=l,P=f,F=d,G=h,K=p,z=m=65535&S|I<<16,W=g,Y=A,V=y,H=_,E%16==15)for(T=0;T<16;T++)w=M[T],S=65535&(N=R[T]),I=N>>>16,O=65535&w,C=w>>>16,w=M[(T+9)%16],S+=65535&(N=R[(T+9)%16]),I+=N>>>16,O+=65535&w,C+=w>>>16,b=M[(T+1)%16],S+=65535&(N=((v=R[(T+1)%16])>>>1|b<<31)^(v>>>8|b<<24)^(v>>>7|b<<25)),I+=N>>>16,O+=65535&(w=(b>>>1|v<<31)^(b>>>8|v<<24)^b>>>7),C+=w>>>16,b=M[(T+14)%16],I+=(N=((v=R[(T+14)%16])>>>19|b<<13)^(b>>>29|v<<3)^(v>>>6|b<<26))>>>16,O+=65535&(w=(b>>>19|v<<13)^(v>>>29|b<<3)^b>>>6),C+=w>>>16,C+=(O+=(I+=(S+=65535&N)>>>16)>>>16)>>>16,M[T]=65535&O|C<<16,R[T]=65535&S|I<<16;S=65535&(N=H),I=N>>>16,O=65535&(w=P),C=w>>>16,w=e[0],I+=(N=t[0])>>>16,O+=65535&w,C+=w>>>16,C+=(O+=(I+=(S+=65535&N)>>>16)>>>16)>>>16,e[0]=P=65535&O|C<<16,t[0]=H=65535&S|I<<16,S=65535&(N=F),I=N>>>16,O=65535&(w=x),C=w>>>16,w=e[1],I+=(N=t[1])>>>16,O+=65535&w,C+=w>>>16,C+=(O+=(I+=(S+=65535&N)>>>16)>>>16)>>>16,e[1]=x=65535&O|C<<16,t[1]=F=65535&S|I<<16,S=65535&(N=G),I=N>>>16,O=65535&(w=k),C=w>>>16,w=e[2],I+=(N=t[2])>>>16,O+=65535&w,C+=w>>>16,C+=(O+=(I+=(S+=65535&N)>>>16)>>>16)>>>16,e[2]=k=65535&O|C<<16,t[2]=G=65535&S|I<<16,S=65535&(N=K),I=N>>>16,O=65535&(w=L),C=w>>>16,w=e[3],I+=(N=t[3])>>>16,O+=65535&w,C+=w>>>16,C+=(O+=(I+=(S+=65535&N)>>>16)>>>16)>>>16,e[3]=L=65535&O|C<<16,t[3]=K=65535&S|I<<16,S=65535&(N=z),I=N>>>16,O=65535&(w=j),C=w>>>16,w=e[4],I+=(N=t[4])>>>16,O+=65535&w,C+=w>>>16,C+=(O+=(I+=(S+=65535&N)>>>16)>>>16)>>>16,e[4]=j=65535&O|C<<16,t[4]=z=65535&S|I<<16,S=65535&(N=W),I=N>>>16,O=65535&(w=B),C=w>>>16,w=e[5],I+=(N=t[5])>>>16,O+=65535&w,C+=w>>>16,C+=(O+=(I+=(S+=65535&N)>>>16)>>>16)>>>16,e[5]=B=65535&O|C<<16,t[5]=W=65535&S|I<<16,S=65535&(N=Y),I=N>>>16,O=65535&(w=D),C=w>>>16,w=e[6],I+=(N=t[6])>>>16,O+=65535&w,C+=w>>>16,C+=(O+=(I+=(S+=65535&N)>>>16)>>>16)>>>16,e[6]=D=65535&O|C<<16,t[6]=Y=65535&S|I<<16,S=65535&(N=V),I=N>>>16,O=65535&(w=U),C=w>>>16,w=e[7],I+=(N=t[7])>>>16,O+=65535&w,C+=w>>>16,C+=(O+=(I+=(S+=65535&N)>>>16)>>>16)>>>16,e[7]=U=65535&O|C<<16,t[7]=V=65535&S|I<<16,$+=128,n-=128}return n}function Q(e,t,r){var n,o=new Int32Array(8),i=new Int32Array(8),a=new Uint8Array(256),s=r;for(o[0]=1779033703,o[1]=3144134277,o[2]=1013904242,o[3]=2773480762,o[4]=1359893119,o[5]=2600822924,o[6]=528734635,o[7]=1541459225,i[0]=4089235720,i[1]=2227873595,i[2]=4271175723,i[3]=1595750129,i[4]=2917565137,i[5]=725511199,i[6]=4215389547,i[7]=327033209,q(o,i,t,r),r%=128,n=0;n=0;--o)Z(e,t,n=r[o/8|0]>>(7&o)&1),J(t,e),J(e,e),Z(e,t,n)}function re(e,t){var n=[r(),r(),r(),r()];M(n[0],f),M(n[1],d),M(n[2],s),U(n[3],f,d),te(e,n,t)}function ne(e,t,o){var i,a=new Uint8Array(64),s=[r(),r(),r(),r()];for(o||n(t,32),Q(a,t,32),a[0]&=248,a[31]&=127,a[31]|=64,re(s,a),ee(e,s),i=0;i<32;i++)t[i+32]=e[i];return 0}var oe=new Float64Array([237,211,245,92,26,99,18,88,214,156,247,162,222,249,222,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16]);function ie(e,t){var r,n,o,i;for(n=63;n>=32;--n){for(r=0,o=n-32,i=n-12;o>4)*oe[o],r=t[o]>>8,t[o]&=255;for(o=0;o<32;o++)t[o]-=r*oe[o];for(n=0;n<32;n++)t[n+1]+=t[n]>>8,e[n]=255&t[n]}function ae(e){var t,r=new Float64Array(64);for(t=0;t<64;t++)r[t]=e[t];for(t=0;t<64;t++)e[t]=0;ie(e,r)}function se(e,t,n,o){var i,a,s=new Uint8Array(64),c=new Uint8Array(64),u=new Uint8Array(64),l=new Float64Array(64),f=[r(),r(),r(),r()];Q(s,o,32),s[0]&=248,s[31]&=127,s[31]|=64;var d=n+64;for(i=0;i>7&&D(e[0],a,e[0]),U(e[3],e[0],e[1]),0)}(d,o))return-1;for(i=0;i=0},t.sign.keyPair=function(){var e=new Uint8Array(fe),t=new Uint8Array(de);return ne(e,t),{publicKey:e,secretKey:t}},t.sign.keyPair.fromSecretKey=function(e){if(pe(e),e.length!==de)throw new Error("bad secret key size");for(var t=new Uint8Array(fe),r=0;rtweetnacl",file:"node_modules/tweetnacl/nacl-fast.js"}],[4382,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){!function(e,n){var o="function",i="undefined",a="object",s="string",c="major",u="model",l="name",f="type",d="vendor",h="version",p="architecture",m="console",g="mobile",A="tablet",y="smarttv",_="wearable",b="embedded",v="Amazon",E="Apple",T="ASUS",w="BlackBerry",N="Browser",S="Chrome",I="Firefox",O="Google",C="Huawei",M="LG",R="Microsoft",P="Motorola",x="Opera",k="Samsung",L="Sharp",j="Sony",B="Xiaomi",D="Zebra",U="Facebook",H="Chromium OS",F="Mac OS",G=function(e){for(var t={},r=0;r0?2===c.length?typeof c[1]==o?this[c[0]]=c[1].call(this,l):this[c[0]]=c[1]:3===c.length?typeof c[1]!==o||c[1].exec&&c[1].test?this[c[0]]=l?l.replace(c[1],c[2]):n:this[c[0]]=l?c[1].call(this,l,c[2]):n:4===c.length&&(this[c[0]]=l?c[3].call(this,l.replace(c[1],c[2])):n):this[c]=l||n;f+=2}},V=function(e,t){for(var r in t)if(typeof t[r]===a&&t[r].length>0){for(var o=0;o2&&(e[u]="iPad",e[f]=A),e},this.getEngine=function(){var e={};return e[l]=n,e[h]=n,Y.call(e,y,b.engine),e},this.getOS=function(){var e={};return e[l]=n,e[h]=n,Y.call(e,y,b.os),v&&!e[l]&&_&&"Unknown"!=_.platform&&(e[l]=_.platform.replace(/chrome os/i,H).replace(/macos/i,F)),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return y},this.setUA=function(e){return y=typeof e===s&&e.length>500?W(e,500):e,this},this.setUA(y),this};q.VERSION="1.0.37",q.BROWSER=G([l,h,c]),q.CPU=G([p]),q.DEVICE=G([u,d,f,m,g,y,A,_,b]),q.ENGINE=q.OS=G([l,h]),typeof r!==i?(typeof t!==i&&t.exports&&(r=t.exports=q),r.UAParser=q):typeof define===o&&define.amd?define((function(){return q})):typeof e!==i&&(e.UAParser=q);var Q=typeof e!==i&&(e.jQuery||e.Zepto);if(Q&&!Q.ua){var J=new q;Q.ua=J.getResult(),Q.ua.get=function(){return J.getUA()},Q.ua.set=function(e){J.setUA(e);var t=J.getResult();for(var r in t)Q.ua[r]=t[r]}}}("object"==typeof window?window:this)}}},{package:"@trezor/connect-web>@trezor/connect-common>@trezor/env-utils>ua-parser-js",file:"node_modules/ua-parser-js/src/ua-parser.js"}],[4387,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports={0:"O",1:"l","֭":"֖","֮":"֘","֨":"֙","֤":"֚","᪴":"ۛ","⃛":"ۛ","ؙ":"̓","ࣳ":"̓","̓":"̓","̕":"̓","ُ":"̓","ٝ":"̔","֜":"́","֝":"́","ؘ":"́","݇":"́","́":"́","॔":"́","َ":"́","̀":"̀","॓":"̀","̌":"̆","꙼":"̆","٘":"̆","ٚ":"̆","ͮ":"̆","ۨ":"̆̇","̐":"̆̇","ँ":"̆̇","ঁ":"̆̇","ઁ":"̆̇","ଁ":"̆̇","ఀ":"̆̇","ಁ":"̆̇","ഁ":"̆̇","𑒿":"̆̇","᳐":"̂","̑":"̂","ٛ":"̂","߮":"̂","꛰":"̂","֯":"̊","۟":"̊","៓":"̊","゚":"̊","ْ":"̊","ஂ":"̊","ံ":"̊","ំ":"̊","𑌀":"̊","ํ":"̊","ໍ":"̊","ͦ":"̊","ⷪ":"̊","࣫":"̈","߳":"̈","ً":"̋","ࣰ":"̋","͂":"̃","ٓ":"̃","ׄ":"̇","۬":"̇","݀":"̇","࣪":"̇","݁":"̇","͘":"̇","ֹ":"̇","ֺ":"̇","ׂ":"̇","ׁ":"̇","߭":"̇","ं":"̇","ਂ":"̇","ં":"̇","்":"̇","̷":"̸","᪷":"̨","̢":"̨","ͅ":"̨","᳒":"̄","̅":"̄","ٙ":"̄","߫":"̄","꛱":"̄","᳚":"̎","ٗ":"̒","͗":"͐","ࣿ":"͐","ࣸ":"͐","ऀ":"͒","᳭":"̖","᳜":"̩","ٖ":"̩","᳕":"̫","͇":"̳","ࣹ":"͔","ࣺ":"͕","゛":"゙","゜":"゚","̶":"̵","〬":"̉","ׅ":"̣","࣭":"̣","᳝":"̣","ִ":"̣","ٜ":"̣","़":"̣","়":"̣","਼":"̣","઼":"̣","଼":"̣","𑇊":"̣","𑓃":"̣","𐨺":"̣","࣮":"̤","᳞":"̤","༷":"̥","〭":"̥","̧":"̦","̡":"̦","̹":"̦","᳙":"̭","᳘":"̮","॒":"̱","̠":"̱","ࣱ":"ٌ","ࣨ":"ٌ","ࣥ":"ٌ","ﱞ":"ﹲّ","ࣲ":"ٍ","ﱟ":"ﹴّ","ﳲ":"ﹷّ","ﱠ":"ﹶّ","ﳳ":"ﹹّ","ﱡ":"ﹸّ","ؚ":"ِ","̗":"ِ","ﳴ":"ﹻّ","ﱢ":"ﹺّ","ﱣ":"ﹼٰ","ٟ":"ٕ","̍":"ٰ","݂":"ܼ","ਃ":"ঃ","ః":"ঃ","ಃ":"ঃ","ഃ":"ঃ","ඃ":"ঃ","း":"ঃ","𑓁":"ঃ","់":"่","່":"่","້":"้","໊":"๊","໋":"๋","꙯":"⃩","\u2028":" ","\u2029":" "," ":" "," ":" "," ":" "," ":" "," ":" "," ":" "," ":" "," ":" "," ":" "," ":" "," ":" "," ":" "," ":" "," ":" "," ":" ","ߺ":"_","﹍":"_","﹎":"_","﹏":"_","‐":"-","‑":"-","‒":"-","–":"-","﹘":"-","۔":"-","⁃":"-","˗":"-","−":"-","➖":"-","Ⲻ":"-","⨩":"-̓","⸚":"-̈","﬩":"-̇","∸":"-̇","⨪":"-̣","꓾":"-.","~":"〜","؍":",","٫":",","‚":",","¸":",","ꓹ":",","⸲":"،","٬":"،",";":";","⸵":"؛","ः":":","ઃ":":",":":":","։":":","܃":":","܄":":","᛬":":","︰":":","᠃":":","᠉":":","⁚":":","׃":":","˸":":","꞉":":","∶":":","ː":":","ꓽ":":","⩴":"::=","⧴":":→","!":"!","ǃ":"!","ⵑ":"!","‼":"!!","⁉":"!?","ʔ":"?","Ɂ":"?","ॽ":"?","Ꭾ":"?","ꛫ":"?","⁈":"?!","⁇":"??","⸮":"؟","𝅭":".","․":".","܁":".","܂":".","꘎":".","𐩐":".","٠":".","۰":".","ꓸ":".","ꓻ":".,","‥":"..","ꓺ":"..","…":"...","꛴":"꛳꛳","・":"·","・":"·","᛫":"·","·":"·","⸱":"·","𐄁":"·","•":"·","‧":"·","∙":"·","⋅":"·","ꞏ":"·","ᐧ":"·","⋯":"···","ⵈ":"···","ᑄ":"·<","⋗":"·>","ᐷ":"·>","ᑀ":"·>","ᔯ":"·4","ᑺ":"·d","ᒘ":"·J","ᒶ":"·L","ᑶ":"·P","ᑗ":"·U","ᐺ":"·V","ᐼ":"·Ʌ","ᒮ":"·Γ","ᐎ":"·Δ","ᑙ":"·Ո","ᐌ":"·ᐁ","ᐐ":"·ᐄ","ᐒ":"·ᐅ","ᐔ":"·ᐆ","ᐗ":"·ᐊ","ᐙ":"·ᐋ","ᐾ":"·ᐲ","ᑂ":"·ᐴ","ᑆ":"·ᐹ","ᑛ":"·ᑏ","ᑔ":"·ᑐ","ᑝ":"·ᑐ","ᑟ":"·ᑑ","ᑡ":"·ᑕ","ᑣ":"·ᑖ","ᑴ":"·ᑫ","ᑸ":"·ᑮ","ᑼ":"·ᑰ","ᑾ":"·ᑲ","ᒀ":"·ᑳ","ᒒ":"·ᒉ","ᒔ":"·ᒋ","ᒖ":"·ᒌ","ᒚ":"·ᒎ","ᒜ":"·ᒐ","ᒞ":"·ᒑ","ᒬ":"·ᒣ","ᒰ":"·ᒦ","ᒲ":"·ᒧ","ᒴ":"·ᒨ","ᒸ":"·ᒫ","ᓉ":"·ᓀ","ᣆ":"·ᓂ","ᣈ":"·ᓃ","ᣊ":"·ᓄ","ᣌ":"·ᓅ","ᓋ":"·ᓇ","ᓍ":"·ᓈ","ᓜ":"·ᓓ","ᓞ":"·ᓕ","ᓠ":"·ᓖ","ᓢ":"·ᓗ","ᓤ":"·ᓘ","ᓦ":"·ᓚ","ᓨ":"·ᓛ","ᓶ":"·ᓭ","ᓸ":"·ᓯ","ᓺ":"·ᓰ","ᓼ":"·ᓱ","ᓾ":"·ᓲ","ᔀ":"·ᓴ","ᔂ":"·ᓵ","ᔗ":"·ᔐ","ᔙ":"·ᔑ","ᔛ":"·ᔒ","ᔝ":"·ᔓ","ᔟ":"·ᔔ","ᔡ":"·ᔕ","ᔣ":"·ᔖ","ᔱ":"·ᔨ","ᔳ":"·ᔩ","ᔵ":"·ᔪ","ᔷ":"·ᔫ","ᔹ":"·ᔭ","ᔻ":"·ᔮ","ᣎ":"·ᕃ","ᣏ":"·ᕆ","ᣐ":"·ᕇ","ᣑ":"·ᕈ","ᣒ":"·ᕉ","ᣓ":"·ᕋ","ᕎ":"·ᕌ","ᕛ":"·ᕚ","ᕨ":"·ᕧ","ᢳ":"·ᢱ","ᢶ":"·ᢴ","ᢹ":"·ᢸ","ᣂ":"·ᣀ","꠰":"।","॥":"।।","᰼":"᰻᰻","။":"၊၊","᪩":"᪨᪨","᪫":"᪪᪨","᭟":"᭞᭞","𐩗":"𐩖𐩖","𑑌":"𑑋𑑋","𑙂":"𑙁𑙁","𑱂":"𑱁𑱁","᱿":"᱾᱾","՝":"'","'":"'","‘":"'","’":"'","‛":"'","′":"'","‵":"'","՚":"'","׳":"'","`":"'","`":"'","`":"'","´":"'","΄":"'","´":"'","᾽":"'","᾿":"'","῾":"'","ʹ":"'","ʹ":"'","ˈ":"'","ˊ":"'","ˋ":"'","˴":"'","ʻ":"'","ʽ":"'","ʼ":"'","ʾ":"'","ꞌ":"'","י":"'","ߴ":"'","ߵ":"'","ᑊ":"'","ᛌ":"'","𖽑":"'","𖽒":"'","᳓":"''",'"':"''",""":"''","“":"''","”":"''","‟":"''","″":"''","‶":"''","〃":"''","״":"''","˝":"''","ʺ":"''","˶":"''","ˮ":"''","ײ":"''","‴":"'''","‷":"'''","⁗":"''''","Ɓ":"'B","Ɗ":"'D","ʼn":"'n","Ƥ":"'P","Ƭ":"'T","Ƴ":"'Y","[":"(","❨":"(","❲":"(","〔":"(","﴾":"(","⸨":"((","㈠":"(ー)","⑵":"(2)","⒇":"(2O)","⑶":"(3)","⑷":"(4)","⑸":"(5)","⑹":"(6)","⑺":"(7)","⑻":"(8)","⑼":"(9)","⒜":"(a)","🄐":"(A)","⒝":"(b)","🄑":"(B)","⒞":"(c)","🄒":"(C)","⒟":"(d)","🄓":"(D)","⒠":"(e)","🄔":"(E)","⒡":"(f)","🄕":"(F)","⒢":"(g)","🄖":"(G)","⒣":"(h)","🄗":"(H)","⒤":"(i)","⒥":"(j)","🄙":"(J)","⒦":"(k)","🄚":"(K)","⑴":"(l)","🄘":"(l)","⒧":"(l)","🄛":"(L)","⑿":"(l2)","⒀":"(l3)","⒁":"(l4)","⒂":"(l5)","⒃":"(l6)","⒄":"(l7)","⒅":"(l8)","⒆":"(l9)","⑾":"(ll)","⑽":"(lO)","🄜":"(M)","⒩":"(n)","🄝":"(N)","⒪":"(o)","🄞":"(O)","⒫":"(p)","🄟":"(P)","⒬":"(q)","🄠":"(Q)","⒭":"(r)","🄡":"(R)","⒨":"(rn)","⒮":"(s)","🄢":"(S)","🄪":"(S)","⒯":"(t)","🄣":"(T)","⒰":"(u)","🄤":"(U)","⒱":"(v)","🄥":"(V)","⒲":"(w)","🄦":"(W)","⒳":"(x)","🄧":"(X)","⒴":"(y)","🄨":"(Y)","⒵":"(z)","🄩":"(Z)","㈀":"(ᄀ)","㈎":"(가)","㈁":"(ᄂ)","㈏":"(나)","㈂":"(ᄃ)","㈐":"(다)","㈃":"(ᄅ)","㈑":"(라)","㈄":"(ᄆ)","㈒":"(마)","㈅":"(ᄇ)","㈓":"(바)","㈆":"(ᄉ)","㈔":"(사)","㈇":"(ᄋ)","㈕":"(아)","㈝":"(오전)","㈞":"(오후)","㈈":"(ᄌ)","㈖":"(자)","㈜":"(주)","㈉":"(ᄎ)","㈗":"(차)","㈊":"(ᄏ)","㈘":"(카)","㈋":"(ᄐ)","㈙":"(타)","㈌":"(ᄑ)","㈚":"(파)","㈍":"(ᄒ)","㈛":"(하)","㈦":"(七)","㈢":"(三)","🉁":"(三)","㈨":"(九)","㈡":"(二)","🉂":"(二)","㈤":"(五)","㈹":"(代)","㈽":"(企)","㉁":"(休)","㈧":"(八)","㈥":"(六)","㈸":"(労)","🉇":"(勝)","㈩":"(十)","㈿":"(協)","㈴":"(名)","㈺":"(呼)","㈣":"(四)","㈯":"(土)","㈻":"(学)","🉃":"(安)","🉅":"(打)","🉈":"(敗)","㈰":"(日)","㈪":"(月)","㈲":"(有)","㈭":"(木)","🉀":"(本)","㈱":"(株)","㈬":"(水)","㈫":"(火)","🉄":"(点)","㈵":"(特)","🉆":"(盗)","㈼":"(監)","㈳":"(社)","㈷":"(祝)","㉀":"(祭)","㉂":"(自)","㉃":"(至)","㈶":"(財)","㈾":"(資)","㈮":"(金)","]":")","❩":")","❳":")","〕":")","﴿":")","⸩":"))","❴":"{","𝄔":"{","❵":"}","〚":"⟦","〛":"⟧","⟨":"❬","〈":"❬","〈":"❬","㇛":"❬","く":"❬","𡿨":"❬","⟩":"❭","〉":"❭","〉":"❭","^":"︿","⸿":"¶","⁎":"*","٭":"*","∗":"*","𐌟":"*","᜵":"/","⁁":"/","∕":"/","⁄":"/","╱":"/","⟋":"/","⧸":"/","𝈺":"/","㇓":"/","〳":"/","Ⳇ":"/","ノ":"/","丿":"/","⼃":"/","⧶":"/̄","⫽":"//","⫻":"///","\":"\\","﹨":"\\","∖":"\\","⟍":"\\","⧵":"\\","⧹":"\\","𝈏":"\\","𝈻":"\\","㇔":"\\","丶":"\\","⼂":"\\","⳹":"\\\\","⑊":"\\\\","⟈":"\\ᑕ","ꝸ":"&","૰":"॰","𑂻":"॰","𑇇":"॰","⚬":"॰","𑇛":"꣼","៙":"๏","៕":"๚","៚":"๛","༌":"་","༎":"།།","˄":"^","ˆ":"^","꙾":"ˇ","˘":"ˇ","‾":"ˉ","﹉":"ˉ","﹊":"ˉ","﹋":"ˉ","﹌":"ˉ","¯":"ˉ"," ̄":"ˉ","▔":"ˉ","ъ":"ˉb","ꙑ":"ˉbi","͵":"ˏ","˻":"˪","꜖":"˪","꜔":"˫","。":"˳","⸰":"°","˚":"°","∘":"°","○":"°","◦":"°","⍜":"°̲","⍤":"°̈","℃":"°C","℉":"°F","௵":"௳","༛":"༚༚","༟":"༚༝","࿎":"༝༚","༞":"༝༝","Ⓒ":"©","Ⓡ":"®","Ⓟ":"℗","𝈛":"⅄","⯬":"↞","⯭":"↟","⯮":"↠","⯯":"↡","↵":"↲","⥥":"⇃⇂","⥯":"⇃ᛚ","𝛛":"∂","𝜕":"∂","𝝏":"∂","𝞉":"∂","𝟃":"∂","𞣌":"∂","𞣍":"∂̵","ð":"∂̵","⌀":"∅","𝛁":"∇","𝛻":"∇","𝜵":"∇","𝝯":"∇","𝞩":"∇","𑢨":"∇","⍢":"∇̈","⍫":"∇̴","█":"∎","■":"∎","⨿":"∐","᛭":"+","➕":"+","𐊛":"+","⨣":"+̂","⨢":"+̊","⨤":"+̃","∔":"+̇","⨥":"+̣","⨦":"+̰","⨧":"+₂","➗":"÷","‹":"<","❮":"<","˂":"<","𝈶":"<","ᐸ":"<","ᚲ":"<","⋖":"<·","Ⲵ":"<·","ᑅ":"<·","≪":"<<","⋘":"<<<","᐀":"=","⹀":"=","゠":"=","꓿":"=","≚":"=̆","≙":"=̂","≗":"=̊","≐":"=̇","≑":"=̣̇","⩮":"=⃰","⩵":"==","⩶":"===","≞":"=ͫ","›":">","❯":">","˃":">","𝈷":">","ᐳ":">","𖼿":">","ᑁ":">·","⪥":"><","≫":">>","⨠":">>","⋙":">>>","⁓":"~","˜":"~","῀":"~","∼":"~","⍨":"~̈","⸞":"~̇","⩪":"~̇","⸟":"~̣","𞣈":"∠","⋀":"∧","∯":"∮∮","∰":"∮∮∮","⸫":"∴","⸪":"∵","⸬":"∷","𑇞":"≈","♎":"≏","🝞":"≏","≣":"≡","⨃":"⊍","⨄":"⊎","𝈸":"⊏","𝈹":"⊐","⨅":"⊓","⨆":"⊔","⨂":"⊗","⍟":"⊛","🝱":"⊠","🝕":"⊡","◁":"⊲","▷":"⊳","⍣":"⋆̈","︴":"⌇","◠":"⌒","⨽":"⌙","⌥":"⌤","⧇":"⌻","◎":"⌾","⦾":"⌾","⧅":"⍂","⦰":"⍉","⏃":"⍋","⏂":"⍎","⏁":"⍕","Ö":"⍥","Ő":"⍥","⏆":"⍭","☸":"⎈","︵":"⏜","︶":"⏝","︷":"⏞","︸":"⏟","︹":"⏠","︺":"⏡","▱":"⏥","⏼":"⏻","︱":"│","|":"│","┃":"│","┏":"┌","┣":"├","▐":"▌","▗":"▖","▝":"▘","☐":"□","■":"▪","▸":"▶","►":"▶","⳩":"☧","🜊":"☩","🌒":"☽","🌙":"☽","⏾":"☾","🌘":"☾","⧙":"⦚","🜺":"⧟","⨾":"⨟","𐆠":"⳨","♩":"𝅘𝅥","♪":"𝅘𝅥𝅮","˙":"ॱ","ൎ":"ॱ","-":"ー","—":"ー","―":"ー","─":"ー","━":"ー","㇐":"ー","ꟷ":"ー","ᅳ":"ー","ㅡ":"ー","一":"ー","⼀":"ー","ᆖ":"ーー","ힹ":"ーᅡ","ힺ":"ーᅥ","ힻ":"ーᅥ丨","ힼ":"ーᅩ","ᆕ":"ーᅮ","ᅴ":"ー丨","ㅢ":"ー丨","ᆗ":"ー丨ᅮ","₤":"£","〒":"₸","〶":"₸","᭜":"᭐","꧆":"꧐","𑓑":"১","೧":"౧","ၥ":"၁","①":"➀","⑩":"➉","⏨":"₁₀","𝟐":"2","𝟚":"2","𝟤":"2","𝟮":"2","𝟸":"2","Ꝛ":"2","Ƨ":"2","Ϩ":"2","Ꙅ":"2","ᒿ":"2","ꛯ":"2","ꧏ":"٢","۲":"٢","૨":"२","𑓒":"২","೨":"౨","②":"➁","ƻ":"2̵","🄃":"2,","⒉":"2.","㏵":"22日","㍮":"22点","㏶":"23日","㍯":"23点","㏷":"24日","㍰":"24点","㏸":"25日","㏹":"26日","㏺":"27日","㏻":"28日","㏼":"29日","㏴":"2l日","㍭":"2l点","⒛":"2O.","㏳":"2O日","㍬":"2O点","෩":"෨ා","෯":"෨ී","㏡":"2日","㋁":"2月","㍚":"2点","𝈆":"3","𝟑":"3","𝟛":"3","𝟥":"3","𝟯":"3","𝟹":"3","Ɜ":"3","Ȝ":"3","Ʒ":"3","Ꝫ":"3","Ⳍ":"3","З":"3","Ӡ":"3","𖼻":"3","𑣊":"3","۳":"٣","𞣉":"٣","૩":"३","③":"➂","Ҙ":"3̦","🄄":"3,","⒊":"3.","㏾":"3l日","㏽":"3O日","㏢":"3日","㋂":"3月","㍛":"3点","𝟒":"4","𝟜":"4","𝟦":"4","𝟰":"4","𝟺":"4","Ꮞ":"4","𑢯":"4","۴":"٤","૪":"४","④":"➃","🄅":"4,","⒋":"4.","ᔰ":"4·","㏣":"4日","㋃":"4月","㍜":"4点","𝟓":"5","𝟝":"5","𝟧":"5","𝟱":"5","𝟻":"5","Ƽ":"5","𑢻":"5","⑤":"➄","🄆":"5,","⒌":"5.","㏤":"5日","㋄":"5月","㍝":"5点","𝟔":"6","𝟞":"6","𝟨":"6","𝟲":"6","𝟼":"6","Ⳓ":"6","б":"6","Ꮾ":"6","𑣕":"6","۶":"٦","𑓖":"৬","⑥":"➅","🄇":"6,","⒍":"6.","㏥":"6日","㋅":"6月","㍞":"6点","𝈒":"7","𝟕":"7","𝟟":"7","𝟩":"7","𝟳":"7","𝟽":"7","𐓒":"7","𑣆":"7","⑦":"➆","🄈":"7,","⒎":"7.","㏦":"7日","㋆":"7月","㍟":"7点","ଃ":"8","৪":"8","੪":"8","𞣋":"8","𝟖":"8","𝟠":"8","𝟪":"8","𝟴":"8","𝟾":"8","ȣ":"8","Ȣ":"8","𐌚":"8","૮":"८","⑧":"➇","🄉":"8,","⒏":"8.","㏧":"8日","㋇":"8月","㍠":"8点","੧":"9","୨":"9","৭":"9","൭":"9","𝟗":"9","𝟡":"9","𝟫":"9","𝟵":"9","𝟿":"9","Ꝯ":"9","Ⳋ":"9","𑣌":"9","𑢬":"9","𑣖":"9","१":"٩","𑣤":"٩","۹":"٩","೯":"౯","⑨":"➈","🄊":"9,","⒐":"9.","㏨":"9日","㋈":"9月","㍡":"9点","⍺":"a","a":"a","𝐚":"a","𝑎":"a","𝒂":"a","𝒶":"a","𝓪":"a","𝔞":"a","𝕒":"a","𝖆":"a","𝖺":"a","𝗮":"a","𝘢":"a","𝙖":"a","𝚊":"a","ɑ":"a","α":"a","𝛂":"a","𝛼":"a","𝜶":"a","𝝰":"a","𝞪":"a","а":"a","ⷶ":"ͣ","A":"A","𝐀":"A","𝐴":"A","𝑨":"A","𝒜":"A","𝓐":"A","𝔄":"A","𝔸":"A","𝕬":"A","𝖠":"A","𝗔":"A","𝘈":"A","𝘼":"A","𝙰":"A","Α":"A","𝚨":"A","𝛢":"A","𝜜":"A","𝝖":"A","𝞐":"A","А":"A","Ꭺ":"A","ᗅ":"A","ꓮ":"A","𖽀":"A","𐊠":"A","⍶":"a̲","ǎ":"ă","Ǎ":"Ă","ȧ":"å","Ȧ":"Å","ẚ":"ả","℀":"a/c","℁":"a/s","ꜳ":"aa","Ꜳ":"AA","æ":"ae","ӕ":"ae","Æ":"AE","Ӕ":"AE","ꜵ":"ao","Ꜵ":"AO","🜇":"AR","ꜷ":"au","Ꜷ":"AU","ꜹ":"av","ꜻ":"av","Ꜹ":"AV","Ꜻ":"AV","ꜽ":"ay","Ꜽ":"AY","ꭺ":"ᴀ","∀":"Ɐ","𝈗":"Ɐ","ᗄ":"Ɐ","ꓯ":"Ɐ","𐐟":"Ɒ","𝐛":"b","𝑏":"b","𝒃":"b","𝒷":"b","𝓫":"b","𝔟":"b","𝕓":"b","𝖇":"b","𝖻":"b","𝗯":"b","𝘣":"b","𝙗":"b","𝚋":"b","Ƅ":"b","Ь":"b","Ꮟ":"b","ᖯ":"b","B":"B","ℬ":"B","𝐁":"B","𝐵":"B","𝑩":"B","𝓑":"B","𝔅":"B","𝔹":"B","𝕭":"B","𝖡":"B","𝗕":"B","𝘉":"B","𝘽":"B","𝙱":"B","Ꞵ":"B","Β":"B","𝚩":"B","𝛣":"B","𝜝":"B","𝝗":"B","𝞑":"B","В":"B","Ᏼ":"B","ᗷ":"B","ꓐ":"B","𐊂":"B","𐊡":"B","𐌁":"B","ɓ":"b̔","ƃ":"b̄","Ƃ":"b̄","Б":"b̄","ƀ":"b̵","ҍ":"b̵","Ҍ":"b̵","ѣ":"b̵","Ѣ":"b̵","Ы":"bl","в":"ʙ","ᏼ":"ʙ","c":"c","ⅽ":"c","𝐜":"c","𝑐":"c","𝒄":"c","𝒸":"c","𝓬":"c","𝔠":"c","𝕔":"c","𝖈":"c","𝖼":"c","𝗰":"c","𝘤":"c","𝙘":"c","𝚌":"c","ᴄ":"c","ϲ":"c","ⲥ":"c","с":"c","ꮯ":"c","𐐽":"c","ⷭ":"ͨ","🝌":"C","𑣲":"C","𑣩":"C","C":"C","Ⅽ":"C","ℂ":"C","ℭ":"C","𝐂":"C","𝐶":"C","𝑪":"C","𝒞":"C","𝓒":"C","𝕮":"C","𝖢":"C","𝗖":"C","𝘊":"C","𝘾":"C","𝙲":"C","Ϲ":"C","Ⲥ":"C","С":"C","Ꮯ":"C","ꓚ":"C","𐊢":"C","𐌂":"C","𐐕":"C","𐔜":"C","¢":"c̸","ȼ":"c̸","₡":"C⃫","ç":"c̦","ҫ":"c̦","Ç":"C̦","Ҫ":"C̦","Ƈ":"C'","℅":"c/o","℆":"c/u","⋴":"ꞓ","ɛ":"ꞓ","ε":"ꞓ","ϵ":"ꞓ","𝛆":"ꞓ","𝛜":"ꞓ","𝜀":"ꞓ","𝜖":"ꞓ","𝜺":"ꞓ","𝝐":"ꞓ","𝝴":"ꞓ","𝞊":"ꞓ","𝞮":"ꞓ","𝟄":"ꞓ","ⲉ":"ꞓ","є":"ꞓ","ԑ":"ꞓ","ꮛ":"ꞓ","𑣎":"ꞓ","𐐩":"ꞓ","€":"Ꞓ","Ⲉ":"Ꞓ","Є":"Ꞓ","⍷":"ꞓ̲","ͽ":"ꜿ","Ͽ":"Ꜿ","ⅾ":"d","ⅆ":"d","𝐝":"d","𝑑":"d","𝒅":"d","𝒹":"d","𝓭":"d","𝔡":"d","𝕕":"d","𝖉":"d","𝖽":"d","𝗱":"d","𝘥":"d","𝙙":"d","𝚍":"d","ԁ":"d","Ꮷ":"d","ᑯ":"d","ꓒ":"d","Ⅾ":"D","ⅅ":"D","𝐃":"D","𝐷":"D","𝑫":"D","𝒟":"D","𝓓":"D","𝔇":"D","𝔻":"D","𝕯":"D","𝖣":"D","𝗗":"D","𝘋":"D","𝘿":"D","𝙳":"D","Ꭰ":"D","ᗞ":"D","ᗪ":"D","ꓓ":"D","ɗ":"d̔","ɖ":"d̨","ƌ":"d̄","đ":"d̵","Đ":"D̵","Ð":"D̵","Ɖ":"D̵","₫":"ḏ̵","ꝺ":"Ꝺ","ᑻ":"d·","ᒇ":"d'","ʤ":"dȝ","dz":"dz","ʣ":"dz","Dz":"Dz","DZ":"DZ","dž":"dž","Dž":"Dž","DŽ":"DŽ","ʥ":"dʑ","ꭰ":"ᴅ","⸹":"ẟ","δ":"ẟ","𝛅":"ẟ","𝛿":"ẟ","𝜹":"ẟ","𝝳":"ẟ","𝞭":"ẟ","ծ":"ẟ","ᕷ":"ẟ","℮":"e","e":"e","ℯ":"e","ⅇ":"e","𝐞":"e","𝑒":"e","𝒆":"e","𝓮":"e","𝔢":"e","𝕖":"e","𝖊":"e","𝖾":"e","𝗲":"e","𝘦":"e","𝙚":"e","𝚎":"e","ꬲ":"e","е":"e","ҽ":"e","ⷷ":"ͤ","⋿":"E","E":"E","ℰ":"E","𝐄":"E","𝐸":"E","𝑬":"E","𝓔":"E","𝔈":"E","𝔼":"E","𝕰":"E","𝖤":"E","𝗘":"E","𝘌":"E","𝙀":"E","𝙴":"E","Ε":"E","𝚬":"E","𝛦":"E","𝜠":"E","𝝚":"E","𝞔":"E","Е":"E","ⴹ":"E","Ꭼ":"E","ꓰ":"E","𑢦":"E","𑢮":"E","𐊆":"E","ě":"ĕ","Ě":"Ĕ","ɇ":"e̸","Ɇ":"E̸","ҿ":"ę","ꭼ":"ᴇ","ə":"ǝ","ә":"ǝ","∃":"Ǝ","ⴺ":"Ǝ","ꓱ":"Ǝ","ɚ":"ǝ˞","ᴔ":"ǝo","ꭁ":"ǝo̸","ꭂ":"ǝo̵","Ә":"Ə","𝈡":"Ɛ","ℇ":"Ɛ","Ԑ":"Ɛ","Ꮛ":"Ɛ","𖼭":"Ɛ","𐐁":"Ɛ","ᶟ":"ᵋ","ᴈ":"ɜ","з":"ɜ","ҙ":"ɜ̦","𐑂":"ɞ","ꞝ":"ʚ","𐐪":"ʚ","𝐟":"f","𝑓":"f","𝒇":"f","𝒻":"f","𝓯":"f","𝔣":"f","𝕗":"f","𝖋":"f","𝖿":"f","𝗳":"f","𝘧":"f","𝙛":"f","𝚏":"f","ꬵ":"f","ꞙ":"f","ſ":"f","ẝ":"f","ք":"f","𝈓":"F","ℱ":"F","𝐅":"F","𝐹":"F","𝑭":"F","𝓕":"F","𝔉":"F","𝔽":"F","𝕱":"F","𝖥":"F","𝗙":"F","𝘍":"F","𝙁":"F","𝙵":"F","Ꞙ":"F","Ϝ":"F","𝟊":"F","ᖴ":"F","ꓝ":"F","𑣂":"F","𑢢":"F","𐊇":"F","𐊥":"F","𐔥":"F","ƒ":"f̦","Ƒ":"F̦","ᵮ":"f̴","℻":"FAX","ff":"ff","ffi":"ffi","ffl":"ffl","fi":"fi","fl":"fl","ʩ":"fŋ","ᖵ":"Ⅎ","ꓞ":"Ⅎ","𝈰":"ꟻ","ᖷ":"ꟻ","g":"g","ℊ":"g","𝐠":"g","𝑔":"g","𝒈":"g","𝓰":"g","𝔤":"g","𝕘":"g","𝖌":"g","𝗀":"g","𝗴":"g","𝘨":"g","𝙜":"g","𝚐":"g","ɡ":"g","ᶃ":"g","ƍ":"g","ց":"g","𝐆":"G","𝐺":"G","𝑮":"G","𝒢":"G","𝓖":"G","𝔊":"G","𝔾":"G","𝕲":"G","𝖦":"G","𝗚":"G","𝘎":"G","𝙂":"G","𝙶":"G","Ԍ":"G","Ꮐ":"G","Ᏻ":"G","ꓖ":"G","ᶢ":"ᵍ","ɠ":"g̔","ǧ":"ğ","Ǧ":"Ğ","ǵ":"ģ","ǥ":"g̵","Ǥ":"G̵","Ɠ":"G'","ԍ":"ɢ","ꮐ":"ɢ","ᏻ":"ɢ","h":"h","ℎ":"h","𝐡":"h","𝒉":"h","𝒽":"h","𝓱":"h","𝔥":"h","𝕙":"h","𝖍":"h","𝗁":"h","𝗵":"h","𝘩":"h","𝙝":"h","𝚑":"h","һ":"h","հ":"h","Ꮒ":"h","H":"H","ℋ":"H","ℌ":"H","ℍ":"H","𝐇":"H","𝐻":"H","𝑯":"H","𝓗":"H","𝕳":"H","𝖧":"H","𝗛":"H","𝘏":"H","𝙃":"H","𝙷":"H","Η":"H","𝚮":"H","𝛨":"H","𝜢":"H","𝝜":"H","𝞖":"H","Ⲏ":"H","Н":"H","Ꮋ":"H","ᕼ":"H","ꓧ":"H","𐋏":"H","ᵸ":"ᴴ","ɦ":"h̔","ꚕ":"h̔","Ᏺ":"h̔","Ⱨ":"H̩","Ң":"H̩","ħ":"h̵","ℏ":"h̵","ћ":"h̵","Ħ":"H̵","Ӊ":"H̦","Ӈ":"H̦","н":"ʜ","ꮋ":"ʜ","ң":"ʜ̩","ӊ":"ʜ̦","ӈ":"ʜ̦","Ԋ":"Ƕ","ꮀ":"ⱶ","Ͱ":"Ⱶ","Ꭸ":"Ⱶ","Ꮀ":"Ⱶ","ꚱ":"Ⱶ","ꞕ":"ꜧ","˛":"i","⍳":"i","i":"i","ⅰ":"i","ℹ":"i","ⅈ":"i","𝐢":"i","𝑖":"i","𝒊":"i","𝒾":"i","𝓲":"i","𝔦":"i","𝕚":"i","𝖎":"i","𝗂":"i","𝗶":"i","𝘪":"i","𝙞":"i","𝚒":"i","ı":"i","𝚤":"i","ɪ":"i","ɩ":"i","ι":"i","ι":"i","ͺ":"i","𝛊":"i","𝜄":"i","𝜾":"i","𝝸":"i","𝞲":"i","і":"i","ꙇ":"i","ӏ":"i","ꭵ":"i","Ꭵ":"i","𑣃":"i","ⓛ":"Ⓘ","⍸":"i̲","ǐ":"ĭ","Ǐ":"Ĭ","ɨ":"i̵","ᵻ":"i̵","ᵼ":"i̵","ⅱ":"ii","ⅲ":"iii","ij":"ij","ⅳ":"iv","ⅸ":"ix","j":"j","ⅉ":"j","𝐣":"j","𝑗":"j","𝒋":"j","𝒿":"j","𝓳":"j","𝔧":"j","𝕛":"j","𝖏":"j","𝗃":"j","𝗷":"j","𝘫":"j","𝙟":"j","𝚓":"j","ϳ":"j","ј":"j","J":"J","𝐉":"J","𝐽":"J","𝑱":"J","𝒥":"J","𝓙":"J","𝔍":"J","𝕁":"J","𝕵":"J","𝖩":"J","𝗝":"J","𝘑":"J","𝙅":"J","𝙹":"J","Ʝ":"J","Ϳ":"J","Ј":"J","Ꭻ":"J","ᒍ":"J","ꓙ":"J","ɉ":"j̵","Ɉ":"J̵","ᒙ":"J·","𝚥":"ȷ","յ":"ȷ","ꭻ":"ᴊ","𝐤":"k","𝑘":"k","𝒌":"k","𝓀":"k","𝓴":"k","𝔨":"k","𝕜":"k","𝖐":"k","𝗄":"k","𝗸":"k","𝘬":"k","𝙠":"k","𝚔":"k","K":"K","K":"K","𝐊":"K","𝐾":"K","𝑲":"K","𝒦":"K","𝓚":"K","𝔎":"K","𝕂":"K","𝕶":"K","𝖪":"K","𝗞":"K","𝘒":"K","𝙆":"K","𝙺":"K","Κ":"K","𝚱":"K","𝛫":"K","𝜥":"K","𝝟":"K","𝞙":"K","Ⲕ":"K","К":"K","Ꮶ":"K","ᛕ":"K","ꓗ":"K","𐔘":"K","ƙ":"k̔","Ⱪ":"K̩","Қ":"K̩","₭":"K̵","Ꝁ":"K̵","Ҟ":"K̵","Ƙ":"K'","׀":"l","|":"l","∣":"l","⏽":"l","│":"l","١":"l","۱":"l","𐌠":"l","𞣇":"l","𝟏":"l","𝟙":"l","𝟣":"l","𝟭":"l","𝟷":"l",I:"l","I":"l","Ⅰ":"l","ℐ":"l","ℑ":"l","𝐈":"l","𝐼":"l","𝑰":"l","𝓘":"l","𝕀":"l","𝕴":"l","𝖨":"l","𝗜":"l","𝘐":"l","𝙄":"l","𝙸":"l","Ɩ":"l","l":"l","ⅼ":"l","ℓ":"l","𝐥":"l","𝑙":"l","𝒍":"l","𝓁":"l","𝓵":"l","𝔩":"l","𝕝":"l","𝖑":"l","𝗅":"l","𝗹":"l","𝘭":"l","𝙡":"l","𝚕":"l","ǀ":"l","Ι":"l","𝚰":"l","𝛪":"l","𝜤":"l","𝝞":"l","𝞘":"l","Ⲓ":"l","І":"l","Ӏ":"l","ו":"l","ן":"l","ا":"l","𞸀":"l","𞺀":"l","ﺎ":"l","ﺍ":"l","ߊ":"l","ⵏ":"l","ᛁ":"l","ꓲ":"l","𖼨":"l","𐊊":"l","𐌉":"l","𝈪":"L","Ⅼ":"L","ℒ":"L","𝐋":"L","𝐿":"L","𝑳":"L","𝓛":"L","𝔏":"L","𝕃":"L","𝕷":"L","𝖫":"L","𝗟":"L","𝘓":"L","𝙇":"L","𝙻":"L","Ⳑ":"L","Ꮮ":"L","ᒪ":"L","ꓡ":"L","𖼖":"L","𑢣":"L","𑢲":"L","𐐛":"L","𐔦":"L","ﴼ":"l̋","ﴽ":"l̋","ł":"l̸","Ł":"L̸","ɭ":"l̨","Ɨ":"l̵","ƚ":"l̵","ɫ":"l̴","إ":"lٕ","ﺈ":"lٕ","ﺇ":"lٕ","ٳ":"lٕ","ŀ":"l·","Ŀ":"l·","ᒷ":"l·","🄂":"l,","⒈":"l.","ױ":"l'","⒓":"l2.","㏫":"l2日","㋋":"l2月","㍤":"l2点","⒔":"l3.","㏬":"l3日","㍥":"l3点","⒕":"l4.","㏭":"l4日","㍦":"l4点","⒖":"l5.","㏮":"l5日","㍧":"l5点","⒗":"l6.","㏯":"l6日","㍨":"l6点","⒘":"l7.","㏰":"l7日","㍩":"l7点","⒙":"l8.","㏱":"l8日","㍪":"l8点","⒚":"l9.","㏲":"l9日","㍫":"l9点","lj":"lj","IJ":"lJ","Lj":"Lj","LJ":"LJ","‖":"ll","∥":"ll","Ⅱ":"ll","ǁ":"ll","װ":"ll","𐆙":"l̵l̵","⒒":"ll.","Ⅲ":"lll","𐆘":"l̵l̵S̵","㏪":"ll日","㋊":"ll月","㍣":"ll点","Ю":"lO","⒑":"lO.","㏩":"lO日","㋉":"lO月","㍢":"lO点","ʪ":"ls","₶":"lt","Ⅳ":"lV","Ⅸ":"lX","ɮ":"lȝ","ʫ":"lz","أ":"lٴ","ﺄ":"lٴ","ﺃ":"lٴ","ٲ":"lٴ","ٵ":"lٴ","ﷳ":"lكبر","ﷲ":"lللّٰo","㏠":"l日","㋀":"l月","㍙":"l点","ⳑ":"ʟ","ꮮ":"ʟ","𐑃":"ʟ","M":"M","Ⅿ":"M","ℳ":"M","𝐌":"M","𝑀":"M","𝑴":"M","𝓜":"M","𝔐":"M","𝕄":"M","𝕸":"M","𝖬":"M","𝗠":"M","𝘔":"M","𝙈":"M","𝙼":"M","Μ":"M","𝚳":"M","𝛭":"M","𝜧":"M","𝝡":"M","𝞛":"M","Ϻ":"M","Ⲙ":"M","М":"M","Ꮇ":"M","ᗰ":"M","ᛖ":"M","ꓟ":"M","𐊰":"M","𐌑":"M","Ӎ":"M̦","🝫":"MB","ⷨ":"ᷟ","𝐧":"n","𝑛":"n","𝒏":"n","𝓃":"n","𝓷":"n","𝔫":"n","𝕟":"n","𝖓":"n","𝗇":"n","𝗻":"n","𝘯":"n","𝙣":"n","𝚗":"n","ո":"n","ռ":"n","N":"N","ℕ":"N","𝐍":"N","𝑁":"N","𝑵":"N","𝒩":"N","𝓝":"N","𝔑":"N","𝕹":"N","𝖭":"N","𝗡":"N","𝘕":"N","𝙉":"N","𝙽":"N","Ν":"N","𝚴":"N","𝛮":"N","𝜨":"N","𝝢":"N","𝞜":"N","Ⲛ":"N","ꓠ":"N","𐔓":"N","𐆎":"N̊","ɳ":"n̨","ƞ":"n̩","η":"n̩","𝛈":"n̩","𝜂":"n̩","𝜼":"n̩","𝝶":"n̩","𝞰":"n̩","Ɲ":"N̦","ᵰ":"n̴","nj":"nj","Nj":"Nj","NJ":"NJ","№":"No","ͷ":"ᴎ","и":"ᴎ","𐑍":"ᴎ","ņ":"ɲ","ం":"o","ಂ":"o","ം":"o","ං":"o","०":"o","੦":"o","૦":"o","௦":"o","౦":"o","೦":"o","൦":"o","๐":"o","໐":"o","၀":"o","٥":"o","۵":"o","o":"o","ℴ":"o","𝐨":"o","𝑜":"o","𝒐":"o","𝓸":"o","𝔬":"o","𝕠":"o","𝖔":"o","𝗈":"o","𝗼":"o","𝘰":"o","𝙤":"o","𝚘":"o","ᴏ":"o","ᴑ":"o","ꬽ":"o","ο":"o","𝛐":"o","𝜊":"o","𝝄":"o","𝝾":"o","𝞸":"o","σ":"o","𝛔":"o","𝜎":"o","𝝈":"o","𝞂":"o","𝞼":"o","ⲟ":"o","о":"o","ჿ":"o","օ":"o","ס":"o","ه":"o","𞸤":"o","𞹤":"o","𞺄":"o","ﻫ":"o","ﻬ":"o","ﻪ":"o","ﻩ":"o","ھ":"o","ﮬ":"o","ﮭ":"o","ﮫ":"o","ﮪ":"o","ہ":"o","ﮨ":"o","ﮩ":"o","ﮧ":"o","ﮦ":"o","ە":"o","ഠ":"o","ဝ":"o","𐓪":"o","𑣈":"o","𑣗":"o","𐐬":"o","߀":"O","০":"O","୦":"O","〇":"O","𑓐":"O","𑣠":"O","𝟎":"O","𝟘":"O","𝟢":"O","𝟬":"O","𝟶":"O","O":"O","𝐎":"O","𝑂":"O","𝑶":"O","𝒪":"O","𝓞":"O","𝔒":"O","𝕆":"O","𝕺":"O","𝖮":"O","𝗢":"O","𝘖":"O","𝙊":"O","𝙾":"O","Ο":"O","𝚶":"O","𝛰":"O","𝜪":"O","𝝤":"O","𝞞":"O","Ⲟ":"O","О":"O","Օ":"O","ⵔ":"O","ዐ":"O","ଠ":"O","𐓂":"O","ꓳ":"O","𑢵":"O","𐊒":"O","𐊫":"O","𐐄":"O","𐔖":"O","⁰":"º","ᵒ":"º","ǒ":"ŏ","Ǒ":"Ŏ","ۿ":"ô","ø":"o̸","ꬾ":"o̸","Ø":"O̸","ⵁ":"O̸","Ǿ":"Ó̸","ɵ":"o̵","ꝋ":"o̵","ө":"o̵","ѳ":"o̵","ꮎ":"o̵","ꮻ":"o̵","⊖":"O̵","⊝":"O̵","⍬":"O̵","𝈚":"O̵","🜔":"O̵","Ɵ":"O̵","Ꝋ":"O̵","θ":"O̵","ϑ":"O̵","𝛉":"O̵","𝛝":"O̵","𝜃":"O̵","𝜗":"O̵","𝜽":"O̵","𝝑":"O̵","𝝷":"O̵","𝞋":"O̵","𝞱":"O̵","𝟅":"O̵","Θ":"O̵","ϴ":"O̵","𝚯":"O̵","𝚹":"O̵","𝛩":"O̵","𝛳":"O̵","𝜣":"O̵","𝜭":"O̵","𝝝":"O̵","𝝧":"O̵","𝞗":"O̵","𝞡":"O̵","Ө":"O̵","Ѳ":"O̵","ⴱ":"O̵","Ꮎ":"O̵","Ꮻ":"O̵","ꭴ":"ơ","ﳙ":"oٰ","🄁":"O,","🄀":"O.","ơ":"o'","Ơ":"O'","Ꭴ":"O'","%":"º/₀","٪":"º/₀","⁒":"º/₀","‰":"º/₀₀","؉":"º/₀₀","‱":"º/₀₀₀","؊":"º/₀₀₀","œ":"oe","Œ":"OE","ɶ":"oᴇ","∞":"oo","ꝏ":"oo","ꚙ":"oo","Ꝏ":"OO","Ꚙ":"OO","ﳗ":"oج","ﱑ":"oج","ﳘ":"oم","ﱒ":"oم","ﶓ":"oمج","ﶔ":"oمم","ﱓ":"oى","ﱔ":"oى","ൟ":"oരo","တ":"oာ","㍘":"O点","ↄ":"ɔ","ᴐ":"ɔ","ͻ":"ɔ","𐑋":"ɔ","Ↄ":"Ɔ","Ͻ":"Ɔ","ꓛ":"Ɔ","𐐣":"Ɔ","ꬿ":"ɔ̸","ꭢ":"ɔe","𐐿":"ɷ","⍴":"p","p":"p","𝐩":"p","𝑝":"p","𝒑":"p","𝓅":"p","𝓹":"p","𝔭":"p","𝕡":"p","𝖕":"p","𝗉":"p","𝗽":"p","𝘱":"p","𝙥":"p","𝚙":"p","ρ":"p","ϱ":"p","𝛒":"p","𝛠":"p","𝜌":"p","𝜚":"p","𝝆":"p","𝝔":"p","𝞀":"p","𝞎":"p","𝞺":"p","𝟈":"p","ⲣ":"p","р":"p","P":"P","ℙ":"P","𝐏":"P","𝑃":"P","𝑷":"P","𝒫":"P","𝓟":"P","𝔓":"P","𝕻":"P","𝖯":"P","𝗣":"P","𝘗":"P","𝙋":"P","𝙿":"P","Ρ":"P","𝚸":"P","𝛲":"P","𝜬":"P","𝝦":"P","𝞠":"P","Ⲣ":"P","Р":"P","Ꮲ":"P","ᑭ":"P","ꓑ":"P","𐊕":"P","ƥ":"p̔","ᵽ":"p̵","ᑷ":"p·","ᒆ":"P'","ᴩ":"ᴘ","ꮲ":"ᴘ","φ":"ɸ","ϕ":"ɸ","𝛗":"ɸ","𝛟":"ɸ","𝜑":"ɸ","𝜙":"ɸ","𝝋":"ɸ","𝝓":"ɸ","𝞅":"ɸ","𝞍":"ɸ","𝞿":"ɸ","𝟇":"ɸ","ⲫ":"ɸ","ф":"ɸ","𝐪":"q","𝑞":"q","𝒒":"q","𝓆":"q","𝓺":"q","𝔮":"q","𝕢":"q","𝖖":"q","𝗊":"q","𝗾":"q","𝘲":"q","𝙦":"q","𝚚":"q","ԛ":"q","գ":"q","զ":"q","ℚ":"Q","𝐐":"Q","𝑄":"Q","𝑸":"Q","𝒬":"Q","𝓠":"Q","𝔔":"Q","𝕼":"Q","𝖰":"Q","𝗤":"Q","𝘘":"Q","𝙌":"Q","𝚀":"Q","ⵕ":"Q","ʠ":"q̔","🜀":"QE","ᶐ":"ɋ","ᴋ":"ĸ","κ":"ĸ","ϰ":"ĸ","𝛋":"ĸ","𝛞":"ĸ","𝜅":"ĸ","𝜘":"ĸ","𝜿":"ĸ","𝝒":"ĸ","𝝹":"ĸ","𝞌":"ĸ","𝞳":"ĸ","𝟆":"ĸ","ⲕ":"ĸ","к":"ĸ","ꮶ":"ĸ","қ":"ĸ̩","ҟ":"ĸ̵","𝐫":"r","𝑟":"r","𝒓":"r","𝓇":"r","𝓻":"r","𝔯":"r","𝕣":"r","𝖗":"r","𝗋":"r","𝗿":"r","𝘳":"r","𝙧":"r","𝚛":"r","ꭇ":"r","ꭈ":"r","ᴦ":"r","ⲅ":"r","г":"r","ꮁ":"r","𝈖":"R","ℛ":"R","ℜ":"R","ℝ":"R","𝐑":"R","𝑅":"R","𝑹":"R","𝓡":"R","𝕽":"R","𝖱":"R","𝗥":"R","𝘙":"R","𝙍":"R","𝚁":"R","Ʀ":"R","Ꭱ":"R","Ꮢ":"R","𐒴":"R","ᖇ":"R","ꓣ":"R","𖼵":"R","ɽ":"r̨","ɼ":"r̩","ɍ":"r̵","ғ":"r̵","ᵲ":"r̴","ґ":"r'","𑣣":"rn",m:"rn","ⅿ":"rn","𝐦":"rn","𝑚":"rn","𝒎":"rn","𝓂":"rn","𝓶":"rn","𝔪":"rn","𝕞":"rn","𝖒":"rn","𝗆":"rn","𝗺":"rn","𝘮":"rn","𝙢":"rn","𝚖":"rn","𑜀":"rn","₥":"rn̸","ɱ":"rn̦","ᵯ":"rn̴","₨":"Rs","ꭱ":"ʀ","ꮢ":"ʀ","я":"ᴙ","ᵳ":"ɾ̴","℩":"ɿ","s":"s","𝐬":"s","𝑠":"s","𝒔":"s","𝓈":"s","𝓼":"s","𝔰":"s","𝕤":"s","𝖘":"s","𝗌":"s","𝘀":"s","𝘴":"s","𝙨":"s","𝚜":"s","ꜱ":"s","ƽ":"s","ѕ":"s","ꮪ":"s","𑣁":"s","𐑈":"s","S":"S","𝐒":"S","𝑆":"S","𝑺":"S","𝒮":"S","𝓢":"S","𝔖":"S","𝕊":"S","𝕾":"S","𝖲":"S","𝗦":"S","𝘚":"S","𝙎":"S","𝚂":"S","Ѕ":"S","Տ":"S","Ꮥ":"S","Ꮪ":"S","ꓢ":"S","𖼺":"S","𐊖":"S","𐐠":"S","ʂ":"s̨","ᵴ":"s̴","ꞵ":"ß","β":"ß","ϐ":"ß","𝛃":"ß","𝛽":"ß","𝜷":"ß","𝝱":"ß","𝞫":"ß","Ᏸ":"ß","🝜":"sss","st":"st","∫":"ʃ","ꭍ":"ʃ","∑":"Ʃ","⅀":"Ʃ","Σ":"Ʃ","𝚺":"Ʃ","𝛴":"Ʃ","𝜮":"Ʃ","𝝨":"Ʃ","𝞢":"Ʃ","ⵉ":"Ʃ","∬":"ʃʃ","∭":"ʃʃʃ","⨌":"ʃʃʃʃ","𝐭":"t","𝑡":"t","𝒕":"t","𝓉":"t","𝓽":"t","𝔱":"t","𝕥":"t","𝖙":"t","𝗍":"t","𝘁":"t","𝘵":"t","𝙩":"t","𝚝":"t","⊤":"T","⟙":"T","🝨":"T","T":"T","𝐓":"T","𝑇":"T","𝑻":"T","𝒯":"T","𝓣":"T","𝔗":"T","𝕋":"T","𝕿":"T","𝖳":"T","𝗧":"T","𝘛":"T","𝙏":"T","𝚃":"T","Τ":"T","𝚻":"T","𝛵":"T","𝜯":"T","𝝩":"T","𝞣":"T","Ⲧ":"T","Т":"T","Ꭲ":"T","ꓔ":"T","𖼊":"T","𑢼":"T","𐊗":"T","𐊱":"T","𐌕":"T","ƭ":"t̔","⍡":"T̈","Ⱦ":"T̸","Ț":"Ţ","Ʈ":"T̨","Ҭ":"T̩","₮":"T⃫","ŧ":"t̵","Ŧ":"T̵","ᵵ":"t̴","Ⴀ":"Ꞇ","Ꜩ":"T3","ʨ":"tɕ","℡":"TEL","ꝷ":"tf","ʦ":"ts","ʧ":"tʃ","ꜩ":"tȝ","τ":"ᴛ","𝛕":"ᴛ","𝜏":"ᴛ","𝝉":"ᴛ","𝞃":"ᴛ","𝞽":"ᴛ","т":"ᴛ","ꭲ":"ᴛ","ҭ":"ᴛ̩","ţ":"ƫ","ț":"ƫ","Ꮏ":"ƫ","𝐮":"u","𝑢":"u","𝒖":"u","𝓊":"u","𝓾":"u","𝔲":"u","𝕦":"u","𝖚":"u","𝗎":"u","𝘂":"u","𝘶":"u","𝙪":"u","𝚞":"u","ꞟ":"u","ᴜ":"u","ꭎ":"u","ꭒ":"u","ʋ":"u","υ":"u","𝛖":"u","𝜐":"u","𝝊":"u","𝞄":"u","𝞾":"u","ս":"u","𐓶":"u","𑣘":"u","∪":"U","⋃":"U","𝐔":"U","𝑈":"U","𝑼":"U","𝒰":"U","𝓤":"U","𝔘":"U","𝕌":"U","𝖀":"U","𝖴":"U","𝗨":"U","𝘜":"U","𝙐":"U","𝚄":"U","Ս":"U","ሀ":"U","𐓎":"U","ᑌ":"U","ꓴ":"U","𖽂":"U","𑢸":"U","ǔ":"ŭ","Ǔ":"Ŭ","ᵾ":"u̵","ꮜ":"u̵","Ʉ":"U̵","Ꮜ":"U̵","ᑘ":"U·","ᑧ":"U'","ᵫ":"ue","ꭣ":"uo","ṃ":"ꭑ","պ":"ɰ","ሣ":"ɰ","℧":"Ʊ","ᘮ":"Ʊ","ᘴ":"Ʊ","ᵿ":"ʊ̵","∨":"v","⋁":"v","v":"v","ⅴ":"v","𝐯":"v","𝑣":"v","𝒗":"v","𝓋":"v","𝓿":"v","𝔳":"v","𝕧":"v","𝖛":"v","𝗏":"v","𝘃":"v","𝘷":"v","𝙫":"v","𝚟":"v","ᴠ":"v","ν":"v","𝛎":"v","𝜈":"v","𝝂":"v","𝝼":"v","𝞶":"v","ѵ":"v","ט":"v","𑜆":"v","ꮩ":"v","𑣀":"v","𝈍":"V","٧":"V","۷":"V","Ⅴ":"V","𝐕":"V","𝑉":"V","𝑽":"V","𝒱":"V","𝓥":"V","𝔙":"V","𝕍":"V","𝖁":"V","𝖵":"V","𝗩":"V","𝘝":"V","𝙑":"V","𝚅":"V","Ѵ":"V","ⴸ":"V","Ꮩ":"V","ᐯ":"V","ꛟ":"V","ꓦ":"V","𖼈":"V","𑢠":"V","𐔝":"V","𐆗":"V̵","ᐻ":"V·","🝬":"VB","ⅵ":"vi","ⅶ":"vii","ⅷ":"viii","Ⅵ":"Vl","Ⅶ":"Vll","Ⅷ":"Vlll","🜈":"Vᷤ","ᴧ":"ʌ","𐓘":"ʌ","٨":"Ʌ","۸":"Ʌ","Λ":"Ʌ","𝚲":"Ʌ","𝛬":"Ʌ","𝜦":"Ʌ","𝝠":"Ʌ","𝞚":"Ʌ","Л":"Ʌ","ⴷ":"Ʌ","𐒰":"Ʌ","ᐱ":"Ʌ","ꛎ":"Ʌ","ꓥ":"Ʌ","𖼽":"Ʌ","𐊍":"Ʌ","Ӆ":"Ʌ̦","ᐽ":"Ʌ·","ɯ":"w","𝐰":"w","𝑤":"w","𝒘":"w","𝓌":"w","𝔀":"w","𝔴":"w","𝕨":"w","𝖜":"w","𝗐":"w","𝘄":"w","𝘸":"w","𝙬":"w","𝚠":"w","ᴡ":"w","ѡ":"w","ԝ":"w","ա":"w","𑜊":"w","𑜎":"w","𑜏":"w","ꮃ":"w","𑣯":"W","𑣦":"W","𝐖":"W","𝑊":"W","𝑾":"W","𝒲":"W","𝓦":"W","𝔚":"W","𝕎":"W","𝖂":"W","𝖶":"W","𝗪":"W","𝘞":"W","𝙒":"W","𝚆":"W","Ԝ":"W","Ꮃ":"W","Ꮤ":"W","ꓪ":"W","ѽ":"w҆҇","𑓅":"ẇ","₩":"W̵","ꝡ":"w̦","ᴍ":"ʍ","м":"ʍ","ꮇ":"ʍ","ӎ":"ʍ̦","᙮":"x","×":"x","⤫":"x","⤬":"x","⨯":"x","x":"x","ⅹ":"x","𝐱":"x","𝑥":"x","𝒙":"x","𝓍":"x","𝔁":"x","𝔵":"x","𝕩":"x","𝖝":"x","𝗑":"x","𝘅":"x","𝘹":"x","𝙭":"x","𝚡":"x","х":"x","ᕁ":"x","ᕽ":"x","ⷯ":"ͯ","᙭":"X","╳":"X","𐌢":"X","𑣬":"X","X":"X","Ⅹ":"X","𝐗":"X","𝑋":"X","𝑿":"X","𝒳":"X","𝓧":"X","𝔛":"X","𝕏":"X","𝖃":"X","𝖷":"X","𝗫":"X","𝘟":"X","𝙓":"X","𝚇":"X","Ꭓ":"X","Χ":"X","𝚾":"X","𝛸":"X","𝜲":"X","𝝬":"X","𝞦":"X","Ⲭ":"X","Х":"X","ⵝ":"X","ᚷ":"X","ꓫ":"X","𐊐":"X","𐊴":"X","𐌗":"X","𐔧":"X","⨰":"ẋ","Ҳ":"X̩","𐆖":"X̵","ⅺ":"xi","ⅻ":"xii","Ⅺ":"Xl","Ⅻ":"Xll","ɣ":"y","ᶌ":"y","y":"y","𝐲":"y","𝑦":"y","𝒚":"y","𝓎":"y","𝔂":"y","𝔶":"y","𝕪":"y","𝖞":"y","𝗒":"y","𝘆":"y","𝘺":"y","𝙮":"y","𝚢":"y","ʏ":"y","ỿ":"y","ꭚ":"y","γ":"y","ℽ":"y","𝛄":"y","𝛾":"y","𝜸":"y","𝝲":"y","𝞬":"y","у":"y","ү":"y","ყ":"y","𑣜":"y","Y":"Y","𝐘":"Y","𝑌":"Y","𝒀":"Y","𝒴":"Y","𝓨":"Y","𝔜":"Y","𝕐":"Y","𝖄":"Y","𝖸":"Y","𝗬":"Y","𝘠":"Y","𝙔":"Y","𝚈":"Y","Υ":"Y","ϒ":"Y","𝚼":"Y","𝛶":"Y","𝜰":"Y","𝝪":"Y","𝞤":"Y","Ⲩ":"Y","У":"Y","Ү":"Y","Ꭹ":"Y","Ꮍ":"Y","ꓬ":"Y","𖽃":"Y","𑢤":"Y","𐊲":"Y","ƴ":"y̔","ɏ":"y̵","ұ":"y̵","¥":"Y̵","Ɏ":"Y̵","Ұ":"Y̵","ʒ":"ȝ","ꝫ":"ȝ","ⳍ":"ȝ","ӡ":"ȝ","ჳ":"ȝ","𝐳":"z","𝑧":"z","𝒛":"z","𝓏":"z","𝔃":"z","𝔷":"z","𝕫":"z","𝖟":"z","𝗓":"z","𝘇":"z","𝘻":"z","𝙯":"z","𝚣":"z","ᴢ":"z","ꮓ":"z","𑣄":"z","𐋵":"Z","𑣥":"Z","Z":"Z","ℤ":"Z","ℨ":"Z","𝐙":"Z","𝑍":"Z","𝒁":"Z","𝒵":"Z","𝓩":"Z","𝖅":"Z","𝖹":"Z","𝗭":"Z","𝘡":"Z","𝙕":"Z","𝚉":"Z","Ζ":"Z","𝚭":"Z","𝛧":"Z","𝜡":"Z","𝝛":"Z","𝞕":"Z","Ꮓ":"Z","ꓜ":"Z","𑢩":"Z","ʐ":"z̨","ƶ":"z̵","Ƶ":"Z̵","ȥ":"z̦","Ȥ":"Z̦","ᵶ":"z̴","ƿ":"þ","ϸ":"þ","Ϸ":"Þ","𐓄":"Þ","⁹":"ꝰ","ᴤ":"ƨ","ϩ":"ƨ","ꙅ":"ƨ","ь":"ƅ","ꮟ":"ƅ","ы":"ƅi","ꭾ":"ɂ","ˤ":"ˁ","ꛍ":"ʡ","⊙":"ʘ","☉":"ʘ","⨀":"ʘ","Ꙩ":"ʘ","ⵙ":"ʘ","𐓃":"ʘ","ℾ":"Γ","𝚪":"Γ","𝛤":"Γ","𝜞":"Γ","𝝘":"Γ","𝞒":"Γ","Ⲅ":"Γ","Г":"Γ","Ꮁ":"Γ","ᒥ":"Γ","𖼇":"Γ","Ғ":"Γ̵","ᒯ":"Γ·","Ґ":"Γ'","∆":"Δ","△":"Δ","🜂":"Δ","𝚫":"Δ","𝛥":"Δ","𝜟":"Δ","𝝙":"Δ","𝞓":"Δ","Ⲇ":"Δ","ⵠ":"Δ","ᐃ":"Δ","𖼚":"Δ","𐊅":"Δ","𐊣":"Δ","⍙":"Δ̲","ᐏ":"Δ·","ᐬ":"Δᐠ","𝟋":"ϝ","𝛇":"ζ","𝜁":"ζ","𝜻":"ζ","𝝵":"ζ","𝞯":"ζ","ⳤ":"ϗ","𝛌":"λ","𝜆":"λ","𝝀":"λ","𝝺":"λ","𝞴":"λ","Ⲗ":"λ","𐓛":"λ","µ":"μ","𝛍":"μ","𝜇":"μ","𝝁":"μ","𝝻":"μ","𝞵":"μ","𝛏":"ξ","𝜉":"ξ","𝝃":"ξ","𝝽":"ξ","𝞷":"ξ","𝚵":"Ξ","𝛯":"Ξ","𝜩":"Ξ","𝝣":"Ξ","𝞝":"Ξ","ϖ":"π","ℼ":"π","𝛑":"π","𝛡":"π","𝜋":"π","𝜛":"π","𝝅":"π","𝝕":"π","𝝿":"π","𝞏":"π","𝞹":"π","𝟉":"π","ᴨ":"π","п":"π","∏":"Π","ℿ":"Π","𝚷":"Π","𝛱":"Π","𝜫":"Π","𝝥":"Π","𝞟":"Π","Ⲡ":"Π","П":"Π","ꛛ":"Π","𐊭":"Ϙ","𐌒":"Ϙ","ϛ":"ς","𝛓":"ς","𝜍":"ς","𝝇":"ς","𝞁":"ς","𝞻":"ς","𝚽":"Φ","𝛷":"Φ","𝜱":"Φ","𝝫":"Φ","𝞥":"Φ","Ⲫ":"Φ","Ф":"Φ","Փ":"Φ","ቀ":"Φ","ᛰ":"Φ","𐊳":"Φ","ꭓ":"χ","ꭕ":"χ","𝛘":"χ","𝜒":"χ","𝝌":"χ","𝞆":"χ","𝟀":"χ","ⲭ":"χ","𝛙":"ψ","𝜓":"ψ","𝝍":"ψ","𝞇":"ψ","𝟁":"ψ","ѱ":"ψ","𐓹":"ψ","𝚿":"Ψ","𝛹":"Ψ","𝜳":"Ψ","𝝭":"Ψ","𝞧":"Ψ","Ⲯ":"Ψ","Ѱ":"Ψ","𐓑":"Ψ","ᛘ":"Ψ","𐊵":"Ψ","⍵":"ω","ꞷ":"ω","𝛚":"ω","𝜔":"ω","𝝎":"ω","𝞈":"ω","𝟂":"ω","ⲱ":"ω","ꙍ":"ω","Ω":"Ω","𝛀":"Ω","𝛺":"Ω","𝜴":"Ω","𝝮":"Ω","𝞨":"Ω","ᘯ":"Ω","ᘵ":"Ω","𐊶":"Ω","⍹":"ω̲","ώ":"ῴ","☰":"Ⲷ","Ⳝ":"Ϭ","җ":"ж̩","Җ":"Ж̩","𝈋":"И","Ͷ":"И","ꚡ":"И","𐐥":"И","Й":"Ѝ","Ҋ":"Ѝ̦","ѝ":"й","ҋ":"й̦","𐒼":"Ӄ","ᴫ":"л","ӆ":"л̦","ꭠ":"љ","𐓫":"ꙩ","ᷮ":"ⷬ","𐓍":"Ћ","𝈂":"Ӿ","𝈢":"Ѡ","Ꮗ":"Ѡ","ᗯ":"Ѡ","Ѽ":"Ѡ҆҇","ᣭ":"Ѡ·","Ꞷ":"Ꙍ","ӌ":"ҷ","Ӌ":"Ҷ","Ҿ":"Ҽ̨","ⲽ":"ш","Ⲽ":"Ш","Ꙑ":"Ъl","℈":"Э","🜁":"Ꙙ","𖼜":"Ꙙ","ꦒ":"ⰿ","և":"եւ","ኔ":"ձ","ﬔ":"մե","ﬕ":"մի","ﬗ":"մխ","ﬓ":"մն","∩":"Ո","⋂":"Ո","𝉅":"Ո","በ":"Ո","ᑎ":"Ո","ꓵ":"Ո","ᑚ":"Ո·","ᑨ":"Ո'","ﬖ":"վն","₽":"Ք","˓":"ՙ","ʿ":"ՙ","ℵ":"א","ﬡ":"א","אָ":"אַ","אּ":"אַ","ﭏ":"אל","ℶ":"ב","ℷ":"ג","ℸ":"ד","ﬢ":"ד","ﬣ":"ה","יּ":"יִ","ﬤ":"כ","ﬥ":"ל","ﬦ":"ם","ﬠ":"ע","ﬧ":"ר","שׂ":"שׁ","שּ":"שׁ","שּׂ":"שּׁ","ﬨ":"ת","ﺀ":"ء","۽":"ء͈","ﺂ":"آ","ﺁ":"آ","ﭑ":"ٱ","ﭐ":"ٱ","𞸁":"ب","𞸡":"ب","𞹡":"ب","𞺁":"ب","𞺡":"ب","ﺑ":"ب","ﺒ":"ب","ﺐ":"ب","ﺏ":"ب","ݑ":"بۛ","ࢶ":"بۢ","ࢡ":"بٔ","ﲠ":"بo","ﳢ":"بo","ﲜ":"بج","ﰅ":"بج","ﲝ":"بح","ﰆ":"بح","ﷂ":"بحى","ﲞ":"بخ","ﰇ":"بخ","ﳒ":"بخ","ﱋ":"بخ","ﶞ":"بخى","ﱪ":"بر","ﱫ":"بز","ﲟ":"بم","ﳡ":"بم","ﱬ":"بم","ﰈ":"بم","ﱭ":"بن","ﱮ":"بى","ﰉ":"بى","ﱯ":"بى","ﰊ":"بى","ﭔ":"ٻ","ﭕ":"ٻ","ﭓ":"ٻ","ﭒ":"ٻ","ې":"ٻ","ﯦ":"ٻ","ﯧ":"ٻ","ﯥ":"ٻ","ﯤ":"ٻ","ﭜ":"ڀ","ﭝ":"ڀ","ﭛ":"ڀ","ﭚ":"ڀ","ࢩ":"ݔ","ݧ":"ݔ","ö":"ة","ﺔ":"ة","ﺓ":"ة","ۃ":"ة","𞸕":"ت","𞸵":"ت","𞹵":"ت","𞺕":"ت","𞺵":"ت","ﺗ":"ت","ﺘ":"ت","ﺖ":"ت","ﺕ":"ت","ﲥ":"تo","ﳤ":"تo","ﲡ":"تج","ﰋ":"تج","ﵐ":"تجم","ﶠ":"تجى","ﶟ":"تجى","ﲢ":"تح","ﰌ":"تح","ﵒ":"تحج","ﵑ":"تحج","ﵓ":"تحم","ﲣ":"تخ","ﰍ":"تخ","ﵔ":"تخم","ﶢ":"تخى","ﶡ":"تخى","ﱰ":"تر","ﱱ":"تز","ﲤ":"تم","ﳣ":"تم","ﱲ":"تم","ﰎ":"تم","ﵕ":"تمج","ﵖ":"تمح","ﵗ":"تمخ","ﶤ":"تمى","ﶣ":"تمى","ﱳ":"تن","ﱴ":"تى","ﰏ":"تى","ﱵ":"تى","ﰐ":"تى","ﭠ":"ٺ","ﭡ":"ٺ","ﭟ":"ٺ","ﭞ":"ٺ","ﭤ":"ٿ","ﭥ":"ٿ","ﭣ":"ٿ","ﭢ":"ٿ","𞸂":"ج","𞸢":"ج","𞹂":"ج","𞹢":"ج","𞺂":"ج","𞺢":"ج","ﺟ":"ج","ﺠ":"ج","ﺞ":"ج","ﺝ":"ج","ﲧ":"جح","ﰕ":"جح","ﶦ":"جحى","ﶾ":"جحى","ﷻ":"جل جلlلo","ﲨ":"جم","ﰖ":"جم","ﵙ":"جمح","ﵘ":"جمح","ﶧ":"جمى","ﶥ":"جمى","ﴝ":"جى","ﴁ":"جى","ﴞ":"جى","ﴂ":"جى","ﭸ":"ڃ","ﭹ":"ڃ","ﭷ":"ڃ","ﭶ":"ڃ","ﭴ":"ڄ","ﭵ":"ڄ","ﭳ":"ڄ","ﭲ":"ڄ","ﭼ":"چ","ﭽ":"چ","ﭻ":"چ","ﭺ":"چ","ﮀ":"ڇ","ﮁ":"ڇ","ﭿ":"ڇ","ﭾ":"ڇ","𞸇":"ح","𞸧":"ح","𞹇":"ح","𞹧":"ح","𞺇":"ح","𞺧":"ح","ﺣ":"ح","ﺤ":"ح","ﺢ":"ح","ﺡ":"ح","څ":"حۛ","ځ":"حٔ","ݲ":"حٔ","ﲩ":"حج","ﰗ":"حج","ﶿ":"حجى","ﲪ":"حم","ﰘ":"حم","ﵛ":"حمى","ﵚ":"حمى","ﴛ":"حى","ﳿ":"حى","ﴜ":"حى","ﴀ":"حى","𞸗":"خ","𞸷":"خ","𞹗":"خ","𞹷":"خ","𞺗":"خ","𞺷":"خ","ﺧ":"خ","ﺨ":"خ","ﺦ":"خ","ﺥ":"خ","ﲫ":"خج","ﰙ":"خج","ﰚ":"خح","ﲬ":"خم","ﰛ":"خم","ﴟ":"خى","ﴃ":"خى","ﴠ":"خى","ﴄ":"خى","𐋡":"د","𞸃":"د","𞺃":"د","𞺣":"د","ﺪ":"د","ﺩ":"د","ڈ":"دؕ","ﮉ":"دؕ","ﮈ":"دؕ","ڎ":"دۛ","ﮇ":"دۛ","ﮆ":"دۛ","ۮ":"د̂","ࢮ":"د̤̣","𞸘":"ذ","𞺘":"ذ","𞺸":"ذ","ﺬ":"ذ","ﺫ":"ذ","ﱛ":"ذٰ","ڋ":"ڊؕ","ﮅ":"ڌ","ﮄ":"ڌ","ﮃ":"ڍ","ﮂ":"ڍ","𞸓":"ر","𞺓":"ر","𞺳":"ر","ﺮ":"ر","ﺭ":"ر","ڑ":"رؕ","ﮍ":"رؕ","ﮌ":"رؕ","ژ":"رۛ","ﮋ":"رۛ","ﮊ":"رۛ","ڒ":"ر̆","ࢹ":"ر̆̇","ۯ":"ر̂","ݬ":"رٔ","ﱜ":"رٰ","ﷶ":"رسول","﷼":"رىlل","𞸆":"ز","𞺆":"ز","𞺦":"ز","ﺰ":"ز","ﺯ":"ز","ࢲ":"ز̂","ݱ":"ڗؕ","𞸎":"س","𞸮":"س","𞹎":"س","𞹮":"س","𞺎":"س","𞺮":"س","ﺳ":"س","ﺴ":"س","ﺲ":"س","ﺱ":"س","ش":"سۛ","𞸔":"سۛ","𞸴":"سۛ","𞹔":"سۛ","𞹴":"سۛ","𞺔":"سۛ","𞺴":"سۛ","ﺷ":"سۛ","ﺸ":"سۛ","ﺶ":"سۛ","ﺵ":"سۛ","ݾ":"س̂","ﴱ":"سo","ﳨ":"سo","ﴲ":"سۛo","ﳪ":"سۛo","ﲭ":"سج","ﴴ":"سج","ﰜ":"سج","ﴭ":"سۛج","ﴷ":"سۛج","ﴥ":"سۛج","ﴉ":"سۛج","ﵝ":"سجح","ﵞ":"سجى","ﵩ":"سۛجى","ﲮ":"سح","ﴵ":"سح","ﰝ":"سح","ﴮ":"سۛح","ﴸ":"سۛح","ﴦ":"سۛح","ﴊ":"سۛح","ﵜ":"سحج","ﵨ":"سۛحم","ﵧ":"سۛحم","ﶪ":"سۛحى","ﲯ":"سخ","ﴶ":"سخ","ﰞ":"سخ","ﴯ":"سۛخ","ﴹ":"سۛخ","ﴧ":"سۛخ","ﴋ":"سۛخ","ﶨ":"سخى","ﷆ":"سخى","ﴪ":"سر","ﴎ":"سر","ﴩ":"سۛر","ﴍ":"سۛر","ﲰ":"سم","ﳧ":"سم","ﰟ":"سم","ﴰ":"سۛم","ﳩ":"سۛم","ﴨ":"سۛم","ﴌ":"سۛم","ﵡ":"سمج","ﵠ":"سمح","ﵟ":"سمح","ﵫ":"سۛمخ","ﵪ":"سۛمخ","ﵣ":"سمم","ﵢ":"سمم","ﵭ":"سۛمم","ﵬ":"سۛمم","ﴗ":"سى","ﳻ":"سى","ﴘ":"سى","ﳼ":"سى","ﴙ":"سۛى","ﳽ":"سۛى","ﴚ":"سۛى","ﳾ":"سۛى","𐋲":"ص","𞸑":"ص","𞸱":"ص","𞹑":"ص","𞹱":"ص","𞺑":"ص","𞺱":"ص","ﺻ":"ص","ﺼ":"ص","ﺺ":"ص","ﺹ":"ص","ڞ":"صۛ","ࢯ":"ص̤̣","ﲱ":"صح","ﰠ":"صح","ﵥ":"صحح","ﵤ":"صحح","ﶩ":"صحى","ﲲ":"صخ","ﴫ":"صر","ﴏ":"صر","ﷵ":"صلعم","ﷹ":"صلى","ﷰ":"صلى","ﷺ":"صلى lللo علىo وسلم","ﲳ":"صم","ﰡ":"صم","ﷅ":"صمم","ﵦ":"صمم","ﴡ":"صى","ﴅ":"صى","ﴢ":"صى","ﴆ":"صى","𞸙":"ض","𞸹":"ض","𞹙":"ض","𞹹":"ض","𞺙":"ض","𞺹":"ض","ﺿ":"ض","ﻀ":"ض","ﺾ":"ض","ﺽ":"ض","ﲴ":"ضج","ﰢ":"ضج","ﲵ":"ضح","ﰣ":"ضح","ﵮ":"ضحى","ﶫ":"ضحى","ﲶ":"ضخ","ﰤ":"ضخ","ﵰ":"ضخم","ﵯ":"ضخم","ﴬ":"ضر","ﴐ":"ضر","ﲷ":"ضم","ﰥ":"ضم","ﴣ":"ضى","ﴇ":"ضى","ﴤ":"ضى","ﴈ":"ضى","𐋨":"ط","𞸈":"ط","𞹨":"ط","𞺈":"ط","𞺨":"ط","ﻃ":"ط","ﻄ":"ط","ﻂ":"ط","ﻁ":"ط","ڟ":"طۛ","ﲸ":"طح","ﰦ":"طح","ﴳ":"طم","ﴺ":"طم","ﰧ":"طم","ﵲ":"طمح","ﵱ":"طمح","ﵳ":"طمم","ﵴ":"طمى","ﴑ":"طى","ﳵ":"طى","ﴒ":"طى","ﳶ":"طى","𞸚":"ظ","𞹺":"ظ","𞺚":"ظ","𞺺":"ظ","ﻇ":"ظ","ﻈ":"ظ","ﻆ":"ظ","ﻅ":"ظ","ﲹ":"ظم","ﴻ":"ظم","ﰨ":"ظم","؏":"ع","𞸏":"ع","𞸯":"ع","𞹏":"ع","𞹯":"ع","𞺏":"ع","𞺯":"ع","ﻋ":"ع","ﻌ":"ع","ﻊ":"ع","ﻉ":"ع","ﲺ":"عج","ﰩ":"عج","ﷄ":"عجم","ﵵ":"عجم","ﷷ":"علىo","ﲻ":"عم","ﰪ":"عم","ﵷ":"عمم","ﵶ":"عمم","ﵸ":"عمى","ﶶ":"عمى","ﴓ":"عى","ﳷ":"عى","ﴔ":"عى","ﳸ":"عى","𞸛":"غ","𞸻":"غ","𞹛":"غ","𞹻":"غ","𞺛":"غ","𞺻":"غ","ﻏ":"غ","ﻐ":"غ","ﻎ":"غ","ﻍ":"غ","ﲼ":"غج","ﰫ":"غج","ﲽ":"غم","ﰬ":"غم","ﵹ":"غمم","ﵻ":"غمى","ﵺ":"غمى","ﴕ":"غى","ﳹ":"غى","ﴖ":"غى","ﳺ":"غى","𞸐":"ف","𞸰":"ف","𞹰":"ف","𞺐":"ف","𞺰":"ف","ﻓ":"ف","ﻔ":"ف","ﻒ":"ف","ﻑ":"ف","ڧ":"ف","ﲾ":"فج","ﰭ":"فج","ﲿ":"فح","ﰮ":"فح","ﳀ":"فخ","ﰯ":"فخ","ﵽ":"فخم","ﵼ":"فخم","ﳁ":"فم","ﰰ":"فم","ﷁ":"فمى","ﱼ":"فى","ﰱ":"فى","ﱽ":"فى","ﰲ":"فى","𞸞":"ڡ","𞹾":"ڡ","ࢻ":"ڡ","ٯ":"ڡ","𞸟":"ڡ","𞹟":"ڡ","ࢼ":"ڡ","ڤ":"ڡۛ","ﭬ":"ڡۛ","ﭭ":"ڡۛ","ﭫ":"ڡۛ","ﭪ":"ڡۛ","ڨ":"ڡۛ","ࢤ":"ڢۛ","ﭰ":"ڦ","ﭱ":"ڦ","ﭯ":"ڦ","ﭮ":"ڦ","𞸒":"ق","𞸲":"ق","𞹒":"ق","𞹲":"ق","𞺒":"ق","𞺲":"ق","ﻗ":"ق","ﻘ":"ق","ﻖ":"ق","ﻕ":"ق","ﳂ":"قح","ﰳ":"قح","ﷱ":"قلى","ﳃ":"قم","ﰴ":"قم","ﶴ":"قمح","ﵾ":"قمح","ﵿ":"قمم","ﶲ":"قمى","ﱾ":"قى","ﰵ":"قى","ﱿ":"قى","ﰶ":"قى","𞸊":"ك","𞸪":"ك","𞹪":"ك","ﻛ":"ك","ﻜ":"ك","ﻚ":"ك","ﻙ":"ك","ک":"ك","ﮐ":"ك","ﮑ":"ك","ﮏ":"ك","ﮎ":"ك","ڪ":"ك","ڭ":"كۛ","ﯕ":"كۛ","ﯖ":"كۛ","ﯔ":"كۛ","ﯓ":"كۛ","ݣ":"كۛ","ﲀ":"كl","ﰷ":"كl","ﳄ":"كج","ﰸ":"كج","ﳅ":"كح","ﰹ":"كح","ﳆ":"كخ","ﰺ":"كخ","ﳇ":"كل","ﳫ":"كل","ﲁ":"كل","ﰻ":"كل","ﳈ":"كم","ﳬ":"كم","ﲂ":"كم","ﰼ":"كم","ﷃ":"كمم","ﶻ":"كمم","ﶷ":"كمى","ﲃ":"كى","ﰽ":"كى","ﲄ":"كى","ﰾ":"كى","ݢ":"ڬ","ﮔ":"گ","ﮕ":"گ","ﮓ":"گ","ﮒ":"گ","ࢰ":"گ","ڴ":"گۛ","ﮜ":"ڱ","ﮝ":"ڱ","ﮛ":"ڱ","ﮚ":"ڱ","ﮘ":"ڳ","ﮙ":"ڳ","ﮗ":"ڳ","ﮖ":"ڳ","𞸋":"ل","𞸫":"ل","𞹋":"ل","𞺋":"ل","𞺫":"ل","ﻟ":"ل","ﻠ":"ل","ﻞ":"ل","ﻝ":"ل","ڷ":"لۛ","ڵ":"ل̆","ﻼ":"لl","ﻻ":"لl","ﻺ":"لlٕ","ﻹ":"لlٕ","ﻸ":"لlٴ","ﻷ":"لlٴ","ﳍ":"لo","ﻶ":"لآ","ﻵ":"لآ","ﳉ":"لج","ﰿ":"لج","ﶃ":"لجج","ﶄ":"لجج","ﶺ":"لجم","ﶼ":"لجم","ﶬ":"لجى","ﳊ":"لح","ﱀ":"لح","ﶵ":"لحم","ﶀ":"لحم","ﶂ":"لحى","ﶁ":"لحى","ﳋ":"لخ","ﱁ":"لخ","ﶆ":"لخم","ﶅ":"لخم","ﳌ":"لم","ﳭ":"لم","ﲅ":"لم","ﱂ":"لم","ﶈ":"لمح","ﶇ":"لمح","ﶭ":"لمى","ﲆ":"لى","ﱃ":"لى","ﲇ":"لى","ﱄ":"لى","𞸌":"م","𞸬":"م","𞹬":"م","𞺌":"م","𞺬":"م","ﻣ":"م","ﻤ":"م","ﻢ":"م","ﻡ":"م","ࢧ":"مۛ","۾":"م͈","ﲈ":"مl","ﳎ":"مج","ﱅ":"مج","ﶌ":"مجح","ﶒ":"مجخ","ﶍ":"مجم","ﷀ":"مجى","ﳏ":"مح","ﱆ":"مح","ﶉ":"محج","ﶊ":"محم","ﷴ":"محمد","ﶋ":"محى","ﳐ":"مخ","ﱇ":"مخ","ﶎ":"مخج","ﶏ":"مخم","ﶹ":"مخى","ﳑ":"مم","ﲉ":"مم","ﱈ":"مم","ﶱ":"ممى","ﱉ":"مى","ﱊ":"مى","𞸍":"ن","𞸭":"ن","𞹍":"ن","𞹭":"ن","𞺍":"ن","𞺭":"ن","ﻧ":"ن","ﻨ":"ن","ﻦ":"ن","ﻥ":"ن","ݨ":"نؕ","ݩ":"ن̆","ﳖ":"نo","ﳯ":"نo","ﶸ":"نجح","ﶽ":"نجح","ﶘ":"نجم","ﶗ":"نجم","ﶙ":"نجى","ﷇ":"نجى","ﳓ":"نح","ﱌ":"نح","ﶕ":"نحم","ﶖ":"نحى","ﶳ":"نحى","ﳔ":"نخ","ﱍ":"نخ","ﲊ":"نر","ﲋ":"نز","ﳕ":"نم","ﳮ":"نم","ﲌ":"نم","ﱎ":"نم","ﶛ":"نمى","ﶚ":"نمى","ﲍ":"نن","ﲎ":"نى","ﱏ":"نى","ﲏ":"نى","ﱐ":"نى","ۂ":"ۀ","ﮥ":"ۀ","ﮤ":"ۀ","𐋤":"و","𞸅":"و","𞺅":"و","𞺥":"و","ﻮ":"و","ﻭ":"و","ࢱ":"و","ۋ":"وۛ","ﯟ":"وۛ","ﯞ":"وۛ","ۇ":"و̓","ﯘ":"و̓","ﯗ":"و̓","ۆ":"و̆","ﯚ":"و̆","ﯙ":"و̆","ۉ":"و̂","ﯣ":"و̂","ﯢ":"و̂","ۈ":"وٰ","ﯜ":"وٰ","ﯛ":"وٰ","ؤ":"وٴ","ﺆ":"وٴ","ﺅ":"وٴ","ٶ":"وٴ","ٷ":"و̓ٴ","ﯝ":"و̓ٴ","ﷸ":"وسلم","ﯡ":"ۅ","ﯠ":"ۅ","ٮ":"ى","𞸜":"ى","𞹼":"ى","ں":"ى","𞸝":"ى","𞹝":"ى","ﮟ":"ى","ﮞ":"ى","ࢽ":"ى","ﯨ":"ى","ﯩ":"ى","ﻰ":"ى","ﻯ":"ى","ي":"ى","𞸉":"ى","𞸩":"ى","𞹉":"ى","𞹩":"ى","𞺉":"ى","𞺩":"ى","ﻳ":"ى","ﻴ":"ى","ﻲ":"ى","ﻱ":"ى","ی":"ى","ﯾ":"ى","ﯿ":"ى","ﯽ":"ى","ﯼ":"ى","ے":"ى","ﮯ":"ى","ﮮ":"ى","ٹ":"ىؕ","ﭨ":"ىؕ","ﭩ":"ىؕ","ﭧ":"ىؕ","ﭦ":"ىؕ","ڻ":"ىؕ","ﮢ":"ىؕ","ﮣ":"ىؕ","ﮡ":"ىؕ","ﮠ":"ىؕ","پ":"ىۛ","ﭘ":"ىۛ","ﭙ":"ىۛ","ﭗ":"ىۛ","ﭖ":"ىۛ","ث":"ىۛ","𞸖":"ىۛ","𞸶":"ىۛ","𞹶":"ىۛ","𞺖":"ىۛ","𞺶":"ىۛ","ﺛ":"ىۛ","ﺜ":"ىۛ","ﺚ":"ىۛ","ﺙ":"ىۛ","ڽ":"ىۛ","ۑ":"ىۛ","ؿ":"ىۛ","ࢷ":"ىۛۢ","ݖ":"ى̆","ێ":"ى̆","ࢺ":"ى̆̇","ؽ":"ى̂","ࢨ":"ىٔ","ﲐ":"ىٰ","ﱝ":"ىٰ","ﳞ":"ىo","ﳱ":"ىo","ﳦ":"ىۛo","ئ":"ىٴ","ﺋ":"ىٴ","ﺌ":"ىٴ","ﺊ":"ىٴ","ﺉ":"ىٴ","ٸ":"ىٴ","ﯫ":"ىٴl","ﯪ":"ىٴl","ﲛ":"ىٴo","ﳠ":"ىٴo","ﯭ":"ىٴo","ﯬ":"ىٴo","ﯸ":"ىٴٻ","ﯷ":"ىٴٻ","ﯶ":"ىٴٻ","ﲗ":"ىٴج","ﰀ":"ىٴج","ﲘ":"ىٴح","ﰁ":"ىٴح","ﲙ":"ىٴخ","ﱤ":"ىٴر","ﱥ":"ىٴز","ﲚ":"ىٴم","ﳟ":"ىٴم","ﱦ":"ىٴم","ﰂ":"ىٴم","ﱧ":"ىٴن","ﯯ":"ىٴو","ﯮ":"ىٴو","ﯱ":"ىٴو̓","ﯰ":"ىٴو̓","ﯳ":"ىٴو̆","ﯲ":"ىٴو̆","ﯵ":"ىٴوٰ","ﯴ":"ىٴوٰ","ﯻ":"ىٴى","ﯺ":"ىٴى","ﱨ":"ىٴى","ﯹ":"ىٴى","ﰃ":"ىٴى","ﱩ":"ىٴى","ﰄ":"ىٴى","ﳚ":"ىج","ﱕ":"ىج","ﰑ":"ىۛج","ﶯ":"ىجى","ﳛ":"ىح","ﱖ":"ىح","ﶮ":"ىحى","ﳜ":"ىخ","ﱗ":"ىخ","ﲑ":"ىر","ﱶ":"ىۛر","ﲒ":"ىز","ﱷ":"ىۛز","ﳝ":"ىم","ﳰ":"ىم","ﲓ":"ىم","ﱘ":"ىم","ﲦ":"ىۛم","ﳥ":"ىۛم","ﱸ":"ىۛم","ﰒ":"ىۛم","ﶝ":"ىمم","ﶜ":"ىمم","ﶰ":"ىمى","ﲔ":"ىن","ﱹ":"ىۛن","ﲕ":"ىى","ﱙ":"ىى","ﲖ":"ىى","ﱚ":"ىى","ﱺ":"ىۛى","ﰓ":"ىۛى","ﱻ":"ىۛى","ﰔ":"ىۛى","ﮱ":"ۓ","ﮰ":"ۓ","𐊸":"ⵀ","⁞":"ⵂ","⸽":"ⵂ","⦙":"ⵂ","︙":"ⵗ","⁝":"ⵗ","⋮":"ⵗ","Մ":"ሆ","Ռ":"ቡ","Ի":"ኮ","Պ":"ጣ","आ":"अा","ऒ":"अाॆ","ओ":"अाे","औ":"अाै","ऄ":"अॆ","ऑ":"अॉ","ऍ":"एॅ","ऎ":"एॆ","ऐ":"एे","ई":"र्इ","ઽ":"ऽ","𑇜":"ꣻ","𑇋":"ऺ","ુ":"ु","ૂ":"ू","ੋ":"ॆ","੍":"्","્":"्","আ":"অা","ৠ":"ঋৃ","ৡ":"ঋৃ","𑒒":"ঘ","𑒔":"চ","𑒖":"জ","𑒘":"ঞ","𑒙":"ট","𑒛":"ড","𑒪":"ণ","𑒞":"ত","𑒟":"থ","𑒠":"দ","𑒡":"ধ","𑒢":"ন","𑒣":"প","𑒩":"ব","𑒧":"ম","𑒨":"য","𑒫":"র","𑒝":"ল","𑒭":"ষ","𑒮":"স","𑓄":"ঽ","𑒰":"া","𑒱":"ি","𑒹":"ে","𑒼":"ো","𑒾":"ৌ","𑓂":"্","𑒽":"ৗ","ਉ":"ੳੁ","ਊ":"ੳੂ","ਆ":"ਅਾ","ਐ":"ਅੈ","ਔ":"ਅੌ","ਇ":"ੲਿ","ਈ":"ੲੀ","ਏ":"ੲੇ","આ":"અા","ઑ":"અાૅ","ઓ":"અાે","ઔ":"અાૈ","ઍ":"અૅ","એ":"અે","ઐ":"અૈ","ଆ":"ଅା","௮":"அ","ர":"ஈ","ா":"ஈ","௫":"ஈு","௨":"உ","ഉ":"உ","ஊ":"உள","ഊ":"உൗ","௭":"எ","௷":"எவ","ஜ":"ஐ","ജ":"ஐ","௧":"க","௪":"ச","௬":"சு","௲":"சூ","ഺ":"டி","ണ":"ண","௺":"நீ","௴":"மீ","௰":"ய","ഴ":"ழ","ௗ":"ள","ை":"ன","ശ":"ஶ","௸":"ஷ","ി":"ி","ീ":"ி","ொ":"ெஈ","ௌ":"ெள","ோ":"ேஈ","ಅ":"అ","ಆ":"ఆ","ಇ":"ఇ","ౠ":"ఋా","ౡ":"ఌా","ಒ":"ఒ","ఔ":"ఒౌ","ಔ":"ఒౌ","ఓ":"ఒౕ","ಓ":"ఒౕ","ಜ":"జ","ಞ":"ఞ","ఢ":"డ̣","ಣ":"ణ","థ":"ధּ","భ":"బ̣","ಯ":"య","ఠ":"రּ","ಱ":"ఱ","ಲ":"ల","ష":"వ̣","హ":"వా","మ":"వు","ూ":"ుా","ౄ":"ృా","ೡ":"ಌಾ","ഈ":"ഇൗ","ഐ":"എെ","ഓ":"ഒാ","ഔ":"ഒൗ","ൡ":"ഞ","൫":"ദ്ര","൹":"നു","ഌ":"നു","ങ":"നു","൯":"ന്","ൻ":"ന്","൬":"ന്ന","൚":"ന്മ","റ":"ര","൪":"ര്","ർ":"ര്","൮":"വ്ര","൶":"ഹ്മ","ൂ":"ു","ൃ":"ു","ൈ":"െെ","෪":"ජ","෫":"ද","𑐓":"𑐴𑑂𑐒","𑐙":"𑐴𑑂𑐘","𑐤":"𑐴𑑂𑐣","𑐪":"𑐴𑑂𑐩","𑐭":"𑐴𑑂𑐬","𑐯":"𑐴𑑂𑐮","𑗘":"𑖂","𑗙":"𑖂","𑗚":"𑖃","𑗛":"𑖄","𑗜":"𑖲","𑗝":"𑖳","ฃ":"ข","ด":"ค","ต":"ค","ม":"ฆ","ຈ":"จ","ซ":"ช","ฏ":"ฎ","ท":"ฑ","ບ":"บ","ປ":"ป","ຝ":"ฝ","ພ":"พ","ຟ":"ฟ","ฦ":"ภ","ຍ":"ย","។":"ฯ","ๅ":"า","ำ":"̊า","ិ":"ิ","ី":"ี","ឹ":"ึ","ឺ":"ื","ຸ":"ุ","ູ":"ู","แ":"เเ","ໜ":"ຫນ","ໝ":"ຫມ","ຳ":"̊າ","༂":"འུྂཿ","༃":"འུྂ༔","ཪ":"ར","ༀ":"ཨོཾ","ཷ":"ྲཱྀ","ཹ":"ླཱྀ","𑲲":"𑲪","ႁ":"ဂှ","က":"ဂာ","ၰ":"ဃှ","ၦ":"ပှ","ဟ":"ပာ","ၯ":"ပာှ","ၾ":"ၽှ","ဩ":"သြ","ဪ":"သြော်","႞":"ႃ̊","ឣ":"អ","᧐":"ᦞ","᧑":"ᦱ","᪀":"ᩅ","᪐":"ᩅ","꩓":"ꨁ","꩖":"ꨣ","᭒":"ᬍ","᭓":"ᬑ","᭘":"ᬨ","ꦣ":"ꦝ","ᢖ":"ᡜ","ᡕ":"ᠵ","ῶ":"Ꮿ","ᐍ":"ᐁ·","ᐫ":"ᐁᐠ","ᐑ":"ᐄ·","ᐓ":"ᐅ·","ᐭ":"ᐅᐠ","ᐕ":"ᐆ·","ᐘ":"ᐊ·","ᐮ":"ᐊᐠ","ᐚ":"ᐋ·","ᣝ":"ᐞᣟ","ᓑ":"ᐡ","ᕀ":"ᐩ","ᐿ":"ᐲ·","ᑃ":"ᐴ·","⍩":"ᐵ","ᑇ":"ᐹ·","ᑜ":"ᑏ·","⸧":"ᑐ","⊃":"ᑐ","ᑞ":"ᑐ·","ᑩ":"ᑐ'","⟉":"ᑐ/","⫗":"ᑐᑕ","ᑠ":"ᑑ·","⸦":"ᑕ","⊂":"ᑕ","ᑢ":"ᑕ·","ᑪ":"ᑕ'","ᑤ":"ᑖ·","ᑵ":"ᑫ·","ᒅ":"ᑫ'","ᑹ":"ᑮ·","ᑽ":"ᑰ·","ᑿ":"ᑲ·","ᒈ":"ᑲ'","ᒁ":"ᑳ·","ᘃ":"ᒉ","ᒓ":"ᒉ·","ᒕ":"ᒋ·","ᒗ":"ᒌ·","ᒛ":"ᒎ·","ᘂ":"ᒐ","ᒝ":"ᒐ·","ᒟ":"ᒑ·","ᒭ":"ᒣ·","ᒱ":"ᒦ·","ᒳ":"ᒧ·","ᒵ":"ᒨ·","ᒹ":"ᒫ·","ᓊ":"ᓀ·","ᣇ":"ᓂ·","ᣉ":"ᓃ·","ᣋ":"ᓄ·","ᣍ":"ᓅ·","ᓌ":"ᓇ·","ᓎ":"ᓈ·","ᘄ":"ᓓ","ᓝ":"ᓓ·","ᓟ":"ᓕ·","ᓡ":"ᓖ·","ᓣ":"ᓗ·","ᓥ":"ᓘ·","ᘇ":"ᓚ","ᓧ":"ᓚ·","ᓩ":"ᓛ·","ᓷ":"ᓭ·","ᓹ":"ᓯ·","ᓻ":"ᓰ·","ᓽ":"ᓱ·","ᓿ":"ᓲ·","ᔁ":"ᓴ·","ᔃ":"ᓵ·","ᔌ":"ᔋ<","ᔍ":"ᔋᑕ","ᔎ":"ᔋᑲ","ᔏ":"ᔋᒐ","ᔘ":"ᔐ·","ᔚ":"ᔑ·","ᔜ":"ᔒ·","ᔞ":"ᔓ·","ᔠ":"ᔔ·","ᔢ":"ᔕ·","ᔤ":"ᔖ·","ᔲ":"ᔨ·","ᔴ":"ᔩ·","ᔶ":"ᔪ·","ᔸ":"ᔫ·","ᔺ":"ᔭ·","ᔼ":"ᔮ·","ᘢ":"ᕃ","ᣠ":"ᕃ·","ᘣ":"ᕆ","ᘤ":"ᕊ","ᕏ":"ᕌ·","ᖁ":"ᕐd","ᕿ":"ᕐP","ᙯ":"ᕐᑫ","ᕾ":"ᕐᑬ","ᖀ":"ᕐᑮ","ᖂ":"ᕐᑰ","ᖃ":"ᕐᑲ","ᖄ":"ᕐᑳ","ᖅ":"ᕐᒃ","ᕜ":"ᕚ·","ᣣ":"ᕞ·","ᣤ":"ᕦ·","ᕩ":"ᕧ·","ᣥ":"ᕫ·","ᣨ":"ᖆ·","ᖑ":"ᖕJ","ᙰ":"ᖕᒉ","ᖎ":"ᖕᒊ","ᖏ":"ᖕᒋ","ᖐ":"ᖕᒌ","ᖒ":"ᖕᒎ","ᖓ":"ᖕᒐ","ᖔ":"ᖕᒑ","ᙳ":"ᖖJ","ᙱ":"ᖖᒋ","ᙲ":"ᖖᒌ","ᙴ":"ᖖᒎ","ᙵ":"ᖖᒐ","ᙶ":"ᖖᒑ","ᣪ":"ᖗ·","ᙷ":"ᖧ·","ᙸ":"ᖨ·","ᙹ":"ᖩ·","ᙺ":"ᖪ·","ᙻ":"ᖫ·","ᙼ":"ᖬ·","ᙽ":"ᖭ·","⪫":"ᗒ","⪪":"ᗕ","ꓷ":"ᗡ","ᣰ":"ᗴ·","ᣲ":"ᘛ·","ᶻ":"ᙆ","ꓭ":"ᙠ","ᶺ":"ᣔ","ᴾ":"ᣖ","ᣜ":"ᣟᐞ","ˡ":"ᣳ","ʳ":"ᣴ","ˢ":"ᣵ","ᣛ":"ᣵ","ꚰ":"ᚹ","ᛡ":"ᚼ","⍿":"ᚽ","ᛂ":"ᚽ","𝈿":"ᛋ","↑":"ᛏ","↿":"ᛐ","⥮":"ᛐ⇂","⥣":"ᛐᛚ","ⵣ":"ᛯ","↾":"ᛚ","⨡":"ᛚ","⋄":"ᛜ","◇":"ᛜ","◊":"ᛜ","♢":"ᛜ","🝔":"ᛜ","𑢷":"ᛜ","𐊔":"ᛜ","⍚":"ᛜ̲","⋈":"ᛞ","⨝":"ᛞ","𐓐":"ᛦ","↕":"ᛨ","𐳼":"𐲂","𐳺":"𐲥","ㄱ":"ᄀ","ᆨ":"ᄀ","ᄁ":"ᄀᄀ","ㄲ":"ᄀᄀ","ᆩ":"ᄀᄀ","ᇺ":"ᄀᄂ","ᅚ":"ᄀᄃ","ᇃ":"ᄀᄅ","ᇻ":"ᄀᄇ","ᆪ":"ᄀᄉ","ㄳ":"ᄀᄉ","ᇄ":"ᄀᄉᄀ","ᇼ":"ᄀᄎ","ᇽ":"ᄀᄏ","ᇾ":"ᄀᄒ","ㄴ":"ᄂ","ᆫ":"ᄂ","ᄓ":"ᄂᄀ","ᇅ":"ᄂᄀ","ᄔ":"ᄂᄂ","ㅥ":"ᄂᄂ","ᇿ":"ᄂᄂ","ᄕ":"ᄂᄃ","ㅦ":"ᄂᄃ","ᇆ":"ᄂᄃ","ퟋ":"ᄂᄅ","ᄖ":"ᄂᄇ","ᅛ":"ᄂᄉ","ᇇ":"ᄂᄉ","ㅧ":"ᄂᄉ","ᅜ":"ᄂᄌ","ᆬ":"ᄂᄌ","ㄵ":"ᄂᄌ","ퟌ":"ᄂᄎ","ᇉ":"ᄂᄐ","ᅝ":"ᄂᄒ","ᆭ":"ᄂᄒ","ㄶ":"ᄂᄒ","ᇈ":"ᄂᅀ","ㅨ":"ᄂᅀ","ㄷ":"ᄃ","ᆮ":"ᄃ","ᄗ":"ᄃᄀ","ᇊ":"ᄃᄀ","ᄄ":"ᄃᄃ","ㄸ":"ᄃᄃ","ퟍ":"ᄃᄃ","ퟎ":"ᄃᄃᄇ","ᅞ":"ᄃᄅ","ᇋ":"ᄃᄅ","ꥠ":"ᄃᄆ","ꥡ":"ᄃᄇ","ퟏ":"ᄃᄇ","ꥢ":"ᄃᄉ","ퟐ":"ᄃᄉ","ퟑ":"ᄃᄉᄀ","ꥣ":"ᄃᄌ","ퟒ":"ᄃᄌ","ퟓ":"ᄃᄎ","ퟔ":"ᄃᄐ","ㄹ":"ᄅ","ᆯ":"ᄅ","ꥤ":"ᄅᄀ","ᆰ":"ᄅᄀ","ㄺ":"ᄅᄀ","ꥥ":"ᄅᄀᄀ","ퟕ":"ᄅᄀᄀ","ᇌ":"ᄅᄀᄉ","ㅩ":"ᄅᄀᄉ","ퟖ":"ᄅᄀᄒ","ᄘ":"ᄅᄂ","ᇍ":"ᄅᄂ","ꥦ":"ᄅᄃ","ᇎ":"ᄅᄃ","ㅪ":"ᄅᄃ","ꥧ":"ᄅᄃᄃ","ᇏ":"ᄅᄃᄒ","ᄙ":"ᄅᄅ","ᇐ":"ᄅᄅ","ퟗ":"ᄅᄅᄏ","ꥨ":"ᄅᄆ","ᆱ":"ᄅᄆ","ㄻ":"ᄅᄆ","ᇑ":"ᄅᄆᄀ","ᇒ":"ᄅᄆᄉ","ퟘ":"ᄅᄆᄒ","ꥩ":"ᄅᄇ","ᆲ":"ᄅᄇ","ㄼ":"ᄅᄇ","ퟙ":"ᄅᄇᄃ","ꥪ":"ᄅᄇᄇ","ᇓ":"ᄅᄇᄉ","ㅫ":"ᄅᄇᄉ","ꥫ":"ᄅᄇᄋ","ᇕ":"ᄅᄇᄋ","ퟚ":"ᄅᄇᄑ","ᇔ":"ᄅᄇᄒ","ꥬ":"ᄅᄉ","ᆳ":"ᄅᄉ","ㄽ":"ᄅᄉ","ᇖ":"ᄅᄉᄉ","ᄛ":"ᄅᄋ","ퟝ":"ᄅᄋ","ꥭ":"ᄅᄌ","ꥮ":"ᄅᄏ","ᇘ":"ᄅᄏ","ᆴ":"ᄅᄐ","ㄾ":"ᄅᄐ","ᆵ":"ᄅᄑ","ㄿ":"ᄅᄑ","ᄚ":"ᄅᄒ","ㅀ":"ᄅᄒ","ᄻ":"ᄅᄒ","ᆶ":"ᄅᄒ","ퟲ":"ᄅᄒ","ᇗ":"ᄅᅀ","ㅬ":"ᄅᅀ","ퟛ":"ᄅᅌ","ᇙ":"ᄅᅙ","ㅭ":"ᄅᅙ","ퟜ":"ᄅᅙᄒ","ㅁ":"ᄆ","ᆷ":"ᄆ","ꥯ":"ᄆᄀ","ᇚ":"ᄆᄀ","ퟞ":"ᄆᄂ","ퟟ":"ᄆᄂᄂ","ꥰ":"ᄆᄃ","ᇛ":"ᄆᄅ","ퟠ":"ᄆᄆ","ᄜ":"ᄆᄇ","ㅮ":"ᄆᄇ","ᇜ":"ᄆᄇ","ퟡ":"ᄆᄇᄉ","ꥱ":"ᄆᄉ","ᇝ":"ᄆᄉ","ㅯ":"ᄆᄉ","ᇞ":"ᄆᄉᄉ","ᄝ":"ᄆᄋ","ㅱ":"ᄆᄋ","ᇢ":"ᄆᄋ","ퟢ":"ᄆᄌ","ᇠ":"ᄆᄎ","ᇡ":"ᄆᄒ","ᇟ":"ᄆᅀ","ㅰ":"ᄆᅀ","ㅂ":"ᄇ","ᆸ":"ᄇ","ᄞ":"ᄇᄀ","ㅲ":"ᄇᄀ","ᄟ":"ᄇᄂ","ᄠ":"ᄇᄃ","ㅳ":"ᄇᄃ","ퟣ":"ᄇᄃ","ᇣ":"ᄇᄅ","ퟤ":"ᄇᄅᄑ","ퟥ":"ᄇᄆ","ᄈ":"ᄇᄇ","ㅃ":"ᄇᄇ","ퟦ":"ᄇᄇ","ᄬ":"ᄇᄇᄋ","ㅹ":"ᄇᄇᄋ","ᄡ":"ᄇᄉ","ㅄ":"ᄇᄉ","ᆹ":"ᄇᄉ","ᄢ":"ᄇᄉᄀ","ㅴ":"ᄇᄉᄀ","ᄣ":"ᄇᄉᄃ","ㅵ":"ᄇᄉᄃ","ퟧ":"ᄇᄉᄃ","ᄤ":"ᄇᄉᄇ","ᄥ":"ᄇᄉᄉ","ᄦ":"ᄇᄉᄌ","ꥲ":"ᄇᄉᄐ","ᄫ":"ᄇᄋ","ㅸ":"ᄇᄋ","ᇦ":"ᄇᄋ","ᄧ":"ᄇᄌ","ㅶ":"ᄇᄌ","ퟨ":"ᄇᄌ","ᄨ":"ᄇᄎ","ퟩ":"ᄇᄎ","ꥳ":"ᄇᄏ","ᄩ":"ᄇᄐ","ㅷ":"ᄇᄐ","ᄪ":"ᄇᄑ","ᇤ":"ᄇᄑ","ꥴ":"ᄇᄒ","ᇥ":"ᄇᄒ","ㅅ":"ᄉ","ᆺ":"ᄉ","ᄭ":"ᄉᄀ","ㅺ":"ᄉᄀ","ᇧ":"ᄉᄀ","ᄮ":"ᄉᄂ","ㅻ":"ᄉᄂ","ᄯ":"ᄉᄃ","ㅼ":"ᄉᄃ","ᇨ":"ᄉᄃ","ᄰ":"ᄉᄅ","ᇩ":"ᄉᄅ","ᄱ":"ᄉᄆ","ퟪ":"ᄉᄆ","ᄲ":"ᄉᄇ","ㅽ":"ᄉᄇ","ᇪ":"ᄉᄇ","ᄳ":"ᄉᄇᄀ","ퟫ":"ᄉᄇᄋ","ᄊ":"ᄉᄉ","ㅆ":"ᄉᄉ","ᆻ":"ᄉᄉ","ퟬ":"ᄉᄉᄀ","ퟭ":"ᄉᄉᄃ","ꥵ":"ᄉᄉᄇ","ᄴ":"ᄉᄉᄉ","ᄵ":"ᄉᄋ","ᄶ":"ᄉᄌ","ㅾ":"ᄉᄌ","ퟯ":"ᄉᄌ","ᄷ":"ᄉᄎ","ퟰ":"ᄉᄎ","ᄸ":"ᄉᄏ","ᄹ":"ᄉᄐ","ퟱ":"ᄉᄐ","ᄺ":"ᄉᄑ","ퟮ":"ᄉᅀ","ㅇ":"ᄋ","ᆼ":"ᄋ","ᅁ":"ᄋᄀ","ᇬ":"ᄋᄀ","ᇭ":"ᄋᄀᄀ","ᅂ":"ᄋᄃ","ꥶ":"ᄋᄅ","ᅃ":"ᄋᄆ","ᅄ":"ᄋᄇ","ᅅ":"ᄋᄉ","ᇱ":"ᄋᄉ","ㆂ":"ᄋᄉ","ᅇ":"ᄋᄋ","ㆀ":"ᄋᄋ","ᇮ":"ᄋᄋ","ᅈ":"ᄋᄌ","ᅉ":"ᄋᄎ","ᇯ":"ᄋᄏ","ᅊ":"ᄋᄐ","ᅋ":"ᄋᄑ","ꥷ":"ᄋᄒ","ᅆ":"ᄋᅀ","ᇲ":"ᄋᅀ","ㆃ":"ᄋᅀ","ㅈ":"ᄌ","ᆽ":"ᄌ","ퟷ":"ᄌᄇ","ퟸ":"ᄌᄇᄇ","ᅍ":"ᄌᄋ","ᄍ":"ᄌᄌ","ㅉ":"ᄌᄌ","ퟹ":"ᄌᄌ","ꥸ":"ᄌᄌᄒ","ㅊ":"ᄎ","ᆾ":"ᄎ","ᅒ":"ᄎᄏ","ᅓ":"ᄎᄒ","ㅋ":"ᄏ","ᆿ":"ᄏ","ㅌ":"ᄐ","ᇀ":"ᄐ","ꥹ":"ᄐᄐ","ㅍ":"ᄑ","ᇁ":"ᄑ","ᅖ":"ᄑᄇ","ᇳ":"ᄑᄇ","ퟺ":"ᄑᄉ","ᅗ":"ᄑᄋ","ㆄ":"ᄑᄋ","ᇴ":"ᄑᄋ","ퟻ":"ᄑᄐ","ꥺ":"ᄑᄒ","ㅎ":"ᄒ","ᇂ":"ᄒ","ᇵ":"ᄒᄂ","ᇶ":"ᄒᄅ","ᇷ":"ᄒᄆ","ᇸ":"ᄒᄇ","ꥻ":"ᄒᄉ","ᅘ":"ᄒᄒ","ㆅ":"ᄒᄒ","ᄽ":"ᄼᄼ","ᄿ":"ᄾᄾ","ㅿ":"ᅀ","ᇫ":"ᅀ","ퟳ":"ᅀᄇ","ퟴ":"ᅀᄇᄋ","ㆁ":"ᅌ","ᇰ":"ᅌ","ퟵ":"ᅌᄆ","ퟶ":"ᅌᄒ","ᅏ":"ᅎᅎ","ᅑ":"ᅐᅐ","ㆆ":"ᅙ","ᇹ":"ᅙ","ꥼ":"ᅙᅙ","ㅤ":"ᅠ","ㅏ":"ᅡ","ᆣ":"ᅡー","ᅶ":"ᅡᅩ","ᅷ":"ᅡᅮ","ᅢ":"ᅡ丨","ㅐ":"ᅡ丨","ㅑ":"ᅣ","ᅸ":"ᅣᅩ","ᅹ":"ᅣᅭ","ᆤ":"ᅣᅮ","ᅤ":"ᅣ丨","ㅒ":"ᅣ丨","ㅓ":"ᅥ","ᅼ":"ᅥー","ᅺ":"ᅥᅩ","ᅻ":"ᅥᅮ","ᅦ":"ᅥ丨","ㅔ":"ᅥ丨","ㅕ":"ᅧ","ᆥ":"ᅧᅣ","ᅽ":"ᅧᅩ","ᅾ":"ᅧᅮ","ᅨ":"ᅧ丨","ㅖ":"ᅧ丨","ㅗ":"ᅩ","ᅪ":"ᅩᅡ","ㅘ":"ᅩᅡ","ᅫ":"ᅩᅡ丨","ㅙ":"ᅩᅡ丨","ᆦ":"ᅩᅣ","ᆧ":"ᅩᅣ丨","ᅿ":"ᅩᅥ","ᆀ":"ᅩᅥ丨","ힰ":"ᅩᅧ","ᆁ":"ᅩᅧ丨","ᆂ":"ᅩᅩ","ힱ":"ᅩᅩ丨","ᆃ":"ᅩᅮ","ᅬ":"ᅩ丨","ㅚ":"ᅩ丨","ㅛ":"ᅭ","ힲ":"ᅭᅡ","ힳ":"ᅭᅡ丨","ᆄ":"ᅭᅣ","ㆇ":"ᅭᅣ","ᆆ":"ᅭᅣ","ᆅ":"ᅭᅣ丨","ㆈ":"ᅭᅣ丨","ힴ":"ᅭᅥ","ᆇ":"ᅭᅩ","ᆈ":"ᅭ丨","ㆉ":"ᅭ丨","ㅜ":"ᅮ","ᆉ":"ᅮᅡ","ᆊ":"ᅮᅡ丨","ᅯ":"ᅮᅥ","ㅝ":"ᅮᅥ","ᆋ":"ᅮᅥー","ᅰ":"ᅮᅥ丨","ㅞ":"ᅮᅥ丨","ힵ":"ᅮᅧ","ᆌ":"ᅮᅧ丨","ᆍ":"ᅮᅮ","ᅱ":"ᅮ丨","ㅟ":"ᅮ丨","ힶ":"ᅮ丨丨","ㅠ":"ᅲ","ᆎ":"ᅲᅡ","ힷ":"ᅲᅡ丨","ᆏ":"ᅲᅥ","ᆐ":"ᅲᅥ丨","ᆑ":"ᅲᅧ","ㆊ":"ᅲᅧ","ᆒ":"ᅲᅧ丨","ㆋ":"ᅲᅧ丨","ힸ":"ᅲᅩ","ᆓ":"ᅲᅮ","ᆔ":"ᅲ丨","ㆌ":"ᅲ丨","ㆍ":"ᆞ","ퟅ":"ᆞᅡ","ᆟ":"ᆞᅥ","ퟆ":"ᆞᅥ丨","ᆠ":"ᆞᅮ","ᆢ":"ᆞᆞ","ᆡ":"ᆞ丨","ㆎ":"ᆞ丨","ヘ":"へ","⍁":"〼","⧄":"〼","꒞":"ꁊ","꒬":"ꁐ","꒜":"ꃀ","꒨":"ꄲ","꒿":"ꉙ","꒾":"ꊱ","꒔":"ꋍ","꓀":"ꎫ","꓂":"ꎵ","꒺":"ꎿ","꒰":"ꏂ","꒧":"ꑘ","⊥":"ꓕ","⟂":"ꓕ","𝈜":"ꓕ","Ʇ":"ꓕ","Ꞟ":"ꓤ","⅁":"ꓨ","⅂":"ꓶ","𝈕":"ꓶ","𝈫":"ꓶ","𖼦":"ꓶ","𐐑":"ꓶ","⅃":"𖼀","𑫦":"𑫥𑫯","𑫨":"𑫥𑫥","𑫩":"𑫥𑫥𑫯","𑫪":"𑫥𑫥𑫰","𑫧":"𑫥𑫰","𑫴":"𑫳𑫯","𑫶":"𑫳𑫳","𑫷":"𑫳𑫳𑫯","𑫸":"𑫳𑫳𑫰","𑫵":"𑫳𑫰","𑫬":"𑫫𑫯","𑫭":"𑫫𑫫","𑫮":"𑫫𑫫𑫯","⊕":"𐊨","⨁":"𐊨","🜨":"𐊨","Ꚛ":"𐊨","▽":"𐊼","𝈔":"𐊼","🜄":"𐊼","⧖":"𐋀","ꞛ":"𐐺","Ꞛ":"𐐒","𐒠":"𐒆","𐏑":"𐎂","𐏓":"𐎓","𒀸":"𐎚","☥":"𐦞","𓋹":"𐦞","〹":"卄","不":"不","丽":"丽","並":"並","⎜":"丨","⎟":"丨","⎢":"丨","⎥":"丨","⎪":"丨","⎮":"丨","㇑":"丨","ᅵ":"丨","ㅣ":"丨","⼁":"丨","ᆜ":"丨ー","ᆘ":"丨ᅡ","ᆙ":"丨ᅣ","ힽ":"丨ᅣᅩ","ힾ":"丨ᅣ丨","ힿ":"丨ᅧ","ퟀ":"丨ᅧ丨","ᆚ":"丨ᅩ","ퟁ":"丨ᅩ丨","ퟂ":"丨ᅭ","ᆛ":"丨ᅮ","ퟃ":"丨ᅲ","ᆝ":"丨ᆞ","ퟄ":"丨丨","串":"串","丸":"丸","丹":"丹","乁":"乁","㇠":"乙","⼄":"乙","㇟":"乚","⺃":"乚","㇖":"乛","⺂":"乛","⻲":"亀","亂":"亂","㇚":"亅","⼅":"亅","了":"了","ニ":"二","⼆":"二","𠄢":"𠄢","⼇":"亠","亮":"亮","⼈":"人","イ":"亻","⺅":"亻","什":"什","仌":"仌","令":"令","你":"你","倂":"併","倂":"併","侀":"侀","來":"來","例":"例","侮":"侮","侮":"侮","侻":"侻","便":"便","值":"値","倫":"倫","偺":"偺","備":"備","像":"像","僚":"僚","僧":"僧","僧":"僧","㒞":"㒞","⼉":"儿","兀":"兀","⺎":"兀","充":"充","免":"免","免":"免","兔":"兔","兤":"兤","⼊":"入","內":"內","全":"全","兩":"兩","ハ":"八","⼋":"八","六":"六","具":"具","𠔜":"𠔜","𠔥":"𠔥","冀":"冀","㒹":"㒹","⼌":"冂","再":"再","𠕋":"𠕋","冒":"冒","冕":"冕","㒻":"㒻","最":"最","⼍":"冖","冗":"冗","冤":"冤","⼎":"冫","冬":"冬","况":"况","况":"况","冷":"冷","凉":"凉","凌":"凌","凜":"凜","凞":"凞","⼏":"几","𠘺":"𠘺","凵":"凵","⼐":"凵","⼑":"刀","⺉":"刂","刃":"刃","切":"切","切":"切","列":"列","利":"利","㓟":"㓟","刺":"刺","刻":"刻","剆":"剆","割":"割","剷":"剷","劉":"劉","𠠄":"𠠄","カ":"力","力":"力","⼒":"力","劣":"劣","㔕":"㔕","劳":"劳","勇":"勇","勇":"勇","勉":"勉","勉":"勉","勒":"勒","勞":"勞","勤":"勤","勤":"勤","勵":"勵","⼓":"勹","勺":"勺","勺":"勺","包":"包","匆":"匆","𠣞":"𠣞","⼔":"匕","北":"北","北":"北","⼕":"匚","⼖":"匸","匿":"匿","⼗":"十","〸":"十","〺":"卅","卉":"卉","࿖":"卍","࿕":"卐","卑":"卑","卑":"卑","博":"博","ト":"卜","⼘":"卜","⼙":"卩","⺋":"㔾","即":"即","卵":"卵","卽":"卽","卿":"卿","卿":"卿","卿":"卿","⼚":"厂","𠨬":"𠨬","⼛":"厶","參":"參","⼜":"又","及":"及","叟":"叟","𠭣":"𠭣","ロ":"口","⼝":"口","囗":"口","⼞":"口","句":"句","叫":"叫","叱":"叱","吆":"吆","吏":"吏","吝":"吝","吸":"吸","呂":"呂","呈":"呈","周":"周","咞":"咞","咢":"咢","咽":"咽","䎛":"㖈","哶":"哶","唐":"唐","啓":"啓","啟":"啓","啕":"啕","啣":"啣","善":"善","善":"善","喇":"喇","喙":"喙","喙":"喙","喝":"喝","喝":"喝","喫":"喫","喳":"喳","嗀":"嗀","嗂":"嗂","嗢":"嗢","嘆":"嘆","嘆":"嘆","噑":"噑","噴":"噴","器":"器","囹":"囹","圖":"圖","圗":"圗","⼟":"土","士":"土","⼠":"土","型":"型","城":"城","㦳":"㘽","埴":"埴","堍":"堍","報":"報","堲":"堲","塀":"塀","塚":"塚","塚":"塚","塞":"塞","填":"塡","壿":"墫","墬":"墬","墳":"墳","壘":"壘","壟":"壟","𡓤":"𡓤","壮":"壮","売":"売","壷":"壷","⼡":"夂","夆":"夆","⼢":"夊","タ":"夕","⼣":"夕","多":"多","夢":"夢","⼤":"大","奄":"奄","奈":"奈","契":"契","奔":"奔","奢":"奢","女":"女","⼥":"女","𡚨":"𡚨","𡛪":"𡛪","姘":"姘","姬":"姬","娛":"娛","娧":"娧","婢":"婢","婦":"婦","嬀":"媯","㛮":"㛮","㛼":"㛼","媵":"媵","嬈":"嬈","嬨":"嬨","嬾":"嬾","嬾":"嬾","⼦":"子","⼧":"宀","宅":"宅","𡧈":"𡧈","寃":"寃","寘":"寘","寧":"寧","寧":"寧","寧":"寧","寮":"寮","寳":"寳","𡬘":"𡬘","⼨":"寸","寿":"寿","将":"将","⼩":"小","尢":"尢","⺐":"尢","⼪":"尢","⺏":"尣","㞁":"㞁","⼫":"尸","尿":"尿","屠":"屠","屢":"屢","層":"層","履":"履","屮":"屮","屮":"屮","⼬":"屮","𡴋":"𡴋","⼭":"山","峀":"峀","岍":"岍","𡷤":"𡷤","𡷦":"𡷦","崙":"崙","嵃":"嵃","嵐":"嵐","嵫":"嵫","嵮":"嵮","嵼":"嵼","嶲":"嶲","嶺":"嶺","⼮":"巛","巢":"巢","エ":"工","⼯":"工","⼰":"己","⺒":"巳","㠯":"㠯","巽":"巽","⼱":"巾","帲":"帡","帨":"帨","帽":"帽","幩":"幩","㡢":"㡢","𢆃":"𢆃","⼲":"干","年":"年","𢆟":"𢆟","⺓":"幺","⼳":"幺","⼴":"广","度":"度","㡼":"㡼","庰":"庰","庳":"庳","庶":"庶","廊":"廊","廊":"廊","廉":"廉","廒":"廒","廓":"廓","廙":"廙","廬":"廬","⼵":"廴","廾":"廾","⼶":"廾","𢌱":"𢌱","𢌱":"𢌱","弄":"弄","⼷":"弋","⼸":"弓","弢":"弢","弢":"弢","⼹":"彐","⺔":"彑","当":"当","㣇":"㣇","⼺":"彡","形":"形","彩":"彩","彫":"彫","⼻":"彳","律":"律","㣣":"㣣","徚":"徚","復":"復","徭":"徭","⼼":"心","⺖":"忄","⺗":"㣺","忍":"忍","志":"志","念":"念","忹":"忹","怒":"怒","怜":"怜","恵":"恵","㤜":"㤜","㤺":"㤺","悁":"悁","悔":"悔","悔":"悔","惇":"惇","惘":"惘","惡":"惡","𢛔":"𢛔","愈":"愈","慨":"慨","慄":"慄","慈":"慈","慌":"慌","慌":"慌","慎":"慎","慎":"慎","慠":"慠","慺":"慺","憎":"憎","憎":"憎","憎":"憎","憐":"憐","憤":"憤","憯":"憯","憲":"憲","𢡄":"𢡄","𢡊":"𢡊","懞":"懞","懲":"懲","懲":"懲","懲":"懲","懶":"懶","懶":"懶","戀":"戀","⼽":"戈","成":"成","戛":"戛","戮":"戮","戴":"戴","⼾":"戶","戸":"戶","⼿":"手","⺘":"扌","扝":"扝","抱":"抱","拉":"拉","拏":"拏","拓":"拓","拔":"拔","拼":"拼","拾":"拾","𢬌":"𢬌","挽":"挽","捐":"捐","捨":"捨","捻":"捻","掃":"掃","掠":"掠","掩":"掩","揄":"揄","揤":"揤","摒":"摒","𢯱":"𢯱","搜":"搜","搢":"搢","揅":"揅","摩":"摩","摷":"摷","摾":"摾","㨮":"㨮","搉":"㩁","撚":"撚","撝":"撝","擄":"擄","㩬":"㩬","⽀":"支","⽁":"攴","⺙":"攵","敏":"敏","敏":"敏","敖":"敖","敬":"敬","數":"數","𣀊":"𣀊","⽂":"文","⻫":"斉","⽃":"斗","料":"料","⽄":"斤","⽅":"方","旅":"旅","⽆":"无","⺛":"旡","既":"既","旣":"旣","⽇":"日","易":"易","曶":"㫚","㫤":"㫤","晉":"晉","晩":"晚","晴":"晴","晴":"晴","暑":"暑","暑":"暑","暈":"暈","㬈":"㬈","暜":"暜","暴":"暴","曆":"曆","㬙":"㬙","𣊸":"𣊸","⽈":"曰","更":"更","書":"書","⽉":"月","𣍟":"𣍟","肦":"朌","胐":"朏","胊":"朐","脁":"朓","胶":"㬵","朗":"朗","朗":"朗","朗":"朗","脧":"朘","望":"望","望":"望","朡":"朡","幐":"㬺","䐠":"㬻","𣎓":"𣎓","膧":"朣","𣎜":"𣎜","⽊":"木","李":"李","杓":"杓","杖":"杖","杞":"杞","𣏃":"𣏃","柿":"杮","杻":"杻","枅":"枅","林":"林","㭉":"㭉","𣏕":"𣏕","柳":"柳","柺":"柺","栗":"栗","栟":"栟","桒":"桒","𣑭":"𣑭","梁":"梁","梅":"梅","梅":"梅","梎":"梎","梨":"梨","椔":"椔","楂":"楂","㮝":"㮝","㮝":"㮝","槩":"㮣","樧":"榝","榣":"榣","槪":"槪","樂":"樂","樂":"樂","樂":"樂","樓":"樓","𣚣":"𣚣","檨":"檨","櫓":"櫓","櫛":"櫛","欄":"欄","㰘":"㰘","⽋":"欠","次":"次","𣢧":"𣢧","歔":"歔","㱎":"㱎","⽌":"止","⻭":"歯","歲":"歲","歷":"歷","歹":"歹","⽍":"歹","⺞":"歺","殟":"殟","殮":"殮","⽎":"殳","殺":"殺","殺":"殺","殺":"殺","殻":"殻","𣪍":"𣪍","⽏":"毋","⺟":"母","𣫺":"𣫺","⽐":"比","⽑":"毛","⽒":"氏","⺠":"民","⽓":"气","⽔":"水","⺡":"氵","⺢":"氺","汎":"汎","汧":"汧","沈":"沈","沿":"沿","泌":"泌","泍":"泍","泥":"泥","𣲼":"𣲼","洛":"洛","洞":"洞","洴":"洴","派":"派","流":"流","流":"流","流":"流","洖":"洖","浩":"浩","浪":"浪","海":"海","海":"海","浸":"浸","涅":"涅","𣴞":"𣴞","淋":"淋","淚":"淚","淪":"淪","淹":"淹","渚":"渚","港":"港","湮":"湮","潙":"溈","滋":"滋","滋":"滋","溜":"溜","溺":"溺","滇":"滇","滑":"滑","滛":"滛","㴳":"㴳","漏":"漏","漢":"漢","漢":"漢","漣":"漣","𣻑":"𣻑","潮":"潮","𣽞":"𣽞","𣾎":"𣾎","濆":"濆","濫":"濫","濾":"濾","瀛":"瀛","瀞":"瀞","瀞":"瀞","瀹":"瀹","灊":"灊","㶖":"㶖","⽕":"火","⺣":"灬","灰":"灰","灷":"灷","災":"災","炙":"炙","炭":"炭","烈":"烈","烙":"烙","煮":"煮","煮":"煮","𤉣":"𤉣","煅":"煅","煉":"煉","𤋮":"𤋮","熜":"熜","燎":"燎","燐":"燐","𤎫":"𤎫","爐":"爐","爛":"爛","爨":"爨","⽖":"爪","爫":"爫","⺤":"爫","爵":"爵","爵":"爵","⽗":"父","⽘":"爻","⺦":"丬","⽙":"爿","⽚":"片","牐":"牐","⽛":"牙","𤘈":"𤘈","⽜":"牛","牢":"牢","犀":"犀","犕":"犕","⽝":"犬","⺨":"犭","犯":"犯","狀":"狀","𤜵":"𤜵","狼":"狼","猪":"猪","猪":"猪","𤠔":"𤠔","獵":"獵","獺":"獺","⽞":"玄","率":"率","率":"率","⽟":"玉","王":"王","㺬":"㺬","玥":"玥","玲":"玲","㺸":"㺸","㺸":"㺸","珞":"珞","琉":"琉","理":"理","琢":"琢","瑇":"瑇","瑜":"瑜","瑩":"瑩","瑱":"瑱","瑱":"瑱","璅":"璅","璉":"璉","璘":"璘","瓊":"瓊","⽠":"瓜","⽡":"瓦","㼛":"㼛","甆":"甆","⽢":"甘","⽣":"生","甤":"甤","⽤":"用","⽥":"田","画":"画","甾":"甾","𤰶":"𤰶","留":"留","略":"略","異":"異","異":"異","𤲒":"𤲒","⽦":"疋","⽧":"疒","痢":"痢","瘐":"瘐","瘟":"瘟","瘝":"瘝","療":"療","癩":"癩","⽨":"癶","⽩":"白","𤾡":"𤾡","𤾸":"𤾸","⽪":"皮","⽫":"皿","𥁄":"𥁄","㿼":"㿼","益":"益","益":"益","盛":"盛","盧":"盧","䀈":"䀈","⽬":"目","直":"直","直":"直","𥃲":"𥃲","𥃳":"𥃳","省":"省","䀘":"䀘","𥄙":"𥄙","眞":"眞","真":"真","真":"真","𥄳":"𥄳","着":"着","睊":"睊","睊":"睊","鿃":"䀹","䀹":"䀹","䀹":"䀹","晣":"䀿","䁆":"䁆","瞋":"瞋","𥉉":"𥉉","瞧":"瞧","⽭":"矛","⽮":"矢","⽯":"石","䂖":"䂖","𥐝":"𥐝","硏":"研","硎":"硎","硫":"硫","碌":"碌","碌":"碌","碑":"碑","磊":"磊","磌":"磌","磌":"磌","磻":"磻","䃣":"䃣","礪":"礪","⽰":"示","⺭":"礻","礼":"礼","社":"社","祈":"祈","祉":"祉","𥘦":"𥘦","祐":"祐","祖":"祖","祖":"祖","祝":"祝","神":"神","祥":"祥","視":"視","視":"視","祿":"祿","𥚚":"𥚚","禍":"禍","禎":"禎","福":"福","福":"福","𥛅":"𥛅","禮":"禮","⽱":"禸","⽲":"禾","秊":"秊","䄯":"䄯","秫":"秫","稜":"稜","穊":"穊","穀":"穀","穀":"穀","穏":"穏","⽳":"穴","突":"突","𥥼":"𥥼","窱":"窱","立":"立","⽴":"立","⻯":"竜","𥪧":"𥪧","𥪧":"𥪧","竮":"竮","⽵":"竹","笠":"笠","節":"節","節":"節","䈂":"䈂","𥮫":"𥮫","篆":"篆","䈧":"䈧","築":"築","𥲀":"𥲀","𥳐":"𥳐","簾":"簾","籠":"籠","⽶":"米","类":"类","粒":"粒","精":"精","糒":"糒","糖":"糖","糨":"糨","䊠":"䊠","糣":"糣","糧":"糧","⽷":"糸","⺯":"糹","𥾆":"𥾆","紀":"紀","紐":"紐","索":"索","累":"累","絶":"絕","絣":"絣","絛":"絛","綠":"綠","綾":"綾","緇":"緇","練":"練","練":"練","練":"練","縂":"縂","䌁":"䌁","縉":"縉","縷":"縷","繁":"繁","繅":"繅","𦇚":"𦇚","䌴":"䌴","⽸":"缶","𦈨":"𦈨","缾":"缾","𦉇":"𦉇","⽹":"网","⺫":"罒","⺲":"罒","⺱":"罓","䍙":"䍙","署":"署","𦋙":"𦋙","罹":"罹","罺":"罺","羅":"羅","𦌾":"𦌾","⽺":"羊","羕":"羕","羚":"羚","羽":"羽","⽻":"羽","翺":"翺","老":"老","⽼":"老","⺹":"耂","者":"者","者":"者","者":"者","⽽":"而","𦓚":"𦓚","⽾":"耒","𦔣":"𦔣","⽿":"耳","聆":"聆","聠":"聠","𦖨":"𦖨","聯":"聯","聰":"聰","聾":"聾","⾀":"聿","⺺":"肀","⾁":"肉","肋":"肋","肭":"肭","育":"育","䏕":"䏕","䏙":"䏙","腁":"胼","脃":"脃","脾":"脾","䐋":"䐋","𦞧":"𦞧","𦞵":"𦞵","朦":"䑃","臘":"臘","⾂":"臣","臨":"臨","⾃":"自","臭":"臭","⾄":"至","⾅":"臼","舁":"舁","舁":"舁","舄":"舄","⾆":"舌","舘":"舘","⾇":"舛","⾈":"舟","䑫":"䑫","⾉":"艮","良":"良","⾊":"色","⾋":"艸","艹":"艹","艹":"艹","⺾":"艹","⺿":"艹","⻀":"艹","芋":"芋","芑":"芑","芝":"芝","花":"花","芳":"芳","芽":"芽","若":"若","若":"若","苦":"苦","𦬼":"𦬼","茶":"茶","荒":"荒","荣":"荣","茝":"茝","茣":"茣","莽":"莽","荓":"荓","菉":"菉","菊":"菊","菌":"菌","菜":"菜","菧":"菧","華":"華","菱":"菱","著":"著","著":"著","𦰶":"𦰶","莭":"莭","落":"落","葉":"葉","蔿":"蒍","𦳕":"𦳕","𦵫":"𦵫","蓮":"蓮","蓱":"蓱","蓳":"蓳","蓼":"蓼","蔖":"蔖","䔫":"䔫","蕤":"蕤","𦼬":"𦼬","藍":"藍","䕝":"䕝","𦾱":"𦾱","䕡":"䕡","藺":"藺","蘆":"蘆","䕫":"䕫","蘒":"蘒","蘭":"蘭","𧃒":"𧃒","虁":"蘷","蘿":"蘿","⾌":"虍","⻁":"虎","虐":"虐","虜":"虜","虜":"虜","虧":"虧","虩":"虩","⾍":"虫","蚩":"蚩","蚈":"蚈","蛢":"蛢","蜎":"蜎","蜨":"蜨","蝫":"蝫","蟡":"蟡","蝹":"蝹","蝹":"蝹","螆":"螆","䗗":"䗗","𧏊":"𧏊","螺":"螺","蠁":"蠁","䗹":"䗹","蠟":"蠟","⾎":"血","行":"行","⾏":"行","衠":"衠","衣":"衣","⾐":"衣","⻂":"衤","裂":"裂","𧙧":"𧙧","裏":"裏","裗":"裗","裞":"裞","裡":"裡","裸":"裸","裺":"裺","䘵":"䘵","褐":"褐","襁":"襁","襤":"襤","⾑":"襾","⻄":"西","⻃":"覀","覆":"覆","見":"見","⾒":"見","𧢮":"𧢮","⻅":"见","⾓":"角","⾔":"言","𧥦":"𧥦","詽":"訮","訞":"䚶","䚾":"䚾","䛇":"䛇","誠":"誠","說":"說","說":"說","調":"調","請":"請","諒":"諒","論":"論","諭":"諭","諭":"諭","諸":"諸","諸":"諸","諾":"諾","諾":"諾","謁":"謁","謁":"謁","謹":"謹","謹":"謹","識":"識","讀":"讀","讏":"讆","變":"變","變":"變","⻈":"讠","⾕":"谷","⾖":"豆","豈":"豈","豕":"豕","⾗":"豕","豣":"豜","⾘":"豸","𧲨":"𧲨","⾙":"貝","貫":"貫","賁":"賁","賂":"賂","賈":"賈","賓":"賓","贈":"贈","贈":"贈","贛":"贛","⻉":"贝","⾚":"赤","⾛":"走","起":"起","趆":"赿","𧻓":"𧻓","𧼯":"𧼯","⾜":"足","跋":"跋","趼":"趼","跺":"跥","路":"路","跰":"跰","躛":"躗","⾝":"身","車":"車","⾞":"車","軔":"軔","輧":"軿","輦":"輦","輪":"輪","輸":"輸","輸":"輸","輻":"輻","轢":"轢","⻋":"车","⾟":"辛","辞":"辞","辰":"辰","⾠":"辰","⾡":"辵","辶":"辶","⻌":"辶","⻍":"辶","巡":"巡","連":"連","逸":"逸","逸":"逸","遲":"遲","遼":"遼","𨗒":"𨗒","𨗭":"𨗭","邏":"邏","⾢":"邑","邔":"邔","郎":"郎","郞":"郎","郞":"郎","郱":"郱","都":"都","𨜮":"𨜮","鄑":"鄑","鄛":"鄛","⾣":"酉","酪":"酪","醙":"醙","醴":"醴","⾤":"釆","里":"里","⾥":"里","量":"量","金":"金","⾦":"金","鈴":"鈴","鈸":"鈸","鉶":"鉶","鋗":"鋗","鋘":"鋘","鉼":"鉼","錄":"錄","鍊":"鍊","鎮":"鎭","鏹":"鏹","鐕":"鐕","𨯺":"𨯺","⻐":"钅","⻑":"長","⾧":"長","⻒":"镸","⻓":"长","⾨":"門","開":"開","䦕":"䦕","閭":"閭","閷":"閷","𨵷":"𨵷","⻔":"门","⾩":"阜","⻏":"阝","⻖":"阝","阮":"阮","陋":"陋","降":"降","陵":"陵","陸":"陸","陼":"陼","隆":"隆","隣":"隣","䧦":"䧦","⾪":"隶","隷":"隷","隸":"隷","隸":"隷","⾫":"隹","雃":"雃","離":"離","難":"難","難":"難","⾬":"雨","零":"零","雷":"雷","霣":"霣","𩅅":"𩅅","露":"露","靈":"靈","⾭":"靑","⻘":"青","靖":"靖","靖":"靖","𩇟":"𩇟","⾮":"非","⾯":"面","𩈚":"𩈚","⾰":"革","䩮":"䩮","䩶":"䩶","⾱":"韋","韛":"韛","韠":"韠","⻙":"韦","⾲":"韭","𩐊":"𩐊","⾳":"音","響":"響","響":"響","⾴":"頁","䪲":"䪲","頋":"頋","頋":"頋","頋":"頋","領":"領","頩":"頩","𩒖":"𩒖","頻":"頻","頻":"頻","類":"類","⻚":"页","⾵":"風","𩖶":"𩖶","⻛":"风","⾶":"飛","⻜":"飞","⻝":"食","⾷":"食","⻟":"飠","飢":"飢","飯":"飯","飼":"飼","䬳":"䬳","館":"館","餩":"餩","⻠":"饣","⾸":"首","⾹":"香","馧":"馧","⾺":"馬","駂":"駂","駱":"駱","駾":"駾","驪":"驪","⻢":"马","⾻":"骨","䯎":"䯎","⾼":"高","⾽":"髟","𩬰":"𩬰","鬒":"鬒","鬒":"鬒","⾾":"鬥","⾿":"鬯","⿀":"鬲","⿁":"鬼","⻤":"鬼","⿂":"魚","魯":"魯","鱀":"鱀","鱗":"鱗","⻥":"鱼","⿃":"鳥","鳽":"鳽","䳎":"䳎","鵧":"鵧","䳭":"䳭","𪃎":"𪃎","鶴":"鶴","𪄅":"𪄅","䳸":"䳸","鷺":"鷺","𪈎":"𪈎","鸞":"鸞","鹃":"鹂","⿄":"鹵","鹿":"鹿","⿅":"鹿","𪊑":"𪊑","麗":"麗","麟":"麟","⿆":"麥","⻨":"麦","麻":"麻","⿇":"麻","𪎒":"𪎒","⿈":"黃","⻩":"黄","⿉":"黍","黎":"黎","䵖":"䵖","⿊":"黑","黒":"黑","墨":"墨","黹":"黹","⿋":"黹","⿌":"黽","鼅":"鼅","黾":"黾","⿍":"鼎","鼏":"鼏","⿎":"鼓","鼖":"鼖","⿏":"鼠","鼻":"鼻","⿐":"鼻","齃":"齃","⿑":"齊","⻬":"齐","⿒":"齒","𪘀":"𪘀","⻮":"齿","龍":"龍","⿓":"龍","龎":"龎","⻰":"龙","龜":"龜","龜":"龜","龜":"龜","⿔":"龜","⻳":"龟","⿕":"龠"}}}},{package:"unicode-confusables",file:"node_modules/unicode-confusables/data/confusables.json"}],[4388,{"./data/confusables.json":4387},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){const n=e("./data/confusables.json"),o="",i=new Set(["​","‌","‍","\ufeff","\u2028","\u2029"]);function a(e){return[...e].reduce(((e,t)=>(i.has(t)||e.push(n[t]||t),e)),[])}function s(e){const t=a(e),r=[...e];let n=0;return r.reduce(((e,r,a)=>{const s=t[a-n];return s!==r&&s?i.has(r)?(e.push({point:r,similarTo:o}),n+=1):e.push({point:r,similarTo:s}):e.push({point:r}),e}),[])}t.exports={isConfusing:function(e){const t=a(e),r=[...e];for(var n=0,o=t.length;nnull==t?e:t)).join("")}}}}},{package:"unicode-confusables",file:"node_modules/unicode-confusables/index.js"}],[439,{buffer:3028},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(e){(function(){function t(e){if("string"!=typeof e)throw new Error("[isHexPrefixed] input must be type 'string', received type "+typeof e);return"0"===e[0]&&"x"===e[1]}Object.defineProperty(r,"__esModule",{value:!0}),r.isHexString=r.getKeys=r.fromAscii=r.fromUtf8=r.toAscii=r.arrayContainsArray=r.getBinarySize=r.padToEven=r.stripHexPrefix=r.isHexPrefixed=void 0,r.isHexPrefixed=t;function n(e){let t=e;if("string"!=typeof t)throw new Error("[padToEven] value must be type 'string', received "+typeof t);return t.length%2&&(t=`0${t}`),t}r.stripHexPrefix=e=>{if("string"!=typeof e)throw new Error("[stripHexPrefix] input must be type 'string', received "+typeof e);return t(e)?e.slice(2):e},r.padToEven=n,r.getBinarySize=function(t){if("string"!=typeof t)throw new Error("[getBinarySize] method requires input type 'string', received "+typeof t);return e.byteLength(t,"utf8")},r.arrayContainsArray=function(e,t,r){if(!0!==Array.isArray(e))throw new Error(`[arrayContainsArray] method requires input 'superset' to be an array, got type '${typeof e}'`);if(!0!==Array.isArray(t))throw new Error(`[arrayContainsArray] method requires input 'subset' to be an array, got type '${typeof t}'`);return t[!0===r?"some":"every"]((t=>e.indexOf(t)>=0))},r.toAscii=function(e){let t="",r=0;const n=e.length;for("0x"===e.substring(0,2)&&(r=2);r0&&e.length!==2+2*t)}}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"@ethereumjs/tx>@ethereumjs/util",file:"node_modules/@ethereumjs/util/dist/internal.js"}],[440,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.Lock=void 0;r.Lock=class{constructor(){this.permits=1,this.promiseResolverQueue=[]}async acquire(){return this.permits>0?(this.permits-=1,Promise.resolve(!0)):new Promise((e=>this.promiseResolverQueue.push(e)))}release(){if(this.permits+=1,this.permits>1&&this.promiseResolverQueue.length>0)console.warn("Lock.permits should never be > 0 when there is someone waiting.");else if(1===this.permits&&this.promiseResolverQueue.length>0){this.permits-=1;const e=this.promiseResolverQueue.shift();e&&e(!0)}}}}}},{package:"@ethereumjs/tx>@ethereumjs/util",file:"node_modules/@ethereumjs/util/dist/lock.js"}],[4400,{punycode:3029,qs:4059},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("punycode");function o(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var i=/^([a-z0-9.+-]+:)/i,a=/:[0-9]*$/,s=/^(\/\/?(?!\/)[^?\s]*)(\?[^\s]*)?$/,c=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),u=["'"].concat(c),l=["%","/","?",";","#"].concat(u),f=["/","?","#"],d=/^[+a-z0-9A-Z_-]{0,63}$/,h=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,p={javascript:!0,"javascript:":!0},m={javascript:!0,"javascript:":!0},g={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},A=e("qs");function y(e,t,r){if(e&&"object"==typeof e&&e instanceof o)return e;var n=new o;return n.parse(e,t,r),n}o.prototype.parse=function(e,t,r){if("string"!=typeof e)throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var o=e.indexOf("?"),a=-1!==o&&o127?P+="x":P+=R[x];if(!P.match(d)){var L=C.slice(0,S),j=C.slice(S+1),B=R.match(h);B&&(L.push(B[1]),j.unshift(B[2])),j.length&&(y="/"+j.join(".")+y),this.hostname=L.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),O||(this.hostname=n.toASCII(this.hostname));var D=this.port?":"+this.port:"",U=this.hostname||"";this.host=U+D,this.href+=this.host,O&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==y[0]&&(y="/"+y))}if(!p[v])for(S=0,M=u.length;S0)&&r.host.split("@"))&&(r.auth=O.shift(),r.hostname=O.shift(),r.host=r.hostname);return r.search=e.search,r.query=e.query,null===r.pathname&&null===r.search||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r}if(!E.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var w=E.slice(-1)[0],N=(r.host||e.host||E.length>1)&&("."===w||".."===w)||""===w,S=0,I=E.length;I>=0;I--)"."===(w=E[I])?E.splice(I,1):".."===w?(E.splice(I,1),S++):S&&(E.splice(I,1),S--);if(!b&&!v)for(;S--;S)E.unshift("..");!b||""===E[0]||E[0]&&"/"===E[0].charAt(0)||E.unshift(""),N&&"/"!==E.join("/").substr(-1)&&E.push("");var O,C=""===E[0]||E[0]&&"/"===E[0].charAt(0);T&&(r.hostname=C?"":E.length?E.shift():"",r.host=r.hostname,(O=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=O.shift(),r.hostname=O.shift(),r.host=r.hostname));return(b=b||r.host&&E.length)&&!C&&E.unshift(""),E.length>0?r.pathname=E.join("/"):(r.pathname=null,r.path=null),null===r.pathname&&null===r.search||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=e.auth||r.auth,r.slashes=r.slashes||e.slashes,r.href=r.format(),r},o.prototype.parseHost=function(){var e=this.host,t=a.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},r.parse=y,r.resolve=function(e,t){return y(e,!1,!0).resolve(t)},r.resolveObject=function(e,t){return e?y(e,!1,!0).resolveObject(t):t},r.format=function(e){return"string"==typeof e&&(e=y(e)),e instanceof o?e.format():o.prototype.format.call(e)},r.Url=o}}},{package:"browserify>url",file:"node_modules/url/url.js"}],[4401,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.assignRef=void 0,r.assignRef=function(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}}}},{package:"react-focus-lock>use-callback-ref",file:"node_modules/use-callback-ref/dist/es5/assignRef.js"}],[4402,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.createCallbackRef=void 0,r.createCallbackRef=function(e){var t=null;return{get current(){return t},set current(r){var n=t;n!==r&&(t=r,e(r,n))}}}}}},{package:"react-focus-lock>use-callback-ref",file:"node_modules/use-callback-ref/dist/es5/createRef.js"}],[4403,{"./assignRef":4401,"./createRef":4402,"./mergeRef":4404,"./refToCallback":4405,"./transformRef":4406,"./useMergeRef":4407,"./useRef":4408,"./useTransformRef":4409},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.useRefToCallback=r.refToCallback=r.transformRef=r.useTransformRef=r.useMergeRefs=r.mergeRefs=r.createCallbackRef=r.useCallbackRef=r.assignRef=void 0;var n=e("./assignRef");Object.defineProperty(r,"assignRef",{enumerable:!0,get:function(){return n.assignRef}});var o=e("./useRef");Object.defineProperty(r,"useCallbackRef",{enumerable:!0,get:function(){return o.useCallbackRef}});var i=e("./createRef");Object.defineProperty(r,"createCallbackRef",{enumerable:!0,get:function(){return i.createCallbackRef}});var a=e("./mergeRef");Object.defineProperty(r,"mergeRefs",{enumerable:!0,get:function(){return a.mergeRefs}});var s=e("./useMergeRef");Object.defineProperty(r,"useMergeRefs",{enumerable:!0,get:function(){return s.useMergeRefs}});var c=e("./useTransformRef");Object.defineProperty(r,"useTransformRef",{enumerable:!0,get:function(){return c.useTransformRef}});var u=e("./transformRef");Object.defineProperty(r,"transformRef",{enumerable:!0,get:function(){return u.transformRef}});var l=e("./refToCallback");Object.defineProperty(r,"refToCallback",{enumerable:!0,get:function(){return l.refToCallback}}),Object.defineProperty(r,"useRefToCallback",{enumerable:!0,get:function(){return l.useRefToCallback}})}}},{package:"react-focus-lock>use-callback-ref",file:"node_modules/use-callback-ref/dist/es5/index.js"}],[4404,{"./assignRef":4401,"./createRef":4402},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.mergeRefs=void 0;var n=e("./assignRef"),o=e("./createRef");r.mergeRefs=function(e){return(0,o.createCallbackRef)((function(t){return e.forEach((function(e){return(0,n.assignRef)(e,t)}))}))}}}},{package:"react-focus-lock>use-callback-ref",file:"node_modules/use-callback-ref/dist/es5/mergeRef.js"}],[4405,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){function n(e){return function(t){"function"==typeof e?e(t):e&&(e.current=t)}}Object.defineProperty(r,"__esModule",{value:!0}),r.useRefToCallback=r.refToCallback=void 0,r.refToCallback=n;var o=function(){return null},i=new WeakMap;r.useRefToCallback=function(e){return function(e){var t=e||o,r=i.get(t);if(r)return r;var a=n(t);return i.set(t,a),a}(e)}}}},{package:"react-focus-lock>use-callback-ref",file:"node_modules/use-callback-ref/dist/es5/refToCallback.js"}],[4406,{"./assignRef":4401,"./createRef":4402},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.transformRef=void 0;var n=e("./assignRef"),o=e("./createRef");r.transformRef=function(e,t){return(0,o.createCallbackRef)((function(r){return(0,n.assignRef)(e,t(r))}))}}}},{package:"react-focus-lock>use-callback-ref",file:"node_modules/use-callback-ref/dist/es5/transformRef.js"}],[4407,{"./assignRef":4401,"./useRef":4408},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.useMergeRefs=void 0;var n=e("./assignRef"),o=e("./useRef");r.useMergeRefs=function(e,t){return(0,o.useCallbackRef)(t||null,(function(t){return e.forEach((function(e){return(0,n.assignRef)(e,t)}))}))}}}},{package:"react-focus-lock>use-callback-ref",file:"node_modules/use-callback-ref/dist/es5/useMergeRef.js"}],[4408,{react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.useCallbackRef=void 0;var n=e("react");r.useCallbackRef=function(e,t){var r=(0,n.useState)((function(){return{value:e,callback:t,facade:{get current(){return r.value},set current(e){var t=r.value;t!==e&&(r.value=e,r.callback(e,t))}}}}))[0];return r.callback=t,r.facade}}}},{package:"react-focus-lock>use-callback-ref",file:"node_modules/use-callback-ref/dist/es5/useRef.js"}],[4409,{"./assignRef":4401,"./useRef":4408},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.useTransformRef=void 0;var n=e("./assignRef"),o=e("./useRef");r.useTransformRef=function(e,t){return(0,o.useCallbackRef)(null,(function(r){return(0,n.assignRef)(e,t(r))}))}}}},{package:"react-focus-lock>use-callback-ref",file:"node_modules/use-callback-ref/dist/es5/useTransformRef.js"}],[441,{"micro-ftch":3879},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.getProvider=r.fetchFromProvider=void 0;const n=e("micro-ftch");r.fetchFromProvider=async(e,t)=>(await(0,n.default)(e,{headers:{"content-type":"application/json"},type:"json",data:{method:t.method,params:t.params,jsonrpc:"2.0",id:1}})).result;r.getProvider=e=>{if("string"==typeof e)return e;if(e?.connection?.url!==undefined)return e.connection.url;throw new Error("Must provide valid provider URL or Web3Provider")}}}},{package:"@ethereumjs/tx>@ethereumjs/util",file:"node_modules/@ethereumjs/util/dist/provider.js"}],[4411,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.setConfig=r.config=void 0,r.config={onError:function(e){return console.error(e)}};r.setConfig=function(e){Object.assign(r.config,e)}}}},{package:"react-focus-lock>use-sidecar",file:"node_modules/use-sidecar/dist/es5/config.js"}],[4412,{"detect-node-es":3182},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.env=void 0;var n=e("detect-node-es");r.env={isNode:n.isNode,forceCache:!1}}}},{package:"react-focus-lock>use-sidecar",file:"node_modules/use-sidecar/dist/es5/env.js"}],[4413,{react:4243,tslib:4378},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.exportSidecar=void 0;var n=e("tslib"),o=n.__importStar(e("react")),i=function(e){var t=e.sideCar,r=n.__rest(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var i=t.read();if(!i)throw new Error("Sidecar medium not found");return o.createElement(i,n.__assign({},r))};i.isSideCarExport=!0,r.exportSidecar=function(e,t){return e.useMedium(t),i}}}},{package:"react-focus-lock>use-sidecar",file:"node_modules/use-sidecar/dist/es5/exports.js"}],[4414,{"./hook":4415,react:4243,tslib:4378},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.sidecar=void 0;var n=e("tslib"),o=n.__importStar(e("react")),i=e("./hook");r.sidecar=function(e,t){var r=function(){return t};return function(a){var s=(0,i.useSidecar)(e,a.sideCar),c=s[0];return s[1]&&t?r:c?o.createElement(c,n.__assign({},a)):null}}}}},{package:"react-focus-lock>use-sidecar",file:"node_modules/use-sidecar/dist/es5/hoc.js"}],[4415,{"./env":4412,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.useSidecar=void 0;var n=e("react"),o=e("./env"),i=new WeakMap,a={};r.useSidecar=function(e,t){var r=t&&t.options||a;return o.env.isNode&&!r.ssr?[null,null]:function(e,t){var r=t&&t.options||a,s=o.env.forceCache||o.env.isNode&&!!r.ssr||!r.async,c=(0,n.useState)(s?function(){return i.get(e)}:undefined),u=c[0],l=c[1],f=(0,n.useState)(null),d=f[0],h=f[1];return(0,n.useEffect)((function(){u||e().then((function(r){var n,o=t?t.read():r.default||r;if(!o)throw console.error("Sidecar error: with importer",e),t?(console.error("Sidecar error: with medium",t),n=new Error("Sidecar medium was not found")):n=new Error("Sidecar was not found in exports"),h((function(){return n})),n;i.set(e,o),l((function(){return o}))}),(function(e){return h((function(){return e}))}))}),[]),[u,d]}(e,t)}}}},{package:"react-focus-lock>use-sidecar",file:"node_modules/use-sidecar/dist/es5/hook.js"}],[4416,{"./config":4411,"./exports":4413,"./hoc":4414,"./hook":4415,"./medium":4417,"./renderProp":4418},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.exportSidecar=r.renderCar=r.createSidecarMedium=r.createMedium=r.setConfig=r.useSidecar=r.sidecar=void 0;var n=e("./hoc");Object.defineProperty(r,"sidecar",{enumerable:!0,get:function(){return n.sidecar}});var o=e("./hook");Object.defineProperty(r,"useSidecar",{enumerable:!0,get:function(){return o.useSidecar}});var i=e("./config");Object.defineProperty(r,"setConfig",{enumerable:!0,get:function(){return i.setConfig}});var a=e("./medium");Object.defineProperty(r,"createMedium",{enumerable:!0,get:function(){return a.createMedium}}),Object.defineProperty(r,"createSidecarMedium",{enumerable:!0,get:function(){return a.createSidecarMedium}});var s=e("./renderProp");Object.defineProperty(r,"renderCar",{enumerable:!0,get:function(){return s.renderCar}});var c=e("./exports");Object.defineProperty(r,"exportSidecar",{enumerable:!0,get:function(){return c.exportSidecar}})}}},{package:"react-focus-lock>use-sidecar",file:"node_modules/use-sidecar/dist/es5/index.js"}],[4417,{tslib:4378},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.createSidecarMedium=r.createMedium=void 0;var n=e("tslib");function o(e){return e}function i(e,t){void 0===t&&(t=o);var r=[],n=!1;return{read:function(){if(n)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:e},useMedium:function(e){var o=t(e,n);return r.push(o),function(){r=r.filter((function(e){return e!==o}))}},assignSyncMedium:function(e){for(n=!0;r.length;){var t=r;r=[],t.forEach(e)}r={push:function(t){return e(t)},filter:function(){return r}}},assignMedium:function(e){n=!0;var t=[];if(r.length){var o=r;r=[],o.forEach(e),t=r}var i=function(){var r=t;t=[],r.forEach(e)},a=function(){return Promise.resolve().then(i)};a(),r={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),r}}}}}r.createMedium=function(e,t){return void 0===t&&(t=o),i(e,t)},r.createSidecarMedium=function(e){void 0===e&&(e={});var t=i(null);return t.options=n.__assign({async:!0,ssr:!1},e),t}}}},{package:"react-focus-lock>use-sidecar",file:"node_modules/use-sidecar/dist/es5/medium.js"}],[4418,{react:4243,tslib:4378},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.renderCar=void 0;var n=e("tslib"),o=n.__importStar(e("react")),i=e("react");r.renderCar=function(e,t){function r(t){var r=t.stateRef,a=t.props,s=(0,i.useCallback)((function(){for(var e=[],t=0;tuse-sidecar",file:"node_modules/use-sidecar/dist/es5/renderProp.js"}],[4419,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){!function(e){var t,r,n,o=String.fromCharCode;function i(e){for(var t,r,n=[],o=0,i=e.length;o=55296&&t<=56319&&o=55296&&e<=57343)throw Error("Lone surrogate U+"+e.toString(16).toUpperCase()+" is not a scalar value")}function s(e,t){return o(e>>t&63|128)}function c(e){if(!(4294967168&e))return o(e);var t="";return 4294965248&e?4294901760&e?4292870144&e||(t=o(e>>18&7|240),t+=s(e,12),t+=s(e,6)):(a(e),t=o(e>>12&15|224),t+=s(e,6)):t=o(e>>6&31|192),t+=o(63&e|128)}function u(){if(n>=r)throw Error("Invalid byte index");var e=255&t[n];if(n++,128==(192&e))return 63&e;throw Error("Invalid continuation byte")}function l(){var e,o;if(n>r)throw Error("Invalid byte index");if(n==r)return!1;if(e=255&t[n],n++,!(128&e))return e;if(192==(224&e)){if((o=(31&e)<<6|u())>=128)return o;throw Error("Invalid continuation byte")}if(224==(240&e)){if((o=(15&e)<<12|u()<<6|u())>=2048)return a(o),o;throw Error("Invalid continuation byte")}if(240==(248&e)&&(o=(7&e)<<18|u()<<12|u()<<6|u())>=65536&&o<=1114111)return o;throw Error("Invalid UTF-8 detected")}e.version="3.0.0",e.encode=function(e){for(var t=i(e),r=t.length,n=-1,o="";++n65535&&(i+=o((t-=65536)>>>10&1023|55296),t=56320|1023&t),i+=o(t);return i}(s)}}(void 0===r?this.utf8={}:r)}}},{package:"@metamask/keyring-controller>ethereumjs-wallet>utf8",file:"node_modules/utf8/utf8.js"}],[442,{"./bytes":434,"./constants":435,"./helpers":437,buffer:3028,"ethereum-cryptography/keccak":3260,"ethereum-cryptography/secp256k1":3277},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(t){(function(){Object.defineProperty(r,"__esModule",{value:!0}),r.hashPersonalMessage=r.isValidSignature=r.fromRpcSig=r.toCompactSig=r.toRpcSig=r.ecrecover=r.ecsign=void 0;const n=e("ethereum-cryptography/keccak"),o=e("ethereum-cryptography/secp256k1"),i=e("./bytes"),a=e("./constants"),s=e("./helpers");function c(e,t){return e===BigInt(0)||e===BigInt(1)?e:t===undefined?e-BigInt(27):e-(t*BigInt(2)+BigInt(35))}function u(e){return e===BigInt(0)||e===BigInt(1)}r.ecsign=function(e,r,n){const i=o.secp256k1.sign(e,r),a=i.toCompactRawBytes();return{r:t.from(a.slice(0,32)),s:t.from(a.slice(32,64)),v:n===undefined?BigInt(i.recovery+27):BigInt(i.recovery+35)+BigInt(n)*BigInt(2)}};r.ecrecover=function(e,r,n,a,s){const l=t.concat([(0,i.setLengthLeft)(n,32),(0,i.setLengthLeft)(a,32)],64),f=c(r,s);if(!u(f))throw new Error("Invalid signature v value");const d=o.secp256k1.Signature.fromCompact(l).addRecoveryBit(Number(f)).recoverPublicKey(e);return t.from(d.toRawBytes(!1).slice(1))};r.toRpcSig=function(e,r,n,o){if(!u(c(e,o)))throw new Error("Invalid signature v value");return(0,i.bufferToHex)(t.concat([(0,i.setLengthLeft)(r,32),(0,i.setLengthLeft)(n,32),(0,i.toBuffer)(e)]))};r.toCompactSig=function(e,r,n,o){if(!u(c(e,o)))throw new Error("Invalid signature v value");let a=n;return(e>BigInt(28)&&e%BigInt(2)===BigInt(1)||e===BigInt(1)||e===BigInt(28))&&(a=t.from(n),a[0]|=128),(0,i.bufferToHex)(t.concat([(0,i.setLengthLeft)(r,32),(0,i.setLengthLeft)(a,32)]))};r.fromRpcSig=function(e){const t=(0,i.toBuffer)(e);let r,n,o;if(t.length>=65)r=t.slice(0,32),n=t.slice(32,64),o=(0,i.bufferToBigInt)(t.slice(64));else{if(64!==t.length)throw new Error("Invalid signature length");r=t.slice(0,32),n=t.slice(32,64),o=BigInt((0,i.bufferToInt)(t.slice(32,33))>>7),n[0]&=127}return o<27&&(o+=BigInt(27)),{v:o,r:r,s:n}};r.isValidSignature=function(e,t,r,n=!0,o){if(32!==t.length||32!==r.length)return!1;if(!u(c(e,o)))return!1;const s=(0,i.bufferToBigInt)(t),l=(0,i.bufferToBigInt)(r);return!(s===BigInt(0)||s>=a.SECP256K1_ORDER||l===BigInt(0)||l>=a.SECP256K1_ORDER)&&!(n&&l>=a.SECP256K1_ORDER_DIV_2)};r.hashPersonalMessage=function(e){(0,s.assertIsBuffer)(e);const r=t.from(`Ethereum Signed Message:\n${e.length}`,"utf-8");return t.from((0,n.keccak256)(t.concat([r,e])))}}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"@ethereumjs/tx>@ethereumjs/util",file:"node_modules/@ethereumjs/util/dist/signature.js"}],[4420,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){function n(e){try{if(!global.localStorage)return!1}catch(e){return!1}var t=global.localStorage[e];return null!=t&&"true"===String(t).toLowerCase()}t.exports=function(e,t){if(n("noDeprecation"))return e;var r=!1;return function(){if(!r){if(n("throwDeprecation"))throw new Error(t);n("traceDeprecation")?console.trace(t):console.warn(t),r=!0}return e.apply(this,arguments)}}}}},{package:"readable-stream>util-deprecate",file:"node_modules/util-deprecate/browser.js"}],[4421,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}}}},{package:"browserify>util",file:"node_modules/util/support/isBufferBrowser.js"}],[4422,{"is-arguments":3644,"is-generator-function":3652,"is-typed-array":3664,"which-typed-array":4475},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("is-arguments"),o=e("is-generator-function"),i=e("which-typed-array"),a=e("is-typed-array");function s(e){return e.call.bind(e)}var c="undefined"!=typeof BigInt,u="undefined"!=typeof Symbol,l=s(Object.prototype.toString),f=s(Number.prototype.valueOf),d=s(String.prototype.valueOf),h=s(Boolean.prototype.valueOf);if(c)var p=s(BigInt.prototype.valueOf);if(u)var m=s(Symbol.prototype.valueOf);function g(e,t){if("object"!=typeof e)return!1;try{return t(e),!0}catch(e){return!1}}function A(e){return"[object Map]"===l(e)}function y(e){return"[object Set]"===l(e)}function _(e){return"[object WeakMap]"===l(e)}function b(e){return"[object WeakSet]"===l(e)}function v(e){return"[object ArrayBuffer]"===l(e)}function E(e){return"undefined"!=typeof ArrayBuffer&&(v.working?v(e):e instanceof ArrayBuffer)}function T(e){return"[object DataView]"===l(e)}function w(e){return"undefined"!=typeof DataView&&(T.working?T(e):e instanceof DataView)}r.isArgumentsObject=n,r.isGeneratorFunction=o,r.isTypedArray=a,r.isPromise=function(e){return"undefined"!=typeof Promise&&e instanceof Promise||null!==e&&"object"==typeof e&&"function"==typeof e.then&&"function"==typeof e.catch},r.isArrayBufferView=function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):a(e)||w(e)},r.isUint8Array=function(e){return"Uint8Array"===i(e)},r.isUint8ClampedArray=function(e){return"Uint8ClampedArray"===i(e)},r.isUint16Array=function(e){return"Uint16Array"===i(e)},r.isUint32Array=function(e){return"Uint32Array"===i(e)},r.isInt8Array=function(e){return"Int8Array"===i(e)},r.isInt16Array=function(e){return"Int16Array"===i(e)},r.isInt32Array=function(e){return"Int32Array"===i(e)},r.isFloat32Array=function(e){return"Float32Array"===i(e)},r.isFloat64Array=function(e){return"Float64Array"===i(e)},r.isBigInt64Array=function(e){return"BigInt64Array"===i(e)},r.isBigUint64Array=function(e){return"BigUint64Array"===i(e)},A.working="undefined"!=typeof Map&&A(new Map),r.isMap=function(e){return"undefined"!=typeof Map&&(A.working?A(e):e instanceof Map)},y.working="undefined"!=typeof Set&&y(new Set),r.isSet=function(e){return"undefined"!=typeof Set&&(y.working?y(e):e instanceof Set)},_.working="undefined"!=typeof WeakMap&&_(new WeakMap),r.isWeakMap=function(e){return"undefined"!=typeof WeakMap&&(_.working?_(e):e instanceof WeakMap)},b.working="undefined"!=typeof WeakSet&&b(new WeakSet),r.isWeakSet=function(e){return b(e)},v.working="undefined"!=typeof ArrayBuffer&&v(new ArrayBuffer),r.isArrayBuffer=E,T.working="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView&&T(new DataView(new ArrayBuffer(1),0,1)),r.isDataView=w;var N="undefined"!=typeof SharedArrayBuffer?SharedArrayBuffer:undefined;function S(e){return"[object SharedArrayBuffer]"===l(e)}function I(e){return void 0!==N&&(void 0===S.working&&(S.working=S(new N)),S.working?S(e):e instanceof N)}function O(e){return g(e,f)}function C(e){return g(e,d)}function M(e){return g(e,h)}function R(e){return c&&g(e,p)}function P(e){return u&&g(e,m)}r.isSharedArrayBuffer=I,r.isAsyncFunction=function(e){return"[object AsyncFunction]"===l(e)},r.isMapIterator=function(e){return"[object Map Iterator]"===l(e)},r.isSetIterator=function(e){return"[object Set Iterator]"===l(e)},r.isGeneratorObject=function(e){return"[object Generator]"===l(e)},r.isWebAssemblyCompiledModule=function(e){return"[object WebAssembly.Module]"===l(e)},r.isNumberObject=O,r.isStringObject=C,r.isBooleanObject=M,r.isBigIntObject=R,r.isSymbolObject=P,r.isBoxedPrimitive=function(e){return O(e)||C(e)||M(e)||R(e)||P(e)},r.isAnyArrayBuffer=function(e){return"undefined"!=typeof Uint8Array&&(E(e)||I(e))},["isProxy","isExternal","isModuleNamespaceObject"].forEach((function(e){Object.defineProperty(r,e,{enumerable:!1,value:function(){throw new Error(e+" is not supported in userland")}})}))}}},{package:"browserify>util",file:"node_modules/util/support/types.js"}],[4423,{"./support/isBuffer":4421,"./support/types":4422,_process:3992,inherits:3641},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(t){(function(){var n=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),r={},n=0;n=i)return e;switch(e){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(e){return"[Circular]"}default:return e}})),c=n[r];r=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),p(t)?n.showHidden=t:t&&r._extend(n,t),y(n.showHidden)&&(n.showHidden=!1),y(n.depth)&&(n.depth=2),y(n.colors)&&(n.colors=!1),y(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=c),l(n,e,n.depth)}function c(e,t){var r=s.styles[t];return r?"["+s.colors[r][0]+"m"+e+"["+s.colors[r][1]+"m":e}function u(e,t){return e}function l(e,t,n){if(e.customInspect&&t&&T(t.inspect)&&t.inspect!==r.inspect&&(!t.constructor||t.constructor.prototype!==t)){var o=t.inspect(n,e);return A(o)||(o=l(e,o,n)),o}var i=function(e,t){if(y(t))return e.stylize("undefined","undefined");if(A(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}if(g(t))return e.stylize(""+t,"number");if(p(t))return e.stylize(""+t,"boolean");if(m(t))return e.stylize("null","null")}(e,t);if(i)return i;var a=Object.keys(t),s=function(e){var t={};return e.forEach((function(e,r){t[e]=!0})),t}(a);if(e.showHidden&&(a=Object.getOwnPropertyNames(t)),E(t)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return f(t);if(0===a.length){if(T(t)){var c=t.name?": "+t.name:"";return e.stylize("[Function"+c+"]","special")}if(_(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(v(t))return e.stylize(Date.prototype.toString.call(t),"date");if(E(t))return f(t)}var u,b="",w=!1,N=["{","}"];(h(t)&&(w=!0,N=["[","]"]),T(t))&&(b=" [Function"+(t.name?": "+t.name:"")+"]");return _(t)&&(b=" "+RegExp.prototype.toString.call(t)),v(t)&&(b=" "+Date.prototype.toUTCString.call(t)),E(t)&&(b=" "+f(t)),0!==a.length||w&&0!=t.length?n<0?_(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special"):(e.seen.push(t),u=w?function(e,t,r,n,o){for(var i=[],a=0,s=t.length;a=0&&0,e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0);if(n>60)return r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+r[1];return r[0]+t+" "+e.join(", ")+" "+r[1]}(u,b,N)):N[0]+b+N[1]}function f(e){return"["+Error.prototype.toString.call(e)+"]"}function d(e,t,r,n,o,i){var a,s,c;if((c=Object.getOwnPropertyDescriptor(t,o)||{value:t[o]}).get?s=c.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):c.set&&(s=e.stylize("[Setter]","special")),I(n,o)||(a="["+o+"]"),s||(e.seen.indexOf(c.value)<0?(s=m(r)?l(e,c.value,null):l(e,c.value,r-1)).indexOf("\n")>-1&&(s=i?s.split("\n").map((function(e){return" "+e})).join("\n").slice(2):"\n"+s.split("\n").map((function(e){return" "+e})).join("\n")):s=e.stylize("[Circular]","special")),y(a)){if(i&&o.match(/^\d+$/))return s;(a=JSON.stringify(""+o)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.slice(1,-1),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+s}function h(e){return Array.isArray(e)}function p(e){return"boolean"==typeof e}function m(e){return null===e}function g(e){return"number"==typeof e}function A(e){return"string"==typeof e}function y(e){return void 0===e}function _(e){return b(e)&&"[object RegExp]"===w(e)}function b(e){return"object"==typeof e&&null!==e}function v(e){return b(e)&&"[object Date]"===w(e)}function E(e){return b(e)&&("[object Error]"===w(e)||e instanceof Error)}function T(e){return"function"==typeof e}function w(e){return Object.prototype.toString.call(e)}function N(e){return e<10?"0"+e.toString(10):e.toString(10)}r.debuglog=function(e){if(e=e.toUpperCase(),!i[e])if(a.test(e)){var n=t.pid;i[e]=function(){var t=r.format.apply(r,arguments);console.error("%s %d: %s",e,n,t)}}else i[e]=function(){};return i[e]},r.inspect=s,s.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},s.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},r.types=e("./support/types"),r.isArray=h,r.isBoolean=p,r.isNull=m,r.isNullOrUndefined=function(e){return null==e},r.isNumber=g,r.isString=A,r.isSymbol=function(e){return"symbol"==typeof e},r.isUndefined=y,r.isRegExp=_,r.types.isRegExp=_,r.isObject=b,r.isDate=v,r.types.isDate=v,r.isError=E,r.types.isNativeError=E,r.isFunction=T,r.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},r.isBuffer=e("./support/isBuffer");var S=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function I(e,t){return Object.prototype.hasOwnProperty.call(e,t)}r.log=function(){var e,t;console.log("%s - %s",(e=new Date,t=[N(e.getHours()),N(e.getMinutes()),N(e.getSeconds())].join(":"),[e.getDate(),S[e.getMonth()],t].join(" ")),r.format.apply(r,arguments))},r.inherits=e("inherits"),r._extend=function(e,t){if(!t||!b(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e};var O="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):undefined;function C(e,t){if(!e){var r=new Error("Promise was rejected with a falsy value");r.reason=e,e=r}return t(e)}r.promisify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');if(O&&e[O]){var t;if("function"!=typeof(t=e[O]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,O,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,r,n=new Promise((function(e,n){t=e,r=n})),o=[],i=0;iutil",file:"node_modules/util/util.js"}],[4424,{"./nil.js":4426,"./parse.js":4427,"./stringify.js":4431,"./v1.js":4432,"./v3.js":4433,"./v4.js":4435,"./v5.js":4436,"./validate.js":4437,"./version.js":4438},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"v1",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(r,"v3",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(r,"v4",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(r,"v5",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(r,"NIL",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(r,"version",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(r,"validate",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(r,"stringify",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(r,"parse",{enumerable:!0,get:function(){return f.default}});var n=d(e("./v1.js")),o=d(e("./v3.js")),i=d(e("./v4.js")),a=d(e("./v5.js")),s=d(e("./nil.js")),c=d(e("./version.js")),u=d(e("./validate.js")),l=d(e("./stringify.js")),f=d(e("./parse.js"));function d(e){return e&&e.__esModule?e:{default:e}}}}},{package:"uuid",file:"node_modules/uuid/dist/index.js"}],[4425,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){function n(e){return 14+(e+64>>>9<<4)+1}function o(e,t){const r=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(r>>16)<<16|65535&r}function i(e,t,r,n,i,a){return o((s=o(o(t,e),o(n,a)))<<(c=i)|s>>>32-c,r);var s,c}function a(e,t,r,n,o,a,s){return i(t&r|~t&n,e,t,o,a,s)}function s(e,t,r,n,o,a,s){return i(t&n|r&~n,e,t,o,a,s)}function c(e,t,r,n,o,a,s){return i(t^r^n,e,t,o,a,s)}function u(e,t,r,n,o,a,s){return i(r^(t|~n),e,t,o,a,s)}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var l=function(e){if("string"==typeof e){const t=unescape(encodeURIComponent(e));e=new Uint8Array(t.length);for(let r=0;r>5]>>>o%32&255,i=parseInt(n.charAt(r>>>4&15)+n.charAt(15&r),16);t.push(i)}return t}(function(e,t){e[t>>5]|=128<>5]|=(255&e[n/8])<>>24,r[1]=t>>>16&255,r[2]=t>>>8&255,r[3]=255&t,r[4]=(t=parseInt(e.slice(9,13),16))>>>8,r[5]=255&t,r[6]=(t=parseInt(e.slice(14,18),16))>>>8,r[7]=255&t,r[8]=(t=parseInt(e.slice(19,23),16))>>>8,r[9]=255&t,r[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255,r[11]=t/4294967296&255,r[12]=t>>>24&255,r[13]=t>>>16&255,r[14]=t>>>8&255,r[15]=255&t,r};r.default=i}}},{package:"uuid",file:"node_modules/uuid/dist/parse.js"}],[4428,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;r.default=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i}}},{package:"uuid",file:"node_modules/uuid/dist/regex.js"}],[4429,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){let n;Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(){if(!n&&(n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto),!n))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return n(o)};const o=new Uint8Array(16)}}},{package:"uuid",file:"node_modules/uuid/dist/rng-browser.js"}],[443,{"./bytes":434,"./internal":439},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.toType=r.TypeOutput=void 0;const n=e("./bytes"),o=e("./internal");var i;!function(e){e[e.Number=0]="Number",e[e.BigInt=1]="BigInt",e[e.Buffer=2]="Buffer",e[e.PrefixedHexString=3]="PrefixedHexString"}(i=r.TypeOutput||(r.TypeOutput={})),r.toType=function(e,t){if(null===e)return null;if(e===undefined)return undefined;if("string"==typeof e&&!(0,o.isHexString)(e))throw new Error(`A string must be provided with a 0x-prefix, given: ${e}`);if("number"==typeof e&&!Number.isSafeInteger(e))throw new Error("The provided number is greater than MAX_SAFE_INTEGER (please use an alternative input type)");const r=(0,n.toBuffer)(e);switch(t){case i.Buffer:return r;case i.BigInt:return(0,n.bufferToBigInt)(r);case i.Number:{const e=(0,n.bufferToBigInt)(r);if(e>BigInt(Number.MAX_SAFE_INTEGER))throw new Error("The provided number is greater than MAX_SAFE_INTEGER (please use an alternative output type)");return Number(e)}case i.PrefixedHexString:return(0,n.bufferToHex)(r);default:throw new Error("unknown outputType")}}}}},{package:"@ethereumjs/tx>@ethereumjs/util",file:"node_modules/@ethereumjs/util/dist/types.js"}],[4430,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){function n(e,t,r,n){switch(e){case 0:return t&r^~t&n;case 1:case 3:return t^r^n;case 2:return t&r^t&n^r&n}}function o(e,t){return e<>>32-t}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var i=function(e){const t=[1518500249,1859775393,2400959708,3395469782],r=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof e){const t=unescape(encodeURIComponent(e));e=[];for(let r=0;r>>0;f=l,l=u,u=o(c,30)>>>0,c=a,a=s}r[0]=r[0]+a>>>0,r[1]=r[1]+c>>>0,r[2]=r[2]+u>>>0,r[3]=r[3]+l>>>0,r[4]=r[4]+f>>>0}return[r[0]>>24&255,r[0]>>16&255,r[0]>>8&255,255&r[0],r[1]>>24&255,r[1]>>16&255,r[1]>>8&255,255&r[1],r[2]>>24&255,r[2]>>16&255,r[2]>>8&255,255&r[2],r[3]>>24&255,r[3]>>16&255,r[3]>>8&255,255&r[3],r[4]>>24&255,r[4]>>16&255,r[4]>>8&255,255&r[4]]};r.default=i}}},{package:"uuid",file:"node_modules/uuid/dist/sha1-browser.js"}],[4431,{"./validate.js":4437},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n,o=(n=e("./validate.js"))&&n.__esModule?n:{default:n};const i=[];for(let e=0;e<256;++e)i.push((e+256).toString(16).substr(1));var a=function(e,t=0){const r=(i[e[t+0]]+i[e[t+1]]+i[e[t+2]]+i[e[t+3]]+"-"+i[e[t+4]]+i[e[t+5]]+"-"+i[e[t+6]]+i[e[t+7]]+"-"+i[e[t+8]]+i[e[t+9]]+"-"+i[e[t+10]]+i[e[t+11]]+i[e[t+12]]+i[e[t+13]]+i[e[t+14]]+i[e[t+15]]).toLowerCase();if(!(0,o.default)(r))throw TypeError("Stringified UUID is invalid");return r};r.default=a}}},{package:"uuid",file:"node_modules/uuid/dist/stringify.js"}],[4432,{"./rng.js":4429,"./stringify.js":4431},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=i(e("./rng.js")),o=i(e("./stringify.js"));function i(e){return e&&e.__esModule?e:{default:e}}let a,s,c=0,u=0;var l=function(e,t,r){let i=t&&r||0;const l=t||new Array(16);let f=(e=e||{}).node||a,d=e.clockseq!==undefined?e.clockseq:s;if(null==f||null==d){const t=e.random||(e.rng||n.default)();null==f&&(f=a=[1|t[0],t[1],t[2],t[3],t[4],t[5]]),null==d&&(d=s=16383&(t[6]<<8|t[7]))}let h=e.msecs!==undefined?e.msecs:Date.now(),p=e.nsecs!==undefined?e.nsecs:u+1;const m=h-c+(p-u)/1e4;if(m<0&&e.clockseq===undefined&&(d=d+1&16383),(m<0||h>c)&&e.nsecs===undefined&&(p=0),p>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");c=h,u=p,s=d,h+=122192928e5;const g=(1e4*(268435455&h)+p)%4294967296;l[i++]=g>>>24&255,l[i++]=g>>>16&255,l[i++]=g>>>8&255,l[i++]=255&g;const A=h/4294967296*1e4&268435455;l[i++]=A>>>8&255,l[i++]=255&A,l[i++]=A>>>24&15|16,l[i++]=A>>>16&255,l[i++]=d>>>8|128,l[i++]=255&d;for(let e=0;e<6;++e)l[i+e]=f[e];return t||(0,o.default)(l)};r.default=l}}},{package:"uuid",file:"node_modules/uuid/dist/v1.js"}],[4433,{"./md5.js":4425,"./v35.js":4434},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=i(e("./v35.js")),o=i(e("./md5.js"));function i(e){return e&&e.__esModule?e:{default:e}}var a=(0,n.default)("v3",48,o.default);r.default=a}}},{package:"uuid",file:"node_modules/uuid/dist/v3.js"}],[4434,{"./parse.js":4427,"./stringify.js":4431},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,t,r){function i(e,i,a,s){if("string"==typeof e&&(e=function(e){e=unescape(encodeURIComponent(e));const t=[];for(let r=0;r214&&t.push("name can no longer contain more than 214 characters"),e.toLowerCase()!==e&&t.push("name can no longer contain capital letters"),/[~'!()*]/.test(e.split("/").slice(-1)[0])&&t.push('name can no longer contain special characters ("~\'!()*")'),encodeURIComponent(e)!==e){var s=e.match(n);if(s){var c=s[1],u=s[2];if(encodeURIComponent(c)===c&&encodeURIComponent(u)===u)return a(t,r)}r.push("name can only contain URL-friendly characters")}return a(t,r)}}}},{package:"@metamask/snaps-utils>validate-npm-package-name",file:"node_modules/validate-npm-package-name/lib/index.js"}],[444,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.GWEI_TO_WEI=void 0,r.GWEI_TO_WEI=BigInt(1e9)}}},{package:"@ethereumjs/tx>@ethereumjs/util",file:"node_modules/@ethereumjs/util/dist/units.js"}],[445,{"./address":432,"./bytes":434,"./types":443,buffer:3028},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(t){(function(){Object.defineProperty(r,"__esModule",{value:!0}),r.Withdrawal=void 0;const n=e("./address"),o=e("./bytes"),i=e("./types");class a{constructor(e,t,r,n){this.index=e,this.validatorIndex=t,this.address=r,this.amount=n}static fromWithdrawalData(e){const{index:t,validatorIndex:r,address:o,amount:s}=e,c=(0,i.toType)(t,i.TypeOutput.BigInt),u=(0,i.toType)(r,i.TypeOutput.BigInt),l=new n.Address((0,i.toType)(o,i.TypeOutput.Buffer)),f=(0,i.toType)(s,i.TypeOutput.BigInt);return new a(c,u,l,f)}static fromValuesArray(e){if(4!==e.length)throw Error(`Invalid withdrawalArray length expected=4 actual=${e.length}`);const[t,r,n,o]=e;return a.fromWithdrawalData({index:t,validatorIndex:r,address:n,amount:o})}static toBufferArray(e){const{index:r,validatorIndex:o,address:a,amount:s}=e,c=(0,i.toType)(r,i.TypeOutput.BigInt)===BigInt(0)?t.alloc(0):(0,i.toType)(r,i.TypeOutput.Buffer),u=(0,i.toType)(o,i.TypeOutput.BigInt)===BigInt(0)?t.alloc(0):(0,i.toType)(o,i.TypeOutput.Buffer);let l;l=a instanceof n.Address?a.buf:(0,i.toType)(a,i.TypeOutput.Buffer);return[c,u,l,(0,i.toType)(s,i.TypeOutput.BigInt)===BigInt(0)?t.alloc(0):(0,i.toType)(s,i.TypeOutput.Buffer)]}raw(){return a.toBufferArray(this)}toValue(){return{index:this.index,validatorIndex:this.validatorIndex,address:this.address.buf,amount:this.amount}}toJSON(){return{index:(0,o.bigIntToHex)(this.index),validatorIndex:(0,o.bigIntToHex)(this.validatorIndex),address:"0x"+this.address.buf.toString("hex"),amount:(0,o.bigIntToHex)(this.amount)}}}r.Withdrawal=a}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"@ethereumjs/tx>@ethereumjs/util",file:"node_modules/@ethereumjs/util/dist/withdrawal.js"}],[4452,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=function(e){if(Object.keys)return Object.keys(e);var t=[];for(var r in e)t.push(r);return t},o=function(e,t){if(e.forEach)return e.forEach(t);for(var r=0;rvm-browserify",file:"node_modules/vm-browserify/index.js"}],[4453,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=function(){};t.exports=n}}},{package:"react-popper>warning",file:"node_modules/warning/warning.js"}],[446,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.version=void 0,r.version="abi/5.7.0"}}},{package:"@ethersproject/abi",file:"node_modules/@ethersproject/abi/lib/_version.js"}],[447,{"./_version":446,"./coders/abstract-coder":448,"./coders/address":449,"./coders/array":451,"./coders/boolean":452,"./coders/bytes":453,"./coders/fixed-bytes":454,"./coders/null":455,"./coders/number":456,"./coders/string":457,"./coders/tuple":458,"./fragments":459,"@ethersproject/bytes":476,"@ethersproject/logger":504,"@ethersproject/properties":510},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.defaultAbiCoder=r.AbiCoder=void 0;var n=e("@ethersproject/bytes"),o=e("@ethersproject/properties"),i=e("@ethersproject/logger"),a=e("./_version"),s=new i.Logger(a.version),c=e("./coders/abstract-coder"),u=e("./coders/address"),l=e("./coders/array"),f=e("./coders/boolean"),d=e("./coders/bytes"),h=e("./coders/fixed-bytes"),p=e("./coders/null"),m=e("./coders/number"),g=e("./coders/string"),A=e("./coders/tuple"),y=e("./fragments"),_=new RegExp(/^bytes([0-9]*)$/),b=new RegExp(/^(u?int)([0-9]*)$/),v=function(){function e(e){(0,o.defineReadOnly)(this,"coerceFunc",e||null)}return e.prototype._getCoder=function(e){var t=this;switch(e.baseType){case"address":return new u.AddressCoder(e.name);case"bool":return new f.BooleanCoder(e.name);case"string":return new g.StringCoder(e.name);case"bytes":return new d.BytesCoder(e.name);case"array":return new l.ArrayCoder(this._getCoder(e.arrayChildren),e.arrayLength,e.name);case"tuple":return new A.TupleCoder((e.components||[]).map((function(e){return t._getCoder(e)})),e.name);case"":return new p.NullCoder(e.name)}var r,n=e.type.match(b);return n?((0===(r=parseInt(n[2]||"256"))||r>256||r%8!=0)&&s.throwArgumentError("invalid "+n[1]+" bit length","param",e),new m.NumberCoder(r/8,"int"===n[1],e.name)):(n=e.type.match(_))?((0===(r=parseInt(n[1]))||r>32)&&s.throwArgumentError("invalid bytes length","param",e),new h.FixedBytesCoder(r,e.name)):s.throwArgumentError("invalid type","type",e.type)},e.prototype._getWordSize=function(){return 32},e.prototype._getReader=function(e,t){return new c.Reader(e,this._getWordSize(),this.coerceFunc,t)},e.prototype._getWriter=function(){return new c.Writer(this._getWordSize())},e.prototype.getDefaultValue=function(e){var t=this,r=e.map((function(e){return t._getCoder(y.ParamType.from(e))}));return new A.TupleCoder(r,"_").defaultValue()},e.prototype.encode=function(e,t){var r=this;e.length!==t.length&&s.throwError("types/values length mismatch",i.Logger.errors.INVALID_ARGUMENT,{count:{types:e.length,values:t.length},value:{types:e,values:t}});var n=e.map((function(e){return r._getCoder(y.ParamType.from(e))})),o=new A.TupleCoder(n,"_"),a=this._getWriter();return o.encode(a,t),a.data},e.prototype.decode=function(e,t,r){var o=this,i=e.map((function(e){return o._getCoder(y.ParamType.from(e))}));return new A.TupleCoder(i,"_").decode(this._getReader((0,n.arrayify)(t),r))},e}();r.AbiCoder=v,r.defaultAbiCoder=new v}}},{package:"@ethersproject/abi",file:"node_modules/@ethersproject/abi/lib/abi-coder.js"}],[4472,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){!function(e,n){if("function"==typeof define&&define.amd)define("webextension-polyfill",["module"],n);else if(void 0!==r)n(t);else{var o={exports:{}};n(o),e.browser=o.exports}}("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:this,(function(e){if("undefined"==typeof browser||Object.getPrototypeOf(browser)!==Object.prototype){const t="The message port closed before a response was received.",r="Returning a Promise is the preferred way to send a reply from an onMessage/onMessageExternal listener, as the sendResponse will be removed from the specs (See https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/runtime/onMessage)",n=e=>{const n={alarms:{clear:{minArgs:0,maxArgs:1},clearAll:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getAll:{minArgs:0,maxArgs:0}},bookmarks:{create:{minArgs:1,maxArgs:1},get:{minArgs:1,maxArgs:1},getChildren:{minArgs:1,maxArgs:1},getRecent:{minArgs:1,maxArgs:1},getSubTree:{minArgs:1,maxArgs:1},getTree:{minArgs:0,maxArgs:0},move:{minArgs:2,maxArgs:2},remove:{minArgs:1,maxArgs:1},removeTree:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1},update:{minArgs:2,maxArgs:2}},browserAction:{disable:{minArgs:0,maxArgs:1,fallbackToNoCallback:!0},enable:{minArgs:0,maxArgs:1,fallbackToNoCallback:!0},getBadgeBackgroundColor:{minArgs:1,maxArgs:1},getBadgeText:{minArgs:1,maxArgs:1},getPopup:{minArgs:1,maxArgs:1},getTitle:{minArgs:1,maxArgs:1},openPopup:{minArgs:0,maxArgs:0},setBadgeBackgroundColor:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setBadgeText:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setIcon:{minArgs:1,maxArgs:1},setPopup:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setTitle:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},browsingData:{remove:{minArgs:2,maxArgs:2},removeCache:{minArgs:1,maxArgs:1},removeCookies:{minArgs:1,maxArgs:1},removeDownloads:{minArgs:1,maxArgs:1},removeFormData:{minArgs:1,maxArgs:1},removeHistory:{minArgs:1,maxArgs:1},removeLocalStorage:{minArgs:1,maxArgs:1},removePasswords:{minArgs:1,maxArgs:1},removePluginData:{minArgs:1,maxArgs:1},settings:{minArgs:0,maxArgs:0}},commands:{getAll:{minArgs:0,maxArgs:0}},contextMenus:{remove:{minArgs:1,maxArgs:1},removeAll:{minArgs:0,maxArgs:0},update:{minArgs:2,maxArgs:2}},cookies:{get:{minArgs:1,maxArgs:1},getAll:{minArgs:1,maxArgs:1},getAllCookieStores:{minArgs:0,maxArgs:0},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}},devtools:{inspectedWindow:{eval:{minArgs:1,maxArgs:2,singleCallbackArg:!1}},panels:{create:{minArgs:3,maxArgs:3,singleCallbackArg:!0},elements:{createSidebarPane:{minArgs:1,maxArgs:1}}}},downloads:{cancel:{minArgs:1,maxArgs:1},download:{minArgs:1,maxArgs:1},erase:{minArgs:1,maxArgs:1},getFileIcon:{minArgs:1,maxArgs:2},open:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},pause:{minArgs:1,maxArgs:1},removeFile:{minArgs:1,maxArgs:1},resume:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1},show:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},extension:{isAllowedFileSchemeAccess:{minArgs:0,maxArgs:0},isAllowedIncognitoAccess:{minArgs:0,maxArgs:0}},history:{addUrl:{minArgs:1,maxArgs:1},deleteAll:{minArgs:0,maxArgs:0},deleteRange:{minArgs:1,maxArgs:1},deleteUrl:{minArgs:1,maxArgs:1},getVisits:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1}},i18n:{detectLanguage:{minArgs:1,maxArgs:1},getAcceptLanguages:{minArgs:0,maxArgs:0}},identity:{launchWebAuthFlow:{minArgs:1,maxArgs:1}},idle:{queryState:{minArgs:1,maxArgs:1}},management:{get:{minArgs:1,maxArgs:1},getAll:{minArgs:0,maxArgs:0},getSelf:{minArgs:0,maxArgs:0},setEnabled:{minArgs:2,maxArgs:2},uninstallSelf:{minArgs:0,maxArgs:1}},notifications:{clear:{minArgs:1,maxArgs:1},create:{minArgs:1,maxArgs:2},getAll:{minArgs:0,maxArgs:0},getPermissionLevel:{minArgs:0,maxArgs:0},update:{minArgs:2,maxArgs:2}},pageAction:{getPopup:{minArgs:1,maxArgs:1},getTitle:{minArgs:1,maxArgs:1},hide:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setIcon:{minArgs:1,maxArgs:1},setPopup:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setTitle:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},show:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},permissions:{contains:{minArgs:1,maxArgs:1},getAll:{minArgs:0,maxArgs:0},remove:{minArgs:1,maxArgs:1},request:{minArgs:1,maxArgs:1}},runtime:{getBackgroundPage:{minArgs:0,maxArgs:0},getPlatformInfo:{minArgs:0,maxArgs:0},openOptionsPage:{minArgs:0,maxArgs:0},requestUpdateCheck:{minArgs:0,maxArgs:0},sendMessage:{minArgs:1,maxArgs:3},sendNativeMessage:{minArgs:2,maxArgs:2},setUninstallURL:{minArgs:1,maxArgs:1}},sessions:{getDevices:{minArgs:0,maxArgs:1},getRecentlyClosed:{minArgs:0,maxArgs:1},restore:{minArgs:0,maxArgs:1}},storage:{local:{clear:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}},managed:{get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1}},sync:{clear:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}}},tabs:{captureVisibleTab:{minArgs:0,maxArgs:2},create:{minArgs:1,maxArgs:1},detectLanguage:{minArgs:0,maxArgs:1},discard:{minArgs:0,maxArgs:1},duplicate:{minArgs:1,maxArgs:1},executeScript:{minArgs:1,maxArgs:2},get:{minArgs:1,maxArgs:1},getCurrent:{minArgs:0,maxArgs:0},getZoom:{minArgs:0,maxArgs:1},getZoomSettings:{minArgs:0,maxArgs:1},goBack:{minArgs:0,maxArgs:1},goForward:{minArgs:0,maxArgs:1},highlight:{minArgs:1,maxArgs:1},insertCSS:{minArgs:1,maxArgs:2},move:{minArgs:2,maxArgs:2},query:{minArgs:1,maxArgs:1},reload:{minArgs:0,maxArgs:2},remove:{minArgs:1,maxArgs:1},removeCSS:{minArgs:1,maxArgs:2},sendMessage:{minArgs:2,maxArgs:3},setZoom:{minArgs:1,maxArgs:2},setZoomSettings:{minArgs:1,maxArgs:2},update:{minArgs:1,maxArgs:2}},topSites:{get:{minArgs:0,maxArgs:0}},webNavigation:{getAllFrames:{minArgs:1,maxArgs:1},getFrame:{minArgs:1,maxArgs:1}},webRequest:{handlerBehaviorChanged:{minArgs:0,maxArgs:0}},windows:{create:{minArgs:0,maxArgs:1},get:{minArgs:1,maxArgs:2},getAll:{minArgs:0,maxArgs:1},getCurrent:{minArgs:0,maxArgs:1},getLastFocused:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},update:{minArgs:2,maxArgs:2}}};if(0===Object.keys(n).length)throw new Error("api-metadata.json has not been included in browser-polyfill");class o extends WeakMap{constructor(e,t=undefined){super(t),this.createItem=e}get(e){return this.has(e)||this.set(e,this.createItem(e)),super.get(e)}}const i=(t,r)=>(...n)=>{e.runtime.lastError?t.reject(new Error(e.runtime.lastError.message)):r.singleCallbackArg||n.length<=1&&!1!==r.singleCallbackArg?t.resolve(n[0]):t.resolve(n)},a=e=>1==e?"argument":"arguments",s=(e,t,r)=>new Proxy(t,{apply:(t,n,o)=>r.call(n,e,...o)});let c=Function.call.bind(Object.prototype.hasOwnProperty);const u=(e,t={},r={})=>{let n=Object.create(null),o={has:(t,r)=>r in e||r in n,get(o,l,f){if(l in n)return n[l];if(!(l in e))return undefined;let d=e[l];if("function"==typeof d)if("function"==typeof t[l])d=s(e,e[l],t[l]);else if(c(r,l)){let t=((e,t)=>function(r,...n){if(n.lengtht.maxArgs)throw new Error(`Expected at most ${t.maxArgs} ${a(t.maxArgs)} for ${e}(), got ${n.length}`);return new Promise(((o,a)=>{if(t.fallbackToNoCallback)try{r[e](...n,i({resolve:o,reject:a},t))}catch(i){console.warn(`${e} API method doesn't seem to support the callback parameter, falling back to call it without a callback: `,i),r[e](...n),t.fallbackToNoCallback=!1,t.noCallback=!0,o()}else t.noCallback?(r[e](...n),o()):r[e](...n,i({resolve:o,reject:a},t))}))})(l,r[l]);d=s(e,e[l],t)}else d=d.bind(e);else if("object"==typeof d&&null!==d&&(c(t,l)||c(r,l)))d=u(d,t[l],r[l]);else{if(!c(r,"*"))return Object.defineProperty(n,l,{configurable:!0,enumerable:!0,get:()=>e[l],set(t){e[l]=t}}),d;d=u(d,t[l],r["*"])}return n[l]=d,d},set:(t,r,o,i)=>(r in n?n[r]=o:e[r]=o,!0),defineProperty:(e,t,r)=>Reflect.defineProperty(n,t,r),deleteProperty:(e,t)=>Reflect.deleteProperty(n,t)},l=Object.create(e);return new Proxy(l,o)},l=e=>({addListener(t,r,...n){t.addListener(e.get(r),...n)},hasListener:(t,r)=>t.hasListener(e.get(r)),removeListener(t,r){t.removeListener(e.get(r))}}),f=new o((e=>"function"!=typeof e?e:function(t){const r=u(t,{},{getContent:{minArgs:0,maxArgs:0}});e(r)}));let d=!1;const h=new o((e=>"function"!=typeof e?e:function(t,n,o){let i,a,s=!1,c=new Promise((e=>{i=function(t){d||(console.warn(r,(new Error).stack),d=!0),s=!0,e(t)}}));try{a=e(t,n,i)}catch(e){a=Promise.reject(e)}const u=!0!==a&&((l=a)&&"object"==typeof l&&"function"==typeof l.then);var l;if(!0!==a&&!u&&!s)return!1;const f=e=>{e.then((e=>{o(e)}),(e=>{let t;t=e&&(e instanceof Error||"string"==typeof e.message)?e.message:"An unexpected error occurred",o({__mozWebExtensionPolyfillReject__:!0,message:t})})).catch((e=>{console.error("Failed to send onMessage rejected reply",e)}))};return f(u?a:c),!0})),p=({reject:r,resolve:n},o)=>{e.runtime.lastError?e.runtime.lastError.message===t?n():r(new Error(e.runtime.lastError.message)):o&&o.__mozWebExtensionPolyfillReject__?r(new Error(o.message)):n(o)},m=(e,t,r,...n)=>{if(n.lengtht.maxArgs)throw new Error(`Expected at most ${t.maxArgs} ${a(t.maxArgs)} for ${e}(), got ${n.length}`);return new Promise(((e,t)=>{const o=p.bind(null,{resolve:e,reject:t});n.push(o),r.sendMessage(...n)}))},g={devtools:{network:{onRequestFinished:l(f)}},runtime:{onMessage:l(h),onMessageExternal:l(h),sendMessage:m.bind(null,"sendMessage",{minArgs:1,maxArgs:3})},tabs:{sendMessage:m.bind(null,"sendMessage",{minArgs:2,maxArgs:3})}},A={clear:{minArgs:1,maxArgs:1},get:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}};return n.privacy={network:{"*":A},services:{"*":A},websites:{"*":A}},u(e,g,n)};if("object"!=typeof chrome||!chrome||!chrome.runtime||!chrome.runtime.id)throw new Error("This script should only be loaded in a browser extension.");e.exports=n(chrome)}else e.exports=browser}))}}},{package:"webextension-polyfill",file:"node_modules/webextension-polyfill/dist/browser-polyfill.js"}],[4475,{"available-typed-arrays":2921,"call-bind/callBound":3038,"for-each":3403,gopd:3418,"has-tostringtag/shams":3611,"is-typed-array":3664},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=e("for-each"),o=e("available-typed-arrays"),i=e("call-bind/callBound"),a=e("gopd"),s=i("Object.prototype.toString"),c=e("has-tostringtag/shams")(),u="undefined"==typeof globalThis?global:globalThis,l=o(),f=i("String.prototype.slice"),d={},h=Object.getPrototypeOf;c&&a&&h&&n(l,(function(e){if("function"==typeof u[e]){var t=new u[e];if(Symbol.toStringTag in t){var r=h(t),n=a(r,Symbol.toStringTag);if(!n){var o=h(r);n=a(o,Symbol.toStringTag)}d[e]=n.get}}}));var p=e("is-typed-array");t.exports=function(e){return!!p(e)&&(c&&Symbol.toStringTag in e?function(e){var t=!1;return n(d,(function(r,n){if(!t)try{var o=r.call(e);o===n&&(t=o)}catch(e){}})),t}(e):f(s(e),8,-1))}}}},{package:"browserify>util>which-typed-array",file:"node_modules/which-typed-array/index.js"}],[4476,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function e(t,r){if(t&&r)return e(t)(r);if("function"!=typeof t)throw new TypeError("need wrapper function");return Object.keys(t).forEach((function(e){n[e]=t[e]})),n;function n(){for(var e=new Array(arguments.length),r=0;ronce>wrappy",file:"node_modules/wrappy/wrappy.js"}],[4478,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){t.exports=function(){for(var e={},t=0;txtend",file:"node_modules/xtend/immutable.js"}],[448,{"../_version":446,"@ethersproject/bignumber":474,"@ethersproject/bytes":476,"@ethersproject/logger":504,"@ethersproject/properties":510},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.Reader=r.Writer=r.Coder=r.checkResultErrors=void 0;var n=e("@ethersproject/bytes"),o=e("@ethersproject/bignumber"),i=e("@ethersproject/properties"),a=e("@ethersproject/logger"),s=e("../_version"),c=new a.Logger(s.version);r.checkResultErrors=function(e){var t=[],r=function(e,n){if(Array.isArray(n))for(var o in n){var i=e.slice();i.push(o);try{r(i,n[o])}catch(e){t.push({path:i,error:e})}}};return r([],e),t};var u=function(){function e(e,t,r,n){this.name=e,this.type=t,this.localName=r,this.dynamic=n}return e.prototype._throwError=function(e,t){c.throwArgumentError(e,this.localName,t)},e}();r.Coder=u;var l=function(){function e(e){(0,i.defineReadOnly)(this,"wordSize",e||32),this._data=[],this._dataLength=0,this._padding=new Uint8Array(e)}return Object.defineProperty(e.prototype,"data",{get:function(){return(0,n.hexConcat)(this._data)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"length",{get:function(){return this._dataLength},enumerable:!1,configurable:!0}),e.prototype._writeData=function(e){return this._data.push(e),this._dataLength+=e.length,e.length},e.prototype.appendWriter=function(e){return this._writeData((0,n.concat)(e._data))},e.prototype.writeBytes=function(e){var t=(0,n.arrayify)(e),r=t.length%this.wordSize;return r&&(t=(0,n.concat)([t,this._padding.slice(r)])),this._writeData(t)},e.prototype._getValue=function(e){var t=(0,n.arrayify)(o.BigNumber.from(e));return t.length>this.wordSize&&c.throwError("value out-of-bounds",a.Logger.errors.BUFFER_OVERRUN,{length:this.wordSize,offset:t.length}),t.length%this.wordSize&&(t=(0,n.concat)([this._padding.slice(t.length%this.wordSize),t])),t},e.prototype.writeValue=function(e){return this._writeData(this._getValue(e))},e.prototype.writeUpdatableValue=function(){var e=this,t=this._data.length;return this._data.push(this._padding),this._dataLength+=this.wordSize,function(r){e._data[t]=e._getValue(r)}},e}();r.Writer=l;var f=function(){function e(e,t,r,o){(0,i.defineReadOnly)(this,"_data",(0,n.arrayify)(e)),(0,i.defineReadOnly)(this,"wordSize",t||32),(0,i.defineReadOnly)(this,"_coerceFunc",r),(0,i.defineReadOnly)(this,"allowLoose",o),this._offset=0}return Object.defineProperty(e.prototype,"data",{get:function(){return(0,n.hexlify)(this._data)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"consumed",{get:function(){return this._offset},enumerable:!1,configurable:!0}),e.coerce=function(e,t){var r=e.match("^u?int([0-9]+)$");return r&&parseInt(r[1])<=48&&(t=t.toNumber()),t},e.prototype.coerce=function(t,r){return this._coerceFunc?this._coerceFunc(t,r):e.coerce(t,r)},e.prototype._peekBytes=function(e,t,r){var n=Math.ceil(t/this.wordSize)*this.wordSize;return this._offset+n>this._data.length&&(this.allowLoose&&r&&this._offset+t<=this._data.length?n=t:c.throwError("data out-of-bounds",a.Logger.errors.BUFFER_OVERRUN,{length:this._data.length,offset:this._offset+n})),this._data.slice(this._offset,this._offset+n)},e.prototype.subReader=function(t){return new e(this._data.slice(this._offset+t),this.wordSize,this._coerceFunc,this.allowLoose)},e.prototype.readBytes=function(e,t){var r=this._peekBytes(0,e,!!t);return this._offset+=r.length,r.slice(0,e)},e.prototype.readValue=function(){return o.BigNumber.from(this.readBytes(this.wordSize))},e}();r.Reader=f}}},{package:"@ethersproject/abi",file:"node_modules/@ethersproject/abi/lib/coders/abstract-coder.js"}],[449,{"./abstract-coder":448,"@ethersproject/address":467,"@ethersproject/bytes":476},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.AddressCoder=void 0;var i=e("@ethersproject/address"),a=e("@ethersproject/bytes"),s=function(e){function t(t){return e.call(this,"address","address",t,!1)||this}return o(t,e),t.prototype.defaultValue=function(){return"0x0000000000000000000000000000000000000000"},t.prototype.encode=function(e,t){try{t=(0,i.getAddress)(t)}catch(e){this._throwError(e.message,t)}return e.writeValue(t)},t.prototype.decode=function(e){return(0,i.getAddress)((0,a.hexZeroPad)(e.readValue().toHexString(),20))},t}(e("./abstract-coder").Coder);r.AddressCoder=s}}},{package:"@ethersproject/abi",file:"node_modules/@ethersproject/abi/lib/coders/address.js"}],[4492,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.Web3ShimUsageAlertStates=r.TOGGLEABLE_ALERT_TYPES=r.AlertTypes=void 0;let n=r.AlertTypes=function(e){return e.unconnectedAccount="unconnectedAccount",e.web3ShimUsage="web3ShimUsage",e.invalidCustomNetwork="invalidCustomNetwork",e}({});r.TOGGLEABLE_ALERT_TYPES=[n.unconnectedAccount,n.web3ShimUsage];r.Web3ShimUsageAlertStates=function(e){return e[e.recorded=1]="recorded",e[e.dismissed=2]="dismissed",e}({})}}},{package:"$root$",file:"shared/constants/alerts.ts"}],[4493,{"./permissions":4511,"@metamask/snaps-sdk":2122},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.UNKNOWN_TICKER_SYMBOL=r.SNAP_MANAGE_ACCOUNTS_CONFIRMATION_TYPES=r.SNAP_DIALOG_TYPES=r.SMART_TRANSACTION_CONFIRMATION_TYPES=r.POLLING_TOKEN_ENVIRONMENT_TYPES=r.PLATFORM_OPERA=r.PLATFORM_FIREFOX=r.PLATFORM_EDGE=r.PLATFORM_CHROME=r.PLATFORM_BRAVE=r.ORIGIN_METAMASK=r.METAMASK_PROD_CHROME_ID=r.METAMASK_MMI_PROD_CHROME_ID=r.METAMASK_MMI_BETA_CHROME_ID=r.METAMASK_FLASK_CHROME_ID=r.METAMASK_BETA_CHROME_ID=r.MESSAGE_TYPE=r.FIREFOX_BUILD_IDS=r.EXTENSION_MESSAGES=r.ENVIRONMENT_TYPE_POPUP=r.ENVIRONMENT_TYPE_NOTIFICATION=r.ENVIRONMENT_TYPE_FULLSCREEN=r.ENVIRONMENT_TYPE_BACKGROUND=r.CHROME_BUILD_IDS=void 0;var n=e("@metamask/snaps-sdk"),o=e("./permissions");const i=r.ENVIRONMENT_TYPE_POPUP="popup",a=r.ENVIRONMENT_TYPE_NOTIFICATION="notification",s=r.ENVIRONMENT_TYPE_FULLSCREEN="fullscreen",c=r.ENVIRONMENT_TYPE_BACKGROUND="background",u=(r.PLATFORM_BRAVE="Brave",r.PLATFORM_CHROME="Chrome",r.PLATFORM_EDGE="Edge",r.PLATFORM_FIREFOX="Firefox",r.PLATFORM_OPERA="Opera",r.MESSAGE_TYPE={ADD_ETHEREUM_CHAIN:"wallet_addEthereumChain",ETH_ACCOUNTS:o.RestrictedMethods.eth_accounts,ETH_DECRYPT:"eth_decrypt",ETH_CHAIN_ID:"eth_chainId",ETH_GET_ENCRYPTION_PUBLIC_KEY:"eth_getEncryptionPublicKey",ETH_GET_BLOCK_BY_NUMBER:"eth_getBlockByNumber",ETH_REQUEST_ACCOUNTS:"eth_requestAccounts",ETH_SEND_TRANSACTION:"eth_sendTransaction",ETH_SEND_RAW_TRANSACTION:"eth_sendRawTransaction",ETH_SIGN:"eth_sign",ETH_SIGN_TRANSACTION:"eth_signTransaction",ETH_SIGN_TYPED_DATA:"eth_signTypedData",ETH_SIGN_TYPED_DATA_V1:"eth_signTypedData_v1",ETH_SIGN_TYPED_DATA_V3:"eth_signTypedData_v3",ETH_SIGN_TYPED_DATA_V4:"eth_signTypedData_v4",GET_PROVIDER_STATE:"metamask_getProviderState",LOG_WEB3_SHIM_USAGE:"metamask_logWeb3ShimUsage",PERSONAL_SIGN:"personal_sign",SEND_METADATA:"metamask_sendDomainMetadata",SWITCH_ETHEREUM_CHAIN:"wallet_switchEthereumChain",TRANSACTION:"transaction",WALLET_REQUEST_PERMISSIONS:"wallet_requestPermissions",WATCH_ASSET:"wallet_watchAsset",WATCH_ASSET_LEGACY:"metamask_watchAsset",SNAP_DIALOG_ALERT:`${o.RestrictedMethods.snap_dialog}:alert`,SNAP_DIALOG_CONFIRMATION:`${o.RestrictedMethods.snap_dialog}:confirmation`,SNAP_DIALOG_PROMPT:`${o.RestrictedMethods.snap_dialog}:prompt`}),l=(r.SNAP_DIALOG_TYPES={[n.DialogType.Alert]:u.SNAP_DIALOG_ALERT,[n.DialogType.Confirmation]:u.SNAP_DIALOG_CONFIRMATION,[n.DialogType.Prompt]:u.SNAP_DIALOG_PROMPT},r.SNAP_MANAGE_ACCOUNTS_CONFIRMATION_TYPES={confirmAccountCreation:"snap_manageAccounts:confirmAccountCreation",confirmAccountRemoval:"snap_manageAccounts:confirmAccountRemoval",showSnapAccountRedirect:"showSnapAccountRedirect"},r.SMART_TRANSACTION_CONFIRMATION_TYPES={showSmartTransactionStatusPage:"smartTransaction:showSmartTransactionStatusPage"},r.EXTENSION_MESSAGES={CONNECTION_READY:"CONNECTION_READY",READY:"METAMASK_EXTENSION_READY"},r.POLLING_TOKEN_ENVIRONMENT_TYPES={[i]:"popupGasPollTokens",[a]:"notificationGasPollTokens",[s]:"fullScreenGasPollTokens",[c]:"none"},r.ORIGIN_METAMASK="metamask",r.METAMASK_BETA_CHROME_ID="pbbkamfgmaedccnfkmjcofcecjhfgldn"),f=r.METAMASK_PROD_CHROME_ID="nkbihfbeogaeaoehlefnkodbefgpgknn",d=r.METAMASK_FLASK_CHROME_ID="ljfoeinjpaedjfecbmggjgodbgkmjkjk",h=r.METAMASK_MMI_BETA_CHROME_ID="kmbhbcbadohhhgdgihejcicbgcehoaeg",p=r.METAMASK_MMI_PROD_CHROME_ID="ikkihjamdhfiojpdbnfllpjigpneipbc";r.CHROME_BUILD_IDS=[l,f,d,h,p],r.FIREFOX_BUILD_IDS=["webextension-beta@metamask.io","webextension@metamask.io","webextension-flask@metamask.io"],r.UNKNOWN_TICKER_SYMBOL="UNKNOWN"}}},{package:"$root$",file:"shared/constants/app.ts"}],[4494,{"./network":4507},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.ALLOWED_BRIDGE_CHAIN_IDS=void 0;var n=e("./network");r.ALLOWED_BRIDGE_CHAIN_IDS=[n.CHAIN_IDS.MAINNET,n.CHAIN_IDS.BSC,n.CHAIN_IDS.POLYGON,n.CHAIN_IDS.ZKSYNC_ERA,n.CHAIN_IDS.AVALANCHE,n.CHAIN_IDS.OPTIMISM,n.CHAIN_IDS.ARBITRUM,n.CHAIN_IDS.LINEA_MAINNET,n.CHAIN_IDS.BASE]}}},{package:"$root$",file:"shared/constants/bridge.ts"}],[4495,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.EtherDenomination=void 0;r.EtherDenomination=function(e){return e.ETH="ETH",e.GWEI="GWEI",e.WEI="WEI",e}({})}}},{package:"$root$",file:"shared/constants/common.ts"}],[4499,{"./network":4507},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.FIRST_PARTY_CONTRACT_NAMES=r.EXPERIENCES_TYPE=void 0;var n=e("./network");let o=r.EXPERIENCES_TYPE=function(e){return e.METAMASK_VALIDATOR_STAKING="MetaMask Validator Staking",e.METAMASK_POOLED_STAKING="MetaMask Pooled Staking",e.METAMASK_THIRD_PARTY_STAKING="MetaMask Third Party Staking",e.METAMASK_POOLED_STAKING_V1="MetaMask Pool Staking (v1)",e.METAMASK_BRIDGE="MetaMask Bridge",e.METAMASK_SWAPS="MetaMask Swaps",e}({});r.FIRST_PARTY_CONTRACT_NAMES={[o.METAMASK_VALIDATOR_STAKING]:{[n.CHAIN_IDS.MAINNET]:"0xDc71aFFC862fceB6aD32BE58E098423A7727bEbd"},[o.METAMASK_POOLED_STAKING]:{[n.CHAIN_IDS.MAINNET]:"0x4FEF9D741011476750A243aC70b9789a63dd47Df"},[o.METAMASK_THIRD_PARTY_STAKING]:{[n.CHAIN_IDS.MAINNET]:"0x1f6692E78dDE07FF8da75769B6d7c716215bC7D0"},[o.METAMASK_POOLED_STAKING_V1]:{[n.CHAIN_IDS.MAINNET]:"0xc7bE520a13dC023A1b34C03F4Abdab8A43653F7B"},[o.METAMASK_BRIDGE]:{[n.CHAIN_IDS.MAINNET]:"0x0439e60F02a8900a951603950d8D4527f400C3f1",[n.CHAIN_IDS.OPTIMISM]:"0xB90357f2b86dbfD59c3502215d4060f71DF8ca0e",[n.CHAIN_IDS.BSC]:"0xaEc23140408534b378bf5832defc426dF8604B59",[n.CHAIN_IDS.POLYGON]:"0x3A0b42cE6166abB05d30DdF12E726c95a83D7a16",[n.CHAIN_IDS.ZKSYNC_ERA]:"0x357B5935482AD8a4A2e181e0132aBd1882E16520",[n.CHAIN_IDS.BASE]:"0xa20ECbC821fB54064aa7B5C6aC81173b8b34Df71",[n.CHAIN_IDS.ARBITRUM]:"0x23981fC34e69eeDFE2BD9a0a9fCb0719Fe09DbFC",[n.CHAIN_IDS.AVALANCHE]:"0x29106d08382d3c73bF477A94333C61Db1142E1B6",[n.CHAIN_IDS.LINEA_MAINNET]:"0xE3d0d2607182Af5B24f5C3C2E4990A053aDd64e3"},[o.METAMASK_SWAPS]:{[n.CHAIN_IDS.MAINNET]:"0x881D40237659C251811CEC9c364ef91dC08D300C",[n.CHAIN_IDS.BSC]:"0x1a1ec25DC08e98e5E93F1104B5e5cdD298707d31",[n.CHAIN_IDS.POLYGON]:"0x1a1ec25DC08e98e5E93F1104B5e5cdD298707d31",[n.CHAIN_IDS.AVALANCHE]:"0x1a1ec25DC08e98e5E93F1104B5e5cdD298707d31",[n.CHAIN_IDS.ARBITRUM]:"0x9dDA6Ef3D919c9bC8885D5560999A3640431e8e6",[n.CHAIN_IDS.OPTIMISM]:"0x9dDA6Ef3D919c9bC8885D5560999A3640431e8e6",[n.CHAIN_IDS.ZKSYNC_ERA]:"0xf504c1fe13d14DF615E66dcd0ABF39e60c697f34",[n.CHAIN_IDS.LINEA_MAINNET]:"0x9dDA6Ef3D919c9bC8885D5560999A3640431e8e6"}}}}},{package:"$root$",file:"shared/constants/first-party-contracts.ts"}],[450,{"./abstract-coder":448},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.AnonymousCoder=void 0;var i=function(e){function t(t){var r=e.call(this,t.name,t.type,undefined,t.dynamic)||this;return r.coder=t,r}return o(t,e),t.prototype.defaultValue=function(){return this.coder.defaultValue()},t.prototype.encode=function(e,t){return this.coder.encode(e,t)},t.prototype.decode=function(e){return this.coder.decode(e)},t}(e("./abstract-coder").Coder);r.AnonymousCoder=i}}},{package:"@ethersproject/abi",file:"node_modules/@ethersproject/abi/lib/coders/anonymous.js"}],[4500,{"ethereumjs-util":3288},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.PriorityLevels=r.NetworkCongestionThresholds=r.MIN_GAS_LIMIT_HEX=r.GasRecommendations=r.GasEstimateTypes=r.GAS_LIMITS=r.EditGasModes=r.CUSTOM_GAS_ESTIMATE=void 0;var n=e("ethereumjs-util");const o=r.MIN_GAS_LIMIT_HEX=parseInt("21000",10).toString(16);r.GAS_LIMITS={SIMPLE:(0,n.addHexPrefix)(o),BASE_TOKEN_ESTIMATE:(0,n.addHexPrefix)(1e5.toString(16))};r.GasEstimateTypes=function(e){return e.feeMarket="fee-market",e.legacy="legacy",e.ethGasPrice="eth_gasPrice",e.none="none",e}({}),r.GasRecommendations=function(e){return e.low="low",e.medium="medium",e.high="high",e}({}),r.PriorityLevels=function(e){return e.tenPercentIncreased="tenPercentIncreased",e.low="low",e.medium="medium",e.high="high",e.custom="custom",e.dAppSuggested="dappSuggested",e.dappSuggestedHigh="dappSuggestedHigh",e}({});r.CUSTOM_GAS_ESTIMATE="custom";r.EditGasModes=function(e){return e.speedUp="speed-up",e.cancel="cancel",e.modifyInPlace="modify-in-place",e.swaps="swaps",e}({}),r.NetworkCongestionThresholds=function(e){return e[e.notBusy=0]="notBusy",e[e.stable=.33]="stable",e[e.busy=.66]="busy",e}({})}}},{package:"$root$",file:"shared/constants/gas.ts"}],[4501,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.WebHIDConnectedStatuses=r.LedgerTransportTypes=r.LEDGER_USB_VENDOR_ID=r.HardwareTransportStates=r.HardwareKeyringType=r.HardwareKeyringNames=r.HardwareDeviceNames=r.HardwareAffiliateTutorialLinks=r.HardwareAffiliateLinks=void 0;r.HardwareKeyringType=function(e){return e.ledger="Ledger Hardware",e.trezor="Trezor Hardware",e.lattice="Lattice Hardware",e.qr="QR Hardware Wallet Device",e}({}),r.HardwareKeyringNames=function(e){return e.ledger="Ledger",e.trezor="Trezor",e.lattice="Lattice1",e.qr="QR",e}({}),r.HardwareDeviceNames=function(e){return e.ledger="ledger",e.trezor="trezor",e.lattice="lattice",e.qr="QR Hardware",e}({}),r.HardwareTransportStates=function(e){return e.none="NONE",e.verified="VERIFIED",e.deviceOpenFailure="DEVICE_OPEN_FAILURE",e.unknownFailure="UNKNOWN_FAILURE",e}({}),r.HardwareAffiliateLinks=function(e){return e.ledger="https://shop.ledger.com/?r=17c4991a03fa",e.gridplus="https://gridplus.io/?afmc=7p",e.trezor="https://shop.trezor.io/product/trezor-one-black?offer_id=35&aff_id=11009",e.keystone="https://keyst.one/metamask?rfsn=6088257.656b3e9&utm_source=refersion&utm_medium=affiliate&utm_campaign=6088257.656b3e9",e.airgap="https://airgap.it/",e.coolwallet="https://www.coolwallet.io/",e.dcent="https://dcentwallet.com/",e.imtoken="https://token.im/",e.onekey="https://onekey.so/products/onekey-pro-hardware-wallet/",e}({}),r.HardwareAffiliateTutorialLinks=function(e){return e.ledger="https://support.ledger.com/hc/en-us/articles/4404366864657-Set-up-and-use-MetaMask-to-access-your-Ledger-Ethereum-ETH-account?docs=true",e.gridplus="https://docs.gridplus.io/setup/metamask",e.trezor="https://wiki.trezor.io/Apps:MetaMask",e.keystone="https://support.keyst.one/3rd-party-wallets/eth-and-web3-wallets-keystone/bind-metamask-with-keystone",e.airgap="https://support.airgap.it/guides/metamask/",e.coolwallet="https://www.coolwallet.io/metamask-step-by-step-guides/",e.dcent="https://medium.com/dcentwallet/dcent-wallet-now-supports-qr-based-protocol-to-link-with-metamask-57555f02603f",e.imtoken="https://support.token.im/hc/en-us/articles/24652624775961/",e.onekey="https://help.onekey.so/hc/articles/9426592069903",e}({}),r.LedgerTransportTypes=function(e){return e.webhid="webhid",e.u2f="u2f",e}({}),r.WebHIDConnectedStatuses=function(e){return e.connected="connected",e.notConnected="notConnected",e.unknown="unknown",e}({});r.LEDGER_USB_VENDOR_ID="0x2c97"}}},{package:"$root$",file:"shared/constants/hardware-wallets.ts"}],[4502,{"./hardware-wallets":4501},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.SnapKeyringType=r.KeyringType=r.InternalKeyringType=void 0;var n=e("./hardware-wallets");let o=r.InternalKeyringType=function(e){return e.hdKeyTree="HD Key Tree",e.imported="Simple Key Pair",e}({}),i=r.SnapKeyringType=function(e){return e.snap="Snap Keyring",e}({});r.KeyringType={...n.HardwareKeyringType,...o,...i}}}},{package:"$root$",file:"shared/constants/keyring.ts"}],[4503,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.TRUNCATED_NAME_CHAR_LIMIT=r.TRUNCATED_ADDRESS_START_CHARS=r.TRUNCATED_ADDRESS_END_CHARS=void 0;r.TRUNCATED_NAME_CHAR_LIMIT=11,r.TRUNCATED_ADDRESS_START_CHARS=7,r.TRUNCATED_ADDRESS_END_CHARS=5}}},{package:"$root$",file:"shared/constants/labels.ts"}],[4505,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.REJECT_NOTIFICATION_CLOSE_SIG=r.REJECT_NOTIFICATION_CLOSE=r.MetaMetricsUserTrait=r.MetaMetricsTransactionEventSource=r.MetaMetricsTokenEventSource=r.MetaMetricsSwapsEventSource=r.MetaMetricsNetworkEventSource=r.MetaMetricsEventUiCustomization=r.MetaMetricsEventName=r.MetaMetricsEventLocation=r.MetaMetricsEventLinkType=r.MetaMetricsEventKeyType=r.MetaMetricsEventErrorType=r.MetaMetricsEventCategory=r.MetaMetricsEventAccountType=r.MetaMetricsEventAccountImportType=r.MetaMetricsContextProp=r.METAMETRICS_BACKGROUND_PAGE_OBJECT=r.METAMETRICS_ANONYMOUS_ID=void 0;r.MetaMetricsUserTrait=function(e){return e.IsMetricsOptedIn="is_metrics_opted_in",e.HasMarketingConsent="has_marketing_consent",e.AddressBookEntries="address_book_entries",e.InstallDateExt="install_date_ext",e.LedgerConnectionType="ledger_connection_type",e.NetworksAdded="networks_added",e.NetworksWithoutTicker="networks_without_ticker",e.NftAutodetectionEnabled="nft_autodetection_enabled",e.NumberOfAccounts="number_of_accounts",e.NumberOfNftCollections="number_of_nft_collections",e.NumberOfNfts="number_of_nfts",e.NumberOfTokens="number_of_tokens",e.OpenSeaApiEnabled="opensea_api_enabled",e.Theme="theme",e.ThreeBoxEnabled="three_box_enabled",e.TokenDetectionEnabled="token_detection_enabled",e.UseNativeCurrencyAsPrimaryCurrency="use_native_currency_as_primary_currency",e.DesktopEnabled="desktop_enabled",e.SecurityProviders="security_providers",e.PetnameAddressCount="petname_addresses_count",e}({});r.METAMETRICS_ANONYMOUS_ID="0x0000000000000000",r.METAMETRICS_BACKGROUND_PAGE_OBJECT={path:"/background-process",title:"Background Process",url:"/background-process"},r.REJECT_NOTIFICATION_CLOSE="Cancel Via Notification Close",r.REJECT_NOTIFICATION_CLOSE_SIG="Cancel Sig Request Via Notification Close";r.MetaMetricsEventName=function(e){return e.AccountAdded="Account Added",e.AccountAddSelected="Account Add Selected",e.AccountAddFailed="Account Add Failed",e.AccountDetailsOpened="Account Details Opened",e.AccountPasswordCreated="Account Password Created",e.AccountReset="Account Reset",e.AccountRenamed="Account Renamed",e.ActivityDetailsOpened="Activity Details Opened",e.ActivityDetailsClosed="Activity Details Closed",e.AnalyticsPreferenceSelected="Analytics Preference Selected",e.AppInstalled="App Installed",e.AppUnlocked="App Unlocked",e.AppUnlockedFailed="App Unlocked Failed",e.AppLocked="App Locked",e.AppWindowExpanded="App Window Expanded",e.BridgeLinkClicked="Bridge Link Clicked",e.DappViewed="Dapp Viewed",e.DecryptionApproved="Decryption Approved",e.DecryptionRejected="Decryption Rejected",e.DecryptionRequested="Decryption Requested",e.DisablingAccountNotifications="Disabling Account Notifications",e.EnablingAccountNotifications="Enabling Account Notifications",e.DisablingNotifications="Disabling Notifications",e.DismissEnablingNotificationsFlow="Dismiss Enabling Notifications Flow",e.EmptyBuyBannerDisplayed="Empty Buy Banner Displayed",e.EmptyBuyBannerClicked="Empty Buy Banner Clicked",e.EmptyReceiveBannerDisplayed="Empty Receive Banner Displayed",e.EmptyReceiveBannerClicked="Empty Receive Banner Clicked",e.EmptyNftsBannerDisplayed="Empty NFTs Banner Displayed",e.EmptyNftsBannerClicked="Empty NFTs Banner Clicked",e.EnablingNotifications="Enabling Notifications",e.EncryptionPublicKeyApproved="Encryption Approved",e.EncryptionPublicKeyRejected="Encryption Rejected",e.EncryptionPublicKeyRequested="Encryption Requested",e.ExternalLinkClicked="External Link Clicked",e.FeatureAnnouncementEnabled="Feature Announcement Enabled",e.FeatureAnnouncementDisabled="Feature Announcement Disabled",e.KeyExportSelected="Key Export Selected",e.KeyExportRequested="Key Export Requested",e.KeyExportFailed="Key Export Failed",e.KeyExportCanceled="Key Export Canceled",e.KeyExportRevealed="Key Material Revealed",e.KeyExportCopied="Key Material Copied",e.KeyTokenDetectionSelected="Key Token Detection Selected",e.KeyGlobalSecurityToggleSelected="Key Global Security/Privacy Settings",e.KeyBalanceTokenPriceChecker="Key Show Balance and Token Price Checker Settings",e.KeyGasFeeEstimationBuySwapTokens="Key Show Gas Fee Estimation, Buy Crypto and Swap Tokens",e.KeyAutoDetectTokens="Key Autodetect tokens",e.KeyBatchAccountBalanceRequests="Key Batch account balance requests",e.MarkAllNotificationsRead="Mark All Notifications Read",e.MetricsOptIn="Metrics Opt In",e.MetricsOptOut="Metrics Opt Out",e.NavAccountMenuOpened="Account Menu Opened",e.NavConnectedSitesOpened="Connected Sites Opened",e.NavMainMenuOpened="Main Menu Opened",e.NavPermissionsOpened="Permissions Opened",e.NavNetworkMenuOpened="Network Menu Opened",e.NavSettingsOpened="Settings Opened",e.NavAccountSwitched="Account Switched",e.NavNetworkSwitched="Network Switched",e.NavBuyButtonClicked="Buy Button Clicked",e.NavSendButtonClicked="Send Button Clicked",e.NavSwapButtonClicked="Swap Button Clicked",e.NftAdded="NFT Added",e.NotificationPageOpened="Notification Page Opened",e.NotificationItemClicked="Notification Item Clicked",e.NotificationDetailClicked="Notification Detail Clicked",e.OnboardingWalletCreationStarted="Wallet Setup Selected",e.OnboardingWalletImportStarted="Wallet Import Started",e.OnboardingWalletCreationAttempted="Wallet Password Created",e.OnboardingWalletSecurityStarted="SRP Backup Selected",e.OnboardingWalletSecuritySkipInitiated="SRP Skip Backup Selected",e.OnboardingWalletSecuritySkipConfirmed="SRP Backup Skipped",e.OnboardingWalletSecuritySkipCanceled="SRP Skip Backup Canceled",e.OnboardingWalletSecurityPhraseRevealed="SRP Revealed",e.OnboardingWalletSecurityPhraseWrittenDown="SRP Backup Confirm Display",e.OnboardingWalletSecurityPhraseConfirmed="SRP Backup Confirmed",e.OnboardingWalletCreationComplete="Wallet Created",e.OnboardingWalletCreationCompleteWithAuthenticating="Wallet Created with Authenticating",e.OnboardingWalletSetupComplete="Application Opened",e.OnboardingWalletAdvancedSettings="Settings Updated",e.OnboardingWalletAdvancedSettingsWithAuthenticating="Settings Updated with Authenticating",e.OnboardingWalletAdvancedSettingsWithoutAuthenticating="Settings Updated without Authenticating",e.OnboardingWalletAdvancedSettingsTurnOffProfileSyncing="Turn Off Profile Syncing",e.OnboardingWalletImportAttempted="Wallet Import Attempted",e.OnboardingWalletVideoPlay="SRP Intro Video Played",e.OnboardingTwitterClick="External Link Clicked",e.OnrampProviderSelected="On-ramp Provider Selected",e.PermissionsApproved="Permissions Approved",e.PermissionsRejected="Permissions Rejected",e.PermissionsRequested="Permissions Requested",e.PetnameCreated="Petname Created",e.PetnameDeleted="Petname Deleted",e.PetnameDisplayed="Petname Displayed",e.PetnameModalOpened="Petname Modal Opened",e.PetnameUpdated="Petname Updated",e.PhishingPageDisplayed="Phishing Page Displayed",e.PortfolioLinkClicked="Portfolio Link Clicked",e.ProviderMethodCalled="Provider Method Called",e.PublicAddressCopied="Public Address Copied",e.QuoteError="Quote Error",e.SettingsUpdated="Settings Updated",e.SignatureApproved="Signature Approved",e.SignatureFailed="Signature Failed",e.SignatureRejected="Signature Rejected",e.SignatureRequested="Signature Requested",e.SimulationFails="Simulation Fails",e.SimulationIncompleteAssetDisplayed="Incomplete Asset Displayed",e.SrpRevealStarted="Reveal SRP Initiated",e.SrpRevealClicked="Clicked Reveal Secret Recovery",e.SrpRevealViewed="Views Reveal Secret Recovery",e.SrpRevealBackButtonClicked="Clicked Back on Reveal SRP Password Page",e.SrpRevealCancelled="Reveal SRP Cancelled",e.SrpRevealCancelButtonClicked="Clicks Cancel on Reveal Secret Recovery Phrase Page",e.SrpRevealCloseClicked="Clicks CLOSE with SRP",e.SrpRevealNextClicked="Clicks Next on Reveal Secret Recovery Phrase",e.SrpHoldToRevealClickStarted="Reveal SRP Click Started",e.SrpHoldToRevealCloseClicked="Closes Hold To Reveal SRP",e.SrpHoldToRevealCompleted="Reveal SRP Completed",e.SrpViewsSrpQR="Views SRP QR Code",e.SrpViewSrpText="Views SRP",e.SrpCopiedToClipboard="Copies SRP to clipboard",e.SrpToConfirmBackup="SRP Backup Confirm Displayed",e.StakingEntryPointClicked="Stake Button Clicked",e.StartEnablingNotificationsFlow="Start Enabling Notifications Flow",e.SupportLinkClicked="Support Link Clicked",e.TermsOfUseShown="Terms of Use Shown",e.TermsOfUseAccepted="Terms of Use Accepted",e.TokenImportButtonClicked="Import Token Button Clicked",e.TokenScreenOpened="Token Screen Opened",e.TokenAdded="Token Added",e.TokenRemoved="Token Removed",e.NFTRemoved="NFT Removed",e.TokenDetected="Token Detected",e.TokenHidden="Token Hidden",e.TokenImportCanceled="Token Import Canceled",e.TokenImportClicked="Token Import Clicked",e.UseNativeCurrencyAsPrimaryCurrency="Use Native Currency as Primary Currency",e.WalletSetupStarted="Wallet Setup Selected",e.WalletSetupCanceled="Wallet Setup Canceled",e.WalletSetupFailed="Wallet Setup Failed",e.WalletCreated="Wallet Created",e.AccountDetailMenuOpened="Account Details Menu Opened",e.BlockExplorerLinkClicked="Block Explorer Clicked",e.AccountRemoved="Account Removed",e.AccountRemoveFailed="Account Remove Failed",e.TestNetworksDisplayed="Test Networks Displayed",e.AddNetworkButtonClick="Add Network Button Clicked",e.CustomNetworkAdded="Custom Network Added",e.TokenDetailsOpened="Token Details Opened",e.NftScreenOpened="NFT Screen Opened",e.NftDetailsOpened="NFT Details Opened",e.ActivityScreenOpened="Activity Screen Opened",e.WhatsNewViewed="What's New Viewed",e.WhatsNewClicked="What's New Link Clicked",e.PrepareSwapPageLoaded="Prepare Swap Page Loaded",e.QuotesRequested="Quotes Requested",e.QuotesReceived="Quotes Received",e.BestQuoteReviewed="Best Quote Reviewed",e.AllAvailableQuotesOpened="All Available Quotes Opened",e.SwapStarted="Swap Started",e.TransactionAdded="Transaction Added",e.TransactionSubmitted="Transaction Submitted",e.TransactionApproved="Transaction Approved",e.SwapCompleted="Swap Completed",e.TransactionFinalized="Transaction Finalized",e.ExitedSwaps="Exited Swaps",e.SwapError="Swap Error",e.SnapInstallStarted="Snap Install Started",e.SnapInstallFailed="Snap Install Failed",e.SnapInstallRejected="Snap Install Rejected",e.SnapInstalled="Snap Installed",e.SnapUninstalled="Snap Uninstalled",e.SnapUpdateStarted="Snap Update Started",e.SnapUpdateRejected="Snap Update Rejected",e.SnapUpdateFailed="Snap Update Failed",e.SnapUpdated="Snap Updated",e.SnapExportUsed="Snap Export Used",e.InsightSnapViewed="Insight Snap Viewed",e.AddSnapAccountEnabled="Add Snap Account Enabled",e.AddSnapAccountViewed="Add Snap Account Viewed",e.AddSnapAccountConfirmed="Add Snap Account Confirmed",e.AddSnapAccountCanceled="Add Snap Account Canceled",e.AddSnapAccountSuccessViewed="Add Snap Account Success Viewed",e.AddSnapAccountSuccessClicked="Add Snap Account Success Clicked",e.RemoveSnapAccountViewed="Remove Snap Account Viewed",e.RemoveSnapAccountConfirmed="Remove Snap Account Confirmed",e.RemoveSnapAccountCanceled="Remove Snap Account Canceled",e.RemoveSnapAccountSuccessViewed="Remove Snap Account Success Viewed",e.RemoveSnapAccountSuccessClicked="Remove Snap Account Success Clicked",e.SnapAccountTransactionLoadingViewed="Snap Account Transaction Loading Viewed",e.SnapAccountTransactionFinalizeViewed="Snap Account Transaction Finalize Viewed",e.SnapAccountTransactionFinalizeRedirectGoToSiteClicked='Snap Account Transaction Finalize Redirect "Go To Site" Clicked',e.SnapAccountTransactionFinalizeRedirectSnapUrlClicked='Snap Account Transaction Finalize Redirect "Snap URL" Clicked',e.SnapAccountTransactionFinalizeClosed="Snap Account Transaction Finalize Closed",e.TokenAutoDetectionEnableModal="Token Autodetection Enabled from modal",e.TokenAutoDetectionDisableModal="Token Autodetection Disabled from modal",e.TurnOffProfileSyncing="Turn Off Profile Syncing",e.TurnOnProfileSyncing="Turn On Profile Syncing",e.TurnOnMetaMetrics="Turn On MetaMetrics",e.TurnOffMetaMetrics="Turn Off MetaMetrics",e.PushNotificationReceived="Push Notification Received",e.PushNotificationClicked="Push Notification Clicked",e.sendAssetSelected="Send Asset Selected",e.sendFlowExited="Send Flow Exited",e.sendRecipientSelected="Send Recipient Selected",e.sendSwapQuoteError="Send Swap Quote Error",e.sendSwapQuoteFetched="Send Swap Quote Fetched",e.sendTokenModalOpened="Send Token Modal Opened",e}({}),r.MetaMetricsEventAccountType=function(e){return e.Default="metamask",e.Hardware="hardware",e.Imported="imported",e.Snap="snap",e}({}),r.MetaMetricsEventAccountImportType=function(e){return e.Json="json",e.PrivateKey="private_key",e.Srp="srp",e}({}),r.MetaMetricsEventCategory=function(e){return e.Accounts="Accounts",e.App="App",e.Auth="Auth",e.Background="Background",e.Desktop="Desktop",e.Error="Error",e.Footer="Footer",e.Home="Home",e.InpageProvider="inpage_provider",e.Keys="Keys",e.Messages="Messages",e.Navigation="Navigation",e.Network="Network",e.EnableNotifications="Enable Notifications",e.Onboarding="Onboarding",e.NotificationInteraction="Notification Interaction",e.NotificationSettings="Notification Settings",e.Petnames="Petnames",e.Phishing="Phishing",e.PushNotifications="Notifications",e.Retention="Retention",e.Send="Send",e.Settings="Settings",e.Snaps="Snaps",e.Swaps="Swaps",e.Tokens="Tokens",e.Transactions="Transactions",e.Wallet="Wallet",e}({}),r.MetaMetricsEventLinkType=function(e){return e.AccountTracker="Account Tracker",e.BlockExplorer="Block Explorer",e.TokenTracker="Token Tracker",e.TransactionBlockExplorer="Transaction Block Explorer",e}({}),r.MetaMetricsEventKeyType=function(e){return e.Pkey="private_key",e.Srp="srp",e}({}),r.MetaMetricsEventErrorType=function(e){return e.InsufficientGas="insufficient_gas",e.GasTimeout="gas_timeout",e}({}),r.MetaMetricsNetworkEventSource=function(e){return e.CustomNetworkForm="custom_network_form",e.PopularNetworkList="popular_network_list",e.Dapp="dapp",e.DeprecatedNetworkModal="deprecated_network_modal",e}({}),r.MetaMetricsSwapsEventSource=function(e){return e.MainView="Main View",e.TokenView="Token View",e}({}),r.MetaMetricsTokenEventSource=function(e){return e.Custom="custom",e.Dapp="dapp",e.Detected="detected",e.List="list",e}({}),r.MetaMetricsTransactionEventSource=function(e){return e.Dapp="dapp",e.User="user",e}({}),r.MetaMetricsEventLocation=function(e){return e.SignatureConfirmation="signature_confirmation",e.TokenDetails="token_details",e.TokenDetection="token_detection",e.TokenMenu="token_menu",e}({}),r.MetaMetricsEventUiCustomization=function(e){return e.FlaggedAsMalicious="flagged_as_malicious",e.FlaggedAsSafetyUnknown="flagged_as_safety_unknown",e.FlaggedAsWarning="flagged_as_warning",e.GasEstimationFailed="gas_estimation_failed",e.RedesignedConfirmation="redesigned_confirmation",e.SecurityAlertError="security_alert_error",e.Siwe="sign_in_with_ethereum",e}({}),r.MetaMetricsContextProp=function(e){return e.PageTitle="location",e}({})}}},{package:"$root$",file:"shared/constants/metametrics.ts"}],[4507,{lodash:3836},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.OPTIMISM_TOKEN_IMAGE_URL=r.OPTIMISM_DISPLAY_NAME=r.OKXCHAIN_MAINNET_IMAGE_URL=r.OASYS_MAINNET_IMAGE_URL=r.NetworkStatus=r.NUMBERS_TOKEN_IMAGE_URL=r.NUMBERS_MAINNET_IMAGE_URL=r.NETWORK_TYPES=r.NETWORK_TO_NAME_MAP=r.NETWORK_NAMES=r.NEBULA_MAINNET_IMAGE_URL=r.NEAR_AURORA_MAINNET_IMAGE_URL=r.MOONRIVER_IMAGE_URL=r.MOONRIVER_DISPLAY_NAME=r.MOONBEAM_IMAGE_URL=r.MOONBEAM_DISPLAY_NAME=r.MAX_SAFE_CHAIN_ID=r.MATIC_TOKEN_IMAGE_URL=r.MANTLE_MAINNET_IMAGE_URL=r.MANTA_PACIFIC_MAINNET_IMAGE_URL=r.MAINNET_RPC_URL=r.MAINNET_DISPLAY_NAME=r.MAINNET_CHAINS=r.LOCALHOST_RPC_URL=r.LOCALHOST_DISPLAY_NAME=r.LINEA_SEPOLIA_TOKEN_IMAGE_URL=r.LINEA_SEPOLIA_RPC_URL=r.LINEA_SEPOLIA_DISPLAY_NAME=r.LINEA_MAINNET_TOKEN_IMAGE_URL=r.LINEA_MAINNET_RPC_URL=r.LINEA_MAINNET_DISPLAY_NAME=r.LINEA_GOERLI_TOKEN_IMAGE_URL=r.LINEA_GOERLI_RPC_URL=r.LINEA_GOERLI_DISPLAY_NAME=r.LIGHT_LINK_IMAGE_URL=r.KROMA_MAINNET_IMAGE_URL=r.KLAYTN_MAINNET_IMAGE_URL=r.KCC_MAINNET_IMAGE_URL=r.IPFS_DEFAULT_GATEWAY_URL=r.INFURA_PROVIDER_TYPES=r.INFURA_BLOCKED_KEY=r.HARMONY_ONE_TOKEN_IMAGE_URL=r.HARMONY_DISPLAY_NAME=r.HAQQ_NETWORK_IMAGE_URL=r.GOERLI_RPC_URL=r.GOERLI_DISPLAY_NAME=r.GNOSIS_TOKEN_IMAGE_URL=r.GNOSIS_DISPLAY_NAME=r.FUSE_GOLD_MAINNET_IMAGE_URL=r.FTM_TOKEN_IMAGE_URL=r.FLARE_MAINNET_IMAGE_URL=r.FILECOIN_MAINNET_IMAGE_URL=r.FEATURED_RPCS=r.FANTOM_DISPLAY_NAME=r.EVMOS_IMAGE_URL=r.ETH_TOKEN_IMAGE_URL=r.ETHERSCAN_SUPPORTED_NETWORKS=r.ETHEREUM_CLASSIC_MAINNET_IMAGE_URL=r.ENDURANCE_SMART_CHAIN_MAINNET_IMAGE_URL=r.DOGECHAIN_IMAGE_URL=r.DFK_CHAIN_IMAGE_URL=r.DEXALOT_SUBNET_IMAGE_URL=r.DEPRECATED_NETWORKS=r.CURRENCY_SYMBOLS=r.CRONOS_IMAGE_URL=r.CRONOS_DISPLAY_NAME=r.CORE_BLOCKCHAIN_MAINNET_IMAGE_URL=r.CONFLUX_ESPACE_IMAGE_URL=r.CHAIN_ID_TO_TYPE_MAP=r.CHAIN_ID_TO_RPC_URL_MAP=r.CHAIN_ID_TO_NETWORK_IMAGE_URL_MAP=r.CHAIN_ID_TO_GAS_LIMIT_BUFFER_MAP=r.CHAIN_ID_TO_ETHERS_NETWORK_NAME_MAP=r.CHAIN_ID_TO_CURRENCY_SYMBOL_MAP_NETWORK_COLLISION=r.CHAIN_ID_TO_CURRENCY_SYMBOL_MAP=r.CHAIN_ID_TOKEN_IMAGE_MAP=r.CHAIN_IDS=r.CHAINLIST_CURRENCY_SYMBOLS_MAP_NETWORK_COLLISION=r.CHAINLIST_CHAIN_IDS_MAP=r.CELO_TOKEN_IMAGE_URL=r.CELO_DISPLAY_NAME=r.CANTO_IMAGE_URL=r.BUYABLE_CHAINS_MAP=r.BUILT_IN_NETWORKS=r.BUILT_IN_INFURA_NETWORKS=r.BSC_DISPLAY_NAME=r.BNB_TOKEN_IMAGE_URL=r.BNB_DISPLAY_NAME=r.BLACKFORT_IMAGE_URL=r.BASE_TOKEN_IMAGE_URL=r.BASE_DISPLAY_NAME=r.BAHAMUT_IMAGE_URL=r.AVAX_TOKEN_IMAGE_URL=r.AVALANCHE_DISPLAY_NAME=r.AURORA_DISPLAY_NAME=r.ASTAR_IMAGE_URL=r.ARBITRUM_NOVA_IMAGE_URL=r.ARBITRUM_DISPLAY_NAME=r.AETH_TOKEN_IMAGE_URL=r.ACALA_TOKEN_IMAGE_URL=void 0,r.infuraProjectId=r.getRpcUrl=r.ZORA_MAINNET_IMAGE_URL=r.ZK_SYNC_ERA_TOKEN_IMAGE_URL=r.ZK_SYNC_ERA_DISPLAY_NAME=r.ZKEVM_MAINNET_IMAGE_URL=r.ZKATANA_MAINNET_IMAGE_URL=r.VELAS_EVM_MAINNET_IMAGE_URL=r.UNSUPPORTED_RPC_METHODS=r.TEST_NETWORK_TICKER_MAP=r.TEST_NETWORKS=r.TEST_ETH_TOKEN_IMAGE_URL=r.TEST_CHAINS=r.TENET_MAINNET_IMAGE_URL=r.TELOS_EVM_MAINNET_IMAGE_URL=r.STEP_NETWORK_IMAGE_URL=r.SONGBIRD_MAINNET_IMAGE_URL=r.SHIB_MAINNET_IMAGE_URL=r.SHARDEUM_SPHINX_1X_IMAGE_URL=r.SHARDEUM_LIBERTY_2X_IMAGE_URL=r.SEPOLIA_RPC_URL=r.SEPOLIA_DISPLAY_NAME=r.SEI_IMAGE_URL=r.SCROLL_SEPOLIA_DISPLAY_NAME=r.SCROLL_IMAGE_URL=r.SCROLL_DISPLAY_NAME=r.PULSECHAIN_MAINNET_IMAGE_URL=r.POLYGON_ZKEVM_DISPLAY_NAME=r.POLYGON_DISPLAY_NAME=r.PGN_MAINNET_IMAGE_URL=r.PALM_TOKEN_IMAGE_URL=r.PALM_DISPLAY_NAME=r.OP_BNB_DISPLAY_NAME=void 0;var n=e("lodash");const o=r.NETWORK_TYPES={GOERLI:"goerli",LOCALHOST:"localhost",MAINNET:"mainnet",RPC:"rpc",SEPOLIA:"sepolia",LINEA_GOERLI:"linea-goerli",LINEA_SEPOLIA:"linea-sepolia",LINEA_MAINNET:"linea-mainnet"},i=r.NETWORK_NAMES={HOMESTEAD:"homestead"},a=r.CHAIN_IDS={MAINNET:"0x1",GOERLI:"0x5",LOCALHOST:"0x539",BSC:"0x38",BSC_TESTNET:"0x61",OPTIMISM:"0xa",OPTIMISM_TESTNET:"0xaa37dc",OPTIMISM_GOERLI:"0x1a4",BASE:"0x2105",BASE_TESTNET:"0x14a33",OPBNB:"0xcc",OPBNB_TESTNET:"0x15eb",POLYGON:"0x89",POLYGON_TESTNET:"0x13881",AVALANCHE:"0xa86a",AVALANCHE_TESTNET:"0xa869",FANTOM:"0xfa",FANTOM_TESTNET:"0xfa2",CELO:"0xa4ec",ARBITRUM:"0xa4b1",HARMONY:"0x63564c40",PALM:"0x2a15c308d",SEPOLIA:"0xaa36a7",LINEA_GOERLI:"0xe704",LINEA_SEPOLIA:"0xe705",LINEA_MAINNET:"0xe708",AURORA:"0x4e454152",MOONBEAM:"0x504",MOONBEAM_TESTNET:"0x507",MOONRIVER:"0x505",CRONOS:"0x19",GNOSIS:"0x64",ZKSYNC_ERA:"0x144",TEST_ETH:"0x539",ARBITRUM_GOERLI:"0x66eed",BLAST:"0x13e31",FILECOIN:"0x13a",POLYGON_ZKEVM:"0x44d",SCROLL:"0x82750",SCROLL_SEPOLIA:"0x8274f",WETHIO:"0x4e",CHZ:"0x15b38",NUMBERS:"0x290b",SEI:"0x531"},s=r.CHAINLIST_CHAIN_IDS_MAP={...a,SCROLL:"0x82750",TAIKO_JOLNIR_L2_MAINNET:"0x28c5f",FANTOM_OPERA:"0xfa",CELO_MAINNET:"0xa4ec",KAVA_EVM:"0x8ae",HARMONY_MAINNET_SHARD_0:"0x63564c40",CRONOS_MAINNET_BETA:"0x19",Q_MAINNET:"0x8a71",HUOBI_ECO_CHAIN_MAINNET:"0x80",ACALA_NETWORK:"0x313",ARBITRUM_NOVA:"0xa4ba",ASTAR:"0x250",BAHAMUT_MAINNET:"0x142d",BLACKFORT_EXCHANGE_NETWORK:"0x1387",CANTO:"0x1e14",CONFLUX_ESPACE:"0x406",CORE_BLOCKCHAIN_MAINNET:"0x45c",DEXALOT_SUBNET:"0x6984c",DFK_CHAIN:"0xd2af",DOGECHAIN_MAINNET:"0x7d0",ENDURANCE_SMART_CHAIN_MAINNET:"0x288",ETHEREUM_CLASSIC_MAINNET:"0x3d",EVMOS:"0x2329",FLARE_MAINNET:"0xe",FUSE_GOLD_MAINNET:"0x7a",HAQQ_NETWORK:"0x2be3",KCC_MAINNET:"0x141",KLAYTN_MAINNET_CYPRESS:"0x2019",KROMA_MAINNET:"0xff",LIGHTLINK_PHOENIX_MAINNET:"0x762",MANTA_PACIFIC_MAINNET:"0xa9",MANTLE:"0x1388",NEAR_AURORA_MAINNET:"0x4e454152",NEBULA_MAINNET:"0x585eb4b1",OASYS_MAINNET:"0xf8",OKXCHAIN_MAINNET:"0x42",PGN_PUBLIC_GOODS_NETWORK:"0x1a8",PULSECHAIN_MAINNET:"0x171",SHARDEUM_LIBERTY_2X:"0x1f91",SHARDEUM_SPHINX_1X:"0x1f92",SHIB_MAINNET:"0x1b",SONGBIRD_CANARY_NETWORK:"0x13",STEP_NETWORK:"0x4d2",TELOS_EVM_MAINNET:"0x28",TENET:"0x617",VELAS_EVM_MAINNET:"0x6a",ZKATANA:"0x133e40",ZORA_MAINNET:"0x76adf1",FILECOIN:"0x13a",NUMBERS:"0x290b"},c=(r.DEPRECATED_NETWORKS=[a.GOERLI,a.ARBITRUM_GOERLI,a.OPTIMISM_GOERLI,a.POLYGON_TESTNET,a.LINEA_GOERLI],r.MAX_SAFE_CHAIN_ID=0xfffffffffffec,r.MAINNET_DISPLAY_NAME="Ethereum Mainnet"),u=r.GOERLI_DISPLAY_NAME="Goerli",l=r.SEPOLIA_DISPLAY_NAME="Sepolia",f=r.LINEA_GOERLI_DISPLAY_NAME="Linea Goerli",d=r.LINEA_SEPOLIA_DISPLAY_NAME="Linea Sepolia",h=r.LINEA_MAINNET_DISPLAY_NAME="Linea Mainnet",p=r.LOCALHOST_DISPLAY_NAME="Localhost 8545",m=r.BSC_DISPLAY_NAME="Binance Smart Chain",g=r.POLYGON_DISPLAY_NAME="Polygon",A=r.AVALANCHE_DISPLAY_NAME="Avalanche Network C-Chain",y=r.ARBITRUM_DISPLAY_NAME="Arbitrum One",_=r.BNB_DISPLAY_NAME="BNB Chain",b=r.OPTIMISM_DISPLAY_NAME="OP Mainnet",v=(r.FANTOM_DISPLAY_NAME="Fantom Opera",r.HARMONY_DISPLAY_NAME="Harmony Mainnet Shard 0",r.PALM_DISPLAY_NAME="Palm",r.CELO_DISPLAY_NAME="Celo Mainnet",r.GNOSIS_DISPLAY_NAME="Gnosis",r.ZK_SYNC_ERA_DISPLAY_NAME="zkSync Era Mainnet"),E=r.BASE_DISPLAY_NAME="Base Mainnet",T=(r.AURORA_DISPLAY_NAME="Aurora Mainnet",r.CRONOS_DISPLAY_NAME="Cronos",r.POLYGON_ZKEVM_DISPLAY_NAME="Polygon zkEVM",r.MOONBEAM_DISPLAY_NAME="Moonbeam",r.MOONRIVER_DISPLAY_NAME="Moonriver",r.SCROLL_DISPLAY_NAME="Scroll"),w=r.SCROLL_SEPOLIA_DISPLAY_NAME="Scroll Sepolia",N=r.OP_BNB_DISPLAY_NAME="opBNB",S=r.infuraProjectId="0d73cc5bbe184146957a9d00764db99f",I=({network:e,excludeProjectId:t=!1})=>`https://${e}.infura.io/v3/${t?"":S}`;r.getRpcUrl=I;const O=r.MAINNET_RPC_URL=I({network:o.MAINNET}),C=r.GOERLI_RPC_URL=I({network:o.GOERLI}),M=r.SEPOLIA_RPC_URL=I({network:o.SEPOLIA}),R=r.LINEA_GOERLI_RPC_URL=I({network:o.LINEA_GOERLI}),P=r.LINEA_SEPOLIA_RPC_URL=I({network:o.LINEA_SEPOLIA}),x=r.LINEA_MAINNET_RPC_URL=I({network:o.LINEA_MAINNET}),k=r.LOCALHOST_RPC_URL="http://localhost:8545",L=r.CURRENCY_SYMBOLS={ARBITRUM:"ETH",AVALANCHE:"AVAX",BNB:"BNB",BUSD:"BUSD",CELO:"CELO",DAI:"DAI",GNOSIS:"XDAI",ETH:"ETH",FANTOM:"FTM",HARMONY:"ONE",PALM:"PALM",MATIC:"MATIC",TEST_ETH:"TESTETH",USDC:"USDC",USDT:"USDT",WETH:"WETH",OPTIMISM:"ETH",CRONOS:"CRO",GLIMMER:"GLMR",MOONRIVER:"MOVR",ONE:"ONE"},j={...L,BASE:"ETH",LINEA_MAINNET:"ETH",OPBNB:"BNB",ZKSYNC_ERA:"ETH",SCROLL:"ETH",ZORA_MAINNET:"ETH",TAIKO_JOLNIR_L2_MAINNET:"ETH",POLYGON_ZKEVM:"ETH",FANTOM_OPERA:"FTM",CELO_MAINNET:"CELO",ARBITRUM_NOVA:"ETH",MANTLE:"MNT",CORE_BLOCKCHAIN_MAINNET:"CORE",MANTA_PACIFIC_MAINNET:"ETH",PULSECHAIN_MAINNET:"PLS",MOONBEAM:"GLMR",FUSE_GOLD_MAINNET:"FUSE",KAVA_EVM:"KAVA",DFK_CHAIN:"JEWEL",HARMONY_MAINNET_SHARD_0:"ONE",PGN_PUBLIC_GOODS_NETWORK:"ETH",LIGHTLINK_PHOENIX_MAINNET:"ETH",NEAR_AURORA_MAINNET:"ETH",KROMA_MAINNET:"ETH",NEBULA_MAINNET:"sFUEL",KLAYTN_MAINNET_CYPRESS:"KLAY",ENDURANCE_SMART_CHAIN_MAINNET:"ACE",CRONOS_MAINNET_BETA:"CRO",FLARE_MAINNET:"FLR",KCC_MAINNET:"KCS",SHARDEUM_SPHINX_1X:"SHM",ETHEREUM_CLASSIC_MAINNET:"ETC",HAQQ_NETWORK:"ISLM",SHARDEUM_LIBERTY_2X:"SHM",BLACKFORT_EXCHANGE_NETWORK:"BXN",CONFLUX_ESPACE:"CFX",CANTO:"CANTO",SHIB_MAINNET:"SHIB",OKXCHAIN_MAINNET:"OKT",ZKATANA:"ETH",DEXALOT_SUBNET:"ALOT",ASTAR:"ASTR",EVMOS:"EVMOS",BAHAMUT_MAINNET:"FTN",SONGBIRD_CANARY_NETWORK:"SGB",STEP_NETWORK:"FITFI",VELAS_EVM_MAINNET:"VLX",Q_MAINNET:"Q",TELOS_EVM_MAINNET:"TLOS",TENET:"TENET",DOGECHAIN_MAINNET:"DOGE",OASYS_MAINNET:"OAS",HUOBI_ECO_CHAIN_MAINNET:"HT",ACALA_NETWORK:"ACA"},B=r.CHAINLIST_CURRENCY_SYMBOLS_MAP_NETWORK_COLLISION={WETHIO:"ZYN",CHZ:"CHZ"},D=r.ETH_TOKEN_IMAGE_URL="./images/eth_logo.svg",U=r.LINEA_GOERLI_TOKEN_IMAGE_URL="./images/linea-logo-testnet.png",H=r.LINEA_SEPOLIA_TOKEN_IMAGE_URL="./images/linea-logo-testnet.png",F=r.LINEA_MAINNET_TOKEN_IMAGE_URL="./images/linea-logo-mainnet.svg",G=r.TEST_ETH_TOKEN_IMAGE_URL="./images/black-eth-logo.svg",K=r.BNB_TOKEN_IMAGE_URL="./images/bnb.svg",z=r.MATIC_TOKEN_IMAGE_URL="./images/matic-token.svg",W=r.AVAX_TOKEN_IMAGE_URL="./images/avax-token.svg",Y=r.AETH_TOKEN_IMAGE_URL="./images/arbitrum.svg",V=r.FTM_TOKEN_IMAGE_URL="./images/fantom-opera.svg",$=r.HARMONY_ONE_TOKEN_IMAGE_URL="./images/harmony-one.svg",X=r.OPTIMISM_TOKEN_IMAGE_URL="./images/optimism.svg",q=r.PALM_TOKEN_IMAGE_URL="./images/palm.svg",Q=r.CELO_TOKEN_IMAGE_URL="./images/celo.svg",J=r.GNOSIS_TOKEN_IMAGE_URL="./images/gnosis.svg",Z=r.ZK_SYNC_ERA_TOKEN_IMAGE_URL="./images/zk-sync.svg",ee=r.BASE_TOKEN_IMAGE_URL="./images/base.svg",te=r.ACALA_TOKEN_IMAGE_URL="./images/acala-network-logo.svg",re=r.ARBITRUM_NOVA_IMAGE_URL="./images/arbitrum-nova-logo.svg",ne=r.ASTAR_IMAGE_URL="./images/astar-logo.svg",oe=r.BAHAMUT_IMAGE_URL="./images/bahamut.png",ie=r.BLACKFORT_IMAGE_URL="./images/blackfort.png",ae=r.CANTO_IMAGE_URL="./images/canto.svg",se=r.CONFLUX_ESPACE_IMAGE_URL="./images/conflux.svg",ce=r.CORE_BLOCKCHAIN_MAINNET_IMAGE_URL="./images/core.svg",ue=r.CRONOS_IMAGE_URL="./images/cronos.svg",le=r.DEXALOT_SUBNET_IMAGE_URL="./images/dexalut-subnet.svg",fe=r.DFK_CHAIN_IMAGE_URL="./images/dfk.png",de=r.DOGECHAIN_IMAGE_URL="./images/dogechain.jpeg",he=r.ENDURANCE_SMART_CHAIN_MAINNET_IMAGE_URL="./images/endurance-smart-chain-mainnet.png",pe=r.ETHEREUM_CLASSIC_MAINNET_IMAGE_URL="./images/eth_classic.svg",me=r.EVMOS_IMAGE_URL="./images/evmos.svg",ge=r.FLARE_MAINNET_IMAGE_URL="./images/flare-mainnet.svg",Ae=r.FUSE_GOLD_MAINNET_IMAGE_URL="./images/fuse-mainnet.jpg",ye=r.HAQQ_NETWORK_IMAGE_URL="./images/haqq.svg",_e=r.KCC_MAINNET_IMAGE_URL="./images/kcc-mainnet.svg",be=r.KLAYTN_MAINNET_IMAGE_URL="./images/klaytn.svg",ve=r.KROMA_MAINNET_IMAGE_URL="./images/kroma.svg",Ee=r.LIGHT_LINK_IMAGE_URL="./images/lightlink.svg",Te=r.MANTA_PACIFIC_MAINNET_IMAGE_URL="./images/manta.svg",we=r.MANTLE_MAINNET_IMAGE_URL="./images/mantle.svg",Ne=r.MOONBEAM_IMAGE_URL="./images/moonbeam.svg",Se=r.MOONRIVER_IMAGE_URL="./images/moonriver.svg",Ie=r.NEAR_AURORA_MAINNET_IMAGE_URL="./images/near-aurora.svg",Oe=r.NEBULA_MAINNET_IMAGE_URL="./images/nebula.svg",Ce=r.OASYS_MAINNET_IMAGE_URL="./images/oasys.svg",Me=r.OKXCHAIN_MAINNET_IMAGE_URL="./images/okx.svg",Re=r.PGN_MAINNET_IMAGE_URL="./images/pgn.svg",Pe=r.ZKEVM_MAINNET_IMAGE_URL="./images/polygon-zkevm.svg",xe=r.PULSECHAIN_MAINNET_IMAGE_URL="./images/pulse.svg",ke=r.SHARDEUM_LIBERTY_2X_IMAGE_URL="./images/shardeum-2.svg",Le=r.SHARDEUM_SPHINX_1X_IMAGE_URL="./images/shardeum-1.svg",je=r.SHIB_MAINNET_IMAGE_URL="./images/shiba.svg",Be=r.SONGBIRD_MAINNET_IMAGE_URL="./images/songbird.svg",De=r.STEP_NETWORK_IMAGE_URL="./images/step.svg",Ue=r.TELOS_EVM_MAINNET_IMAGE_URL="./images/telos.svg",He=r.TENET_MAINNET_IMAGE_URL="./images/tenet.svg",Fe=r.VELAS_EVM_MAINNET_IMAGE_URL="./images/velas.svg",Ge=r.ZKATANA_MAINNET_IMAGE_URL="./images/zkatana.png",Ke=r.ZORA_MAINNET_IMAGE_URL="./images/zora.svg",ze=r.FILECOIN_MAINNET_IMAGE_URL="./images/filecoin.svg",We=r.SCROLL_IMAGE_URL="./images/scroll.svg",Ye=r.NUMBERS_MAINNET_IMAGE_URL="./images/numbers-mainnet.svg",Ve=r.NUMBERS_TOKEN_IMAGE_URL="./images/numbers-token.png",$e=r.SEI_IMAGE_URL="./images/sei.svg",Xe=r.INFURA_PROVIDER_TYPES=[o.MAINNET,o.SEPOLIA,o.LINEA_GOERLI,o.LINEA_SEPOLIA,o.LINEA_MAINNET],qe=(r.TEST_CHAINS=[a.SEPOLIA,o.LINEA_GOERLI,a.LINEA_SEPOLIA,a.LOCALHOST],r.MAINNET_CHAINS=[{chainId:a.MAINNET,rpcUrl:O},{chainId:a.LINEA_MAINNET,rpcUrl:x}],e=>(0,n.capitalize)(e)),Qe=r.TEST_NETWORK_TICKER_MAP={[o.GOERLI]:`${qe(o.GOERLI)}${L.ETH}`,[o.SEPOLIA]:`${qe(o.SEPOLIA)}${L.ETH}`,[o.LINEA_GOERLI]:`Linea${L.ETH}`,[o.LINEA_SEPOLIA]:`Linea${L.ETH}`},Je=r.BUILT_IN_NETWORKS={[o.SEPOLIA]:{chainId:a.SEPOLIA,ticker:Qe[o.SEPOLIA],blockExplorerUrl:`https://${o.SEPOLIA}.etherscan.io`},[o.LINEA_GOERLI]:{chainId:a.LINEA_GOERLI,ticker:Qe[o.LINEA_GOERLI],blockExplorerUrl:"https://goerli.lineascan.build"},[o.LINEA_SEPOLIA]:{chainId:a.LINEA_SEPOLIA,ticker:Qe[o.LINEA_SEPOLIA],blockExplorerUrl:"https://sepolia.lineascan.build"},[o.MAINNET]:{chainId:a.MAINNET,blockExplorerUrl:"https://etherscan.io"},[o.LINEA_MAINNET]:{chainId:a.LINEA_MAINNET,blockExplorerUrl:"https://lineascan.build"},[o.LOCALHOST]:{chainId:a.LOCALHOST}},Ze=(r.BUILT_IN_INFURA_NETWORKS=(0,n.pick)(Je,Xe),r.NETWORK_TO_NAME_MAP={[o.GOERLI]:u,[o.MAINNET]:c,[o.LINEA_GOERLI]:f,[o.LINEA_SEPOLIA]:d,[o.LINEA_MAINNET]:h,[o.LOCALHOST]:p,[o.SEPOLIA]:l,[a.ARBITRUM]:y,[a.AVALANCHE]:A,[a.BSC]:m,[a.BASE]:E,[a.GOERLI]:u,[a.MAINNET]:c,[a.LINEA_GOERLI]:f,[a.LINEA_MAINNET]:h,[a.LINEA_SEPOLIA]:d,[a.LOCALHOST]:p,[a.OPTIMISM]:b,[a.POLYGON]:g,[a.SCROLL]:T,[a.SCROLL_SEPOLIA]:w,[a.SEPOLIA]:l,[a.OPBNB]:N},r.CHAIN_ID_TO_CURRENCY_SYMBOL_MAP={[s.AVALANCHE]:j.AVALANCHE,[s.BSC]:j.BNB,[s.BASE]:j.BASE,[s.ARBITRUM]:j.ARBITRUM,[s.LINEA_MAINNET]:j.LINEA_MAINNET,[s.MAINNET]:j.ETH,[s.OPBNB]:j.OPBNB,[s.OPTIMISM]:j.OPTIMISM,[s.POLYGON]:j.MATIC,[s.ZKSYNC_ERA]:j.ZKSYNC_ERA,[s.GOERLI]:Qe[o.GOERLI],[s.SEPOLIA]:Qe[o.SEPOLIA],[s.LINEA_GOERLI]:Qe[o.LINEA_GOERLI],[s.LINEA_SEPOLIA]:Qe[o.LINEA_SEPOLIA],[s.SCROLL]:j.SCROLL,[s.ZORA_MAINNET]:j.ZORA_MAINNET,[s.TAIKO_JOLNIR_L2_MAINNET]:j.TAIKO_JOLNIR_L2_MAINNET,[s.POLYGON_ZKEVM]:j.POLYGON_ZKEVM,[s.FANTOM_OPERA]:j.FANTOM_OPERA,[s.CELO_MAINNET]:j.CELO_MAINNET,[s.ARBITRUM_NOVA]:j.ARBITRUM_NOVA,[s.MANTLE]:j.MANTLE,[s.GNOSIS]:j.GNOSIS,[s.CORE_BLOCKCHAIN_MAINNET]:j.CORE_BLOCKCHAIN_MAINNET,[s.MANTA_PACIFIC_MAINNET]:j.MANTA_PACIFIC_MAINNET,[s.PULSECHAIN_MAINNET]:j.PULSECHAIN_MAINNET,[s.MOONBEAM]:j.MOONBEAM,[s.FUSE_GOLD_MAINNET]:j.FUSE_GOLD_MAINNET,[s.KAVA_EVM]:j.KAVA_EVM,[s.DFK_CHAIN]:j.DFK_CHAIN,[s.HARMONY_MAINNET_SHARD_0]:j.HARMONY_MAINNET_SHARD_0,[s.PGN_PUBLIC_GOODS_NETWORK]:j.PGN_PUBLIC_GOODS_NETWORK,[s.LIGHTLINK_PHOENIX_MAINNET]:j.LIGHTLINK_PHOENIX_MAINNET,[s.NEAR_AURORA_MAINNET]:j.NEAR_AURORA_MAINNET,[s.KROMA_MAINNET]:j.KROMA_MAINNET,[s.NEBULA_MAINNET]:j.NEBULA_MAINNET,[s.KLAYTN_MAINNET_CYPRESS]:j.KLAYTN_MAINNET_CYPRESS,[s.MOONRIVER]:j.MOONRIVER,[s.ENDURANCE_SMART_CHAIN_MAINNET]:j.ENDURANCE_SMART_CHAIN_MAINNET,[s.CRONOS_MAINNET_BETA]:j.CRONOS_MAINNET_BETA,[s.FLARE_MAINNET]:j.FLARE_MAINNET,[s.KCC_MAINNET]:j.KCC_MAINNET,[s.SHARDEUM_SPHINX_1X]:j.SHARDEUM_SPHINX_1X,[s.ETHEREUM_CLASSIC_MAINNET]:j.ETHEREUM_CLASSIC_MAINNET,[s.HAQQ_NETWORK]:j.HAQQ_NETWORK,[s.SHARDEUM_LIBERTY_2X]:j.SHARDEUM_LIBERTY_2X,[s.BLACKFORT_EXCHANGE_NETWORK]:j.BLACKFORT_EXCHANGE_NETWORK,[s.CONFLUX_ESPACE]:j.CONFLUX_ESPACE,[s.CANTO]:j.CANTO,[s.SHIB_MAINNET]:j.SHIB_MAINNET,[s.OKXCHAIN_MAINNET]:j.OKXCHAIN_MAINNET,[s.ZKATANA]:j.ZKATANA,[s.DEXALOT_SUBNET]:j.DEXALOT_SUBNET,[s.ASTAR]:j.ASTAR,[s.EVMOS]:j.EVMOS,[s.BAHAMUT_MAINNET]:j.BAHAMUT_MAINNET,[s.SONGBIRD_CANARY_NETWORK]:j.SONGBIRD_CANARY_NETWORK,[s.STEP_NETWORK]:j.STEP_NETWORK,[s.VELAS_EVM_MAINNET]:j.VELAS_EVM_MAINNET,[s.Q_MAINNET]:j.Q_MAINNET,[s.TELOS_EVM_MAINNET]:j.TELOS_EVM_MAINNET,[s.TENET]:j.TENET,[s.DOGECHAIN_MAINNET]:j.DOGECHAIN_MAINNET,[s.OASYS_MAINNET]:j.OASYS_MAINNET,[s.HUOBI_ECO_CHAIN_MAINNET]:j.HUOBI_ECO_CHAIN_MAINNET,[s.ACALA_NETWORK]:j.ACALA_NETWORK},r.CHAIN_ID_TO_CURRENCY_SYMBOL_MAP_NETWORK_COLLISION={[s.CHZ]:[{currencySymbol:B.CHZ}],[s.WETHIO]:[{currencySymbol:B.WETHIO}]},r.CHAIN_ID_TO_TYPE_MAP={[a.MAINNET]:o.MAINNET,[a.GOERLI]:o.GOERLI,[a.SEPOLIA]:o.SEPOLIA,[a.LINEA_GOERLI]:o.LINEA_GOERLI,[a.LINEA_SEPOLIA]:o.LINEA_SEPOLIA,[a.LINEA_MAINNET]:o.LINEA_MAINNET,[a.LOCALHOST]:o.LOCALHOST}),et=(r.CHAIN_ID_TO_RPC_URL_MAP={[a.GOERLI]:C,[a.SEPOLIA]:M,[a.LINEA_GOERLI]:R,[a.LINEA_SEPOLIA]:P,[a.MAINNET]:O,[a.LINEA_MAINNET]:x,[a.LOCALHOST]:k},r.CHAIN_ID_TO_NETWORK_IMAGE_URL_MAP={[a.MAINNET]:D,[a.LINEA_GOERLI]:U,[a.LINEA_SEPOLIA]:H,[a.LINEA_MAINNET]:F,[a.AVALANCHE]:W,[a.BSC]:K,[a.POLYGON]:z,[a.ARBITRUM]:Y,[a.FANTOM]:V,[a.HARMONY]:$,[a.OPTIMISM]:X,[a.PALM]:q,[a.CELO]:Q,[a.GNOSIS]:J,[s.ACALA_NETWORK]:te,[s.ARBITRUM_NOVA]:re,[s.ASTAR]:ne,[s.BAHAMUT_MAINNET]:oe,[s.BLACKFORT_EXCHANGE_NETWORK]:ie,[s.CANTO]:ae,[s.CONFLUX_ESPACE]:se,[s.CORE_BLOCKCHAIN_MAINNET]:ce,[a.CRONOS]:ue,[s.DEXALOT_SUBNET]:le,[s.DFK_CHAIN]:fe,[s.DOGECHAIN_MAINNET]:de,[s.ENDURANCE_SMART_CHAIN_MAINNET]:he,[s.ETHEREUM_CLASSIC_MAINNET]:pe,[s.EVMOS]:me,[s.FLARE_MAINNET]:ge,[s.FUSE_GOLD_MAINNET]:Ae,[s.HAQQ_NETWORK]:ye,[s.KCC_MAINNET]:_e,[s.KLAYTN_MAINNET_CYPRESS]:be,[s.KROMA_MAINNET]:ve,[s.LIGHTLINK_PHOENIX_MAINNET]:Ee,[s.MANTA_PACIFIC_MAINNET]:Te,[s.MANTLE]:we,[s.MOONBEAM]:Ne,[s.MOONRIVER]:Se,[s.NEAR_AURORA_MAINNET]:Ie,[s.NEBULA_MAINNET]:Oe,[s.OASYS_MAINNET]:Ce,[s.OKXCHAIN_MAINNET]:Me,[s.PGN_PUBLIC_GOODS_NETWORK]:Re,[s.POLYGON_ZKEVM]:Pe,[s.PULSECHAIN_MAINNET]:xe,[s.SHARDEUM_LIBERTY_2X]:ke,[s.SHARDEUM_SPHINX_1X]:Le,[s.SHIB_MAINNET]:je,[s.SONGBIRD_CANARY_NETWORK]:Be,[s.STEP_NETWORK]:De,[s.TELOS_EVM_MAINNET]:Ue,[s.TENET]:He,[s.VELAS_EVM_MAINNET]:Fe,[s.ZKATANA]:Ge,[s.ZORA_MAINNET]:Ke,[s.FILECOIN]:ze,[s.BASE]:ee,[s.NUMBERS]:Ye,[s.SEI]:$e},r.CHAIN_ID_TO_ETHERS_NETWORK_NAME_MAP={[a.GOERLI]:o.GOERLI,[a.SEPOLIA]:o.SEPOLIA,[a.LINEA_GOERLI]:o.LINEA_GOERLI,[a.LINEA_SEPOLIA]:o.LINEA_SEPOLIA,[a.MAINNET]:i.HOMESTEAD,[a.LINEA_MAINNET]:o.LINEA_MAINNET},r.CHAIN_ID_TOKEN_IMAGE_MAP={[a.MAINNET]:D,[a.TEST_ETH]:G,[a.BSC]:K,[a.POLYGON]:z,[a.AVALANCHE]:W,[a.OPTIMISM]:D,[a.CELO]:Q,[a.GNOSIS]:J,[a.FANTOM]:V,[a.FILECOIN]:ze,[a.SCROLL]:We,[a.SCROLL_SEPOLIA]:We,[a.NUMBERS]:Ve,[a.SEI]:$e},r.INFURA_BLOCKED_KEY="countryBlocked","etherscan.io"),tt="api";r.ETHERSCAN_SUPPORTED_NETWORKS={[a.GOERLI]:{domain:et,subdomain:`${tt}-${Ze[a.GOERLI]}`},[a.MAINNET]:{domain:et,subdomain:tt},[a.SEPOLIA]:{domain:et,subdomain:`${tt}-${Ze[a.SEPOLIA]}`},[a.LINEA_GOERLI]:{domain:"lineascan.build",subdomain:"goerli"},[a.LINEA_SEPOLIA]:{domain:"lineascan.build",subdomain:"sepolia"},[a.LINEA_MAINNET]:{domain:"lineascan.build",subdomain:tt},[a.BSC]:{domain:"bscscan.com",subdomain:tt},[a.BSC_TESTNET]:{domain:"bscscan.com",subdomain:`${tt}-testnet`},[a.OPTIMISM]:{domain:et,subdomain:`${tt}-optimistic`},[a.OPTIMISM_TESTNET]:{domain:et,subdomain:`${tt}-sepolia-optimistic`},[a.POLYGON]:{domain:"polygonscan.com",subdomain:tt},[a.POLYGON_TESTNET]:{domain:"polygonscan.com",subdomain:`${tt}-mumbai`},[a.AVALANCHE]:{domain:"snowtrace.io",subdomain:tt},[a.AVALANCHE_TESTNET]:{domain:"snowtrace.io",subdomain:`${tt}-testnet`},[a.FANTOM]:{domain:"ftmscan.com",subdomain:tt},[a.FANTOM_TESTNET]:{domain:"ftmscan.com",subdomain:`${tt}-testnet`},[a.MOONBEAM]:{domain:"moonscan.io",subdomain:`${tt}-moonbeam`},[a.MOONBEAM_TESTNET]:{domain:"moonscan.io",subdomain:`${tt}-moonbase`},[a.MOONRIVER]:{domain:"moonscan.io",subdomain:`${tt}-moonriver`},[a.GNOSIS]:{domain:"gnosisscan.io",subdomain:`${tt}-gnosis`}},r.CHAIN_ID_TO_GAS_LIMIT_BUFFER_MAP={[a.OPTIMISM]:1,[a.OPTIMISM_TESTNET]:1},r.UNSUPPORTED_RPC_METHODS=new Set(["eth_signTransaction"]),r.IPFS_DEFAULT_GATEWAY_URL="dweb.link",r.BUYABLE_CHAINS_MAP={[a.MAINNET]:{nativeCurrency:L.ETH,network:"ethereum"},[a.BSC]:{nativeCurrency:L.BNB,network:"bsc"},[a.POLYGON]:{nativeCurrency:L.MATIC,network:"polygon"},[a.AVALANCHE]:{nativeCurrency:L.AVALANCHE,network:"avaxcchain"},[a.FANTOM]:{nativeCurrency:L.FANTOM,network:"fantom"},[a.CELO]:{nativeCurrency:L.CELO,network:"celo"},[a.OPTIMISM]:{nativeCurrency:L.ETH,network:"optimism"},[a.ARBITRUM]:{nativeCurrency:L.ARBITRUM,network:"arbitrum"},[a.CRONOS]:{nativeCurrency:L.CRONOS,network:"cronos"},[a.MOONBEAM]:{nativeCurrency:L.GLIMMER,network:"moonbeam"},[a.MOONRIVER]:{nativeCurrency:L.MOONRIVER,network:"moonriver"},[a.HARMONY]:{nativeCurrency:L.ONE,network:"harmony"},[a.PALM]:{nativeCurrency:L.PALM,network:"palm"},[a.LINEA_MAINNET]:{nativeCurrency:L.ETH,network:"linea"},[a.ZKSYNC_ERA]:{nativeCurrency:L.ETH,network:"zksync"},[a.BASE]:{nativeCurrency:L.ETH,network:"base"}},r.FEATURED_RPCS=[{chainId:a.ARBITRUM,nickname:y,rpcUrl:`https://arbitrum-mainnet.infura.io/v3/${S}`,ticker:L.ARBITRUM,rpcPrefs:{blockExplorerUrl:"https://explorer.arbitrum.io",imageUrl:Y}},{chainId:a.AVALANCHE,nickname:A,rpcUrl:`https://avalanche-mainnet.infura.io/v3/${S}`,ticker:L.AVALANCHE,rpcPrefs:{blockExplorerUrl:"https://snowtrace.io/",imageUrl:W}},{chainId:a.BSC,nickname:_,rpcUrl:"https://bsc-dataseed.binance.org/",ticker:L.BNB,rpcPrefs:{blockExplorerUrl:"https://bscscan.com/",imageUrl:K}},{chainId:a.OPTIMISM,nickname:b,rpcUrl:`https://optimism-mainnet.infura.io/v3/${S}`,ticker:L.ETH,rpcPrefs:{blockExplorerUrl:"https://optimistic.etherscan.io/",imageUrl:X}},{chainId:a.POLYGON,nickname:`${g} ${(0,n.capitalize)(o.MAINNET)}`,rpcUrl:`https://polygon-mainnet.infura.io/v3/${S}`,ticker:L.MATIC,rpcPrefs:{blockExplorerUrl:"https://polygonscan.com/",imageUrl:z}},{chainId:a.ZKSYNC_ERA,nickname:v,rpcUrl:"https://mainnet.era.zksync.io",ticker:L.ETH,rpcPrefs:{blockExplorerUrl:"https://explorer.zksync.io/",imageUrl:Z}},{chainId:a.BASE,nickname:E,rpcUrl:"https://mainnet.base.org",ticker:L.ETH,rpcPrefs:{blockExplorerUrl:"https://basescan.org",imageUrl:ee}}];r.NetworkStatus=function(e){return e.Unknown="unknown",e.Available="available",e.Unavailable="unavailable",e.Blocked="blocked",e}({});r.TEST_NETWORKS=[u,l,f,d]}}},{package:"$root$",file:"shared/constants/network.ts"}],[4508,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.NOTIFICATION_WIDTH=r.NOTIFICATION_HEIGHT=void 0;r.NOTIFICATION_HEIGHT=620,r.NOTIFICATION_WIDTH=360}}},{package:"$root$",file:"shared/constants/notifications.ts"}],[4509,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.TrezorAction=r.OffscreenCommunicationTarget=r.OffscreenCommunicationEvents=r.LedgerAction=r.KnownOrigins=void 0;r.OffscreenCommunicationTarget=function(e){return e.trezorOffscreen="trezor-offscreen",e.ledgerOffscreen="ledger-offscreen",e.latticeOffscreen="lattice-offscreen",e.extension="extension-offscreen",e.extensionMain="extension",e}({}),r.OffscreenCommunicationEvents=function(e){return e.trezorDeviceConnect="trezor-device-connect",e.ledgerDeviceConnect="ledger-device-connect",e}({}),r.TrezorAction=function(e){return e.init="trezor-init",e.dispose="trezor-dispose",e.getPublicKey="trezor-get-public-key",e.signTransaction="trezor-sign-transaction",e.signMessage="trezor-sign-message",e.signTypedData="trezor-sign-typed-data",e}({}),r.LedgerAction=function(e){return e.makeApp="ledger-make-app",e.updateTransport="ledger-update-transport",e.unlock="ledger-unlock",e.getPublicKey="ledger-unlock",e.signTransaction="ledger-sign-transaction",e.signPersonalMessage="ledger-sign-personal-message",e.signTypedData="ledger-sign-typed-data",e}({}),r.KnownOrigins=function(e){return e.lattice="https://lattice.gridplus.io",e.ledger="https://metamask.github.io",e}({})}}},{package:"$root$",file:"shared/constants/offscreen-communication.ts"}],[451,{"../_version":446,"./abstract-coder":448,"./anonymous":450,"@ethersproject/logger":504},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.ArrayCoder=r.unpack=r.pack=void 0;var i=e("@ethersproject/logger"),a=e("../_version"),s=new i.Logger(a.version),c=e("./abstract-coder"),u=e("./anonymous");function l(e,t,r){var n=null;if(Array.isArray(r))n=r;else if(r&&"object"==typeof r){var o={};n=t.map((function(e){var t=e.localName;return t||s.throwError("cannot encode object for signature with missing names",i.Logger.errors.INVALID_ARGUMENT,{argument:"values",coder:e,value:r}),o[t]&&s.throwError("cannot encode object for signature with duplicate names",i.Logger.errors.INVALID_ARGUMENT,{argument:"values",coder:e,value:r}),o[t]=!0,r[t]}))}else s.throwArgumentError("invalid tuple value","tuple",r);t.length!==n.length&&s.throwArgumentError("types/value length mismatch","tuple",r);var a=new c.Writer(e.wordSize),u=new c.Writer(e.wordSize),l=[];t.forEach((function(e,t){var r=n[t];if(e.dynamic){var o=u.length;e.encode(u,r);var i=a.writeUpdatableValue();l.push((function(e){i(e+o)}))}else e.encode(a,r)})),l.forEach((function(e){e(a.length)}));var f=e.appendWriter(a);return f+=e.appendWriter(u)}function f(e,t){var r=[],n=e.subReader(0);t.forEach((function(t){var o=null;if(t.dynamic){var a=e.readValue(),s=n.subReader(a.toNumber());try{o=t.decode(s)}catch(e){if(e.code===i.Logger.errors.BUFFER_OVERRUN)throw e;(o=e).baseType=t.name,o.name=t.localName,o.type=t.type}}else try{o=t.decode(e)}catch(e){if(e.code===i.Logger.errors.BUFFER_OVERRUN)throw e;(o=e).baseType=t.name,o.name=t.localName,o.type=t.type}o!=undefined&&r.push(o)}));var o=t.reduce((function(e,t){var r=t.localName;return r&&(e[r]||(e[r]=0),e[r]++),e}),{});t.forEach((function(e,t){var n=e.localName;if(n&&1===o[n]&&("length"===n&&(n="_length"),null==r[n])){var i=r[t];i instanceof Error?Object.defineProperty(r,n,{enumerable:!0,get:function(){throw i}}):r[n]=i}}));for(var a=function(e){var t=r[e];t instanceof Error&&Object.defineProperty(r,e,{enumerable:!0,get:function(){throw t}})},s=0;s=0?r:"")+"]",a=-1===r||t.dynamic;return(o=e.call(this,"array",i,n,a)||this).coder=t,o.length=r,o}return o(t,e),t.prototype.defaultValue=function(){for(var e=this.coder.defaultValue(),t=[],r=0;re._data.length&&s.throwError("insufficient data length",i.Logger.errors.BUFFER_OVERRUN,{length:e._data.length,count:t});for(var r=[],n=0;n(0,n.isProduction)()?s:a;r.SKIP_STX_RPC_URL_CHECK_CHAIN_IDS=[i.CHAIN_IDS.SEPOLIA],r.CANCEL_GAS_LIMIT_DEC=21e3,r.SMART_TRANSACTIONS_LEARN_MORE_URL="https://support.metamask.io/transactions-and-gas/transactions/smart-transactions/"}}},{package:"$root$",file:"shared/constants/smartTransactions.ts"}],[4515,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.ExcludedSnapPermissions=r.ExcludedSnapEndowments=r.EndowmentPermissions=r.DynamicSnapPermissions=void 0;r.EndowmentPermissions=Object.freeze({"endowment:network-access":"endowment:network-access","endowment:transaction-insight":"endowment:transaction-insight","endowment:cronjob":"endowment:cronjob","endowment:ethereum-provider":"endowment:ethereum-provider","endowment:rpc":"endowment:rpc","endowment:webassembly":"endowment:webassembly","endowment:lifecycle-hooks":"endowment:lifecycle-hooks","endowment:page-home":"endowment:page-home","endowment:signature-insight":"endowment:signature-insight","endowment:name-lookup":"endowment:name-lookup","endowment:keyring":"endowment:keyring"}),r.ExcludedSnapPermissions=Object.freeze({eth_accounts:"eth_accounts is disabled. For more information please see https://github.com/MetaMask/snaps/issues/990."}),r.ExcludedSnapEndowments=Object.freeze({}),r.DynamicSnapPermissions=Object.freeze(["eth_accounts"])}}},{package:"$root$",file:"shared/constants/snaps/permissions.ts"}],[4516,{"./network":4507},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.ZKSYNC_ERA_SWAPS_TOKEN_OBJECT=r.ZKSYNC_ERA=r.WMATIC_CONTRACT_ADDRESS=r.WETH_ZKSYNC_ERA_CONTRACT_ADDRESS=r.WETH_OPTIMISM_CONTRACT_ADDRESS=r.WETH_LINEA_CONTRACT_ADDRESS=r.WETH_GOERLI_CONTRACT_ADDRESS=r.WETH_CONTRACT_ADDRESS=r.WETH_BASE_CONTRACT_ADDRESS=r.WETH_ARBITRUM_CONTRACT_ADDRESS=r.WBNB_CONTRACT_ADDRESS=r.WAVAX_CONTRACT_ADDRESS=r.TokenBucketPriority=r.TOKEN_API_BASE_URL=r.TEST_ETH_SWAPS_TOKEN_OBJECT=r.Slippage=r.SWAP_FAILED_ERROR=r.SWAPS_WRAPPED_TOKENS_ADDRESSES=r.SWAPS_FETCH_ORDER_CONFLICT=r.SWAPS_DEV_API_V2_BASE_URL=r.SWAPS_CLIENT_ID=r.SWAPS_CHAINID_DEFAULT_TOKEN_MAP=r.SWAPS_CHAINID_DEFAULT_BLOCK_EXPLORER_URL_MAP=r.SWAPS_CHAINID_CONTRACT_ADDRESS_MAP=r.SWAPS_API_V2_BASE_URL=r.SLIPPAGE_VERY_HIGH_ERROR=r.SLIPPAGE_NEGATIVE_ERROR=r.SLIPPAGE_LOW_ERROR=r.SLIPPAGE_HIGH_ERROR=r.SEPOLIA_SWAPS_TOKEN_OBJECT=r.QUOTES_NOT_AVAILABLE_ERROR=r.QUOTES_EXPIRED_ERROR=r.POLYGON=r.OPTIMISM_SWAPS_TOKEN_OBJECT=r.OPTIMISM=r.OFFLINE_FOR_MAINTENANCE=r.MAX_ALLOWED_SLIPPAGE=r.MATIC_SWAPS_TOKEN_OBJECT=r.LINEA_SWAPS_TOKEN_OBJECT=r.LINEA=r.GOERLI_SWAPS_TOKEN_OBJECT=r.GOERLI=r.GAS_DEV_API_BASE_URL=r.GAS_API_BASE_URL=r.ETH_SWAPS_TOKEN_OBJECT=r.ETHEREUM=r.ERROR_FETCHING_QUOTES=r.DEFAULT_ERC20_APPROVE_GAS=r.CONTRACT_DATA_DISABLED_ERROR=r.BSC=r.BNB_SWAPS_TOKEN_OBJECT=r.BASE_SWAPS_TOKEN_OBJECT=r.BASE=r.AVAX_SWAPS_TOKEN_OBJECT=r.AVALANCHE=r.ARBITRUM_SWAPS_TOKEN_OBJECT=r.ARBITRUM=r.ALLOWED_SMART_TRANSACTIONS_CHAIN_IDS=r.ALLOWED_PROD_SWAPS_CHAIN_IDS=r.ALLOWED_DEV_SWAPS_CHAIN_IDS=r.ALLOWED_CONTRACT_ADDRESSES=void 0;var n=e("./network");r.QUOTES_EXPIRED_ERROR="quotes-expired",r.SWAP_FAILED_ERROR="swap-failed-error",r.ERROR_FETCHING_QUOTES="error-fetching-quotes",r.QUOTES_NOT_AVAILABLE_ERROR="quotes-not-avilable",r.CONTRACT_DATA_DISABLED_ERROR="contract-data-disabled",r.OFFLINE_FOR_MAINTENANCE="offline-for-maintenance",r.SWAPS_FETCH_ORDER_CONFLICT="swaps-fetch-order-conflict",r.SLIPPAGE_VERY_HIGH_ERROR="slippage-very-high",r.SLIPPAGE_HIGH_ERROR="slippage-high",r.SLIPPAGE_LOW_ERROR="slippage-low",r.SLIPPAGE_NEGATIVE_ERROR="slippage-negative",r.MAX_ALLOWED_SLIPPAGE=15;const o="0x0000000000000000000000000000000000000000",i=r.ETH_SWAPS_TOKEN_OBJECT={symbol:n.CURRENCY_SYMBOLS.ETH,name:"Ether",address:o,decimals:18,iconUrl:n.ETH_TOKEN_IMAGE_URL},a=r.BNB_SWAPS_TOKEN_OBJECT={symbol:n.CURRENCY_SYMBOLS.BNB,name:"Binance Coin",address:o,decimals:18,iconUrl:n.BNB_TOKEN_IMAGE_URL},s=r.MATIC_SWAPS_TOKEN_OBJECT={symbol:n.CURRENCY_SYMBOLS.MATIC,name:"Matic",address:o,decimals:18,iconUrl:n.MATIC_TOKEN_IMAGE_URL},c=r.AVAX_SWAPS_TOKEN_OBJECT={symbol:n.CURRENCY_SYMBOLS.AVALANCHE,name:"Avalanche",address:o,decimals:18,iconUrl:n.AVAX_TOKEN_IMAGE_URL},u=r.TEST_ETH_SWAPS_TOKEN_OBJECT={symbol:n.CURRENCY_SYMBOLS.TEST_ETH,name:"Test Ether",address:o,decimals:18,iconUrl:n.TEST_ETH_TOKEN_IMAGE_URL},l=r.GOERLI_SWAPS_TOKEN_OBJECT={symbol:n.CURRENCY_SYMBOLS.ETH,name:"Ether",address:o,decimals:18,iconUrl:n.TEST_ETH_TOKEN_IMAGE_URL},f=(r.SEPOLIA_SWAPS_TOKEN_OBJECT={symbol:n.CURRENCY_SYMBOLS.ETH,name:"Ether",address:o,decimals:18,iconUrl:n.TEST_ETH_TOKEN_IMAGE_URL},r.ARBITRUM_SWAPS_TOKEN_OBJECT={...i}),d=r.OPTIMISM_SWAPS_TOKEN_OBJECT={...i},h=r.ZKSYNC_ERA_SWAPS_TOKEN_OBJECT={...i},p=r.LINEA_SWAPS_TOKEN_OBJECT={...i},m=r.BASE_SWAPS_TOKEN_OBJECT={...i},g=(r.DEFAULT_ERC20_APPROVE_GAS="0x1d4c0","0x881d40237659c251811cec9c364ef91dc08d300c"),A=r.WETH_CONTRACT_ADDRESS="0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",y=r.WETH_GOERLI_CONTRACT_ADDRESS="0xB4FBF271143F4FBf7B91A5ded31805e42b2208d6",_=r.WBNB_CONTRACT_ADDRESS="0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c",b=r.WMATIC_CONTRACT_ADDRESS="0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270",v=r.WAVAX_CONTRACT_ADDRESS="0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7",E=r.WETH_OPTIMISM_CONTRACT_ADDRESS="0x4200000000000000000000000000000000000006",T=r.WETH_ARBITRUM_CONTRACT_ADDRESS="0x82af49447d8a07e3bd95bd0d56f35241523fbab1",w=r.WETH_ZKSYNC_ERA_CONTRACT_ADDRESS="0x5AEa5775959fBC2557Cc8789bC1bf90A239D9a91",N=r.WETH_LINEA_CONTRACT_ADDRESS="0xe5D7C2a44FfDDf6b295A15c148167daaAf5Cf34f",S=r.WETH_BASE_CONTRACT_ADDRESS="0x4200000000000000000000000000000000000006",I="0x539",O=(r.SWAPS_API_V2_BASE_URL="https://swap.api.cx.metamask.io",r.SWAPS_DEV_API_V2_BASE_URL="https://swap.dev-api.cx.metamask.io",r.TOKEN_API_BASE_URL="https://tokens.api.cx.metamask.io",r.GAS_API_BASE_URL="https://gas.api.cx.metamask.io",r.GAS_DEV_API_BASE_URL="https://gas.uat-api.cx.metamask.io",r.ALLOWED_PROD_SWAPS_CHAIN_IDS=[n.CHAIN_IDS.MAINNET,I,n.CHAIN_IDS.BSC,n.CHAIN_IDS.POLYGON,n.CHAIN_IDS.AVALANCHE,n.CHAIN_IDS.OPTIMISM,n.CHAIN_IDS.ARBITRUM,n.CHAIN_IDS.ZKSYNC_ERA,n.CHAIN_IDS.LINEA_MAINNET,n.CHAIN_IDS.BASE]),C=(r.ALLOWED_DEV_SWAPS_CHAIN_IDS=[...O,n.CHAIN_IDS.GOERLI],r.ALLOWED_SMART_TRANSACTIONS_CHAIN_IDS=[n.CHAIN_IDS.MAINNET,n.CHAIN_IDS.GOERLI],r.SWAPS_CHAINID_CONTRACT_ADDRESS_MAP={[n.CHAIN_IDS.MAINNET]:"0x881d40237659c251811cec9c364ef91dc08d300c",[I]:g,[n.CHAIN_IDS.BSC]:"0x1a1ec25dc08e98e5e93f1104b5e5cdd298707d31",[n.CHAIN_IDS.POLYGON]:"0x1a1ec25dc08e98e5e93f1104b5e5cdd298707d31",[n.CHAIN_IDS.GOERLI]:g,[n.CHAIN_IDS.AVALANCHE]:"0x1a1ec25dc08e98e5e93f1104b5e5cdd298707d31",[n.CHAIN_IDS.OPTIMISM]:"0x9dda6ef3d919c9bc8885d5560999a3640431e8e6",[n.CHAIN_IDS.ARBITRUM]:"0x9dda6ef3d919c9bc8885d5560999a3640431e8e6",[n.CHAIN_IDS.ZKSYNC_ERA]:"0xf504c1fe13d14df615e66dcd0abf39e60c697f34",[n.CHAIN_IDS.LINEA_MAINNET]:"0x9dda6ef3d919c9bc8885d5560999a3640431e8e6",[n.CHAIN_IDS.BASE]:"0x9dda6ef3d919c9bc8885d5560999a3640431e8e6"}),M=r.SWAPS_WRAPPED_TOKENS_ADDRESSES={[n.CHAIN_IDS.MAINNET]:A,[I]:A,[n.CHAIN_IDS.BSC]:_,[n.CHAIN_IDS.POLYGON]:b,[n.CHAIN_IDS.GOERLI]:y,[n.CHAIN_IDS.AVALANCHE]:v,[n.CHAIN_IDS.OPTIMISM]:E,[n.CHAIN_IDS.ARBITRUM]:T,[n.CHAIN_IDS.ZKSYNC_ERA]:w,[n.CHAIN_IDS.LINEA_MAINNET]:N,[n.CHAIN_IDS.BASE]:S};r.ALLOWED_CONTRACT_ADDRESSES={[n.CHAIN_IDS.MAINNET]:[C[n.CHAIN_IDS.MAINNET],M[n.CHAIN_IDS.MAINNET]],[I]:[C[I],M[I]],[n.CHAIN_IDS.GOERLI]:[C[n.CHAIN_IDS.GOERLI],M[n.CHAIN_IDS.GOERLI]],[n.CHAIN_IDS.BSC]:[C[n.CHAIN_IDS.BSC],M[n.CHAIN_IDS.BSC]],[n.CHAIN_IDS.POLYGON]:[C[n.CHAIN_IDS.POLYGON],M[n.CHAIN_IDS.POLYGON]],[n.CHAIN_IDS.AVALANCHE]:[C[n.CHAIN_IDS.AVALANCHE],M[n.CHAIN_IDS.AVALANCHE]],[n.CHAIN_IDS.OPTIMISM]:[C[n.CHAIN_IDS.OPTIMISM],M[n.CHAIN_IDS.OPTIMISM]],[n.CHAIN_IDS.ARBITRUM]:[C[n.CHAIN_IDS.ARBITRUM],M[n.CHAIN_IDS.ARBITRUM]],[n.CHAIN_IDS.ZKSYNC_ERA]:[C[n.CHAIN_IDS.ZKSYNC_ERA],M[n.CHAIN_IDS.ZKSYNC_ERA]],[n.CHAIN_IDS.LINEA_MAINNET]:[C[n.CHAIN_IDS.LINEA_MAINNET],M[n.CHAIN_IDS.LINEA_MAINNET]],[n.CHAIN_IDS.BASE]:[C[n.CHAIN_IDS.BASE],M[n.CHAIN_IDS.BASE]]},r.SWAPS_CHAINID_DEFAULT_TOKEN_MAP={[n.CHAIN_IDS.MAINNET]:i,[I]:u,[n.CHAIN_IDS.BSC]:a,[n.CHAIN_IDS.POLYGON]:s,[n.CHAIN_IDS.GOERLI]:l,[n.CHAIN_IDS.SEPOLIA]:l,[n.CHAIN_IDS.AVALANCHE]:c,[n.CHAIN_IDS.OPTIMISM]:d,[n.CHAIN_IDS.ARBITRUM]:f,[n.CHAIN_IDS.ZKSYNC_ERA]:h,[n.CHAIN_IDS.LINEA_MAINNET]:p,[n.CHAIN_IDS.BASE]:m},r.SWAPS_CHAINID_DEFAULT_BLOCK_EXPLORER_URL_MAP={[n.CHAIN_IDS.BSC]:"https://bscscan.com/",[n.CHAIN_IDS.MAINNET]:"https://etherscan.io/",[n.CHAIN_IDS.POLYGON]:"https://polygonscan.com/",[n.CHAIN_IDS.GOERLI]:"https://goerli.etherscan.io/",[n.CHAIN_IDS.AVALANCHE]:"https://snowtrace.io/",[n.CHAIN_IDS.OPTIMISM]:"https://optimistic.etherscan.io/",[n.CHAIN_IDS.ARBITRUM]:"https://arbiscan.io/",[n.CHAIN_IDS.ZKSYNC_ERA]:"https://explorer.zksync.io/",[n.CHAIN_IDS.LINEA_MAINNET]:"https://lineascan.build/",[n.CHAIN_IDS.BASE]:"https://basescan.org/"},r.ETHEREUM="ethereum",r.POLYGON="polygon",r.BSC="bsc",r.GOERLI="goerli",r.AVALANCHE="avalanche",r.OPTIMISM="optimism",r.ARBITRUM="arbitrum",r.ZKSYNC_ERA="zksync",r.LINEA="linea",r.BASE="base",r.SWAPS_CLIENT_ID="extension";r.TokenBucketPriority=function(e){return e.owned="owned",e.top="top",e}({}),r.Slippage=function(e){return e[e.default=2]="default",e[e.high=3]="high",e}({})}}},{package:"$root$",file:"shared/constants/swaps.ts"}],[4517,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.TERMS_OF_USE_LINK=r.TERMS_OF_USE_LAST_UPDATED=void 0;r.TERMS_OF_USE_LINK="https://consensys.io/terms-of-use/",r.TERMS_OF_USE_LAST_UPDATED="2023-03-25"}}},{package:"$root$",file:"shared/constants/terms.js"}],[4518,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.SECOND=r.MINUTE=r.MILLISECOND=r.HOUR=r.DAY=void 0;const n=r.MILLISECOND=1,o=r.SECOND=1e3*n,i=r.MINUTE=60*o,a=r.HOUR=60*i;r.DAY=24*a}}},{package:"$root$",file:"shared/constants/time.ts"}],[4519,{"@metamask/contract-metadata":1157,"bignumber.js":2933},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.TOKEN_API_METASWAP_CODEFI_URL=r.STATIC_MAINNET_TOKEN_LIST=r.NUM_W_OPT_DECIMAL_COMMA_OR_DOT_REGEX=r.MAX_TOKEN_ALLOWANCE_AMOUNT=r.LISTED_CONTRACT_ADDRESSES=r.DECIMAL_REGEX=void 0;var n=i(e("@metamask/contract-metadata")),o=i(e("bignumber.js"));function i(e){return e&&e.__esModule?e:{default:e}}r.LISTED_CONTRACT_ADDRESSES=Object.keys(n.default).map((e=>e.toLowerCase())),r.STATIC_MAINNET_TOKEN_LIST=Object.keys(n.default).reduce(((e,t)=>{const{logo:r,...o}=n.default[t];return{...e,[t.toLowerCase()]:{...o,address:t.toLowerCase(),iconUrl:`images/contract/${r}`,aggregators:[]}}}),{}),r.TOKEN_API_METASWAP_CODEFI_URL="https://token.api.cx.metamask.io/tokens/",r.MAX_TOKEN_ALLOWANCE_AMOUNT=new o.default(2).pow(256).minus(1).toString(10),r.NUM_W_OPT_DECIMAL_COMMA_OR_DOT_REGEX=/^[0-9]{1,}([,.][0-9]{1,})?$/u,r.DECIMAL_REGEX=/\.(\d*)/u}}},{package:"$root$",file:"shared/constants/tokens.js"}],[452,{"./abstract-coder":448},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.BooleanCoder=void 0;var i=function(e){function t(t){return e.call(this,"bool","bool",t,!1)||this}return o(t,e),t.prototype.defaultValue=function(){return!1},t.prototype.encode=function(e,t){return e.writeValue(t?1:0)},t.prototype.decode=function(e){return e.coerce(this.type,!e.readValue().isZero())},t}(e("./abstract-coder").Coder);r.BooleanCoder=i}}},{package:"@ethersproject/abi",file:"node_modules/@ethersproject/abi/lib/coders/boolean.js"}],[4520,{"@metamask/transaction-controller":2234},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.TransactionMetaMetricsEvent=r.TransactionGroupStatus=r.TransactionGroupCategory=r.TransactionApprovalAmountType=r.TokenStandard=r.SmartTransactionStatus=r.SIGNING_METHODS=r.IN_PROGRESS_TRANSACTION_STATUSES=r.AssetType=r.AnonymousTransactionMetaMetricsEvent=void 0;var n=e("@metamask/transaction-controller");r.IN_PROGRESS_TRANSACTION_STATUSES=[n.TransactionStatus.unapproved,n.TransactionStatus.approved,n.TransactionStatus.signed,n.TransactionStatus.submitted],r.SIGNING_METHODS=Object.freeze(["eth_sign","eth_signTypedData","eth_signTypedData_v1","eth_signTypedData_v3","eth_signTypedData_v4","personal_sign"]);r.TransactionGroupStatus=function(e){return e.cancelled="cancelled",e.pending="pending",e}({}),r.SmartTransactionStatus=function(e){return e.cancelled="cancelled",e.pending="pending",e.success="success",e}({}),r.TransactionApprovalAmountType=function(e){return e.custom="custom",e.revoke="revoke",e.dappProposed="dapp_proposed",e}({}),r.TransactionGroupCategory=function(e){return e.approval="approval",e.interaction="interaction",e.receive="receive",e.send="send",e.signatureRequest="signature-request",e.swap="swap",e.swapAndSend="swapAndSend",e}({}),r.TransactionMetaMetricsEvent=function(e){return e.added="Transaction Added",e.approved="Transaction Approved",e.finalized="Transaction Finalized",e.rejected="Transaction Rejected",e.submitted="Transaction Submitted",e}({}),r.AnonymousTransactionMetaMetricsEvent=function(e){return e.added="Transaction Added Anon",e.approved="Transaction Approved Anon",e.finalized="Transaction Finalized Anon",e.rejected="Transaction Rejected Anon",e.submitted="Transaction Submitted Anon",e}({}),r.AssetType=function(e){return e.native="NATIVE",e.token="TOKEN",e.NFT="NFT",e.unknown="UNKNOWN",e}({}),r.TokenStandard=function(e){return e.ERC20="ERC20",e.ERC721="ERC721",e.ERC1155="ERC1155",e.none="NONE",e}({})}}},{package:"$root$",file:"shared/constants/transaction.ts"}],[4521,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.BaseUrl=void 0;r.BaseUrl=function(e){return e.Portfolio="https://portfolio.metamask.io",e}({})}}},{package:"$root$",file:"shared/constants/urls.ts"}],[4525,{"../constants/time":4518,"../modules/fetch-with-timeout":4542,"./storage-helpers":4527},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n,o=e("../constants/time"),i=(n=e("../modules/fetch-with-timeout"))&&n.__esModule?n:{default:n},a=e("./storage-helpers");r.default=async({url:e,fetchOptions:t={},cacheOptions:{cacheRefreshTime:r=6*o.MINUTE,timeout:n=30*o.SECOND}={},functionName:s=""})=>{if(t.body||t.method&&"GET"!==t.method)throw new Error("fetchWithCache only supports GET requests");if(t.headers instanceof window.Headers||(t.headers=new window.Headers(t.headers)),t.headers.has("Content-Type")&&"application/json"!==t.headers.get("Content-Type"))throw new Error("fetchWithCache only supports JSON responses");const c=Date.now(),u=`cachedFetch:${e}`,{cachedResponse:l,cachedTime:f}=await(0,a.getStorageItem)(u)||{};if(l&&c-f{if(r.trade&&!r.error&&b(v,r,h)){const n=S({to:r.trade.to,from:r.trade.from,data:r.trade.data,amount:(0,f.decimalToHex)(r.trade.value),gas:(0,f.decimalToHex)(r.maxGas)});let{approvalNeeded:o}=r;return o&&(o=S({...o})),{...t,[r.aggregator]:{...r,slippage:e,trade:n,approvalNeeded:o}}}return t}),{})},r.validHex=r.truthyString=r.truthyDigitString=r.shouldEnableDirectWrapping=r.getBaseApi=void 0,r.validateData=b;var n=h(e("bignumber.js")),o=h(e("loglevel")),i=e("../constants/network"),a=e("../constants/swaps"),s=e("../constants/time"),c=e("../modules/hexstring-utils"),u=e("../modules/string-utils"),l=e("../../app/scripts/lib/util"),f=e("../modules/conversion.utils"),d=h(e("./fetch-with-cache"));function h(e){return e&&e.__esModule?e:{default:e}}const p=1.5,m=[i.CHAIN_IDS.GOERLI,i.CHAIN_IDS.LOCALHOST],g={"X-Client-Id":a.SWAPS_CLIENT_ID},A=e=>Boolean(null==e?void 0:e.match(/^0x[a-f0-9]+$/u));r.validHex=A;const y=e=>Boolean(null==e?void 0:e.length);r.truthyString=y;const _=e=>y(e)&&Boolean(e.match(/^\d+$/u));function b(e,t,r,n=!0){return e.every((({property:e,type:i,validator:a})=>{const s=i.split("|").some((r=>typeof t[e]===r))&&(!a||a(t[e]));return!s&&n&&o.default.error(`response to GET ${r} invalid for property ${e}; value was:`,t[e],"| type was: ",typeof t[e]),s}))}r.truthyDigitString=_;const v=r.QUOTE_VALIDATORS=[{property:"trade",type:"object",validator:e=>e&&A(e.data)&&(0,c.isValidHexAddress)(e.to,{allowNonPrefixed:!1})&&(0,c.isValidHexAddress)(e.from,{allowNonPrefixed:!1})&&y(e.value)},{property:"approvalNeeded",type:"object",validator:e=>null===e||e&&A(e.data)&&(0,c.isValidHexAddress)(e.to,{allowNonPrefixed:!1})&&(0,c.isValidHexAddress)(e.from,{allowNonPrefixed:!1})},{property:"sourceAmount",type:"string",validator:_},{property:"destinationAmount",type:"string",validator:_},{property:"sourceToken",type:"string",validator:e=>(0,c.isValidHexAddress)(e,{allowNonPrefixed:!1})},{property:"destinationToken",type:"string",validator:e=>(0,c.isValidHexAddress)(e,{allowNonPrefixed:!1})},{property:"aggregator",type:"string",validator:y},{property:"aggType",type:"string",validator:y},{property:"error",type:"object",validator:e=>null===e||"object"==typeof e},{property:"averageGas",type:"number"},{property:"maxGas",type:"number"},{property:"gasEstimate",type:"number|undefined",validator:e=>e===undefined||e>0},{property:"fee",type:"number"}],E=function(e,t){const r=m.includes(t)?i.CHAIN_IDS.MAINNET:t,n=((e,t)=>{const r=a.SWAPS_API_V2_BASE_URL,n=a.GAS_API_BASE_URL,o=a.TOKEN_API_BASE_URL;if(["refreshTime"].includes(e))return r;const i=t&&parseInt(t,16);return["gasPrices"].includes(e)?`${n}/networks/${i}`:["blockedTokens"].includes(e)?`${o}/blocklist?chainId=${i}`:`${r}/networks/${i}`})(e,r);if(!n)throw new Error(`Swaps API calls are disabled for chainId: ${r}`);switch(e){case"trade":return`${n}/trades?`;case"tokens":return`${n}/tokens?includeBlockedTokens=true`;case"token":return`${n}/token`;case"topAssets":return`${n}/topAssets`;case"aggregatorMetadata":return`${n}/aggregatorMetadata`;case"gasPrices":return`${n}/gasPrices`;case"blockedTokens":return`${n}®ion=global`;case"network":return n;default:throw new Error("getBaseApi requires an api call type")}};function T(e,t){const r=Math.pow(10,Number(t||0));return new n.default(String(e)).times(r)}r.getBaseApi=E;const w=(e,t,r)=>{var n;if(!t||!r)return!1;const o=a.SWAPS_WRAPPED_TOKENS_ADDRESSES[e],i=null===(n=a.SWAPS_CHAINID_DEFAULT_TOKEN_MAP[e])||void 0===n?void 0:n.address;return(0,u.isEqualCaseInsensitive)(t,o)&&(0,u.isEqualCaseInsensitive)(r,i)||(0,u.isEqualCaseInsensitive)(t,i)&&(0,u.isEqualCaseInsensitive)(r,o)};function N(e){return Object.keys(e).reduce(((t,r)=>({...t,[r]:(0,l.addHexPrefix)(e[r])})),{})}function S({sendToken:e,data:t,to:r,amount:n,from:o,gas:i,gasPrice:a}){const s={data:t,from:o,value:"0",gas:i,gasPrice:a};return e||(s.value=n,s.to=r),N(s)}r.shouldEnableDirectWrapping=w}}},{package:"$root$",file:"shared/lib/swaps-utils.js"}],[4529,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;r.default=e=>{document.documentElement.dir="auto"===e?"ltr":e}}}},{package:"$root$",file:"shared/lib/switch-direction.js"}],[453,{"./abstract-coder":448,"@ethersproject/bytes":476},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.BytesCoder=r.DynamicBytesCoder=void 0;var i=e("@ethersproject/bytes"),a=function(e){function t(t,r){return e.call(this,t,t,r,!0)||this}return o(t,e),t.prototype.defaultValue=function(){return"0x"},t.prototype.encode=function(e,t){t=(0,i.arrayify)(t);var r=e.writeValue(t.length);return r+=e.writeBytes(t)},t.prototype.decode=function(e){return e.readBytes(e.readValue().toNumber(),!0)},t}(e("./abstract-coder").Coder);r.DynamicBytesCoder=a;var s=function(e){function t(t){return e.call(this,"bytes",t)||this}return o(t,e),t.prototype.decode=function(t){return t.coerce(this.name,(0,i.hexlify)(e.prototype.decode.call(this,t)))},t}(a);r.BytesCoder=s}}},{package:"@ethersproject/abi",file:"node_modules/@ethersproject/abi/lib/coders/bytes.js"}],[4530,{"@ethersproject/contracts":483,"@ethersproject/providers":521,"@metamask/metamask-eth-abis":1518},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.fetchERC1155Balance=async function(e,t,r,a){if(!t||!r)return null;const s=new i.Web3Provider(a),c=new o.Contract(e,n.abiERC1155,s),u=c?c.balanceOf(t,r):Promise.resolve();return await u},r.fetchTokenBalance=async function(e,t,r){const a=new i.Web3Provider(r),s=new o.Contract(e,n.abiERC20,a),c=s?s.balanceOf(t):Promise.resolve();return await c},r.getTokenIdParam=function(e={}){var t,r;return(null==e||null===(t=e.args)||void 0===t||null===(t=t._tokenId)||void 0===t?void 0:t.toString())??(null==e||null===(r=e.args)||void 0===r||null===(r=r.id)||void 0===r?void 0:r.toString())};var n=e("@metamask/metamask-eth-abis"),o=e("@ethersproject/contracts"),i=e("@ethersproject/providers")}}},{package:"$root$",file:"shared/lib/token-util.ts"}],[4531,{"../constants/common":4495,"../modules/Numeric":4533,"../modules/swaps.utils":4559,"@metamask/transaction-controller":2234,"bignumber.js":2933},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.TRANSACTION_NO_CONTRACT_ERROR_KEY=r.TRANSACTION_ENVELOPE_TYPE_NAMES=r.TOKEN_TRANSFER_LOG_TOPIC_HASH=r.TEN_SECONDS_IN_MILLISECONDS=void 0,r.calcGasTotal=l,r.calcTokenAmount=d,r.getSwapsTokensReceivedFromTxMeta=function(e,t,r,n,o,h,p){var m;const g=(null==t?void 0:t.swapAndSendRecipient)??n,A=null==t?void 0:t.txReceipt,y=(null==t||null===(m=t.txReceipt)||void 0===m?void 0:m.type)===i.TransactionEnvelopeType.feeMarket;if((0,c.isSwapsDefaultTokenSymbol)(e,p)){if(!(A&&t&&t.postTxBalance&&t.preTxBalance))return null;if(t.swapMetaData&&t.preTxBalance===t.postTxBalance)return t.swapMetaData.token_to_amount;let e=new s.Numeric("0x0",16);h&&h.txReceipt&&(e=new s.Numeric(l(h.txReceipt.gasUsed,y?h.txReceipt.effectiveGasPrice:h.txParams.gasPrice),16));const r=l(A.gasUsed,y?A.effectiveGasPrice:t.txParams.gasPrice),n=new s.Numeric(r,16).add(e),o=new s.Numeric(t.preTxBalance,16).minus(n);return new s.Numeric(t.postTxBalance,16,a.EtherDenomination.WEI).minus(o).toDenomination(a.EtherDenomination.ETH).toBase(10).round(6).toString()}const _=null==A?void 0:A.logs;if(_&&"0x0"!==(null==A?void 0:A.status)){const e=_.find((e=>{const t=e.topics&&e.topics[0]===u,n=e.address===r,o=e.topics&&e.topics[2]&&e.topics[2].match(null==g?void 0:g.slice(2));return t&&n&&o}));return e?f(d(e.data,o).toString(10),6):""}return null},r.toPrecisionWithoutTrailingZeros=f;var n,o=(n=e("bignumber.js"))&&n.__esModule?n:{default:n},i=e("@metamask/transaction-controller"),a=e("../constants/common"),s=e("../modules/Numeric"),c=e("../modules/swaps.utils");const u=r.TOKEN_TRANSFER_LOG_TOPIC_HASH="0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef";r.TRANSACTION_NO_CONTRACT_ERROR_KEY="transactionErrorNoContract",r.TEN_SECONDS_IN_MILLISECONDS=1e4;function l(e="0",t="0"){return new s.Numeric(e,16).times(new s.Numeric(t,16)).toString()}function f(e,t){return new o.default(e).toPrecision(t).replace(/(\.[0-9]*[1-9])0*|(\.0*)/u,"$1")}function d(e,t){const r=Math.pow(10,Number(t||0));return new o.default(String(e)).div(r)}r.TRANSACTION_ENVELOPE_TYPE_NAMES={FEE_MARKET:"fee-market",LEGACY:"legacy"}}}},{package:"$root$",file:"shared/lib/transactions-controller-utils.js"}],[4533,{"../constants/common":4495,"./hexstring-utils":4544,"@metamask/utils":2300,"bignumber.js":2933,"bn.js":2980,"ethereumjs-util":3288},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.Numeric=void 0;var n,o=e("bignumber.js"),i=(n=e("bn.js"))&&n.__esModule?n:{default:n},a=e("@metamask/utils"),s=e("ethereumjs-util"),c=e("../constants/common"),u=e("./hexstring-utils");function l(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(r!==undefined){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function f(e){return(0,a.isHexString)(e.replace("-",""))||(0,a.isHexString)(e)}function d(e,t){if("string"!=typeof e)throw new Error(`Value of type ${typeof e} passed to stringToBigNumber`);if(16===t&&(f(e)||function(e){const t=e.split(".");return 1!==t.length&&t.every((e=>f(e)))}(e)))return function(e){const t="number"==typeof e?`${e}`:e,r="-"===(0,u.stripHexPrefix)(t)[0],n=t.replace("-",""),i=new o.BigNumber((0,u.stripHexPrefix)(n),16);return r?i.negated():i}(e);if(10===t&&(isFinite(parseInt(e,10))||isFinite(parseFloat(e))))return function(e){return new o.BigNumber(String(e),10)}(e);throw new Error(`String provided to stringToBigNumber is not a hexadecimal or decimal string: ${e}, ${t}`)}function h(e,t){if("string"==typeof e)return d(e,t);if("number"==typeof e&&!1===isNaN(e))return function(e,t){if("number"!=typeof e)throw new Error(`Value of type ${typeof e} passed to numberToBigNumber`);return 16===t&&(0,a.isHexString)(`${e}`)?new o.BigNumber(`${e}`,16):new o.BigNumber(e,10)}(e,t);throw new Error(`Value: ${e} is not a string, number, BigNumber or BN. Type is: ${typeof e}.`)}o.BigNumber.config({DECIMAL_PLACES:36});const p=new o.BigNumber("1000000000000000000"),m=new o.BigNumber("1000000000"),g=new o.BigNumber("1"),A={WEI:e=>e.div(p),GWEI:e=>e.div(m),ETH:e=>e.div(g)},y={WEI:e=>e.times(p).round(),GWEI:e=>e.times(m).round(9),ETH:e=>e.times(g).round(9)};function _(e,t){return void 0!==t.denomination&&e.denomination!==t.denomination?t.toDenomination(e.denomination):t}class b{constructor(e,t,r){if(l(this,"value",void 0),l(this,"base",void 0),l(this,"denomination",void 0),this.base=t,this.denomination=r,e instanceof o.BigNumber)this.value=e;else if(e instanceof i.default)this.value=function(e){if(e instanceof i.default==0)throw new Error("value passed to bnToBigNumber is not a BN. Received type "+typeof e);return new o.BigNumber(e.toString(16),16)}(e);else if((0,a.isNullOrUndefined)(e)||"number"==typeof e&&isNaN(e)||"string"==typeof e&&""===e)this.value=new o.BigNumber("0",10),this.base=10;else{if(!t)throw new Error("You must specify the base of the provided number if the value is not already a BigNumber");this.value=h(e,t)}}static from(e,t,r){if(e instanceof b){if(t||r)throw new Error(`Numeric.from was called with a value (${e.toString()}) that is already a Numeric but a base and/or denomination was provided. Only supply base or denomination when creating a new Numeric`);return e}return new b(e,t,r)}toBase(e){return this.base!==e?new b(this.value,e,this.denomination):this}toDenomination(e){if(e&&this.denomination!==e){return new b(y[e]((t=this).denomination===c.EtherDenomination.ETH||void 0===t.denomination?t.value:A[t.denomination](t.value)),this.base,e)}var t;return this}shiftedBy(e){const t=new b(Math.pow(10,e),10);return this.divide(t)}applyConversionRate(e,t){if(void 0===e)return this;let r=new b(e,10);return t&&(r=new b(new o.BigNumber(1)).divide(r)),this.times(r)}round(e,t=o.BigNumber.ROUND_HALF_DOWN){return"number"==typeof e?new b(this.value.round(e,t),this.base,this.denomination):this}add(e,t,r){const n=b.from(e,t,r);return new b(this.value.add(_(this,n).value),this.base,this.denomination)}minus(e,t,r){const n=b.from(e,t,r);return new b(this.value.minus(_(this,n).value),this.base,this.denomination)}times(e,t,r){const n=b.from(e,t,r);return new b(this.value.times(_(this,n).value),this.base,this.denomination)}divide(e,t,r){return new b(this.value.div(_(this,b.from(e,t,r)).value),this.base,this.denomination)}abs(){return new b(this.value.abs(),this.base,this.denomination)}isZero(){return this.value.isZero()}greaterThan(e,t,r){return this.value.greaterThan(b.from(e,t,r).value)}greaterThanOrEqualTo(e,t,r){return this.value.greaterThanOrEqualTo(b.from(e,t,r).value)}lessThan(e,t,r){return this.value.lessThan(b.from(e,t,r).value)}lessThanOrEqualTo(e,t,r){return this.value.lessThanOrEqualTo(b.from(e,t,r).value)}isNegative(){return this.value.isNegative()}isPositive(){return!1===this.isNegative()}isFloat(){return this.value.decimalPlaces()>0}toPrefixedHexString(){return(0,s.addHexPrefix)(this.value.toString(16))}toString(){return this.value.toString(this.base)}toFixed(e){return this.value.toFixed(e)}toNumber(){return this.value.toNumber()}}r.Numeric=b}}},{package:"$root$",file:"shared/modules/Numeric.ts"}],[4534,{"../../ui/helpers/constants/common":5353,bowser:2991,loglevel:3842,"webextension-polyfill":4472},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.checkForLastError=c,r.checkForLastErrorAndLog=function(){const e=c();e&&i.default.error(e);return e},r.checkForLastErrorAndWarn=function(){const e=c();e&&console.warn(e);return e},r.getIsBrowserPrerenderBroken=function(e=n.default.getParser(window.navigator.userAgent)){return(e.satisfies(a.BROKEN_PRERENDER_BROWSER_VERSIONS)&&!e.satisfies(a.FIXED_PRERENDER_BROWSER_VERSIONS))??!1};var n=s(e("bowser")),o=s(e("webextension-polyfill")),i=s(e("loglevel")),a=e("../../ui/helpers/constants/common");function s(e){return e&&e.__esModule?e:{default:e}}function c(){const{lastError:e}=o.default.runtime;return e?e.stack&&e.message?e:new Error(e.message):undefined}}}},{package:"$root$",file:"shared/modules/browser-runtime.utils.js"}],[4536,{pify:3986},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.readAddressAsContract=void 0;var n,o=(n=e("pify"))&&n.__esModule?n:{default:n};r.readAddressAsContract=async(e,t)=>{let r=null;try{e&&"getCode"in e&&(r=await(0,o.default)(e.getCode.bind(e))(t))}catch(e){r=null}return{contractCode:r,isContractAddress:!!r&&("0x"!==r&&"0x0"!==r)}}}}},{package:"$root$",file:"shared/modules/contract-utils.ts"}],[4537,{"../constants/common":4495,"./Numeric":4533,"bignumber.js":2933,"ethereumjs-util":3288},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.addHexes=function(e,t){return new a.Numeric(e,16).add(new a.Numeric(t,16)).round(6,n.BigNumber.ROUND_HALF_DOWN).toString()},r.bnToHex=function(e){return(0,o.addHexPrefix)(e.toString(16))},r.decEthToConvertedCurrency=function(e,t,r){let n=new a.Numeric(e,10,i.EtherDenomination.ETH);t!==i.EtherDenomination.ETH&&(n=n.applyConversionRate(r));return n.round(2)},r.decGWEIToHexWEI=function(e){return new a.Numeric(e,10,i.EtherDenomination.GWEI).toBase(16).toDenomination(i.EtherDenomination.WEI).toString()},r.decWEIToDecETH=function(e){return new a.Numeric(e,10,i.EtherDenomination.WEI).toDenomination(i.EtherDenomination.ETH).toString()},r.decimalToHex=function(e){return new a.Numeric(e,10).toBase(16).toString()},r.getEthConversionFromWeiHex=function({value:e,fromCurrency:t=i.EtherDenomination.ETH,conversionRate:r,numberOfDecimals:n=6}){const o=[i.EtherDenomination.ETH,i.EtherDenomination.GWEI,i.EtherDenomination.WEI];let a;for(let i=0;ie.add(new a.Numeric(t,10))),r)},r.sumHexes=function(e,...t){const r=new a.Numeric(e,16);return t.reduce(((e,t)=>e.add(new a.Numeric(t,16))),r).toPrefixedHexString()};var n=e("bignumber.js"),o=e("ethereumjs-util"),i=e("../constants/common"),a=e("./Numeric");function s({value:e,fromCurrency:t=i.EtherDenomination.ETH,toCurrency:r,conversionRate:o,numberOfDecimals:s,toDenomination:c=i.EtherDenomination.ETH}){let u=new a.Numeric(e,16,i.EtherDenomination.WEI);return t!==r&&(u=u.applyConversionRate(o)),u.toBase(10).toDenomination(c).round(s,n.BigNumber.ROUND_HALF_DOWN).toString()}}}},{package:"$root$",file:"shared/modules/conversion.utils.ts"}],[4539,{"../../development/build/constants":258},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.isProduction=void 0;var n=e("../../development/build/constants");r.isProduction=()=>"production"!==n.ENVIRONMENT.DEVELOPMENT&&"production"!==n.ENVIRONMENT.TESTING}}},{package:"$root$",file:"shared/modules/environment.ts"}],[454,{"./abstract-coder":448,"@ethersproject/bytes":476},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.FixedBytesCoder=void 0;var i=e("@ethersproject/bytes"),a=function(e){function t(t,r){var n=this,o="bytes"+String(t);return(n=e.call(this,o,o,r,!1)||this).size=t,n}return o(t,e),t.prototype.defaultValue=function(){return"0x0000000000000000000000000000000000000000000000000000000000000000".substring(0,2+2*this.size)},t.prototype.encode=function(e,t){var r=(0,i.arrayify)(t);return r.length!==this.size&&this._throwError("incorrect data length",t),e.writeBytes(r)},t.prototype.decode=function(e){return e.coerce(this.name,(0,i.hexlify)(e.readBytes(this.size)))},t}(e("./abstract-coder").Coder);r.FixedBytesCoder=a}}},{package:"@ethersproject/abi",file:"node_modules/@ethersproject/abi/lib/coders/fixed-bytes.js"}],[4540,{loglevel:3842},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.isErrorWithMessage=i,r.logErrorWithMessage=function(e){i(e)?o.default.error(e.message):o.default.error(e)};var n,o=(n=e("loglevel"))&&n.__esModule?n:{default:n};function i(e){return"object"==typeof e&&null!==e&&"message"in e}}}},{package:"$root$",file:"shared/modules/error.ts"}],[4541,{"../constants/network":4507},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.getNetworkNameByChainId=void 0;var n=e("../constants/network"),o=function(e){return e.Ethereum="ethereum",e.Polygon="polygon",e.Bsc="bsc",e.Avalanche="avalanche",e.Optimism="optimism",e.Arbitrum="arbitrum",e.ZkSyncEra="zksync",e.Linea="linea",e}(o||{});r.getNetworkNameByChainId=e=>{switch(e){case n.CHAIN_IDS.MAINNET:case n.CHAIN_IDS.GOERLI:case n.CHAIN_IDS.SEPOLIA:return o.Ethereum;case n.CHAIN_IDS.BSC:return o.Bsc;case n.CHAIN_IDS.POLYGON:return o.Polygon;case n.CHAIN_IDS.AVALANCHE:return o.Avalanche;case n.CHAIN_IDS.OPTIMISM:return o.Optimism;case n.CHAIN_IDS.ARBITRUM:return o.Arbitrum;case n.CHAIN_IDS.ZKSYNC_ERA:return o.ZkSyncEra;case n.CHAIN_IDS.LINEA_MAINNET:return o.Linea;default:return""}}}}},{package:"$root$",file:"shared/modules/feature-flags.ts"}],[4542,{"../constants/time":4518,lodash:3836},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=e("lodash"),o=e("../constants/time");const i=(0,n.memoize)(((e=30*o.SECOND)=>{if(!Number.isInteger(e)||e<1)throw new Error("Must specify positive integer timeout.");return async function(t,r){const n=new window.AbortController,{signal:o}=n,i=window.fetch(t,{...r,signal:o}),a=setTimeout((()=>n.abort()),e);try{return await i}finally{clearTimeout(a)}}}));r.default=i}}},{package:"$root$",file:"shared/modules/fetch-with-timeout.ts"}],[4543,{"./Numeric":4533},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.getMaximumGasTotalInHexWei=o,r.getMinimumGasTotalInHexWei=function({gasLimit:e="0x0",gasPrice:t,maxPriorityFeePerGas:r,maxFeePerGas:i,baseFeePerGas:a}={}){const s=Boolean(i||r||a);if(s&&t)throw new Error("getMinimumGasTotalInHexWei expects either gasPrice OR the EIP-1559 gas fields, but both were provided");if(!1===s&&!t)throw new Error("getMinimumGasTotalInHexWei expects either gasPrice OR the EIP-1559 gas fields, but neither were provided");if(s&&!a)throw new Error("getMinimumGasTotalInHexWei requires baseFeePerGas be provided when calculating EIP-1559 totals");if(s&&(!i||!r))throw new Error("getMinimumGasTotalInHexWei requires maxFeePerGas and maxPriorityFeePerGas be provided when calculating EIP-1559 totals");if(!1===s)return o({gasLimit:e,gasPrice:t});const c=new n.Numeric(a,16).add(new n.Numeric(r,16)).toString();if(new n.Numeric(c,16).greaterThan(i,16))return o({gasLimit:e,maxFeePerGas:i});return new n.Numeric(e,16).times(new n.Numeric(c,16)).toPrefixedHexString()};var n=e("./Numeric");function o({gasLimit:e="0x0",gasPrice:t,maxFeePerGas:r}={}){if(r)return new n.Numeric(e,16).times(new n.Numeric(r,16)).toPrefixedHexString();if(!t)throw new Error("getMaximumGasTotalInHexWei requires gasPrice be provided to calculate legacy gas total");return new n.Numeric(e,16).times(new n.Numeric(t,16)).toPrefixedHexString()}}}},{package:"$root$",file:"shared/modules/gas.utils.js"}],[4544,{"ethereumjs-util":3288},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.BURN_ADDRESS=void 0,r.isBurnAddress=function(e){return e===o},r.isEmptyHexString=function(e){return[undefined,null,"0x","0x0","0x0000000000000000000000000000000000000000000000000000000000000000"].includes(e)},r.isValidHexAddress=function(e,{allowNonPrefixed:t=!0,mixedCaseUseChecksum:r=!1}={}){const o=t?(0,n.addHexPrefix)(e):e;if(!(0,n.isHexString)(o))return!1;if(r){const e=o.slice(2),t=e.toLowerCase(),r=e.toUpperCase();if(!(e===t||e===r))return(0,n.isValidChecksumAddress)(o)}return(0,n.isValidAddress)(o)},r.stripHexPrefix=function(e){if("string"!=typeof e)return e;return(0,n.isHexPrefixed)(e)?e.slice(2):e},r.toChecksumHexAddress=function(e){if(!e)return"";const t=(0,n.addHexPrefix)(e);if(!(0,n.isHexString)(t))return t;return(0,n.toChecksumAddress)(t)};var n=e("ethereumjs-util");const o=r.BURN_ADDRESS=(0,n.zeroAddress)()}}},{package:"$root$",file:"shared/modules/hexstring-utils.ts"}],[4545,{"./fetch-with-timeout":4542,loglevel:3842},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.FALLBACK_LOCALE=void 0,r.clearCaches=function(){Object.keys(s).forEach((e=>{delete s[e]})),Object.keys(c).forEach((e=>{delete c[e]})),Object.keys(u).forEach((e=>{delete u[e]})),l.clear()},r.fetchLocale=async function(e){try{const t=await i(`../_locales/${e}/messages.json`);return await t.json()}catch(t){return n.default.error(`failed to fetch ${e} locale because of ${t}`),{}}},r.getMessage=void 0,r.loadRelativeTimeFormatLocaleData=async function(e){const t=e.split("_")[0];if(Intl.RelativeTimeFormat&&"function"==typeof Intl.RelativeTimeFormat.__addLocaleData&&!l.has(t)){const e=await async function(e){const t=await i(`./intl/${e}/relative-time-format-data.json`);return await t.json()}(t);Intl.RelativeTimeFormat.__addLocaleData(e),l.add(t)}};var n=o(e("loglevel"));function o(e){return e&&e.__esModule?e:{default:e}}const i=(0,o(e("./fetch-with-timeout")).default)(),a=r.FALLBACK_LOCALE="en",s={},c={},u={},l=new Set;r.getMessage=(e,t,r,o,i,l)=>{if(!t)return null;const f=t[r];if(!f)return function(e,t,r){var o;if(t===a&&!c[e]){const o=new Error(`Unable to find value of key "${e}" for locale "${t}"`);c[e]=o,null==r||r(o),n.default.error(o)}if(t===a||null!==(o=s[t])&&void 0!==o&&o[e])return;s[t]=s[t]??{},s[t][e]=!0,n.default.warn(`Translator - Unable to find value of key "${e}" for locale "${t}"`)}(r,e,i),null;const d=f.message,h=function(e){return((null==e?void 0:e.length)??0)>0}(o)?function(e,t,r,o,i){const a=e.split(/(\$\d)/gu);return a.map((e=>{const a=e.match(/\$(\d)/u);if(!a)return e;const s=Number(a[1])-1,c=t[s];return null!==c&&c!==undefined||function(e,t,r){var o;if(null!==(o=u[t])&&void 0!==o&&o[e])return;u[t]=u[t]??{},u[t][e]=!0;const i=new Error(`Insufficient number of substitutions for key "${e}" with locale "${t}"`);n.default.error(i),null==r||r(i)}(r,o,i),null==t?void 0:t[s]}))}(d,o,r,e,i):[d];return l?l(h):h.join("")}}}},{package:"$root$",file:"shared/modules/i18n.ts"}],[4547,{"webextension-polyfill":4472},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.isOffscreenAvailable=r.isMv3ButOffscreenDocIsMissing=r.isManifestV3=void 0;var n,o=(n=e("webextension-polyfill"))&&n.__esModule?n:{default:n};const i=r.isManifestV3=3===o.default.runtime.getManifest().manifest_version,a=r.isOffscreenAvailable=Boolean(o.default.offscreen);r.isMv3ButOffscreenDocIsMissing=i&&!a}}},{package:"$root$",file:"shared/modules/mv3.utils.js"}],[4548,{"../constants/network":4507,"@metamask/controller-utils":1163,"@metamask/utils":2300},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.convertNetworkId=function(e){if("number"==typeof e&&!Number.isNaN(e))return`${e}`;if((0,n.isStrictHexString)(e))return`${(0,o.convertHexToDecimal)(e)}`;if("string"==typeof e&&/^\d+$/u.test(e))return e;throw new Error(`Cannot parse as a valid network ID: '${e}'`)},r.isPrefixedFormattedHexString=function(e){if("string"!=typeof e)return!1;return/^0x[1-9a-f]+[0-9a-f]*$/iu.test(e)},r.isSafeChainId=function(e){return t=e,Number.isSafeInteger(t)&&e>0&&e<=i.MAX_SAFE_CHAIN_ID;var t},r.isTokenDetectionEnabledForNetwork=function(e){switch(e){case i.CHAIN_IDS.MAINNET:case i.CHAIN_IDS.BSC:case i.CHAIN_IDS.POLYGON:case i.CHAIN_IDS.AVALANCHE:case i.CHAIN_IDS.LINEA_GOERLI:case i.CHAIN_IDS.LINEA_SEPOLIA:case i.CHAIN_IDS.LINEA_MAINNET:case i.CHAIN_IDS.ARBITRUM:case i.CHAIN_IDS.OPTIMISM:case i.CHAIN_IDS.BASE:case i.CHAIN_IDS.ZKSYNC_ERA:case i.CHAIN_IDS.CRONOS:case i.CHAIN_IDS.CELO:case i.CHAIN_IDS.GNOSIS:case i.CHAIN_IDS.FANTOM:case i.CHAIN_IDS.POLYGON_ZKEVM:case i.CHAIN_IDS.MOONBEAM:case i.CHAIN_IDS.MOONRIVER:return!0;default:return!1}};var n=e("@metamask/utils"),o=e("@metamask/controller-utils"),i=e("../constants/network")}}},{package:"$root$",file:"shared/modules/network.utils.ts"}],[4549,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.AllProperties=void 0,r.maskObject=function e(t,r){let o=!1;if(Object.keys(r).includes(n)){if(Object.keys(r).length>1)throw new Error("AllProperties mask key does not support sibling keys");o=!0}return Object.keys(t).reduce(((i,a)=>{const s=o?r[n]:r[a];if(!0===s)i[a]=t[a];else if(s&&"object"==typeof s)i[a]=e(t[a],s);else{if(s!==undefined&&!1!==s)throw new Error(`Unsupported mask entry: ${s}`);i[a]=typeof t[a]}return i}),{})};const n=r.AllProperties=Symbol("*")}}},{package:"$root$",file:"shared/modules/object.utils.js"}],[455,{"./abstract-coder":448},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.NullCoder=void 0;var i=function(e){function t(t){return e.call(this,"null","",t,!1)||this}return o(t,e),t.prototype.defaultValue=function(){return null},t.prototype.encode=function(e,t){return null!=t&&this._throwError("not null",t),e.writeBytes([])},t.prototype.decode=function(e){return e.readBytes(0),e.coerce(this.name,null)},t}(e("./abstract-coder").Coder);r.NullCoder=i}}},{package:"@ethersproject/abi",file:"node_modules/@ethersproject/abi/lib/coders/null.js"}],[4550,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(){return o%=n,o++};const n=Number.MAX_SAFE_INTEGER;let o=Math.round(Math.random()*n)}}},{package:"$root$",file:"shared/modules/random-id.js"}],[4551,{"./fetch-with-timeout":4542,buffer:3028},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(t){(function(){var n;Object.defineProperty(r,"__esModule",{value:!0}),r.jsonRpcRequest=async function(e,r,n=[]){let i=e;const a={"Content-Type":"application/json"},{origin:s,pathname:c,username:u,password:l,search:f}=new URL(e);if(u&&l){const e=t.from(`${u}:${l}`).toString("base64");a.Authorization=`Basic ${e}`,i=`${s}${c}${f}`}const d=await o(i,{method:"POST",body:JSON.stringify({id:Date.now().toString(),jsonrpc:"2.0",method:r,params:n}),headers:a,cache:"default"}).then((e=>e.json()));if(!d||Array.isArray(d)||"object"!=typeof d)throw new Error(`RPC endpoint ${e} returned non-object response.`);const{error:h,result:p}=d;if(h)throw new Error((null==h?void 0:h.message)||h);return p};const o=(0,((n=e("./fetch-with-timeout"))&&n.__esModule?n:{default:n}).default)()}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"$root$",file:"shared/modules/rpc.utils.js"}],[4553,{"../../../ui/selectors/selectors":5994,"../feature-flags":4541},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.getFeatureFlagsByChainId=function(e){var t;const r=(0,n.getCurrentChainId)(e),i=(0,o.getNetworkNameByChainId)(r),a=null===(t=e.metamask.swapsState)||void 0===t?void 0:t.swapsFeatureFlags;if(null==a||!a[i])return null;return{smartTransactions:{...a.smartTransactions,...a[i].smartTransactions}}};var n=e("../../../ui/selectors/selectors"),o=e("../feature-flags")}}},{package:"$root$",file:"shared/modules/selectors/feature-flags.ts"}],[4554,{"./feature-flags":4553,"./smart-transactions":4555,"./token-auto-detect":4556},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n=e("./smart-transactions");Object.keys(n).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in r&&r[e]===n[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return n[e]}}))}));var o=e("./feature-flags");Object.keys(o).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in r&&r[e]===o[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return o[e]}}))}));var i=e("./token-auto-detect");Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in r&&r[e]===i[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return i[e]}}))}))}}},{package:"$root$",file:"shared/modules/selectors/hybrid-compute-sdk.ts"}],[4555,{"../../../ui/selectors/selectors":5994,"../../constants/smartTransactions":4514,"../environment":4539},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.getSmartTransactionsOptInStatus=r.getSmartTransactionsEnabled=r.getIsSmartTransactionsOptInModalAvailable=r.getIsSmartTransaction=r.getCurrentChainSupportsSmartTransactions=void 0;var n=e("../../constants/smartTransactions"),o=e("../../../ui/selectors/selectors"),i=e("../environment");const a=e=>{var t;return(null===(t=e.metamask.preferences)||void 0===t?void 0:t.smartTransactionsOptInStatus)??null};r.getSmartTransactionsOptInStatus=a;const s=e=>{const t=(0,o.getCurrentChainId)(e);return(0,n.getAllowedSmartTransactionsChainIds)().includes(t)};r.getCurrentChainSupportsSmartTransactions=s;const c=e=>{var t;const r=(0,o.getCurrentChainId)(e);if(!(0,i.isProduction)()||n.SKIP_STX_RPC_URL_CHECK_CHAIN_IDS.includes(r))return!0;const a=(0,o.getCurrentNetwork)(e);if(null==a||!a.rpcUrl)return!1;const s=new URL(a.rpcUrl);return null==s||null===(t=s.hostname)||void 0===t?void 0:t.endsWith(".infura.io")};r.getIsSmartTransactionsOptInModalAvailable=e=>s(e)&&c(e)&&null===a(e)&&(e=>{const t=(0,o.getSelectedAccount)(e);return BigInt((null==t?void 0:t.balance)||"0x0")>0n})(e);const u=e=>{var t,r;const n=(0,o.accountSupportsSmartTx)(e),i=null===(t=e.metamask.swapsState)||void 0===t||null===(t=t.swapsFeatureFlags)||void 0===t||null===(t=t.smartTransactions)||void 0===t?void 0:t.extensionActive,a=null===(r=e.metamask.smartTransactionsState)||void 0===r?void 0:r.liveness;return Boolean(s(e)&&c(e)&&n&&i&&a)};r.getSmartTransactionsEnabled=u;r.getIsSmartTransaction=e=>{const t=a(e),r=u(e);return Boolean(t&&r)}}}},{package:"$root$",file:"shared/modules/selectors/smart-transactions.ts"}],[4556,{"../../../ui/selectors/selectors":5994},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.getShowTokenAutodetectModal=r.getIsShowTokenAutodetectModal=void 0;var n=e("../../../ui/selectors/selectors");const o=e=>{var t;return null===(t=e.metamask.preferences)||void 0===t?void 0:t.showTokenAutodetectModal};r.getShowTokenAutodetectModal=o;r.getIsShowTokenAutodetectModal=e=>null===e.metamask.showTokenAutodetectModalOnUpgrade?!(0,n.getUseTokenDetection)(e)&&null===e.metamask.showTokenAutodetectModalOnUpgrade:!(0,n.getUseTokenDetection)(e)&&null===o(e)}}},{package:"$root$",file:"shared/modules/selectors/token-auto-detect.ts"}],[4558,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.isEqualCaseInsensitive=function(e,t){if("string"!=typeof e||"string"!=typeof t)return!1;return e.toLowerCase()===t.toLowerCase()},r.prependZero=function(e,t){return e.toString().padStart(t,"0")}}}},{package:"$root$",file:"shared/modules/string-utils.ts"}],[4559,{"../constants/swaps":4516},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.isSwapsDefaultTokenAddress=function(e,t){var r;if(!e||!t)return!1;return e===(null===(r=n.SWAPS_CHAINID_DEFAULT_TOKEN_MAP[t])||void 0===r?void 0:r.address)},r.isSwapsDefaultTokenSymbol=function(e,t){var r;if(!e||!t)return!1;return e===(null===(r=n.SWAPS_CHAINID_DEFAULT_TOKEN_MAP[t])||void 0===r?void 0:r.symbol)};var n=e("../constants/swaps")}}},{package:"$root$",file:"shared/modules/swaps.utils.js"}],[456,{"./abstract-coder":448,"@ethersproject/bignumber":474,"@ethersproject/constants":480},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.NumberCoder=void 0;var i=e("@ethersproject/bignumber"),a=e("@ethersproject/constants"),s=function(e){function t(t,r,n){var o=this,i=(r?"int":"uint")+8*t;return(o=e.call(this,i,i,n,!1)||this).size=t,o.signed=r,o}return o(t,e),t.prototype.defaultValue=function(){return 0},t.prototype.encode=function(e,t){var r=i.BigNumber.from(t),n=a.MaxUint256.mask(8*e.wordSize);if(this.signed){var o=n.mask(8*this.size-1);(r.gt(o)||r.lt(o.add(a.One).mul(a.NegativeOne)))&&this._throwError("value out-of-bounds",t)}else(r.lt(a.Zero)||r.gt(n.mask(8*this.size)))&&this._throwError("value out-of-bounds",t);return r=r.toTwos(8*this.size).mask(8*this.size),this.signed&&(r=r.fromTwos(8*this.size).toTwos(8*e.wordSize)),e.writeValue(r)},t.prototype.decode=function(e){var t=e.readValue().mask(8*this.size);return this.signed&&(t=t.fromTwos(8*this.size)),e.coerce(this.name,t)},t}(e("./abstract-coder").Coder);r.NumberCoder=s}}},{package:"@ethersproject/abi",file:"node_modules/@ethersproject/abi/lib/coders/number.js"}],[4560,{"../constants/transaction":4520,"./contract-utils":4536,"./string-utils":4558,"@ethersproject/abi":460,"@metamask/metamask-eth-abis":1518,"@metamask/transaction-controller":2234,"ethereumjs-util":3288,loglevel:3842},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.determineTransactionAssetType=async function(e,t,r){let n=e.type;if(e.type&&!d.includes(e.type)){const r=await y(e.txParams,t);n=r.type}if([c.TransactionType.tokenMethodApprove,c.TransactionType.tokenMethodSetApprovalForAll,c.TransactionType.tokenMethodTransfer,c.TransactionType.tokenMethodTransferFrom,c.TransactionType.tokenMethodIncreaseAllowance].find((e=>e===n))||n===c.TransactionType.contractInteraction)try{const t=await r(e.txParams.to);if(t.standard)return{assetType:t.standard===u.TokenStandard.ERC20?u.AssetType.token:u.AssetType.NFT,tokenStandard:t.standard}}catch{}if(n===c.TransactionType.contractInteraction)return{assetType:u.AssetType.unknown,tokenStandard:u.TokenStandard.none};return{assetType:u.AssetType.native,tokenStandard:u.TokenStandard.none}},r.determineTransactionType=y,r.isEIP1559Transaction=function(e){var t,r;return(0,o.isHexString)((null==e||null===(t=e.txParams)||void 0===t?void 0:t.maxFeePerGas)??"")&&(0,o.isHexString)((null==e||null===(r=e.txParams)||void 0===r?void 0:r.maxPriorityFeePerGas)??"")},r.isLegacyTransaction=function(e){return void 0===e.txParams.maxFeePerGas&&void 0===e.txParams.maxPriorityFeePerGas&&(void 0===e.txParams.gasPrice||(0,o.isHexString)(e.txParams.gasPrice))},r.parseStandardTokenTransactionData=A,r.txParamsAreDappSuggested=function(e){var t,r,n;const{gasPrice:o,maxPriorityFeePerGas:i,maxFeePerGas:a}=(null==e?void 0:e.txParams)||{};return Boolean(o&&o===(null==e||null===(t=e.dappSuggestedGasFees)||void 0===t?void 0:t.gasPrice)||i&&a&&(null==e||null===(r=e.dappSuggestedGasFees)||void 0===r?void 0:r.maxPriorityFeePerGas)===i&&(null==e||null===(n=e.dappSuggestedGasFees)||void 0===n?void 0:n.maxFeePerGas)===a)};var n,o=e("ethereumjs-util"),i=e("@ethersproject/abi"),a=e("@metamask/metamask-eth-abis"),s=(n=e("loglevel"))&&n.__esModule?n:{default:n},c=e("@metamask/transaction-controller"),u=e("../constants/transaction"),l=e("./contract-utils"),f=e("./string-utils");const d=[c.TransactionType.tokenMethodApprove,c.TransactionType.tokenMethodSetApprovalForAll,c.TransactionType.tokenMethodTransfer,c.TransactionType.tokenMethodTransferFrom,c.TransactionType.tokenMethodIncreaseAllowance,c.TransactionType.contractInteraction,c.TransactionType.simpleSend],h=new i.Interface(a.abiERC20),p=new i.Interface(a.abiERC721),m=new i.Interface(a.abiERC1155),g=new i.Interface(a.abiFiatTokenV2);function A(e){try{return h.parseTransaction({data:e})}catch{}try{return p.parseTransaction({data:e})}catch{}try{return m.parseTransaction({data:e})}catch{}try{return g.parseTransaction({data:e})}catch{}return undefined}async function y(e,t){const{data:r,to:n}=e;let o;if(r&&!n)return{type:c.TransactionType.deployContract,getCodeResponse:o};if(n){const{contractCode:i,isContractAddress:a}=await(0,l.readAddressAsContract)(t,n);if(o=i,a){const t=e.value&&0!==Number(e.value);let n="";try{const e=r?A(r):undefined;null!=e&&e.name&&(n=e.name)}catch(e){s.default.debug("Failed to parse transaction data.",e,r)}const i=[c.TransactionType.tokenMethodApprove,c.TransactionType.tokenMethodSetApprovalForAll,c.TransactionType.tokenMethodTransfer,c.TransactionType.tokenMethodTransferFrom,c.TransactionType.tokenMethodIncreaseAllowance,c.TransactionType.tokenMethodSafeTransferFrom].find((e=>(0,f.isEqualCaseInsensitive)(e,n)));return{type:r&&i&&!t?i:c.TransactionType.contractInteraction,getCodeResponse:o}}}return{type:c.TransactionType.simpleSend,getCodeResponse:o}}}}},{package:"$root$",file:"shared/modules/transaction.utils.ts"}],[4562,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.getTranslatedUINotifications=r.UI_NOTIFICATIONS=r.NOTIFICATION_DROP_LEDGER_FIREFOX=void 0;const n=r.NOTIFICATION_DROP_LEDGER_FIREFOX=25,o=r.UI_NOTIFICATIONS={[n]:{id:Number(n),date:null}},i=(e,t)=>{let r;if(e){const t=e.split("-");r=new Date(Number(t[0]),Number(t[1])-1,Number(t[2]))}else r=new Date;return new Intl.DateTimeFormat(t).format(r)};r.getTranslatedUINotifications=(e,t)=>{const r=null==t?void 0:t.replace("_","-");return{[n]:{...o[n],title:e("notificationsDropLedgerFirefoxTitle"),description:[e("notificationsDropLedgerFirefoxDescription")],date:o[n].date?i(o[n].date,r):""}}}}}},{package:"$root$",file:"shared/notifications/hybrid-compute-sdk.ts"}],[457,{"./bytes":453,"@ethersproject/strings":547},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.StringCoder=void 0;var i=e("@ethersproject/strings"),a=function(e){function t(t){return e.call(this,"string",t)||this}return o(t,e),t.prototype.defaultValue=function(){return""},t.prototype.encode=function(t,r){return e.prototype.encode.call(this,t,(0,i.toUtf8Bytes)(r))},t.prototype.decode=function(t){return(0,i.toUtf8String)(e.prototype.decode.call(this,t))},t}(e("./bytes").DynamicBytesCoder);r.StringCoder=a}}},{package:"@ethersproject/abi",file:"node_modules/@ethersproject/abi/lib/coders/string.js"}],[458,{"./abstract-coder":448,"./array":451},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.TupleCoder=void 0;var i=e("./abstract-coder"),a=e("./array"),s=function(e){function t(t,r){var n=this,o=!1,i=[];t.forEach((function(e){e.dynamic&&(o=!0),i.push(e.type)}));var a="tuple("+i.join(",")+")";return(n=e.call(this,"tuple",a,r,o)||this).coders=t,n}return o(t,e),t.prototype.defaultValue=function(){var e=[];this.coders.forEach((function(t){e.push(t.defaultValue())}));var t=this.coders.reduce((function(e,t){var r=t.localName;return r&&(e[r]||(e[r]=0),e[r]++),e}),{});return this.coders.forEach((function(r,n){var o=r.localName;o&&1===t[o]&&("length"===o&&(o="_length"),null==e[o]&&(e[o]=e[n]))})),Object.freeze(e)},t.prototype.encode=function(e,t){return(0,a.pack)(e,this.coders,t)},t.prototype.decode=function(e){return e.coerce(this.name,(0,a.unpack)(e,this.coders))},t}(i.Coder);r.TupleCoder=s}}},{package:"@ethersproject/abi",file:"node_modules/@ethersproject/abi/lib/coders/tuple.js"}],[459,{"./_version":446,"@ethersproject/bignumber":474,"@ethersproject/logger":504,"@ethersproject/properties":510},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.ErrorFragment=r.FunctionFragment=r.ConstructorFragment=r.EventFragment=r.Fragment=r.ParamType=r.FormatTypes=void 0;var i=e("@ethersproject/bignumber"),a=e("@ethersproject/properties"),s=e("@ethersproject/logger"),c=e("./_version"),u=new s.Logger(c.version),l={},f={calldata:!0,memory:!0,storage:!0},d={calldata:!0,memory:!0};function h(e,t){if("bytes"===e||"string"===e){if(f[t])return!0}else if("address"===e){if("payable"===t)return!0}else if((e.indexOf("[")>=0||"tuple"===e)&&d[t])return!0;return(f[t]||"payable"===t)&&u.throwArgumentError("invalid modifier","name",t),!1}function p(e,t){for(var r in t)(0,a.defineReadOnly)(e,r,t[r])}r.FormatTypes=Object.freeze({sighash:"sighash",minimal:"minimal",full:"full",json:"json"});var m=new RegExp(/^(.*)\[([0-9]*)\]$/),g=function(){function e(t,r){t!==l&&u.throwError("use fromString",s.Logger.errors.UNSUPPORTED_OPERATION,{operation:"new ParamType()"}),p(this,r);var n=this.type.match(m);p(this,n?{arrayLength:parseInt(n[2]||"-1"),arrayChildren:e.fromObject({type:n[1],components:this.components}),baseType:"array"}:{arrayLength:null,arrayChildren:null,baseType:null!=this.components?"tuple":this.type}),this._isParamType=!0,Object.freeze(this)}return e.prototype.format=function(e){if(e||(e=r.FormatTypes.sighash),r.FormatTypes[e]||u.throwArgumentError("invalid format type","format",e),e===r.FormatTypes.json){var t={type:"tuple"===this.baseType?"tuple":this.type,name:this.name||undefined};return"boolean"==typeof this.indexed&&(t.indexed=this.indexed),this.components&&(t.components=this.components.map((function(t){return JSON.parse(t.format(e))}))),JSON.stringify(t)}var n="";return"array"===this.baseType?(n+=this.arrayChildren.format(e),n+="["+(this.arrayLength<0?"":String(this.arrayLength))+"]"):"tuple"===this.baseType?(e!==r.FormatTypes.sighash&&(n+=this.type),n+="("+this.components.map((function(t){return t.format(e)})).join(e===r.FormatTypes.full?", ":",")+")"):n+=this.type,e!==r.FormatTypes.sighash&&(!0===this.indexed&&(n+=" indexed"),e===r.FormatTypes.full&&this.name&&(n+=" "+this.name)),n},e.from=function(t,r){return"string"==typeof t?e.fromString(t,r):e.fromObject(t)},e.fromObject=function(t){return e.isParamType(t)?t:new e(l,{name:t.name||null,type:I(t.type),indexed:null==t.indexed?null:!!t.indexed,components:t.components?t.components.map(e.fromObject):null})},e.fromString=function(t,r){return n=function(e,t){var r=e;function n(t){u.throwArgumentError("unexpected character at position "+t,"param",e)}function o(e){var r={type:"",name:"",parent:e,state:{allowType:!0}};return t&&(r.indexed=!1),r}e=e.replace(/\s/g," ");for(var i={type:"",name:"",state:{allowType:!0}},a=i,s=0;s2&&u.throwArgumentError("invalid human-readable ABI signature","value",e),r[1].match(/^[0-9]+$/)||u.throwArgumentError("invalid human-readable ABI signature gas","value",e),t.gas=i.BigNumber.from(r[1]),r[0]):e}function v(e,t){t.constant=!1,t.payable=!1,t.stateMutability="nonpayable",e.split(" ").forEach((function(e){switch(e.trim()){case"constant":t.constant=!0;break;case"payable":t.payable=!0,t.stateMutability="payable";break;case"nonpayable":t.payable=!1,t.stateMutability="nonpayable";break;case"pure":t.constant=!0,t.stateMutability="pure";break;case"view":t.constant=!0,t.stateMutability="view";break;case"external":case"public":case"":break;default:console.log("unknown modifier: "+e)}}))}function E(e){var t={constant:!1,payable:!0,stateMutability:"payable"};return null!=e.stateMutability?(t.stateMutability=e.stateMutability,t.constant="view"===t.stateMutability||"pure"===t.stateMutability,null!=e.constant&&!!e.constant!==t.constant&&u.throwArgumentError("cannot have constant function with mutability "+t.stateMutability,"value",e),t.payable="payable"===t.stateMutability,null!=e.payable&&!!e.payable!==t.payable&&u.throwArgumentError("cannot have payable function with mutability "+t.stateMutability,"value",e)):null!=e.payable?(t.payable=!!e.payable,null!=e.constant||t.payable||"constructor"===e.type||u.throwArgumentError("unable to determine stateMutability","value",e),t.constant=!!e.constant,t.constant?t.stateMutability="view":t.stateMutability=t.payable?"payable":"nonpayable",t.payable&&t.constant&&u.throwArgumentError("cannot have constant payable function","value",e)):null!=e.constant?(t.constant=!!e.constant,t.payable=!t.constant,t.stateMutability=t.constant?"view":"payable"):"constructor"!==e.type&&u.throwArgumentError("unable to determine stateMutability","value",e),t}r.EventFragment=_;var T=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.format=function(e){if(e||(e=r.FormatTypes.sighash),r.FormatTypes[e]||u.throwArgumentError("invalid format type","format",e),e===r.FormatTypes.json)return JSON.stringify({type:"constructor",stateMutability:"nonpayable"!==this.stateMutability?this.stateMutability:undefined,payable:this.payable,gas:this.gas?this.gas.toNumber():undefined,inputs:this.inputs.map((function(t){return JSON.parse(t.format(e))}))});e===r.FormatTypes.sighash&&u.throwError("cannot format a constructor for sighash",s.Logger.errors.UNSUPPORTED_OPERATION,{operation:"format(sighash)"});var t="constructor("+this.inputs.map((function(t){return t.format(e)})).join(e===r.FormatTypes.full?", ":",")+") ";return this.stateMutability&&"nonpayable"!==this.stateMutability&&(t+=this.stateMutability+" "),t.trim()},t.from=function(e){return"string"==typeof e?t.fromString(e):t.fromObject(e)},t.fromObject=function(e){if(t.isConstructorFragment(e))return e;"constructor"!==e.type&&u.throwArgumentError("invalid constructor object","value",e);var r=E(e);r.constant&&u.throwArgumentError("constructor cannot be constant","value",e);var n={name:null,type:e.type,inputs:e.inputs?e.inputs.map(g.fromObject):[],payable:r.payable,stateMutability:r.stateMutability,gas:e.gas?i.BigNumber.from(e.gas):null};return new t(l,n)},t.fromString=function(e){var r={type:"constructor"},n=(e=b(e,r)).match(M);return n&&"constructor"===n[1].trim()||u.throwArgumentError("invalid constructor string","value",e),r.inputs=A(n[2].trim(),!1),v(n[3].trim(),r),t.fromObject(r)},t.isConstructorFragment=function(e){return e&&e._isFragment&&"constructor"===e.type},t}(y);r.ConstructorFragment=T;var w=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.format=function(e){if(e||(e=r.FormatTypes.sighash),r.FormatTypes[e]||u.throwArgumentError("invalid format type","format",e),e===r.FormatTypes.json)return JSON.stringify({type:"function",name:this.name,constant:this.constant,stateMutability:"nonpayable"!==this.stateMutability?this.stateMutability:undefined,payable:this.payable,gas:this.gas?this.gas.toNumber():undefined,inputs:this.inputs.map((function(t){return JSON.parse(t.format(e))})),outputs:this.outputs.map((function(t){return JSON.parse(t.format(e))}))});var t="";return e!==r.FormatTypes.sighash&&(t+="function "),t+=this.name+"("+this.inputs.map((function(t){return t.format(e)})).join(e===r.FormatTypes.full?", ":",")+") ",e!==r.FormatTypes.sighash&&(this.stateMutability?"nonpayable"!==this.stateMutability&&(t+=this.stateMutability+" "):this.constant&&(t+="view "),this.outputs&&this.outputs.length&&(t+="returns ("+this.outputs.map((function(t){return t.format(e)})).join(", ")+") "),null!=this.gas&&(t+="@"+this.gas.toString()+" ")),t.trim()},t.from=function(e){return"string"==typeof e?t.fromString(e):t.fromObject(e)},t.fromObject=function(e){if(t.isFunctionFragment(e))return e;"function"!==e.type&&u.throwArgumentError("invalid function object","value",e);var r=E(e),n={type:e.type,name:C(e.name),constant:r.constant,inputs:e.inputs?e.inputs.map(g.fromObject):[],outputs:e.outputs?e.outputs.map(g.fromObject):[],payable:r.payable,stateMutability:r.stateMutability,gas:e.gas?i.BigNumber.from(e.gas):null};return new t(l,n)},t.fromString=function(e){var r={type:"function"},n=(e=b(e,r)).split(" returns ");n.length>2&&u.throwArgumentError("invalid function string","value",e);var o=n[0].match(M);if(o||u.throwArgumentError("invalid function signature","value",e),r.name=o[1].trim(),r.name&&C(r.name),r.inputs=A(o[2],!1),v(o[3].trim(),r),n.length>1){var i=n[1].match(M);""==i[1].trim()&&""==i[3].trim()||u.throwArgumentError("unexpected tokens","value",e),r.outputs=A(i[2],!1)}else r.outputs=[];return t.fromObject(r)},t.isFunctionFragment=function(e){return e&&e._isFragment&&"function"===e.type},t}(T);function N(e){var t=e.format();return"Error(string)"!==t&&"Panic(uint256)"!==t||u.throwArgumentError("cannot specify user defined "+t+" error","fragment",e),e}r.FunctionFragment=w;var S=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.format=function(e){if(e||(e=r.FormatTypes.sighash),r.FormatTypes[e]||u.throwArgumentError("invalid format type","format",e),e===r.FormatTypes.json)return JSON.stringify({type:"error",name:this.name,inputs:this.inputs.map((function(t){return JSON.parse(t.format(e))}))});var t="";return e!==r.FormatTypes.sighash&&(t+="error "),(t+=this.name+"("+this.inputs.map((function(t){return t.format(e)})).join(e===r.FormatTypes.full?", ":",")+") ").trim()},t.from=function(e){return"string"==typeof e?t.fromString(e):t.fromObject(e)},t.fromObject=function(e){if(t.isErrorFragment(e))return e;"error"!==e.type&&u.throwArgumentError("invalid error object","value",e);var r={type:e.type,name:C(e.name),inputs:e.inputs?e.inputs.map(g.fromObject):[]};return N(new t(l,r))},t.fromString=function(e){var r={type:"error"},n=e.match(M);return n||u.throwArgumentError("invalid error signature","value",e),r.name=n[1].trim(),r.name&&C(r.name),r.inputs=A(n[2],!1),N(t.fromObject(r))},t.isErrorFragment=function(e){return e&&e._isFragment&&"error"===e.type},t}(y);function I(e){return e.match(/^uint($|[^1-9])/)?e="uint256"+e.substring(4):e.match(/^int($|[^1-9])/)&&(e="int256"+e.substring(3)),e}r.ErrorFragment=S;var O=new RegExp("^[a-zA-Z$_][a-zA-Z0-9$_]*$");function C(e){return e&&e.match(O)||u.throwArgumentError('invalid identifier "'+e+'"',"value",e),e}var M=new RegExp("^([^)(]*)\\((.*)\\)([^)(]*)$")}}},{package:"@ethersproject/abi",file:"node_modules/@ethersproject/abi/lib/fragments.js"}],[460,{"./abi-coder":447,"./fragments":459,"./interface":461},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.TransactionDescription=r.LogDescription=r.checkResultErrors=r.Indexed=r.Interface=r.defaultAbiCoder=r.AbiCoder=r.FormatTypes=r.ParamType=r.FunctionFragment=r.Fragment=r.EventFragment=r.ErrorFragment=r.ConstructorFragment=void 0;var n=e("./fragments");Object.defineProperty(r,"ConstructorFragment",{enumerable:!0,get:function(){return n.ConstructorFragment}}),Object.defineProperty(r,"ErrorFragment",{enumerable:!0,get:function(){return n.ErrorFragment}}),Object.defineProperty(r,"EventFragment",{enumerable:!0,get:function(){return n.EventFragment}}),Object.defineProperty(r,"FormatTypes",{enumerable:!0,get:function(){return n.FormatTypes}}),Object.defineProperty(r,"Fragment",{enumerable:!0,get:function(){return n.Fragment}}),Object.defineProperty(r,"FunctionFragment",{enumerable:!0,get:function(){return n.FunctionFragment}}),Object.defineProperty(r,"ParamType",{enumerable:!0,get:function(){return n.ParamType}});var o=e("./abi-coder");Object.defineProperty(r,"AbiCoder",{enumerable:!0,get:function(){return o.AbiCoder}}),Object.defineProperty(r,"defaultAbiCoder",{enumerable:!0,get:function(){return o.defaultAbiCoder}});var i=e("./interface");Object.defineProperty(r,"checkResultErrors",{enumerable:!0,get:function(){return i.checkResultErrors}}),Object.defineProperty(r,"Indexed",{enumerable:!0,get:function(){return i.Indexed}}),Object.defineProperty(r,"Interface",{enumerable:!0,get:function(){return i.Interface}}),Object.defineProperty(r,"LogDescription",{enumerable:!0,get:function(){return i.LogDescription}}),Object.defineProperty(r,"TransactionDescription",{enumerable:!0,get:function(){return i.TransactionDescription}})}}},{package:"@ethersproject/abi",file:"node_modules/@ethersproject/abi/lib/index.js"}],[461,{"./_version":446,"./abi-coder":447,"./coders/abstract-coder":448,"./fragments":459,"@ethersproject/address":467,"@ethersproject/bignumber":474,"@ethersproject/bytes":476,"@ethersproject/hash":489,"@ethersproject/keccak256":502,"@ethersproject/logger":504,"@ethersproject/properties":510},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.Interface=r.Indexed=r.ErrorDescription=r.TransactionDescription=r.LogDescription=r.checkResultErrors=void 0;var i=e("@ethersproject/address"),a=e("@ethersproject/bignumber"),s=e("@ethersproject/bytes"),c=e("@ethersproject/hash"),u=e("@ethersproject/keccak256"),l=e("@ethersproject/properties"),f=e("./abi-coder"),d=e("./coders/abstract-coder");Object.defineProperty(r,"checkResultErrors",{enumerable:!0,get:function(){return d.checkResultErrors}});var h=e("./fragments"),p=e("@ethersproject/logger"),m=e("./_version"),g=new p.Logger(m.version),A=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t}(l.Description);r.LogDescription=A;var y=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t}(l.Description);r.TransactionDescription=y;var _=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t}(l.Description);r.ErrorDescription=_;var b=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.isIndexed=function(e){return!(!e||!e._isIndexed)},t}(l.Description);r.Indexed=b;var v={"0x08c379a0":{signature:"Error(string)",name:"Error",inputs:["string"],reason:!0},"0x4e487b71":{signature:"Panic(uint256)",name:"Panic",inputs:["uint256"]}};function E(e,t){var r=new Error("deferred error during ABI decoding triggered accessing "+e);return r.error=t,r}var T=function(){function e(e){var t=this.constructor,r=this,n=[];n="string"==typeof e?JSON.parse(e):e,(0,l.defineReadOnly)(this,"fragments",n.map((function(e){return h.Fragment.from(e)})).filter((function(e){return null!=e}))),(0,l.defineReadOnly)(this,"_abiCoder",(0,l.getStatic)(t,"getAbiCoder")()),(0,l.defineReadOnly)(this,"functions",{}),(0,l.defineReadOnly)(this,"errors",{}),(0,l.defineReadOnly)(this,"events",{}),(0,l.defineReadOnly)(this,"structs",{}),this.fragments.forEach((function(e){var t=null;switch(e.type){case"constructor":return r.deploy?void g.warn("duplicate definition - constructor"):void(0,l.defineReadOnly)(r,"deploy",e);case"function":t=r.functions;break;case"event":t=r.events;break;case"error":t=r.errors;break;default:return}var n=e.format();t[n]?g.warn("duplicate definition - "+n):t[n]=e})),this.deploy||(0,l.defineReadOnly)(this,"deploy",h.ConstructorFragment.from({payable:!1,type:"constructor"})),(0,l.defineReadOnly)(this,"_isInterface",!0)}return e.prototype.format=function(e){e||(e=h.FormatTypes.full),e===h.FormatTypes.sighash&&g.throwArgumentError("interface does not support formatting sighash","format",e);var t=this.fragments.map((function(t){return t.format(e)}));return e===h.FormatTypes.json?JSON.stringify(t.map((function(e){return JSON.parse(e)}))):t},e.getAbiCoder=function(){return f.defaultAbiCoder},e.getAddress=function(e){return(0,i.getAddress)(e)},e.getSighash=function(e){return(0,s.hexDataSlice)((0,c.id)(e.format()),0,4)},e.getEventTopic=function(e){return(0,c.id)(e.format())},e.prototype.getFunction=function(e){if((0,s.isHexString)(e)){for(var t in this.functions)if(e===this.getSighash(t))return this.functions[t];g.throwArgumentError("no matching function","sighash",e)}if(-1===e.indexOf("(")){var r=e.trim(),n=Object.keys(this.functions).filter((function(e){return e.split("(")[0]===r}));return 0===n.length?g.throwArgumentError("no matching function","name",r):n.length>1&&g.throwArgumentError("multiple matching functions","name",r),this.functions[n[0]]}var o=this.functions[h.FunctionFragment.fromString(e).format()];return o||g.throwArgumentError("no matching function","signature",e),o},e.prototype.getEvent=function(e){if((0,s.isHexString)(e)){var t=e.toLowerCase();for(var r in this.events)if(t===this.getEventTopic(r))return this.events[r];g.throwArgumentError("no matching event","topichash",t)}if(-1===e.indexOf("(")){var n=e.trim(),o=Object.keys(this.events).filter((function(e){return e.split("(")[0]===n}));return 0===o.length?g.throwArgumentError("no matching event","name",n):o.length>1&&g.throwArgumentError("multiple matching events","name",n),this.events[o[0]]}var i=this.events[h.EventFragment.fromString(e).format()];return i||g.throwArgumentError("no matching event","signature",e),i},e.prototype.getError=function(e){if((0,s.isHexString)(e)){var t=(0,l.getStatic)(this.constructor,"getSighash");for(var r in this.errors){if(e===t(this.errors[r]))return this.errors[r]}g.throwArgumentError("no matching error","sighash",e)}if(-1===e.indexOf("(")){var n=e.trim(),o=Object.keys(this.errors).filter((function(e){return e.split("(")[0]===n}));return 0===o.length?g.throwArgumentError("no matching error","name",n):o.length>1&&g.throwArgumentError("multiple matching errors","name",n),this.errors[o[0]]}var i=this.errors[h.FunctionFragment.fromString(e).format()];return i||g.throwArgumentError("no matching error","signature",e),i},e.prototype.getSighash=function(e){if("string"==typeof e)try{e=this.getFunction(e)}catch(t){try{e=this.getError(e)}catch(e){throw t}}return(0,l.getStatic)(this.constructor,"getSighash")(e)},e.prototype.getEventTopic=function(e){return"string"==typeof e&&(e=this.getEvent(e)),(0,l.getStatic)(this.constructor,"getEventTopic")(e)},e.prototype._decodeParams=function(e,t){return this._abiCoder.decode(e,t)},e.prototype._encodeParams=function(e,t){return this._abiCoder.encode(e,t)},e.prototype.encodeDeploy=function(e){return this._encodeParams(this.deploy.inputs,e||[])},e.prototype.decodeErrorResult=function(e,t){"string"==typeof e&&(e=this.getError(e));var r=(0,s.arrayify)(t);return(0,s.hexlify)(r.slice(0,4))!==this.getSighash(e)&&g.throwArgumentError("data signature does not match error "+e.name+".","data",(0,s.hexlify)(r)),this._decodeParams(e.inputs,r.slice(4))},e.prototype.encodeErrorResult=function(e,t){return"string"==typeof e&&(e=this.getError(e)),(0,s.hexlify)((0,s.concat)([this.getSighash(e),this._encodeParams(e.inputs,t||[])]))},e.prototype.decodeFunctionData=function(e,t){"string"==typeof e&&(e=this.getFunction(e));var r=(0,s.arrayify)(t);return(0,s.hexlify)(r.slice(0,4))!==this.getSighash(e)&&g.throwArgumentError("data signature does not match function "+e.name+".","data",(0,s.hexlify)(r)),this._decodeParams(e.inputs,r.slice(4))},e.prototype.encodeFunctionData=function(e,t){return"string"==typeof e&&(e=this.getFunction(e)),(0,s.hexlify)((0,s.concat)([this.getSighash(e),this._encodeParams(e.inputs,t||[])]))},e.prototype.decodeFunctionResult=function(e,t){"string"==typeof e&&(e=this.getFunction(e));var r=(0,s.arrayify)(t),n=null,o="",i=null,a=null,c=null;switch(r.length%this._abiCoder._getWordSize()){case 0:try{return this._abiCoder.decode(e.outputs,r)}catch(f){}break;case 4:var u=(0,s.hexlify)(r.slice(0,4)),l=v[u];if(l)i=this._abiCoder.decode(l.inputs,r.slice(4)),a=l.name,c=l.signature,l.reason&&(n=i[0]),"Error"===a?o="; VM Exception while processing transaction: reverted with reason string "+JSON.stringify(i[0]):"Panic"===a&&(o="; VM Exception while processing transaction: reverted with panic code "+i[0]);else try{var f=this.getError(u);i=this._abiCoder.decode(f.inputs,r.slice(4)),a=f.name,c=f.format()}catch(f){}}return g.throwError("call revert exception"+o,p.Logger.errors.CALL_EXCEPTION,{method:e.format(),data:(0,s.hexlify)(t),errorArgs:i,errorName:a,errorSignature:c,reason:n})},e.prototype.encodeFunctionResult=function(e,t){return"string"==typeof e&&(e=this.getFunction(e)),(0,s.hexlify)(this._abiCoder.encode(e.outputs,t||[]))},e.prototype.encodeFilterTopics=function(e,t){var r=this;"string"==typeof e&&(e=this.getEvent(e)),t.length>e.inputs.length&&g.throwError("too many arguments for "+e.format(),p.Logger.errors.UNEXPECTED_ARGUMENT,{argument:"values",value:t});var n=[];e.anonymous||n.push(this.getEventTopic(e));var o=function(e,t){return"string"===e.type?(0,c.id)(t):"bytes"===e.type?(0,u.keccak256)((0,s.hexlify)(t)):("bool"===e.type&&"boolean"==typeof t&&(t=t?"0x01":"0x00"),e.type.match(/^u?int/)&&(t=a.BigNumber.from(t).toHexString()),"address"===e.type&&r._abiCoder.encode(["address"],[t]),(0,s.hexZeroPad)((0,s.hexlify)(t),32))};for(t.forEach((function(t,r){var i=e.inputs[r];i.indexed?null==t?n.push(null):"array"===i.baseType||"tuple"===i.baseType?g.throwArgumentError("filtering with tuples or arrays not supported","contract."+i.name,t):Array.isArray(t)?n.push(t.map((function(e){return o(i,e)}))):n.push(o(i,t)):null!=t&&g.throwArgumentError("cannot filter non-indexed parameters; must be null","contract."+i.name,t)}));n.length&&null===n[n.length-1];)n.pop();return n},e.prototype.encodeEventLog=function(e,t){var r=this;"string"==typeof e&&(e=this.getEvent(e));var n=[],o=[],i=[];return e.anonymous||n.push(this.getEventTopic(e)),t.length!==e.inputs.length&&g.throwArgumentError("event arguments/values mismatch","values",t),e.inputs.forEach((function(e,a){var s=t[a];if(e.indexed)if("string"===e.type)n.push((0,c.id)(s));else if("bytes"===e.type)n.push((0,u.keccak256)(s));else{if("tuple"===e.baseType||"array"===e.baseType)throw new Error("not implemented");n.push(r._abiCoder.encode([e.type],[s]))}else o.push(e),i.push(s)})),{data:this._abiCoder.encode(o,i),topics:n}},e.prototype.decodeEventLog=function(e,t,r){if("string"==typeof e&&(e=this.getEvent(e)),null!=r&&!e.anonymous){var n=this.getEventTopic(e);(0,s.isHexString)(r[0],32)&&r[0].toLowerCase()===n||g.throwError("fragment/topic mismatch",p.Logger.errors.INVALID_ARGUMENT,{argument:"topics[0]",expected:n,value:r[0]}),r=r.slice(1)}var o=[],i=[],a=[];e.inputs.forEach((function(e,t){e.indexed?"string"===e.type||"bytes"===e.type||"tuple"===e.baseType||"array"===e.baseType?(o.push(h.ParamType.fromObject({type:"bytes32",name:e.name})),a.push(!0)):(o.push(e),a.push(!1)):(i.push(e),a.push(!1))}));var c=null!=r?this._abiCoder.decode(o,(0,s.concat)(r)):null,u=this._abiCoder.decode(i,t,!0),l=[],f=0,d=0;e.inputs.forEach((function(e,t){if(e.indexed)if(null==c)l[t]=new b({_isIndexed:!0,hash:null});else if(a[t])l[t]=new b({_isIndexed:!0,hash:c[d++]});else try{l[t]=c[d++]}catch(e){l[t]=e}else try{l[t]=u[f++]}catch(e){l[t]=e}if(e.name&&null==l[e.name]){var r=l[t];r instanceof Error?Object.defineProperty(l,e.name,{enumerable:!0,get:function(){throw E("property "+JSON.stringify(e.name),r)}}):l[e.name]=r}}));for(var m=function(e){var t=l[e];t instanceof Error&&Object.defineProperty(l,e,{enumerable:!0,get:function(){throw E("index "+e,t)}})},A=0;A@ethersproject/abstract-provider",file:"node_modules/@ethersproject/abstract-provider/lib/_version.js"}],[463,{"./_version":462,"@ethersproject/bignumber":474,"@ethersproject/bytes":476,"@ethersproject/logger":504,"@ethersproject/properties":510},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),i=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function a(e){try{c(n.next(e))}catch(e){i(e)}}function s(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}c((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]@ethersproject/abstract-provider",file:"node_modules/@ethersproject/abstract-provider/lib/index.js"}],[464,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.version=void 0,r.version="abstract-signer/5.7.0"}}},{package:"@ethersproject/hash>@ethersproject/abstract-signer",file:"node_modules/@ethersproject/abstract-signer/lib/_version.js"}],[465,{"./_version":464,"@ethersproject/logger":504,"@ethersproject/properties":510},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),i=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function a(e){try{c(n.next(e))}catch(e){i(e)}}function s(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}c((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]=0)throw e;return l.throwError("cannot estimate gas; transaction may fail or may require manual gas limit",c.Logger.errors.UNPREDICTABLE_GAS_LIMIT,{error:e,tx:t})}))),null==t.chainId?t.chainId=this.getChainId():t.chainId=Promise.all([Promise.resolve(t.chainId),this.getChainId()]).then((function(t){return 0!==t[1]&&t[0]!==t[1]&&l.throwArgumentError("chainId address mismatch","transaction",e),t[0]})),[4,(0,s.resolveProperties)(t)];case 6:return[2,f.sent()]}}))}))},e.prototype._checkProvider=function(e){this.provider||l.throwError("missing provider",c.Logger.errors.UNSUPPORTED_OPERATION,{operation:e||"_checkProvider"})},e.isSigner=function(e){return!(!e||!e._isSigner)},e}();r.Signer=h;var p=function(e){function t(t,r){var n=e.call(this)||this;return(0,s.defineReadOnly)(n,"address",t),(0,s.defineReadOnly)(n,"provider",r||null),n}return o(t,e),t.prototype.getAddress=function(){return Promise.resolve(this.address)},t.prototype._fail=function(e,t){return Promise.resolve().then((function(){l.throwError(e,c.Logger.errors.UNSUPPORTED_OPERATION,{operation:t})}))},t.prototype.signMessage=function(e){return this._fail("VoidSigner cannot sign messages","signMessage")},t.prototype.signTransaction=function(e){return this._fail("VoidSigner cannot sign transactions","signTransaction")},t.prototype._signTypedData=function(e,t,r){return this._fail("VoidSigner cannot sign typed data","signTypedData")},t.prototype.connect=function(e){return new t(this.address,e)},t}(h);r.VoidSigner=p}}},{package:"@ethersproject/hash>@ethersproject/abstract-signer",file:"node_modules/@ethersproject/abstract-signer/lib/index.js"}],[466,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.version=void 0,r.version="address/5.7.0"}}},{package:"@ethersproject/abi>@ethersproject/address",file:"node_modules/@ethersproject/address/lib/_version.js"}],[467,{"./_version":466,"@ethersproject/bignumber":474,"@ethersproject/bytes":476,"@ethersproject/keccak256":502,"@ethersproject/logger":504,"@ethersproject/rlp":536},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.getCreate2Address=r.getContractAddress=r.getIcapAddress=r.isAddress=r.getAddress=void 0;var n=e("@ethersproject/bytes"),o=e("@ethersproject/bignumber"),i=e("@ethersproject/keccak256"),a=e("@ethersproject/rlp"),s=e("@ethersproject/logger"),c=e("./_version"),u=new s.Logger(c.version);function l(e){(0,n.isHexString)(e,20)||u.throwArgumentError("invalid address","address",e);for(var t=(e=e.toLowerCase()).substring(2).split(""),r=new Uint8Array(40),o=0;o<40;o++)r[o]=t[o].charCodeAt(0);var a=(0,n.arrayify)((0,i.keccak256)(r));for(o=0;o<40;o+=2)a[o>>1]>>4>=8&&(t[o]=t[o].toUpperCase()),(15&a[o>>1])>=8&&(t[o+1]=t[o+1].toUpperCase());return"0x"+t.join("")}for(var f={},d=0;d<10;d++)f[String(d)]=String(d);for(d=0;d<26;d++)f[String.fromCharCode(65+d)]=String(10+d);var h,p=Math.floor((h=9007199254740991,Math.log10?Math.log10(h):Math.log(h)/Math.LN10));function m(e){for(var t=(e=(e=e.toUpperCase()).substring(4)+e.substring(0,2)+"00").split("").map((function(e){return f[e]})).join("");t.length>=p;){var r=t.substring(0,p);t=parseInt(r,10)%97+t.substring(r.length)}for(var n=String(98-parseInt(t,10)%97);n.length<2;)n="0"+n;return n}function g(e){var t=null;if("string"!=typeof e&&u.throwArgumentError("invalid address","address",e),e.match(/^(0x)?[0-9a-fA-F]{40}$/))"0x"!==e.substring(0,2)&&(e="0x"+e),t=l(e),e.match(/([A-F].*[a-f])|([a-f].*[A-F])/)&&t!==e&&u.throwArgumentError("bad address checksum","address",e);else if(e.match(/^XE[0-9]{2}[0-9A-Za-z]{30,31}$/)){for(e.substring(2,4)!==m(e)&&u.throwArgumentError("bad icap checksum","address",e),t=(0,o._base36To16)(e.substring(4));t.length<40;)t="0"+t;t=l("0x"+t)}else u.throwArgumentError("invalid address","address",e);return t}r.getAddress=g,r.isAddress=function(e){try{return g(e),!0}catch(e){}return!1},r.getIcapAddress=function(e){for(var t=(0,o._base16To36)(g(e).substring(2)).toUpperCase();t.length<30;)t="0"+t;return"XE"+m("XE00"+t)+t},r.getContractAddress=function(e){var t=null;try{t=g(e.from)}catch(t){u.throwArgumentError("missing from address","transaction",e)}var r=(0,n.stripZeros)((0,n.arrayify)(o.BigNumber.from(e.nonce).toHexString()));return g((0,n.hexDataSlice)((0,i.keccak256)((0,a.encode)([t,r])),12))},r.getCreate2Address=function(e,t,r){return 32!==(0,n.hexDataLength)(t)&&u.throwArgumentError("salt must be 32 bytes","salt",t),32!==(0,n.hexDataLength)(r)&&u.throwArgumentError("initCodeHash must be 32 bytes","initCodeHash",r),g((0,n.hexDataSlice)((0,i.keccak256)((0,n.concat)(["0xff",g(e),t,r])),12))}}}},{package:"@ethersproject/abi>@ethersproject/address",file:"node_modules/@ethersproject/address/lib/index.js"}],[468,{"@ethersproject/bytes":476},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.encode=r.decode=void 0;var n=e("@ethersproject/bytes");r.decode=function(e){e=atob(e);for(var t=[],r=0;r@ethersproject/base64",file:"node_modules/@ethersproject/base64/lib/browser-base64.js"}],[469,{"./base64":468},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.encode=r.decode=void 0;var n=e("./base64");Object.defineProperty(r,"decode",{enumerable:!0,get:function(){return n.decode}}),Object.defineProperty(r,"encode",{enumerable:!0,get:function(){return n.encode}})}}},{package:"@ethersproject/hash>@ethersproject/base64",file:"node_modules/@ethersproject/base64/lib/index.js"}],[470,{"@ethersproject/bytes":476,"@ethersproject/properties":510},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.Base58=r.Base32=r.BaseX=void 0;var n=e("@ethersproject/bytes"),o=e("@ethersproject/properties"),i=function(){function e(e){(0,o.defineReadOnly)(this,"alphabet",e),(0,o.defineReadOnly)(this,"base",e.length),(0,o.defineReadOnly)(this,"_alphabetMap",{}),(0,o.defineReadOnly)(this,"_leader",e.charAt(0));for(var t=0;t0;)r.push(i%this.base),i=i/this.base|0}for(var s="",c=0;0===t[c]&&c=0;--u)s+=this.alphabet[r[u]];return s},e.prototype.decode=function(e){if("string"!=typeof e)throw new TypeError("Expected String");var t=[];if(0===e.length)return new Uint8Array(t);t.push(0);for(var r=0;r>=8;for(;i>0;)t.push(255&i),i>>=8}for(var s=0;e[s]===this._leader&&s@ethersproject/basex",file:"node_modules/@ethersproject/basex/lib/index.js"}],[471,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.version=void 0,r.version="bignumber/5.7.0"}}},{package:"@ethersproject/bignumber",file:"node_modules/@ethersproject/bignumber/lib/_version.js"}],[472,{"./_version":471,"@ethersproject/bytes":476,"@ethersproject/logger":504,"bn.js":2980},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r._base16To36=r._base36To16=r.BigNumber=r.isBigNumberish=void 0;var o=n(e("bn.js")).default.BN,i=e("@ethersproject/bytes"),a=e("@ethersproject/logger"),s=e("./_version"),c=new a.Logger(s.version),u={},l=9007199254740991;r.isBigNumberish=function(e){return null!=e&&(d.isBigNumber(e)||"number"==typeof e&&e%1==0||"string"==typeof e&&!!e.match(/^-?[0-9]+$/)||(0,i.isHexString)(e)||"bigint"==typeof e||(0,i.isBytes)(e))};var f=!1,d=function(){function e(e,t){e!==u&&c.throwError("cannot call constructor directly; use BigNumber.from",a.Logger.errors.UNSUPPORTED_OPERATION,{operation:"new (BigNumber)"}),this._hex=t,this._isBigNumber=!0,Object.freeze(this)}return e.prototype.fromTwos=function(e){return p(m(this).fromTwos(e))},e.prototype.toTwos=function(e){return p(m(this).toTwos(e))},e.prototype.abs=function(){return"-"===this._hex[0]?e.from(this._hex.substring(1)):this},e.prototype.add=function(e){return p(m(this).add(m(e)))},e.prototype.sub=function(e){return p(m(this).sub(m(e)))},e.prototype.div=function(t){return e.from(t).isZero()&&g("division-by-zero","div"),p(m(this).div(m(t)))},e.prototype.mul=function(e){return p(m(this).mul(m(e)))},e.prototype.mod=function(e){var t=m(e);return t.isNeg()&&g("division-by-zero","mod"),p(m(this).umod(t))},e.prototype.pow=function(e){var t=m(e);return t.isNeg()&&g("negative-power","pow"),p(m(this).pow(t))},e.prototype.and=function(e){var t=m(e);return(this.isNegative()||t.isNeg())&&g("unbound-bitwise-result","and"),p(m(this).and(t))},e.prototype.or=function(e){var t=m(e);return(this.isNegative()||t.isNeg())&&g("unbound-bitwise-result","or"),p(m(this).or(t))},e.prototype.xor=function(e){var t=m(e);return(this.isNegative()||t.isNeg())&&g("unbound-bitwise-result","xor"),p(m(this).xor(t))},e.prototype.mask=function(e){return(this.isNegative()||e<0)&&g("negative-width","mask"),p(m(this).maskn(e))},e.prototype.shl=function(e){return(this.isNegative()||e<0)&&g("negative-width","shl"),p(m(this).shln(e))},e.prototype.shr=function(e){return(this.isNegative()||e<0)&&g("negative-width","shr"),p(m(this).shrn(e))},e.prototype.eq=function(e){return m(this).eq(m(e))},e.prototype.lt=function(e){return m(this).lt(m(e))},e.prototype.lte=function(e){return m(this).lte(m(e))},e.prototype.gt=function(e){return m(this).gt(m(e))},e.prototype.gte=function(e){return m(this).gte(m(e))},e.prototype.isNegative=function(){return"-"===this._hex[0]},e.prototype.isZero=function(){return m(this).isZero()},e.prototype.toNumber=function(){try{return m(this).toNumber()}catch(e){g("overflow","toNumber",this.toString())}return null},e.prototype.toBigInt=function(){try{return BigInt(this.toString())}catch(e){}return c.throwError("this platform does not support BigInt",a.Logger.errors.UNSUPPORTED_OPERATION,{value:this.toString()})},e.prototype.toString=function(){return arguments.length>0&&(10===arguments[0]?f||(f=!0,c.warn("BigNumber.toString does not accept any parameters; base-10 is assumed")):16===arguments[0]?c.throwError("BigNumber.toString does not accept any parameters; use bigNumber.toHexString()",a.Logger.errors.UNEXPECTED_ARGUMENT,{}):c.throwError("BigNumber.toString does not accept parameters",a.Logger.errors.UNEXPECTED_ARGUMENT,{})),m(this).toString(10)},e.prototype.toHexString=function(){return this._hex},e.prototype.toJSON=function(e){return{type:"BigNumber",hex:this.toHexString()}},e.from=function(t){if(t instanceof e)return t;if("string"==typeof t)return t.match(/^-?0x[0-9a-f]+$/i)?new e(u,h(t)):t.match(/^-?[0-9]+$/)?new e(u,h(new o(t))):c.throwArgumentError("invalid BigNumber string","value",t);if("number"==typeof t)return t%1&&g("underflow","BigNumber.from",t),(t>=l||t<=-l)&&g("overflow","BigNumber.from",t),e.from(String(t));var r,n=t;if("bigint"==typeof n)return e.from(n.toString());if((0,i.isBytes)(n))return e.from((0,i.hexlify)(n));if(n)if(n.toHexString){if("string"==typeof(r=n.toHexString()))return e.from(r)}else if(null==(r=n._hex)&&"BigNumber"===n.type&&(r=n.hex),"string"==typeof r&&((0,i.isHexString)(r)||"-"===r[0]&&(0,i.isHexString)(r.substring(1))))return e.from(r);return c.throwArgumentError("invalid BigNumber value","value",t)},e.isBigNumber=function(e){return!(!e||!e._isBigNumber)},e}();function h(e){if("string"!=typeof e)return h(e.toString(16));if("-"===e[0])return"-"===(e=e.substring(1))[0]&&c.throwArgumentError("invalid hex","value",e),"0x00"===(e=h(e))?e:"-"+e;if("0x"!==e.substring(0,2)&&(e="0x"+e),"0x"===e)return"0x00";for(e.length%2&&(e="0x0"+e.substring(2));e.length>4&&"0x00"===e.substring(0,4);)e="0x"+e.substring(4);return e}function p(e){return d.from(h(e))}function m(e){var t=d.from(e).toHexString();return"-"===t[0]?new o("-"+t.substring(3),16):new o(t.substring(2),16)}function g(e,t,r){var n={fault:e,operation:t};return null!=r&&(n.value=r),c.throwError(e,a.Logger.errors.NUMERIC_FAULT,n)}r.BigNumber=d,r._base36To16=function(e){return new o(e,36).toString(16)},r._base16To36=function(e){return new o(e,16).toString(36)}}}},{package:"@ethersproject/bignumber",file:"node_modules/@ethersproject/bignumber/lib/bignumber.js"}],[473,{"./_version":471,"./bignumber":472,"@ethersproject/bytes":476,"@ethersproject/logger":504},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.FixedNumber=r.FixedFormat=r.parseFixed=r.formatFixed=void 0;var n=e("@ethersproject/bytes"),o=e("@ethersproject/logger"),i=e("./_version"),a=new o.Logger(i.version),s=e("./bignumber"),c={},u=s.BigNumber.from(0),l=s.BigNumber.from(-1);function f(e,t,r,n){var i={fault:t,operation:r};return n!==undefined&&(i.value=n),a.throwError(e,o.Logger.errors.NUMERIC_FAULT,i)}for(var d="0";d.length<256;)d+=d;function h(e){if("number"!=typeof e)try{e=s.BigNumber.from(e).toNumber()}catch(e){}return"number"==typeof e&&e>=0&&e<=256&&!(e%1)?"1"+d.substring(0,e):a.throwArgumentError("invalid decimal size","decimals",e)}function p(e,t){null==t&&(t=0);var r=h(t),n=(e=s.BigNumber.from(e)).lt(u);n&&(e=e.mul(l));for(var o=e.mod(r).toString();o.length2&&a.throwArgumentError("too many decimal points","value",e);var i=o[0],c=o[1];for(i||(i="0"),c||(c="0");"0"===c[c.length-1];)c=c.substring(0,c.length-1);for(c.length>r.length-1&&f("fractional component exceeds decimals","underflow","parseFixed"),""===c&&(c="0");c.length80&&a.throwArgumentError("invalid fixed format (decimals too large)","format.decimals",o),new e(c,r,n,o)},e}();r.FixedFormat=g;var A=function(){function e(e,t,r,n){e!==c&&a.throwError("cannot use FixedNumber constructor; use FixedNumber.from",o.Logger.errors.UNSUPPORTED_OPERATION,{operation:"new FixedFormat"}),this.format=n,this._hex=t,this._value=r,this._isFixedNumber=!0,Object.freeze(this)}return e.prototype._checkFormat=function(e){this.format.name!==e.format.name&&a.throwArgumentError("incompatible format; use fixedNumber.toFormat","other",e)},e.prototype.addUnsafe=function(t){this._checkFormat(t);var r=m(this._value,this.format.decimals),n=m(t._value,t.format.decimals);return e.fromValue(r.add(n),this.format.decimals,this.format)},e.prototype.subUnsafe=function(t){this._checkFormat(t);var r=m(this._value,this.format.decimals),n=m(t._value,t.format.decimals);return e.fromValue(r.sub(n),this.format.decimals,this.format)},e.prototype.mulUnsafe=function(t){this._checkFormat(t);var r=m(this._value,this.format.decimals),n=m(t._value,t.format.decimals);return e.fromValue(r.mul(n).div(this.format._multiplier),this.format.decimals,this.format)},e.prototype.divUnsafe=function(t){this._checkFormat(t);var r=m(this._value,this.format.decimals),n=m(t._value,t.format.decimals);return e.fromValue(r.mul(this.format._multiplier).div(n),this.format.decimals,this.format)},e.prototype.floor=function(){var t=this.toString().split(".");1===t.length&&t.push("0");var r=e.from(t[0],this.format),n=!t[1].match(/^(0*)$/);return this.isNegative()&&n&&(r=r.subUnsafe(y.toFormat(r.format))),r},e.prototype.ceiling=function(){var t=this.toString().split(".");1===t.length&&t.push("0");var r=e.from(t[0],this.format),n=!t[1].match(/^(0*)$/);return!this.isNegative()&&n&&(r=r.addUnsafe(y.toFormat(r.format))),r},e.prototype.round=function(t){null==t&&(t=0);var r=this.toString().split(".");if(1===r.length&&r.push("0"),(t<0||t>80||t%1)&&a.throwArgumentError("invalid decimal count","decimals",t),r[1].length<=t)return this;var n=e.from("1"+d.substring(0,t),this.format),o=_.toFormat(this.format);return this.mulUnsafe(n).addUnsafe(o).floor().divUnsafe(n)},e.prototype.isZero=function(){return"0.0"===this._value||"0"===this._value},e.prototype.isNegative=function(){return"-"===this._value[0]},e.prototype.toString=function(){return this._value},e.prototype.toHexString=function(e){if(null==e)return this._hex;e%8&&a.throwArgumentError("invalid byte width","width",e);var t=s.BigNumber.from(this._hex).fromTwos(this.format.width).toTwos(e).toHexString();return(0,n.hexZeroPad)(t,e/8)},e.prototype.toUnsafeFloat=function(){return parseFloat(this.toString())},e.prototype.toFormat=function(t){return e.fromString(this._value,t)},e.fromValue=function(t,r,n){return null!=n||null==r||(0,s.isBigNumberish)(r)||(n=r,r=null),null==r&&(r=0),null==n&&(n="fixed"),e.fromString(p(t,r),g.from(n))},e.fromString=function(t,r){null==r&&(r="fixed");var o=g.from(r),i=m(t,o.decimals);!o.signed&&i.lt(u)&&f("unsigned value cannot be negative","overflow","value",t);var a=null;o.signed?a=i.toTwos(o.width).toHexString():(a=i.toHexString(),a=(0,n.hexZeroPad)(a,o.width/8));var s=p(i,o.decimals);return new e(c,a,s,o)},e.fromBytes=function(t,r){null==r&&(r="fixed");var o=g.from(r);if((0,n.arrayify)(t).length>o.width/8)throw new Error("overflow");var i=s.BigNumber.from(t);o.signed&&(i=i.fromTwos(o.width));var a=i.toTwos((o.signed?0:1)+o.width).toHexString(),u=p(i,o.decimals);return new e(c,a,u,o)},e.from=function(t,r){if("string"==typeof t)return e.fromString(t,r);if((0,n.isBytes)(t))return e.fromBytes(t,r);try{return e.fromValue(t,0,r)}catch(e){if(e.code!==o.Logger.errors.INVALID_ARGUMENT)throw e}return a.throwArgumentError("invalid FixedNumber value","value",t)},e.isFixedNumber=function(e){return!(!e||!e._isFixedNumber)},e}();r.FixedNumber=A;var y=A.from(1),_=A.from("0.5")}}},{package:"@ethersproject/bignumber",file:"node_modules/@ethersproject/bignumber/lib/fixednumber.js"}],[474,{"./bignumber":472,"./fixednumber":473},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r._base36To16=r._base16To36=r.parseFixed=r.FixedNumber=r.FixedFormat=r.formatFixed=r.BigNumber=void 0;var n=e("./bignumber");Object.defineProperty(r,"BigNumber",{enumerable:!0,get:function(){return n.BigNumber}});var o=e("./fixednumber");Object.defineProperty(r,"formatFixed",{enumerable:!0,get:function(){return o.formatFixed}}),Object.defineProperty(r,"FixedFormat",{enumerable:!0,get:function(){return o.FixedFormat}}),Object.defineProperty(r,"FixedNumber",{enumerable:!0,get:function(){return o.FixedNumber}}),Object.defineProperty(r,"parseFixed",{enumerable:!0,get:function(){return o.parseFixed}});var i=e("./bignumber");Object.defineProperty(r,"_base16To36",{enumerable:!0,get:function(){return i._base16To36}}),Object.defineProperty(r,"_base36To16",{enumerable:!0,get:function(){return i._base36To16}})}}},{package:"@ethersproject/bignumber",file:"node_modules/@ethersproject/bignumber/lib/index.js"}],[475,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.version=void 0,r.version="bytes/5.7.0"}}},{package:"@ethersproject/abi>@ethersproject/bytes",file:"node_modules/@ethersproject/bytes/lib/_version.js"}],[476,{"./_version":475,"@ethersproject/logger":504},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.joinSignature=r.splitSignature=r.hexZeroPad=r.hexStripZeros=r.hexValue=r.hexConcat=r.hexDataSlice=r.hexDataLength=r.hexlify=r.isHexString=r.zeroPad=r.stripZeros=r.concat=r.arrayify=r.isBytes=r.isBytesLike=void 0;var n=e("@ethersproject/logger"),o=e("./_version"),i=new n.Logger(o.version);function a(e){return!!e.toHexString}function s(e){return e.slice||(e.slice=function(){var t=Array.prototype.slice.call(arguments);return s(new Uint8Array(Array.prototype.slice.apply(e,t)))}),e}function c(e){return p(e)&&!(e.length%2)||l(e)}function u(e){return"number"==typeof e&&e==e&&e%1==0}function l(e){if(null==e)return!1;if(e.constructor===Uint8Array)return!0;if("string"==typeof e)return!1;if(!u(e.length)||e.length<0)return!1;for(var t=0;t=256)return!1}return!0}function f(e,t){if(t||(t={}),"number"==typeof e){i.checkSafeUint53(e,"invalid arrayify value");for(var r=[];e;)r.unshift(255&e),e=parseInt(String(e/256));return 0===r.length&&r.push(0),s(new Uint8Array(r))}if(t.allowMissingPrefix&&"string"==typeof e&&"0x"!==e.substring(0,2)&&(e="0x"+e),a(e)&&(e=e.toHexString()),p(e)){var n=e.substring(2);n.length%2&&("left"===t.hexPad?n="0"+n:"right"===t.hexPad?n+="0":i.throwArgumentError("hex data is odd-length","value",e));r=[];for(var o=0;ot&&i.throwArgumentError("value out of range","value",arguments[0]);var r=new Uint8Array(t);return r.set(e,t-e.length),s(r)}function p(e,t){return!("string"!=typeof e||!e.match(/^0x[0-9A-Fa-f]*$/))&&(!t||e.length===2+2*t)}r.isBytesLike=c,r.isBytes=l,r.arrayify=f,r.concat=d,r.stripZeros=function(e){var t=f(e);if(0===t.length)return t;for(var r=0;r>4]+m[15&s]}return n}return i.throwArgumentError("invalid hexlify value","value",e)}function A(e){"string"!=typeof e&&(e=g(e)),p(e)||i.throwArgumentError("invalid hex string","value",e),e=e.substring(2);for(var t=0;t2*t+2&&i.throwArgumentError("value out of range","value",arguments[1]);e.length<2*t+2;)e="0x0"+e.substring(2);return e}function _(e){var t={r:"0x",s:"0x",_vs:"0x",recoveryParam:0,v:0,yParityAndS:"0x",compact:"0x"};if(c(e)){var r=f(e);64===r.length?(t.v=27+(r[32]>>7),r[32]&=127,t.r=g(r.slice(0,32)),t.s=g(r.slice(32,64))):65===r.length?(t.r=g(r.slice(0,32)),t.s=g(r.slice(32,64)),t.v=r[64]):i.throwArgumentError("invalid signature string","signature",e),t.v<27&&(0===t.v||1===t.v?t.v+=27:i.throwArgumentError("signature invalid v byte","signature",e)),t.recoveryParam=1-t.v%2,t.recoveryParam&&(r[32]|=128),t._vs=g(r.slice(32,64))}else{if(t.r=e.r,t.s=e.s,t.v=e.v,t.recoveryParam=e.recoveryParam,t._vs=e._vs,null!=t._vs){var n=h(f(t._vs),32);t._vs=g(n);var o=n[0]>=128?1:0;null==t.recoveryParam?t.recoveryParam=o:t.recoveryParam!==o&&i.throwArgumentError("signature recoveryParam mismatch _vs","signature",e),n[0]&=127;var a=g(n);null==t.s?t.s=a:t.s!==a&&i.throwArgumentError("signature v mismatch _vs","signature",e)}if(null==t.recoveryParam)null==t.v?i.throwArgumentError("signature missing v and recoveryParam","signature",e):0===t.v||1===t.v?t.recoveryParam=t.v:t.recoveryParam=1-t.v%2;else if(null==t.v)t.v=27+t.recoveryParam;else{var s=0===t.v||1===t.v?t.v:1-t.v%2;t.recoveryParam!==s&&i.throwArgumentError("signature recoveryParam mismatch v","signature",e)}null!=t.r&&p(t.r)?t.r=y(t.r,32):i.throwArgumentError("signature missing or invalid r","signature",e),null!=t.s&&p(t.s)?t.s=y(t.s,32):i.throwArgumentError("signature missing or invalid s","signature",e);var u=f(t.s);u[0]>=128&&i.throwArgumentError("signature s out of range","signature",e),t.recoveryParam&&(u[0]|=128);var l=g(u);t._vs&&(p(t._vs)||i.throwArgumentError("signature invalid _vs","signature",e),t._vs=y(t._vs,32)),null==t._vs?t._vs=l:t._vs!==l&&i.throwArgumentError("signature _vs mismatch v and s","signature",e)}return t.yParityAndS=t._vs,t.compact=t.r+t.yParityAndS.substring(2),t}r.hexlify=g,r.hexDataLength=function(e){if("string"!=typeof e)e=g(e);else if(!p(e)||e.length%2)return null;return(e.length-2)/2},r.hexDataSlice=function(e,t,r){return"string"!=typeof e?e=g(e):(!p(e)||e.length%2)&&i.throwArgumentError("invalid hexData","value",e),t=2+2*t,null!=r?"0x"+e.substring(t,2+2*r):"0x"+e.substring(t)},r.hexConcat=function(e){var t="0x";return e.forEach((function(e){t+=g(e).substring(2)})),t},r.hexValue=function(e){var t=A(g(e,{hexPad:"left"}));return"0x"===t?"0x0":t},r.hexStripZeros=A,r.hexZeroPad=y,r.splitSignature=_,r.joinSignature=function(e){return g(d([(e=_(e)).r,e.s,e.recoveryParam?"0x1c":"0x1b"]))}}}},{package:"@ethersproject/abi>@ethersproject/bytes",file:"node_modules/@ethersproject/bytes/lib/index.js"}],[477,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.AddressZero=void 0,r.AddressZero="0x0000000000000000000000000000000000000000"}}},{package:"@ethersproject/abi>@ethersproject/constants",file:"node_modules/@ethersproject/constants/lib/addresses.js"}],[478,{"@ethersproject/bignumber":474},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.MaxInt256=r.MinInt256=r.MaxUint256=r.WeiPerEther=r.Two=r.One=r.Zero=r.NegativeOne=void 0;var n=e("@ethersproject/bignumber"),o=n.BigNumber.from(-1);r.NegativeOne=o;var i=n.BigNumber.from(0);r.Zero=i;var a=n.BigNumber.from(1);r.One=a;var s=n.BigNumber.from(2);r.Two=s;var c=n.BigNumber.from("1000000000000000000");r.WeiPerEther=c;var u=n.BigNumber.from("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff");r.MaxUint256=u;var l=n.BigNumber.from("-0x8000000000000000000000000000000000000000000000000000000000000000");r.MinInt256=l;var f=n.BigNumber.from("0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff");r.MaxInt256=f}}},{package:"@ethersproject/abi>@ethersproject/constants",file:"node_modules/@ethersproject/constants/lib/bignumbers.js"}],[479,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.HashZero=void 0,r.HashZero="0x0000000000000000000000000000000000000000000000000000000000000000"}}},{package:"@ethersproject/abi>@ethersproject/constants",file:"node_modules/@ethersproject/constants/lib/hashes.js"}],[480,{"./addresses":477,"./bignumbers":478,"./hashes":479,"./strings":481},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.EtherSymbol=r.HashZero=r.MaxInt256=r.MinInt256=r.MaxUint256=r.WeiPerEther=r.Two=r.One=r.Zero=r.NegativeOne=r.AddressZero=void 0;var n=e("./addresses");Object.defineProperty(r,"AddressZero",{enumerable:!0,get:function(){return n.AddressZero}});var o=e("./bignumbers");Object.defineProperty(r,"NegativeOne",{enumerable:!0,get:function(){return o.NegativeOne}}),Object.defineProperty(r,"Zero",{enumerable:!0,get:function(){return o.Zero}}),Object.defineProperty(r,"One",{enumerable:!0,get:function(){return o.One}}),Object.defineProperty(r,"Two",{enumerable:!0,get:function(){return o.Two}}),Object.defineProperty(r,"WeiPerEther",{enumerable:!0,get:function(){return o.WeiPerEther}}),Object.defineProperty(r,"MaxUint256",{enumerable:!0,get:function(){return o.MaxUint256}}),Object.defineProperty(r,"MinInt256",{enumerable:!0,get:function(){return o.MinInt256}}),Object.defineProperty(r,"MaxInt256",{enumerable:!0,get:function(){return o.MaxInt256}});var i=e("./hashes");Object.defineProperty(r,"HashZero",{enumerable:!0,get:function(){return i.HashZero}});var a=e("./strings");Object.defineProperty(r,"EtherSymbol",{enumerable:!0,get:function(){return a.EtherSymbol}})}}},{package:"@ethersproject/abi>@ethersproject/constants",file:"node_modules/@ethersproject/constants/lib/index.js"}],[481,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.EtherSymbol=void 0,r.EtherSymbol="Ξ"}}},{package:"@ethersproject/abi>@ethersproject/constants",file:"node_modules/@ethersproject/constants/lib/strings.js"}],[482,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.version=void 0,r.version="contracts/5.7.0"}}},{package:"@ethersproject/contracts",file:"node_modules/@ethersproject/contracts/lib/_version.js"}],[483,{"./_version":482,"@ethersproject/abi":460,"@ethersproject/abstract-provider":463,"@ethersproject/abstract-signer":465,"@ethersproject/address":467,"@ethersproject/bignumber":474,"@ethersproject/bytes":476,"@ethersproject/logger":504,"@ethersproject/properties":510,"@ethersproject/transactions":550},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),i=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function a(e){try{c(n.next(e))}catch(e){i(e)}}function s(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}c((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]1)){e=e.substring(1);var r=t[0];try{null==o[e]&&(0,p.defineReadOnly)(o,e,o[r])}catch(e){}null==o.functions[e]&&(0,p.defineReadOnly)(o.functions,e,o.functions[r]),null==o.callStatic[e]&&(0,p.defineReadOnly)(o.callStatic,e,o.callStatic[r]),null==o.populateTransaction[e]&&(0,p.defineReadOnly)(o.populateTransaction,e,o.populateTransaction[r]),null==o.estimateGas[e]&&(0,p.defineReadOnly)(o.estimateGas,e,o.estimateGas[r])}}))}return e.getContractAddress=function(e){return(0,f.getContractAddress)(e)},e.getInterface=function(e){return c.Interface.isInterface(e)?e:new c.Interface(e)},e.prototype.deployed=function(){return this._deployed()},e.prototype._deployed=function(e){var t=this;return this._deployedPromise||(this.deployTransaction?this._deployedPromise=this.deployTransaction.wait().then((function(){return t})):this._deployedPromise=this.provider.getCode(this.address,e).then((function(e){return"0x"===e&&y.throwError("contract not deployed",g.Logger.errors.UNSUPPORTED_OPERATION,{contractAddress:t.address,operation:"getDeployed"}),t}))),this._deployedPromise},e.prototype.fallback=function(e){var t=this;this.signer||y.throwError("sending a transactions require a signer",g.Logger.errors.UNSUPPORTED_OPERATION,{operation:"sendTransaction(fallback)"});var r=(0,p.shallowCopy)(e||{});return["from","to"].forEach((function(e){null!=r[e]&&y.throwError("cannot override "+e,g.Logger.errors.UNSUPPORTED_OPERATION,{operation:e})})),r.to=this.resolvedAddress,this.deployed().then((function(){return t.signer.sendTransaction(r)}))},e.prototype.connect=function(e){"string"==typeof e&&(e=new l.VoidSigner(e,this.provider));var t=new this.constructor(this.address,this.interface,e);return this.deployTransaction&&(0,p.defineReadOnly)(t,"deployTransaction",this.deployTransaction),t},e.prototype.attach=function(e){return new this.constructor(e,this.interface,this.signer||this.provider)},e.isIndexed=function(e){return c.Indexed.isIndexed(e)},e.prototype._normalizeRunningEvent=function(e){return this._runningEvents[e.tag]?this._runningEvents[e.tag]:e},e.prototype._getRunningEvent=function(e){if("string"==typeof e){if("error"===e)return this._normalizeRunningEvent(new O);if("event"===e)return this._normalizeRunningEvent(new I("event",null));if("*"===e)return this._normalizeRunningEvent(new M(this.address,this.interface));var t=this.interface.getEvent(e);return this._normalizeRunningEvent(new C(this.address,this.interface,t))}if(e.topics&&e.topics.length>0){try{var r=e.topics[0];if("string"!=typeof r)throw new Error("invalid topic");t=this.interface.getEvent(r);return this._normalizeRunningEvent(new C(this.address,this.interface,t,e.topics))}catch(e){}var n={address:this.address,topics:e.topics};return this._normalizeRunningEvent(new I(S(n),n))}return this._normalizeRunningEvent(new M(this.address,this.interface))},e.prototype._checkRunningEvents=function(e){if(0===e.listenerCount()){delete this._runningEvents[e.tag];var t=this._wrappedEmits[e.tag];t&&e.filter&&(this.provider.off(e.filter,t),delete this._wrappedEmits[e.tag])}},e.prototype._wrapEvent=function(e,t,r){var n=this,o=(0,p.deepCopy)(t);return o.removeListener=function(){r&&(e.removeListener(r),n._checkRunningEvents(e))},o.getBlock=function(){return n.provider.getBlock(t.blockHash)},o.getTransaction=function(){return n.provider.getTransaction(t.transactionHash)},o.getTransactionReceipt=function(){return n.provider.getTransactionReceipt(t.transactionHash)},e.prepareEvent(o),o},e.prototype._addEventListener=function(e,t,r){var n=this;if(this.provider||y.throwError("events require a provider or a signer with a provider",g.Logger.errors.UNSUPPORTED_OPERATION,{operation:"once"}),e.addListener(t,r),this._runningEvents[e.tag]=e,!this._wrappedEmits[e.tag]){var o=function(r){var o=n._wrapEvent(e,r,t);if(null==o.decodeError)try{var i=e.getEmit(o);n.emit.apply(n,s([e.filter],i,!1))}catch(e){o.decodeError=e.error}null!=e.filter&&n.emit("event",o),null!=o.decodeError&&n.emit("error",o.decodeError,o)};this._wrappedEmits[e.tag]=o,null!=e.filter&&this.provider.on(e.filter,o)}},e.prototype.queryFilter=function(e,t,r){var n=this,o=this._getRunningEvent(e),i=(0,p.shallowCopy)(o.filter);return"string"==typeof t&&(0,h.isHexString)(t,32)?(null!=r&&y.throwArgumentError("cannot specify toBlock with blockhash","toBlock",r),i.blockHash=t):(i.fromBlock=null!=t?t:0,i.toBlock=null!=r?r:"latest"),this.provider.getLogs(i).then((function(e){return e.map((function(e){return n._wrapEvent(o,e,null)}))}))},e.prototype.on=function(e,t){return this._addEventListener(this._getRunningEvent(e),t,!1),this},e.prototype.once=function(e,t){return this._addEventListener(this._getRunningEvent(e),t,!0),this},e.prototype.emit=function(e){for(var t=[],r=1;r0;return this._checkRunningEvents(n),o},e.prototype.listenerCount=function(e){var t=this;return this.provider?null==e?Object.keys(this._runningEvents).reduce((function(e,r){return e+t._runningEvents[r].listenerCount()}),0):this._getRunningEvent(e).listenerCount():0},e.prototype.listeners=function(e){if(!this.provider)return[];if(null==e){var t=[];for(var r in this._runningEvents)this._runningEvents[r].listeners().forEach((function(e){t.push(e)}));return t}return this._getRunningEvent(e).listeners()},e.prototype.removeAllListeners=function(e){if(!this.provider)return this;if(null==e){for(var t in this._runningEvents){var r=this._runningEvents[t];r.removeAllListeners(),this._checkRunningEvents(r)}return this}var n=this._getRunningEvent(e);return n.removeAllListeners(),this._checkRunningEvents(n),this},e.prototype.off=function(e,t){if(!this.provider)return this;var r=this._getRunningEvent(e);return r.removeListener(t),this._checkRunningEvents(r),this},e.prototype.removeListener=function(e,t){return this.off(e,t)},e}();r.BaseContract=R;var P=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t}(R);r.Contract=P;var x=function(){function e(e,t,r){var n=this.constructor,o=null;"0x"!==(o="string"==typeof t?t:(0,h.isBytes)(t)?(0,h.hexlify)(t):t&&"string"==typeof t.object?t.object:"!").substring(0,2)&&(o="0x"+o),(!(0,h.isHexString)(o)||o.length%2)&&y.throwArgumentError("invalid bytecode","bytecode",t),r&&!l.Signer.isSigner(r)&&y.throwArgumentError("invalid signer","signer",r),(0,p.defineReadOnly)(this,"bytecode",o),(0,p.defineReadOnly)(this,"interface",(0,p.getStatic)(n,"getInterface")(e)),(0,p.defineReadOnly)(this,"signer",r||null)}return e.prototype.getDeployTransaction=function(){for(var e=[],t=0;t0&&Array.isArray(e)?o(e,t-1):r.push(e)}))};return o(e,t),r}function o(e){var t=0;function r(){return e[t++]<<8|e[t++]}for(var n=r(),o=1,i=[0,1],a=1;a>--u&1}var d=Math.pow(2,31),h=d>>>1,p=h>>1,m=d-1,g=0;for(a=0;a<31;a++)g=g<<1|f();for(var A=[],y=0,_=d;;){for(var b=Math.floor(((g-y+1)*o-1)/_),v=0,E=n;E-v>1;){var T=v+E>>>1;b>>1|f(),w=w<<1^h,N=(N^h)<<1|h|1;y=w,_=1+N-w}var S=n-4;return A.map((function(t){switch(t-S){case 3:return S+65792+(e[c++]<<16|e[c++]<<8|e[c++]);case 2:return S+256+(e[c++]<<8|e[c++]);case 1:return S+e[c++];default:return t-1}}))}function i(e){var t=0;return function(){return e[t++]}}function a(e){return 1&e?~e>>1:e>>1}function s(e,t){for(var r=Array(e),n=0,o=-1;n>=1),check:2==i}}()}}}},{package:"@ethersproject/hash",file:"node_modules/@ethersproject/hash/lib/ens-normalize/decoder.js"}],[486,{"./decoder.js":485,"@ethersproject/base64":469},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.getData=void 0;var n=e("@ethersproject/base64"),o=e("./decoder.js");r.getData=function(){return(0,o.read_compressed_payload)((0,n.decode)("AEQF2AO2DEsA2wIrAGsBRABxAN8AZwCcAEwAqgA0AGwAUgByADcATAAVAFYAIQAyACEAKAAYAFgAGwAjABQAMAAmADIAFAAfABQAKwATACoADgAbAA8AHQAYABoAGQAxADgALAAoADwAEwA9ABMAGgARAA4ADwAWABMAFgAIAA8AHgQXBYMA5BHJAS8JtAYoAe4AExozi0UAH21tAaMnBT8CrnIyhrMDhRgDygIBUAEHcoFHUPe8AXBjAewCjgDQR8IICIcEcQLwATXCDgzvHwBmBoHNAqsBdBcUAykgDhAMShskMgo8AY8jqAQfAUAfHw8BDw87MioGlCIPBwZCa4ELatMAAMspJVgsDl8AIhckSg8XAHdvTwBcIQEiDT4OPhUqbyECAEoAS34Aej8Ybx83JgT/Xw8gHxZ/7w8RICxPHA9vBw+Pfw8PHwAPFv+fAsAvCc8vEr8ivwD/EQ8Bol8OEBa/A78hrwAPCU8vESNvvwWfHwNfAVoDHr+ZAAED34YaAdJPAK7PLwSEgDLHAGo1Pz8Pvx9fUwMrpb8O/58VTzAPIBoXIyQJNF8hpwIVAT8YGAUADDNBaX3RAMomJCg9EhUeA29MABsZBTMNJipjOhc19gcIDR8bBwQHEggCWi6DIgLuAQYA+BAFCha3A5XiAEsqM7UFFgFLhAMjFTMYE1Klnw74nRVBG/ASCm0BYRN/BrsU3VoWy+S0vV8LQx+vN8gF2AC2AK5EAWwApgYDKmAAroQ0NDQ0AT+OCg7wAAIHRAbpNgVcBV0APTA5BfbPFgMLzcYL/QqqA82eBALKCjQCjqYCht0/k2+OAsXQAoP3ASTKDgDw6ACKAUYCMpIKJpRaAE4A5womABzZvs0REEKiACIQAd5QdAECAj4Ywg/wGqY2AVgAYADYvAoCGAEubA0gvAY2ALAAbpbvqpyEAGAEpgQAJgAG7gAgAEACmghUFwCqAMpAINQIwC4DthRAAPcycKgApoIdABwBfCisABoATwBqASIAvhnSBP8aH/ECeAKXAq40NjgDBTwFYQU6AXs3oABgAD4XNgmcCY1eCl5tIFZeUqGgyoNHABgAEQAaABNwWQAmABMATPMa3T34ADldyprmM1M2XociUQgLzvwAXT3xABgAEQAaABNwIGFAnADD8AAgAD4BBJWzaCcIAIEBFMAWwKoAAdq9BWAF5wLQpALEtQAKUSGkahR4GnJM+gsAwCgeFAiUAECQ0BQuL8AAIAAAADKeIheclvFqQAAETr4iAMxIARMgAMIoHhQIAn0E0pDQFC4HhznoAAAAIAI2C0/4lvFqQAAETgBJJwYCAy4ABgYAFAA8MBKYEH4eRhTkAjYeFcgACAYAeABsOqyQ5gRwDayqugEgaIIAtgoACgDmEABmBAWGme5OBJJA2m4cDeoAmITWAXwrMgOgAGwBCh6CBXYF1Tzg1wKAAFdiuABRAFwAXQBsAG8AdgBrAHYAbwCEAHEwfxQBVE5TEQADVFhTBwBDANILAqcCzgLTApQCrQL6vAAMAL8APLhNBKkE6glGKTAU4Dr4N2EYEwBCkABKk8rHAbYBmwIoAiU4Ajf/Aq4CowCAANIChzgaNBsCsTgeODcFXrgClQKdAqQBiQGYAqsCsjTsNHsfNPA0ixsAWTWiOAMFPDQSNCk2BDZHNow2TTZUNhk28Jk9VzI3QkEoAoICoQKwAqcAQAAxBV4FXbS9BW47YkIXP1ciUqs05DS/FwABUwJW11e6nHuYZmSh/RAYA8oMKvZ8KASoUAJYWAJ6ILAsAZSoqjpgA0ocBIhmDgDWAAawRDQoAAcuAj5iAHABZiR2AIgiHgCaAU68ACxuHAG0ygM8MiZIAlgBdF4GagJqAPZOHAMuBgoATkYAsABiAHgAMLoGDPj0HpKEBAAOJgAuALggTAHWAeAMEDbd20Uege0ADwAWADkAQgA9OHd+2MUQZBBhBgNNDkxxPxUQArEPqwvqERoM1irQ090ANK4H8ANYB/ADWANYB/AH8ANYB/ADWANYA1gDWBwP8B/YxRBkD00EcgWTBZAE2wiIJk4RhgctCNdUEnQjHEwDSgEBIypJITuYMxAlR0wRTQgIATZHbKx9PQNMMbBU+pCnA9AyVDlxBgMedhKlAC8PeCE1uk6DekxxpQpQT7NX9wBFBgASqwAS5gBJDSgAUCwGPQBI4zTYABNGAE2bAE3KAExdGABKaAbgAFBXAFCOAFBJABI2SWdObALDOq0//QomCZhvwHdTBkIQHCemEPgMNAG2ATwN7kvZBPIGPATKH34ZGg/OlZ0Ipi3eDO4m5C6igFsj9iqEBe5L9TzeC05RaQ9aC2YJ5DpkgU8DIgEOIowK3g06CG4Q9ArKbA3mEUYHOgPWSZsApgcCCxIdNhW2JhFirQsKOXgG/Br3C5AmsBMqev0F1BoiBk4BKhsAANAu6IWxWjJcHU9gBgQLJiPIFKlQIQ0mQLh4SRocBxYlqgKSQ3FKiFE3HpQh9zw+DWcuFFF9B/Y8BhlQC4I8n0asRQ8R0z6OPUkiSkwtBDaALDAnjAnQD4YMunxzAVoJIgmyDHITMhEYN8YIOgcaLpclJxYIIkaWYJsE+KAD9BPSAwwFQAlCBxQDthwuEy8VKgUOgSXYAvQ21i60ApBWgQEYBcwPJh/gEFFH4Q7qCJwCZgOEJewALhUiABginAhEZABgj9lTBi7MCMhqbSN1A2gU6GIRdAeSDlgHqBw0FcAc4nDJXgyGCSiksAlcAXYJmgFgBOQICjVcjKEgQmdUi1kYnCBiQUBd/QIyDGYVoES+h3kCjA9sEhwBNgF0BzoNAgJ4Ee4RbBCWCOyGBTW2M/k6JgRQIYQgEgooA1BszwsoJvoM+WoBpBJjAw00PnfvZ6xgtyUX/gcaMsZBYSHyC5NPzgydGsIYQ1QvGeUHwAP0GvQn60FYBgADpAQUOk4z7wS+C2oIjAlAAEoOpBgH2BhrCnKM0QEyjAG4mgNYkoQCcJAGOAcMAGgMiAV65gAeAqgIpAAGANADWAA6Aq4HngAaAIZCAT4DKDABIuYCkAOUCDLMAZYwAfQqBBzEDBYA+DhuSwLDsgKAa2ajBd5ZAo8CSjYBTiYEBk9IUgOwcuIA3ABMBhTgSAEWrEvMG+REAeBwLADIAPwABjYHBkIBzgH0bgC4AWALMgmjtLYBTuoqAIQAFmwB2AKKAN4ANgCA8gFUAE4FWvoF1AJQSgESMhksWGIBvAMgATQBDgB6BsyOpsoIIARuB9QCEBwV4gLvLwe2AgMi4BPOQsYCvd9WADIXUu5eZwqoCqdeaAC0YTQHMnM9UQAPH6k+yAdy/BZIiQImSwBQ5gBQQzSaNTFWSTYBpwGqKQK38AFtqwBI/wK37gK3rQK3sAK6280C0gK33AK3zxAAUEIAUD9SklKDArekArw5AEQAzAHCO147WTteO1k7XjtZO147WTteO1kDmChYI03AVU0oJqkKbV9GYewMpw3VRMk6ShPcYFJgMxPJLbgUwhXPJVcZPhq9JwYl5VUKDwUt1GYxCC00dhe9AEApaYNCY4ceMQpMHOhTklT5LRwAskujM7ANrRsWREEFSHXuYisWDwojAmSCAmJDXE6wXDchAqH4AmiZAmYKAp+FOBwMAmY8AmYnBG8EgAN/FAN+kzkHOXgYOYM6JCQCbB4CMjc4CwJtyAJtr/CLADRoRiwBaADfAOIASwYHmQyOAP8MwwAOtgJ3MAJ2o0ACeUxEAni7Hl3cRa9G9AJ8QAJ6yQJ9CgJ88UgBSH5kJQAsFklZSlwWGErNAtECAtDNSygDiFADh+dExpEzAvKiXQQDA69Lz0wuJgTQTU1NsAKLQAKK2cIcCB5EaAa4Ao44Ao5dQZiCAo7aAo5deVG1UzYLUtVUhgKT/AKTDQDqAB1VH1WwVdEHLBwplocy4nhnRTw6ApegAu+zWCKpAFomApaQApZ9nQCqWa1aCoJOADwClrYClk9cRVzSApnMApllXMtdCBoCnJw5wzqeApwXAp+cAp65iwAeEDIrEAKd8gKekwC2PmE1YfACntQCoG8BqgKeoCACnk+mY8lkKCYsAiewAiZ/AqD8AqBN2AKmMAKlzwKoAAB+AqfzaH1osgAESmodatICrOQCrK8CrWgCrQMCVx4CVd0CseLYAx9PbJgCsr4OArLpGGzhbWRtSWADJc4Ctl08QG6RAylGArhfArlIFgK5K3hwN3DiAr0aAy2zAzISAr6JcgMDM3ICvhtzI3NQAsPMAsMFc4N0TDZGdOEDPKgDPJsDPcACxX0CxkgCxhGKAshqUgLIRQLJUALJLwJkngLd03h6YniveSZL0QMYpGcDAmH1GfSVJXsMXpNevBICz2wCz20wTFTT9BSgAMeuAs90ASrrA04TfkwGAtwoAtuLAtJQA1JdA1NgAQIDVY2AikABzBfuYUZ2AILPg44C2sgC2d+EEYRKpz0DhqYAMANkD4ZyWvoAVgLfZgLeuXR4AuIw7RUB8zEoAfScAfLTiALr9ALpcXoAAur6AurlAPpIAboC7ooC652Wq5cEAu5AA4XhmHpw4XGiAvMEAGoDjheZlAL3FAORbwOSiAL3mQL52gL4Z5odmqy8OJsfA52EAv77ARwAOp8dn7QDBY4DpmsDptoA0sYDBmuhiaIGCgMMSgFgASACtgNGAJwEgLpoBgC8BGzAEowcggCEDC6kdjoAJAM0C5IKRoABZCgiAIzw3AYBLACkfng9ogigkgNmWAN6AEQCvrkEVqTGAwCsBRbAA+4iQkMCHR072jI2PTbUNsk2RjY5NvA23TZKNiU3EDcZN5I+RTxDRTBCJkK5VBYKFhZfwQCWygU3AJBRHpu+OytgNxa61A40GMsYjsn7BVwFXQVcBV0FaAVdBVwFXQVcBV0FXAVdBVwFXUsaCNyKAK4AAQUHBwKU7oICoW1e7jAEzgPxA+YDwgCkBFDAwADABKzAAOxFLhitA1UFTDeyPkM+bj51QkRCuwTQWWQ8X+0AWBYzsACNA8xwzAGm7EZ/QisoCTAbLDs6fnLfb8H2GccsbgFw13M1HAVkBW/Jxsm9CNRO8E8FDD0FBQw9FkcClOYCoMFegpDfADgcMiA2AJQACB8AsigKAIzIEAJKeBIApY5yPZQIAKQiHb4fvj5BKSRPQrZCOz0oXyxgOywfKAnGbgMClQaCAkILXgdeCD9IIGUgQj5fPoY+dT52Ao5CM0dAX9BTVG9SDzFwWTQAbxBzJF/lOEIQQglCCkKJIAls5AcClQICoKPMODEFxhi6KSAbiyfIRrMjtCgdWCAkPlFBIitCsEJRzAbMAV/OEyQzDg0OAQQEJ36i328/Mk9AybDJsQlq3tDRApUKAkFzXf1d/j9uALYP6hCoFgCTGD8kPsFKQiobrm0+zj0KSD8kPnVCRBwMDyJRTHFgMTJa5rwXQiQ2YfI/JD7BMEJEHGINTw4TOFlIRzwJO0icMQpyPyQ+wzJCRBv6DVgnKB01NgUKj2bwYzMqCoBkznBgEF+zYDIocwRIX+NgHj4HICNfh2C4CwdwFWpTG/lgUhYGAwRfv2Ts8mAaXzVgml/XYIJfuWC4HI1gUF9pYJZgMR6ilQHMAOwLAlDRefC0in4AXAEJA6PjCwc0IamOANMMCAECRQDFNRTZBgd+CwQlRA+r6+gLBDEFBnwUBXgKATIArwAGRAAHA3cDdAN2A3kDdwN9A3oDdQN7A30DfAN4A3oDfQAYEAAlAtYASwMAUAFsAHcKAHcAmgB3AHUAdQB2AHVu8UgAygDAAHcAdQB1AHYAdQALCgB3AAsAmgB3AAsCOwB3AAtu8UgAygDAAHgKAJoAdwB3AHUAdQB2AHUAeAB1AHUAdgB1bvFIAMoAwAALCgCaAHcACwB3AAsCOwB3AAtu8UgAygDAAH4ACwGgALcBpwC6AahdAu0COwLtbvFIAMoAwAALCgCaAu0ACwLtAAsCOwLtAAtu8UgAygDAA24ACwNvAAu0VsQAAzsAABCkjUIpAAsAUIusOggWcgMeBxVsGwL67U/2HlzmWOEeOgALASvuAAseAfpKUpnpGgYJDCIZM6YyARUE9ThqAD5iXQgnAJYJPnOzw0ZAEZxEKsIAkA4DhAHnTAIDxxUDK0lxCQlPYgIvIQVYJQBVqE1GakUAKGYiDToSBA1EtAYAXQJYAIF8GgMHRyAAIAjOe9YncekRAA0KACUrjwE7Ayc6AAYWAqaiKG4McEcqANoN3+Mg9TwCBhIkuCny+JwUQ29L008JluRxu3K+oAdqiHOqFH0AG5SUIfUJ5SxCGfxdipRzqTmT4V5Zb+r1Uo4Vm+NqSSEl2mNvR2JhIa8SpYO6ntdwFXHCWTCK8f2+Hxo7uiG3drDycAuKIMP5bhi06ACnqArH1rz4Rqg//lm6SgJGEVbF9xJHISaR6HxqxSnkw6shDnelHKNEfGUXSJRJ1GcsmtJw25xrZMDK9gXSm1/YMkdX4/6NKYOdtk/NQ3/NnDASjTc3fPjIjW/5sVfVObX2oTDWkr1dF9f3kxBsD3/3aQO8hPfRz+e0uEiJqt1161griu7gz8hDDwtpy+F+BWtefnKHZPAxcZoWbnznhJpy0e842j36bcNzGnIEusgGX0a8ZxsnjcSsPDZ09yZ36fCQbriHeQ72JRMILNl6ePPf2HWoVwgWAm1fb3V2sAY0+B6rAXqSwPBgseVmoqsBTSrm91+XasMYYySI8eeRxH3ZvHkMz3BQ5aJ3iUVbYPNM3/7emRtjlsMgv/9VyTsyt/mK+8fgWeT6SoFaclXqn42dAIsvAarF5vNNWHzKSkKQ/8Hfk5ZWK7r9yliOsooyBjRhfkHP4Q2DkWXQi6FG/9r/IwbmkV5T7JSopHKn1pJwm9tb5Ot0oyN1Z2mPpKXHTxx2nlK08fKk1hEYA8WgVVWL5lgx0iTv+KdojJeU23ZDjmiubXOxVXJKKi2Wjuh2HLZOFLiSC7Tls5SMh4f+Pj6xUSrNjFqLGehRNB8lC0QSLNmkJJx/wSG3MnjE9T1CkPwJI0wH2lfzwETIiVqUxg0dfu5q39Gt+hwdcxkhhNvQ4TyrBceof3Mhs/IxFci1HmHr4FMZgXEEczPiGCx0HRwzAqDq2j9AVm1kwN0mRVLWLylgtoPNapF5cY4Y1wJh/e0BBwZj44YgZrDNqvD/9Hv7GFYdUQeDJuQ3EWI4HaKqavU1XjC/n41kT4L79kqGq0kLhdTZvgP3TA3fS0ozVz+5piZsoOtIvBUFoMKbNcmBL6YxxaUAusHB38XrS8dQMnQwJfUUkpRoGr5AUeWicvBTzyK9g77+yCkf5PAysL7r/JjcZgrbvRpMW9iyaxZvKO6ceZN2EwIxKwVFPuvFuiEPGCoagbMo+SpydLrXqBzNCDGFCrO/rkcwa2xhokQZ5CdZ0AsU3JfSqJ6n5I14YA+P/uAgfhPU84Tlw7cEFfp7AEE8ey4sP12PTt4Cods1GRgDOB5xvyiR5m+Bx8O5nBCNctU8BevfV5A08x6RHd5jcwPTMDSZJOedIZ1cGQ704lxbAzqZOP05ZxaOghzSdvFBHYqomATARyAADK4elP8Ly3IrUZKfWh23Xy20uBUmLS4Pfagu9+oyVa2iPgqRP3F2CTUsvJ7+RYnN8fFZbU/HVvxvcFFDKkiTqV5UBZ3Gz54JAKByi9hkKMZJvuGgcSYXFmw08UyoQyVdfTD1/dMkCHXcTGAKeROgArsvmRrQTLUOXioOHGK2QkjHuoYFgXciZoTJd6Fs5q1QX1G+p/e26hYsEf7QZD1nnIyl/SFkNtYYmmBhpBrxl9WbY0YpHWRuw2Ll/tj9mD8P4snVzJl4F9J+1arVeTb9E5r2ILH04qStjxQNwn3m4YNqxmaNbLAqW2TN6LidwuJRqS+NXbtqxoeDXpxeGWmxzSkWxjkyCkX4NQRme6q5SAcC+M7+9ETfA/EwrzQajKakCwYyeunP6ZFlxU2oMEn1Pz31zeStW74G406ZJFCl1wAXIoUKkWotYEpOuXB1uVNxJ63dpJEqfxBeptwIHNrPz8BllZoIcBoXwgfJ+8VAUnVPvRvexnw0Ma/WiGYuJO5y8QTvEYBigFmhUxY5RqzE8OcywN/8m4UYrlaniJO75XQ6KSo9+tWHlu+hMi0UVdiKQp7NelnoZUzNaIyBPVeOwK6GNp+FfHuPOoyhaWuNvTYFkvxscMQWDh+zeFCFkgwbXftiV23ywJ4+uwRqmg9k3KzwIQpzppt8DBBOMbrqwQM5Gb05sEwdKzMiAqOloaA/lr0KA+1pr0/+HiWoiIjHA/wir2nIuS3PeU/ji3O6ZwoxcR1SZ9FhtLC5S0FIzFhbBWcGVP/KpxOPSiUoAdWUpqKH++6Scz507iCcxYI6rdMBICPJZea7OcmeFw5mObJSiqpjg2UoWNIs+cFhyDSt6geV5qgi3FunmwwDoGSMgerFOZGX1m0dMCYo5XOruxO063dwENK9DbnVM9wYFREzh4vyU1WYYJ/LRRp6oxgjqP/X5a8/4Af6p6NWkQferzBmXme0zY/4nwMJm/wd1tIqSwGz+E3xPEAOoZlJit3XddD7/BT1pllzOx+8bmQtANQ/S6fZexc6qi3W+Q2xcmXTUhuS5mpHQRvcxZUN0S5+PL9lXWUAaRZhEH8hTdAcuNMMCuVNKTEGtSUKNi3O6KhSaTzck8csZ2vWRZ+d7mW8c4IKwXIYd25S/zIftPkwPzufjEvOHWVD1m+FjpDVUTV0DGDuHj6QnaEwLu/dEgdLQOg9E1Sro9XHJ8ykLAwtPu+pxqKDuFexqON1sKQm7rwbE1E68UCfA/erovrTCG+DBSNg0l4goDQvZN6uNlbyLpcZAwj2UclycvLpIZMgv4yRlpb3YuMftozorbcGVHt/VeDV3+Fdf1TP0iuaCsPi2G4XeGhsyF1ubVDxkoJhmniQ0/jSg/eYML9KLfnCFgISWkp91eauR3IQvED0nAPXK+6hPCYs+n3+hCZbiskmVMG2da+0EsZPonUeIY8EbfusQXjsK/eFDaosbPjEfQS0RKG7yj5GG69M7MeO1HmiUYocgygJHL6M1qzUDDwUSmr99V7Sdr2F3JjQAJY+F0yH33Iv3+C9M38eML7gTgmNu/r2bUMiPvpYbZ6v1/IaESirBHNa7mPKn4dEmYg7v/+HQgPN1G79jBQ1+soydfDC2r+h2Bl/KIc5KjMK7OH6nb1jLsNf0EHVe2KBiE51ox636uyG6Lho0t3J34L5QY/ilE3mikaF4HKXG1mG1rCevT1Vv6GavltxoQe/bMrpZvRggnBxSEPEeEzkEdOxTnPXHVjUYdw8JYvjB/o7Eegc3Ma+NUxLLnsK0kJlinPmUHzHGtrk5+CAbVzFOBqpyy3QVUnzTDfC/0XD94/okH+OB+i7g9lolhWIjSnfIb+Eq43ZXOWmwvjyV/qqD+t0e+7mTEM74qP/Ozt8nmC7mRpyu63OB4KnUzFc074SqoyPUAgM+/TJGFo6T44EHnQU4X4z6qannVqgw/U7zCpwcmXV1AubIrvOmkKHazJAR55ePjp5tLBsN8vAqs3NAHdcEHOR2xQ0lsNAFzSUuxFQCFYvXLZJdOj9p4fNq6p0HBGUik2YzaI4xySy91KzhQ0+q1hjxvImRwPRf76tChlRkhRCi74NXZ9qUNeIwP+s5p+3m5nwPdNOHgSLD79n7O9m1n1uDHiMntq4nkYwV5OZ1ENbXxFd4PgrlvavZsyUO4MqYlqqn1O8W/I1dEZq5dXhrbETLaZIbC2Kj/Aa/QM+fqUOHdf0tXAQ1huZ3cmWECWSXy/43j35+Mvq9xws7JKseriZ1pEWKc8qlzNrGPUGcVgOa9cPJYIJsGnJTAUsEcDOEVULO5x0rXBijc1lgXEzQQKhROf8zIV82w8eswc78YX11KYLWQRcgHNJElBxfXr72lS2RBSl07qTKorO2uUDZr3sFhYsvnhLZn0A94KRzJ/7DEGIAhW5ZWFpL8gEwu1aLA9MuWZzNwl8Oze9Y+bX+v9gywRVnoB5I/8kXTXU3141yRLYrIOOz6SOnyHNy4SieqzkBXharjfjqq1q6tklaEbA8Qfm2DaIPs7OTq/nvJBjKfO2H9bH2cCMh1+5gspfycu8f/cuuRmtDjyqZ7uCIMyjdV3a+p3fqmXsRx4C8lujezIFHnQiVTXLXuI1XrwN3+siYYj2HHTvESUx8DlOTXpak9qFRK+L3mgJ1WsD7F4cu1aJoFoYQnu+wGDMOjJM3kiBQWHCcvhJ/HRdxodOQp45YZaOTA22Nb4XKCVxqkbwMYFhzYQYIAnCW8FW14uf98jhUG2zrKhQQ0q0CEq0t5nXyvUyvR8DvD69LU+g3i+HFWQMQ8PqZuHD+sNKAV0+M6EJC0szq7rEr7B5bQ8BcNHzvDMc9eqB5ZCQdTf80Obn4uzjwpYU7SISdtV0QGa9D3Wrh2BDQtpBKxaNFV+/Cy2P/Sv+8s7Ud0Fd74X4+o/TNztWgETUapy+majNQ68Lq3ee0ZO48VEbTZYiH1Co4OlfWef82RWeyUXo7woM03PyapGfikTnQinoNq5z5veLpeMV3HCAMTaZmA1oGLAn7XS3XYsz+XK7VMQsc4XKrmDXOLU/pSXVNUq8dIqTba///3x6LiLS6xs1xuCAYSfcQ3+rQgmu7uvf3THKt5Ooo97TqcbRqxx7EASizaQCBQllG/rYxVapMLgtLbZS64w1MDBMXX+PQpBKNwqUKOf2DDRDUXQf9EhOS0Qj4nTmlA8dzSLz/G1d+Ud8MTy/6ghhdiLpeerGY/UlDOfiuqFsMUU5/UYlP+BAmgRLuNpvrUaLlVkrqDievNVEAwF+4CoM1MZTmjxjJMsKJq+u8Zd7tNCUFy6LiyYXRJQ4VyvEQFFaCGKsxIwQkk7EzZ6LTJq2hUuPhvAW+gQnSG6J+MszC+7QCRHcnqDdyNRJ6T9xyS87A6MDutbzKGvGktpbXqtzWtXb9HsfK2cBMomjN9a4y+TaJLnXxAeX/HWzmf4cR4vALt/P4w4qgKY04ml4ZdLOinFYS6cup3G/1ie4+t1eOnpBNlqGqs75ilzkT4+DsZQxNvaSKJ//6zIbbk/M7LOhFmRc/1R+kBtz7JFGdZm/COotIdvQoXpTqP/1uqEUmCb/QWoGLMwO5ANcHzxdY48IGP5+J+zKOTBFZ4Pid+GTM+Wq12MV/H86xEJptBa6T+p3kgpwLedManBHC2GgNrFpoN2xnrMz9WFWX/8/ygSBkavq2Uv7FdCsLEYLu9LLIvAU0bNRDtzYl+/vXmjpIvuJFYjmI0im6QEYqnIeMsNjXG4vIutIGHijeAG/9EDBozKV5cldkHbLxHh25vT+ZEzbhXlqvpzKJwcEgfNwLAKFeo0/pvEE10XDB+EXRTXtSzJozQKFFAJhMxYkVaCW+E9AL7tMeU8acxidHqzb6lX4691UsDpy/LLRmT+epgW56+5Cw8tB4kMUv6s9lh3eRKbyGs+H/4mQMaYzPTf2OOdokEn+zzgvoD3FqNKk8QqGAXVsqcGdXrT62fSPkR2vROFi68A6se86UxRUk4cajfPyCC4G5wDhD+zNq4jodQ4u4n/m37Lr36n4LIAAsVr02dFi9AiwA81MYs2rm4eDlDNmdMRvEKRHfBwW5DdMNp0jPFZMeARqF/wL4XBfd+EMLBfMzpH5GH6NaW+1vrvMdg+VxDzatk3MXgO3ro3P/DpcC6+Mo4MySJhKJhSR01SGGGp5hPWmrrUgrv3lDnP+HhcI3nt3YqBoVAVTBAQT5iuhTg8nvPtd8ZeYj6w1x6RqGUBrSku7+N1+BaasZvjTk64RoIDlL8brpEcJx3OmY7jLoZsswdtmhfC/G21llXhITOwmvRDDeTTPbyASOa16cF5/A1fZAidJpqju3wYAy9avPR1ya6eNp9K8XYrrtuxlqi+bDKwlfrYdR0RRiKRVTLOH85+ZY7XSmzRpfZBJjaTa81VDcJHpZnZnSQLASGYW9l51ZV/h7eVzTi3Hv6hUsgc/51AqJRTkpbFVLXXszoBL8nBX0u/0jBLT8nH+fJePbrwURT58OY+UieRjd1vs04w0VG5VN2U6MoGZkQzKN/ptz0Q366dxoTGmj7i1NQGHi9GgnquXFYdrCfZBmeb7s0T6yrdlZH5cZuwHFyIJ/kAtGsTg0xH5taAAq44BAk1CPk9KVVbqQzrCUiFdF/6gtlPQ8bHHc1G1W92MXGZ5HEHftyLYs8mbD/9xYRUWkHmlM0zC2ilJlnNgV4bfALpQghxOUoZL7VTqtCHIaQSXm+YUMnpkXybnV+A6xlm2CVy8fn0Xlm2XRa0+zzOa21JWWmixfiPMSCZ7qA4rS93VN3pkpF1s5TonQjisHf7iU9ZGvUPOAKZcR1pbeVf/Ul7OhepGCaId9wOtqo7pJ7yLcBZ0pFkOF28y4zEI/kcUNmutBHaQpBdNM8vjCS6HZRokkeo88TBAjGyG7SR+6vUgTcyK9Imalj0kuxz0wmK+byQU11AiJFk/ya5dNduRClcnU64yGu/ieWSeOos1t3ep+RPIWQ2pyTYVbZltTbsb7NiwSi3AV+8KLWk7LxCnfZUetEM8ThnsSoGH38/nyAwFguJp8FjvlHtcWZuU4hPva0rHfr0UhOOJ/F6vS62FW7KzkmRll2HEc7oUq4fyi5T70Vl7YVIfsPHUCdHesf9Lk7WNVWO75JDkYbMI8TOW8JKVtLY9d6UJRITO8oKo0xS+o99Yy04iniGHAaGj88kEWgwv0OrHdY/nr76DOGNS59hXCGXzTKUvDl9iKpLSWYN1lxIeyywdNpTkhay74w2jFT6NS8qkjo5CxA1yfSYwp6AJIZNKIeEK5PJAW7ORgWgwp0VgzYpqovMrWxbu+DGZ6Lhie1RAqpzm8VUzKJOH3mCzWuTOLsN3VT/dv2eeYe9UjbR8YTBsLz7q60VN1sU51k+um1f8JxD5pPhbhSC8rRaB454tmh6YUWrJI3+GWY0qeWioj/tbkYITOkJaeuGt4JrJvHA+l0Gu7kY7XOaa05alMnRWVCXqFgLIwSY4uF59Ue5SU4QKuc/HamDxbr0x6csCetXGoP7Qn1Bk/J9DsynO/UD6iZ1Hyrz+jit0hDCwi/E9OjgKTbB3ZQKQ/0ZOvevfNHG0NK4Aj3Cp7NpRk07RT1i/S0EL93Ag8GRgKI9CfpajKyK6+Jj/PI1KO5/85VAwz2AwzP8FTBb075IxCXv6T9RVvWT2tUaqxDS92zrGUbWzUYk9mSs82pECH+fkqsDt93VW++4YsR/dHCYcQSYTO/KaBMDj9LSD/J/+z20Kq8XvZUAIHtm9hRPP3ItbuAu2Hm5lkPs92pd7kCxgRs0xOVBnZ13ccdA0aunrwv9SdqElJRC3g+oCu+nXyCgmXUs9yMjTMAIHfxZV+aPKcZeUBWt057Xo85Ks1Ir5gzEHCWqZEhrLZMuF11ziGtFQUds/EESajhagzcKsxamcSZxGth4UII+adPhQkUnx2WyN+4YWR+r3f8MnkyGFuR4zjzxJS8WsQYR5PTyRaD9ixa6Mh741nBHbzfjXHskGDq179xaRNrCIB1z1xRfWfjqw2pHc1zk9xlPpL8sQWAIuETZZhbnmL54rceXVNRvUiKrrqIkeogsl0XXb17ylNb0f4GA9Wd44vffEG8FSZGHEL2fbaTGRcSiCeA8PmA/f6Hz8HCS76fXUHwgwkzSwlI71ekZ7Fapmlk/KC+Hs8hUcw3N2LN5LhkVYyizYFl/uPeVP5lsoJHhhfWvvSWruCUW1ZcJOeuTbrDgywJ/qG07gZJplnTvLcYdNaH0KMYOYMGX+rB4NGPFmQsNaIwlWrfCezxre8zXBrsMT+edVLbLqN1BqB76JH4BvZTqUIMfGwPGEn+EnmTV86fPBaYbFL3DFEhjB45CewkXEAtJxk4/Ms2pPXnaRqdky0HOYdcUcE2zcXq4vaIvW2/v0nHFJH2XXe22ueDmq/18XGtELSq85j9X8q0tcNSSKJIX8FTuJF/Pf8j5PhqG2u+osvsLxYrvvfeVJL+4tkcXcr9JV7v0ERmj/X6fM3NC4j6dS1+9Umr2oPavqiAydTZPLMNRGY23LO9zAVDly7jD+70G5TPPLdhRIl4WxcYjLnM+SNcJ26FOrkrISUtPObIz5Zb3AG612krnpy15RMW+1cQjlnWFI6538qky9axd2oJmHIHP08KyP0ubGO+TQNOYuv2uh17yCIvR8VcStw7o1g0NM60sk+8Tq7YfIBJrtp53GkvzXH7OA0p8/n/u1satf/VJhtR1l8Wa6Gmaug7haSpaCaYQax6ta0mkutlb+eAOSG1aobM81D9A4iS1RRlzBBoVX6tU1S6WE2N9ORY6DfeLRC4l9Rvr5h95XDWB2mR1d4WFudpsgVYwiTwT31ljskD8ZyDOlm5DkGh9N/UB/0AI5Xvb8ZBmai2hQ4BWMqFwYnzxwB26YHSOv9WgY3JXnvoN+2R4rqGVh/LLDMtpFP+SpMGJNWvbIl5SOodbCczW2RKleksPoUeGEzrjtKHVdtZA+kfqO+rVx/iclCqwoopepvJpSTDjT+b9GWylGRF8EDbGlw6eUzmJM95Ovoz+kwLX3c2fTjFeYEsE7vUZm3mqdGJuKh2w9/QGSaqRHs99aScGOdDqkFcACoqdbBoQqqjamhH6Q9ng39JCg3lrGJwd50Qk9ovnqBTr8MME7Ps2wiVfygUmPoUBJJfJWX5Nda0nuncbFkA=="))}}}},{package:"@ethersproject/hash",file:"node_modules/@ethersproject/hash/lib/ens-normalize/include.js"}],[487,{"./decoder.js":485,"./include.js":486,"@ethersproject/strings":547},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.ens_normalize=r.ens_normalize_post_check=void 0;var n=e("@ethersproject/strings"),o=(0,e("./include.js").getData)(),i=e("./decoder.js"),a=new Set((0,i.read_member_array)(o)),s=new Set((0,i.read_member_array)(o)),c=(0,i.read_mapped_map)(o),u=(0,i.read_emoji_trie)(o),l=45,f=95;function d(e){return(0,n.toUtf8CodePoints)(e)}function h(e){return e.filter((function(e){return 65039!=e}))}function p(e){for(var t=0,r=e.split(".");t=0;i--)if(o[i]!==f)throw new Error("underscore only allowed at start");if(o.length>=4&&o.every((function(e){return e<128}))&&o[2]===l&&o[3]===l)throw new Error("invalid label extension")}catch(e){throw new Error('Invalid label "'+n+'": '+e.message)}}return e}function m(e,t){var r,n,o,i=u,a=[],s=e.length;t&&(t.length=0);for(var c=function(){var c=e[--s];if(!(i=null===(r=i.branches.find((function(e){return e.set.has(c)})))||void 0===r?void 0:r.node))return"break";if(i.save)o=c;else if(i.check&&c===o)return"break";a.push(c),i.fe0f&&(a.push(65039),s>0&&65039==e[s-1]&&s--),i.valid&&(n=a.slice(),2==i.valid&&n.splice(1,1),t&&t.push.apply(t,e.slice(s).reverse()),e.length=s)};s;){if("break"===c())break}return n}r.ens_normalize_post_check=p,r.ens_normalize=function(e){return p(function(e,t){var r=d(e).reverse(),n=[];for(;r.length;){var o=m(r);if(o)n.push.apply(n,t(o));else{var i=r.pop();if(a.has(i))n.push(i);else if(!s.has(i)){var u=c[i];if(!u)throw new Error("Disallowed codepoint: 0x"+i.toString(16).toUpperCase());n.push.apply(n,u)}}}return p((l=String.fromCodePoint.apply(String,n),l.normalize("NFC")));var l}(e,h))}}}},{package:"@ethersproject/hash",file:"node_modules/@ethersproject/hash/lib/ens-normalize/lib.js"}],[488,{"@ethersproject/keccak256":502,"@ethersproject/strings":547},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.id=void 0;var n=e("@ethersproject/keccak256"),o=e("@ethersproject/strings");r.id=function(e){return(0,n.keccak256)((0,o.toUtf8Bytes)(e))}}}},{package:"@ethersproject/hash",file:"node_modules/@ethersproject/hash/lib/id.js"}],[4888,{"../../ui/identicon/blockieIdenticon/blockieIdenticon.component":5243,"../../ui/jazzicon/jazzicon.component":5252,"../avatar-base":4893,"./avatar-account.types":4889,classnames:3049,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.AvatarAccount=void 0;var n=u(e("react")),o=u(e("classnames")),i=u(e("../../ui/jazzicon/jazzicon.component")),a=u(e("../../ui/identicon/blockieIdenticon/blockieIdenticon.component")),s=e("../avatar-base"),c=e("./avatar-account.types");function u(e){return e&&e.__esModule?e:{default:e}}function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;tn.default.createElement(s.AvatarBase,l({ref:d,size:e,className:(0,o.default)("mm-avatar-account",r)},f),u===c.AvatarAccountVariant.Jazzicon?n.default.createElement(i.default,{className:(0,o.default)("mm-avatar-account__jazzicon"),address:t,diameter:c.AvatarAccountDiameter[e]}):n.default.createElement(a.default,{address:t,diameter:c.AvatarAccountDiameter[e],borderRadius:"50%"}))))}}},{package:"$root$",file:"ui/components/component-library/avatar-account/avatar-account.tsx"}],[4889,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.AvatarAccountVariant=r.AvatarAccountSize=r.AvatarAccountDiameter=void 0;r.AvatarAccountVariant=function(e){return e.Jazzicon="jazzicon",e.Blockies="blockies",e}({});let n=r.AvatarAccountSize=function(e){return e.Xs="xs",e.Sm="sm",e.Md="md",e.Lg="lg",e.Xl="xl",e}({});r.AvatarAccountDiameter={[n.Xs]:16,[n.Sm]:24,[n.Md]:32,[n.Lg]:40,[n.Xl]:48}}}},{package:"$root$",file:"ui/components/component-library/avatar-account/avatar-account.types.ts"}],[489,{"./id":488,"./message":490,"./namehash":491,"./typed-data":492},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r._TypedDataEncoder=r.hashMessage=r.messagePrefix=r.ensNormalize=r.isValidName=r.namehash=r.dnsEncode=r.id=void 0;var n=e("./id");Object.defineProperty(r,"id",{enumerable:!0,get:function(){return n.id}});var o=e("./namehash");Object.defineProperty(r,"dnsEncode",{enumerable:!0,get:function(){return o.dnsEncode}}),Object.defineProperty(r,"isValidName",{enumerable:!0,get:function(){return o.isValidName}}),Object.defineProperty(r,"namehash",{enumerable:!0,get:function(){return o.namehash}});var i=e("./message");Object.defineProperty(r,"hashMessage",{enumerable:!0,get:function(){return i.hashMessage}}),Object.defineProperty(r,"messagePrefix",{enumerable:!0,get:function(){return i.messagePrefix}});var a=e("./namehash");Object.defineProperty(r,"ensNormalize",{enumerable:!0,get:function(){return a.ensNormalize}});var s=e("./typed-data");Object.defineProperty(r,"_TypedDataEncoder",{enumerable:!0,get:function(){return s.TypedDataEncoder}})}}},{package:"@ethersproject/hash",file:"node_modules/@ethersproject/hash/lib/index.js"}],[4890,{"./avatar-account":4888,"./avatar-account.types":4889},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"AvatarAccount",{enumerable:!0,get:function(){return n.AvatarAccount}}),Object.defineProperty(r,"AvatarAccountDiameter",{enumerable:!0,get:function(){return o.AvatarAccountDiameter}}),Object.defineProperty(r,"AvatarAccountSize",{enumerable:!0,get:function(){return o.AvatarAccountSize}}),Object.defineProperty(r,"AvatarAccountVariant",{enumerable:!0,get:function(){return o.AvatarAccountVariant}});var n=e("./avatar-account"),o=e("./avatar-account.types")}}},{package:"$root$",file:"ui/components/component-library/avatar-account/hybrid-compute-sdk.ts"}],[4891,{"../../../helpers/constants/design-system":5355,"../text":5008,"./avatar-base.types":4892,classnames:3049,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.AvatarBase=void 0;var n=c(e("react")),o=c(e("classnames")),i=e("../../../helpers/constants/design-system"),a=e("../text"),s=e("./avatar-base.types");function c(e){return e&&e.__esModule?e:{default:e}}function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let h;return h=e===s.AvatarBaseSize.Lg||e===s.AvatarBaseSize.Xl?i.TextVariant.bodyLgMedium:e===s.AvatarBaseSize.Sm||e===s.AvatarBaseSize.Md?i.TextVariant.bodySm:i.TextVariant.bodyXs,n.default.createElement(a.Text,u({className:(0,o.default)("mm-avatar-base",`mm-avatar-base--size-${e}`,l),ref:d,as:"div",display:i.Display.Flex,justifyContent:i.JustifyContent.center,alignItems:i.AlignItems.center,borderRadius:i.BorderRadius.full,variant:h,textTransform:i.TextTransform.Uppercase,backgroundColor:r,color:c},f),t)}))}}},{package:"$root$",file:"ui/components/component-library/avatar-base/avatar-base.tsx"}],[4892,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.AvatarBaseSize=void 0;r.AvatarBaseSize=function(e){return e.Xs="xs",e.Sm="sm",e.Md="md",e.Lg="lg",e.Xl="xl",e}({})}}},{package:"$root$",file:"ui/components/component-library/avatar-base/avatar-base.types.ts"}],[4893,{"./avatar-base":4891,"./avatar-base.types":4892},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"AvatarBase",{enumerable:!0,get:function(){return n.AvatarBase}}),Object.defineProperty(r,"AvatarBaseSize",{enumerable:!0,get:function(){return o.AvatarBaseSize}});var n=e("./avatar-base"),o=e("./avatar-base.types")}}},{package:"$root$",file:"ui/components/component-library/avatar-base/hybrid-compute-sdk.ts"}],[4894,{"../../../helpers/constants/design-system":5355,"../../../hooks/useI18nContext":5427,"../avatar-base":4893,"../icon":4954,"./avatar-favicon.types":4895,classnames:3049,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.AvatarFavicon=void 0;var n=l(e("react")),o=l(e("classnames")),i=e("../avatar-base"),a=e("../icon"),s=e("../../../helpers/constants/design-system"),c=e("../../../hooks/useI18nContext"),u=e("./avatar-favicon.types");function l(e){return e&&e.__esModule?e:{default:e}}function f(){return f=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const g=(0,c.useI18nContext)();return n.default.createElement(i.AvatarBase,f({ref:m,size:e,display:s.Display.Flex,alignItems:s.AlignItems.center,justifyContent:s.JustifyContent.center,className:(0,o.default)("mm-avatar-favicon",l),borderColor:h},p),t?n.default.createElement("img",{className:"mm-avatar-favicon__image",src:t,alt:g("logo",[r])}):n.default.createElement(a.Icon,f({name:a.IconName.Global,color:s.IconColor.iconDefault,size:a.IconSize.Md},d)))}))}}},{package:"$root$",file:"ui/components/component-library/avatar-favicon/avatar-favicon.tsx"}],[4895,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.AvatarFaviconSize=void 0;r.AvatarFaviconSize=function(e){return e.Xs="xs",e.Sm="sm",e.Md="md",e.Lg="lg",e.Xl="xl",e}({})}}},{package:"$root$",file:"ui/components/component-library/avatar-favicon/avatar-favicon.types.ts"}],[4896,{"./avatar-favicon":4894,"./avatar-favicon.types":4895},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"AvatarFavicon",{enumerable:!0,get:function(){return n.AvatarFavicon}}),Object.defineProperty(r,"AvatarFaviconSize",{enumerable:!0,get:function(){return o.AvatarFaviconSize}});var n=e("./avatar-favicon"),o=e("./avatar-favicon.types")}}},{package:"$root$",file:"ui/components/component-library/avatar-favicon/hybrid-compute-sdk.ts"}],[4897,{"../../../helpers/constants/design-system":5355,"../avatar-base":4893,"../icon":4954,"./avatar-icon.types":4898,classnames:3049,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.AvatarIcon=void 0;var n=u(e("react")),o=u(e("classnames")),i=e("../../../helpers/constants/design-system"),a=e("../icon"),s=e("../avatar-base"),c=e("./avatar-icon.types");function u(e){return e&&e.__esModule?e:{default:e}}function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const m=c.avatarIconSizeToIconSize[e];return n.default.createElement(s.AvatarBase,l({ref:p,size:e,display:i.Display.Flex,alignItems:i.AlignItems.center,justifyContent:i.JustifyContent.center,color:t,backgroundColor:r,borderColor:i.BorderColor.transparent,className:(0,o.default)("mm-avatar-icon",u)},h),n.default.createElement(a.Icon,l({color:i.IconColor.inherit,name:d,size:m},f)))}))}}},{package:"$root$",file:"ui/components/component-library/avatar-icon/avatar-icon.tsx"}],[4898,{"../icon":4954},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.avatarIconSizeToIconSize=r.AvatarIconSize=void 0;var n=e("../icon");let o=r.AvatarIconSize=function(e){return e.Xs="xs",e.Sm="sm",e.Md="md",e.Lg="lg",e.Xl="xl",e}({});r.avatarIconSizeToIconSize={[o.Xs]:n.IconSize.Xs,[o.Sm]:n.IconSize.Sm,[o.Md]:n.IconSize.Md,[o.Lg]:n.IconSize.Lg,[o.Xl]:n.IconSize.Xl}}}},{package:"$root$",file:"ui/components/component-library/avatar-icon/avatar-icon.types.ts"}],[4899,{"./avatar-icon":4897,"./avatar-icon.types":4898},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"AvatarIcon",{enumerable:!0,get:function(){return n.AvatarIcon}}),Object.defineProperty(r,"AvatarIconSize",{enumerable:!0,get:function(){return o.AvatarIconSize}});var n=e("./avatar-icon"),o=e("./avatar-icon.types")}}},{package:"$root$",file:"ui/components/component-library/avatar-icon/hybrid-compute-sdk.ts"}],[490,{"@ethersproject/bytes":476,"@ethersproject/keccak256":502,"@ethersproject/strings":547},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.hashMessage=r.messagePrefix=void 0;var n=e("@ethersproject/bytes"),o=e("@ethersproject/keccak256"),i=e("@ethersproject/strings");r.messagePrefix="Ethereum Signed Message:\n",r.hashMessage=function(e){return"string"==typeof e&&(e=(0,i.toUtf8Bytes)(e)),(0,o.keccak256)((0,n.concat)([(0,i.toUtf8Bytes)(r.messagePrefix),(0,i.toUtf8Bytes)(String(e.length)),e]))}}}},{package:"@ethersproject/hash",file:"node_modules/@ethersproject/hash/lib/message.js"}],[4900,{"../../../helpers/constants/design-system":5355,"../avatar-base":4893,"./avatar-network.types":4901,classnames:3049,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.AvatarNetwork=void 0;var n,o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=u(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}(e("react")),i=(n=e("classnames"))&&n.__esModule?n:{default:n},a=e("../../../helpers/constants/design-system"),s=e("../avatar-base"),c=e("./avatar-network.types");function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(u=function(e){return e?r:t})(e)}function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const[g,A]=(0,o.useState)(!1);(0,o.useEffect)((()=>{A(!r)}),[r]);const y=(null==t?void 0:t[0])??"?";return o.default.createElement(s.AvatarBase,l({ref:m,size:e,display:a.Display.Flex,alignItems:a.AlignItems.center,justifyContent:a.JustifyContent.center,className:(0,i.default)("mm-avatar-network",n?"mm-avatar-network--with-halo":"",h),backgroundColor:f,borderColor:d,color:u},p),g?y:o.default.createElement(o.default.Fragment,null,n&&o.default.createElement("img",{src:r,className:n?"mm-avatar-network__network-image--blurred":"","aria-hidden":"true"}),o.default.createElement("img",{className:n?"mm-avatar-network__network-image--size-reduced":"mm-avatar-network__network-image",onError:()=>{A(!0)},src:r,alt:`${t} logo`||"network logo"})))}))}}},{package:"$root$",file:"ui/components/component-library/avatar-network/avatar-network.tsx"}],[4901,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.AvatarNetworkSize=void 0;r.AvatarNetworkSize=function(e){return e.Xs="xs",e.Sm="sm",e.Md="md",e.Lg="lg",e.Xl="xl",e}({})}}},{package:"$root$",file:"ui/components/component-library/avatar-network/avatar-network.types.ts"}],[4902,{"./avatar-network":4900,"./avatar-network.types":4901},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"AvatarNetwork",{enumerable:!0,get:function(){return n.AvatarNetwork}}),Object.defineProperty(r,"AvatarNetworkSize",{enumerable:!0,get:function(){return o.AvatarNetworkSize}});var n=e("./avatar-network"),o=e("./avatar-network.types")}}},{package:"$root$",file:"ui/components/component-library/avatar-network/hybrid-compute-sdk.ts"}],[4903,{"../../../helpers/constants/design-system":5355,"../avatar-base":4893,"./avatar-token.types":4904,classnames:3049,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.AvatarToken=void 0;var n,o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=u(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}(e("react")),i=(n=e("classnames"))&&n.__esModule?n:{default:n},a=e("../avatar-base"),s=e("../../../helpers/constants/design-system"),c=e("./avatar-token.types");function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(u=function(e){return e?r:t})(e)}function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const[g,A]=(0,o.useState)(!1);(0,o.useEffect)((()=>{A(!r)}),[r]);const y=(null==t?void 0:t[0])??"?";return o.default.createElement(a.AvatarBase,l({ref:m,size:e,display:s.Display.Flex,alignItems:s.AlignItems.center,justifyContent:s.JustifyContent.center,className:(0,i.default)("mm-avatar-token",n?"mm-avatar-token--with-halo":"",h),backgroundColor:f,borderColor:d,color:u},p),g?y:o.default.createElement(o.default.Fragment,null,n&&o.default.createElement("img",{src:r,className:n?"mm-avatar-token__token-image--blurred":"","aria-hidden":"true"}),o.default.createElement("img",{className:n?"mm-avatar-token__token-image--size-reduced":"mm-avatar-token__token-image",onError:()=>{A(!0)},src:r,alt:`${t} logo`||"token logo"})))}))}}},{package:"$root$",file:"ui/components/component-library/avatar-token/avatar-token.tsx"}],[4904,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.AvatarTokenSize=void 0;r.AvatarTokenSize=function(e){return e.Xs="xs",e.Sm="sm",e.Md="md",e.Lg="lg",e.Xl="xl",e}({})}}},{package:"$root$",file:"ui/components/component-library/avatar-token/avatar-token.types.ts"}],[4905,{"./avatar-token":4903,"./avatar-token.types":4904},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"AvatarToken",{enumerable:!0,get:function(){return n.AvatarToken}}),Object.defineProperty(r,"AvatarTokenSize",{enumerable:!0,get:function(){return o.AvatarTokenSize}});var n=e("./avatar-token"),o=e("./avatar-token.types")}}},{package:"$root$",file:"ui/components/component-library/avatar-token/hybrid-compute-sdk.ts"}],[4906,{"..":4955,"../../../helpers/constants/design-system":5355,"./badge-wrapper.types":4907,classnames:3049,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.BadgeWrapper=void 0;var n=c(e("react")),o=c(e("classnames")),i=e("../../../helpers/constants/design-system"),a=e(".."),s=e("./badge-wrapper.types");function c(e){return e&&e.__esModule?e:{default:e}}function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;tn.default.createElement(a.Box,u({className:(0,o.default)("mm-badge-wrapper",d),ref:p,display:i.Display.InlineBlock},h),e,n.default.createElement(a.Box,u({className:(0,o.default)("mm-badge-wrapper__badge-container",{[`mm-badge-wrapper__badge-container--${f}-${c}`]:!l}),style:{...l}},r),t))))}}},{package:"$root$",file:"ui/components/component-library/badge-wrapper/badge-wrapper.tsx"}],[4907,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.BadgeWrapperPosition=r.BadgeWrapperAnchorElementShape=void 0;r.BadgeWrapperPosition=function(e){return e.topRight="top-right",e.bottomRight="bottom-right",e.topLeft="top-left",e.bottomLeft="bottom-left",e}({}),r.BadgeWrapperAnchorElementShape=function(e){return e.rectangular="rectangular",e.circular="circular",e}({})}}},{package:"$root$",file:"ui/components/component-library/badge-wrapper/badge-wrapper.types.ts"}],[4908,{"./badge-wrapper":4906,"./badge-wrapper.types":4907},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"BadgeWrapper",{enumerable:!0,get:function(){return n.BadgeWrapper}}),Object.defineProperty(r,"BadgeWrapperAnchorElementShape",{enumerable:!0,get:function(){return o.BadgeWrapperAnchorElementShape}}),Object.defineProperty(r,"BadgeWrapperPosition",{enumerable:!0,get:function(){return o.BadgeWrapperPosition}});var n=e("./badge-wrapper"),o=e("./badge-wrapper.types")}}},{package:"$root$",file:"ui/components/component-library/badge-wrapper/hybrid-compute-sdk.ts"}],[4909,{"..":4955,"../../../helpers/constants/design-system":5355,"./banner-alert.types":4910,classnames:3049,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.BannerAlert=void 0;var n=c(e("react")),o=c(e("classnames")),i=e(".."),a=e("../../../helpers/constants/design-system"),s=e("./banner-alert.types");function c(e){return e&&e.__esModule?e:{default:e}}function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;tn.default.createElement(i.BannerBase,u({ref:l,startAccessory:n.default.createElement(i.Icon,u({size:i.IconSize.Lg},(()=>{switch(r){case s.BannerAlertSeverity.Danger:return{name:i.IconName.Danger,color:a.IconColor.errorDefault};case s.BannerAlertSeverity.Warning:return{name:i.IconName.Danger,color:a.IconColor.warningDefault};case s.BannerAlertSeverity.Success:return{name:i.IconName.Confirmation,color:a.IconColor.successDefault};default:return{name:i.IconName.Info,color:a.IconColor.primaryDefault}}})())),backgroundColor:(()=>{switch(r){case s.BannerAlertSeverity.Danger:return a.BackgroundColor.errorMuted;case s.BannerAlertSeverity.Warning:return a.BackgroundColor.warningMuted;case s.BannerAlertSeverity.Success:return a.BackgroundColor.successMuted;default:return a.BackgroundColor.primaryMuted}})(),paddingLeft:2,className:(0,o.default)("mm-banner-alert",{[`mm-banner-alert--severity-${r}`]:Object.values(s.BannerAlertSeverity).includes(r)},t)},c),e)))}}},{package:"$root$",file:"ui/components/component-library/banner-alert/banner-alert.tsx"}],[491,{"./_version":484,"./ens-normalize/lib":487,"@ethersproject/bytes":476,"@ethersproject/keccak256":502,"@ethersproject/logger":504,"@ethersproject/strings":547},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.dnsEncode=r.namehash=r.isValidName=r.ensNormalize=void 0;var n=e("@ethersproject/bytes"),o=e("@ethersproject/strings"),i=e("@ethersproject/keccak256"),a=e("@ethersproject/logger"),s=e("./_version"),c=new a.Logger(s.version),u=e("./ens-normalize/lib"),l=new Uint8Array(32);function f(e){if(0===e.length)throw new Error("invalid ENS name; empty component");return e}function d(e){var t=(0,o.toUtf8Bytes)((0,u.ens_normalize)(e)),r=[];if(0===e.length)return r;for(var n=0,i=0;i=t.length)throw new Error("invalid ENS name; empty component");return r.push(f(t.slice(n))),r}l.fill(0),r.ensNormalize=function(e){return d(e).map((function(e){return(0,o.toUtf8String)(e)})).join(".")},r.isValidName=function(e){try{return 0!==d(e).length}catch(e){}return!1},r.namehash=function(e){"string"!=typeof e&&c.throwArgumentError("invalid ENS name; not a string","name",e);for(var t=l,r=d(e);r.length;)t=(0,i.keccak256)((0,n.concat)([t,(0,i.keccak256)(r.pop())]));return(0,n.hexlify)(t)},r.dnsEncode=function(e){return(0,n.hexlify)((0,n.concat)(d(e).map((function(e){if(e.length>63)throw new Error("invalid DNS encoded entry; length exceeds 63 bytes");var t=new Uint8Array(e.length+1);return t.set(e,1),t[0]=t.length-1,t}))))+"00"}}}},{package:"@ethersproject/hash",file:"node_modules/@ethersproject/hash/lib/namehash.js"}],[4910,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.BannerAlertSeverity=void 0;r.BannerAlertSeverity=function(e){return e.Danger="danger",e.Info="info",e.Success="success",e.Warning="warning",e}({})}}},{package:"$root$",file:"ui/components/component-library/banner-alert/banner-alert.types.ts"}],[4911,{"./banner-alert":4909,"./banner-alert.types":4910},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"BannerAlert",{enumerable:!0,get:function(){return n.BannerAlert}}),Object.defineProperty(r,"BannerAlertSeverity",{enumerable:!0,get:function(){return o.BannerAlertSeverity}});var n=e("./banner-alert"),o=e("./banner-alert.types")}}},{package:"$root$",file:"ui/components/component-library/banner-alert/hybrid-compute-sdk.ts"}],[4912,{"..":4955,"../../../helpers/constants/design-system":5355,"../../../hooks/useI18nContext":5427,classnames:3049,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.BannerBase=void 0;var n=c(e("react")),o=c(e("classnames")),i=e("../../../hooks/useI18nContext"),a=e("../../../helpers/constants/design-system"),s=e("..");function c(e){return e&&e.__esModule?e:{default:e}}function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const v=(0,i.useI18nContext)();return n.default.createElement(s.Box,u({className:(0,o.default)("mm-banner-base",e),ref:b,display:a.Display.Flex,gap:2,backgroundColor:a.BackgroundColor.backgroundDefault,borderRadius:a.BorderRadius.SM,padding:3},_),g&&n.default.createElement(n.default.Fragment,null,g),n.default.createElement(s.Box,{minWidth:a.BlockSize.Zero},t&&n.default.createElement(s.Text,u({variant:a.TextVariant.bodyLgMedium},r),t),c&&n.default.createElement(s.Text,l,c),f&&"object"==typeof f?f:n.default.createElement(s.Text,d,f),h&&n.default.createElement(s.ButtonLink,u({size:s.ButtonLinkSize.Auto,onClick:p},m),h)),A&&n.default.createElement(s.ButtonIcon,u({className:"mm-banner-base__close-button",marginLeft:"auto",iconName:s.IconName.Close,size:s.ButtonIconSize.Sm,ariaLabel:v("close"),onClick:A},y)))}))}}},{package:"$root$",file:"ui/components/component-library/banner-base/banner-base.tsx"}],[4913,{"./banner-base":4912},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"BannerBase",{enumerable:!0,get:function(){return n.BannerBase}});var n=e("./banner-base")}}},{package:"$root$",file:"ui/components/component-library/banner-base/hybrid-compute-sdk.ts"}],[4914,{"..":4955,"../../../helpers/constants/design-system":5355,"./banner-tip.types":4915,classnames:3049,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.BannerTip=void 0;var n=c(e("react")),o=c(e("classnames")),i=e("../../../helpers/constants/design-system"),a=e(".."),s=e("./banner-tip.types");function c(e){return e&&e.__esModule?e:{default:e}}function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;tn.default.createElement(a.BannerBase,u({ref:h,startAccessory:f||n.default.createElement(a.Box,u({display:i.Display.Flex,alignItems:i.AlignItems.center},c),n.default.createElement(a.Box,u({as:"img",src:`images/fox-${r}.png`,alt:r},l,{className:(0,o.default)("mm-banner-tip--logo",(null==l?void 0:l.className)??"")}))),borderColor:i.BorderColor.borderDefault,className:(0,o.default)("mm-banner-tip",t)},d),e)))}}},{package:"$root$",file:"ui/components/component-library/banner-tip/banner-tip.tsx"}],[4915,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.BannerTipLogoType=void 0;r.BannerTipLogoType=function(e){return e.Greeting="greeting",e.Chat="chat",e}({})}}},{package:"$root$",file:"ui/components/component-library/banner-tip/banner-tip.types.ts"}],[4916,{"./banner-tip":4914,"./banner-tip.types":4915},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"BannerTip",{enumerable:!0,get:function(){return n.BannerTip}}),Object.defineProperty(r,"BannerTipLogoType",{enumerable:!0,get:function(){return o.BannerTipLogoType}});var n=e("./banner-tip"),o=e("./banner-tip.types")}}},{package:"$root$",file:"ui/components/component-library/banner-tip/hybrid-compute-sdk.ts"}],[4917,{"../../../helpers/constants/design-system":5355,classnames:3049,lodash:3836,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.Box=void 0;var n=s(e("react")),o=s(e("classnames")),i=e("lodash"),a=e("../../../helpers/constants/design-system");function s(e){return e&&e.__esModule?e:{default:e}}function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t{if(!t&&"number"!=typeof t)return{};const n={},o=Array.isArray(t)&&1===t.length?t[0]:undefined,i=!Array.isArray(t)&&"string"==typeof t||"number"==typeof t?t:undefined;let s;if((i||0===i)&&(s=i),(o||0===o)&&(s=o),s||0===s)n[`${u}--${e}-${s}`]=r(e,s);else if(Array.isArray(t))switch(t.length){case 4:n[`${u}--${e}-${t[0]}`]=r(e,t[0]),n[`${u}--${a.BREAKPOINTS[1]}:${e}-${t[1]}`]=r(e,t[1]),n[`${u}--${a.BREAKPOINTS[2]}:${e}-${t[2]}`]=r(e,t[2]),n[`${u}--${a.BREAKPOINTS[3]}:${e}-${t[3]}`]=r(e,t[3]);break;case 3:n[`${u}--${e}-${t[0]}`]=r(e,t[0]),n[`${u}--${a.BREAKPOINTS[1]}:${e}-${t[1]}`]=r(e,t[1]),n[`${u}--${a.BREAKPOINTS[2]}:${e}-${t[2]}`]=r(e,t[2]);break;case 2:n[`${u}--${e}-${t[0]}`]=r(e,t[0]),n[`${u}--${a.BREAKPOINTS[1]}:${e}-${t[1]}`]=r(e,t[1]);break;default:console.log(`Invalid array prop length: ${t.length}`)}return n}),((e,t)=>`${e}${t}`));r.Box=n.default.forwardRef((({as:e,padding:t,paddingTop:r,paddingRight:i,paddingBottom:a,paddingLeft:s,paddingInline:h,paddingInlineStart:p,paddingInlineEnd:m,margin:g,marginTop:A,marginRight:y,marginBottom:_,marginLeft:b,marginInline:v,marginInlineStart:E,marginInlineEnd:T,borderColor:w,borderWidth:N,borderRadius:S,borderStyle:I,alignItems:O,justifyContent:C,textAlign:M,flexDirection:R,flexWrap:P,gap:x,display:k,width:L,minWidth:j,height:B,children:D,className:U="",backgroundColor:H,color:F,...G},K)=>{const z=e||"div",W=(0,o.default)(u,U,d("margin",g,l),d("margin-top",A,l),d("margin-right",y,l),d("margin-bottom",_,l),d("margin-left",b,l),d("margin-inline",v,l),d("margin-inline-start",E,l),d("margin-inline-end",T,l),d("padding",t,l),d("padding-top",r,l),d("padding-right",i,l),d("padding-bottom",a,l),d("padding-left",s,l),d("padding-inline",h,l),d("padding-inline-start",p,l),d("padding-inline-end",m,l),d("display",k,f),d("gap",x,l),d("flex-direction",R,f),d("flex-wrap",P,f),d("justify-content",C,f),d("align-items",O,f),d("text-align",M,f),d("width",L,f),d("min-width",j,f),d("height",B,f),d("color",F,f),d("background-color",H,f),d("rounded",S,f),d("border-style",I,f),d("border-color",w,f),d("border-width",N,l),{"box--border-style-solid":!I&&(Boolean(N)||Boolean(w)),"box--border-width-1":!N&&Boolean(w)});return n.default.createElement(z,c({className:W,ref:K},G),D)}))}}},{package:"$root$",file:"ui/components/component-library/box/box.tsx"}],[4918,{"./box":4917},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"Box",{enumerable:!0,get:function(){return n.Box}});var n=e("./box")}}},{package:"$root$",file:"ui/components/component-library/box/hybrid-compute-sdk.ts"}],[4919,{"..":4955,"../../../helpers/constants/design-system":5355,"./button-base.types":4920,classnames:3049,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.ButtonBase=void 0;var n=c(e("react")),o=c(e("classnames")),i=e(".."),a=e("../../../helpers/constants/design-system"),s=e("./button-base.types");function c(e){return e&&e.__esModule?e:{default:e}}function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const S=l?"a":e||"button",I=l&&"a"===S?{href:l,...w}:w;return n.default.createElement(i.Text,u({as:S,backgroundColor:a.BackgroundColor.backgroundAlternative,variant:a.TextVariant.bodyMdMedium,color:y?a.TextColor.transparent:E,ref:N},"button"===S?{disabled:_}:{},l&&d?{target:"_blank",rel:"noopener noreferrer"}:{},{padding:0,paddingLeft:4,paddingRight:4,ellipsis:f,className:(0,o.default)("mm-button-base",{[`mm-button-base--size-${h}`]:Object.values(s.ButtonBaseSize).includes(h),"mm-button-base--loading":y||!1,"mm-button-base--disabled":_||!1,"mm-button-base--block":t||!1,"mm-button-base--ellipsis":f},c),display:a.Display.InlineFlex,justifyContent:a.JustifyContent.center,alignItems:a.AlignItems.center,borderRadius:a.BorderRadius.pill},I),p&&n.default.createElement(i.Icon,u({name:p,size:i.IconSize.Sm,marginInlineEnd:1},m,{color:y?a.IconColor.transparent:null==m?void 0:m.color})),"string"!=typeof r||f||y?n.default.createElement(i.Text,u({as:"span",ellipsis:f,variant:a.TextVariant.inherit,color:y?a.TextColor.transparent:E},v),r):r,g&&n.default.createElement(i.Icon,u({name:g,size:i.IconSize.Sm,marginInlineStart:1},A,{color:y?a.IconColor.transparent:null==A?void 0:A.color})),y&&n.default.createElement(i.Icon,u({className:"mm-button-base__icon-loading",name:i.IconName.Loading,color:T,size:i.IconSize.Md},b)))}))}}},{package:"$root$",file:"ui/components/component-library/button-base/button-base.tsx"}],[492,{"./_version":484,"./id":488,"@ethersproject/address":467,"@ethersproject/bignumber":474,"@ethersproject/bytes":476,"@ethersproject/keccak256":502,"@ethersproject/logger":504,"@ethersproject/properties":510},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function a(e){try{c(n.next(e))}catch(e){i(e)}}function s(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}c((n=n.apply(e,t||[])).next())}))},o=this&&this.__generator||function(e,t){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]256||t[2]&&t[2]!==String(n))&&d.throwArgumentError("invalid numeric width","type",e);var o=y.mask(r?n-1:n),u=r?o.add(A).mul(m):g;return function(t){var r=a.BigNumber.from(t);return(r.lt(u)||r.gt(o))&&d.throwArgumentError("value out-of-bounds for "+e,"value",t),(0,s.hexZeroPad)(r.toTwos(256).toHexString(),32)}}if(t=e.match(/^bytes(\d+)$/)){var l=parseInt(t[1]);return(0===l||l>32||t[1]!==String(l))&&d.throwArgumentError("invalid bytes width","type",e),function(t){return(0,s.arrayify)(t).length!==l&&d.throwArgumentError("invalid length for "+e,"value",t),function(e){var t=(0,s.arrayify)(e),r=t.length%32;return r?(0,s.hexConcat)([t,p.slice(r)]):(0,s.hexlify)(t)}(t)}}switch(e){case"address":return function(e){return(0,s.hexZeroPad)((0,i.getAddress)(e),32)};case"bool":return function(e){return e?_:b};case"bytes":return function(e){return(0,c.keccak256)(e)};case"string":return function(e){return(0,h.id)(e)}}return null}function S(e,t){return e+"("+t.map((function(e){var t=e.name;return e.type+" "+t})).join(",")+")"}var I=function(){function e(e){(0,u.defineReadOnly)(this,"types",Object.freeze((0,u.deepCopy)(e))),(0,u.defineReadOnly)(this,"_encoderCache",{}),(0,u.defineReadOnly)(this,"_types",{});var t={},r={},n={};Object.keys(e).forEach((function(e){t[e]={},r[e]=[],n[e]={}}));var o=function(n){var o={};e[n].forEach((function(i){o[i.name]&&d.throwArgumentError("duplicate variable name "+JSON.stringify(i.name)+" in "+JSON.stringify(n),"types",e),o[i.name]=!0;var a=i.type.match(/^([^\x5b]*)(\x5b|$)/)[1];a===n&&d.throwArgumentError("circular type reference to "+JSON.stringify(a),"types",e),N(a)||(r[a]||d.throwArgumentError("unknown type "+JSON.stringify(a),"types",e),r[a].push(n),t[n][a]=!0)}))};for(var i in e)o(i);var a=Object.keys(r).filter((function(e){return 0===r[e].length}));for(var s in 0===a.length?d.throwArgumentError("missing primary type","types",e):a.length>1&&d.throwArgumentError("ambiguous primary types or unused types: "+a.map((function(e){return JSON.stringify(e)})).join(", "),"types",e),(0,u.defineReadOnly)(this,"primaryType",a[0]),function o(i,a){a[i]&&d.throwArgumentError("circular type reference to "+JSON.stringify(i),"types",e),a[i]=!0,Object.keys(t[i]).forEach((function(e){r[e]&&(o(e,a),Object.keys(a).forEach((function(t){n[t][e]=!0})))})),delete a[i]}(this.primaryType,{}),n){var c=Object.keys(n[s]);c.sort(),this._types[s]=S(s,e[s])+c.map((function(t){return S(t,e[t])})).join("")}}return e.prototype.getEncoder=function(e){var t=this._encoderCache[e];return t||(t=this._encoderCache[e]=this._getEncoder(e)),t},e.prototype._getEncoder=function(e){var t=this,r=N(e);if(r)return r;var n=e.match(/^(.*)(\x5b(\d*)\x5d)$/);if(n){var o=n[1],i=this.getEncoder(o),a=parseInt(n[3]);return function(e){a>=0&&e.length!==a&&d.throwArgumentError("array length mismatch; expected length ${ arrayLength }","value",e);var r=e.map(i);return t._types[o]&&(r=r.map(c.keccak256)),(0,c.keccak256)((0,s.hexConcat)(r))}}var u=this.types[e];if(u){var l=(0,h.id)(this._types[e]);return function(e){var r=u.map((function(r){var n=r.name,o=r.type,i=t.getEncoder(o)(e[n]);return t._types[o]?(0,c.keccak256)(i):i}));return r.unshift(l),(0,s.hexConcat)(r)}}return d.throwArgumentError("unknown type: "+e,"type",e)},e.prototype.encodeType=function(e){var t=this._types[e];return t||d.throwArgumentError("unknown type: "+JSON.stringify(e),"name",e),t},e.prototype.encodeData=function(e,t){return this.getEncoder(e)(t)},e.prototype.hashStruct=function(e,t){return(0,c.keccak256)(this.encodeData(e,t))},e.prototype.encode=function(e){return this.encodeData(this.primaryType,e)},e.prototype.hash=function(e){return this.hashStruct(this.primaryType,e)},e.prototype._visit=function(e,t,r){var n=this;if(N(e))return r(e,t);var o=e.match(/^(.*)(\x5b(\d*)\x5d)$/);if(o){var i=o[1],a=parseInt(o[3]);return a>=0&&t.length!==a&&d.throwArgumentError("array length mismatch; expected length ${ arrayLength }","value",t),t.map((function(e){return n._visit(i,e,r)}))}var s=this.types[e];return s?s.reduce((function(e,o){var i=o.name,a=o.type;return e[i]=n._visit(a,t[i],r),e}),{}):d.throwArgumentError("unknown type: "+e,"type",e)},e.prototype.visit=function(e,t){return this._visit(this.primaryType,e,t)},e.from=function(t){return new e(t)},e.getPrimaryType=function(t){return e.from(t).primaryType},e.hashStruct=function(t,r,n){return e.from(r).hashStruct(t,n)},e.hashDomain=function(t){var r=[];for(var n in t){var o=v[n];o||d.throwArgumentError("invalid typed-data domain key: "+JSON.stringify(n),"domain",t),r.push({name:n,type:o})}return r.sort((function(e,t){return E.indexOf(e.name)-E.indexOf(t.name)})),e.hashStruct("EIP712Domain",{EIP712Domain:r},t)},e.encode=function(t,r,n){return(0,s.hexConcat)(["0x1901",e.hashDomain(t),e.from(r).hash(n)])},e.hash=function(t,r,n){return(0,c.keccak256)(e.encode(t,r,n))},e.resolveNames=function(t,r,i,a){return n(this,void 0,void 0,(function(){var n,c,l,f,d,h,p,m;return o(this,(function(o){switch(o.label){case 0:for(f in t=(0,u.shallowCopy)(t),n={},t.verifyingContract&&!(0,s.isHexString)(t.verifyingContract,20)&&(n[t.verifyingContract]="0x"),(c=e.from(r)).visit(i,(function(e,t){return"address"!==e||(0,s.isHexString)(t,20)||(n[t]="0x"),t})),l=[],n)l.push(f);d=0,o.label=1;case 1:return d{const y=u?"a":t||"button",_=p&&"button"===y;return n.default.createElement(a.Box,l({"aria-label":e,as:y,className:(0,o.default)("mm-button-icon",`mm-button-icon--size-${String(d)}`,{"mm-button-icon--disabled":Boolean(p)},r),color:s},_?{disabled:!0}:{},{display:i.Display.InlineFlex,justifyContent:i.JustifyContent.center,alignItems:i.AlignItems.center,borderRadius:i.BorderRadius.LG,backgroundColor:i.BackgroundColor.transparent},u?{href:u}:{},{ref:A},g),n.default.createElement(a.Icon,l({name:h,size:f[d]},m)))}))}}},{package:"$root$",file:"ui/components/component-library/button-icon/button-icon.tsx"}],[4923,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.ButtonIconSize=void 0;r.ButtonIconSize=function(e){return e.Sm="sm",e.Md="md",e.Lg="lg",e}({})}}},{package:"$root$",file:"ui/components/component-library/button-icon/button-icon.types.ts"}],[4924,{"./button-icon":4922,"./button-icon.types":4923},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ButtonIcon",{enumerable:!0,get:function(){return n.ButtonIcon}}),Object.defineProperty(r,"ButtonIconSize",{enumerable:!0,get:function(){return o.ButtonIconSize}});var n=e("./button-icon"),o=e("./button-icon.types")}}},{package:"$root$",file:"ui/components/component-library/button-icon/hybrid-compute-sdk.ts"}],[4925,{"..":4955,"../../../helpers/constants/design-system":5355,"./button-link.types":4926,classnames:3049,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.ButtonLink=void 0;var n=c(e("react")),o=c(e("classnames")),i=e(".."),a=e("../../../helpers/constants/design-system"),s=e("./button-link.types");function c(e){return e&&e.__esModule?e:{default:e}}function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;tn.default.createElement(i.ButtonBase,u({className:(0,o.default)(e,"mm-button-link",{"mm-button-link--type-danger":r,"mm-button-link--disabled":c,"mm-button-link--loading":l,"mm-button-link--size-inherit":f===s.ButtonLinkSize.Inherit,"mm-button-link--size-auto":f===s.ButtonLinkSize.Auto}),paddingLeft:0,paddingRight:0,size:f===s.ButtonLinkSize.Inherit?null:f,backgroundColor:a.BackgroundColor.transparent,color:t||(r?a.Color.errorDefault:a.Color.primaryDefault),borderRadius:null,startIconProps:{size:f===s.ButtonLinkSize.Inherit?i.IconSize.Inherit:i.IconSize.Sm,...h,className:f===s.ButtonLinkSize.Inherit?`mm-button-link--size-inherit__icon ${(null==h?void 0:h.className)||""}`:""},endIconProps:{size:f===s.ButtonLinkSize.Inherit?i.IconSize.Inherit:i.IconSize.Sm,...d,className:f===s.ButtonLinkSize.Inherit?`mm-button-link--size-inherit__icon ${(null==d?void 0:d.className)||""}`:""},iconLoadingProps:{size:f===s.ButtonLinkSize.Inherit?i.IconSize.Inherit:i.IconSize.Md,color:t||(r?a.Color.errorDefault:a.Color.primaryDefault)},ref:m,disabled:c,loading:l},p))))}}},{package:"$root$",file:"ui/components/component-library/button-link/button-link.tsx"}],[4926,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.ButtonLinkSize=void 0;r.ButtonLinkSize=function(e){return e.Auto="auto",e.Sm="sm",e.Md="md",e.Lg="lg",e.Inherit="inherit",e}({})}}},{package:"$root$",file:"ui/components/component-library/button-link/button-link.types.ts"}],[4927,{"./button-link":4925,"./button-link.types":4926},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ButtonLink",{enumerable:!0,get:function(){return n.ButtonLink}}),Object.defineProperty(r,"ButtonLinkSize",{enumerable:!0,get:function(){return o.ButtonLinkSize}});var n=e("./button-link"),o=e("./button-link.types")}}},{package:"$root$",file:"ui/components/component-library/button-link/hybrid-compute-sdk.ts"}],[4928,{"../../../helpers/constants/design-system":5355,"../button-base":4921,"./button-primary.types":4929,classnames:3049,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.ButtonPrimary=void 0;var n=c(e("react")),o=c(e("classnames")),i=e("../button-base"),a=e("../../../helpers/constants/design-system"),s=e("./button-primary.types");function c(e){return e&&e.__esModule?e:{default:e}}function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;tn.default.createElement(i.ButtonBase,u({backgroundColor:t?a.BackgroundColor.errorDefault:a.BackgroundColor.primaryDefault,color:t?a.TextColor.errorInverse:a.TextColor.primaryInverse,className:(0,o.default)(e,"mm-button-primary",{"mm-button-primary--type-danger":t,"mm-button-primary--disabled":r}),iconLoadingProps:{color:t?a.IconColor.errorInverse:a.IconColor.primaryInverse},size:c,ref:f,disabled:r},l))))}}},{package:"$root$",file:"ui/components/component-library/button-primary/button-primary.tsx"}],[4929,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.ButtonPrimarySize=void 0;r.ButtonPrimarySize=function(e){return e.Sm="sm",e.Md="md",e.Lg="lg",e}({})}}},{package:"$root$",file:"ui/components/component-library/button-primary/button-primary.types.ts"}],[493,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.version=void 0,r.version="hdnode/5.7.0"}}},{package:"@ethersproject/hdnode",file:"node_modules/@ethersproject/hdnode/lib/_version.js"}],[4930,{"./button-primary":4928,"./button-primary.types":4929},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ButtonPrimary",{enumerable:!0,get:function(){return n.ButtonPrimary}}),Object.defineProperty(r,"ButtonPrimarySize",{enumerable:!0,get:function(){return o.ButtonPrimarySize}});var n=e("./button-primary"),o=e("./button-primary.types")}}},{package:"$root$",file:"ui/components/component-library/button-primary/hybrid-compute-sdk.ts"}],[4931,{"../../../helpers/constants/design-system":5355,"../button-base":4921,"./button-secondary.types":4932,classnames:3049,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.ButtonSecondary=void 0;var n=c(e("react")),o=c(e("classnames")),i=e("../button-base"),a=e("../../../helpers/constants/design-system"),s=e("./button-secondary.types");function c(e){return e&&e.__esModule?e:{default:e}}function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const d=t?a.Color.errorDefault:a.Color.primaryDefault;return n.default.createElement(i.ButtonBase,u({backgroundColor:a.Color.transparent,borderColor:d,color:d,className:(0,o.default)(e,"mm-button-secondary",{"mm-button-secondary--type-danger":t,"mm-button-secondary--disabled":r}),size:c,ref:f,disabled:r},l))}))}}},{package:"$root$",file:"ui/components/component-library/button-secondary/button-secondary.tsx"}],[4932,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.ButtonSecondarySize=void 0;r.ButtonSecondarySize=function(e){return e.Sm="sm",e.Md="md",e.Lg="lg",e}({})}}},{package:"$root$",file:"ui/components/component-library/button-secondary/button-secondary.types.ts"}],[4933,{"./button-secondary":4931,"./button-secondary.types":4932},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ButtonSecondary",{enumerable:!0,get:function(){return n.ButtonSecondary}}),Object.defineProperty(r,"ButtonSecondarySize",{enumerable:!0,get:function(){return o.ButtonSecondarySize}});var n=e("./button-secondary"),o=e("./button-secondary.types")}}},{package:"$root$",file:"ui/components/component-library/button-secondary/hybrid-compute-sdk.ts"}],[4934,{"../button-link":4927,"../button-primary":4930,"../button-secondary":4933,"./button.types":4935,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.Button=void 0;var n,o=(n=e("react"))&&n.__esModule?n:{default:n},i=e("../button-primary"),a=e("../button-secondary"),s=e("../button-link"),c=e("./button.types");function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t{switch(e){case c.ButtonVariant.Primary:return o.default.createElement(i.ButtonPrimary,u({ref:r},t));case c.ButtonVariant.Secondary:return o.default.createElement(a.ButtonSecondary,u({ref:r},t));case c.ButtonVariant.Link:return o.default.createElement(s.ButtonLink,u({ref:r},t));default:return o.default.createElement(i.ButtonPrimary,u({ref:r},t))}}))}}},{package:"$root$",file:"ui/components/component-library/button/button.tsx"}],[4935,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.ButtonVariant=r.ButtonSize=void 0;r.ButtonSize=function(e){return e.Sm="sm",e.Md="md",e.Lg="lg",e.Inherit="inherit",e.Auto="auto",e}({}),r.ButtonVariant=function(e){return e.Primary="primary",e.Secondary="secondary",e.Link="link",e}({})}}},{package:"$root$",file:"ui/components/component-library/button/button.types.ts"}],[4936,{"../../../helpers/constants/design-system":5355,"./button":4934,"./button.types":4935},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.BUTTON_VARIANT=r.BUTTON_SIZES=void 0,Object.defineProperty(r,"Button",{enumerable:!0,get:function(){return o.Button}}),Object.defineProperty(r,"ButtonSize",{enumerable:!0,get:function(){return i.ButtonSize}}),Object.defineProperty(r,"ButtonVariant",{enumerable:!0,get:function(){return i.ButtonVariant}});var n=e("../../../helpers/constants/design-system"),o=e("./button"),i=e("./button.types");r.BUTTON_SIZES={SM:n.Size.SM,MD:n.Size.MD,LG:n.Size.LG,INHERIT:n.Size.inherit,AUTO:n.Size.auto},r.BUTTON_VARIANT={PRIMARY:"primary",SECONDARY:"secondary",LINK:"link"}}}},{package:"$root$",file:"ui/components/component-library/button/hybrid-compute-sdk.ts"}],[4937,{"..":4955,"../../../helpers/constants/design-system":5355,classnames:3049,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.Checkbox=void 0;var n=s(e("react")),o=s(e("classnames")),i=e("../../../helpers/constants/design-system"),a=e("..");function s(e){return e&&e.__esModule?e:{default:e}}function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const v=g||"string"!=typeof y?g||e:y;return n.default.createElement(a.Text,c({className:(0,o.default)("mm-checkbox",d,{"mm-checkbox--disabled":Boolean(s)}),as:"label",display:i.Display.InlineFlex,alignItems:i.AlignItems.center,ref:b,htmlFor:e},_),n.default.createElement("span",{className:"mm-checkbox__input-wrapper"},n.default.createElement(a.Box,c({as:"input",type:"checkbox",title:v,name:A,id:e,checked:t,disabled:s,readOnly:u,required:l,"data-indeterminate":r,onChange:e=>{u?e.preventDefault():null==f||f(e)},onKeyDown:e=>{"Enter"===e.key&&(null==f||f(e))},margin:0,marginRight:y?2:0,backgroundColor:t||r?i.BackgroundColor.primaryDefault:i.BackgroundColor.backgroundDefault,borderColor:t||r?i.BorderColor.primaryDefault:i.BorderColor.borderDefault,borderRadius:i.BorderRadius.SM,borderWidth:2,display:i.Display.Flex,ref:m},p,{className:(0,o.default)("mm-checkbox__input",(null==p?void 0:p.className)??"",{"mm-checkbox__input--checked":Boolean(t),"mm-checkbox__input--indeterminate":Boolean(r),"mm-checkbox__input--readonly":Boolean(u)})})),(t||r)&&n.default.createElement(a.Icon,c({color:i.IconColor.primaryInverse,name:t?a.IconName.CheckBold:a.IconName.MinusBold,className:(0,o.default)("mm-checkbox__icon",(null==h?void 0:h.className)??"")},h))),y?n.default.createElement("span",null,y):null)}))}}},{package:"$root$",file:"ui/components/component-library/checkbox/checkbox.tsx"}],[4938,{"./checkbox":4937},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"Checkbox",{enumerable:!0,get:function(){return n.Checkbox}});var n=e("./checkbox")}}},{package:"$root$",file:"ui/components/component-library/checkbox/hybrid-compute-sdk.ts"}],[4939,{"..":4955,classnames:3049,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.Container=void 0;var n=a(e("react")),o=a(e("classnames")),i=e("..");function a(e){return e&&e.__esModule?e:{default:e}}function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;tn.default.createElement(i.Box,s({className:(0,o.default)("mm-container",`mm-container--max-width-${r}`,t),ref:c},a),e)))}}},{package:"$root$",file:"ui/components/component-library/container/container.tsx"}],[494,{"./_version":493,"@ethersproject/basex":470,"@ethersproject/bignumber":474,"@ethersproject/bytes":476,"@ethersproject/logger":504,"@ethersproject/pbkdf2":508,"@ethersproject/properties":510,"@ethersproject/sha2":539,"@ethersproject/signing-key":543,"@ethersproject/strings":547,"@ethersproject/transactions":550,"@ethersproject/wordlists":557},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.getAccountPath=r.isValidMnemonic=r.entropyToMnemonic=r.mnemonicToEntropy=r.mnemonicToSeed=r.HDNode=r.defaultPath=void 0;var n=e("@ethersproject/basex"),o=e("@ethersproject/bytes"),i=e("@ethersproject/bignumber"),a=e("@ethersproject/strings"),s=e("@ethersproject/pbkdf2"),c=e("@ethersproject/properties"),u=e("@ethersproject/signing-key"),l=e("@ethersproject/sha2"),f=e("@ethersproject/transactions"),d=e("@ethersproject/wordlists"),h=e("@ethersproject/logger"),p=e("./_version"),m=new h.Logger(p.version),g=i.BigNumber.from("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),A=(0,a.toUtf8Bytes)("Bitcoin seed"),y=2147483648;function _(e){return(1<=256)throw new Error("Depth too large!");return v((0,o.concat)([null!=this.privateKey?"0x0488ADE4":"0x0488B21E",(0,o.hexlify)(this.depth),this.parentFingerprint,(0,o.hexZeroPad)((0,o.hexlify)(this.index),4),this.chainCode,null!=this.privateKey?(0,o.concat)(["0x00",this.privateKey]):this.publicKey]))},enumerable:!1,configurable:!0}),e.prototype.neuter=function(){return new e(T,null,this.publicKey,this.parentFingerprint,this.chainCode,this.index,this.depth,this.path)},e.prototype._derive=function(t){if(t>4294967295)throw new Error("invalid index - "+String(t));var r=this.path;r&&(r+="/"+(2147483647&t));var n=new Uint8Array(37);if(t&y){if(!this.privateKey)throw new Error("cannot derive child of neutered node");n.set((0,o.arrayify)(this.privateKey),1),r&&(r+="'")}else n.set((0,o.arrayify)(this.publicKey));for(var a=24;a>=0;a-=8)n[33+(a>>3)]=t>>24-a&255;var s=(0,o.arrayify)((0,l.computeHmac)(l.SupportedAlgorithm.sha512,this.chainCode,n)),c=s.slice(0,32),f=s.slice(32),d=null,h=null;this.privateKey?d=b(i.BigNumber.from(c).add(this.privateKey).mod(g)):h=new u.SigningKey((0,o.hexlify)(c))._addPoint(this.publicKey);var p=r,m=this.mnemonic;return m&&(p=Object.freeze({phrase:m.phrase,path:r,locale:m.locale||"en"})),new e(T,d,h,this.fingerprint,b(f),t,this.depth+1,p)},e.prototype.derivePath=function(e){var t=e.split("/");if(0===t.length||"m"===t[0]&&0!==this.depth)throw new Error("invalid path - "+e);"m"===t[0]&&t.shift();for(var r=this,n=0;n=y)throw new Error("invalid path index - "+o);r=r._derive(y+i)}else{if(!o.match(/^[0-9]+$/))throw new Error("invalid path component - "+o);var i;if((i=parseInt(o))>=y)throw new Error("invalid path index - "+o);r=r._derive(i)}}return r},e._fromSeed=function(t,r){var n=(0,o.arrayify)(t);if(n.length<16||n.length>64)throw new Error("invalid seed");var i=(0,o.arrayify)((0,l.computeHmac)(l.SupportedAlgorithm.sha512,A,n));return new e(T,b(i.slice(0,32)),null,"0x00000000",b(i.slice(32)),0,0,r)},e.fromMnemonic=function(t,r,n){return t=I(S(t,n=E(n)),n),e._fromSeed(N(t,r),{phrase:t,path:"m",locale:n.locale})},e.fromSeed=function(t){return e._fromSeed(t,null)},e.fromExtendedKey=function(t){var r=n.Base58.decode(t);82===r.length&&v(r.slice(0,78))===t||m.throwArgumentError("invalid extended key","extendedKey","[REDACTED]");var i=r[4],a=(0,o.hexlify)(r.slice(5,9)),s=parseInt((0,o.hexlify)(r.slice(9,13)).substring(2),16),c=(0,o.hexlify)(r.slice(13,45)),u=r.slice(45,78);switch((0,o.hexlify)(r.slice(0,4))){case"0x0488b21e":case"0x043587cf":return new e(T,null,(0,o.hexlify)(u),a,c,s,i,null);case"0x0488ade4":case"0x04358394 ":if(0!==u[0])break;return new e(T,(0,o.hexlify)(u.slice(1)),null,a,c,s,i,null)}return m.throwArgumentError("invalid extended key","extendedKey","[REDACTED]")},e}();function N(e,t){t||(t="");var r=(0,a.toUtf8Bytes)("mnemonic"+t,a.UnicodeNormalizationForm.NFKD);return(0,s.pbkdf2)((0,a.toUtf8Bytes)(e,a.UnicodeNormalizationForm.NFKD),r,2048,64,"sha512")}function S(e,t){t=E(t),m.checkNormalize();var r=t.split(e);if(r.length%3!=0)throw new Error("invalid mnemonic");for(var n=(0,o.arrayify)(new Uint8Array(Math.ceil(11*r.length/8))),i=0,a=0;a>3]|=1<<7-i%8),i++}var u=32*r.length/3,f=_(r.length/3);if(((0,o.arrayify)((0,l.sha256)(n.slice(0,u/8)))[0]&f)!==(n[n.length-1]&f))throw new Error("invalid checksum");return(0,o.hexlify)(n.slice(0,u/8))}function I(e,t){if(t=E(t),(e=(0,o.arrayify)(e)).length%4!=0||e.length<16||e.length>32)throw new Error("invalid entropy");for(var r=[0],n=11,i=0;i8?(r[r.length-1]<<=8,r[r.length-1]|=e[i],n-=8):(r[r.length-1]<<=n,r[r.length-1]|=e[i]>>8-n,r.push(e[i]&(1<<8-n)-1),n+=3);var a=e.length/4,s=(0,o.arrayify)((0,l.sha256)(e))[0]&_(a);return r[r.length-1]<<=a,r[r.length-1]|=s>>8-a,t.join(r.map((function(e){return t.getWord(e)})))}r.HDNode=w,r.mnemonicToSeed=N,r.mnemonicToEntropy=S,r.entropyToMnemonic=I,r.isValidMnemonic=function(e,t){try{return S(e,t),!0}catch(e){}return!1},r.getAccountPath=function(e){return("number"!=typeof e||e<0||e>=y||e%1)&&m.throwArgumentError("invalid account index","index",e),"m/44'/60'/"+e+"'/0/0"}}}},{package:"@ethersproject/hdnode",file:"node_modules/@ethersproject/hdnode/lib/index.js"}],[4940,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.ContainerMaxWidth=void 0;r.ContainerMaxWidth=function(e){return e.Sm="sm",e.Md="md",e.Lg="lg",e}({})}}},{package:"$root$",file:"ui/components/component-library/container/container.types.ts"}],[4941,{"./container":4939,"./container.types":4940},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"Container",{enumerable:!0,get:function(){return n.Container}}),Object.defineProperty(r,"ContainerMaxWidth",{enumerable:!0,get:function(){return o.ContainerMaxWidth}});var n=e("./container"),o=e("./container.types")}}},{package:"$root$",file:"ui/components/component-library/container/hybrid-compute-sdk.ts"}],[4944,{"..":4955,"../../../helpers/constants/design-system":5355,"./form-text-field.types":4945,classnames:3049,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.FormTextField=void 0;var n=c(e("react")),o=c(e("classnames")),i=e("../../../helpers/constants/design-system"),a=e(".."),s=e("./form-text-field.types");function c(e){return e&&e.__esModule?e:{default:e}}function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;tn.default.createElement(a.Box,u({className:(0,o.default)("mm-form-text-field",{"mm-form-text-field--disabled":Boolean(f)||Boolean(l)},r),display:i.Display.Flex,flexDirection:i.FlexDirection.Column,ref:j},L),y&&n.default.createElement(a.Label,u({htmlFor:m},_,{className:(0,o.default)("mm-form-text-field__label",(null==_?void 0:_.className)??"")}),y),n.default.createElement(a.TextField,u({className:(0,o.default)("mm-form-text-field__text-field",(null==R?void 0:R.className)??""),size:M,autoComplete:e,autoFocus:t,defaultValue:c,disabled:l,error:d,id:m,inputProps:g,inputRef:A,startAccessory:b,maxLength:v,name:E,onBlur:T,onChange:w,onFocus:N,placeholder:S,readOnly:I,required:O,endAccessory:C,truncate:P,type:x,value:k},R)),h&&n.default.createElement(a.HelpText,u({severity:d?a.HelpTextSeverity.Danger:undefined,marginTop:1},p,{className:(0,o.default)("mm-form-text-field__help-text",(null==p?void 0:p.className)??"")}),h))))}}},{package:"$root$",file:"ui/components/component-library/form-text-field/form-text-field.tsx"}],[4945,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.FormTextFieldSize=void 0;r.FormTextFieldSize=function(e){return e.Sm="sm",e.Md="md",e.Lg="lg",e}({})}}},{package:"$root$",file:"ui/components/component-library/form-text-field/form-text-field.types.ts"}],[4946,{"./form-text-field":4944,"./form-text-field.types":4945},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"FormTextField",{enumerable:!0,get:function(){return n.FormTextField}}),Object.defineProperty(r,"FormTextFieldSize",{enumerable:!0,get:function(){return o.FormTextFieldSize}});var n=e("./form-text-field"),o=e("./form-text-field.types")}}},{package:"$root$",file:"ui/components/component-library/form-text-field/hybrid-compute-sdk.ts"}],[4947,{"..":4955,"../../../helpers/constants/design-system":5355,classnames:3049,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.HeaderBase=void 0;var n,o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=c(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}(e("react")),i=(n=e("classnames"))&&n.__esModule?n:{default:n},a=e("../../../helpers/constants/design-system"),s=e("..");function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(c=function(e){return e?r:t})(e)}function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const p=(0,o.useRef)(null),m=(0,o.useRef)(null),[g,A]=(0,o.useState)();(0,o.useEffect)((()=>{function e(){if(p.current&&m.current){const e=Math.max(p.current.scrollWidth,m.current.scrollWidth);A(e)}else p.current&&!m.current?A(p.current.scrollWidth):!p.current&&m.current?A(m.current.scrollWidth):A(0)}return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}}),[p,m,n]);const y=(0,o.useMemo)((()=>e&&!t&&g?{marginRight:`${g}px`,width:`calc(100% - ${2*g}px)`}:!e&&t&&g?{marginLeft:`${g}px`,width:`calc(100% - ${2*g}px)`}:e&&t&&g?{width:`calc(100% - ${2*g}px)`}:{}),[g,e,t]);return o.default.createElement(s.Box,u({className:(0,i.default)("mm-header-base",r),ref:h,display:a.Display.Flex,justifyContent:a.JustifyContent.spaceBetween},d),e&&o.default.createElement(s.Box,u({ref:p,style:n?{minWidth:`${g}px`}:undefined},l),e),n&&o.default.createElement(s.Box,u({style:y},c),n),t&&o.default.createElement(s.Box,u({display:a.Display.Flex,justifyContent:a.JustifyContent.flexEnd,ref:m,style:n?{minWidth:`${g}px`}:undefined},f),t))}))}}},{package:"$root$",file:"ui/components/component-library/header-base/header-base.tsx"}],[4948,{"./header-base":4947},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"HeaderBase",{enumerable:!0,get:function(){return n.HeaderBase}});var n=e("./header-base")}}},{package:"$root$",file:"ui/components/component-library/header-base/hybrid-compute-sdk.ts"}],[4949,{".":4951,"../../../helpers/constants/design-system":5355,"../text":5008,classnames:3049,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.HelpText=void 0;var n,o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=u(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}(e("react")),i=(n=e("classnames"))&&n.__esModule?n:{default:n},a=e("../../../helpers/constants/design-system"),s=e("../text"),c=e(".");function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(u=function(e){return e?r:t})(e)}function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;to.default.createElement(s.Text,l({className:(0,i.default)("mm-help-text",r??""),ref:f,as:n&&"object"==typeof n?"div":"p",variant:a.TextVariant.bodyXs,color:e?(()=>{switch(e){case c.HelpTextSeverity.Danger:return a.TextColor.errorDefault;case c.HelpTextSeverity.Warning:return a.TextColor.warningDefault;case c.HelpTextSeverity.Success:return a.TextColor.successDefault;case c.HelpTextSeverity.Info:return a.TextColor.infoDefault;default:return a.TextColor.textDefault}})():t},u),n)))}}},{package:"$root$",file:"ui/components/component-library/help-text/help-text.tsx"}],[4950,{"../../../helpers/constants/design-system":5355},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.HelpTextSeverity=void 0;var n=e("../../../helpers/constants/design-system");r.HelpTextSeverity=function(e){return e[e.Danger=n.Severity.Danger]="Danger",e[e.Warning=n.Severity.Warning]="Warning",e[e.Success=n.Severity.Success]="Success",e[e.Info=n.Severity.Info]="Info",e}({})}}},{package:"$root$",file:"ui/components/component-library/help-text/help-text.types.ts"}],[4951,{"./help-text":4949,"./help-text.types":4950},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"HelpText",{enumerable:!0,get:function(){return n.HelpText}}),Object.defineProperty(r,"HelpTextSeverity",{enumerable:!0,get:function(){return o.HelpTextSeverity}});var n=e("./help-text"),o=e("./help-text.types")}}},{package:"$root$",file:"ui/components/component-library/help-text/hybrid-compute-sdk.ts"}],[4952,{"../../../helpers/constants/design-system":5355,"../box":4918,"./icon.types":4953,classnames:3049,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.Icon=void 0;var n=c(e("react")),o=c(e("classnames")),i=e("../../../helpers/constants/design-system"),a=e("../box"),s=e("./icon.types");function c(e){return e&&e.__esModule?e:{default:e}}function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;tn.default.createElement(a.Box,u({className:(0,o.default)(c,"mm-icon",`mm-icon--size-${t}`),ref:d,as:"span",display:i.Display.InlineBlock,color:r,style:{maskImage:`url('./images/icons/${String(e)}.svg')`,WebkitMaskImage:`url('./images/icons/${String(e)}.svg')`,...l}},f))))}}},{package:"$root$",file:"ui/components/component-library/icon/icon.tsx"}]],[],{}); \ No newline at end of file diff --git a/contracts/test/e2e/metamask-flask-unpacked/common-8.js b/contracts/test/e2e/metamask-flask-unpacked/common-8.js index 9142a71..e2fad1f 100644 --- a/contracts/test/e2e/metamask-flask-unpacked/common-8.js +++ b/contracts/test/e2e/metamask-flask-unpacked/common-8.js @@ -1 +1 @@ -LavaPack.loadBundle([[4953,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.IconSize=r.IconName=void 0;r.IconSize=function(e){return e.Xs="xs",e.Sm="sm",e.Md="md",e.Lg="lg",e.Xl="xl",e.Inherit="inherit",e}({}),r.IconName=function(e){return e.AddSquare="add-square",e.Add="add",e.Arrow2Down="arrow-2-down",e.Arrow2Left="arrow-2-left",e.Arrow2Right="arrow-2-right",e.Arrow2Up="arrow-2-up",e.Arrow2UpRight="arrow-2-up-right",e.ArrowDoubleLeft="arrow-double-left",e.ArrowDoubleRight="arrow-double-right",e.ArrowDown="arrow-down",e.ArrowLeft="arrow-left",e.ArrowRight="arrow-right",e.ArrowUp="arrow-up",e.BankToken="bank-token",e.Bank="bank",e.Book="book",e.Bookmark="bookmark",e.Bridge="bridge",e.Calculator="calculator",e.CardPos="card-pos",e.CardToken="card-token",e.Card="card",e.Category="category",e.Chart="chart",e.CheckBold="check-bold",e.Check="check",e.Clock="clock",e.Close="close",e.CodeCircle="code-circle",e.Coin="coin",e.Confirmation="confirmation",e.Connect="connect",e.CopySuccess="copy-success",e.Copy="copy",e.Danger="danger",e.Dark="dark",e.Data="data",e.Diagram="diagram",e.DocumentCode="document-code",e.DragDrop="drag-drop",e.DraggingAnimation="dragging-animation",e.PinningAnimation="pinning-animation",e.Edit="edit",e.Eraser="eraser",e.Ethereum="ethereum",e.Expand="expand",e.Explore="explore",e.Export="export",e.EyeSlash="eye-slash",e.Eye="eye",e.Filter="filter",e.Flag="flag",e.FlashSlash="flash-slash",e.Flash="flash",e.FullCircle="full-circle",e.Gas="gas",e.GlobalSearch="global-search",e.Global="global",e.Graph="graph",e.Hardware="hardware",e.Heart="heart",e.Hierarchy="hierarchy",e.Home="home",e.Import="import",e.Info="info",e.Key="key",e.Light="light",e.Link="link",e.Loading="loading",e.LockCircle="lock-circle",e.LockSlash="lock-slash",e.Lock="lock",e.Login="login",e.Logout="logout",e.Menu="menu",e.MessageQuestion="message-question",e.Messages="messages",e.MinusBold="minus-bold",e.MinusSquare="minus-square",e.Minus="minus",e.Mobile="mobile",e.Money="money",e.Monitor="monitor",e.MoreHorizontal="more-horizontal",e.MoreVertical="more-vertical",e.NotificationCircle="notification-circle",e.Notification="notification",e.PasswordCheck="password-check",e.People="people",e.Pin="pin",e.ProgrammingArrows="programming-arrows",e.Custody="custody",e.Question="question",e.Received="received",e.Refresh="refresh",e.Save="save",e.ScanBarcode="scan-barcode",e.ScanFocus="scan-focus",e.Scan="scan",e.Scroll="scroll",e.Search="search",e.SecurityCard="security-card",e.SecurityCross="security-cross",e.SecurityKey="security-key",e.SecuritySearch="security-search",e.SecuritySlash="security-slash",e.SecurityTick="security-tick",e.SecurityTime="security-time",e.SecurityUser="security-user",e.Security="security",e.Send1="send-1",e.Send2="send-2",e.Setting="setting",e.Slash="slash",e.SnapsMobile="snaps-mobile",e.SnapsPlus="snaps-plus",e.Snaps="snaps",e.Speedometer="speedometer",e.Star="star",e.Stake="stake",e.Student="student",e.SwapHorizontal="swap-horizontal",e.SwapVertical="swap-vertical",e.Tag="tag",e.Tilde="tilde",e.Timer="timer",e.Trash="trash",e.TrendDown="trend-down",e.TrendUp="trend-up",e.UserCircleAdd="user-circle-add",e.UserCircleLink="user-circle-link",e.UserCircleRemove="user-circle-remove",e.UserCircle="user-circle",e.User="user",e.WalletCard="wallet-card",e.WalletMoney="wallet-money",e.Wallet="wallet",e.Warning="warning",e.Twitter="twitter",e.QrCode="qr-code",e.UserCheck="user-check",e.Unpin="unpin",e.Ban="ban",e.Bold="bold",e.CircleX="circle-x",e.Download="download",e.FileIcon="file",e.Flask="flask",e.Plug="plug",e.Share="share",e.Square="square",e.Tint="tint",e.Upload="upload",e.Usb="usb",e.Wifi="wifi",e.PlusMinus="plus-minus",e}({})}}},{package:"$root$",file:"ui/components/component-library/icon/icon.types.ts"}],[4954,{"./icon":4952,"./icon.types":4953},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"Icon",{enumerable:!0,get:function(){return n.Icon}}),Object.defineProperty(r,"IconName",{enumerable:!0,get:function(){return o.IconName}}),Object.defineProperty(r,"IconSize",{enumerable:!0,get:function(){return o.IconSize}});var n=e("./icon"),o=e("./icon.types")}}},{package:"$root$",file:"ui/components/component-library/icon/index.ts"}],[4955,{"./avatar-account":4890,"./avatar-base":4893,"./avatar-favicon":4896,"./avatar-icon":4899,"./avatar-network":4902,"./avatar-token":4905,"./badge-wrapper":4908,"./banner-alert":4911,"./banner-base":4913,"./banner-tip":4916,"./box":4918,"./button":4936,"./button-base":4921,"./button-icon":4924,"./button-link":4927,"./button-primary":4930,"./button-secondary":4933,"./checkbox":4938,"./container":4941,"./form-text-field":4946,"./header-base":4948,"./help-text":4951,"./icon":4954,"./input":4956,"./label":4959,"./modal":4978,"./modal-body":4961,"./modal-content":4965,"./modal-focus":4968,"./modal-footer":4970,"./modal-header":4974,"./modal-overlay":4976,"./picker-network":4981,"./popover":4985,"./popover-header":4983,"./select-button":4988,"./select-option":4991,"./select-wrapper":4993,"./tag":4998,"./tag-url":4996,"./text":5008,"./text-field":5005,"./text-field-search":5002},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"AvatarAccount",{enumerable:!0,get:function(){return n.AvatarAccount}}),Object.defineProperty(r,"AvatarAccountDiameter",{enumerable:!0,get:function(){return n.AvatarAccountDiameter}}),Object.defineProperty(r,"AvatarAccountSize",{enumerable:!0,get:function(){return n.AvatarAccountSize}}),Object.defineProperty(r,"AvatarAccountVariant",{enumerable:!0,get:function(){return n.AvatarAccountVariant}}),Object.defineProperty(r,"AvatarBase",{enumerable:!0,get:function(){return c.AvatarBase}}),Object.defineProperty(r,"AvatarBaseSize",{enumerable:!0,get:function(){return c.AvatarBaseSize}}),Object.defineProperty(r,"AvatarFavicon",{enumerable:!0,get:function(){return o.AvatarFavicon}}),Object.defineProperty(r,"AvatarFaviconSize",{enumerable:!0,get:function(){return o.AvatarFaviconSize}}),Object.defineProperty(r,"AvatarIcon",{enumerable:!0,get:function(){return a.AvatarIcon}}),Object.defineProperty(r,"AvatarIconSize",{enumerable:!0,get:function(){return a.AvatarIconSize}}),Object.defineProperty(r,"AvatarNetwork",{enumerable:!0,get:function(){return s.AvatarNetwork}}),Object.defineProperty(r,"AvatarNetworkSize",{enumerable:!0,get:function(){return s.AvatarNetworkSize}}),Object.defineProperty(r,"AvatarToken",{enumerable:!0,get:function(){return i.AvatarToken}}),Object.defineProperty(r,"AvatarTokenSize",{enumerable:!0,get:function(){return i.AvatarTokenSize}}),Object.defineProperty(r,"BUTTON_SIZES",{enumerable:!0,get:function(){return d.BUTTON_SIZES}}),Object.defineProperty(r,"BUTTON_VARIANT",{enumerable:!0,get:function(){return d.BUTTON_VARIANT}}),Object.defineProperty(r,"BadgeWrapper",{enumerable:!0,get:function(){return u.BadgeWrapper}}),Object.defineProperty(r,"BadgeWrapperAnchorElementShape",{enumerable:!0,get:function(){return u.BadgeWrapperAnchorElementShape}}),Object.defineProperty(r,"BadgeWrapperPosition",{enumerable:!0,get:function(){return u.BadgeWrapperPosition}}),Object.defineProperty(r,"BannerAlert",{enumerable:!0,get:function(){return F.BannerAlert}}),Object.defineProperty(r,"BannerAlertSeverity",{enumerable:!0,get:function(){return F.BannerAlertSeverity}}),Object.defineProperty(r,"BannerBase",{enumerable:!0,get:function(){return D.BannerBase}}),Object.defineProperty(r,"BannerTip",{enumerable:!0,get:function(){return U.BannerTip}}),Object.defineProperty(r,"BannerTipLogoType",{enumerable:!0,get:function(){return U.BannerTipLogoType}}),Object.defineProperty(r,"Box",{enumerable:!0,get:function(){return l.Box}}),Object.defineProperty(r,"Button",{enumerable:!0,get:function(){return d.Button}}),Object.defineProperty(r,"ButtonBase",{enumerable:!0,get:function(){return p.ButtonBase}}),Object.defineProperty(r,"ButtonBaseSize",{enumerable:!0,get:function(){return p.ButtonBaseSize}}),Object.defineProperty(r,"ButtonIcon",{enumerable:!0,get:function(){return f.ButtonIcon}}),Object.defineProperty(r,"ButtonIconSize",{enumerable:!0,get:function(){return f.ButtonIconSize}}),Object.defineProperty(r,"ButtonLink",{enumerable:!0,get:function(){return h.ButtonLink}}),Object.defineProperty(r,"ButtonLinkSize",{enumerable:!0,get:function(){return h.ButtonLinkSize}}),Object.defineProperty(r,"ButtonPrimary",{enumerable:!0,get:function(){return m.ButtonPrimary}}),Object.defineProperty(r,"ButtonPrimarySize",{enumerable:!0,get:function(){return m.ButtonPrimarySize}}),Object.defineProperty(r,"ButtonSecondary",{enumerable:!0,get:function(){return g.ButtonSecondary}}),Object.defineProperty(r,"ButtonSecondarySize",{enumerable:!0,get:function(){return g.ButtonSecondarySize}}),Object.defineProperty(r,"ButtonSize",{enumerable:!0,get:function(){return d.ButtonSize}}),Object.defineProperty(r,"ButtonVariant",{enumerable:!0,get:function(){return d.ButtonVariant}}),Object.defineProperty(r,"Checkbox",{enumerable:!0,get:function(){return v.Checkbox}}),Object.defineProperty(r,"Container",{enumerable:!0,get:function(){return y.Container}}),Object.defineProperty(r,"ContainerMaxWidth",{enumerable:!0,get:function(){return y.ContainerMaxWidth}}),Object.defineProperty(r,"FormTextField",{enumerable:!0,get:function(){return T.FormTextField}}),Object.defineProperty(r,"FormTextFieldSize",{enumerable:!0,get:function(){return T.FormTextFieldSize}}),Object.defineProperty(r,"HeaderBase",{enumerable:!0,get:function(){return b.HeaderBase}}),Object.defineProperty(r,"HelpText",{enumerable:!0,get:function(){return _.HelpText}}),Object.defineProperty(r,"HelpTextSeverity",{enumerable:!0,get:function(){return _.HelpTextSeverity}}),Object.defineProperty(r,"Icon",{enumerable:!0,get:function(){return w.Icon}}),Object.defineProperty(r,"IconName",{enumerable:!0,get:function(){return w.IconName}}),Object.defineProperty(r,"IconSize",{enumerable:!0,get:function(){return w.IconSize}}),Object.defineProperty(r,"Input",{enumerable:!0,get:function(){return P.Input}}),Object.defineProperty(r,"InputType",{enumerable:!0,get:function(){return P.InputType}}),Object.defineProperty(r,"InvisibleCharacter",{enumerable:!0,get:function(){return O.InvisibleCharacter}}),Object.defineProperty(r,"Label",{enumerable:!0,get:function(){return E.Label}}),Object.defineProperty(r,"Modal",{enumerable:!0,get:function(){return j.Modal}}),Object.defineProperty(r,"ModalBody",{enumerable:!0,get:function(){return M.ModalBody}}),Object.defineProperty(r,"ModalContent",{enumerable:!0,get:function(){return R.ModalContent}}),Object.defineProperty(r,"ModalContentSize",{enumerable:!0,get:function(){return R.ModalContentSize}}),Object.defineProperty(r,"ModalFocus",{enumerable:!0,get:function(){return x.ModalFocus}}),Object.defineProperty(r,"ModalFooter",{enumerable:!0,get:function(){return L.ModalFooter}}),Object.defineProperty(r,"ModalHeader",{enumerable:!0,get:function(){return H.ModalHeader}}),Object.defineProperty(r,"ModalOverlay",{enumerable:!0,get:function(){return C.ModalOverlay}}),Object.defineProperty(r,"PickerNetwork",{enumerable:!0,get:function(){return S.PickerNetwork}}),Object.defineProperty(r,"Popover",{enumerable:!0,get:function(){return G.Popover}}),Object.defineProperty(r,"PopoverHeader",{enumerable:!0,get:function(){return B.PopoverHeader}}),Object.defineProperty(r,"PopoverPosition",{enumerable:!0,get:function(){return G.PopoverPosition}}),Object.defineProperty(r,"PopoverRole",{enumerable:!0,get:function(){return G.PopoverRole}}),Object.defineProperty(r,"SelectButton",{enumerable:!0,get:function(){return W.SelectButton}}),Object.defineProperty(r,"SelectButtonSize",{enumerable:!0,get:function(){return W.SelectButtonSize}}),Object.defineProperty(r,"SelectContext",{enumerable:!0,get:function(){return V.SelectContext}}),Object.defineProperty(r,"SelectOption",{enumerable:!0,get:function(){return $.SelectOption}}),Object.defineProperty(r,"SelectWrapper",{enumerable:!0,get:function(){return V.SelectWrapper}}),Object.defineProperty(r,"Tag",{enumerable:!0,get:function(){return A.Tag}}),Object.defineProperty(r,"TagUrl",{enumerable:!0,get:function(){return k.TagUrl}}),Object.defineProperty(r,"Text",{enumerable:!0,get:function(){return O.Text}}),Object.defineProperty(r,"TextDirection",{enumerable:!0,get:function(){return O.TextDirection}}),Object.defineProperty(r,"TextField",{enumerable:!0,get:function(){return N.TextField}}),Object.defineProperty(r,"TextFieldSearch",{enumerable:!0,get:function(){return I.TextFieldSearch}}),Object.defineProperty(r,"TextFieldSearchSize",{enumerable:!0,get:function(){return I.TextFieldSearchSize}}),Object.defineProperty(r,"TextFieldSize",{enumerable:!0,get:function(){return N.TextFieldSize}}),Object.defineProperty(r,"TextFieldType",{enumerable:!0,get:function(){return N.TextFieldType}}),Object.defineProperty(r,"ValidTag",{enumerable:!0,get:function(){return O.ValidTag}}),Object.defineProperty(r,"useModalContext",{enumerable:!0,get:function(){return j.useModalContext}}),Object.defineProperty(r,"useSelectContext",{enumerable:!0,get:function(){return V.useSelectContext}});var n=e("./avatar-account"),o=e("./avatar-favicon"),a=e("./avatar-icon"),s=e("./avatar-network"),i=e("./avatar-token"),c=e("./avatar-base"),u=e("./badge-wrapper"),l=e("./box"),d=e("./button"),p=e("./button-base"),f=e("./button-icon"),h=e("./button-link"),m=e("./button-primary"),g=e("./button-secondary"),v=e("./checkbox"),y=e("./container"),T=e("./form-text-field"),b=e("./header-base"),_=e("./help-text"),w=e("./icon"),E=e("./label"),S=e("./picker-network"),A=e("./tag"),k=e("./tag-url"),O=e("./text"),P=e("./input"),N=e("./text-field"),I=e("./text-field-search"),R=e("./modal-content"),C=e("./modal-overlay"),x=e("./modal-focus"),j=e("./modal"),M=e("./modal-body"),L=e("./modal-footer"),D=e("./banner-base"),F=e("./banner-alert"),U=e("./banner-tip"),B=e("./popover-header"),G=e("./popover"),H=e("./modal-header"),W=e("./select-button"),$=e("./select-option"),V=e("./select-wrapper")}}},{package:"$root$",file:"ui/components/component-library/index.ts"}],[4956,{"./input":4957,"./input.types":4958},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"Input",{enumerable:!0,get:function(){return n.Input}}),Object.defineProperty(r,"InputType",{enumerable:!0,get:function(){return o.InputType}});var n=e("./input"),o=e("./input.types")}}},{package:"$root$",file:"ui/components/component-library/input/index.ts"}],[4957,{"../../../helpers/constants/design-system":5355,"../text":5008,"./input.types":4958,classnames:3049,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.Input=void 0;var n=c(e("react")),o=c(e("classnames")),a=e("../../../helpers/constants/design-system"),s=e("../text"),i=e("./input.types");function c(e){return e&&e.__esModule?e:{default:e}}function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;tn.default.createElement(s.Text,u({className:(0,o.default)("mm-input",{"mm-input--disable-state-styles":Boolean(S),"mm-input--disabled":Boolean(l)&&Boolean(S)},r)},d&&{"aria-invalid":d},{as:"input",autoComplete:e?"on":"off",autoFocus:t,backgroundColor:a.BackgroundColor.transparent,borderStyle:a.BorderStyle.none,defaultValue:c,disabled:l,id:p,margin:0,maxLength:f,name:h,onBlur:m,onChange:g,onFocus:v,padding:0,placeholder:y,readOnly:T,ref:k,required:b,value:w,variant:E,type:_},A))))}}},{package:"$root$",file:"ui/components/component-library/input/input.tsx"}],[4958,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.InputType=void 0;r.InputType=function(e){return e.Text="text",e.Number="number",e.Password="password",e.Search="search",e}({})}}},{package:"$root$",file:"ui/components/component-library/input/input.types.ts"}],[4959,{"./label":4960},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"Label",{enumerable:!0,get:function(){return n.Label}});var n=e("./label")}}},{package:"$root$",file:"ui/components/component-library/label/index.ts"}],[4960,{"../../../helpers/constants/design-system":5355,"../text":5008,classnames:3049,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.Label=void 0;var n=i(e("react")),o=i(e("classnames")),a=e("../text"),s=e("../../../helpers/constants/design-system");function i(e){return e&&e.__esModule?e:{default:e}}function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;tn.default.createElement(a.Text,c({className:(0,o.default)("mm-label",{"mm-label--html-for":Boolean(e)},t??""),as:"label",htmlFor:e,variant:s.TextVariant.bodyMd,fontWeight:s.FontWeight.Medium,display:s.Display.InlineFlex,alignItems:s.AlignItems.center,ref:u},i),r)))}}},{package:"$root$",file:"ui/components/component-library/label/label.tsx"}],[4961,{"./modal-body":4962},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ModalBody",{enumerable:!0,get:function(){return n.ModalBody}});var n=e("./modal-body")}}},{package:"$root$",file:"ui/components/component-library/modal-body/index.ts"}],[4962,{"..":4955,classnames:3049,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=r.ModalBody=void 0;var n=s(e("react")),o=s(e("classnames")),a=e("..");function s(e){return e&&e.__esModule?e:{default:e}}function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;tn.default.createElement(a.Box,i({className:(0,o.default)("mm-modal-body",e),ref:s,paddingLeft:4,paddingRight:4},r),t)));r.default=c}}},{package:"$root$",file:"ui/components/component-library/modal-body/modal-body.tsx"}],[4965,{"./modal-content":4966,"./modal-content.types":4967},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ModalContent",{enumerable:!0,get:function(){return n.ModalContent}}),Object.defineProperty(r,"ModalContentSize",{enumerable:!0,get:function(){return o.ModalContentSize}});var n=e("./modal-content"),o=e("./modal-content.types")}}},{package:"$root$",file:"ui/components/component-library/modal-content/index.ts"}],[4966,{"..":4955,"../../../helpers/constants/design-system":5355,"./modal-content.types":4967,classnames:3049,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.ModalContent=void 0;var n,o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=u(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=e[a]}return n.default=e,r&&r.set(e,n),n}(e("react")),a=(n=e("classnames"))&&n.__esModule?n:{default:n},s=e("../../../helpers/constants/design-system"),i=e(".."),c=e("./modal-content.types");function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(u=function(e){return e?r:t})(e)}function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const{onClose:p,isClosedOnEscapeKey:f,isClosedOnOutsideClick:h,initialFocusRef:m,finalFocusRef:g,restoreFocus:v,autoFocus:y}=(0,i.useModalContext)(),T=(0,o.useRef)(null),b=e=>{f&&"Escape"===e.key&&p()},_=e=>{h&&e.target.closest(".mm-popover")||h&&null!=T&&T.current&&!T.current.contains(e.target)&&p()};return(0,o.useEffect)((()=>(document.addEventListener("keydown",b),document.addEventListener("mousedown",_),()=>{document.removeEventListener("keydown",b),document.removeEventListener("mousedown",_)})),[]),o.default.createElement(i.ModalFocus,{initialFocusRef:m,finalFocusRef:g,restoreFocus:v,autoFocus:y},o.default.createElement(i.Box,l({className:(0,a.default)("mm-modal-content",e),ref:d,display:s.Display.Flex,width:s.BlockSize.Screen,height:s.BlockSize.Screen,justifyContent:s.JustifyContent.center,alignItems:s.AlignItems.flexStart,paddingRight:4,paddingLeft:4,paddingTop:[4,8,12],paddingBottom:[4,8,12]},u),o.default.createElement(i.Box,l({as:"section",role:"dialog","aria-modal":"true",backgroundColor:s.BackgroundColor.backgroundDefault,borderRadius:s.BorderRadius.LG,width:s.BlockSize.Full,display:s.Display.Flex,flexDirection:s.FlexDirection.Column,paddingTop:4,paddingBottom:4,ref:T},n,{className:(0,a.default)("mm-modal-content__dialog",`mm-modal-content__dialog--size-${r}`,null==n?void 0:n.className)}),t)))}))}}},{package:"$root$",file:"ui/components/component-library/modal-content/modal-content.tsx"}],[4967,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.ModalContentSize=void 0;r.ModalContentSize=function(e){return e.Sm="sm",e.Md="md",e.Lg="lg",e}({})}}},{package:"$root$",file:"ui/components/component-library/modal-content/modal-content.types.ts"}],[4968,{"./modal-focus":4969},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ModalFocus",{enumerable:!0,get:function(){return n.ModalFocus}});var n=e("./modal-focus")}}},{package:"$root$",file:"ui/components/component-library/modal-focus/index.ts"}],[4969,{react:4243,"react-focus-lock":4087},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.ModalFocus=void 0;var n,o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=s(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(n,a,i):n[a]=e[a]}return n.default=e,r&&r.set(e,n),n}(e("react")),a=(n=e("react-focus-lock"))&&n.__esModule?n:{default:n};function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(s=function(e){return e?r:t})(e)}function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const u=(0,o.useCallback)((()=>{null!=e&&e.current&&e.current.focus()}),[e]),l=(0,o.useCallback)((()=>{var e;null==t||null===(e=t.current)||void 0===e||e.focus()}),[t]),d=r&&!t;return o.default.createElement(c,i({autoFocus:a,onActivation:u,onDeactivation:l,returnFocus:d},s),n)};r.ModalFocus=u,u.displayName="ModalFocus"}}},{package:"$root$",file:"ui/components/component-library/modal-focus/modal-focus.tsx"}],[4970,{"./modal-footer":4971},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ModalFooter",{enumerable:!0,get:function(){return n.ModalFooter}});var n=e("./modal-footer")}}},{package:"$root$",file:"ui/components/component-library/modal-footer/index.ts"}],[4971,{"..":4955,"../../../helpers/constants/design-system":5355,"../../../hooks/useI18nContext":5427,classnames:3049,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=r.ModalFooter=void 0;var n=c(e("react")),o=c(e("classnames")),a=e("../../../hooks/useI18nContext"),s=e("../../../helpers/constants/design-system"),i=e("..");function c(e){return e&&e.__esModule?e:{default:e}}function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const m=(0,a.useI18nContext)();return n.default.createElement(i.Box,u({className:(0,o.default)("mm-modal-footer",e),ref:h,paddingLeft:4,paddingRight:4,paddingTop:4},f),t,n.default.createElement(i.Container,u({maxWidth:i.ContainerMaxWidth.Sm,display:s.Display.Flex,alignItems:s.AlignItems.center,flexWrap:s.FlexWrap.Wrap,marginLeft:"auto",marginRight:"auto",gap:4},p),d&&n.default.createElement(i.Button,u({onClick:d,children:m("cancel"),variant:i.ButtonVariant.Secondary},l,{size:i.ButtonSize.Lg,className:(0,o.default)("mm-modal-footer__button",(null==l?void 0:l.className)||"")})),c&&n.default.createElement(i.Button,u({size:i.ButtonSize.Lg,onClick:c,children:m("confirm")},r,{className:(0,o.default)("mm-modal-footer__button",(null==r?void 0:r.className)||"")}))))}));r.default=l}}},{package:"$root$",file:"ui/components/component-library/modal-footer/modal-footer.tsx"}],[4974,{"./modal-header":4975},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ModalHeader",{enumerable:!0,get:function(){return n.ModalHeader}});var n=e("./modal-header")}}},{package:"$root$",file:"ui/components/component-library/modal-header/index.ts"}],[4975,{"..":4955,"../../../helpers/constants/design-system":5355,"../../../hooks/useI18nContext":5427,classnames:3049,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.ModalHeader=void 0;var n=c(e("react")),o=c(e("classnames")),a=e(".."),s=e("../../../helpers/constants/design-system"),i=e("../../../hooks/useI18nContext");function c(e){return e&&e.__esModule?e:{default:e}}function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const m=(0,i.useI18nContext)();return n.default.createElement(a.HeaderBase,u({className:(0,o.default)("mm-modal-header",t),as:"header",paddingLeft:4,paddingRight:4,paddingBottom:4,childrenWrapperProps:{width:s.BlockSize.Full},startAccessory:r||p&&n.default.createElement(a.ButtonIcon,u({iconName:a.IconName.ArrowLeft,ariaLabel:m("back"),size:a.ButtonIconSize.Sm,onClick:p},f)),endAccessory:c||l&&n.default.createElement(a.ButtonIcon,u({iconName:a.IconName.Close,ariaLabel:m("close"),size:a.ButtonIconSize.Sm,onClick:l},d))},h),"string"==typeof e?n.default.createElement(a.Text,{variant:s.TextVariant.headingSm,textAlign:s.TextAlign.Center},e):e)}}}},{package:"$root$",file:"ui/components/component-library/modal-header/modal-header.tsx"}],[4976,{"./modal-overlay":4977},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ModalOverlay",{enumerable:!0,get:function(){return n.ModalOverlay}});var n=e("./modal-overlay")}}},{package:"$root$",file:"ui/components/component-library/modal-overlay/index.ts"}],[4977,{"../../../helpers/constants/design-system":5355,"../box":4918,classnames:3049,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=r.ModalOverlay=void 0;var n=i(e("react")),o=i(e("classnames")),a=e("../../../helpers/constants/design-system"),s=e("../box");function i(e){return e&&e.__esModule?e:{default:e}}function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;tn.default.createElement(s.Box,c({className:(0,o.default)("mm-modal-overlay",t),ref:i,backgroundColor:a.BackgroundColor.overlayDefault,width:a.BlockSize.Full,height:a.BlockSize.Full,onClick:e,"aria-hidden":"true"},r))));r.default=u}}},{package:"$root$",file:"ui/components/component-library/modal-overlay/modal-overlay.tsx"}],[4978,{"./modal":4980,"./modal.context":4979},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"Modal",{enumerable:!0,get:function(){return n.Modal}}),Object.defineProperty(r,"useModalContext",{enumerable:!0,get:function(){return o.useModalContext}});var n=e("./modal"),o=e("./modal.context")}}},{package:"$root$",file:"ui/components/component-library/modal/index.ts"}],[4979,{react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.useModalContext=r.ModalContext=void 0;var n=e("react");const o=r.ModalContext=(0,n.createContext)(undefined);r.useModalContext=()=>{const e=(0,n.useContext)(o);if(!e)throw new Error('useModalContext must be used within a ModalProvider, Seems you forgot to wrap the components in ""');return e}}}},{package:"$root$",file:"ui/components/component-library/modal/modal.context.ts"}],[4980,{"./modal.context":4979,classnames:3049,react:4243,"react-dom":4074},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=r.Modal=void 0;var n=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=c(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=e[a]}return n.default=e,r&&r.set(e,n),n}(e("react")),o=i(e("react-dom")),a=i(e("classnames")),s=e("./modal.context");function i(e){return e&&e.__esModule?e:{default:e}}function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(c=function(e){return e?r:t})(e)}function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const v={isOpen:t,onClose:r,isClosedOnOutsideClick:c,isClosedOnEscapeKey:l,autoFocus:d,initialFocusRef:p,finalFocusRef:f,restoreFocus:h};return t?o.default.createPortal(n.default.createElement(s.ModalContext.Provider,{value:v},n.default.createElement("div",u({className:(0,a.default)("mm-modal",e),ref:g},m),i)),document.body):null}));r.default=l}}},{package:"$root$",file:"ui/components/component-library/modal/modal.tsx"}],[4981,{"./picker-network":4982},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"PickerNetwork",{enumerable:!0,get:function(){return n.PickerNetwork}});var n=e("./picker-network")}}},{package:"$root$",file:"ui/components/component-library/picker-network/index.ts"}],[4982,{"..":4955,"../../../helpers/constants/design-system":5355,classnames:3049,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.PickerNetwork=void 0;var n=i(e("react")),o=i(e("classnames")),a=e("../../../helpers/constants/design-system"),s=e("..");function i(e){return e&&e.__esModule?e:{default:e}}function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;tn.default.createElement(s.Box,c({className:(0,o.default)("mm-picker-network",e),ref:p,as:"button",backgroundColor:a.BackgroundColor.backgroundAlternative,alignItems:a.AlignItems.center,paddingLeft:2,paddingRight:4,gap:2,borderRadius:a.BorderRadius.pill,display:a.Display.Flex},d),n.default.createElement(s.AvatarNetwork,c({className:"mm-picker-network__avatar-network",src:l,name:i,size:s.AvatarNetworkSize.Xs},t)),n.default.createElement(s.Text,c({as:"span",ellipsis:!0,variant:a.TextVariant.bodySm},u),i),n.default.createElement(s.Icon,c({className:"mm-picker-network__arrow-down-icon",name:s.IconName.ArrowDown,color:a.IconColor.iconDefault,size:s.IconSize.Xs,marginLeft:"auto"},r)))))}}},{package:"$root$",file:"ui/components/component-library/picker-network/picker-network.tsx"}],[4983,{"./popover-header":4984},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"PopoverHeader",{enumerable:!0,get:function(){return n.PopoverHeader}});var n=e("./popover-header")}}},{package:"$root$",file:"ui/components/component-library/popover-header/index.ts"}],[4984,{"..":4955,"../../../helpers/constants/design-system":5355,"../../../hooks/useI18nContext":5427,classnames:3049,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.PopoverHeader=void 0;var n=c(e("react")),o=c(e("classnames")),a=e(".."),s=e("../../../helpers/constants/design-system"),i=e("../../../hooks/useI18nContext");function c(e){return e&&e.__esModule?e:{default:e}}function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const m=(0,i.useI18nContext)();return n.default.createElement(a.HeaderBase,u({className:(0,o.default)("mm-popover-header",t),startAccessory:r||p&&n.default.createElement(a.ButtonIcon,u({iconName:a.IconName.ArrowLeft,color:s.IconColor.inherit,ariaLabel:m("back"),size:a.ButtonIconSize.Sm,onClick:p},f)),endAccessory:c||l&&n.default.createElement(a.ButtonIcon,u({iconName:a.IconName.Close,color:s.IconColor.inherit,ariaLabel:m("close"),size:a.ButtonIconSize.Sm,onClick:l},d))},h),"string"==typeof e?n.default.createElement(a.Text,{variant:s.TextVariant.headingSm,textAlign:s.TextAlign.Center,color:s.TextColor.inherit},e):e)}}}},{package:"$root$",file:"ui/components/component-library/popover-header/popover-header.tsx"}],[4985,{"./popover":4986,"./popover.types":4987},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"Popover",{enumerable:!0,get:function(){return n.Popover}}),Object.defineProperty(r,"PopoverPosition",{enumerable:!0,get:function(){return o.PopoverPosition}}),Object.defineProperty(r,"PopoverRole",{enumerable:!0,get:function(){return o.PopoverRole}});var n=e("./popover"),o=e("./popover.types")}}},{package:"$root$",file:"ui/components/component-library/popover/index.ts"}],[4986,{"..":4955,"../../../helpers/constants/design-system":5355,"./popover.types":4987,classnames:3049,react:4243,"react-dom":4074,"react-popper":4181},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.Popover=void 0;var n,o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=d(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=e[a]}return n.default=e,r&&r.set(e,n),n}(e("react")),a=e("react-dom"),s=e("react-popper"),i=(n=e("classnames"))&&n.__esModule?n:{default:n},c=e("../../../helpers/constants/design-system"),u=e(".."),l=e("./popover.types");function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(d=function(e){return e?r:t})(e)}function p(){return p=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const[O,P]=(0,o.useState)(null),[N,I]=(0,o.useState)(null),R=o.default.useRef(null),{styles:C,attributes:x}=(0,s.usePopper)(y,O,{placement:r,modifiers:[{name:"preventOverflow",enabled:r===l.PopoverPosition.Auto||h},{name:"flip",enabled:r===l.PopoverPosition.Auto||g},{name:"arrow",enabled:d,options:{element:N}},{name:"offset",options:{offset:m}}]}),j={width:f?null==y?void 0:y.clientWidth:"auto"},M=e=>{"Escape"===e.key&&S&&S()},L=e=>{T&&R.current&&!R.current.contains(e.target)&&E&&E()};(0,o.useEffect)((()=>(document.addEventListener("keydown",M),T?document.addEventListener("click",L):document.removeEventListener("click",L),()=>{document.removeEventListener("keydown",M),document.removeEventListener("click",L)})),[S,T,E]);const D=o.default.createElement(u.Box,p({borderColor:c.BorderColor.borderMuted,borderRadius:c.BorderRadius.LG,backgroundColor:c.BackgroundColor.backgroundDefault,padding:4,role:n,className:(0,i.default)("mm-popover",{"mm-popover--open":Boolean(T),"mm-popover--reference-hidden":Boolean(v)},t),ref:e=>{k&&("function"==typeof k?k(e):k.current=e),P(e),R.current=e}},x.popper,A,{style:{...C.popper,...j,...A.style}}),e,d&&o.default.createElement(u.Box,p({borderColor:c.BorderColor.borderMuted,className:(0,i.default)("mm-popover__arrow"),ref:I,display:c.Display.Flex,justifyContent:c.JustifyContent.center,alignItems:c.AlignItems.center,style:C.arrow},x.arrow,w)));return o.default.createElement(o.default.Fragment,null,_?T&&(0,a.createPortal)(D,document.body):T&&D)}))}}},{package:"$root$",file:"ui/components/component-library/popover/popover.tsx"}],[4987,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.PopoverRole=r.PopoverPosition=void 0;r.PopoverPosition=function(e){return e.Auto="auto",e.Top="top",e.TopStart="top-start",e.TopEnd="top-end",e.Right="right",e.RightStart="right-start",e.RightEnd="right-end",e.Bottom="bottom",e.BottomStart="bottom-start",e.BottomEnd="bottom-end",e.Left="left",e.LeftStart="left-start",e.LeftEnd="left-end",e}({}),r.PopoverRole=function(e){return e.Tooltip="tooltip",e.Dialog="dialog",e}({})}}},{package:"$root$",file:"ui/components/component-library/popover/popover.types.ts"}],[4988,{"./select-button":4989,"./select-button.types":4990},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"SelectButton",{enumerable:!0,get:function(){return n.SelectButton}}),Object.defineProperty(r,"SelectButtonSize",{enumerable:!0,get:function(){return o.SelectButtonSize}});var n=e("./select-button"),o=e("./select-button.types")}}},{package:"$root$",file:"ui/components/component-library/select-button/index.ts"}],[4989,{"..":4955,"../../../helpers/constants/design-system":5355,"../select-wrapper":4993,"./select-button.types":4990,classnames:3049,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.SelectButton=void 0;var n,o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=l(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=e[a]}return n.default=e,r&&r.set(e,n),n}(e("react")),a=(n=e("classnames"))&&n.__esModule?n:{default:n},s=e("../select-wrapper"),i=e(".."),c=e("../../../helpers/constants/design-system"),u=e("./select-button.types");function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(l=function(e){return e?r:t})(e)}function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const O=(0,o.useContext)(s.SelectContext),P=Boolean(O),{isOpen:N=!1,isUncontrolledOpen:I=!1,toggleUncontrolledOpen:R,isDanger:C=!1,isDisabled:x=!1,value:j="",uncontrolledValue:M="",defaultValue:L="",placeholder:D=""}=O||{},F=w||E||j||M||S||L||t||D||r;let U=v,B=T,G=m,H=g;const W=(e=>"object"==typeof e&&null!==e&&e.constructor===Object&&!o.default.isValidElement(e))(F);W&&(F.label&&(U=F.label),F.description&&(B=F.description),F.startAccessory&&(G=F.startAccessory),F.endAccessory&&(H=F.endAccessory));const $=()=>{switch(n){case u.SelectButtonSize.Sm:return 1;case u.SelectButtonSize.Md:return 2;case u.SelectButtonSize.Lg:return 3;default:return 1}};return o.default.createElement(i.Text,d({className:(0,a.default)("mm-select-button",{"mm-select-button--type-danger":Boolean(C)||Boolean(p),"mm-select-button--disabled":Boolean(x)||Boolean(f),"mm-select-button--block":Boolean(l),"mm-select-button--open":Boolean(N)||Boolean(I),[`mm-select-button--size-${n}`]:Object.values(u.SelectButtonSize).includes(n)},e),ref:k,disabled:x||f||h,as:"button",onClick:P?R:undefined,borderColor:c.BorderColor.borderDefault,borderRadius:c.BorderRadius.MD,backgroundColor:c.BackgroundColor.backgroundDefault,paddingTop:$(),paddingBottom:$(),paddingLeft:4,paddingRight:4,display:c.Display.Flex,height:c.BlockSize.Full,width:l&&c.BlockSize.Full,alignItems:c.AlignItems.center,justifyContent:c.JustifyContent.spaceBetween,gap:2},A),G,o.default.createElement(i.Box,{as:"span",display:c.Display.Flex,flexDirection:c.FlexDirection.Column,width:c.BlockSize.Full,className:"mm-select-button__content"},U&&o.default.createElement(i.Label,null,U),B&&o.default.createElement(i.Text,d({variant:c.TextVariant.bodySm,color:c.TextColor.textAlternative,ellipsis:!0},b),B),!W&&F),H,o.default.createElement(i.Icon,d({name:i.IconName.ArrowDown,size:n===u.SelectButtonSize.Sm?i.IconSize.Xs:i.IconSize.Sm},_)))}))}}},{package:"$root$",file:"ui/components/component-library/select-button/select-button.tsx"}],[4990,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.SelectButtonSize=void 0;r.SelectButtonSize=function(e){return e.Sm="sm",e.Md="md",e.Lg="lg",e}({})}}},{package:"$root$",file:"ui/components/component-library/select-button/select-button.types.ts"}],[4991,{"./select-option":4992},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"SelectOption",{enumerable:!0,get:function(){return n.SelectOption}});var n=e("./select-option")}}},{package:"$root$",file:"ui/components/component-library/select-option/index.ts"}],[4992,{"..":4955,"../../../helpers/constants/design-system":5355,"../select-wrapper":4993,classnames:3049,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.SelectOption=void 0;var n,o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=u(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=e[a]}return n.default=e,r&&r.set(e,n),n}(e("react")),a=(n=e("classnames"))&&n.__esModule?n:{default:n},s=e(".."),i=e("../select-wrapper"),c=e("../../../helpers/constants/design-system");function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(u=function(e){return e?r:t})(e)}function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const d=(0,o.useContext)(i.SelectContext);if(!d)throw new Error("SelectOption must be used within a SelectWrapper.");const{setUncontrolledValue:p,onValueChange:f,isMultiSelect:h,isOpen:m,onOpenChange:g,toggleUncontrolledOpen:v}=d;return o.default.createElement(s.Box,l({className:(0,a.default)("mm-select-option",e),ref:u,onClick:()=>{f?f(t):p(t),!h&&m?g(!m):h||v()},as:"button",display:c.Display.Block},n),r)}))}}},{package:"$root$",file:"ui/components/component-library/select-option/select-option.tsx"}],[4993,{"./select-wrapper":4995,"./select-wrapper.context":4994},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"SelectContext",{enumerable:!0,get:function(){return o.SelectContext}}),Object.defineProperty(r,"SelectWrapper",{enumerable:!0,get:function(){return n.SelectWrapper}}),Object.defineProperty(r,"useSelectContext",{enumerable:!0,get:function(){return o.useSelectContext}});var n=e("./select-wrapper"),o=e("./select-wrapper.context")}}},{package:"$root$",file:"ui/components/component-library/select-wrapper/index.ts"}],[4994,{react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.useSelectContext=r.SelectContext=void 0;var n=e("react");const o=r.SelectContext=(0,n.createContext)(undefined);r.useSelectContext=()=>{const e=(0,n.useContext)(o);if(!e)throw new Error("useSelectContext must be used within a SelectWrapper");return e}}}},{package:"$root$",file:"ui/components/component-library/select-wrapper/select-wrapper.context.ts"}],[4995,{"..":4955,"./select-wrapper.context":4994,classnames:3049,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.SelectWrapper=void 0;var n,o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=c(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=e[a]}return n.default=e,r&&r.set(e,n),n}(e("react")),a=(n=e("classnames"))&&n.__esModule?n:{default:n},s=e(".."),i=e("./select-wrapper.context");function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(c=function(e){return e?r:t})(e)}function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const[_,w]=(0,o.useState)(),[E,S]=(0,o.useState)(!1),[A,k]=(0,o.useState)(),O=(0,o.useRef)(null),P=(0,o.useRef)(null);return o.default.createElement(i.SelectContext.Provider,{value:{isOpen:p,onOpenChange:f,isUncontrolledOpen:E,setIsUncontrolledOpen:S,toggleUncontrolledOpen:()=>{E&&y&&y(),S(!E)},isDisabled:d,isDanger:l,defaultValue:t,value:r,onValueChange:n,uncontrolledValue:_,setUncontrolledValue:w,placeholder:c,isMultiSelect:h}},o.default.createElement(s.Box,u({className:(0,a.default)("mm-select-wrapper",e),ref:P&&b},T),m&&o.default.cloneElement(m,{ref:e=>{k(e)}}),o.default.createElement(s.Popover,u({isOpen:p||E,position:s.PopoverPosition.Bottom,onClickOutside:()=>{S(!1),f&&f(!1),y&&y()},matchWidth:!0,referenceElement:A,referenceHidden:!1,padding:0,ref:O},g,{className:(0,a.default)("mm-select-wrapper__popover",(null==g?void 0:g.className)||"")}),v)))}))}}},{package:"$root$",file:"ui/components/component-library/select-wrapper/select-wrapper.tsx"}],[4996,{"./tag-url":4997},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"TagUrl",{enumerable:!0,get:function(){return n.TagUrl}});var n=e("./tag-url")}}},{package:"$root$",file:"ui/components/component-library/tag-url/index.ts"}],[4997,{"..":4955,"../../../helpers/constants/design-system":5355,classnames:3049,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.TagUrl=void 0;var n=i(e("react")),o=i(e("classnames")),a=e("../../../helpers/constants/design-system"),s=e("..");function i(e){return e&&e.__esModule?e:{default:e}}function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;tn.default.createElement(s.Box,c({className:(0,o.default)("mm-tag-url",f),ref:m,backgroundColor:a.BackgroundColor.backgroundDefault,borderColor:a.BorderColor.borderDefault,borderWidth:1,alignItems:a.AlignItems.center,paddingLeft:2,paddingRight:4,gap:2,borderRadius:a.BorderRadius.pill,display:a.Display.Flex},h),n.default.createElement(s.AvatarFavicon,c({src:u,name:e},d)),l&&n.default.createElement(s.Icon,c({className:"mm-tag-url__lock-icon",name:s.IconName.Lock,color:a.IconColor.iconAlternative,size:s.IconSize.Sm,"aria-label":"https://",role:"img"},p)),n.default.createElement(s.Text,c({variant:a.TextVariant.bodyMd,ellipsis:!0},t),e),r&&n.default.createElement(s.ButtonLink,c({as:"a",size:s.ButtonLinkSize.Sm,paddingLeft:0,paddingRight:0,marginLeft:2,marginRight:2},i),r))))}}},{package:"$root$",file:"ui/components/component-library/tag-url/tag-url.tsx"}],[4998,{"./tag":4999},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"Tag",{enumerable:!0,get:function(){return n.Tag}});var n=e("./tag")}}},{package:"$root$",file:"ui/components/component-library/tag/index.ts"}],[4999,{"..":4955,"../../../helpers/constants/design-system":5355,classnames:3049,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.Tag=void 0;var n=i(e("react")),o=i(e("classnames")),a=e(".."),s=e("../../../helpers/constants/design-system");function i(e){return e&&e.__esModule?e:{default:e}}function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;tn.default.createElement(a.Box,c({ref:d,className:(0,o.default)("mm-tag",t),backgroundColor:s.BackgroundColor.backgroundDefault,borderColor:s.BorderColor.borderDefault,borderWidth:1,alignItems:s.AlignItems.center,paddingLeft:1,paddingRight:1,gap:1,borderRadius:s.BorderRadius.pill,display:s.Display.Flex},l),i?n.default.createElement(a.Icon,c({name:i,size:a.IconSize.Xs},u)):null,n.default.createElement(a.Text,c({variant:s.TextVariant.bodySm},r),e))))}}},{package:"$root$",file:"ui/components/component-library/tag/tag.tsx"}],[5002,{"./text-field-search":5003,"./text-field-search.types":5004},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"TextFieldSearch",{enumerable:!0,get:function(){return n.TextFieldSearch}}),Object.defineProperty(r,"TextFieldSearchSize",{enumerable:!0,get:function(){return o.TextFieldSearchSize}});var n=e("./text-field-search"),o=e("./text-field-search.types")}}},{package:"$root$",file:"ui/components/component-library/text-field-search/index.ts"}],[5003,{"..":4955,"../../../hooks/useI18nContext":5427,classnames:3049,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.TextFieldSearch=void 0;var n=i(e("react")),o=i(e("classnames")),a=e(".."),s=e("../../../hooks/useI18nContext");function i(e){return e&&e.__esModule?e:{default:e}}function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const m=(0,s.useI18nContext)();return n.default.createElement(a.TextField,c({className:(0,o.default)("mm-text-field-search",e),ref:h,value:d,onChange:p,type:a.TextFieldType.Search,endAccessory:d&&t?n.default.createElement(n.default.Fragment,null,n.default.createElement(a.ButtonIcon,c({className:"mm-text-field__button-clear","data-testid":"text-field-search-clear-button",ariaLabel:m("clear"),iconName:a.IconName.Close,size:a.ButtonIconSize.Sm,onClick:r},i)),u):u,startAccessory:n.default.createElement(a.Icon,{name:a.IconName.Search,size:a.IconSize.Sm}),inputProps:{marginRight:t?6:0,...l}},f))}))}}},{package:"$root$",file:"ui/components/component-library/text-field-search/text-field-search.tsx"}],[5004,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.TextFieldSearchSize=void 0;r.TextFieldSearchSize=function(e){return e.Sm="sm",e.Md="md",e.Lg="lg",e}({})}}},{package:"$root$",file:"ui/components/component-library/text-field-search/text-field-search.types.ts"}],[5005,{"./text-field":5006,"./text-field.types":5007},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"TextField",{enumerable:!0,get:function(){return n.TextField}}),Object.defineProperty(r,"TextFieldSize",{enumerable:!0,get:function(){return o.TextFieldSize}}),Object.defineProperty(r,"TextFieldType",{enumerable:!0,get:function(){return o.TextFieldType}});var n=e("./text-field"),o=e("./text-field.types")}}},{package:"$root$",file:"ui/components/component-library/text-field/index.ts"}],[5006,{"..":4955,"../../../helpers/constants/design-system":5355,"./text-field.types":5007,classnames:3049,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.TextField=void 0;var n,o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=u(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=e[a]}return n.default=e,r&&r.set(e,n),n}(e("react")),a=(n=e("classnames"))&&n.__esModule?n:{default:n},s=e("../../../helpers/constants/design-system"),i=e(".."),c=e("./text-field.types");function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(u=function(e){return e?r:t})(e)}function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const j=(0,o.useRef)(null),[M,L]=(0,o.useState)(!1);(0,o.useEffect)((()=>{u&&L(!1)}),[u]);return o.default.createElement(i.Box,l({ref:x,className:(0,a.default)("mm-text-field",`mm-text-field--size-${k}`,{"mm-text-field--focused":M&&!u,"mm-text-field--error":Boolean(d),"mm-text-field--disabled":Boolean(u),"mm-text-field--truncate":N},r),display:s.Display.InlineFlex,backgroundColor:s.BackgroundColor.backgroundDefault,alignItems:s.AlignItems.center,borderWidth:1,borderRadius:s.BorderRadius.SM,paddingLeft:m?4:0,paddingRight:g?4:0,onClick:e=>{const{current:t}=j;t&&(t.focus(),L(!0)),_&&!u&&(null==_||_(e))}},C),m,o.default.createElement(R,l({},d&&{"aria-invalid":d},{autoComplete:e,autoFocus:t,backgroundColor:s.BackgroundColor.transparent,"data-testid":O,defaultValue:n,disabled:u,focused:M.toString(),id:p,margin:0,maxLength:v,name:y,onBlur:e=>{L(!1),null==T||T(e)},onChange:b,onFocus:e=>{L(!0),null==w||w(e)},padding:0,paddingLeft:m?2:4,paddingRight:g?2:4,placeholder:E,readOnly:S,ref:e=>{j.current=e,h&&"current"in h?h.current=e:"function"==typeof h&&h(e)},required:A,value:I,type:P,disableStateStyles:!0},f,{className:(0,a.default)("mm-text-field__input",(null==f?void 0:f.className)??"")})),g)}))}}},{package:"$root$",file:"ui/components/component-library/text-field/text-field.tsx"}],[5007,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.TextFieldType=r.TextFieldSize=void 0;r.TextFieldSize=function(e){return e.Sm="sm",e.Md="md",e.Lg="lg",e}({}),r.TextFieldType=function(e){return e.Text="text",e.Number="number",e.Password="password",e.Search="search",e}({})}}},{package:"$root$",file:"ui/components/component-library/text-field/text-field.types.ts"}],[5008,{"./text":5009,"./text.types":5010},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"InvisibleCharacter",{enumerable:!0,get:function(){return o.InvisibleCharacter}}),Object.defineProperty(r,"Text",{enumerable:!0,get:function(){return n.Text}}),Object.defineProperty(r,"TextDirection",{enumerable:!0,get:function(){return o.TextDirection}}),Object.defineProperty(r,"ValidTag",{enumerable:!0,get:function(){return o.ValidTag}});var n=e("./text"),o=e("./text.types")}}},{package:"$root$",file:"ui/components/component-library/text/index.ts"}],[5009,{"..":4955,"../../../helpers/constants/design-system":5355,classnames:3049,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.Text=void 0;var n=i(e("react")),o=i(e("classnames")),a=e("../../../helpers/constants/design-system"),s=e("..");function i(e){return e&&e.__esModule?e:{default:e}}function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const v=(e=>{switch(e){case a.TextVariant.displayMd:return"h1";case a.TextVariant.headingLg:return"h2";case a.TextVariant.headingMd:return"h3";case a.TextVariant.headingSm:return"h4";case a.TextVariant.inherit:return"span";default:return"p"}})(e),y=(0,o.default)("mm-text",f,`mm-text--${e}`,{[`mm-text--font-weight-${t}`]:Boolean(t),[`mm-text--font-style-${r}`]:Boolean(r),"mm-text--ellipsis":Boolean(p),[`mm-text--text-transform-${i}`]:Boolean(i),[`mm-text--text-align-${u}`]:Boolean(u),[`mm-text--overflow-wrap-${d}`]:Boolean(d)});return n.default.createElement(s.Box,c({className:(0,o.default)(y),as:v,dir:l,ref:g,color:a.TextColor.textDefault},m),h)}))}}},{package:"$root$",file:"ui/components/component-library/text/text.tsx"}],[5010,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.ValidTag=r.TextDirection=r.InvisibleCharacter=void 0;r.TextDirection=function(e){return e.LeftToRight="ltr",e.RightToLeft="rtl",e.Auto="auto",e}({});r.InvisibleCharacter="​";r.ValidTag=function(e){return e.Dd="dd",e.Div="div",e.Dt="dt",e.Em="em",e.H1="h1",e.H2="h2",e.H3="h3",e.H4="h4",e.H5="h5",e.H6="h6",e.Li="li",e.P="p",e.Span="span",e.Strong="strong",e.Ul="ul",e.Label="label",e.Input="input",e.Header="header",e}({})}}},{package:"$root$",file:"ui/components/component-library/text/text.types.ts"}],[502,{"@ethersproject/bytes":476,"js-sha3":3673},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.keccak256=void 0;var o=n(e("js-sha3")),a=e("@ethersproject/bytes");r.keccak256=function(e){return"0x"+o.default.keccak_256((0,a.arrayify)(e))}}}},{package:"@ethersproject/abi>@ethersproject/keccak256",file:"node_modules/@ethersproject/keccak256/lib/index.js"}],[503,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.version=void 0,r.version="logger/5.7.0"}}},{package:"@ethersproject/abi>@ethersproject/logger",file:"node_modules/@ethersproject/logger/lib/_version.js"}],[504,{"./_version":503},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.Logger=r.ErrorCode=r.LogLevel=void 0;var n=!1,o=!1,a={debug:1,default:2,info:2,warning:3,error:4,off:5},s=a.default,i=e("./_version"),c=null;var u,l,d=function(){try{var e=[];if(["NFD","NFC","NFKD","NFKC"].forEach((function(t){try{if("test"!=="test".normalize(t))throw new Error("bad normalize")}catch(r){e.push(t)}})),e.length)throw new Error("missing "+e.join(", "));if(String.fromCharCode(233).normalize("NFD")!==String.fromCharCode(101,769))throw new Error("broken implementation")}catch(e){return e.message}return null}();!function(e){e.DEBUG="DEBUG",e.INFO="INFO",e.WARNING="WARNING",e.ERROR="ERROR",e.OFF="OFF"}(u=r.LogLevel||(r.LogLevel={})),function(e){e.UNKNOWN_ERROR="UNKNOWN_ERROR",e.NOT_IMPLEMENTED="NOT_IMPLEMENTED",e.UNSUPPORTED_OPERATION="UNSUPPORTED_OPERATION",e.NETWORK_ERROR="NETWORK_ERROR",e.SERVER_ERROR="SERVER_ERROR",e.TIMEOUT="TIMEOUT",e.BUFFER_OVERRUN="BUFFER_OVERRUN",e.NUMERIC_FAULT="NUMERIC_FAULT",e.MISSING_NEW="MISSING_NEW",e.INVALID_ARGUMENT="INVALID_ARGUMENT",e.MISSING_ARGUMENT="MISSING_ARGUMENT",e.UNEXPECTED_ARGUMENT="UNEXPECTED_ARGUMENT",e.CALL_EXCEPTION="CALL_EXCEPTION",e.INSUFFICIENT_FUNDS="INSUFFICIENT_FUNDS",e.NONCE_EXPIRED="NONCE_EXPIRED",e.REPLACEMENT_UNDERPRICED="REPLACEMENT_UNDERPRICED",e.UNPREDICTABLE_GAS_LIMIT="UNPREDICTABLE_GAS_LIMIT",e.TRANSACTION_REPLACED="TRANSACTION_REPLACED",e.ACTION_REJECTED="ACTION_REJECTED"}(l=r.ErrorCode||(r.ErrorCode={}));var p="0123456789abcdef",f=function(){function e(e){Object.defineProperty(this,"version",{enumerable:!0,value:e,writable:!1})}return e.prototype._log=function(e,t){var r=e.toLowerCase();null==a[r]&&this.throwArgumentError("invalid log level name","logLevel",e),s>a[r]||console.log.apply(console,t)},e.prototype.debug=function(){for(var t=[],r=0;r>4],r+=p[15&t[o]];a.push(e+"=Uint8Array(0x"+r+")")}else a.push(e+"="+JSON.stringify(t))}catch(t){a.push(e+"="+JSON.stringify(n[e].toString()))}})),a.push("code="+r),a.push("version="+this.version);var s=t,i="";switch(r){case l.NUMERIC_FAULT:i="NUMERIC_FAULT";var c=t;switch(c){case"overflow":case"underflow":case"division-by-zero":i+="-"+c;break;case"negative-power":case"negative-width":i+="-unsupported";break;case"unbound-bitwise-result":i+="-unbound-result"}break;case l.CALL_EXCEPTION:case l.INSUFFICIENT_FUNDS:case l.MISSING_NEW:case l.NONCE_EXPIRED:case l.REPLACEMENT_UNDERPRICED:case l.TRANSACTION_REPLACED:case l.UNPREDICTABLE_GAS_LIMIT:i=r}i&&(t+=" [ See: https://links.ethers.org/v5-errors-"+i+" ]"),a.length&&(t+=" ("+a.join(", ")+")");var u=new Error(t);return u.reason=s,u.code=r,Object.keys(n).forEach((function(e){u[e]=n[e]})),u},e.prototype.throwError=function(e,t,r){throw this.makeError(e,t,r)},e.prototype.throwArgumentError=function(t,r,n){return this.throwError(t,e.errors.INVALID_ARGUMENT,{argument:r,value:n})},e.prototype.assert=function(e,t,r,n){e||this.throwError(t,r,n)},e.prototype.assertArgument=function(e,t,r,n){e||this.throwArgumentError(t,r,n)},e.prototype.checkNormalize=function(t){null==t&&(t="platform missing String.prototype.normalize"),d&&this.throwError("platform missing String.prototype.normalize",e.errors.UNSUPPORTED_OPERATION,{operation:"String.prototype.normalize",form:d})},e.prototype.checkSafeUint53=function(t,r){"number"==typeof t&&(null==r&&(r="value not safe"),(t<0||t>=9007199254740991)&&this.throwError(r,e.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"out-of-safe-range",value:t}),t%1&&this.throwError(r,e.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"non-integer",value:t}))},e.prototype.checkArgumentCount=function(t,r,n){n=n?": "+n:"",tr&&this.throwError("too many arguments"+n,e.errors.UNEXPECTED_ARGUMENT,{count:t,expectedCount:r})},e.prototype.checkNew=function(t,r){t!==Object&&null!=t||this.throwError("missing new",e.errors.MISSING_NEW,{name:r.name})},e.prototype.checkAbstract=function(t,r){t===r?this.throwError("cannot instantiate abstract class "+JSON.stringify(r.name)+" directly; use a sub-class",e.errors.UNSUPPORTED_OPERATION,{name:t.name,operation:"new"}):t!==Object&&null!=t||this.throwError("missing new",e.errors.MISSING_NEW,{name:r.name})},e.globalLogger=function(){return c||(c=new e(i.version)),c},e.setCensorship=function(t,r){if(!t&&r&&this.globalLogger().throwError("cannot permanently disable censorship",e.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"}),n){if(!t)return;this.globalLogger().throwError("error censorship permanent",e.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"})}o=!!t,n=!!r},e.setLogLevel=function(t){var r=a[t.toLowerCase()];null!=r?s=r:e.globalLogger().warn("invalid log level - "+t)},e.from=function(t){return new e(t)},e.errors=l,e.levels=u,e}();r.Logger=f}}},{package:"@ethersproject/abi>@ethersproject/logger",file:"node_modules/@ethersproject/logger/lib/index.js"}],[505,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.version=void 0,r.version="networks/5.7.1"}}},{package:"@metamask/test-bundler>@ethersproject/networks",file:"node_modules/@ethersproject/networks/lib/_version.js"}],[506,{"./_version":505,"@ethersproject/logger":504},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.getNetwork=void 0;var n=e("@ethersproject/logger"),o=e("./_version"),a=new n.Logger(o.version);function s(e){var t=function(t,r){null==r&&(r={});var n=[];if(t.InfuraProvider&&"-"!==r.infura)try{n.push(new t.InfuraProvider(e,r.infura))}catch(e){}if(t.EtherscanProvider&&"-"!==r.etherscan)try{n.push(new t.EtherscanProvider(e,r.etherscan))}catch(e){}if(t.AlchemyProvider&&"-"!==r.alchemy)try{n.push(new t.AlchemyProvider(e,r.alchemy))}catch(e){}if(t.PocketProvider&&"-"!==r.pocket){var o=["goerli","ropsten","rinkeby","sepolia"];try{(a=new t.PocketProvider(e,r.pocket)).network&&-1===o.indexOf(a.network.name)&&n.push(a)}catch(e){}}if(t.CloudflareProvider&&"-"!==r.cloudflare)try{n.push(new t.CloudflareProvider(e))}catch(e){}if(t.AnkrProvider&&"-"!==r.ankr)try{var a;o=["ropsten"];(a=new t.AnkrProvider(e,r.ankr)).network&&-1===o.indexOf(a.network.name)&&n.push(a)}catch(e){}if(0===n.length)return null;if(t.FallbackProvider){var s=1;return null!=r.quorum?s=r.quorum:"homestead"===e&&(s=2),new t.FallbackProvider(n,s)}return n[0]};return t.renetwork=function(e){return s(e)},t}function i(e,t){var r=function(r,n){return r.JsonRpcProvider?new r.JsonRpcProvider(e,t):null};return r.renetwork=function(t){return i(e,t)},r}var c={chainId:1,ensAddress:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",name:"homestead",_defaultProvider:s("homestead")},u={chainId:3,ensAddress:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",name:"ropsten",_defaultProvider:s("ropsten")},l={chainId:63,name:"classicMordor",_defaultProvider:i("https://www.ethercluster.com/mordor","classicMordor")},d={unspecified:{chainId:0,name:"unspecified"},homestead:c,mainnet:c,morden:{chainId:2,name:"morden"},ropsten:u,testnet:u,rinkeby:{chainId:4,ensAddress:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",name:"rinkeby",_defaultProvider:s("rinkeby")},kovan:{chainId:42,name:"kovan",_defaultProvider:s("kovan")},goerli:{chainId:5,ensAddress:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",name:"goerli",_defaultProvider:s("goerli")},kintsugi:{chainId:1337702,name:"kintsugi"},sepolia:{chainId:11155111,name:"sepolia",_defaultProvider:s("sepolia")},classic:{chainId:61,name:"classic",_defaultProvider:i("https://www.ethercluster.com/etc","classic")},classicMorden:{chainId:62,name:"classicMorden"},classicMordor:l,classicTestnet:l,classicKotti:{chainId:6,name:"classicKotti",_defaultProvider:i("https://www.ethercluster.com/kotti","classicKotti")},xdai:{chainId:100,name:"xdai"},matic:{chainId:137,name:"matic",_defaultProvider:s("matic")},maticmum:{chainId:80001,name:"maticmum"},optimism:{chainId:10,name:"optimism",_defaultProvider:s("optimism")},"optimism-kovan":{chainId:69,name:"optimism-kovan"},"optimism-goerli":{chainId:420,name:"optimism-goerli"},arbitrum:{chainId:42161,name:"arbitrum"},"arbitrum-rinkeby":{chainId:421611,name:"arbitrum-rinkeby"},"arbitrum-goerli":{chainId:421613,name:"arbitrum-goerli"},bnb:{chainId:56,name:"bnb"},bnbt:{chainId:97,name:"bnbt"}};r.getNetwork=function(e){if(null==e)return null;if("number"==typeof e){for(var t in d){var r=d[t];if(r.chainId===e)return{name:r.name,chainId:r.chainId,ensAddress:r.ensAddress||null,_defaultProvider:r._defaultProvider||null}}return{chainId:e,name:"unknown"}}if("string"==typeof e){var n=d[e];return null==n?null:{name:n.name,chainId:n.chainId,ensAddress:n.ensAddress,_defaultProvider:n._defaultProvider||null}}var o=d[e.name];if(!o)return"number"!=typeof e.chainId&&a.throwArgumentError("invalid network chainId","network",e),e;0!==e.chainId&&e.chainId!==o.chainId&&a.throwArgumentError("network chainId mismatch","network",e);var s,i=e._defaultProvider||null;return null==i&&o._defaultProvider&&(i=(s=o._defaultProvider)&&"function"==typeof s.renetwork?o._defaultProvider.renetwork(e):o._defaultProvider),{name:e.name,chainId:o.chainId,ensAddress:e.ensAddress||o.ensAddress||null,_defaultProvider:i}}}}},{package:"@metamask/test-bundler>@ethersproject/networks",file:"node_modules/@ethersproject/networks/lib/index.js"}],[507,{"@ethersproject/bytes":476,"@ethersproject/sha2":539},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.pbkdf2=void 0;var n=e("@ethersproject/bytes"),o=e("@ethersproject/sha2");r.pbkdf2=function(e,t,r,a,s){var i;e=(0,n.arrayify)(e),t=(0,n.arrayify)(t);var c,u,l=1,d=new Uint8Array(a),p=new Uint8Array(t.length+4);p.set(t);for(var f=1;f<=l;f++){p[t.length]=f>>24&255,p[t.length+1]=f>>16&255,p[t.length+2]=f>>8&255,p[t.length+3]=255&f;var h=(0,n.arrayify)((0,o.computeHmac)(s,e,p));i||(i=h.length,u=new Uint8Array(i),c=a-((l=Math.ceil(a/i))-1)*i),u.set(h);for(var m=1;m@ethersproject/pbkdf2",file:"node_modules/@ethersproject/pbkdf2/lib/browser-pbkdf2.js"}],[508,{"./pbkdf2":507},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.pbkdf2=void 0;var n=e("./pbkdf2");Object.defineProperty(r,"pbkdf2",{enumerable:!0,get:function(){return n.pbkdf2}})}}},{package:"@ethersproject/hdnode>@ethersproject/pbkdf2",file:"node_modules/@ethersproject/pbkdf2/lib/index.js"}],[509,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.version=void 0,r.version="properties/5.7.0"}}},{package:"@ethersproject/abi>@ethersproject/properties",file:"node_modules/@ethersproject/properties/lib/_version.js"}],[510,{"./_version":509,"@ethersproject/logger":504},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,a){function s(e){try{c(n.next(e))}catch(e){a(e)}}function i(e){try{c(n.throw(e))}catch(e){a(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,i)}c((n=n.apply(e,t||[])).next())}))},o=this&&this.__generator||function(e,t){var r,n,o,a,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:i(0),throw:i(1),return:i(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function i(a){return function(i){return function(a){if(r)throw new TypeError("Generator is already executing.");for(;s;)try{if(r=1,n&&(o=2&a[0]?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,n=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!(o=s.trys,(o=o.length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]@ethersproject/properties",file:"node_modules/@ethersproject/properties/lib/index.js"}],[511,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.version=void 0,r.version="providers/5.7.2"}}},{package:"@ethersproject/providers",file:"node_modules/@ethersproject/providers/lib/_version.js"}],[512,{"./_version":511,"./formatter":520,"./url-json-rpc-provider":527,"./websocket-provider":529,"@ethersproject/logger":504,"@ethersproject/properties":510},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.AlchemyProvider=r.AlchemyWebSocketProvider=void 0;var a=e("@ethersproject/properties"),s=e("./formatter"),i=e("./websocket-provider"),c=e("@ethersproject/logger"),u=e("./_version"),l=new c.Logger(u.version),d=e("./url-json-rpc-provider"),p="_gg7wSSi0KMBsdKnGVfHDueq6xMB9EkC",f=function(e){function t(t,r){var n,o=new h(t,r),s=o.connection.url.replace(/^http/i,"ws").replace(".alchemyapi.",".ws.alchemyapi.");return n=e.call(this,s,o.network)||this,(0,a.defineReadOnly)(n,"apiKey",o.apiKey),n}return o(t,e),t.prototype.isCommunityResource=function(){return this.apiKey===p},t}(i.WebSocketProvider);r.AlchemyWebSocketProvider=f;var h=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.getWebSocketProvider=function(e,t){return new f(e,t)},t.getApiKey=function(e){return null==e?p:(e&&"string"!=typeof e&&l.throwArgumentError("invalid apiKey","apiKey",e),e)},t.getUrl=function(e,t){var r=null;switch(e.name){case"homestead":r="eth-mainnet.alchemyapi.io/v2/";break;case"goerli":r="eth-goerli.g.alchemy.com/v2/";break;case"matic":r="polygon-mainnet.g.alchemy.com/v2/";break;case"maticmum":r="polygon-mumbai.g.alchemy.com/v2/";break;case"arbitrum":r="arb-mainnet.g.alchemy.com/v2/";break;case"arbitrum-goerli":r="arb-goerli.g.alchemy.com/v2/";break;case"optimism":r="opt-mainnet.g.alchemy.com/v2/";break;case"optimism-goerli":r="opt-goerli.g.alchemy.com/v2/";break;default:l.throwArgumentError("unsupported network","network",arguments[0])}return{allowGzip:!0,url:"https://"+r+t,throttleCallback:function(e,r){return t===p&&(0,s.showThrottleMessage)(),Promise.resolve(!0)}}},t.prototype.isCommunityResource=function(){return this.apiKey===p},t}(d.UrlJsonRpcProvider);r.AlchemyProvider=h}}},{package:"@ethersproject/providers",file:"node_modules/@ethersproject/providers/lib/alchemy-provider.js"}],[513,{"./_version":511,"./formatter":520,"./url-json-rpc-provider":527,"@ethersproject/logger":504},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.AnkrProvider=void 0;var a=e("./formatter"),s=e("./url-json-rpc-provider"),i=e("@ethersproject/logger"),c=e("./_version"),u=new i.Logger(c.version),l="9f7d929b018cdffb338517efa06f58359e86ff1ffd350bc889738523659e7972";function d(e){switch(e){case"homestead":return"rpc.ankr.com/eth/";case"ropsten":return"rpc.ankr.com/eth_ropsten/";case"rinkeby":return"rpc.ankr.com/eth_rinkeby/";case"goerli":return"rpc.ankr.com/eth_goerli/";case"matic":return"rpc.ankr.com/polygon/";case"arbitrum":return"rpc.ankr.com/arbitrum/"}return u.throwArgumentError("unsupported network","name",e)}var p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.isCommunityResource=function(){return this.apiKey===l},t.getApiKey=function(e){return null==e?l:e},t.getUrl=function(e,t){null==t&&(t=l);var r={allowGzip:!0,url:"https://"+d(e.name)+t,throttleCallback:function(e,r){return t.apiKey===l&&(0,a.showThrottleMessage)(),Promise.resolve(!0)}};return null!=t.projectSecret&&(r.user="",r.password=t.projectSecret),r},t}(s.UrlJsonRpcProvider);r.AnkrProvider=p}}},{package:"@ethersproject/providers",file:"node_modules/@ethersproject/providers/lib/ankr-provider.js"}],[514,{"./_version":511,"./formatter":520,"@ethersproject/abstract-provider":463,"@ethersproject/base64":469,"@ethersproject/basex":470,"@ethersproject/bignumber":474,"@ethersproject/bytes":476,"@ethersproject/constants":480,"@ethersproject/hash":489,"@ethersproject/logger":504,"@ethersproject/networks":506,"@ethersproject/properties":510,"@ethersproject/sha2":539,"@ethersproject/strings":547,"@ethersproject/web":555,bech32:530},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),a=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,a){function s(e){try{c(n.next(e))}catch(e){a(e)}}function i(e){try{c(n.throw(e))}catch(e){a(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,i)}c((n=n.apply(e,t||[])).next())}))},s=this&&this.__generator||function(e,t){var r,n,o,a,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:i(0),throw:i(1),return:i(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function i(a){return function(i){return function(a){if(r)throw new TypeError("Generator is already executing.");for(;s;)try{if(r=1,n&&(o=2&a[0]?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,n=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!(o=s.trys,(o=o.length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]0&&null==e[e.length-1];)e.pop();return e.map((function(e){if(Array.isArray(e)){var t={};e.forEach((function(e){t[A(e)]=!0}));var r=Object.keys(t);return r.sort(),r.join("|")}return A(e)})).join("&")}function O(e){if("string"==typeof e){if(e=e.toLowerCase(),32===(0,p.hexDataLength)(e))return"tx:"+e;if(-1===e.indexOf(":"))return e}else{if(Array.isArray(e))return"filter:*:"+k(e);if(c.ForkEvent.isForkEvent(e))throw E.warn("not implemented"),new Error("not implemented");if(e&&"object"==typeof e)return"filter:"+(e.address||"*")+":"+k(e.topics||[])}throw new Error("invalid event - "+e)}function P(){return(new Date).getTime()}function N(e){return new Promise((function(t){setTimeout(t,e)}))}var I=["block","network","pending","poll"],R=function(){function e(e,t,r){(0,g.defineReadOnly)(this,"tag",e),(0,g.defineReadOnly)(this,"listener",t),(0,g.defineReadOnly)(this,"once",r),this._lastBlockNumber=-2,this._inflight=!1}return Object.defineProperty(e.prototype,"event",{get:function(){switch(this.type){case"tx":return this.hash;case"filter":return this.filter}return this.tag},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"type",{get:function(){return this.tag.split(":")[0]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"hash",{get:function(){var e=this.tag.split(":");return"tx"!==e[0]?null:e[1]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"filter",{get:function(){var e=this.tag.split(":");if("filter"!==e[0])return null;var t,r=e[1],n=""===(t=e[2])?[]:t.split(/&/g).map((function(e){if(""===e)return[];var t=e.split("|").map((function(e){return"null"===e?null:e}));return 1===t.length?t[0]:t})),o={};return n.length>0&&(o.topics=n),r&&"*"!==r&&(o.address=r),o},enumerable:!1,configurable:!0}),e.prototype.pollable=function(){return this.tag.indexOf(":")>=0||I.indexOf(this.tag)>=0},e}();r.Event=R;var C={0:{symbol:"btc",p2pkh:0,p2sh:5,prefix:"bc"},2:{symbol:"ltc",p2pkh:48,p2sh:50,prefix:"ltc"},3:{symbol:"doge",p2pkh:30,p2sh:22},60:{symbol:"eth",ilk:"eth"},61:{symbol:"etc",ilk:"eth"},700:{symbol:"xdai",ilk:"eth"}};function x(e){return(0,p.hexZeroPad)(d.BigNumber.from(e).toHexString(),32)}function j(e){return l.Base58.encode((0,p.concat)([e,(0,p.hexDataSlice)((0,v.sha256)((0,v.sha256)(e)),0,4)]))}var M=new RegExp("^(ipfs)://(.*)$","i"),L=[new RegExp("^(https)://(.*)$","i"),new RegExp("^(data):(.*)$","i"),M,new RegExp("^eip155:[0-9]+/(erc[0-9]+):(.*)$","i")];function D(e,t){try{return(0,y.toUtf8String)(F(e,t))}catch(e){}return null}function F(e,t){if("0x"===e)return null;var r=d.BigNumber.from((0,p.hexDataSlice)(e,t,t+32)).toNumber(),n=d.BigNumber.from((0,p.hexDataSlice)(e,r,r+32)).toNumber();return(0,p.hexDataSlice)(e,r+32,r+32+n)}function U(e){return e.match(/^ipfs:\/\/ipfs\//i)?e=e.substring(12):e.match(/^ipfs:\/\//i)?e=e.substring(7):E.throwArgumentError("unsupported IPFS format","link",e),"https://gateway.ipfs.io/ipfs/"+e}function B(e){var t=(0,p.arrayify)(e);if(t.length>32)throw new Error("internal; should not happen");var r=new Uint8Array(32);return r.set(t,32-t.length),r}function G(e){if(e.length%32==0)return e;var t=new Uint8Array(32*Math.ceil(e.length/32));return t.set(e),t}function H(e){for(var t=[],r=0,n=0;n=1&&a<=75)return j((0,p.concat)([[r.p2pkh],"0x"+o[2]]))}}if(null!=r.p2sh){var s=t.match(/^0xa9([0-9a-f][0-9a-f])([0-9a-f]*)87$/);if(s){var i=parseInt(s[1],16);if(s[2].length===2*i&&i>=1&&i<=75)return j((0,p.concat)([[r.p2sh],"0x"+s[2]]))}}if(null!=r.prefix){var c=n[1],u=n[0];if(0===u?20!==c&&32!==c&&(u=-1):u=-1,u>=0&&n.length===2+c&&c>=1&&c<=75){var l=b.default.toWords(n.slice(2));return l.unshift(u),b.default.encode(r.prefix,l)}}return null},e.prototype.getAddress=function(e){return a(this,void 0,void 0,(function(){var t,r,n,o;return s(this,(function(a){switch(a.label){case 0:if(null==e&&(e=60),60!==e)return[3,4];a.label=1;case 1:return a.trys.push([1,3,,4]),[4,this._fetch("0x3b3b57de")];case 2:return"0x"===(t=a.sent())||t===f.HashZero?[2,null]:[2,this.provider.formatter.callAddress(t)];case 3:if((r=a.sent()).code===_.Logger.errors.CALL_EXCEPTION)return[2,null];throw r;case 4:return[4,this._fetchBytes("0xf1cb7e06",x(e))];case 5:return null==(n=a.sent())||"0x"===n?[2,null]:(null==(o=this._getAddress(e,n))&&E.throwError("invalid or unsupported coin data",_.Logger.errors.UNSUPPORTED_OPERATION,{operation:"getAddress("+e+")",coinType:e,data:n}),[2,o])}}))}))},e.prototype.getAvatar=function(){return a(this,void 0,void 0,(function(){var e,t,r,n,o,a,i,c,u,l,f,h,m,g,v,y,b,_,w,E,S,A;return s(this,(function(s){switch(s.label){case 0:e=[{type:"name",content:this.name}],s.label=1;case 1:return s.trys.push([1,19,,20]),[4,this.getText("avatar")];case 2:if(null==(t=s.sent()))return[2,null];r=0,s.label=3;case 3:if(!(r=0?null:JSON.stringify({data:o,sender:n}),[4,(0,T.fetchJson)({url:u,errorPassThrough:!0},l,(function(e,t){return e.status=t.statusCode,e}))]):[3,4];case 2:if((d=s.sent()).data)return[2,d.data];if(p=d.message||"unknown error",d.status>=400&&d.status<500)return[2,E.throwError("response not found during CCIP fetch: "+p,_.Logger.errors.SERVER_ERROR,{url:c,errorMessage:p})];a.push(p),s.label=3;case 3:return i++,[3,1];case 4:return[2,E.throwError("error encountered during CCIP fetch: "+a.map((function(e){return JSON.stringify(e)})).join(", "),_.Logger.errors.SERVER_ERROR,{urls:r,errorMessages:a})]}}))}))},t.prototype._getInternalBlockNumber=function(e){return a(this,void 0,void 0,(function(){var t,r,n,o,a=this;return s(this,(function(s){switch(s.label){case 0:return[4,this._ready()];case 1:if(s.sent(),!(e>0))return[3,7];s.label=2;case 2:if(!this._internalBlockNumber)return[3,7];t=this._internalBlockNumber,s.label=3;case 3:return s.trys.push([3,5,,6]),[4,t];case 4:return r=s.sent(),P()-r.respTime<=e?[2,r.blockNumber]:[3,7];case 5:return s.sent(),this._internalBlockNumber===t?[3,7]:[3,6];case 6:return[3,2];case 7:return n=P(),o=(0,g.resolveProperties)({blockNumber:this.perform("getBlockNumber",{}),networkError:this.getNetwork().then((function(e){return null}),(function(e){return e}))}).then((function(e){var t=e.blockNumber,r=e.networkError;if(r)throw a._internalBlockNumber===o&&(a._internalBlockNumber=null),r;var s=P();return(t=d.BigNumber.from(t).toNumber())1e3)E.warn("network block skew detected; skipping block events (emitted="+this._emitted.block+" blockNumber"+r+")"),this.emit("error",E.makeError("network block skew detected",_.Logger.errors.NETWORK_ERROR,{blockNumber:r,event:"blockSkew",previousBlockNumber:this._emitted.block})),this.emit("block",r);else for(o=this._emitted.block+1;o<=r;o++)this.emit("block",o);return this._emitted.block!==r&&(this._emitted.block=r,Object.keys(this._emitted).forEach((function(e){if("block"!==e){var t=a._emitted[e];"pending"!==t&&r-t>12&&delete a._emitted[e]}}))),-2===this._lastBlockNumber&&(this._lastBlockNumber=r-1),this._events.forEach((function(e){switch(e.type){case"tx":var n=e.hash,o=a.getTransactionReceipt(n).then((function(e){return e&&null!=e.blockNumber?(a._emitted["t:"+n]=e.blockNumber,a.emit(n,e),null):null})).catch((function(e){a.emit("error",e)}));t.push(o);break;case"filter":if(!e._inflight){e._inflight=!0,-2===e._lastBlockNumber&&(e._lastBlockNumber=r-1);var s=e.filter;s.fromBlock=e._lastBlockNumber+1,s.toBlock=r;var i=s.toBlock-a._maxFilterBlockRange;i>s.fromBlock&&(s.fromBlock=i),s.fromBlock<0&&(s.fromBlock=0);o=a.getLogs(s).then((function(t){e._inflight=!1,0!==t.length&&t.forEach((function(t){t.blockNumber>e._lastBlockNumber&&(e._lastBlockNumber=t.blockNumber),a._emitted["b:"+t.blockHash]=t.blockNumber,a._emitted["t:"+t.transactionHash]=t.blockNumber,a.emit(s,t)}))})).catch((function(t){a.emit("error",t),e._inflight=!1}));t.push(o)}}})),this._lastBlockNumber=r,Promise.all(t).then((function(){a.emit("didPoll",e)})).catch((function(e){a.emit("error",e)})),[2]}}))}))},t.prototype.resetEventsBlock=function(e){this._lastBlockNumber=e-1,this.polling&&this.poll()},Object.defineProperty(t.prototype,"network",{get:function(){return this._network},enumerable:!1,configurable:!0}),t.prototype.detectNetwork=function(){return a(this,void 0,void 0,(function(){return s(this,(function(e){return[2,E.throwError("provider does not support network detection",_.Logger.errors.UNSUPPORTED_OPERATION,{operation:"provider.detectNetwork"})]}))}))},t.prototype.getNetwork=function(){return a(this,void 0,void 0,(function(){var e,t,r;return s(this,(function(n){switch(n.label){case 0:return[4,this._ready()];case 1:return e=n.sent(),[4,this.detectNetwork()];case 2:return t=n.sent(),e.chainId===t.chainId?[3,5]:this.anyNetwork?(this._network=t,this._lastBlockNumber=-2,this._fastBlockNumber=null,this._fastBlockNumberPromise=null,this._fastQueryDate=0,this._emitted.block=-2,this._maxInternalBlockNumber=-1024,this._internalBlockNumber=null,this.emit("network",t,e),[4,N(0)]):[3,4];case 3:return n.sent(),[2,this._network];case 4:throw r=E.makeError("underlying network changed",_.Logger.errors.NETWORK_ERROR,{event:"changed",network:e,detectedNetwork:t}),this.emit("error",r),r;case 5:return[2,e]}}))}))},Object.defineProperty(t.prototype,"blockNumber",{get:function(){var e=this;return this._getInternalBlockNumber(100+this.pollingInterval/2).then((function(t){e._setFastBlockNumber(t)}),(function(e){})),null!=this._fastBlockNumber?this._fastBlockNumber:-1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"polling",{get:function(){return null!=this._poller},set:function(e){var t=this;e&&!this._poller?(this._poller=setInterval((function(){t.poll()}),this.pollingInterval),this._bootstrapPoll||(this._bootstrapPoll=setTimeout((function(){t.poll(),t._bootstrapPoll=setTimeout((function(){t._poller||t.poll(),t._bootstrapPoll=null}),t.pollingInterval)}),0))):!e&&this._poller&&(clearInterval(this._poller),this._poller=null)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"pollingInterval",{get:function(){return this._pollingInterval},set:function(e){var t=this;if("number"!=typeof e||e<=0||parseInt(String(e))!=e)throw new Error("invalid polling interval");this._pollingInterval=e,this._poller&&(clearInterval(this._poller),this._poller=setInterval((function(){t.poll()}),this._pollingInterval))},enumerable:!1,configurable:!0}),t.prototype._getFastBlockNumber=function(){var e=this,t=P();return t-this._fastQueryDate>2*this._pollingInterval&&(this._fastQueryDate=t,this._fastBlockNumberPromise=this.getBlockNumber().then((function(t){return(null==e._fastBlockNumber||t>e._fastBlockNumber)&&(e._fastBlockNumber=t),e._fastBlockNumber}))),this._fastBlockNumberPromise},t.prototype._setFastBlockNumber=function(e){null!=this._fastBlockNumber&&ethis._fastBlockNumber)&&(this._fastBlockNumber=e,this._fastBlockNumberPromise=Promise.resolve(e)))},t.prototype.waitForTransaction=function(e,t,r){return a(this,void 0,void 0,(function(){return s(this,(function(n){return[2,this._waitForTransaction(e,null==t?1:t,r||0,null)]}))}))},t.prototype._waitForTransaction=function(e,t,r,n){return a(this,void 0,void 0,(function(){var o,i=this;return s(this,(function(c){switch(c.label){case 0:return[4,this.getTransactionReceipt(e)];case 1:return((o=c.sent())?o.confirmations:0)>=t?[2,o]:[2,new Promise((function(o,c){var u=[],l=!1,d=function(){return!!l||(l=!0,u.forEach((function(e){e()})),!1)},p=function(e){e.confirmations0){var g=setTimeout((function(){d()||c(E.makeError("timeout exceeded",_.Logger.errors.TIMEOUT,{timeout:r}))}),r);g.unref&&g.unref(),u.push((function(){clearTimeout(g)}))}}))]}}))}))},t.prototype.getBlockNumber=function(){return a(this,void 0,void 0,(function(){return s(this,(function(e){return[2,this._getInternalBlockNumber(0)]}))}))},t.prototype.getGasPrice=function(){return a(this,void 0,void 0,(function(){var e;return s(this,(function(t){switch(t.label){case 0:return[4,this.getNetwork()];case 1:return t.sent(),[4,this.perform("getGasPrice",{})];case 2:e=t.sent();try{return[2,d.BigNumber.from(e)]}catch(t){return[2,E.throwError("bad result from backend",_.Logger.errors.SERVER_ERROR,{method:"getGasPrice",result:e,error:t})]}return[2]}}))}))},t.prototype.getBalance=function(e,t){return a(this,void 0,void 0,(function(){var r,n;return s(this,(function(o){switch(o.label){case 0:return[4,this.getNetwork()];case 1:return o.sent(),[4,(0,g.resolveProperties)({address:this._getAddress(e),blockTag:this._getBlockTag(t)})];case 2:return r=o.sent(),[4,this.perform("getBalance",r)];case 3:n=o.sent();try{return[2,d.BigNumber.from(n)]}catch(e){return[2,E.throwError("bad result from backend",_.Logger.errors.SERVER_ERROR,{method:"getBalance",params:r,result:n,error:e})]}return[2]}}))}))},t.prototype.getTransactionCount=function(e,t){return a(this,void 0,void 0,(function(){var r,n;return s(this,(function(o){switch(o.label){case 0:return[4,this.getNetwork()];case 1:return o.sent(),[4,(0,g.resolveProperties)({address:this._getAddress(e),blockTag:this._getBlockTag(t)})];case 2:return r=o.sent(),[4,this.perform("getTransactionCount",r)];case 3:n=o.sent();try{return[2,d.BigNumber.from(n).toNumber()]}catch(e){return[2,E.throwError("bad result from backend",_.Logger.errors.SERVER_ERROR,{method:"getTransactionCount",params:r,result:n,error:e})]}return[2]}}))}))},t.prototype.getCode=function(e,t){return a(this,void 0,void 0,(function(){var r,n;return s(this,(function(o){switch(o.label){case 0:return[4,this.getNetwork()];case 1:return o.sent(),[4,(0,g.resolveProperties)({address:this._getAddress(e),blockTag:this._getBlockTag(t)})];case 2:return r=o.sent(),[4,this.perform("getCode",r)];case 3:n=o.sent();try{return[2,(0,p.hexlify)(n)]}catch(e){return[2,E.throwError("bad result from backend",_.Logger.errors.SERVER_ERROR,{method:"getCode",params:r,result:n,error:e})]}return[2]}}))}))},t.prototype.getStorageAt=function(e,t,r){return a(this,void 0,void 0,(function(){var n,o;return s(this,(function(a){switch(a.label){case 0:return[4,this.getNetwork()];case 1:return a.sent(),[4,(0,g.resolveProperties)({address:this._getAddress(e),blockTag:this._getBlockTag(r),position:Promise.resolve(t).then((function(e){return(0,p.hexValue)(e)}))})];case 2:return n=a.sent(),[4,this.perform("getStorageAt",n)];case 3:o=a.sent();try{return[2,(0,p.hexlify)(o)]}catch(e){return[2,E.throwError("bad result from backend",_.Logger.errors.SERVER_ERROR,{method:"getStorageAt",params:n,result:o,error:e})]}return[2]}}))}))},t.prototype._wrapTransaction=function(e,t,r){var n=this;if(null!=t&&32!==(0,p.hexDataLength)(t))throw new Error("invalid response - sendTransaction");var o=e;return null!=t&&e.hash!==t&&E.throwError("Transaction hash mismatch from Provider.sendTransaction.",_.Logger.errors.UNKNOWN_ERROR,{expectedHash:e.hash,returnedHash:t}),o.wait=function(t,o){return a(n,void 0,void 0,(function(){var n,a;return s(this,(function(s){switch(s.label){case 0:return null==t&&(t=1),null==o&&(o=0),n=undefined,0!==t&&null!=r&&(n={data:e.data,from:e.from,nonce:e.nonce,to:e.to,value:e.value,startBlock:r}),[4,this._waitForTransaction(e.hash,t,o,n)];case 1:return null==(a=s.sent())&&0===t?[2,null]:(this._emitted["t:"+e.hash]=a.blockNumber,0===a.status&&E.throwError("transaction failed",_.Logger.errors.CALL_EXCEPTION,{transactionHash:e.hash,transaction:e,receipt:a}),[2,a])}}))}))},o},t.prototype.sendTransaction=function(e){return a(this,void 0,void 0,(function(){var t,r,n,o,a;return s(this,(function(s){switch(s.label){case 0:return[4,this.getNetwork()];case 1:return s.sent(),[4,Promise.resolve(e).then((function(e){return(0,p.hexlify)(e)}))];case 2:return t=s.sent(),null==(r=this.formatter.transaction(e)).confirmations&&(r.confirmations=0),[4,this._getInternalBlockNumber(100+2*this.pollingInterval)];case 3:n=s.sent(),s.label=4;case 4:return s.trys.push([4,6,,7]),[4,this.perform("sendTransaction",{signedTransaction:t})];case 5:return o=s.sent(),[2,this._wrapTransaction(r,o,n)];case 6:throw(a=s.sent()).transaction=r,a.transactionHash=r.hash,a;case 7:return[2]}}))}))},t.prototype._getTransactionRequest=function(e){return a(this,void 0,void 0,(function(){var t,r,n,o,a=this;return s(this,(function(s){switch(s.label){case 0:return[4,e];case 1:return t=s.sent(),r={},["from","to"].forEach((function(e){null!=t[e]&&(r[e]=Promise.resolve(t[e]).then((function(e){return e?a._getAddress(e):null})))})),["gasLimit","gasPrice","maxFeePerGas","maxPriorityFeePerGas","value"].forEach((function(e){null!=t[e]&&(r[e]=Promise.resolve(t[e]).then((function(e){return e?d.BigNumber.from(e):null})))})),["type"].forEach((function(e){null!=t[e]&&(r[e]=Promise.resolve(t[e]).then((function(e){return null!=e?e:null})))})),t.accessList&&(r.accessList=this.formatter.accessList(t.accessList)),["data"].forEach((function(e){null!=t[e]&&(r[e]=Promise.resolve(t[e]).then((function(e){return e?(0,p.hexlify)(e):null})))})),o=(n=this.formatter).transactionRequest,[4,(0,g.resolveProperties)(r)];case 2:return[2,o.apply(n,[s.sent()])]}}))}))},t.prototype._getFilter=function(e){return a(this,void 0,void 0,(function(){var t,r,n,o=this;return s(this,(function(a){switch(a.label){case 0:return[4,e];case 1:return e=a.sent(),t={},null!=e.address&&(t.address=this._getAddress(e.address)),["blockHash","topics"].forEach((function(r){null!=e[r]&&(t[r]=e[r])})),["fromBlock","toBlock"].forEach((function(r){null!=e[r]&&(t[r]=o._getBlockTag(e[r]))})),n=(r=this.formatter).filter,[4,(0,g.resolveProperties)(t)];case 2:return[2,n.apply(r,[a.sent()])]}}))}))},t.prototype._call=function(e,t,r){return a(this,void 0,void 0,(function(){var n,o,a,i,c,u,l,f,h,m,g,v,y,T,b,w;return s(this,(function(s){switch(s.label){case 0:return r>=10&&E.throwError("CCIP read exceeded maximum redirections",_.Logger.errors.SERVER_ERROR,{redirects:r,transaction:e}),n=e.to,[4,this.perform("call",{transaction:e,blockTag:t})];case 1:if(o=s.sent(),!(r>=0&&"latest"===t&&null!=n&&"0x556f1830"===o.substring(0,10)&&(0,p.hexDataLength)(o)%32==4))return[3,5];s.label=2;case 2:for(s.trys.push([2,4,,5]),a=(0,p.hexDataSlice)(o,4),i=(0,p.hexDataSlice)(a,0,32),d.BigNumber.from(i).eq(n)||E.throwError("CCIP Read sender did not match",_.Logger.errors.CALL_EXCEPTION,{name:"OffchainLookup",signature:"OffchainLookup(address,string[],bytes,bytes4,bytes)",transaction:e,data:o}),c=[],u=d.BigNumber.from((0,p.hexDataSlice)(a,32,64)).toNumber(),l=d.BigNumber.from((0,p.hexDataSlice)(a,u,u+32)).toNumber(),f=(0,p.hexDataSlice)(a,u+32),h=0;hthis._emitted.block?[2,null]:[2,undefined];if(!t)return[3,8];o=null,a=0,s.label=2;case 2:return a0},t.prototype._stopEvent=function(e){this.polling=this._events.filter((function(e){return e.pollable()})).length>0},t.prototype._addEventListener=function(e,t,r){var n=new R(O(e),t,r);return this._events.push(n),this._startEvent(n),this},t.prototype.on=function(e,t){return this._addEventListener(e,t,!1)},t.prototype.once=function(e,t){return this._addEventListener(e,t,!0)},t.prototype.emit=function(e){for(var t=this,r=[],n=1;n0&&o[o.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]0&&o[o.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]=0&&(t.throttleRetry=!0),t}return e.result}function v(e){if(e&&0==e.status&&"NOTOK"==e.message&&(e.result||"").toLowerCase().indexOf("rate limit")>=0)throw(t=new Error("throttled response")).result=JSON.stringify(e),t.throttleRetry=!0,t;if("2.0"!=e.jsonrpc)throw(t=new Error("invalid response")).result=JSON.stringify(e),t;if(e.error){var t=new Error(e.error.message||"unknown error");throw e.error.code&&(t.code=e.error.code),e.error.data&&(t.data=e.error.data),t}return e.result}function y(e){if("pending"===e)throw new Error("pending not supported");return"latest"===e?e:parseInt(e.substring(2),16)}function T(e,t,r){if("call"===e&&t.code===p.Logger.errors.SERVER_ERROR){var n=t.error;if(n&&(n.message.match(/reverted/i)||n.message.match(/VM execution error/i))){var o=n.data;if(o&&(o="0x"+o.replace(/^.*0x/i,"")),(0,i.isHexString)(o))return o;h.throwError("missing revert data in call exception",p.Logger.errors.CALL_EXCEPTION,{error:t,data:"0x"})}}var a=t.message;throw t.code===p.Logger.errors.SERVER_ERROR&&(t.error&&"string"==typeof t.error.message?a=t.error.message:"string"==typeof t.body?a=t.body:"string"==typeof t.responseText&&(a=t.responseText)),(a=(a||"").toLowerCase()).match(/insufficient funds/)&&h.throwError("insufficient funds for intrinsic transaction cost",p.Logger.errors.INSUFFICIENT_FUNDS,{error:t,method:e,transaction:r}),a.match(/same hash was already imported|transaction nonce is too low|nonce too low/)&&h.throwError("nonce has already been used",p.Logger.errors.NONCE_EXPIRED,{error:t,method:e,transaction:r}),a.match(/another transaction with same nonce/)&&h.throwError("replacement fee too low",p.Logger.errors.REPLACEMENT_UNDERPRICED,{error:t,method:e,transaction:r}),a.match(/execution failed due to an exception|execution reverted/)&&h.throwError("cannot estimate gas; transaction may fail or may require manual gas limit",p.Logger.errors.UNPREDICTABLE_GAS_LIMIT,{error:t,method:e,transaction:r}),t}var b=function(e){function t(t,r){var n=e.call(this,t)||this;return(0,c.defineReadOnly)(n,"baseUrl",n.getBaseUrl()),(0,c.defineReadOnly)(n,"apiKey",r||null),n}return o(t,e),t.prototype.getBaseUrl=function(){switch(this.network?this.network.name:"invalid"){case"homestead":return"https://api.etherscan.io";case"goerli":return"https://api-goerli.etherscan.io";case"sepolia":return"https://api-sepolia.etherscan.io";case"matic":return"https://api.polygonscan.com";case"maticmum":return"https://api-testnet.polygonscan.com";case"arbitrum":return"https://api.arbiscan.io";case"arbitrum-goerli":return"https://api-goerli.arbiscan.io";case"optimism":return"https://api-optimistic.etherscan.io";case"optimism-goerli":return"https://api-goerli-optimistic.etherscan.io"}return h.throwArgumentError("unsupported network","network",this.network.name)},t.prototype.getUrl=function(e,t){var r=Object.keys(t).reduce((function(e,r){var n=t[r];return null!=n&&(e+="&"+r+"="+n),e}),""),n=this.apiKey?"&apikey="+this.apiKey:"";return this.baseUrl+"/api?module="+e+r+n},t.prototype.getPostUrl=function(){return this.baseUrl+"/api"},t.prototype.getPostData=function(e,t){return t.module=e,t.apikey=this.apiKey,t},t.prototype.fetch=function(e,t,r){return a(this,void 0,void 0,(function(){var n,o,a,i,u,p,f=this;return s(this,(function(s){switch(s.label){case 0:return n=r?this.getPostUrl():this.getUrl(e,t),o=r?this.getPostData(e,t):null,a="proxy"===e?v:g,this.emit("debug",{action:"request",request:n,provider:this}),i={url:n,throttleSlotInterval:1e3,throttleCallback:function(e,t){return f.isCommunityResource()&&(0,d.showThrottleMessage)(),Promise.resolve(!0)}},u=null,o&&(i.headers={"content-type":"application/x-www-form-urlencoded; charset=UTF-8"},u=Object.keys(o).map((function(e){return e+"="+o[e]})).join("&")),[4,(0,l.fetchJson)(i,u,a||v)];case 1:return p=s.sent(),this.emit("debug",{action:"response",request:n,response:(0,c.deepCopy)(p),provider:this}),[2,p]}}))}))},t.prototype.detectNetwork=function(){return a(this,void 0,void 0,(function(){return s(this,(function(e){return[2,this.network]}))}))},t.prototype.perform=function(t,r){return a(this,void 0,void 0,(function(){var n,o,a,i,c,u,l,d,f;return s(this,(function(s){switch(s.label){case 0:switch(t){case"getBlockNumber":return[3,1];case"getGasPrice":return[3,2];case"getBalance":return[3,3];case"getTransactionCount":return[3,4];case"getCode":return[3,5];case"getStorageAt":return[3,6];case"sendTransaction":return[3,7];case"getBlock":return[3,8];case"getTransaction":return[3,9];case"getTransactionReceipt":return[3,10];case"call":return[3,11];case"estimateGas":return[3,15];case"getLogs":return[3,19];case"getEtherPrice":return[3,26]}return[3,28];case 1:return[2,this.fetch("proxy",{action:"eth_blockNumber"})];case 2:return[2,this.fetch("proxy",{action:"eth_gasPrice"})];case 3:return[2,this.fetch("account",{action:"balance",address:r.address,tag:r.blockTag})];case 4:return[2,this.fetch("proxy",{action:"eth_getTransactionCount",address:r.address,tag:r.blockTag})];case 5:return[2,this.fetch("proxy",{action:"eth_getCode",address:r.address,tag:r.blockTag})];case 6:return[2,this.fetch("proxy",{action:"eth_getStorageAt",address:r.address,position:r.position,tag:r.blockTag})];case 7:return[2,this.fetch("proxy",{action:"eth_sendRawTransaction",hex:r.signedTransaction},!0).catch((function(e){return T("sendTransaction",e,r.signedTransaction)}))];case 8:if(r.blockTag)return[2,this.fetch("proxy",{action:"eth_getBlockByNumber",tag:r.blockTag,boolean:r.includeTransactions?"true":"false"})];throw new Error("getBlock by blockHash not implemented");case 9:return[2,this.fetch("proxy",{action:"eth_getTransactionByHash",txhash:r.transactionHash})];case 10:return[2,this.fetch("proxy",{action:"eth_getTransactionReceipt",txhash:r.transactionHash})];case 11:if("latest"!==r.blockTag)throw new Error("EtherscanProvider does not support blockTag for call");(n=m(r.transaction)).module="proxy",n.action="eth_call",s.label=12;case 12:return s.trys.push([12,14,,15]),[4,this.fetch("proxy",n,!0)];case 13:return[2,s.sent()];case 14:return[2,T("call",s.sent(),r.transaction)];case 15:(n=m(r.transaction)).module="proxy",n.action="eth_estimateGas",s.label=16;case 16:return s.trys.push([16,18,,19]),[4,this.fetch("proxy",n,!0)];case 17:return[2,s.sent()];case 18:return[2,T("estimateGas",s.sent(),r.transaction)];case 19:return o={action:"getLogs"},r.filter.fromBlock&&(o.fromBlock=y(r.filter.fromBlock)),r.filter.toBlock&&(o.toBlock=y(r.filter.toBlock)),r.filter.address&&(o.address=r.filter.address),r.filter.topics&&r.filter.topics.length>0&&(r.filter.topics.length>1&&h.throwError("unsupported topic count",p.Logger.errors.UNSUPPORTED_OPERATION,{topics:r.filter.topics}),1===r.filter.topics.length&&("string"==typeof(a=r.filter.topics[0])&&66===a.length||h.throwError("unsupported topic format",p.Logger.errors.UNSUPPORTED_OPERATION,{topic0:a}),o.topic0=a)),[4,this.fetch("logs",o)];case 20:i=s.sent(),c={},u=0,s.label=21;case 21:return u0&&o[o.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]t?null:(n+o)/2}function _(e){if(null===e)return"null";if("number"==typeof e||"boolean"==typeof e)return JSON.stringify(e);if("string"==typeof e)return e;if(c.BigNumber.isBigNumber(e))return e.toString();if(Array.isArray(e))return JSON.stringify(e.map((function(e){return _(e)})));if("object"==typeof e){var t=Object.keys(e);return t.sort(),"{"+t.map((function(t){var r=e[t];return r="function"==typeof r?"[function]":_(r),JSON.stringify(t)+":"+r})).join(",")+"}"}throw new Error("unknown value type: "+typeof e)}var w=1;function E(e){var t=null,r=null,n=new Promise((function(n){t=function(){r&&(clearTimeout(r),r=null),n()},r=setTimeout(t,e)}));return{cancel:t,getPromise:function(){return n},wait:function(e){return n=n.then(e)}}}var S=[m.Logger.errors.CALL_EXCEPTION,m.Logger.errors.INSUFFICIENT_FUNDS,m.Logger.errors.NONCE_EXPIRED,m.Logger.errors.REPLACEMENT_UNDERPRICED,m.Logger.errors.UNPREDICTABLE_GAS_LIMIT],A=["address","args","errorArgs","errorSignature","method","transaction"];function k(e,t){var r={weight:e.weight};return Object.defineProperty(r,"provider",{get:function(){return e.provider}}),e.start&&(r.start=e.start),t&&(r.duration=t-e.start),e.done&&(e.error?r.error=e.error:r.result=e.result||null),r}function O(e,t,r){var n=_;switch(t){case"getBlockNumber":return function(t){var r=t.map((function(e){return e.result})),n=b(t.map((function(e){return e.result})),2);return null==n?undefined:(n=Math.ceil(n),r.indexOf(n+1)>=0&&n++,n>=e._highestBlockNumber&&(e._highestBlockNumber=n),e._highestBlockNumber)};case"getGasPrice":return function(e){var t=e.map((function(e){return e.result}));return t.sort(),t[Math.floor(t.length/2)]};case"getEtherPrice":return function(e){return b(e.map((function(e){return e.result})))};case"getBalance":case"getTransactionCount":case"getCode":case"getStorageAt":case"call":case"estimateGas":case"getLogs":break;case"getTransaction":case"getTransactionReceipt":n=function(e){return null==e?null:((e=(0,l.shallowCopy)(e)).confirmations=-1,_(e))};break;case"getBlock":n=r.includeTransactions?function(e){return null==e?null:((e=(0,l.shallowCopy)(e)).transactions=e.transactions.map((function(e){return(e=(0,l.shallowCopy)(e)).confirmations=-1,e})),_(e))}:function(e){return null==e?null:_(e)};break;default:throw new Error("unknown method: "+t)}return function(e,t){return function(r){var n={};r.forEach((function(t){var r=e(t.result);n[r]||(n[r]={count:0,result:t.result}),n[r].count++}));for(var o=Object.keys(n),a=0;a=t)return s.result}return undefined}}(n,e.quorum)}function P(e,t){return a(this,void 0,void 0,(function(){var r;return s(this,(function(n){return null!=(r=e.provider).blockNumber&&r.blockNumber>=t||-1===t?[2,r]:[2,(0,p.poll)((function(){return new Promise((function(n,o){setTimeout((function(){return r.blockNumber>=t?n(r):e.cancelled?n(null):n(undefined)}),0)}))}),{oncePoll:r})]}))}))}var N=function(e){function t(t,r){var n=this;0===t.length&&v.throwArgumentError("missing providers","providers",t);var o=t.map((function(e,t){if(i.Provider.isProvider(e)){var r=(0,h.isCommunityResource)(e)?2e3:750;return Object.freeze({provider:e,weight:1,stallTimeout:r,priority:1})}var n=(0,l.shallowCopy)(e);null==n.priority&&(n.priority=1),null==n.stallTimeout&&(n.stallTimeout=(0,h.isCommunityResource)(e)?2e3:750),null==n.weight&&(n.weight=1);var o=n.weight;return(o%1||o>512||o<1)&&v.throwArgumentError("invalid weight; must be integer in [1, 512]","providers["+t+"].weight",o),Object.freeze(n)})),a=o.reduce((function(e,t){return e+t.weight}),0);null==r?r=a/2:r>a&&v.throwArgumentError("quorum will always fail; larger than total weight","quorum",r);var s=T(o.map((function(e){return e.provider.network})));return null==s&&(s=new Promise((function(e,t){setTimeout((function(){n.detectNetwork().then(e,t)}),0)}))),n=e.call(this,s)||this,(0,l.defineReadOnly)(n,"providerConfigs",Object.freeze(o)),(0,l.defineReadOnly)(n,"quorum",r),n._highestBlockNumber=-1,n}return o(t,e),t.prototype.detectNetwork=function(){return a(this,void 0,void 0,(function(){return s(this,(function(e){switch(e.label){case 0:return[4,Promise.all(this.providerConfigs.map((function(e){return e.provider.getNetwork()})))];case 1:return[2,T(e.sent())]}}))}))},t.prototype.perform=function(e,t){return a(this,void 0,void 0,(function(){var r,n,o,i,c,p,f,h,g,T,b,_=this;return s(this,(function(N){switch(N.label){case 0:return"sendTransaction"!==e?[3,2]:[4,Promise.all(this.providerConfigs.map((function(e){return e.provider.sendTransaction(t.signedTransaction).then((function(e){return e.hash}),(function(e){return e}))})))];case 1:for(r=N.sent(),n=0;n=T.quorum?(b=i(g))!==undefined?(c.forEach((function(e){e.staller&&e.staller.cancel(),e.cancelled=!0})),[2,{value:b}]):h?[3,4]:[4,E(100).getPromise()]:[3,5];case 3:N.sent(),N.label=4;case 4:h=!1,N.label=5;case 5:return O=c.reduce((function(e,t){if(!t.done||null==t.error)return e;var r=t.error.code;return S.indexOf(r)>=0&&(e[r]||(e[r]={error:t.error,weight:0}),e[r].weight+=t.weight),e}),{}),Object.keys(O).forEach((function(e){var t=O[e];if(!(t.weight<_.quorum)){c.forEach((function(e){e.staller&&e.staller.cancel(),e.cancelled=!0}));var r=t.error,n={};A.forEach((function(e){null!=r[e]&&(n[e]=r[e])})),v.throwError(r.reason||r.message,e,n)}})),0===c.filter((function(e){return!e.done})).length?[2,"break"]:[2]}}))},T=this,N.label=5;case 5:return[5,g()];case 6:return"object"==typeof(b=N.sent())?[2,b.value]:"break"===b?[3,7]:[3,5];case 7:return c.forEach((function(e){e.staller&&e.staller.cancel(),e.cancelled=!0})),[2,v.throwError("failed to meet quorum",m.Logger.errors.SERVER_ERROR,{method:e,params:t,results:c.map((function(e){return k(e)})),provider:this})]}}))}))},t}(f.BaseProvider);r.FallbackProvider=N}}},{package:"@ethersproject/providers",file:"node_modules/@ethersproject/providers/lib/fallback-provider.js"}],[520,{"./_version":511,"@ethersproject/address":467,"@ethersproject/bignumber":474,"@ethersproject/bytes":476,"@ethersproject/constants":480,"@ethersproject/logger":504,"@ethersproject/properties":510,"@ethersproject/transactions":550},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.showThrottleMessage=r.isCommunityResource=r.isCommunityResourcable=r.Formatter=void 0;var n=e("@ethersproject/address"),o=e("@ethersproject/bignumber"),a=e("@ethersproject/bytes"),s=e("@ethersproject/constants"),i=e("@ethersproject/properties"),c=e("@ethersproject/transactions"),u=e("@ethersproject/logger"),l=e("./_version"),d=new u.Logger(l.version),p=function(){function e(){this.formats=this.getDefaultFormats()}return e.prototype.getDefaultFormats=function(){var t=this,r={},n=this.address.bind(this),o=this.bigNumber.bind(this),a=this.blockTag.bind(this),s=this.data.bind(this),c=this.hash.bind(this),u=this.hex.bind(this),l=this.number.bind(this),d=this.type.bind(this);return r.transaction={hash:c,type:d,accessList:e.allowNull(this.accessList.bind(this),null),blockHash:e.allowNull(c,null),blockNumber:e.allowNull(l,null),transactionIndex:e.allowNull(l,null),confirmations:e.allowNull(l,null),from:n,gasPrice:e.allowNull(o),maxPriorityFeePerGas:e.allowNull(o),maxFeePerGas:e.allowNull(o),gasLimit:o,to:e.allowNull(n,null),value:o,nonce:l,data:s,r:e.allowNull(this.uint256),s:e.allowNull(this.uint256),v:e.allowNull(l),creates:e.allowNull(n,null),raw:e.allowNull(s)},r.transactionRequest={from:e.allowNull(n),nonce:e.allowNull(l),gasLimit:e.allowNull(o),gasPrice:e.allowNull(o),maxPriorityFeePerGas:e.allowNull(o),maxFeePerGas:e.allowNull(o),to:e.allowNull(n),value:e.allowNull(o),data:e.allowNull((function(e){return t.data(e,!0)})),type:e.allowNull(l),accessList:e.allowNull(this.accessList.bind(this),null)},r.receiptLog={transactionIndex:l,blockNumber:l,transactionHash:c,address:n,topics:e.arrayOf(c),data:s,logIndex:l,blockHash:c},r.receipt={to:e.allowNull(this.address,null),from:e.allowNull(this.address,null),contractAddress:e.allowNull(n,null),transactionIndex:l,root:e.allowNull(u),gasUsed:o,logsBloom:e.allowNull(s),blockHash:c,transactionHash:c,logs:e.arrayOf(this.receiptLog.bind(this)),blockNumber:l,confirmations:e.allowNull(l,null),cumulativeGasUsed:o,effectiveGasPrice:e.allowNull(o),status:e.allowNull(l),type:d},r.block={hash:e.allowNull(c),parentHash:c,number:l,timestamp:l,nonce:e.allowNull(u),difficulty:this.difficulty.bind(this),gasLimit:o,gasUsed:o,miner:e.allowNull(n),extraData:s,transactions:e.allowNull(e.arrayOf(c)),baseFeePerGas:e.allowNull(o)},r.blockWithTransactions=(0,i.shallowCopy)(r.block),r.blockWithTransactions.transactions=e.allowNull(e.arrayOf(this.transactionResponse.bind(this))),r.filter={fromBlock:e.allowNull(a,undefined),toBlock:e.allowNull(a,undefined),blockHash:e.allowNull(c,undefined),address:e.allowNull(n,undefined),topics:e.allowNull(this.topics.bind(this),undefined)},r.filterLog={blockNumber:e.allowNull(l),blockHash:e.allowNull(c),transactionIndex:l,removed:e.allowNull(this.boolean.bind(this)),address:n,data:e.allowFalsish(s,"0x"),topics:e.arrayOf(c),transactionHash:c,logIndex:l},r},e.prototype.accessList=function(e){return(0,c.accessListify)(e||[])},e.prototype.number=function(e){return"0x"===e?0:o.BigNumber.from(e).toNumber()},e.prototype.type=function(e){return"0x"===e||null==e?0:o.BigNumber.from(e).toNumber()},e.prototype.bigNumber=function(e){return o.BigNumber.from(e)},e.prototype.boolean=function(e){if("boolean"==typeof e)return e;if("string"==typeof e){if("true"===(e=e.toLowerCase()))return!0;if("false"===e)return!1}throw new Error("invalid boolean - "+e)},e.prototype.hex=function(e,t){return"string"==typeof e&&(t||"0x"===e.substring(0,2)||(e="0x"+e),(0,a.isHexString)(e))?e.toLowerCase():d.throwArgumentError("invalid hash","value",e)},e.prototype.data=function(e,t){var r=this.hex(e,t);if(r.length%2!=0)throw new Error("invalid data; odd-length - "+e);return r},e.prototype.address=function(e){return(0,n.getAddress)(e)},e.prototype.callAddress=function(e){if(!(0,a.isHexString)(e,32))return null;var t=(0,n.getAddress)((0,a.hexDataSlice)(e,12));return t===s.AddressZero?null:t},e.prototype.contractAddress=function(e){return(0,n.getContractAddress)(e)},e.prototype.blockTag=function(e){if(null==e)return"latest";if("earliest"===e)return"0x0";switch(e){case"earliest":return"0x0";case"latest":case"pending":case"safe":case"finalized":return e}if("number"==typeof e||(0,a.isHexString)(e))return(0,a.hexValue)(e);throw new Error("invalid blockTag")},e.prototype.hash=function(e,t){var r=this.hex(e,t);return 32!==(0,a.hexDataLength)(r)?d.throwArgumentError("invalid hash","value",e):r},e.prototype.difficulty=function(e){if(null==e)return null;var t=o.BigNumber.from(e);try{return t.toNumber()}catch(e){}return null},e.prototype.uint256=function(e){if(!(0,a.isHexString)(e))throw new Error("invalid uint256");return(0,a.hexZeroPad)(e,32)},e.prototype._block=function(t,r){null!=t.author&&null==t.miner&&(t.miner=t.author);var n=null!=t._difficulty?t._difficulty:t.difficulty,a=e.check(r,t);return a._difficulty=null==n?null:o.BigNumber.from(n),a},e.prototype.block=function(e){return this._block(e,this.formats.block)},e.prototype.blockWithTransactions=function(e){return this._block(e,this.formats.blockWithTransactions)},e.prototype.transactionRequest=function(t){return e.check(this.formats.transactionRequest,t)},e.prototype.transactionResponse=function(t){null!=t.gas&&null==t.gasLimit&&(t.gasLimit=t.gas),t.to&&o.BigNumber.from(t.to).isZero()&&(t.to="0x0000000000000000000000000000000000000000"),null!=t.input&&null==t.data&&(t.data=t.input),null==t.to&&null==t.creates&&(t.creates=this.contractAddress(t)),1!==t.type&&2!==t.type||null!=t.accessList||(t.accessList=[]);var r=e.check(this.formats.transaction,t);if(null!=t.chainId){var n=t.chainId;(0,a.isHexString)(n)&&(n=o.BigNumber.from(n).toNumber()),r.chainId=n}else{null==(n=t.networkId)&&null==r.v&&(n=t.chainId),(0,a.isHexString)(n)&&(n=o.BigNumber.from(n).toNumber()),"number"!=typeof n&&null!=r.v&&((n=(r.v-35)/2)<0&&(n=0),n=parseInt(n)),"number"!=typeof n&&(n=0),r.chainId=n}return r.blockHash&&"x"===r.blockHash.replace(/0/g,"")&&(r.blockHash=null),r},e.prototype.transaction=function(e){return(0,c.parse)(e)},e.prototype.receiptLog=function(t){return e.check(this.formats.receiptLog,t)},e.prototype.receipt=function(t){var r=e.check(this.formats.receipt,t);if(null!=r.root)if(r.root.length<=4){var n=o.BigNumber.from(r.root).toNumber();0===n||1===n?(null!=r.status&&r.status!==n&&d.throwArgumentError("alt-root-status/status mismatch","value",{root:r.root,status:r.status}),r.status=n,delete r.root):d.throwArgumentError("invalid alt-root-status","value.root",r.root)}else 66!==r.root.length&&d.throwArgumentError("invalid root hash","value.root",r.root);return null!=r.status&&(r.byzantium=!0),r},e.prototype.topics=function(e){var t=this;return Array.isArray(e)?e.map((function(e){return t.topics(e)})):null!=e?this.hash(e,!0):null},e.prototype.filter=function(t){return e.check(this.formats.filter,t)},e.prototype.filterLog=function(t){return e.check(this.formats.filterLog,t)},e.check=function(e,t){var r={};for(var n in e)try{var o=e[n](t[n]);o!==undefined&&(r[n]=o)}catch(e){throw e.checkKey=n,e.checkValue=t[n],e}return r},e.allowNull=function(e,t){return function(r){return null==r?t:e(r)}},e.allowFalsish=function(e,t){return function(r){return r?e(r):t}},e.arrayOf=function(e){return function(t){if(!Array.isArray(t))throw new Error("not an array");var r=[];return t.forEach((function(t){r.push(e(t))})),r}},e}();function f(e){return e&&"function"==typeof e.isCommunityResource}r.Formatter=p,r.isCommunityResourcable=f,r.isCommunityResource=function(e){return f(e)&&e.isCommunityResource()};var h=!1;r.showThrottleMessage=function(){h||(h=!0,console.log("========= NOTICE ========="),console.log("Request-Rate Exceeded (this message will not be repeated)"),console.log(""),console.log("The default API keys for each service are provided as a highly-throttled,"),console.log("community resource for low-traffic projects and early prototyping."),console.log(""),console.log("While your application will continue to function, we highly recommended"),console.log("signing up for your own API keys to improve performance, increase your"),console.log("request rate/limit and enable other perks, such as metrics and advanced APIs."),console.log(""),console.log("For more details: https://docs.ethers.io/api-keys/"),console.log("=========================="))}}}},{package:"@ethersproject/providers",file:"node_modules/@ethersproject/providers/lib/formatter.js"}],[521,{"./_version":511,"./alchemy-provider":512,"./ankr-provider":513,"./base-provider":514,"./cloudflare-provider":517,"./etherscan-provider":518,"./fallback-provider":519,"./formatter":520,"./infura-provider":522,"./ipc-provider":515,"./json-rpc-batch-provider":523,"./json-rpc-provider":524,"./nodesmith-provider":525,"./pocket-provider":526,"./url-json-rpc-provider":527,"./web3-provider":528,"./websocket-provider":529,"@ethersproject/abstract-provider":463,"@ethersproject/logger":504,"@ethersproject/networks":506},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.Formatter=r.showThrottleMessage=r.isCommunityResourcable=r.isCommunityResource=r.getNetwork=r.getDefaultProvider=r.JsonRpcSigner=r.IpcProvider=r.WebSocketProvider=r.Web3Provider=r.StaticJsonRpcProvider=r.PocketProvider=r.NodesmithProvider=r.JsonRpcBatchProvider=r.JsonRpcProvider=r.InfuraWebSocketProvider=r.InfuraProvider=r.EtherscanProvider=r.CloudflareProvider=r.AnkrProvider=r.AlchemyWebSocketProvider=r.AlchemyProvider=r.FallbackProvider=r.UrlJsonRpcProvider=r.Resolver=r.BaseProvider=r.Provider=void 0;var n=e("@ethersproject/abstract-provider");Object.defineProperty(r,"Provider",{enumerable:!0,get:function(){return n.Provider}});var o=e("@ethersproject/networks");Object.defineProperty(r,"getNetwork",{enumerable:!0,get:function(){return o.getNetwork}});var a=e("./base-provider");Object.defineProperty(r,"BaseProvider",{enumerable:!0,get:function(){return a.BaseProvider}}),Object.defineProperty(r,"Resolver",{enumerable:!0,get:function(){return a.Resolver}});var s=e("./alchemy-provider");Object.defineProperty(r,"AlchemyProvider",{enumerable:!0,get:function(){return s.AlchemyProvider}}),Object.defineProperty(r,"AlchemyWebSocketProvider",{enumerable:!0,get:function(){return s.AlchemyWebSocketProvider}});var i=e("./ankr-provider");Object.defineProperty(r,"AnkrProvider",{enumerable:!0,get:function(){return i.AnkrProvider}});var c=e("./cloudflare-provider");Object.defineProperty(r,"CloudflareProvider",{enumerable:!0,get:function(){return c.CloudflareProvider}});var u=e("./etherscan-provider");Object.defineProperty(r,"EtherscanProvider",{enumerable:!0,get:function(){return u.EtherscanProvider}});var l=e("./fallback-provider");Object.defineProperty(r,"FallbackProvider",{enumerable:!0,get:function(){return l.FallbackProvider}});var d=e("./ipc-provider");Object.defineProperty(r,"IpcProvider",{enumerable:!0,get:function(){return d.IpcProvider}});var p=e("./infura-provider");Object.defineProperty(r,"InfuraProvider",{enumerable:!0,get:function(){return p.InfuraProvider}}),Object.defineProperty(r,"InfuraWebSocketProvider",{enumerable:!0,get:function(){return p.InfuraWebSocketProvider}});var f=e("./json-rpc-provider");Object.defineProperty(r,"JsonRpcProvider",{enumerable:!0,get:function(){return f.JsonRpcProvider}}),Object.defineProperty(r,"JsonRpcSigner",{enumerable:!0,get:function(){return f.JsonRpcSigner}});var h=e("./json-rpc-batch-provider");Object.defineProperty(r,"JsonRpcBatchProvider",{enumerable:!0,get:function(){return h.JsonRpcBatchProvider}});var m=e("./nodesmith-provider");Object.defineProperty(r,"NodesmithProvider",{enumerable:!0,get:function(){return m.NodesmithProvider}});var g=e("./pocket-provider");Object.defineProperty(r,"PocketProvider",{enumerable:!0,get:function(){return g.PocketProvider}});var v=e("./url-json-rpc-provider");Object.defineProperty(r,"StaticJsonRpcProvider",{enumerable:!0,get:function(){return v.StaticJsonRpcProvider}}),Object.defineProperty(r,"UrlJsonRpcProvider",{enumerable:!0,get:function(){return v.UrlJsonRpcProvider}});var y=e("./web3-provider");Object.defineProperty(r,"Web3Provider",{enumerable:!0,get:function(){return y.Web3Provider}});var T=e("./websocket-provider");Object.defineProperty(r,"WebSocketProvider",{enumerable:!0,get:function(){return T.WebSocketProvider}});var b=e("./formatter");Object.defineProperty(r,"Formatter",{enumerable:!0,get:function(){return b.Formatter}}),Object.defineProperty(r,"isCommunityResourcable",{enumerable:!0,get:function(){return b.isCommunityResourcable}}),Object.defineProperty(r,"isCommunityResource",{enumerable:!0,get:function(){return b.isCommunityResource}}),Object.defineProperty(r,"showThrottleMessage",{enumerable:!0,get:function(){return b.showThrottleMessage}});var _=e("@ethersproject/logger"),w=e("./_version"),E=new _.Logger(w.version);r.getDefaultProvider=function(e,t){if(null==e&&(e="homestead"),"string"==typeof e){var r=e.match(/^(ws|http)s?:/i);if(r)switch(r[1].toLowerCase()){case"http":case"https":return new f.JsonRpcProvider(e);case"ws":case"wss":return new T.WebSocketProvider(e);default:E.throwArgumentError("unsupported URL scheme","network",e)}}var n=(0,o.getNetwork)(e);return n&&n._defaultProvider||E.throwError("unsupported getDefaultProvider network",_.Logger.errors.NETWORK_ERROR,{operation:"getDefaultProvider",network:e}),n._defaultProvider({FallbackProvider:l.FallbackProvider,AlchemyProvider:s.AlchemyProvider,AnkrProvider:i.AnkrProvider,CloudflareProvider:c.CloudflareProvider,EtherscanProvider:u.EtherscanProvider,InfuraProvider:p.InfuraProvider,JsonRpcProvider:f.JsonRpcProvider,NodesmithProvider:m.NodesmithProvider,PocketProvider:g.PocketProvider,Web3Provider:y.Web3Provider,IpcProvider:d.IpcProvider},t)}}}},{package:"@ethersproject/providers",file:"node_modules/@ethersproject/providers/lib/index.js"}],[522,{"./_version":511,"./formatter":520,"./url-json-rpc-provider":527,"./websocket-provider":529,"@ethersproject/logger":504,"@ethersproject/properties":510},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.InfuraProvider=r.InfuraWebSocketProvider=void 0;var a=e("@ethersproject/properties"),s=e("./websocket-provider"),i=e("./formatter"),c=e("@ethersproject/logger"),u=e("./_version"),l=new c.Logger(u.version),d=e("./url-json-rpc-provider"),p="84842078b09946638c03157f83405213",f=function(e){function t(t,r){var n,o=new h(t,r),s=o.connection;s.password&&l.throwError("INFURA WebSocket project secrets unsupported",c.Logger.errors.UNSUPPORTED_OPERATION,{operation:"InfuraProvider.getWebSocketProvider()"});var i=s.url.replace(/^http/i,"ws").replace("/v3/","/ws/v3/");return n=e.call(this,i,t)||this,(0,a.defineReadOnly)(n,"apiKey",o.projectId),(0,a.defineReadOnly)(n,"projectId",o.projectId),(0,a.defineReadOnly)(n,"projectSecret",o.projectSecret),n}return o(t,e),t.prototype.isCommunityResource=function(){return this.projectId===p},t}(s.WebSocketProvider);r.InfuraWebSocketProvider=f;var h=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.getWebSocketProvider=function(e,t){return new f(e,t)},t.getApiKey=function(e){var t={apiKey:p,projectId:p,projectSecret:null};return null==e||("string"==typeof e?t.projectId=e:null!=e.projectSecret?(l.assertArgument("string"==typeof e.projectId,"projectSecret requires a projectId","projectId",e.projectId),l.assertArgument("string"==typeof e.projectSecret,"invalid projectSecret","projectSecret","[REDACTED]"),t.projectId=e.projectId,t.projectSecret=e.projectSecret):e.projectId&&(t.projectId=e.projectId),t.apiKey=t.projectId),t},t.getUrl=function(e,t){var r=null;switch(e?e.name:"unknown"){case"homestead":r="mainnet.infura.io";break;case"goerli":r="goerli.infura.io";break;case"sepolia":r="sepolia.infura.io";break;case"matic":r="polygon-mainnet.infura.io";break;case"maticmum":r="polygon-mumbai.infura.io";break;case"optimism":r="optimism-mainnet.infura.io";break;case"optimism-goerli":r="optimism-goerli.infura.io";break;case"arbitrum":r="arbitrum-mainnet.infura.io";break;case"arbitrum-goerli":r="arbitrum-goerli.infura.io";break;default:l.throwError("unsupported network",c.Logger.errors.INVALID_ARGUMENT,{argument:"network",value:e})}var n={allowGzip:!0,url:"https://"+r+"/v3/"+t.projectId,throttleCallback:function(e,r){return t.projectId===p&&(0,i.showThrottleMessage)(),Promise.resolve(!0)}};return null!=t.projectSecret&&(n.user="",n.password=t.projectSecret),n},t.prototype.isCommunityResource=function(){return this.projectId===p},t}(d.UrlJsonRpcProvider);r.InfuraProvider=h}}},{package:"@ethersproject/providers",file:"node_modules/@ethersproject/providers/lib/infura-provider.js"}],[523,{"./json-rpc-provider":524,"@ethersproject/properties":510,"@ethersproject/web":555},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.JsonRpcBatchProvider=void 0;var a=e("@ethersproject/properties"),s=e("@ethersproject/web"),i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.send=function(e,t){var r=this,n={method:e,params:t,id:this._nextId++,jsonrpc:"2.0"};null==this._pendingBatch&&(this._pendingBatch=[]);var o={request:n,resolve:null,reject:null},i=new Promise((function(e,t){o.resolve=e,o.reject=t}));return this._pendingBatch.push(o),this._pendingBatchAggregator||(this._pendingBatchAggregator=setTimeout((function(){var e=r._pendingBatch;r._pendingBatch=null,r._pendingBatchAggregator=null;var t=e.map((function(e){return e.request}));return r.emit("debug",{action:"requestBatch",request:(0,a.deepCopy)(t),provider:r}),(0,s.fetchJson)(r.connection,JSON.stringify(t)).then((function(n){r.emit("debug",{action:"response",request:t,response:n,provider:r}),e.forEach((function(e,t){var r=n[t];if(r.error){var o=new Error(r.error.message);o.code=r.error.code,o.data=r.error.data,e.reject(o)}else e.resolve(r.result)}))}),(function(n){r.emit("debug",{action:"response",error:n,request:t,provider:r}),e.forEach((function(e){e.reject(n)}))}))}),10)),i},t}(e("./json-rpc-provider").JsonRpcProvider);r.JsonRpcBatchProvider=i}}},{package:"@ethersproject/providers",file:"node_modules/@ethersproject/providers/lib/json-rpc-batch-provider.js"}],[524,{"./_version":511,"./base-provider":514,"@ethersproject/abstract-signer":465,"@ethersproject/bignumber":474,"@ethersproject/bytes":476,"@ethersproject/hash":489,"@ethersproject/logger":504,"@ethersproject/properties":510,"@ethersproject/strings":547,"@ethersproject/transactions":550,"@ethersproject/web":555},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),a=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,a){function s(e){try{c(n.next(e))}catch(e){a(e)}}function i(e){try{c(n.throw(e))}catch(e){a(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,i)}c((n=n.apply(e,t||[])).next())}))},s=this&&this.__generator||function(e,t){var r,n,o,a,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:i(0),throw:i(1),return:i(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function i(a){return function(i){return function(a){if(r)throw new TypeError("Generator is already executing.");for(;s;)try{if(r=1,n&&(o=2&a[0]?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,n=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!(o=s.trys,(o=o.length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]=0&&a.match(/gas required exceeds allowance|always failing transaction|execution reverted|revert/)&&v.throwError("cannot estimate gas; transaction may fail or may require manual gas limit",m.Logger.errors.UNPREDICTABLE_GAS_LIMIT,{error:t,method:e,transaction:n}),t}function w(e){return new Promise((function(t){setTimeout(t,e)}))}function E(e){if(e.error){var t=new Error(e.error.message);throw t.code=e.error.code,t.data=e.error.data,t}return e.result}function S(e){return e?e.toLowerCase():e}var A={},k=function(e){function t(t,r,n){var o=e.call(this)||this;if(t!==A)throw new Error("do not call the JsonRpcSigner constructor directly; use provider.getSigner");return(0,d.defineReadOnly)(o,"provider",r),null==n&&(n=0),"string"==typeof n?((0,d.defineReadOnly)(o,"_address",o.provider.formatter.address(n)),(0,d.defineReadOnly)(o,"_index",null)):"number"==typeof n?((0,d.defineReadOnly)(o,"_index",n),(0,d.defineReadOnly)(o,"_address",null)):v.throwArgumentError("invalid address or index","addressOrIndex",n),o}return o(t,e),t.prototype.connect=function(e){return v.throwError("cannot alter JSON-RPC Signer connection",m.Logger.errors.UNSUPPORTED_OPERATION,{operation:"connect"})},t.prototype.connectUnchecked=function(){return new O(A,this.provider,this._address||this._index)},t.prototype.getAddress=function(){var e=this;return this._address?Promise.resolve(this._address):this.provider.send("eth_accounts",[]).then((function(t){return t.length<=e._index&&v.throwError("unknown account #"+e._index,m.Logger.errors.UNSUPPORTED_OPERATION,{operation:"getAddress"}),e.provider.formatter.address(t[e._index])}))},t.prototype.sendUncheckedTransaction=function(e){var t=this;e=(0,d.shallowCopy)(e);var r=this.getAddress().then((function(e){return e&&(e=e.toLowerCase()),e}));if(null==e.gasLimit){var n=(0,d.shallowCopy)(e);n.from=r,e.gasLimit=this.provider.estimateGas(n)}return null!=e.to&&(e.to=Promise.resolve(e.to).then((function(e){return a(t,void 0,void 0,(function(){var t;return s(this,(function(r){switch(r.label){case 0:return null==e?[2,null]:[4,this.provider.resolveName(e)];case 1:return null==(t=r.sent())&&v.throwArgumentError("provided ENS name resolves to null","tx.to",e),[2,t]}}))}))}))),(0,d.resolveProperties)({tx:(0,d.resolveProperties)(e),sender:r}).then((function(r){var n=r.tx,o=r.sender;null!=n.from?n.from.toLowerCase()!==o&&v.throwArgumentError("from address mismatch","transaction",e):n.from=o;var a=t.provider.constructor.hexlifyTransaction(n,{from:!0});return t.provider.send("eth_sendTransaction",[a]).then((function(e){return e}),(function(e){return"string"==typeof e.message&&e.message.match(/user denied/i)&&v.throwError("user rejected transaction",m.Logger.errors.ACTION_REJECTED,{action:"sendTransaction",transaction:n}),_("sendTransaction",e,a)}))}))},t.prototype.signTransaction=function(e){return v.throwError("signing transactions is unsupported",m.Logger.errors.UNSUPPORTED_OPERATION,{operation:"signTransaction"})},t.prototype.sendTransaction=function(e){return a(this,void 0,void 0,(function(){var t,r,n,o=this;return s(this,(function(i){switch(i.label){case 0:return[4,this.provider._getInternalBlockNumber(100+2*this.provider.pollingInterval)];case 1:return t=i.sent(),[4,this.sendUncheckedTransaction(e)];case 2:r=i.sent(),i.label=3;case 3:return i.trys.push([3,5,,6]),[4,(0,h.poll)((function(){return a(o,void 0,void 0,(function(){var e;return s(this,(function(n){switch(n.label){case 0:return[4,this.provider.getTransaction(r)];case 1:return null===(e=n.sent())?[2,undefined]:[2,this.provider._wrapTransaction(e,r,t)]}}))}))}),{oncePoll:this.provider})];case 4:return[2,i.sent()];case 5:throw(n=i.sent()).transactionHash=r,n;case 6:return[2]}}))}))},t.prototype.signMessage=function(e){return a(this,void 0,void 0,(function(){var t,r,n;return s(this,(function(o){switch(o.label){case 0:return t="string"==typeof e?(0,p.toUtf8Bytes)(e):e,[4,this.getAddress()];case 1:r=o.sent(),o.label=2;case 2:return o.trys.push([2,4,,5]),[4,this.provider.send("personal_sign",[(0,u.hexlify)(t),r.toLowerCase()])];case 3:return[2,o.sent()];case 4:throw"string"==typeof(n=o.sent()).message&&n.message.match(/user denied/i)&&v.throwError("user rejected signing",m.Logger.errors.ACTION_REJECTED,{action:"signMessage",from:r,messageData:e}),n;case 5:return[2]}}))}))},t.prototype._legacySignMessage=function(e){return a(this,void 0,void 0,(function(){var t,r,n;return s(this,(function(o){switch(o.label){case 0:return t="string"==typeof e?(0,p.toUtf8Bytes)(e):e,[4,this.getAddress()];case 1:r=o.sent(),o.label=2;case 2:return o.trys.push([2,4,,5]),[4,this.provider.send("eth_sign",[r.toLowerCase(),(0,u.hexlify)(t)])];case 3:return[2,o.sent()];case 4:throw"string"==typeof(n=o.sent()).message&&n.message.match(/user denied/i)&&v.throwError("user rejected signing",m.Logger.errors.ACTION_REJECTED,{action:"_legacySignMessage",from:r,messageData:e}),n;case 5:return[2]}}))}))},t.prototype._signTypedData=function(e,t,r){return a(this,void 0,void 0,(function(){var n,o,a,i=this;return s(this,(function(s){switch(s.label){case 0:return[4,l._TypedDataEncoder.resolveNames(e,t,r,(function(e){return i.provider.resolveName(e)}))];case 1:return n=s.sent(),[4,this.getAddress()];case 2:o=s.sent(),s.label=3;case 3:return s.trys.push([3,5,,6]),[4,this.provider.send("eth_signTypedData_v4",[o.toLowerCase(),JSON.stringify(l._TypedDataEncoder.getPayload(n.domain,t,n.value))])];case 4:return[2,s.sent()];case 5:throw"string"==typeof(a=s.sent()).message&&a.message.match(/user denied/i)&&v.throwError("user rejected signing",m.Logger.errors.ACTION_REJECTED,{action:"_signTypedData",from:o,messageData:{domain:n.domain,types:t,value:n.value}}),a;case 6:return[2]}}))}))},t.prototype.unlock=function(e){return a(this,void 0,void 0,(function(){var t,r;return s(this,(function(n){switch(n.label){case 0:return t=this.provider,[4,this.getAddress()];case 1:return r=n.sent(),[2,t.send("personal_unlockAccount",[r.toLowerCase(),e,null])]}}))}))},t}(i.Signer);r.JsonRpcSigner=k;var O=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.sendTransaction=function(e){var t=this;return this.sendUncheckedTransaction(e).then((function(e){return{hash:e,nonce:null,gasLimit:null,gasPrice:null,data:null,value:null,chainId:null,confirmations:0,from:null,wait:function(r){return t.provider.waitForTransaction(e,r)}}}))},t}(k),P={chainId:!0,data:!0,gasLimit:!0,gasPrice:!0,nonce:!0,to:!0,value:!0,type:!0,accessList:!0,maxFeePerGas:!0,maxPriorityFeePerGas:!0},N=function(e){function t(t,r){var n=this,o=r;return null==o&&(o=new Promise((function(e,t){setTimeout((function(){n.detectNetwork().then((function(t){e(t)}),(function(e){t(e)}))}),0)}))),n=e.call(this,o)||this,t||(t=(0,d.getStatic)(n.constructor,"defaultUrl")()),"string"==typeof t?(0,d.defineReadOnly)(n,"connection",Object.freeze({url:t})):(0,d.defineReadOnly)(n,"connection",Object.freeze((0,d.shallowCopy)(t))),n._nextId=42,n}return o(t,e),Object.defineProperty(t.prototype,"_cache",{get:function(){return null==this._eventLoopCache&&(this._eventLoopCache={}),this._eventLoopCache},enumerable:!1,configurable:!0}),t.defaultUrl=function(){return"http://localhost:8545"},t.prototype.detectNetwork=function(){var e=this;return this._cache.detectNetwork||(this._cache.detectNetwork=this._uncachedDetectNetwork(),setTimeout((function(){e._cache.detectNetwork=null}),0)),this._cache.detectNetwork},t.prototype._uncachedDetectNetwork=function(){return a(this,void 0,void 0,(function(){var e,t;return s(this,(function(r){switch(r.label){case 0:return[4,w(0)];case 1:r.sent(),e=null,r.label=2;case 2:return r.trys.push([2,4,,9]),[4,this.send("eth_chainId",[])];case 3:return e=r.sent(),[3,9];case 4:r.sent(),r.label=5;case 5:return r.trys.push([5,7,,8]),[4,this.send("net_version",[])];case 6:return e=r.sent(),[3,8];case 7:return r.sent(),[3,8];case 8:return[3,9];case 9:if(null!=e){t=(0,d.getStatic)(this.constructor,"getNetwork");try{return[2,t(c.BigNumber.from(e).toNumber())]}catch(t){return[2,v.throwError("could not detect network",m.Logger.errors.NETWORK_ERROR,{chainId:e,event:"invalidNetwork",serverError:t})]}}return[2,v.throwError("could not detect network",m.Logger.errors.NETWORK_ERROR,{event:"noNetwork"})]}}))}))},t.prototype.getSigner=function(e){return new k(A,this,e)},t.prototype.getUncheckedSigner=function(e){return this.getSigner(e).connectUnchecked()},t.prototype.listAccounts=function(){var e=this;return this.send("eth_accounts",[]).then((function(t){return t.map((function(t){return e.formatter.address(t)}))}))},t.prototype.send=function(e,t){var r=this,n={method:e,params:t,id:this._nextId++,jsonrpc:"2.0"};this.emit("debug",{action:"request",request:(0,d.deepCopy)(n),provider:this});var o=["eth_chainId","eth_blockNumber"].indexOf(e)>=0;if(o&&this._cache[e])return this._cache[e];var a=(0,h.fetchJson)(this.connection,JSON.stringify(n),E).then((function(e){return r.emit("debug",{action:"response",request:n,response:e,provider:r}),e}),(function(e){throw r.emit("debug",{action:"response",error:e,request:n,provider:r}),e}));return o&&(this._cache[e]=a,setTimeout((function(){r._cache[e]=null}),0)),a},t.prototype.prepareRequest=function(e,t){switch(e){case"getBlockNumber":return["eth_blockNumber",[]];case"getGasPrice":return["eth_gasPrice",[]];case"getBalance":return["eth_getBalance",[S(t.address),t.blockTag]];case"getTransactionCount":return["eth_getTransactionCount",[S(t.address),t.blockTag]];case"getCode":return["eth_getCode",[S(t.address),t.blockTag]];case"getStorageAt":return["eth_getStorageAt",[S(t.address),(0,u.hexZeroPad)(t.position,32),t.blockTag]];case"sendTransaction":return["eth_sendRawTransaction",[t.signedTransaction]];case"getBlock":return t.blockTag?["eth_getBlockByNumber",[t.blockTag,!!t.includeTransactions]]:t.blockHash?["eth_getBlockByHash",[t.blockHash,!!t.includeTransactions]]:null;case"getTransaction":return["eth_getTransactionByHash",[t.transactionHash]];case"getTransactionReceipt":return["eth_getTransactionReceipt",[t.transactionHash]];case"call":return["eth_call",[(0,d.getStatic)(this.constructor,"hexlifyTransaction")(t.transaction,{from:!0}),t.blockTag]];case"estimateGas":return["eth_estimateGas",[(0,d.getStatic)(this.constructor,"hexlifyTransaction")(t.transaction,{from:!0})]];case"getLogs":return t.filter&&null!=t.filter.address&&(t.filter.address=S(t.filter.address)),["eth_getLogs",[t.filter]]}return null},t.prototype.perform=function(e,t){return a(this,void 0,void 0,(function(){var r,n,o,a;return s(this,(function(s){switch(s.label){case 0:return"call"!==e&&"estimateGas"!==e?[3,2]:(r=t.transaction)&&null!=r.type&&c.BigNumber.from(r.type).isZero()?null!=r.maxFeePerGas||null!=r.maxPriorityFeePerGas?[3,2]:[4,this.getFeeData()]:[3,2];case 1:null==(n=s.sent()).maxFeePerGas&&null==n.maxPriorityFeePerGas&&((t=(0,d.shallowCopy)(t)).transaction=(0,d.shallowCopy)(r),delete t.transaction.type),s.label=2;case 2:null==(o=this.prepareRequest(e,t))&&v.throwError(e+" not implemented",m.Logger.errors.NOT_IMPLEMENTED,{operation:e}),s.label=3;case 3:return s.trys.push([3,5,,6]),[4,this.send(o[0],o[1])];case 4:return[2,s.sent()];case 5:return a=s.sent(),[2,_(e,a,t)];case 6:return[2]}}))}))},t.prototype._startEvent=function(t){"pending"===t.tag&&this._startPending(),e.prototype._startEvent.call(this,t)},t.prototype._startPending=function(){if(null==this._pendingFilter){var e=this,t=this.send("eth_newPendingTransactionFilter",[]);this._pendingFilter=t,t.then((function(r){return function n(){e.send("eth_getFilterChanges",[r]).then((function(r){if(e._pendingFilter!=t)return null;var n=Promise.resolve();return r.forEach((function(t){e._emitted["t:"+t.toLowerCase()]="pending",n=n.then((function(){return e.getTransaction(t).then((function(t){return e.emit("pending",t),null}))}))})),n.then((function(){return w(1e3)}))})).then((function(){if(e._pendingFilter==t)return setTimeout((function(){n()}),0),null;e.send("eth_uninstallFilter",[r])})).catch((function(e){}))}(),r})).catch((function(e){}))}},t.prototype._stopEvent=function(t){"pending"===t.tag&&0===this.listenerCount("pending")&&(this._pendingFilter=null),e.prototype._stopEvent.call(this,t)},t.hexlifyTransaction=function(e,t){var r=(0,d.shallowCopy)(P);if(t)for(var n in t)t[n]&&(r[n]=!0);(0,d.checkProperties)(e,r);var o={};return["chainId","gasLimit","gasPrice","type","maxFeePerGas","maxPriorityFeePerGas","nonce","value"].forEach((function(t){if(null!=e[t]){var r=(0,u.hexValue)(c.BigNumber.from(e[t]));"gasLimit"===t&&(t="gas"),o[t]=r}})),["from","to","data"].forEach((function(t){null!=e[t]&&(o[t]=(0,u.hexlify)(e[t]))})),e.accessList&&(o.accessList=(0,f.accessListify)(e.accessList)),o},t}(y.BaseProvider);r.JsonRpcProvider=N}}},{package:"@ethersproject/providers",file:"node_modules/@ethersproject/providers/lib/json-rpc-provider.js"}],[5243,{blo:2979,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=s(e("react")),o=s(e("prop-types")),a=e("blo");function s(e){return e&&e.__esModule?e:{default:e}}const i=({address:e,diameter:t,alt:r="",borderRadius:o})=>n.default.createElement("img",{src:(0,a.blo)(e),height:t,width:t,style:{borderRadius:o},alt:r});i.propTypes={address:o.default.string.isRequired,diameter:o.default.number.isRequired,alt:o.default.string,borderRadius:o.default.string};r.default=i}}},{package:"$root$",file:"ui/components/ui/identicon/blockieIdenticon/blockieIdenticon.component.js"}],[525,{"./_version":511,"./url-json-rpc-provider":527,"@ethersproject/logger":504},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.NodesmithProvider=void 0;var a=e("./url-json-rpc-provider"),s=e("@ethersproject/logger"),i=e("./_version"),c=new s.Logger(i.version),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.getApiKey=function(e){return e&&"string"!=typeof e&&c.throwArgumentError("invalid apiKey","apiKey",e),e||"ETHERS_JS_SHARED"},t.getUrl=function(e,t){c.warn("NodeSmith will be discontinued on 2019-12-20; please migrate to another platform.");var r=null;switch(e.name){case"homestead":r="https://ethereum.api.nodesmith.io/v1/mainnet/jsonrpc";break;case"ropsten":r="https://ethereum.api.nodesmith.io/v1/ropsten/jsonrpc";break;case"rinkeby":r="https://ethereum.api.nodesmith.io/v1/rinkeby/jsonrpc";break;case"goerli":r="https://ethereum.api.nodesmith.io/v1/goerli/jsonrpc";break;case"kovan":r="https://ethereum.api.nodesmith.io/v1/kovan/jsonrpc";break;default:c.throwArgumentError("unsupported network","network",arguments[0])}return r+"?apiKey="+t},t}(a.UrlJsonRpcProvider);r.NodesmithProvider=u}}},{package:"@ethersproject/providers",file:"node_modules/@ethersproject/providers/lib/nodesmith-provider.js"}],[5252,{"../../../helpers/utils/icon-factory":5387,"@metamask/jazzicon":1395,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=i(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=e[a]}return n.default=e,r&&r.set(e,n),n}(e("react")),o=s(e("prop-types")),a=s(e("@metamask/jazzicon"));function s(e){return e&&e.__esModule?e:{default:e}}function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(i=function(e){return e?r:t})(e)}const c=(0,s(e("../../../helpers/utils/icon-factory")).default)(a.default);function u({address:e,className:t,diameter:r=46,style:o,tokenList:a={}}){const s=(0,n.useRef)();return(0,n.useEffect)((()=>{const t=s.current,n=c.iconForAddress(e,r,a[null==e?void 0:e.toLowerCase()]);return null==t||t.appendChild(n),()=>{for(;t.firstChild;)t.firstChild.remove()}}),[e,r,a]),n.default.createElement("div",{ref:s,className:t,style:o})}u.propTypes={address:o.default.string.isRequired,className:o.default.string,diameter:o.default.number,style:o.default.object,tokenList:o.default.object};r.default=u}}},{package:"$root$",file:"ui/components/ui/jazzicon/jazzicon.component.js"}],[526,{"./_version":511,"./url-json-rpc-provider":527,"@ethersproject/logger":504},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.PocketProvider=void 0;var a=e("@ethersproject/logger"),s=e("./_version"),i=new a.Logger(s.version),c=e("./url-json-rpc-provider"),u="62e1ad51b37b8e00394bda3b",l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.getApiKey=function(e){var t={applicationId:null,loadBalancer:!0,applicationSecretKey:null};return null==e?t.applicationId=u:"string"==typeof e?t.applicationId=e:null!=e.applicationSecretKey?(t.applicationId=e.applicationId,t.applicationSecretKey=e.applicationSecretKey):e.applicationId?t.applicationId=e.applicationId:i.throwArgumentError("unsupported PocketProvider apiKey","apiKey",e),t},t.getUrl=function(e,t){var r=null;switch(e?e.name:"unknown"){case"goerli":r="eth-goerli.gateway.pokt.network";break;case"homestead":r="eth-mainnet.gateway.pokt.network";break;case"kovan":r="poa-kovan.gateway.pokt.network";break;case"matic":r="poly-mainnet.gateway.pokt.network";break;case"maticmum":r="polygon-mumbai-rpc.gateway.pokt.network";break;case"rinkeby":r="eth-rinkeby.gateway.pokt.network";break;case"ropsten":r="eth-ropsten.gateway.pokt.network";break;default:i.throwError("unsupported network",a.Logger.errors.INVALID_ARGUMENT,{argument:"network",value:e})}var n={headers:{},url:"https://"+r+"/v1/lb/"+t.applicationId};return null!=t.applicationSecretKey&&(n.user="",n.password=t.applicationSecretKey),n},t.prototype.isCommunityResource=function(){return this.applicationId===u},t}(c.UrlJsonRpcProvider);r.PocketProvider=l}}},{package:"@ethersproject/providers",file:"node_modules/@ethersproject/providers/lib/pocket-provider.js"}],[527,{"./_version":511,"./json-rpc-provider":524,"@ethersproject/logger":504,"@ethersproject/properties":510},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),a=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,a){function s(e){try{c(n.next(e))}catch(e){a(e)}}function i(e){try{c(n.throw(e))}catch(e){a(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,i)}c((n=n.apply(e,t||[])).next())}))},s=this&&this.__generator||function(e,t){var r,n,o,a,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:i(0),throw:i(1),return:i(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function i(a){return function(i){return function(a){if(r)throw new TypeError("Generator is already executing.");for(;s;)try{if(r=1,n&&(o=2&a[0]?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,n=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!(o=s.trys,(o=o.length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]0&&o[o.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]>25;return(33554431&e)<<5^996825010&-(1&t)^642813549&-(t>>1&1)^513874426&-(t>>2&1)^1027748829&-(t>>3&1)^705979059&-(t>>4&1)}function c(e){for(var t=1,r=0;r126)return"Invalid prefix ("+e+")";t=i(t)^n>>5}for(t=i(t),r=0;rt)return"Exceeds length limit";var r=e.toLowerCase(),n=e.toUpperCase();if(e!==r&&e!==n)return"Mixed-case string "+e;var a=(e=r).lastIndexOf("1");if(-1===a)return"No separator character for "+e;if(0===a)return"Missing prefix for "+e;var s=e.slice(0,a),u=e.slice(a+1);if(u.length<6)return"Data too short";var l=c(s);if("string"==typeof l)return l;for(var d=[],p=0;p=u.length||d.push(h)}return 1!==l?"Invalid checksum for "+e:{prefix:s,words:d}}function l(e,t,r,n){for(var o=0,a=0,s=(1<=r;)a-=r,i.push(o>>a&s);if(n)a>0&&i.push(o<=t)return"Excess padding";if(o<r)throw new TypeError("Exceeds length limit");var o=c(e=e.toLowerCase());if("string"==typeof o)throw new Error(o);for(var a=e+"1",s=0;s>5)throw new Error("Non 5-bit word");o=i(o)^u,a+=n.charAt(u)}for(s=0;s<6;++s)o=i(o);for(o^=1,s=0;s<6;++s){a+=n.charAt(o>>5*(5-s)&31)}return a},toWordsUnsafe:function(e){var t=l(e,8,5,!0);if(Array.isArray(t))return t},toWords:function(e){var t=l(e,8,5,!0);if(Array.isArray(t))return t;throw new Error(t)},fromWordsUnsafe:function(e){var t=l(e,5,8,!1);if(Array.isArray(t))return t},fromWords:function(e){var t=l(e,5,8,!1);if(Array.isArray(t))return t;throw new Error(t)}}}}},{package:"@ethersproject/providers>bech32",file:"node_modules/@ethersproject/providers/node_modules/bech32/index.js"}],[531,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.version=void 0,r.version="random/5.7.0"}}},{package:"@ethersproject/wallet>@ethersproject/random",file:"node_modules/@ethersproject/random/lib/_version.js"}],[532,{"./_version":531,"@ethersproject/bytes":476,"@ethersproject/logger":504},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.randomBytes=void 0;var n=e("@ethersproject/bytes"),o=e("@ethersproject/logger"),a=e("./_version"),s=new o.Logger(a.version);var i=function(){if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if("undefined"!=typeof global)return global;throw new Error("unable to locate global object")}(),c=i.crypto||i.msCrypto;c&&c.getRandomValues||(s.warn("WARNING: Missing strong random number source"),c={getRandomValues:function(e){return s.throwError("no secure random source avaialble",o.Logger.errors.UNSUPPORTED_OPERATION,{operation:"crypto.getRandomValues"})}}),r.randomBytes=function(e){(e<=0||e>1024||e%1||e!=e)&&s.throwArgumentError("invalid length","length",e);var t=new Uint8Array(e);return c.getRandomValues(t),(0,n.arrayify)(t)}}}},{package:"@ethersproject/wallet>@ethersproject/random",file:"node_modules/@ethersproject/random/lib/browser-random.js"}],[5324,{"../ducks/locale/locale":5345,"../helpers/utils/i18n-helper":5386,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.LegacyI18nProvider=r.I18nProvider=r.I18nContext=void 0;var n,o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=u(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=e[a]}return n.default=e,r&&r.set(e,n),n}(e("react")),a=(n=e("prop-types"))&&n.__esModule?n:{default:n},s=e("react-redux"),i=e("../ducks/locale/locale"),c=e("../helpers/utils/i18n-helper");function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(u=function(e){return e?r:t})(e)}function l(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(r!==undefined){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const d=r.I18nContext=(0,o.createContext)((e=>`[${e}]`)),p=e=>{const t=(0,s.useSelector)(i.getCurrentLocale),r=(0,s.useSelector)(i.getCurrentLocaleMessages),n=(0,s.useSelector)(i.getEnLocaleMessages),a=(0,o.useMemo)((()=>(e,...o)=>(0,c.getMessage)(t,r,e,...o)||(0,c.getMessage)(t,n,e,...o)),[t,r,n]);return o.default.createElement(d.Provider,{value:a},e.children)};r.I18nProvider=p,p.propTypes={children:a.default.node},p.defaultProps={children:undefined};class f extends o.Component{getChildContext(){return{t:this.context}}render(){return this.props.children}}r.LegacyI18nProvider=f,l(f,"propTypes",{children:a.default.node}),l(f,"defaultProps",{children:undefined}),l(f,"contextType",d),l(f,"childContextTypes",{t:a.default.func})}}},{package:"$root$",file:"ui/contexts/i18n.js"}],[533,{"./random":532,"./shuffle":534},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.shuffled=r.randomBytes=void 0;var n=e("./random");Object.defineProperty(r,"randomBytes",{enumerable:!0,get:function(){return n.randomBytes}});var o=e("./shuffle");Object.defineProperty(r,"shuffled",{enumerable:!0,get:function(){return o.shuffled}})}}},{package:"@ethersproject/wallet>@ethersproject/random",file:"node_modules/@ethersproject/random/lib/index.js"}],[5332,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.ALERT_STATE=void 0;r.ALERT_STATE={CLOSED:"CLOSED",ERROR:"ERROR",LOADING:"LOADING",OPEN:"OPEN"}}}},{package:"$root$",file:"ui/ducks/alerts/enums.js"}],[5335,{"../../../shared/constants/alerts":4492,"../../selectors":5987,"../../store/actionConstants":5997,"../../store/actions":5998,"./enums":5332,"@reduxjs/toolkit":2354,"@sentry/browser":2409},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.switchedToUnconnectedAccount=r.switchToAccount=r.getAlertState=r.dismissAndDisableAlert=r.dismissAlert=r.default=r.connectAccount=r.alertIsOpen=void 0;var n=e("@reduxjs/toolkit"),o=e("@sentry/browser"),a=e("../../../shared/constants/alerts"),s=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=l(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=e[a]}return n.default=e,r&&r.set(e,n),n}(e("../../store/actionConstants")),i=e("../../store/actions"),c=e("../../selectors"),u=e("./enums");function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(l=function(e){return e?r:t})(e)}const d=a.AlertTypes.unconnectedAccount,p={state:u.ALERT_STATE.CLOSED},f=(0,n.createSlice)({name:d,initialState:p,reducers:{connectAccountFailed:e=>{e.state=u.ALERT_STATE.ERROR},connectAccountRequested:e=>{e.state=u.ALERT_STATE.LOADING},connectAccountSucceeded:e=>{e.state=u.ALERT_STATE.CLOSED},disableAlertFailed:e=>{e.state=u.ALERT_STATE.ERROR},disableAlertRequested:e=>{e.state=u.ALERT_STATE.LOADING},disableAlertSucceeded:e=>{e.state=u.ALERT_STATE.CLOSED},dismissAlert:e=>{e.state=u.ALERT_STATE.CLOSED},switchAccountFailed:e=>{e.state=u.ALERT_STATE.ERROR},switchAccountRequested:e=>{e.state=u.ALERT_STATE.LOADING},switchAccountSucceeded:e=>{e.state=u.ALERT_STATE.CLOSED},switchedToUnconnectedAccount:e=>{e.state=u.ALERT_STATE.OPEN}},extraReducers:{[s.SELECTED_ADDRESS_CHANGED]:e=>{e.state===u.ALERT_STATE.OPEN&&(e.state=u.ALERT_STATE.CLOSED)}}}),{actions:h,reducer:m}=f;r.default=m;r.getAlertState=e=>e[d].state;r.alertIsOpen=e=>e[d].state!==u.ALERT_STATE.CLOSED;const{connectAccountFailed:g,connectAccountRequested:v,connectAccountSucceeded:y,disableAlertFailed:T,disableAlertRequested:b,disableAlertSucceeded:_,dismissAlert:w,switchAccountFailed:E,switchAccountRequested:S,switchAccountSucceeded:A,switchedToUnconnectedAccount:k}=h;r.switchedToUnconnectedAccount=k,r.dismissAlert=w;r.dismissAndDisableAlert=()=>async e=>{try{await e(b()),await(0,i.setAlertEnabledness)(d,!1),await e(_())}catch(t){console.error(t),(0,o.captureException)(t),await e(T())}};r.switchToAccount=e=>async(t,r)=>{const n=r();try{await t(S()),await t((0,i.setSelectedInternalAccount)(e));const r=(0,c.getInternalAccount)(n,e);await t((0,i.setSelectedAccount)(r.address)),await t(A())}catch(e){console.error(e),(0,o.captureException)(e),await t(E())}};r.connectAccount=()=>async(e,t)=>{const r=t(),{address:n}=(0,c.getSelectedInternalAccount)(r),a=(0,c.getOriginOfCurrentTab)(r);try{await e(v()),await e((0,i.addPermittedAccount)(a,n)),await e(y())}catch(t){console.error(t),(0,o.captureException)(t),await e(g())}}}}},{package:"$root$",file:"ui/ducks/alerts/unconnected-account.js"}],[5336,{"../../../shared/constants/hardware-wallets":4501,"../../store/actionConstants":5997},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,t){const r={...s,...e};switch(t.type){case o.NETWORK_DROPDOWN_OPEN:return{...r,networkDropdownOpen:!0};case o.NETWORK_DROPDOWN_CLOSE:return{...r,networkDropdownOpen:!1};case o.IMPORT_NFTS_MODAL_OPEN:return{...r,importNftsModal:{open:!0,...t.payload}};case o.IMPORT_NFTS_MODAL_CLOSE:return{...r,importNftsModal:{open:!1}};case o.SHOW_BASIC_FUNCTIONALITY_MODAL_OPEN:return{...r,showBasicFunctionalityModal:!0};case o.SHOW_BASIC_FUNCTIONALITY_MODAL_CLOSE:return{...r,showBasicFunctionalityModal:!1};case o.ONBOARDING_TOGGLE_BASIC_FUNCTIONALITY_ON:return{...r,externalServicesOnboardingToggleState:!0};case o.ONBOARDING_TOGGLE_BASIC_FUNCTIONALITY_OFF:return{...r,externalServicesOnboardingToggleState:!1};case o.SHOW_IPFS_MODAL_OPEN:return{...r,showIpfsModalOpen:!0};case o.SHOW_IPFS_MODAL_CLOSE:return{...r,showIpfsModalOpen:!1};case o.IMPORT_TOKENS_POPOVER_OPEN:return{...r,importTokensModalOpen:!0};case o.IMPORT_TOKENS_POPOVER_CLOSE:return{...r,importTokensModalOpen:!1};case o.DEPRECATED_NETWORK_POPOVER_OPEN:return{...r,deprecatedNetworkModalOpen:!0};case o.DEPRECATED_NETWORK_POPOVER_CLOSE:return{...r,deprecatedNetworkModalOpen:!1};case o.ALERT_OPEN:return{...r,alertOpen:!0,alertMessage:t.payload};case o.ALERT_CLOSE:return{...r,alertOpen:!1,alertMessage:null};case o.SET_ACCOUNT_DETAILS_ADDRESS:return{...r,accountDetailsAddress:t.payload};case o.QR_CODE_DETECTED:return{...r,qrCodeData:t.value};case o.SET_SMART_TRANSACTIONS_ERROR:return{...r,smartTransactionsError:t.payload};case o.DISMISS_SMART_TRANSACTIONS_ERROR_MESSAGE:return{...r,smartTransactionsErrorMessageDismissed:!0};case o.MODAL_OPEN:{const{name:e,...n}=t.payload;return{...r,modal:{open:!0,modalState:{name:e,props:{...n}},previousModalState:{...r.modal.modalState}}}}case o.MODAL_CLOSE:return{...r,modal:{...r.modal,open:!1,modalState:{name:null,props:{}},previousModalState:{...r.modal.modalState}}};case o.CLEAR_ACCOUNT_DETAILS:return{...r,accountDetail:{privateKey:""}};case o.SHOW_SEND_TOKEN_PAGE:case o.LOCK_METAMASK:return{...r,warning:null};case o.GO_HOME:return{...r,accountDetail:{privateKey:""},warning:null};case o.SHOW_ACCOUNTS_PAGE:return{...r,isLoading:!1,warning:null,scrollToBottom:!1};case o.SHOW_CONF_TX_PAGE:return{...r,txId:t.id,warning:null,isLoading:!1};case o.COMPLETED_TX:return{...r,warning:null,txId:null};case o.UNLOCK_FAILED:return{...r,warning:t.value||"Incorrect password. Try again."};case o.UNLOCK_SUCCEEDED:return{...r,warning:""};case o.SET_HARDWARE_WALLET_DEFAULT_HD_PATH:{const{device:e,path:n}=t.payload,o={...r.defaultHdPaths};return o[e]=n,{...r,defaultHdPaths:o}}case o.SHOW_LOADING:return{...r,isLoading:!0,loadingMessage:t.payload};case o.HIDE_LOADING:return{...r,isLoading:!1};case o.DISPLAY_WARNING:return{...r,warning:t.payload,isLoading:!1};case o.HIDE_WARNING:return{...r,warning:undefined};case o.SHOW_PRIVATE_KEY:return{...r,accountDetail:{privateKey:t.payload}};case o.SET_SELECTED_NETWORK_CONFIGURATION_ID:return{...r,selectedNetworkConfigurationId:t.payload};case o.SET_NEW_NETWORK_ADDED:{const{networkConfigurationId:e,nickname:n}=t.payload;return{...r,newNetworkAddedName:n,newNetworkAddedConfigurationId:e}}case o.SET_NEW_TOKENS_IMPORTED:return{...r,newTokensImported:t.payload};case o.SET_NEW_TOKENS_IMPORTED_ERROR:return{...r,newTokensImportedError:t.payload};case o.SET_NEW_NFT_ADDED_MESSAGE:return{...r,newNftAddedMessage:t.payload};case o.SET_REMOVE_NFT_MESSAGE:return{...r,removeNftMessage:t.payload};case o.SET_REQUEST_ACCOUNT_TABS:return{...r,requestAccountTabs:t.value};case o.SET_OPEN_METAMASK_TAB_IDS:return{...r,openMetaMaskTabs:t.payload};case o.HIDE_WHATS_NEW_POPUP:return{...r,showWhatsNewPopup:!1};case o.CAPTURE_SINGLE_EXCEPTION:return{...r,singleExceptions:{...r.singleExceptions,[t.value]:null}};case o.TOGGLE_GAS_LOADING_ANIMATION:return{...r,gasLoadingAnimationIsShowing:t.payload};case o.SET_WEBHID_CONNECTED_STATUS:return{...r,ledgerWebHidConnectedStatus:t.payload};case o.SET_LEDGER_TRANSPORT_STATUS:return{...r,ledgerTransportStatus:t.payload};case o.TOGGLE_CURRENCY_INPUT_SWITCH:return{...r,sendInputCurrencySwitched:!r.sendInputCurrencySwitched};case o.ONBOARDED_IN_THIS_UI_SESSION:return{...r,onboardedInThisUISession:t.payload};case o.SET_CUSTOM_TOKEN_AMOUNT:return{...r,customTokenAmount:t.payload};case o.SHOW_KEYRING_SNAP_REMOVAL_RESULT:return{...r,showKeyringRemovalSnapModal:!0,keyringRemovalSnapModal:{...t.payload}};case o.HIDE_KEYRING_SNAP_REMOVAL_RESULT:return{...r,showKeyringRemovalSnapModal:!1,keyringRemovalSnapModal:{snapName:"",result:"none"}};default:return r}},r.getGasLoadingAnimationIsShowing=function(e){return e.appState.gasLoadingAnimationIsShowing},r.getLedgerTransportStatus=function(e){return e.appState.ledgerTransportStatus},r.getLedgerWebHidConnectedStatus=function(e){return e.appState.ledgerWebHidConnectedStatus},r.getQrCodeData=function(e){return e.appState.qrCodeData},r.hideBasicFunctionalityModal=function(){return{type:o.SHOW_BASIC_FUNCTIONALITY_MODAL_CLOSE}},r.hideWhatsNewPopup=function(){return{type:o.HIDE_WHATS_NEW_POPUP}},r.onboardingToggleBasicFunctionalityOff=function(){return{type:o.ONBOARDING_TOGGLE_BASIC_FUNCTIONALITY_OFF}},r.onboardingToggleBasicFunctionalityOn=function(){return{type:o.ONBOARDING_TOGGLE_BASIC_FUNCTIONALITY_ON}},r.openBasicFunctionalityModal=function(){return{type:o.SHOW_BASIC_FUNCTIONALITY_MODAL_OPEN}},r.setCustomTokenAmount=function(e){return{type:o.SET_CUSTOM_TOKEN_AMOUNT,payload:e}},r.setLedgerTransportStatus=function(e){return{type:o.SET_LEDGER_TRANSPORT_STATUS,payload:e}},r.setLedgerWebHidConnectedStatus=function(e){return{type:o.SET_WEBHID_CONNECTED_STATUS,payload:e}},r.setOnBoardedInThisUISession=function(e){return{type:o.ONBOARDED_IN_THIS_UI_SESSION,payload:e}},r.toggleCurrencySwitch=function(){return{type:o.TOGGLE_CURRENCY_INPUT_SWITCH}},r.toggleGasLoadingAnimation=function(e){return{type:o.TOGGLE_GAS_LOADING_ANIMATION,payload:e}};var n=e("../../../shared/constants/hardware-wallets"),o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=a(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&Object.prototype.hasOwnProperty.call(e,s)){var i=o?Object.getOwnPropertyDescriptor(e,s):null;i&&(i.get||i.set)?Object.defineProperty(n,s,i):n[s]=e[s]}return n.default=e,r&&r.set(e,n),n}(e("../../store/actionConstants"));function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(a=function(e){return e?r:t})(e)}const s={shouldClose:!1,menuOpen:!1,modal:{open:!1,modalState:{name:null,props:{}},previousModalState:{name:null}},alertOpen:!1,alertMessage:null,qrCodeData:null,networkDropdownOpen:!1,importNftsModal:{open:!1},showIpfsModalOpen:!1,showBasicFunctionalityModal:!1,externalServicesOnboardingToggleState:!0,keyringRemovalSnapModal:{snapName:"",result:"none"},showKeyringRemovalSnapModal:!1,importTokensModalOpen:!1,deprecatedNetworkModalOpen:!1,accountDetail:{privateKey:""},isLoading:!1,loadingMessage:null,warning:null,buyView:{},defaultHdPaths:{trezor:"m/44'/60'/0'/0",ledger:"m/44'/60'/0'/0/0",lattice:"m/44'/60'/0'/0"},networksTabSelectedRpcUrl:"",requestAccountTabs:{},openMetaMaskTabs:{},currentWindowTab:{},showWhatsNewPopup:!0,showTermsOfUsePopup:!0,singleExceptions:{testKey:null},gasLoadingAnimationIsShowing:!1,smartTransactionsError:null,smartTransactionsErrorMessageDismissed:!1,ledgerWebHidConnectedStatus:n.WebHIDConnectedStatuses.unknown,ledgerTransportStatus:n.HardwareTransportStates.none,newNftAddedMessage:"",removeNftMessage:"",newNetworkAddedName:"",newNetworkAddedConfigurationId:"",selectedNetworkConfigurationId:"",sendInputCurrencySwitched:!1,newTokensImported:"",newTokensImportedError:"",onboardedInThisUISession:!1,customTokenAmount:"",scrollToBottom:!0,txId:null,accountDetailsAddress:"",snapsInstallPrivacyWarningShown:!1}}}},{package:"$root$",file:"ui/ducks/app/app.ts"}],[5338,{"../../../shared/modules/conversion.utils":4537,"../../../shared/modules/string-utils":4558,"../../../shared/modules/transaction.utils":4560,"../../helpers/utils/confirm-tx.util":5381,"../../selectors":5987,"../../selectors/custom-gas":5985,"../metamask/metamask":5346},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.clearConfirmTransaction=function(){return{type:h}},r.default=function(e=b,t={}){switch(t.type){case d:return{...e,txData:{...t.payload}};case p:return{...e,tokenData:{...t.payload}};case f:return{...e,tokenProps:{...t.payload}};case m:{const{fiatTransactionAmount:r,ethTransactionAmount:n,hexTransactionAmount:o}=t.payload;return{...e,fiatTransactionAmount:r||e.fiatTransactionAmount,ethTransactionAmount:n||e.ethTransactionAmount,hexTransactionAmount:o||e.hexTransactionAmount}}case g:{const{fiatTransactionFee:r,ethTransactionFee:n,hexTransactionFee:o}=t.payload;return{...e,fiatTransactionFee:r||e.fiatTransactionFee,ethTransactionFee:n||e.ethTransactionFee,hexTransactionFee:o||e.hexTransactionFee}}case v:{const{fiatTransactionTotal:r,ethTransactionTotal:n,hexTransactionTotal:o}=t.payload;return{...e,fiatTransactionTotal:r||e.fiatTransactionTotal,ethTransactionTotal:n||e.ethTransactionTotal,hexTransactionTotal:o||e.hexTransactionTotal}}case y:return{...e,nonce:t.payload};case h:return{...b,maxValueMode:e.maxValueMode};case T:return{...e,maxValueMode:{...e.maxValueMode,[t.payload.transactionId]:t.payload.enabled}};default:return e}},r.setMaxValueMode=function(e,t){return{type:T,payload:{transactionId:e,enabled:t}}},r.setTransactionToConfirm=function(e){return(t,r)=>{const a=r(),i=(0,n.unconfirmedTransactionsHashSelector)(a)[e];if(i)if(i.txParams){t(P(i));const{txParams:e}=i;if(e.data){const{to:r,data:n}=e,s=(0,u.parseStandardTokenTransactionData)(n),i=(0,o.getTokens)(a),l=null==i?void 0:i.find((({address:e})=>(0,c.isEqualCaseInsensitive)(r,e)));t(E({decimals:null==l?void 0:l.decimals,symbol:null==l?void 0:l.symbol})),t(w(s))}if(e.nonce){t(O((0,s.hexToDecimal)(e.nonce)))}}else t(_(i));else console.error(`Transaction with id ${e} not found`)}},r.updateNonce=O,r.updateTokenData=w,r.updateTokenProps=E,r.updateTransactionAmounts=S,r.updateTransactionFees=A,r.updateTransactionTotals=k,r.updateTxData=_,r.updateTxDataAndCalculate=P;var n=e("../../selectors"),o=e("../metamask/metamask"),a=e("../../helpers/utils/confirm-tx.util"),s=e("../../../shared/modules/conversion.utils"),i=e("../../selectors/custom-gas"),c=e("../../../shared/modules/string-utils"),u=e("../../../shared/modules/transaction.utils");const l=e=>`metamask/confirm-transaction/${e}`,d=l("UPDATE_TX_DATA"),p=l("UPDATE_TOKEN_DATA"),f=l("UPDATE_TOKEN_PROPS"),h=l("CLEAR_CONFIRM_TRANSACTION"),m=l("UPDATE_TRANSACTION_AMOUNTS"),g=l("UPDATE_TRANSACTION_FEES"),v=l("UPDATE_TRANSACTION_TOTALS"),y=l("UPDATE_NONCE"),T=l("SET_MAX_VALUE_MODE"),b={txData:{},tokenData:{},tokenProps:{},fiatTransactionAmount:"",fiatTransactionFee:"",fiatTransactionTotal:"",ethTransactionAmount:"",ethTransactionFee:"",ethTransactionTotal:"",hexTransactionAmount:"",hexTransactionFee:"",hexTransactionTotal:"",nonce:"",maxValueMode:{}};function _(e){return{type:d,payload:e}}function w(e){return{type:p,payload:e}}function E(e){return{type:f,payload:e}}function S(e){return{type:m,payload:e}}function A(e){return{type:g,payload:e}}function k(e){return{type:v,payload:e}}function O(e){return{type:y,payload:e}}function P(e){return(t,r)=>{const c=r(),u=(0,n.currentCurrencySelector)(c),l=(0,n.conversionRateSelector)(c),d=(0,o.getNativeCurrency)(c);t(_(e));const{txParams:{value:p="0x0",gas:f="0x0"}={}}=e;let{txParams:{gasPrice:h}={}}=e;h||(h=(0,i.getAveragePriceEstimateInHexWEI)(c)||"0x0");const m=(0,s.getValueFromWeiHex)({value:p,fromCurrency:d,toCurrency:u,conversionRate:l,numberOfDecimals:2}),g=(0,s.getValueFromWeiHex)({value:p,fromCurrency:d,toCurrency:d,conversionRate:l,numberOfDecimals:6});t(S({fiatTransactionAmount:m,ethTransactionAmount:g,hexTransactionAmount:p}));const v=(0,a.getHexGasTotal)({gasLimit:f,gasPrice:h}),y=(0,a.getTransactionFee)({value:v,fromCurrency:d,toCurrency:u,numberOfDecimals:2,conversionRate:l}),T=(0,a.getTransactionFee)({value:v,fromCurrency:d,toCurrency:d,numberOfDecimals:6,conversionRate:l});t(A({fiatTransactionFee:y,ethTransactionFee:T,hexTransactionFee:v}));t(k({fiatTransactionTotal:(0,a.addFiat)(y,m),ethTransactionTotal:(0,a.addEth)(T,g),hexTransactionTotal:(0,s.sumHexes)(p,v)}))}}}}},{package:"$root$",file:"ui/ducks/confirm-transaction/confirm-transaction.duck.js"}],[534,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.shuffled=void 0,r.shuffled=function(e){for(var t=(e=e.slice()).length-1;t>0;t--){var r=Math.floor(Math.random()*(t+1)),n=e[t];e[t]=e[r],e[r]=n}return e}}}},{package:"@ethersproject/wallet>@ethersproject/random",file:"node_modules/@ethersproject/random/lib/shuffle.js"}],[5340,{"../../shared/constants/network":4507,"../../shared/modules/hexstring-utils":4544,"../helpers/utils/util":5399,"../pages/confirmations/send/send.constants":5721,"../selectors":5987,"../store/actionConstants":5997,"../store/actions":5998,"@ethersproject/providers":521,"@metamask/snaps-rpc-methods":2086,"@reduxjs/toolkit":2354,"ethereum-ens-network-map":3280,"ethereumjs-util":3288,loglevel:3842,"unicode-confusables":4388},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.domainInitialState=r.default=void 0,r.fetchResolutions=R,r.getDomainError=function(e){return e[b].error},r.getDomainResolution=function(e){return e[b].resolution},r.getDomainType=function(e){return e[b].domainType},r.getDomainWarning=function(e){return e[b].warning},r.getResolvingSnap=function(e){return e[b].resolvingSnap},r.initializeDomainSlice=I,r.lookupDomainName=function(e){return async(t,r)=>{const n=e.trim();let a=r();if("UNINITIALIZED"===a[b].stage&&await t(I()),a=r(),"NO_NETWORK_SUPPORT"!==a[b].stage||!1===(0,g.isBurnAddress)(n)&&(0,g.isValidHexAddress)(n,{mixedCaseUseChecksum:!0})||(0,i.isHexString)(n)){var s,c;let e,i;await t(A(n)),o.default.info(`Resolvers attempting to resolve name: ${n}`);let p,f=!1;try{var u;e=await(null===(u=_)||void 0===u?void 0:u.resolveName(n))}catch(e){p=e}const h=(0,l.getCurrentChainId)(a),m=parseInt(h,16);if(!e){var d;i=await R({domain:n,chainId:`eip155:${m}`,state:a});const t=null===(d=i[0])||void 0===d?void 0:d.resolvedAddress;f=Boolean(t),f&&(e=t)}const g=null===(s=i)||void 0===s||null===(s=s[0])||void 0===s?void 0:s.snapId,v=null===(c=(0,l.getSnapMetadata)(a,g))||void 0===c?void 0:c.name;if(a=r(),n!==a[b].domainName)return;await t(k({address:e,error:p,chainId:h,network:m,domainType:f||!f&&!e?"Other":y,domainName:n,...f?{resolvingSnap:v}:{}}))}else await t(P())}},r.resetDomainResolution=void 0;var n=e("@reduxjs/toolkit"),o=v(e("loglevel")),a=v(e("ethereum-ens-network-map")),s=e("unicode-confusables"),i=e("ethereumjs-util"),c=e("@ethersproject/providers"),u=e("@metamask/snaps-rpc-methods"),l=e("../selectors"),d=e("../store/actions"),p=e("../../shared/constants/network"),f=e("../pages/confirmations/send/send.constants"),h=e("../helpers/utils/util"),m=e("../store/actionConstants"),g=e("../../shared/modules/hexstring-utils");function v(e){return e&&e.__esModule?e:{default:e}}const y="ENS",T={stage:"UNINITIALIZED",resolution:null,error:null,warning:null,chainId:null,domainType:null,domainName:null,resolvingSnap:null},b=(r.domainInitialState=T,"DNS");let _=null;const w=(0,n.createSlice)({name:b,initialState:T,reducers:{lookupStart:(e,t)=>{e.domainName=t.payload},lookupEnd:(e,t)=>{e.resolution=null,e.error=null,e.warning=null,e.domainType=null,e.domainName=null,e.resolvingSnap=null;const{address:r,error:n,chainId:a,domainType:i,domainName:c,resolvingSnap:u}=t.payload;e.domainType=i,e.domainType===y?n?(0,h.isValidDomainName)(c)&&"ENS name not defined."===n.message?e.error=a===p.CHAIN_IDS.MAINNET?f.ENS_NO_ADDRESS_FOR_NAME:f.ENS_NOT_FOUND_ON_NETWORK:"Illegal character for ENS."===n.message?e.error=f.ENS_ILLEGAL_CHARACTER:(o.default.error(n),e.error=f.ENS_UNKNOWN_ERROR):r?(r===g.BURN_ADDRESS?e.error=f.ENS_NO_ADDRESS_FOR_NAME:"0x"===r?e.error=f.ENS_REGISTRATION_ERROR:e.resolution=r,(0,h.isValidDomainName)(r)&&(0,s.isConfusing)(r)&&(e.warning=f.CONFUSING_ENS_ERROR)):e.error=f.ENS_NO_ADDRESS_FOR_NAME:r?(e.resolution=r,e.resolvingSnap=u):c.length>0&&(e.error=f.NO_RESOLUTION_FOR_DOMAIN)},enableDomainLookup:(e,t)=>{e.stage="INITIALIZED",e.error=null,e.resolution=null,e.warning=null,e.chainId=t.payload},disableDomainLookup:e=>{e.stage="NO_NETWORK_SUPPORT",e.error=null,e.warning=null,e.resolution=null,e.chainId=null},domainNotSupported:e=>{e.resolution=null,e.warning=null,e.error=f.DOMAIN_NOT_SUPPORTED_ON_NETWORK},resetDomainResolution:e=>{e.resolution=null,e.warning=null,e.error=null,e.domainType=null,e.resolvingSnap=null}},extraReducers:e=>{e.addCase(m.CHAIN_CHANGED,((e,t)=>{t.payload!==e.chainId&&(e.stage="UNINITIALIZED",_=null)}))}}),{reducer:E,actions:S}=w;r.default=E;const{lookupStart:A,lookupEnd:k,enableDomainLookup:O,domainNotSupported:P,resetDomainResolution:N}=S;function I(){return(e,t)=>{const r=t(),n=(0,l.getCurrentChainId)(r),o=p.CHAIN_ID_TO_ETHERS_NETWORK_NAME_MAP[n],s=parseInt(n,16),i=a.default[s.toString()],u=Boolean(i);_=u?new c.Web3Provider(global.ethereumProvider,{chainId:s,name:o,ensAddress:i}):null,e(O(n))}}async function R({domain:e,chainId:t,state:r}){const n=(0,l.getPermissionSubjects)(r),o=(0,l.getNameLookupSnapsIds)(r).filter((e=>{var r;const o=null===(r=n[e])||void 0===r?void 0:r.permissions["endowment:name-lookup"],a=(0,u.getChainIdsCaveat)(o);return(null==a?void 0:a.includes(t))??!0}));if(0===e.length)return[];return(await Promise.allSettled(o.map((r=>(0,d.handleSnapRequest)({snapId:r,origin:"",handler:"onNameLookup",request:{jsonrpc:"2.0",method:" ",params:{domain:e,chainId:t}}}))))).reduce(((e,t,r)=>{if("rejected"!==t.status&&null!==t.value){const n=t.value.resolvedAddresses.map((e=>({...e,snapId:o[r]})));return e.concat(n)}return e}),[])}r.resetDomainResolution=N}}},{package:"$root$",file:"ui/ducks/domains.js"}],[5341,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.SET_CUSTOM_GAS_PRICE=r.SET_CUSTOM_GAS_LIMIT=r.RESET_CUSTOM_DATA=void 0;r.RESET_CUSTOM_DATA="metamask/gas/RESET_CUSTOM_DATA",r.SET_CUSTOM_GAS_LIMIT="metamask/gas/SET_CUSTOM_GAS_LIMIT",r.SET_CUSTOM_GAS_PRICE="metamask/gas/SET_CUSTOM_GAS_PRICE"}}},{package:"$root$",file:"ui/ducks/gas/gas-action-constants.ts"}],[5342,{"./gas-action-constants":5341,lodash:3836},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e=a,t){switch(t.type){case o.SET_CUSTOM_GAS_PRICE:return{...e,customData:{...e.customData,price:t.value}};case o.SET_CUSTOM_GAS_LIMIT:return{...e,customData:{...e.customData,limit:t.value}};case o.RESET_CUSTOM_DATA:return{...e,customData:(0,n.cloneDeep)(a.customData)};default:return e}},r.setCustomGasLimit=function(e){return{type:o.SET_CUSTOM_GAS_LIMIT,value:e}},r.setCustomGasPrice=function(e){return{type:o.SET_CUSTOM_GAS_PRICE,value:e}};var n=e("lodash"),o=e("./gas-action-constants");const a={customData:{price:null,limit:null}}}}},{package:"$root$",file:"ui/ducks/gas/gas.duck.js"}],[5345,{"../../store/actionConstants":5997,reselect:4269},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e={},{type:t,payload:r}){if(t===o.SET_CURRENT_LOCALE)return{...e,current:r.messages,currentLocale:r.locale};return e},r.getIntlLocale=r.getEnLocaleMessages=r.getCurrentLocaleMessages=r.getCurrentLocale=void 0;var n=e("reselect"),o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=a(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&Object.prototype.hasOwnProperty.call(e,s)){var i=o?Object.getOwnPropertyDescriptor(e,s):null;i&&(i.get||i.set)?Object.defineProperty(n,s,i):n[s]=e[s]}return n.default=e,r&&r.set(e,n),n}(e("../../store/actionConstants"));function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(a=function(e){return e?r:t})(e)}const s=e=>e.localeMessages.currentLocale;r.getCurrentLocale=s;r.getIntlLocale=(0,n.createSelector)(s,(e=>Intl.getCanonicalLocales(null==e?void 0:e.replace(/_/gu,"-"))[0]));r.getCurrentLocaleMessages=e=>e.localeMessages.current;r.getEnLocaleMessages=e=>e.localeMessages.en}}},{package:"$root$",file:"ui/ducks/locale/locale.js"}],[5346,{"../../../shared/constants/alerts":4492,"../../../shared/constants/gas":4500,"../../../shared/constants/keyring":4502,"../../../shared/constants/preferences":4512,"../../../shared/modules/conversion.utils":4537,"../../../shared/modules/hexstring-utils":4544,"../../../shared/modules/string-utils":4558,"../../selectors":5987,"../../store/actionConstants":5997,"../../store/actions":5998,"../gas/gas.duck":5342,"@metamask/transaction-controller":2234,"ethereumjs-util":3288,reselect:4269},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e=y,t){const r={...y,...e};switch(t.type){case h.UPDATE_METAMASK_STATE:return{...r,...t.value};case h.LOCK_METAMASK:return{...r,isUnlocked:!1};case h.SET_ACCOUNT_LABEL:{const{account:e}=t.value,n=t.value.label,o=Object.values(r.internalAccounts.accounts).find((t=>t.address.toLowerCase()===e.toLowerCase())),a={...r.internalAccounts,accounts:{...r.internalAccounts.accounts,[o.id]:{...o,metadata:{...o.metadata,name:n}}}};return Object.assign(r,{internalAccounts:a})}case h.UPDATE_CUSTOM_NONCE:return{...r,customNonceValue:t.value};case h.TOGGLE_ACCOUNT_MENU:return{...r,isAccountMenuOpen:!r.isAccountMenuOpen};case h.TOGGLE_NETWORK_MENU:return{...r,isNetworkMenuOpen:!r.isNetworkMenuOpen};case h.UPDATE_TRANSACTION_PARAMS:{const{id:e,value:n}=t;let{transactions:o}=r;return o=o.map((t=>{if(t.id===e){const e={...t};return e.txParams=n,e}return t})),{...r,transactions:o}}case h.SET_PARTICIPATE_IN_METAMETRICS:return{...r,participateInMetaMetrics:t.value};case h.SET_DATA_COLLECTION_FOR_MARKETING:return{...r,dataCollectionForMarketing:t.value};case h.CLOSE_WELCOME_SCREEN:return{...r,welcomeScreenSeen:!0};case h.SET_PENDING_TOKENS:return{...r,pendingTokens:{...t.payload}};case h.CLEAR_PENDING_TOKENS:return{...r,pendingTokens:{}};case h.COMPLETE_ONBOARDING:return{...r,completedOnboarding:!0};case h.RESET_ONBOARDING:return{...r,completedOnboarding:!1,firstTimeFlowType:null,isInitialized:!1,isUnlocked:!1,onboardingTabs:{},seedPhraseBackedUp:null,welcomeScreenSeen:!1};case h.SET_FIRST_TIME_FLOW_TYPE:return{...r,firstTimeFlowType:t.value};case h.SET_SHOW_TOKEN_AUTO_DETECT_MODAL_UPGRADE:return{...r,showTokenAutodetectModalOnUpgrade:t.value};case h.SET_NEXT_NONCE:return{...r,nextNonce:t.payload};case h.SET_CONFIRMATION_EXCHANGE_RATES:return{...r,confirmationExchangeRates:t.value};case h.FORCE_DISABLE_DESKTOP:return{...r,desktopEnabled:!1};default:return r}},r.doesUserHaveALedgerAccount=function(e){return e.metamask.keyrings.some((e=>e.type===c.KeyringType.ledger))},r.findKeyringForAddress=N,r.getAlertEnabledness=void 0,r.getBlockGasLimit=function(e){return e.metamask.currentBlockGasLimit},r.getCompletedOnboarding=function(e){return e.metamask.completedOnboarding},r.getConversionRate=function(e){var t;return null===(t=e.metamask.currencyRates[_(e).ticker])||void 0===t?void 0:t.conversionRate},r.getEstimatedGasFeeTimeBounds=function(e){return e.metamask.estimatedGasFeeTimeBounds},r.getEstimatedGasFeeTimeBoundsByChainId=function(e,t){var r;return null===(r=e.metamask.gasFeeEstimatesByChainId)||void 0===r||null===(r=r[t])||void 0===r?void 0:r.estimatedGasFeeTimeBounds},r.getGasFeeEstimatesByChainId=r.getGasFeeEstimates=r.getGasEstimateTypeByChainId=r.getGasEstimateType=void 0,r.getIsGasEstimatesLoading=function(e){const t=(0,f.checkNetworkAndAccountSupports1559)(e),r=k(e),n=r===i.GasEstimateTypes.feeMarket||r===i.GasEstimateTypes.ethGasPrice;return r===i.GasEstimateTypes.none||t&&!n||!t&&r===i.GasEstimateTypes.feeMarket},r.getIsGasEstimatesLoadingByChainId=function(e,{chainId:t,networkClientId:r}){const n=(0,f.checkNetworkAndAccountSupports1559)(e,r),o=O(e,t),a=o===i.GasEstimateTypes.feeMarket||o===i.GasEstimateTypes.ethGasPrice;return o===i.GasEstimateTypes.none||n&&!a||!n&&o===i.GasEstimateTypes.feeMarket},r.getIsInitialized=function(e){return e.metamask.isInitialized},r.getIsNetworkBusyByChainId=function(e,t){const r=P(e,t);return(null==r?void 0:r.networkCongestion)>=i.NetworkCongestionThresholds.busy},r.getIsUnlocked=function(e){return e.metamask.isUnlocked},r.getLedgerTransportType=function(e){return e.metamask.ledgerTransportType},r.getNativeCurrency=function(e){return _(e).ticker},r.getNfts=r.getNftContracts=void 0,r.getNftsDropdownState=function(e){return e.metamask.nftsDropdownState},r.getPendingTokens=void 0,r.getProviderConfig=_,r.getSeedPhraseBackedUp=function(e){return e.metamask.seedPhraseBackedUp},r.getSendHexDataFeatureFlagState=function(e){return e.metamask.featureFlags.sendHexData},r.getSendToAccounts=function(e){const t=(0,f.accountsWithSendEtherInfoSelector)(e),r=(0,f.getAddressBook)(e);return[...t,...r]},r.getWeb3ShimUsageAlertEnabledness=r.getUnconnectedAccountAlertShown=r.getUnconnectedAccountAlertEnabledness=r.getTokens=void 0,r.isAddressLedger=function(e,t){const r=N(e,t);return(null==r?void 0:r.type)===c.KeyringType.ledger},r.isEIP1559Network=function(e,t){var r;const n=(0,f.getSelectedNetworkClientId)(e);return!0===(null===(r=e.metamask.networksMetadata)||void 0===r?void 0:r[t??n].EIPS[1559])},r.isNotEIP1559Network=function(e){const t=(0,f.getSelectedNetworkClientId)(e);return!1===e.metamask.networksMetadata[t].EIPS[1559]},r.updateGasFees=function({gasPrice:e,gasLimit:t,maxPriorityFeePerGas:r,maxFeePerGas:o,transaction:a,expectHexWei:s=!1}){return async i=>{const c={...a.txParams,gas:t};e?(i((0,g.setCustomGasPrice)(T(c.gasPrice,s))),c.gasPrice=T(e,s)):o&&r&&(c.maxFeePerGas=T(o,s),c.maxPriorityFeePerGas=(0,n.addHexPrefix)((0,l.decGWEIToHexWEI)(r)));const u={...a,txParams:c},d=(0,n.isHexString)((0,n.addHexPrefix)(t))?(0,n.addHexPrefix)(t):(0,n.addHexPrefix)(t.toString(16));i((0,g.setCustomGasLimit)(d)),await i((0,m.updateTransactionGasFees)(u.id,u))}};var n=e("ethereumjs-util"),o=e("reselect"),a=e("@metamask/transaction-controller"),s=e("../../../shared/constants/alerts"),i=e("../../../shared/constants/gas"),c=e("../../../shared/constants/keyring"),u=e("../../../shared/constants/preferences"),l=e("../../../shared/modules/conversion.utils"),d=e("../../../shared/modules/hexstring-utils"),p=e("../../../shared/modules/string-utils"),f=e("../../selectors"),h=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=v(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=e[a]}return n.default=e,r&&r.set(e,n),n}(e("../../store/actionConstants")),m=e("../../store/actions"),g=e("../gas/gas.duck");function v(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(v=function(e){return e?r:t})(e)}const y={isInitialized:!1,isUnlocked:!1,isAccountMenuOpen:!1,isNetworkMenuOpen:!1,internalAccounts:{accounts:{},selectedAccount:""},transactions:[],networkConfigurations:{},addressBook:[],confirmationExchangeRates:{},pendingTokens:{},customNonceValue:"",useBlockie:!1,featureFlags:{},welcomeScreenSeen:!1,currentLocale:"",currentBlockGasLimit:"",currentBlockGasLimitByChainId:{},preferences:{autoLockTimeLimit:u.DEFAULT_AUTO_LOCK_TIME_LIMIT,showExtensionInFullSizeView:!1,showFiatInTestnets:!1,showTestNetworks:!1,smartTransactionsOptInStatus:!1,useNativeCurrencyAsPrimaryCurrency:!0,petnamesEnabled:!0,featureNotificationsEnabled:!1,showTokenAutodetectModal:!1},firstTimeFlowType:null,completedOnboarding:!1,knownMethodData:{},use4ByteResolution:!0,participateInMetaMetrics:null,dataCollectionForMarketing:null,nextNonce:null,currencyRates:{ETH:{conversionRate:null}},providerConfig:{ticker:"ETH"}};const T=(e,t)=>(0,n.addHexPrefix)(t?e:(0,l.decGWEIToHexWEI)(e));const b=e=>e.metamask.alertEnabledness;function _(e){return e.metamask.providerConfig}r.getAlertEnabledness=b;r.getUnconnectedAccountAlertEnabledness=e=>b(e)[s.AlertTypes.unconnectedAccount];r.getWeb3ShimUsageAlertEnabledness=e=>b(e)[s.AlertTypes.web3ShimUsage];r.getUnconnectedAccountAlertShown=e=>e.metamask.unconnectedAccountAlertShownOrigins;r.getPendingTokens=e=>e.metamask.pendingTokens;r.getTokens=e=>e.metamask.tokens;r.getNfts=e=>{var t;const{metamask:{allNfts:r}}=e,{address:n}=(0,f.getSelectedInternalAccount)(e),{chainId:o}=_(e);return(null==r||null===(t=r[n])||void 0===t?void 0:t[o])??[]};function w(e){var t;const r=null===(t=e.confirmTransaction)||void 0===t?void 0:t.txData;return null==r?void 0:r.gasFeeEstimates}function E(e,t){var r;const n=null===(r=e.confirmTransaction)||void 0===r?void 0:r.txData;return(null==n?void 0:n.chainId)!==t?undefined:null==n?void 0:n.gasFeeEstimates}r.getNftContracts=e=>{var t;const{metamask:{allNftContracts:r}}=e,{address:n}=(0,f.getSelectedInternalAccount)(e),{chainId:o}=_(e);return(null==r||null===(t=r[n])||void 0===t?void 0:t[o])??[]};const S=(0,o.createSelector)(w,(e=>null==e?void 0:e.type)),A=(0,o.createSelector)(E,(e=>null==e?void 0:e.type)),k=r.getGasEstimateType=(0,o.createSelector)((function(e){return e.metamask.gasEstimateType}),S,((e,t)=>t??e)),O=r.getGasEstimateTypeByChainId=(0,o.createSelector)((function(e,t){var r;return null===(r=e.metamask.gasFeeEstimatesByChainId)||void 0===r||null===(r=r[t])||void 0===r?void 0:r.gasEstimateType}),A,((e,t)=>t??e)),P=r.getGasFeeEstimatesByChainId=(0,o.createSelector)((function(e,t){var r;return null===(r=e.metamask.gasFeeEstimatesByChainId)||void 0===r||null===(r=r[t])||void 0===r?void 0:r.gasFeeEstimates}),E,((e,t)=>t?(0,a.mergeGasFeeEstimates)({gasFeeControllerEstimates:e,transactionGasFeeEstimates:t}):e));r.getGasFeeEstimates=(0,o.createSelector)((function(e){return e.metamask.gasFeeEstimates}),w,((e,t)=>t?(0,a.mergeGasFeeEstimates)({gasFeeControllerEstimates:e,transactionGasFeeEstimates:t}):e));function N(e,t){return e.metamask.keyrings.find((e=>e.accounts.some((e=>(0,p.isEqualCaseInsensitive)(e,(0,n.addHexPrefix)(t))||(0,p.isEqualCaseInsensitive)(e,(0,d.stripHexPrefix)(t))))))}}}},{package:"$root$",file:"ui/ducks/metamask/metamask.js"}],[5347,{"../../../shared/constants/common":4495,"../../../shared/constants/gas":4500,"../../../shared/constants/network":4507,"../../../shared/constants/swaps":4516,"../../../shared/constants/transaction":4520,"../../../shared/lib/transactions-controller-utils":4531,"../../../shared/modules/Numeric":4533,"../../../shared/modules/contract-utils":4536,"../../../shared/modules/conversion.utils":4537,"../../../shared/modules/string-utils":4558,"../../helpers/utils/util":5399,"../../pages/confirmations/send/send.utils":5722,"../../selectors":5987,"../../store/actions":5998,"../metamask/metamask":5346,"../swaps/swaps":5351,"@metamask/transaction-controller":2234,"bignumber.js":2933,"ethereumjs-util":3288,"human-standard-token-abi":3631},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.calculateBestQuote=r.addAdjustedReturnToQuotes=void 0,r.estimateGasLimitForSend=async function({selectedAddress:e,value:t,gasPrice:r,sendToken:o,to:s,data:c,isNonStandardEthChain:l,chainId:f,gasLimit:g,...v}){let y=!1,T=i.MIN_GAS_LIMIT_HEX;v.blockGasLimit?T=v.blockGasLimit:o&&(T=i.GAS_LIMITS.BASE_TOKEN_ESTIMATE);const b={from:e,value:t,gasPrice:r};if(o){if(!s)return i.GAS_LIMITS.BASE_TOKEN_ESTIMATE;b.value="0x0",b.data=(0,p.getAssetTransferData)({sendToken:o,fromAddress:e,toAddress:s,amount:t}),b.to=o.address}else{if(!c){const{isContractAddress:e}=s?await(0,d.readAddressAsContract)(global.eth,s):{};if(!e&&!l)return i.GAS_LIMITS.SIMPLE;!e&&l&&(y=!0)}b.data=c,s&&(b.to=s),t&&"0"!==t||(b.value="0xff")}y||(b.gas=new m.Numeric(T,16).times(new m.Numeric(.95,10)).round(0,a.default.ROUND_DOWN).toPrefixedHexString());let _=1.5;y?_=1:u.CHAIN_ID_TO_GAS_LIMIT_BUFFER_MAP[f]&&(_=u.CHAIN_ID_TO_GAS_LIMIT_BUFFER_MAP[f]);try{const e=await(0,h.estimateGas)(b),t=(0,p.addGasBuffer)(e,T,_);return(0,n.addHexPrefix)(t)}catch(e){if(e.message.includes("Transaction execution error.")||e.message.includes("gas required exceeds allowance or always failing transaction")||u.CHAIN_ID_TO_GAS_LIMIT_BUFFER_MAP[f]&&e.message.includes("gas required exceeds allowance")){const e=(0,p.addGasBuffer)((null==b?void 0:b.gas)??g,T,_);return(0,n.addHexPrefix)(e)}throw e}},r.generateTransactionParams=function(e){var t,r,n,o;const a=e.draftTransactions[e.currentTransactionUUID],i={from:(null===(t=a.fromAccount)||void 0===t?void 0:t.address)||e.selectedAccount.address,gas:a.gas.gasLimit};switch(a.sendAsset.type){case l.AssetType.token:i.to=a.sendAsset.details.address,i.value="0x0",i.data=(0,p.generateERC20TransferData)({toAddress:a.recipient.address,amount:a.amount.value,sendToken:a.sendAsset.details});break;case l.AssetType.NFT:i.to=a.sendAsset.details.address,i.value="0x0",i.data=(null===(r=a.sendAsset.details)||void 0===r?void 0:r.standard)===l.TokenStandard.ERC721?(0,p.generateERC721TransferData)({toAddress:a.recipient.address,fromAddress:(null===(n=a.fromAccount)||void 0===n?void 0:n.address)??e.selectedAccount.address,tokenId:a.sendAsset.details.tokenId}):(0,p.generateERC1155TransferData)({toAddress:a.recipient.address,fromAddress:(null===(o=a.fromAccount)||void 0===o?void 0:o.address)??e.selectedAccount.address,tokenId:a.sendAsset.details.tokenId,amount:a.amount.value});break;case l.AssetType.native:default:i.to=a.recipient.address,i.value=a.amount.value,i.data=a.userInputHexData||"0x"}e.eip1559support?(i.type=s.TransactionEnvelopeType.feeMarket,i.maxFeePerGas=a.gas.maxFeePerGas,i.maxPriorityFeePerGas=a.gas.maxPriorityFeePerGas,i.maxFeePerGas&&"0x0"!==i.maxFeePerGas||(i.maxFeePerGas=a.gas.gasPrice),i.maxPriorityFeePerGas&&"0x0"!==i.maxPriorityFeePerGas||(i.maxPriorityFeePerGas=i.maxFeePerGas)):(i.gasPrice=a.gas.gasPrice,i.type=s.TransactionEnvelopeType.legacy);return i},r.getERC20Balance=async function(e,t){const r=global.eth.contract(o.default).at(e.address),a=await r.balanceOf(t)??null;if(!a)return"0x0";const s=(0,c.calcTokenAmount)(a.balance.toString(),e.decimals).toString(16);return(0,n.addHexPrefix)(s)},r.getIsDraftSwapAndSend=function(e){var t,r;return!(0,w.isEqualCaseInsensitive)((null==e||null===(t=e.sendAsset)||void 0===t||null===(t=t.details)||void 0===t?void 0:t.address)||"",(null==e||null===(r=e.receiveAsset)||void 0===r||null===(r=r.details)||void 0===r?void 0:r.address)||"")},r.getRoundedGasPrice=function(e){const t=new m.Numeric(e,10).round(9).toString(),r=Number(t);return(0,f.getGasPriceInHexWei)(r)};var n=e("ethereumjs-util"),o=E(e("human-standard-token-abi")),a=E(e("bignumber.js")),s=e("@metamask/transaction-controller"),i=e("../../../shared/constants/gas"),c=e("../../../shared/lib/transactions-controller-utils"),u=e("../../../shared/constants/network"),l=e("../../../shared/constants/transaction"),d=e("../../../shared/modules/contract-utils"),p=e("../../pages/confirmations/send/send.utils"),f=e("../../selectors"),h=e("../../store/actions"),m=e("../../../shared/modules/Numeric"),g=e("../metamask/metamask"),v=e("../swaps/swaps"),y=e("../../helpers/utils/util"),T=e("../../../shared/modules/conversion.utils"),b=e("../../../shared/constants/common"),_=e("../../../shared/constants/swaps"),w=e("../../../shared/modules/string-utils");function E(e){return e&&e.__esModule?e:{default:e}}r.addAdjustedReturnToQuotes=async(e,t,r)=>{if(null==e||!e.length)return e;try{const o=(0,f.getCurrentChainId)(t),{medium:a,gasPrice:s}=(0,g.getGasFeeEstimates)(t),i=(0,f.checkNetworkAndAccountSupports1559)(t),u=s??(null==a?void 0:a.suggestedMaxFeePerGas),l=(0,v.getUsedSwapsGasPrice)(t),d=i?u:l,p=(0,f.getTokenExchangeRates)(t),h=(0,f.getConfirmationExchangeRates)(t),w={...p,...h},E=(0,g.getNativeCurrency)(t),S=null!=r&&r.address?(0,n.toChecksumAddress)(r.address):undefined;let A=S?w[S]:1;return!A&&S&&(A=(await(0,y.fetchTokenExchangeRates)(E,[S],o))[S]),A?e.map((e=>{var t;const n=((null==e?void 0:e.gasParams.maxGas)||0)+Number((0,T.hexToDecimal)((null==e||null===(t=e.approvalNeeded)||void 0===t?void 0:t.gas)||"0x0")),a=new m.Numeric(d,10,b.EtherDenomination.GWEI).times(n,10).toDenomination(b.EtherDenomination.ETH),s=(e.destinationAmount?new m.Numeric((0,c.calcTokenAmount)(e.destinationAmount,(null==r?void 0:r.decimals)||_.SWAPS_CHAINID_DEFAULT_TOKEN_MAP[o].decimals),10).times(A,10):undefined).minus(a).toNumber();return{...e,adjustAmountReceivedInNative:s}})):e}catch(e){console.warn(`Could not calculate adjusted return for quote selection: ${e}`)}return e};r.calculateBestQuote=e=>e.reduce(((e,t)=>((null==t?void 0:t.adjustAmountReceivedInNative)||Number((null==t?void 0:t.destinationAmount)||0))>((null==e?void 0:e.adjustAmountReceivedInNative)||Number((null==e?void 0:e.destinationAmount)||0))?t:e),null==e?void 0:e[0])}}},{package:"$root$",file:"ui/ducks/send/helpers.js"}],[5348,{"./send":5349},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n=e("./send");Object.keys(n).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in r&&r[e]===n[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return n[e]}}))}))}}},{package:"$root$",file:"ui/ducks/send/index.js"}],[5349,{"../../../shared/constants/common":4495,"../../../shared/constants/gas":4500,"../../../shared/constants/swaps":4516,"../../../shared/constants/time":4518,"../../../shared/constants/transaction":4520,"../../../shared/lib/metamask-controller-utils":4526,"../../../shared/lib/transactions-controller-utils":4531,"../../../shared/modules/Numeric":4533,"../../../shared/modules/conversion.utils":4537,"../../../shared/modules/hexstring-utils":4544,"../../../shared/modules/string-utils":4558,"../../../shared/modules/transaction.utils":4560,"../../helpers/constants/error-keys":5356,"../../helpers/constants/routes":5361,"../../helpers/utils/token-util":5396,"../../helpers/utils/transactions.util":5397,"../../helpers/utils/util":5399,"../../pages/confirmations/send/send.constants":5721,"../../pages/confirmations/send/send.utils":5722,"../../pages/swaps/swaps.util":5967,"../../selectors":5987,"../../store/actionConstants":5997,"../../store/actions":5998,"../confirm-transaction/confirm-transaction.duck":5338,"../domains":5340,"../gas/gas.duck":5342,"../metamask/metamask":5346,"./helpers":5347,"./swap-and-send-utils":5350,"@metamask/transaction-controller":2234,"@reduxjs/toolkit":2354,"bignumber.js":2933,"eth-rpc-errors":3257,"ethereumjs-util":3288,lodash:3836,uuid:4424},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.draftTransactionInitialState=r.default=r.computeEstimatedGasLimit=r.addHistoryEntry=r.acknowledgeRecipientWarning=r.SEND_STATUSES=r.SEND_STAGES=r.RECIPIENT_SEARCH_MODES=r.GAS_INPUT_MODES=r.AMOUNT_MODES=void 0,r.editExistingTransaction=function(e,t){return async(r,n)=>{await r(te.clearPreviousDrafts());const o=n(),a=(0,m.getUnapprovedTransactions)(o)[t],i=(0,m.getTargetAccount)(o,a.txParams.from);if(Boolean(o[Q].prevSwapAndSendInput)){const{amountMode:e,amount:{value:n},...a}=o[Q].prevSwapAndSendInput;r(te.addNewDraft({...z,...a,id:t,fromAccount:i,history:[`sendFlow - user clicked edit on transaction with id ${t} (swap and send)`]})),e===V.MAX?(r(te.updateAmountMode(V.MAX)),r(te.updateAmountToMax()),r(fe())):r(ge(n))}else if(e===A.AssetType.native)await r(te.addNewDraft({...z,id:t,fromAccount:i,gas:{...z.gas,gasLimit:a.txParams.gas,gasPrice:a.txParams.gasPrice},userInputHexData:a.txParams.data,recipient:{...z.recipient,address:a.txParams.to,nickname:(0,m.getAddressBookEntryOrAccountName)(o,a.txParams.to)??""},amount:{...z.amount,value:a.txParams.value},history:[`sendFlow - user clicked edit on transaction with id ${t}`]})),await r(ve({type:A.AssetType.native},{initialAssetSet:!0}));else{const n=(0,N.parseStandardTokenTransactionData)(a.txParams.data),c=e===A.AssetType.token?(0,I.getTokenValueParam)(n):"1",u=(0,T.getTokenAddressParam)(n),l=(0,m.getAddressBookEntryOrAccountName)(o,u)??"",p=(0,s.addHexPrefix)((0,d.decimalToHex)(c));await r(te.addNewDraft({...z,id:t,fromAccount:i,gas:{...z.gas,gasLimit:a.txParams.gas,gasPrice:a.txParams.gasPrice},userInputHexData:a.txParams.data,recipient:{...z.recipient,address:u,nickname:l},amount:{...z.amount,value:p},history:[`sendFlow - user clicked edit on transaction with id ${t}`]})),await r(ve({type:e,details:{address:a.txParams.to,...e===A.AssetType.NFT?{tokenId:(0,T.getTokenIdParam)(n)??(0,I.getTokenValueParam)(n)}:{}}},{initialAssetSet:!0}))}await r(Y())}},r.gasFeeIsInError=function(e){var t;return Boolean(null===(t=Te(e).gas)||void 0===t?void 0:t.error)},r.getAssetError=function(e){return we(e).error},r.getBestQuote=void 0,r.getCurrentDraftTransaction=Te,r.getCurrentTransactionUUID=ye,r.getDraftTransactionExists=function(e){const t=Te(e);if(0===Object.keys(t).length)return!1;return!0},r.getDraftTransactionID=function(e){return Te(e).id},r.getGasInputMode=function(e){const t=(0,m.getIsMainnet)(e),r=(0,_.getGasEstimateType)(e),n=(0,m.getAdvancedInlineGasShown)(e);if(e[Q].gasIsSetInModal)return $.CUSTOM;if(!t||n)return $.INLINE;if(t&&r===p.GasEstimateTypes.ethGasPrice)return $.INLINE;return $.BASIC},r.getGasLimit=function(e){var t;return null===(t=Te(e).gas)||void 0===t?void 0:t.gasLimit},r.getGasPrice=function(e){var t;return null===(t=Te(e).gas)||void 0===t?void 0:t.gasPrice},r.getGasTotal=function(e){var t;return null===(t=Te(e).gas)||void 0===t?void 0:t.gasTotal},r.getIsAssetSendable=function(e){var t,r;if((null===(t=we(e))||void 0===t?void 0:t.type)===A.AssetType.native)return!0;return!1===(null===(r=we(e))||void 0===r||null===(r=r.details)||void 0===r?void 0:r.isERC721)},r.getIsBalanceInsufficient=function(e){var t;return(null===(t=Te(e).gas)||void 0===t?void 0:t.error)===f.INSUFFICIENT_FUNDS_ERROR},r.getIsSwapAndSendDisabledForNetwork=r.getIsNativeSendPossible=void 0,r.getIsUsingMyAccountForRecipientSearch=function(e){return e[Q].recipientMode===K.MY_ACCOUNTS},r.getMinimumGasLimitForSend=function(e){return e[Q].gasLimitMinimum},r.getRecipient=Se,r.getRecipientUserInput=function(e){return e[Q].recipientInput},r.getRecipientWarningAcknowledgement=function(e){var t;return(null===(t=Te(e).recipient)||void 0===t?void 0:t.recipientWarningAcknowledged)??!1},r.getSendAmount=function(e){var t;return null===(t=Te(e).amount)||void 0===t?void 0:t.value},r.getSendAnalyticProperties=void 0,r.getSendAsset=we,r.getSendAssetAddress=function(e){var t;return null===(t=we(e))||void 0===t||null===(t=t.details)||void 0===t?void 0:t.address},r.getSendErrors=function(e){var t,r;return{gasFee:null===(t=Te(e).gas)||void 0===t?void 0:t.error,amount:null===(r=Te(e).amount)||void 0===r?void 0:r.error}},r.getSendHexData=function(e){return Te(e).userInputHexData},r.getSendLayer1GasFee=_e,r.getSendMaxModeState=function(e){return e[Q].amountMode===V.MAX},r.getSendStage=function(e){return e[Q].stage},r.getSendTo=function(e){var t;return null===(t=Se(e))||void 0===t?void 0:t.address},r.getSender=Ee,r.getSwapsBlockedTokens=function(e){return e[Q].swapsBlockedTokens},r.hasSendLayer1GasFee=function(e){return null!==e[Q].gasTotalForLayer1},r.initializeSendState=r.initialState=void 0,r.isSendFormInvalid=function(e){const t=Te(e);if(!t)return!0;return t.status===W.INVALID},r.isSendStateInitialized=function(e){return e[Q].stage!==H.INACTIVE},r.resetRecipientInput=function(){return async(e,t)=>{const r=t(),n=(0,m.getCurrentChainId)(r);(0,g.showLoadingIndication)(),await e(ce("sendFlow - user cleared recipient input")),await e(me("")),await e(he({address:"",nickname:""})),await e((0,w.resetDomainResolution)()),await e(se({chainId:n})),(0,g.hideLoadingIndication)()}},r.resetSendState=function(){return async(e,t)=>{const r=t();e(te.resetSendState()),r[Q].gasEstimatePollToken&&(await(0,g.gasFeeStopPollingByPollingToken)(r[Q].gasEstimatePollToken),(0,g.removePollingTokenFromAppState)(r[Q].gasEstimatePollToken))}},r.sendAmountIsInError=function(e){var t;return Boolean(null===(t=Te(e).amount)||void 0===t?void 0:t.error)},r.signTransaction=function(e){return async(t,r)=>{const n=r(),{stage:o,eip1559support:a,amountMode:s}=n[Q],c=n[Q].draftTransactions[n[Q].currentTransactionUUID];let d;const p=(0,U.getIsDraftSwapAndSend)(c),h=c.quotes,v=h?(0,U.calculateBestQuote)(h):undefined;d=p?{...v.trade}:(0,U.generateTransactionParams)(n[Q]);const{amount:y,sendAsset:T,receiveAsset:b,recipient:w}=c,E={amount:{...y},sendAsset:{...T},receiveAsset:{...b},recipient:{...w},amountMode:n[Q].amountMode};if(await t(te.setPrevSwapAndSend(E)),o!==H.EDIT||p){let r,a=c.recipient.type===f.RECIPIENT_TYPES.SMART_CONTRACT?u.TransactionType.contractInteraction:u.TransactionType.simpleSend;if(c.sendAsset.type!==A.AssetType.native&&(a=c.sendAsset.type===A.AssetType.NFT?c.sendAsset.details.standard===A.TokenStandard.ERC721?u.TransactionType.tokenMethodTransferFrom:u.TransactionType.tokenMethodSafeTransferFrom:u.TransactionType.tokenMethodTransfer),await t(ce("sendFlow - user clicked next and transaction should be added to controller")),p){var S,k,O,P,N,I;if(o===H.EDIT){const e=(0,m.getUnapprovedTransactions)(n)[c.id];e&&await t((0,g.rejectPendingApproval)(e.id,l.ethErrors.provider.userRejectedRequest().serialize()))}const a=(0,m.getCurrentChainId)(n),s=j.SWAPS_CHAINID_DEFAULT_TOKEN_MAP[a].decimals,i=(null===(S=c.sendAsset.details)||void 0===S?void 0:S.symbol)||(0,_.getNativeCurrency)(n),p=(null===(k=c.receiveAsset.details)||void 0===k?void 0:k.symbol)||(0,_.getNativeCurrency)(n),f=(null===(O=c.receiveAsset.details)||void 0===O?void 0:O.decimals)||s,h=(null===(P=c.receiveAsset.details)||void 0===P?void 0:P.address)||j.SWAPS_CHAINID_DEFAULT_TOKEN_MAP[a].address,T=(null===(N=c.sendAsset.details)||void 0===N?void 0:N.decimals)||s,b=new C.Numeric((null==y?void 0:y.value)||"0x0",16).toBase(10).shiftedBy(T).toString(),w=c.recipient.address,E=(null===(I=c.sendAsset.details)||void 0===I?void 0:I.address)||j.SWAPS_CHAINID_DEFAULT_TOKEN_MAP[a].address,A=null==v?void 0:v.sourceAmount,R=null==v?void 0:v.destinationAmount,x={swapAndSendRecipient:w,type:u.TransactionType.swapAndSend,sourceTokenSymbol:i,destinationTokenSymbol:p,destinationTokenDecimals:f,destinationTokenAddress:h,swapTokenValue:b,approvalTxId:undefined,destinationTokenAmount:R,sourceTokenAddress:E,sourceTokenAmount:A,sourceTokenDecimals:T};if(null!=v&&v.approvalNeeded){const{id:e}=await(0,g.addTransactionAndWaitForPublish)({...v.approvalNeeded,amount:"0x0"},{requireApproval:!1,type:u.TransactionType.swapApproval,swaps:{hasApproveTx:!0,meta:{type:u.TransactionType.swapApproval,sourceTokenSymbol:i}}});x.approvalTxId=e}const{id:M}=await(0,g.addTransactionAndWaitForPublish)(d,{requireApproval:!1,sendFlowHistory:c.history,type:u.TransactionType.swapAndSend,swaps:{hasApproveTx:Boolean(null==v?void 0:v.approvalNeeded),meta:x}});r=M,await t((0,g.setDefaultHomeActiveTabName)("activity")),e.push(L.DEFAULT_ROUTE)}else{const{id:n}=await t((0,g.addTransactionAndRouteToConfirmationPage)(d,{sendFlowHistory:c.history,type:a}));r=n,e.push(L.CONFIRM_TRANSACTION_ROUTE)}await t((0,M.setMaxValueMode)(r,s===V.MAX&&c.sendAsset.type===A.AssetType.native))}else{var R;const r=(0,m.getUnapprovedTransactions)(n),o=(0,i.cloneDeep)(r[c.id]),s={data:d.data,from:d.from,to:d.to,value:d.value,gas:null!=o&&o.userEditedGasLimit?o.txParams.gas:d.gas};o.originalGasEstimate=s.gas;const u={...o,txParams:Object.assign(o.txParams,a?s:d)};await t(ce("sendFlow - user clicked next and transaction should be updated in controller")),await t((0,g.updateTransactionSendFlowHistory)(c.id,(null===(R=o.sendFlowHistory)||void 0===R?void 0:R.length)||0,c.history)),await t((0,g.updateEditableParams)(c.id,u.txParams)),await t((0,g.updateTransactionGasFees)(c.id,u.txParams)),e.push(L.CONFIRM_TRANSACTION_ROUTE)}await t(te.setPrevSwapAndSend(E))}},r.startNewDraftTransaction=function(e){return async t=>{await t(te.clearPreviousDrafts()),await t(te.addNewDraft({...z,history:["sendFlow - User started new draft transaction"]})),await t(ve({type:e.type??A.AssetType.native,details:e.details,skipComputeEstimatedGasLimit:!0})),await t(Y())}},r.toggleSendMaxMode=function(){return async(e,t)=>{t()[Q].amountMode===V.MAX?(await e(te.updateAmountMode(V.INPUT)),await e(te.updateSendAmount("0x0")),await e(ce("sendFlow - user toggled max mode off"))):(await e(te.updateAmountMode(V.MAX)),await e(te.updateAmountToMax()),await e(ce("sendFlow - user toggled max mode on"))),await e(fe())}},r.updateGasLimit=void 0,r.updateGasPrice=function(e){return t=>{t(ce(`sendFlow - user set legacy gasPrice to ${e}`)),t(te.updateGasFees({gasPrice:e,transactionType:u.TransactionEnvelopeType.legacy,manuallyEdited:!0}))}},r.updateRecipient=he,r.updateRecipientUserInput=me,r.updateSendAmount=ge,r.updateSendAsset=ve,r.updateSendHexData=function(e){return async(t,r)=>{await t(ce(`sendFlow - user added custom hexData ${e}`)),await t(te.updateUserInputHexData(e));const n=r(),o=n[Q].draftTransactions[n[Q].currentTransactionUUID];await t(fe(o.sendAsset.type===A.AssetType.native))}},r.updateSendQuote=fe,r.useContactListForRecipientSearch=function(){return e=>{e(ce("sendFlow - user selected back to all on recipient screen")),e(ie(K.CONTACT_LIST))}},r.useDefaultGas=r.useCustomGas=void 0,r.useMyAccountsForRecipientSearch=function(){return e=>{e(ce("sendFlow - user selected transfer to my accounts on recipient screen")),e(ie(K.MY_ACCOUNTS))}};var n,o=e("@reduxjs/toolkit"),a=(n=e("bignumber.js"))&&n.__esModule?n:{default:n},s=e("ethereumjs-util"),i=e("lodash"),c=e("uuid"),u=e("@metamask/transaction-controller"),l=e("eth-rpc-errors"),d=e("../../../shared/modules/conversion.utils"),p=e("../../../shared/constants/gas"),f=e("../../pages/confirmations/send/send.constants"),h=e("../../pages/confirmations/send/send.utils"),m=e("../../selectors"),g=e("../../store/actions"),v=e("../gas/gas.duck"),y=e("../../store/actionConstants"),T=e("../../helpers/utils/token-util"),b=e("../../helpers/utils/util"),_=e("../metamask/metamask"),w=e("../domains"),E=e("../../../shared/modules/hexstring-utils"),S=e("../../helpers/utils/transactions.util"),A=e("../../../shared/constants/transaction"),k=e("../../helpers/constants/error-keys"),O=e("../../../shared/constants/time"),P=e("../../../shared/modules/string-utils"),N=e("../../../shared/modules/transaction.utils"),I=e("../../../shared/lib/metamask-controller-utils"),R=e("../../../shared/lib/transactions-controller-utils"),C=e("../../../shared/modules/Numeric"),x=e("../../../shared/constants/common"),j=e("../../../shared/constants/swaps"),M=e("../confirm-transaction/confirm-transaction.duck"),L=e("../../helpers/constants/routes"),D=e("../../pages/swaps/swaps.util"),F=e("./swap-and-send-utils"),U=e("./helpers");const B="This has been replaced with a more recent request",G=O.SECOND,H=r.SEND_STAGES={ADD_RECIPIENT:"ADD_RECIPIENT",DRAFT:"DRAFT",EDIT:"EDIT",INACTIVE:"INACTIVE"},W=r.SEND_STATUSES={INVALID:"INVALID",VALID:"VALID"},$=r.GAS_INPUT_MODES={BASIC:"BASIC",CUSTOM:"CUSTOM",INLINE:"INLINE"},V=r.AMOUNT_MODES={INPUT:"INPUT",MAX:"MAX"},K=r.RECIPIENT_SEARCH_MODES={CONTACT_LIST:"CONTACT_LIST",MY_ACCOUNTS:"MY_ACCOUNTS"},z=r.draftTransactionInitialState={amount:{error:null,value:"0x0"},sendAsset:{balance:"0x0",details:null,error:null,type:A.AssetType.native},receiveAsset:{balance:"0x0",details:null,error:null,type:A.AssetType.native},fromAccount:null,gas:{error:null,gasLimit:"0x0",gasPrice:"0x0",gasTotal:"0x0",maxFeePerGas:"0x0",maxPriorityFeePerGas:"0x0",wasManuallyEdited:!1},history:[],id:null,recipient:{address:"",error:null,nickname:"",warning:null,type:"",recipientWarningAcknowledged:!1},status:W.VALID,transactionType:u.TransactionEnvelopeType.legacy,userInputHexData:null,isSwapQuoteLoading:!1,swapQuotesError:null,swapQuotesLatestRequestTimestamp:null,timeToFetchQuotes:null,quotes:null},q=r.initialState={amountMode:V.INPUT,currentTransactionUUID:null,disabledSwapAndSendNetworks:[],draftTransactions:{},eip1559support:!1,gasEstimateIsLoading:!0,gasEstimatePollToken:null,gasIsSetInModal:!1,gasPriceEstimate:"0x0",gasLimitMinimum:p.GAS_LIMITS.SIMPLE,gasTotalForLayer1:null,prevSwapAndSendInput:null,recipientMode:K.CONTACT_LIST,recipientInput:"",selectedAccount:{address:null,balance:"0x0"},stage:H.INACTIVE,swapsBlockedTokens:[]},Q="send",X=r.computeEstimatedGasLimit=(0,o.createAsyncThunk)("send/computeEstimatedGasLimit",(async(e,t)=>{var r,n;const o=t.getState(),{send:a,metamask:s}=o,i=a.draftTransactions[a.currentTransactionUUID],c=(0,m.getUnapprovedTransactions)(o)[i.id],u=(0,m.getIsNonStandardEthChain)(o),l=(0,m.getCurrentChainId)(o),d=(0,m.getSelectedInternalAccountWithBalance)(o),p=await t.dispatch((0,g.getLayer1GasFee)({transactionParams:{gasPrice:i.gas.gasPrice,gas:i.gas.gasLimit,to:null===(r=i.recipient.address)||void 0===r?void 0:r.toLowerCase(),value:a.amountMode===V.MAX?a.selectedAccount.balance:i.amount.value,from:a.selectedAccount.address,data:i.userInputHexData,type:"0x0"},chainId:l}));if(a.stage!==H.EDIT||null===(n=c.dappSuggestedGasFees)||void 0===n||!n.gas||!c.userEditedGasLimit){var f;const e=await(0,U.estimateGasLimitForSend)({gasPrice:i.gas.gasPrice,blockGasLimit:s.currentBlockGasLimit,selectedAddress:d.address,sendToken:i.sendAsset.details,to:null===(f=i.recipient.address)||void 0===f?void 0:f.toLowerCase(),value:i.amount.value,data:i.userInputHexData,isNonStandardEthChain:u,chainId:l,gasLimit:i.gas.gasLimit});return await t.dispatch((0,v.setCustomGasLimit)(e)),{gasLimit:e,gasTotalForLayer1:p}}return null})),Y=r.initializeSendState=(0,o.createAsyncThunk)("send/initializeSendState",(async({chainHasChanged:e=!1}={},t)=>{const r=t.getState(),n=(0,m.getIsNonStandardEthChain)(r),o=(0,m.getSelectedNetworkClientId)(r),a=(0,m.getCurrentChainId)(r);let i=(0,m.checkNetworkAndAccountSupports1559)(r);i===undefined&&(i=await(0,g.getCurrentNetworkEIP1559Compatibility)());const c=(0,m.getSelectedAccount)(r),{send:u,metamask:l}=r,d=u.draftTransactions[u.currentTransactionUUID];if(!d)return t.rejectWithValue("draftTransaction not found, possibly not on send flow");let f=u.stage===H.EDIT?d.gas.gasPrice:"0x1",h=null;h=await(0,g.gasFeeStartPollingByNetworkClientId)(o),(0,g.addPollingTokenToAppState)(h);const{metamask:{gasFeeEstimates:y,gasEstimateType:T}}=t.getState();u.stage!==H.EDIT&&(f=T===p.GasEstimateTypes.legacy?(0,m.getGasPriceInHexWei)(y.medium):T===p.GasEstimateTypes.ethGasPrice?(0,U.getRoundedGasPrice)(y.gasPrice):T===p.GasEstimateTypes.feeMarket?(0,m.getGasPriceInHexWei)(y.medium.suggestedMaxFeePerGas):y.gasPrice?(0,U.getRoundedGasPrice)(y.gasPrice):"0x0");let{gasLimit:b}=d.gas;if(T!==p.GasEstimateTypes.none&&u.stage!==H.EDIT&&d.recipient.address){b=d.sendAsset.type===A.AssetType.token||d.sendAsset.type===A.AssetType.NFT?p.GAS_LIMITS.BASE_TOKEN_ESTIMATE:p.GAS_LIMITS.SIMPLE;b=await(0,U.estimateGasLimitForSend)({gasPrice:f,blockGasLimit:l.currentBlockGasLimit,selectedAddress:Ee(r),sendToken:d.sendAsset.details,to:d.recipient.address.toLowerCase(),value:d.amount.value,data:d.userInputHexData,isNonStandardEthChain:n,chainId:a})||b}await t.dispatch((0,v.setCustomGasLimit)(b));if(t.getState().send.currentTransactionUUID!==u.currentTransactionUUID)return t.rejectWithValue("draftTransaction changed during initialization.\n A new initializeSendState action must be dispatched.");const w=(0,m.getIsSwapsChain)(r)&&(0,m.getUseExternalServices)(r)?(await(0,D.fetchBlockedTokens)(a)).map((e=>e.toLowerCase())):[],E=await(0,F.getDisabledSwapAndSendNetworksFromAPI)();return{account:c,chainId:(0,m.getCurrentChainId)(r),tokens:(0,_.getTokens)(r),chainHasChanged:e,disabledSwapAndSendNetworks:E,gasFeeEstimates:y,gasEstimateType:T,gasLimit:b,gasTotal:(0,s.addHexPrefix)((0,R.calcGasTotal)(b,f)),gasEstimatePollToken:h,eip1559support:i,useTokenDetection:(0,m.getUseTokenDetection)(r),tokenAddressList:Object.keys((0,m.getTokenList)(r)),swapsBlockedTokens:w}}));let J;const Z=(0,o.createAsyncThunk)("send/fetchSwapAndSendQuotes",(async({requestTimestamp:e},t)=>{var r,n;const o=t.getState(),a=o[Q],i=(0,m.getCurrentChainId)(o),c=a.draftTransactions[a.currentTransactionUUID],u=Ee(o),l=(0,d.hexToDecimal)(c.amount.value);if(!(Number(l)&&c.sendAsset&&c.receiveAsset&&c.recipient.address))return{quotes:null,requestTimestamp:e};let p=await new Promise(((t,r)=>setTimeout((async()=>{var n,o;e!==J&&r(new Error(B)),(0,F.getSwapAndSendQuotes)({chainId:i,sourceAmount:l,sourceToken:(null===(n=c.sendAsset)||void 0===n||null===(n=n.details)||void 0===n?void 0:n.address)||j.SWAPS_CHAINID_DEFAULT_TOKEN_MAP[i].address,destinationToken:(null===(o=c.receiveAsset)||void 0===o||null===(o=o.details)||void 0===o?void 0:o.address)||j.SWAPS_CHAINID_DEFAULT_TOKEN_MAP[i].address,sender:u,recipient:c.recipient.address}).then((e=>t(e))).catch((()=>r(f.SWAPS_QUOTES_ERROR)))}),G)));for(const e of p)e.approvalNeeded&&(e.approvalNeeded.gas=(0,s.addHexPrefix)(await(0,g.estimateGas)(e.approvalNeeded)));if(p=await(0,U.addAdjustedReturnToQuotes)(p,o,null===(r=c.receiveAsset)||void 0===r?void 0:r.details),null===(n=p)||void 0===n||!n.length)throw new Error(f.SWAPS_NO_QUOTES);return{quotes:p,requestTimestamp:e}})),ee=(0,o.createSlice)({name:Q,initialState:q,reducers:{addNewDraft:(e,t)=>{e.currentTransactionUUID=(0,c.v4)(),e.draftTransactions[e.currentTransactionUUID]=t.payload,t.payload.id?e.stage=H.EDIT:e.stage=H.ADD_RECIPIENT},addHistoryEntry:(e,t)=>{const r=e.draftTransactions[e.currentTransactionUUID];r&&r.history.push({entry:t.payload,timestamp:Date.now()})},calculateGasTotal:e=>{const t=e.draftTransactions[e.currentTransactionUUID];t.transactionType===u.TransactionEnvelopeType.feeMarket?t.gas.gasTotal=(0,s.addHexPrefix)((0,R.calcGasTotal)(t.gas.gasLimit,t.gas.maxFeePerGas)):t.gas.gasTotal=(0,s.addHexPrefix)((0,R.calcGasTotal)(t.gas.gasLimit,t.gas.gasPrice)),e.amountMode===V.MAX&&t.sendAsset.type===A.AssetType.native&&ee.caseReducers.updateAmountToMax(e),ee.caseReducers.validateAmountField(e),ee.caseReducers.validateGasField(e),ee.caseReducers.validateSendState(e)},clearPreviousDrafts:e=>{e.currentTransactionUUID=null,e.draftTransactions={}},resetSendState:e=>({...q,prevSwapAndSendInput:e.prevSwapAndSendInput}),setPrevSwapAndSend:(e,t)=>{e.prevSwapAndSendInput=t.payload},updateAmountMode:(e,t)=>{Object.values(V).includes(t.payload)&&(e.amountMode=t.payload)},updateAmountToMax:e=>{const t=e.draftTransactions[e.currentTransactionUUID];let r="0x0";if(t.sendAsset.type===A.AssetType.token){var n;const e=(null===(n=t.sendAsset.details)||void 0===n?void 0:n.decimals)??0,o=Math.pow(10,Number(e));r=new C.Numeric(t.sendAsset.balance,16).times(o,10).toString()}else{const n=new C.Numeric(t.gas.gasTotal||"0x0",16).add(new C.Numeric(e.gasTotalForLayer1??"0x0",16));r=new C.Numeric(t.sendAsset.balance,16).lessThanOrEqualTo(n)?"0":new C.Numeric(t.sendAsset.balance,16).minus(n).toString()}ee.caseReducers.updateSendAmount(e,{payload:r})},updateAsset:(e,t)=>{const{asset:r,initialAssetSet:n,isReceived:o}=t.payload,a=e.draftTransactions[e.currentTransactionUUID],s=a[o?"receiveAsset":"sendAsset"];s.type=r.type,s.balance=r.balance,s.error=r.error,s.type===A.AssetType.token||s.type===A.AssetType.NFT?s.details=r.details:(s.details=null,a.recipient.error===f.CONTRACT_ADDRESS_ERROR&&(a.recipient.error=null)),o||(a.receiveAsset=s),e.amountMode===V.MAX?(e.amountMode=V.INPUT,ee.caseReducers.updateSendAmount(e,{payload:"0x0"})):!1===n&&(o?a.quotes=z.quotes:(ee.caseReducers.updateSendAmount(e,{payload:"0x0"}),ee.caseReducers.updateUserInputHexData(e,{payload:""}))),ee.caseReducers.validateSendState(e)},updateGasFeeEstimates:(e,t)=>{const{gasFeeEstimates:r,gasEstimateType:n}=t.payload;let o="0x0";switch(n){case p.GasEstimateTypes.feeMarket:ee.caseReducers.updateGasFees(e,{payload:{transactionType:u.TransactionEnvelopeType.feeMarket,maxFeePerGas:(0,m.getGasPriceInHexWei)(r.medium.suggestedMaxFeePerGas),maxPriorityFeePerGas:(0,m.getGasPriceInHexWei)(r.medium.suggestedMaxPriorityFeePerGas)}});break;case p.GasEstimateTypes.legacy:o=(0,U.getRoundedGasPrice)(r.medium),ee.caseReducers.updateGasFees(e,{payload:{gasPrice:o,type:u.TransactionEnvelopeType.legacy,isAutomaticUpdate:!0}});break;case p.GasEstimateTypes.ethGasPrice:o=(0,U.getRoundedGasPrice)(r.gasPrice),ee.caseReducers.updateGasFees(e,{payload:{gasPrice:(0,U.getRoundedGasPrice)(r.gasPrice),type:u.TransactionEnvelopeType.legacy,isAutomaticUpdate:!0}});case p.GasEstimateTypes.none:}e.gasPriceEstimate=(0,s.addHexPrefix)(o)},updateGasFees:(e,t)=>{const r=e.draftTransactions[e.currentTransactionUUID];r&&(t.payload.transactionType===u.TransactionEnvelopeType.feeMarket?(r.gas.maxFeePerGas=(0,s.addHexPrefix)(t.payload.maxFeePerGas),r.gas.maxPriorityFeePerGas=(0,s.addHexPrefix)(t.payload.maxPriorityFeePerGas),r.transactionType=u.TransactionEnvelopeType.feeMarket):(t.payload.manuallyEdited&&(r.gas.wasManuallyEdited=!0),r.gas.wasManuallyEdited&&!t.payload.manuallyEdited||(r.gas.gasPrice=(0,s.addHexPrefix)(t.payload.gasPrice)),r.transactionType=u.TransactionEnvelopeType.legacy),ee.caseReducers.calculateGasTotal(e))},updateGasLimit:(e,t)=>{const r=e.draftTransactions[e.currentTransactionUUID];r&&(r.gas.gasLimit=(0,s.addHexPrefix)(t.payload),ee.caseReducers.calculateGasTotal(e))},updateLayer1Fees:(e,t)=>{const r=e.draftTransactions[e.currentTransactionUUID];e.gasTotalForLayer1=t.payload,e.amountMode===V.MAX&&r.sendAsset.type===A.AssetType.native&&ee.caseReducers.updateAmountToMax(e)},updateRecipient:(e,t)=>{const r=e.draftTransactions[e.currentTransactionUUID];r.recipient.error=null,e.recipientInput="",r.recipient.address=t.payload.address??"",r.recipient.nickname=t.payload.nickname??"",""===r.recipient.address?e.stage=H.ADD_RECIPIENT:(e.stage=null===r.id?H.DRAFT:H.EDIT,e.recipientMode=K.CONTACT_LIST),ee.caseReducers.validateSendState(e)},updateRecipientSearchMode:(e,t)=>{e.recipientInput="",e.recipientMode=t.payload},updateRecipientWarning:(e,t)=>{e.draftTransactions[e.currentTransactionUUID].recipient.warning=t.payload},updateRecipientType:(e,t)=>{e.draftTransactions[e.currentTransactionUUID].recipient.type=t.payload},updateDraftTransactionStatus:(e,t)=>{e.draftTransactions[e.currentTransactionUUID].status=t.payload},acknowledgeRecipientWarning:e=>{e.draftTransactions[e.currentTransactionUUID].recipient.recipientWarningAcknowledged=!0,ee.caseReducers.validateSendState(e)},updateRecipientUserInput:(e,t)=>{e.recipientInput=t.payload},updateSendAmount:(e,t)=>{const r=e.draftTransactions[e.currentTransactionUUID];r.amount.value=(0,s.addHexPrefix)(t.payload),ee.caseReducers.validateAmountField(e),r.sendAsset.type===A.AssetType.native&&ee.caseReducers.validateGasField(e)},updateUserInputHexData:(e,t)=>{e.draftTransactions[e.currentTransactionUUID].userInputHexData=t.payload},useCustomGas:e=>{e.gasIsSetInModal=!0},useDefaultGas:e=>{e.gasIsSetInModal=!1},validateAmountField:e=>{const t=e.draftTransactions[e.currentTransactionUUID],r=new C.Numeric(t.amount.value,16);switch(!0){case t.sendAsset.type===A.AssetType.NFT&&t.sendAsset.details.standard===A.TokenStandard.ERC1155&&"0x0"===t.amount.value:t.amount.error=f.NEGATIVE_OR_ZERO_AMOUNT_TOKENS_ERROR,t.status!==W.INVALID&&ee.caseReducers.validateSendState(e);break;case t.sendAsset.type===A.AssetType.NFT&&t.sendAsset.details.standard===A.TokenStandard.ERC1155&&!(0,h.isERC1155BalanceSufficient)({tokenBalance:t.sendAsset.balance??"0x0",amount:t.amount.value}):t.amount.error=f.INSUFFICIENT_FUNDS_ERROR,t.status!==W.INVALID&&ee.caseReducers.validateSendState(e);break;case r.isFloat()&&t.sendAsset.type===A.AssetType.NFT&&t.sendAsset.details.standard===A.TokenStandard.ERC1155:t.amount.error=f.FLOAT_TOKENS_ERROR,t.status!==W.INVALID&&ee.caseReducers.validateSendState(e);break;case t.sendAsset.type===A.AssetType.token&&!(0,h.isTokenBalanceSufficient)({tokenBalance:t.sendAsset.balance??"0x0",amount:t.amount.value,decimals:t.sendAsset.details.decimals}):t.amount.error=f.INSUFFICIENT_TOKENS_ERROR,t.status!==W.INVALID&&ee.caseReducers.validateSendState(e);break;case!(0,h.isBalanceSufficient)({amount:t.sendAsset.type===A.AssetType.native?t.amount.value:undefined,balance:t.sendAsset.type===A.AssetType.native?t.sendAsset.balance:e.selectedAccount.balance,gasTotal:t.gas.gasTotal??"0x0"}):{const r=t.sendAsset.type===A.AssetType.native&&!(0,h.isBalanceSufficient)({amount:t.amount.value,balance:t.sendAsset.balance,gasTotal:"0x0"});t.amount.error=r?f.INSUFFICIENT_FUNDS_ERROR:f.INSUFFICIENT_FUNDS_FOR_GAS_ERROR,t.status!==W.INVALID&&ee.caseReducers.validateSendState(e);break}default:t.amount.error=null,t.status===W.INVALID&&ee.caseReducers.validateSendState(e)}},validateGasField:e=>{var t;const r=e.draftTransactions[e.currentTransactionUUID],n=!(0,h.isBalanceSufficient)({amount:r.sendAsset.type===A.AssetType.native?r.amount.value:"0x0",balance:(null===(t=r.fromAccount)||void 0===t?void 0:t.balance)??e.selectedAccount.balance,gasTotal:r.gas.gasTotal??"0x0"});r.gas.error=n?f.INSUFFICIENT_FUNDS_ERROR:null},validateRecipientUserInput:(e,t)=>{const r=e.draftTransactions[e.currentTransactionUUID];if(r)if(e.recipientMode===K.MY_ACCOUNTS||""===e.recipientInput||null===e.recipientInput)r.recipient.error=null,r.recipient.warning=null;else{var n;const{chainId:o,tokens:a,tokenAddressList:s,isProbablyAnAssetContract:i}=t.payload;(0,E.isBurnAddress)(e.recipientInput)||!(0,E.isValidHexAddress)(e.recipientInput,{mixedCaseUseChecksum:!0})&&!b.IS_FLASK&&!(0,b.isValidDomainName)(e.recipientInput)?r.recipient.error=(0,b.isDefaultMetaMaskChain)(o)?f.INVALID_RECIPIENT_ADDRESS_ERROR:f.INVALID_RECIPIENT_ADDRESS_NOT_ETH_NETWORK_ERROR:(0,b.isOriginContractAddress)(e.recipientInput,null===(n=r.sendAsset)||void 0===n||null===(n=n.details)||void 0===n?void 0:n.address)?r.recipient.error=f.CONTRACT_ADDRESS_ERROR:r.recipient.error=null,(0,E.isValidHexAddress)(e.recipientInput)&&(s.find((t=>(0,P.isEqualCaseInsensitive)(t,e.recipientInput)))||(0,b.checkExistingAddresses)(e.recipientInput,a))||i?r.recipient.warning=f.KNOWN_RECIPIENT_ADDRESS_WARNING:r.recipient.warning=null}ee.caseReducers.validateSendState(e)},validateSendState:e=>{var t,r,n,o,i;const c=e.draftTransactions[e.currentTransactionUUID];if(ee.caseReducers.addHistoryEntry(e,{payload:"Begin validating send state"}),c){const u=(0,U.getIsDraftSwapAndSend)(c),l=()=>[f.INSUFFICIENT_TOKENS_ERROR,f.INSUFFICIENT_FUNDS_ERROR,f.INSUFFICIENT_FUNDS_FOR_GAS_ERROR].includes(c.amount.error)&&!c.sendAsset.balance,{quotes:p,gas:m}=c,g=p?(0,U.calculateBestQuote)(p):undefined,v=(0,d.hexToDecimal)((null==m?void 0:m.gasTotal)||"0x0")>0&&(0,d.hexToDecimal)((null==m?void 0:m.gasLimit)||"0x0")>0?new C.Numeric(m.gasTotal,16).divide(m.gasLimit,16).toString():undefined;switch(!0){case Boolean(c.amount.error&&!l()):ee.caseReducers.addHistoryEntry(e,{payload:`Amount is in error ${c.amount.error}`}),c.status=W.INVALID;break;case Boolean(c.gas.error):ee.caseReducers.addHistoryEntry(e,{payload:`Gas is in error ${c.gas.error}`}),c.status=W.INVALID;break;case Boolean(c.sendAsset.error):ee.caseReducers.addHistoryEntry(e,{payload:`Send asset is in error ${c.sendAsset.error}`}),c.status=W.INVALID;break;case Boolean(c.receiveAsset.error):ee.caseReducers.addHistoryEntry(e,{payload:`Receive asset is in error ${c.receiveAsset.error}`}),c.status=W.INVALID;break;case c.sendAsset.type===A.AssetType.token&&null===c.sendAsset.details:ee.caseReducers.addHistoryEntry(e,{payload:"Send asset is TOKEN and token details is null"}),c.status=W.INVALID;break;case c.receiveAsset.type===A.AssetType.token&&null===c.receiveAsset.details:ee.caseReducers.addHistoryEntry(e,{payload:"Receive asset is TOKEN and token details is null"}),c.status=W.INVALID;break;case e.stage===H.ADD_RECIPIENT:ee.caseReducers.addHistoryEntry(e,{payload:"Form is invalid because stage is ADD_RECIPIENT"}),c.status=W.INVALID;break;case e.stage===H.INACTIVE:ee.caseReducers.addHistoryEntry(e,{payload:"Form is invalid because stage is INACTIVE"}),c.status=W.INVALID;break;case e.gasEstimateIsLoading:ee.caseReducers.addHistoryEntry(e,{payload:"Form is invalid because gasEstimateIsLoading"}),c.status=W.INVALID;break;case new a.default(c.gas.gasLimit,16).lessThan(new a.default(e.gasLimitMinimum)):ee.caseReducers.addHistoryEntry(e,{payload:`Form is invalid because ${c.gas.gasLimit} is lessThan ${e.gasLimitMinimum}`}),c.status=W.INVALID;break;case"loading"===c.recipient.warning:ee.caseReducers.addHistoryEntry(e,{payload:"Form is invalid because recipient warning is loading"}),c.status=W.INVALID;break;case c.recipient.warning===f.KNOWN_RECIPIENT_ADDRESS_WARNING&&!1===c.recipient.recipientWarningAcknowledged:ee.caseReducers.addHistoryEntry(e,{payload:"Form is invalid because recipient warning not acknolwedged"}),c.status=W.INVALID;break;case Boolean(g&&!(0,P.isEqualCaseInsensitive)(g.recipient,c.recipient.address)):ee.caseReducers.addHistoryEntry(e,{payload:`Recipient is not match ${c.recipient.address} ${g.recipient}`}),c.status=W.INVALID;break;case Boolean(g&&!(0,P.isEqualCaseInsensitive)(g.trade.from,e.selectedAccount.address)):ee.caseReducers.addHistoryEntry(e,{payload:`Sender is not match ${e.selectedAccount.address} ${g.trade.from}`}),c.status=W.INVALID;break;case Boolean(g&&!(0,P.isEqualCaseInsensitive)((null===(t=c.sendAsset)||void 0===t||null===(t=t.details)||void 0===t?void 0:t.address)||(0,s.zeroAddress)(),g.sourceToken)):ee.caseReducers.addHistoryEntry(e,{payload:`Source token is not match ${null===(r=c.sendAsset)||void 0===r||null===(r=r.details)||void 0===r?void 0:r.address} ${g.sourceToken}`}),c.status=W.INVALID;break;case Boolean(g&&!(0,P.isEqualCaseInsensitive)(g.destinationToken,(null===(n=c.receiveAsset)||void 0===n||null===(n=n.details)||void 0===n?void 0:n.address)||(0,s.zeroAddress)())):ee.caseReducers.addHistoryEntry(e,{payload:`Destination token is not match ${null===(o=c.receiveAsset)||void 0===o||null===(o=o.details)||void 0===o?void 0:o.address} ${g.destinationToken}`}),c.status=W.INVALID;break;case g&&!(0,h.isBalanceSufficient)({amount:c.sendAsset.type===A.AssetType.native?c.amount.value:undefined,balance:e.selectedAccount.balance,gasTotal:(0,R.calcGasTotal)(new C.Numeric((null==g||null===(i=g.gasParams)||void 0===i?void 0:i.maxGas)||0,10).toPrefixedHexString(),v??"0x0")}):c.amount.error||(c.amount.error=f.INSUFFICIENT_FUNDS_FOR_GAS_ERROR),c.status=W.INVALID;break;case u&&!g:ee.caseReducers.addHistoryEntry(e,{payload:"No swap and send quote available"}),c.status=W.INVALID;break;default:ee.caseReducers.addHistoryEntry(e,{payload:"Form is valid"}),c.status=W.VALID}}}},extraReducers:e=>{e.addCase(y.ACCOUNT_CHANGED,((e,t)=>{if(e.stage===H.EDIT&&t.payload.account){const r=e.draftTransactions[e.currentTransactionUUID];r&&r.fromAccount&&r.fromAccount.address===t.payload.account.address&&(r.fromAccount.balance=t.payload.account.balance,r.sendAsset.type===A.AssetType.native&&(r.sendAsset.balance=t.payload.account.balance),ee.caseReducers.validateAmountField(e),ee.caseReducers.validateGasField(e),ee.caseReducers.validateSendState(e))}})).addCase(y.ADDRESS_BOOK_UPDATED,((e,t)=>{var r;const{addressBook:n}=t.payload,o=e.draftTransactions[e.currentTransactionUUID];o&&null!==(r=n[o.recipient.address])&&void 0!==r&&r.name&&(o.recipient.nickname=n[o.recipient.address].name)})).addCase(y.CLEAR_SWAP_AND_SEND_STATE,(e=>{const t=e.draftTransactions[e.currentTransactionUUID];t.quotes=z.quotes,t.swapQuotesError=z.swapQuotesError,t.isSwapQuoteLoading=z.isSwapQuoteLoading,t.swapQuotesLatestRequestTimestamp=z.swapQuotesLatestRequestTimestamp,t.timeToFetchQuotes=z.timeToFetchQuotes})).addCase(X.pending,(e=>{e.gasEstimateIsLoading=!0})).addCase(X.fulfilled,((e,t)=>{var r,n;e.gasEstimateIsLoading=!1,null!==(r=t.payload)&&void 0!==r&&r.gasLimit&&ee.caseReducers.updateGasLimit(e,{payload:t.payload.gasLimit}),null!==(n=t.payload)&&void 0!==n&&n.gasTotalForLayer1&&ee.caseReducers.updateLayer1Fees(e,{payload:t.payload.gasTotalForLayer1})})).addCase(X.rejected,(e=>{e.gasEstimateIsLoading=!1})).addCase(y.GAS_FEE_ESTIMATES_UPDATED,((e,t)=>{ee.caseReducers.updateGasFeeEstimates(e,{payload:t.payload})})).addCase(Y.pending,(e=>{e.gasEstimateIsLoading=!0})).addCase(Y.fulfilled,((e,t)=>{e.eip1559support=t.payload.eip1559support,e.selectedAccount.address=t.payload.account.address,e.selectedAccount.balance=t.payload.account.balance,e.prevSwapAndSendInput=q.prevSwapAndSendInput;const r=e.draftTransactions[e.currentTransactionUUID];var n;r&&(r.gas.gasLimit=t.payload.gasLimit,r.gas.gasTotal=t.payload.gasTotal,t.payload.chainHasChanged&&(r.sendAsset.type=A.AssetType.native,r.sendAsset.balance=(null===(n=r.fromAccount)||void 0===n?void 0:n.balance)??e.selectedAccount.balance,r.sendAsset.details=null,r.receiveAsset=z.receiveAsset));ee.caseReducers.updateGasFeeEstimates(e,{payload:{gasFeeEstimates:t.payload.gasFeeEstimates,gasEstimateType:t.payload.gasEstimateType}}),e.gasEstimatePollToken=t.payload.gasEstimatePollToken,t.payload.gasEstimatePollToken&&(e.gasEstimateIsLoading=!1),e.stage!==H.INACTIVE&&ee.caseReducers.validateRecipientUserInput(e,{payload:{chainId:t.payload.chainId,tokens:t.payload.tokens,useTokenDetection:t.payload.useTokenDetection,tokenAddressList:t.payload.tokenAddressList}}),e.swapsBlockedTokens=t.payload.swapsBlockedTokens,e.disabledSwapAndSendNetworks=t.payload.disabledSwapAndSendNetworks,e.amountMode===V.MAX&&ee.caseReducers.updateAmountToMax(e),ee.caseReducers.validateAmountField(e),ee.caseReducers.validateGasField(e),ee.caseReducers.validateSendState(e)})).addCase(Y.rejected,(e=>{e.prevSwapAndSendInput=q.prevSwapAndSendInput})).addCase(Z.pending,((e,t)=>{const r=e.draftTransactions[e.currentTransactionUUID];var n;r&&(null!==(n=t.meta)&&void 0!==n&&null!==(n=n.arg)&&void 0!==n&&n.isRefreshingQuotes||(r.quotes=z.quotes),r.swapQuotesError=null,r.isSwapQuoteLoading=!0,r.swapQuotesLatestRequestTimestamp=Math.max(t.meta.arg.requestTimestamp,r.swapQuotesLatestRequestTimestamp));ee.caseReducers.validateSendState(e)})).addCase(Z.fulfilled,((e,t)=>{const r=e.draftTransactions[e.currentTransactionUUID];r&&t.payload.requestTimestamp===r.swapQuotesLatestRequestTimestamp&&(r.timeToFetchQuotes=Date.now()-t.payload.requestTimestamp,r.isSwapQuoteLoading=!1,r.swapQuotesError=null,t.payload&&(r.quotes=t.payload.quotes)),ee.caseReducers.validateSendState(e)})).addCase(Z.rejected,((e,t)=>{if(t.error.message===B)return;const r=e.draftTransactions[e.currentTransactionUUID];r&&(r.isSwapQuoteLoading=!1,r.swapQuotesError=t.error.message)})).addCase(y.SELECTED_ACCOUNT_CHANGED,((e,t)=>{if(e.stage!==H.EDIT&&t.payload.account){e.selectedAccount.balance=t.payload.account.balance,e.selectedAccount.address=t.payload.account.address;const r=e.draftTransactions[e.currentTransactionUUID];r&&((null==r?void 0:r.sendAsset.type)===A.AssetType.native&&(r.sendAsset.balance=t.payload.account.balance),(null==r?void 0:r.sendAsset.type)!==A.AssetType.token&&(null==r?void 0:r.sendAsset.type)!==A.AssetType.NFT||(r.sendAsset.type=z.sendAsset.type,r.sendAsset.error=z.sendAsset.error,r.sendAsset.details=z.sendAsset.details,r.sendAsset.balance=t.payload.account.balance,r.receiveAsset=z.receiveAsset,r.amount.value=z.amount.value),ee.caseReducers.validateAmountField(e),ee.caseReducers.validateGasField(e),ee.caseReducers.validateSendState(e))}})).addCase(y.QR_CODE_DETECTED,((e,t)=>{const r=t.value,n=e.draftTransactions[e.currentTransactionUUID];if(r&&n&&"address"===r.type){const t=r.values.address.toLowerCase();(0,E.isValidHexAddress)(t,{allowNonPrefixed:!1})?n.recipient.address!==t&&ee.caseReducers.updateRecipient(e,{payload:{address:t}}):n.recipient.error=f.INVALID_RECIPIENT_ADDRESS_ERROR}}))}}),{actions:te,reducer:re}=ee;r.default=re;const{useDefaultGas:ne,useCustomGas:oe,updateGasLimit:ae,validateRecipientUserInput:se,updateRecipientSearchMode:ie,addHistoryEntry:ce,acknowledgeRecipientWarning:ue}=te;r.acknowledgeRecipientWarning=ue,r.addHistoryEntry=ce,r.updateGasLimit=ae,r.useCustomGas=oe,r.useDefaultGas=ne;const le=(0,i.debounce)(((e,t,r)=>{e(ce(`sendFlow - user typed ${t.userInput} into recipient input field`)),e(se(t)),r()}),300),de=(0,i.debounce)((async e=>{await e(X())}),300),pe=(0,i.debounce)(((e,t)=>{e(ce(t))}),100);function fe(e=!0,t=!1,r=!0){return async(n,o)=>{var a;const s=o()[Q],i=null===(a=s.draftTransactions)||void 0===a?void 0:a[null==s?void 0:s.currentTransactionUUID],c=(0,U.getIsDraftSwapAndSend)(i),{quotes:u,swapQuotesError:l,isSwapQuoteLoading:d,swapQuotesLatestRequestTimestamp:p}=i??{};if(c){const e=Date.now();J=e,n(Z({requestTimestamp:e,isRefreshingQuotes:t}))}else(u||l||d||p)&&n({type:y.CLEAR_SWAP_AND_SEND_STATE});e&&(r?await n(X()):await de(n))}}function he({address:e,nickname:t}){return async(r,n)=>{const o=n(),a=(0,m.getAddressBookEntryOrAccountName)(o,e)??"";await r(te.updateRecipient({address:e,nickname:t||a})),await r(fe())}}function me(e){return async(t,r)=>{t(te.updateRecipientWarning("loading")),t(te.updateDraftTransactionStatus(W.INVALID)),await t(te.updateRecipientUserInput(e));const n=r(),o=Ee(n),a=(0,m.getCurrentChainId)(n),s=(0,_.getTokens)(n),i=(0,m.getUseTokenDetection)(n),c=(0,m.getTokenList)(n),u=Object.keys(c),l=(0,E.isValidHexAddress)(e);let d=!1;if(l){if(await(0,S.isSmartContractAddress)(e)){t(te.updateRecipientType(f.RECIPIENT_TYPES.SMART_CONTRACT));const{symbol:r,decimals:n}=(0,T.getTokenMetadata)(e,c)||{};if(d=r&&n!==undefined,!d)try{const{standard:t}=await(0,g.getTokenStandardAndDetails)(e,o);d=Boolean(t)}catch(e){console.log(e)}}}return new Promise((r=>{le(t,{userInput:e,chainId:a,tokens:s,useTokenDetection:i,tokenAddressList:u,isProbablyAnAssetContract:d},r)}))}}function ge(e,t){return async(r,n)=>{const o=n();if(r(te.updateSendAmount(e)),o[Q].amountMode===V.MAX&&r(te.updateAmountMode(V.INPUT)),await r(fe(!0,!1,!1)),t===undefined)return;const{ticker:a}=(0,_.getProviderConfig)(o),s=o[Q].draftTransactions[o[Q].currentTransactionUUID];let i=e;var c;s.sendAsset.type===A.AssetType.token?i=`${t} ${null===(c=s.sendAsset.details)||void 0===c?void 0:c.symbol}`:i=`${t} ${a||x.EtherDenomination.ETH}`;pe(r,`sendFlow - user set amount to ${i}`)}}function ve({type:e,details:t,skipComputeEstimatedGasLimit:r,isReceived:n},{initialAssetSet:o=!1}={}){return async(a,i)=>{const c=i(),{ticker:l}=(0,_.getProviderConfig)(c),d=c[Q].draftTransactions[c[Q].currentTransactionUUID],p=Ee(c),f=(0,m.getTargetAccount)(c,p);if(e===A.AssetType.native){const t=(0,m.getUnapprovedTransactions)(c),r=null==t?void 0:t[d.id];await a(ce(`sendFlow - user set asset of type ${A.AssetType.native} with symbol ${l??x.EtherDenomination.ETH}`)),await a(te.updateAsset({asset:{type:e,details:null,balance:f.balance,error:null},initialAssetSet:o,isReceived:n})),(null==r?void 0:r.type)!==u.TransactionType.tokenMethodTransferFrom&&(null==r?void 0:r.type)!==u.TransactionType.tokenMethodTransfer&&(null==r?void 0:r.type)!==u.TransactionType.tokenMethodSafeTransferFrom||await a(te.updateUserInputHexData(""))}else{var h;await a((0,g.showLoadingIndication)());let r,i=null===(h={[A.TokenStandard.ERC20]:n?["address","symbol","decimals"]:["address","symbol","decimals","balance"],[A.TokenStandard.ERC721]:["address","symbol","tokenId"],[A.TokenStandard.ERC1155]:["address","symbol","tokenId"]}[t.standard])||void 0===h?void 0:h.find((e=>t[e]===undefined));if("balance"===i){var v;const e=(0,m.getSelectedNetworkClientId)(c),r=Ee(c),n=null===(v=(await(0,g.getBalancesInSingleCall)(r,[t.address],e).catch((()=>({}))))[t.address])||void 0===v?void 0:v.hex;t.balance=n?(0,s.addHexPrefix)(n):undefined,i=undefined}r=t.standard&&!i?{...t}:{...t,...await(0,g.getTokenStandardAndDetails)(t.address,p,t.tokenId).catch((e=>{throw a((0,g.hideLoadingIndication)()),e}))},await a((0,g.hideLoadingIndication)());const u={type:e,details:r,error:null};if(r.standard===A.TokenStandard.ERC20)u.balance=r.balance&&r.decimals?(0,s.addHexPrefix)((0,R.calcTokenAmount)(r.balance,r.decimals).toString(16)):undefined,await a(ce(`sendFlow - user set asset to ERC20 token with symbol ${r.symbol} and address ${r.address}`));else if(r.standard===A.TokenStandard.ERC1155||r.standard===A.TokenStandard.ERC721){if(e===A.AssetType.token)throw a((0,g.showModal)({name:"CONVERT_TOKEN_TO_NFT",tokenAddress:r.address})),u.error=k.INVALID_ASSET_TYPE,new Error(k.INVALID_ASSET_TYPE);{let e=!0;try{e=await(0,g.isNftOwner)(p,r.address,r.tokenId)}catch(e){e.message.includes("Unable to verify ownership.")||a((0,g.displayWarning)(e.message))}if(!e)throw new Error("Send slice initialized as NFT send with an NFT not currently owned by the select account");u.error=null,u.balance=r.balance?(0,s.addHexPrefix)(r.balance):"0x1",await a(ce(`sendFlow - user set asset to NFT with tokenId ${r.tokenId} and address ${r.address}`))}}await a(te.updateAsset({asset:u,initialAssetSet:o,isReceived:n}))}await a(fe(!1===o&&!r))}}function ye(e){return e[Q].currentTransactionUUID}function Te(e){return e[Q].draftTransactions[ye(e)]??{}}const be=r.getBestQuote=(0,o.createSelector)(Te,(({quotes:e,swapQuotesError:t})=>{const r=e;if(t||null==r||!r.length)return undefined;return(0,U.calculateBestQuote)(r)}));function _e(e){return e[Q].gasTotalForLayer1}r.getIsNativeSendPossible=(0,o.createSelector)(Te,_e,(({gas:{gasTotal:e},sendAsset:t},r)=>{if(t.type!==A.AssetType.native)return!0;const n=t.balance;return new C.Numeric(e||"0x0",16).add(new C.Numeric(r??"0x0",16)).lessThan(n,16)}));function we(e){return Te(e).sendAsset}function Ee(e){var t,r;const n=e[Q],o=n.draftTransactions[n.currentTransactionUUID];return(null==o||null===(t=o.fromAccount)||void 0===t?void 0:t.address)??n.selectedAccount.address??(null===(r=(0,m.getSelectedInternalAccount)(e))||void 0===r?void 0:r.address)}function Se(e){const t=Te(e);if(!t.recipient)return{address:"",nickname:"",error:null,warning:null};const r=(0,E.toChecksumHexAddress)(t.recipient.address);return e.metamask.ensResolutionsByAddress?{...t.recipient,nickname:t.recipient.nickname||(0,m.getEnsResolutionByAddress)(e,r)}:t.recipient}r.getIsSwapAndSendDisabledForNetwork=(0,o.createSelector)((e=>e.metamask.providerConfig),(e=>{var t;return(null===(t=e[Q])||void 0===t?void 0:t.disabledSwapAndSendNetworks)??[]}),(({chainId:e},t)=>t.includes(e))),r.getSendAnalyticProperties=(0,o.createSelector)((e=>e.metamask.providerConfig),Te,be,(({chainId:e,ticker:t},r,n)=>{try{var o,a,s,i,c,u;const l=j.SWAPS_CHAINID_DEFAULT_TOKEN_MAP[e].decimals,d=j.SWAPS_CHAINID_DEFAULT_TOKEN_MAP[e].address,p=(0,U.getIsDraftSwapAndSend)(r),{quotes:f,amount:h,sendAsset:m,receiveAsset:g,swapQuotesError:v,timeToFetchQuotes:y}=r,T=(null==r||null===(o=r.sendAsset)||void 0===o||null===(o=o.details)||void 0===o?void 0:o.symbol)||t,b=(null==r||null===(a=r.receiveAsset)||void 0===a||null===(a=a.details)||void 0===a?void 0:a.symbol)||t,_=(null==r||null===(s=r.receiveAsset)||void 0===s||null===(s=s.details)||void 0===s?void 0:s.decimals)||l,w=(null==r||null===(i=r.sendAsset)||void 0===i||null===(i=i.details)||void 0===i?void 0:i.decimals)||l,E=new C.Numeric((null==h?void 0:h.value)||"0x0",16).toBase(10).shiftedBy(w).toString(),S=null==n?void 0:n.sourceAmount,A=null==n?void 0:n.destinationAmount,k=(null==r||null===(c=r.receiveAsset)||void 0===c||null===(c=c.details)||void 0===c?void 0:c.address)||d,O=(null==r||null===(u=r.sendAsset)||void 0===u||null===(u=u.details)||void 0===u?void 0:u.address)||d;return{is_swap_and_send:p,chain_id:e,token_amount_source:S&&w?(0,R.calcTokenAmount)(S,w).toString():E,token_amount_dest_estimate:A&&_?(0,R.calcTokenAmount)(A,_).toString():undefined,token_symbol_source:T,token_symbol_destination:b,token_address_source:O,token_address_destination:k,results_count:null==f?void 0:f.length,quotes_load_time_ms:y,aggregator_list:null==f?void 0:f.map((({aggregator:e,error:t})=>`${e} (${t||"no error"})`)),aggregator_recommended:null==n?void 0:n.aggregator,errors:[null==h?void 0:h.error,null==m?void 0:m.error,null==g?void 0:g.error,v].filter(Boolean)}}catch(e){return{analyticsError:e}}}))}}},{package:"$root$",file:"ui/ducks/send/send.js"}],[535,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.version=void 0,r.version="rlp/5.7.0"}}},{package:"@ethersproject/providers>@ethersproject/rlp",file:"node_modules/@ethersproject/rlp/lib/_version.js"}],[5350,{"../../../shared/constants/swaps":4516,"../../../shared/constants/time":4518,"../../../shared/lib/fetch-with-cache":4525,"../../../shared/lib/swaps-utils":4528,"../../../shared/modules/conversion.utils":4537,"../../../shared/modules/hexstring-utils":4544,"../../pages/swaps/swaps.util":5967,lodash:3836},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.getDisabledSwapAndSendNetworksFromAPI=async function(){try{const e=[],t=await(0,d.fetchSwapsFeatureFlags)();return a.ALLOWED_PROD_SWAPS_CHAIN_IDS.forEach((r=>{var n;!1===(null===(n=t[(0,d.getNetworkNameByChainId)(r)])||void 0===n||null===(n=n.v2)||void 0===n||null===(n=n.swapAndSend)||void 0===n?void 0:n.enabled)&&e.push(r)})),e}catch(e){return[]}},r.getSwapAndSendQuotes=async function(e){const{chainId:t,...r}=e;r.slippage=r.slippage??f;const n=new URLSearchParams(r),o=`${m}/${h}/networks/${(0,u.hexToDecimal)(t)}/quotes?${n}`,l=await(0,i.default)({url:o,fetchOptions:{method:"GET",headers:{"X-Client-Id":a.SWAPS_CLIENT_ID}},cacheOptions:{cacheRefreshTime:0,timeout:15*s.SECOND},functionName:"getSwapAndSendQuotes"});return l.map((e=>{if(e.trade&&!e.error&&(0,c.validateData)(p,e,o)){const t=(0,c.addHexPrefixToObjectValues)({to:e.trade.to,from:e.trade.from,data:e.trade.data,value:(0,u.decimalToHex)(e.trade.value),gas:(0,u.decimalToHex)(e.gasParams.maxGas)});let{approvalNeeded:n}=e;return n&&(n=(0,c.addHexPrefixToObjectValues)(n)),{...e,slippage:r.slippage,trade:t,approvalNeeded:n}}return undefined})).filter(Boolean)};var n,o=e("lodash"),a=e("../../../shared/constants/swaps"),s=e("../../../shared/constants/time"),i=(n=e("../../../shared/lib/fetch-with-cache"))&&n.__esModule?n:{default:n},c=e("../../../shared/lib/swaps-utils"),u=e("../../../shared/modules/conversion.utils"),l=e("../../../shared/modules/hexstring-utils"),d=e("../../pages/swaps/swaps.util");const p=[{property:"gasParams",type:"object",validator:e=>e&&(0,o.isNumber)(e.maxGas)},{property:"trade",type:"object",validator:e=>e&&(0,c.validHex)(e.data)&&(0,l.isValidHexAddress)(e.to,{allowNonPrefixed:!1})&&(0,l.isValidHexAddress)(e.from,{allowNonPrefixed:!1})&&(0,c.truthyString)(e.value)},{property:"approvalNeeded",type:"object",validator:e=>null===e||e&&(0,c.validHex)(e.data)&&(0,l.isValidHexAddress)(e.to,{allowNonPrefixed:!1})&&(0,l.isValidHexAddress)(e.from,{allowNonPrefixed:!1})},{property:"sourceAmount",type:"string",validator:c.truthyDigitString},{property:"destinationAmount",type:"string",validator:c.truthyDigitString},{property:"sourceToken",type:"string",validator:e=>(0,l.isValidHexAddress)(e,{allowNonPrefixed:!1})},{property:"destinationToken",type:"string",validator:e=>(0,l.isValidHexAddress)(e,{allowNonPrefixed:!1})},{property:"sender",type:"string",validator:e=>(0,l.isValidHexAddress)(e,{allowNonPrefixed:!1})},{property:"recipient",type:"string",validator:e=>(0,l.isValidHexAddress)(e,{allowNonPrefixed:!1})},{property:"aggregator",type:"string",validator:c.truthyString},{property:"aggregatorType",type:"string",validator:c.truthyString},{property:"error",type:"object",validator:e=>null===e||"object"==typeof e},{property:"fee",type:"number"}],f="2",h="v2",m=a.SWAPS_API_V2_BASE_URL}}},{package:"$root$",file:"ui/ducks/send/swap-and-send-utils.ts"}],[5351,{"../../../shared/constants/app":4493,"../../../shared/constants/common":4495,"../../../shared/constants/metametrics":4505,"../../../shared/constants/swaps":4516,"../../../shared/constants/transaction":4520,"../../../shared/lib/swaps-utils":4528,"../../../shared/lib/transactions-controller-utils":4531,"../../../shared/modules/Numeric":4533,"../../../shared/modules/conversion.utils":4537,"../../../shared/modules/selectors":4554,"../../helpers/constants/routes":5361,"../../pages/swaps/swaps.util":5967,"../../selectors":5987,"../../store/actions":5998,"../metamask/metamask":5346,"@metamask/transaction-controller":2234,"@reduxjs/toolkit":2354,"@sentry/browser":2409,"bignumber.js":2933,loglevel:3842},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.GAS_PRICES_LOADING_STATES=void 0,r.cancelSwapsSmartTransaction=function(e){return async(t,r)=>{try{await t((0,c.cancelSmartTransaction)(e))}catch(e){const{swaps:{isFeatureFlagLoaded:n}}=r();if(e.message.startsWith("Fetch error:")&&n){const r=(0,l.parseSmartTransactionsError)(e.message);t(we(null==r?void 0:r.error))}}}},r.fetchAndSetSwapsGasPriceInfo=r.default=r.clearSwapsState=void 0,r.fetchMetaSwapsGasPriceEstimates=ke,r.fetchSwapsLivenessAndFeatureFlags=r.fetchQuotesAndSetQuoteState=void 0,r.fetchSwapsSmartTransactionFees=Oe,r.setTransactionSettingsOpened=r.setTopAssets=r.setSwapsFromToken=r.setSwapToToken=r.setSwapQuotesFetchStartTime=r.setReviewSwapClickedTimestamp=r.setMaxSlippage=r.setLatestAddedTokenTo=r.setIsFeatureFlagLoaded=r.setFromTokenInputValue=r.setFromTokenError=r.setFetchingQuotes=r.setBalanceError=r.setAggregatorMetadata=r.prepareToLeaveSwaps=r.prepareForRetryGetQuotes=r.navigateBackToBuildQuote=r.getUsedSwapsGasPrice=r.getUsedQuote=r.getTransactionSettingsOpened=r.getTradeTxId=r.getTopQuote=r.getTopAssets=r.getToToken=r.getSwapsWelcomeMessageSeenStatus=r.getSwapsUserFeeLevel=r.getSwapsTokens=r.getSwapsSTXLoading=r.getSwapsQuoteRefreshTime=r.getSwapsQuotePrefetchingRefreshTime=r.getSwapsNetworkConfig=r.getSwapsFeatureIsLive=r.getSwapsFallbackGasPrice=r.getSwapsErrorKey=r.getSwapsCustomizationModalPrice=r.getSwapsCustomizationModalLimit=r.getSwapRedesignEnabled=r.getSwapGasPriceEstimateData=r.getSmartTransactionsErrorMessageDismissed=r.getSmartTransactionsError=r.getSmartTransactionFees=r.getSmartTransactionEstimatedGas=r.getShowQuoteLoadingScreen=r.getSelectedQuote=r.getReviewSwapClickedTimestamp=r.getQuotesLastFetched=r.getQuotesFetchStartTime=r.getQuotes=r.getPendingSmartTransactions=r.getMaxSlippage=r.getLatestAddedTokenTo=r.getIsFeatureFlagLoaded=r.getFromTokenInputValue=r.getFromTokenError=r.getFromToken=r.getFetchingQuotes=r.getFetchParams=r.getDestinationTokenInfo=r.getCustomSwapsGasPrice=r.getCustomSwapsGas=r.getCustomMaxPriorityFeePerGas=r.getCustomMaxFeePerGas=r.getCurrentSmartTransactionsError=r.getCurrentSmartTransactionsEnabled=r.getCurrentSmartTransactions=r.getBalanceError=r.getBackgroundSwapRouteState=r.getApproveTxParams=r.getApproveTxId=r.getAggregatorMetadata=void 0,r.shouldShowCustomPriceTooLowWarning=function(e){const{average:t}=j(e),r=x(e);if(!r||t===undefined)return!1;return new _.Numeric(r,16,b.EtherDenomination.WEI).toDenomination(b.EtherDenomination.GWEI).greaterThan(t,10)},r.swapsQuoteSelected=r.swapGasPriceEstimateIsLoading=r.swapGasEstimateLoadingHasFailed=r.swapCustomGasModalPriceEdited=r.swapCustomGasModalLimitEdited=r.swapCustomGasModalClosed=r.signAndSendTransactions=r.signAndSendSwapsSmartTransaction=void 0;var n=e("@reduxjs/toolkit"),o=E(e("bignumber.js")),a=E(e("loglevel")),s=e("@sentry/browser"),i=e("@metamask/transaction-controller"),c=e("../../store/actions"),u=e("../../helpers/constants/routes"),l=e("../../pages/swaps/swaps.util"),d=e("../../../shared/modules/conversion.utils"),p=e("../../selectors"),f=e("../../../shared/modules/selectors"),h=e("../../../shared/constants/metametrics"),m=e("../../../shared/constants/swaps"),g=e("../../../shared/constants/transaction"),v=e("../metamask/metamask"),y=e("../../../shared/constants/app"),T=e("../../../shared/lib/transactions-controller-utils"),b=e("../../../shared/constants/common"),_=e("../../../shared/modules/Numeric"),w=e("../../../shared/lib/swaps-utils");function E(e){return e&&e.__esModule?e:{default:e}}const S=r.GAS_PRICES_LOADING_STATES={INITIAL:"INITIAL",LOADING:"LOADING",FAILED:"FAILED",COMPLETED:"COMPLETED"},A={aggregatorMetadata:null,approveTxId:null,tradeTxId:null,balanceError:!1,fetchingQuotes:!1,fromToken:null,fromTokenInputValue:"",fromTokenError:null,isFeatureFlagLoaded:!1,maxSlippage:m.Slippage.default,quotesFetchStartTime:null,reviewSwapClickedTimestamp:null,topAssets:{},toToken:null,customGas:{price:null,limit:null,loading:S.INITIAL,priceEstimates:{},fallBackPrice:null},currentSmartTransactionsError:"",swapsSTXLoading:!1,transactionSettingsOpened:!1,latestAddedTokenTo:""},k=(0,n.createSlice)({name:"swaps",initialState:A,reducers:{clearSwapsState:()=>A,navigatedBackToBuildQuote:e=>{e.approveTxId=null,e.tradeTxId=null,e.balanceError=!1,e.fetchingQuotes=!1,e.customGas.limit=null,e.customGas.price=null},retriedGetQuotes:e=>{e.approveTxId=null,e.balanceError=!1,e.fetchingQuotes=!1},setAggregatorMetadata:(e,t)=>{e.aggregatorMetadata=t.payload},setBalanceError:(e,t)=>{e.balanceError=t.payload},setFetchingQuotes:(e,t)=>{e.fetchingQuotes=t.payload},setLatestAddedTokenTo:(e,t)=>{e.latestAddedTokenTo=t.payload},setFromToken:(e,t)=>{e.fromToken=t.payload},setFromTokenInputValue:(e,t)=>{e.fromTokenInputValue=t.payload},setFromTokenError:(e,t)=>{e.fromTokenError=t.payload},setIsFeatureFlagLoaded:(e,t)=>{e.isFeatureFlagLoaded=t.payload},setMaxSlippage:(e,t)=>{e.maxSlippage=t.payload},setQuotesFetchStartTime:(e,t)=>{e.quotesFetchStartTime=t.payload},setReviewSwapClickedTimestamp:(e,t)=>{e.reviewSwapClickedTimestamp=t.payload},setTopAssets:(e,t)=>{e.topAssets=t.payload},setToToken:(e,t)=>{e.toToken=t.payload},swapCustomGasModalClosed:e=>{e.customGas.price=null,e.customGas.limit=null},swapCustomGasModalPriceEdited:(e,t)=>{e.customGas.price=t.payload},swapCustomGasModalLimitEdited:(e,t)=>{e.customGas.limit=t.payload},swapGasPriceEstimatesFetchStarted:e=>{e.customGas.loading=S.LOADING},swapGasPriceEstimatesFetchFailed:e=>{e.customGas.loading=S.FAILED},swapGasPriceEstimatesFetchCompleted:(e,t)=>{e.customGas.priceEstimates=t.payload.priceEstimates,e.customGas.loading=S.COMPLETED},retrievedFallbackSwapsGasPrice:(e,t)=>{e.customGas.fallBackPrice=t.payload},setCurrentSmartTransactionsError:(e,t)=>{const r=Object.values(l.StxErrorTypes).includes(t.payload)||t.payload===undefined?t.payload:l.StxErrorTypes.unavailable;e.currentSmartTransactionsError=r},setSwapsSTXSubmitLoading:(e,t)=>{e.swapsSTXLoading=t.payload||!1},setTransactionSettingsOpened:(e,t)=>{e.transactionSettingsOpened=Boolean(t.payload)}}}),{actions:O,reducer:P}=k;r.default=P;r.getAggregatorMetadata=e=>e.swaps.aggregatorMetadata;const N=e=>e.swaps.balanceError;r.getBalanceError=N;const I=e=>e.swaps.fromToken;r.getFromToken=I;r.getFromTokenError=e=>e.swaps.fromTokenError;r.getFromTokenInputValue=e=>e.swaps.fromTokenInputValue;r.getIsFeatureFlagLoaded=e=>e.swaps.isFeatureFlagLoaded;r.getSwapsSTXLoading=e=>e.swaps.swapsSTXLoading;r.getMaxSlippage=e=>e.swaps.maxSlippage;r.getTopAssets=e=>e.swaps.topAssets;const R=e=>e.swaps.toToken;r.getToToken=R;r.getFetchingQuotes=e=>e.swaps.fetchingQuotes;const C=e=>e.swaps.latestAddedTokenTo;r.getLatestAddedTokenTo=C;r.getQuotesFetchStartTime=e=>e.swaps.quotesFetchStartTime;r.getReviewSwapClickedTimestamp=e=>e.swaps.reviewSwapClickedTimestamp;const x=e=>e.swaps.customGas.price;r.getSwapsCustomizationModalPrice=x;r.getSwapsCustomizationModalLimit=e=>e.swaps.customGas.limit;r.swapGasPriceEstimateIsLoading=e=>e.swaps.customGas.loading===S.LOADING;r.swapGasEstimateLoadingHasFailed=e=>e.swaps.customGas.loading===S.INITIAL;const j=e=>e.swaps.customGas.priceEstimates;r.getSwapGasPriceEstimateData=j;const M=e=>e.swaps.customGas.fallBackPrice;r.getSwapsFallbackGasPrice=M;const L=e=>e.swaps.currentSmartTransactionsError;r.getCurrentSmartTransactionsError=L;r.getTransactionSettingsOpened=e=>e.swaps.transactionSettingsOpened;const D=e=>e.metamask.swapsState;r.getSwapsFeatureIsLive=e=>e.metamask.swapsState.swapsFeatureIsLive;r.getSmartTransactionsError=e=>e.appState.smartTransactionsError;r.getSmartTransactionsErrorMessageDismissed=e=>e.appState.smartTransactionsErrorMessageDismissed;const F=e=>{const t=(0,f.getSmartTransactionsEnabled)(e),r=L(e);return t&&!r};r.getCurrentSmartTransactionsEnabled=F;r.getSwapRedesignEnabled=e=>{var t;const r=null===(t=e.metamask.swapsState)||void 0===t||null===(t=t.swapsFeatureFlags)||void 0===t?void 0:t.swapRedesign;return r===undefined||r.extensionActive};r.getSwapsQuoteRefreshTime=e=>e.metamask.swapsState.swapsQuoteRefreshTime;r.getSwapsQuotePrefetchingRefreshTime=e=>e.metamask.swapsState.swapsQuotePrefetchingRefreshTime;r.getBackgroundSwapRouteState=e=>e.metamask.swapsState.routeState;const U=e=>e.metamask.swapsState.customMaxGas;r.getCustomSwapsGas=U;const B=e=>e.metamask.swapsState.customGasPrice;r.getCustomSwapsGasPrice=B;const G=e=>e.metamask.swapsState.customMaxFeePerGas;r.getCustomMaxFeePerGas=G;const H=e=>e.metamask.swapsState.customMaxPriorityFeePerGas;r.getCustomMaxPriorityFeePerGas=H;r.getSwapsUserFeeLevel=e=>e.metamask.swapsState.swapsUserFeeLevel;const W=e=>e.metamask.swapsState.fetchParams;r.getFetchParams=W;const $=e=>e.metamask.swapsState.quotes;r.getQuotes=$;r.getQuotesLastFetched=e=>e.metamask.swapsState.quotesLastFetched;const V=e=>{const{selectedAggId:t,quotes:r}=D(e);return r[t]};r.getSelectedQuote=V;r.getSwapsErrorKey=e=>{var t;return null===(t=D(e))||void 0===t?void 0:t.errorKey};r.getShowQuoteLoadingScreen=e=>e.swaps.showQuoteLoadingScreen;const K=e=>e.metamask.swapsState.tokens;r.getSwapsTokens=K;r.getSwapsWelcomeMessageSeenStatus=e=>e.metamask.swapsWelcomeMessageHasBeenShown;const z=e=>{const{topAggId:t,quotes:r}=D(e);return r[t]};r.getTopQuote=z;r.getApproveTxId=e=>e.metamask.swapsState.approveTxId;r.getTradeTxId=e=>e.metamask.swapsState.tradeTxId;const q=e=>V(e)||z(e);r.getUsedQuote=q;r.getDestinationTokenInfo=e=>{var t;return null===(t=W(e))||void 0===t||null===(t=t.metaData)||void 0===t?void 0:t.destinationTokenInfo};const Q=e=>B(e)||M(e);r.getUsedSwapsGasPrice=Q;const X=e=>{var t;const{approvalNeeded:r}=V(e)||z(e)||{};if(!r)return null;const n=(null===(t=D(e))||void 0===t?void 0:t.customApproveTxData)||r.data,o=Q(e);return{...r,gasPrice:o,data:n}};r.getApproveTxParams=X;const Y=e=>{var t;return null===(t=e.metamask.smartTransactionsState)||void 0===t||null===(t=t.smartTransactions)||void 0===t?void 0:t[(0,p.getCurrentChainId)(e)]};r.getCurrentSmartTransactions=Y;r.getPendingSmartTransactions=e=>{const t=Y(e);return t&&0!==t.length?t.filter((e=>e.status===g.SmartTransactionStatus.pending)):[]};r.getSmartTransactionFees=e=>{var t;return null===(t=e.metamask.smartTransactionsState)||void 0===t?void 0:t.fees};r.getSmartTransactionEstimatedGas=e=>{var t;return null===(t=e.metamask.smartTransactionsState)||void 0===t?void 0:t.estimatedGas};const J=e=>{const{swapsQuoteRefreshTime:t,swapsQuotePrefetchingRefreshTime:r,swapsStxGetTransactionsRefreshTime:n,swapsStxBatchStatusRefreshTime:o,swapsStxStatusDeadline:a,swapsStxMaxFeeMultiplier:s}=e.metamask.swapsState;return{quoteRefreshTime:t,quotePrefetchingRefreshTime:r,stxGetTransactionsRefreshTime:n,stxBatchStatusRefreshTime:o,stxStatusDeadline:a,stxMaxFeeMultiplier:s}};r.getSwapsNetworkConfig=J;const{clearSwapsState:Z,navigatedBackToBuildQuote:ee,retriedGetQuotes:te,swapGasPriceEstimatesFetchCompleted:re,swapGasPriceEstimatesFetchStarted:ne,swapGasPriceEstimatesFetchFailed:oe,setAggregatorMetadata:ae,setBalanceError:se,setFetchingQuotes:ie,setLatestAddedTokenTo:ce,setFromToken:ue,setFromTokenError:le,setFromTokenInputValue:de,setIsFeatureFlagLoaded:pe,setMaxSlippage:fe,setQuotesFetchStartTime:he,setReviewSwapClickedTimestamp:me,setTopAssets:ge,setToToken:ve,swapCustomGasModalPriceEdited:ye,swapCustomGasModalLimitEdited:Te,retrievedFallbackSwapsGasPrice:be,swapCustomGasModalClosed:_e,setCurrentSmartTransactionsError:we,setSwapsSTXSubmitLoading:Ee,setTransactionSettingsOpened:Se}=O;r.setTransactionSettingsOpened=Se,r.swapCustomGasModalClosed=_e,r.swapCustomGasModalLimitEdited=Te,r.swapCustomGasModalPriceEdited=ye,r.setSwapToToken=ve,r.setTopAssets=ge,r.setReviewSwapClickedTimestamp=me,r.setSwapQuotesFetchStartTime=he,r.setMaxSlippage=fe,r.setIsFeatureFlagLoaded=pe,r.setFromTokenInputValue=de,r.setFromTokenError=le,r.setSwapsFromToken=ue,r.setLatestAddedTokenTo=ce,r.setFetchingQuotes=ie,r.setBalanceError=se,r.setAggregatorMetadata=ae,r.clearSwapsState=Z;r.navigateBackToBuildQuote=e=>async t=>{await t((0,c.setBackgroundSwapRouteState)("")),t(ee()),e.push(u.BUILD_QUOTE_ROUTE)};r.prepareForRetryGetQuotes=()=>async e=>{await e((0,c.resetSwapsPostFetchState)()),e(te())};r.prepareToLeaveSwaps=()=>async e=>{e(Z()),await e((0,c.resetBackgroundSwapsState)())};r.swapsQuoteSelected=e=>t=>{t(Te(null)),t((0,c.setSelectedQuoteAggId)(e)),t((0,c.setSwapsTxGasLimit)(""))};const Ae=()=>async e=>{const t=await e(ke());null!=t&&t.fast&&e((0,c.setSwapsTxGasPrice)((0,d.decGWEIToHexWEI)(t.fast)))};r.fetchAndSetSwapsGasPriceInfo=Ae;r.fetchSwapsLivenessAndFeatureFlags=()=>async(e,t)=>{let r={swapsFeatureIsLive:!1};const n=t(),o=(0,p.getCurrentChainId)(n);try{const t=await(0,l.fetchSwapsFeatureFlags)();if(await e((0,c.setSwapsFeatureFlags)(t)),m.ALLOWED_SMART_TRANSACTIONS_CHAIN_IDS.includes(o)){var s;await e(we(undefined)),await e((0,c.fetchSmartTransactionsLiveness)());((e,t)=>{if(!((null==t?void 0:t.length)<=0))for(const r of t)if(g.IN_PROGRESS_TRANSACTION_STATUSES.includes(r.status)){e(we(l.StxErrorTypes.regularTxPending));break}})(e,await(0,c.getTransactions)({searchCriteria:{from:null===(s=(0,p.getSelectedInternalAccount)(n))||void 0===s?void 0:s.address}}))}r=(0,l.getSwapsLivenessForNetwork)(o,t)}catch(e){a.default.error("Failed to fetch Swaps feature flags and Swaps liveness, defaulting to false.",e)}return await e((0,c.setSwapsLiveness)(r)),e(pe(!0)),r};r.fetchQuotesAndSetQuoteState=(e,t,r,n,s)=>async(i,d)=>{var g,y,b;const _=d(),w=(0,p.getCurrentChainId)(_);let E={swapsFeatureIsLive:!1};try{const e=await(0,l.fetchSwapsFeatureFlags)();E=(0,l.getSwapsLivenessForNetwork)(w,e)}catch(e){a.default.error("Failed to fetch Swaps liveness, defaulting to false.",e)}if(await i((0,c.setSwapsLiveness)(E)),!E.swapsFeatureIsLive)return void await e.push(u.SWAPS_MAINTENANCE_ROUTE);const S=W(_),A=(0,p.getSelectedAccount)(_),k=(0,p.getSelectedNetworkClientId)(_),O=N(_),P=(0,p.getSwapsDefaultToken)(_),x=(null==S||null===(g=S.metaData)||void 0===g||null===(g=g.sourceTokenInfo)||void 0===g?void 0:g.symbol)===P.symbol?P:null==S||null===(y=S.metaData)||void 0===y?void 0:y.sourceTokenInfo,j=I(_)||x||{},M=R(_)||(null==S||null===(b=S.metaData)||void 0===b?void 0:b.destinationTokenInfo)||{},{address:L,symbol:D,decimals:U,iconUrl:B,balance:G}=j,{address:H,symbol:$,decimals:V,iconUrl:z}=M;s||(await i((0,c.setBackgroundSwapRouteState)("loading")),e.push(u.LOADING_QUOTES_ROUTE)),i(ie(!0));const q=(0,p.getTokenExchangeRates)(_);if(!H||$===P.symbol||q[H]!==undefined||(Q=H,X=(0,v.getTokens)(_),Array.isArray(X)&&X.find((e=>e.address.toLowerCase()===Q.toLowerCase())))){C(_)!==H&&await i(ce(""))}else await i((0,c.addToken)({address:H,symbol:$,decimals:V,image:z,networkClientId:k},!0)),await i(ce(H));var Q,X;L&&D!==P.symbol&&!q[L]&&G&&new o.default(G,16).gt(0)&&i((0,c.addToken)({address:L,symbol:D,decimals:U,image:B,networkClientId:k},!0));const Y=K(_),J=(null==Y?void 0:Y.find((({address:e})=>e===L)))||j,Z=(null==Y?void 0:Y.find((({address:e})=>e===H)))||M;i(ue(j));const ee=(0,p.isHardwareWallet)(_),te=(0,p.getHardwareWalletType)(_),re=(0,p.checkNetworkAndAccountSupports1559)(_),ne=(0,f.getSmartTransactionsOptInStatus)(_),oe=(0,f.getSmartTransactionsEnabled)(_),ae=F(_);n({event:"Quotes Requested",category:h.MetaMetricsEventCategory.Swaps,sensitiveProperties:{token_from:D,token_from_amount:String(t),token_to:$,request_type:O?"Quote":"Order",slippage:r,custom_slippage:r!==m.Slippage.default,is_hardware_wallet:ee,hardware_wallet_type:te,stx_enabled:oe,current_stx_enabled:ae,stx_user_opt_in:ne,anonymizedData:!0}});try{var se;const e=Date.now();i(he(e));const o=i((0,c.fetchAndSetQuotes)({slippage:r,sourceToken:L,destinationToken:H,value:t,fromAddress:A.address,balanceError:O,sourceDecimals:U},{sourceTokenInfo:J,destinationTokenInfo:Z,accountBalance:A.balance,chainId:w})),a=re?null:i(Ae()),[[s,u]]=await Promise.all([o,a]);if(0===(null===(se=Object.values(s))||void 0===se?void 0:se.length))n({event:"No Quotes Available",category:h.MetaMetricsEventCategory.Swaps,sensitiveProperties:{token_from:D,token_from_amount:String(t),token_to:$,request_type:O?"Quote":"Order",slippage:r,custom_slippage:r!==m.Slippage.default,is_hardware_wallet:ee,hardware_wallet_type:te,stx_enabled:oe,current_stx_enabled:ae,stx_user_opt_in:ne}}),i((0,c.setSwapsErrorKey)(m.QUOTES_NOT_AVAILABLE_ERROR));else{var le;const o=s[u],a=(0,T.calcTokenAmount)(o.destinationAmount,o.decimals||18).toString(10);n({event:"Quotes Received",category:h.MetaMetricsEventCategory.Swaps,sensitiveProperties:{token_from:D,token_from_amount:String(t),token_to:$,token_to_amount:a,request_type:O?"Quote":"Order",slippage:r,custom_slippage:r!==m.Slippage.default,response_time:Date.now()-e,best_quote_source:o.aggregator,available_quotes:null===(le=Object.values(s))||void 0===le?void 0:le.length,is_hardware_wallet:ee,hardware_wallet_type:te,stx_enabled:oe,current_stx_enabled:ae,stx_user_opt_in:ne,anonymizedData:!0}}),i((0,c.setInitialGasEstimate)(u))}}catch(e){if(e.message===m.SWAPS_FETCH_ORDER_CONFLICT)return void a.default.debug("Swap fetch order conflict detected; ignoring older request");a.default.error("Error fetching quotes: ",e),i((0,c.setSwapsErrorKey)(m.ERROR_FETCHING_QUOTES))}i(ie(!1))};r.signAndSendSwapsSmartTransaction=({unsignedTransaction:e,trackEvent:t,history:r,additionalTrackingParams:n})=>async(o,g)=>{var v,b,_,w,E,S,A,k;o(Ee(!0));const O=g(),P=W(O),{metaData:N,value:I,slippage:R}=P,{sourceTokenInfo:C={},destinationTokenInfo:x={}}=N,j=q(O),M=J(O),L=(0,p.getCurrentChainId)(O);o((0,c.setSmartTransactionsRefreshInterval)(null==M?void 0:M.stxBatchStatusRefreshTime));const D=j.trade,U=(0,T.calcTokenAmount)(j.destinationAmount,x.decimals||18).toPrecision(8),B=(0,f.getSmartTransactionsOptInStatus)(O),G=(0,f.getSmartTransactionsEnabled)(O),H=F(O),V={token_from:C.symbol,token_from_amount:String(I),token_to:x.symbol,token_to_amount:U,slippage:R,custom_slippage:2!==R,best_quote_source:null===(v=z(O))||void 0===v?void 0:v.aggregator,available_quotes:null===(b=$(O))||void 0===b?void 0:b.length,other_quote_selected:j.aggregator!==(null===(_=z(O))||void 0===_?void 0:_.aggregator),other_quote_selected_source:j.aggregator===(null===(w=z(O))||void 0===w?void 0:w.aggregator)?"":j.aggregator,average_savings:null===(E=j.savings)||void 0===E?void 0:E.total,performance_savings:null===(S=j.savings)||void 0===S?void 0:S.performance,fee_savings:null===(A=j.savings)||void 0===A?void 0:A.fee,median_metamask_fee:null===(k=j.savings)||void 0===k?void 0:k.medianMetaMaskFee,stx_enabled:G,current_stx_enabled:H,stx_user_opt_in:B,...n};if(t({event:"STX Swap Started",category:h.MetaMetricsEventCategory.Swaps,sensitiveProperties:V}),!(0,l.isContractAddressValid)(D.to,L))return(0,s.captureMessage)("Invalid contract address",{extra:{token_from:V.token_from,token_to:V.token_to,contract_address:D.to}}),await o((0,c.setSwapsErrorKey)(m.SWAP_FAILED_ERROR)),void r.push(u.SWAPS_ERROR_ROUTE);const K=X(O);let Q,Y;try{var Z;K&&(Y={...K,value:"0x0"});const t=await o(Oe({unsignedTransaction:e,approveTxParams:Y,fallbackOnNotEnoughFunds:!0}));if(!t)return a.default.error('"fetchSwapsSmartTransactionFees" failed'),o(Ee(!1)),void o(we(l.StxErrorTypes.unavailable));var ee;if(K)Y.gas=`0x${(0,d.decimalToHex)((null===(ee=t.approvalTxFees)||void 0===ee?void 0:ee.gasLimit)||0)}`,Y.chainId=L,Q=await o((0,c.signAndSendSmartTransaction)({unsignedTransaction:Y,smartTransactionFees:t.approvalTxFees}));e.gas=`0x${(0,d.decimalToHex)((null===(Z=t.tradeTxFees)||void 0===Z?void 0:Z.gasLimit)||0)}`,e.chainId=L;const n=await o((0,c.signAndSendSmartTransaction)({unsignedTransaction:e,smartTransactionFees:t.tradeTxFees})),s=x.address,p=x.decimals,f=x.symbol,h=C.symbol;await o((0,c.updateSmartTransaction)(n,{origin:y.ORIGIN_METAMASK,destinationTokenAddress:s,destinationTokenDecimals:p,destinationTokenSymbol:f,sourceTokenSymbol:h,swapMetaData:V,swapTokenValue:I,type:i.TransactionType.swap})),Q&&await o((0,c.updateSmartTransaction)(Q,{origin:y.ORIGIN_METAMASK,type:i.TransactionType.swapApproval,sourceTokenSymbol:h})),r.push(u.SMART_TRANSACTION_STATUS_ROUTE),o(Ee(!1))}catch(e){console.log("signAndSendSwapsSmartTransaction error",e);const{swaps:{isFeatureFlagLoaded:t}}=g();if(e.message.startsWith("Fetch error:")&&t){const t=(0,l.parseSmartTransactionsError)(e.message);o(we(null==t?void 0:t.error))}}};function ke(){return async(e,t)=>{const r=t(),n=(0,p.getCurrentChainId)(r);let o;e(ne());try{o=await(0,l.fetchSwapsGasPrices)(n)}catch(t){var s;if(a.default.warn("Fetching swaps gas prices failed:",t),null===(s=t.message)||void 0===s||!s.match(/NetworkError|Fetch failed with status:/u))throw t;e(oe());try{const t=await global.ethQuery.gasPrice(),r=(0,d.hexWEIToDecGWEI)(t.toString(10));return e(be(r)),null}catch(e){return console.error("Failed to retrieve fallback gas price: ",e),null}}return e(re({priceEstimates:o})),o}}function Oe({unsignedTransaction:e,approveTxParams:t,fallbackOnNotEnoughFunds:r=!1}){return async(n,o)=>{const{swaps:{isFeatureFlagLoaded:a}}=o();try{return await n((0,c.fetchSmartTransactionFees)(e,t))}catch(e){if(e.message.startsWith("Fetch error:")&&a){const t=(0,l.parseSmartTransactionsError)(e.message);(r||(null==t?void 0:t.error)!==l.StxErrorTypes.notEnoughFunds)&&n(we(null==t?void 0:t.error))}}return null}}r.signAndSendTransactions=(e,t,r)=>async(n,g)=>{var y,b,_,E,S,A,k,O,P;const N=g(),I=(0,p.getCurrentChainId)(N),R=(0,p.isHardwareWallet)(N),C=(0,p.checkNetworkAndAccountSupports1559)(N);let x={swapsFeatureIsLive:!1};try{const e=await(0,l.fetchSwapsFeatureFlags)();x=(0,l.getSwapsLivenessForNetwork)(I,e)}catch(e){a.default.error("Failed to fetch Swaps liveness, defaulting to false.",e)}if(await n((0,c.setSwapsLiveness)(x)),!x.swapsFeatureIsLive)return void await e.push(u.SWAPS_MAINTENANCE_ROUTE);const M=U(N),L=G(N),D=H(N),B=W(N),{metaData:V,value:K,slippage:Y}=B,{sourceTokenInfo:J={},destinationTokenInfo:Z={}}=V;await n((0,c.setBackgroundSwapRouteState)("awaiting")),await n((0,c.stopPollingForQuotes)()),R||e.push(u.AWAITING_SWAP_ROUTE);const{fast:ee}=j(N);let te,re,ne,oe;if(C){const{high:{suggestedMaxFeePerGas:e,suggestedMaxPriorityFeePerGas:t},estimatedBaseFee:r="0"}=(0,v.getGasFeeEstimates)(N);oe=(0,d.decGWEIToHexWEI)(r),te=L||(0,d.decGWEIToHexWEI)(e),re=D||(0,d.decGWEIToHexWEI)(t),ne=(0,d.addHexes)(oe,re)}const ae=q(N),se=ae.trade,ie=new o.default((null==ae?void 0:ae.gasEstimate)||0,16).round(0).toString(16),ce=(0,w.calculateMaxGasLimit)(null==ae?void 0:ae.gasEstimate,null==ae?void 0:ae.gasMultiplier,null==ae?void 0:ae.maxGas,M),ue=Q(N);se.gas=ce,C?(se.maxFeePerGas=te,se.maxPriorityFeePerGas=re,delete se.gasPrice):se.gasPrice=ue;const le=(0,p.getUSDConversionRate)(N),de=(0,T.calcTokenAmount)(ae.destinationAmount,Z.decimals||18).toPrecision(8),pe=(null==ae?void 0:ae.gasEstimateWithRefund)||`0x${(0,d.decimalToHex)((null==ae?void 0:ae.averageGas)||0)}`,fe=new o.default(pe,16).plus((null===(y=ae.approvalNeeded)||void 0===y?void 0:y.gas)||"0x0",16).toString(16),he=(0,d.getValueFromWeiHex)({value:(0,T.calcGasTotal)(fe,C?ne:ue),toCurrency:"usd",conversionRate:le,numberOfDecimals:6}),me=(0,f.getSmartTransactionsOptInStatus)(N),ge=(0,f.getSmartTransactionsEnabled)(N),ve=F(N),ye={token_from:J.symbol,token_from_amount:String(K),token_to:Z.symbol,token_to_amount:de,slippage:Y,custom_slippage:2!==Y,best_quote_source:null===(b=z(N))||void 0===b?void 0:b.aggregator,available_quotes:null===(_=$(N))||void 0===_?void 0:_.length,other_quote_selected:ae.aggregator!==(null===(E=z(N))||void 0===E?void 0:E.aggregator),other_quote_selected_source:ae.aggregator===(null===(S=z(N))||void 0===S?void 0:S.aggregator)?"":ae.aggregator,gas_fees:he,estimated_gas:new o.default(ie,16).toString(10),suggested_gas_price:ee,used_gas_price:(0,d.hexWEIToDecGWEI)(ue),average_savings:null===(A=ae.savings)||void 0===A?void 0:A.total,performance_savings:null===(k=ae.savings)||void 0===k?void 0:k.performance,fee_savings:null===(O=ae.savings)||void 0===O?void 0:O.fee,median_metamask_fee:null===(P=ae.savings)||void 0===P?void 0:P.medianMetaMaskFee,is_hardware_wallet:R,hardware_wallet_type:(0,p.getHardwareWalletType)(N),stx_enabled:ge,current_stx_enabled:ve,stx_user_opt_in:me,...r};if(C&&(ye.max_fee_per_gas=te,ye.max_priority_fee_per_gas=re,ye.base_and_priority_fee_per_gas=ne),t({event:h.MetaMetricsEventName.SwapStarted,category:h.MetaMetricsEventCategory.Swaps,sensitiveProperties:ye}),!(0,l.isContractAddressValid)(se.to,I))return(0,s.captureMessage)("Invalid contract address",{extra:{token_from:ye.token_from,token_to:ye.token_to,contract_address:se.to}}),await n((0,c.setSwapsErrorKey)(m.SWAP_FAILED_ERROR)),void e.push(u.SWAPS_ERROR_ROUTE);let Te;const be=X(N);if(R&&e.push(u.AWAITING_SIGNATURES_ROUTE),be){C&&(be.maxFeePerGas=te,be.maxPriorityFeePerGas=re,delete be.gasPrice);try{Te=await(0,c.addTransactionAndWaitForPublish)({...be,amount:"0x0"},{requireApproval:!1,type:i.TransactionType.swapApproval,swaps:{hasApproveTx:!0,meta:{type:i.TransactionType.swapApproval,sourceTokenSymbol:J.symbol}}})}catch(t){return await n((0,c.setSwapsErrorKey)(m.SWAP_FAILED_ERROR)),void e.push(u.SWAPS_ERROR_ROUTE)}}try{var _e;await(0,c.addTransactionAndWaitForPublish)(se,{requireApproval:!1,type:i.TransactionType.swap,swaps:{hasApproveTx:Boolean(be),meta:{estimatedBaseFee:oe,sourceTokenSymbol:J.symbol,destinationTokenSymbol:Z.symbol,type:i.TransactionType.swap,destinationTokenDecimals:Z.decimals,destinationTokenAddress:Z.address,swapMetaData:ye,swapTokenValue:K,approvalTxId:null===(_e=Te)||void 0===_e?void 0:_e.id}}})}catch(t){const r=t.message.includes("EthAppPleaseEnableContractData")?m.CONTRACT_DATA_DISABLED_ERROR:m.SWAP_FAILED_ERROR;return console.error(t),await n((0,c.setSwapsErrorKey)(r)),void e.push(u.SWAPS_ERROR_ROUTE)}R&&e.push(u.AWAITING_SWAP_ROUTE),await(0,c.forceUpdateMetamaskState)(n)}}}},{package:"$root$",file:"ui/ducks/swaps/swaps.js"}],[5353,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.SUPPORT_REQUEST_LINK=r.SECONDARY=r.PRIMARY=r.PASSWORD_MIN_LENGTH=r.OUTDATED_BROWSER_VERSIONS=r.METAMETRICS_SETTINGS_LINK=r.FIXED_PRERENDER_BROWSER_VERSIONS=r.CONTRACT_ADDRESS_LINK=r.BROKEN_PRERENDER_BROWSER_VERSIONS=void 0;r.PRIMARY="PRIMARY",r.SECONDARY="SECONDARY",r.METAMETRICS_SETTINGS_LINK="https://support.metamask.io/privacy-and-security/how-to-manage-your-metametrics-settings",r.SUPPORT_REQUEST_LINK="https://metamask-flask.zendesk.com/hc/en-us/requests/new",r.CONTRACT_ADDRESS_LINK="https://metamask.zendesk.com/hc/en-us/articles/360020028092-What-is-the-known-contract-address-warning-",r.PASSWORD_MIN_LENGTH=8,r.OUTDATED_BROWSER_VERSIONS={chrome:"<109",edge:"<109",firefox:"<91",opera:"<95"},r.BROKEN_PRERENDER_BROWSER_VERSIONS={chrome:">=113",edge:">=113"},r.FIXED_PRERENDER_BROWSER_VERSIONS={windows:{chrome:">=120",edge:">=120"},macos:{chrome:">=120",edge:">=120"},chrome:">=121",edge:">=121"}}}},{package:"$root$",file:"ui/helpers/constants/common.ts"}],[5355,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.TypographyVariant=r.TextVariant=r.TextTransform=r.TextColor=r.TextAlign=r.TEXT_TRANSFORM=r.TEXT_ALIGN=r.Size=r.Severity=r.SEVERITIES=r.OverflowWrap=r.OVERFLOW_WRAP=r.JustifyContent=r.IconColor=r.FontWeight=r.FontStyle=r.FlexWrap=r.FlexDirection=r.FRACTIONS=r.FONT_WEIGHT=r.FONT_STYLE=r.FLEX_WRAP=r.FLEX_DIRECTION=r.Display=r.DISPLAY=r.Color=r.BorderStyle=r.BorderRadius=r.BorderColor=r.BlockSize=r.BackgroundColor=r.BREAKPOINTS=r.BLOCK_SIZES=r.AlignItems=void 0;r.Color=function(e){return e.backgroundDefault="background-default",e.backgroundAlternative="background-alternative",e.textDefault="text-default",e.textAlternative="text-alternative",e.textMuted="text-muted",e.iconDefault="icon-default",e.iconAlternative="icon-alternative",e.iconMuted="icon-muted",e.borderDefault="border-default",e.borderMuted="border-muted",e.overlayDefault="overlay-default",e.overlayInverse="overlay-inverse",e.primaryDefault="primary-default",e.primaryAlternative="primary-alternative",e.primaryMuted="primary-muted",e.primaryInverse="primary-inverse",e.errorDefault="error-default",e.errorAlternative="error-alternative",e.errorMuted="error-muted",e.errorInverse="error-inverse",e.warningDefault="warning-default",e.warningAlternative="warning-alternative",e.warningMuted="warning-muted",e.warningInverse="warning-inverse",e.warningDisabled="warning-disabled",e.successDefault="success-default",e.successAlternative="success-alternative",e.successMuted="success-muted",e.successInverse="success-inverse",e.successDisabled="success-disabled",e.infoDefault="info-default",e.infoAlternative="info-alternative",e.infoMuted="info-muted",e.infoInverse="info-inverse",e.infoDisabled="info-disabled",e.mainnet="mainnet",e.goerli="goerli",e.sepolia="sepolia",e.lineaGoerli="linea-goerli",e.lineaGoerliInverse="linea-goerli-inverse",e.lineaSepolia="linea-sepolia",e.lineaSepoliaInverse="linea-sepolia-inverse",e.lineaMainnet="linea-mainnet",e.lineaMainnetInverse="linea-mainnet-inverse",e.transparent="transparent",e.localhost="localhost",e.inherit="inherit",e.goerliInverse="goerli-inverse",e.sepoliaInverse="sepolia-inverse",e}({}),r.BackgroundColor=function(e){return e.backgroundDefault="background-default",e.backgroundAlternative="background-alternative",e.overlayDefault="overlay-default",e.overlayAlternative="overlay-alternative",e.primaryDefault="primary-default",e.primaryAlternative="primary-alternative",e.primaryMuted="primary-muted",e.errorDefault="error-default",e.errorAlternative="error-alternative",e.errorMuted="error-muted",e.warningDefault="warning-default",e.warningAlternative="warning-alternative",e.warningMuted="warning-muted",e.successDefault="success-default",e.successAlternative="success-alternative",e.successMuted="success-muted",e.infoDefault="info-default",e.infoAlternative="info-alternative",e.infoMuted="info-muted",e.mainnet="mainnet",e.goerli="goerli",e.sepolia="sepolia",e.lineaGoerli="linea-goerli",e.lineaSepolia="linea-sepolia",e.lineaMainnet="linea-mainnet",e.transparent="transparent",e.localhost="localhost",e}({}),r.BorderColor=function(e){return e.borderDefault="border-default",e.borderMuted="border-muted",e.primaryDefault="primary-default",e.primaryAlternative="primary-alternative",e.primaryMuted="primary-muted",e.errorDefault="error-default",e.errorAlternative="error-alternative",e.errorMuted="error-muted",e.warningDefault="warning-default",e.warningAlternative="warning-alternative",e.warningMuted="warning-muted",e.successDefault="success-default",e.successAlternative="success-alternative",e.successMuted="success-muted",e.infoDefault="info-default",e.infoAlternative="info-alternative",e.infoMuted="info-muted",e.mainnet="mainnet",e.goerli="goerli",e.sepolia="sepolia",e.lineaGoerli="linea-goerli",e.lineaSepolia="linea-sepolia",e.lineaMainnet="linea-mainnet",e.transparent="transparent",e.localhost="localhost",e.backgroundDefault="background-default",e}({}),r.TextColor=function(e){return e.textDefault="text-default",e.textAlternative="text-alternative",e.textMuted="text-muted",e.overlayInverse="overlay-inverse",e.primaryDefault="primary-default",e.primaryInverse="primary-inverse",e.errorDefault="error-default",e.errorAlternative="error-alternative",e.errorInverse="error-inverse",e.successDefault="success-default",e.successInverse="success-inverse",e.warningDefault="warning-default",e.warningInverse="warning-inverse",e.infoDefault="info-default",e.infoInverse="info-inverse",e.inherit="inherit",e.goerli="goerli",e.sepolia="sepolia",e.lineaGoerli="linea-goerli",e.lineaGoerliInverse="linea-goerli-inverse",e.lineaSepolia="linea-sepolia",e.lineaSepoliaInverse="linea-sepolia-inverse",e.lineaMainnet="linea-mainnet",e.lineaMainnetInverse="linea-mainnet-inverse",e.goerliInverse="goerli-inverse",e.sepoliaInverse="sepolia-inverse",e.transparent="transparent",e}({}),r.IconColor=function(e){return e.iconDefault="icon-default",e.iconAlternative="icon-alternative",e.iconMuted="icon-muted",e.overlayInverse="overlay-inverse",e.primaryDefault="primary-default",e.primaryInverse="primary-inverse",e.errorDefault="error-default",e.errorInverse="error-inverse",e.successDefault="success-default",e.successInverse="success-inverse",e.warningDefault="warning-default",e.warningInverse="warning-inverse",e.infoDefault="info-default",e.infoInverse="info-inverse",e.inherit="inherit",e.goerli="goerli",e.sepolia="sepolia",e.lineaGoerli="linea-goerli",e.lineaGoerliInverse="linea-goerli-inverse",e.lineaSepolia="linea-sepolia",e.lineaSepoliaInverse="linea-sepolia-inverse",e.lineaMainnet="linea-mainnet",e.lineaMainnetInverse="linea-mainnet-inverse",e.goerliInverse="goerli-inverse",e.sepoliaInverse="sepolia-inverse",e.transparent="transparent",e}({}),r.TypographyVariant=function(e){return e.H1="h1",e.H2="h2",e.H3="h3",e.H4="h4",e.H5="h5",e.H6="h6",e.H7="h7",e.H8="h8",e.H9="h9",e.paragraph="p",e.span="span",e}({}),r.TextVariant=function(e){return e.displayMd="display-md",e.headingLg="heading-lg",e.headingMd="heading-md",e.headingSm="heading-sm",e.bodyLgMedium="body-lg-medium",e.bodyMd="body-md",e.bodyMdMedium="body-md-medium",e.bodyMdBold="body-md-bold",e.bodySm="body-sm",e.bodySmMedium="body-sm-medium",e.bodySmBold="body-sm-bold",e.bodyXs="body-xs",e.bodyXsMedium="body-xs-medium",e.inherit="inherit",e}({}),r.Size=function(e){return e.XXS="xxs",e.XS="xs",e.SM="sm",e.MD="md",e.LG="lg",e.XL="xl",e.inherit="inherit",e.auto="auto",e}({}),r.BorderStyle=function(e){return e.dashed="dashed",e.solid="solid",e.dotted="dotted",e.double="double",e.none="none",e}({}),r.BorderRadius=function(e){return e.XS="xs",e.SM="sm",e.MD="md",e.LG="lg",e.XL="xl",e.none="none",e.pill="pill",e.full="full",e}({}),r.AlignItems=function(e){return e.flexStart="flex-start",e.flexEnd="flex-end",e.center="center",e.baseline="baseline",e.stretch="stretch",e}({}),r.JustifyContent=function(e){return e.flexStart="flex-start",e.flexEnd="flex-end",e.center="center",e.spaceAround="space-around",e.spaceBetween="space-between",e.spaceEvenly="space-evenly",e}({}),r.FlexDirection=function(e){return e.Row="row",e.RowReverse="row-reverse",e.Column="column",e.ColumnReverse="column-reverse",e}({});r.FLEX_DIRECTION={ROW:"row",ROW_REVERSE:"row-reverse",COLUMN:"column",COLUMN_REVERSE:"column-reverse"};r.FlexWrap=function(e){return e.Wrap="wrap",e.WrapReverse="wrap-reverse",e.NoWrap="nowrap",e}({});r.FLEX_WRAP={WRAP:"wrap",WRAP_REVERSE:"wrap-reverse",NO_WRAP:"nowrap"};r.Display=function(e){return e.Block="block",e.Flex="flex",e.Grid="grid",e.InlineBlock="inline-block",e.Inline="inline",e.InlineFlex="inline-flex",e.InlineGrid="inline-grid",e.ListItem="list-item",e.None="none",e}({});r.DISPLAY={BLOCK:"block",FLEX:"flex",GRID:"grid",INLINE_BLOCK:"inline-block",INLINE:"inline",INLINE_FLEX:"inline-flex",INLINE_GRID:"inline-grid",LIST_ITEM:"list-item",NONE:"none"};const n=r.FRACTIONS={HALF:"1/2",ONE_THIRD:"1/3",TWO_THIRDS:"2/3",ONE_FOURTH:"1/4",TWO_FOURTHS:"2/4",THREE_FOURTHS:"3/4",ONE_FIFTH:"1/5",TWO_FIFTHS:"2/5",THREE_FIFTHS:"3/5",FOUR_FIFTHS:"4/5",ONE_SIXTH:"1/6",TWO_SIXTHS:"2/6",THREE_SIXTHS:"3/6",FOUR_SIXTHS:"4/6",FIVE_SIXTHS:"5/6",ONE_TWELFTH:"1/12",TWO_TWELFTHS:"2/12",THREE_TWELFTHS:"3/12",FOUR_TWELFTHS:"4/12",FIVE_TWELFTHS:"5/12",SIX_TWELFTHS:"6/12",SEVEN_TWELFTHS:"7/12",EIGHT_TWELFTHS:"8/12",NINE_TWELFTHS:"9/12",TEN_TWELFTHS:"10/12",ELEVEN_TWELFTHS:"11/12"};r.BlockSize=function(e){return e.Zero="0",e.Half="1/2",e.OneThird="1/3",e.TwoThirds="2/3",e.OneFourth="1/4",e.TwoFourths="2/4",e.ThreeFourths="3/4",e.OneFifth="1/5",e.TwoFifths="2/5",e.ThreeFifths="3/5",e.FourFifths="4/5",e.OneSixth="1/6",e.TwoSixths="2/6",e.ThreeSixths="3/6",e.FourSixths="4/6",e.FiveSixths="5/6",e.OneTwelfth="1/12",e.TwoTwelfths="2/12",e.ThreeTwelfths="3/12",e.FourTwelfths="4/12",e.FiveTwelfths="5/12",e.SixTwelfths="6/12",e.SevenTwelfths="7/12",e.EightTwelfths="8/12",e.NineTwelfths="9/12",e.TenTwelfths="10/12",e.ElevenTwelfths="11/12",e.Screen="screen",e.Max="max",e.Min="min",e.Full="full",e}({});r.BLOCK_SIZES={...n,SCREEN:"screen",MAX:"max",MIN:"min",FULL:"full"};r.TextAlign=function(e){return e.Left="left",e.Center="center",e.Right="right",e.Justify="justify",e.End="end",e.Start="start",e}({});r.TEXT_ALIGN={LEFT:"left",CENTER:"center",RIGHT:"right",JUSTIFY:"justify",END:"end",START:"start"};r.TextTransform=function(e){return e.Uppercase="uppercase",e.Lowercase="lowercase",e.Capitalize="capitalize",e}({});r.TEXT_TRANSFORM={UPPERCASE:"uppercase",LOWERCASE:"lowercase",CAPITALIZE:"capitalize"};r.FontWeight=function(e){return e.Bold="bold",e.Medium="medium",e.Normal="normal",e}({});r.FONT_WEIGHT={BOLD:"bold",MEDIUM:"medium",NORMAL:"normal"};r.OverflowWrap=function(e){return e.BreakWord="break-word",e.Anywhere="anywhere",e.Normal="normal",e}({});r.OVERFLOW_WRAP={BREAK_WORD:"break-word",ANYWHERE:"anywhere",NORMAL:"normal"};r.FontStyle=function(e){return e.Italic="italic",e.Normal="normal",e}({});r.FONT_STYLE={ITALIC:"italic",NORMAL:"normal"};r.Severity=function(e){return e.Danger="danger",e.Warning="warning",e.Info="info",e.Success="success",e}({});r.SEVERITIES={DANGER:"danger",WARNING:"warning",INFO:"info",SUCCESS:"success"},r.BREAKPOINTS=["base","sm","md","lg"]}}},{package:"$root$",file:"ui/helpers/constants/design-system.ts"}],[5356,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.USER_OP_CONTRACT_DEPLOY_ERROR_KEY=r.UNSENDABLE_ASSET_ERROR_KEY=r.TRANSACTION_ERROR_KEY=r.IS_SIGNING_OR_SUBMITTING=r.INVALID_ASSET_TYPE=r.INSUFFICIENT_FUNDS_FOR_GAS_ERROR_KEY=r.INSUFFICIENT_FUNDS_ERROR_KEY=r.GAS_PRICE_FETCH_FAILURE_ERROR_KEY=r.GAS_PRICE_EXCESSIVE_ERROR_KEY=r.GAS_LIMIT_TOO_LOW_ERROR_KEY=r.ETH_GAS_PRICE_FETCH_WARNING_KEY=void 0;r.INSUFFICIENT_FUNDS_ERROR_KEY="insufficientFunds",r.GAS_LIMIT_TOO_LOW_ERROR_KEY="gasLimitTooLow",r.TRANSACTION_ERROR_KEY="transactionError",r.ETH_GAS_PRICE_FETCH_WARNING_KEY="ethGasPriceFetchWarning",r.GAS_PRICE_FETCH_FAILURE_ERROR_KEY="gasPriceFetchFailed",r.GAS_PRICE_EXCESSIVE_ERROR_KEY="gasPriceExcessive",r.UNSENDABLE_ASSET_ERROR_KEY="unsendableAsset",r.INSUFFICIENT_FUNDS_FOR_GAS_ERROR_KEY="insufficientFundsForGas",r.INVALID_ASSET_TYPE="invalidAssetType",r.IS_SIGNING_OR_SUBMITTING="isSigningOrSubmitting",r.USER_OP_CONTRACT_DEPLOY_ERROR_KEY="userOpContractDeployError"}}},{package:"$root$",file:"ui/helpers/constants/error-keys.js"}],[5359,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.NOTIFICATIONS_EXPIRATION_DELAY=void 0;r.NOTIFICATIONS_EXPIRATION_DELAY=1e4}}},{package:"$root$",file:"ui/helpers/constants/notifications.ts"}],[536,{"./_version":535,"@ethersproject/bytes":476,"@ethersproject/logger":504},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.decode=r.encode=void 0;var n=e("@ethersproject/bytes"),o=e("@ethersproject/logger"),a=e("./_version"),s=new o.Logger(a.version);function i(e){for(var t=[];e;)t.unshift(255&e),e>>=8;return t}function c(e,t,r){for(var n=0,o=0;ot+1+n&&s.throwError("child data too short",o.Logger.errors.BUFFER_OVERRUN,{})}return{consumed:1+n,result:a}}function d(e,t){if(0===e.length&&s.throwError("data too short",o.Logger.errors.BUFFER_OVERRUN,{}),e[t]>=248){t+1+(i=e[t]-247)>e.length&&s.throwError("data short segment too short",o.Logger.errors.BUFFER_OVERRUN,{});var r=c(e,t+1,i);return t+1+i+r>e.length&&s.throwError("data long segment too short",o.Logger.errors.BUFFER_OVERRUN,{}),l(e,t,t+1+i,i+r)}if(e[t]>=192){var a=e[t]-192;return t+1+a>e.length&&s.throwError("data array too short",o.Logger.errors.BUFFER_OVERRUN,{}),l(e,t,t+1,a)}if(e[t]>=184){var i;t+1+(i=e[t]-183)>e.length&&s.throwError("data array too short",o.Logger.errors.BUFFER_OVERRUN,{});var u=c(e,t+1,i);return t+1+i+u>e.length&&s.throwError("data array too short",o.Logger.errors.BUFFER_OVERRUN,{}),{consumed:1+i+u,result:(0,n.hexlify)(e.slice(t+1+i,t+1+i+u))}}if(e[t]>=128){var d=e[t]-128;return t+1+d>e.length&&s.throwError("data too short",o.Logger.errors.BUFFER_OVERRUN,{}),{consumed:1+d,result:(0,n.hexlify)(e.slice(t+1,t+1+d))}}return{consumed:1,result:(0,n.hexlify)(e[t])}}r.encode=function(e){return(0,n.hexlify)(u(e))},r.decode=function(e){var t=(0,n.arrayify)(e),r=d(t,0);return r.consumed!==t.length&&s.throwArgumentError("invalid rlp data","data",e),r.result}}}},{package:"@ethersproject/providers>@ethersproject/rlp",file:"node_modules/@ethersproject/rlp/lib/index.js"}],[5360,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.PRIVACY_POLICY_DATE=void 0;r.PRIVACY_POLICY_DATE="2024-06-18T12:00:00Z"}}},{package:"$root$",file:"ui/helpers/constants/privacy-policy.ts"}],[5361,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.VIEW_QUOTE_ROUTE=r.UNLOCK_ROUTE=r.TOKEN_DETAILS=r.SWAPS_ROUTE=r.SWAPS_NOTIFICATION_ROUTE=r.SWAPS_MAINTENANCE_ROUTE=r.SWAPS_ERROR_ROUTE=r.SNAPS_VIEW_ROUTE=r.SNAPS_ROUTE=r.SMART_TRANSACTION_STATUS_ROUTE=r.SIGNATURE_REQUEST_PATH=r.SETTINGS_ROUTE=r.SEND_ROUTE=r.SECURITY_ROUTE=r.REVEAL_SEED_ROUTE=r.RESTORE_VAULT_ROUTE=r.PREPARE_SWAP_ROUTE=r.PERMISSIONS=r.PATH_NAME_MAP=r.ONBOARDING_WELCOME_ROUTE=r.ONBOARDING_UNLOCK_ROUTE=r.ONBOARDING_SECURE_YOUR_WALLET_ROUTE=r.ONBOARDING_ROUTE=r.ONBOARDING_REVIEW_SRP_ROUTE=r.ONBOARDING_PRIVACY_SETTINGS_ROUTE=r.ONBOARDING_PIN_EXTENSION_ROUTE=r.ONBOARDING_METAMETRICS=r.ONBOARDING_IMPORT_WITH_SRP_ROUTE=r.ONBOARDING_HELP_US_IMPROVE_ROUTE=r.ONBOARDING_EXPERIMENTAL_AREA=r.ONBOARDING_CREATE_PASSWORD_ROUTE=r.ONBOARDING_CONFIRM_SRP_ROUTE=r.ONBOARDING_COMPLETION_ROUTE=r.NOTIFICATIONS_SETTINGS_ROUTE=r.NOTIFICATIONS_ROUTE=r.NEW_ACCOUNT_ROUTE=r.NETWORKS_ROUTE=r.NETWORKS_FORM_ROUTE=r.MMI_ONBOARDING_COMPLETION_ROUTE=r.LOCK_ROUTE=r.LOADING_QUOTES_ROUTE=r.INITIALIZE_EXPERIMENTAL_AREA=r.IMPORT_TOKEN_ROUTE=r.IMPORT_TOKENS_ROUTE=r.GENERAL_ROUTE=r.EXPERIMENTAL_ROUTE=r.ENCRYPTION_PUBLIC_KEY_REQUEST_PATH=r.DEVELOPER_OPTIONS_ROUTE=r.DESKTOP_PAIRING_ROUTE=r.DESKTOP_ERROR_ROUTE=r.DEFAULT_ROUTE=r.DECRYPT_MESSAGE_REQUEST_PATH=r.CONTACT_VIEW_ROUTE=r.CONTACT_LIST_ROUTE=r.CONTACT_EDIT_ROUTE=r.CONTACT_ADD_ROUTE=r.CONNECT_SNAP_UPDATE_ROUTE=r.CONNECT_SNAP_RESULT_ROUTE=r.CONNECT_SNAP_INSTALL_ROUTE=r.CONNECT_SNAPS_CONNECT_ROUTE=r.CONNECT_ROUTE=r.CONNECT_HARDWARE_ROUTE=r.CONNECT_CONFIRM_PERMISSIONS_ROUTE=r.CONNECTIONS=r.CONNECTED_ROUTE=r.CONNECTED_ACCOUNTS_ROUTE=r.CONFIRM_TRANSFER_FROM_PATH=r.CONFIRM_TRANSACTION_ROUTE=r.CONFIRM_TOKEN_METHOD_PATH=r.CONFIRM_SET_APPROVAL_FOR_ALL_PATH=r.CONFIRM_SEND_TOKEN_PATH=r.CONFIRM_SEND_ETHER_PATH=r.CONFIRM_SAFE_TRANSFER_FROM_PATH=r.CONFIRM_INCREASE_ALLOWANCE_PATH=r.CONFIRM_IMPORT_TOKEN_ROUTE=r.CONFIRM_DEPLOY_CONTRACT_PATH=r.CONFIRM_APPROVE_PATH=r.CONFIRM_ADD_SUGGESTED_TOKEN_ROUTE=r.CONFIRM_ADD_SUGGESTED_NFT_ROUTE=r.CONFIRMATION_V_NEXT_ROUTE=r.BUILD_QUOTE_ROUTE=r.AWAITING_SWAP_ROUTE=r.AWAITING_SIGNATURES_ROUTE=r.ASSET_ROUTE=r.ALERTS_ROUTE=r.ADVANCED_ROUTE=r.ADD_POPULAR_CUSTOM_NETWORK=r.ADD_NETWORK_ROUTE=r.ABOUT_US_ROUTE=void 0;const n=r.DEFAULT_ROUTE="/",o=r.UNLOCK_ROUTE="/unlock",a=r.LOCK_ROUTE="/lock",s=r.ASSET_ROUTE="/asset",i=r.SETTINGS_ROUTE="/settings",c=r.GENERAL_ROUTE="/settings/general",u=r.ADVANCED_ROUTE="/settings/advanced",l=(r.DEVELOPER_OPTIONS_ROUTE="/settings/developer-options",r.EXPERIMENTAL_ROUTE="/settings/experimental"),d=r.SECURITY_ROUTE="/settings/security",p=r.ABOUT_US_ROUTE="/settings/about-us",f=r.ALERTS_ROUTE="/settings/alerts",h=r.NETWORKS_ROUTE="/settings/networks",m=r.NETWORKS_FORM_ROUTE="/settings/networks/form",g=r.ADD_NETWORK_ROUTE="/settings/networks/add-network",v=r.ADD_POPULAR_CUSTOM_NETWORK="/settings/networks/add-popular-custom-network",y=r.CONTACT_LIST_ROUTE="/settings/contact-list",T=r.CONTACT_EDIT_ROUTE="/settings/contact-list/edit-contact",b=r.CONTACT_ADD_ROUTE="/settings/contact-list/add-contact",_=r.CONTACT_VIEW_ROUTE="/settings/contact-list/view-contact",w=r.REVEAL_SEED_ROUTE="/seed",E=r.RESTORE_VAULT_ROUTE="/restore-vault",S=r.IMPORT_TOKEN_ROUTE="/import-token",A=r.IMPORT_TOKENS_ROUTE="/import-tokens",k=r.CONFIRM_IMPORT_TOKEN_ROUTE="/confirm-import-token",O=r.CONFIRM_ADD_SUGGESTED_TOKEN_ROUTE="/confirm-add-suggested-token",P=r.NEW_ACCOUNT_ROUTE="/new-account",N=r.CONFIRM_ADD_SUGGESTED_NFT_ROUTE="/confirm-add-suggested-nft",I=r.CONNECT_HARDWARE_ROUTE="/new-account/connect",R=r.SEND_ROUTE="/send",C=r.CONNECTIONS="/connections",x=r.PERMISSIONS="/permissions",j=r.TOKEN_DETAILS="/token-details",M=r.CONNECT_ROUTE="/connect",L=r.CONNECT_CONFIRM_PERMISSIONS_ROUTE="/confirm-permissions",D=r.CONNECT_SNAPS_CONNECT_ROUTE="/snaps-connect",F=r.CONNECT_SNAP_INSTALL_ROUTE="/snap-install",U=r.CONNECT_SNAP_UPDATE_ROUTE="/snap-update",B=r.CONNECT_SNAP_RESULT_ROUTE="/snap-install-result",G=r.SNAPS_ROUTE="/snaps",H=r.SNAPS_VIEW_ROUTE="/snaps/view",W=r.NOTIFICATIONS_ROUTE="/notifications",$=r.NOTIFICATIONS_SETTINGS_ROUTE="/notifications/settings",V=r.CONNECTED_ROUTE="/connected",K=r.CONNECTED_ACCOUNTS_ROUTE="/connected/accounts",z=(r.SWAPS_ROUTE="/swaps",r.PREPARE_SWAP_ROUTE="/swaps/prepare-swap-page"),q=r.SWAPS_NOTIFICATION_ROUTE="/swaps/notification-page",Q=r.BUILD_QUOTE_ROUTE="/swaps/build-quote",X=r.VIEW_QUOTE_ROUTE="/swaps/view-quote",Y=r.LOADING_QUOTES_ROUTE="/swaps/loading-quotes",J=(r.AWAITING_SIGNATURES_ROUTE="/swaps/awaiting-signatures",r.SMART_TRANSACTION_STATUS_ROUTE="/swaps/smart-transaction-status",r.AWAITING_SWAP_ROUTE="/swaps/awaiting-swap"),Z=r.SWAPS_ERROR_ROUTE="/swaps/swaps-error",ee=(r.SWAPS_MAINTENANCE_ROUTE="/swaps/maintenance",r.ONBOARDING_ROUTE="/onboarding",r.ONBOARDING_REVIEW_SRP_ROUTE="/onboarding/review-recovery-phrase",r.ONBOARDING_CONFIRM_SRP_ROUTE="/onboarding/confirm-recovery-phrase",r.ONBOARDING_CREATE_PASSWORD_ROUTE="/onboarding/create-password",r.ONBOARDING_COMPLETION_ROUTE="/onboarding/completion",r.MMI_ONBOARDING_COMPLETION_ROUTE="/onboarding/account-completion",r.ONBOARDING_UNLOCK_ROUTE="/onboarding/unlock",r.ONBOARDING_HELP_US_IMPROVE_ROUTE="/onboarding/help-us-improve",r.ONBOARDING_IMPORT_WITH_SRP_ROUTE="/onboarding/import-with-recovery-phrase",r.ONBOARDING_SECURE_YOUR_WALLET_ROUTE="/onboarding/secure-your-wallet",r.ONBOARDING_PRIVACY_SETTINGS_ROUTE="/onboarding/privacy-settings",r.ONBOARDING_PIN_EXTENSION_ROUTE="/onboarding/pin-extension",r.ONBOARDING_WELCOME_ROUTE="/onboarding/welcome",r.ONBOARDING_METAMETRICS="/onboarding/metametrics",r.INITIALIZE_EXPERIMENTAL_AREA="/initialize/experimental-area",r.ONBOARDING_EXPERIMENTAL_AREA="/onboarding/experimental-area",r.DESKTOP_ERROR_ROUTE="/desktop/error",r.DESKTOP_PAIRING_ROUTE="/desktop-pairing",r.CONFIRM_TRANSACTION_ROUTE="/confirm-transaction"),te=r.CONFIRM_SEND_ETHER_PATH="/send-ether",re=r.CONFIRM_SEND_TOKEN_PATH="/send-token",ne=r.CONFIRM_DEPLOY_CONTRACT_PATH="/deploy-contract",oe=r.CONFIRM_APPROVE_PATH="/approve",ae=r.CONFIRM_SET_APPROVAL_FOR_ALL_PATH="/set-approval-for-all",se=r.CONFIRM_TRANSFER_FROM_PATH="/transfer-from",ie=r.CONFIRM_SAFE_TRANSFER_FROM_PATH="/safe-transfer-from",ce=r.CONFIRM_TOKEN_METHOD_PATH="/token-method",ue=r.CONFIRM_INCREASE_ALLOWANCE_PATH="/increase-allowance",le=r.SIGNATURE_REQUEST_PATH="/signature-request",de=r.DECRYPT_MESSAGE_REQUEST_PATH="/decrypt-message-request",pe=r.ENCRYPTION_PUBLIC_KEY_REQUEST_PATH="/encryption-public-key-request",fe=r.CONFIRMATION_V_NEXT_ROUTE="/confirmation";r.PATH_NAME_MAP={[n]:"Home",[o]:"Unlock Page",[a]:"Lock Page",[`${s}/:asset/:id`]:"Asset Page",[i]:"Settings Page",[c]:"General Settings Page",[u]:"Advanced Settings Page",[l]:"Experimental Settings Page",[d]:"Security Settings Page",[p]:"About Us Page",[f]:"Alerts Settings Page",[h]:"Network Settings Page",[m]:"Network Settings Page Form",[g]:"Add Network From Settings Page Form",[v]:"Add Network From A List Of Popular Custom Networks",[y]:"Contact List Settings Page",[`${T}/:address`]:"Edit Contact Settings Page",[b]:"Add Contact Settings Page",[`${_}/:address`]:"View Contact Settings Page",[w]:"Reveal Secret Recovery Phrase Page",[E]:"Restore Vault Page",[S]:"Import Token Page",[k]:"Confirm Import Token Page",[O]:"Confirm Add Suggested Token Page",[A]:"Import Tokens Page",[P]:"New Account Page",[N]:"Confirm Add Suggested NFT Page",[I]:"Connect Hardware Wallet Page",[W]:"Notifications Page",[`${W}/:uuid`]:"Notification Detail Page",[$]:"Notifications Settings Page",[`${M}/:id${D}`]:"Snaps Connect Page",[`${M}/:id${F}`]:"Snap Install Page",[`${M}/:id${U}`]:"Snap Update Page",[`${M}/:id${B}`]:"Snap Install Result Page",[G]:"Snaps List Page",[`${H}/:snapId`]:"Snap View Page",[R]:"Send Page",[C]:"Connections",[x]:"Permissions",[`${j}/:address`]:"Token Details Page",[`${M}/:id`]:"Connect To Site Confirmation Page",[`${M}/:id${L}`]:"Grant Connected Site Permissions Confirmation Page",[V]:"Sites Connected To This Account Page",[K]:"Accounts Connected To This Site Page",[`${ee}/:id`]:"Confirmation Root Page",[ee]:"Confirmation Root Page",[fe]:"New Confirmation Page",[`${fe}/:id`]:"New Confirmation Page",[`${ee}/:id${ce}`]:"Confirm Token Method Transaction Page",[`${ee}/:id${te}`]:"Confirm Send Ether Transaction Page",[`${ee}/:id${re}`]:"Confirm Send Token Transaction Page",[`${ee}/:id${ne}`]:"Confirm Deploy Contract Transaction Page",[`${ee}/:id${oe}`]:"Confirm Approve Transaction Page",[`${ee}/:id${ae}`]:"Confirm Set Approval For All Transaction Page",[`${ee}/:id${ue}`]:"Confirm Increase Allowance Transaction Page",[`${ee}/:id${se}`]:"Confirm Transfer From Transaction Page",[`${ee}/:id${ie}`]:"Confirm Safe Transfer From Transaction Page",[`${ee}/:id${le}`]:"Signature Request Page",[`${ee}/:id${de}`]:"Decrypt Message Request Page",[`${ee}/:id${pe}`]:"Encryption Public Key Request Page",[Q]:"Swaps Build Quote Page",[z]:"Prepare Swap Page",[q]:"Swaps Notification Page",[X]:"Swaps View Quotes Page",[Y]:"Swaps Loading Quotes Page",[J]:"Swaps Awaiting Swaps Page",[Z]:"Swaps Error Page"}}}},{package:"$root$",file:"ui/helpers/constants/routes.ts"}],[5366,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.SURVEY_START_TIME=r.SURVEY_START_HOUR=r.SURVEY_GMT=r.SURVEY_END_TIME=r.SURVEY_END_HOUR=r.SURVEY_DATE=void 0;r.SURVEY_DATE="February 28 2024";const n=r.SURVEY_GMT="GMT-0600",o=r.SURVEY_START_HOUR="12:00:00",a=r.SURVEY_END_HOUR="13:00:00";r.SURVEY_START_TIME=`${o} ${n}`,r.SURVEY_END_TIME=`${a} ${n}`}}},{package:"$root$",file:"ui/helpers/constants/survey.ts"}],[5367,{"@metamask/transaction-controller":2234},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.TOKEN_CATEGORY_HASH=r.PRIORITY_STATUS_HASH=r.PENDING_STATUS_HASH=void 0;var n=e("@metamask/transaction-controller");const o=r.PENDING_STATUS_HASH={[n.TransactionStatus.unapproved]:!0,[n.TransactionStatus.approved]:!0,[n.TransactionStatus.submitted]:!0};r.PRIORITY_STATUS_HASH={...o,[n.TransactionStatus.confirmed]:!0},r.TOKEN_CATEGORY_HASH={[n.TransactionType.tokenMethodApprove]:!0,[n.TransactionType.tokenMethodSetApprovalForAll]:!0,[n.TransactionType.tokenMethodTransfer]:!0,[n.TransactionType.tokenMethodTransferFrom]:!0,[n.TransactionType.tokenMethodIncreaseAllowance]:!0}}}},{package:"$root$",file:"ui/helpers/constants/transactions.js"}],[5368,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;r.default={ADD_CUSTOM_TOKENS:"https://metamask.zendesk.com/hc/en-us/articles/360015489031",ADD_MISSING_ACCOUNTS:"https://metamask.zendesk.com/hc/en-us/articles/360015489271",BASIC_SAFETY:"https://metamask.zendesk.com/hc/en-us/articles/360015489591-Basic-Safety-Tips",CUSTOMIZE_NONCE:"https://metamask.zendesk.com/hc/en-us/articles/7417499333531-How-to-customize-a-transaction-nonce",HARDWARE_CONNECTION:"https://metamask.zendesk.com/hc/en-us/articles/360020394612-How-to-connect-a-Trezor-or-Ledger-Hardware-Wallet",IMPORT_ACCOUNTS:"https://metamask.zendesk.com/hc/en-us/articles/360015489331",IMPORTED_ACCOUNTS:"https://metamask.zendesk.com/hc/en-us/articles/360015289932",INFURA_BLOCKAGE:"https://metamask.zendesk.com/hc/en-us/articles/360059386712",LEDGER_FIREFOX_U2F_GUIDE:"https://support.ledger.com/hc/en-us/articles/10371387758493-MetaMask-Firefox-Ledger-Integration-Issue?support=true",LEGACY_WEB3:"https://metamask.zendesk.com/hc/en-us/articles/360053147012",NFT_TOKENS:"https://metamask.zendesk.com/hc/en-us/articles/360058238591-NFT-tokens-in-MetaMask-wallet",PASSWORD_AND_SRP_ARTICLE:"https://metamask.zendesk.com/hc/en-us/articles/4404722782107",SECRET_RECOVERY_PHRASE:"https://metamask.zendesk.com/hc/en-us/articles/360060826432-What-is-a-Secret-Recovery-Phrase-and-how-to-keep-your-crypto-wallet-secure",NON_CUSTODIAL_WALLET:"https://metamask.zendesk.com/hc/en-us/articles/360059952212-MetaMask-is-a-non-custodial-wallet",SPEEDUP_CANCEL:"https://metamask.zendesk.com/hc/en-us/articles/360015489251-How-to-speed-up-or-cancel-a-pending-transaction",SUPPORT_URL:"https://support.metamask.io/hc/en-us",TOKEN_ALLOWANCE_WITH_SPENDING_CAP:"https://support.metamask.io/hc/en-us/articles/6055177143579-How-to-customize-token-approvals-with-a-spending-cap",TOKEN_SAFETY_PRACTICES:"https://metamask.zendesk.com/hc/en-us/articles/4403988839451",UNKNOWN_NETWORK:"https://metamask.zendesk.com/hc/en-us/articles/4417500466971",USER_GUIDE_CUSTOM_NETWORKS:"https://metamask.zendesk.com/hc/en-us/articles/4404424659995",USER_GUIDE_DAPPS:"https://metamask.zendesk.com/hc/en-us/articles/4405506066331-User-guide-Dapps",USER_GUIDE_GAS:"https://metamask.zendesk.com/hc/en-us/articles/4404600179227-User-Guide-Gas",VERIFY_CUSTOM_NETWORK:"https://metamask.zendesk.com/hc/en-us/articles/360057142392",NETWORK_DEPRECATED:"https://support.metamask.io/hc/en-us/articles/360059213492-ETH-on-Sepolia-and-Goerli-networks-testnets"}}}},{package:"$root$",file:"ui/helpers/constants/zendesk-url.js"}],[537,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.version=void 0,r.version="sha2/5.7.0"}}},{package:"@ethersproject/hdnode>@ethersproject/sha2",file:"node_modules/@ethersproject/sha2/lib/_version.js"}],[5379,{"../../../app/build-types/flask/images/flask-mascot.json":4},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.getBuildSpecificAsset=function(e){const t="flask";if(!a[t]||!Object.keys(a[t]).includes(e))return console.error(`Cannot find asset "${e}" for build "${t}", returning main build asset.`),a.main[e];return a[t][e]},r.isBeta=function(){return!1};var n,o=(n=e("../../../app/build-types/flask/images/flask-mascot.json"))&&n.__esModule?n:{default:n};const a={main:{foxMeshJson:undefined},flask:{foxMeshJson:o.default}}}}},{package:"$root$",file:"ui/helpers/utils/build-types.js"}],[538,{"./_version":537,"./types":540,"@ethersproject/bytes":476,"@ethersproject/logger":504,"hash.js":3613},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.computeHmac=r.sha512=r.sha256=r.ripemd160=void 0;var o=n(e("hash.js")),a=e("@ethersproject/bytes"),s=e("./types"),i=e("@ethersproject/logger"),c=e("./_version"),u=new i.Logger(c.version);r.ripemd160=function(e){return"0x"+o.default.ripemd160().update((0,a.arrayify)(e)).digest("hex")},r.sha256=function(e){return"0x"+o.default.sha256().update((0,a.arrayify)(e)).digest("hex")},r.sha512=function(e){return"0x"+o.default.sha512().update((0,a.arrayify)(e)).digest("hex")},r.computeHmac=function(e,t,r){return s.SupportedAlgorithm[e]||u.throwError("unsupported algorithm "+e,i.Logger.errors.UNSUPPORTED_OPERATION,{operation:"hmac",algorithm:e}),"0x"+o.default.hmac(o.default[e],(0,a.arrayify)(t)).update((0,a.arrayify)(r)).digest("hex")}}}},{package:"@ethersproject/hdnode>@ethersproject/sha2",file:"node_modules/@ethersproject/sha2/lib/browser-sha2.js"}],[5381,{"../../../shared/constants/common":4495,"../../../shared/modules/Numeric":4533,"bignumber.js":2933,"currency-formatter":3166,"currency-formatter/currencies":3165},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.addEth=function(e,...t){return t.reduce(((e,t)=>e.add(new s.Numeric(t,10)).round(6)),new s.Numeric(e,10)).toString()},r.addFiat=function(e,...t){return t.reduce(((e,t)=>e.add(new s.Numeric(t,10)).round(2)),new s.Numeric(e,10)).toString()},r.areDappSuggestedAndTxParamGasFeesTheSame=function(e){const{txParams:t,dappSuggestedGasFees:r}=e??{},{gasPrice:n,maxFeePerGas:o,maxPriorityFeePerGas:a}=t||{},{gasPrice:s,maxFeePerGas:i,maxPriorityFeePerGas:c}=r||{},u=!s&&!i&&!c;if(!n&&!o&&!a||u)return!1;const l=n&&n===s,d=[o,a].every((e=>e===s)),p=o&&o===i&&a===c;return Boolean(l||d||p)},r.convertTokenToFiat=function({value:e,fromCurrency:t=i.EtherDenomination.ETH,toCurrency:r,conversionRate:n,contractExchangeRate:o}){const a=n*o;let c=new s.Numeric(e,10);t!==r&&a&&(c=c.applyConversionRate(a));return c.round(2).toString()},r.formatCurrency=function(e,t){const r=t.toUpperCase();return o.default.find((e=>e.code===r))?n.default.format(Number(e),{code:r}):e},r.getHexGasTotal=function({gasLimit:e="0x0",gasPrice:t="0x0"}){return new s.Numeric(e,16).times(new s.Numeric(t,16)).toPrefixedHexString()},r.getTransactionFee=function({value:e,fromCurrency:t=i.EtherDenomination.ETH,toCurrency:r,conversionRate:n,numberOfDecimals:o}){let a=new s.Numeric(e,16,i.EtherDenomination.WEI).toDenomination(i.EtherDenomination.ETH).toBase(10);t!==r&&n&&(a=a.applyConversionRate(n));return a.round(o).toString()},r.roundExponential=function(e){const t=new a.BigNumber(e);return t.e>20?t.toPrecision(4):e};var n=c(e("currency-formatter")),o=c(e("currency-formatter/currencies")),a=e("bignumber.js"),s=e("../../../shared/modules/Numeric"),i=e("../../../shared/constants/common");function c(e){return e&&e.__esModule?e:{default:e}}}}},{package:"$root$",file:"ui/helpers/utils/confirm-tx.util.ts"}],[5383,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.formatETHFee=function(e,t="ETH"){return`${e} ${t}`}}}},{package:"$root$",file:"ui/helpers/utils/formatters.js"}],[5386,{"../../../shared/constants/network":4507,"../../../shared/modules/i18n":4545,"@sentry/browser":2409,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.getMessage=void 0,r.getNetworkLabelKey=function(e){if(e===i.NETWORK_TYPES.LINEA_GOERLI)return"lineaGoerli";if(e===i.NETWORK_TYPES.LINEA_SEPOLIA)return"lineaSepolia";if(e===i.NETWORK_TYPES.LINEA_MAINNET)return"lineaMainnet";return e};var n,o=(n=e("react"))&&n.__esModule?n:{default:n},a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=c(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=e[a]}return n.default=e,r&&r.set(e,n),n}(e("@sentry/browser")),s=e("../../../shared/modules/i18n"),i=e("../../../shared/constants/network");function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(c=function(e){return e?r:t})(e)}r.getMessage=(e,t,r,n)=>{const i=(null==n?void 0:n.some((e=>null!==e&&("function"==typeof e||"object"==typeof e))))?e=>o.default.createElement("span",null," ",e," "):undefined;return(0,s.getMessage)(e,t,r,n,(e=>{a.captureException(e)}),i)}}}},{package:"$root$",file:"ui/helpers/utils/i18n-helper.tsx"}],[5387,{"../../../shared/modules/hexstring-utils":4544},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){o||(o=new a(e));return o};var n=e("../../../shared/modules/hexstring-utils");let o;function a(e){this.jazzicon=e,this.cache={}}a.prototype.iconForAddress=function(e,t,r){return function(e,t){return(0,n.isValidHexAddress)(e,{allowNonPrefixed:!1})&&t&&t.iconUrl}(e,r)?function(e={}){const t=document.createElement("img");return t.src=null==e?void 0:e.iconUrl,t.style.width="100%",t}(r):this.generateIdenticonSvg(e,t)},a.prototype.generateIdenticonSvg=function(e,t){const r=`${e}:${t}`;return(this.cache[r]||(this.cache[r]=this.generateNewIdenticon(e,t))).cloneNode(!0)},a.prototype.generateNewIdenticon=function(e,t){const r=function(e){const t=e.slice(2,10);return parseInt(t,16)}(e);return this.jazzicon(t,r)}}}},{package:"$root$",file:"ui/helpers/utils/icon-factory.js"}],[5389,{"../../../shared/constants/metametrics":4505,"../../../shared/constants/security-provider":4513},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.formatAccountType=function(e){if("default"===e)return"metamask";return e},r.getBlockaidMetricsProps=void 0,r.getMethodName=function(e){if(!e||"string"!=typeof e)return"";return e.replace(/([a-z])([A-Z])/gu,"$1 $2").replace(/([A-Z])([a-z])/gu," $1$2").replace(/ +/gu," ")};var n=e("../../../shared/constants/security-provider"),o=e("../../../shared/constants/metametrics");r.getBlockaidMetricsProps=({securityAlertResponse:e})=>{if(!e)return{};const t={},{providerRequestsCount:r,reason:a,result_type:s,description:i}=e,c=(e=>{let t;return e===n.BlockaidResultType.Malicious?t=[o.MetaMetricsEventUiCustomization.FlaggedAsMalicious]:e===n.BlockaidResultType.Warning?t=[o.MetaMetricsEventUiCustomization.FlaggedAsWarning]:e===n.BlockaidResultType.Errored&&(t=[o.MetaMetricsEventUiCustomization.SecurityAlertError]),t})(s);return c&&(t.ui_customizations=c),s!==n.BlockaidResultType.Benign&&(t.security_alert_reason=a??n.BlockaidReason.notApplicable),i&&(t.security_alert_description=i),t.security_alert_response=s??n.BlockaidResultType.NotApplicable,r&&Object.keys(r).forEach((e=>{t[`ppom_${e}_count`]=r[e]})),t}}}},{package:"$root$",file:"ui/helpers/utils/metrics.js"}],[539,{"./sha2":538,"./types":540},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.SupportedAlgorithm=r.sha512=r.sha256=r.ripemd160=r.computeHmac=void 0;var n=e("./sha2");Object.defineProperty(r,"computeHmac",{enumerable:!0,get:function(){return n.computeHmac}}),Object.defineProperty(r,"ripemd160",{enumerable:!0,get:function(){return n.ripemd160}}),Object.defineProperty(r,"sha256",{enumerable:!0,get:function(){return n.sha256}}),Object.defineProperty(r,"sha512",{enumerable:!0,get:function(){return n.sha512}});var o=e("./types");Object.defineProperty(r,"SupportedAlgorithm",{enumerable:!0,get:function(){return o.SupportedAlgorithm}})}}},{package:"@ethersproject/hdnode>@ethersproject/sha2",file:"node_modules/@ethersproject/sha2/lib/index.js"}],[5396,{"../../../shared/constants/transaction":4520,"../../../shared/lib/metamask-controller-utils":4526,"../../../shared/lib/transactions-controller-utils":4531,"../../../shared/modules/Numeric":4533,"../../../shared/modules/string-utils":4558,"../../../shared/modules/transaction.utils":4560,"../../store/actions":5998,"./confirm-tx.util":5381,"./util":5399,loglevel:3842},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.getAssetDetails=async function(e,t,r,n){var d,p,f;const h=(0,i.parseStandardTokenTransactionData)(r);if(!h)throw new Error("Unable to detect valid token data");let m=(null===(d=w(h))||void 0===d?void 0:d.toString())??(0,u.getTokenValueParam)(h);const g=_(h);let v;if(null!=n&&n.length&&m){const t=n.find((({address:t,tokenId:r})=>(0,s.isEqualCaseInsensitive)(e,t)&&r===m));if(t&&(t.name||t.symbol))return{toAddress:g,...t}}try{v=await(0,a.getTokenStandardAndDetails)(e,t,m)}catch(e){return o.default.warn(e),{toAddress:g,tokenId:m}}const y=(0,u.getTokenValueParam)(h),T=null===(p=v)||void 0===p?void 0:p.decimals,b=h&&y&&T&&(0,l.calcTokenAmount)(y,T).toString(10),E=T&&Number(null==T?void 0:T.toString(10));(null===(f=v)||void 0===f?void 0:f.standard)===c.TokenStandard.ERC20&&(m=undefined);return{tokenAmount:b,toAddress:g,decimals:E,tokenId:m,...v}},r.getSymbolAndDecimalsAndName=b,r.getTokenAddressParam=_,r.getTokenApprovedParam=function(e={}){var t;return null==e||null===(t=e.args)||void 0===t?void 0:t._approved},r.getTokenFiatAmount=function(e,t,r,n,o,a=!0,s=!1){if(t<=0||!e||n===undefined)return undefined;const i=new d.Numeric(e,10).times(new d.Numeric(t,10)).toString();let c,u=new d.Numeric(n,10);o!==r.toUpperCase()&&i&&(u=u.applyConversionRate(i));u=u.round(2).toString(),c=s?(0,f.formatCurrency)(u,r):a?`${(0,f.formatCurrency)(u,r)} ${r.toUpperCase()}`:u;return c},r.getTokenIdParam=w,r.getTokenMetadata=g,r.tokenInfoGetter=function(){const e={};return async(t,r)=>(e[t]||(e[t]=await b(t,r)),e[t])};var n,o=(n=e("loglevel"))&&n.__esModule?n:{default:n},a=e("../../store/actions"),s=e("../../../shared/modules/string-utils"),i=e("../../../shared/modules/transaction.utils"),c=e("../../../shared/constants/transaction"),u=e("../../../shared/lib/metamask-controller-utils"),l=e("../../../shared/lib/transactions-controller-utils"),d=e("../../../shared/modules/Numeric"),p=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=h(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=e[a]}return n.default=e,r&&r.set(e,n),n}(e("./util")),f=e("./confirm-tx.util");function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(h=function(e){return e?r:t})(e)}const m="";function g(e,t){return e&&t[e.toLowerCase()]}async function v(e,t){let r=await async function(e){const t=p.getContractAtAddress(e);try{return(await t.symbol())[0]}catch(t){return o.default.warn(`symbol() call for token at address ${e} resulted in error:`,t),undefined}}(e);if(!r){const n=g(e,t);n&&(r=n.symbol)}return r}async function y(e,t){let r=await async function(e){const t=p.getContractAtAddress(e);try{const[e]=await t.name();return e}catch(t){return o.default.warn(`name() call for token at address ${e} resulted in error:`,t),undefined}}(e);if(!r){const n=g(e,t);n&&(r=n.name)}return r}async function T(e,t){let r=await async function(e){const t=p.getContractAtAddress(e);try{const e=(await t.decimals())[0];return null==e?void 0:e.toString()}catch(t){return o.default.warn(`decimals() call for token at address ${e} resulted in error:`,t),undefined}}(e);if(!r||"0"===r){const o=g(e,t);var n;if(o)r=null===(n=o.decimals)||void 0===n?void 0:n.toString()}return r}async function b(e,t){let r,n,a;try{const o=(await Promise.allSettled([v(e,t),T(e,t),y(e,t)])).filter((e=>"fulfilled"===e.status)).map((e=>e.value));[r,n,a]=o}catch(t){o.default.warn(`symbol() and decimal() and name() calls for token at address ${e} resulted in error:`,t)}return{symbol:r||m,decimals:n,name:a}}function _(e={}){var t,r,n;const o=(null==e||null===(t=e.args)||void 0===t?void 0:t._to)||(null==e||null===(r=e.args)||void 0===r?void 0:r.to)||(null==e||null===(n=e.args)||void 0===n?void 0:n[0]);return null==o?void 0:o.toString().toLowerCase()}function w(e={}){var t,r;return(null==e||null===(t=e.args)||void 0===t||null===(t=t._tokenId)||void 0===t?void 0:t.toString())??(null==e||null===(r=e.args)||void 0===r||null===(r=r.id)||void 0===r?void 0:r.toString())}}}},{package:"$root$",file:"ui/helpers/utils/token-util.js"}],[5397,{"../../../app/scripts/lib/util":120,"../../../shared/constants/transaction":4520,"../../../shared/lib/fetch-with-cache":4525,"../../../shared/modules/contract-utils":4536,"@metamask/controller-utils":1163,"@metamask/transaction-controller":2234,"eth-method-registry":3251,loglevel:3842},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.getFourBytePrefix=function(e=""){const t=(0,i.addHexPrefix)(e);return t.slice(0,10)},r.getLatestSubmittedTxWithNonce=function(e=[],t="0x0"){if(!e.length)return{};return e.reduce(((e,r)=>{const{submittedTime:n,txParams:{nonce:o}={}}=r;return o===t?e.submittedTime?n>e.submittedTime?r:e:r:e}),{})},r.getMethodDataAsync=async function(e,t){try{let r=null;if(t&&(r=await async function(e){const t=await(0,l.default)({url:`https://www.4byte.directory/api/v1/signatures/?hex_signature=${e}`,fetchOptions:{referrerPolicy:"no-referrer-when-downgrade",body:null,method:"GET",mode:"cors"},functionName:"getMethodFrom4Byte"});return t.results.sort(((e,t)=>new Date(e.created_at).getTime()(o.default.error(e),null)))),p||(p=new n.MethodRegistry({provider:global.ethereumProvider})),!r)return{};const a=p.parse(r);return{name:a.name,params:a.args}}catch(e){return o.default.error(e),{}}},r.getStatusKey=function(e){const{txReceipt:{status:t}={},type:r,status:n}=e;if("0x0"===t)return s.TransactionStatus.failed;if(n===s.TransactionStatus.confirmed&&r===s.TransactionType.cancel)return c.TransactionGroupStatus.cancelled;return e.status},r.getTransactionTypeTitle=function(e,t,r="ETH"){switch(t){case s.TransactionType.tokenMethodTransfer:return e("transfer");case s.TransactionType.tokenMethodTransferFrom:return e("transferFrom");case s.TransactionType.tokenMethodSafeTransferFrom:return e("safeTransferFrom");case s.TransactionType.tokenMethodApprove:return e("approve");case s.TransactionType.tokenMethodSetApprovalForAll:return e("setApprovalForAll");case s.TransactionType.tokenMethodIncreaseAllowance:return e("approveIncreaseAllowance");case s.TransactionType.simpleSend:return e("sendingNativeAsset",[r]);case s.TransactionType.contractInteraction:return e("contractInteraction");case s.TransactionType.deployContract:return e("contractDeployment");case s.TransactionType.swap:return e("swap");case s.TransactionType.swapAndSend:return e("swapAndSend");case s.TransactionType.swapApproval:return e("swapApproval");default:throw new Error(`Unrecognized transaction type: ${t}`)}},r.isLegacyTransaction=function(e){return(null==e?void 0:e.type)===s.TransactionEnvelopeType.legacy},r.isNFTAssetStandard=void 0,r.isSmartContractAddress=async function(e){const{isContractAddress:t}=await(0,u.readAddressAsContract)(global.eth,e);return t},r.isTokenMethodAction=function(e){return[s.TransactionType.tokenMethodTransfer,s.TransactionType.tokenMethodApprove,s.TransactionType.tokenMethodSetApprovalForAll,s.TransactionType.tokenMethodTransferFrom,s.TransactionType.tokenMethodSafeTransferFrom,s.TransactionType.tokenMethodIncreaseAllowance].includes(e)};var n=e("eth-method-registry"),o=d(e("loglevel")),a=e("@metamask/controller-utils"),s=e("@metamask/transaction-controller"),i=e("../../../app/scripts/lib/util"),c=e("../../../shared/constants/transaction"),u=e("../../../shared/modules/contract-utils"),l=d(e("../../../shared/lib/fetch-with-cache"));function d(e){return e&&e.__esModule?e:{default:e}}let p;r.isNFTAssetStandard=e=>e===a.ERC1155||e===a.ERC721}}},{package:"$root$",file:"ui/helpers/utils/transactions.util.js"}],[5398,{"./util":5399,loglevel:3842},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,t,r,n,s,i,c){o.default.debug("tx-helper called with params:"),o.default.debug({unapprovedTxs:e,unapprovedMsgs:t,personalMsgs:r,decryptMsgs:n,encryptionPublicKeyMsgs:s,typedMessages:i,chainId:c});const u=c?(0,a.valuesFor)(e).filter((e=>e.chainId===c)):(0,a.valuesFor)(e),l=(0,a.valuesFor)(t),d=(0,a.valuesFor)(r),p=(0,a.valuesFor)(n),f=(0,a.valuesFor)(s),h=(0,a.valuesFor)(i),m=u.concat(l).concat(d).concat(p).concat(f).concat(h).sort(((e,t)=>e.time-t.time));return o.default.debug(`tx helper found ${u.length} unapproved txs`),o.default.debug(`tx helper found ${l.length} unsigned messages`),o.default.debug(`tx helper found ${d.length} unsigned personal messages`),o.default.debug(`tx helper found ${p.length} decrypt requests`),o.default.debug(`tx helper found ${f.length} encryptionPublicKey requests`),o.default.debug(`tx helper found ${h.length} unsigned typed messages`),m};var n,o=(n=e("loglevel"))&&n.__esModule?n:{default:n},a=e("./util")}}},{package:"$root$",file:"ui/helpers/utils/tx-helper.ts"}],[5399,{"../../../shared/constants/labels":4503,"../../../shared/constants/network":4507,"../../../shared/modules/Numeric":4533,"../../../shared/modules/conversion.utils":4537,"../../../shared/modules/error":4540,"../../../shared/modules/hexstring-utils":4544,"../../../shared/modules/string-utils":4558,"../constants/common":5353,"../constants/routes":5361,"@metamask/assets-controllers":1143,"@metamask/snaps-rpc-methods":2086,"@metamask/snaps-utils":2163,"@metamask/utils":2300,"bignumber.js":2933,bowser:2991,buffer:3028,"ethereumjs-util":3288,"human-standard-token-abi":3631,lodash:3836,luxon:3843,"punycode/punycode":4055},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(t){(function(){Object.defineProperty(r,"__esModule",{value:!0}),r.IS_FLASK=void 0,r.addressSummary=function(e,t=10,r=4,n=!0){if(!e)return"";let o=(0,g.toChecksumHexAddress)(e);n||(o=(0,g.stripHexPrefix)(o));return o?`${o.slice(0,t)}...${o.slice(o.length-r)}`:"..."},r.bnGreaterThan=function(e,t){if(null===e||e===undefined||null===t||t===undefined)return null;return new a.default(e,10).gt(t,10)},r.bnGreaterThanEqualTo=function(e,t){if(null===e||e===undefined||null===t||t===undefined)return null;return new a.default(e,10).gte(t,10)},r.bnLessThan=function(e,t){if(null===e||e===undefined||null===t||t===undefined)return null;return new a.default(e,10).lt(t,10)},r.bnLessThanEqualTo=function(e,t){if(null===e||e===undefined||null===t||t===undefined)return null;return new a.default(e,10).lte(t,10)},r.checkExistingAddresses=function(e,t=[]){if(!e)return!1;return t.some((t=>t.address.toLowerCase()===e.toLowerCase()))},r.checkTokenIdExists=void 0,r.clearClipboard=function(){window.navigator.clipboard.writeText("")},r.fetchTokenExchangeRates=void 0,r.formatBalance=function(e,t,r=!0,n="ETH"){const o=r?O(e):e.split("."),a=o[0];let s=o[1],i="None";if(t===undefined)if("0"===a){if("0"!==s){const e=s.match(/^0*(.{2})/u);e&&(s=e[0]),i=`0.${s} ${n}`}}else i=`${a}.${s.slice(0,3)} ${n}`;else s+=Array(t).join("0"),i=`${a}.${s.slice(0,t)} ${n}`;return i},r.formatDate=function(e,t="M/d/y 'at' T"){if(!e)return"";return i.DateTime.fromMillis(e).toFormat(t)},r.formatDateWithYearContext=function(e,t="MMM d",r="MMM d, y"){if(!e)return"";const n=i.DateTime.fromMillis(e),o=i.DateTime.local();return n.toFormat(o.year===n.year?t:r)},r.getAccountByAddress=function(e=[],t){return e.find((({address:e})=>e===t))},r.getAssetImageURL=function(e,t){if(!e||"string"!=typeof e)return"";if(t&&e.startsWith("ipfs://"))try{return(0,c.getFormattedIpfsUrl)(t,e,!0)}catch(e){return(0,m.logErrorWithMessage)(e),""}return e},r.getAvatarFallbackLetter=void 0,r.getContractAtAddress=function(e){return global.eth.contract(o.default).at(e)},r.getDedupedSnaps=void 0,r.getIsBrowserDeprecated=function(e=l.default.getParser(window.navigator.userAgent)){return e.satisfies(T.OUTDATED_BROWSER_VERSIONS)??!1},r.getNetworkNameFromProviderType=void 0,r.getRandomFileName=function(){let e="";const t=[..."abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"],r=Math.floor(7*Math.random()+6);for(let n=0;n18?n.slice(0,n.length-18):"0";return t=`000000000000000000${r}`.slice(-18).replace(/0+$/u,""),""===t&&(t="0"),[o,t]}function P(e){return e.replace(/^https:\/\//u,"")}function N(e){try{return new URL(e)}catch(e){return""}}r.toHumanReadableTime=(e,t)=>{if(t===undefined||null===t)return"";const r=Math.ceil(t/1e3);return r<=90?e("gasTimingSecondsShort",[r]):r<=5400?e("gasTimingMinutesShort",[Math.ceil(r/60)]):e("gasTimingHoursShort",[Math.ceil(r/3600)])};const I=(()=>{const e=Array.from(new Array(32)).map(((e,t)=>"int"+8*(t+1))),t=Array.from(new Array(32)).map(((e,t)=>"uint"+8*(t+1))),r=Array.from(new Array(32)).map(((e,t)=>`bytes${t+1}`)),n=Array.from(new Array(32)).map(((e,t)=>"fixed"+8*(t+1))),o=Array.from(new Array(32)).map(((e,t)=>"ufixed"+8*(t+1))),a=Array.from(new Array(80)).map(((e,t)=>n.map((e=>`${e}x${t+1}`)))),s=Array.from(new Array(80)).map(((e,t)=>o.map((e=>`${e}x${t+1}`))));return["bool","address","string","bytes","int","uint","fixed","ufixed",...e,...t,...r,...a.flat(),...s.flat()]})(),R=e=>e.replace(/\[(\d*)\]/u,"");r.stripOneLayerofNesting=R;const C=(e,t,r)=>{if(!r)throw new Error("Invalid types definition");const n=t&&null!==t.match(/\[[[0-9]*\]*/u);var o;if(n)return{value:e.map((e=>C(e,R(t),r))),type:t};if(o=t,I.includes(o))return{value:e,type:t};const a=n?(e=>e.replace(/\[[[0-9]*\]*/gu,""))(t):t,s=r[a];if(!s)throw new Error("Invalid primary type definition");const i={};return Object.keys(e).forEach((t=>{const n=Object.values(s).find((e=>e.name===t));n&&(i[t]=C(e[t],n.type,r))})),{value:i,type:t}};r.sanitizeMessage=C;r.getSnapName=e=>t=>{var r;return(null===(r=e[t])||void 0===r?void 0:r.name)??(0,p.stripSnapPrefix)(t)};r.getSnapRoute=e=>`${w.SNAPS_VIEW_ROUTE}/${encodeURIComponent(e)}`;r.getDedupedSnaps=(e,t)=>{var r,n;const o=null==e||null===(r=e.permissions)||void 0===r?void 0:r[d.WALLET_SNAP_PERMISSION_KEY],a=null==o?void 0:o.caveats[0].value,s=null==t||null===(n=t[d.WALLET_SNAP_PERMISSION_KEY])||void 0===n?void 0:n.caveats[0].value;if(!(0,f.isObject)(s)&&a)return Object.keys(a);const i=a?Object.keys(a):[],c=s?Object.keys(s):[],u=i.filter((e=>!c.includes(e)));return u.length>0?u:i};r.IS_FLASK=!0;r.sanitizeString=e=>{if(!e)return e;if(!u.isString(e))return e;return e.replace(/\u202E/giu,"\\u202E")};r.getNetworkNameFromProviderType=e=>e===h.NETWORK_TYPES.RPC?"":e;r.isAbleToExportAccount=(e="")=>!e.includes("Hardware")&&!e.includes("Snap");r.checkTokenIdExists=(e,t,r)=>{const n=(0,f.isStrictHexString)(t);let o=t;n&&(o=(0,_.hexToDecimal)(t));const a=(0,g.toChecksumHexAddress)(e);if(r[a]){const e=r[a];return u.some(e.nfts,(e=>e.address===a&&((0,b.isEqualCaseInsensitive)(e.tokenId,t)||(0,b.isEqualCaseInsensitive)(e.tokenId,o.toString()))))}return!1};r.fetchTokenExchangeRates=async(e,t,r)=>{try{return await(0,c.fetchTokenContractExchangeRates)({tokenPricesService:new c.CodefiTokenPricesServiceV2,nativeCurrency:e,tokenAddresses:t,chainId:r})}catch(e){return{}}};r.hexToText=e=>{if(!e)return e;try{const r=(0,g.stripHexPrefix)(e),n=t.from(r,"hex");return 32===n.length?e:n.toString("utf8")}catch(t){return e}};r.getAvatarFallbackLetter=e=>{var t;return(null==e||null===(t=e.match(/[a-z0-9]/iu))||void 0===t?void 0:t[0])??"?"}}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"$root$",file:"ui/helpers/utils/util.js"}],[540,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.SupportedAlgorithm=void 0,function(e){e.sha256="sha256",e.sha512="sha512"}(r.SupportedAlgorithm||(r.SupportedAlgorithm={}))}}},{package:"@ethersproject/hdnode>@ethersproject/sha2",file:"node_modules/@ethersproject/sha2/lib/types.js"}],[541,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.version=void 0,r.version="signing-key/5.7.0"}}},{package:"@ethersproject/hdnode>@ethersproject/signing-key",file:"node_modules/@ethersproject/signing-key/lib/_version.js"}],[542,{elliptic:3197},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.EC=void 0;var o=n(e("elliptic")).default.ec;r.EC=o}}},{package:"@ethersproject/hdnode>@ethersproject/signing-key",file:"node_modules/@ethersproject/signing-key/lib/elliptic.js"}],[5427,{"../contexts/i18n":5324,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.useI18nContext=function(){return(0,n.useContext)(o.I18nContext)};var n=e("react"),o=e("../contexts/i18n")}}},{package:"$root$",file:"ui/hooks/useI18nContext.js"}],[543,{"./_version":541,"./elliptic":542,"@ethersproject/bytes":476,"@ethersproject/logger":504,"@ethersproject/properties":510},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.computePublicKey=r.recoverPublicKey=r.SigningKey=void 0;var n=e("./elliptic"),o=e("@ethersproject/bytes"),a=e("@ethersproject/properties"),s=e("@ethersproject/logger"),i=e("./_version"),c=new s.Logger(i.version),u=null;function l(){return u||(u=new n.EC("secp256k1")),u}var d=function(){function e(e){(0,a.defineReadOnly)(this,"curve","secp256k1"),(0,a.defineReadOnly)(this,"privateKey",(0,o.hexlify)(e)),32!==(0,o.hexDataLength)(this.privateKey)&&c.throwArgumentError("invalid private key","privateKey","[[ REDACTED ]]");var t=l().keyFromPrivate((0,o.arrayify)(this.privateKey));(0,a.defineReadOnly)(this,"publicKey","0x"+t.getPublic(!1,"hex")),(0,a.defineReadOnly)(this,"compressedPublicKey","0x"+t.getPublic(!0,"hex")),(0,a.defineReadOnly)(this,"_isSigningKey",!0)}return e.prototype._addPoint=function(e){var t=l().keyFromPublic((0,o.arrayify)(this.publicKey)),r=l().keyFromPublic((0,o.arrayify)(e));return"0x"+t.pub.add(r.pub).encodeCompressed("hex")},e.prototype.signDigest=function(e){var t=l().keyFromPrivate((0,o.arrayify)(this.privateKey)),r=(0,o.arrayify)(e);32!==r.length&&c.throwArgumentError("bad digest length","digest",e);var n=t.sign(r,{canonical:!0});return(0,o.splitSignature)({recoveryParam:n.recoveryParam,r:(0,o.hexZeroPad)("0x"+n.r.toString(16),32),s:(0,o.hexZeroPad)("0x"+n.s.toString(16),32)})},e.prototype.computeSharedSecret=function(e){var t=l().keyFromPrivate((0,o.arrayify)(this.privateKey)),r=l().keyFromPublic((0,o.arrayify)(p(e)));return(0,o.hexZeroPad)("0x"+t.derive(r.getPublic()).toString(16),32)},e.isSigningKey=function(e){return!(!e||!e._isSigningKey)},e}();function p(e,t){var r=(0,o.arrayify)(e);if(32===r.length){var n=new d(r);return t?"0x"+l().keyFromPrivate(r).getPublic(!0,"hex"):n.publicKey}return 33===r.length?t?(0,o.hexlify)(r):"0x"+l().keyFromPublic(r).getPublic(!1,"hex"):65===r.length?t?"0x"+l().keyFromPublic(r).getPublic(!0,"hex"):(0,o.hexlify)(r):c.throwArgumentError("invalid public or private key","key","[REDACTED]")}r.SigningKey=d,r.recoverPublicKey=function(e,t){var r=(0,o.splitSignature)(t),n={r:(0,o.arrayify)(r.r),s:(0,o.arrayify)(r.s)};return"0x"+l().recoverPubKey((0,o.arrayify)(e),n,r.recoveryParam).encode("hex",!1)},r.computePublicKey=p}}},{package:"@ethersproject/hdnode>@ethersproject/signing-key",file:"node_modules/@ethersproject/signing-key/lib/index.js"}],[544,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.version=void 0,r.version="strings/5.7.0"}}},{package:"@ethersproject/abi>@ethersproject/strings",file:"node_modules/@ethersproject/strings/lib/_version.js"}],[545,{"./utf8":548,"@ethersproject/bytes":476,"@ethersproject/constants":480},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.parseBytes32String=r.formatBytes32String=void 0;var n=e("@ethersproject/constants"),o=e("@ethersproject/bytes"),a=e("./utf8");r.formatBytes32String=function(e){var t=(0,a.toUtf8Bytes)(e);if(t.length>31)throw new Error("bytes32 string must be less than 32 bytes");return(0,o.hexlify)((0,o.concat)([t,n.HashZero]).slice(0,32))},r.parseBytes32String=function(e){var t=(0,o.arrayify)(e);if(32!==t.length)throw new Error("invalid bytes32 - not 32 bytes long");if(0!==t[31])throw new Error("invalid bytes32 string - no null terminator");for(var r=31;0===t[r-1];)r--;return(0,a.toUtf8String)(t.slice(0,r))}}}},{package:"@ethersproject/abi>@ethersproject/strings",file:"node_modules/@ethersproject/strings/lib/bytes32.js"}],[546,{"./utf8":548},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.nameprep=r._nameprepTableC=r._nameprepTableB2=r._nameprepTableA1=void 0;var n=e("./utf8");function o(e,t){t||(t=function(e){return[parseInt(e,16)]});var r=0,n={};return e.split(",").forEach((function(e){var o=e.split(":");r+=parseInt(o[0],16),n[r]=t(o[1])})),n}function a(e){var t=0;return e.split(",").map((function(e){var r=e.split("-");return 1===r.length?r[1]="0":""===r[1]&&(r[1]="1"),{l:t+parseInt(r[0],16),h:t=parseInt(r[1],16)}}))}function s(e,t){for(var r=0,n=0;n=(r+=o.l)&&e<=r+o.h&&(e-r)%(o.d||1)==0){if(o.e&&-1!==o.e.indexOf(e-r))continue;return o}}return null}var i=a("221,13-1b,5f-,40-10,51-f,11-3,3-3,2-2,2-4,8,2,15,2d,28-8,88,48,27-,3-5,11-20,27-,8,28,3-5,12,18,b-a,1c-4,6-16,2-d,2-2,2,1b-4,17-9,8f-,10,f,1f-2,1c-34,33-14e,4,36-,13-,6-2,1a-f,4,9-,3-,17,8,2-2,5-,2,8-,3-,4-8,2-3,3,6-,16-6,2-,7-3,3-,17,8,3,3,3-,2,6-3,3-,4-a,5,2-6,10-b,4,8,2,4,17,8,3,6-,b,4,4-,2-e,2-4,b-10,4,9-,3-,17,8,3-,5-,9-2,3-,4-7,3-3,3,4-3,c-10,3,7-2,4,5-2,3,2,3-2,3-2,4-2,9,4-3,6-2,4,5-8,2-e,d-d,4,9,4,18,b,6-3,8,4,5-6,3-8,3-3,b-11,3,9,4,18,b,6-3,8,4,5-6,3-6,2,3-3,b-11,3,9,4,18,11-3,7-,4,5-8,2-7,3-3,b-11,3,13-2,19,a,2-,8-2,2-3,7,2,9-11,4-b,3b-3,1e-24,3,2-,3,2-,2-5,5,8,4,2,2-,3,e,4-,6,2,7-,b-,3-21,49,23-5,1c-3,9,25,10-,2-2f,23,6,3,8-2,5-5,1b-45,27-9,2a-,2-3,5b-4,45-4,53-5,8,40,2,5-,8,2,5-,28,2,5-,20,2,5-,8,2,5-,8,8,18,20,2,5-,8,28,14-5,1d-22,56-b,277-8,1e-2,52-e,e,8-a,18-8,15-b,e,4,3-b,5e-2,b-15,10,b-5,59-7,2b-555,9d-3,5b-5,17-,7-,27-,7-,9,2,2,2,20-,36,10,f-,7,14-,4,a,54-3,2-6,6-5,9-,1c-10,13-1d,1c-14,3c-,10-6,32-b,240-30,28-18,c-14,a0,115-,3,66-,b-76,5,5-,1d,24,2,5-2,2,8-,35-2,19,f-10,1d-3,311-37f,1b,5a-b,d7-19,d-3,41,57-,68-4,29-3,5f,29-37,2e-2,25-c,2c-2,4e-3,30,78-3,64-,20,19b7-49,51a7-59,48e-2,38-738,2ba5-5b,222f-,3c-94,8-b,6-4,1b,6,2,3,3,6d-20,16e-f,41-,37-7,2e-2,11-f,5-b,18-,b,14,5-3,6,88-,2,bf-2,7-,7-,7-,4-2,8,8-9,8-2ff,20,5-b,1c-b4,27-,27-cbb1,f7-9,28-2,b5-221,56,48,3-,2-,3-,5,d,2,5,3,42,5-,9,8,1d,5,6,2-2,8,153-3,123-3,33-27fd,a6da-5128,21f-5df,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3,2-1d,61-ff7d"),c="ad,34f,1806,180b,180c,180d,200b,200c,200d,2060,feff".split(",").map((function(e){return parseInt(e,16)})),u=[{h:25,s:32,l:65},{h:30,s:32,e:[23],l:127},{h:54,s:1,e:[48],l:64,d:2},{h:14,s:1,l:57,d:2},{h:44,s:1,l:17,d:2},{h:10,s:1,e:[2,6,8],l:61,d:2},{h:16,s:1,l:68,d:2},{h:84,s:1,e:[18,24,66],l:19,d:2},{h:26,s:32,e:[17],l:435},{h:22,s:1,l:71,d:2},{h:15,s:80,l:40},{h:31,s:32,l:16},{h:32,s:1,l:80,d:2},{h:52,s:1,l:42,d:2},{h:12,s:1,l:55,d:2},{h:40,s:1,e:[38],l:15,d:2},{h:14,s:1,l:48,d:2},{h:37,s:48,l:49},{h:148,s:1,l:6351,d:2},{h:88,s:1,l:160,d:2},{h:15,s:16,l:704},{h:25,s:26,l:854},{h:25,s:32,l:55915},{h:37,s:40,l:1247},{h:25,s:-119711,l:53248},{h:25,s:-119763,l:52},{h:25,s:-119815,l:52},{h:25,s:-119867,e:[1,4,5,7,8,11,12,17],l:52},{h:25,s:-119919,l:52},{h:24,s:-119971,e:[2,7,8,17],l:52},{h:24,s:-120023,e:[2,7,13,15,16,17],l:52},{h:25,s:-120075,l:52},{h:25,s:-120127,l:52},{h:25,s:-120179,l:52},{h:25,s:-120231,l:52},{h:25,s:-120283,l:52},{h:25,s:-120335,l:52},{h:24,s:-119543,e:[17],l:56},{h:24,s:-119601,e:[17],l:58},{h:24,s:-119659,e:[17],l:58},{h:24,s:-119717,e:[17],l:58},{h:24,s:-119775,e:[17],l:58}],l=o("b5:3bc,c3:ff,7:73,2:253,5:254,3:256,1:257,5:259,1:25b,3:260,1:263,2:269,1:268,5:26f,1:272,2:275,7:280,3:283,5:288,3:28a,1:28b,5:292,3f:195,1:1bf,29:19e,125:3b9,8b:3b2,1:3b8,1:3c5,3:3c6,1:3c0,1a:3ba,1:3c1,1:3c3,2:3b8,1:3b5,1bc9:3b9,1c:1f76,1:1f77,f:1f7a,1:1f7b,d:1f78,1:1f79,1:1f7c,1:1f7d,107:63,5:25b,4:68,1:68,1:68,3:69,1:69,1:6c,3:6e,4:70,1:71,1:72,1:72,1:72,7:7a,2:3c9,2:7a,2:6b,1:e5,1:62,1:63,3:65,1:66,2:6d,b:3b3,1:3c0,6:64,1b574:3b8,1a:3c3,20:3b8,1a:3c3,20:3b8,1a:3c3,20:3b8,1a:3c3,20:3b8,1a:3c3"),d=o("179:1,2:1,2:1,5:1,2:1,a:4f,a:1,8:1,2:1,2:1,3:1,5:1,3:1,4:1,2:1,3:1,4:1,8:2,1:1,2:2,1:1,2:2,27:2,195:26,2:25,1:25,1:25,2:40,2:3f,1:3f,33:1,11:-6,1:-9,1ac7:-3a,6d:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,9:-8,1:-8,1:-8,1:-8,1:-8,1:-8,b:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,9:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,9:-8,1:-8,1:-8,1:-8,1:-8,1:-8,c:-8,2:-8,2:-8,2:-8,9:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,49:-8,1:-8,1:-4a,1:-4a,d:-56,1:-56,1:-56,1:-56,d:-8,1:-8,f:-8,1:-8,3:-7"),p=o("df:00730073,51:00690307,19:02BC006E,a7:006A030C,18a:002003B9,16:03B903080301,20:03C503080301,1d7:05650582,190f:00680331,1:00740308,1:0077030A,1:0079030A,1:006102BE,b6:03C50313,2:03C503130300,2:03C503130301,2:03C503130342,2a:1F0003B9,1:1F0103B9,1:1F0203B9,1:1F0303B9,1:1F0403B9,1:1F0503B9,1:1F0603B9,1:1F0703B9,1:1F0003B9,1:1F0103B9,1:1F0203B9,1:1F0303B9,1:1F0403B9,1:1F0503B9,1:1F0603B9,1:1F0703B9,1:1F2003B9,1:1F2103B9,1:1F2203B9,1:1F2303B9,1:1F2403B9,1:1F2503B9,1:1F2603B9,1:1F2703B9,1:1F2003B9,1:1F2103B9,1:1F2203B9,1:1F2303B9,1:1F2403B9,1:1F2503B9,1:1F2603B9,1:1F2703B9,1:1F6003B9,1:1F6103B9,1:1F6203B9,1:1F6303B9,1:1F6403B9,1:1F6503B9,1:1F6603B9,1:1F6703B9,1:1F6003B9,1:1F6103B9,1:1F6203B9,1:1F6303B9,1:1F6403B9,1:1F6503B9,1:1F6603B9,1:1F6703B9,3:1F7003B9,1:03B103B9,1:03AC03B9,2:03B10342,1:03B1034203B9,5:03B103B9,6:1F7403B9,1:03B703B9,1:03AE03B9,2:03B70342,1:03B7034203B9,5:03B703B9,6:03B903080300,1:03B903080301,3:03B90342,1:03B903080342,b:03C503080300,1:03C503080301,1:03C10313,2:03C50342,1:03C503080342,b:1F7C03B9,1:03C903B9,1:03CE03B9,2:03C90342,1:03C9034203B9,5:03C903B9,ac:00720073,5b:00B00063,6:00B00066,d:006E006F,a:0073006D,1:00740065006C,1:0074006D,124f:006800700061,2:00610075,2:006F0076,b:00700061,1:006E0061,1:03BC0061,1:006D0061,1:006B0061,1:006B0062,1:006D0062,1:00670062,3:00700066,1:006E0066,1:03BC0066,4:0068007A,1:006B0068007A,1:006D0068007A,1:00670068007A,1:00740068007A,15:00700061,1:006B00700061,1:006D00700061,1:006700700061,8:00700076,1:006E0076,1:03BC0076,1:006D0076,1:006B0076,1:006D0076,1:00700077,1:006E0077,1:03BC0077,1:006D0077,1:006B0077,1:006D0077,1:006B03C9,1:006D03C9,2:00620071,3:00632215006B0067,1:0063006F002E,1:00640062,1:00670079,2:00680070,2:006B006B,1:006B006D,9:00700068,2:00700070006D,1:00700072,2:00730076,1:00770062,c723:00660066,1:00660069,1:0066006C,1:006600660069,1:00660066006C,1:00730074,1:00730074,d:05740576,1:05740565,1:0574056B,1:057E0576,1:0574056D",(function(e){if(e.length%4!=0)throw new Error("bad data");for(var t=[],r=0;r=0)return[];if(e>=65024&&e<=65039)return[];var t=m(e);return t||[e]})),r=t.reduce((function(e,t){return t.forEach((function(t){e.push(t)})),e}),[]),(r=(0,n.toUtf8CodePoints)((0,n._toUtf8String)(r),n.UnicodeNormalizationForm.NFKC)).forEach((function(e){if(g(e))throw new Error("STRINGPREP_CONTAINS_PROHIBITED")})),r.forEach((function(e){if(h(e))throw new Error("STRINGPREP_CONTAINS_UNASSIGNED")}));var o=(0,n._toUtf8String)(r);if("-"===o.substring(0,1)||"--"===o.substring(2,4)||"-"===o.substring(o.length-1))throw new Error("invalid hyphen");return o}}}},{package:"@ethersproject/abi>@ethersproject/strings",file:"node_modules/@ethersproject/strings/lib/idna.js"}],[547,{"./bytes32":545,"./idna":546,"./utf8":548},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.nameprep=r.parseBytes32String=r.formatBytes32String=r.UnicodeNormalizationForm=r.Utf8ErrorReason=r.Utf8ErrorFuncs=r.toUtf8String=r.toUtf8CodePoints=r.toUtf8Bytes=r._toEscapedUtf8String=void 0;var n=e("./bytes32");Object.defineProperty(r,"formatBytes32String",{enumerable:!0,get:function(){return n.formatBytes32String}}),Object.defineProperty(r,"parseBytes32String",{enumerable:!0,get:function(){return n.parseBytes32String}});var o=e("./idna");Object.defineProperty(r,"nameprep",{enumerable:!0,get:function(){return o.nameprep}});var a=e("./utf8");Object.defineProperty(r,"_toEscapedUtf8String",{enumerable:!0,get:function(){return a._toEscapedUtf8String}}),Object.defineProperty(r,"toUtf8Bytes",{enumerable:!0,get:function(){return a.toUtf8Bytes}}),Object.defineProperty(r,"toUtf8CodePoints",{enumerable:!0,get:function(){return a.toUtf8CodePoints}}),Object.defineProperty(r,"toUtf8String",{enumerable:!0,get:function(){return a.toUtf8String}}),Object.defineProperty(r,"UnicodeNormalizationForm",{enumerable:!0,get:function(){return a.UnicodeNormalizationForm}}),Object.defineProperty(r,"Utf8ErrorFuncs",{enumerable:!0,get:function(){return a.Utf8ErrorFuncs}}),Object.defineProperty(r,"Utf8ErrorReason",{enumerable:!0,get:function(){return a.Utf8ErrorReason}})}}},{package:"@ethersproject/abi>@ethersproject/strings",file:"node_modules/@ethersproject/strings/lib/index.js"}]],[],{}); \ No newline at end of file +LavaPack.loadBundle([[4953,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.IconSize=r.IconName=void 0;r.IconSize=function(e){return e.Xs="xs",e.Sm="sm",e.Md="md",e.Lg="lg",e.Xl="xl",e.Inherit="inherit",e}({}),r.IconName=function(e){return e.AddSquare="add-square",e.Add="add",e.Arrow2Down="arrow-2-down",e.Arrow2Left="arrow-2-left",e.Arrow2Right="arrow-2-right",e.Arrow2Up="arrow-2-up",e.Arrow2UpRight="arrow-2-up-right",e.ArrowDoubleLeft="arrow-double-left",e.ArrowDoubleRight="arrow-double-right",e.ArrowDown="arrow-down",e.ArrowLeft="arrow-left",e.ArrowRight="arrow-right",e.ArrowUp="arrow-up",e.BankToken="bank-token",e.Bank="bank",e.Book="book",e.Bookmark="bookmark",e.Bridge="bridge",e.Calculator="calculator",e.CardPos="card-pos",e.CardToken="card-token",e.Card="card",e.Category="category",e.Chart="chart",e.CheckBold="check-bold",e.Check="check",e.Clock="clock",e.Close="close",e.CodeCircle="code-circle",e.Coin="coin",e.Confirmation="confirmation",e.Connect="connect",e.CopySuccess="copy-success",e.Copy="copy",e.Danger="danger",e.Dark="dark",e.Data="data",e.Diagram="diagram",e.DocumentCode="document-code",e.DragDrop="drag-drop",e.DraggingAnimation="dragging-animation",e.PinningAnimation="pinning-animation",e.Edit="edit",e.Eraser="eraser",e.Ethereum="ethereum",e.Expand="expand",e.Explore="explore",e.Export="export",e.EyeSlash="eye-slash",e.Eye="eye",e.Filter="filter",e.Flag="flag",e.FlashSlash="flash-slash",e.Flash="flash",e.FullCircle="full-circle",e.Gas="gas",e.GlobalSearch="global-search",e.Global="global",e.Graph="graph",e.Hardware="hardware",e.Heart="heart",e.Hierarchy="hierarchy",e.Home="home",e.Import="import",e.Info="info",e.Key="key",e.Light="light",e.Link="link",e.Loading="loading",e.LockCircle="lock-circle",e.LockSlash="lock-slash",e.Lock="lock",e.Login="login",e.Logout="logout",e.Menu="menu",e.MessageQuestion="message-question",e.Messages="messages",e.MinusBold="minus-bold",e.MinusSquare="minus-square",e.Minus="minus",e.Mobile="mobile",e.Money="money",e.Monitor="monitor",e.MoreHorizontal="more-horizontal",e.MoreVertical="more-vertical",e.NotificationCircle="notification-circle",e.Notification="notification",e.PasswordCheck="password-check",e.People="people",e.Pin="pin",e.ProgrammingArrows="programming-arrows",e.Custody="custody",e.Question="question",e.Received="received",e.Refresh="refresh",e.Save="save",e.ScanBarcode="scan-barcode",e.ScanFocus="scan-focus",e.Scan="scan",e.Scroll="scroll",e.Search="search",e.SecurityCard="security-card",e.SecurityCross="security-cross",e.SecurityKey="security-key",e.SecuritySearch="security-search",e.SecuritySlash="security-slash",e.SecurityTick="security-tick",e.SecurityTime="security-time",e.SecurityUser="security-user",e.Security="security",e.Send1="send-1",e.Send2="send-2",e.Setting="setting",e.Slash="slash",e.SnapsMobile="snaps-mobile",e.SnapsPlus="snaps-plus",e.Snaps="snaps",e.Speedometer="speedometer",e.Star="star",e.Stake="stake",e.Student="student",e.SwapHorizontal="swap-horizontal",e.SwapVertical="swap-vertical",e.Tag="tag",e.Tilde="tilde",e.Timer="timer",e.Trash="trash",e.TrendDown="trend-down",e.TrendUp="trend-up",e.UserCircleAdd="user-circle-add",e.UserCircleLink="user-circle-link",e.UserCircleRemove="user-circle-remove",e.UserCircle="user-circle",e.User="user",e.WalletCard="wallet-card",e.WalletMoney="wallet-money",e.Wallet="wallet",e.Warning="warning",e.Twitter="twitter",e.QrCode="qr-code",e.UserCheck="user-check",e.Unpin="unpin",e.Ban="ban",e.Bold="bold",e.CircleX="circle-x",e.Download="download",e.FileIcon="file",e.Flask="flask",e.Plug="plug",e.Share="share",e.Square="square",e.Tint="tint",e.Upload="upload",e.Usb="usb",e.Wifi="wifi",e.PlusMinus="plus-minus",e}({})}}},{package:"$root$",file:"ui/components/component-library/icon/icon.types.ts"}],[4954,{"./icon":4952,"./icon.types":4953},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"Icon",{enumerable:!0,get:function(){return n.Icon}}),Object.defineProperty(r,"IconName",{enumerable:!0,get:function(){return o.IconName}}),Object.defineProperty(r,"IconSize",{enumerable:!0,get:function(){return o.IconSize}});var n=e("./icon"),o=e("./icon.types")}}},{package:"$root$",file:"ui/components/component-library/icon/hybrid-compute-sdk.ts"}],[4955,{"./avatar-account":4890,"./avatar-base":4893,"./avatar-favicon":4896,"./avatar-icon":4899,"./avatar-network":4902,"./avatar-token":4905,"./badge-wrapper":4908,"./banner-alert":4911,"./banner-base":4913,"./banner-tip":4916,"./box":4918,"./button":4936,"./button-base":4921,"./button-icon":4924,"./button-link":4927,"./button-primary":4930,"./button-secondary":4933,"./checkbox":4938,"./container":4941,"./form-text-field":4946,"./header-base":4948,"./help-text":4951,"./icon":4954,"./input":4956,"./label":4959,"./modal":4978,"./modal-body":4961,"./modal-content":4965,"./modal-focus":4968,"./modal-footer":4970,"./modal-header":4974,"./modal-overlay":4976,"./picker-network":4981,"./popover":4985,"./popover-header":4983,"./select-button":4988,"./select-option":4991,"./select-wrapper":4993,"./tag":4998,"./tag-url":4996,"./text":5008,"./text-field":5005,"./text-field-search":5002},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"AvatarAccount",{enumerable:!0,get:function(){return n.AvatarAccount}}),Object.defineProperty(r,"AvatarAccountDiameter",{enumerable:!0,get:function(){return n.AvatarAccountDiameter}}),Object.defineProperty(r,"AvatarAccountSize",{enumerable:!0,get:function(){return n.AvatarAccountSize}}),Object.defineProperty(r,"AvatarAccountVariant",{enumerable:!0,get:function(){return n.AvatarAccountVariant}}),Object.defineProperty(r,"AvatarBase",{enumerable:!0,get:function(){return c.AvatarBase}}),Object.defineProperty(r,"AvatarBaseSize",{enumerable:!0,get:function(){return c.AvatarBaseSize}}),Object.defineProperty(r,"AvatarFavicon",{enumerable:!0,get:function(){return o.AvatarFavicon}}),Object.defineProperty(r,"AvatarFaviconSize",{enumerable:!0,get:function(){return o.AvatarFaviconSize}}),Object.defineProperty(r,"AvatarIcon",{enumerable:!0,get:function(){return a.AvatarIcon}}),Object.defineProperty(r,"AvatarIconSize",{enumerable:!0,get:function(){return a.AvatarIconSize}}),Object.defineProperty(r,"AvatarNetwork",{enumerable:!0,get:function(){return s.AvatarNetwork}}),Object.defineProperty(r,"AvatarNetworkSize",{enumerable:!0,get:function(){return s.AvatarNetworkSize}}),Object.defineProperty(r,"AvatarToken",{enumerable:!0,get:function(){return i.AvatarToken}}),Object.defineProperty(r,"AvatarTokenSize",{enumerable:!0,get:function(){return i.AvatarTokenSize}}),Object.defineProperty(r,"BUTTON_SIZES",{enumerable:!0,get:function(){return d.BUTTON_SIZES}}),Object.defineProperty(r,"BUTTON_VARIANT",{enumerable:!0,get:function(){return d.BUTTON_VARIANT}}),Object.defineProperty(r,"BadgeWrapper",{enumerable:!0,get:function(){return u.BadgeWrapper}}),Object.defineProperty(r,"BadgeWrapperAnchorElementShape",{enumerable:!0,get:function(){return u.BadgeWrapperAnchorElementShape}}),Object.defineProperty(r,"BadgeWrapperPosition",{enumerable:!0,get:function(){return u.BadgeWrapperPosition}}),Object.defineProperty(r,"BannerAlert",{enumerable:!0,get:function(){return F.BannerAlert}}),Object.defineProperty(r,"BannerAlertSeverity",{enumerable:!0,get:function(){return F.BannerAlertSeverity}}),Object.defineProperty(r,"BannerBase",{enumerable:!0,get:function(){return D.BannerBase}}),Object.defineProperty(r,"BannerTip",{enumerable:!0,get:function(){return U.BannerTip}}),Object.defineProperty(r,"BannerTipLogoType",{enumerable:!0,get:function(){return U.BannerTipLogoType}}),Object.defineProperty(r,"Box",{enumerable:!0,get:function(){return l.Box}}),Object.defineProperty(r,"Button",{enumerable:!0,get:function(){return d.Button}}),Object.defineProperty(r,"ButtonBase",{enumerable:!0,get:function(){return p.ButtonBase}}),Object.defineProperty(r,"ButtonBaseSize",{enumerable:!0,get:function(){return p.ButtonBaseSize}}),Object.defineProperty(r,"ButtonIcon",{enumerable:!0,get:function(){return f.ButtonIcon}}),Object.defineProperty(r,"ButtonIconSize",{enumerable:!0,get:function(){return f.ButtonIconSize}}),Object.defineProperty(r,"ButtonLink",{enumerable:!0,get:function(){return h.ButtonLink}}),Object.defineProperty(r,"ButtonLinkSize",{enumerable:!0,get:function(){return h.ButtonLinkSize}}),Object.defineProperty(r,"ButtonPrimary",{enumerable:!0,get:function(){return m.ButtonPrimary}}),Object.defineProperty(r,"ButtonPrimarySize",{enumerable:!0,get:function(){return m.ButtonPrimarySize}}),Object.defineProperty(r,"ButtonSecondary",{enumerable:!0,get:function(){return g.ButtonSecondary}}),Object.defineProperty(r,"ButtonSecondarySize",{enumerable:!0,get:function(){return g.ButtonSecondarySize}}),Object.defineProperty(r,"ButtonSize",{enumerable:!0,get:function(){return d.ButtonSize}}),Object.defineProperty(r,"ButtonVariant",{enumerable:!0,get:function(){return d.ButtonVariant}}),Object.defineProperty(r,"Checkbox",{enumerable:!0,get:function(){return v.Checkbox}}),Object.defineProperty(r,"Container",{enumerable:!0,get:function(){return y.Container}}),Object.defineProperty(r,"ContainerMaxWidth",{enumerable:!0,get:function(){return y.ContainerMaxWidth}}),Object.defineProperty(r,"FormTextField",{enumerable:!0,get:function(){return T.FormTextField}}),Object.defineProperty(r,"FormTextFieldSize",{enumerable:!0,get:function(){return T.FormTextFieldSize}}),Object.defineProperty(r,"HeaderBase",{enumerable:!0,get:function(){return b.HeaderBase}}),Object.defineProperty(r,"HelpText",{enumerable:!0,get:function(){return _.HelpText}}),Object.defineProperty(r,"HelpTextSeverity",{enumerable:!0,get:function(){return _.HelpTextSeverity}}),Object.defineProperty(r,"Icon",{enumerable:!0,get:function(){return w.Icon}}),Object.defineProperty(r,"IconName",{enumerable:!0,get:function(){return w.IconName}}),Object.defineProperty(r,"IconSize",{enumerable:!0,get:function(){return w.IconSize}}),Object.defineProperty(r,"Input",{enumerable:!0,get:function(){return P.Input}}),Object.defineProperty(r,"InputType",{enumerable:!0,get:function(){return P.InputType}}),Object.defineProperty(r,"InvisibleCharacter",{enumerable:!0,get:function(){return O.InvisibleCharacter}}),Object.defineProperty(r,"Label",{enumerable:!0,get:function(){return E.Label}}),Object.defineProperty(r,"Modal",{enumerable:!0,get:function(){return j.Modal}}),Object.defineProperty(r,"ModalBody",{enumerable:!0,get:function(){return M.ModalBody}}),Object.defineProperty(r,"ModalContent",{enumerable:!0,get:function(){return R.ModalContent}}),Object.defineProperty(r,"ModalContentSize",{enumerable:!0,get:function(){return R.ModalContentSize}}),Object.defineProperty(r,"ModalFocus",{enumerable:!0,get:function(){return x.ModalFocus}}),Object.defineProperty(r,"ModalFooter",{enumerable:!0,get:function(){return L.ModalFooter}}),Object.defineProperty(r,"ModalHeader",{enumerable:!0,get:function(){return H.ModalHeader}}),Object.defineProperty(r,"ModalOverlay",{enumerable:!0,get:function(){return C.ModalOverlay}}),Object.defineProperty(r,"PickerNetwork",{enumerable:!0,get:function(){return S.PickerNetwork}}),Object.defineProperty(r,"Popover",{enumerable:!0,get:function(){return G.Popover}}),Object.defineProperty(r,"PopoverHeader",{enumerable:!0,get:function(){return B.PopoverHeader}}),Object.defineProperty(r,"PopoverPosition",{enumerable:!0,get:function(){return G.PopoverPosition}}),Object.defineProperty(r,"PopoverRole",{enumerable:!0,get:function(){return G.PopoverRole}}),Object.defineProperty(r,"SelectButton",{enumerable:!0,get:function(){return W.SelectButton}}),Object.defineProperty(r,"SelectButtonSize",{enumerable:!0,get:function(){return W.SelectButtonSize}}),Object.defineProperty(r,"SelectContext",{enumerable:!0,get:function(){return V.SelectContext}}),Object.defineProperty(r,"SelectOption",{enumerable:!0,get:function(){return $.SelectOption}}),Object.defineProperty(r,"SelectWrapper",{enumerable:!0,get:function(){return V.SelectWrapper}}),Object.defineProperty(r,"Tag",{enumerable:!0,get:function(){return A.Tag}}),Object.defineProperty(r,"TagUrl",{enumerable:!0,get:function(){return k.TagUrl}}),Object.defineProperty(r,"Text",{enumerable:!0,get:function(){return O.Text}}),Object.defineProperty(r,"TextDirection",{enumerable:!0,get:function(){return O.TextDirection}}),Object.defineProperty(r,"TextField",{enumerable:!0,get:function(){return N.TextField}}),Object.defineProperty(r,"TextFieldSearch",{enumerable:!0,get:function(){return I.TextFieldSearch}}),Object.defineProperty(r,"TextFieldSearchSize",{enumerable:!0,get:function(){return I.TextFieldSearchSize}}),Object.defineProperty(r,"TextFieldSize",{enumerable:!0,get:function(){return N.TextFieldSize}}),Object.defineProperty(r,"TextFieldType",{enumerable:!0,get:function(){return N.TextFieldType}}),Object.defineProperty(r,"ValidTag",{enumerable:!0,get:function(){return O.ValidTag}}),Object.defineProperty(r,"useModalContext",{enumerable:!0,get:function(){return j.useModalContext}}),Object.defineProperty(r,"useSelectContext",{enumerable:!0,get:function(){return V.useSelectContext}});var n=e("./avatar-account"),o=e("./avatar-favicon"),a=e("./avatar-icon"),s=e("./avatar-network"),i=e("./avatar-token"),c=e("./avatar-base"),u=e("./badge-wrapper"),l=e("./box"),d=e("./button"),p=e("./button-base"),f=e("./button-icon"),h=e("./button-link"),m=e("./button-primary"),g=e("./button-secondary"),v=e("./checkbox"),y=e("./container"),T=e("./form-text-field"),b=e("./header-base"),_=e("./help-text"),w=e("./icon"),E=e("./label"),S=e("./picker-network"),A=e("./tag"),k=e("./tag-url"),O=e("./text"),P=e("./input"),N=e("./text-field"),I=e("./text-field-search"),R=e("./modal-content"),C=e("./modal-overlay"),x=e("./modal-focus"),j=e("./modal"),M=e("./modal-body"),L=e("./modal-footer"),D=e("./banner-base"),F=e("./banner-alert"),U=e("./banner-tip"),B=e("./popover-header"),G=e("./popover"),H=e("./modal-header"),W=e("./select-button"),$=e("./select-option"),V=e("./select-wrapper")}}},{package:"$root$",file:"ui/components/component-library/hybrid-compute-sdk.ts"}],[4956,{"./input":4957,"./input.types":4958},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"Input",{enumerable:!0,get:function(){return n.Input}}),Object.defineProperty(r,"InputType",{enumerable:!0,get:function(){return o.InputType}});var n=e("./input"),o=e("./input.types")}}},{package:"$root$",file:"ui/components/component-library/input/hybrid-compute-sdk.ts"}],[4957,{"../../../helpers/constants/design-system":5355,"../text":5008,"./input.types":4958,classnames:3049,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.Input=void 0;var n=c(e("react")),o=c(e("classnames")),a=e("../../../helpers/constants/design-system"),s=e("../text"),i=e("./input.types");function c(e){return e&&e.__esModule?e:{default:e}}function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;tn.default.createElement(s.Text,u({className:(0,o.default)("mm-input",{"mm-input--disable-state-styles":Boolean(S),"mm-input--disabled":Boolean(l)&&Boolean(S)},r)},d&&{"aria-invalid":d},{as:"input",autoComplete:e?"on":"off",autoFocus:t,backgroundColor:a.BackgroundColor.transparent,borderStyle:a.BorderStyle.none,defaultValue:c,disabled:l,id:p,margin:0,maxLength:f,name:h,onBlur:m,onChange:g,onFocus:v,padding:0,placeholder:y,readOnly:T,ref:k,required:b,value:w,variant:E,type:_},A))))}}},{package:"$root$",file:"ui/components/component-library/input/input.tsx"}],[4958,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.InputType=void 0;r.InputType=function(e){return e.Text="text",e.Number="number",e.Password="password",e.Search="search",e}({})}}},{package:"$root$",file:"ui/components/component-library/input/input.types.ts"}],[4959,{"./label":4960},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"Label",{enumerable:!0,get:function(){return n.Label}});var n=e("./label")}}},{package:"$root$",file:"ui/components/component-library/label/hybrid-compute-sdk.ts"}],[4960,{"../../../helpers/constants/design-system":5355,"../text":5008,classnames:3049,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.Label=void 0;var n=i(e("react")),o=i(e("classnames")),a=e("../text"),s=e("../../../helpers/constants/design-system");function i(e){return e&&e.__esModule?e:{default:e}}function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;tn.default.createElement(a.Text,c({className:(0,o.default)("mm-label",{"mm-label--html-for":Boolean(e)},t??""),as:"label",htmlFor:e,variant:s.TextVariant.bodyMd,fontWeight:s.FontWeight.Medium,display:s.Display.InlineFlex,alignItems:s.AlignItems.center,ref:u},i),r)))}}},{package:"$root$",file:"ui/components/component-library/label/label.tsx"}],[4961,{"./modal-body":4962},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ModalBody",{enumerable:!0,get:function(){return n.ModalBody}});var n=e("./modal-body")}}},{package:"$root$",file:"ui/components/component-library/modal-body/hybrid-compute-sdk.ts"}],[4962,{"..":4955,classnames:3049,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=r.ModalBody=void 0;var n=s(e("react")),o=s(e("classnames")),a=e("..");function s(e){return e&&e.__esModule?e:{default:e}}function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;tn.default.createElement(a.Box,i({className:(0,o.default)("mm-modal-body",e),ref:s,paddingLeft:4,paddingRight:4},r),t)));r.default=c}}},{package:"$root$",file:"ui/components/component-library/modal-body/modal-body.tsx"}],[4965,{"./modal-content":4966,"./modal-content.types":4967},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ModalContent",{enumerable:!0,get:function(){return n.ModalContent}}),Object.defineProperty(r,"ModalContentSize",{enumerable:!0,get:function(){return o.ModalContentSize}});var n=e("./modal-content"),o=e("./modal-content.types")}}},{package:"$root$",file:"ui/components/component-library/modal-content/hybrid-compute-sdk.ts"}],[4966,{"..":4955,"../../../helpers/constants/design-system":5355,"./modal-content.types":4967,classnames:3049,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.ModalContent=void 0;var n,o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=u(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=e[a]}return n.default=e,r&&r.set(e,n),n}(e("react")),a=(n=e("classnames"))&&n.__esModule?n:{default:n},s=e("../../../helpers/constants/design-system"),i=e(".."),c=e("./modal-content.types");function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(u=function(e){return e?r:t})(e)}function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const{onClose:p,isClosedOnEscapeKey:f,isClosedOnOutsideClick:h,initialFocusRef:m,finalFocusRef:g,restoreFocus:v,autoFocus:y}=(0,i.useModalContext)(),T=(0,o.useRef)(null),b=e=>{f&&"Escape"===e.key&&p()},_=e=>{h&&e.target.closest(".mm-popover")||h&&null!=T&&T.current&&!T.current.contains(e.target)&&p()};return(0,o.useEffect)((()=>(document.addEventListener("keydown",b),document.addEventListener("mousedown",_),()=>{document.removeEventListener("keydown",b),document.removeEventListener("mousedown",_)})),[]),o.default.createElement(i.ModalFocus,{initialFocusRef:m,finalFocusRef:g,restoreFocus:v,autoFocus:y},o.default.createElement(i.Box,l({className:(0,a.default)("mm-modal-content",e),ref:d,display:s.Display.Flex,width:s.BlockSize.Screen,height:s.BlockSize.Screen,justifyContent:s.JustifyContent.center,alignItems:s.AlignItems.flexStart,paddingRight:4,paddingLeft:4,paddingTop:[4,8,12],paddingBottom:[4,8,12]},u),o.default.createElement(i.Box,l({as:"section",role:"dialog","aria-modal":"true",backgroundColor:s.BackgroundColor.backgroundDefault,borderRadius:s.BorderRadius.LG,width:s.BlockSize.Full,display:s.Display.Flex,flexDirection:s.FlexDirection.Column,paddingTop:4,paddingBottom:4,ref:T},n,{className:(0,a.default)("mm-modal-content__dialog",`mm-modal-content__dialog--size-${r}`,null==n?void 0:n.className)}),t)))}))}}},{package:"$root$",file:"ui/components/component-library/modal-content/modal-content.tsx"}],[4967,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.ModalContentSize=void 0;r.ModalContentSize=function(e){return e.Sm="sm",e.Md="md",e.Lg="lg",e}({})}}},{package:"$root$",file:"ui/components/component-library/modal-content/modal-content.types.ts"}],[4968,{"./modal-focus":4969},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ModalFocus",{enumerable:!0,get:function(){return n.ModalFocus}});var n=e("./modal-focus")}}},{package:"$root$",file:"ui/components/component-library/modal-focus/hybrid-compute-sdk.ts"}],[4969,{react:4243,"react-focus-lock":4087},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.ModalFocus=void 0;var n,o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=s(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(n,a,i):n[a]=e[a]}return n.default=e,r&&r.set(e,n),n}(e("react")),a=(n=e("react-focus-lock"))&&n.__esModule?n:{default:n};function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(s=function(e){return e?r:t})(e)}function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const u=(0,o.useCallback)((()=>{null!=e&&e.current&&e.current.focus()}),[e]),l=(0,o.useCallback)((()=>{var e;null==t||null===(e=t.current)||void 0===e||e.focus()}),[t]),d=r&&!t;return o.default.createElement(c,i({autoFocus:a,onActivation:u,onDeactivation:l,returnFocus:d},s),n)};r.ModalFocus=u,u.displayName="ModalFocus"}}},{package:"$root$",file:"ui/components/component-library/modal-focus/modal-focus.tsx"}],[4970,{"./modal-footer":4971},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ModalFooter",{enumerable:!0,get:function(){return n.ModalFooter}});var n=e("./modal-footer")}}},{package:"$root$",file:"ui/components/component-library/modal-footer/hybrid-compute-sdk.ts"}],[4971,{"..":4955,"../../../helpers/constants/design-system":5355,"../../../hooks/useI18nContext":5427,classnames:3049,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=r.ModalFooter=void 0;var n=c(e("react")),o=c(e("classnames")),a=e("../../../hooks/useI18nContext"),s=e("../../../helpers/constants/design-system"),i=e("..");function c(e){return e&&e.__esModule?e:{default:e}}function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const m=(0,a.useI18nContext)();return n.default.createElement(i.Box,u({className:(0,o.default)("mm-modal-footer",e),ref:h,paddingLeft:4,paddingRight:4,paddingTop:4},f),t,n.default.createElement(i.Container,u({maxWidth:i.ContainerMaxWidth.Sm,display:s.Display.Flex,alignItems:s.AlignItems.center,flexWrap:s.FlexWrap.Wrap,marginLeft:"auto",marginRight:"auto",gap:4},p),d&&n.default.createElement(i.Button,u({onClick:d,children:m("cancel"),variant:i.ButtonVariant.Secondary},l,{size:i.ButtonSize.Lg,className:(0,o.default)("mm-modal-footer__button",(null==l?void 0:l.className)||"")})),c&&n.default.createElement(i.Button,u({size:i.ButtonSize.Lg,onClick:c,children:m("confirm")},r,{className:(0,o.default)("mm-modal-footer__button",(null==r?void 0:r.className)||"")}))))}));r.default=l}}},{package:"$root$",file:"ui/components/component-library/modal-footer/modal-footer.tsx"}],[4974,{"./modal-header":4975},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ModalHeader",{enumerable:!0,get:function(){return n.ModalHeader}});var n=e("./modal-header")}}},{package:"$root$",file:"ui/components/component-library/modal-header/hybrid-compute-sdk.ts"}],[4975,{"..":4955,"../../../helpers/constants/design-system":5355,"../../../hooks/useI18nContext":5427,classnames:3049,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.ModalHeader=void 0;var n=c(e("react")),o=c(e("classnames")),a=e(".."),s=e("../../../helpers/constants/design-system"),i=e("../../../hooks/useI18nContext");function c(e){return e&&e.__esModule?e:{default:e}}function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const m=(0,i.useI18nContext)();return n.default.createElement(a.HeaderBase,u({className:(0,o.default)("mm-modal-header",t),as:"header",paddingLeft:4,paddingRight:4,paddingBottom:4,childrenWrapperProps:{width:s.BlockSize.Full},startAccessory:r||p&&n.default.createElement(a.ButtonIcon,u({iconName:a.IconName.ArrowLeft,ariaLabel:m("back"),size:a.ButtonIconSize.Sm,onClick:p},f)),endAccessory:c||l&&n.default.createElement(a.ButtonIcon,u({iconName:a.IconName.Close,ariaLabel:m("close"),size:a.ButtonIconSize.Sm,onClick:l},d))},h),"string"==typeof e?n.default.createElement(a.Text,{variant:s.TextVariant.headingSm,textAlign:s.TextAlign.Center},e):e)}}}},{package:"$root$",file:"ui/components/component-library/modal-header/modal-header.tsx"}],[4976,{"./modal-overlay":4977},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ModalOverlay",{enumerable:!0,get:function(){return n.ModalOverlay}});var n=e("./modal-overlay")}}},{package:"$root$",file:"ui/components/component-library/modal-overlay/hybrid-compute-sdk.ts"}],[4977,{"../../../helpers/constants/design-system":5355,"../box":4918,classnames:3049,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=r.ModalOverlay=void 0;var n=i(e("react")),o=i(e("classnames")),a=e("../../../helpers/constants/design-system"),s=e("../box");function i(e){return e&&e.__esModule?e:{default:e}}function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;tn.default.createElement(s.Box,c({className:(0,o.default)("mm-modal-overlay",t),ref:i,backgroundColor:a.BackgroundColor.overlayDefault,width:a.BlockSize.Full,height:a.BlockSize.Full,onClick:e,"aria-hidden":"true"},r))));r.default=u}}},{package:"$root$",file:"ui/components/component-library/modal-overlay/modal-overlay.tsx"}],[4978,{"./modal":4980,"./modal.context":4979},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"Modal",{enumerable:!0,get:function(){return n.Modal}}),Object.defineProperty(r,"useModalContext",{enumerable:!0,get:function(){return o.useModalContext}});var n=e("./modal"),o=e("./modal.context")}}},{package:"$root$",file:"ui/components/component-library/modal/hybrid-compute-sdk.ts"}],[4979,{react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.useModalContext=r.ModalContext=void 0;var n=e("react");const o=r.ModalContext=(0,n.createContext)(undefined);r.useModalContext=()=>{const e=(0,n.useContext)(o);if(!e)throw new Error('useModalContext must be used within a ModalProvider, Seems you forgot to wrap the components in ""');return e}}}},{package:"$root$",file:"ui/components/component-library/modal/modal.context.ts"}],[4980,{"./modal.context":4979,classnames:3049,react:4243,"react-dom":4074},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=r.Modal=void 0;var n=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=c(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=e[a]}return n.default=e,r&&r.set(e,n),n}(e("react")),o=i(e("react-dom")),a=i(e("classnames")),s=e("./modal.context");function i(e){return e&&e.__esModule?e:{default:e}}function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(c=function(e){return e?r:t})(e)}function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const v={isOpen:t,onClose:r,isClosedOnOutsideClick:c,isClosedOnEscapeKey:l,autoFocus:d,initialFocusRef:p,finalFocusRef:f,restoreFocus:h};return t?o.default.createPortal(n.default.createElement(s.ModalContext.Provider,{value:v},n.default.createElement("div",u({className:(0,a.default)("mm-modal",e),ref:g},m),i)),document.body):null}));r.default=l}}},{package:"$root$",file:"ui/components/component-library/modal/modal.tsx"}],[4981,{"./picker-network":4982},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"PickerNetwork",{enumerable:!0,get:function(){return n.PickerNetwork}});var n=e("./picker-network")}}},{package:"$root$",file:"ui/components/component-library/picker-network/hybrid-compute-sdk.ts"}],[4982,{"..":4955,"../../../helpers/constants/design-system":5355,classnames:3049,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.PickerNetwork=void 0;var n=i(e("react")),o=i(e("classnames")),a=e("../../../helpers/constants/design-system"),s=e("..");function i(e){return e&&e.__esModule?e:{default:e}}function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;tn.default.createElement(s.Box,c({className:(0,o.default)("mm-picker-network",e),ref:p,as:"button",backgroundColor:a.BackgroundColor.backgroundAlternative,alignItems:a.AlignItems.center,paddingLeft:2,paddingRight:4,gap:2,borderRadius:a.BorderRadius.pill,display:a.Display.Flex},d),n.default.createElement(s.AvatarNetwork,c({className:"mm-picker-network__avatar-network",src:l,name:i,size:s.AvatarNetworkSize.Xs},t)),n.default.createElement(s.Text,c({as:"span",ellipsis:!0,variant:a.TextVariant.bodySm},u),i),n.default.createElement(s.Icon,c({className:"mm-picker-network__arrow-down-icon",name:s.IconName.ArrowDown,color:a.IconColor.iconDefault,size:s.IconSize.Xs,marginLeft:"auto"},r)))))}}},{package:"$root$",file:"ui/components/component-library/picker-network/picker-network.tsx"}],[4983,{"./popover-header":4984},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"PopoverHeader",{enumerable:!0,get:function(){return n.PopoverHeader}});var n=e("./popover-header")}}},{package:"$root$",file:"ui/components/component-library/popover-header/hybrid-compute-sdk.ts"}],[4984,{"..":4955,"../../../helpers/constants/design-system":5355,"../../../hooks/useI18nContext":5427,classnames:3049,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.PopoverHeader=void 0;var n=c(e("react")),o=c(e("classnames")),a=e(".."),s=e("../../../helpers/constants/design-system"),i=e("../../../hooks/useI18nContext");function c(e){return e&&e.__esModule?e:{default:e}}function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const m=(0,i.useI18nContext)();return n.default.createElement(a.HeaderBase,u({className:(0,o.default)("mm-popover-header",t),startAccessory:r||p&&n.default.createElement(a.ButtonIcon,u({iconName:a.IconName.ArrowLeft,color:s.IconColor.inherit,ariaLabel:m("back"),size:a.ButtonIconSize.Sm,onClick:p},f)),endAccessory:c||l&&n.default.createElement(a.ButtonIcon,u({iconName:a.IconName.Close,color:s.IconColor.inherit,ariaLabel:m("close"),size:a.ButtonIconSize.Sm,onClick:l},d))},h),"string"==typeof e?n.default.createElement(a.Text,{variant:s.TextVariant.headingSm,textAlign:s.TextAlign.Center,color:s.TextColor.inherit},e):e)}}}},{package:"$root$",file:"ui/components/component-library/popover-header/popover-header.tsx"}],[4985,{"./popover":4986,"./popover.types":4987},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"Popover",{enumerable:!0,get:function(){return n.Popover}}),Object.defineProperty(r,"PopoverPosition",{enumerable:!0,get:function(){return o.PopoverPosition}}),Object.defineProperty(r,"PopoverRole",{enumerable:!0,get:function(){return o.PopoverRole}});var n=e("./popover"),o=e("./popover.types")}}},{package:"$root$",file:"ui/components/component-library/popover/hybrid-compute-sdk.ts"}],[4986,{"..":4955,"../../../helpers/constants/design-system":5355,"./popover.types":4987,classnames:3049,react:4243,"react-dom":4074,"react-popper":4181},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.Popover=void 0;var n,o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=d(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=e[a]}return n.default=e,r&&r.set(e,n),n}(e("react")),a=e("react-dom"),s=e("react-popper"),i=(n=e("classnames"))&&n.__esModule?n:{default:n},c=e("../../../helpers/constants/design-system"),u=e(".."),l=e("./popover.types");function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(d=function(e){return e?r:t})(e)}function p(){return p=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const[O,P]=(0,o.useState)(null),[N,I]=(0,o.useState)(null),R=o.default.useRef(null),{styles:C,attributes:x}=(0,s.usePopper)(y,O,{placement:r,modifiers:[{name:"preventOverflow",enabled:r===l.PopoverPosition.Auto||h},{name:"flip",enabled:r===l.PopoverPosition.Auto||g},{name:"arrow",enabled:d,options:{element:N}},{name:"offset",options:{offset:m}}]}),j={width:f?null==y?void 0:y.clientWidth:"auto"},M=e=>{"Escape"===e.key&&S&&S()},L=e=>{T&&R.current&&!R.current.contains(e.target)&&E&&E()};(0,o.useEffect)((()=>(document.addEventListener("keydown",M),T?document.addEventListener("click",L):document.removeEventListener("click",L),()=>{document.removeEventListener("keydown",M),document.removeEventListener("click",L)})),[S,T,E]);const D=o.default.createElement(u.Box,p({borderColor:c.BorderColor.borderMuted,borderRadius:c.BorderRadius.LG,backgroundColor:c.BackgroundColor.backgroundDefault,padding:4,role:n,className:(0,i.default)("mm-popover",{"mm-popover--open":Boolean(T),"mm-popover--reference-hidden":Boolean(v)},t),ref:e=>{k&&("function"==typeof k?k(e):k.current=e),P(e),R.current=e}},x.popper,A,{style:{...C.popper,...j,...A.style}}),e,d&&o.default.createElement(u.Box,p({borderColor:c.BorderColor.borderMuted,className:(0,i.default)("mm-popover__arrow"),ref:I,display:c.Display.Flex,justifyContent:c.JustifyContent.center,alignItems:c.AlignItems.center,style:C.arrow},x.arrow,w)));return o.default.createElement(o.default.Fragment,null,_?T&&(0,a.createPortal)(D,document.body):T&&D)}))}}},{package:"$root$",file:"ui/components/component-library/popover/popover.tsx"}],[4987,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.PopoverRole=r.PopoverPosition=void 0;r.PopoverPosition=function(e){return e.Auto="auto",e.Top="top",e.TopStart="top-start",e.TopEnd="top-end",e.Right="right",e.RightStart="right-start",e.RightEnd="right-end",e.Bottom="bottom",e.BottomStart="bottom-start",e.BottomEnd="bottom-end",e.Left="left",e.LeftStart="left-start",e.LeftEnd="left-end",e}({}),r.PopoverRole=function(e){return e.Tooltip="tooltip",e.Dialog="dialog",e}({})}}},{package:"$root$",file:"ui/components/component-library/popover/popover.types.ts"}],[4988,{"./select-button":4989,"./select-button.types":4990},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"SelectButton",{enumerable:!0,get:function(){return n.SelectButton}}),Object.defineProperty(r,"SelectButtonSize",{enumerable:!0,get:function(){return o.SelectButtonSize}});var n=e("./select-button"),o=e("./select-button.types")}}},{package:"$root$",file:"ui/components/component-library/select-button/hybrid-compute-sdk.ts"}],[4989,{"..":4955,"../../../helpers/constants/design-system":5355,"../select-wrapper":4993,"./select-button.types":4990,classnames:3049,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.SelectButton=void 0;var n,o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=l(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=e[a]}return n.default=e,r&&r.set(e,n),n}(e("react")),a=(n=e("classnames"))&&n.__esModule?n:{default:n},s=e("../select-wrapper"),i=e(".."),c=e("../../../helpers/constants/design-system"),u=e("./select-button.types");function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(l=function(e){return e?r:t})(e)}function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const O=(0,o.useContext)(s.SelectContext),P=Boolean(O),{isOpen:N=!1,isUncontrolledOpen:I=!1,toggleUncontrolledOpen:R,isDanger:C=!1,isDisabled:x=!1,value:j="",uncontrolledValue:M="",defaultValue:L="",placeholder:D=""}=O||{},F=w||E||j||M||S||L||t||D||r;let U=v,B=T,G=m,H=g;const W=(e=>"object"==typeof e&&null!==e&&e.constructor===Object&&!o.default.isValidElement(e))(F);W&&(F.label&&(U=F.label),F.description&&(B=F.description),F.startAccessory&&(G=F.startAccessory),F.endAccessory&&(H=F.endAccessory));const $=()=>{switch(n){case u.SelectButtonSize.Sm:return 1;case u.SelectButtonSize.Md:return 2;case u.SelectButtonSize.Lg:return 3;default:return 1}};return o.default.createElement(i.Text,d({className:(0,a.default)("mm-select-button",{"mm-select-button--type-danger":Boolean(C)||Boolean(p),"mm-select-button--disabled":Boolean(x)||Boolean(f),"mm-select-button--block":Boolean(l),"mm-select-button--open":Boolean(N)||Boolean(I),[`mm-select-button--size-${n}`]:Object.values(u.SelectButtonSize).includes(n)},e),ref:k,disabled:x||f||h,as:"button",onClick:P?R:undefined,borderColor:c.BorderColor.borderDefault,borderRadius:c.BorderRadius.MD,backgroundColor:c.BackgroundColor.backgroundDefault,paddingTop:$(),paddingBottom:$(),paddingLeft:4,paddingRight:4,display:c.Display.Flex,height:c.BlockSize.Full,width:l&&c.BlockSize.Full,alignItems:c.AlignItems.center,justifyContent:c.JustifyContent.spaceBetween,gap:2},A),G,o.default.createElement(i.Box,{as:"span",display:c.Display.Flex,flexDirection:c.FlexDirection.Column,width:c.BlockSize.Full,className:"mm-select-button__content"},U&&o.default.createElement(i.Label,null,U),B&&o.default.createElement(i.Text,d({variant:c.TextVariant.bodySm,color:c.TextColor.textAlternative,ellipsis:!0},b),B),!W&&F),H,o.default.createElement(i.Icon,d({name:i.IconName.ArrowDown,size:n===u.SelectButtonSize.Sm?i.IconSize.Xs:i.IconSize.Sm},_)))}))}}},{package:"$root$",file:"ui/components/component-library/select-button/select-button.tsx"}],[4990,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.SelectButtonSize=void 0;r.SelectButtonSize=function(e){return e.Sm="sm",e.Md="md",e.Lg="lg",e}({})}}},{package:"$root$",file:"ui/components/component-library/select-button/select-button.types.ts"}],[4991,{"./select-option":4992},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"SelectOption",{enumerable:!0,get:function(){return n.SelectOption}});var n=e("./select-option")}}},{package:"$root$",file:"ui/components/component-library/select-option/hybrid-compute-sdk.ts"}],[4992,{"..":4955,"../../../helpers/constants/design-system":5355,"../select-wrapper":4993,classnames:3049,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.SelectOption=void 0;var n,o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=u(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=e[a]}return n.default=e,r&&r.set(e,n),n}(e("react")),a=(n=e("classnames"))&&n.__esModule?n:{default:n},s=e(".."),i=e("../select-wrapper"),c=e("../../../helpers/constants/design-system");function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(u=function(e){return e?r:t})(e)}function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const d=(0,o.useContext)(i.SelectContext);if(!d)throw new Error("SelectOption must be used within a SelectWrapper.");const{setUncontrolledValue:p,onValueChange:f,isMultiSelect:h,isOpen:m,onOpenChange:g,toggleUncontrolledOpen:v}=d;return o.default.createElement(s.Box,l({className:(0,a.default)("mm-select-option",e),ref:u,onClick:()=>{f?f(t):p(t),!h&&m?g(!m):h||v()},as:"button",display:c.Display.Block},n),r)}))}}},{package:"$root$",file:"ui/components/component-library/select-option/select-option.tsx"}],[4993,{"./select-wrapper":4995,"./select-wrapper.context":4994},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"SelectContext",{enumerable:!0,get:function(){return o.SelectContext}}),Object.defineProperty(r,"SelectWrapper",{enumerable:!0,get:function(){return n.SelectWrapper}}),Object.defineProperty(r,"useSelectContext",{enumerable:!0,get:function(){return o.useSelectContext}});var n=e("./select-wrapper"),o=e("./select-wrapper.context")}}},{package:"$root$",file:"ui/components/component-library/select-wrapper/hybrid-compute-sdk.ts"}],[4994,{react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.useSelectContext=r.SelectContext=void 0;var n=e("react");const o=r.SelectContext=(0,n.createContext)(undefined);r.useSelectContext=()=>{const e=(0,n.useContext)(o);if(!e)throw new Error("useSelectContext must be used within a SelectWrapper");return e}}}},{package:"$root$",file:"ui/components/component-library/select-wrapper/select-wrapper.context.ts"}],[4995,{"..":4955,"./select-wrapper.context":4994,classnames:3049,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.SelectWrapper=void 0;var n,o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=c(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=e[a]}return n.default=e,r&&r.set(e,n),n}(e("react")),a=(n=e("classnames"))&&n.__esModule?n:{default:n},s=e(".."),i=e("./select-wrapper.context");function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(c=function(e){return e?r:t})(e)}function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const[_,w]=(0,o.useState)(),[E,S]=(0,o.useState)(!1),[A,k]=(0,o.useState)(),O=(0,o.useRef)(null),P=(0,o.useRef)(null);return o.default.createElement(i.SelectContext.Provider,{value:{isOpen:p,onOpenChange:f,isUncontrolledOpen:E,setIsUncontrolledOpen:S,toggleUncontrolledOpen:()=>{E&&y&&y(),S(!E)},isDisabled:d,isDanger:l,defaultValue:t,value:r,onValueChange:n,uncontrolledValue:_,setUncontrolledValue:w,placeholder:c,isMultiSelect:h}},o.default.createElement(s.Box,u({className:(0,a.default)("mm-select-wrapper",e),ref:P&&b},T),m&&o.default.cloneElement(m,{ref:e=>{k(e)}}),o.default.createElement(s.Popover,u({isOpen:p||E,position:s.PopoverPosition.Bottom,onClickOutside:()=>{S(!1),f&&f(!1),y&&y()},matchWidth:!0,referenceElement:A,referenceHidden:!1,padding:0,ref:O},g,{className:(0,a.default)("mm-select-wrapper__popover",(null==g?void 0:g.className)||"")}),v)))}))}}},{package:"$root$",file:"ui/components/component-library/select-wrapper/select-wrapper.tsx"}],[4996,{"./tag-url":4997},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"TagUrl",{enumerable:!0,get:function(){return n.TagUrl}});var n=e("./tag-url")}}},{package:"$root$",file:"ui/components/component-library/tag-url/hybrid-compute-sdk.ts"}],[4997,{"..":4955,"../../../helpers/constants/design-system":5355,classnames:3049,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.TagUrl=void 0;var n=i(e("react")),o=i(e("classnames")),a=e("../../../helpers/constants/design-system"),s=e("..");function i(e){return e&&e.__esModule?e:{default:e}}function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;tn.default.createElement(s.Box,c({className:(0,o.default)("mm-tag-url",f),ref:m,backgroundColor:a.BackgroundColor.backgroundDefault,borderColor:a.BorderColor.borderDefault,borderWidth:1,alignItems:a.AlignItems.center,paddingLeft:2,paddingRight:4,gap:2,borderRadius:a.BorderRadius.pill,display:a.Display.Flex},h),n.default.createElement(s.AvatarFavicon,c({src:u,name:e},d)),l&&n.default.createElement(s.Icon,c({className:"mm-tag-url__lock-icon",name:s.IconName.Lock,color:a.IconColor.iconAlternative,size:s.IconSize.Sm,"aria-label":"https://",role:"img"},p)),n.default.createElement(s.Text,c({variant:a.TextVariant.bodyMd,ellipsis:!0},t),e),r&&n.default.createElement(s.ButtonLink,c({as:"a",size:s.ButtonLinkSize.Sm,paddingLeft:0,paddingRight:0,marginLeft:2,marginRight:2},i),r))))}}},{package:"$root$",file:"ui/components/component-library/tag-url/tag-url.tsx"}],[4998,{"./tag":4999},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"Tag",{enumerable:!0,get:function(){return n.Tag}});var n=e("./tag")}}},{package:"$root$",file:"ui/components/component-library/tag/hybrid-compute-sdk.ts"}],[4999,{"..":4955,"../../../helpers/constants/design-system":5355,classnames:3049,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.Tag=void 0;var n=i(e("react")),o=i(e("classnames")),a=e(".."),s=e("../../../helpers/constants/design-system");function i(e){return e&&e.__esModule?e:{default:e}}function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;tn.default.createElement(a.Box,c({ref:d,className:(0,o.default)("mm-tag",t),backgroundColor:s.BackgroundColor.backgroundDefault,borderColor:s.BorderColor.borderDefault,borderWidth:1,alignItems:s.AlignItems.center,paddingLeft:1,paddingRight:1,gap:1,borderRadius:s.BorderRadius.pill,display:s.Display.Flex},l),i?n.default.createElement(a.Icon,c({name:i,size:a.IconSize.Xs},u)):null,n.default.createElement(a.Text,c({variant:s.TextVariant.bodySm},r),e))))}}},{package:"$root$",file:"ui/components/component-library/tag/tag.tsx"}],[5002,{"./text-field-search":5003,"./text-field-search.types":5004},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"TextFieldSearch",{enumerable:!0,get:function(){return n.TextFieldSearch}}),Object.defineProperty(r,"TextFieldSearchSize",{enumerable:!0,get:function(){return o.TextFieldSearchSize}});var n=e("./text-field-search"),o=e("./text-field-search.types")}}},{package:"$root$",file:"ui/components/component-library/text-field-search/hybrid-compute-sdk.ts"}],[5003,{"..":4955,"../../../hooks/useI18nContext":5427,classnames:3049,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.TextFieldSearch=void 0;var n=i(e("react")),o=i(e("classnames")),a=e(".."),s=e("../../../hooks/useI18nContext");function i(e){return e&&e.__esModule?e:{default:e}}function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const m=(0,s.useI18nContext)();return n.default.createElement(a.TextField,c({className:(0,o.default)("mm-text-field-search",e),ref:h,value:d,onChange:p,type:a.TextFieldType.Search,endAccessory:d&&t?n.default.createElement(n.default.Fragment,null,n.default.createElement(a.ButtonIcon,c({className:"mm-text-field__button-clear","data-testid":"text-field-search-clear-button",ariaLabel:m("clear"),iconName:a.IconName.Close,size:a.ButtonIconSize.Sm,onClick:r},i)),u):u,startAccessory:n.default.createElement(a.Icon,{name:a.IconName.Search,size:a.IconSize.Sm}),inputProps:{marginRight:t?6:0,...l}},f))}))}}},{package:"$root$",file:"ui/components/component-library/text-field-search/text-field-search.tsx"}],[5004,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.TextFieldSearchSize=void 0;r.TextFieldSearchSize=function(e){return e.Sm="sm",e.Md="md",e.Lg="lg",e}({})}}},{package:"$root$",file:"ui/components/component-library/text-field-search/text-field-search.types.ts"}],[5005,{"./text-field":5006,"./text-field.types":5007},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"TextField",{enumerable:!0,get:function(){return n.TextField}}),Object.defineProperty(r,"TextFieldSize",{enumerable:!0,get:function(){return o.TextFieldSize}}),Object.defineProperty(r,"TextFieldType",{enumerable:!0,get:function(){return o.TextFieldType}});var n=e("./text-field"),o=e("./text-field.types")}}},{package:"$root$",file:"ui/components/component-library/text-field/hybrid-compute-sdk.ts"}],[5006,{"..":4955,"../../../helpers/constants/design-system":5355,"./text-field.types":5007,classnames:3049,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.TextField=void 0;var n,o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=u(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=e[a]}return n.default=e,r&&r.set(e,n),n}(e("react")),a=(n=e("classnames"))&&n.__esModule?n:{default:n},s=e("../../../helpers/constants/design-system"),i=e(".."),c=e("./text-field.types");function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(u=function(e){return e?r:t})(e)}function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const j=(0,o.useRef)(null),[M,L]=(0,o.useState)(!1);(0,o.useEffect)((()=>{u&&L(!1)}),[u]);return o.default.createElement(i.Box,l({ref:x,className:(0,a.default)("mm-text-field",`mm-text-field--size-${k}`,{"mm-text-field--focused":M&&!u,"mm-text-field--error":Boolean(d),"mm-text-field--disabled":Boolean(u),"mm-text-field--truncate":N},r),display:s.Display.InlineFlex,backgroundColor:s.BackgroundColor.backgroundDefault,alignItems:s.AlignItems.center,borderWidth:1,borderRadius:s.BorderRadius.SM,paddingLeft:m?4:0,paddingRight:g?4:0,onClick:e=>{const{current:t}=j;t&&(t.focus(),L(!0)),_&&!u&&(null==_||_(e))}},C),m,o.default.createElement(R,l({},d&&{"aria-invalid":d},{autoComplete:e,autoFocus:t,backgroundColor:s.BackgroundColor.transparent,"data-testid":O,defaultValue:n,disabled:u,focused:M.toString(),id:p,margin:0,maxLength:v,name:y,onBlur:e=>{L(!1),null==T||T(e)},onChange:b,onFocus:e=>{L(!0),null==w||w(e)},padding:0,paddingLeft:m?2:4,paddingRight:g?2:4,placeholder:E,readOnly:S,ref:e=>{j.current=e,h&&"current"in h?h.current=e:"function"==typeof h&&h(e)},required:A,value:I,type:P,disableStateStyles:!0},f,{className:(0,a.default)("mm-text-field__input",(null==f?void 0:f.className)??"")})),g)}))}}},{package:"$root$",file:"ui/components/component-library/text-field/text-field.tsx"}],[5007,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.TextFieldType=r.TextFieldSize=void 0;r.TextFieldSize=function(e){return e.Sm="sm",e.Md="md",e.Lg="lg",e}({}),r.TextFieldType=function(e){return e.Text="text",e.Number="number",e.Password="password",e.Search="search",e}({})}}},{package:"$root$",file:"ui/components/component-library/text-field/text-field.types.ts"}],[5008,{"./text":5009,"./text.types":5010},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"InvisibleCharacter",{enumerable:!0,get:function(){return o.InvisibleCharacter}}),Object.defineProperty(r,"Text",{enumerable:!0,get:function(){return n.Text}}),Object.defineProperty(r,"TextDirection",{enumerable:!0,get:function(){return o.TextDirection}}),Object.defineProperty(r,"ValidTag",{enumerable:!0,get:function(){return o.ValidTag}});var n=e("./text"),o=e("./text.types")}}},{package:"$root$",file:"ui/components/component-library/text/hybrid-compute-sdk.ts"}],[5009,{"..":4955,"../../../helpers/constants/design-system":5355,classnames:3049,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.Text=void 0;var n=i(e("react")),o=i(e("classnames")),a=e("../../../helpers/constants/design-system"),s=e("..");function i(e){return e&&e.__esModule?e:{default:e}}function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const v=(e=>{switch(e){case a.TextVariant.displayMd:return"h1";case a.TextVariant.headingLg:return"h2";case a.TextVariant.headingMd:return"h3";case a.TextVariant.headingSm:return"h4";case a.TextVariant.inherit:return"span";default:return"p"}})(e),y=(0,o.default)("mm-text",f,`mm-text--${e}`,{[`mm-text--font-weight-${t}`]:Boolean(t),[`mm-text--font-style-${r}`]:Boolean(r),"mm-text--ellipsis":Boolean(p),[`mm-text--text-transform-${i}`]:Boolean(i),[`mm-text--text-align-${u}`]:Boolean(u),[`mm-text--overflow-wrap-${d}`]:Boolean(d)});return n.default.createElement(s.Box,c({className:(0,o.default)(y),as:v,dir:l,ref:g,color:a.TextColor.textDefault},m),h)}))}}},{package:"$root$",file:"ui/components/component-library/text/text.tsx"}],[5010,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.ValidTag=r.TextDirection=r.InvisibleCharacter=void 0;r.TextDirection=function(e){return e.LeftToRight="ltr",e.RightToLeft="rtl",e.Auto="auto",e}({});r.InvisibleCharacter="​";r.ValidTag=function(e){return e.Dd="dd",e.Div="div",e.Dt="dt",e.Em="em",e.H1="h1",e.H2="h2",e.H3="h3",e.H4="h4",e.H5="h5",e.H6="h6",e.Li="li",e.P="p",e.Span="span",e.Strong="strong",e.Ul="ul",e.Label="label",e.Input="input",e.Header="header",e}({})}}},{package:"$root$",file:"ui/components/component-library/text/text.types.ts"}],[502,{"@ethersproject/bytes":476,"js-sha3":3673},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.keccak256=void 0;var o=n(e("js-sha3")),a=e("@ethersproject/bytes");r.keccak256=function(e){return"0x"+o.default.keccak_256((0,a.arrayify)(e))}}}},{package:"@ethersproject/abi>@ethersproject/keccak256",file:"node_modules/@ethersproject/keccak256/lib/index.js"}],[503,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.version=void 0,r.version="logger/5.7.0"}}},{package:"@ethersproject/abi>@ethersproject/logger",file:"node_modules/@ethersproject/logger/lib/_version.js"}],[504,{"./_version":503},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.Logger=r.ErrorCode=r.LogLevel=void 0;var n=!1,o=!1,a={debug:1,default:2,info:2,warning:3,error:4,off:5},s=a.default,i=e("./_version"),c=null;var u,l,d=function(){try{var e=[];if(["NFD","NFC","NFKD","NFKC"].forEach((function(t){try{if("test"!=="test".normalize(t))throw new Error("bad normalize")}catch(r){e.push(t)}})),e.length)throw new Error("missing "+e.join(", "));if(String.fromCharCode(233).normalize("NFD")!==String.fromCharCode(101,769))throw new Error("broken implementation")}catch(e){return e.message}return null}();!function(e){e.DEBUG="DEBUG",e.INFO="INFO",e.WARNING="WARNING",e.ERROR="ERROR",e.OFF="OFF"}(u=r.LogLevel||(r.LogLevel={})),function(e){e.UNKNOWN_ERROR="UNKNOWN_ERROR",e.NOT_IMPLEMENTED="NOT_IMPLEMENTED",e.UNSUPPORTED_OPERATION="UNSUPPORTED_OPERATION",e.NETWORK_ERROR="NETWORK_ERROR",e.SERVER_ERROR="SERVER_ERROR",e.TIMEOUT="TIMEOUT",e.BUFFER_OVERRUN="BUFFER_OVERRUN",e.NUMERIC_FAULT="NUMERIC_FAULT",e.MISSING_NEW="MISSING_NEW",e.INVALID_ARGUMENT="INVALID_ARGUMENT",e.MISSING_ARGUMENT="MISSING_ARGUMENT",e.UNEXPECTED_ARGUMENT="UNEXPECTED_ARGUMENT",e.CALL_EXCEPTION="CALL_EXCEPTION",e.INSUFFICIENT_FUNDS="INSUFFICIENT_FUNDS",e.NONCE_EXPIRED="NONCE_EXPIRED",e.REPLACEMENT_UNDERPRICED="REPLACEMENT_UNDERPRICED",e.UNPREDICTABLE_GAS_LIMIT="UNPREDICTABLE_GAS_LIMIT",e.TRANSACTION_REPLACED="TRANSACTION_REPLACED",e.ACTION_REJECTED="ACTION_REJECTED"}(l=r.ErrorCode||(r.ErrorCode={}));var p="0123456789abcdef",f=function(){function e(e){Object.defineProperty(this,"version",{enumerable:!0,value:e,writable:!1})}return e.prototype._log=function(e,t){var r=e.toLowerCase();null==a[r]&&this.throwArgumentError("invalid log level name","logLevel",e),s>a[r]||console.log.apply(console,t)},e.prototype.debug=function(){for(var t=[],r=0;r>4],r+=p[15&t[o]];a.push(e+"=Uint8Array(0x"+r+")")}else a.push(e+"="+JSON.stringify(t))}catch(t){a.push(e+"="+JSON.stringify(n[e].toString()))}})),a.push("code="+r),a.push("version="+this.version);var s=t,i="";switch(r){case l.NUMERIC_FAULT:i="NUMERIC_FAULT";var c=t;switch(c){case"overflow":case"underflow":case"division-by-zero":i+="-"+c;break;case"negative-power":case"negative-width":i+="-unsupported";break;case"unbound-bitwise-result":i+="-unbound-result"}break;case l.CALL_EXCEPTION:case l.INSUFFICIENT_FUNDS:case l.MISSING_NEW:case l.NONCE_EXPIRED:case l.REPLACEMENT_UNDERPRICED:case l.TRANSACTION_REPLACED:case l.UNPREDICTABLE_GAS_LIMIT:i=r}i&&(t+=" [ See: https://links.ethers.org/v5-errors-"+i+" ]"),a.length&&(t+=" ("+a.join(", ")+")");var u=new Error(t);return u.reason=s,u.code=r,Object.keys(n).forEach((function(e){u[e]=n[e]})),u},e.prototype.throwError=function(e,t,r){throw this.makeError(e,t,r)},e.prototype.throwArgumentError=function(t,r,n){return this.throwError(t,e.errors.INVALID_ARGUMENT,{argument:r,value:n})},e.prototype.assert=function(e,t,r,n){e||this.throwError(t,r,n)},e.prototype.assertArgument=function(e,t,r,n){e||this.throwArgumentError(t,r,n)},e.prototype.checkNormalize=function(t){null==t&&(t="platform missing String.prototype.normalize"),d&&this.throwError("platform missing String.prototype.normalize",e.errors.UNSUPPORTED_OPERATION,{operation:"String.prototype.normalize",form:d})},e.prototype.checkSafeUint53=function(t,r){"number"==typeof t&&(null==r&&(r="value not safe"),(t<0||t>=9007199254740991)&&this.throwError(r,e.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"out-of-safe-range",value:t}),t%1&&this.throwError(r,e.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"non-integer",value:t}))},e.prototype.checkArgumentCount=function(t,r,n){n=n?": "+n:"",tr&&this.throwError("too many arguments"+n,e.errors.UNEXPECTED_ARGUMENT,{count:t,expectedCount:r})},e.prototype.checkNew=function(t,r){t!==Object&&null!=t||this.throwError("missing new",e.errors.MISSING_NEW,{name:r.name})},e.prototype.checkAbstract=function(t,r){t===r?this.throwError("cannot instantiate abstract class "+JSON.stringify(r.name)+" directly; use a sub-class",e.errors.UNSUPPORTED_OPERATION,{name:t.name,operation:"new"}):t!==Object&&null!=t||this.throwError("missing new",e.errors.MISSING_NEW,{name:r.name})},e.globalLogger=function(){return c||(c=new e(i.version)),c},e.setCensorship=function(t,r){if(!t&&r&&this.globalLogger().throwError("cannot permanently disable censorship",e.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"}),n){if(!t)return;this.globalLogger().throwError("error censorship permanent",e.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"})}o=!!t,n=!!r},e.setLogLevel=function(t){var r=a[t.toLowerCase()];null!=r?s=r:e.globalLogger().warn("invalid log level - "+t)},e.from=function(t){return new e(t)},e.errors=l,e.levels=u,e}();r.Logger=f}}},{package:"@ethersproject/abi>@ethersproject/logger",file:"node_modules/@ethersproject/logger/lib/index.js"}],[505,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.version=void 0,r.version="networks/5.7.1"}}},{package:"@metamask/test-bundler>@ethersproject/networks",file:"node_modules/@ethersproject/networks/lib/_version.js"}],[506,{"./_version":505,"@ethersproject/logger":504},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.getNetwork=void 0;var n=e("@ethersproject/logger"),o=e("./_version"),a=new n.Logger(o.version);function s(e){var t=function(t,r){null==r&&(r={});var n=[];if(t.InfuraProvider&&"-"!==r.infura)try{n.push(new t.InfuraProvider(e,r.infura))}catch(e){}if(t.EtherscanProvider&&"-"!==r.etherscan)try{n.push(new t.EtherscanProvider(e,r.etherscan))}catch(e){}if(t.AlchemyProvider&&"-"!==r.alchemy)try{n.push(new t.AlchemyProvider(e,r.alchemy))}catch(e){}if(t.PocketProvider&&"-"!==r.pocket){var o=["goerli","ropsten","rinkeby","sepolia"];try{(a=new t.PocketProvider(e,r.pocket)).network&&-1===o.indexOf(a.network.name)&&n.push(a)}catch(e){}}if(t.CloudflareProvider&&"-"!==r.cloudflare)try{n.push(new t.CloudflareProvider(e))}catch(e){}if(t.AnkrProvider&&"-"!==r.ankr)try{var a;o=["ropsten"];(a=new t.AnkrProvider(e,r.ankr)).network&&-1===o.indexOf(a.network.name)&&n.push(a)}catch(e){}if(0===n.length)return null;if(t.FallbackProvider){var s=1;return null!=r.quorum?s=r.quorum:"homestead"===e&&(s=2),new t.FallbackProvider(n,s)}return n[0]};return t.renetwork=function(e){return s(e)},t}function i(e,t){var r=function(r,n){return r.JsonRpcProvider?new r.JsonRpcProvider(e,t):null};return r.renetwork=function(t){return i(e,t)},r}var c={chainId:1,ensAddress:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",name:"homestead",_defaultProvider:s("homestead")},u={chainId:3,ensAddress:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",name:"ropsten",_defaultProvider:s("ropsten")},l={chainId:63,name:"classicMordor",_defaultProvider:i("https://www.ethercluster.com/mordor","classicMordor")},d={unspecified:{chainId:0,name:"unspecified"},homestead:c,mainnet:c,morden:{chainId:2,name:"morden"},ropsten:u,testnet:u,rinkeby:{chainId:4,ensAddress:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",name:"rinkeby",_defaultProvider:s("rinkeby")},kovan:{chainId:42,name:"kovan",_defaultProvider:s("kovan")},goerli:{chainId:5,ensAddress:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",name:"goerli",_defaultProvider:s("goerli")},kintsugi:{chainId:1337702,name:"kintsugi"},sepolia:{chainId:11155111,name:"sepolia",_defaultProvider:s("sepolia")},classic:{chainId:61,name:"classic",_defaultProvider:i("https://www.ethercluster.com/etc","classic")},classicMorden:{chainId:62,name:"classicMorden"},classicMordor:l,classicTestnet:l,classicKotti:{chainId:6,name:"classicKotti",_defaultProvider:i("https://www.ethercluster.com/kotti","classicKotti")},xdai:{chainId:100,name:"xdai"},matic:{chainId:137,name:"matic",_defaultProvider:s("matic")},maticmum:{chainId:80001,name:"maticmum"},optimism:{chainId:10,name:"optimism",_defaultProvider:s("optimism")},"optimism-kovan":{chainId:69,name:"optimism-kovan"},"optimism-goerli":{chainId:420,name:"optimism-goerli"},arbitrum:{chainId:42161,name:"arbitrum"},"arbitrum-rinkeby":{chainId:421611,name:"arbitrum-rinkeby"},"arbitrum-goerli":{chainId:421613,name:"arbitrum-goerli"},bnb:{chainId:56,name:"bnb"},bnbt:{chainId:97,name:"bnbt"}};r.getNetwork=function(e){if(null==e)return null;if("number"==typeof e){for(var t in d){var r=d[t];if(r.chainId===e)return{name:r.name,chainId:r.chainId,ensAddress:r.ensAddress||null,_defaultProvider:r._defaultProvider||null}}return{chainId:e,name:"unknown"}}if("string"==typeof e){var n=d[e];return null==n?null:{name:n.name,chainId:n.chainId,ensAddress:n.ensAddress,_defaultProvider:n._defaultProvider||null}}var o=d[e.name];if(!o)return"number"!=typeof e.chainId&&a.throwArgumentError("invalid network chainId","network",e),e;0!==e.chainId&&e.chainId!==o.chainId&&a.throwArgumentError("network chainId mismatch","network",e);var s,i=e._defaultProvider||null;return null==i&&o._defaultProvider&&(i=(s=o._defaultProvider)&&"function"==typeof s.renetwork?o._defaultProvider.renetwork(e):o._defaultProvider),{name:e.name,chainId:o.chainId,ensAddress:e.ensAddress||o.ensAddress||null,_defaultProvider:i}}}}},{package:"@metamask/test-bundler>@ethersproject/networks",file:"node_modules/@ethersproject/networks/lib/index.js"}],[507,{"@ethersproject/bytes":476,"@ethersproject/sha2":539},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.pbkdf2=void 0;var n=e("@ethersproject/bytes"),o=e("@ethersproject/sha2");r.pbkdf2=function(e,t,r,a,s){var i;e=(0,n.arrayify)(e),t=(0,n.arrayify)(t);var c,u,l=1,d=new Uint8Array(a),p=new Uint8Array(t.length+4);p.set(t);for(var f=1;f<=l;f++){p[t.length]=f>>24&255,p[t.length+1]=f>>16&255,p[t.length+2]=f>>8&255,p[t.length+3]=255&f;var h=(0,n.arrayify)((0,o.computeHmac)(s,e,p));i||(i=h.length,u=new Uint8Array(i),c=a-((l=Math.ceil(a/i))-1)*i),u.set(h);for(var m=1;m@ethersproject/pbkdf2",file:"node_modules/@ethersproject/pbkdf2/lib/browser-pbkdf2.js"}],[508,{"./pbkdf2":507},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.pbkdf2=void 0;var n=e("./pbkdf2");Object.defineProperty(r,"pbkdf2",{enumerable:!0,get:function(){return n.pbkdf2}})}}},{package:"@ethersproject/hdnode>@ethersproject/pbkdf2",file:"node_modules/@ethersproject/pbkdf2/lib/index.js"}],[509,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.version=void 0,r.version="properties/5.7.0"}}},{package:"@ethersproject/abi>@ethersproject/properties",file:"node_modules/@ethersproject/properties/lib/_version.js"}],[510,{"./_version":509,"@ethersproject/logger":504},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,a){function s(e){try{c(n.next(e))}catch(e){a(e)}}function i(e){try{c(n.throw(e))}catch(e){a(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,i)}c((n=n.apply(e,t||[])).next())}))},o=this&&this.__generator||function(e,t){var r,n,o,a,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:i(0),throw:i(1),return:i(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function i(a){return function(i){return function(a){if(r)throw new TypeError("Generator is already executing.");for(;s;)try{if(r=1,n&&(o=2&a[0]?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,n=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!(o=s.trys,(o=o.length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]@ethersproject/properties",file:"node_modules/@ethersproject/properties/lib/index.js"}],[511,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.version=void 0,r.version="providers/5.7.2"}}},{package:"@ethersproject/providers",file:"node_modules/@ethersproject/providers/lib/_version.js"}],[512,{"./_version":511,"./formatter":520,"./url-json-rpc-provider":527,"./websocket-provider":529,"@ethersproject/logger":504,"@ethersproject/properties":510},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.AlchemyProvider=r.AlchemyWebSocketProvider=void 0;var a=e("@ethersproject/properties"),s=e("./formatter"),i=e("./websocket-provider"),c=e("@ethersproject/logger"),u=e("./_version"),l=new c.Logger(u.version),d=e("./url-json-rpc-provider"),p="_gg7wSSi0KMBsdKnGVfHDueq6xMB9EkC",f=function(e){function t(t,r){var n,o=new h(t,r),s=o.connection.url.replace(/^http/i,"ws").replace(".alchemyapi.",".ws.alchemyapi.");return n=e.call(this,s,o.network)||this,(0,a.defineReadOnly)(n,"apiKey",o.apiKey),n}return o(t,e),t.prototype.isCommunityResource=function(){return this.apiKey===p},t}(i.WebSocketProvider);r.AlchemyWebSocketProvider=f;var h=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.getWebSocketProvider=function(e,t){return new f(e,t)},t.getApiKey=function(e){return null==e?p:(e&&"string"!=typeof e&&l.throwArgumentError("invalid apiKey","apiKey",e),e)},t.getUrl=function(e,t){var r=null;switch(e.name){case"homestead":r="eth-mainnet.alchemyapi.io/v2/";break;case"goerli":r="eth-goerli.g.alchemy.com/v2/";break;case"matic":r="polygon-mainnet.g.alchemy.com/v2/";break;case"maticmum":r="polygon-mumbai.g.alchemy.com/v2/";break;case"arbitrum":r="arb-mainnet.g.alchemy.com/v2/";break;case"arbitrum-goerli":r="arb-goerli.g.alchemy.com/v2/";break;case"optimism":r="opt-mainnet.g.alchemy.com/v2/";break;case"optimism-goerli":r="opt-goerli.g.alchemy.com/v2/";break;default:l.throwArgumentError("unsupported network","network",arguments[0])}return{allowGzip:!0,url:"https://"+r+t,throttleCallback:function(e,r){return t===p&&(0,s.showThrottleMessage)(),Promise.resolve(!0)}}},t.prototype.isCommunityResource=function(){return this.apiKey===p},t}(d.UrlJsonRpcProvider);r.AlchemyProvider=h}}},{package:"@ethersproject/providers",file:"node_modules/@ethersproject/providers/lib/alchemy-provider.js"}],[513,{"./_version":511,"./formatter":520,"./url-json-rpc-provider":527,"@ethersproject/logger":504},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.AnkrProvider=void 0;var a=e("./formatter"),s=e("./url-json-rpc-provider"),i=e("@ethersproject/logger"),c=e("./_version"),u=new i.Logger(c.version),l="9f7d929b018cdffb338517efa06f58359e86ff1ffd350bc889738523659e7972";function d(e){switch(e){case"homestead":return"rpc.ankr.com/eth/";case"ropsten":return"rpc.ankr.com/eth_ropsten/";case"rinkeby":return"rpc.ankr.com/eth_rinkeby/";case"goerli":return"rpc.ankr.com/eth_goerli/";case"matic":return"rpc.ankr.com/polygon/";case"arbitrum":return"rpc.ankr.com/arbitrum/"}return u.throwArgumentError("unsupported network","name",e)}var p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.isCommunityResource=function(){return this.apiKey===l},t.getApiKey=function(e){return null==e?l:e},t.getUrl=function(e,t){null==t&&(t=l);var r={allowGzip:!0,url:"https://"+d(e.name)+t,throttleCallback:function(e,r){return t.apiKey===l&&(0,a.showThrottleMessage)(),Promise.resolve(!0)}};return null!=t.projectSecret&&(r.user="",r.password=t.projectSecret),r},t}(s.UrlJsonRpcProvider);r.AnkrProvider=p}}},{package:"@ethersproject/providers",file:"node_modules/@ethersproject/providers/lib/ankr-provider.js"}],[514,{"./_version":511,"./formatter":520,"@ethersproject/abstract-provider":463,"@ethersproject/base64":469,"@ethersproject/basex":470,"@ethersproject/bignumber":474,"@ethersproject/bytes":476,"@ethersproject/constants":480,"@ethersproject/hash":489,"@ethersproject/logger":504,"@ethersproject/networks":506,"@ethersproject/properties":510,"@ethersproject/sha2":539,"@ethersproject/strings":547,"@ethersproject/web":555,bech32:530},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),a=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,a){function s(e){try{c(n.next(e))}catch(e){a(e)}}function i(e){try{c(n.throw(e))}catch(e){a(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,i)}c((n=n.apply(e,t||[])).next())}))},s=this&&this.__generator||function(e,t){var r,n,o,a,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:i(0),throw:i(1),return:i(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function i(a){return function(i){return function(a){if(r)throw new TypeError("Generator is already executing.");for(;s;)try{if(r=1,n&&(o=2&a[0]?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,n=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!(o=s.trys,(o=o.length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]0&&null==e[e.length-1];)e.pop();return e.map((function(e){if(Array.isArray(e)){var t={};e.forEach((function(e){t[A(e)]=!0}));var r=Object.keys(t);return r.sort(),r.join("|")}return A(e)})).join("&")}function O(e){if("string"==typeof e){if(e=e.toLowerCase(),32===(0,p.hexDataLength)(e))return"tx:"+e;if(-1===e.indexOf(":"))return e}else{if(Array.isArray(e))return"filter:*:"+k(e);if(c.ForkEvent.isForkEvent(e))throw E.warn("not implemented"),new Error("not implemented");if(e&&"object"==typeof e)return"filter:"+(e.address||"*")+":"+k(e.topics||[])}throw new Error("invalid event - "+e)}function P(){return(new Date).getTime()}function N(e){return new Promise((function(t){setTimeout(t,e)}))}var I=["block","network","pending","poll"],R=function(){function e(e,t,r){(0,g.defineReadOnly)(this,"tag",e),(0,g.defineReadOnly)(this,"listener",t),(0,g.defineReadOnly)(this,"once",r),this._lastBlockNumber=-2,this._inflight=!1}return Object.defineProperty(e.prototype,"event",{get:function(){switch(this.type){case"tx":return this.hash;case"filter":return this.filter}return this.tag},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"type",{get:function(){return this.tag.split(":")[0]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"hash",{get:function(){var e=this.tag.split(":");return"tx"!==e[0]?null:e[1]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"filter",{get:function(){var e=this.tag.split(":");if("filter"!==e[0])return null;var t,r=e[1],n=""===(t=e[2])?[]:t.split(/&/g).map((function(e){if(""===e)return[];var t=e.split("|").map((function(e){return"null"===e?null:e}));return 1===t.length?t[0]:t})),o={};return n.length>0&&(o.topics=n),r&&"*"!==r&&(o.address=r),o},enumerable:!1,configurable:!0}),e.prototype.pollable=function(){return this.tag.indexOf(":")>=0||I.indexOf(this.tag)>=0},e}();r.Event=R;var C={0:{symbol:"btc",p2pkh:0,p2sh:5,prefix:"bc"},2:{symbol:"ltc",p2pkh:48,p2sh:50,prefix:"ltc"},3:{symbol:"doge",p2pkh:30,p2sh:22},60:{symbol:"eth",ilk:"eth"},61:{symbol:"etc",ilk:"eth"},700:{symbol:"xdai",ilk:"eth"}};function x(e){return(0,p.hexZeroPad)(d.BigNumber.from(e).toHexString(),32)}function j(e){return l.Base58.encode((0,p.concat)([e,(0,p.hexDataSlice)((0,v.sha256)((0,v.sha256)(e)),0,4)]))}var M=new RegExp("^(ipfs)://(.*)$","i"),L=[new RegExp("^(https)://(.*)$","i"),new RegExp("^(data):(.*)$","i"),M,new RegExp("^eip155:[0-9]+/(erc[0-9]+):(.*)$","i")];function D(e,t){try{return(0,y.toUtf8String)(F(e,t))}catch(e){}return null}function F(e,t){if("0x"===e)return null;var r=d.BigNumber.from((0,p.hexDataSlice)(e,t,t+32)).toNumber(),n=d.BigNumber.from((0,p.hexDataSlice)(e,r,r+32)).toNumber();return(0,p.hexDataSlice)(e,r+32,r+32+n)}function U(e){return e.match(/^ipfs:\/\/ipfs\//i)?e=e.substring(12):e.match(/^ipfs:\/\//i)?e=e.substring(7):E.throwArgumentError("unsupported IPFS format","link",e),"https://gateway.ipfs.io/ipfs/"+e}function B(e){var t=(0,p.arrayify)(e);if(t.length>32)throw new Error("internal; should not happen");var r=new Uint8Array(32);return r.set(t,32-t.length),r}function G(e){if(e.length%32==0)return e;var t=new Uint8Array(32*Math.ceil(e.length/32));return t.set(e),t}function H(e){for(var t=[],r=0,n=0;n=1&&a<=75)return j((0,p.concat)([[r.p2pkh],"0x"+o[2]]))}}if(null!=r.p2sh){var s=t.match(/^0xa9([0-9a-f][0-9a-f])([0-9a-f]*)87$/);if(s){var i=parseInt(s[1],16);if(s[2].length===2*i&&i>=1&&i<=75)return j((0,p.concat)([[r.p2sh],"0x"+s[2]]))}}if(null!=r.prefix){var c=n[1],u=n[0];if(0===u?20!==c&&32!==c&&(u=-1):u=-1,u>=0&&n.length===2+c&&c>=1&&c<=75){var l=b.default.toWords(n.slice(2));return l.unshift(u),b.default.encode(r.prefix,l)}}return null},e.prototype.getAddress=function(e){return a(this,void 0,void 0,(function(){var t,r,n,o;return s(this,(function(a){switch(a.label){case 0:if(null==e&&(e=60),60!==e)return[3,4];a.label=1;case 1:return a.trys.push([1,3,,4]),[4,this._fetch("0x3b3b57de")];case 2:return"0x"===(t=a.sent())||t===f.HashZero?[2,null]:[2,this.provider.formatter.callAddress(t)];case 3:if((r=a.sent()).code===_.Logger.errors.CALL_EXCEPTION)return[2,null];throw r;case 4:return[4,this._fetchBytes("0xf1cb7e06",x(e))];case 5:return null==(n=a.sent())||"0x"===n?[2,null]:(null==(o=this._getAddress(e,n))&&E.throwError("invalid or unsupported coin data",_.Logger.errors.UNSUPPORTED_OPERATION,{operation:"getAddress("+e+")",coinType:e,data:n}),[2,o])}}))}))},e.prototype.getAvatar=function(){return a(this,void 0,void 0,(function(){var e,t,r,n,o,a,i,c,u,l,f,h,m,g,v,y,b,_,w,E,S,A;return s(this,(function(s){switch(s.label){case 0:e=[{type:"name",content:this.name}],s.label=1;case 1:return s.trys.push([1,19,,20]),[4,this.getText("avatar")];case 2:if(null==(t=s.sent()))return[2,null];r=0,s.label=3;case 3:if(!(r=0?null:JSON.stringify({data:o,sender:n}),[4,(0,T.fetchJson)({url:u,errorPassThrough:!0},l,(function(e,t){return e.status=t.statusCode,e}))]):[3,4];case 2:if((d=s.sent()).data)return[2,d.data];if(p=d.message||"unknown error",d.status>=400&&d.status<500)return[2,E.throwError("response not found during CCIP fetch: "+p,_.Logger.errors.SERVER_ERROR,{url:c,errorMessage:p})];a.push(p),s.label=3;case 3:return i++,[3,1];case 4:return[2,E.throwError("error encountered during CCIP fetch: "+a.map((function(e){return JSON.stringify(e)})).join(", "),_.Logger.errors.SERVER_ERROR,{urls:r,errorMessages:a})]}}))}))},t.prototype._getInternalBlockNumber=function(e){return a(this,void 0,void 0,(function(){var t,r,n,o,a=this;return s(this,(function(s){switch(s.label){case 0:return[4,this._ready()];case 1:if(s.sent(),!(e>0))return[3,7];s.label=2;case 2:if(!this._internalBlockNumber)return[3,7];t=this._internalBlockNumber,s.label=3;case 3:return s.trys.push([3,5,,6]),[4,t];case 4:return r=s.sent(),P()-r.respTime<=e?[2,r.blockNumber]:[3,7];case 5:return s.sent(),this._internalBlockNumber===t?[3,7]:[3,6];case 6:return[3,2];case 7:return n=P(),o=(0,g.resolveProperties)({blockNumber:this.perform("getBlockNumber",{}),networkError:this.getNetwork().then((function(e){return null}),(function(e){return e}))}).then((function(e){var t=e.blockNumber,r=e.networkError;if(r)throw a._internalBlockNumber===o&&(a._internalBlockNumber=null),r;var s=P();return(t=d.BigNumber.from(t).toNumber())1e3)E.warn("network block skew detected; skipping block events (emitted="+this._emitted.block+" blockNumber"+r+")"),this.emit("error",E.makeError("network block skew detected",_.Logger.errors.NETWORK_ERROR,{blockNumber:r,event:"blockSkew",previousBlockNumber:this._emitted.block})),this.emit("block",r);else for(o=this._emitted.block+1;o<=r;o++)this.emit("block",o);return this._emitted.block!==r&&(this._emitted.block=r,Object.keys(this._emitted).forEach((function(e){if("block"!==e){var t=a._emitted[e];"pending"!==t&&r-t>12&&delete a._emitted[e]}}))),-2===this._lastBlockNumber&&(this._lastBlockNumber=r-1),this._events.forEach((function(e){switch(e.type){case"tx":var n=e.hash,o=a.getTransactionReceipt(n).then((function(e){return e&&null!=e.blockNumber?(a._emitted["t:"+n]=e.blockNumber,a.emit(n,e),null):null})).catch((function(e){a.emit("error",e)}));t.push(o);break;case"filter":if(!e._inflight){e._inflight=!0,-2===e._lastBlockNumber&&(e._lastBlockNumber=r-1);var s=e.filter;s.fromBlock=e._lastBlockNumber+1,s.toBlock=r;var i=s.toBlock-a._maxFilterBlockRange;i>s.fromBlock&&(s.fromBlock=i),s.fromBlock<0&&(s.fromBlock=0);o=a.getLogs(s).then((function(t){e._inflight=!1,0!==t.length&&t.forEach((function(t){t.blockNumber>e._lastBlockNumber&&(e._lastBlockNumber=t.blockNumber),a._emitted["b:"+t.blockHash]=t.blockNumber,a._emitted["t:"+t.transactionHash]=t.blockNumber,a.emit(s,t)}))})).catch((function(t){a.emit("error",t),e._inflight=!1}));t.push(o)}}})),this._lastBlockNumber=r,Promise.all(t).then((function(){a.emit("didPoll",e)})).catch((function(e){a.emit("error",e)})),[2]}}))}))},t.prototype.resetEventsBlock=function(e){this._lastBlockNumber=e-1,this.polling&&this.poll()},Object.defineProperty(t.prototype,"network",{get:function(){return this._network},enumerable:!1,configurable:!0}),t.prototype.detectNetwork=function(){return a(this,void 0,void 0,(function(){return s(this,(function(e){return[2,E.throwError("provider does not support network detection",_.Logger.errors.UNSUPPORTED_OPERATION,{operation:"provider.detectNetwork"})]}))}))},t.prototype.getNetwork=function(){return a(this,void 0,void 0,(function(){var e,t,r;return s(this,(function(n){switch(n.label){case 0:return[4,this._ready()];case 1:return e=n.sent(),[4,this.detectNetwork()];case 2:return t=n.sent(),e.chainId===t.chainId?[3,5]:this.anyNetwork?(this._network=t,this._lastBlockNumber=-2,this._fastBlockNumber=null,this._fastBlockNumberPromise=null,this._fastQueryDate=0,this._emitted.block=-2,this._maxInternalBlockNumber=-1024,this._internalBlockNumber=null,this.emit("network",t,e),[4,N(0)]):[3,4];case 3:return n.sent(),[2,this._network];case 4:throw r=E.makeError("underlying network changed",_.Logger.errors.NETWORK_ERROR,{event:"changed",network:e,detectedNetwork:t}),this.emit("error",r),r;case 5:return[2,e]}}))}))},Object.defineProperty(t.prototype,"blockNumber",{get:function(){var e=this;return this._getInternalBlockNumber(100+this.pollingInterval/2).then((function(t){e._setFastBlockNumber(t)}),(function(e){})),null!=this._fastBlockNumber?this._fastBlockNumber:-1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"polling",{get:function(){return null!=this._poller},set:function(e){var t=this;e&&!this._poller?(this._poller=setInterval((function(){t.poll()}),this.pollingInterval),this._bootstrapPoll||(this._bootstrapPoll=setTimeout((function(){t.poll(),t._bootstrapPoll=setTimeout((function(){t._poller||t.poll(),t._bootstrapPoll=null}),t.pollingInterval)}),0))):!e&&this._poller&&(clearInterval(this._poller),this._poller=null)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"pollingInterval",{get:function(){return this._pollingInterval},set:function(e){var t=this;if("number"!=typeof e||e<=0||parseInt(String(e))!=e)throw new Error("invalid polling interval");this._pollingInterval=e,this._poller&&(clearInterval(this._poller),this._poller=setInterval((function(){t.poll()}),this._pollingInterval))},enumerable:!1,configurable:!0}),t.prototype._getFastBlockNumber=function(){var e=this,t=P();return t-this._fastQueryDate>2*this._pollingInterval&&(this._fastQueryDate=t,this._fastBlockNumberPromise=this.getBlockNumber().then((function(t){return(null==e._fastBlockNumber||t>e._fastBlockNumber)&&(e._fastBlockNumber=t),e._fastBlockNumber}))),this._fastBlockNumberPromise},t.prototype._setFastBlockNumber=function(e){null!=this._fastBlockNumber&&ethis._fastBlockNumber)&&(this._fastBlockNumber=e,this._fastBlockNumberPromise=Promise.resolve(e)))},t.prototype.waitForTransaction=function(e,t,r){return a(this,void 0,void 0,(function(){return s(this,(function(n){return[2,this._waitForTransaction(e,null==t?1:t,r||0,null)]}))}))},t.prototype._waitForTransaction=function(e,t,r,n){return a(this,void 0,void 0,(function(){var o,i=this;return s(this,(function(c){switch(c.label){case 0:return[4,this.getTransactionReceipt(e)];case 1:return((o=c.sent())?o.confirmations:0)>=t?[2,o]:[2,new Promise((function(o,c){var u=[],l=!1,d=function(){return!!l||(l=!0,u.forEach((function(e){e()})),!1)},p=function(e){e.confirmations0){var g=setTimeout((function(){d()||c(E.makeError("timeout exceeded",_.Logger.errors.TIMEOUT,{timeout:r}))}),r);g.unref&&g.unref(),u.push((function(){clearTimeout(g)}))}}))]}}))}))},t.prototype.getBlockNumber=function(){return a(this,void 0,void 0,(function(){return s(this,(function(e){return[2,this._getInternalBlockNumber(0)]}))}))},t.prototype.getGasPrice=function(){return a(this,void 0,void 0,(function(){var e;return s(this,(function(t){switch(t.label){case 0:return[4,this.getNetwork()];case 1:return t.sent(),[4,this.perform("getGasPrice",{})];case 2:e=t.sent();try{return[2,d.BigNumber.from(e)]}catch(t){return[2,E.throwError("bad result from backend",_.Logger.errors.SERVER_ERROR,{method:"getGasPrice",result:e,error:t})]}return[2]}}))}))},t.prototype.getBalance=function(e,t){return a(this,void 0,void 0,(function(){var r,n;return s(this,(function(o){switch(o.label){case 0:return[4,this.getNetwork()];case 1:return o.sent(),[4,(0,g.resolveProperties)({address:this._getAddress(e),blockTag:this._getBlockTag(t)})];case 2:return r=o.sent(),[4,this.perform("getBalance",r)];case 3:n=o.sent();try{return[2,d.BigNumber.from(n)]}catch(e){return[2,E.throwError("bad result from backend",_.Logger.errors.SERVER_ERROR,{method:"getBalance",params:r,result:n,error:e})]}return[2]}}))}))},t.prototype.getTransactionCount=function(e,t){return a(this,void 0,void 0,(function(){var r,n;return s(this,(function(o){switch(o.label){case 0:return[4,this.getNetwork()];case 1:return o.sent(),[4,(0,g.resolveProperties)({address:this._getAddress(e),blockTag:this._getBlockTag(t)})];case 2:return r=o.sent(),[4,this.perform("getTransactionCount",r)];case 3:n=o.sent();try{return[2,d.BigNumber.from(n).toNumber()]}catch(e){return[2,E.throwError("bad result from backend",_.Logger.errors.SERVER_ERROR,{method:"getTransactionCount",params:r,result:n,error:e})]}return[2]}}))}))},t.prototype.getCode=function(e,t){return a(this,void 0,void 0,(function(){var r,n;return s(this,(function(o){switch(o.label){case 0:return[4,this.getNetwork()];case 1:return o.sent(),[4,(0,g.resolveProperties)({address:this._getAddress(e),blockTag:this._getBlockTag(t)})];case 2:return r=o.sent(),[4,this.perform("getCode",r)];case 3:n=o.sent();try{return[2,(0,p.hexlify)(n)]}catch(e){return[2,E.throwError("bad result from backend",_.Logger.errors.SERVER_ERROR,{method:"getCode",params:r,result:n,error:e})]}return[2]}}))}))},t.prototype.getStorageAt=function(e,t,r){return a(this,void 0,void 0,(function(){var n,o;return s(this,(function(a){switch(a.label){case 0:return[4,this.getNetwork()];case 1:return a.sent(),[4,(0,g.resolveProperties)({address:this._getAddress(e),blockTag:this._getBlockTag(r),position:Promise.resolve(t).then((function(e){return(0,p.hexValue)(e)}))})];case 2:return n=a.sent(),[4,this.perform("getStorageAt",n)];case 3:o=a.sent();try{return[2,(0,p.hexlify)(o)]}catch(e){return[2,E.throwError("bad result from backend",_.Logger.errors.SERVER_ERROR,{method:"getStorageAt",params:n,result:o,error:e})]}return[2]}}))}))},t.prototype._wrapTransaction=function(e,t,r){var n=this;if(null!=t&&32!==(0,p.hexDataLength)(t))throw new Error("invalid response - sendTransaction");var o=e;return null!=t&&e.hash!==t&&E.throwError("Transaction hash mismatch from Provider.sendTransaction.",_.Logger.errors.UNKNOWN_ERROR,{expectedHash:e.hash,returnedHash:t}),o.wait=function(t,o){return a(n,void 0,void 0,(function(){var n,a;return s(this,(function(s){switch(s.label){case 0:return null==t&&(t=1),null==o&&(o=0),n=undefined,0!==t&&null!=r&&(n={data:e.data,from:e.from,nonce:e.nonce,to:e.to,value:e.value,startBlock:r}),[4,this._waitForTransaction(e.hash,t,o,n)];case 1:return null==(a=s.sent())&&0===t?[2,null]:(this._emitted["t:"+e.hash]=a.blockNumber,0===a.status&&E.throwError("transaction failed",_.Logger.errors.CALL_EXCEPTION,{transactionHash:e.hash,transaction:e,receipt:a}),[2,a])}}))}))},o},t.prototype.sendTransaction=function(e){return a(this,void 0,void 0,(function(){var t,r,n,o,a;return s(this,(function(s){switch(s.label){case 0:return[4,this.getNetwork()];case 1:return s.sent(),[4,Promise.resolve(e).then((function(e){return(0,p.hexlify)(e)}))];case 2:return t=s.sent(),null==(r=this.formatter.transaction(e)).confirmations&&(r.confirmations=0),[4,this._getInternalBlockNumber(100+2*this.pollingInterval)];case 3:n=s.sent(),s.label=4;case 4:return s.trys.push([4,6,,7]),[4,this.perform("sendTransaction",{signedTransaction:t})];case 5:return o=s.sent(),[2,this._wrapTransaction(r,o,n)];case 6:throw(a=s.sent()).transaction=r,a.transactionHash=r.hash,a;case 7:return[2]}}))}))},t.prototype._getTransactionRequest=function(e){return a(this,void 0,void 0,(function(){var t,r,n,o,a=this;return s(this,(function(s){switch(s.label){case 0:return[4,e];case 1:return t=s.sent(),r={},["from","to"].forEach((function(e){null!=t[e]&&(r[e]=Promise.resolve(t[e]).then((function(e){return e?a._getAddress(e):null})))})),["gasLimit","gasPrice","maxFeePerGas","maxPriorityFeePerGas","value"].forEach((function(e){null!=t[e]&&(r[e]=Promise.resolve(t[e]).then((function(e){return e?d.BigNumber.from(e):null})))})),["type"].forEach((function(e){null!=t[e]&&(r[e]=Promise.resolve(t[e]).then((function(e){return null!=e?e:null})))})),t.accessList&&(r.accessList=this.formatter.accessList(t.accessList)),["data"].forEach((function(e){null!=t[e]&&(r[e]=Promise.resolve(t[e]).then((function(e){return e?(0,p.hexlify)(e):null})))})),o=(n=this.formatter).transactionRequest,[4,(0,g.resolveProperties)(r)];case 2:return[2,o.apply(n,[s.sent()])]}}))}))},t.prototype._getFilter=function(e){return a(this,void 0,void 0,(function(){var t,r,n,o=this;return s(this,(function(a){switch(a.label){case 0:return[4,e];case 1:return e=a.sent(),t={},null!=e.address&&(t.address=this._getAddress(e.address)),["blockHash","topics"].forEach((function(r){null!=e[r]&&(t[r]=e[r])})),["fromBlock","toBlock"].forEach((function(r){null!=e[r]&&(t[r]=o._getBlockTag(e[r]))})),n=(r=this.formatter).filter,[4,(0,g.resolveProperties)(t)];case 2:return[2,n.apply(r,[a.sent()])]}}))}))},t.prototype._call=function(e,t,r){return a(this,void 0,void 0,(function(){var n,o,a,i,c,u,l,f,h,m,g,v,y,T,b,w;return s(this,(function(s){switch(s.label){case 0:return r>=10&&E.throwError("CCIP read exceeded maximum redirections",_.Logger.errors.SERVER_ERROR,{redirects:r,transaction:e}),n=e.to,[4,this.perform("call",{transaction:e,blockTag:t})];case 1:if(o=s.sent(),!(r>=0&&"latest"===t&&null!=n&&"0x556f1830"===o.substring(0,10)&&(0,p.hexDataLength)(o)%32==4))return[3,5];s.label=2;case 2:for(s.trys.push([2,4,,5]),a=(0,p.hexDataSlice)(o,4),i=(0,p.hexDataSlice)(a,0,32),d.BigNumber.from(i).eq(n)||E.throwError("CCIP Read sender did not match",_.Logger.errors.CALL_EXCEPTION,{name:"OffchainLookup",signature:"OffchainLookup(address,string[],bytes,bytes4,bytes)",transaction:e,data:o}),c=[],u=d.BigNumber.from((0,p.hexDataSlice)(a,32,64)).toNumber(),l=d.BigNumber.from((0,p.hexDataSlice)(a,u,u+32)).toNumber(),f=(0,p.hexDataSlice)(a,u+32),h=0;hthis._emitted.block?[2,null]:[2,undefined];if(!t)return[3,8];o=null,a=0,s.label=2;case 2:return a0},t.prototype._stopEvent=function(e){this.polling=this._events.filter((function(e){return e.pollable()})).length>0},t.prototype._addEventListener=function(e,t,r){var n=new R(O(e),t,r);return this._events.push(n),this._startEvent(n),this},t.prototype.on=function(e,t){return this._addEventListener(e,t,!1)},t.prototype.once=function(e,t){return this._addEventListener(e,t,!0)},t.prototype.emit=function(e){for(var t=this,r=[],n=1;n0&&o[o.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]0&&o[o.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]=0&&(t.throttleRetry=!0),t}return e.result}function v(e){if(e&&0==e.status&&"NOTOK"==e.message&&(e.result||"").toLowerCase().indexOf("rate limit")>=0)throw(t=new Error("throttled response")).result=JSON.stringify(e),t.throttleRetry=!0,t;if("2.0"!=e.jsonrpc)throw(t=new Error("invalid response")).result=JSON.stringify(e),t;if(e.error){var t=new Error(e.error.message||"unknown error");throw e.error.code&&(t.code=e.error.code),e.error.data&&(t.data=e.error.data),t}return e.result}function y(e){if("pending"===e)throw new Error("pending not supported");return"latest"===e?e:parseInt(e.substring(2),16)}function T(e,t,r){if("call"===e&&t.code===p.Logger.errors.SERVER_ERROR){var n=t.error;if(n&&(n.message.match(/reverted/i)||n.message.match(/VM execution error/i))){var o=n.data;if(o&&(o="0x"+o.replace(/^.*0x/i,"")),(0,i.isHexString)(o))return o;h.throwError("missing revert data in call exception",p.Logger.errors.CALL_EXCEPTION,{error:t,data:"0x"})}}var a=t.message;throw t.code===p.Logger.errors.SERVER_ERROR&&(t.error&&"string"==typeof t.error.message?a=t.error.message:"string"==typeof t.body?a=t.body:"string"==typeof t.responseText&&(a=t.responseText)),(a=(a||"").toLowerCase()).match(/insufficient funds/)&&h.throwError("insufficient funds for intrinsic transaction cost",p.Logger.errors.INSUFFICIENT_FUNDS,{error:t,method:e,transaction:r}),a.match(/same hash was already imported|transaction nonce is too low|nonce too low/)&&h.throwError("nonce has already been used",p.Logger.errors.NONCE_EXPIRED,{error:t,method:e,transaction:r}),a.match(/another transaction with same nonce/)&&h.throwError("replacement fee too low",p.Logger.errors.REPLACEMENT_UNDERPRICED,{error:t,method:e,transaction:r}),a.match(/execution failed due to an exception|execution reverted/)&&h.throwError("cannot estimate gas; transaction may fail or may require manual gas limit",p.Logger.errors.UNPREDICTABLE_GAS_LIMIT,{error:t,method:e,transaction:r}),t}var b=function(e){function t(t,r){var n=e.call(this,t)||this;return(0,c.defineReadOnly)(n,"baseUrl",n.getBaseUrl()),(0,c.defineReadOnly)(n,"apiKey",r||null),n}return o(t,e),t.prototype.getBaseUrl=function(){switch(this.network?this.network.name:"invalid"){case"homestead":return"https://api.etherscan.io";case"goerli":return"https://api-goerli.etherscan.io";case"sepolia":return"https://api-sepolia.etherscan.io";case"matic":return"https://api.polygonscan.com";case"maticmum":return"https://api-testnet.polygonscan.com";case"arbitrum":return"https://api.arbiscan.io";case"arbitrum-goerli":return"https://api-goerli.arbiscan.io";case"optimism":return"https://api-optimistic.etherscan.io";case"optimism-goerli":return"https://api-goerli-optimistic.etherscan.io"}return h.throwArgumentError("unsupported network","network",this.network.name)},t.prototype.getUrl=function(e,t){var r=Object.keys(t).reduce((function(e,r){var n=t[r];return null!=n&&(e+="&"+r+"="+n),e}),""),n=this.apiKey?"&apikey="+this.apiKey:"";return this.baseUrl+"/api?module="+e+r+n},t.prototype.getPostUrl=function(){return this.baseUrl+"/api"},t.prototype.getPostData=function(e,t){return t.module=e,t.apikey=this.apiKey,t},t.prototype.fetch=function(e,t,r){return a(this,void 0,void 0,(function(){var n,o,a,i,u,p,f=this;return s(this,(function(s){switch(s.label){case 0:return n=r?this.getPostUrl():this.getUrl(e,t),o=r?this.getPostData(e,t):null,a="proxy"===e?v:g,this.emit("debug",{action:"request",request:n,provider:this}),i={url:n,throttleSlotInterval:1e3,throttleCallback:function(e,t){return f.isCommunityResource()&&(0,d.showThrottleMessage)(),Promise.resolve(!0)}},u=null,o&&(i.headers={"content-type":"application/x-www-form-urlencoded; charset=UTF-8"},u=Object.keys(o).map((function(e){return e+"="+o[e]})).join("&")),[4,(0,l.fetchJson)(i,u,a||v)];case 1:return p=s.sent(),this.emit("debug",{action:"response",request:n,response:(0,c.deepCopy)(p),provider:this}),[2,p]}}))}))},t.prototype.detectNetwork=function(){return a(this,void 0,void 0,(function(){return s(this,(function(e){return[2,this.network]}))}))},t.prototype.perform=function(t,r){return a(this,void 0,void 0,(function(){var n,o,a,i,c,u,l,d,f;return s(this,(function(s){switch(s.label){case 0:switch(t){case"getBlockNumber":return[3,1];case"getGasPrice":return[3,2];case"getBalance":return[3,3];case"getTransactionCount":return[3,4];case"getCode":return[3,5];case"getStorageAt":return[3,6];case"sendTransaction":return[3,7];case"getBlock":return[3,8];case"getTransaction":return[3,9];case"getTransactionReceipt":return[3,10];case"call":return[3,11];case"estimateGas":return[3,15];case"getLogs":return[3,19];case"getEtherPrice":return[3,26]}return[3,28];case 1:return[2,this.fetch("proxy",{action:"eth_blockNumber"})];case 2:return[2,this.fetch("proxy",{action:"eth_gasPrice"})];case 3:return[2,this.fetch("account",{action:"balance",address:r.address,tag:r.blockTag})];case 4:return[2,this.fetch("proxy",{action:"eth_getTransactionCount",address:r.address,tag:r.blockTag})];case 5:return[2,this.fetch("proxy",{action:"eth_getCode",address:r.address,tag:r.blockTag})];case 6:return[2,this.fetch("proxy",{action:"eth_getStorageAt",address:r.address,position:r.position,tag:r.blockTag})];case 7:return[2,this.fetch("proxy",{action:"eth_sendRawTransaction",hex:r.signedTransaction},!0).catch((function(e){return T("sendTransaction",e,r.signedTransaction)}))];case 8:if(r.blockTag)return[2,this.fetch("proxy",{action:"eth_getBlockByNumber",tag:r.blockTag,boolean:r.includeTransactions?"true":"false"})];throw new Error("getBlock by blockHash not implemented");case 9:return[2,this.fetch("proxy",{action:"eth_getTransactionByHash",txhash:r.transactionHash})];case 10:return[2,this.fetch("proxy",{action:"eth_getTransactionReceipt",txhash:r.transactionHash})];case 11:if("latest"!==r.blockTag)throw new Error("EtherscanProvider does not support blockTag for call");(n=m(r.transaction)).module="proxy",n.action="eth_call",s.label=12;case 12:return s.trys.push([12,14,,15]),[4,this.fetch("proxy",n,!0)];case 13:return[2,s.sent()];case 14:return[2,T("call",s.sent(),r.transaction)];case 15:(n=m(r.transaction)).module="proxy",n.action="eth_estimateGas",s.label=16;case 16:return s.trys.push([16,18,,19]),[4,this.fetch("proxy",n,!0)];case 17:return[2,s.sent()];case 18:return[2,T("estimateGas",s.sent(),r.transaction)];case 19:return o={action:"getLogs"},r.filter.fromBlock&&(o.fromBlock=y(r.filter.fromBlock)),r.filter.toBlock&&(o.toBlock=y(r.filter.toBlock)),r.filter.address&&(o.address=r.filter.address),r.filter.topics&&r.filter.topics.length>0&&(r.filter.topics.length>1&&h.throwError("unsupported topic count",p.Logger.errors.UNSUPPORTED_OPERATION,{topics:r.filter.topics}),1===r.filter.topics.length&&("string"==typeof(a=r.filter.topics[0])&&66===a.length||h.throwError("unsupported topic format",p.Logger.errors.UNSUPPORTED_OPERATION,{topic0:a}),o.topic0=a)),[4,this.fetch("logs",o)];case 20:i=s.sent(),c={},u=0,s.label=21;case 21:return u0&&o[o.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]t?null:(n+o)/2}function _(e){if(null===e)return"null";if("number"==typeof e||"boolean"==typeof e)return JSON.stringify(e);if("string"==typeof e)return e;if(c.BigNumber.isBigNumber(e))return e.toString();if(Array.isArray(e))return JSON.stringify(e.map((function(e){return _(e)})));if("object"==typeof e){var t=Object.keys(e);return t.sort(),"{"+t.map((function(t){var r=e[t];return r="function"==typeof r?"[function]":_(r),JSON.stringify(t)+":"+r})).join(",")+"}"}throw new Error("unknown value type: "+typeof e)}var w=1;function E(e){var t=null,r=null,n=new Promise((function(n){t=function(){r&&(clearTimeout(r),r=null),n()},r=setTimeout(t,e)}));return{cancel:t,getPromise:function(){return n},wait:function(e){return n=n.then(e)}}}var S=[m.Logger.errors.CALL_EXCEPTION,m.Logger.errors.INSUFFICIENT_FUNDS,m.Logger.errors.NONCE_EXPIRED,m.Logger.errors.REPLACEMENT_UNDERPRICED,m.Logger.errors.UNPREDICTABLE_GAS_LIMIT],A=["address","args","errorArgs","errorSignature","method","transaction"];function k(e,t){var r={weight:e.weight};return Object.defineProperty(r,"provider",{get:function(){return e.provider}}),e.start&&(r.start=e.start),t&&(r.duration=t-e.start),e.done&&(e.error?r.error=e.error:r.result=e.result||null),r}function O(e,t,r){var n=_;switch(t){case"getBlockNumber":return function(t){var r=t.map((function(e){return e.result})),n=b(t.map((function(e){return e.result})),2);return null==n?undefined:(n=Math.ceil(n),r.indexOf(n+1)>=0&&n++,n>=e._highestBlockNumber&&(e._highestBlockNumber=n),e._highestBlockNumber)};case"getGasPrice":return function(e){var t=e.map((function(e){return e.result}));return t.sort(),t[Math.floor(t.length/2)]};case"getEtherPrice":return function(e){return b(e.map((function(e){return e.result})))};case"getBalance":case"getTransactionCount":case"getCode":case"getStorageAt":case"call":case"estimateGas":case"getLogs":break;case"getTransaction":case"getTransactionReceipt":n=function(e){return null==e?null:((e=(0,l.shallowCopy)(e)).confirmations=-1,_(e))};break;case"getBlock":n=r.includeTransactions?function(e){return null==e?null:((e=(0,l.shallowCopy)(e)).transactions=e.transactions.map((function(e){return(e=(0,l.shallowCopy)(e)).confirmations=-1,e})),_(e))}:function(e){return null==e?null:_(e)};break;default:throw new Error("unknown method: "+t)}return function(e,t){return function(r){var n={};r.forEach((function(t){var r=e(t.result);n[r]||(n[r]={count:0,result:t.result}),n[r].count++}));for(var o=Object.keys(n),a=0;a=t)return s.result}return undefined}}(n,e.quorum)}function P(e,t){return a(this,void 0,void 0,(function(){var r;return s(this,(function(n){return null!=(r=e.provider).blockNumber&&r.blockNumber>=t||-1===t?[2,r]:[2,(0,p.poll)((function(){return new Promise((function(n,o){setTimeout((function(){return r.blockNumber>=t?n(r):e.cancelled?n(null):n(undefined)}),0)}))}),{oncePoll:r})]}))}))}var N=function(e){function t(t,r){var n=this;0===t.length&&v.throwArgumentError("missing providers","providers",t);var o=t.map((function(e,t){if(i.Provider.isProvider(e)){var r=(0,h.isCommunityResource)(e)?2e3:750;return Object.freeze({provider:e,weight:1,stallTimeout:r,priority:1})}var n=(0,l.shallowCopy)(e);null==n.priority&&(n.priority=1),null==n.stallTimeout&&(n.stallTimeout=(0,h.isCommunityResource)(e)?2e3:750),null==n.weight&&(n.weight=1);var o=n.weight;return(o%1||o>512||o<1)&&v.throwArgumentError("invalid weight; must be integer in [1, 512]","providers["+t+"].weight",o),Object.freeze(n)})),a=o.reduce((function(e,t){return e+t.weight}),0);null==r?r=a/2:r>a&&v.throwArgumentError("quorum will always fail; larger than total weight","quorum",r);var s=T(o.map((function(e){return e.provider.network})));return null==s&&(s=new Promise((function(e,t){setTimeout((function(){n.detectNetwork().then(e,t)}),0)}))),n=e.call(this,s)||this,(0,l.defineReadOnly)(n,"providerConfigs",Object.freeze(o)),(0,l.defineReadOnly)(n,"quorum",r),n._highestBlockNumber=-1,n}return o(t,e),t.prototype.detectNetwork=function(){return a(this,void 0,void 0,(function(){return s(this,(function(e){switch(e.label){case 0:return[4,Promise.all(this.providerConfigs.map((function(e){return e.provider.getNetwork()})))];case 1:return[2,T(e.sent())]}}))}))},t.prototype.perform=function(e,t){return a(this,void 0,void 0,(function(){var r,n,o,i,c,p,f,h,g,T,b,_=this;return s(this,(function(N){switch(N.label){case 0:return"sendTransaction"!==e?[3,2]:[4,Promise.all(this.providerConfigs.map((function(e){return e.provider.sendTransaction(t.signedTransaction).then((function(e){return e.hash}),(function(e){return e}))})))];case 1:for(r=N.sent(),n=0;n=T.quorum?(b=i(g))!==undefined?(c.forEach((function(e){e.staller&&e.staller.cancel(),e.cancelled=!0})),[2,{value:b}]):h?[3,4]:[4,E(100).getPromise()]:[3,5];case 3:N.sent(),N.label=4;case 4:h=!1,N.label=5;case 5:return O=c.reduce((function(e,t){if(!t.done||null==t.error)return e;var r=t.error.code;return S.indexOf(r)>=0&&(e[r]||(e[r]={error:t.error,weight:0}),e[r].weight+=t.weight),e}),{}),Object.keys(O).forEach((function(e){var t=O[e];if(!(t.weight<_.quorum)){c.forEach((function(e){e.staller&&e.staller.cancel(),e.cancelled=!0}));var r=t.error,n={};A.forEach((function(e){null!=r[e]&&(n[e]=r[e])})),v.throwError(r.reason||r.message,e,n)}})),0===c.filter((function(e){return!e.done})).length?[2,"break"]:[2]}}))},T=this,N.label=5;case 5:return[5,g()];case 6:return"object"==typeof(b=N.sent())?[2,b.value]:"break"===b?[3,7]:[3,5];case 7:return c.forEach((function(e){e.staller&&e.staller.cancel(),e.cancelled=!0})),[2,v.throwError("failed to meet quorum",m.Logger.errors.SERVER_ERROR,{method:e,params:t,results:c.map((function(e){return k(e)})),provider:this})]}}))}))},t}(f.BaseProvider);r.FallbackProvider=N}}},{package:"@ethersproject/providers",file:"node_modules/@ethersproject/providers/lib/fallback-provider.js"}],[520,{"./_version":511,"@ethersproject/address":467,"@ethersproject/bignumber":474,"@ethersproject/bytes":476,"@ethersproject/constants":480,"@ethersproject/logger":504,"@ethersproject/properties":510,"@ethersproject/transactions":550},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.showThrottleMessage=r.isCommunityResource=r.isCommunityResourcable=r.Formatter=void 0;var n=e("@ethersproject/address"),o=e("@ethersproject/bignumber"),a=e("@ethersproject/bytes"),s=e("@ethersproject/constants"),i=e("@ethersproject/properties"),c=e("@ethersproject/transactions"),u=e("@ethersproject/logger"),l=e("./_version"),d=new u.Logger(l.version),p=function(){function e(){this.formats=this.getDefaultFormats()}return e.prototype.getDefaultFormats=function(){var t=this,r={},n=this.address.bind(this),o=this.bigNumber.bind(this),a=this.blockTag.bind(this),s=this.data.bind(this),c=this.hash.bind(this),u=this.hex.bind(this),l=this.number.bind(this),d=this.type.bind(this);return r.transaction={hash:c,type:d,accessList:e.allowNull(this.accessList.bind(this),null),blockHash:e.allowNull(c,null),blockNumber:e.allowNull(l,null),transactionIndex:e.allowNull(l,null),confirmations:e.allowNull(l,null),from:n,gasPrice:e.allowNull(o),maxPriorityFeePerGas:e.allowNull(o),maxFeePerGas:e.allowNull(o),gasLimit:o,to:e.allowNull(n,null),value:o,nonce:l,data:s,r:e.allowNull(this.uint256),s:e.allowNull(this.uint256),v:e.allowNull(l),creates:e.allowNull(n,null),raw:e.allowNull(s)},r.transactionRequest={from:e.allowNull(n),nonce:e.allowNull(l),gasLimit:e.allowNull(o),gasPrice:e.allowNull(o),maxPriorityFeePerGas:e.allowNull(o),maxFeePerGas:e.allowNull(o),to:e.allowNull(n),value:e.allowNull(o),data:e.allowNull((function(e){return t.data(e,!0)})),type:e.allowNull(l),accessList:e.allowNull(this.accessList.bind(this),null)},r.receiptLog={transactionIndex:l,blockNumber:l,transactionHash:c,address:n,topics:e.arrayOf(c),data:s,logIndex:l,blockHash:c},r.receipt={to:e.allowNull(this.address,null),from:e.allowNull(this.address,null),contractAddress:e.allowNull(n,null),transactionIndex:l,root:e.allowNull(u),gasUsed:o,logsBloom:e.allowNull(s),blockHash:c,transactionHash:c,logs:e.arrayOf(this.receiptLog.bind(this)),blockNumber:l,confirmations:e.allowNull(l,null),cumulativeGasUsed:o,effectiveGasPrice:e.allowNull(o),status:e.allowNull(l),type:d},r.block={hash:e.allowNull(c),parentHash:c,number:l,timestamp:l,nonce:e.allowNull(u),difficulty:this.difficulty.bind(this),gasLimit:o,gasUsed:o,miner:e.allowNull(n),extraData:s,transactions:e.allowNull(e.arrayOf(c)),baseFeePerGas:e.allowNull(o)},r.blockWithTransactions=(0,i.shallowCopy)(r.block),r.blockWithTransactions.transactions=e.allowNull(e.arrayOf(this.transactionResponse.bind(this))),r.filter={fromBlock:e.allowNull(a,undefined),toBlock:e.allowNull(a,undefined),blockHash:e.allowNull(c,undefined),address:e.allowNull(n,undefined),topics:e.allowNull(this.topics.bind(this),undefined)},r.filterLog={blockNumber:e.allowNull(l),blockHash:e.allowNull(c),transactionIndex:l,removed:e.allowNull(this.boolean.bind(this)),address:n,data:e.allowFalsish(s,"0x"),topics:e.arrayOf(c),transactionHash:c,logIndex:l},r},e.prototype.accessList=function(e){return(0,c.accessListify)(e||[])},e.prototype.number=function(e){return"0x"===e?0:o.BigNumber.from(e).toNumber()},e.prototype.type=function(e){return"0x"===e||null==e?0:o.BigNumber.from(e).toNumber()},e.prototype.bigNumber=function(e){return o.BigNumber.from(e)},e.prototype.boolean=function(e){if("boolean"==typeof e)return e;if("string"==typeof e){if("true"===(e=e.toLowerCase()))return!0;if("false"===e)return!1}throw new Error("invalid boolean - "+e)},e.prototype.hex=function(e,t){return"string"==typeof e&&(t||"0x"===e.substring(0,2)||(e="0x"+e),(0,a.isHexString)(e))?e.toLowerCase():d.throwArgumentError("invalid hash","value",e)},e.prototype.data=function(e,t){var r=this.hex(e,t);if(r.length%2!=0)throw new Error("invalid data; odd-length - "+e);return r},e.prototype.address=function(e){return(0,n.getAddress)(e)},e.prototype.callAddress=function(e){if(!(0,a.isHexString)(e,32))return null;var t=(0,n.getAddress)((0,a.hexDataSlice)(e,12));return t===s.AddressZero?null:t},e.prototype.contractAddress=function(e){return(0,n.getContractAddress)(e)},e.prototype.blockTag=function(e){if(null==e)return"latest";if("earliest"===e)return"0x0";switch(e){case"earliest":return"0x0";case"latest":case"pending":case"safe":case"finalized":return e}if("number"==typeof e||(0,a.isHexString)(e))return(0,a.hexValue)(e);throw new Error("invalid blockTag")},e.prototype.hash=function(e,t){var r=this.hex(e,t);return 32!==(0,a.hexDataLength)(r)?d.throwArgumentError("invalid hash","value",e):r},e.prototype.difficulty=function(e){if(null==e)return null;var t=o.BigNumber.from(e);try{return t.toNumber()}catch(e){}return null},e.prototype.uint256=function(e){if(!(0,a.isHexString)(e))throw new Error("invalid uint256");return(0,a.hexZeroPad)(e,32)},e.prototype._block=function(t,r){null!=t.author&&null==t.miner&&(t.miner=t.author);var n=null!=t._difficulty?t._difficulty:t.difficulty,a=e.check(r,t);return a._difficulty=null==n?null:o.BigNumber.from(n),a},e.prototype.block=function(e){return this._block(e,this.formats.block)},e.prototype.blockWithTransactions=function(e){return this._block(e,this.formats.blockWithTransactions)},e.prototype.transactionRequest=function(t){return e.check(this.formats.transactionRequest,t)},e.prototype.transactionResponse=function(t){null!=t.gas&&null==t.gasLimit&&(t.gasLimit=t.gas),t.to&&o.BigNumber.from(t.to).isZero()&&(t.to="0x0000000000000000000000000000000000000000"),null!=t.input&&null==t.data&&(t.data=t.input),null==t.to&&null==t.creates&&(t.creates=this.contractAddress(t)),1!==t.type&&2!==t.type||null!=t.accessList||(t.accessList=[]);var r=e.check(this.formats.transaction,t);if(null!=t.chainId){var n=t.chainId;(0,a.isHexString)(n)&&(n=o.BigNumber.from(n).toNumber()),r.chainId=n}else{null==(n=t.networkId)&&null==r.v&&(n=t.chainId),(0,a.isHexString)(n)&&(n=o.BigNumber.from(n).toNumber()),"number"!=typeof n&&null!=r.v&&((n=(r.v-35)/2)<0&&(n=0),n=parseInt(n)),"number"!=typeof n&&(n=0),r.chainId=n}return r.blockHash&&"x"===r.blockHash.replace(/0/g,"")&&(r.blockHash=null),r},e.prototype.transaction=function(e){return(0,c.parse)(e)},e.prototype.receiptLog=function(t){return e.check(this.formats.receiptLog,t)},e.prototype.receipt=function(t){var r=e.check(this.formats.receipt,t);if(null!=r.root)if(r.root.length<=4){var n=o.BigNumber.from(r.root).toNumber();0===n||1===n?(null!=r.status&&r.status!==n&&d.throwArgumentError("alt-root-status/status mismatch","value",{root:r.root,status:r.status}),r.status=n,delete r.root):d.throwArgumentError("invalid alt-root-status","value.root",r.root)}else 66!==r.root.length&&d.throwArgumentError("invalid root hash","value.root",r.root);return null!=r.status&&(r.byzantium=!0),r},e.prototype.topics=function(e){var t=this;return Array.isArray(e)?e.map((function(e){return t.topics(e)})):null!=e?this.hash(e,!0):null},e.prototype.filter=function(t){return e.check(this.formats.filter,t)},e.prototype.filterLog=function(t){return e.check(this.formats.filterLog,t)},e.check=function(e,t){var r={};for(var n in e)try{var o=e[n](t[n]);o!==undefined&&(r[n]=o)}catch(e){throw e.checkKey=n,e.checkValue=t[n],e}return r},e.allowNull=function(e,t){return function(r){return null==r?t:e(r)}},e.allowFalsish=function(e,t){return function(r){return r?e(r):t}},e.arrayOf=function(e){return function(t){if(!Array.isArray(t))throw new Error("not an array");var r=[];return t.forEach((function(t){r.push(e(t))})),r}},e}();function f(e){return e&&"function"==typeof e.isCommunityResource}r.Formatter=p,r.isCommunityResourcable=f,r.isCommunityResource=function(e){return f(e)&&e.isCommunityResource()};var h=!1;r.showThrottleMessage=function(){h||(h=!0,console.log("========= NOTICE ========="),console.log("Request-Rate Exceeded (this message will not be repeated)"),console.log(""),console.log("The default API keys for each service are provided as a highly-throttled,"),console.log("community resource for low-traffic projects and early prototyping."),console.log(""),console.log("While your application will continue to function, we highly recommended"),console.log("signing up for your own API keys to improve performance, increase your"),console.log("request rate/limit and enable other perks, such as metrics and advanced APIs."),console.log(""),console.log("For more details: https://docs.ethers.io/api-keys/"),console.log("=========================="))}}}},{package:"@ethersproject/providers",file:"node_modules/@ethersproject/providers/lib/formatter.js"}],[521,{"./_version":511,"./alchemy-provider":512,"./ankr-provider":513,"./base-provider":514,"./cloudflare-provider":517,"./etherscan-provider":518,"./fallback-provider":519,"./formatter":520,"./infura-provider":522,"./ipc-provider":515,"./json-rpc-batch-provider":523,"./json-rpc-provider":524,"./nodesmith-provider":525,"./pocket-provider":526,"./url-json-rpc-provider":527,"./web3-provider":528,"./websocket-provider":529,"@ethersproject/abstract-provider":463,"@ethersproject/logger":504,"@ethersproject/networks":506},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.Formatter=r.showThrottleMessage=r.isCommunityResourcable=r.isCommunityResource=r.getNetwork=r.getDefaultProvider=r.JsonRpcSigner=r.IpcProvider=r.WebSocketProvider=r.Web3Provider=r.StaticJsonRpcProvider=r.PocketProvider=r.NodesmithProvider=r.JsonRpcBatchProvider=r.JsonRpcProvider=r.InfuraWebSocketProvider=r.InfuraProvider=r.EtherscanProvider=r.CloudflareProvider=r.AnkrProvider=r.AlchemyWebSocketProvider=r.AlchemyProvider=r.FallbackProvider=r.UrlJsonRpcProvider=r.Resolver=r.BaseProvider=r.Provider=void 0;var n=e("@ethersproject/abstract-provider");Object.defineProperty(r,"Provider",{enumerable:!0,get:function(){return n.Provider}});var o=e("@ethersproject/networks");Object.defineProperty(r,"getNetwork",{enumerable:!0,get:function(){return o.getNetwork}});var a=e("./base-provider");Object.defineProperty(r,"BaseProvider",{enumerable:!0,get:function(){return a.BaseProvider}}),Object.defineProperty(r,"Resolver",{enumerable:!0,get:function(){return a.Resolver}});var s=e("./alchemy-provider");Object.defineProperty(r,"AlchemyProvider",{enumerable:!0,get:function(){return s.AlchemyProvider}}),Object.defineProperty(r,"AlchemyWebSocketProvider",{enumerable:!0,get:function(){return s.AlchemyWebSocketProvider}});var i=e("./ankr-provider");Object.defineProperty(r,"AnkrProvider",{enumerable:!0,get:function(){return i.AnkrProvider}});var c=e("./cloudflare-provider");Object.defineProperty(r,"CloudflareProvider",{enumerable:!0,get:function(){return c.CloudflareProvider}});var u=e("./etherscan-provider");Object.defineProperty(r,"EtherscanProvider",{enumerable:!0,get:function(){return u.EtherscanProvider}});var l=e("./fallback-provider");Object.defineProperty(r,"FallbackProvider",{enumerable:!0,get:function(){return l.FallbackProvider}});var d=e("./ipc-provider");Object.defineProperty(r,"IpcProvider",{enumerable:!0,get:function(){return d.IpcProvider}});var p=e("./infura-provider");Object.defineProperty(r,"InfuraProvider",{enumerable:!0,get:function(){return p.InfuraProvider}}),Object.defineProperty(r,"InfuraWebSocketProvider",{enumerable:!0,get:function(){return p.InfuraWebSocketProvider}});var f=e("./json-rpc-provider");Object.defineProperty(r,"JsonRpcProvider",{enumerable:!0,get:function(){return f.JsonRpcProvider}}),Object.defineProperty(r,"JsonRpcSigner",{enumerable:!0,get:function(){return f.JsonRpcSigner}});var h=e("./json-rpc-batch-provider");Object.defineProperty(r,"JsonRpcBatchProvider",{enumerable:!0,get:function(){return h.JsonRpcBatchProvider}});var m=e("./nodesmith-provider");Object.defineProperty(r,"NodesmithProvider",{enumerable:!0,get:function(){return m.NodesmithProvider}});var g=e("./pocket-provider");Object.defineProperty(r,"PocketProvider",{enumerable:!0,get:function(){return g.PocketProvider}});var v=e("./url-json-rpc-provider");Object.defineProperty(r,"StaticJsonRpcProvider",{enumerable:!0,get:function(){return v.StaticJsonRpcProvider}}),Object.defineProperty(r,"UrlJsonRpcProvider",{enumerable:!0,get:function(){return v.UrlJsonRpcProvider}});var y=e("./web3-provider");Object.defineProperty(r,"Web3Provider",{enumerable:!0,get:function(){return y.Web3Provider}});var T=e("./websocket-provider");Object.defineProperty(r,"WebSocketProvider",{enumerable:!0,get:function(){return T.WebSocketProvider}});var b=e("./formatter");Object.defineProperty(r,"Formatter",{enumerable:!0,get:function(){return b.Formatter}}),Object.defineProperty(r,"isCommunityResourcable",{enumerable:!0,get:function(){return b.isCommunityResourcable}}),Object.defineProperty(r,"isCommunityResource",{enumerable:!0,get:function(){return b.isCommunityResource}}),Object.defineProperty(r,"showThrottleMessage",{enumerable:!0,get:function(){return b.showThrottleMessage}});var _=e("@ethersproject/logger"),w=e("./_version"),E=new _.Logger(w.version);r.getDefaultProvider=function(e,t){if(null==e&&(e="homestead"),"string"==typeof e){var r=e.match(/^(ws|http)s?:/i);if(r)switch(r[1].toLowerCase()){case"http":case"https":return new f.JsonRpcProvider(e);case"ws":case"wss":return new T.WebSocketProvider(e);default:E.throwArgumentError("unsupported URL scheme","network",e)}}var n=(0,o.getNetwork)(e);return n&&n._defaultProvider||E.throwError("unsupported getDefaultProvider network",_.Logger.errors.NETWORK_ERROR,{operation:"getDefaultProvider",network:e}),n._defaultProvider({FallbackProvider:l.FallbackProvider,AlchemyProvider:s.AlchemyProvider,AnkrProvider:i.AnkrProvider,CloudflareProvider:c.CloudflareProvider,EtherscanProvider:u.EtherscanProvider,InfuraProvider:p.InfuraProvider,JsonRpcProvider:f.JsonRpcProvider,NodesmithProvider:m.NodesmithProvider,PocketProvider:g.PocketProvider,Web3Provider:y.Web3Provider,IpcProvider:d.IpcProvider},t)}}}},{package:"@ethersproject/providers",file:"node_modules/@ethersproject/providers/lib/index.js"}],[522,{"./_version":511,"./formatter":520,"./url-json-rpc-provider":527,"./websocket-provider":529,"@ethersproject/logger":504,"@ethersproject/properties":510},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.InfuraProvider=r.InfuraWebSocketProvider=void 0;var a=e("@ethersproject/properties"),s=e("./websocket-provider"),i=e("./formatter"),c=e("@ethersproject/logger"),u=e("./_version"),l=new c.Logger(u.version),d=e("./url-json-rpc-provider"),p="84842078b09946638c03157f83405213",f=function(e){function t(t,r){var n,o=new h(t,r),s=o.connection;s.password&&l.throwError("INFURA WebSocket project secrets unsupported",c.Logger.errors.UNSUPPORTED_OPERATION,{operation:"InfuraProvider.getWebSocketProvider()"});var i=s.url.replace(/^http/i,"ws").replace("/v3/","/ws/v3/");return n=e.call(this,i,t)||this,(0,a.defineReadOnly)(n,"apiKey",o.projectId),(0,a.defineReadOnly)(n,"projectId",o.projectId),(0,a.defineReadOnly)(n,"projectSecret",o.projectSecret),n}return o(t,e),t.prototype.isCommunityResource=function(){return this.projectId===p},t}(s.WebSocketProvider);r.InfuraWebSocketProvider=f;var h=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.getWebSocketProvider=function(e,t){return new f(e,t)},t.getApiKey=function(e){var t={apiKey:p,projectId:p,projectSecret:null};return null==e||("string"==typeof e?t.projectId=e:null!=e.projectSecret?(l.assertArgument("string"==typeof e.projectId,"projectSecret requires a projectId","projectId",e.projectId),l.assertArgument("string"==typeof e.projectSecret,"invalid projectSecret","projectSecret","[REDACTED]"),t.projectId=e.projectId,t.projectSecret=e.projectSecret):e.projectId&&(t.projectId=e.projectId),t.apiKey=t.projectId),t},t.getUrl=function(e,t){var r=null;switch(e?e.name:"unknown"){case"homestead":r="mainnet.infura.io";break;case"goerli":r="goerli.infura.io";break;case"sepolia":r="sepolia.infura.io";break;case"matic":r="polygon-mainnet.infura.io";break;case"maticmum":r="polygon-mumbai.infura.io";break;case"optimism":r="optimism-mainnet.infura.io";break;case"optimism-goerli":r="optimism-goerli.infura.io";break;case"arbitrum":r="arbitrum-mainnet.infura.io";break;case"arbitrum-goerli":r="arbitrum-goerli.infura.io";break;default:l.throwError("unsupported network",c.Logger.errors.INVALID_ARGUMENT,{argument:"network",value:e})}var n={allowGzip:!0,url:"https://"+r+"/v3/"+t.projectId,throttleCallback:function(e,r){return t.projectId===p&&(0,i.showThrottleMessage)(),Promise.resolve(!0)}};return null!=t.projectSecret&&(n.user="",n.password=t.projectSecret),n},t.prototype.isCommunityResource=function(){return this.projectId===p},t}(d.UrlJsonRpcProvider);r.InfuraProvider=h}}},{package:"@ethersproject/providers",file:"node_modules/@ethersproject/providers/lib/infura-provider.js"}],[523,{"./json-rpc-provider":524,"@ethersproject/properties":510,"@ethersproject/web":555},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.JsonRpcBatchProvider=void 0;var a=e("@ethersproject/properties"),s=e("@ethersproject/web"),i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.send=function(e,t){var r=this,n={method:e,params:t,id:this._nextId++,jsonrpc:"2.0"};null==this._pendingBatch&&(this._pendingBatch=[]);var o={request:n,resolve:null,reject:null},i=new Promise((function(e,t){o.resolve=e,o.reject=t}));return this._pendingBatch.push(o),this._pendingBatchAggregator||(this._pendingBatchAggregator=setTimeout((function(){var e=r._pendingBatch;r._pendingBatch=null,r._pendingBatchAggregator=null;var t=e.map((function(e){return e.request}));return r.emit("debug",{action:"requestBatch",request:(0,a.deepCopy)(t),provider:r}),(0,s.fetchJson)(r.connection,JSON.stringify(t)).then((function(n){r.emit("debug",{action:"response",request:t,response:n,provider:r}),e.forEach((function(e,t){var r=n[t];if(r.error){var o=new Error(r.error.message);o.code=r.error.code,o.data=r.error.data,e.reject(o)}else e.resolve(r.result)}))}),(function(n){r.emit("debug",{action:"response",error:n,request:t,provider:r}),e.forEach((function(e){e.reject(n)}))}))}),10)),i},t}(e("./json-rpc-provider").JsonRpcProvider);r.JsonRpcBatchProvider=i}}},{package:"@ethersproject/providers",file:"node_modules/@ethersproject/providers/lib/json-rpc-batch-provider.js"}],[524,{"./_version":511,"./base-provider":514,"@ethersproject/abstract-signer":465,"@ethersproject/bignumber":474,"@ethersproject/bytes":476,"@ethersproject/hash":489,"@ethersproject/logger":504,"@ethersproject/properties":510,"@ethersproject/strings":547,"@ethersproject/transactions":550,"@ethersproject/web":555},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),a=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,a){function s(e){try{c(n.next(e))}catch(e){a(e)}}function i(e){try{c(n.throw(e))}catch(e){a(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,i)}c((n=n.apply(e,t||[])).next())}))},s=this&&this.__generator||function(e,t){var r,n,o,a,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:i(0),throw:i(1),return:i(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function i(a){return function(i){return function(a){if(r)throw new TypeError("Generator is already executing.");for(;s;)try{if(r=1,n&&(o=2&a[0]?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,n=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!(o=s.trys,(o=o.length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]=0&&a.match(/gas required exceeds allowance|always failing transaction|execution reverted|revert/)&&v.throwError("cannot estimate gas; transaction may fail or may require manual gas limit",m.Logger.errors.UNPREDICTABLE_GAS_LIMIT,{error:t,method:e,transaction:n}),t}function w(e){return new Promise((function(t){setTimeout(t,e)}))}function E(e){if(e.error){var t=new Error(e.error.message);throw t.code=e.error.code,t.data=e.error.data,t}return e.result}function S(e){return e?e.toLowerCase():e}var A={},k=function(e){function t(t,r,n){var o=e.call(this)||this;if(t!==A)throw new Error("do not call the JsonRpcSigner constructor directly; use provider.getSigner");return(0,d.defineReadOnly)(o,"provider",r),null==n&&(n=0),"string"==typeof n?((0,d.defineReadOnly)(o,"_address",o.provider.formatter.address(n)),(0,d.defineReadOnly)(o,"_index",null)):"number"==typeof n?((0,d.defineReadOnly)(o,"_index",n),(0,d.defineReadOnly)(o,"_address",null)):v.throwArgumentError("invalid address or index","addressOrIndex",n),o}return o(t,e),t.prototype.connect=function(e){return v.throwError("cannot alter JSON-RPC Signer connection",m.Logger.errors.UNSUPPORTED_OPERATION,{operation:"connect"})},t.prototype.connectUnchecked=function(){return new O(A,this.provider,this._address||this._index)},t.prototype.getAddress=function(){var e=this;return this._address?Promise.resolve(this._address):this.provider.send("eth_accounts",[]).then((function(t){return t.length<=e._index&&v.throwError("unknown account #"+e._index,m.Logger.errors.UNSUPPORTED_OPERATION,{operation:"getAddress"}),e.provider.formatter.address(t[e._index])}))},t.prototype.sendUncheckedTransaction=function(e){var t=this;e=(0,d.shallowCopy)(e);var r=this.getAddress().then((function(e){return e&&(e=e.toLowerCase()),e}));if(null==e.gasLimit){var n=(0,d.shallowCopy)(e);n.from=r,e.gasLimit=this.provider.estimateGas(n)}return null!=e.to&&(e.to=Promise.resolve(e.to).then((function(e){return a(t,void 0,void 0,(function(){var t;return s(this,(function(r){switch(r.label){case 0:return null==e?[2,null]:[4,this.provider.resolveName(e)];case 1:return null==(t=r.sent())&&v.throwArgumentError("provided ENS name resolves to null","tx.to",e),[2,t]}}))}))}))),(0,d.resolveProperties)({tx:(0,d.resolveProperties)(e),sender:r}).then((function(r){var n=r.tx,o=r.sender;null!=n.from?n.from.toLowerCase()!==o&&v.throwArgumentError("from address mismatch","transaction",e):n.from=o;var a=t.provider.constructor.hexlifyTransaction(n,{from:!0});return t.provider.send("eth_sendTransaction",[a]).then((function(e){return e}),(function(e){return"string"==typeof e.message&&e.message.match(/user denied/i)&&v.throwError("user rejected transaction",m.Logger.errors.ACTION_REJECTED,{action:"sendTransaction",transaction:n}),_("sendTransaction",e,a)}))}))},t.prototype.signTransaction=function(e){return v.throwError("signing transactions is unsupported",m.Logger.errors.UNSUPPORTED_OPERATION,{operation:"signTransaction"})},t.prototype.sendTransaction=function(e){return a(this,void 0,void 0,(function(){var t,r,n,o=this;return s(this,(function(i){switch(i.label){case 0:return[4,this.provider._getInternalBlockNumber(100+2*this.provider.pollingInterval)];case 1:return t=i.sent(),[4,this.sendUncheckedTransaction(e)];case 2:r=i.sent(),i.label=3;case 3:return i.trys.push([3,5,,6]),[4,(0,h.poll)((function(){return a(o,void 0,void 0,(function(){var e;return s(this,(function(n){switch(n.label){case 0:return[4,this.provider.getTransaction(r)];case 1:return null===(e=n.sent())?[2,undefined]:[2,this.provider._wrapTransaction(e,r,t)]}}))}))}),{oncePoll:this.provider})];case 4:return[2,i.sent()];case 5:throw(n=i.sent()).transactionHash=r,n;case 6:return[2]}}))}))},t.prototype.signMessage=function(e){return a(this,void 0,void 0,(function(){var t,r,n;return s(this,(function(o){switch(o.label){case 0:return t="string"==typeof e?(0,p.toUtf8Bytes)(e):e,[4,this.getAddress()];case 1:r=o.sent(),o.label=2;case 2:return o.trys.push([2,4,,5]),[4,this.provider.send("personal_sign",[(0,u.hexlify)(t),r.toLowerCase()])];case 3:return[2,o.sent()];case 4:throw"string"==typeof(n=o.sent()).message&&n.message.match(/user denied/i)&&v.throwError("user rejected signing",m.Logger.errors.ACTION_REJECTED,{action:"signMessage",from:r,messageData:e}),n;case 5:return[2]}}))}))},t.prototype._legacySignMessage=function(e){return a(this,void 0,void 0,(function(){var t,r,n;return s(this,(function(o){switch(o.label){case 0:return t="string"==typeof e?(0,p.toUtf8Bytes)(e):e,[4,this.getAddress()];case 1:r=o.sent(),o.label=2;case 2:return o.trys.push([2,4,,5]),[4,this.provider.send("eth_sign",[r.toLowerCase(),(0,u.hexlify)(t)])];case 3:return[2,o.sent()];case 4:throw"string"==typeof(n=o.sent()).message&&n.message.match(/user denied/i)&&v.throwError("user rejected signing",m.Logger.errors.ACTION_REJECTED,{action:"_legacySignMessage",from:r,messageData:e}),n;case 5:return[2]}}))}))},t.prototype._signTypedData=function(e,t,r){return a(this,void 0,void 0,(function(){var n,o,a,i=this;return s(this,(function(s){switch(s.label){case 0:return[4,l._TypedDataEncoder.resolveNames(e,t,r,(function(e){return i.provider.resolveName(e)}))];case 1:return n=s.sent(),[4,this.getAddress()];case 2:o=s.sent(),s.label=3;case 3:return s.trys.push([3,5,,6]),[4,this.provider.send("eth_signTypedData_v4",[o.toLowerCase(),JSON.stringify(l._TypedDataEncoder.getPayload(n.domain,t,n.value))])];case 4:return[2,s.sent()];case 5:throw"string"==typeof(a=s.sent()).message&&a.message.match(/user denied/i)&&v.throwError("user rejected signing",m.Logger.errors.ACTION_REJECTED,{action:"_signTypedData",from:o,messageData:{domain:n.domain,types:t,value:n.value}}),a;case 6:return[2]}}))}))},t.prototype.unlock=function(e){return a(this,void 0,void 0,(function(){var t,r;return s(this,(function(n){switch(n.label){case 0:return t=this.provider,[4,this.getAddress()];case 1:return r=n.sent(),[2,t.send("personal_unlockAccount",[r.toLowerCase(),e,null])]}}))}))},t}(i.Signer);r.JsonRpcSigner=k;var O=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.sendTransaction=function(e){var t=this;return this.sendUncheckedTransaction(e).then((function(e){return{hash:e,nonce:null,gasLimit:null,gasPrice:null,data:null,value:null,chainId:null,confirmations:0,from:null,wait:function(r){return t.provider.waitForTransaction(e,r)}}}))},t}(k),P={chainId:!0,data:!0,gasLimit:!0,gasPrice:!0,nonce:!0,to:!0,value:!0,type:!0,accessList:!0,maxFeePerGas:!0,maxPriorityFeePerGas:!0},N=function(e){function t(t,r){var n=this,o=r;return null==o&&(o=new Promise((function(e,t){setTimeout((function(){n.detectNetwork().then((function(t){e(t)}),(function(e){t(e)}))}),0)}))),n=e.call(this,o)||this,t||(t=(0,d.getStatic)(n.constructor,"defaultUrl")()),"string"==typeof t?(0,d.defineReadOnly)(n,"connection",Object.freeze({url:t})):(0,d.defineReadOnly)(n,"connection",Object.freeze((0,d.shallowCopy)(t))),n._nextId=42,n}return o(t,e),Object.defineProperty(t.prototype,"_cache",{get:function(){return null==this._eventLoopCache&&(this._eventLoopCache={}),this._eventLoopCache},enumerable:!1,configurable:!0}),t.defaultUrl=function(){return"http://localhost:8545"},t.prototype.detectNetwork=function(){var e=this;return this._cache.detectNetwork||(this._cache.detectNetwork=this._uncachedDetectNetwork(),setTimeout((function(){e._cache.detectNetwork=null}),0)),this._cache.detectNetwork},t.prototype._uncachedDetectNetwork=function(){return a(this,void 0,void 0,(function(){var e,t;return s(this,(function(r){switch(r.label){case 0:return[4,w(0)];case 1:r.sent(),e=null,r.label=2;case 2:return r.trys.push([2,4,,9]),[4,this.send("eth_chainId",[])];case 3:return e=r.sent(),[3,9];case 4:r.sent(),r.label=5;case 5:return r.trys.push([5,7,,8]),[4,this.send("net_version",[])];case 6:return e=r.sent(),[3,8];case 7:return r.sent(),[3,8];case 8:return[3,9];case 9:if(null!=e){t=(0,d.getStatic)(this.constructor,"getNetwork");try{return[2,t(c.BigNumber.from(e).toNumber())]}catch(t){return[2,v.throwError("could not detect network",m.Logger.errors.NETWORK_ERROR,{chainId:e,event:"invalidNetwork",serverError:t})]}}return[2,v.throwError("could not detect network",m.Logger.errors.NETWORK_ERROR,{event:"noNetwork"})]}}))}))},t.prototype.getSigner=function(e){return new k(A,this,e)},t.prototype.getUncheckedSigner=function(e){return this.getSigner(e).connectUnchecked()},t.prototype.listAccounts=function(){var e=this;return this.send("eth_accounts",[]).then((function(t){return t.map((function(t){return e.formatter.address(t)}))}))},t.prototype.send=function(e,t){var r=this,n={method:e,params:t,id:this._nextId++,jsonrpc:"2.0"};this.emit("debug",{action:"request",request:(0,d.deepCopy)(n),provider:this});var o=["eth_chainId","eth_blockNumber"].indexOf(e)>=0;if(o&&this._cache[e])return this._cache[e];var a=(0,h.fetchJson)(this.connection,JSON.stringify(n),E).then((function(e){return r.emit("debug",{action:"response",request:n,response:e,provider:r}),e}),(function(e){throw r.emit("debug",{action:"response",error:e,request:n,provider:r}),e}));return o&&(this._cache[e]=a,setTimeout((function(){r._cache[e]=null}),0)),a},t.prototype.prepareRequest=function(e,t){switch(e){case"getBlockNumber":return["eth_blockNumber",[]];case"getGasPrice":return["eth_gasPrice",[]];case"getBalance":return["eth_getBalance",[S(t.address),t.blockTag]];case"getTransactionCount":return["eth_getTransactionCount",[S(t.address),t.blockTag]];case"getCode":return["eth_getCode",[S(t.address),t.blockTag]];case"getStorageAt":return["eth_getStorageAt",[S(t.address),(0,u.hexZeroPad)(t.position,32),t.blockTag]];case"sendTransaction":return["eth_sendRawTransaction",[t.signedTransaction]];case"getBlock":return t.blockTag?["eth_getBlockByNumber",[t.blockTag,!!t.includeTransactions]]:t.blockHash?["eth_getBlockByHash",[t.blockHash,!!t.includeTransactions]]:null;case"getTransaction":return["eth_getTransactionByHash",[t.transactionHash]];case"getTransactionReceipt":return["eth_getTransactionReceipt",[t.transactionHash]];case"call":return["eth_call",[(0,d.getStatic)(this.constructor,"hexlifyTransaction")(t.transaction,{from:!0}),t.blockTag]];case"estimateGas":return["eth_estimateGas",[(0,d.getStatic)(this.constructor,"hexlifyTransaction")(t.transaction,{from:!0})]];case"getLogs":return t.filter&&null!=t.filter.address&&(t.filter.address=S(t.filter.address)),["eth_getLogs",[t.filter]]}return null},t.prototype.perform=function(e,t){return a(this,void 0,void 0,(function(){var r,n,o,a;return s(this,(function(s){switch(s.label){case 0:return"call"!==e&&"estimateGas"!==e?[3,2]:(r=t.transaction)&&null!=r.type&&c.BigNumber.from(r.type).isZero()?null!=r.maxFeePerGas||null!=r.maxPriorityFeePerGas?[3,2]:[4,this.getFeeData()]:[3,2];case 1:null==(n=s.sent()).maxFeePerGas&&null==n.maxPriorityFeePerGas&&((t=(0,d.shallowCopy)(t)).transaction=(0,d.shallowCopy)(r),delete t.transaction.type),s.label=2;case 2:null==(o=this.prepareRequest(e,t))&&v.throwError(e+" not implemented",m.Logger.errors.NOT_IMPLEMENTED,{operation:e}),s.label=3;case 3:return s.trys.push([3,5,,6]),[4,this.send(o[0],o[1])];case 4:return[2,s.sent()];case 5:return a=s.sent(),[2,_(e,a,t)];case 6:return[2]}}))}))},t.prototype._startEvent=function(t){"pending"===t.tag&&this._startPending(),e.prototype._startEvent.call(this,t)},t.prototype._startPending=function(){if(null==this._pendingFilter){var e=this,t=this.send("eth_newPendingTransactionFilter",[]);this._pendingFilter=t,t.then((function(r){return function n(){e.send("eth_getFilterChanges",[r]).then((function(r){if(e._pendingFilter!=t)return null;var n=Promise.resolve();return r.forEach((function(t){e._emitted["t:"+t.toLowerCase()]="pending",n=n.then((function(){return e.getTransaction(t).then((function(t){return e.emit("pending",t),null}))}))})),n.then((function(){return w(1e3)}))})).then((function(){if(e._pendingFilter==t)return setTimeout((function(){n()}),0),null;e.send("eth_uninstallFilter",[r])})).catch((function(e){}))}(),r})).catch((function(e){}))}},t.prototype._stopEvent=function(t){"pending"===t.tag&&0===this.listenerCount("pending")&&(this._pendingFilter=null),e.prototype._stopEvent.call(this,t)},t.hexlifyTransaction=function(e,t){var r=(0,d.shallowCopy)(P);if(t)for(var n in t)t[n]&&(r[n]=!0);(0,d.checkProperties)(e,r);var o={};return["chainId","gasLimit","gasPrice","type","maxFeePerGas","maxPriorityFeePerGas","nonce","value"].forEach((function(t){if(null!=e[t]){var r=(0,u.hexValue)(c.BigNumber.from(e[t]));"gasLimit"===t&&(t="gas"),o[t]=r}})),["from","to","data"].forEach((function(t){null!=e[t]&&(o[t]=(0,u.hexlify)(e[t]))})),e.accessList&&(o.accessList=(0,f.accessListify)(e.accessList)),o},t}(y.BaseProvider);r.JsonRpcProvider=N}}},{package:"@ethersproject/providers",file:"node_modules/@ethersproject/providers/lib/json-rpc-provider.js"}],[5243,{blo:2979,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=s(e("react")),o=s(e("prop-types")),a=e("blo");function s(e){return e&&e.__esModule?e:{default:e}}const i=({address:e,diameter:t,alt:r="",borderRadius:o})=>n.default.createElement("img",{src:(0,a.blo)(e),height:t,width:t,style:{borderRadius:o},alt:r});i.propTypes={address:o.default.string.isRequired,diameter:o.default.number.isRequired,alt:o.default.string,borderRadius:o.default.string};r.default=i}}},{package:"$root$",file:"ui/components/ui/identicon/blockieIdenticon/blockieIdenticon.component.js"}],[525,{"./_version":511,"./url-json-rpc-provider":527,"@ethersproject/logger":504},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.NodesmithProvider=void 0;var a=e("./url-json-rpc-provider"),s=e("@ethersproject/logger"),i=e("./_version"),c=new s.Logger(i.version),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.getApiKey=function(e){return e&&"string"!=typeof e&&c.throwArgumentError("invalid apiKey","apiKey",e),e||"ETHERS_JS_SHARED"},t.getUrl=function(e,t){c.warn("NodeSmith will be discontinued on 2019-12-20; please migrate to another platform.");var r=null;switch(e.name){case"homestead":r="https://ethereum.api.nodesmith.io/v1/mainnet/jsonrpc";break;case"ropsten":r="https://ethereum.api.nodesmith.io/v1/ropsten/jsonrpc";break;case"rinkeby":r="https://ethereum.api.nodesmith.io/v1/rinkeby/jsonrpc";break;case"goerli":r="https://ethereum.api.nodesmith.io/v1/goerli/jsonrpc";break;case"kovan":r="https://ethereum.api.nodesmith.io/v1/kovan/jsonrpc";break;default:c.throwArgumentError("unsupported network","network",arguments[0])}return r+"?apiKey="+t},t}(a.UrlJsonRpcProvider);r.NodesmithProvider=u}}},{package:"@ethersproject/providers",file:"node_modules/@ethersproject/providers/lib/nodesmith-provider.js"}],[5252,{"../../../helpers/utils/icon-factory":5387,"@metamask/jazzicon":1395,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=i(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=e[a]}return n.default=e,r&&r.set(e,n),n}(e("react")),o=s(e("prop-types")),a=s(e("@metamask/jazzicon"));function s(e){return e&&e.__esModule?e:{default:e}}function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(i=function(e){return e?r:t})(e)}const c=(0,s(e("../../../helpers/utils/icon-factory")).default)(a.default);function u({address:e,className:t,diameter:r=46,style:o,tokenList:a={}}){const s=(0,n.useRef)();return(0,n.useEffect)((()=>{const t=s.current,n=c.iconForAddress(e,r,a[null==e?void 0:e.toLowerCase()]);return null==t||t.appendChild(n),()=>{for(;t.firstChild;)t.firstChild.remove()}}),[e,r,a]),n.default.createElement("div",{ref:s,className:t,style:o})}u.propTypes={address:o.default.string.isRequired,className:o.default.string,diameter:o.default.number,style:o.default.object,tokenList:o.default.object};r.default=u}}},{package:"$root$",file:"ui/components/ui/jazzicon/jazzicon.component.js"}],[526,{"./_version":511,"./url-json-rpc-provider":527,"@ethersproject/logger":504},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.PocketProvider=void 0;var a=e("@ethersproject/logger"),s=e("./_version"),i=new a.Logger(s.version),c=e("./url-json-rpc-provider"),u="62e1ad51b37b8e00394bda3b",l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.getApiKey=function(e){var t={applicationId:null,loadBalancer:!0,applicationSecretKey:null};return null==e?t.applicationId=u:"string"==typeof e?t.applicationId=e:null!=e.applicationSecretKey?(t.applicationId=e.applicationId,t.applicationSecretKey=e.applicationSecretKey):e.applicationId?t.applicationId=e.applicationId:i.throwArgumentError("unsupported PocketProvider apiKey","apiKey",e),t},t.getUrl=function(e,t){var r=null;switch(e?e.name:"unknown"){case"goerli":r="eth-goerli.gateway.pokt.network";break;case"homestead":r="eth-mainnet.gateway.pokt.network";break;case"kovan":r="poa-kovan.gateway.pokt.network";break;case"matic":r="poly-mainnet.gateway.pokt.network";break;case"maticmum":r="polygon-mumbai-rpc.gateway.pokt.network";break;case"rinkeby":r="eth-rinkeby.gateway.pokt.network";break;case"ropsten":r="eth-ropsten.gateway.pokt.network";break;default:i.throwError("unsupported network",a.Logger.errors.INVALID_ARGUMENT,{argument:"network",value:e})}var n={headers:{},url:"https://"+r+"/v1/lb/"+t.applicationId};return null!=t.applicationSecretKey&&(n.user="",n.password=t.applicationSecretKey),n},t.prototype.isCommunityResource=function(){return this.applicationId===u},t}(c.UrlJsonRpcProvider);r.PocketProvider=l}}},{package:"@ethersproject/providers",file:"node_modules/@ethersproject/providers/lib/pocket-provider.js"}],[527,{"./_version":511,"./json-rpc-provider":524,"@ethersproject/logger":504,"@ethersproject/properties":510},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),a=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,a){function s(e){try{c(n.next(e))}catch(e){a(e)}}function i(e){try{c(n.throw(e))}catch(e){a(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,i)}c((n=n.apply(e,t||[])).next())}))},s=this&&this.__generator||function(e,t){var r,n,o,a,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:i(0),throw:i(1),return:i(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function i(a){return function(i){return function(a){if(r)throw new TypeError("Generator is already executing.");for(;s;)try{if(r=1,n&&(o=2&a[0]?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,n=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!(o=s.trys,(o=o.length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]0&&o[o.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]>25;return(33554431&e)<<5^996825010&-(1&t)^642813549&-(t>>1&1)^513874426&-(t>>2&1)^1027748829&-(t>>3&1)^705979059&-(t>>4&1)}function c(e){for(var t=1,r=0;r126)return"Invalid prefix ("+e+")";t=i(t)^n>>5}for(t=i(t),r=0;rt)return"Exceeds length limit";var r=e.toLowerCase(),n=e.toUpperCase();if(e!==r&&e!==n)return"Mixed-case string "+e;var a=(e=r).lastIndexOf("1");if(-1===a)return"No separator character for "+e;if(0===a)return"Missing prefix for "+e;var s=e.slice(0,a),u=e.slice(a+1);if(u.length<6)return"Data too short";var l=c(s);if("string"==typeof l)return l;for(var d=[],p=0;p=u.length||d.push(h)}return 1!==l?"Invalid checksum for "+e:{prefix:s,words:d}}function l(e,t,r,n){for(var o=0,a=0,s=(1<=r;)a-=r,i.push(o>>a&s);if(n)a>0&&i.push(o<=t)return"Excess padding";if(o<r)throw new TypeError("Exceeds length limit");var o=c(e=e.toLowerCase());if("string"==typeof o)throw new Error(o);for(var a=e+"1",s=0;s>5)throw new Error("Non 5-bit word");o=i(o)^u,a+=n.charAt(u)}for(s=0;s<6;++s)o=i(o);for(o^=1,s=0;s<6;++s){a+=n.charAt(o>>5*(5-s)&31)}return a},toWordsUnsafe:function(e){var t=l(e,8,5,!0);if(Array.isArray(t))return t},toWords:function(e){var t=l(e,8,5,!0);if(Array.isArray(t))return t;throw new Error(t)},fromWordsUnsafe:function(e){var t=l(e,5,8,!1);if(Array.isArray(t))return t},fromWords:function(e){var t=l(e,5,8,!1);if(Array.isArray(t))return t;throw new Error(t)}}}}},{package:"@ethersproject/providers>bech32",file:"node_modules/@ethersproject/providers/node_modules/bech32/index.js"}],[531,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.version=void 0,r.version="random/5.7.0"}}},{package:"@ethersproject/wallet>@ethersproject/random",file:"node_modules/@ethersproject/random/lib/_version.js"}],[532,{"./_version":531,"@ethersproject/bytes":476,"@ethersproject/logger":504},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.randomBytes=void 0;var n=e("@ethersproject/bytes"),o=e("@ethersproject/logger"),a=e("./_version"),s=new o.Logger(a.version);var i=function(){if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if("undefined"!=typeof global)return global;throw new Error("unable to locate global object")}(),c=i.crypto||i.msCrypto;c&&c.getRandomValues||(s.warn("WARNING: Missing strong random number source"),c={getRandomValues:function(e){return s.throwError("no secure random source avaialble",o.Logger.errors.UNSUPPORTED_OPERATION,{operation:"crypto.getRandomValues"})}}),r.randomBytes=function(e){(e<=0||e>1024||e%1||e!=e)&&s.throwArgumentError("invalid length","length",e);var t=new Uint8Array(e);return c.getRandomValues(t),(0,n.arrayify)(t)}}}},{package:"@ethersproject/wallet>@ethersproject/random",file:"node_modules/@ethersproject/random/lib/browser-random.js"}],[5324,{"../ducks/locale/locale":5345,"../helpers/utils/i18n-helper":5386,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.LegacyI18nProvider=r.I18nProvider=r.I18nContext=void 0;var n,o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=u(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=e[a]}return n.default=e,r&&r.set(e,n),n}(e("react")),a=(n=e("prop-types"))&&n.__esModule?n:{default:n},s=e("react-redux"),i=e("../ducks/locale/locale"),c=e("../helpers/utils/i18n-helper");function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(u=function(e){return e?r:t})(e)}function l(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(r!==undefined){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const d=r.I18nContext=(0,o.createContext)((e=>`[${e}]`)),p=e=>{const t=(0,s.useSelector)(i.getCurrentLocale),r=(0,s.useSelector)(i.getCurrentLocaleMessages),n=(0,s.useSelector)(i.getEnLocaleMessages),a=(0,o.useMemo)((()=>(e,...o)=>(0,c.getMessage)(t,r,e,...o)||(0,c.getMessage)(t,n,e,...o)),[t,r,n]);return o.default.createElement(d.Provider,{value:a},e.children)};r.I18nProvider=p,p.propTypes={children:a.default.node},p.defaultProps={children:undefined};class f extends o.Component{getChildContext(){return{t:this.context}}render(){return this.props.children}}r.LegacyI18nProvider=f,l(f,"propTypes",{children:a.default.node}),l(f,"defaultProps",{children:undefined}),l(f,"contextType",d),l(f,"childContextTypes",{t:a.default.func})}}},{package:"$root$",file:"ui/contexts/i18n.js"}],[533,{"./random":532,"./shuffle":534},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.shuffled=r.randomBytes=void 0;var n=e("./random");Object.defineProperty(r,"randomBytes",{enumerable:!0,get:function(){return n.randomBytes}});var o=e("./shuffle");Object.defineProperty(r,"shuffled",{enumerable:!0,get:function(){return o.shuffled}})}}},{package:"@ethersproject/wallet>@ethersproject/random",file:"node_modules/@ethersproject/random/lib/index.js"}],[5332,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.ALERT_STATE=void 0;r.ALERT_STATE={CLOSED:"CLOSED",ERROR:"ERROR",LOADING:"LOADING",OPEN:"OPEN"}}}},{package:"$root$",file:"ui/ducks/alerts/enums.js"}],[5335,{"../../../shared/constants/alerts":4492,"../../selectors":5987,"../../store/actionConstants":5997,"../../store/actions":5998,"./enums":5332,"@reduxjs/toolkit":2354,"@sentry/browser":2409},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.switchedToUnconnectedAccount=r.switchToAccount=r.getAlertState=r.dismissAndDisableAlert=r.dismissAlert=r.default=r.connectAccount=r.alertIsOpen=void 0;var n=e("@reduxjs/toolkit"),o=e("@sentry/browser"),a=e("../../../shared/constants/alerts"),s=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=l(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=e[a]}return n.default=e,r&&r.set(e,n),n}(e("../../store/actionConstants")),i=e("../../store/actions"),c=e("../../selectors"),u=e("./enums");function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(l=function(e){return e?r:t})(e)}const d=a.AlertTypes.unconnectedAccount,p={state:u.ALERT_STATE.CLOSED},f=(0,n.createSlice)({name:d,initialState:p,reducers:{connectAccountFailed:e=>{e.state=u.ALERT_STATE.ERROR},connectAccountRequested:e=>{e.state=u.ALERT_STATE.LOADING},connectAccountSucceeded:e=>{e.state=u.ALERT_STATE.CLOSED},disableAlertFailed:e=>{e.state=u.ALERT_STATE.ERROR},disableAlertRequested:e=>{e.state=u.ALERT_STATE.LOADING},disableAlertSucceeded:e=>{e.state=u.ALERT_STATE.CLOSED},dismissAlert:e=>{e.state=u.ALERT_STATE.CLOSED},switchAccountFailed:e=>{e.state=u.ALERT_STATE.ERROR},switchAccountRequested:e=>{e.state=u.ALERT_STATE.LOADING},switchAccountSucceeded:e=>{e.state=u.ALERT_STATE.CLOSED},switchedToUnconnectedAccount:e=>{e.state=u.ALERT_STATE.OPEN}},extraReducers:{[s.SELECTED_ADDRESS_CHANGED]:e=>{e.state===u.ALERT_STATE.OPEN&&(e.state=u.ALERT_STATE.CLOSED)}}}),{actions:h,reducer:m}=f;r.default=m;r.getAlertState=e=>e[d].state;r.alertIsOpen=e=>e[d].state!==u.ALERT_STATE.CLOSED;const{connectAccountFailed:g,connectAccountRequested:v,connectAccountSucceeded:y,disableAlertFailed:T,disableAlertRequested:b,disableAlertSucceeded:_,dismissAlert:w,switchAccountFailed:E,switchAccountRequested:S,switchAccountSucceeded:A,switchedToUnconnectedAccount:k}=h;r.switchedToUnconnectedAccount=k,r.dismissAlert=w;r.dismissAndDisableAlert=()=>async e=>{try{await e(b()),await(0,i.setAlertEnabledness)(d,!1),await e(_())}catch(t){console.error(t),(0,o.captureException)(t),await e(T())}};r.switchToAccount=e=>async(t,r)=>{const n=r();try{await t(S()),await t((0,i.setSelectedInternalAccount)(e));const r=(0,c.getInternalAccount)(n,e);await t((0,i.setSelectedAccount)(r.address)),await t(A())}catch(e){console.error(e),(0,o.captureException)(e),await t(E())}};r.connectAccount=()=>async(e,t)=>{const r=t(),{address:n}=(0,c.getSelectedInternalAccount)(r),a=(0,c.getOriginOfCurrentTab)(r);try{await e(v()),await e((0,i.addPermittedAccount)(a,n)),await e(y())}catch(t){console.error(t),(0,o.captureException)(t),await e(g())}}}}},{package:"$root$",file:"ui/ducks/alerts/unconnected-account.js"}],[5336,{"../../../shared/constants/hardware-wallets":4501,"../../store/actionConstants":5997},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,t){const r={...s,...e};switch(t.type){case o.NETWORK_DROPDOWN_OPEN:return{...r,networkDropdownOpen:!0};case o.NETWORK_DROPDOWN_CLOSE:return{...r,networkDropdownOpen:!1};case o.IMPORT_NFTS_MODAL_OPEN:return{...r,importNftsModal:{open:!0,...t.payload}};case o.IMPORT_NFTS_MODAL_CLOSE:return{...r,importNftsModal:{open:!1}};case o.SHOW_BASIC_FUNCTIONALITY_MODAL_OPEN:return{...r,showBasicFunctionalityModal:!0};case o.SHOW_BASIC_FUNCTIONALITY_MODAL_CLOSE:return{...r,showBasicFunctionalityModal:!1};case o.ONBOARDING_TOGGLE_BASIC_FUNCTIONALITY_ON:return{...r,externalServicesOnboardingToggleState:!0};case o.ONBOARDING_TOGGLE_BASIC_FUNCTIONALITY_OFF:return{...r,externalServicesOnboardingToggleState:!1};case o.SHOW_IPFS_MODAL_OPEN:return{...r,showIpfsModalOpen:!0};case o.SHOW_IPFS_MODAL_CLOSE:return{...r,showIpfsModalOpen:!1};case o.IMPORT_TOKENS_POPOVER_OPEN:return{...r,importTokensModalOpen:!0};case o.IMPORT_TOKENS_POPOVER_CLOSE:return{...r,importTokensModalOpen:!1};case o.DEPRECATED_NETWORK_POPOVER_OPEN:return{...r,deprecatedNetworkModalOpen:!0};case o.DEPRECATED_NETWORK_POPOVER_CLOSE:return{...r,deprecatedNetworkModalOpen:!1};case o.ALERT_OPEN:return{...r,alertOpen:!0,alertMessage:t.payload};case o.ALERT_CLOSE:return{...r,alertOpen:!1,alertMessage:null};case o.SET_ACCOUNT_DETAILS_ADDRESS:return{...r,accountDetailsAddress:t.payload};case o.QR_CODE_DETECTED:return{...r,qrCodeData:t.value};case o.SET_SMART_TRANSACTIONS_ERROR:return{...r,smartTransactionsError:t.payload};case o.DISMISS_SMART_TRANSACTIONS_ERROR_MESSAGE:return{...r,smartTransactionsErrorMessageDismissed:!0};case o.MODAL_OPEN:{const{name:e,...n}=t.payload;return{...r,modal:{open:!0,modalState:{name:e,props:{...n}},previousModalState:{...r.modal.modalState}}}}case o.MODAL_CLOSE:return{...r,modal:{...r.modal,open:!1,modalState:{name:null,props:{}},previousModalState:{...r.modal.modalState}}};case o.CLEAR_ACCOUNT_DETAILS:return{...r,accountDetail:{privateKey:""}};case o.SHOW_SEND_TOKEN_PAGE:case o.LOCK_METAMASK:return{...r,warning:null};case o.GO_HOME:return{...r,accountDetail:{privateKey:""},warning:null};case o.SHOW_ACCOUNTS_PAGE:return{...r,isLoading:!1,warning:null,scrollToBottom:!1};case o.SHOW_CONF_TX_PAGE:return{...r,txId:t.id,warning:null,isLoading:!1};case o.COMPLETED_TX:return{...r,warning:null,txId:null};case o.UNLOCK_FAILED:return{...r,warning:t.value||"Incorrect password. Try again."};case o.UNLOCK_SUCCEEDED:return{...r,warning:""};case o.SET_HARDWARE_WALLET_DEFAULT_HD_PATH:{const{device:e,path:n}=t.payload,o={...r.defaultHdPaths};return o[e]=n,{...r,defaultHdPaths:o}}case o.SHOW_LOADING:return{...r,isLoading:!0,loadingMessage:t.payload};case o.HIDE_LOADING:return{...r,isLoading:!1};case o.DISPLAY_WARNING:return{...r,warning:t.payload,isLoading:!1};case o.HIDE_WARNING:return{...r,warning:undefined};case o.SHOW_PRIVATE_KEY:return{...r,accountDetail:{privateKey:t.payload}};case o.SET_SELECTED_NETWORK_CONFIGURATION_ID:return{...r,selectedNetworkConfigurationId:t.payload};case o.SET_NEW_NETWORK_ADDED:{const{networkConfigurationId:e,nickname:n}=t.payload;return{...r,newNetworkAddedName:n,newNetworkAddedConfigurationId:e}}case o.SET_NEW_TOKENS_IMPORTED:return{...r,newTokensImported:t.payload};case o.SET_NEW_TOKENS_IMPORTED_ERROR:return{...r,newTokensImportedError:t.payload};case o.SET_NEW_NFT_ADDED_MESSAGE:return{...r,newNftAddedMessage:t.payload};case o.SET_REMOVE_NFT_MESSAGE:return{...r,removeNftMessage:t.payload};case o.SET_REQUEST_ACCOUNT_TABS:return{...r,requestAccountTabs:t.value};case o.SET_OPEN_METAMASK_TAB_IDS:return{...r,openMetaMaskTabs:t.payload};case o.HIDE_WHATS_NEW_POPUP:return{...r,showWhatsNewPopup:!1};case o.CAPTURE_SINGLE_EXCEPTION:return{...r,singleExceptions:{...r.singleExceptions,[t.value]:null}};case o.TOGGLE_GAS_LOADING_ANIMATION:return{...r,gasLoadingAnimationIsShowing:t.payload};case o.SET_WEBHID_CONNECTED_STATUS:return{...r,ledgerWebHidConnectedStatus:t.payload};case o.SET_LEDGER_TRANSPORT_STATUS:return{...r,ledgerTransportStatus:t.payload};case o.TOGGLE_CURRENCY_INPUT_SWITCH:return{...r,sendInputCurrencySwitched:!r.sendInputCurrencySwitched};case o.ONBOARDED_IN_THIS_UI_SESSION:return{...r,onboardedInThisUISession:t.payload};case o.SET_CUSTOM_TOKEN_AMOUNT:return{...r,customTokenAmount:t.payload};case o.SHOW_KEYRING_SNAP_REMOVAL_RESULT:return{...r,showKeyringRemovalSnapModal:!0,keyringRemovalSnapModal:{...t.payload}};case o.HIDE_KEYRING_SNAP_REMOVAL_RESULT:return{...r,showKeyringRemovalSnapModal:!1,keyringRemovalSnapModal:{snapName:"",result:"none"}};default:return r}},r.getGasLoadingAnimationIsShowing=function(e){return e.appState.gasLoadingAnimationIsShowing},r.getLedgerTransportStatus=function(e){return e.appState.ledgerTransportStatus},r.getLedgerWebHidConnectedStatus=function(e){return e.appState.ledgerWebHidConnectedStatus},r.getQrCodeData=function(e){return e.appState.qrCodeData},r.hideBasicFunctionalityModal=function(){return{type:o.SHOW_BASIC_FUNCTIONALITY_MODAL_CLOSE}},r.hideWhatsNewPopup=function(){return{type:o.HIDE_WHATS_NEW_POPUP}},r.onboardingToggleBasicFunctionalityOff=function(){return{type:o.ONBOARDING_TOGGLE_BASIC_FUNCTIONALITY_OFF}},r.onboardingToggleBasicFunctionalityOn=function(){return{type:o.ONBOARDING_TOGGLE_BASIC_FUNCTIONALITY_ON}},r.openBasicFunctionalityModal=function(){return{type:o.SHOW_BASIC_FUNCTIONALITY_MODAL_OPEN}},r.setCustomTokenAmount=function(e){return{type:o.SET_CUSTOM_TOKEN_AMOUNT,payload:e}},r.setLedgerTransportStatus=function(e){return{type:o.SET_LEDGER_TRANSPORT_STATUS,payload:e}},r.setLedgerWebHidConnectedStatus=function(e){return{type:o.SET_WEBHID_CONNECTED_STATUS,payload:e}},r.setOnBoardedInThisUISession=function(e){return{type:o.ONBOARDED_IN_THIS_UI_SESSION,payload:e}},r.toggleCurrencySwitch=function(){return{type:o.TOGGLE_CURRENCY_INPUT_SWITCH}},r.toggleGasLoadingAnimation=function(e){return{type:o.TOGGLE_GAS_LOADING_ANIMATION,payload:e}};var n=e("../../../shared/constants/hardware-wallets"),o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=a(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&Object.prototype.hasOwnProperty.call(e,s)){var i=o?Object.getOwnPropertyDescriptor(e,s):null;i&&(i.get||i.set)?Object.defineProperty(n,s,i):n[s]=e[s]}return n.default=e,r&&r.set(e,n),n}(e("../../store/actionConstants"));function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(a=function(e){return e?r:t})(e)}const s={shouldClose:!1,menuOpen:!1,modal:{open:!1,modalState:{name:null,props:{}},previousModalState:{name:null}},alertOpen:!1,alertMessage:null,qrCodeData:null,networkDropdownOpen:!1,importNftsModal:{open:!1},showIpfsModalOpen:!1,showBasicFunctionalityModal:!1,externalServicesOnboardingToggleState:!0,keyringRemovalSnapModal:{snapName:"",result:"none"},showKeyringRemovalSnapModal:!1,importTokensModalOpen:!1,deprecatedNetworkModalOpen:!1,accountDetail:{privateKey:""},isLoading:!1,loadingMessage:null,warning:null,buyView:{},defaultHdPaths:{trezor:"m/44'/60'/0'/0",ledger:"m/44'/60'/0'/0/0",lattice:"m/44'/60'/0'/0"},networksTabSelectedRpcUrl:"",requestAccountTabs:{},openMetaMaskTabs:{},currentWindowTab:{},showWhatsNewPopup:!0,showTermsOfUsePopup:!0,singleExceptions:{testKey:null},gasLoadingAnimationIsShowing:!1,smartTransactionsError:null,smartTransactionsErrorMessageDismissed:!1,ledgerWebHidConnectedStatus:n.WebHIDConnectedStatuses.unknown,ledgerTransportStatus:n.HardwareTransportStates.none,newNftAddedMessage:"",removeNftMessage:"",newNetworkAddedName:"",newNetworkAddedConfigurationId:"",selectedNetworkConfigurationId:"",sendInputCurrencySwitched:!1,newTokensImported:"",newTokensImportedError:"",onboardedInThisUISession:!1,customTokenAmount:"",scrollToBottom:!0,txId:null,accountDetailsAddress:"",snapsInstallPrivacyWarningShown:!1}}}},{package:"$root$",file:"ui/ducks/app/app.ts"}],[5338,{"../../../shared/modules/conversion.utils":4537,"../../../shared/modules/string-utils":4558,"../../../shared/modules/transaction.utils":4560,"../../helpers/utils/confirm-tx.util":5381,"../../selectors":5987,"../../selectors/custom-gas":5985,"../metamask/metamask":5346},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.clearConfirmTransaction=function(){return{type:h}},r.default=function(e=b,t={}){switch(t.type){case d:return{...e,txData:{...t.payload}};case p:return{...e,tokenData:{...t.payload}};case f:return{...e,tokenProps:{...t.payload}};case m:{const{fiatTransactionAmount:r,ethTransactionAmount:n,hexTransactionAmount:o}=t.payload;return{...e,fiatTransactionAmount:r||e.fiatTransactionAmount,ethTransactionAmount:n||e.ethTransactionAmount,hexTransactionAmount:o||e.hexTransactionAmount}}case g:{const{fiatTransactionFee:r,ethTransactionFee:n,hexTransactionFee:o}=t.payload;return{...e,fiatTransactionFee:r||e.fiatTransactionFee,ethTransactionFee:n||e.ethTransactionFee,hexTransactionFee:o||e.hexTransactionFee}}case v:{const{fiatTransactionTotal:r,ethTransactionTotal:n,hexTransactionTotal:o}=t.payload;return{...e,fiatTransactionTotal:r||e.fiatTransactionTotal,ethTransactionTotal:n||e.ethTransactionTotal,hexTransactionTotal:o||e.hexTransactionTotal}}case y:return{...e,nonce:t.payload};case h:return{...b,maxValueMode:e.maxValueMode};case T:return{...e,maxValueMode:{...e.maxValueMode,[t.payload.transactionId]:t.payload.enabled}};default:return e}},r.setMaxValueMode=function(e,t){return{type:T,payload:{transactionId:e,enabled:t}}},r.setTransactionToConfirm=function(e){return(t,r)=>{const a=r(),i=(0,n.unconfirmedTransactionsHashSelector)(a)[e];if(i)if(i.txParams){t(P(i));const{txParams:e}=i;if(e.data){const{to:r,data:n}=e,s=(0,u.parseStandardTokenTransactionData)(n),i=(0,o.getTokens)(a),l=null==i?void 0:i.find((({address:e})=>(0,c.isEqualCaseInsensitive)(r,e)));t(E({decimals:null==l?void 0:l.decimals,symbol:null==l?void 0:l.symbol})),t(w(s))}if(e.nonce){t(O((0,s.hexToDecimal)(e.nonce)))}}else t(_(i));else console.error(`Transaction with id ${e} not found`)}},r.updateNonce=O,r.updateTokenData=w,r.updateTokenProps=E,r.updateTransactionAmounts=S,r.updateTransactionFees=A,r.updateTransactionTotals=k,r.updateTxData=_,r.updateTxDataAndCalculate=P;var n=e("../../selectors"),o=e("../metamask/metamask"),a=e("../../helpers/utils/confirm-tx.util"),s=e("../../../shared/modules/conversion.utils"),i=e("../../selectors/custom-gas"),c=e("../../../shared/modules/string-utils"),u=e("../../../shared/modules/transaction.utils");const l=e=>`metamask/confirm-transaction/${e}`,d=l("UPDATE_TX_DATA"),p=l("UPDATE_TOKEN_DATA"),f=l("UPDATE_TOKEN_PROPS"),h=l("CLEAR_CONFIRM_TRANSACTION"),m=l("UPDATE_TRANSACTION_AMOUNTS"),g=l("UPDATE_TRANSACTION_FEES"),v=l("UPDATE_TRANSACTION_TOTALS"),y=l("UPDATE_NONCE"),T=l("SET_MAX_VALUE_MODE"),b={txData:{},tokenData:{},tokenProps:{},fiatTransactionAmount:"",fiatTransactionFee:"",fiatTransactionTotal:"",ethTransactionAmount:"",ethTransactionFee:"",ethTransactionTotal:"",hexTransactionAmount:"",hexTransactionFee:"",hexTransactionTotal:"",nonce:"",maxValueMode:{}};function _(e){return{type:d,payload:e}}function w(e){return{type:p,payload:e}}function E(e){return{type:f,payload:e}}function S(e){return{type:m,payload:e}}function A(e){return{type:g,payload:e}}function k(e){return{type:v,payload:e}}function O(e){return{type:y,payload:e}}function P(e){return(t,r)=>{const c=r(),u=(0,n.currentCurrencySelector)(c),l=(0,n.conversionRateSelector)(c),d=(0,o.getNativeCurrency)(c);t(_(e));const{txParams:{value:p="0x0",gas:f="0x0"}={}}=e;let{txParams:{gasPrice:h}={}}=e;h||(h=(0,i.getAveragePriceEstimateInHexWEI)(c)||"0x0");const m=(0,s.getValueFromWeiHex)({value:p,fromCurrency:d,toCurrency:u,conversionRate:l,numberOfDecimals:2}),g=(0,s.getValueFromWeiHex)({value:p,fromCurrency:d,toCurrency:d,conversionRate:l,numberOfDecimals:6});t(S({fiatTransactionAmount:m,ethTransactionAmount:g,hexTransactionAmount:p}));const v=(0,a.getHexGasTotal)({gasLimit:f,gasPrice:h}),y=(0,a.getTransactionFee)({value:v,fromCurrency:d,toCurrency:u,numberOfDecimals:2,conversionRate:l}),T=(0,a.getTransactionFee)({value:v,fromCurrency:d,toCurrency:d,numberOfDecimals:6,conversionRate:l});t(A({fiatTransactionFee:y,ethTransactionFee:T,hexTransactionFee:v}));t(k({fiatTransactionTotal:(0,a.addFiat)(y,m),ethTransactionTotal:(0,a.addEth)(T,g),hexTransactionTotal:(0,s.sumHexes)(p,v)}))}}}}},{package:"$root$",file:"ui/ducks/confirm-transaction/confirm-transaction.duck.js"}],[534,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.shuffled=void 0,r.shuffled=function(e){for(var t=(e=e.slice()).length-1;t>0;t--){var r=Math.floor(Math.random()*(t+1)),n=e[t];e[t]=e[r],e[r]=n}return e}}}},{package:"@ethersproject/wallet>@ethersproject/random",file:"node_modules/@ethersproject/random/lib/shuffle.js"}],[5340,{"../../shared/constants/network":4507,"../../shared/modules/hexstring-utils":4544,"../helpers/utils/util":5399,"../pages/confirmations/send/send.constants":5721,"../selectors":5987,"../store/actionConstants":5997,"../store/actions":5998,"@ethersproject/providers":521,"@metamask/snaps-rpc-methods":2086,"@reduxjs/toolkit":2354,"ethereum-ens-network-map":3280,"ethereumjs-util":3288,loglevel:3842,"unicode-confusables":4388},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.domainInitialState=r.default=void 0,r.fetchResolutions=R,r.getDomainError=function(e){return e[b].error},r.getDomainResolution=function(e){return e[b].resolution},r.getDomainType=function(e){return e[b].domainType},r.getDomainWarning=function(e){return e[b].warning},r.getResolvingSnap=function(e){return e[b].resolvingSnap},r.initializeDomainSlice=I,r.lookupDomainName=function(e){return async(t,r)=>{const n=e.trim();let a=r();if("UNINITIALIZED"===a[b].stage&&await t(I()),a=r(),"NO_NETWORK_SUPPORT"!==a[b].stage||!1===(0,g.isBurnAddress)(n)&&(0,g.isValidHexAddress)(n,{mixedCaseUseChecksum:!0})||(0,i.isHexString)(n)){var s,c;let e,i;await t(A(n)),o.default.info(`Resolvers attempting to resolve name: ${n}`);let p,f=!1;try{var u;e=await(null===(u=_)||void 0===u?void 0:u.resolveName(n))}catch(e){p=e}const h=(0,l.getCurrentChainId)(a),m=parseInt(h,16);if(!e){var d;i=await R({domain:n,chainId:`eip155:${m}`,state:a});const t=null===(d=i[0])||void 0===d?void 0:d.resolvedAddress;f=Boolean(t),f&&(e=t)}const g=null===(s=i)||void 0===s||null===(s=s[0])||void 0===s?void 0:s.snapId,v=null===(c=(0,l.getSnapMetadata)(a,g))||void 0===c?void 0:c.name;if(a=r(),n!==a[b].domainName)return;await t(k({address:e,error:p,chainId:h,network:m,domainType:f||!f&&!e?"Other":y,domainName:n,...f?{resolvingSnap:v}:{}}))}else await t(P())}},r.resetDomainResolution=void 0;var n=e("@reduxjs/toolkit"),o=v(e("loglevel")),a=v(e("ethereum-ens-network-map")),s=e("unicode-confusables"),i=e("ethereumjs-util"),c=e("@ethersproject/providers"),u=e("@metamask/snaps-rpc-methods"),l=e("../selectors"),d=e("../store/actions"),p=e("../../shared/constants/network"),f=e("../pages/confirmations/send/send.constants"),h=e("../helpers/utils/util"),m=e("../store/actionConstants"),g=e("../../shared/modules/hexstring-utils");function v(e){return e&&e.__esModule?e:{default:e}}const y="ENS",T={stage:"UNINITIALIZED",resolution:null,error:null,warning:null,chainId:null,domainType:null,domainName:null,resolvingSnap:null},b=(r.domainInitialState=T,"DNS");let _=null;const w=(0,n.createSlice)({name:b,initialState:T,reducers:{lookupStart:(e,t)=>{e.domainName=t.payload},lookupEnd:(e,t)=>{e.resolution=null,e.error=null,e.warning=null,e.domainType=null,e.domainName=null,e.resolvingSnap=null;const{address:r,error:n,chainId:a,domainType:i,domainName:c,resolvingSnap:u}=t.payload;e.domainType=i,e.domainType===y?n?(0,h.isValidDomainName)(c)&&"ENS name not defined."===n.message?e.error=a===p.CHAIN_IDS.MAINNET?f.ENS_NO_ADDRESS_FOR_NAME:f.ENS_NOT_FOUND_ON_NETWORK:"Illegal character for ENS."===n.message?e.error=f.ENS_ILLEGAL_CHARACTER:(o.default.error(n),e.error=f.ENS_UNKNOWN_ERROR):r?(r===g.BURN_ADDRESS?e.error=f.ENS_NO_ADDRESS_FOR_NAME:"0x"===r?e.error=f.ENS_REGISTRATION_ERROR:e.resolution=r,(0,h.isValidDomainName)(r)&&(0,s.isConfusing)(r)&&(e.warning=f.CONFUSING_ENS_ERROR)):e.error=f.ENS_NO_ADDRESS_FOR_NAME:r?(e.resolution=r,e.resolvingSnap=u):c.length>0&&(e.error=f.NO_RESOLUTION_FOR_DOMAIN)},enableDomainLookup:(e,t)=>{e.stage="INITIALIZED",e.error=null,e.resolution=null,e.warning=null,e.chainId=t.payload},disableDomainLookup:e=>{e.stage="NO_NETWORK_SUPPORT",e.error=null,e.warning=null,e.resolution=null,e.chainId=null},domainNotSupported:e=>{e.resolution=null,e.warning=null,e.error=f.DOMAIN_NOT_SUPPORTED_ON_NETWORK},resetDomainResolution:e=>{e.resolution=null,e.warning=null,e.error=null,e.domainType=null,e.resolvingSnap=null}},extraReducers:e=>{e.addCase(m.CHAIN_CHANGED,((e,t)=>{t.payload!==e.chainId&&(e.stage="UNINITIALIZED",_=null)}))}}),{reducer:E,actions:S}=w;r.default=E;const{lookupStart:A,lookupEnd:k,enableDomainLookup:O,domainNotSupported:P,resetDomainResolution:N}=S;function I(){return(e,t)=>{const r=t(),n=(0,l.getCurrentChainId)(r),o=p.CHAIN_ID_TO_ETHERS_NETWORK_NAME_MAP[n],s=parseInt(n,16),i=a.default[s.toString()],u=Boolean(i);_=u?new c.Web3Provider(global.ethereumProvider,{chainId:s,name:o,ensAddress:i}):null,e(O(n))}}async function R({domain:e,chainId:t,state:r}){const n=(0,l.getPermissionSubjects)(r),o=(0,l.getNameLookupSnapsIds)(r).filter((e=>{var r;const o=null===(r=n[e])||void 0===r?void 0:r.permissions["endowment:name-lookup"],a=(0,u.getChainIdsCaveat)(o);return(null==a?void 0:a.includes(t))??!0}));if(0===e.length)return[];return(await Promise.allSettled(o.map((r=>(0,d.handleSnapRequest)({snapId:r,origin:"",handler:"onNameLookup",request:{jsonrpc:"2.0",method:" ",params:{domain:e,chainId:t}}}))))).reduce(((e,t,r)=>{if("rejected"!==t.status&&null!==t.value){const n=t.value.resolvedAddresses.map((e=>({...e,snapId:o[r]})));return e.concat(n)}return e}),[])}r.resetDomainResolution=N}}},{package:"$root$",file:"ui/ducks/domains.js"}],[5341,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.SET_CUSTOM_GAS_PRICE=r.SET_CUSTOM_GAS_LIMIT=r.RESET_CUSTOM_DATA=void 0;r.RESET_CUSTOM_DATA="metamask/gas/RESET_CUSTOM_DATA",r.SET_CUSTOM_GAS_LIMIT="metamask/gas/SET_CUSTOM_GAS_LIMIT",r.SET_CUSTOM_GAS_PRICE="metamask/gas/SET_CUSTOM_GAS_PRICE"}}},{package:"$root$",file:"ui/ducks/gas/gas-action-constants.ts"}],[5342,{"./gas-action-constants":5341,lodash:3836},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e=a,t){switch(t.type){case o.SET_CUSTOM_GAS_PRICE:return{...e,customData:{...e.customData,price:t.value}};case o.SET_CUSTOM_GAS_LIMIT:return{...e,customData:{...e.customData,limit:t.value}};case o.RESET_CUSTOM_DATA:return{...e,customData:(0,n.cloneDeep)(a.customData)};default:return e}},r.setCustomGasLimit=function(e){return{type:o.SET_CUSTOM_GAS_LIMIT,value:e}},r.setCustomGasPrice=function(e){return{type:o.SET_CUSTOM_GAS_PRICE,value:e}};var n=e("lodash"),o=e("./gas-action-constants");const a={customData:{price:null,limit:null}}}}},{package:"$root$",file:"ui/ducks/gas/gas.duck.js"}],[5345,{"../../store/actionConstants":5997,reselect:4269},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e={},{type:t,payload:r}){if(t===o.SET_CURRENT_LOCALE)return{...e,current:r.messages,currentLocale:r.locale};return e},r.getIntlLocale=r.getEnLocaleMessages=r.getCurrentLocaleMessages=r.getCurrentLocale=void 0;var n=e("reselect"),o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=a(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&Object.prototype.hasOwnProperty.call(e,s)){var i=o?Object.getOwnPropertyDescriptor(e,s):null;i&&(i.get||i.set)?Object.defineProperty(n,s,i):n[s]=e[s]}return n.default=e,r&&r.set(e,n),n}(e("../../store/actionConstants"));function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(a=function(e){return e?r:t})(e)}const s=e=>e.localeMessages.currentLocale;r.getCurrentLocale=s;r.getIntlLocale=(0,n.createSelector)(s,(e=>Intl.getCanonicalLocales(null==e?void 0:e.replace(/_/gu,"-"))[0]));r.getCurrentLocaleMessages=e=>e.localeMessages.current;r.getEnLocaleMessages=e=>e.localeMessages.en}}},{package:"$root$",file:"ui/ducks/locale/locale.js"}],[5346,{"../../../shared/constants/alerts":4492,"../../../shared/constants/gas":4500,"../../../shared/constants/keyring":4502,"../../../shared/constants/preferences":4512,"../../../shared/modules/conversion.utils":4537,"../../../shared/modules/hexstring-utils":4544,"../../../shared/modules/string-utils":4558,"../../selectors":5987,"../../store/actionConstants":5997,"../../store/actions":5998,"../gas/gas.duck":5342,"@metamask/transaction-controller":2234,"ethereumjs-util":3288,reselect:4269},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e=y,t){const r={...y,...e};switch(t.type){case h.UPDATE_METAMASK_STATE:return{...r,...t.value};case h.LOCK_METAMASK:return{...r,isUnlocked:!1};case h.SET_ACCOUNT_LABEL:{const{account:e}=t.value,n=t.value.label,o=Object.values(r.internalAccounts.accounts).find((t=>t.address.toLowerCase()===e.toLowerCase())),a={...r.internalAccounts,accounts:{...r.internalAccounts.accounts,[o.id]:{...o,metadata:{...o.metadata,name:n}}}};return Object.assign(r,{internalAccounts:a})}case h.UPDATE_CUSTOM_NONCE:return{...r,customNonceValue:t.value};case h.TOGGLE_ACCOUNT_MENU:return{...r,isAccountMenuOpen:!r.isAccountMenuOpen};case h.TOGGLE_NETWORK_MENU:return{...r,isNetworkMenuOpen:!r.isNetworkMenuOpen};case h.UPDATE_TRANSACTION_PARAMS:{const{id:e,value:n}=t;let{transactions:o}=r;return o=o.map((t=>{if(t.id===e){const e={...t};return e.txParams=n,e}return t})),{...r,transactions:o}}case h.SET_PARTICIPATE_IN_METAMETRICS:return{...r,participateInMetaMetrics:t.value};case h.SET_DATA_COLLECTION_FOR_MARKETING:return{...r,dataCollectionForMarketing:t.value};case h.CLOSE_WELCOME_SCREEN:return{...r,welcomeScreenSeen:!0};case h.SET_PENDING_TOKENS:return{...r,pendingTokens:{...t.payload}};case h.CLEAR_PENDING_TOKENS:return{...r,pendingTokens:{}};case h.COMPLETE_ONBOARDING:return{...r,completedOnboarding:!0};case h.RESET_ONBOARDING:return{...r,completedOnboarding:!1,firstTimeFlowType:null,isInitialized:!1,isUnlocked:!1,onboardingTabs:{},seedPhraseBackedUp:null,welcomeScreenSeen:!1};case h.SET_FIRST_TIME_FLOW_TYPE:return{...r,firstTimeFlowType:t.value};case h.SET_SHOW_TOKEN_AUTO_DETECT_MODAL_UPGRADE:return{...r,showTokenAutodetectModalOnUpgrade:t.value};case h.SET_NEXT_NONCE:return{...r,nextNonce:t.payload};case h.SET_CONFIRMATION_EXCHANGE_RATES:return{...r,confirmationExchangeRates:t.value};case h.FORCE_DISABLE_DESKTOP:return{...r,desktopEnabled:!1};default:return r}},r.doesUserHaveALedgerAccount=function(e){return e.metamask.keyrings.some((e=>e.type===c.KeyringType.ledger))},r.findKeyringForAddress=N,r.getAlertEnabledness=void 0,r.getBlockGasLimit=function(e){return e.metamask.currentBlockGasLimit},r.getCompletedOnboarding=function(e){return e.metamask.completedOnboarding},r.getConversionRate=function(e){var t;return null===(t=e.metamask.currencyRates[_(e).ticker])||void 0===t?void 0:t.conversionRate},r.getEstimatedGasFeeTimeBounds=function(e){return e.metamask.estimatedGasFeeTimeBounds},r.getEstimatedGasFeeTimeBoundsByChainId=function(e,t){var r;return null===(r=e.metamask.gasFeeEstimatesByChainId)||void 0===r||null===(r=r[t])||void 0===r?void 0:r.estimatedGasFeeTimeBounds},r.getGasFeeEstimatesByChainId=r.getGasFeeEstimates=r.getGasEstimateTypeByChainId=r.getGasEstimateType=void 0,r.getIsGasEstimatesLoading=function(e){const t=(0,f.checkNetworkAndAccountSupports1559)(e),r=k(e),n=r===i.GasEstimateTypes.feeMarket||r===i.GasEstimateTypes.ethGasPrice;return r===i.GasEstimateTypes.none||t&&!n||!t&&r===i.GasEstimateTypes.feeMarket},r.getIsGasEstimatesLoadingByChainId=function(e,{chainId:t,networkClientId:r}){const n=(0,f.checkNetworkAndAccountSupports1559)(e,r),o=O(e,t),a=o===i.GasEstimateTypes.feeMarket||o===i.GasEstimateTypes.ethGasPrice;return o===i.GasEstimateTypes.none||n&&!a||!n&&o===i.GasEstimateTypes.feeMarket},r.getIsInitialized=function(e){return e.metamask.isInitialized},r.getIsNetworkBusyByChainId=function(e,t){const r=P(e,t);return(null==r?void 0:r.networkCongestion)>=i.NetworkCongestionThresholds.busy},r.getIsUnlocked=function(e){return e.metamask.isUnlocked},r.getLedgerTransportType=function(e){return e.metamask.ledgerTransportType},r.getNativeCurrency=function(e){return _(e).ticker},r.getNfts=r.getNftContracts=void 0,r.getNftsDropdownState=function(e){return e.metamask.nftsDropdownState},r.getPendingTokens=void 0,r.getProviderConfig=_,r.getSeedPhraseBackedUp=function(e){return e.metamask.seedPhraseBackedUp},r.getSendHexDataFeatureFlagState=function(e){return e.metamask.featureFlags.sendHexData},r.getSendToAccounts=function(e){const t=(0,f.accountsWithSendEtherInfoSelector)(e),r=(0,f.getAddressBook)(e);return[...t,...r]},r.getWeb3ShimUsageAlertEnabledness=r.getUnconnectedAccountAlertShown=r.getUnconnectedAccountAlertEnabledness=r.getTokens=void 0,r.isAddressLedger=function(e,t){const r=N(e,t);return(null==r?void 0:r.type)===c.KeyringType.ledger},r.isEIP1559Network=function(e,t){var r;const n=(0,f.getSelectedNetworkClientId)(e);return!0===(null===(r=e.metamask.networksMetadata)||void 0===r?void 0:r[t??n].EIPS[1559])},r.isNotEIP1559Network=function(e){const t=(0,f.getSelectedNetworkClientId)(e);return!1===e.metamask.networksMetadata[t].EIPS[1559]},r.updateGasFees=function({gasPrice:e,gasLimit:t,maxPriorityFeePerGas:r,maxFeePerGas:o,transaction:a,expectHexWei:s=!1}){return async i=>{const c={...a.txParams,gas:t};e?(i((0,g.setCustomGasPrice)(T(c.gasPrice,s))),c.gasPrice=T(e,s)):o&&r&&(c.maxFeePerGas=T(o,s),c.maxPriorityFeePerGas=(0,n.addHexPrefix)((0,l.decGWEIToHexWEI)(r)));const u={...a,txParams:c},d=(0,n.isHexString)((0,n.addHexPrefix)(t))?(0,n.addHexPrefix)(t):(0,n.addHexPrefix)(t.toString(16));i((0,g.setCustomGasLimit)(d)),await i((0,m.updateTransactionGasFees)(u.id,u))}};var n=e("ethereumjs-util"),o=e("reselect"),a=e("@metamask/transaction-controller"),s=e("../../../shared/constants/alerts"),i=e("../../../shared/constants/gas"),c=e("../../../shared/constants/keyring"),u=e("../../../shared/constants/preferences"),l=e("../../../shared/modules/conversion.utils"),d=e("../../../shared/modules/hexstring-utils"),p=e("../../../shared/modules/string-utils"),f=e("../../selectors"),h=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=v(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=e[a]}return n.default=e,r&&r.set(e,n),n}(e("../../store/actionConstants")),m=e("../../store/actions"),g=e("../gas/gas.duck");function v(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(v=function(e){return e?r:t})(e)}const y={isInitialized:!1,isUnlocked:!1,isAccountMenuOpen:!1,isNetworkMenuOpen:!1,internalAccounts:{accounts:{},selectedAccount:""},transactions:[],networkConfigurations:{},addressBook:[],confirmationExchangeRates:{},pendingTokens:{},customNonceValue:"",useBlockie:!1,featureFlags:{},welcomeScreenSeen:!1,currentLocale:"",currentBlockGasLimit:"",currentBlockGasLimitByChainId:{},preferences:{autoLockTimeLimit:u.DEFAULT_AUTO_LOCK_TIME_LIMIT,showExtensionInFullSizeView:!1,showFiatInTestnets:!1,showTestNetworks:!1,smartTransactionsOptInStatus:!1,useNativeCurrencyAsPrimaryCurrency:!0,petnamesEnabled:!0,featureNotificationsEnabled:!1,showTokenAutodetectModal:!1},firstTimeFlowType:null,completedOnboarding:!1,knownMethodData:{},use4ByteResolution:!0,participateInMetaMetrics:null,dataCollectionForMarketing:null,nextNonce:null,currencyRates:{ETH:{conversionRate:null}},providerConfig:{ticker:"ETH"}};const T=(e,t)=>(0,n.addHexPrefix)(t?e:(0,l.decGWEIToHexWEI)(e));const b=e=>e.metamask.alertEnabledness;function _(e){return e.metamask.providerConfig}r.getAlertEnabledness=b;r.getUnconnectedAccountAlertEnabledness=e=>b(e)[s.AlertTypes.unconnectedAccount];r.getWeb3ShimUsageAlertEnabledness=e=>b(e)[s.AlertTypes.web3ShimUsage];r.getUnconnectedAccountAlertShown=e=>e.metamask.unconnectedAccountAlertShownOrigins;r.getPendingTokens=e=>e.metamask.pendingTokens;r.getTokens=e=>e.metamask.tokens;r.getNfts=e=>{var t;const{metamask:{allNfts:r}}=e,{address:n}=(0,f.getSelectedInternalAccount)(e),{chainId:o}=_(e);return(null==r||null===(t=r[n])||void 0===t?void 0:t[o])??[]};function w(e){var t;const r=null===(t=e.confirmTransaction)||void 0===t?void 0:t.txData;return null==r?void 0:r.gasFeeEstimates}function E(e,t){var r;const n=null===(r=e.confirmTransaction)||void 0===r?void 0:r.txData;return(null==n?void 0:n.chainId)!==t?undefined:null==n?void 0:n.gasFeeEstimates}r.getNftContracts=e=>{var t;const{metamask:{allNftContracts:r}}=e,{address:n}=(0,f.getSelectedInternalAccount)(e),{chainId:o}=_(e);return(null==r||null===(t=r[n])||void 0===t?void 0:t[o])??[]};const S=(0,o.createSelector)(w,(e=>null==e?void 0:e.type)),A=(0,o.createSelector)(E,(e=>null==e?void 0:e.type)),k=r.getGasEstimateType=(0,o.createSelector)((function(e){return e.metamask.gasEstimateType}),S,((e,t)=>t??e)),O=r.getGasEstimateTypeByChainId=(0,o.createSelector)((function(e,t){var r;return null===(r=e.metamask.gasFeeEstimatesByChainId)||void 0===r||null===(r=r[t])||void 0===r?void 0:r.gasEstimateType}),A,((e,t)=>t??e)),P=r.getGasFeeEstimatesByChainId=(0,o.createSelector)((function(e,t){var r;return null===(r=e.metamask.gasFeeEstimatesByChainId)||void 0===r||null===(r=r[t])||void 0===r?void 0:r.gasFeeEstimates}),E,((e,t)=>t?(0,a.mergeGasFeeEstimates)({gasFeeControllerEstimates:e,transactionGasFeeEstimates:t}):e));r.getGasFeeEstimates=(0,o.createSelector)((function(e){return e.metamask.gasFeeEstimates}),w,((e,t)=>t?(0,a.mergeGasFeeEstimates)({gasFeeControllerEstimates:e,transactionGasFeeEstimates:t}):e));function N(e,t){return e.metamask.keyrings.find((e=>e.accounts.some((e=>(0,p.isEqualCaseInsensitive)(e,(0,n.addHexPrefix)(t))||(0,p.isEqualCaseInsensitive)(e,(0,d.stripHexPrefix)(t))))))}}}},{package:"$root$",file:"ui/ducks/metamask/metamask.js"}],[5347,{"../../../shared/constants/common":4495,"../../../shared/constants/gas":4500,"../../../shared/constants/network":4507,"../../../shared/constants/swaps":4516,"../../../shared/constants/transaction":4520,"../../../shared/lib/transactions-controller-utils":4531,"../../../shared/modules/Numeric":4533,"../../../shared/modules/contract-utils":4536,"../../../shared/modules/conversion.utils":4537,"../../../shared/modules/string-utils":4558,"../../helpers/utils/util":5399,"../../pages/confirmations/send/send.utils":5722,"../../selectors":5987,"../../store/actions":5998,"../metamask/metamask":5346,"../swaps/swaps":5351,"@metamask/transaction-controller":2234,"bignumber.js":2933,"ethereumjs-util":3288,"human-standard-token-abi":3631},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.calculateBestQuote=r.addAdjustedReturnToQuotes=void 0,r.estimateGasLimitForSend=async function({selectedAddress:e,value:t,gasPrice:r,sendToken:o,to:s,data:c,isNonStandardEthChain:l,chainId:f,gasLimit:g,...v}){let y=!1,T=i.MIN_GAS_LIMIT_HEX;v.blockGasLimit?T=v.blockGasLimit:o&&(T=i.GAS_LIMITS.BASE_TOKEN_ESTIMATE);const b={from:e,value:t,gasPrice:r};if(o){if(!s)return i.GAS_LIMITS.BASE_TOKEN_ESTIMATE;b.value="0x0",b.data=(0,p.getAssetTransferData)({sendToken:o,fromAddress:e,toAddress:s,amount:t}),b.to=o.address}else{if(!c){const{isContractAddress:e}=s?await(0,d.readAddressAsContract)(global.eth,s):{};if(!e&&!l)return i.GAS_LIMITS.SIMPLE;!e&&l&&(y=!0)}b.data=c,s&&(b.to=s),t&&"0"!==t||(b.value="0xff")}y||(b.gas=new m.Numeric(T,16).times(new m.Numeric(.95,10)).round(0,a.default.ROUND_DOWN).toPrefixedHexString());let _=1.5;y?_=1:u.CHAIN_ID_TO_GAS_LIMIT_BUFFER_MAP[f]&&(_=u.CHAIN_ID_TO_GAS_LIMIT_BUFFER_MAP[f]);try{const e=await(0,h.estimateGas)(b),t=(0,p.addGasBuffer)(e,T,_);return(0,n.addHexPrefix)(t)}catch(e){if(e.message.includes("Transaction execution error.")||e.message.includes("gas required exceeds allowance or always failing transaction")||u.CHAIN_ID_TO_GAS_LIMIT_BUFFER_MAP[f]&&e.message.includes("gas required exceeds allowance")){const e=(0,p.addGasBuffer)((null==b?void 0:b.gas)??g,T,_);return(0,n.addHexPrefix)(e)}throw e}},r.generateTransactionParams=function(e){var t,r,n,o;const a=e.draftTransactions[e.currentTransactionUUID],i={from:(null===(t=a.fromAccount)||void 0===t?void 0:t.address)||e.selectedAccount.address,gas:a.gas.gasLimit};switch(a.sendAsset.type){case l.AssetType.token:i.to=a.sendAsset.details.address,i.value="0x0",i.data=(0,p.generateERC20TransferData)({toAddress:a.recipient.address,amount:a.amount.value,sendToken:a.sendAsset.details});break;case l.AssetType.NFT:i.to=a.sendAsset.details.address,i.value="0x0",i.data=(null===(r=a.sendAsset.details)||void 0===r?void 0:r.standard)===l.TokenStandard.ERC721?(0,p.generateERC721TransferData)({toAddress:a.recipient.address,fromAddress:(null===(n=a.fromAccount)||void 0===n?void 0:n.address)??e.selectedAccount.address,tokenId:a.sendAsset.details.tokenId}):(0,p.generateERC1155TransferData)({toAddress:a.recipient.address,fromAddress:(null===(o=a.fromAccount)||void 0===o?void 0:o.address)??e.selectedAccount.address,tokenId:a.sendAsset.details.tokenId,amount:a.amount.value});break;case l.AssetType.native:default:i.to=a.recipient.address,i.value=a.amount.value,i.data=a.userInputHexData||"0x"}e.eip1559support?(i.type=s.TransactionEnvelopeType.feeMarket,i.maxFeePerGas=a.gas.maxFeePerGas,i.maxPriorityFeePerGas=a.gas.maxPriorityFeePerGas,i.maxFeePerGas&&"0x0"!==i.maxFeePerGas||(i.maxFeePerGas=a.gas.gasPrice),i.maxPriorityFeePerGas&&"0x0"!==i.maxPriorityFeePerGas||(i.maxPriorityFeePerGas=i.maxFeePerGas)):(i.gasPrice=a.gas.gasPrice,i.type=s.TransactionEnvelopeType.legacy);return i},r.getERC20Balance=async function(e,t){const r=global.eth.contract(o.default).at(e.address),a=await r.balanceOf(t)??null;if(!a)return"0x0";const s=(0,c.calcTokenAmount)(a.balance.toString(),e.decimals).toString(16);return(0,n.addHexPrefix)(s)},r.getIsDraftSwapAndSend=function(e){var t,r;return!(0,w.isEqualCaseInsensitive)((null==e||null===(t=e.sendAsset)||void 0===t||null===(t=t.details)||void 0===t?void 0:t.address)||"",(null==e||null===(r=e.receiveAsset)||void 0===r||null===(r=r.details)||void 0===r?void 0:r.address)||"")},r.getRoundedGasPrice=function(e){const t=new m.Numeric(e,10).round(9).toString(),r=Number(t);return(0,f.getGasPriceInHexWei)(r)};var n=e("ethereumjs-util"),o=E(e("human-standard-token-abi")),a=E(e("bignumber.js")),s=e("@metamask/transaction-controller"),i=e("../../../shared/constants/gas"),c=e("../../../shared/lib/transactions-controller-utils"),u=e("../../../shared/constants/network"),l=e("../../../shared/constants/transaction"),d=e("../../../shared/modules/contract-utils"),p=e("../../pages/confirmations/send/send.utils"),f=e("../../selectors"),h=e("../../store/actions"),m=e("../../../shared/modules/Numeric"),g=e("../metamask/metamask"),v=e("../swaps/swaps"),y=e("../../helpers/utils/util"),T=e("../../../shared/modules/conversion.utils"),b=e("../../../shared/constants/common"),_=e("../../../shared/constants/swaps"),w=e("../../../shared/modules/string-utils");function E(e){return e&&e.__esModule?e:{default:e}}r.addAdjustedReturnToQuotes=async(e,t,r)=>{if(null==e||!e.length)return e;try{const o=(0,f.getCurrentChainId)(t),{medium:a,gasPrice:s}=(0,g.getGasFeeEstimates)(t),i=(0,f.checkNetworkAndAccountSupports1559)(t),u=s??(null==a?void 0:a.suggestedMaxFeePerGas),l=(0,v.getUsedSwapsGasPrice)(t),d=i?u:l,p=(0,f.getTokenExchangeRates)(t),h=(0,f.getConfirmationExchangeRates)(t),w={...p,...h},E=(0,g.getNativeCurrency)(t),S=null!=r&&r.address?(0,n.toChecksumAddress)(r.address):undefined;let A=S?w[S]:1;return!A&&S&&(A=(await(0,y.fetchTokenExchangeRates)(E,[S],o))[S]),A?e.map((e=>{var t;const n=((null==e?void 0:e.gasParams.maxGas)||0)+Number((0,T.hexToDecimal)((null==e||null===(t=e.approvalNeeded)||void 0===t?void 0:t.gas)||"0x0")),a=new m.Numeric(d,10,b.EtherDenomination.GWEI).times(n,10).toDenomination(b.EtherDenomination.ETH),s=(e.destinationAmount?new m.Numeric((0,c.calcTokenAmount)(e.destinationAmount,(null==r?void 0:r.decimals)||_.SWAPS_CHAINID_DEFAULT_TOKEN_MAP[o].decimals),10).times(A,10):undefined).minus(a).toNumber();return{...e,adjustAmountReceivedInNative:s}})):e}catch(e){console.warn(`Could not calculate adjusted return for quote selection: ${e}`)}return e};r.calculateBestQuote=e=>e.reduce(((e,t)=>((null==t?void 0:t.adjustAmountReceivedInNative)||Number((null==t?void 0:t.destinationAmount)||0))>((null==e?void 0:e.adjustAmountReceivedInNative)||Number((null==e?void 0:e.destinationAmount)||0))?t:e),null==e?void 0:e[0])}}},{package:"$root$",file:"ui/ducks/send/helpers.js"}],[5348,{"./send":5349},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n=e("./send");Object.keys(n).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in r&&r[e]===n[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return n[e]}}))}))}}},{package:"$root$",file:"ui/ducks/send/index.js"}],[5349,{"../../../shared/constants/common":4495,"../../../shared/constants/gas":4500,"../../../shared/constants/swaps":4516,"../../../shared/constants/time":4518,"../../../shared/constants/transaction":4520,"../../../shared/lib/metamask-controller-utils":4526,"../../../shared/lib/transactions-controller-utils":4531,"../../../shared/modules/Numeric":4533,"../../../shared/modules/conversion.utils":4537,"../../../shared/modules/hexstring-utils":4544,"../../../shared/modules/string-utils":4558,"../../../shared/modules/transaction.utils":4560,"../../helpers/constants/error-keys":5356,"../../helpers/constants/routes":5361,"../../helpers/utils/token-util":5396,"../../helpers/utils/transactions.util":5397,"../../helpers/utils/util":5399,"../../pages/confirmations/send/send.constants":5721,"../../pages/confirmations/send/send.utils":5722,"../../pages/swaps/swaps.util":5967,"../../selectors":5987,"../../store/actionConstants":5997,"../../store/actions":5998,"../confirm-transaction/confirm-transaction.duck":5338,"../domains":5340,"../gas/gas.duck":5342,"../metamask/metamask":5346,"./helpers":5347,"./swap-and-send-utils":5350,"@metamask/transaction-controller":2234,"@reduxjs/toolkit":2354,"bignumber.js":2933,"eth-rpc-errors":3257,"ethereumjs-util":3288,lodash:3836,uuid:4424},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.draftTransactionInitialState=r.default=r.computeEstimatedGasLimit=r.addHistoryEntry=r.acknowledgeRecipientWarning=r.SEND_STATUSES=r.SEND_STAGES=r.RECIPIENT_SEARCH_MODES=r.GAS_INPUT_MODES=r.AMOUNT_MODES=void 0,r.editExistingTransaction=function(e,t){return async(r,n)=>{await r(te.clearPreviousDrafts());const o=n(),a=(0,m.getUnapprovedTransactions)(o)[t],i=(0,m.getTargetAccount)(o,a.txParams.from);if(Boolean(o[Q].prevSwapAndSendInput)){const{amountMode:e,amount:{value:n},...a}=o[Q].prevSwapAndSendInput;r(te.addNewDraft({...z,...a,id:t,fromAccount:i,history:[`sendFlow - user clicked edit on transaction with id ${t} (swap and send)`]})),e===V.MAX?(r(te.updateAmountMode(V.MAX)),r(te.updateAmountToMax()),r(fe())):r(ge(n))}else if(e===A.AssetType.native)await r(te.addNewDraft({...z,id:t,fromAccount:i,gas:{...z.gas,gasLimit:a.txParams.gas,gasPrice:a.txParams.gasPrice},userInputHexData:a.txParams.data,recipient:{...z.recipient,address:a.txParams.to,nickname:(0,m.getAddressBookEntryOrAccountName)(o,a.txParams.to)??""},amount:{...z.amount,value:a.txParams.value},history:[`sendFlow - user clicked edit on transaction with id ${t}`]})),await r(ve({type:A.AssetType.native},{initialAssetSet:!0}));else{const n=(0,N.parseStandardTokenTransactionData)(a.txParams.data),c=e===A.AssetType.token?(0,I.getTokenValueParam)(n):"1",u=(0,T.getTokenAddressParam)(n),l=(0,m.getAddressBookEntryOrAccountName)(o,u)??"",p=(0,s.addHexPrefix)((0,d.decimalToHex)(c));await r(te.addNewDraft({...z,id:t,fromAccount:i,gas:{...z.gas,gasLimit:a.txParams.gas,gasPrice:a.txParams.gasPrice},userInputHexData:a.txParams.data,recipient:{...z.recipient,address:u,nickname:l},amount:{...z.amount,value:p},history:[`sendFlow - user clicked edit on transaction with id ${t}`]})),await r(ve({type:e,details:{address:a.txParams.to,...e===A.AssetType.NFT?{tokenId:(0,T.getTokenIdParam)(n)??(0,I.getTokenValueParam)(n)}:{}}},{initialAssetSet:!0}))}await r(Y())}},r.gasFeeIsInError=function(e){var t;return Boolean(null===(t=Te(e).gas)||void 0===t?void 0:t.error)},r.getAssetError=function(e){return we(e).error},r.getBestQuote=void 0,r.getCurrentDraftTransaction=Te,r.getCurrentTransactionUUID=ye,r.getDraftTransactionExists=function(e){const t=Te(e);if(0===Object.keys(t).length)return!1;return!0},r.getDraftTransactionID=function(e){return Te(e).id},r.getGasInputMode=function(e){const t=(0,m.getIsMainnet)(e),r=(0,_.getGasEstimateType)(e),n=(0,m.getAdvancedInlineGasShown)(e);if(e[Q].gasIsSetInModal)return $.CUSTOM;if(!t||n)return $.INLINE;if(t&&r===p.GasEstimateTypes.ethGasPrice)return $.INLINE;return $.BASIC},r.getGasLimit=function(e){var t;return null===(t=Te(e).gas)||void 0===t?void 0:t.gasLimit},r.getGasPrice=function(e){var t;return null===(t=Te(e).gas)||void 0===t?void 0:t.gasPrice},r.getGasTotal=function(e){var t;return null===(t=Te(e).gas)||void 0===t?void 0:t.gasTotal},r.getIsAssetSendable=function(e){var t,r;if((null===(t=we(e))||void 0===t?void 0:t.type)===A.AssetType.native)return!0;return!1===(null===(r=we(e))||void 0===r||null===(r=r.details)||void 0===r?void 0:r.isERC721)},r.getIsBalanceInsufficient=function(e){var t;return(null===(t=Te(e).gas)||void 0===t?void 0:t.error)===f.INSUFFICIENT_FUNDS_ERROR},r.getIsSwapAndSendDisabledForNetwork=r.getIsNativeSendPossible=void 0,r.getIsUsingMyAccountForRecipientSearch=function(e){return e[Q].recipientMode===K.MY_ACCOUNTS},r.getMinimumGasLimitForSend=function(e){return e[Q].gasLimitMinimum},r.getRecipient=Se,r.getRecipientUserInput=function(e){return e[Q].recipientInput},r.getRecipientWarningAcknowledgement=function(e){var t;return(null===(t=Te(e).recipient)||void 0===t?void 0:t.recipientWarningAcknowledged)??!1},r.getSendAmount=function(e){var t;return null===(t=Te(e).amount)||void 0===t?void 0:t.value},r.getSendAnalyticProperties=void 0,r.getSendAsset=we,r.getSendAssetAddress=function(e){var t;return null===(t=we(e))||void 0===t||null===(t=t.details)||void 0===t?void 0:t.address},r.getSendErrors=function(e){var t,r;return{gasFee:null===(t=Te(e).gas)||void 0===t?void 0:t.error,amount:null===(r=Te(e).amount)||void 0===r?void 0:r.error}},r.getSendHexData=function(e){return Te(e).userInputHexData},r.getSendLayer1GasFee=_e,r.getSendMaxModeState=function(e){return e[Q].amountMode===V.MAX},r.getSendStage=function(e){return e[Q].stage},r.getSendTo=function(e){var t;return null===(t=Se(e))||void 0===t?void 0:t.address},r.getSender=Ee,r.getSwapsBlockedTokens=function(e){return e[Q].swapsBlockedTokens},r.hasSendLayer1GasFee=function(e){return null!==e[Q].gasTotalForLayer1},r.initializeSendState=r.initialState=void 0,r.isSendFormInvalid=function(e){const t=Te(e);if(!t)return!0;return t.status===W.INVALID},r.isSendStateInitialized=function(e){return e[Q].stage!==H.INACTIVE},r.resetRecipientInput=function(){return async(e,t)=>{const r=t(),n=(0,m.getCurrentChainId)(r);(0,g.showLoadingIndication)(),await e(ce("sendFlow - user cleared recipient input")),await e(me("")),await e(he({address:"",nickname:""})),await e((0,w.resetDomainResolution)()),await e(se({chainId:n})),(0,g.hideLoadingIndication)()}},r.resetSendState=function(){return async(e,t)=>{const r=t();e(te.resetSendState()),r[Q].gasEstimatePollToken&&(await(0,g.gasFeeStopPollingByPollingToken)(r[Q].gasEstimatePollToken),(0,g.removePollingTokenFromAppState)(r[Q].gasEstimatePollToken))}},r.sendAmountIsInError=function(e){var t;return Boolean(null===(t=Te(e).amount)||void 0===t?void 0:t.error)},r.signTransaction=function(e){return async(t,r)=>{const n=r(),{stage:o,eip1559support:a,amountMode:s}=n[Q],c=n[Q].draftTransactions[n[Q].currentTransactionUUID];let d;const p=(0,U.getIsDraftSwapAndSend)(c),h=c.quotes,v=h?(0,U.calculateBestQuote)(h):undefined;d=p?{...v.trade}:(0,U.generateTransactionParams)(n[Q]);const{amount:y,sendAsset:T,receiveAsset:b,recipient:w}=c,E={amount:{...y},sendAsset:{...T},receiveAsset:{...b},recipient:{...w},amountMode:n[Q].amountMode};if(await t(te.setPrevSwapAndSend(E)),o!==H.EDIT||p){let r,a=c.recipient.type===f.RECIPIENT_TYPES.SMART_CONTRACT?u.TransactionType.contractInteraction:u.TransactionType.simpleSend;if(c.sendAsset.type!==A.AssetType.native&&(a=c.sendAsset.type===A.AssetType.NFT?c.sendAsset.details.standard===A.TokenStandard.ERC721?u.TransactionType.tokenMethodTransferFrom:u.TransactionType.tokenMethodSafeTransferFrom:u.TransactionType.tokenMethodTransfer),await t(ce("sendFlow - user clicked next and transaction should be added to controller")),p){var S,k,O,P,N,I;if(o===H.EDIT){const e=(0,m.getUnapprovedTransactions)(n)[c.id];e&&await t((0,g.rejectPendingApproval)(e.id,l.ethErrors.provider.userRejectedRequest().serialize()))}const a=(0,m.getCurrentChainId)(n),s=j.SWAPS_CHAINID_DEFAULT_TOKEN_MAP[a].decimals,i=(null===(S=c.sendAsset.details)||void 0===S?void 0:S.symbol)||(0,_.getNativeCurrency)(n),p=(null===(k=c.receiveAsset.details)||void 0===k?void 0:k.symbol)||(0,_.getNativeCurrency)(n),f=(null===(O=c.receiveAsset.details)||void 0===O?void 0:O.decimals)||s,h=(null===(P=c.receiveAsset.details)||void 0===P?void 0:P.address)||j.SWAPS_CHAINID_DEFAULT_TOKEN_MAP[a].address,T=(null===(N=c.sendAsset.details)||void 0===N?void 0:N.decimals)||s,b=new C.Numeric((null==y?void 0:y.value)||"0x0",16).toBase(10).shiftedBy(T).toString(),w=c.recipient.address,E=(null===(I=c.sendAsset.details)||void 0===I?void 0:I.address)||j.SWAPS_CHAINID_DEFAULT_TOKEN_MAP[a].address,A=null==v?void 0:v.sourceAmount,R=null==v?void 0:v.destinationAmount,x={swapAndSendRecipient:w,type:u.TransactionType.swapAndSend,sourceTokenSymbol:i,destinationTokenSymbol:p,destinationTokenDecimals:f,destinationTokenAddress:h,swapTokenValue:b,approvalTxId:undefined,destinationTokenAmount:R,sourceTokenAddress:E,sourceTokenAmount:A,sourceTokenDecimals:T};if(null!=v&&v.approvalNeeded){const{id:e}=await(0,g.addTransactionAndWaitForPublish)({...v.approvalNeeded,amount:"0x0"},{requireApproval:!1,type:u.TransactionType.swapApproval,swaps:{hasApproveTx:!0,meta:{type:u.TransactionType.swapApproval,sourceTokenSymbol:i}}});x.approvalTxId=e}const{id:M}=await(0,g.addTransactionAndWaitForPublish)(d,{requireApproval:!1,sendFlowHistory:c.history,type:u.TransactionType.swapAndSend,swaps:{hasApproveTx:Boolean(null==v?void 0:v.approvalNeeded),meta:x}});r=M,await t((0,g.setDefaultHomeActiveTabName)("activity")),e.push(L.DEFAULT_ROUTE)}else{const{id:n}=await t((0,g.addTransactionAndRouteToConfirmationPage)(d,{sendFlowHistory:c.history,type:a}));r=n,e.push(L.CONFIRM_TRANSACTION_ROUTE)}await t((0,M.setMaxValueMode)(r,s===V.MAX&&c.sendAsset.type===A.AssetType.native))}else{var R;const r=(0,m.getUnapprovedTransactions)(n),o=(0,i.cloneDeep)(r[c.id]),s={data:d.data,from:d.from,to:d.to,value:d.value,gas:null!=o&&o.userEditedGasLimit?o.txParams.gas:d.gas};o.originalGasEstimate=s.gas;const u={...o,txParams:Object.assign(o.txParams,a?s:d)};await t(ce("sendFlow - user clicked next and transaction should be updated in controller")),await t((0,g.updateTransactionSendFlowHistory)(c.id,(null===(R=o.sendFlowHistory)||void 0===R?void 0:R.length)||0,c.history)),await t((0,g.updateEditableParams)(c.id,u.txParams)),await t((0,g.updateTransactionGasFees)(c.id,u.txParams)),e.push(L.CONFIRM_TRANSACTION_ROUTE)}await t(te.setPrevSwapAndSend(E))}},r.startNewDraftTransaction=function(e){return async t=>{await t(te.clearPreviousDrafts()),await t(te.addNewDraft({...z,history:["sendFlow - User started new draft transaction"]})),await t(ve({type:e.type??A.AssetType.native,details:e.details,skipComputeEstimatedGasLimit:!0})),await t(Y())}},r.toggleSendMaxMode=function(){return async(e,t)=>{t()[Q].amountMode===V.MAX?(await e(te.updateAmountMode(V.INPUT)),await e(te.updateSendAmount("0x0")),await e(ce("sendFlow - user toggled max mode off"))):(await e(te.updateAmountMode(V.MAX)),await e(te.updateAmountToMax()),await e(ce("sendFlow - user toggled max mode on"))),await e(fe())}},r.updateGasLimit=void 0,r.updateGasPrice=function(e){return t=>{t(ce(`sendFlow - user set legacy gasPrice to ${e}`)),t(te.updateGasFees({gasPrice:e,transactionType:u.TransactionEnvelopeType.legacy,manuallyEdited:!0}))}},r.updateRecipient=he,r.updateRecipientUserInput=me,r.updateSendAmount=ge,r.updateSendAsset=ve,r.updateSendHexData=function(e){return async(t,r)=>{await t(ce(`sendFlow - user added custom hexData ${e}`)),await t(te.updateUserInputHexData(e));const n=r(),o=n[Q].draftTransactions[n[Q].currentTransactionUUID];await t(fe(o.sendAsset.type===A.AssetType.native))}},r.updateSendQuote=fe,r.useContactListForRecipientSearch=function(){return e=>{e(ce("sendFlow - user selected back to all on recipient screen")),e(ie(K.CONTACT_LIST))}},r.useDefaultGas=r.useCustomGas=void 0,r.useMyAccountsForRecipientSearch=function(){return e=>{e(ce("sendFlow - user selected transfer to my accounts on recipient screen")),e(ie(K.MY_ACCOUNTS))}};var n,o=e("@reduxjs/toolkit"),a=(n=e("bignumber.js"))&&n.__esModule?n:{default:n},s=e("ethereumjs-util"),i=e("lodash"),c=e("uuid"),u=e("@metamask/transaction-controller"),l=e("eth-rpc-errors"),d=e("../../../shared/modules/conversion.utils"),p=e("../../../shared/constants/gas"),f=e("../../pages/confirmations/send/send.constants"),h=e("../../pages/confirmations/send/send.utils"),m=e("../../selectors"),g=e("../../store/actions"),v=e("../gas/gas.duck"),y=e("../../store/actionConstants"),T=e("../../helpers/utils/token-util"),b=e("../../helpers/utils/util"),_=e("../metamask/metamask"),w=e("../domains"),E=e("../../../shared/modules/hexstring-utils"),S=e("../../helpers/utils/transactions.util"),A=e("../../../shared/constants/transaction"),k=e("../../helpers/constants/error-keys"),O=e("../../../shared/constants/time"),P=e("../../../shared/modules/string-utils"),N=e("../../../shared/modules/transaction.utils"),I=e("../../../shared/lib/metamask-controller-utils"),R=e("../../../shared/lib/transactions-controller-utils"),C=e("../../../shared/modules/Numeric"),x=e("../../../shared/constants/common"),j=e("../../../shared/constants/swaps"),M=e("../confirm-transaction/confirm-transaction.duck"),L=e("../../helpers/constants/routes"),D=e("../../pages/swaps/swaps.util"),F=e("./swap-and-send-utils"),U=e("./helpers");const B="This has been replaced with a more recent request",G=O.SECOND,H=r.SEND_STAGES={ADD_RECIPIENT:"ADD_RECIPIENT",DRAFT:"DRAFT",EDIT:"EDIT",INACTIVE:"INACTIVE"},W=r.SEND_STATUSES={INVALID:"INVALID",VALID:"VALID"},$=r.GAS_INPUT_MODES={BASIC:"BASIC",CUSTOM:"CUSTOM",INLINE:"INLINE"},V=r.AMOUNT_MODES={INPUT:"INPUT",MAX:"MAX"},K=r.RECIPIENT_SEARCH_MODES={CONTACT_LIST:"CONTACT_LIST",MY_ACCOUNTS:"MY_ACCOUNTS"},z=r.draftTransactionInitialState={amount:{error:null,value:"0x0"},sendAsset:{balance:"0x0",details:null,error:null,type:A.AssetType.native},receiveAsset:{balance:"0x0",details:null,error:null,type:A.AssetType.native},fromAccount:null,gas:{error:null,gasLimit:"0x0",gasPrice:"0x0",gasTotal:"0x0",maxFeePerGas:"0x0",maxPriorityFeePerGas:"0x0",wasManuallyEdited:!1},history:[],id:null,recipient:{address:"",error:null,nickname:"",warning:null,type:"",recipientWarningAcknowledged:!1},status:W.VALID,transactionType:u.TransactionEnvelopeType.legacy,userInputHexData:null,isSwapQuoteLoading:!1,swapQuotesError:null,swapQuotesLatestRequestTimestamp:null,timeToFetchQuotes:null,quotes:null},q=r.initialState={amountMode:V.INPUT,currentTransactionUUID:null,disabledSwapAndSendNetworks:[],draftTransactions:{},eip1559support:!1,gasEstimateIsLoading:!0,gasEstimatePollToken:null,gasIsSetInModal:!1,gasPriceEstimate:"0x0",gasLimitMinimum:p.GAS_LIMITS.SIMPLE,gasTotalForLayer1:null,prevSwapAndSendInput:null,recipientMode:K.CONTACT_LIST,recipientInput:"",selectedAccount:{address:null,balance:"0x0"},stage:H.INACTIVE,swapsBlockedTokens:[]},Q="send",X=r.computeEstimatedGasLimit=(0,o.createAsyncThunk)("send/computeEstimatedGasLimit",(async(e,t)=>{var r,n;const o=t.getState(),{send:a,metamask:s}=o,i=a.draftTransactions[a.currentTransactionUUID],c=(0,m.getUnapprovedTransactions)(o)[i.id],u=(0,m.getIsNonStandardEthChain)(o),l=(0,m.getCurrentChainId)(o),d=(0,m.getSelectedInternalAccountWithBalance)(o),p=await t.dispatch((0,g.getLayer1GasFee)({transactionParams:{gasPrice:i.gas.gasPrice,gas:i.gas.gasLimit,to:null===(r=i.recipient.address)||void 0===r?void 0:r.toLowerCase(),value:a.amountMode===V.MAX?a.selectedAccount.balance:i.amount.value,from:a.selectedAccount.address,data:i.userInputHexData,type:"0x0"},chainId:l}));if(a.stage!==H.EDIT||null===(n=c.dappSuggestedGasFees)||void 0===n||!n.gas||!c.userEditedGasLimit){var f;const e=await(0,U.estimateGasLimitForSend)({gasPrice:i.gas.gasPrice,blockGasLimit:s.currentBlockGasLimit,selectedAddress:d.address,sendToken:i.sendAsset.details,to:null===(f=i.recipient.address)||void 0===f?void 0:f.toLowerCase(),value:i.amount.value,data:i.userInputHexData,isNonStandardEthChain:u,chainId:l,gasLimit:i.gas.gasLimit});return await t.dispatch((0,v.setCustomGasLimit)(e)),{gasLimit:e,gasTotalForLayer1:p}}return null})),Y=r.initializeSendState=(0,o.createAsyncThunk)("send/initializeSendState",(async({chainHasChanged:e=!1}={},t)=>{const r=t.getState(),n=(0,m.getIsNonStandardEthChain)(r),o=(0,m.getSelectedNetworkClientId)(r),a=(0,m.getCurrentChainId)(r);let i=(0,m.checkNetworkAndAccountSupports1559)(r);i===undefined&&(i=await(0,g.getCurrentNetworkEIP1559Compatibility)());const c=(0,m.getSelectedAccount)(r),{send:u,metamask:l}=r,d=u.draftTransactions[u.currentTransactionUUID];if(!d)return t.rejectWithValue("draftTransaction not found, possibly not on send flow");let f=u.stage===H.EDIT?d.gas.gasPrice:"0x1",h=null;h=await(0,g.gasFeeStartPollingByNetworkClientId)(o),(0,g.addPollingTokenToAppState)(h);const{metamask:{gasFeeEstimates:y,gasEstimateType:T}}=t.getState();u.stage!==H.EDIT&&(f=T===p.GasEstimateTypes.legacy?(0,m.getGasPriceInHexWei)(y.medium):T===p.GasEstimateTypes.ethGasPrice?(0,U.getRoundedGasPrice)(y.gasPrice):T===p.GasEstimateTypes.feeMarket?(0,m.getGasPriceInHexWei)(y.medium.suggestedMaxFeePerGas):y.gasPrice?(0,U.getRoundedGasPrice)(y.gasPrice):"0x0");let{gasLimit:b}=d.gas;if(T!==p.GasEstimateTypes.none&&u.stage!==H.EDIT&&d.recipient.address){b=d.sendAsset.type===A.AssetType.token||d.sendAsset.type===A.AssetType.NFT?p.GAS_LIMITS.BASE_TOKEN_ESTIMATE:p.GAS_LIMITS.SIMPLE;b=await(0,U.estimateGasLimitForSend)({gasPrice:f,blockGasLimit:l.currentBlockGasLimit,selectedAddress:Ee(r),sendToken:d.sendAsset.details,to:d.recipient.address.toLowerCase(),value:d.amount.value,data:d.userInputHexData,isNonStandardEthChain:n,chainId:a})||b}await t.dispatch((0,v.setCustomGasLimit)(b));if(t.getState().send.currentTransactionUUID!==u.currentTransactionUUID)return t.rejectWithValue("draftTransaction changed during initialization.\n A new initializeSendState action must be dispatched.");const w=(0,m.getIsSwapsChain)(r)&&(0,m.getUseExternalServices)(r)?(await(0,D.fetchBlockedTokens)(a)).map((e=>e.toLowerCase())):[],E=await(0,F.getDisabledSwapAndSendNetworksFromAPI)();return{account:c,chainId:(0,m.getCurrentChainId)(r),tokens:(0,_.getTokens)(r),chainHasChanged:e,disabledSwapAndSendNetworks:E,gasFeeEstimates:y,gasEstimateType:T,gasLimit:b,gasTotal:(0,s.addHexPrefix)((0,R.calcGasTotal)(b,f)),gasEstimatePollToken:h,eip1559support:i,useTokenDetection:(0,m.getUseTokenDetection)(r),tokenAddressList:Object.keys((0,m.getTokenList)(r)),swapsBlockedTokens:w}}));let J;const Z=(0,o.createAsyncThunk)("send/fetchSwapAndSendQuotes",(async({requestTimestamp:e},t)=>{var r,n;const o=t.getState(),a=o[Q],i=(0,m.getCurrentChainId)(o),c=a.draftTransactions[a.currentTransactionUUID],u=Ee(o),l=(0,d.hexToDecimal)(c.amount.value);if(!(Number(l)&&c.sendAsset&&c.receiveAsset&&c.recipient.address))return{quotes:null,requestTimestamp:e};let p=await new Promise(((t,r)=>setTimeout((async()=>{var n,o;e!==J&&r(new Error(B)),(0,F.getSwapAndSendQuotes)({chainId:i,sourceAmount:l,sourceToken:(null===(n=c.sendAsset)||void 0===n||null===(n=n.details)||void 0===n?void 0:n.address)||j.SWAPS_CHAINID_DEFAULT_TOKEN_MAP[i].address,destinationToken:(null===(o=c.receiveAsset)||void 0===o||null===(o=o.details)||void 0===o?void 0:o.address)||j.SWAPS_CHAINID_DEFAULT_TOKEN_MAP[i].address,sender:u,recipient:c.recipient.address}).then((e=>t(e))).catch((()=>r(f.SWAPS_QUOTES_ERROR)))}),G)));for(const e of p)e.approvalNeeded&&(e.approvalNeeded.gas=(0,s.addHexPrefix)(await(0,g.estimateGas)(e.approvalNeeded)));if(p=await(0,U.addAdjustedReturnToQuotes)(p,o,null===(r=c.receiveAsset)||void 0===r?void 0:r.details),null===(n=p)||void 0===n||!n.length)throw new Error(f.SWAPS_NO_QUOTES);return{quotes:p,requestTimestamp:e}})),ee=(0,o.createSlice)({name:Q,initialState:q,reducers:{addNewDraft:(e,t)=>{e.currentTransactionUUID=(0,c.v4)(),e.draftTransactions[e.currentTransactionUUID]=t.payload,t.payload.id?e.stage=H.EDIT:e.stage=H.ADD_RECIPIENT},addHistoryEntry:(e,t)=>{const r=e.draftTransactions[e.currentTransactionUUID];r&&r.history.push({entry:t.payload,timestamp:Date.now()})},calculateGasTotal:e=>{const t=e.draftTransactions[e.currentTransactionUUID];t.transactionType===u.TransactionEnvelopeType.feeMarket?t.gas.gasTotal=(0,s.addHexPrefix)((0,R.calcGasTotal)(t.gas.gasLimit,t.gas.maxFeePerGas)):t.gas.gasTotal=(0,s.addHexPrefix)((0,R.calcGasTotal)(t.gas.gasLimit,t.gas.gasPrice)),e.amountMode===V.MAX&&t.sendAsset.type===A.AssetType.native&&ee.caseReducers.updateAmountToMax(e),ee.caseReducers.validateAmountField(e),ee.caseReducers.validateGasField(e),ee.caseReducers.validateSendState(e)},clearPreviousDrafts:e=>{e.currentTransactionUUID=null,e.draftTransactions={}},resetSendState:e=>({...q,prevSwapAndSendInput:e.prevSwapAndSendInput}),setPrevSwapAndSend:(e,t)=>{e.prevSwapAndSendInput=t.payload},updateAmountMode:(e,t)=>{Object.values(V).includes(t.payload)&&(e.amountMode=t.payload)},updateAmountToMax:e=>{const t=e.draftTransactions[e.currentTransactionUUID];let r="0x0";if(t.sendAsset.type===A.AssetType.token){var n;const e=(null===(n=t.sendAsset.details)||void 0===n?void 0:n.decimals)??0,o=Math.pow(10,Number(e));r=new C.Numeric(t.sendAsset.balance,16).times(o,10).toString()}else{const n=new C.Numeric(t.gas.gasTotal||"0x0",16).add(new C.Numeric(e.gasTotalForLayer1??"0x0",16));r=new C.Numeric(t.sendAsset.balance,16).lessThanOrEqualTo(n)?"0":new C.Numeric(t.sendAsset.balance,16).minus(n).toString()}ee.caseReducers.updateSendAmount(e,{payload:r})},updateAsset:(e,t)=>{const{asset:r,initialAssetSet:n,isReceived:o}=t.payload,a=e.draftTransactions[e.currentTransactionUUID],s=a[o?"receiveAsset":"sendAsset"];s.type=r.type,s.balance=r.balance,s.error=r.error,s.type===A.AssetType.token||s.type===A.AssetType.NFT?s.details=r.details:(s.details=null,a.recipient.error===f.CONTRACT_ADDRESS_ERROR&&(a.recipient.error=null)),o||(a.receiveAsset=s),e.amountMode===V.MAX?(e.amountMode=V.INPUT,ee.caseReducers.updateSendAmount(e,{payload:"0x0"})):!1===n&&(o?a.quotes=z.quotes:(ee.caseReducers.updateSendAmount(e,{payload:"0x0"}),ee.caseReducers.updateUserInputHexData(e,{payload:""}))),ee.caseReducers.validateSendState(e)},updateGasFeeEstimates:(e,t)=>{const{gasFeeEstimates:r,gasEstimateType:n}=t.payload;let o="0x0";switch(n){case p.GasEstimateTypes.feeMarket:ee.caseReducers.updateGasFees(e,{payload:{transactionType:u.TransactionEnvelopeType.feeMarket,maxFeePerGas:(0,m.getGasPriceInHexWei)(r.medium.suggestedMaxFeePerGas),maxPriorityFeePerGas:(0,m.getGasPriceInHexWei)(r.medium.suggestedMaxPriorityFeePerGas)}});break;case p.GasEstimateTypes.legacy:o=(0,U.getRoundedGasPrice)(r.medium),ee.caseReducers.updateGasFees(e,{payload:{gasPrice:o,type:u.TransactionEnvelopeType.legacy,isAutomaticUpdate:!0}});break;case p.GasEstimateTypes.ethGasPrice:o=(0,U.getRoundedGasPrice)(r.gasPrice),ee.caseReducers.updateGasFees(e,{payload:{gasPrice:(0,U.getRoundedGasPrice)(r.gasPrice),type:u.TransactionEnvelopeType.legacy,isAutomaticUpdate:!0}});case p.GasEstimateTypes.none:}e.gasPriceEstimate=(0,s.addHexPrefix)(o)},updateGasFees:(e,t)=>{const r=e.draftTransactions[e.currentTransactionUUID];r&&(t.payload.transactionType===u.TransactionEnvelopeType.feeMarket?(r.gas.maxFeePerGas=(0,s.addHexPrefix)(t.payload.maxFeePerGas),r.gas.maxPriorityFeePerGas=(0,s.addHexPrefix)(t.payload.maxPriorityFeePerGas),r.transactionType=u.TransactionEnvelopeType.feeMarket):(t.payload.manuallyEdited&&(r.gas.wasManuallyEdited=!0),r.gas.wasManuallyEdited&&!t.payload.manuallyEdited||(r.gas.gasPrice=(0,s.addHexPrefix)(t.payload.gasPrice)),r.transactionType=u.TransactionEnvelopeType.legacy),ee.caseReducers.calculateGasTotal(e))},updateGasLimit:(e,t)=>{const r=e.draftTransactions[e.currentTransactionUUID];r&&(r.gas.gasLimit=(0,s.addHexPrefix)(t.payload),ee.caseReducers.calculateGasTotal(e))},updateLayer1Fees:(e,t)=>{const r=e.draftTransactions[e.currentTransactionUUID];e.gasTotalForLayer1=t.payload,e.amountMode===V.MAX&&r.sendAsset.type===A.AssetType.native&&ee.caseReducers.updateAmountToMax(e)},updateRecipient:(e,t)=>{const r=e.draftTransactions[e.currentTransactionUUID];r.recipient.error=null,e.recipientInput="",r.recipient.address=t.payload.address??"",r.recipient.nickname=t.payload.nickname??"",""===r.recipient.address?e.stage=H.ADD_RECIPIENT:(e.stage=null===r.id?H.DRAFT:H.EDIT,e.recipientMode=K.CONTACT_LIST),ee.caseReducers.validateSendState(e)},updateRecipientSearchMode:(e,t)=>{e.recipientInput="",e.recipientMode=t.payload},updateRecipientWarning:(e,t)=>{e.draftTransactions[e.currentTransactionUUID].recipient.warning=t.payload},updateRecipientType:(e,t)=>{e.draftTransactions[e.currentTransactionUUID].recipient.type=t.payload},updateDraftTransactionStatus:(e,t)=>{e.draftTransactions[e.currentTransactionUUID].status=t.payload},acknowledgeRecipientWarning:e=>{e.draftTransactions[e.currentTransactionUUID].recipient.recipientWarningAcknowledged=!0,ee.caseReducers.validateSendState(e)},updateRecipientUserInput:(e,t)=>{e.recipientInput=t.payload},updateSendAmount:(e,t)=>{const r=e.draftTransactions[e.currentTransactionUUID];r.amount.value=(0,s.addHexPrefix)(t.payload),ee.caseReducers.validateAmountField(e),r.sendAsset.type===A.AssetType.native&&ee.caseReducers.validateGasField(e)},updateUserInputHexData:(e,t)=>{e.draftTransactions[e.currentTransactionUUID].userInputHexData=t.payload},useCustomGas:e=>{e.gasIsSetInModal=!0},useDefaultGas:e=>{e.gasIsSetInModal=!1},validateAmountField:e=>{const t=e.draftTransactions[e.currentTransactionUUID],r=new C.Numeric(t.amount.value,16);switch(!0){case t.sendAsset.type===A.AssetType.NFT&&t.sendAsset.details.standard===A.TokenStandard.ERC1155&&"0x0"===t.amount.value:t.amount.error=f.NEGATIVE_OR_ZERO_AMOUNT_TOKENS_ERROR,t.status!==W.INVALID&&ee.caseReducers.validateSendState(e);break;case t.sendAsset.type===A.AssetType.NFT&&t.sendAsset.details.standard===A.TokenStandard.ERC1155&&!(0,h.isERC1155BalanceSufficient)({tokenBalance:t.sendAsset.balance??"0x0",amount:t.amount.value}):t.amount.error=f.INSUFFICIENT_FUNDS_ERROR,t.status!==W.INVALID&&ee.caseReducers.validateSendState(e);break;case r.isFloat()&&t.sendAsset.type===A.AssetType.NFT&&t.sendAsset.details.standard===A.TokenStandard.ERC1155:t.amount.error=f.FLOAT_TOKENS_ERROR,t.status!==W.INVALID&&ee.caseReducers.validateSendState(e);break;case t.sendAsset.type===A.AssetType.token&&!(0,h.isTokenBalanceSufficient)({tokenBalance:t.sendAsset.balance??"0x0",amount:t.amount.value,decimals:t.sendAsset.details.decimals}):t.amount.error=f.INSUFFICIENT_TOKENS_ERROR,t.status!==W.INVALID&&ee.caseReducers.validateSendState(e);break;case!(0,h.isBalanceSufficient)({amount:t.sendAsset.type===A.AssetType.native?t.amount.value:undefined,balance:t.sendAsset.type===A.AssetType.native?t.sendAsset.balance:e.selectedAccount.balance,gasTotal:t.gas.gasTotal??"0x0"}):{const r=t.sendAsset.type===A.AssetType.native&&!(0,h.isBalanceSufficient)({amount:t.amount.value,balance:t.sendAsset.balance,gasTotal:"0x0"});t.amount.error=r?f.INSUFFICIENT_FUNDS_ERROR:f.INSUFFICIENT_FUNDS_FOR_GAS_ERROR,t.status!==W.INVALID&&ee.caseReducers.validateSendState(e);break}default:t.amount.error=null,t.status===W.INVALID&&ee.caseReducers.validateSendState(e)}},validateGasField:e=>{var t;const r=e.draftTransactions[e.currentTransactionUUID],n=!(0,h.isBalanceSufficient)({amount:r.sendAsset.type===A.AssetType.native?r.amount.value:"0x0",balance:(null===(t=r.fromAccount)||void 0===t?void 0:t.balance)??e.selectedAccount.balance,gasTotal:r.gas.gasTotal??"0x0"});r.gas.error=n?f.INSUFFICIENT_FUNDS_ERROR:null},validateRecipientUserInput:(e,t)=>{const r=e.draftTransactions[e.currentTransactionUUID];if(r)if(e.recipientMode===K.MY_ACCOUNTS||""===e.recipientInput||null===e.recipientInput)r.recipient.error=null,r.recipient.warning=null;else{var n;const{chainId:o,tokens:a,tokenAddressList:s,isProbablyAnAssetContract:i}=t.payload;(0,E.isBurnAddress)(e.recipientInput)||!(0,E.isValidHexAddress)(e.recipientInput,{mixedCaseUseChecksum:!0})&&!b.IS_FLASK&&!(0,b.isValidDomainName)(e.recipientInput)?r.recipient.error=(0,b.isDefaultMetaMaskChain)(o)?f.INVALID_RECIPIENT_ADDRESS_ERROR:f.INVALID_RECIPIENT_ADDRESS_NOT_ETH_NETWORK_ERROR:(0,b.isOriginContractAddress)(e.recipientInput,null===(n=r.sendAsset)||void 0===n||null===(n=n.details)||void 0===n?void 0:n.address)?r.recipient.error=f.CONTRACT_ADDRESS_ERROR:r.recipient.error=null,(0,E.isValidHexAddress)(e.recipientInput)&&(s.find((t=>(0,P.isEqualCaseInsensitive)(t,e.recipientInput)))||(0,b.checkExistingAddresses)(e.recipientInput,a))||i?r.recipient.warning=f.KNOWN_RECIPIENT_ADDRESS_WARNING:r.recipient.warning=null}ee.caseReducers.validateSendState(e)},validateSendState:e=>{var t,r,n,o,i;const c=e.draftTransactions[e.currentTransactionUUID];if(ee.caseReducers.addHistoryEntry(e,{payload:"Begin validating send state"}),c){const u=(0,U.getIsDraftSwapAndSend)(c),l=()=>[f.INSUFFICIENT_TOKENS_ERROR,f.INSUFFICIENT_FUNDS_ERROR,f.INSUFFICIENT_FUNDS_FOR_GAS_ERROR].includes(c.amount.error)&&!c.sendAsset.balance,{quotes:p,gas:m}=c,g=p?(0,U.calculateBestQuote)(p):undefined,v=(0,d.hexToDecimal)((null==m?void 0:m.gasTotal)||"0x0")>0&&(0,d.hexToDecimal)((null==m?void 0:m.gasLimit)||"0x0")>0?new C.Numeric(m.gasTotal,16).divide(m.gasLimit,16).toString():undefined;switch(!0){case Boolean(c.amount.error&&!l()):ee.caseReducers.addHistoryEntry(e,{payload:`Amount is in error ${c.amount.error}`}),c.status=W.INVALID;break;case Boolean(c.gas.error):ee.caseReducers.addHistoryEntry(e,{payload:`Gas is in error ${c.gas.error}`}),c.status=W.INVALID;break;case Boolean(c.sendAsset.error):ee.caseReducers.addHistoryEntry(e,{payload:`Send asset is in error ${c.sendAsset.error}`}),c.status=W.INVALID;break;case Boolean(c.receiveAsset.error):ee.caseReducers.addHistoryEntry(e,{payload:`Receive asset is in error ${c.receiveAsset.error}`}),c.status=W.INVALID;break;case c.sendAsset.type===A.AssetType.token&&null===c.sendAsset.details:ee.caseReducers.addHistoryEntry(e,{payload:"Send asset is TOKEN and token details is null"}),c.status=W.INVALID;break;case c.receiveAsset.type===A.AssetType.token&&null===c.receiveAsset.details:ee.caseReducers.addHistoryEntry(e,{payload:"Receive asset is TOKEN and token details is null"}),c.status=W.INVALID;break;case e.stage===H.ADD_RECIPIENT:ee.caseReducers.addHistoryEntry(e,{payload:"Form is invalid because stage is ADD_RECIPIENT"}),c.status=W.INVALID;break;case e.stage===H.INACTIVE:ee.caseReducers.addHistoryEntry(e,{payload:"Form is invalid because stage is INACTIVE"}),c.status=W.INVALID;break;case e.gasEstimateIsLoading:ee.caseReducers.addHistoryEntry(e,{payload:"Form is invalid because gasEstimateIsLoading"}),c.status=W.INVALID;break;case new a.default(c.gas.gasLimit,16).lessThan(new a.default(e.gasLimitMinimum)):ee.caseReducers.addHistoryEntry(e,{payload:`Form is invalid because ${c.gas.gasLimit} is lessThan ${e.gasLimitMinimum}`}),c.status=W.INVALID;break;case"loading"===c.recipient.warning:ee.caseReducers.addHistoryEntry(e,{payload:"Form is invalid because recipient warning is loading"}),c.status=W.INVALID;break;case c.recipient.warning===f.KNOWN_RECIPIENT_ADDRESS_WARNING&&!1===c.recipient.recipientWarningAcknowledged:ee.caseReducers.addHistoryEntry(e,{payload:"Form is invalid because recipient warning not acknolwedged"}),c.status=W.INVALID;break;case Boolean(g&&!(0,P.isEqualCaseInsensitive)(g.recipient,c.recipient.address)):ee.caseReducers.addHistoryEntry(e,{payload:`Recipient is not match ${c.recipient.address} ${g.recipient}`}),c.status=W.INVALID;break;case Boolean(g&&!(0,P.isEqualCaseInsensitive)(g.trade.from,e.selectedAccount.address)):ee.caseReducers.addHistoryEntry(e,{payload:`Sender is not match ${e.selectedAccount.address} ${g.trade.from}`}),c.status=W.INVALID;break;case Boolean(g&&!(0,P.isEqualCaseInsensitive)((null===(t=c.sendAsset)||void 0===t||null===(t=t.details)||void 0===t?void 0:t.address)||(0,s.zeroAddress)(),g.sourceToken)):ee.caseReducers.addHistoryEntry(e,{payload:`Source token is not match ${null===(r=c.sendAsset)||void 0===r||null===(r=r.details)||void 0===r?void 0:r.address} ${g.sourceToken}`}),c.status=W.INVALID;break;case Boolean(g&&!(0,P.isEqualCaseInsensitive)(g.destinationToken,(null===(n=c.receiveAsset)||void 0===n||null===(n=n.details)||void 0===n?void 0:n.address)||(0,s.zeroAddress)())):ee.caseReducers.addHistoryEntry(e,{payload:`Destination token is not match ${null===(o=c.receiveAsset)||void 0===o||null===(o=o.details)||void 0===o?void 0:o.address} ${g.destinationToken}`}),c.status=W.INVALID;break;case g&&!(0,h.isBalanceSufficient)({amount:c.sendAsset.type===A.AssetType.native?c.amount.value:undefined,balance:e.selectedAccount.balance,gasTotal:(0,R.calcGasTotal)(new C.Numeric((null==g||null===(i=g.gasParams)||void 0===i?void 0:i.maxGas)||0,10).toPrefixedHexString(),v??"0x0")}):c.amount.error||(c.amount.error=f.INSUFFICIENT_FUNDS_FOR_GAS_ERROR),c.status=W.INVALID;break;case u&&!g:ee.caseReducers.addHistoryEntry(e,{payload:"No swap and send quote available"}),c.status=W.INVALID;break;default:ee.caseReducers.addHistoryEntry(e,{payload:"Form is valid"}),c.status=W.VALID}}}},extraReducers:e=>{e.addCase(y.ACCOUNT_CHANGED,((e,t)=>{if(e.stage===H.EDIT&&t.payload.account){const r=e.draftTransactions[e.currentTransactionUUID];r&&r.fromAccount&&r.fromAccount.address===t.payload.account.address&&(r.fromAccount.balance=t.payload.account.balance,r.sendAsset.type===A.AssetType.native&&(r.sendAsset.balance=t.payload.account.balance),ee.caseReducers.validateAmountField(e),ee.caseReducers.validateGasField(e),ee.caseReducers.validateSendState(e))}})).addCase(y.ADDRESS_BOOK_UPDATED,((e,t)=>{var r;const{addressBook:n}=t.payload,o=e.draftTransactions[e.currentTransactionUUID];o&&null!==(r=n[o.recipient.address])&&void 0!==r&&r.name&&(o.recipient.nickname=n[o.recipient.address].name)})).addCase(y.CLEAR_SWAP_AND_SEND_STATE,(e=>{const t=e.draftTransactions[e.currentTransactionUUID];t.quotes=z.quotes,t.swapQuotesError=z.swapQuotesError,t.isSwapQuoteLoading=z.isSwapQuoteLoading,t.swapQuotesLatestRequestTimestamp=z.swapQuotesLatestRequestTimestamp,t.timeToFetchQuotes=z.timeToFetchQuotes})).addCase(X.pending,(e=>{e.gasEstimateIsLoading=!0})).addCase(X.fulfilled,((e,t)=>{var r,n;e.gasEstimateIsLoading=!1,null!==(r=t.payload)&&void 0!==r&&r.gasLimit&&ee.caseReducers.updateGasLimit(e,{payload:t.payload.gasLimit}),null!==(n=t.payload)&&void 0!==n&&n.gasTotalForLayer1&&ee.caseReducers.updateLayer1Fees(e,{payload:t.payload.gasTotalForLayer1})})).addCase(X.rejected,(e=>{e.gasEstimateIsLoading=!1})).addCase(y.GAS_FEE_ESTIMATES_UPDATED,((e,t)=>{ee.caseReducers.updateGasFeeEstimates(e,{payload:t.payload})})).addCase(Y.pending,(e=>{e.gasEstimateIsLoading=!0})).addCase(Y.fulfilled,((e,t)=>{e.eip1559support=t.payload.eip1559support,e.selectedAccount.address=t.payload.account.address,e.selectedAccount.balance=t.payload.account.balance,e.prevSwapAndSendInput=q.prevSwapAndSendInput;const r=e.draftTransactions[e.currentTransactionUUID];var n;r&&(r.gas.gasLimit=t.payload.gasLimit,r.gas.gasTotal=t.payload.gasTotal,t.payload.chainHasChanged&&(r.sendAsset.type=A.AssetType.native,r.sendAsset.balance=(null===(n=r.fromAccount)||void 0===n?void 0:n.balance)??e.selectedAccount.balance,r.sendAsset.details=null,r.receiveAsset=z.receiveAsset));ee.caseReducers.updateGasFeeEstimates(e,{payload:{gasFeeEstimates:t.payload.gasFeeEstimates,gasEstimateType:t.payload.gasEstimateType}}),e.gasEstimatePollToken=t.payload.gasEstimatePollToken,t.payload.gasEstimatePollToken&&(e.gasEstimateIsLoading=!1),e.stage!==H.INACTIVE&&ee.caseReducers.validateRecipientUserInput(e,{payload:{chainId:t.payload.chainId,tokens:t.payload.tokens,useTokenDetection:t.payload.useTokenDetection,tokenAddressList:t.payload.tokenAddressList}}),e.swapsBlockedTokens=t.payload.swapsBlockedTokens,e.disabledSwapAndSendNetworks=t.payload.disabledSwapAndSendNetworks,e.amountMode===V.MAX&&ee.caseReducers.updateAmountToMax(e),ee.caseReducers.validateAmountField(e),ee.caseReducers.validateGasField(e),ee.caseReducers.validateSendState(e)})).addCase(Y.rejected,(e=>{e.prevSwapAndSendInput=q.prevSwapAndSendInput})).addCase(Z.pending,((e,t)=>{const r=e.draftTransactions[e.currentTransactionUUID];var n;r&&(null!==(n=t.meta)&&void 0!==n&&null!==(n=n.arg)&&void 0!==n&&n.isRefreshingQuotes||(r.quotes=z.quotes),r.swapQuotesError=null,r.isSwapQuoteLoading=!0,r.swapQuotesLatestRequestTimestamp=Math.max(t.meta.arg.requestTimestamp,r.swapQuotesLatestRequestTimestamp));ee.caseReducers.validateSendState(e)})).addCase(Z.fulfilled,((e,t)=>{const r=e.draftTransactions[e.currentTransactionUUID];r&&t.payload.requestTimestamp===r.swapQuotesLatestRequestTimestamp&&(r.timeToFetchQuotes=Date.now()-t.payload.requestTimestamp,r.isSwapQuoteLoading=!1,r.swapQuotesError=null,t.payload&&(r.quotes=t.payload.quotes)),ee.caseReducers.validateSendState(e)})).addCase(Z.rejected,((e,t)=>{if(t.error.message===B)return;const r=e.draftTransactions[e.currentTransactionUUID];r&&(r.isSwapQuoteLoading=!1,r.swapQuotesError=t.error.message)})).addCase(y.SELECTED_ACCOUNT_CHANGED,((e,t)=>{if(e.stage!==H.EDIT&&t.payload.account){e.selectedAccount.balance=t.payload.account.balance,e.selectedAccount.address=t.payload.account.address;const r=e.draftTransactions[e.currentTransactionUUID];r&&((null==r?void 0:r.sendAsset.type)===A.AssetType.native&&(r.sendAsset.balance=t.payload.account.balance),(null==r?void 0:r.sendAsset.type)!==A.AssetType.token&&(null==r?void 0:r.sendAsset.type)!==A.AssetType.NFT||(r.sendAsset.type=z.sendAsset.type,r.sendAsset.error=z.sendAsset.error,r.sendAsset.details=z.sendAsset.details,r.sendAsset.balance=t.payload.account.balance,r.receiveAsset=z.receiveAsset,r.amount.value=z.amount.value),ee.caseReducers.validateAmountField(e),ee.caseReducers.validateGasField(e),ee.caseReducers.validateSendState(e))}})).addCase(y.QR_CODE_DETECTED,((e,t)=>{const r=t.value,n=e.draftTransactions[e.currentTransactionUUID];if(r&&n&&"address"===r.type){const t=r.values.address.toLowerCase();(0,E.isValidHexAddress)(t,{allowNonPrefixed:!1})?n.recipient.address!==t&&ee.caseReducers.updateRecipient(e,{payload:{address:t}}):n.recipient.error=f.INVALID_RECIPIENT_ADDRESS_ERROR}}))}}),{actions:te,reducer:re}=ee;r.default=re;const{useDefaultGas:ne,useCustomGas:oe,updateGasLimit:ae,validateRecipientUserInput:se,updateRecipientSearchMode:ie,addHistoryEntry:ce,acknowledgeRecipientWarning:ue}=te;r.acknowledgeRecipientWarning=ue,r.addHistoryEntry=ce,r.updateGasLimit=ae,r.useCustomGas=oe,r.useDefaultGas=ne;const le=(0,i.debounce)(((e,t,r)=>{e(ce(`sendFlow - user typed ${t.userInput} into recipient input field`)),e(se(t)),r()}),300),de=(0,i.debounce)((async e=>{await e(X())}),300),pe=(0,i.debounce)(((e,t)=>{e(ce(t))}),100);function fe(e=!0,t=!1,r=!0){return async(n,o)=>{var a;const s=o()[Q],i=null===(a=s.draftTransactions)||void 0===a?void 0:a[null==s?void 0:s.currentTransactionUUID],c=(0,U.getIsDraftSwapAndSend)(i),{quotes:u,swapQuotesError:l,isSwapQuoteLoading:d,swapQuotesLatestRequestTimestamp:p}=i??{};if(c){const e=Date.now();J=e,n(Z({requestTimestamp:e,isRefreshingQuotes:t}))}else(u||l||d||p)&&n({type:y.CLEAR_SWAP_AND_SEND_STATE});e&&(r?await n(X()):await de(n))}}function he({address:e,nickname:t}){return async(r,n)=>{const o=n(),a=(0,m.getAddressBookEntryOrAccountName)(o,e)??"";await r(te.updateRecipient({address:e,nickname:t||a})),await r(fe())}}function me(e){return async(t,r)=>{t(te.updateRecipientWarning("loading")),t(te.updateDraftTransactionStatus(W.INVALID)),await t(te.updateRecipientUserInput(e));const n=r(),o=Ee(n),a=(0,m.getCurrentChainId)(n),s=(0,_.getTokens)(n),i=(0,m.getUseTokenDetection)(n),c=(0,m.getTokenList)(n),u=Object.keys(c),l=(0,E.isValidHexAddress)(e);let d=!1;if(l){if(await(0,S.isSmartContractAddress)(e)){t(te.updateRecipientType(f.RECIPIENT_TYPES.SMART_CONTRACT));const{symbol:r,decimals:n}=(0,T.getTokenMetadata)(e,c)||{};if(d=r&&n!==undefined,!d)try{const{standard:t}=await(0,g.getTokenStandardAndDetails)(e,o);d=Boolean(t)}catch(e){console.log(e)}}}return new Promise((r=>{le(t,{userInput:e,chainId:a,tokens:s,useTokenDetection:i,tokenAddressList:u,isProbablyAnAssetContract:d},r)}))}}function ge(e,t){return async(r,n)=>{const o=n();if(r(te.updateSendAmount(e)),o[Q].amountMode===V.MAX&&r(te.updateAmountMode(V.INPUT)),await r(fe(!0,!1,!1)),t===undefined)return;const{ticker:a}=(0,_.getProviderConfig)(o),s=o[Q].draftTransactions[o[Q].currentTransactionUUID];let i=e;var c;s.sendAsset.type===A.AssetType.token?i=`${t} ${null===(c=s.sendAsset.details)||void 0===c?void 0:c.symbol}`:i=`${t} ${a||x.EtherDenomination.ETH}`;pe(r,`sendFlow - user set amount to ${i}`)}}function ve({type:e,details:t,skipComputeEstimatedGasLimit:r,isReceived:n},{initialAssetSet:o=!1}={}){return async(a,i)=>{const c=i(),{ticker:l}=(0,_.getProviderConfig)(c),d=c[Q].draftTransactions[c[Q].currentTransactionUUID],p=Ee(c),f=(0,m.getTargetAccount)(c,p);if(e===A.AssetType.native){const t=(0,m.getUnapprovedTransactions)(c),r=null==t?void 0:t[d.id];await a(ce(`sendFlow - user set asset of type ${A.AssetType.native} with symbol ${l??x.EtherDenomination.ETH}`)),await a(te.updateAsset({asset:{type:e,details:null,balance:f.balance,error:null},initialAssetSet:o,isReceived:n})),(null==r?void 0:r.type)!==u.TransactionType.tokenMethodTransferFrom&&(null==r?void 0:r.type)!==u.TransactionType.tokenMethodTransfer&&(null==r?void 0:r.type)!==u.TransactionType.tokenMethodSafeTransferFrom||await a(te.updateUserInputHexData(""))}else{var h;await a((0,g.showLoadingIndication)());let r,i=null===(h={[A.TokenStandard.ERC20]:n?["address","symbol","decimals"]:["address","symbol","decimals","balance"],[A.TokenStandard.ERC721]:["address","symbol","tokenId"],[A.TokenStandard.ERC1155]:["address","symbol","tokenId"]}[t.standard])||void 0===h?void 0:h.find((e=>t[e]===undefined));if("balance"===i){var v;const e=(0,m.getSelectedNetworkClientId)(c),r=Ee(c),n=null===(v=(await(0,g.getBalancesInSingleCall)(r,[t.address],e).catch((()=>({}))))[t.address])||void 0===v?void 0:v.hex;t.balance=n?(0,s.addHexPrefix)(n):undefined,i=undefined}r=t.standard&&!i?{...t}:{...t,...await(0,g.getTokenStandardAndDetails)(t.address,p,t.tokenId).catch((e=>{throw a((0,g.hideLoadingIndication)()),e}))},await a((0,g.hideLoadingIndication)());const u={type:e,details:r,error:null};if(r.standard===A.TokenStandard.ERC20)u.balance=r.balance&&r.decimals?(0,s.addHexPrefix)((0,R.calcTokenAmount)(r.balance,r.decimals).toString(16)):undefined,await a(ce(`sendFlow - user set asset to ERC20 token with symbol ${r.symbol} and address ${r.address}`));else if(r.standard===A.TokenStandard.ERC1155||r.standard===A.TokenStandard.ERC721){if(e===A.AssetType.token)throw a((0,g.showModal)({name:"CONVERT_TOKEN_TO_NFT",tokenAddress:r.address})),u.error=k.INVALID_ASSET_TYPE,new Error(k.INVALID_ASSET_TYPE);{let e=!0;try{e=await(0,g.isNftOwner)(p,r.address,r.tokenId)}catch(e){e.message.includes("Unable to verify ownership.")||a((0,g.displayWarning)(e.message))}if(!e)throw new Error("Send slice initialized as NFT send with an NFT not currently owned by the select account");u.error=null,u.balance=r.balance?(0,s.addHexPrefix)(r.balance):"0x1",await a(ce(`sendFlow - user set asset to NFT with tokenId ${r.tokenId} and address ${r.address}`))}}await a(te.updateAsset({asset:u,initialAssetSet:o,isReceived:n}))}await a(fe(!1===o&&!r))}}function ye(e){return e[Q].currentTransactionUUID}function Te(e){return e[Q].draftTransactions[ye(e)]??{}}const be=r.getBestQuote=(0,o.createSelector)(Te,(({quotes:e,swapQuotesError:t})=>{const r=e;if(t||null==r||!r.length)return undefined;return(0,U.calculateBestQuote)(r)}));function _e(e){return e[Q].gasTotalForLayer1}r.getIsNativeSendPossible=(0,o.createSelector)(Te,_e,(({gas:{gasTotal:e},sendAsset:t},r)=>{if(t.type!==A.AssetType.native)return!0;const n=t.balance;return new C.Numeric(e||"0x0",16).add(new C.Numeric(r??"0x0",16)).lessThan(n,16)}));function we(e){return Te(e).sendAsset}function Ee(e){var t,r;const n=e[Q],o=n.draftTransactions[n.currentTransactionUUID];return(null==o||null===(t=o.fromAccount)||void 0===t?void 0:t.address)??n.selectedAccount.address??(null===(r=(0,m.getSelectedInternalAccount)(e))||void 0===r?void 0:r.address)}function Se(e){const t=Te(e);if(!t.recipient)return{address:"",nickname:"",error:null,warning:null};const r=(0,E.toChecksumHexAddress)(t.recipient.address);return e.metamask.ensResolutionsByAddress?{...t.recipient,nickname:t.recipient.nickname||(0,m.getEnsResolutionByAddress)(e,r)}:t.recipient}r.getIsSwapAndSendDisabledForNetwork=(0,o.createSelector)((e=>e.metamask.providerConfig),(e=>{var t;return(null===(t=e[Q])||void 0===t?void 0:t.disabledSwapAndSendNetworks)??[]}),(({chainId:e},t)=>t.includes(e))),r.getSendAnalyticProperties=(0,o.createSelector)((e=>e.metamask.providerConfig),Te,be,(({chainId:e,ticker:t},r,n)=>{try{var o,a,s,i,c,u;const l=j.SWAPS_CHAINID_DEFAULT_TOKEN_MAP[e].decimals,d=j.SWAPS_CHAINID_DEFAULT_TOKEN_MAP[e].address,p=(0,U.getIsDraftSwapAndSend)(r),{quotes:f,amount:h,sendAsset:m,receiveAsset:g,swapQuotesError:v,timeToFetchQuotes:y}=r,T=(null==r||null===(o=r.sendAsset)||void 0===o||null===(o=o.details)||void 0===o?void 0:o.symbol)||t,b=(null==r||null===(a=r.receiveAsset)||void 0===a||null===(a=a.details)||void 0===a?void 0:a.symbol)||t,_=(null==r||null===(s=r.receiveAsset)||void 0===s||null===(s=s.details)||void 0===s?void 0:s.decimals)||l,w=(null==r||null===(i=r.sendAsset)||void 0===i||null===(i=i.details)||void 0===i?void 0:i.decimals)||l,E=new C.Numeric((null==h?void 0:h.value)||"0x0",16).toBase(10).shiftedBy(w).toString(),S=null==n?void 0:n.sourceAmount,A=null==n?void 0:n.destinationAmount,k=(null==r||null===(c=r.receiveAsset)||void 0===c||null===(c=c.details)||void 0===c?void 0:c.address)||d,O=(null==r||null===(u=r.sendAsset)||void 0===u||null===(u=u.details)||void 0===u?void 0:u.address)||d;return{is_swap_and_send:p,chain_id:e,token_amount_source:S&&w?(0,R.calcTokenAmount)(S,w).toString():E,token_amount_dest_estimate:A&&_?(0,R.calcTokenAmount)(A,_).toString():undefined,token_symbol_source:T,token_symbol_destination:b,token_address_source:O,token_address_destination:k,results_count:null==f?void 0:f.length,quotes_load_time_ms:y,aggregator_list:null==f?void 0:f.map((({aggregator:e,error:t})=>`${e} (${t||"no error"})`)),aggregator_recommended:null==n?void 0:n.aggregator,errors:[null==h?void 0:h.error,null==m?void 0:m.error,null==g?void 0:g.error,v].filter(Boolean)}}catch(e){return{analyticsError:e}}}))}}},{package:"$root$",file:"ui/ducks/send/send.js"}],[535,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.version=void 0,r.version="rlp/5.7.0"}}},{package:"@ethersproject/providers>@ethersproject/rlp",file:"node_modules/@ethersproject/rlp/lib/_version.js"}],[5350,{"../../../shared/constants/swaps":4516,"../../../shared/constants/time":4518,"../../../shared/lib/fetch-with-cache":4525,"../../../shared/lib/swaps-utils":4528,"../../../shared/modules/conversion.utils":4537,"../../../shared/modules/hexstring-utils":4544,"../../pages/swaps/swaps.util":5967,lodash:3836},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.getDisabledSwapAndSendNetworksFromAPI=async function(){try{const e=[],t=await(0,d.fetchSwapsFeatureFlags)();return a.ALLOWED_PROD_SWAPS_CHAIN_IDS.forEach((r=>{var n;!1===(null===(n=t[(0,d.getNetworkNameByChainId)(r)])||void 0===n||null===(n=n.v2)||void 0===n||null===(n=n.swapAndSend)||void 0===n?void 0:n.enabled)&&e.push(r)})),e}catch(e){return[]}},r.getSwapAndSendQuotes=async function(e){const{chainId:t,...r}=e;r.slippage=r.slippage??f;const n=new URLSearchParams(r),o=`${m}/${h}/networks/${(0,u.hexToDecimal)(t)}/quotes?${n}`,l=await(0,i.default)({url:o,fetchOptions:{method:"GET",headers:{"X-Client-Id":a.SWAPS_CLIENT_ID}},cacheOptions:{cacheRefreshTime:0,timeout:15*s.SECOND},functionName:"getSwapAndSendQuotes"});return l.map((e=>{if(e.trade&&!e.error&&(0,c.validateData)(p,e,o)){const t=(0,c.addHexPrefixToObjectValues)({to:e.trade.to,from:e.trade.from,data:e.trade.data,value:(0,u.decimalToHex)(e.trade.value),gas:(0,u.decimalToHex)(e.gasParams.maxGas)});let{approvalNeeded:n}=e;return n&&(n=(0,c.addHexPrefixToObjectValues)(n)),{...e,slippage:r.slippage,trade:t,approvalNeeded:n}}return undefined})).filter(Boolean)};var n,o=e("lodash"),a=e("../../../shared/constants/swaps"),s=e("../../../shared/constants/time"),i=(n=e("../../../shared/lib/fetch-with-cache"))&&n.__esModule?n:{default:n},c=e("../../../shared/lib/swaps-utils"),u=e("../../../shared/modules/conversion.utils"),l=e("../../../shared/modules/hexstring-utils"),d=e("../../pages/swaps/swaps.util");const p=[{property:"gasParams",type:"object",validator:e=>e&&(0,o.isNumber)(e.maxGas)},{property:"trade",type:"object",validator:e=>e&&(0,c.validHex)(e.data)&&(0,l.isValidHexAddress)(e.to,{allowNonPrefixed:!1})&&(0,l.isValidHexAddress)(e.from,{allowNonPrefixed:!1})&&(0,c.truthyString)(e.value)},{property:"approvalNeeded",type:"object",validator:e=>null===e||e&&(0,c.validHex)(e.data)&&(0,l.isValidHexAddress)(e.to,{allowNonPrefixed:!1})&&(0,l.isValidHexAddress)(e.from,{allowNonPrefixed:!1})},{property:"sourceAmount",type:"string",validator:c.truthyDigitString},{property:"destinationAmount",type:"string",validator:c.truthyDigitString},{property:"sourceToken",type:"string",validator:e=>(0,l.isValidHexAddress)(e,{allowNonPrefixed:!1})},{property:"destinationToken",type:"string",validator:e=>(0,l.isValidHexAddress)(e,{allowNonPrefixed:!1})},{property:"sender",type:"string",validator:e=>(0,l.isValidHexAddress)(e,{allowNonPrefixed:!1})},{property:"recipient",type:"string",validator:e=>(0,l.isValidHexAddress)(e,{allowNonPrefixed:!1})},{property:"aggregator",type:"string",validator:c.truthyString},{property:"aggregatorType",type:"string",validator:c.truthyString},{property:"error",type:"object",validator:e=>null===e||"object"==typeof e},{property:"fee",type:"number"}],f="2",h="v2",m=a.SWAPS_API_V2_BASE_URL}}},{package:"$root$",file:"ui/ducks/send/swap-and-send-utils.ts"}],[5351,{"../../../shared/constants/app":4493,"../../../shared/constants/common":4495,"../../../shared/constants/metametrics":4505,"../../../shared/constants/swaps":4516,"../../../shared/constants/transaction":4520,"../../../shared/lib/swaps-utils":4528,"../../../shared/lib/transactions-controller-utils":4531,"../../../shared/modules/Numeric":4533,"../../../shared/modules/conversion.utils":4537,"../../../shared/modules/selectors":4554,"../../helpers/constants/routes":5361,"../../pages/swaps/swaps.util":5967,"../../selectors":5987,"../../store/actions":5998,"../metamask/metamask":5346,"@metamask/transaction-controller":2234,"@reduxjs/toolkit":2354,"@sentry/browser":2409,"bignumber.js":2933,loglevel:3842},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.GAS_PRICES_LOADING_STATES=void 0,r.cancelSwapsSmartTransaction=function(e){return async(t,r)=>{try{await t((0,c.cancelSmartTransaction)(e))}catch(e){const{swaps:{isFeatureFlagLoaded:n}}=r();if(e.message.startsWith("Fetch error:")&&n){const r=(0,l.parseSmartTransactionsError)(e.message);t(we(null==r?void 0:r.error))}}}},r.fetchAndSetSwapsGasPriceInfo=r.default=r.clearSwapsState=void 0,r.fetchMetaSwapsGasPriceEstimates=ke,r.fetchSwapsLivenessAndFeatureFlags=r.fetchQuotesAndSetQuoteState=void 0,r.fetchSwapsSmartTransactionFees=Oe,r.setTransactionSettingsOpened=r.setTopAssets=r.setSwapsFromToken=r.setSwapToToken=r.setSwapQuotesFetchStartTime=r.setReviewSwapClickedTimestamp=r.setMaxSlippage=r.setLatestAddedTokenTo=r.setIsFeatureFlagLoaded=r.setFromTokenInputValue=r.setFromTokenError=r.setFetchingQuotes=r.setBalanceError=r.setAggregatorMetadata=r.prepareToLeaveSwaps=r.prepareForRetryGetQuotes=r.navigateBackToBuildQuote=r.getUsedSwapsGasPrice=r.getUsedQuote=r.getTransactionSettingsOpened=r.getTradeTxId=r.getTopQuote=r.getTopAssets=r.getToToken=r.getSwapsWelcomeMessageSeenStatus=r.getSwapsUserFeeLevel=r.getSwapsTokens=r.getSwapsSTXLoading=r.getSwapsQuoteRefreshTime=r.getSwapsQuotePrefetchingRefreshTime=r.getSwapsNetworkConfig=r.getSwapsFeatureIsLive=r.getSwapsFallbackGasPrice=r.getSwapsErrorKey=r.getSwapsCustomizationModalPrice=r.getSwapsCustomizationModalLimit=r.getSwapRedesignEnabled=r.getSwapGasPriceEstimateData=r.getSmartTransactionsErrorMessageDismissed=r.getSmartTransactionsError=r.getSmartTransactionFees=r.getSmartTransactionEstimatedGas=r.getShowQuoteLoadingScreen=r.getSelectedQuote=r.getReviewSwapClickedTimestamp=r.getQuotesLastFetched=r.getQuotesFetchStartTime=r.getQuotes=r.getPendingSmartTransactions=r.getMaxSlippage=r.getLatestAddedTokenTo=r.getIsFeatureFlagLoaded=r.getFromTokenInputValue=r.getFromTokenError=r.getFromToken=r.getFetchingQuotes=r.getFetchParams=r.getDestinationTokenInfo=r.getCustomSwapsGasPrice=r.getCustomSwapsGas=r.getCustomMaxPriorityFeePerGas=r.getCustomMaxFeePerGas=r.getCurrentSmartTransactionsError=r.getCurrentSmartTransactionsEnabled=r.getCurrentSmartTransactions=r.getBalanceError=r.getBackgroundSwapRouteState=r.getApproveTxParams=r.getApproveTxId=r.getAggregatorMetadata=void 0,r.shouldShowCustomPriceTooLowWarning=function(e){const{average:t}=j(e),r=x(e);if(!r||t===undefined)return!1;return new _.Numeric(r,16,b.EtherDenomination.WEI).toDenomination(b.EtherDenomination.GWEI).greaterThan(t,10)},r.swapsQuoteSelected=r.swapGasPriceEstimateIsLoading=r.swapGasEstimateLoadingHasFailed=r.swapCustomGasModalPriceEdited=r.swapCustomGasModalLimitEdited=r.swapCustomGasModalClosed=r.signAndSendTransactions=r.signAndSendSwapsSmartTransaction=void 0;var n=e("@reduxjs/toolkit"),o=E(e("bignumber.js")),a=E(e("loglevel")),s=e("@sentry/browser"),i=e("@metamask/transaction-controller"),c=e("../../store/actions"),u=e("../../helpers/constants/routes"),l=e("../../pages/swaps/swaps.util"),d=e("../../../shared/modules/conversion.utils"),p=e("../../selectors"),f=e("../../../shared/modules/selectors"),h=e("../../../shared/constants/metametrics"),m=e("../../../shared/constants/swaps"),g=e("../../../shared/constants/transaction"),v=e("../metamask/metamask"),y=e("../../../shared/constants/app"),T=e("../../../shared/lib/transactions-controller-utils"),b=e("../../../shared/constants/common"),_=e("../../../shared/modules/Numeric"),w=e("../../../shared/lib/swaps-utils");function E(e){return e&&e.__esModule?e:{default:e}}const S=r.GAS_PRICES_LOADING_STATES={INITIAL:"INITIAL",LOADING:"LOADING",FAILED:"FAILED",COMPLETED:"COMPLETED"},A={aggregatorMetadata:null,approveTxId:null,tradeTxId:null,balanceError:!1,fetchingQuotes:!1,fromToken:null,fromTokenInputValue:"",fromTokenError:null,isFeatureFlagLoaded:!1,maxSlippage:m.Slippage.default,quotesFetchStartTime:null,reviewSwapClickedTimestamp:null,topAssets:{},toToken:null,customGas:{price:null,limit:null,loading:S.INITIAL,priceEstimates:{},fallBackPrice:null},currentSmartTransactionsError:"",swapsSTXLoading:!1,transactionSettingsOpened:!1,latestAddedTokenTo:""},k=(0,n.createSlice)({name:"swaps",initialState:A,reducers:{clearSwapsState:()=>A,navigatedBackToBuildQuote:e=>{e.approveTxId=null,e.tradeTxId=null,e.balanceError=!1,e.fetchingQuotes=!1,e.customGas.limit=null,e.customGas.price=null},retriedGetQuotes:e=>{e.approveTxId=null,e.balanceError=!1,e.fetchingQuotes=!1},setAggregatorMetadata:(e,t)=>{e.aggregatorMetadata=t.payload},setBalanceError:(e,t)=>{e.balanceError=t.payload},setFetchingQuotes:(e,t)=>{e.fetchingQuotes=t.payload},setLatestAddedTokenTo:(e,t)=>{e.latestAddedTokenTo=t.payload},setFromToken:(e,t)=>{e.fromToken=t.payload},setFromTokenInputValue:(e,t)=>{e.fromTokenInputValue=t.payload},setFromTokenError:(e,t)=>{e.fromTokenError=t.payload},setIsFeatureFlagLoaded:(e,t)=>{e.isFeatureFlagLoaded=t.payload},setMaxSlippage:(e,t)=>{e.maxSlippage=t.payload},setQuotesFetchStartTime:(e,t)=>{e.quotesFetchStartTime=t.payload},setReviewSwapClickedTimestamp:(e,t)=>{e.reviewSwapClickedTimestamp=t.payload},setTopAssets:(e,t)=>{e.topAssets=t.payload},setToToken:(e,t)=>{e.toToken=t.payload},swapCustomGasModalClosed:e=>{e.customGas.price=null,e.customGas.limit=null},swapCustomGasModalPriceEdited:(e,t)=>{e.customGas.price=t.payload},swapCustomGasModalLimitEdited:(e,t)=>{e.customGas.limit=t.payload},swapGasPriceEstimatesFetchStarted:e=>{e.customGas.loading=S.LOADING},swapGasPriceEstimatesFetchFailed:e=>{e.customGas.loading=S.FAILED},swapGasPriceEstimatesFetchCompleted:(e,t)=>{e.customGas.priceEstimates=t.payload.priceEstimates,e.customGas.loading=S.COMPLETED},retrievedFallbackSwapsGasPrice:(e,t)=>{e.customGas.fallBackPrice=t.payload},setCurrentSmartTransactionsError:(e,t)=>{const r=Object.values(l.StxErrorTypes).includes(t.payload)||t.payload===undefined?t.payload:l.StxErrorTypes.unavailable;e.currentSmartTransactionsError=r},setSwapsSTXSubmitLoading:(e,t)=>{e.swapsSTXLoading=t.payload||!1},setTransactionSettingsOpened:(e,t)=>{e.transactionSettingsOpened=Boolean(t.payload)}}}),{actions:O,reducer:P}=k;r.default=P;r.getAggregatorMetadata=e=>e.swaps.aggregatorMetadata;const N=e=>e.swaps.balanceError;r.getBalanceError=N;const I=e=>e.swaps.fromToken;r.getFromToken=I;r.getFromTokenError=e=>e.swaps.fromTokenError;r.getFromTokenInputValue=e=>e.swaps.fromTokenInputValue;r.getIsFeatureFlagLoaded=e=>e.swaps.isFeatureFlagLoaded;r.getSwapsSTXLoading=e=>e.swaps.swapsSTXLoading;r.getMaxSlippage=e=>e.swaps.maxSlippage;r.getTopAssets=e=>e.swaps.topAssets;const R=e=>e.swaps.toToken;r.getToToken=R;r.getFetchingQuotes=e=>e.swaps.fetchingQuotes;const C=e=>e.swaps.latestAddedTokenTo;r.getLatestAddedTokenTo=C;r.getQuotesFetchStartTime=e=>e.swaps.quotesFetchStartTime;r.getReviewSwapClickedTimestamp=e=>e.swaps.reviewSwapClickedTimestamp;const x=e=>e.swaps.customGas.price;r.getSwapsCustomizationModalPrice=x;r.getSwapsCustomizationModalLimit=e=>e.swaps.customGas.limit;r.swapGasPriceEstimateIsLoading=e=>e.swaps.customGas.loading===S.LOADING;r.swapGasEstimateLoadingHasFailed=e=>e.swaps.customGas.loading===S.INITIAL;const j=e=>e.swaps.customGas.priceEstimates;r.getSwapGasPriceEstimateData=j;const M=e=>e.swaps.customGas.fallBackPrice;r.getSwapsFallbackGasPrice=M;const L=e=>e.swaps.currentSmartTransactionsError;r.getCurrentSmartTransactionsError=L;r.getTransactionSettingsOpened=e=>e.swaps.transactionSettingsOpened;const D=e=>e.metamask.swapsState;r.getSwapsFeatureIsLive=e=>e.metamask.swapsState.swapsFeatureIsLive;r.getSmartTransactionsError=e=>e.appState.smartTransactionsError;r.getSmartTransactionsErrorMessageDismissed=e=>e.appState.smartTransactionsErrorMessageDismissed;const F=e=>{const t=(0,f.getSmartTransactionsEnabled)(e),r=L(e);return t&&!r};r.getCurrentSmartTransactionsEnabled=F;r.getSwapRedesignEnabled=e=>{var t;const r=null===(t=e.metamask.swapsState)||void 0===t||null===(t=t.swapsFeatureFlags)||void 0===t?void 0:t.swapRedesign;return r===undefined||r.extensionActive};r.getSwapsQuoteRefreshTime=e=>e.metamask.swapsState.swapsQuoteRefreshTime;r.getSwapsQuotePrefetchingRefreshTime=e=>e.metamask.swapsState.swapsQuotePrefetchingRefreshTime;r.getBackgroundSwapRouteState=e=>e.metamask.swapsState.routeState;const U=e=>e.metamask.swapsState.customMaxGas;r.getCustomSwapsGas=U;const B=e=>e.metamask.swapsState.customGasPrice;r.getCustomSwapsGasPrice=B;const G=e=>e.metamask.swapsState.customMaxFeePerGas;r.getCustomMaxFeePerGas=G;const H=e=>e.metamask.swapsState.customMaxPriorityFeePerGas;r.getCustomMaxPriorityFeePerGas=H;r.getSwapsUserFeeLevel=e=>e.metamask.swapsState.swapsUserFeeLevel;const W=e=>e.metamask.swapsState.fetchParams;r.getFetchParams=W;const $=e=>e.metamask.swapsState.quotes;r.getQuotes=$;r.getQuotesLastFetched=e=>e.metamask.swapsState.quotesLastFetched;const V=e=>{const{selectedAggId:t,quotes:r}=D(e);return r[t]};r.getSelectedQuote=V;r.getSwapsErrorKey=e=>{var t;return null===(t=D(e))||void 0===t?void 0:t.errorKey};r.getShowQuoteLoadingScreen=e=>e.swaps.showQuoteLoadingScreen;const K=e=>e.metamask.swapsState.tokens;r.getSwapsTokens=K;r.getSwapsWelcomeMessageSeenStatus=e=>e.metamask.swapsWelcomeMessageHasBeenShown;const z=e=>{const{topAggId:t,quotes:r}=D(e);return r[t]};r.getTopQuote=z;r.getApproveTxId=e=>e.metamask.swapsState.approveTxId;r.getTradeTxId=e=>e.metamask.swapsState.tradeTxId;const q=e=>V(e)||z(e);r.getUsedQuote=q;r.getDestinationTokenInfo=e=>{var t;return null===(t=W(e))||void 0===t||null===(t=t.metaData)||void 0===t?void 0:t.destinationTokenInfo};const Q=e=>B(e)||M(e);r.getUsedSwapsGasPrice=Q;const X=e=>{var t;const{approvalNeeded:r}=V(e)||z(e)||{};if(!r)return null;const n=(null===(t=D(e))||void 0===t?void 0:t.customApproveTxData)||r.data,o=Q(e);return{...r,gasPrice:o,data:n}};r.getApproveTxParams=X;const Y=e=>{var t;return null===(t=e.metamask.smartTransactionsState)||void 0===t||null===(t=t.smartTransactions)||void 0===t?void 0:t[(0,p.getCurrentChainId)(e)]};r.getCurrentSmartTransactions=Y;r.getPendingSmartTransactions=e=>{const t=Y(e);return t&&0!==t.length?t.filter((e=>e.status===g.SmartTransactionStatus.pending)):[]};r.getSmartTransactionFees=e=>{var t;return null===(t=e.metamask.smartTransactionsState)||void 0===t?void 0:t.fees};r.getSmartTransactionEstimatedGas=e=>{var t;return null===(t=e.metamask.smartTransactionsState)||void 0===t?void 0:t.estimatedGas};const J=e=>{const{swapsQuoteRefreshTime:t,swapsQuotePrefetchingRefreshTime:r,swapsStxGetTransactionsRefreshTime:n,swapsStxBatchStatusRefreshTime:o,swapsStxStatusDeadline:a,swapsStxMaxFeeMultiplier:s}=e.metamask.swapsState;return{quoteRefreshTime:t,quotePrefetchingRefreshTime:r,stxGetTransactionsRefreshTime:n,stxBatchStatusRefreshTime:o,stxStatusDeadline:a,stxMaxFeeMultiplier:s}};r.getSwapsNetworkConfig=J;const{clearSwapsState:Z,navigatedBackToBuildQuote:ee,retriedGetQuotes:te,swapGasPriceEstimatesFetchCompleted:re,swapGasPriceEstimatesFetchStarted:ne,swapGasPriceEstimatesFetchFailed:oe,setAggregatorMetadata:ae,setBalanceError:se,setFetchingQuotes:ie,setLatestAddedTokenTo:ce,setFromToken:ue,setFromTokenError:le,setFromTokenInputValue:de,setIsFeatureFlagLoaded:pe,setMaxSlippage:fe,setQuotesFetchStartTime:he,setReviewSwapClickedTimestamp:me,setTopAssets:ge,setToToken:ve,swapCustomGasModalPriceEdited:ye,swapCustomGasModalLimitEdited:Te,retrievedFallbackSwapsGasPrice:be,swapCustomGasModalClosed:_e,setCurrentSmartTransactionsError:we,setSwapsSTXSubmitLoading:Ee,setTransactionSettingsOpened:Se}=O;r.setTransactionSettingsOpened=Se,r.swapCustomGasModalClosed=_e,r.swapCustomGasModalLimitEdited=Te,r.swapCustomGasModalPriceEdited=ye,r.setSwapToToken=ve,r.setTopAssets=ge,r.setReviewSwapClickedTimestamp=me,r.setSwapQuotesFetchStartTime=he,r.setMaxSlippage=fe,r.setIsFeatureFlagLoaded=pe,r.setFromTokenInputValue=de,r.setFromTokenError=le,r.setSwapsFromToken=ue,r.setLatestAddedTokenTo=ce,r.setFetchingQuotes=ie,r.setBalanceError=se,r.setAggregatorMetadata=ae,r.clearSwapsState=Z;r.navigateBackToBuildQuote=e=>async t=>{await t((0,c.setBackgroundSwapRouteState)("")),t(ee()),e.push(u.BUILD_QUOTE_ROUTE)};r.prepareForRetryGetQuotes=()=>async e=>{await e((0,c.resetSwapsPostFetchState)()),e(te())};r.prepareToLeaveSwaps=()=>async e=>{e(Z()),await e((0,c.resetBackgroundSwapsState)())};r.swapsQuoteSelected=e=>t=>{t(Te(null)),t((0,c.setSelectedQuoteAggId)(e)),t((0,c.setSwapsTxGasLimit)(""))};const Ae=()=>async e=>{const t=await e(ke());null!=t&&t.fast&&e((0,c.setSwapsTxGasPrice)((0,d.decGWEIToHexWEI)(t.fast)))};r.fetchAndSetSwapsGasPriceInfo=Ae;r.fetchSwapsLivenessAndFeatureFlags=()=>async(e,t)=>{let r={swapsFeatureIsLive:!1};const n=t(),o=(0,p.getCurrentChainId)(n);try{const t=await(0,l.fetchSwapsFeatureFlags)();if(await e((0,c.setSwapsFeatureFlags)(t)),m.ALLOWED_SMART_TRANSACTIONS_CHAIN_IDS.includes(o)){var s;await e(we(undefined)),await e((0,c.fetchSmartTransactionsLiveness)());((e,t)=>{if(!((null==t?void 0:t.length)<=0))for(const r of t)if(g.IN_PROGRESS_TRANSACTION_STATUSES.includes(r.status)){e(we(l.StxErrorTypes.regularTxPending));break}})(e,await(0,c.getTransactions)({searchCriteria:{from:null===(s=(0,p.getSelectedInternalAccount)(n))||void 0===s?void 0:s.address}}))}r=(0,l.getSwapsLivenessForNetwork)(o,t)}catch(e){a.default.error("Failed to fetch Swaps feature flags and Swaps liveness, defaulting to false.",e)}return await e((0,c.setSwapsLiveness)(r)),e(pe(!0)),r};r.fetchQuotesAndSetQuoteState=(e,t,r,n,s)=>async(i,d)=>{var g,y,b;const _=d(),w=(0,p.getCurrentChainId)(_);let E={swapsFeatureIsLive:!1};try{const e=await(0,l.fetchSwapsFeatureFlags)();E=(0,l.getSwapsLivenessForNetwork)(w,e)}catch(e){a.default.error("Failed to fetch Swaps liveness, defaulting to false.",e)}if(await i((0,c.setSwapsLiveness)(E)),!E.swapsFeatureIsLive)return void await e.push(u.SWAPS_MAINTENANCE_ROUTE);const S=W(_),A=(0,p.getSelectedAccount)(_),k=(0,p.getSelectedNetworkClientId)(_),O=N(_),P=(0,p.getSwapsDefaultToken)(_),x=(null==S||null===(g=S.metaData)||void 0===g||null===(g=g.sourceTokenInfo)||void 0===g?void 0:g.symbol)===P.symbol?P:null==S||null===(y=S.metaData)||void 0===y?void 0:y.sourceTokenInfo,j=I(_)||x||{},M=R(_)||(null==S||null===(b=S.metaData)||void 0===b?void 0:b.destinationTokenInfo)||{},{address:L,symbol:D,decimals:U,iconUrl:B,balance:G}=j,{address:H,symbol:$,decimals:V,iconUrl:z}=M;s||(await i((0,c.setBackgroundSwapRouteState)("loading")),e.push(u.LOADING_QUOTES_ROUTE)),i(ie(!0));const q=(0,p.getTokenExchangeRates)(_);if(!H||$===P.symbol||q[H]!==undefined||(Q=H,X=(0,v.getTokens)(_),Array.isArray(X)&&X.find((e=>e.address.toLowerCase()===Q.toLowerCase())))){C(_)!==H&&await i(ce(""))}else await i((0,c.addToken)({address:H,symbol:$,decimals:V,image:z,networkClientId:k},!0)),await i(ce(H));var Q,X;L&&D!==P.symbol&&!q[L]&&G&&new o.default(G,16).gt(0)&&i((0,c.addToken)({address:L,symbol:D,decimals:U,image:B,networkClientId:k},!0));const Y=K(_),J=(null==Y?void 0:Y.find((({address:e})=>e===L)))||j,Z=(null==Y?void 0:Y.find((({address:e})=>e===H)))||M;i(ue(j));const ee=(0,p.isHardwareWallet)(_),te=(0,p.getHardwareWalletType)(_),re=(0,p.checkNetworkAndAccountSupports1559)(_),ne=(0,f.getSmartTransactionsOptInStatus)(_),oe=(0,f.getSmartTransactionsEnabled)(_),ae=F(_);n({event:"Quotes Requested",category:h.MetaMetricsEventCategory.Swaps,sensitiveProperties:{token_from:D,token_from_amount:String(t),token_to:$,request_type:O?"Quote":"Order",slippage:r,custom_slippage:r!==m.Slippage.default,is_hardware_wallet:ee,hardware_wallet_type:te,stx_enabled:oe,current_stx_enabled:ae,stx_user_opt_in:ne,anonymizedData:!0}});try{var se;const e=Date.now();i(he(e));const o=i((0,c.fetchAndSetQuotes)({slippage:r,sourceToken:L,destinationToken:H,value:t,fromAddress:A.address,balanceError:O,sourceDecimals:U},{sourceTokenInfo:J,destinationTokenInfo:Z,accountBalance:A.balance,chainId:w})),a=re?null:i(Ae()),[[s,u]]=await Promise.all([o,a]);if(0===(null===(se=Object.values(s))||void 0===se?void 0:se.length))n({event:"No Quotes Available",category:h.MetaMetricsEventCategory.Swaps,sensitiveProperties:{token_from:D,token_from_amount:String(t),token_to:$,request_type:O?"Quote":"Order",slippage:r,custom_slippage:r!==m.Slippage.default,is_hardware_wallet:ee,hardware_wallet_type:te,stx_enabled:oe,current_stx_enabled:ae,stx_user_opt_in:ne}}),i((0,c.setSwapsErrorKey)(m.QUOTES_NOT_AVAILABLE_ERROR));else{var le;const o=s[u],a=(0,T.calcTokenAmount)(o.destinationAmount,o.decimals||18).toString(10);n({event:"Quotes Received",category:h.MetaMetricsEventCategory.Swaps,sensitiveProperties:{token_from:D,token_from_amount:String(t),token_to:$,token_to_amount:a,request_type:O?"Quote":"Order",slippage:r,custom_slippage:r!==m.Slippage.default,response_time:Date.now()-e,best_quote_source:o.aggregator,available_quotes:null===(le=Object.values(s))||void 0===le?void 0:le.length,is_hardware_wallet:ee,hardware_wallet_type:te,stx_enabled:oe,current_stx_enabled:ae,stx_user_opt_in:ne,anonymizedData:!0}}),i((0,c.setInitialGasEstimate)(u))}}catch(e){if(e.message===m.SWAPS_FETCH_ORDER_CONFLICT)return void a.default.debug("Swap fetch order conflict detected; ignoring older request");a.default.error("Error fetching quotes: ",e),i((0,c.setSwapsErrorKey)(m.ERROR_FETCHING_QUOTES))}i(ie(!1))};r.signAndSendSwapsSmartTransaction=({unsignedTransaction:e,trackEvent:t,history:r,additionalTrackingParams:n})=>async(o,g)=>{var v,b,_,w,E,S,A,k;o(Ee(!0));const O=g(),P=W(O),{metaData:N,value:I,slippage:R}=P,{sourceTokenInfo:C={},destinationTokenInfo:x={}}=N,j=q(O),M=J(O),L=(0,p.getCurrentChainId)(O);o((0,c.setSmartTransactionsRefreshInterval)(null==M?void 0:M.stxBatchStatusRefreshTime));const D=j.trade,U=(0,T.calcTokenAmount)(j.destinationAmount,x.decimals||18).toPrecision(8),B=(0,f.getSmartTransactionsOptInStatus)(O),G=(0,f.getSmartTransactionsEnabled)(O),H=F(O),V={token_from:C.symbol,token_from_amount:String(I),token_to:x.symbol,token_to_amount:U,slippage:R,custom_slippage:2!==R,best_quote_source:null===(v=z(O))||void 0===v?void 0:v.aggregator,available_quotes:null===(b=$(O))||void 0===b?void 0:b.length,other_quote_selected:j.aggregator!==(null===(_=z(O))||void 0===_?void 0:_.aggregator),other_quote_selected_source:j.aggregator===(null===(w=z(O))||void 0===w?void 0:w.aggregator)?"":j.aggregator,average_savings:null===(E=j.savings)||void 0===E?void 0:E.total,performance_savings:null===(S=j.savings)||void 0===S?void 0:S.performance,fee_savings:null===(A=j.savings)||void 0===A?void 0:A.fee,median_metamask_fee:null===(k=j.savings)||void 0===k?void 0:k.medianMetaMaskFee,stx_enabled:G,current_stx_enabled:H,stx_user_opt_in:B,...n};if(t({event:"STX Swap Started",category:h.MetaMetricsEventCategory.Swaps,sensitiveProperties:V}),!(0,l.isContractAddressValid)(D.to,L))return(0,s.captureMessage)("Invalid contract address",{extra:{token_from:V.token_from,token_to:V.token_to,contract_address:D.to}}),await o((0,c.setSwapsErrorKey)(m.SWAP_FAILED_ERROR)),void r.push(u.SWAPS_ERROR_ROUTE);const K=X(O);let Q,Y;try{var Z;K&&(Y={...K,value:"0x0"});const t=await o(Oe({unsignedTransaction:e,approveTxParams:Y,fallbackOnNotEnoughFunds:!0}));if(!t)return a.default.error('"fetchSwapsSmartTransactionFees" failed'),o(Ee(!1)),void o(we(l.StxErrorTypes.unavailable));var ee;if(K)Y.gas=`0x${(0,d.decimalToHex)((null===(ee=t.approvalTxFees)||void 0===ee?void 0:ee.gasLimit)||0)}`,Y.chainId=L,Q=await o((0,c.signAndSendSmartTransaction)({unsignedTransaction:Y,smartTransactionFees:t.approvalTxFees}));e.gas=`0x${(0,d.decimalToHex)((null===(Z=t.tradeTxFees)||void 0===Z?void 0:Z.gasLimit)||0)}`,e.chainId=L;const n=await o((0,c.signAndSendSmartTransaction)({unsignedTransaction:e,smartTransactionFees:t.tradeTxFees})),s=x.address,p=x.decimals,f=x.symbol,h=C.symbol;await o((0,c.updateSmartTransaction)(n,{origin:y.ORIGIN_METAMASK,destinationTokenAddress:s,destinationTokenDecimals:p,destinationTokenSymbol:f,sourceTokenSymbol:h,swapMetaData:V,swapTokenValue:I,type:i.TransactionType.swap})),Q&&await o((0,c.updateSmartTransaction)(Q,{origin:y.ORIGIN_METAMASK,type:i.TransactionType.swapApproval,sourceTokenSymbol:h})),r.push(u.SMART_TRANSACTION_STATUS_ROUTE),o(Ee(!1))}catch(e){console.log("signAndSendSwapsSmartTransaction error",e);const{swaps:{isFeatureFlagLoaded:t}}=g();if(e.message.startsWith("Fetch error:")&&t){const t=(0,l.parseSmartTransactionsError)(e.message);o(we(null==t?void 0:t.error))}}};function ke(){return async(e,t)=>{const r=t(),n=(0,p.getCurrentChainId)(r);let o;e(ne());try{o=await(0,l.fetchSwapsGasPrices)(n)}catch(t){var s;if(a.default.warn("Fetching swaps gas prices failed:",t),null===(s=t.message)||void 0===s||!s.match(/NetworkError|Fetch failed with status:/u))throw t;e(oe());try{const t=await global.ethQuery.gasPrice(),r=(0,d.hexWEIToDecGWEI)(t.toString(10));return e(be(r)),null}catch(e){return console.error("Failed to retrieve fallback gas price: ",e),null}}return e(re({priceEstimates:o})),o}}function Oe({unsignedTransaction:e,approveTxParams:t,fallbackOnNotEnoughFunds:r=!1}){return async(n,o)=>{const{swaps:{isFeatureFlagLoaded:a}}=o();try{return await n((0,c.fetchSmartTransactionFees)(e,t))}catch(e){if(e.message.startsWith("Fetch error:")&&a){const t=(0,l.parseSmartTransactionsError)(e.message);(r||(null==t?void 0:t.error)!==l.StxErrorTypes.notEnoughFunds)&&n(we(null==t?void 0:t.error))}}return null}}r.signAndSendTransactions=(e,t,r)=>async(n,g)=>{var y,b,_,E,S,A,k,O,P;const N=g(),I=(0,p.getCurrentChainId)(N),R=(0,p.isHardwareWallet)(N),C=(0,p.checkNetworkAndAccountSupports1559)(N);let x={swapsFeatureIsLive:!1};try{const e=await(0,l.fetchSwapsFeatureFlags)();x=(0,l.getSwapsLivenessForNetwork)(I,e)}catch(e){a.default.error("Failed to fetch Swaps liveness, defaulting to false.",e)}if(await n((0,c.setSwapsLiveness)(x)),!x.swapsFeatureIsLive)return void await e.push(u.SWAPS_MAINTENANCE_ROUTE);const M=U(N),L=G(N),D=H(N),B=W(N),{metaData:V,value:K,slippage:Y}=B,{sourceTokenInfo:J={},destinationTokenInfo:Z={}}=V;await n((0,c.setBackgroundSwapRouteState)("awaiting")),await n((0,c.stopPollingForQuotes)()),R||e.push(u.AWAITING_SWAP_ROUTE);const{fast:ee}=j(N);let te,re,ne,oe;if(C){const{high:{suggestedMaxFeePerGas:e,suggestedMaxPriorityFeePerGas:t},estimatedBaseFee:r="0"}=(0,v.getGasFeeEstimates)(N);oe=(0,d.decGWEIToHexWEI)(r),te=L||(0,d.decGWEIToHexWEI)(e),re=D||(0,d.decGWEIToHexWEI)(t),ne=(0,d.addHexes)(oe,re)}const ae=q(N),se=ae.trade,ie=new o.default((null==ae?void 0:ae.gasEstimate)||0,16).round(0).toString(16),ce=(0,w.calculateMaxGasLimit)(null==ae?void 0:ae.gasEstimate,null==ae?void 0:ae.gasMultiplier,null==ae?void 0:ae.maxGas,M),ue=Q(N);se.gas=ce,C?(se.maxFeePerGas=te,se.maxPriorityFeePerGas=re,delete se.gasPrice):se.gasPrice=ue;const le=(0,p.getUSDConversionRate)(N),de=(0,T.calcTokenAmount)(ae.destinationAmount,Z.decimals||18).toPrecision(8),pe=(null==ae?void 0:ae.gasEstimateWithRefund)||`0x${(0,d.decimalToHex)((null==ae?void 0:ae.averageGas)||0)}`,fe=new o.default(pe,16).plus((null===(y=ae.approvalNeeded)||void 0===y?void 0:y.gas)||"0x0",16).toString(16),he=(0,d.getValueFromWeiHex)({value:(0,T.calcGasTotal)(fe,C?ne:ue),toCurrency:"usd",conversionRate:le,numberOfDecimals:6}),me=(0,f.getSmartTransactionsOptInStatus)(N),ge=(0,f.getSmartTransactionsEnabled)(N),ve=F(N),ye={token_from:J.symbol,token_from_amount:String(K),token_to:Z.symbol,token_to_amount:de,slippage:Y,custom_slippage:2!==Y,best_quote_source:null===(b=z(N))||void 0===b?void 0:b.aggregator,available_quotes:null===(_=$(N))||void 0===_?void 0:_.length,other_quote_selected:ae.aggregator!==(null===(E=z(N))||void 0===E?void 0:E.aggregator),other_quote_selected_source:ae.aggregator===(null===(S=z(N))||void 0===S?void 0:S.aggregator)?"":ae.aggregator,gas_fees:he,estimated_gas:new o.default(ie,16).toString(10),suggested_gas_price:ee,used_gas_price:(0,d.hexWEIToDecGWEI)(ue),average_savings:null===(A=ae.savings)||void 0===A?void 0:A.total,performance_savings:null===(k=ae.savings)||void 0===k?void 0:k.performance,fee_savings:null===(O=ae.savings)||void 0===O?void 0:O.fee,median_metamask_fee:null===(P=ae.savings)||void 0===P?void 0:P.medianMetaMaskFee,is_hardware_wallet:R,hardware_wallet_type:(0,p.getHardwareWalletType)(N),stx_enabled:ge,current_stx_enabled:ve,stx_user_opt_in:me,...r};if(C&&(ye.max_fee_per_gas=te,ye.max_priority_fee_per_gas=re,ye.base_and_priority_fee_per_gas=ne),t({event:h.MetaMetricsEventName.SwapStarted,category:h.MetaMetricsEventCategory.Swaps,sensitiveProperties:ye}),!(0,l.isContractAddressValid)(se.to,I))return(0,s.captureMessage)("Invalid contract address",{extra:{token_from:ye.token_from,token_to:ye.token_to,contract_address:se.to}}),await n((0,c.setSwapsErrorKey)(m.SWAP_FAILED_ERROR)),void e.push(u.SWAPS_ERROR_ROUTE);let Te;const be=X(N);if(R&&e.push(u.AWAITING_SIGNATURES_ROUTE),be){C&&(be.maxFeePerGas=te,be.maxPriorityFeePerGas=re,delete be.gasPrice);try{Te=await(0,c.addTransactionAndWaitForPublish)({...be,amount:"0x0"},{requireApproval:!1,type:i.TransactionType.swapApproval,swaps:{hasApproveTx:!0,meta:{type:i.TransactionType.swapApproval,sourceTokenSymbol:J.symbol}}})}catch(t){return await n((0,c.setSwapsErrorKey)(m.SWAP_FAILED_ERROR)),void e.push(u.SWAPS_ERROR_ROUTE)}}try{var _e;await(0,c.addTransactionAndWaitForPublish)(se,{requireApproval:!1,type:i.TransactionType.swap,swaps:{hasApproveTx:Boolean(be),meta:{estimatedBaseFee:oe,sourceTokenSymbol:J.symbol,destinationTokenSymbol:Z.symbol,type:i.TransactionType.swap,destinationTokenDecimals:Z.decimals,destinationTokenAddress:Z.address,swapMetaData:ye,swapTokenValue:K,approvalTxId:null===(_e=Te)||void 0===_e?void 0:_e.id}}})}catch(t){const r=t.message.includes("EthAppPleaseEnableContractData")?m.CONTRACT_DATA_DISABLED_ERROR:m.SWAP_FAILED_ERROR;return console.error(t),await n((0,c.setSwapsErrorKey)(r)),void e.push(u.SWAPS_ERROR_ROUTE)}R&&e.push(u.AWAITING_SWAP_ROUTE),await(0,c.forceUpdateMetamaskState)(n)}}}},{package:"$root$",file:"ui/ducks/swaps/swaps.js"}],[5353,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.SUPPORT_REQUEST_LINK=r.SECONDARY=r.PRIMARY=r.PASSWORD_MIN_LENGTH=r.OUTDATED_BROWSER_VERSIONS=r.METAMETRICS_SETTINGS_LINK=r.FIXED_PRERENDER_BROWSER_VERSIONS=r.CONTRACT_ADDRESS_LINK=r.BROKEN_PRERENDER_BROWSER_VERSIONS=void 0;r.PRIMARY="PRIMARY",r.SECONDARY="SECONDARY",r.METAMETRICS_SETTINGS_LINK="https://support.metamask.io/privacy-and-security/how-to-manage-your-metametrics-settings",r.SUPPORT_REQUEST_LINK="https://metamask-flask.zendesk.com/hc/en-us/requests/new",r.CONTRACT_ADDRESS_LINK="https://metamask.zendesk.com/hc/en-us/articles/360020028092-What-is-the-known-contract-address-warning-",r.PASSWORD_MIN_LENGTH=8,r.OUTDATED_BROWSER_VERSIONS={chrome:"<109",edge:"<109",firefox:"<91",opera:"<95"},r.BROKEN_PRERENDER_BROWSER_VERSIONS={chrome:">=113",edge:">=113"},r.FIXED_PRERENDER_BROWSER_VERSIONS={windows:{chrome:">=120",edge:">=120"},macos:{chrome:">=120",edge:">=120"},chrome:">=121",edge:">=121"}}}},{package:"$root$",file:"ui/helpers/constants/common.ts"}],[5355,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.TypographyVariant=r.TextVariant=r.TextTransform=r.TextColor=r.TextAlign=r.TEXT_TRANSFORM=r.TEXT_ALIGN=r.Size=r.Severity=r.SEVERITIES=r.OverflowWrap=r.OVERFLOW_WRAP=r.JustifyContent=r.IconColor=r.FontWeight=r.FontStyle=r.FlexWrap=r.FlexDirection=r.FRACTIONS=r.FONT_WEIGHT=r.FONT_STYLE=r.FLEX_WRAP=r.FLEX_DIRECTION=r.Display=r.DISPLAY=r.Color=r.BorderStyle=r.BorderRadius=r.BorderColor=r.BlockSize=r.BackgroundColor=r.BREAKPOINTS=r.BLOCK_SIZES=r.AlignItems=void 0;r.Color=function(e){return e.backgroundDefault="background-default",e.backgroundAlternative="background-alternative",e.textDefault="text-default",e.textAlternative="text-alternative",e.textMuted="text-muted",e.iconDefault="icon-default",e.iconAlternative="icon-alternative",e.iconMuted="icon-muted",e.borderDefault="border-default",e.borderMuted="border-muted",e.overlayDefault="overlay-default",e.overlayInverse="overlay-inverse",e.primaryDefault="primary-default",e.primaryAlternative="primary-alternative",e.primaryMuted="primary-muted",e.primaryInverse="primary-inverse",e.errorDefault="error-default",e.errorAlternative="error-alternative",e.errorMuted="error-muted",e.errorInverse="error-inverse",e.warningDefault="warning-default",e.warningAlternative="warning-alternative",e.warningMuted="warning-muted",e.warningInverse="warning-inverse",e.warningDisabled="warning-disabled",e.successDefault="success-default",e.successAlternative="success-alternative",e.successMuted="success-muted",e.successInverse="success-inverse",e.successDisabled="success-disabled",e.infoDefault="info-default",e.infoAlternative="info-alternative",e.infoMuted="info-muted",e.infoInverse="info-inverse",e.infoDisabled="info-disabled",e.mainnet="mainnet",e.goerli="goerli",e.sepolia="sepolia",e.lineaGoerli="linea-goerli",e.lineaGoerliInverse="linea-goerli-inverse",e.lineaSepolia="linea-sepolia",e.lineaSepoliaInverse="linea-sepolia-inverse",e.lineaMainnet="linea-mainnet",e.lineaMainnetInverse="linea-mainnet-inverse",e.transparent="transparent",e.localhost="localhost",e.inherit="inherit",e.goerliInverse="goerli-inverse",e.sepoliaInverse="sepolia-inverse",e}({}),r.BackgroundColor=function(e){return e.backgroundDefault="background-default",e.backgroundAlternative="background-alternative",e.overlayDefault="overlay-default",e.overlayAlternative="overlay-alternative",e.primaryDefault="primary-default",e.primaryAlternative="primary-alternative",e.primaryMuted="primary-muted",e.errorDefault="error-default",e.errorAlternative="error-alternative",e.errorMuted="error-muted",e.warningDefault="warning-default",e.warningAlternative="warning-alternative",e.warningMuted="warning-muted",e.successDefault="success-default",e.successAlternative="success-alternative",e.successMuted="success-muted",e.infoDefault="info-default",e.infoAlternative="info-alternative",e.infoMuted="info-muted",e.mainnet="mainnet",e.goerli="goerli",e.sepolia="sepolia",e.lineaGoerli="linea-goerli",e.lineaSepolia="linea-sepolia",e.lineaMainnet="linea-mainnet",e.transparent="transparent",e.localhost="localhost",e}({}),r.BorderColor=function(e){return e.borderDefault="border-default",e.borderMuted="border-muted",e.primaryDefault="primary-default",e.primaryAlternative="primary-alternative",e.primaryMuted="primary-muted",e.errorDefault="error-default",e.errorAlternative="error-alternative",e.errorMuted="error-muted",e.warningDefault="warning-default",e.warningAlternative="warning-alternative",e.warningMuted="warning-muted",e.successDefault="success-default",e.successAlternative="success-alternative",e.successMuted="success-muted",e.infoDefault="info-default",e.infoAlternative="info-alternative",e.infoMuted="info-muted",e.mainnet="mainnet",e.goerli="goerli",e.sepolia="sepolia",e.lineaGoerli="linea-goerli",e.lineaSepolia="linea-sepolia",e.lineaMainnet="linea-mainnet",e.transparent="transparent",e.localhost="localhost",e.backgroundDefault="background-default",e}({}),r.TextColor=function(e){return e.textDefault="text-default",e.textAlternative="text-alternative",e.textMuted="text-muted",e.overlayInverse="overlay-inverse",e.primaryDefault="primary-default",e.primaryInverse="primary-inverse",e.errorDefault="error-default",e.errorAlternative="error-alternative",e.errorInverse="error-inverse",e.successDefault="success-default",e.successInverse="success-inverse",e.warningDefault="warning-default",e.warningInverse="warning-inverse",e.infoDefault="info-default",e.infoInverse="info-inverse",e.inherit="inherit",e.goerli="goerli",e.sepolia="sepolia",e.lineaGoerli="linea-goerli",e.lineaGoerliInverse="linea-goerli-inverse",e.lineaSepolia="linea-sepolia",e.lineaSepoliaInverse="linea-sepolia-inverse",e.lineaMainnet="linea-mainnet",e.lineaMainnetInverse="linea-mainnet-inverse",e.goerliInverse="goerli-inverse",e.sepoliaInverse="sepolia-inverse",e.transparent="transparent",e}({}),r.IconColor=function(e){return e.iconDefault="icon-default",e.iconAlternative="icon-alternative",e.iconMuted="icon-muted",e.overlayInverse="overlay-inverse",e.primaryDefault="primary-default",e.primaryInverse="primary-inverse",e.errorDefault="error-default",e.errorInverse="error-inverse",e.successDefault="success-default",e.successInverse="success-inverse",e.warningDefault="warning-default",e.warningInverse="warning-inverse",e.infoDefault="info-default",e.infoInverse="info-inverse",e.inherit="inherit",e.goerli="goerli",e.sepolia="sepolia",e.lineaGoerli="linea-goerli",e.lineaGoerliInverse="linea-goerli-inverse",e.lineaSepolia="linea-sepolia",e.lineaSepoliaInverse="linea-sepolia-inverse",e.lineaMainnet="linea-mainnet",e.lineaMainnetInverse="linea-mainnet-inverse",e.goerliInverse="goerli-inverse",e.sepoliaInverse="sepolia-inverse",e.transparent="transparent",e}({}),r.TypographyVariant=function(e){return e.H1="h1",e.H2="h2",e.H3="h3",e.H4="h4",e.H5="h5",e.H6="h6",e.H7="h7",e.H8="h8",e.H9="h9",e.paragraph="p",e.span="span",e}({}),r.TextVariant=function(e){return e.displayMd="display-md",e.headingLg="heading-lg",e.headingMd="heading-md",e.headingSm="heading-sm",e.bodyLgMedium="body-lg-medium",e.bodyMd="body-md",e.bodyMdMedium="body-md-medium",e.bodyMdBold="body-md-bold",e.bodySm="body-sm",e.bodySmMedium="body-sm-medium",e.bodySmBold="body-sm-bold",e.bodyXs="body-xs",e.bodyXsMedium="body-xs-medium",e.inherit="inherit",e}({}),r.Size=function(e){return e.XXS="xxs",e.XS="xs",e.SM="sm",e.MD="md",e.LG="lg",e.XL="xl",e.inherit="inherit",e.auto="auto",e}({}),r.BorderStyle=function(e){return e.dashed="dashed",e.solid="solid",e.dotted="dotted",e.double="double",e.none="none",e}({}),r.BorderRadius=function(e){return e.XS="xs",e.SM="sm",e.MD="md",e.LG="lg",e.XL="xl",e.none="none",e.pill="pill",e.full="full",e}({}),r.AlignItems=function(e){return e.flexStart="flex-start",e.flexEnd="flex-end",e.center="center",e.baseline="baseline",e.stretch="stretch",e}({}),r.JustifyContent=function(e){return e.flexStart="flex-start",e.flexEnd="flex-end",e.center="center",e.spaceAround="space-around",e.spaceBetween="space-between",e.spaceEvenly="space-evenly",e}({}),r.FlexDirection=function(e){return e.Row="row",e.RowReverse="row-reverse",e.Column="column",e.ColumnReverse="column-reverse",e}({});r.FLEX_DIRECTION={ROW:"row",ROW_REVERSE:"row-reverse",COLUMN:"column",COLUMN_REVERSE:"column-reverse"};r.FlexWrap=function(e){return e.Wrap="wrap",e.WrapReverse="wrap-reverse",e.NoWrap="nowrap",e}({});r.FLEX_WRAP={WRAP:"wrap",WRAP_REVERSE:"wrap-reverse",NO_WRAP:"nowrap"};r.Display=function(e){return e.Block="block",e.Flex="flex",e.Grid="grid",e.InlineBlock="inline-block",e.Inline="inline",e.InlineFlex="inline-flex",e.InlineGrid="inline-grid",e.ListItem="list-item",e.None="none",e}({});r.DISPLAY={BLOCK:"block",FLEX:"flex",GRID:"grid",INLINE_BLOCK:"inline-block",INLINE:"inline",INLINE_FLEX:"inline-flex",INLINE_GRID:"inline-grid",LIST_ITEM:"list-item",NONE:"none"};const n=r.FRACTIONS={HALF:"1/2",ONE_THIRD:"1/3",TWO_THIRDS:"2/3",ONE_FOURTH:"1/4",TWO_FOURTHS:"2/4",THREE_FOURTHS:"3/4",ONE_FIFTH:"1/5",TWO_FIFTHS:"2/5",THREE_FIFTHS:"3/5",FOUR_FIFTHS:"4/5",ONE_SIXTH:"1/6",TWO_SIXTHS:"2/6",THREE_SIXTHS:"3/6",FOUR_SIXTHS:"4/6",FIVE_SIXTHS:"5/6",ONE_TWELFTH:"1/12",TWO_TWELFTHS:"2/12",THREE_TWELFTHS:"3/12",FOUR_TWELFTHS:"4/12",FIVE_TWELFTHS:"5/12",SIX_TWELFTHS:"6/12",SEVEN_TWELFTHS:"7/12",EIGHT_TWELFTHS:"8/12",NINE_TWELFTHS:"9/12",TEN_TWELFTHS:"10/12",ELEVEN_TWELFTHS:"11/12"};r.BlockSize=function(e){return e.Zero="0",e.Half="1/2",e.OneThird="1/3",e.TwoThirds="2/3",e.OneFourth="1/4",e.TwoFourths="2/4",e.ThreeFourths="3/4",e.OneFifth="1/5",e.TwoFifths="2/5",e.ThreeFifths="3/5",e.FourFifths="4/5",e.OneSixth="1/6",e.TwoSixths="2/6",e.ThreeSixths="3/6",e.FourSixths="4/6",e.FiveSixths="5/6",e.OneTwelfth="1/12",e.TwoTwelfths="2/12",e.ThreeTwelfths="3/12",e.FourTwelfths="4/12",e.FiveTwelfths="5/12",e.SixTwelfths="6/12",e.SevenTwelfths="7/12",e.EightTwelfths="8/12",e.NineTwelfths="9/12",e.TenTwelfths="10/12",e.ElevenTwelfths="11/12",e.Screen="screen",e.Max="max",e.Min="min",e.Full="full",e}({});r.BLOCK_SIZES={...n,SCREEN:"screen",MAX:"max",MIN:"min",FULL:"full"};r.TextAlign=function(e){return e.Left="left",e.Center="center",e.Right="right",e.Justify="justify",e.End="end",e.Start="start",e}({});r.TEXT_ALIGN={LEFT:"left",CENTER:"center",RIGHT:"right",JUSTIFY:"justify",END:"end",START:"start"};r.TextTransform=function(e){return e.Uppercase="uppercase",e.Lowercase="lowercase",e.Capitalize="capitalize",e}({});r.TEXT_TRANSFORM={UPPERCASE:"uppercase",LOWERCASE:"lowercase",CAPITALIZE:"capitalize"};r.FontWeight=function(e){return e.Bold="bold",e.Medium="medium",e.Normal="normal",e}({});r.FONT_WEIGHT={BOLD:"bold",MEDIUM:"medium",NORMAL:"normal"};r.OverflowWrap=function(e){return e.BreakWord="break-word",e.Anywhere="anywhere",e.Normal="normal",e}({});r.OVERFLOW_WRAP={BREAK_WORD:"break-word",ANYWHERE:"anywhere",NORMAL:"normal"};r.FontStyle=function(e){return e.Italic="italic",e.Normal="normal",e}({});r.FONT_STYLE={ITALIC:"italic",NORMAL:"normal"};r.Severity=function(e){return e.Danger="danger",e.Warning="warning",e.Info="info",e.Success="success",e}({});r.SEVERITIES={DANGER:"danger",WARNING:"warning",INFO:"info",SUCCESS:"success"},r.BREAKPOINTS=["base","sm","md","lg"]}}},{package:"$root$",file:"ui/helpers/constants/design-system.ts"}],[5356,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.USER_OP_CONTRACT_DEPLOY_ERROR_KEY=r.UNSENDABLE_ASSET_ERROR_KEY=r.TRANSACTION_ERROR_KEY=r.IS_SIGNING_OR_SUBMITTING=r.INVALID_ASSET_TYPE=r.INSUFFICIENT_FUNDS_FOR_GAS_ERROR_KEY=r.INSUFFICIENT_FUNDS_ERROR_KEY=r.GAS_PRICE_FETCH_FAILURE_ERROR_KEY=r.GAS_PRICE_EXCESSIVE_ERROR_KEY=r.GAS_LIMIT_TOO_LOW_ERROR_KEY=r.ETH_GAS_PRICE_FETCH_WARNING_KEY=void 0;r.INSUFFICIENT_FUNDS_ERROR_KEY="insufficientFunds",r.GAS_LIMIT_TOO_LOW_ERROR_KEY="gasLimitTooLow",r.TRANSACTION_ERROR_KEY="transactionError",r.ETH_GAS_PRICE_FETCH_WARNING_KEY="ethGasPriceFetchWarning",r.GAS_PRICE_FETCH_FAILURE_ERROR_KEY="gasPriceFetchFailed",r.GAS_PRICE_EXCESSIVE_ERROR_KEY="gasPriceExcessive",r.UNSENDABLE_ASSET_ERROR_KEY="unsendableAsset",r.INSUFFICIENT_FUNDS_FOR_GAS_ERROR_KEY="insufficientFundsForGas",r.INVALID_ASSET_TYPE="invalidAssetType",r.IS_SIGNING_OR_SUBMITTING="isSigningOrSubmitting",r.USER_OP_CONTRACT_DEPLOY_ERROR_KEY="userOpContractDeployError"}}},{package:"$root$",file:"ui/helpers/constants/error-keys.js"}],[5359,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.NOTIFICATIONS_EXPIRATION_DELAY=void 0;r.NOTIFICATIONS_EXPIRATION_DELAY=1e4}}},{package:"$root$",file:"ui/helpers/constants/notifications.ts"}],[536,{"./_version":535,"@ethersproject/bytes":476,"@ethersproject/logger":504},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.decode=r.encode=void 0;var n=e("@ethersproject/bytes"),o=e("@ethersproject/logger"),a=e("./_version"),s=new o.Logger(a.version);function i(e){for(var t=[];e;)t.unshift(255&e),e>>=8;return t}function c(e,t,r){for(var n=0,o=0;ot+1+n&&s.throwError("child data too short",o.Logger.errors.BUFFER_OVERRUN,{})}return{consumed:1+n,result:a}}function d(e,t){if(0===e.length&&s.throwError("data too short",o.Logger.errors.BUFFER_OVERRUN,{}),e[t]>=248){t+1+(i=e[t]-247)>e.length&&s.throwError("data short segment too short",o.Logger.errors.BUFFER_OVERRUN,{});var r=c(e,t+1,i);return t+1+i+r>e.length&&s.throwError("data long segment too short",o.Logger.errors.BUFFER_OVERRUN,{}),l(e,t,t+1+i,i+r)}if(e[t]>=192){var a=e[t]-192;return t+1+a>e.length&&s.throwError("data array too short",o.Logger.errors.BUFFER_OVERRUN,{}),l(e,t,t+1,a)}if(e[t]>=184){var i;t+1+(i=e[t]-183)>e.length&&s.throwError("data array too short",o.Logger.errors.BUFFER_OVERRUN,{});var u=c(e,t+1,i);return t+1+i+u>e.length&&s.throwError("data array too short",o.Logger.errors.BUFFER_OVERRUN,{}),{consumed:1+i+u,result:(0,n.hexlify)(e.slice(t+1+i,t+1+i+u))}}if(e[t]>=128){var d=e[t]-128;return t+1+d>e.length&&s.throwError("data too short",o.Logger.errors.BUFFER_OVERRUN,{}),{consumed:1+d,result:(0,n.hexlify)(e.slice(t+1,t+1+d))}}return{consumed:1,result:(0,n.hexlify)(e[t])}}r.encode=function(e){return(0,n.hexlify)(u(e))},r.decode=function(e){var t=(0,n.arrayify)(e),r=d(t,0);return r.consumed!==t.length&&s.throwArgumentError("invalid rlp data","data",e),r.result}}}},{package:"@ethersproject/providers>@ethersproject/rlp",file:"node_modules/@ethersproject/rlp/lib/index.js"}],[5360,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.PRIVACY_POLICY_DATE=void 0;r.PRIVACY_POLICY_DATE="2024-06-18T12:00:00Z"}}},{package:"$root$",file:"ui/helpers/constants/privacy-policy.ts"}],[5361,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.VIEW_QUOTE_ROUTE=r.UNLOCK_ROUTE=r.TOKEN_DETAILS=r.SWAPS_ROUTE=r.SWAPS_NOTIFICATION_ROUTE=r.SWAPS_MAINTENANCE_ROUTE=r.SWAPS_ERROR_ROUTE=r.SNAPS_VIEW_ROUTE=r.SNAPS_ROUTE=r.SMART_TRANSACTION_STATUS_ROUTE=r.SIGNATURE_REQUEST_PATH=r.SETTINGS_ROUTE=r.SEND_ROUTE=r.SECURITY_ROUTE=r.REVEAL_SEED_ROUTE=r.RESTORE_VAULT_ROUTE=r.PREPARE_SWAP_ROUTE=r.PERMISSIONS=r.PATH_NAME_MAP=r.ONBOARDING_WELCOME_ROUTE=r.ONBOARDING_UNLOCK_ROUTE=r.ONBOARDING_SECURE_YOUR_WALLET_ROUTE=r.ONBOARDING_ROUTE=r.ONBOARDING_REVIEW_SRP_ROUTE=r.ONBOARDING_PRIVACY_SETTINGS_ROUTE=r.ONBOARDING_PIN_EXTENSION_ROUTE=r.ONBOARDING_METAMETRICS=r.ONBOARDING_IMPORT_WITH_SRP_ROUTE=r.ONBOARDING_HELP_US_IMPROVE_ROUTE=r.ONBOARDING_EXPERIMENTAL_AREA=r.ONBOARDING_CREATE_PASSWORD_ROUTE=r.ONBOARDING_CONFIRM_SRP_ROUTE=r.ONBOARDING_COMPLETION_ROUTE=r.NOTIFICATIONS_SETTINGS_ROUTE=r.NOTIFICATIONS_ROUTE=r.NEW_ACCOUNT_ROUTE=r.NETWORKS_ROUTE=r.NETWORKS_FORM_ROUTE=r.MMI_ONBOARDING_COMPLETION_ROUTE=r.LOCK_ROUTE=r.LOADING_QUOTES_ROUTE=r.INITIALIZE_EXPERIMENTAL_AREA=r.IMPORT_TOKEN_ROUTE=r.IMPORT_TOKENS_ROUTE=r.GENERAL_ROUTE=r.EXPERIMENTAL_ROUTE=r.ENCRYPTION_PUBLIC_KEY_REQUEST_PATH=r.DEVELOPER_OPTIONS_ROUTE=r.DESKTOP_PAIRING_ROUTE=r.DESKTOP_ERROR_ROUTE=r.DEFAULT_ROUTE=r.DECRYPT_MESSAGE_REQUEST_PATH=r.CONTACT_VIEW_ROUTE=r.CONTACT_LIST_ROUTE=r.CONTACT_EDIT_ROUTE=r.CONTACT_ADD_ROUTE=r.CONNECT_SNAP_UPDATE_ROUTE=r.CONNECT_SNAP_RESULT_ROUTE=r.CONNECT_SNAP_INSTALL_ROUTE=r.CONNECT_SNAPS_CONNECT_ROUTE=r.CONNECT_ROUTE=r.CONNECT_HARDWARE_ROUTE=r.CONNECT_CONFIRM_PERMISSIONS_ROUTE=r.CONNECTIONS=r.CONNECTED_ROUTE=r.CONNECTED_ACCOUNTS_ROUTE=r.CONFIRM_TRANSFER_FROM_PATH=r.CONFIRM_TRANSACTION_ROUTE=r.CONFIRM_TOKEN_METHOD_PATH=r.CONFIRM_SET_APPROVAL_FOR_ALL_PATH=r.CONFIRM_SEND_TOKEN_PATH=r.CONFIRM_SEND_ETHER_PATH=r.CONFIRM_SAFE_TRANSFER_FROM_PATH=r.CONFIRM_INCREASE_ALLOWANCE_PATH=r.CONFIRM_IMPORT_TOKEN_ROUTE=r.CONFIRM_DEPLOY_CONTRACT_PATH=r.CONFIRM_APPROVE_PATH=r.CONFIRM_ADD_SUGGESTED_TOKEN_ROUTE=r.CONFIRM_ADD_SUGGESTED_NFT_ROUTE=r.CONFIRMATION_V_NEXT_ROUTE=r.BUILD_QUOTE_ROUTE=r.AWAITING_SWAP_ROUTE=r.AWAITING_SIGNATURES_ROUTE=r.ASSET_ROUTE=r.ALERTS_ROUTE=r.ADVANCED_ROUTE=r.ADD_POPULAR_CUSTOM_NETWORK=r.ADD_NETWORK_ROUTE=r.ABOUT_US_ROUTE=void 0;const n=r.DEFAULT_ROUTE="/",o=r.UNLOCK_ROUTE="/unlock",a=r.LOCK_ROUTE="/lock",s=r.ASSET_ROUTE="/asset",i=r.SETTINGS_ROUTE="/settings",c=r.GENERAL_ROUTE="/settings/general",u=r.ADVANCED_ROUTE="/settings/advanced",l=(r.DEVELOPER_OPTIONS_ROUTE="/settings/developer-options",r.EXPERIMENTAL_ROUTE="/settings/experimental"),d=r.SECURITY_ROUTE="/settings/security",p=r.ABOUT_US_ROUTE="/settings/about-us",f=r.ALERTS_ROUTE="/settings/alerts",h=r.NETWORKS_ROUTE="/settings/networks",m=r.NETWORKS_FORM_ROUTE="/settings/networks/form",g=r.ADD_NETWORK_ROUTE="/settings/networks/add-network",v=r.ADD_POPULAR_CUSTOM_NETWORK="/settings/networks/add-popular-custom-network",y=r.CONTACT_LIST_ROUTE="/settings/contact-list",T=r.CONTACT_EDIT_ROUTE="/settings/contact-list/edit-contact",b=r.CONTACT_ADD_ROUTE="/settings/contact-list/add-contact",_=r.CONTACT_VIEW_ROUTE="/settings/contact-list/view-contact",w=r.REVEAL_SEED_ROUTE="/seed",E=r.RESTORE_VAULT_ROUTE="/restore-vault",S=r.IMPORT_TOKEN_ROUTE="/import-token",A=r.IMPORT_TOKENS_ROUTE="/import-tokens",k=r.CONFIRM_IMPORT_TOKEN_ROUTE="/confirm-import-token",O=r.CONFIRM_ADD_SUGGESTED_TOKEN_ROUTE="/confirm-add-suggested-token",P=r.NEW_ACCOUNT_ROUTE="/new-account",N=r.CONFIRM_ADD_SUGGESTED_NFT_ROUTE="/confirm-add-suggested-nft",I=r.CONNECT_HARDWARE_ROUTE="/new-account/connect",R=r.SEND_ROUTE="/send",C=r.CONNECTIONS="/connections",x=r.PERMISSIONS="/permissions",j=r.TOKEN_DETAILS="/token-details",M=r.CONNECT_ROUTE="/connect",L=r.CONNECT_CONFIRM_PERMISSIONS_ROUTE="/confirm-permissions",D=r.CONNECT_SNAPS_CONNECT_ROUTE="/snaps-connect",F=r.CONNECT_SNAP_INSTALL_ROUTE="/snap-install",U=r.CONNECT_SNAP_UPDATE_ROUTE="/snap-update",B=r.CONNECT_SNAP_RESULT_ROUTE="/snap-install-result",G=r.SNAPS_ROUTE="/snaps",H=r.SNAPS_VIEW_ROUTE="/snaps/view",W=r.NOTIFICATIONS_ROUTE="/notifications",$=r.NOTIFICATIONS_SETTINGS_ROUTE="/notifications/settings",V=r.CONNECTED_ROUTE="/connected",K=r.CONNECTED_ACCOUNTS_ROUTE="/connected/accounts",z=(r.SWAPS_ROUTE="/swaps",r.PREPARE_SWAP_ROUTE="/swaps/prepare-swap-page"),q=r.SWAPS_NOTIFICATION_ROUTE="/swaps/notification-page",Q=r.BUILD_QUOTE_ROUTE="/swaps/build-quote",X=r.VIEW_QUOTE_ROUTE="/swaps/view-quote",Y=r.LOADING_QUOTES_ROUTE="/swaps/loading-quotes",J=(r.AWAITING_SIGNATURES_ROUTE="/swaps/awaiting-signatures",r.SMART_TRANSACTION_STATUS_ROUTE="/swaps/smart-transaction-status",r.AWAITING_SWAP_ROUTE="/swaps/awaiting-swap"),Z=r.SWAPS_ERROR_ROUTE="/swaps/swaps-error",ee=(r.SWAPS_MAINTENANCE_ROUTE="/swaps/maintenance",r.ONBOARDING_ROUTE="/onboarding",r.ONBOARDING_REVIEW_SRP_ROUTE="/onboarding/review-recovery-phrase",r.ONBOARDING_CONFIRM_SRP_ROUTE="/onboarding/confirm-recovery-phrase",r.ONBOARDING_CREATE_PASSWORD_ROUTE="/onboarding/create-password",r.ONBOARDING_COMPLETION_ROUTE="/onboarding/completion",r.MMI_ONBOARDING_COMPLETION_ROUTE="/onboarding/account-completion",r.ONBOARDING_UNLOCK_ROUTE="/onboarding/unlock",r.ONBOARDING_HELP_US_IMPROVE_ROUTE="/onboarding/help-us-improve",r.ONBOARDING_IMPORT_WITH_SRP_ROUTE="/onboarding/import-with-recovery-phrase",r.ONBOARDING_SECURE_YOUR_WALLET_ROUTE="/onboarding/secure-your-wallet",r.ONBOARDING_PRIVACY_SETTINGS_ROUTE="/onboarding/privacy-settings",r.ONBOARDING_PIN_EXTENSION_ROUTE="/onboarding/pin-extension",r.ONBOARDING_WELCOME_ROUTE="/onboarding/welcome",r.ONBOARDING_METAMETRICS="/onboarding/metametrics",r.INITIALIZE_EXPERIMENTAL_AREA="/initialize/experimental-area",r.ONBOARDING_EXPERIMENTAL_AREA="/onboarding/experimental-area",r.DESKTOP_ERROR_ROUTE="/desktop/error",r.DESKTOP_PAIRING_ROUTE="/desktop-pairing",r.CONFIRM_TRANSACTION_ROUTE="/confirm-transaction"),te=r.CONFIRM_SEND_ETHER_PATH="/send-ether",re=r.CONFIRM_SEND_TOKEN_PATH="/send-token",ne=r.CONFIRM_DEPLOY_CONTRACT_PATH="/deploy-contract",oe=r.CONFIRM_APPROVE_PATH="/approve",ae=r.CONFIRM_SET_APPROVAL_FOR_ALL_PATH="/set-approval-for-all",se=r.CONFIRM_TRANSFER_FROM_PATH="/transfer-from",ie=r.CONFIRM_SAFE_TRANSFER_FROM_PATH="/safe-transfer-from",ce=r.CONFIRM_TOKEN_METHOD_PATH="/token-method",ue=r.CONFIRM_INCREASE_ALLOWANCE_PATH="/increase-allowance",le=r.SIGNATURE_REQUEST_PATH="/signature-request",de=r.DECRYPT_MESSAGE_REQUEST_PATH="/decrypt-message-request",pe=r.ENCRYPTION_PUBLIC_KEY_REQUEST_PATH="/encryption-public-key-request",fe=r.CONFIRMATION_V_NEXT_ROUTE="/confirmation";r.PATH_NAME_MAP={[n]:"Home",[o]:"Unlock Page",[a]:"Lock Page",[`${s}/:asset/:id`]:"Asset Page",[i]:"Settings Page",[c]:"General Settings Page",[u]:"Advanced Settings Page",[l]:"Experimental Settings Page",[d]:"Security Settings Page",[p]:"About Us Page",[f]:"Alerts Settings Page",[h]:"Network Settings Page",[m]:"Network Settings Page Form",[g]:"Add Network From Settings Page Form",[v]:"Add Network From A List Of Popular Custom Networks",[y]:"Contact List Settings Page",[`${T}/:address`]:"Edit Contact Settings Page",[b]:"Add Contact Settings Page",[`${_}/:address`]:"View Contact Settings Page",[w]:"Reveal Secret Recovery Phrase Page",[E]:"Restore Vault Page",[S]:"Import Token Page",[k]:"Confirm Import Token Page",[O]:"Confirm Add Suggested Token Page",[A]:"Import Tokens Page",[P]:"New Account Page",[N]:"Confirm Add Suggested NFT Page",[I]:"Connect Hardware Wallet Page",[W]:"Notifications Page",[`${W}/:uuid`]:"Notification Detail Page",[$]:"Notifications Settings Page",[`${M}/:id${D}`]:"Snaps Connect Page",[`${M}/:id${F}`]:"Snap Install Page",[`${M}/:id${U}`]:"Snap Update Page",[`${M}/:id${B}`]:"Snap Install Result Page",[G]:"Snaps List Page",[`${H}/:snapId`]:"Snap View Page",[R]:"Send Page",[C]:"Connections",[x]:"Permissions",[`${j}/:address`]:"Token Details Page",[`${M}/:id`]:"Connect To Site Confirmation Page",[`${M}/:id${L}`]:"Grant Connected Site Permissions Confirmation Page",[V]:"Sites Connected To This Account Page",[K]:"Accounts Connected To This Site Page",[`${ee}/:id`]:"Confirmation Root Page",[ee]:"Confirmation Root Page",[fe]:"New Confirmation Page",[`${fe}/:id`]:"New Confirmation Page",[`${ee}/:id${ce}`]:"Confirm Token Method Transaction Page",[`${ee}/:id${te}`]:"Confirm Send Ether Transaction Page",[`${ee}/:id${re}`]:"Confirm Send Token Transaction Page",[`${ee}/:id${ne}`]:"Confirm Deploy Contract Transaction Page",[`${ee}/:id${oe}`]:"Confirm Approve Transaction Page",[`${ee}/:id${ae}`]:"Confirm Set Approval For All Transaction Page",[`${ee}/:id${ue}`]:"Confirm Increase Allowance Transaction Page",[`${ee}/:id${se}`]:"Confirm Transfer From Transaction Page",[`${ee}/:id${ie}`]:"Confirm Safe Transfer From Transaction Page",[`${ee}/:id${le}`]:"Signature Request Page",[`${ee}/:id${de}`]:"Decrypt Message Request Page",[`${ee}/:id${pe}`]:"Encryption Public Key Request Page",[Q]:"Swaps Build Quote Page",[z]:"Prepare Swap Page",[q]:"Swaps Notification Page",[X]:"Swaps View Quotes Page",[Y]:"Swaps Loading Quotes Page",[J]:"Swaps Awaiting Swaps Page",[Z]:"Swaps Error Page"}}}},{package:"$root$",file:"ui/helpers/constants/routes.ts"}],[5366,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.SURVEY_START_TIME=r.SURVEY_START_HOUR=r.SURVEY_GMT=r.SURVEY_END_TIME=r.SURVEY_END_HOUR=r.SURVEY_DATE=void 0;r.SURVEY_DATE="February 28 2024";const n=r.SURVEY_GMT="GMT-0600",o=r.SURVEY_START_HOUR="12:00:00",a=r.SURVEY_END_HOUR="13:00:00";r.SURVEY_START_TIME=`${o} ${n}`,r.SURVEY_END_TIME=`${a} ${n}`}}},{package:"$root$",file:"ui/helpers/constants/survey.ts"}],[5367,{"@metamask/transaction-controller":2234},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.TOKEN_CATEGORY_HASH=r.PRIORITY_STATUS_HASH=r.PENDING_STATUS_HASH=void 0;var n=e("@metamask/transaction-controller");const o=r.PENDING_STATUS_HASH={[n.TransactionStatus.unapproved]:!0,[n.TransactionStatus.approved]:!0,[n.TransactionStatus.submitted]:!0};r.PRIORITY_STATUS_HASH={...o,[n.TransactionStatus.confirmed]:!0},r.TOKEN_CATEGORY_HASH={[n.TransactionType.tokenMethodApprove]:!0,[n.TransactionType.tokenMethodSetApprovalForAll]:!0,[n.TransactionType.tokenMethodTransfer]:!0,[n.TransactionType.tokenMethodTransferFrom]:!0,[n.TransactionType.tokenMethodIncreaseAllowance]:!0}}}},{package:"$root$",file:"ui/helpers/constants/transactions.js"}],[5368,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;r.default={ADD_CUSTOM_TOKENS:"https://metamask.zendesk.com/hc/en-us/articles/360015489031",ADD_MISSING_ACCOUNTS:"https://metamask.zendesk.com/hc/en-us/articles/360015489271",BASIC_SAFETY:"https://metamask.zendesk.com/hc/en-us/articles/360015489591-Basic-Safety-Tips",CUSTOMIZE_NONCE:"https://metamask.zendesk.com/hc/en-us/articles/7417499333531-How-to-customize-a-transaction-nonce",HARDWARE_CONNECTION:"https://metamask.zendesk.com/hc/en-us/articles/360020394612-How-to-connect-a-Trezor-or-Ledger-Hardware-Wallet",IMPORT_ACCOUNTS:"https://metamask.zendesk.com/hc/en-us/articles/360015489331",IMPORTED_ACCOUNTS:"https://metamask.zendesk.com/hc/en-us/articles/360015289932",INFURA_BLOCKAGE:"https://metamask.zendesk.com/hc/en-us/articles/360059386712",LEDGER_FIREFOX_U2F_GUIDE:"https://support.ledger.com/hc/en-us/articles/10371387758493-MetaMask-Firefox-Ledger-Integration-Issue?support=true",LEGACY_WEB3:"https://metamask.zendesk.com/hc/en-us/articles/360053147012",NFT_TOKENS:"https://metamask.zendesk.com/hc/en-us/articles/360058238591-NFT-tokens-in-MetaMask-wallet",PASSWORD_AND_SRP_ARTICLE:"https://metamask.zendesk.com/hc/en-us/articles/4404722782107",SECRET_RECOVERY_PHRASE:"https://metamask.zendesk.com/hc/en-us/articles/360060826432-What-is-a-Secret-Recovery-Phrase-and-how-to-keep-your-crypto-wallet-secure",NON_CUSTODIAL_WALLET:"https://metamask.zendesk.com/hc/en-us/articles/360059952212-MetaMask-is-a-non-custodial-wallet",SPEEDUP_CANCEL:"https://metamask.zendesk.com/hc/en-us/articles/360015489251-How-to-speed-up-or-cancel-a-pending-transaction",SUPPORT_URL:"https://support.metamask.io/hc/en-us",TOKEN_ALLOWANCE_WITH_SPENDING_CAP:"https://support.metamask.io/hc/en-us/articles/6055177143579-How-to-customize-token-approvals-with-a-spending-cap",TOKEN_SAFETY_PRACTICES:"https://metamask.zendesk.com/hc/en-us/articles/4403988839451",UNKNOWN_NETWORK:"https://metamask.zendesk.com/hc/en-us/articles/4417500466971",USER_GUIDE_CUSTOM_NETWORKS:"https://metamask.zendesk.com/hc/en-us/articles/4404424659995",USER_GUIDE_DAPPS:"https://metamask.zendesk.com/hc/en-us/articles/4405506066331-User-guide-Dapps",USER_GUIDE_GAS:"https://metamask.zendesk.com/hc/en-us/articles/4404600179227-User-Guide-Gas",VERIFY_CUSTOM_NETWORK:"https://metamask.zendesk.com/hc/en-us/articles/360057142392",NETWORK_DEPRECATED:"https://support.metamask.io/hc/en-us/articles/360059213492-ETH-on-Sepolia-and-Goerli-networks-testnets"}}}},{package:"$root$",file:"ui/helpers/constants/zendesk-url.js"}],[537,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.version=void 0,r.version="sha2/5.7.0"}}},{package:"@ethersproject/hdnode>@ethersproject/sha2",file:"node_modules/@ethersproject/sha2/lib/_version.js"}],[5379,{"../../../app/build-types/flask/images/flask-mascot.json":4},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.getBuildSpecificAsset=function(e){const t="flask";if(!a[t]||!Object.keys(a[t]).includes(e))return console.error(`Cannot find asset "${e}" for build "${t}", returning main build asset.`),a.main[e];return a[t][e]},r.isBeta=function(){return!1};var n,o=(n=e("../../../app/build-types/flask/images/flask-mascot.json"))&&n.__esModule?n:{default:n};const a={main:{foxMeshJson:undefined},flask:{foxMeshJson:o.default}}}}},{package:"$root$",file:"ui/helpers/utils/build-types.js"}],[538,{"./_version":537,"./types":540,"@ethersproject/bytes":476,"@ethersproject/logger":504,"hash.js":3613},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.computeHmac=r.sha512=r.sha256=r.ripemd160=void 0;var o=n(e("hash.js")),a=e("@ethersproject/bytes"),s=e("./types"),i=e("@ethersproject/logger"),c=e("./_version"),u=new i.Logger(c.version);r.ripemd160=function(e){return"0x"+o.default.ripemd160().update((0,a.arrayify)(e)).digest("hex")},r.sha256=function(e){return"0x"+o.default.sha256().update((0,a.arrayify)(e)).digest("hex")},r.sha512=function(e){return"0x"+o.default.sha512().update((0,a.arrayify)(e)).digest("hex")},r.computeHmac=function(e,t,r){return s.SupportedAlgorithm[e]||u.throwError("unsupported algorithm "+e,i.Logger.errors.UNSUPPORTED_OPERATION,{operation:"hmac",algorithm:e}),"0x"+o.default.hmac(o.default[e],(0,a.arrayify)(t)).update((0,a.arrayify)(r)).digest("hex")}}}},{package:"@ethersproject/hdnode>@ethersproject/sha2",file:"node_modules/@ethersproject/sha2/lib/browser-sha2.js"}],[5381,{"../../../shared/constants/common":4495,"../../../shared/modules/Numeric":4533,"bignumber.js":2933,"currency-formatter":3166,"currency-formatter/currencies":3165},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.addEth=function(e,...t){return t.reduce(((e,t)=>e.add(new s.Numeric(t,10)).round(6)),new s.Numeric(e,10)).toString()},r.addFiat=function(e,...t){return t.reduce(((e,t)=>e.add(new s.Numeric(t,10)).round(2)),new s.Numeric(e,10)).toString()},r.areDappSuggestedAndTxParamGasFeesTheSame=function(e){const{txParams:t,dappSuggestedGasFees:r}=e??{},{gasPrice:n,maxFeePerGas:o,maxPriorityFeePerGas:a}=t||{},{gasPrice:s,maxFeePerGas:i,maxPriorityFeePerGas:c}=r||{},u=!s&&!i&&!c;if(!n&&!o&&!a||u)return!1;const l=n&&n===s,d=[o,a].every((e=>e===s)),p=o&&o===i&&a===c;return Boolean(l||d||p)},r.convertTokenToFiat=function({value:e,fromCurrency:t=i.EtherDenomination.ETH,toCurrency:r,conversionRate:n,contractExchangeRate:o}){const a=n*o;let c=new s.Numeric(e,10);t!==r&&a&&(c=c.applyConversionRate(a));return c.round(2).toString()},r.formatCurrency=function(e,t){const r=t.toUpperCase();return o.default.find((e=>e.code===r))?n.default.format(Number(e),{code:r}):e},r.getHexGasTotal=function({gasLimit:e="0x0",gasPrice:t="0x0"}){return new s.Numeric(e,16).times(new s.Numeric(t,16)).toPrefixedHexString()},r.getTransactionFee=function({value:e,fromCurrency:t=i.EtherDenomination.ETH,toCurrency:r,conversionRate:n,numberOfDecimals:o}){let a=new s.Numeric(e,16,i.EtherDenomination.WEI).toDenomination(i.EtherDenomination.ETH).toBase(10);t!==r&&n&&(a=a.applyConversionRate(n));return a.round(o).toString()},r.roundExponential=function(e){const t=new a.BigNumber(e);return t.e>20?t.toPrecision(4):e};var n=c(e("currency-formatter")),o=c(e("currency-formatter/currencies")),a=e("bignumber.js"),s=e("../../../shared/modules/Numeric"),i=e("../../../shared/constants/common");function c(e){return e&&e.__esModule?e:{default:e}}}}},{package:"$root$",file:"ui/helpers/utils/confirm-tx.util.ts"}],[5383,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.formatETHFee=function(e,t="ETH"){return`${e} ${t}`}}}},{package:"$root$",file:"ui/helpers/utils/formatters.js"}],[5386,{"../../../shared/constants/network":4507,"../../../shared/modules/i18n":4545,"@sentry/browser":2409,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.getMessage=void 0,r.getNetworkLabelKey=function(e){if(e===i.NETWORK_TYPES.LINEA_GOERLI)return"lineaGoerli";if(e===i.NETWORK_TYPES.LINEA_SEPOLIA)return"lineaSepolia";if(e===i.NETWORK_TYPES.LINEA_MAINNET)return"lineaMainnet";return e};var n,o=(n=e("react"))&&n.__esModule?n:{default:n},a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=c(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=e[a]}return n.default=e,r&&r.set(e,n),n}(e("@sentry/browser")),s=e("../../../shared/modules/i18n"),i=e("../../../shared/constants/network");function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(c=function(e){return e?r:t})(e)}r.getMessage=(e,t,r,n)=>{const i=(null==n?void 0:n.some((e=>null!==e&&("function"==typeof e||"object"==typeof e))))?e=>o.default.createElement("span",null," ",e," "):undefined;return(0,s.getMessage)(e,t,r,n,(e=>{a.captureException(e)}),i)}}}},{package:"$root$",file:"ui/helpers/utils/i18n-helper.tsx"}],[5387,{"../../../shared/modules/hexstring-utils":4544},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){o||(o=new a(e));return o};var n=e("../../../shared/modules/hexstring-utils");let o;function a(e){this.jazzicon=e,this.cache={}}a.prototype.iconForAddress=function(e,t,r){return function(e,t){return(0,n.isValidHexAddress)(e,{allowNonPrefixed:!1})&&t&&t.iconUrl}(e,r)?function(e={}){const t=document.createElement("img");return t.src=null==e?void 0:e.iconUrl,t.style.width="100%",t}(r):this.generateIdenticonSvg(e,t)},a.prototype.generateIdenticonSvg=function(e,t){const r=`${e}:${t}`;return(this.cache[r]||(this.cache[r]=this.generateNewIdenticon(e,t))).cloneNode(!0)},a.prototype.generateNewIdenticon=function(e,t){const r=function(e){const t=e.slice(2,10);return parseInt(t,16)}(e);return this.jazzicon(t,r)}}}},{package:"$root$",file:"ui/helpers/utils/icon-factory.js"}],[5389,{"../../../shared/constants/metametrics":4505,"../../../shared/constants/security-provider":4513},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.formatAccountType=function(e){if("default"===e)return"metamask";return e},r.getBlockaidMetricsProps=void 0,r.getMethodName=function(e){if(!e||"string"!=typeof e)return"";return e.replace(/([a-z])([A-Z])/gu,"$1 $2").replace(/([A-Z])([a-z])/gu," $1$2").replace(/ +/gu," ")};var n=e("../../../shared/constants/security-provider"),o=e("../../../shared/constants/metametrics");r.getBlockaidMetricsProps=({securityAlertResponse:e})=>{if(!e)return{};const t={},{providerRequestsCount:r,reason:a,result_type:s,description:i}=e,c=(e=>{let t;return e===n.BlockaidResultType.Malicious?t=[o.MetaMetricsEventUiCustomization.FlaggedAsMalicious]:e===n.BlockaidResultType.Warning?t=[o.MetaMetricsEventUiCustomization.FlaggedAsWarning]:e===n.BlockaidResultType.Errored&&(t=[o.MetaMetricsEventUiCustomization.SecurityAlertError]),t})(s);return c&&(t.ui_customizations=c),s!==n.BlockaidResultType.Benign&&(t.security_alert_reason=a??n.BlockaidReason.notApplicable),i&&(t.security_alert_description=i),t.security_alert_response=s??n.BlockaidResultType.NotApplicable,r&&Object.keys(r).forEach((e=>{t[`ppom_${e}_count`]=r[e]})),t}}}},{package:"$root$",file:"ui/helpers/utils/metrics.js"}],[539,{"./sha2":538,"./types":540},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.SupportedAlgorithm=r.sha512=r.sha256=r.ripemd160=r.computeHmac=void 0;var n=e("./sha2");Object.defineProperty(r,"computeHmac",{enumerable:!0,get:function(){return n.computeHmac}}),Object.defineProperty(r,"ripemd160",{enumerable:!0,get:function(){return n.ripemd160}}),Object.defineProperty(r,"sha256",{enumerable:!0,get:function(){return n.sha256}}),Object.defineProperty(r,"sha512",{enumerable:!0,get:function(){return n.sha512}});var o=e("./types");Object.defineProperty(r,"SupportedAlgorithm",{enumerable:!0,get:function(){return o.SupportedAlgorithm}})}}},{package:"@ethersproject/hdnode>@ethersproject/sha2",file:"node_modules/@ethersproject/sha2/lib/index.js"}],[5396,{"../../../shared/constants/transaction":4520,"../../../shared/lib/metamask-controller-utils":4526,"../../../shared/lib/transactions-controller-utils":4531,"../../../shared/modules/Numeric":4533,"../../../shared/modules/string-utils":4558,"../../../shared/modules/transaction.utils":4560,"../../store/actions":5998,"./confirm-tx.util":5381,"./util":5399,loglevel:3842},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.getAssetDetails=async function(e,t,r,n){var d,p,f;const h=(0,i.parseStandardTokenTransactionData)(r);if(!h)throw new Error("Unable to detect valid token data");let m=(null===(d=w(h))||void 0===d?void 0:d.toString())??(0,u.getTokenValueParam)(h);const g=_(h);let v;if(null!=n&&n.length&&m){const t=n.find((({address:t,tokenId:r})=>(0,s.isEqualCaseInsensitive)(e,t)&&r===m));if(t&&(t.name||t.symbol))return{toAddress:g,...t}}try{v=await(0,a.getTokenStandardAndDetails)(e,t,m)}catch(e){return o.default.warn(e),{toAddress:g,tokenId:m}}const y=(0,u.getTokenValueParam)(h),T=null===(p=v)||void 0===p?void 0:p.decimals,b=h&&y&&T&&(0,l.calcTokenAmount)(y,T).toString(10),E=T&&Number(null==T?void 0:T.toString(10));(null===(f=v)||void 0===f?void 0:f.standard)===c.TokenStandard.ERC20&&(m=undefined);return{tokenAmount:b,toAddress:g,decimals:E,tokenId:m,...v}},r.getSymbolAndDecimalsAndName=b,r.getTokenAddressParam=_,r.getTokenApprovedParam=function(e={}){var t;return null==e||null===(t=e.args)||void 0===t?void 0:t._approved},r.getTokenFiatAmount=function(e,t,r,n,o,a=!0,s=!1){if(t<=0||!e||n===undefined)return undefined;const i=new d.Numeric(e,10).times(new d.Numeric(t,10)).toString();let c,u=new d.Numeric(n,10);o!==r.toUpperCase()&&i&&(u=u.applyConversionRate(i));u=u.round(2).toString(),c=s?(0,f.formatCurrency)(u,r):a?`${(0,f.formatCurrency)(u,r)} ${r.toUpperCase()}`:u;return c},r.getTokenIdParam=w,r.getTokenMetadata=g,r.tokenInfoGetter=function(){const e={};return async(t,r)=>(e[t]||(e[t]=await b(t,r)),e[t])};var n,o=(n=e("loglevel"))&&n.__esModule?n:{default:n},a=e("../../store/actions"),s=e("../../../shared/modules/string-utils"),i=e("../../../shared/modules/transaction.utils"),c=e("../../../shared/constants/transaction"),u=e("../../../shared/lib/metamask-controller-utils"),l=e("../../../shared/lib/transactions-controller-utils"),d=e("../../../shared/modules/Numeric"),p=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=h(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=e[a]}return n.default=e,r&&r.set(e,n),n}(e("./util")),f=e("./confirm-tx.util");function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(h=function(e){return e?r:t})(e)}const m="";function g(e,t){return e&&t[e.toLowerCase()]}async function v(e,t){let r=await async function(e){const t=p.getContractAtAddress(e);try{return(await t.symbol())[0]}catch(t){return o.default.warn(`symbol() call for token at address ${e} resulted in error:`,t),undefined}}(e);if(!r){const n=g(e,t);n&&(r=n.symbol)}return r}async function y(e,t){let r=await async function(e){const t=p.getContractAtAddress(e);try{const[e]=await t.name();return e}catch(t){return o.default.warn(`name() call for token at address ${e} resulted in error:`,t),undefined}}(e);if(!r){const n=g(e,t);n&&(r=n.name)}return r}async function T(e,t){let r=await async function(e){const t=p.getContractAtAddress(e);try{const e=(await t.decimals())[0];return null==e?void 0:e.toString()}catch(t){return o.default.warn(`decimals() call for token at address ${e} resulted in error:`,t),undefined}}(e);if(!r||"0"===r){const o=g(e,t);var n;if(o)r=null===(n=o.decimals)||void 0===n?void 0:n.toString()}return r}async function b(e,t){let r,n,a;try{const o=(await Promise.allSettled([v(e,t),T(e,t),y(e,t)])).filter((e=>"fulfilled"===e.status)).map((e=>e.value));[r,n,a]=o}catch(t){o.default.warn(`symbol() and decimal() and name() calls for token at address ${e} resulted in error:`,t)}return{symbol:r||m,decimals:n,name:a}}function _(e={}){var t,r,n;const o=(null==e||null===(t=e.args)||void 0===t?void 0:t._to)||(null==e||null===(r=e.args)||void 0===r?void 0:r.to)||(null==e||null===(n=e.args)||void 0===n?void 0:n[0]);return null==o?void 0:o.toString().toLowerCase()}function w(e={}){var t,r;return(null==e||null===(t=e.args)||void 0===t||null===(t=t._tokenId)||void 0===t?void 0:t.toString())??(null==e||null===(r=e.args)||void 0===r||null===(r=r.id)||void 0===r?void 0:r.toString())}}}},{package:"$root$",file:"ui/helpers/utils/token-util.js"}],[5397,{"../../../app/scripts/lib/util":120,"../../../shared/constants/transaction":4520,"../../../shared/lib/fetch-with-cache":4525,"../../../shared/modules/contract-utils":4536,"@metamask/controller-utils":1163,"@metamask/transaction-controller":2234,"eth-method-registry":3251,loglevel:3842},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.getFourBytePrefix=function(e=""){const t=(0,i.addHexPrefix)(e);return t.slice(0,10)},r.getLatestSubmittedTxWithNonce=function(e=[],t="0x0"){if(!e.length)return{};return e.reduce(((e,r)=>{const{submittedTime:n,txParams:{nonce:o}={}}=r;return o===t?e.submittedTime?n>e.submittedTime?r:e:r:e}),{})},r.getMethodDataAsync=async function(e,t){try{let r=null;if(t&&(r=await async function(e){const t=await(0,l.default)({url:`https://www.4byte.directory/api/v1/signatures/?hex_signature=${e}`,fetchOptions:{referrerPolicy:"no-referrer-when-downgrade",body:null,method:"GET",mode:"cors"},functionName:"getMethodFrom4Byte"});return t.results.sort(((e,t)=>new Date(e.created_at).getTime()(o.default.error(e),null)))),p||(p=new n.MethodRegistry({provider:global.ethereumProvider})),!r)return{};const a=p.parse(r);return{name:a.name,params:a.args}}catch(e){return o.default.error(e),{}}},r.getStatusKey=function(e){const{txReceipt:{status:t}={},type:r,status:n}=e;if("0x0"===t)return s.TransactionStatus.failed;if(n===s.TransactionStatus.confirmed&&r===s.TransactionType.cancel)return c.TransactionGroupStatus.cancelled;return e.status},r.getTransactionTypeTitle=function(e,t,r="ETH"){switch(t){case s.TransactionType.tokenMethodTransfer:return e("transfer");case s.TransactionType.tokenMethodTransferFrom:return e("transferFrom");case s.TransactionType.tokenMethodSafeTransferFrom:return e("safeTransferFrom");case s.TransactionType.tokenMethodApprove:return e("approve");case s.TransactionType.tokenMethodSetApprovalForAll:return e("setApprovalForAll");case s.TransactionType.tokenMethodIncreaseAllowance:return e("approveIncreaseAllowance");case s.TransactionType.simpleSend:return e("sendingNativeAsset",[r]);case s.TransactionType.contractInteraction:return e("contractInteraction");case s.TransactionType.deployContract:return e("contractDeployment");case s.TransactionType.swap:return e("swap");case s.TransactionType.swapAndSend:return e("swapAndSend");case s.TransactionType.swapApproval:return e("swapApproval");default:throw new Error(`Unrecognized transaction type: ${t}`)}},r.isLegacyTransaction=function(e){return(null==e?void 0:e.type)===s.TransactionEnvelopeType.legacy},r.isNFTAssetStandard=void 0,r.isSmartContractAddress=async function(e){const{isContractAddress:t}=await(0,u.readAddressAsContract)(global.eth,e);return t},r.isTokenMethodAction=function(e){return[s.TransactionType.tokenMethodTransfer,s.TransactionType.tokenMethodApprove,s.TransactionType.tokenMethodSetApprovalForAll,s.TransactionType.tokenMethodTransferFrom,s.TransactionType.tokenMethodSafeTransferFrom,s.TransactionType.tokenMethodIncreaseAllowance].includes(e)};var n=e("eth-method-registry"),o=d(e("loglevel")),a=e("@metamask/controller-utils"),s=e("@metamask/transaction-controller"),i=e("../../../app/scripts/lib/util"),c=e("../../../shared/constants/transaction"),u=e("../../../shared/modules/contract-utils"),l=d(e("../../../shared/lib/fetch-with-cache"));function d(e){return e&&e.__esModule?e:{default:e}}let p;r.isNFTAssetStandard=e=>e===a.ERC1155||e===a.ERC721}}},{package:"$root$",file:"ui/helpers/utils/transactions.util.js"}],[5398,{"./util":5399,loglevel:3842},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,t,r,n,s,i,c){o.default.debug("tx-helper called with params:"),o.default.debug({unapprovedTxs:e,unapprovedMsgs:t,personalMsgs:r,decryptMsgs:n,encryptionPublicKeyMsgs:s,typedMessages:i,chainId:c});const u=c?(0,a.valuesFor)(e).filter((e=>e.chainId===c)):(0,a.valuesFor)(e),l=(0,a.valuesFor)(t),d=(0,a.valuesFor)(r),p=(0,a.valuesFor)(n),f=(0,a.valuesFor)(s),h=(0,a.valuesFor)(i),m=u.concat(l).concat(d).concat(p).concat(f).concat(h).sort(((e,t)=>e.time-t.time));return o.default.debug(`tx helper found ${u.length} unapproved txs`),o.default.debug(`tx helper found ${l.length} unsigned messages`),o.default.debug(`tx helper found ${d.length} unsigned personal messages`),o.default.debug(`tx helper found ${p.length} decrypt requests`),o.default.debug(`tx helper found ${f.length} encryptionPublicKey requests`),o.default.debug(`tx helper found ${h.length} unsigned typed messages`),m};var n,o=(n=e("loglevel"))&&n.__esModule?n:{default:n},a=e("./util")}}},{package:"$root$",file:"ui/helpers/utils/tx-helper.ts"}],[5399,{"../../../shared/constants/labels":4503,"../../../shared/constants/network":4507,"../../../shared/modules/Numeric":4533,"../../../shared/modules/conversion.utils":4537,"../../../shared/modules/error":4540,"../../../shared/modules/hexstring-utils":4544,"../../../shared/modules/string-utils":4558,"../constants/common":5353,"../constants/routes":5361,"@metamask/assets-controllers":1143,"@metamask/snaps-rpc-methods":2086,"@metamask/snaps-utils":2163,"@metamask/utils":2300,"bignumber.js":2933,bowser:2991,buffer:3028,"ethereumjs-util":3288,"human-standard-token-abi":3631,lodash:3836,luxon:3843,"punycode/punycode":4055},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(t){(function(){Object.defineProperty(r,"__esModule",{value:!0}),r.IS_FLASK=void 0,r.addressSummary=function(e,t=10,r=4,n=!0){if(!e)return"";let o=(0,g.toChecksumHexAddress)(e);n||(o=(0,g.stripHexPrefix)(o));return o?`${o.slice(0,t)}...${o.slice(o.length-r)}`:"..."},r.bnGreaterThan=function(e,t){if(null===e||e===undefined||null===t||t===undefined)return null;return new a.default(e,10).gt(t,10)},r.bnGreaterThanEqualTo=function(e,t){if(null===e||e===undefined||null===t||t===undefined)return null;return new a.default(e,10).gte(t,10)},r.bnLessThan=function(e,t){if(null===e||e===undefined||null===t||t===undefined)return null;return new a.default(e,10).lt(t,10)},r.bnLessThanEqualTo=function(e,t){if(null===e||e===undefined||null===t||t===undefined)return null;return new a.default(e,10).lte(t,10)},r.checkExistingAddresses=function(e,t=[]){if(!e)return!1;return t.some((t=>t.address.toLowerCase()===e.toLowerCase()))},r.checkTokenIdExists=void 0,r.clearClipboard=function(){window.navigator.clipboard.writeText("")},r.fetchTokenExchangeRates=void 0,r.formatBalance=function(e,t,r=!0,n="ETH"){const o=r?O(e):e.split("."),a=o[0];let s=o[1],i="None";if(t===undefined)if("0"===a){if("0"!==s){const e=s.match(/^0*(.{2})/u);e&&(s=e[0]),i=`0.${s} ${n}`}}else i=`${a}.${s.slice(0,3)} ${n}`;else s+=Array(t).join("0"),i=`${a}.${s.slice(0,t)} ${n}`;return i},r.formatDate=function(e,t="M/d/y 'at' T"){if(!e)return"";return i.DateTime.fromMillis(e).toFormat(t)},r.formatDateWithYearContext=function(e,t="MMM d",r="MMM d, y"){if(!e)return"";const n=i.DateTime.fromMillis(e),o=i.DateTime.local();return n.toFormat(o.year===n.year?t:r)},r.getAccountByAddress=function(e=[],t){return e.find((({address:e})=>e===t))},r.getAssetImageURL=function(e,t){if(!e||"string"!=typeof e)return"";if(t&&e.startsWith("ipfs://"))try{return(0,c.getFormattedIpfsUrl)(t,e,!0)}catch(e){return(0,m.logErrorWithMessage)(e),""}return e},r.getAvatarFallbackLetter=void 0,r.getContractAtAddress=function(e){return global.eth.contract(o.default).at(e)},r.getDedupedSnaps=void 0,r.getIsBrowserDeprecated=function(e=l.default.getParser(window.navigator.userAgent)){return e.satisfies(T.OUTDATED_BROWSER_VERSIONS)??!1},r.getNetworkNameFromProviderType=void 0,r.getRandomFileName=function(){let e="";const t=[..."abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"],r=Math.floor(7*Math.random()+6);for(let n=0;n18?n.slice(0,n.length-18):"0";return t=`000000000000000000${r}`.slice(-18).replace(/0+$/u,""),""===t&&(t="0"),[o,t]}function P(e){return e.replace(/^https:\/\//u,"")}function N(e){try{return new URL(e)}catch(e){return""}}r.toHumanReadableTime=(e,t)=>{if(t===undefined||null===t)return"";const r=Math.ceil(t/1e3);return r<=90?e("gasTimingSecondsShort",[r]):r<=5400?e("gasTimingMinutesShort",[Math.ceil(r/60)]):e("gasTimingHoursShort",[Math.ceil(r/3600)])};const I=(()=>{const e=Array.from(new Array(32)).map(((e,t)=>"int"+8*(t+1))),t=Array.from(new Array(32)).map(((e,t)=>"uint"+8*(t+1))),r=Array.from(new Array(32)).map(((e,t)=>`bytes${t+1}`)),n=Array.from(new Array(32)).map(((e,t)=>"fixed"+8*(t+1))),o=Array.from(new Array(32)).map(((e,t)=>"ufixed"+8*(t+1))),a=Array.from(new Array(80)).map(((e,t)=>n.map((e=>`${e}x${t+1}`)))),s=Array.from(new Array(80)).map(((e,t)=>o.map((e=>`${e}x${t+1}`))));return["bool","address","string","bytes","int","uint","fixed","ufixed",...e,...t,...r,...a.flat(),...s.flat()]})(),R=e=>e.replace(/\[(\d*)\]/u,"");r.stripOneLayerofNesting=R;const C=(e,t,r)=>{if(!r)throw new Error("Invalid types definition");const n=t&&null!==t.match(/\[[[0-9]*\]*/u);var o;if(n)return{value:e.map((e=>C(e,R(t),r))),type:t};if(o=t,I.includes(o))return{value:e,type:t};const a=n?(e=>e.replace(/\[[[0-9]*\]*/gu,""))(t):t,s=r[a];if(!s)throw new Error("Invalid primary type definition");const i={};return Object.keys(e).forEach((t=>{const n=Object.values(s).find((e=>e.name===t));n&&(i[t]=C(e[t],n.type,r))})),{value:i,type:t}};r.sanitizeMessage=C;r.getSnapName=e=>t=>{var r;return(null===(r=e[t])||void 0===r?void 0:r.name)??(0,p.stripSnapPrefix)(t)};r.getSnapRoute=e=>`${w.SNAPS_VIEW_ROUTE}/${encodeURIComponent(e)}`;r.getDedupedSnaps=(e,t)=>{var r,n;const o=null==e||null===(r=e.permissions)||void 0===r?void 0:r[d.WALLET_SNAP_PERMISSION_KEY],a=null==o?void 0:o.caveats[0].value,s=null==t||null===(n=t[d.WALLET_SNAP_PERMISSION_KEY])||void 0===n?void 0:n.caveats[0].value;if(!(0,f.isObject)(s)&&a)return Object.keys(a);const i=a?Object.keys(a):[],c=s?Object.keys(s):[],u=i.filter((e=>!c.includes(e)));return u.length>0?u:i};r.IS_FLASK=!0;r.sanitizeString=e=>{if(!e)return e;if(!u.isString(e))return e;return e.replace(/\u202E/giu,"\\u202E")};r.getNetworkNameFromProviderType=e=>e===h.NETWORK_TYPES.RPC?"":e;r.isAbleToExportAccount=(e="")=>!e.includes("Hardware")&&!e.includes("Snap");r.checkTokenIdExists=(e,t,r)=>{const n=(0,f.isStrictHexString)(t);let o=t;n&&(o=(0,_.hexToDecimal)(t));const a=(0,g.toChecksumHexAddress)(e);if(r[a]){const e=r[a];return u.some(e.nfts,(e=>e.address===a&&((0,b.isEqualCaseInsensitive)(e.tokenId,t)||(0,b.isEqualCaseInsensitive)(e.tokenId,o.toString()))))}return!1};r.fetchTokenExchangeRates=async(e,t,r)=>{try{return await(0,c.fetchTokenContractExchangeRates)({tokenPricesService:new c.CodefiTokenPricesServiceV2,nativeCurrency:e,tokenAddresses:t,chainId:r})}catch(e){return{}}};r.hexToText=e=>{if(!e)return e;try{const r=(0,g.stripHexPrefix)(e),n=t.from(r,"hex");return 32===n.length?e:n.toString("utf8")}catch(t){return e}};r.getAvatarFallbackLetter=e=>{var t;return(null==e||null===(t=e.match(/[a-z0-9]/iu))||void 0===t?void 0:t[0])??"?"}}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"$root$",file:"ui/helpers/utils/util.js"}],[540,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.SupportedAlgorithm=void 0,function(e){e.sha256="sha256",e.sha512="sha512"}(r.SupportedAlgorithm||(r.SupportedAlgorithm={}))}}},{package:"@ethersproject/hdnode>@ethersproject/sha2",file:"node_modules/@ethersproject/sha2/lib/types.js"}],[541,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.version=void 0,r.version="signing-key/5.7.0"}}},{package:"@ethersproject/hdnode>@ethersproject/signing-key",file:"node_modules/@ethersproject/signing-key/lib/_version.js"}],[542,{elliptic:3197},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.EC=void 0;var o=n(e("elliptic")).default.ec;r.EC=o}}},{package:"@ethersproject/hdnode>@ethersproject/signing-key",file:"node_modules/@ethersproject/signing-key/lib/elliptic.js"}],[5427,{"../contexts/i18n":5324,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.useI18nContext=function(){return(0,n.useContext)(o.I18nContext)};var n=e("react"),o=e("../contexts/i18n")}}},{package:"$root$",file:"ui/hooks/useI18nContext.js"}],[543,{"./_version":541,"./elliptic":542,"@ethersproject/bytes":476,"@ethersproject/logger":504,"@ethersproject/properties":510},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.computePublicKey=r.recoverPublicKey=r.SigningKey=void 0;var n=e("./elliptic"),o=e("@ethersproject/bytes"),a=e("@ethersproject/properties"),s=e("@ethersproject/logger"),i=e("./_version"),c=new s.Logger(i.version),u=null;function l(){return u||(u=new n.EC("secp256k1")),u}var d=function(){function e(e){(0,a.defineReadOnly)(this,"curve","secp256k1"),(0,a.defineReadOnly)(this,"privateKey",(0,o.hexlify)(e)),32!==(0,o.hexDataLength)(this.privateKey)&&c.throwArgumentError("invalid private key","privateKey","[[ REDACTED ]]");var t=l().keyFromPrivate((0,o.arrayify)(this.privateKey));(0,a.defineReadOnly)(this,"publicKey","0x"+t.getPublic(!1,"hex")),(0,a.defineReadOnly)(this,"compressedPublicKey","0x"+t.getPublic(!0,"hex")),(0,a.defineReadOnly)(this,"_isSigningKey",!0)}return e.prototype._addPoint=function(e){var t=l().keyFromPublic((0,o.arrayify)(this.publicKey)),r=l().keyFromPublic((0,o.arrayify)(e));return"0x"+t.pub.add(r.pub).encodeCompressed("hex")},e.prototype.signDigest=function(e){var t=l().keyFromPrivate((0,o.arrayify)(this.privateKey)),r=(0,o.arrayify)(e);32!==r.length&&c.throwArgumentError("bad digest length","digest",e);var n=t.sign(r,{canonical:!0});return(0,o.splitSignature)({recoveryParam:n.recoveryParam,r:(0,o.hexZeroPad)("0x"+n.r.toString(16),32),s:(0,o.hexZeroPad)("0x"+n.s.toString(16),32)})},e.prototype.computeSharedSecret=function(e){var t=l().keyFromPrivate((0,o.arrayify)(this.privateKey)),r=l().keyFromPublic((0,o.arrayify)(p(e)));return(0,o.hexZeroPad)("0x"+t.derive(r.getPublic()).toString(16),32)},e.isSigningKey=function(e){return!(!e||!e._isSigningKey)},e}();function p(e,t){var r=(0,o.arrayify)(e);if(32===r.length){var n=new d(r);return t?"0x"+l().keyFromPrivate(r).getPublic(!0,"hex"):n.publicKey}return 33===r.length?t?(0,o.hexlify)(r):"0x"+l().keyFromPublic(r).getPublic(!1,"hex"):65===r.length?t?"0x"+l().keyFromPublic(r).getPublic(!0,"hex"):(0,o.hexlify)(r):c.throwArgumentError("invalid public or private key","key","[REDACTED]")}r.SigningKey=d,r.recoverPublicKey=function(e,t){var r=(0,o.splitSignature)(t),n={r:(0,o.arrayify)(r.r),s:(0,o.arrayify)(r.s)};return"0x"+l().recoverPubKey((0,o.arrayify)(e),n,r.recoveryParam).encode("hex",!1)},r.computePublicKey=p}}},{package:"@ethersproject/hdnode>@ethersproject/signing-key",file:"node_modules/@ethersproject/signing-key/lib/index.js"}],[544,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.version=void 0,r.version="strings/5.7.0"}}},{package:"@ethersproject/abi>@ethersproject/strings",file:"node_modules/@ethersproject/strings/lib/_version.js"}],[545,{"./utf8":548,"@ethersproject/bytes":476,"@ethersproject/constants":480},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.parseBytes32String=r.formatBytes32String=void 0;var n=e("@ethersproject/constants"),o=e("@ethersproject/bytes"),a=e("./utf8");r.formatBytes32String=function(e){var t=(0,a.toUtf8Bytes)(e);if(t.length>31)throw new Error("bytes32 string must be less than 32 bytes");return(0,o.hexlify)((0,o.concat)([t,n.HashZero]).slice(0,32))},r.parseBytes32String=function(e){var t=(0,o.arrayify)(e);if(32!==t.length)throw new Error("invalid bytes32 - not 32 bytes long");if(0!==t[31])throw new Error("invalid bytes32 string - no null terminator");for(var r=31;0===t[r-1];)r--;return(0,a.toUtf8String)(t.slice(0,r))}}}},{package:"@ethersproject/abi>@ethersproject/strings",file:"node_modules/@ethersproject/strings/lib/bytes32.js"}],[546,{"./utf8":548},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.nameprep=r._nameprepTableC=r._nameprepTableB2=r._nameprepTableA1=void 0;var n=e("./utf8");function o(e,t){t||(t=function(e){return[parseInt(e,16)]});var r=0,n={};return e.split(",").forEach((function(e){var o=e.split(":");r+=parseInt(o[0],16),n[r]=t(o[1])})),n}function a(e){var t=0;return e.split(",").map((function(e){var r=e.split("-");return 1===r.length?r[1]="0":""===r[1]&&(r[1]="1"),{l:t+parseInt(r[0],16),h:t=parseInt(r[1],16)}}))}function s(e,t){for(var r=0,n=0;n=(r+=o.l)&&e<=r+o.h&&(e-r)%(o.d||1)==0){if(o.e&&-1!==o.e.indexOf(e-r))continue;return o}}return null}var i=a("221,13-1b,5f-,40-10,51-f,11-3,3-3,2-2,2-4,8,2,15,2d,28-8,88,48,27-,3-5,11-20,27-,8,28,3-5,12,18,b-a,1c-4,6-16,2-d,2-2,2,1b-4,17-9,8f-,10,f,1f-2,1c-34,33-14e,4,36-,13-,6-2,1a-f,4,9-,3-,17,8,2-2,5-,2,8-,3-,4-8,2-3,3,6-,16-6,2-,7-3,3-,17,8,3,3,3-,2,6-3,3-,4-a,5,2-6,10-b,4,8,2,4,17,8,3,6-,b,4,4-,2-e,2-4,b-10,4,9-,3-,17,8,3-,5-,9-2,3-,4-7,3-3,3,4-3,c-10,3,7-2,4,5-2,3,2,3-2,3-2,4-2,9,4-3,6-2,4,5-8,2-e,d-d,4,9,4,18,b,6-3,8,4,5-6,3-8,3-3,b-11,3,9,4,18,b,6-3,8,4,5-6,3-6,2,3-3,b-11,3,9,4,18,11-3,7-,4,5-8,2-7,3-3,b-11,3,13-2,19,a,2-,8-2,2-3,7,2,9-11,4-b,3b-3,1e-24,3,2-,3,2-,2-5,5,8,4,2,2-,3,e,4-,6,2,7-,b-,3-21,49,23-5,1c-3,9,25,10-,2-2f,23,6,3,8-2,5-5,1b-45,27-9,2a-,2-3,5b-4,45-4,53-5,8,40,2,5-,8,2,5-,28,2,5-,20,2,5-,8,2,5-,8,8,18,20,2,5-,8,28,14-5,1d-22,56-b,277-8,1e-2,52-e,e,8-a,18-8,15-b,e,4,3-b,5e-2,b-15,10,b-5,59-7,2b-555,9d-3,5b-5,17-,7-,27-,7-,9,2,2,2,20-,36,10,f-,7,14-,4,a,54-3,2-6,6-5,9-,1c-10,13-1d,1c-14,3c-,10-6,32-b,240-30,28-18,c-14,a0,115-,3,66-,b-76,5,5-,1d,24,2,5-2,2,8-,35-2,19,f-10,1d-3,311-37f,1b,5a-b,d7-19,d-3,41,57-,68-4,29-3,5f,29-37,2e-2,25-c,2c-2,4e-3,30,78-3,64-,20,19b7-49,51a7-59,48e-2,38-738,2ba5-5b,222f-,3c-94,8-b,6-4,1b,6,2,3,3,6d-20,16e-f,41-,37-7,2e-2,11-f,5-b,18-,b,14,5-3,6,88-,2,bf-2,7-,7-,7-,4-2,8,8-9,8-2ff,20,5-b,1c-b4,27-,27-cbb1,f7-9,28-2,b5-221,56,48,3-,2-,3-,5,d,2,5,3,42,5-,9,8,1d,5,6,2-2,8,153-3,123-3,33-27fd,a6da-5128,21f-5df,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3,2-1d,61-ff7d"),c="ad,34f,1806,180b,180c,180d,200b,200c,200d,2060,feff".split(",").map((function(e){return parseInt(e,16)})),u=[{h:25,s:32,l:65},{h:30,s:32,e:[23],l:127},{h:54,s:1,e:[48],l:64,d:2},{h:14,s:1,l:57,d:2},{h:44,s:1,l:17,d:2},{h:10,s:1,e:[2,6,8],l:61,d:2},{h:16,s:1,l:68,d:2},{h:84,s:1,e:[18,24,66],l:19,d:2},{h:26,s:32,e:[17],l:435},{h:22,s:1,l:71,d:2},{h:15,s:80,l:40},{h:31,s:32,l:16},{h:32,s:1,l:80,d:2},{h:52,s:1,l:42,d:2},{h:12,s:1,l:55,d:2},{h:40,s:1,e:[38],l:15,d:2},{h:14,s:1,l:48,d:2},{h:37,s:48,l:49},{h:148,s:1,l:6351,d:2},{h:88,s:1,l:160,d:2},{h:15,s:16,l:704},{h:25,s:26,l:854},{h:25,s:32,l:55915},{h:37,s:40,l:1247},{h:25,s:-119711,l:53248},{h:25,s:-119763,l:52},{h:25,s:-119815,l:52},{h:25,s:-119867,e:[1,4,5,7,8,11,12,17],l:52},{h:25,s:-119919,l:52},{h:24,s:-119971,e:[2,7,8,17],l:52},{h:24,s:-120023,e:[2,7,13,15,16,17],l:52},{h:25,s:-120075,l:52},{h:25,s:-120127,l:52},{h:25,s:-120179,l:52},{h:25,s:-120231,l:52},{h:25,s:-120283,l:52},{h:25,s:-120335,l:52},{h:24,s:-119543,e:[17],l:56},{h:24,s:-119601,e:[17],l:58},{h:24,s:-119659,e:[17],l:58},{h:24,s:-119717,e:[17],l:58},{h:24,s:-119775,e:[17],l:58}],l=o("b5:3bc,c3:ff,7:73,2:253,5:254,3:256,1:257,5:259,1:25b,3:260,1:263,2:269,1:268,5:26f,1:272,2:275,7:280,3:283,5:288,3:28a,1:28b,5:292,3f:195,1:1bf,29:19e,125:3b9,8b:3b2,1:3b8,1:3c5,3:3c6,1:3c0,1a:3ba,1:3c1,1:3c3,2:3b8,1:3b5,1bc9:3b9,1c:1f76,1:1f77,f:1f7a,1:1f7b,d:1f78,1:1f79,1:1f7c,1:1f7d,107:63,5:25b,4:68,1:68,1:68,3:69,1:69,1:6c,3:6e,4:70,1:71,1:72,1:72,1:72,7:7a,2:3c9,2:7a,2:6b,1:e5,1:62,1:63,3:65,1:66,2:6d,b:3b3,1:3c0,6:64,1b574:3b8,1a:3c3,20:3b8,1a:3c3,20:3b8,1a:3c3,20:3b8,1a:3c3,20:3b8,1a:3c3"),d=o("179:1,2:1,2:1,5:1,2:1,a:4f,a:1,8:1,2:1,2:1,3:1,5:1,3:1,4:1,2:1,3:1,4:1,8:2,1:1,2:2,1:1,2:2,27:2,195:26,2:25,1:25,1:25,2:40,2:3f,1:3f,33:1,11:-6,1:-9,1ac7:-3a,6d:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,9:-8,1:-8,1:-8,1:-8,1:-8,1:-8,b:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,9:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,9:-8,1:-8,1:-8,1:-8,1:-8,1:-8,c:-8,2:-8,2:-8,2:-8,9:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,49:-8,1:-8,1:-4a,1:-4a,d:-56,1:-56,1:-56,1:-56,d:-8,1:-8,f:-8,1:-8,3:-7"),p=o("df:00730073,51:00690307,19:02BC006E,a7:006A030C,18a:002003B9,16:03B903080301,20:03C503080301,1d7:05650582,190f:00680331,1:00740308,1:0077030A,1:0079030A,1:006102BE,b6:03C50313,2:03C503130300,2:03C503130301,2:03C503130342,2a:1F0003B9,1:1F0103B9,1:1F0203B9,1:1F0303B9,1:1F0403B9,1:1F0503B9,1:1F0603B9,1:1F0703B9,1:1F0003B9,1:1F0103B9,1:1F0203B9,1:1F0303B9,1:1F0403B9,1:1F0503B9,1:1F0603B9,1:1F0703B9,1:1F2003B9,1:1F2103B9,1:1F2203B9,1:1F2303B9,1:1F2403B9,1:1F2503B9,1:1F2603B9,1:1F2703B9,1:1F2003B9,1:1F2103B9,1:1F2203B9,1:1F2303B9,1:1F2403B9,1:1F2503B9,1:1F2603B9,1:1F2703B9,1:1F6003B9,1:1F6103B9,1:1F6203B9,1:1F6303B9,1:1F6403B9,1:1F6503B9,1:1F6603B9,1:1F6703B9,1:1F6003B9,1:1F6103B9,1:1F6203B9,1:1F6303B9,1:1F6403B9,1:1F6503B9,1:1F6603B9,1:1F6703B9,3:1F7003B9,1:03B103B9,1:03AC03B9,2:03B10342,1:03B1034203B9,5:03B103B9,6:1F7403B9,1:03B703B9,1:03AE03B9,2:03B70342,1:03B7034203B9,5:03B703B9,6:03B903080300,1:03B903080301,3:03B90342,1:03B903080342,b:03C503080300,1:03C503080301,1:03C10313,2:03C50342,1:03C503080342,b:1F7C03B9,1:03C903B9,1:03CE03B9,2:03C90342,1:03C9034203B9,5:03C903B9,ac:00720073,5b:00B00063,6:00B00066,d:006E006F,a:0073006D,1:00740065006C,1:0074006D,124f:006800700061,2:00610075,2:006F0076,b:00700061,1:006E0061,1:03BC0061,1:006D0061,1:006B0061,1:006B0062,1:006D0062,1:00670062,3:00700066,1:006E0066,1:03BC0066,4:0068007A,1:006B0068007A,1:006D0068007A,1:00670068007A,1:00740068007A,15:00700061,1:006B00700061,1:006D00700061,1:006700700061,8:00700076,1:006E0076,1:03BC0076,1:006D0076,1:006B0076,1:006D0076,1:00700077,1:006E0077,1:03BC0077,1:006D0077,1:006B0077,1:006D0077,1:006B03C9,1:006D03C9,2:00620071,3:00632215006B0067,1:0063006F002E,1:00640062,1:00670079,2:00680070,2:006B006B,1:006B006D,9:00700068,2:00700070006D,1:00700072,2:00730076,1:00770062,c723:00660066,1:00660069,1:0066006C,1:006600660069,1:00660066006C,1:00730074,1:00730074,d:05740576,1:05740565,1:0574056B,1:057E0576,1:0574056D",(function(e){if(e.length%4!=0)throw new Error("bad data");for(var t=[],r=0;r=0)return[];if(e>=65024&&e<=65039)return[];var t=m(e);return t||[e]})),r=t.reduce((function(e,t){return t.forEach((function(t){e.push(t)})),e}),[]),(r=(0,n.toUtf8CodePoints)((0,n._toUtf8String)(r),n.UnicodeNormalizationForm.NFKC)).forEach((function(e){if(g(e))throw new Error("STRINGPREP_CONTAINS_PROHIBITED")})),r.forEach((function(e){if(h(e))throw new Error("STRINGPREP_CONTAINS_UNASSIGNED")}));var o=(0,n._toUtf8String)(r);if("-"===o.substring(0,1)||"--"===o.substring(2,4)||"-"===o.substring(o.length-1))throw new Error("invalid hyphen");return o}}}},{package:"@ethersproject/abi>@ethersproject/strings",file:"node_modules/@ethersproject/strings/lib/idna.js"}],[547,{"./bytes32":545,"./idna":546,"./utf8":548},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.nameprep=r.parseBytes32String=r.formatBytes32String=r.UnicodeNormalizationForm=r.Utf8ErrorReason=r.Utf8ErrorFuncs=r.toUtf8String=r.toUtf8CodePoints=r.toUtf8Bytes=r._toEscapedUtf8String=void 0;var n=e("./bytes32");Object.defineProperty(r,"formatBytes32String",{enumerable:!0,get:function(){return n.formatBytes32String}}),Object.defineProperty(r,"parseBytes32String",{enumerable:!0,get:function(){return n.parseBytes32String}});var o=e("./idna");Object.defineProperty(r,"nameprep",{enumerable:!0,get:function(){return o.nameprep}});var a=e("./utf8");Object.defineProperty(r,"_toEscapedUtf8String",{enumerable:!0,get:function(){return a._toEscapedUtf8String}}),Object.defineProperty(r,"toUtf8Bytes",{enumerable:!0,get:function(){return a.toUtf8Bytes}}),Object.defineProperty(r,"toUtf8CodePoints",{enumerable:!0,get:function(){return a.toUtf8CodePoints}}),Object.defineProperty(r,"toUtf8String",{enumerable:!0,get:function(){return a.toUtf8String}}),Object.defineProperty(r,"UnicodeNormalizationForm",{enumerable:!0,get:function(){return a.UnicodeNormalizationForm}}),Object.defineProperty(r,"Utf8ErrorFuncs",{enumerable:!0,get:function(){return a.Utf8ErrorFuncs}}),Object.defineProperty(r,"Utf8ErrorReason",{enumerable:!0,get:function(){return a.Utf8ErrorReason}})}}},{package:"@ethersproject/abi>@ethersproject/strings",file:"node_modules/@ethersproject/strings/lib/index.js"}]],[],{}); \ No newline at end of file diff --git a/contracts/test/e2e/metamask-flask-unpacked/common-9.js b/contracts/test/e2e/metamask-flask-unpacked/common-9.js index c4fe7fa..b03443a 100644 --- a/contracts/test/e2e/metamask-flask-unpacked/common-9.js +++ b/contracts/test/e2e/metamask-flask-unpacked/common-9.js @@ -1 +1 @@ -LavaPack.loadBundle([[548,{"./_version":544,"@ethersproject/bytes":476,"@ethersproject/logger":504},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.toUtf8CodePoints=r.toUtf8String=r._toUtf8String=r._toEscapedUtf8String=r.toUtf8Bytes=r.Utf8ErrorFuncs=r.Utf8ErrorReason=r.UnicodeNormalizationForm=void 0;var a,n,o=e("@ethersproject/bytes"),i=e("@ethersproject/logger"),s=e("./_version"),c=new i.Logger(s.version);function u(e,t,r,a,o){if(e===n.BAD_PREFIX||e===n.UNEXPECTED_CONTINUE){for(var i=0,s=t+1;s>6==2;s++)i++;return i}return e===n.OVERRUN?r.length-t-1:0}function l(e,t){null==t&&(t=r.Utf8ErrorFuncs.error),e=(0,o.arrayify)(e);for(var a=[],i=0;i>7){var c=null,u=null;if(192==(224&s))c=1,u=127;else if(224==(240&s))c=2,u=2047;else{if(240!=(248&s)){i+=t(128==(192&s)?n.UNEXPECTED_CONTINUE:n.BAD_PREFIX,i-1,e,a);continue}c=3,u=65535}if(i-1+c>=e.length)i+=t(n.OVERRUN,i-1,e,a);else{for(var l=s&(1<<8-c-1)-1,d=0;d1114111?i+=t(n.OUT_OF_RANGE,i-1-c,e,a,l):l>=55296&&l<=57343?i+=t(n.UTF16_SURROGATE,i-1-c,e,a,l):l<=u?i+=t(n.OVERLONG,i-1-c,e,a,l):a.push(l))}}else a.push(s)}return a}function d(e,t){void 0===t&&(t=a.current),t!=a.current&&(c.checkNormalize(),e=e.normalize(t));for(var r=[],n=0;n>6|192),r.push(63&i|128);else if(55296==(64512&i)){n++;var s=e.charCodeAt(n);if(n>=e.length||56320!=(64512&s))throw new Error("invalid utf-8 string");var u=65536+((1023&i)<<10)+(1023&s);r.push(u>>18|240),r.push(u>>12&63|128),r.push(u>>6&63|128),r.push(63&u|128)}else r.push(i>>12|224),r.push(i>>6&63|128),r.push(63&i|128)}return(0,o.arrayify)(r)}function g(e){var t="0000"+e.toString(16);return"\\u"+t.substring(t.length-4)}function p(e){return e.map((function(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(55296+(e>>10&1023),56320+(1023&e)))})).join("")}!function(e){e.current="",e.NFC="NFC",e.NFD="NFD",e.NFKC="NFKC",e.NFKD="NFKD"}(a=r.UnicodeNormalizationForm||(r.UnicodeNormalizationForm={})),function(e){e.UNEXPECTED_CONTINUE="unexpected continuation byte",e.BAD_PREFIX="bad codepoint prefix",e.OVERRUN="string overrun",e.MISSING_CONTINUE="missing continuation byte",e.OUT_OF_RANGE="out of UTF-8 range",e.UTF16_SURROGATE="UTF-16 surrogate",e.OVERLONG="overlong representation"}(n=r.Utf8ErrorReason||(r.Utf8ErrorReason={})),r.Utf8ErrorFuncs=Object.freeze({error:function(e,t,r,a,n){return c.throwArgumentError("invalid codepoint at offset "+t+"; "+e,"bytes",r)},ignore:u,replace:function(e,t,r,a,o){return e===n.OVERLONG?(a.push(o),0):(a.push(65533),u(e,t,r))}}),r.toUtf8Bytes=d,r._toEscapedUtf8String=function(e,t){return'"'+l(e,t).map((function(e){if(e<256){switch(e){case 8:return"\\b";case 9:return"\\t";case 10:return"\\n";case 13:return"\\r";case 34:return'\\"';case 92:return"\\\\"}if(e>=32&&e<127)return String.fromCharCode(e)}return e<=65535?g(e):g(55296+((e-=65536)>>10&1023))+g(56320+(1023&e))})).join("")+'"'},r._toUtf8String=p,r.toUtf8String=function(e,t){return p(l(e,t))},r.toUtf8CodePoints=function(e,t){return void 0===t&&(t=a.current),l(d(e,t))}}}},{package:"@ethersproject/abi>@ethersproject/strings",file:"node_modules/@ethersproject/strings/lib/utf8.js"}],[549,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.version=void 0,r.version="transactions/5.7.0"}}},{package:"@ethersproject/hdnode>@ethersproject/transactions",file:"node_modules/@ethersproject/transactions/lib/_version.js"}],[550,{"./_version":549,"@ethersproject/address":467,"@ethersproject/bignumber":474,"@ethersproject/bytes":476,"@ethersproject/constants":480,"@ethersproject/keccak256":502,"@ethersproject/logger":504,"@ethersproject/properties":510,"@ethersproject/rlp":536,"@ethersproject/signing-key":543},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var a=this&&this.__createBinding||(Object.create?function(e,t,r,a){a===undefined&&(a=r),Object.defineProperty(e,a,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,a){a===undefined&&(a=r),e[a]=t[r]}),n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&a(t,e,r);return n(t,e),t};Object.defineProperty(r,"__esModule",{value:!0}),r.parse=r.serialize=r.accessListify=r.recoverAddress=r.computeAddress=r.TransactionTypes=void 0;var i=e("@ethersproject/address"),s=e("@ethersproject/bignumber"),c=e("@ethersproject/bytes"),u=e("@ethersproject/constants"),l=e("@ethersproject/keccak256"),d=e("@ethersproject/properties"),g=o(e("@ethersproject/rlp")),p=e("@ethersproject/signing-key"),m=e("@ethersproject/logger"),h=e("./_version"),T=new m.Logger(h.version);function f(e){return"0x"===e?null:(0,i.getAddress)(e)}function S(e){return"0x"===e?u.Zero:s.BigNumber.from(e)}!function(e){e[e.legacy=0]="legacy",e[e.eip2930=1]="eip2930",e[e.eip1559=2]="eip1559"}(r.TransactionTypes||(r.TransactionTypes={}));var A=[{name:"nonce",maxLength:32,numeric:!0},{name:"gasPrice",maxLength:32,numeric:!0},{name:"gasLimit",maxLength:32,numeric:!0},{name:"to",length:20},{name:"value",maxLength:32,numeric:!0},{name:"data"}],y={chainId:!0,data:!0,gasLimit:!0,gasPrice:!0,nonce:!0,to:!0,type:!0,value:!0};function v(e){var t=(0,p.computePublicKey)(e);return(0,i.getAddress)((0,c.hexDataSlice)((0,l.keccak256)((0,c.hexDataSlice)(t,1)),12))}function E(e,t){return v((0,p.recoverPublicKey)((0,c.arrayify)(e),t))}function b(e,t){var r=(0,c.stripZeros)(s.BigNumber.from(e).toHexString());return r.length>32&&T.throwArgumentError("invalid length for "+t,"transaction:"+t,e),r}function C(e,t){return{address:(0,i.getAddress)(e),storageKeys:(t||[]).map((function(t,r){return 32!==(0,c.hexDataLength)(t)&&T.throwArgumentError("invalid access list storageKey","accessList["+e+":"+r+"]",t),t.toLowerCase()}))}}function R(e){if(Array.isArray(e))return e.map((function(e,t){return Array.isArray(e)?(e.length>2&&T.throwArgumentError("access list expected to be [ address, storageKeys[] ]","value["+t+"]",e),C(e[0],e[1])):C(e.address,e.storageKeys)}));var t=Object.keys(e).map((function(t){var r=e[t].reduce((function(e,t){return e[t]=!0,e}),{});return C(t,Object.keys(r).sort())}));return t.sort((function(e,t){return e.address.localeCompare(t.address)})),t}function D(e){return R(e).map((function(e){return[e.address,e.storageKeys]}))}function O(e,t){if(null!=e.gasPrice){var r=s.BigNumber.from(e.gasPrice),a=s.BigNumber.from(e.maxFeePerGas||0);r.eq(a)||T.throwArgumentError("mismatch EIP-1559 gasPrice != maxFeePerGas","tx",{gasPrice:r,maxFeePerGas:a})}var n=[b(e.chainId||0,"chainId"),b(e.nonce||0,"nonce"),b(e.maxPriorityFeePerGas||0,"maxPriorityFeePerGas"),b(e.maxFeePerGas||0,"maxFeePerGas"),b(e.gasLimit||0,"gasLimit"),null!=e.to?(0,i.getAddress)(e.to):"0x",b(e.value||0,"value"),e.data||"0x",D(e.accessList||[])];if(t){var o=(0,c.splitSignature)(t);n.push(b(o.recoveryParam,"recoveryParam")),n.push((0,c.stripZeros)(o.r)),n.push((0,c.stripZeros)(o.s))}return(0,c.hexConcat)(["0x02",g.encode(n)])}function I(e,t){var r=[b(e.chainId||0,"chainId"),b(e.nonce||0,"nonce"),b(e.gasPrice||0,"gasPrice"),b(e.gasLimit||0,"gasLimit"),null!=e.to?(0,i.getAddress)(e.to):"0x",b(e.value||0,"value"),e.data||"0x",D(e.accessList||[])];if(t){var a=(0,c.splitSignature)(t);r.push(b(a.recoveryParam,"recoveryParam")),r.push((0,c.stripZeros)(a.r)),r.push((0,c.stripZeros)(a.s))}return(0,c.hexConcat)(["0x01",g.encode(r)])}function M(e,t,r){try{var a=S(t[0]).toNumber();if(0!==a&&1!==a)throw new Error("bad recid");e.v=a}catch(e){T.throwArgumentError("invalid v for transaction type: 1","v",t[0])}e.r=(0,c.hexZeroPad)(t[1],32),e.s=(0,c.hexZeroPad)(t[2],32);try{var n=(0,l.keccak256)(r(e));e.from=E(n,{r:e.r,s:e.s,recoveryParam:e.v})}catch(e){}}r.computeAddress=v,r.recoverAddress=E,r.accessListify=R,r.serialize=function(e,t){if(null==e.type||0===e.type)return null!=e.accessList&&T.throwArgumentError("untyped transactions do not support accessList; include type: 1","transaction",e),function(e,t){(0,d.checkProperties)(e,y);var r=[];A.forEach((function(t){var a=e[t.name]||[],n={};t.numeric&&(n.hexPad="left"),a=(0,c.arrayify)((0,c.hexlify)(a,n)),t.length&&a.length!==t.length&&a.length>0&&T.throwArgumentError("invalid length for "+t.name,"transaction:"+t.name,a),t.maxLength&&(a=(0,c.stripZeros)(a)).length>t.maxLength&&T.throwArgumentError("invalid length for "+t.name,"transaction:"+t.name,a),r.push((0,c.hexlify)(a))}));var a=0;if(null!=e.chainId?"number"!=typeof(a=e.chainId)&&T.throwArgumentError("invalid transaction.chainId","transaction",e):t&&!(0,c.isBytesLike)(t)&&t.v>28&&(a=Math.floor((t.v-35)/2)),0!==a&&(r.push((0,c.hexlify)(a)),r.push("0x"),r.push("0x")),!t)return g.encode(r);var n=(0,c.splitSignature)(t),o=27+n.recoveryParam;return 0!==a?(r.pop(),r.pop(),r.pop(),o+=2*a+8,n.v>28&&n.v!==o&&T.throwArgumentError("transaction.chainId/signature.v mismatch","signature",t)):n.v!==o&&T.throwArgumentError("transaction.chainId/signature.v mismatch","signature",t),r.push((0,c.hexlify)(o)),r.push((0,c.stripZeros)((0,c.arrayify)(n.r))),r.push((0,c.stripZeros)((0,c.arrayify)(n.s))),g.encode(r)}(e,t);switch(e.type){case 1:return I(e,t);case 2:return O(e,t)}return T.throwError("unsupported transaction type: "+e.type,m.Logger.errors.UNSUPPORTED_OPERATION,{operation:"serializeTransaction",transactionType:e.type})},r.parse=function(e){var t=(0,c.arrayify)(e);if(t[0]>127)return function(e){var t=g.decode(e);9!==t.length&&6!==t.length&&T.throwArgumentError("invalid raw transaction","rawTransaction",e);var r={nonce:S(t[0]).toNumber(),gasPrice:S(t[1]),gasLimit:S(t[2]),to:f(t[3]),value:S(t[4]),data:t[5],chainId:0};if(6===t.length)return r;try{r.v=s.BigNumber.from(t[6]).toNumber()}catch(e){return r}if(r.r=(0,c.hexZeroPad)(t[7],32),r.s=(0,c.hexZeroPad)(t[8],32),s.BigNumber.from(r.r).isZero()&&s.BigNumber.from(r.s).isZero())r.chainId=r.v,r.v=0;else{r.chainId=Math.floor((r.v-35)/2),r.chainId<0&&(r.chainId=0);var a=r.v-27,n=t.slice(0,6);0!==r.chainId&&(n.push((0,c.hexlify)(r.chainId)),n.push("0x"),n.push("0x"),a-=2*r.chainId+8);var o=(0,l.keccak256)(g.encode(n));try{r.from=E(o,{r:(0,c.hexlify)(r.r),s:(0,c.hexlify)(r.s),recoveryParam:a})}catch(e){}r.hash=(0,l.keccak256)(e)}return r.type=null,r}(t);switch(t[0]){case 1:return function(e){var t=g.decode(e.slice(1));8!==t.length&&11!==t.length&&T.throwArgumentError("invalid component count for transaction type: 1","payload",(0,c.hexlify)(e));var r={type:1,chainId:S(t[0]).toNumber(),nonce:S(t[1]).toNumber(),gasPrice:S(t[2]),gasLimit:S(t[3]),to:f(t[4]),value:S(t[5]),data:t[6],accessList:R(t[7])};return 8===t.length||(r.hash=(0,l.keccak256)(e),M(r,t.slice(8),I)),r}(t);case 2:return function(e){var t=g.decode(e.slice(1));9!==t.length&&12!==t.length&&T.throwArgumentError("invalid component count for transaction type: 2","payload",(0,c.hexlify)(e));var r=S(t[2]),a=S(t[3]),n={type:2,chainId:S(t[0]).toNumber(),nonce:S(t[1]).toNumber(),maxPriorityFeePerGas:r,maxFeePerGas:a,gasPrice:null,gasLimit:S(t[4]),to:f(t[5]),value:S(t[6]),data:t[7],accessList:R(t[8])};return 9===t.length||(n.hash=(0,l.keccak256)(e),M(n,t.slice(9),O)),n}(t)}return T.throwError("unsupported transaction type: "+t[0],m.Logger.errors.UNSUPPORTED_OPERATION,{operation:"parseTransaction",transactionType:t[0]})}}}},{package:"@ethersproject/hdnode>@ethersproject/transactions",file:"node_modules/@ethersproject/transactions/lib/index.js"}],[553,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.version=void 0,r.version="web/5.7.1"}}},{package:"@ethersproject/providers>@ethersproject/web",file:"node_modules/@ethersproject/web/lib/_version.js"}],[554,{"@ethersproject/bytes":476},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var a=this&&this.__awaiter||function(e,t,r,a){return new(r||(r=Promise))((function(n,o){function i(e){try{c(a.next(e))}catch(e){o(e)}}function s(e){try{c(a.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?n(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(i,s)}c((a=a.apply(e,t||[])).next())}))},n=this&&this.__generator||function(e,t){var r,a,n,o,i={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;i;)try{if(r=1,a&&(n=2&o[0]?a.return:o[0]?a.throw||((n=a.return)&&n.call(a),0):a.next)&&!(n=n.call(a,o[1])).done)return n;switch(a=0,n&&(o=[2&o[0],n.value]),o[0]){case 0:case 1:n=o;break;case 4:return i.label++,{value:o[1],done:!1};case 5:i.label++,a=o[1],o=[0];continue;case 7:o=i.ops.pop(),i.trys.pop();continue;default:if(!(n=i.trys,(n=n.length>0&&n[n.length-1])||6!==o[0]&&2!==o[0])){i=0;continue}if(3===o[0]&&(!n||o[1]>n[0]&&o[1]@ethersproject/web",file:"node_modules/@ethersproject/web/lib/browser-geturl.js"}],[555,{"./_version":553,"./geturl":554,"@ethersproject/base64":469,"@ethersproject/bytes":476,"@ethersproject/logger":504,"@ethersproject/properties":510,"@ethersproject/strings":547},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var a=this&&this.__awaiter||function(e,t,r,a){return new(r||(r=Promise))((function(n,o){function i(e){try{c(a.next(e))}catch(e){o(e)}}function s(e){try{c(a.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?n(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(i,s)}c((a=a.apply(e,t||[])).next())}))},n=this&&this.__generator||function(e,t){var r,a,n,o,i={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;i;)try{if(r=1,a&&(n=2&o[0]?a.return:o[0]?a.throw||((n=a.return)&&n.call(a),0):a.next)&&!(n=n.call(a,o[1])).done)return n;switch(a=0,n&&(o=[2&o[0],n.value]),o[0]){case 0:case 1:n=o;break;case 4:return i.label++,{value:o[1],done:!1};case 5:i.label++,a=o[1],o=[0];continue;case 7:o=i.ops.pop(),i.trys.pop();continue;default:if(!(n=i.trys,(n=n.length>0&&n[n.length-1])||6!==o[0]&&2!==o[0])){i=0;continue}if(3===o[0]&&(!n||o[1]>n[0]&&o[1]0&&i%1==0,"invalid connection throttle limit","connection.throttleLimit",i);var l="object"==typeof e?e.throttleCallback:null,h="object"==typeof e&&"number"==typeof e.throttleSlotInterval?e.throttleSlotInterval:100;d.assertArgument(h>0&&h%1==0,"invalid connection throttle slot interval","connection.throttleSlotInterval",h);var T="object"==typeof e&&!!e.errorPassThrough,f={},S=null,A={method:"GET"},y=!1,v=12e4;if("string"==typeof e)S=e;else if("object"==typeof e){if(null!=e&&null!=e.url||d.throwArgumentError("missing URL","connection.url",e),S=e.url,"number"==typeof e.timeout&&e.timeout>0&&(v=e.timeout),e.headers)for(var E in e.headers)f[E.toLowerCase()]={key:E,value:String(e.headers[E])},["if-none-match","if-modified-since"].indexOf(E.toLowerCase())>=0&&(y=!0);if(A.allowGzip=!!e.allowGzip,null!=e.user&&null!=e.password){"https:"!==S.substring(0,6)&&!0!==e.allowInsecureAuthentication&&d.throwError("basic authentication requires a secure https url",u.Logger.errors.INVALID_ARGUMENT,{argument:"url",url:S,user:e.user,password:"[REDACTED]"});var b=e.user+":"+e.password;f.authorization={key:"Authorization",value:"Basic "+(0,o.encode)((0,c.toUtf8Bytes)(b))}}null!=e.skipFetchSetup&&(A.skipFetchSetup=!!e.skipFetchSetup),null!=e.fetchOptions&&(A.fetchOptions=(0,s.shallowCopy)(e.fetchOptions))}var C,R=new RegExp("^data:([^;:]*)?(;base64)?,(.*)$","i"),D=S?S.match(R):null;if(D)try{var O={statusCode:200,statusMessage:"OK",headers:{"content-type":D[1]||"text/plain"},body:D[2]?(0,o.decode)(D[3]):(C=D[3],(0,c.toUtf8Bytes)(C.replace(/%([0-9a-f][0-9a-f])/gi,(function(e,t){return String.fromCharCode(parseInt(t,16))}))))},I=O.body;return r&&(I=r(O.body,O)),Promise.resolve(I)}catch(e){d.throwError("processing response error",u.Logger.errors.SERVER_ERROR,{body:m(D[1],D[2]),error:e,requestBody:null,requestMethod:"GET",url:S})}t&&(A.method="POST",A.body=t,null==f["content-type"]&&(f["content-type"]={key:"Content-Type",value:"application/octet-stream"}),null==f["content-length"]&&(f["content-length"]={key:"Content-Length",value:String(t.length)}));var M={};Object.keys(f).forEach((function(e){var t=f[e];M[t.key]=t.value})),A.headers=M;var k,P=(k=null,{promise:new Promise((function(e,t){v&&(k=setTimeout((function(){null!=k&&(k=null,t(d.makeError("timeout",u.Logger.errors.TIMEOUT,{requestBody:m(A.body,M["content-type"]),requestMethod:A.method,timeout:v,url:S})))}),v))})),cancel:function(){null!=k&&(clearTimeout(k),k=null)}}),N=function(){return a(this,void 0,void 0,(function(){var e,t,a,o,s,c,f,v,E;return n(this,(function(n){switch(n.label){case 0:e=0,n.label=1;case 1:if(!(e=300)&&(P.cancel(),d.throwError("bad response",u.Logger.errors.SERVER_ERROR,{status:t.statusCode,headers:t.headers,body:m(c,t.headers?t.headers["content-type"]:null),requestBody:m(A.body,M["content-type"]),requestMethod:A.method,url:S})),!r)return[3,18];n.label=11;case 11:return n.trys.push([11,13,,18]),[4,r(c,t)];case 12:return f=n.sent(),P.cancel(),[2,f];case 13:return(v=n.sent()).throttleRetry&&es)return void(i()&&a(new Error("retry limit reached")));var u=t.interval*parseInt(String(Math.random()*Math.pow(2,c)));ut.ceiling&&(u=t.ceiling),setTimeout(n,u)}return null}),(function(e){i()&&a(e)}))}()}))}}}},{package:"@ethersproject/providers>@ethersproject/web",file:"node_modules/@ethersproject/web/lib/index.js"}],[556,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.version=void 0,r.version="wordlists/5.7.0"}}},{package:"@ethersproject/hdnode>@ethersproject/wordlists",file:"node_modules/@ethersproject/wordlists/lib/_version.js"}],[557,{"./wordlist":566,"./wordlists":567},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.wordlists=r.Wordlist=r.logger=void 0;var a=e("./wordlist");Object.defineProperty(r,"logger",{enumerable:!0,get:function(){return a.logger}}),Object.defineProperty(r,"Wordlist",{enumerable:!0,get:function(){return a.Wordlist}});var n=e("./wordlists");Object.defineProperty(r,"wordlists",{enumerable:!0,get:function(){return n.wordlists}})}}},{package:"@ethersproject/hdnode>@ethersproject/wordlists",file:"node_modules/@ethersproject/wordlists/lib/index.js"}],[558,{"./wordlist":566},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var a,n=this&&this.__extends||(a=function(e,t){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},a(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.langCz=void 0;var o=e("./wordlist"),i=null;function s(e){if(null==i&&(i="AbdikaceAbecedaAdresaAgreseAkceAktovkaAlejAlkoholAmputaceAnanasAndulkaAnekdotaAnketaAntikaAnulovatArchaAroganceAsfaltAsistentAspiraceAstmaAstronomAtlasAtletikaAtolAutobusAzylBabkaBachorBacilBaculkaBadatelBagetaBagrBahnoBakterieBaladaBaletkaBalkonBalonekBalvanBalzaBambusBankomatBarbarBaretBarmanBarokoBarvaBaterkaBatohBavlnaBazalkaBazilikaBazukaBednaBeranBesedaBestieBetonBezinkaBezmocBeztakBicyklBidloBiftekBikinyBilanceBiografBiologBitvaBizonBlahobytBlatouchBlechaBleduleBleskBlikatBliznaBlokovatBlouditBludBobekBobrBodlinaBodnoutBohatostBojkotBojovatBokorysBolestBorecBoroviceBotaBoubelBouchatBoudaBouleBouratBoxerBradavkaBramboraBrankaBratrBreptaBriketaBrkoBrlohBronzBroskevBrunetkaBrusinkaBrzdaBrzyBublinaBubnovatBuchtaBuditelBudkaBudovaBufetBujarostBukviceBuldokBulvaBundaBunkrBurzaButikBuvolBuzolaBydletBylinaBytovkaBzukotCapartCarevnaCedrCeduleCejchCejnCelaCelerCelkemCelniceCeninaCennostCenovkaCentrumCenzorCestopisCetkaChalupaChapadloCharitaChataChechtatChemieChichotChirurgChladChlebaChlubitChmelChmuraChobotChocholChodbaCholeraChomoutChopitChorobaChovChrapotChrlitChrtChrupChtivostChudinaChutnatChvatChvilkaChvostChybaChystatChytitCibuleCigaretaCihelnaCihlaCinkotCirkusCisternaCitaceCitrusCizinecCizostClonaCokolivCouvatCtitelCtnostCudnostCuketaCukrCupotCvaknoutCvalCvikCvrkotCyklistaDalekoDarebaDatelDatumDceraDebataDechovkaDecibelDeficitDeflaceDeklDekretDemokratDepreseDerbyDeskaDetektivDikobrazDiktovatDiodaDiplomDiskDisplejDivadloDivochDlahaDlouhoDluhopisDnesDobroDobytekDocentDochutitDodnesDohledDohodaDohraDojemDojniceDokladDokolaDoktorDokumentDolarDolevaDolinaDomaDominantDomluvitDomovDonutitDopadDopisDoplnitDoposudDoprovodDopustitDorazitDorostDortDosahDoslovDostatekDosudDosytaDotazDotekDotknoutDoufatDoutnatDovozceDozaduDoznatDozorceDrahotaDrakDramatikDravecDrazeDrdolDrobnostDrogerieDrozdDrsnostDrtitDrzostDubenDuchovnoDudekDuhaDuhovkaDusitDusnoDutostDvojiceDvorecDynamitEkologEkonomieElektronElipsaEmailEmiseEmoceEmpatieEpizodaEpochaEpopejEposEsejEsenceEskortaEskymoEtiketaEuforieEvoluceExekuceExkurzeExpediceExplozeExportExtraktFackaFajfkaFakultaFanatikFantazieFarmacieFavoritFazoleFederaceFejetonFenkaFialkaFigurantFilozofFiltrFinanceFintaFixaceFjordFlanelFlirtFlotilaFondFosforFotbalFotkaFotonFrakceFreskaFrontaFukarFunkceFyzikaGalejeGarantGenetikaGeologGilotinaGlazuraGlejtGolemGolfistaGotikaGrafGramofonGranuleGrepGrilGrogGroteskaGumaHadiceHadrHalaHalenkaHanbaHanopisHarfaHarpunaHavranHebkostHejkalHejnoHejtmanHektarHelmaHematomHerecHernaHesloHezkyHistorikHladovkaHlasivkyHlavaHledatHlenHlodavecHlohHloupostHltatHlubinaHluchotaHmatHmotaHmyzHnisHnojivoHnoutHoblinaHobojHochHodinyHodlatHodnotaHodovatHojnostHokejHolinkaHolkaHolubHomoleHonitbaHonoraceHoralHordaHorizontHorkoHorlivecHormonHorninaHoroskopHorstvoHospodaHostinaHotovostHoubaHoufHoupatHouskaHovorHradbaHraniceHravostHrazdaHrbolekHrdinaHrdloHrdostHrnekHrobkaHromadaHrotHroudaHrozenHrstkaHrubostHryzatHubenostHubnoutHudbaHukotHumrHusitaHustotaHvozdHybnostHydrantHygienaHymnaHysterikIdylkaIhnedIkonaIluzeImunitaInfekceInflaceInkasoInovaceInspekceInternetInvalidaInvestorInzerceIronieJablkoJachtaJahodaJakmileJakostJalovecJantarJarmarkJaroJasanJasnoJatkaJavorJazykJedinecJedleJednatelJehlanJekotJelenJelitoJemnostJenomJepiceJeseterJevitJezdecJezeroJinakJindyJinochJiskraJistotaJitrniceJizvaJmenovatJogurtJurtaKabaretKabelKabinetKachnaKadetKadidloKahanKajakKajutaKakaoKaktusKalamitaKalhotyKalibrKalnostKameraKamkolivKamnaKanibalKanoeKantorKapalinaKapelaKapitolaKapkaKapleKapotaKaprKapustaKapybaraKaramelKarotkaKartonKasaKatalogKatedraKauceKauzaKavalecKazajkaKazetaKazivostKdekolivKdesiKedlubenKempKeramikaKinoKlacekKladivoKlamKlapotKlasikaKlaunKlecKlenbaKlepatKlesnoutKlidKlimaKlisnaKloboukKlokanKlopaKloubKlubovnaKlusatKluzkostKmenKmitatKmotrKnihaKnotKoaliceKoberecKobkaKoblihaKobylaKocourKohoutKojenecKokosKoktejlKolapsKoledaKolizeKoloKomandoKometaKomikKomnataKomoraKompasKomunitaKonatKonceptKondiceKonecKonfeseKongresKoninaKonkursKontaktKonzervaKopanecKopieKopnoutKoprovkaKorbelKorektorKormidloKoroptevKorpusKorunaKorytoKorzetKosatecKostkaKotelKotletaKotoulKoukatKoupelnaKousekKouzloKovbojKozaKozorohKrabiceKrachKrajinaKralovatKrasopisKravataKreditKrejcarKresbaKrevetaKriketKritikKrizeKrkavecKrmelecKrmivoKrocanKrokKronikaKropitKroupaKrovkaKrtekKruhadloKrupiceKrutostKrvinkaKrychleKryptaKrystalKrytKudlankaKufrKujnostKuklaKulajdaKulichKulkaKulometKulturaKunaKupodivuKurtKurzorKutilKvalitaKvasinkaKvestorKynologKyselinaKytaraKyticeKytkaKytovecKyvadloLabradorLachtanLadnostLaikLakomecLamelaLampaLanovkaLasiceLasoLasturaLatinkaLavinaLebkaLeckdyLedenLedniceLedovkaLedvinaLegendaLegieLegraceLehceLehkostLehnoutLektvarLenochodLentilkaLepenkaLepidloLetadloLetecLetmoLetokruhLevhartLevitaceLevobokLibraLichotkaLidojedLidskostLihovinaLijavecLilekLimetkaLinieLinkaLinoleumListopadLitinaLitovatLobistaLodivodLogikaLogopedLokalitaLoketLomcovatLopataLopuchLordLososLotrLoudalLouhLoukaLouskatLovecLstivostLucernaLuciferLumpLuskLustraceLviceLyraLyrikaLysinaMadamMadloMagistrMahagonMajetekMajitelMajoritaMakakMakoviceMakrelaMalbaMalinaMalovatMalviceMaminkaMandleMankoMarnostMasakrMaskotMasopustMaticeMatrikaMaturitaMazanecMazivoMazlitMazurkaMdlobaMechanikMeditaceMedovinaMelasaMelounMentolkaMetlaMetodaMetrMezeraMigraceMihnoutMihuleMikinaMikrofonMilenecMilimetrMilostMimikaMincovnaMinibarMinometMinulostMiskaMistrMixovatMladostMlhaMlhovinaMlokMlsatMluvitMnichMnohemMobilMocnostModelkaModlitbaMohylaMokroMolekulaMomentkaMonarchaMonoklMonstrumMontovatMonzunMosazMoskytMostMotivaceMotorkaMotykaMouchaMoudrostMozaikaMozekMozolMramorMravenecMrkevMrtvolaMrzetMrzutostMstitelMudrcMuflonMulatMumieMuniceMusetMutaceMuzeumMuzikantMyslivecMzdaNabouratNachytatNadaceNadbytekNadhozNadobroNadpisNahlasNahnatNahodileNahraditNaivitaNajednouNajistoNajmoutNaklonitNakonecNakrmitNalevoNamazatNamluvitNanometrNaokoNaopakNaostroNapadatNapevnoNaplnitNapnoutNaposledNaprostoNaroditNarubyNarychloNasaditNasekatNaslepoNastatNatolikNavenekNavrchNavzdoryNazvatNebeNechatNeckyNedalekoNedbatNeduhNegaceNehetNehodaNejenNejprveNeklidNelibostNemilostNemocNeochotaNeonkaNepokojNerostNervNesmyslNesouladNetvorNeuronNevinaNezvykleNicotaNijakNikamNikdyNiklNikterakNitroNoclehNohaviceNominaceNoraNorekNositelNosnostNouzeNovinyNovotaNozdraNudaNudleNugetNutitNutnostNutrieNymfaObalObarvitObavaObdivObecObehnatObejmoutObezitaObhajobaObilniceObjasnitObjektObklopitOblastOblekOblibaOblohaObludaObnosObohatitObojekOboutObrazecObrnaObrubaObrysObsahObsluhaObstaratObuvObvazObvinitObvodObvykleObyvatelObzorOcasOcelOcenitOchladitOchotaOchranaOcitnoutOdbojOdbytOdchodOdcizitOdebratOdeslatOdevzdatOdezvaOdhadceOdhoditOdjetOdjinudOdkazOdkoupitOdlivOdlukaOdmlkaOdolnostOdpadOdpisOdploutOdporOdpustitOdpykatOdrazkaOdsouditOdstupOdsunOdtokOdtudOdvahaOdvetaOdvolatOdvracetOdznakOfinaOfsajdOhlasOhniskoOhradaOhrozitOhryzekOkapOkeniceOklikaOknoOkouzlitOkovyOkrasaOkresOkrsekOkruhOkupantOkurkaOkusitOlejninaOlizovatOmakOmeletaOmezitOmladinaOmlouvatOmluvaOmylOnehdyOpakovatOpasekOperaceOpiceOpilostOpisovatOporaOpoziceOpravduOprotiOrbitalOrchestrOrgieOrliceOrlojOrtelOsadaOschnoutOsikaOsivoOslavaOslepitOslnitOslovitOsnovaOsobaOsolitOspalecOstenOstrahaOstudaOstychOsvojitOteplitOtiskOtopOtrhatOtrlostOtrokOtrubyOtvorOvanoutOvarOvesOvlivnitOvoceOxidOzdobaPachatelPacientPadouchPahorekPaktPalandaPalecPalivoPalubaPamfletPamlsekPanenkaPanikaPannaPanovatPanstvoPantoflePaprikaParketaParodiePartaParukaParybaPasekaPasivitaPastelkaPatentPatronaPavoukPaznehtPazourekPeckaPedagogPejsekPekloPelotonPenaltaPendrekPenzePeriskopPeroPestrostPetardaPeticePetrolejPevninaPexesoPianistaPihaPijavicePiklePiknikPilinaPilnostPilulkaPinzetaPipetaPisatelPistolePitevnaPivnicePivovarPlacentaPlakatPlamenPlanetaPlastikaPlatitPlavidloPlazPlechPlemenoPlentaPlesPletivoPlevelPlivatPlnitPlnoPlochaPlodinaPlombaPloutPlukPlynPobavitPobytPochodPocitPoctivecPodatPodcenitPodepsatPodhledPodivitPodkladPodmanitPodnikPodobaPodporaPodrazPodstataPodvodPodzimPoeziePohankaPohnutkaPohovorPohromaPohybPointaPojistkaPojmoutPokazitPoklesPokojPokrokPokutaPokynPolednePolibekPolknoutPolohaPolynomPomaluPominoutPomlkaPomocPomstaPomysletPonechatPonorkaPonurostPopadatPopelPopisekPoplachPoprositPopsatPopudPoradcePorcePorodPoruchaPoryvPosaditPosedPosilaPoskokPoslanecPosouditPospoluPostavaPosudekPosypPotahPotkanPotleskPotomekPotravaPotupaPotvoraPoukazPoutoPouzdroPovahaPovidlaPovlakPovozPovrchPovstatPovykPovzdechPozdravPozemekPoznatekPozorPozvatPracovatPrahoryPraktikaPralesPraotecPraporekPrasePravdaPrincipPrknoProbuditProcentoProdejProfeseProhraProjektProlomitPromilePronikatPropadProrokProsbaProtonProutekProvazPrskavkaPrstenPrudkostPrutPrvekPrvohoryPsanecPsovodPstruhPtactvoPubertaPuchPudlPukavecPuklinaPukrlePultPumpaPuncPupenPusaPusinkaPustinaPutovatPutykaPyramidaPyskPytelRacekRachotRadiaceRadniceRadonRaftRagbyRaketaRakovinaRamenoRampouchRandeRarachRaritaRasovnaRastrRatolestRazanceRazidloReagovatReakceReceptRedaktorReferentReflexRejnokReklamaRekordRekrutRektorReputaceRevizeRevmaRevolverRezervaRiskovatRizikoRobotikaRodokmenRohovkaRokleRokokoRomanetoRopovodRopuchaRorejsRosolRostlinaRotmistrRotopedRotundaRoubenkaRouchoRoupRouraRovinaRovniceRozborRozchodRozdatRozeznatRozhodceRozinkaRozjezdRozkazRozlohaRozmarRozpadRozruchRozsahRoztokRozumRozvodRubrikaRuchadloRukaviceRukopisRybaRybolovRychlostRydloRypadloRytinaRyzostSadistaSahatSakoSamecSamizdatSamotaSanitkaSardinkaSasankaSatelitSazbaSazeniceSborSchovatSebrankaSeceseSedadloSedimentSedloSehnatSejmoutSekeraSektaSekundaSekvojeSemenoSenoServisSesaditSeshoraSeskokSeslatSestraSesuvSesypatSetbaSetinaSetkatSetnoutSetrvatSeverSeznamShodaShrnoutSifonSilniceSirkaSirotekSirupSituaceSkafandrSkaliskoSkanzenSkautSkeptikSkicaSkladbaSkleniceSkloSkluzSkobaSkokanSkoroSkriptaSkrzSkupinaSkvostSkvrnaSlabikaSladidloSlaninaSlastSlavnostSledovatSlepecSlevaSlezinaSlibSlinaSlizniceSlonSloupekSlovoSluchSluhaSlunceSlupkaSlzaSmaragdSmetanaSmilstvoSmlouvaSmogSmradSmrkSmrtkaSmutekSmyslSnadSnahaSnobSobotaSochaSodovkaSokolSopkaSotvaSoubojSoucitSoudceSouhlasSouladSoumrakSoupravaSousedSoutokSouvisetSpalovnaSpasitelSpisSplavSpodekSpojenecSpoluSponzorSpornostSpoustaSprchaSpustitSrandaSrazSrdceSrnaSrnecSrovnatSrpenSrstSrubStaniceStarostaStatikaStavbaStehnoStezkaStodolaStolekStopaStornoStoupatStrachStresStrhnoutStromStrunaStudnaStupniceStvolStykSubjektSubtropySucharSudostSuknoSundatSunoutSurikataSurovinaSvahSvalstvoSvetrSvatbaSvazekSvisleSvitekSvobodaSvodidloSvorkaSvrabSykavkaSykotSynekSynovecSypatSypkostSyrovostSyselSytostTabletkaTabuleTahounTajemnoTajfunTajgaTajitTajnostTaktikaTamhleTamponTancovatTanecTankerTapetaTaveninaTazatelTechnikaTehdyTekutinaTelefonTemnotaTendenceTenistaTenorTeplotaTepnaTeprveTerapieTermoskaTextilTichoTiskopisTitulekTkadlecTkaninaTlapkaTleskatTlukotTlupaTmelToaletaTopinkaTopolTorzoTouhaToulecTradiceTraktorTrampTrasaTraverzaTrefitTrestTrezorTrhavinaTrhlinaTrochuTrojiceTroskaTroubaTrpceTrpitelTrpkostTrubecTruchlitTruhliceTrusTrvatTudyTuhnoutTuhostTundraTuristaTurnajTuzemskoTvarohTvorbaTvrdostTvrzTygrTykevUbohostUbozeUbratUbrousekUbrusUbytovnaUchoUctivostUdivitUhraditUjednatUjistitUjmoutUkazatelUklidnitUklonitUkotvitUkrojitUliceUlitaUlovitUmyvadloUnavitUniformaUniknoutUpadnoutUplatnitUplynoutUpoutatUpravitUranUrazitUsednoutUsilovatUsmrtitUsnadnitUsnoutUsouditUstlatUstrnoutUtahovatUtkatUtlumitUtonoutUtopenecUtrousitUvalitUvolnitUvozovkaUzdravitUzelUzeninaUzlinaUznatVagonValchaValounVanaVandalVanilkaVaranVarhanyVarovatVcelkuVchodVdovaVedroVegetaceVejceVelbloudVeletrhVelitelVelmocVelrybaVenkovVerandaVerzeVeselkaVeskrzeVesniceVespoduVestaVeterinaVeverkaVibraceVichrVideohraVidinaVidleVilaViniceVisetVitalitaVizeVizitkaVjezdVkladVkusVlajkaVlakVlasecVlevoVlhkostVlivVlnovkaVloupatVnucovatVnukVodaVodivostVodoznakVodstvoVojenskyVojnaVojskoVolantVolbaVolitVolnoVoskovkaVozidloVozovnaVpravoVrabecVracetVrahVrataVrbaVrcholekVrhatVrstvaVrtuleVsaditVstoupitVstupVtipVybavitVybratVychovatVydatVydraVyfotitVyhledatVyhnoutVyhoditVyhraditVyhubitVyjasnitVyjetVyjmoutVyklopitVykonatVylekatVymazatVymezitVymizetVymysletVynechatVynikatVynutitVypadatVyplatitVypravitVypustitVyrazitVyrovnatVyrvatVyslovitVysokoVystavitVysunoutVysypatVytasitVytesatVytratitVyvinoutVyvolatVyvrhelVyzdobitVyznatVzaduVzbuditVzchopitVzdorVzduchVzdychatVzestupVzhledemVzkazVzlykatVznikVzorekVzpouraVztahVztekXylofonZabratZabydletZachovatZadarmoZadusitZafoukatZahltitZahoditZahradaZahynoutZajatecZajetZajistitZaklepatZakoupitZalepitZamezitZamotatZamysletZanechatZanikatZaplatitZapojitZapsatZarazitZastavitZasunoutZatajitZatemnitZatknoutZaujmoutZavalitZaveletZavinitZavolatZavrtatZazvonitZbavitZbrusuZbudovatZbytekZdalekaZdarmaZdatnostZdivoZdobitZdrojZdvihZdymadloZeleninaZemanZeminaZeptatZezaduZezdolaZhatitZhltnoutZhlubokaZhotovitZhrubaZimaZimniceZjemnitZklamatZkoumatZkratkaZkumavkaZlatoZlehkaZlobaZlomZlostZlozvykZmapovatZmarZmatekZmijeZmizetZmocnitZmodratZmrzlinaZmutovatZnakZnalostZnamenatZnovuZobrazitZotavitZoubekZoufaleZploditZpomalitZpravaZprostitZprudkaZprvuZradaZranitZrcadloZrnitostZrnoZrovnaZrychlitZrzavostZtichaZtratitZubovinaZubrZvednoutZvenkuZveselaZvonZvratZvukovodZvyk".replace(/([A-Z])/g," $1").toLowerCase().substring(1).split(" "),"0x25f44555f4af25b51a711136e1c7d6e50ce9f8917d39d6b1f076b2bb4d2fac1a"!==o.Wordlist.check(e)))throw i=null,new Error("BIP39 Wordlist for en (English) FAILED")}var c=new(function(e){function t(){return e.call(this,"cz")||this}return n(t,e),t.prototype.getWord=function(e){return s(this),i[e]},t.prototype.getWordIndex=function(e){return s(this),i.indexOf(e)},t}(o.Wordlist));r.langCz=c,o.Wordlist.register(c)}}},{package:"@ethersproject/hdnode>@ethersproject/wordlists",file:"node_modules/@ethersproject/wordlists/lib/lang-cz.js"}],[559,{"./wordlist":566},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var a,n=this&&this.__extends||(a=function(e,t){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},a(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.langEn=void 0;var o=e("./wordlist"),i=null;function s(e){if(null==i&&(i="AbandonAbilityAbleAboutAboveAbsentAbsorbAbstractAbsurdAbuseAccessAccidentAccountAccuseAchieveAcidAcousticAcquireAcrossActActionActorActressActualAdaptAddAddictAddressAdjustAdmitAdultAdvanceAdviceAerobicAffairAffordAfraidAgainAgeAgentAgreeAheadAimAirAirportAisleAlarmAlbumAlcoholAlertAlienAllAlleyAllowAlmostAloneAlphaAlreadyAlsoAlterAlwaysAmateurAmazingAmongAmountAmusedAnalystAnchorAncientAngerAngleAngryAnimalAnkleAnnounceAnnualAnotherAnswerAntennaAntiqueAnxietyAnyApartApologyAppearAppleApproveAprilArchArcticAreaArenaArgueArmArmedArmorArmyAroundArrangeArrestArriveArrowArtArtefactArtistArtworkAskAspectAssaultAssetAssistAssumeAsthmaAthleteAtomAttackAttendAttitudeAttractAuctionAuditAugustAuntAuthorAutoAutumnAverageAvocadoAvoidAwakeAwareAwayAwesomeAwfulAwkwardAxisBabyBachelorBaconBadgeBagBalanceBalconyBallBambooBananaBannerBarBarelyBargainBarrelBaseBasicBasketBattleBeachBeanBeautyBecauseBecomeBeefBeforeBeginBehaveBehindBelieveBelowBeltBenchBenefitBestBetrayBetterBetweenBeyondBicycleBidBikeBindBiologyBirdBirthBitterBlackBladeBlameBlanketBlastBleakBlessBlindBloodBlossomBlouseBlueBlurBlushBoardBoatBodyBoilBombBoneBonusBookBoostBorderBoringBorrowBossBottomBounceBoxBoyBracketBrainBrandBrassBraveBreadBreezeBrickBridgeBriefBrightBringBriskBroccoliBrokenBronzeBroomBrotherBrownBrushBubbleBuddyBudgetBuffaloBuildBulbBulkBulletBundleBunkerBurdenBurgerBurstBusBusinessBusyButterBuyerBuzzCabbageCabinCableCactusCageCakeCallCalmCameraCampCanCanalCancelCandyCannonCanoeCanvasCanyonCapableCapitalCaptainCarCarbonCardCargoCarpetCarryCartCaseCashCasinoCastleCasualCatCatalogCatchCategoryCattleCaughtCauseCautionCaveCeilingCeleryCementCensusCenturyCerealCertainChairChalkChampionChangeChaosChapterChargeChaseChatCheapCheckCheeseChefCherryChestChickenChiefChildChimneyChoiceChooseChronicChuckleChunkChurnCigarCinnamonCircleCitizenCityCivilClaimClapClarifyClawClayCleanClerkCleverClickClientCliffClimbClinicClipClockClogCloseClothCloudClownClubClumpClusterClutchCoachCoastCoconutCodeCoffeeCoilCoinCollectColorColumnCombineComeComfortComicCommonCompanyConcertConductConfirmCongressConnectConsiderControlConvinceCookCoolCopperCopyCoralCoreCornCorrectCostCottonCouchCountryCoupleCourseCousinCoverCoyoteCrackCradleCraftCramCraneCrashCraterCrawlCrazyCreamCreditCreekCrewCricketCrimeCrispCriticCropCrossCrouchCrowdCrucialCruelCruiseCrumbleCrunchCrushCryCrystalCubeCultureCupCupboardCuriousCurrentCurtainCurveCushionCustomCuteCycleDadDamageDampDanceDangerDaringDashDaughterDawnDayDealDebateDebrisDecadeDecemberDecideDeclineDecorateDecreaseDeerDefenseDefineDefyDegreeDelayDeliverDemandDemiseDenialDentistDenyDepartDependDepositDepthDeputyDeriveDescribeDesertDesignDeskDespairDestroyDetailDetectDevelopDeviceDevoteDiagramDialDiamondDiaryDiceDieselDietDifferDigitalDignityDilemmaDinnerDinosaurDirectDirtDisagreeDiscoverDiseaseDishDismissDisorderDisplayDistanceDivertDivideDivorceDizzyDoctorDocumentDogDollDolphinDomainDonateDonkeyDonorDoorDoseDoubleDoveDraftDragonDramaDrasticDrawDreamDressDriftDrillDrinkDripDriveDropDrumDryDuckDumbDuneDuringDustDutchDutyDwarfDynamicEagerEagleEarlyEarnEarthEasilyEastEasyEchoEcologyEconomyEdgeEditEducateEffortEggEightEitherElbowElderElectricElegantElementElephantElevatorEliteElseEmbarkEmbodyEmbraceEmergeEmotionEmployEmpowerEmptyEnableEnactEndEndlessEndorseEnemyEnergyEnforceEngageEngineEnhanceEnjoyEnlistEnoughEnrichEnrollEnsureEnterEntireEntryEnvelopeEpisodeEqualEquipEraEraseErodeErosionErrorEruptEscapeEssayEssenceEstateEternalEthicsEvidenceEvilEvokeEvolveExactExampleExcessExchangeExciteExcludeExcuseExecuteExerciseExhaustExhibitExileExistExitExoticExpandExpectExpireExplainExposeExpressExtendExtraEyeEyebrowFabricFaceFacultyFadeFaintFaithFallFalseFameFamilyFamousFanFancyFantasyFarmFashionFatFatalFatherFatigueFaultFavoriteFeatureFebruaryFederalFeeFeedFeelFemaleFenceFestivalFetchFeverFewFiberFictionFieldFigureFileFilmFilterFinalFindFineFingerFinishFireFirmFirstFiscalFishFitFitnessFixFlagFlameFlashFlatFlavorFleeFlightFlipFloatFlockFloorFlowerFluidFlushFlyFoamFocusFogFoilFoldFollowFoodFootForceForestForgetForkFortuneForumForwardFossilFosterFoundFoxFragileFrameFrequentFreshFriendFringeFrogFrontFrostFrownFrozenFruitFuelFunFunnyFurnaceFuryFutureGadgetGainGalaxyGalleryGameGapGarageGarbageGardenGarlicGarmentGasGaspGateGatherGaugeGazeGeneralGeniusGenreGentleGenuineGestureGhostGiantGiftGiggleGingerGiraffeGirlGiveGladGlanceGlareGlassGlideGlimpseGlobeGloomGloryGloveGlowGlueGoatGoddessGoldGoodGooseGorillaGospelGossipGovernGownGrabGraceGrainGrantGrapeGrassGravityGreatGreenGridGriefGritGroceryGroupGrowGruntGuardGuessGuideGuiltGuitarGunGymHabitHairHalfHammerHamsterHandHappyHarborHardHarshHarvestHatHaveHawkHazardHeadHealthHeartHeavyHedgehogHeightHelloHelmetHelpHenHeroHiddenHighHillHintHipHireHistoryHobbyHockeyHoldHoleHolidayHollowHomeHoneyHoodHopeHornHorrorHorseHospitalHostHotelHourHoverHubHugeHumanHumbleHumorHundredHungryHuntHurdleHurryHurtHusbandHybridIceIconIdeaIdentifyIdleIgnoreIllIllegalIllnessImageImitateImmenseImmuneImpactImposeImproveImpulseInchIncludeIncomeIncreaseIndexIndicateIndoorIndustryInfantInflictInformInhaleInheritInitialInjectInjuryInmateInnerInnocentInputInquiryInsaneInsectInsideInspireInstallIntactInterestIntoInvestInviteInvolveIronIslandIsolateIssueItemIvoryJacketJaguarJarJazzJealousJeansJellyJewelJobJoinJokeJourneyJoyJudgeJuiceJumpJungleJuniorJunkJustKangarooKeenKeepKetchupKeyKickKidKidneyKindKingdomKissKitKitchenKiteKittenKiwiKneeKnifeKnockKnowLabLabelLaborLadderLadyLakeLampLanguageLaptopLargeLaterLatinLaughLaundryLavaLawLawnLawsuitLayerLazyLeaderLeafLearnLeaveLectureLeftLegLegalLegendLeisureLemonLendLengthLensLeopardLessonLetterLevelLiarLibertyLibraryLicenseLifeLiftLightLikeLimbLimitLinkLionLiquidListLittleLiveLizardLoadLoanLobsterLocalLockLogicLonelyLongLoopLotteryLoudLoungeLoveLoyalLuckyLuggageLumberLunarLunchLuxuryLyricsMachineMadMagicMagnetMaidMailMainMajorMakeMammalManManageMandateMangoMansionManualMapleMarbleMarchMarginMarineMarketMarriageMaskMassMasterMatchMaterialMathMatrixMatterMaximumMazeMeadowMeanMeasureMeatMechanicMedalMediaMelodyMeltMemberMemoryMentionMenuMercyMergeMeritMerryMeshMessageMetalMethodMiddleMidnightMilkMillionMimicMindMinimumMinorMinuteMiracleMirrorMiseryMissMistakeMixMixedMixtureMobileModelModifyMomMomentMonitorMonkeyMonsterMonthMoonMoralMoreMorningMosquitoMotherMotionMotorMountainMouseMoveMovieMuchMuffinMuleMultiplyMuscleMuseumMushroomMusicMustMutualMyselfMysteryMythNaiveNameNapkinNarrowNastyNationNatureNearNeckNeedNegativeNeglectNeitherNephewNerveNestNetNetworkNeutralNeverNewsNextNiceNightNobleNoiseNomineeNoodleNormalNorthNoseNotableNoteNothingNoticeNovelNowNuclearNumberNurseNutOakObeyObjectObligeObscureObserveObtainObviousOccurOceanOctoberOdorOffOfferOfficeOftenOilOkayOldOliveOlympicOmitOnceOneOnionOnlineOnlyOpenOperaOpinionOpposeOptionOrangeOrbitOrchardOrderOrdinaryOrganOrientOriginalOrphanOstrichOtherOutdoorOuterOutputOutsideOvalOvenOverOwnOwnerOxygenOysterOzonePactPaddlePagePairPalacePalmPandaPanelPanicPantherPaperParadeParentParkParrotPartyPassPatchPathPatientPatrolPatternPausePavePaymentPeacePeanutPearPeasantPelicanPenPenaltyPencilPeoplePepperPerfectPermitPersonPetPhonePhotoPhrasePhysicalPianoPicnicPicturePiecePigPigeonPillPilotPinkPioneerPipePistolPitchPizzaPlacePlanetPlasticPlatePlayPleasePledgePluckPlugPlungePoemPoetPointPolarPolePolicePondPonyPoolPopularPortionPositionPossiblePostPotatoPotteryPovertyPowderPowerPracticePraisePredictPreferPreparePresentPrettyPreventPricePridePrimaryPrintPriorityPrisonPrivatePrizeProblemProcessProduceProfitProgramProjectPromoteProofPropertyProsperProtectProudProvidePublicPuddingPullPulpPulsePumpkinPunchPupilPuppyPurchasePurityPurposePursePushPutPuzzlePyramidQualityQuantumQuarterQuestionQuickQuitQuizQuoteRabbitRaccoonRaceRackRadarRadioRailRainRaiseRallyRampRanchRandomRangeRapidRareRateRatherRavenRawRazorReadyRealReasonRebelRebuildRecallReceiveRecipeRecordRecycleReduceReflectReformRefuseRegionRegretRegularRejectRelaxReleaseReliefRelyRemainRememberRemindRemoveRenderRenewRentReopenRepairRepeatReplaceReportRequireRescueResembleResistResourceResponseResultRetireRetreatReturnReunionRevealReviewRewardRhythmRibRibbonRiceRichRideRidgeRifleRightRigidRingRiotRippleRiskRitualRivalRiverRoadRoastRobotRobustRocketRomanceRoofRookieRoomRoseRotateRoughRoundRouteRoyalRubberRudeRugRuleRunRunwayRuralSadSaddleSadnessSafeSailSaladSalmonSalonSaltSaluteSameSampleSandSatisfySatoshiSauceSausageSaveSayScaleScanScareScatterSceneSchemeSchoolScienceScissorsScorpionScoutScrapScreenScriptScrubSeaSearchSeasonSeatSecondSecretSectionSecuritySeedSeekSegmentSelectSellSeminarSeniorSenseSentenceSeriesServiceSessionSettleSetupSevenShadowShaftShallowShareShedShellSheriffShieldShiftShineShipShiverShockShoeShootShopShortShoulderShoveShrimpShrugShuffleShySiblingSickSideSiegeSightSignSilentSilkSillySilverSimilarSimpleSinceSingSirenSisterSituateSixSizeSkateSketchSkiSkillSkinSkirtSkullSlabSlamSleepSlenderSliceSlideSlightSlimSloganSlotSlowSlushSmallSmartSmileSmokeSmoothSnackSnakeSnapSniffSnowSoapSoccerSocialSockSodaSoftSolarSoldierSolidSolutionSolveSomeoneSongSoonSorrySortSoulSoundSoupSourceSouthSpaceSpareSpatialSpawnSpeakSpecialSpeedSpellSpendSphereSpiceSpiderSpikeSpinSpiritSplitSpoilSponsorSpoonSportSpotSpraySpreadSpringSpySquareSqueezeSquirrelStableStadiumStaffStageStairsStampStandStartStateStaySteakSteelStemStepStereoStickStillStingStockStomachStoneStoolStoryStoveStrategyStreetStrikeStrongStruggleStudentStuffStumbleStyleSubjectSubmitSubwaySuccessSuchSuddenSufferSugarSuggestSuitSummerSunSunnySunsetSuperSupplySupremeSureSurfaceSurgeSurpriseSurroundSurveySuspectSustainSwallowSwampSwapSwarmSwearSweetSwiftSwimSwingSwitchSwordSymbolSymptomSyrupSystemTableTackleTagTailTalentTalkTankTapeTargetTaskTasteTattooTaxiTeachTeamTellTenTenantTennisTentTermTestTextThankThatThemeThenTheoryThereTheyThingThisThoughtThreeThriveThrowThumbThunderTicketTideTigerTiltTimberTimeTinyTipTiredTissueTitleToastTobaccoTodayToddlerToeTogetherToiletTokenTomatoTomorrowToneTongueTonightToolToothTopTopicToppleTorchTornadoTortoiseTossTotalTouristTowardTowerTownToyTrackTradeTrafficTragicTrainTransferTrapTrashTravelTrayTreatTreeTrendTrialTribeTrickTriggerTrimTripTrophyTroubleTruckTrueTrulyTrumpetTrustTruthTryTubeTuitionTumbleTunaTunnelTurkeyTurnTurtleTwelveTwentyTwiceTwinTwistTwoTypeTypicalUglyUmbrellaUnableUnawareUncleUncoverUnderUndoUnfairUnfoldUnhappyUniformUniqueUnitUniverseUnknownUnlockUntilUnusualUnveilUpdateUpgradeUpholdUponUpperUpsetUrbanUrgeUsageUseUsedUsefulUselessUsualUtilityVacantVacuumVagueValidValleyValveVanVanishVaporVariousVastVaultVehicleVelvetVendorVentureVenueVerbVerifyVersionVeryVesselVeteranViableVibrantViciousVictoryVideoViewVillageVintageViolinVirtualVirusVisaVisitVisualVitalVividVocalVoiceVoidVolcanoVolumeVoteVoyageWageWagonWaitWalkWallWalnutWantWarfareWarmWarriorWashWaspWasteWaterWaveWayWealthWeaponWearWeaselWeatherWebWeddingWeekendWeirdWelcomeWestWetWhaleWhatWheatWheelWhenWhereWhipWhisperWideWidthWifeWildWillWinWindowWineWingWinkWinnerWinterWireWisdomWiseWishWitnessWolfWomanWonderWoodWoolWordWorkWorldWorryWorthWrapWreckWrestleWristWriteWrongYardYearYellowYouYoungYouthZebraZeroZoneZoo".replace(/([A-Z])/g," $1").toLowerCase().substring(1).split(" "),"0x3c8acc1e7b08d8e76f9fda015ef48dc8c710a73cb7e0f77b2c18a9b5a7adde60"!==o.Wordlist.check(e)))throw i=null,new Error("BIP39 Wordlist for en (English) FAILED")}var c=new(function(e){function t(){return e.call(this,"en")||this}return n(t,e),t.prototype.getWord=function(e){return s(this),i[e]},t.prototype.getWordIndex=function(e){return s(this),i.indexOf(e)},t}(o.Wordlist));r.langEn=c,o.Wordlist.register(c)}}},{package:"@ethersproject/hdnode>@ethersproject/wordlists",file:"node_modules/@ethersproject/wordlists/lib/lang-en.js"}],[560,{"./wordlist":566,"@ethersproject/strings":547},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var a,n=this&&this.__extends||(a=function(e,t){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},a(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.langEs=void 0;var o=e("@ethersproject/strings"),i=e("./wordlist"),s={},c=null;function u(e){return i.logger.checkNormalize(),(0,o.toUtf8String)(Array.prototype.filter.call((0,o.toUtf8Bytes)(e.normalize("NFD").toLowerCase()),(function(e){return e>=65&&e<=90||e>=97&&e<=123})))}function l(e){if(null==c&&((c="A/bacoAbdomenAbejaAbiertoAbogadoAbonoAbortoAbrazoAbrirAbueloAbusoAcabarAcademiaAccesoAccio/nAceiteAcelgaAcentoAceptarA/cidoAclararAcne/AcogerAcosoActivoActoActrizActuarAcudirAcuerdoAcusarAdictoAdmitirAdoptarAdornoAduanaAdultoAe/reoAfectarAficio/nAfinarAfirmarA/gilAgitarAgoni/aAgostoAgotarAgregarAgrioAguaAgudoA/guilaAgujaAhogoAhorroAireAislarAjedrezAjenoAjusteAlacra/nAlambreAlarmaAlbaA/lbumAlcaldeAldeaAlegreAlejarAlertaAletaAlfilerAlgaAlgodo/nAliadoAlientoAlivioAlmaAlmejaAlmi/barAltarAltezaAltivoAltoAlturaAlumnoAlzarAmableAmanteAmapolaAmargoAmasarA/mbarA/mbitoAmenoAmigoAmistadAmorAmparoAmplioAnchoAncianoAnclaAndarAnde/nAnemiaA/nguloAnilloA/nimoAni/sAnotarAntenaAntiguoAntojoAnualAnularAnuncioA~adirA~ejoA~oApagarAparatoApetitoApioAplicarApodoAporteApoyoAprenderAprobarApuestaApuroAradoAra~aArarA/rbitroA/rbolArbustoArchivoArcoArderArdillaArduoA/reaA/ridoAriesArmoni/aArne/sAromaArpaArpo/nArregloArrozArrugaArteArtistaAsaAsadoAsaltoAscensoAsegurarAseoAsesorAsientoAsiloAsistirAsnoAsombroA/speroAstillaAstroAstutoAsumirAsuntoAtajoAtaqueAtarAtentoAteoA/ticoAtletaA/tomoAtraerAtrozAtu/nAudazAudioAugeAulaAumentoAusenteAutorAvalAvanceAvaroAveAvellanaAvenaAvestruzAvio/nAvisoAyerAyudaAyunoAzafra/nAzarAzoteAzu/carAzufreAzulBabaBaborBacheBahi/aBaileBajarBalanzaBalco/nBaldeBambu/BancoBandaBa~oBarbaBarcoBarnizBarroBa/sculaBasto/nBasuraBatallaBateri/aBatirBatutaBau/lBazarBebe/BebidaBelloBesarBesoBestiaBichoBienBingoBlancoBloqueBlusaBoaBobinaBoboBocaBocinaBodaBodegaBoinaBolaBoleroBolsaBombaBondadBonitoBonoBonsa/iBordeBorrarBosqueBoteBoti/nBo/vedaBozalBravoBrazoBrechaBreveBrilloBrincoBrisaBrocaBromaBronceBroteBrujaBruscoBrutoBuceoBucleBuenoBueyBufandaBufo/nBu/hoBuitreBultoBurbujaBurlaBurroBuscarButacaBuzo/nCaballoCabezaCabinaCabraCacaoCada/verCadenaCaerCafe/Cai/daCaima/nCajaCajo/nCalCalamarCalcioCaldoCalidadCalleCalmaCalorCalvoCamaCambioCamelloCaminoCampoCa/ncerCandilCanelaCanguroCanicaCantoCa~aCa~o/nCaobaCaosCapazCapita/nCapoteCaptarCapuchaCaraCarbo/nCa/rcelCaretaCargaCari~oCarneCarpetaCarroCartaCasaCascoCaseroCaspaCastorCatorceCatreCaudalCausaCazoCebollaCederCedroCeldaCe/lebreCelosoCe/lulaCementoCenizaCentroCercaCerdoCerezaCeroCerrarCertezaCe/spedCetroChacalChalecoChampu/ChanclaChapaCharlaChicoChisteChivoChoqueChozaChuletaChuparCiclo/nCiegoCieloCienCiertoCifraCigarroCimaCincoCineCintaCipre/sCircoCiruelaCisneCitaCiudadClamorClanClaroClaseClaveClienteClimaCli/nicaCobreCoccio/nCochinoCocinaCocoCo/digoCodoCofreCogerCoheteCoji/nCojoColaColchaColegioColgarColinaCollarColmoColumnaCombateComerComidaCo/modoCompraCondeConejoCongaConocerConsejoContarCopaCopiaCorazo/nCorbataCorchoCordo/nCoronaCorrerCoserCosmosCostaCra/neoCra/terCrearCrecerCrei/doCremaCri/aCrimenCriptaCrisisCromoCro/nicaCroquetaCrudoCruzCuadroCuartoCuatroCuboCubrirCucharaCuelloCuentoCuerdaCuestaCuevaCuidarCulebraCulpaCultoCumbreCumplirCunaCunetaCuotaCupo/nCu/pulaCurarCuriosoCursoCurvaCutisDamaDanzaDarDardoDa/tilDeberDe/bilDe/cadaDecirDedoDefensaDefinirDejarDelfi/nDelgadoDelitoDemoraDensoDentalDeporteDerechoDerrotaDesayunoDeseoDesfileDesnudoDestinoDesvi/oDetalleDetenerDeudaDi/aDiabloDiademaDiamanteDianaDiarioDibujoDictarDienteDietaDiezDifi/cilDignoDilemaDiluirDineroDirectoDirigirDiscoDise~oDisfrazDivaDivinoDobleDoceDolorDomingoDonDonarDoradoDormirDorsoDosDosisDrago/nDrogaDuchaDudaDueloDue~oDulceDu/oDuqueDurarDurezaDuroE/banoEbrioEcharEcoEcuadorEdadEdicio/nEdificioEditorEducarEfectoEficazEjeEjemploElefanteElegirElementoElevarElipseE/liteElixirElogioEludirEmbudoEmitirEmocio/nEmpateEmpe~oEmpleoEmpresaEnanoEncargoEnchufeEnci/aEnemigoEneroEnfadoEnfermoEnga~oEnigmaEnlaceEnormeEnredoEnsayoEnse~arEnteroEntrarEnvaseEnvi/oE/pocaEquipoErizoEscalaEscenaEscolarEscribirEscudoEsenciaEsferaEsfuerzoEspadaEspejoEspi/aEsposaEspumaEsqui/EstarEsteEstiloEstufaEtapaEternoE/ticaEtniaEvadirEvaluarEventoEvitarExactoExamenExcesoExcusaExentoExigirExilioExistirE/xitoExpertoExplicarExponerExtremoFa/bricaFa/bulaFachadaFa/cilFactorFaenaFajaFaldaFalloFalsoFaltarFamaFamiliaFamosoFarao/nFarmaciaFarolFarsaFaseFatigaFaunaFavorFaxFebreroFechaFelizFeoFeriaFerozFe/rtilFervorFesti/nFiableFianzaFiarFibraFiccio/nFichaFideoFiebreFielFieraFiestaFiguraFijarFijoFilaFileteFilialFiltroFinFincaFingirFinitoFirmaFlacoFlautaFlechaFlorFlotaFluirFlujoFlu/orFobiaFocaFogataFogo/nFolioFolletoFondoFormaForroFortunaForzarFosaFotoFracasoFra/gilFranjaFraseFraudeFrei/rFrenoFresaFri/oFritoFrutaFuegoFuenteFuerzaFugaFumarFuncio/nFundaFurgo/nFuriaFusilFu/tbolFuturoGacelaGafasGaitaGajoGalaGaleri/aGalloGambaGanarGanchoGangaGansoGarajeGarzaGasolinaGastarGatoGavila/nGemeloGemirGenGe/neroGenioGenteGeranioGerenteGermenGestoGiganteGimnasioGirarGiroGlaciarGloboGloriaGolGolfoGolosoGolpeGomaGordoGorilaGorraGotaGoteoGozarGradaGra/ficoGranoGrasaGratisGraveGrietaGrilloGripeGrisGritoGrosorGru/aGruesoGrumoGrupoGuanteGuapoGuardiaGuerraGui/aGui~oGuionGuisoGuitarraGusanoGustarHaberHa/bilHablarHacerHachaHadaHallarHamacaHarinaHazHaza~aHebillaHebraHechoHeladoHelioHembraHerirHermanoHe/roeHervirHieloHierroHi/gadoHigieneHijoHimnoHistoriaHocicoHogarHogueraHojaHombreHongoHonorHonraHoraHormigaHornoHostilHoyoHuecoHuelgaHuertaHuesoHuevoHuidaHuirHumanoHu/medoHumildeHumoHundirHuraca/nHurtoIconoIdealIdiomaI/doloIglesiaIglu/IgualIlegalIlusio/nImagenIma/nImitarImparImperioImponerImpulsoIncapazI/ndiceInerteInfielInformeIngenioInicioInmensoInmuneInnatoInsectoInstanteIntere/sI/ntimoIntuirInu/tilInviernoIraIrisIroni/aIslaIsloteJabali/Jabo/nJamo/nJarabeJardi/nJarraJaulaJazmi/nJefeJeringaJineteJornadaJorobaJovenJoyaJuergaJuevesJuezJugadorJugoJugueteJuicioJuncoJunglaJunioJuntarJu/piterJurarJustoJuvenilJuzgarKiloKoalaLabioLacioLacraLadoLadro/nLagartoLa/grimaLagunaLaicoLamerLa/minaLa/mparaLanaLanchaLangostaLanzaLa/pizLargoLarvaLa/stimaLataLa/texLatirLaurelLavarLazoLealLeccio/nLecheLectorLeerLegio/nLegumbreLejanoLenguaLentoLe~aLeo/nLeopardoLesio/nLetalLetraLeveLeyendaLibertadLibroLicorLi/derLidiarLienzoLigaLigeroLimaLi/miteLimo/nLimpioLinceLindoLi/neaLingoteLinoLinternaLi/quidoLisoListaLiteraLitioLitroLlagaLlamaLlantoLlaveLlegarLlenarLlevarLlorarLloverLluviaLoboLocio/nLocoLocuraLo/gicaLogroLombrizLomoLonjaLoteLuchaLucirLugarLujoLunaLunesLupaLustroLutoLuzMacetaMachoMaderaMadreMaduroMaestroMafiaMagiaMagoMai/zMaldadMaletaMallaMaloMama/MamboMamutMancoMandoManejarMangaManiqui/ManjarManoMansoMantaMa~anaMapaMa/quinaMarMarcoMareaMarfilMargenMaridoMa/rmolMarro/nMartesMarzoMasaMa/scaraMasivoMatarMateriaMatizMatrizMa/ximoMayorMazorcaMechaMedallaMedioMe/dulaMejillaMejorMelenaMelo/nMemoriaMenorMensajeMenteMenu/MercadoMerengueMe/ritoMesMeso/nMetaMeterMe/todoMetroMezclaMiedoMielMiembroMigaMilMilagroMilitarMillo/nMimoMinaMineroMi/nimoMinutoMiopeMirarMisaMiseriaMisilMismoMitadMitoMochilaMocio/nModaModeloMohoMojarMoldeMolerMolinoMomentoMomiaMonarcaMonedaMonjaMontoMo~oMoradaMorderMorenoMorirMorroMorsaMortalMoscaMostrarMotivoMoverMo/vilMozoMuchoMudarMuebleMuelaMuerteMuestraMugreMujerMulaMuletaMultaMundoMu~ecaMuralMuroMu/sculoMuseoMusgoMu/sicaMusloNa/carNacio/nNadarNaipeNaranjaNarizNarrarNasalNatalNativoNaturalNa/useaNavalNaveNavidadNecioNe/ctarNegarNegocioNegroNeo/nNervioNetoNeutroNevarNeveraNichoNidoNieblaNietoNi~ezNi~oNi/tidoNivelNoblezaNocheNo/minaNoriaNormaNorteNotaNoticiaNovatoNovelaNovioNubeNucaNu/cleoNudilloNudoNueraNueveNuezNuloNu/meroNutriaOasisObesoObispoObjetoObraObreroObservarObtenerObvioOcaOcasoOce/anoOchentaOchoOcioOcreOctavoOctubreOcultoOcuparOcurrirOdiarOdioOdiseaOesteOfensaOfertaOficioOfrecerOgroOi/doOi/rOjoOlaOleadaOlfatoOlivoOllaOlmoOlorOlvidoOmbligoOndaOnzaOpacoOpcio/nO/peraOpinarOponerOptarO/pticaOpuestoOracio/nOradorOralO/rbitaOrcaOrdenOrejaO/rganoOrgi/aOrgulloOrienteOrigenOrillaOroOrquestaOrugaOsadi/aOscuroOseznoOsoOstraOto~oOtroOvejaO/vuloO/xidoOxi/genoOyenteOzonoPactoPadrePaellaPa/ginaPagoPai/sPa/jaroPalabraPalcoPaletaPa/lidoPalmaPalomaPalparPanPanalPa/nicoPanteraPa~ueloPapa/PapelPapillaPaquetePararParcelaParedParirParoPa/rpadoParquePa/rrafoPartePasarPaseoPasio/nPasoPastaPataPatioPatriaPausaPautaPavoPayasoPeato/nPecadoPeceraPechoPedalPedirPegarPeinePelarPelda~oPeleaPeligroPellejoPeloPelucaPenaPensarPe~o/nPeo/nPeorPepinoPeque~oPeraPerchaPerderPerezaPerfilPericoPerlaPermisoPerroPersonaPesaPescaPe/simoPesta~aPe/taloPetro/leoPezPezu~aPicarPicho/nPiePiedraPiernaPiezaPijamaPilarPilotoPimientaPinoPintorPinzaPi~aPiojoPipaPirataPisarPiscinaPisoPistaPito/nPizcaPlacaPlanPlataPlayaPlazaPleitoPlenoPlomoPlumaPluralPobrePocoPoderPodioPoemaPoesi/aPoetaPolenPolici/aPolloPolvoPomadaPomeloPomoPompaPonerPorcio/nPortalPosadaPoseerPosiblePostePotenciaPotroPozoPradoPrecozPreguntaPremioPrensaPresoPrevioPrimoPri/ncipePrisio/nPrivarProaProbarProcesoProductoProezaProfesorProgramaProlePromesaProntoPropioPro/ximoPruebaPu/blicoPucheroPudorPuebloPuertaPuestoPulgaPulirPulmo/nPulpoPulsoPumaPuntoPu~alPu~oPupaPupilaPure/QuedarQuejaQuemarQuererQuesoQuietoQui/micaQuinceQuitarRa/banoRabiaRaboRacio/nRadicalRai/zRamaRampaRanchoRangoRapazRa/pidoRaptoRasgoRaspaRatoRayoRazaRazo/nReaccio/nRealidadReba~oReboteRecaerRecetaRechazoRecogerRecreoRectoRecursoRedRedondoReducirReflejoReformaRefra/nRefugioRegaloRegirReglaRegresoRehe/nReinoRei/rRejaRelatoRelevoRelieveRellenoRelojRemarRemedioRemoRencorRendirRentaRepartoRepetirReposoReptilResRescateResinaRespetoRestoResumenRetiroRetornoRetratoReunirReve/sRevistaReyRezarRicoRiegoRiendaRiesgoRifaRi/gidoRigorRinco/nRi~o/nRi/oRiquezaRisaRitmoRitoRizoRobleRoceRociarRodarRodeoRodillaRoerRojizoRojoRomeroRomperRonRoncoRondaRopaRoperoRosaRoscaRostroRotarRubi/RuborRudoRuedaRugirRuidoRuinaRuletaRuloRumboRumorRupturaRutaRutinaSa/badoSaberSabioSableSacarSagazSagradoSalaSaldoSaleroSalirSalmo/nSalo/nSalsaSaltoSaludSalvarSambaSancio/nSandi/aSanearSangreSanidadSanoSantoSapoSaqueSardinaSarte/nSastreSata/nSaunaSaxofo/nSeccio/nSecoSecretoSectaSedSeguirSeisSelloSelvaSemanaSemillaSendaSensorSe~alSe~orSepararSepiaSequi/aSerSerieSermo/nServirSesentaSesio/nSetaSetentaSeveroSexoSextoSidraSiestaSieteSigloSignoSi/labaSilbarSilencioSillaSi/mboloSimioSirenaSistemaSitioSituarSobreSocioSodioSolSolapaSoldadoSoledadSo/lidoSoltarSolucio/nSombraSondeoSonidoSonoroSonrisaSopaSoplarSoporteSordoSorpresaSorteoSoste/nSo/tanoSuaveSubirSucesoSudorSuegraSueloSue~oSuerteSufrirSujetoSulta/nSumarSuperarSuplirSuponerSupremoSurSurcoSure~oSurgirSustoSutilTabacoTabiqueTablaTabu/TacoTactoTajoTalarTalcoTalentoTallaTalo/nTama~oTamborTangoTanqueTapaTapeteTapiaTapo/nTaquillaTardeTareaTarifaTarjetaTarotTarroTartaTatuajeTauroTazaTazo/nTeatroTechoTeclaTe/cnicaTejadoTejerTejidoTelaTele/fonoTemaTemorTemploTenazTenderTenerTenisTensoTeori/aTerapiaTercoTe/rminoTernuraTerrorTesisTesoroTestigoTeteraTextoTezTibioTiburo/nTiempoTiendaTierraTiesoTigreTijeraTildeTimbreTi/midoTimoTintaTi/oTi/picoTipoTiraTiro/nTita/nTi/tereTi/tuloTizaToallaTobilloTocarTocinoTodoTogaToldoTomarTonoTontoToparTopeToqueTo/raxToreroTormentaTorneoToroTorpedoTorreTorsoTortugaTosToscoToserTo/xicoTrabajoTractorTraerTra/ficoTragoTrajeTramoTranceTratoTraumaTrazarTre/bolTreguaTreintaTrenTreparTresTribuTrigoTripaTristeTriunfoTrofeoTrompaTroncoTropaTroteTrozoTrucoTruenoTrufaTuberi/aTuboTuertoTumbaTumorTu/nelTu/nicaTurbinaTurismoTurnoTutorUbicarU/lceraUmbralUnidadUnirUniversoUnoUntarU~aUrbanoUrbeUrgenteUrnaUsarUsuarioU/tilUtopi/aUvaVacaVaci/oVacunaVagarVagoVainaVajillaValeVa/lidoValleValorVa/lvulaVampiroVaraVariarVaro/nVasoVecinoVectorVehi/culoVeinteVejezVelaVeleroVelozVenaVencerVendaVenenoVengarVenirVentaVenusVerVeranoVerboVerdeVeredaVerjaVersoVerterVi/aViajeVibrarVicioVi/ctimaVidaVi/deoVidrioViejoViernesVigorVilVillaVinagreVinoVi~edoVioli/nViralVirgoVirtudVisorVi/speraVistaVitaminaViudoVivazViveroVivirVivoVolca/nVolumenVolverVorazVotarVotoVozVueloVulgarYacerYateYeguaYemaYernoYesoYodoYogaYogurZafiroZanjaZapatoZarzaZonaZorroZumoZurdo".replace(/([A-Z])/g," $1").toLowerCase().substring(1).split(" ").map((function(e){return t=e,r=[],Array.prototype.forEach.call((0,o.toUtf8Bytes)(t),(function(e){47===e?(r.push(204),r.push(129)):126===e?(r.push(110),r.push(204),r.push(131)):r.push(e)})),(0,o.toUtf8String)(r);var t,r}))).forEach((function(e,t){s[u(e)]=t})),"0xf74fb7092aeacdfbf8959557de22098da512207fb9f109cb526994938cf40300"!==i.Wordlist.check(e)))throw c=null,new Error("BIP39 Wordlist for es (Spanish) FAILED")}var d=new(function(e){function t(){return e.call(this,"es")||this}return n(t,e),t.prototype.getWord=function(e){return l(this),c[e]},t.prototype.getWordIndex=function(e){return l(this),s[u(e)]},t}(i.Wordlist));r.langEs=d,i.Wordlist.register(d)}}},{package:"@ethersproject/hdnode>@ethersproject/wordlists",file:"node_modules/@ethersproject/wordlists/lib/lang-es.js"}],[561,{"./wordlist":566,"@ethersproject/strings":547},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var a,n=this&&this.__extends||(a=function(e,t){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},a(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.langFr=void 0;var o=e("@ethersproject/strings"),i=e("./wordlist"),s=null,c={};function u(e){return i.logger.checkNormalize(),(0,o.toUtf8String)(Array.prototype.filter.call((0,o.toUtf8Bytes)(e.normalize("NFD").toLowerCase()),(function(e){return e>=65&&e<=90||e>=97&&e<=123})))}function l(e){if(null==s&&((s="AbaisserAbandonAbdiquerAbeilleAbolirAborderAboutirAboyerAbrasifAbreuverAbriterAbrogerAbruptAbsenceAbsoluAbsurdeAbusifAbyssalAcade/mieAcajouAcarienAccablerAccepterAcclamerAccoladeAccrocheAccuserAcerbeAchatAcheterAcidulerAcierAcompteAcque/rirAcronymeActeurActifActuelAdepteAde/quatAdhe/sifAdjectifAdjugerAdmettreAdmirerAdopterAdorerAdoucirAdresseAdroitAdulteAdverbeAe/rerAe/ronefAffaireAffecterAfficheAffreuxAffublerAgacerAgencerAgileAgiterAgraferAgre/ableAgrumeAiderAiguilleAilierAimableAisanceAjouterAjusterAlarmerAlchimieAlerteAlge-breAlgueAlie/nerAlimentAlle/gerAlliageAllouerAllumerAlourdirAlpagaAltesseAlve/oleAmateurAmbiguAmbreAme/nagerAmertumeAmidonAmiralAmorcerAmourAmovibleAmphibieAmpleurAmusantAnalyseAnaphoreAnarchieAnatomieAncienAne/antirAngleAngoisseAnguleuxAnimalAnnexerAnnonceAnnuelAnodinAnomalieAnonymeAnormalAntenneAntidoteAnxieuxApaiserApe/ritifAplanirApologieAppareilAppelerApporterAppuyerAquariumAqueducArbitreArbusteArdeurArdoiseArgentArlequinArmatureArmementArmoireArmureArpenterArracherArriverArroserArsenicArte/rielArticleAspectAsphalteAspirerAssautAsservirAssietteAssocierAssurerAsticotAstreAstuceAtelierAtomeAtriumAtroceAttaqueAttentifAttirerAttraperAubaineAubergeAudaceAudibleAugurerAuroreAutomneAutrucheAvalerAvancerAvariceAvenirAverseAveugleAviateurAvideAvionAviserAvoineAvouerAvrilAxialAxiomeBadgeBafouerBagageBaguetteBaignadeBalancerBalconBaleineBalisageBambinBancaireBandageBanlieueBannie-reBanquierBarbierBarilBaronBarqueBarrageBassinBastionBatailleBateauBatterieBaudrierBavarderBeletteBe/lierBeloteBe/ne/ficeBerceauBergerBerlineBermudaBesaceBesogneBe/tailBeurreBiberonBicycleBiduleBijouBilanBilingueBillardBinaireBiologieBiopsieBiotypeBiscuitBisonBistouriBitumeBizarreBlafardBlagueBlanchirBlessantBlinderBlondBloquerBlousonBobardBobineBoireBoiserBolideBonbonBondirBonheurBonifierBonusBordureBorneBotteBoucleBoueuxBougieBoulonBouquinBourseBoussoleBoutiqueBoxeurBrancheBrasierBraveBrebisBre-cheBreuvageBricolerBrigadeBrillantBriocheBriqueBrochureBroderBronzerBrousseBroyeurBrumeBrusqueBrutalBruyantBuffleBuissonBulletinBureauBurinBustierButinerButoirBuvableBuvetteCabanonCabineCachetteCadeauCadreCafe/ineCaillouCaissonCalculerCalepinCalibreCalmerCalomnieCalvaireCamaradeCame/raCamionCampagneCanalCanetonCanonCantineCanularCapableCaporalCapriceCapsuleCapterCapucheCarabineCarboneCaresserCaribouCarnageCarotteCarreauCartonCascadeCasierCasqueCassureCauserCautionCavalierCaverneCaviarCe/dilleCeintureCe/lesteCelluleCendrierCensurerCentralCercleCe/re/bralCeriseCernerCerveauCesserChagrinChaiseChaleurChambreChanceChapitreCharbonChasseurChatonChaussonChavirerChemiseChenilleChe/quierChercherChevalChienChiffreChignonChime-reChiotChlorureChocolatChoisirChoseChouetteChromeChuteCigareCigogneCimenterCine/maCintrerCirculerCirerCirqueCiterneCitoyenCitronCivilClaironClameurClaquerClasseClavierClientClignerClimatClivageClocheClonageCloporteCobaltCobraCocasseCocotierCoderCodifierCoffreCognerCohe/sionCoifferCoincerCole-reColibriCollineColmaterColonelCombatCome/dieCommandeCompactConcertConduireConfierCongelerConnoterConsonneContactConvexeCopainCopieCorailCorbeauCordageCornicheCorpusCorrectCorte-geCosmiqueCostumeCotonCoudeCoupureCourageCouteauCouvrirCoyoteCrabeCrainteCravateCrayonCre/atureCre/diterCre/meuxCreuserCrevetteCriblerCrierCristalCrite-reCroireCroquerCrotaleCrucialCruelCrypterCubiqueCueillirCuille-reCuisineCuivreCulminerCultiverCumulerCupideCuratifCurseurCyanureCycleCylindreCyniqueDaignerDamierDangerDanseurDauphinDe/battreDe/biterDe/borderDe/briderDe/butantDe/calerDe/cembreDe/chirerDe/ciderDe/clarerDe/corerDe/crireDe/cuplerDe/daleDe/ductifDe/esseDe/fensifDe/filerDe/frayerDe/gagerDe/givrerDe/glutirDe/graferDe/jeunerDe/liceDe/logerDemanderDemeurerDe/molirDe/nicherDe/nouerDentelleDe/nuderDe/partDe/penserDe/phaserDe/placerDe/poserDe/rangerDe/roberDe/sastreDescenteDe/sertDe/signerDe/sobe/irDessinerDestrierDe/tacherDe/testerDe/tourerDe/tresseDevancerDevenirDevinerDevoirDiableDialogueDiamantDicterDiffe/rerDige/rerDigitalDigneDiluerDimancheDiminuerDioxydeDirectifDirigerDiscuterDisposerDissiperDistanceDivertirDiviserDocileDocteurDogmeDoigtDomaineDomicileDompterDonateurDonjonDonnerDopamineDortoirDorureDosageDoseurDossierDotationDouanierDoubleDouceurDouterDoyenDragonDraperDresserDribblerDroitureDuperieDuplexeDurableDurcirDynastieE/blouirE/carterE/charpeE/chelleE/clairerE/clipseE/cloreE/cluseE/coleE/conomieE/corceE/couterE/craserE/cre/merE/crivainE/crouE/cumeE/cureuilE/difierE/duquerEffacerEffectifEffigieEffortEffrayerEffusionE/galiserE/garerE/jecterE/laborerE/largirE/lectronE/le/gantE/le/phantE/le-veE/ligibleE/litismeE/logeE/luciderE/luderEmballerEmbellirEmbryonE/meraudeE/missionEmmenerE/motionE/mouvoirEmpereurEmployerEmporterEmpriseE/mulsionEncadrerEnche-reEnclaveEncocheEndiguerEndosserEndroitEnduireE/nergieEnfanceEnfermerEnfouirEngagerEnginEngloberE/nigmeEnjamberEnjeuEnleverEnnemiEnnuyeuxEnrichirEnrobageEnseigneEntasserEntendreEntierEntourerEntraverE/nume/rerEnvahirEnviableEnvoyerEnzymeE/olienE/paissirE/pargneE/patantE/pauleE/picerieE/pide/mieE/pierE/pilogueE/pineE/pisodeE/pitapheE/poqueE/preuveE/prouverE/puisantE/querreE/quipeE/rigerE/rosionErreurE/ruptionEscalierEspadonEspe-ceEspie-gleEspoirEspritEsquiverEssayerEssenceEssieuEssorerEstimeEstomacEstradeE/tage-reE/talerE/tancheE/tatiqueE/teindreE/tendoirE/ternelE/thanolE/thiqueEthnieE/tirerE/tofferE/toileE/tonnantE/tourdirE/trangeE/troitE/tudeEuphorieE/valuerE/vasionE/ventailE/videnceE/viterE/volutifE/voquerExactExage/rerExaucerExcellerExcitantExclusifExcuseExe/cuterExempleExercerExhalerExhorterExigenceExilerExisterExotiqueExpe/dierExplorerExposerExprimerExquisExtensifExtraireExulterFableFabuleuxFacetteFacileFactureFaiblirFalaiseFameuxFamilleFarceurFarfeluFarineFaroucheFascinerFatalFatigueFauconFautifFaveurFavoriFe/brileFe/conderFe/de/rerFe/linFemmeFe/murFendoirFe/odalFermerFe/roceFerveurFestivalFeuilleFeutreFe/vrierFiascoFicelerFictifFide-leFigureFilatureFiletageFilie-reFilleulFilmerFilouFiltrerFinancerFinirFioleFirmeFissureFixerFlairerFlammeFlasqueFlatteurFle/auFle-cheFleurFlexionFloconFloreFluctuerFluideFluvialFolieFonderieFongibleFontaineForcerForgeronFormulerFortuneFossileFoudreFouge-reFouillerFoulureFourmiFragileFraiseFranchirFrapperFrayeurFre/gateFreinerFrelonFre/mirFre/ne/sieFre-reFriableFrictionFrissonFrivoleFroidFromageFrontalFrotterFruitFugitifFuiteFureurFurieuxFurtifFusionFuturGagnerGalaxieGalerieGambaderGarantirGardienGarnirGarrigueGazelleGazonGe/antGe/latineGe/luleGendarmeGe/ne/ralGe/nieGenouGentilGe/ologieGe/ome-treGe/raniumGermeGestuelGeyserGibierGiclerGirafeGivreGlaceGlaiveGlisserGlobeGloireGlorieuxGolfeurGommeGonflerGorgeGorilleGoudronGouffreGoulotGoupilleGourmandGoutteGraduelGraffitiGraineGrandGrappinGratuitGravirGrenatGriffureGrillerGrimperGrognerGronderGrotteGroupeGrugerGrutierGruye-reGue/pardGuerrierGuideGuimauveGuitareGustatifGymnasteGyrostatHabitudeHachoirHalteHameauHangarHannetonHaricotHarmonieHarponHasardHe/liumHe/matomeHerbeHe/rissonHermineHe/ronHe/siterHeureuxHibernerHibouHilarantHistoireHiverHomardHommageHomoge-neHonneurHonorerHonteuxHordeHorizonHorlogeHormoneHorribleHouleuxHousseHublotHuileuxHumainHumbleHumideHumourHurlerHydromelHygie-neHymneHypnoseIdylleIgnorerIguaneIlliciteIllusionImageImbiberImiterImmenseImmobileImmuableImpactImpe/rialImplorerImposerImprimerImputerIncarnerIncendieIncidentInclinerIncoloreIndexerIndiceInductifIne/ditIneptieInexactInfiniInfligerInformerInfusionInge/rerInhalerInhiberInjecterInjureInnocentInoculerInonderInscrireInsecteInsigneInsoliteInspirerInstinctInsulterIntactIntenseIntimeIntrigueIntuitifInutileInvasionInventerInviterInvoquerIroniqueIrradierIrre/elIrriterIsolerIvoireIvresseJaguarJaillirJambeJanvierJardinJaugerJauneJavelotJetableJetonJeudiJeunesseJoindreJoncherJonglerJoueurJouissifJournalJovialJoyauJoyeuxJubilerJugementJuniorJuponJuristeJusticeJuteuxJuve/nileKayakKimonoKiosqueLabelLabialLabourerLace/rerLactoseLaguneLaineLaisserLaitierLambeauLamelleLampeLanceurLangageLanterneLapinLargeurLarmeLaurierLavaboLavoirLectureLe/galLe/gerLe/gumeLessiveLettreLevierLexiqueLe/zardLiasseLibe/rerLibreLicenceLicorneLie-geLie-vreLigatureLigoterLigueLimerLimiteLimonadeLimpideLine/aireLingotLionceauLiquideLisie-reListerLithiumLitigeLittoralLivreurLogiqueLointainLoisirLombricLoterieLouerLourdLoutreLouveLoyalLubieLucideLucratifLueurLugubreLuisantLumie-reLunaireLundiLuronLutterLuxueuxMachineMagasinMagentaMagiqueMaigreMaillonMaintienMairieMaisonMajorerMalaxerMale/ficeMalheurMaliceMalletteMammouthMandaterManiableManquantManteauManuelMarathonMarbreMarchandMardiMaritimeMarqueurMarronMartelerMascotteMassifMate/rielMatie-reMatraqueMaudireMaussadeMauveMaximalMe/chantMe/connuMe/dailleMe/decinMe/diterMe/duseMeilleurMe/langeMe/lodieMembreMe/moireMenacerMenerMenhirMensongeMentorMercrediMe/riteMerleMessagerMesureMe/talMe/te/oreMe/thodeMe/tierMeubleMiaulerMicrobeMietteMignonMigrerMilieuMillionMimiqueMinceMine/ralMinimalMinorerMinuteMiracleMiroiterMissileMixteMobileModerneMoelleuxMondialMoniteurMonnaieMonotoneMonstreMontagneMonumentMoqueurMorceauMorsureMortierMoteurMotifMoucheMoufleMoulinMoussonMoutonMouvantMultipleMunitionMurailleMure-neMurmureMuscleMuse/umMusicienMutationMuterMutuelMyriadeMyrtilleMyste-reMythiqueNageurNappeNarquoisNarrerNatationNationNatureNaufrageNautiqueNavireNe/buleuxNectarNe/fasteNe/gationNe/gligerNe/gocierNeigeNerveuxNettoyerNeuroneNeutronNeveuNicheNickelNitrateNiveauNobleNocifNocturneNoirceurNoisetteNomadeNombreuxNommerNormatifNotableNotifierNotoireNourrirNouveauNovateurNovembreNoviceNuageNuancerNuireNuisibleNume/roNuptialNuqueNutritifObe/irObjectifObligerObscurObserverObstacleObtenirObturerOccasionOccuperOce/anOctobreOctroyerOctuplerOculaireOdeurOdorantOffenserOfficierOffrirOgiveOiseauOisillonOlfactifOlivierOmbrageOmettreOnctueuxOndulerOne/reuxOniriqueOpaleOpaqueOpe/rerOpinionOpportunOpprimerOpterOptiqueOrageuxOrangeOrbiteOrdonnerOreilleOrganeOrgueilOrificeOrnementOrqueOrtieOscillerOsmoseOssatureOtarieOuraganOursonOutilOutragerOuvrageOvationOxydeOxyge-neOzonePaisiblePalacePalmare-sPalourdePalperPanachePandaPangolinPaniquerPanneauPanoramaPantalonPapayePapierPapoterPapyrusParadoxeParcelleParesseParfumerParlerParoleParrainParsemerPartagerParureParvenirPassionPaste-quePaternelPatiencePatronPavillonPavoiserPayerPaysagePeignePeintrePelagePe/licanPellePelousePeluchePendulePe/ne/trerPe/niblePensifPe/nuriePe/pitePe/plumPerdrixPerforerPe/riodePermuterPerplexePersilPertePeserPe/talePetitPe/trirPeuplePharaonPhobiePhoquePhotonPhrasePhysiquePianoPicturalPie-cePierrePieuvrePilotePinceauPipettePiquerPiroguePiscinePistonPivoterPixelPizzaPlacardPlafondPlaisirPlanerPlaquePlastronPlateauPleurerPlexusPliagePlombPlongerPluiePlumagePochettePoe/siePoe-tePointePoirierPoissonPoivrePolairePolicierPollenPolygonePommadePompierPonctuelPonde/rerPoneyPortiquePositionPosse/derPosturePotagerPoteauPotionPoucePoulainPoumonPourprePoussinPouvoirPrairiePratiquePre/cieuxPre/direPre/fixePre/ludePre/nomPre/sencePre/textePre/voirPrimitifPrincePrisonPriverProble-meProce/derProdigeProfondProgre-sProieProjeterProloguePromenerPropreProspe-reProte/gerProuesseProverbePrudencePruneauPsychosePublicPuceronPuiserPulpePulsarPunaisePunitifPupitrePurifierPuzzlePyramideQuasarQuerelleQuestionQuie/tudeQuitterQuotientRacineRaconterRadieuxRagondinRaideurRaisinRalentirRallongeRamasserRapideRasageRatisserRavagerRavinRayonnerRe/actifRe/agirRe/aliserRe/animerRecevoirRe/citerRe/clamerRe/colterRecruterReculerRecyclerRe/digerRedouterRefaireRe/flexeRe/formerRefrainRefugeRe/galienRe/gionRe/glageRe/gulierRe/ite/rerRejeterRejouerRelatifReleverReliefRemarqueReme-deRemiseRemonterRemplirRemuerRenardRenfortReniflerRenoncerRentrerRenvoiReplierReporterRepriseReptileRequinRe/serveRe/sineuxRe/soudreRespectResterRe/sultatRe/tablirRetenirRe/ticuleRetomberRetracerRe/unionRe/ussirRevancheRevivreRe/volteRe/vulsifRichesseRideauRieurRigideRigolerRincerRiposterRisibleRisqueRituelRivalRivie-reRocheuxRomanceRompreRonceRondinRoseauRosierRotatifRotorRotuleRougeRouilleRouleauRoutineRoyaumeRubanRubisRucheRuelleRugueuxRuinerRuisseauRuserRustiqueRythmeSablerSaboterSabreSacocheSafariSagesseSaisirSaladeSaliveSalonSaluerSamediSanctionSanglierSarcasmeSardineSaturerSaugrenuSaumonSauterSauvageSavantSavonnerScalpelScandaleSce/le/ratSce/narioSceptreSche/maScienceScinderScoreScrutinSculpterSe/anceSe/cableSe/cherSecouerSe/cre/terSe/datifSe/duireSeigneurSe/jourSe/lectifSemaineSemblerSemenceSe/minalSe/nateurSensibleSentenceSe/parerSe/quenceSereinSergentSe/rieuxSerrureSe/rumServiceSe/sameSe/virSevrageSextupleSide/ralSie-cleSie/gerSifflerSigleSignalSilenceSiliciumSimpleSince-reSinistreSiphonSiropSismiqueSituerSkierSocialSocleSodiumSoigneuxSoldatSoleilSolitudeSolubleSombreSommeilSomnolerSondeSongeurSonnetteSonoreSorcierSortirSosieSottiseSoucieuxSoudureSouffleSouleverSoupapeSourceSoutirerSouvenirSpacieuxSpatialSpe/cialSphe-reSpiralStableStationSternumStimulusStipulerStrictStudieuxStupeurStylisteSublimeSubstratSubtilSubvenirSucce-sSucreSuffixeSugge/rerSuiveurSulfateSuperbeSupplierSurfaceSuricateSurmenerSurpriseSursautSurvieSuspectSyllabeSymboleSyme/trieSynapseSyntaxeSyste-meTabacTablierTactileTaillerTalentTalismanTalonnerTambourTamiserTangibleTapisTaquinerTarderTarifTartineTasseTatamiTatouageTaupeTaureauTaxerTe/moinTemporelTenailleTendreTeneurTenirTensionTerminerTerneTerribleTe/tineTexteThe-meThe/orieThe/rapieThoraxTibiaTie-deTimideTirelireTiroirTissuTitaneTitreTituberTobogganTole/rantTomateToniqueTonneauToponymeTorcheTordreTornadeTorpilleTorrentTorseTortueTotemToucherTournageTousserToxineTractionTraficTragiqueTrahirTrainTrancherTravailTre-fleTremperTre/sorTreuilTriageTribunalTricoterTrilogieTriompheTriplerTriturerTrivialTromboneTroncTropicalTroupeauTuileTulipeTumulteTunnelTurbineTuteurTutoyerTuyauTympanTyphonTypiqueTyranUbuesqueUltimeUltrasonUnanimeUnifierUnionUniqueUnitaireUniversUraniumUrbainUrticantUsageUsineUsuelUsureUtileUtopieVacarmeVaccinVagabondVagueVaillantVaincreVaisseauValableValiseVallonValveVampireVanilleVapeurVarierVaseuxVassalVasteVecteurVedetteVe/ge/talVe/hiculeVeinardVe/loceVendrediVe/ne/rerVengerVenimeuxVentouseVerdureVe/rinVernirVerrouVerserVertuVestonVe/te/ranVe/tusteVexantVexerViaducViandeVictoireVidangeVide/oVignetteVigueurVilainVillageVinaigreViolonVipe-reVirementVirtuoseVirusVisageViseurVisionVisqueuxVisuelVitalVitesseViticoleVitrineVivaceVivipareVocationVoguerVoileVoisinVoitureVolailleVolcanVoltigerVolumeVoraceVortexVoterVouloirVoyageVoyelleWagonXe/nonYachtZe-breZe/nithZesteZoologie".replace(/([A-Z])/g," $1").toLowerCase().substring(1).split(" ").map((function(e){return t=e,r=[],Array.prototype.forEach.call((0,o.toUtf8Bytes)(t),(function(e){47===e?(r.push(204),r.push(129)):45===e?(r.push(204),r.push(128)):r.push(e)})),(0,o.toUtf8String)(r);var t,r}))).forEach((function(e,t){c[u(e)]=t})),"0x51deb7ae009149dc61a6bd18a918eb7ac78d2775726c68e598b92d002519b045"!==i.Wordlist.check(e)))throw s=null,new Error("BIP39 Wordlist for fr (French) FAILED")}var d=new(function(e){function t(){return e.call(this,"fr")||this}return n(t,e),t.prototype.getWord=function(e){return l(this),s[e]},t.prototype.getWordIndex=function(e){return l(this),c[u(e)]},t}(i.Wordlist));r.langFr=d,i.Wordlist.register(d)}}},{package:"@ethersproject/hdnode>@ethersproject/wordlists",file:"node_modules/@ethersproject/wordlists/lib/lang-fr.js"}],[562,{"./wordlist":566},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var a,n=this&&this.__extends||(a=function(e,t){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},a(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.langIt=void 0;var o=e("./wordlist"),i=null;function s(e){if(null==i&&(i="AbacoAbbaglioAbbinatoAbeteAbissoAbolireAbrasivoAbrogatoAccadereAccennoAccusatoAcetoneAchilleAcidoAcquaAcreAcrilicoAcrobataAcutoAdagioAddebitoAddomeAdeguatoAderireAdipeAdottareAdulareAffabileAffettoAffissoAffrantoAforismaAfosoAfricanoAgaveAgenteAgevoleAggancioAgireAgitareAgonismoAgricoloAgrumetoAguzzoAlabardaAlatoAlbatroAlberatoAlboAlbumeAlceAlcolicoAlettoneAlfaAlgebraAlianteAlibiAlimentoAllagatoAllegroAllievoAllodolaAllusivoAlmenoAlogenoAlpacaAlpestreAltalenaAlternoAlticcioAltroveAlunnoAlveoloAlzareAmalgamaAmanitaAmarenaAmbitoAmbratoAmebaAmericaAmetistaAmicoAmmassoAmmendaAmmirareAmmonitoAmoreAmpioAmpliareAmuletoAnacardoAnagrafeAnalistaAnarchiaAnatraAncaAncellaAncoraAndareAndreaAnelloAngeloAngolareAngustoAnimaAnnegareAnnidatoAnnoAnnuncioAnonimoAnticipoAnziApaticoAperturaApodeApparireAppetitoAppoggioApprodoAppuntoAprileArabicaArachideAragostaAraldicaArancioAraturaArazzoArbitroArchivioArditoArenileArgentoArgineArgutoAriaArmoniaArneseArredatoArringaArrostoArsenicoArsoArteficeArzilloAsciuttoAscoltoAsepsiAsetticoAsfaltoAsinoAsolaAspiratoAsproAssaggioAsseAssolutoAssurdoAstaAstenutoAsticeAstrattoAtavicoAteismoAtomicoAtonoAttesaAttivareAttornoAttritoAttualeAusilioAustriaAutistaAutonomoAutunnoAvanzatoAvereAvvenireAvvisoAvvolgereAzioneAzotoAzzimoAzzurroBabeleBaccanoBacinoBacoBadessaBadilataBagnatoBaitaBalconeBaldoBalenaBallataBalzanoBambinoBandireBaraondaBarbaroBarcaBaritonoBarlumeBaroccoBasilicoBassoBatostaBattutoBauleBavaBavosaBeccoBeffaBelgioBelvaBendaBenevoleBenignoBenzinaBereBerlinaBetaBibitaBiciBidoneBifidoBigaBilanciaBimboBinocoloBiologoBipedeBipolareBirbanteBirraBiscottoBisestoBisnonnoBisonteBisturiBizzarroBlandoBlattaBollitoBonificoBordoBoscoBotanicoBottinoBozzoloBraccioBradipoBramaBrancaBravuraBretellaBrevettoBrezzaBrigliaBrillanteBrindareBroccoloBrodoBronzinaBrulloBrunoBubboneBucaBudinoBuffoneBuioBulboBuonoBurloneBurrascaBussolaBustaCadettoCaducoCalamaroCalcoloCalesseCalibroCalmoCaloriaCambusaCamerataCamiciaCamminoCamolaCampaleCanapaCandelaCaneCaninoCanottoCantinaCapaceCapelloCapitoloCapogiroCapperoCapraCapsulaCarapaceCarcassaCardoCarismaCarovanaCarrettoCartolinaCasaccioCascataCasermaCasoCassoneCastelloCasualeCatastaCatenaCatrameCautoCavilloCedibileCedrataCefaloCelebreCellulareCenaCenoneCentesimoCeramicaCercareCertoCerumeCervelloCesoiaCespoCetoChelaChiaroChiccaChiedereChimeraChinaChirurgoChitarraCiaoCiclismoCifrareCignoCilindroCiottoloCircaCirrosiCitricoCittadinoCiuffoCivettaCivileClassicoClinicaCloroCoccoCodardoCodiceCoerenteCognomeCollareColmatoColoreColposoColtivatoColzaComaCometaCommandoComodoComputerComuneConcisoCondurreConfermaCongelareConiugeConnessoConoscereConsumoContinuoConvegnoCopertoCopioneCoppiaCopricapoCorazzaCordataCoricatoCorniceCorollaCorpoCorredoCorsiaCorteseCosmicoCostanteCotturaCovatoCratereCravattaCreatoCredereCremosoCrescitaCretaCricetoCrinaleCrisiCriticoCroceCronacaCrostataCrucialeCruscaCucireCuculoCuginoCullatoCupolaCuratoreCursoreCurvoCuscinoCustodeDadoDainoDalmataDamerinoDanielaDannosoDanzareDatatoDavantiDavveroDebuttoDecennioDecisoDeclinoDecolloDecretoDedicatoDefinitoDeformeDegnoDelegareDelfinoDelirioDeltaDemenzaDenotatoDentroDepositoDerapataDerivareDerogaDescrittoDesertoDesiderioDesumereDetersivoDevotoDiametroDicembreDiedroDifesoDiffusoDigerireDigitaleDiluvioDinamicoDinnanziDipintoDiplomaDipoloDiradareDireDirottoDirupoDisagioDiscretoDisfareDisgeloDispostoDistanzaDisumanoDitoDivanoDiveltoDividereDivoratoDobloneDocenteDoganaleDogmaDolceDomatoDomenicaDominareDondoloDonoDormireDoteDottoreDovutoDozzinaDragoDruidoDubbioDubitareDucaleDunaDuomoDupliceDuraturoEbanoEccessoEccoEclissiEconomiaEderaEdicolaEdileEditoriaEducareEgemoniaEgliEgoismoEgregioElaboratoElargireEleganteElencatoElettoElevareElficoElicaElmoElsaElusoEmanatoEmblemaEmessoEmiroEmotivoEmozioneEmpiricoEmuloEndemicoEnduroEnergiaEnfasiEnotecaEntrareEnzimaEpatiteEpilogoEpisodioEpocaleEppureEquatoreErarioErbaErbosoEredeEremitaErigereErmeticoEroeErosivoErranteEsagonoEsameEsanimeEsaudireEscaEsempioEsercitoEsibitoEsigenteEsistereEsitoEsofagoEsortatoEsosoEspansoEspressoEssenzaEssoEstesoEstimareEstoniaEstrosoEsultareEtilicoEtnicoEtruscoEttoEuclideoEuropaEvasoEvidenzaEvitatoEvolutoEvvivaFabbricaFaccendaFachiroFalcoFamigliaFanaleFanfaraFangoFantasmaFareFarfallaFarinosoFarmacoFasciaFastosoFasulloFaticareFatoFavolosoFebbreFecolaFedeFegatoFelpaFeltroFemminaFendereFenomenoFermentoFerroFertileFessuraFestivoFettaFeudoFiabaFiduciaFifaFiguratoFiloFinanzaFinestraFinireFioreFiscaleFisicoFiumeFlaconeFlamencoFleboFlemmaFloridoFluenteFluoroFobicoFocacciaFocosoFoderatoFoglioFolataFolcloreFolgoreFondenteFoneticoFoniaFontanaForbitoForchettaForestaFormicaFornaioForoFortezzaForzareFosfatoFossoFracassoFranaFrassinoFratelloFreccettaFrenataFrescoFrigoFrollinoFrondeFrugaleFruttaFucilataFucsiaFuggenteFulmineFulvoFumanteFumettoFumosoFuneFunzioneFuocoFurboFurgoneFuroreFusoFutileGabbianoGaffeGalateoGallinaGaloppoGamberoGammaGaranziaGarboGarofanoGarzoneGasdottoGasolioGastricoGattoGaudioGazeboGazzellaGecoGelatinaGelsoGemelloGemmatoGeneGenitoreGennaioGenotipoGergoGhepardoGhiaccioGhisaGialloGildaGineproGiocareGioielloGiornoGioveGiratoGironeGittataGiudizioGiuratoGiustoGlobuloGlutineGnomoGobbaGolfGomitoGommoneGonfioGonnaGovernoGracileGradoGraficoGrammoGrandeGrattareGravosoGraziaGrecaGreggeGrifoneGrigioGrinzaGrottaGruppoGuadagnoGuaioGuantoGuardareGufoGuidareIbernatoIconaIdenticoIdillioIdoloIdraIdricoIdrogenoIgieneIgnaroIgnoratoIlareIllesoIllogicoIlludereImballoImbevutoImboccoImbutoImmaneImmersoImmolatoImpaccoImpetoImpiegoImportoImprontaInalareInarcareInattivoIncantoIncendioInchinoIncisivoInclusoIncontroIncrocioIncuboIndagineIndiaIndoleIneditoInfattiInfilareInflittoIngaggioIngegnoIngleseIngordoIngrossoInnescoInodoreInoltrareInondatoInsanoInsettoInsiemeInsonniaInsulinaIntasatoInteroIntonacoIntuitoInumidireInvalidoInveceInvitoIperboleIpnoticoIpotesiIppicaIrideIrlandaIronicoIrrigatoIrrorareIsolatoIsotopoIstericoIstitutoIstriceItaliaIterareLabbroLabirintoLaccaLaceratoLacrimaLacunaLaddoveLagoLampoLancettaLanternaLardosoLargaLaringeLastraLatenzaLatinoLattugaLavagnaLavoroLegaleLeggeroLemboLentezzaLenzaLeoneLepreLesivoLessatoLestoLetteraleLevaLevigatoLiberoLidoLievitoLillaLimaturaLimitareLimpidoLineareLinguaLiquidoLiraLiricaLiscaLiteLitigioLivreaLocandaLodeLogicaLombareLondraLongevoLoquaceLorenzoLotoLotteriaLuceLucidatoLumacaLuminosoLungoLupoLuppoloLusingaLussoLuttoMacabroMacchinaMaceroMacinatoMadamaMagicoMagliaMagneteMagroMaiolicaMalafedeMalgradoMalintesoMalsanoMaltoMalumoreManaManciaMandorlaMangiareManifestoMannaroManovraMansardaMantideManubrioMappaMaratonaMarcireMarettaMarmoMarsupioMascheraMassaiaMastinoMaterassoMatricolaMattoneMaturoMazurcaMeandroMeccanicoMecenateMedesimoMeditareMegaMelassaMelisMelodiaMeningeMenoMensolaMercurioMerendaMerloMeschinoMeseMessereMestoloMetalloMetodoMettereMiagolareMicaMicelioMicheleMicroboMidolloMieleMiglioreMilanoMiliteMimosaMineraleMiniMinoreMirinoMirtilloMiscelaMissivaMistoMisurareMitezzaMitigareMitraMittenteMnemonicoModelloModificaModuloMoganoMogioMoleMolossoMonasteroMoncoMondinaMonetarioMonileMonotonoMonsoneMontatoMonvisoMoraMordereMorsicatoMostroMotivatoMotosegaMottoMovenzaMovimentoMozzoMuccaMucosaMuffaMughettoMugnaioMulattoMulinelloMultiploMummiaMuntoMuovereMuraleMusaMuscoloMusicaMutevoleMutoNababboNaftaNanometroNarcisoNariceNarratoNascereNastrareNaturaleNauticaNaviglioNebulosaNecrosiNegativoNegozioNemmenoNeofitaNerettoNervoNessunoNettunoNeutraleNeveNevroticoNicchiaNinfaNitidoNobileNocivoNodoNomeNominaNordicoNormaleNorvegeseNostranoNotareNotiziaNotturnoNovellaNucleoNullaNumeroNuovoNutrireNuvolaNuzialeOasiObbedireObbligoObeliscoOblioOboloObsoletoOccasioneOcchioOccidenteOccorrereOccultareOcraOculatoOdiernoOdorareOffertaOffrireOffuscatoOggettoOggiOgnunoOlandeseOlfattoOliatoOlivaOlogrammaOltreOmaggioOmbelicoOmbraOmegaOmissioneOndosoOnereOniceOnnivoroOnorevoleOntaOperatoOpinioneOppostoOracoloOrafoOrdineOrecchinoOreficeOrfanoOrganicoOrigineOrizzonteOrmaOrmeggioOrnativoOrologioOrrendoOrribileOrtensiaOrticaOrzataOrzoOsareOscurareOsmosiOspedaleOspiteOssaOssidareOstacoloOsteOtiteOtreOttagonoOttimoOttobreOvaleOvestOvinoOviparoOvocitoOvunqueOvviareOzioPacchettoPacePacificoPadellaPadronePaesePagaPaginaPalazzinaPalesarePallidoPaloPaludePandoroPannelloPaoloPaonazzoPapricaParabolaParcellaParerePargoloPariParlatoParolaPartireParvenzaParzialePassivoPasticcaPataccaPatologiaPattumePavonePeccatoPedalarePedonalePeggioPelosoPenarePendicePenisolaPennutoPenombraPensarePentolaPepePepitaPerbenePercorsoPerdonatoPerforarePergamenaPeriodoPermessoPernoPerplessoPersuasoPertugioPervasoPesatorePesistaPesoPestiferoPetaloPettinePetulantePezzoPiacerePiantaPiattinoPiccinoPicozzaPiegaPietraPifferoPigiamaPigolioPigroPilaPiliferoPillolaPilotaPimpantePinetaPinnaPinoloPioggiaPiomboPiramidePireticoPiritePirolisiPitonePizzicoPlaceboPlanarePlasmaPlatanoPlenarioPochezzaPoderosoPodismoPoesiaPoggiarePolentaPoligonoPollicePolmonitePolpettaPolsoPoltronaPolverePomicePomodoroPontePopolosoPorfidoPorosoPorporaPorrePortataPosaPositivoPossessoPostulatoPotassioPoterePranzoPrassiPraticaPreclusoPredicaPrefissoPregiatoPrelievoPremerePrenotarePreparatoPresenzaPretestoPrevalsoPrimaPrincipePrivatoProblemaProcuraProdurreProfumoProgettoProlungaPromessaPronomePropostaProrogaProtesoProvaPrudentePrugnaPruritoPsichePubblicoPudicaPugilatoPugnoPulcePulitoPulsantePuntarePupazzoPupillaPuroQuadroQualcosaQuasiQuerelaQuotaRaccoltoRaddoppioRadicaleRadunatoRafficaRagazzoRagioneRagnoRamarroRamingoRamoRandagioRantolareRapatoRapinaRappresoRasaturaRaschiatoRasenteRassegnaRastrelloRataRavvedutoRealeRecepireRecintoReclutaReconditoRecuperoRedditoRedimereRegalatoRegistroRegolaRegressoRelazioneRemareRemotoRennaReplicaReprimereReputareResaResidenteResponsoRestauroReteRetinaRetoricaRettificaRevocatoRiassuntoRibadireRibelleRibrezzoRicaricaRiccoRicevereRiciclatoRicordoRicredutoRidicoloRidurreRifasareRiflessoRiformaRifugioRigareRigettatoRighelloRilassatoRilevatoRimanereRimbalzoRimedioRimorchioRinascitaRincaroRinforzoRinnovoRinomatoRinsavitoRintoccoRinunciaRinvenireRiparatoRipetutoRipienoRiportareRipresaRipulireRisataRischioRiservaRisibileRisoRispettoRistoroRisultatoRisvoltoRitardoRitegnoRitmicoRitrovoRiunioneRivaRiversoRivincitaRivoltoRizomaRobaRoboticoRobustoRocciaRocoRodaggioRodereRoditoreRogitoRollioRomanticoRompereRonzioRosolareRospoRotanteRotondoRotulaRovescioRubizzoRubricaRugaRullinoRumineRumorosoRuoloRupeRussareRusticoSabatoSabbiareSabotatoSagomaSalassoSaldaturaSalgemmaSalivareSalmoneSaloneSaltareSalutoSalvoSapereSapidoSaporitoSaracenoSarcasmoSartoSassosoSatelliteSatiraSatolloSaturnoSavanaSavioSaziatoSbadiglioSbalzoSbancatoSbarraSbattereSbavareSbendareSbirciareSbloccatoSbocciatoSbrinareSbruffoneSbuffareScabrosoScadenzaScalaScambiareScandaloScapolaScarsoScatenareScavatoSceltoScenicoScettroSchedaSchienaSciarpaScienzaScindereScippoSciroppoScivoloSclerareScodellaScolpitoScompartoSconfortoScoprireScortaScossoneScozzeseScribaScrollareScrutinioScuderiaScultoreScuolaScuroScusareSdebitareSdoganareSeccaturaSecondoSedanoSeggiolaSegnalatoSegregatoSeguitoSelciatoSelettivoSellaSelvaggioSemaforoSembrareSemeSeminatoSempreSensoSentireSepoltoSequenzaSerataSerbatoSerenoSerioSerpenteSerraglioServireSestinaSetolaSettimanaSfaceloSfaldareSfamatoSfarzosoSfaticatoSferaSfidaSfilatoSfingeSfocatoSfoderareSfogoSfoltireSforzatoSfrattoSfruttatoSfuggitoSfumareSfusoSgabelloSgarbatoSgonfiareSgorbioSgrassatoSguardoSibiloSiccomeSierraSiglaSignoreSilenzioSillabaSimboloSimpaticoSimulatoSinfoniaSingoloSinistroSinoSintesiSinusoideSiparioSismaSistoleSituatoSlittaSlogaturaSlovenoSmarritoSmemoratoSmentitoSmeraldoSmilzoSmontareSmottatoSmussatoSnellireSnervatoSnodoSobbalzoSobrioSoccorsoSocialeSodaleSoffittoSognoSoldatoSolenneSolidoSollazzoSoloSolubileSolventeSomaticoSommaSondaSonettoSonniferoSopireSoppesoSopraSorgereSorpassoSorrisoSorsoSorteggioSorvolatoSospiroSostaSottileSpadaSpallaSpargereSpatolaSpaventoSpazzolaSpecieSpedireSpegnereSpelaturaSperanzaSpessoreSpettraleSpezzatoSpiaSpigolosoSpillatoSpinosoSpiraleSplendidoSportivoSposoSprangaSprecareSpronatoSpruzzoSpuntinoSquilloSradicareSrotolatoStabileStaccoStaffaStagnareStampatoStantioStarnutoStaseraStatutoSteloSteppaSterzoStilettoStimaStirpeStivaleStizzosoStonatoStoricoStrappoStregatoStriduloStrozzareStruttoStuccareStufoStupendoSubentroSuccosoSudoreSuggeritoSugoSultanoSuonareSuperboSupportoSurgelatoSurrogatoSussurroSuturaSvagareSvedeseSveglioSvelareSvenutoSveziaSviluppoSvistaSvizzeraSvoltaSvuotareTabaccoTabulatoTacciareTaciturnoTaleTalismanoTamponeTanninoTaraTardivoTargatoTariffaTarpareTartarugaTastoTatticoTavernaTavolataTazzaTecaTecnicoTelefonoTemerarioTempoTemutoTendoneTeneroTensioneTentacoloTeoremaTermeTerrazzoTerzettoTesiTesseratoTestatoTetroTettoiaTifareTigellaTimbroTintoTipicoTipografoTiraggioTiroTitanioTitoloTitubanteTizioTizzoneToccareTollerareToltoTombolaTomoTonfoTonsillaTopazioTopologiaToppaTorbaTornareTorroneTortoraToscanoTossireTostaturaTotanoTraboccoTracheaTrafilaTragediaTralcioTramontoTransitoTrapanoTrarreTraslocoTrattatoTraveTrecciaTremolioTrespoloTributoTrichecoTrifoglioTrilloTrinceaTrioTristezzaTrituratoTrivellaTrombaTronoTroppoTrottolaTrovareTruccatoTubaturaTuffatoTulipanoTumultoTunisiaTurbareTurchinoTutaTutelaUbicatoUccelloUccisoreUdireUditivoUffaUfficioUgualeUlisseUltimatoUmanoUmileUmorismoUncinettoUngereUnghereseUnicornoUnificatoUnisonoUnitarioUnteUovoUpupaUraganoUrgenzaUrloUsanzaUsatoUscitoUsignoloUsuraioUtensileUtilizzoUtopiaVacanteVaccinatoVagabondoVagliatoValangaValgoValicoVallettaValorosoValutareValvolaVampataVangareVanitosoVanoVantaggioVanveraVaporeVaranoVarcatoVarianteVascaVedettaVedovaVedutoVegetaleVeicoloVelcroVelinaVellutoVeloceVenatoVendemmiaVentoVeraceVerbaleVergognaVerificaVeroVerrucaVerticaleVescicaVessilloVestaleVeteranoVetrinaVetustoViandanteVibranteVicendaVichingoVicinanzaVidimareVigiliaVignetoVigoreVileVillanoViminiVincitoreViolaViperaVirgolaVirologoVirulentoViscosoVisioneVispoVissutoVisuraVitaVitelloVittimaVivandaVividoViziareVoceVogaVolatileVolereVolpeVoragineVulcanoZampognaZannaZappatoZatteraZavorraZefiroZelanteZeloZenzeroZerbinoZibettoZincoZirconeZittoZollaZoticoZuccheroZufoloZuluZuppa".replace(/([A-Z])/g," $1").toLowerCase().substring(1).split(" "),"0x5c1362d88fd4cf614a96f3234941d29f7d37c08c5292fde03bf62c2db6ff7620"!==o.Wordlist.check(e)))throw i=null,new Error("BIP39 Wordlist for it (Italian) FAILED")}var c=new(function(e){function t(){return e.call(this,"it")||this}return n(t,e),t.prototype.getWord=function(e){return s(this),i[e]},t.prototype.getWordIndex=function(e){return s(this),i.indexOf(e)},t}(o.Wordlist));r.langIt=c,o.Wordlist.register(c)}}},{package:"@ethersproject/hdnode>@ethersproject/wordlists",file:"node_modules/@ethersproject/wordlists/lib/lang-it.js"}],[563,{"./wordlist":566,"@ethersproject/bytes":476,"@ethersproject/strings":547},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var a,n=this&&this.__extends||(a=function(e,t){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},a(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.langJa=void 0;var o=e("@ethersproject/bytes"),i=e("@ethersproject/strings"),s=e("./wordlist"),c=["AQRASRAGBAGUAIRAHBAghAURAdBAdcAnoAMEAFBAFCBKFBQRBSFBCXBCDBCHBGFBEQBpBBpQBIkBHNBeOBgFBVCBhBBhNBmOBmRBiHBiFBUFBZDBvFBsXBkFBlcBjYBwDBMBBTBBTRBWBBWXXaQXaRXQWXSRXCFXYBXpHXOQXHRXhRXuRXmXXbRXlXXwDXTRXrCXWQXWGaBWaKcaYgasFadQalmaMBacAKaRKKBKKXKKjKQRKDRKCYKCRKIDKeVKHcKlXKjHKrYNAHNBWNaRNKcNIBNIONmXNsXNdXNnBNMBNRBNrXNWDNWMNFOQABQAHQBrQXBQXFQaRQKXQKDQKOQKFQNBQNDQQgQCXQCDQGBQGDQGdQYXQpBQpQQpHQLXQHuQgBQhBQhCQuFQmXQiDQUFQZDQsFQdRQkHQbRQlOQlmQPDQjDQwXQMBQMDQcFQTBQTHQrDDXQDNFDGBDGQDGRDpFDhFDmXDZXDbRDMYDRdDTRDrXSAhSBCSBrSGQSEQSHBSVRShYShkSyQSuFSiBSdcSoESocSlmSMBSFBSFKSFNSFdSFcCByCaRCKcCSBCSRCCrCGbCEHCYXCpBCpQCIBCIHCeNCgBCgFCVECVcCmkCmwCZXCZFCdRClOClmClFCjDCjdCnXCwBCwXCcRCFQCFjGXhGNhGDEGDMGCDGCHGIFGgBGVXGVEGVRGmXGsXGdYGoSGbRGnXGwXGwDGWRGFNGFLGFOGFdGFkEABEBDEBFEXOEaBEKSENBENDEYXEIgEIkEgBEgQEgHEhFEudEuFEiBEiHEiFEZDEvBEsXEsFEdXEdREkFEbBEbRElFEPCEfkEFNYAEYAhYBNYQdYDXYSRYCEYYoYgQYgRYuRYmCYZTYdBYbEYlXYjQYRbYWRpKXpQopQnpSFpCXpIBpISphNpdBpdRpbRpcZpFBpFNpFDpFopFrLADLBuLXQLXcLaFLCXLEhLpBLpFLHXLeVLhILdHLdRLoDLbRLrXIABIBQIBCIBsIBoIBMIBRIXaIaRIKYIKRINBINuICDIGBIIDIIkIgRIxFIyQIiHIdRIbYIbRIlHIwRIMYIcRIRVITRIFBIFNIFQOABOAFOBQOaFONBONMOQFOSFOCDOGBOEQOpBOLXOIBOIFOgQOgFOyQOycOmXOsXOdIOkHOMEOMkOWWHBNHXNHXWHNXHDuHDRHSuHSRHHoHhkHmRHdRHkQHlcHlRHwBHWcgAEgAggAkgBNgBQgBEgXOgYcgLXgHjgyQgiBgsFgdagMYgWSgFQgFEVBTVXEVKBVKNVKDVKYVKRVNBVNYVDBVDxVSBVSRVCjVGNVLXVIFVhBVhcVsXVdRVbRVlRhBYhKYhDYhGShxWhmNhdahdkhbRhjohMXhTRxAXxXSxKBxNBxEQxeNxeQxhXxsFxdbxlHxjcxFBxFNxFQxFOxFoyNYyYoybcyMYuBQuBRuBruDMuCouHBudQukkuoBulVuMXuFEmCYmCRmpRmeDmiMmjdmTFmFQiADiBOiaRiKRiNBiNRiSFiGkiGFiERipRiLFiIFihYibHijBijEiMXiWBiFBiFCUBQUXFUaRUNDUNcUNRUNFUDBUSHUCDUGBUGFUEqULNULoUIRUeEUeYUgBUhFUuRUiFUsXUdFUkHUbBUjSUjYUwXUMDUcHURdUTBUrBUrXUrQZAFZXZZaRZKFZNBZQFZCXZGBZYdZpBZLDZIFZHXZHNZeQZVRZVFZmXZiBZvFZdFZkFZbHZbFZwXZcCZcRZRBvBQvBGvBLvBWvCovMYsAFsBDsaRsKFsNFsDrsSHsSFsCXsCRsEBsEHsEfspBsLBsLDsIgsIRseGsbRsFBsFQsFSdNBdSRdCVdGHdYDdHcdVbdySduDdsXdlRdwXdWYdWcdWRkBMkXOkaRkNIkNFkSFkCFkYBkpRkeNkgBkhVkmXksFklVkMBkWDkFNoBNoaQoaFoNBoNXoNaoNEoSRoEroYXoYCoYbopRopFomXojkowXorFbBEbEIbdBbjYlaRlDElMXlFDjKjjSRjGBjYBjYkjpRjLXjIBjOFjeVjbRjwBnXQnSHnpFnLXnINnMBnTRwXBwXNwXYwNFwQFwSBwGFwLXwLDweNwgBwuHwjDwnXMBXMpFMIBMeNMTHcaQcNBcDHcSFcCXcpBcLXcLDcgFcuFcnXcwXccDcTQcrFTQErXNrCHrpFrgFrbFrTHrFcWNYWNbWEHWMXWTR","ABGHABIJAEAVAYJQALZJAIaRAHNXAHdcAHbRAZJMAZJRAZTRAdVJAklmAbcNAjdRAMnRAMWYAWpRAWgRAFgBAFhBAFdcBNJBBNJDBQKBBQhcBQlmBDEJBYJkBYJTBpNBBpJFBIJBBIJDBIcABOKXBOEJBOVJBOiJBOZJBepBBeLXBeIFBegBBgGJBVJXBuocBiJRBUJQBlXVBlITBwNFBMYVBcqXBTlmBWNFBWiJBWnRBFGHBFwXXKGJXNJBXNZJXDTTXSHSXSVRXSlHXCJDXGQJXEhXXYQJXYbRXOfXXeNcXVJFXhQJXhEJXdTRXjdXXMhBXcQTXRGBXTEBXTnQXFCXXFOFXFgFaBaFaBNJaBCJaBpBaBwXaNJKaNJDaQIBaDpRaEPDaHMFamDJalEJaMZJaFaFaFNBaFQJaFLDaFVHKBCYKBEBKBHDKXaFKXGdKXEJKXpHKXIBKXZDKXwXKKwLKNacKNYJKNJoKNWcKDGdKDTRKChXKGaRKGhBKGbRKEBTKEaRKEPTKLMDKLWRKOHDKVJcKdBcKlIBKlOPKFSBKFEPKFpFNBNJNJBQNBGHNBEPNBHXNBgFNBVXNBZDNBsXNBwXNNaRNNJDNNJENNJkNDCJNDVDNGJRNJiDNZJNNsCJNJFNNFSBNFCXNFEPNFLXNFIFQJBFQCaRQJEQQLJDQLJFQIaRQOqXQHaFQHHQQVJXQVJDQhNJQmEIQZJFQsJXQJrFQWbRDJABDBYJDXNFDXCXDXLXDXZDDXsJDQqXDSJFDJCXDEPkDEqXDYmQDpSJDOCkDOGQDHEIDVJDDuDuDWEBDJFgSBNDSBSFSBGHSBIBSBTQSKVYSJQNSJQiSJCXSEqXSJYVSIiJSOMYSHAHSHaQSeCFSepQSegBSHdHSHrFShSJSJuHSJUFSkNRSrSrSWEBSFaHSJFQSFCXSFGDSFYXSFODSFgBSFVXSFhBSFxFSFkFSFbBSFMFCADdCJXBCXaFCXKFCXNFCXCXCXGBCXEJCXYBCXLDCXIBCXOPCXHXCXgBCXhBCXiBCXlDCXcHCJNBCJNFCDCJCDGBCDVXCDhBCDiDCDJdCCmNCpJFCIaRCOqXCHCHCHZJCViJCuCuCmddCJiFCdNBCdHhClEJCnUJCreSCWlgCWTRCFBFCFNBCFYBCFVFCFhFCFdSCFTBCFWDGBNBGBQFGJBCGBEqGBpBGBgQGNBEGNJYGNkOGNJRGDUFGJpQGHaBGJeNGJeEGVBlGVKjGiJDGvJHGsVJGkEBGMIJGWjNGFBFGFCXGFGBGFYXGFpBGFMFEASJEAWpEJNFECJVEIXSEIQJEOqXEOcFEeNcEHEJEHlFEJgFEhlmEmDJEmZJEiMBEUqXEoSREPBFEPXFEPKFEPSFEPEFEPpFEPLXEPIBEJPdEPcFEPTBEJnXEqlHEMpREFCXEFODEFcFYASJYJAFYBaBYBVXYXpFYDhBYCJBYJGFYYbRYeNcYJeVYiIJYZJcYvJgYvJRYJsXYsJFYMYMYreVpBNHpBEJpBwXpQxFpYEJpeNDpJeDpeSFpeCHpHUJpHbBpHcHpmUJpiiJpUJrpsJuplITpFaBpFQqpFGBpFEfpFYBpFpBpFLJpFIDpFgBpFVXpFyQpFuFpFlFpFjDpFnXpFwXpJFMpFTBLXCJLXEFLXhFLXUJLXbFLalmLNJBLSJQLCLCLGJBLLDJLHaFLeNFLeSHLeCXLepFLhaRLZsJLsJDLsJrLocaLlLlLMdbLFNBLFSBLFEHLFkFIBBFIBXFIBaQIBKXIBSFIBpHIBLXIBgBIBhBIBuHIBmXIBiFIBZXIBvFIBbFIBjQIBwXIBWFIKTRIQUJIDGFICjQIYSRIINXIJeCIVaRImEkIZJFIvJRIsJXIdCJIJoRIbBQIjYBIcqXITFVIreVIFKFIFSFIFCJIFGFIFLDIFIBIJFOIFgBIFVXIJFhIFxFIFmXIFdHIFbBIJFrIJFWOBGBOQfXOOKjOUqXOfXBOqXEOcqXORVJOFIBOFlDHBIOHXiFHNTRHCJXHIaRHHJDHHEJHVbRHZJYHbIBHRsJHRkDHWlmgBKFgBSBgBCDgBGHgBpBgBIBgBVJgBuBgBvFgKDTgQVXgDUJgGSJgOqXgmUMgZIJgTUJgWIEgFBFgFNBgFDJgFSFgFGBgFYXgJFOgFgQgFVXgFhBgFbHgJFWVJABVQKcVDgFVOfXVeDFVhaRVmGdViJYVMaRVFNHhBNDhBCXhBEqhBpFhBLXhNJBhSJRheVXhhKEhxlmhZIJhdBQhkIJhbMNhMUJhMZJxNJgxQUJxDEkxDdFxSJRxplmxeSBxeCXxeGFxeYXxepQxegBxWVcxFEQxFLXxFIBxFgBxFxDxFZtxFdcxFbBxFwXyDJXyDlcuASJuDJpuDIBuCpJuGSJuIJFueEFuZIJusJXudWEuoIBuWGJuFBcuFKEuFNFuFQFuFDJuFGJuFVJuFUtuFdHuFTBmBYJmNJYmQhkmLJDmLJomIdXmiJYmvJRmsJRmklmmMBymMuCmclmmcnQiJABiJBNiJBDiBSFiBCJiBEFiBYBiBpFiBLXiBTHiJNciDEfiCZJiECJiJEqiOkHiHKFieNDiHJQieQcieDHieSFieCXieGFieEFieIHiegFihUJixNoioNXiFaBiFKFiFNDiFEPiFYXitFOitFHiFgBiFVEiFmXiFitiFbBiFMFiFrFUCXQUIoQUIJcUHQJUeCEUHwXUUJDUUqXUdWcUcqXUrnQUFNDUFSHUFCFUFEfUFLXUtFOZBXOZXSBZXpFZXVXZEQJZEJkZpDJZOqXZeNHZeCDZUqXZFBQZFEHZFLXvBAFvBKFvBCXvBEPvBpHvBIDvBgFvBuHvQNJvFNFvFGBvFIBvJFcsXCDsXLXsXsXsXlFsXcHsQqXsJQFsEqXseIFsFEHsFjDdBxOdNpRdNJRdEJbdpJRdhZJdnSJdrjNdFNJdFQHdFhNkNJDkYaRkHNRkHSRkVbRkuMRkjSJkcqDoSJFoEiJoYZJoOfXohEBoMGQocqXbBAFbBXFbBaFbBNDbBGBbBLXbBTBbBWDbGJYbIJHbFQqbFpQlDgQlOrFlVJRjGEBjZJRnXvJnXbBnEfHnOPDngJRnxfXnUJWwXEJwNpJwDpBwEfXwrEBMDCJMDGHMDIJMLJDcQGDcQpHcqXccqNFcqCXcFCJRBSBRBGBRBEJRBpQTBNFTBQJTBpBTBVXTFABTFSBTFCFTFGBTFMDrXCJrXLDrDNJrEfHrFQJrFitWNjdWNTR","AKLJMANOPFASNJIAEJWXAYJNRAIIbRAIcdaAeEfDAgidRAdjNYAMYEJAMIbRAFNJBAFpJFBBIJYBDZJFBSiJhBGdEBBEJfXBEJqXBEJWRBpaUJBLXrXBIYJMBOcfXBeEfFBestXBjNJRBcDJOBFEqXXNvJRXDMBhXCJNYXOAWpXONJWXHDEBXeIaRXhYJDXZJSJXMDJOXcASJXFVJXaBQqXaBZJFasXdQaFSJQaFEfXaFpJHaFOqXKBNSRKXvJBKQJhXKEJQJKEJGFKINJBKIJjNKgJNSKVElmKVhEBKiJGFKlBgJKjnUJKwsJYKMFIJKFNJDKFIJFKFOfXNJBSFNJBCXNBpJFNJBvQNJBMBNJLJXNJOqXNJeCXNJeGFNdsJCNbTKFNwXUJQNFEPQDiJcQDMSJQSFpBQGMQJQJeOcQyCJEQUJEBQJFBrQFEJqDXDJFDJXpBDJXIMDGiJhDIJGRDJeYcDHrDJDVXgFDkAWpDkIgRDjDEqDMvJRDJFNFDJFIBSKclmSJQOFSJQVHSJQjDSJGJBSJGJFSECJoSHEJqSJHTBSJVJDSViJYSZJNBSJsJDSFSJFSFEfXSJFLXCBUJVCJXSBCJXpBCXVJXCJXsXCJXdFCJNJHCLIJgCHiJFCVNJMChCJhCUHEJCsJTRCJdYcCoQJCCFEfXCFIJgCFUJxCFstFGJBaQGJBIDGQJqXGYJNRGJHKFGeQqDGHEJFGJeLXGHIiJGHdBlGUJEBGkIJTGFQPDGJFEqEAGegEJIJBEJVJXEhQJTEiJNcEJZJFEJoEqEjDEqEPDsXEPGJBEPOqXEPeQFEfDiDEJfEFEfepQEfMiJEqXNBEqDIDEqeSFEqVJXEMvJRYXNJDYXEJHYKVJcYYJEBYJeEcYJUqXYFpJFYFstXpAZJMpBSJFpNBNFpeQPDpHLJDpHIJFpHgJFpeitFpHZJFpJFADpFSJFpJFCJpFOqXpFitBpJFZJLXIJFLIJgRLVNJWLVHJMLwNpJLFGJBLFLJDLFOqXLJFUJIBDJXIBGJBIJBYQIJBIBIBOqXIBcqDIEGJFILNJTIIJEBIOiJhIJeNBIJeIBIhiJIIWoTRIJFAHIJFpBIJFuHIFUtFIJFTHOSBYJOEcqXOHEJqOvBpFOkVJrObBVJOncqDOcNJkHhNJRHuHJuHdMhBgBUqXgBsJXgONJBgHNJDgHHJQgJeitgHsJXgJyNagyDJBgZJDrgsVJQgkEJNgkjSJgJFAHgFCJDgFZtMVJXNFVXQfXVJXDJVXoQJVQVJQVDEfXVDvJHVEqNFVeQfXVHpJFVHxfXVVJSRVVmaRVlIJOhCXVJhHjYkhxCJVhWVUJhWiJcxBNJIxeEqDxfXBFxcFEPxFSJFxFYJXyBDQJydaUJyFOPDuYCJYuLvJRuHLJXuZJLDuFOPDuFZJHuFcqXmKHJdmCQJcmOsVJiJAGFitLCFieOfXiestXiZJMEikNJQirXzFiFQqXiFIJFiFZJFiFvtFUHpJFUteIcUteOcUVCJkUhdHcUbEJEUJqXQUMNJhURjYkUFitFZDGJHZJIxDZJVJXZJFDJZJFpQvBNJBvBSJFvJxBrseQqDsVFVJdFLJDkEJNBkmNJYkFLJDoQJOPoGsJRoEAHBoEJfFbBQqDbBZJHbFVJXlFIJBjYIrXjeitcjjCEBjWMNBwXQfXwXOaFwDsJXwCJTRwrCZJMDNJQcDDJFcqDOPRYiJFTBsJXTQIJBTFEfXTFLJDrXEJFrEJXMrFZJFWEJdEWYTlm","ABCDEFACNJTRAMBDJdAcNJVXBLNJEBXSIdWRXErNJkXYDJMBXZJCJaXMNJaYKKVJKcKDEJqXKDcNJhKVJrNYKbgJVXKFVJSBNBYBwDNJeQfXNJeEqXNhGJWENJFiJRQlIJbEQJfXxDQqXcfXQFNDEJQFwXUJDYcnUJDJIBgQDIUJTRDJFEqDSJQSJFSJQIJFSOPeZtSJFZJHCJXQfXCTDEqFGJBSJFGJBOfXGJBcqXGJHNJDGJRLiJEJfXEqEJFEJPEFpBEJYJBZJFYBwXUJYiJMEBYJZJyTYTONJXpQMFXFpeGIDdpJFstXpJFcPDLBVSJRLHQJqXLJFZJFIJBNJDIJBUqXIBkFDJIJEJPTIYJGWRIJeQPDIJeEfHIJFsJXOqGDSFHXEJqXgJCsJCgGQJqXgdQYJEgFMFNBgJFcqDVJwXUJVJFZJchIgJCCxOEJqXxOwXUJyDJBVRuscisciJBiJBieUtqXiJFDJkiFsJXQUGEZJcUJFsJXZtXIrXZDZJDrZJFNJDZJFstXvJFQqXvJFCJEsJXQJqkhkNGBbDJdTRbYJMEBlDwXUJMEFiJFcfXNJDRcNJWMTBLJXC","BraFUtHBFSJFdbNBLJXVJQoYJNEBSJBEJfHSJHwXUJCJdAZJMGjaFVJXEJPNJBlEJfFiJFpFbFEJqIJBVJCrIBdHiJhOPFChvJVJZJNJWxGFNIFLueIBQJqUHEJfUFstOZJDrlXEASJRlXVJXSFwVJNJWD","QJEJNNJDQJEJIBSFQJEJxegBQJEJfHEPSJBmXEJFSJCDEJqXLXNJFQqXIcQsFNJFIFEJqXUJgFsJXIJBUJEJfHNFvJxEqXNJnXUJFQqD","IJBEJqXZJ"],u=null;function l(e){return(0,o.hexlify)((0,i.toUtf8Bytes)(e))}function d(e){if(null===u){u=[];var t={};t[(0,i.toUtf8String)([227,130,154])]=!1,t[(0,i.toUtf8String)([227,130,153])]=!1,t[(0,i.toUtf8String)([227,130,133])]=(0,i.toUtf8String)([227,130,134]),t[(0,i.toUtf8String)([227,129,163])]=(0,i.toUtf8String)([227,129,164]),t[(0,i.toUtf8String)([227,130,131])]=(0,i.toUtf8String)([227,130,132]),t[(0,i.toUtf8String)([227,130,135])]=(0,i.toUtf8String)([227,130,136]);for(var r=3;r<=9;r++)for(var a=c[r-3],n=0;nt?1:0})),"0xe3818de38284e3818f"===l(u[442])&&"0xe3818de38283e3818f"===l(u[443])){var p=u[442];u[442]=u[443],u[443]=p}if("0xcb36b09e6baa935787fd762ce65e80b0c6a8dabdfbc3a7f86ac0e2c4fd111600"!==s.Wordlist.check(e))throw u=null,new Error("BIP39 Wordlist for ja (Japanese) FAILED")}function m(e){for(var r="",a=0;a@ethersproject/wordlists",file:"node_modules/@ethersproject/wordlists/lib/lang-ja.js"}],[564,{"./wordlist":566,"@ethersproject/strings":547},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var a,n=this&&this.__extends||(a=function(e,t){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},a(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.langKo=void 0;var o=e("@ethersproject/strings"),i=e("./wordlist"),s=["OYAa","ATAZoATBl3ATCTrATCl8ATDloATGg3ATHT8ATJT8ATJl3ATLlvATLn4ATMT8ATMX8ATMboATMgoAToLbAToMTATrHgATvHnAT3AnAT3JbAT3MTAT8DbAT8JTAT8LmAT8MYAT8MbAT#LnAUHT8AUHZvAUJXrAUJX8AULnrAXJnvAXLUoAXLgvAXMn6AXRg3AXrMbAX3JTAX3QbAYLn3AZLgvAZrSUAZvAcAZ8AaAZ8AbAZ8AnAZ8HnAZ8LgAZ8MYAZ8MgAZ8OnAaAboAaDTrAaFTrAaJTrAaJboAaLVoAaMXvAaOl8AaSeoAbAUoAbAg8AbAl4AbGnrAbMT8AbMXrAbMn4AbQb8AbSV8AbvRlAb8AUAb8AnAb8HgAb8JTAb8NTAb8RbAcGboAcLnvAcMT8AcMX8AcSToAcrAaAcrFnAc8AbAc8MgAfGgrAfHboAfJnvAfLV8AfLkoAfMT8AfMnoAfQb8AfScrAfSgrAgAZ8AgFl3AgGX8AgHZvAgHgrAgJXoAgJX8AgJboAgLZoAgLn4AgOX8AgoATAgoAnAgoCUAgoJgAgoLXAgoMYAgoSeAgrDUAgrJTAhrFnAhrLjAhrQgAjAgoAjJnrAkMX8AkOnoAlCTvAlCV8AlClvAlFg4AlFl6AlFn3AloSnAlrAXAlrAfAlrFUAlrFbAlrGgAlrOXAlvKnAlvMTAl3AbAl3MnAnATrAnAcrAnCZ3AnCl8AnDg8AnFboAnFl3AnHX4AnHbrAnHgrAnIl3AnJgvAnLXoAnLX4AnLbrAnLgrAnLhrAnMXoAnMgrAnOn3AnSbrAnSeoAnvLnAn3OnCTGgvCTSlvCTvAUCTvKnCTvNTCT3CZCT3GUCT3MTCT8HnCUCZrCULf8CULnvCU3HnCU3JUCY6NUCbDb8CbFZoCbLnrCboOTCboScCbrFnCbvLnCb8AgCb8HgCb$LnCkLfoClBn3CloDUDTHT8DTLl3DTSU8DTrAaDTrLXDTrLjDTrOYDTrOgDTvFXDTvFnDT3HUDT3LfDUCT9DUDT4DUFVoDUFV8DUFkoDUGgrDUJnrDULl8DUMT8DUMXrDUMX4DUMg8DUOUoDUOgvDUOg8DUSToDUSZ8DbDXoDbDgoDbGT8DbJn3DbLg3DbLn4DbMXrDbMg8DbOToDboJXGTClvGTDT8GTFZrGTLVoGTLlvGTLl3GTMg8GTOTvGTSlrGToCUGTrDgGTrJYGTrScGTtLnGTvAnGTvQgGUCZrGUDTvGUFZoGUHXrGULnvGUMT8GUoMgGXoLnGXrMXGXrMnGXvFnGYLnvGZOnvGZvOnGZ8LaGZ8LmGbAl3GbDYvGbDlrGbHX3GbJl4GbLV8GbLn3GbMn4GboJTGboRfGbvFUGb3GUGb4JnGgDX3GgFl$GgJlrGgLX6GgLZoGgLf8GgOXoGgrAgGgrJXGgrMYGgrScGgvATGgvOYGnAgoGnJgvGnLZoGnLg3GnLnrGnQn8GnSbrGnrMgHTClvHTDToHTFT3HTQT8HToJTHToJgHTrDUHTrMnHTvFYHTvRfHT8MnHT8SUHUAZ8HUBb4HUDTvHUoMYHXFl6HXJX6HXQlrHXrAUHXrMnHXrSbHXvFYHXvKXHX3LjHX3MeHYvQlHZrScHZvDbHbAcrHbFT3HbFl3HbJT8HbLTrHbMT8HbMXrHbMbrHbQb8HbSX3HboDbHboJTHbrFUHbrHgHbrJTHb8JTHb8MnHb8QgHgAlrHgDT3HgGgrHgHgrHgJTrHgJT8HgLX@HgLnrHgMT8HgMX8HgMboHgOnrHgQToHgRg3HgoHgHgrCbHgrFnHgrLVHgvAcHgvAfHnAloHnCTrHnCnvHnGTrHnGZ8HnGnvHnJT8HnLf8HnLkvHnMg8HnRTrITvFUITvFnJTAXrJTCV8JTFT3JTFT8JTFn4JTGgvJTHT8JTJT8JTJXvJTJl3JTJnvJTLX4JTLf8JTLhvJTMT8JTMXrJTMnrJTObrJTQT8JTSlvJT8DUJT8FkJT8MTJT8OXJT8OgJT8QUJT8RfJUHZoJXFT4JXFlrJXGZ8JXGnrJXLV8JXLgvJXMXoJXMX3JXNboJXPlvJXoJTJXoLkJXrAXJXrHUJXrJgJXvJTJXvOnJX4KnJYAl3JYJT8JYLhvJYQToJYrQXJY6NUJbAl3JbCZrJbDloJbGT8JbGgrJbJXvJbJboJbLf8JbLhrJbLl3JbMnvJbRg8JbSZ8JboDbJbrCZJbrSUJb3KnJb8LnJfRn8JgAXrJgCZrJgDTrJgGZrJgGZ8JgHToJgJT8JgJXoJgJgvJgLX4JgLZ3JgLZ8JgLn4JgMgrJgMn4JgOgvJgPX6JgRnvJgSToJgoCZJgoJbJgoMYJgrJXJgrJgJgrLjJg6MTJlCn3JlGgvJlJl8Jl4AnJl8FnJl8HgJnAToJnATrJnAbvJnDUoJnGnrJnJXrJnJXvJnLhvJnLnrJnLnvJnMToJnMT8JnMXvJnMX3JnMg8JnMlrJnMn4JnOX8JnST4JnSX3JnoAgJnoAnJnoJTJnoObJnrAbJnrAkJnrHnJnrJTJnrJYJnrOYJnrScJnvCUJnvFaJnvJgJnvJnJnvOYJnvQUJnvRUJn3FnJn3JTKnFl3KnLT6LTDlvLTMnoLTOn3LTRl3LTSb4LTSlrLToAnLToJgLTrAULTrAcLTrCULTrHgLTrMgLT3JnLULnrLUMX8LUoJgLVATrLVDTrLVLb8LVoJgLV8MgLV8RTLXDg3LXFlrLXrCnLXrLXLX3GTLX4GgLX4OYLZAXrLZAcrLZAgrLZAhrLZDXyLZDlrLZFbrLZFl3LZJX6LZJX8LZLc8LZLnrLZSU8LZoJTLZoJnLZrAgLZrAnLZrJYLZrLULZrMgLZrSkLZvAnLZvGULZvJeLZvOTLZ3FZLZ4JXLZ8STLZ8ScLaAT3LaAl3LaHT8LaJTrLaJT8LaJXrLaJgvLaJl4LaLVoLaMXrLaMXvLaMX8LbClvLbFToLbHlrLbJn4LbLZ3LbLhvLbMXrLbMnoLbvSULcLnrLc8HnLc8MTLdrMnLeAgoLeOgvLeOn3LfAl3LfLnvLfMl3LfOX8Lf8AnLf8JXLf8LXLgJTrLgJXrLgJl8LgMX8LgRZrLhCToLhrAbLhrFULhrJXLhvJYLjHTrLjHX4LjJX8LjLhrLjSX3LjSZ4LkFX4LkGZ8LkGgvLkJTrLkMXoLkSToLkSU8LkSZ8LkoOYLl3FfLl3MgLmAZrLmCbrLmGgrLmHboLmJnoLmJn3LmLfoLmLhrLmSToLnAX6LnAb6LnCZ3LnCb3LnDTvLnDb8LnFl3LnGnrLnHZvLnHgvLnITvLnJT8LnJX8LnJlvLnLf8LnLg6LnLhvLnLnoLnMXrLnMg8LnQlvLnSbrLnrAgLnrAnLnrDbLnrFkLnrJdLnrMULnrOYLnrSTLnvAnLnvDULnvHgLnvOYLnvOnLn3GgLn4DULn4JTLn4JnMTAZoMTAloMTDb8MTFT8MTJnoMTJnrMTLZrMTLhrMTLkvMTMX8MTRTrMToATMTrDnMTrOnMT3JnMT4MnMT8FUMT8FaMT8FlMT8GTMT8GbMT8GnMT8HnMT8JTMT8JbMT8OTMUCl8MUJTrMUJU8MUMX8MURTrMUSToMXAX6MXAb6MXCZoMXFXrMXHXrMXLgvMXOgoMXrAUMXrAnMXrHgMXrJYMXrJnMXrMTMXrMgMXrOYMXrSZMXrSgMXvDUMXvOTMX3JgMX3OTMX4JnMX8DbMX8FnMX8HbMX8HgMX8HnMX8LbMX8MnMX8OnMYAb8MYGboMYHTvMYHX4MYLTrMYLnvMYMToMYOgvMYRg3MYSTrMbAToMbAXrMbAl3MbAn8MbGZ8MbJT8MbJXrMbMXvMbMX8MbMnoMbrMUMb8AfMb8FbMb8FkMcJXoMeLnrMgFl3MgGTvMgGXoMgGgrMgGnrMgHT8MgHZrMgJnoMgLnrMgLnvMgMT8MgQUoMgrHnMgvAnMg8HgMg8JYMg8LfMloJnMl8ATMl8AXMl8JYMnAToMnAT4MnAZ8MnAl3MnAl4MnCl8MnHT8MnHg8MnJnoMnLZoMnLhrMnMXoMnMX3MnMnrMnOgvMnrFbMnrFfMnrFnMnrNTMnvJXNTMl8OTCT3OTFV8OTFn3OTHZvOTJXrOTOl3OT3ATOT3JUOT3LZOT3LeOT3MbOT8ATOT8AbOT8AgOT8MbOUCXvOUMX3OXHXvOXLl3OXrMUOXvDbOX6NUOX8JbOYFZoOYLbrOYLkoOYMg8OYSX3ObHTrObHT4ObJgrObLhrObMX3ObOX8Ob8FnOeAlrOeJT8OeJXrOeJnrOeLToOeMb8OgJXoOgLXoOgMnrOgOXrOgOloOgoAgOgoJbOgoMYOgoSTOg8AbOjLX4OjMnoOjSV8OnLVoOnrAgOn3DUPXQlrPXvFXPbvFTPdAT3PlFn3PnvFbQTLn4QToAgQToMTQULV8QURg8QUoJnQXCXvQbFbrQb8AaQb8AcQb8FbQb8MYQb8ScQeAlrQeLhrQjAn3QlFXoQloJgQloSnRTLnvRTrGURTrJTRUJZrRUoJlRUrQnRZrLmRZrMnRZrSnRZ8ATRZ8JbRZ8ScRbMT8RbST3RfGZrRfMX8RfMgrRfSZrRnAbrRnGT8RnvJgRnvLfRnvMTRn8AaSTClvSTJgrSTOXrSTRg3STRnvSToAcSToAfSToAnSToHnSToLjSToMTSTrAaSTrEUST3BYST8AgST8LmSUAZvSUAgrSUDT4SUDT8SUGgvSUJXoSUJXvSULTrSU8JTSU8LjSV8AnSV8JgSXFToSXLf8SYvAnSZrDUSZrMUSZrMnSZ8HgSZ8JTSZ8JgSZ8MYSZ8QUSaQUoSbCT3SbHToSbQYvSbSl4SboJnSbvFbSb8HbSb8JgSb8OTScGZrScHgrScJTvScMT8ScSToScoHbScrMTScvAnSeAZrSeAcrSeHboSeJUoSeLhrSeMT8SeMXrSe6JgSgHTrSkJnoSkLnvSk8CUSlFl3SlrSnSl8GnSmAboSmGT8SmJU8","ATLnDlATrAZoATrJX4ATrMT8ATrMX4ATrRTrATvDl8ATvJUoATvMl8AT3AToAT3MX8AT8CT3AT8DT8AT8HZrAT8HgoAUAgFnAUCTFnAXoMX8AXrAT8AXrGgvAXrJXvAXrOgoAXvLl3AZvAgoAZvFbrAZvJXoAZvJl8AZvJn3AZvMX8AZvSbrAZ8FZoAZ8LZ8AZ8MU8AZ8OTvAZ8SV8AZ8SX3AbAgFZAboJnoAbvGboAb8ATrAb8AZoAb8AgrAb8Al4Ab8Db8Ab8JnoAb8LX4Ab8LZrAb8LhrAb8MT8Ab8OUoAb8Qb8Ab8ST8AcrAUoAcrAc8AcrCZ3AcrFT3AcrFZrAcrJl4AcrJn3AcrMX3AcrOTvAc8AZ8Ac8MT8AfAcJXAgoFn4AgoGgvAgoGnrAgoLc8AgoMXoAgrLnrAkrSZ8AlFXCTAloHboAlrHbrAlrLhrAlrLkoAl3CZrAl3LUoAl3LZrAnrAl4AnrMT8An3HT4BT3IToBX4MnvBb!Ln$CTGXMnCToLZ4CTrHT8CT3JTrCT3RZrCT#GTvCU6GgvCU8Db8CU8GZrCU8HT8CboLl3CbrGgrCbrMU8Cb8DT3Cb8GnrCb8LX4Cb8MT8Cb8ObrCgrGgvCgrKX4Cl8FZoDTrAbvDTrDboDTrGT6DTrJgrDTrMX3DTrRZrDTrRg8DTvAVvDTvFZoDT3DT8DT3Ln3DT4HZrDT4MT8DT8AlrDT8MT8DUAkGbDUDbJnDYLnQlDbDUOYDbMTAnDbMXSnDboAT3DboFn4DboLnvDj6JTrGTCgFTGTGgFnGTJTMnGTLnPlGToJT8GTrCT3GTrLVoGTrLnvGTrMX3GTrMboGTvKl3GZClFnGZrDT3GZ8DTrGZ8FZ8GZ8MXvGZ8On8GZ8ST3GbCnQXGbMbFnGboFboGboJg3GboMXoGb3JTvGb3JboGb3Mn6Gb3Qb8GgDXLjGgMnAUGgrDloGgrHX4GgrSToGgvAXrGgvAZvGgvFbrGgvLl3GgvMnvGnDnLXGnrATrGnrMboGnuLl3HTATMnHTAgCnHTCTCTHTrGTvHTrHTvHTrJX8HTrLl8HTrMT8HTrMgoHTrOTrHTuOn3HTvAZrHTvDTvHTvGboHTvJU8HTvLl3HTvMXrHTvQb4HT4GT6HT4JT8HT4Jb#HT8Al3HT8GZrHT8GgrHT8HX4HT8Jb8HT8JnoHT8LTrHT8LgvHT8SToHT8SV8HUoJUoHUoJX8HUoLnrHXrLZoHXvAl3HX3LnrHX4FkvHX4LhrHX4MXoHX4OnoHZrAZ8HZrDb8HZrGZ8HZrJnrHZvGZ8HZvLnvHZ8JnvHZ8LhrHbCXJlHbMTAnHboJl4HbpLl3HbrJX8HbrLnrHbrMnvHbvRYrHgoSTrHgrFV8HgrGZ8HgrJXoHgrRnvHgvBb!HgvGTrHgvHX4HgvHn!HgvLTrHgvSU8HnDnLbHnFbJbHnvDn8Hn6GgvHn!BTvJTCTLnJTQgFnJTrAnvJTrLX4JTrOUoJTvFn3JTvLnrJTvNToJT3AgoJT3Jn4JT3LhvJT3ObrJT8AcrJT8Al3JT8JT8JT8JnoJT8LX4JT8LnrJT8MX3JT8Rg3JT8Sc8JUoBTvJU8AToJU8GZ8JU8GgvJU8JTrJU8JXrJU8JnrJU8LnvJU8ScvJXHnJlJXrGgvJXrJU8JXrLhrJXrMT8JXrMXrJXrQUoJXvCTvJXvGZ8JXvGgrJXvQT8JX8Ab8JX8DT8JX8GZ8JX8HZvJX8LnrJX8MT8JX8MXoJX8MnvJX8ST3JYGnCTJbAkGbJbCTAnJbLTAcJboDT3JboLb6JbrAnvJbrCn3JbrDl8JbrGboJbrIZoJbrJnvJbrMnvJbrQb4Jb8RZrJeAbAnJgJnFbJgScAnJgrATrJgvHZ8JgvMn4JlJlFbJlLiQXJlLjOnJlRbOlJlvNXoJlvRl3Jl4AcrJl8AUoJl8MnrJnFnMlJnHgGbJnoDT8JnoFV8JnoGgvJnoIT8JnoQToJnoRg3JnrCZ3JnrGgrJnrHTvJnrLf8JnrOX8JnvAT3JnvFZoJnvGT8JnvJl4JnvMT8JnvMX8JnvOXrJnvPX6JnvSX3JnvSZrJn3MT8Jn3MX8Jn3RTrLTATKnLTJnLTLTMXKnLTRTQlLToGb8LTrAZ8LTrCZ8LTrDb8LTrHT8LT3PX6LT4FZoLT$CTvLT$GgrLUvHX3LVoATrLVoAgoLVoJboLVoMX3LVoRg3LV8CZ3LV8FZoLV8GTvLXrDXoLXrFbrLXvAgvLXvFlrLXvLl3LXvRn6LX4Mb8LX8GT8LYCXMnLYrMnrLZoSTvLZrAZvLZrAloLZrFToLZrJXvLZrJboLZrJl4LZrLnrLZrMT8LZrOgvLZrRnvLZrST4LZvMX8LZvSlvLZ8AgoLZ8CT3LZ8JT8LZ8LV8LZ8LZoLZ8Lg8LZ8SV8LZ8SbrLZ$HT8LZ$Mn4La6CTvLbFbMnLbRYFTLbSnFZLboJT8LbrAT9LbrGb3LbrQb8LcrJX8LcrMXrLerHTvLerJbrLerNboLgrDb8LgrGZ8LgrHTrLgrMXrLgrSU8LgvJTrLgvLl3Lg6Ll3LhrLnrLhrMT8LhvAl4LiLnQXLkoAgrLkoJT8LkoJn4LlrSU8Ll3FZoLl3HTrLl3JX8Ll3JnoLl3LToLmLeFbLnDUFbLnLVAnLnrATrLnrAZoLnrAb8LnrAlrLnrGgvLnrJU8LnrLZrLnrLhrLnrMb8LnrOXrLnrSZ8LnvAb4LnvDTrLnvDl8LnvHTrLnvHbrLnvJT8LnvJU8LnvJbrLnvLhvLnvMX8LnvMb8LnvNnoLnvSU8Ln3Al3Ln4FZoLn4GT6Ln4JgvLn4LhrLn4MT8Ln4SToMToCZrMToJX8MToLX4MToLf8MToRg3MTrEloMTvGb6MT3BTrMT3Lb6MT8AcrMT8AgrMT8GZrMT8JnoMT8LnrMT8MX3MUOUAnMXAbFnMXoAloMXoJX8MXoLf8MXoLl8MXrAb8MXrDTvMXrGT8MXrGgrMXrHTrMXrLf8MXrMU8MXrOXvMXrQb8MXvGT8MXvHTrMXvLVoMX3AX3MX3Jn3MX3LhrMX3MX3MX4AlrMX4OboMX8GTvMX8GZrMX8GgrMX8JT8MX8JX8MX8LhrMX8MT8MYDUFbMYMgDbMbGnFfMbvLX4MbvLl3Mb8Mb8Mb8ST4MgGXCnMg8ATrMg8AgoMg8CZrMg8DTrMg8DboMg8HTrMg8JgrMg8LT8MloJXoMl8AhrMl8JT8MnLgAUMnoJXrMnoLX4MnoLhrMnoMT8MnrAl4MnrDb8MnrOTvMnrOgvMnrQb8MnrSU8MnvGgrMnvHZ8Mn3MToMn4DTrMn4LTrMn4Mg8NnBXAnOTFTFnOToAToOTrGgvOTrJX8OT3JXoOT6MTrOT8GgrOT8HTpOT8MToOUoHT8OUoJT8OUoLn3OXrAgoOXrDg8OXrMT8OXvSToOX6CTvOX8CZrOX8OgrOb6HgvOb8AToOb8MT8OcvLZ8OgvAlrOgvHTvOgvJTrOgvJnrOgvLZrOgvLn4OgvMT8OgvRTrOg8AZoOg8DbvOnrOXoOnvJn4OnvLhvOnvRTrOn3GgoOn3JnvOn6JbvOn8OTrPTGYFTPbBnFnPbGnDnPgDYQTPlrAnvPlrETvPlrLnvPlrMXvPlvFX4QTMTAnQTrJU8QYCnJlQYJlQlQbGTQbQb8JnrQb8LZoQb8LnvQb8MT8Qb8Ml8Qb8ST4QloAl4QloHZvQloJX8QloMn8QnJZOlRTrAZvRTrDTrRTvJn4RTvLhvRT4Jb8RZrAZrRZ8AkrRZ8JU8RZ8LV8RZ8LnvRbJlQXRg3GboRg3MnvRg8AZ8Rg8JboRg8Jl4RnLTCbRnvFl3RnvQb8SToAl4SToCZrSToFZoSToHXrSToJU8SToJgvSToJl4SToLhrSToMX3STrAlvSTrCT9STrCgrSTrGgrSTrHXrSTrHboSTrJnoSTrNboSTvLnrST4AZoST8Ab8ST8JT8SUoJn3SU6HZ#SU6JTvSU8Db8SU8HboSU8LgrSV8JT8SZrAcrSZrAl3SZrJT8SZrJnvSZrMT8SZvLUoSZ4FZoSZ8JnoSZ8RZrScoLnrScoMT8ScoMX8ScrAT4ScrAZ8ScrLZ8ScrLkvScvDb8ScvLf8ScvNToSgrFZrShvKnrSloHUoSloLnrSlrMXoSl8HgrSmrJUoSn3BX6","ATFlOn3ATLgrDYAT4MTAnAT8LTMnAYJnRTrAbGgJnrAbLV8LnAbvNTAnAeFbLg3AgOYMXoAlQbFboAnDboAfAnJgoJTBToDgAnBUJbAl3BboDUAnCTDlvLnCTFTrSnCYoQTLnDTwAbAnDUDTrSnDUHgHgrDX8LXFnDbJXAcrETvLTLnGTFTQbrGTMnGToGT3DUFbGUJlPX3GbQg8LnGboJbFnGb3GgAYGgAg8ScGgMbAXrGgvAbAnGnJTLnvGnvATFgHTDT6ATHTrDlJnHYLnMn8HZrSbJTHZ8LTFnHbFTJUoHgSeMT8HgrLjAnHgvAbAnHlFUrDlHnDgvAnHnHTFT3HnQTGnrJTAaMXvJTGbCn3JTOgrAnJXvAXMnJbMg8SnJbMnRg3Jb8LTMnJnAl3OnJnGYrQlJnJlQY3LTDlCn3LTJjLg3LTLgvFXLTMg3GTLV8HUOgLXFZLg3LXNXrMnLX8QXFnLX9AlMYLYLXPXrLZAbJU8LZDUJU8LZMXrSnLZ$AgFnLaPXrDULbFYrMnLbMn8LXLboJgJgLeFbLg3LgLZrSnLgOYAgoLhrRnJlLkCTrSnLkOnLhrLnFX%AYLnFZoJXLnHTvJbLnLloAbMTATLf8MTHgJn3MTMXrAXMT3MTFnMUITvFnMXFX%AYMXMXvFbMXrFTDbMYAcMX3MbLf8SnMb8JbFnMgMXrMTMgvAXFnMgvGgCmMnAloSnMnFnJTrOXvMXSnOX8HTMnObJT8ScObLZFl3ObMXCZoPTLgrQXPUFnoQXPU3RXJlPX3RkQXPbrJXQlPlrJbFnQUAhrDbQXGnCXvQYLnHlvQbLfLnvRTOgvJbRXJYrQlRYLnrQlRbLnrQlRlFT8JlRlFnrQXSTClCn3STHTrAnSTLZQlrSTMnGTrSToHgGbSTrGTDnSTvGXCnST3HgFbSU3HXAXSbAnJn3SbFT8LnScLfLnv","AT3JgJX8AT8FZoSnAT8JgFV8AT8LhrDbAZ8JT8DbAb8GgLhrAb8SkLnvAe8MT8SnAlMYJXLVAl3GYDTvAl3LfLnvBUDTvLl3CTOn3HTrCT3DUGgrCU8MT8AbCbFTrJUoCgrDb8MTDTLV8JX8DTLnLXQlDT8LZrSnDUQb8FZ8DUST4JnvDb8ScOUoDj6GbJl4GTLfCYMlGToAXvFnGboAXvLnGgAcrJn3GgvFnSToGnLf8JnvGn#HTDToHTLnFXJlHTvATFToHTvHTDToHTvMTAgoHT3STClvHT4AlFl6HT8HTDToHUoDgJTrHUoScMX3HbRZrMXoHboJg8LTHgDb8JTrHgMToLf8HgvLnLnoHnHn3HT4Hn6MgvAnJTJU8ScvJT3AaQT8JT8HTrAnJXrRg8AnJbAloMXoJbrATFToJbvMnoSnJgDb6GgvJgDb8MXoJgSX3JU8JguATFToJlPYLnQlJlQkDnLbJlQlFYJlJl8Lf8OTJnCTFnLbJnLTHXMnJnLXGXCnJnoFfRg3JnrMYRg3Jn3HgFl3KT8Dg8LnLTRlFnPTLTvPbLbvLVoSbrCZLXMY6HT3LXNU7DlrLXNXDTATLX8DX8LnLZDb8JU8LZMnoLhrLZSToJU8LZrLaLnrLZvJn3SnLZ8LhrSnLaJnoMT8LbFlrHTvLbrFTLnrLbvATLlvLb6OTFn3LcLnJZOlLeAT6Mn4LeJT3ObrLg6LXFlrLhrJg8LnLhvDlPX4LhvLfLnvLj6JTFT3LnFbrMXoLnQluCTvLnrQXCY6LnvLfLnvLnvMgLnvLnvSeLf8MTMbrJn3MT3JgST3MT8AnATrMT8LULnrMUMToCZrMUScvLf8MXoDT8SnMX6ATFToMX8AXMT8MX8FkMT8MX8HTrDUMX8ScoSnMYJT6CTvMgAcrMXoMg8SToAfMlvAXLg3MnFl3AnvOT3AnFl3OUoATHT8OU3RnLXrOXrOXrSnObPbvFn6Og8HgrSnOg8OX8DbPTvAgoJgPU3RYLnrPXrDnJZrPb8CTGgvPlrLTDlvPlvFUJnoQUvFXrQlQeMnoAl3QlrQlrSnRTFTrJUoSTDlLiLXSTFg6HT3STJgoMn4STrFTJTrSTrLZFl3ST4FnMXoSUrDlHUoScvHTvSnSfLkvMXo","AUoAcrMXoAZ8HboAg8AbOg6ATFgAg8AloMXoAl3AT8JTrAl8MX8MXoCT3SToJU8Cl8Db8MXoDT8HgrATrDboOT8MXoGTOTrATMnGT8LhrAZ8GnvFnGnQXHToGgvAcrHTvAXvLl3HbrAZoMXoHgBlFXLg3HgMnFXrSnHgrSb8JUoHn6HT8LgvITvATrJUoJUoLZrRnvJU8HT8Jb8JXvFX8QT8JXvLToJTrJYrQnGnQXJgrJnoATrJnoJU8ScvJnvMnvMXoLTCTLgrJXLTJlRTvQlLbRnJlQYvLbrMb8LnvLbvFn3RnoLdCVSTGZrLeSTvGXCnLg3MnoLn3MToLlrETvMT8SToAl3MbrDU6GTvMb8LX4LhrPlrLXGXCnSToLf8Rg3STrDb8LTrSTvLTHXMnSb3RYLnMnSgOg6ATFg","HUDlGnrQXrJTrHgLnrAcJYMb8DULc8LTvFgGnCk3Mg8JbAnLX4QYvFYHnMXrRUoJnGnvFnRlvFTJlQnoSTrBXHXrLYSUJgLfoMT8Se8DTrHbDb","AbDl8SToJU8An3RbAb8ST8DUSTrGnrAgoLbFU6Db8LTrMg8AaHT8Jb8ObDl8SToJU8Pb3RlvFYoJl"];var c=null;function u(e){if(null==c&&(c=[],s.forEach((function(e,t){t+=4;for(var r=0;r=40?i=i+168-40:i>=19&&(i=i+97-19),(0,o.toUtf8String)([225,132+(i>>6),128+(63&i)]));c.push(a)}var i})),c.sort(),"0xf9eddeace9c5d3da9c93cf7d3cd38f6a13ed3affb933259ae865714e8a3ae71a"!==i.Wordlist.check(e)))throw c=null,new Error("BIP39 Wordlist for ko (Korean) FAILED")}var l=new(function(e){function t(){return e.call(this,"ko")||this}return n(t,e),t.prototype.getWord=function(e){return u(this),c[e]},t.prototype.getWordIndex=function(e){return u(this),c.indexOf(e)},t}(i.Wordlist));r.langKo=l,i.Wordlist.register(l)}}},{package:"@ethersproject/hdnode>@ethersproject/wordlists",file:"node_modules/@ethersproject/wordlists/lib/lang-ko.js"}],[565,{"./wordlist":566,"@ethersproject/strings":547},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var a,n=this&&this.__extends||(a=function(e,t){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},a(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.langZhTw=r.langZhCn=void 0;var o=e("@ethersproject/strings"),i=e("./wordlist"),s="}aE#4A=Yv&co#4N#6G=cJ&SM#66|/Z#4t&kn~46#4K~4q%b9=IR#7l,mB#7W_X2*dl}Uo~7s}Uf&Iw#9c&cw~6O&H6&wx&IG%v5=IQ~8a&Pv#47$PR&50%Ko&QM&3l#5f,D9#4L|/H&tQ;v0~6n]nN>2),128+l.indexOf(s[3*r+1]),128+l.indexOf(s[3*r+2])];if("zh_tw"===e.locale)for(var d=a%4;d<3;d++)n[d]=l.indexOf("FAZDC6BALcLZCA+GBARCW8wNCcDDZ8LVFBOqqDUiou+M42TFAyERXFb7EjhP+vmBFpFrUpfDV2F7eB+eCltCHJFWLFCED+pWTojEIHFXc3aFn4F68zqjEuKidS1QBVPDEhE7NA4mhMF7oThD49ot3FgtzHFCK0acW1x8DH1EmLoIlrWFBLE+y5+NA3Cx65wJHTaEZVaK1mWAmPGxgYCdxwOjTDIt/faOEhTl1vqNsKtJCOhJWuio2g07KLZEQsFBUpNtwEByBgxFslFheFbiEPvi61msDvApxCzB6rBCzox7joYA5UdDc+Cb4FSgIabpXFAj3bjkmFAxCZE+mD/SFf/0ELecYCt3nLoxC6WEZf2tKDB4oZvrEmqFkKk7BwILA7gtYBpsTq//D4jD0F0wEB9pyQ1BD5Ba0oYHDI+sbDFhvrHXdDHfgFEIJLi5r8qercNFBgFLC4bo5ERJtamWBDFy73KCEb6M8VpmEt330ygCTK58EIIFkYgF84gtGA9Uyh3m68iVrFbWFbcbqiCYHZ9J1jeRPbL8yswhMiDbhEhdNoSwFbZrLT740ABEqgCkO8J1BLd1VhKKR4sD1yUo0z+FF59Mvg71CFbyEhbHSFBKEIKyoQNgQppq9T0KAqePu0ZFGrXOHdKJqkoTFhYvpDNyuuznrN84thJbsCoO6Cu6Xlvntvy0QYuAExQEYtTUBf3CoCqwgGFZ4u1HJFzDVwEy3cjcpV4QvsPaBC3rCGyCF23o4K3pp2gberGgFEJEHo4nHICtyKH2ZqyxhN05KBBJIQlKh/Oujv/DH32VrlqFdIFC7Fz9Ct4kaqFME0UETLprnN9kfy+kFmtQBB0+5CFu0N9Ij8l/VvJDh2oq3hT6EzjTHKFN7ZjZwoTsAZ4Exsko6Fpa6WC+sduz8jyrLpegTv2h1EBeYpLpm2czQW0KoCcS0bCVXCmuWJDBjN1nQNLdF58SFJ0h7i3pC3oEOKy/FjBklL70XvBEEIWp2yZ04xObzAWDDJG7f+DbqBEA7LyiR95j7MDVdDViz2RE5vWlBMv5e4+VfhP3aXNPhvLSynb9O2x4uFBV+3jqu6d5pCG28/sETByvmu/+IJ0L3wb4rj9DNOLBF6XPIODr4L19U9RRofAG6Nxydi8Bki8BhGJbBAJKzbJxkZSlF9Q2Cu8oKqggB9hBArwLLqEBWEtFowy8XK8bEyw9snT+BeyFk1ZCSrdmgfEwFePTgCjELBEnIbjaDDPJm36rG9pztcEzT8dGk23SBhXBB1H4z+OWze0ooFzz8pDBYFvp9j9tvFByf9y4EFdVnz026CGR5qMr7fxMHN8UUdlyJAzlTBDRC28k+L4FB8078ljyD91tUj1ocnTs8vdEf7znbzm+GIjEZnoZE5rnLL700Xc7yHfz05nWxy03vBB9YGHYOWxgMQGBCR24CVYNE1hpfKxN0zKnfJDmmMgMmBWqNbjfSyFCBWSCGCgR8yFXiHyEj+VtD1FB3FpC1zI0kFbzifiKTLm9yq5zFmur+q8FHqjoOBWsBPiDbnCC2ErunV6cJ6TygXFYHYp7MKN9RUlSIS8/xBAGYLzeqUnBF4QbsTuUkUqGs6CaiDWKWjQK9EJkjpkTmNCPYXL"[t++])+(0==d?228:128);c[e.locale].push((0,o.toUtf8String)(n))}if(i.Wordlist.check(e)!==u[e.locale])throw c[e.locale]=null,new Error("BIP39 Wordlist for "+e.locale+" (Chinese) FAILED")}}var g=function(e){function t(t){return e.call(this,"zh_"+t)||this}return n(t,e),t.prototype.getWord=function(e){return d(this),c[this.locale][e]},t.prototype.getWordIndex=function(e){return d(this),c[this.locale].indexOf(e)},t.prototype.split=function(e){return(e=e.replace(/(?:\u3000| )+/g,"")).split("")},t}(i.Wordlist),p=new g("cn");r.langZhCn=p,i.Wordlist.register(p),i.Wordlist.register(p,"zh");var m=new g("tw");r.langZhTw=m,i.Wordlist.register(m)}}},{package:"@ethersproject/hdnode>@ethersproject/wordlists",file:"node_modules/@ethersproject/wordlists/lib/lang-zh.js"}],[566,{"./_version":556,"@ethersproject/hash":489,"@ethersproject/logger":504,"@ethersproject/properties":510},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.Wordlist=r.logger=void 0;var a=e("@ethersproject/hash"),n=e("@ethersproject/properties"),o=e("@ethersproject/logger"),i=e("./_version");r.logger=new o.Logger(i.version);var s=function(){function e(t){var a=this.constructor;r.logger.checkAbstract(a,e),(0,n.defineReadOnly)(this,"locale",t)}return e.prototype.split=function(e){return e.toLowerCase().split(/ +/g)},e.prototype.join=function(e){return e.join(" ")},e.check=function(e){for(var t=[],r=0;r<2048;r++){var n=e.getWord(r);if(r!==e.getWordIndex(n))return"0x";t.push(n)}return(0,a.id)(t.join("\n")+"\n")},e.register=function(e,t){t||(t=e.locale)},e}();r.Wordlist=s}}},{package:"@ethersproject/hdnode>@ethersproject/wordlists",file:"node_modules/@ethersproject/wordlists/lib/wordlist.js"}],[5665,{"../../../components/component-library":4955,"../../../helpers/constants/design-system":5355,"./util":5684,"@metamask/controller-utils":1163},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.ResultTemplate=void 0;var a=e("@metamask/controller-utils"),n=e("../../../components/component-library"),o=e("../../../helpers/constants/design-system"),i=e("./util");function s(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function c(e,t,r){return function(e,t,r){if(t.set)t.set.call(e,r);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=r}}(e,u(e,t,"set"),r),r}function u(e,t,r){if(!t.has(e))throw new TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}var l=new WeakMap,d=new WeakSet;function g(e,t){const{error:r,header:s,icon:c,message:d,title:g}=e,p=function(e,t){return t.get?t.get.call(e):t.value}(m=this,u(m,l,"get"))===a.ApprovalType.ResultSuccess;var m;return[...(0,i.processHeader)(s)??[],{key:"container",element:"Box",props:{flexDirection:o.FlexDirection.Column,alignItems:o.AlignItems.center,height:o.BlockSize.Full,padding:4},children:[{key:"content",element:"Box",props:{flexDirection:o.FlexDirection.Column,alignItems:o.AlignItems.center,justifyContent:o.JustifyContent.center,height:o.BlockSize.Full,style:{alignSelf:o.AlignItems.stretch}},children:[null===c?undefined:{key:"icon",element:"AvatarIcon",props:{iconName:c??(p?n.IconName.Confirmation:n.IconName.Warning),size:n.IconSize.Xl,iconProps:{size:n.IconSize.Xl},color:p?o.IconColor.successDefault:o.IconColor.errorDefault,backgroundColor:p?o.BackgroundColor.successMuted:o.BackgroundColor.errorMuted},children:"Icon"},null===g?undefined:{key:"title",element:"Typography",props:{variant:o.TypographyVariant.H3,fontWeight:o.FontWeight.Bold},children:g??t(p?"resultPageSuccess":"resultPageError")},{key:"message",element:"Box",props:{alignItems:o.AlignItems.center,textAlign:o.TextAlign.Center,flexDirection:o.FlexDirection.Column,width:o.BlockSize.Full},children:p?(0,i.processString)(d,t("resultPageSuccessDefaultMessage")):(0,i.processError)(r,t("resultPageErrorDefaultMessage"))}]}]}]}r.ResultTemplate=class{constructor(e){var t,r;s(t=this,r=d),r.add(t),function(e,t,r){s(e,t),t.set(e,r)}(this,l,{writable:!0,value:void 0}),c(this,l,e)}getValues(e,t,r){return{content:function(e,t,r){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return r}(this,d,g).call(this,e.requestData||{},t),submitText:t("ok"),onSubmit:()=>r.resolvePendingApproval(e.id,e.requestData),networkDisplay:!1}}}}}},{package:"$root$",file:"ui/pages/confirmations/confirmation/ResultTemplate.ts"}],[567,{"./lang-cz":558,"./lang-en":559,"./lang-es":560,"./lang-fr":561,"./lang-it":562,"./lang-ja":563,"./lang-ko":564,"./lang-zh":565},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.wordlists=void 0;var a=e("./lang-cz"),n=e("./lang-en"),o=e("./lang-es"),i=e("./lang-fr"),s=e("./lang-ja"),c=e("./lang-ko"),u=e("./lang-it"),l=e("./lang-zh");r.wordlists={cz:a.langCz,en:n.langEn,es:o.langEs,fr:i.langFr,it:u.langIt,ja:s.langJa,ko:c.langKo,zh:l.langZhCn,zh_cn:l.langZhCn,zh_tw:l.langZhTw}}}},{package:"@ethersproject/hdnode>@ethersproject/wordlists",file:"node_modules/@ethersproject/wordlists/lib/wordlists.js"}],[5672,{"../../../../../shared/constants/network":4507,"../../../../../shared/modules/rpc.utils":4551,"../../../../helpers/constants/design-system":5355,"../../../../helpers/constants/routes":5361,"../../../../helpers/constants/zendesk-url":5368,"eth-rpc-errors":3257,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var a=e("eth-rpc-errors"),n=l(e("react")),o=e("../../../../../shared/constants/network"),i=e("../../../../helpers/constants/design-system"),s=e("../../../../helpers/constants/routes"),c=l(e("../../../../helpers/constants/zendesk-url")),u=e("../../../../../shared/modules/rpc.utils");function l(e){return e&&e.__esModule?e:{default:e}}const d={id:"UNRECOGNIZED_CHAIN",severity:i.Severity.Warning,content:{element:"span",children:{element:"MetaMaskTranslation",props:{translationKey:"unrecognizedChain"}}}},g={id:"SAFE_CHAIN_LIST_PROVIDER_ERROR",severity:i.Severity.Warning,content:{element:"span",children:{element:"MetaMaskTranslation",props:{translationKey:"errorGettingSafeChainList"}}}},p={id:"MISMATCHED_CHAIN_RECOMMENDATION",severity:i.Severity.Warning,content:{element:"span",children:{element:"MetaMaskTranslation",props:{translationKey:"mismatchedChainRecommendation",variables:[{element:"a",key:"mismatchedChainLink",props:{href:c.default.VERIFY_CUSTOM_NETWORK,target:"__blank",tabIndex:0},children:{element:"MetaMaskTranslation",props:{translationKey:"mismatchedChainLinkText"}}}]}}}},m={id:"MISMATCHED_NETWORK_NAME",severity:i.Severity.Warning,content:{element:"span",children:{element:"MetaMaskTranslation",props:{translationKey:"mismatchedNetworkName"}}}},h={id:"MISMATCHED_NETWORK_SYMBOL",severity:i.Severity.Danger,content:{element:"span",children:{element:"MetaMaskTranslation",props:{translationKey:"mismatchedNetworkSymbol"}}}},T={id:"MISMATCHED_NETWORK_RPC",severity:i.Severity.Danger,content:{element:"span",children:{element:"MetaMaskTranslation",props:{translationKey:"mismatchedRpcUrl"}}}},f={id:"MISMATCHED_NETWORK_RPC_CHAIN_ID",severity:i.Severity.Danger,content:{element:"span",children:{element:"MetaMaskTranslation",props:{translationKey:"mismatchedRpcChainId"}}}},S={id:"ERROR_CONNECTING_TO_RPC",severity:i.Severity.Danger,content:{element:"span",children:{element:"MetaMaskTranslation",props:{translationKey:"errorWhileConnectingToRPC"}}}};const A={getAlerts:async function(e,t){const r=[];if("metamask"===e.origin&&Boolean(t.matchedChain))return[];if(t.matchedChain){var a,n,o,i;(null===(a=t.matchedChain.name)||void 0===a?void 0:a.toLowerCase())!==e.requestData.chainName.toLowerCase()&&r.push(m),(null===(n=t.matchedChain.nativeCurrency)||void 0===n||null===(n=n.symbol)||void 0===n?void 0:n.toLowerCase())!==(null===(o=e.requestData.ticker)||void 0===o?void 0:o.toLowerCase())&&r.push(h);const{origin:s}=new URL(e.requestData.rpcUrl);null!==(i=t.matchedChain.rpc)&&void 0!==i&&i.map((e=>new URL(e).origin)).includes(s)||r.push(T)}return!t.matchedChain&&t.useSafeChainsListValidation&&(t.providerError?r.push(g):r.push(d)),r.length&&r.push(p),r},getValues:function(e,t,r,l,d){var g;const p="metamask"===e.origin,m=e.requestData.rpcUrl;return{content:[{hide:!p,element:"Box",key:"network-box",props:{textAlign:i.TextAlign.Center,display:i.Display.Flex,justifyContent:i.JustifyContent.center,marginTop:4,marginBottom:2},children:[{element:"Chip",key:"network-chip",props:{label:e.requestData.chainName,backgroundColor:i.BackgroundColor.backgroundAlternative,leftIconUrl:e.requestData.imageUrl}}]},{element:"Typography",key:"title",children:t(p?"wantToAddThisNetwork":"addEthereumChainConfirmationTitle"),props:{variant:i.TypographyVariant.H3,align:"center",fontWeight:"bold",boxProps:{margin:[0,0,4]}}},{element:"Typography",key:"description",children:t("addEthereumChainConfirmationDescription"),props:{variant:i.TypographyVariant.H7,align:"center",boxProps:{margin:p?[0,8,4]:[0,0,4]}}},{element:"Typography",key:"only-add-networks-you-trust",children:[{element:"b",key:"bolded-text",props:{style:{display:p&&"-webkit-box"}},children:[`${t("addEthereumChainConfirmationRisks")} `,{hide:!p,element:"Tooltip",key:"tooltip-info",props:{position:"bottom",interactive:!0,trigger:"mouseenter",html:n.default.createElement("div",{style:{width:"180px",margin:"16px",textAlign:"left"}},t("someNetworksMayPoseSecurity")," ",n.default.createElement("a",{key:"zendesk_page_link",href:c.default.UNKNOWN_NETWORK,rel:"noreferrer",target:"_blank",style:{color:"var(--color-primary-default)"}},t("learnMoreUpperCase")))},children:[{element:"i",key:"info-circle",props:{className:"fas fa-info-circle",style:{marginLeft:"4px",color:"var(--color-icon-default)"}}}]}]},{element:"MetaMaskTranslation",key:"learn-about-risks",props:{translationKey:"addEthereumChainConfirmationRisksLearnMore",variables:[{element:"a",children:t("addEthereumChainConfirmationRisksLearnMoreLink"),key:"addEthereumChainConfirmationRisksLearnMoreLink",props:{href:c.default.USER_GUIDE_CUSTOM_NETWORKS,target:"__blank"}}]}}],props:{variant:i.TypographyVariant.H7,boxProps:{margin:p?[0,8]:0,display:i.Display.Flex,flexDirection:i.FlexDirection.Column,alignItems:i.AlignItems.center}}},{element:"TruncatedDefinitionList",key:"network-details",props:{title:t("networkDetails"),tooltips:{[t("networkName")]:t("networkNameDefinition"),[t("networkURL")]:t("networkURLDefinition"),[t("chainId")]:t("chainIdDefinition"),[t("currencySymbol")]:t("currencySymbolDefinition"),[t("blockExplorerUrl")]:t("blockExplorerUrlDefinition")},warnings:{[t("currencySymbol")]:d.currencySymbolWarning},dictionary:{[t("networkName")]:e.requestData.chainName,[t("networkURL")]:null!==(g=e.requestData.rpcUrl.toLowerCase())&&void 0!==g&&g.includes(`/v3/${o.infuraProjectId}`)?e.requestData.rpcUrl.replace(`/v3/${o.infuraProjectId}`,"").toLowerCase():e.requestData.rpcUrl.toLowerCase(),[t("chainId")]:parseInt(e.requestData.chainId,16),[t("currencySymbol")]:e.requestData.ticker,[t("blockExplorerUrl")]:e.requestData.rpcPrefs.blockExplorerUrl},prefaceKeys:[t("networkName"),t("networkURL"),t("chainId"),t("currencySymbol")]}}],cancelText:t("cancel"),submitText:t("approveButtonText"),loadingText:t("addingCustomNetwork"),onSubmit:async()=>{let t;try{t=await(0,u.jsonRpcRequest)(m,"eth_chainId")}catch(e){return console.error(`Request for method 'eth_chainId on ${m} failed`),[S]}if(e.requestData.chainId!==t)return console.error(`Chain ID returned by RPC URL ${m} does not match ${t}`),[f];if(await r.resolvePendingApproval(e.id,e.requestData),p){const t=await r.upsertNetworkConfiguration({...e.requestData,nickname:e.requestData.chainName},{setActive:!1,source:e.requestData.source});await r.setNewNetworkAdded({networkConfigurationId:t,nickname:e.requestData.chainName}),l.push(s.DEFAULT_ROUTE)}return[]},onCancel:()=>r.rejectPendingApproval(e.id,a.ethErrors.provider.userRejectedRequest().serialize()),networkDisplay:!p}},getState:function(e){return 1===parseInt(e.requestData.chainId,16)?{useWarningModal:!0}:{}}};r.default=A}}},{package:"$root$",file:"ui/pages/confirmations/confirmation/templates/add-ethereum-chain.js"}],[5673,{"../../../../../shared/constants/metametrics":4505},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var a=e("../../../../../shared/constants/metametrics");const n={getValues:function(e,t,r,n,o,i){const{origin:s,snapName:c}=e,{trackEvent:u}=i,l=e=>{u({event:e,category:a.MetaMetricsEventCategory.Accounts,properties:{account_type:a.MetaMetricsEventAccountType.Snap,snap_id:s,snap_name:c}})};return{content:[{element:"CreateSnapAccount",key:"create-snap-account",props:{snapId:s,snapName:c}}],cancelText:t("cancel"),submitText:t("create"),onLoad:()=>l(a.MetaMetricsEventName.AddSnapAccountViewed),onSubmit:()=>{l(a.MetaMetricsEventName.AddSnapAccountConfirmed),r.resolvePendingApproval(e.id,!0)},onCancel:()=>{l(a.MetaMetricsEventName.AddSnapAccountCanceled),r.resolvePendingApproval(e.id,!1)}}}};r.default=n}}},{package:"$root$",file:"ui/pages/confirmations/confirmation/templates/create-snap-account.js"}],[5674,{"../ResultTemplate":5665,"@metamask/controller-utils":1163},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var a=e("@metamask/controller-utils");const n=new(e("../ResultTemplate").ResultTemplate)(a.ApprovalType.ResultError),o={getValues:n.getValues.bind(n)};r.default=o}}},{package:"$root$",file:"ui/pages/confirmations/confirmation/templates/error.js"}],[5675,{"../../../../../shared/constants/app":4493,"../../../../store/actions":5998,"./add-ethereum-chain":5672,"./create-snap-account":5673,"./error":5674,"./remove-snap-account":5676,"./smart-transaction-status-page":5677,"./snap-account-redirect":5678,"./snaps/snap-alert/snap-alert":5679,"./snaps/snap-confirmation/snap-confirmation":5680,"./snaps/snap-prompt/snap-prompt":5681,"./success":5682,"./switch-ethereum-chain":5683,"@metamask/controller-utils":1163,lodash:3836},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.TEMPLATED_CONFIRMATION_APPROVAL_TYPES=r.PRIORITY_APPROVAL_TEMPLATE_TYPES=void 0,r.getTemplateAlerts=async function(e,t){var r;const a=null===(r=A[e.type])||void 0===r?void 0:r.getAlerts,n=a?await a(e,t):[];if(!Array.isArray(n))throw new Error(`Template alerts must be an array, received: ${n}`);if(n.some((e=>(null==e?void 0:e.id)===undefined)))throw new Error(`Template alert entries must be objects with an id key. Received: ${n}`);return n},r.getTemplateState=async function(e){var t;const r=(null===(t=A[e.type])||void 0===t?void 0:t.getState)??v,a=await r(e);if("object"!=typeof a||Array.isArray(a))throw new Error(`Template state must be an object, received: ${a}`);if(null===a||a===undefined)return{};return a},r.getTemplateValues=function(e,t,r,n,i,s){var c;const u=null===(c=A[e.type])||void 0===c?void 0:c.getValues;if(!u)throw new Error(`MESSAGE_TYPE: '${e.type}' is not specified in approval templates`);const l=function(e){return{rejectPendingApproval:(...t)=>e((0,o.rejectPendingApproval)(...t)),resolvePendingApproval:(...t)=>e((0,o.resolvePendingApproval)(...t)),upsertNetworkConfiguration:(...t)=>e((0,o.upsertNetworkConfiguration)(...t)),setNewNetworkAdded:(...t)=>e((0,o.setNewNetworkAdded)(...t)),deleteInterface:(...t)=>e((0,o.deleteInterface)(...t))}}(r),d=u(e,t,l,n,i,s),g=(0,a.omit)(d,y),p=(0,a.pick)(d,y);if(g.length>0)throw new Error(`Received extraneous keys from ${e.type}.getValues. These keys are not passed to the confirmation page: ${Object.keys(g)}`);return p};var a=e("lodash"),n=e("@metamask/controller-utils"),o=e("../../../../store/actions"),i=e("../../../../../shared/constants/app"),s=S(e("./smart-transaction-status-page")),c=S(e("./create-snap-account")),u=S(e("./remove-snap-account")),l=S(e("./snap-account-redirect")),d=S(e("./add-ethereum-chain")),g=S(e("./switch-ethereum-chain")),p=S(e("./success")),m=S(e("./error")),h=S(e("./snaps/snap-alert/snap-alert")),T=S(e("./snaps/snap-confirmation/snap-confirmation")),f=S(e("./snaps/snap-prompt/snap-prompt"));function S(e){return e&&e.__esModule?e:{default:e}}r.PRIORITY_APPROVAL_TEMPLATE_TYPES=[i.SMART_TRANSACTION_CONFIRMATION_TYPES.showSmartTransactionStatusPage];const A={[n.ApprovalType.AddEthereumChain]:d.default,[n.ApprovalType.SwitchEthereumChain]:g.default,[n.ApprovalType.ResultSuccess]:p.default,[n.ApprovalType.ResultError]:m.default,[i.SMART_TRANSACTION_CONFIRMATION_TYPES.showSmartTransactionStatusPage]:s.default,[n.ApprovalType.SnapDialogAlert]:h.default,[n.ApprovalType.SnapDialogConfirmation]:T.default,[n.ApprovalType.SnapDialogPrompt]:f.default,[i.SNAP_MANAGE_ACCOUNTS_CONFIRMATION_TYPES.confirmAccountCreation]:c.default,[i.SNAP_MANAGE_ACCOUNTS_CONFIRMATION_TYPES.confirmAccountRemoval]:u.default,[i.SNAP_MANAGE_ACCOUNTS_CONFIRMATION_TYPES.showSnapAccountRedirect]:l.default},y=(r.TEMPLATED_CONFIRMATION_APPROVAL_TYPES=Object.keys(A),["cancelText","content","onLoad","onCancel","onSubmit","networkDisplay","submitText","loadingText","hideSubmitButton"]);async function v(){return{}}}}},{package:"$root$",file:"ui/pages/confirmations/confirmation/templates/index.js"}],[5676,{"../../../../../shared/constants/metametrics":4505},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var a=e("../../../../../shared/constants/metametrics");const n={getValues:function(e,t,r,n,o,i){const{origin:s,snapName:c}=e,{publicAddress:u}=e.requestData,{trackEvent:l}=i,d=e=>{l({event:e,category:a.MetaMetricsEventCategory.Accounts,properties:{account_type:a.MetaMetricsEventAccountType.Snap,snap_id:s,snap_name:c}})};return{content:[{element:"RemoveSnapAccount",key:"remove-snap-account",props:{snapId:s,snapName:c,publicAddress:u}}],cancelText:t("cancel"),submitText:t("remove"),onLoad:()=>d(a.MetaMetricsEventName.RemoveSnapAccountViewed),onSubmit:()=>{d(a.MetaMetricsEventName.RemoveSnapAccountConfirmed),r.resolvePendingApproval(e.id,!0)},onCancel:()=>{d(a.MetaMetricsEventName.RemoveSnapAccountCanceled),r.resolvePendingApproval(e.id,!1)}}}};r.default=n}}},{package:"$root$",file:"ui/pages/confirmations/confirmation/templates/remove-snap-account.js"}],[5677,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;const a={getValues:function(e,t,r,a){const{id:n,requestState:o}=e;return{content:[{element:"SmartTransactionStatusPage",key:"smart-transaction-status-page",props:{requestState:o,onCloseExtension:()=>{r.resolvePendingApproval(n,!0)},onViewActivity:()=>{r.resolvePendingApproval(n,!0)}}}],hideSubmitButton:!0}}};r.default=a}}},{package:"$root$",file:"ui/pages/confirmations/confirmation/templates/smart-transaction-status-page.js"}],[5678,{"../../../../../shared/constants/metametrics":4505},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var a=e("../../../../../shared/constants/metametrics");const n={getValues:function(e,t,r,n,o,i){const{origin:s,snapName:c}=e,{url:u,message:l,isBlockedUrl:d}=e.requestData,{trackEvent:g}=i,p=e=>{g({event:e,category:a.MetaMetricsEventCategory.Transactions,properties:{account_type:a.MetaMetricsEventAccountType.Snap,snap_id:s,snap_name:c}})},m=a=>u!==undefined&&null!==u&&u.length>0&&!1===d?{submitText:t("goToSite"),onSubmit:()=>{p(a),r.resolvePendingApproval(e.id,!0)}}:{};return{content:[{element:"SnapAccountRedirect",key:"snap-account-redirect",props:{url:u,message:l,snapId:s,snapName:c,isBlockedUrl:d,...m(a.MetaMetricsEventName.SnapAccountTransactionFinalizeRedirectSnapUrlClicked)}}],cancelText:t("close"),onLoad:()=>p(a.MetaMetricsEventName.SnapAccountTransactionFinalizeViewed),onCancel:()=>{p(a.MetaMetricsEventName.SnapAccountTransactionFinalizeClosed),r.resolvePendingApproval(e.id,!1)},...m(a.MetaMetricsEventName.SnapAccountTransactionFinalizeRedirectGoToSiteClicked)}}};r.default=n}}},{package:"$root$",file:"ui/pages/confirmations/confirmation/templates/snap-account-redirect.js"}],[5679,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;const a={getValues:function(e,t,r){const{requestData:{id:a}}=e;return{submitText:t("ok").toUpperCase(),onSubmit:()=>{r.resolvePendingApproval(e.id,null),r.deleteInterface(a)}}}};r.default=a}}},{package:"$root$",file:"ui/pages/confirmations/confirmation/templates/snaps/snap-alert/snap-alert.js"}],[5680,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;const a={getValues:function(e,t,r){const{requestData:{id:a}}=e;return{cancelText:t("reject"),submitText:t("approveButtonText"),onSubmit:()=>{r.resolvePendingApproval(e.id,!0),r.deleteInterface(a)},onCancel:()=>{r.resolvePendingApproval(e.id,!1),r.deleteInterface(a)}}}};r.default=a}}},{package:"$root$",file:"ui/pages/confirmations/confirmation/templates/snaps/snap-confirmation/snap-confirmation.js"}],[5681,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;const a={getValues:function(e,t,r){const{requestData:{id:a}}=e;return{cancelText:t("cancel"),submitText:t("submit"),onSubmit:t=>{r.resolvePendingApproval(e.id,t),r.deleteInterface(a)},onCancel:()=>{r.resolvePendingApproval(e.id,null),r.deleteInterface(a)}}}};r.default=a}}},{package:"$root$",file:"ui/pages/confirmations/confirmation/templates/snaps/snap-prompt/snap-prompt.js"}],[5682,{"../ResultTemplate":5665,"@metamask/controller-utils":1163},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var a=e("@metamask/controller-utils");const n=new(e("../ResultTemplate").ResultTemplate)(a.ApprovalType.ResultSuccess),o={getValues:n.getValues.bind(n)};r.default=o}}},{package:"$root$",file:"ui/pages/confirmations/confirmation/templates/success.js"}],[5683,{"../../../../helpers/constants/design-system":5355,"eth-rpc-errors":3257},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var a=e("eth-rpc-errors"),n=e("../../../../helpers/constants/design-system");const o={id:"PENDING_TX_DROP_NOTICE",severity:n.SEVERITIES.WARNING,content:{element:"span",children:{element:"MetaMaskTranslation",props:{translationKey:"switchingNetworksCancelsPendingConfirmations"}}}};const i={getAlerts:async function(e,t){const r=[];return t.unapprovedTxsCount>0&&r.push(o),r},getValues:function(e,t,r){return{content:[{element:"Typography",key:"title",children:t("switchEthereumChainConfirmationTitle"),props:{variant:n.TypographyVariant.H3,align:"center",fontWeight:"normal",boxProps:{margin:[0,0,2],padding:[0,4,0,4]}}},{element:"Typography",key:"description",children:t("switchEthereumChainConfirmationDescription"),props:{variant:n.TypographyVariant.H7,color:n.TextColor.textAlternative,align:"center",boxProps:{padding:[0,4,0,4]}}},{element:"Box",key:"status-box",props:{justifyContent:n.JustifyContent.center},children:{element:"ConfirmationNetworkSwitch",key:"network-being-switched",props:{toNetwork:e.requestData.toNetworkConfiguration,fromNetwork:e.requestData.fromNetworkConfiguration}}}],cancelText:t("cancel"),submitText:t("switchNetwork"),onSubmit:()=>r.resolvePendingApproval(e.id,e.requestData.toNetworkConfiguration),onCancel:()=>r.rejectPendingApproval(e.id,a.ethErrors.provider.userRejectedRequest().serialize()),networkDisplay:!0}}};r.default=i}}},{package:"$root$",file:"ui/pages/confirmations/confirmation/templates/switch-ethereum-chain.js"}],[5684,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){function a(e){return e===undefined?undefined:"string"==typeof e?e:Array.isArray(e)?e.map(a):{key:e.key,element:e.name,props:e.properties,children:a(e.children)}}Object.defineProperty(r,"__esModule",{value:!0}),r.processError=function(e,t){const r=a(e)||t;if("string"!=typeof r)return r;return{key:"error",element:"ActionableMessage",props:{type:"danger",message:r}}},r.processHeader=function(e){return a(e)},r.processString=function(e,t){const r=a(e)||t;if("string"!=typeof r)return r;return n=r,function(e,t,r){let a=0,n=0;const o=Array.from(e.matchAll(t)),i=[];for(const t of o){const o=e.substring(a,t.index);o.length&&i.push(o);const s=r(t[1],n);i.push(s),a=t.index+t[0].length,n+=1}const s=e.substring(a);return s.length&&i.push(s),i}(n,/\*\*(.+?)\*\*/gu,((e,t)=>({key:`bold-${t}`,element:"b",children:e})));var n}}}},{package:"$root$",file:"ui/pages/confirmations/confirmation/util.ts"}],[5716,{"../../../selectors/approvals":5983,"../utils":5725,"@metamask/controller-utils":1163},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.currentSignatureRequestSecurityResponseSelector=r.currentConfirmationSelector=r.confirmSelector=void 0,r.latestPendingConfirmationSelector=function(e){return s(e).sort(((e,t)=>t.time-e.time))[0]},r.pendingConfirmationsSelector=s,r.pendingConfirmationsSortedSelector=function(e){return(0,n.getPendingApprovals)(e).filter((({type:e})=>i.includes(e))).sort(((e,t)=>e.time-t.time))};var a=e("@metamask/controller-utils"),n=e("../../../selectors/approvals"),o=e("../utils");const i=[a.ApprovalType.EthSign,a.ApprovalType.PersonalSign,a.ApprovalType.EthSignTypedData,a.ApprovalType.Transaction];function s(e){return(0,n.getPendingApprovals)(e).filter((({type:e})=>i.includes(e)))}r.confirmSelector=e=>e.confirm;const c=e=>e.confirm.currentConfirmation;r.currentConfirmationSelector=c;r.currentSignatureRequestSecurityResponseSelector=e=>{var t,r;const a=c(e);if(!a||!(0,o.isSignatureTransactionType)(a))return undefined;const n=null==a||null===(t=a.securityAlertResponse)||void 0===t?void 0:t.securityAlertId;return null===(r=e.metamask.signatureSecurityAlertResponses)||void 0===r?void 0:r[n]}}}},{package:"$root$",file:"ui/pages/confirmations/selectors/confirm.ts"}],[5721,{"../../../../shared/constants/common":4495,"../../../../shared/constants/gas":4500,"../../../../shared/modules/Numeric":4533},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.TOKEN_TRANSFER_FUNCTION_SIGNATURE=r.SWAPS_QUOTES_ERROR=r.SWAPS_NO_QUOTES=r.REQUIRED_ERROR=r.RECIPIENT_TYPES=r.NO_RESOLUTION_FOR_DOMAIN=r.NFT_TRANSFER_FROM_FUNCTION_SIGNATURE=r.NFT_SAFE_TRANSFER_FROM_FUNCTION_SIGNATURE=r.NEGATIVE_OR_ZERO_AMOUNT_TOKENS_ERROR=r.NEGATIVE_ETH_ERROR=r.MIN_GAS_TOTAL=r.MIN_GAS_PRICE_HEX=r.MIN_GAS_PRICE_GWEI=r.MIN_GAS_PRICE_DEC=r.MIN_GAS_LIMIT_DEC=r.MAX_GAS_LIMIT_DEC=r.KNOWN_RECIPIENT_ADDRESS_WARNING=r.INVALID_RECIPIENT_ADDRESS_NOT_ETH_NETWORK_ERROR=r.INVALID_RECIPIENT_ADDRESS_ERROR=r.INSUFFICIENT_TOKENS_ERROR=r.INSUFFICIENT_FUNDS_FOR_GAS_ERROR=r.INSUFFICIENT_FUNDS_ERROR=r.HIGH_FEE_WARNING_MULTIPLIER=r.FLOAT_TOKENS_ERROR=r.ENS_UNKNOWN_ERROR=r.ENS_REGISTRATION_ERROR=r.ENS_NO_ADDRESS_FOR_NAME=r.ENS_NOT_FOUND_ON_NETWORK=r.ENS_ILLEGAL_CHARACTER=r.DOMAIN_NOT_SUPPORTED_ON_NETWORK=r.CONTRACT_ADDRESS_ERROR=r.CONFUSING_ENS_ERROR=void 0;var a=e("../../../../shared/constants/gas"),n=e("../../../../shared/modules/Numeric"),o=e("../../../../shared/constants/common");const i=r.MIN_GAS_PRICE_DEC="0",s=r.MIN_GAS_PRICE_HEX=parseInt(i,10).toString(16);r.MIN_GAS_LIMIT_DEC=new n.Numeric("21000",10),r.MAX_GAS_LIMIT_DEC="7920027",r.HIGH_FEE_WARNING_MULTIPLIER=1.5,r.MIN_GAS_PRICE_GWEI=new n.Numeric(s,16,o.EtherDenomination.WEI).toDenomination(o.EtherDenomination.GWEI).round(1).toPrefixedHexString(),r.MIN_GAS_TOTAL=new n.Numeric(a.MIN_GAS_LIMIT_HEX,16).times(new n.Numeric(s,16,o.EtherDenomination.WEI)).toPrefixedHexString(),r.TOKEN_TRANSFER_FUNCTION_SIGNATURE="0xa9059cbb",r.NFT_TRANSFER_FROM_FUNCTION_SIGNATURE="0x23b872dd",r.NFT_SAFE_TRANSFER_FROM_FUNCTION_SIGNATURE="0xf242432a",r.INSUFFICIENT_FUNDS_ERROR="insufficientFunds",r.INSUFFICIENT_FUNDS_FOR_GAS_ERROR="insufficientFundsForGas",r.INSUFFICIENT_TOKENS_ERROR="insufficientTokens",r.NEGATIVE_ETH_ERROR="negativeETH",r.NEGATIVE_OR_ZERO_AMOUNT_TOKENS_ERROR="negativeOrZeroAmountToken",r.FLOAT_TOKENS_ERROR="floatAmountToken",r.INVALID_RECIPIENT_ADDRESS_ERROR="invalidAddressRecipient",r.INVALID_RECIPIENT_ADDRESS_NOT_ETH_NETWORK_ERROR="invalidAddressRecipientNotEthNetwork",r.REQUIRED_ERROR="required",r.KNOWN_RECIPIENT_ADDRESS_WARNING="knownAddressRecipient",r.CONTRACT_ADDRESS_ERROR="contractAddressError",r.CONFUSING_ENS_ERROR="confusingEnsDomain",r.ENS_NO_ADDRESS_FOR_NAME="noAddressForName",r.ENS_NOT_FOUND_ON_NETWORK="ensNotFoundOnCurrentNetwork",r.ENS_ILLEGAL_CHARACTER="ensIllegalCharacter",r.ENS_UNKNOWN_ERROR="ensUnknownError",r.ENS_REGISTRATION_ERROR="ensRegistrationError",r.DOMAIN_NOT_SUPPORTED_ON_NETWORK="domainNotSupportedOnNetwork",r.NO_RESOLUTION_FOR_DOMAIN="noDomainResolution",r.SWAPS_NO_QUOTES="swapQuotesNotAvailableErrorTitle",r.SWAPS_QUOTES_ERROR="swapFetchingQuotesErrorTitle",r.RECIPIENT_TYPES={SMART_CONTRACT:"SMART_CONTRACT",NON_CONTRACT:"NON_CONTRACT"}}}},{package:"$root$",file:"ui/pages/confirmations/send/send.constants.js"}],[5722,{"../../../../app/scripts/lib/util":120,"../../../../shared/constants/transaction":4520,"../../../../shared/modules/Numeric":4533,"./send.constants":5721,"@metamask/abi-utils":1058},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.addGasBuffer=function(e,t,r=1.5){const a=new i.Numeric(e,16),n=new i.Numeric(t,16).times(new i.Numeric(.9,10)).round(0),o=a.times(new i.Numeric(r,10)).round(0);if(a.greaterThanOrEqualTo(n))return e;if(o.lessThan(n))return o.toString();return n.toString()},r.ellipsify=function(e,t=6,r=4){if(!e)return"";return`${e.slice(0,t)}...${e.slice(-r)}`},r.generateERC1155TransferData=l,r.generateERC20TransferData=c,r.generateERC721TransferData=u,r.getAssetTransferData=function({sendToken:e,fromAddress:t,toAddress:r,amount:a}){switch(e.standard){case o.TokenStandard.ERC721:return u({toAddress:r,fromAddress:t,tokenId:e.tokenId});case o.TokenStandard.ERC1155:return l({toAddress:r,fromAddress:t,tokenId:e.tokenId});case o.TokenStandard.ERC20:default:return c({toAddress:r,amount:a,sendToken:e})}},r.isBalanceSufficient=function({amount:e="0x0",balance:t="0x0",conversionRate:r=1,gasTotal:a="0x0",primaryCurrency:n}){let o=new i.Numeric(e,16).add(new i.Numeric(a,16)),s=new i.Numeric(t,16);null!=n&&(o=o.applyConversionRate(r),s=s.applyConversionRate(r));return s.greaterThanOrEqualTo(o)},r.isERC1155BalanceSufficient=function({amount:e="0",tokenBalance:t}){const r=new i.Numeric(e,16);return new i.Numeric(t,10).greaterThanOrEqualTo(r)},r.isTokenBalanceSufficient=function({amount:e="0x0",tokenBalance:t,decimals:r}){const a=new i.Numeric(e,16).shiftedBy(r);return new i.Numeric(t,16).greaterThanOrEqualTo(a)};var a=e("@metamask/abi-utils"),n=e("../../../../app/scripts/lib/util"),o=e("../../../../shared/constants/transaction"),i=e("../../../../shared/modules/Numeric"),s=e("./send.constants");function c({toAddress:e="0x0",amount:t="0x0",sendToken:r}){return r?s.TOKEN_TRANSFER_FUNCTION_SIGNATURE+Array.prototype.map.call((0,a.encode)(["address","uint256"],[(0,n.addHexPrefix)(e),(0,n.addHexPrefix)(t)]),(e=>`00${e.toString(16)}`.slice(-2))).join(""):undefined}function u({toAddress:e="0x0",fromAddress:t="0x0",tokenId:r}){return r?s.NFT_TRANSFER_FROM_FUNCTION_SIGNATURE+Array.prototype.map.call((0,a.encode)(["address","address","uint256"],[(0,n.addHexPrefix)(t),(0,n.addHexPrefix)(e),BigInt(r)]),(e=>`00${e.toString(16)}`.slice(-2))).join(""):undefined}function l({toAddress:e="0x0",fromAddress:t="0x0",tokenId:r,amount:o="1",data:i="0"}){return r?s.NFT_SAFE_TRANSFER_FROM_FUNCTION_SIGNATURE+Array.prototype.map.call((0,a.encode)(["address","address","uint256","uint256","bytes"],[(0,n.addHexPrefix)(t),(0,n.addHexPrefix)(e),BigInt(r),(0,n.addHexPrefix)(o),(0,n.addHexPrefix)(i)]),(e=>`00${e.toString(16)}`.slice(-2))).join(""):undefined}}}},{package:"$root$",file:"ui/pages/confirmations/send/send.utils.js"}],[5724,{"../../../helpers/utils/util":5399,"@metamask/controller-utils":1163,"@metamask/transaction-controller":2234},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.parseTypedDataMessage=r.parseSanitizeTypedDataMessage=r.isSignatureTransactionType=r.isSignatureApprovalRequest=r.isSIWESignatureRequest=r.REDESIGN_TRANSACTION_TYPES=r.REDESIGN_APPROVAL_TYPES=void 0;var a=e("@metamask/controller-utils"),n=e("@metamask/transaction-controller"),o=e("../../../helpers/utils/util");r.REDESIGN_APPROVAL_TYPES=[a.ApprovalType.EthSignTypedData,a.ApprovalType.PersonalSign],r.REDESIGN_TRANSACTION_TYPES=[];const i=[a.ApprovalType.EthSign,a.ApprovalType.PersonalSign,a.ApprovalType.EthSignTypedData];r.isSignatureApprovalRequest=e=>i.includes(e.type);const s=[n.TransactionType.personalSign,n.TransactionType.signTypedData];r.isSignatureTransactionType=e=>e&&s.includes(e.type);const c=e=>JSON.parse(e);r.parseTypedDataMessage=c;r.parseSanitizeTypedDataMessage=e=>{const{message:t,primaryType:r,types:a}=c(e);return{sanitizedMessage:(0,o.sanitizeMessage)(t,r,a),primaryType:r}};r.isSIWESignatureRequest=e=>{var t;return null===(t=e.msgParams)||void 0===t||null===(t=t.siwe)||void 0===t?void 0:t.isSIWEMessage}}}},{package:"$root$",file:"ui/pages/confirmations/utils/confirm.ts"}],[5725,{"./confirm":5724},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var a=e("./confirm");Object.keys(a).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in r&&r[e]===a[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return a[e]}}))}))}}},{package:"$root$",file:"ui/pages/confirmations/utils/index.ts"}],[575,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var a=function(e,t,r){var a=Math.floor(r()*e.prob.length);return t[r()=0;s--)a[s]<1?o.push(s):i.push(s);for(;o.length>0&&i.length>0;){var c=o.pop(),u=i.pop();n.prob[c]=a[c],n.alias[c]=u,a[u]=a[u]+a[c]-1,a[u]<1?o.push(u):i.push(u)}for(;i.length>0;)n.prob[i.pop()]=1;for(;o.length>0;)n.prob[o.pop()]=1;return n}(e,n);return{next:function(e){return void 0===e&&(e=1),function(e,t,r,n){if(void 0===n&&(n=1),1===n)return a(e,t,r);for(var o=[],i=0;i@keystonehq/alias-sampling",file:"node_modules/@keystonehq/alias-sampling/dist/cjs/index.js"}],[579,{"@ethereumjs/util":438,"@keystonehq/bc-ur-registry":601,buffer:3028,hdkey:3626,uuid:4424},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(t){(function(){Object.defineProperty(r,"__esModule",{value:!0});var a,n=e("@keystonehq/bc-ur-registry"),o=e("uuid"),i=(a=e("hdkey"))&&"object"==typeof a&&"default"in a?a.default:a,s=e("@ethereumjs/util");const c={ETH_SIGN_REQUEST:new n.RegistryType("eth-sign-request",401),ETH_SIGNATURE:new n.RegistryType("eth-signature",402),ETH_NFT_ITEM:new n.RegistryType("eth-nft-item",403)},{decodeToDataItem:u,RegistryTypes:l}=n.extend;var d,g;!function(e){e[e.requestId=1]="requestId",e[e.signData=2]="signData",e[e.dataType=3]="dataType",e[e.chainId=4]="chainId",e[e.derivationPath=5]="derivationPath",e[e.address=6]="address",e[e.origin=7]="origin"}(d||(d={})),(g=r.DataType||(r.DataType={}))[g.transaction=1]="transaction",g[g.typedData=2]="typedData",g[g.personalMessage=3]="personalMessage",g[g.typedTransaction=4]="typedTransaction";class p extends n.RegistryItem{constructor(e){super(),this.getRegistryType=()=>c.ETH_SIGN_REQUEST,this.getRequestId=()=>this.requestId,this.getSignData=()=>this.signData,this.getDataType=()=>this.dataType,this.getChainId=()=>this.chainId,this.getDerivationPath=()=>this.derivationPath.getPath(),this.getSourceFingerprint=()=>this.derivationPath.getSourceFingerprint(),this.getSignRequestAddress=()=>this.address,this.getOrigin=()=>this.origin,this.toDataItem=()=>{const e={};this.requestId&&(e[d.requestId]=new n.DataItem(this.requestId,l.UUID.getTag())),this.address&&(e[d.address]=this.address),this.chainId&&(e[d.chainId]=Number(this.chainId)),this.origin&&(e[d.origin]=this.origin),e[d.signData]=this.signData,e[d.dataType]=this.dataType;const t=this.derivationPath.toDataItem();return t.setTag(this.derivationPath.getRegistryType().getTag()),e[d.derivationPath]=t,new n.DataItem(e)},this.requestId=e.requestId,this.signData=e.signData,this.dataType=e.dataType,this.chainId=e.chainId,this.derivationPath=e.derivationPath,this.address=e.address,this.origin=e.origin}static constructETHRequest(e,r,a,i,s,c,u,l){const d=a.replace(/[m|M]\//,"").split("/"),g=new n.CryptoKeypath(d.map((e=>{const t=parseInt(e.replace("'",""));let r=!1;return e.endsWith("'")&&(r=!0),new n.PathComponent({index:t,hardened:r})})),t.from(i,"hex"));return new p({requestId:s?t.from(o.parse(s)):undefined,signData:e,dataType:r,derivationPath:g,chainId:c,address:u?t.from(u.replace("0x",""),"hex"):undefined,origin:l||undefined})}}p.fromDataItem=e=>{const t=e.getData(),r=t[d.signData],a=t[d.dataType],o=n.CryptoKeypath.fromDataItem(t[d.derivationPath]),i=t[d.chainId]?t[d.chainId]:undefined,s=t[d.address]?t[d.address]:undefined,c=t[d.requestId]?t[d.requestId].getData():undefined,u=t[d.origin]?t[d.origin]:undefined;return new p({requestId:c,signData:r,dataType:a,chainId:i,derivationPath:o,address:s,origin:u})},p.fromCBOR=e=>{const t=u(e);return p.fromDataItem(t)};const{RegistryTypes:m,decodeToDataItem:h}=n.extend;var T;!function(e){e[e.requestId=1]="requestId",e[e.signature=2]="signature",e[e.origin=3]="origin"}(T||(T={}));class f extends n.RegistryItem{constructor(e,t,r){super(),this.getRegistryType=()=>c.ETH_SIGNATURE,this.getRequestId=()=>this.requestId,this.getSignature=()=>this.signature,this.getOrigin=()=>this.origin,this.toDataItem=()=>{const e={};return this.requestId&&(e[T.requestId]=new n.DataItem(this.requestId,m.UUID.getTag())),this.origin&&(e[T.origin]=this.origin),e[T.signature]=this.signature,new n.DataItem(e)},this.signature=e,this.requestId=t,this.origin=r}}f.fromDataItem=e=>{const t=e.getData(),r=t[T.signature],a=t[T.requestId]?t[T.requestId].getData():undefined;return new f(r,a,t[T.origin])},f.fromCBOR=e=>{const t=h(e);return f.fromDataItem(t)};const{decodeToDataItem:S}=n.extend;var A;!function(e){e[e.chainId=1]="chainId",e[e.contractAddress=2]="contractAddress",e[e.contractName=3]="contractName",e[e.name=4]="name",e[e.mediaData=5]="mediaData"}(A||(A={}));class y extends n.RegistryItem{constructor(e){super(),this.getRegistryType=()=>c.ETH_NFT_ITEM,this.getChainId=()=>this.chainId,this.getName=()=>this.name,this.getmediaData=()=>this.mediaData,this.getContractAddress=()=>this.contractAddress,this.getContractName=()=>this.contractName,this.toDataItem=()=>{const e={};return e[A.chainId]=this.chainId,e[A.name]=this.name,e[A.contractAddress]=this.contractAddress,e[A.contractName]=this.contractName,e[A.mediaData]=this.mediaData,new n.DataItem(e)},this.chainId=e.chainId,this.name=e.name,this.contractAddress=e.contractAddress,this.contractName=e.contractName,this.mediaData=e.mediaData}static constructETHNFTItem(e,t,r,a,n){return new y({chainId:e,contractAddress:t,contractName:r,mediaData:n,name:a})}}y.fromDataItem=e=>{const t=e.getData(),r=t[A.chainId],a=t[A.name],n=t[A.mediaData],o=t[A.contractAddress],i=t[A.contractName];return new y({chainId:r,name:a,contractAddress:o,contractName:i,mediaData:n})},y.fromCBOR=e=>{const t=S(e);return y.fromDataItem(t)};const v=(e,t)=>{const r=i.fromExtendedKey(e).derive(t),a="0x"+s.publicToAddress(r.publicKey,!0).toString("hex");return s.toChecksumAddress(a)};n.patchTags(Object.values(c).filter((e=>!!e.getTag())).map((e=>e.getTag()))),Object.keys(n).forEach((function(e){"default"!==e&&Object.defineProperty(r,e,{enumerable:!0,get:function(){return n[e]}})})),r.ETHNFTItem=y,r.ETHSignature=f,r.EthSignRequest=p,r.findHDPathFromAddress=(e,t,r,a)=>{for(let n=0;nc.ETH_SIGN_REQUEST,this.getRequestId=()=>this.requestId,this.getSignData=()=>this.signData,this.getDataType=()=>this.dataType,this.getChainId=()=>this.chainId,this.getDerivationPath=()=>this.derivationPath.getPath(),this.getSourceFingerprint=()=>this.derivationPath.getSourceFingerprint(),this.getSignRequestAddress=()=>this.address,this.getOrigin=()=>this.origin,this.toDataItem=()=>{const e={};this.requestId&&(e[d.requestId]=new n.DataItem(this.requestId,l.UUID.getTag())),this.address&&(e[d.address]=this.address),this.chainId&&(e[d.chainId]=Number(this.chainId)),this.origin&&(e[d.origin]=this.origin),e[d.signData]=this.signData,e[d.dataType]=this.dataType;const t=this.derivationPath.toDataItem();return t.setTag(this.derivationPath.getRegistryType().getTag()),e[d.derivationPath]=t,new n.DataItem(e)},this.requestId=e.requestId,this.signData=e.signData,this.dataType=e.dataType,this.chainId=e.chainId,this.derivationPath=e.derivationPath,this.address=e.address,this.origin=e.origin}static constructETHRequest(e,r,a,i,s,c,u,l){const d=a.replace(/[m|M]\//,"").split("/"),g=new n.CryptoKeypath(d.map((e=>{const t=parseInt(e.replace("'",""));let r=!1;return e.endsWith("'")&&(r=!0),new n.PathComponent({index:t,hardened:r})})),t.from(i,"hex"));return new p({requestId:s?t.from(o.parse(s)):void 0,signData:e,dataType:r,derivationPath:g,chainId:c,address:u?t.from(u.replace("0x",""),"hex"):void 0,origin:l||void 0})}}p.fromDataItem=e=>{const t=e.getData(),r=t[d.signData],a=t[d.dataType],o=n.CryptoKeypath.fromDataItem(t[d.derivationPath]),i=t[d.chainId]?t[d.chainId]:void 0,s=t[d.address]?t[d.address]:void 0,c=t[d.requestId]?t[d.requestId].getData():void 0;return new p({requestId:c,signData:r,dataType:a,chainId:i,derivationPath:o,address:s,origin:t[d.origin]?t[d.origin]:void 0})},p.fromCBOR=e=>{const t=u(e);return p.fromDataItem(t)};const{RegistryTypes:m,decodeToDataItem:h}=n.extend;var T;!function(e){e[e.requestId=1]="requestId",e[e.signature=2]="signature",e[e.origin=3]="origin"}(T||(T={}));class f extends n.RegistryItem{constructor(e,t,r){super(),this.getRegistryType=()=>c.ETH_SIGNATURE,this.getRequestId=()=>this.requestId,this.getSignature=()=>this.signature,this.getOrigin=()=>this.origin,this.toDataItem=()=>{const e={};return this.requestId&&(e[T.requestId]=new n.DataItem(this.requestId,m.UUID.getTag())),this.origin&&(e[T.origin]=this.origin),e[T.signature]=this.signature,new n.DataItem(e)},this.signature=e,this.requestId=t,this.origin=r}}f.fromDataItem=e=>{const t=e.getData(),r=t[T.signature],a=t[T.requestId]?t[T.requestId].getData():void 0;return new f(r,a,t[T.origin])},f.fromCBOR=e=>{const t=h(e);return f.fromDataItem(t)};const{decodeToDataItem:S}=n.extend;var A;!function(e){e[e.chainId=1]="chainId",e[e.contractAddress=2]="contractAddress",e[e.contractName=3]="contractName",e[e.name=4]="name",e[e.mediaData=5]="mediaData"}(A||(A={}));class y extends n.RegistryItem{constructor(e){super(),this.getRegistryType=()=>c.ETH_NFT_ITEM,this.getChainId=()=>this.chainId,this.getName=()=>this.name,this.getmediaData=()=>this.mediaData,this.getContractAddress=()=>this.contractAddress,this.getContractName=()=>this.contractName,this.toDataItem=()=>{const e={};return e[A.chainId]=this.chainId,e[A.name]=this.name,e[A.contractAddress]=this.contractAddress,e[A.contractName]=this.contractName,e[A.mediaData]=this.mediaData,new n.DataItem(e)},this.chainId=e.chainId,this.name=e.name,this.contractAddress=e.contractAddress,this.contractName=e.contractName,this.mediaData=e.mediaData}static constructETHNFTItem(e,t,r,a,n){return new y({chainId:e,contractAddress:t,contractName:r,mediaData:n,name:a})}}y.fromDataItem=e=>{const t=e.getData();return new y({chainId:t[A.chainId],name:t[A.name],contractAddress:t[A.contractAddress],contractName:t[A.contractName],mediaData:t[A.mediaData]})},y.fromCBOR=e=>{const t=S(e);return y.fromDataItem(t)};const v=(e,t)=>{const r=i.fromExtendedKey(e).derive(t),a="0x"+s.publicToAddress(r.publicKey,!0).toString("hex");return s.toChecksumAddress(a)};n.patchTags(Object.values(c).filter((e=>!!e.getTag())).map((e=>e.getTag()))),Object.keys(n).forEach((function(e){"default"!==e&&Object.defineProperty(r,e,{enumerable:!0,get:function(){return n[e]}})})),r.ETHNFTItem=y,r.ETHSignature=f,r.EthSignRequest=p,r.findHDPathFromAddress=(e,t,r,a)=>{for(let n=0;no.RegistryTypes.BYTES,this.getData=()=>this.bytes,this.toDataItem=()=>new a.DataItem(this.bytes)}}r.Bytes=i,i.fromDataItem=e=>{const t=e.getData();if(!t)throw new Error(`#[ur-registry][Bytes][fn.fromDataItem]: decoded [dataItem][#data] is undefined: ${e}`);return new i(t)},i.fromCBOR=e=>{const t=(0,a.decodeToDataItem)(e);return i.fromDataItem(t)}}}},{package:"@keystonehq/bc-ur-registry-eth>@keystonehq/bc-ur-registry",file:"node_modules/@keystonehq/bc-ur-registry/dist/Bytes.js"}],[583,{".":601,"./RegistryItem":593,"./RegistryType":594,"./lib":604,buffer:3028},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(t){(function(){Object.defineProperty(r,"__esModule",{value:!0}),r.CryptoAccount=void 0;const a=e("."),n=e("./lib"),o=e("./RegistryItem"),i=e("./RegistryType");var s;!function(e){e[e.masterFingerprint=1]="masterFingerprint",e[e.outputDescriptors=2]="outputDescriptors"}(s||(s={}));class c extends o.RegistryItem{constructor(e,t){super(),this.masterFingerprint=e,this.outputDescriptors=t,this.getRegistryType=()=>i.RegistryTypes.CRYPTO_ACCOUNT,this.getMasterFingerprint=()=>this.masterFingerprint,this.getOutputDescriptors=()=>this.outputDescriptors,this.toDataItem=()=>{const e={};return this.masterFingerprint&&(e[s.masterFingerprint]=this.masterFingerprint.readUInt32BE(0)),this.outputDescriptors&&(e[s.outputDescriptors]=this.outputDescriptors.map((e=>e.toDataItem()))),new n.DataItem(e)}}}r.CryptoAccount=c,c.fromDataItem=e=>{const r=e.getData(),n=t.alloc(4),o=r[s.masterFingerprint];o&&n.writeUInt32BE(o,0);const i=r[s.outputDescriptors].map((e=>a.CryptoOutput.fromDataItem(e)));return new c(n,i)},c.fromCBOR=e=>{const t=(0,n.decodeToDataItem)(e);return c.fromDataItem(t)}}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"@keystonehq/bc-ur-registry-eth>@keystonehq/bc-ur-registry",file:"node_modules/@keystonehq/bc-ur-registry/dist/CryptoAccount.js"}],[584,{"./RegistryItem":593,"./RegistryType":594,"./lib":604},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.CryptoCoinInfo=r.Network=r.Type=void 0;const a=e("./lib"),n=e("./RegistryItem"),o=e("./RegistryType");var i,s,c;!function(e){e.type="1",e.network="2"}(i||(i={})),function(e){e[e.bitcoin=0]="bitcoin"}(s=r.Type||(r.Type={})),function(e){e[e.mainnet=0]="mainnet",e[e.testnet=1]="testnet"}(c=r.Network||(r.Network={}));class u extends n.RegistryItem{constructor(e,t){super(),this.type=e,this.network=t,this.getRegistryType=()=>o.RegistryTypes.CRYPTO_COIN_INFO,this.getType=()=>this.type||s.bitcoin,this.getNetwork=()=>this.network||c.mainnet,this.toDataItem=()=>{const e={};return this.type&&(e[i.type]=this.type),this.network&&(e[i.network]=this.network),new a.DataItem(e)}}}r.CryptoCoinInfo=u,u.fromDataItem=e=>{const t=e.getData(),r=t[i.type],a=t[i.network];return new u(r,a)},u.fromCBOR=e=>{const t=(0,a.decodeToDataItem)(e);return u.fromDataItem(t)}}}},{package:"@keystonehq/bc-ur-registry-eth>@keystonehq/bc-ur-registry",file:"node_modules/@keystonehq/bc-ur-registry/dist/CryptoCoinInfo.js"}],[585,{"./RegistryItem":593,"./RegistryType":594,"./lib":604},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.CryptoECKey=void 0;const a=e("./lib"),n=e("./RegistryItem"),o=e("./RegistryType");var i;!function(e){e[e.curve=1]="curve",e[e.private=2]="private",e[e.data=3]="data"}(i||(i={}));class s extends n.RegistryItem{constructor(e){super(),this.isECKey=()=>!0,this.getCurve=()=>this.curve||0,this.isPrivateKey=()=>this.privateKey||!1,this.getData=()=>this.data,this.getRegistryType=()=>o.RegistryTypes.CRYPTO_ECKEY,this.toDataItem=()=>{const e={};return this.curve&&(e[i.curve]=this.curve),this.privateKey!==undefined&&(e[i.private]=this.privateKey),e[i.data]=this.data,new a.DataItem(e)},this.getOutputDescriptorContent=()=>this.data.toString("hex"),this.data=e.data,this.curve=e.curve,this.privateKey=e.privateKey||undefined}}r.CryptoECKey=s,s.fromDataItem=e=>{const t=e.getData(),r=t[i.curve],a=t[i.private],n=t[i.data];if(!n)throw new Error(`#[ur-registry][CryptoECKey][fn.fromDataItem]: decoded [dataItem][#data.data] is undefined: ${e}`);return new s({data:n,curve:r,privateKey:a})},s.fromCBOR=e=>{const t=(0,a.decodeToDataItem)(e);return s.fromDataItem(t)}}}},{package:"@keystonehq/bc-ur-registry-eth>@keystonehq/bc-ur-registry",file:"node_modules/@keystonehq/bc-ur-registry/dist/CryptoECKey.js"}],[586,{"./CryptoCoinInfo":584,"./CryptoKeypath":587,"./RegistryItem":593,"./RegistryType":594,"./lib":604,bs58check:3032,buffer:3028},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(t){(function(){Object.defineProperty(r,"__esModule",{value:!0}),r.CryptoHDKey=void 0;const a=e("bs58check"),n=e("./CryptoCoinInfo"),o=e("./CryptoKeypath"),i=e("./lib"),s=e("./RegistryItem"),c=e("./RegistryType");var u;!function(e){e[e.is_master=1]="is_master",e[e.is_private=2]="is_private",e[e.key_data=3]="key_data",e[e.chain_code=4]="chain_code",e[e.use_info=5]="use_info",e[e.origin=6]="origin",e[e.children=7]="children",e[e.parent_fingerprint=8]="parent_fingerprint",e[e.name=9]="name",e[e.note=10]="note"}(u||(u={}));class l extends s.RegistryItem{constructor(e){super(),this.isECKey=()=>!1,this.getKey=()=>this.key,this.getChainCode=()=>this.chainCode,this.isMaster=()=>this.master,this.isPrivateKey=()=>!!this.privateKey,this.getUseInfo=()=>this.useInfo,this.getOrigin=()=>this.origin,this.getChildren=()=>this.children,this.getParentFingerprint=()=>this.parentFingerprint,this.getName=()=>this.name,this.getNote=()=>this.note,this.getBip32Key=()=>{var e,r,n;let o,i,s=0,c=t.alloc(4).fill(0);if(this.isMaster())o=t.from("0488ADE4","hex"),i=0,s=0;else{i=(null===(e=this.getOrigin())||void 0===e?void 0:e.getComponents().length)||(null===(r=this.getOrigin())||void 0===r?void 0:r.getDepth());const a=null===(n=this.getOrigin())||void 0===n?void 0:n.getComponents(),u=a[a.length-1];u&&(s=u.isHardened()?u.getIndex()+2147483648:u.getIndex(),this.getParentFingerprint()&&(c=this.getParentFingerprint())),o=this.isPrivateKey()?t.from("0488ADE4","hex"):t.from("0488B21E","hex")}const u=t.alloc(1);u.writeUInt8(i,0);const l=t.alloc(4);l.writeUInt32BE(s,0);const d=this.getChainCode(),g=this.getKey();return(0,a.encode)(t.concat([o,u,c,l,d,g]))},this.getRegistryType=()=>c.RegistryTypes.CRYPTO_HDKEY,this.getOutputDescriptorContent=()=>{var e,t,r,a,n,o,i;let s="";return this.getOrigin()&&(null===(e=this.getOrigin())||void 0===e?void 0:e.getSourceFingerprint())&&(null===(t=this.getOrigin())||void 0===t?void 0:t.getPath())&&(s+=`${null===(a=null===(r=this.getOrigin())||void 0===r?void 0:r.getSourceFingerprint())||void 0===a?void 0:a.toString("hex")}/${null===(n=this.getOrigin())||void 0===n?void 0:n.getPath()}`),s+=this.getBip32Key(),this.getChildren()&&(null===(o=this.getChildren())||void 0===o?void 0:o.getPath())&&(s+=`/${null===(i=this.getChildren())||void 0===i?void 0:i.getPath()}`),s},this.setupMasterKey=e=>{this.master=!0,this.key=e.key,this.chainCode=e.chainCode},this.setupDeriveKey=e=>{this.master=!1,this.privateKey=e.isPrivateKey,this.key=e.key,this.chainCode=e.chainCode,this.useInfo=e.useInfo,this.origin=e.origin,this.children=e.children,this.parentFingerprint=e.parentFingerprint,this.name=e.name,this.note=e.note},this.toDataItem=()=>{const e={};if(this.master)e[u.is_master]=!0,e[u.key_data]=this.key,e[u.chain_code]=this.chainCode;else{if(this.privateKey!==undefined&&(e[u.is_private]=this.privateKey),e[u.key_data]=this.key,this.chainCode&&(e[u.chain_code]=this.chainCode),this.useInfo){const t=this.useInfo.toDataItem();t.setTag(this.useInfo.getRegistryType().getTag()),e[u.use_info]=t}if(this.origin){const t=this.origin.toDataItem();t.setTag(this.origin.getRegistryType().getTag()),e[u.origin]=t}if(this.children){const t=this.children.toDataItem();t.setTag(this.children.getRegistryType().getTag()),e[u.children]=t}this.parentFingerprint&&(e[u.parent_fingerprint]=this.parentFingerprint.readUInt32BE(0)),this.name!==undefined&&(e[u.name]=this.name),this.note!==undefined&&(e[u.note]=this.note)}return new i.DataItem(e)},e.isMaster?this.setupMasterKey(e):this.setupDeriveKey(e)}}r.CryptoHDKey=l,l.fromDataItem=e=>{const r=e.getData(),a=!!r[u.is_master],i=r[u.is_private],s=r[u.key_data],c=r[u.chain_code],d=r[u.use_info]?n.CryptoCoinInfo.fromDataItem(r[u.use_info]):undefined,g=r[u.origin]?o.CryptoKeypath.fromDataItem(r[u.origin]):undefined,p=r[u.children]?o.CryptoKeypath.fromDataItem(r[u.children]):undefined,m=r[u.parent_fingerprint];let h=undefined;m&&(h=t.alloc(4),h.writeUInt32BE(m,0));const T=r[u.name],f=r[u.note];return new l({isMaster:a,isPrivateKey:i,key:s,chainCode:c,useInfo:d,origin:g,children:p,parentFingerprint:h,name:T,note:f})},l.fromCBOR=e=>{const t=(0,i.decodeToDataItem)(e);return l.fromDataItem(t)}}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"@keystonehq/bc-ur-registry-eth>@keystonehq/bc-ur-registry",file:"node_modules/@keystonehq/bc-ur-registry/dist/CryptoHDKey.js"}],[587,{"./PathComponent":592,"./RegistryItem":593,"./RegistryType":594,"./lib":604,buffer:3028},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(t){(function(){Object.defineProperty(r,"__esModule",{value:!0}),r.CryptoKeypath=void 0;const a=e("./lib"),n=e("./PathComponent"),o=e("./RegistryItem"),i=e("./RegistryType");var s;!function(e){e[e.components=1]="components",e[e.source_fingerprint=2]="source_fingerprint",e[e.depth=3]="depth"}(s||(s={}));class c extends o.RegistryItem{constructor(e=[],t,r){super(),this.components=e,this.sourceFingerprint=t,this.depth=r,this.getRegistryType=()=>i.RegistryTypes.CRYPTO_KEYPATH,this.getPath=()=>{if(0===this.components.length)return undefined;return this.components.map((e=>`${e.isWildcard()?"*":e.getIndex()}${e.isHardened()?"'":""}`)).join("/")},this.getComponents=()=>this.components,this.getSourceFingerprint=()=>this.sourceFingerprint,this.getDepth=()=>this.depth,this.toDataItem=()=>{const e={},t=[];return this.components&&this.components.forEach((e=>{e.isWildcard()?t.push([]):t.push(e.getIndex()),t.push(e.isHardened())})),e[s.components]=t,this.sourceFingerprint&&(e[s.source_fingerprint]=this.sourceFingerprint.readUInt32BE(0)),this.depth!==undefined&&(e[s.depth]=this.depth),new a.DataItem(e)}}}r.CryptoKeypath=c,c.fromDataItem=e=>{const r=e.getData(),a=[],o=r[s.components];if(o)for(let e=0;e{const t=(0,a.decodeToDataItem)(e);return c.fromDataItem(t)}}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"@keystonehq/bc-ur-registry-eth>@keystonehq/bc-ur-registry",file:"node_modules/@keystonehq/bc-ur-registry/dist/CryptoKeypath.js"}],[588,{"./CryptoECKey":585,"./CryptoHDKey":586,"./MultiKey":591,"./RegistryItem":593,"./RegistryType":594,"./ScriptExpression":595,"./lib":604},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.CryptoOutput=void 0;const a=e("./CryptoECKey"),n=e("./CryptoHDKey"),o=e("./lib"),i=e("./MultiKey"),s=e("./RegistryItem"),c=e("./RegistryType"),u=e("./ScriptExpression");class l extends s.RegistryItem{constructor(e,t){super(),this.scriptExpressions=e,this.cryptoKey=t,this.getRegistryType=()=>c.RegistryTypes.CRYPTO_OUTPUT,this.getCryptoKey=()=>this.cryptoKey,this.getHDKey=()=>this.cryptoKey instanceof n.CryptoHDKey?this.cryptoKey:undefined,this.getECKey=()=>this.cryptoKey instanceof a.CryptoECKey?this.cryptoKey:undefined,this.getMultiKey=()=>this.cryptoKey instanceof i.MultiKey?this.cryptoKey:undefined,this.getScriptExpressions=()=>this.scriptExpressions,this._toOutputDescriptor=e=>e>=this.scriptExpressions.length?this.cryptoKey.getOutputDescriptorContent():`${this.scriptExpressions[e].getExpression()}(${this._toOutputDescriptor(e+1)})`,this.toString=()=>this._toOutputDescriptor(0),this.toDataItem=()=>{let e=this.cryptoKey.toDataItem();(this.cryptoKey instanceof a.CryptoECKey||this.cryptoKey instanceof n.CryptoHDKey)&&e.setTag(this.cryptoKey.getRegistryType().getTag());return[...this.scriptExpressions].reverse().forEach((t=>{const r=t.getTag();e.getTag()===undefined?e.setTag(r):e=new o.DataItem(e,r)})),e}}}r.CryptoOutput=l,l.fromDataItem=e=>{const t=[];let r=e;for(;;){let e=r.getTag();const a=u.ScriptExpression.fromTag(e);if(!a)break;if(t.push(a),!(r.getData()instanceof o.DataItem))break;r=r.getData(),e=r.getTag()}const s=t.length;if(s>0&&(t[s-1].getExpression()===u.ScriptExpressions.MULTISIG.getExpression()||t[s-1].getExpression()===u.ScriptExpressions.SORTED_MULTISIG.getExpression())){const e=i.MultiKey.fromDataItem(r);return new l(t,e)}if(r.getTag()===c.RegistryTypes.CRYPTO_HDKEY.getTag()){const e=n.CryptoHDKey.fromDataItem(r);return new l(t,e)}{const e=a.CryptoECKey.fromDataItem(r);return new l(t,e)}},l.fromCBOR=e=>{const t=(0,o.decodeToDataItem)(e);return l.fromDataItem(t)}}}},{package:"@keystonehq/bc-ur-registry-eth>@keystonehq/bc-ur-registry",file:"node_modules/@keystonehq/bc-ur-registry/dist/CryptoOutput.js"}],[589,{"./RegistryItem":593,"./RegistryType":594,"./lib":604},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.CryptoPSBT=void 0;const a=e("./lib"),n=e("./RegistryItem"),o=e("./RegistryType");class i extends n.RegistryItem{constructor(e){super(),this.psbt=e,this.getRegistryType=()=>o.RegistryTypes.CRYPTO_PSBT,this.getPSBT=()=>this.psbt,this.toDataItem=()=>new a.DataItem(this.psbt)}}r.CryptoPSBT=i,i.fromDataItem=e=>{const t=e.getData();if(!t)throw new Error(`#[ur-registry][CryptoPSBT][fn.fromDataItem]: decoded [dataItem][#data] is undefined: ${e}`);return new i(t)},i.fromCBOR=e=>{const t=(0,a.decodeToDataItem)(e);return i.fromDataItem(t)}}}},{package:"@keystonehq/bc-ur-registry-eth>@keystonehq/bc-ur-registry",file:"node_modules/@keystonehq/bc-ur-registry/dist/CryptoPSBT.js"}],[590,{"..":601,"../RegistryType":594,"../errors":596,"@ngraveio/bc-ur":2308},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.URRegistryDecoder=void 0;const a=e("@ngraveio/bc-ur"),n=e(".."),o=e("../RegistryType"),i=e("../errors");class s extends a.URDecoder{constructor(){super(...arguments),this.resultRegistryType=()=>{const e=this.resultUR();switch(e.type){case o.RegistryTypes.BYTES.getType():return n.Bytes.fromCBOR(e.cbor);case o.RegistryTypes.CRYPTO_HDKEY.getType():return n.CryptoHDKey.fromCBOR(e.cbor);case o.RegistryTypes.CRYPTO_KEYPATH.getType():return n.CryptoKeypath.fromCBOR(e.cbor);case o.RegistryTypes.CRYPTO_COIN_INFO.getType():return n.CryptoCoinInfo.fromCBOR(e.cbor);case o.RegistryTypes.CRYPTO_ECKEY.getType():return n.CryptoECKey.fromCBOR(e.cbor);case o.RegistryTypes.CRYPTO_OUTPUT.getType():return n.CryptoOutput.fromCBOR(e.cbor);case o.RegistryTypes.CRYPTO_PSBT.getType():return n.CryptoPSBT.fromCBOR(e.cbor);case o.RegistryTypes.CRYPTO_ACCOUNT.getType():return n.CryptoAccount.fromCBOR(e.cbor);default:throw new i.UnknownURTypeError(`#[ur-registry][Decoder][fn.resultRegistryType]: registry type ${e.type} is not supported now`)}}}}r.URRegistryDecoder=s}}},{package:"@keystonehq/bc-ur-registry-eth>@keystonehq/bc-ur-registry",file:"node_modules/@keystonehq/bc-ur-registry/dist/Decoder/index.js"}],[591,{"./CryptoECKey":585,"./CryptoHDKey":586,"./RegistryItem":593,"./RegistryType":594,"./lib/DataItem":602},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.MultiKey=void 0;const a=e("./CryptoECKey"),n=e("./CryptoHDKey"),o=e("./lib/DataItem"),i=e("./RegistryItem"),s=e("./RegistryType");var c;!function(e){e[e.threshold=1]="threshold",e[e.keys=2]="keys"}(c||(c={}));class u extends i.RegistryItem{constructor(e,t){super(),this.threshold=e,this.keys=t,this.getThreshold=()=>this.threshold,this.getKeys=()=>this.keys,this.toDataItem=()=>{const e={};e[c.threshold]=this.threshold;const t=this.keys.map((e=>{const t=e.toDataItem();return t.setTag(e.getRegistryType().getTag()),t}));return e[c.keys]=t,new o.DataItem(e)},this.getOutputDescriptorContent=()=>[this.getThreshold(),this.keys.map((e=>e.getOutputDescriptorContent())).join(",")].join(",")}}r.MultiKey=u,u.fromDataItem=e=>{const t=e.getData(),r=t[c.threshold],o=t[c.keys],i=[];return o.forEach((e=>{e.getTag()===s.RegistryTypes.CRYPTO_HDKEY.getTag()?i.push(n.CryptoHDKey.fromDataItem(e)):e.getTag()===s.RegistryTypes.CRYPTO_ECKEY.getTag()&&i.push(a.CryptoECKey.fromDataItem(e))})),new u(r,i)}}}},{package:"@keystonehq/bc-ur-registry-eth>@keystonehq/bc-ur-registry",file:"node_modules/@keystonehq/bc-ur-registry/dist/MultiKey.js"}],[592,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.PathComponent=void 0;class a{constructor(e){if(this.getIndex=()=>this.index,this.isWildcard=()=>this.wildcard,this.isHardened=()=>this.hardened,this.index=e.index,this.hardened=e.hardened,this.index!==undefined?this.wildcard=!1:this.wildcard=!0,this.index&&this.index&a.HARDENED_BIT)throw new Error(`#[ur-registry][PathComponent][fn.constructor]: Invalid index ${this.index} - most significant bit cannot be set`)}}r.PathComponent=a,a.HARDENED_BIT=2147483648}}},{package:"@keystonehq/bc-ur-registry-eth>@keystonehq/bc-ur-registry",file:"node_modules/@keystonehq/bc-ur-registry/dist/PathComponent.js"}],[593,{"./lib":604,"@ngraveio/bc-ur":2308},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.RegistryItem=void 0;const a=e("@ngraveio/bc-ur"),n=e("./lib");r.RegistryItem=class{constructor(){this.toCBOR=()=>{if(this.toDataItem()===undefined)throw new Error(`#[ur-registry][RegistryItem][fn.toCBOR]: registry ${this.getRegistryType()}'s method toDataItem returns undefined`);return(0,n.encodeDataItem)(this.toDataItem())},this.toUR=()=>new a.UR(this.toCBOR(),this.getRegistryType().getType()),this.toUREncoder=(e,t,r)=>{const n=this.toUR();return new a.UREncoder(n,e,t,r)}}}}}},{package:"@keystonehq/bc-ur-registry-eth>@keystonehq/bc-ur-registry",file:"node_modules/@keystonehq/bc-ur-registry/dist/RegistryItem.js"}],[594,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.RegistryTypes=r.RegistryType=void 0;class a{constructor(e,t){this.type=e,this.tag=t,this.getTag=()=>this.tag,this.getType=()=>this.type}}r.RegistryType=a,r.RegistryTypes={UUID:new a("uuid",37),BYTES:new a("bytes",undefined),CRYPTO_HDKEY:new a("crypto-hdkey",303),CRYPTO_KEYPATH:new a("crypto-keypath",304),CRYPTO_COIN_INFO:new a("crypto-coin-info",305),CRYPTO_ECKEY:new a("crypto-eckey",306),CRYPTO_OUTPUT:new a("crypto-output",308),CRYPTO_PSBT:new a("crypto-psbt",310),CRYPTO_ACCOUNT:new a("crypto-account",311),CRYPTO_MULTI_ACCOUNTS:new a("crypto-multi-accounts",1103),QR_HARDWARE_CALL:new a("qr-hardware-call",1201),KEY_DERIVATION_CALL:new a("key-derivation-call",1301),KEY_DERIVATION_SCHEMA:new a("key-derivation-schema",1302)}}}},{package:"@keystonehq/bc-ur-registry-eth>@keystonehq/bc-ur-registry",file:"node_modules/@keystonehq/bc-ur-registry/dist/RegistryType.js"}],[595,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.ScriptExpressions=r.ScriptExpression=void 0;class a{constructor(e,t){this.tag=e,this.expression=t,this.getTag=()=>this.tag,this.getExpression=()=>this.expression}}r.ScriptExpression=a,a.fromTag=e=>Object.values(r.ScriptExpressions).find((t=>t.getTag()===e)),r.ScriptExpressions={SCRIPT_HASH:new a(400,"sh"),WITNESS_SCRIPT_HASH:new a(401,"wsh"),PUBLIC_KEY:new a(402,"pk"),PUBLIC_KEY_HASH:new a(403,"pkh"),WITNESS_PUBLIC_KEY_HASH:new a(404,"wpkh"),COMBO:new a(405,"combo"),MULTISIG:new a(406,"multi"),SORTED_MULTISIG:new a(407,"sortedmulti"),ADDRESS:new a(307,"addr"),RAW_SCRIPT:new a(408,"raw")}}}},{package:"@keystonehq/bc-ur-registry-eth>@keystonehq/bc-ur-registry",file:"node_modules/@keystonehq/bc-ur-registry/dist/ScriptExpression.js"}],[596,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.UnknownURTypeError=void 0;class a extends Error{constructor(e){super(e)}}r.UnknownURTypeError=a}}},{package:"@keystonehq/bc-ur-registry-eth>@keystonehq/bc-ur-registry",file:"node_modules/@keystonehq/bc-ur-registry/dist/errors/index.js"}],[5967,{"../../../shared/constants/common":4495,"../../../shared/constants/network":4507,"../../../shared/constants/swaps":4516,"../../../shared/lib/fetch-with-cache":4525,"../../../shared/lib/swaps-utils":4528,"../../../shared/lib/transactions-controller-utils":4531,"../../../shared/modules/conversion.utils":4537,"../../../shared/modules/hexstring-utils":4544,"../../../shared/modules/swaps.utils":4559,"../../helpers/utils/confirm-tx.util":5381,"bignumber.js":2933},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.countDecimals=r.StxErrorTypes=void 0,r.fetchAggregatorMetadata=async function(e){const t=(0,g.getBaseApi)("aggregatorMetadata",e),r=await(0,u.default)({url:t,fetchOptions:{method:"GET",headers:f},cacheOptions:{cacheRefreshTime:h},functionName:"fetchAggregatorMetadata"}),a={};for(const e in r)(0,g.validateData)(y,r[e],t)&&(a[e]=r[e]);return a},r.fetchBlockedTokens=async function(e){const t=(0,g.getBaseApi)("blockedTokens",e);return await(0,u.default)({url:`${t}`,fetchOptions:{method:"GET",headers:f},cacheOptions:{cacheRefreshTime:h},functionName:"fetchBlockedTokens"})},r.fetchSwapsFeatureFlags=async function(){const e=o.SWAPS_API_V2_BASE_URL;return await(0,u.default)({url:`${e}/featureFlags`,fetchOptions:{method:"GET",headers:f},cacheOptions:{cacheRefreshTime:6e5},functionName:"fetchSwapsFeatureFlags"})},r.fetchSwapsGasPrices=async function(e){const t=(0,g.getBaseApi)("gasPrices",e),r=await(0,u.default)({url:t,fetchOptions:{method:"GET",headers:f},cacheOptions:{cacheRefreshTime:3e4},functionName:"fetchSwapsGasPrices"});if(!(0,g.validateData)(E,r,t))throw new Error(`${t} response is invalid`);const{SafeGasPrice:a,ProposeGasPrice:n,FastGasPrice:o}=r;return{safeLow:a,average:n,fast:o}},r.fetchToken=async function(e,t){const r=(0,g.getBaseApi)("token",t);return await(0,u.default)({url:`${r}?address=${e}`,fetchOptions:{method:"GET",headers:f},cacheOptions:{cacheRefreshTime:h},functionName:"fetchToken"})},r.fetchTokenPrice=async function(e){var t;const r=`spot-prices?tokenAddresses=${e}&vsCurrency=eth&includeMarketData=false`,a=await(0,u.default)({url:`https://price.api.cx.metamask.io/v2/chains/1/${r}`,fetchOptions:{method:"GET"},cacheOptions:{cacheRefreshTime:6e4},functionName:"fetchTokenPrice"});return null==a||null===(t=a[e])||void 0===t?void 0:t.eth},r.fetchTokens=async function(e){const t=(0,g.getBaseApi)("tokens",e),r=await(0,u.default)({url:t,fetchOptions:{method:"GET",headers:f},cacheOptions:{cacheRefreshTime:h},functionName:"fetchTokens"});return[o.SWAPS_CHAINID_DEFAULT_TOKEN_MAP[e]||null,...r.filter((r=>(0,g.validateData)(S,r,t,false)&&!((0,i.isSwapsDefaultTokenSymbol)(r.symbol,e)||(0,i.isSwapsDefaultTokenAddress)(r.address,e))))]},r.fetchTopAssets=async function(e){const t=(0,g.getBaseApi)("topAssets",e),r=await(0,u.default)({url:t,functionName:"fetchTopAssets",fetchOptions:{method:"GET",headers:f},cacheOptions:{cacheRefreshTime:h}})||[];return r.reduce(((e,r,a)=>(0,g.validateData)(A,r,t)?{...e,[r.address]:{index:String(a)}}:e),{})},r.formatSwapsValueForDisplay=R,r.getNetworkNameByChainId=r.getFeeForSmartTransaction=r.getClassNameForCharLength=void 0,r.getRenderableNetworkFeesForQuote=C,r.parseSmartTransactionsError=r.isContractAddressValid=r.getTranslatedStxErrorMessage=r.getSwapsLivenessForNetwork=void 0,r.quotesToRenderableData=function({quotes:e,gasPrice:t,conversionRate:r,currentCurrency:a,approveGas:o,tokenConversionRates:s,chainId:c,smartTransactionEstimatedGas:u,nativeCurrencySymbol:l,multiLayerL1ApprovalFeeTotal:g}){return Object.values(e).map((e=>{const{destinationAmount:m=0,sourceAmount:h=0,sourceTokenInfo:T,destinationTokenInfo:f,slippage:S,aggType:A,aggregator:y,gasEstimateWithRefund:v,averageGas:E,fee:D,trade:O,multiLayerL1TradeFeeTotal:I}=e;let M=null;null!==I&&null!==g?M=(0,p.sumHexes)(I||"0x0",g||"0x0"):null!==I&&(M=I);const k=(0,d.calcTokenAmount)(h,T.decimals).toString(10),P=(0,d.calcTokenAmount)(m,f.decimals).toPrecision(8);let N=null,_=null,L=null,B=null;({feeInFiat:N,feeInEth:_,rawNetworkFees:L,rawEthFee:B}=C({tradeGas:v||(0,p.decimalToHex)(E||8e5),approveGas:o,gasPrice:t,currentCurrency:a,conversionRate:r,tradeValue:O.value,sourceSymbol:T.symbol,sourceAmount:h,chainId:c,multiLayerL1FeeTotal:M})),u&&({feeInFiat:N,feeInEth:_}=b({chainId:c,currentCurrency:a,conversionRate:r,nativeCurrencySymbol:l,feeInWeiDec:u.feeEstimate}));const F=new n.BigNumber(100-S).div(100),w=new n.BigNumber(P).times(F).toFixed(6),J=s[f.address],H=(0,i.isSwapsDefaultTokenSymbol)(f.symbol,c)?(0,d.calcTokenAmount)(m,f.decimals).minus(B,10):new n.BigNumber(J||0,10).times((0,d.calcTokenAmount)(m,f.decimals),10).minus(B,10);let U,G=S;return"AGG"===A?U="swapAggregator":"RFQ"===A?(U="swapRequestForQuotation",G=0):U="DEX"===A?"swapDecentralizedExchange":"CONTRACT"===A?"swapDirectContract":"swapUnknown",{aggId:y,amountReceiving:`${P} ${f.symbol}`,destinationTokenDecimals:f.decimals,destinationTokenSymbol:f.symbol,destinationTokenValue:R(P),destinationIconUrl:f.iconUrl,isBestQuote:e.isBestQuote,liquiditySourceKey:U,feeInEth:_,detailedNetworkFees:`${_} (${N})`,networkFees:N,quoteSource:A,rawNetworkFees:L,slippage:G,sourceTokenDecimals:T.decimals,sourceTokenSymbol:T.symbol,sourceTokenValue:k,sourceTokenIconUrl:T.iconUrl,ethValueOfTrade:H,minimumAmountReceived:w,metaMaskFee:D}}))},r.showRemainingTimeInMinAndSec=void 0;var a,n=e("bignumber.js"),o=e("../../../shared/constants/swaps"),i=e("../../../shared/modules/swaps.utils"),s=e("../../../shared/constants/network"),c=e("../../helpers/utils/confirm-tx.util"),u=(a=e("../../../shared/lib/fetch-with-cache"))&&a.__esModule?a:{default:a},l=e("../../../shared/modules/hexstring-utils"),d=e("../../../shared/lib/transactions-controller-utils"),g=e("../../../shared/lib/swaps-utils"),p=e("../../../shared/modules/conversion.utils"),m=e("../../../shared/constants/common");const h=3e5,T="usd",f={"X-Client-Id":o.SWAPS_CLIENT_ID},S=[{property:"address",type:"string",validator:e=>(0,l.isValidHexAddress)(e,{allowNonPrefixed:!1})},{property:"symbol",type:"string",validator:e=>(0,g.truthyString)(e)&&e.length<=12},{property:"decimals",type:"string|number",validator:e=>Number(e)>=0&&Number(e)<=36}],A=S.slice(0,2),y=[{property:"color",type:"string",validator:e=>Boolean(e.match(/^#[A-Fa-f0-9]+$/u))},{property:"title",type:"string",validator:g.truthyString},{property:"icon",type:"string",validator:e=>Boolean(e.match(/^data:image/u))}],v=e=>!isNaN(e)&&e.match(/^[.0-9]+$/u)&&!isNaN(parseFloat(e)),E=[{property:"SafeGasPrice",type:"string",validator:v},{property:"ProposeGasPrice",type:"string",validator:v},{property:"FastGasPrice",type:"string",validator:v}];const b=({chainId:e,currentCurrency:t,conversionRate:r,USDConversionRate:a,nativeCurrencySymbol:n,feeInWeiDec:i})=>{var s;const u=(0,p.decimalToHex)(i),l=(0,p.getValueFromWeiHex)({value:u,toDenomination:m.EtherDenomination.ETH,numberOfDecimals:5}),d=(0,p.getValueFromWeiHex)({value:u,toCurrency:t,conversionRate:r,numberOfDecimals:2});let g;g=t===T?d:(0,p.getValueFromWeiHex)({value:u,toCurrency:T,conversionRate:a,numberOfDecimals:2});return{feeInUsd:g,feeInFiat:(0,c.formatCurrency)(d,t),feeInEth:`${l} ${n||(null===(s=o.SWAPS_CHAINID_DEFAULT_TOKEN_MAP[e])||void 0===s?void 0:s.symbol)}`,rawEthFee:l}};function C({tradeGas:e,approveGas:t,gasPrice:r,currentCurrency:a,conversionRate:s,USDConversionRate:u,tradeValue:l,sourceSymbol:g,sourceAmount:h,chainId:f,nativeCurrencySymbol:S,multiLayerL1FeeTotal:A}){const y=new n.BigNumber(e||"0x0",16).plus(t||"0x0",16).toString(16);let v=(0,d.calcGasTotal)(y,r);null!==A&&(v=(0,p.sumHexes)(v||"0x0",A||"0x0"));const E=new n.BigNumber(l,16).minus((0,i.isSwapsDefaultTokenSymbol)(g,f)?h:0,10).toString(16),b=new n.BigNumber(v,16).plus(E,16).toString(16),C=(0,p.getValueFromWeiHex)({value:b,toDenomination:m.EtherDenomination.ETH,numberOfDecimals:5}),R=(0,p.getValueFromWeiHex)({value:b,toCurrency:a,conversionRate:s,numberOfDecimals:2}),D=(0,c.formatCurrency)(R,a);let O;O=a===T?R:(0,p.getValueFromWeiHex)({value:b,toCurrency:T,conversionRate:u,numberOfDecimals:2});return{rawNetworkFees:R,feeInUsd:O,rawEthFee:C,feeInFiat:D,feeInEth:`${C} ${S||o.SWAPS_CHAINID_DEFAULT_TOKEN_MAP[f].symbol}`,nonGasFee:E}}function R(e){let t;return t="string"==typeof e&&e.includes("...")?e:(0,d.toPrecisionWithoutTrailingZeros)(e,12),t.match(/e[+-]/u)&&(t=new n.BigNumber(t).toFixed()),t}r.getFeeForSmartTransaction=b;r.getClassNameForCharLength=(e,t)=>{let r;return r=!e||e.length<=10?"lg":e.length>10&&e.length<=13?"md":"sm",`${t}--${r}`};r.isContractAddressValid=(e,t)=>!(!e||!o.ALLOWED_CONTRACT_ADDRESSES[t])&&o.ALLOWED_CONTRACT_ADDRESSES[t].some((t=>e.toLowerCase()===t.toLowerCase()));const D=e=>{switch(e){case s.CHAIN_IDS.MAINNET:return o.ETHEREUM;case s.CHAIN_IDS.BSC:return o.BSC;case s.CHAIN_IDS.POLYGON:return o.POLYGON;case s.CHAIN_IDS.GOERLI:return o.GOERLI;case s.CHAIN_IDS.AVALANCHE:return o.AVALANCHE;case s.CHAIN_IDS.OPTIMISM:return o.OPTIMISM;case s.CHAIN_IDS.ARBITRUM:return o.ARBITRUM;case s.CHAIN_IDS.ZKSYNC_ERA:return o.ZKSYNC_ERA;case s.CHAIN_IDS.LINEA_MAINNET:return o.LINEA;case s.CHAIN_IDS.BASE:return o.BASE;default:return""}};r.getNetworkNameByChainId=D;r.getSwapsLivenessForNetwork=(e,t={})=>{const r=D(e);if([s.CHAIN_IDS.LOCALHOST,s.CHAIN_IDS.GOERLI].includes(e))return{swapsFeatureIsLive:!0};if(!t[r])return{swapsFeatureIsLive:!1};return t[r].extensionActive?{swapsFeatureIsLive:!0}:{swapsFeatureIsLive:t[r].fallbackToV1}};r.countDecimals=e=>{var t;return e&&Math.floor(e)!==e&&(null===(t=e.toString().split(".")[1])||void 0===t?void 0:t.length)||0};r.showRemainingTimeInMinAndSec=e=>{if(!Number.isInteger(e))return"0:00";return`${Math.floor(e/60)}:${(e%60).toString().padStart(2,"0")}`};let O=r.StxErrorTypes=function(e){return e.unavailable="unavailable",e.notEnoughFunds="not_enough_funds",e.regularTxPending="regular_tx_pending",e}({});r.getTranslatedStxErrorMessage=(e,t)=>{switch(e){case O.unavailable:case O.regularTxPending:return t("smartSwapsErrorUnavailable");case O.notEnoughFunds:return t("smartSwapsErrorNotEnoughFunds");default:return t("smartSwapsErrorUnavailable")}};r.parseSmartTransactionsError=e=>{const t=e.slice(12);return JSON.parse(t.trim())}}}},{package:"$root$",file:"ui/pages/swaps/swaps.util.ts"}],[597,{"../CryptoHDKey":586,"../RegistryItem":593,"../RegistryType":594,"../lib":604,buffer:3028},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(t){(function(){Object.defineProperty(r,"__esModule",{value:!0}),r.CryptoMultiAccounts=void 0;const a=e("../RegistryType"),n=e("../CryptoHDKey"),o=e("../RegistryItem"),i=e("../lib");var s;!function(e){e[e.masterFingerprint=1]="masterFingerprint",e[e.keys=2]="keys",e[e.device=3]="device",e[e.deviceId=4]="deviceId",e[e.version=5]="version"}(s||(s={}));class c extends o.RegistryItem{constructor(e,t,r,n,o){super(),this.masterFingerprint=e,this.keys=t,this.device=r,this.deviceId=n,this.version=o,this.getRegistryType=()=>a.RegistryTypes.CRYPTO_MULTI_ACCOUNTS,this.getMasterFingerprint=()=>this.masterFingerprint,this.getKeys=()=>this.keys,this.getDevice=()=>this.device,this.getDeviceId=()=>this.deviceId,this.getVersion=()=>this.version,this.toDataItem=()=>{const e={};return this.masterFingerprint&&(e[s.masterFingerprint]=this.masterFingerprint.readUInt32BE(0)),this.keys&&(e[s.keys]=this.keys.map((e=>{const t=e.toDataItem();return t.setTag(e.getRegistryType().getTag()),t}))),this.device&&(e[s.device]=this.device),this.deviceId&&(e[s.deviceId]=this.deviceId),this.version&&(e[s.version]=this.version),new i.DataItem(e)}}}r.CryptoMultiAccounts=c,c.fromDataItem=e=>{const r=e.getData(),a=t.alloc(4),o=r[s.masterFingerprint];o&&a.writeUInt32BE(o,0);const i=r[s.keys].map((e=>n.CryptoHDKey.fromDataItem(e))),u=r[s.device],l=r[s.deviceId],d=r[s.version];return new c(a,i,u,l,d)},c.fromCBOR=e=>{const t=(0,i.decodeToDataItem)(e);return c.fromDataItem(t)}}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"@keystonehq/bc-ur-registry-eth>@keystonehq/bc-ur-registry",file:"node_modules/@keystonehq/bc-ur-registry/dist/extended/CryptoMultiAccounts.js"}],[598,{"../CryptoKeypath":587,"../RegistryItem":593,"../RegistryType":594,"../lib":604},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.KeyDerivationSchema=r.DerivationAlgorithm=r.Curve=void 0;const a=e("../RegistryType"),n=e("../RegistryItem"),o=e("../lib"),i=e("../CryptoKeypath");var s,c,u;!function(e){e[e.keyPath=1]="keyPath",e[e.curve=2]="curve",e[e.algo=3]="algo"}(s||(s={})),function(e){e[e.secp256k1=0]="secp256k1",e[e.ed25519=1]="ed25519"}(c=r.Curve||(r.Curve={})),function(e){e[e.slip10=0]="slip10",e[e.bip32ed25519=1]="bip32ed25519"}(u=r.DerivationAlgorithm||(r.DerivationAlgorithm={}));class l extends n.RegistryItem{constructor(e,t=c.secp256k1,r=u.slip10){super(),this.keypath=e,this.curve=t,this.algo=r,this.getRegistryType=()=>a.RegistryTypes.KEY_DERIVATION_SCHEMA,this.getKeypath=()=>this.keypath,this.getCurve=()=>this.curve,this.getAlgo=()=>this.algo,this.toDataItem=()=>{const e={},t=this.getKeypath().toDataItem();return t.setTag(this.getKeypath().getRegistryType().getTag()),e[s.keyPath]=t,e[s.curve]=this.curve,e[s.algo]=this.algo,new o.DataItem(e)}}}r.KeyDerivationSchema=l,l.fromDataItem=e=>{const t=e.getData(),r=i.CryptoKeypath.fromDataItem(t[s.keyPath]),a=t[s.curve],n=t[s.algo];return new l(r,a,n)},l.fromCBOR=e=>{const t=(0,o.decodeToDataItem)(e);return l.fromDataItem(t)}}}},{package:"@keystonehq/bc-ur-registry-eth>@keystonehq/bc-ur-registry",file:"node_modules/@keystonehq/bc-ur-registry/dist/extended/DerivationSchema.js"}],[5983,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.getApprovalFlows=function(e){return e.metamask.approvalFlows},r.getApprovalRequestsByType=void 0,r.getPendingApprovals=function(e){return Object.values(e.metamask.pendingApprovals??[])},r.hasPendingApprovals=function(e,t,r){const a=Object.values(e.metamask.pendingApprovals).filter((({type:e})=>t.includes(e)));if(r)return a.some(r);return a.length>0};r.getApprovalRequestsByType=(e,t,r)=>{const a=Object.values(e.metamask.pendingApprovals).filter((({type:e})=>e===t));return r?a.filter(r):a}}}},{package:"$root$",file:"ui/selectors/approvals.ts"}],[5984,{".":5987,"../../shared/constants/gas":4500,"../../shared/lib/transactions-controller-utils":4531,"../../shared/modules/conversion.utils":4537,"../../shared/modules/gas.utils":4543,"../../shared/modules/string-utils":4558,"../ducks/metamask/metamask":5346,"../helpers/utils/confirm-tx.util":5381,"../helpers/utils/tx-helper":5398,"./custom-gas":5985,"./selectors":5994,"@metamask/transaction-controller":2234,reselect:4269},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.use4ByteResolutionSelector=r.unconfirmedTransactionsListSelector=r.unconfirmedTransactionsHashSelector=r.unconfirmedMessagesHashSelector=r.txDataSelector=r.transactionFeeSelector=r.tokenAddressSelector=r.sendTokenTokenAmountAndToAddressSelector=r.currentCurrencySelector=r.conversionRateSelector=r.contractExchangeRateSelector=void 0;var a,n=e("reselect"),o=e("@metamask/transaction-controller"),i=(a=e("../helpers/utils/tx-helper"))&&a.__esModule?a:{default:a},s=e("../helpers/utils/confirm-tx.util"),c=e("../ducks/metamask/metamask"),u=e("../../shared/constants/gas"),l=e("../../shared/modules/gas.utils"),d=e("../../shared/modules/string-utils"),g=e("../../shared/lib/transactions-controller-utils"),p=e("../../shared/modules/conversion.utils"),m=e("./custom-gas"),h=e("./selectors"),T=e(".");const f=e=>(0,T.getUnapprovedTransactions)(e),S=e=>e.metamask.unapprovedMsgs,A=e=>e.metamask.unapprovedPersonalMsgs,y=e=>e.metamask.unapprovedDecryptMsgs,v=e=>e.metamask.unapprovedEncryptionPublicKeyMsgs,E=e=>e.metamask.unapprovedTypedMessages;r.unconfirmedTransactionsListSelector=(0,n.createSelector)(f,S,A,y,v,E,h.getCurrentChainId,((e={},t={},r={},a={},n={},o={},s)=>(0,i.default)(e,t,r,a,n,o,s)||[])),r.unconfirmedTransactionsHashSelector=(0,n.createSelector)(f,S,A,y,v,E,h.getCurrentChainId,((e={},t={},r={},a={},n={},o={},i)=>({...Object.keys(e).reduce(((t,r)=>{const a={...t};return e[r].chainId===i&&(a[r]=e[r]),a}),{}),...t,...r,...a,...n,...o}))),r.unconfirmedMessagesHashSelector=(0,n.createSelector)(S,A,y,v,E,((e={},t={},r={},a={},n={})=>({...e,...t,...r,...a,...n})));r.use4ByteResolutionSelector=e=>e.metamask.use4ByteResolution;const b=e=>e.metamask.currentCurrency;r.currentCurrencySelector=b;const C=e=>{var t;return null===(t=e.metamask.currencyRates[(0,c.getProviderConfig)(e).ticker])||void 0===t?void 0:t.conversionRate};r.conversionRateSelector=C;const R=e=>e.confirmTransaction.txData;r.txDataSelector=R;const D=(0,n.createSelector)((e=>e.confirmTransaction.tokenProps),(e=>e&&e.decimals)),O=(0,n.createSelector)((e=>e.confirmTransaction.tokenData),(e=>e&&e.args||[])),I=(0,n.createSelector)(R,(e=>e&&e.txParams||{})),M=r.tokenAddressSelector=(0,n.createSelector)(I,(e=>e&&e.to));r.sendTokenTokenAmountAndToAddressSelector=(0,n.createSelector)(O,D,((e,t)=>{let r="",a="0";if(e&&e.length){r=e._to;let n=e._value.toString();t&&(n=(0,g.calcTokenAmount)(n,t).toFixed()),a=(0,s.roundExponential)(n)}return{toAddress:r,tokenAmount:a}})),r.contractExchangeRateSelector=(0,n.createSelector)((e=>{var t;const r=(0,h.getCurrentChainId)(e),a=null===(t=e.metamask.marketData)||void 0===t?void 0:t[r];return Object.entries(a).reduce(((e,[t,r])=>(e[t]=(null==r?void 0:r.price)??null,e)),{})}),M,((e,t)=>e[Object.keys(e).find((e=>(0,d.isEqualCaseInsensitive)(e,t)))]));r.transactionFeeSelector=function(e,t){var r,a,n,i;const d=b(e),g=C(e),h=(0,c.getNativeCurrency)(e),f=(0,c.getGasFeeEstimates)(e)||{},S=(0,c.getGasEstimateType)(e),A=(0,T.checkNetworkAndAccountSupports1559)(e),y={gasLimit:(null===(r=t.txParams)||void 0===r?void 0:r.gas)??"0x0"};if(A){var v;const{gasPrice:e="0"}=f,r=f[t.userFeeLevel]||{};if((null===(v=t.txParams)||void 0===v?void 0:v.type)===o.TransactionEnvelopeType.legacy){var E;y.gasPrice=(null===(E=t.txParams)||void 0===E?void 0:E.gasPrice)??(0,p.decGWEIToHexWEI)(e)}else{var R,D,O,I;const{suggestedMaxPriorityFeePerGas:a,suggestedMaxFeePerGas:n}=r;y.maxFeePerGas=null===(R=t.txParams)||void 0===R||!R.maxFeePerGas||t.userFeeLevel!==u.CUSTOM_GAS_ESTIMATE&&n?(0,p.decGWEIToHexWEI)(n||e):null===(D=t.txParams)||void 0===D?void 0:D.maxFeePerGas,y.maxPriorityFeePerGas=null===(O=t.txParams)||void 0===O||!O.maxPriorityFeePerGas||t.userFeeLevel!==u.CUSTOM_GAS_ESTIMATE&&a?a&&(0,p.decGWEIToHexWEI)(a)||y.maxFeePerGas:null===(I=t.txParams)||void 0===I?void 0:I.maxPriorityFeePerGas,y.baseFeePerGas=(0,p.decGWEIToHexWEI)(f.estimatedBaseFee)}}else switch(S){case u.GasEstimateTypes.feeMarket:case u.GasEstimateTypes.none:y.gasPrice=(null===(a=t.txParams)||void 0===a?void 0:a.gasPrice)??"0x0";break;case u.GasEstimateTypes.ethGasPrice:y.gasPrice=(null===(n=t.txParams)||void 0===n?void 0:n.gasPrice)??(0,p.decGWEIToHexWEI)(f.gasPrice);break;case u.GasEstimateTypes.legacy:y.gasPrice=(null===(i=t.txParams)||void 0===i?void 0:i.gasPrice)??(0,m.getAveragePriceEstimateInHexWEI)(e)}const{txParams:{value:M="0x0"}={}}=t,k=(0,p.getValueFromWeiHex)({value:M,fromCurrency:h,toCurrency:d,conversionRate:g,numberOfDecimals:2}),P=(0,p.getValueFromWeiHex)({value:M,fromCurrency:h,toCurrency:h,conversionRate:g,numberOfDecimals:6}),N=(0,l.getMinimumGasTotalInHexWei)(y),_=(0,l.getMaximumGasTotalInHexWei)(y),L=(0,s.getTransactionFee)({value:N,fromCurrency:h,toCurrency:d,numberOfDecimals:2,conversionRate:g}),B=(0,s.getTransactionFee)({value:_,fromCurrency:h,toCurrency:d,numberOfDecimals:2,conversionRate:g}),F=(0,s.getTransactionFee)({value:N,fromCurrency:h,toCurrency:h,numberOfDecimals:6,conversionRate:g});return{hexTransactionAmount:M,fiatTransactionAmount:k,ethTransactionAmount:P,hexMinimumTransactionFee:N,fiatMinimumTransactionFee:L,hexMaximumTransactionFee:_,fiatMaximumTransactionFee:B,ethTransactionFee:F,fiatTransactionTotal:(0,s.addFiat)(L,k),ethTransactionTotal:(0,s.addEth)(F,P),hexTransactionTotal:(0,p.sumHexes)(M,N),gasEstimationObject:y}}}}},{package:"$root$",file:"ui/selectors/confirm-transaction.js"}],[5985,{".":5987,"../../app/scripts/lib/util":120,"../../shared/constants/common":4495,"../../shared/constants/gas":4500,"../../shared/lib/transactions-controller-utils":4531,"../../shared/modules/Numeric":4533,"../../shared/modules/conversion.utils":4537,"../ducks/metamask/metamask":5346,"../ducks/send":5348,"../helpers/utils/confirm-tx.util":5381,"../helpers/utils/formatters":5383},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.basicPriceEstimateToETHTotal=S,r.getAverageEstimate=T,r.getAveragePriceEstimateInHexWEI=function(e){return y(T(e))},r.getBasicGasEstimateLoadingStatus=function(e){return!1===v(e)},r.getCustomGasLimit=function(e){return e.gas.customData.limit},r.getCustomGasPrice=m,r.getDefaultActiveButtonIndex=function(e,t,r){return e.map((({priceInHexWei:e})=>e)).lastIndexOf((0,a.addHexPrefix)(t||r))},r.getFastPriceEstimate=f,r.getFastPriceEstimateInHexWEI=function(e){return y(f(e)||"0x0")},r.getGasPriceInHexWei=y,r.getIsCustomNetworkGasPriceFetched=function(e){return(0,u.getGasEstimateType)(e)===c.GasEstimateTypes.ethGasPrice&&!(0,p.getIsMainnet)(e)},r.getIsEthGasPriceFetched=function(e){return(0,u.getGasEstimateType)(e)===c.GasEstimateTypes.ethGasPrice&&(0,p.getIsMainnet)(e)},r.getIsGasEstimatesFetched=v,r.getNoGasPriceFetched=function(e){return(0,u.getGasEstimateType)(e)===c.GasEstimateTypes.none},r.getRenderableConvertedCurrencyFee=function(e,t,r,a){const i=S(new d.Numeric(e,10).toBase(16).toString(),t),s=(0,n.decEthToConvertedCurrency)(i,r,a);return(0,o.formatCurrency)(s,r)},r.getRenderableEthFee=function(e,t,r=9,a="ETH"){const n=S(new d.Numeric(e,10).toBase(16).toString(),t,r);return(0,i.formatETHFee)(n,a)},r.getSafeLowEstimate=h,r.isCustomPriceExcessive=function(e,t=!1){const r=t?(0,s.getGasPrice)(e):m(e),a=f(e);if(!r||!a)return!1;return new d.Numeric(r,16,g.EtherDenomination.WEI).toDenomination(g.EtherDenomination.GWEI).greaterThan(Math.floor(1.5*a),10)},r.isCustomPriceSafe=function(e){const t=h(e),r=m(e);if(!r)return!0;if(!t)return!1;return new d.Numeric(r,16,g.EtherDenomination.WEI).toDenomination(g.EtherDenomination.GWEI).greaterThan(t,10)},r.isCustomPriceSafeForCustomNetwork=function(e){const t=T(e),r=m(e);if(!r)return!0;if(!t)return!1;return new d.Numeric(r,16,g.EtherDenomination.WEI).toDenomination(g.EtherDenomination.GWEI).greaterThan(t,10)},r.priceEstimateToWei=A;var a=e("../../app/scripts/lib/util"),n=e("../../shared/modules/conversion.utils"),o=e("../helpers/utils/confirm-tx.util"),i=e("../helpers/utils/formatters"),s=e("../ducks/send"),c=e("../../shared/constants/gas"),u=e("../ducks/metamask/metamask"),l=e("../../shared/lib/transactions-controller-utils"),d=e("../../shared/modules/Numeric"),g=e("../../shared/constants/common"),p=e(".");function m(e){return e.gas.customData.price}function h(e){const t=(0,u.getGasFeeEstimates)(e);return(0,u.getGasEstimateType)(e)===c.GasEstimateTypes.legacy?null==t?void 0:t.low:null}function T(e){const t=(0,u.getGasFeeEstimates)(e);return(0,u.getGasEstimateType)(e)===c.GasEstimateTypes.legacy?null==t?void 0:t.medium:null}function f(e){const t=(0,u.getGasFeeEstimates)(e);return(0,u.getGasEstimateType)(e)===c.GasEstimateTypes.legacy?null==t?void 0:t.high:null}function S(e,t,r=9){return new d.Numeric((0,l.calcGasTotal)(t,e),16,g.EtherDenomination.GWEI).round(r).toBase(10).toString()}function A(e){return new d.Numeric(e,16,g.EtherDenomination.GWEI).toDenomination(g.EtherDenomination.WEI).round(9).toString()}function y(e){const t=new d.Numeric(e,10).toBase(16).toString();return(0,a.addHexPrefix)(A(t))}function v(e){const t=(0,u.getGasEstimateType)(e);return!(0,u.isEIP1559Network)(e)&&t!==c.GasEstimateTypes.none}}}},{package:"$root$",file:"ui/selectors/custom-gas.js"}],[5986,{"../../shared/constants/onboarding":4510,"../helpers/constants/routes":5361},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.getFirstTimeFlowType=void 0,r.getFirstTimeFlowTypeRouteAfterMetaMetricsOptIn=function(e){const{firstTimeFlowType:t}=e.metamask;if(t===a.FirstTimeFlowType.create)return n.ONBOARDING_CREATE_PASSWORD_ROUTE;if(t===a.FirstTimeFlowType.import)return n.ONBOARDING_IMPORT_WITH_SRP_ROUTE;if(t===a.FirstTimeFlowType.restore)return n.ONBOARDING_SECURE_YOUR_WALLET_ROUTE;return n.DEFAULT_ROUTE},r.getFirstTimeFlowTypeRouteAfterUnlock=function(e){const{firstTimeFlowType:t}=e.metamask;if(t===a.FirstTimeFlowType.create)return n.ONBOARDING_CREATE_PASSWORD_ROUTE;if(t===a.FirstTimeFlowType.import)return n.ONBOARDING_IMPORT_WITH_SRP_ROUTE;if(t===a.FirstTimeFlowType.restore)return n.ONBOARDING_METAMETRICS;return n.DEFAULT_ROUTE},r.getOnboardingInitiator=void 0;var a=e("../../shared/constants/onboarding"),n=e("../helpers/constants/routes");r.getFirstTimeFlowType=e=>e.metamask.firstTimeFlowType;r.getOnboardingInitiator=e=>{const{onboardingTabs:t}=e.metamask;if(!t||1!==Object.keys(t).length)return null;const r=Object.keys(t)[0];return{location:r,tabId:t[r]}}}}},{package:"$root$",file:"ui/selectors/first-time-flow.js"}],[5987,{"../pages/confirmations/selectors/confirm":5716,"./approvals":5983,"./confirm-transaction":5984,"./custom-gas":5985,"./first-time-flow":5986,"./metametrics":5991,"./permissions":5993,"./selectors":5994,"./transactions":5995},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var a=e("../pages/confirmations/selectors/confirm");Object.keys(a).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in r&&r[e]===a[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return a[e]}}))}));var n=e("./confirm-transaction");Object.keys(n).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in r&&r[e]===n[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return n[e]}}))}));var o=e("./custom-gas");Object.keys(o).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in r&&r[e]===o[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return o[e]}}))}));var i=e("./first-time-flow");Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in r&&r[e]===i[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return i[e]}}))}));var s=e("./metametrics");Object.keys(s).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in r&&r[e]===s[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return s[e]}}))}));var c=e("./permissions");Object.keys(c).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in r&&r[e]===c[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return c[e]}}))}));var u=e("./selectors");Object.keys(u).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in r&&r[e]===u[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return u[e]}}))}));var l=e("./transactions");Object.keys(l).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in r&&r[e]===l[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return l[e]}}))}));var d=e("./approvals");Object.keys(d).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in r&&r[e]===d[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return d[e]}}))}))}}},{package:"$root$",file:"ui/selectors/index.js"}],[599,{"../RegistryItem":593,"../RegistryType":594,"../lib":604,"./DerivationSchema":598},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.KeyDerivation=void 0;const a=e("../RegistryType"),n=e("../RegistryItem"),o=e("../lib"),i=e("./DerivationSchema");var s;!function(e){e[e.schemas=1]="schemas"}(s||(s={}));class c extends n.RegistryItem{constructor(e){super(),this.schemas=e,this.getRegistryType=()=>a.RegistryTypes.KEY_DERIVATION_CALL,this.getSchemas=()=>this.schemas,this.toDataItem=()=>{const e={};return e[s.schemas]=this.schemas.map((e=>{const t=e.toDataItem();return t.setTag(e.getRegistryType().getTag()),t})),new o.DataItem(e)}}}r.KeyDerivation=c,c.fromDataItem=e=>{const t=e.getData()[s.schemas].map((e=>i.KeyDerivationSchema.fromDataItem(e)));return new c(t)},c.fromCBOR=e=>{const t=(0,o.decodeToDataItem)(e);return c.fromDataItem(t)}}}},{package:"@keystonehq/bc-ur-registry-eth>@keystonehq/bc-ur-registry",file:"node_modules/@keystonehq/bc-ur-registry/dist/extended/KeyDerivation.js"}],[5991,{reselect:4269},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.selectMatchingFragment=r.selectFragments=r.selectFragmentBySuccessEvent=r.selectFragmentById=r.getParticipateInMetaMetrics=r.getDataCollectionForMarketing=void 0;var a=e("reselect");const n=e=>e.metamask.fragments;r.selectFragments=n;r.getDataCollectionForMarketing=e=>e.metamask.dataCollectionForMarketing;r.getParticipateInMetaMetrics=e=>Boolean(e.metamask.participateInMetaMetrics);const o=r.selectFragmentBySuccessEvent=(0,a.createSelector)(n,((e,t)=>t),((e,t)=>t.persist?Object.values(e).find((e=>e.successEvent===t.successEvent)):undefined)),i=r.selectFragmentById=(0,a.createSelector)(n,((e,t)=>t),((e,t)=>t&&null!=e&&e[t]?e[t]:undefined));r.selectMatchingFragment=(0,a.createSelector)(((e,t)=>o(e,t.fragmentOptions)),((e,t)=>i(e,t.existingId)),((e,t)=>t??e))}}},{package:"$root$",file:"ui/selectors/metametrics.js"}],[5993,{".":5987,"../../shared/constants/permissions":4511,"./approvals":5983,"./util":5996,"@metamask/controller-utils":1163,"@metamask/snaps-rpc-methods":2086},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.activeTabHasPermissions=function(e){var t;const{activeTab:r,metamask:a}=e,{subjects:n={}}=a;return Boolean(Object.keys((null===(t=n[r.origin])||void 0===t?void 0:t.permissions)||{}).length>0)},r.getAccountToConnectToActiveTab=function(e){const t=(0,c.getSelectedInternalAccount)(e),r=d(e),{metamask:{internalAccounts:{accounts:a}}}=e,n=Object.keys(a).length;if(r.length&&r.length!==n&&-1===r.findIndex((e=>e===t.address)))return(0,c.getInternalAccount)(e,t.id);return undefined},r.getAddressConnectedSubjectMap=function(e){const t=m(e),r=p(e),a={};return Object.keys(r).forEach((e=>{const{iconUrl:n,name:o}=t[e]||{};r[e].forEach((t=>{const r=o||e;a[t]=a[t]?{...a[t],[e]:{iconUrl:n,name:r}}:{[e]:{iconUrl:n,name:r}}}))})),a},r.getConnectedSubjectsForAllAddresses=void 0,r.getConnectedSubjectsForSelectedAddress=function(e){const t=(0,c.getSelectedInternalAccount)(e),r=u(e),a=m(e),n=[];return Object.entries(r).forEach((([e,r])=>{if(!h(r).includes(t.address))return;const{extensionId:o,name:i,iconUrl:s}=a[e]||{};n.push({extensionId:o,origin:e,name:i,iconUrl:s})})),n},r.getFirstPermissionRequest=function(e){const t=A(e);return t&&t[0]?t[0]:null},r.getFirstSnapInstallOrUpdateRequest=function(e){var t;return(null===(t=S(e))||void 0===t?void 0:t[0])??null},r.getLastConnectedInfo=function(e){const{permissionHistory:t={}}=e.metamask;return Object.keys(t).reduce(((e,r)=>(t[r].eth_accounts&&(e[r]=JSON.parse(JSON.stringify(t[r].eth_accounts))),e)),{})},r.getOrderedConnectedAccountsForActiveTab=function(e){var t;const{activeTab:r,metamask:{permissionHistory:a}}=e,n=null===(t=a[r.origin])||void 0===t||null===(t=t.eth_accounts)||void 0===t?void 0:t.accounts,o=(0,c.getMetaMaskAccountsOrdered)(e),i=d(e);return o.filter((e=>i.includes(e.address))).map((e=>({...e,metadata:{...e.metadata,lastActive:null==n?void 0:n[e.address]}}))).sort((({lastSelected:e},{lastSelected:t})=>e===t?0:e===undefined?1:t===undefined?-1:t-e))},r.getOrderedConnectedAccountsForConnectedDapp=function(e,t){var r;const{metamask:{permissionHistory:a}}=e,n=null===(r=a[t.origin])||void 0===r||null===(r=r.eth_accounts)||void 0===r?void 0:r.accounts,o=(0,c.getMetaMaskAccountsOrdered)(e),i=g(e,t);return o.filter((e=>i.includes(e.address))).map((e=>({...e,metadata:{...e.metadata,lastActive:null==n?void 0:n[e.address]}}))).sort((({lastSelected:e},{lastSelected:t})=>e===t?0:e===undefined?1:t===undefined?-1:t-e))},r.getPermissionSubjects=u,r.getPermissionSubjectsDeepEqual=void 0,r.getPermissions=function(e,t){var r;return null===(r=u(e)[t])||void 0===r?void 0:r.permissions},r.getPermissionsForActiveTab=function(e){var t;const{activeTab:r,metamask:a}=e,{subjects:n={}}=a,o=(null===(t=n[r.origin])||void 0===t?void 0:t.permissions)??{};return Object.keys(o).map((e=>({key:e,value:o[e]})))},r.getPermissionsRequests=A,r.getPermittedAccounts=l,r.getPermittedAccountsByOrigin=p,r.getPermittedAccountsForCurrentTab=d,r.getPermittedAccountsForSelectedTab=g,r.getRequestState=function(e,t){var r;return null===(r=e.metamask.pendingApprovals[t])||void 0===r?void 0:r.requestState},r.getRequestType=function(e,t){var r;return null===(r=e.metamask.pendingApprovals[t])||void 0===r?void 0:r.type},r.getSnapInstallOrUpdateRequests=S,r.getSubjectMetadata=m,r.getSubjectMetadataDeepEqual=void 0,r.getSubjectsWithPermission=function(e,t){const r=u(e),a=[];return Object.entries(r).forEach((([r,{permissions:n}])=>{if(n[t]){const{extensionId:t,name:n,iconUrl:o}=(0,c.getTargetSubjectMetadata)(e,r)||{};a.push({extensionId:t,origin:r,name:n,iconUrl:o})}})),a},r.getSubjectsWithSnapPermission=function(e,t){const r=u(e);return Object.entries(r).filter((([e,{permissions:r}])=>{var a;return null===(a=r[n.WALLET_SNAP_PERMISSION_KEY])||void 0===a?void 0:a.caveats[0].value[t]})).map((([t,r])=>{const{extensionId:a,name:n,iconUrl:o}=(0,c.getTargetSubjectMetadata)(e,t)||{};return{extensionId:a,origin:t,name:n,iconUrl:o}}))},r.isAccountConnectedToCurrentTab=void 0;var a=e("@metamask/controller-utils"),n=e("@metamask/snaps-rpc-methods"),o=e("../../shared/constants/permissions"),i=e("./approvals"),s=e("./util"),c=e(".");r.getPermissionSubjectsDeepEqual=(0,s.createDeepEqualSelector)((e=>e.metamask.subjects||{}),(e=>e)),r.getSubjectMetadataDeepEqual=(0,s.createDeepEqualSelector)((e=>e.metamask.subjectMetadata),(e=>e));function u(e){return e.metamask.subjects||{}}function l(e,t){return f(T(function(e,t){var r;return t&&(null===(r=e.metamask.subjects)||void 0===r?void 0:r[t])}(e,t)))}function d(e){return l(e,(0,c.getOriginOfCurrentTab)(e))}function g(e,t){return l(e,t)}function p(e){const t=u(e);return Object.keys(t).reduce(((e,r)=>{const a=h(t[r]);return a.length>0&&(e[r]=a),e}),{})}function m(e){return e.metamask.subjectMetadata}r.getConnectedSubjectsForAllAddresses=(0,s.createDeepEqualSelector)(u,m,((e,t)=>{const r={};return Object.entries(e).forEach((([e,a])=>{h(a).forEach((a=>{r[a]||(r[a]=[]);const n=t[e];r[a].push({origin:e,...n})}))})),r}));r.isAccountConnectedToCurrentTab=(0,s.createDeepEqualSelector)(d,((e,t)=>t),((e,t)=>e.some((e=>e===t))));function h(e){return f(T(e))}function T(e={}){var t;return(null===(t=e.permissions)||void 0===t?void 0:t.eth_accounts)||{}}function f(e){const t=function(e={}){return Array.isArray(e.caveats)&&e.caveats.find((e=>e.type===o.CaveatTypes.restrictReturnedAccounts))}(e);return t&&Array.isArray(t.value)?t.value:[]}function S(e){return Object.values(e.metamask.pendingApprovals).filter((({type:e})=>"wallet_installSnap"===e||"wallet_updateSnap"===e||"wallet_installSnapResult"===e)).map((({requestData:e})=>e))}function A(e){var t;return null===(t=(0,i.getApprovalRequestsByType)(e,a.ApprovalType.WalletRequestPermissions))||void 0===t?void 0:t.map((({requestData:e})=>e))}}}},{package:"$root$",file:"ui/selectors/permissions.js"}],[5994,{"../../app/scripts/lib/util":120,"../../shared/constants/app":4493,"../../shared/constants/bridge":4494,"../../shared/constants/hardware-wallets":4501,"../../shared/constants/keyring":4502,"../../shared/constants/labels":4503,"../../shared/constants/network":4507,"../../shared/constants/security-provider":4513,"../../shared/constants/swaps":4516,"../../shared/constants/terms":4517,"../../shared/constants/time":4518,"../../shared/constants/tokens":4519,"../../shared/modules/conversion.utils":4537,"../../shared/modules/selectors":4554,"../../shared/modules/string-utils":4558,"../../shared/notifications":4562,"../ducks/app/app":5336,"../ducks/metamask/metamask":5346,"../helpers/constants/design-system":5355,"../helpers/constants/privacy-policy":5360,"../helpers/constants/survey":5366,"../helpers/utils/util":5399,"../pages/confirmations/confirmation/templates":5675,"./permissions":5993,"./transactions":5995,"./util":5996,"@metamask/controller-utils":1163,"@metamask/name-controller":1529,"@metamask/permission-controller":1624,"@metamask/snaps-utils":2163,"@metamask/transaction-controller":2234,lodash:3836,reselect:4269,semver:4315},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.accountSupportsSmartTx=function(e){const t=X(e);return Boolean("hardware"!==t&&"snap"!==t)},r.accountsWithSendEtherInfoSelector=oe,r.checkIfMethodIsEnabled=function(e,t){const r=K(e);return Boolean(r.methods.includes(t))},r.checkNetworkAndAccountSupports1559=function(e,t){return(0,R.isEIP1559Network)(e,t)},r.checkNetworkOrAccountNotSupports1559=function(e){return(0,R.isNotEIP1559Network)(e)},r.doesAddressRequireLedgerHidConnection=function(e,t){const r=(0,R.isAddressLedger)(e,t),a=(0,R.getLedgerTransportType)(e)===m.LedgerTransportTypes.webhid,n=(0,D.getLedgerWebHidConnectedStatus)(e)!==m.WebHIDConnectedStatuses.connected,o=(0,D.getLedgerTransportStatus)(e)!==m.HardwareTransportStates.verified;return r&&a&&(n||o)},r.getAccountName=function(e,t){const r=e.find((e=>(0,O.isEqualCaseInsensitive)(e.address,t)));return r&&""!==r.metadata.name?r.metadata.name:""},r.getAccountType=X,r.getAccountTypeForKeyring=x,r.getAccountsWithLabels=function(e){return $(e).map((e=>{const{address:t,metadata:{name:r},balance:a}=e;return{...e,addressLabel:`${r.length(0,O.isEqualCaseInsensitive)(e.address,t)));return(null==a?void 0:a.metadata.name)||t},r.getAdvancedGasFeeValues=function(e){return e.metamask.advancedGasFee[H(e)]},r.getAdvancedInlineGasShown=function(e){return Boolean(e.metamask.featureFlags.advancedInlineGas)},r.getAllAccountsOnNetworkAreEmpty=function(e){const t=Y(e)??{},r=Object.values(t).every((e=>"0x0"===e||"0x00"===e)),a=0===W(e);return r&&a},r.getAllConnectedAccounts=void 0,r.getAllDomains=te,r.getAllSnapAvailableUpdates=r.getAllNetworks=r.getAllEnabledNetworks=void 0,r.getAllTokens=function(e){return e.metamask.allTokens},r.getAnySnapUpdateAvailable=void 0,r.getAppIsLoading=function(e){return e.appState.isLoading},r.getBlockExplorerLinkText=function(e,t=!1){const r=at(e),a=ke(e);let n={firstPart:"addBlockExplorer",secondPart:""};a.blockExplorerUrl?n=t?{firstPart:"blockExplorerView",secondPart:(0,y.getURLHostName)(a.blockExplorerUrl)}:{firstPart:"viewinExplorer",secondPart:"blockExplorerAccountAction"}:!1===r&&(n=t?{firstPart:"etherscanViewOn",secondPart:""}:{firstPart:"viewOnEtherscan",secondPart:"blockExplorerAccountAction"});return n},r.getConnectedSnapsList=r.getConnectedSitesListWithNetworkInfo=r.getConnectedSitesList=r.getConfirmationExchangeRates=void 0,r.getCurrentAccountWithSendEtherInfo=ie,r.getCurrentChainId=H,r.getCurrentCurrency=function(e){return e.metamask.currentCurrency},r.getCurrentEthBalance=se,r.getCurrentKeyring=U,r.getCurrentNetwork=void 0,r.getCurrentQRHardwareState=function(e){const{qrHardware:t}=e.metamask;return t||{}},r.getCustomNonceValue=function(e){return String(e.metamask.customNonceValue)},r.getCustomTokenAmount=function(e){return e.appState.customTokenAmount},r.getDetectedTokensInCurrentNetwork=function(e){var t;const r=H(e),{address:a}=K(e);return null===(t=e.metamask.allDetectedTokens)||void 0===t||null===(t=t[r])||void 0===t?void 0:t[a]},r.getDisabledRpcMethodPreferences=function(e){return e.metamask.disabledRpcMethodPreferences},r.getEnabledSnaps=void 0,r.getEnsResolutionByAddress=function(e,t){if(e.metamask.ensResolutionsByAddress[t])return e.metamask.ensResolutionsByAddress[t];const r=ne(e,t)||V(e,t);return(null==r?void 0:r.name)||""},r.getEthereumAddressNames=function(e){var t;return(null===(t=e.metamask.names)||void 0===t?void 0:t[l.NameType.ETHEREUM_ADDRESS])||{}},r.getExternalServicesOnboardingToggleState=function(e){return e.appState.externalServicesOnboardingToggleState},r.getFeatureFlags=function(e){return e.metamask.featureFlags},r.getFeatureNotificationsEnabled=function(e){const{featureNotificationsEnabled:t=!1}=fe(e);return t},r.getFullTxData=void 0,r.getGasIsLoading=function(e){return e.appState.gasIsLoading},r.getHardwareWalletType=function(e){const t=U(e);return G(e)?t.type:undefined},r.getHasDismissedOpenSeaToBlockaidBanner=function(e){return Boolean(e.metamask.hasDismissedOpenSeaToBlockaidBanner)},r.getHasMigratedFromOpenSeaToBlockaid=function(e){return Boolean(e.metamask.hasMigratedFromOpenSeaToBlockaid)},r.getHiddenAccountsList=ze,r.getInfuraBlocked=function(e){return e.metamask.networksMetadata[J(e)].status===p.NetworkStatus.Blocked},r.getInterfaceContent=r.getInterface=r.getInsightSnaps=r.getInsightSnapIds=void 0,r.getInternalAccount=function(e,t){return e.metamask.internalAccounts.accounts[t]},r.getInternalAccountByAddress=V,r.getInternalAccounts=q,r.getInternalAccountsSortedByKeyring=void 0,r.getIpfsGateway=function(e){return e.metamask.ipfsGateway},r.getIsAddSnapAccountEnabled=function(e){return e.metamask.addSnapAccountEnabled},r.getIsBridgeChain=function(e){const t=H(e);return A.ALLOWED_BRIDGE_CHAIN_IDS.includes(t)},r.getIsBuyableChain=function(e){const t=H(e);return Object.keys(p.BUYABLE_CHAINS_MAP).includes(t)},r.getIsCustomNetwork=at,r.getIsDesktopEnabled=function(e){return e.metamask.desktopEnabled},r.getIsDynamicTokenListAvailable=et,r.getIsLineaMainnet=he,r.getIsMainnet=me,r.getIsNetworkSupportedByBlockaid=function(e){const t=H(e);return L.SECURITY_PROVIDER_SUPPORTED_CHAIN_IDS.includes(t)},r.getIsNetworkUsed=function(e){const t=H(e),{usedNetworks:r}=e.metamask;return Boolean(r[t])},r.getIsNonStandardEthChain=function(e){return!(me(e)||Te(e))},r.getIsSecurityAlertsEnabled=function(e){return e.metamask.securityAlertsEnabled},r.getIsSigningQRHardwareTransaction=function(e){var t;return(null===(t=e.metamask.qrHardware)||void 0===t||null===(t=t.sign)||void 0===t?void 0:t.request)!==undefined},r.getIsSwapsChain=function(e){const t=H(e);return S.ALLOWED_PROD_SWAPS_CHAIN_IDS.includes(t)},r.getIsTestnet=Te,r.getIsTokenDetectionInactiveOnMainnet=tt,r.getIsTokenDetectionSupported=function(e){const t=Qe(e),r=et(e);return t&&r},r.getIstokenDetectionInactiveOnNonMainnetSupportedNetwork=function(e){const t=Qe(e),r=me(e);return et(e)&&!t&&!r},r.getKeyringSnapAccounts=function(e){const t=q(e);return Object.values(t).filter((e=>{const{keyring:t}=e.metadata;return t.type===h.KeyringType.snap}))},r.getKeyringSnapRemovalResult=function(e){return e.appState.keyringRemovalSnapModal},r.getKnownMethodData=function(e,t){if(!t)return null;const r=(0,g.addHexPrefix)(t).slice(0,10),{knownMethodData:a,use4ByteResolution:n}=e.metamask;return n&&(null==a?void 0:a[r])},r.getLocale=He,r.getMemoizedUnapprovedTypedMessages=r.getMemoizedUnapprovedTemplatedConfirmations=r.getMemoizedUnapprovedPersonalMessages=r.getMemoizedUnapprovedMessages=r.getMemoizedUnapprovedConfirmations=r.getMemoizedTxId=r.getMemoizedTargetSubjectMetadata=r.getMemoizedMetadataContracts=r.getMemoizedMetadataContractName=r.getMemoizedMetadataContract=r.getMemoizedMetaMaskInternalAccounts=r.getMemoizedInterfaces=r.getMemoizedInterfaceContent=r.getMemoizedInterface=r.getMemoizedCurrentChainId=r.getMemoizedAddressBook=void 0,r.getMetaMaskAccountBalances=Q,r.getMetaMaskAccountsOrdered=r.getMetaMaskAccountsConnected=r.getMetaMaskAccounts=void 0,r.getMetaMaskCachedBalances=Y,r.getMetaMaskKeyrings=Z,r.getMetaMetricsId=function(e){const{metaMetricsId:t}=e.metamask;return t},r.getMetadataContractName=function(e,t){const r=Ye(e),a=Object.values(r).find((e=>(0,O.isEqualCaseInsensitive)(e.address,t)));return a&&""!==a.name?a.name:""},r.getNameLookupSnapsIds=r.getMultipleTargetsSubjectMetadata=void 0,r.getNameSources=function(e){return e.metamask.nameSources||{}},r.getNames=function(e){return e.metamask.names||{}},r.getNativeCurrencyImage=function(e){const t=H(e);return p.CHAIN_ID_TOKEN_IMAGE_MAP[t]},r.getNetworkConfigurations=$e,r.getNetworkIdentifier=function(e){const{type:t,nickname:r,rpcUrl:a}=(0,R.getProviderConfig)(e);return r||a||t},r.getNetworkToAutomaticallySwitchTo=function(e){const t=We(e),r=Pe(e),a=rt(e);if((0,g.getEnvironmentType)()===_.ENVIRONMENT_TYPE_POPUP&&(0,R.getIsUnlocked)(e)&&a&&r&&0===t){const t=te(e)[r],a=Ze(e);if(t&&a.id!==t)return t}return null},r.getNetworksTabSelectedNetworkConfigurationId=function(e){return e.appState.selectedNetworkConfigurationId},r.getNeverShowSwitchedNetworkMessage=function(e){return e.metamask.switchedNetworkNeverShowMessage},r.getNewNetworkAdded=function(e){return e.appState.newNetworkAddedName},r.getNewNftAddedMessage=function(e){return e.appState.newNftAddedMessage},r.getNewPrivacyPolicyToastShownDate=function(e){return e.metamask.newPrivacyPolicyToastShownDate},r.getNewTokensImported=function(e){return e.appState.newTokensImported},r.getNewTokensImportedError=function(e){return e.appState.newTokensImportedError},r.getNextSuggestedNonce=function(e){return Number(e.metamask.nextNonce)},r.getNonTestNetworks=void 0,r.getNotifications=Ve,r.getNotifySnaps=void 0,r.getNumberOfAllUnapprovedTransactionsAndMessages=We,r.getNumberOfTokens=W,r.getOnboardedInThisUISession=function(e){return e.appState.onboardedInThisUISession},r.getOnboardingDate=function(e){return e.metamask.onboardingDate},r.getOpenSeaEnabled=function(e){return Boolean(e.metamask.openSeaEnabled)},r.getOrderedNetworksList=function(e){return e.metamask.orderedNetworkList},r.getOriginOfCurrentTab=Pe,r.getPetnamesEnabled=function(e){const{petnamesEnabled:t=!0}=fe(e);return t},r.getPinnedAccountsList=qe,r.getPreferences=fe,r.getPrioritizedUnapprovedTemplatedConfirmations=void 0,r.getQueuedRequestCount=de,r.getRedesignedConfirmationsEnabled=function(e){const{redesignedConfirmationsEnabled:t}=fe(e);return t},r.getRemoveNftMessage=function(e){return e.appState.removeNftMessage},r.getRpcPrefsForCurrentProvider=ke,r.getSelectedAccount=void 0,r.getSelectedAccountCachedBalance=ee,r.getSelectedAddress=function(e){var t;return null===(t=K(e))||void 0===t?void 0:t.address},r.getSelectedInternalAccount=K,r.getSelectedInternalAccountWithBalance=function(e){const t=K(e),r=Q(e)[t.address];return{...t,balance:r?r.balance:"0x0"}},r.getSelectedNetworkClientId=J,r.getSendInputCurrencySwitched=function({appState:e}){return e.sendInputCurrencySwitched},r.getShouldHideZeroBalanceTokens=function(e){const{hideZeroBalanceTokens:t}=fe(e);return t},r.getShouldShowFiat=function(e){const t=me(e),r=he(e),a=at(e),n=(0,R.getConversionRate)(e),o=nt(e),{showFiatInTestnets:i}=fe(e);return Boolean((t||r||a||i)&&o&&n)},r.getShouldShowSeedPhraseReminder=function(e){const{tokens:t,seedPhraseBackedUp:r,dismissSeedBackUpReminder:a}=e.metamask,n=K(e)?se(e):0;return!1===r&&(parseInt(n,16)>0||t.length>0)&&!1===a},r.getShowAccountBanner=function(e){return e.metamask.showAccountBanner},r.getShowBasicFunctionalityModal=function(e){return e.appState.showBasicFunctionalityModal},r.getShowBetaHeader=function(e){return e.metamask.showBetaHeader},r.getShowExtensionInFullSizeView=function(e){const{showExtensionInFullSizeView:t}=fe(e);return Boolean(t)},r.getShowFiatInTestnets=function(e){const{showFiatInTestnets:t}=fe(e);return t},r.getShowNetworkBanner=function(e){return e.metamask.showNetworkBanner},r.getShowOutdatedBrowserWarning=function(e){const{outdatedBrowserWarningLastShown:t}=e.metamask;if(!t)return!0;return(new Date).getTime()-t>=2*b.DAY},r.getShowPermissionsTour=function(e){return e.metamask.showPermissionsTour},r.getShowPrivacyPolicyToast=function(e){const{newPrivacyPolicyToastClickedOrClosed:t,onboardingDate:r}=e.metamask,a=new Date(N.PRIVACY_POLICY_DATE),n=new Date(Date.now());return!t&&n>=a&&(r=n},r.getShowSurveyToast=function(e){const{surveyLinkLastClickedOrClosed:t}=e.metamask,r=new Date(`${P.SURVEY_DATE} ${P.SURVEY_START_TIME}`).getTime(),a=new Date(`${P.SURVEY_DATE} ${P.SURVEY_END_TIME}`).getTime(),n=Date.now();return n>r&&n!e.isShown&&r[e.id]));return a.sort(((e,t)=>new Date(t.date)-new Date(e.date)))},r.getSuggestedNfts=function(e){var t;return(null===(t=ge(e))||void 0===t?void 0:t.filter((({requestData:e,type:t})=>{var r;return t===o.ApprovalType.WatchAsset&&(null==e||null===(r=e.asset)||void 0===r?void 0:r.tokenId)!==undefined})))||[]},r.getSuggestedTokens=function(e){var t;return(null===(t=ge(e))||void 0===t?void 0:t.filter((({type:e,requestData:t})=>{var r;return e===o.ApprovalType.WatchAsset&&(null==t||null===(r=t.asset)||void 0===r?void 0:r.tokenId)===undefined})))||[]},r.getSwapsDefaultToken=function(e){const t=re(e),r=null==t?void 0:t.balance,a=H(e);return{...S.SWAPS_CHAINID_DEFAULT_TOKEN_MAP[a],balance:(0,I.hexToDecimal)(r),string:(0,I.getValueFromWeiHex)({value:r,numberOfDecimals:4,toDenomination:"ETH"})}},r.getSwitchedNetworkDetails=function(e){const{switchedNetworkDetails:t}=e.metamask,r=le(e);if(t){var a;const e=r.find((({id:e})=>t.networkClientId===e));return{nickname:null==e?void 0:e.nickname,imageUrl:null==e||null===(a=e.rpcPrefs)||void 0===a?void 0:a.imageUrl,origin:null==t?void 0:t.origin}}return null},r.getTargetAccount=function(e,t){return j(e)[t]},r.getTargetAccountWithSendEtherInfo=function(e,t){const r=oe(e);return(0,y.getAccountByAddress)(r,t)},r.getTargetSubjectMetadata=ye,r.getTestNetworkBackgroundColor=function(e){const t=e.metamask.providerConfig.ticker;switch(!0){case null==t?void 0:t.includes(p.GOERLI_DISPLAY_NAME):return M.BackgroundColor.goerli;case null==t?void 0:t.includes(p.SEPOLIA_DISPLAY_NAME):return M.BackgroundColor.sepolia;default:return undefined}},r.getTestNetworks=void 0,r.getTheme=function(e){return e.metamask.theme},r.getTokenExchangeRates=r.getTokenDetectionSupportNetworkByChainId=void 0,r.getTokenList=Ye,r.getTokensMarketData=void 0,r.getTotalUnapprovedCount=function(e){return e.metamask.pendingApprovalCount??0},r.getTotalUnapprovedMessagesCount=function(e){const{unapprovedMsgCount:t=0,unapprovedPersonalMsgCount:r=0,unapprovedDecryptMsgCount:a=0,unapprovedEncryptionPublicKeyMsgCount:n=0,unapprovedTypedMessagesCount:o=0}=e.metamask;return t+r+a+n+o},r.getTotalUnapprovedSignatureRequestCount=function(e){const{unapprovedMsgCount:t=0,unapprovedPersonalMsgCount:r=0,unapprovedTypedMessagesCount:a=0}=e.metamask;return t+r+a},r.getTxData=r.getTransaction=void 0,r.getUSDConversionRate=function(e){var t;return null===(t=e.metamask.currencyRates[(0,R.getProviderConfig)(e).ticker])||void 0===t?void 0:t.usdConversionRate},r.getUnapprovedConfirmations=void 0,r.getUnapprovedTemplatedConfirmations=pe,r.getUnapprovedTransaction=void 0,r.getUnapprovedTxCount=function(e){const t=(0,B.getUnapprovedTransactions)(e);return Object.keys(t).length},r.getUnconnectedAccounts=function(e,t){const r=$(e),a=(0,F.getOrderedConnectedAccountsForConnectedDapp)(e,t);return r.filter((e=>!a.some((t=>t.address===e.address))))},r.getUnreadNotifications=Ke,r.getUpdatedAndSortedAccounts=r.getUnreadNotificationsCount=void 0,r.getUseBlockie=function(e){return Boolean(e.metamask.useBlockie)},r.getUseCurrencyRateCheck=nt,r.getUseExternalServices=function(e){return e.metamask.useExternalServices},r.getUseNftDetection=function(e){return Boolean(e.metamask.useNftDetection)},r.getUseNonceField=function(e){const t=(0,T.getIsSmartTransaction)(e);return Boolean(!t&&e.metamask.useNonceField)},r.getUseRequestQueue=rt,r.getUseTokenDetection=Qe,r.getWeb3ShimUsageStateForOrigin=function(e,t){return e.metamask.web3ShimUsageOrigins[t]},r.getsnapsAddSnapAccountModalDismissed=function(e){const{snapsAddSnapAccountModalDismissed:t}=e.metamask;return t},r.isBalanceCached=function(e){var t;const{address:r}=K(e),a=null===(t=Q(e)[r])||void 0===t?void 0:t.balance,n=ee(e);return Boolean(!a&&n)},r.isCurrentProviderCustom=function(e){const t=(0,R.getProviderConfig)(e);return t.type===p.NETWORK_TYPES.RPC&&!Object.values(p.CHAIN_IDS).includes(t.chainId)},r.isHardwareWallet=G,r.isNetworkLoading=function(e){const t=J(e);return t&&e.metamask.networksMetadata[t].status!==p.NetworkStatus.Available},r.useSafeChainsListValidationSelector=r.selectInstalledSnaps=r.rawStateSelector=void 0;var a,n=e("@metamask/permission-controller"),o=e("@metamask/controller-utils"),i=e("@metamask/snaps-utils"),s=e("lodash"),c=(a=e("semver"))&&a.__esModule?a:{default:a},u=e("reselect"),l=e("@metamask/name-controller"),d=e("@metamask/transaction-controller"),g=e("../../app/scripts/lib/util"),p=e("../../shared/constants/network"),m=e("../../shared/constants/hardware-wallets"),h=e("../../shared/constants/keyring"),T=e("../../shared/modules/selectors"),f=e("../../shared/constants/labels"),S=e("../../shared/constants/swaps"),A=e("../../shared/constants/bridge"),y=e("../helpers/utils/util"),v=e("../pages/confirmations/confirmation/templates"),E=e("../../shared/constants/tokens"),b=e("../../shared/constants/time"),C=e("../../shared/constants/terms"),R=e("../ducks/metamask/metamask"),D=e("../ducks/app/app"),O=e("../../shared/modules/string-utils"),I=e("../../shared/modules/conversion.utils"),M=e("../helpers/constants/design-system"),k=e("../../shared/notifications"),P=e("../helpers/constants/survey"),N=e("../helpers/constants/privacy-policy"),_=e("../../shared/constants/app"),L=e("../../shared/constants/security-provider"),B=e("./transactions"),F=e("./permissions"),w=e("./util");function J(e){return e.metamask.selectedNetworkClientId}function H(e){const{chainId:t}=(0,R.getProviderConfig)(e);return t}function U(e){const t=K(e);return t?t.metadata.keyring:null}function G(e){var t;const r=U(e);return Boolean(null==r||null===(t=r.type)||void 0===t?void 0:t.includes("Hardware"))}function X(e){return x(U(e))}function x(e){if(!e)return"";const{type:t}=e;switch(t){case h.KeyringType.trezor:case h.KeyringType.ledger:case h.KeyringType.lattice:case h.KeyringType.qr:return"hardware";case h.KeyringType.imported:return"imported";case h.KeyringType.snap:return"snap";default:return"default"}}const j=r.getMetaMaskAccounts=(0,u.createSelector)(q,Q,Y,((e,t,r)=>Object.values(e).reduce(((e,a)=>{let n=a;return t[a.address]&&(n={...n,...t[a.address]}),null!==n.balance&&n.balance!==undefined||(n={...n,balance:(r&&r[a.address])??"0x0"}),{...e,[a.address]:n}}),{})));function V(e,t){return Object.values(e.metamask.internalAccounts.accounts).find((e=>(0,O.isEqualCaseInsensitive)(e.address,t)))}function K(e){const t=e.metamask.internalAccounts.selectedAccount;return e.metamask.internalAccounts.accounts[t]}function q(e){return Object.values(e.metamask.internalAccounts.accounts)}const z=r.getInternalAccountsSortedByKeyring=(0,u.createSelector)(Z,j,((e,t)=>e.map((({accounts:e})=>e)).flat().map((e=>t[e]))));function W(e){const{tokens:t}=e.metamask;return t?t.length:0}function Z(e){return e.metamask.keyrings}function Q(e){return e.metamask.accounts}function Y(e){var t;const r=H(e);return null!==(t=e.metamask.accountsByChainId)&&void 0!==t&&t[r]?Object.entries(e.metamask.accountsByChainId[r]).reduce(((e,[t,r])=>(e[t]=r.balance,e)),{}):{}}const $=r.getMetaMaskAccountsOrdered=(0,u.createSelector)(z,j,((e,t)=>e.map((e=>({...e,...t[e.address]})))));r.getMetaMaskAccountsConnected=(0,u.createSelector)($,(e=>e.map((({address:e})=>e.toLowerCase()))));function ee(e){const t=Y(e),{address:r}=K(e);return null==t?void 0:t[r]}function te(e){return e.metamask.domains}r.getConfirmationExchangeRates=e=>e.metamask.confirmationExchangeRates;const re=r.getSelectedAccount=(0,w.createDeepEqualSelector)(j,K,((e,t)=>t?{...t,...e[t.address]}:undefined));r.getTokenExchangeRates=e=>{var t;const r=H(e),a=(null===(t=e.metamask.marketData)||void 0===t?void 0:t[r])??{};return Object.entries(a).reduce(((e,[t,r])=>(e[t]=(null==r?void 0:r.price)??null,e)),{})};function ae(e){const t=H(e);return e.metamask.addressBook[t]?Object.values(e.metamask.addressBook[t]):[]}function ne(e,t){return ae(e).find((e=>(0,O.isEqualCaseInsensitive)(e.address,t)))}function oe(e){const t=j(e),r=q(e);return Object.values(r).map((e=>({...e,...t[e.address]})))}function ie(e){const{address:t}=K(e),r=oe(e);return(0,y.getAccountByAddress)(r,t)}function se(e){var t;return null===(t=ie(e))||void 0===t?void 0:t.balance}r.getTokensMarketData=e=>{var t;const r=H(e);return null===(t=e.metamask.marketData)||void 0===t?void 0:t[r]};const ce=r.getNonTestNetworks=(0,w.createDeepEqualSelector)($e,((e={})=>[{chainId:p.CHAIN_IDS.MAINNET,nickname:p.MAINNET_DISPLAY_NAME,rpcUrl:p.CHAIN_ID_TO_RPC_URL_MAP[p.CHAIN_IDS.MAINNET],rpcPrefs:{imageUrl:p.ETH_TOKEN_IMAGE_URL},providerType:p.NETWORK_TYPES.MAINNET,ticker:p.CURRENCY_SYMBOLS.ETH,id:p.NETWORK_TYPES.MAINNET,removable:!1},{chainId:p.CHAIN_IDS.LINEA_MAINNET,nickname:p.LINEA_MAINNET_DISPLAY_NAME,rpcUrl:p.CHAIN_ID_TO_RPC_URL_MAP[p.CHAIN_IDS.LINEA_MAINNET],rpcPrefs:{imageUrl:p.LINEA_MAINNET_TOKEN_IMAGE_URL},providerType:p.NETWORK_TYPES.LINEA_MAINNET,ticker:p.TEST_NETWORK_TICKER_MAP[p.NETWORK_TYPES.LINEA_MAINNET],id:p.NETWORK_TYPES.LINEA_MAINNET,removable:!1},...Object.values(e).filter((({chainId:e})=>![p.CHAIN_IDS.LOCALHOST].includes(e))).map((e=>{var t;return{...e,rpcPrefs:{...e.rpcPrefs,imageUrl:(null==e||null===(t=e.rpcPrefs)||void 0===t?void 0:t.imageUrl)??p.CHAIN_ID_TO_NETWORK_IMAGE_URL_MAP[e.chainId]},removable:!0}}))])),ue=r.getTestNetworks=(0,w.createDeepEqualSelector)($e,((e={})=>[{chainId:p.CHAIN_IDS.SEPOLIA,nickname:p.SEPOLIA_DISPLAY_NAME,rpcUrl:p.CHAIN_ID_TO_RPC_URL_MAP[p.CHAIN_IDS.SEPOLIA],providerType:p.NETWORK_TYPES.SEPOLIA,ticker:p.TEST_NETWORK_TICKER_MAP[p.NETWORK_TYPES.SEPOLIA],id:p.NETWORK_TYPES.SEPOLIA,removable:!1},{chainId:p.CHAIN_IDS.LINEA_SEPOLIA,nickname:p.LINEA_SEPOLIA_DISPLAY_NAME,rpcUrl:p.CHAIN_ID_TO_RPC_URL_MAP[p.CHAIN_IDS.LINEA_SEPOLIA],rpcPrefs:{imageUrl:p.LINEA_SEPOLIA_TOKEN_IMAGE_URL},providerType:p.NETWORK_TYPES.LINEA_SEPOLIA,ticker:p.TEST_NETWORK_TICKER_MAP[p.NETWORK_TYPES.LINEA_SEPOLIA],id:p.NETWORK_TYPES.LINEA_SEPOLIA,removable:!1},{chainId:p.CHAIN_IDS.LINEA_GOERLI,nickname:p.LINEA_GOERLI_DISPLAY_NAME,rpcUrl:p.CHAIN_ID_TO_RPC_URL_MAP[p.CHAIN_IDS.LINEA_GOERLI],rpcPrefs:{imageUrl:p.LINEA_GOERLI_TOKEN_IMAGE_URL},providerType:p.NETWORK_TYPES.LINEA_GOERLI,ticker:p.TEST_NETWORK_TICKER_MAP[p.NETWORK_TYPES.LINEA_GOERLI],id:p.NETWORK_TYPES.LINEA_GOERLI,removable:!1},...Object.values(e).filter((({chainId:e})=>e===p.CHAIN_IDS.LOCALHOST)).map((e=>({...e,removable:!0})))])),le=r.getAllNetworks=(0,w.createDeepEqualSelector)(ce,ue,((e,t)=>[...e,...t]));function de(e){return e.metamask.queuedRequestCount??0}const ge=r.getUnapprovedConfirmations=(0,w.createDeepEqualSelector)((e=>e.metamask.pendingApprovals||{}),(e=>Object.values(e)));function pe(e){return ge(e).filter((e=>v.TEMPLATED_CONFIRMATION_APPROVAL_TYPES.includes(e.type)))}r.getPrioritizedUnapprovedTemplatedConfirmations=(0,u.createSelector)(pe,(e=>e.filter((({type:e})=>v.PRIORITY_APPROVAL_TEMPLATE_TYPES.includes(e)))));function me(e){return H(e)===p.CHAIN_IDS.MAINNET}function he(e){return H(e)===p.CHAIN_IDS.LINEA_MAINNET}function Te(e){const t=H(e);return p.TEST_CHAINS.includes(t)}function fe({metamask:e}){return e.preferences}function Se(e){const{showTestNetworks:t}=fe(e);return Boolean(t)}const Ae=(0,s.memoize)((e=>`data:image/svg+xml;utf8,${encodeURIComponent(e)}`));function ye(e,t){const r=(0,F.getSubjectMetadata)(e)[t];if((null==r?void 0:r.subjectType)===n.SubjectType.Snap){const{svgIcon:e,...t}=r;return{...t,iconUrl:e?Ae(e):null}}return r}const ve=e=>e;r.rawStateSelector=ve;const Ee=e=>e.metamask.snaps;r.selectInstalledSnaps=Ee;const be=r.getSnapRegistryData=(0,u.createSelector)([e=>{var t;return null===(t=e.metamask.database)||void 0===t?void 0:t.verifiedSnaps},(e,t)=>t],((e,t)=>e?e[t]:null)),Ce=r.getSnapLatestVersion=(0,u.createSelector)([be],(e=>e?Object.keys(e.versions).reduce(((e,t)=>c.default.gt(t,e)?t:e),"0.0.0"):null)),Re=r.getAllSnapAvailableUpdates=(0,u.createSelector)([Ee,ve],((e,t)=>{const r=new Map;return Object.keys(e).forEach((a=>{const n=Ce(t,a);r.set(a,!!n&&c.default.gt(n,e[a].version))})),r})),De=(r.getAnySnapUpdateAvailable=(0,u.createSelector)([Re],(e=>[...e.values()].some((e=>!0===e)))),r.getMemoizedTargetSubjectMetadata=(0,w.createDeepEqualSelector)(ye,(e=>e)),r.getMemoizedUnapprovedConfirmations=(0,w.createDeepEqualSelector)(ge,(e=>e)),r.getMemoizedUnapprovedTemplatedConfirmations=(0,w.createDeepEqualSelector)(pe,(e=>e)),(e,t)=>t),Oe=r.getMemoizedInterfaces=(0,w.createDeepEqualSelector)((e=>e.metamask.interfaces),(e=>e)),Ie=r.getInterface=(0,u.createSelector)([Oe,De],((e,t)=>e[t])),Me=(r.getMemoizedInterface=(0,w.createDeepEqualSelector)(Ie,(e=>e)),r.getInterfaceContent=(0,u.createSelector)([Oe,De],((e,t)=>{var r;return null===(r=e[t])||void 0===r?void 0:r.content})));r.getMemoizedInterfaceContent=(0,w.createDeepEqualSelector)(Me,(e=>e)),r.getMultipleTargetsSubjectMetadata=(0,w.createDeepEqualSelector)([ve,(e,t)=>t],((e,t)=>Object.keys(t??{}).reduce(((t,r)=>(t[r]=ye(e,r),t)),{})));function ke(e){const{rpcPrefs:t}=(0,R.getProviderConfig)(e);return t||{}}function Pe(e){return e.activeTab.origin}r.getMemoizedMetaMaskInternalAccounts=(0,w.createDeepEqualSelector)(q,(e=>e)),r.getMemoizedAddressBook=(0,w.createDeepEqualSelector)(ae,(e=>e)),r.getMemoizedMetadataContracts=(0,w.createDeepEqualSelector)(((e,t,r)=>Ye(e,r)),((e,t)=>t),((e,t)=>t.map((t=>Object.values(e).find((e=>(0,O.isEqualCaseInsensitive)(e.address,t)))))));const Ne=r.getMemoizedMetadataContract=(0,w.createDeepEqualSelector)(Ye,((e,t)=>t),((e,t)=>Object.values(e).find((e=>(0,O.isEqualCaseInsensitive)(e.address,t))))),_e=(r.getMemoizedMetadataContractName=(0,w.createDeepEqualSelector)(Ne,(e=>(null==e?void 0:e.name)??"")),e=>e.confirmTransaction.txData);r.getTxData=_e;const Le=r.getUnapprovedTransaction=(0,w.createDeepEqualSelector)((e=>(0,B.getUnapprovedTransactions)(e)),((e,t)=>t),((e,t)=>Object.values(e).find((({id:e})=>e===t))||{})),Be=r.getTransaction=(0,w.createDeepEqualSelector)((e=>(0,B.getCurrentNetworkTransactions)(e)),((e,t)=>t),((e,t)=>Object.values(e).find((({id:e})=>e===t))||{})),Fe=(r.getFullTxData=(0,w.createDeepEqualSelector)(_e,((e,t,r)=>r===d.TransactionStatus.unapproved?Le(e,t):Be(e,t)),((e,t,r,a,n)=>({customTxParamsData:a,hexTransactionAmount:n})),((e,t,{customTxParamsData:r,hexTransactionAmount:a})=>{let n={...e,...t};return t&&t.simulationFails&&(n.simulationFails={...t.simulationFails}),r&&(n={...n,txParams:{...n.txParams,data:r}}),a&&(n={...n,txParams:{...n.txParams,value:a}}),n})),r.getAllConnectedAccounts=(0,w.createDeepEqualSelector)(F.getConnectedSubjectsForAllAddresses,(e=>Object.keys(e)))),we=r.getConnectedSitesList=(0,w.createDeepEqualSelector)(F.getConnectedSubjectsForAllAddresses,q,Fe,((e,t,r)=>{const a={};return r.forEach((r=>{e[r].forEach((e=>{const n=e.origin,o=t.find((e=>(0,O.isEqualCaseInsensitive)(e.address,r)));a[n]?(a[n].addresses.push(r),a[n].addressToNameMap[r]=(null==o?void 0:o.metadata.name)||""):a[n]={...e,addresses:[r],addressToNameMap:{[r]:(null==o?void 0:o.metadata.name)||""}}}))})),a}));r.getConnectedSnapsList=(0,w.createDeepEqualSelector)(ot,(e=>{const t={};return Object.values(e).forEach((e=>{t[e.name]||(t[e.name]=e)})),t})),r.getMemoizedCurrentChainId=(0,w.createDeepEqualSelector)(H,(e=>e)),r.getMemoizedTxId=(0,w.createDeepEqualSelector)((e=>e.appState.txId),(e=>e)),r.getMemoizedUnapprovedMessages=(0,w.createDeepEqualSelector)((e=>e.metamask.unapprovedMsgs),(e=>e)),r.getMemoizedUnapprovedPersonalMessages=(0,w.createDeepEqualSelector)((e=>e.metamask.unapprovedPersonalMsgs),(e=>e)),r.getMemoizedUnapprovedTypedMessages=(0,w.createDeepEqualSelector)((e=>e.metamask.unapprovedTypedMessages),(e=>e));function Je(e){return e.metamask.snaps}function He(e){return e.metamask.currentLocale}r.getSnap=(0,w.createDeepEqualSelector)(Je,((e,t)=>t),((e,t)=>e[t]));const Ue=r.getSnapsMetadata=(0,w.createDeepEqualSelector)(He,Je,((e,t)=>Object.values(t).reduce(((t,r)=>{const a=r.id,n=r.localizationFiles?(0,i.getLocalizedSnapManifest)(r.manifest,e,r.localizationFiles):r.manifest;return t[a]={name:n.proposedName,description:n.description},t}),{}))),Ge=r.getSnapMetadata=(0,w.createDeepEqualSelector)(Ue,((e,t)=>t),((e,t)=>e[t]??{name:t?(0,i.stripSnapPrefix)(t):null})),Xe=r.getEnabledSnaps=(0,w.createDeepEqualSelector)(Je,(e=>Object.values(e).reduce(((e,t)=>(t.enabled&&(e[t.id]=t),e)),{}))),xe=r.getInsightSnaps=(0,w.createDeepEqualSelector)(Xe,F.getPermissionSubjects,((e,t)=>Object.values(e).filter((({id:e})=>{var r;return null===(r=t[e])||void 0===r?void 0:r.permissions["endowment:transaction-insight"]})))),je=r.getSignatureInsightSnaps=(0,w.createDeepEqualSelector)(Xe,F.getPermissionSubjects,((e,t)=>Object.values(e).filter((({id:e})=>{var r;return null===(r=t[e])||void 0===r?void 0:r.permissions["endowment:signature-insight"]}))));r.getSignatureInsightSnapIds=(0,w.createDeepEqualSelector)(je,(e=>e.map((e=>e.id)))),r.getInsightSnapIds=(0,w.createDeepEqualSelector)(xe,(e=>e.map((e=>e.id)))),r.getNameLookupSnapsIds=(0,w.createDeepEqualSelector)(Xe,F.getPermissionSubjects,((e,t)=>Object.values(e).filter((({id:e})=>{var r;return null===(r=t[e])||void 0===r?void 0:r.permissions["endowment:name-lookup"]})).map((e=>e.id)))),r.getNotifySnaps=(0,w.createDeepEqualSelector)(Xe,F.getPermissionSubjects,((e,t)=>Object.values(e).filter((({id:e})=>{var r;return null===(r=t[e])||void 0===r?void 0:r.permissions.snap_notify}))));function Ve(e){return Object.values(e.metamask.notifications).sort(((e,t)=>new Date(t.createdDate)-new Date(e.createdDate)))}function Ke(e){return Ve(e).filter((e=>null===e.readDate))}r.getUnreadNotificationsCount=(0,u.createSelector)(Ke,(e=>e.length));function qe(e){return e.metamask.pinnedAccountList}function ze(e){return e.metamask.hiddenAccountList}function We(e){const t=(0,B.getAllUnapprovedTransactions)(e),r=de(e),a={...t,...e.metamask.unapprovedMsgs,...e.metamask.unapprovedDecryptMsgs,...e.metamask.unapprovedPersonalMsgs,...e.metamask.unapprovedEncryptionPublicKeyMsgs,...e.metamask.unapprovedTypedMessages};return Object.keys(a).length+r}const Ze=r.getCurrentNetwork=(0,w.createDeepEqualSelector)(le,R.getProviderConfig,((e,t)=>{const r="rpc"===t.type?e=>e.id===t.id:e=>e.id===t.type;return e.find(r)}));r.getConnectedSitesListWithNetworkInfo=(0,w.createDeepEqualSelector)(we,te,le,Ze,((e,t,r,a)=>(Object.keys(e).forEach((n=>{var o,i;const s=r.find((e=>e.id===t[n]));e[n].networkIconUrl=(null==s||null===(o=s.rpcPrefs)||void 0===o?void 0:o.imageUrl)||(null==a||null===(i=a.rpcPrefs)||void 0===i?void 0:i.imageUrl)||"",e[n].networkName=(null==s?void 0:s.nickname)||(null==a?void 0:a.nickname)||""})),e)));function Qe(e){return Boolean(e.metamask.useTokenDetection)}function Ye(e,t=!1){return tt(e)&&!t?E.STATIC_MAINNET_TOKEN_LIST:e.metamask.tokenList}function $e(e){return e.metamask.networkConfigurations}r.getAllEnabledNetworks=(0,w.createDeepEqualSelector)(ce,le,Se,((e,t,r)=>r?t:e));function et(e){const t=H(e);return[p.CHAIN_IDS.MAINNET,p.CHAIN_IDS.BSC,p.CHAIN_IDS.POLYGON,p.CHAIN_IDS.AVALANCHE,p.CHAIN_IDS.LINEA_GOERLI,p.CHAIN_IDS.LINEA_SEPOLIA,p.CHAIN_IDS.LINEA_MAINNET,p.CHAIN_IDS.ARBITRUM,p.CHAIN_IDS.OPTIMISM,p.CHAIN_IDS.BASE,p.CHAIN_IDS.ZKSYNC_ERA,p.CHAIN_IDS.CRONOS,p.CHAIN_IDS.CELO,p.CHAIN_IDS.GNOSIS,p.CHAIN_IDS.FANTOM,p.CHAIN_IDS.POLYGON_ZKEVM,p.CHAIN_IDS.MOONBEAM,p.CHAIN_IDS.MOONRIVER].includes(t)}function tt(e){const t=me(e);return!Qe(e)&&t}function rt(e){return e.metamask.useRequestQueue}function at(e){const t=H(e);return!p.CHAIN_ID_TO_RPC_URL_MAP[t]}r.getTokenDetectionSupportNetworkByChainId=e=>{switch(H(e)){case p.CHAIN_IDS.MAINNET:return p.MAINNET_DISPLAY_NAME;case p.CHAIN_IDS.BSC:return p.BSC_DISPLAY_NAME;case p.CHAIN_IDS.POLYGON:return p.POLYGON_DISPLAY_NAME;case p.CHAIN_IDS.AVALANCHE:return p.AVALANCHE_DISPLAY_NAME;case p.CHAIN_IDS.LINEA_GOERLI:return p.LINEA_GOERLI_DISPLAY_NAME;case p.CHAIN_IDS.LINEA_SEPOLIA:return p.LINEA_SEPOLIA_DISPLAY_NAME;case p.CHAIN_IDS.LINEA_MAINNET:return p.LINEA_MAINNET_DISPLAY_NAME;case p.CHAIN_IDS.ARBITRUM:return p.ARBITRUM_DISPLAY_NAME;case p.CHAIN_IDS.OPTIMISM:return p.OPTIMISM_DISPLAY_NAME;case p.CHAIN_IDS.BASE:return p.BASE_DISPLAY_NAME;case p.CHAIN_IDS.ZKSYNC_ERA:return p.ZK_SYNC_ERA_DISPLAY_NAME;case p.CHAIN_IDS.CRONOS:return p.CRONOS_DISPLAY_NAME;case p.CHAIN_IDS.CELO:return p.CELO_DISPLAY_NAME;case p.CHAIN_IDS.GNOSIS:return p.GNOSIS_DISPLAY_NAME;case p.CHAIN_IDS.FANTOM:return p.FANTOM_DISPLAY_NAME;case p.CHAIN_IDS.POLYGON_ZKEVM:return p.POLYGON_ZKEVM_DISPLAY_NAME;case p.CHAIN_IDS.MOONBEAM:return p.MOONBEAM_DISPLAY_NAME;case p.CHAIN_IDS.MOONRIVER:return p.MOONRIVER_DISPLAY_NAME;default:return""}};r.getUpdatedAndSortedAccounts=(0,w.createDeepEqualSelector)($,qe,ze,F.getOrderedConnectedAccountsForActiveTab,((e,t,r,a)=>{a.forEach((t=>{const r=e.find((e=>e.id===t.id));r&&t.metadata&&(r.connections=!0,r.lastSelected=t.metadata.lastSelected)}));const n=e.filter((e=>e.connections&&e.lastSelected)),o=n.length>0?n.reduce(((e,t)=>e.lastSelected>t.lastSelected?e:t)):null;e.forEach((e=>{e.pinned=Boolean(t.includes(e.address)),e.hidden=Boolean(r.includes(e.address)),e.active=Boolean(o&&e.id===o.id)}));return[...null==t?void 0:t.map((t=>e.find((e=>e.address===t)))).filter((e=>Boolean(e&&t.includes(e.address)&&!(null!=r&&r.includes(e.address))))),...e.filter((e=>!t.includes(e.address)&&!r.includes(e.address))),...e.filter((e=>r.includes(e.address)))]}));function nt(e){return Boolean(e.metamask.useCurrencyRateCheck)}function ot(e){const t=Je(e);return Object.entries(t).filter((([e,t])=>t.status!==i.SnapStatus.Installing&&(!t.preinstalled||!1===t.hidden))).map((([t,r])=>{const a=ye(e,null==r?void 0:r.id);return{key:t,id:r.id,iconUrl:null==a?void 0:a.iconUrl,subjectType:null==a?void 0:a.subjectType,packageName:(0,i.stripSnapPrefix)(r.id),name:Ge(e,r.id).name}}))}r.useSafeChainsListValidationSelector=e=>e.metamask.useSafeChainsListValidation}}},{package:"$root$",file:"ui/selectors/selectors.js"}],[5995,{"../../shared/constants/transaction":4520,"../../shared/modules/conversion.utils":4537,"../ducks/metamask/metamask":5346,"../helpers/constants/transactions":5367,"../helpers/utils/tx-helper":5398,"./approvals":5983,"./selectors":5994,"./util":5996,"@metamask/controller-utils":1163,"@metamask/transaction-controller":2234,reselect:4269},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.getUnapprovedTransactions=r.getTransactions=r.getCurrentNetworkTransactions=r.getApprovedAndSignedTransactions=r.getAllUnapprovedTransactions=void 0,r.hasTransactionPendingApprovals=function(e){return(0,p.getApprovalRequestsByType)(e,n.ApprovalType.Transaction).length>0||(0,p.hasPendingApprovals)(e,P)},r.unapprovedTypedMessagesSelector=r.unapprovedPersonalMsgsSelector=r.unapprovedMsgsSelector=r.unapprovedMessagesSelector=r.unapprovedEncryptionPublicKeyMsgsSelector=r.unapprovedDecryptMsgsSelector=r.transactionsSelector=r.transactionSubSelector=r.submittedPendingTransactionsSelector=r.smartTransactionsListSelector=r.selectedAddressTxListSelector=r.nonceSortedTransactionsSelector=r.nonceSortedPendingTransactionsSelector=r.nonceSortedCompletedTransactionsSelector=r.incomingTxListSelector=void 0;var a,n=e("@metamask/controller-utils"),o=e("reselect"),i=e("@metamask/transaction-controller"),s=e("../helpers/constants/transactions"),c=(a=e("../helpers/utils/tx-helper"))&&a.__esModule?a:{default:a},u=e("../../shared/constants/transaction"),l=e("../../shared/modules/conversion.utils"),d=e("../ducks/metamask/metamask"),g=e("./selectors"),p=e("./approvals"),m=e("./util");const h=[i.TransactionType.cancel,i.TransactionType.retry],T=e=>e.metamask.unapprovedMsgs;r.unapprovedMsgsSelector=T;const f=r.getTransactions=(0,m.createDeepEqualSelector)((e=>{const{transactions:t}=e.metamask??{};return null!=t&&t.length?t.sort(((e,t)=>e.time-t.time)):[]}),(e=>e)),S=r.getCurrentNetworkTransactions=(0,m.createDeepEqualSelector)((e=>{const t=f(e);if(!t.length)return[];const{chainId:r}=(0,d.getProviderConfig)(e);return t.filter((e=>e.chainId===r))}),(e=>e)),A=(r.getUnapprovedTransactions=(0,m.createDeepEqualSelector)((e=>{const t=S(e);return(0,m.filterAndShapeUnapprovedTransactions)(t)}),(e=>e)),r.getAllUnapprovedTransactions=(0,m.createDeepEqualSelector)((e=>{const{transactions:t}=e.metamask||[];if(null==t||!t.length)return[];const r=t.sort(((e,t)=>e.time-t.time));return(0,m.filterAndShapeUnapprovedTransactions)(r)}),(e=>e)),r.getApprovedAndSignedTransactions=(0,m.createDeepEqualSelector)((e=>f(e).filter((e=>[i.TransactionStatus.approved,i.TransactionStatus.signed].includes(e.status)))),(e=>e)),r.incomingTxListSelector=(0,m.createDeepEqualSelector)((e=>{const{incomingTransactionsPreferences:t}=e.metamask;if(!t)return[];const r=S(e),{address:a}=(0,g.getSelectedInternalAccount)(e);return r.filter((e=>e.type===i.TransactionType.incoming&&e.txParams.to===a))}),(e=>e))),y=e=>e.metamask.unapprovedPersonalMsgs;r.unapprovedPersonalMsgsSelector=y;const v=e=>e.metamask.unapprovedDecryptMsgs;r.unapprovedDecryptMsgsSelector=v;const E=e=>e.metamask.unapprovedEncryptionPublicKeyMsgs;r.unapprovedEncryptionPublicKeyMsgsSelector=E;const b=e=>e.metamask.unapprovedTypedMessages;r.unapprovedTypedMessagesSelector=b;const C=e=>{var t;const{address:r}=(0,g.getSelectedInternalAccount)(e);return null===(t=e.metamask.smartTransactionsState)||void 0===t||null===(t=t.smartTransactions)||void 0===t||null===(t=t[(0,g.getCurrentChainId)(e)])||void 0===t?void 0:t.filter((e=>{var t,a;const n=null===(t=e.status)||void 0===t?void 0:t.startsWith("cancelled");return(null===(a=e.txParams)||void 0===a?void 0:a.from)===r&&!e.confirmed&&(!n||n&&e.type===i.TransactionType.swap)})).map((e=>{var t;return{...e,isSmartTransaction:!0,status:null!==(t=e.status)&&void 0!==t&&t.startsWith("cancelled")?u.SmartTransactionStatus.cancelled:e.status}}))};r.smartTransactionsListSelector=C;const R=r.selectedAddressTxListSelector=(0,o.createSelector)(g.getSelectedInternalAccount,S,C,((e,t=[],r=[])=>t.filter((({txParams:t})=>t.from===e.address)).filter((({type:e})=>e!==i.TransactionType.incoming)).concat(r))),D=r.unapprovedMessagesSelector=(0,o.createSelector)(T,y,v,E,b,g.getCurrentChainId,((e={},t={},r={},a={},n={},o)=>(0,c.default)({},e,t,r,a,n,o)||[])),O=r.transactionSubSelector=(0,o.createSelector)(D,A,((e=[],t=[])=>e.concat(t))),I=r.transactionsSelector=(0,o.createSelector)(O,R,((e=[],t=[])=>t.concat(e).sort(((e,t)=>t.time-e.time)))),M=(e,t)=>{const{primaryTransaction:{time:r}={}}=t;let a=e.length;for(let t=0;tr){a=t;break}}e.splice(a,0,t)},k=r.nonceSortedTransactionsSelector=(0,o.createSelector)(I,((e=[])=>{const t=[],r=[],a=[],n={};e.forEach((e=>{const{txParams:{nonce:o}={},status:c,type:u,time:d,txReceipt:g}=e;if(void 0===o||u===i.TransactionType.incoming){const a={transactions:[e],initialTransaction:e,primaryTransaction:e,hasRetried:!1,hasCancelled:!1,nonce:o};u===i.TransactionType.incoming?r.push(a):M(t,a)}else if(o in n){var p,m;const t=n[o];((e,t)=>{const{time:r}=t;let a=e.length;for(let t=0;tr){a=t;break}e.splice(a,0,t)})(t.transactions,e);const{primaryTransaction:{time:r=0}={},initialTransaction:{time:a=0}={}}=t,l={isOnChainFailure:"0x0"===(null==g?void 0:g.status),isEphemeral:c===i.TransactionStatus.failed&&"0x0"!==(null==g?void 0:g.status),isRetryOrCancel:h.includes(u),occurredAfterPrimary:d>r,hasPriorityStatus:c in s.PRIORITY_STATUS_HASH,isConfirmed:c===i.TransactionStatus.confirmed,occurredBeforeInitial:d{let r=e.length;for(let a=0;aNumber((0,l.hexToDecimal)(t))){r=a;break}}e.splice(r,0,t)})(a,o)}));const o=a.map((e=>n[e]));return((e,t)=>{t.forEach((t=>{M(e,t)}))})(o,r),t.concat(o).map((e=>{var t;if(h.includes(null===(t=e.initialTransaction)||void 0===t?void 0:t.type)){const t=e.transactions.find((e=>!h.includes(e.type)));if(t)return{...e,initialTransaction:t}}return e}))})),P=(r.nonceSortedPendingTransactionsSelector=(0,o.createSelector)(k,((e=[])=>e.filter((({primaryTransaction:e})=>e.status in s.PENDING_STATUS_HASH)))),r.nonceSortedCompletedTransactionsSelector=(0,o.createSelector)(k,((e=[])=>e.filter((({primaryTransaction:e})=>!(e.status in s.PENDING_STATUS_HASH))).reverse())),r.submittedPendingTransactionsSelector=(0,o.createSelector)(I,((e=[])=>e.filter((e=>e.status===i.TransactionStatus.submitted)))),[n.ApprovalType.EthDecrypt,n.ApprovalType.EthGetEncryptionPublicKey,n.ApprovalType.EthSign,n.ApprovalType.EthSignTypedData,n.ApprovalType.PersonalSign])}}},{package:"$root$",file:"ui/selectors/transactions.js"}],[5996,{"@metamask/transaction-controller":2234,lodash:3836,reselect:4269},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.filterAndShapeUnapprovedTransactions=r.createDeepEqualSelector=void 0;var a=e("@metamask/transaction-controller"),n=e("lodash"),o=e("reselect");r.createDeepEqualSelector=(0,o.createSelectorCreator)(o.defaultMemoize,n.isEqual);r.filterAndShapeUnapprovedTransactions=e=>e.filter((({status:e})=>e===a.TransactionStatus.unapproved)).reduce(((e,t)=>(e[t.id]=t,e)),{})}}},{package:"$root$",file:"ui/selectors/util.js"}],[5997,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.UPDATE_TRANSACTION_PARAMS=r.UPDATE_METAMASK_STATE=r.UPDATE_CUSTOM_NONCE=r.UNLOCK_SUCCEEDED=r.UNLOCK_IN_PROGRESS=r.UNLOCK_FAILED=r.TRANSACTION_ERROR=r.TOGGLE_NETWORK_MENU=r.TOGGLE_GAS_LOADING_ANIMATION=r.TOGGLE_CURRENCY_INPUT_SWITCH=r.TOGGLE_ACCOUNT_MENU=r.SHOW_SEND_TOKEN_PAGE=r.SHOW_PRIVATE_KEY=r.SHOW_LOADING=r.SHOW_KEYRING_SNAP_REMOVAL_RESULT=r.SHOW_IPFS_MODAL_OPEN=r.SHOW_IPFS_MODAL_CLOSE=r.SHOW_CONF_TX_PAGE=r.SHOW_BASIC_FUNCTIONALITY_MODAL_OPEN=r.SHOW_BASIC_FUNCTIONALITY_MODAL_CLOSE=r.SHOW_ACCOUNTS_PAGE=r.SET_WEBHID_CONNECTED_STATUS=r.SET_SMART_TRANSACTIONS_ERROR=r.SET_SHOW_TOKEN_AUTO_DETECT_MODAL_UPGRADE=r.SET_SELECTED_NETWORK_CONFIGURATION_ID=r.SET_REQUEST_ACCOUNT_TABS=r.SET_REMOVE_NFT_MESSAGE=r.SET_PENDING_TOKENS=r.SET_PARTICIPATE_IN_METAMETRICS=r.SET_OPEN_METAMASK_TAB_IDS=r.SET_NEXT_NONCE=r.SET_NEW_TOKENS_IMPORTED_ERROR=r.SET_NEW_TOKENS_IMPORTED=r.SET_NEW_NFT_ADDED_MESSAGE=r.SET_NEW_NETWORK_ADDED=r.SET_LEDGER_TRANSPORT_STATUS=r.SET_HARDWARE_WALLET_DEFAULT_HD_PATH=r.SET_FIRST_TIME_FLOW_TYPE=r.SET_DATA_COLLECTION_FOR_MARKETING=r.SET_CUSTOM_TOKEN_AMOUNT=r.SET_CURRENT_LOCALE=r.SET_CONFIRMATION_EXCHANGE_RATES=r.SET_ACCOUNT_LABEL=r.SET_ACCOUNT_DETAILS_ADDRESS=r.SELECTED_ADDRESS_CHANGED=r.SELECTED_ACCOUNT_CHANGED=r.RESET_ONBOARDING=r.QR_CODE_DETECTED=r.ONBOARDING_TOGGLE_BASIC_FUNCTIONALITY_ON=r.ONBOARDING_TOGGLE_BASIC_FUNCTIONALITY_OFF=r.ONBOARDED_IN_THIS_UI_SESSION=r.NETWORK_DROPDOWN_OPEN=r.NETWORK_DROPDOWN_CLOSE=r.MODAL_OPEN=r.MODAL_CLOSE=r.LOCK_METAMASK=r.LOADING_METHOD_DATA_STARTED=r.LOADING_METHOD_DATA_FINISHED=r.IMPORT_TOKENS_POPOVER_OPEN=r.IMPORT_TOKENS_POPOVER_CLOSE=r.IMPORT_NFTS_MODAL_OPEN=r.IMPORT_NFTS_MODAL_CLOSE=r.HIDE_WHATS_NEW_POPUP=r.HIDE_WARNING=r.HIDE_LOADING=r.HIDE_KEYRING_SNAP_REMOVAL_RESULT=r.GO_HOME=r.GAS_FEE_ESTIMATES_UPDATED=r.FORCE_DISABLE_DESKTOP=r.DISPLAY_WARNING=r.DISMISS_SMART_TRANSACTIONS_ERROR_MESSAGE=r.DEPRECATED_NETWORK_POPOVER_OPEN=r.DEPRECATED_NETWORK_POPOVER_CLOSE=r.CONNECT_ACCOUNTS_MODAL_OPEN=r.CONNECT_ACCOUNTS_MODAL_CLOSE=r.COMPLETE_ONBOARDING=r.COMPLETED_TX=r.CLOSE_WELCOME_SCREEN=r.CLEAR_SWAP_AND_SEND_STATE=r.CLEAR_PENDING_TOKENS=r.CLEAR_ACCOUNT_DETAILS=r.CHAIN_CHANGED=r.CAPTURE_SINGLE_EXCEPTION=r.ALERT_OPEN=r.ALERT_CLOSE=r.ADDRESS_BOOK_UPDATED=r.ACCOUNT_CHANGED=void 0;r.GO_HOME="GO_HOME",r.MODAL_OPEN="UI_MODAL_OPEN",r.MODAL_CLOSE="UI_MODAL_CLOSE",r.SET_CONFIRMATION_EXCHANGE_RATES="SET_CONFIRMATION_EXCHANGE_RATES",r.ALERT_OPEN="UI_ALERT_OPEN",r.ALERT_CLOSE="UI_ALERT_CLOSE",r.QR_CODE_DETECTED="UI_QR_CODE_DETECTED",r.NETWORK_DROPDOWN_OPEN="UI_NETWORK_DROPDOWN_OPEN",r.NETWORK_DROPDOWN_CLOSE="UI_NETWORK_DROPDOWN_CLOSE",r.IMPORT_NFTS_MODAL_OPEN="UI_IMPORT_NFTS_MODAL_OPEN",r.IMPORT_NFTS_MODAL_CLOSE="UI_IMPORT_NFTS_MODAL_CLOSE",r.SHOW_IPFS_MODAL_OPEN="UI_IPFS_MODAL_OPEN",r.SHOW_IPFS_MODAL_CLOSE="UI_IPFS_MODAL_CLOSE",r.IMPORT_TOKENS_POPOVER_OPEN="UI_IMPORT_TOKENS_POPOVER_OPEN",r.IMPORT_TOKENS_POPOVER_CLOSE="UI_IMPORT_TOKENS_POPOVER_CLOSE",r.SHOW_BASIC_FUNCTIONALITY_MODAL_OPEN="SHOW_BASIC_FUNCTIONALITY_MODAL_OPEN",r.SHOW_BASIC_FUNCTIONALITY_MODAL_CLOSE="SHOW_BASIC_FUNCTIONALITY_MODAL_CLOSE",r.ONBOARDING_TOGGLE_BASIC_FUNCTIONALITY_ON="ONBOARDING_TOGGLE_BASIC_FUNCTIONALITY_ON",r.ONBOARDING_TOGGLE_BASIC_FUNCTIONALITY_OFF="ONBOARDING_TOGGLE_BASIC_FUNCTIONALITY_OFF",r.UPDATE_METAMASK_STATE="UPDATE_METAMASK_STATE",r.SELECTED_ADDRESS_CHANGED="SELECTED_ADDRESS_CHANGED",r.SELECTED_ACCOUNT_CHANGED="SELECTED_ACCOUNT_CHANGED",r.ACCOUNT_CHANGED="ACCOUNT_CHANGED",r.CHAIN_CHANGED="CHAIN_CHANGED",r.ADDRESS_BOOK_UPDATED="ADDRESS_BOOK_UPDATED",r.GAS_FEE_ESTIMATES_UPDATED="GAS_FEE_ESTIMATES_UPDATED",r.CLOSE_WELCOME_SCREEN="CLOSE_WELCOME_SCREEN",r.CLEAR_SWAP_AND_SEND_STATE="CLEAR_SWAP_AND_SEND_STATE",r.UNLOCK_IN_PROGRESS="UNLOCK_IN_PROGRESS",r.UNLOCK_FAILED="UNLOCK_FAILED",r.UNLOCK_SUCCEEDED="UNLOCK_SUCCEEDED",r.LOCK_METAMASK="LOCK_METAMASK",r.DISPLAY_WARNING="DISPLAY_WARNING",r.HIDE_WARNING="HIDE_WARNING",r.CAPTURE_SINGLE_EXCEPTION="CAPTURE_SINGLE_EXCEPTION",r.SHOW_ACCOUNTS_PAGE="SHOW_ACCOUNTS_PAGE",r.SHOW_CONF_TX_PAGE="SHOW_CONF_TX_PAGE",r.SHOW_SEND_TOKEN_PAGE="SHOW_SEND_TOKEN_PAGE",r.SHOW_PRIVATE_KEY="SHOW_PRIVATE_KEY",r.SET_ACCOUNT_LABEL="SET_ACCOUNT_LABEL",r.CLEAR_ACCOUNT_DETAILS="CLEAR_ACCOUNT_DETAILS",r.SET_ACCOUNT_DETAILS_ADDRESS="SET_ACCOUNT_DETAILS_ADDRESS",r.COMPLETED_TX="COMPLETED_TX",r.TRANSACTION_ERROR="TRANSACTION_ERROR",r.UPDATE_TRANSACTION_PARAMS="UPDATE_TRANSACTION_PARAMS",r.SET_NEXT_NONCE="SET_NEXT_NONCE",r.SET_HARDWARE_WALLET_DEFAULT_HD_PATH="SET_HARDWARE_WALLET_DEFAULT_HD_PATH",r.SHOW_LOADING="SHOW_LOADING_INDICATION",r.HIDE_LOADING="HIDE_LOADING_INDICATION",r.TOGGLE_ACCOUNT_MENU="TOGGLE_ACCOUNT_MENU",r.TOGGLE_NETWORK_MENU="TOGGLE_NETWORK_MENU",r.DEPRECATED_NETWORK_POPOVER_OPEN="DEPRECATED_NETWORK_POPOVER_OPEN",r.DEPRECATED_NETWORK_POPOVER_CLOSE="DEPRECATED_NETWORK_POPOVER_CLOSE",r.UPDATE_CUSTOM_NONCE="UPDATE_CUSTOM_NONCE",r.SET_PARTICIPATE_IN_METAMETRICS="SET_PARTICIPATE_IN_METAMETRICS",r.SET_DATA_COLLECTION_FOR_MARKETING="SET_DATA_COLLECTION_FOR_MARKETING",r.SET_CURRENT_LOCALE="SET_CURRENT_LOCALE",r.COMPLETE_ONBOARDING="COMPLETE_ONBOARDING",r.RESET_ONBOARDING="RESET_ONBOARDING",r.ONBOARDED_IN_THIS_UI_SESSION="ONBOARDED_IN_THIS_UI_SESSION",r.SET_WEBHID_CONNECTED_STATUS="SET_WEBHID_CONNECTED_STATUS",r.SET_LEDGER_TRANSPORT_STATUS="SET_LEDGER_TRANSPORT_STATUS",r.SET_PENDING_TOKENS="SET_PENDING_TOKENS",r.CLEAR_PENDING_TOKENS="CLEAR_PENDING_TOKENS",r.SET_FIRST_TIME_FLOW_TYPE="SET_FIRST_TIME_FLOW_TYPE",r.SET_SHOW_TOKEN_AUTO_DETECT_MODAL_UPGRADE="SET_SHOW_TOKEN_AUTO_DETECT_MODAL_UPGRADE",r.SET_SELECTED_NETWORK_CONFIGURATION_ID="SET_SELECTED_NETWORK_CONFIGURATION_ID",r.SET_NEW_NETWORK_ADDED="SET_NEW_NETWORK_ADDED",r.SET_NEW_NFT_ADDED_MESSAGE="SET_NEW_NFT_ADDED_MESSAGE",r.SET_REMOVE_NFT_MESSAGE="SET_REMOVE_NFT_MESSAGE",r.LOADING_METHOD_DATA_STARTED="LOADING_METHOD_DATA_STARTED",r.LOADING_METHOD_DATA_FINISHED="LOADING_METHOD_DATA_FINISHED",r.SET_REQUEST_ACCOUNT_TABS="SET_REQUEST_ACCOUNT_TABS",r.SET_OPEN_METAMASK_TAB_IDS="SET_OPEN_METAMASK_TAB_IDS",r.HIDE_WHATS_NEW_POPUP="HIDE_WHATS_NEW_POPUP",r.TOGGLE_GAS_LOADING_ANIMATION="TOGGLE_GAS_LOADING_ANIMATION",r.SET_SMART_TRANSACTIONS_ERROR="SET_SMART_TRANSACTIONS_ERROR",r.DISMISS_SMART_TRANSACTIONS_ERROR_MESSAGE="DISMISS_SMART_TRANSACTIONS_ERROR_MESSAGE",r.TOGGLE_CURRENCY_INPUT_SWITCH="TOGGLE_CURRENCY_INPUT_SWITCH",r.SET_NEW_TOKENS_IMPORTED="SET_NEW_TOKENS_IMPORTED",r.SET_NEW_TOKENS_IMPORTED_ERROR="SET_NEW_TOKENS_IMPORTED_ERROR",r.SET_CUSTOM_TOKEN_AMOUNT="SET_CUSTOM_TOKEN_AMOUNT",r.CONNECT_ACCOUNTS_MODAL_OPEN="UI_CONNECT_ACCOUNTS_MODAL_OPEN",r.CONNECT_ACCOUNTS_MODAL_CLOSE="UI_CONNECT_ACCOUNTS_MODAL_CLOSE",r.FORCE_DISABLE_DESKTOP="FORCE_DISABLE_DESKTOP",r.SHOW_KEYRING_SNAP_REMOVAL_RESULT="SHOW_KEYRING_SNAP_REMOVAL_RESULT",r.HIDE_KEYRING_SNAP_REMOVAL_RESULT="HIDE_KEYRING_SNAP_REMOVAL_RESULT"}}},{package:"$root$",file:"ui/store/actionConstants.ts"}],[5998,{"../../app/scripts/lib/util":120,"../../shared/constants/app":4493,"../../shared/constants/common":4495,"../../shared/constants/hardware-wallets":4501,"../../shared/constants/metametrics":4505,"../../shared/lib/switch-direction":4529,"../../shared/modules/conversion.utils":4537,"../../shared/modules/error":4540,"../../shared/modules/hexstring-utils":4544,"../../shared/modules/i18n":4545,"../../shared/modules/selectors":4554,"../../shared/modules/string-utils":4558,"../ducks/alerts/unconnected-account":5335,"../ducks/metamask/metamask":5346,"../ducks/send":5348,"../helpers/constants/notifications":5359,"../helpers/utils/transactions.util":5397,"../pages/swaps/swaps.util":5967,"../selectors":5987,"./actionConstants":5997,"./background-connection":5999,"@metamask/keyring-controller":1476,"@sentry/browser":2409,buffer:3028,"eth-rpc-errors":3257,lodash:3836,loglevel:3842},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(t){(function(){Object.defineProperty(r,"__esModule",{value:!0}),r.abortTransactionSigning=function(e){return async t=>{try{await(0,I.submitRequestToBackground)("abortTransactionSigning",[e])}catch(e){t(te(e))}}},r.addImportedTokens=function(e,t){return async r=>{try{await(0,I.submitRequestToBackground)("addImportedTokens",[e,t])}catch(e){(0,D.logErrorWithMessage)(e)}finally{await oe(r)}}},r.addMorePermittedAccounts=function(e,t){return async r=>{await new Promise(((r,a)=>{(0,I.callBackgroundMethod)("addMorePermittedAccounts",[e,t],(e=>{e?a(e):r()}))})),await oe(r)}},r.addNewAccount=function(){return a.default.debug("background.addNewAccount"),async(e,t)=>{const r=(0,g.getInternalAccounts)(t()).filter((e=>e.metadata.keyring.type===s.KeyringTypes.hd));let a;e($());try{a=await(0,I.submitRequestToBackground)("addNewAccount",[Object.keys(r).length])}catch(t){throw e(te(t)),t}finally{e(ee())}return await oe(e),a}},r.addNft=function(e,t,r){return async a=>{if(!e)throw new Error("MetaMask - Cannot add NFT without address");if(!t)throw new Error("MetaMask - Cannot add NFT without tokenID");r||a($());try{await(0,I.submitRequestToBackground)("addNft",[e,t])}catch(e){(0,D.logErrorWithMessage)(e),a(te(e))}finally{await oe(a),a(ee())}}},r.addNftVerifyOwnership=function(e,t,r){return async a=>{if(!e)throw new Error("MetaMask - Cannot add NFT without address");if(!t)throw new Error("MetaMask - Cannot add NFT without tokenID");r||a($());try{await(0,I.submitRequestToBackground)("addNftVerifyOwnership",[e,t])}catch(e){if((0,D.isErrorWithMessage)(e)&&(e.message.includes("This NFT is not owned by the user")||e.message.includes("Unable to verify ownership")))throw e;(0,D.logErrorWithMessage)(e),a(te(e))}finally{await oe(a),a(ee())}}},r.addPermittedAccount=function(e,t){return async r=>{await new Promise(((r,a)=>{(0,I.callBackgroundMethod)("addPermittedAccount",[e,t],(e=>{e?a(e):r()}))})),await oe(r)}},r.addPollingTokenToAppState=ge,r.addToAddressBook=function(e,t="",r=""){return a.default.debug("background.addToAddressBook"),async(a,n)=>{const{chainId:o}=(0,h.getProviderConfig)(n());let i;try{i=await(0,I.submitRequestToBackground)("setAddressBook",[(0,T.toChecksumHexAddress)(e),t,o,r])}catch(e){throw(0,D.logErrorWithMessage)(e),a(te("Address book failed to update")),e}i||a(te("Address book failed to update"))}},r.addToken=function({address:e,symbol:t,decimals:r,image:a,networkClientId:n},o){return async i=>{if(!e)throw new Error("MetaMask - Cannot add token without address");o||i($());try{await(0,I.submitRequestToBackground)("addToken",[{address:e,symbol:t,decimals:r,image:a,networkClientId:n}])}catch(e){(0,D.logErrorWithMessage)(e),i(te(e))}finally{await oe(i),i(ee())}}},r.addTransactionAndRouteToConfirmationPage=function(e,t){return async r=>{const n=(0,I.generateActionId)();try{a.default.debug("background.addTransaction");const o=await(0,I.submitRequestToBackground)("addTransaction",[e,{...t,actionId:n,origin:l.ORIGIN_METAMASK}]);return r(z()),o}catch(e){r(ee()),r(te(e))}return null}},r.addTransactionAndWaitForPublish=async function(e,t){a.default.debug("background.addTransactionAndWaitForPublish");const r=(0,I.generateActionId)();return await(0,I.submitRequestToBackground)("addTransactionAndWaitForPublish",[e,{...t,origin:l.ORIGIN_METAMASK,actionId:r}])},r.approvePermissionsRequest=function(e){return t=>{(0,I.callBackgroundMethod)("approvePermissionsRequest",[e],(e=>{e&&t(te(e)),oe(t)}))}},r.attemptLedgerTransportCreation=async function(){return await(0,I.submitRequestToBackground)("attemptLedgerTransportCreation")},r.automaticallySwitchNetwork=function(e,t){return async r=>{await Z(e),await r(W({networkClientId:e,origin:t})),await oe(r)}},r.backupUserData=async function(){let e;try{e=await(0,I.submitRequestToBackground)("backupUserData")}catch(e){throw(0,D.logErrorWithMessage)(e),e}return e},r.cancelDecryptMsg=function(e){return async t=>{let r;t($());try{r=await(0,I.submitRequestToBackground)("cancelDecryptMessage",[e.id])}finally{t(ee())}return t(j(r)),t(J(e.id)),t(Y()),e}},r.cancelEncryptionPublicKeyMsg=function(e){return async t=>{let r;t($());try{r=await(0,I.submitRequestToBackground)("cancelEncryptionPublicKey",[e.id])}finally{t(ee())}return t(j(r)),t(J(e.id)),t(Y()),e}},r.cancelQRHardwareSignRequest=function(){return async e=>{e(ee()),await(0,I.submitRequestToBackground)("cancelQRHardwareSignRequest")}},r.cancelSmartTransaction=function(e){return async t=>{try{await(0,I.submitRequestToBackground)("cancelSmartTransaction",[e])}catch(e){if((0,D.logErrorWithMessage)(e),(0,D.isErrorWithMessage)(e)&&e.message.startsWith("Fetch error:")){const r=(0,A.parseSmartTransactionsError)(e.message);t({type:O.SET_SMART_TRANSACTIONS_ERROR,payload:r})}throw e}}},r.cancelSyncQRHardware=function(){return async e=>{e(ee()),await(0,I.submitRequestToBackground)("cancelSyncQRHardware")}},r.cancelTx=function(e,t=!0){return r=>(t&&r($()),new Promise(((t,r)=>{(0,I.callBackgroundMethod)("rejectPendingApproval",[String(e.id),i.ethErrors.provider.userRejectedRequest().serialize()],(e=>{e?r(e):t()}))})).then((()=>w())).then((e=>r(j(e)))).then((()=>(r((0,p.resetSendState)()),r(J(e.id)),r(ee()),r(Y()),e))).catch((e=>{throw r(ee()),e})))},r.cancelTxs=function(e){return async t=>{t($());try{const r=e.map((({id:e})=>e)),a=r.map((e=>new Promise(((t,r)=>{(0,I.callBackgroundMethod)("rejectPendingApproval",[String(e),i.ethErrors.provider.userRejectedRequest().serialize()],(e=>{e?r(e):t()}))}))));await Promise.all(a);const n=await w();t(j(n)),t((0,p.resetSendState)()),r.forEach((e=>{t(J(e))}))}finally{(0,d.getEnvironmentType)()===l.ENVIRONMENT_TYPE_NOTIFICATION?me():t(ee())}}},r.captureSingleException=function(e){return async(t,r)=>{const{singleExceptions:a}=r().appState;e in a||(t({type:O.CAPTURE_SINGLE_EXCEPTION,value:e}),(0,n.captureException)(Error(e)))}},r.checkAccountsPresence=function(e){return async()=>{try{return await(0,I.submitRequestToBackground)("checkAccountsPresence",[e])}catch(e){throw(0,D.logErrorWithMessage)(e),e}}},r.checkAndUpdateAllNftsOwnershipStatus=async function(){await(0,I.submitRequestToBackground)("checkAndUpdateAllNftsOwnershipStatus")},r.checkAndUpdateSingleNftOwnershipStatus=async function(e){await(0,I.submitRequestToBackground)("checkAndUpdateSingleNftOwnershipStatus",[e,!1])},r.checkHardwareStatus=function(e,t){return a.default.debug("background.checkHardwareStatus",e,t),async r=>{r($());let a=!1;try{a=await(0,I.submitRequestToBackground)("checkHardwareStatus",[e,t])}catch(e){throw(0,D.logErrorWithMessage)(e),r(te(e)),e}finally{r(ee())}return await oe(r),a}},r.clearAccountDetails=function(){return{type:O.CLEAR_ACCOUNT_DETAILS}},r.clearPendingTokens=function(){return{type:O.CLEAR_PENDING_TOKENS}},r.clearSmartTransactionFees=function(){(0,I.submitRequestToBackground)("clearSmartTransactionFees")},r.clearSwapsQuotes=function(){return async e=>{await(0,I.submitRequestToBackground)("clearSwapsQuotes"),await oe(e)}},r.clearSwitchedNetworkDetails=function(){return async e=>{await(0,I.submitRequestToBackground)("clearSwitchedNetworkDetails",[]),await oe(e)}},r.closeCurrentNotificationWindow=Y,r.closeNotificationPopup=me,r.closeWelcomeScreen=function(){return{type:O.CLOSE_WELCOME_SCREEN}},r.completeOnboarding=ae,r.completedTx=J,r.connectHardware=function(e,t,r,n){return a.default.debug("background.connectHardware",e,t,r),async(a,i)=>{const{ledgerTransportType:s}=i().metamask;let c;a($(`Looking for your ${(0,o.capitalize)(e)}...`));try{if(e===f.HardwareDeviceNames.ledger&&s===f.LedgerTransportTypes.webhid){const e=await window.navigator.hid.requestDevice({filters:[{vendorId:f.LEDGER_USB_VENDOR_ID}]});if(!e.some((e=>e.vendorId===Number(f.LEDGER_USB_VENDOR_ID))))throw new Error(n("ledgerWebHIDNotConnectedErrorMessage"))}c=await(0,I.submitRequestToBackground)("connectHardware",[e,t,r])}catch(t){throw(0,D.logErrorWithMessage)(t),e===f.HardwareDeviceNames.ledger&&s===f.LedgerTransportTypes.webhid&&(0,D.isErrorWithMessage)(t)&&t.message.match("Failed to open the device")?(a(te(n("ledgerDeviceOpenFailureMessage"))),new Error(n("ledgerDeviceOpenFailureMessage"))):(e!==f.HardwareDeviceNames.qr&&a(te(t)),t)}finally{a(ee())}return await oe(a),c}},r.createCancelTransaction=function(e,t,r={}){let n;return a.default.debug("background.createCancelTransaction"),a=>{const o=(0,I.generateActionId)();return new Promise(((i,s)=>{(0,I.callBackgroundMethod)("createCancelTransaction",[e,t,{...r,actionId:o}],((t,r)=>{var o;if(t)return null!=t&&null!==(o=t.message)&&void 0!==o&&o.includes("Previous transaction is already confirmed")&&a(Q({name:"TRANSACTION_ALREADY_CONFIRMED",originalTransactionId:e})),a(te(t)),void s(t);if(r){const e=(0,g.getCurrentNetworkTransactions)({metamask:r}),{id:t}=e[e.length-1];n=t,i(r)}}))})).then((e=>a(j(e)))).then((()=>n))}},r.createEventFragment=function(e){const t=(0,I.generateActionId)();return(0,I.submitRequestToBackground)("createEventFragment",[{...e,actionId:t}])},r.createNewVault=_,r.createNewVaultAndGetSeedPhrase=function(e){return async t=>{t($());try{await _(e);return await B(e)}catch(e){throw t(te(e)),(0,D.isErrorWithMessage)(e)?new Error(e.message):e}finally{t(ee())}}},r.createNewVaultAndRestore=function(e,r){return n=>{n($()),a.default.debug("background.createNewVaultAndRestore");const o=Array.from(t.from(r,"utf8").values());let i;return new Promise(((t,r)=>{(0,I.callBackgroundMethod)("createNewVaultAndRestore",[e,o],((e,a)=>{e?r(e):(i=a,t())}))})).then((()=>n(U()))).then((()=>(n(q()),n(ee()),i))).catch((e=>(n(te(e.message)),n(ee()),Promise.reject(e))))}},r.createOnChainTriggers=function(){return async()=>{try{await(0,I.submitRequestToBackground)("createOnChainTriggers")}catch(e){throw(0,D.logErrorWithMessage)(e),e}}},r.createRetryTransaction=function(e,t){let r;return a=>new Promise(((n,o)=>{const i=(0,I.generateActionId)();(0,I.callBackgroundMethod)("createSpeedUpTransaction",[e,t,{actionId:i}],((e,t)=>{if(e)return a(te(e)),void o(e);if(t){const e=(0,g.getCurrentNetworkTransactions)(t);r=e[e.length-1],n(t)}}))})).then((e=>a(j(e)))).then((()=>r))},r.createSpeedUpTransaction=function(e,t,r={}){let n;return a.default.debug("background.createSpeedUpTransaction"),a=>{const o=(0,I.generateActionId)();return new Promise(((i,s)=>{(0,I.callBackgroundMethod)("createSpeedUpTransaction",[e,t,{...r,actionId:o}],((e,t)=>{if(e)return a(te(e)),void s(e);if(t){const e=(0,g.getCurrentNetworkTransactions)(t);n=e[e.length-1],i(t)}}))})).then((e=>a(j(e)))).then((()=>n))}},r.createTransactionEventFragment=function(e){const t=(0,I.generateActionId)();return(0,I.submitRequestToBackground)("createTransactionEventFragment",[{transactionId:e,actionId:t}])},r.currencyRateStartPollingByNetworkClientId=async function(e){const t=await(0,I.submitRequestToBackground)("currencyRateStartPollingByNetworkClientId",[e]);return await ge(t),t},r.currencyRateStopPollingByPollingToken=async function(e){await(0,I.submitRequestToBackground)("currencyRateStopPollingByPollingToken",[e]),await pe(e)},r.decryptMsg=function(e){return a.default.debug("action - decryptMsg"),async t=>{let r;t($()),a.default.debug("actions calling background.decryptMessage");try{r=await(0,I.submitRequestToBackground)("decryptMessage",[e])}catch(e){throw(0,D.logErrorWithMessage)(e),t(te(e)),e}finally{t(ee())}return t(j(r)),t(J(e.metamaskId)),t(Y()),e}},r.decryptMsgInline=function(e){return a.default.debug("action - decryptMsgInline"),async t=>{let r;a.default.debug("actions calling background.decryptMessageInline");try{r=await(0,I.submitRequestToBackground)("decryptMessageInline",[e])}catch(e){throw(0,D.logErrorWithMessage)(e),t(te(e)),e}return t(j(r)),r.unapprovedDecryptMsgs[e.metamaskId]}},r.deleteExpiredNotifications=function(){return async(e,t)=>{const r=t(),a=(0,g.getNotifications)(r).filter((e=>{const t=new Date(Date.now()-E.NOTIFICATIONS_EXPIRATION_DELAY);return Boolean(e.readDate&&new Date(e.readDate)e));a.length&&(await(0,I.submitRequestToBackground)("dismissNotifications",[a]),await oe(e))}},r.deleteInterface=function(e){return async t=>{await(0,I.submitRequestToBackground)("deleteInterface",[e]),await oe(t)}},r.deleteOnChainTriggersByAccount=function(e){return async()=>{try{await(0,I.submitRequestToBackground)("deleteOnChainTriggersByAccount",[e])}catch(e){throw(0,D.logErrorWithMessage)(e),e}}},r.detectNfts=function(){return async e=>{e($()),a.default.debug("background.detectNfts"),await(0,I.submitRequestToBackground)("detectNfts"),e(ee()),await oe(e)}},r.detectTokens=function(){return async e=>{e($()),a.default.debug("background.detectTokens"),await(0,I.submitRequestToBackground)("detectTokens"),e(ee()),await oe(e)}},r.disableDesktop=async function(){return await(0,I.submitRequestToBackground)("disableDesktop")},r.disableMetamaskNotifications=function(){return async()=>{try{await(0,I.submitRequestToBackground)("disableMetamaskNotifications")}catch(e){throw a.default.error(e),e}}},r.disableProfileSyncing=function(){return async()=>{try{await(0,I.submitRequestToBackground)("disableProfileSyncing")}catch(e){throw(0,D.logErrorWithMessage)(e),e}}},r.disableSnap=function(e){return async t=>{await(0,I.submitRequestToBackground)("disableSnap",[e]),await oe(t)}},r.disconnectOriginFromSnap=function(e,t){return async r=>{await(0,I.submitRequestToBackground)("disconnectOriginFromSnap",[e,t]),await oe(r)}},r.dismissNotifications=function(e){return async t=>{await(0,I.submitRequestToBackground)("dismissNotifications",[e]),await oe(t)}},r.dismissOpenSeaToBlockaidBanner=function(){return e=>{a.default.debug("background.dismissOpenSeaToBlockaidBanner"),(0,I.callBackgroundMethod)("dismissOpenSeaToBlockaidBanner",[],(t=>{t&&e(te(t))}))}},r.dismissSmartTransactionsErrorMessage=function(){return{type:O.DISMISS_SMART_TRANSACTIONS_ERROR_MESSAGE}},r.displayWarning=te,r.editAndSetNetworkConfiguration=function({networkConfigurationId:e,rpcUrl:t,chainId:r,nickname:n,rpcPrefs:o,ticker:i=R.EtherDenomination.ETH},{source:s}){return async c=>{a.default.debug(`background.removeNetworkConfiguration: ${e}`);try{await(0,I.submitRequestToBackground)("removeNetworkConfiguration",[e])}catch(e){return(0,D.logErrorWithMessage)(e),void c(te("Had a problem removing network!"))}try{await(0,I.submitRequestToBackground)("upsertNetworkConfiguration",[{rpcUrl:t,chainId:r,ticker:i,nickname:n||t,rpcPrefs:o},{setActive:!0,referrer:l.ORIGIN_METAMASK,source:s}])}catch(e){(0,D.logErrorWithMessage)(e),c(te("Had a problem changing networks!"))}}},r.enableMetamaskNotifications=function(){return async()=>{try{await(0,I.submitRequestToBackground)("enableMetamaskNotifications")}catch(e){throw a.default.error(e),e}}},r.enableProfileSyncing=function(){return async()=>{try{await(0,I.submitRequestToBackground)("enableProfileSyncing")}catch(e){throw(0,D.logErrorWithMessage)(e),e}}},r.enableSnap=function(e){return async t=>{await(0,I.submitRequestToBackground)("enableSnap",[e]),await oe(t)}},r.encryptionPublicKeyMsg=function(e){return a.default.debug("action - encryptionPublicKeyMsg"),async t=>{let r;t($()),a.default.debug("actions calling background.encryptionPublicKey");try{r=await(0,I.submitRequestToBackground)("encryptionPublicKey",[e])}catch(e){throw(0,D.logErrorWithMessage)(e),t(te(e)),e}finally{t(ee())}return t(j(r)),t(J(e.metamaskId)),t(Y()),e}},r.estimateGas=function(e){return(0,I.submitRequestToBackground)("estimateGas",[e])},r.exportAccount=function(e,t,r,n){return function(o){return o($()),a.default.debug("background.verifyPassword"),new Promise(((i,s)=>{(0,I.callBackgroundMethod)("verifyPassword",[e],(function(c){if(c)return a.default.error("Error in verifying password."),o(ee()),o(te("Incorrect Password.")),void s(c);a.default.debug("background.exportAccount"),(0,I.callBackgroundMethod)("exportAccount",[t,e],(function(e,t){if(o(ee()),e)return(0,D.logErrorWithMessage)(e),o(te("Had a problem exporting the account.")),void s(e);r(t),n(!0),i(t)}))}))}))}},r.exportAccounts=function(e,t){return function(r){return a.default.debug("background.verifyPassword"),new Promise(((n,o)=>{(0,I.callBackgroundMethod)("verifyPassword",[e],(function(i){if(i)return a.default.error("Error in submitting password."),void o(i);a.default.debug("background.exportAccounts");const s=t.map((t=>new Promise(((a,n)=>(0,I.callBackgroundMethod)("exportAccount",[t,e],(function(e,t){if(e)return(0,D.logErrorWithMessage)(e),r(te("Had a problem exporting the account.")),void n(e);a(t)}))))));n(Promise.all(s))}))}))}},r.fetchAndSetQuotes=function(e,t){return async r=>{const[a,n]=await(0,I.submitRequestToBackground)("fetchAndSetQuotes",[e,t]);return await oe(r),[a,n]}},r.fetchAndUpdateMetamaskNotifications=function(){return async()=>{try{return await(0,I.submitRequestToBackground)("fetchAndUpdateMetamaskNotifications")}catch(e){throw(0,D.logErrorWithMessage)(e),e}}},r.fetchSmartTransactionFees=function(e,t){return async r=>{t&&(t.value="0x0");try{const a=await await(0,I.submitRequestToBackground)("fetchSmartTransactionFees",[e,t]);return r({type:O.SET_SMART_TRANSACTIONS_ERROR,payload:null}),a}catch(e){if((0,D.logErrorWithMessage)(e),(0,D.isErrorWithMessage)(e)&&e.message.startsWith("Fetch error:")){const t=(0,A.parseSmartTransactionsError)(e.message);r({type:O.SET_SMART_TRANSACTIONS_ERROR,payload:t})}throw e}}},r.fetchSmartTransactionsLiveness=function(){return async()=>{try{await(0,I.submitRequestToBackground)("fetchSmartTransactionsLiveness")}catch(e){(0,D.logErrorWithMessage)(e)}}},r.finalizeEventFragment=function(e,t){return(0,I.submitRequestToBackground)("finalizeEventFragment",[e,t])},r.forceUpdateMetamaskState=oe,r.forgetDevice=function(e){return a.default.debug("background.forgetDevice",e),async t=>{t($());try{await(0,I.submitRequestToBackground)("forgetDevice",[e])}catch(e){throw(0,D.logErrorWithMessage)(e),t(te(e)),e}finally{t(ee())}await oe(t)}},r.gasFeeStartPollingByNetworkClientId=async function(e){const t=await(0,I.submitRequestToBackground)("gasFeeStartPollingByNetworkClientId",[e]);return await ge(t),t},r.gasFeeStopPollingByPollingToken=async function(e){await(0,I.submitRequestToBackground)("gasFeeStopPollingByPollingToken",[e]),await pe(e)},r.generateDesktopOtp=async function(){return await(0,I.submitRequestToBackground)("generateDesktopOtp")},r.getBalancesInSingleCall=async function(e,t,r){return await(0,I.submitRequestToBackground)("getBalancesInSingleCall",[e,t,r])},r.getContractMethodData=function(e=""){return async(t,r)=>{const n=(0,d.addHexPrefix)(e).slice(0,10);if(n.length<10)return{};const{knownMethodData:o,use4ByteResolution:i}=r().metamask;if(null!=o&&o[n]&&0!==Object.keys(o[n]).length)return o[n];a.default.debug("loadingMethodData");const{name:s,params:u}=await(0,c.getMethodDataAsync)(n,i);return(0,I.callBackgroundMethod)("addKnownMethodData",[n,{name:s,params:u}],(e=>{e&&t(te(e))})),{name:s,params:u}}},r.getCurrentNetworkEIP1559Compatibility=async function(){let e;try{e=await(0,I.submitRequestToBackground)("getCurrentNetworkEIP1559Compatibility")}catch(e){console.error(e)}return e},r.getGasFeeTimeEstimate=function(e,t){return(0,I.submitRequestToBackground)("getGasFeeTimeEstimate",[e,t])},r.getLayer1GasFee=function({chainId:e,networkClientId:t,transactionParams:r}){return async()=>await(0,I.submitRequestToBackground)("getLayer1GasFee",[{chainId:e,networkClientId:t,transactionParams:r}])},r.getNetworkConfigurationByNetworkClientId=async function(e){let t;try{t=await(0,I.submitRequestToBackground)("getNetworkConfigurationByNetworkClientId",[e])}catch(e){console.error(e)}return t},r.getNextAvailableAccountName=async function(){return await(0,I.submitRequestToBackground)("getNextAvailableAccountName",[])},r.getNextNonce=function(){return async(e,t)=>{const{address:r}=(0,g.getSelectedInternalAccount)(t()),a=(0,g.getSelectedNetworkClientId)(t());let n;try{n=await(0,I.submitRequestToBackground)("getNextNonce",[r,a])}catch(t){throw e(te(t)),t}return e(ue(n)),n}},r.getOpenMetamaskTabsIds=function(){return async e=>{e(de(await(0,I.submitRequestToBackground)("getOpenMetamaskTabsIds")))}},r.getPhishingResult=async function(e){return await(0,I.submitRequestToBackground)("getPhishingResult",[e])},r.getRequestAccountTabIds=function(){return async e=>{e(le(await(0,I.submitRequestToBackground)("getRequestAccountTabIds")))}},r.getRpcMethodPreferences=function(){return async e=>{e($()),await(0,I.submitRequestToBackground)("getRpcMethodPreferences",[]),e(ee())}},r.getSeedPhrase=B,r.getSnapAccountsById=async function(e){return await(0,I.submitRequestToBackground)("getAccountsBySnapId",[e])},r.getTokenStandardAndDetails=async function(e,t,r){return await(0,I.submitRequestToBackground)("getTokenStandardAndDetails",[e,t,r])},r.getTokenSymbol=async function(e){return await(0,I.submitRequestToBackground)("getTokenSymbol",[e])},r.getTransactions=async function(e={}){return await(0,I.submitRequestToBackground)("getTransactions",[e])},r.goHome=P,r.handleSnapRequest=async function(e){return(0,I.submitRequestToBackground)("handleSnapRequest",[e])},r.hideAccountBanner=function(){return(0,I.submitRequestToBackground)("setShowAccountBanner",[!1])},r.hideAlert=function(){return{type:O.ALERT_CLOSE}},r.hideBetaHeader=function(){return(0,I.submitRequestToBackground)("setShowBetaHeader",[!1])},r.hideDeprecatedNetworkModal=function(){return{type:O.DEPRECATED_NETWORK_POPOVER_CLOSE}},r.hideImportNftsModal=function(){return{type:O.IMPORT_NFTS_MODAL_CLOSE}},r.hideImportTokensModal=function(){return{type:O.IMPORT_TOKENS_POPOVER_CLOSE}},r.hideIpfsModal=function(){return{type:O.SHOW_IPFS_MODAL_CLOSE}},r.hideKeyringRemovalResultModal=function(){return{type:O.HIDE_KEYRING_SNAP_REMOVAL_RESULT}},r.hideLoadingIndication=ee,r.hideModal=function(){return{type:O.MODAL_CLOSE}},r.hideNetworkBanner=function(){return(0,I.submitRequestToBackground)("setShowNetworkBanner",[!1])},r.hideNetworkDropdown=function(){return{type:O.NETWORK_DROPDOWN_CLOSE}},r.hidePermissionsTour=function(){return(0,I.submitRequestToBackground)("setShowPermissionsTour",[!1])},r.hideTestNetMessage=function(){return(0,I.submitRequestToBackground)("setShowTestnetMessageInDropdown",[!1])},r.hideWarning=function(){return{type:O.HIDE_WARNING}},r.ignoreTokens=function({tokensToIgnore:e,dontShowLoadingIndicator:t=!1}){const r=Array.isArray(e)?e:[e];return async e=>{t||e($());try{await(0,I.submitRequestToBackground)("ignoreTokens",[r])}catch(t){(0,D.logErrorWithMessage)(t),e(te(t))}finally{await oe(e),e(ee())}}},r.importNewAccount=function(e,t,r){return async n=>{let o;n($(r));try{a.default.debug("background.importAccountWithStrategy"),await(0,I.submitRequestToBackground)("importAccountWithStrategy",[e,t]),a.default.debug("background.getState"),o=await(0,I.submitRequestToBackground)("getState")}finally{n(ee())}return n(j(o)),o}},r.isNftOwner=async function(e,t,r){return await(0,I.submitRequestToBackground)("isNftOwner",[e,t,r])},r.lockMetamask=function(){return a.default.debug("background.setLocked"),e=>(e($()),V().then((()=>w())).catch((t=>(e(te(t.message)),Promise.reject(t)))).then((t=>{e(j(t)),e(ee()),e({type:O.LOCK_METAMASK})})).catch((()=>{e(ee()),e({type:O.LOCK_METAMASK})})))},r.markMetamaskNotificationsAsRead=function(e){return async()=>{try{await(0,I.submitRequestToBackground)("markMetamaskNotificationsAsRead",[e])}catch(e){throw(0,D.logErrorWithMessage)(e),e}}},r.markNotificationsAsRead=function(e){return async t=>{await(0,I.submitRequestToBackground)("markNotificationsAsRead",[e]),await oe(t)}},r.markPasswordForgotten=function(){return async e=>{try{await new Promise(((e,t)=>{(0,I.callBackgroundMethod)("markPasswordForgotten",[],(r=>{r?t(r):e()}))}))}finally{e(ee()),await oe(e)}}},r.neverShowSwitchedNetworkMessage=function(){return(0,I.submitRequestToBackground)("setSwitchedNetworkNeverShowMessage",[!0])},r.performSignIn=function(){return async()=>{try{await(0,I.submitRequestToBackground)("performSignIn")}catch(e){const t=e instanceof Error?e.message:"Unknown error occurred during sign-in.";throw(0,D.logErrorWithMessage)(t),e}}},r.performSignOut=function(){return async()=>{try{await(0,I.submitRequestToBackground)("performSignOut")}catch(e){throw(0,D.logErrorWithMessage)(e),e}}},r.qrCodeDetected=function(e){return async t=>{await t({type:O.QR_CODE_DETECTED,value:e}),t((0,p.computeEstimatedGasLimit)())}},r.rejectAllMessages=function(e){return async t=>{const r=(0,i.serializeError)(i.ethErrors.provider.userRejectedRequest());await Promise.all(e.map((async({id:e})=>await(0,I.submitRequestToBackground)("rejectPendingApproval",[e,r]))));const{pendingApprovals:a}=await oe(t);0===Object.values(a).length&&t(Y())}},r.rejectPendingApproval=function(e,t){return async r=>{await(0,I.submitRequestToBackground)("rejectPendingApproval",[e,t]);const{pendingApprovals:a}=await oe(r);0===Object.values(a).length&&r(Y())}},r.rejectPermissionsRequest=function(e){return t=>new Promise(((r,a)=>{(0,I.callBackgroundMethod)("rejectPermissionsRequest",[e],(e=>{if(e)return t(te(e)),void a(e);oe(t).then(r).catch(a)}))}))},r.removeAccount=function(e){return async t=>{t($());try{await new Promise(((t,r)=>{(0,I.callBackgroundMethod)("removeAccount",[e],((e,a)=>{e?r(e):t(a)}))})),await oe(t)}catch(e){throw t(te(e)),e}finally{t(ee())}a.default.info(`Account removed: ${e}`),t(q())}},r.removeAndIgnoreNft=function(e,t,r){return async a=>{if(!e)throw new Error("MetaMask - Cannot ignore NFT without address");if(!t)throw new Error("MetaMask - Cannot ignore NFT without tokenID");r||a($());try{await(0,I.submitRequestToBackground)("removeAndIgnoreNft",[e,t])}catch(e){throw(0,D.logErrorWithMessage)(e),a(te(e)),e}finally{await oe(a),a(ee())}}},r.removeFromAddressBook=function(e,t){return a.default.debug("background.removeFromAddressBook"),async()=>{await(0,I.submitRequestToBackground)("removeFromAddressBook",[e,(0,T.toChecksumHexAddress)(t)])}},r.removeNetworkConfiguration=function(e){return t=>(a.default.debug(`background.removeNetworkConfiguration: ${e}`),new Promise(((r,a)=>{(0,I.callBackgroundMethod)("removeNetworkConfiguration",[e],(e=>{if(e)return(0,D.logErrorWithMessage)(e),t(te("Had a problem removing network!")),void a(e);r()}))})))},r.removeNft=function(e,t,r){return async a=>{if(!e)throw new Error("MetaMask - Cannot remove NFT without address");if(!t)throw new Error("MetaMask - Cannot remove NFT without tokenID");r||a($());try{await(0,I.submitRequestToBackground)("removeNft",[e,t])}catch(e){(0,D.logErrorWithMessage)(e),a(te(e))}finally{await oe(a),a(ee())}}},r.removePermissionsFor=function(e){return t=>{(0,I.callBackgroundMethod)("removePermissionsFor",[e],(e=>{e&&t(te(e))}))}},r.removePermittedAccount=function(e,t){return async r=>{await new Promise(((r,a)=>{(0,I.callBackgroundMethod)("removePermittedAccount",[e,t],(e=>{e?a(e):r()}))})),await oe(r)}},r.removePollingTokenFromAppState=pe,r.removeSnap=function(e){return async(t,r)=>{var a;t($());const n=(null===(a=(0,g.getPermissionSubjects)(r())[e])||void 0===a||null===(a=a.permissions)||void 0===a?void 0:a.snap_manageAccounts)!==undefined;try{if(n){const t=await(0,I.submitRequestToBackground)("getAccountsBySnapId",[e]);for(const e of t)await(0,I.submitRequestToBackground)("removeAccount",[e])}await(0,I.submitRequestToBackground)("removeSnap",[e]),await oe(t)}catch(e){throw t(te(e)),e}finally{t(ee())}}},r.requestAccountsPermissionWithId=function(e){return async t=>{const r=await(0,I.submitRequestToBackground)("requestAccountsPermissionWithId",[e]);return await oe(t),r}},r.requestRevealSeedWords=function(e){return async t=>{t($()),a.default.debug("background.verifyPassword");try{await L(e);return await B(e)}finally{t(ee())}}},r.requestUserApproval=function({origin:e,type:t,requestData:r}){return async a=>{try{await(0,I.submitRequestToBackground)("requestUserApproval",[{origin:e,type:t,requestData:r}])}catch(e){(0,D.logErrorWithMessage)(e),a(te("Had trouble requesting user approval"))}}},r.resetAccount=function(){return e=>(e($()),new Promise(((t,r)=>{(0,I.callBackgroundMethod)("resetAccount",[],((n,o)=>{if(e(ee()),n)return(0,D.isErrorWithMessage)(n)&&e(te(n.message)),void r(n);a.default.info(`Transaction history reset for ${o}`),e(q()),t(o)}))})))},r.resetBackgroundSwapsState=function(){return async e=>{await(0,I.submitRequestToBackground)("resetSwapsState"),await oe(e)}},r.resetOnboarding=function(){return async e=>{try{await e(ce(!1)),e(ne())}catch(e){console.error(e)}}},r.resetOnboardingAction=ne,r.resetSwapsPostFetchState=function(){return async e=>{await(0,I.submitRequestToBackground)("resetPostFetchState"),await oe(e)}},r.resetViewedNotifications=function(){return(0,I.submitRequestToBackground)("resetViewedNotifications")},r.resolvePendingApproval=function(e,t){return async r=>{await(0,I.submitRequestToBackground)("resolvePendingApproval",[e,t]);const{pendingApprovals:a}=await oe(r);0===Object.values(a).length&&r(Y())}},r.restoreUserData=async function(e){try{await(0,I.submitRequestToBackground)("restoreUserData",[e])}catch(e){throw(0,D.logErrorWithMessage)(e),e}return!0},r.revokeDynamicSnapPermissions=function(e,t){return async r=>{await(0,I.submitRequestToBackground)("revokeDynamicSnapPermissions",[e,t]),await oe(r)}},r.rollbackToPreviousProvider=function(){return async e=>{try{await(0,I.submitRequestToBackground)("rollbackToPreviousProvider")}catch(t){(0,D.logErrorWithMessage)(t),e(te("Had a problem changing networks!"))}}},r.safeRefetchQuotes=function(){return async e=>{await(0,I.submitRequestToBackground)("safeRefetchQuotes"),await oe(e)}},r.setAccountDetailsAddress=function(e){return{type:O.SET_ACCOUNT_DETAILS_ADDRESS,payload:e}},r.setAccountLabel=function(e,t){return r=>(r($()),a.default.debug("background.setAccountLabel"),new Promise(((a,n)=>{(0,I.callBackgroundMethod)("setAccountLabel",[e,t],(o=>{if(r(ee()),o)return r(te(o)),void n(o);r({type:O.SET_ACCOUNT_LABEL,value:{account:e,label:t}}),a(e)}))})))},r.setActiveNetwork=function(e){return async t=>{a.default.debug(`background.setActiveNetwork: ${e}`);try{await(0,I.submitRequestToBackground)("setActiveNetwork",[e])}catch(e){(0,D.logErrorWithMessage)(e),t(te("Had a problem changing networks!"))}}},r.setActiveNetworkConfigurationId=Z,r.setAddSnapAccountEnabled=async function(e){try{await(0,I.submitRequestToBackground)("setAddSnapAccountEnabled",[e])}catch(e){(0,D.logErrorWithMessage)(e)}},r.setAdvancedGasFee=function(e){return t=>{t($()),a.default.debug("background.setAdvancedGasFee"),(0,I.callBackgroundMethod)("setAdvancedGasFee",[e],(e=>{t(ee()),e&&t(te(e))}))}},r.setAlertEnabledness=async function(e,t){await(0,I.submitRequestToBackground)("setAlertEnabledness",[e,t])},r.setAutoLockTimeLimit=function(e){return re("autoLockTimeLimit",e)},r.setBackgroundSwapRouteState=function(e){return async t=>{await(0,I.submitRequestToBackground)("setBackgroundSwapRouteState",[e]),await oe(t)}},r.setCompletedOnboarding=function(){return async e=>{e($());try{await(0,I.submitRequestToBackground)("completeOnboarding"),e(ae())}catch(t){throw e(te(t)),t}finally{e(ee())}}},r.setConfirmationExchangeRates=function(e){return{type:O.SET_CONFIRMATION_EXCHANGE_RATES,value:e}},r.setConnectedStatusPopoverHasBeenShown=function(){return()=>{(0,I.callBackgroundMethod)("setConnectedStatusPopoverHasBeenShown",[],(e=>{if((0,D.isErrorWithMessage)(e))throw new Error(e.message)}))}},r.setCurrentCurrency=function(e){return async t=>{t($()),a.default.debug("background.setCurrentCurrency");try{await(0,I.submitRequestToBackground)("setCurrentCurrency",[e]),await oe(t)}catch(e){return(0,D.logErrorWithMessage)(e),void t(te(e))}finally{t(ee())}}},r.setCurrentExtensionPopupId=function(e){return async t=>{await(0,I.submitRequestToBackground)("setCurrentExtensionPopupId",[e]),await oe(t)}},r.setCurrentLocale=se,r.setCustomApproveTxData=function(e){return async t=>{await(0,I.submitRequestToBackground)("setCustomApproveTxData",[e]),await oe(t)}},r.setDataCollectionForMarketing=function(e){return async t=>{a.default.debug("background.setDataCollectionForMarketing"),await(0,I.submitRequestToBackground)("setDataCollectionForMarketing",[e]),t({type:O.SET_DATA_COLLECTION_FOR_MARKETING,value:e})}},r.setDefaultHomeActiveTabName=function(e){return async t=>{await(0,I.submitRequestToBackground)("setDefaultHomeActiveTabName",[e]),await oe(t)}},r.setDesktopEnabled=function(e){return async()=>{try{await(0,I.submitRequestToBackground)("setDesktopEnabled",[e])}catch(e){a.default.error(e)}}},r.setDisabledRpcMethodPreference=function(e,t){return async r=>{r($()),await(0,I.submitRequestToBackground)("setDisabledRpcMethodPreference",[e,t]),r(ee())}},r.setDismissSeedBackUpReminder=function(e){return async t=>{t($()),await(0,I.submitRequestToBackground)("setDismissSeedBackUpReminder",[e]),t(ee())}},r.setFeatureAnnouncementsEnabled=function(e){return async()=>{try{await(0,I.submitRequestToBackground)("setFeatureAnnouncementsEnabled",[e])}catch(e){throw(0,D.logErrorWithMessage)(e),e}}},r.setFeatureFlag=function(e,t,r){return a=>(a($()),new Promise(((n,o)=>{(0,I.callBackgroundMethod)("setFeatureFlag",[e,t],((e,t)=>{if(a(ee()),e)return a(te(e)),void o(e);r&&a(Q({name:r})),n(t)}))})))},r.setFeatureNotificationsEnabled=function(e){return re("featureNotificationsEnabled",e)},r.setFirstTimeFlowType=function(e){return t=>{a.default.debug("background.setFirstTimeFlowType"),(0,I.callBackgroundMethod)("setFirstTimeFlowType",[e],(e=>{e&&t(te(e))})),t({type:O.SET_FIRST_TIME_FLOW_TYPE,value:e})}},r.setFirstTimeUsedNetwork=function(e){return(0,I.submitRequestToBackground)("setFirstTimeUsedNetwork",[e])},r.setHardwareWalletDefaultHdPath=function({device:e,path:t}){return{type:O.SET_HARDWARE_WALLET_DEFAULT_HD_PATH,payload:{device:e,path:t}}},r.setHideZeroBalanceTokens=function(e){return re("hideZeroBalanceTokens",e)},r.setIncomingTransactionsPreferences=function(e,t){return async r=>{r($()),a.default.debug("background.setIncomingTransactionsPreferences"),await(0,I.submitRequestToBackground)("setIncomingTransactionsPreferences",[e,t]),r(ee())}},r.setInitialGasEstimate=function(e){return async t=>{await(0,I.submitRequestToBackground)("setInitialGasEstimate",[e]),await oe(t)}},r.setIpfsGateway=function(e){return t=>{a.default.debug("background.setIpfsGateway"),(0,I.callBackgroundMethod)("setIpfsGateway",[e],(e=>{e&&t(te(e))}))}},r.setIsIpfsGatewayEnabled=function(e){return t=>{a.default.debug("background.setIsIpfsGatewayEnabled"),(0,I.callBackgroundMethod)("setIsIpfsGatewayEnabled",[e],(e=>{e&&t(te(e))}))}},r.setIsProfileSyncingEnabled=function(e){return async t=>{try{t($()),await(0,I.submitRequestToBackground)("setIsProfileSyncingEnabled",[e]),t(ee())}catch(e){throw(0,D.logErrorWithMessage)(e),e}finally{t(ee())}}},r.setLastActiveTime=function(){return e=>{(0,I.callBackgroundMethod)("setLastActiveTime",[],(t=>{t&&e(te(t))}))}},r.setName=function(e){return async()=>{await(0,I.submitRequestToBackground)("setName",[e])}},r.setNetworkClientIdForDomain=function(e,t){return(0,I.submitRequestToBackground)("setNetworkClientIdForDomain",[e,t])},r.setNewNetworkAdded=function({networkConfigurationId:e,nickname:t}){return{type:O.SET_NEW_NETWORK_ADDED,payload:{networkConfigurationId:e,nickname:t}}},r.setNewNftAddedMessage=function(e){return{type:O.SET_NEW_NFT_ADDED_MESSAGE,payload:e}},r.setNewPrivacyPolicyToastClickedOrClosed=function(){return async()=>{await(0,I.submitRequestToBackground)("setNewPrivacyPolicyToastClickedOrClosed")}},r.setNewPrivacyPolicyToastShownDate=function(e){return async()=>{await(0,I.submitRequestToBackground)("setNewPrivacyPolicyToastShownDate",[e])}},r.setNewTokensImported=function(e){return{type:O.SET_NEW_TOKENS_IMPORTED,payload:e}},r.setNewTokensImportedError=function(e){return{type:O.SET_NEW_TOKENS_IMPORTED_ERROR,payload:e}},r.setNextNonce=ue,r.setOnboardingDate=function(){return async()=>{await(0,I.submitRequestToBackground)("setOnboardingDate")}},r.setOpenMetamaskTabsIDs=de,r.setOpenSeaEnabled=function(e){return async t=>{t($()),a.default.debug("background.setOpenSeaEnabled");try{await(0,I.submitRequestToBackground)("setOpenSeaEnabled",[e])}finally{t(ee())}}},r.setOutdatedBrowserWarningLastShown=function(e){return async()=>{await(0,I.submitRequestToBackground)("setOutdatedBrowserWarningLastShown",[e])}},r.setParticipateInMetaMetrics=function(e){return t=>(a.default.debug("background.setParticipateInMetaMetrics"),new Promise(((r,n)=>{(0,I.callBackgroundMethod)("setParticipateInMetaMetrics",[e],((o,i)=>{var s;if(a.default.debug(o),o)return t(te(o)),void n(o);null===(s=window.sentry)||void 0===s||s.toggleSession(),t({type:O.SET_PARTICIPATE_IN_METAMETRICS,value:e}),r([e,i])}))})))},r.setPendingTokens=function(e){const{customToken:t,selectedTokens:r={},tokenAddressList:a=[]}=e,n=null!=t&&t.address&&null!=t&&t.symbol&&Boolean((null==t?void 0:t.decimals)>=0&&(null==t?void 0:t.decimals)<=36)?{...r,[t.address]:{...t,isCustom:!0}}:r;return Object.keys(n).forEach((e=>{const t=a.find((t=>(0,y.isEqualCaseInsensitive)(t,e)));n[e]={...n[e],unlisted:!t}})),{type:O.SET_PENDING_TOKENS,payload:n}},r.setPetnamesEnabled=function(e){return re("petnamesEnabled",e)},r.setPreference=re,r.setProviderType=function(e){return async t=>{a.default.debug("background.setProviderType",e);try{await(0,I.submitRequestToBackground)("setProviderType",[e])}catch(e){(0,D.logErrorWithMessage)(e),t(te("Had a problem changing networks!"))}}},r.setRecoveryPhraseReminderHasBeenShown=function(){return()=>{(0,I.callBackgroundMethod)("setRecoveryPhraseReminderHasBeenShown",[],(e=>{if((0,D.isErrorWithMessage)(e))throw new Error(e.message)}))}},r.setRecoveryPhraseReminderLastShown=function(e){return()=>{(0,I.callBackgroundMethod)("setRecoveryPhraseReminderLastShown",[e],(e=>{if((0,D.isErrorWithMessage)(e))throw new Error(e.message)}))}},r.setRedesignedConfirmationsEnabled=function(e){return re("redesignedConfirmationsEnabled",e)},r.setRemoveNftMessage=function(e){return{type:O.SET_REMOVE_NFT_MESSAGE,payload:e}},r.setRequestAccountTabIds=le,r.setSecurityAlertsEnabled=function(e){try{(0,I.submitRequestToBackground)("setSecurityAlertsEnabled",[e])}catch(e){(0,D.logErrorWithMessage)(e)}},r.setSeedPhraseBackedUp=ce,r.setSelectedAccount=function(e){return async(t,r)=>{t($()),a.default.debug("background.setSelectedAccount");const n=r(),o=(0,h.getUnconnectedAccountAlertEnabledness)(n),i=n.activeTab.origin,s=(0,g.getInternalAccountByAddress)(n,e),c=(0,g.getPermittedAccountsForCurrentTab)(n),u=Boolean(i)&&c.includes(s.address),l=Boolean(i)&&c.includes(e),d=u&&!l;try{await K(s.id),await oe(t)}catch(e){return void t(te(e))}finally{t(ee())}o&&d&&(t((0,m.switchedToUnconnectedAccount)()),await Te(i))}},r.setSelectedInternalAccount=function(e){return async t=>{t($()),a.default.debug("background.setSelectedInternalAccount");try{await K(e)}catch(e){return void t(te(e))}finally{t(ee())}}},r.setSelectedNetworkConfigurationId=function(e){return{type:O.SET_SELECTED_NETWORK_CONFIGURATION_ID,payload:e}},r.setSelectedQuoteAggId=function(e){return async t=>{await(0,I.submitRequestToBackground)("setSelectedQuoteAggId",[e]),await oe(t)}},r.setServiceWorkerKeepAlivePreference=function(e){return async t=>{t($()),a.default.debug("background.setServiceWorkerKeepAlivePreference");try{await(0,I.submitRequestToBackground)("setServiceWorkerKeepAlivePreference",[e])}catch(e){t(te(e))}finally{t(ee())}}},r.setShowExtensionInFullSizeView=function(e){return re("showExtensionInFullSizeView",e)},r.setShowFiatConversionOnTestnetsPreference=function(e){return re("showFiatInTestnets",e)},r.setShowTestNetworks=function(e){return re("showTestNetworks",e)},r.setShowTokenAutodetectModal=function(e){return re("showTokenAutodetectModal",e)},r.setShowTokenAutodetectModalOnUpgrade=function(e){return t=>{a.default.debug("background.setShowTokenAutodetectModalOnUpgrade"),(0,I.callBackgroundMethod)("setShowTokenAutodetectModalOnUpgrade",[e],(e=>{e&&t(te(e))})),t({type:O.SET_SHOW_TOKEN_AUTO_DETECT_MODAL_UPGRADE,value:e})}},r.setSmartTransactionsOptInStatus=function(e){return async(t,r)=>{const a=(0,v.getSmartTransactionsOptInStatus)(r());he({category:S.MetaMetricsEventCategory.Settings,event:S.MetaMetricsEventName.SettingsUpdated,properties:{stx_opt_in:e,prev_stx_opt_in:a}}),await t(re("smartTransactionsOptInStatus",e)),await oe(t)}},r.setSmartTransactionsRefreshInterval=function(e){return async()=>{try{await(0,I.submitRequestToBackground)("setStatusRefreshInterval",[e])}catch(e){(0,D.logErrorWithMessage)(e)}}},r.setSnapsAddSnapAccountModalDismissed=async function(){await(0,I.submitRequestToBackground)("setSnapsAddSnapAccountModalDismissed",[!0])},r.setSnapsInstallPrivacyWarningShownStatus=function(e){return async()=>{await(0,I.submitRequestToBackground)("setSnapsInstallPrivacyWarningShownStatus",[e])}},r.setSurveyLinkLastClickedOrClosed=function(e){return async()=>{await(0,I.submitRequestToBackground)("setSurveyLinkLastClickedOrClosed",[e])}},r.setSwapsErrorKey=function(e){return async t=>{await(0,I.submitRequestToBackground)("setSwapsErrorKey",[e]),await oe(t)}},r.setSwapsFeatureFlags=function(e){return async t=>{await(0,I.submitRequestToBackground)("setSwapsFeatureFlags",[e]),await oe(t)}},r.setSwapsLiveness=function(e){return async t=>{await(0,I.submitRequestToBackground)("setSwapsLiveness",[e]),await oe(t)}},r.setSwapsQuotesPollingLimitEnabled=function(e){return async t=>{await(0,I.submitRequestToBackground)("setSwapsQuotesPollingLimitEnabled",[e]),await oe(t)}},r.setSwapsTokens=function(e){return async t=>{await(0,I.submitRequestToBackground)("setSwapsTokens",[e]),await oe(t)}},r.setSwapsTxGasLimit=function(e){return async t=>{await(0,I.submitRequestToBackground)("setSwapsTxGasLimit",[e,!0]),await oe(t)}},r.setSwapsTxGasPrice=function(e){return async t=>{await(0,I.submitRequestToBackground)("setSwapsTxGasPrice",[e]),await oe(t)}},r.setSwitchedNetworkDetails=W,r.setTermsOfUseLastAgreed=function(e){return async()=>{await(0,I.submitRequestToBackground)("setTermsOfUseLastAgreed",[e])}},r.setTheme=function(e){return async t=>{t($()),a.default.debug("background.setTheme");try{await(0,I.submitRequestToBackground)("setTheme",[e])}finally{t(ee())}}},r.setUnconnectedAccountAlertShown=Te,r.setUse4ByteResolution=function(e){return async t=>{t($()),a.default.debug("background.setUse4ByteResolution");try{await(0,I.submitRequestToBackground)("setUse4ByteResolution",[e])}catch(e){t(te(e))}finally{t(ee())}}},r.setUseAddressBarEnsResolution=function(e){return t=>{a.default.debug("background.setUseAddressBarEnsResolution"),(0,I.callBackgroundMethod)("setUseAddressBarEnsResolution",[e],(e=>{e&&t(te(e))}))}},r.setUseBlockie=function(e){return t=>{t($()),a.default.debug("background.setUseBlockie"),(0,I.callBackgroundMethod)("setUseBlockie",[e],(e=>{t(ee()),e&&t(te(e))}))}},r.setUseCurrencyRateCheck=function(e){return t=>{t($()),a.default.debug("background.setUseCurrencyRateCheck"),(0,I.callBackgroundMethod)("setUseCurrencyRateCheck",[e],(e=>{t(ee()),e&&t(te(e))}))}},r.setUseExternalNameSources=function(e){try{(0,I.submitRequestToBackground)("setUseExternalNameSources",[e])}catch(e){(0,D.logErrorWithMessage)(e)}},r.setUseMultiAccountBalanceChecker=function(e){return t=>{t($()),a.default.debug("background.setUseMultiAccountBalanceChecker"),(0,I.callBackgroundMethod)("setUseMultiAccountBalanceChecker",[e],(e=>{t(ee()),e&&t(te(e))}))}},r.setUseNativeCurrencyAsPrimaryCurrencyPreference=function(e){return re("useNativeCurrencyAsPrimaryCurrency",e)},r.setUseNftDetection=function(e){return async t=>{t($()),a.default.debug("background.setUseNftDetection");try{await(0,I.submitRequestToBackground)("setUseNftDetection",[e])}finally{t(ee())}}},r.setUseNonceField=function(e){return async t=>{t($()),a.default.debug("background.setUseNonceField");try{await(0,I.submitRequestToBackground)("setUseNonceField",[e])}catch(e){t(te(e))}t(ee())}},r.setUsePhishDetect=function(e){return t=>{t($()),a.default.debug("background.setUsePhishDetect"),(0,I.callBackgroundMethod)("setUsePhishDetect",[e],(e=>{t(ee()),e&&t(te(e))}))}},r.setUseRequestQueue=function(e){try{(0,I.submitRequestToBackground)("setUseRequestQueue",[e])}catch(e){(0,D.logErrorWithMessage)(e)}},r.setUseSafeChainsListValidation=function(e){return t=>{t($()),a.default.debug("background.setUseSafeChainsListValidation"),(0,I.callBackgroundMethod)("setUseSafeChainsListValidation",[e],(e=>{t(ee()),e&&t(te(e))}))}},r.setUseTokenDetection=function(e){return t=>{t($()),a.default.debug("background.setUseTokenDetection"),(0,I.callBackgroundMethod)("setUseTokenDetection",[e],(e=>{t(ee()),e&&t(te(e))}))}},r.setUseTransactionSimulations=function(e){try{(0,I.submitRequestToBackground)("setUseTransactionSimulations",[e])}catch(e){(0,D.logErrorWithMessage)(e)}},r.setWeb3ShimUsageAlertDismissed=async function(e){await(0,I.submitRequestToBackground)("setWeb3ShimUsageAlertDismissed",[e])},r.showAccountsPage=q,r.showAlert=function(e){return{type:O.ALERT_OPEN,payload:e}},r.showConfTxPage=z,r.showConfirmTurnOffProfileSyncing=function(){return e=>{e(Q({name:"CONFIRM_TURN_OFF_PROFILE_SYNCING"}))}},r.showConfirmTurnOnMetamaskNotifications=function(){return e=>{e(Q({name:"TURN_ON_METAMASK_NOTIFICATIONS"}))}},r.showDeprecatedNetworkModal=function(){return{type:O.DEPRECATED_NETWORK_POPOVER_OPEN}},r.showImportNftsModal=function(e){return{type:O.IMPORT_NFTS_MODAL_OPEN,payload:e}},r.showImportTokensModal=function(){return{type:O.IMPORT_TOKENS_POPOVER_OPEN}},r.showIpfsModal=function(){return{type:O.SHOW_IPFS_MODAL_OPEN}},r.showKeyringSnapRemovalModal=function(e){return{type:O.SHOW_KEYRING_SNAP_REMOVAL_RESULT,payload:e}},r.showLoadingIndication=$,r.showModal=Q,r.showNetworkDropdown=function(){return{type:O.NETWORK_DROPDOWN_OPEN}},r.showPrivateKey=function(e){return{type:O.SHOW_PRIVATE_KEY,payload:e}},r.showQrScanner=function(){return e=>{e(Q({name:"QR_SCANNER"}))}},r.showSendTokenPage=function(){return{type:O.SHOW_SEND_TOKEN_PAGE}},r.signAndSendSmartTransaction=function({unsignedTransaction:e,smartTransactionFees:t}){return async r=>{const a=await fe(e,t.fees),n=await fe(e,t.cancelFees,!0);try{return(await(0,I.submitRequestToBackground)("submitSignedTransactions",[{signedTransactions:a,signedCanceledTransactions:n,txParams:e}])).uuid}catch(e){if((0,D.logErrorWithMessage)(e),(0,D.isErrorWithMessage)(e)&&e.message.startsWith("Fetch error:")){const t=(0,A.parseSmartTransactionsError)(e.message);r({type:O.SET_SMART_TRANSACTIONS_ERROR,payload:t})}throw e}}},r.stopPollingForQuotes=function(){return async e=>{await(0,I.submitRequestToBackground)("stopPollingForQuotes"),await oe(e)}},r.submitPassword=N,r.submitQRHardwareCryptoAccount=async function(e){await(0,I.submitRequestToBackground)("submitQRHardwareCryptoAccount",[e])},r.submitQRHardwareCryptoHDKey=async function(e){await(0,I.submitRequestToBackground)("submitQRHardwareCryptoHDKey",[e])},r.submitQRHardwareSignature=async function(e,t){await(0,I.submitRequestToBackground)("submitQRHardwareSignature",[e,t])},r.testDesktopConnection=async function(){return await(0,I.submitRequestToBackground)("testDesktopConnection")},r.throwTestBackgroundError=async function(e){await(0,I.submitRequestToBackground)("throwTestError",[e])},r.toggleAccountMenu=function(){return{type:O.TOGGLE_ACCOUNT_MENU}},r.toggleExternalServices=function(e){return t=>{a.default.debug("background.toggleExternalServices"),(0,I.callBackgroundMethod)("toggleExternalServices",[e],(e=>{e&&t(te(e))}))}},r.toggleNetworkMenu=function(){return{type:O.TOGGLE_NETWORK_MENU}},r.trackInsightSnapUsage=function(e){return async()=>{await(0,I.submitRequestToBackground)("trackInsightSnapView",[e])}},r.trackMetaMetricsEvent=he,r.trackMetaMetricsPage=function(e,t){return(0,I.submitRequestToBackground)("trackMetaMetricsPage",[{...e,actionId:(0,I.generateActionId)()},t])},r.tryReverseResolveAddress=function(e){return()=>new Promise((t=>{(0,I.callBackgroundMethod)("tryReverseResolveAddress",[e],(e=>{e&&(0,D.logErrorWithMessage)(e),t()}))}))},r.tryUnlockMetamask=function(e){return t=>(t($()),t(G()),a.default.debug("background.submitPassword"),new Promise(((t,r)=>{(0,I.callBackgroundMethod)("submitPassword",[e],(e=>{e?r(e):t()}))})).then((()=>(t(x()),oe(t)))).then((()=>{t(ee())})).catch((e=>(t(X(e.message)),t(ee()),Promise.reject(e)))))},r.unMarkPasswordForgotten=U,r.unlockAndGetSeedPhrase=function(e){return async t=>{t($());try{await N(e);const r=await B(e);return await oe(t),r}catch(e){throw t(te(e)),(0,D.isErrorWithMessage)(e)?new Error(e.message):e}finally{t(ee())}}},r.unlockFailed=X,r.unlockHardwareWalletAccounts=function(e,t,r,n){return a.default.debug("background.unlockHardwareWalletAccount",e,t,r,n),async a=>{a($());for(const o of e)try{await(0,I.submitRequestToBackground)("unlockHardwareWalletAccount",[o,t,r,n])}catch(e){throw(0,D.logErrorWithMessage)(e),a(te(e)),a(ee()),e}return a(ee()),undefined}},r.unlockInProgress=G,r.unlockSucceeded=x,r.updateAccountsList=function(e){return async()=>{await(0,I.submitRequestToBackground)("updateAccountsList",[e])}},r.updateAndApproveTx=function(e,t,r){return(a,n)=>{!t&&a($(r));const o=()=>Boolean(n().send.stage!==p.SEND_STAGES.INACTIVE);return new Promise(((t,r)=>{const n=(0,I.generateActionId)();(0,I.callBackgroundMethod)("resolvePendingApproval",[String(e.id),{txMeta:e,actionId:n},{waitForResult:!0}],(n=>{if(a(H(e.id,e.txParams)),o()||a((0,p.resetSendState)()),n)return a(P()),(0,D.logErrorWithMessage)(n),void r(n);t(e)}))})).then((()=>w())).then((e=>a(j(e)))).then((()=>(o()||a((0,p.resetSendState)()),a(J(e.id)),a(ee()),a(F("")),a(Y()),e))).catch((e=>(a(ee()),Promise.reject(e))))}},r.updateCurrentLocale=ie,r.updateCustomNonce=F,r.updateCustomSwapsEIP1559GasParams=function({gasLimit:e,maxFeePerGas:t,maxPriorityFeePerGas:r}){return async a=>{await Promise.all([(0,I.submitRequestToBackground)("setSwapsTxGasLimit",[e]),(0,I.submitRequestToBackground)("setSwapsTxMaxFeePerGas",[t]),(0,I.submitRequestToBackground)("setSwapsTxMaxFeePriorityPerGas",[r])]),await oe(a)}},r.updateEditableParams=function(e,t){return async r=>{let a;try{a=await(0,I.submitRequestToBackground)("updateEditableParams",[e,t])}catch(e){throw(0,D.logErrorWithMessage)(e),e}return await oe(r),a}},r.updateEventFragment=function(e,t){return(0,I.submitRequestToBackground)("updateEventFragment",[e,t])},r.updateHiddenAccountsList=function(e){return async()=>{await(0,I.submitRequestToBackground)("updateHiddenAccountsList",[e])}},r.updateInterfaceState=function(e,t){return async r=>{await(0,I.submitRequestToBackground)("updateInterfaceState",[e,t]),await oe(r)}},r.updateMetamaskState=j,r.updateNetworksList=function(e){return async()=>{await(0,I.submitRequestToBackground)("updateNetworksList",[e])}},r.updateNftDropDownState=function(e){return async t=>{await(0,I.submitRequestToBackground)("updateNftDropDownState",[e]),await oe(t)}},r.updateOnChainTriggersByAccount=function(e){return async()=>{try{await(0,I.submitRequestToBackground)("updateOnChainTriggersByAccount",[e])}catch(e){throw(0,D.logErrorWithMessage)(e),e}}},r.updatePreviousGasParams=function(e,t){return async()=>{let r;try{r=await(0,I.submitRequestToBackground)("updatePreviousGasParams",[e,t])}catch(e){throw(0,D.logErrorWithMessage)(e),e}return r}},r.updateProposedNames=function(e){return async()=>await(0,I.submitRequestToBackground)("updateProposedNames",[e])},r.updateSmartTransaction=function(e,t){return async r=>{try{await(0,I.submitRequestToBackground)("updateSmartTransaction",[{uuid:e,...t}])}catch(e){if((0,D.logErrorWithMessage)(e),(0,D.isErrorWithMessage)(e)&&e.message.startsWith("Fetch error:")){const t=(0,A.parseSmartTransactionsError)(e.message);r({type:O.SET_SMART_TRANSACTIONS_ERROR,payload:t})}throw e}}},r.updateSnap=function(e,t){return async(r,a)=>{await(0,I.submitRequestToBackground)("updateSnap",[e,t]),await oe(r);const n=a(),o=(0,g.getFirstSnapInstallOrUpdateRequest)(n);return null==o?void 0:o.metadata.id}},r.updateSwapsUserFeeLevel=function(e){return async t=>{await(0,I.submitRequestToBackground)("setSwapsUserFeeLevel",[e]),await oe(t)}},r.updateTokenType=async function(e){try{return await(0,I.submitRequestToBackground)("updateTokenType",[e])}catch(e){(0,D.logErrorWithMessage)(e)}return undefined},r.updateTransaction=function(e,t){return async r=>{!t&&r($());try{await(0,I.submitRequestToBackground)("updateTransaction",[e])}catch(t){throw r(H(e.id,e.txParams)),r(ee()),r(P()),(0,D.logErrorWithMessage)(t),t}try{r(H(e.id,e.txParams));return r(j(await w())),r(z({id:e.id})),e}finally{r(ee())}}},r.updateTransactionGasFees=function(e,t){return async()=>{let r;try{r=await(0,I.submitRequestToBackground)("updateTransactionGasFees",[e,t])}catch(e){throw(0,D.logErrorWithMessage)(e),e}return r}},r.updateTransactionParams=H,r.updateTransactionSendFlowHistory=function(e,t,r){return async()=>{let a;try{a=await(0,I.submitRequestToBackground)("updateTransactionSendFlowHistory",[e,t,r])}catch(e){throw(0,D.logErrorWithMessage)(e),e}return a}},r.updateViewedNotifications=function(e){return(0,I.submitRequestToBackground)("updateViewedNotifications",[e])},r.upsertNetworkConfiguration=function({rpcUrl:e,chainId:t,nickname:r,rpcPrefs:n,ticker:o=R.EtherDenomination.ETH},{setActive:i,source:s}){return async c=>{let u;a.default.debug(`background.upsertNetworkConfiguration: ${e} ${t} ${o} ${r}`);try{u=await(0,I.submitRequestToBackground)("upsertNetworkConfiguration",[{rpcUrl:e,chainId:t,ticker:o,nickname:r||e,rpcPrefs:n},{setActive:i,source:s,referrer:l.ORIGIN_METAMASK}])}catch(e){a.default.error(e),c(te("Had a problem adding network!"))}return u}},r.verifyPassword=L;var a=k(e("loglevel")),n=e("@sentry/browser"),o=e("lodash"),i=e("eth-rpc-errors"),s=e("@metamask/keyring-controller"),c=e("../helpers/utils/transactions.util"),u=k(e("../../shared/lib/switch-direction")),l=e("../../shared/constants/app"),d=e("../../app/scripts/lib/util"),g=e("../selectors"),p=e("../ducks/send"),m=e("../ducks/alerts/unconnected-account"),h=e("../ducks/metamask/metamask"),T=e("../../shared/modules/hexstring-utils"),f=e("../../shared/constants/hardware-wallets"),S=e("../../shared/constants/metametrics"),A=e("../pages/swaps/swaps.util"),y=e("../../shared/modules/string-utils"),v=e("../../shared/modules/selectors"),E=e("../helpers/constants/notifications"),b=e("../../shared/modules/i18n"),C=e("../../shared/modules/conversion.utils"),R=e("../../shared/constants/common"),D=e("../../shared/modules/error"),O=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=M(t);if(r&&r.has(e))return r.get(e);var a={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=n?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,r&&r.set(e,a),a}(e("./actionConstants")),I=e("./background-connection");function M(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(M=function(e){return e?r:t})(e)}function k(e){return e&&e.__esModule?e:{default:e}}function P(){return{type:O.GO_HOME}}function N(e){return new Promise(((t,r)=>{(0,I.callBackgroundMethod)("submitPassword",[e],(e=>{e?r(e):t()}))}))}function _(e){return new Promise(((t,r)=>{(0,I.callBackgroundMethod)("createNewVaultAndKeychain",[e],(e=>{e?r(e):t(!0)}))}))}function L(e){return new Promise(((t,r)=>{(0,I.callBackgroundMethod)("verifyPassword",[e],(e=>{e?r(e):t(!0)}))}))}async function B(e){const r=await(0,I.submitRequestToBackground)("getSeedPhrase",[e]);return t.from(r).toString("utf8")}function F(e){return{type:O.UPDATE_CUSTOM_NONCE,value:e}}const w=()=>(a.default.debug("background.getState"),new Promise(((e,t)=>{(0,I.callBackgroundMethod)("getState",[],((r,a)=>{r?t(r):e(a)}))})));function J(e){return t=>{t({type:O.COMPLETED_TX,value:{id:e}})}}function H(e,t){return{type:O.UPDATE_TRANSACTION_PARAMS,id:e,value:t}}function U(){return e=>new Promise((e=>{(0,I.callBackgroundMethod)("unMarkPasswordForgotten",[],(()=>{e()}))})).then((()=>oe(e)))}function G(){return{type:O.UNLOCK_IN_PROGRESS}}function X(e){return{type:O.UNLOCK_FAILED,value:e}}function x(e){return{type:O.UNLOCK_SUCCEEDED,value:e}}function j(e){return(t,r)=>{var a,n;const i=r(),s=(0,h.getProviderConfig)(i),{metamask:c}=i,{currentLocale:u}=c,l=(0,g.getSelectedInternalAccount)(i),d=null==l?void 0:l.address,{currentLocale:m,providerConfig:T}=e,f=(0,g.getSelectedInternalAccount)({metamask:e}),S=null==f?void 0:f.address;u&&m&&u!==m&&t(ie(m)),d!==S&&t({type:O.SELECTED_ADDRESS_CHANGED});const A=(null===(a=e.addressBook)||void 0===a?void 0:a[null==T?void 0:T.chainId])??{},y=(null===(n=c.addressBook)||void 0===n?void 0:n[null==s?void 0:s.chainId])??{},v=(0,g.getMetaMaskAccounts)({metamask:e}),E=(0,g.getMetaMaskAccounts)({metamask:c}),b=v[S],C=v[d];Object.entries(E).forEach((([e,r])=>{(0,o.isEqual)(r,v[e])||t({type:O.ACCOUNT_CHANGED,payload:{account:v[e]}})})),!1===(0,o.isEqual)(C,b)&&t({type:O.SELECTED_ACCOUNT_CHANGED,payload:{account:b}}),!1===(0,o.isEqual)(y,A)&&t({type:O.ADDRESS_BOOK_UPDATED,payload:{addressBook:A}}),!1===(0,o.isEqual)(c.gasFeeEstimates,e.gasFeeEstimates)&&t({type:O.GAS_FEE_ESTIMATES_UPDATED,payload:{gasFeeEstimates:e.gasFeeEstimates,gasEstimateType:e.gasEstimateType}}),t({type:O.UPDATE_METAMASK_STATE,value:e}),s.chainId!==T.chainId&&(t({type:O.CHAIN_CHANGED,payload:T.chainId}),t((0,p.initializeSendState)({chainHasChanged:!0})))}}const V=()=>new Promise(((e,t)=>{(0,I.callBackgroundMethod)("setLocked",[],(r=>{r?t(r):e()}))}));async function K(e){a.default.debug("background.setSelectedInternalAccount"),await(0,I.submitRequestToBackground)("setSelectedInternalAccount",[e])}function q(){return{type:O.SHOW_ACCOUNTS_PAGE}}function z({id:e}={}){return{type:O.SHOW_CONF_TX_PAGE,id:e}}function W(e){return async t=>{await(0,I.submitRequestToBackground)("setSwitchedNetworkDetails",[e]),await oe(t)}}async function Z(e){a.default.debug(`background.setActiveNetworkConfigurationId: ${e}`),await(0,I.submitRequestToBackground)("setActiveNetworkConfigurationId",[e])}function Q(e){return{type:O.MODAL_OPEN,payload:e}}function Y(){return(e,t)=>{const r=t(),a=(0,g.getApprovalFlows)(r);(0,d.getEnvironmentType)()!==l.ENVIRONMENT_TYPE_NOTIFICATION||(0,g.hasTransactionPendingApprovals)(r)||(0,g.getIsSigningQRHardwareTransaction)(r)||0!==a.length||me()}}function $(e){return{type:O.SHOW_LOADING,payload:e}}function ee(){return{type:O.HIDE_LOADING}}function te(e){return(0,D.isErrorWithMessage)(e)?{type:O.DISPLAY_WARNING,payload:e.message}:"string"==typeof e?{type:O.DISPLAY_WARNING,payload:e}:{type:O.DISPLAY_WARNING,payload:`${e}`}}function re(e,t){return r=>(r($()),new Promise(((a,n)=>{(0,I.callBackgroundMethod)("setPreference",[e,t],((e,t)=>{if(r(ee()),e)return r(te(e)),void n(e);a(t)}))})))}function ae(){return{type:O.COMPLETE_ONBOARDING}}function ne(){return{type:O.RESET_ONBOARDING}}async function oe(e){let t;a.default.debug("background.getState");try{t=await(0,I.submitRequestToBackground)("getState")}catch(t){throw e(te(t)),t}return e(j(t)),t}function ie(e){return async t=>{t($());try{await(0,b.loadRelativeTimeFormatLocaleData)(e);const r=await(0,b.fetchLocale)(e),a=await(0,I.submitRequestToBackground)("setCurrentLocale",[e]);(0,u.default)(a),t(se(e,r))}catch(e){return void t(te(e))}finally{t(ee())}}}function se(e,t){return{type:O.SET_CURRENT_LOCALE,payload:{locale:e,messages:t}}}function ce(e){return t=>(a.default.debug("background.setSeedPhraseBackedUp"),new Promise(((r,a)=>{(0,I.callBackgroundMethod)("setSeedPhraseBackedUp",[e],(e=>{if(e)return t(te(e)),void a(e);oe(t).then(r).catch(a)}))})))}function ue(e){return{type:O.SET_NEXT_NONCE,payload:e}}function le(e){return{type:O.SET_REQUEST_ACCOUNT_TABS,payload:e}}function de(e){return{type:O.SET_OPEN_METAMASK_TAB_IDS,payload:e}}async function ge(e){return(0,I.submitRequestToBackground)("addPollingTokenToAppState",[e,l.POLLING_TOKEN_ENVIRONMENT_TYPES[(0,d.getEnvironmentType)()]])}async function pe(e){return(0,I.submitRequestToBackground)("removePollingTokenFromAppState",[e,l.POLLING_TOKEN_ENVIRONMENT_TYPES[(0,d.getEnvironmentType)()]])}async function me(){await(0,I.submitRequestToBackground)("markNotificationPopupAsAutomaticallyClosed"),global.platform.closeCurrentWindow()}function he(e,t){return(0,I.submitRequestToBackground)("trackMetaMetricsEvent",[{...e,actionId:(0,I.generateActionId)()},t])}async function Te(e){await(0,I.submitRequestToBackground)("setUnconnectedAccountAlertShown",[e])}const fe=async(e,t,r)=>{const a=t.map((t=>{const a={...e,maxFeePerGas:(0,C.decimalToHex)(t.maxFeePerGas),maxPriorityFeePerGas:(0,C.decimalToHex)(t.maxPriorityFeePerGas),gas:r?(0,C.decimalToHex)(21e3):e.gas,value:e.value};return r&&(a.to=a.from,a.data="0x"),a}));return await(0,I.submitRequestToBackground)("approveTransactionsWithSameNonce",[a])}}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"$root$",file:"ui/store/actions.ts"}],[5999,{pify:3986},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.generateActionId=r.callBackgroundMethod=void 0,r.setBackgroundConnection=async function(e){o=e,i=(0,n.default)(o)},r.submitRequestToBackground=function(e,t){var r;return null===(r=i)||void 0===r?void 0:r[e](...t??[])};var a,n=(a=e("pify"))&&a.__esModule?a:{default:a};let o=null,i=null;r.generateActionId=()=>Date.now()+Math.random();r.callBackgroundMethod=(e,t,r)=>{var a;null===(a=o)||void 0===a||a[e](...t,r)}}}},{package:"$root$",file:"ui/store/background-connection.ts"}],[600,{"../RegistryItem":593,"../RegistryType":594,"../lib":604,"./KeyDerivation":599},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.QRHardwareCall=r.QRHardwareCallType=void 0;const a=e("../RegistryType"),n=e("../RegistryItem"),o=e("../lib"),i=e("./KeyDerivation");var s,c;!function(e){e[e.type=1]="type",e[e.params=2]="params",e[e.origin=3]="origin"}(s||(s={})),function(e){e[e.KeyDerivation=0]="KeyDerivation"}(c=r.QRHardwareCallType||(r.QRHardwareCallType={}));class u extends n.RegistryItem{constructor(e,t,r){super(),this.type=e,this.params=t,this.origin=r,this.getRegistryType=()=>a.RegistryTypes.QR_HARDWARE_CALL,this.getType=()=>this.type,this.getParams=()=>this.params,this.getOrigin=()=>this.origin,this.toDataItem=()=>{const e={};e[s.type]=this.type;const t=this.params.toDataItem();return t.setTag(this.params.getRegistryType().getTag()),e[s.params]=t,this.origin&&(e[s.origin]=this.origin),new o.DataItem(e)}}}r.QRHardwareCall=u,u.fromDataItem=e=>{const t=e.getData(),r=t[s.type]||c.KeyDerivation;let a;if(r===c.KeyDerivation)a=i.KeyDerivation.fromDataItem(t[s.params]);const n=t[s.origin];return new u(r,a,n)},u.fromCBOR=e=>{const t=(0,o.decodeToDataItem)(e);return u.fromDataItem(t)}}}},{package:"@keystonehq/bc-ur-registry-eth>@keystonehq/bc-ur-registry",file:"node_modules/@keystonehq/bc-ur-registry/dist/extended/QRHardwareCall.js"}],[601,{"./Bytes":582,"./CryptoAccount":583,"./CryptoCoinInfo":584,"./CryptoECKey":585,"./CryptoHDKey":586,"./CryptoKeypath":587,"./CryptoOutput":588,"./CryptoPSBT":589,"./Decoder":590,"./MultiKey":591,"./PathComponent":592,"./RegistryItem":593,"./RegistryType":594,"./ScriptExpression":595,"./errors":596,"./extended/CryptoMultiAccounts":597,"./extended/DerivationSchema":598,"./extended/KeyDerivation":599,"./extended/QRHardwareCall":600,"./lib":604,"./patchCBOR":605,"./types":606,"./utils":607,"buffer/":3035,tslib:4378},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.Buffer=r.extend=r.PathComponent=r.ScriptExpressions=r.MultiKey=r.CryptoPSBT=r.CryptoOutput=r.CryptoECKey=r.CryptoCoinInfoNetwork=r.CryptoCoinInfoType=r.CryptoCoinInfo=r.CryptoKeypath=r.CryptoMultiAccounts=r.CryptoHDKey=r.CryptoAccount=r.Bytes=r.URRegistryDecoder=r.DataItem=void 0;const a=e("tslib");e("./patchCBOR");const n=e("buffer/");Object.defineProperty(r,"Buffer",{enumerable:!0,get:function(){return n.Buffer}});const o=e("./CryptoHDKey");Object.defineProperty(r,"CryptoHDKey",{enumerable:!0,get:function(){return o.CryptoHDKey}});const i=e("./CryptoKeypath");Object.defineProperty(r,"CryptoKeypath",{enumerable:!0,get:function(){return i.CryptoKeypath}});const s=e("./CryptoCoinInfo");Object.defineProperty(r,"CryptoCoinInfo",{enumerable:!0,get:function(){return s.CryptoCoinInfo}}),Object.defineProperty(r,"CryptoCoinInfoType",{enumerable:!0,get:function(){return s.Type}}),Object.defineProperty(r,"CryptoCoinInfoNetwork",{enumerable:!0,get:function(){return s.Network}});const c=e("./CryptoECKey");Object.defineProperty(r,"CryptoECKey",{enumerable:!0,get:function(){return c.CryptoECKey}});const u=e("./Bytes");Object.defineProperty(r,"Bytes",{enumerable:!0,get:function(){return u.Bytes}});const l=e("./CryptoOutput");Object.defineProperty(r,"CryptoOutput",{enumerable:!0,get:function(){return l.CryptoOutput}});const d=e("./CryptoPSBT");Object.defineProperty(r,"CryptoPSBT",{enumerable:!0,get:function(){return d.CryptoPSBT}});const g=e("./CryptoAccount");Object.defineProperty(r,"CryptoAccount",{enumerable:!0,get:function(){return g.CryptoAccount}});const p=e("./Decoder");Object.defineProperty(r,"URRegistryDecoder",{enumerable:!0,get:function(){return p.URRegistryDecoder}});const m=e("./MultiKey");Object.defineProperty(r,"MultiKey",{enumerable:!0,get:function(){return m.MultiKey}});const h=e("./ScriptExpression");Object.defineProperty(r,"ScriptExpressions",{enumerable:!0,get:function(){return h.ScriptExpressions}});const T=e("./PathComponent");Object.defineProperty(r,"PathComponent",{enumerable:!0,get:function(){return T.PathComponent}});const f=e("./RegistryItem"),S=e("./RegistryType"),A=e("./lib");var y=e("./lib");Object.defineProperty(r,"DataItem",{enumerable:!0,get:function(){return y.DataItem}});const v=e("./utils"),E=e("./extended/CryptoMultiAccounts");Object.defineProperty(r,"CryptoMultiAccounts",{enumerable:!0,get:function(){return E.CryptoMultiAccounts}});const b={URRegistryDecoder:p.URRegistryDecoder,Bytes:u.Bytes,CryptoAccount:g.CryptoAccount,CryptoHDKey:o.CryptoHDKey,CryptoMultiAccounts:E.CryptoMultiAccounts,CryptoKeypath:i.CryptoKeypath,CryptoCoinInfo:s.CryptoCoinInfo,CryptoCoinInfoType:s.Type,CryptoCoinInfoNetwork:s.Network,CryptoECKey:c.CryptoECKey,CryptoOutput:l.CryptoOutput,CryptoPSBT:d.CryptoPSBT,MultiKey:m.MultiKey,ScriptExpressions:h.ScriptExpressions,PathComponent:T.PathComponent},C={addReader:A.addReader,addSemanticDecode:A.addSemanticDecode,addSemanticEncode:A.addSemanticEncode,addWriter:A.addWriter,patchTags:v.patchTags},R={RegistryTypes:S.RegistryTypes,RegistryItem:f.RegistryItem,RegistryType:S.RegistryType,decodeToDataItem:A.decodeToDataItem,encodeDataItem:A.encodeDataItem,cbor:C};r.extend=R,(0,a.__exportStar)(e("./errors"),r),(0,a.__exportStar)(e("./Decoder"),r),(0,a.__exportStar)(e("./lib"),r),(0,a.__exportStar)(e("./CryptoAccount"),r),(0,a.__exportStar)(e("./CryptoPSBT"),r),(0,a.__exportStar)(e("./CryptoHDKey"),r),(0,a.__exportStar)(e("./extended/CryptoMultiAccounts"),r),(0,a.__exportStar)(e("./extended/QRHardwareCall"),r),(0,a.__exportStar)(e("./extended/KeyDerivation"),r),(0,a.__exportStar)(e("./extended/DerivationSchema"),r),(0,a.__exportStar)(e("./CryptoOutput"),r),(0,a.__exportStar)(e("./CryptoCoinInfo"),r),(0,a.__exportStar)(e("./CryptoECKey"),r),(0,a.__exportStar)(e("./MultiKey"),r),(0,a.__exportStar)(e("./CryptoKeypath"),r),(0,a.__exportStar)(e("./patchCBOR"),r),(0,a.__exportStar)(e("./PathComponent"),r),(0,a.__exportStar)(e("./RegistryItem"),r),(0,a.__exportStar)(e("./RegistryType"),r),(0,a.__exportStar)(e("./types"),r),(0,a.__exportStar)(e("./utils"),r),r.default=b}}},{package:"@keystonehq/bc-ur-registry-eth>@keystonehq/bc-ur-registry",file:"node_modules/@keystonehq/bc-ur-registry/dist/index.js"}],[602,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.DataItem=void 0;r.DataItem=class{constructor(e,t){this.setTag=e=>{this.tag=e},this.clearTag=()=>{this.tag=undefined},this.getTag=()=>this.tag,this.getData=()=>this.data,this.data=e,this.tag=t}}}}},{package:"@keystonehq/bc-ur-registry-eth>@keystonehq/bc-ur-registry",file:"node_modules/@keystonehq/bc-ur-registry/dist/lib/DataItem.js"}],[603,{"./DataItem":602,buffer:3028},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(r){(function(){!function(e,r){"function"==typeof define&&define.amd?define([],r):void 0!==t&&t.exports?t.exports=r():e.CBOR=r()}(this,(function(){const{DataItem:t}=e("./DataItem");var a=function(){function e(e){this.$hex=e}e.prototype={length:function(){return this.$hex.length/2},toString:function(e){if(!e||"hex"===e||16===e)return this.$hex;if("utf-8"===e){for(var t="",r=0;r>10,r=1023&e,a=32768&e;if(31===t)return 0===r?a?-Infinity:Infinity:NaN;var n=t?Math.pow(2,t-25)*(1024+r):Math.pow(2,-24)*r;return a?-n:n},readFloat32:function(){var e=this.readUint32(),t=(2147483647&e)>>23,r=8388607&e,a=2147483648&e;if(255===t)return 0===r?a?-Infinity:Infinity:NaN;var n=t?Math.pow(2,t-23-127)*(8388608+r):Math.pow(2,-149)*r;return a?-n:n},readFloat64:function(){var e=this.readUint32(),t=e>>20&2047,r=4294967296*(1048575&e)+this.readUint32(),a=2147483648&e;if(2047===t)return 0===r?a?-Infinity:Infinity:NaN;var n=t?Math.pow(2,t-52-1023)*(4503599627370496+r):Math.pow(2,-1074)*r;return a?-n:n},readUint16:function(){return 256*this.readByte()+this.readByte()},readUint32:function(){return 65536*this.readUint16()+this.readUint16()},readUint64:function(){return 4294967296*this.readUint32()+this.readUint32()}},s.prototype={writeByte:o("writeByte"),result:o("result"),writeFloat16:o("writeFloat16"),writeFloat32:o("writeFloat32"),writeFloat64:o("writeFloat64"),writeUint16:function(e){this.writeByte(e>>8&255),this.writeByte(255&e)},writeUint32:function(e){this.writeUint16(e>>16&65535),this.writeUint16(65535&e)},writeUint64:function(e){if(e>=9007199254740992||e<=-9007199254740992)throw new Error("Cannot encode Uint64 of: "+e+" magnitude to big (floating point errors)");this.writeUint32(Math.floor(e/4294967296)),this.writeUint32(e%4294967296)},writeString:o("writeString"),canWriteBinary:function(e){return!1},writeBinary:o("writeChunk")};var l=new Error;function d(e){var t=function(e){var t=e.readByte();return{type:t>>5,value:31&t}}(e);switch(t.type){case 0:return c(t,e);case 1:return-1-c(t,e);case 2:return e.readChunk(c(t,e));case 3:return e.readChunk(c(t,e)).toString("utf-8");case 4:case 5:var r=c(t,e),a=[];if(null!==r){5===t.type&&(r*=2);for(var o=0;o-9007199254740992?e<0?u(1,-1-e,t):u(0,e,t):(!function(e,t,r){r.writeByte(e<<5|t)}(7,27,t),t.writeFloat64(e));else if("string"==typeof e)t.writeString(e,(function(e){u(3,e,t)}));else if(t.canWriteBinary(e))t.writeBinary(e,(function(e){u(2,e,t)}));else{if("object"!=typeof e)throw new Error("CBOR encoding not supported: "+e);if(h.config.useToJSON&&"function"==typeof e.toJSON&&(e=e.toJSON()),Array.isArray(e)){u(4,e.length,t);for(r=0;r=this.latestBuffer.length&&(this.completeBuffers.push(this.latestBuffer),this.latestBuffer=r.alloc(this.defaultBufferLength),this.latestBufferOffset=0),this.byteLength++},f.prototype.writeFloat32=function(e){var t=r.alloc(4);t.writeFloatBE(e,0),this.writeBuffer(t)},f.prototype.writeFloat64=function(e){var t=r.alloc(8);t.writeDoubleBE(e,0),this.writeBuffer(t)},f.prototype.writeString=function(e,t){var a=r.from(e,"utf-8");t(a.length),this.writeBuffer(a)},f.prototype.canWriteBinary=function(e){return e instanceof r},f.prototype.writeBinary=function(e,t){t(e.length),this.writeBuffer(e)},f.prototype.writeBuffer=function(e){if(!(e instanceof r))throw new TypeError("BufferWriter only accepts Buffers");this.latestBufferOffset?this.latestBuffer.length-this.latestBufferOffset>=e.length?(e.copy(this.latestBuffer,this.latestBufferOffset),this.latestBufferOffset+=e.length,this.latestBufferOffset>=this.latestBuffer.length&&(this.completeBuffers.push(this.latestBuffer),this.latestBuffer=r.alloc(this.defaultBufferLength),this.latestBufferOffset=0)):(this.completeBuffers.push(this.latestBuffer.slice(0,this.latestBufferOffset)),this.completeBuffers.push(e),this.latestBuffer=r.alloc(this.defaultBufferLength),this.latestBufferOffset=0):this.completeBuffers.push(e),this.byteLength+=e.length},f.prototype.result=function(){for(var e=r.alloc(this.byteLength),t=0,a=0;a255)throw new Error("Byte value out of range: "+e);var t=e.toString(16);1==t.length&&(t="0"+t),this.$hex+=t},A.prototype.canWriteBinary=function(t){return t instanceof e||"function"==typeof r&&t instanceof r},A.prototype.writeBinary=function(t,a){if(t instanceof e)a(t.length()),this.$hex+=t.$hex;else{if(!("function"==typeof r&&t instanceof r))throw new TypeError("HexWriter only accepts BinaryHex or Buffers");a(t.length),this.$hex+=t.toString("hex")}},A.prototype.result=function(){return"buffer"===this.finalFormat&&"function"==typeof r?r.from(this.$hex,"hex"):new e(this.$hex).toString(this.finalFormat)},A.prototype.writeString=function(t,r){var a=e.fromUtf8String(t);r(a.length()),this.$hex+=a.$hex},h.addReader((function(t,r){return t instanceof e||t.$hex?new S(t.$hex):"hex"===r?new S(t):void 0})),h.addWriter((function(e){if("hex"===e)return new A})),h}();return a.addSemanticEncode(0,(function(e){if(e instanceof Date)return e.toISOString()})).addSemanticDecode(0,(function(e){return new Date(e)})).addSemanticDecode(1,(function(e){return new Date(e)})),a}))}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"@keystonehq/bc-ur-registry-eth>@keystonehq/bc-ur-registry",file:"node_modules/@keystonehq/bc-ur-registry/dist/lib/cbor-sync.js"}],[604,{"./DataItem":602,"./cbor-sync":603},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.DataItem=r.addWriter=r.addReader=r.addSemanticEncode=r.addSemanticDecode=r.decodeToDataItem=r.encodeDataItem=void 0;var a=e("./cbor-sync");Object.defineProperty(r,"encodeDataItem",{enumerable:!0,get:function(){return a.encodeDataItem}}),Object.defineProperty(r,"decodeToDataItem",{enumerable:!0,get:function(){return a.decodeToDataItem}}),Object.defineProperty(r,"addSemanticDecode",{enumerable:!0,get:function(){return a.addSemanticDecode}}),Object.defineProperty(r,"addSemanticEncode",{enumerable:!0,get:function(){return a.addSemanticEncode}}),Object.defineProperty(r,"addReader",{enumerable:!0,get:function(){return a.addReader}}),Object.defineProperty(r,"addWriter",{enumerable:!0,get:function(){return a.addWriter}});var n=e("./DataItem");Object.defineProperty(r,"DataItem",{enumerable:!0,get:function(){return n.DataItem}})}}},{package:"@keystonehq/bc-ur-registry-eth>@keystonehq/bc-ur-registry",file:"node_modules/@keystonehq/bc-ur-registry/dist/lib/index.js"}],[605,{"./RegistryType":594,"./ScriptExpression":595,"./utils":607},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const a=e("./utils"),n=e("./RegistryType"),o=e("./ScriptExpression"),i=Object.values(n.RegistryTypes).filter((e=>!!e.getTag())).map((e=>e.getTag())),s=Object.values(o.ScriptExpressions).map((e=>e.getTag()));(0,a.patchTags)(i.concat(s))}}},{package:"@keystonehq/bc-ur-registry-eth>@keystonehq/bc-ur-registry",file:"node_modules/@keystonehq/bc-ur-registry/dist/patchCBOR.js"}],[606,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0})}}},{package:"@keystonehq/bc-ur-registry-eth>@keystonehq/bc-ur-registry",file:"node_modules/@keystonehq/bc-ur-registry/dist/types.js"}],[607,{"./lib":604},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.patchTags=void 0;const a=e("./lib"),n=[];r.patchTags=e=>{e.forEach((e=>{n.find((t=>t===e))||((0,a.addSemanticEncode)(e,(t=>{if(t instanceof a.DataItem&&t.getTag()===e)return t.getData()})),(0,a.addSemanticDecode)(e,(t=>new a.DataItem(t,e))),n.push(e))}))}}}},{package:"@keystonehq/bc-ur-registry-eth>@keystonehq/bc-ur-registry",file:"node_modules/@keystonehq/bc-ur-registry/dist/utils.js"}],[73,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){if(e.includes(a)){const t=e.slice(a.length);return t.slice(t.indexOf(n)+n.length)}return e};const a="Error: [ethjs-rpc] rpc error with payload ",n="Error: "}}},{package:"$root$",file:"app/scripts/lib/extractEthjsErrorMessage.js"}],[74,{"../../_locales/index.json":3,"webextension-polyfill":4472},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=async function(){let e;try{e=await a.default.i18n.getAcceptLanguages()}catch(t){e=[]}e||(e=[]);let t=e.map((e=>e.toLowerCase().replace("_","-"))).find((e=>i[e]!==undefined||i[e.split("-")[0]]!==undefined));t!==undefined&&i[t]===undefined&&(t=t.split("-")[0]);return i[t]||"en"};var a=o(e("webextension-polyfill")),n=o(e("../../_locales/index.json"));function o(e){return e&&e.__esModule?e:{default:e}}const i={zh:"zh_CN"};n.default.forEach((e=>{e&&e.code&&(i[e.code.toLowerCase().replace("_","-")]=e.code)}))}}},{package:"$root$",file:"app/scripts/lib/get-first-preferred-lang-code.js"}],[78,{"../../../shared/modules/browser-runtime.utils":4534,"@sentry/browser":2409,loglevel:3842,"webextension-polyfill":4472},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var a=s(e("webextension-polyfill")),n=s(e("loglevel")),o=e("@sentry/browser"),i=e("../../../shared/modules/browser-runtime.utils");function s(e){return e&&e.__esModule?e:{default:e}}r.default=class{constructor(){this.isSupported=Boolean(a.default.storage.local),this.isSupported||n.default.error("Storage local API not available."),this.dataPersistenceFailing=!1,this.mostRecentRetrievedState=null}setMetadata(e){this.metadata=e}async set(e){if(!this.isSupported)throw new Error("Metamask- cannot persist state to local store as this browser does not support this action");if(!e)throw new Error("MetaMask - updated state is missing");if(!this.metadata)throw new Error('MetaMask - metadata must be set on instance of ExtensionStore before calling "set"');try{await this._set({data:e,meta:this.metadata}),this.dataPersistenceFailing&&(this.dataPersistenceFailing=!1)}catch(e){this.dataPersistenceFailing||(this.dataPersistenceFailing=!0,(0,o.captureException)(e)),n.default.error("error setting state in local store:",e)}}async get(){if(!this.isSupported)return undefined;const e=await this._get();return t=e,0===Object.keys(t).length?(this.mostRecentRetrievedState=null,undefined):(this.mostRecentRetrievedState=e,e);var t}_get(){const{local:e}=a.default.storage;return new Promise(((t,r)=>{e.get(null).then((e=>{const a=(0,i.checkForLastError)();a?r(a):t(e)}))}))}_set(e){const{local:t}=a.default.storage;return new Promise(((r,a)=>{t.set(e).then((()=>{const e=(0,i.checkForLastError)();e?a(e):r()}))}))}}}}},{package:"$root$",file:"app/scripts/lib/local-store.js"}],[83,{"../../../shared/modules/fetch-with-timeout":4542,loglevel:3842},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var a=n(e("loglevel"));function n(e){return e&&e.__esModule?e:{default:e}}function o(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(r!==undefined){var a=r.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const i=(0,n(e("../../../shared/modules/fetch-with-timeout")).default)();r.default=class{constructor(){o(this,"isSupported",!0),this._initialized=!1,this._initializing=this._init(),this._state=undefined,this.mostRecentRetrievedState=null}async _init(){try{const e=await i("http://localhost:12345/state.json");e.ok&&(this._state=await e.json())}catch(e){a.default.debug(`Error loading network state: '${e.message}'`)}finally{this._initialized=!0}}async get(){return this._initialized||await this._initializing,this.mostRecentRetrievedState||(this.mostRecentRetrievedState=this._state),this._state}setMetadata(e){this.metadata=e}async set(e){if(!this.isSupported)throw new Error("Metamask- cannot persist state to local store as this browser does not support this action");if(!e)throw new Error("MetaMask - updated state is missing");if(!this.metadata)throw new Error('MetaMask - metadata must be set on instance of ExtensionStore before calling "set"');this._initialized||await this._initializing,this._state={data:e,meta:this._metadata}}}}}},{package:"$root$",file:"app/scripts/lib/network-store.js"}]],[],{}); \ No newline at end of file +LavaPack.loadBundle([[548,{"./_version":544,"@ethersproject/bytes":476,"@ethersproject/logger":504},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.toUtf8CodePoints=r.toUtf8String=r._toUtf8String=r._toEscapedUtf8String=r.toUtf8Bytes=r.Utf8ErrorFuncs=r.Utf8ErrorReason=r.UnicodeNormalizationForm=void 0;var a,n,o=e("@ethersproject/bytes"),i=e("@ethersproject/logger"),s=e("./_version"),c=new i.Logger(s.version);function u(e,t,r,a,o){if(e===n.BAD_PREFIX||e===n.UNEXPECTED_CONTINUE){for(var i=0,s=t+1;s>6==2;s++)i++;return i}return e===n.OVERRUN?r.length-t-1:0}function l(e,t){null==t&&(t=r.Utf8ErrorFuncs.error),e=(0,o.arrayify)(e);for(var a=[],i=0;i>7){var c=null,u=null;if(192==(224&s))c=1,u=127;else if(224==(240&s))c=2,u=2047;else{if(240!=(248&s)){i+=t(128==(192&s)?n.UNEXPECTED_CONTINUE:n.BAD_PREFIX,i-1,e,a);continue}c=3,u=65535}if(i-1+c>=e.length)i+=t(n.OVERRUN,i-1,e,a);else{for(var l=s&(1<<8-c-1)-1,d=0;d1114111?i+=t(n.OUT_OF_RANGE,i-1-c,e,a,l):l>=55296&&l<=57343?i+=t(n.UTF16_SURROGATE,i-1-c,e,a,l):l<=u?i+=t(n.OVERLONG,i-1-c,e,a,l):a.push(l))}}else a.push(s)}return a}function d(e,t){void 0===t&&(t=a.current),t!=a.current&&(c.checkNormalize(),e=e.normalize(t));for(var r=[],n=0;n>6|192),r.push(63&i|128);else if(55296==(64512&i)){n++;var s=e.charCodeAt(n);if(n>=e.length||56320!=(64512&s))throw new Error("invalid utf-8 string");var u=65536+((1023&i)<<10)+(1023&s);r.push(u>>18|240),r.push(u>>12&63|128),r.push(u>>6&63|128),r.push(63&u|128)}else r.push(i>>12|224),r.push(i>>6&63|128),r.push(63&i|128)}return(0,o.arrayify)(r)}function g(e){var t="0000"+e.toString(16);return"\\u"+t.substring(t.length-4)}function p(e){return e.map((function(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(55296+(e>>10&1023),56320+(1023&e)))})).join("")}!function(e){e.current="",e.NFC="NFC",e.NFD="NFD",e.NFKC="NFKC",e.NFKD="NFKD"}(a=r.UnicodeNormalizationForm||(r.UnicodeNormalizationForm={})),function(e){e.UNEXPECTED_CONTINUE="unexpected continuation byte",e.BAD_PREFIX="bad codepoint prefix",e.OVERRUN="string overrun",e.MISSING_CONTINUE="missing continuation byte",e.OUT_OF_RANGE="out of UTF-8 range",e.UTF16_SURROGATE="UTF-16 surrogate",e.OVERLONG="overlong representation"}(n=r.Utf8ErrorReason||(r.Utf8ErrorReason={})),r.Utf8ErrorFuncs=Object.freeze({error:function(e,t,r,a,n){return c.throwArgumentError("invalid codepoint at offset "+t+"; "+e,"bytes",r)},ignore:u,replace:function(e,t,r,a,o){return e===n.OVERLONG?(a.push(o),0):(a.push(65533),u(e,t,r))}}),r.toUtf8Bytes=d,r._toEscapedUtf8String=function(e,t){return'"'+l(e,t).map((function(e){if(e<256){switch(e){case 8:return"\\b";case 9:return"\\t";case 10:return"\\n";case 13:return"\\r";case 34:return'\\"';case 92:return"\\\\"}if(e>=32&&e<127)return String.fromCharCode(e)}return e<=65535?g(e):g(55296+((e-=65536)>>10&1023))+g(56320+(1023&e))})).join("")+'"'},r._toUtf8String=p,r.toUtf8String=function(e,t){return p(l(e,t))},r.toUtf8CodePoints=function(e,t){return void 0===t&&(t=a.current),l(d(e,t))}}}},{package:"@ethersproject/abi>@ethersproject/strings",file:"node_modules/@ethersproject/strings/lib/utf8.js"}],[549,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.version=void 0,r.version="transactions/5.7.0"}}},{package:"@ethersproject/hdnode>@ethersproject/transactions",file:"node_modules/@ethersproject/transactions/lib/_version.js"}],[550,{"./_version":549,"@ethersproject/address":467,"@ethersproject/bignumber":474,"@ethersproject/bytes":476,"@ethersproject/constants":480,"@ethersproject/keccak256":502,"@ethersproject/logger":504,"@ethersproject/properties":510,"@ethersproject/rlp":536,"@ethersproject/signing-key":543},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var a=this&&this.__createBinding||(Object.create?function(e,t,r,a){a===undefined&&(a=r),Object.defineProperty(e,a,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,a){a===undefined&&(a=r),e[a]=t[r]}),n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&a(t,e,r);return n(t,e),t};Object.defineProperty(r,"__esModule",{value:!0}),r.parse=r.serialize=r.accessListify=r.recoverAddress=r.computeAddress=r.TransactionTypes=void 0;var i=e("@ethersproject/address"),s=e("@ethersproject/bignumber"),c=e("@ethersproject/bytes"),u=e("@ethersproject/constants"),l=e("@ethersproject/keccak256"),d=e("@ethersproject/properties"),g=o(e("@ethersproject/rlp")),p=e("@ethersproject/signing-key"),m=e("@ethersproject/logger"),h=e("./_version"),T=new m.Logger(h.version);function f(e){return"0x"===e?null:(0,i.getAddress)(e)}function S(e){return"0x"===e?u.Zero:s.BigNumber.from(e)}!function(e){e[e.legacy=0]="legacy",e[e.eip2930=1]="eip2930",e[e.eip1559=2]="eip1559"}(r.TransactionTypes||(r.TransactionTypes={}));var A=[{name:"nonce",maxLength:32,numeric:!0},{name:"gasPrice",maxLength:32,numeric:!0},{name:"gasLimit",maxLength:32,numeric:!0},{name:"to",length:20},{name:"value",maxLength:32,numeric:!0},{name:"data"}],y={chainId:!0,data:!0,gasLimit:!0,gasPrice:!0,nonce:!0,to:!0,type:!0,value:!0};function v(e){var t=(0,p.computePublicKey)(e);return(0,i.getAddress)((0,c.hexDataSlice)((0,l.keccak256)((0,c.hexDataSlice)(t,1)),12))}function E(e,t){return v((0,p.recoverPublicKey)((0,c.arrayify)(e),t))}function b(e,t){var r=(0,c.stripZeros)(s.BigNumber.from(e).toHexString());return r.length>32&&T.throwArgumentError("invalid length for "+t,"transaction:"+t,e),r}function C(e,t){return{address:(0,i.getAddress)(e),storageKeys:(t||[]).map((function(t,r){return 32!==(0,c.hexDataLength)(t)&&T.throwArgumentError("invalid access list storageKey","accessList["+e+":"+r+"]",t),t.toLowerCase()}))}}function R(e){if(Array.isArray(e))return e.map((function(e,t){return Array.isArray(e)?(e.length>2&&T.throwArgumentError("access list expected to be [ address, storageKeys[] ]","value["+t+"]",e),C(e[0],e[1])):C(e.address,e.storageKeys)}));var t=Object.keys(e).map((function(t){var r=e[t].reduce((function(e,t){return e[t]=!0,e}),{});return C(t,Object.keys(r).sort())}));return t.sort((function(e,t){return e.address.localeCompare(t.address)})),t}function D(e){return R(e).map((function(e){return[e.address,e.storageKeys]}))}function O(e,t){if(null!=e.gasPrice){var r=s.BigNumber.from(e.gasPrice),a=s.BigNumber.from(e.maxFeePerGas||0);r.eq(a)||T.throwArgumentError("mismatch EIP-1559 gasPrice != maxFeePerGas","tx",{gasPrice:r,maxFeePerGas:a})}var n=[b(e.chainId||0,"chainId"),b(e.nonce||0,"nonce"),b(e.maxPriorityFeePerGas||0,"maxPriorityFeePerGas"),b(e.maxFeePerGas||0,"maxFeePerGas"),b(e.gasLimit||0,"gasLimit"),null!=e.to?(0,i.getAddress)(e.to):"0x",b(e.value||0,"value"),e.data||"0x",D(e.accessList||[])];if(t){var o=(0,c.splitSignature)(t);n.push(b(o.recoveryParam,"recoveryParam")),n.push((0,c.stripZeros)(o.r)),n.push((0,c.stripZeros)(o.s))}return(0,c.hexConcat)(["0x02",g.encode(n)])}function I(e,t){var r=[b(e.chainId||0,"chainId"),b(e.nonce||0,"nonce"),b(e.gasPrice||0,"gasPrice"),b(e.gasLimit||0,"gasLimit"),null!=e.to?(0,i.getAddress)(e.to):"0x",b(e.value||0,"value"),e.data||"0x",D(e.accessList||[])];if(t){var a=(0,c.splitSignature)(t);r.push(b(a.recoveryParam,"recoveryParam")),r.push((0,c.stripZeros)(a.r)),r.push((0,c.stripZeros)(a.s))}return(0,c.hexConcat)(["0x01",g.encode(r)])}function M(e,t,r){try{var a=S(t[0]).toNumber();if(0!==a&&1!==a)throw new Error("bad recid");e.v=a}catch(e){T.throwArgumentError("invalid v for transaction type: 1","v",t[0])}e.r=(0,c.hexZeroPad)(t[1],32),e.s=(0,c.hexZeroPad)(t[2],32);try{var n=(0,l.keccak256)(r(e));e.from=E(n,{r:e.r,s:e.s,recoveryParam:e.v})}catch(e){}}r.computeAddress=v,r.recoverAddress=E,r.accessListify=R,r.serialize=function(e,t){if(null==e.type||0===e.type)return null!=e.accessList&&T.throwArgumentError("untyped transactions do not support accessList; include type: 1","transaction",e),function(e,t){(0,d.checkProperties)(e,y);var r=[];A.forEach((function(t){var a=e[t.name]||[],n={};t.numeric&&(n.hexPad="left"),a=(0,c.arrayify)((0,c.hexlify)(a,n)),t.length&&a.length!==t.length&&a.length>0&&T.throwArgumentError("invalid length for "+t.name,"transaction:"+t.name,a),t.maxLength&&(a=(0,c.stripZeros)(a)).length>t.maxLength&&T.throwArgumentError("invalid length for "+t.name,"transaction:"+t.name,a),r.push((0,c.hexlify)(a))}));var a=0;if(null!=e.chainId?"number"!=typeof(a=e.chainId)&&T.throwArgumentError("invalid transaction.chainId","transaction",e):t&&!(0,c.isBytesLike)(t)&&t.v>28&&(a=Math.floor((t.v-35)/2)),0!==a&&(r.push((0,c.hexlify)(a)),r.push("0x"),r.push("0x")),!t)return g.encode(r);var n=(0,c.splitSignature)(t),o=27+n.recoveryParam;return 0!==a?(r.pop(),r.pop(),r.pop(),o+=2*a+8,n.v>28&&n.v!==o&&T.throwArgumentError("transaction.chainId/signature.v mismatch","signature",t)):n.v!==o&&T.throwArgumentError("transaction.chainId/signature.v mismatch","signature",t),r.push((0,c.hexlify)(o)),r.push((0,c.stripZeros)((0,c.arrayify)(n.r))),r.push((0,c.stripZeros)((0,c.arrayify)(n.s))),g.encode(r)}(e,t);switch(e.type){case 1:return I(e,t);case 2:return O(e,t)}return T.throwError("unsupported transaction type: "+e.type,m.Logger.errors.UNSUPPORTED_OPERATION,{operation:"serializeTransaction",transactionType:e.type})},r.parse=function(e){var t=(0,c.arrayify)(e);if(t[0]>127)return function(e){var t=g.decode(e);9!==t.length&&6!==t.length&&T.throwArgumentError("invalid raw transaction","rawTransaction",e);var r={nonce:S(t[0]).toNumber(),gasPrice:S(t[1]),gasLimit:S(t[2]),to:f(t[3]),value:S(t[4]),data:t[5],chainId:0};if(6===t.length)return r;try{r.v=s.BigNumber.from(t[6]).toNumber()}catch(e){return r}if(r.r=(0,c.hexZeroPad)(t[7],32),r.s=(0,c.hexZeroPad)(t[8],32),s.BigNumber.from(r.r).isZero()&&s.BigNumber.from(r.s).isZero())r.chainId=r.v,r.v=0;else{r.chainId=Math.floor((r.v-35)/2),r.chainId<0&&(r.chainId=0);var a=r.v-27,n=t.slice(0,6);0!==r.chainId&&(n.push((0,c.hexlify)(r.chainId)),n.push("0x"),n.push("0x"),a-=2*r.chainId+8);var o=(0,l.keccak256)(g.encode(n));try{r.from=E(o,{r:(0,c.hexlify)(r.r),s:(0,c.hexlify)(r.s),recoveryParam:a})}catch(e){}r.hash=(0,l.keccak256)(e)}return r.type=null,r}(t);switch(t[0]){case 1:return function(e){var t=g.decode(e.slice(1));8!==t.length&&11!==t.length&&T.throwArgumentError("invalid component count for transaction type: 1","payload",(0,c.hexlify)(e));var r={type:1,chainId:S(t[0]).toNumber(),nonce:S(t[1]).toNumber(),gasPrice:S(t[2]),gasLimit:S(t[3]),to:f(t[4]),value:S(t[5]),data:t[6],accessList:R(t[7])};return 8===t.length||(r.hash=(0,l.keccak256)(e),M(r,t.slice(8),I)),r}(t);case 2:return function(e){var t=g.decode(e.slice(1));9!==t.length&&12!==t.length&&T.throwArgumentError("invalid component count for transaction type: 2","payload",(0,c.hexlify)(e));var r=S(t[2]),a=S(t[3]),n={type:2,chainId:S(t[0]).toNumber(),nonce:S(t[1]).toNumber(),maxPriorityFeePerGas:r,maxFeePerGas:a,gasPrice:null,gasLimit:S(t[4]),to:f(t[5]),value:S(t[6]),data:t[7],accessList:R(t[8])};return 9===t.length||(n.hash=(0,l.keccak256)(e),M(n,t.slice(9),O)),n}(t)}return T.throwError("unsupported transaction type: "+t[0],m.Logger.errors.UNSUPPORTED_OPERATION,{operation:"parseTransaction",transactionType:t[0]})}}}},{package:"@ethersproject/hdnode>@ethersproject/transactions",file:"node_modules/@ethersproject/transactions/lib/index.js"}],[553,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.version=void 0,r.version="web/5.7.1"}}},{package:"@ethersproject/providers>@ethersproject/web",file:"node_modules/@ethersproject/web/lib/_version.js"}],[554,{"@ethersproject/bytes":476},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var a=this&&this.__awaiter||function(e,t,r,a){return new(r||(r=Promise))((function(n,o){function i(e){try{c(a.next(e))}catch(e){o(e)}}function s(e){try{c(a.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?n(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(i,s)}c((a=a.apply(e,t||[])).next())}))},n=this&&this.__generator||function(e,t){var r,a,n,o,i={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;i;)try{if(r=1,a&&(n=2&o[0]?a.return:o[0]?a.throw||((n=a.return)&&n.call(a),0):a.next)&&!(n=n.call(a,o[1])).done)return n;switch(a=0,n&&(o=[2&o[0],n.value]),o[0]){case 0:case 1:n=o;break;case 4:return i.label++,{value:o[1],done:!1};case 5:i.label++,a=o[1],o=[0];continue;case 7:o=i.ops.pop(),i.trys.pop();continue;default:if(!(n=i.trys,(n=n.length>0&&n[n.length-1])||6!==o[0]&&2!==o[0])){i=0;continue}if(3===o[0]&&(!n||o[1]>n[0]&&o[1]@ethersproject/web",file:"node_modules/@ethersproject/web/lib/browser-geturl.js"}],[555,{"./_version":553,"./geturl":554,"@ethersproject/base64":469,"@ethersproject/bytes":476,"@ethersproject/logger":504,"@ethersproject/properties":510,"@ethersproject/strings":547},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var a=this&&this.__awaiter||function(e,t,r,a){return new(r||(r=Promise))((function(n,o){function i(e){try{c(a.next(e))}catch(e){o(e)}}function s(e){try{c(a.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?n(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(i,s)}c((a=a.apply(e,t||[])).next())}))},n=this&&this.__generator||function(e,t){var r,a,n,o,i={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;i;)try{if(r=1,a&&(n=2&o[0]?a.return:o[0]?a.throw||((n=a.return)&&n.call(a),0):a.next)&&!(n=n.call(a,o[1])).done)return n;switch(a=0,n&&(o=[2&o[0],n.value]),o[0]){case 0:case 1:n=o;break;case 4:return i.label++,{value:o[1],done:!1};case 5:i.label++,a=o[1],o=[0];continue;case 7:o=i.ops.pop(),i.trys.pop();continue;default:if(!(n=i.trys,(n=n.length>0&&n[n.length-1])||6!==o[0]&&2!==o[0])){i=0;continue}if(3===o[0]&&(!n||o[1]>n[0]&&o[1]0&&i%1==0,"invalid connection throttle limit","connection.throttleLimit",i);var l="object"==typeof e?e.throttleCallback:null,h="object"==typeof e&&"number"==typeof e.throttleSlotInterval?e.throttleSlotInterval:100;d.assertArgument(h>0&&h%1==0,"invalid connection throttle slot interval","connection.throttleSlotInterval",h);var T="object"==typeof e&&!!e.errorPassThrough,f={},S=null,A={method:"GET"},y=!1,v=12e4;if("string"==typeof e)S=e;else if("object"==typeof e){if(null!=e&&null!=e.url||d.throwArgumentError("missing URL","connection.url",e),S=e.url,"number"==typeof e.timeout&&e.timeout>0&&(v=e.timeout),e.headers)for(var E in e.headers)f[E.toLowerCase()]={key:E,value:String(e.headers[E])},["if-none-match","if-modified-since"].indexOf(E.toLowerCase())>=0&&(y=!0);if(A.allowGzip=!!e.allowGzip,null!=e.user&&null!=e.password){"https:"!==S.substring(0,6)&&!0!==e.allowInsecureAuthentication&&d.throwError("basic authentication requires a secure https url",u.Logger.errors.INVALID_ARGUMENT,{argument:"url",url:S,user:e.user,password:"[REDACTED]"});var b=e.user+":"+e.password;f.authorization={key:"Authorization",value:"Basic "+(0,o.encode)((0,c.toUtf8Bytes)(b))}}null!=e.skipFetchSetup&&(A.skipFetchSetup=!!e.skipFetchSetup),null!=e.fetchOptions&&(A.fetchOptions=(0,s.shallowCopy)(e.fetchOptions))}var C,R=new RegExp("^data:([^;:]*)?(;base64)?,(.*)$","i"),D=S?S.match(R):null;if(D)try{var O={statusCode:200,statusMessage:"OK",headers:{"content-type":D[1]||"text/plain"},body:D[2]?(0,o.decode)(D[3]):(C=D[3],(0,c.toUtf8Bytes)(C.replace(/%([0-9a-f][0-9a-f])/gi,(function(e,t){return String.fromCharCode(parseInt(t,16))}))))},I=O.body;return r&&(I=r(O.body,O)),Promise.resolve(I)}catch(e){d.throwError("processing response error",u.Logger.errors.SERVER_ERROR,{body:m(D[1],D[2]),error:e,requestBody:null,requestMethod:"GET",url:S})}t&&(A.method="POST",A.body=t,null==f["content-type"]&&(f["content-type"]={key:"Content-Type",value:"application/octet-stream"}),null==f["content-length"]&&(f["content-length"]={key:"Content-Length",value:String(t.length)}));var M={};Object.keys(f).forEach((function(e){var t=f[e];M[t.key]=t.value})),A.headers=M;var k,P=(k=null,{promise:new Promise((function(e,t){v&&(k=setTimeout((function(){null!=k&&(k=null,t(d.makeError("timeout",u.Logger.errors.TIMEOUT,{requestBody:m(A.body,M["content-type"]),requestMethod:A.method,timeout:v,url:S})))}),v))})),cancel:function(){null!=k&&(clearTimeout(k),k=null)}}),N=function(){return a(this,void 0,void 0,(function(){var e,t,a,o,s,c,f,v,E;return n(this,(function(n){switch(n.label){case 0:e=0,n.label=1;case 1:if(!(e=300)&&(P.cancel(),d.throwError("bad response",u.Logger.errors.SERVER_ERROR,{status:t.statusCode,headers:t.headers,body:m(c,t.headers?t.headers["content-type"]:null),requestBody:m(A.body,M["content-type"]),requestMethod:A.method,url:S})),!r)return[3,18];n.label=11;case 11:return n.trys.push([11,13,,18]),[4,r(c,t)];case 12:return f=n.sent(),P.cancel(),[2,f];case 13:return(v=n.sent()).throttleRetry&&es)return void(i()&&a(new Error("retry limit reached")));var u=t.interval*parseInt(String(Math.random()*Math.pow(2,c)));ut.ceiling&&(u=t.ceiling),setTimeout(n,u)}return null}),(function(e){i()&&a(e)}))}()}))}}}},{package:"@ethersproject/providers>@ethersproject/web",file:"node_modules/@ethersproject/web/lib/index.js"}],[556,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.version=void 0,r.version="wordlists/5.7.0"}}},{package:"@ethersproject/hdnode>@ethersproject/wordlists",file:"node_modules/@ethersproject/wordlists/lib/_version.js"}],[557,{"./wordlist":566,"./wordlists":567},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.wordlists=r.Wordlist=r.logger=void 0;var a=e("./wordlist");Object.defineProperty(r,"logger",{enumerable:!0,get:function(){return a.logger}}),Object.defineProperty(r,"Wordlist",{enumerable:!0,get:function(){return a.Wordlist}});var n=e("./wordlists");Object.defineProperty(r,"wordlists",{enumerable:!0,get:function(){return n.wordlists}})}}},{package:"@ethersproject/hdnode>@ethersproject/wordlists",file:"node_modules/@ethersproject/wordlists/lib/index.js"}],[558,{"./wordlist":566},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var a,n=this&&this.__extends||(a=function(e,t){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},a(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.langCz=void 0;var o=e("./wordlist"),i=null;function s(e){if(null==i&&(i="AbdikaceAbecedaAdresaAgreseAkceAktovkaAlejAlkoholAmputaceAnanasAndulkaAnekdotaAnketaAntikaAnulovatArchaAroganceAsfaltAsistentAspiraceAstmaAstronomAtlasAtletikaAtolAutobusAzylBabkaBachorBacilBaculkaBadatelBagetaBagrBahnoBakterieBaladaBaletkaBalkonBalonekBalvanBalzaBambusBankomatBarbarBaretBarmanBarokoBarvaBaterkaBatohBavlnaBazalkaBazilikaBazukaBednaBeranBesedaBestieBetonBezinkaBezmocBeztakBicyklBidloBiftekBikinyBilanceBiografBiologBitvaBizonBlahobytBlatouchBlechaBleduleBleskBlikatBliznaBlokovatBlouditBludBobekBobrBodlinaBodnoutBohatostBojkotBojovatBokorysBolestBorecBoroviceBotaBoubelBouchatBoudaBouleBouratBoxerBradavkaBramboraBrankaBratrBreptaBriketaBrkoBrlohBronzBroskevBrunetkaBrusinkaBrzdaBrzyBublinaBubnovatBuchtaBuditelBudkaBudovaBufetBujarostBukviceBuldokBulvaBundaBunkrBurzaButikBuvolBuzolaBydletBylinaBytovkaBzukotCapartCarevnaCedrCeduleCejchCejnCelaCelerCelkemCelniceCeninaCennostCenovkaCentrumCenzorCestopisCetkaChalupaChapadloCharitaChataChechtatChemieChichotChirurgChladChlebaChlubitChmelChmuraChobotChocholChodbaCholeraChomoutChopitChorobaChovChrapotChrlitChrtChrupChtivostChudinaChutnatChvatChvilkaChvostChybaChystatChytitCibuleCigaretaCihelnaCihlaCinkotCirkusCisternaCitaceCitrusCizinecCizostClonaCokolivCouvatCtitelCtnostCudnostCuketaCukrCupotCvaknoutCvalCvikCvrkotCyklistaDalekoDarebaDatelDatumDceraDebataDechovkaDecibelDeficitDeflaceDeklDekretDemokratDepreseDerbyDeskaDetektivDikobrazDiktovatDiodaDiplomDiskDisplejDivadloDivochDlahaDlouhoDluhopisDnesDobroDobytekDocentDochutitDodnesDohledDohodaDohraDojemDojniceDokladDokolaDoktorDokumentDolarDolevaDolinaDomaDominantDomluvitDomovDonutitDopadDopisDoplnitDoposudDoprovodDopustitDorazitDorostDortDosahDoslovDostatekDosudDosytaDotazDotekDotknoutDoufatDoutnatDovozceDozaduDoznatDozorceDrahotaDrakDramatikDravecDrazeDrdolDrobnostDrogerieDrozdDrsnostDrtitDrzostDubenDuchovnoDudekDuhaDuhovkaDusitDusnoDutostDvojiceDvorecDynamitEkologEkonomieElektronElipsaEmailEmiseEmoceEmpatieEpizodaEpochaEpopejEposEsejEsenceEskortaEskymoEtiketaEuforieEvoluceExekuceExkurzeExpediceExplozeExportExtraktFackaFajfkaFakultaFanatikFantazieFarmacieFavoritFazoleFederaceFejetonFenkaFialkaFigurantFilozofFiltrFinanceFintaFixaceFjordFlanelFlirtFlotilaFondFosforFotbalFotkaFotonFrakceFreskaFrontaFukarFunkceFyzikaGalejeGarantGenetikaGeologGilotinaGlazuraGlejtGolemGolfistaGotikaGrafGramofonGranuleGrepGrilGrogGroteskaGumaHadiceHadrHalaHalenkaHanbaHanopisHarfaHarpunaHavranHebkostHejkalHejnoHejtmanHektarHelmaHematomHerecHernaHesloHezkyHistorikHladovkaHlasivkyHlavaHledatHlenHlodavecHlohHloupostHltatHlubinaHluchotaHmatHmotaHmyzHnisHnojivoHnoutHoblinaHobojHochHodinyHodlatHodnotaHodovatHojnostHokejHolinkaHolkaHolubHomoleHonitbaHonoraceHoralHordaHorizontHorkoHorlivecHormonHorninaHoroskopHorstvoHospodaHostinaHotovostHoubaHoufHoupatHouskaHovorHradbaHraniceHravostHrazdaHrbolekHrdinaHrdloHrdostHrnekHrobkaHromadaHrotHroudaHrozenHrstkaHrubostHryzatHubenostHubnoutHudbaHukotHumrHusitaHustotaHvozdHybnostHydrantHygienaHymnaHysterikIdylkaIhnedIkonaIluzeImunitaInfekceInflaceInkasoInovaceInspekceInternetInvalidaInvestorInzerceIronieJablkoJachtaJahodaJakmileJakostJalovecJantarJarmarkJaroJasanJasnoJatkaJavorJazykJedinecJedleJednatelJehlanJekotJelenJelitoJemnostJenomJepiceJeseterJevitJezdecJezeroJinakJindyJinochJiskraJistotaJitrniceJizvaJmenovatJogurtJurtaKabaretKabelKabinetKachnaKadetKadidloKahanKajakKajutaKakaoKaktusKalamitaKalhotyKalibrKalnostKameraKamkolivKamnaKanibalKanoeKantorKapalinaKapelaKapitolaKapkaKapleKapotaKaprKapustaKapybaraKaramelKarotkaKartonKasaKatalogKatedraKauceKauzaKavalecKazajkaKazetaKazivostKdekolivKdesiKedlubenKempKeramikaKinoKlacekKladivoKlamKlapotKlasikaKlaunKlecKlenbaKlepatKlesnoutKlidKlimaKlisnaKloboukKlokanKlopaKloubKlubovnaKlusatKluzkostKmenKmitatKmotrKnihaKnotKoaliceKoberecKobkaKoblihaKobylaKocourKohoutKojenecKokosKoktejlKolapsKoledaKolizeKoloKomandoKometaKomikKomnataKomoraKompasKomunitaKonatKonceptKondiceKonecKonfeseKongresKoninaKonkursKontaktKonzervaKopanecKopieKopnoutKoprovkaKorbelKorektorKormidloKoroptevKorpusKorunaKorytoKorzetKosatecKostkaKotelKotletaKotoulKoukatKoupelnaKousekKouzloKovbojKozaKozorohKrabiceKrachKrajinaKralovatKrasopisKravataKreditKrejcarKresbaKrevetaKriketKritikKrizeKrkavecKrmelecKrmivoKrocanKrokKronikaKropitKroupaKrovkaKrtekKruhadloKrupiceKrutostKrvinkaKrychleKryptaKrystalKrytKudlankaKufrKujnostKuklaKulajdaKulichKulkaKulometKulturaKunaKupodivuKurtKurzorKutilKvalitaKvasinkaKvestorKynologKyselinaKytaraKyticeKytkaKytovecKyvadloLabradorLachtanLadnostLaikLakomecLamelaLampaLanovkaLasiceLasoLasturaLatinkaLavinaLebkaLeckdyLedenLedniceLedovkaLedvinaLegendaLegieLegraceLehceLehkostLehnoutLektvarLenochodLentilkaLepenkaLepidloLetadloLetecLetmoLetokruhLevhartLevitaceLevobokLibraLichotkaLidojedLidskostLihovinaLijavecLilekLimetkaLinieLinkaLinoleumListopadLitinaLitovatLobistaLodivodLogikaLogopedLokalitaLoketLomcovatLopataLopuchLordLososLotrLoudalLouhLoukaLouskatLovecLstivostLucernaLuciferLumpLuskLustraceLviceLyraLyrikaLysinaMadamMadloMagistrMahagonMajetekMajitelMajoritaMakakMakoviceMakrelaMalbaMalinaMalovatMalviceMaminkaMandleMankoMarnostMasakrMaskotMasopustMaticeMatrikaMaturitaMazanecMazivoMazlitMazurkaMdlobaMechanikMeditaceMedovinaMelasaMelounMentolkaMetlaMetodaMetrMezeraMigraceMihnoutMihuleMikinaMikrofonMilenecMilimetrMilostMimikaMincovnaMinibarMinometMinulostMiskaMistrMixovatMladostMlhaMlhovinaMlokMlsatMluvitMnichMnohemMobilMocnostModelkaModlitbaMohylaMokroMolekulaMomentkaMonarchaMonoklMonstrumMontovatMonzunMosazMoskytMostMotivaceMotorkaMotykaMouchaMoudrostMozaikaMozekMozolMramorMravenecMrkevMrtvolaMrzetMrzutostMstitelMudrcMuflonMulatMumieMuniceMusetMutaceMuzeumMuzikantMyslivecMzdaNabouratNachytatNadaceNadbytekNadhozNadobroNadpisNahlasNahnatNahodileNahraditNaivitaNajednouNajistoNajmoutNaklonitNakonecNakrmitNalevoNamazatNamluvitNanometrNaokoNaopakNaostroNapadatNapevnoNaplnitNapnoutNaposledNaprostoNaroditNarubyNarychloNasaditNasekatNaslepoNastatNatolikNavenekNavrchNavzdoryNazvatNebeNechatNeckyNedalekoNedbatNeduhNegaceNehetNehodaNejenNejprveNeklidNelibostNemilostNemocNeochotaNeonkaNepokojNerostNervNesmyslNesouladNetvorNeuronNevinaNezvykleNicotaNijakNikamNikdyNiklNikterakNitroNoclehNohaviceNominaceNoraNorekNositelNosnostNouzeNovinyNovotaNozdraNudaNudleNugetNutitNutnostNutrieNymfaObalObarvitObavaObdivObecObehnatObejmoutObezitaObhajobaObilniceObjasnitObjektObklopitOblastOblekOblibaOblohaObludaObnosObohatitObojekOboutObrazecObrnaObrubaObrysObsahObsluhaObstaratObuvObvazObvinitObvodObvykleObyvatelObzorOcasOcelOcenitOchladitOchotaOchranaOcitnoutOdbojOdbytOdchodOdcizitOdebratOdeslatOdevzdatOdezvaOdhadceOdhoditOdjetOdjinudOdkazOdkoupitOdlivOdlukaOdmlkaOdolnostOdpadOdpisOdploutOdporOdpustitOdpykatOdrazkaOdsouditOdstupOdsunOdtokOdtudOdvahaOdvetaOdvolatOdvracetOdznakOfinaOfsajdOhlasOhniskoOhradaOhrozitOhryzekOkapOkeniceOklikaOknoOkouzlitOkovyOkrasaOkresOkrsekOkruhOkupantOkurkaOkusitOlejninaOlizovatOmakOmeletaOmezitOmladinaOmlouvatOmluvaOmylOnehdyOpakovatOpasekOperaceOpiceOpilostOpisovatOporaOpoziceOpravduOprotiOrbitalOrchestrOrgieOrliceOrlojOrtelOsadaOschnoutOsikaOsivoOslavaOslepitOslnitOslovitOsnovaOsobaOsolitOspalecOstenOstrahaOstudaOstychOsvojitOteplitOtiskOtopOtrhatOtrlostOtrokOtrubyOtvorOvanoutOvarOvesOvlivnitOvoceOxidOzdobaPachatelPacientPadouchPahorekPaktPalandaPalecPalivoPalubaPamfletPamlsekPanenkaPanikaPannaPanovatPanstvoPantoflePaprikaParketaParodiePartaParukaParybaPasekaPasivitaPastelkaPatentPatronaPavoukPaznehtPazourekPeckaPedagogPejsekPekloPelotonPenaltaPendrekPenzePeriskopPeroPestrostPetardaPeticePetrolejPevninaPexesoPianistaPihaPijavicePiklePiknikPilinaPilnostPilulkaPinzetaPipetaPisatelPistolePitevnaPivnicePivovarPlacentaPlakatPlamenPlanetaPlastikaPlatitPlavidloPlazPlechPlemenoPlentaPlesPletivoPlevelPlivatPlnitPlnoPlochaPlodinaPlombaPloutPlukPlynPobavitPobytPochodPocitPoctivecPodatPodcenitPodepsatPodhledPodivitPodkladPodmanitPodnikPodobaPodporaPodrazPodstataPodvodPodzimPoeziePohankaPohnutkaPohovorPohromaPohybPointaPojistkaPojmoutPokazitPoklesPokojPokrokPokutaPokynPolednePolibekPolknoutPolohaPolynomPomaluPominoutPomlkaPomocPomstaPomysletPonechatPonorkaPonurostPopadatPopelPopisekPoplachPoprositPopsatPopudPoradcePorcePorodPoruchaPoryvPosaditPosedPosilaPoskokPoslanecPosouditPospoluPostavaPosudekPosypPotahPotkanPotleskPotomekPotravaPotupaPotvoraPoukazPoutoPouzdroPovahaPovidlaPovlakPovozPovrchPovstatPovykPovzdechPozdravPozemekPoznatekPozorPozvatPracovatPrahoryPraktikaPralesPraotecPraporekPrasePravdaPrincipPrknoProbuditProcentoProdejProfeseProhraProjektProlomitPromilePronikatPropadProrokProsbaProtonProutekProvazPrskavkaPrstenPrudkostPrutPrvekPrvohoryPsanecPsovodPstruhPtactvoPubertaPuchPudlPukavecPuklinaPukrlePultPumpaPuncPupenPusaPusinkaPustinaPutovatPutykaPyramidaPyskPytelRacekRachotRadiaceRadniceRadonRaftRagbyRaketaRakovinaRamenoRampouchRandeRarachRaritaRasovnaRastrRatolestRazanceRazidloReagovatReakceReceptRedaktorReferentReflexRejnokReklamaRekordRekrutRektorReputaceRevizeRevmaRevolverRezervaRiskovatRizikoRobotikaRodokmenRohovkaRokleRokokoRomanetoRopovodRopuchaRorejsRosolRostlinaRotmistrRotopedRotundaRoubenkaRouchoRoupRouraRovinaRovniceRozborRozchodRozdatRozeznatRozhodceRozinkaRozjezdRozkazRozlohaRozmarRozpadRozruchRozsahRoztokRozumRozvodRubrikaRuchadloRukaviceRukopisRybaRybolovRychlostRydloRypadloRytinaRyzostSadistaSahatSakoSamecSamizdatSamotaSanitkaSardinkaSasankaSatelitSazbaSazeniceSborSchovatSebrankaSeceseSedadloSedimentSedloSehnatSejmoutSekeraSektaSekundaSekvojeSemenoSenoServisSesaditSeshoraSeskokSeslatSestraSesuvSesypatSetbaSetinaSetkatSetnoutSetrvatSeverSeznamShodaShrnoutSifonSilniceSirkaSirotekSirupSituaceSkafandrSkaliskoSkanzenSkautSkeptikSkicaSkladbaSkleniceSkloSkluzSkobaSkokanSkoroSkriptaSkrzSkupinaSkvostSkvrnaSlabikaSladidloSlaninaSlastSlavnostSledovatSlepecSlevaSlezinaSlibSlinaSlizniceSlonSloupekSlovoSluchSluhaSlunceSlupkaSlzaSmaragdSmetanaSmilstvoSmlouvaSmogSmradSmrkSmrtkaSmutekSmyslSnadSnahaSnobSobotaSochaSodovkaSokolSopkaSotvaSoubojSoucitSoudceSouhlasSouladSoumrakSoupravaSousedSoutokSouvisetSpalovnaSpasitelSpisSplavSpodekSpojenecSpoluSponzorSpornostSpoustaSprchaSpustitSrandaSrazSrdceSrnaSrnecSrovnatSrpenSrstSrubStaniceStarostaStatikaStavbaStehnoStezkaStodolaStolekStopaStornoStoupatStrachStresStrhnoutStromStrunaStudnaStupniceStvolStykSubjektSubtropySucharSudostSuknoSundatSunoutSurikataSurovinaSvahSvalstvoSvetrSvatbaSvazekSvisleSvitekSvobodaSvodidloSvorkaSvrabSykavkaSykotSynekSynovecSypatSypkostSyrovostSyselSytostTabletkaTabuleTahounTajemnoTajfunTajgaTajitTajnostTaktikaTamhleTamponTancovatTanecTankerTapetaTaveninaTazatelTechnikaTehdyTekutinaTelefonTemnotaTendenceTenistaTenorTeplotaTepnaTeprveTerapieTermoskaTextilTichoTiskopisTitulekTkadlecTkaninaTlapkaTleskatTlukotTlupaTmelToaletaTopinkaTopolTorzoTouhaToulecTradiceTraktorTrampTrasaTraverzaTrefitTrestTrezorTrhavinaTrhlinaTrochuTrojiceTroskaTroubaTrpceTrpitelTrpkostTrubecTruchlitTruhliceTrusTrvatTudyTuhnoutTuhostTundraTuristaTurnajTuzemskoTvarohTvorbaTvrdostTvrzTygrTykevUbohostUbozeUbratUbrousekUbrusUbytovnaUchoUctivostUdivitUhraditUjednatUjistitUjmoutUkazatelUklidnitUklonitUkotvitUkrojitUliceUlitaUlovitUmyvadloUnavitUniformaUniknoutUpadnoutUplatnitUplynoutUpoutatUpravitUranUrazitUsednoutUsilovatUsmrtitUsnadnitUsnoutUsouditUstlatUstrnoutUtahovatUtkatUtlumitUtonoutUtopenecUtrousitUvalitUvolnitUvozovkaUzdravitUzelUzeninaUzlinaUznatVagonValchaValounVanaVandalVanilkaVaranVarhanyVarovatVcelkuVchodVdovaVedroVegetaceVejceVelbloudVeletrhVelitelVelmocVelrybaVenkovVerandaVerzeVeselkaVeskrzeVesniceVespoduVestaVeterinaVeverkaVibraceVichrVideohraVidinaVidleVilaViniceVisetVitalitaVizeVizitkaVjezdVkladVkusVlajkaVlakVlasecVlevoVlhkostVlivVlnovkaVloupatVnucovatVnukVodaVodivostVodoznakVodstvoVojenskyVojnaVojskoVolantVolbaVolitVolnoVoskovkaVozidloVozovnaVpravoVrabecVracetVrahVrataVrbaVrcholekVrhatVrstvaVrtuleVsaditVstoupitVstupVtipVybavitVybratVychovatVydatVydraVyfotitVyhledatVyhnoutVyhoditVyhraditVyhubitVyjasnitVyjetVyjmoutVyklopitVykonatVylekatVymazatVymezitVymizetVymysletVynechatVynikatVynutitVypadatVyplatitVypravitVypustitVyrazitVyrovnatVyrvatVyslovitVysokoVystavitVysunoutVysypatVytasitVytesatVytratitVyvinoutVyvolatVyvrhelVyzdobitVyznatVzaduVzbuditVzchopitVzdorVzduchVzdychatVzestupVzhledemVzkazVzlykatVznikVzorekVzpouraVztahVztekXylofonZabratZabydletZachovatZadarmoZadusitZafoukatZahltitZahoditZahradaZahynoutZajatecZajetZajistitZaklepatZakoupitZalepitZamezitZamotatZamysletZanechatZanikatZaplatitZapojitZapsatZarazitZastavitZasunoutZatajitZatemnitZatknoutZaujmoutZavalitZaveletZavinitZavolatZavrtatZazvonitZbavitZbrusuZbudovatZbytekZdalekaZdarmaZdatnostZdivoZdobitZdrojZdvihZdymadloZeleninaZemanZeminaZeptatZezaduZezdolaZhatitZhltnoutZhlubokaZhotovitZhrubaZimaZimniceZjemnitZklamatZkoumatZkratkaZkumavkaZlatoZlehkaZlobaZlomZlostZlozvykZmapovatZmarZmatekZmijeZmizetZmocnitZmodratZmrzlinaZmutovatZnakZnalostZnamenatZnovuZobrazitZotavitZoubekZoufaleZploditZpomalitZpravaZprostitZprudkaZprvuZradaZranitZrcadloZrnitostZrnoZrovnaZrychlitZrzavostZtichaZtratitZubovinaZubrZvednoutZvenkuZveselaZvonZvratZvukovodZvyk".replace(/([A-Z])/g," $1").toLowerCase().substring(1).split(" "),"0x25f44555f4af25b51a711136e1c7d6e50ce9f8917d39d6b1f076b2bb4d2fac1a"!==o.Wordlist.check(e)))throw i=null,new Error("BIP39 Wordlist for en (English) FAILED")}var c=new(function(e){function t(){return e.call(this,"cz")||this}return n(t,e),t.prototype.getWord=function(e){return s(this),i[e]},t.prototype.getWordIndex=function(e){return s(this),i.indexOf(e)},t}(o.Wordlist));r.langCz=c,o.Wordlist.register(c)}}},{package:"@ethersproject/hdnode>@ethersproject/wordlists",file:"node_modules/@ethersproject/wordlists/lib/lang-cz.js"}],[559,{"./wordlist":566},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var a,n=this&&this.__extends||(a=function(e,t){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},a(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.langEn=void 0;var o=e("./wordlist"),i=null;function s(e){if(null==i&&(i="AbandonAbilityAbleAboutAboveAbsentAbsorbAbstractAbsurdAbuseAccessAccidentAccountAccuseAchieveAcidAcousticAcquireAcrossActActionActorActressActualAdaptAddAddictAddressAdjustAdmitAdultAdvanceAdviceAerobicAffairAffordAfraidAgainAgeAgentAgreeAheadAimAirAirportAisleAlarmAlbumAlcoholAlertAlienAllAlleyAllowAlmostAloneAlphaAlreadyAlsoAlterAlwaysAmateurAmazingAmongAmountAmusedAnalystAnchorAncientAngerAngleAngryAnimalAnkleAnnounceAnnualAnotherAnswerAntennaAntiqueAnxietyAnyApartApologyAppearAppleApproveAprilArchArcticAreaArenaArgueArmArmedArmorArmyAroundArrangeArrestArriveArrowArtArtefactArtistArtworkAskAspectAssaultAssetAssistAssumeAsthmaAthleteAtomAttackAttendAttitudeAttractAuctionAuditAugustAuntAuthorAutoAutumnAverageAvocadoAvoidAwakeAwareAwayAwesomeAwfulAwkwardAxisBabyBachelorBaconBadgeBagBalanceBalconyBallBambooBananaBannerBarBarelyBargainBarrelBaseBasicBasketBattleBeachBeanBeautyBecauseBecomeBeefBeforeBeginBehaveBehindBelieveBelowBeltBenchBenefitBestBetrayBetterBetweenBeyondBicycleBidBikeBindBiologyBirdBirthBitterBlackBladeBlameBlanketBlastBleakBlessBlindBloodBlossomBlouseBlueBlurBlushBoardBoatBodyBoilBombBoneBonusBookBoostBorderBoringBorrowBossBottomBounceBoxBoyBracketBrainBrandBrassBraveBreadBreezeBrickBridgeBriefBrightBringBriskBroccoliBrokenBronzeBroomBrotherBrownBrushBubbleBuddyBudgetBuffaloBuildBulbBulkBulletBundleBunkerBurdenBurgerBurstBusBusinessBusyButterBuyerBuzzCabbageCabinCableCactusCageCakeCallCalmCameraCampCanCanalCancelCandyCannonCanoeCanvasCanyonCapableCapitalCaptainCarCarbonCardCargoCarpetCarryCartCaseCashCasinoCastleCasualCatCatalogCatchCategoryCattleCaughtCauseCautionCaveCeilingCeleryCementCensusCenturyCerealCertainChairChalkChampionChangeChaosChapterChargeChaseChatCheapCheckCheeseChefCherryChestChickenChiefChildChimneyChoiceChooseChronicChuckleChunkChurnCigarCinnamonCircleCitizenCityCivilClaimClapClarifyClawClayCleanClerkCleverClickClientCliffClimbClinicClipClockClogCloseClothCloudClownClubClumpClusterClutchCoachCoastCoconutCodeCoffeeCoilCoinCollectColorColumnCombineComeComfortComicCommonCompanyConcertConductConfirmCongressConnectConsiderControlConvinceCookCoolCopperCopyCoralCoreCornCorrectCostCottonCouchCountryCoupleCourseCousinCoverCoyoteCrackCradleCraftCramCraneCrashCraterCrawlCrazyCreamCreditCreekCrewCricketCrimeCrispCriticCropCrossCrouchCrowdCrucialCruelCruiseCrumbleCrunchCrushCryCrystalCubeCultureCupCupboardCuriousCurrentCurtainCurveCushionCustomCuteCycleDadDamageDampDanceDangerDaringDashDaughterDawnDayDealDebateDebrisDecadeDecemberDecideDeclineDecorateDecreaseDeerDefenseDefineDefyDegreeDelayDeliverDemandDemiseDenialDentistDenyDepartDependDepositDepthDeputyDeriveDescribeDesertDesignDeskDespairDestroyDetailDetectDevelopDeviceDevoteDiagramDialDiamondDiaryDiceDieselDietDifferDigitalDignityDilemmaDinnerDinosaurDirectDirtDisagreeDiscoverDiseaseDishDismissDisorderDisplayDistanceDivertDivideDivorceDizzyDoctorDocumentDogDollDolphinDomainDonateDonkeyDonorDoorDoseDoubleDoveDraftDragonDramaDrasticDrawDreamDressDriftDrillDrinkDripDriveDropDrumDryDuckDumbDuneDuringDustDutchDutyDwarfDynamicEagerEagleEarlyEarnEarthEasilyEastEasyEchoEcologyEconomyEdgeEditEducateEffortEggEightEitherElbowElderElectricElegantElementElephantElevatorEliteElseEmbarkEmbodyEmbraceEmergeEmotionEmployEmpowerEmptyEnableEnactEndEndlessEndorseEnemyEnergyEnforceEngageEngineEnhanceEnjoyEnlistEnoughEnrichEnrollEnsureEnterEntireEntryEnvelopeEpisodeEqualEquipEraEraseErodeErosionErrorEruptEscapeEssayEssenceEstateEternalEthicsEvidenceEvilEvokeEvolveExactExampleExcessExchangeExciteExcludeExcuseExecuteExerciseExhaustExhibitExileExistExitExoticExpandExpectExpireExplainExposeExpressExtendExtraEyeEyebrowFabricFaceFacultyFadeFaintFaithFallFalseFameFamilyFamousFanFancyFantasyFarmFashionFatFatalFatherFatigueFaultFavoriteFeatureFebruaryFederalFeeFeedFeelFemaleFenceFestivalFetchFeverFewFiberFictionFieldFigureFileFilmFilterFinalFindFineFingerFinishFireFirmFirstFiscalFishFitFitnessFixFlagFlameFlashFlatFlavorFleeFlightFlipFloatFlockFloorFlowerFluidFlushFlyFoamFocusFogFoilFoldFollowFoodFootForceForestForgetForkFortuneForumForwardFossilFosterFoundFoxFragileFrameFrequentFreshFriendFringeFrogFrontFrostFrownFrozenFruitFuelFunFunnyFurnaceFuryFutureGadgetGainGalaxyGalleryGameGapGarageGarbageGardenGarlicGarmentGasGaspGateGatherGaugeGazeGeneralGeniusGenreGentleGenuineGestureGhostGiantGiftGiggleGingerGiraffeGirlGiveGladGlanceGlareGlassGlideGlimpseGlobeGloomGloryGloveGlowGlueGoatGoddessGoldGoodGooseGorillaGospelGossipGovernGownGrabGraceGrainGrantGrapeGrassGravityGreatGreenGridGriefGritGroceryGroupGrowGruntGuardGuessGuideGuiltGuitarGunGymHabitHairHalfHammerHamsterHandHappyHarborHardHarshHarvestHatHaveHawkHazardHeadHealthHeartHeavyHedgehogHeightHelloHelmetHelpHenHeroHiddenHighHillHintHipHireHistoryHobbyHockeyHoldHoleHolidayHollowHomeHoneyHoodHopeHornHorrorHorseHospitalHostHotelHourHoverHubHugeHumanHumbleHumorHundredHungryHuntHurdleHurryHurtHusbandHybridIceIconIdeaIdentifyIdleIgnoreIllIllegalIllnessImageImitateImmenseImmuneImpactImposeImproveImpulseInchIncludeIncomeIncreaseIndexIndicateIndoorIndustryInfantInflictInformInhaleInheritInitialInjectInjuryInmateInnerInnocentInputInquiryInsaneInsectInsideInspireInstallIntactInterestIntoInvestInviteInvolveIronIslandIsolateIssueItemIvoryJacketJaguarJarJazzJealousJeansJellyJewelJobJoinJokeJourneyJoyJudgeJuiceJumpJungleJuniorJunkJustKangarooKeenKeepKetchupKeyKickKidKidneyKindKingdomKissKitKitchenKiteKittenKiwiKneeKnifeKnockKnowLabLabelLaborLadderLadyLakeLampLanguageLaptopLargeLaterLatinLaughLaundryLavaLawLawnLawsuitLayerLazyLeaderLeafLearnLeaveLectureLeftLegLegalLegendLeisureLemonLendLengthLensLeopardLessonLetterLevelLiarLibertyLibraryLicenseLifeLiftLightLikeLimbLimitLinkLionLiquidListLittleLiveLizardLoadLoanLobsterLocalLockLogicLonelyLongLoopLotteryLoudLoungeLoveLoyalLuckyLuggageLumberLunarLunchLuxuryLyricsMachineMadMagicMagnetMaidMailMainMajorMakeMammalManManageMandateMangoMansionManualMapleMarbleMarchMarginMarineMarketMarriageMaskMassMasterMatchMaterialMathMatrixMatterMaximumMazeMeadowMeanMeasureMeatMechanicMedalMediaMelodyMeltMemberMemoryMentionMenuMercyMergeMeritMerryMeshMessageMetalMethodMiddleMidnightMilkMillionMimicMindMinimumMinorMinuteMiracleMirrorMiseryMissMistakeMixMixedMixtureMobileModelModifyMomMomentMonitorMonkeyMonsterMonthMoonMoralMoreMorningMosquitoMotherMotionMotorMountainMouseMoveMovieMuchMuffinMuleMultiplyMuscleMuseumMushroomMusicMustMutualMyselfMysteryMythNaiveNameNapkinNarrowNastyNationNatureNearNeckNeedNegativeNeglectNeitherNephewNerveNestNetNetworkNeutralNeverNewsNextNiceNightNobleNoiseNomineeNoodleNormalNorthNoseNotableNoteNothingNoticeNovelNowNuclearNumberNurseNutOakObeyObjectObligeObscureObserveObtainObviousOccurOceanOctoberOdorOffOfferOfficeOftenOilOkayOldOliveOlympicOmitOnceOneOnionOnlineOnlyOpenOperaOpinionOpposeOptionOrangeOrbitOrchardOrderOrdinaryOrganOrientOriginalOrphanOstrichOtherOutdoorOuterOutputOutsideOvalOvenOverOwnOwnerOxygenOysterOzonePactPaddlePagePairPalacePalmPandaPanelPanicPantherPaperParadeParentParkParrotPartyPassPatchPathPatientPatrolPatternPausePavePaymentPeacePeanutPearPeasantPelicanPenPenaltyPencilPeoplePepperPerfectPermitPersonPetPhonePhotoPhrasePhysicalPianoPicnicPicturePiecePigPigeonPillPilotPinkPioneerPipePistolPitchPizzaPlacePlanetPlasticPlatePlayPleasePledgePluckPlugPlungePoemPoetPointPolarPolePolicePondPonyPoolPopularPortionPositionPossiblePostPotatoPotteryPovertyPowderPowerPracticePraisePredictPreferPreparePresentPrettyPreventPricePridePrimaryPrintPriorityPrisonPrivatePrizeProblemProcessProduceProfitProgramProjectPromoteProofPropertyProsperProtectProudProvidePublicPuddingPullPulpPulsePumpkinPunchPupilPuppyPurchasePurityPurposePursePushPutPuzzlePyramidQualityQuantumQuarterQuestionQuickQuitQuizQuoteRabbitRaccoonRaceRackRadarRadioRailRainRaiseRallyRampRanchRandomRangeRapidRareRateRatherRavenRawRazorReadyRealReasonRebelRebuildRecallReceiveRecipeRecordRecycleReduceReflectReformRefuseRegionRegretRegularRejectRelaxReleaseReliefRelyRemainRememberRemindRemoveRenderRenewRentReopenRepairRepeatReplaceReportRequireRescueResembleResistResourceResponseResultRetireRetreatReturnReunionRevealReviewRewardRhythmRibRibbonRiceRichRideRidgeRifleRightRigidRingRiotRippleRiskRitualRivalRiverRoadRoastRobotRobustRocketRomanceRoofRookieRoomRoseRotateRoughRoundRouteRoyalRubberRudeRugRuleRunRunwayRuralSadSaddleSadnessSafeSailSaladSalmonSalonSaltSaluteSameSampleSandSatisfySatoshiSauceSausageSaveSayScaleScanScareScatterSceneSchemeSchoolScienceScissorsScorpionScoutScrapScreenScriptScrubSeaSearchSeasonSeatSecondSecretSectionSecuritySeedSeekSegmentSelectSellSeminarSeniorSenseSentenceSeriesServiceSessionSettleSetupSevenShadowShaftShallowShareShedShellSheriffShieldShiftShineShipShiverShockShoeShootShopShortShoulderShoveShrimpShrugShuffleShySiblingSickSideSiegeSightSignSilentSilkSillySilverSimilarSimpleSinceSingSirenSisterSituateSixSizeSkateSketchSkiSkillSkinSkirtSkullSlabSlamSleepSlenderSliceSlideSlightSlimSloganSlotSlowSlushSmallSmartSmileSmokeSmoothSnackSnakeSnapSniffSnowSoapSoccerSocialSockSodaSoftSolarSoldierSolidSolutionSolveSomeoneSongSoonSorrySortSoulSoundSoupSourceSouthSpaceSpareSpatialSpawnSpeakSpecialSpeedSpellSpendSphereSpiceSpiderSpikeSpinSpiritSplitSpoilSponsorSpoonSportSpotSpraySpreadSpringSpySquareSqueezeSquirrelStableStadiumStaffStageStairsStampStandStartStateStaySteakSteelStemStepStereoStickStillStingStockStomachStoneStoolStoryStoveStrategyStreetStrikeStrongStruggleStudentStuffStumbleStyleSubjectSubmitSubwaySuccessSuchSuddenSufferSugarSuggestSuitSummerSunSunnySunsetSuperSupplySupremeSureSurfaceSurgeSurpriseSurroundSurveySuspectSustainSwallowSwampSwapSwarmSwearSweetSwiftSwimSwingSwitchSwordSymbolSymptomSyrupSystemTableTackleTagTailTalentTalkTankTapeTargetTaskTasteTattooTaxiTeachTeamTellTenTenantTennisTentTermTestTextThankThatThemeThenTheoryThereTheyThingThisThoughtThreeThriveThrowThumbThunderTicketTideTigerTiltTimberTimeTinyTipTiredTissueTitleToastTobaccoTodayToddlerToeTogetherToiletTokenTomatoTomorrowToneTongueTonightToolToothTopTopicToppleTorchTornadoTortoiseTossTotalTouristTowardTowerTownToyTrackTradeTrafficTragicTrainTransferTrapTrashTravelTrayTreatTreeTrendTrialTribeTrickTriggerTrimTripTrophyTroubleTruckTrueTrulyTrumpetTrustTruthTryTubeTuitionTumbleTunaTunnelTurkeyTurnTurtleTwelveTwentyTwiceTwinTwistTwoTypeTypicalUglyUmbrellaUnableUnawareUncleUncoverUnderUndoUnfairUnfoldUnhappyUniformUniqueUnitUniverseUnknownUnlockUntilUnusualUnveilUpdateUpgradeUpholdUponUpperUpsetUrbanUrgeUsageUseUsedUsefulUselessUsualUtilityVacantVacuumVagueValidValleyValveVanVanishVaporVariousVastVaultVehicleVelvetVendorVentureVenueVerbVerifyVersionVeryVesselVeteranViableVibrantViciousVictoryVideoViewVillageVintageViolinVirtualVirusVisaVisitVisualVitalVividVocalVoiceVoidVolcanoVolumeVoteVoyageWageWagonWaitWalkWallWalnutWantWarfareWarmWarriorWashWaspWasteWaterWaveWayWealthWeaponWearWeaselWeatherWebWeddingWeekendWeirdWelcomeWestWetWhaleWhatWheatWheelWhenWhereWhipWhisperWideWidthWifeWildWillWinWindowWineWingWinkWinnerWinterWireWisdomWiseWishWitnessWolfWomanWonderWoodWoolWordWorkWorldWorryWorthWrapWreckWrestleWristWriteWrongYardYearYellowYouYoungYouthZebraZeroZoneZoo".replace(/([A-Z])/g," $1").toLowerCase().substring(1).split(" "),"0x3c8acc1e7b08d8e76f9fda015ef48dc8c710a73cb7e0f77b2c18a9b5a7adde60"!==o.Wordlist.check(e)))throw i=null,new Error("BIP39 Wordlist for en (English) FAILED")}var c=new(function(e){function t(){return e.call(this,"en")||this}return n(t,e),t.prototype.getWord=function(e){return s(this),i[e]},t.prototype.getWordIndex=function(e){return s(this),i.indexOf(e)},t}(o.Wordlist));r.langEn=c,o.Wordlist.register(c)}}},{package:"@ethersproject/hdnode>@ethersproject/wordlists",file:"node_modules/@ethersproject/wordlists/lib/lang-en.js"}],[560,{"./wordlist":566,"@ethersproject/strings":547},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var a,n=this&&this.__extends||(a=function(e,t){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},a(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.langEs=void 0;var o=e("@ethersproject/strings"),i=e("./wordlist"),s={},c=null;function u(e){return i.logger.checkNormalize(),(0,o.toUtf8String)(Array.prototype.filter.call((0,o.toUtf8Bytes)(e.normalize("NFD").toLowerCase()),(function(e){return e>=65&&e<=90||e>=97&&e<=123})))}function l(e){if(null==c&&((c="A/bacoAbdomenAbejaAbiertoAbogadoAbonoAbortoAbrazoAbrirAbueloAbusoAcabarAcademiaAccesoAccio/nAceiteAcelgaAcentoAceptarA/cidoAclararAcne/AcogerAcosoActivoActoActrizActuarAcudirAcuerdoAcusarAdictoAdmitirAdoptarAdornoAduanaAdultoAe/reoAfectarAficio/nAfinarAfirmarA/gilAgitarAgoni/aAgostoAgotarAgregarAgrioAguaAgudoA/guilaAgujaAhogoAhorroAireAislarAjedrezAjenoAjusteAlacra/nAlambreAlarmaAlbaA/lbumAlcaldeAldeaAlegreAlejarAlertaAletaAlfilerAlgaAlgodo/nAliadoAlientoAlivioAlmaAlmejaAlmi/barAltarAltezaAltivoAltoAlturaAlumnoAlzarAmableAmanteAmapolaAmargoAmasarA/mbarA/mbitoAmenoAmigoAmistadAmorAmparoAmplioAnchoAncianoAnclaAndarAnde/nAnemiaA/nguloAnilloA/nimoAni/sAnotarAntenaAntiguoAntojoAnualAnularAnuncioA~adirA~ejoA~oApagarAparatoApetitoApioAplicarApodoAporteApoyoAprenderAprobarApuestaApuroAradoAra~aArarA/rbitroA/rbolArbustoArchivoArcoArderArdillaArduoA/reaA/ridoAriesArmoni/aArne/sAromaArpaArpo/nArregloArrozArrugaArteArtistaAsaAsadoAsaltoAscensoAsegurarAseoAsesorAsientoAsiloAsistirAsnoAsombroA/speroAstillaAstroAstutoAsumirAsuntoAtajoAtaqueAtarAtentoAteoA/ticoAtletaA/tomoAtraerAtrozAtu/nAudazAudioAugeAulaAumentoAusenteAutorAvalAvanceAvaroAveAvellanaAvenaAvestruzAvio/nAvisoAyerAyudaAyunoAzafra/nAzarAzoteAzu/carAzufreAzulBabaBaborBacheBahi/aBaileBajarBalanzaBalco/nBaldeBambu/BancoBandaBa~oBarbaBarcoBarnizBarroBa/sculaBasto/nBasuraBatallaBateri/aBatirBatutaBau/lBazarBebe/BebidaBelloBesarBesoBestiaBichoBienBingoBlancoBloqueBlusaBoaBobinaBoboBocaBocinaBodaBodegaBoinaBolaBoleroBolsaBombaBondadBonitoBonoBonsa/iBordeBorrarBosqueBoteBoti/nBo/vedaBozalBravoBrazoBrechaBreveBrilloBrincoBrisaBrocaBromaBronceBroteBrujaBruscoBrutoBuceoBucleBuenoBueyBufandaBufo/nBu/hoBuitreBultoBurbujaBurlaBurroBuscarButacaBuzo/nCaballoCabezaCabinaCabraCacaoCada/verCadenaCaerCafe/Cai/daCaima/nCajaCajo/nCalCalamarCalcioCaldoCalidadCalleCalmaCalorCalvoCamaCambioCamelloCaminoCampoCa/ncerCandilCanelaCanguroCanicaCantoCa~aCa~o/nCaobaCaosCapazCapita/nCapoteCaptarCapuchaCaraCarbo/nCa/rcelCaretaCargaCari~oCarneCarpetaCarroCartaCasaCascoCaseroCaspaCastorCatorceCatreCaudalCausaCazoCebollaCederCedroCeldaCe/lebreCelosoCe/lulaCementoCenizaCentroCercaCerdoCerezaCeroCerrarCertezaCe/spedCetroChacalChalecoChampu/ChanclaChapaCharlaChicoChisteChivoChoqueChozaChuletaChuparCiclo/nCiegoCieloCienCiertoCifraCigarroCimaCincoCineCintaCipre/sCircoCiruelaCisneCitaCiudadClamorClanClaroClaseClaveClienteClimaCli/nicaCobreCoccio/nCochinoCocinaCocoCo/digoCodoCofreCogerCoheteCoji/nCojoColaColchaColegioColgarColinaCollarColmoColumnaCombateComerComidaCo/modoCompraCondeConejoCongaConocerConsejoContarCopaCopiaCorazo/nCorbataCorchoCordo/nCoronaCorrerCoserCosmosCostaCra/neoCra/terCrearCrecerCrei/doCremaCri/aCrimenCriptaCrisisCromoCro/nicaCroquetaCrudoCruzCuadroCuartoCuatroCuboCubrirCucharaCuelloCuentoCuerdaCuestaCuevaCuidarCulebraCulpaCultoCumbreCumplirCunaCunetaCuotaCupo/nCu/pulaCurarCuriosoCursoCurvaCutisDamaDanzaDarDardoDa/tilDeberDe/bilDe/cadaDecirDedoDefensaDefinirDejarDelfi/nDelgadoDelitoDemoraDensoDentalDeporteDerechoDerrotaDesayunoDeseoDesfileDesnudoDestinoDesvi/oDetalleDetenerDeudaDi/aDiabloDiademaDiamanteDianaDiarioDibujoDictarDienteDietaDiezDifi/cilDignoDilemaDiluirDineroDirectoDirigirDiscoDise~oDisfrazDivaDivinoDobleDoceDolorDomingoDonDonarDoradoDormirDorsoDosDosisDrago/nDrogaDuchaDudaDueloDue~oDulceDu/oDuqueDurarDurezaDuroE/banoEbrioEcharEcoEcuadorEdadEdicio/nEdificioEditorEducarEfectoEficazEjeEjemploElefanteElegirElementoElevarElipseE/liteElixirElogioEludirEmbudoEmitirEmocio/nEmpateEmpe~oEmpleoEmpresaEnanoEncargoEnchufeEnci/aEnemigoEneroEnfadoEnfermoEnga~oEnigmaEnlaceEnormeEnredoEnsayoEnse~arEnteroEntrarEnvaseEnvi/oE/pocaEquipoErizoEscalaEscenaEscolarEscribirEscudoEsenciaEsferaEsfuerzoEspadaEspejoEspi/aEsposaEspumaEsqui/EstarEsteEstiloEstufaEtapaEternoE/ticaEtniaEvadirEvaluarEventoEvitarExactoExamenExcesoExcusaExentoExigirExilioExistirE/xitoExpertoExplicarExponerExtremoFa/bricaFa/bulaFachadaFa/cilFactorFaenaFajaFaldaFalloFalsoFaltarFamaFamiliaFamosoFarao/nFarmaciaFarolFarsaFaseFatigaFaunaFavorFaxFebreroFechaFelizFeoFeriaFerozFe/rtilFervorFesti/nFiableFianzaFiarFibraFiccio/nFichaFideoFiebreFielFieraFiestaFiguraFijarFijoFilaFileteFilialFiltroFinFincaFingirFinitoFirmaFlacoFlautaFlechaFlorFlotaFluirFlujoFlu/orFobiaFocaFogataFogo/nFolioFolletoFondoFormaForroFortunaForzarFosaFotoFracasoFra/gilFranjaFraseFraudeFrei/rFrenoFresaFri/oFritoFrutaFuegoFuenteFuerzaFugaFumarFuncio/nFundaFurgo/nFuriaFusilFu/tbolFuturoGacelaGafasGaitaGajoGalaGaleri/aGalloGambaGanarGanchoGangaGansoGarajeGarzaGasolinaGastarGatoGavila/nGemeloGemirGenGe/neroGenioGenteGeranioGerenteGermenGestoGiganteGimnasioGirarGiroGlaciarGloboGloriaGolGolfoGolosoGolpeGomaGordoGorilaGorraGotaGoteoGozarGradaGra/ficoGranoGrasaGratisGraveGrietaGrilloGripeGrisGritoGrosorGru/aGruesoGrumoGrupoGuanteGuapoGuardiaGuerraGui/aGui~oGuionGuisoGuitarraGusanoGustarHaberHa/bilHablarHacerHachaHadaHallarHamacaHarinaHazHaza~aHebillaHebraHechoHeladoHelioHembraHerirHermanoHe/roeHervirHieloHierroHi/gadoHigieneHijoHimnoHistoriaHocicoHogarHogueraHojaHombreHongoHonorHonraHoraHormigaHornoHostilHoyoHuecoHuelgaHuertaHuesoHuevoHuidaHuirHumanoHu/medoHumildeHumoHundirHuraca/nHurtoIconoIdealIdiomaI/doloIglesiaIglu/IgualIlegalIlusio/nImagenIma/nImitarImparImperioImponerImpulsoIncapazI/ndiceInerteInfielInformeIngenioInicioInmensoInmuneInnatoInsectoInstanteIntere/sI/ntimoIntuirInu/tilInviernoIraIrisIroni/aIslaIsloteJabali/Jabo/nJamo/nJarabeJardi/nJarraJaulaJazmi/nJefeJeringaJineteJornadaJorobaJovenJoyaJuergaJuevesJuezJugadorJugoJugueteJuicioJuncoJunglaJunioJuntarJu/piterJurarJustoJuvenilJuzgarKiloKoalaLabioLacioLacraLadoLadro/nLagartoLa/grimaLagunaLaicoLamerLa/minaLa/mparaLanaLanchaLangostaLanzaLa/pizLargoLarvaLa/stimaLataLa/texLatirLaurelLavarLazoLealLeccio/nLecheLectorLeerLegio/nLegumbreLejanoLenguaLentoLe~aLeo/nLeopardoLesio/nLetalLetraLeveLeyendaLibertadLibroLicorLi/derLidiarLienzoLigaLigeroLimaLi/miteLimo/nLimpioLinceLindoLi/neaLingoteLinoLinternaLi/quidoLisoListaLiteraLitioLitroLlagaLlamaLlantoLlaveLlegarLlenarLlevarLlorarLloverLluviaLoboLocio/nLocoLocuraLo/gicaLogroLombrizLomoLonjaLoteLuchaLucirLugarLujoLunaLunesLupaLustroLutoLuzMacetaMachoMaderaMadreMaduroMaestroMafiaMagiaMagoMai/zMaldadMaletaMallaMaloMama/MamboMamutMancoMandoManejarMangaManiqui/ManjarManoMansoMantaMa~anaMapaMa/quinaMarMarcoMareaMarfilMargenMaridoMa/rmolMarro/nMartesMarzoMasaMa/scaraMasivoMatarMateriaMatizMatrizMa/ximoMayorMazorcaMechaMedallaMedioMe/dulaMejillaMejorMelenaMelo/nMemoriaMenorMensajeMenteMenu/MercadoMerengueMe/ritoMesMeso/nMetaMeterMe/todoMetroMezclaMiedoMielMiembroMigaMilMilagroMilitarMillo/nMimoMinaMineroMi/nimoMinutoMiopeMirarMisaMiseriaMisilMismoMitadMitoMochilaMocio/nModaModeloMohoMojarMoldeMolerMolinoMomentoMomiaMonarcaMonedaMonjaMontoMo~oMoradaMorderMorenoMorirMorroMorsaMortalMoscaMostrarMotivoMoverMo/vilMozoMuchoMudarMuebleMuelaMuerteMuestraMugreMujerMulaMuletaMultaMundoMu~ecaMuralMuroMu/sculoMuseoMusgoMu/sicaMusloNa/carNacio/nNadarNaipeNaranjaNarizNarrarNasalNatalNativoNaturalNa/useaNavalNaveNavidadNecioNe/ctarNegarNegocioNegroNeo/nNervioNetoNeutroNevarNeveraNichoNidoNieblaNietoNi~ezNi~oNi/tidoNivelNoblezaNocheNo/minaNoriaNormaNorteNotaNoticiaNovatoNovelaNovioNubeNucaNu/cleoNudilloNudoNueraNueveNuezNuloNu/meroNutriaOasisObesoObispoObjetoObraObreroObservarObtenerObvioOcaOcasoOce/anoOchentaOchoOcioOcreOctavoOctubreOcultoOcuparOcurrirOdiarOdioOdiseaOesteOfensaOfertaOficioOfrecerOgroOi/doOi/rOjoOlaOleadaOlfatoOlivoOllaOlmoOlorOlvidoOmbligoOndaOnzaOpacoOpcio/nO/peraOpinarOponerOptarO/pticaOpuestoOracio/nOradorOralO/rbitaOrcaOrdenOrejaO/rganoOrgi/aOrgulloOrienteOrigenOrillaOroOrquestaOrugaOsadi/aOscuroOseznoOsoOstraOto~oOtroOvejaO/vuloO/xidoOxi/genoOyenteOzonoPactoPadrePaellaPa/ginaPagoPai/sPa/jaroPalabraPalcoPaletaPa/lidoPalmaPalomaPalparPanPanalPa/nicoPanteraPa~ueloPapa/PapelPapillaPaquetePararParcelaParedParirParoPa/rpadoParquePa/rrafoPartePasarPaseoPasio/nPasoPastaPataPatioPatriaPausaPautaPavoPayasoPeato/nPecadoPeceraPechoPedalPedirPegarPeinePelarPelda~oPeleaPeligroPellejoPeloPelucaPenaPensarPe~o/nPeo/nPeorPepinoPeque~oPeraPerchaPerderPerezaPerfilPericoPerlaPermisoPerroPersonaPesaPescaPe/simoPesta~aPe/taloPetro/leoPezPezu~aPicarPicho/nPiePiedraPiernaPiezaPijamaPilarPilotoPimientaPinoPintorPinzaPi~aPiojoPipaPirataPisarPiscinaPisoPistaPito/nPizcaPlacaPlanPlataPlayaPlazaPleitoPlenoPlomoPlumaPluralPobrePocoPoderPodioPoemaPoesi/aPoetaPolenPolici/aPolloPolvoPomadaPomeloPomoPompaPonerPorcio/nPortalPosadaPoseerPosiblePostePotenciaPotroPozoPradoPrecozPreguntaPremioPrensaPresoPrevioPrimoPri/ncipePrisio/nPrivarProaProbarProcesoProductoProezaProfesorProgramaProlePromesaProntoPropioPro/ximoPruebaPu/blicoPucheroPudorPuebloPuertaPuestoPulgaPulirPulmo/nPulpoPulsoPumaPuntoPu~alPu~oPupaPupilaPure/QuedarQuejaQuemarQuererQuesoQuietoQui/micaQuinceQuitarRa/banoRabiaRaboRacio/nRadicalRai/zRamaRampaRanchoRangoRapazRa/pidoRaptoRasgoRaspaRatoRayoRazaRazo/nReaccio/nRealidadReba~oReboteRecaerRecetaRechazoRecogerRecreoRectoRecursoRedRedondoReducirReflejoReformaRefra/nRefugioRegaloRegirReglaRegresoRehe/nReinoRei/rRejaRelatoRelevoRelieveRellenoRelojRemarRemedioRemoRencorRendirRentaRepartoRepetirReposoReptilResRescateResinaRespetoRestoResumenRetiroRetornoRetratoReunirReve/sRevistaReyRezarRicoRiegoRiendaRiesgoRifaRi/gidoRigorRinco/nRi~o/nRi/oRiquezaRisaRitmoRitoRizoRobleRoceRociarRodarRodeoRodillaRoerRojizoRojoRomeroRomperRonRoncoRondaRopaRoperoRosaRoscaRostroRotarRubi/RuborRudoRuedaRugirRuidoRuinaRuletaRuloRumboRumorRupturaRutaRutinaSa/badoSaberSabioSableSacarSagazSagradoSalaSaldoSaleroSalirSalmo/nSalo/nSalsaSaltoSaludSalvarSambaSancio/nSandi/aSanearSangreSanidadSanoSantoSapoSaqueSardinaSarte/nSastreSata/nSaunaSaxofo/nSeccio/nSecoSecretoSectaSedSeguirSeisSelloSelvaSemanaSemillaSendaSensorSe~alSe~orSepararSepiaSequi/aSerSerieSermo/nServirSesentaSesio/nSetaSetentaSeveroSexoSextoSidraSiestaSieteSigloSignoSi/labaSilbarSilencioSillaSi/mboloSimioSirenaSistemaSitioSituarSobreSocioSodioSolSolapaSoldadoSoledadSo/lidoSoltarSolucio/nSombraSondeoSonidoSonoroSonrisaSopaSoplarSoporteSordoSorpresaSorteoSoste/nSo/tanoSuaveSubirSucesoSudorSuegraSueloSue~oSuerteSufrirSujetoSulta/nSumarSuperarSuplirSuponerSupremoSurSurcoSure~oSurgirSustoSutilTabacoTabiqueTablaTabu/TacoTactoTajoTalarTalcoTalentoTallaTalo/nTama~oTamborTangoTanqueTapaTapeteTapiaTapo/nTaquillaTardeTareaTarifaTarjetaTarotTarroTartaTatuajeTauroTazaTazo/nTeatroTechoTeclaTe/cnicaTejadoTejerTejidoTelaTele/fonoTemaTemorTemploTenazTenderTenerTenisTensoTeori/aTerapiaTercoTe/rminoTernuraTerrorTesisTesoroTestigoTeteraTextoTezTibioTiburo/nTiempoTiendaTierraTiesoTigreTijeraTildeTimbreTi/midoTimoTintaTi/oTi/picoTipoTiraTiro/nTita/nTi/tereTi/tuloTizaToallaTobilloTocarTocinoTodoTogaToldoTomarTonoTontoToparTopeToqueTo/raxToreroTormentaTorneoToroTorpedoTorreTorsoTortugaTosToscoToserTo/xicoTrabajoTractorTraerTra/ficoTragoTrajeTramoTranceTratoTraumaTrazarTre/bolTreguaTreintaTrenTreparTresTribuTrigoTripaTristeTriunfoTrofeoTrompaTroncoTropaTroteTrozoTrucoTruenoTrufaTuberi/aTuboTuertoTumbaTumorTu/nelTu/nicaTurbinaTurismoTurnoTutorUbicarU/lceraUmbralUnidadUnirUniversoUnoUntarU~aUrbanoUrbeUrgenteUrnaUsarUsuarioU/tilUtopi/aUvaVacaVaci/oVacunaVagarVagoVainaVajillaValeVa/lidoValleValorVa/lvulaVampiroVaraVariarVaro/nVasoVecinoVectorVehi/culoVeinteVejezVelaVeleroVelozVenaVencerVendaVenenoVengarVenirVentaVenusVerVeranoVerboVerdeVeredaVerjaVersoVerterVi/aViajeVibrarVicioVi/ctimaVidaVi/deoVidrioViejoViernesVigorVilVillaVinagreVinoVi~edoVioli/nViralVirgoVirtudVisorVi/speraVistaVitaminaViudoVivazViveroVivirVivoVolca/nVolumenVolverVorazVotarVotoVozVueloVulgarYacerYateYeguaYemaYernoYesoYodoYogaYogurZafiroZanjaZapatoZarzaZonaZorroZumoZurdo".replace(/([A-Z])/g," $1").toLowerCase().substring(1).split(" ").map((function(e){return t=e,r=[],Array.prototype.forEach.call((0,o.toUtf8Bytes)(t),(function(e){47===e?(r.push(204),r.push(129)):126===e?(r.push(110),r.push(204),r.push(131)):r.push(e)})),(0,o.toUtf8String)(r);var t,r}))).forEach((function(e,t){s[u(e)]=t})),"0xf74fb7092aeacdfbf8959557de22098da512207fb9f109cb526994938cf40300"!==i.Wordlist.check(e)))throw c=null,new Error("BIP39 Wordlist for es (Spanish) FAILED")}var d=new(function(e){function t(){return e.call(this,"es")||this}return n(t,e),t.prototype.getWord=function(e){return l(this),c[e]},t.prototype.getWordIndex=function(e){return l(this),s[u(e)]},t}(i.Wordlist));r.langEs=d,i.Wordlist.register(d)}}},{package:"@ethersproject/hdnode>@ethersproject/wordlists",file:"node_modules/@ethersproject/wordlists/lib/lang-es.js"}],[561,{"./wordlist":566,"@ethersproject/strings":547},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var a,n=this&&this.__extends||(a=function(e,t){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},a(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.langFr=void 0;var o=e("@ethersproject/strings"),i=e("./wordlist"),s=null,c={};function u(e){return i.logger.checkNormalize(),(0,o.toUtf8String)(Array.prototype.filter.call((0,o.toUtf8Bytes)(e.normalize("NFD").toLowerCase()),(function(e){return e>=65&&e<=90||e>=97&&e<=123})))}function l(e){if(null==s&&((s="AbaisserAbandonAbdiquerAbeilleAbolirAborderAboutirAboyerAbrasifAbreuverAbriterAbrogerAbruptAbsenceAbsoluAbsurdeAbusifAbyssalAcade/mieAcajouAcarienAccablerAccepterAcclamerAccoladeAccrocheAccuserAcerbeAchatAcheterAcidulerAcierAcompteAcque/rirAcronymeActeurActifActuelAdepteAde/quatAdhe/sifAdjectifAdjugerAdmettreAdmirerAdopterAdorerAdoucirAdresseAdroitAdulteAdverbeAe/rerAe/ronefAffaireAffecterAfficheAffreuxAffublerAgacerAgencerAgileAgiterAgraferAgre/ableAgrumeAiderAiguilleAilierAimableAisanceAjouterAjusterAlarmerAlchimieAlerteAlge-breAlgueAlie/nerAlimentAlle/gerAlliageAllouerAllumerAlourdirAlpagaAltesseAlve/oleAmateurAmbiguAmbreAme/nagerAmertumeAmidonAmiralAmorcerAmourAmovibleAmphibieAmpleurAmusantAnalyseAnaphoreAnarchieAnatomieAncienAne/antirAngleAngoisseAnguleuxAnimalAnnexerAnnonceAnnuelAnodinAnomalieAnonymeAnormalAntenneAntidoteAnxieuxApaiserApe/ritifAplanirApologieAppareilAppelerApporterAppuyerAquariumAqueducArbitreArbusteArdeurArdoiseArgentArlequinArmatureArmementArmoireArmureArpenterArracherArriverArroserArsenicArte/rielArticleAspectAsphalteAspirerAssautAsservirAssietteAssocierAssurerAsticotAstreAstuceAtelierAtomeAtriumAtroceAttaqueAttentifAttirerAttraperAubaineAubergeAudaceAudibleAugurerAuroreAutomneAutrucheAvalerAvancerAvariceAvenirAverseAveugleAviateurAvideAvionAviserAvoineAvouerAvrilAxialAxiomeBadgeBafouerBagageBaguetteBaignadeBalancerBalconBaleineBalisageBambinBancaireBandageBanlieueBannie-reBanquierBarbierBarilBaronBarqueBarrageBassinBastionBatailleBateauBatterieBaudrierBavarderBeletteBe/lierBeloteBe/ne/ficeBerceauBergerBerlineBermudaBesaceBesogneBe/tailBeurreBiberonBicycleBiduleBijouBilanBilingueBillardBinaireBiologieBiopsieBiotypeBiscuitBisonBistouriBitumeBizarreBlafardBlagueBlanchirBlessantBlinderBlondBloquerBlousonBobardBobineBoireBoiserBolideBonbonBondirBonheurBonifierBonusBordureBorneBotteBoucleBoueuxBougieBoulonBouquinBourseBoussoleBoutiqueBoxeurBrancheBrasierBraveBrebisBre-cheBreuvageBricolerBrigadeBrillantBriocheBriqueBrochureBroderBronzerBrousseBroyeurBrumeBrusqueBrutalBruyantBuffleBuissonBulletinBureauBurinBustierButinerButoirBuvableBuvetteCabanonCabineCachetteCadeauCadreCafe/ineCaillouCaissonCalculerCalepinCalibreCalmerCalomnieCalvaireCamaradeCame/raCamionCampagneCanalCanetonCanonCantineCanularCapableCaporalCapriceCapsuleCapterCapucheCarabineCarboneCaresserCaribouCarnageCarotteCarreauCartonCascadeCasierCasqueCassureCauserCautionCavalierCaverneCaviarCe/dilleCeintureCe/lesteCelluleCendrierCensurerCentralCercleCe/re/bralCeriseCernerCerveauCesserChagrinChaiseChaleurChambreChanceChapitreCharbonChasseurChatonChaussonChavirerChemiseChenilleChe/quierChercherChevalChienChiffreChignonChime-reChiotChlorureChocolatChoisirChoseChouetteChromeChuteCigareCigogneCimenterCine/maCintrerCirculerCirerCirqueCiterneCitoyenCitronCivilClaironClameurClaquerClasseClavierClientClignerClimatClivageClocheClonageCloporteCobaltCobraCocasseCocotierCoderCodifierCoffreCognerCohe/sionCoifferCoincerCole-reColibriCollineColmaterColonelCombatCome/dieCommandeCompactConcertConduireConfierCongelerConnoterConsonneContactConvexeCopainCopieCorailCorbeauCordageCornicheCorpusCorrectCorte-geCosmiqueCostumeCotonCoudeCoupureCourageCouteauCouvrirCoyoteCrabeCrainteCravateCrayonCre/atureCre/diterCre/meuxCreuserCrevetteCriblerCrierCristalCrite-reCroireCroquerCrotaleCrucialCruelCrypterCubiqueCueillirCuille-reCuisineCuivreCulminerCultiverCumulerCupideCuratifCurseurCyanureCycleCylindreCyniqueDaignerDamierDangerDanseurDauphinDe/battreDe/biterDe/borderDe/briderDe/butantDe/calerDe/cembreDe/chirerDe/ciderDe/clarerDe/corerDe/crireDe/cuplerDe/daleDe/ductifDe/esseDe/fensifDe/filerDe/frayerDe/gagerDe/givrerDe/glutirDe/graferDe/jeunerDe/liceDe/logerDemanderDemeurerDe/molirDe/nicherDe/nouerDentelleDe/nuderDe/partDe/penserDe/phaserDe/placerDe/poserDe/rangerDe/roberDe/sastreDescenteDe/sertDe/signerDe/sobe/irDessinerDestrierDe/tacherDe/testerDe/tourerDe/tresseDevancerDevenirDevinerDevoirDiableDialogueDiamantDicterDiffe/rerDige/rerDigitalDigneDiluerDimancheDiminuerDioxydeDirectifDirigerDiscuterDisposerDissiperDistanceDivertirDiviserDocileDocteurDogmeDoigtDomaineDomicileDompterDonateurDonjonDonnerDopamineDortoirDorureDosageDoseurDossierDotationDouanierDoubleDouceurDouterDoyenDragonDraperDresserDribblerDroitureDuperieDuplexeDurableDurcirDynastieE/blouirE/carterE/charpeE/chelleE/clairerE/clipseE/cloreE/cluseE/coleE/conomieE/corceE/couterE/craserE/cre/merE/crivainE/crouE/cumeE/cureuilE/difierE/duquerEffacerEffectifEffigieEffortEffrayerEffusionE/galiserE/garerE/jecterE/laborerE/largirE/lectronE/le/gantE/le/phantE/le-veE/ligibleE/litismeE/logeE/luciderE/luderEmballerEmbellirEmbryonE/meraudeE/missionEmmenerE/motionE/mouvoirEmpereurEmployerEmporterEmpriseE/mulsionEncadrerEnche-reEnclaveEncocheEndiguerEndosserEndroitEnduireE/nergieEnfanceEnfermerEnfouirEngagerEnginEngloberE/nigmeEnjamberEnjeuEnleverEnnemiEnnuyeuxEnrichirEnrobageEnseigneEntasserEntendreEntierEntourerEntraverE/nume/rerEnvahirEnviableEnvoyerEnzymeE/olienE/paissirE/pargneE/patantE/pauleE/picerieE/pide/mieE/pierE/pilogueE/pineE/pisodeE/pitapheE/poqueE/preuveE/prouverE/puisantE/querreE/quipeE/rigerE/rosionErreurE/ruptionEscalierEspadonEspe-ceEspie-gleEspoirEspritEsquiverEssayerEssenceEssieuEssorerEstimeEstomacEstradeE/tage-reE/talerE/tancheE/tatiqueE/teindreE/tendoirE/ternelE/thanolE/thiqueEthnieE/tirerE/tofferE/toileE/tonnantE/tourdirE/trangeE/troitE/tudeEuphorieE/valuerE/vasionE/ventailE/videnceE/viterE/volutifE/voquerExactExage/rerExaucerExcellerExcitantExclusifExcuseExe/cuterExempleExercerExhalerExhorterExigenceExilerExisterExotiqueExpe/dierExplorerExposerExprimerExquisExtensifExtraireExulterFableFabuleuxFacetteFacileFactureFaiblirFalaiseFameuxFamilleFarceurFarfeluFarineFaroucheFascinerFatalFatigueFauconFautifFaveurFavoriFe/brileFe/conderFe/de/rerFe/linFemmeFe/murFendoirFe/odalFermerFe/roceFerveurFestivalFeuilleFeutreFe/vrierFiascoFicelerFictifFide-leFigureFilatureFiletageFilie-reFilleulFilmerFilouFiltrerFinancerFinirFioleFirmeFissureFixerFlairerFlammeFlasqueFlatteurFle/auFle-cheFleurFlexionFloconFloreFluctuerFluideFluvialFolieFonderieFongibleFontaineForcerForgeronFormulerFortuneFossileFoudreFouge-reFouillerFoulureFourmiFragileFraiseFranchirFrapperFrayeurFre/gateFreinerFrelonFre/mirFre/ne/sieFre-reFriableFrictionFrissonFrivoleFroidFromageFrontalFrotterFruitFugitifFuiteFureurFurieuxFurtifFusionFuturGagnerGalaxieGalerieGambaderGarantirGardienGarnirGarrigueGazelleGazonGe/antGe/latineGe/luleGendarmeGe/ne/ralGe/nieGenouGentilGe/ologieGe/ome-treGe/raniumGermeGestuelGeyserGibierGiclerGirafeGivreGlaceGlaiveGlisserGlobeGloireGlorieuxGolfeurGommeGonflerGorgeGorilleGoudronGouffreGoulotGoupilleGourmandGoutteGraduelGraffitiGraineGrandGrappinGratuitGravirGrenatGriffureGrillerGrimperGrognerGronderGrotteGroupeGrugerGrutierGruye-reGue/pardGuerrierGuideGuimauveGuitareGustatifGymnasteGyrostatHabitudeHachoirHalteHameauHangarHannetonHaricotHarmonieHarponHasardHe/liumHe/matomeHerbeHe/rissonHermineHe/ronHe/siterHeureuxHibernerHibouHilarantHistoireHiverHomardHommageHomoge-neHonneurHonorerHonteuxHordeHorizonHorlogeHormoneHorribleHouleuxHousseHublotHuileuxHumainHumbleHumideHumourHurlerHydromelHygie-neHymneHypnoseIdylleIgnorerIguaneIlliciteIllusionImageImbiberImiterImmenseImmobileImmuableImpactImpe/rialImplorerImposerImprimerImputerIncarnerIncendieIncidentInclinerIncoloreIndexerIndiceInductifIne/ditIneptieInexactInfiniInfligerInformerInfusionInge/rerInhalerInhiberInjecterInjureInnocentInoculerInonderInscrireInsecteInsigneInsoliteInspirerInstinctInsulterIntactIntenseIntimeIntrigueIntuitifInutileInvasionInventerInviterInvoquerIroniqueIrradierIrre/elIrriterIsolerIvoireIvresseJaguarJaillirJambeJanvierJardinJaugerJauneJavelotJetableJetonJeudiJeunesseJoindreJoncherJonglerJoueurJouissifJournalJovialJoyauJoyeuxJubilerJugementJuniorJuponJuristeJusticeJuteuxJuve/nileKayakKimonoKiosqueLabelLabialLabourerLace/rerLactoseLaguneLaineLaisserLaitierLambeauLamelleLampeLanceurLangageLanterneLapinLargeurLarmeLaurierLavaboLavoirLectureLe/galLe/gerLe/gumeLessiveLettreLevierLexiqueLe/zardLiasseLibe/rerLibreLicenceLicorneLie-geLie-vreLigatureLigoterLigueLimerLimiteLimonadeLimpideLine/aireLingotLionceauLiquideLisie-reListerLithiumLitigeLittoralLivreurLogiqueLointainLoisirLombricLoterieLouerLourdLoutreLouveLoyalLubieLucideLucratifLueurLugubreLuisantLumie-reLunaireLundiLuronLutterLuxueuxMachineMagasinMagentaMagiqueMaigreMaillonMaintienMairieMaisonMajorerMalaxerMale/ficeMalheurMaliceMalletteMammouthMandaterManiableManquantManteauManuelMarathonMarbreMarchandMardiMaritimeMarqueurMarronMartelerMascotteMassifMate/rielMatie-reMatraqueMaudireMaussadeMauveMaximalMe/chantMe/connuMe/dailleMe/decinMe/diterMe/duseMeilleurMe/langeMe/lodieMembreMe/moireMenacerMenerMenhirMensongeMentorMercrediMe/riteMerleMessagerMesureMe/talMe/te/oreMe/thodeMe/tierMeubleMiaulerMicrobeMietteMignonMigrerMilieuMillionMimiqueMinceMine/ralMinimalMinorerMinuteMiracleMiroiterMissileMixteMobileModerneMoelleuxMondialMoniteurMonnaieMonotoneMonstreMontagneMonumentMoqueurMorceauMorsureMortierMoteurMotifMoucheMoufleMoulinMoussonMoutonMouvantMultipleMunitionMurailleMure-neMurmureMuscleMuse/umMusicienMutationMuterMutuelMyriadeMyrtilleMyste-reMythiqueNageurNappeNarquoisNarrerNatationNationNatureNaufrageNautiqueNavireNe/buleuxNectarNe/fasteNe/gationNe/gligerNe/gocierNeigeNerveuxNettoyerNeuroneNeutronNeveuNicheNickelNitrateNiveauNobleNocifNocturneNoirceurNoisetteNomadeNombreuxNommerNormatifNotableNotifierNotoireNourrirNouveauNovateurNovembreNoviceNuageNuancerNuireNuisibleNume/roNuptialNuqueNutritifObe/irObjectifObligerObscurObserverObstacleObtenirObturerOccasionOccuperOce/anOctobreOctroyerOctuplerOculaireOdeurOdorantOffenserOfficierOffrirOgiveOiseauOisillonOlfactifOlivierOmbrageOmettreOnctueuxOndulerOne/reuxOniriqueOpaleOpaqueOpe/rerOpinionOpportunOpprimerOpterOptiqueOrageuxOrangeOrbiteOrdonnerOreilleOrganeOrgueilOrificeOrnementOrqueOrtieOscillerOsmoseOssatureOtarieOuraganOursonOutilOutragerOuvrageOvationOxydeOxyge-neOzonePaisiblePalacePalmare-sPalourdePalperPanachePandaPangolinPaniquerPanneauPanoramaPantalonPapayePapierPapoterPapyrusParadoxeParcelleParesseParfumerParlerParoleParrainParsemerPartagerParureParvenirPassionPaste-quePaternelPatiencePatronPavillonPavoiserPayerPaysagePeignePeintrePelagePe/licanPellePelousePeluchePendulePe/ne/trerPe/niblePensifPe/nuriePe/pitePe/plumPerdrixPerforerPe/riodePermuterPerplexePersilPertePeserPe/talePetitPe/trirPeuplePharaonPhobiePhoquePhotonPhrasePhysiquePianoPicturalPie-cePierrePieuvrePilotePinceauPipettePiquerPiroguePiscinePistonPivoterPixelPizzaPlacardPlafondPlaisirPlanerPlaquePlastronPlateauPleurerPlexusPliagePlombPlongerPluiePlumagePochettePoe/siePoe-tePointePoirierPoissonPoivrePolairePolicierPollenPolygonePommadePompierPonctuelPonde/rerPoneyPortiquePositionPosse/derPosturePotagerPoteauPotionPoucePoulainPoumonPourprePoussinPouvoirPrairiePratiquePre/cieuxPre/direPre/fixePre/ludePre/nomPre/sencePre/textePre/voirPrimitifPrincePrisonPriverProble-meProce/derProdigeProfondProgre-sProieProjeterProloguePromenerPropreProspe-reProte/gerProuesseProverbePrudencePruneauPsychosePublicPuceronPuiserPulpePulsarPunaisePunitifPupitrePurifierPuzzlePyramideQuasarQuerelleQuestionQuie/tudeQuitterQuotientRacineRaconterRadieuxRagondinRaideurRaisinRalentirRallongeRamasserRapideRasageRatisserRavagerRavinRayonnerRe/actifRe/agirRe/aliserRe/animerRecevoirRe/citerRe/clamerRe/colterRecruterReculerRecyclerRe/digerRedouterRefaireRe/flexeRe/formerRefrainRefugeRe/galienRe/gionRe/glageRe/gulierRe/ite/rerRejeterRejouerRelatifReleverReliefRemarqueReme-deRemiseRemonterRemplirRemuerRenardRenfortReniflerRenoncerRentrerRenvoiReplierReporterRepriseReptileRequinRe/serveRe/sineuxRe/soudreRespectResterRe/sultatRe/tablirRetenirRe/ticuleRetomberRetracerRe/unionRe/ussirRevancheRevivreRe/volteRe/vulsifRichesseRideauRieurRigideRigolerRincerRiposterRisibleRisqueRituelRivalRivie-reRocheuxRomanceRompreRonceRondinRoseauRosierRotatifRotorRotuleRougeRouilleRouleauRoutineRoyaumeRubanRubisRucheRuelleRugueuxRuinerRuisseauRuserRustiqueRythmeSablerSaboterSabreSacocheSafariSagesseSaisirSaladeSaliveSalonSaluerSamediSanctionSanglierSarcasmeSardineSaturerSaugrenuSaumonSauterSauvageSavantSavonnerScalpelScandaleSce/le/ratSce/narioSceptreSche/maScienceScinderScoreScrutinSculpterSe/anceSe/cableSe/cherSecouerSe/cre/terSe/datifSe/duireSeigneurSe/jourSe/lectifSemaineSemblerSemenceSe/minalSe/nateurSensibleSentenceSe/parerSe/quenceSereinSergentSe/rieuxSerrureSe/rumServiceSe/sameSe/virSevrageSextupleSide/ralSie-cleSie/gerSifflerSigleSignalSilenceSiliciumSimpleSince-reSinistreSiphonSiropSismiqueSituerSkierSocialSocleSodiumSoigneuxSoldatSoleilSolitudeSolubleSombreSommeilSomnolerSondeSongeurSonnetteSonoreSorcierSortirSosieSottiseSoucieuxSoudureSouffleSouleverSoupapeSourceSoutirerSouvenirSpacieuxSpatialSpe/cialSphe-reSpiralStableStationSternumStimulusStipulerStrictStudieuxStupeurStylisteSublimeSubstratSubtilSubvenirSucce-sSucreSuffixeSugge/rerSuiveurSulfateSuperbeSupplierSurfaceSuricateSurmenerSurpriseSursautSurvieSuspectSyllabeSymboleSyme/trieSynapseSyntaxeSyste-meTabacTablierTactileTaillerTalentTalismanTalonnerTambourTamiserTangibleTapisTaquinerTarderTarifTartineTasseTatamiTatouageTaupeTaureauTaxerTe/moinTemporelTenailleTendreTeneurTenirTensionTerminerTerneTerribleTe/tineTexteThe-meThe/orieThe/rapieThoraxTibiaTie-deTimideTirelireTiroirTissuTitaneTitreTituberTobogganTole/rantTomateToniqueTonneauToponymeTorcheTordreTornadeTorpilleTorrentTorseTortueTotemToucherTournageTousserToxineTractionTraficTragiqueTrahirTrainTrancherTravailTre-fleTremperTre/sorTreuilTriageTribunalTricoterTrilogieTriompheTriplerTriturerTrivialTromboneTroncTropicalTroupeauTuileTulipeTumulteTunnelTurbineTuteurTutoyerTuyauTympanTyphonTypiqueTyranUbuesqueUltimeUltrasonUnanimeUnifierUnionUniqueUnitaireUniversUraniumUrbainUrticantUsageUsineUsuelUsureUtileUtopieVacarmeVaccinVagabondVagueVaillantVaincreVaisseauValableValiseVallonValveVampireVanilleVapeurVarierVaseuxVassalVasteVecteurVedetteVe/ge/talVe/hiculeVeinardVe/loceVendrediVe/ne/rerVengerVenimeuxVentouseVerdureVe/rinVernirVerrouVerserVertuVestonVe/te/ranVe/tusteVexantVexerViaducViandeVictoireVidangeVide/oVignetteVigueurVilainVillageVinaigreViolonVipe-reVirementVirtuoseVirusVisageViseurVisionVisqueuxVisuelVitalVitesseViticoleVitrineVivaceVivipareVocationVoguerVoileVoisinVoitureVolailleVolcanVoltigerVolumeVoraceVortexVoterVouloirVoyageVoyelleWagonXe/nonYachtZe-breZe/nithZesteZoologie".replace(/([A-Z])/g," $1").toLowerCase().substring(1).split(" ").map((function(e){return t=e,r=[],Array.prototype.forEach.call((0,o.toUtf8Bytes)(t),(function(e){47===e?(r.push(204),r.push(129)):45===e?(r.push(204),r.push(128)):r.push(e)})),(0,o.toUtf8String)(r);var t,r}))).forEach((function(e,t){c[u(e)]=t})),"0x51deb7ae009149dc61a6bd18a918eb7ac78d2775726c68e598b92d002519b045"!==i.Wordlist.check(e)))throw s=null,new Error("BIP39 Wordlist for fr (French) FAILED")}var d=new(function(e){function t(){return e.call(this,"fr")||this}return n(t,e),t.prototype.getWord=function(e){return l(this),s[e]},t.prototype.getWordIndex=function(e){return l(this),c[u(e)]},t}(i.Wordlist));r.langFr=d,i.Wordlist.register(d)}}},{package:"@ethersproject/hdnode>@ethersproject/wordlists",file:"node_modules/@ethersproject/wordlists/lib/lang-fr.js"}],[562,{"./wordlist":566},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var a,n=this&&this.__extends||(a=function(e,t){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},a(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.langIt=void 0;var o=e("./wordlist"),i=null;function s(e){if(null==i&&(i="AbacoAbbaglioAbbinatoAbeteAbissoAbolireAbrasivoAbrogatoAccadereAccennoAccusatoAcetoneAchilleAcidoAcquaAcreAcrilicoAcrobataAcutoAdagioAddebitoAddomeAdeguatoAderireAdipeAdottareAdulareAffabileAffettoAffissoAffrantoAforismaAfosoAfricanoAgaveAgenteAgevoleAggancioAgireAgitareAgonismoAgricoloAgrumetoAguzzoAlabardaAlatoAlbatroAlberatoAlboAlbumeAlceAlcolicoAlettoneAlfaAlgebraAlianteAlibiAlimentoAllagatoAllegroAllievoAllodolaAllusivoAlmenoAlogenoAlpacaAlpestreAltalenaAlternoAlticcioAltroveAlunnoAlveoloAlzareAmalgamaAmanitaAmarenaAmbitoAmbratoAmebaAmericaAmetistaAmicoAmmassoAmmendaAmmirareAmmonitoAmoreAmpioAmpliareAmuletoAnacardoAnagrafeAnalistaAnarchiaAnatraAncaAncellaAncoraAndareAndreaAnelloAngeloAngolareAngustoAnimaAnnegareAnnidatoAnnoAnnuncioAnonimoAnticipoAnziApaticoAperturaApodeApparireAppetitoAppoggioApprodoAppuntoAprileArabicaArachideAragostaAraldicaArancioAraturaArazzoArbitroArchivioArditoArenileArgentoArgineArgutoAriaArmoniaArneseArredatoArringaArrostoArsenicoArsoArteficeArzilloAsciuttoAscoltoAsepsiAsetticoAsfaltoAsinoAsolaAspiratoAsproAssaggioAsseAssolutoAssurdoAstaAstenutoAsticeAstrattoAtavicoAteismoAtomicoAtonoAttesaAttivareAttornoAttritoAttualeAusilioAustriaAutistaAutonomoAutunnoAvanzatoAvereAvvenireAvvisoAvvolgereAzioneAzotoAzzimoAzzurroBabeleBaccanoBacinoBacoBadessaBadilataBagnatoBaitaBalconeBaldoBalenaBallataBalzanoBambinoBandireBaraondaBarbaroBarcaBaritonoBarlumeBaroccoBasilicoBassoBatostaBattutoBauleBavaBavosaBeccoBeffaBelgioBelvaBendaBenevoleBenignoBenzinaBereBerlinaBetaBibitaBiciBidoneBifidoBigaBilanciaBimboBinocoloBiologoBipedeBipolareBirbanteBirraBiscottoBisestoBisnonnoBisonteBisturiBizzarroBlandoBlattaBollitoBonificoBordoBoscoBotanicoBottinoBozzoloBraccioBradipoBramaBrancaBravuraBretellaBrevettoBrezzaBrigliaBrillanteBrindareBroccoloBrodoBronzinaBrulloBrunoBubboneBucaBudinoBuffoneBuioBulboBuonoBurloneBurrascaBussolaBustaCadettoCaducoCalamaroCalcoloCalesseCalibroCalmoCaloriaCambusaCamerataCamiciaCamminoCamolaCampaleCanapaCandelaCaneCaninoCanottoCantinaCapaceCapelloCapitoloCapogiroCapperoCapraCapsulaCarapaceCarcassaCardoCarismaCarovanaCarrettoCartolinaCasaccioCascataCasermaCasoCassoneCastelloCasualeCatastaCatenaCatrameCautoCavilloCedibileCedrataCefaloCelebreCellulareCenaCenoneCentesimoCeramicaCercareCertoCerumeCervelloCesoiaCespoCetoChelaChiaroChiccaChiedereChimeraChinaChirurgoChitarraCiaoCiclismoCifrareCignoCilindroCiottoloCircaCirrosiCitricoCittadinoCiuffoCivettaCivileClassicoClinicaCloroCoccoCodardoCodiceCoerenteCognomeCollareColmatoColoreColposoColtivatoColzaComaCometaCommandoComodoComputerComuneConcisoCondurreConfermaCongelareConiugeConnessoConoscereConsumoContinuoConvegnoCopertoCopioneCoppiaCopricapoCorazzaCordataCoricatoCorniceCorollaCorpoCorredoCorsiaCorteseCosmicoCostanteCotturaCovatoCratereCravattaCreatoCredereCremosoCrescitaCretaCricetoCrinaleCrisiCriticoCroceCronacaCrostataCrucialeCruscaCucireCuculoCuginoCullatoCupolaCuratoreCursoreCurvoCuscinoCustodeDadoDainoDalmataDamerinoDanielaDannosoDanzareDatatoDavantiDavveroDebuttoDecennioDecisoDeclinoDecolloDecretoDedicatoDefinitoDeformeDegnoDelegareDelfinoDelirioDeltaDemenzaDenotatoDentroDepositoDerapataDerivareDerogaDescrittoDesertoDesiderioDesumereDetersivoDevotoDiametroDicembreDiedroDifesoDiffusoDigerireDigitaleDiluvioDinamicoDinnanziDipintoDiplomaDipoloDiradareDireDirottoDirupoDisagioDiscretoDisfareDisgeloDispostoDistanzaDisumanoDitoDivanoDiveltoDividereDivoratoDobloneDocenteDoganaleDogmaDolceDomatoDomenicaDominareDondoloDonoDormireDoteDottoreDovutoDozzinaDragoDruidoDubbioDubitareDucaleDunaDuomoDupliceDuraturoEbanoEccessoEccoEclissiEconomiaEderaEdicolaEdileEditoriaEducareEgemoniaEgliEgoismoEgregioElaboratoElargireEleganteElencatoElettoElevareElficoElicaElmoElsaElusoEmanatoEmblemaEmessoEmiroEmotivoEmozioneEmpiricoEmuloEndemicoEnduroEnergiaEnfasiEnotecaEntrareEnzimaEpatiteEpilogoEpisodioEpocaleEppureEquatoreErarioErbaErbosoEredeEremitaErigereErmeticoEroeErosivoErranteEsagonoEsameEsanimeEsaudireEscaEsempioEsercitoEsibitoEsigenteEsistereEsitoEsofagoEsortatoEsosoEspansoEspressoEssenzaEssoEstesoEstimareEstoniaEstrosoEsultareEtilicoEtnicoEtruscoEttoEuclideoEuropaEvasoEvidenzaEvitatoEvolutoEvvivaFabbricaFaccendaFachiroFalcoFamigliaFanaleFanfaraFangoFantasmaFareFarfallaFarinosoFarmacoFasciaFastosoFasulloFaticareFatoFavolosoFebbreFecolaFedeFegatoFelpaFeltroFemminaFendereFenomenoFermentoFerroFertileFessuraFestivoFettaFeudoFiabaFiduciaFifaFiguratoFiloFinanzaFinestraFinireFioreFiscaleFisicoFiumeFlaconeFlamencoFleboFlemmaFloridoFluenteFluoroFobicoFocacciaFocosoFoderatoFoglioFolataFolcloreFolgoreFondenteFoneticoFoniaFontanaForbitoForchettaForestaFormicaFornaioForoFortezzaForzareFosfatoFossoFracassoFranaFrassinoFratelloFreccettaFrenataFrescoFrigoFrollinoFrondeFrugaleFruttaFucilataFucsiaFuggenteFulmineFulvoFumanteFumettoFumosoFuneFunzioneFuocoFurboFurgoneFuroreFusoFutileGabbianoGaffeGalateoGallinaGaloppoGamberoGammaGaranziaGarboGarofanoGarzoneGasdottoGasolioGastricoGattoGaudioGazeboGazzellaGecoGelatinaGelsoGemelloGemmatoGeneGenitoreGennaioGenotipoGergoGhepardoGhiaccioGhisaGialloGildaGineproGiocareGioielloGiornoGioveGiratoGironeGittataGiudizioGiuratoGiustoGlobuloGlutineGnomoGobbaGolfGomitoGommoneGonfioGonnaGovernoGracileGradoGraficoGrammoGrandeGrattareGravosoGraziaGrecaGreggeGrifoneGrigioGrinzaGrottaGruppoGuadagnoGuaioGuantoGuardareGufoGuidareIbernatoIconaIdenticoIdillioIdoloIdraIdricoIdrogenoIgieneIgnaroIgnoratoIlareIllesoIllogicoIlludereImballoImbevutoImboccoImbutoImmaneImmersoImmolatoImpaccoImpetoImpiegoImportoImprontaInalareInarcareInattivoIncantoIncendioInchinoIncisivoInclusoIncontroIncrocioIncuboIndagineIndiaIndoleIneditoInfattiInfilareInflittoIngaggioIngegnoIngleseIngordoIngrossoInnescoInodoreInoltrareInondatoInsanoInsettoInsiemeInsonniaInsulinaIntasatoInteroIntonacoIntuitoInumidireInvalidoInveceInvitoIperboleIpnoticoIpotesiIppicaIrideIrlandaIronicoIrrigatoIrrorareIsolatoIsotopoIstericoIstitutoIstriceItaliaIterareLabbroLabirintoLaccaLaceratoLacrimaLacunaLaddoveLagoLampoLancettaLanternaLardosoLargaLaringeLastraLatenzaLatinoLattugaLavagnaLavoroLegaleLeggeroLemboLentezzaLenzaLeoneLepreLesivoLessatoLestoLetteraleLevaLevigatoLiberoLidoLievitoLillaLimaturaLimitareLimpidoLineareLinguaLiquidoLiraLiricaLiscaLiteLitigioLivreaLocandaLodeLogicaLombareLondraLongevoLoquaceLorenzoLotoLotteriaLuceLucidatoLumacaLuminosoLungoLupoLuppoloLusingaLussoLuttoMacabroMacchinaMaceroMacinatoMadamaMagicoMagliaMagneteMagroMaiolicaMalafedeMalgradoMalintesoMalsanoMaltoMalumoreManaManciaMandorlaMangiareManifestoMannaroManovraMansardaMantideManubrioMappaMaratonaMarcireMarettaMarmoMarsupioMascheraMassaiaMastinoMaterassoMatricolaMattoneMaturoMazurcaMeandroMeccanicoMecenateMedesimoMeditareMegaMelassaMelisMelodiaMeningeMenoMensolaMercurioMerendaMerloMeschinoMeseMessereMestoloMetalloMetodoMettereMiagolareMicaMicelioMicheleMicroboMidolloMieleMiglioreMilanoMiliteMimosaMineraleMiniMinoreMirinoMirtilloMiscelaMissivaMistoMisurareMitezzaMitigareMitraMittenteMnemonicoModelloModificaModuloMoganoMogioMoleMolossoMonasteroMoncoMondinaMonetarioMonileMonotonoMonsoneMontatoMonvisoMoraMordereMorsicatoMostroMotivatoMotosegaMottoMovenzaMovimentoMozzoMuccaMucosaMuffaMughettoMugnaioMulattoMulinelloMultiploMummiaMuntoMuovereMuraleMusaMuscoloMusicaMutevoleMutoNababboNaftaNanometroNarcisoNariceNarratoNascereNastrareNaturaleNauticaNaviglioNebulosaNecrosiNegativoNegozioNemmenoNeofitaNerettoNervoNessunoNettunoNeutraleNeveNevroticoNicchiaNinfaNitidoNobileNocivoNodoNomeNominaNordicoNormaleNorvegeseNostranoNotareNotiziaNotturnoNovellaNucleoNullaNumeroNuovoNutrireNuvolaNuzialeOasiObbedireObbligoObeliscoOblioOboloObsoletoOccasioneOcchioOccidenteOccorrereOccultareOcraOculatoOdiernoOdorareOffertaOffrireOffuscatoOggettoOggiOgnunoOlandeseOlfattoOliatoOlivaOlogrammaOltreOmaggioOmbelicoOmbraOmegaOmissioneOndosoOnereOniceOnnivoroOnorevoleOntaOperatoOpinioneOppostoOracoloOrafoOrdineOrecchinoOreficeOrfanoOrganicoOrigineOrizzonteOrmaOrmeggioOrnativoOrologioOrrendoOrribileOrtensiaOrticaOrzataOrzoOsareOscurareOsmosiOspedaleOspiteOssaOssidareOstacoloOsteOtiteOtreOttagonoOttimoOttobreOvaleOvestOvinoOviparoOvocitoOvunqueOvviareOzioPacchettoPacePacificoPadellaPadronePaesePagaPaginaPalazzinaPalesarePallidoPaloPaludePandoroPannelloPaoloPaonazzoPapricaParabolaParcellaParerePargoloPariParlatoParolaPartireParvenzaParzialePassivoPasticcaPataccaPatologiaPattumePavonePeccatoPedalarePedonalePeggioPelosoPenarePendicePenisolaPennutoPenombraPensarePentolaPepePepitaPerbenePercorsoPerdonatoPerforarePergamenaPeriodoPermessoPernoPerplessoPersuasoPertugioPervasoPesatorePesistaPesoPestiferoPetaloPettinePetulantePezzoPiacerePiantaPiattinoPiccinoPicozzaPiegaPietraPifferoPigiamaPigolioPigroPilaPiliferoPillolaPilotaPimpantePinetaPinnaPinoloPioggiaPiomboPiramidePireticoPiritePirolisiPitonePizzicoPlaceboPlanarePlasmaPlatanoPlenarioPochezzaPoderosoPodismoPoesiaPoggiarePolentaPoligonoPollicePolmonitePolpettaPolsoPoltronaPolverePomicePomodoroPontePopolosoPorfidoPorosoPorporaPorrePortataPosaPositivoPossessoPostulatoPotassioPoterePranzoPrassiPraticaPreclusoPredicaPrefissoPregiatoPrelievoPremerePrenotarePreparatoPresenzaPretestoPrevalsoPrimaPrincipePrivatoProblemaProcuraProdurreProfumoProgettoProlungaPromessaPronomePropostaProrogaProtesoProvaPrudentePrugnaPruritoPsichePubblicoPudicaPugilatoPugnoPulcePulitoPulsantePuntarePupazzoPupillaPuroQuadroQualcosaQuasiQuerelaQuotaRaccoltoRaddoppioRadicaleRadunatoRafficaRagazzoRagioneRagnoRamarroRamingoRamoRandagioRantolareRapatoRapinaRappresoRasaturaRaschiatoRasenteRassegnaRastrelloRataRavvedutoRealeRecepireRecintoReclutaReconditoRecuperoRedditoRedimereRegalatoRegistroRegolaRegressoRelazioneRemareRemotoRennaReplicaReprimereReputareResaResidenteResponsoRestauroReteRetinaRetoricaRettificaRevocatoRiassuntoRibadireRibelleRibrezzoRicaricaRiccoRicevereRiciclatoRicordoRicredutoRidicoloRidurreRifasareRiflessoRiformaRifugioRigareRigettatoRighelloRilassatoRilevatoRimanereRimbalzoRimedioRimorchioRinascitaRincaroRinforzoRinnovoRinomatoRinsavitoRintoccoRinunciaRinvenireRiparatoRipetutoRipienoRiportareRipresaRipulireRisataRischioRiservaRisibileRisoRispettoRistoroRisultatoRisvoltoRitardoRitegnoRitmicoRitrovoRiunioneRivaRiversoRivincitaRivoltoRizomaRobaRoboticoRobustoRocciaRocoRodaggioRodereRoditoreRogitoRollioRomanticoRompereRonzioRosolareRospoRotanteRotondoRotulaRovescioRubizzoRubricaRugaRullinoRumineRumorosoRuoloRupeRussareRusticoSabatoSabbiareSabotatoSagomaSalassoSaldaturaSalgemmaSalivareSalmoneSaloneSaltareSalutoSalvoSapereSapidoSaporitoSaracenoSarcasmoSartoSassosoSatelliteSatiraSatolloSaturnoSavanaSavioSaziatoSbadiglioSbalzoSbancatoSbarraSbattereSbavareSbendareSbirciareSbloccatoSbocciatoSbrinareSbruffoneSbuffareScabrosoScadenzaScalaScambiareScandaloScapolaScarsoScatenareScavatoSceltoScenicoScettroSchedaSchienaSciarpaScienzaScindereScippoSciroppoScivoloSclerareScodellaScolpitoScompartoSconfortoScoprireScortaScossoneScozzeseScribaScrollareScrutinioScuderiaScultoreScuolaScuroScusareSdebitareSdoganareSeccaturaSecondoSedanoSeggiolaSegnalatoSegregatoSeguitoSelciatoSelettivoSellaSelvaggioSemaforoSembrareSemeSeminatoSempreSensoSentireSepoltoSequenzaSerataSerbatoSerenoSerioSerpenteSerraglioServireSestinaSetolaSettimanaSfaceloSfaldareSfamatoSfarzosoSfaticatoSferaSfidaSfilatoSfingeSfocatoSfoderareSfogoSfoltireSforzatoSfrattoSfruttatoSfuggitoSfumareSfusoSgabelloSgarbatoSgonfiareSgorbioSgrassatoSguardoSibiloSiccomeSierraSiglaSignoreSilenzioSillabaSimboloSimpaticoSimulatoSinfoniaSingoloSinistroSinoSintesiSinusoideSiparioSismaSistoleSituatoSlittaSlogaturaSlovenoSmarritoSmemoratoSmentitoSmeraldoSmilzoSmontareSmottatoSmussatoSnellireSnervatoSnodoSobbalzoSobrioSoccorsoSocialeSodaleSoffittoSognoSoldatoSolenneSolidoSollazzoSoloSolubileSolventeSomaticoSommaSondaSonettoSonniferoSopireSoppesoSopraSorgereSorpassoSorrisoSorsoSorteggioSorvolatoSospiroSostaSottileSpadaSpallaSpargereSpatolaSpaventoSpazzolaSpecieSpedireSpegnereSpelaturaSperanzaSpessoreSpettraleSpezzatoSpiaSpigolosoSpillatoSpinosoSpiraleSplendidoSportivoSposoSprangaSprecareSpronatoSpruzzoSpuntinoSquilloSradicareSrotolatoStabileStaccoStaffaStagnareStampatoStantioStarnutoStaseraStatutoSteloSteppaSterzoStilettoStimaStirpeStivaleStizzosoStonatoStoricoStrappoStregatoStriduloStrozzareStruttoStuccareStufoStupendoSubentroSuccosoSudoreSuggeritoSugoSultanoSuonareSuperboSupportoSurgelatoSurrogatoSussurroSuturaSvagareSvedeseSveglioSvelareSvenutoSveziaSviluppoSvistaSvizzeraSvoltaSvuotareTabaccoTabulatoTacciareTaciturnoTaleTalismanoTamponeTanninoTaraTardivoTargatoTariffaTarpareTartarugaTastoTatticoTavernaTavolataTazzaTecaTecnicoTelefonoTemerarioTempoTemutoTendoneTeneroTensioneTentacoloTeoremaTermeTerrazzoTerzettoTesiTesseratoTestatoTetroTettoiaTifareTigellaTimbroTintoTipicoTipografoTiraggioTiroTitanioTitoloTitubanteTizioTizzoneToccareTollerareToltoTombolaTomoTonfoTonsillaTopazioTopologiaToppaTorbaTornareTorroneTortoraToscanoTossireTostaturaTotanoTraboccoTracheaTrafilaTragediaTralcioTramontoTransitoTrapanoTrarreTraslocoTrattatoTraveTrecciaTremolioTrespoloTributoTrichecoTrifoglioTrilloTrinceaTrioTristezzaTrituratoTrivellaTrombaTronoTroppoTrottolaTrovareTruccatoTubaturaTuffatoTulipanoTumultoTunisiaTurbareTurchinoTutaTutelaUbicatoUccelloUccisoreUdireUditivoUffaUfficioUgualeUlisseUltimatoUmanoUmileUmorismoUncinettoUngereUnghereseUnicornoUnificatoUnisonoUnitarioUnteUovoUpupaUraganoUrgenzaUrloUsanzaUsatoUscitoUsignoloUsuraioUtensileUtilizzoUtopiaVacanteVaccinatoVagabondoVagliatoValangaValgoValicoVallettaValorosoValutareValvolaVampataVangareVanitosoVanoVantaggioVanveraVaporeVaranoVarcatoVarianteVascaVedettaVedovaVedutoVegetaleVeicoloVelcroVelinaVellutoVeloceVenatoVendemmiaVentoVeraceVerbaleVergognaVerificaVeroVerrucaVerticaleVescicaVessilloVestaleVeteranoVetrinaVetustoViandanteVibranteVicendaVichingoVicinanzaVidimareVigiliaVignetoVigoreVileVillanoViminiVincitoreViolaViperaVirgolaVirologoVirulentoViscosoVisioneVispoVissutoVisuraVitaVitelloVittimaVivandaVividoViziareVoceVogaVolatileVolereVolpeVoragineVulcanoZampognaZannaZappatoZatteraZavorraZefiroZelanteZeloZenzeroZerbinoZibettoZincoZirconeZittoZollaZoticoZuccheroZufoloZuluZuppa".replace(/([A-Z])/g," $1").toLowerCase().substring(1).split(" "),"0x5c1362d88fd4cf614a96f3234941d29f7d37c08c5292fde03bf62c2db6ff7620"!==o.Wordlist.check(e)))throw i=null,new Error("BIP39 Wordlist for it (Italian) FAILED")}var c=new(function(e){function t(){return e.call(this,"it")||this}return n(t,e),t.prototype.getWord=function(e){return s(this),i[e]},t.prototype.getWordIndex=function(e){return s(this),i.indexOf(e)},t}(o.Wordlist));r.langIt=c,o.Wordlist.register(c)}}},{package:"@ethersproject/hdnode>@ethersproject/wordlists",file:"node_modules/@ethersproject/wordlists/lib/lang-it.js"}],[563,{"./wordlist":566,"@ethersproject/bytes":476,"@ethersproject/strings":547},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var a,n=this&&this.__extends||(a=function(e,t){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},a(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.langJa=void 0;var o=e("@ethersproject/bytes"),i=e("@ethersproject/strings"),s=e("./wordlist"),c=["AQRASRAGBAGUAIRAHBAghAURAdBAdcAnoAMEAFBAFCBKFBQRBSFBCXBCDBCHBGFBEQBpBBpQBIkBHNBeOBgFBVCBhBBhNBmOBmRBiHBiFBUFBZDBvFBsXBkFBlcBjYBwDBMBBTBBTRBWBBWXXaQXaRXQWXSRXCFXYBXpHXOQXHRXhRXuRXmXXbRXlXXwDXTRXrCXWQXWGaBWaKcaYgasFadQalmaMBacAKaRKKBKKXKKjKQRKDRKCYKCRKIDKeVKHcKlXKjHKrYNAHNBWNaRNKcNIBNIONmXNsXNdXNnBNMBNRBNrXNWDNWMNFOQABQAHQBrQXBQXFQaRQKXQKDQKOQKFQNBQNDQQgQCXQCDQGBQGDQGdQYXQpBQpQQpHQLXQHuQgBQhBQhCQuFQmXQiDQUFQZDQsFQdRQkHQbRQlOQlmQPDQjDQwXQMBQMDQcFQTBQTHQrDDXQDNFDGBDGQDGRDpFDhFDmXDZXDbRDMYDRdDTRDrXSAhSBCSBrSGQSEQSHBSVRShYShkSyQSuFSiBSdcSoESocSlmSMBSFBSFKSFNSFdSFcCByCaRCKcCSBCSRCCrCGbCEHCYXCpBCpQCIBCIHCeNCgBCgFCVECVcCmkCmwCZXCZFCdRClOClmClFCjDCjdCnXCwBCwXCcRCFQCFjGXhGNhGDEGDMGCDGCHGIFGgBGVXGVEGVRGmXGsXGdYGoSGbRGnXGwXGwDGWRGFNGFLGFOGFdGFkEABEBDEBFEXOEaBEKSENBENDEYXEIgEIkEgBEgQEgHEhFEudEuFEiBEiHEiFEZDEvBEsXEsFEdXEdREkFEbBEbRElFEPCEfkEFNYAEYAhYBNYQdYDXYSRYCEYYoYgQYgRYuRYmCYZTYdBYbEYlXYjQYRbYWRpKXpQopQnpSFpCXpIBpISphNpdBpdRpbRpcZpFBpFNpFDpFopFrLADLBuLXQLXcLaFLCXLEhLpBLpFLHXLeVLhILdHLdRLoDLbRLrXIABIBQIBCIBsIBoIBMIBRIXaIaRIKYIKRINBINuICDIGBIIDIIkIgRIxFIyQIiHIdRIbYIbRIlHIwRIMYIcRIRVITRIFBIFNIFQOABOAFOBQOaFONBONMOQFOSFOCDOGBOEQOpBOLXOIBOIFOgQOgFOyQOycOmXOsXOdIOkHOMEOMkOWWHBNHXNHXWHNXHDuHDRHSuHSRHHoHhkHmRHdRHkQHlcHlRHwBHWcgAEgAggAkgBNgBQgBEgXOgYcgLXgHjgyQgiBgsFgdagMYgWSgFQgFEVBTVXEVKBVKNVKDVKYVKRVNBVNYVDBVDxVSBVSRVCjVGNVLXVIFVhBVhcVsXVdRVbRVlRhBYhKYhDYhGShxWhmNhdahdkhbRhjohMXhTRxAXxXSxKBxNBxEQxeNxeQxhXxsFxdbxlHxjcxFBxFNxFQxFOxFoyNYyYoybcyMYuBQuBRuBruDMuCouHBudQukkuoBulVuMXuFEmCYmCRmpRmeDmiMmjdmTFmFQiADiBOiaRiKRiNBiNRiSFiGkiGFiERipRiLFiIFihYibHijBijEiMXiWBiFBiFCUBQUXFUaRUNDUNcUNRUNFUDBUSHUCDUGBUGFUEqULNULoUIRUeEUeYUgBUhFUuRUiFUsXUdFUkHUbBUjSUjYUwXUMDUcHURdUTBUrBUrXUrQZAFZXZZaRZKFZNBZQFZCXZGBZYdZpBZLDZIFZHXZHNZeQZVRZVFZmXZiBZvFZdFZkFZbHZbFZwXZcCZcRZRBvBQvBGvBLvBWvCovMYsAFsBDsaRsKFsNFsDrsSHsSFsCXsCRsEBsEHsEfspBsLBsLDsIgsIRseGsbRsFBsFQsFSdNBdSRdCVdGHdYDdHcdVbdySduDdsXdlRdwXdWYdWcdWRkBMkXOkaRkNIkNFkSFkCFkYBkpRkeNkgBkhVkmXksFklVkMBkWDkFNoBNoaQoaFoNBoNXoNaoNEoSRoEroYXoYCoYbopRopFomXojkowXorFbBEbEIbdBbjYlaRlDElMXlFDjKjjSRjGBjYBjYkjpRjLXjIBjOFjeVjbRjwBnXQnSHnpFnLXnINnMBnTRwXBwXNwXYwNFwQFwSBwGFwLXwLDweNwgBwuHwjDwnXMBXMpFMIBMeNMTHcaQcNBcDHcSFcCXcpBcLXcLDcgFcuFcnXcwXccDcTQcrFTQErXNrCHrpFrgFrbFrTHrFcWNYWNbWEHWMXWTR","ABGHABIJAEAVAYJQALZJAIaRAHNXAHdcAHbRAZJMAZJRAZTRAdVJAklmAbcNAjdRAMnRAMWYAWpRAWgRAFgBAFhBAFdcBNJBBNJDBQKBBQhcBQlmBDEJBYJkBYJTBpNBBpJFBIJBBIJDBIcABOKXBOEJBOVJBOiJBOZJBepBBeLXBeIFBegBBgGJBVJXBuocBiJRBUJQBlXVBlITBwNFBMYVBcqXBTlmBWNFBWiJBWnRBFGHBFwXXKGJXNJBXNZJXDTTXSHSXSVRXSlHXCJDXGQJXEhXXYQJXYbRXOfXXeNcXVJFXhQJXhEJXdTRXjdXXMhBXcQTXRGBXTEBXTnQXFCXXFOFXFgFaBaFaBNJaBCJaBpBaBwXaNJKaNJDaQIBaDpRaEPDaHMFamDJalEJaMZJaFaFaFNBaFQJaFLDaFVHKBCYKBEBKBHDKXaFKXGdKXEJKXpHKXIBKXZDKXwXKKwLKNacKNYJKNJoKNWcKDGdKDTRKChXKGaRKGhBKGbRKEBTKEaRKEPTKLMDKLWRKOHDKVJcKdBcKlIBKlOPKFSBKFEPKFpFNBNJNJBQNBGHNBEPNBHXNBgFNBVXNBZDNBsXNBwXNNaRNNJDNNJENNJkNDCJNDVDNGJRNJiDNZJNNsCJNJFNNFSBNFCXNFEPNFLXNFIFQJBFQCaRQJEQQLJDQLJFQIaRQOqXQHaFQHHQQVJXQVJDQhNJQmEIQZJFQsJXQJrFQWbRDJABDBYJDXNFDXCXDXLXDXZDDXsJDQqXDSJFDJCXDEPkDEqXDYmQDpSJDOCkDOGQDHEIDVJDDuDuDWEBDJFgSBNDSBSFSBGHSBIBSBTQSKVYSJQNSJQiSJCXSEqXSJYVSIiJSOMYSHAHSHaQSeCFSepQSegBSHdHSHrFShSJSJuHSJUFSkNRSrSrSWEBSFaHSJFQSFCXSFGDSFYXSFODSFgBSFVXSFhBSFxFSFkFSFbBSFMFCADdCJXBCXaFCXKFCXNFCXCXCXGBCXEJCXYBCXLDCXIBCXOPCXHXCXgBCXhBCXiBCXlDCXcHCJNBCJNFCDCJCDGBCDVXCDhBCDiDCDJdCCmNCpJFCIaRCOqXCHCHCHZJCViJCuCuCmddCJiFCdNBCdHhClEJCnUJCreSCWlgCWTRCFBFCFNBCFYBCFVFCFhFCFdSCFTBCFWDGBNBGBQFGJBCGBEqGBpBGBgQGNBEGNJYGNkOGNJRGDUFGJpQGHaBGJeNGJeEGVBlGVKjGiJDGvJHGsVJGkEBGMIJGWjNGFBFGFCXGFGBGFYXGFpBGFMFEASJEAWpEJNFECJVEIXSEIQJEOqXEOcFEeNcEHEJEHlFEJgFEhlmEmDJEmZJEiMBEUqXEoSREPBFEPXFEPKFEPSFEPEFEPpFEPLXEPIBEJPdEPcFEPTBEJnXEqlHEMpREFCXEFODEFcFYASJYJAFYBaBYBVXYXpFYDhBYCJBYJGFYYbRYeNcYJeVYiIJYZJcYvJgYvJRYJsXYsJFYMYMYreVpBNHpBEJpBwXpQxFpYEJpeNDpJeDpeSFpeCHpHUJpHbBpHcHpmUJpiiJpUJrpsJuplITpFaBpFQqpFGBpFEfpFYBpFpBpFLJpFIDpFgBpFVXpFyQpFuFpFlFpFjDpFnXpFwXpJFMpFTBLXCJLXEFLXhFLXUJLXbFLalmLNJBLSJQLCLCLGJBLLDJLHaFLeNFLeSHLeCXLepFLhaRLZsJLsJDLsJrLocaLlLlLMdbLFNBLFSBLFEHLFkFIBBFIBXFIBaQIBKXIBSFIBpHIBLXIBgBIBhBIBuHIBmXIBiFIBZXIBvFIBbFIBjQIBwXIBWFIKTRIQUJIDGFICjQIYSRIINXIJeCIVaRImEkIZJFIvJRIsJXIdCJIJoRIbBQIjYBIcqXITFVIreVIFKFIFSFIFCJIFGFIFLDIFIBIJFOIFgBIFVXIJFhIFxFIFmXIFdHIFbBIJFrIJFWOBGBOQfXOOKjOUqXOfXBOqXEOcqXORVJOFIBOFlDHBIOHXiFHNTRHCJXHIaRHHJDHHEJHVbRHZJYHbIBHRsJHRkDHWlmgBKFgBSBgBCDgBGHgBpBgBIBgBVJgBuBgBvFgKDTgQVXgDUJgGSJgOqXgmUMgZIJgTUJgWIEgFBFgFNBgFDJgFSFgFGBgFYXgJFOgFgQgFVXgFhBgFbHgJFWVJABVQKcVDgFVOfXVeDFVhaRVmGdViJYVMaRVFNHhBNDhBCXhBEqhBpFhBLXhNJBhSJRheVXhhKEhxlmhZIJhdBQhkIJhbMNhMUJhMZJxNJgxQUJxDEkxDdFxSJRxplmxeSBxeCXxeGFxeYXxepQxegBxWVcxFEQxFLXxFIBxFgBxFxDxFZtxFdcxFbBxFwXyDJXyDlcuASJuDJpuDIBuCpJuGSJuIJFueEFuZIJusJXudWEuoIBuWGJuFBcuFKEuFNFuFQFuFDJuFGJuFVJuFUtuFdHuFTBmBYJmNJYmQhkmLJDmLJomIdXmiJYmvJRmsJRmklmmMBymMuCmclmmcnQiJABiJBNiJBDiBSFiBCJiBEFiBYBiBpFiBLXiBTHiJNciDEfiCZJiECJiJEqiOkHiHKFieNDiHJQieQcieDHieSFieCXieGFieEFieIHiegFihUJixNoioNXiFaBiFKFiFNDiFEPiFYXitFOitFHiFgBiFVEiFmXiFitiFbBiFMFiFrFUCXQUIoQUIJcUHQJUeCEUHwXUUJDUUqXUdWcUcqXUrnQUFNDUFSHUFCFUFEfUFLXUtFOZBXOZXSBZXpFZXVXZEQJZEJkZpDJZOqXZeNHZeCDZUqXZFBQZFEHZFLXvBAFvBKFvBCXvBEPvBpHvBIDvBgFvBuHvQNJvFNFvFGBvFIBvJFcsXCDsXLXsXsXsXlFsXcHsQqXsJQFsEqXseIFsFEHsFjDdBxOdNpRdNJRdEJbdpJRdhZJdnSJdrjNdFNJdFQHdFhNkNJDkYaRkHNRkHSRkVbRkuMRkjSJkcqDoSJFoEiJoYZJoOfXohEBoMGQocqXbBAFbBXFbBaFbBNDbBGBbBLXbBTBbBWDbGJYbIJHbFQqbFpQlDgQlOrFlVJRjGEBjZJRnXvJnXbBnEfHnOPDngJRnxfXnUJWwXEJwNpJwDpBwEfXwrEBMDCJMDGHMDIJMLJDcQGDcQpHcqXccqNFcqCXcFCJRBSBRBGBRBEJRBpQTBNFTBQJTBpBTBVXTFABTFSBTFCFTFGBTFMDrXCJrXLDrDNJrEfHrFQJrFitWNjdWNTR","AKLJMANOPFASNJIAEJWXAYJNRAIIbRAIcdaAeEfDAgidRAdjNYAMYEJAMIbRAFNJBAFpJFBBIJYBDZJFBSiJhBGdEBBEJfXBEJqXBEJWRBpaUJBLXrXBIYJMBOcfXBeEfFBestXBjNJRBcDJOBFEqXXNvJRXDMBhXCJNYXOAWpXONJWXHDEBXeIaRXhYJDXZJSJXMDJOXcASJXFVJXaBQqXaBZJFasXdQaFSJQaFEfXaFpJHaFOqXKBNSRKXvJBKQJhXKEJQJKEJGFKINJBKIJjNKgJNSKVElmKVhEBKiJGFKlBgJKjnUJKwsJYKMFIJKFNJDKFIJFKFOfXNJBSFNJBCXNBpJFNJBvQNJBMBNJLJXNJOqXNJeCXNJeGFNdsJCNbTKFNwXUJQNFEPQDiJcQDMSJQSFpBQGMQJQJeOcQyCJEQUJEBQJFBrQFEJqDXDJFDJXpBDJXIMDGiJhDIJGRDJeYcDHrDJDVXgFDkAWpDkIgRDjDEqDMvJRDJFNFDJFIBSKclmSJQOFSJQVHSJQjDSJGJBSJGJFSECJoSHEJqSJHTBSJVJDSViJYSZJNBSJsJDSFSJFSFEfXSJFLXCBUJVCJXSBCJXpBCXVJXCJXsXCJXdFCJNJHCLIJgCHiJFCVNJMChCJhCUHEJCsJTRCJdYcCoQJCCFEfXCFIJgCFUJxCFstFGJBaQGJBIDGQJqXGYJNRGJHKFGeQqDGHEJFGJeLXGHIiJGHdBlGUJEBGkIJTGFQPDGJFEqEAGegEJIJBEJVJXEhQJTEiJNcEJZJFEJoEqEjDEqEPDsXEPGJBEPOqXEPeQFEfDiDEJfEFEfepQEfMiJEqXNBEqDIDEqeSFEqVJXEMvJRYXNJDYXEJHYKVJcYYJEBYJeEcYJUqXYFpJFYFstXpAZJMpBSJFpNBNFpeQPDpHLJDpHIJFpHgJFpeitFpHZJFpJFADpFSJFpJFCJpFOqXpFitBpJFZJLXIJFLIJgRLVNJWLVHJMLwNpJLFGJBLFLJDLFOqXLJFUJIBDJXIBGJBIJBYQIJBIBIBOqXIBcqDIEGJFILNJTIIJEBIOiJhIJeNBIJeIBIhiJIIWoTRIJFAHIJFpBIJFuHIFUtFIJFTHOSBYJOEcqXOHEJqOvBpFOkVJrObBVJOncqDOcNJkHhNJRHuHJuHdMhBgBUqXgBsJXgONJBgHNJDgHHJQgJeitgHsJXgJyNagyDJBgZJDrgsVJQgkEJNgkjSJgJFAHgFCJDgFZtMVJXNFVXQfXVJXDJVXoQJVQVJQVDEfXVDvJHVEqNFVeQfXVHpJFVHxfXVVJSRVVmaRVlIJOhCXVJhHjYkhxCJVhWVUJhWiJcxBNJIxeEqDxfXBFxcFEPxFSJFxFYJXyBDQJydaUJyFOPDuYCJYuLvJRuHLJXuZJLDuFOPDuFZJHuFcqXmKHJdmCQJcmOsVJiJAGFitLCFieOfXiestXiZJMEikNJQirXzFiFQqXiFIJFiFZJFiFvtFUHpJFUteIcUteOcUVCJkUhdHcUbEJEUJqXQUMNJhURjYkUFitFZDGJHZJIxDZJVJXZJFDJZJFpQvBNJBvBSJFvJxBrseQqDsVFVJdFLJDkEJNBkmNJYkFLJDoQJOPoGsJRoEAHBoEJfFbBQqDbBZJHbFVJXlFIJBjYIrXjeitcjjCEBjWMNBwXQfXwXOaFwDsJXwCJTRwrCZJMDNJQcDDJFcqDOPRYiJFTBsJXTQIJBTFEfXTFLJDrXEJFrEJXMrFZJFWEJdEWYTlm","ABCDEFACNJTRAMBDJdAcNJVXBLNJEBXSIdWRXErNJkXYDJMBXZJCJaXMNJaYKKVJKcKDEJqXKDcNJhKVJrNYKbgJVXKFVJSBNBYBwDNJeQfXNJeEqXNhGJWENJFiJRQlIJbEQJfXxDQqXcfXQFNDEJQFwXUJDYcnUJDJIBgQDIUJTRDJFEqDSJQSJFSJQIJFSOPeZtSJFZJHCJXQfXCTDEqFGJBSJFGJBOfXGJBcqXGJHNJDGJRLiJEJfXEqEJFEJPEFpBEJYJBZJFYBwXUJYiJMEBYJZJyTYTONJXpQMFXFpeGIDdpJFstXpJFcPDLBVSJRLHQJqXLJFZJFIJBNJDIJBUqXIBkFDJIJEJPTIYJGWRIJeQPDIJeEfHIJFsJXOqGDSFHXEJqXgJCsJCgGQJqXgdQYJEgFMFNBgJFcqDVJwXUJVJFZJchIgJCCxOEJqXxOwXUJyDJBVRuscisciJBiJBieUtqXiJFDJkiFsJXQUGEZJcUJFsJXZtXIrXZDZJDrZJFNJDZJFstXvJFQqXvJFCJEsJXQJqkhkNGBbDJdTRbYJMEBlDwXUJMEFiJFcfXNJDRcNJWMTBLJXC","BraFUtHBFSJFdbNBLJXVJQoYJNEBSJBEJfHSJHwXUJCJdAZJMGjaFVJXEJPNJBlEJfFiJFpFbFEJqIJBVJCrIBdHiJhOPFChvJVJZJNJWxGFNIFLueIBQJqUHEJfUFstOZJDrlXEASJRlXVJXSFwVJNJWD","QJEJNNJDQJEJIBSFQJEJxegBQJEJfHEPSJBmXEJFSJCDEJqXLXNJFQqXIcQsFNJFIFEJqXUJgFsJXIJBUJEJfHNFvJxEqXNJnXUJFQqD","IJBEJqXZJ"],u=null;function l(e){return(0,o.hexlify)((0,i.toUtf8Bytes)(e))}function d(e){if(null===u){u=[];var t={};t[(0,i.toUtf8String)([227,130,154])]=!1,t[(0,i.toUtf8String)([227,130,153])]=!1,t[(0,i.toUtf8String)([227,130,133])]=(0,i.toUtf8String)([227,130,134]),t[(0,i.toUtf8String)([227,129,163])]=(0,i.toUtf8String)([227,129,164]),t[(0,i.toUtf8String)([227,130,131])]=(0,i.toUtf8String)([227,130,132]),t[(0,i.toUtf8String)([227,130,135])]=(0,i.toUtf8String)([227,130,136]);for(var r=3;r<=9;r++)for(var a=c[r-3],n=0;nt?1:0})),"0xe3818de38284e3818f"===l(u[442])&&"0xe3818de38283e3818f"===l(u[443])){var p=u[442];u[442]=u[443],u[443]=p}if("0xcb36b09e6baa935787fd762ce65e80b0c6a8dabdfbc3a7f86ac0e2c4fd111600"!==s.Wordlist.check(e))throw u=null,new Error("BIP39 Wordlist for ja (Japanese) FAILED")}function m(e){for(var r="",a=0;a@ethersproject/wordlists",file:"node_modules/@ethersproject/wordlists/lib/lang-ja.js"}],[564,{"./wordlist":566,"@ethersproject/strings":547},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var a,n=this&&this.__extends||(a=function(e,t){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},a(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.langKo=void 0;var o=e("@ethersproject/strings"),i=e("./wordlist"),s=["OYAa","ATAZoATBl3ATCTrATCl8ATDloATGg3ATHT8ATJT8ATJl3ATLlvATLn4ATMT8ATMX8ATMboATMgoAToLbAToMTATrHgATvHnAT3AnAT3JbAT3MTAT8DbAT8JTAT8LmAT8MYAT8MbAT#LnAUHT8AUHZvAUJXrAUJX8AULnrAXJnvAXLUoAXLgvAXMn6AXRg3AXrMbAX3JTAX3QbAYLn3AZLgvAZrSUAZvAcAZ8AaAZ8AbAZ8AnAZ8HnAZ8LgAZ8MYAZ8MgAZ8OnAaAboAaDTrAaFTrAaJTrAaJboAaLVoAaMXvAaOl8AaSeoAbAUoAbAg8AbAl4AbGnrAbMT8AbMXrAbMn4AbQb8AbSV8AbvRlAb8AUAb8AnAb8HgAb8JTAb8NTAb8RbAcGboAcLnvAcMT8AcMX8AcSToAcrAaAcrFnAc8AbAc8MgAfGgrAfHboAfJnvAfLV8AfLkoAfMT8AfMnoAfQb8AfScrAfSgrAgAZ8AgFl3AgGX8AgHZvAgHgrAgJXoAgJX8AgJboAgLZoAgLn4AgOX8AgoATAgoAnAgoCUAgoJgAgoLXAgoMYAgoSeAgrDUAgrJTAhrFnAhrLjAhrQgAjAgoAjJnrAkMX8AkOnoAlCTvAlCV8AlClvAlFg4AlFl6AlFn3AloSnAlrAXAlrAfAlrFUAlrFbAlrGgAlrOXAlvKnAlvMTAl3AbAl3MnAnATrAnAcrAnCZ3AnCl8AnDg8AnFboAnFl3AnHX4AnHbrAnHgrAnIl3AnJgvAnLXoAnLX4AnLbrAnLgrAnLhrAnMXoAnMgrAnOn3AnSbrAnSeoAnvLnAn3OnCTGgvCTSlvCTvAUCTvKnCTvNTCT3CZCT3GUCT3MTCT8HnCUCZrCULf8CULnvCU3HnCU3JUCY6NUCbDb8CbFZoCbLnrCboOTCboScCbrFnCbvLnCb8AgCb8HgCb$LnCkLfoClBn3CloDUDTHT8DTLl3DTSU8DTrAaDTrLXDTrLjDTrOYDTrOgDTvFXDTvFnDT3HUDT3LfDUCT9DUDT4DUFVoDUFV8DUFkoDUGgrDUJnrDULl8DUMT8DUMXrDUMX4DUMg8DUOUoDUOgvDUOg8DUSToDUSZ8DbDXoDbDgoDbGT8DbJn3DbLg3DbLn4DbMXrDbMg8DbOToDboJXGTClvGTDT8GTFZrGTLVoGTLlvGTLl3GTMg8GTOTvGTSlrGToCUGTrDgGTrJYGTrScGTtLnGTvAnGTvQgGUCZrGUDTvGUFZoGUHXrGULnvGUMT8GUoMgGXoLnGXrMXGXrMnGXvFnGYLnvGZOnvGZvOnGZ8LaGZ8LmGbAl3GbDYvGbDlrGbHX3GbJl4GbLV8GbLn3GbMn4GboJTGboRfGbvFUGb3GUGb4JnGgDX3GgFl$GgJlrGgLX6GgLZoGgLf8GgOXoGgrAgGgrJXGgrMYGgrScGgvATGgvOYGnAgoGnJgvGnLZoGnLg3GnLnrGnQn8GnSbrGnrMgHTClvHTDToHTFT3HTQT8HToJTHToJgHTrDUHTrMnHTvFYHTvRfHT8MnHT8SUHUAZ8HUBb4HUDTvHUoMYHXFl6HXJX6HXQlrHXrAUHXrMnHXrSbHXvFYHXvKXHX3LjHX3MeHYvQlHZrScHZvDbHbAcrHbFT3HbFl3HbJT8HbLTrHbMT8HbMXrHbMbrHbQb8HbSX3HboDbHboJTHbrFUHbrHgHbrJTHb8JTHb8MnHb8QgHgAlrHgDT3HgGgrHgHgrHgJTrHgJT8HgLX@HgLnrHgMT8HgMX8HgMboHgOnrHgQToHgRg3HgoHgHgrCbHgrFnHgrLVHgvAcHgvAfHnAloHnCTrHnCnvHnGTrHnGZ8HnGnvHnJT8HnLf8HnLkvHnMg8HnRTrITvFUITvFnJTAXrJTCV8JTFT3JTFT8JTFn4JTGgvJTHT8JTJT8JTJXvJTJl3JTJnvJTLX4JTLf8JTLhvJTMT8JTMXrJTMnrJTObrJTQT8JTSlvJT8DUJT8FkJT8MTJT8OXJT8OgJT8QUJT8RfJUHZoJXFT4JXFlrJXGZ8JXGnrJXLV8JXLgvJXMXoJXMX3JXNboJXPlvJXoJTJXoLkJXrAXJXrHUJXrJgJXvJTJXvOnJX4KnJYAl3JYJT8JYLhvJYQToJYrQXJY6NUJbAl3JbCZrJbDloJbGT8JbGgrJbJXvJbJboJbLf8JbLhrJbLl3JbMnvJbRg8JbSZ8JboDbJbrCZJbrSUJb3KnJb8LnJfRn8JgAXrJgCZrJgDTrJgGZrJgGZ8JgHToJgJT8JgJXoJgJgvJgLX4JgLZ3JgLZ8JgLn4JgMgrJgMn4JgOgvJgPX6JgRnvJgSToJgoCZJgoJbJgoMYJgrJXJgrJgJgrLjJg6MTJlCn3JlGgvJlJl8Jl4AnJl8FnJl8HgJnAToJnATrJnAbvJnDUoJnGnrJnJXrJnJXvJnLhvJnLnrJnLnvJnMToJnMT8JnMXvJnMX3JnMg8JnMlrJnMn4JnOX8JnST4JnSX3JnoAgJnoAnJnoJTJnoObJnrAbJnrAkJnrHnJnrJTJnrJYJnrOYJnrScJnvCUJnvFaJnvJgJnvJnJnvOYJnvQUJnvRUJn3FnJn3JTKnFl3KnLT6LTDlvLTMnoLTOn3LTRl3LTSb4LTSlrLToAnLToJgLTrAULTrAcLTrCULTrHgLTrMgLT3JnLULnrLUMX8LUoJgLVATrLVDTrLVLb8LVoJgLV8MgLV8RTLXDg3LXFlrLXrCnLXrLXLX3GTLX4GgLX4OYLZAXrLZAcrLZAgrLZAhrLZDXyLZDlrLZFbrLZFl3LZJX6LZJX8LZLc8LZLnrLZSU8LZoJTLZoJnLZrAgLZrAnLZrJYLZrLULZrMgLZrSkLZvAnLZvGULZvJeLZvOTLZ3FZLZ4JXLZ8STLZ8ScLaAT3LaAl3LaHT8LaJTrLaJT8LaJXrLaJgvLaJl4LaLVoLaMXrLaMXvLaMX8LbClvLbFToLbHlrLbJn4LbLZ3LbLhvLbMXrLbMnoLbvSULcLnrLc8HnLc8MTLdrMnLeAgoLeOgvLeOn3LfAl3LfLnvLfMl3LfOX8Lf8AnLf8JXLf8LXLgJTrLgJXrLgJl8LgMX8LgRZrLhCToLhrAbLhrFULhrJXLhvJYLjHTrLjHX4LjJX8LjLhrLjSX3LjSZ4LkFX4LkGZ8LkGgvLkJTrLkMXoLkSToLkSU8LkSZ8LkoOYLl3FfLl3MgLmAZrLmCbrLmGgrLmHboLmJnoLmJn3LmLfoLmLhrLmSToLnAX6LnAb6LnCZ3LnCb3LnDTvLnDb8LnFl3LnGnrLnHZvLnHgvLnITvLnJT8LnJX8LnJlvLnLf8LnLg6LnLhvLnLnoLnMXrLnMg8LnQlvLnSbrLnrAgLnrAnLnrDbLnrFkLnrJdLnrMULnrOYLnrSTLnvAnLnvDULnvHgLnvOYLnvOnLn3GgLn4DULn4JTLn4JnMTAZoMTAloMTDb8MTFT8MTJnoMTJnrMTLZrMTLhrMTLkvMTMX8MTRTrMToATMTrDnMTrOnMT3JnMT4MnMT8FUMT8FaMT8FlMT8GTMT8GbMT8GnMT8HnMT8JTMT8JbMT8OTMUCl8MUJTrMUJU8MUMX8MURTrMUSToMXAX6MXAb6MXCZoMXFXrMXHXrMXLgvMXOgoMXrAUMXrAnMXrHgMXrJYMXrJnMXrMTMXrMgMXrOYMXrSZMXrSgMXvDUMXvOTMX3JgMX3OTMX4JnMX8DbMX8FnMX8HbMX8HgMX8HnMX8LbMX8MnMX8OnMYAb8MYGboMYHTvMYHX4MYLTrMYLnvMYMToMYOgvMYRg3MYSTrMbAToMbAXrMbAl3MbAn8MbGZ8MbJT8MbJXrMbMXvMbMX8MbMnoMbrMUMb8AfMb8FbMb8FkMcJXoMeLnrMgFl3MgGTvMgGXoMgGgrMgGnrMgHT8MgHZrMgJnoMgLnrMgLnvMgMT8MgQUoMgrHnMgvAnMg8HgMg8JYMg8LfMloJnMl8ATMl8AXMl8JYMnAToMnAT4MnAZ8MnAl3MnAl4MnCl8MnHT8MnHg8MnJnoMnLZoMnLhrMnMXoMnMX3MnMnrMnOgvMnrFbMnrFfMnrFnMnrNTMnvJXNTMl8OTCT3OTFV8OTFn3OTHZvOTJXrOTOl3OT3ATOT3JUOT3LZOT3LeOT3MbOT8ATOT8AbOT8AgOT8MbOUCXvOUMX3OXHXvOXLl3OXrMUOXvDbOX6NUOX8JbOYFZoOYLbrOYLkoOYMg8OYSX3ObHTrObHT4ObJgrObLhrObMX3ObOX8Ob8FnOeAlrOeJT8OeJXrOeJnrOeLToOeMb8OgJXoOgLXoOgMnrOgOXrOgOloOgoAgOgoJbOgoMYOgoSTOg8AbOjLX4OjMnoOjSV8OnLVoOnrAgOn3DUPXQlrPXvFXPbvFTPdAT3PlFn3PnvFbQTLn4QToAgQToMTQULV8QURg8QUoJnQXCXvQbFbrQb8AaQb8AcQb8FbQb8MYQb8ScQeAlrQeLhrQjAn3QlFXoQloJgQloSnRTLnvRTrGURTrJTRUJZrRUoJlRUrQnRZrLmRZrMnRZrSnRZ8ATRZ8JbRZ8ScRbMT8RbST3RfGZrRfMX8RfMgrRfSZrRnAbrRnGT8RnvJgRnvLfRnvMTRn8AaSTClvSTJgrSTOXrSTRg3STRnvSToAcSToAfSToAnSToHnSToLjSToMTSTrAaSTrEUST3BYST8AgST8LmSUAZvSUAgrSUDT4SUDT8SUGgvSUJXoSUJXvSULTrSU8JTSU8LjSV8AnSV8JgSXFToSXLf8SYvAnSZrDUSZrMUSZrMnSZ8HgSZ8JTSZ8JgSZ8MYSZ8QUSaQUoSbCT3SbHToSbQYvSbSl4SboJnSbvFbSb8HbSb8JgSb8OTScGZrScHgrScJTvScMT8ScSToScoHbScrMTScvAnSeAZrSeAcrSeHboSeJUoSeLhrSeMT8SeMXrSe6JgSgHTrSkJnoSkLnvSk8CUSlFl3SlrSnSl8GnSmAboSmGT8SmJU8","ATLnDlATrAZoATrJX4ATrMT8ATrMX4ATrRTrATvDl8ATvJUoATvMl8AT3AToAT3MX8AT8CT3AT8DT8AT8HZrAT8HgoAUAgFnAUCTFnAXoMX8AXrAT8AXrGgvAXrJXvAXrOgoAXvLl3AZvAgoAZvFbrAZvJXoAZvJl8AZvJn3AZvMX8AZvSbrAZ8FZoAZ8LZ8AZ8MU8AZ8OTvAZ8SV8AZ8SX3AbAgFZAboJnoAbvGboAb8ATrAb8AZoAb8AgrAb8Al4Ab8Db8Ab8JnoAb8LX4Ab8LZrAb8LhrAb8MT8Ab8OUoAb8Qb8Ab8ST8AcrAUoAcrAc8AcrCZ3AcrFT3AcrFZrAcrJl4AcrJn3AcrMX3AcrOTvAc8AZ8Ac8MT8AfAcJXAgoFn4AgoGgvAgoGnrAgoLc8AgoMXoAgrLnrAkrSZ8AlFXCTAloHboAlrHbrAlrLhrAlrLkoAl3CZrAl3LUoAl3LZrAnrAl4AnrMT8An3HT4BT3IToBX4MnvBb!Ln$CTGXMnCToLZ4CTrHT8CT3JTrCT3RZrCT#GTvCU6GgvCU8Db8CU8GZrCU8HT8CboLl3CbrGgrCbrMU8Cb8DT3Cb8GnrCb8LX4Cb8MT8Cb8ObrCgrGgvCgrKX4Cl8FZoDTrAbvDTrDboDTrGT6DTrJgrDTrMX3DTrRZrDTrRg8DTvAVvDTvFZoDT3DT8DT3Ln3DT4HZrDT4MT8DT8AlrDT8MT8DUAkGbDUDbJnDYLnQlDbDUOYDbMTAnDbMXSnDboAT3DboFn4DboLnvDj6JTrGTCgFTGTGgFnGTJTMnGTLnPlGToJT8GTrCT3GTrLVoGTrLnvGTrMX3GTrMboGTvKl3GZClFnGZrDT3GZ8DTrGZ8FZ8GZ8MXvGZ8On8GZ8ST3GbCnQXGbMbFnGboFboGboJg3GboMXoGb3JTvGb3JboGb3Mn6Gb3Qb8GgDXLjGgMnAUGgrDloGgrHX4GgrSToGgvAXrGgvAZvGgvFbrGgvLl3GgvMnvGnDnLXGnrATrGnrMboGnuLl3HTATMnHTAgCnHTCTCTHTrGTvHTrHTvHTrJX8HTrLl8HTrMT8HTrMgoHTrOTrHTuOn3HTvAZrHTvDTvHTvGboHTvJU8HTvLl3HTvMXrHTvQb4HT4GT6HT4JT8HT4Jb#HT8Al3HT8GZrHT8GgrHT8HX4HT8Jb8HT8JnoHT8LTrHT8LgvHT8SToHT8SV8HUoJUoHUoJX8HUoLnrHXrLZoHXvAl3HX3LnrHX4FkvHX4LhrHX4MXoHX4OnoHZrAZ8HZrDb8HZrGZ8HZrJnrHZvGZ8HZvLnvHZ8JnvHZ8LhrHbCXJlHbMTAnHboJl4HbpLl3HbrJX8HbrLnrHbrMnvHbvRYrHgoSTrHgrFV8HgrGZ8HgrJXoHgrRnvHgvBb!HgvGTrHgvHX4HgvHn!HgvLTrHgvSU8HnDnLbHnFbJbHnvDn8Hn6GgvHn!BTvJTCTLnJTQgFnJTrAnvJTrLX4JTrOUoJTvFn3JTvLnrJTvNToJT3AgoJT3Jn4JT3LhvJT3ObrJT8AcrJT8Al3JT8JT8JT8JnoJT8LX4JT8LnrJT8MX3JT8Rg3JT8Sc8JUoBTvJU8AToJU8GZ8JU8GgvJU8JTrJU8JXrJU8JnrJU8LnvJU8ScvJXHnJlJXrGgvJXrJU8JXrLhrJXrMT8JXrMXrJXrQUoJXvCTvJXvGZ8JXvGgrJXvQT8JX8Ab8JX8DT8JX8GZ8JX8HZvJX8LnrJX8MT8JX8MXoJX8MnvJX8ST3JYGnCTJbAkGbJbCTAnJbLTAcJboDT3JboLb6JbrAnvJbrCn3JbrDl8JbrGboJbrIZoJbrJnvJbrMnvJbrQb4Jb8RZrJeAbAnJgJnFbJgScAnJgrATrJgvHZ8JgvMn4JlJlFbJlLiQXJlLjOnJlRbOlJlvNXoJlvRl3Jl4AcrJl8AUoJl8MnrJnFnMlJnHgGbJnoDT8JnoFV8JnoGgvJnoIT8JnoQToJnoRg3JnrCZ3JnrGgrJnrHTvJnrLf8JnrOX8JnvAT3JnvFZoJnvGT8JnvJl4JnvMT8JnvMX8JnvOXrJnvPX6JnvSX3JnvSZrJn3MT8Jn3MX8Jn3RTrLTATKnLTJnLTLTMXKnLTRTQlLToGb8LTrAZ8LTrCZ8LTrDb8LTrHT8LT3PX6LT4FZoLT$CTvLT$GgrLUvHX3LVoATrLVoAgoLVoJboLVoMX3LVoRg3LV8CZ3LV8FZoLV8GTvLXrDXoLXrFbrLXvAgvLXvFlrLXvLl3LXvRn6LX4Mb8LX8GT8LYCXMnLYrMnrLZoSTvLZrAZvLZrAloLZrFToLZrJXvLZrJboLZrJl4LZrLnrLZrMT8LZrOgvLZrRnvLZrST4LZvMX8LZvSlvLZ8AgoLZ8CT3LZ8JT8LZ8LV8LZ8LZoLZ8Lg8LZ8SV8LZ8SbrLZ$HT8LZ$Mn4La6CTvLbFbMnLbRYFTLbSnFZLboJT8LbrAT9LbrGb3LbrQb8LcrJX8LcrMXrLerHTvLerJbrLerNboLgrDb8LgrGZ8LgrHTrLgrMXrLgrSU8LgvJTrLgvLl3Lg6Ll3LhrLnrLhrMT8LhvAl4LiLnQXLkoAgrLkoJT8LkoJn4LlrSU8Ll3FZoLl3HTrLl3JX8Ll3JnoLl3LToLmLeFbLnDUFbLnLVAnLnrATrLnrAZoLnrAb8LnrAlrLnrGgvLnrJU8LnrLZrLnrLhrLnrMb8LnrOXrLnrSZ8LnvAb4LnvDTrLnvDl8LnvHTrLnvHbrLnvJT8LnvJU8LnvJbrLnvLhvLnvMX8LnvMb8LnvNnoLnvSU8Ln3Al3Ln4FZoLn4GT6Ln4JgvLn4LhrLn4MT8Ln4SToMToCZrMToJX8MToLX4MToLf8MToRg3MTrEloMTvGb6MT3BTrMT3Lb6MT8AcrMT8AgrMT8GZrMT8JnoMT8LnrMT8MX3MUOUAnMXAbFnMXoAloMXoJX8MXoLf8MXoLl8MXrAb8MXrDTvMXrGT8MXrGgrMXrHTrMXrLf8MXrMU8MXrOXvMXrQb8MXvGT8MXvHTrMXvLVoMX3AX3MX3Jn3MX3LhrMX3MX3MX4AlrMX4OboMX8GTvMX8GZrMX8GgrMX8JT8MX8JX8MX8LhrMX8MT8MYDUFbMYMgDbMbGnFfMbvLX4MbvLl3Mb8Mb8Mb8ST4MgGXCnMg8ATrMg8AgoMg8CZrMg8DTrMg8DboMg8HTrMg8JgrMg8LT8MloJXoMl8AhrMl8JT8MnLgAUMnoJXrMnoLX4MnoLhrMnoMT8MnrAl4MnrDb8MnrOTvMnrOgvMnrQb8MnrSU8MnvGgrMnvHZ8Mn3MToMn4DTrMn4LTrMn4Mg8NnBXAnOTFTFnOToAToOTrGgvOTrJX8OT3JXoOT6MTrOT8GgrOT8HTpOT8MToOUoHT8OUoJT8OUoLn3OXrAgoOXrDg8OXrMT8OXvSToOX6CTvOX8CZrOX8OgrOb6HgvOb8AToOb8MT8OcvLZ8OgvAlrOgvHTvOgvJTrOgvJnrOgvLZrOgvLn4OgvMT8OgvRTrOg8AZoOg8DbvOnrOXoOnvJn4OnvLhvOnvRTrOn3GgoOn3JnvOn6JbvOn8OTrPTGYFTPbBnFnPbGnDnPgDYQTPlrAnvPlrETvPlrLnvPlrMXvPlvFX4QTMTAnQTrJU8QYCnJlQYJlQlQbGTQbQb8JnrQb8LZoQb8LnvQb8MT8Qb8Ml8Qb8ST4QloAl4QloHZvQloJX8QloMn8QnJZOlRTrAZvRTrDTrRTvJn4RTvLhvRT4Jb8RZrAZrRZ8AkrRZ8JU8RZ8LV8RZ8LnvRbJlQXRg3GboRg3MnvRg8AZ8Rg8JboRg8Jl4RnLTCbRnvFl3RnvQb8SToAl4SToCZrSToFZoSToHXrSToJU8SToJgvSToJl4SToLhrSToMX3STrAlvSTrCT9STrCgrSTrGgrSTrHXrSTrHboSTrJnoSTrNboSTvLnrST4AZoST8Ab8ST8JT8SUoJn3SU6HZ#SU6JTvSU8Db8SU8HboSU8LgrSV8JT8SZrAcrSZrAl3SZrJT8SZrJnvSZrMT8SZvLUoSZ4FZoSZ8JnoSZ8RZrScoLnrScoMT8ScoMX8ScrAT4ScrAZ8ScrLZ8ScrLkvScvDb8ScvLf8ScvNToSgrFZrShvKnrSloHUoSloLnrSlrMXoSl8HgrSmrJUoSn3BX6","ATFlOn3ATLgrDYAT4MTAnAT8LTMnAYJnRTrAbGgJnrAbLV8LnAbvNTAnAeFbLg3AgOYMXoAlQbFboAnDboAfAnJgoJTBToDgAnBUJbAl3BboDUAnCTDlvLnCTFTrSnCYoQTLnDTwAbAnDUDTrSnDUHgHgrDX8LXFnDbJXAcrETvLTLnGTFTQbrGTMnGToGT3DUFbGUJlPX3GbQg8LnGboJbFnGb3GgAYGgAg8ScGgMbAXrGgvAbAnGnJTLnvGnvATFgHTDT6ATHTrDlJnHYLnMn8HZrSbJTHZ8LTFnHbFTJUoHgSeMT8HgrLjAnHgvAbAnHlFUrDlHnDgvAnHnHTFT3HnQTGnrJTAaMXvJTGbCn3JTOgrAnJXvAXMnJbMg8SnJbMnRg3Jb8LTMnJnAl3OnJnGYrQlJnJlQY3LTDlCn3LTJjLg3LTLgvFXLTMg3GTLV8HUOgLXFZLg3LXNXrMnLX8QXFnLX9AlMYLYLXPXrLZAbJU8LZDUJU8LZMXrSnLZ$AgFnLaPXrDULbFYrMnLbMn8LXLboJgJgLeFbLg3LgLZrSnLgOYAgoLhrRnJlLkCTrSnLkOnLhrLnFX%AYLnFZoJXLnHTvJbLnLloAbMTATLf8MTHgJn3MTMXrAXMT3MTFnMUITvFnMXFX%AYMXMXvFbMXrFTDbMYAcMX3MbLf8SnMb8JbFnMgMXrMTMgvAXFnMgvGgCmMnAloSnMnFnJTrOXvMXSnOX8HTMnObJT8ScObLZFl3ObMXCZoPTLgrQXPUFnoQXPU3RXJlPX3RkQXPbrJXQlPlrJbFnQUAhrDbQXGnCXvQYLnHlvQbLfLnvRTOgvJbRXJYrQlRYLnrQlRbLnrQlRlFT8JlRlFnrQXSTClCn3STHTrAnSTLZQlrSTMnGTrSToHgGbSTrGTDnSTvGXCnST3HgFbSU3HXAXSbAnJn3SbFT8LnScLfLnv","AT3JgJX8AT8FZoSnAT8JgFV8AT8LhrDbAZ8JT8DbAb8GgLhrAb8SkLnvAe8MT8SnAlMYJXLVAl3GYDTvAl3LfLnvBUDTvLl3CTOn3HTrCT3DUGgrCU8MT8AbCbFTrJUoCgrDb8MTDTLV8JX8DTLnLXQlDT8LZrSnDUQb8FZ8DUST4JnvDb8ScOUoDj6GbJl4GTLfCYMlGToAXvFnGboAXvLnGgAcrJn3GgvFnSToGnLf8JnvGn#HTDToHTLnFXJlHTvATFToHTvHTDToHTvMTAgoHT3STClvHT4AlFl6HT8HTDToHUoDgJTrHUoScMX3HbRZrMXoHboJg8LTHgDb8JTrHgMToLf8HgvLnLnoHnHn3HT4Hn6MgvAnJTJU8ScvJT3AaQT8JT8HTrAnJXrRg8AnJbAloMXoJbrATFToJbvMnoSnJgDb6GgvJgDb8MXoJgSX3JU8JguATFToJlPYLnQlJlQkDnLbJlQlFYJlJl8Lf8OTJnCTFnLbJnLTHXMnJnLXGXCnJnoFfRg3JnrMYRg3Jn3HgFl3KT8Dg8LnLTRlFnPTLTvPbLbvLVoSbrCZLXMY6HT3LXNU7DlrLXNXDTATLX8DX8LnLZDb8JU8LZMnoLhrLZSToJU8LZrLaLnrLZvJn3SnLZ8LhrSnLaJnoMT8LbFlrHTvLbrFTLnrLbvATLlvLb6OTFn3LcLnJZOlLeAT6Mn4LeJT3ObrLg6LXFlrLhrJg8LnLhvDlPX4LhvLfLnvLj6JTFT3LnFbrMXoLnQluCTvLnrQXCY6LnvLfLnvLnvMgLnvLnvSeLf8MTMbrJn3MT3JgST3MT8AnATrMT8LULnrMUMToCZrMUScvLf8MXoDT8SnMX6ATFToMX8AXMT8MX8FkMT8MX8HTrDUMX8ScoSnMYJT6CTvMgAcrMXoMg8SToAfMlvAXLg3MnFl3AnvOT3AnFl3OUoATHT8OU3RnLXrOXrOXrSnObPbvFn6Og8HgrSnOg8OX8DbPTvAgoJgPU3RYLnrPXrDnJZrPb8CTGgvPlrLTDlvPlvFUJnoQUvFXrQlQeMnoAl3QlrQlrSnRTFTrJUoSTDlLiLXSTFg6HT3STJgoMn4STrFTJTrSTrLZFl3ST4FnMXoSUrDlHUoScvHTvSnSfLkvMXo","AUoAcrMXoAZ8HboAg8AbOg6ATFgAg8AloMXoAl3AT8JTrAl8MX8MXoCT3SToJU8Cl8Db8MXoDT8HgrATrDboOT8MXoGTOTrATMnGT8LhrAZ8GnvFnGnQXHToGgvAcrHTvAXvLl3HbrAZoMXoHgBlFXLg3HgMnFXrSnHgrSb8JUoHn6HT8LgvITvATrJUoJUoLZrRnvJU8HT8Jb8JXvFX8QT8JXvLToJTrJYrQnGnQXJgrJnoATrJnoJU8ScvJnvMnvMXoLTCTLgrJXLTJlRTvQlLbRnJlQYvLbrMb8LnvLbvFn3RnoLdCVSTGZrLeSTvGXCnLg3MnoLn3MToLlrETvMT8SToAl3MbrDU6GTvMb8LX4LhrPlrLXGXCnSToLf8Rg3STrDb8LTrSTvLTHXMnSb3RYLnMnSgOg6ATFg","HUDlGnrQXrJTrHgLnrAcJYMb8DULc8LTvFgGnCk3Mg8JbAnLX4QYvFYHnMXrRUoJnGnvFnRlvFTJlQnoSTrBXHXrLYSUJgLfoMT8Se8DTrHbDb","AbDl8SToJU8An3RbAb8ST8DUSTrGnrAgoLbFU6Db8LTrMg8AaHT8Jb8ObDl8SToJU8Pb3RlvFYoJl"];var c=null;function u(e){if(null==c&&(c=[],s.forEach((function(e,t){t+=4;for(var r=0;r=40?i=i+168-40:i>=19&&(i=i+97-19),(0,o.toUtf8String)([225,132+(i>>6),128+(63&i)]));c.push(a)}var i})),c.sort(),"0xf9eddeace9c5d3da9c93cf7d3cd38f6a13ed3affb933259ae865714e8a3ae71a"!==i.Wordlist.check(e)))throw c=null,new Error("BIP39 Wordlist for ko (Korean) FAILED")}var l=new(function(e){function t(){return e.call(this,"ko")||this}return n(t,e),t.prototype.getWord=function(e){return u(this),c[e]},t.prototype.getWordIndex=function(e){return u(this),c.indexOf(e)},t}(i.Wordlist));r.langKo=l,i.Wordlist.register(l)}}},{package:"@ethersproject/hdnode>@ethersproject/wordlists",file:"node_modules/@ethersproject/wordlists/lib/lang-ko.js"}],[565,{"./wordlist":566,"@ethersproject/strings":547},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){var a,n=this&&this.__extends||(a=function(e,t){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},a(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.langZhTw=r.langZhCn=void 0;var o=e("@ethersproject/strings"),i=e("./wordlist"),s="}aE#4A=Yv&co#4N#6G=cJ&SM#66|/Z#4t&kn~46#4K~4q%b9=IR#7l,mB#7W_X2*dl}Uo~7s}Uf&Iw#9c&cw~6O&H6&wx&IG%v5=IQ~8a&Pv#47$PR&50%Ko&QM&3l#5f,D9#4L|/H&tQ;v0~6n]nN>2),128+l.indexOf(s[3*r+1]),128+l.indexOf(s[3*r+2])];if("zh_tw"===e.locale)for(var d=a%4;d<3;d++)n[d]=l.indexOf("FAZDC6BALcLZCA+GBARCW8wNCcDDZ8LVFBOqqDUiou+M42TFAyERXFb7EjhP+vmBFpFrUpfDV2F7eB+eCltCHJFWLFCED+pWTojEIHFXc3aFn4F68zqjEuKidS1QBVPDEhE7NA4mhMF7oThD49ot3FgtzHFCK0acW1x8DH1EmLoIlrWFBLE+y5+NA3Cx65wJHTaEZVaK1mWAmPGxgYCdxwOjTDIt/faOEhTl1vqNsKtJCOhJWuio2g07KLZEQsFBUpNtwEByBgxFslFheFbiEPvi61msDvApxCzB6rBCzox7joYA5UdDc+Cb4FSgIabpXFAj3bjkmFAxCZE+mD/SFf/0ELecYCt3nLoxC6WEZf2tKDB4oZvrEmqFkKk7BwILA7gtYBpsTq//D4jD0F0wEB9pyQ1BD5Ba0oYHDI+sbDFhvrHXdDHfgFEIJLi5r8qercNFBgFLC4bo5ERJtamWBDFy73KCEb6M8VpmEt330ygCTK58EIIFkYgF84gtGA9Uyh3m68iVrFbWFbcbqiCYHZ9J1jeRPbL8yswhMiDbhEhdNoSwFbZrLT740ABEqgCkO8J1BLd1VhKKR4sD1yUo0z+FF59Mvg71CFbyEhbHSFBKEIKyoQNgQppq9T0KAqePu0ZFGrXOHdKJqkoTFhYvpDNyuuznrN84thJbsCoO6Cu6Xlvntvy0QYuAExQEYtTUBf3CoCqwgGFZ4u1HJFzDVwEy3cjcpV4QvsPaBC3rCGyCF23o4K3pp2gberGgFEJEHo4nHICtyKH2ZqyxhN05KBBJIQlKh/Oujv/DH32VrlqFdIFC7Fz9Ct4kaqFME0UETLprnN9kfy+kFmtQBB0+5CFu0N9Ij8l/VvJDh2oq3hT6EzjTHKFN7ZjZwoTsAZ4Exsko6Fpa6WC+sduz8jyrLpegTv2h1EBeYpLpm2czQW0KoCcS0bCVXCmuWJDBjN1nQNLdF58SFJ0h7i3pC3oEOKy/FjBklL70XvBEEIWp2yZ04xObzAWDDJG7f+DbqBEA7LyiR95j7MDVdDViz2RE5vWlBMv5e4+VfhP3aXNPhvLSynb9O2x4uFBV+3jqu6d5pCG28/sETByvmu/+IJ0L3wb4rj9DNOLBF6XPIODr4L19U9RRofAG6Nxydi8Bki8BhGJbBAJKzbJxkZSlF9Q2Cu8oKqggB9hBArwLLqEBWEtFowy8XK8bEyw9snT+BeyFk1ZCSrdmgfEwFePTgCjELBEnIbjaDDPJm36rG9pztcEzT8dGk23SBhXBB1H4z+OWze0ooFzz8pDBYFvp9j9tvFByf9y4EFdVnz026CGR5qMr7fxMHN8UUdlyJAzlTBDRC28k+L4FB8078ljyD91tUj1ocnTs8vdEf7znbzm+GIjEZnoZE5rnLL700Xc7yHfz05nWxy03vBB9YGHYOWxgMQGBCR24CVYNE1hpfKxN0zKnfJDmmMgMmBWqNbjfSyFCBWSCGCgR8yFXiHyEj+VtD1FB3FpC1zI0kFbzifiKTLm9yq5zFmur+q8FHqjoOBWsBPiDbnCC2ErunV6cJ6TygXFYHYp7MKN9RUlSIS8/xBAGYLzeqUnBF4QbsTuUkUqGs6CaiDWKWjQK9EJkjpkTmNCPYXL"[t++])+(0==d?228:128);c[e.locale].push((0,o.toUtf8String)(n))}if(i.Wordlist.check(e)!==u[e.locale])throw c[e.locale]=null,new Error("BIP39 Wordlist for "+e.locale+" (Chinese) FAILED")}}var g=function(e){function t(t){return e.call(this,"zh_"+t)||this}return n(t,e),t.prototype.getWord=function(e){return d(this),c[this.locale][e]},t.prototype.getWordIndex=function(e){return d(this),c[this.locale].indexOf(e)},t.prototype.split=function(e){return(e=e.replace(/(?:\u3000| )+/g,"")).split("")},t}(i.Wordlist),p=new g("cn");r.langZhCn=p,i.Wordlist.register(p),i.Wordlist.register(p,"zh");var m=new g("tw");r.langZhTw=m,i.Wordlist.register(m)}}},{package:"@ethersproject/hdnode>@ethersproject/wordlists",file:"node_modules/@ethersproject/wordlists/lib/lang-zh.js"}],[566,{"./_version":556,"@ethersproject/hash":489,"@ethersproject/logger":504,"@ethersproject/properties":510},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.Wordlist=r.logger=void 0;var a=e("@ethersproject/hash"),n=e("@ethersproject/properties"),o=e("@ethersproject/logger"),i=e("./_version");r.logger=new o.Logger(i.version);var s=function(){function e(t){var a=this.constructor;r.logger.checkAbstract(a,e),(0,n.defineReadOnly)(this,"locale",t)}return e.prototype.split=function(e){return e.toLowerCase().split(/ +/g)},e.prototype.join=function(e){return e.join(" ")},e.check=function(e){for(var t=[],r=0;r<2048;r++){var n=e.getWord(r);if(r!==e.getWordIndex(n))return"0x";t.push(n)}return(0,a.id)(t.join("\n")+"\n")},e.register=function(e,t){t||(t=e.locale)},e}();r.Wordlist=s}}},{package:"@ethersproject/hdnode>@ethersproject/wordlists",file:"node_modules/@ethersproject/wordlists/lib/wordlist.js"}],[5665,{"../../../components/component-library":4955,"../../../helpers/constants/design-system":5355,"./util":5684,"@metamask/controller-utils":1163},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.ResultTemplate=void 0;var a=e("@metamask/controller-utils"),n=e("../../../components/component-library"),o=e("../../../helpers/constants/design-system"),i=e("./util");function s(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function c(e,t,r){return function(e,t,r){if(t.set)t.set.call(e,r);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=r}}(e,u(e,t,"set"),r),r}function u(e,t,r){if(!t.has(e))throw new TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}var l=new WeakMap,d=new WeakSet;function g(e,t){const{error:r,header:s,icon:c,message:d,title:g}=e,p=function(e,t){return t.get?t.get.call(e):t.value}(m=this,u(m,l,"get"))===a.ApprovalType.ResultSuccess;var m;return[...(0,i.processHeader)(s)??[],{key:"container",element:"Box",props:{flexDirection:o.FlexDirection.Column,alignItems:o.AlignItems.center,height:o.BlockSize.Full,padding:4},children:[{key:"content",element:"Box",props:{flexDirection:o.FlexDirection.Column,alignItems:o.AlignItems.center,justifyContent:o.JustifyContent.center,height:o.BlockSize.Full,style:{alignSelf:o.AlignItems.stretch}},children:[null===c?undefined:{key:"icon",element:"AvatarIcon",props:{iconName:c??(p?n.IconName.Confirmation:n.IconName.Warning),size:n.IconSize.Xl,iconProps:{size:n.IconSize.Xl},color:p?o.IconColor.successDefault:o.IconColor.errorDefault,backgroundColor:p?o.BackgroundColor.successMuted:o.BackgroundColor.errorMuted},children:"Icon"},null===g?undefined:{key:"title",element:"Typography",props:{variant:o.TypographyVariant.H3,fontWeight:o.FontWeight.Bold},children:g??t(p?"resultPageSuccess":"resultPageError")},{key:"message",element:"Box",props:{alignItems:o.AlignItems.center,textAlign:o.TextAlign.Center,flexDirection:o.FlexDirection.Column,width:o.BlockSize.Full},children:p?(0,i.processString)(d,t("resultPageSuccessDefaultMessage")):(0,i.processError)(r,t("resultPageErrorDefaultMessage"))}]}]}]}r.ResultTemplate=class{constructor(e){var t,r;s(t=this,r=d),r.add(t),function(e,t,r){s(e,t),t.set(e,r)}(this,l,{writable:!0,value:void 0}),c(this,l,e)}getValues(e,t,r){return{content:function(e,t,r){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return r}(this,d,g).call(this,e.requestData||{},t),submitText:t("ok"),onSubmit:()=>r.resolvePendingApproval(e.id,e.requestData),networkDisplay:!1}}}}}},{package:"$root$",file:"ui/pages/confirmations/confirmation/ResultTemplate.ts"}],[567,{"./lang-cz":558,"./lang-en":559,"./lang-es":560,"./lang-fr":561,"./lang-it":562,"./lang-ja":563,"./lang-ko":564,"./lang-zh":565},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.wordlists=void 0;var a=e("./lang-cz"),n=e("./lang-en"),o=e("./lang-es"),i=e("./lang-fr"),s=e("./lang-ja"),c=e("./lang-ko"),u=e("./lang-it"),l=e("./lang-zh");r.wordlists={cz:a.langCz,en:n.langEn,es:o.langEs,fr:i.langFr,it:u.langIt,ja:s.langJa,ko:c.langKo,zh:l.langZhCn,zh_cn:l.langZhCn,zh_tw:l.langZhTw}}}},{package:"@ethersproject/hdnode>@ethersproject/wordlists",file:"node_modules/@ethersproject/wordlists/lib/wordlists.js"}],[5672,{"../../../../../shared/constants/network":4507,"../../../../../shared/modules/rpc.utils":4551,"../../../../helpers/constants/design-system":5355,"../../../../helpers/constants/routes":5361,"../../../../helpers/constants/zendesk-url":5368,"eth-rpc-errors":3257,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var a=e("eth-rpc-errors"),n=l(e("react")),o=e("../../../../../shared/constants/network"),i=e("../../../../helpers/constants/design-system"),s=e("../../../../helpers/constants/routes"),c=l(e("../../../../helpers/constants/zendesk-url")),u=e("../../../../../shared/modules/rpc.utils");function l(e){return e&&e.__esModule?e:{default:e}}const d={id:"UNRECOGNIZED_CHAIN",severity:i.Severity.Warning,content:{element:"span",children:{element:"MetaMaskTranslation",props:{translationKey:"unrecognizedChain"}}}},g={id:"SAFE_CHAIN_LIST_PROVIDER_ERROR",severity:i.Severity.Warning,content:{element:"span",children:{element:"MetaMaskTranslation",props:{translationKey:"errorGettingSafeChainList"}}}},p={id:"MISMATCHED_CHAIN_RECOMMENDATION",severity:i.Severity.Warning,content:{element:"span",children:{element:"MetaMaskTranslation",props:{translationKey:"mismatchedChainRecommendation",variables:[{element:"a",key:"mismatchedChainLink",props:{href:c.default.VERIFY_CUSTOM_NETWORK,target:"__blank",tabIndex:0},children:{element:"MetaMaskTranslation",props:{translationKey:"mismatchedChainLinkText"}}}]}}}},m={id:"MISMATCHED_NETWORK_NAME",severity:i.Severity.Warning,content:{element:"span",children:{element:"MetaMaskTranslation",props:{translationKey:"mismatchedNetworkName"}}}},h={id:"MISMATCHED_NETWORK_SYMBOL",severity:i.Severity.Danger,content:{element:"span",children:{element:"MetaMaskTranslation",props:{translationKey:"mismatchedNetworkSymbol"}}}},T={id:"MISMATCHED_NETWORK_RPC",severity:i.Severity.Danger,content:{element:"span",children:{element:"MetaMaskTranslation",props:{translationKey:"mismatchedRpcUrl"}}}},f={id:"MISMATCHED_NETWORK_RPC_CHAIN_ID",severity:i.Severity.Danger,content:{element:"span",children:{element:"MetaMaskTranslation",props:{translationKey:"mismatchedRpcChainId"}}}},S={id:"ERROR_CONNECTING_TO_RPC",severity:i.Severity.Danger,content:{element:"span",children:{element:"MetaMaskTranslation",props:{translationKey:"errorWhileConnectingToRPC"}}}};const A={getAlerts:async function(e,t){const r=[];if("metamask"===e.origin&&Boolean(t.matchedChain))return[];if(t.matchedChain){var a,n,o,i;(null===(a=t.matchedChain.name)||void 0===a?void 0:a.toLowerCase())!==e.requestData.chainName.toLowerCase()&&r.push(m),(null===(n=t.matchedChain.nativeCurrency)||void 0===n||null===(n=n.symbol)||void 0===n?void 0:n.toLowerCase())!==(null===(o=e.requestData.ticker)||void 0===o?void 0:o.toLowerCase())&&r.push(h);const{origin:s}=new URL(e.requestData.rpcUrl);null!==(i=t.matchedChain.rpc)&&void 0!==i&&i.map((e=>new URL(e).origin)).includes(s)||r.push(T)}return!t.matchedChain&&t.useSafeChainsListValidation&&(t.providerError?r.push(g):r.push(d)),r.length&&r.push(p),r},getValues:function(e,t,r,l,d){var g;const p="metamask"===e.origin,m=e.requestData.rpcUrl;return{content:[{hide:!p,element:"Box",key:"network-box",props:{textAlign:i.TextAlign.Center,display:i.Display.Flex,justifyContent:i.JustifyContent.center,marginTop:4,marginBottom:2},children:[{element:"Chip",key:"network-chip",props:{label:e.requestData.chainName,backgroundColor:i.BackgroundColor.backgroundAlternative,leftIconUrl:e.requestData.imageUrl}}]},{element:"Typography",key:"title",children:t(p?"wantToAddThisNetwork":"addEthereumChainConfirmationTitle"),props:{variant:i.TypographyVariant.H3,align:"center",fontWeight:"bold",boxProps:{margin:[0,0,4]}}},{element:"Typography",key:"description",children:t("addEthereumChainConfirmationDescription"),props:{variant:i.TypographyVariant.H7,align:"center",boxProps:{margin:p?[0,8,4]:[0,0,4]}}},{element:"Typography",key:"only-add-networks-you-trust",children:[{element:"b",key:"bolded-text",props:{style:{display:p&&"-webkit-box"}},children:[`${t("addEthereumChainConfirmationRisks")} `,{hide:!p,element:"Tooltip",key:"tooltip-info",props:{position:"bottom",interactive:!0,trigger:"mouseenter",html:n.default.createElement("div",{style:{width:"180px",margin:"16px",textAlign:"left"}},t("someNetworksMayPoseSecurity")," ",n.default.createElement("a",{key:"zendesk_page_link",href:c.default.UNKNOWN_NETWORK,rel:"noreferrer",target:"_blank",style:{color:"var(--color-primary-default)"}},t("learnMoreUpperCase")))},children:[{element:"i",key:"info-circle",props:{className:"fas fa-info-circle",style:{marginLeft:"4px",color:"var(--color-icon-default)"}}}]}]},{element:"MetaMaskTranslation",key:"learn-about-risks",props:{translationKey:"addEthereumChainConfirmationRisksLearnMore",variables:[{element:"a",children:t("addEthereumChainConfirmationRisksLearnMoreLink"),key:"addEthereumChainConfirmationRisksLearnMoreLink",props:{href:c.default.USER_GUIDE_CUSTOM_NETWORKS,target:"__blank"}}]}}],props:{variant:i.TypographyVariant.H7,boxProps:{margin:p?[0,8]:0,display:i.Display.Flex,flexDirection:i.FlexDirection.Column,alignItems:i.AlignItems.center}}},{element:"TruncatedDefinitionList",key:"network-details",props:{title:t("networkDetails"),tooltips:{[t("networkName")]:t("networkNameDefinition"),[t("networkURL")]:t("networkURLDefinition"),[t("chainId")]:t("chainIdDefinition"),[t("currencySymbol")]:t("currencySymbolDefinition"),[t("blockExplorerUrl")]:t("blockExplorerUrlDefinition")},warnings:{[t("currencySymbol")]:d.currencySymbolWarning},dictionary:{[t("networkName")]:e.requestData.chainName,[t("networkURL")]:null!==(g=e.requestData.rpcUrl.toLowerCase())&&void 0!==g&&g.includes(`/v3/${o.infuraProjectId}`)?e.requestData.rpcUrl.replace(`/v3/${o.infuraProjectId}`,"").toLowerCase():e.requestData.rpcUrl.toLowerCase(),[t("chainId")]:parseInt(e.requestData.chainId,16),[t("currencySymbol")]:e.requestData.ticker,[t("blockExplorerUrl")]:e.requestData.rpcPrefs.blockExplorerUrl},prefaceKeys:[t("networkName"),t("networkURL"),t("chainId"),t("currencySymbol")]}}],cancelText:t("cancel"),submitText:t("approveButtonText"),loadingText:t("addingCustomNetwork"),onSubmit:async()=>{let t;try{t=await(0,u.jsonRpcRequest)(m,"eth_chainId")}catch(e){return console.error(`Request for method 'eth_chainId on ${m} failed`),[S]}if(e.requestData.chainId!==t)return console.error(`Chain ID returned by RPC URL ${m} does not match ${t}`),[f];if(await r.resolvePendingApproval(e.id,e.requestData),p){const t=await r.upsertNetworkConfiguration({...e.requestData,nickname:e.requestData.chainName},{setActive:!1,source:e.requestData.source});await r.setNewNetworkAdded({networkConfigurationId:t,nickname:e.requestData.chainName}),l.push(s.DEFAULT_ROUTE)}return[]},onCancel:()=>r.rejectPendingApproval(e.id,a.ethErrors.provider.userRejectedRequest().serialize()),networkDisplay:!p}},getState:function(e){return 1===parseInt(e.requestData.chainId,16)?{useWarningModal:!0}:{}}};r.default=A}}},{package:"$root$",file:"ui/pages/confirmations/confirmation/templates/add-ethereum-chain.js"}],[5673,{"../../../../../shared/constants/metametrics":4505},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var a=e("../../../../../shared/constants/metametrics");const n={getValues:function(e,t,r,n,o,i){const{origin:s,snapName:c}=e,{trackEvent:u}=i,l=e=>{u({event:e,category:a.MetaMetricsEventCategory.Accounts,properties:{account_type:a.MetaMetricsEventAccountType.Snap,snap_id:s,snap_name:c}})};return{content:[{element:"CreateSnapAccount",key:"create-snap-account",props:{snapId:s,snapName:c}}],cancelText:t("cancel"),submitText:t("create"),onLoad:()=>l(a.MetaMetricsEventName.AddSnapAccountViewed),onSubmit:()=>{l(a.MetaMetricsEventName.AddSnapAccountConfirmed),r.resolvePendingApproval(e.id,!0)},onCancel:()=>{l(a.MetaMetricsEventName.AddSnapAccountCanceled),r.resolvePendingApproval(e.id,!1)}}}};r.default=n}}},{package:"$root$",file:"ui/pages/confirmations/confirmation/templates/create-snap-account.js"}],[5674,{"../ResultTemplate":5665,"@metamask/controller-utils":1163},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var a=e("@metamask/controller-utils");const n=new(e("../ResultTemplate").ResultTemplate)(a.ApprovalType.ResultError),o={getValues:n.getValues.bind(n)};r.default=o}}},{package:"$root$",file:"ui/pages/confirmations/confirmation/templates/error.js"}],[5675,{"../../../../../shared/constants/app":4493,"../../../../store/actions":5998,"./add-ethereum-chain":5672,"./create-snap-account":5673,"./error":5674,"./remove-snap-account":5676,"./smart-transaction-status-page":5677,"./snap-account-redirect":5678,"./snaps/snap-alert/snap-alert":5679,"./snaps/snap-confirmation/snap-confirmation":5680,"./snaps/snap-prompt/snap-prompt":5681,"./success":5682,"./switch-ethereum-chain":5683,"@metamask/controller-utils":1163,lodash:3836},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.TEMPLATED_CONFIRMATION_APPROVAL_TYPES=r.PRIORITY_APPROVAL_TEMPLATE_TYPES=void 0,r.getTemplateAlerts=async function(e,t){var r;const a=null===(r=A[e.type])||void 0===r?void 0:r.getAlerts,n=a?await a(e,t):[];if(!Array.isArray(n))throw new Error(`Template alerts must be an array, received: ${n}`);if(n.some((e=>(null==e?void 0:e.id)===undefined)))throw new Error(`Template alert entries must be objects with an id key. Received: ${n}`);return n},r.getTemplateState=async function(e){var t;const r=(null===(t=A[e.type])||void 0===t?void 0:t.getState)??v,a=await r(e);if("object"!=typeof a||Array.isArray(a))throw new Error(`Template state must be an object, received: ${a}`);if(null===a||a===undefined)return{};return a},r.getTemplateValues=function(e,t,r,n,i,s){var c;const u=null===(c=A[e.type])||void 0===c?void 0:c.getValues;if(!u)throw new Error(`MESSAGE_TYPE: '${e.type}' is not specified in approval templates`);const l=function(e){return{rejectPendingApproval:(...t)=>e((0,o.rejectPendingApproval)(...t)),resolvePendingApproval:(...t)=>e((0,o.resolvePendingApproval)(...t)),upsertNetworkConfiguration:(...t)=>e((0,o.upsertNetworkConfiguration)(...t)),setNewNetworkAdded:(...t)=>e((0,o.setNewNetworkAdded)(...t)),deleteInterface:(...t)=>e((0,o.deleteInterface)(...t))}}(r),d=u(e,t,l,n,i,s),g=(0,a.omit)(d,y),p=(0,a.pick)(d,y);if(g.length>0)throw new Error(`Received extraneous keys from ${e.type}.getValues. These keys are not passed to the confirmation page: ${Object.keys(g)}`);return p};var a=e("lodash"),n=e("@metamask/controller-utils"),o=e("../../../../store/actions"),i=e("../../../../../shared/constants/app"),s=S(e("./smart-transaction-status-page")),c=S(e("./create-snap-account")),u=S(e("./remove-snap-account")),l=S(e("./snap-account-redirect")),d=S(e("./add-ethereum-chain")),g=S(e("./switch-ethereum-chain")),p=S(e("./success")),m=S(e("./error")),h=S(e("./snaps/snap-alert/snap-alert")),T=S(e("./snaps/snap-confirmation/snap-confirmation")),f=S(e("./snaps/snap-prompt/snap-prompt"));function S(e){return e&&e.__esModule?e:{default:e}}r.PRIORITY_APPROVAL_TEMPLATE_TYPES=[i.SMART_TRANSACTION_CONFIRMATION_TYPES.showSmartTransactionStatusPage];const A={[n.ApprovalType.AddEthereumChain]:d.default,[n.ApprovalType.SwitchEthereumChain]:g.default,[n.ApprovalType.ResultSuccess]:p.default,[n.ApprovalType.ResultError]:m.default,[i.SMART_TRANSACTION_CONFIRMATION_TYPES.showSmartTransactionStatusPage]:s.default,[n.ApprovalType.SnapDialogAlert]:h.default,[n.ApprovalType.SnapDialogConfirmation]:T.default,[n.ApprovalType.SnapDialogPrompt]:f.default,[i.SNAP_MANAGE_ACCOUNTS_CONFIRMATION_TYPES.confirmAccountCreation]:c.default,[i.SNAP_MANAGE_ACCOUNTS_CONFIRMATION_TYPES.confirmAccountRemoval]:u.default,[i.SNAP_MANAGE_ACCOUNTS_CONFIRMATION_TYPES.showSnapAccountRedirect]:l.default},y=(r.TEMPLATED_CONFIRMATION_APPROVAL_TYPES=Object.keys(A),["cancelText","content","onLoad","onCancel","onSubmit","networkDisplay","submitText","loadingText","hideSubmitButton"]);async function v(){return{}}}}},{package:"$root$",file:"ui/pages/confirmations/confirmation/templates/index.js"}],[5676,{"../../../../../shared/constants/metametrics":4505},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var a=e("../../../../../shared/constants/metametrics");const n={getValues:function(e,t,r,n,o,i){const{origin:s,snapName:c}=e,{publicAddress:u}=e.requestData,{trackEvent:l}=i,d=e=>{l({event:e,category:a.MetaMetricsEventCategory.Accounts,properties:{account_type:a.MetaMetricsEventAccountType.Snap,snap_id:s,snap_name:c}})};return{content:[{element:"RemoveSnapAccount",key:"remove-snap-account",props:{snapId:s,snapName:c,publicAddress:u}}],cancelText:t("cancel"),submitText:t("remove"),onLoad:()=>d(a.MetaMetricsEventName.RemoveSnapAccountViewed),onSubmit:()=>{d(a.MetaMetricsEventName.RemoveSnapAccountConfirmed),r.resolvePendingApproval(e.id,!0)},onCancel:()=>{d(a.MetaMetricsEventName.RemoveSnapAccountCanceled),r.resolvePendingApproval(e.id,!1)}}}};r.default=n}}},{package:"$root$",file:"ui/pages/confirmations/confirmation/templates/remove-snap-account.js"}],[5677,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;const a={getValues:function(e,t,r,a){const{id:n,requestState:o}=e;return{content:[{element:"SmartTransactionStatusPage",key:"smart-transaction-status-page",props:{requestState:o,onCloseExtension:()=>{r.resolvePendingApproval(n,!0)},onViewActivity:()=>{r.resolvePendingApproval(n,!0)}}}],hideSubmitButton:!0}}};r.default=a}}},{package:"$root$",file:"ui/pages/confirmations/confirmation/templates/smart-transaction-status-page.js"}],[5678,{"../../../../../shared/constants/metametrics":4505},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var a=e("../../../../../shared/constants/metametrics");const n={getValues:function(e,t,r,n,o,i){const{origin:s,snapName:c}=e,{url:u,message:l,isBlockedUrl:d}=e.requestData,{trackEvent:g}=i,p=e=>{g({event:e,category:a.MetaMetricsEventCategory.Transactions,properties:{account_type:a.MetaMetricsEventAccountType.Snap,snap_id:s,snap_name:c}})},m=a=>u!==undefined&&null!==u&&u.length>0&&!1===d?{submitText:t("goToSite"),onSubmit:()=>{p(a),r.resolvePendingApproval(e.id,!0)}}:{};return{content:[{element:"SnapAccountRedirect",key:"snap-account-redirect",props:{url:u,message:l,snapId:s,snapName:c,isBlockedUrl:d,...m(a.MetaMetricsEventName.SnapAccountTransactionFinalizeRedirectSnapUrlClicked)}}],cancelText:t("close"),onLoad:()=>p(a.MetaMetricsEventName.SnapAccountTransactionFinalizeViewed),onCancel:()=>{p(a.MetaMetricsEventName.SnapAccountTransactionFinalizeClosed),r.resolvePendingApproval(e.id,!1)},...m(a.MetaMetricsEventName.SnapAccountTransactionFinalizeRedirectGoToSiteClicked)}}};r.default=n}}},{package:"$root$",file:"ui/pages/confirmations/confirmation/templates/snap-account-redirect.js"}],[5679,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;const a={getValues:function(e,t,r){const{requestData:{id:a}}=e;return{submitText:t("ok").toUpperCase(),onSubmit:()=>{r.resolvePendingApproval(e.id,null),r.deleteInterface(a)}}}};r.default=a}}},{package:"$root$",file:"ui/pages/confirmations/confirmation/templates/snaps/snap-alert/snap-alert.js"}],[5680,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;const a={getValues:function(e,t,r){const{requestData:{id:a}}=e;return{cancelText:t("reject"),submitText:t("approveButtonText"),onSubmit:()=>{r.resolvePendingApproval(e.id,!0),r.deleteInterface(a)},onCancel:()=>{r.resolvePendingApproval(e.id,!1),r.deleteInterface(a)}}}};r.default=a}}},{package:"$root$",file:"ui/pages/confirmations/confirmation/templates/snaps/snap-confirmation/snap-confirmation.js"}],[5681,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;const a={getValues:function(e,t,r){const{requestData:{id:a}}=e;return{cancelText:t("cancel"),submitText:t("submit"),onSubmit:t=>{r.resolvePendingApproval(e.id,t),r.deleteInterface(a)},onCancel:()=>{r.resolvePendingApproval(e.id,null),r.deleteInterface(a)}}}};r.default=a}}},{package:"$root$",file:"ui/pages/confirmations/confirmation/templates/snaps/snap-prompt/snap-prompt.js"}],[5682,{"../ResultTemplate":5665,"@metamask/controller-utils":1163},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var a=e("@metamask/controller-utils");const n=new(e("../ResultTemplate").ResultTemplate)(a.ApprovalType.ResultSuccess),o={getValues:n.getValues.bind(n)};r.default=o}}},{package:"$root$",file:"ui/pages/confirmations/confirmation/templates/success.js"}],[5683,{"../../../../helpers/constants/design-system":5355,"eth-rpc-errors":3257},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var a=e("eth-rpc-errors"),n=e("../../../../helpers/constants/design-system");const o={id:"PENDING_TX_DROP_NOTICE",severity:n.SEVERITIES.WARNING,content:{element:"span",children:{element:"MetaMaskTranslation",props:{translationKey:"switchingNetworksCancelsPendingConfirmations"}}}};const i={getAlerts:async function(e,t){const r=[];return t.unapprovedTxsCount>0&&r.push(o),r},getValues:function(e,t,r){return{content:[{element:"Typography",key:"title",children:t("switchEthereumChainConfirmationTitle"),props:{variant:n.TypographyVariant.H3,align:"center",fontWeight:"normal",boxProps:{margin:[0,0,2],padding:[0,4,0,4]}}},{element:"Typography",key:"description",children:t("switchEthereumChainConfirmationDescription"),props:{variant:n.TypographyVariant.H7,color:n.TextColor.textAlternative,align:"center",boxProps:{padding:[0,4,0,4]}}},{element:"Box",key:"status-box",props:{justifyContent:n.JustifyContent.center},children:{element:"ConfirmationNetworkSwitch",key:"network-being-switched",props:{toNetwork:e.requestData.toNetworkConfiguration,fromNetwork:e.requestData.fromNetworkConfiguration}}}],cancelText:t("cancel"),submitText:t("switchNetwork"),onSubmit:()=>r.resolvePendingApproval(e.id,e.requestData.toNetworkConfiguration),onCancel:()=>r.rejectPendingApproval(e.id,a.ethErrors.provider.userRejectedRequest().serialize()),networkDisplay:!0}}};r.default=i}}},{package:"$root$",file:"ui/pages/confirmations/confirmation/templates/switch-ethereum-chain.js"}],[5684,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){function a(e){return e===undefined?undefined:"string"==typeof e?e:Array.isArray(e)?e.map(a):{key:e.key,element:e.name,props:e.properties,children:a(e.children)}}Object.defineProperty(r,"__esModule",{value:!0}),r.processError=function(e,t){const r=a(e)||t;if("string"!=typeof r)return r;return{key:"error",element:"ActionableMessage",props:{type:"danger",message:r}}},r.processHeader=function(e){return a(e)},r.processString=function(e,t){const r=a(e)||t;if("string"!=typeof r)return r;return n=r,function(e,t,r){let a=0,n=0;const o=Array.from(e.matchAll(t)),i=[];for(const t of o){const o=e.substring(a,t.index);o.length&&i.push(o);const s=r(t[1],n);i.push(s),a=t.index+t[0].length,n+=1}const s=e.substring(a);return s.length&&i.push(s),i}(n,/\*\*(.+?)\*\*/gu,((e,t)=>({key:`bold-${t}`,element:"b",children:e})));var n}}}},{package:"$root$",file:"ui/pages/confirmations/confirmation/util.ts"}],[5716,{"../../../selectors/approvals":5983,"../utils":5725,"@metamask/controller-utils":1163},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.currentSignatureRequestSecurityResponseSelector=r.currentConfirmationSelector=r.confirmSelector=void 0,r.latestPendingConfirmationSelector=function(e){return s(e).sort(((e,t)=>t.time-e.time))[0]},r.pendingConfirmationsSelector=s,r.pendingConfirmationsSortedSelector=function(e){return(0,n.getPendingApprovals)(e).filter((({type:e})=>i.includes(e))).sort(((e,t)=>e.time-t.time))};var a=e("@metamask/controller-utils"),n=e("../../../selectors/approvals"),o=e("../utils");const i=[a.ApprovalType.EthSign,a.ApprovalType.PersonalSign,a.ApprovalType.EthSignTypedData,a.ApprovalType.Transaction];function s(e){return(0,n.getPendingApprovals)(e).filter((({type:e})=>i.includes(e)))}r.confirmSelector=e=>e.confirm;const c=e=>e.confirm.currentConfirmation;r.currentConfirmationSelector=c;r.currentSignatureRequestSecurityResponseSelector=e=>{var t,r;const a=c(e);if(!a||!(0,o.isSignatureTransactionType)(a))return undefined;const n=null==a||null===(t=a.securityAlertResponse)||void 0===t?void 0:t.securityAlertId;return null===(r=e.metamask.signatureSecurityAlertResponses)||void 0===r?void 0:r[n]}}}},{package:"$root$",file:"ui/pages/confirmations/selectors/confirm.ts"}],[5721,{"../../../../shared/constants/common":4495,"../../../../shared/constants/gas":4500,"../../../../shared/modules/Numeric":4533},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.TOKEN_TRANSFER_FUNCTION_SIGNATURE=r.SWAPS_QUOTES_ERROR=r.SWAPS_NO_QUOTES=r.REQUIRED_ERROR=r.RECIPIENT_TYPES=r.NO_RESOLUTION_FOR_DOMAIN=r.NFT_TRANSFER_FROM_FUNCTION_SIGNATURE=r.NFT_SAFE_TRANSFER_FROM_FUNCTION_SIGNATURE=r.NEGATIVE_OR_ZERO_AMOUNT_TOKENS_ERROR=r.NEGATIVE_ETH_ERROR=r.MIN_GAS_TOTAL=r.MIN_GAS_PRICE_HEX=r.MIN_GAS_PRICE_GWEI=r.MIN_GAS_PRICE_DEC=r.MIN_GAS_LIMIT_DEC=r.MAX_GAS_LIMIT_DEC=r.KNOWN_RECIPIENT_ADDRESS_WARNING=r.INVALID_RECIPIENT_ADDRESS_NOT_ETH_NETWORK_ERROR=r.INVALID_RECIPIENT_ADDRESS_ERROR=r.INSUFFICIENT_TOKENS_ERROR=r.INSUFFICIENT_FUNDS_FOR_GAS_ERROR=r.INSUFFICIENT_FUNDS_ERROR=r.HIGH_FEE_WARNING_MULTIPLIER=r.FLOAT_TOKENS_ERROR=r.ENS_UNKNOWN_ERROR=r.ENS_REGISTRATION_ERROR=r.ENS_NO_ADDRESS_FOR_NAME=r.ENS_NOT_FOUND_ON_NETWORK=r.ENS_ILLEGAL_CHARACTER=r.DOMAIN_NOT_SUPPORTED_ON_NETWORK=r.CONTRACT_ADDRESS_ERROR=r.CONFUSING_ENS_ERROR=void 0;var a=e("../../../../shared/constants/gas"),n=e("../../../../shared/modules/Numeric"),o=e("../../../../shared/constants/common");const i=r.MIN_GAS_PRICE_DEC="0",s=r.MIN_GAS_PRICE_HEX=parseInt(i,10).toString(16);r.MIN_GAS_LIMIT_DEC=new n.Numeric("21000",10),r.MAX_GAS_LIMIT_DEC="7920027",r.HIGH_FEE_WARNING_MULTIPLIER=1.5,r.MIN_GAS_PRICE_GWEI=new n.Numeric(s,16,o.EtherDenomination.WEI).toDenomination(o.EtherDenomination.GWEI).round(1).toPrefixedHexString(),r.MIN_GAS_TOTAL=new n.Numeric(a.MIN_GAS_LIMIT_HEX,16).times(new n.Numeric(s,16,o.EtherDenomination.WEI)).toPrefixedHexString(),r.TOKEN_TRANSFER_FUNCTION_SIGNATURE="0xa9059cbb",r.NFT_TRANSFER_FROM_FUNCTION_SIGNATURE="0x23b872dd",r.NFT_SAFE_TRANSFER_FROM_FUNCTION_SIGNATURE="0xf242432a",r.INSUFFICIENT_FUNDS_ERROR="insufficientFunds",r.INSUFFICIENT_FUNDS_FOR_GAS_ERROR="insufficientFundsForGas",r.INSUFFICIENT_TOKENS_ERROR="insufficientTokens",r.NEGATIVE_ETH_ERROR="negativeETH",r.NEGATIVE_OR_ZERO_AMOUNT_TOKENS_ERROR="negativeOrZeroAmountToken",r.FLOAT_TOKENS_ERROR="floatAmountToken",r.INVALID_RECIPIENT_ADDRESS_ERROR="invalidAddressRecipient",r.INVALID_RECIPIENT_ADDRESS_NOT_ETH_NETWORK_ERROR="invalidAddressRecipientNotEthNetwork",r.REQUIRED_ERROR="required",r.KNOWN_RECIPIENT_ADDRESS_WARNING="knownAddressRecipient",r.CONTRACT_ADDRESS_ERROR="contractAddressError",r.CONFUSING_ENS_ERROR="confusingEnsDomain",r.ENS_NO_ADDRESS_FOR_NAME="noAddressForName",r.ENS_NOT_FOUND_ON_NETWORK="ensNotFoundOnCurrentNetwork",r.ENS_ILLEGAL_CHARACTER="ensIllegalCharacter",r.ENS_UNKNOWN_ERROR="ensUnknownError",r.ENS_REGISTRATION_ERROR="ensRegistrationError",r.DOMAIN_NOT_SUPPORTED_ON_NETWORK="domainNotSupportedOnNetwork",r.NO_RESOLUTION_FOR_DOMAIN="noDomainResolution",r.SWAPS_NO_QUOTES="swapQuotesNotAvailableErrorTitle",r.SWAPS_QUOTES_ERROR="swapFetchingQuotesErrorTitle",r.RECIPIENT_TYPES={SMART_CONTRACT:"SMART_CONTRACT",NON_CONTRACT:"NON_CONTRACT"}}}},{package:"$root$",file:"ui/pages/confirmations/send/send.constants.js"}],[5722,{"../../../../app/scripts/lib/util":120,"../../../../shared/constants/transaction":4520,"../../../../shared/modules/Numeric":4533,"./send.constants":5721,"@metamask/abi-utils":1058},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.addGasBuffer=function(e,t,r=1.5){const a=new i.Numeric(e,16),n=new i.Numeric(t,16).times(new i.Numeric(.9,10)).round(0),o=a.times(new i.Numeric(r,10)).round(0);if(a.greaterThanOrEqualTo(n))return e;if(o.lessThan(n))return o.toString();return n.toString()},r.ellipsify=function(e,t=6,r=4){if(!e)return"";return`${e.slice(0,t)}...${e.slice(-r)}`},r.generateERC1155TransferData=l,r.generateERC20TransferData=c,r.generateERC721TransferData=u,r.getAssetTransferData=function({sendToken:e,fromAddress:t,toAddress:r,amount:a}){switch(e.standard){case o.TokenStandard.ERC721:return u({toAddress:r,fromAddress:t,tokenId:e.tokenId});case o.TokenStandard.ERC1155:return l({toAddress:r,fromAddress:t,tokenId:e.tokenId});case o.TokenStandard.ERC20:default:return c({toAddress:r,amount:a,sendToken:e})}},r.isBalanceSufficient=function({amount:e="0x0",balance:t="0x0",conversionRate:r=1,gasTotal:a="0x0",primaryCurrency:n}){let o=new i.Numeric(e,16).add(new i.Numeric(a,16)),s=new i.Numeric(t,16);null!=n&&(o=o.applyConversionRate(r),s=s.applyConversionRate(r));return s.greaterThanOrEqualTo(o)},r.isERC1155BalanceSufficient=function({amount:e="0",tokenBalance:t}){const r=new i.Numeric(e,16);return new i.Numeric(t,10).greaterThanOrEqualTo(r)},r.isTokenBalanceSufficient=function({amount:e="0x0",tokenBalance:t,decimals:r}){const a=new i.Numeric(e,16).shiftedBy(r);return new i.Numeric(t,16).greaterThanOrEqualTo(a)};var a=e("@metamask/abi-utils"),n=e("../../../../app/scripts/lib/util"),o=e("../../../../shared/constants/transaction"),i=e("../../../../shared/modules/Numeric"),s=e("./send.constants");function c({toAddress:e="0x0",amount:t="0x0",sendToken:r}){return r?s.TOKEN_TRANSFER_FUNCTION_SIGNATURE+Array.prototype.map.call((0,a.encode)(["address","uint256"],[(0,n.addHexPrefix)(e),(0,n.addHexPrefix)(t)]),(e=>`00${e.toString(16)}`.slice(-2))).join(""):undefined}function u({toAddress:e="0x0",fromAddress:t="0x0",tokenId:r}){return r?s.NFT_TRANSFER_FROM_FUNCTION_SIGNATURE+Array.prototype.map.call((0,a.encode)(["address","address","uint256"],[(0,n.addHexPrefix)(t),(0,n.addHexPrefix)(e),BigInt(r)]),(e=>`00${e.toString(16)}`.slice(-2))).join(""):undefined}function l({toAddress:e="0x0",fromAddress:t="0x0",tokenId:r,amount:o="1",data:i="0"}){return r?s.NFT_SAFE_TRANSFER_FROM_FUNCTION_SIGNATURE+Array.prototype.map.call((0,a.encode)(["address","address","uint256","uint256","bytes"],[(0,n.addHexPrefix)(t),(0,n.addHexPrefix)(e),BigInt(r),(0,n.addHexPrefix)(o),(0,n.addHexPrefix)(i)]),(e=>`00${e.toString(16)}`.slice(-2))).join(""):undefined}}}},{package:"$root$",file:"ui/pages/confirmations/send/send.utils.js"}],[5724,{"../../../helpers/utils/util":5399,"@metamask/controller-utils":1163,"@metamask/transaction-controller":2234},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.parseTypedDataMessage=r.parseSanitizeTypedDataMessage=r.isSignatureTransactionType=r.isSignatureApprovalRequest=r.isSIWESignatureRequest=r.REDESIGN_TRANSACTION_TYPES=r.REDESIGN_APPROVAL_TYPES=void 0;var a=e("@metamask/controller-utils"),n=e("@metamask/transaction-controller"),o=e("../../../helpers/utils/util");r.REDESIGN_APPROVAL_TYPES=[a.ApprovalType.EthSignTypedData,a.ApprovalType.PersonalSign],r.REDESIGN_TRANSACTION_TYPES=[];const i=[a.ApprovalType.EthSign,a.ApprovalType.PersonalSign,a.ApprovalType.EthSignTypedData];r.isSignatureApprovalRequest=e=>i.includes(e.type);const s=[n.TransactionType.personalSign,n.TransactionType.signTypedData];r.isSignatureTransactionType=e=>e&&s.includes(e.type);const c=e=>JSON.parse(e);r.parseTypedDataMessage=c;r.parseSanitizeTypedDataMessage=e=>{const{message:t,primaryType:r,types:a}=c(e);return{sanitizedMessage:(0,o.sanitizeMessage)(t,r,a),primaryType:r}};r.isSIWESignatureRequest=e=>{var t;return null===(t=e.msgParams)||void 0===t||null===(t=t.siwe)||void 0===t?void 0:t.isSIWEMessage}}}},{package:"$root$",file:"ui/pages/confirmations/utils/confirm.ts"}],[5725,{"./confirm":5724},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var a=e("./confirm");Object.keys(a).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in r&&r[e]===a[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return a[e]}}))}))}}},{package:"$root$",file:"ui/pages/confirmations/utils/hybrid-compute-sdk.ts"}],[575,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var a=function(e,t,r){var a=Math.floor(r()*e.prob.length);return t[r()=0;s--)a[s]<1?o.push(s):i.push(s);for(;o.length>0&&i.length>0;){var c=o.pop(),u=i.pop();n.prob[c]=a[c],n.alias[c]=u,a[u]=a[u]+a[c]-1,a[u]<1?o.push(u):i.push(u)}for(;i.length>0;)n.prob[i.pop()]=1;for(;o.length>0;)n.prob[o.pop()]=1;return n}(e,n);return{next:function(e){return void 0===e&&(e=1),function(e,t,r,n){if(void 0===n&&(n=1),1===n)return a(e,t,r);for(var o=[],i=0;i@keystonehq/alias-sampling",file:"node_modules/@keystonehq/alias-sampling/dist/cjs/index.js"}],[579,{"@ethereumjs/util":438,"@keystonehq/bc-ur-registry":601,buffer:3028,hdkey:3626,uuid:4424},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(t){(function(){Object.defineProperty(r,"__esModule",{value:!0});var a,n=e("@keystonehq/bc-ur-registry"),o=e("uuid"),i=(a=e("hdkey"))&&"object"==typeof a&&"default"in a?a.default:a,s=e("@ethereumjs/util");const c={ETH_SIGN_REQUEST:new n.RegistryType("eth-sign-request",401),ETH_SIGNATURE:new n.RegistryType("eth-signature",402),ETH_NFT_ITEM:new n.RegistryType("eth-nft-item",403)},{decodeToDataItem:u,RegistryTypes:l}=n.extend;var d,g;!function(e){e[e.requestId=1]="requestId",e[e.signData=2]="signData",e[e.dataType=3]="dataType",e[e.chainId=4]="chainId",e[e.derivationPath=5]="derivationPath",e[e.address=6]="address",e[e.origin=7]="origin"}(d||(d={})),(g=r.DataType||(r.DataType={}))[g.transaction=1]="transaction",g[g.typedData=2]="typedData",g[g.personalMessage=3]="personalMessage",g[g.typedTransaction=4]="typedTransaction";class p extends n.RegistryItem{constructor(e){super(),this.getRegistryType=()=>c.ETH_SIGN_REQUEST,this.getRequestId=()=>this.requestId,this.getSignData=()=>this.signData,this.getDataType=()=>this.dataType,this.getChainId=()=>this.chainId,this.getDerivationPath=()=>this.derivationPath.getPath(),this.getSourceFingerprint=()=>this.derivationPath.getSourceFingerprint(),this.getSignRequestAddress=()=>this.address,this.getOrigin=()=>this.origin,this.toDataItem=()=>{const e={};this.requestId&&(e[d.requestId]=new n.DataItem(this.requestId,l.UUID.getTag())),this.address&&(e[d.address]=this.address),this.chainId&&(e[d.chainId]=Number(this.chainId)),this.origin&&(e[d.origin]=this.origin),e[d.signData]=this.signData,e[d.dataType]=this.dataType;const t=this.derivationPath.toDataItem();return t.setTag(this.derivationPath.getRegistryType().getTag()),e[d.derivationPath]=t,new n.DataItem(e)},this.requestId=e.requestId,this.signData=e.signData,this.dataType=e.dataType,this.chainId=e.chainId,this.derivationPath=e.derivationPath,this.address=e.address,this.origin=e.origin}static constructETHRequest(e,r,a,i,s,c,u,l){const d=a.replace(/[m|M]\//,"").split("/"),g=new n.CryptoKeypath(d.map((e=>{const t=parseInt(e.replace("'",""));let r=!1;return e.endsWith("'")&&(r=!0),new n.PathComponent({index:t,hardened:r})})),t.from(i,"hex"));return new p({requestId:s?t.from(o.parse(s)):undefined,signData:e,dataType:r,derivationPath:g,chainId:c,address:u?t.from(u.replace("0x",""),"hex"):undefined,origin:l||undefined})}}p.fromDataItem=e=>{const t=e.getData(),r=t[d.signData],a=t[d.dataType],o=n.CryptoKeypath.fromDataItem(t[d.derivationPath]),i=t[d.chainId]?t[d.chainId]:undefined,s=t[d.address]?t[d.address]:undefined,c=t[d.requestId]?t[d.requestId].getData():undefined,u=t[d.origin]?t[d.origin]:undefined;return new p({requestId:c,signData:r,dataType:a,chainId:i,derivationPath:o,address:s,origin:u})},p.fromCBOR=e=>{const t=u(e);return p.fromDataItem(t)};const{RegistryTypes:m,decodeToDataItem:h}=n.extend;var T;!function(e){e[e.requestId=1]="requestId",e[e.signature=2]="signature",e[e.origin=3]="origin"}(T||(T={}));class f extends n.RegistryItem{constructor(e,t,r){super(),this.getRegistryType=()=>c.ETH_SIGNATURE,this.getRequestId=()=>this.requestId,this.getSignature=()=>this.signature,this.getOrigin=()=>this.origin,this.toDataItem=()=>{const e={};return this.requestId&&(e[T.requestId]=new n.DataItem(this.requestId,m.UUID.getTag())),this.origin&&(e[T.origin]=this.origin),e[T.signature]=this.signature,new n.DataItem(e)},this.signature=e,this.requestId=t,this.origin=r}}f.fromDataItem=e=>{const t=e.getData(),r=t[T.signature],a=t[T.requestId]?t[T.requestId].getData():undefined;return new f(r,a,t[T.origin])},f.fromCBOR=e=>{const t=h(e);return f.fromDataItem(t)};const{decodeToDataItem:S}=n.extend;var A;!function(e){e[e.chainId=1]="chainId",e[e.contractAddress=2]="contractAddress",e[e.contractName=3]="contractName",e[e.name=4]="name",e[e.mediaData=5]="mediaData"}(A||(A={}));class y extends n.RegistryItem{constructor(e){super(),this.getRegistryType=()=>c.ETH_NFT_ITEM,this.getChainId=()=>this.chainId,this.getName=()=>this.name,this.getmediaData=()=>this.mediaData,this.getContractAddress=()=>this.contractAddress,this.getContractName=()=>this.contractName,this.toDataItem=()=>{const e={};return e[A.chainId]=this.chainId,e[A.name]=this.name,e[A.contractAddress]=this.contractAddress,e[A.contractName]=this.contractName,e[A.mediaData]=this.mediaData,new n.DataItem(e)},this.chainId=e.chainId,this.name=e.name,this.contractAddress=e.contractAddress,this.contractName=e.contractName,this.mediaData=e.mediaData}static constructETHNFTItem(e,t,r,a,n){return new y({chainId:e,contractAddress:t,contractName:r,mediaData:n,name:a})}}y.fromDataItem=e=>{const t=e.getData(),r=t[A.chainId],a=t[A.name],n=t[A.mediaData],o=t[A.contractAddress],i=t[A.contractName];return new y({chainId:r,name:a,contractAddress:o,contractName:i,mediaData:n})},y.fromCBOR=e=>{const t=S(e);return y.fromDataItem(t)};const v=(e,t)=>{const r=i.fromExtendedKey(e).derive(t),a="0x"+s.publicToAddress(r.publicKey,!0).toString("hex");return s.toChecksumAddress(a)};n.patchTags(Object.values(c).filter((e=>!!e.getTag())).map((e=>e.getTag()))),Object.keys(n).forEach((function(e){"default"!==e&&Object.defineProperty(r,e,{enumerable:!0,get:function(){return n[e]}})})),r.ETHNFTItem=y,r.ETHSignature=f,r.EthSignRequest=p,r.findHDPathFromAddress=(e,t,r,a)=>{for(let n=0;nc.ETH_SIGN_REQUEST,this.getRequestId=()=>this.requestId,this.getSignData=()=>this.signData,this.getDataType=()=>this.dataType,this.getChainId=()=>this.chainId,this.getDerivationPath=()=>this.derivationPath.getPath(),this.getSourceFingerprint=()=>this.derivationPath.getSourceFingerprint(),this.getSignRequestAddress=()=>this.address,this.getOrigin=()=>this.origin,this.toDataItem=()=>{const e={};this.requestId&&(e[d.requestId]=new n.DataItem(this.requestId,l.UUID.getTag())),this.address&&(e[d.address]=this.address),this.chainId&&(e[d.chainId]=Number(this.chainId)),this.origin&&(e[d.origin]=this.origin),e[d.signData]=this.signData,e[d.dataType]=this.dataType;const t=this.derivationPath.toDataItem();return t.setTag(this.derivationPath.getRegistryType().getTag()),e[d.derivationPath]=t,new n.DataItem(e)},this.requestId=e.requestId,this.signData=e.signData,this.dataType=e.dataType,this.chainId=e.chainId,this.derivationPath=e.derivationPath,this.address=e.address,this.origin=e.origin}static constructETHRequest(e,r,a,i,s,c,u,l){const d=a.replace(/[m|M]\//,"").split("/"),g=new n.CryptoKeypath(d.map((e=>{const t=parseInt(e.replace("'",""));let r=!1;return e.endsWith("'")&&(r=!0),new n.PathComponent({index:t,hardened:r})})),t.from(i,"hex"));return new p({requestId:s?t.from(o.parse(s)):void 0,signData:e,dataType:r,derivationPath:g,chainId:c,address:u?t.from(u.replace("0x",""),"hex"):void 0,origin:l||void 0})}}p.fromDataItem=e=>{const t=e.getData(),r=t[d.signData],a=t[d.dataType],o=n.CryptoKeypath.fromDataItem(t[d.derivationPath]),i=t[d.chainId]?t[d.chainId]:void 0,s=t[d.address]?t[d.address]:void 0,c=t[d.requestId]?t[d.requestId].getData():void 0;return new p({requestId:c,signData:r,dataType:a,chainId:i,derivationPath:o,address:s,origin:t[d.origin]?t[d.origin]:void 0})},p.fromCBOR=e=>{const t=u(e);return p.fromDataItem(t)};const{RegistryTypes:m,decodeToDataItem:h}=n.extend;var T;!function(e){e[e.requestId=1]="requestId",e[e.signature=2]="signature",e[e.origin=3]="origin"}(T||(T={}));class f extends n.RegistryItem{constructor(e,t,r){super(),this.getRegistryType=()=>c.ETH_SIGNATURE,this.getRequestId=()=>this.requestId,this.getSignature=()=>this.signature,this.getOrigin=()=>this.origin,this.toDataItem=()=>{const e={};return this.requestId&&(e[T.requestId]=new n.DataItem(this.requestId,m.UUID.getTag())),this.origin&&(e[T.origin]=this.origin),e[T.signature]=this.signature,new n.DataItem(e)},this.signature=e,this.requestId=t,this.origin=r}}f.fromDataItem=e=>{const t=e.getData(),r=t[T.signature],a=t[T.requestId]?t[T.requestId].getData():void 0;return new f(r,a,t[T.origin])},f.fromCBOR=e=>{const t=h(e);return f.fromDataItem(t)};const{decodeToDataItem:S}=n.extend;var A;!function(e){e[e.chainId=1]="chainId",e[e.contractAddress=2]="contractAddress",e[e.contractName=3]="contractName",e[e.name=4]="name",e[e.mediaData=5]="mediaData"}(A||(A={}));class y extends n.RegistryItem{constructor(e){super(),this.getRegistryType=()=>c.ETH_NFT_ITEM,this.getChainId=()=>this.chainId,this.getName=()=>this.name,this.getmediaData=()=>this.mediaData,this.getContractAddress=()=>this.contractAddress,this.getContractName=()=>this.contractName,this.toDataItem=()=>{const e={};return e[A.chainId]=this.chainId,e[A.name]=this.name,e[A.contractAddress]=this.contractAddress,e[A.contractName]=this.contractName,e[A.mediaData]=this.mediaData,new n.DataItem(e)},this.chainId=e.chainId,this.name=e.name,this.contractAddress=e.contractAddress,this.contractName=e.contractName,this.mediaData=e.mediaData}static constructETHNFTItem(e,t,r,a,n){return new y({chainId:e,contractAddress:t,contractName:r,mediaData:n,name:a})}}y.fromDataItem=e=>{const t=e.getData();return new y({chainId:t[A.chainId],name:t[A.name],contractAddress:t[A.contractAddress],contractName:t[A.contractName],mediaData:t[A.mediaData]})},y.fromCBOR=e=>{const t=S(e);return y.fromDataItem(t)};const v=(e,t)=>{const r=i.fromExtendedKey(e).derive(t),a="0x"+s.publicToAddress(r.publicKey,!0).toString("hex");return s.toChecksumAddress(a)};n.patchTags(Object.values(c).filter((e=>!!e.getTag())).map((e=>e.getTag()))),Object.keys(n).forEach((function(e){"default"!==e&&Object.defineProperty(r,e,{enumerable:!0,get:function(){return n[e]}})})),r.ETHNFTItem=y,r.ETHSignature=f,r.EthSignRequest=p,r.findHDPathFromAddress=(e,t,r,a)=>{for(let n=0;no.RegistryTypes.BYTES,this.getData=()=>this.bytes,this.toDataItem=()=>new a.DataItem(this.bytes)}}r.Bytes=i,i.fromDataItem=e=>{const t=e.getData();if(!t)throw new Error(`#[ur-registry][Bytes][fn.fromDataItem]: decoded [dataItem][#data] is undefined: ${e}`);return new i(t)},i.fromCBOR=e=>{const t=(0,a.decodeToDataItem)(e);return i.fromDataItem(t)}}}},{package:"@keystonehq/bc-ur-registry-eth>@keystonehq/bc-ur-registry",file:"node_modules/@keystonehq/bc-ur-registry/dist/Bytes.js"}],[583,{".":601,"./RegistryItem":593,"./RegistryType":594,"./lib":604,buffer:3028},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(t){(function(){Object.defineProperty(r,"__esModule",{value:!0}),r.CryptoAccount=void 0;const a=e("."),n=e("./lib"),o=e("./RegistryItem"),i=e("./RegistryType");var s;!function(e){e[e.masterFingerprint=1]="masterFingerprint",e[e.outputDescriptors=2]="outputDescriptors"}(s||(s={}));class c extends o.RegistryItem{constructor(e,t){super(),this.masterFingerprint=e,this.outputDescriptors=t,this.getRegistryType=()=>i.RegistryTypes.CRYPTO_ACCOUNT,this.getMasterFingerprint=()=>this.masterFingerprint,this.getOutputDescriptors=()=>this.outputDescriptors,this.toDataItem=()=>{const e={};return this.masterFingerprint&&(e[s.masterFingerprint]=this.masterFingerprint.readUInt32BE(0)),this.outputDescriptors&&(e[s.outputDescriptors]=this.outputDescriptors.map((e=>e.toDataItem()))),new n.DataItem(e)}}}r.CryptoAccount=c,c.fromDataItem=e=>{const r=e.getData(),n=t.alloc(4),o=r[s.masterFingerprint];o&&n.writeUInt32BE(o,0);const i=r[s.outputDescriptors].map((e=>a.CryptoOutput.fromDataItem(e)));return new c(n,i)},c.fromCBOR=e=>{const t=(0,n.decodeToDataItem)(e);return c.fromDataItem(t)}}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"@keystonehq/bc-ur-registry-eth>@keystonehq/bc-ur-registry",file:"node_modules/@keystonehq/bc-ur-registry/dist/CryptoAccount.js"}],[584,{"./RegistryItem":593,"./RegistryType":594,"./lib":604},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.CryptoCoinInfo=r.Network=r.Type=void 0;const a=e("./lib"),n=e("./RegistryItem"),o=e("./RegistryType");var i,s,c;!function(e){e.type="1",e.network="2"}(i||(i={})),function(e){e[e.bitcoin=0]="bitcoin"}(s=r.Type||(r.Type={})),function(e){e[e.mainnet=0]="mainnet",e[e.testnet=1]="testnet"}(c=r.Network||(r.Network={}));class u extends n.RegistryItem{constructor(e,t){super(),this.type=e,this.network=t,this.getRegistryType=()=>o.RegistryTypes.CRYPTO_COIN_INFO,this.getType=()=>this.type||s.bitcoin,this.getNetwork=()=>this.network||c.mainnet,this.toDataItem=()=>{const e={};return this.type&&(e[i.type]=this.type),this.network&&(e[i.network]=this.network),new a.DataItem(e)}}}r.CryptoCoinInfo=u,u.fromDataItem=e=>{const t=e.getData(),r=t[i.type],a=t[i.network];return new u(r,a)},u.fromCBOR=e=>{const t=(0,a.decodeToDataItem)(e);return u.fromDataItem(t)}}}},{package:"@keystonehq/bc-ur-registry-eth>@keystonehq/bc-ur-registry",file:"node_modules/@keystonehq/bc-ur-registry/dist/CryptoCoinInfo.js"}],[585,{"./RegistryItem":593,"./RegistryType":594,"./lib":604},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.CryptoECKey=void 0;const a=e("./lib"),n=e("./RegistryItem"),o=e("./RegistryType");var i;!function(e){e[e.curve=1]="curve",e[e.private=2]="private",e[e.data=3]="data"}(i||(i={}));class s extends n.RegistryItem{constructor(e){super(),this.isECKey=()=>!0,this.getCurve=()=>this.curve||0,this.isPrivateKey=()=>this.privateKey||!1,this.getData=()=>this.data,this.getRegistryType=()=>o.RegistryTypes.CRYPTO_ECKEY,this.toDataItem=()=>{const e={};return this.curve&&(e[i.curve]=this.curve),this.privateKey!==undefined&&(e[i.private]=this.privateKey),e[i.data]=this.data,new a.DataItem(e)},this.getOutputDescriptorContent=()=>this.data.toString("hex"),this.data=e.data,this.curve=e.curve,this.privateKey=e.privateKey||undefined}}r.CryptoECKey=s,s.fromDataItem=e=>{const t=e.getData(),r=t[i.curve],a=t[i.private],n=t[i.data];if(!n)throw new Error(`#[ur-registry][CryptoECKey][fn.fromDataItem]: decoded [dataItem][#data.data] is undefined: ${e}`);return new s({data:n,curve:r,privateKey:a})},s.fromCBOR=e=>{const t=(0,a.decodeToDataItem)(e);return s.fromDataItem(t)}}}},{package:"@keystonehq/bc-ur-registry-eth>@keystonehq/bc-ur-registry",file:"node_modules/@keystonehq/bc-ur-registry/dist/CryptoECKey.js"}],[586,{"./CryptoCoinInfo":584,"./CryptoKeypath":587,"./RegistryItem":593,"./RegistryType":594,"./lib":604,bs58check:3032,buffer:3028},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(t){(function(){Object.defineProperty(r,"__esModule",{value:!0}),r.CryptoHDKey=void 0;const a=e("bs58check"),n=e("./CryptoCoinInfo"),o=e("./CryptoKeypath"),i=e("./lib"),s=e("./RegistryItem"),c=e("./RegistryType");var u;!function(e){e[e.is_master=1]="is_master",e[e.is_private=2]="is_private",e[e.key_data=3]="key_data",e[e.chain_code=4]="chain_code",e[e.use_info=5]="use_info",e[e.origin=6]="origin",e[e.children=7]="children",e[e.parent_fingerprint=8]="parent_fingerprint",e[e.name=9]="name",e[e.note=10]="note"}(u||(u={}));class l extends s.RegistryItem{constructor(e){super(),this.isECKey=()=>!1,this.getKey=()=>this.key,this.getChainCode=()=>this.chainCode,this.isMaster=()=>this.master,this.isPrivateKey=()=>!!this.privateKey,this.getUseInfo=()=>this.useInfo,this.getOrigin=()=>this.origin,this.getChildren=()=>this.children,this.getParentFingerprint=()=>this.parentFingerprint,this.getName=()=>this.name,this.getNote=()=>this.note,this.getBip32Key=()=>{var e,r,n;let o,i,s=0,c=t.alloc(4).fill(0);if(this.isMaster())o=t.from("0488ADE4","hex"),i=0,s=0;else{i=(null===(e=this.getOrigin())||void 0===e?void 0:e.getComponents().length)||(null===(r=this.getOrigin())||void 0===r?void 0:r.getDepth());const a=null===(n=this.getOrigin())||void 0===n?void 0:n.getComponents(),u=a[a.length-1];u&&(s=u.isHardened()?u.getIndex()+2147483648:u.getIndex(),this.getParentFingerprint()&&(c=this.getParentFingerprint())),o=this.isPrivateKey()?t.from("0488ADE4","hex"):t.from("0488B21E","hex")}const u=t.alloc(1);u.writeUInt8(i,0);const l=t.alloc(4);l.writeUInt32BE(s,0);const d=this.getChainCode(),g=this.getKey();return(0,a.encode)(t.concat([o,u,c,l,d,g]))},this.getRegistryType=()=>c.RegistryTypes.CRYPTO_HDKEY,this.getOutputDescriptorContent=()=>{var e,t,r,a,n,o,i;let s="";return this.getOrigin()&&(null===(e=this.getOrigin())||void 0===e?void 0:e.getSourceFingerprint())&&(null===(t=this.getOrigin())||void 0===t?void 0:t.getPath())&&(s+=`${null===(a=null===(r=this.getOrigin())||void 0===r?void 0:r.getSourceFingerprint())||void 0===a?void 0:a.toString("hex")}/${null===(n=this.getOrigin())||void 0===n?void 0:n.getPath()}`),s+=this.getBip32Key(),this.getChildren()&&(null===(o=this.getChildren())||void 0===o?void 0:o.getPath())&&(s+=`/${null===(i=this.getChildren())||void 0===i?void 0:i.getPath()}`),s},this.setupMasterKey=e=>{this.master=!0,this.key=e.key,this.chainCode=e.chainCode},this.setupDeriveKey=e=>{this.master=!1,this.privateKey=e.isPrivateKey,this.key=e.key,this.chainCode=e.chainCode,this.useInfo=e.useInfo,this.origin=e.origin,this.children=e.children,this.parentFingerprint=e.parentFingerprint,this.name=e.name,this.note=e.note},this.toDataItem=()=>{const e={};if(this.master)e[u.is_master]=!0,e[u.key_data]=this.key,e[u.chain_code]=this.chainCode;else{if(this.privateKey!==undefined&&(e[u.is_private]=this.privateKey),e[u.key_data]=this.key,this.chainCode&&(e[u.chain_code]=this.chainCode),this.useInfo){const t=this.useInfo.toDataItem();t.setTag(this.useInfo.getRegistryType().getTag()),e[u.use_info]=t}if(this.origin){const t=this.origin.toDataItem();t.setTag(this.origin.getRegistryType().getTag()),e[u.origin]=t}if(this.children){const t=this.children.toDataItem();t.setTag(this.children.getRegistryType().getTag()),e[u.children]=t}this.parentFingerprint&&(e[u.parent_fingerprint]=this.parentFingerprint.readUInt32BE(0)),this.name!==undefined&&(e[u.name]=this.name),this.note!==undefined&&(e[u.note]=this.note)}return new i.DataItem(e)},e.isMaster?this.setupMasterKey(e):this.setupDeriveKey(e)}}r.CryptoHDKey=l,l.fromDataItem=e=>{const r=e.getData(),a=!!r[u.is_master],i=r[u.is_private],s=r[u.key_data],c=r[u.chain_code],d=r[u.use_info]?n.CryptoCoinInfo.fromDataItem(r[u.use_info]):undefined,g=r[u.origin]?o.CryptoKeypath.fromDataItem(r[u.origin]):undefined,p=r[u.children]?o.CryptoKeypath.fromDataItem(r[u.children]):undefined,m=r[u.parent_fingerprint];let h=undefined;m&&(h=t.alloc(4),h.writeUInt32BE(m,0));const T=r[u.name],f=r[u.note];return new l({isMaster:a,isPrivateKey:i,key:s,chainCode:c,useInfo:d,origin:g,children:p,parentFingerprint:h,name:T,note:f})},l.fromCBOR=e=>{const t=(0,i.decodeToDataItem)(e);return l.fromDataItem(t)}}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"@keystonehq/bc-ur-registry-eth>@keystonehq/bc-ur-registry",file:"node_modules/@keystonehq/bc-ur-registry/dist/CryptoHDKey.js"}],[587,{"./PathComponent":592,"./RegistryItem":593,"./RegistryType":594,"./lib":604,buffer:3028},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(t){(function(){Object.defineProperty(r,"__esModule",{value:!0}),r.CryptoKeypath=void 0;const a=e("./lib"),n=e("./PathComponent"),o=e("./RegistryItem"),i=e("./RegistryType");var s;!function(e){e[e.components=1]="components",e[e.source_fingerprint=2]="source_fingerprint",e[e.depth=3]="depth"}(s||(s={}));class c extends o.RegistryItem{constructor(e=[],t,r){super(),this.components=e,this.sourceFingerprint=t,this.depth=r,this.getRegistryType=()=>i.RegistryTypes.CRYPTO_KEYPATH,this.getPath=()=>{if(0===this.components.length)return undefined;return this.components.map((e=>`${e.isWildcard()?"*":e.getIndex()}${e.isHardened()?"'":""}`)).join("/")},this.getComponents=()=>this.components,this.getSourceFingerprint=()=>this.sourceFingerprint,this.getDepth=()=>this.depth,this.toDataItem=()=>{const e={},t=[];return this.components&&this.components.forEach((e=>{e.isWildcard()?t.push([]):t.push(e.getIndex()),t.push(e.isHardened())})),e[s.components]=t,this.sourceFingerprint&&(e[s.source_fingerprint]=this.sourceFingerprint.readUInt32BE(0)),this.depth!==undefined&&(e[s.depth]=this.depth),new a.DataItem(e)}}}r.CryptoKeypath=c,c.fromDataItem=e=>{const r=e.getData(),a=[],o=r[s.components];if(o)for(let e=0;e{const t=(0,a.decodeToDataItem)(e);return c.fromDataItem(t)}}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"@keystonehq/bc-ur-registry-eth>@keystonehq/bc-ur-registry",file:"node_modules/@keystonehq/bc-ur-registry/dist/CryptoKeypath.js"}],[588,{"./CryptoECKey":585,"./CryptoHDKey":586,"./MultiKey":591,"./RegistryItem":593,"./RegistryType":594,"./ScriptExpression":595,"./lib":604},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.CryptoOutput=void 0;const a=e("./CryptoECKey"),n=e("./CryptoHDKey"),o=e("./lib"),i=e("./MultiKey"),s=e("./RegistryItem"),c=e("./RegistryType"),u=e("./ScriptExpression");class l extends s.RegistryItem{constructor(e,t){super(),this.scriptExpressions=e,this.cryptoKey=t,this.getRegistryType=()=>c.RegistryTypes.CRYPTO_OUTPUT,this.getCryptoKey=()=>this.cryptoKey,this.getHDKey=()=>this.cryptoKey instanceof n.CryptoHDKey?this.cryptoKey:undefined,this.getECKey=()=>this.cryptoKey instanceof a.CryptoECKey?this.cryptoKey:undefined,this.getMultiKey=()=>this.cryptoKey instanceof i.MultiKey?this.cryptoKey:undefined,this.getScriptExpressions=()=>this.scriptExpressions,this._toOutputDescriptor=e=>e>=this.scriptExpressions.length?this.cryptoKey.getOutputDescriptorContent():`${this.scriptExpressions[e].getExpression()}(${this._toOutputDescriptor(e+1)})`,this.toString=()=>this._toOutputDescriptor(0),this.toDataItem=()=>{let e=this.cryptoKey.toDataItem();(this.cryptoKey instanceof a.CryptoECKey||this.cryptoKey instanceof n.CryptoHDKey)&&e.setTag(this.cryptoKey.getRegistryType().getTag());return[...this.scriptExpressions].reverse().forEach((t=>{const r=t.getTag();e.getTag()===undefined?e.setTag(r):e=new o.DataItem(e,r)})),e}}}r.CryptoOutput=l,l.fromDataItem=e=>{const t=[];let r=e;for(;;){let e=r.getTag();const a=u.ScriptExpression.fromTag(e);if(!a)break;if(t.push(a),!(r.getData()instanceof o.DataItem))break;r=r.getData(),e=r.getTag()}const s=t.length;if(s>0&&(t[s-1].getExpression()===u.ScriptExpressions.MULTISIG.getExpression()||t[s-1].getExpression()===u.ScriptExpressions.SORTED_MULTISIG.getExpression())){const e=i.MultiKey.fromDataItem(r);return new l(t,e)}if(r.getTag()===c.RegistryTypes.CRYPTO_HDKEY.getTag()){const e=n.CryptoHDKey.fromDataItem(r);return new l(t,e)}{const e=a.CryptoECKey.fromDataItem(r);return new l(t,e)}},l.fromCBOR=e=>{const t=(0,o.decodeToDataItem)(e);return l.fromDataItem(t)}}}},{package:"@keystonehq/bc-ur-registry-eth>@keystonehq/bc-ur-registry",file:"node_modules/@keystonehq/bc-ur-registry/dist/CryptoOutput.js"}],[589,{"./RegistryItem":593,"./RegistryType":594,"./lib":604},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.CryptoPSBT=void 0;const a=e("./lib"),n=e("./RegistryItem"),o=e("./RegistryType");class i extends n.RegistryItem{constructor(e){super(),this.psbt=e,this.getRegistryType=()=>o.RegistryTypes.CRYPTO_PSBT,this.getPSBT=()=>this.psbt,this.toDataItem=()=>new a.DataItem(this.psbt)}}r.CryptoPSBT=i,i.fromDataItem=e=>{const t=e.getData();if(!t)throw new Error(`#[ur-registry][CryptoPSBT][fn.fromDataItem]: decoded [dataItem][#data] is undefined: ${e}`);return new i(t)},i.fromCBOR=e=>{const t=(0,a.decodeToDataItem)(e);return i.fromDataItem(t)}}}},{package:"@keystonehq/bc-ur-registry-eth>@keystonehq/bc-ur-registry",file:"node_modules/@keystonehq/bc-ur-registry/dist/CryptoPSBT.js"}],[590,{"..":601,"../RegistryType":594,"../errors":596,"@ngraveio/bc-ur":2308},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.URRegistryDecoder=void 0;const a=e("@ngraveio/bc-ur"),n=e(".."),o=e("../RegistryType"),i=e("../errors");class s extends a.URDecoder{constructor(){super(...arguments),this.resultRegistryType=()=>{const e=this.resultUR();switch(e.type){case o.RegistryTypes.BYTES.getType():return n.Bytes.fromCBOR(e.cbor);case o.RegistryTypes.CRYPTO_HDKEY.getType():return n.CryptoHDKey.fromCBOR(e.cbor);case o.RegistryTypes.CRYPTO_KEYPATH.getType():return n.CryptoKeypath.fromCBOR(e.cbor);case o.RegistryTypes.CRYPTO_COIN_INFO.getType():return n.CryptoCoinInfo.fromCBOR(e.cbor);case o.RegistryTypes.CRYPTO_ECKEY.getType():return n.CryptoECKey.fromCBOR(e.cbor);case o.RegistryTypes.CRYPTO_OUTPUT.getType():return n.CryptoOutput.fromCBOR(e.cbor);case o.RegistryTypes.CRYPTO_PSBT.getType():return n.CryptoPSBT.fromCBOR(e.cbor);case o.RegistryTypes.CRYPTO_ACCOUNT.getType():return n.CryptoAccount.fromCBOR(e.cbor);default:throw new i.UnknownURTypeError(`#[ur-registry][Decoder][fn.resultRegistryType]: registry type ${e.type} is not supported now`)}}}}r.URRegistryDecoder=s}}},{package:"@keystonehq/bc-ur-registry-eth>@keystonehq/bc-ur-registry",file:"node_modules/@keystonehq/bc-ur-registry/dist/Decoder/index.js"}],[591,{"./CryptoECKey":585,"./CryptoHDKey":586,"./RegistryItem":593,"./RegistryType":594,"./lib/DataItem":602},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.MultiKey=void 0;const a=e("./CryptoECKey"),n=e("./CryptoHDKey"),o=e("./lib/DataItem"),i=e("./RegistryItem"),s=e("./RegistryType");var c;!function(e){e[e.threshold=1]="threshold",e[e.keys=2]="keys"}(c||(c={}));class u extends i.RegistryItem{constructor(e,t){super(),this.threshold=e,this.keys=t,this.getThreshold=()=>this.threshold,this.getKeys=()=>this.keys,this.toDataItem=()=>{const e={};e[c.threshold]=this.threshold;const t=this.keys.map((e=>{const t=e.toDataItem();return t.setTag(e.getRegistryType().getTag()),t}));return e[c.keys]=t,new o.DataItem(e)},this.getOutputDescriptorContent=()=>[this.getThreshold(),this.keys.map((e=>e.getOutputDescriptorContent())).join(",")].join(",")}}r.MultiKey=u,u.fromDataItem=e=>{const t=e.getData(),r=t[c.threshold],o=t[c.keys],i=[];return o.forEach((e=>{e.getTag()===s.RegistryTypes.CRYPTO_HDKEY.getTag()?i.push(n.CryptoHDKey.fromDataItem(e)):e.getTag()===s.RegistryTypes.CRYPTO_ECKEY.getTag()&&i.push(a.CryptoECKey.fromDataItem(e))})),new u(r,i)}}}},{package:"@keystonehq/bc-ur-registry-eth>@keystonehq/bc-ur-registry",file:"node_modules/@keystonehq/bc-ur-registry/dist/MultiKey.js"}],[592,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.PathComponent=void 0;class a{constructor(e){if(this.getIndex=()=>this.index,this.isWildcard=()=>this.wildcard,this.isHardened=()=>this.hardened,this.index=e.index,this.hardened=e.hardened,this.index!==undefined?this.wildcard=!1:this.wildcard=!0,this.index&&this.index&a.HARDENED_BIT)throw new Error(`#[ur-registry][PathComponent][fn.constructor]: Invalid index ${this.index} - most significant bit cannot be set`)}}r.PathComponent=a,a.HARDENED_BIT=2147483648}}},{package:"@keystonehq/bc-ur-registry-eth>@keystonehq/bc-ur-registry",file:"node_modules/@keystonehq/bc-ur-registry/dist/PathComponent.js"}],[593,{"./lib":604,"@ngraveio/bc-ur":2308},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.RegistryItem=void 0;const a=e("@ngraveio/bc-ur"),n=e("./lib");r.RegistryItem=class{constructor(){this.toCBOR=()=>{if(this.toDataItem()===undefined)throw new Error(`#[ur-registry][RegistryItem][fn.toCBOR]: registry ${this.getRegistryType()}'s method toDataItem returns undefined`);return(0,n.encodeDataItem)(this.toDataItem())},this.toUR=()=>new a.UR(this.toCBOR(),this.getRegistryType().getType()),this.toUREncoder=(e,t,r)=>{const n=this.toUR();return new a.UREncoder(n,e,t,r)}}}}}},{package:"@keystonehq/bc-ur-registry-eth>@keystonehq/bc-ur-registry",file:"node_modules/@keystonehq/bc-ur-registry/dist/RegistryItem.js"}],[594,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.RegistryTypes=r.RegistryType=void 0;class a{constructor(e,t){this.type=e,this.tag=t,this.getTag=()=>this.tag,this.getType=()=>this.type}}r.RegistryType=a,r.RegistryTypes={UUID:new a("uuid",37),BYTES:new a("bytes",undefined),CRYPTO_HDKEY:new a("crypto-hdkey",303),CRYPTO_KEYPATH:new a("crypto-keypath",304),CRYPTO_COIN_INFO:new a("crypto-coin-info",305),CRYPTO_ECKEY:new a("crypto-eckey",306),CRYPTO_OUTPUT:new a("crypto-output",308),CRYPTO_PSBT:new a("crypto-psbt",310),CRYPTO_ACCOUNT:new a("crypto-account",311),CRYPTO_MULTI_ACCOUNTS:new a("crypto-multi-accounts",1103),QR_HARDWARE_CALL:new a("qr-hardware-call",1201),KEY_DERIVATION_CALL:new a("key-derivation-call",1301),KEY_DERIVATION_SCHEMA:new a("key-derivation-schema",1302)}}}},{package:"@keystonehq/bc-ur-registry-eth>@keystonehq/bc-ur-registry",file:"node_modules/@keystonehq/bc-ur-registry/dist/RegistryType.js"}],[595,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.ScriptExpressions=r.ScriptExpression=void 0;class a{constructor(e,t){this.tag=e,this.expression=t,this.getTag=()=>this.tag,this.getExpression=()=>this.expression}}r.ScriptExpression=a,a.fromTag=e=>Object.values(r.ScriptExpressions).find((t=>t.getTag()===e)),r.ScriptExpressions={SCRIPT_HASH:new a(400,"sh"),WITNESS_SCRIPT_HASH:new a(401,"wsh"),PUBLIC_KEY:new a(402,"pk"),PUBLIC_KEY_HASH:new a(403,"pkh"),WITNESS_PUBLIC_KEY_HASH:new a(404,"wpkh"),COMBO:new a(405,"combo"),MULTISIG:new a(406,"multi"),SORTED_MULTISIG:new a(407,"sortedmulti"),ADDRESS:new a(307,"addr"),RAW_SCRIPT:new a(408,"raw")}}}},{package:"@keystonehq/bc-ur-registry-eth>@keystonehq/bc-ur-registry",file:"node_modules/@keystonehq/bc-ur-registry/dist/ScriptExpression.js"}],[596,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.UnknownURTypeError=void 0;class a extends Error{constructor(e){super(e)}}r.UnknownURTypeError=a}}},{package:"@keystonehq/bc-ur-registry-eth>@keystonehq/bc-ur-registry",file:"node_modules/@keystonehq/bc-ur-registry/dist/errors/index.js"}],[5967,{"../../../shared/constants/common":4495,"../../../shared/constants/network":4507,"../../../shared/constants/swaps":4516,"../../../shared/lib/fetch-with-cache":4525,"../../../shared/lib/swaps-utils":4528,"../../../shared/lib/transactions-controller-utils":4531,"../../../shared/modules/conversion.utils":4537,"../../../shared/modules/hexstring-utils":4544,"../../../shared/modules/swaps.utils":4559,"../../helpers/utils/confirm-tx.util":5381,"bignumber.js":2933},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.countDecimals=r.StxErrorTypes=void 0,r.fetchAggregatorMetadata=async function(e){const t=(0,g.getBaseApi)("aggregatorMetadata",e),r=await(0,u.default)({url:t,fetchOptions:{method:"GET",headers:f},cacheOptions:{cacheRefreshTime:h},functionName:"fetchAggregatorMetadata"}),a={};for(const e in r)(0,g.validateData)(y,r[e],t)&&(a[e]=r[e]);return a},r.fetchBlockedTokens=async function(e){const t=(0,g.getBaseApi)("blockedTokens",e);return await(0,u.default)({url:`${t}`,fetchOptions:{method:"GET",headers:f},cacheOptions:{cacheRefreshTime:h},functionName:"fetchBlockedTokens"})},r.fetchSwapsFeatureFlags=async function(){const e=o.SWAPS_API_V2_BASE_URL;return await(0,u.default)({url:`${e}/featureFlags`,fetchOptions:{method:"GET",headers:f},cacheOptions:{cacheRefreshTime:6e5},functionName:"fetchSwapsFeatureFlags"})},r.fetchSwapsGasPrices=async function(e){const t=(0,g.getBaseApi)("gasPrices",e),r=await(0,u.default)({url:t,fetchOptions:{method:"GET",headers:f},cacheOptions:{cacheRefreshTime:3e4},functionName:"fetchSwapsGasPrices"});if(!(0,g.validateData)(E,r,t))throw new Error(`${t} response is invalid`);const{SafeGasPrice:a,ProposeGasPrice:n,FastGasPrice:o}=r;return{safeLow:a,average:n,fast:o}},r.fetchToken=async function(e,t){const r=(0,g.getBaseApi)("token",t);return await(0,u.default)({url:`${r}?address=${e}`,fetchOptions:{method:"GET",headers:f},cacheOptions:{cacheRefreshTime:h},functionName:"fetchToken"})},r.fetchTokenPrice=async function(e){var t;const r=`spot-prices?tokenAddresses=${e}&vsCurrency=eth&includeMarketData=false`,a=await(0,u.default)({url:`https://price.api.cx.metamask.io/v2/chains/1/${r}`,fetchOptions:{method:"GET"},cacheOptions:{cacheRefreshTime:6e4},functionName:"fetchTokenPrice"});return null==a||null===(t=a[e])||void 0===t?void 0:t.eth},r.fetchTokens=async function(e){const t=(0,g.getBaseApi)("tokens",e),r=await(0,u.default)({url:t,fetchOptions:{method:"GET",headers:f},cacheOptions:{cacheRefreshTime:h},functionName:"fetchTokens"});return[o.SWAPS_CHAINID_DEFAULT_TOKEN_MAP[e]||null,...r.filter((r=>(0,g.validateData)(S,r,t,false)&&!((0,i.isSwapsDefaultTokenSymbol)(r.symbol,e)||(0,i.isSwapsDefaultTokenAddress)(r.address,e))))]},r.fetchTopAssets=async function(e){const t=(0,g.getBaseApi)("topAssets",e),r=await(0,u.default)({url:t,functionName:"fetchTopAssets",fetchOptions:{method:"GET",headers:f},cacheOptions:{cacheRefreshTime:h}})||[];return r.reduce(((e,r,a)=>(0,g.validateData)(A,r,t)?{...e,[r.address]:{index:String(a)}}:e),{})},r.formatSwapsValueForDisplay=R,r.getNetworkNameByChainId=r.getFeeForSmartTransaction=r.getClassNameForCharLength=void 0,r.getRenderableNetworkFeesForQuote=C,r.parseSmartTransactionsError=r.isContractAddressValid=r.getTranslatedStxErrorMessage=r.getSwapsLivenessForNetwork=void 0,r.quotesToRenderableData=function({quotes:e,gasPrice:t,conversionRate:r,currentCurrency:a,approveGas:o,tokenConversionRates:s,chainId:c,smartTransactionEstimatedGas:u,nativeCurrencySymbol:l,multiLayerL1ApprovalFeeTotal:g}){return Object.values(e).map((e=>{const{destinationAmount:m=0,sourceAmount:h=0,sourceTokenInfo:T,destinationTokenInfo:f,slippage:S,aggType:A,aggregator:y,gasEstimateWithRefund:v,averageGas:E,fee:D,trade:O,multiLayerL1TradeFeeTotal:I}=e;let M=null;null!==I&&null!==g?M=(0,p.sumHexes)(I||"0x0",g||"0x0"):null!==I&&(M=I);const k=(0,d.calcTokenAmount)(h,T.decimals).toString(10),P=(0,d.calcTokenAmount)(m,f.decimals).toPrecision(8);let N=null,_=null,L=null,B=null;({feeInFiat:N,feeInEth:_,rawNetworkFees:L,rawEthFee:B}=C({tradeGas:v||(0,p.decimalToHex)(E||8e5),approveGas:o,gasPrice:t,currentCurrency:a,conversionRate:r,tradeValue:O.value,sourceSymbol:T.symbol,sourceAmount:h,chainId:c,multiLayerL1FeeTotal:M})),u&&({feeInFiat:N,feeInEth:_}=b({chainId:c,currentCurrency:a,conversionRate:r,nativeCurrencySymbol:l,feeInWeiDec:u.feeEstimate}));const F=new n.BigNumber(100-S).div(100),w=new n.BigNumber(P).times(F).toFixed(6),J=s[f.address],H=(0,i.isSwapsDefaultTokenSymbol)(f.symbol,c)?(0,d.calcTokenAmount)(m,f.decimals).minus(B,10):new n.BigNumber(J||0,10).times((0,d.calcTokenAmount)(m,f.decimals),10).minus(B,10);let U,G=S;return"AGG"===A?U="swapAggregator":"RFQ"===A?(U="swapRequestForQuotation",G=0):U="DEX"===A?"swapDecentralizedExchange":"CONTRACT"===A?"swapDirectContract":"swapUnknown",{aggId:y,amountReceiving:`${P} ${f.symbol}`,destinationTokenDecimals:f.decimals,destinationTokenSymbol:f.symbol,destinationTokenValue:R(P),destinationIconUrl:f.iconUrl,isBestQuote:e.isBestQuote,liquiditySourceKey:U,feeInEth:_,detailedNetworkFees:`${_} (${N})`,networkFees:N,quoteSource:A,rawNetworkFees:L,slippage:G,sourceTokenDecimals:T.decimals,sourceTokenSymbol:T.symbol,sourceTokenValue:k,sourceTokenIconUrl:T.iconUrl,ethValueOfTrade:H,minimumAmountReceived:w,metaMaskFee:D}}))},r.showRemainingTimeInMinAndSec=void 0;var a,n=e("bignumber.js"),o=e("../../../shared/constants/swaps"),i=e("../../../shared/modules/swaps.utils"),s=e("../../../shared/constants/network"),c=e("../../helpers/utils/confirm-tx.util"),u=(a=e("../../../shared/lib/fetch-with-cache"))&&a.__esModule?a:{default:a},l=e("../../../shared/modules/hexstring-utils"),d=e("../../../shared/lib/transactions-controller-utils"),g=e("../../../shared/lib/swaps-utils"),p=e("../../../shared/modules/conversion.utils"),m=e("../../../shared/constants/common");const h=3e5,T="usd",f={"X-Client-Id":o.SWAPS_CLIENT_ID},S=[{property:"address",type:"string",validator:e=>(0,l.isValidHexAddress)(e,{allowNonPrefixed:!1})},{property:"symbol",type:"string",validator:e=>(0,g.truthyString)(e)&&e.length<=12},{property:"decimals",type:"string|number",validator:e=>Number(e)>=0&&Number(e)<=36}],A=S.slice(0,2),y=[{property:"color",type:"string",validator:e=>Boolean(e.match(/^#[A-Fa-f0-9]+$/u))},{property:"title",type:"string",validator:g.truthyString},{property:"icon",type:"string",validator:e=>Boolean(e.match(/^data:image/u))}],v=e=>!isNaN(e)&&e.match(/^[.0-9]+$/u)&&!isNaN(parseFloat(e)),E=[{property:"SafeGasPrice",type:"string",validator:v},{property:"ProposeGasPrice",type:"string",validator:v},{property:"FastGasPrice",type:"string",validator:v}];const b=({chainId:e,currentCurrency:t,conversionRate:r,USDConversionRate:a,nativeCurrencySymbol:n,feeInWeiDec:i})=>{var s;const u=(0,p.decimalToHex)(i),l=(0,p.getValueFromWeiHex)({value:u,toDenomination:m.EtherDenomination.ETH,numberOfDecimals:5}),d=(0,p.getValueFromWeiHex)({value:u,toCurrency:t,conversionRate:r,numberOfDecimals:2});let g;g=t===T?d:(0,p.getValueFromWeiHex)({value:u,toCurrency:T,conversionRate:a,numberOfDecimals:2});return{feeInUsd:g,feeInFiat:(0,c.formatCurrency)(d,t),feeInEth:`${l} ${n||(null===(s=o.SWAPS_CHAINID_DEFAULT_TOKEN_MAP[e])||void 0===s?void 0:s.symbol)}`,rawEthFee:l}};function C({tradeGas:e,approveGas:t,gasPrice:r,currentCurrency:a,conversionRate:s,USDConversionRate:u,tradeValue:l,sourceSymbol:g,sourceAmount:h,chainId:f,nativeCurrencySymbol:S,multiLayerL1FeeTotal:A}){const y=new n.BigNumber(e||"0x0",16).plus(t||"0x0",16).toString(16);let v=(0,d.calcGasTotal)(y,r);null!==A&&(v=(0,p.sumHexes)(v||"0x0",A||"0x0"));const E=new n.BigNumber(l,16).minus((0,i.isSwapsDefaultTokenSymbol)(g,f)?h:0,10).toString(16),b=new n.BigNumber(v,16).plus(E,16).toString(16),C=(0,p.getValueFromWeiHex)({value:b,toDenomination:m.EtherDenomination.ETH,numberOfDecimals:5}),R=(0,p.getValueFromWeiHex)({value:b,toCurrency:a,conversionRate:s,numberOfDecimals:2}),D=(0,c.formatCurrency)(R,a);let O;O=a===T?R:(0,p.getValueFromWeiHex)({value:b,toCurrency:T,conversionRate:u,numberOfDecimals:2});return{rawNetworkFees:R,feeInUsd:O,rawEthFee:C,feeInFiat:D,feeInEth:`${C} ${S||o.SWAPS_CHAINID_DEFAULT_TOKEN_MAP[f].symbol}`,nonGasFee:E}}function R(e){let t;return t="string"==typeof e&&e.includes("...")?e:(0,d.toPrecisionWithoutTrailingZeros)(e,12),t.match(/e[+-]/u)&&(t=new n.BigNumber(t).toFixed()),t}r.getFeeForSmartTransaction=b;r.getClassNameForCharLength=(e,t)=>{let r;return r=!e||e.length<=10?"lg":e.length>10&&e.length<=13?"md":"sm",`${t}--${r}`};r.isContractAddressValid=(e,t)=>!(!e||!o.ALLOWED_CONTRACT_ADDRESSES[t])&&o.ALLOWED_CONTRACT_ADDRESSES[t].some((t=>e.toLowerCase()===t.toLowerCase()));const D=e=>{switch(e){case s.CHAIN_IDS.MAINNET:return o.ETHEREUM;case s.CHAIN_IDS.BSC:return o.BSC;case s.CHAIN_IDS.POLYGON:return o.POLYGON;case s.CHAIN_IDS.GOERLI:return o.GOERLI;case s.CHAIN_IDS.AVALANCHE:return o.AVALANCHE;case s.CHAIN_IDS.OPTIMISM:return o.OPTIMISM;case s.CHAIN_IDS.ARBITRUM:return o.ARBITRUM;case s.CHAIN_IDS.ZKSYNC_ERA:return o.ZKSYNC_ERA;case s.CHAIN_IDS.LINEA_MAINNET:return o.LINEA;case s.CHAIN_IDS.BASE:return o.BASE;default:return""}};r.getNetworkNameByChainId=D;r.getSwapsLivenessForNetwork=(e,t={})=>{const r=D(e);if([s.CHAIN_IDS.LOCALHOST,s.CHAIN_IDS.GOERLI].includes(e))return{swapsFeatureIsLive:!0};if(!t[r])return{swapsFeatureIsLive:!1};return t[r].extensionActive?{swapsFeatureIsLive:!0}:{swapsFeatureIsLive:t[r].fallbackToV1}};r.countDecimals=e=>{var t;return e&&Math.floor(e)!==e&&(null===(t=e.toString().split(".")[1])||void 0===t?void 0:t.length)||0};r.showRemainingTimeInMinAndSec=e=>{if(!Number.isInteger(e))return"0:00";return`${Math.floor(e/60)}:${(e%60).toString().padStart(2,"0")}`};let O=r.StxErrorTypes=function(e){return e.unavailable="unavailable",e.notEnoughFunds="not_enough_funds",e.regularTxPending="regular_tx_pending",e}({});r.getTranslatedStxErrorMessage=(e,t)=>{switch(e){case O.unavailable:case O.regularTxPending:return t("smartSwapsErrorUnavailable");case O.notEnoughFunds:return t("smartSwapsErrorNotEnoughFunds");default:return t("smartSwapsErrorUnavailable")}};r.parseSmartTransactionsError=e=>{const t=e.slice(12);return JSON.parse(t.trim())}}}},{package:"$root$",file:"ui/pages/swaps/swaps.util.ts"}],[597,{"../CryptoHDKey":586,"../RegistryItem":593,"../RegistryType":594,"../lib":604,buffer:3028},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(t){(function(){Object.defineProperty(r,"__esModule",{value:!0}),r.CryptoMultiAccounts=void 0;const a=e("../RegistryType"),n=e("../CryptoHDKey"),o=e("../RegistryItem"),i=e("../lib");var s;!function(e){e[e.masterFingerprint=1]="masterFingerprint",e[e.keys=2]="keys",e[e.device=3]="device",e[e.deviceId=4]="deviceId",e[e.version=5]="version"}(s||(s={}));class c extends o.RegistryItem{constructor(e,t,r,n,o){super(),this.masterFingerprint=e,this.keys=t,this.device=r,this.deviceId=n,this.version=o,this.getRegistryType=()=>a.RegistryTypes.CRYPTO_MULTI_ACCOUNTS,this.getMasterFingerprint=()=>this.masterFingerprint,this.getKeys=()=>this.keys,this.getDevice=()=>this.device,this.getDeviceId=()=>this.deviceId,this.getVersion=()=>this.version,this.toDataItem=()=>{const e={};return this.masterFingerprint&&(e[s.masterFingerprint]=this.masterFingerprint.readUInt32BE(0)),this.keys&&(e[s.keys]=this.keys.map((e=>{const t=e.toDataItem();return t.setTag(e.getRegistryType().getTag()),t}))),this.device&&(e[s.device]=this.device),this.deviceId&&(e[s.deviceId]=this.deviceId),this.version&&(e[s.version]=this.version),new i.DataItem(e)}}}r.CryptoMultiAccounts=c,c.fromDataItem=e=>{const r=e.getData(),a=t.alloc(4),o=r[s.masterFingerprint];o&&a.writeUInt32BE(o,0);const i=r[s.keys].map((e=>n.CryptoHDKey.fromDataItem(e))),u=r[s.device],l=r[s.deviceId],d=r[s.version];return new c(a,i,u,l,d)},c.fromCBOR=e=>{const t=(0,i.decodeToDataItem)(e);return c.fromDataItem(t)}}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"@keystonehq/bc-ur-registry-eth>@keystonehq/bc-ur-registry",file:"node_modules/@keystonehq/bc-ur-registry/dist/extended/CryptoMultiAccounts.js"}],[598,{"../CryptoKeypath":587,"../RegistryItem":593,"../RegistryType":594,"../lib":604},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.KeyDerivationSchema=r.DerivationAlgorithm=r.Curve=void 0;const a=e("../RegistryType"),n=e("../RegistryItem"),o=e("../lib"),i=e("../CryptoKeypath");var s,c,u;!function(e){e[e.keyPath=1]="keyPath",e[e.curve=2]="curve",e[e.algo=3]="algo"}(s||(s={})),function(e){e[e.secp256k1=0]="secp256k1",e[e.ed25519=1]="ed25519"}(c=r.Curve||(r.Curve={})),function(e){e[e.slip10=0]="slip10",e[e.bip32ed25519=1]="bip32ed25519"}(u=r.DerivationAlgorithm||(r.DerivationAlgorithm={}));class l extends n.RegistryItem{constructor(e,t=c.secp256k1,r=u.slip10){super(),this.keypath=e,this.curve=t,this.algo=r,this.getRegistryType=()=>a.RegistryTypes.KEY_DERIVATION_SCHEMA,this.getKeypath=()=>this.keypath,this.getCurve=()=>this.curve,this.getAlgo=()=>this.algo,this.toDataItem=()=>{const e={},t=this.getKeypath().toDataItem();return t.setTag(this.getKeypath().getRegistryType().getTag()),e[s.keyPath]=t,e[s.curve]=this.curve,e[s.algo]=this.algo,new o.DataItem(e)}}}r.KeyDerivationSchema=l,l.fromDataItem=e=>{const t=e.getData(),r=i.CryptoKeypath.fromDataItem(t[s.keyPath]),a=t[s.curve],n=t[s.algo];return new l(r,a,n)},l.fromCBOR=e=>{const t=(0,o.decodeToDataItem)(e);return l.fromDataItem(t)}}}},{package:"@keystonehq/bc-ur-registry-eth>@keystonehq/bc-ur-registry",file:"node_modules/@keystonehq/bc-ur-registry/dist/extended/DerivationSchema.js"}],[5983,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.getApprovalFlows=function(e){return e.metamask.approvalFlows},r.getApprovalRequestsByType=void 0,r.getPendingApprovals=function(e){return Object.values(e.metamask.pendingApprovals??[])},r.hasPendingApprovals=function(e,t,r){const a=Object.values(e.metamask.pendingApprovals).filter((({type:e})=>t.includes(e)));if(r)return a.some(r);return a.length>0};r.getApprovalRequestsByType=(e,t,r)=>{const a=Object.values(e.metamask.pendingApprovals).filter((({type:e})=>e===t));return r?a.filter(r):a}}}},{package:"$root$",file:"ui/selectors/approvals.ts"}],[5984,{".":5987,"../../shared/constants/gas":4500,"../../shared/lib/transactions-controller-utils":4531,"../../shared/modules/conversion.utils":4537,"../../shared/modules/gas.utils":4543,"../../shared/modules/string-utils":4558,"../ducks/metamask/metamask":5346,"../helpers/utils/confirm-tx.util":5381,"../helpers/utils/tx-helper":5398,"./custom-gas":5985,"./selectors":5994,"@metamask/transaction-controller":2234,reselect:4269},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.use4ByteResolutionSelector=r.unconfirmedTransactionsListSelector=r.unconfirmedTransactionsHashSelector=r.unconfirmedMessagesHashSelector=r.txDataSelector=r.transactionFeeSelector=r.tokenAddressSelector=r.sendTokenTokenAmountAndToAddressSelector=r.currentCurrencySelector=r.conversionRateSelector=r.contractExchangeRateSelector=void 0;var a,n=e("reselect"),o=e("@metamask/transaction-controller"),i=(a=e("../helpers/utils/tx-helper"))&&a.__esModule?a:{default:a},s=e("../helpers/utils/confirm-tx.util"),c=e("../ducks/metamask/metamask"),u=e("../../shared/constants/gas"),l=e("../../shared/modules/gas.utils"),d=e("../../shared/modules/string-utils"),g=e("../../shared/lib/transactions-controller-utils"),p=e("../../shared/modules/conversion.utils"),m=e("./custom-gas"),h=e("./selectors"),T=e(".");const f=e=>(0,T.getUnapprovedTransactions)(e),S=e=>e.metamask.unapprovedMsgs,A=e=>e.metamask.unapprovedPersonalMsgs,y=e=>e.metamask.unapprovedDecryptMsgs,v=e=>e.metamask.unapprovedEncryptionPublicKeyMsgs,E=e=>e.metamask.unapprovedTypedMessages;r.unconfirmedTransactionsListSelector=(0,n.createSelector)(f,S,A,y,v,E,h.getCurrentChainId,((e={},t={},r={},a={},n={},o={},s)=>(0,i.default)(e,t,r,a,n,o,s)||[])),r.unconfirmedTransactionsHashSelector=(0,n.createSelector)(f,S,A,y,v,E,h.getCurrentChainId,((e={},t={},r={},a={},n={},o={},i)=>({...Object.keys(e).reduce(((t,r)=>{const a={...t};return e[r].chainId===i&&(a[r]=e[r]),a}),{}),...t,...r,...a,...n,...o}))),r.unconfirmedMessagesHashSelector=(0,n.createSelector)(S,A,y,v,E,((e={},t={},r={},a={},n={})=>({...e,...t,...r,...a,...n})));r.use4ByteResolutionSelector=e=>e.metamask.use4ByteResolution;const b=e=>e.metamask.currentCurrency;r.currentCurrencySelector=b;const C=e=>{var t;return null===(t=e.metamask.currencyRates[(0,c.getProviderConfig)(e).ticker])||void 0===t?void 0:t.conversionRate};r.conversionRateSelector=C;const R=e=>e.confirmTransaction.txData;r.txDataSelector=R;const D=(0,n.createSelector)((e=>e.confirmTransaction.tokenProps),(e=>e&&e.decimals)),O=(0,n.createSelector)((e=>e.confirmTransaction.tokenData),(e=>e&&e.args||[])),I=(0,n.createSelector)(R,(e=>e&&e.txParams||{})),M=r.tokenAddressSelector=(0,n.createSelector)(I,(e=>e&&e.to));r.sendTokenTokenAmountAndToAddressSelector=(0,n.createSelector)(O,D,((e,t)=>{let r="",a="0";if(e&&e.length){r=e._to;let n=e._value.toString();t&&(n=(0,g.calcTokenAmount)(n,t).toFixed()),a=(0,s.roundExponential)(n)}return{toAddress:r,tokenAmount:a}})),r.contractExchangeRateSelector=(0,n.createSelector)((e=>{var t;const r=(0,h.getCurrentChainId)(e),a=null===(t=e.metamask.marketData)||void 0===t?void 0:t[r];return Object.entries(a).reduce(((e,[t,r])=>(e[t]=(null==r?void 0:r.price)??null,e)),{})}),M,((e,t)=>e[Object.keys(e).find((e=>(0,d.isEqualCaseInsensitive)(e,t)))]));r.transactionFeeSelector=function(e,t){var r,a,n,i;const d=b(e),g=C(e),h=(0,c.getNativeCurrency)(e),f=(0,c.getGasFeeEstimates)(e)||{},S=(0,c.getGasEstimateType)(e),A=(0,T.checkNetworkAndAccountSupports1559)(e),y={gasLimit:(null===(r=t.txParams)||void 0===r?void 0:r.gas)??"0x0"};if(A){var v;const{gasPrice:e="0"}=f,r=f[t.userFeeLevel]||{};if((null===(v=t.txParams)||void 0===v?void 0:v.type)===o.TransactionEnvelopeType.legacy){var E;y.gasPrice=(null===(E=t.txParams)||void 0===E?void 0:E.gasPrice)??(0,p.decGWEIToHexWEI)(e)}else{var R,D,O,I;const{suggestedMaxPriorityFeePerGas:a,suggestedMaxFeePerGas:n}=r;y.maxFeePerGas=null===(R=t.txParams)||void 0===R||!R.maxFeePerGas||t.userFeeLevel!==u.CUSTOM_GAS_ESTIMATE&&n?(0,p.decGWEIToHexWEI)(n||e):null===(D=t.txParams)||void 0===D?void 0:D.maxFeePerGas,y.maxPriorityFeePerGas=null===(O=t.txParams)||void 0===O||!O.maxPriorityFeePerGas||t.userFeeLevel!==u.CUSTOM_GAS_ESTIMATE&&a?a&&(0,p.decGWEIToHexWEI)(a)||y.maxFeePerGas:null===(I=t.txParams)||void 0===I?void 0:I.maxPriorityFeePerGas,y.baseFeePerGas=(0,p.decGWEIToHexWEI)(f.estimatedBaseFee)}}else switch(S){case u.GasEstimateTypes.feeMarket:case u.GasEstimateTypes.none:y.gasPrice=(null===(a=t.txParams)||void 0===a?void 0:a.gasPrice)??"0x0";break;case u.GasEstimateTypes.ethGasPrice:y.gasPrice=(null===(n=t.txParams)||void 0===n?void 0:n.gasPrice)??(0,p.decGWEIToHexWEI)(f.gasPrice);break;case u.GasEstimateTypes.legacy:y.gasPrice=(null===(i=t.txParams)||void 0===i?void 0:i.gasPrice)??(0,m.getAveragePriceEstimateInHexWEI)(e)}const{txParams:{value:M="0x0"}={}}=t,k=(0,p.getValueFromWeiHex)({value:M,fromCurrency:h,toCurrency:d,conversionRate:g,numberOfDecimals:2}),P=(0,p.getValueFromWeiHex)({value:M,fromCurrency:h,toCurrency:h,conversionRate:g,numberOfDecimals:6}),N=(0,l.getMinimumGasTotalInHexWei)(y),_=(0,l.getMaximumGasTotalInHexWei)(y),L=(0,s.getTransactionFee)({value:N,fromCurrency:h,toCurrency:d,numberOfDecimals:2,conversionRate:g}),B=(0,s.getTransactionFee)({value:_,fromCurrency:h,toCurrency:d,numberOfDecimals:2,conversionRate:g}),F=(0,s.getTransactionFee)({value:N,fromCurrency:h,toCurrency:h,numberOfDecimals:6,conversionRate:g});return{hexTransactionAmount:M,fiatTransactionAmount:k,ethTransactionAmount:P,hexMinimumTransactionFee:N,fiatMinimumTransactionFee:L,hexMaximumTransactionFee:_,fiatMaximumTransactionFee:B,ethTransactionFee:F,fiatTransactionTotal:(0,s.addFiat)(L,k),ethTransactionTotal:(0,s.addEth)(F,P),hexTransactionTotal:(0,p.sumHexes)(M,N),gasEstimationObject:y}}}}},{package:"$root$",file:"ui/selectors/confirm-transaction.js"}],[5985,{".":5987,"../../app/scripts/lib/util":120,"../../shared/constants/common":4495,"../../shared/constants/gas":4500,"../../shared/lib/transactions-controller-utils":4531,"../../shared/modules/Numeric":4533,"../../shared/modules/conversion.utils":4537,"../ducks/metamask/metamask":5346,"../ducks/send":5348,"../helpers/utils/confirm-tx.util":5381,"../helpers/utils/formatters":5383},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.basicPriceEstimateToETHTotal=S,r.getAverageEstimate=T,r.getAveragePriceEstimateInHexWEI=function(e){return y(T(e))},r.getBasicGasEstimateLoadingStatus=function(e){return!1===v(e)},r.getCustomGasLimit=function(e){return e.gas.customData.limit},r.getCustomGasPrice=m,r.getDefaultActiveButtonIndex=function(e,t,r){return e.map((({priceInHexWei:e})=>e)).lastIndexOf((0,a.addHexPrefix)(t||r))},r.getFastPriceEstimate=f,r.getFastPriceEstimateInHexWEI=function(e){return y(f(e)||"0x0")},r.getGasPriceInHexWei=y,r.getIsCustomNetworkGasPriceFetched=function(e){return(0,u.getGasEstimateType)(e)===c.GasEstimateTypes.ethGasPrice&&!(0,p.getIsMainnet)(e)},r.getIsEthGasPriceFetched=function(e){return(0,u.getGasEstimateType)(e)===c.GasEstimateTypes.ethGasPrice&&(0,p.getIsMainnet)(e)},r.getIsGasEstimatesFetched=v,r.getNoGasPriceFetched=function(e){return(0,u.getGasEstimateType)(e)===c.GasEstimateTypes.none},r.getRenderableConvertedCurrencyFee=function(e,t,r,a){const i=S(new d.Numeric(e,10).toBase(16).toString(),t),s=(0,n.decEthToConvertedCurrency)(i,r,a);return(0,o.formatCurrency)(s,r)},r.getRenderableEthFee=function(e,t,r=9,a="ETH"){const n=S(new d.Numeric(e,10).toBase(16).toString(),t,r);return(0,i.formatETHFee)(n,a)},r.getSafeLowEstimate=h,r.isCustomPriceExcessive=function(e,t=!1){const r=t?(0,s.getGasPrice)(e):m(e),a=f(e);if(!r||!a)return!1;return new d.Numeric(r,16,g.EtherDenomination.WEI).toDenomination(g.EtherDenomination.GWEI).greaterThan(Math.floor(1.5*a),10)},r.isCustomPriceSafe=function(e){const t=h(e),r=m(e);if(!r)return!0;if(!t)return!1;return new d.Numeric(r,16,g.EtherDenomination.WEI).toDenomination(g.EtherDenomination.GWEI).greaterThan(t,10)},r.isCustomPriceSafeForCustomNetwork=function(e){const t=T(e),r=m(e);if(!r)return!0;if(!t)return!1;return new d.Numeric(r,16,g.EtherDenomination.WEI).toDenomination(g.EtherDenomination.GWEI).greaterThan(t,10)},r.priceEstimateToWei=A;var a=e("../../app/scripts/lib/util"),n=e("../../shared/modules/conversion.utils"),o=e("../helpers/utils/confirm-tx.util"),i=e("../helpers/utils/formatters"),s=e("../ducks/send"),c=e("../../shared/constants/gas"),u=e("../ducks/metamask/metamask"),l=e("../../shared/lib/transactions-controller-utils"),d=e("../../shared/modules/Numeric"),g=e("../../shared/constants/common"),p=e(".");function m(e){return e.gas.customData.price}function h(e){const t=(0,u.getGasFeeEstimates)(e);return(0,u.getGasEstimateType)(e)===c.GasEstimateTypes.legacy?null==t?void 0:t.low:null}function T(e){const t=(0,u.getGasFeeEstimates)(e);return(0,u.getGasEstimateType)(e)===c.GasEstimateTypes.legacy?null==t?void 0:t.medium:null}function f(e){const t=(0,u.getGasFeeEstimates)(e);return(0,u.getGasEstimateType)(e)===c.GasEstimateTypes.legacy?null==t?void 0:t.high:null}function S(e,t,r=9){return new d.Numeric((0,l.calcGasTotal)(t,e),16,g.EtherDenomination.GWEI).round(r).toBase(10).toString()}function A(e){return new d.Numeric(e,16,g.EtherDenomination.GWEI).toDenomination(g.EtherDenomination.WEI).round(9).toString()}function y(e){const t=new d.Numeric(e,10).toBase(16).toString();return(0,a.addHexPrefix)(A(t))}function v(e){const t=(0,u.getGasEstimateType)(e);return!(0,u.isEIP1559Network)(e)&&t!==c.GasEstimateTypes.none}}}},{package:"$root$",file:"ui/selectors/custom-gas.js"}],[5986,{"../../shared/constants/onboarding":4510,"../helpers/constants/routes":5361},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.getFirstTimeFlowType=void 0,r.getFirstTimeFlowTypeRouteAfterMetaMetricsOptIn=function(e){const{firstTimeFlowType:t}=e.metamask;if(t===a.FirstTimeFlowType.create)return n.ONBOARDING_CREATE_PASSWORD_ROUTE;if(t===a.FirstTimeFlowType.import)return n.ONBOARDING_IMPORT_WITH_SRP_ROUTE;if(t===a.FirstTimeFlowType.restore)return n.ONBOARDING_SECURE_YOUR_WALLET_ROUTE;return n.DEFAULT_ROUTE},r.getFirstTimeFlowTypeRouteAfterUnlock=function(e){const{firstTimeFlowType:t}=e.metamask;if(t===a.FirstTimeFlowType.create)return n.ONBOARDING_CREATE_PASSWORD_ROUTE;if(t===a.FirstTimeFlowType.import)return n.ONBOARDING_IMPORT_WITH_SRP_ROUTE;if(t===a.FirstTimeFlowType.restore)return n.ONBOARDING_METAMETRICS;return n.DEFAULT_ROUTE},r.getOnboardingInitiator=void 0;var a=e("../../shared/constants/onboarding"),n=e("../helpers/constants/routes");r.getFirstTimeFlowType=e=>e.metamask.firstTimeFlowType;r.getOnboardingInitiator=e=>{const{onboardingTabs:t}=e.metamask;if(!t||1!==Object.keys(t).length)return null;const r=Object.keys(t)[0];return{location:r,tabId:t[r]}}}}},{package:"$root$",file:"ui/selectors/first-time-flow.js"}],[5987,{"../pages/confirmations/selectors/confirm":5716,"./approvals":5983,"./confirm-transaction":5984,"./custom-gas":5985,"./first-time-flow":5986,"./metametrics":5991,"./permissions":5993,"./selectors":5994,"./transactions":5995},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var a=e("../pages/confirmations/selectors/confirm");Object.keys(a).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in r&&r[e]===a[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return a[e]}}))}));var n=e("./confirm-transaction");Object.keys(n).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in r&&r[e]===n[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return n[e]}}))}));var o=e("./custom-gas");Object.keys(o).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in r&&r[e]===o[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return o[e]}}))}));var i=e("./first-time-flow");Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in r&&r[e]===i[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return i[e]}}))}));var s=e("./metametrics");Object.keys(s).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in r&&r[e]===s[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return s[e]}}))}));var c=e("./permissions");Object.keys(c).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in r&&r[e]===c[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return c[e]}}))}));var u=e("./selectors");Object.keys(u).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in r&&r[e]===u[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return u[e]}}))}));var l=e("./transactions");Object.keys(l).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in r&&r[e]===l[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return l[e]}}))}));var d=e("./approvals");Object.keys(d).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in r&&r[e]===d[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return d[e]}}))}))}}},{package:"$root$",file:"ui/selectors/index.js"}],[599,{"../RegistryItem":593,"../RegistryType":594,"../lib":604,"./DerivationSchema":598},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.KeyDerivation=void 0;const a=e("../RegistryType"),n=e("../RegistryItem"),o=e("../lib"),i=e("./DerivationSchema");var s;!function(e){e[e.schemas=1]="schemas"}(s||(s={}));class c extends n.RegistryItem{constructor(e){super(),this.schemas=e,this.getRegistryType=()=>a.RegistryTypes.KEY_DERIVATION_CALL,this.getSchemas=()=>this.schemas,this.toDataItem=()=>{const e={};return e[s.schemas]=this.schemas.map((e=>{const t=e.toDataItem();return t.setTag(e.getRegistryType().getTag()),t})),new o.DataItem(e)}}}r.KeyDerivation=c,c.fromDataItem=e=>{const t=e.getData()[s.schemas].map((e=>i.KeyDerivationSchema.fromDataItem(e)));return new c(t)},c.fromCBOR=e=>{const t=(0,o.decodeToDataItem)(e);return c.fromDataItem(t)}}}},{package:"@keystonehq/bc-ur-registry-eth>@keystonehq/bc-ur-registry",file:"node_modules/@keystonehq/bc-ur-registry/dist/extended/KeyDerivation.js"}],[5991,{reselect:4269},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.selectMatchingFragment=r.selectFragments=r.selectFragmentBySuccessEvent=r.selectFragmentById=r.getParticipateInMetaMetrics=r.getDataCollectionForMarketing=void 0;var a=e("reselect");const n=e=>e.metamask.fragments;r.selectFragments=n;r.getDataCollectionForMarketing=e=>e.metamask.dataCollectionForMarketing;r.getParticipateInMetaMetrics=e=>Boolean(e.metamask.participateInMetaMetrics);const o=r.selectFragmentBySuccessEvent=(0,a.createSelector)(n,((e,t)=>t),((e,t)=>t.persist?Object.values(e).find((e=>e.successEvent===t.successEvent)):undefined)),i=r.selectFragmentById=(0,a.createSelector)(n,((e,t)=>t),((e,t)=>t&&null!=e&&e[t]?e[t]:undefined));r.selectMatchingFragment=(0,a.createSelector)(((e,t)=>o(e,t.fragmentOptions)),((e,t)=>i(e,t.existingId)),((e,t)=>t??e))}}},{package:"$root$",file:"ui/selectors/metametrics.js"}],[5993,{".":5987,"../../shared/constants/permissions":4511,"./approvals":5983,"./util":5996,"@metamask/controller-utils":1163,"@metamask/snaps-rpc-methods":2086},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.activeTabHasPermissions=function(e){var t;const{activeTab:r,metamask:a}=e,{subjects:n={}}=a;return Boolean(Object.keys((null===(t=n[r.origin])||void 0===t?void 0:t.permissions)||{}).length>0)},r.getAccountToConnectToActiveTab=function(e){const t=(0,c.getSelectedInternalAccount)(e),r=d(e),{metamask:{internalAccounts:{accounts:a}}}=e,n=Object.keys(a).length;if(r.length&&r.length!==n&&-1===r.findIndex((e=>e===t.address)))return(0,c.getInternalAccount)(e,t.id);return undefined},r.getAddressConnectedSubjectMap=function(e){const t=m(e),r=p(e),a={};return Object.keys(r).forEach((e=>{const{iconUrl:n,name:o}=t[e]||{};r[e].forEach((t=>{const r=o||e;a[t]=a[t]?{...a[t],[e]:{iconUrl:n,name:r}}:{[e]:{iconUrl:n,name:r}}}))})),a},r.getConnectedSubjectsForAllAddresses=void 0,r.getConnectedSubjectsForSelectedAddress=function(e){const t=(0,c.getSelectedInternalAccount)(e),r=u(e),a=m(e),n=[];return Object.entries(r).forEach((([e,r])=>{if(!h(r).includes(t.address))return;const{extensionId:o,name:i,iconUrl:s}=a[e]||{};n.push({extensionId:o,origin:e,name:i,iconUrl:s})})),n},r.getFirstPermissionRequest=function(e){const t=A(e);return t&&t[0]?t[0]:null},r.getFirstSnapInstallOrUpdateRequest=function(e){var t;return(null===(t=S(e))||void 0===t?void 0:t[0])??null},r.getLastConnectedInfo=function(e){const{permissionHistory:t={}}=e.metamask;return Object.keys(t).reduce(((e,r)=>(t[r].eth_accounts&&(e[r]=JSON.parse(JSON.stringify(t[r].eth_accounts))),e)),{})},r.getOrderedConnectedAccountsForActiveTab=function(e){var t;const{activeTab:r,metamask:{permissionHistory:a}}=e,n=null===(t=a[r.origin])||void 0===t||null===(t=t.eth_accounts)||void 0===t?void 0:t.accounts,o=(0,c.getMetaMaskAccountsOrdered)(e),i=d(e);return o.filter((e=>i.includes(e.address))).map((e=>({...e,metadata:{...e.metadata,lastActive:null==n?void 0:n[e.address]}}))).sort((({lastSelected:e},{lastSelected:t})=>e===t?0:e===undefined?1:t===undefined?-1:t-e))},r.getOrderedConnectedAccountsForConnectedDapp=function(e,t){var r;const{metamask:{permissionHistory:a}}=e,n=null===(r=a[t.origin])||void 0===r||null===(r=r.eth_accounts)||void 0===r?void 0:r.accounts,o=(0,c.getMetaMaskAccountsOrdered)(e),i=g(e,t);return o.filter((e=>i.includes(e.address))).map((e=>({...e,metadata:{...e.metadata,lastActive:null==n?void 0:n[e.address]}}))).sort((({lastSelected:e},{lastSelected:t})=>e===t?0:e===undefined?1:t===undefined?-1:t-e))},r.getPermissionSubjects=u,r.getPermissionSubjectsDeepEqual=void 0,r.getPermissions=function(e,t){var r;return null===(r=u(e)[t])||void 0===r?void 0:r.permissions},r.getPermissionsForActiveTab=function(e){var t;const{activeTab:r,metamask:a}=e,{subjects:n={}}=a,o=(null===(t=n[r.origin])||void 0===t?void 0:t.permissions)??{};return Object.keys(o).map((e=>({key:e,value:o[e]})))},r.getPermissionsRequests=A,r.getPermittedAccounts=l,r.getPermittedAccountsByOrigin=p,r.getPermittedAccountsForCurrentTab=d,r.getPermittedAccountsForSelectedTab=g,r.getRequestState=function(e,t){var r;return null===(r=e.metamask.pendingApprovals[t])||void 0===r?void 0:r.requestState},r.getRequestType=function(e,t){var r;return null===(r=e.metamask.pendingApprovals[t])||void 0===r?void 0:r.type},r.getSnapInstallOrUpdateRequests=S,r.getSubjectMetadata=m,r.getSubjectMetadataDeepEqual=void 0,r.getSubjectsWithPermission=function(e,t){const r=u(e),a=[];return Object.entries(r).forEach((([r,{permissions:n}])=>{if(n[t]){const{extensionId:t,name:n,iconUrl:o}=(0,c.getTargetSubjectMetadata)(e,r)||{};a.push({extensionId:t,origin:r,name:n,iconUrl:o})}})),a},r.getSubjectsWithSnapPermission=function(e,t){const r=u(e);return Object.entries(r).filter((([e,{permissions:r}])=>{var a;return null===(a=r[n.WALLET_SNAP_PERMISSION_KEY])||void 0===a?void 0:a.caveats[0].value[t]})).map((([t,r])=>{const{extensionId:a,name:n,iconUrl:o}=(0,c.getTargetSubjectMetadata)(e,t)||{};return{extensionId:a,origin:t,name:n,iconUrl:o}}))},r.isAccountConnectedToCurrentTab=void 0;var a=e("@metamask/controller-utils"),n=e("@metamask/snaps-rpc-methods"),o=e("../../shared/constants/permissions"),i=e("./approvals"),s=e("./util"),c=e(".");r.getPermissionSubjectsDeepEqual=(0,s.createDeepEqualSelector)((e=>e.metamask.subjects||{}),(e=>e)),r.getSubjectMetadataDeepEqual=(0,s.createDeepEqualSelector)((e=>e.metamask.subjectMetadata),(e=>e));function u(e){return e.metamask.subjects||{}}function l(e,t){return f(T(function(e,t){var r;return t&&(null===(r=e.metamask.subjects)||void 0===r?void 0:r[t])}(e,t)))}function d(e){return l(e,(0,c.getOriginOfCurrentTab)(e))}function g(e,t){return l(e,t)}function p(e){const t=u(e);return Object.keys(t).reduce(((e,r)=>{const a=h(t[r]);return a.length>0&&(e[r]=a),e}),{})}function m(e){return e.metamask.subjectMetadata}r.getConnectedSubjectsForAllAddresses=(0,s.createDeepEqualSelector)(u,m,((e,t)=>{const r={};return Object.entries(e).forEach((([e,a])=>{h(a).forEach((a=>{r[a]||(r[a]=[]);const n=t[e];r[a].push({origin:e,...n})}))})),r}));r.isAccountConnectedToCurrentTab=(0,s.createDeepEqualSelector)(d,((e,t)=>t),((e,t)=>e.some((e=>e===t))));function h(e){return f(T(e))}function T(e={}){var t;return(null===(t=e.permissions)||void 0===t?void 0:t.eth_accounts)||{}}function f(e){const t=function(e={}){return Array.isArray(e.caveats)&&e.caveats.find((e=>e.type===o.CaveatTypes.restrictReturnedAccounts))}(e);return t&&Array.isArray(t.value)?t.value:[]}function S(e){return Object.values(e.metamask.pendingApprovals).filter((({type:e})=>"wallet_installSnap"===e||"wallet_updateSnap"===e||"wallet_installSnapResult"===e)).map((({requestData:e})=>e))}function A(e){var t;return null===(t=(0,i.getApprovalRequestsByType)(e,a.ApprovalType.WalletRequestPermissions))||void 0===t?void 0:t.map((({requestData:e})=>e))}}}},{package:"$root$",file:"ui/selectors/permissions.js"}],[5994,{"../../app/scripts/lib/util":120,"../../shared/constants/app":4493,"../../shared/constants/bridge":4494,"../../shared/constants/hardware-wallets":4501,"../../shared/constants/keyring":4502,"../../shared/constants/labels":4503,"../../shared/constants/network":4507,"../../shared/constants/security-provider":4513,"../../shared/constants/swaps":4516,"../../shared/constants/terms":4517,"../../shared/constants/time":4518,"../../shared/constants/tokens":4519,"../../shared/modules/conversion.utils":4537,"../../shared/modules/selectors":4554,"../../shared/modules/string-utils":4558,"../../shared/notifications":4562,"../ducks/app/app":5336,"../ducks/metamask/metamask":5346,"../helpers/constants/design-system":5355,"../helpers/constants/privacy-policy":5360,"../helpers/constants/survey":5366,"../helpers/utils/util":5399,"../pages/confirmations/confirmation/templates":5675,"./permissions":5993,"./transactions":5995,"./util":5996,"@metamask/controller-utils":1163,"@metamask/name-controller":1529,"@metamask/permission-controller":1624,"@metamask/snaps-utils":2163,"@metamask/transaction-controller":2234,lodash:3836,reselect:4269,semver:4315},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.accountSupportsSmartTx=function(e){const t=X(e);return Boolean("hardware"!==t&&"snap"!==t)},r.accountsWithSendEtherInfoSelector=oe,r.checkIfMethodIsEnabled=function(e,t){const r=K(e);return Boolean(r.methods.includes(t))},r.checkNetworkAndAccountSupports1559=function(e,t){return(0,R.isEIP1559Network)(e,t)},r.checkNetworkOrAccountNotSupports1559=function(e){return(0,R.isNotEIP1559Network)(e)},r.doesAddressRequireLedgerHidConnection=function(e,t){const r=(0,R.isAddressLedger)(e,t),a=(0,R.getLedgerTransportType)(e)===m.LedgerTransportTypes.webhid,n=(0,D.getLedgerWebHidConnectedStatus)(e)!==m.WebHIDConnectedStatuses.connected,o=(0,D.getLedgerTransportStatus)(e)!==m.HardwareTransportStates.verified;return r&&a&&(n||o)},r.getAccountName=function(e,t){const r=e.find((e=>(0,O.isEqualCaseInsensitive)(e.address,t)));return r&&""!==r.metadata.name?r.metadata.name:""},r.getAccountType=X,r.getAccountTypeForKeyring=x,r.getAccountsWithLabels=function(e){return $(e).map((e=>{const{address:t,metadata:{name:r},balance:a}=e;return{...e,addressLabel:`${r.length(0,O.isEqualCaseInsensitive)(e.address,t)));return(null==a?void 0:a.metadata.name)||t},r.getAdvancedGasFeeValues=function(e){return e.metamask.advancedGasFee[H(e)]},r.getAdvancedInlineGasShown=function(e){return Boolean(e.metamask.featureFlags.advancedInlineGas)},r.getAllAccountsOnNetworkAreEmpty=function(e){const t=Y(e)??{},r=Object.values(t).every((e=>"0x0"===e||"0x00"===e)),a=0===W(e);return r&&a},r.getAllConnectedAccounts=void 0,r.getAllDomains=te,r.getAllSnapAvailableUpdates=r.getAllNetworks=r.getAllEnabledNetworks=void 0,r.getAllTokens=function(e){return e.metamask.allTokens},r.getAnySnapUpdateAvailable=void 0,r.getAppIsLoading=function(e){return e.appState.isLoading},r.getBlockExplorerLinkText=function(e,t=!1){const r=at(e),a=ke(e);let n={firstPart:"addBlockExplorer",secondPart:""};a.blockExplorerUrl?n=t?{firstPart:"blockExplorerView",secondPart:(0,y.getURLHostName)(a.blockExplorerUrl)}:{firstPart:"viewinExplorer",secondPart:"blockExplorerAccountAction"}:!1===r&&(n=t?{firstPart:"etherscanViewOn",secondPart:""}:{firstPart:"viewOnEtherscan",secondPart:"blockExplorerAccountAction"});return n},r.getConnectedSnapsList=r.getConnectedSitesListWithNetworkInfo=r.getConnectedSitesList=r.getConfirmationExchangeRates=void 0,r.getCurrentAccountWithSendEtherInfo=ie,r.getCurrentChainId=H,r.getCurrentCurrency=function(e){return e.metamask.currentCurrency},r.getCurrentEthBalance=se,r.getCurrentKeyring=U,r.getCurrentNetwork=void 0,r.getCurrentQRHardwareState=function(e){const{qrHardware:t}=e.metamask;return t||{}},r.getCustomNonceValue=function(e){return String(e.metamask.customNonceValue)},r.getCustomTokenAmount=function(e){return e.appState.customTokenAmount},r.getDetectedTokensInCurrentNetwork=function(e){var t;const r=H(e),{address:a}=K(e);return null===(t=e.metamask.allDetectedTokens)||void 0===t||null===(t=t[r])||void 0===t?void 0:t[a]},r.getDisabledRpcMethodPreferences=function(e){return e.metamask.disabledRpcMethodPreferences},r.getEnabledSnaps=void 0,r.getEnsResolutionByAddress=function(e,t){if(e.metamask.ensResolutionsByAddress[t])return e.metamask.ensResolutionsByAddress[t];const r=ne(e,t)||V(e,t);return(null==r?void 0:r.name)||""},r.getEthereumAddressNames=function(e){var t;return(null===(t=e.metamask.names)||void 0===t?void 0:t[l.NameType.ETHEREUM_ADDRESS])||{}},r.getExternalServicesOnboardingToggleState=function(e){return e.appState.externalServicesOnboardingToggleState},r.getFeatureFlags=function(e){return e.metamask.featureFlags},r.getFeatureNotificationsEnabled=function(e){const{featureNotificationsEnabled:t=!1}=fe(e);return t},r.getFullTxData=void 0,r.getGasIsLoading=function(e){return e.appState.gasIsLoading},r.getHardwareWalletType=function(e){const t=U(e);return G(e)?t.type:undefined},r.getHasDismissedOpenSeaToBlockaidBanner=function(e){return Boolean(e.metamask.hasDismissedOpenSeaToBlockaidBanner)},r.getHasMigratedFromOpenSeaToBlockaid=function(e){return Boolean(e.metamask.hasMigratedFromOpenSeaToBlockaid)},r.getHiddenAccountsList=ze,r.getInfuraBlocked=function(e){return e.metamask.networksMetadata[J(e)].status===p.NetworkStatus.Blocked},r.getInterfaceContent=r.getInterface=r.getInsightSnaps=r.getInsightSnapIds=void 0,r.getInternalAccount=function(e,t){return e.metamask.internalAccounts.accounts[t]},r.getInternalAccountByAddress=V,r.getInternalAccounts=q,r.getInternalAccountsSortedByKeyring=void 0,r.getIpfsGateway=function(e){return e.metamask.ipfsGateway},r.getIsAddSnapAccountEnabled=function(e){return e.metamask.addSnapAccountEnabled},r.getIsBridgeChain=function(e){const t=H(e);return A.ALLOWED_BRIDGE_CHAIN_IDS.includes(t)},r.getIsBuyableChain=function(e){const t=H(e);return Object.keys(p.BUYABLE_CHAINS_MAP).includes(t)},r.getIsCustomNetwork=at,r.getIsDesktopEnabled=function(e){return e.metamask.desktopEnabled},r.getIsDynamicTokenListAvailable=et,r.getIsLineaMainnet=he,r.getIsMainnet=me,r.getIsNetworkSupportedByBlockaid=function(e){const t=H(e);return L.SECURITY_PROVIDER_SUPPORTED_CHAIN_IDS.includes(t)},r.getIsNetworkUsed=function(e){const t=H(e),{usedNetworks:r}=e.metamask;return Boolean(r[t])},r.getIsNonStandardEthChain=function(e){return!(me(e)||Te(e))},r.getIsSecurityAlertsEnabled=function(e){return e.metamask.securityAlertsEnabled},r.getIsSigningQRHardwareTransaction=function(e){var t;return(null===(t=e.metamask.qrHardware)||void 0===t||null===(t=t.sign)||void 0===t?void 0:t.request)!==undefined},r.getIsSwapsChain=function(e){const t=H(e);return S.ALLOWED_PROD_SWAPS_CHAIN_IDS.includes(t)},r.getIsTestnet=Te,r.getIsTokenDetectionInactiveOnMainnet=tt,r.getIsTokenDetectionSupported=function(e){const t=Qe(e),r=et(e);return t&&r},r.getIstokenDetectionInactiveOnNonMainnetSupportedNetwork=function(e){const t=Qe(e),r=me(e);return et(e)&&!t&&!r},r.getKeyringSnapAccounts=function(e){const t=q(e);return Object.values(t).filter((e=>{const{keyring:t}=e.metadata;return t.type===h.KeyringType.snap}))},r.getKeyringSnapRemovalResult=function(e){return e.appState.keyringRemovalSnapModal},r.getKnownMethodData=function(e,t){if(!t)return null;const r=(0,g.addHexPrefix)(t).slice(0,10),{knownMethodData:a,use4ByteResolution:n}=e.metamask;return n&&(null==a?void 0:a[r])},r.getLocale=He,r.getMemoizedUnapprovedTypedMessages=r.getMemoizedUnapprovedTemplatedConfirmations=r.getMemoizedUnapprovedPersonalMessages=r.getMemoizedUnapprovedMessages=r.getMemoizedUnapprovedConfirmations=r.getMemoizedTxId=r.getMemoizedTargetSubjectMetadata=r.getMemoizedMetadataContracts=r.getMemoizedMetadataContractName=r.getMemoizedMetadataContract=r.getMemoizedMetaMaskInternalAccounts=r.getMemoizedInterfaces=r.getMemoizedInterfaceContent=r.getMemoizedInterface=r.getMemoizedCurrentChainId=r.getMemoizedAddressBook=void 0,r.getMetaMaskAccountBalances=Q,r.getMetaMaskAccountsOrdered=r.getMetaMaskAccountsConnected=r.getMetaMaskAccounts=void 0,r.getMetaMaskCachedBalances=Y,r.getMetaMaskKeyrings=Z,r.getMetaMetricsId=function(e){const{metaMetricsId:t}=e.metamask;return t},r.getMetadataContractName=function(e,t){const r=Ye(e),a=Object.values(r).find((e=>(0,O.isEqualCaseInsensitive)(e.address,t)));return a&&""!==a.name?a.name:""},r.getNameLookupSnapsIds=r.getMultipleTargetsSubjectMetadata=void 0,r.getNameSources=function(e){return e.metamask.nameSources||{}},r.getNames=function(e){return e.metamask.names||{}},r.getNativeCurrencyImage=function(e){const t=H(e);return p.CHAIN_ID_TOKEN_IMAGE_MAP[t]},r.getNetworkConfigurations=$e,r.getNetworkIdentifier=function(e){const{type:t,nickname:r,rpcUrl:a}=(0,R.getProviderConfig)(e);return r||a||t},r.getNetworkToAutomaticallySwitchTo=function(e){const t=We(e),r=Pe(e),a=rt(e);if((0,g.getEnvironmentType)()===_.ENVIRONMENT_TYPE_POPUP&&(0,R.getIsUnlocked)(e)&&a&&r&&0===t){const t=te(e)[r],a=Ze(e);if(t&&a.id!==t)return t}return null},r.getNetworksTabSelectedNetworkConfigurationId=function(e){return e.appState.selectedNetworkConfigurationId},r.getNeverShowSwitchedNetworkMessage=function(e){return e.metamask.switchedNetworkNeverShowMessage},r.getNewNetworkAdded=function(e){return e.appState.newNetworkAddedName},r.getNewNftAddedMessage=function(e){return e.appState.newNftAddedMessage},r.getNewPrivacyPolicyToastShownDate=function(e){return e.metamask.newPrivacyPolicyToastShownDate},r.getNewTokensImported=function(e){return e.appState.newTokensImported},r.getNewTokensImportedError=function(e){return e.appState.newTokensImportedError},r.getNextSuggestedNonce=function(e){return Number(e.metamask.nextNonce)},r.getNonTestNetworks=void 0,r.getNotifications=Ve,r.getNotifySnaps=void 0,r.getNumberOfAllUnapprovedTransactionsAndMessages=We,r.getNumberOfTokens=W,r.getOnboardedInThisUISession=function(e){return e.appState.onboardedInThisUISession},r.getOnboardingDate=function(e){return e.metamask.onboardingDate},r.getOpenSeaEnabled=function(e){return Boolean(e.metamask.openSeaEnabled)},r.getOrderedNetworksList=function(e){return e.metamask.orderedNetworkList},r.getOriginOfCurrentTab=Pe,r.getPetnamesEnabled=function(e){const{petnamesEnabled:t=!0}=fe(e);return t},r.getPinnedAccountsList=qe,r.getPreferences=fe,r.getPrioritizedUnapprovedTemplatedConfirmations=void 0,r.getQueuedRequestCount=de,r.getRedesignedConfirmationsEnabled=function(e){const{redesignedConfirmationsEnabled:t}=fe(e);return t},r.getRemoveNftMessage=function(e){return e.appState.removeNftMessage},r.getRpcPrefsForCurrentProvider=ke,r.getSelectedAccount=void 0,r.getSelectedAccountCachedBalance=ee,r.getSelectedAddress=function(e){var t;return null===(t=K(e))||void 0===t?void 0:t.address},r.getSelectedInternalAccount=K,r.getSelectedInternalAccountWithBalance=function(e){const t=K(e),r=Q(e)[t.address];return{...t,balance:r?r.balance:"0x0"}},r.getSelectedNetworkClientId=J,r.getSendInputCurrencySwitched=function({appState:e}){return e.sendInputCurrencySwitched},r.getShouldHideZeroBalanceTokens=function(e){const{hideZeroBalanceTokens:t}=fe(e);return t},r.getShouldShowFiat=function(e){const t=me(e),r=he(e),a=at(e),n=(0,R.getConversionRate)(e),o=nt(e),{showFiatInTestnets:i}=fe(e);return Boolean((t||r||a||i)&&o&&n)},r.getShouldShowSeedPhraseReminder=function(e){const{tokens:t,seedPhraseBackedUp:r,dismissSeedBackUpReminder:a}=e.metamask,n=K(e)?se(e):0;return!1===r&&(parseInt(n,16)>0||t.length>0)&&!1===a},r.getShowAccountBanner=function(e){return e.metamask.showAccountBanner},r.getShowBasicFunctionalityModal=function(e){return e.appState.showBasicFunctionalityModal},r.getShowBetaHeader=function(e){return e.metamask.showBetaHeader},r.getShowExtensionInFullSizeView=function(e){const{showExtensionInFullSizeView:t}=fe(e);return Boolean(t)},r.getShowFiatInTestnets=function(e){const{showFiatInTestnets:t}=fe(e);return t},r.getShowNetworkBanner=function(e){return e.metamask.showNetworkBanner},r.getShowOutdatedBrowserWarning=function(e){const{outdatedBrowserWarningLastShown:t}=e.metamask;if(!t)return!0;return(new Date).getTime()-t>=2*b.DAY},r.getShowPermissionsTour=function(e){return e.metamask.showPermissionsTour},r.getShowPrivacyPolicyToast=function(e){const{newPrivacyPolicyToastClickedOrClosed:t,onboardingDate:r}=e.metamask,a=new Date(N.PRIVACY_POLICY_DATE),n=new Date(Date.now());return!t&&n>=a&&(r=n},r.getShowSurveyToast=function(e){const{surveyLinkLastClickedOrClosed:t}=e.metamask,r=new Date(`${P.SURVEY_DATE} ${P.SURVEY_START_TIME}`).getTime(),a=new Date(`${P.SURVEY_DATE} ${P.SURVEY_END_TIME}`).getTime(),n=Date.now();return n>r&&n!e.isShown&&r[e.id]));return a.sort(((e,t)=>new Date(t.date)-new Date(e.date)))},r.getSuggestedNfts=function(e){var t;return(null===(t=ge(e))||void 0===t?void 0:t.filter((({requestData:e,type:t})=>{var r;return t===o.ApprovalType.WatchAsset&&(null==e||null===(r=e.asset)||void 0===r?void 0:r.tokenId)!==undefined})))||[]},r.getSuggestedTokens=function(e){var t;return(null===(t=ge(e))||void 0===t?void 0:t.filter((({type:e,requestData:t})=>{var r;return e===o.ApprovalType.WatchAsset&&(null==t||null===(r=t.asset)||void 0===r?void 0:r.tokenId)===undefined})))||[]},r.getSwapsDefaultToken=function(e){const t=re(e),r=null==t?void 0:t.balance,a=H(e);return{...S.SWAPS_CHAINID_DEFAULT_TOKEN_MAP[a],balance:(0,I.hexToDecimal)(r),string:(0,I.getValueFromWeiHex)({value:r,numberOfDecimals:4,toDenomination:"ETH"})}},r.getSwitchedNetworkDetails=function(e){const{switchedNetworkDetails:t}=e.metamask,r=le(e);if(t){var a;const e=r.find((({id:e})=>t.networkClientId===e));return{nickname:null==e?void 0:e.nickname,imageUrl:null==e||null===(a=e.rpcPrefs)||void 0===a?void 0:a.imageUrl,origin:null==t?void 0:t.origin}}return null},r.getTargetAccount=function(e,t){return j(e)[t]},r.getTargetAccountWithSendEtherInfo=function(e,t){const r=oe(e);return(0,y.getAccountByAddress)(r,t)},r.getTargetSubjectMetadata=ye,r.getTestNetworkBackgroundColor=function(e){const t=e.metamask.providerConfig.ticker;switch(!0){case null==t?void 0:t.includes(p.GOERLI_DISPLAY_NAME):return M.BackgroundColor.goerli;case null==t?void 0:t.includes(p.SEPOLIA_DISPLAY_NAME):return M.BackgroundColor.sepolia;default:return undefined}},r.getTestNetworks=void 0,r.getTheme=function(e){return e.metamask.theme},r.getTokenExchangeRates=r.getTokenDetectionSupportNetworkByChainId=void 0,r.getTokenList=Ye,r.getTokensMarketData=void 0,r.getTotalUnapprovedCount=function(e){return e.metamask.pendingApprovalCount??0},r.getTotalUnapprovedMessagesCount=function(e){const{unapprovedMsgCount:t=0,unapprovedPersonalMsgCount:r=0,unapprovedDecryptMsgCount:a=0,unapprovedEncryptionPublicKeyMsgCount:n=0,unapprovedTypedMessagesCount:o=0}=e.metamask;return t+r+a+n+o},r.getTotalUnapprovedSignatureRequestCount=function(e){const{unapprovedMsgCount:t=0,unapprovedPersonalMsgCount:r=0,unapprovedTypedMessagesCount:a=0}=e.metamask;return t+r+a},r.getTxData=r.getTransaction=void 0,r.getUSDConversionRate=function(e){var t;return null===(t=e.metamask.currencyRates[(0,R.getProviderConfig)(e).ticker])||void 0===t?void 0:t.usdConversionRate},r.getUnapprovedConfirmations=void 0,r.getUnapprovedTemplatedConfirmations=pe,r.getUnapprovedTransaction=void 0,r.getUnapprovedTxCount=function(e){const t=(0,B.getUnapprovedTransactions)(e);return Object.keys(t).length},r.getUnconnectedAccounts=function(e,t){const r=$(e),a=(0,F.getOrderedConnectedAccountsForConnectedDapp)(e,t);return r.filter((e=>!a.some((t=>t.address===e.address))))},r.getUnreadNotifications=Ke,r.getUpdatedAndSortedAccounts=r.getUnreadNotificationsCount=void 0,r.getUseBlockie=function(e){return Boolean(e.metamask.useBlockie)},r.getUseCurrencyRateCheck=nt,r.getUseExternalServices=function(e){return e.metamask.useExternalServices},r.getUseNftDetection=function(e){return Boolean(e.metamask.useNftDetection)},r.getUseNonceField=function(e){const t=(0,T.getIsSmartTransaction)(e);return Boolean(!t&&e.metamask.useNonceField)},r.getUseRequestQueue=rt,r.getUseTokenDetection=Qe,r.getWeb3ShimUsageStateForOrigin=function(e,t){return e.metamask.web3ShimUsageOrigins[t]},r.getsnapsAddSnapAccountModalDismissed=function(e){const{snapsAddSnapAccountModalDismissed:t}=e.metamask;return t},r.isBalanceCached=function(e){var t;const{address:r}=K(e),a=null===(t=Q(e)[r])||void 0===t?void 0:t.balance,n=ee(e);return Boolean(!a&&n)},r.isCurrentProviderCustom=function(e){const t=(0,R.getProviderConfig)(e);return t.type===p.NETWORK_TYPES.RPC&&!Object.values(p.CHAIN_IDS).includes(t.chainId)},r.isHardwareWallet=G,r.isNetworkLoading=function(e){const t=J(e);return t&&e.metamask.networksMetadata[t].status!==p.NetworkStatus.Available},r.useSafeChainsListValidationSelector=r.selectInstalledSnaps=r.rawStateSelector=void 0;var a,n=e("@metamask/permission-controller"),o=e("@metamask/controller-utils"),i=e("@metamask/snaps-utils"),s=e("lodash"),c=(a=e("semver"))&&a.__esModule?a:{default:a},u=e("reselect"),l=e("@metamask/name-controller"),d=e("@metamask/transaction-controller"),g=e("../../app/scripts/lib/util"),p=e("../../shared/constants/network"),m=e("../../shared/constants/hardware-wallets"),h=e("../../shared/constants/keyring"),T=e("../../shared/modules/selectors"),f=e("../../shared/constants/labels"),S=e("../../shared/constants/swaps"),A=e("../../shared/constants/bridge"),y=e("../helpers/utils/util"),v=e("../pages/confirmations/confirmation/templates"),E=e("../../shared/constants/tokens"),b=e("../../shared/constants/time"),C=e("../../shared/constants/terms"),R=e("../ducks/metamask/metamask"),D=e("../ducks/app/app"),O=e("../../shared/modules/string-utils"),I=e("../../shared/modules/conversion.utils"),M=e("../helpers/constants/design-system"),k=e("../../shared/notifications"),P=e("../helpers/constants/survey"),N=e("../helpers/constants/privacy-policy"),_=e("../../shared/constants/app"),L=e("../../shared/constants/security-provider"),B=e("./transactions"),F=e("./permissions"),w=e("./util");function J(e){return e.metamask.selectedNetworkClientId}function H(e){const{chainId:t}=(0,R.getProviderConfig)(e);return t}function U(e){const t=K(e);return t?t.metadata.keyring:null}function G(e){var t;const r=U(e);return Boolean(null==r||null===(t=r.type)||void 0===t?void 0:t.includes("Hardware"))}function X(e){return x(U(e))}function x(e){if(!e)return"";const{type:t}=e;switch(t){case h.KeyringType.trezor:case h.KeyringType.ledger:case h.KeyringType.lattice:case h.KeyringType.qr:return"hardware";case h.KeyringType.imported:return"imported";case h.KeyringType.snap:return"snap";default:return"default"}}const j=r.getMetaMaskAccounts=(0,u.createSelector)(q,Q,Y,((e,t,r)=>Object.values(e).reduce(((e,a)=>{let n=a;return t[a.address]&&(n={...n,...t[a.address]}),null!==n.balance&&n.balance!==undefined||(n={...n,balance:(r&&r[a.address])??"0x0"}),{...e,[a.address]:n}}),{})));function V(e,t){return Object.values(e.metamask.internalAccounts.accounts).find((e=>(0,O.isEqualCaseInsensitive)(e.address,t)))}function K(e){const t=e.metamask.internalAccounts.selectedAccount;return e.metamask.internalAccounts.accounts[t]}function q(e){return Object.values(e.metamask.internalAccounts.accounts)}const z=r.getInternalAccountsSortedByKeyring=(0,u.createSelector)(Z,j,((e,t)=>e.map((({accounts:e})=>e)).flat().map((e=>t[e]))));function W(e){const{tokens:t}=e.metamask;return t?t.length:0}function Z(e){return e.metamask.keyrings}function Q(e){return e.metamask.accounts}function Y(e){var t;const r=H(e);return null!==(t=e.metamask.accountsByChainId)&&void 0!==t&&t[r]?Object.entries(e.metamask.accountsByChainId[r]).reduce(((e,[t,r])=>(e[t]=r.balance,e)),{}):{}}const $=r.getMetaMaskAccountsOrdered=(0,u.createSelector)(z,j,((e,t)=>e.map((e=>({...e,...t[e.address]})))));r.getMetaMaskAccountsConnected=(0,u.createSelector)($,(e=>e.map((({address:e})=>e.toLowerCase()))));function ee(e){const t=Y(e),{address:r}=K(e);return null==t?void 0:t[r]}function te(e){return e.metamask.domains}r.getConfirmationExchangeRates=e=>e.metamask.confirmationExchangeRates;const re=r.getSelectedAccount=(0,w.createDeepEqualSelector)(j,K,((e,t)=>t?{...t,...e[t.address]}:undefined));r.getTokenExchangeRates=e=>{var t;const r=H(e),a=(null===(t=e.metamask.marketData)||void 0===t?void 0:t[r])??{};return Object.entries(a).reduce(((e,[t,r])=>(e[t]=(null==r?void 0:r.price)??null,e)),{})};function ae(e){const t=H(e);return e.metamask.addressBook[t]?Object.values(e.metamask.addressBook[t]):[]}function ne(e,t){return ae(e).find((e=>(0,O.isEqualCaseInsensitive)(e.address,t)))}function oe(e){const t=j(e),r=q(e);return Object.values(r).map((e=>({...e,...t[e.address]})))}function ie(e){const{address:t}=K(e),r=oe(e);return(0,y.getAccountByAddress)(r,t)}function se(e){var t;return null===(t=ie(e))||void 0===t?void 0:t.balance}r.getTokensMarketData=e=>{var t;const r=H(e);return null===(t=e.metamask.marketData)||void 0===t?void 0:t[r]};const ce=r.getNonTestNetworks=(0,w.createDeepEqualSelector)($e,((e={})=>[{chainId:p.CHAIN_IDS.MAINNET,nickname:p.MAINNET_DISPLAY_NAME,rpcUrl:p.CHAIN_ID_TO_RPC_URL_MAP[p.CHAIN_IDS.MAINNET],rpcPrefs:{imageUrl:p.ETH_TOKEN_IMAGE_URL},providerType:p.NETWORK_TYPES.MAINNET,ticker:p.CURRENCY_SYMBOLS.ETH,id:p.NETWORK_TYPES.MAINNET,removable:!1},{chainId:p.CHAIN_IDS.LINEA_MAINNET,nickname:p.LINEA_MAINNET_DISPLAY_NAME,rpcUrl:p.CHAIN_ID_TO_RPC_URL_MAP[p.CHAIN_IDS.LINEA_MAINNET],rpcPrefs:{imageUrl:p.LINEA_MAINNET_TOKEN_IMAGE_URL},providerType:p.NETWORK_TYPES.LINEA_MAINNET,ticker:p.TEST_NETWORK_TICKER_MAP[p.NETWORK_TYPES.LINEA_MAINNET],id:p.NETWORK_TYPES.LINEA_MAINNET,removable:!1},...Object.values(e).filter((({chainId:e})=>![p.CHAIN_IDS.LOCALHOST].includes(e))).map((e=>{var t;return{...e,rpcPrefs:{...e.rpcPrefs,imageUrl:(null==e||null===(t=e.rpcPrefs)||void 0===t?void 0:t.imageUrl)??p.CHAIN_ID_TO_NETWORK_IMAGE_URL_MAP[e.chainId]},removable:!0}}))])),ue=r.getTestNetworks=(0,w.createDeepEqualSelector)($e,((e={})=>[{chainId:p.CHAIN_IDS.SEPOLIA,nickname:p.SEPOLIA_DISPLAY_NAME,rpcUrl:p.CHAIN_ID_TO_RPC_URL_MAP[p.CHAIN_IDS.SEPOLIA],providerType:p.NETWORK_TYPES.SEPOLIA,ticker:p.TEST_NETWORK_TICKER_MAP[p.NETWORK_TYPES.SEPOLIA],id:p.NETWORK_TYPES.SEPOLIA,removable:!1},{chainId:p.CHAIN_IDS.LINEA_SEPOLIA,nickname:p.LINEA_SEPOLIA_DISPLAY_NAME,rpcUrl:p.CHAIN_ID_TO_RPC_URL_MAP[p.CHAIN_IDS.LINEA_SEPOLIA],rpcPrefs:{imageUrl:p.LINEA_SEPOLIA_TOKEN_IMAGE_URL},providerType:p.NETWORK_TYPES.LINEA_SEPOLIA,ticker:p.TEST_NETWORK_TICKER_MAP[p.NETWORK_TYPES.LINEA_SEPOLIA],id:p.NETWORK_TYPES.LINEA_SEPOLIA,removable:!1},{chainId:p.CHAIN_IDS.LINEA_GOERLI,nickname:p.LINEA_GOERLI_DISPLAY_NAME,rpcUrl:p.CHAIN_ID_TO_RPC_URL_MAP[p.CHAIN_IDS.LINEA_GOERLI],rpcPrefs:{imageUrl:p.LINEA_GOERLI_TOKEN_IMAGE_URL},providerType:p.NETWORK_TYPES.LINEA_GOERLI,ticker:p.TEST_NETWORK_TICKER_MAP[p.NETWORK_TYPES.LINEA_GOERLI],id:p.NETWORK_TYPES.LINEA_GOERLI,removable:!1},...Object.values(e).filter((({chainId:e})=>e===p.CHAIN_IDS.LOCALHOST)).map((e=>({...e,removable:!0})))])),le=r.getAllNetworks=(0,w.createDeepEqualSelector)(ce,ue,((e,t)=>[...e,...t]));function de(e){return e.metamask.queuedRequestCount??0}const ge=r.getUnapprovedConfirmations=(0,w.createDeepEqualSelector)((e=>e.metamask.pendingApprovals||{}),(e=>Object.values(e)));function pe(e){return ge(e).filter((e=>v.TEMPLATED_CONFIRMATION_APPROVAL_TYPES.includes(e.type)))}r.getPrioritizedUnapprovedTemplatedConfirmations=(0,u.createSelector)(pe,(e=>e.filter((({type:e})=>v.PRIORITY_APPROVAL_TEMPLATE_TYPES.includes(e)))));function me(e){return H(e)===p.CHAIN_IDS.MAINNET}function he(e){return H(e)===p.CHAIN_IDS.LINEA_MAINNET}function Te(e){const t=H(e);return p.TEST_CHAINS.includes(t)}function fe({metamask:e}){return e.preferences}function Se(e){const{showTestNetworks:t}=fe(e);return Boolean(t)}const Ae=(0,s.memoize)((e=>`data:image/svg+xml;utf8,${encodeURIComponent(e)}`));function ye(e,t){const r=(0,F.getSubjectMetadata)(e)[t];if((null==r?void 0:r.subjectType)===n.SubjectType.Snap){const{svgIcon:e,...t}=r;return{...t,iconUrl:e?Ae(e):null}}return r}const ve=e=>e;r.rawStateSelector=ve;const Ee=e=>e.metamask.snaps;r.selectInstalledSnaps=Ee;const be=r.getSnapRegistryData=(0,u.createSelector)([e=>{var t;return null===(t=e.metamask.database)||void 0===t?void 0:t.verifiedSnaps},(e,t)=>t],((e,t)=>e?e[t]:null)),Ce=r.getSnapLatestVersion=(0,u.createSelector)([be],(e=>e?Object.keys(e.versions).reduce(((e,t)=>c.default.gt(t,e)?t:e),"0.0.0"):null)),Re=r.getAllSnapAvailableUpdates=(0,u.createSelector)([Ee,ve],((e,t)=>{const r=new Map;return Object.keys(e).forEach((a=>{const n=Ce(t,a);r.set(a,!!n&&c.default.gt(n,e[a].version))})),r})),De=(r.getAnySnapUpdateAvailable=(0,u.createSelector)([Re],(e=>[...e.values()].some((e=>!0===e)))),r.getMemoizedTargetSubjectMetadata=(0,w.createDeepEqualSelector)(ye,(e=>e)),r.getMemoizedUnapprovedConfirmations=(0,w.createDeepEqualSelector)(ge,(e=>e)),r.getMemoizedUnapprovedTemplatedConfirmations=(0,w.createDeepEqualSelector)(pe,(e=>e)),(e,t)=>t),Oe=r.getMemoizedInterfaces=(0,w.createDeepEqualSelector)((e=>e.metamask.interfaces),(e=>e)),Ie=r.getInterface=(0,u.createSelector)([Oe,De],((e,t)=>e[t])),Me=(r.getMemoizedInterface=(0,w.createDeepEqualSelector)(Ie,(e=>e)),r.getInterfaceContent=(0,u.createSelector)([Oe,De],((e,t)=>{var r;return null===(r=e[t])||void 0===r?void 0:r.content})));r.getMemoizedInterfaceContent=(0,w.createDeepEqualSelector)(Me,(e=>e)),r.getMultipleTargetsSubjectMetadata=(0,w.createDeepEqualSelector)([ve,(e,t)=>t],((e,t)=>Object.keys(t??{}).reduce(((t,r)=>(t[r]=ye(e,r),t)),{})));function ke(e){const{rpcPrefs:t}=(0,R.getProviderConfig)(e);return t||{}}function Pe(e){return e.activeTab.origin}r.getMemoizedMetaMaskInternalAccounts=(0,w.createDeepEqualSelector)(q,(e=>e)),r.getMemoizedAddressBook=(0,w.createDeepEqualSelector)(ae,(e=>e)),r.getMemoizedMetadataContracts=(0,w.createDeepEqualSelector)(((e,t,r)=>Ye(e,r)),((e,t)=>t),((e,t)=>t.map((t=>Object.values(e).find((e=>(0,O.isEqualCaseInsensitive)(e.address,t)))))));const Ne=r.getMemoizedMetadataContract=(0,w.createDeepEqualSelector)(Ye,((e,t)=>t),((e,t)=>Object.values(e).find((e=>(0,O.isEqualCaseInsensitive)(e.address,t))))),_e=(r.getMemoizedMetadataContractName=(0,w.createDeepEqualSelector)(Ne,(e=>(null==e?void 0:e.name)??"")),e=>e.confirmTransaction.txData);r.getTxData=_e;const Le=r.getUnapprovedTransaction=(0,w.createDeepEqualSelector)((e=>(0,B.getUnapprovedTransactions)(e)),((e,t)=>t),((e,t)=>Object.values(e).find((({id:e})=>e===t))||{})),Be=r.getTransaction=(0,w.createDeepEqualSelector)((e=>(0,B.getCurrentNetworkTransactions)(e)),((e,t)=>t),((e,t)=>Object.values(e).find((({id:e})=>e===t))||{})),Fe=(r.getFullTxData=(0,w.createDeepEqualSelector)(_e,((e,t,r)=>r===d.TransactionStatus.unapproved?Le(e,t):Be(e,t)),((e,t,r,a,n)=>({customTxParamsData:a,hexTransactionAmount:n})),((e,t,{customTxParamsData:r,hexTransactionAmount:a})=>{let n={...e,...t};return t&&t.simulationFails&&(n.simulationFails={...t.simulationFails}),r&&(n={...n,txParams:{...n.txParams,data:r}}),a&&(n={...n,txParams:{...n.txParams,value:a}}),n})),r.getAllConnectedAccounts=(0,w.createDeepEqualSelector)(F.getConnectedSubjectsForAllAddresses,(e=>Object.keys(e)))),we=r.getConnectedSitesList=(0,w.createDeepEqualSelector)(F.getConnectedSubjectsForAllAddresses,q,Fe,((e,t,r)=>{const a={};return r.forEach((r=>{e[r].forEach((e=>{const n=e.origin,o=t.find((e=>(0,O.isEqualCaseInsensitive)(e.address,r)));a[n]?(a[n].addresses.push(r),a[n].addressToNameMap[r]=(null==o?void 0:o.metadata.name)||""):a[n]={...e,addresses:[r],addressToNameMap:{[r]:(null==o?void 0:o.metadata.name)||""}}}))})),a}));r.getConnectedSnapsList=(0,w.createDeepEqualSelector)(ot,(e=>{const t={};return Object.values(e).forEach((e=>{t[e.name]||(t[e.name]=e)})),t})),r.getMemoizedCurrentChainId=(0,w.createDeepEqualSelector)(H,(e=>e)),r.getMemoizedTxId=(0,w.createDeepEqualSelector)((e=>e.appState.txId),(e=>e)),r.getMemoizedUnapprovedMessages=(0,w.createDeepEqualSelector)((e=>e.metamask.unapprovedMsgs),(e=>e)),r.getMemoizedUnapprovedPersonalMessages=(0,w.createDeepEqualSelector)((e=>e.metamask.unapprovedPersonalMsgs),(e=>e)),r.getMemoizedUnapprovedTypedMessages=(0,w.createDeepEqualSelector)((e=>e.metamask.unapprovedTypedMessages),(e=>e));function Je(e){return e.metamask.snaps}function He(e){return e.metamask.currentLocale}r.getSnap=(0,w.createDeepEqualSelector)(Je,((e,t)=>t),((e,t)=>e[t]));const Ue=r.getSnapsMetadata=(0,w.createDeepEqualSelector)(He,Je,((e,t)=>Object.values(t).reduce(((t,r)=>{const a=r.id,n=r.localizationFiles?(0,i.getLocalizedSnapManifest)(r.manifest,e,r.localizationFiles):r.manifest;return t[a]={name:n.proposedName,description:n.description},t}),{}))),Ge=r.getSnapMetadata=(0,w.createDeepEqualSelector)(Ue,((e,t)=>t),((e,t)=>e[t]??{name:t?(0,i.stripSnapPrefix)(t):null})),Xe=r.getEnabledSnaps=(0,w.createDeepEqualSelector)(Je,(e=>Object.values(e).reduce(((e,t)=>(t.enabled&&(e[t.id]=t),e)),{}))),xe=r.getInsightSnaps=(0,w.createDeepEqualSelector)(Xe,F.getPermissionSubjects,((e,t)=>Object.values(e).filter((({id:e})=>{var r;return null===(r=t[e])||void 0===r?void 0:r.permissions["endowment:transaction-insight"]})))),je=r.getSignatureInsightSnaps=(0,w.createDeepEqualSelector)(Xe,F.getPermissionSubjects,((e,t)=>Object.values(e).filter((({id:e})=>{var r;return null===(r=t[e])||void 0===r?void 0:r.permissions["endowment:signature-insight"]}))));r.getSignatureInsightSnapIds=(0,w.createDeepEqualSelector)(je,(e=>e.map((e=>e.id)))),r.getInsightSnapIds=(0,w.createDeepEqualSelector)(xe,(e=>e.map((e=>e.id)))),r.getNameLookupSnapsIds=(0,w.createDeepEqualSelector)(Xe,F.getPermissionSubjects,((e,t)=>Object.values(e).filter((({id:e})=>{var r;return null===(r=t[e])||void 0===r?void 0:r.permissions["endowment:name-lookup"]})).map((e=>e.id)))),r.getNotifySnaps=(0,w.createDeepEqualSelector)(Xe,F.getPermissionSubjects,((e,t)=>Object.values(e).filter((({id:e})=>{var r;return null===(r=t[e])||void 0===r?void 0:r.permissions.snap_notify}))));function Ve(e){return Object.values(e.metamask.notifications).sort(((e,t)=>new Date(t.createdDate)-new Date(e.createdDate)))}function Ke(e){return Ve(e).filter((e=>null===e.readDate))}r.getUnreadNotificationsCount=(0,u.createSelector)(Ke,(e=>e.length));function qe(e){return e.metamask.pinnedAccountList}function ze(e){return e.metamask.hiddenAccountList}function We(e){const t=(0,B.getAllUnapprovedTransactions)(e),r=de(e),a={...t,...e.metamask.unapprovedMsgs,...e.metamask.unapprovedDecryptMsgs,...e.metamask.unapprovedPersonalMsgs,...e.metamask.unapprovedEncryptionPublicKeyMsgs,...e.metamask.unapprovedTypedMessages};return Object.keys(a).length+r}const Ze=r.getCurrentNetwork=(0,w.createDeepEqualSelector)(le,R.getProviderConfig,((e,t)=>{const r="rpc"===t.type?e=>e.id===t.id:e=>e.id===t.type;return e.find(r)}));r.getConnectedSitesListWithNetworkInfo=(0,w.createDeepEqualSelector)(we,te,le,Ze,((e,t,r,a)=>(Object.keys(e).forEach((n=>{var o,i;const s=r.find((e=>e.id===t[n]));e[n].networkIconUrl=(null==s||null===(o=s.rpcPrefs)||void 0===o?void 0:o.imageUrl)||(null==a||null===(i=a.rpcPrefs)||void 0===i?void 0:i.imageUrl)||"",e[n].networkName=(null==s?void 0:s.nickname)||(null==a?void 0:a.nickname)||""})),e)));function Qe(e){return Boolean(e.metamask.useTokenDetection)}function Ye(e,t=!1){return tt(e)&&!t?E.STATIC_MAINNET_TOKEN_LIST:e.metamask.tokenList}function $e(e){return e.metamask.networkConfigurations}r.getAllEnabledNetworks=(0,w.createDeepEqualSelector)(ce,le,Se,((e,t,r)=>r?t:e));function et(e){const t=H(e);return[p.CHAIN_IDS.MAINNET,p.CHAIN_IDS.BSC,p.CHAIN_IDS.POLYGON,p.CHAIN_IDS.AVALANCHE,p.CHAIN_IDS.LINEA_GOERLI,p.CHAIN_IDS.LINEA_SEPOLIA,p.CHAIN_IDS.LINEA_MAINNET,p.CHAIN_IDS.ARBITRUM,p.CHAIN_IDS.OPTIMISM,p.CHAIN_IDS.BASE,p.CHAIN_IDS.ZKSYNC_ERA,p.CHAIN_IDS.CRONOS,p.CHAIN_IDS.CELO,p.CHAIN_IDS.GNOSIS,p.CHAIN_IDS.FANTOM,p.CHAIN_IDS.POLYGON_ZKEVM,p.CHAIN_IDS.MOONBEAM,p.CHAIN_IDS.MOONRIVER].includes(t)}function tt(e){const t=me(e);return!Qe(e)&&t}function rt(e){return e.metamask.useRequestQueue}function at(e){const t=H(e);return!p.CHAIN_ID_TO_RPC_URL_MAP[t]}r.getTokenDetectionSupportNetworkByChainId=e=>{switch(H(e)){case p.CHAIN_IDS.MAINNET:return p.MAINNET_DISPLAY_NAME;case p.CHAIN_IDS.BSC:return p.BSC_DISPLAY_NAME;case p.CHAIN_IDS.POLYGON:return p.POLYGON_DISPLAY_NAME;case p.CHAIN_IDS.AVALANCHE:return p.AVALANCHE_DISPLAY_NAME;case p.CHAIN_IDS.LINEA_GOERLI:return p.LINEA_GOERLI_DISPLAY_NAME;case p.CHAIN_IDS.LINEA_SEPOLIA:return p.LINEA_SEPOLIA_DISPLAY_NAME;case p.CHAIN_IDS.LINEA_MAINNET:return p.LINEA_MAINNET_DISPLAY_NAME;case p.CHAIN_IDS.ARBITRUM:return p.ARBITRUM_DISPLAY_NAME;case p.CHAIN_IDS.OPTIMISM:return p.OPTIMISM_DISPLAY_NAME;case p.CHAIN_IDS.BASE:return p.BASE_DISPLAY_NAME;case p.CHAIN_IDS.ZKSYNC_ERA:return p.ZK_SYNC_ERA_DISPLAY_NAME;case p.CHAIN_IDS.CRONOS:return p.CRONOS_DISPLAY_NAME;case p.CHAIN_IDS.CELO:return p.CELO_DISPLAY_NAME;case p.CHAIN_IDS.GNOSIS:return p.GNOSIS_DISPLAY_NAME;case p.CHAIN_IDS.FANTOM:return p.FANTOM_DISPLAY_NAME;case p.CHAIN_IDS.POLYGON_ZKEVM:return p.POLYGON_ZKEVM_DISPLAY_NAME;case p.CHAIN_IDS.MOONBEAM:return p.MOONBEAM_DISPLAY_NAME;case p.CHAIN_IDS.MOONRIVER:return p.MOONRIVER_DISPLAY_NAME;default:return""}};r.getUpdatedAndSortedAccounts=(0,w.createDeepEqualSelector)($,qe,ze,F.getOrderedConnectedAccountsForActiveTab,((e,t,r,a)=>{a.forEach((t=>{const r=e.find((e=>e.id===t.id));r&&t.metadata&&(r.connections=!0,r.lastSelected=t.metadata.lastSelected)}));const n=e.filter((e=>e.connections&&e.lastSelected)),o=n.length>0?n.reduce(((e,t)=>e.lastSelected>t.lastSelected?e:t)):null;e.forEach((e=>{e.pinned=Boolean(t.includes(e.address)),e.hidden=Boolean(r.includes(e.address)),e.active=Boolean(o&&e.id===o.id)}));return[...null==t?void 0:t.map((t=>e.find((e=>e.address===t)))).filter((e=>Boolean(e&&t.includes(e.address)&&!(null!=r&&r.includes(e.address))))),...e.filter((e=>!t.includes(e.address)&&!r.includes(e.address))),...e.filter((e=>r.includes(e.address)))]}));function nt(e){return Boolean(e.metamask.useCurrencyRateCheck)}function ot(e){const t=Je(e);return Object.entries(t).filter((([e,t])=>t.status!==i.SnapStatus.Installing&&(!t.preinstalled||!1===t.hidden))).map((([t,r])=>{const a=ye(e,null==r?void 0:r.id);return{key:t,id:r.id,iconUrl:null==a?void 0:a.iconUrl,subjectType:null==a?void 0:a.subjectType,packageName:(0,i.stripSnapPrefix)(r.id),name:Ge(e,r.id).name}}))}r.useSafeChainsListValidationSelector=e=>e.metamask.useSafeChainsListValidation}}},{package:"$root$",file:"ui/selectors/selectors.js"}],[5995,{"../../shared/constants/transaction":4520,"../../shared/modules/conversion.utils":4537,"../ducks/metamask/metamask":5346,"../helpers/constants/transactions":5367,"../helpers/utils/tx-helper":5398,"./approvals":5983,"./selectors":5994,"./util":5996,"@metamask/controller-utils":1163,"@metamask/transaction-controller":2234,reselect:4269},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.getUnapprovedTransactions=r.getTransactions=r.getCurrentNetworkTransactions=r.getApprovedAndSignedTransactions=r.getAllUnapprovedTransactions=void 0,r.hasTransactionPendingApprovals=function(e){return(0,p.getApprovalRequestsByType)(e,n.ApprovalType.Transaction).length>0||(0,p.hasPendingApprovals)(e,P)},r.unapprovedTypedMessagesSelector=r.unapprovedPersonalMsgsSelector=r.unapprovedMsgsSelector=r.unapprovedMessagesSelector=r.unapprovedEncryptionPublicKeyMsgsSelector=r.unapprovedDecryptMsgsSelector=r.transactionsSelector=r.transactionSubSelector=r.submittedPendingTransactionsSelector=r.smartTransactionsListSelector=r.selectedAddressTxListSelector=r.nonceSortedTransactionsSelector=r.nonceSortedPendingTransactionsSelector=r.nonceSortedCompletedTransactionsSelector=r.incomingTxListSelector=void 0;var a,n=e("@metamask/controller-utils"),o=e("reselect"),i=e("@metamask/transaction-controller"),s=e("../helpers/constants/transactions"),c=(a=e("../helpers/utils/tx-helper"))&&a.__esModule?a:{default:a},u=e("../../shared/constants/transaction"),l=e("../../shared/modules/conversion.utils"),d=e("../ducks/metamask/metamask"),g=e("./selectors"),p=e("./approvals"),m=e("./util");const h=[i.TransactionType.cancel,i.TransactionType.retry],T=e=>e.metamask.unapprovedMsgs;r.unapprovedMsgsSelector=T;const f=r.getTransactions=(0,m.createDeepEqualSelector)((e=>{const{transactions:t}=e.metamask??{};return null!=t&&t.length?t.sort(((e,t)=>e.time-t.time)):[]}),(e=>e)),S=r.getCurrentNetworkTransactions=(0,m.createDeepEqualSelector)((e=>{const t=f(e);if(!t.length)return[];const{chainId:r}=(0,d.getProviderConfig)(e);return t.filter((e=>e.chainId===r))}),(e=>e)),A=(r.getUnapprovedTransactions=(0,m.createDeepEqualSelector)((e=>{const t=S(e);return(0,m.filterAndShapeUnapprovedTransactions)(t)}),(e=>e)),r.getAllUnapprovedTransactions=(0,m.createDeepEqualSelector)((e=>{const{transactions:t}=e.metamask||[];if(null==t||!t.length)return[];const r=t.sort(((e,t)=>e.time-t.time));return(0,m.filterAndShapeUnapprovedTransactions)(r)}),(e=>e)),r.getApprovedAndSignedTransactions=(0,m.createDeepEqualSelector)((e=>f(e).filter((e=>[i.TransactionStatus.approved,i.TransactionStatus.signed].includes(e.status)))),(e=>e)),r.incomingTxListSelector=(0,m.createDeepEqualSelector)((e=>{const{incomingTransactionsPreferences:t}=e.metamask;if(!t)return[];const r=S(e),{address:a}=(0,g.getSelectedInternalAccount)(e);return r.filter((e=>e.type===i.TransactionType.incoming&&e.txParams.to===a))}),(e=>e))),y=e=>e.metamask.unapprovedPersonalMsgs;r.unapprovedPersonalMsgsSelector=y;const v=e=>e.metamask.unapprovedDecryptMsgs;r.unapprovedDecryptMsgsSelector=v;const E=e=>e.metamask.unapprovedEncryptionPublicKeyMsgs;r.unapprovedEncryptionPublicKeyMsgsSelector=E;const b=e=>e.metamask.unapprovedTypedMessages;r.unapprovedTypedMessagesSelector=b;const C=e=>{var t;const{address:r}=(0,g.getSelectedInternalAccount)(e);return null===(t=e.metamask.smartTransactionsState)||void 0===t||null===(t=t.smartTransactions)||void 0===t||null===(t=t[(0,g.getCurrentChainId)(e)])||void 0===t?void 0:t.filter((e=>{var t,a;const n=null===(t=e.status)||void 0===t?void 0:t.startsWith("cancelled");return(null===(a=e.txParams)||void 0===a?void 0:a.from)===r&&!e.confirmed&&(!n||n&&e.type===i.TransactionType.swap)})).map((e=>{var t;return{...e,isSmartTransaction:!0,status:null!==(t=e.status)&&void 0!==t&&t.startsWith("cancelled")?u.SmartTransactionStatus.cancelled:e.status}}))};r.smartTransactionsListSelector=C;const R=r.selectedAddressTxListSelector=(0,o.createSelector)(g.getSelectedInternalAccount,S,C,((e,t=[],r=[])=>t.filter((({txParams:t})=>t.from===e.address)).filter((({type:e})=>e!==i.TransactionType.incoming)).concat(r))),D=r.unapprovedMessagesSelector=(0,o.createSelector)(T,y,v,E,b,g.getCurrentChainId,((e={},t={},r={},a={},n={},o)=>(0,c.default)({},e,t,r,a,n,o)||[])),O=r.transactionSubSelector=(0,o.createSelector)(D,A,((e=[],t=[])=>e.concat(t))),I=r.transactionsSelector=(0,o.createSelector)(O,R,((e=[],t=[])=>t.concat(e).sort(((e,t)=>t.time-e.time)))),M=(e,t)=>{const{primaryTransaction:{time:r}={}}=t;let a=e.length;for(let t=0;tr){a=t;break}}e.splice(a,0,t)},k=r.nonceSortedTransactionsSelector=(0,o.createSelector)(I,((e=[])=>{const t=[],r=[],a=[],n={};e.forEach((e=>{const{txParams:{nonce:o}={},status:c,type:u,time:d,txReceipt:g}=e;if(void 0===o||u===i.TransactionType.incoming){const a={transactions:[e],initialTransaction:e,primaryTransaction:e,hasRetried:!1,hasCancelled:!1,nonce:o};u===i.TransactionType.incoming?r.push(a):M(t,a)}else if(o in n){var p,m;const t=n[o];((e,t)=>{const{time:r}=t;let a=e.length;for(let t=0;tr){a=t;break}e.splice(a,0,t)})(t.transactions,e);const{primaryTransaction:{time:r=0}={},initialTransaction:{time:a=0}={}}=t,l={isOnChainFailure:"0x0"===(null==g?void 0:g.status),isEphemeral:c===i.TransactionStatus.failed&&"0x0"!==(null==g?void 0:g.status),isRetryOrCancel:h.includes(u),occurredAfterPrimary:d>r,hasPriorityStatus:c in s.PRIORITY_STATUS_HASH,isConfirmed:c===i.TransactionStatus.confirmed,occurredBeforeInitial:d{let r=e.length;for(let a=0;aNumber((0,l.hexToDecimal)(t))){r=a;break}}e.splice(r,0,t)})(a,o)}));const o=a.map((e=>n[e]));return((e,t)=>{t.forEach((t=>{M(e,t)}))})(o,r),t.concat(o).map((e=>{var t;if(h.includes(null===(t=e.initialTransaction)||void 0===t?void 0:t.type)){const t=e.transactions.find((e=>!h.includes(e.type)));if(t)return{...e,initialTransaction:t}}return e}))})),P=(r.nonceSortedPendingTransactionsSelector=(0,o.createSelector)(k,((e=[])=>e.filter((({primaryTransaction:e})=>e.status in s.PENDING_STATUS_HASH)))),r.nonceSortedCompletedTransactionsSelector=(0,o.createSelector)(k,((e=[])=>e.filter((({primaryTransaction:e})=>!(e.status in s.PENDING_STATUS_HASH))).reverse())),r.submittedPendingTransactionsSelector=(0,o.createSelector)(I,((e=[])=>e.filter((e=>e.status===i.TransactionStatus.submitted)))),[n.ApprovalType.EthDecrypt,n.ApprovalType.EthGetEncryptionPublicKey,n.ApprovalType.EthSign,n.ApprovalType.EthSignTypedData,n.ApprovalType.PersonalSign])}}},{package:"$root$",file:"ui/selectors/transactions.js"}],[5996,{"@metamask/transaction-controller":2234,lodash:3836,reselect:4269},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.filterAndShapeUnapprovedTransactions=r.createDeepEqualSelector=void 0;var a=e("@metamask/transaction-controller"),n=e("lodash"),o=e("reselect");r.createDeepEqualSelector=(0,o.createSelectorCreator)(o.defaultMemoize,n.isEqual);r.filterAndShapeUnapprovedTransactions=e=>e.filter((({status:e})=>e===a.TransactionStatus.unapproved)).reduce(((e,t)=>(e[t.id]=t,e)),{})}}},{package:"$root$",file:"ui/selectors/util.js"}],[5997,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.UPDATE_TRANSACTION_PARAMS=r.UPDATE_METAMASK_STATE=r.UPDATE_CUSTOM_NONCE=r.UNLOCK_SUCCEEDED=r.UNLOCK_IN_PROGRESS=r.UNLOCK_FAILED=r.TRANSACTION_ERROR=r.TOGGLE_NETWORK_MENU=r.TOGGLE_GAS_LOADING_ANIMATION=r.TOGGLE_CURRENCY_INPUT_SWITCH=r.TOGGLE_ACCOUNT_MENU=r.SHOW_SEND_TOKEN_PAGE=r.SHOW_PRIVATE_KEY=r.SHOW_LOADING=r.SHOW_KEYRING_SNAP_REMOVAL_RESULT=r.SHOW_IPFS_MODAL_OPEN=r.SHOW_IPFS_MODAL_CLOSE=r.SHOW_CONF_TX_PAGE=r.SHOW_BASIC_FUNCTIONALITY_MODAL_OPEN=r.SHOW_BASIC_FUNCTIONALITY_MODAL_CLOSE=r.SHOW_ACCOUNTS_PAGE=r.SET_WEBHID_CONNECTED_STATUS=r.SET_SMART_TRANSACTIONS_ERROR=r.SET_SHOW_TOKEN_AUTO_DETECT_MODAL_UPGRADE=r.SET_SELECTED_NETWORK_CONFIGURATION_ID=r.SET_REQUEST_ACCOUNT_TABS=r.SET_REMOVE_NFT_MESSAGE=r.SET_PENDING_TOKENS=r.SET_PARTICIPATE_IN_METAMETRICS=r.SET_OPEN_METAMASK_TAB_IDS=r.SET_NEXT_NONCE=r.SET_NEW_TOKENS_IMPORTED_ERROR=r.SET_NEW_TOKENS_IMPORTED=r.SET_NEW_NFT_ADDED_MESSAGE=r.SET_NEW_NETWORK_ADDED=r.SET_LEDGER_TRANSPORT_STATUS=r.SET_HARDWARE_WALLET_DEFAULT_HD_PATH=r.SET_FIRST_TIME_FLOW_TYPE=r.SET_DATA_COLLECTION_FOR_MARKETING=r.SET_CUSTOM_TOKEN_AMOUNT=r.SET_CURRENT_LOCALE=r.SET_CONFIRMATION_EXCHANGE_RATES=r.SET_ACCOUNT_LABEL=r.SET_ACCOUNT_DETAILS_ADDRESS=r.SELECTED_ADDRESS_CHANGED=r.SELECTED_ACCOUNT_CHANGED=r.RESET_ONBOARDING=r.QR_CODE_DETECTED=r.ONBOARDING_TOGGLE_BASIC_FUNCTIONALITY_ON=r.ONBOARDING_TOGGLE_BASIC_FUNCTIONALITY_OFF=r.ONBOARDED_IN_THIS_UI_SESSION=r.NETWORK_DROPDOWN_OPEN=r.NETWORK_DROPDOWN_CLOSE=r.MODAL_OPEN=r.MODAL_CLOSE=r.LOCK_METAMASK=r.LOADING_METHOD_DATA_STARTED=r.LOADING_METHOD_DATA_FINISHED=r.IMPORT_TOKENS_POPOVER_OPEN=r.IMPORT_TOKENS_POPOVER_CLOSE=r.IMPORT_NFTS_MODAL_OPEN=r.IMPORT_NFTS_MODAL_CLOSE=r.HIDE_WHATS_NEW_POPUP=r.HIDE_WARNING=r.HIDE_LOADING=r.HIDE_KEYRING_SNAP_REMOVAL_RESULT=r.GO_HOME=r.GAS_FEE_ESTIMATES_UPDATED=r.FORCE_DISABLE_DESKTOP=r.DISPLAY_WARNING=r.DISMISS_SMART_TRANSACTIONS_ERROR_MESSAGE=r.DEPRECATED_NETWORK_POPOVER_OPEN=r.DEPRECATED_NETWORK_POPOVER_CLOSE=r.CONNECT_ACCOUNTS_MODAL_OPEN=r.CONNECT_ACCOUNTS_MODAL_CLOSE=r.COMPLETE_ONBOARDING=r.COMPLETED_TX=r.CLOSE_WELCOME_SCREEN=r.CLEAR_SWAP_AND_SEND_STATE=r.CLEAR_PENDING_TOKENS=r.CLEAR_ACCOUNT_DETAILS=r.CHAIN_CHANGED=r.CAPTURE_SINGLE_EXCEPTION=r.ALERT_OPEN=r.ALERT_CLOSE=r.ADDRESS_BOOK_UPDATED=r.ACCOUNT_CHANGED=void 0;r.GO_HOME="GO_HOME",r.MODAL_OPEN="UI_MODAL_OPEN",r.MODAL_CLOSE="UI_MODAL_CLOSE",r.SET_CONFIRMATION_EXCHANGE_RATES="SET_CONFIRMATION_EXCHANGE_RATES",r.ALERT_OPEN="UI_ALERT_OPEN",r.ALERT_CLOSE="UI_ALERT_CLOSE",r.QR_CODE_DETECTED="UI_QR_CODE_DETECTED",r.NETWORK_DROPDOWN_OPEN="UI_NETWORK_DROPDOWN_OPEN",r.NETWORK_DROPDOWN_CLOSE="UI_NETWORK_DROPDOWN_CLOSE",r.IMPORT_NFTS_MODAL_OPEN="UI_IMPORT_NFTS_MODAL_OPEN",r.IMPORT_NFTS_MODAL_CLOSE="UI_IMPORT_NFTS_MODAL_CLOSE",r.SHOW_IPFS_MODAL_OPEN="UI_IPFS_MODAL_OPEN",r.SHOW_IPFS_MODAL_CLOSE="UI_IPFS_MODAL_CLOSE",r.IMPORT_TOKENS_POPOVER_OPEN="UI_IMPORT_TOKENS_POPOVER_OPEN",r.IMPORT_TOKENS_POPOVER_CLOSE="UI_IMPORT_TOKENS_POPOVER_CLOSE",r.SHOW_BASIC_FUNCTIONALITY_MODAL_OPEN="SHOW_BASIC_FUNCTIONALITY_MODAL_OPEN",r.SHOW_BASIC_FUNCTIONALITY_MODAL_CLOSE="SHOW_BASIC_FUNCTIONALITY_MODAL_CLOSE",r.ONBOARDING_TOGGLE_BASIC_FUNCTIONALITY_ON="ONBOARDING_TOGGLE_BASIC_FUNCTIONALITY_ON",r.ONBOARDING_TOGGLE_BASIC_FUNCTIONALITY_OFF="ONBOARDING_TOGGLE_BASIC_FUNCTIONALITY_OFF",r.UPDATE_METAMASK_STATE="UPDATE_METAMASK_STATE",r.SELECTED_ADDRESS_CHANGED="SELECTED_ADDRESS_CHANGED",r.SELECTED_ACCOUNT_CHANGED="SELECTED_ACCOUNT_CHANGED",r.ACCOUNT_CHANGED="ACCOUNT_CHANGED",r.CHAIN_CHANGED="CHAIN_CHANGED",r.ADDRESS_BOOK_UPDATED="ADDRESS_BOOK_UPDATED",r.GAS_FEE_ESTIMATES_UPDATED="GAS_FEE_ESTIMATES_UPDATED",r.CLOSE_WELCOME_SCREEN="CLOSE_WELCOME_SCREEN",r.CLEAR_SWAP_AND_SEND_STATE="CLEAR_SWAP_AND_SEND_STATE",r.UNLOCK_IN_PROGRESS="UNLOCK_IN_PROGRESS",r.UNLOCK_FAILED="UNLOCK_FAILED",r.UNLOCK_SUCCEEDED="UNLOCK_SUCCEEDED",r.LOCK_METAMASK="LOCK_METAMASK",r.DISPLAY_WARNING="DISPLAY_WARNING",r.HIDE_WARNING="HIDE_WARNING",r.CAPTURE_SINGLE_EXCEPTION="CAPTURE_SINGLE_EXCEPTION",r.SHOW_ACCOUNTS_PAGE="SHOW_ACCOUNTS_PAGE",r.SHOW_CONF_TX_PAGE="SHOW_CONF_TX_PAGE",r.SHOW_SEND_TOKEN_PAGE="SHOW_SEND_TOKEN_PAGE",r.SHOW_PRIVATE_KEY="SHOW_PRIVATE_KEY",r.SET_ACCOUNT_LABEL="SET_ACCOUNT_LABEL",r.CLEAR_ACCOUNT_DETAILS="CLEAR_ACCOUNT_DETAILS",r.SET_ACCOUNT_DETAILS_ADDRESS="SET_ACCOUNT_DETAILS_ADDRESS",r.COMPLETED_TX="COMPLETED_TX",r.TRANSACTION_ERROR="TRANSACTION_ERROR",r.UPDATE_TRANSACTION_PARAMS="UPDATE_TRANSACTION_PARAMS",r.SET_NEXT_NONCE="SET_NEXT_NONCE",r.SET_HARDWARE_WALLET_DEFAULT_HD_PATH="SET_HARDWARE_WALLET_DEFAULT_HD_PATH",r.SHOW_LOADING="SHOW_LOADING_INDICATION",r.HIDE_LOADING="HIDE_LOADING_INDICATION",r.TOGGLE_ACCOUNT_MENU="TOGGLE_ACCOUNT_MENU",r.TOGGLE_NETWORK_MENU="TOGGLE_NETWORK_MENU",r.DEPRECATED_NETWORK_POPOVER_OPEN="DEPRECATED_NETWORK_POPOVER_OPEN",r.DEPRECATED_NETWORK_POPOVER_CLOSE="DEPRECATED_NETWORK_POPOVER_CLOSE",r.UPDATE_CUSTOM_NONCE="UPDATE_CUSTOM_NONCE",r.SET_PARTICIPATE_IN_METAMETRICS="SET_PARTICIPATE_IN_METAMETRICS",r.SET_DATA_COLLECTION_FOR_MARKETING="SET_DATA_COLLECTION_FOR_MARKETING",r.SET_CURRENT_LOCALE="SET_CURRENT_LOCALE",r.COMPLETE_ONBOARDING="COMPLETE_ONBOARDING",r.RESET_ONBOARDING="RESET_ONBOARDING",r.ONBOARDED_IN_THIS_UI_SESSION="ONBOARDED_IN_THIS_UI_SESSION",r.SET_WEBHID_CONNECTED_STATUS="SET_WEBHID_CONNECTED_STATUS",r.SET_LEDGER_TRANSPORT_STATUS="SET_LEDGER_TRANSPORT_STATUS",r.SET_PENDING_TOKENS="SET_PENDING_TOKENS",r.CLEAR_PENDING_TOKENS="CLEAR_PENDING_TOKENS",r.SET_FIRST_TIME_FLOW_TYPE="SET_FIRST_TIME_FLOW_TYPE",r.SET_SHOW_TOKEN_AUTO_DETECT_MODAL_UPGRADE="SET_SHOW_TOKEN_AUTO_DETECT_MODAL_UPGRADE",r.SET_SELECTED_NETWORK_CONFIGURATION_ID="SET_SELECTED_NETWORK_CONFIGURATION_ID",r.SET_NEW_NETWORK_ADDED="SET_NEW_NETWORK_ADDED",r.SET_NEW_NFT_ADDED_MESSAGE="SET_NEW_NFT_ADDED_MESSAGE",r.SET_REMOVE_NFT_MESSAGE="SET_REMOVE_NFT_MESSAGE",r.LOADING_METHOD_DATA_STARTED="LOADING_METHOD_DATA_STARTED",r.LOADING_METHOD_DATA_FINISHED="LOADING_METHOD_DATA_FINISHED",r.SET_REQUEST_ACCOUNT_TABS="SET_REQUEST_ACCOUNT_TABS",r.SET_OPEN_METAMASK_TAB_IDS="SET_OPEN_METAMASK_TAB_IDS",r.HIDE_WHATS_NEW_POPUP="HIDE_WHATS_NEW_POPUP",r.TOGGLE_GAS_LOADING_ANIMATION="TOGGLE_GAS_LOADING_ANIMATION",r.SET_SMART_TRANSACTIONS_ERROR="SET_SMART_TRANSACTIONS_ERROR",r.DISMISS_SMART_TRANSACTIONS_ERROR_MESSAGE="DISMISS_SMART_TRANSACTIONS_ERROR_MESSAGE",r.TOGGLE_CURRENCY_INPUT_SWITCH="TOGGLE_CURRENCY_INPUT_SWITCH",r.SET_NEW_TOKENS_IMPORTED="SET_NEW_TOKENS_IMPORTED",r.SET_NEW_TOKENS_IMPORTED_ERROR="SET_NEW_TOKENS_IMPORTED_ERROR",r.SET_CUSTOM_TOKEN_AMOUNT="SET_CUSTOM_TOKEN_AMOUNT",r.CONNECT_ACCOUNTS_MODAL_OPEN="UI_CONNECT_ACCOUNTS_MODAL_OPEN",r.CONNECT_ACCOUNTS_MODAL_CLOSE="UI_CONNECT_ACCOUNTS_MODAL_CLOSE",r.FORCE_DISABLE_DESKTOP="FORCE_DISABLE_DESKTOP",r.SHOW_KEYRING_SNAP_REMOVAL_RESULT="SHOW_KEYRING_SNAP_REMOVAL_RESULT",r.HIDE_KEYRING_SNAP_REMOVAL_RESULT="HIDE_KEYRING_SNAP_REMOVAL_RESULT"}}},{package:"$root$",file:"ui/store/actionConstants.ts"}],[5998,{"../../app/scripts/lib/util":120,"../../shared/constants/app":4493,"../../shared/constants/common":4495,"../../shared/constants/hardware-wallets":4501,"../../shared/constants/metametrics":4505,"../../shared/lib/switch-direction":4529,"../../shared/modules/conversion.utils":4537,"../../shared/modules/error":4540,"../../shared/modules/hexstring-utils":4544,"../../shared/modules/i18n":4545,"../../shared/modules/selectors":4554,"../../shared/modules/string-utils":4558,"../ducks/alerts/unconnected-account":5335,"../ducks/metamask/metamask":5346,"../ducks/send":5348,"../helpers/constants/notifications":5359,"../helpers/utils/transactions.util":5397,"../pages/swaps/swaps.util":5967,"../selectors":5987,"./actionConstants":5997,"./background-connection":5999,"@metamask/keyring-controller":1476,"@sentry/browser":2409,buffer:3028,"eth-rpc-errors":3257,lodash:3836,loglevel:3842},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(t){(function(){Object.defineProperty(r,"__esModule",{value:!0}),r.abortTransactionSigning=function(e){return async t=>{try{await(0,I.submitRequestToBackground)("abortTransactionSigning",[e])}catch(e){t(te(e))}}},r.addImportedTokens=function(e,t){return async r=>{try{await(0,I.submitRequestToBackground)("addImportedTokens",[e,t])}catch(e){(0,D.logErrorWithMessage)(e)}finally{await oe(r)}}},r.addMorePermittedAccounts=function(e,t){return async r=>{await new Promise(((r,a)=>{(0,I.callBackgroundMethod)("addMorePermittedAccounts",[e,t],(e=>{e?a(e):r()}))})),await oe(r)}},r.addNewAccount=function(){return a.default.debug("background.addNewAccount"),async(e,t)=>{const r=(0,g.getInternalAccounts)(t()).filter((e=>e.metadata.keyring.type===s.KeyringTypes.hd));let a;e($());try{a=await(0,I.submitRequestToBackground)("addNewAccount",[Object.keys(r).length])}catch(t){throw e(te(t)),t}finally{e(ee())}return await oe(e),a}},r.addNft=function(e,t,r){return async a=>{if(!e)throw new Error("MetaMask - Cannot add NFT without address");if(!t)throw new Error("MetaMask - Cannot add NFT without tokenID");r||a($());try{await(0,I.submitRequestToBackground)("addNft",[e,t])}catch(e){(0,D.logErrorWithMessage)(e),a(te(e))}finally{await oe(a),a(ee())}}},r.addNftVerifyOwnership=function(e,t,r){return async a=>{if(!e)throw new Error("MetaMask - Cannot add NFT without address");if(!t)throw new Error("MetaMask - Cannot add NFT without tokenID");r||a($());try{await(0,I.submitRequestToBackground)("addNftVerifyOwnership",[e,t])}catch(e){if((0,D.isErrorWithMessage)(e)&&(e.message.includes("This NFT is not owned by the user")||e.message.includes("Unable to verify ownership")))throw e;(0,D.logErrorWithMessage)(e),a(te(e))}finally{await oe(a),a(ee())}}},r.addPermittedAccount=function(e,t){return async r=>{await new Promise(((r,a)=>{(0,I.callBackgroundMethod)("addPermittedAccount",[e,t],(e=>{e?a(e):r()}))})),await oe(r)}},r.addPollingTokenToAppState=ge,r.addToAddressBook=function(e,t="",r=""){return a.default.debug("background.addToAddressBook"),async(a,n)=>{const{chainId:o}=(0,h.getProviderConfig)(n());let i;try{i=await(0,I.submitRequestToBackground)("setAddressBook",[(0,T.toChecksumHexAddress)(e),t,o,r])}catch(e){throw(0,D.logErrorWithMessage)(e),a(te("Address book failed to update")),e}i||a(te("Address book failed to update"))}},r.addToken=function({address:e,symbol:t,decimals:r,image:a,networkClientId:n},o){return async i=>{if(!e)throw new Error("MetaMask - Cannot add token without address");o||i($());try{await(0,I.submitRequestToBackground)("addToken",[{address:e,symbol:t,decimals:r,image:a,networkClientId:n}])}catch(e){(0,D.logErrorWithMessage)(e),i(te(e))}finally{await oe(i),i(ee())}}},r.addTransactionAndRouteToConfirmationPage=function(e,t){return async r=>{const n=(0,I.generateActionId)();try{a.default.debug("background.addTransaction");const o=await(0,I.submitRequestToBackground)("addTransaction",[e,{...t,actionId:n,origin:l.ORIGIN_METAMASK}]);return r(z()),o}catch(e){r(ee()),r(te(e))}return null}},r.addTransactionAndWaitForPublish=async function(e,t){a.default.debug("background.addTransactionAndWaitForPublish");const r=(0,I.generateActionId)();return await(0,I.submitRequestToBackground)("addTransactionAndWaitForPublish",[e,{...t,origin:l.ORIGIN_METAMASK,actionId:r}])},r.approvePermissionsRequest=function(e){return t=>{(0,I.callBackgroundMethod)("approvePermissionsRequest",[e],(e=>{e&&t(te(e)),oe(t)}))}},r.attemptLedgerTransportCreation=async function(){return await(0,I.submitRequestToBackground)("attemptLedgerTransportCreation")},r.automaticallySwitchNetwork=function(e,t){return async r=>{await Z(e),await r(W({networkClientId:e,origin:t})),await oe(r)}},r.backupUserData=async function(){let e;try{e=await(0,I.submitRequestToBackground)("backupUserData")}catch(e){throw(0,D.logErrorWithMessage)(e),e}return e},r.cancelDecryptMsg=function(e){return async t=>{let r;t($());try{r=await(0,I.submitRequestToBackground)("cancelDecryptMessage",[e.id])}finally{t(ee())}return t(j(r)),t(J(e.id)),t(Y()),e}},r.cancelEncryptionPublicKeyMsg=function(e){return async t=>{let r;t($());try{r=await(0,I.submitRequestToBackground)("cancelEncryptionPublicKey",[e.id])}finally{t(ee())}return t(j(r)),t(J(e.id)),t(Y()),e}},r.cancelQRHardwareSignRequest=function(){return async e=>{e(ee()),await(0,I.submitRequestToBackground)("cancelQRHardwareSignRequest")}},r.cancelSmartTransaction=function(e){return async t=>{try{await(0,I.submitRequestToBackground)("cancelSmartTransaction",[e])}catch(e){if((0,D.logErrorWithMessage)(e),(0,D.isErrorWithMessage)(e)&&e.message.startsWith("Fetch error:")){const r=(0,A.parseSmartTransactionsError)(e.message);t({type:O.SET_SMART_TRANSACTIONS_ERROR,payload:r})}throw e}}},r.cancelSyncQRHardware=function(){return async e=>{e(ee()),await(0,I.submitRequestToBackground)("cancelSyncQRHardware")}},r.cancelTx=function(e,t=!0){return r=>(t&&r($()),new Promise(((t,r)=>{(0,I.callBackgroundMethod)("rejectPendingApproval",[String(e.id),i.ethErrors.provider.userRejectedRequest().serialize()],(e=>{e?r(e):t()}))})).then((()=>w())).then((e=>r(j(e)))).then((()=>(r((0,p.resetSendState)()),r(J(e.id)),r(ee()),r(Y()),e))).catch((e=>{throw r(ee()),e})))},r.cancelTxs=function(e){return async t=>{t($());try{const r=e.map((({id:e})=>e)),a=r.map((e=>new Promise(((t,r)=>{(0,I.callBackgroundMethod)("rejectPendingApproval",[String(e),i.ethErrors.provider.userRejectedRequest().serialize()],(e=>{e?r(e):t()}))}))));await Promise.all(a);const n=await w();t(j(n)),t((0,p.resetSendState)()),r.forEach((e=>{t(J(e))}))}finally{(0,d.getEnvironmentType)()===l.ENVIRONMENT_TYPE_NOTIFICATION?me():t(ee())}}},r.captureSingleException=function(e){return async(t,r)=>{const{singleExceptions:a}=r().appState;e in a||(t({type:O.CAPTURE_SINGLE_EXCEPTION,value:e}),(0,n.captureException)(Error(e)))}},r.checkAccountsPresence=function(e){return async()=>{try{return await(0,I.submitRequestToBackground)("checkAccountsPresence",[e])}catch(e){throw(0,D.logErrorWithMessage)(e),e}}},r.checkAndUpdateAllNftsOwnershipStatus=async function(){await(0,I.submitRequestToBackground)("checkAndUpdateAllNftsOwnershipStatus")},r.checkAndUpdateSingleNftOwnershipStatus=async function(e){await(0,I.submitRequestToBackground)("checkAndUpdateSingleNftOwnershipStatus",[e,!1])},r.checkHardwareStatus=function(e,t){return a.default.debug("background.checkHardwareStatus",e,t),async r=>{r($());let a=!1;try{a=await(0,I.submitRequestToBackground)("checkHardwareStatus",[e,t])}catch(e){throw(0,D.logErrorWithMessage)(e),r(te(e)),e}finally{r(ee())}return await oe(r),a}},r.clearAccountDetails=function(){return{type:O.CLEAR_ACCOUNT_DETAILS}},r.clearPendingTokens=function(){return{type:O.CLEAR_PENDING_TOKENS}},r.clearSmartTransactionFees=function(){(0,I.submitRequestToBackground)("clearSmartTransactionFees")},r.clearSwapsQuotes=function(){return async e=>{await(0,I.submitRequestToBackground)("clearSwapsQuotes"),await oe(e)}},r.clearSwitchedNetworkDetails=function(){return async e=>{await(0,I.submitRequestToBackground)("clearSwitchedNetworkDetails",[]),await oe(e)}},r.closeCurrentNotificationWindow=Y,r.closeNotificationPopup=me,r.closeWelcomeScreen=function(){return{type:O.CLOSE_WELCOME_SCREEN}},r.completeOnboarding=ae,r.completedTx=J,r.connectHardware=function(e,t,r,n){return a.default.debug("background.connectHardware",e,t,r),async(a,i)=>{const{ledgerTransportType:s}=i().metamask;let c;a($(`Looking for your ${(0,o.capitalize)(e)}...`));try{if(e===f.HardwareDeviceNames.ledger&&s===f.LedgerTransportTypes.webhid){const e=await window.navigator.hid.requestDevice({filters:[{vendorId:f.LEDGER_USB_VENDOR_ID}]});if(!e.some((e=>e.vendorId===Number(f.LEDGER_USB_VENDOR_ID))))throw new Error(n("ledgerWebHIDNotConnectedErrorMessage"))}c=await(0,I.submitRequestToBackground)("connectHardware",[e,t,r])}catch(t){throw(0,D.logErrorWithMessage)(t),e===f.HardwareDeviceNames.ledger&&s===f.LedgerTransportTypes.webhid&&(0,D.isErrorWithMessage)(t)&&t.message.match("Failed to open the device")?(a(te(n("ledgerDeviceOpenFailureMessage"))),new Error(n("ledgerDeviceOpenFailureMessage"))):(e!==f.HardwareDeviceNames.qr&&a(te(t)),t)}finally{a(ee())}return await oe(a),c}},r.createCancelTransaction=function(e,t,r={}){let n;return a.default.debug("background.createCancelTransaction"),a=>{const o=(0,I.generateActionId)();return new Promise(((i,s)=>{(0,I.callBackgroundMethod)("createCancelTransaction",[e,t,{...r,actionId:o}],((t,r)=>{var o;if(t)return null!=t&&null!==(o=t.message)&&void 0!==o&&o.includes("Previous transaction is already confirmed")&&a(Q({name:"TRANSACTION_ALREADY_CONFIRMED",originalTransactionId:e})),a(te(t)),void s(t);if(r){const e=(0,g.getCurrentNetworkTransactions)({metamask:r}),{id:t}=e[e.length-1];n=t,i(r)}}))})).then((e=>a(j(e)))).then((()=>n))}},r.createEventFragment=function(e){const t=(0,I.generateActionId)();return(0,I.submitRequestToBackground)("createEventFragment",[{...e,actionId:t}])},r.createNewVault=_,r.createNewVaultAndGetSeedPhrase=function(e){return async t=>{t($());try{await _(e);return await B(e)}catch(e){throw t(te(e)),(0,D.isErrorWithMessage)(e)?new Error(e.message):e}finally{t(ee())}}},r.createNewVaultAndRestore=function(e,r){return n=>{n($()),a.default.debug("background.createNewVaultAndRestore");const o=Array.from(t.from(r,"utf8").values());let i;return new Promise(((t,r)=>{(0,I.callBackgroundMethod)("createNewVaultAndRestore",[e,o],((e,a)=>{e?r(e):(i=a,t())}))})).then((()=>n(U()))).then((()=>(n(q()),n(ee()),i))).catch((e=>(n(te(e.message)),n(ee()),Promise.reject(e))))}},r.createOnChainTriggers=function(){return async()=>{try{await(0,I.submitRequestToBackground)("createOnChainTriggers")}catch(e){throw(0,D.logErrorWithMessage)(e),e}}},r.createRetryTransaction=function(e,t){let r;return a=>new Promise(((n,o)=>{const i=(0,I.generateActionId)();(0,I.callBackgroundMethod)("createSpeedUpTransaction",[e,t,{actionId:i}],((e,t)=>{if(e)return a(te(e)),void o(e);if(t){const e=(0,g.getCurrentNetworkTransactions)(t);r=e[e.length-1],n(t)}}))})).then((e=>a(j(e)))).then((()=>r))},r.createSpeedUpTransaction=function(e,t,r={}){let n;return a.default.debug("background.createSpeedUpTransaction"),a=>{const o=(0,I.generateActionId)();return new Promise(((i,s)=>{(0,I.callBackgroundMethod)("createSpeedUpTransaction",[e,t,{...r,actionId:o}],((e,t)=>{if(e)return a(te(e)),void s(e);if(t){const e=(0,g.getCurrentNetworkTransactions)(t);n=e[e.length-1],i(t)}}))})).then((e=>a(j(e)))).then((()=>n))}},r.createTransactionEventFragment=function(e){const t=(0,I.generateActionId)();return(0,I.submitRequestToBackground)("createTransactionEventFragment",[{transactionId:e,actionId:t}])},r.currencyRateStartPollingByNetworkClientId=async function(e){const t=await(0,I.submitRequestToBackground)("currencyRateStartPollingByNetworkClientId",[e]);return await ge(t),t},r.currencyRateStopPollingByPollingToken=async function(e){await(0,I.submitRequestToBackground)("currencyRateStopPollingByPollingToken",[e]),await pe(e)},r.decryptMsg=function(e){return a.default.debug("action - decryptMsg"),async t=>{let r;t($()),a.default.debug("actions calling background.decryptMessage");try{r=await(0,I.submitRequestToBackground)("decryptMessage",[e])}catch(e){throw(0,D.logErrorWithMessage)(e),t(te(e)),e}finally{t(ee())}return t(j(r)),t(J(e.metamaskId)),t(Y()),e}},r.decryptMsgInline=function(e){return a.default.debug("action - decryptMsgInline"),async t=>{let r;a.default.debug("actions calling background.decryptMessageInline");try{r=await(0,I.submitRequestToBackground)("decryptMessageInline",[e])}catch(e){throw(0,D.logErrorWithMessage)(e),t(te(e)),e}return t(j(r)),r.unapprovedDecryptMsgs[e.metamaskId]}},r.deleteExpiredNotifications=function(){return async(e,t)=>{const r=t(),a=(0,g.getNotifications)(r).filter((e=>{const t=new Date(Date.now()-E.NOTIFICATIONS_EXPIRATION_DELAY);return Boolean(e.readDate&&new Date(e.readDate)e));a.length&&(await(0,I.submitRequestToBackground)("dismissNotifications",[a]),await oe(e))}},r.deleteInterface=function(e){return async t=>{await(0,I.submitRequestToBackground)("deleteInterface",[e]),await oe(t)}},r.deleteOnChainTriggersByAccount=function(e){return async()=>{try{await(0,I.submitRequestToBackground)("deleteOnChainTriggersByAccount",[e])}catch(e){throw(0,D.logErrorWithMessage)(e),e}}},r.detectNfts=function(){return async e=>{e($()),a.default.debug("background.detectNfts"),await(0,I.submitRequestToBackground)("detectNfts"),e(ee()),await oe(e)}},r.detectTokens=function(){return async e=>{e($()),a.default.debug("background.detectTokens"),await(0,I.submitRequestToBackground)("detectTokens"),e(ee()),await oe(e)}},r.disableDesktop=async function(){return await(0,I.submitRequestToBackground)("disableDesktop")},r.disableMetamaskNotifications=function(){return async()=>{try{await(0,I.submitRequestToBackground)("disableMetamaskNotifications")}catch(e){throw a.default.error(e),e}}},r.disableProfileSyncing=function(){return async()=>{try{await(0,I.submitRequestToBackground)("disableProfileSyncing")}catch(e){throw(0,D.logErrorWithMessage)(e),e}}},r.disableSnap=function(e){return async t=>{await(0,I.submitRequestToBackground)("disableSnap",[e]),await oe(t)}},r.disconnectOriginFromSnap=function(e,t){return async r=>{await(0,I.submitRequestToBackground)("disconnectOriginFromSnap",[e,t]),await oe(r)}},r.dismissNotifications=function(e){return async t=>{await(0,I.submitRequestToBackground)("dismissNotifications",[e]),await oe(t)}},r.dismissOpenSeaToBlockaidBanner=function(){return e=>{a.default.debug("background.dismissOpenSeaToBlockaidBanner"),(0,I.callBackgroundMethod)("dismissOpenSeaToBlockaidBanner",[],(t=>{t&&e(te(t))}))}},r.dismissSmartTransactionsErrorMessage=function(){return{type:O.DISMISS_SMART_TRANSACTIONS_ERROR_MESSAGE}},r.displayWarning=te,r.editAndSetNetworkConfiguration=function({networkConfigurationId:e,rpcUrl:t,chainId:r,nickname:n,rpcPrefs:o,ticker:i=R.EtherDenomination.ETH},{source:s}){return async c=>{a.default.debug(`background.removeNetworkConfiguration: ${e}`);try{await(0,I.submitRequestToBackground)("removeNetworkConfiguration",[e])}catch(e){return(0,D.logErrorWithMessage)(e),void c(te("Had a problem removing network!"))}try{await(0,I.submitRequestToBackground)("upsertNetworkConfiguration",[{rpcUrl:t,chainId:r,ticker:i,nickname:n||t,rpcPrefs:o},{setActive:!0,referrer:l.ORIGIN_METAMASK,source:s}])}catch(e){(0,D.logErrorWithMessage)(e),c(te("Had a problem changing networks!"))}}},r.enableMetamaskNotifications=function(){return async()=>{try{await(0,I.submitRequestToBackground)("enableMetamaskNotifications")}catch(e){throw a.default.error(e),e}}},r.enableProfileSyncing=function(){return async()=>{try{await(0,I.submitRequestToBackground)("enableProfileSyncing")}catch(e){throw(0,D.logErrorWithMessage)(e),e}}},r.enableSnap=function(e){return async t=>{await(0,I.submitRequestToBackground)("enableSnap",[e]),await oe(t)}},r.encryptionPublicKeyMsg=function(e){return a.default.debug("action - encryptionPublicKeyMsg"),async t=>{let r;t($()),a.default.debug("actions calling background.encryptionPublicKey");try{r=await(0,I.submitRequestToBackground)("encryptionPublicKey",[e])}catch(e){throw(0,D.logErrorWithMessage)(e),t(te(e)),e}finally{t(ee())}return t(j(r)),t(J(e.metamaskId)),t(Y()),e}},r.estimateGas=function(e){return(0,I.submitRequestToBackground)("estimateGas",[e])},r.exportAccount=function(e,t,r,n){return function(o){return o($()),a.default.debug("background.verifyPassword"),new Promise(((i,s)=>{(0,I.callBackgroundMethod)("verifyPassword",[e],(function(c){if(c)return a.default.error("Error in verifying password."),o(ee()),o(te("Incorrect Password.")),void s(c);a.default.debug("background.exportAccount"),(0,I.callBackgroundMethod)("exportAccount",[t,e],(function(e,t){if(o(ee()),e)return(0,D.logErrorWithMessage)(e),o(te("Had a problem exporting the account.")),void s(e);r(t),n(!0),i(t)}))}))}))}},r.exportAccounts=function(e,t){return function(r){return a.default.debug("background.verifyPassword"),new Promise(((n,o)=>{(0,I.callBackgroundMethod)("verifyPassword",[e],(function(i){if(i)return a.default.error("Error in submitting password."),void o(i);a.default.debug("background.exportAccounts");const s=t.map((t=>new Promise(((a,n)=>(0,I.callBackgroundMethod)("exportAccount",[t,e],(function(e,t){if(e)return(0,D.logErrorWithMessage)(e),r(te("Had a problem exporting the account.")),void n(e);a(t)}))))));n(Promise.all(s))}))}))}},r.fetchAndSetQuotes=function(e,t){return async r=>{const[a,n]=await(0,I.submitRequestToBackground)("fetchAndSetQuotes",[e,t]);return await oe(r),[a,n]}},r.fetchAndUpdateMetamaskNotifications=function(){return async()=>{try{return await(0,I.submitRequestToBackground)("fetchAndUpdateMetamaskNotifications")}catch(e){throw(0,D.logErrorWithMessage)(e),e}}},r.fetchSmartTransactionFees=function(e,t){return async r=>{t&&(t.value="0x0");try{const a=await await(0,I.submitRequestToBackground)("fetchSmartTransactionFees",[e,t]);return r({type:O.SET_SMART_TRANSACTIONS_ERROR,payload:null}),a}catch(e){if((0,D.logErrorWithMessage)(e),(0,D.isErrorWithMessage)(e)&&e.message.startsWith("Fetch error:")){const t=(0,A.parseSmartTransactionsError)(e.message);r({type:O.SET_SMART_TRANSACTIONS_ERROR,payload:t})}throw e}}},r.fetchSmartTransactionsLiveness=function(){return async()=>{try{await(0,I.submitRequestToBackground)("fetchSmartTransactionsLiveness")}catch(e){(0,D.logErrorWithMessage)(e)}}},r.finalizeEventFragment=function(e,t){return(0,I.submitRequestToBackground)("finalizeEventFragment",[e,t])},r.forceUpdateMetamaskState=oe,r.forgetDevice=function(e){return a.default.debug("background.forgetDevice",e),async t=>{t($());try{await(0,I.submitRequestToBackground)("forgetDevice",[e])}catch(e){throw(0,D.logErrorWithMessage)(e),t(te(e)),e}finally{t(ee())}await oe(t)}},r.gasFeeStartPollingByNetworkClientId=async function(e){const t=await(0,I.submitRequestToBackground)("gasFeeStartPollingByNetworkClientId",[e]);return await ge(t),t},r.gasFeeStopPollingByPollingToken=async function(e){await(0,I.submitRequestToBackground)("gasFeeStopPollingByPollingToken",[e]),await pe(e)},r.generateDesktopOtp=async function(){return await(0,I.submitRequestToBackground)("generateDesktopOtp")},r.getBalancesInSingleCall=async function(e,t,r){return await(0,I.submitRequestToBackground)("getBalancesInSingleCall",[e,t,r])},r.getContractMethodData=function(e=""){return async(t,r)=>{const n=(0,d.addHexPrefix)(e).slice(0,10);if(n.length<10)return{};const{knownMethodData:o,use4ByteResolution:i}=r().metamask;if(null!=o&&o[n]&&0!==Object.keys(o[n]).length)return o[n];a.default.debug("loadingMethodData");const{name:s,params:u}=await(0,c.getMethodDataAsync)(n,i);return(0,I.callBackgroundMethod)("addKnownMethodData",[n,{name:s,params:u}],(e=>{e&&t(te(e))})),{name:s,params:u}}},r.getCurrentNetworkEIP1559Compatibility=async function(){let e;try{e=await(0,I.submitRequestToBackground)("getCurrentNetworkEIP1559Compatibility")}catch(e){console.error(e)}return e},r.getGasFeeTimeEstimate=function(e,t){return(0,I.submitRequestToBackground)("getGasFeeTimeEstimate",[e,t])},r.getLayer1GasFee=function({chainId:e,networkClientId:t,transactionParams:r}){return async()=>await(0,I.submitRequestToBackground)("getLayer1GasFee",[{chainId:e,networkClientId:t,transactionParams:r}])},r.getNetworkConfigurationByNetworkClientId=async function(e){let t;try{t=await(0,I.submitRequestToBackground)("getNetworkConfigurationByNetworkClientId",[e])}catch(e){console.error(e)}return t},r.getNextAvailableAccountName=async function(){return await(0,I.submitRequestToBackground)("getNextAvailableAccountName",[])},r.getNextNonce=function(){return async(e,t)=>{const{address:r}=(0,g.getSelectedInternalAccount)(t()),a=(0,g.getSelectedNetworkClientId)(t());let n;try{n=await(0,I.submitRequestToBackground)("getNextNonce",[r,a])}catch(t){throw e(te(t)),t}return e(ue(n)),n}},r.getOpenMetamaskTabsIds=function(){return async e=>{e(de(await(0,I.submitRequestToBackground)("getOpenMetamaskTabsIds")))}},r.getPhishingResult=async function(e){return await(0,I.submitRequestToBackground)("getPhishingResult",[e])},r.getRequestAccountTabIds=function(){return async e=>{e(le(await(0,I.submitRequestToBackground)("getRequestAccountTabIds")))}},r.getRpcMethodPreferences=function(){return async e=>{e($()),await(0,I.submitRequestToBackground)("getRpcMethodPreferences",[]),e(ee())}},r.getSeedPhrase=B,r.getSnapAccountsById=async function(e){return await(0,I.submitRequestToBackground)("getAccountsBySnapId",[e])},r.getTokenStandardAndDetails=async function(e,t,r){return await(0,I.submitRequestToBackground)("getTokenStandardAndDetails",[e,t,r])},r.getTokenSymbol=async function(e){return await(0,I.submitRequestToBackground)("getTokenSymbol",[e])},r.getTransactions=async function(e={}){return await(0,I.submitRequestToBackground)("getTransactions",[e])},r.goHome=P,r.handleSnapRequest=async function(e){return(0,I.submitRequestToBackground)("handleSnapRequest",[e])},r.hideAccountBanner=function(){return(0,I.submitRequestToBackground)("setShowAccountBanner",[!1])},r.hideAlert=function(){return{type:O.ALERT_CLOSE}},r.hideBetaHeader=function(){return(0,I.submitRequestToBackground)("setShowBetaHeader",[!1])},r.hideDeprecatedNetworkModal=function(){return{type:O.DEPRECATED_NETWORK_POPOVER_CLOSE}},r.hideImportNftsModal=function(){return{type:O.IMPORT_NFTS_MODAL_CLOSE}},r.hideImportTokensModal=function(){return{type:O.IMPORT_TOKENS_POPOVER_CLOSE}},r.hideIpfsModal=function(){return{type:O.SHOW_IPFS_MODAL_CLOSE}},r.hideKeyringRemovalResultModal=function(){return{type:O.HIDE_KEYRING_SNAP_REMOVAL_RESULT}},r.hideLoadingIndication=ee,r.hideModal=function(){return{type:O.MODAL_CLOSE}},r.hideNetworkBanner=function(){return(0,I.submitRequestToBackground)("setShowNetworkBanner",[!1])},r.hideNetworkDropdown=function(){return{type:O.NETWORK_DROPDOWN_CLOSE}},r.hidePermissionsTour=function(){return(0,I.submitRequestToBackground)("setShowPermissionsTour",[!1])},r.hideTestNetMessage=function(){return(0,I.submitRequestToBackground)("setShowTestnetMessageInDropdown",[!1])},r.hideWarning=function(){return{type:O.HIDE_WARNING}},r.ignoreTokens=function({tokensToIgnore:e,dontShowLoadingIndicator:t=!1}){const r=Array.isArray(e)?e:[e];return async e=>{t||e($());try{await(0,I.submitRequestToBackground)("ignoreTokens",[r])}catch(t){(0,D.logErrorWithMessage)(t),e(te(t))}finally{await oe(e),e(ee())}}},r.importNewAccount=function(e,t,r){return async n=>{let o;n($(r));try{a.default.debug("background.importAccountWithStrategy"),await(0,I.submitRequestToBackground)("importAccountWithStrategy",[e,t]),a.default.debug("background.getState"),o=await(0,I.submitRequestToBackground)("getState")}finally{n(ee())}return n(j(o)),o}},r.isNftOwner=async function(e,t,r){return await(0,I.submitRequestToBackground)("isNftOwner",[e,t,r])},r.lockMetamask=function(){return a.default.debug("background.setLocked"),e=>(e($()),V().then((()=>w())).catch((t=>(e(te(t.message)),Promise.reject(t)))).then((t=>{e(j(t)),e(ee()),e({type:O.LOCK_METAMASK})})).catch((()=>{e(ee()),e({type:O.LOCK_METAMASK})})))},r.markMetamaskNotificationsAsRead=function(e){return async()=>{try{await(0,I.submitRequestToBackground)("markMetamaskNotificationsAsRead",[e])}catch(e){throw(0,D.logErrorWithMessage)(e),e}}},r.markNotificationsAsRead=function(e){return async t=>{await(0,I.submitRequestToBackground)("markNotificationsAsRead",[e]),await oe(t)}},r.markPasswordForgotten=function(){return async e=>{try{await new Promise(((e,t)=>{(0,I.callBackgroundMethod)("markPasswordForgotten",[],(r=>{r?t(r):e()}))}))}finally{e(ee()),await oe(e)}}},r.neverShowSwitchedNetworkMessage=function(){return(0,I.submitRequestToBackground)("setSwitchedNetworkNeverShowMessage",[!0])},r.performSignIn=function(){return async()=>{try{await(0,I.submitRequestToBackground)("performSignIn")}catch(e){const t=e instanceof Error?e.message:"Unknown error occurred during sign-in.";throw(0,D.logErrorWithMessage)(t),e}}},r.performSignOut=function(){return async()=>{try{await(0,I.submitRequestToBackground)("performSignOut")}catch(e){throw(0,D.logErrorWithMessage)(e),e}}},r.qrCodeDetected=function(e){return async t=>{await t({type:O.QR_CODE_DETECTED,value:e}),t((0,p.computeEstimatedGasLimit)())}},r.rejectAllMessages=function(e){return async t=>{const r=(0,i.serializeError)(i.ethErrors.provider.userRejectedRequest());await Promise.all(e.map((async({id:e})=>await(0,I.submitRequestToBackground)("rejectPendingApproval",[e,r]))));const{pendingApprovals:a}=await oe(t);0===Object.values(a).length&&t(Y())}},r.rejectPendingApproval=function(e,t){return async r=>{await(0,I.submitRequestToBackground)("rejectPendingApproval",[e,t]);const{pendingApprovals:a}=await oe(r);0===Object.values(a).length&&r(Y())}},r.rejectPermissionsRequest=function(e){return t=>new Promise(((r,a)=>{(0,I.callBackgroundMethod)("rejectPermissionsRequest",[e],(e=>{if(e)return t(te(e)),void a(e);oe(t).then(r).catch(a)}))}))},r.removeAccount=function(e){return async t=>{t($());try{await new Promise(((t,r)=>{(0,I.callBackgroundMethod)("removeAccount",[e],((e,a)=>{e?r(e):t(a)}))})),await oe(t)}catch(e){throw t(te(e)),e}finally{t(ee())}a.default.info(`Account removed: ${e}`),t(q())}},r.removeAndIgnoreNft=function(e,t,r){return async a=>{if(!e)throw new Error("MetaMask - Cannot ignore NFT without address");if(!t)throw new Error("MetaMask - Cannot ignore NFT without tokenID");r||a($());try{await(0,I.submitRequestToBackground)("removeAndIgnoreNft",[e,t])}catch(e){throw(0,D.logErrorWithMessage)(e),a(te(e)),e}finally{await oe(a),a(ee())}}},r.removeFromAddressBook=function(e,t){return a.default.debug("background.removeFromAddressBook"),async()=>{await(0,I.submitRequestToBackground)("removeFromAddressBook",[e,(0,T.toChecksumHexAddress)(t)])}},r.removeNetworkConfiguration=function(e){return t=>(a.default.debug(`background.removeNetworkConfiguration: ${e}`),new Promise(((r,a)=>{(0,I.callBackgroundMethod)("removeNetworkConfiguration",[e],(e=>{if(e)return(0,D.logErrorWithMessage)(e),t(te("Had a problem removing network!")),void a(e);r()}))})))},r.removeNft=function(e,t,r){return async a=>{if(!e)throw new Error("MetaMask - Cannot remove NFT without address");if(!t)throw new Error("MetaMask - Cannot remove NFT without tokenID");r||a($());try{await(0,I.submitRequestToBackground)("removeNft",[e,t])}catch(e){(0,D.logErrorWithMessage)(e),a(te(e))}finally{await oe(a),a(ee())}}},r.removePermissionsFor=function(e){return t=>{(0,I.callBackgroundMethod)("removePermissionsFor",[e],(e=>{e&&t(te(e))}))}},r.removePermittedAccount=function(e,t){return async r=>{await new Promise(((r,a)=>{(0,I.callBackgroundMethod)("removePermittedAccount",[e,t],(e=>{e?a(e):r()}))})),await oe(r)}},r.removePollingTokenFromAppState=pe,r.removeSnap=function(e){return async(t,r)=>{var a;t($());const n=(null===(a=(0,g.getPermissionSubjects)(r())[e])||void 0===a||null===(a=a.permissions)||void 0===a?void 0:a.snap_manageAccounts)!==undefined;try{if(n){const t=await(0,I.submitRequestToBackground)("getAccountsBySnapId",[e]);for(const e of t)await(0,I.submitRequestToBackground)("removeAccount",[e])}await(0,I.submitRequestToBackground)("removeSnap",[e]),await oe(t)}catch(e){throw t(te(e)),e}finally{t(ee())}}},r.requestAccountsPermissionWithId=function(e){return async t=>{const r=await(0,I.submitRequestToBackground)("requestAccountsPermissionWithId",[e]);return await oe(t),r}},r.requestRevealSeedWords=function(e){return async t=>{t($()),a.default.debug("background.verifyPassword");try{await L(e);return await B(e)}finally{t(ee())}}},r.requestUserApproval=function({origin:e,type:t,requestData:r}){return async a=>{try{await(0,I.submitRequestToBackground)("requestUserApproval",[{origin:e,type:t,requestData:r}])}catch(e){(0,D.logErrorWithMessage)(e),a(te("Had trouble requesting user approval"))}}},r.resetAccount=function(){return e=>(e($()),new Promise(((t,r)=>{(0,I.callBackgroundMethod)("resetAccount",[],((n,o)=>{if(e(ee()),n)return(0,D.isErrorWithMessage)(n)&&e(te(n.message)),void r(n);a.default.info(`Transaction history reset for ${o}`),e(q()),t(o)}))})))},r.resetBackgroundSwapsState=function(){return async e=>{await(0,I.submitRequestToBackground)("resetSwapsState"),await oe(e)}},r.resetOnboarding=function(){return async e=>{try{await e(ce(!1)),e(ne())}catch(e){console.error(e)}}},r.resetOnboardingAction=ne,r.resetSwapsPostFetchState=function(){return async e=>{await(0,I.submitRequestToBackground)("resetPostFetchState"),await oe(e)}},r.resetViewedNotifications=function(){return(0,I.submitRequestToBackground)("resetViewedNotifications")},r.resolvePendingApproval=function(e,t){return async r=>{await(0,I.submitRequestToBackground)("resolvePendingApproval",[e,t]);const{pendingApprovals:a}=await oe(r);0===Object.values(a).length&&r(Y())}},r.restoreUserData=async function(e){try{await(0,I.submitRequestToBackground)("restoreUserData",[e])}catch(e){throw(0,D.logErrorWithMessage)(e),e}return!0},r.revokeDynamicSnapPermissions=function(e,t){return async r=>{await(0,I.submitRequestToBackground)("revokeDynamicSnapPermissions",[e,t]),await oe(r)}},r.rollbackToPreviousProvider=function(){return async e=>{try{await(0,I.submitRequestToBackground)("rollbackToPreviousProvider")}catch(t){(0,D.logErrorWithMessage)(t),e(te("Had a problem changing networks!"))}}},r.safeRefetchQuotes=function(){return async e=>{await(0,I.submitRequestToBackground)("safeRefetchQuotes"),await oe(e)}},r.setAccountDetailsAddress=function(e){return{type:O.SET_ACCOUNT_DETAILS_ADDRESS,payload:e}},r.setAccountLabel=function(e,t){return r=>(r($()),a.default.debug("background.setAccountLabel"),new Promise(((a,n)=>{(0,I.callBackgroundMethod)("setAccountLabel",[e,t],(o=>{if(r(ee()),o)return r(te(o)),void n(o);r({type:O.SET_ACCOUNT_LABEL,value:{account:e,label:t}}),a(e)}))})))},r.setActiveNetwork=function(e){return async t=>{a.default.debug(`background.setActiveNetwork: ${e}`);try{await(0,I.submitRequestToBackground)("setActiveNetwork",[e])}catch(e){(0,D.logErrorWithMessage)(e),t(te("Had a problem changing networks!"))}}},r.setActiveNetworkConfigurationId=Z,r.setAddSnapAccountEnabled=async function(e){try{await(0,I.submitRequestToBackground)("setAddSnapAccountEnabled",[e])}catch(e){(0,D.logErrorWithMessage)(e)}},r.setAdvancedGasFee=function(e){return t=>{t($()),a.default.debug("background.setAdvancedGasFee"),(0,I.callBackgroundMethod)("setAdvancedGasFee",[e],(e=>{t(ee()),e&&t(te(e))}))}},r.setAlertEnabledness=async function(e,t){await(0,I.submitRequestToBackground)("setAlertEnabledness",[e,t])},r.setAutoLockTimeLimit=function(e){return re("autoLockTimeLimit",e)},r.setBackgroundSwapRouteState=function(e){return async t=>{await(0,I.submitRequestToBackground)("setBackgroundSwapRouteState",[e]),await oe(t)}},r.setCompletedOnboarding=function(){return async e=>{e($());try{await(0,I.submitRequestToBackground)("completeOnboarding"),e(ae())}catch(t){throw e(te(t)),t}finally{e(ee())}}},r.setConfirmationExchangeRates=function(e){return{type:O.SET_CONFIRMATION_EXCHANGE_RATES,value:e}},r.setConnectedStatusPopoverHasBeenShown=function(){return()=>{(0,I.callBackgroundMethod)("setConnectedStatusPopoverHasBeenShown",[],(e=>{if((0,D.isErrorWithMessage)(e))throw new Error(e.message)}))}},r.setCurrentCurrency=function(e){return async t=>{t($()),a.default.debug("background.setCurrentCurrency");try{await(0,I.submitRequestToBackground)("setCurrentCurrency",[e]),await oe(t)}catch(e){return(0,D.logErrorWithMessage)(e),void t(te(e))}finally{t(ee())}}},r.setCurrentExtensionPopupId=function(e){return async t=>{await(0,I.submitRequestToBackground)("setCurrentExtensionPopupId",[e]),await oe(t)}},r.setCurrentLocale=se,r.setCustomApproveTxData=function(e){return async t=>{await(0,I.submitRequestToBackground)("setCustomApproveTxData",[e]),await oe(t)}},r.setDataCollectionForMarketing=function(e){return async t=>{a.default.debug("background.setDataCollectionForMarketing"),await(0,I.submitRequestToBackground)("setDataCollectionForMarketing",[e]),t({type:O.SET_DATA_COLLECTION_FOR_MARKETING,value:e})}},r.setDefaultHomeActiveTabName=function(e){return async t=>{await(0,I.submitRequestToBackground)("setDefaultHomeActiveTabName",[e]),await oe(t)}},r.setDesktopEnabled=function(e){return async()=>{try{await(0,I.submitRequestToBackground)("setDesktopEnabled",[e])}catch(e){a.default.error(e)}}},r.setDisabledRpcMethodPreference=function(e,t){return async r=>{r($()),await(0,I.submitRequestToBackground)("setDisabledRpcMethodPreference",[e,t]),r(ee())}},r.setDismissSeedBackUpReminder=function(e){return async t=>{t($()),await(0,I.submitRequestToBackground)("setDismissSeedBackUpReminder",[e]),t(ee())}},r.setFeatureAnnouncementsEnabled=function(e){return async()=>{try{await(0,I.submitRequestToBackground)("setFeatureAnnouncementsEnabled",[e])}catch(e){throw(0,D.logErrorWithMessage)(e),e}}},r.setFeatureFlag=function(e,t,r){return a=>(a($()),new Promise(((n,o)=>{(0,I.callBackgroundMethod)("setFeatureFlag",[e,t],((e,t)=>{if(a(ee()),e)return a(te(e)),void o(e);r&&a(Q({name:r})),n(t)}))})))},r.setFeatureNotificationsEnabled=function(e){return re("featureNotificationsEnabled",e)},r.setFirstTimeFlowType=function(e){return t=>{a.default.debug("background.setFirstTimeFlowType"),(0,I.callBackgroundMethod)("setFirstTimeFlowType",[e],(e=>{e&&t(te(e))})),t({type:O.SET_FIRST_TIME_FLOW_TYPE,value:e})}},r.setFirstTimeUsedNetwork=function(e){return(0,I.submitRequestToBackground)("setFirstTimeUsedNetwork",[e])},r.setHardwareWalletDefaultHdPath=function({device:e,path:t}){return{type:O.SET_HARDWARE_WALLET_DEFAULT_HD_PATH,payload:{device:e,path:t}}},r.setHideZeroBalanceTokens=function(e){return re("hideZeroBalanceTokens",e)},r.setIncomingTransactionsPreferences=function(e,t){return async r=>{r($()),a.default.debug("background.setIncomingTransactionsPreferences"),await(0,I.submitRequestToBackground)("setIncomingTransactionsPreferences",[e,t]),r(ee())}},r.setInitialGasEstimate=function(e){return async t=>{await(0,I.submitRequestToBackground)("setInitialGasEstimate",[e]),await oe(t)}},r.setIpfsGateway=function(e){return t=>{a.default.debug("background.setIpfsGateway"),(0,I.callBackgroundMethod)("setIpfsGateway",[e],(e=>{e&&t(te(e))}))}},r.setIsIpfsGatewayEnabled=function(e){return t=>{a.default.debug("background.setIsIpfsGatewayEnabled"),(0,I.callBackgroundMethod)("setIsIpfsGatewayEnabled",[e],(e=>{e&&t(te(e))}))}},r.setIsProfileSyncingEnabled=function(e){return async t=>{try{t($()),await(0,I.submitRequestToBackground)("setIsProfileSyncingEnabled",[e]),t(ee())}catch(e){throw(0,D.logErrorWithMessage)(e),e}finally{t(ee())}}},r.setLastActiveTime=function(){return e=>{(0,I.callBackgroundMethod)("setLastActiveTime",[],(t=>{t&&e(te(t))}))}},r.setName=function(e){return async()=>{await(0,I.submitRequestToBackground)("setName",[e])}},r.setNetworkClientIdForDomain=function(e,t){return(0,I.submitRequestToBackground)("setNetworkClientIdForDomain",[e,t])},r.setNewNetworkAdded=function({networkConfigurationId:e,nickname:t}){return{type:O.SET_NEW_NETWORK_ADDED,payload:{networkConfigurationId:e,nickname:t}}},r.setNewNftAddedMessage=function(e){return{type:O.SET_NEW_NFT_ADDED_MESSAGE,payload:e}},r.setNewPrivacyPolicyToastClickedOrClosed=function(){return async()=>{await(0,I.submitRequestToBackground)("setNewPrivacyPolicyToastClickedOrClosed")}},r.setNewPrivacyPolicyToastShownDate=function(e){return async()=>{await(0,I.submitRequestToBackground)("setNewPrivacyPolicyToastShownDate",[e])}},r.setNewTokensImported=function(e){return{type:O.SET_NEW_TOKENS_IMPORTED,payload:e}},r.setNewTokensImportedError=function(e){return{type:O.SET_NEW_TOKENS_IMPORTED_ERROR,payload:e}},r.setNextNonce=ue,r.setOnboardingDate=function(){return async()=>{await(0,I.submitRequestToBackground)("setOnboardingDate")}},r.setOpenMetamaskTabsIDs=de,r.setOpenSeaEnabled=function(e){return async t=>{t($()),a.default.debug("background.setOpenSeaEnabled");try{await(0,I.submitRequestToBackground)("setOpenSeaEnabled",[e])}finally{t(ee())}}},r.setOutdatedBrowserWarningLastShown=function(e){return async()=>{await(0,I.submitRequestToBackground)("setOutdatedBrowserWarningLastShown",[e])}},r.setParticipateInMetaMetrics=function(e){return t=>(a.default.debug("background.setParticipateInMetaMetrics"),new Promise(((r,n)=>{(0,I.callBackgroundMethod)("setParticipateInMetaMetrics",[e],((o,i)=>{var s;if(a.default.debug(o),o)return t(te(o)),void n(o);null===(s=window.sentry)||void 0===s||s.toggleSession(),t({type:O.SET_PARTICIPATE_IN_METAMETRICS,value:e}),r([e,i])}))})))},r.setPendingTokens=function(e){const{customToken:t,selectedTokens:r={},tokenAddressList:a=[]}=e,n=null!=t&&t.address&&null!=t&&t.symbol&&Boolean((null==t?void 0:t.decimals)>=0&&(null==t?void 0:t.decimals)<=36)?{...r,[t.address]:{...t,isCustom:!0}}:r;return Object.keys(n).forEach((e=>{const t=a.find((t=>(0,y.isEqualCaseInsensitive)(t,e)));n[e]={...n[e],unlisted:!t}})),{type:O.SET_PENDING_TOKENS,payload:n}},r.setPetnamesEnabled=function(e){return re("petnamesEnabled",e)},r.setPreference=re,r.setProviderType=function(e){return async t=>{a.default.debug("background.setProviderType",e);try{await(0,I.submitRequestToBackground)("setProviderType",[e])}catch(e){(0,D.logErrorWithMessage)(e),t(te("Had a problem changing networks!"))}}},r.setRecoveryPhraseReminderHasBeenShown=function(){return()=>{(0,I.callBackgroundMethod)("setRecoveryPhraseReminderHasBeenShown",[],(e=>{if((0,D.isErrorWithMessage)(e))throw new Error(e.message)}))}},r.setRecoveryPhraseReminderLastShown=function(e){return()=>{(0,I.callBackgroundMethod)("setRecoveryPhraseReminderLastShown",[e],(e=>{if((0,D.isErrorWithMessage)(e))throw new Error(e.message)}))}},r.setRedesignedConfirmationsEnabled=function(e){return re("redesignedConfirmationsEnabled",e)},r.setRemoveNftMessage=function(e){return{type:O.SET_REMOVE_NFT_MESSAGE,payload:e}},r.setRequestAccountTabIds=le,r.setSecurityAlertsEnabled=function(e){try{(0,I.submitRequestToBackground)("setSecurityAlertsEnabled",[e])}catch(e){(0,D.logErrorWithMessage)(e)}},r.setSeedPhraseBackedUp=ce,r.setSelectedAccount=function(e){return async(t,r)=>{t($()),a.default.debug("background.setSelectedAccount");const n=r(),o=(0,h.getUnconnectedAccountAlertEnabledness)(n),i=n.activeTab.origin,s=(0,g.getInternalAccountByAddress)(n,e),c=(0,g.getPermittedAccountsForCurrentTab)(n),u=Boolean(i)&&c.includes(s.address),l=Boolean(i)&&c.includes(e),d=u&&!l;try{await K(s.id),await oe(t)}catch(e){return void t(te(e))}finally{t(ee())}o&&d&&(t((0,m.switchedToUnconnectedAccount)()),await Te(i))}},r.setSelectedInternalAccount=function(e){return async t=>{t($()),a.default.debug("background.setSelectedInternalAccount");try{await K(e)}catch(e){return void t(te(e))}finally{t(ee())}}},r.setSelectedNetworkConfigurationId=function(e){return{type:O.SET_SELECTED_NETWORK_CONFIGURATION_ID,payload:e}},r.setSelectedQuoteAggId=function(e){return async t=>{await(0,I.submitRequestToBackground)("setSelectedQuoteAggId",[e]),await oe(t)}},r.setServiceWorkerKeepAlivePreference=function(e){return async t=>{t($()),a.default.debug("background.setServiceWorkerKeepAlivePreference");try{await(0,I.submitRequestToBackground)("setServiceWorkerKeepAlivePreference",[e])}catch(e){t(te(e))}finally{t(ee())}}},r.setShowExtensionInFullSizeView=function(e){return re("showExtensionInFullSizeView",e)},r.setShowFiatConversionOnTestnetsPreference=function(e){return re("showFiatInTestnets",e)},r.setShowTestNetworks=function(e){return re("showTestNetworks",e)},r.setShowTokenAutodetectModal=function(e){return re("showTokenAutodetectModal",e)},r.setShowTokenAutodetectModalOnUpgrade=function(e){return t=>{a.default.debug("background.setShowTokenAutodetectModalOnUpgrade"),(0,I.callBackgroundMethod)("setShowTokenAutodetectModalOnUpgrade",[e],(e=>{e&&t(te(e))})),t({type:O.SET_SHOW_TOKEN_AUTO_DETECT_MODAL_UPGRADE,value:e})}},r.setSmartTransactionsOptInStatus=function(e){return async(t,r)=>{const a=(0,v.getSmartTransactionsOptInStatus)(r());he({category:S.MetaMetricsEventCategory.Settings,event:S.MetaMetricsEventName.SettingsUpdated,properties:{stx_opt_in:e,prev_stx_opt_in:a}}),await t(re("smartTransactionsOptInStatus",e)),await oe(t)}},r.setSmartTransactionsRefreshInterval=function(e){return async()=>{try{await(0,I.submitRequestToBackground)("setStatusRefreshInterval",[e])}catch(e){(0,D.logErrorWithMessage)(e)}}},r.setSnapsAddSnapAccountModalDismissed=async function(){await(0,I.submitRequestToBackground)("setSnapsAddSnapAccountModalDismissed",[!0])},r.setSnapsInstallPrivacyWarningShownStatus=function(e){return async()=>{await(0,I.submitRequestToBackground)("setSnapsInstallPrivacyWarningShownStatus",[e])}},r.setSurveyLinkLastClickedOrClosed=function(e){return async()=>{await(0,I.submitRequestToBackground)("setSurveyLinkLastClickedOrClosed",[e])}},r.setSwapsErrorKey=function(e){return async t=>{await(0,I.submitRequestToBackground)("setSwapsErrorKey",[e]),await oe(t)}},r.setSwapsFeatureFlags=function(e){return async t=>{await(0,I.submitRequestToBackground)("setSwapsFeatureFlags",[e]),await oe(t)}},r.setSwapsLiveness=function(e){return async t=>{await(0,I.submitRequestToBackground)("setSwapsLiveness",[e]),await oe(t)}},r.setSwapsQuotesPollingLimitEnabled=function(e){return async t=>{await(0,I.submitRequestToBackground)("setSwapsQuotesPollingLimitEnabled",[e]),await oe(t)}},r.setSwapsTokens=function(e){return async t=>{await(0,I.submitRequestToBackground)("setSwapsTokens",[e]),await oe(t)}},r.setSwapsTxGasLimit=function(e){return async t=>{await(0,I.submitRequestToBackground)("setSwapsTxGasLimit",[e,!0]),await oe(t)}},r.setSwapsTxGasPrice=function(e){return async t=>{await(0,I.submitRequestToBackground)("setSwapsTxGasPrice",[e]),await oe(t)}},r.setSwitchedNetworkDetails=W,r.setTermsOfUseLastAgreed=function(e){return async()=>{await(0,I.submitRequestToBackground)("setTermsOfUseLastAgreed",[e])}},r.setTheme=function(e){return async t=>{t($()),a.default.debug("background.setTheme");try{await(0,I.submitRequestToBackground)("setTheme",[e])}finally{t(ee())}}},r.setUnconnectedAccountAlertShown=Te,r.setUse4ByteResolution=function(e){return async t=>{t($()),a.default.debug("background.setUse4ByteResolution");try{await(0,I.submitRequestToBackground)("setUse4ByteResolution",[e])}catch(e){t(te(e))}finally{t(ee())}}},r.setUseAddressBarEnsResolution=function(e){return t=>{a.default.debug("background.setUseAddressBarEnsResolution"),(0,I.callBackgroundMethod)("setUseAddressBarEnsResolution",[e],(e=>{e&&t(te(e))}))}},r.setUseBlockie=function(e){return t=>{t($()),a.default.debug("background.setUseBlockie"),(0,I.callBackgroundMethod)("setUseBlockie",[e],(e=>{t(ee()),e&&t(te(e))}))}},r.setUseCurrencyRateCheck=function(e){return t=>{t($()),a.default.debug("background.setUseCurrencyRateCheck"),(0,I.callBackgroundMethod)("setUseCurrencyRateCheck",[e],(e=>{t(ee()),e&&t(te(e))}))}},r.setUseExternalNameSources=function(e){try{(0,I.submitRequestToBackground)("setUseExternalNameSources",[e])}catch(e){(0,D.logErrorWithMessage)(e)}},r.setUseMultiAccountBalanceChecker=function(e){return t=>{t($()),a.default.debug("background.setUseMultiAccountBalanceChecker"),(0,I.callBackgroundMethod)("setUseMultiAccountBalanceChecker",[e],(e=>{t(ee()),e&&t(te(e))}))}},r.setUseNativeCurrencyAsPrimaryCurrencyPreference=function(e){return re("useNativeCurrencyAsPrimaryCurrency",e)},r.setUseNftDetection=function(e){return async t=>{t($()),a.default.debug("background.setUseNftDetection");try{await(0,I.submitRequestToBackground)("setUseNftDetection",[e])}finally{t(ee())}}},r.setUseNonceField=function(e){return async t=>{t($()),a.default.debug("background.setUseNonceField");try{await(0,I.submitRequestToBackground)("setUseNonceField",[e])}catch(e){t(te(e))}t(ee())}},r.setUsePhishDetect=function(e){return t=>{t($()),a.default.debug("background.setUsePhishDetect"),(0,I.callBackgroundMethod)("setUsePhishDetect",[e],(e=>{t(ee()),e&&t(te(e))}))}},r.setUseRequestQueue=function(e){try{(0,I.submitRequestToBackground)("setUseRequestQueue",[e])}catch(e){(0,D.logErrorWithMessage)(e)}},r.setUseSafeChainsListValidation=function(e){return t=>{t($()),a.default.debug("background.setUseSafeChainsListValidation"),(0,I.callBackgroundMethod)("setUseSafeChainsListValidation",[e],(e=>{t(ee()),e&&t(te(e))}))}},r.setUseTokenDetection=function(e){return t=>{t($()),a.default.debug("background.setUseTokenDetection"),(0,I.callBackgroundMethod)("setUseTokenDetection",[e],(e=>{t(ee()),e&&t(te(e))}))}},r.setUseTransactionSimulations=function(e){try{(0,I.submitRequestToBackground)("setUseTransactionSimulations",[e])}catch(e){(0,D.logErrorWithMessage)(e)}},r.setWeb3ShimUsageAlertDismissed=async function(e){await(0,I.submitRequestToBackground)("setWeb3ShimUsageAlertDismissed",[e])},r.showAccountsPage=q,r.showAlert=function(e){return{type:O.ALERT_OPEN,payload:e}},r.showConfTxPage=z,r.showConfirmTurnOffProfileSyncing=function(){return e=>{e(Q({name:"CONFIRM_TURN_OFF_PROFILE_SYNCING"}))}},r.showConfirmTurnOnMetamaskNotifications=function(){return e=>{e(Q({name:"TURN_ON_METAMASK_NOTIFICATIONS"}))}},r.showDeprecatedNetworkModal=function(){return{type:O.DEPRECATED_NETWORK_POPOVER_OPEN}},r.showImportNftsModal=function(e){return{type:O.IMPORT_NFTS_MODAL_OPEN,payload:e}},r.showImportTokensModal=function(){return{type:O.IMPORT_TOKENS_POPOVER_OPEN}},r.showIpfsModal=function(){return{type:O.SHOW_IPFS_MODAL_OPEN}},r.showKeyringSnapRemovalModal=function(e){return{type:O.SHOW_KEYRING_SNAP_REMOVAL_RESULT,payload:e}},r.showLoadingIndication=$,r.showModal=Q,r.showNetworkDropdown=function(){return{type:O.NETWORK_DROPDOWN_OPEN}},r.showPrivateKey=function(e){return{type:O.SHOW_PRIVATE_KEY,payload:e}},r.showQrScanner=function(){return e=>{e(Q({name:"QR_SCANNER"}))}},r.showSendTokenPage=function(){return{type:O.SHOW_SEND_TOKEN_PAGE}},r.signAndSendSmartTransaction=function({unsignedTransaction:e,smartTransactionFees:t}){return async r=>{const a=await fe(e,t.fees),n=await fe(e,t.cancelFees,!0);try{return(await(0,I.submitRequestToBackground)("submitSignedTransactions",[{signedTransactions:a,signedCanceledTransactions:n,txParams:e}])).uuid}catch(e){if((0,D.logErrorWithMessage)(e),(0,D.isErrorWithMessage)(e)&&e.message.startsWith("Fetch error:")){const t=(0,A.parseSmartTransactionsError)(e.message);r({type:O.SET_SMART_TRANSACTIONS_ERROR,payload:t})}throw e}}},r.stopPollingForQuotes=function(){return async e=>{await(0,I.submitRequestToBackground)("stopPollingForQuotes"),await oe(e)}},r.submitPassword=N,r.submitQRHardwareCryptoAccount=async function(e){await(0,I.submitRequestToBackground)("submitQRHardwareCryptoAccount",[e])},r.submitQRHardwareCryptoHDKey=async function(e){await(0,I.submitRequestToBackground)("submitQRHardwareCryptoHDKey",[e])},r.submitQRHardwareSignature=async function(e,t){await(0,I.submitRequestToBackground)("submitQRHardwareSignature",[e,t])},r.testDesktopConnection=async function(){return await(0,I.submitRequestToBackground)("testDesktopConnection")},r.throwTestBackgroundError=async function(e){await(0,I.submitRequestToBackground)("throwTestError",[e])},r.toggleAccountMenu=function(){return{type:O.TOGGLE_ACCOUNT_MENU}},r.toggleExternalServices=function(e){return t=>{a.default.debug("background.toggleExternalServices"),(0,I.callBackgroundMethod)("toggleExternalServices",[e],(e=>{e&&t(te(e))}))}},r.toggleNetworkMenu=function(){return{type:O.TOGGLE_NETWORK_MENU}},r.trackInsightSnapUsage=function(e){return async()=>{await(0,I.submitRequestToBackground)("trackInsightSnapView",[e])}},r.trackMetaMetricsEvent=he,r.trackMetaMetricsPage=function(e,t){return(0,I.submitRequestToBackground)("trackMetaMetricsPage",[{...e,actionId:(0,I.generateActionId)()},t])},r.tryReverseResolveAddress=function(e){return()=>new Promise((t=>{(0,I.callBackgroundMethod)("tryReverseResolveAddress",[e],(e=>{e&&(0,D.logErrorWithMessage)(e),t()}))}))},r.tryUnlockMetamask=function(e){return t=>(t($()),t(G()),a.default.debug("background.submitPassword"),new Promise(((t,r)=>{(0,I.callBackgroundMethod)("submitPassword",[e],(e=>{e?r(e):t()}))})).then((()=>(t(x()),oe(t)))).then((()=>{t(ee())})).catch((e=>(t(X(e.message)),t(ee()),Promise.reject(e)))))},r.unMarkPasswordForgotten=U,r.unlockAndGetSeedPhrase=function(e){return async t=>{t($());try{await N(e);const r=await B(e);return await oe(t),r}catch(e){throw t(te(e)),(0,D.isErrorWithMessage)(e)?new Error(e.message):e}finally{t(ee())}}},r.unlockFailed=X,r.unlockHardwareWalletAccounts=function(e,t,r,n){return a.default.debug("background.unlockHardwareWalletAccount",e,t,r,n),async a=>{a($());for(const o of e)try{await(0,I.submitRequestToBackground)("unlockHardwareWalletAccount",[o,t,r,n])}catch(e){throw(0,D.logErrorWithMessage)(e),a(te(e)),a(ee()),e}return a(ee()),undefined}},r.unlockInProgress=G,r.unlockSucceeded=x,r.updateAccountsList=function(e){return async()=>{await(0,I.submitRequestToBackground)("updateAccountsList",[e])}},r.updateAndApproveTx=function(e,t,r){return(a,n)=>{!t&&a($(r));const o=()=>Boolean(n().send.stage!==p.SEND_STAGES.INACTIVE);return new Promise(((t,r)=>{const n=(0,I.generateActionId)();(0,I.callBackgroundMethod)("resolvePendingApproval",[String(e.id),{txMeta:e,actionId:n},{waitForResult:!0}],(n=>{if(a(H(e.id,e.txParams)),o()||a((0,p.resetSendState)()),n)return a(P()),(0,D.logErrorWithMessage)(n),void r(n);t(e)}))})).then((()=>w())).then((e=>a(j(e)))).then((()=>(o()||a((0,p.resetSendState)()),a(J(e.id)),a(ee()),a(F("")),a(Y()),e))).catch((e=>(a(ee()),Promise.reject(e))))}},r.updateCurrentLocale=ie,r.updateCustomNonce=F,r.updateCustomSwapsEIP1559GasParams=function({gasLimit:e,maxFeePerGas:t,maxPriorityFeePerGas:r}){return async a=>{await Promise.all([(0,I.submitRequestToBackground)("setSwapsTxGasLimit",[e]),(0,I.submitRequestToBackground)("setSwapsTxMaxFeePerGas",[t]),(0,I.submitRequestToBackground)("setSwapsTxMaxFeePriorityPerGas",[r])]),await oe(a)}},r.updateEditableParams=function(e,t){return async r=>{let a;try{a=await(0,I.submitRequestToBackground)("updateEditableParams",[e,t])}catch(e){throw(0,D.logErrorWithMessage)(e),e}return await oe(r),a}},r.updateEventFragment=function(e,t){return(0,I.submitRequestToBackground)("updateEventFragment",[e,t])},r.updateHiddenAccountsList=function(e){return async()=>{await(0,I.submitRequestToBackground)("updateHiddenAccountsList",[e])}},r.updateInterfaceState=function(e,t){return async r=>{await(0,I.submitRequestToBackground)("updateInterfaceState",[e,t]),await oe(r)}},r.updateMetamaskState=j,r.updateNetworksList=function(e){return async()=>{await(0,I.submitRequestToBackground)("updateNetworksList",[e])}},r.updateNftDropDownState=function(e){return async t=>{await(0,I.submitRequestToBackground)("updateNftDropDownState",[e]),await oe(t)}},r.updateOnChainTriggersByAccount=function(e){return async()=>{try{await(0,I.submitRequestToBackground)("updateOnChainTriggersByAccount",[e])}catch(e){throw(0,D.logErrorWithMessage)(e),e}}},r.updatePreviousGasParams=function(e,t){return async()=>{let r;try{r=await(0,I.submitRequestToBackground)("updatePreviousGasParams",[e,t])}catch(e){throw(0,D.logErrorWithMessage)(e),e}return r}},r.updateProposedNames=function(e){return async()=>await(0,I.submitRequestToBackground)("updateProposedNames",[e])},r.updateSmartTransaction=function(e,t){return async r=>{try{await(0,I.submitRequestToBackground)("updateSmartTransaction",[{uuid:e,...t}])}catch(e){if((0,D.logErrorWithMessage)(e),(0,D.isErrorWithMessage)(e)&&e.message.startsWith("Fetch error:")){const t=(0,A.parseSmartTransactionsError)(e.message);r({type:O.SET_SMART_TRANSACTIONS_ERROR,payload:t})}throw e}}},r.updateSnap=function(e,t){return async(r,a)=>{await(0,I.submitRequestToBackground)("updateSnap",[e,t]),await oe(r);const n=a(),o=(0,g.getFirstSnapInstallOrUpdateRequest)(n);return null==o?void 0:o.metadata.id}},r.updateSwapsUserFeeLevel=function(e){return async t=>{await(0,I.submitRequestToBackground)("setSwapsUserFeeLevel",[e]),await oe(t)}},r.updateTokenType=async function(e){try{return await(0,I.submitRequestToBackground)("updateTokenType",[e])}catch(e){(0,D.logErrorWithMessage)(e)}return undefined},r.updateTransaction=function(e,t){return async r=>{!t&&r($());try{await(0,I.submitRequestToBackground)("updateTransaction",[e])}catch(t){throw r(H(e.id,e.txParams)),r(ee()),r(P()),(0,D.logErrorWithMessage)(t),t}try{r(H(e.id,e.txParams));return r(j(await w())),r(z({id:e.id})),e}finally{r(ee())}}},r.updateTransactionGasFees=function(e,t){return async()=>{let r;try{r=await(0,I.submitRequestToBackground)("updateTransactionGasFees",[e,t])}catch(e){throw(0,D.logErrorWithMessage)(e),e}return r}},r.updateTransactionParams=H,r.updateTransactionSendFlowHistory=function(e,t,r){return async()=>{let a;try{a=await(0,I.submitRequestToBackground)("updateTransactionSendFlowHistory",[e,t,r])}catch(e){throw(0,D.logErrorWithMessage)(e),e}return a}},r.updateViewedNotifications=function(e){return(0,I.submitRequestToBackground)("updateViewedNotifications",[e])},r.upsertNetworkConfiguration=function({rpcUrl:e,chainId:t,nickname:r,rpcPrefs:n,ticker:o=R.EtherDenomination.ETH},{setActive:i,source:s}){return async c=>{let u;a.default.debug(`background.upsertNetworkConfiguration: ${e} ${t} ${o} ${r}`);try{u=await(0,I.submitRequestToBackground)("upsertNetworkConfiguration",[{rpcUrl:e,chainId:t,ticker:o,nickname:r||e,rpcPrefs:n},{setActive:i,source:s,referrer:l.ORIGIN_METAMASK}])}catch(e){a.default.error(e),c(te("Had a problem adding network!"))}return u}},r.verifyPassword=L;var a=k(e("loglevel")),n=e("@sentry/browser"),o=e("lodash"),i=e("eth-rpc-errors"),s=e("@metamask/keyring-controller"),c=e("../helpers/utils/transactions.util"),u=k(e("../../shared/lib/switch-direction")),l=e("../../shared/constants/app"),d=e("../../app/scripts/lib/util"),g=e("../selectors"),p=e("../ducks/send"),m=e("../ducks/alerts/unconnected-account"),h=e("../ducks/metamask/metamask"),T=e("../../shared/modules/hexstring-utils"),f=e("../../shared/constants/hardware-wallets"),S=e("../../shared/constants/metametrics"),A=e("../pages/swaps/swaps.util"),y=e("../../shared/modules/string-utils"),v=e("../../shared/modules/selectors"),E=e("../helpers/constants/notifications"),b=e("../../shared/modules/i18n"),C=e("../../shared/modules/conversion.utils"),R=e("../../shared/constants/common"),D=e("../../shared/modules/error"),O=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=M(t);if(r&&r.has(e))return r.get(e);var a={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=n?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,r&&r.set(e,a),a}(e("./actionConstants")),I=e("./background-connection");function M(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(M=function(e){return e?r:t})(e)}function k(e){return e&&e.__esModule?e:{default:e}}function P(){return{type:O.GO_HOME}}function N(e){return new Promise(((t,r)=>{(0,I.callBackgroundMethod)("submitPassword",[e],(e=>{e?r(e):t()}))}))}function _(e){return new Promise(((t,r)=>{(0,I.callBackgroundMethod)("createNewVaultAndKeychain",[e],(e=>{e?r(e):t(!0)}))}))}function L(e){return new Promise(((t,r)=>{(0,I.callBackgroundMethod)("verifyPassword",[e],(e=>{e?r(e):t(!0)}))}))}async function B(e){const r=await(0,I.submitRequestToBackground)("getSeedPhrase",[e]);return t.from(r).toString("utf8")}function F(e){return{type:O.UPDATE_CUSTOM_NONCE,value:e}}const w=()=>(a.default.debug("background.getState"),new Promise(((e,t)=>{(0,I.callBackgroundMethod)("getState",[],((r,a)=>{r?t(r):e(a)}))})));function J(e){return t=>{t({type:O.COMPLETED_TX,value:{id:e}})}}function H(e,t){return{type:O.UPDATE_TRANSACTION_PARAMS,id:e,value:t}}function U(){return e=>new Promise((e=>{(0,I.callBackgroundMethod)("unMarkPasswordForgotten",[],(()=>{e()}))})).then((()=>oe(e)))}function G(){return{type:O.UNLOCK_IN_PROGRESS}}function X(e){return{type:O.UNLOCK_FAILED,value:e}}function x(e){return{type:O.UNLOCK_SUCCEEDED,value:e}}function j(e){return(t,r)=>{var a,n;const i=r(),s=(0,h.getProviderConfig)(i),{metamask:c}=i,{currentLocale:u}=c,l=(0,g.getSelectedInternalAccount)(i),d=null==l?void 0:l.address,{currentLocale:m,providerConfig:T}=e,f=(0,g.getSelectedInternalAccount)({metamask:e}),S=null==f?void 0:f.address;u&&m&&u!==m&&t(ie(m)),d!==S&&t({type:O.SELECTED_ADDRESS_CHANGED});const A=(null===(a=e.addressBook)||void 0===a?void 0:a[null==T?void 0:T.chainId])??{},y=(null===(n=c.addressBook)||void 0===n?void 0:n[null==s?void 0:s.chainId])??{},v=(0,g.getMetaMaskAccounts)({metamask:e}),E=(0,g.getMetaMaskAccounts)({metamask:c}),b=v[S],C=v[d];Object.entries(E).forEach((([e,r])=>{(0,o.isEqual)(r,v[e])||t({type:O.ACCOUNT_CHANGED,payload:{account:v[e]}})})),!1===(0,o.isEqual)(C,b)&&t({type:O.SELECTED_ACCOUNT_CHANGED,payload:{account:b}}),!1===(0,o.isEqual)(y,A)&&t({type:O.ADDRESS_BOOK_UPDATED,payload:{addressBook:A}}),!1===(0,o.isEqual)(c.gasFeeEstimates,e.gasFeeEstimates)&&t({type:O.GAS_FEE_ESTIMATES_UPDATED,payload:{gasFeeEstimates:e.gasFeeEstimates,gasEstimateType:e.gasEstimateType}}),t({type:O.UPDATE_METAMASK_STATE,value:e}),s.chainId!==T.chainId&&(t({type:O.CHAIN_CHANGED,payload:T.chainId}),t((0,p.initializeSendState)({chainHasChanged:!0})))}}const V=()=>new Promise(((e,t)=>{(0,I.callBackgroundMethod)("setLocked",[],(r=>{r?t(r):e()}))}));async function K(e){a.default.debug("background.setSelectedInternalAccount"),await(0,I.submitRequestToBackground)("setSelectedInternalAccount",[e])}function q(){return{type:O.SHOW_ACCOUNTS_PAGE}}function z({id:e}={}){return{type:O.SHOW_CONF_TX_PAGE,id:e}}function W(e){return async t=>{await(0,I.submitRequestToBackground)("setSwitchedNetworkDetails",[e]),await oe(t)}}async function Z(e){a.default.debug(`background.setActiveNetworkConfigurationId: ${e}`),await(0,I.submitRequestToBackground)("setActiveNetworkConfigurationId",[e])}function Q(e){return{type:O.MODAL_OPEN,payload:e}}function Y(){return(e,t)=>{const r=t(),a=(0,g.getApprovalFlows)(r);(0,d.getEnvironmentType)()!==l.ENVIRONMENT_TYPE_NOTIFICATION||(0,g.hasTransactionPendingApprovals)(r)||(0,g.getIsSigningQRHardwareTransaction)(r)||0!==a.length||me()}}function $(e){return{type:O.SHOW_LOADING,payload:e}}function ee(){return{type:O.HIDE_LOADING}}function te(e){return(0,D.isErrorWithMessage)(e)?{type:O.DISPLAY_WARNING,payload:e.message}:"string"==typeof e?{type:O.DISPLAY_WARNING,payload:e}:{type:O.DISPLAY_WARNING,payload:`${e}`}}function re(e,t){return r=>(r($()),new Promise(((a,n)=>{(0,I.callBackgroundMethod)("setPreference",[e,t],((e,t)=>{if(r(ee()),e)return r(te(e)),void n(e);a(t)}))})))}function ae(){return{type:O.COMPLETE_ONBOARDING}}function ne(){return{type:O.RESET_ONBOARDING}}async function oe(e){let t;a.default.debug("background.getState");try{t=await(0,I.submitRequestToBackground)("getState")}catch(t){throw e(te(t)),t}return e(j(t)),t}function ie(e){return async t=>{t($());try{await(0,b.loadRelativeTimeFormatLocaleData)(e);const r=await(0,b.fetchLocale)(e),a=await(0,I.submitRequestToBackground)("setCurrentLocale",[e]);(0,u.default)(a),t(se(e,r))}catch(e){return void t(te(e))}finally{t(ee())}}}function se(e,t){return{type:O.SET_CURRENT_LOCALE,payload:{locale:e,messages:t}}}function ce(e){return t=>(a.default.debug("background.setSeedPhraseBackedUp"),new Promise(((r,a)=>{(0,I.callBackgroundMethod)("setSeedPhraseBackedUp",[e],(e=>{if(e)return t(te(e)),void a(e);oe(t).then(r).catch(a)}))})))}function ue(e){return{type:O.SET_NEXT_NONCE,payload:e}}function le(e){return{type:O.SET_REQUEST_ACCOUNT_TABS,payload:e}}function de(e){return{type:O.SET_OPEN_METAMASK_TAB_IDS,payload:e}}async function ge(e){return(0,I.submitRequestToBackground)("addPollingTokenToAppState",[e,l.POLLING_TOKEN_ENVIRONMENT_TYPES[(0,d.getEnvironmentType)()]])}async function pe(e){return(0,I.submitRequestToBackground)("removePollingTokenFromAppState",[e,l.POLLING_TOKEN_ENVIRONMENT_TYPES[(0,d.getEnvironmentType)()]])}async function me(){await(0,I.submitRequestToBackground)("markNotificationPopupAsAutomaticallyClosed"),global.platform.closeCurrentWindow()}function he(e,t){return(0,I.submitRequestToBackground)("trackMetaMetricsEvent",[{...e,actionId:(0,I.generateActionId)()},t])}async function Te(e){await(0,I.submitRequestToBackground)("setUnconnectedAccountAlertShown",[e])}const fe=async(e,t,r)=>{const a=t.map((t=>{const a={...e,maxFeePerGas:(0,C.decimalToHex)(t.maxFeePerGas),maxPriorityFeePerGas:(0,C.decimalToHex)(t.maxPriorityFeePerGas),gas:r?(0,C.decimalToHex)(21e3):e.gas,value:e.value};return r&&(a.to=a.from,a.data="0x"),a}));return await(0,I.submitRequestToBackground)("approveTransactionsWithSameNonce",[a])}}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"$root$",file:"ui/store/actions.ts"}],[5999,{pify:3986},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.generateActionId=r.callBackgroundMethod=void 0,r.setBackgroundConnection=async function(e){o=e,i=(0,n.default)(o)},r.submitRequestToBackground=function(e,t){var r;return null===(r=i)||void 0===r?void 0:r[e](...t??[])};var a,n=(a=e("pify"))&&a.__esModule?a:{default:a};let o=null,i=null;r.generateActionId=()=>Date.now()+Math.random();r.callBackgroundMethod=(e,t,r)=>{var a;null===(a=o)||void 0===a||a[e](...t,r)}}}},{package:"$root$",file:"ui/store/background-connection.ts"}],[600,{"../RegistryItem":593,"../RegistryType":594,"../lib":604,"./KeyDerivation":599},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.QRHardwareCall=r.QRHardwareCallType=void 0;const a=e("../RegistryType"),n=e("../RegistryItem"),o=e("../lib"),i=e("./KeyDerivation");var s,c;!function(e){e[e.type=1]="type",e[e.params=2]="params",e[e.origin=3]="origin"}(s||(s={})),function(e){e[e.KeyDerivation=0]="KeyDerivation"}(c=r.QRHardwareCallType||(r.QRHardwareCallType={}));class u extends n.RegistryItem{constructor(e,t,r){super(),this.type=e,this.params=t,this.origin=r,this.getRegistryType=()=>a.RegistryTypes.QR_HARDWARE_CALL,this.getType=()=>this.type,this.getParams=()=>this.params,this.getOrigin=()=>this.origin,this.toDataItem=()=>{const e={};e[s.type]=this.type;const t=this.params.toDataItem();return t.setTag(this.params.getRegistryType().getTag()),e[s.params]=t,this.origin&&(e[s.origin]=this.origin),new o.DataItem(e)}}}r.QRHardwareCall=u,u.fromDataItem=e=>{const t=e.getData(),r=t[s.type]||c.KeyDerivation;let a;if(r===c.KeyDerivation)a=i.KeyDerivation.fromDataItem(t[s.params]);const n=t[s.origin];return new u(r,a,n)},u.fromCBOR=e=>{const t=(0,o.decodeToDataItem)(e);return u.fromDataItem(t)}}}},{package:"@keystonehq/bc-ur-registry-eth>@keystonehq/bc-ur-registry",file:"node_modules/@keystonehq/bc-ur-registry/dist/extended/QRHardwareCall.js"}],[601,{"./Bytes":582,"./CryptoAccount":583,"./CryptoCoinInfo":584,"./CryptoECKey":585,"./CryptoHDKey":586,"./CryptoKeypath":587,"./CryptoOutput":588,"./CryptoPSBT":589,"./Decoder":590,"./MultiKey":591,"./PathComponent":592,"./RegistryItem":593,"./RegistryType":594,"./ScriptExpression":595,"./errors":596,"./extended/CryptoMultiAccounts":597,"./extended/DerivationSchema":598,"./extended/KeyDerivation":599,"./extended/QRHardwareCall":600,"./lib":604,"./patchCBOR":605,"./types":606,"./utils":607,"buffer/":3035,tslib:4378},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.Buffer=r.extend=r.PathComponent=r.ScriptExpressions=r.MultiKey=r.CryptoPSBT=r.CryptoOutput=r.CryptoECKey=r.CryptoCoinInfoNetwork=r.CryptoCoinInfoType=r.CryptoCoinInfo=r.CryptoKeypath=r.CryptoMultiAccounts=r.CryptoHDKey=r.CryptoAccount=r.Bytes=r.URRegistryDecoder=r.DataItem=void 0;const a=e("tslib");e("./patchCBOR");const n=e("buffer/");Object.defineProperty(r,"Buffer",{enumerable:!0,get:function(){return n.Buffer}});const o=e("./CryptoHDKey");Object.defineProperty(r,"CryptoHDKey",{enumerable:!0,get:function(){return o.CryptoHDKey}});const i=e("./CryptoKeypath");Object.defineProperty(r,"CryptoKeypath",{enumerable:!0,get:function(){return i.CryptoKeypath}});const s=e("./CryptoCoinInfo");Object.defineProperty(r,"CryptoCoinInfo",{enumerable:!0,get:function(){return s.CryptoCoinInfo}}),Object.defineProperty(r,"CryptoCoinInfoType",{enumerable:!0,get:function(){return s.Type}}),Object.defineProperty(r,"CryptoCoinInfoNetwork",{enumerable:!0,get:function(){return s.Network}});const c=e("./CryptoECKey");Object.defineProperty(r,"CryptoECKey",{enumerable:!0,get:function(){return c.CryptoECKey}});const u=e("./Bytes");Object.defineProperty(r,"Bytes",{enumerable:!0,get:function(){return u.Bytes}});const l=e("./CryptoOutput");Object.defineProperty(r,"CryptoOutput",{enumerable:!0,get:function(){return l.CryptoOutput}});const d=e("./CryptoPSBT");Object.defineProperty(r,"CryptoPSBT",{enumerable:!0,get:function(){return d.CryptoPSBT}});const g=e("./CryptoAccount");Object.defineProperty(r,"CryptoAccount",{enumerable:!0,get:function(){return g.CryptoAccount}});const p=e("./Decoder");Object.defineProperty(r,"URRegistryDecoder",{enumerable:!0,get:function(){return p.URRegistryDecoder}});const m=e("./MultiKey");Object.defineProperty(r,"MultiKey",{enumerable:!0,get:function(){return m.MultiKey}});const h=e("./ScriptExpression");Object.defineProperty(r,"ScriptExpressions",{enumerable:!0,get:function(){return h.ScriptExpressions}});const T=e("./PathComponent");Object.defineProperty(r,"PathComponent",{enumerable:!0,get:function(){return T.PathComponent}});const f=e("./RegistryItem"),S=e("./RegistryType"),A=e("./lib");var y=e("./lib");Object.defineProperty(r,"DataItem",{enumerable:!0,get:function(){return y.DataItem}});const v=e("./utils"),E=e("./extended/CryptoMultiAccounts");Object.defineProperty(r,"CryptoMultiAccounts",{enumerable:!0,get:function(){return E.CryptoMultiAccounts}});const b={URRegistryDecoder:p.URRegistryDecoder,Bytes:u.Bytes,CryptoAccount:g.CryptoAccount,CryptoHDKey:o.CryptoHDKey,CryptoMultiAccounts:E.CryptoMultiAccounts,CryptoKeypath:i.CryptoKeypath,CryptoCoinInfo:s.CryptoCoinInfo,CryptoCoinInfoType:s.Type,CryptoCoinInfoNetwork:s.Network,CryptoECKey:c.CryptoECKey,CryptoOutput:l.CryptoOutput,CryptoPSBT:d.CryptoPSBT,MultiKey:m.MultiKey,ScriptExpressions:h.ScriptExpressions,PathComponent:T.PathComponent},C={addReader:A.addReader,addSemanticDecode:A.addSemanticDecode,addSemanticEncode:A.addSemanticEncode,addWriter:A.addWriter,patchTags:v.patchTags},R={RegistryTypes:S.RegistryTypes,RegistryItem:f.RegistryItem,RegistryType:S.RegistryType,decodeToDataItem:A.decodeToDataItem,encodeDataItem:A.encodeDataItem,cbor:C};r.extend=R,(0,a.__exportStar)(e("./errors"),r),(0,a.__exportStar)(e("./Decoder"),r),(0,a.__exportStar)(e("./lib"),r),(0,a.__exportStar)(e("./CryptoAccount"),r),(0,a.__exportStar)(e("./CryptoPSBT"),r),(0,a.__exportStar)(e("./CryptoHDKey"),r),(0,a.__exportStar)(e("./extended/CryptoMultiAccounts"),r),(0,a.__exportStar)(e("./extended/QRHardwareCall"),r),(0,a.__exportStar)(e("./extended/KeyDerivation"),r),(0,a.__exportStar)(e("./extended/DerivationSchema"),r),(0,a.__exportStar)(e("./CryptoOutput"),r),(0,a.__exportStar)(e("./CryptoCoinInfo"),r),(0,a.__exportStar)(e("./CryptoECKey"),r),(0,a.__exportStar)(e("./MultiKey"),r),(0,a.__exportStar)(e("./CryptoKeypath"),r),(0,a.__exportStar)(e("./patchCBOR"),r),(0,a.__exportStar)(e("./PathComponent"),r),(0,a.__exportStar)(e("./RegistryItem"),r),(0,a.__exportStar)(e("./RegistryType"),r),(0,a.__exportStar)(e("./types"),r),(0,a.__exportStar)(e("./utils"),r),r.default=b}}},{package:"@keystonehq/bc-ur-registry-eth>@keystonehq/bc-ur-registry",file:"node_modules/@keystonehq/bc-ur-registry/dist/index.js"}],[602,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.DataItem=void 0;r.DataItem=class{constructor(e,t){this.setTag=e=>{this.tag=e},this.clearTag=()=>{this.tag=undefined},this.getTag=()=>this.tag,this.getData=()=>this.data,this.data=e,this.tag=t}}}}},{package:"@keystonehq/bc-ur-registry-eth>@keystonehq/bc-ur-registry",file:"node_modules/@keystonehq/bc-ur-registry/dist/lib/DataItem.js"}],[603,{"./DataItem":602,buffer:3028},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){(function(r){(function(){!function(e,r){"function"==typeof define&&define.amd?define([],r):void 0!==t&&t.exports?t.exports=r():e.CBOR=r()}(this,(function(){const{DataItem:t}=e("./DataItem");var a=function(){function e(e){this.$hex=e}e.prototype={length:function(){return this.$hex.length/2},toString:function(e){if(!e||"hex"===e||16===e)return this.$hex;if("utf-8"===e){for(var t="",r=0;r>10,r=1023&e,a=32768&e;if(31===t)return 0===r?a?-Infinity:Infinity:NaN;var n=t?Math.pow(2,t-25)*(1024+r):Math.pow(2,-24)*r;return a?-n:n},readFloat32:function(){var e=this.readUint32(),t=(2147483647&e)>>23,r=8388607&e,a=2147483648&e;if(255===t)return 0===r?a?-Infinity:Infinity:NaN;var n=t?Math.pow(2,t-23-127)*(8388608+r):Math.pow(2,-149)*r;return a?-n:n},readFloat64:function(){var e=this.readUint32(),t=e>>20&2047,r=4294967296*(1048575&e)+this.readUint32(),a=2147483648&e;if(2047===t)return 0===r?a?-Infinity:Infinity:NaN;var n=t?Math.pow(2,t-52-1023)*(4503599627370496+r):Math.pow(2,-1074)*r;return a?-n:n},readUint16:function(){return 256*this.readByte()+this.readByte()},readUint32:function(){return 65536*this.readUint16()+this.readUint16()},readUint64:function(){return 4294967296*this.readUint32()+this.readUint32()}},s.prototype={writeByte:o("writeByte"),result:o("result"),writeFloat16:o("writeFloat16"),writeFloat32:o("writeFloat32"),writeFloat64:o("writeFloat64"),writeUint16:function(e){this.writeByte(e>>8&255),this.writeByte(255&e)},writeUint32:function(e){this.writeUint16(e>>16&65535),this.writeUint16(65535&e)},writeUint64:function(e){if(e>=9007199254740992||e<=-9007199254740992)throw new Error("Cannot encode Uint64 of: "+e+" magnitude to big (floating point errors)");this.writeUint32(Math.floor(e/4294967296)),this.writeUint32(e%4294967296)},writeString:o("writeString"),canWriteBinary:function(e){return!1},writeBinary:o("writeChunk")};var l=new Error;function d(e){var t=function(e){var t=e.readByte();return{type:t>>5,value:31&t}}(e);switch(t.type){case 0:return c(t,e);case 1:return-1-c(t,e);case 2:return e.readChunk(c(t,e));case 3:return e.readChunk(c(t,e)).toString("utf-8");case 4:case 5:var r=c(t,e),a=[];if(null!==r){5===t.type&&(r*=2);for(var o=0;o-9007199254740992?e<0?u(1,-1-e,t):u(0,e,t):(!function(e,t,r){r.writeByte(e<<5|t)}(7,27,t),t.writeFloat64(e));else if("string"==typeof e)t.writeString(e,(function(e){u(3,e,t)}));else if(t.canWriteBinary(e))t.writeBinary(e,(function(e){u(2,e,t)}));else{if("object"!=typeof e)throw new Error("CBOR encoding not supported: "+e);if(h.config.useToJSON&&"function"==typeof e.toJSON&&(e=e.toJSON()),Array.isArray(e)){u(4,e.length,t);for(r=0;r=this.latestBuffer.length&&(this.completeBuffers.push(this.latestBuffer),this.latestBuffer=r.alloc(this.defaultBufferLength),this.latestBufferOffset=0),this.byteLength++},f.prototype.writeFloat32=function(e){var t=r.alloc(4);t.writeFloatBE(e,0),this.writeBuffer(t)},f.prototype.writeFloat64=function(e){var t=r.alloc(8);t.writeDoubleBE(e,0),this.writeBuffer(t)},f.prototype.writeString=function(e,t){var a=r.from(e,"utf-8");t(a.length),this.writeBuffer(a)},f.prototype.canWriteBinary=function(e){return e instanceof r},f.prototype.writeBinary=function(e,t){t(e.length),this.writeBuffer(e)},f.prototype.writeBuffer=function(e){if(!(e instanceof r))throw new TypeError("BufferWriter only accepts Buffers");this.latestBufferOffset?this.latestBuffer.length-this.latestBufferOffset>=e.length?(e.copy(this.latestBuffer,this.latestBufferOffset),this.latestBufferOffset+=e.length,this.latestBufferOffset>=this.latestBuffer.length&&(this.completeBuffers.push(this.latestBuffer),this.latestBuffer=r.alloc(this.defaultBufferLength),this.latestBufferOffset=0)):(this.completeBuffers.push(this.latestBuffer.slice(0,this.latestBufferOffset)),this.completeBuffers.push(e),this.latestBuffer=r.alloc(this.defaultBufferLength),this.latestBufferOffset=0):this.completeBuffers.push(e),this.byteLength+=e.length},f.prototype.result=function(){for(var e=r.alloc(this.byteLength),t=0,a=0;a255)throw new Error("Byte value out of range: "+e);var t=e.toString(16);1==t.length&&(t="0"+t),this.$hex+=t},A.prototype.canWriteBinary=function(t){return t instanceof e||"function"==typeof r&&t instanceof r},A.prototype.writeBinary=function(t,a){if(t instanceof e)a(t.length()),this.$hex+=t.$hex;else{if(!("function"==typeof r&&t instanceof r))throw new TypeError("HexWriter only accepts BinaryHex or Buffers");a(t.length),this.$hex+=t.toString("hex")}},A.prototype.result=function(){return"buffer"===this.finalFormat&&"function"==typeof r?r.from(this.$hex,"hex"):new e(this.$hex).toString(this.finalFormat)},A.prototype.writeString=function(t,r){var a=e.fromUtf8String(t);r(a.length()),this.$hex+=a.$hex},h.addReader((function(t,r){return t instanceof e||t.$hex?new S(t.$hex):"hex"===r?new S(t):void 0})),h.addWriter((function(e){if("hex"===e)return new A})),h}();return a.addSemanticEncode(0,(function(e){if(e instanceof Date)return e.toISOString()})).addSemanticDecode(0,(function(e){return new Date(e)})).addSemanticDecode(1,(function(e){return new Date(e)})),a}))}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"@keystonehq/bc-ur-registry-eth>@keystonehq/bc-ur-registry",file:"node_modules/@keystonehq/bc-ur-registry/dist/lib/cbor-sync.js"}],[604,{"./DataItem":602,"./cbor-sync":603},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.DataItem=r.addWriter=r.addReader=r.addSemanticEncode=r.addSemanticDecode=r.decodeToDataItem=r.encodeDataItem=void 0;var a=e("./cbor-sync");Object.defineProperty(r,"encodeDataItem",{enumerable:!0,get:function(){return a.encodeDataItem}}),Object.defineProperty(r,"decodeToDataItem",{enumerable:!0,get:function(){return a.decodeToDataItem}}),Object.defineProperty(r,"addSemanticDecode",{enumerable:!0,get:function(){return a.addSemanticDecode}}),Object.defineProperty(r,"addSemanticEncode",{enumerable:!0,get:function(){return a.addSemanticEncode}}),Object.defineProperty(r,"addReader",{enumerable:!0,get:function(){return a.addReader}}),Object.defineProperty(r,"addWriter",{enumerable:!0,get:function(){return a.addWriter}});var n=e("./DataItem");Object.defineProperty(r,"DataItem",{enumerable:!0,get:function(){return n.DataItem}})}}},{package:"@keystonehq/bc-ur-registry-eth>@keystonehq/bc-ur-registry",file:"node_modules/@keystonehq/bc-ur-registry/dist/lib/index.js"}],[605,{"./RegistryType":594,"./ScriptExpression":595,"./utils":607},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const a=e("./utils"),n=e("./RegistryType"),o=e("./ScriptExpression"),i=Object.values(n.RegistryTypes).filter((e=>!!e.getTag())).map((e=>e.getTag())),s=Object.values(o.ScriptExpressions).map((e=>e.getTag()));(0,a.patchTags)(i.concat(s))}}},{package:"@keystonehq/bc-ur-registry-eth>@keystonehq/bc-ur-registry",file:"node_modules/@keystonehq/bc-ur-registry/dist/patchCBOR.js"}],[606,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0})}}},{package:"@keystonehq/bc-ur-registry-eth>@keystonehq/bc-ur-registry",file:"node_modules/@keystonehq/bc-ur-registry/dist/types.js"}],[607,{"./lib":604},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.patchTags=void 0;const a=e("./lib"),n=[];r.patchTags=e=>{e.forEach((e=>{n.find((t=>t===e))||((0,a.addSemanticEncode)(e,(t=>{if(t instanceof a.DataItem&&t.getTag()===e)return t.getData()})),(0,a.addSemanticDecode)(e,(t=>new a.DataItem(t,e))),n.push(e))}))}}}},{package:"@keystonehq/bc-ur-registry-eth>@keystonehq/bc-ur-registry",file:"node_modules/@keystonehq/bc-ur-registry/dist/utils.js"}],[73,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){if(e.includes(a)){const t=e.slice(a.length);return t.slice(t.indexOf(n)+n.length)}return e};const a="Error: [ethjs-rpc] rpc error with payload ",n="Error: "}}},{package:"$root$",file:"app/scripts/lib/extractEthjsErrorMessage.js"}],[74,{"../../_locales/index.json":3,"webextension-polyfill":4472},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=async function(){let e;try{e=await a.default.i18n.getAcceptLanguages()}catch(t){e=[]}e||(e=[]);let t=e.map((e=>e.toLowerCase().replace("_","-"))).find((e=>i[e]!==undefined||i[e.split("-")[0]]!==undefined));t!==undefined&&i[t]===undefined&&(t=t.split("-")[0]);return i[t]||"en"};var a=o(e("webextension-polyfill")),n=o(e("../../_locales/index.json"));function o(e){return e&&e.__esModule?e:{default:e}}const i={zh:"zh_CN"};n.default.forEach((e=>{e&&e.code&&(i[e.code.toLowerCase().replace("_","-")]=e.code)}))}}},{package:"$root$",file:"app/scripts/lib/get-first-preferred-lang-code.js"}],[78,{"../../../shared/modules/browser-runtime.utils":4534,"@sentry/browser":2409,loglevel:3842,"webextension-polyfill":4472},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var a=s(e("webextension-polyfill")),n=s(e("loglevel")),o=e("@sentry/browser"),i=e("../../../shared/modules/browser-runtime.utils");function s(e){return e&&e.__esModule?e:{default:e}}r.default=class{constructor(){this.isSupported=Boolean(a.default.storage.local),this.isSupported||n.default.error("Storage local API not available."),this.dataPersistenceFailing=!1,this.mostRecentRetrievedState=null}setMetadata(e){this.metadata=e}async set(e){if(!this.isSupported)throw new Error("Metamask- cannot persist state to local store as this browser does not support this action");if(!e)throw new Error("MetaMask - updated state is missing");if(!this.metadata)throw new Error('MetaMask - metadata must be set on instance of ExtensionStore before calling "set"');try{await this._set({data:e,meta:this.metadata}),this.dataPersistenceFailing&&(this.dataPersistenceFailing=!1)}catch(e){this.dataPersistenceFailing||(this.dataPersistenceFailing=!0,(0,o.captureException)(e)),n.default.error("error setting state in local store:",e)}}async get(){if(!this.isSupported)return undefined;const e=await this._get();return t=e,0===Object.keys(t).length?(this.mostRecentRetrievedState=null,undefined):(this.mostRecentRetrievedState=e,e);var t}_get(){const{local:e}=a.default.storage;return new Promise(((t,r)=>{e.get(null).then((e=>{const a=(0,i.checkForLastError)();a?r(a):t(e)}))}))}_set(e){const{local:t}=a.default.storage;return new Promise(((r,a)=>{t.set(e).then((()=>{const e=(0,i.checkForLastError)();e?a(e):r()}))}))}}}}},{package:"$root$",file:"app/scripts/lib/local-store.js"}],[83,{"../../../shared/modules/fetch-with-timeout":4542,loglevel:3842},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var a=n(e("loglevel"));function n(e){return e&&e.__esModule?e:{default:e}}function o(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(r!==undefined){var a=r.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const i=(0,n(e("../../../shared/modules/fetch-with-timeout")).default)();r.default=class{constructor(){o(this,"isSupported",!0),this._initialized=!1,this._initializing=this._init(),this._state=undefined,this.mostRecentRetrievedState=null}async _init(){try{const e=await i("http://localhost:12345/state.json");e.ok&&(this._state=await e.json())}catch(e){a.default.debug(`Error loading network state: '${e.message}'`)}finally{this._initialized=!0}}async get(){return this._initialized||await this._initializing,this.mostRecentRetrievedState||(this.mostRecentRetrievedState=this._state),this._state}setMetadata(e){this.metadata=e}async set(e){if(!this.isSupported)throw new Error("Metamask- cannot persist state to local store as this browser does not support this action");if(!e)throw new Error("MetaMask - updated state is missing");if(!this.metadata)throw new Error('MetaMask - metadata must be set on instance of ExtensionStore before calling "set"');this._initialized||await this._initializing,this._state={data:e,meta:this._metadata}}}}}},{package:"$root$",file:"app/scripts/lib/network-store.js"}]],[],{}); \ No newline at end of file diff --git a/contracts/test/e2e/metamask-flask-unpacked/ui-2.js b/contracts/test/e2e/metamask-flask-unpacked/ui-2.js index bdae8cf..e0ea287 100644 --- a/contracts/test/e2e/metamask-flask-unpacked/ui-2.js +++ b/contracts/test/e2e/metamask-flask-unpacked/ui-2.js @@ -1 +1 @@ -LavaPack.loadBundle([[4481,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){var r;r={passwords:"123456,password,12345678,qwerty,123456789,12345,1234,111111,1234567,dragon,123123,baseball,abc123,football,monkey,letmein,shadow,master,696969,mustang,666666,qwertyuiop,123321,1234567890,pussy,superman,654321,1qaz2wsx,7777777,fuckyou,qazwsx,jordan,123qwe,000000,killer,trustno1,hunter,harley,zxcvbnm,asdfgh,buster,batman,soccer,tigger,charlie,sunshine,iloveyou,fuckme,ranger,hockey,computer,starwars,asshole,pepper,klaster,112233,zxcvbn,freedom,princess,maggie,pass,ginger,11111111,131313,fuck,love,cheese,159753,summer,chelsea,dallas,biteme,matrix,yankees,6969,corvette,austin,access,thunder,merlin,secret,diamond,hello,hammer,fucker,1234qwer,silver,gfhjkm,internet,samantha,golfer,scooter,test,orange,cookie,q1w2e3r4t5,maverick,sparky,phoenix,mickey,bigdog,snoopy,guitar,whatever,chicken,camaro,mercedes,peanut,ferrari,falcon,cowboy,welcome,sexy,samsung,steelers,smokey,dakota,arsenal,boomer,eagles,tigers,marina,nascar,booboo,gateway,yellow,porsche,monster,spider,diablo,hannah,bulldog,junior,london,purple,compaq,lakers,iceman,qwer1234,hardcore,cowboys,money,banana,ncc1701,boston,tennis,q1w2e3r4,coffee,scooby,123654,nikita,yamaha,mother,barney,brandy,chester,fuckoff,oliver,player,forever,rangers,midnight,chicago,bigdaddy,redsox,angel,badboy,fender,jasper,slayer,rabbit,natasha,marine,bigdick,wizard,marlboro,raiders,prince,casper,fishing,flower,jasmine,iwantu,panties,adidas,winter,winner,gandalf,password1,enter,ghbdtn,1q2w3e4r,golden,cocacola,jordan23,winston,madison,angels,panther,blowme,sexsex,bigtits,spanky,bitch,sophie,asdfasdf,horny,thx1138,toyota,tiger,dick,canada,12344321,blowjob,8675309,muffin,liverpoo,apples,qwerty123,passw0rd,abcd1234,pokemon,123abc,slipknot,qazxsw,123456a,scorpion,qwaszx,butter,startrek,rainbow,asdfghjkl,razz,newyork,redskins,gemini,cameron,qazwsxedc,florida,liverpool,turtle,sierra,viking,booger,butthead,doctor,rocket,159357,dolphins,captain,bandit,jaguar,packers,pookie,peaches,789456,asdf,dolphin,helpme,blue,theman,maxwell,qwertyui,shithead,lovers,maddog,giants,nirvana,metallic,hotdog,rosebud,mountain,warrior,stupid,elephant,suckit,success,bond007,jackass,alexis,porn,lucky,scorpio,samson,q1w2e3,azerty,rush2112,driver,freddy,1q2w3e4r5t,sydney,gators,dexter,red123,123456q,12345a,bubba,creative,voodoo,golf,trouble,america,nissan,gunner,garfield,bullshit,asdfghjk,5150,fucking,apollo,1qazxsw2,2112,eminem,legend,airborne,bear,beavis,apple,brooklyn,godzilla,skippy,4815162342,buddy,qwert,kitten,magic,shelby,beaver,phantom,asdasd,xavier,braves,darkness,blink182,copper,platinum,qweqwe,tomcat,01012011,girls,bigboy,102030,animal,police,online,11223344,voyager,lifehack,12qwaszx,fish,sniper,315475,trinity,blazer,heaven,lover,snowball,playboy,loveme,bubbles,hooters,cricket,willow,donkey,topgun,nintendo,saturn,destiny,pakistan,pumpkin,digital,sergey,redwings,explorer,tits,private,runner,therock,guinness,lasvegas,beatles,789456123,fire,cassie,christin,qwerty1,celtic,asdf1234,andrey,broncos,007007,babygirl,eclipse,fluffy,cartman,michigan,carolina,testing,alexande,birdie,pantera,cherry,vampire,mexico,dickhead,buffalo,genius,montana,beer,minecraft,maximus,flyers,lovely,stalker,metallica,doggie,snickers,speedy,bronco,lol123,paradise,yankee,horses,magnum,dreams,147258369,lacrosse,ou812,goober,enigma,qwertyu,scotty,pimpin,bollocks,surfer,cock,poohbear,genesis,star,asd123,qweasdzxc,racing,hello1,hawaii,eagle1,viper,poopoo,einstein,boobies,12345q,bitches,drowssap,simple,badger,alaska,action,jester,drummer,111222,spitfire,forest,maryjane,champion,diesel,svetlana,friday,hotrod,147258,chevy,lucky1,westside,security,google,badass,tester,shorty,thumper,hitman,mozart,zaq12wsx,boobs,reddog,010203,lizard,a123456,123456789a,ruslan,eagle,1232323q,scarface,qwerty12,147852,a12345,buddha,porno,420420,spirit,money1,stargate,qwe123,naruto,mercury,liberty,12345qwert,semperfi,suzuki,popcorn,spooky,marley,scotland,kitty,cherokee,vikings,simpsons,rascal,qweasd,hummer,loveyou,michael1,patches,russia,jupiter,penguin,passion,cumshot,vfhbyf,honda,vladimir,sandman,passport,raider,bastard,123789,infinity,assman,bulldogs,fantasy,sucker,1234554321,horney,domino,budlight,disney,ironman,usuckballz1,softball,brutus,redrum,bigred,mnbvcxz,fktrcfylh,karina,marines,digger,kawasaki,cougar,fireman,oksana,monday,cunt,justice,nigger,super,wildcats,tinker,logitech,dancer,swordfis,avalon,everton,alexandr,motorola,patriots,hentai,madonna,pussy1,ducati,colorado,connor,juventus,galore,smooth,freeuser,warcraft,boogie,titanic,wolverin,elizabet,arizona,valentin,saints,asdfg,accord,test123,password123,christ,yfnfif,stinky,slut,spiderma,naughty,chopper,hello123,ncc1701d,extreme,skyline,poop,zombie,pearljam,123qweasd,froggy,awesome,vision,pirate,fylhtq,dreamer,bullet,predator,empire,123123a,kirill,charlie1,panthers,penis,skipper,nemesis,rasdzv3,peekaboo,rolltide,cardinal,psycho,danger,mookie,happy1,wanker,chevelle,manutd,goblue,9379992,hobbes,vegeta,fyfcnfcbz,852456,picard,159951,windows,loverboy,victory,vfrcbv,bambam,serega,123654789,turkey,tweety,galina,hiphop,rooster,changeme,berlin,taurus,suckme,polina,electric,avatar,134679,maksim,raptor,alpha1,hendrix,newport,bigcock,brazil,spring,a1b2c3,madmax,alpha,britney,sublime,darkside,bigman,wolfpack,classic,hercules,ronaldo,letmein1,1q2w3e,741852963,spiderman,blizzard,123456789q,cheyenne,cjkysirj,tiger1,wombat,bubba1,pandora,zxc123,holiday,wildcat,devils,horse,alabama,147852369,caesar,12312,buddy1,bondage,pussycat,pickle,shaggy,catch22,leather,chronic,a1b2c3d4,admin,qqq111,qaz123,airplane,kodiak,freepass,billybob,sunset,katana,phpbb,chocolat,snowman,angel1,stingray,firebird,wolves,zeppelin,detroit,pontiac,gundam,panzer,vagina,outlaw,redhead,tarheels,greenday,nastya,01011980,hardon,engineer,dragon1,hellfire,serenity,cobra,fireball,lickme,darkstar,1029384756,01011,mustang1,flash,124578,strike,beauty,pavilion,01012000,bobafett,dbrnjhbz,bigmac,bowling,chris1,ytrewq,natali,pyramid,rulez,welcome1,dodgers,apache,swimming,whynot,teens,trooper,fuckit,defender,precious,135790,packard,weasel,popeye,lucifer,cancer,icecream,142536,raven,swordfish,presario,viktor,rockstar,blonde,james1,wutang,spike,pimp,atlanta,airforce,thailand,casino,lennon,mouse,741852,hacker,bluebird,hawkeye,456123,theone,catfish,sailor,goldfish,nfnmzyf,tattoo,pervert,barbie,maxima,nipples,machine,trucks,wrangler,rocks,tornado,lights,cadillac,bubble,pegasus,madman,longhorn,browns,target,666999,eatme,qazwsx123,microsoft,dilbert,christia,baller,lesbian,shooter,xfiles,seattle,qazqaz,cthutq,amateur,prelude,corona,freaky,malibu,123qweasdzxc,assassin,246810,atlantis,integra,pussies,iloveu,lonewolf,dragons,monkey1,unicorn,software,bobcat,stealth,peewee,openup,753951,srinivas,zaqwsx,valentina,shotgun,trigger,veronika,bruins,coyote,babydoll,joker,dollar,lestat,rocky1,hottie,random,butterfly,wordpass,smiley,sweety,snake,chipper,woody,samurai,devildog,gizmo,maddie,soso123aljg,mistress,freedom1,flipper,express,hjvfirf,moose,cessna,piglet,polaris,teacher,montreal,cookies,wolfgang,scully,fatboy,wicked,balls,tickle,bunny,dfvgbh,foobar,transam,pepsi,fetish,oicu812,basketba,toshiba,hotstuff,sunday,booty,gambit,31415926,impala,stephani,jessica1,hooker,lancer,knicks,shamrock,fuckyou2,stinger,314159,redneck,deftones,squirt,siemens,blaster,trucker,subaru,renegade,ibanez,manson,swinger,reaper,blondie,mylove,galaxy,blahblah,enterpri,travel,1234abcd,babylon5,indiana,skeeter,master1,sugar,ficken,smoke,bigone,sweetpea,fucked,trfnthbyf,marino,escort,smitty,bigfoot,babes,larisa,trumpet,spartan,valera,babylon,asdfghj,yankees1,bigboobs,stormy,mister,hamlet,aardvark,butterfl,marathon,paladin,cavalier,manchester,skater,indigo,hornet,buckeyes,01011990,indians,karate,hesoyam,toronto,diamonds,chiefs,buckeye,1qaz2wsx3edc,highland,hotsex,charger,redman,passwor,maiden,drpepper,storm,pornstar,garden,12345678910,pencil,sherlock,timber,thuglife,insane,pizza,jungle,jesus1,aragorn,1a2b3c,hamster,david1,triumph,techno,lollol,pioneer,catdog,321654,fktrctq,morpheus,141627,pascal,shadow1,hobbit,wetpussy,erotic,consumer,blabla,justme,stones,chrissy,spartak,goforit,burger,pitbull,adgjmptw,italia,barcelona,hunting,colors,kissme,virgin,overlord,pebbles,sundance,emerald,doggy,racecar,irina,element,1478963,zipper,alpine,basket,goddess,poison,nipple,sakura,chichi,huskers,13579,pussys,q12345,ultimate,ncc1701e,blackie,nicola,rommel,matthew1,caserta,omega,geronimo,sammy1,trojan,123qwe123,philips,nugget,tarzan,chicks,aleksandr,bassman,trixie,portugal,anakin,dodger,bomber,superfly,madness,q1w2e3r4t5y6,loser,123asd,fatcat,ybrbnf,soldier,warlock,wrinkle1,desire,sexual,babe,seminole,alejandr,951753,11235813,westham,andrei,concrete,access14,weed,letmein2,ladybug,naked,christop,trombone,tintin,bluesky,rhbcnbyf,qazxswedc,onelove,cdtnkfyf,whore,vfvjxrf,titans,stallion,truck,hansolo,blue22,smiles,beagle,panama,kingkong,flatron,inferno,mongoose,connect,poiuyt,snatch,qawsed,juice,blessed,rocker,snakes,turbo,bluemoon,sex4me,finger,jamaica,a1234567,mulder,beetle,fuckyou1,passat,immortal,plastic,123454321,anthony1,whiskey,dietcoke,suck,spunky,magic1,monitor,cactus,exigen,planet,ripper,teen,spyder,apple1,nolimit,hollywoo,sluts,sticky,trunks,1234321,14789632,pickles,sailing,bonehead,ghbdtnbr,delta,charlott,rubber,911911,112358,molly1,yomama,hongkong,jumper,william1,ilovesex,faster,unreal,cumming,memphis,1123581321,nylons,legion,sebastia,shalom,pentium,geheim,werewolf,funtime,ferret,orion,curious,555666,niners,cantona,sprite,philly,pirates,abgrtyu,lollipop,eternity,boeing,super123,sweets,cooldude,tottenha,green1,jackoff,stocking,7895123,moomoo,martini,biscuit,drizzt,colt45,fossil,makaveli,snapper,satan666,maniac,salmon,patriot,verbatim,nasty,shasta,asdzxc,shaved,blackcat,raistlin,qwerty12345,punkrock,cjkywt,01012010,4128,waterloo,crimson,twister,oxford,musicman,seinfeld,biggie,condor,ravens,megadeth,wolfman,cosmos,sharks,banshee,keeper,foxtrot,gn56gn56,skywalke,velvet,black1,sesame,dogs,squirrel,privet,sunrise,wolverine,sucks,legolas,grendel,ghost,cats,carrot,frosty,lvbnhbq,blades,stardust,frog,qazwsxed,121314,coolio,brownie,groovy,twilight,daytona,vanhalen,pikachu,peanuts,licker,hershey,jericho,intrepid,ninja,1234567a,zaq123,lobster,goblin,punisher,strider,shogun,kansas,amadeus,seven7,jason1,neptune,showtime,muscle,oldman,ekaterina,rfrfirf,getsome,showme,111222333,obiwan,skittles,danni,tanker,maestro,tarheel,anubis,hannibal,anal,newlife,gothic,shark,fighter,blue123,blues,123456z,princes,slick,chaos,thunder1,sabine,1q2w3e4r5t6y,python,test1,mirage,devil,clover,tequila,chelsea1,surfing,delete,potato,chubby,panasonic,sandiego,portland,baggins,fusion,sooners,blackdog,buttons,californ,moscow,playtime,mature,1a2b3c4d,dagger,dima,stimpy,asdf123,gangster,warriors,iverson,chargers,byteme,swallow,liquid,lucky7,dingdong,nymets,cracker,mushroom,456852,crusader,bigguy,miami,dkflbvbh,bugger,nimrod,tazman,stranger,newpass,doodle,powder,gotcha,guardian,dublin,slapshot,septembe,147896325,pepsi1,milano,grizzly,woody1,knights,photos,2468,nookie,charly,rammstein,brasil,123321123,scruffy,munchkin,poopie,123098,kittycat,latino,walnut,1701,thegame,viper1,1passwor,kolobok,picasso,robert1,barcelon,bananas,trance,auburn,coltrane,eatshit,goodluck,starcraft,wheels,parrot,postal,blade,wisdom,pink,gorilla,katerina,pass123,andrew1,shaney14,dumbass,osiris,fuck_inside,oakland,discover,ranger1,spanking,lonestar,bingo,meridian,ping,heather1,dookie,stonecol,megaman,192837465,rjntyjr,ledzep,lowrider,25802580,richard1,firefly,griffey,racerx,paradox,ghjcnj,gangsta,zaq1xsw2,tacobell,weezer,sirius,halflife,buffett,shiloh,123698745,vertigo,sergei,aliens,sobaka,keyboard,kangaroo,sinner,soccer1,0.0.000,bonjour,socrates,chucky,hotboy,sprint,0007,sarah1,scarlet,celica,shazam,formula1,sommer,trebor,qwerasdf,jeep,mailcreated5240,bollox,asshole1,fuckface,honda1,rebels,vacation,lexmark,penguins,12369874,ragnarok,formula,258456,tempest,vfhecz,tacoma,qwertz,colombia,flames,rockon,duck,prodigy,wookie,dodgeram,mustangs,123qaz,sithlord,smoker,server,bang,incubus,scoobydo,oblivion,molson,kitkat,titleist,rescue,zxcv1234,carpet,1122,bigballs,tardis,jimbob,xanadu,blueeyes,shaman,mersedes,pooper,pussy69,golfing,hearts,mallard,12312312,kenwood,patrick1,dogg,cowboys1,oracle,123zxc,nuttertools,102938,topper,1122334455,shemale,sleepy,gremlin,yourmom,123987,gateway1,printer,monkeys,peterpan,mikey,kingston,cooler,analsex,jimbo,pa55word,asterix,freckles,birdman,frank1,defiant,aussie,stud,blondes,tatyana,445566,aspirine,mariners,jackal,deadhead,katrin,anime,rootbeer,frogger,polo,scooter1,hallo,noodles,thomas1,parola,shaolin,celine,11112222,plymouth,creampie,justdoit,ohyeah,fatass,assfuck,amazon,1234567q,kisses,magnus,camel,nopass,bosco,987456,6751520,harley1,putter,champs,massive,spidey,lightnin,camelot,letsgo,gizmodo,aezakmi,bones,caliente,12121,goodtime,thankyou,raiders1,brucelee,redalert,aquarius,456654,catherin,smokin,pooh,mypass,astros,roller,porkchop,sapphire,qwert123,kevin1,a1s2d3f4,beckham,atomic,rusty1,vanilla,qazwsxedcrfv,hunter1,kaktus,cxfcnmt,blacky,753159,elvis1,aggies,blackjac,bangkok,scream,123321q,iforgot,power1,kasper,abc12,buster1,slappy,shitty,veritas,chevrole,amber1,01012001,vader,amsterdam,jammer,primus,spectrum,eduard,granny,horny1,sasha1,clancy,usa123,satan,diamond1,hitler,avenger,1221,spankme,123456qwerty,simba,smudge,scrappy,labrador,john316,syracuse,front242,falcons,husker,candyman,commando,gator,pacman,delta1,pancho,krishna,fatman,clitoris,pineappl,lesbians,8j4ye3uz,barkley,vulcan,punkin,boner,celtics,monopoly,flyboy,romashka,hamburg,123456aa,lick,gangbang,223344,area51,spartans,aaa111,tricky,snuggles,drago,homerun,vectra,homer1,hermes,topcat,cuddles,infiniti,1234567890q,cosworth,goose,phoenix1,killer1,ivanov,bossman,qawsedrf,peugeot,exigent,doberman,durango,brandon1,plumber,telefon,horndog,laguna,rbhbkk,dawg,webmaster,breeze,beast,porsche9,beefcake,leopard,redbull,oscar1,topdog,godsmack,theking,pics,omega1,speaker,viktoria,fuckers,bowler,starbuck,gjkbyf,valhalla,anarchy,blacks,herbie,kingpin,starfish,nokia,loveit,achilles,906090,labtec,ncc1701a,fitness,jordan1,brando,arsenal1,bull,kicker,napass,desert,sailboat,bohica,tractor,hidden,muppet,jackson1,jimmy1,terminator,phillies,pa55w0rd,terror,farside,swingers,legacy,frontier,butthole,doughboy,jrcfyf,tuesday,sabbath,daniel1,nebraska,homers,qwertyuio,azamat,fallen,agent007,striker,camels,iguana,looker,pinkfloy,moloko,qwerty123456,dannyboy,luckydog,789654,pistol,whocares,charmed,skiing,select,franky,puppy,daniil,vladik,vette,vfrcbvrf,ihateyou,nevada,moneys,vkontakte,mandingo,puppies,666777,mystic,zidane,kotenok,dilligaf,budman,bunghole,zvezda,123457,triton,golfball,technics,trojans,panda,laptop,rookie,01011991,15426378,aberdeen,gustav,jethro,enterprise,igor,stripper,filter,hurrican,rfnthbyf,lespaul,gizmo1,butch,132435,dthjybrf,1366613,excalibu,963852,nofear,momoney,possum,cutter,oilers,moocow,cupcake,gbpltw,batman1,splash,svetik,super1,soleil,bogdan,melissa1,vipers,babyboy,tdutybq,lancelot,ccbill,keystone,passwort,flamingo,firefox,dogman,vortex,rebel,noodle,raven1,zaphod,killme,pokemon1,coolman,danila,designer,skinny,kamikaze,deadman,gopher,doobie,warhammer,deeznuts,freaks,engage,chevy1,steve1,apollo13,poncho,hammers,azsxdc,dracula,000007,sassy,bitch1,boots,deskjet,12332,macdaddy,mighty,rangers1,manchest,sterlin,casey1,meatball,mailman,sinatra,cthulhu,summer1,bubbas,cartoon,bicycle,eatpussy,truelove,sentinel,tolkien,breast,capone,lickit,summit,123456k,peter1,daisy1,kitty1,123456789z,crazy1,jamesbon,texas1,sexygirl,362436,sonic,billyboy,redhot,microsof,microlab,daddy1,rockets,iloveyo,fernand,gordon24,danie,cutlass,polska,star69,titties,pantyhos,01011985,thekid,aikido,gofish,mayday,1234qwe,coke,anfield,sony,lansing,smut,scotch,sexx,catman,73501505,hustler,saun,dfkthbz,passwor1,jenny1,azsxdcfv,cheers,irish1,gabrie,tinman,orioles,1225,charlton,fortuna,01011970,airbus,rustam,xtreme,bigmoney,zxcasd,retard,grumpy,huskies,boxing,4runner,kelly1,ultima,warlord,fordf150,oranges,rotten,asdfjkl,superstar,denali,sultan,bikini,saratoga,thor,figaro,sixers,wildfire,vladislav,128500,sparta,mayhem,greenbay,chewie,music1,number1,cancun,fabie,mellon,poiuytrewq,cloud9,crunch,bigtime,chicken1,piccolo,bigbird,321654987,billy1,mojo,01011981,maradona,sandro,chester1,bizkit,rjirfrgbde,789123,rightnow,jasmine1,hyperion,treasure,meatloaf,armani,rovers,jarhead,01011986,cruise,coconut,dragoon,utopia,davids,cosmo,rfhbyf,reebok,1066,charli,giorgi,sticks,sayang,pass1234,exodus,anaconda,zaqxsw,illini,woofwoof,emily1,sandy1,packer,poontang,govols,jedi,tomato,beaner,cooter,creamy,lionking,happy123,albatros,poodle,kenworth,dinosaur,greens,goku,happyday,eeyore,tsunami,cabbage,holyshit,turkey50,memorex,chaser,bogart,orgasm,tommy1,volley,whisper,knopka,ericsson,walleye,321123,pepper1,katie1,chickens,tyler1,corrado,twisted,100000,zorro,clemson,zxcasdqwe,tootsie,milana,zenith,fktrcfylhf,shania,frisco,polniypizdec0211,crazybab,junebug,fugazi,rereirf,vfvekz,1001,sausage,vfczyz,koshka,clapton,justin1,anhyeuem,condom,fubar,hardrock,skywalker,tundra,cocks,gringo,150781,canon,vitalik,aspire,stocks,samsung1,applepie,abc12345,arjay,gandalf1,boob,pillow,sparkle,gmoney,rockhard,lucky13,samiam,everest,hellyeah,bigsexy,skorpion,rfrnec,hedgehog,australi,candle,slacker,dicks,voyeur,jazzman,america1,bobby1,br0d3r,wolfie,vfksirf,1qa2ws3ed,13243546,fright,yosemite,temp,karolina,fart,barsik,surf,cheetah,baddog,deniska,starship,bootie,milena,hithere,kume,greatone,dildo,50cent,0.0.0.000,albion,amanda1,midget,lion,maxell,football1,cyclone,freeporn,nikola,bonsai,kenshin,slider,balloon,roadkill,killbill,222333,jerkoff,78945612,dinamo,tekken,rambler,goliath,cinnamon,malaka,backdoor,fiesta,packers1,rastaman,fletch,sojdlg123aljg,stefano,artemis,calico,nyjets,damnit,robotech,duchess,rctybz,hooter,keywest,18436572,hal9000,mechanic,pingpong,operator,presto,sword,rasputin,spank,bristol,faggot,shado,963852741,amsterda,321456,wibble,carrera,alibaba,majestic,ramses,duster,route66,trident,clipper,steeler,wrestlin,divine,kipper,gotohell,kingfish,snake1,passwords,buttman,pompey,viagra,zxcvbnm1,spurs,332211,slutty,lineage2,oleg,macross,pooter,brian1,qwert1,charles1,slave,jokers,yzerman,swimmer,ne1469,nwo4life,solnce,seamus,lolipop,pupsik,moose1,ivanova,secret1,matador,love69,420247,ktyjxrf,subway,cinder,vermont,pussie,chico,florian,magick,guiness,allsop,ghetto,flash1,a123456789,typhoon,dfkthf,depeche,skydive,dammit,seeker,fuckthis,crysis,kcj9wx5n,umbrella,r2d2c3po,123123q,snoopdog,critter,theboss,ding,162534,splinter,kinky,cyclops,jayhawk,456321,caramel,qwer123,underdog,caveman,onlyme,grapes,feather,hotshot,fuckher,renault,george1,sex123,pippen,000001,789987,floppy,cunts,megapass,1000,pornos,usmc,kickass,great1,quattro,135246,wassup,helloo,p0015123,nicole1,chivas,shannon1,bullseye,java,fishes,blackhaw,jamesbond,tunafish,juggalo,dkflbckfd,123789456,dallas1,translator,122333,beanie,alucard,gfhjkm123,supersta,magicman,ashley1,cohiba,xbox360,caligula,12131415,facial,7753191,dfktynbyf,cobra1,cigars,fang,klingon,bob123,safari,looser,10203,deepthroat,malina,200000,tazmania,gonzo,goalie,jacob1,monaco,cruiser,misfit,vh5150,tommyboy,marino13,yousuck,sharky,vfhufhbnf,horizon,absolut,brighton,123456r,death1,kungfu,maxx,forfun,mamapapa,enter1,budweise,banker,getmoney,kostya,qazwsx12,bigbear,vector,fallout,nudist,gunners,royals,chainsaw,scania,trader,blueboy,walrus,eastside,kahuna,qwerty1234,love123,steph,01011989,cypress,champ,undertaker,ybrjkfq,europa,snowboar,sabres,moneyman,chrisbln,minime,nipper,groucho,whitey,viewsonic,penthous,wolf359,fabric,flounder,coolguy,whitesox,passme,smegma,skidoo,thanatos,fucku2,snapple,dalejr,mondeo,thesims,mybaby,panasoni,sinbad,thecat,topher,frodo,sneakers,q123456,z1x2c3,alfa,chicago1,taylor1,ghjcnjnfr,cat123,olivier,cyber,titanium,0420,madison1,jabroni,dang,hambone,intruder,holly1,gargoyle,sadie1,static,poseidon,studly,newcastl,sexxxx,poppy,johannes,danzig,beastie,musica,buckshot,sunnyday,adonis,bluedog,bonkers,2128506,chrono,compute,spawn,01011988,turbo1,smelly,wapbbs,goldstar,ferrari1,778899,quantum,pisces,boomboom,gunnar,1024,test1234,florida1,nike,superman1,multiplelo,custom,motherlode,1qwerty,westwood,usnavy,apple123,daewoo,korn,stereo,sasuke,sunflowe,watcher,dharma,555777,mouse1,assholes,babyblue,123qwerty,marius,walmart,snoop,starfire,tigger1,paintbal,knickers,aaliyah,lokomotiv,theend,winston1,sapper,rover,erotica,scanner,racer,zeus,sexy69,doogie,bayern,joshua1,newbie,scott1,losers,droopy,outkast,martin1,dodge1,wasser,ufkbyf,rjycnfynby,thirteen,12345z,112211,hotred,deejay,hotpussy,192837,jessic,philippe,scout,panther1,cubbies,havefun,magpie,fghtkm,avalanch,newyork1,pudding,leonid,harry1,cbr600,audia4,bimmer,fucku,01011984,idontknow,vfvfgfgf,1357,aleksey,builder,01011987,zerocool,godfather,mylife,donuts,allmine,redfish,777888,sascha,nitram,bounce,333666,smokes,1x2zkg8w,rodman,stunner,zxasqw12,hoosier,hairy,beretta,insert,123456s,rtyuehe,francesc,tights,cheese1,micron,quartz,hockey1,gegcbr,searay,jewels,bogey,paintball,celeron,padres,bing,syncmaster,ziggy,simon1,beaches,prissy,diehard,orange1,mittens,aleksandra,queens,02071986,biggles,thongs,southpark,artur,twinkle,gretzky,rabota,cambiami,monalisa,gollum,chuckles,spike1,gladiator,whisky,spongebob,sexy1,03082006,mazafaka,meathead,4121,ou8122,barefoot,12345678q,cfitymrf,bigass,a1s2d3,kosmos,blessing,titty,clevelan,terrapin,ginger1,johnboy,maggot,clarinet,deeznutz,336699,stumpy,stoney,footbal,traveler,volvo,bucket,snapon,pianoman,hawkeyes,futbol,casanova,tango,goodboy,scuba,honey1,sexyman,warthog,mustard,abc1234,nickel,10203040,meowmeow,1012,boricua,prophet,sauron,12qwas,reefer,andromeda,crystal1,joker1,90210,goofy,loco,lovesex,triangle,whatsup,mellow,bengals,monster1,maste,01011910,lover1,love1,123aaa,sunshin,smeghead,hokies,sting,welder,rambo,cerberus,bunny1,rockford,monke,1q2w3e4r5,goldwing,gabriell,buzzard,crjhgbjy,james007,rainman,groove,tiberius,purdue,nokia6300,hayabusa,shou,jagger,diver,zigzag,poochie,usarmy,phish,redwood,redwing,12345679,salamander,silver1,abcd123,sputnik,boobie,ripple,eternal,12qw34er,thegreat,allstar,slinky,gesperrt,mishka,whiskers,pinhead,overkill,sweet1,rhfcjnrf,montgom240,sersolution,jamie1,starman,proxy,swords,nikolay,bacardi,rasta,badgirl,rebecca1,wildman,penny1,spaceman,1007,10101,logan1,hacked,bulldog1,helmet,windsor,buffy1,runescape,trapper,123451,banane,dbrnjh,ripken,12345qwe,frisky,shun,fester,oasis,lightning,ib6ub9,cicero,kool,pony,thedog,784512,01011992,megatron,illusion,edward1,napster,11223,squash,roadking,woohoo,19411945,hoosiers,01091989,tracker,bagira,midway,leavemealone,br549,14725836,235689,menace,rachel1,feng,laser,stoned,realmadrid,787898,balloons,tinkerbell,5551212,maria1,pobeda,heineken,sonics,moonlight,optimus,comet,orchid,02071982,jaybird,kashmir,12345678a,chuang,chunky,peach,mortgage,rulezzz,saleen,chuckie,zippy,fishing1,gsxr750,doghouse,maxim,reader,shai,buddah,benfica,chou,salomon,meister,eraser,blackbir,bigmike,starter,pissing,angus,deluxe,eagles1,hardcock,135792468,mian,seahawks,godfathe,bookworm,gregor,intel,talisman,blackjack,babyface,hawaiian,dogfood,zhong,01011975,sancho,ludmila,medusa,mortimer,123456654321,roadrunn,just4me,stalin,01011993,handyman,alphabet,pizzas,calgary,clouds,password2,cgfhnfr,f**k,cubswin,gong,lexus,max123,xxx123,digital1,gfhjkm1,7779311,missy1,michae,beautifu,gator1,1005,pacers,buddie,chinook,heckfy,dutchess,sally1,breasts,beowulf,darkman,jenn,tiffany1,zhei,quan,qazwsx1,satana,shang,idontkno,smiths,puddin,nasty1,teddybea,valkyrie,passwd,chao,boxster,killers,yoda,cheater,inuyasha,beast1,wareagle,foryou,dragonball,mermaid,bhbirf,teddy1,dolphin1,misty1,delphi,gromit,sponge,qazzaq,fytxrf,gameover,diao,sergi,beamer,beemer,kittykat,rancid,manowar,adam12,diggler,assword,austin1,wishbone,gonavy,sparky1,fisting,thedude,sinister,1213,venera,novell,salsero,jayden,fuckoff1,linda1,vedder,02021987,1pussy,redline,lust,jktymrf,02011985,dfcbkbq,dragon12,chrome,gamecube,titten,cong,bella1,leng,02081988,eureka,bitchass,147369,banner,lakota,123321a,mustafa,preacher,hotbox,02041986,z1x2c3v4,playstation,01011977,claymore,electra,checkers,zheng,qing,armagedon,02051986,wrestle,svoboda,bulls,nimbus,alenka,madina,newpass6,onetime,aa123456,bartman,02091987,silverad,electron,12345t,devil666,oliver1,skylar,rhtdtlrj,gobucks,johann,12011987,milkman,02101985,camper,thunderb,bigbutt,jammin,davide,cheeks,goaway,lighter,claudi,thumbs,pissoff,ghostrider,cocaine,teng,squall,lotus,hootie,blackout,doitnow,subzero,02031986,marine1,02021988,pothead,123456qw,skate,1369,peng,antoni,neng,miao,bcfields,1492,marika,794613,musashi,tulips,nong,piao,chai,ruan,southpar,02061985,nude,mandarin,654123,ninjas,cannabis,jetski,xerxes,zhuang,kleopatra,dickie,bilbo,pinky,morgan1,1020,1017,dieter,baseball1,tottenham,quest,yfnfkmz,dirtbike,1234567890a,mango,jackson5,ipswich,iamgod,02011987,tdutybz,modena,qiao,slippery,qweasd123,bluefish,samtron,toon,111333,iscool,02091986,petrov,fuzzy,zhou,1357924680,mollydog,deng,02021986,1236987,pheonix,zhun,ghblehjr,othello,starcraf,000111,sanfran,a11111,cameltoe,badman,vasilisa,jiang,1qaz2ws,luan,sveta,12qw12,akira,chuai,369963,cheech,beatle,pickup,paloma,01011983,caravan,elizaveta,gawker,banzai,pussey,mullet,seng,bingo1,bearcat,flexible,farscape,borussia,zhuai,templar,guitar1,toolman,yfcntymrf,chloe1,xiang,slave1,guai,nuggets,02081984,mantis,slim,scorpio1,fyutkbyf,thedoors,02081987,02061986,123qq123,zappa,fergie,7ugd5hip2j,huai,asdfzxcv,sunflower,pussyman,deadpool,bigtit,01011982,love12,lassie,skyler,gatorade,carpedie,jockey,mancity,spectre,02021984,cameron1,artemka,reng,02031984,iomega,jing,moritz,spice,rhino,spinner,heater,zhai,hover,talon,grease,qiong,corleone,ltybcrf,tian,cowboy1,hippie,chimera,ting,alex123,02021985,mickey1,corsair,sonoma,aaron1,xxxpass,bacchus,webmaste,chuo,xyz123,chrysler,spurs1,artem,shei,cosmic,01020304,deutsch,gabriel1,123455,oceans,987456321,binladen,latinas,a12345678,speedo,buttercu,02081989,21031988,merlot,millwall,ceng,kotaku,jiong,dragonba,2580,stonecold,snuffy,01011999,02011986,hellos,blaze,maggie1,slapper,istanbul,bonjovi,babylove,mazda,bullfrog,phoeni,meng,porsche1,nomore,02061989,bobdylan,capslock,orion1,zaraza,teddybear,ntktajy,myname,rong,wraith,mets,niao,02041984,smokie,chevrolet,dialog,gfhjkmgfhjkm,dotcom,vadim,monarch,athlon,mikey1,hamish,pian,liang,coolness,chui,thoma,ramones,ciccio,chippy,eddie1,house1,ning,marker,cougars,jackpot,barbados,reds,pdtplf,knockers,cobalt,amateurs,dipshit,napoli,kilroy,pulsar,jayhawks,daemon,alexey,weng,shuang,9293709b13,shiner,eldorado,soulmate,mclaren,golfer1,andromed,duan,50spanks,sexyboy,dogshit,02021983,shuo,kakashka,syzygy,111111a,yeahbaby,qiang,netscape,fulham,120676,gooner,zhui,rainbow6,laurent,dog123,halifax,freeway,carlitos,147963,eastwood,microphone,monkey12,1123,persik,coldbeer,geng,nuan,danny1,fgtkmcby,entropy,gadget,just4fun,sophi,baggio,carlito,1234567891,02021989,02041983,specialk,piramida,suan,bigblue,salasana,hopeful,mephisto,bailey1,hack,annie1,generic,violetta,spencer1,arcadia,02051983,hondas,9562876,trainer,jones1,smashing,liao,159632,iceberg,rebel1,snooker,temp123,zang,matteo,fastball,q2w3e4r5,bamboo,fuckyo,shutup,astro,buddyboy,nikitos,redbird,maxxxx,shitface,02031987,kuai,kissmyass,sahara,radiohea,1234asdf,wildcard,maxwell1,patric,plasma,heynow,bruno1,shao,bigfish,misfits,sassy1,sheng,02011988,02081986,testpass,nanook,cygnus,licking,slavik,pringles,xing,1022,ninja1,submit,dundee,tiburon,pinkfloyd,yummy,shuai,guang,chopin,obelix,insomnia,stroker,1a2s3d4f,1223,playboy1,lazarus,jorda,spider1,homerj,sleeper,02041982,darklord,cang,02041988,02041987,tripod,magician,jelly,telephon,15975,vsjasnel12,pasword,iverson3,pavlov,homeboy,gamecock,amigo,brodie,budapest,yjdsqgfhjkm,reckless,02011980,pang,tiger123,2469,mason1,orient,01011979,zong,cdtnbr,maksimka,1011,bushido,taxman,giorgio,sphinx,kazantip,02101984,concorde,verizon,lovebug,georg,sam123,seadoo,qazwsxedc123,jiao,jezebel,pharmacy,abnormal,jellybea,maxime,puffy,islander,bunnies,jiggaman,drakon,010180,pluto,zhjckfd,12365,classics,crusher,mordor,hooligan,strawberry,02081985,scrabble,hawaii50,1224,wg8e3wjf,cthtuf,premium,arrow,123456qwe,mazda626,ramrod,tootie,rhjrjlbk,ghost1,1211,bounty,niang,02071984,goat,killer12,sweetnes,porno1,masamune,426hemi,corolla,mariposa,hjccbz,doomsday,bummer,blue12,zhao,bird33,excalibur,samsun,kirsty,buttfuck,kfhbcf,zhuo,marcello,ozzy,02021982,dynamite,655321,master12,123465,lollypop,stepan,1qa2ws,spiker,goirish,callum,michael2,moonbeam,attila,henry1,lindros,andrea1,sporty,lantern,12365478,nextel,violin,volcom,998877,water1,imation,inspiron,dynamo,citadel,placebo,clowns,tiao,02061988,tripper,dabears,haggis,merlin1,02031985,anthrax,amerika,iloveme,vsegda,burrito,bombers,snowboard,forsaken,katarina,a1a2a3,woofer,tigger2,fullmoon,tiger2,spock,hannah1,snoopy1,sexxxy,sausages,stanislav,cobain,robotics,exotic,green123,mobydick,senators,pumpkins,fergus,asddsa,147741,258852,windsurf,reddevil,vfitymrf,nevermind,nang,woodland,4417,mick,shui,q1q2q3,wingman,69696,superb,zuan,ganesh,pecker,zephyr,anastasiya,icu812,larry1,02081982,broker,zalupa,mihail,vfibyf,dogger,7007,paddle,varvara,schalke,1z2x3c,presiden,yankees2,tuning,poopy,02051982,concord,vanguard,stiffy,rjhjktdf,felix1,wrench,firewall,boxer,bubba69,popper,02011984,temppass,gobears,cuan,tipper,fuckme1,kamila,thong,puss,bigcat,drummer1,02031982,sowhat,digimon,tigers1,rang,jingle,bian,uranus,soprano,mandy1,dusty1,fandango,aloha,pumpkin1,postman,02061980,dogcat,bombay,pussy123,onetwo,highheel,pippo,julie1,laura1,pepito,beng,smokey1,stylus,stratus,reload,duckie,karen1,jimbo1,225588,369258,krusty,snappy,asdf12,electro,111qqq,kuang,fishin,clit,abstr,christma,qqqqq1,1234560,carnage,guyver,boxers,kittens,zeng,1000000,qwerty11,toaster,cramps,yugioh,02061987,icehouse,zxcvbnm123,pineapple,namaste,harrypotter,mygirl,falcon1,earnhard,fender1,spikes,nutmeg,01081989,dogboy,02091983,369852,softail,mypassword,prowler,bigboss,1112,harvest,heng,jubilee,killjoy,basset,keng,zaqxswcde,redsox1,biao,titan,misfit99,robot,wifey,kidrock,02101987,gameboy,enrico,1z2x3c4v,broncos1,arrows,havana,banger,cookie1,chriss,123qw,platypus,cindy1,lumber,pinball,foxy,london1,1023,05051987,02041985,password12,superma,longbow,radiohead,nigga,12051988,spongebo,qwert12345,abrakadabra,dodgers1,02101989,chillin,niceguy,pistons,hookup,santafe,bigben,jets,1013,vikings1,mankind,viktoriya,beardog,hammer1,02071980,reddwarf,magelan,longjohn,jennife,gilles,carmex2,02071987,stasik,bumper,doofus,slamdunk,pixies,garion,steffi,alessandro,beerman,niceass,warrior1,honolulu,134679852,visa,johndeer,mother1,windmill,boozer,oatmeal,aptiva,busty,delight,tasty,slick1,bergkamp,badgers,guitars,puffin,02091981,nikki1,irishman,miller1,zildjian,123000,airwolf,magnet,anai,install,02041981,02061983,astra,romans,megan1,mudvayne,freebird,muscles,dogbert,02091980,02091984,snowflak,01011900,mang,joseph1,nygiants,playstat,junior1,vjcrdf,qwer12,webhompas,giraffe,pelican,jefferso,comanche,bruiser,monkeybo,kjkszpj,123456l,micro,albany,02051987,angel123,epsilon,aladin,death666,hounddog,josephin,altima,chilly,02071988,78945,ultra,02041979,gasman,thisisit,pavel,idunno,kimmie,05051985,paulie,ballin,medion,moondog,manolo,pallmall,climber,fishbone,genesis1,153624,toffee,tbone,clippers,krypton,jerry1,picturs,compass,111111q,02051988,1121,02081977,sairam,getout,333777,cobras,22041987,bigblock,severin,booster,norwich,whiteout,ctrhtn,123456m,02061984,hewlett,shocker,fuckinside,02031981,chase1,white1,versace,123456789s,basebal,iloveyou2,bluebell,08031986,anthon,stubby,foreve,undertak,werder,saiyan,mama123,medic,chipmunk,mike123,mazdarx7,qwe123qwe,bowwow,kjrjvjnbd,celeb,choochoo,demo,lovelife,02051984,colnago,lithium,02051989,15051981,zzzxxx,welcom,anastasi,fidelio,franc,26061987,roadster,stone55,drifter,hookem,hellboy,1234qw,cbr900rr,sinned,good123654,storm1,gypsy,zebra,zachary1,toejam,buceta,02021979,testing1,redfox,lineage,mike1,highbury,koroleva,nathan1,washingt,02061982,02091985,vintage,redbaron,dalshe,mykids,11051987,macbeth,julien,james123,krasotka,111000,10011986,987123,pipeline,tatarin,sensei,codered,komodo,frogman,7894561230,nascar24,juicy,01031988,redrose,mydick,pigeon,tkbpfdtnf,smirnoff,1215,spam,winner1,flyfish,moskva,81fukkc,21031987,olesya,starligh,summer99,13041988,fishhead,freesex,super12,06061986,azazel,scoobydoo,02021981,cabron,yogibear,sheba1,konstantin,tranny,chilli,terminat,ghbywtccf,slowhand,soccer12,cricket1,fuckhead,1002,seagull,achtung,blam,bigbob,bdsm,nostromo,survivor,cnfybckfd,lemonade,boomer1,rainbow1,rober,irinka,cocksuck,peaches1,itsme,sugar1,zodiac,upyours,dinara,135791,sunny1,chiara,johnson1,02041989,solitude,habibi,sushi,markiz,smoke1,rockies,catwoman,johnny1,qwerty7,bearcats,username,01011978,wanderer,ohshit,02101986,sigma,stephen1,paradigm,02011989,flanker,sanity,jsbach,spotty,bologna,fantasia,chevys,borabora,cocker,74108520,123ewq,12021988,01061990,gtnhjdbx,02071981,01011960,sundevil,3000gt,mustang6,gagging,maggi,armstron,yfnfkb,13041987,revolver,02021976,trouble1,madcat,jeremy1,jackass1,volkswag,30051985,corndog,pool6123,marines1,03041991,pizza1,piggy,sissy,02031979,sunfire,angelus,undead,24061986,14061991,wildbill,shinobi,45m2do5bs,123qwer,21011989,cleopatr,lasvega,hornets,amorcit,11081989,coventry,nirvana1,destin,sidekick,20061988,02081983,gbhfvblf,sneaky,bmw325,22021989,nfytxrf,sekret,kalina,zanzibar,hotone,qazws,wasabi,heidi1,highlander,blues1,hitachi,paolo,23041987,slayer1,simba1,02011981,tinkerbe,kieran,01121986,172839,boiler,1125,bluesman,waffle,asdfgh01,threesom,conan,1102,reflex,18011987,nautilus,everlast,fatty,vader1,01071986,cyborg,ghbdtn123,birddog,rubble,02071983,suckers,02021973,skyhawk,12qw12qw,dakota1,joebob,nokia6233,woodie,longdong,lamer,troll,ghjcnjgfhjkm,420000,boating,nitro,armada,messiah,1031,penguin1,02091989,americ,02071989,redeye,asdqwe123,07071987,monty1,goten,spikey,sonata,635241,tokiohotel,sonyericsson,citroen,compaq1,1812,umpire,belmont,jonny,pantera1,nudes,palmtree,14111986,fenway,bighead,razor,gryphon,andyod22,aaaaa1,taco,10031988,enterme,malachi,dogface,reptile,01041985,dindom,handball,marseille,candy1,19101987,torino,tigge,matthias,viewsoni,13031987,stinker,evangelion,24011985,123456123,rampage,sandrine,02081980,thecrow,astral,28041987,sprinter,private1,seabee,shibby,02101988,25081988,fearless,junkie,01091987,aramis,antelope,draven,fuck1,mazda6,eggman,02021990,barselona,buddy123,19061987,fyfnjkbq,nancy1,12121990,10071987,sluggo,kille,hotties,irishka,zxcasdqwe123,shamus,fairlane,honeybee,soccer10,13061986,fantomas,17051988,10051987,20111986,gladiato,karachi,gambler,gordo,01011995,biatch,matthe,25800852,papito,excite,buffalo1,bobdole,cheshire,player1,28021992,thewho,10101986,pinky1,mentor,tomahawk,brown1,03041986,bismillah,bigpoppa,ijrjkfl,01121988,runaway,08121986,skibum,studman,helper,squeak,holycow,manfred,harlem,glock,gideon,987321,14021985,yellow1,wizard1,margarit,success1,medved,sf49ers,lambda,pasadena,johngalt,quasar,1776,02031980,coldplay,amand,playa,bigpimp,04041991,capricorn,elefant,sweetness,bruce1,luca,dominik,10011990,biker,09051945,datsun,elcamino,trinitro,malice,audi,voyager1,02101983,joe123,carpente,spartan1,mario1,glamour,diaper,12121985,22011988,winter1,asimov,callisto,nikolai,pebble,02101981,vendetta,david123,boytoy,11061985,02031989,iloveyou1,stupid1,cayman,casper1,zippo,yamahar1,wildwood,foxylady,calibra,02041980,27061988,dungeon,leedsutd,30041986,11051990,bestbuy,antares,dominion,24680,01061986,skillet,enforcer,derparol,01041988,196969,29071983,f00tball,purple1,mingus,25031987,21031990,remingto,giggles,klaste,3x7pxr,01011994,coolcat,29051989,megane,20031987,02051980,04041988,synergy,0000007,macman,iforget,adgjmp,vjqgfhjkm,28011987,rfvfcenhf,16051989,25121987,16051987,rogue,mamamia,08051990,20091991,1210,carnival,bolitas,paris1,dmitriy,dimas,05051989,papillon,knuckles,29011985,hola,tophat,28021990,100500,cutiepie,devo,415263,ducks,ghjuhfvvf,asdqwe,22021986,freefall,parol,02011983,zarina,buste,vitamin,warez,bigones,17061988,baritone,jamess,twiggy,mischief,bitchy,hetfield,1003,dontknow,grinch,sasha_007,18061990,12031985,12031987,calimero,224466,letmei,15011987,acmilan,alexandre,02031977,08081988,whiteboy,21051991,barney1,02071978,money123,18091985,bigdawg,02031988,cygnusx1,zoloto,31011987,firefigh,blowfish,screamer,lfybbk,20051988,chelse,11121986,01031989,harddick,sexylady,30031988,02041974,auditt,pizdec,kojak,kfgjxrf,20091988,123456ru,wp2003wp,1204,15051990,slugger,kordell1,03031986,swinging,01011974,02071979,rockie,dimples,1234123,1dragon,trucking,rusty2,roger1,marijuana,kerouac,02051978,08031985,paco,thecure,keepout,kernel,noname123,13121985,francisc,bozo,02011982,22071986,02101979,obsidian,12345qw,spud,tabasco,02051985,jaguars,dfktynby,kokomo,popova,notused,sevens,4200,magneto,02051976,roswell,15101986,21101986,lakeside,bigbang,aspen,little1,14021986,loki,suckmydick,strawber,carlos1,nokian73,dirty1,joshu,25091987,16121987,02041975,advent,17011987,slimshady,whistler,10101990,stryker,22031984,15021985,01031985,blueball,26031988,ksusha,bahamut,robocop,w_pass,chris123,impreza,prozac,bookie,bricks,13021990,alice1,cassandr,11111q,john123,4ever,korova,02051973,142857,25041988,paramedi,eclipse1,salope,07091990,1124,darkangel,23021986,999666,nomad,02051981,smackdow,01021990,yoyoma,argentin,moonligh,57chevy,bootys,hardone,capricor,galant,spanker,dkflbr,24111989,magpies,krolik,21051988,cevthrb,cheddar,22041988,bigbooty,scuba1,qwedsa,duffman,bukkake,acura,johncena,sexxy,p@ssw0rd,258369,cherries,12345s,asgard,leopold,fuck123,mopar,lalakers,dogpound,matrix1,crusty,spanner,kestrel,fenris,universa,peachy,assasin,lemmein,eggplant,hejsan,canucks,wendy1,doggy1,aikman,tupac,turnip,godlike,fussball,golden1,19283746,april1,django,petrova,captain1,vincent1,ratman,taekwondo,chocha,serpent,perfect1,capetown,vampir,amore,gymnast,timeout,nbvjatq,blue32,ksenia,k.lvbkf,nazgul,budweiser,clutch,mariya,sylveste,02051972,beaker,cartman1,q11111,sexxx,forever1,loser1,marseill,magellan,vehpbr,sexgod,jktxrf,hallo123,132456,liverpool1,southpaw,seneca,camden,357159,camero,tenchi,johndoe,145236,roofer,741963,vlad,02041978,fktyrf,zxcv123,wingnut,wolfpac,notebook,pufunga7782,brandy1,biteme1,goodgirl,redhat,02031978,challeng,millenium,hoops,maveric,noname,angus1,gaell,onion,olympus,sabrina1,ricard,sixpack,gratis,gagged,camaross,hotgirls,flasher,02051977,bubba123,goldfing,moonshin,gerrard,volkov,sonyfuck,mandrake,258963,tracer,lakers1,asians,susan1,money12,helmut,boater,diablo2,1234zxcv,dogwood,bubbles1,happy2,randy1,aries,beach1,marcius2,navigator,goodie,hellokitty,fkbyjxrf,earthlink,lookout,jumbo,opendoor,stanley1,marie1,12345m,07071977,ashle,wormix,murzik,02081976,lakewood,bluejays,loveya,commande,gateway2,peppe,01011976,7896321,goth,oreo,slammer,rasmus,faith1,knight1,stone1,redskin,ironmaiden,gotmilk,destiny1,dejavu,1master,midnite,timosha,espresso,delfin,toriamos,oberon,ceasar,markie,1a2s3d,ghhh47hj7649,vjkjrj,daddyo,dougie,disco,auggie,lekker,therock1,ou8123,start1,noway,p4ssw0rd,shadow12,333444,saigon,2fast4u,capecod,23skidoo,qazxcv,beater,bremen,aaasss,roadrunner,peace1,12345qwer,02071975,platon,bordeaux,vbkfirf,135798642,test12,supernov,beatles1,qwert40,optimist,vanessa1,prince1,ilovegod,nightwish,natasha1,alchemy,bimbo,blue99,patches1,gsxr1000,richar,hattrick,hott,solaris,proton,nevets,enternow,beavis1,amigos,159357a,ambers,lenochka,147896,suckdick,shag,intercourse,blue1234,spiral,02061977,tosser,ilove,02031975,cowgirl,canuck,q2w3e4,munch,spoons,waterboy,123567,evgeniy,savior,zasada,redcar,mamacita,terefon,globus,doggies,htubcnhfwbz,1008,cuervo,suslik,azertyui,limewire,houston1,stratfor,steaua,coors,tennis1,12345qwerty,stigmata,derf,klondike,patrici,marijuan,hardball,odyssey,nineinch,boston1,pass1,beezer,sandr,charon,power123,a1234,vauxhall,875421,awesome1,reggae,boulder,funstuff,iriska,krokodil,rfntymrf,sterva,champ1,bball,peeper,m123456,toolbox,cabernet,sheepdog,magic32,pigpen,02041977,holein1,lhfrjy,banan,dabomb,natalie1,jennaj,montana1,joecool,funky,steven1,ringo,junio,sammy123,qqqwww,baltimor,footjob,geezer,357951,mash4077,cashmone,pancake,monic,grandam,bongo,yessir,gocubs,nastia,vancouve,barley,dragon69,watford,ilikepie,02071976,laddie,123456789m,hairball,toonarmy,pimpdadd,cvthnm,hunte,davinci,lback,sophie1,firenze,q1234567,admin1,bonanza,elway7,daman,strap,azert,wxcvbn,afrika,theforce,123456t,idefix,wolfen,houdini,scheisse,default,beech,maserati,02061976,sigmachi,dylan1,bigdicks,eskimo,mizzou,02101976,riccardo,egghead,111777,kronos,ghbrjk,chaos1,jomama,rfhnjirf,rodeo,dolemite,cafc91,nittany,pathfind,mikael,password9,vqsablpzla,purpl,gabber,modelsne,myxworld,hellsing,punker,rocknrol,fishon,fuck69,02041976,lolol,twinkie,tripleh,cirrus,redbone,killer123,biggun,allegro,gthcbr,smith1,wanking,bootsy,barry1,mohawk,koolaid,5329,futurama,samoht,klizma,996633,lobo,honeys,peanut1,556677,zxasqw,joemama,javelin,samm,223322,sandra1,flicks,montag,nataly,3006,tasha1,1235789,dogbone,poker1,p0o9i8u7,goodday,smoothie,toocool,max333,metroid,archange,vagabond,billabon,22061941,tyson1,02031973,darkange,skateboard,evolutio,morrowind,wizards,frodo1,rockin,cumslut,plastics,zaqwsxcde,5201314,doit,outback,bumble,dominiqu,persona,nevermore,alinka,02021971,forgetit,sexo,all4one,c2h5oh,petunia,sheeba,kenny1,elisabet,aolsucks,woodstoc,pumper,02011975,fabio,granada,scrapper,123459,minimoni,q123456789,breaker,1004,02091976,ncc74656,slimshad,friendster,austin31,wiseguy,donner,dilbert1,132465,blackbird,buffet,jellybean,barfly,behappy,01011971,carebear,fireblad,02051975,boxcar,cheeky,kiteboy,hello12,panda1,elvisp,opennow,doktor,alex12,02101977,pornking,flamengo,02091975,snowbird,lonesome,robin1,11111a,weed420,baracuda,bleach,12345abc,nokia1,metall,singapor,mariner,herewego,dingo,tycoon,cubs,blunts,proview,123456789d,kamasutra,lagnaf,vipergts,navyseal,starwar,masterbate,wildone,peterbil,cucumber,butkus,123qwert,climax,deniro,gotribe,cement,scooby1,summer69,harrier,shodan,newyear,02091977,starwars1,romeo1,sedona,harald,doubled,sasha123,bigguns,salami,awnyce,kiwi,homemade,pimping,azzer,bradley1,warhamme,linkin,dudeman,qwe321,pinnacle,maxdog,flipflop,lfitymrf,fucker1,acidburn,esquire,sperma,fellatio,jeepster,thedon,sexybitch,pookey,spliff,widget,vfntvfnbrf,trinity1,mutant,samuel1,meliss,gohome,1q2q3q,mercede,comein,grin,cartoons,paragon,henrik,rainyday,pacino,senna,bigdog1,alleycat,12345qaz,narnia,mustang2,tanya1,gianni,apollo11,wetter,clovis,escalade,rainbows,freddy1,smart1,daisydog,s123456,cocksucker,pushkin,lefty,sambo,fyutkjxtr,hiziad,boyz,whiplash,orchard,newark,adrenalin,1598753,bootsie,chelle,trustme,chewy,golfgti,tuscl,ambrosia,5wr2i7h8,penetration,shonuf,jughead,payday,stickman,gotham,kolokol,johnny5,kolbasa,stang,puppydog,charisma,gators1,mone,jakarta,draco,nightmar,01011973,inlove,laetitia,02091973,tarpon,nautica,meadow,0192837465,luckyone,14881488,chessie,goldeney,tarakan,69camaro,bungle,wordup,interne,fuckme2,515000,dragonfl,sprout,02081974,gerbil,bandit1,02071971,melanie1,phialpha,camber,kathy1,adriano,gonzo1,10293847,bigjohn,bismarck,7777777a,scamper,12348765,rabbits,222777,bynthytn,dima123,alexander1,mallorca,dragster,favorite6,beethove,burner,cooper1,fosters,hello2,normandy,777999,sebring,1michael,lauren1,blake1,killa,02091971,nounours,trumpet1,thumper1,playball,xantia,rugby1,rocknroll,guillaum,angela1,strelok,prosper,buttercup,masterp,dbnfkbr,cambridg,venom,treefrog,lumina,1234566,supra,sexybabe,freee,shen,frogs,driller,pavement,grace1,dicky,checker,smackdown,pandas,cannibal,asdffdsa,blue42,zyjxrf,nthvbyfnjh,melrose,neon,jabber,gamma,369258147,aprilia,atticus,benessere,catcher,skipper1,azertyuiop,sixty9,thierry,treetop,jello,melons,123456789qwe,tantra,buzzer,catnip,bouncer,computer1,sexyone,ananas,young1,olenka,sexman,mooses,kittys,sephiroth,contra,hallowee,skylark,sparkles,777333,1qazxsw23edc,lucas1,q1w2e3r,gofast,hannes,amethyst,ploppy,flower2,hotass,amatory,volleyba,dixie1,bettyboo,ticklish,02061974,frenchy,phish1,murphy1,trustno,02061972,leinad,mynameis,spooge,jupiter1,hyundai,frosch,junkmail,abacab,marbles,32167,casio,sunshine1,wayne1,longhair,caster,snicker,02101973,gannibal,skinhead,hansol,gatsby,segblue2,montecar,plato,gumby,kaboom,matty,bosco1,888999,jazzy,panter,jesus123,charlie2,giulia,candyass,sex69,travis1,farmboy,special1,02041973,letsdoit,password01,allison1,abcdefg1,notredam,ilikeit,789654123,liberty1,rugger,uptown,alcatraz,123456w,airman,007bond,navajo,kenobi,terrier,stayout,grisha,frankie1,fluff,1qazzaq1,1234561,virginie,1234568,tango1,werdna,octopus,fitter,dfcbkbcf,blacklab,115599,montrose,allen1,supernova,frederik,ilovepussy,justice1,radeon,playboy2,blubber,sliver,swoosh,motocros,lockdown,pearls,thebear,istheman,pinetree,biit,1234rewq,rustydog,tampabay,titts,babycake,jehovah,vampire1,streaming,collie,camil,fidelity,calvin1,stitch,gatit,restart,puppy1,budgie,grunt,capitals,hiking,dreamcas,zorro1,321678,riffraff,makaka,playmate,napalm,rollin,amstel,zxcvb123,samanth,rumble,fuckme69,jimmys,951357,pizzaman,1234567899,tralala,delpiero,alexi,yamato,itisme,1million,vfndtq,kahlua,londo,wonderboy,carrots,tazz,ratboy,rfgecnf,02081973,nico,fujitsu,tujhrf,sergbest,blobby,02051970,sonic1,1357911,smirnov,video1,panhead,bucky,02031974,44332211,duffer,cashmoney,left4dead,bagpuss,salman,01011972,titfuck,66613666,england1,malish,dresden,lemans,darina,zapper,123456as,123456qqq,met2002,02041972,redstar,blue23,1234509876,pajero,booyah,please1,tetsuo,semper,finder,hanuman,sunlight,123456n,02061971,treble,cupoi,password99,dimitri,3ip76k2,popcorn1,lol12345,stellar,nympho,shark1,keith1,saskia,bigtruck,revoluti,rambo1,asd222,feelgood,phat,gogators,bismark,cola,puck,furball,burnout,slonik,bowtie,mommy1,icecube,fabienn,mouser,papamama,rolex,giants1,blue11,trooper1,momdad,iklo,morten,rhubarb,gareth,123456d,blitz,canada1,r2d2,brest,tigercat,usmarine,lilbit,benny1,azrael,lebowski,12345r,madagaskar,begemot,loverman,dragonballz,italiano,mazda3,naughty1,onions,diver1,cyrano,capcom,asdfg123,forlife,fisherman,weare138,requiem,mufasa,alpha123,piercing,hellas,abracadabra,duckman,caracas,macintos,02011971,jordan2,crescent,fduecn,hogtied,eatmenow,ramjet,18121812,kicksass,whatthe,discus,rfhfvtkmrf,rufus1,sqdwfe,mantle,vegitto,trek,dan123,paladin1,rudeboy,liliya,lunchbox,riversid,acapulco,libero,dnsadm,maison,toomuch,boobear,hemlock,sextoy,pugsley,misiek,athome,migue,altoids,marcin,123450,rhfcfdbwf,jeter2,rhinos,rjhjkm,mercury1,ronaldinho,shampoo,makayla,kamilla,masterbating,tennesse,holger,john1,matchbox,hores,poptart,parlament,goodyear,asdfgh1,02081970,hardwood,alain,erection,hfytnrb,highlife,implants,benjami,dipper,jeeper,bendover,supersonic,babybear,laserjet,gotenks,bama,natedogg,aol123,pokemo,rabbit1,raduga,sopranos,cashflow,menthol,pharao,hacking,334455,ghjcnbnenrf,lizzy,muffin1,pooky,penis1,flyer,gramma,dipset,becca,ireland1,diana1,donjuan,pong,ziggy1,alterego,simple1,cbr900,logger,111555,claudia1,cantona7,matisse,ljxtymrf,victori,harle,mamas,encore,mangos,iceman1,diamon,alexxx,tiamat,5000,desktop,mafia,smurf,princesa,shojou,blueberr,welkom,maximka,123890,123q123,tammy1,bobmarley,clips,demon666,ismail,termite,laser1,missie,altair,donna1,bauhaus,trinitron,mogwai,flyers88,juniper,nokia5800,boroda,jingles,qwerasdfzxcv,shakur,777666,legos,mallrats,1qazxsw,goldeneye,tamerlan,julia1,backbone,spleen,49ers,shady,darkone,medic1,justi,giggle,cloudy,aisan,douche,parkour,bluejay,huskers1,redwine,1qw23er4,satchmo,1231234,nineball,stewart1,ballsack,probes,kappa,amiga,flipper1,dortmund,963258,trigun,1237895,homepage,blinky,screwy,gizzmo,belkin,chemist,coolhand,chachi,braves1,thebest,greedisgood,pro100,banana1,101091m,123456g,wonderfu,barefeet,8inches,1111qqqq,kcchiefs,qweasdzxc123,metal1,jennifer1,xian,asdasd123,pollux,cheerleaers,fruity,mustang5,turbos,shopper,photon,espana,hillbill,oyster,macaroni,gigabyte,jesper,motown,tuxedo,buster12,triplex,cyclones,estrell,mortis,holla,456987,fiddle,sapphic,jurassic,thebeast,ghjcnjq,baura,spock1,metallica1,karaoke,nemrac58,love1234,02031970,flvbybcnhfnjh,frisbee,diva,ajax,feathers,flower1,soccer11,allday,mierda,pearl1,amature,marauder,333555,redheads,womans,egorka,godbless,159263,nimitz,aaaa1111,sashka,madcow,socce,greywolf,baboon,pimpdaddy,123456789r,reloaded,lancia,rfhfylfi,dicker,placid,grimace,22446688,olemiss,whores,culinary,wannabe,maxi,1234567aa,amelie,riley1,trample,phantom1,baberuth,bramble,asdfqwer,vides,4you,abc123456,taichi,aztnm,smother,outsider,hakr,blackhawk,bigblack,girlie,spook,valeriya,gianluca,freedo,1q2q3q4q,handbag,lavalamp,cumm,pertinant,whatup,nokia123,redlight,patrik,111aaa,poppy1,dfytxrf,aviator,sweeps,kristin1,cypher,elway,yinyang,access1,poophead,tucson,noles1,monterey,waterfal,dank,dougal,918273,suede,minnesot,legman,bukowski,ganja,mammoth,riverrat,asswipe,daredevi,lian,arizona1,kamikadze,alex1234,smile1,angel2,55bgates,bellagio,0001,wanrltw,stiletto,lipton,arsena,biohazard,bbking,chappy,tetris,as123456,darthvad,lilwayne,nopassword,7412369,123456789987654321,natchez,glitter,14785236,mytime,rubicon,moto,pyon,wazzup,tbird,shane1,nightowl,getoff,beckham7,trueblue,hotgirl,nevermin,deathnote,13131,taffy,bigal,copenhag,apricot,gallaries,dtkjcbgtl,totoro,onlyone,civicsi,jesse1,baby123,sierra1,festus,abacus,sickboy,fishtank,fungus,charle,golfpro,teensex,mario66,seaside,aleksei,rosewood,blackberry,1020304050,bedlam,schumi,deerhunt,contour,darkelf,surveyor,deltas,pitchers,741258963,dipstick,funny1,lizzard,112233445566,jupiter2,softtail,titman,greenman,z1x2c3v4b5,smartass,12345677,notnow,myworld,nascar1,chewbacc,nosferatu,downhill,dallas22,kuan,blazers,whales,soldat,craving,powerman,yfcntyf,hotrats,cfvceyu,qweasdzx,princess1,feline,qqwwee,chitown,1234qaz,mastermind,114477,dingbat,care1839,standby,kismet,atreides,dogmeat,icarus,monkeyboy,alex1,mouses,nicetits,sealteam,chopper1,crispy,winter99,rrpass1,myporn,myspace1,corazo,topolino,ass123,lawman,muffy,orgy,1love,passord,hooyah,ekmzyf,pretzel,amonra,nestle,01011950,jimbeam,happyman,z12345,stonewal,helios,manunited,harcore,dick1,gaymen,2hot4u,light1,qwerty13,kakashi,pjkjnj,alcatel,taylo,allah,buddydog,ltkmaby,mongo,blonds,start123,audia6,123456v,civilwar,bellaco,turtles,mustan,deadspin,aaa123,fynjirf,lucky123,tortoise,amor,summe,waterski,zulu,drag0n,dtxyjcnm,gizmos,strife,interacial,pusyy,goose1,bear1,equinox,matri,jaguar1,tobydog,sammys,nachos,traktor,bryan1,morgoth,444555,dasani,miami1,mashka,xxxxxx1,ownage,nightwin,hotlips,passmast,cool123,skolko,eldiablo,manu,1357908642,screwyou,badabing,foreplay,hydro,kubrick,seductive,demon1,comeon,galileo,aladdin,metoo,happines,902100,mizuno,caddy,bizzare,girls1,redone,ohmygod,sable,bonovox,girlies,hamper,opus,gizmodo1,aaabbb,pizzahut,999888,rocky2,anton1,kikimora,peavey,ocelot,a1a2a3a4,2wsx3edc,jackie1,solace,sprocket,galary,chuck1,volvo1,shurik,poop123,locutus,virago,wdtnjxtr,tequier,bisexual,doodles,makeitso,fishy,789632145,nothing1,fishcake,sentry,libertad,oaktree,fivestar,adidas1,vegitta,mississi,spiffy,carme,neutron,vantage,agassi,boners,123456789v,hilltop,taipan,barrage,kenneth1,fister,martian,willem,lfybkf,bluestar,moonman,ntktdbpjh,paperino,bikers,daffy,benji,quake,dragonfly,suckcock,danilka,lapochka,belinea,calypso,asshol,camero1,abraxas,mike1234,womam,q1q2q3q4q5,youknow,maxpower,pic's,audi80,sonora,raymond1,tickler,tadpole,belair,crazyman,finalfantasy,999000,jonatha,paisley,kissmyas,morgana,monste,mantra,spunk,magic123,jonesy,mark1,alessand,741258,baddest,ghbdtnrfrltkf,zxccxz,tictac,augustin,racers,7grout,foxfire,99762000,openit,nathanie,1z2x3c4v5b,seadog,gangbanged,lovehate,hondacbr,harpoon,mamochka,fisherma,bismilla,locust,wally1,spiderman1,saffron,utjhubq,123456987,20spanks,safeway,pisser,bdfyjd,kristen1,bigdick1,magenta,vfhujif,anfisa,friday13,qaz123wsx,0987654321q,tyrant,guan,meggie,kontol,nurlan,ayanami,rocket1,yaroslav,websol76,mutley,hugoboss,websolutions,elpaso,gagarin,badboys,sephirot,918273645,newuser,qian,edcrfv,booger1,852258,lockout,timoxa94,mazda323,firedog,sokolova,skydiver,jesus777,1234567890z,soulfly,canary,malinka,guillerm,hookers,dogfart,surfer1,osprey,india123,rhjkbr,stoppedby,nokia5530,123456789o,blue1,werter,divers,3000,123456f,alpina,cali,whoknows,godspeed,986532,foreskin,fuzzy1,heyyou,didier,slapnuts,fresno,rosebud1,sandman1,bears1,blade1,honeybun,queen1,baronn,pakista,philipp,9111961,topsecret,sniper1,214365,slipper,letsfuck,pippen33,godawgs,mousey,qw123456,scrotum,loveis,lighthou,bp2002,nancy123,jeffrey1,susieq,buddy2,ralphie,trout1,willi,antonov,sluttey,rehbwf,marty1,darian,losangeles,letme1n,12345d,pusssy,godiva,ender,golfnut,leonidas,a1b2c3d4e5,puffer,general1,wizzard,lehjxrf,racer1,bigbucks,cool12,buddys,zinger,esprit,vbienrf,josep,tickling,froggie,987654321a,895623,daddys,crumbs,gucci,mikkel,opiate,tracy1,christophe,came11,777555,petrovich,humbug,dirtydog,allstate,horatio,wachtwoord,creepers,squirts,rotary,bigd,georgia1,fujifilm,2sweet,dasha,yorkie,slimjim,wiccan,kenzie,system1,skunk,b12345,getit,pommes,daredevil,sugars,bucker,piston,lionheart,1bitch,515051,catfight,recon,icecold,fantom,vodafone,kontakt,boris1,vfcnth,canine,01011961,valleywa,faraon,chickenwing101,qq123456,livewire,livelife,roosters,jeepers,ilya1234,coochie,pavlik,dewalt,dfhdfhf,architec,blackops,1qaz2wsx3edc4rfv,rhfcjnf,wsxedc,teaser,sebora,25252,rhino1,ankara,swifty,decimal,redleg,shanno,nermal,candies,smirnova,dragon01,photo1,ranetki,a1s2d3f4g5,axio,wertzu,maurizio,6uldv8,zxcvasdf,punkass,flowe,graywolf,peddler,3rjs1la7qe,mpegs,seawolf,ladyboy,pianos,piggies,vixen,alexus,orpheus,gdtrfb,z123456,macgyver,hugetits,ralph1,flathead,maurici,mailru,goofball,nissan1,nikon,stopit,odin,big1,smooch,reboot,famil,bullit,anthony7,gerhard,methos,124038,morena,eagle2,jessica2,zebras,getlost,gfynthf,123581321,sarajevo,indon,comets,tatjana,rfgbnjirf,joystick,batman12,123456c,sabre,beerme,victory1,kitties,1475369,badboy1,booboo1,comcast,slava,squid,saxophon,lionhear,qaywsx,bustle,nastena,roadway,loader,hillside,starlight,24681012,niggers,access99,bazooka,molly123,blackice,bandi,cocacol,nfhfrfy,timur,muschi,horse1,quant4307s,squerting,oscars,mygirls,flashman,tangerin,goofy1,p0o9i8,housewifes,newness,monkey69,escorpio,password11,hippo,warcraft3,qazxsw123,qpalzm,ribbit,ghbdtndctv,bogota,star123,258000,lincoln1,bigjim,lacoste,firestorm,legenda,indain,ludacris,milamber,1009,evangeli,letmesee,a111111,hooters1,bigred1,shaker,husky,a4tech,cnfkrth,argyle,rjhjdf,nataha,0o9i8u7y,gibson1,sooners1,glendale,archery,hoochie,stooge,aaaaaa1,scorpions,school1,vegas1,rapier,mike23,bassoon,groupd2013,macaco,baker1,labia,freewill,santiag,silverado,butch1,vflfufcrfh,monica1,rugrat,cornhole,aerosmit,bionicle,gfgfvfvf,daniel12,virgo,fmale,favorite2,detroit1,pokey,shredder,baggies,wednesda,cosmo1,mimosa,sparhawk,firehawk,romario,911turbo,funtimes,fhntvrf,nexus6,159753456,timothy1,bajingan,terry1,frenchie,raiden,1mustang,babemagnet,74123698,nadejda,truffles,rapture,douglas1,lamborghini,motocross,rjcvjc,748596,skeeter1,dante1,angel666,telecom,carsten,pietro,bmw318,astro1,carpediem,samir,orang,helium,scirocco,fuzzball,rushmore,rebelz,hotspur,lacrimosa,chevys10,madonna1,domenico,yfnfirf,jachin,shelby1,bloke,dawgs,dunhill,atlanta1,service1,mikado,devilman,angelit,reznor,euphoria,lesbain,checkmat,browndog,phreak,blaze1,crash1,farida,mutter,luckyme,horsemen,vgirl,jediknig,asdas,cesare,allnight,rockey,starlite,truck1,passfan,close-up,samue,cazzo,wrinkles,homely,eatme1,sexpot,snapshot,dima1995,asthma,thetruth,ducky,blender,priyanka,gaucho,dutchman,sizzle,kakarot,651550,passcode,justinbieber,666333,elodie,sanjay,110442,alex01,lotus1,2300mj,lakshmi,zoomer,quake3,12349876,teapot,12345687,ramada,pennywis,striper,pilot1,chingon,optima,nudity,ethan1,euclid,beeline,loyola,biguns,zaq12345,bravo1,disney1,buffa,assmunch,vivid,6661313,wellingt,aqwzsx,madala11,9874123,sigmar,pictere,tiptop,bettyboop,dinero,tahiti,gregory1,bionic,speed1,fubar1,lexus1,denis1,hawthorn,saxman,suntzu,bernhard,dominika,camaro1,hunter12,balboa,bmw2002,seville,diablo1,vfhbyjxrf,1234abc,carling,lockerroom,punani,darth,baron1,vaness,1password,libido,picher,232425,karamba,futyn007,daydream,11001001,dragon123,friends1,bopper,rocky123,chooch,asslover,shimmer,riddler,openme,tugboat,sexy123,midori,gulnara,christo,swatch,laker,offroad,puddles,hackers,mannheim,manager1,horseman,roman1,dancer1,komputer,pictuers,nokia5130,ejaculation,lioness,123456y,evilone,nastenka,pushok,javie,lilman,3141592,mjolnir,toulouse,pussy2,bigworm,smoke420,fullback,extensa,dreamcast,belize,delboy,willie1,casablanca,csyjxtr,ricky1,bonghit,salvator,basher,pussylover,rosie1,963258741,vivitron,cobra427,meonly,armageddon,myfriend,zardoz,qwedsazxc,kraken,fzappa,starfox,333999,illmatic,capoeira,weenie,ramzes,freedom2,toasty,pupkin,shinigami,fhvfutljy,nocturne,churchil,thumbnils,tailgate,neworder,sexymama,goarmy,cerebus,michelle1,vbifyz,surfsup,earthlin,dabulls,basketbal,aligator,mojojojo,saibaba,welcome2,wifes,wdtnjr,12345w,slasher,papabear,terran,footman,hocke,153759,texans,tom123,sfgiants,billabong,aassdd,monolith,xxx777,l3tm31n,ticktock,newone,hellno,japanees,contortionist,admin123,scout1,alabama1,divx1,rochard,privat,radar1,bigdad,fhctybq,tortuga,citrus,avanti,fantasy1,woodstock,s12345,fireman1,embalmer,woodwork,bonzai,konyor,newstart,jigga,panorama,goats,smithy,rugrats,hotmama,daedalus,nonstop,fruitbat,lisenok,quaker,violator,12345123,my3sons,cajun,fraggle,gayboy,oldfart,vulva,knickerless,orgasms,undertow,binky,litle,kfcnjxrf,masturbation,bunnie,alexis1,planner,transexual,sparty,leeloo,monies,fozzie,stinger1,landrove,anakonda,scoobie,yamaha1,henti,star12,rfhlbyfk,beyonce,catfood,cjytxrf,zealots,strat,fordtruc,archangel,silvi,sativa,boogers,miles1,bigjoe,tulip,petite,greentea,shitter,jonboy,voltron,morticia,evanescence,3edc4rfv,longshot,windows1,serge,aabbcc,starbucks,sinful,drywall,prelude1,www123,camel1,homebrew,marlins,123412,letmeinn,domini,swampy,plokij,fordf350,webcam,michele1,bolivi,27731828,wingzero,qawsedrftg,shinji,sverige,jasper1,piper1,cummer,iiyama,gocats,amour,alfarome,jumanji,mike69,fantasti,1monkey,w00t88,shawn1,lorien,1a2s3d4f5g,koleso,murph,natascha,sunkist,kennwort,emine,grinder,m12345,q1q2q3q4,cheeba,money2,qazwsxedc1,diamante,prosto,pdiddy,stinky1,gabby1,luckys,franci,pornographic,moochie,gfhjdjp,samdog,empire1,comicbookdb,emili,motdepasse,iphone,braveheart,reeses,nebula,sanjose,bubba2,kickflip,arcangel,superbow,porsche911,xyzzy,nigger1,dagobert,devil1,alatam,monkey2,barbara1,12345v,vfpfafrf,alessio,babemagn,aceman,arrakis,kavkaz,987789,jasons,berserk,sublime1,rogue1,myspace,buckwhea,csyekz,pussy4me,vette1,boots1,boingo,arnaud,budlite,redstorm,paramore,becky1,imtheman,chango,marley1,milkyway,666555,giveme,mahalo,lux2000,lucian,paddy,praxis,shimano,bigpenis,creeper,newproject2004,rammstei,j3qq4h7h2v,hfljcnm,lambchop,anthony2,bugman,gfhjkm12,dreamer1,stooges,cybersex,diamant,cowboyup,maximus1,sentra,615243,goethe,manhatta,fastcar,selmer,1213141516,yfnfitymrf,denni,chewey,yankee1,elektra,123456789p,trousers,fishface,topspin,orwell,vorona,sodapop,motherfu,ibilltes,forall,kookie,ronald1,balrog,maximilian,mypasswo,sonny1,zzxxcc,tkfkdg,magoo,mdogg,heeled,gitara,lesbos,marajade,tippy,morozova,enter123,lesbean,pounded,asd456,fialka,scarab,sharpie,spanky1,gstring,sachin,12345asd,princeto,hellohel,ursitesux,billows,1234kekc,kombat,cashew,duracell,kseniya,sevenof9,kostik,arthur1,corvet07,rdfhnbhf,songoku,tiberian,needforspeed,1qwert,dropkick,kevin123,panache,libra,a123456a,kjiflm,vfhnsirf,cntgfy,iamcool,narut,buffer,sk8ordie,urlaub,fireblade,blanked,marishka,gemini1,altec,gorillaz,chief1,revival47,ironman1,space1,ramstein,doorknob,devilmaycry,nemesis1,sosiska,pennstat,monday1,pioner,shevchenko,detectiv,evildead,blessed1,aggie,coffees,tical,scotts,bullwink,marsel,krypto,adrock,rjitxrf,asmodeus,rapunzel,theboys,hotdogs,deepthro,maxpayne,veronic,fyyeirf,otter,cheste,abbey1,thanos,bedrock,bartok,google1,xxxzzz,rodent,montecarlo,hernande,mikayla,123456789l,bravehea,12locked,ltymub,pegasus1,ameteur,saltydog,faisal,milfnew,momsuck,everques,ytngfhjkz,m0nkey,businessbabe,cooki,custard,123456ab,lbvjxrf,outlaws,753357,qwerty78,udacha,insider,chees,fuckmehard,shotokan,katya,seahorse,vtldtlm,turtle1,mike12,beebop,heathe,everton1,darknes,barnie,rbcekz,alisher,toohot,theduke,555222,reddog1,breezy,bulldawg,monkeyman,baylee,losangel,mastermi,apollo1,aurelie,zxcvb12345,cayenne,bastet,wsxzaq,geibcnbr,yello,fucmy69,redwall,ladybird,bitchs,cccccc1,rktjgfnhf,ghjdthrf,quest1,oedipus,linus,impalass,fartman,12345k,fokker,159753a,optiplex,bbbbbb1,realtor,slipkno,santacru,rowdy,jelena,smeller,3984240,ddddd1,sexyme,janet1,3698741,eatme69,cazzone,today1,poobear,ignatius,master123,newpass1,heather2,snoopdogg,blondinka,pass12,honeydew,fuckthat,890098890,lovem,goldrush,gecko,biker1,llama,pendejo,avalanche,fremont,snowman1,gandolf,chowder,1a2b3c4d5e,flyguy,magadan,1fuck,pingvin,nokia5230,ab1234,lothar,lasers,bignuts,renee1,royboy,skynet,12340987,1122334,dragrace,lovely1,22334455,booter,12345612,corvett,123456qq,capital1,videoes,funtik,wyvern,flange,sammydog,hulkster,13245768,not4you,vorlon,omegared,l58jkdjp!,filippo,123mudar,samadams,petrus,chris12,charlie123,123456789123,icetea,sunderla,adrian1,123qweas,kazanova,aslan,monkey123,fktyeirf,goodsex,123ab,lbtest,banaan,bluenose,837519,asd12345,waffenss,whateve,1a2a3a4a,trailers,vfhbirf,bhbcrf,klaatu,turk182,monsoon,beachbum,sunbeam,succes,clyde1,viking1,rawhide,bubblegum,princ,mackenzi,hershey1,222555,dima55,niggaz,manatee,aquila,anechka,pamel,bugsbunn,lovel,sestra,newport1,althor,hornyman,wakeup,zzz111,phishy,cerber,torrent,thething,solnishko,babel,buckeye1,peanu,ethernet,uncencored,baraka,665544,chris2,rb26dett,willy1,choppers,texaco,biggirl,123456b,anna2614,sukebe,caralho,callofduty,rt6ytere,jesus7,angel12,1money,timelord,allblack,pavlova,romanov,tequiero,yitbos,lookup,bulls23,snowflake,dickweed,barks,lever,irisha,firestar,fred1234,ghjnjnbg,danman,gatito,betty1,milhouse,kbctyjr,masterbaiting,delsol,papit,doggys,123698741,bdfyjdf,invictus,bloods,kayla1,yourmama,apple2,angelok,bigboy1,pontiac1,verygood,yeshua,twins2,porn4me,141516,rasta69,james2,bosshog,candys,adventur,stripe,djkjlz,dokken,austin316,skins,hogwarts,vbhevbh,navigato,desperado,xxx666,cneltyn,vasiliy,hazmat,daytek,eightbal,fred1,four20,74227422,fabia,aerosmith,manue,wingchun,boohoo,hombre,sanity72,goatboy,fuckm,partizan,avrora,utahjazz,submarin,pussyeat,heinlein,control1,costaric,smarty,chuan,triplets,snowy,snafu,teacher1,vangogh,vandal,evergree,cochise,qwerty99,pyramid1,saab900,sniffer,qaz741,lebron23,mark123,wolvie,blackbelt,yoshi,feeder,janeway,nutella,fuking,asscock,deepak,poppie,bigshow,housewife,grils,tonto,cynthia1,temptress,irakli,belle1,russell1,manders,frank123,seabass,gforce,songbird,zippy1,naught,brenda1,chewy1,hotshit,topaz,43046721,girfriend,marinka,jakester,thatsme,planeta,falstaff,patrizia,reborn,riptide,cherry1,shuan,nogard,chino,oasis1,qwaszx12,goodlife,davis1,1911a1,harrys,shitfuck,12345678900,russian7,007700,bulls1,porshe,danil,dolphi,river1,sabaka,gobigred,deborah1,volkswagen,miamo,alkaline,muffdive,1letmein,fkbyrf,goodguy,hallo1,nirvan,ozzie,cannonda,cvbhyjdf,marmite,germany1,joeblow,radio1,love11,raindrop,159852,jacko,newday,fathead,elvis123,caspe,citibank,sports1,deuce,boxter,fakepass,golfman,snowdog,birthday4,nonmembe,niklas,parsifal,krasota,theshit,1235813,maganda,nikita1,omicron,cassie1,columbo,buick,sigma1,thistle,bassin,rickster,apteka,sienna,skulls,miamor,coolgirl,gravis,1qazxc,virgini,hunter2,akasha,batma,motorcyc,bambino,tenerife,fordf250,zhuan,iloveporn,markiza,hotbabes,becool,fynjybyf,wapapapa,forme,mamont,pizda,dragonz,sharon1,scrooge,mrbill,pfloyd,leeroy,natedog,ishmael,777111,tecumseh,carajo,nfy.irf,0000000000o,blackcock,fedorov,antigone,feanor,novikova,bobert,peregrin,spartan117,pumkin,rayman,manuals,tooltime,555333,bonethug,marina1,bonnie1,tonyhawk,laracroft,mahalkita,18273645,terriers,gamer,hoser,littlema,molotok,glennwei,lemon1,caboose,tater,12345654321,brians,fritz1,mistral,jigsaw,fuckshit,hornyguy,southside,edthom,antonio1,bobmarle,pitures,ilikesex,crafty,nexus,boarder,fulcrum,astonvil,yanks1,yngwie,account1,zooropa,hotlegs,sammi,gumbo,rover1,perkele,maurolarastefy,lampard,357753,barracud,dmband,abcxyz,pathfinder,335577,yuliya,micky,jayman,asdfg12345,1596321,halcyon,rerfhtre,feniks,zaxscd,gotyoass,jaycee,samson1,jamesb,vibrate,grandpri,camino,colossus,davidb,mamo4ka,nicky1,homer123,pinguin,watermelon,shadow01,lasttime,glider,823762,helen1,pyramids,tulane,osama,rostov,john12,scoote,bhbyrf,gohan,galeries,joyful,bigpussy,tonka,mowgli,astalavista,zzz123,leafs,dalejr8,unicorn1,777000,primal,bigmama,okmijn,killzone,qaz12345,snookie,zxcvvcxz,davidc,epson,rockman,ceaser,beanbag,katten,3151020,duckhunt,segreto,matros,ragnar,699669,sexsexse,123123z,fuckyeah,bigbutts,gbcmrf,element1,marketin,saratov,elbereth,blaster1,yamahar6,grime,masha,juneau,1230123,pappy,lindsay1,mooner,seattle1,katzen,lucent,polly1,lagwagon,pixie,misiaczek,666666a,smokedog,lakers24,eyeball,ironhors,ametuer,volkodav,vepsrf,kimmy,gumby1,poi098,ovation,1q2w3,drinker,penetrating,summertime,1dallas,prima,modles,takamine,hardwork,macintosh,tahoe,passthie,chiks,sundown,flowers1,boromir,music123,phaedrus,albert1,joung,malakas,gulliver,parker1,balder,sonne,jessie1,domainlock2005,express1,vfkbyf,youandme,raketa,koala,dhjnvytyjub,nhfrnjh,testibil,ybrbnjc,987654321q,axeman,pintail,pokemon123,dogggg,shandy,thesaint,11122233,x72jhhu3z,theclash,raptors,zappa1,djdjxrf,hell666,friday1,vivaldi,pluto1,lance1,guesswho,jeadmi,corgan,skillz,skippy1,mango1,gymnastic,satori,362514,theedge,cxfcnkbdfz,sparkey,deicide,bagels,lololol,lemmings,r4e3w2q1,silve,staind,schnuffi,dazzle,basebal1,leroy1,bilbo1,luckie,qwerty2,goodfell,hermione,peaceout,davidoff,yesterda,killah,flippy,chrisb,zelda1,headless,muttley,fuckof,tittys,catdaddy,photog,beeker,reaver,ram1500,yorktown,bolero,tryagain,arman,chicco,learjet,alexei,jenna1,go2hell,12s3t4p55,momsanaladventure,mustang9,protoss,rooter,ginola,dingo1,mojave,erica1,1qazse4,marvin1,redwolf,sunbird,dangerou,maciek,girsl,hawks1,packard1,excellen,dashka,soleda,toonces,acetate,nacked,jbond007,alligator,debbie1,wellhung,monkeyma,supers,rigger,larsson,vaseline,rjnzhf,maripos,123456asd,cbr600rr,doggydog,cronic,jason123,trekker,flipmode,druid,sonyvaio,dodges,mayfair,mystuff,fun4me,samanta,sofiya,magics,1ranger,arcane,sixtynin,222444,omerta,luscious,gbyudby,bobcats,envision,chance1,seaweed,holdem,tomate,mensch,slicer,acura1,goochi,qweewq,punter,repoman,tomboy,never1,cortina,gomets,147896321,369852147,dogma,bhjxrf,loglatin,eragon,strato,gazelle,growler,885522,klaudia,payton34,fuckem,butchie,scorpi,lugano,123456789k,nichola,chipper1,spide,uhbujhbq,rsalinas,vfylfhby,longhorns,bugatti,everquest,!qaz2wsx,blackass,999111,snakeman,p455w0rd,fanatic,family1,pfqxbr,777vlad,mysecret,marat,phoenix2,october1,genghis,panties1,cooker,citron,ace123,1234569,gramps,blackcoc,kodiak1,hickory,ivanhoe,blackboy,escher,sincity,beaks,meandyou,spaniel,canon1,timmy1,lancaste,polaroid,edinburg,fuckedup,hotman,cueball,golfclub,gopack,bookcase,worldcup,dkflbvbhjdbx,twostep,17171717aa,letsplay,zolushka,stella1,pfkegf,kingtut,67camaro,barracuda,wiggles,gjhjkm,prancer,patata,kjifhf,theman1,romanova,sexyass,copper1,dobber,sokolov,pomidor,algernon,cadman,amoremio,william2,silly1,bobbys,hercule,hd764nw5d7e1vb1,defcon,deutschland,robinhood,alfalfa,machoman,lesbens,pandora1,easypay,tomservo,nadezhda,goonies,saab9000,jordyn,f15eagle,dbrecz,12qwerty,greatsex,thrawn,blunted,baywatch,doggystyle,loloxx,chevy2,january1,kodak,bushel,78963214,ub6ib9,zz8807zpl,briefs,hawker,224488,first1,bonzo,brent1,erasure,69213124,sidewind,soccer13,622521,mentos,kolibri,onepiece,united1,ponyboy,keksa12,wayer,mypussy,andrej,mischa,mille,bruno123,garter,bigpun,talgat,familia,jazzy1,mustang8,newjob,747400,bobber,blackbel,hatteras,ginge,asdfjkl;,camelot1,blue44,rebbyt34,ebony1,vegas123,myboys,aleksander,ijrjkflrf,lopata,pilsner,lotus123,m0nk3y,andreev,freiheit,balls1,drjynfrnt,mazda1,waterpolo,shibumi,852963,123bbb,cezer121,blondie1,volkova,rattler,kleenex,ben123,sanane,happydog,satellit,qazplm,qazwsxedcrfvtgb,meowmix,badguy,facefuck,spice1,blondy,major1,25000,anna123,654321a,sober1,deathrow,patterso,china1,naruto1,hawkeye1,waldo1,butchy,crayon,5tgb6yhn,klopik,crocodil,mothra,imhorny,pookie1,splatter,slippy,lizard1,router,buratino,yahweh,123698,dragon11,123qwe456,peepers,trucker1,ganjaman,1hxboqg2,cheyanne,storys,sebastie,zztop,maddison,4rfv3edc,darthvader,jeffro,iloveit,victor1,hotty,delphin,lifeisgood,gooseman,shifty,insertions,dude123,abrupt,123masha,boogaloo,chronos,stamford,pimpster,kthjxrf,getmein,amidala,flubber,fettish,grapeape,dantes,oralsex,jack1,foxcg33,winchest,francis1,getin,archon,cliffy,blueman,1basebal,sport1,emmitt22,porn123,bignasty,morga,123hfjdk147,ferrar,juanito,fabiol,caseydog,steveo,peternorth,paroll,kimchi,bootleg,gaijin,secre,acacia,eatme2,amarillo,monkey11,rfhfgep,tylers,a1a2a3a4a5,sweetass,blower,rodina,babushka,camilo,cimbom,tiffan,vfnbkmlf,ohbaby,gotigers,lindsey1,dragon13,romulus,qazxsw12,zxcvbn1,dropdead,hitman47,snuggle,eleven11,bloopers,357mag,avangard,bmw320,ginscoot,dshade,masterkey,voodoo1,rootedit,caramba,leahcim,hannover,8phrowz622,tim123,cassius,000000a,angelito,zzzzz1,badkarma,star1,malaga,glenwood,footlove,golf1,summer12,helpme1,fastcars,titan1,police1,polinka,k.jdm,marusya,augusto,shiraz,pantyhose,donald1,blaise,arabella,brigada,c3por2d2,peter01,marco1,hellow,dillweed,uzumymw,geraldin,loveyou2,toyota1,088011,gophers,indy500,slainte,5hsu75kpot,teejay,renat,racoon,sabrin,angie1,shiznit,harpua,sexyred,latex,tucker1,alexandru,wahoo,teamwork,deepblue,goodison,rundmc,r2d2c3p0,puppys,samba,ayrton,boobed,999777,topsecre,blowme1,123321z,loudog,random1,pantie,drevil,mandolin,121212q,hottub,brother1,failsafe,spade1,matvey,open1234,carmen1,priscill,schatzi,kajak,gooddog,trojans1,gordon1,kayak,calamity,argent,ufhvjybz,seviyi,penfold,assface,dildos,hawkwind,crowbar,yanks,ruffles,rastus,luv2epus,open123,aquafina,dawns,jared1,teufel,12345c,vwgolf,pepsi123,amores,passwerd,01478520,boliva,smutty,headshot,password3,davidd,zydfhm,gbgbcmrf,pornpass,insertion,ceckbr,test2,car123,checkit,dbnfkbq,niggas,nyyankee,muskrat,nbuhtyjr,gunner1,ocean1,fabienne,chrissy1,wendys,loveme89,batgirl,cerveza,igorek,steel1,ragman,boris123,novifarm,sexy12,qwerty777,mike01,giveitup,123456abc,fuckall,crevice,hackerz,gspot,eight8,assassins,texass,swallows,123458,baldur,moonshine,labatt,modem,sydney1,voland,dbnfkz,hotchick,jacker,princessa,dawgs1,holiday1,booper,reliant,miranda1,jamaica1,andre1,badnaamhere,barnaby,tiger7,david12,margaux,corsica,085tzzqi,universi,thewall,nevermor,martin6,qwerty77,cipher,apples1,0102030405,seraphim,black123,imzadi,gandon,ducati99,1shadow,dkflbvbhjdyf,44magnum,bigbad,feedme,samantha1,ultraman,redneck1,jackdog,usmc0311,fresh1,monique1,tigre,alphaman,cool1,greyhoun,indycar,crunchy,55chevy,carefree,willow1,063dyjuy,xrated,assclown,federica,hilfiger,trivia,bronco1,mamita,100200300,simcity,lexingky,akatsuki,retsam,johndeere,abudfv,raster,elgato,businka,satanas,mattingl,redwing1,shamil,patate,mannn,moonstar,evil666,b123456,bowl300,tanechka,34523452,carthage,babygir,santino,bondarenko,jesuss,chico1,numlock,shyguy,sound1,kirby1,needit,mostwanted,427900,funky1,steve123,passions,anduril,kermit1,prospero,lusty,barakuda,dream1,broodwar,porky,christy1,mahal,yyyyyy1,allan1,1sexy,flintsto,capri,cumeater,heretic,robert2,hippos,blindax,marykay,collecti,kasumi,1qaz!qaz,112233q,123258,chemistr,coolboy,0o9i8u,kabuki,righton,tigress,nessie,sergej,andrew12,yfafyz,ytrhjvfyn,angel7,victo,mobbdeep,lemming,transfor,1725782,myhouse,aeynbr,muskie,leno4ka,westham1,cvbhyjd,daffodil,pussylicker,pamela1,stuffer,warehous,tinker1,2w3e4r,pluton,louise1,polarbea,253634,prime1,anatoliy,januar,wysiwyg,cobraya,ralphy,whaler,xterra,cableguy,112233a,porn69,jamesd,aqualung,jimmy123,lumpy,luckyman,kingsize,golfing1,alpha7,leeds1,marigold,lol1234,teabag,alex11,10sne1,saopaulo,shanny,roland1,basser,3216732167,carol1,year2005,morozov,saturn1,joseluis,bushed,redrock,memnoch,lalaland,indiana1,lovegod,gulnaz,buffalos,loveyou1,anteater,pattaya,jaydee,redshift,bartek,summerti,coffee1,ricochet,incest,schastie,rakkaus,h2opolo,suikoden,perro,dance1,loveme1,whoopass,vladvlad,boober,flyers1,alessia,gfcgjhn,pipers,papaya,gunsling,coolone,blackie1,gonads,gfhjkzytn,foxhound,qwert12,gangrel,ghjvtntq,bluedevi,mywife,summer01,hangman,licorice,patter,vfr750,thorsten,515253,ninguna,dakine,strange1,mexic,vergeten,12345432,8phrowz624,stampede,floyd1,sailfish,raziel,ananda,giacomo,freeme,crfprf,74185296,allstars,master01,solrac,gfnhbjn,bayliner,bmw525,3465xxx,catter,single1,michael3,pentium4,nitrox,mapet123456,halibut,killroy,xxxxx1,phillip1,poopsie,arsenalfc,buffys,kosova,all4me,32165498,arslan,opensesame,brutis,charles2,pochta,nadegda,backspac,mustang0,invis,gogeta,654321q,adam25,niceday,truckin,gfdkbr,biceps,sceptre,bigdave,lauras,user345,sandys,shabba,ratdog,cristiano,natha,march13,gumball,getsdown,wasdwasd,redhead1,dddddd1,longlegs,13572468,starsky,ducksoup,bunnys,omsairam,whoami,fred123,danmark,flapper,swanky,lakings,yfhenj,asterios,rainier,searcher,dapper,ltdjxrf,horsey,seahawk,shroom,tkfkdgo,aquaman,tashkent,number9,messi10,1asshole,milenium,illumina,vegita,jodeci,buster01,bareback,goldfinger,fire1,33rjhjds,sabian,thinkpad,smooth1,sully,bonghits,sushi1,magnavox,colombi,voiture,limpone,oldone,aruba,rooster1,zhenya,nomar5,touchdow,limpbizkit,rhfcfdxbr,baphomet,afrodita,bball1,madiso,ladles,lovefeet,matthew2,theworld,thunderbird,dolly1,123rrr,forklift,alfons,berkut,speedy1,saphire,oilman,creatine,pussylov,bastard1,456258,wicked1,filimon,skyline1,fucing,yfnfkbz,hot123,abdulla,nippon,nolimits,billiard,booty1,buttplug,westlife,coolbean,aloha1,lopas,asasin,1212121,october2,whodat,good4u,d12345,kostas,ilya1992,regal,pioneer1,volodya,focus1,bastos,nbvjif,fenix,anita1,vadimka,nickle,jesusc,123321456,teste,christ1,essendon,evgenii,celticfc,adam1,forumwp,lovesme,26exkp,chillout,burly,thelast1,marcus1,metalgear,test11,ronaldo7,socrate,world1,franki,mommie,vicecity,postov1000,charlie3,oldschool,333221,legoland,antoshka,counterstrike,buggy,mustang3,123454,qwertzui,toons,chesty,bigtoe,tigger12,limpopo,rerehepf,diddle,nokia3250,solidsnake,conan1,rockroll,963369,titanic1,qwezxc,cloggy,prashant,katharin,maxfli,takashi,cumonme,michael9,mymother,pennstate,khalid,48151623,fightclub,showboat,mateusz,elrond,teenie,arrow1,mammamia,dustydog,dominator,erasmus,zxcvb1,1a2a3a,bones1,dennis1,galaxie,pleaseme,whatever1,junkyard,galadriel,charlies,2wsxzaq1,crimson1,behemoth,teres,master11,fairway,shady1,pass99,1batman,joshua12,baraban,apelsin,mousepad,melon,twodogs,123321qwe,metalica,ryjgrf,pipiska,rerfhfxf,lugnut,cretin,iloveu2,powerade,aaaaaaa1,omanko,kovalenko,isabe,chobits,151nxjmt,shadow11,zcxfcnkbdf,gy3yt2rgls,vfhbyrf,159753123,bladerunner,goodone,wonton,doodie,333666999,fuckyou123,kitty123,chisox,orlando1,skateboa,red12345,destroye,snoogans,satan1,juancarlo,goheels,jetson,scottt,fuckup,aleksa,gfhfljrc,passfind,oscar123,derrick1,hateme,viper123,pieman,audi100,tuffy,andover,shooter1,10000,makarov,grant1,nighthaw,13576479,browneye,batigol,nfvfhf,chocolate1,7hrdnw23,petter,bantam,morlii,jediknight,brenden,argonaut,goodstuf,wisconsi,315920,abigail1,dirtbag,splurge,k123456,lucky777,valdepen,gsxr600,322223,ghjnjrjk,zaq1xsw2cde3,schwanz,walter1,letmein22,nomads,124356,codeblue,nokian70,fucke,footbal1,agyvorc,aztecs,passw0r,smuggles,femmes,ballgag,krasnodar,tamuna,schule,sixtynine,empires,erfolg,dvader,ladygaga,elite1,venezuel,nitrous,kochamcie,olivia1,trustn01,arioch,sting1,131415,tristar,555000,maroon,135799,marsik,555556,fomoco,natalka,cwoui,tartan,davecole,nosferat,hotsauce,dmitry,horus,dimasik,skazka,boss302,bluebear,vesper,ultras,tarantul,asd123asd,azteca,theflash,8ball,1footbal,titlover,lucas123,number6,sampson1,789852,party1,dragon99,adonai,carwash,metropol,psychnau,vthctltc,hounds,firework,blink18,145632,wildcat1,satchel,rice80,ghtktcnm,sailor1,cubano,anderso,rocks1,mike11,famili,dfghjc,besiktas,roygbiv,nikko,bethan,minotaur,rakesh,orange12,hfleuf,jackel,myangel,favorite7,1478520,asssss,agnieszka,haley1,raisin,htubyf,1buster,cfiekz,derevo,1a2a3a4a5a,baltika,raffles,scruffy1,clitlick,louis1,buddha1,fy.nrf,walker1,makoto,shadow2,redbeard,vfvfvskfhfve,mycock,sandydog,lineman,network1,favorite8,longdick,mustangg,mavericks,indica,1killer,cisco1,angelofwar,blue69,brianna1,bubbaa,slayer666,level42,baldrick,brutus1,lowdown,haribo,lovesexy,500000,thissuck,picker,stephy,1fuckme,characte,telecast,1bigdog,repytwjdf,thematrix,hammerhe,chucha,ganesha,gunsmoke,georgi,sheltie,1harley,knulla,sallas,westie,dragon7,conker,crappie,margosha,lisboa,3e2w1q,shrike,grifter,ghjcnjghjcnj,asdfg1,mnbvcxz1,myszka,posture,boggie,rocketman,flhtyfkby,twiztid,vostok,pi314159,force1,televizor,gtkmvtym,samhain,imcool,jadzia,dreamers,strannik,k2trix,steelhea,nikitin,commodor,brian123,chocobo,whopper,ibilljpf,megafon,ararat,thomas12,ghbrjkbcn,q1234567890,hibernia,kings1,jim123,redfive,68camaro,iawgk2,xavier1,1234567u,d123456,ndirish,airborn,halfmoon,fluffy1,ranchero,sneaker,soccer2,passion1,cowman,birthday1,johnn,razzle,glock17,wsxqaz,nubian,lucky2,jelly1,henderso,eric1,123123e,boscoe01,fuck0ff,simpson1,sassie,rjyjgkz,nascar3,watashi,loredana,janus,wilso,conman,david2,mothe,iloveher,snikers,davidj,fkmnthyfnbdf,mettss,ratfink,123456h,lostsoul,sweet16,brabus,wobble,petra1,fuckfest,otters,sable1,svetka,spartacu,bigstick,milashka,1lover,pasport,champagn,papichul,hrvatska,hondacivic,kevins,tacit,moneybag,gohogs,rasta1,246813579,ytyfdbcnm,gubber,darkmoon,vitaliy,233223,playboys,tristan1,joyce1,oriflame,mugwump,access2,autocad,thematri,qweqwe123,lolwut,ibill01,multisyn,1233211,pelikan,rob123,chacal,1234432,griffon,pooch,dagestan,geisha,satriani,anjali,rocketma,gixxer,pendrago,vincen,hellokit,killyou,ruger,doodah,bumblebe,badlands,galactic,emachines,foghorn,jackso,jerem,avgust,frontera,123369,daisymae,hornyboy,welcome123,tigger01,diabl,angel13,interex,iwantsex,rockydog,kukolka,sawdust,online1,3234412,bigpapa,jewboy,3263827,dave123,riches,333222,tony1,toggle,farter,124816,tities,balle,brasilia,southsid,micke,ghbdtn12,patit,ctdfcnjgjkm,olds442,zzzzzz1,nelso,gremlins,gypsy1,carter1,slut69,farcry,7415963,michael8,birdie1,charl,123456789abc,100001,aztec,sinjin,bigpimpi,closeup,atlas1,nvidia,doggone,classic1,manana,malcolm1,rfkbyf,hotbabe,rajesh,dimebag,ganjubas,rodion,jagr68,seren,syrinx,funnyman,karapuz,123456789n,bloomin,admin18533362,biggdogg,ocarina,poopy1,hellome,internet1,booties,blowjobs,matt1,donkey1,swede,1jennife,evgeniya,lfhbyf,coach1,444777,green12,patryk,pinewood,justin12,271828,89600506779,notredame,tuborg,lemond,sk8ter,million1,wowser,pablo1,st0n3,jeeves,funhouse,hiroshi,gobucs,angeleye,bereza,winter12,catalin,qazedc,andros,ramazan,vampyre,sweethea,imperium,murat,jamest,flossy,sandeep,morgen,salamandra,bigdogg,stroller,njdevils,nutsack,vittorio,%%passwo,playful,rjyatnrf,tookie,ubnfhf,michi,777444,shadow13,devils1,radiance,toshiba1,beluga,amormi,dandfa,trust1,killemall,smallville,polgara,billyb,landscap,steves,exploite,zamboni,damage11,dzxtckfd,trader12,pokey1,kobe08,damager,egorov,dragon88,ckfdbr,lisa69,blade2,audis4,nelson1,nibbles,23176djivanfros,mutabor,artofwar,matvei,metal666,hrfzlz,schwinn,poohbea,seven77,thinker,123456789qwerty,sobriety,jakers,karamelka,vbkfyf,volodin,iddqd,dale03,roberto1,lizaveta,qqqqqq1,cathy1,08154711,davidm,quixote,bluenote,tazdevil,katrina1,bigfoot1,bublik,marma,olechka,fatpussy,marduk,arina,nonrev67,qqqq1111,camill,wtpfhm,truffle,fairview,mashina,voltaire,qazxswedcvfr,dickface,grassy,lapdance,bosstone,crazy8,yackwin,mobil,danielit,mounta1n,player69,bluegill,mewtwo,reverb,cnthdf,pablito,a123321,elena1,warcraft1,orland,ilovemyself,rfntyjr,joyride,schoo,dthjxrf,thetachi,goodtimes,blacksun,humpty,chewbacca,guyute,123xyz,lexicon,blue45,qwe789,galatasaray,centrino,hendrix1,deimos,saturn5,craig1,vlad1996,sarah123,tupelo,ljrnjh,hotwife,bingos,1231231,nicholas1,flamer,pusher,1233210,heart1,hun999,jiggy,giddyup,oktober,123456zxc,budda,galahad,glamur,samwise,oneton,bugsbunny,dominic1,scooby2,freetime,internat,159753852,sc00ter,wantit,mazinger,inflames,laracrof,greedo,014789,godofwar,repytwjd,water123,fishnet,venus1,wallace1,tenpin,paula1,1475963,mania,novikov,qwertyasdfgh,goldmine,homies,777888999,8balls,holeinon,paper1,samael,013579,mansur,nikit,ak1234,blueline,polska1,hotcock,laredo,windstar,vbkbwbz,raider1,newworld,lfybkrf,catfish1,shorty1,piranha,treacle,royale,2234562,smurfs,minion,cadence,flapjack,123456p,sydne,135531,robinhoo,nasdaq,decatur,cyberonline,newage,gemstone,jabba,touchme,hooch,pigdog,indahous,fonzie,zebra1,juggle,patrick2,nihongo,hitomi,oldnavy,qwerfdsa,ukraina,shakti,allure,kingrich,diane1,canad,piramide,hottie1,clarion,college1,5641110,connect1,therion,clubber,velcro,dave1,astra1,13579-,astroboy,skittle,isgreat,photoes,cvzefh1gkc,001100,2cool4u,7555545,ginger12,2wsxcde3,camaro69,invader,domenow,asd1234,colgate,qwertasdfg,jack123,pass01,maxman,bronte,whkzyc,peter123,bogie,yecgaa,abc321,1qay2wsx,enfield,camaroz2,trashman,bonefish,system32,azsxdcfvgb,peterose,iwantyou,dick69,temp1234,blastoff,capa200,connie1,blazin,12233445,sexybaby,123456j,brentfor,pheasant,hommer,jerryg,thunders,august1,lager,kapusta,boobs1,nokia5300,rocco1,xytfu7,stars1,tugger,123sas,blingbling,1bubba,0wnsyo0,1george,baile,richard2,habana,1diamond,sensatio,1golfer,maverick1,1chris,clinton1,michael7,dragons1,sunrise1,pissant,fatim,mopar1,levani,rostik,pizzapie,987412365,oceans11,748159263,cum4me,palmetto,4r3e2w1q,paige1,muncher,arsehole,kratos,gaffer,banderas,billys,prakash,crabby,bungie,silver12,caddis,spawn1,xboxlive,sylvania,littlebi,524645,futura,valdemar,isacs155,prettygirl,big123,555444,slimer,chicke,newstyle,skypilot,sailormoon,fatluvr69,jetaime,sitruc,jesuschrist,sameer,bear12,hellion,yendor,country1,etnies,conejo,jedimast,darkknight,toobad,yxcvbn,snooks,porn4life,calvary,alfaromeo,ghostman,yannick,fnkfynblf,vatoloco,homebase,5550666,barret,1111111111zz,odysseus,edwardss,favre4,jerrys,crybaby,xsw21qaz,firestor,spanks,indians1,squish,kingair,babycakes,haters,sarahs,212223,teddyb,xfactor,cumload,rhapsody,death123,three3,raccoon,thomas2,slayer66,1q2q3q4q5q,thebes,mysterio,thirdeye,orkiox.,nodoubt,bugsy,schweiz,dima1996,angels1,darkwing,jeronimo,moonpie,ronaldo9,peaches2,mack10,manish,denise1,fellowes,carioca,taylor12,epaulson,makemoney,oc247ngucz,kochanie,3edcvfr4,vulture,1qw23e,1234567z,munchie,picard1,xthtgfirf,sportste,psycho1,tahoe1,creativ,perils,slurred,hermit,scoob,diesel1,cards1,wipeout,weeble,integra1,out3xf,powerpc,chrism,kalle,ariadne,kailua,phatty,dexter1,fordman,bungalow,paul123,compa,train1,thejoker,jys6wz,pussyeater,eatmee,sludge,dominus,denisa,tagheuer,yxcvbnm,bill1,ghfdlf,300zx,nikita123,carcass,semaj,ramone,muenchen,animal1,greeny,annemari,dbrf134,jeepcj7,mollys,garten,sashok,ironmaid,coyotes,astoria,george12,westcoast,primetim,123456o,panchito,rafae,japan1,framer,auralo,tooshort,egorova,qwerty22,callme,medicina,warhawk,w1w2w3w4,cristia,merli,alex22,kawaii,chatte,wargames,utvols,muaddib,trinket,andreas1,jjjjj1,cleric,scooters,cuntlick,gggggg1,slipknot1,235711,handcuff,stussy,guess1,leiceste,ppppp1,passe,lovegun,chevyman,hugecock,driver1,buttsex,psychnaut1,cyber1,black2,alpha12,melbourn,man123,metalman,yjdsqujl,blondi,bungee,freak1,stomper,caitlin1,nikitina,flyaway,prikol,begood,desperad,aurelius,john1234,whosyourdaddy,slimed123,bretagne,den123,hotwheel,king123,roodypoo,izzicam,save13tx,warpten,nokia3310,samolet,ready1,coopers,scott123,bonito,1aaaaa,yomomma,dawg1,rache,itworks,asecret,fencer,451236,polka,olivetti,sysadmin,zepplin,sanjuan,479373,lickem,hondacrx,pulamea,future1,naked1,sexyguy,w4g8at,lollol1,declan,runner1,rumple,daddy123,4snz9g,grandprix,calcio,whatthefuck,nagrom,asslick,pennst,negrit,squiggy,1223334444,police22,giovann,toronto1,tweet,yardbird,seagate,truckers,554455,scimitar,pescator,slydog,gaysex,dogfish,fuck777,12332112,qazxswed,morkovka,daniela1,imback,horny69,789123456,123456789w,jimmy2,bagger,ilove69,nikolaus,atdhfkm,rebirth,1111aaaa,pervasive,gjgeufq,dte4uw,gfhnbpfy,skeletor,whitney1,walkman,delorean,disco1,555888,as1234,ishikawa,fuck12,reaper1,dmitrii,bigshot,morrisse,purgen,qwer4321,itachi,willys,123123qwe,kisska,roma123,trafford,sk84life,326159487,pedros,idiom,plover,bebop,159875321,jailbird,arrowhea,qwaszx123,zaxscdvf,catlover,bakers,13579246,bones69,vermont1,helloyou,simeon,chevyz71,funguy,stargaze,parolparol,steph1,bubby,apathy,poppet,laxman,kelly123,goodnews,741236,boner1,gaetano,astonvilla,virtua,luckyboy,rocheste,hello2u,elohim,trigger1,cstrike,pepsicola,miroslav,96385274,fistfuck,cheval,magyar,svetlanka,lbfyjxrf,mamedov,123123123q,ronaldo1,scotty1,1nicole,pittbull,fredd,bbbbb1,dagwood,gfhkfvtyn,ghblehrb,logan5,1jordan,sexbomb,omega2,montauk,258741,dtythf,gibbon,winamp,thebomb,millerli,852654,gemin,baldy,halflife2,dragon22,mulberry,morrigan,hotel6,zorglub,surfin,951159,excell,arhangel,emachine,moses1,968574,reklama,bulldog2,cuties,barca,twingo,saber,elite11,redtruck,casablan,ashish,moneyy,pepper12,cnhtktw,rjcnbr,arschloch,phenix,cachorro,sunita,madoka,joselui,adams1,mymoney,hemicuda,fyutkjr,jake12,chicas,eeeee1,sonnyboy,smarties,birdy,kitten1,cnfcbr,island1,kurosaki,taekwond,konfetka,bennett1,omega3,jackson2,fresca,minako,octavian,kban667,feyenoord,muaythai,jakedog,fktrcfylhjdyf,1357911q,phuket,sexslave,fktrcfylhjdbx,asdfjk,89015173454,qwerty00,kindbud,eltoro,sex6969,nyknicks,12344321q,caballo,evenflow,hoddle,love22,metro1,mahalko,lawdog,tightass,manitou,buckie,whiskey1,anton123,335533,password4,primo,ramair,timbo,brayden,stewie,pedro1,yorkshir,ganster,hellothe,tippy1,direwolf,genesi,rodrig,enkeli,vaz21099,sorcerer,winky,oneshot,boggle,serebro,badger1,japanes,comicbook,kamehame,alcat,denis123,echo45,sexboy,gr8ful,hondo,voetbal,blue33,2112rush,geneviev,danni1,moosey,polkmn,matthew7,ironhead,hot2trot,ashley12,sweeper,imogen,blue21,retep,stealth1,guitarra,bernard1,tatian,frankfur,vfnhbwf,slacking,haha123,963741,asdasdas,katenok,airforce1,123456789qaz,shotgun1,12qwasz,reggie1,sharo,976431,pacifica,dhip6a,neptun,kardon,spooky1,beaut,555555a,toosweet,tiedup,11121314,startac,lover69,rediska,pirata,vfhrbp,1234qwerty,energize,hansolo1,playbo,larry123,oemdlg,cnjvfnjkju,a123123,alexan,gohawks,antonius,fcbayern,mambo,yummy1,kremlin,ellen1,tremere,vfiekz,bellevue,charlie9,izabella,malishka,fermat,rotterda,dawggy,becket,chasey,kramer1,21125150,lolit,cabrio,schlong,arisha,verity,3some,favorit,maricon,travelle,hotpants,red1234,garrett1,home123,knarf,seven777,figment,asdewq,canseco,good2go,warhol,thomas01,pionee,al9agd,panacea,chevy454,brazzers,oriole,azerty123,finalfan,patricio,northsta,rebelde,bulldo,stallone,boogie1,7uftyx,cfhfnjd,compusa,cornholi,config,deere,hoopster,sepultura,grasshop,babygurl,lesbo,diceman,proverbs,reddragon,nurbek,tigerwoo,superdup,buzzsaw,kakaroto,golgo13,edwar,123qaz123,butter1,sssss1,texas2,respekt,ou812ic,123456qaz,55555a,doctor1,mcgwire,maria123,aol999,cinders,aa1234,joness,ghbrjkmyj,makemone,sammyboy,567765,380zliki,theraven,testme,mylene,elvira26,indiglo,tiramisu,shannara,baby1,123666,gfhreh,papercut,johnmish,orange8,bogey1,mustang7,bagpipes,dimarik,vsijyjr,4637324,ravage,cogito,seven11,natashka,warzone,hr3ytm,4free,bigdee,000006,243462536,bigboi,123333,trouts,sandy123,szevasz,monica2,guderian,newlife1,ratchet,r12345,razorbac,12345i,piazza31,oddjob,beauty1,fffff1,anklet,nodrog,pepit,olivi,puravida,robert12,transam1,portman,bubbadog,steelers1,wilson1,eightball,mexico1,superboy,4rfv5tgb,mzepab,samurai1,fuckslut,colleen1,girdle,vfrcbvec,q1w2e3r4t,soldier1,19844891,alyssa1,a12345a,fidelis,skelter,nolove,mickeymouse,frehley,password69,watermel,aliska,soccer15,12345e,ladybug1,abulafia,adagio,tigerlil,takehana,hecate,bootneck,junfan,arigato,wonkette,bobby123,trustnoone,phantasm,132465798,brianjo,w12345,t34vfrc1991,deadeye,1robert,1daddy,adida,check1,grimlock,muffi,airwalk,prizrak,onclick,longbeac,ernie1,eadgbe,moore1,geniu,shadow123,bugaga,jonathan1,cjrjkjdf,orlova,buldog,talon1,westport,aenima,541233432442,barsuk,chicago2,kellys,hellbent,toughguy,iskander,skoal,whatisit,jake123,scooter2,fgjrfkbgcbc,ghandi,love13,adelphia,vjhrjdrf,adrenali,niunia,jemoeder,rainbo,all4u8,anime1,freedom7,seraph,789321,tommys,antman,firetruc,neogeo,natas,bmwm3,froggy1,paul1,mamit,bayview,gateways,kusanagi,ihateu,frederi,rock1,centurion,grizli,biggin,fish1,stalker1,3girls,ilovepor,klootzak,lollo,redsox04,kirill123,jake1,pampers,vasya,hammers1,teacup,towing,celtic1,ishtar,yingyang,4904s677075,dahc1,patriot1,patrick9,redbirds,doremi,rebecc,yoohoo,makarova,epiphone,rfgbnfy,milesd,blister,chelseafc,katana1,blackrose,1james,primrose,shock5,hard1,scooby12,c6h12o6,dustoff,boing,chisel,kamil,1william,defiant1,tyvugq,mp8o6d,aaa340,nafets,sonnet,flyhigh,242526,crewcom,love23,strike1,stairway,katusha,salamand,cupcake1,password0,007james,sunnie,multisync,harley01,tequila1,fred12,driver8,q8zo8wzq,hunter01,mozzer,temporar,eatmeraw,mrbrownxx,kailey,sycamore,flogger,tincup,rahasia,ganymede,bandera,slinger,1111122222,vander,woodys,1cowboy,khaled,jamies,london12,babyboo,tzpvaw,diogenes,budice,mavrick,135797531,cheeta,macros,squonk,blackber,topfuel,apache1,falcon16,darkjedi,cheeze,vfhvtkfl,sparco,change1,gfhfif,freestyl,kukuruza,loveme2,12345f,kozlov,sherpa,marbella,44445555,bocephus,1winner,alvar,hollydog,gonefish,iwantin,barman,godislove,amanda18,rfpfynbg,eugen,abcdef1,redhawk,thelema,spoonman,baller1,harry123,475869,tigerman,cdtnjxrf,marillio,scribble,elnino,carguy,hardhead,l2g7k3,troopers,selen,dragon76,antigua,ewtosi,ulysse,astana,paroli,cristo,carmex,marjan,bassfish,letitbe,kasparov,jay123,19933991,blue13,eyecandy,scribe,mylord,ukflbjkec,ellie1,beaver1,destro,neuken,halfpint,ameli,lilly1,satanic,xngwoj,12345trewq,asdf1,bulldogg,asakura,jesucrist,flipside,packers4,biggy,kadett,biteme69,bobdog,silverfo,saint1,bobbo,packman,knowledg,foolio,fussbal,12345g,kozerog,westcoas,minidisc,nbvcxw,martini1,alastair,rasengan,superbee,memento,porker,lena123,florenc,kakadu,bmw123,getalife,bigsky,monkee,people1,schlampe,red321,memyself,0147896325,12345678900987654321,soccer14,realdeal,gfgjxrf,bella123,juggs,doritos,celtics1,peterbilt,ghbdtnbrb,gnusmas,xcountry,ghbdtn1,batman99,deusex,gtnhjdf,blablabl,juster,marimba,love2,rerjkrf,alhambra,micros,siemens1,assmaste,moonie,dashadasha,atybrc,eeeeee1,wildrose,blue55,davidl,xrp23q,skyblue,leo123,ggggg1,bestfriend,franny,1234rmvb,fun123,rules1,sebastien,chester2,hakeem,winston2,fartripper,atlant,07831505,iluvsex,q1a2z3,larrys,009900,ghjkju,capitan,rider1,qazxsw21,belochka,andy123,hellya,chicca,maximal,juergen,password1234,howard1,quetzal,daniel123,qpwoeiruty,123555,bharat,ferrari3,numbnuts,savant,ladydog,phipsi,lovepussy,etoile,power2,mitten,britneys,chilidog,08522580,2fchbg,kinky1,bluerose,loulo,ricardo1,doqvq3,kswbdu,013cpfza,timoha,ghbdtnghbdtn,3stooges,gearhead,browns1,g00ber,super7,greenbud,kitty2,pootie,toolshed,gamers,coffe,ibill123,freelove,anasazi,sister1,jigger,natash,stacy1,weronika,luzern,soccer7,hoopla,dmoney,valerie1,canes,razdvatri,washere,greenwoo,rfhjkbyf,anselm,pkxe62,maribe,daniel2,maxim1,faceoff,carbine,xtkjdtr,buddy12,stratos,jumpman,buttocks,aqswdefr,pepsis,sonechka,steeler1,lanman,nietzsch,ballz,biscuit1,wrxsti,goodfood,juventu,federic,mattman,vika123,strelec,jledfyxbr,sideshow,4life,fredderf,bigwilly,12347890,12345671,sharik,bmw325i,fylhtqrf,dannon4,marky,mrhappy,drdoom,maddog1,pompier,cerbera,goobers,howler,jenny69,evely,letitrid,cthuttdyf,felip,shizzle,golf12,t123456,yamah,bluearmy,squishy,roxan,10inches,dollface,babygirl1,blacksta,kaneda,lexingto,canadien,222888,kukushka,sistema,224422,shadow69,ppspankp,mellons,barbie1,free4all,alfa156,lostone,2w3e4r5t,painkiller,robbie1,binger,8dihc6,jaspe,rellik,quark,sogood,hoopstar,number2,snowy1,dad2ownu,cresta,qwe123asd,hjvfyjdf,gibsonsg,qbg26i,dockers,grunge,duckling,lfiekz,cuntsoup,kasia1,1tigger,woaini,reksio,tmoney,firefighter,neuron,audia3,woogie,powerboo,powermac,fatcock,12345666,upnfmc,lustful,porn1,gotlove,amylee,kbytqrf,11924704,25251325,sarasota,sexme,ozzie1,berliner,nigga1,guatemal,seagulls,iloveyou!,chicken2,qwerty21,010203040506,1pillow,libby1,vodoley,backlash,piglets,teiubesc,019283,vonnegut,perico,thunde,buckey,gtxtymrf,manunite,iiiii1,lost4815162342,madonn,270873_,britney1,kevlar,piano1,boondock,colt1911,salamat,doma77ns,anuradha,cnhjqrf,rottweil,newmoon,topgun1,mauser,fightclu,birthday21,reviewpa,herons,aassddff,lakers32,melissa2,vredina,jiujitsu,mgoblue,shakey,moss84,12345zxcvb,funsex,benji1,garci,113322,chipie,windex,nokia5310,pwxd5x,bluemax,cosita,chalupa,trotsky,new123,g3ujwg,newguy,canabis,gnaget,happydays,felixx,1patrick,cumface,sparkie,kozlova,123234,newports,broncos7,golf18,recycle,hahah,harrypot,cachondo,open4me,miria,guessit,pepsione,knocker,usmc1775,countach,playe,wiking,landrover,cracksevi,drumline,a7777777,smile123,manzana,panty,liberta,pimp69,dolfan,quality1,schnee,superson,elaine22,webhompass,mrbrownx,deepsea,4wheel,mamasita,rockport,rollie,myhome,jordan12,kfvgjxrf,hockey12,seagrave,ford1,chelsea2,samsara,marissa1,lamesa,mobil1,piotrek,tommygun,yyyyy1,wesley1,billy123,homersim,julies,amanda12,shaka,maldini,suzenet,springst,iiiiii1,yakuza,111111aa,westwind,helpdesk,annamari,bringit,hopefull,hhhhhhh1,saywhat,mazdarx8,bulova,jennife1,baikal,gfhjkmxbr,victoria1,gizmo123,alex99,defjam,2girls,sandrock,positivo,shingo,syncmast,opensesa,silicone,fuckina,senna1,karlos,duffbeer,montagne,gehrig,thetick,pepino,hamburge,paramedic,scamp,smokeweed,fabregas,phantoms,venom121293,2583458,badone,porno69,manwhore,vfvf123,notagain,vbktyf,rfnthbyrf,wildblue,kelly001,dragon66,camell,curtis1,frolova,1212123,dothedew,tyler123,reddrago,planetx,promethe,gigolo,1001001,thisone,eugeni,blackshe,cruzazul,incognito,puller,joonas,quick1,spirit1,gazza,zealot,gordito,hotrod1,mitch1,pollito,hellcat,mythos,duluth,383pdjvl,easy123,hermos,binkie,its420,lovecraf,darien,romina,doraemon,19877891,syclone,hadoken,transpor,ichiro,intell,gargamel,dragon2,wavpzt,557744,rjw7x4,jennys,kickit,rjynfrn,likeit,555111,corvus,nec3520,133113,mookie1,bochum,samsung2,locoman0,154ugeiu,vfvfbgfgf,135792,[start],tenni,20001,vestax,hufmqw,neveragain,wizkid,kjgfnf,nokia6303,tristen,saltanat,louie1,gandalf2,sinfonia,alpha3,tolstoy,ford150,f00bar,1hello,alici,lol12,riker1,hellou,333888,1hunter,qw1234,vibrator,mets86,43211234,gonzale,cookies1,sissy1,john11,bubber,blue01,cup2006,gtkmvtyb,nazareth,heybaby,suresh,teddie,mozilla,rodeo1,madhouse,gamera,123123321,naresh,dominos,foxtrot1,taras,powerup,kipling,jasonb,fidget,galena,meatman,alpacino,bookmark,farting,humper,titsnass,gorgon,castaway,dianka,anutka,gecko1,fucklove,connery,wings1,erika1,peoria,moneymaker,ichabod,heaven1,paperboy,phaser,breakers,nurse1,westbrom,alex13,brendan1,123asd123,almera,grubber,clarkie,thisisme,welkom01,51051051051,crypto,freenet,pflybwf,black12,testme2,changeit,autobahn,attica,chaoss,denver1,tercel,gnasher23,master2,vasilii,sherman1,gomer,bigbuck,derek1,qwerzxcv,jumble,dragon23,art131313,numark,beasty,cxfcnmttcnm,updown,starion,glist,sxhq65,ranger99,monkey7,shifter,wolves1,4r5t6y,phone1,favorite5,skytommy,abracada,1martin,102030405060,gatech,giulio,blacktop,cheer1,africa1,grizzly1,inkjet,shemales,durango1,booner,11223344q,supergirl,vanyarespekt,dickless,srilanka,weaponx,6string,nashvill,spicey,boxer1,fabien,2sexy2ho,bowhunt,jerrylee,acrobat,tawnee,ulisse,nolimit8,l8g3bkde,pershing,gordo1,allover,gobrowns,123432,123444,321456987,spoon1,hhhhh1,sailing1,gardenia,teache,sexmachine,tratata,pirate1,niceone,jimbos,314159265,qsdfgh,bobbyy,ccccc1,carla1,vjkjltw,savana,biotech,frigid,123456789g,dragon10,yesiam,alpha06,oakwood,tooter,winsto,radioman,vavilon,asnaeb,google123,nariman,kellyb,dthyjcnm,password6,parol1,golf72,skate1,lthtdj,1234567890s,kennet,rossia,lindas,nataliya,perfecto,eminem1,kitana,aragorn1,rexona,arsenalf,planot,coope,testing123,timex,blackbox,bullhead,barbarian,dreamon,polaris1,cfvjktn,frdfhbev,gametime,slipknot666,nomad1,hfgcjlbz,happy69,fiddler,brazil1,joeboy,indianali,113355,obelisk,telemark,ghostrid,preston1,anonim,wellcome,verizon1,sayangku,censor,timeport,dummies,adult1,nbnfybr,donger,thales,iamgay,sexy1234,deadlift,pidaras,doroga,123qwe321,portuga,asdfgh12,happys,cadr14nu,pi3141,maksik,dribble,cortland,darken,stepanova,bommel,tropic,sochi2014,bluegras,shahid,merhaba,nacho,2580456,orange44,kongen,3cudjz,78girl,my3kids,marcopol,deadmeat,gabbie,saruman,jeepman,freddie1,katie123,master99,ronal,ballbag,centauri,killer7,xqgann,pinecone,jdeere,geirby,aceshigh,55832811,pepsimax,rayden,razor1,tallyho,ewelina,coldfire,florid,glotest,999333,sevenup,bluefin,limaperu,apostol,bobbins,charmed1,michelin,sundin,centaur,alphaone,christof,trial1,lions1,45645,just4you,starflee,vicki1,cougar1,green2,jellyfis,batman69,games1,hihje863,crazyzil,w0rm1,oklick,dogbite,yssup,sunstar,paprika,postov10,124578963,x24ik3,kanada,buckster,iloveamy,bear123,smiler,nx74205,ohiostat,spacey,bigbill,doudo,nikolaeva,hcleeb,sex666,mindy1,buster11,deacons,boness,njkcnsq,candy2,cracker1,turkey1,qwertyu1,gogreen,tazzzz,edgewise,ranger01,qwerty6,blazer1,arian,letmeinnow,cigar1,jjjjjj1,grigio,frien,tenchu,f9lmwd,imissyou,filipp,heathers,coolie,salem1,woodduck,scubadiv,123kat,raffaele,nikolaev,dapzu455,skooter,9inches,lthgfhjkm,gr8one,ffffff1,zujlrf,amanda69,gldmeo,m5wkqf,rfrltkf,televisi,bonjou,paleale,stuff1,cumalot,fuckmenow,climb7,mark1234,t26gn4,oneeye,george2,utyyflbq,hunting1,tracy71,ready2go,hotguy,accessno,charger1,rudedog,kmfdm,goober1,sweetie1,wtpmjgda,dimensio,ollie1,pickles1,hellraiser,mustdie,123zzz,99887766,stepanov,verdun,tokenbad,anatol,bartende,cidkid86,onkelz,timmie,mooseman,patch1,12345678c,marta1,dummy1,bethany1,myfamily,history1,178500,lsutiger,phydeaux,moren,dbrnjhjdbx,gnbxrf,uniden,drummers,abpbrf,godboy,daisy123,hogan1,ratpack,irland,tangerine,greddy,flore,sqrunch,billyjoe,q55555,clemson1,98745632,marios,ishot,angelin,access12,naruto12,lolly,scxakv,austin12,sallad,cool99,rockit,mongo1,mark22,ghbynth,ariadna,senha,docto,tyler2,mobius,hammarby,192168,anna12,claire1,pxx3eftp,secreto,greeneye,stjabn,baguvix,satana666,rhbcnbyjxrf,dallastx,garfiel,michaelj,1summer,montan,1234ab,filbert,squids,fastback,lyudmila,chucho,eagleone,kimberle,ar3yuk3,jake01,nokids,soccer22,1066ad,ballon,cheeto,review69,madeira,taylor2,sunny123,chubbs,lakeland,striker1,porche,qwertyu8,digiview,go1234,ferari,lovetits,aditya,minnow,green3,matman,cellphon,fortytwo,minni,pucara,69a20a,roman123,fuente,12e3e456,paul12,jacky,demian,littleman,jadakiss,vlad1997,franca,282860,midian,nunzio,xaccess2,colibri,jessica0,revilo,654456,harvey1,wolf1,macarena,corey1,husky1,arsen,milleniu,852147,crowes,redcat,combat123654,hugger,psalms,quixtar,ilovemom,toyot,ballss,ilovekim,serdar,james23,avenger1,serendip,malamute,nalgas,teflon,shagger,letmein6,vyjujnjxbt,assa1234,student1,dixiedog,gznybwf13,fuckass,aq1sw2de3,robroy,hosehead,sosa21,123345,ias100,teddy123,poppin,dgl70460,zanoza,farhan,quicksilver,1701d,tajmahal,depechemode,paulchen,angler,tommy2,recoil,megamanx,scarecro,nicole2,152535,rfvtgb,skunky,fatty1,saturno,wormwood,milwauke,udbwsk,sexlover,stefa,7bgiqk,gfnhbr,omar10,bratan,lbyfvj,slyfox,forest1,jambo,william3,tempus,solitari,lucydog,murzilka,qweasdzxc1,vehpbkrf,12312345,fixit,woobie,andre123,123456789x,lifter,zinaida,soccer17,andone,foxbat,torsten,apple12,teleport,123456i,leglover,bigcocks,vologda,dodger1,martyn,d6o8pm,naciona,eagleeye,maria6,rimshot,bentley1,octagon,barbos,masaki,gremio,siemen,s1107d,mujeres,bigtits1,cherr,saints1,mrpink,simran,ghzybr,ferrari2,secret12,tornado1,kocham,picolo,deneme,onelove1,rolan,fenster,1fuckyou,cabbie,pegaso,nastyboy,password5,aidana,mine2306,mike13,wetone,tigger69,ytreza,bondage1,myass,golova,tolik,happyboy,poilkj,nimda2k,rammer,rubies,hardcore1,jetset,hoops1,jlaudio,misskitt,1charlie,google12,theone1,phred,porsch,aalborg,luft4,charlie5,password7,gnosis,djgabbab,1daniel,vinny,borris,cumulus,member1,trogdor,darthmau,andrew2,ktjybl,relisys,kriste,rasta220,chgobndg,weener,qwerty66,fritter,followme,freeman1,ballen,blood1,peache,mariso,trevor1,biotch,gtfullam,chamonix,friendste,alligato,misha1,1soccer,18821221,venkat,superd,molotov,bongos,mpower,acun3t1x,dfcmrf,h4x3d,rfhfufylf,tigran,booyaa,plastic1,monstr,rfnhby,lookatme,anabolic,tiesto,simon123,soulman,canes1,skyking,tomcat1,madona,bassline,dasha123,tarheel1,dutch1,xsw23edc,qwerty123456789,imperator,slaveboy,bateau,paypal,house123,pentax,wolf666,drgonzo,perros,digger1,juninho,hellomoto,bladerun,zzzzzzz1,keebler,take8422,fffffff1,ginuwine,israe,caesar1,crack1,precious1,garand,magda1,zigazaga,321ewq,johnpaul,mama1234,iceman69,sanjeev,treeman,elric,rebell,1thunder,cochon,deamon,zoltan,straycat,uhbyuj,luvfur,mugsy,primer,wonder1,teetime,candycan,pfchfytw,fromage,gitler,salvatio,piggy1,23049307,zafira,chicky,sergeev,katze,bangers,andriy,jailbait,vaz2107,ghbhjlf,dbjktnnf,aqswde,zaratustra,asroma,1pepper,alyss,kkkkk1,ryan1,radish,cozumel,waterpol,pentium1,rosebowl,farmall,steinway,dbrekz,baranov,jkmuf,another1,chinacat,qqqqqqq1,hadrian,devilmaycry4,ratbag,teddy2,love21,pullings,packrat,robyn1,boobo,qw12er34,tribe1,rosey,celestia,nikkie,fortune12,olga123,danthema,gameon,vfrfhjys,dilshod,henry14,jenova,redblue,chimaera,pennywise,sokrates,danimal,qqaazz,fuaqz4,killer2,198200,tbone1,kolyan,wabbit,lewis1,maxtor,egoist,asdfas,spyglass,omegas,jack12,nikitka,esperanz,doozer,matematika,wwwww1,ssssss1,poiu0987,suchka,courtney1,gungho,alpha2,fktyjxrf,summer06,bud420,devildriver,heavyd,saracen,foucault,choclate,rjdfktyrj,goblue1,monaro,jmoney,dcpugh,efbcapa201,qqh92r,pepsicol,bbb747,ch5nmk,honeyb,beszoptad,tweeter,intheass,iseedeadpeople,123dan,89231243658s,farside1,findme,smiley1,55556666,sartre,ytcnjh,kacper,costarica,134679258,mikeys,nolimit9,vova123,withyou,5rxypn,love143,freebie,rescue1,203040,michael6,12monkey,redgreen,steff,itstime,naveen,good12345,acidrain,1dawg,miramar,playas,daddio,orion2,852741,studmuff,kobe24,senha123,stephe,mehmet,allalone,scarface1,helloworld,smith123,blueyes,vitali,memphis1,mybitch,colin1,159874,1dick,podaria,d6wnro,brahms,f3gh65,dfcbkmtd,xxxman,corran,ugejvp,qcfmtz,marusia,totem,arachnid,matrix2,antonell,fgntrf,zemfira,christos,surfing1,naruto123,plato1,56qhxs,madzia,vanille,043aaa,asq321,mutton,ohiostate,golde,cdznjckfd,rhfcysq,green5,elephan,superdog,jacqueli,bollock,lolitas,nick12,1orange,maplelea,july23,argento,waldorf,wolfer,pokemon12,zxcvbnmm,flicka,drexel,outlawz,harrie,atrain,juice2,falcons1,charlie6,19391945,tower1,dragon21,hotdamn,dirtyboy,love4ever,1ginger,thunder2,virgo1,alien1,bubblegu,4wwvte,123456789qqq,realtime,studio54,passss,vasilek,awsome,giorgia,bigbass,2002tii,sunghile,mosdef,simbas,count0,uwrl7c,summer05,lhepmz,ranger21,sugarbea,principe,5550123,tatanka,9638v,cheerios,majere,nomercy,jamesbond007,bh90210,7550055,jobber,karaganda,pongo,trickle,defamer,6chid8,1q2a3z,tuscan,nick123,.adgjm,loveyo,hobbes1,note1234,shootme,171819,loveporn,9788960,monty123,fabrice,macduff,monkey13,shadowfa,tweeker,hanna1,madball,telnet,loveu2,qwedcxzas,thatsit,vfhcbr,ptfe3xxp,gblfhfcs,ddddddd1,hakkinen,liverune,deathsta,misty123,suka123,recon1,inferno1,232629,polecat,sanibel,grouch,hitech,hamradio,rkfdbfnehf,vandam,nadin,fastlane,shlong,iddqdidkfa,ledzeppelin,sexyfeet,098123,stacey1,negras,roofing,lucifer1,ikarus,tgbyhn,melnik,barbaria,montego,twisted1,bigal1,jiggle,darkwolf,acerview,silvio,treetops,bishop1,iwanna,pornsite,happyme,gfccdjhl,114411,veritech,batterse,casey123,yhntgb,mailto,milli,guster,q12345678,coronet,sleuth,fuckmeha,armadill,kroshka,geordie,lastochka,pynchon,killall,tommy123,sasha1996,godslove,hikaru,clticic,cornbrea,vfkmdbyf,passmaster,123123123a,souris,nailer,diabolo,skipjack,martin12,hinata,mof6681,brookie,dogfight,johnso,karpov,326598,rfvbrflpt,travesti,caballer,galaxy1,wotan,antoha,art123,xakep1234,ricflair,pervert1,p00kie,ambulanc,santosh,berserker,larry33,bitch123,a987654321,dogstar,angel22,cjcbcrf,redhouse,toodles,gold123,hotspot,kennedy1,glock21,chosen1,schneide,mainman,taffy1,3ki42x,4zqauf,ranger2,4meonly,year2000,121212a,kfylsi,netzwerk,diese,picasso1,rerecz,225522,dastan,swimmer1,brooke1,blackbea,oneway,ruslana,dont4get,phidelt,chrisp,gjyxbr,xwing,kickme,shimmy,kimmy1,4815162342lost,qwerty5,fcporto,jazzbo,mierd,252627,basses,sr20det,00133,florin,howdy1,kryten,goshen,koufax,cichlid,imhotep,andyman,wrest666,saveme,dutchy,anonymou,semprini,siempre,mocha1,forest11,wildroid,aspen1,sesam,kfgekz,cbhbec,a55555,sigmanu,slash1,giggs11,vatech,marias,candy123,jericho1,kingme,123a123,drakula,cdjkjxm,mercur,oneman,hoseman,plumper,ilovehim,lancers,sergey1,takeshi,goodtogo,cranberr,ghjcnj123,harvick,qazxs,1972chev,horsesho,freedom3,letmein7,saitek,anguss,vfvfgfgfz,300000,elektro,toonporn,999111999q,mamuka,q9umoz,edelweis,subwoofer,bayside,disturbe,volition,lucky3,12345678z,3mpz4r,march1,atlantida,strekoza,seagrams,090909t,yy5rbfsc,jack1234,sammy12,sampras,mark12,eintrach,chaucer,lllll1,nochance,whitepower,197000,lbvekz,passer,torana,12345as,pallas,koolio,12qw34,nokia8800,findout,1thomas,mmmmm1,654987,mihaela,chinaman,superduper,donnas,ringo1,jeroen,gfdkjdf,professo,cdtnrf,tranmere,tanstaaf,himera,ukflbfnjh,667788,alex32,joschi,w123456,okidoki,flatline,papercli,super8,doris1,2good4u,4z34l0ts,pedigree,freeride,gsxr1100,wulfgar,benjie,ferdinan,king1,charlie7,djdxbr,fhntvbq,ripcurl,2wsx1qaz,kingsx,desade,sn00py,loveboat,rottie,evgesha,4money,dolittle,adgjmpt,buzzers,brett1,makita,123123qweqwe,rusalka,sluts1,123456e,jameson1,bigbaby,1z2z3z,ckjybr,love4u,fucker69,erhfbyf,jeanluc,farhad,fishfood,merkin,giant1,golf69,rfnfcnhjaf,camera1,stromb,smoothy,774411,nylon,juice1,rfn.irf,newyor,123456789t,marmot,star11,jennyff,jester1,hisashi,kumquat,alex777,helicopt,merkur,dehpye,cummin,zsmj2v,kristjan,april12,englan,honeypot,badgirls,uzumaki,keines,p12345,guita,quake1,duncan1,juicer,milkbone,hurtme,123456789b,qq123456789,schwein,p3wqaw,54132442,qwertyytrewq,andreeva,ruffryde,punkie,abfkrf,kristinka,anna1987,ooooo1,335533aa,umberto,amber123,456123789,456789123,beelch,manta,peeker,1112131415,3141592654,gipper,wrinkle5,katies,asd123456,james11,78n3s5af,michael0,daboss,jimmyb,hotdog1,david69,852123,blazed,sickan,eljefe,2n6wvq,gobills,rfhfcm,squeaker,cabowabo,luebri,karups,test01,melkor,angel777,smallvil,modano,olorin,4rkpkt,leslie1,koffie,shadows1,littleon,amiga1,topeka,summer20,asterix1,pitstop,aloysius,k12345,magazin,joker69,panocha,pass1word,1233214,ironpony,368ejhih,88keys,pizza123,sonali,57np39,quake2,1234567890qw,1020304,sword1,fynjif,abcde123,dfktyjr,rockys,grendel1,harley12,kokakola,super2,azathoth,lisa123,shelley1,girlss,ibragim,seven1,jeff24,1bigdick,dragan,autobot,t4nvp7,omega123,900000,hecnfv,889988,nitro1,doggie1,fatjoe,811pahc,tommyt,savage1,pallino,smitty1,jg3h4hfn,jamielee,1qazwsx,zx123456,machine1,asdfgh123,guinnes,789520,sharkman,jochen,legend1,sonic2,extreme1,dima12,photoman,123459876,nokian95,775533,vaz2109,april10,becks,repmvf,pooker,qwer12345,themaster,nabeel,monkey10,gogetit,hockey99,bbbbbbb1,zinedine,dolphin2,anelka,1superma,winter01,muggsy,horny2,669966,kuleshov,jesusis,calavera,bullet1,87t5hdf,sleepers,winkie,vespa,lightsab,carine,magister,1spider,shitbird,salavat,becca1,wc18c2,shirak,galactus,zaskar,barkley1,reshma,dogbreat,fullsail,asasa,boeder,12345ta,zxcvbnm12,lepton,elfquest,tony123,vkaxcs,savatage,sevilia1,badkitty,munkey,pebbles1,diciembr,qapmoc,gabriel2,1qa2ws3e,cbcmrb,welldone,nfyufh,kaizen,jack11,manisha,grommit,g12345,maverik,chessman,heythere,mixail,jjjjjjj1,sylvia1,fairmont,harve,skully,global1,youwish,pikachu1,badcat,zombie1,49527843,ultra1,redrider,offsprin,lovebird,153426,stymie,aq1sw2,sorrento,0000001,r3ady41t,webster1,95175,adam123,coonass,159487,slut1,gerasim,monkey99,slutwife,159963,1pass1page,hobiecat,bigtymer,all4you,maggie2,olamide,comcast1,infinit,bailee,vasileva,.ktxrf,asdfghjkl1,12345678912,setter,fuckyou7,nnagqx,lifesuck,draken,austi,feb2000,cable1,1234qwerasdf,hax0red,zxcv12,vlad7788,nosaj,lenovo,underpar,huskies1,lovegirl,feynman,suerte,babaloo,alskdjfhg,oldsmobi,bomber1,redrover,pupuce,methodman,phenom,cutegirl,countyli,gretsch,godisgood,bysunsu,hardhat,mironova,123qwe456rty,rusty123,salut,187211,555666777,11111z,mahesh,rjntyjxtr,br00klyn,dunce1,timebomb,bovine,makelove,littlee,shaven,rizwan,patrick7,42042042,bobbijo,rustem,buttmunc,dongle,tiger69,bluecat,blackhol,shirin,peaces,cherub,cubase,longwood,lotus7,gwju3g,bruin,pzaiu8,green11,uyxnyd,seventee,dragon5,tinkerbel,bluess,bomba,fedorova,joshua2,bodyshop,peluche,gbpacker,shelly1,d1i2m3a4,ghtpbltyn,talons,sergeevna,misato,chrisc,sexmeup,brend,olddog,davros,hazelnut,bridget1,hzze929b,readme,brethart,wild1,ghbdtnbr1,nortel,kinger,royal1,bucky1,allah1,drakkar,emyeuanh,gallaghe,hardtime,jocker,tanman,flavio,abcdef123,leviatha,squid1,skeet,sexse,123456x,mom4u4mm,lilred,djljktq,ocean11,cadaver,baxter1,808state,fighton,primavera,1andrew,moogle,limabean,goddess1,vitalya,blue56,258025,bullride,cicci,1234567d,connor1,gsxr11,oliveoil,leonard1,legsex,gavrik,rjnjgtc,mexicano,2bad4u,goodfellas,ornw6d,mancheste,hawkmoon,zlzfrh,schorsch,g9zns4,bashful,rossi46,stephie,rfhfntkm,sellout,123fuck,stewar1,solnze,00007,thor5200,compaq12,didit,bigdeal,hjlbyf,zebulon,wpf8eu,kamran,emanuele,197500,carvin,ozlq6qwm,3syqo15hil,pennys,epvjb6,asdfghjkl123,198000,nfbcbz,jazzer,asfnhg66,zoloft,albundy,aeiou,getlaid,planet1,gjkbyjxrf,alex2000,brianb,moveon,maggie11,eieio,vcradq,shaggy1,novartis,cocoloco,dunamis,554uzpad,sundrop,1qwertyu,alfie,feliks,briand,123www,red456,addams,fhntv1998,goodhead,theway,javaman,angel01,stratoca,lonsdale,15987532,bigpimpin,skater1,issue43,muffie,yasmina,slowride,crm114,sanity729,himmel,carolcox,bustanut,parabola,masterlo,computador,crackhea,dynastar,rockbott,doggysty,wantsome,bigten,gaelle,juicy1,alaska1,etower,sixnine,suntan,froggies,nokia7610,hunter11,njnets,alicante,buttons1,diosesamo,elizabeth1,chiron,trustnoo,amatuers,tinytim,mechta,sammy2,cthulu,trs8f7,poonam,m6cjy69u35,cookie12,blue25,jordans,santa1,kalinka,mikey123,lebedeva,12345689,kissss,queenbee,vjybnjh,ghostdog,cuckold,bearshare,rjcntyrj,alinochka,ghjcnjrdfibyj,aggie1,teens1,3qvqod,dauren,tonino,hpk2qc,iqzzt580,bears85,nascar88,theboy,njqcw4,masyanya,pn5jvw,intranet,lollone,shadow99,00096462,techie,cvtifhbrb,redeemed,gocanes,62717315,topman,intj3a,cobrajet,antivirus,whyme,berserke,ikilz083,airedale,brandon2,hopkig,johanna1,danil8098,gojira,arthu,vision1,pendragon,milen,chrissie,vampiro,mudder,chris22,blowme69,omega7,surfers,goterps,italy1,baseba11,diego1,gnatsum,birdies,semenov,joker123,zenit2011,wojtek,cab4ma99,watchmen,damia,forgotte,fdm7ed,strummer,freelanc,cingular,orange77,mcdonalds,vjhjpjdf,kariya,tombston,starlet,hawaii1,dantheman,megabyte,nbvjirf,anjing,ybrjkftdbx,hotmom,kazbek,pacific1,sashimi,asd12,coorslig,yvtte545,kitte,elysium,klimenko,cobblers,kamehameha,only4me,redriver,triforce,sidorov,vittoria,fredi,dank420,m1234567,fallout2,989244342a,crazy123,crapola,servus,volvos,1scooter,griffin1,autopass,ownzyou,deviant,george01,2kgwai,boeing74,simhrq,hermosa,hardcor,griffy,rolex1,hackme,cuddles1,master3,bujhtr,aaron123,popolo,blader,1sexyred,gerry1,cronos,ffvdj474,yeehaw,bob1234,carlos2,mike77,buckwheat,ramesh,acls2h,monster2,montess,11qq22ww,lazer,zx123456789,chimpy,masterch,sargon,lochness,archana,1234qwert,hbxfhl,sarahb,altoid,zxcvbn12,dakot,caterham,dolomite,chazz,r29hqq,longone,pericles,grand1,sherbert,eagle3,pudge,irontree,synapse,boome,nogood,summer2,pooki,gangsta1,mahalkit,elenka,lbhtrnjh,dukedog,19922991,hopkins1,evgenia,domino1,x123456,manny1,tabbycat,drake1,jerico,drahcir,kelly2,708090a,facesit,11c645df,mac123,boodog,kalani,hiphop1,critters,hellothere,tbirds,valerka,551scasi,love777,paloalto,mrbrown,duke3d,killa1,arcturus,spider12,dizzy1,smudger,goddog,75395,spammy,1357997531,78678,datalife,zxcvbn123,1122112211,london22,23dp4x,rxmtkp,biggirls,ownsu,lzbs2twz,sharps,geryfe,237081a,golakers,nemesi,sasha1995,pretty1,mittens1,d1lakiss,speedrac,gfhjkmm,sabbat,hellrais,159753258,qwertyuiop123,playgirl,crippler,salma,strat1,celest,hello5,omega5,cheese12,ndeyl5,edward12,soccer3,cheerio,davido,vfrcbr,gjhjctyjr,boscoe,inessa,shithole,ibill,qwepoi,201jedlz,asdlkj,davidk,spawn2,ariel1,michael4,jamie123,romantik,micro1,pittsbur,canibus,katja,muhtar,thomas123,studboy,masahiro,rebrov,patrick8,hotboys,sarge1,1hammer,nnnnn1,eistee,datalore,jackdani,sasha2010,mwq6qlzo,cmfnpu,klausi,cnhjbntkm,andrzej,ilovejen,lindaa,hunter123,vvvvv1,novembe,hamster1,x35v8l,lacey1,1silver,iluvporn,valter,herson,alexsandr,cojones,backhoe,womens,777angel,beatit,klingon1,ta8g4w,luisito,benedikt,maxwel,inspecto,zaq12ws,wladimir,bobbyd,peterj,asdfg12,hellspawn,bitch69,nick1234,golfer23,sony123,jello1,killie,chubby1,kodaira52,yanochka,buckfast,morris1,roaddogg,snakeeye,sex1234,mike22,mmouse,fucker11,dantist,brittan,vfrfhjdf,doc123,plokijuh,emerald1,batman01,serafim,elementa,soccer9,footlong,cthuttdbx,hapkido,eagle123,getsmart,getiton,batman2,masons,mastiff,098890,cfvfhf,james7,azalea,sherif,saun24865709,123red,cnhtrjpf,martina1,pupper,michael5,alan12,shakir,devin1,ha8fyp,palom,mamulya,trippy,deerhunter,happyone,monkey77,3mta3,123456789f,crownvic,teodor,natusik,0137485,vovchik,strutter,triumph1,cvetok,moremone,sonnen,screwbal,akira1,sexnow,pernille,independ,poopies,samapi,kbcbxrf,master22,swetlana,urchin,viper2,magica,slurpee,postit,gilgames,kissarmy,clubpenguin,limpbizk,timber1,celin,lilkim,fuckhard,lonely1,mom123,goodwood,extasy,sdsadee23,foxglove,malibog,clark1,casey2,shell1,odense,balefire,dcunited,cubbie,pierr,solei,161718,bowling1,areyukesc,batboy,r123456,1pionee,marmelad,maynard1,cn42qj,cfvehfq,heathrow,qazxcvbn,connecti,secret123,newfie,xzsawq21,tubitzen,nikusha,enigma1,yfcnz123,1austin,michaelc,splunge,wanger,phantom2,jason2,pain4me,primetime21,babes1,liberte,sugarray,undergro,zonker,labatts,djhjyf,watch1,eagle5,madison2,cntgfirf,sasha2,masterca,fiction7,slick50,bruins1,sagitari,12481632,peniss,insuranc,2b8riedt,12346789,mrclean,ssptx452,tissot,q1w2e3r4t5y6u7,avatar1,comet1,spacer,vbrjkf,pass11,wanker1,14vbqk9p,noshit,money4me,sayana,fish1234,seaways,pipper,romeo123,karens,wardog,ab123456,gorilla1,andrey123,lifesucks,jamesr,4wcqjn,bearman,glock22,matt11,dflbvrf,barbi,maine1,dima1997,sunnyboy,6bjvpe,bangkok1,666666q,rafiki,letmein0,0raziel0,dalla,london99,wildthin,patrycja,skydog,qcactw,tmjxn151,yqlgr667,jimmyd,stripclub,deadwood,863abgsg,horses1,qn632o,scatman,sonia1,subrosa,woland,kolya,charlie4,moleman,j12345,summer11,angel11,blasen,sandal,mynewpas,retlaw,cambria,mustang4,nohack04,kimber45,fatdog,maiden1,bigload,necron,dupont24,ghost123,turbo2,.ktymrf,radagast,balzac,vsevolod,pankaj,argentum,2bigtits,mamabear,bumblebee,mercury7,maddie1,chomper,jq24nc,snooky,pussylic,1lovers,taltos,warchild,diablo66,jojo12,sumerki,aventura,gagger,annelies,drumset,cumshots,azimut,123580,clambake,bmw540,birthday54,psswrd,paganini,wildwest,filibert,teaseme,1test,scampi,thunder5,antosha,purple12,supersex,hhhhhh1,brujah,111222333a,13579a,bvgthfnjh,4506802a,killians,choco,qqqwwweee,raygun,1grand,koetsu13,sharp1,mimi92139,fastfood,idontcare,bluered,chochoz,4z3al0ts,target1,sheffiel,labrat,stalingrad,147123,cubfan,corvett1,holden1,snapper1,4071505,amadeo,pollo,desperados,lovestory,marcopolo,mumbles,familyguy,kimchee,marcio,support1,tekila,shygirl1,trekkie,submissi,ilaria,salam,loveu,wildstar,master69,sales1,netware,homer2,arseniy,gerrity1,raspberr,atreyu,stick1,aldric,tennis12,matahari,alohomora,dicanio,michae1,michaeld,666111,luvbug,boyscout,esmerald,mjordan,admiral1,steamboa,616913,ybhdfyf,557711,555999,sunray,apokalipsis,theroc,bmw330,buzzy,chicos,lenusik,shadowma,eagles05,444222,peartree,qqq123,sandmann,spring1,430799,phatass,andi03,binky1,arsch,bamba,kenny123,fabolous,loser123,poop12,maman,phobos,tecate,myxworld4,metros,cocorico,nokia6120,johnny69,hater,spanked,313233,markos,love2011,mozart1,viktoriy,reccos,331234,hornyone,vitesse,1um83z,55555q,proline,v12345,skaven,alizee,bimini,fenerbahce,543216,zaqqaz,poi123,stabilo,brownie1,1qwerty1,dinesh,baggins1,1234567t,davidkin,friend1,lietuva,octopuss,spooks,12345qq,myshit,buttface,paradoxx,pop123,golfin,sweet69,rfghbp,sambuca,kayak1,bogus1,girlz,dallas12,millers,123456zx,operatio,pravda,eternal1,chase123,moroni,proust,blueduck,harris1,redbarch,996699,1010101,mouche,millenni,1123456,score1,1234565,1234576,eae21157,dave12,pussyy,gfif1991,1598741,hoppy,darrian,snoogins,fartface,ichbins,vfkbyrf,rusrap,2741001,fyfrjylf,aprils,favre,thisis,bannana,serval,wiggum,satsuma,matt123,ivan123,gulmira,123zxc123,oscar2,acces,annie2,dragon0,emiliano,allthat,pajaro,amandine,rawiswar,sinead,tassie,karma1,piggys,nokias,orions,origami,type40,mondo,ferrets,monker,biteme2,gauntlet,arkham,ascona,ingram01,klem1,quicksil,bingo123,blue66,plazma,onfire,shortie,spjfet,123963,thered,fire777,lobito,vball,1chicken,moosehea,elefante,babe23,jesus12,parallax,elfstone,number5,shrooms,freya,hacker1,roxette,snoops,number7,fellini,dtlmvf,chigger,mission1,mitsubis,kannan,whitedog,james01,ghjgecr,rfnfgekmnf,everythi,getnaked,prettybo,sylvan,chiller,carrera4,cowbo,biochem,azbuka,qwertyuiop1,midnight1,informat,audio1,alfred1,0range,sucker1,scott2,russland,1eagle,torben,djkrjlfd,rocky6,maddy1,bonobo,portos,chrissi,xjznq5,dexte,vdlxuc,teardrop,pktmxr,iamtheone,danijela,eyphed,suzuki1,etvww4,redtail,ranger11,mowerman,asshole2,coolkid,adriana1,bootcamp,longcut,evets,npyxr5,bighurt,bassman1,stryder,giblet,nastja,blackadd,topflite,wizar,cumnow,technolo,bassboat,bullitt,kugm7b,maksimus,wankers,mine12,sunfish,pimpin1,shearer9,user1,vjzgjxnf,tycobb,80070633pc,stanly,vitaly,shirley1,cinzia,carolyn1,angeliqu,teamo,qdarcv,aa123321,ragdoll,bonit,ladyluck,wiggly,vitara,jetbalance,12345600,ozzman,dima12345,mybuddy,shilo,satan66,erebus,warrio,090808qwe,stupi,bigdan,paul1234,chiapet,brooks1,philly1,dually,gowest,farmer1,1qa2ws3ed4rf,alberto1,beachboy,barne,aa12345,aliyah,radman,benson1,dfkthbq,highball,bonou2,i81u812,workit,darter,redhook,csfbr5yy,buttlove,episode1,ewyuza,porthos,lalal,abcd12,papero,toosexy,keeper1,silver7,jujitsu,corset,pilot123,simonsay,pinggolf,katerinka,kender,drunk1,fylhjvtlf,rashmi,nighthawk,maggy,juggernaut,larryb,cabibble,fyabcf,247365,gangstar,jaybee,verycool,123456789qw,forbidde,prufrock,12345zxc,malaika,blackbur,docker,filipe,koshechka,gemma1,djamaal,dfcbkmtdf,gangst,9988aa,ducks1,pthrfkj,puertorico,muppets,griffins,whippet,sauber,timofey,larinso,123456789zxc,quicken,qsefth,liteon,headcase,bigdadd,zxc321,maniak,jamesc,bassmast,bigdogs,1girls,123xxx,trajan,lerochka,noggin,mtndew,04975756,domin,wer123,fumanchu,lambada,thankgod,june22,kayaking,patchy,summer10,timepass,poiu1234,kondor,kakka,lament,zidane10,686xqxfg,l8v53x,caveman1,nfvthkfy,holymoly,pepita,alex1996,mifune,fighter1,asslicker,jack22,abc123abc,zaxxon,midnigh,winni,psalm23,punky,monkey22,password13,mymusic,justyna,annushka,lucky5,briann,495rus19,withlove,almaz,supergir,miata,bingbong,bradpitt,kamasutr,yfgjktjy,vanman,pegleg,amsterdam1,123a321,letmein9,shivan,korona,bmw520,annette1,scotsman,gandal,welcome12,sc00by,qpwoei,fred69,m1sf1t,hamburg1,1access,dfkmrbhbz,excalibe,boobies1,fuckhole,karamel,starfuck,star99,breakfas,georgiy,ywvxpz,smasher,fatcat1,allanon,12345n,coondog,whacko,avalon1,scythe,saab93,timon,khorne,atlast,nemisis,brady12,blenheim,52678677,mick7278,9skw5g,fleetwoo,ruger1,kissass,pussy7,scruff,12345l,bigfun,vpmfsz,yxkck878,evgeny,55667788,lickher,foothill,alesis,poppies,77777778,californi,mannie,bartjek,qhxbij,thehulk,xirt2k,angelo4ek,rfkmrekznjh,tinhorse,1david,sparky12,night1,luojianhua,bobble,nederland,rosemari,travi,minou,ciscokid,beehive,565hlgqo,alpine1,samsung123,trainman,xpress,logistic,vw198m2n,hanter,zaqwsx123,qwasz,mariachi,paska,kmg365,kaulitz,sasha12,north1,polarbear,mighty1,makeksa11,123456781,one4all,gladston,notoriou,polniypizdec110211,gosia,grandad,xholes,timofei,invalidp,speaker1,zaharov,maggiema,loislane,gonoles,br5499,discgolf,kaskad,snooper,newman1,belial,demigod,vicky1,pridurok,alex1990,tardis1,cruzer,hornie,sacramen,babycat,burunduk,mark69,oakland1,me1234,gmctruck,extacy,sexdog,putang,poppen,billyd,1qaz2w,loveable,gimlet,azwebitalia,ragtop,198500,qweas,mirela,rock123,11bravo,sprewell,tigrenok,jaredleto,vfhbif,blue2,rimjob,catwalk,sigsauer,loqse,doromich,jack01,lasombra,jonny5,newpassword,profesor,garcia1,123as123,croucher,demeter,4_life,rfhfvtkm,superman2,rogues,assword1,russia1,jeff1,mydream,z123456789,rascal1,darre,kimberl,pickle1,ztmfcq,ponchik,lovesporn,hikari,gsgba368,pornoman,chbjun,choppy,diggity,nightwolf,viktori,camar,vfhecmrf,alisa1,minstrel,wishmaster,mulder1,aleks,gogirl,gracelan,8womys,highwind,solstice,dbrnjhjdyf,nightman,pimmel,beertje,ms6nud,wwfwcw,fx3tuo,poopface,asshat,dirtyd,jiminy,luv2fuck,ptybnxtvgbjy,dragnet,pornogra,10inch,scarlet1,guido1,raintree,v123456,1aaaaaaa,maxim1935,hotwater,gadzooks,playaz,harri,brando1,defcon1,ivanna,123654a,arsenal2,candela,nt5d27,jaime1,duke1,burton1,allstar1,dragos,newpoint,albacore,1236987z,verygoodbot,1wildcat,fishy1,ptktysq,chris11,puschel,itdxtyrj,7kbe9d,serpico,jazzie,1zzzzz,kindbuds,wenef45313,1compute,tatung,sardor,gfyfcjybr,test99,toucan,meteora,lysander,asscrack,jowgnx,hevnm4,suckthis,masha123,karinka,marit,oqglh565,dragon00,vvvbbb,cheburashka,vfrfrf,downlow,unforgiven,p3e85tr,kim123,sillyboy,gold1,golfvr6,quicksan,irochka,froglegs,shortsto,caleb1,tishka,bigtitts,smurfy,bosto,dropzone,nocode,jazzbass,digdug,green7,saltlake,therat,dmitriev,lunita,deaddog,summer0,1212qq,bobbyg,mty3rh,isaac1,gusher,helloman,sugarbear,corvair,extrem,teatime,tujazopi,titanik,efyreg,jo9k2jw2,counchac,tivoli,utjvtnhbz,bebit,jacob6,clayton1,incubus1,flash123,squirter,dima2010,cock1,rawks,komatsu,forty2,98741236,cajun1,madelein,mudhoney,magomed,q111111,qaswed,consense,12345b,bakayaro,silencer,zoinks,bigdic,werwolf,pinkpuss,96321478,alfie1,ali123,sarit,minette,musics,chato,iaapptfcor,cobaka,strumpf,datnigga,sonic123,yfnecbr,vjzctvmz,pasta1,tribbles,crasher,htlbcrf,1tiger,shock123,bearshar,syphon,a654321,cubbies1,jlhanes,eyespy,fucktheworld,carrie1,bmw325is,suzuk,mander,dorina,mithril,hondo1,vfhnbyb,sachem,newton1,12345x,7777755102q,230857z,xxxsex,scubapro,hayastan,spankit,delasoul,searock6,fallout3,nilrem,24681357,pashka,voluntee,pharoh,willo,india1,badboy69,roflmao,gunslinger,lovergir,mama12,melange,640xwfkv,chaton,darkknig,bigman1,aabbccdd,harleyd,birdhouse,giggsy,hiawatha,tiberium,joker7,hello1234,sloopy,tm371855,greendog,solar1,bignose,djohn11,espanol,oswego,iridium,kavitha,pavell,mirjam,cyjdsvujljv,alpha5,deluge,hamme,luntik,turismo,stasya,kjkbnf,caeser,schnecke,tweety1,tralfaz,lambrett,prodigy1,trstno1,pimpshit,werty1,karman,bigboob,pastel,blackmen,matthew8,moomin,q1w2e,gilly,primaver,jimmyg,house2,elviss,15975321,1jessica,monaliza,salt55,vfylfhbyrf,harley11,tickleme,murder1,nurgle,kickass1,theresa1,fordtruck,pargolf,managua,inkognito,sherry1,gotit,friedric,metro2033,slk230,freeport,cigarett,492529,vfhctkm,thebeach,twocats,bakugan,yzerman1,charlieb,motoko,skiman,1234567w,pussy3,love77,asenna,buffie,260zntpc,kinkos,access20,mallard1,fuckyou69,monami,rrrrr1,bigdog69,mikola,1boomer,godzila,ginger2,dima2000,skorpion39,dima1234,hawkdog79,warrior2,ltleirf,supra1,jerusale,monkey01,333z333,666888,kelsey1,w8gkz2x1,fdfnfh,msnxbi,qwe123rty,mach1,monkey3,123456789qq,c123456,nezabudka,barclays,nisse,dasha1,12345678987654321,dima1993,oldspice,frank2,rabbitt,prettyboy,ov3ajy,iamthema,kawasak,banjo1,gtivr6,collants,gondor,hibees,cowboys2,codfish,buster2,purzel,rubyred,kayaker,bikerboy,qguvyt,masher,sseexx,kenshiro,moonglow,semenova,rosari,eduard1,deltaforce,grouper,bongo1,tempgod,1taylor,goldsink,qazxsw1,1jesus,m69fg2w,maximili,marysia,husker1,kokanee,sideout,googl,south1,plumber1,trillian,00001,1357900,farkle,1xxxxx,pascha,emanuela,bagheera,hound1,mylov,newjersey,swampfox,sakic19,torey,geforce,wu4etd,conrail,pigman,martin2,ber02,nascar2,angel69,barty,kitsune,cornet,yes90125,goomba,daking,anthea,sivart,weather1,ndaswf,scoubidou,masterchief,rectum,3364068,oranges1,copter,1samanth,eddies,mimoza,ahfywbz,celtic88,86mets,applemac,amanda11,taliesin,1angel,imhere,london11,bandit12,killer666,beer1,06225930,psylocke,james69,schumach,24pnz6kc,endymion,wookie1,poiu123,birdland,smoochie,lastone,rclaki,olive1,pirat,thunder7,chris69,rocko,151617,djg4bb4b,lapper,ajcuivd289,colole57,shadow7,dallas21,ajtdmw,executiv,dickies,omegaman,jason12,newhaven,aaaaaas,pmdmscts,s456123789,beatri,applesauce,levelone,strapon,benladen,creaven,ttttt1,saab95,f123456,pitbul,54321a,sex12345,robert3,atilla,mevefalkcakk,1johnny,veedub,lilleke,nitsuj,5t6y7u8i,teddys,bluefox,nascar20,vwjetta,buffy123,playstation3,loverr,qweasd12,lover2,telekom,benjamin1,alemania,neutrino,rockz,valjean,testicle,trinity3,realty,firestarter,794613852,ardvark,guadalup,philmont,arnold1,holas,zw6syj,birthday299,dover1,sexxy1,gojets,741236985,cance,blue77,xzibit,qwerty88,komarova,qweszxc,footer,rainger,silverst,ghjcnb,catmando,tatooine,31217221027711,amalgam,69dude,qwerty321,roscoe1,74185,cubby,alfa147,perry1,darock,katmandu,darknight,knicks1,freestuff,45454,kidman,4tlved,axlrose,cutie1,quantum1,joseph10,ichigo,pentium3,rfhectkm,rowdy1,woodsink,justforfun,sveta123,pornografia,mrbean,bigpig,tujheirf,delta9,portsmou,hotbod,kartal,10111213,fkbyf001,pavel1,pistons1,necromancer,verga,c7lrwu,doober,thegame1,hatesyou,sexisfun,1melissa,tuczno18,bowhunte,gobama,scorch,campeon,bruce2,fudge1,herpderp,bacon1,redsky,blackeye,19966991,19992000,ripken8,masturba,34524815,primax,paulina1,vp6y38,427cobra,4dwvjj,dracon,fkg7h4f3v6,longview,arakis,panama1,honda2,lkjhgfdsaz,razors,steels,fqkw5m,dionysus,mariajos,soroka,enriqu,nissa,barolo,king1234,hshfd4n279,holland1,flyer1,tbones,343104ky,modems,tk421,ybrbnrf,pikapp,sureshot,wooddoor,florida2,mrbungle,vecmrf,catsdogs,axolotl,nowayout,francoi,chris21,toenail,hartland,asdjkl,nikkii,onlyyou,buckskin,fnord,flutie,holen1,rincewind,lefty1,ducky1,199000,fvthbrf,redskin1,ryno23,lostlove,19mtpgam19,abercrom,benhur,jordan11,roflcopter,ranma,phillesh,avondale,igromania,p4ssword,jenny123,tttttt1,spycams,cardigan,2112yyz,sleepy1,paris123,mopars,lakers34,hustler1,james99,matrix3,popimp,12pack,eggbert,medvedev,testit,performa,logitec,marija,sexybeast,supermanboy,iwantit,rjktcj,jeffer,svarog,halo123,whdbtp,nokia3230,heyjoe,marilyn1,speeder,ibxnsm,prostock,bennyboy,charmin,codydog,parol999,ford9402,jimmer,crayola,159357258,alex77,joey1,cayuga,phish420,poligon,specops,tarasova,caramelo,draconis,dimon,cyzkhw,june29,getbent,1guitar,jimjam,dictiona,shammy,flotsam,0okm9ijn,crapper,technic,fwsadn,rhfdxtyrj,zaq11qaz,anfield1,159753q,curious1,hip-hop,1iiiii,gfhjkm2,cocteau,liveevil,friskie,crackhead,b1afra,elektrik,lancer1,b0ll0cks,jasond,z1234567,tempest1,alakazam,asdfasd,duffy1,oneday,dinkle,qazedctgb,kasimir,happy7,salama,hondaciv,nadezda,andretti,cannondale,sparticu,znbvjd,blueice,money01,finster,eldar,moosie,pappa,delta123,neruda,bmw330ci,jeanpaul,malibu1,alevtina,sobeit,travolta,fullmetal,enamorad,mausi,boston12,greggy,smurf1,ratrace,ichiban,ilovepus,davidg,wolf69,villa1,cocopuff,football12,starfury,zxc12345,forfree,fairfiel,dreams1,tayson,mike2,dogday,hej123,oldtimer,sanpedro,clicker,mollycat,roadstar,golfe,lvbnhbq1,topdevice,a1b2c,sevastopol,calli,milosc,fire911,pink123,team3x,nolimit5,snickers1,annies,09877890,jewel1,steve69,justin11,autechre,killerbe,browncow,slava1,christer,fantomen,redcloud,elenberg,beautiful1,passw0rd1,nazira,advantag,cockring,chaka,rjpzdrf,99941,az123456,biohazar,energie,bubble1,bmw323,tellme,printer1,glavine,1starwar,coolbeans,april17,carly1,quagmire,admin2,djkujuhfl,pontoon,texmex,carlos12,thermo,vaz2106,nougat,bob666,1hockey,1john,cricke,qwerty10,twinz,totalwar,underwoo,tijger,lildevil,123q321,germania,freddd,1scott,beefy,5t4r3e2w1q,fishbait,nobby,hogger,dnstuff,jimmyc,redknapp,flame1,tinfloor,balla,nfnfhby,yukon1,vixens,batata,danny123,1zxcvbnm,gaetan,homewood,greats,tester1,green99,1fucker,sc0tland,starss,glori,arnhem,goatman,1234asd,supertra,bill123,elguapo,sexylegs,jackryan,usmc69,innow,roaddog,alukard,winter11,crawler,gogiants,rvd420,alessandr,homegrow,gobbler,esteba,valeriy,happy12,1joshua,hawking,sicnarf,waynes,iamhappy,bayadera,august2,sashas,gotti,dragonfire,pencil1,halogen,borisov,bassingw,15975346,zachar,sweetp,soccer99,sky123,flipyou,spots3,xakepy,cyclops1,dragon77,rattolo58,motorhea,piligrim,helloween,dmb2010,supermen,shad0w,eatcum,sandokan,pinga,ufkfrnbrf,roksana,amista,pusser,sony1234,azerty1,1qasw2,ghbdt,q1w2e3r4t5y6u7i8,ktutylf,brehznev,zaebali,shitass,creosote,gjrtvjy,14938685,naughtyboy,pedro123,21crack,maurice1,joesakic,nicolas1,matthew9,lbyfhf,elocin,hfcgbplzq,pepper123,tiktak,mycroft,ryan11,firefly1,arriva,cyecvevhbr,loreal,peedee,jessica8,lisa01,anamari,pionex,ipanema,airbag,frfltvbz,123456789aa,epwr49,casper12,sweethear,sanandreas,wuschel,cocodog,france1,119911,redroses,erevan,xtvgbjy,bigfella,geneve,volvo850,evermore,amy123,moxie,celebs,geeman,underwor,haslo1,joy123,hallow,chelsea0,12435687,abarth,12332145,tazman1,roshan,yummie,genius1,chrisd,ilovelife,seventy7,qaz1wsx2,rocket88,gaurav,bobbyboy,tauchen,roberts1,locksmit,masterof,www111,d9ungl,volvos40,asdasd1,golfers,jillian1,7xm5rq,arwpls4u,gbhcf2,elloco,football2,muerte,bob101,sabbath1,strider1,killer66,notyou,lawnboy,de7mdf,johnnyb,voodoo2,sashaa,homedepo,bravos,nihao123,braindea,weedhead,rajeev,artem1,camille1,rockss,bobbyb,aniston,frnhbcf,oakridge,biscayne,cxfcnm,dressage,jesus3,kellyann,king69,juillet,holliste,h00ters,ripoff,123645,1999ar,eric12,123777,tommi,dick12,bilder,chris99,rulezz,getpaid,chicubs,ender1,byajhvfnbrf,milkshak,sk8board,freakshow,antonella,monolit,shelb,hannah01,masters1,pitbull1,1matthew,luvpussy,agbdlcid,panther2,alphas,euskadi,8318131,ronnie1,7558795,sweetgirl,cookie59,sequoia,5552555,ktyxbr,4500455,money7,severus,shinobu,dbityrf,phisig,rogue2,fractal,redfred,sebastian1,nelli,b00mer,cyberman,zqjphsyf6ctifgu,oldsmobile,redeemer,pimpi,lovehurts,1slayer,black13,rtynfdh,airmax,g00gle,1panther,artemon,nopasswo,fuck1234,luke1,trinit,666000,ziadma,oscardog,davex,hazel1,isgood,demond,james5,construc,555551,january2,m1911a1,flameboy,merda,nathan12,nicklaus,dukester,hello99,scorpio7,leviathan,dfcbktr,pourquoi,vfrcbv123,shlomo,rfcgth,rocky3,ignatz,ajhneyf,roger123,squeek,4815162342a,biskit,mossimo,soccer21,gridlock,lunker,popstar,ghhh47hj764,chutney,nitehawk,vortec,gamma1,codeman,dragula,kappasig,rainbow2,milehigh,blueballs,ou8124me,rulesyou,collingw,mystere,aster,astrovan,firetruck,fische,crawfish,hornydog,morebeer,tigerpaw,radost,144000,1chance,1234567890qwe,gracie1,myopia,oxnard,seminoles,evgeni,edvard,partytim,domani,tuffy1,jaimatadi,blackmag,kzueirf,peternor,mathew1,maggie12,henrys,k1234567,fasted,pozitiv,cfdtkbq,jessica7,goleafs,bandito,girl78,sharingan,skyhigh,bigrob,zorros,poopers,oldschoo,pentium2,gripper,norcal,kimba,artiller,moneymak,00197400,272829,shadow1212,thebull,handbags,all4u2c,bigman2,civics,godisgoo,section8,bandaid,suzanne1,zorba,159123,racecars,i62gbq,rambo123,ironroad,johnson2,knobby,twinboys,sausage1,kelly69,enter2,rhjirf,yessss,james12,anguilla,boutit,iggypop,vovochka,06060,budwiser,romuald,meditate,good1,sandrin,herkules,lakers8,honeybea,11111111a,miche,rangers9,lobster1,seiko,belova,midcon,mackdadd,bigdaddy1,daddie,sepultur,freddy12,damon1,stormy1,hockey2,bailey12,hedimaptfcor,dcowboys,sadiedog,thuggin,horny123,josie1,nikki2,beaver69,peewee1,mateus,viktorija,barrys,cubswin1,matt1234,timoxa,rileydog,sicilia,luckycat,candybar,julian1,abc456,pussylip,phase1,acadia,catty,246800,evertonf,bojangle,qzwxec,nikolaj,fabrizi,kagome,noncapa0,marle,popol,hahaha1,cossie,carla10,diggers,spankey,sangeeta,cucciolo,breezer,starwar1,cornholio,rastafari,spring99,yyyyyyy1,webstar,72d5tn,sasha1234,inhouse,gobuffs,civic1,redstone,234523,minnie1,rivaldo,angel5,sti2000,xenocide,11qq11,1phoenix,herman1,holly123,tallguy,sharks1,madri,superbad,ronin,jalal123,hardbody,1234567r,assman1,vivahate,buddylee,38972091,bonds25,40028922,qrhmis,wp2005,ceejay,pepper01,51842543,redrum1,renton,varadero,tvxtjk7r,vetteman,djhvbrc,curly1,fruitcak,jessicas,maduro,popmart,acuari,dirkpitt,buick1,bergerac,golfcart,pdtpljxrf,hooch1,dudelove,d9ebk7,123452000,afdjhbn,greener,123455432,parachut,mookie12,123456780,jeepcj5,potatoe,sanya,qwerty2010,waqw3p,gotika,freaky1,chihuahu,buccanee,ecstacy,crazyboy,slickric,blue88,fktdnbyf,2004rj,delta4,333222111,calient,ptbdhw,1bailey,blitz1,sheila1,master23,hoagie,pyf8ah,orbita,daveyboy,prono1,delta2,heman,1horny,tyrik123,ostrov,md2020,herve,rockfish,el546218,rfhbyjxrf,chessmaster,redmoon,lenny1,215487,tomat,guppy,amekpass,amoeba,my3girls,nottingh,kavita,natalia1,puccini,fabiana,8letters,romeos,netgear,casper2,taters,gowings,iforgot1,pokesmot,pollit,lawrun,petey1,rosebuds,007jr,gthtcnhjqrf,k9dls02a,neener,azertyu,duke11,manyak,tiger01,petros,supermar,mangas,twisty,spotter,takagi,dlanod,qcmfd454,tusymo,zz123456,chach,navyblue,gilbert1,2kash6zq,avemaria,1hxboqg2s,viviane,lhbjkjubz2957704,nowwowtg,1a2b3c4,m0rn3,kqigb7,superpuper,juehtw,gethigh,theclown,makeme,pradeep,sergik,deion21,nurik,devo2706,nbvibt,roman222,kalima,nevaeh,martin7,anathema,florian1,tamwsn3sja,dinmamma,133159,123654q,slicks,pnp0c08,yojimbo,skipp,kiran,pussyfuck,teengirl,apples12,myballs,angeli,1234a,125678,opelastra,blind1,armagedd,fish123,pitufo,chelseaf,thedevil,nugget1,cunt69,beetle1,carter15,apolon,collant,password00,fishboy,djkrjdf,deftone,celti,three11,cyrus1,lefthand,skoal1,ferndale,aries1,fred01,roberta1,chucks,cornbread,lloyd1,icecrea,cisco123,newjerse,vfhrbpf,passio,volcom1,rikimaru,yeah11,djembe,facile,a1l2e3x4,batman7,nurbol,lorenzo1,monica69,blowjob1,998899,spank1,233391,n123456,1bear,bellsout,999998,celtic67,sabre1,putas,y9enkj,alfabeta,heatwave,honey123,hard4u,insane1,xthysq,magnum1,lightsaber,123qweqwe,fisher1,pixie1,precios,benfic,thegirls,bootsman,4321rewq,nabokov,hightime,djghjc,1chelsea,junglist,august16,t3fkvkmj,1232123,lsdlsd12,chuckie1,pescado,granit,toogood,cathouse,natedawg,bmw530,123kid,hajime,198400,engine1,wessonnn,kingdom1,novembre,1rocks,kingfisher,qwerty89,jordan22,zasranec,megat,sucess,installutil,fetish01,yanshi1982,1313666,1314520,clemence,wargod,time1,newzealand,snaker,13324124,cfrehf,hepcat,mazahaka,bigjay,denisov,eastwest,1yellow,mistydog,cheetos,1596357,ginger11,mavrik,bubby1,bhbyf,pyramide,giusepp,luthien,honda250,andrewjackie,kentavr,lampoon,zaq123wsx,sonicx,davidh,1ccccc,gorodok,windsong,programm,blunt420,vlad1995,zxcvfdsa,tarasov,mrskin,sachas,mercedes1,koteczek,rawdog,honeybear,stuart1,kaktys,richard7,55555n,azalia,hockey10,scouter,francy,1xxxxxx,julie456,tequilla,penis123,schmoe,tigerwoods,1ferrari,popov,snowdrop,matthieu,smolensk,cornflak,jordan01,love2000,23wesdxc,kswiss,anna2000,geniusnet,baby2000,33ds5x,waverly,onlyone4,networkingpe,raven123,blesse,gocards,wow123,pjflkork,juicey,poorboy,freeee,billybo,shaheen,zxcvbnm.,berlit,truth1,gepard,ludovic,gunther1,bobby2,bob12345,sunmoon,septembr,bigmac1,bcnjhbz,seaking,all4u,12qw34er56ty,bassie,nokia5228,7355608,sylwia,charvel,billgate,davion,chablis,catsmeow,kjiflrf,amylynn,rfvbkkf,mizredhe,handjob,jasper12,erbol,solara,bagpipe,biffer,notime,erlan,8543852,sugaree,oshkosh,fedora,bangbus,5lyedn,longball,teresa1,bootyman,aleksand,qazwsxedc12,nujbhc,tifosi,zpxvwy,lights1,slowpoke,tiger12,kstate,password10,alex69,collins1,9632147,doglover,baseball2,security1,grunts,orange2,godloves,213qwe879,julieb,1qazxsw23edcvfr4,noidea,8uiazp,betsy1,junior2,parol123,123456zz,piehonkii,kanker,bunky,hingis,reese1,qaz123456,sidewinder,tonedup,footsie,blackpoo,jalapeno,mummy1,always1,josh1,rockyboy,plucky,chicag,nadroj,blarney,blood123,wheaties,packer1,ravens1,mrjones,gfhjkm007,anna2010,awatar,guitar12,hashish,scale1,tomwaits,amrita,fantasma,rfpfym,pass2,tigris,bigair,slicker,sylvi,shilpa,cindylou,archie1,bitches1,poppys,ontime,horney1,camaroz28,alladin,bujhm,cq2kph,alina1,wvj5np,1211123a,tetons,scorelan,concordi,morgan2,awacs,shanty,tomcat14,andrew123,bear69,vitae,fred99,chingy,octane,belgario,fatdaddy,rhodan,password23,sexxes,boomtown,joshua01,war3demo,my2kids,buck1,hot4you,monamour,12345aa,yumiko,parool,carlton1,neverland,rose12,right1,sociald,grouse,brandon0,cat222,alex00,civicex,bintang,malkav,arschloc,dodgeviper,qwerty666,goduke,dante123,boss1,ontheroc,corpsman,love14,uiegu451,hardtail,irondoor,ghjrehfnehf,36460341,konijn,h2slca,kondom25,123456ss,cfytxrf,btnjey,nando,freemail,comander,natas666,siouxsie,hummer1,biomed,dimsum,yankees0,diablo666,lesbian1,pot420,jasonm,glock23,jennyb,itsmine,lena2010,whattheh,beandip,abaddon,kishore,signup,apogee,biteme12,suzieq,vgfun4,iseeyou,rifleman,qwerta,4pussy,hawkman,guest1,june17,dicksuck,bootay,cash12,bassale,ktybyuhfl,leetch,nescafe,7ovtgimc,clapton1,auror,boonie,tracker1,john69,bellas,cabinboy,yonkers,silky1,ladyffesta,drache,kamil1,davidp,bad123,snoopy12,sanche,werthvfy,achille,nefertiti,gerald1,slage33,warszawa,macsan26,mason123,kotopes,welcome8,nascar99,kiril,77778888,hairy1,monito,comicsans,81726354,killabee,arclight,yuo67,feelme,86753099,nnssnn,monday12,88351132,88889999,websters,subito,asdf12345,vaz2108,zvbxrpl,159753456852,rezeda,multimed,noaccess,henrique,tascam,captiva,zadrot,hateyou,sophie12,123123456,snoop1,charlie8,birmingh,hardline,libert,azsxdcf,89172735872,rjpthju,bondar,philips1,olegnaruto,myword,yakman,stardog,banana12,1234567890w,farout,annick,duke01,rfj422,billard,glock19,shaolin1,master10,cinderel,deltaone,manning1,biggreen,sidney1,patty1,goforit1,766rglqy,sevendus,aristotl,armagedo,blumen,gfhfyjz,kazakov,lekbyxxx,accord1,idiota,soccer16,texas123,victoire,ololo,chris01,bobbbb,299792458,eeeeeee1,confiden,07070,clarks,techno1,kayley,stang1,wwwwww1,uuuuu1,neverdie,jasonr,cavscout,481516234,mylove1,shaitan,1qazxcvb,barbaros,123456782000,123wer,thissucks,7seven,227722,faerie,hayduke,dbacks,snorkel,zmxncbv,tiger99,unknown1,melmac,polo1234,sssssss1,1fire,369147,bandung,bluejean,nivram,stanle,ctcnhf,soccer20,blingbli,dirtball,alex2112,183461,skylin,boobman,geronto,brittany1,yyz2112,gizmo69,ktrcec,dakota12,chiken,sexy11,vg08k714,bernadet,1bulldog,beachs,hollyb,maryjoy,margo1,danielle1,chakra,alexand,hullcity,matrix12,sarenna,pablos,antler,supercar,chomsky,german1,airjordan,545ettvy,camaron,flight1,netvideo,tootall,valheru,481516,1234as,skimmer,redcross,inuyash,uthvfy,1012nw,edoardo,bjhgfi,golf11,9379992a,lagarto,socball,boopie,krazy,.adgjmptw,gaydar,kovalev,geddylee,firstone,turbodog,loveee,135711,badbo,trapdoor,opopop11,danny2,max2000,526452,kerry1,leapfrog,daisy2,134kzbip,1andrea,playa1,peekab00,heskey,pirrello,gsewfmck,dimon4ik,puppie,chelios,554433,hypnodanny,fantik,yhwnqc,ghbdtngjrf,anchorag,buffett1,fanta,sappho,024680,vialli,chiva,lucylu,hashem,exbntkm,thema,23jordan,jake11,wildside,smartie,emerica,2wj2k9oj,ventrue,timoth,lamers,baerchen,suspende,boobis,denman85,1adam12,otello,king12,dzakuni,qsawbbs,isgay,porno123,jam123,daytona1,tazzie,bunny123,amaterasu,jeffre,crocus,mastercard,bitchedup,chicago7,aynrand,intel1,tamila,alianza,mulch,merlin12,rose123,alcapone,mircea,loveher,joseph12,chelsea6,dorothy1,wolfgar,unlimite,arturik,qwerty3,paddy1,piramid,linda123,cooool,millie1,warlock1,forgotit,tort02,ilikeyou,avensis,loveislife,dumbass1,clint1,2110se,drlove,olesia,kalinina,sergey123,123423,alicia1,markova,tri5a3,media1,willia1,xxxxxxx1,beercan,smk7366,jesusislord,motherfuck,smacker,birthday5,jbaby,harley2,hyper1,a9387670a,honey2,corvet,gjmptw,rjhjkmbien,apollon,madhuri,3a5irt,cessna17,saluki,digweed,tamia1,yja3vo,cfvlehfr,1111111q,martyna,stimpy1,anjana,yankeemp,jupiler,idkfa,1blue,fromv,afric,3xbobobo,liverp00l,nikon1,amadeus1,acer123,napoleo,david7,vbhjckfdf,mojo69,percy1,pirates1,grunt1,alenushka,finbar,zsxdcf,mandy123,1fred,timewarp,747bbb,druids,julia123,123321qq,spacebar,dreads,fcbarcelona,angela12,anima,christopher1,stargazer,123123s,hockey11,brewski,marlbor,blinker,motorhead,damngood,werthrf,letmein3,moremoney,killer99,anneke,eatit,pilatus,andrew01,fiona1,maitai,blucher,zxgdqn,e5pftu,nagual,panic1,andron,openwide,alphabeta,alison1,chelsea8,fende,mmm666,1shot2,a19l1980,123456@,1black,m1chael,vagner,realgood,maxxx,vekmnbr,stifler,2509mmh,tarkan,sherzod,1234567b,gunners1,artem2010,shooby,sammie1,p123456,piggie,abcde12345,nokia6230,moldir,piter,1qaz3edc,frequenc,acuransx,1star,nikeair,alex21,dapimp,ranjan,ilovegirls,anastasiy,berbatov,manso,21436587,leafs1,106666,angelochek,ingodwetrust,123456aaa,deano,korsar,pipetka,thunder9,minka,himura,installdevic,1qqqqq,digitalprodu,suckmeoff,plonker,headers,vlasov,ktr1996,windsor1,mishanya,garfield1,korvin,littlebit,azaz09,vandamme,scripto,s4114d,passward,britt1,r1chard,ferrari5,running1,7xswzaq,falcon2,pepper76,trademan,ea53g5,graham1,volvos80,reanimator,micasa,1234554321q,kairat,escorpion,sanek94,karolina1,kolovrat,karen2,1qaz@wsx,racing1,splooge,sarah2,deadman1,creed1,nooner,minicoop,oceane,room112,charme,12345ab,summer00,wetcunt,drewman,nastyman,redfire,appels,merlin69,dolfin,bornfree,diskette,ohwell,12345678qwe,jasont,madcap,cobra2,dolemit1,whatthehell,juanit,voldemar,rocke,bianc,elendil,vtufgjkbc,hotwheels,spanis,sukram,pokerface,k1ller,freakout,dontae,realmadri,drumss,gorams,258789,snakey,jasonn,whitewolf,befree,johnny99,pooka,theghost,kennys,vfvektxrf,toby1,jumpman23,deadlock,barbwire,stellina,alexa1,dalamar,mustanggt,northwes,tesoro,chameleo,sigtau,satoshi,george11,hotcum,cornell1,golfer12,geek01d,trololo,kellym,megapolis,pepsi2,hea666,monkfish,blue52,sarajane,bowler1,skeets,ddgirls,hfccbz,bailey01,isabella1,dreday,moose123,baobab,crushme,000009,veryhot,roadie,meanone,mike18,henriett,dohcvtec,moulin,gulnur,adastra,angel9,western1,natura,sweetpe,dtnfkm,marsbar,daisys,frogger1,virus1,redwood1,streetball,fridolin,d78unhxq,midas,michelob,cantik,sk2000,kikker,macanudo,rambone,fizzle,20000,peanuts1,cowpie,stone32,astaroth,dakota01,redso,mustard1,sexylove,giantess,teaparty,bobbin,beerbong,monet1,charles3,anniedog,anna1988,cameleon,longbeach,tamere,qpful542,mesquite,waldemar,12345zx,iamhere,lowboy,canard,granp,daisymay,love33,moosejaw,nivek,ninjaman,shrike01,aaa777,88002000600,vodolei,bambush,falcor,harley69,alphaomega,severine,grappler,bosox,twogirls,gatorman,vettes,buttmunch,chyna,excelsio,crayfish,birillo,megumi,lsia9dnb9y,littlebo,stevek,hiroyuki,firehous,master5,briley2,gangste,chrisk,camaleon,bulle,troyboy,froinlaven,mybutt,sandhya,rapala,jagged,crazycat,lucky12,jetman,wavmanuk,1heather,beegee,negril,mario123,funtime1,conehead,abigai,mhorgan,patagoni,travel1,backspace,frenchfr,mudcat,dashenka,baseball3,rustys,741852kk,dickme,baller23,griffey1,suckmycock,fuhrfzgc,jenny2,spuds,berlin1,justfun,icewind,bumerang,pavlusha,minecraft123,shasta1,ranger12,123400,twisters,buthead,miked,finance1,dignity7,hello9,lvjdp383,jgthfnjh,dalmatio,paparoach,miller31,2bornot2b,fathe,monterre,theblues,satans,schaap,jasmine2,sibelius,manon,heslo,jcnhjd,shane123,natasha2,pierrot,bluecar,iloveass,harriso,red12,london20,job314,beholder,reddawg,fuckyou!,pussylick,bologna1,austintx,ole4ka,blotto,onering,jearly,balbes,lightbul,bighorn,crossfir,lee123,prapor,1ashley,gfhjkm22,wwe123,09090,sexsite,marina123,jagua,witch1,schmoo,parkview,dragon3,chilango,ultimo,abramova,nautique,2bornot2,duende,1arthur,nightwing,surfboar,quant4307,15s9pu03,karina1,shitball,walleye1,wildman1,whytesha,1morgan,my2girls,polic,baranova,berezuckiy,kkkkkk1,forzima,fornow,qwerty02,gokart,suckit69,davidlee,whatnow,edgard,tits1,bayshore,36987412,ghbphfr,daddyy,explore1,zoidberg,5qnzjx,morgane,danilov,blacksex,mickey12,balsam,83y6pv,sarahc,slaye,all4u2,slayer69,nadia1,rlzwp503,4cranker,kaylie,numberon,teremok,wolf12,deeppurple,goodbeer,aaa555,66669999,whatif,harmony1,ue8fpw,3tmnej,254xtpss,dusty197,wcksdypk,zerkalo,dfnheirf,motorol,digita,whoareyou,darksoul,manics,rounders,killer11,d2000lb,cegthgfhjkm,catdog1,beograd,pepsico,julius1,123654987,softbal,killer23,weasel1,lifeson,q123456q,444555666,bunches,andy1,darby1,service01,bear11,jordan123,amega,duncan21,yensid,lerxst,rassvet,bronco2,fortis,pornlove,paiste,198900,asdflkjh,1236547890,futur,eugene1,winnipeg261,fk8bhydb,seanjohn,brimston,matthe1,bitchedu,crisco,302731,roxydog,woodlawn,volgograd,ace1210,boy4u2ownnyc,laura123,pronger,parker12,z123456z,andrew13,longlife,sarang,drogba,gobruins,soccer4,holida,espace,almira,murmansk,green22,safina,wm00022,1chevy,schlumpf,doroth,ulises,golf99,hellyes,detlef,mydog,erkina,bastardo,mashenka,sucram,wehttam,generic1,195000,spaceboy,lopas123,scammer,skynyrd,daddy2,titani,ficker,cr250r,kbnthfnehf,takedown,sticky1,davidruiz,desant,nremtp,painter1,bogies,agamemno,kansas1,smallfry,archi,2b4dnvsx,1player,saddie,peapod,6458zn7a,qvw6n2,gfxqx686,twice2,sh4d0w3d,mayfly,375125,phitau,yqmbevgk,89211375759,kumar1,pfhfpf,toyboy,way2go,7pvn4t,pass69,chipster,spoony,buddycat,diamond3,rincewin,hobie,david01,billbo,hxp4life,matild,pokemon2,dimochka,clown1,148888,jenmt3,cuxldv,cqnwhy,cde34rfv,simone1,verynice,toobig,pasha123,mike00,maria2,lolpop,firewire,dragon9,martesana,a1234567890,birthday3,providen,kiska,pitbulls,556655,misawa,damned69,martin11,goldorak,gunship,glory1,winxclub,sixgun,splodge,agent1,splitter,dome69,ifghjb,eliza1,snaiper,wutang36,phoenix7,666425,arshavin,paulaner,namron,m69fg1w,qwert1234,terrys,zesyrmvu,joeman,scoots,dwml9f,625vrobg,sally123,gostoso,symow8,pelota,c43qpul5rz,majinbuu,lithium1,bigstuff,horndog1,kipelov,kringle,1beavis,loshara,octobe,jmzacf,12342000,qw12qw,runescape1,chargers1,krokus,piknik,jessy,778811,gjvbljh,474jdvff,pleaser,misskitty,breaker1,7f4df451,dayan,twinky,yakumo,chippers,matia,tanith,len2ski1,manni,nichol1,f00b4r,nokia3110,standart,123456789i,shami,steffie,larrywn,chucker,john99,chamois,jjjkkk,penmouse,ktnj2010,gooners,hemmelig,rodney1,merlin01,bearcat1,1yyyyy,159753z,1fffff,1ddddd,thomas11,gjkbyrf,ivanka,f1f2f3,petrovna,phunky,conair,brian2,creative1,klipsch,vbitymrf,freek,breitlin,cecili,westwing,gohabsgo,tippmann,1steve,quattro6,fatbob,sp00ky,rastas,1123581,redsea,rfnmrf,jerky1,1aaaaaa,spk666,simba123,qwert54321,123abcd,beavis69,fyfyfc,starr1,1236547,peanutbutter,sintra,12345abcde,1357246,abcde1,climbon,755dfx,mermaids,monte1,serkan,geilesau,777win,jasonc,parkside,imagine1,rockhead,producti,playhard,principa,spammer,gagher,escada,tsv1860,dbyjuhfl,cruiser1,kennyg,montgome,2481632,pompano,cum123,angel6,sooty,bear01,april6,bodyhamm,pugsly,getrich,mikes,pelusa,fosgate,jasonp,rostislav,kimberly1,128mo,dallas11,gooner1,manuel1,cocacola1,imesh,5782790,password8,daboys,1jones,intheend,e3w2q1,whisper1,madone,pjcgujrat,1p2o3i,jamesp,felicida,nemrac,phikap,firecat,jrcfyjxrf,matt12,bigfan,doedel,005500,jasonx,1234567k,badfish,goosey,utjuhfabz,wilco,artem123,igor123,spike123,jor23dan,dga9la,v2jmsz,morgan12,avery1,dogstyle,natasa,221195ws,twopac,oktober7,karthik,poop1,mightymo,davidr,zermatt,jehova,aezakmi1,dimwit,monkey5,serega123,qwerty111,blabl,casey22,boy123,1clutch,asdfjkl1,hariom,bruce10,jeep95,1smith,sm9934,karishma,bazzzz,aristo,669e53e1,nesterov,kill666,fihdfv,1abc2,anna1,silver11,mojoman,telefono,goeagles,sd3lpgdr,rfhfynby,melinda1,llcoolj,idteul,bigchief,rocky13,timberwo,ballers,gatekeep,kashif,hardass,anastasija,max777,vfuyjkbz,riesling,agent99,kappas,dalglish,tincan,orange3,turtoise,abkbvjy,mike24,hugedick,alabala,geolog,aziza,devilboy,habanero,waheguru,funboy,freedom5,natwest,seashore,impaler,qwaszx1,pastas,bmw535,tecktonik,mika00,jobsearc,pinche,puntang,aw96b6,1corvett,skorpio,foundati,zzr1100,gembird,vfnhjcrby,soccer18,vaz2110,peterp,archer1,cross1,samedi,dima1992,hunter99,lipper,hotbody,zhjckfdf,ducati1,trailer1,04325956,cheryl1,benetton,kononenko,sloneczko,rfgtkmrf,nashua,balalaika,ampere,eliston,dorsai,digge,flyrod,oxymoron,minolta,ironmike,majortom,karimov,fortun,putaria,an83546921an13,blade123,franchis,mxaigtg5,dynxyu,devlt4,brasi,terces,wqmfuh,nqdgxz,dale88,minchia,seeyou,housepen,1apple,1buddy,mariusz,bighouse,tango2,flimflam,nicola1,qwertyasd,tomek1,shumaher,kartoshka,bassss,canaries,redman1,123456789as,preciosa,allblacks,navidad,tommaso,beaudog,forrest1,green23,ryjgjxrf,go4it,ironman2,badnews,butterba,1grizzly,isaeva,rembrand,toront,1richard,bigjon,yfltymrf,1kitty,4ng62t,littlejo,wolfdog,ctvtyjd,spain1,megryan,tatertot,raven69,4809594q,tapout,stuntman,a131313,lagers,hotstuf,lfdbl11,stanley2,advokat,boloto,7894561,dooker,adxel187,cleodog,4play,0p9o8i,masterb,bimota,charlee,toystory,6820055,6666667,crevette,6031769,corsa,bingoo,dima1990,tennis11,samuri,avocado,melissa6,unicor,habari,metart,needsex,cockman,hernan,3891576,3334444,amigo1,gobuffs2,mike21,allianz,2835493,179355,midgard,joey123,oneluv,ellis1,towncar,shonuff,scouse,tool69,thomas19,chorizo,jblaze,lisa1,dima1999,sophia1,anna1989,vfvekbxrf,krasavica,redlegs,jason25,tbontb,katrine,eumesmo,vfhufhbnrf,1654321,asdfghj1,motdepas,booga,doogle,1453145,byron1,158272,kardinal,tanne,fallen1,abcd12345,ufyljy,n12345,kucing,burberry,bodger,1234578,februar,1234512,nekkid,prober,harrison1,idlewild,rfnz90,foiegras,pussy21,bigstud,denzel,tiffany2,bigwill,1234567890zzz,hello69,compute1,viper9,hellspaw,trythis,gococks,dogballs,delfi,lupine,millenia,newdelhi,charlest,basspro,1mike,joeblack,975310,1rosebud,batman11,misterio,fucknut,charlie0,august11,juancho,ilonka,jigei743ks,adam1234,889900,goonie,alicat,ggggggg1,1zzzzzzz,sexywife,northstar,chris23,888111,containe,trojan1,jason5,graikos,1ggggg,1eeeee,tigers01,indigo1,hotmale,jacob123,mishima,richard3,cjxb2014,coco123,meagain,thaman,wallst,edgewood,bundas,1power,matilda1,maradon,hookedup,jemima,r3vi3wpass,2004-10-,mudman,taz123,xswzaq,emerson1,anna21,warlord1,toering,pelle,tgwdvu,masterb8,wallstre,moppel,priora,ghjcnjrdfif,yoland,12332100,1j9e7f6f,jazzzz,yesman,brianm,42qwerty42,12345698,darkmanx,nirmal,john31,bb123456,neuspeed,billgates,moguls,fj1200,hbhlair,shaun1,ghbdfn,305pwzlr,nbu3cd,susanb,pimpdad,mangust6403,joedog,dawidek,gigante,708090,703751,700007,ikalcr,tbivbn,697769,marvi,iyaayas,karen123,jimmyboy,dozer1,e6z8jh,bigtime1,getdown,kevin12,brookly,zjduc3,nolan1,cobber,yr8wdxcq,liebe,m1garand,blah123,616879,action1,600000,sumitomo,albcaz,asian1,557799,dave69,556699,sasa123,streaker,michel1,karate1,buddy7,daulet,koks888,roadtrip,wapiti,oldguy,illini1,1234qq,mrspock,kwiatek,buterfly,august31,jibxhq,jackin,taxicab,tristram,talisker,446655,444666,chrisa,freespace,vfhbfyyf,chevell,444333,notyours,442244,christian1,seemore,sniper12,marlin1,joker666,multik,devilish,crf450,cdfoli,eastern1,asshead,duhast,voyager2,cyberia,1wizard,cybernet,iloveme1,veterok,karandash,392781,looksee,diddy,diabolic,foofight,missey,herbert1,bmw318i,premier1,zsfmpv,eric1234,dun6sm,fuck11,345543,spudman,lurker,bitem,lizzy1,ironsink,minami,339311,s7fhs127,sterne,332233,plankton,galax,azuywe,changepa,august25,mouse123,sikici,killer69,xswqaz,quovadis,gnomik,033028pw,777777a,barrakuda,spawn666,goodgod,slurp,morbius,yelnats,cujo31,norman1,fastone,earwig,aureli,wordlife,bnfkbz,yasmi,austin123,timberla,missy2,legalize,netcom,liljon,takeit,georgin,987654321z,warbird,vitalina,all4u3,mmmmmm1,bichon,ellobo,wahoos,fcazmj,aksarben,lodoss,satnam,vasili,197800,maarten,sam138989,0u812,ankita,walte,prince12,anvils,bestia,hoschi,198300,univer,jack10,ktyecbr,gr00vy,hokie,wolfman1,fuckwit,geyser,emmanue,ybrjkftd,qwerty33,karat,dblock,avocat,bobbym,womersle,1please,nostra,dayana,billyray,alternat,iloveu1,qwerty69,rammstein1,mystikal,winne,drawde,executor,craxxxs,ghjcnjnf,999888777,welshman,access123,963214785,951753852,babe69,fvcnthlfv,****me,666999666,testing2,199200,nintendo64,oscarr,guido8,zhanna,gumshoe,jbird,159357456,pasca,123452345,satan6,mithrand,fhbirf,aa1111aa,viggen,ficktjuv,radial9,davids1,rainbow7,futuro,hipho,platin,poppy123,rhenjq,fulle,rosit,chicano,scrumpy,lumpy1,seifer,uvmrysez,autumn1,xenon,susie1,7u8i9o0p,gamer1,sirene,muffy1,monkeys1,kalinin,olcrackmaster,hotmove,uconn,gshock,merson,lthtdyz,pizzaboy,peggy1,pistache,pinto1,fishka,ladydi,pandor,baileys,hungwell,redboy,rookie1,amanda01,passwrd,clean1,matty1,tarkus,jabba1,bobster,beer30,solomon1,moneymon,sesamo,fred11,sunnysid,jasmine5,thebears,putamadre,workhard,flashbac,counter1,liefde,magnat,corky1,green6,abramov,lordik,univers,shortys,david3,vip123,gnarly,1234567s,billy2,honkey,deathstar,grimmy,govinda,direktor,12345678s,linus1,shoppin,rekbrjdf,santeria,prett,berty75,mohican,daftpunk,uekmyfhf,chupa,strats,ironbird,giants56,salisbur,koldun,summer04,pondscum,jimmyj,miata1,george3,redshoes,weezie,bartman1,0p9o8i7u,s1lver,dorkus,125478,omega9,sexisgood,mancow,patric1,jetta1,074401,ghjuhtcc,gfhjk,bibble,terry2,123213,medicin,rebel2,hen3ry,4freedom,aldrin,lovesyou,browny,renwod,winnie1,belladon,1house,tyghbn,blessme,rfhfrfnbwf,haylee,deepdive,booya,phantasy,gansta,cock69,4mnveh,gazza1,redapple,structur,anakin1,manolito,steve01,poolman,chloe123,vlad1998,qazwsxe,pushit,random123,ontherocks,o236nq,brain1,dimedrol,agape,rovnogod,1balls,knigh,alliso,love01,wolf01,flintstone,beernuts,tuffguy,isengard,highfive,alex23,casper99,rubina,getreal,chinita,italian1,airsoft,qwerty23,muffdiver,willi1,grace123,orioles1,redbull1,chino1,ziggy123,breadman,estefan,ljcneg,gotoit,logan123,wideglid,mancity1,treess,qwe123456,kazumi,qweasdqwe,oddworld,naveed,protos,towson,a801016,godislov,at_asp,bambam1,soccer5,dark123,67vette,carlos123,hoser1,scouser,wesdxc,pelus,dragon25,pflhjn,abdula,1freedom,policema,tarkin,eduardo1,mackdad,gfhjkm11,lfplhfgthvf,adilet,zzzzxxxx,childre,samarkand,cegthgegth,shama,fresher,silvestr,greaser,allout,plmokn,sexdrive,nintendo1,fantasy7,oleander,fe126fd,crumpet,pingzing,dionis,hipster,yfcnz,requin,calliope,jerome1,housecat,abc123456789,doghot,snake123,augus,brillig,chronic1,gfhjkbot,expediti,noisette,master7,caliban,whitetai,favorite3,lisamari,educatio,ghjhjr,saber1,zcegth,1958proman,vtkrbq,milkdud,imajica,thehip,bailey10,hockey19,dkflbdjcnjr,j123456,bernar,aeiouy,gamlet,deltachi,endzone,conni,bcgfybz,brandi1,auckland2010,7653ajl1,mardigra,testuser,bunko18,camaro67,36936,greenie,454dfmcq,6xe8j2z4,mrgreen,ranger5,headhunt,banshee1,moonunit,zyltrc,hello3,pussyboy,stoopid,tigger11,yellow12,drums1,blue02,kils123,junkman,banyan,jimmyjam,tbbucs,sportster,badass1,joshie,braves10,lajolla,1amanda,antani,78787,antero,19216801,chich,rhett32,sarahm,beloit,sucker69,corkey,nicosnn,rccola,caracol,daffyduc,bunny2,mantas,monkies,hedonist,cacapipi,ashton1,sid123,19899891,patche,greekgod,cbr1000,leader1,19977991,ettore,chongo,113311,picass,cfif123,rhtfnbd,frances1,andy12,minnette,bigboy12,green69,alices,babcia,partyboy,javabean,freehand,qawsed123,xxx111,harold1,passwo,jonny1,kappa1,w2dlww3v5p,1merlin,222999,tomjones,jakeman,franken,markhegarty,john01,carole1,daveman,caseys,apeman,mookey,moon123,claret,titans1,residentevil,campari,curitiba,dovetail,aerostar,jackdaniels,basenji,zaq12w,glencoe,biglove,goober12,ncc170,far7766,monkey21,eclipse9,1234567v,vanechka,aristote,grumble,belgorod,abhishek,neworleans,pazzword,dummie,sashadog,diablo11,mst3000,koala1,maureen1,jake99,isaiah1,funkster,gillian1,ekaterina20,chibears,astra123,4me2no,winte,skippe,necro,windows9,vinograd,demolay,vika2010,quiksilver,19371ayj,dollar1,shecky,qzwxecrv,butterfly1,merrill1,scoreland,1crazy,megastar,mandragora,track1,dedhed,jacob2,newhope,qawsedrftgyh,shack1,samvel,gatita,shyster,clara1,telstar,office1,crickett,truls,nirmala,joselito,chrisl,lesnik,aaaabbbb,austin01,leto2010,bubbie,aaa12345,widder,234432,salinger,mrsmith,qazsedcft,newshoes,skunks,yt1300,bmw316,arbeit,smoove,123321qweewq,123qazwsx,22221111,seesaw,0987654321a,peach1,1029384756q,sereda,gerrard8,shit123,batcave,energy1,peterb,mytruck,peter12,alesya,tomato1,spirou,laputaxx,magoo1,omgkremidia,knight12,norton1,vladislava,shaddy,austin11,jlbyjxrf,kbdthgekm,punheta,fetish69,exploiter,roger2,manstein,gtnhjd,32615948worms,dogbreath,ujkjdjkjvrf,vodka1,ripcord,fatrat,kotek1,tiziana,larrybir,thunder3,nbvfnb,9kyq6fge,remembe,likemike,gavin1,shinigam,yfcnfcmz,13245678,jabbar,vampyr,ane4ka,lollipo,ashwin,scuderia,limpdick,deagle,3247562,vishenka,fdhjhf,alex02,volvov70,mandys,bioshock,caraca,tombraider,matrix69,jeff123,13579135,parazit,black3,noway1,diablos,hitmen,garden1,aminor,decembe,august12,b00ger,006900,452073t,schach,hitman1,mariner1,vbnmrf,paint1,742617000027,bitchboy,pfqxjyjr,5681392,marryher,sinnet,malik1,muffin12,aninha,piolin,lady12,traffic1,cbvjyf,6345789,june21,ivan2010,ryan123,honda99,gunny,coorslight,asd321,hunter69,7224763,sonofgod,dolphins1,1dolphin,pavlenko,woodwind,lovelov,pinkpant,gblfhfcbyf,hotel1,justinbiebe,vinter,jeff1234,mydogs,1pizza,boats1,parrothe,shawshan,brooklyn1,cbrown,1rocky,hemi426,dragon64,redwings1,porsches,ghostly,hubbahub,buttnut,b929ezzh,sorokina,flashg,fritos,b7mguk,metatron,treehous,vorpal,8902792,marcu,free123,labamba,chiefs1,zxc123zxc,keli_14,hotti,1steeler,money4,rakker,foxwoods,free1,ahjkjd,sidorova,snowwhit,neptune1,mrlover,trader1,nudelamb,baloo,power7,deltasig,bills1,trevo,7gorwell,nokia6630,nokia5320,madhatte,1cowboys,manga1,namtab,sanjar,fanny1,birdman1,adv12775,carlo1,dude1998,babyhuey,nicole11,madmike,ubvyfpbz,qawsedr,lifetec,skyhook,stalker123,toolong,robertso,ripazha,zippy123,1111111a,manol,dirtyman,analslut,jason3,dutches,minhasenha,cerise,fenrir,jayjay1,flatbush,franka,bhbyjxrf,26429vadim,lawntrax,198700,fritzy,nikhil,ripper1,harami,truckman,nemvxyheqdd5oqxyxyzi,gkfytnf,bugaboo,cableman,hairpie,xplorer,movado,hotsex69,mordred,ohyeah1,patrick3,frolov,katieh,4311111q,mochaj,presari,bigdo,753951852,freedom4,kapitan,tomas1,135795,sweet123,pokers,shagme,tane4ka,sentinal,ufgyndmv,jonnyb,skate123,123456798,123456788,very1,gerrit,damocles,dollarbi,caroline1,lloyds,pizdets,flatland,92702689,dave13,meoff,ajnjuhfabz,achmed,madison9,744744z,amonte,avrillavigne,elaine1,norma1,asseater,everlong,buddy23,cmgang1,trash1,mitsu,flyman,ulugbek,june27,magistr,fittan,sebora64,dingos,sleipnir,caterpil,cindys,212121qaz,partys,dialer,gjytltkmybr,qweqaz,janvier,rocawear,lostboy,aileron,sweety1,everest1,pornman,boombox,potter1,blackdic,44448888,eric123,112233aa,2502557i,novass,nanotech,yourname,x12345,indian1,15975300,1234567l,carla51,chicago0,coleta,cxzdsaewq,qqwweerr,marwan,deltic,hollys,qwerasd,pon32029,rainmake,nathan0,matveeva,legioner,kevink,riven,tombraid,blitzen,a54321,jackyl,chinese1,shalimar,oleg1995,beaches1,tommylee,eknock,berli,monkey23,badbob,pugwash,likewhoa,jesus2,yujyd360,belmar,shadow22,utfp5e,angelo1,minimax,pooder,cocoa1,moresex,tortue,lesbia,panthe,snoopy2,drumnbass,alway,gmcz71,6jhwmqku,leppard,dinsdale,blair1,boriqua,money111,virtuagirl,267605,rattlesn,1sunshin,monica12,veritas1,newmexic,millertime,turandot,rfvxfnrf,jaydog,kakawka,bowhunter,booboo12,deerpark,erreway,taylorma,rfkbybyf,wooglin,weegee,rexdog,iamhorny,cazzo1,vhou812,bacardi1,dctktyyfz,godpasi,peanut12,bertha1,fuckyoubitch,ghosty,altavista,jertoot,smokeit,ghjcnbvtyz,fhnehxbr,rolsen,qazxcdews,maddmaxx,redrocke,qazokm,spencer2,thekiller,asdf11,123sex,tupac1,p1234567,dbrown,1biteme,tgo4466,316769,sunghi,shakespe,frosty1,gucci1,arcana,bandit01,lyubov,poochy,dartmout,magpies1,sunnyd,mouseman,summer07,chester7,shalini,danbury,pigboy,dave99,deniss,harryb,ashley11,pppppp1,01081988m,balloon1,tkachenko,bucks1,master77,pussyca,tricky1,zzxxccvv,zoulou,doomer,mukesh,iluv69,supermax,todays,thefox,don123,dontask,diplom,piglett,shiney,fahbrf,qaz12wsx,temitope,reggin,project1,buffy2,inside1,lbpfqyth,vanilla1,lovecock,u4slpwra,fylh.irf,123211,7ertu3ds,necroman,chalky,artist1,simpso,4x7wjr,chaos666,lazyacres,harley99,ch33s3,marusa,eagle7,dilligas,computadora,lucky69,denwer,nissan350z,unforgiv,oddball,schalke0,aztec1,borisova,branden1,parkave,marie123,germa,lafayett,878kckxy,405060,cheeseca,bigwave,fred22,andreea,poulet,mercutio,psycholo,andrew88,o4izdmxu,sanctuar,newhome,milion,suckmydi,rjvgm.nth,warior,goodgame,1qwertyuiop,6339cndh,scorpio2,macker,southbay,crabcake,toadie,paperclip,fatkid,maddo,cliff1,rastafar,maries,twins1,geujdrf,anjela,wc4fun,dolina,mpetroff,rollout,zydeco,shadow3,pumpki,steeda,volvo240,terras,blowjo,blue2000,incognit,badmojo,gambit1,zhukov,station1,aaronb,graci,duke123,clipper1,qazxsw2,ledzeppe,kukareku,sexkitte,cinco,007008,lakers12,a1234b,acmilan1,afhfjy,starrr,slutty3,phoneman,kostyan,bonzo1,sintesi07,ersatz,cloud1,nephilim,nascar03,rey619,kairos,123456789e,hardon1,boeing1,juliya,hfccdtn,vgfun8,polizei,456838,keithb,minouche,ariston,savag,213141,clarkken,microwav,london2,santacla,campeo,qr5mx7,464811,mynuts,bombo,1mickey,lucky8,danger1,ironside,carter12,wyatt1,borntorun,iloveyou123,jose1,pancake1,tadmichaels,monsta,jugger,hunnie,triste,heat7777,ilovejesus,queeny,luckycharm,lieben,gordolee85,jtkirk,forever21,jetlag,skylane,taucher,neworlea,holera,000005,anhnhoem,melissa7,mumdad,massimiliano,dima1994,nigel1,madison3,slicky,shokolad,serenit,jmh1978,soccer123,chris3,drwho,rfpzdrf,1qasw23ed,free4me,wonka,sasquatc,sanan,maytag,verochka,bankone,molly12,monopoli,xfqybr,lamborgini,gondolin,candycane,needsome,jb007,scottie1,brigit,0147258369,kalamazo,lololyo123,bill1234,ilovejes,lol123123,popkorn,april13,567rntvm,downunde,charle1,angelbab,guildwars,homeworld,qazxcvbnm,superma1,dupa123,kryptoni,happyy,artyom,stormie,cool11,calvin69,saphir,konovalov,jansport,october8,liebling,druuna,susans,megans,tujhjdf,wmegrfux,jumbo1,ljb4dt7n,012345678910,kolesnik,speculum,at4gftlw,kurgan,93pn75,cahek0980,dallas01,godswill,fhifdby,chelsea4,jump23,barsoom,catinhat,urlacher,angel99,vidadi1,678910,lickme69,topaz1,westend,loveone,c12345,gold12,alex1959,mamon,barney12,1maggie,alex12345,lp2568cskt,s1234567,gjikbdctyf,anthony0,browns99,chips1,sunking,widespre,lalala1,tdutif,fucklife,master00,alino4ka,stakan,blonde1,phoebus,tenore,bvgthbz,brunos,suzjv8,uvdwgt,revenant,1banana,veroniqu,sexfun,sp1der,4g3izhox,isakov,shiva1,scooba,bluefire,wizard12,dimitris,funbags,perseus,hoodoo,keving,malboro,157953,a32tv8ls,latics,animate,mossad,yejntb,karting,qmpq39zr,busdrive,jtuac3my,jkne9y,sr20dett,4gxrzemq,keylargo,741147,rfktylfhm,toast1,skins1,xcalibur,gattone,seether,kameron,glock9mm,julio1,delenn,gameday,tommyd,str8edge,bulls123,66699,carlsberg,woodbird,adnama,45auto,codyman,truck2,1w2w3w4w,pvjegu,method1,luetdi,41d8cd98f00b,bankai,5432112345,94rwpe,reneee,chrisx,melvins,775577,sam2000,scrappy1,rachid,grizzley,margare,morgan01,winstons,gevorg,gonzal,crawdad,gfhfdjp,babilon,noneya,pussy11,barbell,easyride,c00li0,777771,311music,karla1,golions,19866891,peejay,leadfoot,hfvbkm,kr9z40sy,cobra123,isotwe,grizz,sallys,****you,aaa123a,dembel,foxs14,hillcres,webman,mudshark,alfredo1,weeded,lester1,hovepark,ratface,000777fffa,huskie,wildthing,elbarto,waikiki,masami,call911,goose2,regin,dovajb,agricola,cjytxrj,andy11,penny123,family01,a121212,1braves,upupa68,happy100,824655,cjlove,firsttim,kalel,redhair,dfhtymt,sliders,bananna,loverbo,fifa2008,crouton,chevy350,panties2,kolya1,alyona,hagrid,spagetti,q2w3e4r,867530,narkoman,nhfdvfnjkju123,1ccccccc,napolean,0072563,allay,w8sted,wigwam,jamesk,state1,parovoz,beach69,kevinb,rossella,logitech1,celula,gnocca,canucks1,loginova,marlboro1,aaaa1,kalleanka,mester,mishutka,milenko,alibek,jersey1,peterc,1mouse,nedved,blackone,ghfplybr,682regkh,beejay,newburgh,ruffian,clarets,noreaga,xenophon,hummerh2,tenshi,smeagol,soloyo,vfhnby,ereiamjh,ewq321,goomie,sportin,cellphone,sonnie,jetblack,saudan,gblfhfc,matheus,uhfvjnf,alicja,jayman1,devon1,hexagon,bailey2,vtufajy,yankees7,salty1,908070,killemal,gammas,eurocard,sydney12,tuesday1,antietam,wayfarer,beast666,19952009sa,aq12ws,eveli,hockey21,haloreach,dontcare,xxxx1,andrea11,karlmarx,jelszo,tylerb,protools,timberwolf,ruffneck,pololo,1bbbbb,waleed,sasami,twinss,fairlady,illuminati,alex007,sucks1,homerjay,scooter7,tarbaby,barmaley,amistad,vanes,randers,tigers12,dreamer2,goleafsg,googie,bernie1,as12345,godeep,james3,phanto,gwbush,cumlover,2196dc,studioworks,995511,golf56,titova,kaleka,itali,socks1,kurwamac,daisuke,hevonen,woody123,daisie,wouter,henry123,gostosa,guppie,porpoise,iamsexy,276115,paula123,1020315,38gjgeuftd,rjrfrjkf,knotty,idiot1,sasha12345,matrix13,securit,radical1,ag764ks,jsmith,coolguy1,secretar,juanas,sasha1988,itout,00000001,tiger11,1butthea,putain,cavalo,basia1,kobebryant,1232323,12345asdfg,sunsh1ne,cyfqgth,tomkat,dorota,dashit,pelmen,5t6y7u,whipit,smokeone,helloall,bonjour1,snowshoe,nilknarf,x1x2x3,lammas,1234599,lol123456,atombomb,ironchef,noclue,alekseev,gwbush1,silver2,12345678m,yesican,fahjlbnf,chapstic,alex95,open1,tiger200,lisichka,pogiako,cbr929,searchin,tanya123,alex1973,phil413,alex1991,dominati,geckos,freddi,silenthill,egroeg,vorobey,antoxa,dark666,shkola,apple22,rebellio,shamanking,7f8srt,cumsucker,partagas,bill99,22223333,arnster55,fucknuts,proxima,silversi,goblues,parcells,vfrcbvjdf,piloto,avocet,emily2,1597530,miniskir,himitsu,pepper2,juiceman,venom1,bogdana,jujube,quatro,botafogo,mama2010,junior12,derrickh,asdfrewq,miller2,chitarra,silverfox,napol,prestigio,devil123,mm111qm,ara123,max33484,sex2000,primo1,sephan,anyuta,alena2010,viborg,verysexy,hibiscus,terps,josefin,oxcart,spooker,speciali,raffaello,partyon,vfhvtkflrf,strela,a123456z,worksuck,glasss,lomonosov,dusty123,dukeblue,1winter,sergeeva,lala123,john22,cmc09,sobolev,bettylou,dannyb,gjkrjdybr,hagakure,iecnhbr,awsedr,pmdmsctsk,costco,alekseeva,fktrcttd,bazuka,flyingv,garuda,buffy16,gutierre,beer12,stomatolog,ernies,palmeiras,golf123,love269,n.kmgfy,gjkysqgbpltw,youare,joeboo,baksik,lifeguar,111a111,nascar8,mindgame,dude1,neopets,frdfkfyu,june24,phoenix8,penelopa,merlin99,mercenar,badluck,mishel,bookert,deadsexy,power9,chinchil,1234567m,alex10,skunk1,rfhkcjy,sammycat,wright1,randy2,marakesh,temppassword,elmer251,mooki,patrick0,bonoedge,1tits,chiar,kylie1,graffix,milkman1,cornel,mrkitty,nicole12,ticketmaster,beatles4,number20,ffff1,terps1,superfre,yfdbufnjh,jake1234,flblfc,1111qq,zanuda,jmol01,wpoolejr,polopol,nicolett,omega13,cannonba,123456789.,sandy69,ribeye,bo243ns,marilena,bogdan123,milla,redskins1,19733791,alias1,movie1,ducat,marzena,shadowru,56565,coolman1,pornlover,teepee,spiff,nafanya,gateway3,fuckyou0,hasher,34778,booboo69,staticx,hang10,qq12345,garnier,bosco123,1234567qw,carson1,samso,1xrg4kcq,cbr929rr,allan123,motorbik,andrew22,pussy101,miroslava,cytujdbr,camp0017,cobweb,snusmumrik,salmon1,cindy2,aliya,serendipity,co437at,tincouch,timmy123,hunter22,st1100,vvvvvv1,blanka,krondor,sweeti,nenit,kuzmich,gustavo1,bmw320i,alex2010,trees1,kyliem,essayons,april26,kumari,sprin,fajita,appletre,fghbjhb,1green,katieb,steven2,corrado1,satelite,1michell,123456789c,cfkfvfylhf,acurarsx,slut543,inhere,bob2000,pouncer,k123456789,fishie,aliso,audia8,bluetick,soccer69,jordan99,fromhell,mammoth1,fighting54,mike25,pepper11,extra1,worldwid,chaise,vfr800,sordfish,almat,nofate,listopad,hellgate,dctvghbdf,jeremia,qantas,lokiju,honker,sprint1,maral,triniti,compaq3,sixsix6,married1,loveman,juggalo1,repvtyrj,zxcasdqw,123445,whore1,123678,monkey6,west123,warcraf,pwnage,mystery1,creamyou,ant123,rehjgfnrf,corona1,coleman1,steve121,alderaan,barnaul,celeste1,junebug1,bombshel,gretzky9,tankist,targa,cachou,vaz2101,playgolf,boneyard,strateg,romawka,iforgotit,pullup,garbage1,irock,archmage,shaft1,oceano,sadies,alvin1,135135ab,psalm69,lmfao,ranger02,zaharova,33334444,perkman,realman,salguod,cmoney,astonmartin,glock1,greyfox,viper99,helpm,blackdick,46775575,family5,shazbot,dewey1,qwertyas,shivani,black22,mailman1,greenday1,57392632,red007,stanky,sanchez1,tysons,daruma,altosax,krayzie,85852008,1forever,98798798,irock.,123456654,142536789,ford22,brick1,michela,preciou,crazy4u,01telemike01,nolife,concac,safety1,annie123,brunswic,destini,123456qwer,madison0,snowball1,137946,1133557799,jarule,scout2,songohan,thedead,00009999,murphy01,spycam,hirsute,aurinko,associat,1miller,baklan,hermes1,2183rm,martie,kangoo,shweta,yvonne1,westsid,jackpot1,rotciv,maratik,fabrika,claude1,nursultan,noentry,ytnhjufnm,electra1,ghjcnjnfr1,puneet,smokey01,integrit,bugeye,trouble2,14071789,paul01,omgwtf,dmh415,ekilpool,yourmom1,moimeme,sparky11,boludo,ruslan123,kissme1,demetrio,appelsin,asshole3,raiders2,bunns,fynjybj,billygoa,p030710p$e4o,macdonal,248ujnfk,acorns,schmidt1,sparrow1,vinbylrj,weasle,jerom,ycwvrxxh,skywalk,gerlinde,solidus,postal1,poochie1,1charles,rhianna,terorist,rehnrf,omgwtfbbq,assfucke,deadend,zidan,jimboy,vengence,maroon5,7452tr,dalejr88,sombra,anatole,elodi,amazonas,147789,q12345q,gawker1,juanma,kassidy,greek1,bruces,bilbob,mike44,0o9i8u7y6t,kaligula,agentx,familie,anders1,pimpjuice,0128um,birthday10,lawncare,hownow,grandorgue,juggerna,scarfac,kensai,swatteam,123four,motorbike,repytxbr,other1,celicagt,pleomax,gen0303,godisgreat,icepick,lucifer666,heavy1,tea4two,forsure,02020,shortdog,webhead,chris13,palenque,3techsrl,knights1,orenburg,prong,nomarg,wutang1,80637852730,laika,iamfree,12345670,pillow1,12343412,bigears,peterg,stunna,rocky5,12123434,damir,feuerwehr,7418529630,danone,yanina,valenci,andy69,111222q,silvia1,1jjjjj,loveforever,passwo1,stratocaster,8928190a,motorolla,lateralu,ujujkm,chubba,ujkjdf,signon,123456789zx,serdce,stevo,wifey200,ololo123,popeye1,1pass,central1,melena,luxor,nemezida,poker123,ilovemusic,qaz1234,noodles1,lakeshow,amarill,ginseng,billiam,trento,321cba,fatback,soccer33,master13,marie2,newcar,bigtop,dark1,camron,nosgoth,155555,biglou,redbud,jordan7,159789,diversio,actros,dazed,drizzit,hjcnjd,wiktoria,justic,gooses,luzifer,darren1,chynna,tanuki,11335577,icculus,boobss,biggi,firstson,ceisi123,gatewa,hrothgar,jarhead1,happyjoy,felipe1,bebop1,medman,athena1,boneman,keiths,djljgfl,dicklick,russ120,mylady,zxcdsa,rock12,bluesea,kayaks,provista,luckies,smile4me,bootycal,enduro,123123f,heartbre,ern3sto,apple13,bigpappa,fy.njxrf,bigtom,cool69,perrito,quiet1,puszek,cious,cruella,temp1,david26,alemap,aa123123,teddies,tricolor,smokey12,kikiriki,mickey01,robert01,super5,ranman,stevenso,deliciou,money777,degauss,mozar,susanne1,asdasd12,shitbag,mommy123,wrestle1,imfree,fuckyou12,barbaris,florent,ujhijr,f8yruxoj,tefjps,anemone,toltec,2gether,left4dead2,ximen,gfkmvf,dunca,emilys,diana123,16473a,mark01,bigbro,annarbor,nikita2000,11aa11,tigres,llllll1,loser2,fbi11213,jupite,qwaszxqw,macabre,123ert,rev2000,mooooo,klapaucius,bagel1,chiquit,iyaoyas,bear101,irocz28,vfktymrfz,smokey2,love99,rfhnbyf,dracul,keith123,slicko,peacock1,orgasmic,thesnake,solder,wetass,doofer,david5,rhfcyjlfh,swanny,tammys,turkiye,tubaman,estefani,firehose,funnyguy,servo,grace17,pippa1,arbiter,jimmy69,nfymrf,asdf67nm,rjcnzy,demon123,thicknes,sexysex,kristall,michail,encarta,banderos,minty,marchenko,de1987ma,mo5kva,aircav,naomi1,bonni,tatoo,cronaldo,49ers1,mama1963,1truck,telecaster,punksnotdead,erotik,1eagles,1fender,luv269,acdeehan,tanner1,freema,1q3e5t7u,linksys,tiger6,megaman1,neophyte,australia1,mydaddy,1jeffrey,fgdfgdfg,gfgekz,1986irachka,keyman,m0b1l3,dfcz123,mikeyg,playstation2,abc125,slacker1,110491g,lordsoth,bhavani,ssecca,dctvghbdtn,niblick,hondacar,baby01,worldcom,4034407,51094didi,3657549,3630000,3578951,sweetpussy,majick,supercoo,robert11,abacabb,panda123,gfhjkm13,ford4x4,zippo1,lapin,1726354,lovesong,dude11,moebius,paravoz,1357642,matkhau,solnyshko,daniel4,multiplelog,starik,martusia,iamtheman,greentre,jetblue,motorrad,vfrcbvev,redoak,dogma1,gnorman,komlos,tonka1,1010220,666satan,losenord,lateralus,absinthe,command1,jigga1,iiiiiii1,pants1,jungfrau,926337,ufhhbgjnnth,yamakasi,888555,sunny7,gemini69,alone1,zxcvbnmz,cabezon,skyblues,zxc1234,456123a,zero00,caseih,azzurra,legolas1,menudo,murcielago,785612,779977,benidorm,viperman,dima1985,piglet1,hemligt,hotfeet,7elephants,hardup,gamess,a000000,267ksyjf,kaitlynn,sharkie,sisyphus,yellow22,667766,redvette,666420,mets69,ac2zxdty,hxxrvwcy,cdavis,alan1,noddy,579300,druss,eatshit1,555123,appleseed,simpleplan,kazak,526282,fynfyfyfhbde,birthday6,dragon6,1pookie,bluedevils,omg123,hj8z6e,x5dxwp,455445,batman23,termin,chrisbrown,animals1,lucky9,443322,kzktxrf,takayuki,fermer,assembler,zomu9q,sissyboy,sergant,felina,nokia6230i,eminem12,croco,hunt4red,festina,darknigh,cptnz062,ndshnx4s,twizzler,wnmaz7sd,aamaax,gfhfcjkmrf,alabama123,barrynov,happy5,punt0it,durandal,8xuuobe4,cmu9ggzh,bruno12,316497,crazyfrog,vfvfktyf,apple3,kasey1,mackdaddy,anthon1,sunnys,angel3,cribbage,moon1,donal,bryce1,pandabear,mwss474,whitesta,freaker,197100,bitche,p2ssw0rd,turnb,tiktonik,moonlite,ferret1,jackas,ferrum,bearclaw,liberty2,1diablo,caribe,snakeeyes,janbam,azonic,rainmaker,vetalik,bigeasy,baby1234,sureno13,blink1,kluivert,calbears,lavanda,198600,dhtlbyf,medvedeva,fox123,whirling,bonscott,freedom9,october3,manoman,segredo,cerulean,robinso,bsmith,flatus,dannon,password21,rrrrrr1,callista,romai,rainman1,trantor,mickeymo,bulldog7,g123456,pavlin,pass22,snowie,hookah,7ofnine,bubba22,cabible,nicerack,moomoo1,summer98,yoyo123,milan1,lieve27,mustang69,jackster,exocet,nadege,qaz12,bahama,watson1,libras,eclipse2,bahram,bapezm,up9x8rww,ghjcnjz,themaste,deflep27,ghost16,gattaca,fotograf,junior123,gilber,gbjyth,8vjzus,rosco1,begonia,aldebara,flower12,novastar,buzzman,manchild,lopez1,mama11,william7,yfcnz1,blackstar,spurs123,moom4242,1amber,iownyou,tightend,07931505,paquito,1johnson,smokepot,pi31415,snowmass,ayacdc,jessicam,giuliana,5tgbnhy6,harlee,giuli,bigwig,tentacle,scoubidou2,benelli,vasilina,nimda,284655,jaihind,lero4ka,1tommy,reggi,ididit,jlbyjxtcndj,mike26,qbert,wweraw,lukasz,loosee123,palantir,flint1,mapper,baldie,saturne,virgin1,meeeee,elkcit,iloveme2,blue15,themoon,radmir,number3,shyanne,missle,hannelor,jasmina,karin1,lewie622,ghjcnjqgfhjkm,blasters,oiseau,sheela,grinders,panget,rapido,positiv,twink,fltkbyf,kzsfj874,daniel01,enjoyit,nofags,doodad,rustler,squealer,fortunat,peace123,khushi,devils2,7inches,candlebo,topdawg,armen,soundman,zxcqweasd,april7,gazeta,netman,hoppers,bear99,ghbjhbntn,mantle7,bigbo,harpo,jgordon,bullshi,vinny1,krishn,star22,thunderc,galinka,phish123,tintable,nightcrawler,tigerboy,rbhgbx,messi,basilisk,masha1998,nina123,yomamma,kayla123,geemoney,0000000000d,motoman,a3jtni,ser123,owen10,italien,vintelok,12345rewq,nightime,jeepin,ch1tt1ck,mxyzptlk,bandido,ohboy,doctorj,hussar,superted,parfilev,grundle,1jack,livestrong,chrisj,matthew3,access22,moikka,fatone,miguelit,trivium,glenn1,smooches,heiko,dezember,spaghett,stason,molokai,bossdog,guitarma,waderh,boriska,photosho,path13,hfrtnf,audre,junior24,monkey24,silke,vaz21093,bigblue1,trident1,candide,arcanum,klinker,orange99,bengals1,rosebu,mjujuj,nallepuh,mtwapa1a,ranger69,level1,bissjop,leica,1tiffany,rutabega,elvis77,kellie1,sameas,barada,karabas,frank12,queenb,toutoune,surfcity,samanth1,monitor1,littledo,kazakova,fodase,mistral1,april22,carlit,shakal,batman123,fuckoff2,alpha01,5544332211,buddy3,towtruck,kenwood1,vfiekmrf,jkl123,pypsik,ranger75,sitges,toyman,bartek1,ladygirl,booman,boeing77,installsqlst,222666,gosling,bigmack,223311,bogos,kevin2,gomez1,xohzi3g4,kfnju842,klubnika,cubalibr,123456789101,kenpo,0147852369,raptor1,tallulah,boobys,jjones,1q2s3c,moogie,vid2600,almas,wombat1,extra300,xfiles1,green77,sexsex1,heyjude,sammyy,missy123,maiyeuem,nccpl25282,thicluv,sissie,raven3,fldjrfn,buster22,broncos2,laurab,letmein4,harrydog,solovey,fishlips,asdf4321,ford123,superjet,norwegen,movieman,psw333333,intoit,postbank,deepwate,ola123,geolog323,murphys,eshort,a3eilm2s2y,kimota,belous,saurus,123321qaz,i81b4u,aaa12,monkey20,buckwild,byabybnb,mapleleafs,yfcnzyfcnz,baby69,summer03,twista,246890,246824,ltcnhjth,z1z2z3,monika1,sad123,uto29321,bathory,villan,funkey,poptarts,spam967888,705499fh,sebast,porn1234,earn381,1porsche,whatthef,123456789y,polo12,brillo,soreilly,waters1,eudora,allochka,is_a_bot,winter00,bassplay,531879fiz,onemore,bjarne,red911,kot123,artur1,qazxdr,c0rvette,diamond7,matematica,klesko,beaver12,2enter,seashell,panam,chaching,edward2,browni,xenogear,cornfed,aniram,chicco22,darwin1,ancella2,sophie2,vika1998,anneli,shawn41,babie,resolute,pandora2,william8,twoone,coors1,jesusis1,teh012,cheerlea,renfield,tessa1,anna1986,madness1,bkmlfh,19719870,liebherr,ck6znp42,gary123,123654z,alsscan,eyedoc,matrix7,metalgea,chinito,4iter,falcon11,7jokx7b9du,bigfeet,tassadar,retnuh,muscle1,klimova,darion,batistuta,bigsur,1herbier,noonie,ghjrehjh,karimova,faustus,snowwhite,1manager,dasboot,michael12,analfuck,inbed,dwdrums,jaysoncj,maranell,bsheep75,164379,rolodex,166666,rrrrrrr1,almaz666,167943,russel1,negrito,alianz,goodpussy,veronik,1w2q3r4e,efremov,emb377,sdpass,william6,alanfahy,nastya1995,panther5,automag,123qwe12,vfvf2011,fishe,1peanut,speedie,qazwsx1234,pass999,171204j,ketamine,sheena1,energizer,usethis1,123abc123,buster21,thechamp,flvbhfk,frank69,chane,hopeful1,claybird,pander,anusha,bigmaxxx,faktor,housebed,dimidrol,bigball,shashi,derby1,fredy,dervish,bootycall,80988218126,killerb,cheese2,pariss,mymail,dell123,catbert,christa1,chevytru,gjgjdf,00998877,overdriv,ratten,golf01,nyyanks,dinamite,bloembol,gismo,magnus1,march2,twinkles,ryan22,duckey,118a105b,kitcat,brielle,poussin,lanzarot,youngone,ssvegeta,hero63,battle1,kiler,fktrcfylh1,newera,vika1996,dynomite,oooppp,beer4me,foodie,ljhjuf,sonshine,godess,doug1,constanc,thinkbig,steve2,damnyou,autogod,www333,kyle1,ranger7,roller1,harry2,dustin1,hopalong,tkachuk,b00bies,bill2,deep111,stuffit,fire69,redfish1,andrei123,graphix,1fishing,kimbo1,mlesp31,ifufkbyf,gurkan,44556,emily123,busman,and123,8546404,paladine,1world,bulgakov,4294967296,bball23,1wwwww,mycats,elain,delta6,36363,emilyb,color1,6060842,cdtnkfyrf,hedonism,gfgfrfhkj,5551298,scubad,gostate,sillyme,hdbiker,beardown,fishers,sektor,00000007,newbaby,rapid1,braves95,gator2,nigge,anthony3,sammmy,oou812,heffer,phishin,roxanne1,yourass,hornet1,albator,2521659,underwat,tanusha,dianas,3f3fpht7op,dragon20,bilbobag,cheroke,radiatio,dwarf1,majik,33st33,dochka,garibald,robinh,sham69,temp01,wakeboar,violet1,1w2w3w,registr,tonite,maranello,1593570,parolamea,galatasara,loranthos,1472583,asmodean,1362840,scylla,doneit,jokerr,porkypig,kungen,mercator,koolhaas,come2me,debbie69,calbear,liverpoolfc,yankees4,12344321a,kennyb,madma,85200258,dustin23,thomas13,tooling,mikasa,mistic,crfnbyf,112233445,sofia1,heinz57,colts1,price1,snowey,joakim,mark11,963147,cnhfcnm,kzinti,1bbbbbbb,rubberdu,donthate,rupert1,sasha1992,regis1,nbuhbwf,fanboy,sundial,sooner1,wayout,vjnjhjkf,deskpro,arkangel,willie12,mikeyb,celtic1888,luis1,buddy01,duane1,grandma1,aolcom,weeman,172839456,basshead,hornball,magnu,pagedown,molly2,131517,rfvtgbyhn,astonmar,mistery,madalina,cash1,1happy,shenlong,matrix01,nazarova,369874125,800500,webguy,rse2540,ashley2,briank,789551,786110,chunli,j0nathan,greshnik,courtne,suckmyco,mjollnir,789632147,asdfg1234,754321,odelay,ranma12,zebedee,artem777,bmw318is,butt1,rambler1,yankees9,alabam,5w76rnqp,rosies,mafioso,studio1,babyruth,tranzit,magical123,gfhjkm135,12345$,soboleva,709394,ubique,drizzt1,elmers,teamster,pokemons,1472583690,1597532486,shockers,merckx,melanie2,ttocs,clarisse,earth1,dennys,slobber,flagman,farfalla,troika,4fa82hyx,hakan,x4ww5qdr,cumsuck,leather1,forum1,july20,barbel,zodiak,samuel12,ford01,rushfan,bugsy1,invest1,tumadre,screwme,a666666,money5,henry8,tiddles,sailaway,starburs,100years,killer01,comando,hiromi,ranetka,thordog,blackhole,palmeira,verboten,solidsna,q1w1e1,humme,kevinc,gbrfxe,gevaudan,hannah11,peter2,vangar,sharky7,talktome,jesse123,chuchi,pammy,!qazxsw2,siesta,twenty1,wetwilly,477041,natural1,sun123,daniel3,intersta,shithead1,hellyea,bonethugs,solitair,bubbles2,father1,nick01,444000,adidas12,dripik,cameron2,442200,a7nz8546,respublika,fkojn6gb,428054,snoppy,rulez1,haslo,rachael1,purple01,zldej102,ab12cd34,cytuehjxrf,madhu,astroman,preteen,handsoff,mrblonde,biggio,testin,vfdhif,twolves,unclesam,asmara,kpydskcw,lg2wmgvr,grolsch,biarritz,feather1,williamm,s62i93,bone1,penske,337733,336633,taurus1,334433,billet,diamondd,333000,nukem,fishhook,godogs,thehun,lena1982,blue00,smelly1,unb4g9ty,65pjv22,applegat,mikehunt,giancarlo,krillin,felix123,december1,soapy,46doris,nicole23,bigsexy1,justin10,pingu,bambou,falcon12,dgthtl,1surfer,qwerty01,estrellit,nfqcjy,easygo,konica,qazqwe,1234567890m,stingers,nonrev,3e4r5t,champio,bbbbbb99,196400,allen123,seppel,simba2,rockme,zebra3,tekken3,endgame,sandy2,197300,fitte,monkey00,eldritch,littleone,rfyfgkz,1member,66chevy,oohrah,cormac,hpmrbm41,197600,grayfox,elvis69,celebrit,maxwell7,rodders,krist,1camaro,broken1,kendall1,silkcut,katenka,angrick,maruni,17071994a,tktyf,kruemel,snuffles,iro4ka,baby12,alexis01,marryme,vlad1994,forward1,culero,badaboom,malvin,hardtoon,hatelove,molley,knopo4ka,duchess1,mensuck,cba321,kickbutt,zastava,wayner,fuckyou6,eddie123,cjkysir,john33,dragonfi,cody1,jabell,cjhjrf,badseed,sweden1,marihuana,brownlov,elland,nike1234,kwiettie,jonnyboy,togepi,billyk,robert123,bb334,florenci,ssgoku,198910,bristol1,bob007,allister,yjdujhjl,gauloise,198920,bellaboo,9lives,aguilas,wltfg4ta,foxyroxy,rocket69,fifty50,babalu,master21,malinois,kaluga,gogosox,obsessio,yeahrigh,panthers1,capstan,liza2000,leigh1,paintball1,blueskie,cbr600f3,bagdad,jose98,mandreki,shark01,wonderbo,muledeer,xsvnd4b2,hangten,200001,grenden,anaell,apa195,model1,245lufpq,zip100,ghjcgtrn,wert1234,misty2,charro,juanjose,fkbcrf,frostbit,badminto,buddyy,1doctor,vanya,archibal,parviz,spunky1,footboy,dm6tzsgp,legola,samadhi,poopee,ytdxz2ca,hallowboy,dposton,gautie,theworm,guilherme,dopehead,iluvtits,bobbob1,ranger6,worldwar,lowkey,chewbaca,oooooo99,ducttape,dedalus,celular,8i9o0p,borisenko,taylor01,111111z,arlingto,p3nnywiz,rdgpl3ds,boobless,kcmfwesg,blacksab,mother2,markus1,leachim,secret2,s123456789,1derful,espero,russell2,tazzer,marykate,freakme,mollyb,lindros8,james00,gofaster,stokrotka,kilbosik,aquamann,pawel1,shedevil,mousie,slot2009,october6,146969,mm259up,brewcrew,choucho,uliana,sexfiend,fktirf,pantss,vladimi,starz,sheeps,12341234q,bigun,tiggers,crjhjcnm,libtech,pudge1,home12,zircon,klaus1,jerry2,pink1,lingus,monkey66,dumass,polopolo09,feuerweh,rjyatnf,chessy,beefer,shamen,poohbear1,4jjcho,bennevis,fatgirls,ujnbrf,cdexswzaq,9noize9,rich123,nomoney,racecar1,hacke,clahay,acuario,getsum,hondacrv,william0,cheyenn,techdeck,atljhjdf,wtcacq,suger,fallenangel,bammer,tranquil,carla123,relayer,lespaul1,portvale,idontno,bycnbnen,trooper2,gennadiy,pompon,billbob,amazonka,akitas,chinatow,atkbrc,busters,fitness1,cateye,selfok2013,1murphy,fullhous,mucker,bajskorv,nectarin,littlebitch,love24,feyenoor,bigal37,lambo1,pussybitch,icecube1,biged,kyocera,ltybcjdf,boodle,theking1,gotrice,sunset1,abm1224,fromme,sexsells,inheat,kenya1,swinger1,aphrodit,kurtcobain,rhind101,poidog,poiulkjh,kuzmina,beantown,tony88,stuttgar,drumer,joaqui,messenge,motorman,amber2,nicegirl,rachel69,andreia,faith123,studmuffin,jaiden,red111,vtkmybr,gamecocks,gumper,bosshogg,4me2know,tokyo1,kleaner,roadhog,fuckmeno,phoenix3,seeme,buttnutt,boner69,andreyka,myheart,katerin,rugburn,jvtuepip,dc3ubn,chile1,ashley69,happy99,swissair,balls2,fylhttdf,jimboo,55555d,mickey11,voronin,m7hsqstm,stufff,merete,weihnachte,dowjones,baloo1,freeones,bears34,auburn1,beverl,timberland,1elvis,guinness1,bombadil,flatron1,logging7,telefoon,merl1n,masha1,andrei1,cowabung,yousuck1,1matrix,peopl,asd123qwe,sweett,mirror1,torrente,joker12,diamond6,jackaroo,00000a,millerlite,ironhorse,2twins,stryke,gggg1,zzzxxxccc,roosevel,8363eddy,angel21,depeche1,d0ct0r,blue14,areyou,veloce,grendal,frederiksberg,cbcntvf,cb207sl,sasha2000,was.here,fritzz,rosedale,spinoza,cokeisit,gandalf3,skidmark,ashley01,12345j,1234567890qaz,sexxxxxx,beagles,lennart,12345789,pass10,politic,max007,gcheckou,12345611,tiffy,lightman,mushin,velosiped,brucewayne,gauthie,elena123,greenegg,h2oski,clocker,nitemare,123321s,megiddo,cassidy1,david13,boywonde,flori,peggy12,pgszt6md,batterie,redlands,scooter6,bckhere,trueno,bailey11,maxwell2,bandana,timoth1,startnow,ducati74,tiern,maxine1,blackmetal,suzyq,balla007,phatfarm,kirsten1,titmouse,benhogan,culito,forbin,chess1,warren1,panman,mickey7,24lover,dascha,speed2,redlion,andrew10,johnwayn,nike23,chacha1,bendog,bullyboy,goldtree,spookie,tigger99,1cookie,poutine,cyclone1,woodpony,camaleun,bluesky1,dfadan,eagles20,lovergirl,peepshow,mine1,dima1989,rjdfkmxer,11111aaaaa,machina,august17,1hhhhh,0773417k,1monster,freaksho,jazzmin,davidw,kurupt,chumly,huggies,sashenka,ccccccc1,bridge1,giggalo,cincinna,pistol1,hello22,david77,lightfoo,lucky6,jimmy12,261397,lisa12,tabaluga,mysite,belo4ka,greenn,eagle99,punkrawk,salvado,slick123,wichsen,knight99,dummys,fefolico,contrera,kalle1,anna1984,delray,robert99,garena,pretende,racefan,alons,serenada,ludmilla,cnhtkjr,l0swf9gx,hankster,dfktynbyrf,sheep1,john23,cv141ab,kalyani,944turbo,crystal2,blackfly,zrjdktdf,eus1sue1,mario5,riverplate,harddriv,melissa3,elliott1,sexybitc,cnhfyybr,jimdavis,bollix,beta1,amberlee,skywalk1,natala,1blood,brattax,shitty1,gb15kv99,ronjon,rothmans,thedoc,joey21,hotboi,firedawg,bimbo38,jibber,aftermat,nomar,01478963,phishing,domodo,anna13,materia,martha1,budman1,gunblade,exclusiv,sasha1997,anastas,rebecca2,fackyou,kallisti,fuckmyass,norseman,ipswich1,151500,1edward,intelinside,darcy1,bcrich,yjdjcnbf,failte,buzzzz,cream1,tatiana1,7eleven,green8,153351,1a2s3d4f5g6h,154263,milano1,bambi1,bruins77,rugby2,jamal1,bolita,sundaypunch,bubba12,realmadr,vfyxtcnth,iwojima,notlob,black666,valkiria,nexus1,millerti,birthday100,swiss1,appollo,gefest,greeneyes,celebrat,tigerr,slava123,izumrud,bubbabub,legoman,joesmith,katya123,sweetdream,john44,wwwwwww1,oooooo1,socal,lovespor,s5r8ed67s,258147,heidis,cowboy22,wachovia,michaelb,qwe1234567,i12345,255225,goldie1,alfa155,45colt,safeu851,antonova,longtong,1sparky,gfvznm,busen,hjlbjy,whateva,rocky4,cokeman,joshua3,kekskek1,sirocco,jagman,123456qwert,phinupi,thomas10,loller,sakur,vika2011,fullred,mariska,azucar,ncstate,glenn74,halima,aleshka,ilovemylife,verlaat,baggie,scoubidou6,phatboy,jbruton,scoop1,barney11,blindman,def456,maximus2,master55,nestea,11223355,diego123,sexpistols,sniffy,philip1,f12345,prisonbreak,nokia2700,ajnjuhfa,yankees3,colfax,ak470000,mtnman,bdfyeirf,fotball,ichbin,trebla,ilusha,riobravo,beaner1,thoradin,polkaudi,kurosawa,honda123,ladybu,valerik,poltava,saviola,fuckyouguys,754740g0,anallove,microlab1,juris01,ncc1864,garfild,shania1,qagsud,makarenko,cindy69,lebedev,andrew11,johnnybo,groovy1,booster1,sanders1,tommyb,johnson4,kd189nlcih,hondaman,vlasova,chick1,sokada,sevisgur,bear2327,chacho,sexmania,roma1993,hjcnbckfd,valley1,howdie,tuppence,jimandanne,strike3,y4kuz4,nhfnfnf,tsubasa,19955991,scabby,quincunx,dima1998,uuuuuu1,logica,skinner1,pinguino,lisa1234,xpressmusic,getfucked,qqqq1,bbbb1,matulino,ulyana,upsman,johnsmith,123579,co2000,spanner1,todiefor,mangoes,isabel1,123852,negra,snowdon,nikki123,bronx1,booom,ram2500,chuck123,fireboy,creek1,batman13,princesse,az12345,maksat,1knight,28infern,241455,r7112s,muselman,mets1986,katydid,vlad777,playme,kmfdm1,asssex,1prince,iop890,bigbroth,mollymoo,waitron,lizottes,125412,juggler,quinta,0sister0,zanardi,nata123,heckfyxbr,22q04w90e,engine2,nikita95,zamira,hammer22,lutscher,carolina1,zz6319,sanman,vfuflfy,buster99,rossco,kourniko,aggarwal,tattoo1,janice1,finger1,125521,19911992,shdwlnds,rudenko,vfvfgfgf123,galatea,monkeybu,juhani,premiumcash,classact,devilmay,helpme2,knuddel,hardpack,ramil,perrit,basil1,zombie13,stockcar,tos8217,honeypie,nowayman,alphadog,melon1,talula,125689,tiribon12,tornike,haribol,telefone,tiger22,sucka,lfytxrf,chicken123,muggins,a23456,b1234567,lytdybr,otter1,pippa,vasilisk,cooking1,helter,78978,bestboy,viper7,ahmed1,whitewol,mommys,apple5,shazam1,chelsea7,kumiko,masterma,rallye,bushmast,jkz123,entrar,andrew6,nathan01,alaric,tavasz,heimdall,gravy1,jimmy99,cthlwt,powerr,gthtrhtcnjr,canesfan,sasha11,ybrbnf_25,august9,brucie,artichok,arnie1,superdude,tarelka,mickey22,dooper,luners,holeshot,good123,gettysbu,bicho,hammer99,divine5,1zxcvbn,stronzo,q22222,disne,bmw750il,godhead,hallodu,aerith,nastik,differen,cestmoi,amber69,5string,pornosta,dirtygirl,ginger123,formel1,scott12,honda200,hotspurs,johnatha,firstone123,lexmark1,msconfig,karlmasc,l123456,123qweasdzx,baldman,sungod,furka,retsub,9811020,ryder1,tcglyued,astron,lbvfcbr,minddoc,dirt49,baseball12,tbear,simpl,schuey,artimus,bikman,plat1num,quantex,gotyou,hailey1,justin01,ellada,8481068,000002,manimal,dthjybxrf,buck123,dick123,6969696,nospam,strong1,kodeord,bama12,123321w,superman123,gladiolus,nintend,5792076,dreamgirl,spankme1,gautam,arianna1,titti,tetas,cool1234,belladog,importan,4206969,87e5nclizry,teufelo7,doller,yfl.irf,quaresma,3440172,melis,bradle,nnmaster,fast1,iverso,blargh,lucas12,chrisg,iamsam,123321az,tomjerry,kawika,2597174,standrew,billyg,muskan,gizmodo2,rz93qpmq,870621345,sathya,qmezrxg4,januari,marthe,moom4261,cum2me,hkger286,lou1988,suckit1,croaker,klaudia1,753951456,aidan1,fsunoles,romanenko,abbydog,isthebes,akshay,corgi,fuck666,walkman555,ranger98,scorpian,hardwareid,bluedragon,fastman,2305822q,iddqdiddqd,1597532,gopokes,zvfrfcb,w1234567,sputnik1,tr1993,pa$$w0rd,2i5fdruv,havvoc,1357913,1313131,bnm123,cowd00d,flexscan,thesims2,boogiema,bigsexxy,powerstr,ngc4565,joshman,babyboy1,123jlb,funfunfu,qwe456,honor1,puttana,bobbyj,daniel21,pussy12,shmuck,1232580,123578951,maxthedo,hithere1,bond0007,gehenna,nomames,blueone,r1234567,bwana,gatinho,1011111,torrents,cinta,123451234,tiger25,money69,edibey,pointman,mmcm19,wales1,caffreys,phaedra,bloodlus,321ret32,rufuss,tarbit,joanna1,102030405,stickboy,lotrfotr34,jamshid,mclarenf1,ataman,99ford,yarrak,logan2,ironlung,pushistik,dragoon1,unclebob,tigereye,pinokio,tylerj,mermaid1,stevie1,jaylen,888777,ramana,roman777,brandon7,17711771s,thiago,luigi1,edgar1,brucey,videogam,classi,birder,faramir,twiddle,cubalibre,grizzy,fucky,jjvwd4,august15,idinahui,ranita,nikita1998,123342,w1w2w3,78621323,4cancel,789963,(null,vassago,jaydog472,123452,timt42,canada99,123589,rebenok,htyfnf,785001,osipov,maks123,neverwinter,love2010,777222,67390436,eleanor1,bykemo,aquemini,frogg,roboto,thorny,shipmate,logcabin,66005918,nokian,gonzos,louisian,1abcdefg,triathlo,ilovemar,couger,letmeino,supera,runvs,fibonacci,muttly,58565254,5thgbqi,vfnehsv,electr,jose12,artemis1,newlove,thd1shr,hawkey,grigoryan,saisha,tosca,redder,lifesux,temple1,bunnyman,thekids,sabbeth,tarzan1,182838,158uefas,dell50,1super,666222,47ds8x,jackhamm,mineonly,rfnfhbyf,048ro,665259,kristina1,bombero,52545856,secure1,bigloser,peterk,alex2,51525354,anarchy1,superx,teenslut,money23,sigmapi,sanfrancisco,acme34,private5,eclips,qwerttrewq,axelle,kokain,hardguy,peter69,jesuschr,dyanna,dude69,sarah69,toyota91,amberr,45645645,bugmenot,bigted,44556677,556644,wwr8x9pu,alphaome,harley13,kolia123,wejrpfpu,revelati,nairda,sodoff,cityboy,pinkpussy,dkalis,miami305,wow12345,triplet,tannenbau,asdfasdf1,darkhors,527952,retired1,soxfan,nfyz123,37583867,goddes,515069,gxlmxbewym,1warrior,36925814,dmb2011,topten,karpova,89876065093rax,naturals,gateway9,cepseoun,turbot,493949,cock22,italia1,sasafras,gopnik,stalke,1qazxdr5,wm2006,ace1062,alieva,blue28,aracel,sandia,motoguzz,terri1,emmajane,conej,recoba,alex1995,jerkyboy,cowboy12,arenrone,precisio,31415927,scsa316,panzer1,studly1,powerhou,bensam,mashoutq,billee,eeyore1,reape,thebeatl,rul3z,montesa,doodle1,cvzefh1gk,424365,a159753,zimmerma,gumdrop,ashaman,grimreap,icandoit,borodina,branca,dima2009,keywest1,vaders,bubluk,diavolo,assss,goleta,eatass,napster1,382436,369741,5411pimo,lenchik,pikach,gilgamesh,kalimera,singer1,gordon2,rjycnbnewbz,maulwurf,joker13,2much4u,bond00,alice123,robotec,fuckgirl,zgjybz,redhorse,margaret1,brady1,pumpkin2,chinky,fourplay,1booger,roisin,1brandon,sandan,blackheart,cheez,blackfin,cntgfyjdf,mymoney1,09080706,goodboss,sebring1,rose1,kensingt,bigboner,marcus12,ym3cautj,struppi,thestone,lovebugs,stater,silver99,forest99,qazwsx12345,vasile,longboar,mkonji,huligan,rhfcbdfz,airmail,porn11,1ooooo,sofun,snake2,msouthwa,dougla,1iceman,shahrukh,sharona,dragon666,france98,196800,196820,ps253535,zjses9evpa,sniper01,design1,konfeta,jack99,drum66,good4you,station2,brucew,regedit,school12,mvtnr765,pub113,fantas,tiburon1,king99,ghjcnjgbpltw,checkito,308win,1ladybug,corneliu,svetasveta,197430,icicle,imaccess,ou81269,jjjdsl,brandon6,bimbo1,smokee,piccolo1,3611jcmg,children2,cookie2,conor1,darth1,margera,aoi856,paully,ou812345,sklave,eklhigcz,30624700,amazing1,wahooo,seau55,1beer,apples2,chulo,dolphin9,heather6,198206,198207,hergood,miracle1,njhyflj,4real,milka,silverfi,fabfive,spring12,ermine,mammy,jumpjet,adilbek,toscana,caustic,hotlove,sammy69,lolita1,byoung,whipme,barney01,mistys,tree1,buster3,kaylin,gfccgjhn,132333,aishiteru,pangaea,fathead1,smurph,198701,ryslan,gasto,xexeylhf,anisimov,chevyss,saskatoo,brandy12,tweaker,irish123,music2,denny1,palpatin,outlaw1,lovesuck,woman1,mrpibb,diadora,hfnfneq,poulette,harlock,mclaren1,cooper12,newpass3,bobby12,rfgecnfcerf,alskdjfh,mini14,dukers,raffael,199103,cleo123,1234567qwertyu,mossberg,scoopy,dctulf,starline,hjvjxrf,misfits1,rangers2,bilbos,blackhea,pappnase,atwork,purple2,daywalker,summoner,1jjjjjjj,swansong,chris10,laluna,12345qqq,charly1,lionsden,money99,silver33,hoghead,bdaddy,199430,saisg002,nosaints,tirpitz,1gggggg,jason13,kingss,ernest1,0cdh0v99ue,pkunzip,arowana,spiri,deskjet1,armine,lances,magic2,thetaxi,14159265,cacique,14142135,orange10,richard0,backdraf,255ooo,humtum,kohsamui,c43dae874d,wrestling1,cbhtym,sorento,megha,pepsiman,qweqwe12,bliss7,mario64,korolev,balls123,schlange,gordit,optiquest,fatdick,fish99,richy,nottoday,dianne1,armyof1,1234qwerasdfzxcv,bbonds,aekara,lidiya,baddog1,yellow5,funkie,ryan01,greentree,gcheckout,marshal1,liliput,000000z,rfhbyrf,gtogto43,rumpole,tarado,marcelit,aqwzsxedc,kenshin1,sassydog,system12,belly1,zilla,kissfan,tools1,desember,donsdad,nick11,scorpio6,poopoo1,toto99,steph123,dogfuck,rocket21,thx113,dude12,sanek,sommar,smacky,pimpsta,letmego,k1200rs,lytghjgtnhjdcr,abigale,buddog,deles,baseball9,roofus,carlsbad,hamzah,hereiam,genial,schoolgirlie,yfz450,breads,piesek,washear,chimay,apocalyp,nicole18,gfgf1234,gobulls,dnevnik,wonderwall,beer1234,1moose,beer69,maryann1,adpass,mike34,birdcage,hottuna,gigant,penquin,praveen,donna123,123lol123,thesame,fregat,adidas11,selrahc,pandoras,test3,chasmo,111222333000,pecos,daniel11,ingersol,shana1,mama12345,cessna15,myhero,1simpson,nazarenko,cognit,seattle2,irina1,azfpc310,rfycthdf,hardy1,jazmyn,sl1200,hotlanta,jason22,kumar123,sujatha,fsd9shtyu,highjump,changer,entertai,kolding,mrbig,sayuri,eagle21,qwertzu,jorge1,0101dd,bigdong,ou812a,sinatra1,htcnjhfy,oleg123,videoman,pbyfblf,tv612se,bigbird1,kenaidog,gunite,silverma,ardmore,123123qq,hotbot,cascada,cbr600f4,harakiri,chico123,boscos,aaron12,glasgow1,kmn5hc,lanfear,1light,liveoak,fizika,ybrjkftdyf,surfside,intermilan,multipas,redcard,72chevy,balata,coolio1,schroede,kanat,testerer,camion,kierra,hejmeddig,antonio2,tornados,isidor,pinkey,n8skfswa,ginny1,houndog,1bill,chris25,hastur,1marine,greatdan,french1,hatman,123qqq,z1z2z3z4,kicker1,katiedog,usopen,smith22,mrmagoo,1234512i,assa123,7seven7,monster7,june12,bpvtyf,149521,guenter,alex1985,voronina,mbkugegs,zaqwsxcderfv,rusty5,mystic1,master0,abcdef12,jndfkb,r4zpm3,cheesey,skripka,blackwhite,sharon69,dro8smwq,lektor,techman,boognish,deidara,heckfyf,quietkey,authcode,monkey4,jayboy,pinkerto,merengue,chulita,bushwick,turambar,kittykit,joseph2,dad123,kristo,pepote,scheiss,hambone1,bigballa,restaura,tequil,111luzer,euro2000,motox,denhaag,chelsi,flaco1,preeti,lillo,1001sin,passw,august24,beatoff,555555d,willis1,kissthis,qwertyz,rvgmw2gl,iloveboobies,timati,kimbo,msinfo,dewdrop,sdbaker,fcc5nky2,messiah1,catboy,small1,chode,beastie1,star77,hvidovre,short1,xavie,dagobah,alex1987,papageno,dakota2,toonami,fuerte,jesus33,lawina,souppp,dirtybir,chrish,naturist,channel1,peyote,flibble,gutentag,lactate,killem,zucchero,robinho,ditka,grumpy1,avr7000,boxxer,topcop,berry1,mypass1,beverly1,deuce1,9638527410,cthuttdf,kzkmrf,lovethem,band1t,cantona1,purple11,apples123,wonderwo,123a456,fuzzie,lucky99,dancer2,hoddling,rockcity,winner12,spooty,mansfiel,aimee1,287hf71h,rudiger,culebra,god123,agent86,daniel0,bunky1,notmine,9ball,goofus,puffy1,xyh28af4,kulikov,bankshot,vurdf5i2,kevinm,ercole,sexygirls,razvan,october7,goater,lollie,raissa,thefrog,mdmaiwa3,mascha,jesussaves,union1,anthony9,crossroa,brother2,areyuke,rodman91,toonsex,dopeman,gericom,vaz2115,cockgobbler,12356789,12345699,signatur,alexandra1,coolwhip,erwin1,awdrgyjilp,pens66,ghjrjgtyrj,linkinpark,emergenc,psych0,blood666,bootmort,wetworks,piroca,johnd,iamthe1,supermario,homer69,flameon,image1,bebert,fylhtq1,annapoli,apple11,hockey22,10048,indahouse,mykiss,1penguin,markp,misha123,foghat,march11,hank1,santorin,defcon4,tampico,vbnhjafy,robert22,bunkie,athlon64,sex777,nextdoor,koskesh,lolnoob,seemnemaailm,black23,march15,yeehaa,chiqui,teagan,siegheil,monday2,cornhusk,mamusia,chilis,sthgrtst,feldspar,scottm,pugdog,rfghjy,micmac,gtnhjdyf,terminato,1jackson,kakosja,bogomol,123321aa,rkbvtyrj,tresor,tigertig,fuckitall,vbkkbjy,caramon,zxc12,balin,dildo1,soccer09,avata,abby123,cheetah1,marquise,jennyc,hondavfr,tinti,anna1985,dennis2,jorel,mayflowe,icema,hal2000,nikkis,bigmouth,greenery,nurjan,leonov,liberty7,fafnir,larionov,sat321321,byteme1,nausicaa,hjvfynbrf,everto,zebra123,sergio1,titone,wisdom1,kahala,104328q,marcin1,salima,pcitra,1nnnnn,nalini,galvesto,neeraj,rick1,squeeky,agnes1,jitterbu,agshar,maria12,0112358,traxxas,stivone,prophet1,bananza,sommer1,canoneos,hotfun,redsox11,1bigmac,dctdjkjl,legion1,everclea,valenok,black9,danny001,roxie1,1theman,mudslide,july16,lechef,chula,glamis,emilka,canbeef,ioanna,cactus1,rockshox,im2cool,ninja9,thvfrjdf,june28,milo17,missyou,micky1,nbibyf,nokiaa,goldi,mattias,fuckthem,asdzxc123,ironfist,junior01,nesta,crazzy,killswit,hygge,zantac,kazama,melvin1,allston,maandag,hiccup,prototyp,specboot,dwl610,hello6,159456,baldhead,redwhite,calpoly,whitetail,agile1,cousteau,matt01,aust1n,malcolmx,gjlfhjr,semperf1,ferarri,a1b2c3d,vangelis,mkvdari,bettis36,andzia,comand,tazzman,morgaine,pepluv,anna1990,inandout,anetka,anna1997,wallpape,moonrake,huntress,hogtie,cameron7,sammy7,singe11,clownboy,newzeala,wilmar,safrane,rebeld,poopi,granat,hammertime,nermin,11251422,xyzzy1,bogeys,jkmxbr,fktrcfyl,11223311,nfyrbcn,11223300,powerpla,zoedog,ybrbnbyf,zaphod42,tarawa,jxfhjdfirf,dude1234,g5wks9,goobe,czekolada,blackros,amaranth,medical1,thereds,julija,nhecsyfujkjdt,promopas,buddy4,marmalad,weihnachten,tronic,letici,passthief,67mustan,ds7zamnw,morri,w8woord,cheops,pinarell,sonofsam,av473dv,sf161pn,5c92v5h6,purple13,tango123,plant1,1baby,xufrgemw,fitta,1rangers,spawns,kenned,taratata,19944991,11111118,coronas,4ebouux8,roadrash,corvette1,dfyjdf846,marley12,qwaszxerdfcv,68stang,67stang,racin,ellehcim,sofiko,nicetry,seabass1,jazzman1,zaqwsx1,laz2937,uuuuuuu1,vlad123,rafale,j1234567,223366,nnnnnn1,226622,junkfood,asilas,cer980,daddymac,persepho,neelam,00700,shithappens,255555,qwertyy,xbox36,19755791,qweasd1,bearcub,jerryb,a1b1c1,polkaudio,basketball1,456rty,1loveyou,marcus2,mama1961,palace1,transcend,shuriken,sudhakar,teenlove,anabelle,matrix99,pogoda,notme,bartend,jordana,nihaoma,ataris,littlegi,ferraris,redarmy,giallo,fastdraw,accountbloc,peludo,pornostar,pinoyako,cindee,glassjaw,dameon,johnnyd,finnland,saudade,losbravo,slonko,toplay,smalltit,nicksfun,stockhol,penpal,caraj,divedeep,cannibus,poppydog,pass88,viktory,walhalla,arisia,lucozade,goldenbo,tigers11,caball,ownage123,tonna,handy1,johny,capital5,faith2,stillher,brandan,pooky1,antananarivu,hotdick,1justin,lacrimos,goathead,bobrik,cgtwbfkbcn,maywood,kamilek,gbplf123,gulnar,beanhead,vfvjyn,shash,viper69,ttttttt1,hondacr,kanako,muffer,dukies,justin123,agapov58,mushka,bad11bad,muleman,jojo123,andreika,makeit,vanill,boomers,bigals,merlin11,quacker,aurelien,spartak1922,ligeti,diana2,lawnmowe,fortune1,awesom,rockyy,anna1994,oinker,love88,eastbay,ab55484,poker0,ozzy666,papasmurf,antihero,photogra,ktm250,painkill,jegr2d2,p3orion,canman,dextur,qwest123,samboy,yomismo,sierra01,herber,vfrcbvvfrcbv,gloria1,llama1,pie123,bobbyjoe,buzzkill,skidrow,grabber,phili,javier1,9379992q,geroin,oleg1994,sovereig,rollover,zaq12qaz,battery1,killer13,alina123,groucho1,mario12,peter22,butterbean,elise1,lucycat,neo123,ferdi,golfer01,randie,gfhfyjbr,ventura1,chelsea3,pinoy,mtgox,yrrim7,shoeman,mirko,ffggyyo,65mustan,ufdibyjd,john55,suckfuck,greatgoo,fvfnjhb,mmmnnn,love20,1bullshi,sucesso,easy1234,robin123,rockets1,diamondb,wolfee,nothing0,joker777,glasnost,richar1,guille,sayan,koresh,goshawk,alexx,batman21,a123456b,hball,243122,rockandr,coolfool,isaia,mary1,yjdbrjdf,lolopc,cleocat,cimbo,lovehina,8vfhnf,passking,bonapart,diamond2,bigboys,kreator,ctvtyjdf,sassy123,shellac,table54781,nedkelly,philbert,sux2bu,nomis,sparky99,python1,littlebear,numpty,silmaril,sweeet,jamesw,cbufhtnf,peggysue,wodahs,luvsex,wizardry,venom123,love4you,bama1,samat,reviewpass,ned467,cjkjdtq,mamula,gijoe,amersham,devochka,redhill,gisel,preggo,polock,cando,rewster,greenlantern,panasonik,dave1234,mikeee,1carlos,miledi,darkness1,p0o9i8u7y6,kathryn1,happyguy,dcp500,assmaster,sambuka,sailormo,antonio3,logans,18254288,nokiax2,qwertzuiop,zavilov,totti,xenon1,edward11,targa1,something1,tony_t,q1w2e3r4t5y6u7i8o9p0,02551670,vladimir1,monkeybutt,greenda,neel21,craiger,saveliy,dei008,honda450,fylhtq95,spike2,fjnq8915,passwordstandard,vova12345,talonesi,richi,gigemags,pierre1,westin,trevoga,dorothee,bastogne,25563o,brandon3,truegrit,krimml,iamgreat,servis,a112233,paulinka,azimuth,corperfmonsy,358hkyp,homerun1,dogbert1,eatmyass,cottage1,savina,baseball7,bigtex,gimmesum,asdcxz,lennon1,a159357,1bastard,413276191q,pngfilt,pchealth,netsnip,bodiroga,1matt,webtvs,ravers,adapters,siddis,mashamasha,coffee2,myhoney,anna1982,marcia1,fairchil,maniek,iloveluc,batmonh,wildon,bowie1,netnwlnk,fancy1,tom204,olga1976,vfif123,queens1,ajax01,lovess,mockba,icam4usb,triada,odinthor,rstlne,exciter,sundog,anchorat,girls69,nfnmzyrf,soloma,gti16v,shadowman,ottom,rataros,tonchin,vishal,chicken0,pornlo,christiaan,volante,likesit,mariupol,runfast,gbpltw123,missys,villevalo,kbpjxrf,ghibli,calla,cessna172,kinglear,dell11,swift1,walera,1cricket,pussy5,turbo911,tucke,maprchem56458,rosehill,thekiwi1,ygfxbkgt,mandarinka,98xa29,magnit,cjfrf,paswoord,grandam1,shenmue,leedsuni,hatrick,zagadka,angeldog,michaell,dance123,koichi,bballs,29palms,xanth,228822,ppppppp1,1kkkkk,1lllll,mynewbots,spurss,madmax1,224455,city1,mmmmmmm1,nnnnnnn1,biedronka,thebeatles,elessar,f14tomcat,jordan18,bobo123,ayi000,tedbear,86chevyx,user123,bobolink,maktub,elmer1,flyfishi,franco1,gandalf0,traxdata,david21,enlighte,dmitrij,beckys,1giants,flippe,12345678w,jossie,rugbyman,snowcat,rapeme,peanut11,gemeni,udders,techn9ne,armani1,chappie,war123,vakantie,maddawg,sewanee,jake5253,tautt1,anthony5,letterma,jimbo2,kmdtyjr,hextall,jessica6,amiga500,hotcunt,phoenix9,veronda,saqartvelo,scubas,sixer3,williamj,nightfal,shihan,melnikova,kosssss,handily,killer77,jhrl0821,march17,rushman,6gcf636i,metoyou,irina123,mine11,primus1,formatters,matthew5,infotech,gangster1,jordan45,moose69,kompas,motoxxx,greatwhi,cobra12,kirpich,weezer1,hello23,montse,tracy123,connecte,cjymrf,hemingwa,azreal,gundam00,mobila,boxman,slayers1,ravshan,june26,fktrcfylhjd,bermuda1,tylerd,maersk,qazwsx11,eybdthcbntn,ash123,camelo,kat123,backd00r,cheyenne1,1king,jerkin,tnt123,trabant,warhammer40k,rambos,punto,home77,pedrito,1frank,brille,guitarman,george13,rakas,tgbxtcrbq,flute1,bananas1,lovezp1314,thespot,postie,buster69,sexytime,twistys,zacharia,sportage,toccata,denver7,terry123,bogdanova,devil69,higgins1,whatluck,pele10,kkk666,jeffery1,1qayxsw2,riptide1,chevy11,munchy,lazer1,hooker1,ghfgjh,vergesse,playgrou,4077mash,gusev,humpin,oneputt,hydepark,monster9,tiger8,tangsoo,guy123,hesoyam1,uhtqneyu,thanku,lomond,ortezza,kronik,geetha,rabbit66,killas,qazxswe,alabaste,1234567890qwerty,capone1,andrea12,geral,beatbox,slutfuck,booyaka,jasmine7,ostsee,maestro1,beatme,tracey1,buster123,donaldduck,ironfish,happy6,konnichi,gintonic,momoney1,dugan1,today2,enkidu,destiny2,trim7gun,katuha,fractals,morganstanley,polkadot,gotime,prince11,204060,fifa2010,bobbyt,seemee,amanda10,airbrush,bigtitty,heidie,layla1,cotton1,5speed,fyfnjkmtdyf,flynavy,joxury8f,meeko,akuma,dudley1,flyboy1,moondog1,trotters,mariami,signin,chinna,legs11,pussy4,1s1h1e1f1,felici,optimus1,iluvu,marlins1,gavaec,balance1,glock40,london01,kokot,southwes,comfort1,sammy11,rockbottom,brianc,litebeer,homero,chopsuey,greenlan,charit,freecell,hampster,smalldog,viper12,blofeld,1234567890987654321,realsex,romann,cartman2,cjdthitycndj,nelly1,bmw528,zwezda,masterba,jeep99,turtl,america2,sunburst,sanyco,auntjudy,125wm,blue10,qwsazx,cartma,toby12,robbob,red222,ilovecock,losfix16,1explore,helge,vaz2114,whynotme,baba123,mugen,1qazwsxedc,albertjr,0101198,sextime,supras,nicolas2,wantsex,pussy6,checkm8,winam,24gordon,misterme,curlew,gbljhfcs,medtech,franzi,butthea,voivod,blackhat,egoiste,pjkeirf,maddog69,pakalolo,hockey4,igor1234,rouges,snowhite,homefree,sexfreak,acer12,dsmith,blessyou,199410,vfrcbvjd,falco02,belinda1,yaglasph,april21,groundho,jasmin1,nevergiveup,elvir,gborv526,c00kie,emma01,awesome2,larina,mike12345,maximu,anupam,bltynbabrfwbz,tanushka,sukkel,raptor22,josh12,schalke04,cosmodog,fuckyou8,busybee,198800,bijoux,frame1,blackmor,giveit,issmall,bear13,123-123,bladez,littlegirl,ultra123,fletch1,flashnet,loploprock,rkelly,12step,lukas1,littlewhore,cuntfinger,stinkyfinger,laurenc,198020,n7td4bjl,jackie69,camel123,ben1234,1gateway,adelheid,fatmike,thuglove,zzaaqq,chivas1,4815162342q,mamadou,nadano,james22,benwin,andrea99,rjirf,michou,abkbgg,d50gnn,aaazzz,a123654,blankman,booboo11,medicus,bigbone,197200,justine1,bendix,morphius,njhvjp,44mag,zsecyus56,goodbye1,nokiadermo,a333444,waratsea,4rzp8ab7,fevral,brillian,kirbys,minim,erathia,grazia,zxcvb1234,dukey,snaggle,poppi,hymen,1video,dune2000,jpthjdf,cvbn123,zcxfcnkbdfz,astonv,ginnie,316271,engine3,pr1ncess,64chevy,glass1,laotzu,hollyy,comicbooks,assasins,nuaddn9561,scottsda,hfcnfvfy,accobra,7777777z,werty123,metalhead,romanson,redsand,365214,shalo,arsenii,1989cc,sissi,duramax,382563,petera,414243,mamapap,jollymon,field1,fatgirl,janets,trompete,matchbox20,rambo2,nepenthe,441232,qwertyuiop10,bozo123,phezc419hv,romantika,lifestyl,pengui,decembre,demon6,panther6,444888,scanman,ghjcnjabkz,pachanga,buzzword,indianer,spiderman3,tony12,startre,frog1,fyutk,483422,tupacshakur,albert12,1drummer,bmw328i,green17,aerdna,invisibl,summer13,calimer,mustaine,lgnu9d,morefun,hesoyam123,escort1,scrapland,stargat,barabbas,dead13,545645,mexicali,sierr,gfhfpbn,gonchar,moonstafa,searock,counte,foster1,jayhawk1,floren,maremma,nastya2010,softball1,adaptec,halloo,barrabas,zxcasd123,hunny,mariana1,kafedra,freedom0,green420,vlad1234,method7,665566,tooting,hallo12,davinchi,conducto,medias,666444,invernes,madhatter,456asd,12345678i,687887,le33px,spring00,help123,bellybut,billy5,vitalik1,river123,gorila,bendis,power666,747200,footslav,acehigh,qazxswedc123,q1a1z1,richard9,peterburg,tabletop,gavrilov,123qwe1,kolosov,fredrau,run4fun,789056,jkbvgbflf,chitra,87654321q,steve22,wideopen,access88,surfe,tdfyutkbjy,impossib,kevin69,880888,cantina,887766,wxcvb,dontforg,qwer1209,asslicke,mamma123,indig,arkasha,scrapp,morelia,vehxbr,jones2,scratch1,cody11,cassie12,gerbera,dontgotm,underhil,maks2010,hollywood1,hanibal,elena2010,jason11,1010321,stewar,elaman,fireplug,goodby,sacrific,babyphat,bobcat12,bruce123,1233215,tony45,tiburo,love15,bmw750,wallstreet,2h0t4me,1346795,lamerz,munkee,134679q,granvill,1512198,armastus,aiden1,pipeutvj,g1234567,angeleyes,usmc1,102030q,putangina,brandnew,shadowfax,eagles12,1falcon,brianw,lokomoti,2022958,scooper,pegas,jabroni1,2121212,buffal,siffredi,wewiz,twotone,rosebudd,nightwis,carpet1,mickey2,2525252,sleddog,red333,jamesm,2797349,jeff12,onizuka,felixxxx,rf6666,fine1,ohlala,forplay,chicago5,muncho,scooby11,ptichka,johnnn,19851985p,dogphil3650,totenkopf,monitor2,macross7,3816778,dudder,semaj1,bounder,racerx1,5556633,7085506,ofclr278,brody1,7506751,nantucke,hedj2n4q,drew1,aessedai,trekbike,pussykat,samatron,imani,9124852,wiley1,dukenukem,iampurehaha2,9556035,obvious1,mccool24,apache64,kravchenko,justforf,basura,jamese,s0ccer,safado,darksta,surfer69,damian1,gjpbnbd,gunny1,wolley,sananton,zxcvbn123456,odt4p6sv8,sergei1,modem1,mansikka,zzzz1,rifraf,dima777,mary69,looking4,donttell,red100,ninjutsu,uaeuaeman,bigbri,brasco,queenas8151,demetri,angel007,bubbl,kolort,conny,antonia1,avtoritet,kaka22,kailayu,sassy2,wrongway,chevy3,1nascar,patriots1,chrisrey,mike99,sexy22,chkdsk,sd3utre7,padawan,a6pihd,doming,mesohorny,tamada,donatello,emma22,eather,susan69,pinky123,stud69,fatbitch,pilsbury,thc420,lovepuss,1creativ,golf1234,hurryup,1honda,huskerdu,marino1,gowron,girl1,fucktoy,gtnhjpfdjlcr,dkjfghdk,pinkfl,loreli,7777777s,donkeykong,rockytop,staples1,sone4ka,xxxjay,flywheel,toppdogg,bigbubba,aaa123456,2letmein,shavkat,paule,dlanor,adamas,0147852,aassaa,dixon1,bmw328,mother12,ilikepussy,holly2,tsmith,excaliber,fhutynbyf,nicole3,tulipan,emanue,flyvholm,currahee,godsgift,antonioj,torito,dinky1,sanna,yfcnzvjz,june14,anime123,123321456654,hanswurst,bandman,hello101,xxxyyy,chevy69,technica,tagada,arnol,v00d00,lilone,filles,drumandbass,dinamit,a1234a,eatmeat,elway07,inout,james6,dawid1,thewolf,diapason,yodaddy,qscwdv,fuckit1,liljoe,sloeber,simbacat,sascha1,qwe1234,1badger,prisca,angel17,gravedig,jakeyboy,longboard,truskawka,golfer11,pyramid7,highspee,pistola,theriver,hammer69,1packers,dannyd,alfonse,qwertgfdsa,11119999,basket1,ghjtrn,saralee,12inches,paolo1,zse4xdr5,taproot,sophieh6,grizzlie,hockey69,danang,biggums,hotbitch,5alive,beloved1,bluewave,dimon95,koketka,multiscan,littleb,leghorn,poker2,delite,skyfir,bigjake,persona1,amberdog,hannah12,derren,ziffle,1sarah,1assword,sparky01,seymur,tomtom1,123321qw,goskins,soccer19,luvbekki,bumhole,2balls,1muffin,borodin,monkey9,yfeiybrb,1alex,betmen,freder,nigger123,azizbek,gjkzrjdf,lilmike,1bigdadd,1rock,taganrog,snappy1,andrey1,kolonka,bunyan,gomango,vivia,clarkkent,satur,gaudeamus,mantaray,1month,whitehea,fargus,andrew99,ray123,redhawks,liza2009,qw12345,den12345,vfhnsyjdf,147258369a,mazepa,newyorke,1arsenal,hondas2000,demona,fordgt,steve12,birthday2,12457896,dickster,edcwsxqaz,sahalin,pantyman,skinny1,hubertus,cumshot1,chiro,kappaman,mark3434,canada12,lichking,bonkers1,ivan1985,sybase,valmet,doors1,deedlit,kyjelly,bdfysx,ford11,throatfuck,backwood,fylhsq,lalit,boss429,kotova,bricky,steveh,joshua19,kissa,imladris,star1234,lubimka,partyman,crazyd,tobias1,ilike69,imhome,whome,fourstar,scanner1,ujhjl312,anatoli,85bears,jimbo69,5678ytr,potapova,nokia7070,sunday1,kalleank,1996gta,refinnej,july1,molodec,nothanks,enigm,12play,sugardog,nhfkbdfkb,larousse,cannon1,144444,qazxcdew,stimorol,jhereg,spawn7,143000,fearme,hambur,merlin21,dobie,is3yeusc,partner1,dekal,varsha,478jfszk,flavi,hippo1,9hmlpyjd,july21,7imjfstw,lexxus,truelov,nokia5200,carlos6,anais,mudbone,anahit,taylorc,tashas,larkspur,animal2000,nibiru,jan123,miyvarxar,deflep,dolore,communit,ifoptfcor,laura2,anadrol,mamaliga,mitzi1,blue92,april15,matveev,kajlas,wowlook1,1flowers,shadow14,alucard1,1golf,bantha,scotlan,singapur,mark13,manchester1,telus01,superdav,jackoff1,madnes,bullnuts,world123,clitty,palmer1,david10,spider10,sargsyan,rattlers,david4,windows2,sony12,visigoth,qqqaaa,penfloor,cabledog,camilla1,natasha123,eagleman,softcore,bobrov,dietmar,divad,sss123,d1234567,tlbyjhju,1q1q1q1,paraiso,dav123,lfiekmrf,drachen,lzhan16889,tplate,gfghbrf,casio1,123boots1,123test,sys64738,heavymetal,andiamo,meduza,soarer,coco12,negrita,amigas,heavymet,bespin,1asdfghj,wharfrat,wetsex,tight1,janus1,sword123,ladeda,dragon98,austin2,atep1,jungle1,12345abcd,lexus300,pheonix1,alex1974,123qw123,137955,bigtim,shadow88,igor1994,goodjob,arzen,champ123,121ebay,changeme1,brooksie,frogman1,buldozer,morrowin,achim,trish1,lasse,festiva,bubbaman,scottb,kramit,august22,tyson123,passsword,oompah,al123456,fucking1,green45,noodle1,looking1,ashlynn,al1716,stang50,coco11,greese,bob111,brennan1,jasonj,1cherry,1q2345,1xxxxxxx,fifa2011,brondby,zachar1,satyam,easy1,magic7,1rainbow,cheezit,1eeeeeee,ashley123,assass1,amanda123,jerbear,1bbbbbb,azerty12,15975391,654321z,twinturb,onlyone1,denis1988,6846kg3r,jumbos,pennydog,dandelion,haileris,epervier,snoopy69,afrodite,oldpussy,green55,poopypan,verymuch,katyusha,recon7,mine69,tangos,contro,blowme2,jade1,skydive1,fiveiron,dimo4ka,bokser,stargirl,fordfocus,tigers2,platina,baseball11,raque,pimper,jawbreak,buster88,walter34,chucko,penchair,horizon1,thecure1,scc1975,adrianna1,kareta,duke12,krille,dumbfuck,cunt1,aldebaran,laverda,harumi,knopfler,pongo1,pfhbyf,dogman1,rossigno,1hardon,scarlets,nuggets1,ibelieve,akinfeev,xfhkbr,athene,falcon69,happie,billly,nitsua,fiocco,qwerty09,gizmo2,slava2,125690,doggy123,craigs,vader123,silkeborg,124365,peterm,123978,krakatoa,123699,123592,kgvebmqy,pensacol,d1d2d3,snowstor,goldenboy,gfg65h7,ev700,church1,orange11,g0dz1ll4,chester3,acheron,cynthi,hotshot1,jesuschris,motdepass,zymurgy,one2one,fietsbel,harryp,wisper,pookster,nn527hp,dolla,milkmaid,rustyboy,terrell1,epsilon1,lillian1,dale3,crhbgrf,maxsim,selecta,mamada,fatman1,ufkjxrf,shinchan,fuckuall,women1,000008,bossss,greta1,rbhjxrf,mamasboy,purple69,felicidade,sexy21,cathay,hunglow,splatt,kahless,shopping1,1gandalf,themis,delta7,moon69,blue24,parliame,mamma1,miyuki,2500hd,jackmeof,razer,rocker1,juvis123,noremac,boing747,9z5ve9rrcz,icewater,titania,alley1,moparman,christo1,oliver2,vinicius,tigerfan,chevyy,joshua99,doda99,matrixx,ekbnrf,jackfrost,viper01,kasia,cnfhsq,triton1,ssbt8ae2,rugby8,ramman,1lucky,barabash,ghtlfntkm,junaid,apeshit,enfant,kenpo1,shit12,007000,marge1,shadow10,qwerty789,richard8,vbitkm,lostboys,jesus4me,richard4,hifive,kolawole,damilola,prisma,paranoya,prince2,lisaann,happyness,cardss,methodma,supercop,a8kd47v5,gamgee,polly123,irene1,number8,hoyasaxa,1digital,matthew0,dclxvi,lisica,roy123,2468013579,sparda,queball,vaffanculo,pass1wor,repmvbx,999666333,freedom8,botanik,777555333,marcos1,lubimaya,flash2,einstei,08080,123456789j,159951159,159357123,carrot1,alina1995,sanjos,dilara,mustang67,wisteria,jhnjgtl12,98766789,darksun,arxangel,87062134,creativ1,malyshka,fuckthemall,barsic,rocksta,2big4u,5nizza,genesis2,romance1,ofcourse,1horse,latenite,cubana,sactown,789456123a,milliona,61808861,57699434,imperia,bubba11,yellow3,change12,55495746,flappy,jimbo123,19372846,19380018,cutlass1,craig123,klepto,beagle1,solus,51502112,pasha1,19822891,46466452,19855891,petshop,nikolaevna,119966,nokia6131,evenpar,hoosier1,contrasena,jawa350,gonzo123,mouse2,115511,eetfuk,gfhfvgfvgfv,1crystal,sofaking,coyote1,kwiatuszek,fhrflbq,valeria1,anthro,0123654789,alltheway,zoltar,maasikas,wildchil,fredonia,earlgrey,gtnhjczy,matrix123,solid1,slavko,12monkeys,fjdksl,inter1,nokia6500,59382113kevinp,spuddy,cachero,coorslit,password!,kiba1z,karizma,vova1994,chicony,english1,bondra12,1rocket,hunden,jimbob1,zpflhjn1,th0mas,deuce22,meatwad,fatfree,congas,sambora,cooper2,janne,clancy1,stonie,busta,kamaz,speedy2,jasmine3,fahayek,arsenal0,beerss,trixie1,boobs69,luansantana,toadman,control2,ewing33,maxcat,mama1964,diamond4,tabaco,joshua0,piper2,music101,guybrush,reynald,pincher,katiebug,starrs,pimphard,frontosa,alex97,cootie,clockwor,belluno,skyeseth,booty69,chaparra,boochie,green4,bobcat1,havok,saraann,pipeman,aekdb,jumpshot,wintermu,chaika,1chester,rjnjatq,emokid,reset1,regal1,j0shua,134679a,asmodey,sarahh,zapidoo,ciccione,sosexy,beckham23,hornets1,alex1971,delerium,manageme,connor11,1rabbit,sane4ek,caseyboy,cbljhjdf,redsox20,tttttt99,haustool,ander,pantera6,passwd1,journey1,9988776655,blue135,writerspace,xiaoyua123,justice2,niagra,cassis,scorpius,bpgjldsgjldthnf,gamemaster,bloody1,retrac,stabbin,toybox,fight1,ytpyf.,glasha,va2001,taylor11,shameles,ladylove,10078,karmann,rodeos,eintritt,lanesra,tobasco,jnrhjqcz,navyman,pablit,leshka,jessica3,123vika,alena1,platinu,ilford,storm7,undernet,sasha777,1legend,anna2002,kanmax1994,porkpie,thunder0,gundog,pallina,easypass,duck1,supermom,roach1,twincam,14028,tiziano,qwerty32,123654789a,evropa,shampoo1,yfxfkmybr,cubby1,tsunami1,fktrcttdf,yasacrac,17098,happyhap,bullrun,rodder,oaktown,holde,isbest,taylor9,reeper,hammer11,julias,rolltide1,compaq123,fourx4,subzero1,hockey9,7mary3,busines,ybrbnjcbr,wagoneer,danniash,portishead,digitex,alex1981,david11,infidel,1snoopy,free30,jaden,tonto1,redcar27,footie,moskwa,thomas21,hammer12,burzum,cosmo123,50000,burltree,54343,54354,vwpassat,jack5225,cougars1,burlpony,blackhorse,alegna,petert,katemoss,ram123,nels0n,ferrina,angel77,cstock,1christi,dave55,abc123a,alex1975,av626ss,flipoff,folgore,max1998,science1,si711ne,yams7,wifey1,sveiks,cabin1,volodia,ox3ford,cartagen,platini,picture1,sparkle1,tiedomi,service321,wooody,christi1,gnasher,brunob,hammie,iraffert,bot2010,dtcyeirf,1234567890p,cooper11,alcoholi,savchenko,adam01,chelsea5,niewiem,icebear,lllooottt,ilovedick,sweetpus,money8,cookie13,rfnthbyf1988,booboo2,angus123,blockbus,david9,chica1,nazaret,samsung9,smile4u,daystar,skinnass,john10,thegirl,sexybeas,wasdwasd1,sigge1,1qa2ws3ed4rf5tg,czarny,ripley1,chris5,ashley19,anitha,pokerman,prevert,trfnthby,tony69,georgia2,stoppedb,qwertyuiop12345,miniclip,franky1,durdom,cabbages,1234567890o,delta5,liudmila,nhfycajhvths,court1,josiew,abcd1,doghead,diman,masiania,songline,boogle,triston,deepika,sexy4me,grapple,spacebal,ebonee,winter0,smokewee,nargiza,dragonla,sassys,andy2000,menards,yoshio,massive1,suckmy1k,passat99,sexybo,nastya1996,isdead,stratcat,hokuto,infix,pidoras,daffyduck,cumhard,baldeagl,kerberos,yardman,shibainu,guitare,cqub6553,tommyy,bk.irf,bigfoo,hecto,july27,james4,biggus,esbjerg,isgod,1irish,phenmarr,jamaic,roma1990,diamond0,yjdbrjd,girls4me,tampa1,kabuto,vaduz,hanse,spieng,dianochka,csm101,lorna1,ogoshi,plhy6hql,2wsx4rfv,cameron0,adebayo,oleg1996,sharipov,bouboule,hollister1,frogss,yeababy,kablam,adelante,memem,howies,thering,cecilia1,onetwo12,ojp123456,jordan9,msorcloledbr,neveraga,evh5150,redwin,1august,canno,1mercede,moody1,mudbug,chessmas,tiikeri,stickdaddy77,alex15,kvartira,7654321a,lollol123,qwaszxedc,algore,solana,vfhbyfvfhbyf,blue72,misha1111,smoke20,junior13,mogli,threee,shannon2,fuckmylife,kevinh,saransk,karenw,isolde,sekirarr,orion123,thomas0,debra1,laketaho,alondra,curiva,jazz1234,1tigers,jambos,lickme2,suomi,gandalf7,028526,zygote,brett123,br1ttany,supafly,159000,kingrat,luton1,cool-ca,bocman,thomasd,skiller,katter,mama777,chanc,tomass,1rachel,oldno7,rfpfyjdf,bigkev,yelrah,primas,osito,kipper1,msvcr71,bigboy11,thesun,noskcaj,chicc,sonja1,lozinka,mobile1,1vader,ummagumma,waves1,punter12,tubgtn,server1,irina1991,magic69,dak001,pandemonium,dead1,berlingo,cherrypi,1montana,lohotron,chicklet,asdfgh123456,stepside,ikmvw103,icebaby,trillium,1sucks,ukrnet,glock9,ab12345,thepower,robert8,thugstools,hockey13,buffon,livefree,sexpics,dessar,ja0000,rosenrot,james10,1fish,svoloch,mykitty,muffin11,evbukb,shwing,artem1992,andrey1992,sheldon1,passpage,nikita99,fubar123,vannasx,eight888,marial,max2010,express2,violentj,2ykn5ccf,spartan11,brenda69,jackiech,abagail,robin2,grass1,andy76,bell1,taison,superme,vika1995,xtr451,fred20,89032073168,denis1984,2000jeep,weetabix,199020,daxter,tevion,panther8,h9iymxmc,bigrig,kalambur,tsalagi,12213443,racecar02,jeffrey4,nataxa,bigsam,purgator,acuracl,troutbum,potsmoke,jimmyz,manutd1,nytimes,pureevil,bearss,cool22,dragonage,nodnarb,dbrbyu,4seasons,freude,elric1,werule,hockey14,12758698,corkie,yeahright,blademan,tafkap,clave,liziko,hofner,jeffhardy,nurich,runne,stanisla,lucy1,monk3y,forzaroma,eric99,bonaire,blackwoo,fengshui,1qaz0okm,newmoney,pimpin69,07078,anonymer,laptop1,cherry12,ace111,salsa1,wilbur1,doom12,diablo23,jgtxzbhr,under1,honda01,breadfan,megan2,juancarlos,stratus1,ackbar,love5683,happytim,lambert1,cbljhtyrj,komarov,spam69,nfhtkrf,brownn,sarmat,ifiksr,spike69,hoangen,angelz,economia,tanzen,avogadro,1vampire,spanners,mazdarx,queequeg,oriana,hershil,sulaco,joseph11,8seconds,aquariu,cumberla,heather9,anthony8,burton12,crystal0,maria3,qazwsxc,snow123,notgood,198520,raindog,heehaw,consulta,dasein,miller01,cthulhu1,dukenuke,iubire,baytown,hatebree,198505,sistem,lena12,welcome01,maraca,middleto,sindhu,mitsou,phoenix5,vovan,donaldo,dylandog,domovoy,lauren12,byrjuybnj,123llll,stillers,sanchin,tulpan,smallvill,1mmmmm,patti1,folgers,mike31,colts18,123456rrr,njkmrjz,phoenix0,biene,ironcity,kasperok,password22,fitnes,matthew6,spotligh,bujhm123,tommycat,hazel5,guitar11,145678,vfcmrf,compass1,willee,1barney,jack2000,littleminge,shemp,derrek,xxx12345,littlefuck,spuds1,karolinka,camneely,qwertyu123,142500,brandon00,munson15,falcon3,passssap,z3cn2erv,goahead,baggio10,141592,denali1,37kazoo,copernic,123456789asd,orange88,bravada,rush211,197700,pablo123,uptheass,samsam1,demoman,mattylad10,heydude,mister2,werken,13467985,marantz,a22222,f1f2f3f4,fm12mn12,gerasimova,burrito1,sony1,glenny,baldeagle,rmfidd,fenomen,verbati,forgetme,5element,wer138,chanel1,ooicu812,10293847qp,minicooper,chispa,myturn,deisel,vthrehbq,boredboi4u,filatova,anabe,poiuyt1,barmalei,yyyy1,fourkids,naumenko,bangbros,pornclub,okaykk,euclid90,warrior3,kornet,palevo,patatina,gocart,antanta,jed1054,clock1,111111w,dewars,mankind1,peugeot406,liten,tahira,howlin,naumov,rmracing,corone,cunthole,passit,rock69,jaguarxj,bumsen,197101,sweet2,197010,whitecat,sawadee,money100,yfhrjnbrb,andyboy,9085603566,trace1,fagget,robot1,angel20,6yhn7ujm,specialinsta,kareena,newblood,chingada,boobies2,bugger1,squad51,133andre,call06,ashes1,ilovelucy,success2,kotton,cavalla,philou,deebee,theband,nine09,artefact,196100,kkkkkkk1,nikolay9,onelov,basia,emilyann,sadman,fkrjujkbr,teamomuch,david777,padrino,money21,firdaus,orion3,chevy01,albatro,erdfcv,2legit,sarah7,torock,kevinn,holio,soloy,enron714,starfleet,qwer11,neverman,doctorwh,lucy11,dino12,trinity7,seatleon,o123456,pimpman,1asdfgh,snakebit,chancho,prorok,bleacher,ramire,darkseed,warhorse,michael123,1spanky,1hotdog,34erdfcv,n0th1ng,dimanche,repmvbyf,michaeljackson,login1,icequeen,toshiro,sperme,racer2,veget,birthday26,daniel9,lbvekmrf,charlus,bryan123,wspanic,schreibe,1andonly,dgoins,kewell,apollo12,egypt1,fernie,tiger21,aa123456789,blowj,spandau,bisquit,12345678d,deadmau5,fredie,311420,happyface,samant,gruppa,filmstar,andrew17,bakesale,sexy01,justlook,cbarkley,paul11,bloodred,rideme,birdbath,nfkbcvfy,jaxson,sirius1,kristof,virgos,nimrod1,hardc0re,killerbee,1abcdef,pitcher1,justonce,vlada,dakota99,vespucci,wpass,outside1,puertori,rfvbkf,teamlosi,vgfun2,porol777,empire11,20091989q,jasong,webuivalidat,escrima,lakers08,trigger2,addpass,342500,mongini,dfhtybr,horndogg,palermo1,136900,babyblu,alla98,dasha2010,jkelly,kernow,yfnecz,rockhopper,toeman,tlaloc,silver77,dave01,kevinr,1234567887654321,135642,me2you,8096468644q,remmus,spider7,jamesa,jilly,samba1,drongo,770129ji,supercat,juntas,tema1234,esthe,1234567892000,drew11,qazqaz123,beegees,blome,rattrace,howhigh,tallboy,rufus2,sunny2,sou812,miller12,indiana7,irnbru,patch123,letmeon,welcome5,nabisco,9hotpoin,hpvteb,lovinit,stormin,assmonke,trill,atlanti,money1234,cubsfan,mello1,stars2,ueptkm,agate,dannym88,lover123,wordz,worldnet,julemand,chaser1,s12345678,pissword,cinemax,woodchuc,point1,hotchkis,packers2,bananana,kalender,420666,penguin8,awo8rx3wa8t,hoppie,metlife,ilovemyfamily,weihnachtsbau,pudding1,luckystr,scully1,fatboy1,amizade,dedham,jahbless,blaat,surrende,****er,1panties,bigasses,ghjuhfvbcn,asshole123,dfktyrb,likeme,nickers,plastik,hektor,deeman,muchacha,cerebro,santana5,testdrive,dracula1,canalc,l1750sq,savannah1,murena,1inside,pokemon00,1iiiiiii,jordan20,sexual1,mailliw,calipso,014702580369,1zzzzzz,1jjjjjj,break1,15253545,yomama1,katinka,kevin11,1ffffff,martijn,sslazio,daniel5,porno2,nosmas,leolion,jscript,15975312,pundai,kelli1,kkkddd,obafgkm,marmaris,lilmama,london123,rfhfnt,elgordo,talk87,daniel7,thesims3,444111,bishkek,afrika2002,toby22,1speedy,daishi,2children,afroman,qqqqwwww,oldskool,hawai,v55555,syndicat,pukimak,fanatik,tiger5,parker01,bri5kev6,timexx,wartburg,love55,ecosse,yelena03,madinina,highway1,uhfdbwfgf,karuna,buhjvfybz,wallie,46and2,khalif,europ,qaz123wsx456,bobbybob,wolfone,falloutboy,manning18,scuba10,schnuff,ihateyou1,lindam,sara123,popcor,fallengun,divine1,montblanc,qwerty8,rooney10,roadrage,bertie1,latinus,lexusis,rhfvfnjhcr,opelgt,hitme,agatka,1yamaha,dmfxhkju,imaloser,michell1,sb211st,silver22,lockedup,andrew9,monica01,sassycat,dsobwick,tinroof,ctrhtnyj,bultaco,rhfcyjzhcr,aaaassss,14ss88,joanne1,momanddad,ahjkjdf,yelhsa,zipdrive,telescop,500600,1sexsex,facial1,motaro,511647,stoner1,temujin,elephant1,greatman,honey69,kociak,ukqmwhj6,altezza,cumquat,zippos,kontiki,123max,altec1,bibigon,tontos,qazsew,nopasaran,militar,supratt,oglala,kobayash,agathe,yawetag,dogs1,cfiekmrf,megan123,jamesdea,porosenok,tiger23,berger1,hello11,seemann,stunner1,walker2,imissu,jabari,minfd,lollol12,hjvfy,1-oct,stjohns,2278124q,123456789qwer,alex1983,glowworm,chicho,mallards,bluedevil,explorer1,543211,casita,1time,lachesis,alex1982,airborn1,dubesor,changa,lizzie1,captaink,socool,bidule,march23,1861brr,k.ljxrf,watchout,fotze,1brian,keksa2,aaaa1122,matrim,providian,privado,dreame,merry1,aregdone,davidt,nounour,twenty2,play2win,artcast2,zontik,552255,shit1,sluggy,552861,dr8350,brooze,alpha69,thunder6,kamelia2011,caleb123,mmxxmm,jamesh,lfybkjd,125267,125000,124536,bliss1,dddsss,indonesi,bob69,123888,tgkbxfgy,gerar,themack,hijodeputa,good4now,ddd123,clk430,kalash,tolkien1,132forever,blackb,whatis,s1s2s3s4,lolkin09,yamahar,48n25rcc,djtiesto,111222333444555,bigbull,blade55,coolbree,kelse,ichwill,yamaha12,sakic,bebeto,katoom,donke,sahar,wahine,645202,god666,berni,starwood,june15,sonoio,time123,llbean,deadsoul,lazarev,cdtnf,ksyusha,madarchod,technik,jamesy,4speed,tenorsax,legshow,yoshi1,chrisbl,44e3ebda,trafalga,heather7,serafima,favorite4,havefun1,wolve,55555r,james13,nosredna,bodean,jlettier,borracho,mickael,marinus,brutu,sweet666,kiborg,rollrock,jackson6,macross1,ousooner,9085084232,takeme,123qwaszx,firedept,vfrfhjd,jackfros,123456789000,briane,cookie11,baby22,bobby18,gromova,systemofadown,martin01,silver01,pimaou,darthmaul,hijinx,commo,chech,skyman,sunse,2vrd6,vladimirovna,uthvfybz,nicole01,kreker,bobo1,v123456789,erxtgb,meetoo,drakcap,vfvf12,misiek1,butane,network2,flyers99,riogrand,jennyk,e12345,spinne,avalon11,lovejone,studen,maint,porsche2,qwerty100,chamberl,bluedog1,sungam,just4u,andrew23,summer22,ludic,musiclover,aguil,beardog1,libertin,pippo1,joselit,patito,bigberth,digler,sydnee,jockstra,poopo,jas4an,nastya123,profil,fuesse,default1,titan2,mendoz,kpcofgs,anamika,brillo021,bomberman,guitar69,latching,69pussy,blues2,phelge,ninja123,m7n56xo,qwertasd,alex1976,cunningh,estrela,gladbach,marillion,mike2000,258046,bypop,muffinman,kd5396b,zeratul,djkxbwf,john77,sigma2,1linda,selur,reppep,quartz1,teen1,freeclus,spook1,kudos4ever,clitring,sexiness,blumpkin,macbook,tileman,centra,escaflowne,pentable,shant,grappa,zverev,1albert,lommerse,coffee11,777123,polkilo,muppet1,alex74,lkjhgfdsazx,olesica,april14,ba25547,souths,jasmi,arashi,smile2,2401pedro,mybabe,alex111,quintain,pimp1,tdeir8b2,makenna,122333444455555,%e2%82%ac,tootsie1,pass111,zaqxsw123,gkfdfybt,cnfnbcnbrf,usermane,iloveyou12,hard69,osasuna,firegod,arvind,babochka,kiss123,cookie123,julie123,kamakazi,dylan2,223355,tanguy,nbhtqa,tigger13,tubby1,makavel,asdflkj,sambo1,mononoke,mickeys,gayguy,win123,green33,wcrfxtvgbjy,bigsmall,1newlife,clove,babyfac,bigwaves,mama1970,shockwav,1friday,bassey,yarddog,codered1,victory7,bigrick,kracker,gulfstre,chris200,sunbanna,bertuzzi,begemotik,kuolema,pondus,destinee,123456789zz,abiodun,flopsy,amadeusptfcor,geronim,yggdrasi,contex,daniel6,suck1,adonis1,moorea,el345612,f22raptor,moviebuf,raunchy,6043dkf,zxcvbnm123456789,eric11,deadmoin,ratiug,nosliw,fannies,danno,888889,blank1,mikey2,gullit,thor99,mamiya,ollieb,thoth,dagger1,websolutionssu,bonker,prive,1346798520,03038,q1234q,mommy2,contax,zhipo,gwendoli,gothic1,1234562000,lovedick,gibso,digital2,space199,b26354,987654123,golive,serious1,pivkoo,better1,824358553,794613258,nata1980,logout,fishpond,buttss,squidly,good4me,redsox19,jhonny,zse45rdx,matrixxx,honey12,ramina,213546879,motzart,fall99,newspape,killit,gimpy,photowiz,olesja,thebus,marco123,147852963,bedbug,147369258,hellbound,gjgjxrf,123987456,lovehurt,five55,hammer01,1234554321a,alina2011,peppino,ang238,questor,112358132,alina1994,alina1998,money77,bobjones,aigerim,cressida,madalena,420smoke,tinchair,raven13,mooser,mauric,lovebu,adidas69,krypton1,1111112,loveline,divin,voshod,michaelm,cocotte,gbkbuhbv,76689295,kellyj,rhonda1,sweetu70,steamforums,geeque,nothere,124c41,quixotic,steam181,1169900,rfcgthcrbq,rfvbkm,sexstuff,1231230,djctvm,rockstar1,fulhamfc,bhecbr,rfntyf,quiksilv,56836803,jedimaster,pangit,gfhjkm777,tocool,1237654,stella12,55378008,19216811,potte,fender12,mortalkombat,ball1,nudegirl,palace22,rattrap,debeers,lickpussy,jimmy6,not4u2c,wert12,bigjuggs,sadomaso,1357924,312mas,laser123,arminia,branford,coastie,mrmojo,19801982,scott11,banaan123,ingres,300zxtt,hooters6,sweeties,19821983,19831985,19833891,sinnfein,welcome4,winner69,killerman,tachyon,tigre1,nymets1,kangol,martinet,sooty1,19921993,789qwe,harsingh,1597535,thecount,phantom3,36985214,lukas123,117711,pakistan1,madmax11,willow01,19932916,fucker12,flhrci,opelagila,theword,ashley24,tigger3,crazyj,rapide,deadfish,allana,31359092,sasha1993,sanders2,discman,zaq!2wsx,boilerma,mickey69,jamesg,babybo,jackson9,orion7,alina2010,indien,breeze1,atease,warspite,bazongaz,1celtic,asguard,mygal,fitzgera,1secret,duke33,cyklone,dipascuc,potapov,1escobar2,c0l0rad0,kki177hk,1little,macondo,victoriya,peter7,red666,winston6,kl?benhavn,muneca,jackme,jennan,happylife,am4h39d8nh,bodybuil,201980,dutchie,biggame,lapo4ka,rauchen,black10,flaquit,water12,31021364,command2,lainth88,mazdamx5,typhon,colin123,rcfhlfc,qwaszx11,g0away,ramir,diesirae,hacked1,cessna1,woodfish,enigma2,pqnr67w5,odgez8j3,grisou,hiheels,5gtgiaxm,2580258,ohotnik,transits,quackers,serjik,makenzie,mdmgatew,bryana,superman12,melly,lokit,thegod,slickone,fun4all,netpass,penhorse,1cooper,nsync,asdasd22,otherside,honeydog,herbie1,chiphi,proghouse,l0nd0n,shagg,select1,frost1996,casper123,countr,magichat,greatzyo,jyothi,3bears,thefly,nikkita,fgjcnjk,nitros,hornys,san123,lightspe,maslova,kimber1,newyork2,spammm,mikejone,pumpk1n,bruiser1,bacons,prelude9,boodie,dragon4,kenneth2,love98,power5,yodude,pumba,thinline,blue30,sexxybj,2dumb2live,matt21,forsale,1carolin,innova,ilikeporn,rbgtkjd,a1s2d3f,wu9942,ruffus,blackboo,qwerty999,draco1,marcelin,hideki,gendalf,trevon,saraha,cartmen,yjhbkmcr,time2go,fanclub,ladder1,chinni,6942987,united99,lindac,quadra,paolit,mainstre,beano002,lincoln7,bellend,anomie,8520456,bangalor,goodstuff,chernov,stepashka,gulla,mike007,frasse,harley03,omnislash,8538622,maryjan,sasha2011,gineok,8807031,hornier,gopinath,princesit,bdr529,godown,bosslady,hakaone,1qwe2,madman1,joshua11,lovegame,bayamon,jedi01,stupid12,sport123,aaa666,tony44,collect1,charliem,chimaira,cx18ka,trrim777,chuckd,thedream,redsox99,goodmorning,delta88,iloveyou11,newlife2,figvam,chicago3,jasonk,12qwer,9875321,lestat1,satcom,conditio,capri50,sayaka,9933162,trunks1,chinga,snooch,alexand1,findus,poekie,cfdbyf,kevind,mike1969,fire13,leftie,bigtuna,chinnu,silence1,celos1,blackdra,alex24,gfgfif,2boobs,happy8,enolagay,sataniv1993,turner1,dylans,peugeo,sasha1994,hoppel,conno,moonshot,santa234,meister1,008800,hanako,tree123,qweras,gfitymrf,reggie31,august29,supert,joshua10,akademia,gbljhfc,zorro123,nathalia,redsox12,hfpdjl,mishmash,nokiae51,nyyankees,tu190022,strongbo,none1,not4u2no,katie2,popart,harlequi,santan,michal1,1therock,screwu,csyekmrf,olemiss1,tyrese,hoople,sunshin1,cucina,starbase,topshelf,fostex,california1,castle1,symantec,pippolo,babare,turntabl,1angela,moo123,ipvteb,gogolf,alex88,cycle1,maxie1,phase2,selhurst,furnitur,samfox,fromvermine,shaq34,gators96,captain2,delonge,tomatoe,bisous,zxcvbnma,glacius,pineapple1,cannelle,ganibal,mko09ijn,paraklast1974,hobbes12,petty43,artema,junior8,mylover,1234567890d,fatal1ty,prostreet,peruan,10020,nadya,caution1,marocas,chanel5,summer08,metal123,111lox,scrapy,thatguy,eddie666,washingto,yannis,minnesota_hp,lucky4,playboy6,naumova,azzurro,patat,dale33,pa55wd,speedster,zemanova,saraht,newto,tony22,qscesz,arkady,1oliver,death6,vkfwx046,antiflag,stangs,jzf7qf2e,brianp,fozzy,cody123,startrek1,yoda123,murciela,trabajo,lvbnhbtdf,canario,fliper,adroit,henry5,goducks,papirus,alskdj,soccer6,88mike,gogetter,tanelorn,donking,marky1,leedsu,badmofo,al1916,wetdog,akmaral,pallet,april24,killer00,nesterova,rugby123,coffee12,browseui,ralliart,paigow,calgary1,armyman,vtldtltd,frodo2,frxtgb,iambigal,benno,jaytee,2hot4you,askar,bigtee,brentwoo,palladin,eddie2,al1916w,horosho,entrada,ilovetits,venture1,dragon19,jayde,chuvak,jamesl,fzr600,brandon8,vjqvbh,snowbal,snatch1,bg6njokf,pudder,karolin,candoo,pfuflrf,satchel1,manteca,khongbiet,critter1,partridg,skyclad,bigdon,ginger69,brave1,anthony4,spinnake,chinadol,passout,cochino,nipples1,15058,lopesk,sixflags,lloo999,parkhead,breakdance,cia123,fidodido,yuitre12,fooey,artem1995,gayathri,medin,nondriversig,l12345,bravo7,happy13,kazuya,camster,alex1998,luckyy,zipcode,dizzle,boating1,opusone,newpassw,movies23,kamikazi,zapato,bart316,cowboys0,corsair1,kingshit,hotdog12,rolyat,h200svrm,qwerty4,boofer,rhtyltkm,chris999,vaz21074,simferopol,pitboss,love3,britania,tanyshka,brause,123qwerty123,abeille,moscow1,ilkaev,manut,process1,inetcfg,dragon05,fortknox,castill,rynner,mrmike,koalas,jeebus,stockpor,longman,juanpabl,caiman,roleplay,jeremi,26058,prodojo,002200,magical1,black5,bvlgari,doogie1,cbhtqa,mahina,a1s2d3f4g5h6,jblpro,usmc01,bismilah,guitar01,april9,santana1,1234aa,monkey14,sorokin,evan1,doohan,animalsex,pfqxtyjr,dimitry,catchme,chello,silverch,glock45,dogleg,litespee,nirvana9,peyton18,alydar,warhamer,iluvme,sig229,minotavr,lobzik,jack23,bushwack,onlin,football123,joshua5,federov,winter2,bigmax,fufnfrhbcnb,hfpldfnhb,1dakota,f56307,chipmonk,4nick8,praline,vbhjh123,king11,22tango,gemini12,street1,77879,doodlebu,homyak,165432,chuluthu,trixi,karlito,salom,reisen,cdtnkzxjr,pookie11,tremendo,shazaam,welcome0,00000ty,peewee51,pizzle,gilead,bydand,sarvar,upskirt,legends1,freeway1,teenfuck,ranger9,darkfire,dfymrf,hunt0802,justme1,buffy1ma,1harry,671fsa75yt,burrfoot,budster,pa437tu,jimmyp,alina2006,malacon,charlize,elway1,free12,summer02,gadina,manara,gomer1,1cassie,sanja,kisulya,money3,pujols,ford50,midiland,turga,orange6,demetriu,freakboy,orosie1,radio123,open12,vfufpby,mustek,chris33,animes,meiling,nthtvjr,jasmine9,gfdkjd,oligarh,marimar,chicago9,.kzirf,bugssgub,samuraix,jackie01,pimpjuic,macdad,cagiva,vernost,willyboy,fynjyjdf,tabby1,privet123,torres9,retype,blueroom,raven11,q12we3,alex1989,bringiton,ridered,kareltje,ow8jtcs8t,ciccia,goniners,countryb,24688642,covingto,24861793,beyblade,vikin,badboyz,wlafiga,walstib,mirand,needajob,chloes,balaton,kbpfdtnf,freyja,bond9007,gabriel12,stormbri,hollage,love4eve,fenomeno,darknite,dragstar,kyle123,milfhunter,ma123123123,samia,ghislain,enrique1,ferien12,xjy6721,natalie2,reglisse,wilson2,wesker,rosebud7,amazon1,robertr,roykeane,xtcnth,mamatata,crazyc,mikie,savanah,blowjob69,jackie2,forty1,1coffee,fhbyjxrf,bubbah,goteam,hackedit,risky1,logoff,h397pnvr,buck13,robert23,bronc,st123st,godflesh,pornog,iamking,cisco69,septiembr,dale38,zhongguo,tibbar,panther9,buffa1,bigjohn1,mypuppy,vehvfycr,april16,shippo,fire1234,green15,q123123,gungadin,steveg,olivier1,chinaski,magnoli,faithy,storm12,toadfrog,paul99,78791,august20,automati,squirtle,cheezy,positano,burbon,nunya,llebpmac,kimmi,turtle2,alan123,prokuror,violin1,durex,pussygal,visionar,trick1,chicken6,29024,plowboy,rfybreks,imbue,sasha13,wagner1,vitalogy,cfymrf,thepro,26028,gorbunov,dvdcom,letmein5,duder,fastfun,pronin,libra1,conner1,harley20,stinker1,20068,20038,amitech,syoung,dugway,18068,welcome7,jimmypag,anastaci,kafka1,pfhfnecnhf,catsss,campus100,shamal,nacho1,fire12,vikings2,brasil1,rangerover,mohamma,peresvet,14058,cocomo,aliona,14038,qwaser,vikes,cbkmdf,skyblue1,ou81234,goodlove,dfkmltvfh,108888,roamer,pinky2,static1,zxcv4321,barmen,rock22,shelby2,morgans,1junior,pasword1,logjam,fifty5,nhfrnjhbcn,chaddy,philli,nemesis2,ingenier,djkrjd,ranger3,aikman8,knothead,daddy69,love007,vsythb,ford350,tiger00,renrut,owen11,energy12,march14,alena123,robert19,carisma,orange22,murphy11,podarok,prozak,kfgeirf,wolf13,lydia1,shazza,parasha,akimov,tobbie,pilote,heather4,baster,leones,gznfxjr,megama,987654321g,bullgod,boxster1,minkey,wombats,vergil,colegiata,lincol,smoothe,pride1,carwash1,latrell,bowling3,fylhtq123,pickwick,eider,bubblebox,bunnies1,loquit,slipper1,nutsac,purina,xtutdfhf,plokiju,1qazxs,uhjpysq,zxcvbasdfg,enjoy1,1pumpkin,phantom7,mama22,swordsma,wonderbr,dogdays,milker,u23456,silvan,dfkthbr,slagelse,yeahman,twothree,boston11,wolf100,dannyg,troll1,fynjy123,ghbcnfd,bftest,ballsdeep,bobbyorr,alphasig,cccdemo,fire123,norwest,claire2,august10,lth1108,problemas,sapito,alex06,1rusty,maccom,goirish1,ohyes,bxdumb,nabila,boobear1,rabbit69,princip,alexsander,travail,chantal1,dogggy,greenpea,diablo69,alex2009,bergen09,petticoa,classe,ceilidh,vlad2011,kamakiri,lucidity,qaz321,chileno,cexfhf,99ranger,mcitra,estoppel,volvos60,carter80,webpass,temp12,touareg,fcgbhby,bubba8,sunitha,200190ru,bitch2,shadow23,iluvit,nicole0,ruben1,nikki69,butttt,shocker1,souschef,lopotok01,kantot,corsano,cfnfyf,riverat,makalu,swapna,all4u9,cdtnkfy,ntktgepbr,ronaldo99,thomasj,bmw540i,chrisw,boomba,open321,z1x2c3v4b5n6m7,gaviota,iceman44,frosya,chris100,chris24,cosette,clearwat,micael,boogyman,pussy9,camus1,chumpy,heccrbq,konoplya,chester8,scooter5,ghjgfufylf,giotto,koolkat,zero000,bonita1,ckflrbq,j1964,mandog,18n28n24a,renob,head1,shergar,ringo123,tanita,sex4free,johnny12,halberd,reddevils,biolog,dillinge,fatb0y,c00per,hyperlit,wallace2,spears1,vitamine,buheirf,sloboda,alkash,mooman,marion1,arsenal7,sunder,nokia5610,edifier,pippone,fyfnjkmtdbx,fujimo,pepsi12,kulikova,bolat,duetto,daimon,maddog01,timoshka,ezmoney,desdemon,chesters,aiden,hugues,patrick5,aikman08,robert4,roenick,nyranger,writer1,36169544,foxmulder,118801,kutter,shashank,jamjar,118811,119955,aspirina,dinkus,1sailor,nalgene,19891959,snarf,allie1,cracky,resipsa,45678912,kemerovo,19841989,netware1,alhimik,19801984,nicole123,19761977,51501984,malaka1,montella,peachfuz,jethro1,cypress1,henkie,holdon,esmith,55443322,1friend,quique,bandicoot,statistika,great123,death13,ucht36,master4,67899876,bobsmith,nikko1,jr1234,hillary1,78978978,rsturbo,lzlzdfcz,bloodlust,shadow00,skagen,bambina,yummies,88887777,91328378,matthew4,itdoes,98256518,102938475,alina2002,123123789,fubared,dannys,123456321,nikifor,suck69,newmexico,scubaman,rhbcnb,fifnfy,puffdadd,159357852,dtheyxbr,theman22,212009164,prohor,shirle,nji90okm,newmedia,goose5,roma1995,letssee,iceman11,aksana,wirenut,pimpdady,1212312121,tamplier,pelican1,domodedovo,1928374655,fiction6,duckpond,ybrecz,thwack,onetwo34,gunsmith,murphydo,fallout1,spectre1,jabberwo,jgjesq,turbo6,bobo12,redryder,blackpus,elena1971,danilova,antoin,bobo1234,bobob,bobbobbo,dean1,222222a,jesusgod,matt23,musical1,darkmage,loppol,werrew,josepha,rebel12,toshka,gadfly,hawkwood,alina12,dnomyar,sexaddict,dangit,cool23,yocrack,archimed,farouk,nhfkzkz,lindalou,111zzzzz,ghjatccjh,wethepeople,m123456789,wowsers,kbkbxrf,bulldog5,m_roesel,sissinit,yamoon6,123ewqasd,dangel,miruvor79,kaytee,falcon7,bandit11,dotnet,dannii,arsenal9,miatamx5,1trouble,strip4me,dogpile,sexyred1,rjdfktdf,google10,shortman,crystal7,awesome123,cowdog,haruka,birthday28,jitter,diabolik,boomer12,dknight,bluewate,hockey123,crm0624,blueboys,willy123,jumpup,google2,cobra777,llabesab,vicelord,hopper1,gerryber,remmah,j10e5d4,qqqqqqw,agusti,fre_ak8yj,nahlik,redrobin,scott3,epson1,dumpy,bundao,aniolek,hola123,jergens,itsasecret,maxsam,bluelight,mountai1,bongwater,1london,pepper14,freeuse,dereks,qweqw,fordgt40,rfhfdfy,raider12,hunnybun,compac,splicer,megamon,tuffgong,gymnast1,butter11,modaddy,wapbbs_1,dandelio,soccer77,ghjnbdjcnjzybt,123xyi2,fishead,x002tp00,whodaman,555aaa,oussama,brunodog,technici,pmtgjnbl,qcxdw8ry,schweden,redsox3,throbber,collecto,japan10,dbm123dm,hellhoun,tech1,deadzone,kahlan,wolf123,dethklok,xzsawq,bigguy1,cybrthc,chandle,buck01,qq123123,secreta,williams1,c32649135,delta12,flash33,123joker,spacejam,polopo,holycrap,daman1,tummybed,financia,nusrat,euroline,magicone,jimkirk,ameritec,daniel26,sevenn,topazz,kingpins,dima1991,macdog,spencer5,oi812,geoffre,music11,baffle,123569,usagi,cassiope,polla,lilcrowe,thecakeisalie,vbhjndjhtw,vthokies,oldmans,sophie01,ghoster,penny2,129834,locutus1,meesha,magik,jerry69,daddysgirl,irondesk,andrey12,jasmine123,vepsrfyn,likesdick,1accord,jetboat,grafix,tomuch,showit,protozoa,mosias98,taburetka,blaze420,esenin,anal69,zhv84kv,puissant,charles0,aishwarya,babylon6,bitter1,lenina,raleigh1,lechat,access01,kamilka,fynjy,sparkplu,daisy3112,choppe,zootsuit,1234567j,rubyrose,gorilla9,nightshade,alternativa,cghfdjxybr,snuggles1,10121v,vova1992,leonardo1,dave2,matthewd,vfhfnbr,1986mets,nobull,bacall,mexican1,juanjo,mafia1,boomer22,soylent,edwards1,jordan10,blackwid,alex86,gemini13,lunar2,dctvcjcfnm,malaki,plugger,eagles11,snafu2,1shelly,cintaku,hannah22,tbird1,maks5843,irish88,homer22,amarok,fktrcfylhjdf,lincoln2,acess,gre69kik,need4speed,hightech,core2duo,blunt1,ublhjgjybrf,dragon33,1autopas,autopas1,wwww1,15935746,daniel20,2500aa,massim,1ggggggg,96ford,hardcor1,cobra5,blackdragon,vovan_lt,orochimaru,hjlbntkb,qwertyuiop12,tallen,paradoks,frozenfish,ghjuhfvvbcn,gerri1,nuggett,camilit,doright,trans1,serena1,catch2,bkmyeh,fireston,afhvfwtdn,purple3,figure8,fuckya,scamp1,laranja,ontheoutside,louis123,yellow7,moonwalk,mercury2,tolkein,raide,amenra,a13579,dranreb,5150vh,harish,tracksta,sexking,ozzmosis,katiee,alomar,matrix19,headroom,jahlove,ringding,apollo8,132546,132613,12345672000,saretta,135798,136666,thomas7,136913,onetwothree,hockey33,calida,nefertit,bitwise,tailhook,boop4,kfgecbr,bujhmbujhm,metal69,thedark,meteoro,felicia1,house12,tinuviel,istina,vaz2105,pimp13,toolfan,nina1,tuesday2,maxmotives,lgkp500,locksley,treech,darling1,kurama,aminka,ramin,redhed,dazzler,jager1,stpiliot,cardman,rfvtym,cheeser,14314314,paramoun,samcat,plumpy,stiffie,vsajyjr,panatha,qqq777,car12345,098poi,asdzx,keegan1,furelise,kalifornia,vbhjckfd,beast123,zcfvfzkexifz,harry5,1birdie,96328i,escola,extra330,henry12,gfhfyjqz,14u2nv,max1234,templar1,1dave,02588520,catrin,pangolin,marhaba,latin1,amorcito,dave22,escape1,advance1,yasuhiro,grepw,meetme,orange01,ernes,erdna,zsergn,nautica1,justinb,soundwav,miasma,greg78,nadine1,sexmad,lovebaby,promo1,excel1,babys,dragonma,camry1,sonnenschein,farooq,wazzkaprivet,magal,katinas,elvis99,redsox24,rooney1,chiefy,peggys,aliev,pilsung,mudhen,dontdoit,dennis12,supercal,energia,ballsout,funone,claudiu,brown2,amoco,dabl1125,philos,gjdtkbntkm,servette,13571113,whizzer,nollie,13467982,upiter,12string,bluejay1,silkie,william4,kosta1,143333,connor12,sustanon,06068,corporat,ssnake,laurita,king10,tahoes,arsenal123,sapato,charless,jeanmarc,levent,algerie,marine21,jettas,winsome,dctvgbplf,1701ab,xxxp455w0rd5,lllllll1,ooooooo1,monalis,koufax32,anastasya,debugger,sarita2,jason69,ufkxjyjr,gjlcnfdf,1jerry,daniel10,balinor,sexkitten,death2,qwertasdfgzxcvb,s9te949f,vegeta1,sysman,maxxam,dimabilan,mooose,ilovetit,june23,illest,doesit,mamou,abby12,longjump,transalp,moderato,littleguy,magritte,dilnoza,hawaiiguy,winbig,nemiroff,kokaine,admira,myemail,dream2,browneyes,destiny7,dragonss,suckme1,asa123,andranik,suckem,fleshbot,dandie,timmys,scitra,timdog,hasbeen,guesss,smellyfe,arachne,deutschl,harley88,birthday27,nobody1,papasmur,home1,jonass,bunia3,epatb1,embalm,vfvekmrf,apacer,12345656,estreet,weihnachtsbaum,mrwhite,admin12,kristie1,kelebek,yoda69,socken,tima123,bayern1,fktrcfylth,tamiya,99strenght,andy01,denis2011,19delta,stokecit,aotearoa,stalker2,nicnac,conrad1,popey,agusta,bowl36,1bigfish,mossyoak,1stunner,getinnow,jessejames,gkfnjy,drako,1nissan,egor123,hotness,1hawaii,zxc123456,cantstop,1peaches,madlen,west1234,jeter1,markis,judit,attack1,artemi,silver69,153246,crazy2,green9,yoshimi,1vette,chief123,jasper2,1sierra,twentyon,drstrang,aspirant,yannic,jenna123,bongtoke,slurpy,1sugar,civic97,rusty21,shineon,james19,anna12345,wonderwoman,1kevin,karol1,kanabis,wert21,fktif6115,evil1,kakaha,54gv768,826248s,tyrone1,1winston,sugar2,falcon01,adelya,mopar440,zasxcd,leecher,kinkysex,mercede1,travka,11234567,rebon,geekboy".split(","),english_wikipedia:"the,of,and,in,was,is,for,as,on,with,by,he,at,from,his,an,were,are,which,doc,https,also,or,has,had,first,one,their,its,after,new,who,they,two,her,she,been,other,when,time,during,there,into,school,more,may,years,over,only,year,most,would,world,city,some,where,between,later,three,state,such,then,national,used,made,known,under,many,university,united,while,part,season,team,these,american,than,film,second,born,south,became,states,war,through,being,including,both,before,north,high,however,people,family,early,history,album,area,them,series,against,until,since,district,county,name,work,life,group,music,following,number,company,several,four,called,played,released,career,league,game,government,house,each,based,day,same,won,use,station,club,international,town,located,population,general,college,east,found,age,march,end,september,began,home,public,church,line,june,river,member,system,place,century,band,july,york,january,october,song,august,best,former,british,party,named,held,village,show,local,november,took,service,december,built,another,major,within,along,members,five,single,due,although,small,old,left,final,large,include,building,served,president,received,games,death,february,main,third,set,children,own,order,species,park,law,air,published,road,died,book,men,women,army,often,according,education,central,country,division,english,top,included,development,french,community,among,water,play,side,list,times,near,late,form,original,different,center,power,led,students,german,moved,court,six,land,council,island,u.s.,record,million,research,art,established,award,street,military,television,given,region,support,western,production,non,political,point,cup,period,business,title,started,various,election,using,england,role,produced,become,program,works,field,total,office,class,written,association,radio,union,level,championship,director,few,force,created,department,founded,services,married,though,per,n't,site,open,act,short,society,version,royal,present,northern,worked,professional,full,returned,joined,story,france,european,currently,language,social,california,india,days,design,st.,further,round,australia,wrote,san,project,control,southern,railway,board,popular,continued,free,battle,considered,video,common,position,living,half,playing,recorded,red,post,described,average,records,special,modern,appeared,announced,areas,rock,release,elected,others,example,term,opened,similar,formed,route,census,current,schools,originally,lake,developed,race,himself,forces,addition,information,upon,province,match,event,songs,result,events,win,eastern,track,lead,teams,science,human,construction,minister,germany,awards,available,throughout,training,style,body,museum,australian,health,seven,signed,chief,eventually,appointed,sea,centre,debut,tour,points,media,light,range,character,across,features,families,largest,indian,network,less,performance,players,refer,europe,sold,festival,usually,taken,despite,designed,committee,process,return,official,episode,institute,stage,followed,performed,japanese,personal,thus,arts,space,low,months,includes,china,study,middle,magazine,leading,japan,groups,aircraft,featured,federal,civil,rights,model,coach,canadian,books,remained,eight,type,independent,completed,capital,academy,instead,kingdom,organization,countries,studies,competition,sports,size,above,section,finished,gold,involved,reported,management,systems,industry,directed,market,fourth,movement,technology,bank,ground,campaign,base,lower,sent,rather,added,provided,coast,grand,historic,valley,conference,bridge,winning,approximately,films,chinese,awarded,degree,russian,shows,native,female,replaced,municipality,square,studio,medical,data,african,successful,mid,bay,attack,previous,operations,spanish,theatre,student,republic,beginning,provide,ship,primary,owned,writing,tournament,culture,introduced,texas,related,natural,parts,governor,reached,ireland,units,senior,decided,italian,whose,higher,africa,standard,income,professor,placed,regional,los,buildings,championships,active,novel,energy,generally,interest,via,economic,previously,stated,itself,channel,below,operation,leader,traditional,trade,structure,limited,runs,prior,regular,famous,saint,navy,foreign,listed,artist,catholic,airport,results,parliament,collection,unit,officer,goal,attended,command,staff,commission,lived,location,plays,commercial,places,foundation,significant,older,medal,self,scored,companies,highway,activities,programs,wide,musical,notable,library,numerous,paris,towards,individual,allowed,plant,property,annual,contract,whom,highest,initially,required,earlier,assembly,artists,rural,seat,practice,defeated,ended,soviet,length,spent,manager,press,associated,author,issues,additional,characters,lord,zealand,policy,engine,township,noted,historical,complete,financial,religious,mission,contains,nine,recent,represented,pennsylvania,administration,opening,secretary,lines,report,executive,youth,closed,theory,writer,italy,angeles,appearance,feature,queen,launched,legal,terms,entered,issue,edition,singer,greek,majority,background,source,anti,cultural,complex,changes,recording,stadium,islands,operated,particularly,basketball,month,uses,port,castle,mostly,names,fort,selected,increased,status,earth,subsequently,pacific,cover,variety,certain,goals,remains,upper,congress,becoming,studied,irish,nature,particular,loss,caused,chart,dr.,forced,create,era,retired,material,review,rate,singles,referred,larger,individuals,shown,provides,products,speed,democratic,poland,parish,olympics,cities,themselves,temple,wing,genus,households,serving,cost,wales,stations,passed,supported,view,cases,forms,actor,male,matches,males,stars,tracks,females,administrative,median,effect,biography,train,engineering,camp,offered,chairman,houses,mainly,19th,surface,therefore,nearly,score,ancient,subject,prime,seasons,claimed,experience,specific,jewish,failed,overall,believed,plot,troops,greater,spain,consists,broadcast,heavy,increase,raised,separate,campus,1980s,appears,presented,lies,composed,recently,influence,fifth,nations,creek,references,elections,britain,double,cast,meaning,earned,carried,producer,latter,housing,brothers,attempt,article,response,border,remaining,nearby,direct,ships,value,workers,politician,academic,label,1970s,commander,rule,fellow,residents,authority,editor,transport,dutch,projects,responsible,covered,territory,flight,races,defense,tower,emperor,albums,facilities,daily,stories,assistant,managed,primarily,quality,function,proposed,distribution,conditions,prize,journal,code,vice,newspaper,corps,highly,constructed,mayor,critical,secondary,corporation,rugby,regiment,ohio,appearances,serve,allow,nation,multiple,discovered,directly,scene,levels,growth,elements,acquired,1990s,officers,physical,20th,latin,host,jersey,graduated,arrived,issued,literature,metal,estate,vote,immediately,quickly,asian,competed,extended,produce,urban,1960s,promoted,contemporary,global,formerly,appear,industrial,types,opera,ministry,soldiers,commonly,mass,formation,smaller,typically,drama,shortly,density,senate,effects,iran,polish,prominent,naval,settlement,divided,basis,republican,languages,distance,treatment,continue,product,mile,sources,footballer,format,clubs,leadership,initial,offers,operating,avenue,officially,columbia,grade,squadron,fleet,percent,farm,leaders,agreement,likely,equipment,website,mount,grew,method,transferred,intended,renamed,iron,asia,reserve,capacity,politics,widely,activity,advanced,relations,scottish,dedicated,crew,founder,episodes,lack,amount,build,efforts,concept,follows,ordered,leaves,positive,economy,entertainment,affairs,memorial,ability,illinois,communities,color,text,railroad,scientific,focus,comedy,serves,exchange,environment,cars,direction,organized,firm,description,agency,analysis,purpose,destroyed,reception,planned,revealed,infantry,architecture,growing,featuring,household,candidate,removed,situated,models,knowledge,solo,technical,organizations,assigned,conducted,participated,largely,purchased,register,gained,combined,headquarters,adopted,potential,protection,scale,approach,spread,independence,mountains,titled,geography,applied,safety,mixed,accepted,continues,captured,rail,defeat,principal,recognized,lieutenant,mentioned,semi,owner,joint,liberal,actress,traffic,creation,basic,notes,unique,supreme,declared,simply,plants,sales,massachusetts,designated,parties,jazz,compared,becomes,resources,titles,concert,learning,remain,teaching,versions,content,alongside,revolution,sons,block,premier,impact,champions,districts,generation,estimated,volume,image,sites,account,roles,sport,quarter,providing,zone,yard,scoring,classes,presence,performances,representatives,hosted,split,taught,origin,olympic,claims,critics,facility,occurred,suffered,municipal,damage,defined,resulted,respectively,expanded,platform,draft,opposition,expected,educational,ontario,climate,reports,atlantic,surrounding,performing,reduced,ranked,allows,birth,nominated,younger,newly,kong,positions,theater,philadelphia,heritage,finals,disease,sixth,laws,reviews,constitution,tradition,swedish,theme,fiction,rome,medicine,trains,resulting,existing,deputy,environmental,labour,classical,develop,fans,granted,receive,alternative,begins,nuclear,fame,buried,connected,identified,palace,falls,letters,combat,sciences,effort,villages,inspired,regions,towns,conservative,chosen,animals,labor,attacks,materials,yards,steel,representative,orchestra,peak,entitled,officials,returning,reference,northwest,imperial,convention,examples,ocean,publication,painting,subsequent,frequently,religion,brigade,fully,sides,acts,cemetery,relatively,oldest,suggested,succeeded,achieved,application,programme,cells,votes,promotion,graduate,armed,supply,flying,communist,figures,literary,netherlands,korea,worldwide,citizens,1950s,faculty,draw,stock,seats,occupied,methods,unknown,articles,claim,holds,authorities,audience,sweden,interview,obtained,covers,settled,transfer,marked,allowing,funding,challenge,southeast,unlike,crown,rise,portion,transportation,sector,phase,properties,edge,tropical,standards,institutions,philosophy,legislative,hills,brand,fund,conflict,unable,founding,refused,attempts,metres,permanent,starring,applications,creating,effective,aired,extensive,employed,enemy,expansion,billboard,rank,battalion,multi,vehicle,fought,alliance,category,perform,federation,poetry,bronze,bands,entry,vehicles,bureau,maximum,billion,trees,intelligence,greatest,screen,refers,commissioned,gallery,injury,confirmed,setting,treaty,adult,americans,broadcasting,supporting,pilot,mobile,writers,programming,existence,squad,minnesota,copies,korean,provincial,sets,defence,offices,agricultural,internal,core,northeast,retirement,factory,actions,prevent,communications,ending,weekly,containing,functions,attempted,interior,weight,bowl,recognition,incorporated,increasing,ultimately,documentary,derived,attacked,lyrics,mexican,external,churches,centuries,metropolitan,selling,opposed,personnel,mill,visited,presidential,roads,pieces,norwegian,controlled,18th,rear,influenced,wrestling,weapons,launch,composer,locations,developing,circuit,specifically,studios,shared,canal,wisconsin,publishing,approved,domestic,consisted,determined,comic,establishment,exhibition,southwest,fuel,electronic,cape,converted,educated,melbourne,hits,wins,producing,norway,slightly,occur,surname,identity,represent,constituency,funds,proved,links,structures,athletic,birds,contest,users,poet,institution,display,receiving,rare,contained,guns,motion,piano,temperature,publications,passenger,contributed,toward,cathedral,inhabitants,architect,exist,athletics,muslim,courses,abandoned,signal,successfully,disambiguation,tennessee,dynasty,heavily,maryland,jews,representing,budget,weather,missouri,introduction,faced,pair,chapel,reform,height,vietnam,occurs,motor,cambridge,lands,focused,sought,patients,shape,invasion,chemical,importance,communication,selection,regarding,homes,voivodeship,maintained,borough,failure,aged,passing,agriculture,oregon,teachers,flow,philippines,trail,seventh,portuguese,resistance,reaching,negative,fashion,scheduled,downtown,universities,trained,skills,scenes,views,notably,typical,incident,candidates,engines,decades,composition,commune,chain,inc.,austria,sale,values,employees,chamber,regarded,winners,registered,task,investment,colonial,swiss,user,entirely,flag,stores,closely,entrance,laid,journalist,coal,equal,causes,turkish,quebec,techniques,promote,junction,easily,dates,kentucky,singapore,residence,violence,advance,survey,humans,expressed,passes,streets,distinguished,qualified,folk,establish,egypt,artillery,visual,improved,actual,finishing,medium,protein,switzerland,productions,operate,poverty,neighborhood,organisation,consisting,consecutive,sections,partnership,extension,reaction,factor,costs,bodies,device,ethnic,racial,flat,objects,chapter,improve,musicians,courts,controversy,membership,merged,wars,expedition,interests,arab,comics,gain,describes,mining,bachelor,crisis,joining,decade,1930s,distributed,habitat,routes,arena,cycle,divisions,briefly,vocals,directors,degrees,object,recordings,installed,adjacent,demand,voted,causing,businesses,ruled,grounds,starred,drawn,opposite,stands,formal,operates,persons,counties,compete,wave,israeli,ncaa,resigned,brief,greece,combination,demographics,historian,contain,commonwealth,musician,collected,argued,louisiana,session,cabinet,parliamentary,electoral,loan,profit,regularly,conservation,islamic,purchase,17th,charts,residential,earliest,designs,paintings,survived,moth,items,goods,grey,anniversary,criticism,images,discovery,observed,underground,progress,additionally,participate,thousands,reduce,elementary,owners,stating,iraq,resolution,capture,tank,rooms,hollywood,finance,queensland,reign,maintain,iowa,landing,broad,outstanding,circle,path,manufacturing,assistance,sequence,gmina,crossing,leads,universal,shaped,kings,attached,medieval,ages,metro,colony,affected,scholars,oklahoma,coastal,soundtrack,painted,attend,definition,meanwhile,purposes,trophy,require,marketing,popularity,cable,mathematics,mississippi,represents,scheme,appeal,distinct,factors,acid,subjects,roughly,terminal,economics,senator,diocese,prix,contrast,argentina,czech,wings,relief,stages,duties,16th,novels,accused,whilst,equivalent,charged,measure,documents,couples,request,danish,defensive,guide,devices,statistics,credited,tries,passengers,allied,frame,puerto,peninsula,concluded,instruments,wounded,differences,associate,forests,afterwards,replace,requirements,aviation,solution,offensive,ownership,inner,legislation,hungarian,contributions,actors,translated,denmark,steam,depending,aspects,assumed,injured,severe,admitted,determine,shore,technique,arrival,measures,translation,debuted,delivered,returns,rejected,separated,visitors,damaged,storage,accompanied,markets,industries,losses,gulf,charter,strategy,corporate,socialist,somewhat,significantly,physics,mounted,satellite,experienced,constant,relative,pattern,restored,belgium,connecticut,partners,harvard,retained,networks,protected,mode,artistic,parallel,collaboration,debate,involving,journey,linked,salt,authors,components,context,occupation,requires,occasionally,policies,tamil,ottoman,revolutionary,hungary,poem,versus,gardens,amongst,audio,makeup,frequency,meters,orthodox,continuing,suggests,legislature,coalition,guitarist,eighth,classification,practices,soil,tokyo,instance,limit,coverage,considerable,ranking,colleges,cavalry,centers,daughters,twin,equipped,broadway,narrow,hosts,rates,domain,boundary,arranged,12th,whereas,brazilian,forming,rating,strategic,competitions,trading,covering,baltimore,commissioner,infrastructure,origins,replacement,praised,disc,collections,expression,ukraine,driven,edited,austrian,solar,ensure,premiered,successor,wooden,operational,hispanic,concerns,rapid,prisoners,childhood,meets,influential,tunnel,employment,tribe,qualifying,adapted,temporary,celebrated,appearing,increasingly,depression,adults,cinema,entering,laboratory,script,flows,romania,accounts,fictional,pittsburgh,achieve,monastery,franchise,formally,tools,newspapers,revival,sponsored,processes,vienna,springs,missions,classified,13th,annually,branches,lakes,gender,manner,advertising,normally,maintenance,adding,characteristics,integrated,decline,modified,strongly,critic,victims,malaysia,arkansas,nazi,restoration,powered,monument,hundreds,depth,15th,controversial,admiral,criticized,brick,honorary,initiative,output,visiting,birmingham,progressive,existed,carbon,1920s,credits,colour,rising,hence,defeating,superior,filmed,listing,column,surrounded,orleans,principles,territories,struck,participation,indonesia,movements,index,commerce,conduct,constitutional,spiritual,ambassador,vocal,completion,edinburgh,residing,tourism,finland,bears,medals,resident,themes,visible,indigenous,involvement,basin,electrical,ukrainian,concerts,boats,styles,processing,rival,drawing,vessels,experimental,declined,touring,supporters,compilation,coaching,cited,dated,roots,string,explained,transit,traditionally,poems,minimum,representation,14th,releases,effectively,architectural,triple,indicated,greatly,elevation,clinical,printed,10th,proposal,peaked,producers,romanized,rapidly,stream,innings,meetings,counter,householder,honour,lasted,agencies,document,exists,surviving,experiences,honors,landscape,hurricane,harbor,panel,competing,profile,vessel,farmers,lists,revenue,exception,customers,11th,participants,wildlife,utah,bible,gradually,preserved,replacing,symphony,begun,longest,siege,provinces,mechanical,genre,transmission,agents,executed,videos,benefits,funded,rated,instrumental,ninth,similarly,dominated,destruction,passage,technologies,thereafter,outer,facing,affiliated,opportunities,instrument,governments,scholar,evolution,channels,shares,sessions,widespread,occasions,engineers,scientists,signing,battery,competitive,alleged,eliminated,supplies,judges,hampshire,regime,portrayed,penalty,taiwan,denied,submarine,scholarship,substantial,transition,victorian,http,nevertheless,filed,supports,continental,tribes,ratio,doubles,useful,honours,blocks,principle,retail,departure,ranks,patrol,yorkshire,vancouver,inter,extent,afghanistan,strip,railways,component,organ,symbol,categories,encouraged,abroad,civilian,periods,traveled,writes,struggle,immediate,recommended,adaptation,egyptian,graduating,assault,drums,nomination,historically,voting,allies,detailed,achievement,percentage,arabic,assist,frequent,toured,apply,and/or,intersection,maine,touchdown,throne,produces,contribution,emerged,obtain,archbishop,seek,researchers,remainder,populations,clan,finnish,overseas,fifa,licensed,chemistry,festivals,mediterranean,injuries,animated,seeking,publisher,volumes,limits,venue,jerusalem,generated,trials,islam,youngest,ruling,glasgow,germans,songwriter,persian,municipalities,donated,viewed,belgian,cooperation,posted,tech,dual,volunteer,settlers,commanded,claiming,approval,delhi,usage,terminus,partly,electricity,locally,editions,premiere,absence,belief,traditions,statue,indicate,manor,stable,attributed,possession,managing,viewers,chile,overview,seed,regulations,essential,minority,cargo,segment,endemic,forum,deaths,monthly,playoffs,erected,practical,machines,suburb,relation,mrs.,descent,indoor,continuous,characterized,solutions,caribbean,rebuilt,serbian,summary,contested,psychology,pitch,attending,muhammad,tenure,drivers,diameter,assets,venture,punk,airlines,concentration,athletes,volunteers,pages,mines,influences,sculpture,protest,ferry,behalf,drafted,apparent,furthermore,ranging,romanian,democracy,lanka,significance,linear,d.c.,certified,voters,recovered,tours,demolished,boundaries,assisted,identify,grades,elsewhere,mechanism,1940s,reportedly,aimed,conversion,suspended,photography,departments,beijing,locomotives,publicly,dispute,magazines,resort,conventional,platforms,internationally,capita,settlements,dramatic,derby,establishing,involves,statistical,implementation,immigrants,exposed,diverse,layer,vast,ceased,connections,belonged,interstate,uefa,organised,abuse,deployed,cattle,partially,filming,mainstream,reduction,automatic,rarely,subsidiary,decides,merger,comprehensive,displayed,amendment,guinea,exclusively,manhattan,concerning,commons,radical,serbia,baptist,buses,initiated,portrait,harbour,choir,citizen,sole,unsuccessful,manufactured,enforcement,connecting,increases,patterns,sacred,muslims,clothing,hindu,unincorporated,sentenced,advisory,tanks,campaigns,fled,repeated,remote,rebellion,implemented,texts,fitted,tribute,writings,sufficient,ministers,21st,devoted,jurisdiction,coaches,interpretation,pole,businessman,peru,sporting,prices,cuba,relocated,opponent,arrangement,elite,manufacturer,responded,suitable,distinction,calendar,dominant,tourist,earning,prefecture,ties,preparation,anglo,pursue,worship,archaeological,chancellor,bangladesh,scores,traded,lowest,horror,outdoor,biology,commented,specialized,loop,arriving,farming,housed,historians,'the,patent,pupils,christianity,opponents,athens,northwestern,maps,promoting,reveals,flights,exclusive,lions,norfolk,hebrew,extensively,eldest,shops,acquisition,virtual,renowned,margin,ongoing,essentially,iranian,alternate,sailed,reporting,conclusion,originated,temperatures,exposure,secured,landed,rifle,framework,identical,martial,focuses,topics,ballet,fighters,belonging,wealthy,negotiations,evolved,bases,oriented,acres,democrat,heights,restricted,vary,graduation,aftermath,chess,illness,participating,vertical,collective,immigration,demonstrated,leaf,completing,organic,missile,leeds,eligible,grammar,confederate,improvement,congressional,wealth,cincinnati,spaces,indicates,corresponding,reaches,repair,isolated,taxes,congregation,ratings,leagues,diplomatic,submitted,winds,awareness,photographs,maritime,nigeria,accessible,animation,restaurants,philippine,inaugural,dismissed,armenian,illustrated,reservoir,speakers,programmes,resource,genetic,interviews,camps,regulation,computers,preferred,travelled,comparison,distinctive,recreation,requested,southeastern,dependent,brisbane,breeding,playoff,expand,bonus,gauge,departed,qualification,inspiration,shipping,slaves,variations,shield,theories,munich,recognised,emphasis,favour,variable,seeds,undergraduate,territorial,intellectual,qualify,mini,banned,pointed,democrats,assessment,judicial,examination,attempting,objective,partial,characteristic,hardware,pradesh,execution,ottawa,metre,drum,exhibitions,withdrew,attendance,phrase,journalism,logo,measured,error,christians,trio,protestant,theology,respective,atmosphere,buddhist,substitute,curriculum,fundamental,outbreak,rabbi,intermediate,designation,globe,liberation,simultaneously,diseases,experiments,locomotive,difficulties,mainland,nepal,relegated,contributing,database,developments,veteran,carries,ranges,instruction,lodge,protests,obama,newcastle,experiment,physician,describing,challenges,corruption,delaware,adventures,ensemble,succession,renaissance,tenth,altitude,receives,approached,crosses,syria,croatia,warsaw,professionals,improvements,worn,airline,compound,permitted,preservation,reducing,printing,scientist,activist,comprises,sized,societies,enters,ruler,gospel,earthquake,extend,autonomous,croatian,serial,decorated,relevant,ideal,grows,grass,tier,towers,wider,welfare,columns,alumni,descendants,interface,reserves,banking,colonies,manufacturers,magnetic,closure,pitched,vocalist,preserve,enrolled,cancelled,equation,2000s,nickname,bulgaria,heroes,exile,mathematical,demands,input,structural,tube,stem,approaches,argentine,axis,manuscript,inherited,depicted,targets,visits,veterans,regard,removal,efficiency,organisations,concepts,lebanon,manga,petersburg,rally,supplied,amounts,yale,tournaments,broadcasts,signals,pilots,azerbaijan,architects,enzyme,literacy,declaration,placing,batting,incumbent,bulgarian,consistent,poll,defended,landmark,southwestern,raid,resignation,travels,casualties,prestigious,namely,aims,recipient,warfare,readers,collapse,coached,controls,volleyball,coup,lesser,verse,pairs,exhibited,proteins,molecular,abilities,integration,consist,aspect,advocate,administered,governing,hospitals,commenced,coins,lords,variation,resumed,canton,artificial,elevated,palm,difficulty,civic,efficient,northeastern,inducted,radiation,affiliate,boards,stakes,byzantine,consumption,freight,interaction,oblast,numbered,seminary,contracts,extinct,predecessor,bearing,cultures,functional,neighboring,revised,cylinder,grants,narrative,reforms,athlete,tales,reflect,presidency,compositions,specialist,cricketer,founders,sequel,widow,disbanded,associations,backed,thereby,pitcher,commanding,boulevard,singers,crops,militia,reviewed,centres,waves,consequently,fortress,tributary,portions,bombing,excellence,nest,payment,mars,plaza,unity,victories,scotia,farms,nominations,variant,attacking,suspension,installation,graphics,estates,comments,acoustic,destination,venues,surrender,retreat,libraries,quarterback,customs,berkeley,collaborated,gathered,syndrome,dialogue,recruited,shanghai,neighbouring,psychological,saudi,moderate,exhibit,innovation,depot,binding,brunswick,situations,certificate,actively,shakespeare,editorial,presentation,ports,relay,nationalist,methodist,archives,experts,maintains,collegiate,bishops,maintaining,temporarily,embassy,essex,wellington,connects,reformed,bengal,recalled,inches,doctrine,deemed,legendary,reconstruction,statements,palestinian,meter,achievements,riders,interchange,spots,auto,accurate,chorus,dissolved,missionary,thai,operators,e.g.,generations,failing,delayed,cork,nashville,perceived,venezuela,cult,emerging,tomb,abolished,documented,gaining,canyon,episcopal,stored,assists,compiled,kerala,kilometers,mosque,grammy,theorem,unions,segments,glacier,arrives,theatrical,circulation,conferences,chapters,displays,circular,authored,conductor,fewer,dimensional,nationwide,liga,yugoslavia,peer,vietnamese,fellowship,armies,regardless,relating,dynamic,politicians,mixture,serie,somerset,imprisoned,posts,beliefs,beta,layout,independently,electronics,provisions,fastest,logic,headquartered,creates,challenged,beaten,appeals,plains,protocol,graphic,accommodate,iraqi,midfielder,span,commentary,freestyle,reflected,palestine,lighting,burial,virtually,backing,prague,tribal,heir,identification,prototype,criteria,dame,arch,tissue,footage,extending,procedures,predominantly,updated,rhythm,preliminary,cafe,disorder,prevented,suburbs,discontinued,retiring,oral,followers,extends,massacre,journalists,conquest,larvae,pronounced,behaviour,diversity,sustained,addressed,geographic,restrictions,voiced,milwaukee,dialect,quoted,grid,nationally,nearest,roster,twentieth,separation,indies,manages,citing,intervention,guidance,severely,migration,artwork,focusing,rivals,trustees,varied,enabled,committees,centered,skating,slavery,cardinals,forcing,tasks,auckland,youtube,argues,colored,advisor,mumbai,requiring,theological,registration,refugees,nineteenth,survivors,runners,colleagues,priests,contribute,variants,workshop,concentrated,creator,lectures,temples,exploration,requirement,interactive,navigation,companion,perth,allegedly,releasing,citizenship,observation,stationed,ph.d.,sheep,breed,discovers,encourage,kilometres,journals,performers,isle,saskatchewan,hybrid,hotels,lancashire,dubbed,airfield,anchor,suburban,theoretical,sussex,anglican,stockholm,permanently,upcoming,privately,receiver,optical,highways,congo,colours,aggregate,authorized,repeatedly,varies,fluid,innovative,transformed,praise,convoy,demanded,discography,attraction,export,audiences,ordained,enlisted,occasional,westminster,syrian,heavyweight,bosnia,consultant,eventual,improving,aires,wickets,epic,reactions,scandal,i.e.,discrimination,buenos,patron,investors,conjunction,testament,construct,encountered,celebrity,expanding,georgian,brands,retain,underwent,algorithm,foods,provision,orbit,transformation,associates,tactical,compact,varieties,stability,refuge,gathering,moreover,manila,configuration,gameplay,discipline,entity,comprising,composers,skill,monitoring,ruins,museums,sustainable,aerial,altered,codes,voyage,friedrich,conflicts,storyline,travelling,conducting,merit,indicating,referendum,currency,encounter,particles,automobile,workshops,acclaimed,inhabited,doctorate,cuban,phenomenon,dome,enrollment,tobacco,governance,trend,equally,manufacture,hydrogen,grande,compensation,download,pianist,grain,shifted,neutral,evaluation,define,cycling,seized,array,relatives,motors,firms,varying,automatically,restore,nicknamed,findings,governed,investigate,manitoba,administrator,vital,integral,indonesian,confusion,publishers,enable,geographical,inland,naming,civilians,reconnaissance,indianapolis,lecturer,deer,tourists,exterior,rhode,bassist,symbols,scope,ammunition,yuan,poets,punjab,nursing,cent,developers,estimates,presbyterian,nasa,holdings,generate,renewed,computing,cyprus,arabia,duration,compounds,gastropod,permit,valid,touchdowns,facade,interactions,mineral,practiced,allegations,consequence,goalkeeper,baronet,copyright,uprising,carved,targeted,competitors,mentions,sanctuary,fees,pursued,tampa,chronicle,capabilities,specified,specimens,toll,accounting,limestone,staged,upgraded,philosophical,streams,guild,revolt,rainfall,supporter,princeton,terrain,hometown,probability,assembled,paulo,surrey,voltage,developer,destroyer,floors,lineup,curve,prevention,potentially,onwards,trips,imposed,hosting,striking,strict,admission,apartments,solely,utility,proceeded,observations,euro,incidents,vinyl,profession,haven,distant,expelled,rivalry,runway,torpedo,zones,shrine,dimensions,investigations,lithuania,idaho,pursuit,copenhagen,considerably,locality,wireless,decrease,genes,thermal,deposits,hindi,habitats,withdrawn,biblical,monuments,casting,plateau,thesis,managers,flooding,assassination,acknowledged,interim,inscription,guided,pastor,finale,insects,transported,activists,marshal,intensity,airing,cardiff,proposals,lifestyle,prey,herald,capitol,aboriginal,measuring,lasting,interpreted,occurring,desired,drawings,healthcare,panels,elimination,oslo,ghana,blog,sabha,intent,superintendent,governors,bankruptcy,p.m.,equity,disk,layers,slovenia,prussia,quartet,mechanics,graduates,politically,monks,screenplay,nato,absorbed,topped,petition,bold,morocco,exhibits,canterbury,publish,rankings,crater,dominican,enhanced,planes,lutheran,governmental,joins,collecting,brussels,unified,streak,strategies,flagship,surfaces,oval,archive,etymology,imprisonment,instructor,noting,remix,opposing,servant,rotation,width,trans,maker,synthesis,excess,tactics,snail,ltd.,lighthouse,sequences,cornwall,plantation,mythology,performs,foundations,populated,horizontal,speedway,activated,performer,diving,conceived,edmonton,subtropical,environments,prompted,semifinals,caps,bulk,treasury,recreational,telegraph,continent,portraits,relegation,catholics,graph,velocity,rulers,endangered,secular,observer,learns,inquiry,idol,dictionary,certification,estimate,cluster,armenia,observatory,revived,nadu,consumers,hypothesis,manuscripts,contents,arguments,editing,trails,arctic,essays,belfast,acquire,promotional,undertaken,corridor,proceedings,antarctic,millennium,labels,delegates,vegetation,acclaim,directing,substance,outcome,diploma,philosopher,malta,albanian,vicinity,degc,legends,regiments,consent,terrorist,scattered,presidents,gravity,orientation,deployment,duchy,refuses,estonia,crowned,separately,renovation,rises,wilderness,objectives,agreements,empress,slopes,inclusion,equality,decree,ballot,criticised,rochester,recurring,struggled,disabled,henri,poles,prussian,convert,bacteria,poorly,sudan,geological,wyoming,consistently,minimal,withdrawal,interviewed,proximity,repairs,initiatives,pakistani,republicans,propaganda,viii,abstract,commercially,availability,mechanisms,naples,discussions,underlying,lens,proclaimed,advised,spelling,auxiliary,attract,lithuanian,editors,o'brien,accordance,measurement,novelist,ussr,formats,councils,contestants,indie,facebook,parishes,barrier,battalions,sponsor,consulting,terrorism,implement,uganda,crucial,unclear,notion,distinguish,collector,attractions,filipino,ecology,investments,capability,renovated,iceland,albania,accredited,scouts,armor,sculptor,cognitive,errors,gaming,condemned,successive,consolidated,baroque,entries,regulatory,reserved,treasurer,variables,arose,technological,rounded,provider,rhine,agrees,accuracy,genera,decreased,frankfurt,ecuador,edges,particle,rendered,calculated,careers,faction,rifles,americas,gaelic,portsmouth,resides,merchants,fiscal,premises,coin,draws,presenter,acceptance,ceremonies,pollution,consensus,membrane,brigadier,nonetheless,genres,supervision,predicted,magnitude,finite,differ,ancestry,vale,delegation,removing,proceeds,placement,emigrated,siblings,molecules,payments,considers,demonstration,proportion,newer,valve,achieving,confederation,continuously,luxury,notre,introducing,coordinates,charitable,squadrons,disorders,geometry,winnipeg,ulster,loans,longtime,receptor,preceding,belgrade,mandate,wrestler,neighbourhood,factories,buddhism,imported,sectors,protagonist,steep,elaborate,prohibited,artifacts,prizes,pupil,cooperative,sovereign,subspecies,carriers,allmusic,nationals,settings,autobiography,neighborhoods,analog,facilitate,voluntary,jointly,newfoundland,organizing,raids,exercises,nobel,machinery,baltic,crop,granite,dense,websites,mandatory,seeks,surrendered,anthology,comedian,bombs,slot,synopsis,critically,arcade,marking,equations,halls,indo,inaugurated,embarked,speeds,clause,invention,premiership,likewise,presenting,demonstrate,designers,organize,examined,km/h,bavaria,troop,referee,detection,zurich,prairie,rapper,wingspan,eurovision,luxembourg,slovakia,inception,disputed,mammals,entrepreneur,makers,evangelical,yield,clergy,trademark,defunct,allocated,depicting,volcanic,batted,conquered,sculptures,providers,reflects,armoured,locals,walt,herzegovina,contracted,entities,sponsorship,prominence,flowing,ethiopia,marketed,corporations,withdraw,carnegie,induced,investigated,portfolio,flowering,opinions,viewing,classroom,donations,bounded,perception,leicester,fruits,charleston,academics,statute,complaints,smallest,deceased,petroleum,resolved,commanders,algebra,southampton,modes,cultivation,transmitter,spelled,obtaining,sizes,acre,pageant,bats,abbreviated,correspondence,barracks,feast,tackles,raja,derives,geology,disputes,translations,counted,constantinople,seating,macedonia,preventing,accommodation,homeland,explored,invaded,provisional,transform,sphere,unsuccessfully,missionaries,conservatives,highlights,traces,organisms,openly,dancers,fossils,absent,monarchy,combining,lanes,stint,dynamics,chains,missiles,screening,module,tribune,generating,miners,nottingham,seoul,unofficial,owing,linking,rehabilitation,citation,louisville,mollusk,depicts,differential,zimbabwe,kosovo,recommendations,responses,pottery,scorer,aided,exceptions,dialects,telecommunications,defines,elderly,lunar,coupled,flown,25th,espn,formula_1,bordered,fragments,guidelines,gymnasium,valued,complexity,papal,presumably,maternal,challenging,reunited,advancing,comprised,uncertain,favorable,twelfth,correspondent,nobility,livestock,expressway,chilean,tide,researcher,emissions,profits,lengths,accompanying,witnessed,itunes,drainage,slope,reinforced,feminist,sanskrit,develops,physicians,outlets,isbn,coordinator,averaged,termed,occupy,diagnosed,yearly,humanitarian,prospect,spacecraft,stems,enacted,linux,ancestors,karnataka,constitute,immigrant,thriller,ecclesiastical,generals,celebrations,enhance,heating,advocated,evident,advances,bombardment,watershed,shuttle,wicket,twitter,adds,branded,teaches,schemes,pension,advocacy,conservatory,cairo,varsity,freshwater,providence,seemingly,shells,cuisine,specially,peaks,intensive,publishes,trilogy,skilled,nacional,unemployment,destinations,parameters,verses,trafficking,determination,infinite,savings,alignment,linguistic,countryside,dissolution,measurements,advantages,licence,subfamily,highlands,modest,regent,algeria,crest,teachings,knockout,brewery,combine,conventions,descended,chassis,primitive,fiji,explicitly,cumberland,uruguay,laboratories,bypass,elect,informal,preceded,holocaust,tackle,minneapolis,quantity,securities,console,doctoral,religions,commissioners,expertise,unveiled,precise,diplomat,standings,infant,disciplines,sicily,endorsed,systematic,charted,armored,mild,lateral,townships,hurling,prolific,invested,wartime,compatible,galleries,moist,battlefield,decoration,convent,tubes,terrestrial,nominee,requests,delegate,leased,dubai,polar,applying,addresses,munster,sings,commercials,teamed,dances,eleventh,midland,cedar,flee,sandstone,snails,inspection,divide,asset,themed,comparable,paramount,dairy,archaeology,intact,institutes,rectangular,instances,phases,reflecting,substantially,applies,vacant,lacked,copa,coloured,encounters,sponsors,encoded,possess,revenues,ucla,chaired,a.m.,enabling,playwright,stoke,sociology,tibetan,frames,motto,financing,illustrations,gibraltar,chateau,bolivia,transmitted,enclosed,persuaded,urged,folded,suffolk,regulated,bros.,submarines,myth,oriental,malaysian,effectiveness,narrowly,acute,sunk,replied,utilized,tasmania,consortium,quantities,gains,parkway,enlarged,sided,employers,adequate,accordingly,assumption,ballad,mascot,distances,peaking,saxony,projected,affiliation,limitations,metals,guatemala,scots,theaters,kindergarten,verb,employer,differs,discharge,controller,seasonal,marching,guru,campuses,avoided,vatican,maori,excessive,chartered,modifications,caves,monetary,sacramento,mixing,institutional,celebrities,irrigation,shapes,broadcaster,anthem,attributes,demolition,offshore,specification,surveys,yugoslav,contributor,auditorium,lebanese,capturing,airports,classrooms,chennai,paths,tendency,determining,lacking,upgrade,sailors,detected,kingdoms,sovereignty,freely,decorative,momentum,scholarly,georges,gandhi,speculation,transactions,undertook,interact,similarities,cove,teammate,constituted,painters,tends,madagascar,partnerships,afghan,personalities,attained,rebounds,masses,synagogue,reopened,asylum,embedded,imaging,catalogue,defenders,taxonomy,fiber,afterward,appealed,communists,lisbon,rica,judaism,adviser,batsman,ecological,commands,lgbt,cooling,accessed,wards,shiva,employs,thirds,scenic,worcester,tallest,contestant,humanities,economist,textile,constituencies,motorway,tram,percussion,cloth,leisure,1880s,baden,flags,resemble,riots,coined,sitcom,composite,implies,daytime,tanzania,penalties,optional,competitor,excluded,steering,reversed,autonomy,reviewer,breakthrough,professionally,damages,pomeranian,deputies,valleys,ventures,highlighted,electorate,mapping,shortened,executives,tertiary,specimen,launching,bibliography,sank,pursuing,binary,descendant,marched,natives,ideology,turks,adolf,archdiocese,tribunal,exceptional,nigerian,preference,fails,loading,comeback,vacuum,favored,alter,remnants,consecrated,spectators,trends,patriarch,feedback,paved,sentences,councillor,astronomy,advocates,broader,commentator,commissions,identifying,revealing,theatres,incomplete,enables,constituent,reformation,tract,haiti,atmospheric,screened,explosive,czechoslovakia,acids,symbolic,subdivision,liberals,incorporate,challenger,erie,filmmaker,laps,kazakhstan,organizational,evolutionary,chemicals,dedication,riverside,fauna,moths,maharashtra,annexed,gen.,resembles,underwater,garnered,timeline,remake,suited,educator,hectares,automotive,feared,latvia,finalist,narrator,portable,airways,plaque,designing,villagers,licensing,flank,statues,struggles,deutsche,migrated,cellular,jacksonville,wimbledon,defining,highlight,preparatory,planets,cologne,employ,frequencies,detachment,readily,libya,resign,halt,helicopters,reef,landmarks,collaborative,irregular,retaining,helsinki,folklore,weakened,viscount,interred,professors,memorable,mega,repertoire,rowing,dorsal,albeit,progressed,operative,coronation,liner,telugu,domains,philharmonic,detect,bengali,synthetic,tensions,atlas,dramatically,paralympics,xbox,shire,kiev,lengthy,sued,notorious,seas,screenwriter,transfers,aquatic,pioneers,unesco,radius,abundant,tunnels,syndicated,inventor,accreditation,janeiro,exeter,ceremonial,omaha,cadet,predators,resided,prose,slavic,precision,abbot,deity,engaging,cambodia,estonian,compliance,demonstrations,protesters,reactor,commodore,successes,chronicles,mare,extant,listings,minerals,tonnes,parody,cultivated,traders,pioneering,supplement,slovak,preparations,collision,partnered,vocational,atoms,malayalam,welcomed,documentation,curved,functioning,presently,formations,incorporates,nazis,botanical,nucleus,ethical,greeks,metric,automated,whereby,stance,europeans,duet,disability,purchasing,email,telescope,displaced,sodium,comparative,processor,inning,precipitation,aesthetic,import,coordination,feud,alternatively,mobility,tibet,regained,succeeding,hierarchy,apostolic,catalog,reproduction,inscriptions,vicar,clusters,posthumously,rican,loosely,additions,photographic,nowadays,selective,derivative,keyboards,guides,collectively,affecting,combines,operas,networking,decisive,terminated,continuity,finishes,ancestor,consul,heated,simulation,leipzig,incorporating,georgetown,formula_2,circa,forestry,portrayal,councillors,advancement,complained,forewings,confined,transaction,definitions,reduces,televised,1890s,rapids,phenomena,belarus,alps,landscapes,quarterly,specifications,commemorate,continuation,isolation,antenna,downstream,patents,ensuing,tended,saga,lifelong,columnist,labeled,gymnastics,papua,anticipated,demise,encompasses,madras,antarctica,interval,icon,rams,midlands,ingredients,priory,strengthen,rouge,explicit,gaza,aging,securing,anthropology,listeners,adaptations,underway,vista,malay,fortified,lightweight,violations,concerto,financed,jesuit,observers,trustee,descriptions,nordic,resistant,opted,accepts,prohibition,andhra,inflation,negro,wholly,imagery,spur,instructed,gloucester,cycles,middlesex,destroyers,statewide,evacuated,hyderabad,peasants,mice,shipyard,coordinate,pitching,colombian,exploring,numbering,compression,countess,hiatus,exceed,raced,archipelago,traits,soils,o'connor,vowel,android,facto,angola,amino,holders,logistics,circuits,emergence,kuwait,partition,emeritus,outcomes,submission,promotes,barack,negotiated,loaned,stripped,50th,excavations,treatments,fierce,participant,exports,decommissioned,cameo,remarked,residences,fuselage,mound,undergo,quarry,node,midwest,specializing,occupies,etc.,showcase,molecule,offs,modules,salon,exposition,revision,peers,positioned,hunters,competes,algorithms,reside,zagreb,calcium,uranium,silicon,airs,counterpart,outlet,collectors,sufficiently,canberra,inmates,anatomy,ensuring,curves,aviv,firearms,basque,volcano,thrust,sheikh,extensions,installations,aluminum,darker,sacked,emphasized,aligned,asserted,pseudonym,spanning,decorations,eighteenth,orbital,spatial,subdivided,notation,decay,macedonian,amended,declining,cyclist,feat,unusually,commuter,birthplace,latitude,activation,overhead,30th,finalists,whites,encyclopedia,tenor,qatar,survives,complement,concentrations,uncommon,astronomical,bangalore,pius,genome,memoir,recruit,prosecutor,modification,paired,container,basilica,arlington,displacement,germanic,mongolia,proportional,debates,matched,calcutta,rows,tehran,aerospace,prevalent,arise,lowland,24th,spokesman,supervised,advertisements,clash,tunes,revelation,wanderers,quarterfinals,fisheries,steadily,memoirs,pastoral,renewable,confluence,acquiring,strips,slogan,upstream,scouting,analyst,practitioners,turbine,strengthened,heavier,prehistoric,plural,excluding,isles,persecution,turin,rotating,villain,hemisphere,unaware,arabs,corpus,relied,singular,unanimous,schooling,passive,angles,dominance,instituted,aria,outskirts,balanced,beginnings,financially,structured,parachute,viewer,attitudes,subjected,escapes,derbyshire,erosion,addressing,styled,declaring,originating,colts,adjusted,stained,occurrence,fortifications,baghdad,nitrogen,localities,yemen,galway,debris,lodz,victorious,pharmaceutical,substances,unnamed,dwelling,atop,developmental,activism,voter,refugee,forested,relates,overlooking,genocide,kannada,insufficient,oversaw,partisan,dioxide,recipients,factions,mortality,capped,expeditions,receptors,reorganized,prominently,atom,flooded,flute,orchestral,scripts,mathematician,airplay,detached,rebuilding,dwarf,brotherhood,salvation,expressions,arabian,cameroon,poetic,recruiting,bundesliga,inserted,scrapped,disabilities,evacuation,pasha,undefeated,crafts,rituals,aluminium,norm,pools,submerged,occupying,pathway,exams,prosperity,wrestlers,promotions,basal,permits,nationalism,trim,merge,gazette,tributaries,transcription,caste,porto,emerge,modeled,adjoining,counterparts,paraguay,redevelopment,renewal,unreleased,equilibrium,similarity,minorities,soviets,comprise,nodes,tasked,unrelated,expired,johan,precursor,examinations,electrons,socialism,exiled,admiralty,floods,wigan,nonprofit,lacks,brigades,screens,repaired,hanover,fascist,labs,osaka,delays,judged,statutory,colt,col.,offspring,solving,bred,assisting,retains,somalia,grouped,corresponds,tunisia,chaplain,eminent,chord,22nd,spans,viral,innovations,possessions,mikhail,kolkata,icelandic,implications,introduces,racism,workforce,alto,compulsory,admits,censorship,onset,reluctant,inferior,iconic,progression,liability,turnout,satellites,behavioral,coordinated,exploitation,posterior,averaging,fringe,krakow,mountainous,greenwich,para,plantations,reinforcements,offerings,famed,intervals,constraints,individually,nutrition,1870s,taxation,threshold,tomatoes,fungi,contractor,ethiopian,apprentice,diabetes,wool,gujarat,honduras,norse,bucharest,23rd,arguably,accompany,prone,teammates,perennial,vacancy,polytechnic,deficit,okinawa,functionality,reminiscent,tolerance,transferring,myanmar,concludes,neighbours,hydraulic,economically,slower,plots,charities,synod,investor,catholicism,identifies,bronx,interpretations,adverse,judiciary,hereditary,nominal,sensor,symmetry,cubic,triangular,tenants,divisional,outreach,representations,passages,undergoing,cartridge,testified,exceeded,impacts,limiting,railroads,defeats,regain,rendering,humid,retreated,reliability,governorate,antwerp,infamous,implied,packaging,lahore,trades,billed,extinction,ecole,rejoined,recognizes,projection,qualifications,stripes,forts,socially,lexington,accurately,sexuality,westward,wikipedia,pilgrimage,abolition,choral,stuttgart,nests,expressing,strikeouts,assessed,monasteries,reconstructed,humorous,marxist,fertile,consort,urdu,patronage,peruvian,devised,lyric,baba,nassau,communism,extraction,popularly,markings,inability,litigation,accounted,processed,emirates,tempo,cadets,eponymous,contests,broadly,oxide,courtyard,frigate,directory,apex,outline,regency,chiefly,patrols,secretariat,cliffs,residency,privy,armament,australians,dorset,geometric,genetics,scholarships,fundraising,flats,demographic,multimedia,captained,documentaries,updates,canvas,blockade,guerrilla,songwriting,administrators,intake,drought,implementing,fraction,cannes,refusal,inscribed,meditation,announcing,exported,ballots,formula_3,curator,basel,arches,flour,subordinate,confrontation,gravel,simplified,berkshire,patriotic,tuition,employing,servers,castile,posting,combinations,discharged,miniature,mutations,constellation,incarnation,ideals,necessity,granting,ancestral,crowds,pioneered,mormon,methodology,rama,indirect,complexes,bavarian,patrons,uttar,skeleton,bollywood,flemish,viable,bloc,breeds,triggered,sustainability,tailed,referenced,comply,takeover,latvian,homestead,platoon,communal,nationality,excavated,targeting,sundays,posed,physicist,turret,endowment,marginal,dispatched,commentators,renovations,attachment,collaborations,ridges,barriers,obligations,shareholders,prof.,defenses,presided,rite,backgrounds,arbitrary,affordable,gloucestershire,thirteenth,inlet,miniseries,possesses,detained,pressures,subscription,realism,solidarity,proto,postgraduate,noun,burmese,abundance,homage,reasoning,anterior,robust,fencing,shifting,vowels,garde,profitable,loch,anchored,coastline,samoa,terminology,prostitution,magistrate,venezuelan,speculated,regulate,fixture,colonists,digit,induction,manned,expeditionary,computational,centennial,principally,vein,preserving,engineered,numerical,cancellation,conferred,continually,borne,seeded,advertisement,unanimously,treaties,infections,ions,sensors,lowered,amphibious,lava,fourteenth,bahrain,niagara,nicaragua,squares,congregations,26th,periodic,proprietary,1860s,contributors,seller,overs,emission,procession,presumed,illustrator,zinc,gases,tens,applicable,stretches,reproductive,sixteenth,apparatus,accomplishments,canoe,guam,oppose,recruitment,accumulated,limerick,namibia,staging,remixes,ordnance,uncertainty,pedestrian,temperate,treason,deposited,registry,cerambycidae,attracting,lankan,reprinted,shipbuilding,homosexuality,neurons,eliminating,1900s,resume,ministries,beneficial,blackpool,surplus,northampton,licenses,constructing,announcer,standardized,alternatives,taipei,inadequate,failures,yields,medalist,titular,obsolete,torah,burlington,predecessors,lublin,retailers,castles,depiction,issuing,gubernatorial,propulsion,tiles,damascus,discs,alternating,pomerania,peasant,tavern,redesignated,27th,illustration,focal,mans,codex,specialists,productivity,antiquity,controversies,promoter,pits,companions,behaviors,lyrical,prestige,creativity,swansea,dramas,approximate,feudal,tissues,crude,campaigned,unprecedented,chancel,amendments,surroundings,allegiance,exchanges,align,firmly,optimal,commenting,reigning,landings,obscure,1850s,contemporaries,paternal,devi,endurance,communes,incorporation,denominations,exchanged,routing,resorts,amnesty,slender,explores,suppression,heats,pronunciation,centred,coupe,stirling,freelance,treatise,linguistics,laos,informs,discovering,pillars,encourages,halted,robots,definitive,maturity,tuberculosis,venetian,silesian,unchanged,originates,mali,lincolnshire,quotes,seniors,premise,contingent,distribute,danube,gorge,logging,dams,curling,seventeenth,specializes,wetlands,deities,assess,thickness,rigid,culminated,utilities,substrate,insignia,nile,assam,shri,currents,suffrage,canadians,mortar,asteroid,bosnian,discoveries,enzymes,sanctioned,replica,hymn,investigators,tidal,dominate,derivatives,converting,leinster,verbs,honoured,criticisms,dismissal,discrete,masculine,reorganization,unlimited,wurttemberg,sacks,allocation,bahn,jurisdictions,participates,lagoon,famine,communion,culminating,surveyed,shortage,cables,intersects,cassette,foremost,adopting,solicitor,outright,bihar,reissued,farmland,dissertation,turnpike,baton,photographed,christchurch,kyoto,finances,rails,histories,linebacker,kilkenny,accelerated,dispersed,handicap,absorption,rancho,ceramic,captivity,cites,font,weighed,mater,utilize,bravery,extract,validity,slovenian,seminars,discourse,ranged,duel,ironically,warships,sega,temporal,surpassed,prolonged,recruits,northumberland,greenland,contributes,patented,eligibility,unification,discusses,reply,translates,beirut,relies,torque,northward,reviewers,monastic,accession,neural,tramway,heirs,sikh,subscribers,amenities,taliban,audit,rotterdam,wagons,kurdish,favoured,combustion,meanings,persia,browser,diagnostic,niger,formula_4,denomination,dividing,parameter,branding,badminton,leningrad,sparked,hurricanes,beetles,propeller,mozambique,refined,diagram,exhaust,vacated,readings,markers,reconciliation,determines,concurrent,imprint,primera,organism,demonstrating,filmmakers,vanderbilt,affiliates,traction,evaluated,defendants,megachile,investigative,zambia,assassinated,rewarded,probable,staffordshire,foreigners,directorate,nominees,consolidation,commandant,reddish,differing,unrest,drilling,bohemia,resembling,instrumentation,considerations,haute,promptly,variously,dwellings,clans,tablet,enforced,cockpit,semifinal,hussein,prisons,ceylon,emblem,monumental,phrases,correspond,crossover,outlined,characterised,acceleration,caucus,crusade,protested,composing,rajasthan,habsburg,rhythmic,interception,inherent,cooled,ponds,spokesperson,gradual,consultation,kuala,globally,suppressed,builders,avengers,suffix,integer,enforce,fibers,unionist,proclamation,uncovered,infrared,adapt,eisenhower,utilizing,captains,stretched,observing,assumes,prevents,analyses,saxophone,caucasus,notices,villains,dartmouth,mongol,hostilities,stretching,veterinary,lenses,texture,prompting,overthrow,excavation,islanders,masovian,battleship,biographer,replay,degradation,departing,luftwaffe,fleeing,oversight,immigrated,serbs,fishermen,strengthening,respiratory,italians,denotes,radial,escorted,motif,wiltshire,expresses,accessories,reverted,establishments,inequality,protocols,charting,famously,satirical,entirety,trench,friction,atletico,sampling,subset,weekday,upheld,sharply,correlation,incorrect,mughal,travelers,hasan,earnings,offset,evaluate,specialised,recognizing,flexibility,nagar,postseason,algebraic,capitalism,crystals,melodies,polynomial,racecourse,defences,austro,wembley,attracts,anarchist,resurrection,reviewing,decreasing,prefix,ratified,mutation,displaying,separating,restoring,assemblies,ordinance,priesthood,cruisers,appoint,moldova,imports,directive,epidemic,militant,senegal,signaling,restriction,critique,retrospective,nationalists,undertake,sioux,canals,algerian,redesigned,philanthropist,depict,conceptual,turbines,intellectuals,eastward,applicants,contractors,vendors,undergone,namesake,ensured,tones,substituted,hindwings,arrests,tombs,transitional,principality,reelection,taiwanese,cavity,manifesto,broadcasters,spawned,thoroughbred,identities,generators,proposes,hydroelectric,johannesburg,cortex,scandinavian,killings,aggression,boycott,catalyst,physiology,fifteenth,waterfront,chromosome,organist,costly,calculation,cemeteries,flourished,recognise,juniors,merging,disciples,ashore,workplace,enlightenment,diminished,debated,hailed,podium,educate,mandated,distributor,litre,electromagnetic,flotilla,estuary,peterborough,staircase,selections,melodic,confronts,wholesale,integrate,intercepted,catalonia,unite,immense,palatinate,switches,earthquakes,occupational,successors,praising,concluding,faculties,firstly,overhaul,empirical,metacritic,inauguration,evergreen,laden,winged,philosophers,amalgamated,geoff,centimeters,napoleonic,upright,planting,brewing,fined,sensory,migrants,wherein,inactive,headmaster,warwickshire,siberia,terminals,denounced,academia,divinity,bilateral,clive,omitted,peerage,relics,apartheid,syndicate,fearing,fixtures,desirable,dismantled,ethnicity,valves,biodiversity,aquarium,ideological,visibility,creators,analyzed,tenant,balkan,postwar,supplier,smithsonian,risen,morphology,digits,bohemian,wilmington,vishnu,demonstrates,aforementioned,biographical,mapped,khorasan,phosphate,presentations,ecosystem,processors,calculations,mosaic,clashes,penned,recalls,coding,angular,lattice,macau,accountability,extracted,pollen,therapeutic,overlap,violinist,deposed,candidacy,infants,covenant,bacterial,restructuring,dungeons,ordination,conducts,builds,invasive,customary,concurrently,relocation,cello,statutes,borneo,entrepreneurs,sanctions,packet,rockefeller,piedmont,comparisons,waterfall,receptions,glacial,surge,signatures,alterations,advertised,enduring,somali,botanist,100th,canonical,motifs,longitude,circulated,alloy,indirectly,margins,preserves,internally,besieged,shale,peripheral,drained,baseman,reassigned,tobago,soloist,socio,grazing,contexts,roofs,portraying,ottomans,shrewsbury,noteworthy,lamps,supplying,beams,qualifier,portray,greenhouse,stronghold,hitter,rites,cretaceous,urging,derive,nautical,aiming,fortunes,verde,donors,reliance,exceeding,exclusion,exercised,simultaneous,continents,guiding,pillar,gradient,poznan,eruption,clinics,moroccan,indicator,trams,piers,parallels,fragment,teatro,potassium,satire,compressed,businessmen,influx,seine,perspectives,shelters,decreases,mounting,formula_5,confederacy,equestrian,expulsion,mayors,liberia,resisted,affinity,shrub,unexpectedly,stimulus,amtrak,deported,perpendicular,statesman,wharf,storylines,romanesque,weights,surfaced,interceptions,dhaka,crambidae,orchestras,rwanda,conclude,constitutes,subsidiaries,admissions,prospective,shear,bilingual,campaigning,presiding,domination,commemorative,trailing,confiscated,petrol,acquisitions,polymer,onlyinclude,chloride,elevations,resolutions,hurdles,pledged,likelihood,objected,erect,encoding,databases,aristotle,hindus,marshes,bowled,ministerial,grange,acronym,annexation,squads,ambient,pilgrims,botany,sofla,astronomer,planetary,descending,bestowed,ceramics,diplomacy,metabolism,colonization,potomac,africans,engraved,recycling,commitments,resonance,disciplinary,jamaican,narrated,spectral,tipperary,waterford,stationary,arbitration,transparency,threatens,crossroads,slalom,oversee,centenary,incidence,economies,livery,moisture,newsletter,autobiographical,bhutan,propelled,dependence,moderately,adobe,barrels,subdivisions,outlook,labelled,stratford,arising,diaspora,barony,automobiles,ornamental,slated,norms,primetime,generalized,analysts,vectors,libyan,yielded,certificates,rooted,vernacular,belarusian,marketplace,prediction,fairfax,malawi,viruses,wooded,demos,mauritius,prosperous,coincided,liberties,huddersfield,ascent,warnings,hinduism,glucose,pulitzer,unused,filters,illegitimate,acquitted,protestants,canopy,staple,psychedelic,winding,abbas,pathways,cheltenham,lagos,niche,invaders,proponents,barred,conversely,doncaster,recession,embraced,rematch,concession,emigration,upgrades,bowls,tablets,remixed,loops,kensington,shootout,monarchs,organizers,harmful,punjabi,broadband,exempt,neolithic,profiles,portrays,parma,cyrillic,quasi,attested,regimental,revive,torpedoes,heidelberg,rhythms,spherical,denote,hymns,icons,theologian,qaeda,exceptionally,reinstated,comune,playhouse,lobbying,grossing,viceroy,delivers,visually,armistice,utrecht,syllable,vertices,analogous,annex,refurbished,entrants,knighted,disciple,rhetoric,detailing,inactivated,ballads,algae,intensified,favourable,sanitation,receivers,pornography,commemorated,cannons,entrusted,manifold,photographers,pueblo,textiles,steamer,myths,marquess,onward,liturgical,romney,uzbekistan,consistency,denoted,hertfordshire,convex,hearings,sulfur,universidad,podcast,selecting,emperors,arises,justices,1840s,mongolian,exploited,termination,digitally,infectious,sedan,symmetric,penal,illustrate,formulation,attribute,problematic,modular,inverse,berth,searches,rutgers,leicestershire,enthusiasts,lockheed,upwards,transverse,accolades,backward,archaeologists,crusaders,nuremberg,defects,ferries,vogue,containers,openings,transporting,separates,lumpur,purchases,attain,wichita,topology,woodlands,deleted,periodically,syntax,overturned,musicals,corp.,strasbourg,instability,nationale,prevailing,cache,marathi,versailles,unmarried,grains,straits,antagonist,segregation,assistants,d'etat,contention,dictatorship,unpopular,motorcycles,criterion,analytical,salzburg,militants,hanged,worcestershire,emphasize,paralympic,erupted,convinces,offences,oxidation,nouns,populace,atari,spanned,hazardous,educators,playable,births,baha'i,preseason,generates,invites,meteorological,handbook,foothills,enclosure,diffusion,mirza,convergence,geelong,coefficient,connector,formula_6,cylindrical,disasters,pleaded,knoxville,contamination,compose,libertarian,arrondissement,franciscan,intercontinental,susceptible,initiation,malaria,unbeaten,consonants,waived,saloon,popularized,estadio,pseudo,interdisciplinary,transports,transformers,carriages,bombings,revolves,ceded,collaborator,celestial,exemption,colchester,maltese,oceanic,ligue,crete,shareholder,routed,depictions,ridden,advisors,calculate,lending,guangzhou,simplicity,newscast,scheduling,snout,eliot,undertaking,armenians,nottinghamshire,whitish,consulted,deficiency,salle,cinemas,superseded,rigorous,kerman,convened,landowners,modernization,evenings,pitches,conditional,scandinavia,differed,formulated,cyclists,swami,guyana,dunes,electrified,appalachian,abdomen,scenarios,prototypes,sindh,consonant,adaptive,boroughs,wolverhampton,modelling,cylinders,amounted,minimize,ambassadors,lenin,settler,coincide,approximation,grouping,murals,bullying,registers,rumours,engagements,energetic,vertex,annals,bordering,geologic,yellowish,runoff,converts,allegheny,facilitated,saturdays,colliery,monitored,rainforest,interfaces,geographically,impaired,prevalence,joachim,paperback,slowed,shankar,distinguishing,seminal,categorized,authorised,auspices,bandwidth,asserts,rebranded,balkans,supplemented,seldom,weaving,capsule,apostles,populous,monmouth,payload,symphonic,densely,shoreline,managerial,masonry,antioch,averages,textbooks,royalist,coliseum,tandem,brewers,diocesan,posthumous,walled,incorrectly,distributions,ensued,reasonably,graffiti,propagation,automation,harmonic,augmented,middleweight,limbs,elongated,landfall,comparatively,literal,grossed,koppen,wavelength,1830s,cerebral,boasts,congestion,physiological,practitioner,coasts,cartoonist,undisclosed,frontal,launches,burgundy,qualifiers,imposing,stade,flanked,assyrian,raided,multiplayer,montane,chesapeake,pathology,drains,vineyards,intercollegiate,semiconductor,grassland,convey,citations,predominant,rejects,benefited,yahoo,graphs,busiest,encompassing,hamlets,explorers,suppress,minors,graphical,calculus,sediment,intends,diverted,mainline,unopposed,cottages,initiate,alumnus,towed,autism,forums,darlington,modernist,oxfordshire,lectured,capitalist,suppliers,panchayat,actresses,foundry,southbound,commodity,wesleyan,divides,palestinians,luton,caretaker,nobleman,mutiny,organizer,preferences,nomenclature,splits,unwilling,offenders,timor,relying,halftime,semitic,arithmetic,milestone,jesuits,arctiidae,retrieved,consuming,contender,edged,plagued,inclusive,transforming,khmer,federally,insurgents,distributing,amherst,rendition,prosecutors,viaduct,disqualified,kabul,liturgy,prevailed,reelected,instructors,swimmers,aperture,churchyard,interventions,totals,darts,metropolis,fuels,fluent,northbound,correctional,inflicted,barrister,realms,culturally,aristocratic,collaborating,emphasizes,choreographer,inputs,ensembles,humboldt,practised,endowed,strains,infringement,archaeologist,congregational,magna,relativity,efficiently,proliferation,mixtape,abruptly,regeneration,commissioning,yukon,archaic,reluctantly,retailer,northamptonshire,universally,crossings,boilers,nickelodeon,revue,abbreviation,retaliation,scripture,routinely,medicinal,benedictine,kenyan,retention,deteriorated,glaciers,apprenticeship,coupling,researched,topography,entrances,anaheim,pivotal,compensate,arched,modify,reinforce,dusseldorf,journeys,motorsport,conceded,sumatra,spaniards,quantitative,loire,cinematography,discarded,botswana,morale,engined,zionist,philanthropy,sainte,fatalities,cypriot,motorsports,indicators,pricing,institut,bethlehem,implicated,gravitational,differentiation,rotor,thriving,precedent,ambiguous,concessions,forecast,conserved,fremantle,asphalt,landslide,middlesbrough,formula_7,humidity,overseeing,chronological,diaries,multinational,crimean,turnover,improvised,youths,declares,tasmanian,canadiens,fumble,refinery,weekdays,unconstitutional,upward,guardians,brownish,imminent,hamas,endorsement,naturalist,martyrs,caledonia,chords,yeshiva,reptiles,severity,mitsubishi,fairs,installment,substitution,repertory,keyboardist,interpreter,silesia,noticeable,rhineland,transmit,inconsistent,booklet,academies,epithet,pertaining,progressively,aquatics,scrutiny,prefect,toxicity,rugged,consume,o'donnell,evolve,uniquely,cabaret,mediated,landowner,transgender,palazzo,compilations,albuquerque,induce,sinai,remastered,efficacy,underside,analogue,specify,possessing,advocating,compatibility,liberated,greenville,mecklenburg,header,memorials,sewage,rhodesia,1800s,salaries,atoll,coordinating,partisans,repealed,amidst,subjective,optimization,nectar,evolving,exploits,madhya,styling,accumulation,raion,postage,responds,buccaneers,frontman,brunei,choreography,coated,kinetic,sampled,inflammatory,complementary,eclectic,norte,vijay,a.k.a,mainz,casualty,connectivity,laureate,franchises,yiddish,reputed,unpublished,economical,periodicals,vertically,bicycles,brethren,capacities,unitary,archeological,tehsil,domesday,wehrmacht,justification,angered,mysore,fielded,abuses,nutrients,ambitions,taluk,battleships,symbolism,superiority,neglect,attendees,commentaries,collaborators,predictions,yorker,breeders,investing,libretto,informally,coefficients,memorandum,pounder,collingwood,tightly,envisioned,arbor,mistakenly,captures,nesting,conflicting,enhancing,streetcar,manufactures,buckinghamshire,rewards,commemorating,stony,expenditure,tornadoes,semantic,relocate,weimar,iberian,sighted,intending,ensign,beverages,expectation,differentiate,centro,utilizes,saxophonist,catchment,transylvania,ecosystems,shortest,sediments,socialists,ineffective,kapoor,formidable,heroine,guantanamo,prepares,scattering,pamphlet,verified,elector,barons,totaling,shrubs,pyrenees,amalgamation,mutually,longitudinal,comte,negatively,masonic,envoy,sexes,akbar,mythical,tonga,bishopric,assessments,malaya,warns,interiors,reefs,reflections,neutrality,musically,nomadic,waterways,provence,collaborate,scaled,adulthood,emerges,euros,optics,incentives,overland,periodical,liege,awarding,realization,slang,affirmed,schooner,hokkaido,czechoslovak,protectorate,undrafted,disagreed,commencement,electors,spruce,swindon,fueled,equatorial,inventions,suites,slovene,backdrop,adjunct,energies,remnant,inhabit,alliances,simulcast,reactors,mosques,travellers,outfielder,plumage,migratory,benin,experimented,fibre,projecting,drafting,laude,evidenced,northernmost,indicted,directional,replication,croydon,comedies,jailed,organizes,devotees,reservoirs,turrets,originate,economists,songwriters,junta,trenches,mounds,proportions,comedic,apostle,azerbaijani,farmhouse,resembled,disrupted,playback,mixes,diagonal,relevance,govern,programmer,gdansk,maize,soundtracks,tendencies,mastered,impacted,believers,kilometre,intervene,chairperson,aerodrome,sails,subsidies,ensures,aesthetics,congresses,ratios,sardinia,southernmost,functioned,controllers,downward,randomly,distortion,regents,palatine,disruption,spirituality,vidhan,tracts,compiler,ventilation,anchorage,symposium,assert,pistols,excelled,avenues,convoys,moniker,constructions,proponent,phased,spines,organising,schleswig,policing,campeonato,mined,hourly,croix,lucrative,authenticity,haitian,stimulation,burkina,espionage,midfield,manually,staffed,awakening,metabolic,biographies,entrepreneurship,conspicuous,guangdong,preface,subgroup,mythological,adjutant,feminism,vilnius,oversees,honourable,tripoli,stylized,kinase,societe,notoriety,altitudes,configurations,outward,transmissions,announces,auditor,ethanol,clube,nanjing,mecca,haifa,blogs,postmaster,paramilitary,depart,positioning,potent,recognizable,spire,brackets,remembrance,overlapping,turkic,articulated,scientology,operatic,deploy,readiness,biotechnology,restrict,cinematographer,inverted,synonymous,administratively,westphalia,commodities,replaces,downloads,centralized,munitions,preached,sichuan,fashionable,implementations,matrices,hiv/aids,loyalist,luzon,celebrates,hazards,heiress,mercenaries,synonym,creole,ljubljana,technician,auditioned,technicians,viewpoint,wetland,mongols,princely,sharif,coating,dynasties,southward,doubling,formula_8,mayoral,harvesting,conjecture,goaltender,oceania,spokane,welterweight,bracket,gatherings,weighted,newscasts,mussolini,affiliations,disadvantage,vibrant,spheres,sultanate,distributors,disliked,establishes,marches,drastically,yielding,jewellery,yokohama,vascular,airlift,canons,subcommittee,repression,strengths,graded,outspoken,fused,pembroke,filmography,redundant,fatigue,repeal,threads,reissue,pennant,edible,vapor,corrections,stimuli,commemoration,dictator,anand,secession,amassed,orchards,pontifical,experimentation,greeted,bangor,forwards,decomposition,quran,trolley,chesterfield,traverse,sermons,burials,skier,climbs,consultants,petitioned,reproduce,parted,illuminated,kurdistan,reigned,occupants,packaged,geometridae,woven,regulating,protagonists,crafted,affluent,clergyman,consoles,migrant,supremacy,attackers,caliph,defect,convection,rallies,huron,resin,segunda,quota,warship,overseen,criticizing,shrines,glamorgan,lowering,beaux,hampered,invasions,conductors,collects,bluegrass,surrounds,substrates,perpetual,chronology,pulmonary,executions,crimea,compiling,noctuidae,battled,tumors,minsk,novgorod,serviced,yeast,computation,swamps,theodor,baronetcy,salford,uruguayan,shortages,odisha,siberian,novelty,cinematic,invitational,decks,dowager,oppression,bandits,appellate,state-of-the-art,clade,palaces,signalling,galaxies,industrialist,tensor,learnt,incurred,magistrates,binds,orbits,ciudad,willingness,peninsular,basins,biomedical,shafts,marlborough,bournemouth,withstand,fitzroy,dunedin,variance,steamship,integrating,muscular,fines,akron,bulbophyllum,malmo,disclosed,cornerstone,runways,medicines,twenty20,gettysburg,progresses,frigates,bodied,transformations,transforms,helens,modelled,versatile,regulator,pursuits,legitimacy,amplifier,scriptures,voyages,examines,presenters,octagonal,poultry,formula_9,anatolia,computed,migrate,directorial,hybrids,localized,preferring,guggenheim,persisted,grassroots,inflammation,fishery,otago,vigorous,professions,instructional,inexpensive,insurgency,legislators,sequels,surnames,agrarian,stainless,nairobi,minas,forerunner,aristocracy,transitions,sicilian,showcased,doses,hiroshima,summarized,gearbox,emancipation,limitation,nuclei,seismic,abandonment,dominating,appropriations,occupations,electrification,hilly,contracting,exaggerated,entertainer,kazan,oricon,cartridges,characterization,parcel,maharaja,exceeds,aspiring,obituary,flattened,contrasted,narration,replies,oblique,outpost,fronts,arranger,talmud,keynes,doctrines,endured,confesses,fortification,supervisors,kilometer,academie,jammu,bathurst,piracy,prostitutes,navarre,cumulative,cruises,lifeboat,twinned,radicals,interacting,expenditures,wexford,libre,futsal,curated,clockwise,colloquially,procurement,immaculate,lyricist,enhancement,porcelain,alzheimer,highlighting,judah,disagreements,storytelling,sheltered,wroclaw,vaudeville,contrasts,neoclassical,compares,contrasting,deciduous,francaise,descriptive,cyclic,reactive,antiquities,meiji,repeats,creditors,forcibly,newmarket,picturesque,impending,uneven,bison,raceway,solvent,ecumenical,optic,professorship,harvested,waterway,banjo,pharaoh,geologist,scanning,dissent,recycled,unmanned,retreating,gospels,aqueduct,branched,tallinn,groundbreaking,syllables,hangar,designations,procedural,craters,cabins,encryption,anthropologist,montevideo,outgoing,inverness,chattanooga,fascism,calais,chapels,groundwater,downfall,misleading,robotic,tortricidae,pixel,handel,prohibit,crewe,renaming,reprised,kickoff,leftist,spaced,integers,causeway,pines,authorship,organise,ptolemy,accessibility,virtues,lesions,iroquois,qur'an,atheist,synthesized,biennial,confederates,dietary,skaters,stresses,tariff,koreans,intercity,republics,quintet,baroness,naive,amplitude,insistence,tbilisi,residues,grammatical,diversified,egyptians,accompaniment,vibration,repository,mandal,topological,distinctions,coherent,invariant,batters,nuevo,internationals,implements,follower,bahia,widened,independents,cantonese,totaled,guadalajara,wolverines,befriended,muzzle,surveying,hungarians,medici,deportation,rayon,approx,recounts,attends,clerical,hellenic,furnished,alleging,soluble,systemic,gallantry,bolshevik,intervened,hostel,gunpowder,specialising,stimulate,leiden,removes,thematic,floral,bafta,printers,conglomerate,eroded,analytic,successively,lehigh,thessaloniki,kilda,clauses,ascended,nehru,scripted,tokugawa,competence,diplomats,exclude,consecration,freedoms,assaults,revisions,blacksmith,textual,sparse,concacaf,slain,uploaded,enraged,whaling,guise,stadiums,debuting,dormitory,cardiovascular,yunnan,dioceses,consultancy,notions,lordship,archdeacon,collided,medial,airfields,garment,wrestled,adriatic,reversal,refueling,verification,jakob,horseshoe,intricate,veracruz,sarawak,syndication,synthesizer,anthologies,stature,feasibility,guillaume,narratives,publicized,antrim,intermittent,constituents,grimsby,filmmaking,doping,unlawful,nominally,transmitting,documenting,seater,internationale,ejected,steamboat,alsace,boise,ineligible,geared,vassal,mustered,ville,inline,pairing,eurasian,kyrgyzstan,barnsley,reprise,stereotypes,rushes,conform,firefighters,deportivo,revolutionaries,rabbis,concurrency,charters,sustaining,aspirations,algiers,chichester,falkland,morphological,systematically,volcanoes,designate,artworks,reclaimed,jurist,anglia,resurrected,chaotic,feasible,circulating,simulated,environmentally,confinement,adventist,harrisburg,laborers,ostensibly,universiade,pensions,influenza,bratislava,octave,refurbishment,gothenburg,putin,barangay,annapolis,breaststroke,illustrates,distorted,choreographed,promo,emphasizing,stakeholders,descends,exhibiting,intrinsic,invertebrates,evenly,roundabout,salts,formula_10,strata,inhibition,branching,stylistic,rumored,realises,mitochondrial,commuted,adherents,logos,bloomberg,telenovela,guineas,charcoal,engages,winery,reflective,siena,cambridgeshire,ventral,flashback,installing,engraving,grasses,traveller,rotated,proprietor,nationalities,precedence,sourced,trainers,cambodian,reductions,depleted,saharan,classifications,biochemistry,plaintiffs,arboretum,humanist,fictitious,aleppo,climates,bazaar,his/her,homogeneous,multiplication,moines,indexed,linguist,skeletal,foliage,societal,differentiated,informing,mammal,infancy,archival,cafes,malls,graeme,musee,schizophrenia,fargo,pronouns,derivation,descend,ascending,terminating,deviation,recaptured,confessions,weakening,tajikistan,bahadur,pasture,b/hip,donegal,supervising,sikhs,thinkers,euclidean,reinforcement,friars,portage,fuscous,lucknow,synchronized,assertion,choirs,privatization,corrosion,multitude,skyscraper,royalties,ligament,usable,spores,directs,clashed,stockport,fronted,dependency,contiguous,biologist,backstroke,powerhouse,frescoes,phylogenetic,welding,kildare,gabon,conveyed,augsburg,severn,continuum,sahib,lille,injuring,passeriformesfamily,succeeds,translating,unitarian,startup,turbulent,outlying,philanthropic,stanislaw,idols,claremont,conical,haryana,armagh,blended,implicit,conditioned,modulation,rochdale,labourers,coinage,shortstop,potsdam,gears,obesity,bestseller,advisers,bouts,comedians,jozef,lausanne,taxonomic,correlated,columbian,marne,indications,psychologists,libel,edict,beaufort,disadvantages,renal,finalized,racehorse,unconventional,disturbances,falsely,zoology,adorned,redesign,executing,narrower,commended,appliances,stalls,resurgence,saskatoon,miscellaneous,permitting,epoch,formula_11,cumbria,forefront,vedic,eastenders,disposed,supermarkets,rower,inhibitor,magnesium,colourful,yusuf,harrow,formulas,centrally,balancing,ionic,nocturnal,consolidate,ornate,raiding,charismatic,accelerate,nominate,residual,dhabi,commemorates,attribution,uninhabited,mindanao,atrocities,genealogical,romani,applicant,enactment,abstraction,trough,pulpit,minuscule,misconduct,grenades,timely,supplements,messaging,curvature,ceasefire,telangana,susquehanna,braking,redistribution,shreveport,neighbourhoods,gregorian,widowed,khuzestan,empowerment,scholastic,evangelist,peptide,topical,theorist,historia,thence,sudanese,museo,jurisprudence,masurian,frankish,headlined,recounted,netball,petitions,tolerant,hectare,truncated,southend,methane,captives,reigns,massif,subunit,acidic,weightlifting,footballers,sabah,britannia,tunisian,segregated,sawmill,withdrawing,unpaid,weaponry,somme,perceptions,unicode,alcoholism,durban,wrought,waterfalls,jihad,auschwitz,upland,eastbound,adjective,anhalt,evaluating,regimes,guildford,reproduced,pamphlets,hierarchical,maneuvers,hanoi,fabricated,repetition,enriched,arterial,replacements,tides,globalization,adequately,westbound,satisfactory,fleets,phosphorus,lastly,neuroscience,anchors,xinjiang,membranes,improvisation,shipments,orthodoxy,submissions,bolivian,mahmud,ramps,leyte,pastures,outlines,flees,transmitters,fares,sequential,stimulated,novice,alternately,symmetrical,breakaway,layered,baronets,lizards,blackish,edouard,horsepower,penang,principals,mercantile,maldives,overwhelmingly,hawke,rallied,prostate,conscription,juveniles,maccabi,carvings,strikers,sudbury,spurred,improves,lombardy,macquarie,parisian,elastic,distillery,shetland,humane,brentford,wrexham,warehouses,routines,encompassed,introductory,isfahan,instituto,palais,revolutions,sporadic,impoverished,portico,fellowships,speculative,enroll,dormant,adhere,fundamentally,sculpted,meritorious,template,upgrading,reformer,rectory,uncredited,indicative,creeks,galveston,radically,hezbollah,firearm,educating,prohibits,trondheim,locus,refit,headwaters,screenings,lowlands,wasps,coarse,attaining,sedimentary,perished,pitchfork,interned,cerro,stagecoach,aeronautical,liter,transitioned,haydn,inaccurate,legislatures,bromwich,knesset,spectroscopy,butte,asiatic,degraded,concordia,catastrophic,lobes,wellness,pensacola,periphery,hapoel,theta,horizontally,freiburg,liberalism,pleas,durable,warmian,offenses,mesopotamia,shandong,unsuitable,hospitalized,appropriately,phonetic,encompass,conversions,observes,illnesses,breakout,assigns,crowns,inhibitors,nightly,manifestation,fountains,maximize,alphabetical,sloop,expands,newtown,widening,gaddafi,commencing,camouflage,footprint,tyrol,barangays,universite,highlanders,budgets,query,lobbied,westchester,equator,stipulated,pointe,distinguishes,allotted,embankment,advises,storing,loyalists,fourier,rehearsals,starvation,gland,rihanna,tubular,expressive,baccalaureate,intersections,revered,carbonate,eritrea,craftsmen,cosmopolitan,sequencing,corridors,shortlisted,bangladeshi,persians,mimic,parades,repetitive,recommends,flanks,promoters,incompatible,teaming,ammonia,greyhound,solos,improper,legislator,newsweek,recurrent,vitro,cavendish,eireann,crises,prophets,mandir,strategically,guerrillas,formula_12,ghent,contenders,equivalence,drone,sociological,hamid,castes,statehood,aland,clinched,relaunched,tariffs,simulations,williamsburg,rotate,mediation,smallpox,harmonica,lodges,lavish,restrictive,o'sullivan,detainees,polynomials,echoes,intersecting,learners,elects,charlemagne,defiance,epsom,liszt,facilitating,absorbing,revelations,padua,pieter,pious,penultimate,mammalian,montenegrin,supplementary,widows,aromatic,croats,roanoke,trieste,legions,subdistrict,babylonian,grasslands,volga,violently,sparsely,oldies,telecommunication,respondents,quarries,downloadable,commandos,taxpayer,catalytic,malabar,afforded,copying,declines,nawab,junctions,assessing,filtering,classed,disused,compliant,christoph,gottingen,civilizations,hermitage,caledonian,whereupon,ethnically,springsteen,mobilization,terraces,indus,excel,zoological,enrichment,simulate,guitarists,registrar,cappella,invoked,reused,manchu,configured,uppsala,genealogy,mergers,casts,curricular,rebelled,subcontinent,horticultural,parramatta,orchestrated,dockyard,claudius,decca,prohibiting,turkmenistan,brahmin,clandestine,obligatory,elaborated,parasitic,helix,constraint,spearheaded,rotherham,eviction,adapting,albans,rescues,sociologist,guiana,convicts,occurrences,kamen,antennas,asturias,wheeled,sanitary,deterioration,trier,theorists,baseline,announcements,valea,planners,factual,serialized,serials,bilbao,demoted,fission,jamestown,cholera,alleviate,alteration,indefinite,sulfate,paced,climatic,valuation,artisans,proficiency,aegean,regulators,fledgling,sealing,influencing,servicemen,frequented,cancers,tambon,narayan,bankers,clarified,embodied,engraver,reorganisation,dissatisfied,dictated,supplemental,temperance,ratification,puget,nutrient,pretoria,papyrus,uniting,ascribed,cores,coptic,schoolhouse,barrio,1910s,armory,defected,transatlantic,regulates,ported,artefacts,specifies,boasted,scorers,mollusks,emitted,navigable,quakers,projective,dialogues,reunification,exponential,vastly,banners,unsigned,dissipated,halves,coincidentally,leasing,purported,escorting,estimation,foxes,lifespan,inflorescence,assimilation,showdown,staunch,prologue,ligand,superliga,telescopes,northwards,keynote,heaviest,taunton,redeveloped,vocalists,podlaskie,soyuz,rodents,azores,moravian,outset,parentheses,apparel,domestically,authoritative,polymers,monterrey,inhibit,launcher,jordanian,folds,taxis,mandates,singled,liechtenstein,subsistence,marxism,ousted,governorship,servicing,offseason,modernism,prism,devout,translators,islamist,chromosomes,pitted,bedfordshire,fabrication,authoritarian,javanese,leaflets,transient,substantive,predatory,sigismund,assassinate,diagrams,arrays,rediscovered,reclamation,spawning,fjord,peacekeeping,strands,fabrics,highs,regulars,tirana,ultraviolet,athenian,filly,barnet,naacp,nueva,favourites,terminates,showcases,clones,inherently,interpreting,bjorn,finely,lauded,unspecified,chola,pleistocene,insulation,antilles,donetsk,funnel,nutritional,biennale,reactivated,southport,primate,cavaliers,austrians,interspersed,restarted,suriname,amplifiers,wladyslaw,blockbuster,sportsman,minogue,brightness,benches,bridgeport,initiating,israelis,orbiting,newcomers,externally,scaling,transcribed,impairment,luxurious,longevity,impetus,temperament,ceilings,tchaikovsky,spreads,pantheon,bureaucracy,1820s,heraldic,villas,formula_13,galician,meath,avoidance,corresponded,headlining,connacht,seekers,rappers,solids,monograph,scoreless,opole,isotopes,himalayas,parodies,garments,microscopic,republished,havilland,orkney,demonstrators,pathogen,saturated,hellenistic,facilitates,aerodynamic,relocating,indochina,laval,astronomers,bequeathed,administrations,extracts,nagoya,torquay,demography,medicare,ambiguity,renumbered,pursuant,concave,syriac,electrode,dispersal,henan,bialystok,walsall,crystalline,puebla,janata,illumination,tianjin,enslaved,coloration,championed,defamation,grille,johor,rejoin,caspian,fatally,planck,workings,appointing,institutionalized,wessex,modernized,exemplified,regatta,jacobite,parochial,programmers,blending,eruptions,insurrection,regression,indices,sited,dentistry,mobilized,furnishings,levant,primaries,ardent,nagasaki,conqueror,dorchester,opined,heartland,amman,mortally,wellesley,bowlers,outputs,coveted,orthography,immersion,disrepair,disadvantaged,curate,childless,condensed,codice_1,remodeled,resultant,bolsheviks,superfamily,saxons,2010s,contractual,rivalries,malacca,oaxaca,magnate,vertebrae,quezon,olympiad,yucatan,tyres,macro,specialization,commendation,caliphate,gunnery,exiles,excerpts,fraudulent,adjustable,aramaic,interceptor,drumming,standardization,reciprocal,adolescents,federalist,aeronautics,favorably,enforcing,reintroduced,zhejiang,refining,biplane,banknotes,accordion,intersect,illustrating,summits,classmate,militias,biomass,massacres,epidemiology,reworked,wrestlemania,nantes,auditory,taxon,elliptical,chemotherapy,asserting,avoids,proficient,airmen,yellowstone,multicultural,alloys,utilization,seniority,kuyavian,huntsville,orthogonal,bloomington,cultivars,casimir,internment,repulsed,impedance,revolving,fermentation,parana,shutout,partnering,empowered,islamabad,polled,classify,amphibians,greyish,obedience,4x100,projectile,khyber,halfback,relational,d'ivoire,synonyms,endeavour,padma,customized,mastery,defenceman,berber,purge,interestingly,covent,promulgated,restricting,condemnation,hillsborough,walkers,privateer,intra,captaincy,naturalized,huffington,detecting,hinted,migrating,bayou,counterattack,anatomical,foraging,unsafe,swiftly,outdated,paraguayan,attire,masjid,endeavors,jerseys,triassic,quechua,growers,axial,accumulate,wastewater,cognition,fungal,animator,pagoda,kochi,uniformly,antibody,yerevan,hypotheses,combatants,italianate,draining,fragmentation,snowfall,formative,inversion,kitchener,identifier,additive,lucha,selects,ashland,cambrian,racetrack,trapping,congenital,primates,wavelengths,expansions,yeomanry,harcourt,wealthiest,awaited,punta,intervening,aggressively,vichy,piloted,midtown,tailored,heyday,metadata,guadalcanal,inorganic,hadith,pulses,francais,tangent,scandals,erroneously,tractors,pigment,constabulary,jiangsu,landfill,merton,basalt,astor,forbade,debuts,collisions,exchequer,stadion,roofed,flavour,sculptors,conservancy,dissemination,electrically,undeveloped,existent,surpassing,pentecostal,manifested,amend,formula_14,superhuman,barges,tunis,analytics,argyll,liquids,mechanized,domes,mansions,himalayan,indexing,reuters,nonlinear,purification,exiting,timbers,triangles,decommissioning,departmental,causal,fonts,americana,sept.,seasonally,incomes,razavi,sheds,memorabilia,rotational,terre,sutra,protege,yarmouth,grandmaster,annum,looted,imperialism,variability,liquidation,baptised,isotope,showcasing,milling,rationale,hammersmith,austen,streamlined,acknowledging,contentious,qaleh,breadth,turing,referees,feral,toulon,unofficially,identifiable,standout,labeling,dissatisfaction,jurgen,angrily,featherweight,cantons,constrained,dominates,standalone,relinquished,theologians,markedly,italics,downed,nitrate,likened,gules,craftsman,singaporean,pixels,mandela,moray,parity,departement,antigen,academically,burgh,brahma,arranges,wounding,triathlon,nouveau,vanuatu,banded,acknowledges,unearthed,stemming,authentication,byzantines,converge,nepali,commonplace,deteriorating,recalling,palette,mathematicians,greenish,pictorial,ahmedabad,rouen,validation,u.s.a.,'best,malvern,archers,converter,undergoes,fluorescent,logistical,notification,transvaal,illicit,symphonies,stabilization,worsened,fukuoka,decrees,enthusiast,seychelles,blogger,louvre,dignitaries,burundi,wreckage,signage,pinyin,bursts,federer,polarization,urbana,lazio,schism,nietzsche,venerable,administers,seton,kilograms,invariably,kathmandu,farmed,disqualification,earldom,appropriated,fluctuations,kermanshah,deployments,deformation,wheelbase,maratha,psalm,bytes,methyl,engravings,skirmish,fayette,vaccines,ideally,astrology,breweries,botanic,opposes,harmonies,irregularities,contended,gaulle,prowess,constants,aground,filipinos,fresco,ochreous,jaipur,willamette,quercus,eastwards,mortars,champaign,braille,reforming,horned,hunan,spacious,agitation,draught,specialties,flourishing,greensboro,necessitated,swedes,elemental,whorls,hugely,structurally,plurality,synthesizers,embassies,assad,contradictory,inference,discontent,recreated,inspectors,unicef,commuters,embryo,modifying,stints,numerals,communicated,boosted,trumpeter,brightly,adherence,remade,leases,restrained,eucalyptus,dwellers,planar,grooves,gainesville,daimler,anzac,szczecin,cornerback,prized,peking,mauritania,khalifa,motorized,lodging,instrumentalist,fortresses,cervical,formula_15,passerine,sectarian,researches,apprenticed,reliefs,disclose,gliding,repairing,queue,kyushu,literate,canoeing,sacrament,separatist,calabria,parkland,flowed,investigates,statistically,visionary,commits,dragoons,scrolls,premieres,revisited,subdued,censored,patterned,elective,outlawed,orphaned,leyland,richly,fujian,miniatures,heresy,plaques,countered,nonfiction,exponent,moravia,dispersion,marylebone,midwestern,enclave,ithaca,federated,electronically,handheld,microscopy,tolls,arrivals,climbers,continual,cossacks,moselle,deserts,ubiquitous,gables,forecasts,deforestation,vertebrates,flanking,drilled,superstructure,inspected,consultative,bypassed,ballast,subsidy,socioeconomic,relic,grenada,journalistic,administering,accommodated,collapses,appropriation,reclassified,foreword,porte,assimilated,observance,fragmented,arundel,thuringia,gonzaga,shenzhen,shipyards,sectional,ayrshire,sloping,dependencies,promenade,ecuadorian,mangrove,constructs,goalscorer,heroism,iteration,transistor,omnibus,hampstead,cochin,overshadowed,chieftain,scalar,finishers,ghanaian,abnormalities,monoplane,encyclopaedia,characterize,travancore,baronetage,bearers,biking,distributes,paving,christened,inspections,banco,humber,corinth,quadratic,albanians,lineages,majored,roadside,inaccessible,inclination,darmstadt,fianna,epilepsy,propellers,papacy,montagu,bhutto,sugarcane,optimized,pilasters,contend,batsmen,brabant,housemates,sligo,ascot,aquinas,supervisory,accorded,gerais,echoed,nunavut,conservatoire,carniola,quartermaster,gminas,impeachment,aquitaine,reformers,quarterfinal,karlsruhe,accelerator,coeducational,archduke,gelechiidae,seaplane,dissident,frenchman,palau,depots,hardcover,aachen,darreh,denominational,groningen,parcels,reluctance,drafts,elliptic,counters,decreed,airship,devotional,contradiction,formula_16,undergraduates,qualitative,guatemalan,slavs,southland,blackhawks,detrimental,abolish,chechen,manifestations,arthritis,perch,fated,hebei,peshawar,palin,immensely,havre,totalling,rampant,ferns,concourse,triples,elites,olympian,larva,herds,lipid,karabakh,distal,monotypic,vojvodina,batavia,multiplied,spacing,spellings,pedestrians,parchment,glossy,industrialization,dehydrogenase,patriotism,abolitionist,mentoring,elizabethan,figurative,dysfunction,abyss,constantin,middletown,stigma,mondays,gambia,gaius,israelites,renounced,nepalese,overcoming,buren,sulphur,divergence,predation,looting,iberia,futuristic,shelved,anthropological,innsbruck,escalated,clermont,entrepreneurial,benchmark,mechanically,detachments,populist,apocalyptic,exited,embryonic,stanza,readership,chiba,landlords,expansive,boniface,therapies,perpetrators,whitehall,kassel,masts,carriageway,clinch,pathogens,mazandaran,undesirable,teutonic,miocene,nagpur,juris,cantata,compile,diffuse,dynastic,reopening,comptroller,o'neal,flourish,electing,scientifically,departs,welded,modal,cosmology,fukushima,libertadores,chang'an,asean,generalization,localization,afrikaans,cricketers,accompanies,emigrants,esoteric,southwards,shutdown,prequel,fittings,innate,wrongly,equitable,dictionaries,senatorial,bipolar,flashbacks,semitism,walkway,lyrically,legality,sorbonne,vigorously,durga,samoan,karel,interchanges,patna,decider,registering,electrodes,anarchists,excursion,overthrown,gilan,recited,michelangelo,advertiser,kinship,taboo,cessation,formula_17,premiers,traversed,madurai,poorest,torneo,exerted,replicate,spelt,sporadically,horde,landscaping,razed,hindered,esperanto,manchuria,propellant,jalan,baha'is,sikkim,linguists,pandit,racially,ligands,dowry,francophone,escarpment,behest,magdeburg,mainstay,villiers,yangtze,grupo,conspirators,martyrdom,noticeably,lexical,kazakh,unrestricted,utilised,sired,inhabits,proofs,joseon,pliny,minted,buddhists,cultivate,interconnected,reuse,viability,australasian,derelict,resolving,overlooks,menon,stewardship,playwrights,thwarted,filmfare,disarmament,protections,bundles,sidelined,hypothesized,singer/songwriter,forage,netted,chancery,townshend,restructured,quotation,hyperbolic,succumbed,parliaments,shenandoah,apical,kibbutz,storeys,pastors,lettering,ukrainians,hardships,chihuahua,avail,aisles,taluka,antisemitism,assent,ventured,banksia,seamen,hospice,faroe,fearful,woreda,outfield,chlorine,transformer,tatar,panoramic,pendulum,haarlem,styria,cornice,importing,catalyzes,subunits,enamel,bakersfield,realignment,sorties,subordinates,deanery,townland,gunmen,tutelage,evaluations,allahabad,thrace,veneto,mennonite,sharia,subgenus,satisfies,puritan,unequal,gastrointestinal,ordinances,bacterium,horticulture,argonauts,adjectives,arable,duets,visualization,woolwich,revamped,euroleague,thorax,completes,originality,vasco,freighter,sardar,oratory,sects,extremes,signatories,exporting,arisen,exacerbated,departures,saipan,furlongs,d'italia,goring,dakar,conquests,docked,offshoot,okrug,referencing,disperse,netting,summed,rewritten,articulation,humanoid,spindle,competitiveness,preventive,facades,westinghouse,wycombe,synthase,emulate,fostering,abdel,hexagonal,myriad,caters,arjun,dismay,axiom,psychotherapy,colloquial,complemented,martinique,fractures,culmination,erstwhile,atrium,electronica,anarchism,nadal,montpellier,algebras,submitting,adopts,stemmed,overcame,internacional,asymmetric,gallipoli,gliders,flushing,extermination,hartlepool,tesla,interwar,patriarchal,hitherto,ganges,combatant,marred,philology,glastonbury,reversible,isthmus,undermined,southwark,gateshead,andalusia,remedies,hastily,optimum,smartphone,evade,patrolled,beheaded,dopamine,waivers,ugandan,gujarati,densities,predicting,intestinal,tentative,interstellar,kolonia,soloists,penetrated,rebellions,qeshlaq,prospered,colegio,deficits,konigsberg,deficient,accessing,relays,kurds,politburo,codified,incarnations,occupancy,cossack,metaphysical,deprivation,chopra,piccadilly,formula_18,makeshift,protestantism,alaskan,frontiers,faiths,tendon,dunkirk,durability,autobots,bonuses,coinciding,emails,gunboat,stucco,magma,neutrons,vizier,subscriptions,visuals,envisaged,carpets,smoky,schema,parliamentarian,immersed,domesticated,parishioners,flinders,diminutive,mahabharata,ballarat,falmouth,vacancies,gilded,twigs,mastering,clerics,dalmatia,islington,slogans,compressor,iconography,congolese,sanction,blends,bulgarians,moderator,outflow,textures,safeguard,trafalgar,tramways,skopje,colonialism,chimneys,jazeera,organisers,denoting,motivations,ganga,longstanding,deficiencies,gwynedd,palladium,holistic,fascia,preachers,embargo,sidings,busan,ignited,artificially,clearwater,cemented,northerly,salim,equivalents,crustaceans,oberliga,quadrangle,historiography,romanians,vaults,fiercely,incidental,peacetime,tonal,bhopal,oskar,radha,pesticides,timeslot,westerly,cathedrals,roadways,aldershot,connectors,brahmins,paler,aqueous,gustave,chromatic,linkage,lothian,specialises,aggregation,tributes,insurgent,enact,hampden,ghulam,federations,instigated,lyceum,fredrik,chairmanship,floated,consequent,antagonists,intimidation,patriarchate,warbler,heraldry,entrenched,expectancy,habitation,partitions,widest,launchers,nascent,ethos,wurzburg,lycee,chittagong,mahatma,merseyside,asteroids,yokosuka,cooperatives,quorum,redistricting,bureaucratic,yachts,deploying,rustic,phonology,chorale,cellist,stochastic,crucifixion,surmounted,confucian,portfolios,geothermal,crested,calibre,tropics,deferred,nasir,iqbal,persistence,essayist,chengdu,aborigines,fayetteville,bastion,interchangeable,burlesque,kilmarnock,specificity,tankers,colonels,fijian,quotations,enquiry,quito,palmerston,delle,multidisciplinary,polynesian,iodine,antennae,emphasised,manganese,baptists,galilee,jutland,latent,excursions,skepticism,tectonic,precursors,negligible,musique,misuse,vitoria,expressly,veneration,sulawesi,footed,mubarak,chongqing,chemically,midday,ravaged,facets,varma,yeovil,ethnographic,discounted,physicists,attache,disbanding,essen,shogunate,cooperated,waikato,realising,motherwell,pharmacology,sulfide,inward,expatriate,devoid,cultivar,monde,andean,groupings,goran,unaffected,moldovan,postdoctoral,coleophora,delegated,pronoun,conductivity,coleridge,disapproval,reappeared,microbial,campground,olsztyn,fostered,vaccination,rabbinical,champlain,milestones,viewership,caterpillar,effected,eupithecia,financier,inferred,uzbek,bundled,bandar,balochistan,mysticism,biosphere,holotype,symbolizes,lovecraft,photons,abkhazia,swaziland,subgroups,measurable,falkirk,valparaiso,ashok,discriminatory,rarity,tabernacle,flyweight,jalisco,westernmost,antiquarian,extracellular,margrave,colspan=9,midsummer,digestive,reversing,burgeoning,substitutes,medallist,khrushchev,guerre,folio,detonated,partido,plentiful,aggregator,medallion,infiltration,shaded,santander,fared,auctioned,permian,ramakrishna,andorra,mentors,diffraction,bukit,potentials,translucent,feminists,tiers,protracted,coburg,wreath,guelph,adventurer,he/she,vertebrate,pipelines,celsius,outbreaks,australasia,deccan,garibaldi,unionists,buildup,biochemical,reconstruct,boulders,stringent,barbed,wording,furnaces,pests,befriends,organises,popes,rizal,tentacles,cadre,tallahassee,punishments,occidental,formatted,mitigation,rulings,rubens,cascades,inducing,choctaw,volta,synagogues,movable,altarpiece,mitigate,practise,intermittently,encountering,memberships,earns,signify,retractable,amounting,pragmatic,wilfrid,dissenting,divergent,kanji,reconstituted,devonian,constitutions,levied,hendrik,starch,costal,honduran,ditches,polygon,eindhoven,superstars,salient,argus,punitive,purana,alluvial,flaps,inefficient,retracted,advantageous,quang,andersson,danville,binghamton,symbolize,conclave,shaanxi,silica,interpersonal,adept,frans,pavilions,lubbock,equip,sunken,limburg,activates,prosecutions,corinthian,venerated,shootings,retreats,parapet,orissa,riviere,animations,parodied,offline,metaphysics,bluffs,plume,piety,fruition,subsidized,steeplechase,shanxi,eurasia,angled,forecasting,suffragan,ashram,larval,labyrinth,chronicler,summaries,trailed,merges,thunderstorms,filtered,formula_19,advertisers,alpes,informatics,parti,constituting,undisputed,certifications,javascript,molten,sclerosis,rumoured,boulogne,hmong,lewes,breslau,notts,bantu,ducal,messengers,radars,nightclubs,bantamweight,carnatic,kaunas,fraternal,triggering,controversially,londonderry,visas,scarcity,offaly,uprisings,repelled,corinthians,pretext,kuomintang,kielce,empties,matriculated,pneumatic,expos,agile,treatises,midpoint,prehistory,oncology,subsets,hydra,hypertension,axioms,wabash,reiterated,swapped,achieves,premio,ageing,overture,curricula,challengers,subic,selangor,liners,frontline,shutter,validated,normalized,entertainers,molluscs,maharaj,allegation,youngstown,synth,thoroughfare,regionally,pillai,transcontinental,pedagogical,riemann,colonia,easternmost,tentatively,profiled,herefordshire,nativity,meuse,nucleotide,inhibits,huntingdon,throughput,recorders,conceding,domed,homeowners,centric,gabled,canoes,fringes,breeder,subtitled,fluoride,haplogroup,zionism,izmir,phylogeny,kharkiv,romanticism,adhesion,usaaf,delegations,lorestan,whalers,biathlon,vaulted,mathematically,pesos,skirmishes,heisman,kalamazoo,gesellschaft,launceston,interacts,quadruple,kowloon,psychoanalysis,toothed,ideologies,navigational,valence,induces,lesotho,frieze,rigging,undercarriage,explorations,spoof,eucharist,profitability,virtuoso,recitals,subterranean,sizeable,herodotus,subscriber,huxley,pivot,forewing,warring,boleslaw,bharatiya,suffixes,trois,percussionist,downturn,garrisons,philosophies,chants,mersin,mentored,dramatist,guilds,frameworks,thermodynamic,venomous,mehmed,assembling,rabbinic,hegemony,replicas,enlargement,claimant,retitled,utica,dumfries,metis,deter,assortment,tubing,afflicted,weavers,rupture,ornamentation,transept,salvaged,upkeep,callsign,rajput,stevenage,trimmed,intracellular,synchronization,consular,unfavorable,royalists,goldwyn,fasting,hussars,doppler,obscurity,currencies,amiens,acorn,tagore,townsville,gaussian,migrations,porta,anjou,graphite,seaport,monographs,gladiators,metrics,calligraphy,sculptural,swietokrzyskie,tolombeh,eredivisie,shoals,queries,carts,exempted,fiberglass,mirrored,bazar,progeny,formalized,mukherjee,professed,amazon.com,cathode,moreton,removable,mountaineers,nagano,transplantation,augustinian,steeply,epilogue,adapter,decisively,accelerating,mediaeval,substituting,tasman,devonshire,litres,enhancements,himmler,nephews,bypassing,imperfect,argentinian,reims,integrates,sochi,ascii,licences,niches,surgeries,fables,versatility,indra,footpath,afonso,crore,evaporation,encodes,shelling,conformity,simplify,updating,quotient,overt,firmware,umpires,architectures,eocene,conservatism,secretion,embroidery,f.c..,tuvalu,mosaics,shipwreck,prefectural,cohort,grievances,garnering,centerpiece,apoptosis,djibouti,bethesda,formula_20,shonen,richland,justinian,dormitories,meteorite,reliably,obtains,pedagogy,hardness,cupola,manifolds,amplification,steamers,familial,dumbarton,jerzy,genital,maidstone,salinity,grumman,signifies,presbytery,meteorology,procured,aegis,streamed,deletion,nuestra,mountaineering,accords,neuronal,khanate,grenoble,axles,dispatches,tokens,turku,auctions,propositions,planters,proclaiming,recommissioned,stravinsky,obverse,bombarded,waged,saviour,massacred,reformist,purportedly,resettlement,ravenna,embroiled,minden,revitalization,hikers,bridging,torpedoed,depletion,nizam,affectionately,latitudes,lubeck,spore,polymerase,aarhus,nazism,101st,buyout,galerie,diets,overflow,motivational,renown,brevet,deriving,melee,goddesses,demolish,amplified,tamworth,retake,brokerage,beneficiaries,henceforth,reorganised,silhouette,browsers,pollutants,peron,lichfield,encircled,defends,bulge,dubbing,flamenco,coimbatore,refinement,enshrined,grizzlies,capacitor,usefulness,evansville,interscholastic,rhodesian,bulletins,diamondbacks,rockers,platted,medalists,formosa,transporter,slabs,guadeloupe,disparate,concertos,violins,regaining,mandible,untitled,agnostic,issuance,hamiltonian,brampton,srpska,homology,downgraded,florentine,epitaph,kanye,rallying,analysed,grandstand,infinitely,antitrust,plundered,modernity,colspan=3|total,amphitheatre,doric,motorists,yemeni,carnivorous,probabilities,prelate,struts,scrapping,bydgoszcz,pancreatic,signings,predicts,compendium,ombudsman,apertura,appoints,rebbe,stereotypical,valladolid,clustered,touted,plywood,inertial,kettering,curving,d'honneur,housewives,grenadier,vandals,barbarossa,necked,waltham,reputedly,jharkhand,cistercian,pursues,viscosity,organiser,cloister,islet,stardom,moorish,himachal,strives,scripps,staggered,blasts,westwards,millimeters,angolan,hubei,agility,admirals,mordellistena,coincides,platte,vehicular,cordillera,riffs,schoolteacher,canaan,acoustics,tinged,reinforcing,concentrates,daleks,monza,selectively,musik,polynesia,exporter,reviving,macclesfield,bunkers,ballets,manors,caudal,microbiology,primes,unbroken,outcry,flocks,pakhtunkhwa,abelian,toowoomba,luminous,mould,appraisal,leuven,experimentally,interoperability,hideout,perak,specifying,knighthood,vasily,excerpt,computerized,niels,networked,byzantium,reaffirmed,geographer,obscured,fraternities,mixtures,allusion,accra,lengthened,inquest,panhandle,pigments,revolts,bluetooth,conjugate,overtaken,foray,coils,breech,streaks,impressionist,mendelssohn,intermediary,panned,suggestive,nevis,upazila,rotunda,mersey,linnaeus,anecdotes,gorbachev,viennese,exhaustive,moldavia,arcades,irrespective,orator,diminishing,predictive,cohesion,polarized,montage,avian,alienation,conus,jaffna,urbanization,seawater,extremity,editorials,scrolling,dreyfus,traverses,topographic,gunboats,extratropical,normans,correspondents,recognises,millennia,filtration,ammonium,voicing,complied,prefixes,diplomas,figurines,weakly,gated,oscillator,lucerne,embroidered,outpatient,airframe,fractional,disobedience,quarterbacks,formula_21,shinto,chiapas,epistle,leakage,pacifist,avignon,penrith,renders,mantua,screenplays,gustaf,tesco,alphabetically,rations,discharges,headland,tapestry,manipur,boolean,mediator,ebenezer,subchannel,fable,bestselling,ateneo,trademarks,recurrence,dwarfs,britannica,signifying,vikram,mediate,condensation,censuses,verbandsgemeinde,cartesian,sprang,surat,britons,chelmsford,courtenay,statistic,retina,abortions,liabilities,closures,mississauga,skyscrapers,saginaw,compounded,aristocrat,msnbc,stavanger,septa,interpretive,hinder,visibly,seeding,shutouts,irregularly,quebecois,footbridge,hydroxide,implicitly,lieutenants,simplex,persuades,midshipman,heterogeneous,officiated,crackdown,lends,tartu,altars,fractions,dissidents,tapered,modernisation,scripting,blazon,aquaculture,thermodynamics,sistan,hasidic,bellator,pavia,propagated,theorized,bedouin,transnational,mekong,chronicled,declarations,kickstarter,quotas,runtime,duquesne,broadened,clarendon,brownsville,saturation,tatars,electorates,malayan,replicated,observable,amphitheater,endorsements,referral,allentown,mormons,pantomime,eliminates,typeface,allegorical,varna,conduction,evoke,interviewer,subordinated,uyghur,landscaped,conventionally,ascend,edifice,postulated,hanja,whitewater,embarking,musicologist,tagalog,frontage,paratroopers,hydrocarbons,transliterated,nicolae,viewpoints,surrealist,asheville,falklands,hacienda,glide,opting,zimbabwean,discal,mortgages,nicaraguan,yadav,ghosh,abstracted,castilian,compositional,cartilage,intergovernmental,forfeited,importation,rapping,artes,republika,narayana,condominium,frisian,bradman,duality,marche,extremist,phosphorylation,genomes,allusions,valencian,habeas,ironworks,multiplex,harpsichord,emigrate,alternated,breda,waffen,smartphones,familiarity,regionalliga,herbaceous,piping,dilapidated,carboniferous,xviii,critiques,carcinoma,sagar,chippewa,postmodern,neapolitan,excludes,notoriously,distillation,tungsten,richness,installments,monoxide,chand,privatisation,molded,maths,projectiles,luoyang,epirus,lemma,concentric,incline,erroneous,sideline,gazetted,leopards,fibres,renovate,corrugated,unilateral,repatriation,orchestration,saeed,rockingham,loughborough,formula_22,bandleader,appellation,openness,nanotechnology,massively,tonnage,dunfermline,exposes,moored,ridership,motte,eurobasket,majoring,feats,silla,laterally,playlist,downwards,methodologies,eastbourne,daimyo,cellulose,leyton,norwalk,oblong,hibernian,opaque,insular,allegory,camogie,inactivation,favoring,masterpieces,rinpoche,serotonin,portrayals,waverley,airliner,longford,minimalist,outsourcing,excise,meyrick,qasim,organisational,synaptic,farmington,gorges,scunthorpe,zoned,tohoku,librarians,davao,decor,theatrically,brentwood,pomona,acquires,planter,capacitors,synchronous,skateboarding,coatings,turbocharged,ephraim,capitulation,scoreboard,hebrides,ensues,cereals,ailing,counterpoint,duplication,antisemitic,clique,aichi,oppressive,transcendental,incursions,rename,renumbering,powys,vestry,bitterly,neurology,supplanted,affine,susceptibility,orbiter,activating,overlaps,ecoregion,raman,canoer,darfur,microorganisms,precipitated,protruding,torun,anthropologists,rennes,kangaroos,parliamentarians,edits,littoral,archived,begum,rensselaer,microphones,ypres,empower,etruscan,wisden,montfort,calibration,isomorphic,rioting,kingship,verbally,smyrna,cohesive,canyons,fredericksburg,rahul,relativistic,micropolitan,maroons,industrialized,henchmen,uplift,earthworks,mahdi,disparity,cultured,transliteration,spiny,fragmentary,extinguished,atypical,inventors,biosynthesis,heralded,curacao,anomalies,aeroplane,surya,mangalore,maastricht,ashkenazi,fusiliers,hangzhou,emitting,monmouthshire,schwarzenegger,ramayana,peptides,thiruvananthapuram,alkali,coimbra,budding,reasoned,epithelial,harbors,rudimentary,classically,parque,ealing,crusades,rotations,riparian,pygmy,inertia,revolted,microprocessor,calendars,solvents,kriegsmarine,accademia,cheshmeh,yoruba,ardabil,mitra,genomic,notables,propagate,narrates,univision,outposts,polio,birkenhead,urinary,crocodiles,pectoral,barrymore,deadliest,rupees,chaim,protons,comical,astrophysics,unifying,formula_23,vassals,cortical,audubon,pedals,tenders,resorted,geophysical,lenders,recognising,tackling,lanarkshire,doctrinal,annan,combating,guangxi,estimating,selectors,tribunals,chambered,inhabiting,exemptions,curtailed,abbasid,kandahar,boron,bissau,150th,codenamed,wearer,whorl,adhered,subversive,famer,smelting,inserting,mogadishu,zoologist,mosul,stumps,almanac,olympiacos,stamens,participatory,cults,honeycomb,geologists,dividend,recursive,skiers,reprint,pandemic,liber,percentages,adversely,stoppage,chieftains,tubingen,southerly,overcrowding,unorganized,hangars,fulfil,hails,cantilever,woodbridge,pinus,wiesbaden,fertilization,fluorescence,enhances,plenary,troublesome,episodic,thrissur,kickboxing,allele,staffing,garda,televisions,philatelic,spacetime,bullpen,oxides,leninist,enrolling,inventive,truro,compatriot,ruskin,normative,assay,gotha,murad,illawarra,gendarmerie,strasse,mazraeh,rebounded,fanfare,liaoning,rembrandt,iranians,emirate,governs,latency,waterfowl,chairmen,katowice,aristocrats,eclipsed,sentient,sonatas,interplay,sacking,decepticons,dynamical,arbitrarily,resonant,petar,velocities,alludes,wastes,prefectures,belleville,sensibility,salvadoran,consolidating,medicaid,trainees,vivekananda,molar,porous,upload,youngster,infused,doctorates,wuhan,annihilation,enthusiastically,gamespot,kanpur,accumulating,monorail,operetta,tiling,sapporo,finns,calvinist,hydrocarbon,sparrows,orienteering,cornelis,minster,vuelta,plebiscite,embraces,panchayats,focussed,remediation,brahman,olfactory,reestablished,uniqueness,northumbria,rwandan,predominately,abode,ghats,balances,californian,uptake,bruges,inert,westerns,reprints,cairn,yarra,resurfaced,audible,rossini,regensburg,italiana,fleshy,irrigated,alerts,yahya,varanasi,marginalized,expatriates,cantonment,normandie,sahitya,directives,rounder,hulls,fictionalized,constables,inserts,hipped,potosi,navies,biologists,canteen,husbandry,augment,fortnight,assamese,kampala,o'keefe,paleolithic,bluish,promontory,consecutively,striving,niall,reuniting,dipole,friendlies,disapproved,thrived,netflix,liberian,dielectric,medway,strategist,sankt,pickups,hitters,encode,rerouted,claimants,anglesey,partitioned,cavan,flutes,reared,repainted,armaments,bowed,thoracic,balliol,piero,chaplains,dehestan,sender,junkers,sindhi,sickle,dividends,metallurgy,honorific,berths,namco,springboard,resettled,gansu,copyrighted,criticizes,utopian,bendigo,ovarian,binomial,spaceflight,oratorio,proprietors,supergroup,duplicated,foreground,strongholds,revolved,optimize,layouts,westland,hurler,anthropomorphic,excelsior,merchandising,reeds,vetoed,cryptography,hollyoaks,monash,flooring,ionian,resilience,johnstown,resolves,lawmakers,alegre,wildcards,intolerance,subculture,selector,slums,formulate,bayonet,istvan,restitution,interchangeably,awakens,rostock,serpentine,oscillation,reichstag,phenotype,recessed,piotr,annotated,preparedness,consultations,clausura,preferential,euthanasia,genoese,outcrops,freemasonry,geometrical,genesee,islets,prometheus,panamanian,thunderbolt,terraced,stara,shipwrecks,futebol,faroese,sharqi,aldermen,zeitung,unify,formula_24,humanism,syntactic,earthen,blyth,taxed,rescinded,suleiman,cymru,dwindled,vitality,superieure,resupply,adolphe,ardennes,rajiv,profiling,olympique,gestation,interfaith,milosevic,tagline,funerary,druze,silvery,plough,shrubland,relaunch,disband,nunatak,minimizing,excessively,waned,attaching,luminosity,bugle,encampment,electrostatic,minesweeper,dubrovnik,rufous,greenock,hochschule,assyrians,extracting,malnutrition,priya,attainment,anhui,connotations,predicate,seabirds,deduced,pseudonyms,gopal,plovdiv,refineries,imitated,kwazulu,terracotta,tenets,discourses,brandeis,whigs,dominions,pulmonate,landslides,tutors,determinant,richelieu,farmstead,tubercles,technicolor,hegel,redundancy,greenpeace,shortening,mules,distilled,xxiii,fundamentalist,acrylic,outbuildings,lighted,corals,signaled,transistors,cavite,austerity,76ers,exposures,dionysius,outlining,commutative,permissible,knowledgeable,howrah,assemblage,inhibited,crewmen,mbit/s,pyramidal,aberdeenshire,bering,rotates,atheism,howitzer,saone,lancet,fermented,contradicted,materiel,ofsted,numeric,uniformity,josephus,nazarene,kuwaiti,noblemen,pediment,emergent,campaigner,akademi,murcia,perugia,gallen,allsvenskan,finned,cavities,matriculation,rosters,twickenham,signatory,propel,readable,contends,artisan,flamboyant,reggio,italo,fumbles,widescreen,rectangle,centimetres,collaborates,envoys,rijeka,phonological,thinly,refractive,civilisation,reductase,cognate,dalhousie,monticello,lighthouses,jitsu,luneburg,socialite,fermi,collectible,optioned,marquee,jokingly,architecturally,kabir,concubine,nationalisation,watercolor,wicklow,acharya,pooja,leibniz,rajendra,nationalized,stalemate,bloggers,glutamate,uplands,shivaji,carolingian,bucuresti,dasht,reappears,muscat,functionally,formulations,hinged,hainan,catechism,autosomal,incremental,asahi,coeur,diversification,multilateral,fewest,recombination,finisher,harrogate,hangul,feasts,photovoltaic,paget,liquidity,alluded,incubation,applauded,choruses,malagasy,hispanics,bequest,underparts,cassava,kazimierz,gastric,eradication,mowtowr,tyrosine,archbishopric,e9e9e9,unproductive,uxbridge,hydrolysis,harbours,officio,deterministic,devonport,kanagawa,breaches,freetown,rhinoceros,chandigarh,janos,sanatorium,liberator,inequalities,agonist,hydrophobic,constructors,nagorno,snowboarding,welcomes,subscribed,iloilo,resuming,catalysts,stallions,jawaharlal,harriers,definitively,roughriders,hertford,inhibiting,elgar,randomized,incumbents,episcopate,rainforests,yangon,improperly,kemal,interpreters,diverged,uttarakhand,umayyad,phnom,panathinaikos,shabbat,diode,jiangxi,forbidding,nozzle,artistry,licensee,processions,staffs,decimated,expressionism,shingle,palsy,ontology,mahayana,maribor,sunil,hostels,edwardian,jetty,freehold,overthrew,eukaryotic,schuylkill,rawalpindi,sheath,recessive,ferenc,mandibles,berlusconi,confessor,convergent,ababa,slugging,rentals,sephardic,equivalently,collagen,markov,dynamically,hailing,depressions,sprawling,fairgrounds,indistinguishable,plutarch,pressurized,banff,coldest,braunschweig,mackintosh,sociedad,wittgenstein,tromso,airbase,lecturers,subtitle,attaches,purified,contemplated,dreamworks,telephony,prophetic,rockland,aylesbury,biscay,coherence,aleksandar,judoka,pageants,theses,homelessness,luthor,sitcoms,hinterland,fifths,derwent,privateers,enigmatic,nationalistic,instructs,superimposed,conformation,tricycle,dusan,attributable,unbeknownst,laptops,etching,archbishops,ayatollah,cranial,gharbi,interprets,lackawanna,abingdon,saltwater,tories,lender,minaj,ancillary,ranching,pembrokeshire,topographical,plagiarism,murong,marque,chameleon,assertions,infiltrated,guildhall,reverence,schenectady,formula_25,kollam,notary,mexicana,initiates,abdication,basra,theorems,ionization,dismantling,eared,censors,budgetary,numeral,verlag,excommunicated,distinguishable,quarried,cagliari,hindustan,symbolizing,watertown,descartes,relayed,enclosures,militarily,sault,devolved,dalian,djokovic,filaments,staunton,tumour,curia,villainous,decentralized,galapagos,moncton,quartets,onscreen,necropolis,brasileiro,multipurpose,alamos,comarca,jorgen,concise,mercia,saitama,billiards,entomologist,montserrat,lindbergh,commuting,lethbridge,phoenician,deviations,anaerobic,denouncing,redoubt,fachhochschule,principalities,negros,announcers,seconded,parrots,konami,revivals,approving,devotee,riyadh,overtook,morecambe,lichen,expressionist,waterline,silverstone,geffen,sternites,aspiration,behavioural,grenville,tripura,mediums,genders,pyotr,charlottesville,sacraments,programmable,ps100,shackleton,garonne,sumerian,surpass,authorizing,interlocking,lagoons,voiceless,advert,steeple,boycotted,alouettes,yosef,oxidative,sassanid,benefiting,sayyid,nauru,predetermined,idealism,maxillary,polymerization,semesters,munchen,conor,outfitted,clapham,progenitor,gheorghe,observational,recognitions,numerically,colonized,hazrat,indore,contaminants,fatality,eradicate,assyria,convocation,cameos,skillful,skoda,corfu,confucius,overtly,ramadan,wollongong,placements,d.c..,permutation,contemporaneous,voltages,elegans,universitat,samar,plunder,dwindling,neuter,antonin,sinhala,campania,solidified,stanzas,fibrous,marburg,modernize,sorcery,deutscher,florets,thakur,disruptive,infielder,disintegration,internazionale,vicariate,effigy,tripartite,corrective,klamath,environs,leavenworth,sandhurst,workmen,compagnie,hoseynabad,strabo,palisades,ordovician,sigurd,grandsons,defection,viacom,sinhalese,innovator,uncontrolled,slavonic,indexes,refrigeration,aircrew,superbike,resumption,neustadt,confrontations,arras,hindenburg,ripon,embedding,isomorphism,dwarves,matchup,unison,lofty,argos,louth,constitutionally,transitive,newington,facelift,degeneration,perceptual,aviators,enclosing,igneous,symbolically,academician,constitutionality,iso/iec,sacrificial,maturation,apprentices,enzymology,naturalistic,hajji,arthropods,abbess,vistula,scuttled,gradients,pentathlon,etudes,freedmen,melaleuca,thrice,conductive,sackville,franciscans,stricter,golds,kites,worshiped,monsignor,trios,orally,tiered,primacy,bodywork,castleford,epidemics,alveolar,chapelle,chemists,hillsboro,soulful,warlords,ngati,huguenot,diurnal,remarking,luger,motorways,gauss,jahan,cutoff,proximal,bandai,catchphrase,jonubi,ossetia,codename,codice_2,throated,itinerant,chechnya,riverfront,leela,evoked,entailed,zamboanga,rejoining,circuitry,haymarket,khartoum,feuds,braced,miyazaki,mirren,lubusz,caricature,buttresses,attrition,characterizes,widnes,evanston,materialism,contradictions,marist,midrash,gainsborough,ulithi,turkmen,vidya,escuela,patrician,inspirations,reagent,premierships,humanistic,euphrates,transitioning,belfry,zedong,adaption,kaliningrad,lobos,epics,waiver,coniferous,polydor,inductee,refitted,moraine,unsatisfactory,worsening,polygamy,rajya,nested,subgenre,broadside,stampeders,lingua,incheon,pretender,peloton,persuading,excitation,multan,predates,tonne,brackish,autoimmune,insulated,podcasts,iraqis,bodybuilding,condominiums,midlothian,delft,debtor,asymmetrical,lycaenidae,forcefully,pathogenic,tamaulipas,andaman,intravenous,advancements,senegalese,chronologically,realigned,inquirer,eusebius,dekalb,additives,shortlist,goldwater,hindustani,auditing,caterpillars,pesticide,nakhon,ingestion,lansdowne,traditionalist,northland,thunderbirds,josip,nominating,locale,ventricular,animators,verandah,epistles,surveyors,anthems,dredd,upheaval,passaic,anatolian,svalbard,associative,floodplain,taranaki,estuaries,irreducible,beginners,hammerstein,allocate,coursework,secreted,counteract,handwritten,foundational,passover,discoverer,decoding,wares,bourgeoisie,playgrounds,nazionale,abbreviations,seanad,golan,mishra,godavari,rebranding,attendances,backstory,interrupts,lettered,hasbro,ultralight,hormozgan,armee,moderne,subdue,disuse,improvisational,enrolment,persists,moderated,carinthia,hatchback,inhibitory,capitalized,anatoly,abstracts,albemarle,bergamo,insolvency,sentai,cellars,walloon,joked,kashmiri,dirac,materialized,renomination,homologous,gusts,eighteens,centrifugal,storied,baluchestan,formula_26,poincare,vettel,infuriated,gauges,streetcars,vedanta,stately,liquidated,goguryeo,swifts,accountancy,levee,acadian,hydropower,eustace,comintern,allotment,designating,torsion,molding,irritation,aerobic,halen,concerted,plantings,garrisoned,gramophone,cytoplasm,onslaught,requisitioned,relieving,genitive,centrist,jeong,espanola,dissolving,chatterjee,sparking,connaught,varese,arjuna,carpathian,empowering,meteorologist,decathlon,opioid,hohenzollern,fenced,ibiza,avionics,footscray,scrum,discounts,filament,directories,a.f.c,stiffness,quaternary,adventurers,transmits,harmonious,taizong,radiating,germantown,ejection,projectors,gaseous,nahuatl,vidyalaya,nightlife,redefined,refuted,destitute,arista,potters,disseminated,distanced,jamboree,kaohsiung,tilted,lakeshore,grained,inflicting,kreis,novelists,descendents,mezzanine,recast,fatah,deregulation,ac/dc,australis,kohgiluyeh,boreal,goths,authoring,intoxicated,nonpartisan,theodosius,pyongyang,shree,boyhood,sanfl,plenipotentiary,photosynthesis,presidium,sinaloa,honshu,texan,avenida,transmembrane,malays,acropolis,catalunya,vases,inconsistencies,methodists,quell,suisse,banat,simcoe,cercle,zealanders,discredited,equine,sages,parthian,fascists,interpolation,classifying,spinoff,yehuda,cruised,gypsum,foaled,wallachia,saraswati,imperialist,seabed,footnotes,nakajima,locales,schoolmaster,drosophila,bridgehead,immanuel,courtier,bookseller,niccolo,stylistically,portmanteau,superleague,konkani,millimetres,arboreal,thanjavur,emulation,sounders,decompression,commoners,infusion,methodological,osage,rococo,anchoring,bayreuth,formula_27,abstracting,symbolized,bayonne,electrolyte,rowed,corvettes,traversing,editorship,sampler,presidio,curzon,adirondack,swahili,rearing,bladed,lemur,pashtun,behaviours,bottling,zaire,recognisable,systematics,leeward,formulae,subdistricts,smithfield,vijaya,buoyancy,boosting,cantonal,rishi,airflow,kamakura,adana,emblems,aquifer,clustering,husayn,woolly,wineries,montessori,turntable,exponentially,caverns,espoused,pianists,vorpommern,vicenza,latterly,o'rourke,williamstown,generale,kosice,duisburg,poirot,marshy,mismanagement,mandalay,dagenham,universes,chiral,radiated,stewards,vegan,crankshaft,kyrgyz,amphibian,cymbals,infrequently,offenbach,environmentalist,repatriated,permutations,midshipmen,loudoun,refereed,bamberg,ornamented,nitric,selim,translational,dorsum,annunciation,gippsland,reflector,informational,regia,reactionary,ahmet,weathering,erlewine,legalized,berne,occupant,divas,manifests,analyzes,disproportionate,mitochondria,totalitarian,paulista,interscope,anarcho,correlate,brookfield,elongate,brunel,ordinal,precincts,volatility,equaliser,hittite,somaliland,ticketing,monochrome,ubuntu,chhattisgarh,titleholder,ranches,referendums,blooms,accommodates,merthyr,religiously,ryukyu,tumultuous,checkpoints,anode,mi'kmaq,cannonball,punctuation,remodelled,assassinations,criminology,alternates,yonge,pixar,namibian,piraeus,trondelag,hautes,lifeboats,shoal,atelier,vehemently,sadat,postcode,jainism,lycoming,undisturbed,lutherans,genomics,popmatters,tabriz,isthmian,notched,autistic,horsham,mites,conseil,bloomsbury,seung,cybertron,idris,overhauled,disbandment,idealized,goldfields,worshippers,lobbyist,ailments,paganism,herbarium,athenians,messerschmitt,faraday,entangled,'olya,untreated,criticising,howitzers,parvati,lobed,debussy,atonement,tadeusz,permeability,mueang,sepals,degli,optionally,fuelled,follies,asterisk,pristina,lewiston,congested,overpass,affixed,pleads,telecasts,stanislaus,cryptographic,friesland,hamstring,selkirk,antisubmarine,inundated,overlay,aggregates,fleur,trolleybus,sagan,ibsen,inductees,beltway,tiled,ladders,cadbury,laplace,ascetic,micronesia,conveying,bellingham,cleft,batches,usaid,conjugation,macedon,assisi,reappointed,brine,jinnah,prairies,screenwriting,oxidized,despatches,linearly,fertilizers,brazilians,absorbs,wagga,modernised,scorsese,ashraf,charlestown,esque,habitable,nizhny,lettres,tuscaloosa,esplanade,coalitions,carbohydrates,legate,vermilion,standardised,galleria,psychoanalytic,rearrangement,substation,competency,nationalised,reshuffle,reconstructions,mehdi,bougainville,receivership,contraception,enlistment,conducive,aberystwyth,solicitors,dismisses,fibrosis,montclair,homeowner,surrealism,s.h.i.e.l.d,peregrine,compilers,1790s,parentage,palmas,rzeszow,worldview,eased,svenska,housemate,bundestag,originator,enlisting,outwards,reciprocity,formula_28,carbohydrate,democratically,firefighting,romagna,acknowledgement,khomeini,carbide,quests,vedas,characteristically,guwahati,brixton,unintended,brothels,parietal,namur,sherbrooke,moldavian,baruch,milieu,undulating,laurier,entre,dijon,ethylene,abilene,heracles,paralleling,ceres,dundalk,falun,auspicious,chisinau,polarity,foreclosure,templates,ojibwe,punic,eriksson,biden,bachchan,glaciation,spitfires,norsk,nonviolent,heidegger,algonquin,capacitance,cassettes,balconies,alleles,airdate,conveys,replays,classifies,infrequent,amine,cuttings,rarer,woking,olomouc,amritsar,rockabilly,illyrian,maoist,poignant,tempore,stalinist,segmented,bandmate,mollusc,muhammed,totalled,byrds,tendered,endogenous,kottayam,aisne,oxidase,overhears,illustrators,verve,commercialization,purplish,directv,moulded,lyttelton,baptismal,captors,saracens,georgios,shorten,polity,grids,fitzwilliam,sculls,impurities,confederations,akhtar,intangible,oscillations,parabolic,harlequin,maulana,ovate,tanzanian,singularity,confiscation,qazvin,speyer,phonemes,overgrown,vicarage,gurion,undocumented,niigata,thrones,preamble,stave,interment,liiga,ataturk,aphrodite,groupe,indentured,habsburgs,caption,utilitarian,ozark,slovenes,reproductions,plasticity,serbo,dulwich,castel,barbuda,salons,feuding,lenape,wikileaks,swamy,breuning,shedding,afield,superficially,operationally,lamented,okanagan,hamadan,accolade,furthering,adolphus,fyodor,abridged,cartoonists,pinkish,suharto,cytochrome,methylation,debit,colspan=9|,refine,taoist,signalled,herding,leaved,bayan,fatherland,rampart,sequenced,negation,storyteller,occupiers,barnabas,pelicans,nadir,conscripted,railcars,prerequisite,furthered,columba,carolinas,markup,gwalior,franche,chaco,eglinton,ramparts,rangoon,metabolites,pollination,croat,televisa,holyoke,testimonial,setlist,safavid,sendai,georgians,shakespearean,galleys,regenerative,krzysztof,overtones,estado,barbary,cherbourg,obispo,sayings,composites,sainsbury,deliberation,cosmological,mahalleh,embellished,ascap,biala,pancras,calumet,grands,canvases,antigens,marianas,defenseman,approximated,seedlings,soren,stele,nuncio,immunology,testimonies,glossary,recollections,suitability,tampere,venous,cohomology,methanol,echoing,ivanovich,warmly,sterilization,imran,multiplying,whitechapel,undersea,xuanzong,tacitus,bayesian,roundhouse,correlations,rioters,molds,fiorentina,bandmates,mezzo,thani,guerilla,200th,premiums,tamils,deepwater,chimpanzees,tribesmen,selwyn,globo,turnovers,punctuated,erode,nouvelle,banbury,exponents,abolishing,helical,maimonides,endothelial,goteborg,infield,encroachment,cottonwood,mazowiecki,parable,saarbrucken,reliever,epistemology,artistes,enrich,rationing,formula_29,palmyra,subfamilies,kauai,zoran,fieldwork,arousal,creditor,friuli,celts,comoros,equated,escalation,negev,tallied,inductive,anion,netanyahu,mesoamerican,lepidoptera,aspirated,remit,westmorland,italic,crosse,vaclav,fuego,owain,balmain,venetians,ethnicities,deflected,ticino,apulia,austere,flycatcher,reprising,repressive,hauptbahnhof,subtype,ophthalmology,summarizes,eniwetok,colonisation,subspace,nymphalidae,earmarked,tempe,burnet,crests,abbots,norwegians,enlarge,ashoka,frankfort,livorno,malware,renters,singly,iliad,moresby,rookies,gustavus,affirming,alleges,legume,chekhov,studded,abdicated,suzhou,isidore,townsite,repayment,quintus,yankovic,amorphous,constructor,narrowing,industrialists,tanganyika,capitalization,connective,mughals,rarities,aerodynamics,worthing,antalya,diagnostics,shaftesbury,thracian,obstetrics,benghazi,multiplier,orbitals,livonia,roscommon,intensify,ravel,oaths,overseer,locomotion,necessities,chickasaw,strathclyde,treviso,erfurt,aortic,contemplation,accrington,markazi,predeceased,hippocampus,whitecaps,assemblyman,incursion,ethnography,extraliga,reproducing,directorship,benzene,byway,stupa,taxable,scottsdale,onondaga,favourably,countermeasures,lithuanians,thatched,deflection,tarsus,consuls,annuity,paralleled,contextual,anglian,klang,hoisted,multilingual,enacting,samaj,taoiseach,carthaginian,apologised,hydrology,entrant,seamless,inflorescences,mugabe,westerners,seminaries,wintering,penzance,mitre,sergeants,unoccupied,delimitation,discriminate,upriver,abortive,nihon,bessarabia,calcareous,buffaloes,patil,daegu,streamline,berks,chaparral,laity,conceptions,typified,kiribati,threaded,mattel,eccentricity,signified,patagonia,slavonia,certifying,adnan,astley,sedition,minimally,enumerated,nikos,goalless,walid,narendra,causa,missoula,coolant,dalek,outcrop,hybridization,schoolchildren,peasantry,afghans,confucianism,shahr,gallic,tajik,kierkegaard,sauvignon,commissar,patriarchs,tuskegee,prussians,laois,ricans,talmudic,officiating,aesthetically,baloch,antiochus,separatists,suzerainty,arafat,shading,u.s.c,chancellors,inc..,toolkit,nepenthes,erebidae,solicited,pratap,kabbalah,alchemist,caltech,darjeeling,biopic,spillway,kaiserslautern,nijmegen,bolstered,neath,pahlavi,eugenics,bureaus,retook,northfield,instantaneous,deerfield,humankind,selectivity,putative,boarders,cornhuskers,marathas,raikkonen,aliabad,mangroves,garages,gulch,karzai,poitiers,chernobyl,thane,alexios,belgrano,scion,solubility,urbanized,executable,guizhou,nucleic,tripled,equalled,harare,houseguests,potency,ghazi,repeater,overarching,regrouped,broward,ragtime,d'art,nandi,regalia,campsites,mamluk,plating,wirral,presumption,zenit,archivist,emmerdale,decepticon,carabidae,kagoshima,franconia,guarani,formalism,diagonally,submarginal,denys,walkways,punts,metrolink,hydrographic,droplets,upperside,martyred,hummingbird,antebellum,curiously,mufti,friary,chabad,czechs,shaykh,reactivity,berklee,turbonilla,tongan,sultans,woodville,unlicensed,enmity,dominicans,operculum,quarrying,watercolour,catalyzed,gatwick,'what,mesozoic,auditors,shizuoka,footballing,haldane,telemundo,appended,deducted,disseminate,o'shea,pskov,abrasive,entente,gauteng,calicut,lemurs,elasticity,suffused,scopula,staining,upholding,excesses,shostakovich,loanwords,naidu,championnat,chromatography,boasting,goaltenders,engulfed,salah,kilogram,morristown,shingles,shi'a,labourer,renditions,frantisek,jekyll,zonal,nanda,sheriffs,eigenvalues,divisione,endorsing,ushered,auvergne,cadres,repentance,freemasons,utilising,laureates,diocletian,semiconductors,o'grady,vladivostok,sarkozy,trackage,masculinity,hydroxyl,mervyn,muskets,speculations,gridiron,opportunistic,mascots,aleutian,fillies,sewerage,excommunication,borrowers,capillary,trending,sydenham,synthpop,rajah,cagayan,deportes,kedah,faure,extremism,michoacan,levski,culminates,occitan,bioinformatics,unknowingly,inciting,emulated,footpaths,piacenza,dreadnought,viceroyalty,oceanographic,scouted,combinatorial,ornithologist,cannibalism,mujahideen,independiente,cilicia,hindwing,minimized,odeon,gyorgy,rubles,purchaser,collieries,kickers,interurban,coiled,lynchburg,respondent,plzen,detractors,etchings,centering,intensification,tomography,ranjit,warblers,retelling,reinstatement,cauchy,modulus,redirected,evaluates,beginner,kalateh,perforated,manoeuvre,scrimmage,internships,megawatts,mottled,haakon,tunbridge,kalyan,summarised,sukarno,quetta,canonized,henryk,agglomeration,coahuila,diluted,chiropractic,yogyakarta,talladega,sheik,cation,halting,reprisals,sulfuric,musharraf,sympathizers,publicised,arles,lectionary,fracturing,startups,sangha,latrobe,rideau,ligaments,blockading,cremona,lichens,fabaceae,modulated,evocative,embodies,battersea,indistinct,altai,subsystem,acidity,somatic,formula_30,tariq,rationality,sortie,ashlar,pokal,cytoplasmic,valour,bangla,displacing,hijacking,spectrometry,westmeath,weill,charing,goias,revolvers,individualized,tenured,nawaz,piquet,chanted,discard,bernd,phalanx,reworking,unilaterally,subclass,yitzhak,piloting,circumvent,disregarded,semicircular,viscous,tibetans,endeavours,retaliated,cretan,vienne,workhouse,sufficiency,aurangzeb,legalization,lipids,expanse,eintracht,sanjak,megas,125th,bahraini,yakima,eukaryotes,thwart,affirmation,peloponnese,retailing,carbonyl,chairwoman,macedonians,dentate,rockaway,correctness,wealthier,metamorphic,aragonese,fermanagh,pituitary,schrodinger,evokes,spoiler,chariots,akita,genitalia,combe,confectionery,desegregation,experiential,commodores,persepolis,viejo,restorations,virtualization,hispania,printmaking,stipend,yisrael,theravada,expended,radium,tweeted,polygonal,lippe,charente,leveraged,cutaneous,fallacy,fragrant,bypasses,elaborately,rigidity,majid,majorca,kongo,plasmodium,skits,audiovisual,eerste,staircases,prompts,coulthard,northwestward,riverdale,beatrix,copyrights,prudential,communicates,mated,obscenity,asynchronous,analyse,hansa,searchlight,farnborough,patras,asquith,qarah,contours,fumbled,pasteur,redistributed,almeria,sanctuaries,jewry,israelite,clinicians,koblenz,bookshop,affective,goulburn,panelist,sikorsky,cobham,mimics,ringed,portraiture,probabilistic,girolamo,intelligible,andalusian,jalal,athenaeum,eritrean,auxiliaries,pittsburg,devolution,sangam,isolating,anglers,cronulla,annihilated,kidderminster,synthesize,popularised,theophilus,bandstand,innumerable,chagrin,retroactively,weser,multiples,birdlife,goryeo,pawnee,grosser,grappling,tactile,ahmadinejad,turboprop,erdogan,matchday,proletarian,adhering,complements,austronesian,adverts,luminaries,archeology,impressionism,conifer,sodomy,interracial,platoons,lessen,postings,pejorative,registrations,cookery,persecutions,microbes,audits,idiosyncratic,subsp,suspensions,restricts,colouring,ratify,instrumentals,nucleotides,sulla,posits,bibliotheque,diameters,oceanography,instigation,subsumed,submachine,acceptor,legation,borrows,sedge,discriminated,loaves,insurers,highgate,detectable,abandons,kilns,sportscaster,harwich,iterations,preakness,arduous,tensile,prabhu,shortwave,philologist,shareholding,vegetative,complexities,councilors,distinctively,revitalize,automaton,amassing,montreux,khanh,surabaya,nurnberg,pernambuco,cuisines,charterhouse,firsts,tercera,inhabitant,homophobia,naturalism,einar,powerplant,coruna,entertainments,whedon,rajputs,raton,democracies,arunachal,oeuvre,wallonia,jeddah,trolleybuses,evangelism,vosges,kiowa,minimise,encirclement,undertakes,emigrant,beacons,deepened,grammars,publius,preeminent,seyyed,repechage,crafting,headingley,osteopathic,lithography,hotly,bligh,inshore,betrothed,olympians,formula_31,dissociation,trivandrum,arran,petrovic,stettin,disembarked,simplification,bronzes,philo,acrobatic,jonsson,conjectured,supercharged,kanto,detects,cheeses,correlates,harmonics,lifecycle,sudamericana,reservists,decayed,elitserien,parametric,113th,dusky,hogarth,modulo,symbiotic,monopolies,discontinuation,converges,southerners,tucuman,eclipses,enclaves,emits,famicom,caricatures,artistically,levelled,mussels,erecting,mouthparts,cunard,octaves,crucible,guardia,unusable,lagrangian,droughts,ephemeral,pashto,canis,tapering,sasebo,silurian,metallurgical,outscored,evolves,reissues,sedentary,homotopy,greyhawk,reagents,inheriting,onshore,tilting,rebuffed,reusable,naturalists,basingstoke,insofar,offensives,dravidian,curators,planks,rajan,isoforms,flagstaff,preside,globular,egalitarian,linkages,biographers,goalscorers,molybdenum,centralised,nordland,jurists,ellesmere,rosberg,hideyoshi,restructure,biases,borrower,scathing,redress,tunnelling,workflow,magnates,mahendra,dissenters,plethora,transcriptions,handicrafts,keyword,xi'an,petrograd,unser,prokofiev,90deg,madan,bataan,maronite,kearny,carmarthen,termini,consulates,disallowed,rockville,bowery,fanzine,docklands,bests,prohibitions,yeltsin,selassie,naturalization,realisation,dispensary,tribeca,abdulaziz,pocahontas,stagnation,pamplona,cuneiform,propagating,subsurface,christgau,epithelium,schwerin,lynching,routledge,hanseatic,upanishad,glebe,yugoslavian,complicity,endowments,girona,mynetworktv,entomology,plinth,ba'ath,supercup,torus,akkadian,salted,englewood,commandery,belgaum,prefixed,colorless,dartford,enthroned,caesarea,nominative,sandown,safeguards,hulled,formula_32,leamington,dieppe,spearhead,generalizations,demarcation,llanelli,masque,brickwork,recounting,sufism,strikingly,petrochemical,onslow,monologues,emigrating,anderlecht,sturt,hossein,sakhalin,subduction,novices,deptford,zanjan,airstrikes,coalfield,reintroduction,timbaland,hornby,messianic,stinging,universalist,situational,radiocarbon,strongman,rowling,saloons,traffickers,overran,fribourg,cambrai,gravesend,discretionary,finitely,archetype,assessor,pilipinas,exhumed,invocation,interacted,digitized,timisoara,smelter,teton,sexism,precepts,srinagar,pilsudski,carmelite,hanau,scoreline,hernando,trekking,blogging,fanbase,wielded,vesicles,nationalization,banja,rafts,motoring,luang,takeda,girder,stimulates,histone,sunda,nanoparticles,attains,jumpers,catalogued,alluding,pontus,ancients,examiners,shinkansen,ribbentrop,reimbursement,pharmacological,ramat,stringed,imposes,cheaply,transplanted,taiping,mizoram,looms,wallabies,sideman,kootenay,encased,sportsnet,revolutionized,tangier,benthic,runic,pakistanis,heatseekers,shyam,mishnah,presbyterians,stadt,sutras,straddles,zoroastrian,infer,fueling,gymnasts,ofcom,gunfight,journeyman,tracklist,oshawa,ps500,pa'in,mackinac,xiongnu,mississippian,breckinridge,freemason,bight,autoroute,liberalization,distantly,thrillers,solomons,presumptive,romanization,anecdotal,bohemians,unpaved,milder,concurred,spinners,alphabets,strenuous,rivieres,kerrang,mistreatment,dismounted,intensively,carlist,dancehall,shunting,pluralism,trafficked,brokered,bonaventure,bromide,neckar,designates,malian,reverses,sotheby,sorghum,serine,environmentalists,languedoc,consulship,metering,bankstown,handlers,militiamen,conforming,regularity,pondicherry,armin,capsized,consejo,capitalists,drogheda,granular,purged,acadians,endocrine,intramural,elicit,terns,orientations,miklos,omitting,apocryphal,slapstick,brecon,pliocene,affords,typography,emigre,tsarist,tomasz,beset,nishi,necessitating,encyclical,roleplaying,journeyed,inflow,sprints,progressives,novosibirsk,cameroonian,ephesus,speckled,kinshasa,freiherr,burnaby,dalmatian,torrential,rigor,renegades,bhakti,nurburgring,cosimo,convincingly,reverting,visayas,lewisham,charlottetown,charadriiformesfamily,transferable,jodhpur,converters,deepening,camshaft,underdeveloped,protease,polonia,uterine,quantify,tobruk,dealerships,narasimha,fortran,inactivity,1780s,victors,categorised,naxos,workstation,skink,sardinian,chalice,precede,dammed,sondheim,phineas,tutored,sourcing,uncompromising,placer,tyneside,courtiers,proclaims,pharmacies,hyogo,booksellers,sengoku,kursk,spectrometer,countywide,wielkopolski,bobsleigh,shetty,llywelyn,consistory,heretics,guinean,cliches,individualism,monolithic,imams,usability,bursa,deliberations,railings,torchwood,inconsistency,balearic,stabilizer,demonstrator,facet,radioactivity,outboard,educates,d'oyly,heretical,handover,jurisdictional,shockwave,hispaniola,conceptually,routers,unaffiliated,trentino,formula_33,cypriots,intervenes,neuchatel,formulating,maggiore,delisted,alcohols,thessaly,potable,estimator,suborder,fluency,mimicry,clergymen,infrastructures,rivals.com,baroda,subplot,majlis,plano,clinching,connotation,carinae,savile,intercultural,transcriptional,sandstones,ailerons,annotations,impresario,heinkel,scriptural,intermodal,astrological,ribbed,northeastward,posited,boers,utilise,kalmar,phylum,breakwater,skype,textured,guideline,azeri,rimini,massed,subsidence,anomalous,wolfsburg,polyphonic,accrediting,vodacom,kirov,captaining,kelantan,logie,fervent,eamon,taper,bundeswehr,disproportionately,divination,slobodan,pundits,hispano,kinetics,reunites,makati,ceasing,statistician,amending,chiltern,eparchy,riverine,melanoma,narragansett,pagans,raged,toppled,breaching,zadar,holby,dacian,ochre,velodrome,disparities,amphoe,sedans,webpage,williamsport,lachlan,groton,baring,swastika,heliport,unwillingness,razorbacks,exhibitors,foodstuffs,impacting,tithe,appendages,dermot,subtypes,nurseries,balinese,simulating,stary,remakes,mundi,chautauqua,geologically,stockade,hakka,dilute,kalimantan,pahang,overlapped,fredericton,baha'u'llah,jahangir,damping,benefactors,shomali,triumphal,cieszyn,paradigms,shielded,reggaeton,maharishi,zambian,shearing,golestan,mirroring,partitioning,flyover,songbook,incandescent,merrimack,huguenots,sangeet,vulnerabilities,trademarked,drydock,tantric,honoris,queenstown,labelling,iterative,enlists,statesmen,anglicans,herge,qinghai,burgundian,islami,delineated,zhuge,aggregated,banknote,qatari,suitably,tapestries,asymptotic,charleroi,majorities,pyramidellidae,leanings,climactic,tahir,ramsar,suppressor,revisionist,trawler,ernakulam,penicillium,categorization,slits,entitlement,collegium,earths,benefice,pinochet,puritans,loudspeaker,stockhausen,eurocup,roskilde,alois,jaroslav,rhondda,boutiques,vigor,neurotransmitter,ansar,malden,ferdinando,sported,relented,intercession,camberwell,wettest,thunderbolts,positional,oriel,cloverleaf,penalized,shoshone,rajkumar,completeness,sharjah,chromosomal,belgians,woolen,ultrasonic,sequentially,boleyn,mordella,microsystems,initiator,elachista,mineralogy,rhododendron,integrals,compostela,hamza,sawmills,stadio,berlioz,maidens,stonework,yachting,tappeh,myocardial,laborer,workstations,costumed,nicaea,lanark,roundtable,mashhad,nablus,algonquian,stuyvesant,sarkar,heroines,diwan,laments,intonation,intrigues,almaty,feuded,grandes,algarve,rehabilitate,macrophages,cruciate,dismayed,heuristic,eliezer,kozhikode,covalent,finalised,dimorphism,yaroslavl,overtaking,leverkusen,middlebury,feeders,brookings,speculates,insoluble,lodgings,jozsef,cysteine,shenyang,habilitation,spurious,brainchild,mtdna,comique,albedo,recife,partick,broadening,shahi,orientated,himalaya,swabia,palme,mennonites,spokeswoman,conscripts,sepulchre,chartres,eurozone,scaffold,invertebrate,parishad,bagan,heian,watercolors,basse,supercomputer,commences,tarragona,plainfield,arthurian,functor,identically,murex,chronicling,pressings,burrowing,histoire,guayaquil,goalkeeping,differentiable,warburg,machining,aeneas,kanawha,holocene,ramesses,reprisal,qingdao,avatars,turkestan,cantatas,besieging,repudiated,teamsters,equipping,hydride,ahmadiyya,euston,bottleneck,computations,terengganu,kalinga,stela,rediscovery,'this,azhar,stylised,karelia,polyethylene,kansai,motorised,lounges,normalization,calculators,1700s,goalkeepers,unfolded,commissary,cubism,vignettes,multiverse,heaters,briton,sparingly,childcare,thorium,plock,riksdag,eunuchs,catalysis,limassol,perce,uncensored,whitlam,ulmus,unites,mesopotamian,refraction,biodiesel,forza,fulda,unseated,mountbatten,shahrak,selenium,osijek,mimicking,antimicrobial,axons,simulcasting,donizetti,swabian,sportsmen,hafiz,neared,heraclius,locates,evaded,subcarpathian,bhubaneswar,negeri,jagannath,thaksin,aydin,oromo,lateran,goldsmiths,multiculturalism,cilia,mihai,evangelists,lorient,qajar,polygons,vinod,mechanised,anglophone,prefabricated,mosses,supervillain,airliners,biofuels,iodide,innovators,valais,wilberforce,logarithm,intelligentsia,dissipation,sanctioning,duchies,aymara,porches,simulators,mostar,telepathic,coaxial,caithness,burghs,fourths,stratification,joaquim,scribes,meteorites,monarchist,germination,vries,desiring,replenishment,istria,winemaking,tammany,troupes,hetman,lanceolate,pelagic,triptych,primeira,scant,outbound,hyphae,denser,bentham,basie,normale,executes,ladislaus,kontinental,herat,cruiserweight,activision,customization,manoeuvres,inglewood,northwood,waveform,investiture,inpatient,alignments,kiryat,rabat,archimedes,ustad,monsanto,archetypal,kirkby,sikhism,correspondingly,catskill,overlaid,petrels,widowers,unicameral,federalists,metalcore,gamerankings,mussel,formula_34,lymphocytes,cystic,southgate,vestiges,immortals,kalam,strove,amazons,pocono,sociologists,sopwith,adheres,laurens,caregivers,inspecting,transylvanian,rebroadcast,rhenish,miserables,pyrams,blois,newtonian,carapace,redshirt,gotland,nazir,unilever,distortions,linebackers,federalism,mombasa,lumen,bernoulli,favouring,aligarh,denounce,steamboats,dnieper,stratigraphic,synths,bernese,umass,icebreaker,guanajuato,heisenberg,boldly,diodes,ladakh,dogmatic,scriptwriter,maritimes,battlestar,symposia,adaptable,toluca,bhavan,nanking,ieyasu,picardy,soybean,adalbert,brompton,deutsches,brezhnev,glandular,laotian,hispanicized,ibadan,personification,dalit,yamuna,regio,dispensed,yamagata,zweibrucken,revising,fandom,stances,participle,flavours,khitan,vertebral,crores,mayaguez,dispensation,guntur,undefined,harpercollins,unionism,meena,leveling,philippa,refractory,telstra,judea,attenuation,pylons,elaboration,elegy,edging,gracillariidae,residencies,absentia,reflexive,deportations,dichotomy,stoves,sanremo,shimon,menachem,corneal,conifers,mordellidae,facsimile,diagnoses,cowper,citta,viticulture,divisive,riverview,foals,mystics,polyhedron,plazas,airspeed,redgrave,motherland,impede,multiplicity,barrichello,airships,pharmacists,harvester,clays,payloads,differentiating,popularize,caesars,tunneling,stagnant,circadian,indemnity,sensibilities,musicology,prefects,serfs,metra,lillehammer,carmarthenshire,kiosks,welland,barbican,alkyl,tillandsia,gatherers,asociacion,showings,bharati,brandywine,subversion,scalable,pfizer,dawla,barium,dardanelles,nsdap,konig,ayutthaya,hodgkin,sedimentation,completions,purchasers,sponsorships,maximizing,banked,taoism,minot,enrolls,fructose,aspired,capuchin,outages,artois,carrollton,totality,osceola,pawtucket,fontainebleau,converged,queretaro,competencies,botha,allotments,sheaf,shastri,obliquely,banding,catharines,outwardly,monchengladbach,driest,contemplative,cassini,ranga,pundit,kenilworth,tiananmen,disulfide,formula_35,townlands,codice_3,looping,caravans,rachmaninoff,segmentation,fluorine,anglicised,gnostic,dessau,discern,reconfigured,altrincham,rebounding,battlecruiser,ramblers,1770s,convective,triomphe,miyagi,mourners,instagram,aloft,breastfeeding,courtyards,folkestone,changsha,kumamoto,saarland,grayish,provisionally,appomattox,uncial,classicism,mahindra,elapsed,supremes,monophyletic,cautioned,formula_36,noblewoman,kernels,sucre,swaps,bengaluru,grenfell,epicenter,rockhampton,worshipful,licentiate,metaphorical,malankara,amputated,wattle,palawan,tankobon,nobunaga,polyhedra,transduction,jilin,syrians,affinities,fluently,emanating,anglicized,sportscar,botanists,altona,dravida,chorley,allocations,kunming,luanda,premiering,outlived,mesoamerica,lingual,dissipating,impairments,attenborough,balustrade,emulator,bakhsh,cladding,increments,ascents,workington,qal'eh,winless,categorical,petrel,emphasise,dormer,toros,hijackers,telescopic,solidly,jankovic,cession,gurus,madoff,newry,subsystems,northside,talib,englishmen,farnese,holographic,electives,argonne,scrivener,predated,brugge,nauvoo,catalyses,soared,siddeley,graphically,powerlifting,funicular,sungai,coercive,fusing,uncertainties,locos,acetic,diverge,wedgwood,dressings,tiebreaker,didactic,vyacheslav,acreage,interplanetary,battlecruisers,sunbury,alkaloids,hairpin,automata,wielkie,interdiction,plugins,monkees,nudibranch,esporte,approximations,disabling,powering,characterisation,ecologically,martinsville,termen,perpetuated,lufthansa,ascendancy,motherboard,bolshoi,athanasius,prunus,dilution,invests,nonzero,mendocino,charan,banque,shaheed,counterculture,unita,voivode,hospitalization,vapour,supermarine,resistor,steppes,osnabruck,intermediates,benzodiazepines,sunnyside,privatized,geopolitical,ponta,beersheba,kievan,embody,theoretic,sangh,cartographer,blige,rotors,thruway,battlefields,discernible,demobilized,broodmare,colouration,sagas,policymakers,serialization,augmentation,hoare,frankfurter,transnistria,kinases,detachable,generational,converging,antiaircraft,khaki,bimonthly,coadjutor,arkhangelsk,kannur,buffers,livonian,northwich,enveloped,cysts,yokozuna,herne,beeching,enron,virginian,woollen,excepting,competitively,outtakes,recombinant,hillcrest,clearances,pathe,cumbersome,brasov,u.s.a,likud,christiania,cruciform,hierarchies,wandsworth,lupin,resins,voiceover,sitar,electrochemical,mediacorp,typhus,grenadiers,hepatic,pompeii,weightlifter,bosniak,oxidoreductase,undersecretary,rescuers,ranji,seleucid,analysing,exegesis,tenancy,toure,kristiansand,110th,carillon,minesweepers,poitou,acceded,palladian,redevelop,naismith,rifled,proletariat,shojo,hackensack,harvests,endpoint,kuban,rosenborg,stonehenge,authorisation,jacobean,revocation,compatriots,colliding,undetermined,okayama,acknowledgment,angelou,fresnel,chahar,ethereal,mg/kg,emmet,mobilised,unfavourable,cultura,characterizing,parsonage,skeptics,expressways,rabaul,medea,guardsmen,visakhapatnam,caddo,homophobic,elmwood,encircling,coexistence,contending,seljuk,mycologist,infertility,moliere,insolvent,covenants,underpass,holme,landesliga,workplaces,delinquency,methamphetamine,contrived,tableau,tithes,overlying,usurped,contingents,spares,oligocene,molde,beatification,mordechai,balloting,pampanga,navigators,flowered,debutant,codec,orogeny,newsletters,solon,ambivalent,ubisoft,archdeaconry,harpers,kirkus,jabal,castings,kazhagam,sylhet,yuwen,barnstaple,amidships,causative,isuzu,watchtower,granules,canaveral,remuneration,insurer,payout,horizonte,integrative,attributing,kiwis,skanderbeg,asymmetry,gannett,urbanism,disassembled,unaltered,precluded,melodifestivalen,ascends,plugin,gurkha,bisons,stakeholder,industrialisation,abbotsford,sextet,bustling,uptempo,slavia,choreographers,midwives,haram,javed,gazetteer,subsection,natively,weighting,lysine,meera,redbridge,muchmusic,abruzzo,adjoins,unsustainable,foresters,kbit/s,cosmopterigidae,secularism,poetics,causality,phonograph,estudiantes,ceausescu,universitario,adjoint,applicability,gastropods,nagaland,kentish,mechelen,atalanta,woodpeckers,lombards,gatineau,romansh,avraham,acetylcholine,perturbation,galois,wenceslaus,fuzhou,meandering,dendritic,sacristy,accented,katha,therapeutics,perceives,unskilled,greenhouses,analogues,chaldean,timbre,sloped,volodymyr,sadiq,maghreb,monogram,rearguard,caucuses,mures,metabolite,uyezd,determinism,theosophical,corbet,gaels,disruptions,bicameral,ribosomal,wolseley,clarksville,watersheds,tarsi,radon,milanese,discontinuous,aristotelian,whistleblower,representational,hashim,modestly,localised,atrial,hazara,ravana,troyes,appointees,rubus,morningside,amity,aberdare,ganglia,wests,zbigniew,aerobatic,depopulated,corsican,introspective,twinning,hardtop,shallower,cataract,mesolithic,emblematic,graced,lubrication,republicanism,voronezh,bastions,meissen,irkutsk,oboes,hokkien,sprites,tenet,individualist,capitulated,oakville,dysentery,orientalist,hillsides,keywords,elicited,incised,lagging,apoel,lengthening,attractiveness,marauders,sportswriter,decentralization,boltzmann,contradicts,draftsman,precipitate,solihull,norske,consorts,hauptmann,riflemen,adventists,syndromes,demolishing,customize,continuo,peripherals,seamlessly,linguistically,bhushan,orphanages,paraul,lessened,devanagari,quarto,responders,patronymic,riemannian,altoona,canonization,honouring,geodetic,exemplifies,republica,enzymatic,porters,fairmount,pampa,sufferers,kamchatka,conjugated,coachella,uthman,repositories,copious,headteacher,awami,phoneme,homomorphism,franconian,moorland,davos,quantified,kamloops,quarks,mayoralty,weald,peacekeepers,valerian,particulate,insiders,perthshire,caches,guimaraes,piped,grenadines,kosciuszko,trombonist,artemisia,covariance,intertidal,soybeans,beatified,ellipse,fruiting,deafness,dnipropetrovsk,accrued,zealous,mandala,causation,junius,kilowatt,bakeries,montpelier,airdrie,rectified,bungalows,toleration,debian,pylon,trotskyist,posteriorly,two-and-a-half,herbivorous,islamists,poetical,donne,wodehouse,frome,allium,assimilate,phonemic,minaret,unprofitable,darpa,untenable,leaflet,bitcoin,zahir,thresholds,argentino,jacopo,bespoke,stratified,wellbeing,shiite,basaltic,timberwolves,secrete,taunts,marathons,isomers,carre,consecrators,penobscot,pitcairn,sakha,crosstown,inclusions,impassable,fenders,indre,uscgc,jordi,retinue,logarithmic,pilgrimages,railcar,cashel,blackrock,macroscopic,aligning,tabla,trestle,certify,ronson,palps,dissolves,thickened,silicate,taman,walsingham,hausa,lowestoft,rondo,oleksandr,cuyahoga,retardation,countering,cricketing,holborn,identifiers,hells,geophysics,infighting,sculpting,balaji,webbed,irradiation,runestone,trusses,oriya,sojourn,forfeiture,colonize,exclaimed,eucharistic,lackluster,glazing,northridge,gutenberg,stipulates,macroeconomic,priori,outermost,annular,udinese,insulating,headliner,godel,polytope,megalithic,salix,sharapova,derided,muskegon,braintree,plateaus,confers,autocratic,isomer,interstitial,stamping,omits,kirtland,hatchery,evidences,intifada,111th,podgorica,capua,motivating,nuneaton,jakub,korsakov,amitabh,mundial,monrovia,gluten,predictor,marshalling,d'orleans,levers,touchscreen,brantford,fricative,banishment,descendent,antagonism,ludovico,loudspeakers,formula_37,livelihoods,manassas,steamships,dewsbury,uppermost,humayun,lures,pinnacles,dependents,lecce,clumps,observatories,paleozoic,dedicating,samiti,draughtsman,gauls,incite,infringing,nepean,pythagorean,convents,triumvirate,seigneur,gaiman,vagrant,fossa,byproduct,serrated,renfrewshire,sheltering,achaemenid,dukedom,catchers,sampdoria,platelet,bielefeld,fluctuating,phenomenology,strikeout,ethnology,prospectors,woodworking,tatra,wildfires,meditations,agrippa,fortescue,qureshi,wojciech,methyltransferase,accusative,saatchi,amerindian,volcanism,zeeland,toyama,vladimirovich,allege,polygram,redox,budgeted,advisories,nematode,chipset,starscream,tonbridge,hardening,shales,accompanist,paraded,phonographic,whitefish,sportive,audiobook,kalisz,hibernation,latif,duels,ps200,coxeter,nayak,safeguarding,cantabria,minesweeping,zeiss,dunams,catholicos,sawtooth,ontological,nicobar,bridgend,unclassified,intrinsically,hanoverian,rabbitohs,kenseth,alcalde,northumbrian,raritan,septuagint,presse,sevres,origen,dandenong,peachtree,intersected,impeded,usages,hippodrome,novara,trajectories,customarily,yardage,inflected,yanow,kalan,taverns,liguria,librettist,intermarriage,1760s,courant,gambier,infanta,ptolemaic,ukulele,haganah,sceptical,manchukuo,plexus,implantation,hilal,intersex,efficiencies,arbroath,hagerstown,adelphi,diario,marais,matti,lifes,coining,modalities,divya,bletchley,conserving,ivorian,mithridates,generative,strikeforce,laymen,toponymy,pogrom,satya,meticulously,agios,dufferin,yaakov,fortnightly,cargoes,deterrence,prefrontal,przemysl,mitterrand,commemorations,chatsworth,gurdwara,abuja,chakraborty,badajoz,geometries,artiste,diatonic,ganglion,presides,marymount,nanak,cytokines,feudalism,storks,rowers,widens,politico,evangelicals,assailants,pittsfield,allowable,bijapur,telenovelas,dichomeris,glenelg,herbivores,keita,inked,radom,fundraisers,constantius,boheme,portability,komnenos,crystallography,derrida,moderates,tavistock,fateh,spacex,disjoint,bristles,commercialized,interwoven,empirically,regius,bulacan,newsday,showa,radicalism,yarrow,pleura,sayed,structuring,cotes,reminiscences,acetyl,edicts,escalators,aomori,encapsulated,legacies,bunbury,placings,fearsome,postscript,powerfully,keighley,hildesheim,amicus,crevices,deserters,benelux,aurangabad,freeware,ioannis,carpathians,chirac,seceded,prepaid,landlocked,naturalised,yanukovych,soundscan,blotch,phenotypic,determinants,twente,dictatorial,giessen,composes,recherche,pathophysiology,inventories,ayurveda,elevating,gravestone,degeneres,vilayet,popularizing,spartanburg,bloemfontein,previewed,renunciation,genotype,ogilvy,tracery,blacklisted,emissaries,diploid,disclosures,tupolev,shinjuku,antecedents,pennine,braganza,bhattacharya,countable,spectroscopic,ingolstadt,theseus,corroborated,compounding,thrombosis,extremadura,medallions,hasanabad,lambton,perpetuity,glycol,besancon,palaiologos,pandey,caicos,antecedent,stratum,laserdisc,novitiate,crowdfunding,palatal,sorceress,dassault,toughness,celle,cezanne,vientiane,tioga,hander,crossbar,gisborne,cursor,inspectorate,serif,praia,sphingidae,nameplate,psalter,ivanovic,sitka,equalised,mutineers,sergius,outgrowth,creationism,haredi,rhizomes,predominate,undertakings,vulgate,hydrothermal,abbeville,geodesic,kampung,physiotherapy,unauthorised,asteraceae,conservationist,minoan,supersport,mohammadabad,cranbrook,mentorship,legitimately,marshland,datuk,louvain,potawatomi,carnivores,levies,lyell,hymnal,regionals,tinto,shikoku,conformal,wanganui,beira,lleida,standstill,deloitte,formula_40,corbusier,chancellery,mixtapes,airtime,muhlenberg,formula_39,bracts,thrashers,prodigious,gironde,chickamauga,uyghurs,substitutions,pescara,batangas,gregarious,gijon,paleo,mathura,pumas,proportionally,hawkesbury,yucca,kristiania,funimation,fluted,eloquence,mohun,aftermarket,chroniclers,futurist,nonconformist,branko,mannerisms,lesnar,opengl,altos,retainers,ashfield,shelbourne,sulaiman,divisie,gwent,locarno,lieder,minkowski,bivalve,redeployed,cartography,seaway,bookings,decays,ostend,antiquaries,pathogenesis,formula_38,chrysalis,esperance,valli,motogp,homelands,bridged,bloor,ghazal,vulgaris,baekje,prospector,calculates,debtors,hesperiidae,titian,returner,landgrave,frontenac,kelowna,pregame,castelo,caius,canoeist,watercolours,winterthur,superintendents,dissonance,dubstep,adorn,matic,salih,hillel,swordsman,flavoured,emitter,assays,monongahela,deeded,brazzaville,sufferings,babylonia,fecal,umbria,astrologer,gentrification,frescos,phasing,zielona,ecozone,candido,manoj,quadrilateral,gyula,falsetto,prewar,puntland,infinitive,contraceptive,bakhtiari,ohrid,socialization,tailplane,evoking,havelock,macapagal,plundering,104th,keynesian,templars,phrasing,morphologically,czestochowa,humorously,catawba,burgas,chiswick,ellipsoid,kodansha,inwards,gautama,katanga,orthopaedic,heilongjiang,sieges,outsourced,subterminal,vijayawada,hares,oration,leitrim,ravines,manawatu,cryogenic,tracklisting,about.com,ambedkar,degenerated,hastened,venturing,lobbyists,shekhar,typefaces,northcote,rugen,'good,ornithology,asexual,hemispheres,unsupported,glyphs,spoleto,epigenetic,musicianship,donington,diogo,kangxi,bisected,polymorphism,megawatt,salta,embossed,cheetahs,cruzeiro,unhcr,aristide,rayleigh,maturing,indonesians,noire,llano,ffffff,camus,purges,annales,convair,apostasy,algol,phage,apaches,marketers,aldehyde,pompidou,kharkov,forgeries,praetorian,divested,retrospectively,gornji,scutellum,bitumen,pausanias,magnification,imitations,nyasaland,geographers,floodlights,athlone,hippolyte,expositions,clarinetist,razak,neutrinos,rotax,sheykh,plush,interconnect,andalus,cladogram,rudyard,resonator,granby,blackfriars,placido,windscreen,sahel,minamoto,haida,cations,emden,blackheath,thematically,blacklist,pawel,disseminating,academical,undamaged,raytheon,harsher,powhatan,ramachandran,saddles,paderborn,capping,zahra,prospecting,glycine,chromatin,profane,banska,helmand,okinawan,dislocation,oscillators,insectivorous,foyle,gilgit,autonomic,tuareg,sluice,pollinated,multiplexed,granary,narcissus,ranchi,staines,nitra,goalscoring,midwifery,pensioners,algorithmic,meetinghouse,biblioteca,besar,narva,angkor,predate,lohan,cyclical,detainee,occipital,eventing,faisalabad,dartmoor,kublai,courtly,resigns,radii,megachilidae,cartels,shortfall,xhosa,unregistered,benchmarks,dystopian,bulkhead,ponsonby,jovanovic,accumulates,papuan,bhutanese,intuitively,gotaland,headliners,recursion,dejan,novellas,diphthongs,imbued,withstood,analgesic,amplify,powertrain,programing,maidan,alstom,affirms,eradicated,summerslam,videogame,molla,severing,foundered,gallium,atmospheres,desalination,shmuel,howmeh,catolica,bossier,reconstructing,isolates,lyase,tweets,unconnected,tidewater,divisible,cohorts,orebro,presov,furnishing,folklorist,simplifying,centrale,notations,factorization,monarchies,deepen,macomb,facilitation,hennepin,declassified,redrawn,microprocessors,preliminaries,enlarging,timeframe,deutschen,shipbuilders,patiala,ferrous,aquariums,genealogies,vieux,unrecognized,bridgwater,tetrahedral,thule,resignations,gondwana,registries,agder,dataset,felled,parva,analyzer,worsen,coleraine,columella,blockaded,polytechnique,reassembled,reentry,narvik,greys,nigra,knockouts,bofors,gniezno,slotted,hamasaki,ferrers,conferring,thirdly,domestication,photojournalist,universality,preclude,ponting,halved,thereupon,photosynthetic,ostrava,mismatch,pangasinan,intermediaries,abolitionists,transited,headings,ustase,radiological,interconnection,dabrowa,invariants,honorius,preferentially,chantilly,marysville,dialectical,antioquia,abstained,gogol,dirichlet,muricidae,symmetries,reproduces,brazos,fatwa,bacillus,ketone,paribas,chowk,multiplicative,dermatitis,mamluks,devotes,adenosine,newbery,meditative,minefields,inflection,oxfam,conwy,bystrica,imprints,pandavas,infinitesimal,conurbation,amphetamine,reestablish,furth,edessa,injustices,frankston,serjeant,4x200,khazar,sihanouk,longchamp,stags,pogroms,coups,upperparts,endpoints,infringed,nuanced,summing,humorist,pacification,ciaran,jamaat,anteriorly,roddick,springboks,faceted,hypoxia,rigorously,cleves,fatimid,ayurvedic,tabled,ratna,senhora,maricopa,seibu,gauguin,holomorphic,campgrounds,amboy,coordinators,ponderosa,casemates,ouachita,nanaimo,mindoro,zealander,rimsky,cluny,tomaszow,meghalaya,caetano,tilak,roussillon,landtag,gravitation,dystrophy,cephalopods,trombones,glens,killarney,denominated,anthropogenic,pssas,roubaix,carcasses,montmorency,neotropical,communicative,rabindranath,ordinated,separable,overriding,surged,sagebrush,conciliation,codice_4,durrani,phosphatase,qadir,votive,revitalized,taiyuan,tyrannosaurus,graze,slovaks,nematodes,environmentalism,blockhouse,illiteracy,schengen,ecotourism,alternation,conic,wields,hounslow,blackfoot,kwame,ambulatory,volhynia,hordaland,croton,piedras,rohit,drava,conceptualized,birla,illustrative,gurgaon,barisal,tutsi,dezong,nasional,polje,chanson,clarinets,krasnoyarsk,aleksandrovich,cosmonaut,d'este,palliative,midseason,silencing,wardens,durer,girders,salamanders,torrington,supersonics,lauda,farid,circumnavigation,embankments,funnels,bajnoksag,lorries,cappadocia,jains,warringah,retirees,burgesses,equalization,cusco,ganesan,algal,amazonian,lineups,allocating,conquerors,usurper,mnemonic,predating,brahmaputra,ahmadabad,maidenhead,numismatic,subregion,encamped,reciprocating,freebsd,irgun,tortoises,governorates,zionists,airfoil,collated,ajmer,fiennes,etymological,polemic,chadian,clerestory,nordiques,fluctuated,calvados,oxidizing,trailhead,massena,quarrels,dordogne,tirunelveli,pyruvate,pulsed,athabasca,sylar,appointee,serer,japonica,andronikos,conferencing,nicolaus,chemin,ascertained,incited,woodbine,helices,hospitalised,emplacements,to/from,orchestre,tyrannical,pannonia,methodism,pop/rock,shibuya,berbers,despot,seaward,westpac,separator,perpignan,alamein,judeo,publicize,quantization,ethniki,gracilis,menlo,offside,oscillating,unregulated,succumbing,finnmark,metrical,suleyman,raith,sovereigns,bundesstrasse,kartli,fiduciary,darshan,foramen,curler,concubines,calvinism,larouche,bukhara,sophomores,mohanlal,lutheranism,monomer,eamonn,'black,uncontested,immersive,tutorials,beachhead,bindings,permeable,postulates,comite,transformative,indiscriminate,hofstra,associacao,amarna,dermatology,lapland,aosta,babur,unambiguous,formatting,schoolboys,gwangju,superconducting,replayed,adherent,aureus,compressors,forcible,spitsbergen,boulevards,budgeting,nossa,annandale,perumal,interregnum,sassoon,kwajalein,greenbrier,caldas,triangulation,flavius,increment,shakhtar,nullified,pinfall,nomen,microfinance,depreciation,cubist,steeper,splendour,gruppe,everyman,chasers,campaigners,bridle,modality,percussive,darkly,capes,velar,picton,triennial,factional,padang,toponym,betterment,norepinephrine,112th,estuarine,diemen,warehousing,morphism,ideologically,pairings,immunization,crassus,exporters,sefer,flocked,bulbous,deseret,booms,calcite,bohol,elven,groot,pulau,citigroup,wyeth,modernizing,layering,pastiche,complies,printmaker,condenser,theropod,cassino,oxyrhynchus,akademie,trainings,lowercase,coxae,parte,chetniks,pentagonal,keselowski,monocoque,morsi,reticulum,meiosis,clapboard,recoveries,tinge,an/fps,revista,sidon,livre,epidermis,conglomerates,kampong,congruent,harlequins,tergum,simplifies,epidemiological,underwriting,tcp/ip,exclusivity,multidimensional,mysql,columbine,ecologist,hayat,sicilies,levees,handset,aesop,usenet,pacquiao,archiving,alexandrian,compensatory,broadsheet,annotation,bahamian,d'affaires,interludes,phraya,shamans,marmara,customizable,immortalized,ambushes,chlorophyll,diesels,emulsion,rheumatoid,voluminous,screenwriters,tailoring,sedis,runcorn,democratization,bushehr,anacostia,constanta,antiquary,sixtus,radiate,advaita,antimony,acumen,barristers,reichsbahn,ronstadt,symbolist,pasig,cursive,secessionist,afrikaner,munnetra,inversely,adsorption,syllabic,moltke,idioms,midline,olimpico,diphosphate,cautions,radziwill,mobilisation,copelatus,trawlers,unicron,bhaskar,financiers,minimalism,derailment,marxists,oireachtas,abdicate,eigenvalue,zafar,vytautas,ganguly,chelyabinsk,telluride,subordination,ferried,dived,vendee,pictish,dimitrov,expiry,carnation,cayley,magnitudes,lismore,gretna,sandwiched,unmasked,sandomierz,swarthmore,tetra,nanyang,pevsner,dehradun,mormonism,rashi,complying,seaplanes,ningbo,cooperates,strathcona,mornington,mestizo,yulia,edgbaston,palisade,ethno,polytopes,espirito,tymoshenko,pronunciations,paradoxical,taichung,chipmunks,erhard,maximise,accretion,kanda,`abdu'l,narrowest,umpiring,mycenaean,divisor,geneticist,ceredigion,barque,hobbyists,equates,auxerre,spinose,cheil,sweetwater,guano,carboxylic,archiv,tannery,cormorant,agonists,fundacion,anbar,tunku,hindrance,meerut,concordat,secunderabad,kachin,achievable,murfreesboro,comprehensively,forges,broadest,synchronised,speciation,scapa,aliyev,conmebol,tirelessly,subjugated,pillaged,udaipur,defensively,lakhs,stateless,haasan,headlamps,patterning,podiums,polyphony,mcmurdo,mujer,vocally,storeyed,mucosa,multivariate,scopus,minimizes,formalised,certiorari,bourges,populate,overhanging,gaiety,unreserved,borromeo,woolworths,isotopic,bashar,purify,vertebra,medan,juxtaposition,earthwork,elongation,chaudhary,schematic,piast,steeped,nanotubes,fouls,achaea,legionnaires,abdur,qmjhl,embraer,hardback,centerville,ilocos,slovan,whitehorse,mauritian,moulding,mapuche,donned,provisioning,gazprom,jonesboro,audley,lightest,calyx,coldwater,trigonometric,petroglyphs,psychoanalyst,congregate,zambezi,fissure,supervises,bexley,etobicoke,wairarapa,tectonics,emphasises,formula_41,debugging,linfield,spatially,ionizing,ungulates,orinoco,clades,erlangen,news/talk,vols.,ceara,yakovlev,finsbury,entanglement,fieldhouse,graphene,intensifying,grigory,keyong,zacatecas,ninian,allgemeine,keswick,societa,snorri,femininity,najib,monoclonal,guyanese,postulate,huntly,abbeys,machinist,yunus,emphasising,ishaq,urmia,bremerton,pretenders,lumiere,thoroughfares,chikara,dramatized,metathorax,taiko,transcendence,wycliffe,retrieves,umpired,steuben,racehorses,taylors,kuznetsov,montezuma,precambrian,canopies,gaozong,propodeum,disestablished,retroactive,shoreham,rhizome,doubleheader,clinician,diwali,quartzite,shabaab,agassiz,despatched,stormwater,luxemburg,callao,universidade,courland,skane,glyph,dormers,witwatersrand,curacy,qualcomm,nansen,entablature,lauper,hausdorff,lusaka,ruthenian,360deg,cityscape,douai,vaishnava,spars,vaulting,rationalist,gygax,sequestration,typology,pollinates,accelerators,leben,colonials,cenotaph,imparted,carthaginians,equaled,rostrum,gobind,bodhisattva,oberst,bicycling,arabi,sangre,biophysics,hainaut,vernal,lunenburg,apportioned,finches,lajos,nenad,repackaged,zayed,nikephoros,r.e.m,swaminarayan,gestalt,unplaced,crags,grohl,sialkot,unsaturated,gwinnett,linemen,forays,palakkad,writs,instrumentalists,aircrews,badged,terrapins,180deg,oneness,commissariat,changi,pupation,circumscribed,contador,isotropic,administrated,fiefs,nimes,intrusions,minoru,geschichte,nadph,tainan,changchun,carbondale,frisia,swapo,evesham,hawai'i,encyclopedic,transporters,dysplasia,formula_42,onsite,jindal,guetta,judgements,narbonne,permissions,paleogene,rationalism,vilna,isometric,subtracted,chattahoochee,lamina,missa,greville,pervez,lattices,persistently,crystallization,timbered,hawaiians,fouling,interrelated,masood,ripening,stasi,gamal,visigothic,warlike,cybernetics,tanjung,forfar,cybernetic,karelian,brooklands,belfort,greifswald,campeche,inexplicably,refereeing,understory,uninterested,prius,collegiately,sefid,sarsfield,categorize,biannual,elsevier,eisteddfod,declension,autonoma,procuring,misrepresentation,novelization,bibliographic,shamanism,vestments,potash,eastleigh,ionized,turan,lavishly,scilly,balanchine,importers,parlance,'that,kanyakumari,synods,mieszko,crossovers,serfdom,conformational,legislated,exclave,heathland,sadar,differentiates,propositional,konstantinos,photoshop,manche,vellore,appalachia,orestes,taiga,exchanger,grozny,invalidated,baffin,spezia,staunchly,eisenach,robustness,virtuosity,ciphers,inlets,bolagh,understandings,bosniaks,parser,typhoons,sinan,luzerne,webcomic,subtraction,jhelum,businessweek,ceske,refrained,firebox,mitigated,helmholtz,dilip,eslamabad,metalwork,lucan,apportionment,provident,gdynia,schooners,casement,danse,hajjiabad,benazir,buttress,anthracite,newsreel,wollaston,dispatching,cadastral,riverboat,provincetown,nantwich,missal,irreverent,juxtaposed,darya,ennobled,electropop,stereoscopic,maneuverability,laban,luhansk,udine,collectibles,haulage,holyrood,materially,supercharger,gorizia,shkoder,townhouses,pilate,layoffs,folkloric,dialectic,exuberant,matures,malla,ceuta,citizenry,crewed,couplet,stopover,transposition,tradesmen,antioxidant,amines,utterance,grahame,landless,isere,diction,appellant,satirist,urbino,intertoto,subiaco,antonescu,nehemiah,ubiquitin,emcee,stourbridge,fencers,103rd,wranglers,monteverdi,watertight,expounded,xiamen,manmohan,pirie,threefold,antidepressant,sheboygan,grieg,cancerous,diverging,bernini,polychrome,fundamentalism,bihari,critiqued,cholas,villers,tendulkar,dafydd,vastra,fringed,evangelization,episcopalian,maliki,sana'a,ashburton,trianon,allegany,heptathlon,insufficiently,panelists,pharrell,hexham,amharic,fertilized,plumes,cistern,stratigraphy,akershus,catalans,karoo,rupee,minuteman,quantification,wigmore,leutnant,metanotum,weeknights,iridescent,extrasolar,brechin,deuterium,kuching,lyricism,astrakhan,brookhaven,euphorbia,hradec,bhagat,vardar,aylmer,positron,amygdala,speculators,unaccompanied,debrecen,slurry,windhoek,disaffected,rapporteur,mellitus,blockers,fronds,yatra,sportsperson,precession,physiologist,weeknight,pidgin,pharma,condemns,standardize,zetian,tibor,glycoprotein,emporia,cormorants,amalie,accesses,leonhard,denbighshire,roald,116th,will.i.am,symbiosis,privatised,meanders,chemnitz,jabalpur,shing,secede,ludvig,krajina,homegrown,snippets,sasanian,euripides,peder,cimarron,streaked,graubunden,kilimanjaro,mbeki,middleware,flensburg,bukovina,lindwall,marsalis,profited,abkhaz,polis,camouflaged,amyloid,morgantown,ovoid,bodleian,morte,quashed,gamelan,juventud,natchitoches,storyboard,freeview,enumeration,cielo,preludes,bulawayo,1600s,olympiads,multicast,faunal,asura,reinforces,puranas,ziegfeld,handicraft,seamount,kheil,noche,hallmarks,dermal,colorectal,encircle,hessen,umbilicus,sunnis,leste,unwin,disclosing,superfund,montmartre,refuelling,subprime,kolhapur,etiology,bismuth,laissez,vibrational,mazar,alcoa,rumsfeld,recurve,ticonderoga,lionsgate,onlookers,homesteads,filesystem,barometric,kingswood,biofuel,belleza,moshav,occidentalis,asymptomatic,northeasterly,leveson,huygens,numan,kingsway,primogeniture,toyotomi,yazoo,limpets,greenbelt,booed,concurrence,dihedral,ventrites,raipur,sibiu,plotters,kitab,109th,trackbed,skilful,berthed,effendi,fairing,sephardi,mikhailovich,lockyer,wadham,invertible,paperbacks,alphabetic,deuteronomy,constitutive,leathery,greyhounds,estoril,beechcraft,poblacion,cossidae,excreted,flamingos,singha,olmec,neurotransmitters,ascoli,nkrumah,forerunners,dualism,disenchanted,benefitted,centrum,undesignated,noida,o'donoghue,collages,egrets,egmont,wuppertal,cleave,montgomerie,pseudomonas,srinivasa,lymphatic,stadia,resold,minima,evacuees,consumerism,ronde,biochemist,automorphism,hollows,smuts,improvisations,vespasian,bream,pimlico,eglin,colne,melancholic,berhad,ousting,saale,notaulices,ouest,hunslet,tiberias,abdomina,ramsgate,stanislas,donbass,pontefract,sucrose,halts,drammen,chelm,l'arc,taming,trolleys,konin,incertae,licensees,scythian,giorgos,dative,tanglewood,farmlands,o'keeffe,caesium,romsdal,amstrad,corte,oglethorpe,huntingdonshire,magnetization,adapts,zamosc,shooto,cuttack,centrepiece,storehouse,winehouse,morbidity,woodcuts,ryazan,buddleja,buoyant,bodmin,estero,austral,verifiable,periyar,christendom,curtail,shura,kaifeng,cotswold,invariance,seafaring,gorica,androgen,usman,seabird,forecourt,pekka,juridical,audacious,yasser,cacti,qianlong,polemical,d'amore,espanyol,distrito,cartographers,pacifism,serpents,backa,nucleophilic,overturning,duplicates,marksman,oriente,vuitton,oberleutnant,gielgud,gesta,swinburne,transfiguration,1750s,retaken,celje,fredrikstad,asuka,cropping,mansard,donates,blacksmiths,vijayanagara,anuradhapura,germinate,betis,foreshore,jalandhar,bayonets,devaluation,frazione,ablaze,abidjan,approvals,homeostasis,corollary,auden,superfast,redcliffe,luxembourgish,datum,geraldton,printings,ludhiana,honoree,synchrotron,invercargill,hurriedly,108th,three-and-a-half,colonist,bexar,limousin,bessemer,ossetian,nunataks,buddhas,rebuked,thais,tilburg,verdicts,interleukin,unproven,dordrecht,solent,acclamation,muammar,dahomey,operettas,4x400,arrears,negotiators,whitehaven,apparitions,armoury,psychoactive,worshipers,sculptured,elphinstone,airshow,kjell,o'callaghan,shrank,professorships,predominance,subhash,coulomb,sekolah,retrofitted,samos,overthrowing,vibrato,resistors,palearctic,datasets,doordarshan,subcutaneous,compiles,immorality,patchwork,trinidadian,glycogen,pronged,zohar,visigoths,freres,akram,justo,agora,intakes,craiova,playwriting,bukhari,militarism,iwate,petitioners,harun,wisla,inefficiency,vendome,ledges,schopenhauer,kashi,entombed,assesses,tenn.,noumea,baguio,carex,o'donovan,filings,hillsdale,conjectures,blotches,annuals,lindisfarne,negated,vivek,angouleme,trincomalee,cofactor,verkhovna,backfield,twofold,automaker,rudra,freighters,darul,gharana,busway,formula_43,plattsburgh,portuguesa,showrunner,roadmap,valenciennes,erdos,biafra,spiritualism,transactional,modifies,carne,107th,cocos,gcses,tiverton,radiotherapy,meadowlands,gunma,srebrenica,foxtel,authenticated,enslavement,classicist,klaipeda,minstrels,searchable,infantrymen,incitement,shiga,nadp+,urals,guilders,banquets,exteriors,counterattacks,visualized,diacritics,patrimony,svensson,transepts,prizren,telegraphy,najaf,emblazoned,coupes,effluent,ragam,omani,greensburg,taino,flintshire,cd/dvd,lobbies,narrating,cacao,seafarers,bicolor,collaboratively,suraj,floodlit,sacral,puppetry,tlingit,malwa,login,motionless,thien,overseers,vihar,golem,specializations,bathhouse,priming,overdubs,winningest,archetypes,uniao,acland,creamery,slovakian,lithographs,maryborough,confidently,excavating,stillborn,ramallah,audiencia,alava,ternary,hermits,rostam,bauxite,gawain,lothair,captions,gulfstream,timelines,receded,mediating,petain,bastia,rudbar,bidders,disclaimer,shrews,tailings,trilobites,yuriy,jamil,demotion,gynecology,rajinikanth,madrigals,ghazni,flycatchers,vitebsk,bizet,computationally,kashgar,refinements,frankford,heralds,europe/africa,levante,disordered,sandringham,queues,ransacked,trebizond,verdes,comedie,primitives,figurine,organists,culminate,gosport,coagulation,ferrying,hoyas,polyurethane,prohibitive,midfielders,ligase,progesterone,defectors,sweetened,backcountry,diodorus,waterside,nieuport,khwaja,jurong,decried,gorkha,ismaili,300th,octahedral,kindergartens,paseo,codification,notifications,disregarding,risque,reconquista,shortland,atolls,texarkana,perceval,d'etudes,kanal,herbicides,tikva,nuova,gatherer,dissented,soweto,dexterity,enver,bacharach,placekicker,carnivals,automate,maynooth,symplectic,chetnik,militaire,upanishads,distributive,strafing,championing,moiety,miliband,blackadder,enforceable,maung,dimer,stadtbahn,diverges,obstructions,coleophoridae,disposals,shamrocks,aural,banca,bahru,coxed,grierson,vanadium,watermill,radiative,ecoregions,berets,hariri,bicarbonate,evacuations,mallee,nairn,rushden,loggia,slupsk,satisfactorily,milliseconds,cariboo,reine,cyclo,pigmentation,postmodernism,aqueducts,vasari,bourgogne,dilemmas,liquefied,fluminense,alloa,ibaraki,tenements,kumasi,humerus,raghu,labours,putsch,soundcloud,bodybuilder,rakyat,domitian,pesaro,translocation,sembilan,homeric,enforcers,tombstones,lectureship,rotorua,salamis,nikolaos,inferences,superfortress,lithgow,surmised,undercard,tarnow,barisan,stingrays,federacion,coldstream,haverford,ornithological,heerenveen,eleazar,jyoti,murali,bamako,riverbed,subsidised,theban,conspicuously,vistas,conservatorium,madrasa,kingfishers,arnulf,credential,syndicalist,sheathed,discontinuity,prisms,tsushima,coastlines,escapees,vitis,optimizing,megapixel,overground,embattled,halide,sprinters,buoys,mpumalanga,peculiarities,106th,roamed,menezes,macao,prelates,papyri,freemen,dissertations,irishmen,pooled,sverre,reconquest,conveyance,subjectivity,asturian,circassian,formula_45,comdr,thickets,unstressed,monro,passively,harmonium,moveable,dinar,carlsson,elysees,chairing,b'nai,confusingly,kaoru,convolution,godolphin,facilitator,saxophones,eelam,jebel,copulation,anions,livres,licensure,pontypridd,arakan,controllable,alessandria,propelling,stellenbosch,tiber,wolka,liberators,yarns,d'azur,tsinghua,semnan,amhara,ablation,melies,tonality,historique,beeston,kahne,intricately,sonoran,robespierre,gyrus,boycotts,defaulted,infill,maranhao,emigres,framingham,paraiba,wilhelmshaven,tritium,skyway,labial,supplementation,possessor,underserved,motets,maldivian,marrakech,quays,wikimedia,turbojet,demobilization,petrarch,encroaching,sloops,masted,karbala,corvallis,agribusiness,seaford,stenosis,hieronymus,irani,superdraft,baronies,cortisol,notability,veena,pontic,cyclin,archeologists,newham,culled,concurring,aeolian,manorial,shouldered,fords,philanthropists,105th,siddharth,gotthard,halim,rajshahi,jurchen,detritus,practicable,earthenware,discarding,travelogue,neuromuscular,elkhart,raeder,zygmunt,metastasis,internees,102nd,vigour,upmarket,summarizing,subjunctive,offsets,elizabethtown,udupi,pardubice,repeaters,instituting,archaea,substandard,technische,linga,anatomist,flourishes,velika,tenochtitlan,evangelistic,fitchburg,springbok,cascading,hydrostatic,avars,occasioned,filipina,perceiving,shimbun,africanus,consternation,tsing,optically,beitar,45deg,abutments,roseville,monomers,huelva,lotteries,hypothalamus,internationalist,electromechanical,hummingbirds,fibreglass,salaried,dramatists,uncovers,invokes,earners,excretion,gelding,ancien,aeronautica,haverhill,stour,ittihad,abramoff,yakov,ayodhya,accelerates,industrially,aeroplanes,deleterious,dwelt,belvoir,harpalus,atpase,maluku,alasdair,proportionality,taran,epistemological,interferometer,polypeptide,adjudged,villager,metastatic,marshalls,madhavan,archduchess,weizmann,kalgoorlie,balan,predefined,sessile,sagaing,brevity,insecticide,psychosocial,africana,steelworks,aether,aquifers,belem,mineiro,almagro,radiators,cenozoic,solute,turbocharger,invicta,guested,buccaneer,idolatry,unmatched,paducah,sinestro,dispossessed,conforms,responsiveness,cyanobacteria,flautist,procurator,complementing,semifinalist,rechargeable,permafrost,cytokine,refuges,boomed,gelderland,franchised,jinan,burnie,doubtless,randomness,colspan=12,angra,ginebra,famers,nuestro,declarative,roughness,lauenburg,motile,rekha,issuer,piney,interceptors,napoca,gipsy,formulaic,formula_44,viswanathan,ebrahim,thessalonica,galeria,muskogee,unsold,html5,taito,mobutu,icann,carnarvon,fairtrade,morphisms,upsilon,nozzles,fabius,meander,murugan,strontium,episcopacy,sandinista,parasol,attenuated,bhima,primeval,panay,ordinator,negara,osteoporosis,glossop,ebook,paradoxically,grevillea,modoc,equating,phonetically,legumes,covariant,dorje,quatre,bruxelles,pyroclastic,shipbuilder,zhaozong,obscuring,sveriges,tremolo,extensible,barrack,multnomah,hakon,chaharmahal,parsing,volumetric,astrophysical,glottal,combinatorics,freestanding,encoder,paralysed,cavalrymen,taboos,heilbronn,orientalis,lockport,marvels,ozawa,dispositions,waders,incurring,saltire,modulate,papilio,phenol,intermedia,rappahannock,plasmid,fortify,phenotypes,transiting,correspondences,leaguer,larnaca,incompatibility,mcenroe,deeming,endeavoured,aboriginals,helmed,salar,arginine,werke,ferrand,expropriated,delimited,couplets,phoenicians,petioles,ouster,anschluss,protectionist,plessis,urchins,orquesta,castleton,juniata,bittorrent,fulani,donji,mykola,rosemont,chandos,scepticism,signer,chalukya,wicketkeeper,coquitlam,programmatic,o'brian,carteret,urology,steelhead,paleocene,konkan,bettered,venkatesh,surfacing,longitudinally,centurions,popularization,yazid,douro,widths,premios,leonards,gristmill,fallujah,arezzo,leftists,ecliptic,glycerol,inaction,disenfranchised,acrimonious,depositing,parashah,cockatoo,marechal,bolzano,chios,cablevision,impartiality,pouches,thickly,equities,bentinck,emotive,boson,ashdown,conquistadors,parsi,conservationists,reductive,newlands,centerline,ornithologists,waveguide,nicene,philological,hemel,setanta,masala,aphids,convening,casco,matrilineal,chalcedon,orthographic,hythe,replete,damming,bolivarian,admixture,embarks,borderlands,conformed,nagarjuna,blenny,chaitanya,suwon,shigeru,tatarstan,lingayen,rejoins,grodno,merovingian,hardwicke,puducherry,prototyping,laxmi,upheavals,headquarter,pollinators,bromine,transom,plantagenet,arbuthnot,chidambaram,woburn,osamu,panelling,coauthored,zhongshu,hyaline,omissions,aspergillus,offensively,electrolytic,woodcut,sodom,intensities,clydebank,piotrkow,supplementing,quipped,focke,harbinger,positivism,parklands,wolfenbuttel,cauca,tryptophan,taunus,curragh,tsonga,remand,obscura,ashikaga,eltham,forelimbs,analogs,trnava,observances,kailash,antithesis,ayumi,abyssinia,dorsally,tralee,pursuers,misadventures,padova,perot,mahadev,tarim,granth,licenced,compania,patuxent,baronial,korda,cochabamba,codices,karna,memorialized,semaphore,playlists,mandibular,halal,sivaji,scherzinger,stralsund,foundries,ribosome,mindfulness,nikolayevich,paraphyletic,newsreader,catalyze,ioannina,thalamus,gbit/s,paymaster,sarab,500th,replenished,gamepro,cracow,formula_46,gascony,reburied,lessing,easement,transposed,meurthe,satires,proviso,balthasar,unbound,cuckoos,durbar,louisbourg,cowes,wholesalers,manet,narita,xiaoping,mohamad,illusory,cathal,reuptake,alkaloid,tahrir,mmorpg,underlies,anglicanism,repton,aharon,exogenous,buchenwald,indigent,odostomia,milled,santorum,toungoo,nevsky,steyr,urbanisation,darkseid,subsonic,canaanite,akiva,eglise,dentition,mediators,cirencester,peloponnesian,malmesbury,durres,oerlikon,tabulated,saens,canaria,ischemic,esterhazy,ringling,centralization,walthamstow,nalanda,lignite,takht,leninism,expiring,circe,phytoplankton,promulgation,integrable,breeches,aalto,menominee,borgo,scythians,skrull,galleon,reinvestment,raglan,reachable,liberec,airframes,electrolysis,geospatial,rubiaceae,interdependence,symmetrically,simulcasts,keenly,mauna,adipose,zaidi,fairport,vestibular,actuators,monochromatic,literatures,congestive,sacramental,atholl,skytrain,tycho,tunings,jamia,catharina,modifier,methuen,tapings,infiltrating,colima,grafting,tauranga,halides,pontificate,phonetics,koper,hafez,grooved,kintetsu,extrajudicial,linkoping,cyberpunk,repetitions,laurentian,parnu,bretton,darko,sverdlovsk,foreshadowed,akhenaten,rehnquist,gosford,coverts,pragmatism,broadleaf,ethiopians,instated,mediates,sodra,opulent,descriptor,enugu,shimla,leesburg,officership,giffard,refectory,lusitania,cybermen,fiume,corus,tydfil,lawrenceville,ocala,leviticus,burghers,ataxia,richthofen,amicably,acoustical,watling,inquired,tiempo,multiracial,parallelism,trenchard,tokyopop,germanium,usisl,philharmonia,shapur,jacobites,latinized,sophocles,remittances,o'farrell,adder,dimitrios,peshwa,dimitar,orlov,outstretched,musume,satish,dimensionless,serialised,baptisms,pagasa,antiviral,1740s,quine,arapaho,bombardments,stratosphere,ophthalmic,injunctions,carbonated,nonviolence,asante,creoles,sybra,boilermakers,abington,bipartite,permissive,cardinality,anheuser,carcinogenic,hohenlohe,surinam,szeged,infanticide,generically,floorball,'white,automakers,cerebellar,homozygous,remoteness,effortlessly,allude,'great,headmasters,minting,manchurian,kinabalu,wemyss,seditious,widgets,marbled,almshouses,bards,subgenres,tetsuya,faulting,kickboxer,gaulish,hoseyn,malton,fluvial,questionnaires,mondale,downplayed,traditionalists,vercelli,sumatran,landfills,gamesradar,exerts,franciszek,unlawfully,huesca,diderot,libertarians,professorial,laane,piecemeal,conidae,taiji,curatorial,perturbations,abstractions,szlachta,watercraft,mullah,zoroastrianism,segmental,khabarovsk,rectors,affordability,scuola,diffused,stena,cyclonic,workpiece,romford,'little,jhansi,stalag,zhongshan,skipton,maracaibo,bernadotte,thanet,groening,waterville,encloses,sahrawi,nuffield,moorings,chantry,annenberg,islay,marchers,tenses,wahid,siegen,furstenberg,basques,resuscitation,seminarians,tympanum,gentiles,vegetarianism,tufted,venkata,fantastical,pterophoridae,machined,superposition,glabrous,kaveri,chicane,executors,phyllonorycter,bidirectional,jasta,undertones,touristic,majapahit,navratilova,unpopularity,barbadian,tinian,webcast,hurdler,rigidly,jarrah,staphylococcus,igniting,irrawaddy,stabilised,airstrike,ragas,wakayama,energetically,ekstraklasa,minibus,largemouth,cultivators,leveraging,waitangi,carnaval,weaves,turntables,heydrich,sextus,excavate,govind,ignaz,pedagogue,uriah,borrowings,gemstones,infractions,mycobacterium,batavian,massing,praetor,subalpine,massoud,passers,geostationary,jalil,trainsets,barbus,impair,budejovice,denbigh,pertain,historicity,fortaleza,nederlandse,lamenting,masterchef,doubs,gemara,conductance,ploiesti,cetaceans,courthouses,bhagavad,mihailovic,occlusion,bremerhaven,bulwark,morava,kaine,drapery,maputo,conquistador,kaduna,famagusta,first-past-the-post,erudite,galton,undated,tangential,filho,dismembered,dashes,criterium,darwen,metabolized,blurring,everard,randwick,mohave,impurity,acuity,ansbach,chievo,surcharge,plantain,algoma,porosity,zirconium,selva,sevenoaks,venizelos,gwynne,golgi,imparting,separatism,courtesan,idiopathic,gravestones,hydroelectricity,babar,orford,purposeful,acutely,shard,ridgewood,viterbo,manohar,expropriation,placenames,brevis,cosine,unranked,richfield,newnham,recoverable,flightless,dispersing,clearfield,abu'l,stranraer,kempe,streamlining,goswami,epidermal,pieta,conciliatory,distilleries,electrophoresis,bonne,tiago,curiosities,candidature,picnicking,perihelion,lintel,povoa,gullies,configure,excision,facies,signers,1730s,insufficiency,semiotics,streatham,deactivation,entomological,skippers,albacete,parodying,escherichia,honorees,singaporeans,counterterrorism,tiruchirappalli,omnivorous,metropole,globalisation,athol,unbounded,codice_5,landforms,classifier,farmhouses,reaffirming,reparation,yomiuri,technologists,mitte,medica,viewable,steampunk,konya,kshatriya,repelling,edgewater,lamiinae,devas,potteries,llandaff,engendered,submits,virulence,uplifted,educationist,metropolitans,frontrunner,dunstable,forecastle,frets,methodius,exmouth,linnean,bouchet,repulsion,computable,equalling,liceo,tephritidae,agave,hydrological,azarenka,fairground,l'homme,enforces,xinhua,cinematographers,cooperstown,sa'id,paiute,christianization,tempos,chippenham,insulator,kotor,stereotyped,dello,cours,hisham,d'souza,eliminations,supercars,passau,rebrand,natures,coote,persephone,rededicated,cleaved,plenum,blistering,indiscriminately,cleese,safed,recursively,compacted,revues,hydration,shillong,echelons,garhwal,pedimented,grower,zwolle,wildflower,annexing,methionine,petah,valens,famitsu,petiole,specialities,nestorian,shahin,tokaido,shearwater,barberini,kinsmen,experimenter,alumnae,cloisters,alumina,pritzker,hardiness,soundgarden,julich,ps300,watercourse,cementing,wordplay,olivet,demesne,chasseurs,amide,zapotec,gaozu,porphyry,absorbers,indium,analogies,devotions,engravers,limestones,catapulted,surry,brickworks,gotra,rodham,landline,paleontologists,shankara,islip,raucous,trollope,arpad,embarkation,morphemes,recites,picardie,nakhchivan,tolerances,formula_47,khorramabad,nichiren,adrianople,kirkuk,assemblages,collider,bikaner,bushfires,roofline,coverings,reredos,bibliotheca,mantras,accentuated,commedia,rashtriya,fluctuation,serhiy,referential,fittipaldi,vesicle,geeta,iraklis,immediacy,chulalongkorn,hunsruck,bingen,dreadnoughts,stonemason,meenakshi,lebesgue,undergrowth,baltistan,paradoxes,parlement,articled,tiflis,dixieland,meriden,tejano,underdogs,barnstable,exemplify,venter,tropes,wielka,kankakee,iskandar,zilina,pharyngeal,spotify,materialised,picts,atlantique,theodoric,prepositions,paramilitaries,pinellas,attlee,actuated,piedmontese,grayling,thucydides,multifaceted,unedited,autonomously,universelle,utricularia,mooted,preto,incubated,underlie,brasenose,nootka,bushland,sensu,benzodiazepine,esteghlal,seagoing,amenhotep,azusa,sappers,culpeper,smokeless,thoroughbreds,dargah,gorda,alumna,mankato,zdroj,deleting,culvert,formula_49,punting,wushu,hindering,immunoglobulin,standardisation,birger,oilfield,quadrangular,ulama,recruiters,netanya,1630s,communaute,istituto,maciej,pathan,meher,vikas,characterizations,playmaker,interagency,intercepts,assembles,horthy,introspection,narada,matra,testes,radnicki,estonians,csiro,instar,mitford,adrenergic,crewmembers,haaretz,wasatch,lisburn,rangefinder,ordre,condensate,reforestation,corregidor,spvgg,modulator,mannerist,faulted,aspires,maktoum,squarepants,aethelred,piezoelectric,mulatto,dacre,progressions,jagiellonian,norge,samaria,sukhoi,effingham,coxless,hermetic,humanists,centrality,litters,stirlingshire,beaconsfield,sundanese,geometrically,caretakers,habitually,bandra,pashtuns,bradenton,arequipa,laminar,brickyard,hitchin,sustains,shipboard,ploughing,trechus,wheelers,bracketed,ilyushin,subotica,d'hondt,reappearance,bridgestone,intermarried,fulfilment,aphasia,birkbeck,transformational,strathmore,hornbill,millstone,lacan,voids,solothurn,gymnasiums,laconia,viaducts,peduncle,teachta,edgware,shinty,supernovae,wilfried,exclaim,parthia,mithun,flashpoint,moksha,cumbia,metternich,avalanches,militancy,motorist,rivadavia,chancellorsville,federals,gendered,bounding,footy,gauri,caliphs,lingam,watchmaker,unrecorded,riverina,unmodified,seafloor,droit,pfalz,chrysostom,gigabit,overlordship,besiege,espn2,oswestry,anachronistic,ballymena,reactivation,duchovny,ghani,abacetus,duller,legio,watercourses,nord-pas-de-calais,leiber,optometry,swarms,installer,sancti,adverbs,iheartmedia,meiningen,zeljko,kakheti,notional,circuses,patrilineal,acrobatics,infrastructural,sheva,oregonian,adjudication,aamir,wloclawek,overfishing,obstructive,subtracting,aurobindo,archeologist,newgate,'cause,secularization,tehsils,abscess,fingal,janacek,elkhorn,trims,kraftwerk,mandating,irregulars,faintly,congregationalist,sveti,kasai,mishaps,kennebec,provincially,durkheim,scotties,aicte,rapperswil,imphal,surrenders,morphs,nineveh,hoxha,cotabato,thuringian,metalworking,retold,shogakukan,anthers,proteasome,tippeligaen,disengagement,mockumentary,palatial,erupts,flume,corrientes,masthead,jaroslaw,rereleased,bharti,labors,distilling,tusks,varzim,refounded,enniskillen,melkite,semifinalists,vadodara,bermudian,capstone,grasse,origination,populus,alesi,arrondissements,semigroup,verein,opossum,messrs.,portadown,bulbul,tirupati,mulhouse,tetrahedron,roethlisberger,nonverbal,connexion,warangal,deprecated,gneiss,octet,vukovar,hesketh,chambre,despatch,claes,kargil,hideo,gravelly,tyndale,aquileia,tuners,defensible,tutte,theotokos,constructivist,ouvrage,dukla,polisario,monasticism,proscribed,commutation,testers,nipissing,codon,mesto,olivine,concomitant,exoskeleton,purports,coromandel,eyalet,dissension,hippocrates,purebred,yaounde,composting,oecophoridae,procopius,o'day,angiogenesis,sheerness,intelligencer,articular,felixstowe,aegon,endocrinology,trabzon,licinius,pagodas,zooplankton,hooghly,satie,drifters,sarthe,mercian,neuilly,tumours,canal+,scheldt,inclinations,counteroffensive,roadrunners,tuzla,shoreditch,surigao,predicates,carnot,algeciras,militaries,generalize,bulkheads,gawler,pollutant,celta,rundgren,microrna,gewog,olimpija,placental,lubelski,roxburgh,discerned,verano,kikuchi,musicale,l'enfant,ferocity,dimorphic,antigonus,erzurum,prebendary,recitative,discworld,cyrenaica,stigmella,totnes,sutta,pachuca,ulsan,downton,landshut,castellan,pleural,siedlce,siecle,catamaran,cottbus,utilises,trophic,freeholders,holyhead,u.s.s,chansons,responder,waziristan,suzuka,birding,shogi,asker,acetone,beautification,cytotoxic,dixit,hunterdon,cobblestone,formula_48,kossuth,devizes,sokoto,interlaced,shuttered,kilowatts,assiniboine,isaak,salto,alderney,sugarloaf,franchising,aggressiveness,toponyms,plaintext,antimatter,henin,equidistant,salivary,bilingualism,mountings,obligate,extirpated,irenaeus,misused,pastoralists,aftab,immigrating,warping,tyrolean,seaforth,teesside,soundwave,oligarchy,stelae,pairwise,iupac,tezuka,posht,orchestrations,landmass,ironstone,gallia,hjalmar,carmelites,strafford,elmhurst,palladio,fragility,teleplay,gruffudd,karoly,yerba,potok,espoo,inductance,macaque,nonprofits,pareto,rock'n'roll,spiritualist,shadowed,skateboarder,utterances,generality,congruence,prostrate,deterred,yellowknife,albarn,maldon,battlements,mohsen,insecticides,khulna,avellino,menstruation,glutathione,springdale,parlophone,confraternity,korps,countrywide,bosphorus,preexisting,damodar,astride,alexandrovich,sprinting,crystallized,botev,leaching,interstates,veers,angevin,undaunted,yevgeni,nishapur,northerners,alkmaar,bethnal,grocers,sepia,tornus,exemplar,trobe,charcot,gyeonggi,larne,tournai,lorain,voided,genji,enactments,maxilla,adiabatic,eifel,nazim,transducer,thelonious,pyrite,deportiva,dialectal,bengt,rosettes,labem,sergeyevich,synoptic,conservator,statuette,biweekly,adhesives,bifurcation,rajapaksa,mammootty,republique,yusef,waseda,marshfield,yekaterinburg,minnelli,fundy,fenian,matchups,dungannon,supremacist,panelled,drenthe,iyengar,fibula,narmada,homeport,oceanside,precept,antibacterial,altarpieces,swath,ospreys,lillooet,legnica,lossless,formula_50,galvatron,iorga,stormont,rsfsr,loggers,kutno,phenomenological,medallists,cuatro,soissons,homeopathy,bituminous,injures,syndicates,typesetting,displacements,dethroned,makassar,lucchese,abergavenny,targu,alborz,akb48,boldface,gastronomy,sacra,amenity,accumulator,myrtaceae,cornices,mourinho,denunciation,oxbow,diddley,aargau,arbitrage,bedchamber,gruffydd,zamindar,klagenfurt,caernarfon,slowdown,stansted,abrasion,tamaki,suetonius,dukakis,individualistic,ventrally,hotham,perestroika,ketones,fertilisation,sobriquet,couplings,renderings,misidentified,rundfunk,sarcastically,braniff,concours,dismissals,elegantly,modifiers,crediting,combos,crucially,seafront,lieut,ischemia,manchus,derivations,proteases,aristophanes,adenauer,porting,hezekiah,sante,trulli,hornblower,foreshadowing,ypsilanti,dharwad,khani,hohenstaufen,distillers,cosmodrome,intracranial,turki,salesian,gorzow,jihlava,yushchenko,leichhardt,venables,cassia,eurogamer,airtel,curative,bestsellers,timeform,sortied,grandview,massillon,ceding,pilbara,chillicothe,heredity,elblag,rogaland,ronne,millennial,batley,overuse,bharata,fille,campbelltown,abeyance,counterclockwise,250cc,neurodegenerative,consigned,electromagnetism,sunnah,saheb,exons,coxswain,gleaned,bassoons,worksop,prismatic,immigrate,pickets,takeo,bobsledder,stosur,fujimori,merchantmen,stiftung,forli,endorses,taskforce,thermally,atman,gurps,floodplains,enthalpy,extrinsic,setubal,kennesaw,grandis,scalability,durations,showrooms,prithvi,outro,overruns,andalucia,amanita,abitur,hipper,mozambican,sustainment,arsene,chesham,palaeolithic,reportage,criminality,knowsley,haploid,atacama,shueisha,ridgefield,astern,getafe,lineal,timorese,restyled,hollies,agincourt,unter,justly,tannins,mataram,industrialised,tarnovo,mumtaz,mustapha,stretton,synthetase,condita,allround,putra,stjepan,troughs,aechmea,specialisation,wearable,kadokawa,uralic,aeros,messiaen,existentialism,jeweller,effigies,gametes,fjordane,cochlear,interdependent,demonstrative,unstructured,emplacement,famines,spindles,amplitudes,actuator,tantalum,psilocybe,apnea,monogatari,expulsions,seleucus,tsuen,hospitaller,kronstadt,eclipsing,olympiakos,clann,canadensis,inverter,helio,egyptologist,squamous,resonate,munir,histology,torbay,khans,jcpenney,veterinarians,aintree,microscopes,colonised,reflectors,phosphorylated,pristimantis,tulare,corvinus,multiplexing,midweek,demosthenes,transjordan,ecija,tengku,vlachs,anamorphic,counterweight,radnor,trinitarian,armidale,maugham,njsiaa,futurism,stairways,avicenna,montebello,bridgetown,wenatchee,lyonnais,amass,surinamese,streptococcus,m*a*s*h,hydrogenation,frazioni,proscenium,kalat,pennsylvanian,huracan,tallying,kralove,nucleolar,phrygian,seaports,hyacinthe,ignace,donning,instalment,regnal,fonds,prawn,carell,folktales,goaltending,bracknell,vmware,patriarchy,mitsui,kragujevac,pythagoras,soult,thapa,disproved,suwalki,secures,somoza,l'ecole,divizia,chroma,herders,technologist,deduces,maasai,rampur,paraphrase,raimi,imaged,magsaysay,ivano,turmeric,formula_51,subcommittees,axillary,ionosphere,organically,indented,refurbishing,pequot,violinists,bearn,colle,contralto,silverton,mechanization,etruscans,wittelsbach,pasir,redshirted,marrakesh,scarp,plein,wafers,qareh,teotihuacan,frobenius,sinensis,rehoboth,bundaberg,newbridge,hydrodynamic,traore,abubakar,adjusts,storytellers,dynamos,verbandsliga,concertmaster,exxonmobil,appreciable,sieradz,marchioness,chaplaincy,rechristened,cunxu,overpopulation,apolitical,sequencer,beaked,nemanja,binaries,intendant,absorber,filamentous,indebtedness,nusra,nashik,reprises,psychedelia,abwehr,ligurian,isoform,resistive,pillaging,mahathir,reformatory,lusatia,allerton,ajaccio,tepals,maturin,njcaa,abyssinian,objector,fissures,sinuous,ecclesiastic,dalits,caching,deckers,phosphates,wurlitzer,navigated,trofeo,berea,purefoods,solway,unlockable,grammys,kostroma,vocalizations,basilan,rebuke,abbasi,douala,helsingborg,ambon,bakar,runestones,cenel,tomislav,pigmented,northgate,excised,seconda,kirke,determinations,dedicates,vilas,pueblos,reversion,unexploded,overprinted,ekiti,deauville,masato,anaesthesia,endoplasmic,transponders,aguascalientes,hindley,celluloid,affording,bayeux,piaget,rickshaws,eishockey,camarines,zamalek,undersides,hardwoods,hermitian,mutinied,monotone,blackmails,affixes,jpmorgan,habermas,mitrovica,paleontological,polystyrene,thana,manas,conformist,turbofan,decomposes,logano,castration,metamorphoses,patroness,herbicide,mikolaj,rapprochement,macroeconomics,barranquilla,matsudaira,lintels,femina,hijab,spotsylvania,morpheme,bitola,baluchistan,kurukshetra,otway,extrusion,waukesha,menswear,helder,trung,bingley,protester,boars,overhang,differentials,exarchate,hejaz,kumara,unjustified,timings,sharpness,nuovo,taisho,sundar,etc..,jehan,unquestionably,muscovy,daltrey,canute,paneled,amedeo,metroplex,elaborates,telus,tetrapods,dragonflies,epithets,saffir,parthenon,lucrezia,refitting,pentateuch,hanshin,montparnasse,lumberjacks,sanhedrin,erectile,odors,greenstone,resurgent,leszek,amory,substituents,prototypical,viewfinder,monck,universiteit,joffre,revives,chatillon,seedling,scherzo,manukau,ashdod,gympie,homolog,stalwarts,ruinous,weibo,tochigi,wallenberg,gayatri,munda,satyagraha,storefronts,heterogeneity,tollway,sportswriters,binocular,gendarmes,ladysmith,tikal,ortsgemeinde,ja'far,osmotic,linlithgow,bramley,telecoms,pugin,repose,rupaul,sieur,meniscus,garmisch,reintroduce,400th,shoten,poniatowski,drome,kazakhstani,changeover,astronautics,husserl,herzl,hypertext,katakana,polybius,antananarivo,seong,breguet,reliquary,utada,aggregating,liangshan,sivan,tonawanda,audiobooks,shankill,coulee,phenolic,brockton,bookmakers,handsets,boaters,wylde,commonality,mappings,silhouettes,pennines,maurya,pratchett,singularities,eschewed,pretensions,vitreous,ibero,totalitarianism,poulenc,lingered,directx,seasoning,deputation,interdict,illyria,feedstock,counterbalance,muzik,buganda,parachuted,violist,homogeneity,comix,fjords,corsairs,punted,verandahs,equilateral,laoghaire,magyars,117th,alesund,televoting,mayotte,eateries,refurbish,nswrl,yukio,caragiale,zetas,dispel,codecs,inoperable,outperformed,rejuvenation,elstree,modernise,contributory,pictou,tewkesbury,chechens,ashina,psionic,refutation,medico,overdubbed,nebulae,sandefjord,personages,eccellenza,businessperson,placename,abenaki,perryville,threshing,reshaped,arecibo,burslem,colspan=3|turnout,rebadged,lumia,erinsborough,interactivity,bitmap,indefatigable,theosophy,excitatory,gleizes,edsel,bermondsey,korce,saarinen,wazir,diyarbakir,cofounder,liberalisation,onsen,nighthawks,siting,retirements,semyon,d'histoire,114th,redditch,venetia,praha,'round,valdosta,hieroglyphic,postmedial,edirne,miscellany,savona,cockpits,minimization,coupler,jacksonian,appeasement,argentines,saurashtra,arkwright,hesiod,folios,fitzalan,publica,rivaled,civitas,beermen,constructivism,ribeira,zeitschrift,solanum,todos,deformities,chilliwack,verdean,meagre,bishoprics,gujrat,yangzhou,reentered,inboard,mythologies,virtus,unsurprisingly,rusticated,museu,symbolise,proportionate,thesaban,symbian,aeneid,mitotic,veliki,compressive,cisterns,abies,winemaker,massenet,bertolt,ahmednagar,triplemania,armorial,administracion,tenures,smokehouse,hashtag,fuerza,regattas,gennady,kanazawa,mahmudabad,crustal,asaph,valentinian,ilaiyaraaja,honeyeater,trapezoidal,cooperatively,unambiguously,mastodon,inhospitable,harnesses,riverton,renewables,djurgardens,haitians,airings,humanoids,boatswain,shijiazhuang,faints,veera,punjabis,steepest,narain,karlovy,serre,sulcus,collectives,1500m,arion,subarctic,liberally,apollonius,ostia,droplet,headstones,norra,robusta,maquis,veronese,imola,primers,luminance,escadrille,mizuki,irreconcilable,stalybridge,temur,paraffin,stuccoed,parthians,counsels,fundamentalists,vivendi,polymath,sugababes,mikko,yonne,fermions,vestfold,pastoralist,kigali,unseeded,glarus,cusps,amasya,northwesterly,minorca,astragalus,verney,trevelyan,antipathy,wollstonecraft,bivalves,boulez,royle,divisao,quranic,bareilly,coronal,deviates,lulea,erectus,petronas,chandan,proxies,aeroflot,postsynaptic,memoriam,moyne,gounod,kuznetsova,pallava,ordinating,reigate,'first,lewisburg,exploitative,danby,academica,bailiwick,brahe,injective,stipulations,aeschylus,computes,gulden,hydroxylase,liveries,somalis,underpinnings,muscovite,kongsberg,domus,overlain,shareware,variegated,jalalabad,agence,ciphertext,insectivores,dengeki,menuhin,cladistic,baerum,betrothal,tokushima,wavelet,expansionist,pottsville,siyuan,prerequisites,carpi,nemzeti,nazar,trialled,eliminator,irrorated,homeward,redwoods,undeterred,strayed,lutyens,multicellular,aurelian,notated,lordships,alsatian,idents,foggia,garros,chalukyas,lillestrom,podlaski,pessimism,hsien,demilitarized,whitewashed,willesden,kirkcaldy,sanctorum,lamia,relaying,escondido,paediatric,contemplates,demarcated,bluestone,betula,penarol,capitalise,kreuznach,kenora,115th,hold'em,reichswehr,vaucluse,m.i.a,windings,boys/girls,cajon,hisar,predictably,flemington,ysgol,mimicked,clivina,grahamstown,ionia,glyndebourne,patrese,aquaria,sleaford,dayal,sportscenter,malappuram,m.b.a.,manoa,carbines,solvable,designator,ramanujan,linearity,academicians,sayid,lancastrian,factorial,strindberg,vashem,delos,comyn,condensing,superdome,merited,kabaddi,intransitive,bideford,neuroimaging,duopoly,scorecards,ziggler,heriot,boyars,virology,marblehead,microtubules,westphalian,anticipates,hingham,searchers,harpist,rapides,morricone,convalescent,mises,nitride,metrorail,matterhorn,bicol,drivetrain,marketer,snippet,winemakers,muban,scavengers,halberstadt,herkimer,peten,laborious,stora,montgomeryshire,booklist,shamir,herault,eurostar,anhydrous,spacewalk,ecclesia,calliostoma,highschool,d'oro,suffusion,imparts,overlords,tagus,rectifier,counterinsurgency,ministered,eilean,milecastle,contre,micromollusk,okhotsk,bartoli,matroid,hasidim,thirunal,terme,tarlac,lashkar,presque,thameslink,flyby,troopship,renouncing,fatih,messrs,vexillum,bagration,magnetite,bornholm,androgynous,vehement,tourette,philosophic,gianfranco,tuileries,codice_6,radially,flexion,hants,reprocessing,setae,burne,palaeographically,infantryman,shorebirds,tamarind,moderna,threading,militaristic,crohn,norrkoping,125cc,stadtholder,troms,klezmer,alphanumeric,brome,emmanuelle,tiwari,alchemical,formula_52,onassis,bleriot,bipedal,colourless,hermeneutics,hosni,precipitating,turnstiles,hallucinogenic,panhellenic,wyandotte,elucidated,chita,ehime,generalised,hydrophilic,biota,niobium,rnzaf,gandhara,longueuil,logics,sheeting,bielsko,cuvier,kagyu,trefoil,docent,pancrase,stalinism,postures,encephalopathy,monckton,imbalances,epochs,leaguers,anzio,diminishes,pataki,nitrite,amuro,nabil,maybach,l'aquila,babbler,bacolod,thutmose,evora,gaudi,breakage,recur,preservative,60deg,mendip,functionaries,columnar,maccabiah,chert,verden,bromsgrove,clijsters,dengue,pastorate,phuoc,principia,viareggio,kharagpur,scharnhorst,anyang,bosons,l'art,criticises,ennio,semarang,brownian,mirabilis,asperger,calibers,typographical,cartooning,minos,disembark,supranational,undescribed,etymologically,alappuzha,vilhelm,lanao,pakenham,bhagavata,rakoczi,clearings,astrologers,manitowoc,bunuel,acetylene,scheduler,defamatory,trabzonspor,leaded,scioto,pentathlete,abrahamic,minigames,aldehydes,peerages,legionary,1640s,masterworks,loudness,bryansk,likeable,genocidal,vegetated,towpath,declination,pyrrhus,divinely,vocations,rosebery,associazione,loaders,biswas,oeste,tilings,xianzong,bhojpuri,annuities,relatedness,idolator,psers,constriction,chuvash,choristers,hanafi,fielders,grammarian,orpheum,asylums,millbrook,gyatso,geldof,stabilise,tableaux,diarist,kalahari,panini,cowdenbeath,melanin,4x100m,resonances,pinar,atherosclerosis,sheringham,castlereagh,aoyama,larks,pantograph,protrude,natak,gustafsson,moribund,cerevisiae,cleanly,polymeric,holkar,cosmonauts,underpinning,lithosphere,firuzabad,languished,mingled,citrate,spadina,lavas,daejeon,fibrillation,porgy,pineville,ps1000,cobbled,emamzadeh,mukhtar,dampers,indelible,salonika,nanoscale,treblinka,eilat,purporting,fluctuate,mesic,hagiography,cutscenes,fondation,barrens,comically,accrue,ibrox,makerere,defections,'there,hollandia,skene,grosseto,reddit,objectors,inoculation,rowdies,playfair,calligrapher,namor,sibenik,abbottabad,propellants,hydraulically,chloroplasts,tablelands,tecnico,schist,klasse,shirvan,bashkortostan,bullfighting,north/south,polski,hanns,woodblock,kilmore,ejecta,ignacy,nanchang,danubian,commendations,snohomish,samaritans,argumentation,vasconcelos,hedgehogs,vajrayana,barents,kulkarni,kumbakonam,identifications,hillingdon,weirs,nayanar,beauvoir,messe,divisors,atlantiques,broods,affluence,tegucigalpa,unsuited,autodesk,akash,princeps,culprits,kingstown,unassuming,goole,visayan,asceticism,blagojevich,irises,paphos,unsound,maurier,pontchartrain,desertification,sinfonietta,latins,especial,limpet,valerenga,glial,brainstem,mitral,parables,sauropod,judean,iskcon,sarcoma,venlo,justifications,zhuhai,blavatsky,alleviated,usafe,steppenwolf,inversions,janko,chagall,secretory,basildon,saguenay,pergamon,hemispherical,harmonized,reloading,franjo,domaine,extravagance,relativism,metamorphosed,labuan,baloncesto,gmail,byproducts,calvinists,counterattacked,vitus,bubonic,120th,strachey,ritually,brookwood,selectable,savinja,incontinence,meltwater,jinja,1720s,brahmi,morgenthau,sheaves,sleeved,stratovolcano,wielki,utilisation,avoca,fluxus,panzergrenadier,philately,deflation,podlaska,prerogatives,kuroda,theophile,zhongzong,gascoyne,magus,takao,arundell,fylde,merdeka,prithviraj,venkateswara,liepaja,daigo,dreamland,reflux,sunnyvale,coalfields,seacrest,soldering,flexor,structuralism,alnwick,outweighed,unaired,mangeshkar,batons,glaad,banshees,irradiated,organelles,biathlete,cabling,chairlift,lollapalooza,newsnight,capacitive,succumbs,flatly,miramichi,burwood,comedienne,charteris,biotic,workspace,aficionados,sokolka,chatelet,o'shaughnessy,prosthesis,neoliberal,refloated,oppland,hatchlings,econometrics,loess,thieu,androids,appalachians,jenin,pterostichinae,downsized,foils,chipsets,stencil,danza,narrate,maginot,yemenite,bisects,crustacean,prescriptive,melodious,alleviation,empowers,hansson,autodromo,obasanjo,osmosis,daugava,rheumatism,moraes,leucine,etymologies,chepstow,delaunay,bramall,bajaj,flavoring,approximates,marsupials,incisive,microcomputer,tactically,waals,wilno,fisichella,ursus,hindmarsh,mazarin,lomza,xenophobia,lawlessness,annecy,wingers,gornja,gnaeus,superieur,tlaxcala,clasps,symbolises,slats,rightist,effector,blighted,permanence,divan,progenitors,kunsthalle,anointing,excelling,coenzyme,indoctrination,dnipro,landholdings,adriaan,liturgies,cartan,ethmia,attributions,sanctus,trichy,chronicon,tancred,affinis,kampuchea,gantry,pontypool,membered,distrusted,fissile,dairies,hyposmocoma,craigie,adarsh,martinsburg,taxiway,30deg,geraint,vellum,bencher,khatami,formula_53,zemun,teruel,endeavored,palmares,pavements,u.s..,internationalization,satirized,carers,attainable,wraparound,muang,parkersburg,extinctions,birkenfeld,wildstorm,payers,cohabitation,unitas,culloden,capitalizing,clwyd,daoist,campinas,emmylou,orchidaceae,halakha,orientales,fealty,domnall,chiefdom,nigerians,ladislav,dniester,avowed,ergonomics,newsmagazine,kitsch,cantilevered,benchmarking,remarriage,alekhine,coldfield,taupo,almirante,substations,apprenticeships,seljuq,levelling,eponym,symbolising,salyut,opioids,underscore,ethnologue,mohegan,marikina,libro,bassano,parse,semantically,disjointed,dugdale,padraig,tulsi,modulating,xfinity,headlands,mstislav,earthworms,bourchier,lgbtq,embellishments,pennants,rowntree,betel,motet,mulla,catenary,washoe,mordaunt,dorking,colmar,girardeau,glentoran,grammatically,samad,recreations,technion,staccato,mikoyan,spoilers,lyndhurst,victimization,chertsey,belafonte,tondo,tonsberg,narrators,subcultures,malformations,edina,augmenting,attests,euphemia,cabriolet,disguising,1650s,navarrese,demoralized,cardiomyopathy,welwyn,wallachian,smoothness,planktonic,voles,issuers,sardasht,survivability,cuauhtemoc,thetis,extruded,signet,raghavan,lombok,eliyahu,crankcase,dissonant,stolberg,trencin,desktops,bursary,collectivization,charlottenburg,triathlete,curvilinear,involuntarily,mired,wausau,invades,sundaram,deletions,bootstrap,abellio,axiomatic,noguchi,setups,malawian,visalia,materialist,kartuzy,wenzong,plotline,yeshivas,parganas,tunica,citric,conspecific,idlib,superlative,reoccupied,blagoevgrad,masterton,immunological,hatta,courbet,vortices,swallowtail,delves,haridwar,diptera,boneh,bahawalpur,angering,mardin,equipments,deployable,guanine,normality,rimmed,artisanal,boxset,chandrasekhar,jools,chenar,tanakh,carcassonne,belatedly,millville,anorthosis,reintegration,velde,surfactant,kanaan,busoni,glyphipterix,personas,fullness,rheims,tisza,stabilizers,bharathi,joost,spinola,mouldings,perching,esztergom,afzal,apostate,lustre,s.league,motorboat,monotheistic,armature,barat,asistencia,bloomsburg,hippocampal,fictionalised,defaults,broch,hexadecimal,lusignan,ryanair,boccaccio,breisgau,southbank,bskyb,adjoined,neurobiology,aforesaid,sadhu,langue,headship,wozniacki,hangings,regulus,prioritized,dynamism,allier,hannity,shimin,antoninus,gymnopilus,caledon,preponderance,melayu,electrodynamics,syncopated,ibises,krosno,mechanistic,morpeth,harbored,albini,monotheism,'real,hyperactivity,haveli,writer/director,minato,nimoy,caerphilly,chitral,amirabad,fanshawe,l'oreal,lorde,mukti,authoritarianism,valuing,spyware,hanbury,restarting,stato,embed,suiza,empiricism,stabilisation,stari,castlemaine,orbis,manufactory,mauritanian,shoji,taoyuan,prokaryotes,oromia,ambiguities,embodying,slims,frente,innovate,ojibwa,powdery,gaeltacht,argentinos,quatermass,detergents,fijians,adaptor,tokai,chileans,bulgars,oxidoreductases,bezirksliga,conceicao,myosin,nellore,500cc,supercomputers,approximating,glyndwr,polypropylene,haugesund,cockerell,tudman,ashbourne,hindemith,bloodlines,rigveda,etruria,romanos,steyn,oradea,deceleration,manhunter,laryngeal,fraudulently,janez,wendover,haplotype,janaki,naoki,belizean,mellencamp,cartographic,sadhana,tricolour,pseudoscience,satara,bytow,s.p.a.,jagdgeschwader,arcot,omagh,sverdrup,masterplan,surtees,apocrypha,ahvaz,d'amato,socratic,leumit,unnumbered,nandini,witold,marsupial,coalesced,interpolated,gimnasia,karadzic,keratin,mamoru,aldeburgh,speculator,escapement,irfan,kashyap,satyajit,haddington,solver,rothko,ashkelon,kickapoo,yeomen,superbly,bloodiest,greenlandic,lithic,autofocus,yardbirds,poona,keble,javan,sufis,expandable,tumblr,ursuline,swimwear,winwood,counsellors,aberrations,marginalised,befriending,workouts,predestination,varietal,siddhartha,dunkeld,judaic,esquimalt,shabab,ajith,telefonica,stargard,hoysala,radhakrishnan,sinusoidal,strada,hiragana,cebuano,monoid,independencia,floodwaters,mildura,mudflats,ottokar,translit,radix,wigner,philosophically,tephritid,synthesizing,castletown,installs,stirner,resettle,bushfire,choirmaster,kabbalistic,shirazi,lightship,rebus,colonizers,centrifuge,leonean,kristofferson,thymus,clackamas,ratnam,rothesay,municipally,centralia,thurrock,gulfport,bilinear,desirability,merite,psoriasis,macaw,erigeron,consignment,mudstone,distorting,karlheinz,ramen,tailwheel,vitor,reinsurance,edifices,superannuation,dormancy,contagion,cobden,rendezvoused,prokaryotic,deliberative,patricians,feigned,degrades,starlings,sopot,viticultural,beaverton,overflowed,convener,garlands,michiel,ternopil,naturelle,biplanes,bagot,gamespy,ventspils,disembodied,flattening,profesional,londoners,arusha,scapular,forestall,pyridine,ulema,eurodance,aruna,callus,periodontal,coetzee,immobilized,o'meara,maharani,katipunan,reactants,zainab,microgravity,saintes,britpop,carrefour,constrain,adversarial,firebirds,brahmo,kashima,simca,surety,surpluses,superconductivity,gipuzkoa,cumans,tocantins,obtainable,humberside,roosting,'king,formula_54,minelayer,bessel,sulayman,cycled,biomarkers,annealing,shusha,barda,cassation,djing,polemics,tuple,directorates,indomitable,obsolescence,wilhelmine,pembina,bojan,tambo,dioecious,pensioner,magnificat,1660s,estrellas,southeasterly,immunodeficiency,railhead,surreptitiously,codeine,encores,religiosity,tempera,camberley,efendi,boardings,malleable,hagia,input/output,lucasfilm,ujjain,polymorphisms,creationist,berners,mickiewicz,irvington,linkedin,endures,kinect,munition,apologetics,fairlie,predicated,reprinting,ethnographer,variances,levantine,mariinsky,jadid,jarrow,asia/oceania,trinamool,waveforms,bisexuality,preselection,pupae,buckethead,hieroglyph,lyricists,marionette,dunbartonshire,restorer,monarchical,pazar,kickoffs,cabildo,savannas,gliese,dench,spoonbills,novelette,diliman,hypersensitivity,authorising,montefiore,mladen,qu'appelle,theistic,maruti,laterite,conestoga,saare,californica,proboscis,carrickfergus,imprecise,hadassah,baghdadi,jolgeh,deshmukh,amusements,heliopolis,berle,adaptability,partenkirchen,separations,baikonur,cardamom,southeastward,southfield,muzaffar,adequacy,metropolitana,rajkot,kiyoshi,metrobus,evictions,reconciles,librarianship,upsurge,knightley,badakhshan,proliferated,spirituals,burghley,electroacoustic,professing,featurette,reformists,skylab,descriptors,oddity,greyfriars,injects,salmond,lanzhou,dauntless,subgenera,underpowered,transpose,mahinda,gatos,aerobatics,seaworld,blocs,waratahs,joris,giggs,perfusion,koszalin,mieczyslaw,ayyubid,ecologists,modernists,sant'angelo,quicktime,him/her,staves,sanyo,melaka,acrocercops,qigong,iterated,generalizes,recuperation,vihara,circassians,psychical,chavo,memoires,infiltrates,notaries,pelecaniformesfamily,strident,chivalric,pierrepont,alleviating,broadsides,centipede,b.tech,reinterpreted,sudetenland,hussite,covenanters,radhika,ironclads,gainsbourg,testis,penarth,plantar,azadegan,beano,espn.com,leominster,autobiographies,nbcuniversal,eliade,khamenei,montferrat,undistinguished,ethnological,wenlock,fricatives,polymorphic,biome,joule,sheaths,astrophysicist,salve,neoclassicism,lovat,downwind,belisarius,forma,usurpation,freie,depopulation,backbench,ascenso,'high,aagpbl,gdanski,zalman,mouvement,encapsulation,bolshevism,statny,voyageurs,hywel,vizcaya,mazra'eh,narthex,azerbaijanis,cerebrospinal,mauretania,fantail,clearinghouse,bolingbroke,pequeno,ansett,remixing,microtubule,wrens,jawahar,palembang,gambian,hillsong,fingerboard,repurposed,sundry,incipient,veolia,theologically,ulaanbaatar,atsushi,foundling,resistivity,myeloma,factbook,mazowiecka,diacritic,urumqi,clontarf,provokes,intelsat,professes,materialise,portobello,benedictines,panionios,introverted,reacquired,bridport,mammary,kripke,oratorios,vlore,stoning,woredas,unreported,antti,togolese,fanzines,heuristics,conservatories,carburetors,clitheroe,cofounded,formula_57,erupting,quinnipiac,bootle,ghostface,sittings,aspinall,sealift,transferase,boldklub,siskiyou,predominated,francophonie,ferruginous,castrum,neogene,sakya,madama,precipitous,'love,posix,bithynia,uttara,avestan,thrushes,seiji,memorably,septimius,libri,cibernetico,hyperinflation,dissuaded,cuddalore,peculiarity,vaslui,grojec,albumin,thurles,casks,fasteners,fluidity,buble,casals,terek,gnosticism,cognates,ulnar,radwanska,babylonians,majuro,oxidizer,excavators,rhythmically,liffey,gorakhpur,eurydice,underscored,arborea,lumumba,tuber,catholique,grama,galilei,scrope,centreville,jacobin,bequests,ardeche,polygamous,montauban,terai,weatherboard,readability,attainder,acraea,transversely,rivets,winterbottom,reassures,bacteriology,vriesea,chera,andesite,dedications,homogenous,reconquered,bandon,forrestal,ukiyo,gurdjieff,tethys,sparc,muscogee,grebes,belchatow,mansa,blantyre,palliser,sokolow,fibroblasts,exmoor,misaki,soundscapes,housatonic,middelburg,convenor,leyla,antipope,histidine,okeechobee,alkenes,sombre,alkene,rubik,macaques,calabar,trophee,pinchot,'free,frusciante,chemins,falaise,vasteras,gripped,schwarzenberg,cumann,kanchipuram,acoustically,silverbacks,fangio,inset,plympton,kuril,vaccinations,recep,theropods,axils,stavropol,encroached,apoptotic,papandreou,wailers,moonstone,assizes,micrometers,hornchurch,truncation,annapurna,egyptologists,rheumatic,promiscuity,satiric,fleche,caloptilia,anisotropy,quaternions,gruppo,viscounts,awardees,aftershocks,sigint,concordance,oblasts,gaumont,stent,commissars,kesteven,hydroxy,vijayanagar,belorussian,fabricius,watermark,tearfully,mamet,leukaemia,sorkh,milepost,tattooing,vosta,abbasids,uncompleted,hedong,woodwinds,extinguishing,malus,multiplexes,francoist,pathet,responsa,bassists,'most,postsecondary,ossory,grampian,saakashvili,alito,strasberg,impressionistic,volador,gelatinous,vignette,underwing,campanian,abbasabad,albertville,hopefuls,nieuwe,taxiways,reconvened,recumbent,pathologists,unionized,faversham,asymptotically,romulo,culling,donja,constricted,annesley,duomo,enschede,lovech,sharpshooter,lansky,dhamma,papillae,alanine,mowat,delius,wrest,mcluhan,podkarpackie,imitators,bilaspur,stunting,pommel,casemate,handicaps,nagas,testaments,hemings,necessitate,rearward,locative,cilla,klitschko,lindau,merion,consequential,antic,soong,copula,berthing,chevrons,rostral,sympathizer,budokan,ranulf,beria,stilt,replying,conflated,alcibiades,painstaking,yamanashi,calif.,arvid,ctesiphon,xizong,rajas,caxton,downbeat,resurfacing,rudders,miscegenation,deathmatch,foregoing,arthropod,attestation,karts,reapportionment,harnessing,eastlake,schola,dosing,postcolonial,imtiaz,formula_55,insulators,gunung,accumulations,pampas,llewelyn,bahnhof,cytosol,grosjean,teaneck,briarcliff,arsenio,canara,elaborating,passchendaele,searchlights,holywell,mohandas,preventable,gehry,mestizos,ustinov,cliched,'national,heidfeld,tertullian,jihadist,tourer,miletus,semicircle,outclassed,bouillon,cardinalate,clarifies,dakshina,bilayer,pandyan,unrwa,chandragupta,formula_56,portola,sukumaran,lactation,islamia,heikki,couplers,misappropriation,catshark,montt,ploughs,carib,stator,leaderboard,kenrick,dendrites,scape,tillamook,molesworth,mussorgsky,melanesia,restated,troon,glycoside,truckee,headwater,mashup,sectoral,gangwon,docudrama,skirting,psychopathology,dramatised,ostroleka,infestations,thabo,depolarization,wideroe,eisenbahn,thomond,kumaon,upendra,foreland,acronyms,yaqui,retaking,raphaelite,specie,dupage,villars,lucasarts,chloroplast,werribee,balsa,ascribe,havant,flava,khawaja,tyumen,subtract,interrogators,reshaping,buzzcocks,eesti,campanile,potemkin,apertures,snowboarder,registrars,handbooks,boyar,contaminant,depositors,proximate,jeunesse,zagora,pronouncements,mists,nihilism,deified,margraviate,pietersen,moderators,amalfi,adjectival,copepods,magnetosphere,pallets,clemenceau,castra,perforation,granitic,troilus,grzegorz,luthier,dockyards,antofagasta,ffestiniog,subroutine,afterword,waterwheel,druce,nitin,undifferentiated,emacs,readmitted,barneveld,tapers,hittites,infomercials,infirm,braathens,heligoland,carpark,geomagnetic,musculoskeletal,nigerien,machinima,harmonize,repealing,indecency,muskoka,verite,steubenville,suffixed,cytoskeleton,surpasses,harmonia,imereti,ventricles,heterozygous,envisions,otsego,ecoles,warrnambool,burgenland,seria,rawat,capistrano,welby,kirin,enrollments,caricom,dragonlance,schaffhausen,expanses,photojournalism,brienne,etude,referent,jamtland,schemas,xianbei,cleburne,bicester,maritima,shorelines,diagonals,bjelke,nonpublic,aliasing,m.f.a,ovals,maitreya,skirmishing,grothendieck,sukhothai,angiotensin,bridlington,durgapur,contras,gakuen,skagit,rabbinate,tsunamis,haphazard,tyldesley,microcontroller,discourages,hialeah,compressing,septimus,larvik,condoleezza,psilocybin,protectionism,songbirds,clandestinely,selectmen,wargame,cinemascope,khazars,agronomy,melzer,latifah,cherokees,recesses,assemblymen,basescu,banaras,bioavailability,subchannels,adenine,o'kelly,prabhakar,leonese,dimethyl,testimonials,geoffroy,oxidant,universiti,gheorghiu,bohdan,reversals,zamorin,herbivore,jarre,sebastiao,infanterie,dolmen,teddington,radomsko,spaceships,cuzco,recapitulation,mahoning,bainimarama,myelin,aykroyd,decals,tokelau,nalgonda,rajasthani,121st,quelled,tambov,illyrians,homilies,illuminations,hypertrophy,grodzisk,inundation,incapacity,equilibria,combats,elihu,steinitz,berengar,gowda,canwest,khosrau,maculata,houten,kandinsky,onside,leatherhead,heritable,belvidere,federative,chukchi,serling,eruptive,patan,entitlements,suffragette,evolutions,migrates,demobilisation,athleticism,trope,sarpsborg,kensal,translink,squamish,concertgebouw,energon,timestamp,competences,zalgiris,serviceman,codice_7,spoofing,assange,mahadevan,skien,suceava,augustan,revisionism,unconvincing,hollande,drina,gottlob,lippi,broglie,darkening,tilapia,eagerness,nacht,kolmogorov,photometric,leeuwarden,jrotc,haemorrhage,almanack,cavalli,repudiation,galactose,zwickau,cetinje,houbraken,heavyweights,gabonese,ordinals,noticias,museveni,steric,charaxes,amjad,resection,joinville,leczyca,anastasius,purbeck,subtribe,dalles,leadoff,monoamine,jettisoned,kaori,anthologized,alfreton,indic,bayezid,tottori,colonizing,assassinating,unchanging,eusebian,d'estaing,tsingtao,toshio,transferases,peronist,metrology,equus,mirpur,libertarianism,kovil,indole,'green,abstention,quantitatively,icebreakers,tribals,mainstays,dryandra,eyewear,nilgiri,chrysanthemum,inositol,frenetic,merchantman,hesar,physiotherapist,transceiver,dancefloor,rankine,neisse,marginalization,lengthen,unaided,rework,pageantry,savio,striated,funen,witton,illuminates,frass,hydrolases,akali,bistrita,copywriter,firings,handballer,tachinidae,dmytro,coalesce,neretva,menem,moraines,coatbridge,crossrail,spoofed,drosera,ripen,protour,kikuyu,boleslav,edwardes,troubadours,haplogroups,wrasse,educationalist,sroda,khaneh,dagbladet,apennines,neuroscientist,deplored,terje,maccabees,daventry,spaceport,lessening,ducats,singer/guitarist,chambersburg,yeong,configurable,ceremonially,unrelenting,caffe,graaf,denizens,kingsport,ingush,panhard,synthesised,tumulus,homeschooled,bozorg,idiomatic,thanhouser,queensway,radek,hippolytus,inking,banovina,peacocks,piaui,handsworth,pantomimes,abalone,thera,kurzweil,bandura,augustinians,bocelli,ferrol,jiroft,quadrature,contravention,saussure,rectification,agrippina,angelis,matanzas,nidaros,palestrina,latium,coriolis,clostridium,ordain,uttering,lanchester,proteolytic,ayacucho,merseburg,holbein,sambalpur,algebraically,inchon,ostfold,savoia,calatrava,lahiri,judgeship,ammonite,masaryk,meyerbeer,hemorrhagic,superspeedway,ningxia,panicles,encircles,khmelnytsky,profusion,esher,babol,inflationary,anhydride,gaspe,mossy,periodicity,nacion,meteorologists,mahjong,interventional,sarin,moult,enderby,modell,palgrave,warners,montcalm,siddha,functionalism,rilke,politicized,broadmoor,kunste,orden,brasileira,araneta,eroticism,colquhoun,mamba,blacktown,tubercle,seagrass,manoel,camphor,neoregelia,llandudno,annexe,enplanements,kamien,plovers,statisticians,iturbide,madrasah,nontrivial,publican,landholders,manama,uninhabitable,revivalist,trunkline,friendliness,gurudwara,rocketry,unido,tripos,besant,braque,evolutionarily,abkhazian,staffel,ratzinger,brockville,bohemond,intercut,djurgarden,utilitarianism,deploys,sastri,absolutism,subhas,asghar,fictions,sepinwall,proportionately,titleholders,thereon,foursquare,machinegun,knightsbridge,siauliai,aqaba,gearboxes,castaways,weakens,phallic,strzelce,buoyed,ruthenia,pharynx,intractable,neptunes,koine,leakey,netherlandish,preempted,vinay,terracing,instigating,alluvium,prosthetics,vorarlberg,politiques,joinery,reduplication,nebuchadnezzar,lenticular,banka,seaborne,pattinson,helpline,aleph,beckenham,californians,namgyal,franziska,aphid,branagh,transcribe,appropriateness,surakarta,takings,propagates,juraj,b0d3fb,brera,arrayed,tailback,falsehood,hazleton,prosody,egyptology,pinnate,tableware,ratan,camperdown,ethnologist,tabari,classifiers,biogas,126th,kabila,arbitron,apuestas,membranous,kincardine,oceana,glories,natick,populism,synonymy,ghalib,mobiles,motherboards,stationers,germinal,patronised,formula_58,gaborone,torts,jeezy,interleague,novaya,batticaloa,offshoots,wilbraham,filename,nswrfl,'well,trilobite,pythons,optimally,scientologists,rhesus,pilsen,backdrops,batang,unionville,hermanos,shrikes,fareham,outlawing,discontinuing,boisterous,shamokin,scanty,southwestward,exchangers,unexpired,mewar,h.m.s,saldanha,pawan,condorcet,turbidity,donau,indulgences,coincident,cliques,weeklies,bardhaman,violators,kenai,caspase,xperia,kunal,fistula,epistemic,cammell,nephi,disestablishment,rotator,germaniawerft,pyaar,chequered,jigme,perlis,anisotropic,popstars,kapil,appendices,berat,defecting,shacks,wrangel,panchayath,gorna,suckling,aerosols,sponheim,talal,borehole,encodings,enlai,subduing,agong,nadar,kitsap,syrmia,majumdar,pichilemu,charleville,embryology,booting,literati,abutting,basalts,jussi,repubblica,hertogenbosch,digitization,relents,hillfort,wiesenthal,kirche,bhagwan,bactrian,oases,phyla,neutralizing,helsing,ebooks,spearheading,margarine,'golden,phosphor,picea,stimulants,outliers,timescale,gynaecology,integrator,skyrocketed,bridgnorth,senecio,ramachandra,suffragist,arrowheads,aswan,inadvertent,microelectronics,118th,sofer,kubica,melanesian,tuanku,balkh,vyborg,crystallographic,initiators,metamorphism,ginzburg,looters,unimproved,finistere,newburyport,norges,immunities,franchisees,asterism,kortrijk,camorra,komsomol,fleurs,draughts,patagonian,voracious,artin,collaborationist,revolucion,revitalizing,xaver,purifying,antipsychotic,disjunct,pompeius,dreamwave,juvenal,beinn,adiyaman,antitank,allama,boletus,melanogaster,dumitru,caproni,aligns,athabaskan,stobart,phallus,veikkausliiga,hornsey,buffering,bourbons,dobruja,marga,borax,electrics,gangnam,motorcyclist,whidbey,draconian,lodger,galilean,sanctification,imitates,boldness,underboss,wheatland,cantabrian,terceira,maumee,redefining,uppercase,ostroda,characterise,universalism,equalized,syndicalism,haringey,masovia,deleuze,funkadelic,conceals,thuan,minsky,pluralistic,ludendorff,beekeeping,bonfires,endoscopic,abuts,prebend,jonkoping,amami,tribunes,yup'ik,awadh,gasification,pforzheim,reforma,antiwar,vaishnavism,maryville,inextricably,margrethe,empresa,neutrophils,sanctified,ponca,elachistidae,curiae,quartier,mannar,hyperplasia,wimax,busing,neologism,florins,underrepresented,digitised,nieuw,cooch,howards,frege,hughie,plied,swale,kapellmeister,vajpayee,quadrupled,aeronautique,dushanbe,custos,saltillo,kisan,tigray,manaus,epigrams,shamanic,peppered,frosts,promotion/relegation,concedes,zwingli,charentes,whangarei,hyung,spring/summer,sobre,eretz,initialization,sawai,ephemera,grandfathered,arnaldo,customised,permeated,parapets,growths,visegrad,estudios,altamont,provincia,apologises,stoppard,carburettor,rifts,kinematic,zhengzhou,eschatology,prakrit,folate,yvelines,scapula,stupas,rishon,reconfiguration,flutist,1680s,apostolate,proudhon,lakshman,articulating,stortford,faithfull,bitterns,upwelling,qur'anic,lidar,interferometry,waterlogged,koirala,ditton,wavefunction,fazal,babbage,antioxidants,lemberg,deadlocked,tolled,ramapo,mathematica,leiria,topologies,khali,photonic,balti,1080p,corrects,recommenced,polyglot,friezes,tiebreak,copacabana,cholmondeley,armband,abolishment,sheamus,buttes,glycolysis,cataloged,warrenton,sassari,kishan,foodservice,cryptanalysis,holmenkollen,cosplay,machi,yousuf,mangal,allying,fertiliser,otomi,charlevoix,metallurg,parisians,bottlenose,oakleigh,debug,cidade,accede,ligation,madhava,pillboxes,gatefold,aveyron,sorin,thirsk,immemorial,menelik,mehra,domingos,underpinned,fleshed,harshness,diphthong,crestwood,miskolc,dupri,pyrausta,muskingum,tuoba,prodi,incidences,waynesboro,marquesas,heydar,artesian,calinescu,nucleation,funders,covalently,compaction,derbies,seaters,sodor,tabular,amadou,peckinpah,o'halloran,zechariah,libyans,kartik,daihatsu,chandran,erzhu,heresies,superheated,yarder,dorde,tanjore,abusers,xuanwu,juniperus,moesia,trusteeship,birdwatching,beatz,moorcock,harbhajan,sanga,choreographic,photonics,boylston,amalgamate,prawns,electrifying,sarath,inaccurately,exclaims,powerpoint,chaining,cpusa,adulterous,saccharomyces,glogow,vfl/afl,syncretic,simla,persisting,functors,allosteric,euphorbiaceae,juryo,mlada,moana,gabala,thornycroft,kumanovo,ostrovsky,sitio,tutankhamun,sauropods,kardzhali,reinterpretation,sulpice,rosyth,originators,halesowen,delineation,asesoria,abatement,gardai,elytra,taillights,overlays,monsoons,sandpipers,ingmar,henrico,inaccuracy,irwell,arenabowl,elche,pressburg,signalman,interviewees,sinkhole,pendle,ecommerce,cellos,nebria,organometallic,surrealistic,propagandist,interlaken,canandaigua,aerials,coutinho,pascagoula,tonopah,letterkenny,gropius,carbons,hammocks,childe,polities,hosiery,donitz,suppresses,diaghilev,stroudsburg,bagram,pistoia,regenerating,unitarians,takeaway,offstage,vidin,glorification,bakunin,yavapai,lutzow,sabercats,witney,abrogated,gorlitz,validating,dodecahedron,stubbornly,telenor,glaxosmithkline,solapur,undesired,jellicoe,dramatization,four-and-a-half,seawall,waterpark,artaxerxes,vocalization,typographic,byung,sachsenhausen,shepparton,kissimmee,konnan,belsen,dhawan,khurd,mutagenesis,vejle,perrot,estradiol,formula_60,saros,chiloe,misiones,lamprey,terrains,speke,miasto,eigenvectors,haydock,reservist,corticosteroids,savitri,shinawatra,developmentally,yehudi,berates,janissaries,recapturing,rancheria,subplots,gresley,nikkatsu,oryol,cosmas,boavista,formula_59,playfully,subsections,commentated,kathakali,dorid,vilaine,seepage,hylidae,keiji,kazakhs,triphosphate,1620s,supersede,monarchists,falla,miyako,notching,bhumibol,polarizing,secularized,shingled,bronislaw,lockerbie,soleyman,bundesbahn,latakia,redoubts,boult,inwardly,invents,ondrej,minangkabau,newquay,permanente,alhaji,madhav,malini,ellice,bookmaker,mankiewicz,etihad,o'dea,interrogative,mikawa,wallsend,canisius,bluesy,vitruvius,noord,ratifying,mixtec,gujranwala,subprefecture,keelung,goiania,nyssa,shi'ite,semitone,ch'uan,computerised,pertuan,catapults,nepomuk,shruti,millstones,buskerud,acolytes,tredegar,sarum,armia,dell'arte,devises,custodians,upturned,gallaudet,disembarking,thrashed,sagrada,myeon,undeclared,qumran,gaiden,tepco,janesville,showground,condense,chalon,unstaffed,pasay,undemocratic,hauts,viridis,uninjured,escutcheon,gymkhana,petaling,hammam,dislocations,tallaght,rerum,shias,indios,guaranty,simplicial,benares,benediction,tajiri,prolifically,huawei,onerous,grantee,ferencvaros,otranto,carbonates,conceit,digipak,qadri,masterclasses,swamiji,cradock,plunket,helmsman,119th,salutes,tippecanoe,murshidabad,intelligibility,mittal,diversifying,bidar,asansol,crowdsourcing,rovere,karakoram,grindcore,skylights,tulagi,furrows,ligne,stuka,sumer,subgraph,amata,regionalist,bulkeley,teletext,glorify,readied,lexicographer,sabadell,predictability,quilmes,phenylalanine,bandaranaike,pyrmont,marksmen,quisling,viscountess,sociopolitical,afoul,pediments,swazi,martyrology,nullify,panagiotis,superconductors,veldenz,jujuy,l'isle,hematopoietic,shafi,subsea,hattiesburg,jyvaskyla,kebir,myeloid,landmine,derecho,amerindians,birkenau,scriabin,milhaud,mucosal,nikaya,freikorps,theoretician,proconsul,o'hanlon,clerked,bactria,houma,macular,topologically,shrubby,aryeh,ghazali,afferent,magalhaes,moduli,ashtabula,vidarbha,securitate,ludwigsburg,adoor,varun,shuja,khatun,chengde,bushels,lascelles,professionnelle,elfman,rangpur,unpowered,citytv,chojnice,quaternion,stokowski,aschaffenburg,commutes,subramaniam,methylene,satrap,gharb,namesakes,rathore,helier,gestational,heraklion,colliers,giannis,pastureland,evocation,krefeld,mahadeva,churchmen,egret,yilmaz,galeazzo,pudukkottai,artigas,generalitat,mudslides,frescoed,enfeoffed,aphorisms,melilla,montaigne,gauliga,parkdale,mauboy,linings,prema,sapir,xylophone,kushan,rockne,sequoyah,vasyl,rectilinear,vidyasagar,microcosm,san'a,carcinogen,thicknesses,aleut,farcical,moderating,detested,hegemonic,instalments,vauban,verwaltungsgemeinschaft,picayune,razorback,magellanic,moluccas,pankhurst,exportation,waldegrave,sufferer,bayswater,1up.com,rearmament,orangutans,varazdin,b.o.b,elucidate,harlingen,erudition,brankovic,lapis,slipway,urraca,shinde,unwell,elwes,euboea,colwyn,srivijaya,grandstands,hortons,generalleutnant,fluxes,peterhead,gandhian,reals,alauddin,maximized,fairhaven,endow,ciechanow,perforations,darters,panellist,manmade,litigants,exhibitor,tirol,caracalla,conformance,hotelier,stabaek,hearths,borac,frisians,ident,veliko,emulators,schoharie,uzbeks,samarra,prestwick,wadia,universita,tanah,bucculatrix,predominates,genotypes,denounces,roadsides,ganassi,keokuk,philatelist,tomic,ingots,conduits,samplers,abdus,johar,allegories,timaru,wolfpacks,secunda,smeaton,sportivo,inverting,contraindications,whisperer,moradabad,calamities,bakufu,soundscape,smallholders,nadeem,crossroad,xenophobic,zakir,nationalliga,glazes,retroflex,schwyz,moroder,rubra,quraysh,theodoros,endemol,infidels,km/hr,repositioned,portraitist,lluis,answerable,arges,mindedness,coarser,eyewall,teleported,scolds,uppland,vibraphone,ricoh,isenburg,bricklayer,cuttlefish,abstentions,communicable,cephalopod,stockyards,balto,kinston,armbar,bandini,elphaba,maxims,bedouins,sachsen,friedkin,tractate,pamir,ivanovo,mohini,kovalainen,nambiar,melvyn,orthonormal,matsuyama,cuernavaca,veloso,overstated,streamer,dravid,informers,analyte,sympathized,streetscape,gosta,thomasville,grigore,futuna,depleting,whelks,kiedis,armadale,earner,wynyard,dothan,animating,tridentine,sabri,immovable,rivoli,ariege,parley,clinker,circulates,junagadh,fraunhofer,congregants,180th,buducnost,formula_62,olmert,dedekind,karnak,bayernliga,mazes,sandpiper,ecclestone,yuvan,smallmouth,decolonization,lemmy,adjudicated,retiro,legia,benue,posit,acidification,wahab,taconic,floatplane,perchlorate,atria,wisbech,divestment,dallara,phrygia,palustris,cybersecurity,rebates,facie,mineralogical,substituent,proteges,fowey,mayenne,smoothbore,cherwell,schwarzschild,junin,murrumbidgee,smalltalk,d'orsay,emirati,calaveras,titusville,theremin,vikramaditya,wampanoag,burra,plaines,onegin,emboldened,whampoa,langa,soderbergh,arnaz,sowerby,arendal,godunov,pathanamthitta,damselfly,bestowing,eurosport,iconoclasm,outfitters,acquiesced,badawi,hypotension,ebbsfleet,annulus,sohrab,thenceforth,chagatai,necessitates,aulus,oddities,toynbee,uniontown,innervation,populaire,indivisible,rossellini,minuet,cyrene,gyeongju,chania,cichlids,harrods,1690s,plunges,abdullahi,gurkhas,homebuilt,sortable,bangui,rediff,incrementally,demetrios,medaille,sportif,svend,guttenberg,tubules,carthusian,pleiades,torii,hoppus,phenyl,hanno,conyngham,teschen,cronenberg,wordless,melatonin,distinctiveness,autos,freising,xuanzang,dunwich,satanism,sweyn,predrag,contractually,pavlovic,malaysians,micrometres,expertly,pannonian,abstaining,capensis,southwesterly,catchphrases,commercialize,frankivsk,normanton,hibernate,verso,deportees,dubliners,codice_8,condors,zagros,glosses,leadville,conscript,morrisons,usury,ossian,oulton,vaccinium,civet,ayman,codrington,hadron,nanometers,geochemistry,extractor,grigori,tyrrhenian,neocollyris,drooping,falsification,werft,courtauld,brigantine,orhan,chapultepec,supercopa,federalized,praga,havering,encampments,infallibility,sardis,pawar,undirected,reconstructionist,ardrossan,varuna,pastimes,archdiocesan,fledging,shenhua,molise,secondarily,stagnated,replicates,ciencias,duryodhana,marauding,ruislip,ilyich,intermixed,ravenswood,shimazu,mycorrhizal,icosahedral,consents,dunblane,follicular,pekin,suffield,muromachi,kinsale,gauche,businesspeople,thereto,watauga,exaltation,chelmno,gorse,proliferate,drainages,burdwan,kangra,transducers,inductor,duvalier,maguindanao,moslem,uncaf,givenchy,plantarum,liturgics,telegraphs,lukashenko,chenango,andante,novae,ironwood,faubourg,torme,chinensis,ambala,pietermaritzburg,virginians,landform,bottlenecks,o'driscoll,darbhanga,baptistery,ameer,needlework,naperville,auditoriums,mullingar,starrer,animatronic,topsoil,madura,cannock,vernet,santurce,catocala,ozeki,pontevedra,multichannel,sundsvall,strategists,medio,135th,halil,afridi,trelawny,caloric,ghraib,allendale,hameed,ludwigshafen,spurned,pavlo,palmar,strafed,catamarca,aveiro,harmonization,surah,predictors,solvay,mande,omnipresent,parenthesis,echolocation,equaling,experimenters,acyclic,lithographic,sepoys,katarzyna,sridevi,impoundment,khosrow,caesarean,nacogdoches,rockdale,lawmaker,caucasians,bahman,miyan,rubric,exuberance,bombastic,ductile,snowdonia,inlays,pinyon,anemones,hurries,hospitallers,tayyip,pulleys,treme,photovoltaics,testbed,polonium,ryszard,osgoode,profiting,ironwork,unsurpassed,nepticulidae,makai,lumbini,preclassic,clarksburg,egremont,videography,rehabilitating,ponty,sardonic,geotechnical,khurasan,solzhenitsyn,henna,phoenicia,rhyolite,chateaux,retorted,tomar,deflections,repressions,harborough,renan,brumbies,vandross,storia,vodou,clerkenwell,decking,universo,salon.com,imprisoning,sudwest,ghaziabad,subscribing,pisgah,sukhumi,econometric,clearest,pindar,yildirim,iulia,atlases,cements,remaster,dugouts,collapsible,resurrecting,batik,unreliability,thiers,conjunctions,colophon,marcher,placeholder,flagella,wolds,kibaki,viviparous,twelver,screenshots,aroostook,khadr,iconographic,itasca,jaume,basti,propounded,varro,be'er,jeevan,exacted,shrublands,creditable,brocade,boras,bittern,oneonta,attentional,herzliya,comprehensible,lakeville,discards,caxias,frankland,camerata,satoru,matlab,commutator,interprovincial,yorkville,benefices,nizami,edwardsville,amigaos,cannabinoid,indianola,amateurliga,pernicious,ubiquity,anarchic,novelties,precondition,zardari,symington,sargodha,headphone,thermopylae,mashonaland,zindagi,thalberg,loewe,surfactants,dobro,crocodilians,samhita,diatoms,haileybury,berwickshire,supercritical,sofie,snorna,slatina,intramolecular,agung,osteoarthritis,obstetric,teochew,vakhtang,connemara,deformations,diadem,ferruccio,mainichi,qualitatively,refrigerant,rerecorded,methylated,karmapa,krasinski,restatement,rouvas,cubitt,seacoast,schwarzkopf,homonymous,shipowner,thiamine,approachable,xiahou,160th,ecumenism,polistes,internazionali,fouad,berar,biogeography,texting,inadequately,'when,4kids,hymenoptera,emplaced,cognomen,bellefonte,supplant,michaelmas,uriel,tafsir,morazan,schweinfurt,chorister,ps400,nscaa,petipa,resolutely,ouagadougou,mascarene,supercell,konstanz,bagrat,harmonix,bergson,shrimps,resonators,veneta,camas,mynydd,rumford,generalmajor,khayyam,web.com,pappus,halfdan,tanana,suomen,yutaka,bibliographical,traian,silat,noailles,contrapuntal,agaricus,'special,minibuses,1670s,obadiah,deepa,rorschach,malolos,lymington,valuations,imperials,caballeros,ambroise,judicature,elegiac,sedaka,shewa,checksum,gosforth,legionaries,corneille,microregion,friedrichshafen,antonis,surnamed,mycelium,cantus,educations,topmost,outfitting,ivica,nankai,gouda,anthemic,iosif,supercontinent,antifungal,belarusians,mudaliar,mohawks,caversham,glaciated,basemen,stevan,clonmel,loughton,deventer,positivist,manipuri,tensors,panipat,changeup,impermeable,dubbo,elfsborg,maritimo,regimens,bikram,bromeliad,substratum,norodom,gaultier,queanbeyan,pompeo,redacted,eurocopter,mothballed,centaurs,borno,copra,bemidji,'home,sopron,neuquen,passo,cineplex,alexandrov,wysokie,mammoths,yossi,sarcophagi,congreve,petkovic,extraneous,waterbirds,slurs,indias,phaeton,discontented,prefaced,abhay,prescot,interoperable,nordisk,bicyclists,validly,sejong,litovsk,zanesville,kapitanleutnant,kerch,changeable,mcclatchy,celebi,attesting,maccoll,sepahan,wayans,veined,gaudens,markt,dansk,soane,quantized,petersham,forebears,nayarit,frenzied,queuing,bygone,viggo,ludwik,tanka,hanssen,brythonic,cornhill,primorsky,stockpiles,conceptualization,lampeter,hinsdale,mesoderm,bielsk,rosenheim,ultron,joffrey,stanwyck,khagan,tiraspol,pavelic,ascendant,empoli,metatarsal,descentralizado,masada,ligier,huseyin,ramadi,waratah,tampines,ruthenium,statoil,mladost,liger,grecian,multiparty,digraph,maglev,reconsideration,radiography,cartilaginous,taizu,wintered,anabaptist,peterhouse,shoghi,assessors,numerator,paulet,painstakingly,halakhic,rocroi,motorcycling,gimel,kryptonian,emmeline,cheeked,drawdown,lelouch,dacians,brahmana,reminiscence,disinfection,optimizations,golders,extensor,tsugaru,tolling,liman,gulzar,unconvinced,crataegus,oppositional,dvina,pyrolysis,mandan,alexius,prion,stressors,loomed,moated,dhivehi,recyclable,relict,nestlings,sarandon,kosovar,solvers,czeslaw,kenta,maneuverable,middens,berkhamsted,comilla,folkways,loxton,beziers,batumi,petrochemicals,optimised,sirjan,rabindra,musicality,rationalisation,drillers,subspaces,'live,bbwaa,outfielders,tsung,danske,vandalised,norristown,striae,kanata,gastroenterology,steadfastly,equalising,bootlegging,mannerheim,notodontidae,lagoa,commentating,peninsulas,chishti,seismology,modigliani,preceptor,canonically,awardee,boyaca,hsinchu,stiffened,nacelle,bogor,dryness,unobstructed,yaqub,scindia,peeters,irritant,ammonites,ferromagnetic,speechwriter,oxygenated,walesa,millais,canarian,faience,calvinistic,discriminant,rasht,inker,annexes,howth,allocates,conditionally,roused,regionalism,regionalbahn,functionary,nitrates,bicentenary,recreates,saboteurs,koshi,plasmids,thinned,124th,plainview,kardashian,neuville,victorians,radiates,127th,vieques,schoolmates,petru,tokusatsu,keying,sunaina,flamethrower,'bout,demersal,hosokawa,corelli,omniscient,o'doherty,niksic,reflectivity,transdev,cavour,metronome,temporally,gabba,nsaids,geert,mayport,hematite,boeotia,vaudreuil,torshavn,sailplane,mineralogist,eskisehir,practises,gallifrey,takumi,unease,slipstream,hedmark,paulinus,ailsa,wielkopolska,filmworks,adamantly,vinaya,facelifted,franchisee,augustana,toppling,velvety,crispa,stonington,histological,genealogist,tactician,tebow,betjeman,nyingma,overwinter,oberoi,rampal,overwinters,petaluma,lactarius,stanmore,balikpapan,vasant,inclines,laminate,munshi,sociedade,rabbah,septal,boyband,ingrained,faltering,inhumans,nhtsa,affix,l'ordre,kazuki,rossendale,mysims,latvians,slaveholders,basilicata,neuburg,assize,manzanillo,scrobipalpa,formula_61,belgique,pterosaurs,privateering,vaasa,veria,northport,pressurised,hobbyist,austerlitz,sahih,bhadra,siliguri,bistrica,bursaries,wynton,corot,lepidus,lully,libor,libera,olusegun,choline,mannerism,lymphocyte,chagos,duxbury,parasitism,ecowas,morotai,cancion,coniston,aggrieved,sputnikmusic,parle,ammonian,civilisations,malformation,cattaraugus,skyhawks,d'arc,demerara,bronfman,midwinter,piscataway,jogaila,threonine,matins,kohlberg,hubli,pentatonic,camillus,nigam,potro,unchained,chauvel,orangeville,cistercians,redeployment,xanthi,manju,carabinieri,pakeha,nikolaevich,kantakouzenos,sesquicentennial,gunships,symbolised,teramo,ballo,crusading,l'oeil,bharatpur,lazier,gabrovo,hysteresis,rothbard,chaumont,roundel,ma'mun,sudhir,queried,newts,shimane,presynaptic,playfield,taxonomists,sensitivities,freleng,burkinabe,orfeo,autovia,proselytizing,bhangra,pasok,jujutsu,heung,pivoting,hominid,commending,formula_64,epworth,christianized,oresund,hantuchova,rajputana,hilversum,masoretic,dayak,bakri,assen,magog,macromolecules,waheed,qaida,spassky,rumped,protrudes,preminger,misogyny,glencairn,salafi,lacunae,grilles,racemes,areva,alighieri,inari,epitomized,photoshoot,one-of-a-kind,tring,muralist,tincture,backwaters,weaned,yeasts,analytically,smaland,caltrans,vysocina,jamuna,mauthausen,175th,nouvelles,censoring,reggina,christology,gilad,amplifying,mehmood,johnsons,redirects,eastgate,sacrum,meteoric,riverbanks,guidebooks,ascribes,scoparia,iconoclastic,telegraphic,chine,merah,mistico,lectern,sheung,aethelstan,capablanca,anant,uspto,albatrosses,mymensingh,antiretroviral,clonal,coorg,vaillant,liquidator,gigas,yokai,eradicating,motorcyclists,waitakere,tandon,nears,montenegrins,250th,tatsuya,yassin,atheistic,syncretism,nahum,berisha,transcended,owensboro,lakshmana,abteilung,unadorned,nyack,overflows,harrisonburg,complainant,uematsu,frictional,worsens,sangguniang,abutment,bulwer,sarma,apollinaire,shippers,lycia,alentejo,porpoises,optus,trawling,augustow,blackwall,workbench,westmount,leaped,sikandar,conveniences,stornoway,culverts,zoroastrians,hristo,ansgar,assistive,reassert,fanned,compasses,delgada,maisons,arima,plonsk,verlaine,starstruck,rakhine,befell,spirally,wyclef,expend,colloquium,formula_63,albertus,bellarmine,handedness,holon,introns,movimiento,profitably,lohengrin,discoverers,awash,erste,pharisees,dwarka,oghuz,hashing,heterodox,uloom,vladikavkaz,linesman,rehired,nucleophile,germanicus,gulshan,songz,bayerische,paralympian,crumlin,enjoined,khanum,prahran,penitent,amersfoort,saranac,semisimple,vagrants,compositing,tualatin,oxalate,lavra,ironi,ilkeston,umpqua,calum,stretford,zakat,guelders,hydrazine,birkin,spurring,modularity,aspartate,sodermanland,hopital,bellary,legazpi,clasico,cadfael,hypersonic,volleys,pharmacokinetics,carotene,orientale,pausini,bataille,lunga,retailed,m.phil,mazowieckie,vijayan,rawal,sublimation,promissory,estimators,ploughed,conflagration,penda,segregationist,otley,amputee,coauthor,sopra,pellew,wreckers,tollywood,circumscription,permittivity,strabane,landward,articulates,beaverbrook,rutherglen,coterminous,whistleblowers,colloidal,surbiton,atlante,oswiecim,bhasa,lampooned,chanter,saarc,landkreis,tribulation,tolerates,daiichi,hatun,cowries,dyschirius,abercromby,attock,aldwych,inflows,absolutist,l'histoire,committeeman,vanbrugh,headstock,westbourne,appenzell,hoxton,oculus,westfalen,roundabouts,nickelback,trovatore,quenching,summarises,conservators,transmutation,talleyrand,barzani,unwillingly,axonal,'blue,opining,enveloping,fidesz,rafah,colborne,flickr,lozenge,dulcimer,ndebele,swaraj,oxidize,gonville,resonated,gilani,superiore,endeared,janakpur,shepperton,solidifying,memoranda,sochaux,kurnool,rewari,emirs,kooning,bruford,unavailability,kayseri,judicious,negating,pterosaur,cytosolic,chernihiv,variational,sabretooth,seawolves,devalued,nanded,adverb,volunteerism,sealers,nemours,smederevo,kashubian,bartin,animax,vicomte,polotsk,polder,archiepiscopal,acceptability,quidditch,tussock,seminaire,immolation,belge,coves,wellingborough,khaganate,mckellen,nayaka,brega,kabhi,pontoons,bascule,newsreels,injectors,cobol,weblog,diplo,biggar,wheatbelt,erythrocytes,pedra,showgrounds,bogdanovich,eclecticism,toluene,elegies,formalize,andromedae,airworthiness,springville,mainframes,overexpression,magadha,bijelo,emlyn,glutamine,accenture,uhuru,metairie,arabidopsis,patanjali,peruvians,berezovsky,accion,astrolabe,jayanti,earnestly,sausalito,recurved,1500s,ramla,incineration,galleons,laplacian,shiki,smethwick,isomerase,dordevic,janow,jeffersonville,internationalism,penciled,styrene,ashur,nucleoside,peristome,horsemanship,sedges,bachata,medes,kristallnacht,schneerson,reflectance,invalided,strutt,draupadi,destino,partridges,tejas,quadrennial,aurel,halych,ethnomusicology,autonomist,radyo,rifting,shi'ar,crvena,telefilm,zawahiri,plana,sultanates,theodorus,subcontractors,pavle,seneschal,teleports,chernivtsi,buccal,brattleboro,stankovic,safar,dunhuang,electrocution,chastised,ergonomic,midsomer,130th,zomba,nongovernmental,escapist,localize,xuzhou,kyrie,carinthian,karlovac,nisan,kramnik,pilipino,digitisation,khasi,andronicus,highwayman,maior,misspelling,sebastopol,socon,rhaetian,archimandrite,partway,positivity,otaku,dingoes,tarski,geopolitics,disciplinarian,zulfikar,kenzo,globose,electrophilic,modele,storekeeper,pohang,wheldon,washers,interconnecting,digraphs,intrastate,campy,helvetic,frontispiece,ferrocarril,anambra,petraeus,midrib,endometrial,dwarfism,mauryan,endocytosis,brigs,percussionists,furtherance,synergistic,apocynaceae,krona,berthier,circumvented,casal,siltstone,precast,ethnikos,realists,geodesy,zarzuela,greenback,tripathi,persevered,interments,neutralization,olbermann,departements,supercomputing,demobilised,cassavetes,dunder,ministering,veszprem,barbarism,'world,pieve,apologist,frentzen,sulfides,firewalls,pronotum,staatsoper,hachette,makhachkala,oberland,phonon,yoshihiro,instars,purnima,winslet,mutsu,ergative,sajid,nizamuddin,paraphrased,ardeidae,kodagu,monooxygenase,skirmishers,sportiva,o'byrne,mykolaiv,ophir,prieta,gyllenhaal,kantian,leche,copan,herero,ps250,gelsenkirchen,shalit,sammarinese,chetwynd,wftda,travertine,warta,sigmaringen,concerti,namespace,ostergotland,biomarker,universals,collegio,embarcadero,wimborne,fiddlers,likening,ransomed,stifled,unabated,kalakaua,khanty,gongs,goodrem,countermeasure,publicizing,geomorphology,swedenborg,undefended,catastrophes,diverts,storyboards,amesbury,contactless,placentia,festivity,authorise,terrane,thallium,stradivarius,antonine,consortia,estimations,consecrate,supergiant,belichick,pendants,butyl,groza,univac,afire,kavala,studi,teletoon,paucity,gonbad,koninklijke,128th,stoichiometric,multimodal,facundo,anatomic,melamine,creuse,altan,brigands,mcguinty,blomfield,tsvangirai,protrusion,lurgan,warminster,tenzin,russellville,discursive,definable,scotrail,lignin,reincorporated,o'dell,outperform,redland,multicolored,evaporates,dimitrie,limbic,patapsco,interlingua,surrogacy,cutty,potrero,masud,cahiers,jintao,ardashir,centaurus,plagiarized,minehead,musings,statuettes,logarithms,seaview,prohibitively,downforce,rivington,tomorrowland,microbiologist,ferric,morag,capsid,kucinich,clairvaux,demotic,seamanship,cicada,painterly,cromarty,carbonic,tupou,oconee,tehuantepec,typecast,anstruther,internalized,underwriters,tetrahedra,flagrant,quakes,pathologies,ulrik,nahal,tarquini,dongguan,parnassus,ryoko,senussi,seleucia,airasia,einer,sashes,d'amico,matriculating,arabesque,honved,biophysical,hardinge,kherson,mommsen,diels,icbms,reshape,brasiliensis,palmach,netaji,oblate,functionalities,grigor,blacksburg,recoilless,melanchthon,reales,astrodome,handcrafted,memes,theorizes,isma'il,aarti,pirin,maatschappij,stabilizes,honiara,ashbury,copts,rootes,defensed,queiroz,mantegna,galesburg,coraciiformesfamily,cabrillo,tokio,antipsychotics,kanon,173rd,apollonia,finial,lydian,hadamard,rangi,dowlatabad,monolingual,platformer,subclasses,chiranjeevi,mirabeau,newsgroup,idmanyurdu,kambojas,walkover,zamoyski,generalist,khedive,flanges,knowle,bande,157th,alleyn,reaffirm,pininfarina,zuckerberg,hakodate,131st,aditi,bellinzona,vaulter,planking,boscombe,colombians,lysis,toppers,metered,nahyan,queensryche,minho,nagercoil,firebrand,foundress,bycatch,mendota,freeform,antena,capitalisation,martinus,overijssel,purists,interventionist,zgierz,burgundians,hippolyta,trompe,umatilla,moroccans,dictionnaire,hydrography,changers,chota,rimouski,aniline,bylaw,grandnephew,neamt,lemnos,connoisseurs,tractive,rearrangements,fetishism,finnic,apalachicola,landowning,calligraphic,circumpolar,mansfeld,legible,orientalism,tannhauser,blamey,maximization,noinclude,blackbirds,angara,ostersund,pancreatitis,glabra,acleris,juried,jungian,triumphantly,singlet,plasmas,synesthesia,yellowhead,unleashes,choiseul,quanzhong,brookville,kaskaskia,igcse,skatepark,jatin,jewellers,scaritinae,techcrunch,tellurium,lachaise,azuma,codeshare,dimensionality,unidirectional,scolaire,macdill,camshafts,unassisted,verband,kahlo,eliya,prelature,chiefdoms,saddleback,sockers,iommi,coloratura,llangollen,biosciences,harshest,maithili,k'iche,plical,multifunctional,andreu,tuskers,confounding,sambre,quarterdeck,ascetics,berdych,transversal,tuolumne,sagami,petrobras,brecker,menxia,instilling,stipulating,korra,oscillate,deadpan,v/line,pyrotechnic,stoneware,prelims,intracoastal,retraining,ilija,berwyn,encrypt,achievers,zulfiqar,glycoproteins,khatib,farmsteads,occultist,saman,fionn,derulo,khilji,obrenovic,argosy,toowong,dementieva,sociocultural,iconostasis,craigslist,festschrift,taifa,intercalated,tanjong,penticton,sharad,marxian,extrapolation,guises,wettin,prabang,exclaiming,kosta,famas,conakry,wanderings,'aliabad,macleay,exoplanet,bancorp,besiegers,surmounting,checkerboard,rajab,vliet,tarek,operable,wargaming,haldimand,fukuyama,uesugi,aggregations,erbil,brachiopods,tokyu,anglais,unfavorably,ujpest,escorial,armagnac,nagara,funafuti,ridgeline,cocking,o'gorman,compactness,retardant,krajowa,barua,coking,bestows,thampi,chicagoland,variably,o'loughlin,minnows,schwa,shaukat,polycarbonate,chlorinated,godalming,gramercy,delved,banqueting,enlil,sarada,prasanna,domhnall,decadal,regressive,lipoprotein,collectable,surendra,zaporizhia,cycliste,suchet,offsetting,formula_65,pudong,d'arte,blyton,quonset,osmania,tientsin,manorama,proteomics,bille,jalpaiguri,pertwee,barnegat,inventiveness,gollancz,euthanized,henricus,shortfalls,wuxia,chlorides,cerrado,polyvinyl,folktale,straddled,bioengineering,eschewing,greendale,recharged,olave,ceylonese,autocephalous,peacebuilding,wrights,guyed,rosamund,abitibi,bannockburn,gerontology,scutari,souness,seagram,codice_9,'open,xhtml,taguig,purposed,darbar,orthopedics,unpopulated,kisumu,tarrytown,feodor,polyhedral,monadnock,gottorp,priam,redesigning,gasworks,elfin,urquiza,homologation,filipovic,bohun,manningham,gornik,soundness,shorea,lanus,gelder,darke,sandgate,criticality,paranaense,153rd,vieja,lithograph,trapezoid,tiebreakers,convalescence,yan'an,actuaries,balad,altimeter,thermoelectric,trailblazer,previn,tenryu,ancaster,endoscopy,nicolet,discloses,fracking,plaine,salado,americanism,placards,absurdist,propylene,breccia,jirga,documenta,ismailis,161st,brentano,dallas/fort,embellishment,calipers,subscribes,mahavidyalaya,wednesbury,barnstormers,miwok,schembechler,minigame,unterberger,dopaminergic,inacio,nizamabad,overridden,monotype,cavernous,stichting,sassafras,sotho,argentinean,myrrh,rapidity,flatts,gowrie,dejected,kasaragod,cyprinidae,interlinked,arcseconds,degeneracy,infamously,incubate,substructure,trigeminal,sectarianism,marshlands,hooliganism,hurlers,isolationist,urania,burrard,switchover,lecco,wilts,interrogator,strived,ballooning,volterra,raciborz,relegating,gilding,cybele,dolomites,parachutist,lochaber,orators,raeburn,backend,benaud,rallycross,facings,banga,nuclides,defencemen,futurity,emitters,yadkin,eudonia,zambales,manasseh,sirte,meshes,peculiarly,mcminnville,roundly,boban,decrypt,icelanders,sanam,chelan,jovian,grudgingly,penalised,subscript,gambrinus,poaceae,infringements,maleficent,runciman,148th,supersymmetry,granites,liskeard,eliciting,involution,hallstatt,kitzbuhel,shankly,sandhills,inefficiencies,yishuv,psychotropic,nightjars,wavell,sangamon,vaikundar,choshu,retrospectives,pitesti,gigantea,hashemi,bosna,gakuin,siochana,arrangers,baronetcies,narayani,temecula,creston,koscierzyna,autochthonous,wyandot,anniston,igreja,mobilise,buzau,dunster,musselburgh,wenzhou,khattak,detoxification,decarboxylase,manlius,campbells,coleoptera,copyist,sympathisers,suisun,eminescu,defensor,transshipment,thurgau,somerton,fluctuates,ambika,weierstrass,lukow,giambattista,volcanics,romanticized,innovated,matabeleland,scotiabank,garwolin,purine,d'auvergne,borderland,maozhen,pricewaterhousecoopers,testator,pallium,scout.com,mv/pi,nazca,curacies,upjohn,sarasvati,monegasque,ketrzyn,malory,spikelets,biomechanics,haciendas,rapped,dwarfed,stews,nijinsky,subjection,matsu,perceptible,schwarzburg,midsection,entertains,circuitous,epiphytic,wonsan,alpini,bluefield,sloths,transportable,braunfels,dictum,szczecinek,jukka,wielun,wejherowo,hucknall,grameen,duodenum,ribose,deshpande,shahar,nexstar,injurious,dereham,lithographer,dhoni,structuralist,progreso,deschutes,christus,pulteney,quoins,yitzchak,gyeongsang,breviary,makkah,chiyoda,jutting,vineland,angiosperms,necrotic,novelisation,redistribute,tirumala,140th,featureless,mafic,rivaling,toyline,2/1st,martius,saalfeld,monthan,texian,kathak,melodramas,mithila,regierungsbezirk,509th,fermenting,schoolmate,virtuosic,briain,kokoda,heliocentric,handpicked,kilwinning,sonically,dinars,kasim,parkways,bogdanov,luxembourgian,halland,avesta,bardic,daugavpils,excavator,qwest,frustrate,physiographic,majoris,'ndrangheta,unrestrained,firmness,montalban,abundances,preservationists,adare,executioners,guardsman,bonnaroo,neglects,nazrul,pro12,hoorn,abercorn,refuting,kabud,cationic,parapsychology,troposphere,venezuelans,malignancy,khoja,unhindered,accordionist,medak,visby,ejercito,laparoscopic,dinas,umayyads,valmiki,o'dowd,saplings,stranding,incisions,illusionist,avocets,buccleuch,amazonia,fourfold,turboprops,roosts,priscus,turnstile,areal,certifies,pocklington,spoofs,viseu,commonalities,dabrowka,annam,homesteaders,daredevils,mondrian,negotiates,fiestas,perennials,maximizes,lubavitch,ravindra,scrapers,finials,kintyre,violas,snoqualmie,wilders,openbsd,mlawa,peritoneal,devarajan,congke,leszno,mercurial,fakir,joannes,bognor,overloading,unbuilt,gurung,scuttle,temperaments,bautzen,jardim,tradesman,visitations,barbet,sagamore,graaff,forecasters,wilsons,assis,l'air,shariah,sochaczew,russa,dirge,biliary,neuve,heartbreakers,strathearn,jacobian,overgrazing,edrich,anticline,parathyroid,petula,lepanto,decius,channelled,parvathi,puppeteers,communicators,francorchamps,kahane,longus,panjang,intron,traite,xxvii,matsuri,amrit,katyn,disheartened,cacak,omonia,alexandrine,partaking,wrangling,adjuvant,haskovo,tendrils,greensand,lammermoor,otherworld,volusia,stabling,one-and-a-half,bresson,zapatista,eotvos,ps150,webisodes,stepchildren,microarray,braganca,quanta,dolne,superoxide,bellona,delineate,ratha,lindenwood,bruhl,cingulate,tallies,bickerton,helgi,bevin,takoma,tsukuba,statuses,changeling,alister,bytom,dibrugarh,magnesia,duplicating,outlier,abated,goncalo,strelitz,shikai,mardan,musculature,ascomycota,springhill,tumuli,gabaa,odenwald,reformatted,autocracy,theresienstadt,suplex,chattopadhyay,mencken,congratulatory,weatherfield,systema,solemnity,projekt,quanzhou,kreuzberg,postbellum,nobuo,mediaworks,finisterre,matchplay,bangladeshis,kothen,oocyte,hovered,aromas,afshar,browed,teases,chorlton,arshad,cesaro,backbencher,iquique,vulcans,padmini,unabridged,cyclase,despotic,kirilenko,achaean,queensberry,debre,octahedron,iphigenia,curbing,karimnagar,sagarmatha,smelters,surrealists,sanada,shrestha,turridae,leasehold,jiedushi,eurythmics,appropriating,correze,thimphu,amery,musicomh,cyborgs,sandwell,pushcart,retorts,ameliorate,deteriorates,stojanovic,spline,entrenchments,bourse,chancellorship,pasolini,lendl,personage,reformulated,pubescens,loiret,metalurh,reinvention,nonhuman,eilema,tarsal,complutense,magne,broadview,metrodome,outtake,stouffville,seinen,bataillon,phosphoric,ostensible,opatow,aristides,beefheart,glorifying,banten,romsey,seamounts,fushimi,prophylaxis,sibylla,ranjith,goslar,balustrades,georgiev,caird,lafitte,peano,canso,bankura,halfpenny,segregate,caisson,bizerte,jamshedpur,euromaidan,philosophie,ridged,cheerfully,reclassification,aemilius,visionaries,samoans,wokingham,chemung,wolof,unbranched,cinerea,bhosle,ourense,immortalised,cornerstones,sourcebook,khufu,archimedean,universitatea,intermolecular,fiscally,suffices,metacomet,adjudicator,stablemate,specks,glace,inowroclaw,patristic,muharram,agitating,ashot,neurologic,didcot,gamla,ilves,putouts,siraj,laski,coaling,diarmuid,ratnagiri,rotulorum,liquefaction,morbihan,harel,aftershock,gruiformesfamily,bonnier,falconiformesfamily,adorns,wikis,maastrichtian,stauffenberg,bishopsgate,fakhr,sevenfold,ponders,quantifying,castiel,opacity,depredations,lenten,gravitated,o'mahony,modulates,inuktitut,paston,kayfabe,vagus,legalised,balked,arianism,tendering,sivas,birthdate,awlaki,khvajeh,shahab,samtgemeinde,bridgeton,amalgamations,biogenesis,recharging,tsukasa,mythbusters,chamfered,enthronement,freelancers,maharana,constantia,sutil,messines,monkton,okanogan,reinvigorated,apoplexy,tanahashi,neues,valiants,harappan,russes,carding,volkoff,funchal,statehouse,imitative,intrepidity,mellotron,samaras,turkana,besting,longitudes,exarch,diarrhoea,transcending,zvonareva,darna,ramblin,disconnection,137th,refocused,diarmait,agricole,ba'athist,turenne,contrabass,communis,daviess,fatimids,frosinone,fittingly,polyphyletic,qanat,theocratic,preclinical,abacha,toorak,marketplaces,conidia,seiya,contraindicated,retford,bundesautobahn,rebuilds,climatology,seaworthy,starfighter,qamar,categoria,malai,hellinsia,newstead,airworthy,catenin,avonmouth,arrhythmias,ayyavazhi,downgrade,ashburnham,ejector,kinematics,petworth,rspca,filmation,accipitridae,chhatrapati,g/mol,bacau,agama,ringtone,yudhoyono,orchestrator,arbitrators,138th,powerplants,cumbernauld,alderley,misamis,hawai`i,cuando,meistriliiga,jermyn,alans,pedigrees,ottavio,approbation,omnium,purulia,prioress,rheinland,lymphoid,lutsk,oscilloscope,ballina,iliac,motorbikes,modernising,uffizi,phylloxera,kalevala,bengalis,amravati,syntheses,interviewers,inflectional,outflank,maryhill,unhurt,profiler,nacelles,heseltine,personalised,guarda,herpetologist,airpark,pigot,margaretha,dinos,peleliu,breakbeat,kastamonu,shaivism,delamere,kingsville,epigram,khlong,phospholipids,journeying,lietuvos,congregated,deviance,celebes,subsoil,stroma,kvitova,lubricating,layoff,alagoas,olafur,doron,interuniversity,raycom,agonopterix,uzice,nanna,springvale,raimundo,wrested,pupal,talat,skinheads,vestige,unpainted,handan,odawara,ammar,attendee,lapped,myotis,gusty,ciconiiformesfamily,traversal,subfield,vitaphone,prensa,hasidism,inwood,carstairs,kropotkin,turgenev,dobra,remittance,purim,tannin,adige,tabulation,lethality,pacha,micronesian,dhruva,defensemen,tibeto,siculus,radioisotope,sodertalje,phitsanulok,euphonium,oxytocin,overhangs,skinks,fabrica,reinterred,emulates,bioscience,paragliding,raekwon,perigee,plausibility,frolunda,erroll,aznar,vyasa,albinus,trevally,confederacion,terse,sixtieth,1530s,kendriya,skateboarders,frontieres,muawiyah,easements,shehu,conservatively,keystones,kasem,brutalist,peekskill,cowry,orcas,syllabary,paltz,elisabetta,denticles,hampering,dolni,eidos,aarau,lermontov,yankton,shahbaz,barrages,kongsvinger,reestablishment,acetyltransferase,zulia,mrnas,slingsby,eucalypt,efficacious,weybridge,gradation,cinematheque,malthus,bampton,coexisted,cisse,hamdi,cupertino,saumarez,chionodes,libertine,formers,sakharov,pseudonymous,vol.1,mcduck,gopalakrishnan,amberley,jorhat,grandmasters,rudiments,dwindle,param,bukidnon,menander,americanus,multipliers,pulawy,homoerotic,pillbox,cd+dvd,epigraph,aleksandrow,extrapolated,horseshoes,contemporain,angiography,hasselt,shawinigan,memorization,legitimized,cyclades,outsold,rodolphe,kelis,powerball,dijkstra,analyzers,incompressible,sambar,orangeburg,osten,reauthorization,adamawa,sphagnum,hypermarket,millipedes,zoroaster,madea,ossuary,murrayfield,pronominal,gautham,resellers,ethers,quarrelled,dolna,stragglers,asami,tangut,passos,educacion,sharaf,texel,berio,bethpage,bezalel,marfa,noronha,36ers,genteel,avram,shilton,compensates,sweetener,reinstalled,disables,noether,1590s,balakrishnan,kotaro,northallerton,cataclysm,gholam,cancellara,schiphol,commends,longinus,albinism,gemayel,hamamatsu,volos,islamism,sidereal,pecuniary,diggings,townsquare,neosho,lushan,chittoor,akhil,disputation,desiccation,cambodians,thwarting,deliberated,ellipsis,bahini,susumu,separators,kohneh,plebeians,kultur,ogaden,pissarro,trypeta,latur,liaodong,vetting,datong,sohail,alchemists,lengthwise,unevenly,masterly,microcontrollers,occupier,deviating,farringdon,baccalaureat,theocracy,chebyshev,archivists,jayaram,ineffectiveness,scandinavians,jacobins,encomienda,nambu,g/cm3,catesby,paavo,heeded,rhodium,idealised,10deg,infective,mecyclothorax,halevy,sheared,minbari,audax,lusatian,rebuffs,hitfix,fastener,subjugate,tarun,binet,compuserve,synthesiser,keisuke,amalric,ligatures,tadashi,ignazio,abramovich,groundnut,otomo,maeve,mortlake,ostrogoths,antillean,todor,recto,millimetre,espousing,inaugurate,paracetamol,galvanic,harpalinae,jedrzejow,reassessment,langlands,civita,mikan,stikine,bijar,imamate,istana,kaiserliche,erastus,federale,cytosine,expansionism,hommes,norrland,smriti,snapdragon,gulab,taleb,lossy,khattab,urbanised,sesto,rekord,diffuser,desam,morganatic,silting,pacts,extender,beauharnais,purley,bouches,halfpipe,discontinuities,houthi,farmville,animism,horni,saadi,interpretative,blockades,symeon,biogeographic,transcaucasian,jetties,landrieu,astrocytes,conjunto,stumpings,weevils,geysers,redux,arching,romanus,tazeh,marcellinus,casein,opava,misrata,anare,sattar,declarer,dreux,oporto,venta,vallis,icosahedron,cortona,lachine,mohammedan,sandnes,zynga,clarin,diomedes,tsuyoshi,pribram,gulbarga,chartist,superettan,boscawen,altus,subang,gating,epistolary,vizianagaram,ogdensburg,panna,thyssen,tarkovsky,dzogchen,biograph,seremban,unscientific,nightjar,legco,deism,n.w.a,sudha,siskel,sassou,flintlock,jovial,montbeliard,pallida,formula_66,tranquillity,nisei,adornment,'people,yamhill,hockeyallsvenskan,adopters,appian,lowicz,haplotypes,succinctly,starogard,presidencies,kheyrabad,sobibor,kinesiology,cowichan,militum,cromwellian,leiningen,ps1.5,concourses,dalarna,goldfield,brzeg,faeces,aquarii,matchless,harvesters,181st,numismatics,korfball,sectioned,transpires,facultative,brandishing,kieron,forages,menai,glutinous,debarge,heathfield,1580s,malang,photoelectric,froome,semiotic,alwar,grammophon,chiaroscuro,mentalist,maramures,flacco,liquors,aleutians,marvell,sutlej,patnaik,qassam,flintoff,bayfield,haeckel,sueno,avicii,exoplanets,hoshi,annibale,vojislav,honeycombs,celebrant,rendsburg,veblen,quails,141st,carronades,savar,narrations,jeeva,ontologies,hedonistic,marinette,godot,munna,bessarabian,outrigger,thame,gravels,hoshino,falsifying,stereochemistry,nacionalista,medially,radula,ejecting,conservatorio,odile,ceiba,jaina,essonne,isometry,allophones,recidivism,iveco,ganda,grammarians,jagan,signposted,uncompressed,facilitators,constancy,ditko,propulsive,impaling,interbank,botolph,amlaib,intergroup,sorbus,cheka,debye,praca,adorning,presbyteries,dormition,strategos,qarase,pentecostals,beehives,hashemite,goldust,euronext,egress,arpanet,soames,jurchens,slovenska,copse,kazim,appraisals,marischal,mineola,sharada,caricaturist,sturluson,galba,faizabad,overwintering,grete,uyezds,didsbury,libreville,ablett,microstructure,anadolu,belenenses,elocution,cloaks,timeslots,halden,rashidun,displaces,sympatric,germanus,tuples,ceska,equalize,disassembly,krautrock,babangida,memel,deild,gopala,hematology,underclass,sangli,wawrinka,assur,toshack,refrains,nicotinic,bhagalpur,badami,racetracks,pocatello,walgreens,nazarbayev,occultation,spinnaker,geneon,josias,hydrolyzed,dzong,corregimiento,waistcoat,thermoplastic,soldered,anticancer,lactobacillus,shafi'i,carabus,adjournment,schlumberger,triceratops,despotate,mendicant,krishnamurti,bahasa,earthworm,lavoisier,noetherian,kalki,fervently,bhawan,saanich,coquille,gannet,motagua,kennels,mineralization,fitzherbert,svein,bifurcated,hairdressing,felis,abounded,dimers,fervour,hebdo,bluffton,aetna,corydon,clevedon,carneiro,subjectively,deutz,gastropoda,overshot,concatenation,varman,carolla,maharshi,mujib,inelastic,riverhead,initialized,safavids,rohini,caguas,bulges,fotbollforbund,hefei,spithead,westville,maronites,lytham,americo,gediminas,stephanus,chalcolithic,hijra,gnu/linux,predilection,rulership,sterility,haidar,scarlatti,saprissa,sviatoslav,pointedly,sunroof,guarantor,thevar,airstrips,pultusk,sture,129th,divinities,daizong,dolichoderus,cobourg,maoists,swordsmanship,uprated,bohme,tashi,largs,chandi,bluebeard,householders,richardsonian,drepanidae,antigonish,elbasan,occultism,marca,hypergeometric,oirat,stiglitz,ignites,dzungar,miquelon,pritam,d'automne,ulidiid,niamey,vallecano,fondo,billiton,incumbencies,raceme,chambery,cadell,barenaked,kagame,summerside,haussmann,hatshepsut,apothecaries,criollo,feint,nasals,timurid,feltham,plotinus,oxygenation,marginata,officinalis,salat,participations,ising,downe,izumo,unguided,pretence,coursed,haruna,viscountcy,mainstage,justicia,powiat,takara,capitoline,implacable,farben,stopford,cosmopterix,tuberous,kronecker,galatians,kweli,dogmas,exhorted,trebinje,skanda,newlyn,ablative,basidia,bhiwani,encroachments,stranglers,regrouping,tubal,shoestring,wawel,anionic,mesenchymal,creationists,pyrophosphate,moshi,despotism,powerbook,fatehpur,rupiah,segre,ternate,jessore,b.i.g,shevardnadze,abounds,gliwice,densest,memoria,suborbital,vietcong,ratepayers,karunanidhi,toolbar,descents,rhymney,exhortation,zahedan,carcinomas,hyperbaric,botvinnik,billets,neuropsychological,tigranes,hoards,chater,biennially,thistles,scotus,wataru,flotillas,hungama,monopolistic,payouts,vetch,generalissimo,caries,naumburg,piran,blizzards,escalates,reactant,shinya,theorize,rizzoli,transitway,ecclesiae,streptomyces,cantal,nisibis,superconductor,unworkable,thallus,roehampton,scheckter,viceroys,makuuchi,ilkley,superseding,takuya,klodzko,borbon,raspberries,operand,w.a.k.o,sarabande,factionalism,egalitarianism,temasek,torbat,unscripted,jorma,westerner,perfective,vrije,underlain,goldfrapp,blaenau,jomon,barthes,drivetime,bassa,bannock,umaga,fengxiang,zulus,sreenivasan,farces,codice_10,freeholder,poddebice,imperialists,deregulated,wingtip,o'hagan,pillared,overtone,hofstadter,149th,kitano,saybrook,standardizing,aldgate,staveley,o'flaherty,hundredths,steerable,soltan,empted,cruyff,intramuros,taluks,cotonou,marae,karur,figueres,barwon,lucullus,niobe,zemlya,lathes,homeported,chaux,amyotrophic,opines,exemplars,bhamo,homomorphisms,gauleiter,ladin,mafiosi,airdrieonians,b/soul,decal,transcaucasia,solti,defecation,deaconess,numidia,sampradaya,normalised,wingless,schwaben,alnus,cinerama,yakutsk,ketchikan,orvieto,unearned,monferrato,rotem,aacsb,loong,decoders,skerries,cardiothoracic,repositioning,pimpernel,yohannan,tenebrionoidea,nargis,nouvel,costliest,interdenominational,noize,redirecting,zither,morcha,radiometric,frequenting,irtysh,gbagbo,chakri,litvinenko,infotainment,ravensbruck,harith,corbels,maegashira,jousting,natan,novus,falcao,minis,railed,decile,rauma,ramaswamy,cavitation,paranaque,berchtesgaden,reanimated,schomberg,polysaccharides,exclusionary,cleon,anurag,ravaging,dhanush,mitchells,granule,contemptuous,keisei,rolleston,atlantean,yorkist,daraa,wapping,micrometer,keeneland,comparably,baranja,oranje,schlafli,yogic,dinajpur,unimpressive,masashi,recreativo,alemannic,petersfield,naoko,vasudeva,autosport,rajat,marella,busko,wethersfield,ssris,soulcalibur,kobani,wildland,rookery,hoffenheim,kauri,aliphatic,balaclava,ferrite,publicise,victorias,theism,quimper,chapbook,functionalist,roadbed,ulyanovsk,cupen,purpurea,calthorpe,teofilo,mousavi,cochlea,linotype,detmold,ellerslie,gakkai,telkom,southsea,subcontractor,inguinal,philatelists,zeebrugge,piave,trochidae,dempo,spoilt,saharanpur,mihrab,parasympathetic,barbarous,chartering,antiqua,katsina,bugis,categorizes,altstadt,kandyan,pambansa,overpasses,miters,assimilating,finlandia,uneconomic,am/fm,harpsichordist,dresdner,luminescence,authentically,overpowers,magmatic,cliftonville,oilfields,skirted,berthe,cuman,oakham,frelimo,glockenspiel,confection,saxophonists,piaseczno,multilevel,antipater,levying,maltreatment,velho,opoczno,harburg,pedophilia,unfunded,palettes,plasterwork,breve,dharmendra,auchinleck,nonesuch,blackmun,libretti,rabbani,145th,hasselbeck,kinnock,malate,vanden,cloverdale,ashgabat,nares,radians,steelworkers,sabor,possums,catterick,hemispheric,ostra,outpaced,dungeness,almshouse,penryn,texians,1000m,franchitti,incumbency,texcoco,newar,tramcars,toroidal,meitetsu,spellbound,agronomist,vinifera,riata,bunko,pinas,ba'al,github,vasilyevich,obsolescent,geodesics,ancestries,tujue,capitalised,unassigned,throng,unpaired,psychometric,skegness,exothermic,buffered,kristiansund,tongued,berenger,basho,alitalia,prolongation,archaeologically,fractionation,cyprinid,echinoderms,agriculturally,justiciar,sonam,ilium,baits,danceable,grazer,ardahan,grassed,preemption,glassworks,hasina,ugric,umbra,wahhabi,vannes,tinnitus,capitaine,tikrit,lisieux,scree,hormuz,despenser,jagiellon,maisonneuve,gandaki,santarem,basilicas,lancing,landskrona,weilburg,fireside,elysian,isleworth,krishnamurthy,filton,cynon,tecmo,subcostal,scalars,triglycerides,hyperplane,farmingdale,unione,meydan,pilings,mercosur,reactivate,akiba,fecundity,jatra,natsume,zarqawi,preta,masao,presbyter,oakenfold,rhodri,ferran,ruizong,cloyne,nelvana,epiphanius,borde,scutes,strictures,troughton,whitestone,sholom,toyah,shingon,kutuzov,abelard,passant,lipno,cafeterias,residuals,anabaptists,paratransit,criollos,pleven,radiata,destabilizing,hadiths,bazaars,mannose,taiyo,crookes,welbeck,baoding,archelaus,nguesso,alberni,wingtips,herts,viasat,lankans,evreux,wigram,fassbinder,ryuichi,storting,reducible,olesnica,znojmo,hyannis,theophanes,flatiron,mustering,rajahmundry,kadir,wayang,prome,lethargy,zubin,illegality,conall,dramedy,beerbohm,hipparchus,ziarat,ryuji,shugo,glenorchy,microarchitecture,morne,lewinsky,cauvery,battenberg,hyksos,wayanad,hamilcar,buhari,brazo,bratianu,solms,aksaray,elamite,chilcotin,bloodstock,sagara,dolny,reunified,umlaut,proteaceae,camborne,calabrian,dhanbad,vaxjo,cookware,potez,rediffusion,semitones,lamentations,allgau,guernica,suntory,pleated,stationing,urgell,gannets,bertelsmann,entryway,raphitomidae,acetaldehyde,nephrology,categorizing,beiyang,permeate,tourney,geosciences,khana,masayuki,crucis,universitaria,slaskie,khaimah,finno,advani,astonishingly,tubulin,vampiric,jeolla,sociale,cleethorpes,badri,muridae,suzong,debater,decimation,kenyans,mutualism,pontifex,middlemen,insee,halevi,lamentation,psychopathy,brassey,wenders,kavya,parabellum,prolactin,inescapable,apses,malignancies,rinzai,stigmatized,menahem,comox,ateliers,welshpool,setif,centimetre,truthfulness,downfield,drusus,woden,glycosylation,emanated,agulhas,dalkeith,jazira,nucky,unifil,jobim,operon,oryzomys,heroically,seances,supernumerary,backhouse,hashanah,tatler,imago,invert,hayato,clockmaker,kingsmill,swiecie,analogously,golconda,poste,tacitly,decentralised,ge'ez,diplomatically,fossiliferous,linseed,mahavira,pedestals,archpriest,byelection,domiciled,jeffersonian,bombus,winegrowing,waukegan,uncultivated,haverfordwest,saumur,communally,disbursed,cleeve,zeljeznicar,speciosa,vacationers,sigur,vaishali,zlatko,iftikhar,cropland,transkei,incompleteness,bohra,subantarctic,slieve,physiologic,similis,klerk,replanted,'right,chafee,reproducible,bayburt,regicide,muzaffarpur,plurals,hanyu,orthologs,diouf,assailed,kamui,tarik,dodecanese,gorne,on/off,179th,shimoga,granaries,carlists,valar,tripolitania,sherds,simmern,dissociated,isambard,polytechnical,yuvraj,brabazon,antisense,pubmed,glans,minutely,masaaki,raghavendra,savoury,podcasting,tachi,bienville,gongsun,ridgely,deform,yuichi,binders,canna,carcetti,llobregat,implored,berri,njegos,intermingled,offload,athenry,motherhouse,corpora,kakinada,dannebrog,imperio,prefaces,musicologists,aerospatiale,shirai,nagapattinam,servius,cristoforo,pomfret,reviled,entebbe,stane,east/west,thermometers,matriarchal,siglo,bodil,legionnaire,ze'ev,theorizing,sangeetha,horticulturist,uncountable,lookalike,anoxic,ionospheric,genealogists,chicopee,imprinting,popish,crematoria,diamondback,cyathea,hanzhong,cameramen,halogaland,naklo,waclaw,storehouses,flexed,comuni,frits,glauca,nilgiris,compresses,nainital,continuations,albay,hypoxic,samajwadi,dunkerque,nanticoke,sarwar,interchanged,jubal,corba,jalgaon,derleth,deathstroke,magny,vinnytsia,hyphenated,rimfire,sawan,boehner,disrepute,normalize,aromanian,dualistic,approximant,chama,karimabad,barnacles,sanok,stipends,dyfed,rijksmuseum,reverberation,suncorp,fungicides,reverie,spectrograph,stereophonic,niazi,ordos,alcan,karaite,lautrec,tableland,lamellar,rieti,langmuir,russula,webern,tweaks,hawick,southerner,morphy,naturalisation,enantiomer,michinoku,barbettes,relieves,carburettors,redruth,oblates,vocabularies,mogilev,bagmati,galium,reasserted,extolled,symon,eurosceptic,inflections,tirtha,recompense,oruro,roping,gouverneur,pared,yayoi,watermills,retooled,leukocytes,jubilant,mazhar,nicolau,manheim,touraine,bedser,hambledon,kohat,powerhouses,tlemcen,reuven,sympathetically,afrikaners,interes,handcrafts,etcher,baddeley,wodonga,amaury,155th,vulgarity,pompadour,automorphisms,1540s,oppositions,prekmurje,deryni,fortifying,arcuate,mahila,bocage,uther,nozze,slashes,atlantica,hadid,rhizomatous,azeris,'with,osmena,lewisville,innervated,bandmaster,outcropping,parallelogram,dominicana,twang,ingushetia,extensional,ladino,sastry,zinoviev,relatable,nobilis,cbeebies,hitless,eulima,sporangia,synge,longlisted,criminalized,penitential,weyden,tubule,volyn,priestesses,glenbrook,kibbutzim,windshaft,canadair,falange,zsolt,bonheur,meine,archangels,safeguarded,jamaicans,malarial,teasers,badging,merseyrail,operands,pulsars,gauchos,biotin,bambara,necaxa,egmond,tillage,coppi,anxiolytic,preah,mausoleums,plautus,feroz,debunked,187th,belediyespor,mujibur,wantage,carboxyl,chettiar,murnau,vagueness,racemic,backstretch,courtland,municipio,palpatine,dezful,hyperbola,sreekumar,chalons,altay,arapahoe,tudors,sapieha,quilon,burdensome,kanya,xxviii,recension,generis,siphuncle,repressor,bitrate,mandals,midhurst,dioxin,democratique,upholds,rodez,cinematographic,epoque,jinping,rabelais,zhytomyr,glenview,rebooted,khalidi,reticulata,122nd,monnaie,passersby,ghazals,europaea,lippmann,earthbound,tadic,andorran,artvin,angelicum,banksy,epicentre,resemblances,shuttled,rathaus,bernt,stonemasons,balochi,siang,tynemouth,cygni,biosynthetic,precipitates,sharecroppers,d'annunzio,softbank,shiji,apeldoorn,polycyclic,wenceslas,wuchang,samnites,tamarack,silmarillion,madinah,palaeontology,kirchberg,sculpin,rohtak,aquabats,oviparous,thynne,caney,blimps,minimalistic,whatcom,palatalization,bardstown,direct3d,paramagnetic,kamboja,khash,globemaster,lengua,matej,chernigov,swanage,arsenals,cascadia,cundinamarca,tusculum,leavers,organics,warplanes,'three,exertions,arminius,gandharva,inquires,comercio,kuopio,chabahar,plotlines,mersenne,anquetil,paralytic,buckminster,ambit,acrolophus,quantifiers,clacton,ciliary,ansaldo,fergana,egoism,thracians,chicoutimi,northbrook,analgesia,brotherhoods,hunza,adriaen,fluoridation,snowfalls,soundboard,fangoria,cannibalistic,orthogonius,chukotka,dindigul,manzoni,chainz,macromedia,beltline,muruga,schistura,provable,litex,initio,pneumoniae,infosys,cerium,boonton,cannonballs,d'une,solvency,mandurah,houthis,dolmens,apologists,radioisotopes,blaxploitation,poroshenko,stawell,coosa,maximilien,tempelhof,espouse,declaratory,hambro,xalapa,outmoded,mihiel,benefitting,desirous,archeparchy,repopulated,telescoping,captor,mackaye,disparaged,ramanathan,crowne,tumbled,technetium,silted,chedi,nievre,hyeon,cartoonish,interlock,infocom,rediff.com,dioramas,timekeeping,concertina,kutaisi,cesky,lubomirski,unapologetic,epigraphic,stalactites,sneha,biofilm,falconry,miraflores,catena,'outstanding,prospekt,apotheosis,o'odham,pacemakers,arabica,gandhinagar,reminisces,iroquoian,ornette,tilling,neoliberalism,chameleons,pandava,prefontaine,haiyan,gneisenau,utama,bando,reconstitution,azaria,canola,paratroops,ayckbourn,manistee,stourton,manifestos,lympne,denouement,tractatus,rakim,bellflower,nanometer,sassanids,turlough,presbyterianism,varmland,20deg,phool,nyerere,almohad,manipal,vlaanderen,quickness,removals,makow,circumflex,eatery,morane,fondazione,alkylation,unenforceable,galliano,silkworm,junior/senior,abducts,phlox,konskie,lofoten,buuren,glyphosate,faired,naturae,cobbles,taher,skrulls,dostoevsky,walkout,wagnerian,orbited,methodically,denzil,sarat,extraterritorial,kohima,d'armor,brinsley,rostropovich,fengtian,comitatus,aravind,moche,wrangell,giscard,vantaa,viljandi,hakoah,seabees,muscatine,ballade,camanachd,sothern,mullioned,durad,margraves,maven,arete,chandni,garifuna,142nd,reading/literature,thickest,intensifies,trygve,khaldun,perinatal,asana,powerline,acetylation,nureyev,omiya,montesquieu,riverwalk,marly,correlating,intermountain,bulgar,hammerheads,underscores,wiretapping,quatrain,ruisseau,newsagent,tuticorin,polygyny,hemsworth,partisanship,banna,istrian,evaporator".split(","),female_names:"mary,patricia,linda,barbara,elizabeth,jennifer,maria,susan,margaret,dorothy,lisa,nancy,karen,betty,helen,sandra,donna,carol,ruth,sharon,michelle,laura,sarah,kimberly,deborah,jessica,shirley,cynthia,angela,melissa,brenda,amy,anna,rebecca,virginia,kathleen,pamela,martha,debra,amanda,stephanie,carolyn,christine,marie,janet,catherine,frances,ann,joyce,diane,alice,julie,heather,teresa,doris,gloria,evelyn,jean,cheryl,mildred,katherine,joan,ashley,judith,rose,janice,kelly,nicole,judy,christina,kathy,theresa,beverly,denise,tammy,irene,jane,lori,rachel,marilyn,andrea,kathryn,louise,sara,anne,jacqueline,wanda,bonnie,julia,ruby,lois,tina,phyllis,norma,paula,diana,annie,lillian,emily,robin,peggy,crystal,gladys,rita,dawn,connie,florence,tracy,edna,tiffany,carmen,rosa,cindy,grace,wendy,victoria,edith,kim,sherry,sylvia,josephine,thelma,shannon,sheila,ethel,ellen,elaine,marjorie,carrie,charlotte,monica,esther,pauline,emma,juanita,anita,rhonda,hazel,amber,eva,debbie,april,leslie,clara,lucille,jamie,joanne,eleanor,valerie,danielle,megan,alicia,suzanne,michele,gail,bertha,darlene,veronica,jill,erin,geraldine,lauren,cathy,joann,lorraine,lynn,sally,regina,erica,beatrice,dolores,bernice,audrey,yvonne,annette,marion,dana,stacy,ana,renee,ida,vivian,roberta,holly,brittany,melanie,loretta,yolanda,jeanette,laurie,katie,kristen,vanessa,alma,sue,elsie,beth,jeanne,vicki,carla,tara,rosemary,eileen,terri,gertrude,lucy,tonya,ella,stacey,wilma,gina,kristin,jessie,natalie,agnes,vera,charlene,bessie,delores,melinda,pearl,arlene,maureen,colleen,allison,tamara,joy,georgia,constance,lillie,claudia,jackie,marcia,tanya,nellie,minnie,marlene,heidi,glenda,lydia,viola,courtney,marian,stella,caroline,dora,vickie,mattie,maxine,irma,mabel,marsha,myrtle,lena,christy,deanna,patsy,hilda,gwendolyn,jennie,nora,margie,nina,cassandra,leah,penny,kay,priscilla,naomi,carole,olga,billie,dianne,tracey,leona,jenny,felicia,sonia,miriam,velma,becky,bobbie,violet,kristina,toni,misty,mae,shelly,daisy,ramona,sherri,erika,katrina,claire,lindsey,lindsay,geneva,guadalupe,belinda,margarita,sheryl,cora,faye,ada,sabrina,isabel,marguerite,hattie,harriet,molly,cecilia,kristi,brandi,blanche,sandy,rosie,joanna,iris,eunice,angie,inez,lynda,madeline,amelia,alberta,genevieve,monique,jodi,janie,kayla,sonya,jan,kristine,candace,fannie,maryann,opal,alison,yvette,melody,luz,susie,olivia,flora,shelley,kristy,mamie,lula,lola,verna,beulah,antoinette,candice,juana,jeannette,pam,kelli,whitney,bridget,karla,celia,latoya,patty,shelia,gayle,della,vicky,lynne,sheri,marianne,kara,jacquelyn,erma,blanca,myra,leticia,pat,krista,roxanne,angelica,robyn,adrienne,rosalie,alexandra,brooke,bethany,sadie,bernadette,traci,jody,kendra,nichole,rachael,mable,ernestine,muriel,marcella,elena,krystal,angelina,nadine,kari,estelle,dianna,paulette,lora,mona,doreen,rosemarie,desiree,antonia,janis,betsy,christie,freda,meredith,lynette,teri,cristina,eula,leigh,meghan,sophia,eloise,rochelle,gretchen,cecelia,raquel,henrietta,alyssa,jana,gwen,jenna,tricia,laverne,olive,tasha,silvia,elvira,delia,kate,patti,lorena,kellie,sonja,lila,lana,darla,mindy,essie,mandy,lorene,elsa,josefina,jeannie,miranda,dixie,lucia,marta,faith,lela,johanna,shari,camille,tami,shawna,elisa,ebony,melba,ora,nettie,tabitha,ollie,winifred,kristie,alisha,aimee,rena,myrna,marla,tammie,latasha,bonita,patrice,ronda,sherrie,addie,francine,deloris,stacie,adriana,cheri,abigail,celeste,jewel,cara,adele,rebekah,lucinda,dorthy,effie,trina,reba,sallie,aurora,lenora,etta,lottie,kerri,trisha,nikki,estella,francisca,josie,tracie,marissa,karin,brittney,janelle,lourdes,laurel,helene,fern,elva,corinne,kelsey,ina,bettie,elisabeth,aida,caitlin,ingrid,iva,eugenia,christa,goldie,maude,jenifer,therese,dena,lorna,janette,latonya,candy,consuelo,tamika,rosetta,debora,cherie,polly,dina,jewell,fay,jillian,dorothea,nell,trudy,esperanza,patrica,kimberley,shanna,helena,cleo,stefanie,rosario,ola,janine,mollie,lupe,alisa,lou,maribel,susanne,bette,susana,elise,cecile,isabelle,lesley,jocelyn,paige,joni,rachelle,leola,daphne,alta,ester,petra,graciela,imogene,jolene,keisha,lacey,glenna,gabriela,keri,ursula,lizzie,kirsten,shana,adeline,mayra,jayne,jaclyn,gracie,sondra,carmela,marisa,rosalind,charity,tonia,beatriz,marisol,clarice,jeanine,sheena,angeline,frieda,lily,shauna,millie,claudette,cathleen,angelia,gabrielle,autumn,katharine,jodie,staci,lea,christi,justine,elma,luella,margret,dominique,socorro,martina,margo,mavis,callie,bobbi,maritza,lucile,leanne,jeannine,deana,aileen,lorie,ladonna,willa,manuela,gale,selma,dolly,sybil,abby,ivy,dee,winnie,marcy,luisa,jeri,magdalena,ofelia,meagan,audra,matilda,leila,cornelia,bianca,simone,bettye,randi,virgie,latisha,barbra,georgina,eliza,leann,bridgette,rhoda,haley,adela,nola,bernadine,flossie,ila,greta,ruthie,nelda,minerva,lilly,terrie,letha,hilary,estela,valarie,brianna,rosalyn,earline,catalina,ava,mia,clarissa,lidia,corrine,alexandria,concepcion,tia,sharron,rae,dona,ericka,jami,elnora,chandra,lenore,neva,marylou,melisa,tabatha,serena,avis,allie,sofia,jeanie,odessa,nannie,harriett,loraine,penelope,milagros,emilia,benita,allyson,ashlee,tania,esmeralda,eve,pearlie,zelma,malinda,noreen,tameka,saundra,hillary,amie,althea,rosalinda,lilia,alana,clare,alejandra,elinor,lorrie,jerri,darcy,earnestine,carmella,noemi,marcie,liza,annabelle,louisa,earlene,mallory,carlene,nita,selena,tanisha,katy,julianne,lakisha,edwina,maricela,margery,kenya,dollie,roxie,roslyn,kathrine,nanette,charmaine,lavonne,ilene,tammi,suzette,corine,kaye,chrystal,lina,deanne,lilian,juliana,aline,luann,kasey,maryanne,evangeline,colette,melva,lawanda,yesenia,nadia,madge,kathie,ophelia,valeria,nona,mitzi,mari,georgette,claudine,fran,alissa,roseann,lakeisha,susanna,reva,deidre,chasity,sheree,elvia,alyce,deirdre,gena,briana,araceli,katelyn,rosanne,wendi,tessa,berta,marva,imelda,marietta,marci,leonor,arline,sasha,madelyn,janna,juliette,deena,aurelia,josefa,augusta,liliana,lessie,amalia,savannah,anastasia,vilma,natalia,rosella,lynnette,corina,alfreda,leanna,amparo,coleen,tamra,aisha,wilda,karyn,maura,mai,evangelina,rosanna,hallie,erna,enid,mariana,lacy,juliet,jacklyn,freida,madeleine,mara,cathryn,lelia,casandra,bridgett,angelita,jannie,dionne,annmarie,katina,beryl,millicent,katheryn,diann,carissa,maryellen,liz,lauri,helga,gilda,rhea,marquita,hollie,tisha,tamera,angelique,francesca,kaitlin,lolita,florine,rowena,reyna,twila,fanny,janell,ines,concetta,bertie,alba,brigitte,alyson,vonda,pansy,elba,noelle,letitia,deann,brandie,louella,leta,felecia,sharlene,lesa,beverley,isabella,herminia,terra,celina,tori,octavia,jade,denice,germaine,michell,cortney,nelly,doretha,deidra,monika,lashonda,judi,chelsey,antionette,margot,adelaide,leeann,elisha,dessie,libby,kathi,gayla,latanya,mina,mellisa,kimberlee,jasmin,renae,zelda,elda,justina,gussie,emilie,camilla,abbie,rocio,kaitlyn,edythe,ashleigh,selina,lakesha,geri,allene,pamala,michaela,dayna,caryn,rosalia,jacquline,rebeca,marybeth,krystle,iola,dottie,belle,griselda,ernestina,elida,adrianne,demetria,delma,jaqueline,arleen,virgina,retha,fatima,tillie,eleanore,cari,treva,wilhelmina,rosalee,maurine,latrice,jena,taryn,elia,debby,maudie,jeanna,delilah,catrina,shonda,hortencia,theodora,teresita,robbin,danette,delphine,brianne,nilda,danna,cindi,bess,iona,winona,vida,rosita,marianna,racheal,guillermina,eloisa,celestine,caren,malissa,lona,chantel,shellie,marisela,leora,agatha,soledad,migdalia,ivette,christen,athena,janel,veda,pattie,tessie,tera,marilynn,lucretia,karrie,dinah,daniela,alecia,adelina,vernice,shiela,portia,merry,lashawn,dara,tawana,verda,alene,zella,sandi,rafaela,maya,kira,candida,alvina,suzan,shayla,lettie,samatha,oralia,matilde,larissa,vesta,renita,delois,shanda,phillis,lorri,erlinda,cathrine,barb,isabell,ione,gisela,roxanna,mayme,kisha,ellie,mellissa,dorris,dalia,bella,annetta,zoila,reta,reina,lauretta,kylie,christal,pilar,charla,elissa,tiffani,tana,paulina,leota,breanna,jayme,carmel,vernell,tomasa,mandi,dominga,santa,melodie,lura,alexa,tamela,mirna,kerrie,venus,felicita,cristy,carmelita,berniece,annemarie,tiara,roseanne,missy,cori,roxana,pricilla,kristal,jung,elyse,haydee,aletha,bettina,marge,gillian,filomena,zenaida,harriette,caridad,vada,aretha,pearline,marjory,marcela,flor,evette,elouise,alina,damaris,catharine,belva,nakia,marlena,luanne,lorine,karon,dorene,danita,brenna,tatiana,louann,julianna,andria,philomena,lucila,leonora,dovie,romona,mimi,jacquelin,gaye,tonja,misti,chastity,stacia,roxann,micaela,velda,marlys,johnna,aura,ivonne,hayley,nicki,majorie,herlinda,yadira,perla,gregoria,antonette,shelli,mozelle,mariah,joelle,cordelia,josette,chiquita,trista,laquita,georgiana,candi,shanon,hildegard,stephany,magda,karol,gabriella,tiana,roma,richelle,oleta,jacque,idella,alaina,suzanna,jovita,tosha,nereida,marlyn,kyla,delfina,tena,stephenie,sabina,nathalie,marcelle,gertie,darleen,thea,sharonda,shantel,belen,venessa,rosalina,genoveva,clementine,rosalba,renate,renata,georgianna,floy,dorcas,ariana,tyra,theda,mariam,juli,jesica,vikki,verla,roselyn,melvina,jannette,ginny,debrah,corrie,violeta,myrtis,latricia,collette,charleen,anissa,viviana,twyla,nedra,latonia,hellen,fabiola,annamarie,adell,sharyn,chantal,niki,maud,lizette,lindy,kesha,jeana,danelle,charline,chanel,valorie,dortha,cristal,sunny,leone,leilani,gerri,debi,andra,keshia,eulalia,easter,dulce,natividad,linnie,kami,georgie,catina,brook,alda,winnifred,sharla,ruthann,meaghan,magdalene,lissette,adelaida,venita,trena,shirlene,shameka,elizebeth,dian,shanta,latosha,carlotta,windy,rosina,mariann,leisa,jonnie,dawna,cathie,astrid,laureen,janeen,holli,fawn,vickey,teressa,shante,rubye,marcelina,chanda,terese,scarlett,marnie,lulu,lisette,jeniffer,elenor,dorinda,donita,carman,bernita,altagracia,aleta,adrianna,zoraida,lyndsey,janina,starla,phylis,phuong,kyra,charisse,blanch,sanjuanita,rona,nanci,marilee,maranda,brigette,sanjuana,marita,kassandra,joycelyn,felipa,chelsie,bonny,mireya,lorenza,kyong,ileana,candelaria,sherie,lucie,leatrice,lakeshia,gerda,edie,bambi,marylin,lavon,hortense,garnet,evie,tressa,shayna,lavina,kyung,jeanetta,sherrill,shara,phyliss,mittie,anabel,alesia,thuy,tawanda,joanie,tiffanie,lashanda,karissa,enriqueta,daria,daniella,corinna,alanna,abbey,roxane,roseanna,magnolia,lida,joellen,coral,carleen,tresa,peggie,novella,nila,maybelle,jenelle,carina,nova,melina,marquerite,margarette,josephina,evonne,cinthia,albina,toya,tawnya,sherita,myriam,lizabeth,lise,keely,jenni,giselle,cheryle,ardith,ardis,alesha,adriane,shaina,linnea,karolyn,felisha,dori,darci,artie,armida,zola,xiomara,vergie,shamika,nena,nannette,maxie,lovie,jeane,jaimie,inge,farrah,elaina,caitlyn,felicitas,cherly,caryl,yolonda,yasmin,teena,prudence,pennie,nydia,mackenzie,orpha,marvel,lizbeth,laurette,jerrie,hermelinda,carolee,tierra,mirian,meta,melony,kori,jennette,jamila,yoshiko,susannah,salina,rhiannon,joleen,cristine,ashton,aracely,tomeka,shalonda,marti,lacie,kala,jada,ilse,hailey,brittani,zona,syble,sherryl,nidia,marlo,kandice,kandi,alycia,ronna,norene,mercy,ingeborg,giovanna,gemma,christel,audry,zora,vita,trish,stephaine,shirlee,shanika,melonie,mazie,jazmin,inga,hettie,geralyn,fonda,estrella,adella,sarita,rina,milissa,maribeth,golda,evon,ethelyn,enedina,cherise,chana,velva,tawanna,sade,mirta,karie,jacinta,elna,davina,cierra,ashlie,albertha,tanesha,nelle,mindi,lorinda,larue,florene,demetra,dedra,ciara,chantelle,ashly,suzy,rosalva,noelia,lyda,leatha,krystyna,kristan,karri,darline,darcie,cinda,cherrie,awilda,almeda,rolanda,lanette,jerilyn,gisele,evalyn,cyndi,cleta,carin,zina,zena,velia,tanika,charissa,talia,margarete,lavonda,kaylee,kathlene,jonna,irena,ilona,idalia,candis,candance,brandee,anitra,alida,sigrid,nicolette,maryjo,linette,hedwig,christiana,alexia,tressie,modesta,lupita,lita,gladis,evelia,davida,cherri,cecily,ashely,annabel,agustina,wanita,shirly,rosaura,hulda,yetta,verona,thomasina,sibyl,shannan,mechelle,leandra,lani,kylee,kandy,jolynn,ferne,eboni,corene,alysia,zula,nada,moira,lyndsay,lorretta,jammie,hortensia,gaynell,adria,vina,vicenta,tangela,stephine,norine,nella,liana,leslee,kimberely,iliana,glory,felica,emogene,elfriede,eden,eartha,carma,ocie,lennie,kiara,jacalyn,carlota,arielle,otilia,kirstin,kacey,johnetta,joetta,jeraldine,jaunita,elana,dorthea,cami,amada,adelia,vernita,tamar,siobhan,renea,rashida,ouida,nilsa,meryl,kristyn,julieta,danica,breanne,aurea,anglea,sherron,odette,malia,lorelei,leesa,kenna,kathlyn,fiona,charlette,suzie,shantell,sabra,racquel,myong,mira,martine,lucienne,lavada,juliann,elvera,delphia,christiane,charolette,carri,asha,angella,paola,ninfa,leda,stefani,shanell,palma,machelle,lissa,kecia,kathryne,karlene,julissa,jettie,jenniffer,corrina,carolann,alena,rosaria,myrtice,marylee,liane,kenyatta,judie,janey,elmira,eldora,denna,cristi,cathi,zaida,vonnie,viva,vernie,rosaline,mariela,luciana,lesli,karan,felice,deneen,adina,wynona,tarsha,sheron,shanita,shani,shandra,randa,pinkie,nelida,marilou,lyla,laurene,laci,janene,dorotha,daniele,dani,carolynn,carlyn,berenice,ayesha,anneliese,alethea,thersa,tamiko,rufina,oliva,mozell,marylyn,kristian,kathyrn,kasandra,kandace,janae,domenica,debbra,dannielle,chun,arcelia,zenobia,sharen,sharee,lavinia,kacie,jackeline,huong,felisa,emelia,eleanora,cythia,cristin,claribel,anastacia,zulma,zandra,yoko,tenisha,susann,sherilyn,shay,shawanda,romana,mathilda,linsey,keiko,joana,isela,gretta,georgetta,eugenie,desirae,delora,corazon,antonina,anika,willene,tracee,tamatha,nichelle,mickie,maegan,luana,lanita,kelsie,edelmira,bree,afton,teodora,tamie,shena,linh,keli,kaci,danyelle,arlette,albertine,adelle,tiffiny,simona,nicolasa,nichol,nakisha,maira,loreen,kizzy,fallon,christene,bobbye,ying,vincenza,tanja,rubie,roni,queenie,margarett,kimberli,irmgard,idell,hilma,evelina,esta,emilee,dennise,dania,carie,risa,rikki,particia,masako,luvenia,loree,loni,lien,gigi,florencia,denita,billye,tomika,sharita,rana,nikole,neoma,margarite,madalyn,lucina,laila,kali,jenette,gabriele,evelyne,elenora,clementina,alejandrina,zulema,violette,vannessa,thresa,retta,patience,noella,nickie,jonell,chaya,camelia,bethel,anya,suzann,mila,lilla,laverna,keesha,kattie,georgene,eveline,estell,elizbeth,vivienne,vallie,trudie,stephane,magaly,madie,kenyetta,karren,janetta,hermine,drucilla,debbi,celestina,candie,britni,beckie,amina,zita,yolande,vivien,vernetta,trudi,pearle,patrina,ossie,nicolle,loyce,letty,katharina,joselyn,jonelle,jenell,iesha,heide,florinda,florentina,elodia,dorine,brunilda,brigid,ashli,ardella,twana,tarah,shavon,serina,rayna,ramonita,margurite,lucrecia,kourtney,kati,jesenia,crista,ayana,alica,alia,vinnie,suellen,romelia,rachell,olympia,michiko,kathaleen,jolie,jessi,janessa,hana,elease,carletta,britany,shona,salome,rosamond,regena,raina,ngoc,nelia,louvenia,lesia,latrina,laticia,larhonda,jina,jacki,emmy,deeann,coretta,arnetta,thalia,shanice,neta,mikki,micki,lonna,leana,lashunda,kiley,joye,jacqulyn,ignacia,hyun,hiroko,henriette,elayne,delinda,dahlia,coreen,consuela,conchita,babette,ayanna,anette,albertina,shawnee,shaneka,quiana,pamelia,merri,merlene,margit,kiesha,kiera,kaylene,jodee,jenise,erlene,emmie,dalila,daisey,casie,belia,babara,versie,vanesa,shelba,shawnda,nikia,naoma,marna,margeret,madaline,lawana,kindra,jutta,jazmine,janett,hannelore,glendora,gertrud,garnett,freeda,frederica,florance,flavia,carline,beverlee,anjanette,valda,tamala,shonna,sarina,oneida,merilyn,marleen,lurline,lenna,katherin,jeni,gracia,glady,farah,enola,dominque,devona,delana,cecila,caprice,alysha,alethia,vena,theresia,tawny,shakira,samara,sachiko,rachele,pamella,marni,mariel,maren,malisa,ligia,lera,latoria,larae,kimber,kathern,karey,jennefer,janeth,halina,fredia,delisa,debroah,ciera,angelika,andree,altha,vivan,terresa,tanna,sudie,signe,salena,ronni,rebbecca,myrtie,malika,maida,leonarda,kayleigh,ethyl,ellyn,dayle,cammie,brittni,birgit,avelina,asuncion,arianna,akiko,venice,tyesha,tonie,tiesha,takisha,steffanie,sindy,meghann,manda,macie,kellye,kellee,joslyn,inger,indira,glinda,glennis,fernanda,faustina,eneida,elicia,digna,dell,arletta,willia,tammara,tabetha,sherrell,sari,rebbeca,pauletta,natosha,nakita,mammie,kenisha,kazuko,kassie,earlean,daphine,corliss,clotilde,carolyne,bernetta,augustina,audrea,annis,annabell,tennille,tamica,selene,rosana,regenia,qiana,markita,macy,leeanne,laurine,jessenia,janita,georgine,genie,emiko,elvie,deandra,dagmar,corie,collen,cherish,romaine,porsha,pearlene,micheline,merna,margorie,margaretta,lore,jenine,hermina,fredericka,elke,drusilla,dorathy,dione,celena,brigida,allegra,tamekia,synthia,sook,slyvia,rosann,reatha,raye,marquetta,margart,ling,layla,kymberly,kiana,kayleen,katlyn,karmen,joella,emelda,eleni,detra,clemmie,cheryll,chantell,cathey,arnita,arla,angle,angelic,alyse,zofia,thomasine,tennie,sherly,sherley,sharyl,remedios,petrina,nickole,myung,myrle,mozella,louanne,lisha,latia,krysta,julienne,jeanene,jacqualine,isaura,gwenda,earleen,cleopatra,carlie,audie,antonietta,alise,verdell,tomoko,thao,talisha,shemika,savanna,santina,rosia,raeann,odilia,nana,minna,magan,lynelle,karma,joeann,ivana,inell,ilana,gudrun,dreama,crissy,chante,carmelina,arvilla,annamae,alvera,aleida,yanira,vanda,tianna,stefania,shira,nicol,nancie,monserrate,melynda,melany,lovella,laure,kacy,jacquelynn,hyon,gertha,eliana,christena,christeen,charise,caterina,carley,candyce,arlena,ammie,willette,vanita,tuyet,syreeta,penney,nyla,maryam,marya,magen,ludie,loma,livia,lanell,kimberlie,julee,donetta,diedra,denisha,deane,dawne,clarine,cherryl,bronwyn,alla,valery,tonda,sueann,soraya,shoshana,shela,sharleen,shanelle,nerissa,meridith,mellie,maye,maple,magaret,lili,leonila,leonie,leeanna,lavonia,lavera,kristel,kathey,kathe,jann,ilda,hildred,hildegarde,genia,fumiko,evelin,ermelinda,elly,dung,doloris,dionna,danae,berneice,annice,alix,verena,verdie,shawnna,shawana,shaunna,rozella,randee,ranae,milagro,lynell,luise,loida,lisbeth,karleen,junita,jona,isis,hyacinth,hedy,gwenn,ethelene,erline,donya,domonique,delicia,dannette,cicely,branda,blythe,bethann,ashlyn,annalee,alline,yuko,vella,trang,towanda,tesha,sherlyn,narcisa,miguelina,meri,maybell,marlana,marguerita,madlyn,lory,loriann,leonore,leighann,laurice,latesha,laronda,katrice,kasie,kaley,jadwiga,glennie,gearldine,francina,epifania,dyan,dorie,diedre,denese,demetrice,delena,cristie,cleora,catarina,carisa,barbera,almeta,trula,tereasa,solange,sheilah,shavonne,sanora,rochell,mathilde,margareta,maia,lynsey,lawanna,launa,kena,keena,katia,glynda,gaylene,elvina,elanor,danuta,danika,cristen,cordie,coletta,clarita,carmon,brynn,azucena,aundrea,angele,verlie,verlene,tamesha,silvana,sebrina,samira,reda,raylene,penni,norah,noma,mireille,melissia,maryalice,laraine,kimbery,karyl,karine,jolanda,johana,jesusa,jaleesa,jacquelyne,iluminada,hilaria,hanh,gennie,francie,floretta,exie,edda,drema,delpha,barbar,assunta,ardell,annalisa,alisia,yukiko,yolando,wonda,waltraud,veta,temeka,tameika,shirleen,shenita,piedad,ozella,mirtha,marilu,kimiko,juliane,jenice,janay,jacquiline,hilde,elois,echo,devorah,chau,brinda,betsey,arminda,aracelis,apryl,annett,alishia,veola,usha,toshiko,theola,tashia,talitha,shery,renetta,reiko,rasheeda,obdulia,mika,melaine,meggan,marlen,marget,marceline,mana,magdalen,librada,lezlie,latashia,lasandra,kelle,isidra,inocencia,gwyn,francoise,erminia,erinn,dimple,devora,criselda,armanda,arie,ariane,angelena,aliza,adriene,adaline,xochitl,twanna,tomiko,tamisha,taisha,susy,rutha,rhona,noriko,natashia,merrie,marinda,mariko,margert,loris,lizzette,leisha,kaila,joannie,jerrica,jene,jannet,janee,jacinda,herta,elenore,doretta,delaine,daniell,claudie,britta,apolonia,amberly,alease,yuri,waneta,tomi,sharri,sandie,roselle,reynalda,raguel,phylicia,patria,olimpia,odelia,mitzie,minda,mignon,mica,mendy,marivel,maile,lynetta,lavette,lauryn,latrisha,lakiesha,kiersten,kary,josphine,jolyn,jetta,janise,jacquie,ivelisse,glynis,gianna,gaynelle,danyell,danille,dacia,coralee,cher,ceola,arianne,aleshia,yung,williemae,trinh,thora,sherika,shemeka,shaunda,roseline,ricki,melda,mallie,lavonna,latina,laquanda,lala,lachelle,klara,kandis,johna,jeanmarie,jaye,grayce,gertude,emerita,ebonie,clorinda,ching,chery,carola,breann,blossom,bernardine,becki,arletha,argelia,alita,yulanda,yessenia,tobi,tasia,sylvie,shirl,shirely,shella,shantelle,sacha,rebecka,providencia,paulene,misha,miki,marline,marica,lorita,latoyia,lasonya,kerstin,kenda,keitha,kathrin,jaymie,gricelda,ginette,eryn,elina,elfrieda,danyel,cheree,chanelle,barrie,aurore,annamaria,alleen,ailene,aide,yasmine,vashti,treasa,tiffaney,sheryll,sharie,shanae,raisa,neda,mitsuko,mirella,milda,maryanna,maragret,mabelle,luetta,lorina,letisha,latarsha,lanelle,lajuana,krissy,karly,karena,jessika,jerica,jeanelle,jalisa,jacelyn,izola,euna,etha,domitila,dominica,daina,creola,carli,camie,brittny,ashanti,anisha,aleen,adah,yasuko,valrie,tona,tinisha,terisa,taneka,simonne,shalanda,serita,ressie,refugia,olene,margherita,mandie,maire,lyndia,luci,lorriane,loreta,leonia,lavona,lashawnda,lakia,kyoko,krystina,krysten,kenia,kelsi,jeanice,isobel,georgiann,genny,felicidad,eilene,deloise,deedee,conception,clora,cherilyn,calandra,armandina,anisa,tiera,theressa,stephania,sima,shyla,shonta,shera,shaquita,shala,rossana,nohemi,nery,moriah,melita,melida,melani,marylynn,marisha,mariette,malorie,madelene,ludivina,loria,lorette,loralee,lianne,lavenia,laurinda,lashon,kimi,keila,katelynn,jone,joane,jayna,janella,hertha,francene,elinore,despina,delsie,deedra,clemencia,carolin,bulah,brittanie,blondell,bibi,beaulah,beata,annita,agripina,virgen,valene,twanda,tommye,tarra,tari,tammera,shakia,sadye,ruthanne,rochel,rivka,pura,nenita,natisha,ming,merrilee,melodee,marvis,lucilla,leena,laveta,larita,lanie,keren,ileen,georgeann,genna,frida,eufemia,emely,edyth,deonna,deadra,darlena,chanell,cathern,cassondra,cassaundra,bernarda,berna,arlinda,anamaria,vertie,valeri,torri,stasia,sherise,sherill,sanda,ruthe,rosy,robbi,ranee,quyen,pearly,palmira,onita,nisha,niesha,nida,merlyn,mayola,marylouise,marth,margene,madelaine,londa,leontine,leoma,leia,lauralee,lanora,lakita,kiyoko,keturah,katelin,kareen,jonie,johnette,jenee,jeanett,izetta,hiedi,heike,hassie,giuseppina,georgann,fidela,fernande,elwanda,ellamae,eliz,dusti,dotty,cyndy,coralie,celesta,alverta,xenia,wava,vanetta,torrie,tashina,tandy,tambra,tama,stepanie,shila,shaunta,sharan,shaniqua,shae,setsuko,serafina,sandee,rosamaria,priscila,olinda,nadene,muoi,michelina,mercedez,maryrose,marcene,magali,mafalda,lannie,kayce,karoline,kamilah,kamala,justa,joline,jennine,jacquetta,iraida,georgeanna,franchesca,emeline,elane,ehtel,earlie,dulcie,dalene,classie,chere,charis,caroyln,carmina,carita,bethanie,ayako,arica,alysa,alessandra,akilah,adrien,zetta,youlanda,yelena,yahaira,xuan,wendolyn,tijuana,terina,teresia,suzi,sherell,shavonda,shaunte,sharda,shakita,sena,ryann,rubi,riva,reginia,rachal,parthenia,pamula,monnie,monet,michaele,melia,malka,maisha,lisandra,lekisha,lean,lakendra,krystin,kortney,kizzie,kittie,kera,kendal,kemberly,kanisha,julene,jule,johanne,jamee,halley,gidget,fredricka,fleta,fatimah,eusebia,elza,eleonore,dorthey,doria,donella,dinorah,delorse,claretha,christinia,charlyn,bong,belkis,azzie,andera,aiko,adena,yajaira,vania,ulrike,toshia,tifany,stefany,shizue,shenika,shawanna,sharolyn,sharilyn,shaquana,shantay,rozanne,roselee,remona,reanna,raelene,phung,petronila,natacha,nancey,myrl,miyoko,miesha,merideth,marvella,marquitta,marhta,marchelle,lizeth,libbie,lahoma,ladawn,kina,katheleen,katharyn,karisa,kaleigh,junie,julieann,johnsie,janean,jaimee,jackqueline,hisako,herma,helaine,gwyneth,gita,eustolia,emelina,elin,edris,donnette,donnetta,dierdre,denae,darcel,clarisa,cinderella,chia,charlesetta,charita,celsa,cassy,cassi,carlee,bruna,brittaney,brande,billi,antonetta,angla,angelyn,analisa,alane,wenona,wendie,veronique,vannesa,tobie,tempie,sumiko,sulema,somer,sheba,sharice,shanel,shalon,rosio,roselia,renay,rema,reena,ozie,oretha,oralee,ngan,nakesha,milly,marybelle,margrett,maragaret,manie,lurlene,lillia,lieselotte,lavelle,lashaunda,lakeesha,kaycee,kalyn,joya,joette,jenae,janiece,illa,grisel,glayds,genevie,gala,fredda,eleonor,debera,deandrea,corrinne,cordia,contessa,colene,cleotilde,chantay,cecille,beatris,azalee,arlean,ardath,anjelica,anja,alfredia,aleisha,zada,yuonne,xiao,willodean,vennie,vanna,tyisha,tova,torie,tonisha,tilda,tien,sirena,sherril,shanti,shan,senaida,samella,robbyn,renda,reita,phebe,paulita,nobuko,nguyet,neomi,mikaela,melania,maximina,marg,maisie,lynna,lilli,lashaun,lakenya,lael,kirstie,kathline,kasha,karlyn,karima,jovan,josefine,jennell,jacqui,jackelyn,hien,grazyna,florrie,floria,eleonora,dwana,dorla,delmy,deja,dede,dann,crysta,clelia,claris,chieko,cherlyn,cherelle,charmain,chara,cammy,arnette,ardelle,annika,amiee,amee,allena,yvone,yuki,yoshie,yevette,yael,willetta,voncile,venetta,tula,tonette,timika,temika,telma,teisha,taren,stacee,shawnta,saturnina,ricarda,pasty,onie,nubia,marielle,mariella,marianela,mardell,luanna,loise,lisabeth,lindsy,lilliana,lilliam,lelah,leigha,leanora,kristeen,khalilah,keeley,kandra,junko,joaquina,jerlene,jani,jamika,hsiu,hermila,genevive,evia,eugena,emmaline,elfreda,elene,donette,delcie,deeanna,darcey,clarinda,cira,chae,celinda,catheryn,casimira,carmelia,camellia,breana,bobette,bernardina,bebe,basilia,arlyne,amal,alayna,zonia,zenia,yuriko,yaeko,wynell,willena,vernia,tora,terrilyn,terica,tenesha,tawna,tajuana,taina,stephnie,sona,sina,shondra,shizuko,sherlene,sherice,sharika,rossie,rosena,rima,rheba,renna,natalya,nancee,melodi,meda,matha,marketta,maricruz,marcelene,malvina,luba,louetta,leida,lecia,lauran,lashawna,laine,khadijah,katerine,kasi,kallie,julietta,jesusita,jestine,jessia,jeffie,janyce,isadora,georgianne,fidelia,evita,eura,eulah,estefana,elsy,eladia,dodie,denisse,deloras,delila,daysi,crystle,concha,claretta,charlsie,charlena,carylon,bettyann,asley,ashlea,amira,agueda,agnus,yuette,vinita,victorina,tynisha,treena,toccara,tish,thomasena,tegan,soila,shenna,sharmaine,shantae,shandi,saran,sarai,sana,rosette,rolande,regine,otelia,olevia,nicholle,necole,naida,myrta,myesha,mitsue,minta,mertie,margy,mahalia,madalene,loura,lorean,lesha,leonida,lenita,lavone,lashell,lashandra,lamonica,kimbra,katherina,karry,kanesha,jong,jeneva,jaquelyn,gilma,ghislaine,gertrudis,fransisca,fermina,ettie,etsuko,ellan,elidia,edra,dorethea,doreatha,denyse,deetta,daine,cyrstal,corrin,cayla,carlita,camila,burma,bula,buena,barabara,avril,alaine,zana,wilhemina,wanetta,verline,vasiliki,tonita,tisa,teofila,tayna,taunya,tandra,takako,sunni,suanne,sixta,sharell,seema,rosenda,robena,raymonde,pamila,ozell,neida,mistie,micha,merissa,maurita,maryln,maryetta,marcell,malena,makeda,lovetta,lourie,lorrine,lorilee,laurena,lashay,larraine,laree,lacresha,kristle,keva,keira,karole,joie,jinny,jeannetta,jama,heidy,gilberte,gema,faviola,evelynn,enda,elli,ellena,divina,dagny,collene,codi,cindie,chassidy,chasidy,catrice,catherina,cassey,caroll,carlena,candra,calista,bryanna,britteny,beula,bari,audrie,audria,ardelia,annelle,angila,alona,allyn".split(","),surnames:"smith,johnson,williams,jones,brown,davis,miller,wilson,moore,taylor,anderson,jackson,white,harris,martin,thompson,garcia,martinez,robinson,clark,rodriguez,lewis,lee,walker,hall,allen,young,hernandez,king,wright,lopez,hill,green,adams,baker,gonzalez,nelson,carter,mitchell,perez,roberts,turner,phillips,campbell,parker,evans,edwards,collins,stewart,sanchez,morris,rogers,reed,cook,morgan,bell,murphy,bailey,rivera,cooper,richardson,cox,howard,ward,torres,peterson,gray,ramirez,watson,brooks,sanders,price,bennett,wood,barnes,ross,henderson,coleman,jenkins,perry,powell,long,patterson,hughes,flores,washington,butler,simmons,foster,gonzales,bryant,alexander,griffin,diaz,hayes,myers,ford,hamilton,graham,sullivan,wallace,woods,cole,west,owens,reynolds,fisher,ellis,harrison,gibson,mcdonald,cruz,marshall,ortiz,gomez,murray,freeman,wells,webb,simpson,stevens,tucker,porter,hicks,crawford,boyd,mason,morales,kennedy,warren,dixon,ramos,reyes,burns,gordon,shaw,holmes,rice,robertson,hunt,black,daniels,palmer,mills,nichols,grant,knight,ferguson,stone,hawkins,dunn,perkins,hudson,spencer,gardner,stephens,payne,pierce,berry,matthews,arnold,wagner,willis,watkins,olson,carroll,duncan,snyder,hart,cunningham,lane,andrews,ruiz,harper,fox,riley,armstrong,carpenter,weaver,greene,elliott,chavez,sims,peters,kelley,franklin,lawson,fields,gutierrez,schmidt,carr,vasquez,castillo,wheeler,chapman,montgomery,richards,williamson,johnston,banks,meyer,bishop,mccoy,howell,alvarez,morrison,hansen,fernandez,garza,harvey,burton,nguyen,jacobs,reid,fuller,lynch,garrett,romero,welch,larson,frazier,burke,hanson,mendoza,moreno,bowman,medina,fowler,brewer,hoffman,carlson,silva,pearson,holland,fleming,jensen,vargas,byrd,davidson,hopkins,herrera,wade,soto,walters,neal,caldwell,lowe,jennings,barnett,graves,jimenez,horton,shelton,barrett,obrien,castro,sutton,mckinney,lucas,miles,rodriquez,chambers,holt,lambert,fletcher,watts,bates,hale,rhodes,pena,beck,newman,haynes,mcdaniel,mendez,bush,vaughn,parks,dawson,santiago,norris,hardy,steele,curry,powers,schultz,barker,guzman,page,munoz,ball,keller,chandler,weber,walsh,lyons,ramsey,wolfe,schneider,mullins,benson,sharp,bowen,barber,cummings,hines,baldwin,griffith,valdez,hubbard,salazar,reeves,warner,stevenson,burgess,santos,tate,cross,garner,mann,mack,moss,thornton,mcgee,farmer,delgado,aguilar,vega,glover,manning,cohen,harmon,rodgers,robbins,newton,blair,higgins,ingram,reese,cannon,strickland,townsend,potter,goodwin,walton,rowe,hampton,ortega,patton,swanson,goodman,maldonado,yates,becker,erickson,hodges,rios,conner,adkins,webster,malone,hammond,flowers,cobb,moody,quinn,pope,osborne,mccarthy,guerrero,estrada,sandoval,gibbs,gross,fitzgerald,stokes,doyle,saunders,wise,colon,gill,alvarado,greer,padilla,waters,nunez,ballard,schwartz,mcbride,houston,christensen,klein,pratt,briggs,parsons,mclaughlin,zimmerman,buchanan,moran,copeland,pittman,brady,mccormick,holloway,brock,poole,logan,bass,marsh,drake,wong,jefferson,morton,abbott,sparks,norton,huff,massey,figueroa,carson,bowers,roberson,barton,tran,lamb,harrington,boone,cortez,clarke,mathis,singleton,wilkins,cain,underwood,hogan,mckenzie,collier,luna,phelps,mcguire,bridges,wilkerson,nash,summers,atkins,wilcox,pitts,conley,marquez,burnett,cochran,chase,davenport,hood,gates,ayala,sawyer,vazquez,dickerson,hodge,acosta,flynn,espinoza,nicholson,monroe,wolf,morrow,whitaker,oconnor,skinner,ware,molina,kirby,huffman,gilmore,dominguez,oneal,lang,combs,kramer,hancock,gallagher,gaines,shaffer,wiggins,mathews,mcclain,fischer,wall,melton,hensley,bond,dyer,grimes,contreras,wyatt,baxter,snow,mosley,shepherd,larsen,hoover,beasley,petersen,whitehead,meyers,garrison,shields,horn,savage,olsen,schroeder,hartman,woodard,mueller,kemp,deleon,booth,patel,calhoun,wiley,eaton,cline,navarro,harrell,humphrey,parrish,duran,hutchinson,hess,dorsey,bullock,robles,beard,dalton,avila,rich,blackwell,johns,blankenship,trevino,salinas,campos,pruitt,callahan,montoya,hardin,guerra,mcdowell,stafford,gallegos,henson,wilkinson,booker,merritt,atkinson,orr,decker,hobbs,tanner,knox,pacheco,stephenson,glass,rojas,serrano,marks,hickman,sweeney,strong,mcclure,conway,roth,maynard,farrell,lowery,hurst,nixon,weiss,trujillo,ellison,sloan,juarez,winters,mclean,boyer,villarreal,mccall,gentry,carrillo,ayers,lara,sexton,pace,hull,leblanc,browning,velasquez,leach,chang,sellers,herring,noble,foley,bartlett,mercado,landry,durham,walls,barr,mckee,bauer,rivers,bradshaw,pugh,velez,rush,estes,dodson,morse,sheppard,weeks,camacho,bean,barron,livingston,middleton,spears,branch,blevins,chen,kerr,mcconnell,hatfield,harding,solis,frost,giles,blackburn,pennington,woodward,finley,mcintosh,koch,mccullough,blanchard,rivas,brennan,mejia,kane,benton,buckley,valentine,maddox,russo,mcknight,buck,moon,mcmillan,crosby,berg,dotson,mays,roach,chan,richmond,meadows,faulkner,oneill,knapp,kline,ochoa,jacobson,gay,hendricks,horne,shepard,hebert,cardenas,mcintyre,waller,holman,donaldson,cantu,morin,gillespie,fuentes,tillman,bentley,peck,key,salas,rollins,gamble,dickson,santana,cabrera,cervantes,howe,hinton,hurley,spence,zamora,yang,mcneil,suarez,petty,gould,mcfarland,sampson,carver,bray,macdonald,stout,hester,melendez,dillon,farley,hopper,galloway,potts,joyner,stein,aguirre,osborn,mercer,bender,franco,rowland,sykes,pickett,sears,mayo,dunlap,hayden,wilder,mckay,coffey,mccarty,ewing,cooley,vaughan,bonner,cotton,holder,stark,ferrell,cantrell,fulton,lott,calderon,pollard,hooper,burch,mullen,fry,riddle,levy,duke,odonnell,britt,daugherty,berger,dillard,alston,frye,riggs,chaney,odom,duffy,fitzpatrick,valenzuela,mayer,alford,mcpherson,acevedo,barrera,cote,reilly,compton,mooney,mcgowan,craft,clemons,wynn,nielsen,baird,stanton,snider,rosales,bright,witt,hays,holden,rutledge,kinney,clements,castaneda,slater,hahn,burks,delaney,pate,lancaster,sharpe,whitfield,talley,macias,burris,ratliff,mccray,madden,kaufman,beach,goff,cash,bolton,mcfadden,levine,byers,kirkland,kidd,workman,carney,mcleod,holcomb,finch,sosa,haney,franks,sargent,nieves,downs,rasmussen,bird,hewitt,foreman,valencia,oneil,delacruz,vinson,dejesus,hyde,forbes,gilliam,guthrie,wooten,huber,barlow,boyle,mcmahon,buckner,rocha,puckett,langley,knowles,cooke,velazquez,whitley,vang,shea,rouse,hartley,mayfield,elder,rankin,hanna,cowan,lucero,arroyo,slaughter,haas,oconnell,minor,boucher,archer,boggs,dougherty,andersen,newell,crowe,wang,friedman,bland,swain,holley,pearce,childs,yarbrough,galvan,proctor,meeks,lozano,mora,rangel,bacon,villanueva,schaefer,rosado,helms,boyce,goss,stinson,ibarra,hutchins,covington,crowley,hatcher,mackey,bunch,womack,polk,dodd,childress,childers,villa,springer,mahoney,dailey,belcher,lockhart,griggs,costa,brandt,walden,moser,tatum,mccann,akers,lutz,pryor,orozco,mcallister,lugo,davies,shoemaker,rutherford,newsome,magee,chamberlain,blanton,simms,godfrey,flanagan,crum,cordova,escobar,downing,sinclair,donahue,krueger,mcginnis,gore,farris,webber,corbett,andrade,starr,lyon,yoder,hastings,mcgrath,spivey,krause,harden,crabtree,kirkpatrick,arrington,ritter,mcghee,bolden,maloney,gagnon,dunbar,ponce,pike,mayes,beatty,mobley,kimball,butts,montes,eldridge,braun,hamm,gibbons,moyer,manley,herron,plummer,elmore,cramer,rucker,pierson,fontenot,rubio,goldstein,elkins,wills,novak,hickey,worley,gorman,katz,dickinson,broussard,woodruff,crow,britton,nance,lehman,bingham,zuniga,whaley,shafer,coffman,steward,delarosa,neely,mata,davila,mccabe,kessler,hinkle,welsh,pagan,goldberg,goins,crouch,cuevas,quinones,mcdermott,hendrickson,samuels,denton,bergeron,ivey,locke,haines,snell,hoskins,byrne,arias,corbin,beltran,chappell,downey,dooley,tuttle,couch,payton,mcelroy,crockett,groves,cartwright,dickey,mcgill,dubois,muniz,tolbert,dempsey,cisneros,sewell,latham,vigil,tapia,rainey,norwood,stroud,meade,tipton,kuhn,hilliard,bonilla,teague,gunn,greenwood,correa,reece,pineda,phipps,frey,kaiser,ames,gunter,schmitt,milligan,espinosa,bowden,vickers,lowry,pritchard,costello,piper,mcclellan,lovell,sheehan,hatch,dobson,singh,jeffries,hollingsworth,sorensen,meza,fink,donnelly,burrell,tomlinson,colbert,billings,ritchie,helton,sutherland,peoples,mcqueen,thomason,givens,crocker,vogel,robison,dunham,coker,swartz,keys,ladner,richter,hargrove,edmonds,brantley,albright,murdock,boswell,muller,quintero,padgett,kenney,daly,connolly,inman,quintana,lund,barnard,villegas,simons,huggins,tidwell,sanderson,bullard,mcclendon,duarte,draper,marrero,dwyer,abrams,stover,goode,fraser,crews,bernal,godwin,conklin,mcneal,baca,esparza,crowder,bower,brewster,mcneill,rodrigues,leal,coates,raines,mccain,mccord,miner,holbrook,swift,dukes,carlisle,aldridge,ackerman,starks,ricks,holliday,ferris,hairston,sheffield,lange,fountain,doss,betts,kaplan,carmichael,bloom,ruffin,penn,kern,bowles,sizemore,larkin,dupree,seals,metcalf,hutchison,henley,farr,mccauley,hankins,gustafson,curran,waddell,ramey,cates,pollock,cummins,messer,heller,funk,cornett,palacios,galindo,cano,hathaway,pham,enriquez,salgado,pelletier,painter,wiseman,blount,feliciano,houser,doherty,mead,mcgraw,swan,capps,blanco,blackmon,thomson,mcmanus,burkett,gleason,dickens,cormier,voss,rushing,rosenberg,hurd,dumas,benitez,arellano,marin,caudill,bragg,jaramillo,huerta,gipson,colvin,biggs,vela,platt,cassidy,tompkins,mccollum,dolan,daley,crump,sneed,kilgore,grove,grimm,davison,brunson,prater,marcum,devine,dodge,stratton,rosas,choi,tripp,ledbetter,hightower,feldman,epps,yeager,posey,scruggs,cope,stubbs,richey,overton,trotter,sprague,cordero,butcher,stiles,burgos,woodson,horner,bassett,purcell,haskins,akins,ziegler,spaulding,hadley,grubbs,sumner,murillo,zavala,shook,lockwood,driscoll,dahl,thorpe,redmond,putnam,mcwilliams,mcrae,romano,joiner,sadler,hedrick,hager,hagen,fitch,coulter,thacker,mansfield,langston,guidry,ferreira,corley,conn,rossi,lackey,baez,saenz,mcnamara,mcmullen,mckenna,mcdonough,link,engel,browne,roper,peacock,eubanks,drummond,stringer,pritchett,parham,mims,landers,grayson,schafer,egan,timmons,ohara,keen,hamlin,finn,cortes,mcnair,nadeau,moseley,michaud,rosen,oakes,kurtz,jeffers,calloway,beal,bautista,winn,suggs,stern,stapleton,lyles,laird,montano,dawkins,hagan,goldman,bryson,barajas,lovett,segura,metz,lockett,langford,hinson,eastman,hooks,smallwood,shapiro,crowell,whalen,triplett,chatman,aldrich,cahill,youngblood,ybarra,stallings,sheets,reeder,connelly,bateman,abernathy,winkler,wilkes,masters,hackett,granger,gillis,schmitz,sapp,napier,souza,lanier,gomes,weir,otero,ledford,burroughs,babcock,ventura,siegel,dugan,bledsoe,atwood,wray,varner,spangler,anaya,staley,kraft,fournier,belanger,wolff,thorne,bynum,burnette,boykin,swenson,purvis,pina,khan,duvall,darby,xiong,kauffman,healy,engle,benoit,valle,steiner,spicer,shaver,randle,lundy,chin,calvert,staton,neff,kearney,darden,oakley,medeiros,mccracken,crenshaw,perdue,dill,whittaker,tobin,washburn,hogue,goodrich,easley,bravo,dennison,shipley,kerns,jorgensen,crain,villalobos,maurer,longoria,keene,coon,witherspoon,staples,pettit,kincaid,eason,madrid,echols,lusk,stahl,currie,thayer,shultz,mcnally,seay,maher,gagne,barrow,nava,moreland,honeycutt,hearn,diggs,caron,whitten,westbrook,stovall,ragland,munson,meier,looney,kimble,jolly,hobson,goddard,culver,burr,presley,negron,connell,tovar,huddleston,ashby,salter,root,pendleton,oleary,nickerson,myrick,judd,jacobsen,bain,adair,starnes,matos,busby,herndon,hanley,bellamy,doty,bartley,yazzie,rowell,parson,gifford,cullen,christiansen,benavides,barnhart,talbot,mock,crandall,connors,bonds,whitt,gage,bergman,arredondo,addison,lujan,dowdy,jernigan,huynh,bouchard,dutton,rhoades,ouellette,kiser,herrington,hare,blackman,babb,allred,rudd,paulson,ogden,koenig,geiger,begay,parra,lassiter,hawk,esposito,waldron,ransom,prather,chacon,vick,sands,roark,parr,mayberry,greenberg,coley,bruner,whitman,skaggs,shipman,leary,hutton,romo,medrano,ladd,kruse,askew,schulz,alfaro,tabor,mohr,gallo,bermudez,pereira,bliss,reaves,flint,comer,woodall,naquin,guevara,delong,carrier,pickens,tilley,schaffer,knutson,fenton,doran,vogt,vann,prescott,mclain,landis,corcoran,zapata,hyatt,hemphill,faulk,dove,boudreaux,aragon,whitlock,trejo,tackett,shearer,saldana,hanks,mckinnon,koehler,bourgeois,keyes,goodson,foote,lunsford,goldsmith,flood,winslow,sams,reagan,mccloud,hough,esquivel,naylor,loomis,coronado,ludwig,braswell,bearden,huang,fagan,ezell,edmondson,cronin,nunn,lemon,guillory,grier,dubose,traylor,ryder,dobbins,coyle,aponte,whitmore,smalls,rowan,malloy,cardona,braxton,borden,humphries,carrasco,ruff,metzger,huntley,hinojosa,finney,madsen,ernst,dozier,burkhart,bowser,peralta,daigle,whittington,sorenson,saucedo,roche,redding,fugate,avalos,waite,lind,huston,hawthorne,hamby,boyles,boles,regan,faust,crook,beam,barger,hinds,gallardo,willoughby,willingham,eckert,busch,zepeda,worthington,tinsley,hoff,hawley,carmona,varela,rector,newcomb,kinsey,dube,whatley,ragsdale,bernstein,becerra,yost,mattson,felder,cheek,handy,grossman,gauthier,escobedo,braden,beckman,mott,hillman,flaherty,dykes,stockton,stearns,lofton,coats,cavazos,beavers,barrios,tang,mosher,cardwell,coles,burnham,weller,lemons,beebe,aguilera,parnell,harman,couture,alley,schumacher,redd,dobbs,blum,blalock,merchant,ennis,denson,cottrell,brannon,bagley,aviles,watt,sousa,rosenthal,rooney,dietz,blank,paquette,mcclelland,duff,velasco,lentz,grubb,burrows,barbour,ulrich,shockley,rader,beyer,mixon,layton,altman,weathers,stoner,squires,shipp,priest,lipscomb,cutler,caballero,zimmer,willett,thurston,storey,medley,epperson,shah,mcmillian,baggett,torrez,hirsch,dent,poirier,peachey,farrar,creech,barth,trimble,dupre,albrecht,sample,lawler,crisp,conroy,wetzel,nesbitt,murry,jameson,wilhelm,patten,minton,matson,kimbrough,guinn,croft,toth,pulliam,nugent,newby,littlejohn,dias,canales,bernier,baron,singletary,renteria,pruett,mchugh,mabry,landrum,brower,stoddard,cagle,stjohn,scales,kohler,kellogg,hopson,gant,tharp,gann,zeigler,pringle,hammons,fairchild,deaton,chavis,carnes,rowley,matlock,kearns,irizarry,carrington,starkey,lopes,jarrell,craven,baum,littlefield,linn,humphreys,etheridge,cuellar,chastain,bundy,speer,skelton,quiroz,pyle,portillo,ponder,moulton,machado,killian,hutson,hitchcock,dowling,cloud,burdick,spann,pedersen,levin,leggett,hayward,dietrich,beaulieu,barksdale,wakefield,snowden,briscoe,bowie,berman,ogle,mcgregor,laughlin,helm,burden,wheatley,schreiber,pressley,parris,alaniz,agee,swann,snodgrass,schuster,radford,monk,mattingly,harp,girard,cheney,yancey,wagoner,ridley,lombardo,hudgins,gaskins,duckworth,coburn,willey,prado,newberry,magana,hammonds,elam,whipple,slade,serna,ojeda,liles,dorman,diehl,upton,reardon,michaels,goetz,eller,bauman,baer,layne,hummel,brenner,amaya,adamson,ornelas,dowell,cloutier,castellanos,wellman,saylor,orourke,moya,montalvo,kilpatrick,durbin,shell,oldham,kang,garvin,foss,branham,bartholomew,templeton,maguire,holton,rider,monahan,mccormack,beaty,anders,streeter,nieto,nielson,moffett,lankford,keating,heck,gatlin,delatorre,callaway,adcock,worrell,unger,robinette,nowak,jeter,brunner,steen,parrott,overstreet,nobles,montanez,clevenger,brinkley,trahan,quarles,pickering,pederson,jansen,grantham,gilchrist,crespo,aiken,schell,schaeffer,lorenz,leyva,harms,dyson,wallis,pease,leavitt,cheng,cavanaugh,batts,warden,seaman,rockwell,quezada,paxton,linder,houck,fontaine,durant,caruso,adler,pimentel,mize,lytle,cleary,cason,acker,switzer,isaacs,higginbotham,waterman,vandyke,stamper,sisk,shuler,riddick,mcmahan,levesque,hatton,bronson,bollinger,arnett,okeefe,gerber,gannon,farnsworth,baughman,silverman,satterfield,mccrary,kowalski,grigsby,greco,cabral,trout,rinehart,mahon,linton,gooden,curley,baugh,wyman,weiner,schwab,schuler,morrissey,mahan,bunn,thrasher,spear,waggoner,qualls,purdy,mcwhorter,mauldin,gilman,perryman,newsom,menard,martino,graf,billingsley,artis,simpkins,salisbury,quintanilla,gilliland,fraley,foust,crouse,scarborough,grissom,fultz,marlow,markham,madrigal,lawton,barfield,whiting,varney,schwarz,gooch,arce,wheat,truong,poulin,hurtado,selby,gaither,fortner,culpepper,coughlin,brinson,boudreau,bales,stepp,holm,schilling,morrell,kahn,heaton,gamez,causey,turpin,shanks,schrader,meek,isom,hardison,carranza,yanez,scroggins,schofield,runyon,ratcliff,murrell,moeller,irby,currier,butterfield,ralston,pullen,pinson,estep,carbone,hawks,ellington,casillas,spurlock,sikes,motley,mccartney,kruger,isbell,houle,burk,tomlin,quigley,neumann,lovelace,fennell,cheatham,bustamante,skidmore,hidalgo,forman,culp,bowens,betancourt,aquino,robb,milner,martel,gresham,wiles,ricketts,dowd,collazo,bostic,blakely,sherrod,kenyon,gandy,ebert,deloach,allard,sauer,robins,olivares,gillette,chestnut,bourque,paine,hite,hauser,devore,crawley,chapa,talbert,poindexter,meador,mcduffie,mattox,kraus,harkins,choate,wren,sledge,sanborn,kinder,geary,cornwell,barclay,abney,seward,rhoads,howland,fortier,benner,vines,tubbs,troutman,rapp,mccurdy,deluca,westmoreland,havens,guajardo,clary,seal,meehan,herzog,guillen,ashcraft,waugh,renner,milam,elrod,churchill,breaux,bolin,asher,windham,tirado,pemberton,nolen,noland,knott,emmons,cornish,christenson,brownlee,barbee,waldrop,pitt,olvera,lombardi,gruber,gaffney,eggleston,banda,archuleta,slone,prewitt,pfeiffer,nettles,mena,mcadams,henning,gardiner,cromwell,chisholm,burleson,vest,oglesby,mccarter,lumpkin,wofford,vanhorn,thorn,teel,swafford,stclair,stanfield,ocampo,herrmann,hannon,arsenault,roush,mcalister,hiatt,gunderson,forsythe,duggan,delvalle,cintron,wilks,weinstein,uribe,rizzo,noyes,mclendon,gurley,bethea,winstead,maples,guyton,giordano,alderman,valdes,polanco,pappas,lively,grogan,griffiths,bobo,arevalo,whitson,sowell,rendon,fernandes,farrow,benavidez,ayres,alicea,stump,smalley,seitz,schulte,gilley,gallant,canfield,wolford,omalley,mcnutt,mcnulty,mcgovern,hardman,harbin,cowart,chavarria,brink,beckett,bagwell,armstead,anglin,abreu,reynoso,krebs,jett,hoffmann,greenfield,forte,burney,broome,sisson,trammell,partridge,mace,lomax,lemieux,gossett,frantz,fogle,cooney,broughton,pence,paulsen,muncy,mcarthur,hollins,beauchamp,withers,osorio,mulligan,hoyle,dockery,cockrell,begley,amador,roby,rains,lindquist,gentile,everhart,bohannon,wylie,sommers,purnell,fortin,dunning,breeden,vail,phelan,phan,marx,cosby,colburn,boling,biddle,ledesma,gaddis,denney,chow,bueno,berrios,wicker,tolliver,thibodeaux,nagle,lavoie,fisk,crist,barbosa,reedy,locklear,kolb,himes,behrens,beckwith,weems,wahl,shorter,shackelford,rees,muse,cerda,valadez,thibodeau,saavedra,ridgeway,reiter,mchenry,majors,lachance,keaton,ferrara,clemens,blocker,applegate,needham,mojica,kuykendall,hamel,escamilla,doughty,burchett,ainsworth,vidal,upchurch,thigpen,strauss,spruill,sowers,riggins,ricker,mccombs,harlow,buffington,sotelo,olivas,negrete,morey,macon,logsdon,lapointe,bigelow,bello,westfall,stubblefield,lindley,hein,hawes,farrington,breen,birch,wilde,steed,sepulveda,reinhardt,proffitt,minter,messina,mcnabb,maier,keeler,gamboa,donohue,basham,shinn,crooks,cota,borders,bills,bachman,tisdale,tavares,schmid,pickard,gulley,fonseca,delossantos,condon,batista,wicks,wadsworth,martell,littleton,ison,haag,folsom,brumfield,broyles,brito,mireles,mcdonnell,leclair,hamblin,gough,fanning,binder,winfield,whitworth,soriano,palumbo,newkirk,mangum,hutcherson,comstock,carlin,beall,bair,wendt,watters,walling,putman,otoole,morley,mares,lemus,keener,hundley,dial,damico,billups,strother,mcfarlane,lamm,eaves,crutcher,caraballo,canty,atwell,taft,siler,rust,rawls,rawlings,prieto,mcneely,mcafee,hulsey,hackney,galvez,escalante,delagarza,crider,bandy,wilbanks,stowe,steinberg,renfro,masterson,massie,lanham,haskell,hamrick,dehart,burdette,branson,bourne,babin,aleman,worthy,tibbs,smoot,slack,paradis,mull,luce,houghton,gantt,furman,danner,christianson,burge,ashford,arndt,almeida,stallworth,shade,searcy,sager,noonan,mclemore,mcintire,maxey,lavigne,jobe,ferrer,falk,coffin,byrnes,aranda,apodaca,stamps,rounds,peek,olmstead,lewandowski,kaminski,dunaway,bruns,brackett,amato,reich,mcclung,lacroix,koontz,herrick,hardesty,flanders,cousins,cato,cade,vickery,shank,nagel,dupuis,croteau,cotter,stuckey,stine,porterfield,pauley,moffitt,knudsen,hardwick,goforth,dupont,blunt,barrows,barnhill,shull,rash,loftis,lemay,kitchens,horvath,grenier,fuchs,fairbanks,culbertson,calkins,burnside,beattie,ashworth,albertson,wertz,vaught,vallejo,turk,tuck,tijerina,sage,peterman,marroquin,marr,lantz,hoang,demarco,cone,berube,barnette,wharton,stinnett,slocum,scanlon,sander,pinto,mancuso,lima,headley,epstein,counts,clarkson,carnahan,boren,arteaga,adame,zook,whittle,whitehurst,wenzel,saxton,reddick,puente,handley,haggerty,earley,devlin,chaffin,cady,acuna,solano,sigler,pollack,pendergrass,ostrander,janes,francois,crutchfield,chamberlin,brubaker,baptiste,willson,reis,neeley,mullin,mercier,lira,layman,keeling,higdon,espinal,chapin,warfield,toledo,pulido,peebles,nagy,montague,mello,lear,jaeger,hogg,graff,furr,soliz,poore,mendenhall,mclaurin,maestas,gable,barraza,tillery,snead,pond,neill,mcculloch,mccorkle,lightfoot,hutchings,holloman,harness,dorn,bock,zielinski,turley,treadwell,stpierre,starling,somers,oswald,merrick,easterling,bivens,truitt,poston,parry,ontiveros,olivarez,moreau,medlin,lenz,knowlton,fairley,cobbs,chisolm,bannister,woodworth,toler,ocasio,noriega,neuman,moye,milburn,mcclanahan,lilley,hanes,flannery,dellinger,danielson,conti,blodgett,beers,weatherford,strain,karr,hitt,denham,custer,coble,clough,casteel,bolduc,batchelor,ammons,whitlow,tierney,staten,sibley,seifert,schubert,salcedo,mattison,laney,haggard,grooms,dees,cromer,cooks,colson,caswell,zarate,swisher,shin,ragan,pridgen,mcvey,matheny,lafleur,franz,ferraro,dugger,whiteside,rigsby,mcmurray,lehmann,jacoby,hildebrand,hendrick,headrick,goad,fincher,drury,borges,archibald,albers,woodcock,trapp,soares,seaton,monson,luckett,lindberg,kopp,keeton,healey,garvey,gaddy,fain,burchfield,wentworth,strand,stack,spooner,saucier,ricci,plunkett,pannell,ness,leger,freitas,fong,elizondo,duval,beaudoin,urbina,rickard,partin,mcgrew,mcclintock,ledoux,forsyth,faison,devries,bertrand,wasson,tilton,scarbrough,leung,irvine,garber,denning,corral,colley,castleberry,bowlin,bogan,beale,baines,trice,rayburn,parkinson,nunes,mcmillen,leahy,kimmel,higgs,fulmer,carden,bedford,taggart,spearman,prichard,morrill,koonce,heinz,hedges,guenther,grice,findley,dover,creighton,boothe,bayer,arreola,vitale,valles,raney,osgood,hanlon,burley,bounds,worden,weatherly,vetter,tanaka,stiltner,nevarez,mosby,montero,melancon,harter,hamer,goble,gladden,gist,ginn,akin,zaragoza,tarver,sammons,royster,oreilly,muir,morehead,luster,kingsley,kelso,grisham,glynn,baumann,alves,yount,tamayo,paterson,oates,menendez,longo,hargis,gillen,desantis,conover,breedlove,sumpter,scherer,rupp,reichert,heredia,creel,cohn,clemmons,casas,bickford,belton,bach,williford,whitcomb,tennant,sutter,stull,mccallum,langlois,keel,keegan,dangelo,dancy,damron,clapp,clanton,bankston,oliveira,mintz,mcinnis,martens,mabe,laster,jolley,hildreth,hefner,glaser,duckett,demers,brockman,blais,alcorn,agnew,toliver,tice,seeley,najera,musser,mcfall,laplante,galvin,fajardo,doan,coyne,copley,clawson,cheung,barone,wynne,woodley,tremblay,stoll,sparrow,sparkman,schweitzer,sasser,samples,roney,legg,heim,farias,colwell,christman,bratcher,winchester,upshaw,southerland,sorrell,sells,mccloskey,martindale,luttrell,loveless,lovejoy,linares,latimer,embry,coombs,bratton,bostick,venable,tuggle,toro,staggs,sandlin,jefferies,heckman,griffis,crayton,clem,browder,thorton,sturgill,sprouse,royer,rousseau,ridenour,pogue,perales,peeples,metzler,mesa,mccutcheon,mcbee,hornsby,heffner,corrigan,armijo,plante,peyton,paredes,macklin,hussey,hodgson,granados,frias,becnel,batten,almanza,turney,teal,sturgeon,meeker,mcdaniels,limon,keeney,hutto,holguin,gorham,fishman,fierro,blanchette,rodrigue,reddy,osburn,oden,lerma,kirkwood,keefer,haugen,hammett,chalmers,brinkman,baumgartner,zhang,valerio,tellez,steffen,shumate,sauls,ripley,kemper,guffey,evers,craddock,carvalho,blaylock,banuelos,balderas,wheaton,turnbull,shuman,pointer,mosier,mccue,ligon,kozlowski,johansen,ingle,herr,briones,snipes,rickman,pipkin,pantoja,orosco,moniz,lawless,kunkel,hibbard,galarza,enos,bussey,schott,salcido,perreault,mcdougal,mccool,haight,garris,easton,conyers,atherton,wimberly,utley,spellman,smithson,slagle,ritchey,rand,petit,osullivan,oaks,nutt,mcvay,mccreary,mayhew,knoll,jewett,harwood,cardoza,ashe,arriaga,zeller,wirth,whitmire,stauffer,rountree,redden,mccaffrey,martz,larose,langdon,humes,gaskin,faber,devito,cass,almond,wingfield,wingate,villareal,tyner,smothers,severson,reno,pennell,maupin,leighton,janssen,hassell,hallman,halcomb,folse,fitzsimmons,fahey,cranford,bolen,battles,battaglia,wooldridge,trask,rosser,regalado,mcewen,keefe,fuqua,echevarria,caro,boynton,andrus,viera,vanmeter,taber,spradlin,seibert,provost,prentice,oliphant,laporte,hwang,hatchett,hass,greiner,freedman,covert,chilton,byars,wiese,venegas,swank,shrader,roberge,mullis,mortensen,mccune,marlowe,kirchner,keck,isaacson,hostetler,halverson,gunther,griswold,fenner,durden,blackwood,ahrens,sawyers,savoy,nabors,mcswain,mackay,lavender,lash,labbe,jessup,fullerton,cruse,crittenden,correia,centeno,caudle,canady,callender,alarcon,ahern,winfrey,tribble,salley,roden,musgrove,minnick,fortenberry,carrion,bunting,batiste,whited,underhill,stillwell,rauch,pippin,perrin,messenger,mancini,lister,kinard,hartmann,fleck,wilt,treadway,thornhill,spalding,rafferty,pitre,patino,ordonez,linkous,kelleher,homan,galbraith,feeney,curtin,coward,camarillo,buss,bunnell,bolt,beeler,autry,alcala,witte,wentz,stidham,shively,nunley,meacham,martins,lemke,lefebvre,hynes,horowitz,hoppe,holcombe,dunne,derr,cochrane,brittain,bedard,beauregard,torrence,strunk,soria,simonson,shumaker,scoggins,oconner,moriarty,kuntz,ives,hutcheson,horan,hales,garmon,fitts,bohn,atchison,wisniewski,vanwinkle,sturm,sallee,prosser,moen,lundberg,kunz,kohl,keane,jorgenson,jaynes,funderburk,freed,durr,creamer,cosgrove,batson,vanhoose,thomsen,teeter,smyth,redmon,orellana,maness,heflin,goulet,frick,forney,bunker,asbury,aguiar,talbott,southard,mowery,mears,lemmon,krieger,hickson,elston,duong,delgadillo,dayton,dasilva,conaway,catron,bruton,bradbury,bordelon,bivins,bittner,bergstrom,beals,abell,whelan,tejada,pulley,pino,norfleet,nealy,maes,loper,gatewood,frierson,freund,finnegan,cupp,covey,catalano,boehm,bader,yoon,walston,tenney,sipes,rawlins,medlock,mccaskill,mccallister,marcotte,maclean,hughey,henke,harwell,gladney,gilson,chism,caskey,brandenburg,baylor,villasenor,veal,thatcher,stegall,petrie,nowlin,navarrete,lombard,loftin,lemaster,kroll,kovach,kimbrell,kidwell,hershberger,fulcher,cantwell,bustos,boland,bobbitt,binkley,wester,weis,verdin,tong,tiller,sisco,sharkey,seymore,rosenbaum,rohr,quinonez,pinkston,malley,logue,lessard,lerner,lebron,krauss,klinger,halstead,haller,getz,burrow,alger,shores,pfeifer,perron,nelms,munn,mcmaster,mckenney,manns,knudson,hutchens,huskey,goebel,flagg,cushman,click,castellano,carder,bumgarner,wampler,spinks,robson,neel,mcreynolds,mathias,maas,loera,jenson,florez,coons,buckingham,brogan,berryman,wilmoth,wilhite,thrash,shephard,seidel,schulze,roldan,pettis,obryan,maki,mackie,hatley,frazer,fiore,chesser,bottoms,bisson,benefield,allman,wilke,trudeau,timm,shifflett,mundy,milliken,mayers,leake,kohn,huntington,horsley,hermann,guerin,fryer,frizzell,foret,flemming,fife,criswell,carbajal,bozeman,boisvert,angulo,wallen,tapp,silvers,ramsay,oshea,orta,moll,mckeever,mcgehee,linville,kiefer,ketchum,howerton,groce,gass,fusco,corbitt,betz,bartels,amaral,aiello,weddle,sperry,seiler,runyan,raley,overby,osteen,olds,mckeown,matney,lauer,lattimore,hindman,hartwell,fredrickson,fredericks,espino,clegg,carswell,cambell,burkholder,woodbury,welker,totten,thornburg,theriault,stitt,stamm,stackhouse,scholl,saxon,rife,razo,quinlan,pinkerton,olivo,nesmith,nall,mattos,lafferty,justus,giron,geer,fielder,drayton,dortch,conners,conger,boatwright,billiot,barden,armenta,tibbetts,steadman,slattery,rinaldi,raynor,pinckney,pettigrew,milne,matteson,halsey,gonsalves,fellows,durand,desimone,cowley,cowles,brill,barham,barela,barba,ashmore,withrow,valenti,tejeda,spriggs,sayre,salerno,peltier,peel,merriman,matheson,lowman,lindstrom,hyland,giroux,earls,dugas,dabney,collado,briseno,baxley,whyte,wenger,vanover,vanburen,thiel,schindler,schiller,rigby,pomeroy,passmore,marble,manzo,mahaffey,lindgren,laflamme,greathouse,fite,calabrese,bayne,yamamoto,wick,townes,thames,reinhart,peeler,naranjo,montez,mcdade,mast,markley,marchand,leeper,kellum,hudgens,hennessey,hadden,gainey,coppola,borrego,bolling,beane,ault,slaton,pape,null,mulkey,lightner,langer,hillard,ethridge,enright,derosa,baskin,weinberg,turman,somerville,pardo,noll,lashley,ingraham,hiller,hendon,glaze,cothran,cooksey,conte,carrico,abner,wooley,swope,summerlin,sturgis,sturdivant,stott,spurgeon,spillman,speight,roussel,popp,nutter,mckeon,mazza,magnuson,lanning,kozak,jankowski,heyward,forster,corwin,callaghan,bays,wortham,usher,theriot,sayers,sabo,poling,loya,lieberman,laroche,labelle,howes,harr,garay,fogarty,everson,durkin,dominquez,chaves,chambliss,witcher,vieira,vandiver,terrill,stoker,schreiner,moorman,liddell,lawhorn,krug,irons,hylton,hollenbeck,herrin,hembree,goolsby,goodin,gilmer,foltz,dinkins,daughtry,caban,brim,briley,bilodeau,wyant,vergara,tallent,swearingen,stroup,scribner,quillen,pitman,mccants,maxfield,martinson,holtz,flournoy,brookins,brody,baumgardner,straub,sills,roybal,roundtree,oswalt,mcgriff,mcdougall,mccleary,maggard,gragg,gooding,godinez,doolittle,donato,cowell,cassell,bracken,appel,zambrano,reuter,perea,nakamura,monaghan,mickens,mcclinton,mcclary,marler,kish,judkins,gilbreath,freese,flanigan,felts,erdmann,dodds,chew,brownell,boatright,barreto,slayton,sandberg,saldivar,pettway,odum,narvaez,moultrie,montemayor,merrell,lees,keyser,hoke,hardaway,hannan,gilbertson,fogg,dumont,deberry,coggins,buxton,bucher,broadnax,beeson,araujo,appleton,amundson,aguayo,ackley,yocum,worsham,shivers,sanches,sacco,robey,rhoden,pender,ochs,mccurry,madera,luong,knotts,jackman,heinrich,hargrave,gault,comeaux,chitwood,caraway,boettcher,bernhardt,barrientos,zink,wickham,whiteman,thorp,stillman,settles,schoonover,roque,riddell,pilcher,phifer,novotny,macleod,hardee,haase,grider,doucette,clausen,bevins,beamon,badillo,tolley,tindall,soule,snook,seale,pinkney,pellegrino,nowell,nemeth,mondragon,mclane,lundgren,ingalls,hudspeth,hixson,gearhart,furlong,downes,dibble,deyoung,cornejo,camara,brookshire,boyette,wolcott,surratt,sellars,segal,salyer,reeve,rausch,labonte,haro,gower,freeland,fawcett,eads,driggers,donley,collett,bromley,boatman,ballinger,baldridge,volz,trombley,stonge,shanahan,rivard,rhyne,pedroza,matias,jamieson,hedgepeth,hartnett,estevez,eskridge,denman,chiu,chinn,catlett,carmack,buie,bechtel,beardsley,bard,ballou,ulmer,skeen,robledo,rincon,reitz,piazza,munger,moten,mcmichael,loftus,ledet,kersey,groff,fowlkes,crumpton,clouse,bettis,villagomez,timmerman,strom,santoro,roddy,penrod,musselman,macpherson,leboeuf,harless,haddad,guido,golding,fulkerson,fannin,dulaney,dowdell,cottle,ceja,cate,bosley,benge,albritton,voigt,trowbridge,soileau,seely,rohde,pearsall,paulk,orth,nason,mota,mcmullin,marquardt,madigan,hoag,gillum,gabbard,fenwick,danforth,cushing,cress,creed,cazares,bettencourt,barringer,baber,stansberry,schramm,rutter,rivero,oquendo,necaise,mouton,montenegro,miley,mcgough,marra,macmillan,lamontagne,jasso,horst,hetrick,heilman,gaytan,gall,fortney,dingle,desjardins,dabbs,burbank,brigham,breland,beaman,arriola,yarborough,wallin,toscano,stowers,reiss,pichardo,orton,michels,mcnamee,mccrory,leatherman,kell,keister,horning,hargett,guay,ferro,deboer,dagostino,carper,blanks,beaudry,towle,tafoya,stricklin,strader,soper,sonnier,sigmon,schenk,saddler,pedigo,mendes,lunn,lohr,lahr,kingsbury,jarman,hume,holliman,hofmann,haworth,harrelson,hambrick,flick,edmunds,dacosta,crossman,colston,chaplin,carrell,budd,weiler,waits,valentino,trantham,tarr,solorio,roebuck,powe,plank,pettus,pagano,mink,luker,leathers,joslin,hartzell,gambrell,cepeda,carty,caputo,brewington,bedell,ballew,applewhite,warnock,walz,urena,tudor,reel,pigg,parton,mickelson,meagher,mclellan,mcculley,mandel,leech,lavallee,kraemer,kling,kipp,kehoe,hochstetler,harriman,gregoire,grabowski,gosselin,gammon,fancher,edens,desai,brannan,armendariz,woolsey,whitehouse,whetstone,ussery,towne,testa,tallman,studer,strait,steinmetz,sorrells,sauceda,rolfe,paddock,mitchem,mcginn,mccrea,lovato,hazen,gilpin,gaynor,fike,devoe,delrio,curiel,burkhardt,bode,backus,zinn,watanabe,wachter,vanpelt,turnage,shaner,schroder,sato,riordan,quimby,portis,natale,mckoy,mccown,kilmer,hotchkiss,hesse,halbert,gwinn,godsey,delisle,chrisman,canter,arbogast,angell,acree,yancy,woolley,wesson,weatherspoon,trainor,stockman,spiller,sipe,rooks,reavis,propst,porras,neilson,mullens,loucks,llewellyn,kumar,koester,klingensmith,kirsch,kester,honaker,hodson,hennessy,helmick,garrity,garibay,drain,casarez,callis,botello,aycock,avant,wingard,wayman,tully,theisen,szymanski,stansbury,segovia,rainwater,preece,pirtle,padron,mincey,mckelvey,mathes,larrabee,kornegay,klug,ingersoll,hecht,germain,eggers,dykstra,deering,decoteau,deason,dearing,cofield,carrigan,bonham,bahr,aucoin,appleby,almonte,yager,womble,wimmer,weimer,vanderpool,stancil,sprinkle,romine,remington,pfaff,peckham,olivera,meraz,maze,lathrop,koehn,hazelton,halvorson,hallock,haddock,ducharme,dehaven,caruthers,brehm,bosworth,bost,bias,beeman,basile,bane,aikens,wold,walther,tabb,suber,strawn,stocker,shirey,schlosser,riedel,rembert,reimer,pyles,peele,merriweather,letourneau,latta,kidder,hixon,hillis,hight,herbst,henriquez,haygood,hamill,gabel,fritts,eubank,dawes,correll,bushey,buchholz,brotherton,botts,barnwell,auger,atchley,westphal,veilleux,ulloa,stutzman,shriver,ryals,pilkington,moyers,marrs,mangrum,maddux,lockard,laing,kuhl,harney,hammock,hamlett,felker,doerr,depriest,carrasquillo,carothers,bogle,bischoff,bergen,albanese,wyckoff,vermillion,vansickle,thibault,tetreault,stickney,shoemake,ruggiero,rawson,racine,philpot,paschal,mcelhaney,mathison,legrand,lapierre,kwan,kremer,jiles,hilbert,geyer,faircloth,ehlers,egbert,desrosiers,dalrymple,cotten,cashman,cadena,boardman,alcaraz,wyrick,therrien,tankersley,strickler,puryear,plourde,pattison,pardue,mcginty,mcevoy,landreth,kuhns,koon,hewett,giddens,emerick,eades,deangelis,cosme,ceballos,birdsong,benham,bemis,armour,anguiano,welborn,tsosie,storms,shoup,sessoms,samaniego,rood,rojo,rhinehart,raby,northcutt,myer,munguia,morehouse,mcdevitt,mallett,lozada,lemoine,kuehn,hallett,grim,gillard,gaylor,garman,gallaher,feaster,faris,darrow,dardar,coney,carreon,braithwaite,boylan,boyett,bixler,bigham,benford,barragan,barnum,zuber,wyche,westcott,vining,stoltzfus,simonds,shupe,sabin,ruble,rittenhouse,richman,perrone,mulholland,millan,lomeli,kite,jemison,hulett,holler,hickerson,herold,hazelwood,griffen,gause,forde,eisenberg,dilworth,charron,chaisson,bristow,breunig,brace,boutwell,bentz,belk,bayless,batchelder,baran,baeza,zimmermann,weathersby,volk,toole,theis,tedesco,searle,schenck,satterwhite,ruelas,rankins,partida,nesbit,morel,menchaca,levasseur,kaylor,johnstone,hulse,hollar,hersey,harrigan,harbison,guyer,gish,giese,gerlach,geller,geisler,falcone,elwell,doucet,deese,darr,corder,chafin,byler,bussell,burdett,brasher,bowe,bellinger,bastian,barner,alleyne,wilborn,weil,wegner,tatro,spitzer,smithers,schoen,resendez,parisi,overman,obrian,mudd,mahler,maggio,lindner,lalonde,lacasse,laboy,killion,kahl,jessen,jamerson,houk,henshaw,gustin,graber,durst,duenas,davey,cundiff,conlon,colunga,coakley,chiles,capers,buell,bricker,bissonnette,bartz,bagby,zayas,volpe,treece,toombs,thom,terrazas,swinney,skiles,silveira,shouse,senn,ramage,moua,langham,kyles,holston,hoagland,herd,feller,denison,carraway,burford,bickel,ambriz,abercrombie,yamada,weidner,waddle,verduzco,thurmond,swindle,schrock,sanabria,rosenberger,probst,peabody,olinger,nazario,mccafferty,mcbroom,mcabee,mazur,matherne,mapes,leverett,killingsworth,heisler,griego,gosnell,frankel,franke,ferrante,fenn,ehrlich,christopherso,chasse,caton,brunelle,bloomfield,babbitt,azevedo,abramson,ables,abeyta,youmans,wozniak,wainwright,stowell,smitherman,samuelson,runge,rothman,rosenfeld,peake,owings,olmos,munro,moreira,leatherwood,larkins,krantz,kovacs,kizer,kindred,karnes,jaffe,hubbell,hosey,hauck,goodell,erdman,dvorak,doane,cureton,cofer,buehler,bierman,berndt,banta,abdullah,warwick,waltz,turcotte,torrey,stith,seger,sachs,quesada,pinder,peppers,pascual,paschall,parkhurst,ozuna,oster,nicholls,lheureux,lavalley,kimura,jablonski,haun,gourley,gilligan,croy,cotto,cargill,burwell,burgett,buckman,booher,adorno,wrenn,whittemore,urias,szabo,sayles,saiz,rutland,rael,pharr,pelkey,ogrady,nickell,musick,moats,mather,massa,kirschner,kieffer,kellar,hendershot,gott,godoy,gadson,furtado,fiedler,erskine,dutcher,dever,daggett,chevalier,brake,ballesteros,amerson,wingo,waldon,trott,silvey,showers,schlegel,ritz,pepin,pelayo,parsley,palermo,moorehead,mchale,lett,kocher,kilburn,iglesias,humble,hulbert,huckaby,hartford,hardiman,gurney,grigg,grasso,goings,fillmore,farber,depew,dandrea,cowen,covarrubias,burrus,bracy,ardoin,thompkins,standley,radcliffe,pohl,persaud,parenteau,pabon,newson,newhouse,napolitano,mulcahy,malave,keim,hooten,hernandes,heffernan,hearne,greenleaf,glick,fuhrman,fetter,faria,dishman,dickenson,crites,criss,clapper,chenault,castor,casto,bugg,bove,bonney,anderton,allgood,alderson,woodman,warrick,toomey,tooley,tarrant,summerville,stebbins,sokol,searles,schutz,schumann,scheer,remillard,raper,proulx,palmore,monroy,messier,melo,melanson,mashburn,manzano,lussier,jenks,huneycutt,hartwig,grimsley,fulk,fielding,fidler,engstrom,eldred,dantzler,crandell,calder,brumley,breton,brann,bramlett,boykins,bianco,bancroft,almaraz,alcantar,whitmer,whitener,welton,vineyard,rahn,paquin,mizell,mcmillin,mckean,marston,maciel,lundquist,liggins,lampkin,kranz,koski,kirkham,jiminez,hazzard,harrod,graziano,grammer,gendron,garrido,fordham,englert,dryden,demoss,deluna,crabb,comeau,brummett,blume,benally,wessel,vanbuskirk,thorson,stumpf,stockwell,reams,radtke,rackley,pelton,niemi,newland,nelsen,morrissette,miramontes,mcginley,mccluskey,marchant,luevano,lampe,lail,jeffcoat,infante,hinman,gaona,eady,desmarais,decosta,dansby,cisco,choe,breckenridge,bostwick,borg,bianchi,alberts,wilkie,whorton,vargo,tait,soucy,schuman,ousley,mumford,lippert,leath,lavergne,laliberte,kirksey,kenner,johnsen,izzo,hiles,gullett,greenwell,gaspar,galbreath,gaitan,ericson,delapaz,croom,cottingham,clift,bushnell,bice,beason,arrowood,waring,voorhees,truax,shreve,shockey,schatz,sandifer,rubino,rozier,roseberry,pieper,peden,nester,nave,murphey,malinowski,macgregor,lafrance,kunkle,kirkman,hipp,hasty,haddix,gervais,gerdes,gamache,fouts,fitzwater,dillingham,deming,deanda,cedeno,cannady,burson,bouldin,arceneaux,woodhouse,whitford,wescott,welty,weigel,torgerson,toms,surber,sunderland,sterner,setzer,riojas,pumphrey,puga,metts,mcgarry,mccandless,magill,lupo,loveland,llamas,leclerc,koons,kahler,huss,holbert,heintz,haupt,grimmett,gaskill,ellingson,dorr,dingess,deweese,desilva,crossley,cordeiro,converse,conde,caldera,cairns,burmeister,burkhalter,brawner,bott,youngs,vierra,valladares,shrum,shropshire,sevilla,rusk,rodarte,pedraza,nino,merino,mcminn,markle,mapp,lajoie,koerner,kittrell,kato,hyder,hollifield,heiser,hazlett,greenwald,fant,eldredge,dreher,delafuente,cravens,claypool,beecher,aronson,alanis,worthen,wojcik,winger,whitacre,valverde,valdivia,troupe,thrower,swindell,suttles,stroman,spires,slate,shealy,sarver,sartin,sadowski,rondeau,rolon,rascon,priddy,paulino,nolte,munroe,molloy,mciver,lykins,loggins,lenoir,klotz,kempf,hupp,hollowell,hollander,haynie,harkness,harker,gottlieb,frith,eddins,driskell,doggett,densmore,charette,cassady,byrum,burcham,buggs,benn,whitted,warrington,vandusen,vaillancourt,steger,siebert,scofield,quirk,purser,plumb,orcutt,nordstrom,mosely,michalski,mcphail,mcdavid,mccraw,marchese,mannino,lefevre,largent,lanza,kress,isham,hunsaker,hoch,hildebrandt,guarino,grijalva,graybill,fick,ewell,ewald,cusick,crumley,coston,cathcart,carruthers,bullington,bowes,blain,blackford,barboza,yingling,wert,weiland,varga,silverstein,sievers,shuster,shumway,runnels,rumsey,renfroe,provencher,polley,mohler,middlebrooks,kutz,koster,groth,glidden,fazio,deen,chipman,chenoweth,champlin,cedillo,carrero,carmody,buckles,brien,boutin,bosch,berkowitz,altamirano,wilfong,wiegand,waites,truesdale,toussaint,tobey,tedder,steelman,sirois,schnell,robichaud,richburg,plumley,pizarro,piercy,ortego,oberg,neace,mertz,mcnew,matta,lapp,lair,kibler,howlett,hollister,hofer,hatten,hagler,falgoust,engelhardt,eberle,dombrowski,dinsmore,daye,casares,braud,balch,autrey,wendel,tyndall,strobel,stoltz,spinelli,serrato,reber,rathbone,palomino,nickels,mayle,mathers,mach,loeffler,littrell,levinson,leong,lemire,lejeune,lazo,lasley,koller,kennard,hoelscher,hintz,hagerman,greaves,fore,eudy,engler,corrales,cordes,brunet,bidwell,bennet,tyrrell,tharpe,swinton,stribling,southworth,sisneros,savoie,samons,ruvalcaba,ries,ramer,omara,mosqueda,millar,mcpeak,macomber,luckey,litton,lehr,lavin,hubbs,hoard,hibbs,hagans,futrell,exum,evenson,culler,carbaugh,callen,brashear,bloomer,blakeney,bigler,addington,woodford,unruh,tolentino,sumrall,stgermain,smock,sherer,rayner,pooler,oquinn,nero,mcglothlin,linden,kowal,kerrigan,ibrahim,harvell,hanrahan,goodall,geist,fussell,fung,ferebee,eley,eggert,dorsett,dingman,destefano,colucci,clemmer,burnell,brumbaugh,boddie,berryhill,avelar,alcantara,winder,winchell,vandenberg,trotman,thurber,thibeault,stlouis,stilwell,sperling,shattuck,sarmiento,ruppert,rumph,renaud,randazzo,rademacher,quiles,pearman,palomo,mercurio,lowrey,lindeman,lawlor,larosa,lander,labrecque,hovis,holifield,henninger,hawkes,hartfield,hann,hague,genovese,garrick,fudge,frink,eddings,dinh,cribbs,calvillo,bunton,brodeur,bolding,blanding,agosto,zahn,wiener,trussell,tello,teixeira,speck,sharma,shanklin,sealy,scanlan,santamaria,roundy,robichaux,ringer,rigney,prevost,polson,nord,moxley,medford,mccaslin,mcardle,macarthur,lewin,lasher,ketcham,keiser,heine,hackworth,grose,grizzle,gillman,gartner,frazee,fleury,edson,edmonson,derry,cronk,conant,burress,burgin,broom,brockington,bolick,boger,birchfield,billington,baily,bahena,armbruster,anson,yoho,wilcher,tinney,timberlake,thielen,sutphin,stultz,sikora,serra,schulman,scheffler,santillan,rego,preciado,pinkham,mickle,lomas,lizotte,lent,kellerman,keil,johanson,hernadez,hartsfield,haber,gorski,farkas,eberhardt,duquette,delano,cropper,cozart,cockerham,chamblee,cartagena,cahoon,buzzell,brister,brewton,blackshear,benfield,aston,ashburn,arruda,wetmore,weise,vaccaro,tucci,sudduth,stromberg,stoops,showalter,shears,runion,rowden,rosenblum,riffle,renfrow,peres,obryant,leftwich,lark,landeros,kistler,killough,kerley,kastner,hoggard,hartung,guertin,govan,gatling,gailey,fullmer,fulford,flatt,esquibel,endicott,edmiston,edelstein,dufresne,dressler,dickman,chee,busse,bonnett,berard,yoshida,velarde,veach,vanhouten,vachon,tolson,tolman,tennyson,stites,soler,shutt,ruggles,rhone,pegues,neese,muro,moncrief,mefford,mcphee,mcmorris,mceachern,mcclurg,mansour,mader,leija,lecompte,lafountain,labrie,jaquez,heald,hash,hartle,gainer,frisby,farina,eidson,edgerton,dyke,durrett,duhon,cuomo,cobos,cervantez,bybee,brockway,borowski,binion,beery,arguello,amaro,acton,yuen,winton,wigfall,weekley,vidrine,vannoy,tardiff,shoop,shilling,schick,safford,prendergast,pilgrim,pellerin,osuna,nissen,nalley,moller,messner,messick,merrifield,mcguinness,matherly,marcano,mahone,lemos,lebrun,jara,hoffer,herren,hecker,haws,haug,gwin,gober,gilliard,fredette,favela,echeverria,downer,donofrio,desrochers,crozier,corson,bechtold,argueta,aparicio,zamudio,westover,westerman,utter,troyer,thies,tapley,slavin,shirk,sandler,roop,rimmer,raymer,radcliff,otten,moorer,millet,mckibben,mccutchen,mcavoy,mcadoo,mayorga,mastin,martineau,marek,madore,leflore,kroeger,kennon,jimerson,hostetter,hornback,hendley,hance,guardado,granado,gowen,goodale,flinn,fleetwood,fitz,durkee,duprey,dipietro,dilley,clyburn,brawley,beckley,arana,weatherby,vollmer,vestal,tunnell,trigg,tingle,takahashi,sweatt,storer,snapp,shiver,rooker,rathbun,poisson,perrine,perri,parmer,parke,pare,papa,palmieri,midkiff,mecham,mccomas,mcalpine,lovelady,lillard,lally,knopp,kile,kiger,haile,gupta,goldsberry,gilreath,fulks,friesen,franzen,flack,findlay,ferland,dreyer,dore,dennard,deckard,debose,crim,coulombe,chancey,cantor,branton,bissell,barns,woolard,witham,wasserman,spiegel,shoffner,scholz,ruch,rossman,petry,palacio,paez,neary,mortenson,millsap,miele,menke,mckim,mcanally,martines,lemley,larochelle,klaus,klatt,kaufmann,kapp,helmer,hedge,halloran,glisson,frechette,fontana,eagan,distefano,danley,creekmore,chartier,chaffee,carillo,burg,bolinger,berkley,benz,basso,bash,zelaya,woodring,witkowski,wilmot,wilkens,wieland,verdugo,urquhart,tsai,timms,swiger,swaim,sussman,pires,molnar,mcatee,lowder,loos,linker,landes,kingery,hufford,higa,hendren,hammack,hamann,gillam,gerhardt,edelman,delk,deans,curl,constantine,cleaver,claar,casiano,carruth,carlyle,brophy,bolanos,bibbs,bessette,beggs,baugher,bartel,averill,andresen,amin,adames,valente,turnbow,swink,sublett,stroh,stringfellow,ridgway,pugliese,poteat,ohare,neubauer,murchison,mingo,lemmons,kwon,kellam,kean,jarmon,hyden,hudak,hollinger,henkel,hemingway,hasson,hansel,halter,haire,ginsberg,gillispie,fogel,flory,etter,elledge,eckman,deas,currin,crafton,coomer,colter,claxton,bulter,braddock,bowyer,binns,bellows,baskerville,barros,ansley,woolf,wight,waldman,wadley,tull,trull,tesch,stouffer,stadler,slay,shubert,sedillo,santacruz,reinke,poynter,neri,neale,mowry,moralez,monger,mitchum,merryman,manion,macdougall,litchfield,levitt,lepage,lasalle,khoury,kavanagh,karns,ivie,huebner,hodgkins,halpin,garica,eversole,dutra,dunagan,duffey,dillman,dillion,deville,dearborn,damato,courson,coulson,burdine,bousquet,bonin,bish,atencio,westbrooks,wages,vaca,toner,tillis,swett,struble,stanfill,solorzano,slusher,sipple,silvas,shults,schexnayder,saez,rodas,rager,pulver,penton,paniagua,meneses,mcfarlin,mcauley,matz,maloy,magruder,lohman,landa,lacombe,jaimes,holzer,holst,heil,hackler,grundy,gilkey,farnham,durfee,dunton,dunston,duda,dews,craver,corriveau,conwell,colella,chambless,bremer,boutte,bourassa,blaisdell,backman,babineaux,audette,alleman,towner,taveras,tarango,sullins,suiter,stallard,solberg,schlueter,poulos,pimental,owsley,okelley,moffatt,metcalfe,meekins,medellin,mcglynn,mccowan,marriott,marable,lennox,lamoureux,koss,kerby,karp,isenberg,howze,hockenberry,highsmith,hallmark,gusman,greeley,giddings,gaudet,gallup,fleenor,eicher,edington,dimaggio,dement,demello,decastro,bushman,brundage,brooker,bourg,blackstock,bergmann,beaton,banister,argo,appling,wortman,watterson,villalpando,tillotson,tighe,sundberg,sternberg,stamey,shipe,seeger,scarberry,sattler,sain,rothstein,poteet,plowman,pettiford,penland,partain,pankey,oyler,ogletree,ogburn,moton,merkel,lucier,lakey,kratz,kinser,kershaw,josephson,imhoff,hendry,hammon,frisbie,frawley,fraga,forester,eskew,emmert,drennan,doyon,dandridge,cawley,carvajal,bracey,belisle,batey,ahner,wysocki,weiser,veliz,tincher,sansone,sankey,sandstrom,rohrer,risner,pridemore,pfeffer,persinger,peery,oubre,nowicki,musgrave,murdoch,mullinax,mccary,mathieu,livengood,kyser,klink,kimes,kellner,kavanaugh,kasten,imes,hoey,hinshaw,hake,gurule,grube,grillo,geter,gatto,garver,garretson,farwell,eiland,dunford,decarlo,corso,colman,collard,cleghorn,chasteen,cavender,carlile,calvo,byerly,brogdon,broadwater,breault,bono,bergin,behr,ballenger,amick,tamez,stiffler,steinke,simmon,shankle,schaller,salmons,sackett,saad,rideout,ratcliffe,ranson,plascencia,petterson,olszewski,olney,olguin,nilsson,nevels,morelli,montiel,monge,michaelson,mertens,mcchesney,mcalpin,mathewson,loudermilk,lineberry,liggett,kinlaw,kight,jost,hereford,hardeman,halpern,halliday,hafer,gaul,friel,freitag,forsberg,evangelista,doering,dicarlo,dendy,delp,deguzman,dameron,curtiss,cosper,cauthen,bradberry,bouton,bonnell,bixby,bieber,beveridge,bedwell,barhorst,bannon,baltazar,baier,ayotte,attaway,arenas,abrego,turgeon,tunstall,thaxton,tenorio,stotts,sthilaire,shedd,seabolt,scalf,salyers,ruhl,rowlett,robinett,pfister,perlman,pepe,parkman,nunnally,norvell,napper,modlin,mckellar,mcclean,mascarenas,leibowitz,ledezma,kuhlman,kobayashi,hunley,holmquist,hinkley,hazard,hartsell,gribble,gravely,fifield,eliason,doak,crossland,carleton,bridgeman,bojorquez,boggess,auten,woosley,whiteley,wexler,twomey,tullis,townley,standridge,santoyo,rueda,riendeau,revell,pless,ottinger,nigro,nickles,mulvey,menefee,mcshane,mcloughlin,mckinzie,markey,lockridge,lipsey,knisley,knepper,kitts,kiel,jinks,hathcock,godin,gallego,fikes,fecteau,estabrook,ellinger,dunlop,dudek,countryman,chauvin,chatham,bullins,brownfield,boughton,bloodworth,bibb,baucom,barbieri,aubin,armitage,alessi,absher,abbate,zito,woolery,wiggs,wacker,tynes,tolle,telles,tarter,swarey,strode,stockdale,stalnaker,spina,schiff,saari,risley,rameriz,rakes,pettaway,penner,paulus,palladino,omeara,montelongo,melnick,mehta,mcgary,mccourt,mccollough,marchetti,manzanares,lowther,leiva,lauderdale,lafontaine,kowalczyk,knighton,joubert,jaworski,huth,hurdle,housley,hackman,gulick,gordy,gilstrap,gehrke,gebhart,gaudette,foxworth,endres,dunkle,cimino,caddell,brauer,braley,bodine,blackmore,belden,backer,ayer,andress,wisner,vuong,valliere,twigg,tavarez,strahan,steib,staub,sowder,seiber,schutt,scharf,schade,rodriques,risinger,renshaw,rahman,presnell,piatt,nieman,nevins,mcilwain,mcgaha,mccully,mccomb,massengale,macedo,lesher,kearse,jauregui,husted,hudnall,holmberg,hertel,hardie,glidewell,frausto,fassett,dalessandro,dahlgren,corum,constantino,conlin,colquitt,colombo,claycomb,cardin,buller,boney,bocanegra,biggers,benedetto,araiza,andino,albin,zorn,werth,weisman,walley,vanegas,ulibarri,towe,tedford,teasley,suttle,steffens,stcyr,squire,singley,sifuentes,shuck,schram,sass,rieger,ridenhour,rickert,richerson,rayborn,rabe,raab,pendley,pastore,ordway,moynihan,mellott,mckissick,mcgann,mccready,mauney,marrufo,lenhart,lazar,lafave,keele,kautz,jardine,jahnke,jacobo,hord,hardcastle,hageman,giglio,gehring,fortson,duque,duplessis,dicken,derosier,deitz,dalessio,cram,castleman,candelario,callison,caceres,bozarth,biles,bejarano,bashaw,avina,armentrout,alverez,acord,waterhouse,vereen,vanlandingham,strawser,shotwell,severance,seltzer,schoonmaker,schock,schaub,schaffner,roeder,rodrigez,riffe,rasberry,rancourt,railey,quade,pursley,prouty,perdomo,oxley,osterman,nickens,murphree,mounts,merida,maus,mattern,masse,martinelli,mangan,lutes,ludwick,loney,laureano,lasater,knighten,kissinger,kimsey,kessinger,honea,hollingshead,hockett,heyer,heron,gurrola,gove,glasscock,gillett,galan,featherstone,eckhardt,duron,dunson,dasher,culbreth,cowden,cowans,claypoole,churchwell,chabot,caviness,cater,caston,callan,byington,burkey,boden,beckford,atwater,archambault,alvey,alsup,whisenant,weese,voyles,verret,tsang,tessier,sweitzer,sherwin,shaughnessy,revis,remy,prine,philpott,peavy,paynter,parmenter,ovalle,offutt,nightingale,newlin,nakano,myatt,muth,mohan,mcmillon,mccarley,mccaleb,maxson,marinelli,maley,liston,letendre,kain,huntsman,hirst,hagerty,gulledge,greenway,grajeda,gorton,goines,gittens,frederickson,fanelli,embree,eichelberger,dunkin,dixson,dillow,defelice,chumley,burleigh,borkowski,binette,biggerstaff,berglund,beller,audet,arbuckle,allain,alfano,youngman,wittman,weintraub,vanzant,vaden,twitty,stollings,standifer,sines,shope,scalise,saville,posada,pisano,otte,nolasco,mier,merkle,mendiola,melcher,mejias,mcmurry,mccalla,markowitz,manis,mallette,macfarlane,lough,looper,landin,kittle,kinsella,kinnard,hobart,helman,hellman,hartsock,halford,hage,gordan,glasser,gayton,gattis,gastelum,gaspard,frisch,fitzhugh,eckstein,eberly,dowden,despain,crumpler,crotty,cornelison,chouinard,chamness,catlin,cann,bumgardner,budde,branum,bradfield,braddy,borst,birdwell,bazan,banas,bade,arango,ahearn,addis,zumwalt,wurth,wilk,widener,wagstaff,urrutia,terwilliger,tart,steinman,staats,sloat,rives,riggle,revels,reichard,prickett,poff,pitzer,petro,pell,northrup,nicks,moline,mielke,maynor,mallon,magness,lingle,lindell,lieb,lesko,lebeau,lammers,lafond,kiernan,ketron,jurado,holmgren,hilburn,hayashi,hashimoto,harbaugh,guillot,gard,froehlich,feinberg,falco,dufour,drees,doney,diep,delao,daves,dail,crowson,coss,congdon,carner,camarena,butterworth,burlingame,bouffard,bloch,bilyeu,barta,bakke,baillargeon,avent,aquilar,zeringue,yarber,wolfson,vogler,voelker,truss,troxell,thrift,strouse,spielman,sistrunk,sevigny,schuller,schaaf,ruffner,routh,roseman,ricciardi,peraza,pegram,overturf,olander,odaniel,millner,melchor,maroney,machuca,macaluso,livesay,layfield,laskowski,kwiatkowski,kilby,hovey,heywood,hayman,havard,harville,haigh,hagood,grieco,glassman,gebhardt,fleischer,fann,elson,eccles,cunha,crumb,blakley,bardwell,abshire,woodham,wines,welter,wargo,varnado,tutt,traynor,swaney,stricker,stoffel,stambaugh,sickler,shackleford,selman,seaver,sansom,sanmiguel,royston,rourke,rockett,rioux,puleo,pitchford,nardi,mulvaney,middaugh,malek,leos,lathan,kujawa,kimbro,killebrew,houlihan,hinckley,herod,hepler,hamner,hammel,hallowell,gonsalez,gingerich,gambill,funkhouser,fricke,fewell,falkner,endsley,dulin,drennen,deaver,dambrosio,chadwell,castanon,burkes,brune,brisco,brinker,bowker,boldt,berner,beaumont,beaird,bazemore,barrick,albano,younts,wunderlich,weidman,vanness,toland,theobald,stickler,steiger,stanger,spies,spector,sollars,smedley,seibel,scoville,saito,rummel,rowles,rouleau,roos,rogan,roemer,ream,raya,purkey,priester,perreira,penick,paulin,parkins,overcash,oleson,neves,muldrow,minard,midgett,michalak,melgar,mcentire,mcauliffe,marte,lydon,lindholm,leyba,langevin,lagasse,lafayette,kesler,kelton,kaminsky,jaggers,humbert,huck,howarth,hinrichs,higley,gupton,guimond,gravois,giguere,fretwell,fontes,feeley,faucher,eichhorn,ecker,earp,dole,dinger,derryberry,demars,deel,copenhaver,collinsworth,colangelo,cloyd,claiborne,caulfield,carlsen,calzada,caffey,broadus,brenneman,bouie,bodnar,blaney,blanc,beltz,behling,barahona,yockey,winkle,windom,wimer,villatoro,trexler,teran,taliaferro,sydnor,swinson,snelling,smtih,simonton,simoneaux,simoneau,sherrer,seavey,scheel,rushton,rupe,ruano,rippy,reiner,reiff,rabinowitz,quach,penley,odle,nock,minnich,mckown,mccarver,mcandrew,longley,laux,lamothe,lafreniere,kropp,krick,kates,jepson,huie,howse,howie,henriques,haydon,haught,hatter,hartzog,harkey,grimaldo,goshorn,gormley,gluck,gilroy,gillenwater,giffin,fluker,feder,eyre,eshelman,eakins,detwiler,delrosario,davisson,catalan,canning,calton,brammer,botelho,blakney,bartell,averett,askins,aker,witmer,winkelman,widmer,whittier,weitzel,wardell,wagers,ullman,tupper,tingley,tilghman,talton,simard,seda,scheller,sala,rundell,rost,ribeiro,rabideau,primm,pinon,peart,ostrom,ober,nystrom,nussbaum,naughton,murr,moorhead,monti,monteiro,melson,meissner,mclin,mcgruder,marotta,makowski,majewski,madewell,lunt,lukens,leininger,lebel,lakin,kepler,jaques,hunnicutt,hungerford,hoopes,hertz,heins,halliburton,grosso,gravitt,glasper,gallman,gallaway,funke,fulbright,falgout,eakin,dostie,dorado,dewberry,derose,cutshall,crampton,costanzo,colletti,cloninger,claytor,chiang,campagna,burd,brokaw,broaddus,bretz,brainard,binford,bilbrey,alpert,aitken,ahlers,zajac,woolfolk,witten,windle,wayland,tramel,tittle,talavera,suter,straley,specht,sommerville,soloman,skeens,sigman,sibert,shavers,schuck,schmit,sartain,sabol,rosenblatt,rollo,rashid,rabb,polston,nyberg,northrop,navarra,muldoon,mikesell,mcdougald,mcburney,mariscal,lozier,lingerfelt,legere,latour,lagunas,lacour,kurth,killen,kiely,kayser,kahle,isley,huertas,hower,hinz,haugh,gumm,galicia,fortunato,flake,dunleavy,duggins,doby,digiovanni,devaney,deltoro,cribb,corpuz,coronel,coen,charbonneau,caine,burchette,blakey,blakemore,bergquist,beene,beaudette,bayles,ballance,bakker,bailes,asberry,arwood,zucker,willman,whitesell,wald,walcott,vancleave,trump,strasser,simas,shick,schleicher,schaal,saleh,rotz,resnick,rainer,partee,ollis,oller,oday,noles,munday,mong,millican,merwin,mazzola,mansell,magallanes,llanes,lewellen,lepore,kisner,keesee,jeanlouis,ingham,hornbeck,hawn,hartz,harber,haffner,gutshall,guth,grays,gowan,finlay,finkelstein,eyler,enloe,dungan,diez,dearman,cull,crosson,chronister,cassity,campion,callihan,butz,breazeale,blumenthal,berkey,batty,batton,arvizu,alderete,aldana,albaugh,abernethy,wolter,wille,tweed,tollefson,thomasson,teter,testerman,sproul,spates,southwick,soukup,skelly,senter,sealey,sawicki,sargeant,rossiter,rosemond,repp,pifer,ormsby,nickelson,naumann,morabito,monzon,millsaps,millen,mcelrath,marcoux,mantooth,madson,macneil,mackinnon,louque,leister,lampley,kushner,krouse,kirwan,jessee,janson,jahn,jacquez,islas,hutt,holladay,hillyer,hepburn,hensel,harrold,gingrich,geis,gales,fults,finnell,ferri,featherston,epley,ebersole,eames,dunigan,drye,dismuke,devaughn,delorenzo,damiano,confer,collum,clower,clow,claussen,clack,caylor,cawthon,casias,carreno,bluhm,bingaman,bewley,belew,beckner,auld,amey,wolfenbarger,wilkey,wicklund,waltman,villalba,valero,valdovinos,ullrich,tyus,twyman,trost,tardif,tanguay,stripling,steinbach,shumpert,sasaki,sappington,sandusky,reinhold,reinert,quijano,placencia,pinkard,phinney,perrotta,pernell,parrett,oxendine,owensby,orman,nuno,mori,mcroberts,mcneese,mckamey,mccullum,markel,mardis,maines,lueck,lubin,lefler,leffler,larios,labarbera,kershner,josey,jeanbaptiste,izaguirre,hermosillo,haviland,hartshorn,hafner,ginter,getty,franck,fiske,dufrene,doody,davie,dangerfield,dahlberg,cuthbertson,crone,coffelt,chidester,chesson,cauley,caudell,cantara,campo,caines,bullis,bucci,brochu,bogard,bickerstaff,benning,arzola,antonelli,adkinson,zellers,wulf,worsley,woolridge,whitton,westerfield,walczak,vassar,truett,trueblood,trawick,townsley,topping,tobar,telford,steverson,stagg,sitton,sill,sergent,schoenfeld,sarabia,rutkowski,rubenstein,rigdon,prentiss,pomerleau,plumlee,philbrick,patnode,oloughlin,obregon,nuss,morell,mikell,mele,mcinerney,mcguigan,mcbrayer,lollar,kuehl,kinzer,kamp,joplin,jacobi,howells,holstein,hedden,hassler,harty,halle,greig,gouge,goodrum,gerhart,geier,geddes,gast,forehand,ferree,fendley,feltner,esqueda,encarnacion,eichler,egger,edmundson,eatmon,doud,donohoe,donelson,dilorenzo,digiacomo,diggins,delozier,dejong,danford,crippen,coppage,cogswell,clardy,cioffi,cabe,brunette,bresnahan,blomquist,blackstone,biller,bevis,bevan,bethune,benbow,baty,basinger,balcom,andes,aman,aguero,adkisson,yandell,wilds,whisenhunt,weigand,weeden,voight,villar,trottier,tillett,suazo,setser,scurry,schuh,schreck,schauer,samora,roane,rinker,reimers,ratchford,popovich,parkin,natal,melville,mcbryde,magdaleno,loehr,lockman,lingo,leduc,larocca,lamere,laclair,krall,korte,koger,jalbert,hughs,higbee,henton,heaney,haith,gump,greeson,goodloe,gholston,gasper,gagliardi,fregoso,farthing,fabrizio,ensor,elswick,elgin,eklund,eaddy,drouin,dorton,dizon,derouen,deherrera,davy,dampier,cullum,culley,cowgill,cardoso,cardinale,brodsky,broadbent,brimmer,briceno,branscum,bolyard,boley,bennington,beadle,baur,ballentine,azure,aultman,arciniega,aguila,aceves,yepez,woodrum,wethington,weissman,veloz,trusty,troup,trammel,tarpley,stivers,steck,sprayberry,spraggins,spitler,spiers,sohn,seagraves,schiffman,rudnick,rizo,riccio,rennie,quackenbush,puma,plott,pearcy,parada,paiz,munford,moskowitz,mease,mcnary,mccusker,lozoya,longmire,loesch,lasky,kuhlmann,krieg,koziol,kowalewski,konrad,kindle,jowers,jolin,jaco,horgan,hine,hileman,hepner,heise,heady,hawkinson,hannigan,haberman,guilford,grimaldi,garton,gagliano,fruge,follett,fiscus,ferretti,ebner,easterday,eanes,dirks,dimarco,depalma,deforest,cruce,craighead,christner,candler,cadwell,burchell,buettner,brinton,brazier,brannen,brame,bova,bomar,blakeslee,belknap,bangs,balzer,athey,armes,alvis,alverson,alvardo,yeung,wheelock,westlund,wessels,volkman,threadgill,thelen,tague,symons,swinford,sturtevant,straka,stier,stagner,segarra,seawright,rutan,roux,ringler,riker,ramsdell,quattlebaum,purifoy,poulson,permenter,peloquin,pasley,pagel,osman,obannon,nygaard,newcomer,munos,motta,meadors,mcquiston,mcniel,mcmann,mccrae,mayne,matte,legault,lechner,kucera,krohn,kratzer,koopman,jeske,horrocks,hock,hibbler,hesson,hersh,harvin,halvorsen,griner,grindle,gladstone,garofalo,frampton,forbis,eddington,diorio,dingus,dewar,desalvo,curcio,creasy,cortese,cordoba,connally,cluff,cascio,capuano,canaday,calabro,bussard,brayton,borja,bigley,arnone,arguelles,acuff,zamarripa,wooton,widner,wideman,threatt,thiele,templin,teeters,synder,swint,swick,sturges,stogner,stedman,spratt,siegfried,shetler,scull,savino,sather,rothwell,rook,rone,rhee,quevedo,privett,pouliot,poche,pickel,petrillo,pellegrini,peaslee,partlow,otey,nunnery,morelock,morello,meunier,messinger,mckie,mccubbin,mccarron,lerch,lavine,laverty,lariviere,lamkin,kugler,krol,kissel,keeter,hubble,hickox,hetzel,hayner,hagy,hadlock,groh,gottschalk,goodsell,gassaway,garrard,galligan,firth,fenderson,feinstein,etienne,engleman,emrick,ellender,drews,doiron,degraw,deegan,dart,crissman,corr,cookson,coil,cleaves,charest,chapple,chaparro,castano,carpio,byer,bufford,bridgewater,bridgers,brandes,borrero,bonanno,aube,ancheta,abarca,abad,wooster,wimbush,willhite,willams,wigley,weisberg,wardlaw,vigue,vanhook,unknow,torre,tasker,tarbox,strachan,slover,shamblin,semple,schuyler,schrimsher,sayer,salzman,rubalcava,riles,reneau,reichel,rayfield,rabon,pyatt,prindle,poss,polito,plemmons,pesce,perrault,pereyra,ostrowski,nilsen,niemeyer,munsey,mundell,moncada,miceli,meader,mcmasters,mckeehan,matsumoto,marron,marden,lizarraga,lingenfelter,lewallen,langan,lamanna,kovac,kinsler,kephart,keown,kass,kammerer,jeffreys,hysell,hosmer,hardnett,hanner,guyette,greening,glazer,ginder,fromm,fluellen,finkle,fessler,essary,eisele,duren,dittmer,crochet,cosentino,cogan,coelho,cavin,carrizales,campuzano,brough,bopp,bookman,bobb,blouin,beesley,battista,bascom,bakken,badgett,arneson,anselmo,albino,ahumada,woodyard,wolters,wireman,willison,warman,waldrup,vowell,vantassel,twombly,toomer,tennison,teets,tedeschi,swanner,stutz,stelly,sheehy,schermerhorn,scala,sandidge,salters,salo,saechao,roseboro,rolle,ressler,renz,renn,redford,raposa,rainbolt,pelfrey,orndorff,oney,nolin,nimmons,nardone,myhre,morman,menjivar,mcglone,mccammon,maxon,marciano,manus,lowrance,lorenzen,lonergan,lollis,littles,lindahl,lamas,lach,kuster,krawczyk,knuth,knecht,kirkendall,keitt,keever,kantor,jarboe,hoye,houchens,holter,holsinger,hickok,helwig,helgeson,hassett,harner,hamman,hames,hadfield,goree,goldfarb,gaughan,gaudreau,gantz,gallion,frady,foti,flesher,ferrin,faught,engram,donegan,desouza,degroot,cutright,crowl,criner,coan,clinkscales,chewning,chavira,catchings,carlock,bulger,buenrostro,bramblett,brack,boulware,bookout,bitner,birt,baranowski,baisden,allmon,acklin,yoakum,wilbourn,whisler,weinberger,washer,vasques,vanzandt,vanatta,troxler,tomes,tindle,tims,throckmorton,thach,stpeter,stlaurent,stenson,spry,spitz,songer,snavely,shroyer,shortridge,shenk,sevier,seabrook,scrivner,saltzman,rosenberry,rockwood,robeson,roan,reiser,ramires,raber,posner,popham,piotrowski,pinard,peterkin,pelham,peiffer,peay,nadler,musso,millett,mestas,mcgowen,marques,marasco,manriquez,manos,mair,lipps,leiker,krumm,knorr,kinslow,kessel,kendricks,kelm,irick,ickes,hurlburt,horta,hoekstra,heuer,helmuth,heatherly,hampson,hagar,haga,greenlaw,grau,godbey,gingras,gillies,gibb,gayden,gauvin,garrow,fontanez,florio,finke,fasano,ezzell,ewers,eveland,eckenrode,duclos,drumm,dimmick,delancey,defazio,dashiell,cusack,crowther,crigger,cray,coolidge,coldiron,cleland,chalfant,cassel,camire,cabrales,broomfield,brittingham,brisson,brickey,braziel,brazell,bragdon,boulanger,boman,bohannan,beem,barre,azar,ashbaugh,armistead,almazan,adamski,zendejas,winburn,willaims,wilhoit,westberry,wentzel,wendling,visser,vanscoy,vankirk,vallee,tweedy,thornberry,sweeny,spradling,spano,smelser,shim,sechrist,schall,scaife,rugg,rothrock,roesler,riehl,ridings,render,ransdell,radke,pinero,petree,pendergast,peluso,pecoraro,pascoe,panek,oshiro,navarrette,murguia,moores,moberg,michaelis,mcwhirter,mcsweeney,mcquade,mccay,mauk,mariani,marceau,mandeville,maeda,lunde,ludlow,loeb,lindo,linderman,leveille,leith,larock,lambrecht,kulp,kinsley,kimberlin,kesterson,hoyos,helfrich,hanke,grisby,goyette,gouveia,glazier,gile,gerena,gelinas,gasaway,funches,fujimoto,flynt,fenske,fellers,fehr,eslinger,escalera,enciso,duley,dittman,dineen,diller,devault,collings,clymer,clowers,chavers,charland,castorena,castello,camargo,bunce,bullen,boyes,borchers,borchardt,birnbaum,birdsall,billman,benites,bankhead,ange,ammerman,adkison,winegar,wickman,warr,warnke,villeneuve,veasey,vassallo,vannatta,vadnais,twilley,towery,tomblin,tippett,theiss,talkington,talamantes,swart,swanger,streit,stines,stabler,spurling,sobel,sine,simmers,shippy,shiflett,shearin,sauter,sanderlin,rusch,runkle,ruckman,rorie,roesch,richert,rehm,randel,ragin,quesenberry,puentes,plyler,plotkin,paugh,oshaughnessy,ohalloran,norsworthy,niemann,nader,moorefield,mooneyham,modica,miyamoto,mickel,mebane,mckinnie,mazurek,mancilla,lukas,lovins,loughlin,lotz,lindsley,liddle,levan,lederman,leclaire,lasseter,lapoint,lamoreaux,lafollette,kubiak,kirtley,keffer,kaczmarek,housman,hiers,hibbert,herrod,hegarty,hathorn,greenhaw,grafton,govea,futch,furst,franko,forcier,foran,flickinger,fairfield,eure,emrich,embrey,edgington,ecklund,eckard,durante,deyo,delvecchio,dade,currey,creswell,cottrill,casavant,cartier,cargile,capel,cammack,calfee,burse,burruss,brust,brousseau,bridwell,braaten,borkholder,bloomquist,bjork,bartelt,amburgey,yeary,whitefield,vinyard,vanvalkenburg,twitchell,timmins,tapper,stringham,starcher,spotts,slaugh,simonsen,sheffer,sequeira,rosati,rhymes,quint,pollak,peirce,patillo,parkerson,paiva,nilson,nevin,narcisse,mitton,merriam,merced,meiners,mckain,mcelveen,mcbeth,marsden,marez,manke,mahurin,mabrey,luper,krull,hunsicker,hornbuckle,holtzclaw,hinnant,heston,hering,hemenway,hegwood,hearns,halterman,guiterrez,grote,granillo,grainger,glasco,gilder,garren,garlock,garey,fryar,fredricks,fraizer,foshee,ferrel,felty,everitt,evens,esser,elkin,eberhart,durso,duguay,driskill,doster,dewall,deveau,demps,demaio,delreal,deleo,darrah,cumberbatch,culberson,cranmer,cordle,colgan,chesley,cavallo,castellon,castelli,carreras,carnell,carlucci,bontrager,blumberg,blasingame,becton,artrip,andujar,alkire,alder,zukowski,zuckerman,wroblewski,wrigley,woodside,wigginton,westman,westgate,werts,washam,wardlow,walser,waiters,tadlock,stringfield,stimpson,stickley,standish,spurlin,spindler,speller,spaeth,sotomayor,sluder,shryock,shepardson,shatley,scannell,santistevan,rosner,resto,reinhard,rathburn,prisco,poulsen,pinney,phares,pennock,pastrana,oviedo,ostler,nauman,mulford,moise,moberly,mirabal,metoyer,metheny,mentzer,meldrum,mcinturff,mcelyea,mcdougle,massaro,lumpkins,loveday,lofgren,lirette,lesperance,lefkowitz,ledger,lauzon,lachapelle,klassen,keough,kempton,kaelin,jeffords,hsieh,hoyer,horwitz,hoeft,hennig,haskin,gourdine,golightly,girouard,fulgham,fritsch,freer,frasher,foulk,firestone,fiorentino,fedor,ensley,englehart,eells,dunphy,donahoe,dileo,dibenedetto,dabrowski,crick,coonrod,conder,coddington,chunn,chaput,cerna,carreiro,calahan,braggs,bourdon,bollman,bittle,bauder,barreras,aubuchon,anzalone,adamo,zerbe,willcox,westberg,weikel,waymire,vroman,vinci,vallejos,truesdell,troutt,trotta,tollison,toles,tichenor,symonds,surles,strayer,stgeorge,sroka,sorrentino,solares,snelson,silvestri,sikorski,shawver,schumaker,schorr,schooley,scates,satterlee,satchell,rymer,roselli,robitaille,riegel,regis,reames,provenzano,priestley,plaisance,pettey,palomares,nowakowski,monette,minyard,mclamb,mchone,mccarroll,masson,magoon,maddy,lundin,licata,leonhardt,landwehr,kircher,kinch,karpinski,johannsen,hussain,houghtaling,hoskinson,hollaway,holeman,hobgood,hiebert,goggin,geissler,gadbois,gabaldon,fleshman,flannigan,fairman,eilers,dycus,dunmire,duffield,dowler,deloatch,dehaan,deemer,clayborn,christofferso,chilson,chesney,chatfield,carron,canale,brigman,branstetter,bosse,borton,bonar,biron,barroso,arispe,zacharias,zabel,yaeger,woolford,whetzel,weakley,veatch,vandeusen,tufts,troxel,troche,traver,townsel,talarico,swilley,sterrett,stenger,speakman,sowards,sours,souders,souder,soles,sobers,snoddy,smither,shute,shoaf,shahan,schuetz,scaggs,santini,rosson,rolen,robidoux,rentas,recio,pixley,pawlowski,pawlak,paull,overbey,orear,oliveri,oldenburg,nutting,naugle,mossman,misner,milazzo,michelson,mcentee,mccullar,mccree,mcaleer,mazzone,mandell,manahan,malott,maisonet,mailloux,lumley,lowrie,louviere,lipinski,lindemann,leppert,leasure,labarge,kubik,knisely,knepp,kenworthy,kennelly,kelch,kanter,houchin,hosley,hosler,hollon,holleman,heitman,haggins,gwaltney,goulding,gorden,geraci,gathers,frison,feagin,falconer,espada,erving,erikson,eisenhauer,ebeling,durgin,dowdle,dinwiddie,delcastillo,dedrick,crimmins,covell,cournoyer,coria,cohan,cataldo,carpentier,canas,campa,brode,brashears,blaser,bicknell,bednar,barwick,ascencio,althoff,almodovar,alamo,zirkle,zabala,wolverton,winebrenner,wetherell,westlake,wegener,weddington,tuten,trosclair,tressler,theroux,teske,swinehart,swensen,sundquist,southall,socha,sizer,silverberg,shortt,shimizu,sherrard,shaeffer,scheid,scheetz,saravia,sanner,rubinstein,rozell,romer,rheaume,reisinger,randles,pullum,petrella,payan,nordin,norcross,nicoletti,nicholes,newbold,nakagawa,monteith,milstead,milliner,mellen,mccardle,liptak,leitch,latimore,larrison,landau,laborde,koval,izquierdo,hymel,hoskin,holte,hoefer,hayworth,hausman,harrill,harrel,hardt,gully,groover,grinnell,greenspan,graver,grandberry,gorrell,goldenberg,goguen,gilleland,fuson,feldmann,everly,dyess,dunnigan,downie,dolby,deatherage,cosey,cheever,celaya,caver,cashion,caplinger,cansler,byrge,bruder,breuer,breslin,brazelton,botkin,bonneau,bondurant,bohanan,bogue,bodner,boatner,blatt,bickley,belliveau,beiler,beier,beckstead,bachmann,atkin,altizer,alloway,allaire,albro,abron,zellmer,yetter,yelverton,wiens,whidden,viramontes,vanwormer,tarantino,tanksley,sumlin,strauch,strang,stice,spahn,sosebee,sigala,shrout,seamon,schrum,schneck,schantz,ruddy,romig,roehl,renninger,reding,polak,pohlman,pasillas,oldfield,oldaker,ohanlon,ogilvie,norberg,nolette,neufeld,nellis,mummert,mulvihill,mullaney,monteleone,mendonca,meisner,mcmullan,mccluney,mattis,massengill,manfredi,luedtke,lounsbury,liberatore,lamphere,laforge,jourdan,iorio,iniguez,ikeda,hubler,hodgdon,hocking,heacock,haslam,haralson,hanshaw,hannum,hallam,haden,garnes,garces,gammage,gambino,finkel,faucett,ehrhardt,eggen,dusek,durrant,dubay,dones,depasquale,delucia,degraff,decamp,davalos,cullins,conard,clouser,clontz,cifuentes,chappel,chaffins,celis,carwile,byram,bruggeman,bressler,brathwaite,brasfield,bradburn,boose,bodie,blosser,bertsch,bernardi,bernabe,bengtson,barrette,astorga,alday,albee,abrahamson,yarnell,wiltse,wiebe,waguespack,vasser,upham,turek,traxler,torain,tomaszewski,tinnin,tiner,tindell,styron,stahlman,staab,skiba,sheperd,seidl,secor,schutte,sanfilippo,ruder,rondon,rearick,procter,prochaska,pettengill,pauly,neilsen,nally,mullenax,morano,meads,mcnaughton,mcmurtry,mcmath,mckinsey,matthes,massenburg,marlar,margolis,malin,magallon,mackin,lovette,loughran,loring,longstreet,loiselle,lenihan,kunze,koepke,kerwin,kalinowski,kagan,innis,innes,holtzman,heinemann,harshman,haider,haack,grondin,grissett,greenawalt,goudy,goodlett,goldston,gokey,gardea,galaviz,gafford,gabrielson,furlow,fritch,fordyce,folger,elizalde,ehlert,eckhoff,eccleston,ealey,dubin,diemer,deschamps,delapena,decicco,debolt,cullinan,crittendon,crase,cossey,coppock,coots,colyer,cluck,chamberland,burkhead,bumpus,buchan,borman,birkholz,berardi,benda,behnke,barter,amezquita,wotring,wirtz,wingert,wiesner,whitesides,weyant,wainscott,venezia,varnell,tussey,thurlow,tabares,stiver,stell,starke,stanhope,stanek,sisler,sinnott,siciliano,shehan,selph,seager,scurlock,scranton,santucci,santangelo,saltsman,rogge,rettig,renwick,reidy,reider,redfield,premo,parente,paolucci,palmquist,ohler,netherton,mutchler,morita,mistretta,minnis,middendorf,menzel,mendosa,mendelson,meaux,mcspadden,mcquaid,mcnatt,manigault,maney,mager,lukes,lopresti,liriano,letson,lechuga,lazenby,lauria,larimore,krupp,krupa,kopec,kinchen,kifer,kerney,kerner,kennison,kegley,karcher,justis,johson,jellison,janke,huskins,holzman,hinojos,hefley,hatmaker,harte,halloway,hallenbeck,goodwyn,glaspie,geise,fullwood,fryman,frakes,fraire,farrer,enlow,engen,ellzey,eckles,earles,dunkley,drinkard,dreiling,draeger,dinardo,dills,desroches,desantiago,curlee,crumbley,critchlow,coury,courtright,coffield,cleek,charpentier,cardone,caples,cantin,buntin,bugbee,brinkerhoff,brackin,bourland,blassingame,beacham,banning,auguste,andreasen,amann,almon,alejo,adelman,abston,yerger,wymer,woodberry,windley,whiteaker,westfield,weibel,wanner,waldrep,villani,vanarsdale,utterback,updike,triggs,topete,tolar,tigner,thoms,tauber,tarvin,tally,swiney,sweatman,studebaker,stennett,starrett,stannard,stalvey,sonnenberg,smithey,sieber,sickles,shinault,segars,sanger,salmeron,rothe,rizzi,restrepo,ralls,ragusa,quiroga,papenfuss,oropeza,okane,mudge,mozingo,molinaro,mcvicker,mcgarvey,mcfalls,mccraney,matus,magers,llanos,livermore,linehan,leitner,laymon,lawing,lacourse,kwong,kollar,kneeland,kennett,kellett,kangas,janzen,hutter,huling,hofmeister,hewes,harjo,habib,guice,grullon,greggs,grayer,granier,grable,gowdy,giannini,getchell,gartman,garnica,ganey,gallimore,fetters,fergerson,farlow,fagundes,exley,esteves,enders,edenfield,easterwood,drakeford,dipasquale,desousa,deshields,deeter,dedmon,debord,daughtery,cutts,courtemanche,coursey,copple,coomes,collis,cogburn,clopton,choquette,chaidez,castrejon,calhoon,burbach,bulloch,buchman,bruhn,bohon,blough,baynes,barstow,zeman,zackery,yardley,yamashita,wulff,wilken,wiliams,wickersham,wible,whipkey,wedgeworth,walmsley,walkup,vreeland,verrill,umana,traub,swingle,summey,stroupe,stockstill,steffey,stefanski,statler,stapp,speights,solari,soderberg,shunk,shorey,shewmaker,sheilds,schiffer,schank,schaff,sagers,rochon,riser,rickett,reale,raglin,polen,plata,pitcock,percival,palen,orona,oberle,nocera,navas,nault,mullings,montejano,monreal,minick,middlebrook,meece,mcmillion,mccullen,mauck,marshburn,maillet,mahaney,magner,maclin,lucey,litteral,lippincott,leite,leaks,lamarre,jurgens,jerkins,jager,hurwitz,hughley,hotaling,horstman,hohman,hocker,hively,hipps,hessler,hermanson,hepworth,helland,hedlund,harkless,haigler,gutierez,grindstaff,glantz,giardina,gerken,gadsden,finnerty,farnum,encinas,drakes,dennie,cutlip,curtsinger,couto,cortinas,corby,chiasson,carle,carballo,brindle,borum,bober,blagg,berthiaume,beahm,batres,basnight,backes,axtell,atterberry,alvares,alegria,woodell,wojciechowski,winfree,winbush,wiest,wesner,wamsley,wakeman,verner,truex,trafton,toman,thorsen,theus,tellier,tallant,szeto,strope,stills,simkins,shuey,shaul,servin,serio,serafin,salguero,ryerson,rudder,ruark,rother,rohrbaugh,rohrbach,rohan,rogerson,risher,reeser,pryce,prokop,prins,priebe,prejean,pinheiro,petrone,petri,penson,pearlman,parikh,natoli,murakami,mullikin,mullane,motes,morningstar,mcveigh,mcgrady,mcgaughey,mccurley,marchan,manske,lusby,linde,likens,licon,leroux,lemaire,legette,laskey,laprade,laplant,kolar,kittredge,kinley,kerber,kanagy,jetton,janik,ippolito,inouye,hunsinger,howley,howery,horrell,holthaus,hiner,hilson,hilderbrand,hartzler,harnish,harada,hansford,halligan,hagedorn,gwynn,gudino,greenstein,greear,gracey,goudeau,goodner,ginsburg,gerth,gerner,fujii,frier,frenette,folmar,fleisher,fleischmann,fetzer,eisenman,earhart,dupuy,dunkelberger,drexler,dillinger,dilbeck,dewald,demby,deford,craine,chesnut,casady,carstens,carrick,carino,carignan,canchola,bushong,burman,buono,brownlow,broach,britten,brickhouse,boyden,boulton,borland,bohrer,blubaugh,bever,berggren,benevides,arocho,arends,amezcua,almendarez,zalewski,witzel,winkfield,wilhoite,vangundy,vanfleet,vanetten,vandergriff,urbanski,troiano,thibodaux,straus,stoneking,stjean,stillings,stange,speicher,speegle,smeltzer,slawson,simmonds,shuttleworth,serpa,senger,seidman,schweiger,schloss,schimmel,schechter,sayler,sabatini,ronan,rodiguez,riggleman,richins,reamer,prunty,porath,plunk,piland,philbrook,pettitt,perna,peralez,pascale,padula,oboyle,nivens,nickols,mundt,munden,montijo,mcmanis,mcgrane,mccrimmon,manzi,mangold,malick,mahar,maddock,losey,litten,leedy,leavell,ladue,krahn,kluge,junker,iversen,imler,hurtt,huizar,hubbert,howington,hollomon,holdren,hoisington,heiden,hauge,hartigan,gutirrez,griffie,greenhill,gratton,granata,gottfried,gertz,gautreaux,furry,furey,funderburg,flippen,fitzgibbon,drucker,donoghue,dildy,devers,detweiler,despres,denby,degeorge,cueto,cranston,courville,clukey,cirillo,chivers,caudillo,butera,bulluck,buckmaster,braunstein,bracamonte,bourdeau,bonnette".split(","),us_tv_and_film:"you,i,to,that,it,me,what,this,know,i'm,no,have,my,don't,just,not,do,be,your,we,it's,so,but,all,well,oh,about,right,you're,get,here,out,going,like,yeah,if,can,up,want,think,that's,now,go,him,how,got,did,why,see,come,good,really,look,will,okay,back,can't,mean,tell,i'll,hey,he's,could,didn't,yes,something,because,say,take,way,little,make,need,gonna,never,we're,too,she's,i've,sure,our,sorry,what's,let,thing,maybe,down,man,very,there's,should,anything,said,much,any,even,off,please,doing,thank,give,thought,help,talk,god,still,wait,find,nothing,again,things,let's,doesn't,call,told,great,better,ever,night,away,believe,feel,everything,you've,fine,last,keep,does,put,around,stop,they're,i'd,guy,isn't,always,listen,wanted,guys,huh,those,big,lot,happened,thanks,won't,trying,kind,wrong,talking,guess,care,bad,mom,remember,getting,we'll,together,dad,leave,understand,wouldn't,actually,hear,baby,nice,father,else,stay,done,wasn't,course,might,mind,every,enough,try,hell,came,someone,you'll,whole,yourself,idea,ask,must,coming,looking,woman,room,knew,tonight,real,son,hope,went,hmm,happy,pretty,saw,girl,sir,friend,already,saying,next,job,problem,minute,thinking,haven't,heard,honey,matter,myself,couldn't,exactly,having,probably,happen,we've,hurt,boy,dead,gotta,alone,excuse,start,kill,hard,you'd,today,car,ready,without,wants,hold,wanna,yet,seen,deal,once,gone,morning,supposed,friends,head,stuff,worry,live,truth,face,forget,true,cause,soon,knows,telling,wife,who's,chance,run,move,anyone,person,bye,somebody,heart,miss,making,meet,anyway,phone,reason,damn,lost,looks,bring,case,turn,wish,tomorrow,kids,trust,check,change,anymore,least,aren't,working,makes,taking,means,brother,hate,ago,says,beautiful,gave,fact,crazy,sit,afraid,important,rest,fun,kid,word,watch,glad,everyone,sister,minutes,everybody,bit,couple,whoa,either,mrs,feeling,daughter,wow,gets,asked,break,promise,door,close,hand,easy,question,tried,far,walk,needs,mine,killed,hospital,anybody,alright,wedding,shut,able,die,perfect,stand,comes,hit,waiting,dinner,funny,husband,almost,pay,answer,cool,eyes,news,child,shouldn't,yours,moment,sleep,read,where's,sounds,sonny,pick,sometimes,bed,date,plan,hours,lose,hands,serious,shit,behind,inside,ahead,week,wonderful,fight,past,cut,quite,he'll,sick,it'll,eat,nobody,goes,save,seems,finally,lives,worried,upset,carly,met,brought,seem,sort,safe,weren't,leaving,front,shot,loved,asking,running,clear,figure,hot,felt,parents,drink,absolutely,how's,daddy,sweet,alive,sense,meant,happens,bet,blood,ain't,kidding,lie,meeting,dear,seeing,sound,fault,ten,buy,hour,speak,lady,jen,thinks,christmas,outside,hang,possible,worse,mistake,ooh,handle,spend,totally,giving,here's,marriage,realize,unless,sex,send,needed,scared,picture,talked,ass,hundred,changed,completely,explain,certainly,sign,boys,relationship,loves,hair,lying,choice,anywhere,future,weird,luck,she'll,turned,touch,kiss,crane,questions,obviously,wonder,pain,calling,somewhere,throw,straight,cold,fast,words,food,none,drive,feelings,they'll,marry,drop,cannot,dream,protect,twenty,surprise,sweetheart,poor,looked,mad,except,gun,y'know,dance,takes,appreciate,especially,situation,besides,pull,hasn't,worth,sheridan,amazing,expect,swear,piece,busy,happening,movie,we'd,catch,perhaps,step,fall,watching,kept,darling,dog,honor,moving,till,admit,problems,murder,he'd,evil,definitely,feels,honest,eye,broke,missed,longer,dollars,tired,evening,starting,entire,trip,niles,suppose,calm,imagine,fair,caught,blame,sitting,favor,apartment,terrible,clean,learn,frasier,relax,accident,wake,prove,smart,message,missing,forgot,interested,table,nbsp,mouth,pregnant,ring,careful,shall,dude,ride,figured,wear,shoot,stick,follow,angry,write,stopped,ran,standing,forgive,jail,wearing,ladies,kinda,lunch,cristian,greenlee,gotten,hoping,phoebe,thousand,ridge,paper,tough,tape,count,boyfriend,proud,agree,birthday,they've,share,offer,hurry,feet,wondering,decision,ones,finish,voice,herself,would've,mess,deserve,evidence,cute,dress,interesting,hotel,enjoy,quiet,concerned,staying,beat,sweetie,mention,clothes,fell,neither,mmm,fix,respect,prison,attention,holding,calls,surprised,bar,keeping,gift,hadn't,putting,dark,owe,ice,helping,normal,aunt,lawyer,apart,plans,jax,girlfriend,floor,whether,everything's,box,judge,upstairs,sake,mommy,possibly,worst,acting,accept,blow,strange,saved,conversation,plane,mama,yesterday,lied,quick,lately,stuck,difference,store,she'd,bought,doubt,listening,walking,cops,deep,dangerous,buffy,sleeping,chloe,rafe,join,card,crime,gentlemen,willing,window,walked,guilty,likes,fighting,difficult,soul,joke,favorite,uncle,promised,bother,seriously,cell,knowing,broken,advice,somehow,paid,losing,push,helped,killing,boss,liked,innocent,rules,learned,thirty,risk,letting,speaking,ridiculous,afternoon,apologize,nervous,charge,patient,boat,how'd,hide,detective,planning,huge,breakfast,horrible,awful,pleasure,driving,hanging,picked,sell,quit,apparently,dying,notice,congratulations,visit,could've,c'mon,letter,decide,forward,fool,showed,smell,seemed,spell,memory,pictures,slow,seconds,hungry,hearing,kitchen,ma'am,should've,realized,kick,grab,discuss,fifty,reading,idiot,suddenly,agent,destroy,bucks,shoes,peace,arms,demon,livvie,consider,papers,incredible,witch,drunk,attorney,tells,knock,ways,gives,nose,skye,turns,keeps,jealous,drug,sooner,cares,plenty,extra,outta,weekend,matters,gosh,opportunity,impossible,waste,pretend,jump,eating,proof,slept,arrest,breathe,perfectly,warm,pulled,twice,easier,goin,dating,suit,romantic,drugs,comfortable,finds,checked,divorce,begin,ourselves,closer,ruin,smile,laugh,treat,fear,what'd,otherwise,excited,mail,hiding,stole,pacey,noticed,fired,excellent,bringing,bottom,note,sudden,bathroom,honestly,sing,foot,remind,charges,witness,finding,tree,dare,hardly,that'll,steal,silly,contact,teach,shop,plus,colonel,fresh,trial,invited,roll,reach,dirty,choose,emergency,dropped,butt,credit,obvious,locked,loving,nuts,agreed,prue,goodbye,condition,guard,fuckin,grow,cake,mood,crap,crying,belong,partner,trick,pressure,dressed,taste,neck,nurse,raise,lots,carry,whoever,drinking,they'd,breaking,file,lock,wine,spot,paying,assume,asleep,turning,viki,bedroom,shower,nikolas,camera,fill,reasons,forty,bigger,nope,breath,doctors,pants,freak,movies,folks,cream,wild,truly,desk,convince,client,threw,hurts,spending,answers,shirt,chair,rough,doin,sees,ought,empty,wind,aware,dealing,pack,tight,hurting,guest,arrested,salem,confused,surgery,expecting,deacon,unfortunately,goddamn,bottle,beyond,whenever,pool,opinion,starts,jerk,secrets,falling,necessary,barely,dancing,tests,copy,cousin,ahem,twelve,tess,skin,fifteen,speech,orders,complicated,nowhere,escape,biggest,restaurant,grateful,usual,burn,address,someplace,screw,everywhere,regret,goodness,mistakes,details,responsibility,suspect,corner,hero,dumb,terrific,whoo,hole,memories,o'clock,teeth,ruined,bite,stenbeck,liar,showing,cards,desperate,search,pathetic,spoke,scare,marah,afford,settle,stayed,checking,hired,heads,concern,blew,alcazar,champagne,connection,tickets,happiness,saving,kissing,hated,personally,suggest,prepared,onto,downstairs,ticket,it'd,loose,holy,duty,convinced,throwing,kissed,legs,loud,saturday,babies,where'd,warning,miracle,carrying,blind,ugly,shopping,hates,sight,bride,coat,clearly,celebrate,brilliant,wanting,forrester,lips,custody,screwed,buying,toast,thoughts,reality,lexie,attitude,advantage,grandfather,sami,grandma,someday,roof,marrying,powerful,grown,grandmother,fake,must've,ideas,exciting,familiar,bomb,bout,harmony,schedule,capable,practically,correct,clue,forgotten,appointment,deserves,threat,bloody,lonely,shame,jacket,hook,scary,investigation,invite,shooting,lesson,criminal,victim,funeral,considering,burning,strength,harder,sisters,pushed,shock,pushing,heat,chocolate,miserable,corinthos,nightmare,brings,zander,crash,chances,sending,recognize,healthy,boring,feed,engaged,headed,treated,knife,drag,badly,hire,paint,pardon,behavior,closet,warn,gorgeous,milk,survive,ends,dump,rent,remembered,thanksgiving,rain,revenge,prefer,spare,pray,disappeared,aside,statement,sometime,meat,fantastic,breathing,laughing,stood,affair,ours,depends,protecting,jury,brave,fingers,murdered,explanation,picking,blah,stronger,handsome,unbelievable,anytime,shake,oakdale,wherever,pulling,facts,waited,lousy,circumstances,disappointed,weak,trusted,license,nothin,trash,understanding,slip,sounded,awake,friendship,stomach,weapon,threatened,mystery,vegas,understood,basically,switch,frankly,cheap,lifetime,deny,clock,garbage,why'd,tear,ears,indeed,changing,singing,tiny,decent,avoid,messed,filled,touched,disappear,exact,pills,kicked,harm,fortune,pretending,insurance,fancy,drove,cared,belongs,nights,lorelai,lift,timing,guarantee,chest,woke,burned,watched,heading,selfish,drinks,doll,committed,elevator,freeze,noise,wasting,ceremony,uncomfortable,staring,files,bike,stress,permission,thrown,possibility,borrow,fabulous,doors,screaming,bone,xander,what're,meal,apology,anger,honeymoon,bail,parking,fixed,wash,stolen,sensitive,stealing,photo,chose,lets,comfort,worrying,pocket,mateo,bleeding,shoulder,ignore,talent,tied,garage,dies,demons,dumped,witches,rude,crack,bothering,radar,soft,meantime,gimme,kinds,fate,concentrate,throat,prom,messages,intend,ashamed,somethin,manage,guilt,interrupt,guts,tongue,shoe,basement,sentence,purse,glasses,cabin,universe,repeat,mirror,wound,travers,tall,engagement,therapy,emotional,jeez,decisions,soup,thrilled,stake,chef,moves,extremely,moments,expensive,counting,shots,kidnapped,cleaning,shift,plate,impressed,smells,trapped,aidan,knocked,charming,attractive,argue,puts,whip,embarrassed,package,hitting,bust,stairs,alarm,pure,nail,nerve,incredibly,walks,dirt,stamp,terribly,friendly,damned,jobs,suffering,disgusting,stopping,deliver,riding,helps,disaster,bars,crossed,trap,talks,eggs,chick,threatening,spoken,introduce,confession,embarrassing,bags,impression,gate,reputation,presents,chat,suffer,argument,talkin,crowd,homework,coincidence,cancel,pride,solve,hopefully,pounds,pine,mate,illegal,generous,outfit,maid,bath,punch,freaked,begging,recall,enjoying,prepare,wheel,defend,signs,painful,yourselves,maris,that'd,suspicious,cooking,button,warned,sixty,pity,yelling,awhile,confidence,offering,pleased,panic,hers,gettin,refuse,grandpa,testify,choices,cruel,mental,gentleman,coma,cutting,proteus,guests,expert,benefit,faces,jumped,toilet,sneak,halloween,privacy,smoking,reminds,twins,swing,solid,options,commitment,crush,ambulance,wallet,gang,eleven,option,laundry,assure,stays,skip,fail,discussion,clinic,betrayed,sticking,bored,mansion,soda,sheriff,suite,handled,busted,load,happier,studying,romance,procedure,commit,assignment,suicide,minds,swim,yell,llanview,chasing,proper,believes,humor,hopes,lawyers,giant,latest,escaped,parent,tricks,insist,dropping,cheer,medication,flesh,routine,sandwich,handed,false,beating,warrant,awfully,odds,treating,thin,suggesting,fever,sweat,silent,clever,sweater,mall,sharing,assuming,judgment,goodnight,divorced,surely,steps,confess,math,listened,comin,answered,vulnerable,bless,dreaming,chip,zero,pissed,nate,kills,tears,knees,chill,brains,unusual,packed,dreamed,cure,lookin,grave,cheating,breaks,locker,gifts,awkward,thursday,joking,reasonable,dozen,curse,quartermaine,millions,dessert,rolling,detail,alien,delicious,closing,vampires,wore,tail,secure,salad,murderer,spit,offense,dust,conscience,bread,answering,lame,invitation,grief,smiling,pregnancy,prisoner,delivery,guards,virus,shrink,freezing,wreck,massimo,wire,technically,blown,anxious,cave,holidays,cleared,wishes,caring,candles,bound,charm,pulse,jumping,jokes,boom,occasion,silence,nonsense,frightened,slipped,dimera,blowing,relationships,kidnapping,spin,tool,roxy,packing,blaming,wrap,obsessed,fruit,torture,personality,there'll,fairy,necessarily,seventy,print,motel,underwear,grams,exhausted,believing,freaking,carefully,trace,touching,messing,recovery,intention,consequences,belt,sacrifice,courage,enjoyed,attracted,remove,testimony,intense,heal,defending,unfair,relieved,loyal,slowly,buzz,alcohol,surprises,psychiatrist,plain,attic,who'd,uniform,terrified,cleaned,zach,threaten,fella,enemies,satisfied,imagination,hooked,headache,forgetting,counselor,andie,acted,badge,naturally,frozen,sakes,appropriate,trunk,dunno,costume,sixteen,impressive,kicking,junk,grabbed,understands,describe,clients,owns,affect,witnesses,starving,instincts,happily,discussing,deserved,strangers,surveillance,admire,questioning,dragged,barn,deeply,wrapped,wasted,tense,hoped,fellas,roommate,mortal,fascinating,stops,arrangements,agenda,literally,propose,honesty,underneath,sauce,promises,lecture,eighty,torn,shocked,backup,differently,ninety,deck,biological,pheebs,ease,creep,waitress,telephone,ripped,raising,scratch,rings,prints,thee,arguing,ephram,asks,oops,diner,annoying,taggert,sergeant,blast,towel,clown,habit,creature,bermuda,snap,react,paranoid,handling,eaten,therapist,comment,sink,reporter,nurses,beats,priority,interrupting,warehouse,loyalty,inspector,pleasant,excuses,threats,guessing,tend,praying,motive,unconscious,mysterious,unhappy,tone,switched,rappaport,sookie,neighbor,loaded,swore,piss,balance,toss,misery,thief,squeeze,lobby,goa'uld,geez,exercise,forth,booked,sandburg,poker,eighteen,d'you,bury,everyday,digging,creepy,wondered,liver,hmmm,magical,fits,discussed,moral,helpful,searching,flew,depressed,aisle,cris,amen,vows,neighbors,darn,cents,arrange,annulment,useless,adventure,resist,fourteen,celebrating,inch,debt,violent,sand,teal'c,celebration,reminded,phones,paperwork,emotions,stubborn,pound,tension,stroke,steady,overnight,chips,beef,suits,boxes,cassadine,collect,tragedy,spoil,realm,wipe,surgeon,stretch,stepped,nephew,neat,limo,confident,perspective,climb,punishment,finest,springfield,hint,furniture,blanket,twist,proceed,fries,worries,niece,gloves,soap,signature,disappoint,crawl,convicted,flip,counsel,doubts,crimes,accusing,shaking,remembering,hallway,halfway,bothered,madam,gather,cameras,blackmail,symptoms,rope,ordinary,imagined,cigarette,supportive,explosion,trauma,ouch,furious,cheat,avoiding,whew,thick,oooh,boarding,approve,urgent,shhh,misunderstanding,drawer,phony,interfere,catching,bargain,tragic,respond,punish,penthouse,thou,rach,ohhh,insult,bugs,beside,begged,absolute,strictly,socks,senses,sneaking,reward,polite,checks,tale,physically,instructions,fooled,blows,tabby,bitter,adorable,y'all,tested,suggestion,jewelry,alike,jacks,distracted,shelter,lessons,constable,circus,audition,tune,shoulders,mask,helpless,feeding,explains,sucked,robbery,objection,behave,valuable,shadows,courtroom,confusing,talented,smarter,mistaken,customer,bizarre,scaring,motherfucker,alert,vecchio,reverend,foolish,compliment,bastards,worker,wheelchair,protective,gentle,reverse,picnic,knee,cage,wives,wednesday,voices,toes,stink,scares,pour,cheated,slide,ruining,filling,exit,cottage,upside,proves,parked,diary,complaining,confessed,pipe,merely,massage,chop,spill,prayer,betray,waiter,scam,rats,fraud,brush,tables,sympathy,pill,filthy,seventeen,employee,bracelet,pays,fairly,deeper,arrive,tracking,spite,shed,recommend,oughta,nanny,menu,diet,corn,roses,patch,dime,devastated,subtle,bullets,beans,pile,confirm,strings,parade,borrowed,toys,straighten,steak,premonition,planted,honored,exam,convenient,traveling,laying,insisted,dish,aitoro,kindly,grandson,donor,temper,teenager,proven,mothers,denial,backwards,tent,swell,noon,happiest,drives,thinkin,spirits,potion,holes,fence,whatsoever,rehearsal,overheard,lemme,hostage,bench,tryin,taxi,shove,moron,impress,needle,intelligent,instant,disagree,stinks,rianna,recover,groom,gesture,constantly,bartender,suspects,sealed,legally,hears,dresses,sheet,psychic,teenage,knocking,judging,accidentally,waking,rumor,manners,homeless,hollow,desperately,tapes,referring,item,genoa,gear,majesty,cried,tons,spells,instinct,quote,motorcycle,convincing,fashioned,aids,accomplished,grip,bump,upsetting,needing,invisible,forgiveness,feds,compare,bothers,tooth,inviting,earn,compromise,cocktail,tramp,jabot,intimate,dignity,dealt,souls,informed,gods,dressing,cigarettes,alistair,leak,fond,corky,seduce,liquor,fingerprints,enchantment,butters,stuffed,stavros,emotionally,transplant,tips,oxygen,nicely,lunatic,drill,complain,announcement,unfortunate,slap,prayers,plug,opens,oath,o'neill,mutual,yacht,remembers,fried,extraordinary,bait,warton,sworn,stare,safely,reunion,burst,might've,dive,aboard,expose,buddies,trusting,booze,sweep,sore,scudder,properly,parole,ditch,canceled,speaks,glow,wears,thirsty,skull,ringing,dorm,dining,bend,unexpected,pancakes,harsh,flattered,ahhh,troubles,fights,favourite,eats,rage,undercover,spoiled,sloane,shine,destroying,deliberately,conspiracy,thoughtful,sandwiches,plates,nails,miracles,fridge,drank,contrary,beloved,allergic,washed,stalking,solved,sack,misses,forgiven,bent,maciver,involve,dragging,cooked,pointing,foul,dull,beneath,heels,faking,deaf,stunt,jealousy,hopeless,fears,cuts,scenario,necklace,crashed,accuse,restraining,homicide,helicopter,firing,safer,auction,videotape,tore,reservations,pops,appetite,wounds,vanquish,ironic,fathers,excitement,anyhow,tearing,sends,rape,laughed,belly,dealer,cooperate,accomplish,wakes,spotted,sorts,reservation,ashes,tastes,supposedly,loft,intentions,integrity,wished,towels,suspected,investigating,inappropriate,lipstick,lawn,compassion,cafeteria,scarf,precisely,obsession,loses,lighten,infection,granddaughter,explode,balcony,this'll,spying,publicity,depend,cracked,conscious,ally,absurd,vicious,invented,forbid,directions,defendant,bare,announce,screwing,salesman,robbed,leap,lakeview,insanity,reveal,possibilities,kidnap,gown,chairs,wishing,setup,punished,criminals,regrets,raped,quarters,lamp,dentist,anyways,anonymous,semester,risks,owes,lungs,explaining,delicate,tricked,eager,doomed,adoption,stab,sickness,scum,floating,envelope,vault,sorel,pretended,potatoes,plea,photograph,payback,misunderstood,kiddo,healing,cascade,capeside,stabbed,remarkable,brat,privilege,passionate,nerves,lawsuit,kidney,disturbed,cozy,tire,shirts,oven,ordering,delay,risky,monsters,honorable,grounded,closest,breakdown,bald,abandon,scar,collar,worthless,sucking,enormous,disturbing,disturb,distract,deals,conclusions,vodka,dishes,crawling,briefcase,wiped,whistle,sits,roast,rented,pigs,flirting,deposit,bottles,topic,riot,overreacting,logical,hostile,embarrass,casual,beacon,amusing,altar,claus,survival,skirt,shave,porch,ghosts,favors,drops,dizzy,chili,advise,strikes,rehab,photographer,peaceful,leery,heavens,fortunately,fooling,expectations,cigar,weakness,ranch,practicing,examine,cranes,bribe,sail,prescription,hush,fragile,forensics,expense,drugged,cows,bells,visitor,suitcase,sorta,scan,manticore,insecure,imagining,hardest,clerk,wrist,what'll,starters,silk,pump,pale,nicer,haul,flies,boot,thumb,there'd,how're,elders,quietly,pulls,idiots,erase,denying,ankle,amnesia,accepting,heartbeat,devane,confront,minus,legitimate,fixing,arrogant,tuna,supper,slightest,sins,sayin,recipe,pier,paternity,humiliating,genuine,snack,rational,minded,guessed,weddings,tumor,humiliated,aspirin,spray,picks,eyed,drowning,contacts,ritual,perfume,hiring,hating,docks,creatures,visions,thanking,thankful,sock,nineteen,fork,throws,teenagers,stressed,slice,rolls,plead,ladder,kicks,detectives,assured,tellin,shallow,responsibilities,repay,howdy,girlfriends,deadly,comforting,ceiling,verdict,insensitive,spilled,respected,messy,interrupted,halliwell,blond,bleed,wardrobe,takin,murders,backs,underestimate,justify,harmless,frustrated,fold,enzo,communicate,bugging,arson,whack,salary,rumors,obligation,liking,dearest,congratulate,vengeance,rack,puzzle,fires,courtesy,caller,blamed,tops,quiz,prep,curiosity,circles,barbecue,sunnydale,spinning,psychotic,cough,accusations,resent,laughs,freshman,envy,drown,bartlet,asses,sofa,poster,highness,dock,apologies,theirs,stat,stall,realizes,psych,mmmm,fools,understandable,treats,succeed,stir,relaxed,makin,gratitude,faithful,accent,witter,wandering,locate,inevitable,gretel,deed,crushed,controlling,smelled,robe,gossip,gambling,cosmetics,accidents,surprising,stiff,sincere,rushed,refrigerator,preparing,nightmares,mijo,ignoring,hunch,fireworks,drowned,brass,whispering,sophisticated,luggage,hike,explore,emotion,crashing,contacted,complications,shining,rolled,righteous,reconsider,goody,geek,frightening,ethics,creeps,courthouse,camping,affection,smythe,haircut,essay,baked,apologized,vibe,respects,receipt,mami,hats,destructive,adore,adopt,tracked,shorts,reminding,dough,creations,cabot,barrel,snuck,slight,reporters,pressing,magnificent,madame,lazy,glorious,fiancee,bits,visitation,sane,kindness,shoulda,rescued,mattress,lounge,lifted,importantly,glove,enterprises,disappointment,condo,beings,admitting,yelled,waving,spoon,screech,satisfaction,reads,nailed,worm,tick,resting,marvelous,fuss,cortlandt,chased,pockets,luckily,lilith,filing,conversations,consideration,consciousness,worlds,innocence,forehead,aggressive,trailer,slam,quitting,inform,delighted,daylight,danced,confidential,aunts,washing,tossed,spectra,marrow,lined,implying,hatred,grill,corpse,clues,sober,offended,morgue,infected,humanity,distraction,cart,wired,violation,promising,harassment,glue,d'angelo,cursed,brutal,warlocks,wagon,unpleasant,proving,priorities,mustn't,lease,flame,disappearance,depressing,thrill,sitter,ribs,flush,earrings,deadline,corporal,collapsed,update,snapped,smack,melt,figuring,delusional,coulda,burnt,tender,sperm,realise,pork,popped,interrogation,esteem,choosing,undo,pres,prayed,plague,manipulate,insulting,detention,delightful,coffeehouse,betrayal,apologizing,adjust,wrecked,wont,whipped,rides,reminder,monsieur,faint,bake,distress,correctly,complaint,blocked,tortured,risking,pointless,handing,dumping,cups,alibi,struggling,shiny,risked,mummy,mint,hose,hobby,fortunate,fleischman,fitting,curtain,counseling,rode,puppet,modeling,memo,irresponsible,humiliation,hiya,freakin,felony,choke,blackmailing,appreciated,tabloid,suspicion,recovering,pledge,panicked,nursery,louder,jeans,investigator,homecoming,frustrating,buys,busting,buff,sleeve,irony,dope,declare,autopsy,workin,torch,prick,limb,hysterical,goddamnit,fetch,dimension,crowded,clip,climbing,bonding,woah,trusts,negotiate,lethal,iced,fantasies,deeds,bore,babysitter,questioned,outrageous,kiriakis,insulted,grudge,driveway,deserted,definite,beep,wires,suggestions,searched,owed,lend,drunken,demanding,costanza,conviction,bumped,weigh,touches,tempted,shout,resolve,relate,poisoned,meals,invitations,haunted,bogus,autograph,affects,tolerate,stepping,spontaneous,sleeps,probation,manny,fist,spectacular,hostages,heroin,havin,habits,encouraging,consult,burgers,boyfriends,bailed,baggage,watches,troubled,torturing,teasing,sweetest,qualities,postpone,overwhelmed,malkovich,impulse,classy,charging,amazed,policeman,hypocrite,humiliate,hideous,d'ya,costumes,bluffing,betting,bein,bedtime,alcoholic,vegetable,tray,suspicions,spreading,splendid,shrimp,shouting,pressed,nooo,grieving,gladly,fling,eliminate,cereal,aaah,sonofabitch,paralyzed,lotta,locks,guaranteed,dummy,despise,dental,briefing,bluff,batteries,whatta,sounding,servants,presume,handwriting,fainted,dried,allright,acknowledge,whacked,toxic,reliable,quicker,overwhelming,lining,harassing,fatal,endless,dolls,convict,whatcha,unlikely,shutting,positively,overcome,goddam,essence,dose,diagnosis,cured,bully,ahold,yearbook,tempting,shelf,prosecution,pouring,possessed,greedy,wonders,thorough,spine,rath,psychiatric,meaningless,latte,jammed,ignored,fiance,evidently,contempt,compromised,cans,weekends,urge,theft,suing,shipment,scissors,responding,proposition,noises,matching,hormones,hail,grandchildren,gently,smashed,sexually,sentimental,nicest,manipulated,intern,handcuffs,framed,errands,entertaining,crib,carriage,barge,spends,slipping,seated,rubbing,rely,reject,recommendation,reckon,headaches,float,embrace,corners,whining,sweating,skipped,mountie,motives,listens,cristobel,cleaner,cheerleader,balsom,unnecessary,stunning,scent,quartermaines,pose,montega,loosen,info,hottest,haunt,gracious,forgiving,errand,cakes,blames,abortion,sketch,shifts,plotting,perimeter,pals,mere,mattered,lonigan,interference,eyewitness,enthusiasm,diapers,strongest,shaken,punched,portal,catches,backyard,terrorists,sabotage,organs,needy,cuff,civilization,woof,who'll,prank,obnoxious,mates,hereby,gabby,faked,cellar,whitelighter,void,strangle,sour,muffins,interfering,demonic,clearing,boutique,barrington,terrace,smoked,righty,quack,petey,pact,knot,ketchup,disappearing,cordy,uptight,ticking,terrifying,tease,swamp,secretly,rejection,reflection,realizing,rays,mentally,marone,doubted,deception,congressman,cheesy,toto,stalling,scoop,ribbon,immune,expects,destined,bets,bathing,appreciation,accomplice,wander,shoved,sewer,scroll,retire,lasts,fugitive,freezer,discount,cranky,crank,clearance,bodyguard,anxiety,accountant,whoops,volunteered,talents,stinking,remotely,garlic,decency,cord,beds,altogether,uniforms,tremendous,popping,outa,observe,lung,hangs,feelin,dudes,donation,disguise,curb,bites,antique,toothbrush,realistic,predict,landlord,hourglass,hesitate,consolation,babbling,tipped,stranded,smartest,repeating,puke,psst,paycheck,overreacted,macho,juvenile,grocery,freshen,disposal,cuffs,caffeine,vanished,unfinished,ripping,pinch,flattering,expenses,dinners,colleague,ciao,belthazor,attorneys,woulda,whereabouts,waitin,truce,tripped,tasted,steer,poisoning,manipulative,immature,husbands,heel,granddad,delivering,condoms,addict,trashed,raining,pasta,needles,leaning,detector,coolest,batch,appointments,almighty,vegetables,spark,perfection,pains,momma,mole,meow,hairs,getaway,cracking,compliments,behold,verge,tougher,timer,tapped,taped,specialty,snooping,shoots,rendezvous,pentagon,leverage,jeopardize,janitor,grandparents,forbidden,clueless,bidding,ungrateful,unacceptable,tutor,serum,scuse,pajamas,mouths,lure,irrational,doom,cries,beautifully,arresting,approaching,traitor,sympathetic,smug,smash,rental,prostitute,premonitions,jumps,inventory,darlin,committing,banging,asap,worms,violated,vent,traumatic,traced,sweaty,shaft,overboard,insight,healed,grasp,experiencing,crappy,crab,chunk,awww,stain,shack,reacted,pronounce,poured,moms,marriages,jabez,handful,flipped,fireplace,embarrassment,disappears,concussion,bruises,brakes,twisting,swept,summon,splitting,sloppy,settling,reschedule,notch,hooray,grabbing,exquisite,disrespect,thornhart,straw,slapped,shipped,shattered,ruthless,refill,payroll,numb,mourning,manly,hunk,entertain,drift,dreadful,doorstep,confirmation,chops,appreciates,vague,tires,stressful,stashed,stash,sensed,preoccupied,predictable,noticing,madly,gunshot,dozens,dork,confuse,cleaners,charade,chalk,cappuccino,bouquet,amulet,addiction,who've,warming,unlock,satisfy,sacrificed,relaxing,lone,blocking,blend,blankets,addicted,yuck,hunger,hamburger,greeting,greet,gravy,gram,dreamt,dice,caution,backpack,agreeing,whale,taller,supervisor,sacrifices,phew,ounce,irrelevant,gran,felon,favorites,farther,fade,erased,easiest,convenience,compassionate,cane,backstage,agony,adores,veins,tweek,thieves,surgical,strangely,stetson,recital,proposing,productive,meaningful,immunity,hassle,goddamned,frighten,dearly,cease,ambition,wage,unstable,salvage,richer,refusing,raging,pumping,pressuring,mortals,lowlife,intimidated,intentionally,inspire,forgave,devotion,despicable,deciding,dash,comfy,breach,bark,aaaah,switching,swallowed,stove,screamed,scars,russians,pounding,poof,pipes,pawn,legit,invest,farewell,curtains,civilized,caviar,boost,token,superstition,supernatural,sadness,recorder,psyched,motivated,microwave,hallelujah,fraternity,dryer,cocoa,chewing,acceptable,unbelievably,smiled,smelling,simpler,respectable,remarks,khasinau,indication,gutter,grabs,fulfill,flashlight,ellenor,blooded,blink,blessings,beware,uhhh,turf,swings,slips,shovel,shocking,puff,mirrors,locking,heartless,fras,childish,cardiac,utterly,tuscany,ticked,stunned,statesville,sadly,purely,kiddin,jerks,hitch,flirt,fare,equals,dismiss,christening,casket,c'mere,breakup,biting,antibiotics,accusation,abducted,witchcraft,thread,runnin,punching,paramedics,newest,murdering,masks,lawndale,initials,grampa,choking,charms,careless,bushes,buns,bummed,shred,saves,saddle,rethink,regards,precinct,persuade,meds,manipulating,llanfair,leash,hearted,guarantees,fucks,disgrace,deposition,bookstore,boil,vitals,veil,trespassing,sidewalk,sensible,punishing,overtime,optimistic,obsessing,notify,mornin,jeopardy,jaffa,injection,hilarious,desires,confide,cautious,yada,where're,vindictive,vial,teeny,stroll,sittin,scrub,rebuild,posters,ordeal,nuns,intimacy,inheritance,exploded,donate,distracting,despair,crackers,wildwind,virtue,thoroughly,tails,spicy,sketches,sights,sheer,shaving,seize,scarecrow,refreshing,prosecute,platter,napkin,misplaced,merchandise,loony,jinx,heroic,frankenstein,ambitious,syrup,solitary,resemblance,reacting,premature,lavery,flashes,cheque,awright,acquainted,wrapping,untie,salute,realised,priceless,partying,lightly,lifting,kasnoff,insisting,glowing,generator,explosives,cutie,confronted,buts,blouse,ballistic,antidote,analyze,allowance,adjourned,unto,understatement,tucked,touchy,subconscious,screws,sarge,roommates,rambaldi,offend,nerd,knives,irresistible,incapable,hostility,goddammit,fuse,frat,curfew,blackmailed,walkin,starve,sleigh,sarcastic,recess,rebound,pinned,parlor,outfits,livin,heartache,haired,fundraiser,doorman,discreet,dilucca,cracks,considerate,climbed,catering,apophis,zoey,urine,strung,stitches,sordid,sark,protector,phoned,pets,hostess,flaw,flavor,deveraux,consumed,confidentiality,bourbon,straightened,specials,spaghetti,prettier,powerless,playin,playground,paranoia,instantly,havoc,exaggerating,eavesdropping,doughnuts,diversion,deepest,cutest,comb,bela,behaving,anyplace,accessory,workout,translate,stuffing,speeding,slime,royalty,polls,marital,lurking,lottery,imaginary,greetings,fairwinds,elegant,elbow,credibility,credentials,claws,chopped,bridal,bedside,babysitting,witty,unforgivable,underworld,tempt,tabs,sophomore,selfless,secrecy,restless,okey,movin,metaphor,messes,meltdown,lecter,incoming,gasoline,diefenbaker,buckle,admired,adjustment,warmth,throats,seduced,queer,parenting,noses,luckiest,graveyard,gifted,footsteps,dimeras,cynical,wedded,verbal,unpredictable,tuned,stoop,slides,sinking,rigged,plumbing,lingerie,hankey,greed,everwood,elope,dresser,chauffeur,bulletin,bugged,bouncing,temptation,strangest,slammed,sarcasm,pending,packages,orderly,obsessive,murderers,meteor,inconvenience,glimpse,froze,execute,courageous,consulate,closes,bosses,bees,amends,wuss,wolfram,wacky,unemployed,testifying,syringe,stew,startled,sorrow,sleazy,shaky,screams,rsquo,remark,poke,nutty,mentioning,mend,inspiring,impulsive,housekeeper,foam,fingernails,conditioning,baking,whine,thug,starved,sniffing,sedative,programmed,picket,paged,hound,homosexual,homo,hips,forgets,flipping,flea,flatter,dwell,dumpster,choo,assignments,ants,vile,unreasonable,tossing,thanked,steals,souvenir,scratched,psychopath,outs,obstruction,obey,lump,insists,harass,gloat,filth,edgy,didn,coroner,confessing,bruise,betraying,bailing,appealing,adebisi,wrath,wandered,waist,vain,traps,stepfather,poking,obligated,heavenly,dilemma,crazed,contagious,coaster,cheering,bundle,vomit,thingy,speeches,robbing,raft,pumped,pillows,peep,packs,neglected,m'kay,loneliness,intrude,helluva,gardener,forresters,drooling,betcha,vase,supermarket,squat,spitting,rhyme,relieve,receipts,racket,pictured,pause,overdue,motivation,morgendorffer,kidnapper,insect,horns,feminine,eyeballs,dumps,disappointing,crock,convertible,claw,clamp,canned,cambias,bathtub,avanya,artery,weep,warmer,suspense,summoned,spiders,reiber,raving,pushy,postponed,ohhhh,noooo,mold,laughter,incompetent,hugging,groceries,drip,communicating,auntie,adios,wraps,wiser,willingly,weirdest,timmih,thinner,swelling,swat,steroids,sensitivity,scrape,rehearse,prophecy,ledge,justified,insults,hateful,handles,doorway,chatting,buyer,buckaroo,bedrooms,askin,ammo,tutoring,subpoena,scratching,privileges,pager,mart,intriguing,idiotic,grape,enlighten,corrupt,brunch,bridesmaid,barking,applause,acquaintance,wretched,superficial,soak,smoothly,sensing,restraint,posing,pleading,payoff,oprah,nemo,morals,loaf,jumpy,ignorant,herbal,hangin,germs,generosity,flashing,doughnut,clumsy,chocolates,captive,behaved,apologise,vanity,stumbled,preview,poisonous,perjury,parental,onboard,mugged,minding,linen,knots,interviewing,humour,grind,greasy,goons,drastic,coop,comparing,cocky,clearer,bruised,brag,bind,worthwhile,whoop,vanquishing,tabloids,sprung,spotlight,sentencing,racist,provoke,pining,overly,locket,imply,impatient,hovering,hotter,fest,endure,dots,doren,debts,crawled,chained,brit,breaths,weirdo,warmed,wand,troubling,tok'ra,strapped,soaked,skipping,scrambled,rattle,profound,musta,mocking,misunderstand,limousine,kacl,hustle,forensic,enthusiastic,duct,drawers,devastating,conquer,clarify,chores,cheerleaders,cheaper,callin,blushing,barging,abused,yoga,wrecking,wits,waffles,virginity,vibes,uninvited,unfaithful,teller,strangled,scheming,ropes,rescuing,rave,postcard,o'reily,morphine,lotion,lads,kidneys,judgement,itch,indefinitely,grenade,glamorous,genetically,freud,discretion,delusions,crate,competent,bakery,argh,ahhhh,wedge,wager,unfit,tripping,torment,superhero,stirring,spinal,sorority,seminar,scenery,rabble,pneumonia,perks,override,ooooh,mija,manslaughter,mailed,lime,lettuce,intimidate,guarded,grieve,grad,frustration,doorbell,chinatown,authentic,arraignment,annulled,allergies,wanta,verify,vegetarian,tighter,telegram,stalk,spared,shoo,satisfying,saddam,requesting,pens,overprotective,obstacles,notified,nasedo,grandchild,genuinely,flushed,fluids,floss,escaping,ditched,cramp,corny,bunk,bitten,billions,bankrupt,yikes,wrists,ultrasound,ultimatum,thirst,sniff,shakes,salsa,retrieve,reassuring,pumps,neurotic,negotiating,needn't,monitors,millionaire,lydecker,limp,incriminating,hatchet,gracias,gordie,fills,feeds,doubting,decaf,biopsy,whiz,voluntarily,ventilator,unpack,unload,toad,spooked,snitch,schillinger,reassure,persuasive,mystical,mysteries,matrimony,mails,jock,headline,explanations,dispatch,curly,cupid,condolences,comrade,cassadines,bulb,bragging,awaits,assaulted,ambush,adolescent,abort,yank,whit,vaguely,undermine,tying,swamped,stabbing,slippers,slash,sincerely,sigh,setback,secondly,rotting,precaution,pcpd,melting,liaison,hots,hooking,headlines,haha,ganz,fury,felicity,fangs,encouragement,earring,dreidel,dory,donut,dictate,decorating,cocktails,bumps,blueberry,believable,backfired,backfire,apron,adjusting,vous,vouch,vitamins,ummm,tattoos,slimy,sibling,shhhh,renting,peculiar,parasite,paddington,marries,mailbox,magically,lovebirds,knocks,informant,exits,drazen,distractions,disconnected,dinosaurs,dashwood,crooked,conveniently,wink,warped,underestimated,tacky,shoving,seizure,reset,pushes,opener,mornings,mash,invent,indulge,horribly,hallucinating,festive,eyebrows,enjoys,desperation,dealers,darkest,daph,boragora,belts,bagel,authorization,auditions,agitated,wishful,wimp,vanish,unbearable,tonic,suffice,suction,slaying,safest,rocking,relive,puttin,prettiest,noisy,newlyweds,nauseous,misguided,mildly,midst,liable,judgmental,indy,hunted,givin,fascinated,elephants,dislike,deluded,decorate,crummy,contractions,carve,bottled,bonded,bahamas,unavailable,twenties,trustworthy,surgeons,stupidity,skies,remorse,preferably,pies,nausea,napkins,mule,mourn,melted,mashed,inherit,greatness,golly,excused,dumbo,drifting,delirious,damaging,cubicle,compelled,comm,chooses,checkup,boredom,bandages,alarms,windshield,who're,whaddya,transparent,surprisingly,sunglasses,slit,roar,reade,prognosis,probe,pitiful,persistent,peas,nosy,nagging,morons,masterpiece,martinis,limbo,liars,irritating,inclined,hump,hoynes,fiasco,eatin,cubans,concentrating,colorful,clam,cider,brochure,barto,bargaining,wiggle,welcoming,weighing,vanquished,stains,sooo,snacks,smear,sire,resentment,psychologist,pint,overhear,morality,landingham,kisser,hoot,holling,handshake,grilled,formality,elevators,depths,confirms,boathouse,accidental,westbridge,wacko,ulterior,thugs,thighs,tangled,stirred,snag,sling,sleaze,rumour,ripe,remarried,puddle,pins,perceptive,miraculous,longing,lockup,librarian,impressions,immoral,hypothetically,guarding,gourmet,gabe,faxed,extortion,downright,digest,cranberry,bygones,buzzing,burying,bikes,weary,taping,takeout,sweeping,stepmother,stale,senor,seaborn,pros,pepperoni,newborn,ludicrous,injected,geeks,forged,faults,drue,dire,dief,desi,deceiving,caterer,calmed,budge,ankles,vending,typing,tribbiani,there're,squared,snowing,shades,sexist,rewrite,regretted,raises,picky,orphan,mural,misjudged,miscarriage,memorize,leaking,jitters,invade,interruption,illegally,handicapped,glitch,gittes,finer,distraught,dispose,dishonest,digs,dads,cruelty,circling,canceling,butterflies,belongings,barbrady,amusement,alias,zombies,where've,unborn,swearing,stables,squeezed,sensational,resisting,radioactive,questionable,privileged,portofino,owning,overlook,orson,oddly,interrogate,imperative,impeccable,hurtful,hors,heap,graders,glance,disgust,devious,destruct,crazier,countdown,chump,cheeseburger,burglar,berries,ballroom,assumptions,annoyed,allergy,admirer,admirable,activate,underpants,twit,tack,strokes,stool,sham,scrap,retarded,resourceful,remarkably,refresh,pressured,precautions,pointy,nightclub,mustache,maui,lace,hunh,hubby,flare,dont,dokey,dangerously,crushing,clinging,choked,chem,cheerleading,checkbook,cashmere,calmly,blush,believer,amazingly,alas,what've,toilets,tacos,stairwell,spirited,sewing,rubbed,punches,protects,nuisance,motherfuckers,mingle,kynaston,knack,kinkle,impose,gullible,godmother,funniest,friggin,folding,fashions,eater,dysfunctional,drool,dripping,ditto,cruising,criticize,conceive,clone,cedars,caliber,brighter,blinded,birthdays,banquet,anticipate,annoy,whim,whichever,volatile,veto,vested,shroud,rests,reindeer,quarantine,pleases,painless,orphans,orphanage,offence,obliged,negotiation,narcotics,mistletoe,meddling,manifest,lookit,lilah,intrigued,injustice,homicidal,gigantic,exposing,elves,disturbance,disastrous,depended,demented,correction,cooped,cheerful,buyers,brownies,beverage,basics,arvin,weighs,upsets,unethical,swollen,sweaters,stupidest,sensation,scalpel,props,prescribed,pompous,objections,mushrooms,mulwray,manipulation,lured,internship,insignificant,inmate,incentive,fulfilled,disagreement,crypt,cornered,copied,brightest,beethoven,attendant,amaze,yogurt,wyndemere,vocabulary,tulsa,tactic,stuffy,respirator,pretends,polygraph,pennies,ordinarily,olives,necks,morally,martyr,leftovers,joints,hopping,homey,hints,heartbroken,forge,florist,firsthand,fiend,dandy,crippled,corrected,conniving,conditioner,clears,chemo,bubbly,bladder,beeper,baptism,wiring,wench,weaknesses,volunteering,violating,unlocked,tummy,surrogate,subid,stray,startle,specifics,slowing,scoot,robbers,rightful,richest,qfxmjrie,puffs,pierced,pencils,paralysis,makeover,luncheon,linksynergy,jerky,jacuzzi,hitched,hangover,fracture,flock,firemen,disgusted,darned,clams,borrowing,banged,wildest,weirder,unauthorized,stunts,sleeves,sixties,shush,shalt,retro,quits,pegged,painfully,paging,omelet,memorized,lawfully,jackets,intercept,ingredient,grownup,glued,fulfilling,enchanted,delusion,daring,compelling,carton,bridesmaids,bribed,boiling,bathrooms,bandage,awaiting,assign,arrogance,antiques,ainsley,turkeys,trashing,stockings,stalked,stabilized,skates,sedated,robes,respecting,psyche,presumptuous,prejudice,paragraph,mocha,mints,mating,mantan,lorne,loads,listener,itinerary,hepatitis,heave,guesses,fading,examining,dumbest,dishwasher,deceive,cunning,cripple,convictions,confided,compulsive,compromising,burglary,bumpy,brainwashed,benes,arnie,affirmative,adrenaline,adamant,watchin,waitresses,transgenic,toughest,tainted,surround,stormed,spree,spilling,spectacle,soaking,shreds,sewers,severed,scarce,scamming,scalp,rewind,rehearsing,pretentious,potions,overrated,obstacle,nerds,meems,mcmurphy,maternity,maneuver,loathe,fertility,eloping,ecstatic,ecstasy,divorcing,dignan,costing,clubhouse,clocks,candid,bursting,breather,braces,bending,arsonist,adored,absorb,valiant,uphold,unarmed,topolsky,thrilling,thigh,terminate,sustain,spaceship,snore,sneeze,smuggling,salty,quaint,patronize,patio,morbid,mamma,kettle,joyous,invincible,interpret,insecurities,impulses,illusions,holed,exploit,drivin,defenseless,dedicate,cradle,coupon,countless,conjure,cardboard,booking,backseat,accomplishment,wordsworth,wisely,valet,vaccine,urges,unnatural,unlucky,truths,traumatized,tasting,swears,strawberries,steaks,stats,skank,seducing,secretive,scumbag,screwdriver,schedules,rooting,rightfully,rattled,qualifies,puppets,prospects,pronto,posse,polling,pedestal,palms,muddy,morty,microscope,merci,lecturing,inject,incriminate,hygiene,grapefruit,gazebo,funnier,cuter,bossy,booby,aides,zende,winthrop,warrants,valentines,undressed,underage,truthfully,tampered,suffers,speechless,sparkling,sidelines,shrek,railing,puberty,pesky,outrage,outdoors,motions,moods,lunches,litter,kidnappers,itching,intuition,imitation,humility,hassling,gallons,drugstore,dosage,disrupt,dipping,deranged,debating,cuckoo,cremated,craziness,cooperating,circumstantial,chimney,blinking,biscuits,admiring,weeping,triad,trashy,soothing,slumber,slayers,skirts,siren,shindig,sentiment,rosco,riddance,quaid,purity,proceeding,pretzels,panicking,mckechnie,lovin,leaked,intruding,impersonating,ignorance,hamburgers,footprints,fluke,fleas,festivities,fences,feisty,evacuate,emergencies,deceived,creeping,craziest,corpses,conned,coincidences,bounced,bodyguards,blasted,bitterness,baloney,ashtray,apocalypse,zillion,watergate,wallpaper,telesave,sympathize,sweeter,startin,spades,sodas,snowed,sleepover,signor,seein,retainer,restroom,rested,repercussions,reliving,reconcile,prevail,preaching,overreact,o'neil,noose,moustache,manicure,maids,landlady,hypothetical,hopped,homesick,hives,hesitation,herbs,hectic,heartbreak,haunting,gangs,frown,fingerprint,exhausting,everytime,disregard,cling,chevron,chaperone,blinding,bitty,beads,battling,badgering,anticipation,upstanding,unprofessional,unhealthy,turmoil,truthful,toothpaste,tippin,thoughtless,tagataya,shooters,senseless,rewarding,propane,preposterous,pigeons,pastry,overhearing,obscene,negotiable,loner,jogging,itchy,insinuating,insides,hospitality,hormone,hearst,forthcoming,fists,fifties,etiquette,endings,destroys,despises,deprived,cuddy,crust,cloak,circumstance,chewed,casserole,bidder,bearer,artoo,applaud,appalling,vowed,virgins,vigilante,undone,throttle,testosterone,tailor,symptom,swoop,suitcases,stomp,sticker,stakeout,spoiling,snatched,smoochy,smitten,shameless,restraints,researching,renew,refund,reclaim,raoul,puzzles,purposely,punks,prosecuted,plaid,picturing,pickin,parasites,mysteriously,multiply,mascara,jukebox,interruptions,gunfire,furnace,elbows,duplicate,drapes,deliberate,decoy,cryptic,coupla,condemn,complicate,colossal,clerks,clarity,brushed,banished,argon,alarmed,worships,versa,uncanny,technicality,sundae,stumble,stripping,shuts,schmuck,satin,saliva,robber,relentless,reconnect,recipes,rearrange,rainy,psychiatrists,policemen,plunge,plugged,patched,overload,o'malley,mindless,menus,lullaby,lotte,leavin,killin,karinsky,invalid,hides,grownups,griff,flaws,flashy,flaming,fettes,evicted,dread,degrassi,dealings,dangers,cushion,bowel,barged,abide,abandoning,wonderfully,wait'll,violate,suicidal,stayin,sorted,slamming,sketchy,shoplifting,raiser,quizmaster,prefers,needless,motherhood,momentarily,migraine,lifts,leukemia,leftover,keepin,hinks,hellhole,gowns,goodies,gallon,futures,entertained,eighties,conspiring,cheery,benign,apiece,adjustments,abusive,abduction,wiping,whipping,welles,unspeakable,unidentified,trivial,transcripts,textbook,supervise,superstitious,stricken,stimulating,spielberg,slices,shelves,scratches,sabotaged,retrieval,repressed,rejecting,quickie,ponies,peeking,outraged,o'connell,moping,moaning,mausoleum,licked,kovich,klutz,interrogating,interfered,insulin,infested,incompetence,hyper,horrified,handedly,gekko,fraid,fractured,examiner,eloped,disoriented,dashing,crashdown,courier,cockroach,chipped,brushing,bombed,bolts,baths,baptized,astronaut,assurance,anemia,abuela,abiding,withholding,weave,wearin,weaker,suffocating,straws,straightforward,stench,steamed,starboard,sideways,shrinks,shortcut,scram,roasted,roaming,riviera,respectfully,repulsive,psychiatry,provoked,penitentiary,painkillers,ninotchka,mitzvah,milligrams,midge,marshmallows,looky,lapse,kubelik,intellect,improvise,implant,goa'ulds,giddy,geniuses,fruitcake,footing,fightin,drinkin,doork,detour,cuddle,crashes,combo,colonnade,cheats,cetera,bailiff,auditioning,assed,amused,alienate,aiding,aching,unwanted,topless,tongues,tiniest,superiors,soften,sheldrake,rawley,raisins,presses,plaster,nessa,narrowed,minions,merciful,lawsuits,intimidating,infirmary,inconvenient,imposter,hugged,honoring,holdin,hades,godforsaken,fumes,forgery,foolproof,folder,flattery,fingertips,exterminator,explodes,eccentric,dodging,disguised,crave,constructive,concealed,compartment,chute,chinpokomon,bodily,astronauts,alimony,accustomed,abdominal,wrinkle,wallow,valium,untrue,uncover,trembling,treasures,torched,toenails,timed,termites,telly,taunting,taransky,talker,succubus,smarts,sliding,sighting,semen,seizures,scarred,savvy,sauna,saddest,sacrificing,rubbish,riled,ratted,rationally,provenance,phonse,perky,pedal,overdose,nasal,nanites,mushy,movers,missus,midterm,merits,melodramatic,manure,knitting,invading,interpol,incapacitated,hotline,hauling,gunpoint,grail,ganza,framing,flannel,faded,eavesdrop,desserts,calories,breathtaking,bleak,blacked,batter,aggravated,yanked,wigand,whoah,unwind,undoubtedly,unattractive,twitch,trimester,torrance,timetable,taxpayers,strained,stared,slapping,sincerity,siding,shenanigans,shacking,sappy,samaritan,poorer,politely,paste,oysters,overruled,nightcap,mosquito,millimeter,merrier,manhood,lucked,kilos,ignition,hauled,harmed,goodwill,freshmen,fenmore,fasten,farce,exploding,erratic,drunks,ditching,d'artagnan,cramped,contacting,closets,clientele,chimp,bargained,arranging,anesthesia,amuse,altering,afternoons,accountable,abetting,wolek,waved,uneasy,toddy,tattooed,spauldings,sliced,sirens,schibetta,scatter,rinse,remedy,redemption,pleasures,optimism,oblige,mmmmm,masked,malicious,mailing,kosher,kiddies,judas,isolate,insecurity,incidentally,heals,headlights,growl,grilling,glazed,flunk,floats,fiery,fairness,exercising,excellency,disclosure,cupboard,counterfeit,condescending,conclusive,clicked,cleans,cholesterol,cashed,broccoli,brats,blueprints,blindfold,billing,attach,appalled,alrighty,wynant,unsolved,unreliable,toots,tighten,sweatshirt,steinbrenner,steamy,spouse,sonogram,slots,sleepless,shines,retaliate,rephrase,redeem,rambling,quilt,quarrel,prying,proverbial,priced,prescribe,prepped,pranks,possessive,plaintiff,pediatrics,overlooked,outcast,nightgown,mumbo,mediocre,mademoiselle,lunchtime,lifesaver,leaned,lambs,interns,hounding,hellmouth,hahaha,goner,ghoul,gardening,frenzy,foyer,extras,exaggerate,everlasting,enlightened,dialed,devote,deceitful,d'oeuvres,cosmetic,contaminated,conspired,conning,cavern,carving,butting,boiled,blurry,babysit,ascension,aaaaah,wildly,whoopee,whiny,weiskopf,walkie,vultures,vacations,upfront,unresolved,tampering,stockholders,snaps,sleepwalking,shrunk,sermon,seduction,scams,revolve,phenomenal,patrolling,paranormal,ounces,omigod,nightfall,lashing,innocents,infierno,incision,humming,haunts,gloss,gloating,frannie,fetal,feeny,entrapment,discomfort,detonator,dependable,concede,complication,commotion,commence,chulak,caucasian,casually,brainer,bolie,ballpark,anwar,analyzing,accommodations,youse,wring,wallowing,transgenics,thrive,tedious,stylish,strippers,sterile,squeezing,squeaky,sprained,solemn,snoring,shattering,shabby,seams,scrawny,revoked,residue,reeks,recite,ranting,quoting,predicament,plugs,pinpoint,petrified,pathological,passports,oughtta,nighter,navigate,kippie,intrigue,intentional,insufferable,hunky,how've,horrifying,hearty,hamptons,grazie,funerals,forks,fetched,excruciating,enjoyable,endanger,dumber,drying,diabolical,crossword,corry,comprehend,clipped,classmates,candlelight,brutally,brutality,boarded,bathrobe,authorize,assemble,aerobics,wholesome,whiff,vermin,trophies,trait,tragically,toying,testy,tasteful,stocked,spinach,sipping,sidetracked,scrubbing,scraping,sanctity,robberies,ridin,retribution,refrain,realities,radiant,protesting,projector,plutonium,payin,parting,o'reilly,nooooo,motherfucking,measly,manic,lalita,juggling,jerking,intro,inevitably,hypnosis,huddle,horrendous,hobbies,heartfelt,harlin,hairdresser,gonorrhea,fussing,furtwangler,fleeting,flawless,flashed,fetus,eulogy,distinctly,disrespectful,denies,crossbow,cregg,crabs,cowardly,contraction,contingency,confirming,condone,coffins,cleansing,cheesecake,certainty,cages,c'est,briefed,bravest,bosom,boils,binoculars,bachelorette,appetizer,ambushed,alerted,woozy,withhold,vulgar,utmost,unleashed,unholy,unhappiness,unconditional,typewriter,typed,twists,supermodel,subpoenaed,stringing,skeptical,schoolgirl,romantically,rocked,revoir,reopen,puncture,preach,polished,planetarium,penicillin,peacefully,nurturing,more'n,mmhmm,midgets,marklar,lodged,lifeline,jellyfish,infiltrate,hutch,horseback,heist,gents,frickin,freezes,forfeit,flakes,flair,fathered,eternally,epiphany,disgruntled,discouraged,delinquent,decipher,danvers,cubes,credible,coping,chills,cherished,catastrophe,bombshell,birthright,billionaire,ample,affections,admiration,abbotts,whatnot,watering,vinegar,unthinkable,unseen,unprepared,unorthodox,underhanded,uncool,timeless,thump,thermometer,theoretically,tapping,tagged,swung,stares,spiked,solves,smuggle,scarier,saucer,quitter,prudent,powdered,poked,pointers,peril,penetrate,penance,opium,nudge,nostrils,neurological,mockery,mobster,medically,loudly,insights,implicate,hypocritical,humanly,holiness,healthier,hammered,haldeman,gunman,gloom,freshly,francs,flunked,flawed,emptiness,drugging,dozer,derevko,deprive,deodorant,cryin,crocodile,coloring,colder,cognac,clocked,clippings,charades,chanting,certifiable,caterers,brute,brochures,botched,blinders,bitchin,banter,woken,ulcer,tread,thankfully,swine,swimsuit,swans,stressing,steaming,stamped,stabilize,squirm,snooze,shuffle,shredded,seafood,scratchy,savor,sadistic,rhetorical,revlon,realist,prosecuting,prophecies,polyester,petals,persuasion,paddles,o'leary,nuthin,neighbour,negroes,muster,meningitis,matron,lockers,letterman,legged,indictment,hypnotized,housekeeping,hopelessly,hallucinations,grader,goldilocks,girly,flask,envelopes,downside,doves,dissolve,discourage,disapprove,diabetic,deliveries,decorator,crossfire,criminally,containment,comrades,complimentary,chatter,catchy,cashier,cartel,caribou,cardiologist,brawl,booted,barbershop,aryan,angst,administer,zellie,wreak,whistles,vandalism,vamps,uterus,upstate,unstoppable,understudy,tristin,transcript,tranquilizer,toxins,tonsils,stempel,spotting,spectator,spatula,softer,snotty,slinging,showered,sexiest,sensual,sadder,rimbaud,restrain,resilient,remission,reinstate,rehash,recollection,rabies,popsicle,plausible,pediatric,patronizing,ostrich,ortolani,oooooh,omelette,mistrial,marseilles,loophole,laughin,kevvy,irritated,infidelity,hypothermia,horrific,groupie,grinding,graceful,goodspeed,gestures,frantic,extradition,echelon,disks,dawnie,dared,damsel,curled,collateral,collage,chant,calculating,bumping,bribes,boardwalk,blinds,blindly,bleeds,bickering,beasts,backside,avenge,apprehended,anguish,abusing,youthful,yells,yanking,whomever,when'd,vomiting,vengeful,unpacking,unfamiliar,undying,tumble,trolls,treacherous,tipping,tantrum,tanked,summons,straps,stomped,stinkin,stings,staked,squirrels,sprinkles,speculate,sorting,skinned,sicko,sicker,shootin,shatter,seeya,schnapps,s'posed,ronee,respectful,regroup,regretting,reeling,reckoned,ramifications,puddy,projections,preschool,plissken,platonic,permalash,outdone,outburst,mutants,mugging,misfortune,miserably,miraculously,medications,margaritas,manpower,lovemaking,logically,leeches,latrine,kneel,inflict,impostor,hypocrisy,hippies,heterosexual,heightened,hecuba,healer,gunned,grooming,groin,gooey,gloomy,frying,friendships,fredo,firepower,fathom,exhaustion,evils,endeavor,eggnog,dreaded,d'arcy,crotch,coughing,coronary,cookin,consummate,congrats,companionship,caved,caspar,bulletproof,brilliance,breakin,brash,blasting,aloud,airtight,advising,advertise,adultery,aches,wronged,upbeat,trillion,thingies,tending,tarts,surreal,specs,specialize,spade,shrew,shaping,selves,schoolwork,roomie,recuperating,rabid,quart,provocative,proudly,pretenses,prenatal,pharmaceuticals,pacing,overworked,originals,nicotine,murderous,mileage,mayonnaise,massages,losin,interrogated,injunction,impartial,homing,heartbreaker,hacks,glands,giver,fraizh,flips,flaunt,englishman,electrocuted,dusting,ducking,drifted,donating,cylon,crutches,crates,cowards,comfortably,chummy,chitchat,childbirth,businesswoman,brood,blatant,bethy,barring,bagged,awakened,asbestos,airplanes,worshipped,winnings,why're,visualize,unprotected,unleash,trays,thicker,therapists,takeoff,streisand,storeroom,stethoscope,stacked,spiteful,sneaks,snapping,slaughtered,slashed,simplest,silverware,shits,secluded,scruples,scrubs,scraps,ruptured,roaring,receptionist,recap,raditch,radiator,pushover,plastered,pharmacist,perverse,perpetrator,ornament,ointment,nineties,napping,nannies,mousse,moors,momentary,misunderstandings,manipulator,malfunction,laced,kivar,kickin,infuriating,impressionable,holdup,hires,hesitated,headphones,hammering,groundwork,grotesque,graces,gauze,gangsters,frivolous,freeing,fours,forwarding,ferrars,faulty,fantasizing,extracurricular,empathy,divorces,detonate,depraved,demeaning,deadlines,dalai,cursing,cufflink,crows,coupons,comforted,claustrophobic,casinos,camped,busboy,bluth,bennetts,baskets,attacker,aplastic,angrier,affectionate,zapped,wormhole,weaken,unrealistic,unravel,unimportant,unforgettable,twain,suspend,superbowl,stutter,stewardess,stepson,standin,spandex,souvenirs,sociopath,skeletons,shivering,sexier,selfishness,scrapbook,ritalin,ribbons,reunite,remarry,relaxation,rattling,rapist,psychosis,prepping,poses,pleasing,pisses,piling,persecuted,padded,operatives,negotiator,natty,menopause,mennihan,martimmys,loyalties,laynie,lando,justifies,intimately,inexperienced,impotent,immortality,horrors,hooky,hinges,heartbreaking,handcuffed,gypsies,guacamole,grovel,graziella,goggles,gestapo,fussy,ferragamo,feeble,eyesight,explosions,experimenting,enchanting,doubtful,dizziness,dismantle,detectors,deserving,defective,dangling,dancin,crumble,creamed,cramping,conceal,clockwork,chrissakes,chrissake,chopping,cabinets,brooding,bonfire,blurt,bloated,blackmailer,beforehand,bathed,bathe,barcode,banish,badges,babble,await,attentive,aroused,antibodies,animosity,ya'll,wrinkled,wonderland,willed,whisk,waltzing,waitressing,vigilant,upbringing,unselfish,uncles,trendy,trajectory,striped,stamina,stalled,staking,stacks,spoils,snuff,snooty,snide,shrinking,senora,secretaries,scoundrel,saline,salads,rundown,riddles,relapse,recommending,raspberry,plight,pecan,pantry,overslept,ornaments,niner,negligent,negligence,nailing,mucho,mouthed,monstrous,malpractice,lowly,loitering,logged,lingering,lettin,lattes,kamal,juror,jillefsky,jacked,irritate,intrusion,insatiable,infect,impromptu,icing,hmmmm,hefty,gasket,frightens,flapping,firstborn,faucet,estranged,envious,dopey,doesn,disposition,disposable,disappointments,dipped,dignified,deceit,dealership,deadbeat,curses,coven,counselors,concierge,clutches,casbah,callous,cahoots,brotherly,britches,brides,bethie,beige,autographed,attendants,attaboy,astonishing,appreciative,antibiotic,aneurysm,afterlife,affidavit,zoning,whats,whaddaya,vasectomy,unsuspecting,toula,topanga,tonio,toasted,tiring,terrorized,tenderness,tailing,sweats,suffocated,sucky,subconsciously,starvin,sprouts,spineless,sorrows,snowstorm,smirk,slicery,sledding,slander,simmer,signora,sigmund,seventies,sedate,scented,sandals,rollers,retraction,resigning,recuperate,receptive,racketeering,queasy,provoking,priors,prerogative,premed,pinched,pendant,outsiders,orbing,opportunist,olanov,neurologist,nanobot,mommies,molested,misread,mannered,laundromat,intercom,inspect,insanely,infatuation,indulgent,indiscretion,inconsiderate,hurrah,howling,herpes,hasta,harassed,hanukkah,groveling,groosalug,gander,galactica,futile,fridays,flier,fixes,exploiting,exorcism,evasive,endorse,emptied,dreary,dreamy,downloaded,dodged,doctored,disobeyed,disneyland,disable,dehydrated,contemplating,coconuts,cockroaches,clogged,chilling,chaperon,cameraman,bulbs,bucklands,bribing,brava,bracelets,bowels,bluepoint,appetizers,appendix,antics,anointed,analogy,almonds,yammering,winch,weirdness,wangler,vibrations,vendor,unmarked,unannounced,twerp,trespass,travesty,transfusion,trainee,towelie,tiresome,straightening,staggering,sonar,socializing,sinus,sinners,shambles,serene,scraped,scones,scepter,sarris,saberhagen,ridiculously,ridicule,rents,reconciled,radios,publicist,pubes,prune,prude,precrime,postponing,pluck,perish,peppermint,peeled,overdo,nutshell,nostalgic,mulan,mouthing,mistook,meddle,maybourne,martimmy,lobotomy,livelihood,lippman,likeness,kindest,kaffee,jocks,jerked,jeopardizing,jazzed,insured,inquisition,inhale,ingenious,holier,helmets,heirloom,heinous,haste,harmsway,hardship,hanky,gutters,gruesome,groping,goofing,godson,glare,finesse,figuratively,ferrie,endangerment,dreading,dozed,dorky,dmitri,divert,discredit,dialing,cufflinks,crutch,craps,corrupted,cocoon,cleavage,cannery,bystander,brushes,bruising,bribery,brainstorm,bolted,binge,ballistics,astute,arroway,adventurous,adoptive,addicts,addictive,yadda,whitelighters,wematanye,weeds,wedlock,wallets,vulnerability,vroom,vents,upped,unsettling,unharmed,trippin,trifle,tracing,tormenting,thats,syphilis,subtext,stickin,spices,sores,smacked,slumming,sinks,signore,shitting,shameful,shacked,septic,seedy,righteousness,relish,rectify,ravishing,quickest,phoebs,perverted,peeing,pedicure,pastrami,passionately,ozone,outnumbered,oregano,offender,nukes,nosed,nighty,nifty,mounties,motivate,moons,misinterpreted,mercenary,mentality,marsellus,lupus,lumbar,lovesick,lobsters,leaky,laundering,latch,jafar,instinctively,inspires,indoors,incarcerated,hundredth,handkerchief,gynecologist,guittierez,groundhog,grinning,goodbyes,geese,fullest,eyelashes,eyelash,enquirer,endlessly,elusive,disarm,detest,deluding,dangle,cotillion,corsage,conjugal,confessional,cones,commandment,coded,coals,chuckle,christmastime,cheeseburgers,chardonnay,celery,campfire,calming,burritos,brundle,broflovski,brighten,borderline,blinked,bling,beauties,bauers,battered,articulate,alienated,ahhhhh,agamemnon,accountants,y'see,wrongful,wrapper,workaholic,winnebago,whispered,warts,vacate,unworthy,unanswered,tonane,tolerated,throwin,throbbing,thrills,thorns,thereof,there've,tarot,sunscreen,stretcher,stereotype,soggy,sobbing,sizable,sightings,shucks,shrapnel,sever,senile,seaboard,scorned,saver,rebellious,rained,putty,prenup,pores,pinching,pertinent,peeping,paints,ovulating,opposites,occult,nutcracker,nutcase,newsstand,newfound,mocked,midterms,marshmallow,marbury,maclaren,leans,krudski,knowingly,keycard,junkies,juilliard,jolinar,irritable,invaluable,inuit,intoxicating,instruct,insolent,inexcusable,incubator,illustrious,hunsecker,houseguest,homosexuals,homeroom,hernia,harming,handgun,hallways,hallucination,gunshots,groupies,groggy,goiter,gingerbread,giggling,frigging,fledged,fedex,fairies,exchanging,exaggeration,esteemed,enlist,drags,dispense,disloyal,disconnect,desks,dentists,delacroix,degenerate,daydreaming,cushions,cuddly,corroborate,complexion,compensated,cobbler,closeness,chilled,checkmate,channing,carousel,calms,bylaws,benefactor,ballgame,baiting,backstabbing,artifact,airspace,adversary,actin,accuses,accelerant,abundantly,abstinence,zissou,zandt,yapping,witchy,willows,whadaya,vilandra,veiled,undress,undivided,underestimating,ultimatums,twirl,truckload,tremble,toasting,tingling,tents,tempered,sulking,stunk,sponges,spills,softly,snipers,scourge,rooftop,riana,revolting,revisit,refreshments,redecorating,recapture,raysy,pretense,prejudiced,precogs,pouting,poofs,pimple,piles,pediatrician,padre,packets,paces,orvelle,oblivious,objectivity,nighttime,nervosa,mexicans,meurice,melts,matchmaker,maeby,lugosi,lipnik,leprechaun,kissy,kafka,introductions,intestines,inspirational,insightful,inseparable,injections,inadvertently,hussy,huckabees,hittin,hemorrhaging,headin,haystack,hallowed,grudges,granilith,grandkids,grading,gracefully,godsend,gobbles,fragrance,fliers,finchley,farts,eyewitnesses,expendable,existential,dorms,delaying,degrading,deduction,darlings,danes,cylons,counsellor,contraire,consciously,conjuring,congratulating,cokes,buffay,brooch,bitching,bistro,bijou,bewitched,benevolent,bends,bearings,barren,aptitude,amish,amazes,abomination,worldly,whispers,whadda,wayward,wailing,vanishing,upscale,untouchable,unspoken,uncontrollable,unavoidable,unattended,trite,transvestite,toupee,timid,timers,terrorizing,swana,stumped,strolling,storybook,storming,stomachs,stoked,stationery,springtime,spontaneity,spits,spins,soaps,sentiments,scramble,scone,rooftops,retract,reflexes,rawdon,ragged,quirky,quantico,psychologically,prodigal,pounce,potty,pleasantries,pints,petting,perceive,onstage,notwithstanding,nibble,newmans,neutralize,mutilated,millionaires,mayflower,masquerade,mangy,macreedy,lunatics,lovable,locating,limping,lasagna,kwang,keepers,juvie,jaded,ironing,intuitive,intensely,insure,incantation,hysteria,hypnotize,humping,happenin,griet,grasping,glorified,ganging,g'night,focker,flunking,flimsy,flaunting,fixated,fitzwallace,fainting,eyebrow,exonerated,ether,electrician,egotistical,earthly,dusted,dignify,detonation,debrief,dazzling,dan'l,damnedest,daisies,crushes,crucify,contraband,confronting,collapsing,cocked,clicks,cliche,circled,chandelier,carburetor,callers,broads,breathes,bloodshed,blindsided,blabbing,bialystock,bashing,ballerina,aviva,arteries,anomaly,airstrip,agonizing,adjourn,aaaaa,yearning,wrecker,witnessing,whence,warhead,unsure,unheard,unfreeze,unfold,unbalanced,ugliest,troublemaker,toddler,tiptoe,threesome,thirties,thermostat,swipe,surgically,subtlety,stung,stumbling,stubs,stride,strangling,sprayed,socket,smuggled,showering,shhhhh,sabotaging,rumson,rounding,risotto,repairman,rehearsed,ratty,ragging,radiology,racquetball,racking,quieter,quicksand,prowl,prompt,premeditated,prematurely,prancing,porcupine,plated,pinocchio,peeked,peddle,panting,overweight,overrun,outing,outgrown,obsess,nursed,nodding,negativity,negatives,musketeers,mugger,motorcade,merrily,matured,masquerading,marvellous,maniacs,lovey,louse,linger,lilies,lawful,kudos,knuckle,juices,judgments,itches,intolerable,intermission,inept,incarceration,implication,imaginative,huckleberry,holster,heartburn,gunna,groomed,graciously,fulfillment,fugitives,forsaking,forgives,foreseeable,flavors,flares,fixation,fickle,fantasize,famished,fades,expiration,exclamation,erasing,eiffel,eerie,earful,duped,dulles,dissing,dissect,dispenser,dilated,detergent,desdemona,debriefing,damper,curing,crispina,crackpot,courting,cordial,conflicted,comprehension,commie,cleanup,chiropractor,charmer,chariot,cauldron,catatonic,bullied,buckets,brilliantly,breathed,booths,boardroom,blowout,blindness,blazing,biologically,bibles,biased,beseech,barbaric,balraj,audacity,anticipating,alcoholics,airhead,agendas,admittedly,absolution,youre,yippee,wittlesey,withheld,willful,whammy,weakest,washes,virtuous,videotapes,vials,unplugged,unpacked,unfairly,turbulence,tumbling,tricking,tremendously,traitors,torches,tinga,thyroid,teased,tawdry,taker,sympathies,swiped,sundaes,suave,strut,stepdad,spewing,spasm,socialize,slither,simulator,shutters,shrewd,shocks,semantics,schizophrenic,scans,savages,rya'c,runny,ruckus,royally,roadblocks,rewriting,revoke,repent,redecorate,recovers,recourse,ratched,ramali,racquet,quince,quiche,puppeteer,puking,puffed,problemo,praises,pouch,postcards,pooped,poised,piled,phoney,phobia,patching,parenthood,pardner,oozing,ohhhhh,numbing,nostril,nosey,neatly,nappa,nameless,mortuary,moronic,modesty,midwife,mcclane,matuka,maitre,lumps,lucid,loosened,loins,lawnmower,lamotta,kroehner,jinxy,jessep,jamming,jailhouse,jacking,intruders,inhuman,infatuated,indigestion,implore,implanted,hormonal,hoboken,hillbilly,heartwarming,headway,hatched,hartmans,harping,grapevine,gnome,forties,flyin,flirted,fingernail,exhilarating,enjoyment,embark,dumper,dubious,drell,docking,disillusioned,dishonor,disbarred,dicey,custodial,counterproductive,corned,cords,contemplate,concur,conceivable,cobblepot,chickened,checkout,carpe,cap'n,campers,buyin,bullies,braid,boxed,bouncy,blueberries,blubbering,bloodstream,bigamy,beeped,bearable,autographs,alarming,wretch,wimps,widower,whirlwind,whirl,warms,vandelay,unveiling,undoing,unbecoming,turnaround,touche,togetherness,tickles,ticker,teensy,taunt,sweethearts,stitched,standpoint,staffers,spotless,soothe,smothered,sickening,shouted,shepherds,shawl,seriousness,schooled,schoolboy,s'mores,roped,reminders,raggedy,preemptive,plucked,pheromones,particulars,pardoned,overpriced,overbearing,outrun,ohmigod,nosing,nicked,neanderthal,mosquitoes,mortified,milky,messin,mecha,markinson,marivellas,mannequin,manderley,madder,macready,lookie,locusts,lifetimes,lanna,lakhi,kholi,impersonate,hyperdrive,horrid,hopin,hogging,hearsay,harpy,harboring,hairdo,hafta,grasshopper,gobble,gatehouse,foosball,floozy,fished,firewood,finalize,felons,euphemism,entourage,elitist,elegance,drokken,drier,dredge,dossier,diseased,diarrhea,diagnose,despised,defuse,d'amour,contesting,conserve,conscientious,conjured,collars,clogs,chenille,chatty,chamomile,casing,calculator,brittle,breached,blurted,birthing,bikinis,astounding,assaulting,aroma,appliance,antsy,amnio,alienating,aliases,adolescence,xerox,wrongs,workload,willona,whistling,werewolves,wallaby,unwelcome,unseemly,unplug,undermining,ugliness,tyranny,tuesdays,trumpets,transference,ticks,tangible,tagging,swallowing,superheroes,studs,strep,stowed,stomping,steffy,sprain,spouting,sponsoring,sneezing,smeared,slink,shakin,sewed,seatbelt,scariest,scammed,sanctimonious,roasting,rightly,retinal,rethinking,resented,reruns,remover,racks,purest,progressing,presidente,preeclampsia,postponement,portals,poppa,pliers,pinning,pelvic,pampered,padding,overjoyed,ooooo,one'll,octavius,nonono,nicknames,neurosurgeon,narrows,misled,mislead,mishap,milltown,milking,meticulous,mediocrity,meatballs,machete,lurch,layin,knockin,khruschev,jurors,jumpin,jugular,jeweler,intellectually,inquiries,indulging,indestructible,indebted,imitate,ignores,hyperventilating,hyenas,hurrying,hermano,hellish,heheh,harshly,handout,grunemann,glances,giveaway,getup,gerome,furthest,frosting,frail,forwarded,forceful,flavored,flammable,flaky,fingered,fatherly,ethic,embezzlement,duffel,dotted,distressed,disobey,disappearances,dinky,diminish,diaphragm,deuces,creme,courteous,comforts,coerced,clots,clarification,chunks,chickie,chases,chaperoning,cartons,caper,calves,caged,bustin,bulging,bringin,boomhauer,blowin,blindfolded,biscotti,ballplayer,bagging,auster,assurances,aschen,arraigned,anonymity,alters,albatross,agreeable,adoring,abduct,wolfi,weirded,watchers,washroom,warheads,vincennes,urgency,understandably,uncomplicated,uhhhh,twitching,treadmill,thermos,tenorman,tangle,talkative,swarm,surrendering,summoning,strive,stilts,stickers,squashed,spraying,sparring,soaring,snort,sneezed,slaps,skanky,singin,sidle,shreck,shortness,shorthand,sharper,shamed,sadist,rydell,rusik,roulette,resumes,respiration,recount,reacts,purgatory,princesses,presentable,ponytail,plotted,pinot,pigtails,phillippe,peddling,paroled,orbed,offends,o'hara,moonlit,minefield,metaphors,malignant,mainframe,magicks,maggots,maclaine,loathing,leper,leaps,leaping,lashed,larch,larceny,lapses,ladyship,juncture,jiffy,jakov,invoke,infantile,inadmissible,horoscope,hinting,hideaway,hesitating,heddy,heckles,hairline,gripe,gratifying,governess,goebbels,freddo,foresee,fascination,exemplary,executioner,etcetera,escorts,endearing,eaters,earplugs,draped,disrupting,disagrees,dimes,devastate,detain,depositions,delicacy,darklighter,cynicism,cyanide,cutters,cronus,continuance,conquering,confiding,compartments,combing,cofell,clingy,cleanse,christmases,cheered,cheekbones,buttle,burdened,bruenell,broomstick,brained,bozos,bontecou,bluntman,blazes,blameless,bizarro,bellboy,beaucoup,barkeep,awaken,astray,assailant,appease,aphrodisiac,alleys,yesss,wrecks,woodpecker,wondrous,wimpy,willpower,wheeling,weepy,waxing,waive,videotaped,veritable,untouched,unlisted,unfounded,unforeseen,twinge,triggers,traipsing,toxin,tombstone,thumping,therein,testicles,telephones,tarmac,talby,tackled,swirling,suicides,suckered,subtitles,sturdy,strangler,stockbroker,stitching,steered,standup,squeal,sprinkler,spontaneously,splendor,spiking,spender,snipe,snagged,skimming,siddown,showroom,shovels,shotguns,shoelaces,shitload,shellfish,sharpest,shadowy,seizing,scrounge,scapegoat,sayonara,saddled,rummaging,roomful,renounce,reconsidered,recharge,realistically,radioed,quirks,quadrant,punctual,practising,pours,poolhouse,poltergeist,pocketbook,plainly,picnics,pesto,pawing,passageway,partied,oneself,numero,nostalgia,nitwit,neuro,mixer,meanest,mcbeal,matinee,margate,marce,manipulations,manhunt,manger,magicians,loafers,litvack,lightheaded,lifeguard,lawns,laughingstock,ingested,indignation,inconceivable,imposition,impersonal,imbecile,huddled,housewarming,horizons,homicides,hiccups,hearse,hardened,gushing,gushie,greased,goddamit,freelancer,forging,fondue,flustered,flung,flinch,flicker,fixin,festivus,fertilizer,farted,faggots,exonerate,evict,enormously,encrypted,emdash,embracing,duress,dupres,dowser,doormat,disfigured,disciplined,dibbs,depository,deathbed,dazzled,cuttin,cures,crowding,crepe,crammed,copycat,contradict,confidant,condemning,conceited,commute,comatose,clapping,circumference,chuppah,chore,choksondik,chestnuts,briault,bottomless,bonnet,blokes,berluti,beret,beggars,bankroll,bania,athos,arsenic,apperantly,ahhhhhh,afloat,accents,zipped,zeros,zeroes,zamir,yuppie,youngsters,yorkers,wisest,wipes,wield,whyn't,weirdos,wednesdays,vicksburg,upchuck,untraceable,unsupervised,unpleasantness,unhook,unconscionable,uncalled,trappings,tragedies,townie,thurgood,things'll,thine,tetanus,terrorize,temptations,tanning,tampons,swarming,straitjacket,steroid,startling,starry,squander,speculating,sollozzo,sneaked,slugs,skedaddle,sinker,silky,shortcomings,sellin,seasoned,scrubbed,screwup,scrapes,scarves,sandbox,salesmen,rooming,romances,revere,reproach,reprieve,rearranging,ravine,rationalize,raffle,punchy,psychobabble,provocation,profoundly,prescriptions,preferable,polishing,poached,pledges,pirelli,perverts,oversized,overdressed,outdid,nuptials,nefarious,mouthpiece,motels,mopping,mongrel,missin,metaphorically,mertin,memos,melodrama,melancholy,measles,meaner,mantel,maneuvering,mailroom,luring,listenin,lifeless,licks,levon,legwork,kneecaps,kippur,kiddie,kaput,justifiable,insistent,insidious,innuendo,innit,indecent,imaginable,horseshit,hemorrhoid,hella,healthiest,haywire,hamsters,hairbrush,grouchy,grisly,gratuitous,glutton,glimmer,gibberish,ghastly,gentler,generously,geeky,fuhrer,fronting,foolin,faxes,faceless,extinguisher,expel,etched,endangering,ducked,dodgeball,dives,dislocated,discrepancy,devour,derail,dementia,daycare,cynic,crumbling,cowardice,covet,cornwallis,corkscrew,cookbook,commandments,coincidental,cobwebs,clouded,clogging,clicking,clasp,chopsticks,chefs,chaps,cashing,carat,calmer,brazen,brainwashing,bradys,bowing,boned,bloodsucking,bleachers,bleached,bedpan,bearded,barrenger,bachelors,awwww,assures,assigning,asparagus,apprehend,anecdote,amoral,aggravation,afoot,acquaintances,accommodating,yakking,worshipping,wladek,willya,willies,wigged,whoosh,whisked,watered,warpath,volts,violates,valuables,uphill,unwise,untimely,unsavory,unresponsive,unpunished,unexplained,tubby,trolling,toxicology,tormented,toothache,tingly,timmiihh,thursdays,thoreau,terrifies,temperamental,telegrams,talkie,takers,symbiote,swirl,suffocate,stupider,strapping,steckler,springing,someway,sleepyhead,sledgehammer,slant,slams,showgirl,shoveling,shmoopy,sharkbait,shan't,scrambling,schematics,sandeman,sabbatical,rummy,reykjavik,revert,responsive,rescheduled,requisition,relinquish,rejoice,reckoning,recant,rebadow,reassurance,rattlesnake,ramble,primed,pricey,prance,pothole,pocus,persist,perpetrated,pekar,peeling,pastime,parmesan,pacemaker,overdrive,ominous,observant,nothings,noooooo,nonexistent,nodded,nieces,neglecting,nauseating,mutated,musket,mumbling,mowing,mouthful,mooseport,monologue,mistrust,meetin,masseuse,mantini,mailer,madre,lowlifes,locksmith,livid,liven,limos,liberating,lhasa,leniency,leering,laughable,lashes,lasagne,laceration,korben,katan,kalen,jittery,jammies,irreplaceable,intubate,intolerant,inhaler,inhaled,indifferent,indifference,impound,impolite,humbly,heroics,heigh,guillotine,guesthouse,grounding,grips,gossiping,goatee,gnomes,gellar,frutt,frobisher,freudian,foolishness,flagged,femme,fatso,fatherhood,fantasized,fairest,faintest,eyelids,extravagant,extraterrestrial,extraordinarily,escalator,elevate,drivel,dissed,dismal,disarray,dinnertime,devastation,dermatologist,delicately,defrost,debutante,debacle,damone,dainty,cuvee,culpa,crucified,creeped,crayons,courtship,convene,congresswoman,concocted,compromises,comprende,comma,coleslaw,clothed,clinically,chickenshit,checkin,cesspool,caskets,calzone,brothel,boomerang,bodega,blasphemy,bitsy,bicentennial,berlini,beatin,beards,barbas,barbarians,backpacking,arrhythmia,arousing,arbitrator,antagonize,angling,anesthetic,altercation,aggressor,adversity,acathla,aaahhh,wreaking,workup,wonderin,wither,wielding,what'm,what'cha,waxed,vibrating,veterinarian,venting,vasey,valor,validate,upholstery,untied,unscathed,uninterrupted,unforgiving,undies,uncut,twinkies,tucking,treatable,treasured,tranquility,townspeople,torso,tomei,tipsy,tinsel,tidings,thirtieth,tantrums,tamper,talky,swayed,swapping,suitor,stylist,stirs,standoff,sprinklers,sparkly,snobby,snatcher,smoother,sleepin,shrug,shoebox,sheesh,shackles,setbacks,sedatives,screeching,scorched,scanned,satyr,roadblock,riverbank,ridiculed,resentful,repellent,recreate,reconvene,rebuttal,realmedia,quizzes,questionnaire,punctured,pucker,prolong,professionalism,pleasantly,pigsty,penniless,paychecks,patiently,parading,overactive,ovaries,orderlies,oracles,oiled,offending,nudie,neonatal,neighborly,moops,moonlighting,mobilize,mmmmmm,milkshake,menial,meats,mayan,maxed,mangled,magua,lunacy,luckier,liters,lansbury,kooky,knowin,jeopardized,inkling,inhalation,inflated,infecting,incense,inbound,impractical,impenetrable,idealistic,i'mma,hypocrites,hurtin,humbled,hologram,hokey,hocus,hitchhiking,hemorrhoids,headhunter,hassled,harts,hardworking,haircuts,hacksaw,genitals,gazillion,gammy,gamesphere,fugue,footwear,folly,flashlights,fives,filet,extenuating,estrogen,entails,embezzled,eloquent,egomaniac,ducts,drowsy,drones,doree,donovon,disguises,diggin,deserting,depriving,defying,deductible,decorum,decked,daylights,daybreak,dashboard,damnation,cuddling,crunching,crickets,crazies,councilman,coughed,conundrum,complimented,cohaagen,clutching,clued,clader,cheques,checkpoint,chats,channeling,ceases,carasco,capisce,cantaloupe,cancelling,campsite,burglars,breakfasts,bra'tac,blueprint,bleedin,blabbed,beneficiary,basing,avert,atone,arlyn,approves,apothecary,antiseptic,aleikuum,advisement,zadir,wobbly,withnail,whattaya,whacking,wedged,wanders,vaginal,unimaginable,undeniable,unconditionally,uncharted,unbridled,tweezers,tvmegasite,trumped,triumphant,trimming,treading,tranquilizers,toontown,thunk,suture,suppressing,strays,stonewall,stogie,stepdaughter,stace,squint,spouses,splashed,speakin,sounder,sorrier,sorrel,sombrero,solemnly,softened,snobs,snippy,snare,smoothing,slump,slimeball,slaving,silently,shiller,shakedown,sensations,scrying,scrumptious,screamin,saucy,santoses,roundup,roughed,rosary,robechaux,retrospect,rescind,reprehensible,repel,remodeling,reconsidering,reciprocate,railroaded,psychics,promos,prob'ly,pristine,printout,priestess,prenuptial,precedes,pouty,phoning,peppy,pariah,parched,panes,overloaded,overdoing,nymphs,nother,notebooks,nearing,nearer,monstrosity,milady,mieke,mephesto,medicated,marshals,manilow,mammogram,m'lady,lotsa,loopy,lesion,lenient,learner,laszlo,kross,kinks,jinxed,involuntary,insubordination,ingrate,inflatable,incarnate,inane,hypoglycemia,huntin,humongous,hoodlum,honking,hemorrhage,helpin,hathor,hatching,grotto,grandmama,gorillas,godless,girlish,ghouls,gershwin,frosted,flutter,flagpole,fetching,fatter,faithfully,exert,evasion,escalate,enticing,enchantress,elopement,drills,downtime,downloading,dorks,doorways,divulge,dissociative,disgraceful,disconcerting,deteriorate,destinies,depressive,dented,denim,decruz,decidedly,deactivate,daydreams,curls,culprit,cruelest,crippling,cranberries,corvis,copped,commend,coastguard,cloning,cirque,churning,chock,chivalry,catalogues,cartwheels,carols,canister,buttered,bundt,buljanoff,bubbling,brokers,broaden,brimstone,brainless,bores,badmouthing,autopilot,ascertain,aorta,ampata,allenby,accosted,absolve,aborted,aaagh,aaaaaah,yonder,yellin,wyndham,wrongdoing,woodsboro,wigging,wasteland,warranty,waltzed,walnuts,vividly,veggie,unnecessarily,unloaded,unicorns,understated,unclean,umbrellas,twirling,turpentine,tupperware,triage,treehouse,tidbit,tickled,threes,thousandth,thingie,terminally,teething,tassel,talkies,swoon,switchboard,swerved,suspiciously,subsequentlyne,subscribe,strudel,stroking,strictest,stensland,starin,stannart,squirming,squealing,sorely,softie,snookums,sniveling,smidge,sloth,skulking,simian,sightseeing,siamese,shudder,shoppers,sharpen,shannen,semtex,secondhand,seance,scowl,scorn,safekeeping,russe,rummage,roshman,roomies,roaches,rinds,retrace,retires,resuscitate,rerun,reputations,rekall,refreshment,reenactment,recluse,ravioli,raves,raking,purses,punishable,punchline,puked,prosky,previews,poughkeepsie,poppins,polluted,placenta,pissy,petulant,perseverance,pears,pawns,pastries,partake,panky,palate,overzealous,orchids,obstructing,objectively,obituaries,obedient,nothingness,musty,motherly,mooning,momentous,mistaking,minutemen,milos,microchip,meself,merciless,menelaus,mazel,masturbate,mahogany,lysistrata,lillienfield,likable,liberate,leveled,letdown,larynx,lardass,lainey,lagged,klorel,kidnappings,keyed,karmic,jeebies,irate,invulnerable,intrusive,insemination,inquire,injecting,informative,informants,impure,impasse,imbalance,illiterate,hurled,hunts,hematoma,headstrong,handmade,handiwork,growling,gorky,getcha,gesundheit,gazing,galley,foolishly,fondness,floris,ferocious,feathered,fateful,fancies,fakes,faker,expire,ever'body,essentials,eskimos,enlightening,enchilada,emissary,embolism,elsinore,ecklie,drenched,drazi,doped,dogging,doable,dislikes,dishonesty,disengage,discouraging,derailed,deformed,deflect,defer,deactivated,crips,constellations,congressmen,complimenting,clubbing,clawing,chromium,chimes,chews,cheatin,chaste,cellblock,caving,catered,catacombs,calamari,bucking,brulee,brits,brisk,breezes,bounces,boudoir,binks,better'n,bellied,behrani,behaves,bedding,balmy,badmouth,backers,avenging,aromatherapy,armpit,armoire,anythin,anonymously,anniversaries,aftershave,affliction,adrift,admissible,adieu,acquittal,yucky,yearn,whitter,whirlpool,wendigo,watchdog,wannabes,wakey,vomited,voicemail,valedictorian,uttered,unwed,unrequited,unnoticed,unnerving,unkind,unjust,uniformed,unconfirmed,unadulterated,unaccounted,uglier,turnoff,trampled,tramell,toads,timbuktu,throwback,thimble,tasteless,tarantula,tamale,takeovers,swish,supposing,streaking,stargher,stanzi,stabs,squeamish,splattered,spiritually,spilt,speciality,smacking,skywire,skips,skaara,simpatico,shredding,showin,shortcuts,shite,shielding,shamelessly,serafine,sentimentality,seasick,schemer,scandalous,sainted,riedenschneider,rhyming,revel,retractor,retards,resurrect,remiss,reminiscing,remanded,reiben,regains,refuel,refresher,redoing,redheaded,reassured,rearranged,rapport,qumar,prowling,prejudices,precarious,powwow,pondering,plunger,plunged,pleasantville,playpen,phlegm,perfected,pancreas,paley,ovary,outbursts,oppressed,ooohhh,omoroca,offed,o'toole,nurture,nursemaid,nosebleed,necktie,muttering,munchies,mucking,mogul,mitosis,misdemeanor,miscarried,millionth,migraines,midler,manicurist,mandelbaum,manageable,malfunctioned,magnanimous,loudmouth,longed,lifestyles,liddy,lickety,leprechauns,komako,klute,kennel,justifying,irreversible,inventing,intergalactic,insinuate,inquiring,ingenuity,inconclusive,incessant,improv,impersonation,hyena,humperdinck,hubba,housework,hoffa,hither,hissy,hippy,hijacked,heparin,hellooo,hearth,hassles,hairstyle,hahahaha,hadda,guys'll,gutted,gulls,gritty,grievous,graft,gossamer,gooder,gambled,gadgets,fundamentals,frustrations,frolicking,frock,frilly,foreseen,footloose,fondly,flirtation,flinched,flatten,farthest,exposer,evading,escrow,empathize,embryos,embodiment,ellsberg,ebola,dulcinea,dreamin,drawbacks,doting,doose,doofy,disturbs,disorderly,disgusts,detox,denominator,demeanor,deliriously,decode,debauchery,croissant,cravings,cranked,coworkers,councilor,confuses,confiscate,confines,conduit,compress,combed,clouding,clamps,cinch,chinnery,celebratory,catalogs,carpenters,carnal,canin,bundys,bulldozer,buggers,bueller,brainy,booming,bookstores,bloodbath,bittersweet,bellhop,beeping,beanstalk,beady,baudelaire,bartenders,bargains,averted,armadillo,appreciating,appraised,antlers,aloof,allowances,alleyway,affleck,abject,zilch,youore,xanax,wrenching,wouldn,witted,wicca,whorehouse,whooo,whips,vouchers,victimized,vicodin,untested,unsolicited,unfocused,unfettered,unfeeling,unexplainable,understaffed,underbelly,tutorial,tryst,trampoline,towering,tirade,thieving,thang,swimmin,swayzak,suspecting,superstitions,stubbornness,streamers,strattman,stonewalling,stiffs,stacking,spout,splice,sonrisa,smarmy,slows,slicing,sisterly,shrill,shined,seeming,sedley,seatbelts,scour,scold,schoolyard,scarring,salieri,rustling,roxbury,rewire,revved,retriever,reputable,remodel,reins,reincarnation,rance,rafters,rackets,quail,pumbaa,proclaim,probing,privates,pried,prewedding,premeditation,posturing,posterity,pleasurable,pizzeria,pimps,penmanship,penchant,pelvis,overturn,overstepped,overcoat,ovens,outsmart,outed,ooohh,oncologist,omission,offhand,odour,nyazian,notarized,nobody'll,nightie,navel,nabbed,mystique,mover,mortician,morose,moratorium,mockingbird,mobsters,mingling,methinks,messengered,merde,masochist,martouf,martians,marinara,manray,majorly,magnifying,mackerel,lurid,lugging,lonnegan,loathsome,llantano,liberace,leprosy,latinos,lanterns,lamest,laferette,kraut,intestine,innocencia,inhibitions,ineffectual,indisposed,incurable,inconvenienced,inanimate,improbable,implode,hydrant,hustling,hustled,huevos,how'm,hooey,hoods,honcho,hinge,hijack,heimlich,hamunaptra,haladki,haiku,haggle,gutsy,grunting,grueling,gribbs,greevy,grandstanding,godparents,glows,glistening,gimmick,gaping,fraiser,formalities,foreigner,folders,foggy,fitty,fiends,fe'nos,favours,eyeing,extort,expedite,escalating,epinephrine,entitles,entice,eminence,eights,earthlings,eagerly,dunville,dugout,doublemeat,doling,dispensing,dispatcher,discoloration,diners,diddly,dictates,diazepam,derogatory,delights,defies,decoder,dealio,danson,cutthroat,crumbles,croissants,crematorium,craftsmanship,could'a,cordless,cools,conked,confine,concealing,complicates,communique,cockamamie,coasters,clobbered,clipping,clipboard,clemenza,cleanser,circumcision,chanukah,certainaly,cellmate,cancels,cadmium,buzzed,bumstead,bucko,browsing,broth,braver,boggling,bobbing,blurred,birkhead,benet,belvedere,bellies,begrudge,beckworth,banky,baldness,baggy,babysitters,aversion,astonished,assorted,appetites,angina,amiss,ambulances,alibis,airway,admires,adhesive,yoyou,xxxxxx,wreaked,wracking,woooo,wooing,wised,wilshire,wedgie,waging,violets,vincey,uplifting,untrustworthy,unmitigated,uneventful,undressing,underprivileged,unburden,umbilical,tweaking,turquoise,treachery,tosses,torching,toothpick,toasts,thickens,tereza,tenacious,teldar,taint,swill,sweatin,subtly,subdural,streep,stopwatch,stockholder,stillwater,stalkers,squished,squeegee,splinters,spliced,splat,spied,spackle,sophistication,snapshots,smite,sluggish,slithered,skeeters,sidewalks,sickly,shrugs,shrubbery,shrieking,shitless,settin,sentinels,selfishly,scarcely,sangria,sanctum,sahjhan,rustle,roving,rousing,rosomorf,riddled,responsibly,renoir,remoray,remedial,refundable,redirect,recheck,ravenwood,rationalizing,ramus,ramelle,quivering,pyjamas,psychos,provocations,prouder,protestors,prodded,proctologist,primordial,pricks,prickly,precedents,pentangeli,pathetically,parka,parakeet,panicky,overthruster,outsmarted,orthopedic,oncoming,offing,nutritious,nuthouse,nourishment,nibbling,newlywed,narcissist,mutilation,mundane,mummies,mumble,mowed,morvern,mortem,mopes,molasses,misplace,miscommunication,miney,midlife,menacing,memorizing,massaging,masking,magnets,luxuries,lounging,lothario,liposuction,lidocaine,libbets,levitate,leeway,launcelot,larek,lackeys,kumbaya,kryptonite,knapsack,keyhole,katarangura,juiced,jakey,ironclad,invoice,intertwined,interlude,interferes,injure,infernal,indeedy,incur,incorrigible,incantations,impediment,igloo,hysterectomy,hounded,hollering,hindsight,heebie,havesham,hasenfuss,hankering,hangers,hakuna,gutless,gusto,grubbing,grrrr,grazed,gratification,grandeur,gorak,godammit,gnawing,glanced,frostbite,frees,frazzled,fraulein,fraternizing,fortuneteller,formaldehyde,followup,foggiest,flunky,flickering,firecrackers,figger,fetuses,fates,eyeliner,extremities,extradited,expires,exceedingly,evaporate,erupt,epileptic,entrails,emporium,egregious,eggshells,easing,duwayne,droll,dreyfuss,dovey,doubly,doozy,donkeys,donde,distrust,distressing,disintegrate,discreetly,decapitated,dealin,deader,dashed,darkroom,dares,daddies,dabble,cushy,cupcakes,cuffed,croupier,croak,crapped,coursing,coolers,contaminate,consummated,construed,condos,concoction,compulsion,commish,coercion,clemency,clairvoyant,circulate,chesterton,checkered,charlatan,chaperones,categorically,cataracts,carano,capsules,capitalize,burdon,bullshitting,brewed,breathless,breasted,brainstorming,bossing,borealis,bonsoir,bobka,boast,blimp,bleep,bleeder,blackouts,bisque,billboards,beatings,bayberry,bashed,bamboozled,balding,baklava,baffled,backfires,babak,awkwardness,attest,attachments,apologizes,anyhoo,antiquated,alcante,advisable,aahhh,aaahh,zatarc,yearbooks,wuddya,wringing,womanhood,witless,winging,whatsa,wetting,waterproof,wastin,vogelman,vocation,vindicated,vigilance,vicariously,venza,vacuuming,utensils,uplink,unveil,unloved,unloading,uninhibited,unattached,tweaked,turnips,trinkets,toughen,toting,topside,terrors,terrify,technologically,tarnish,tagliati,szpilman,surly,supple,summation,suckin,stepmom,squeaking,splashmore,souffle,solitaire,solicitation,solarium,smokers,slugged,slobbering,skylight,skimpy,sinuses,silenced,sideburns,shrinkage,shoddy,shhhhhh,shelled,shareef,shangri,seuss,serenade,scuffle,scoff,scanners,sauerkraut,sardines,sarcophagus,salvy,rusted,russells,rowboat,rolfsky,ringside,respectability,reparations,renegotiate,reminisce,reimburse,regimen,raincoat,quibble,puzzled,purposefully,pubic,proofing,prescribing,prelim,poisons,poaching,personalized,personable,peroxide,pentonville,payphone,payoffs,paleontology,overflowing,oompa,oddest,objecting,o'hare,o'daniel,notches,nobody'd,nightstand,neutralized,nervousness,nerdy,needlessly,naquadah,nappy,nantucket,nambla,mountaineer,motherfuckin,morrie,monopolizing,mohel,mistreated,misreading,misbehave,miramax,minivan,milligram,milkshakes,metamorphosis,medics,mattresses,mathesar,matchbook,matata,marys,malucci,magilla,lymphoma,lowers,lordy,linens,lindenmeyer,limelight,leapt,laxative,lather,lapel,lamppost,laguardia,kindling,kegger,kawalsky,juries,jokin,jesminder,interning,innermost,injun,infallible,industrious,indulgence,incinerator,impossibility,impart,illuminate,iguanas,hypnotic,hyped,hospitable,hoses,homemaker,hirschmuller,helpers,headset,guardianship,guapo,grubby,granola,granddaddy,goren,goblet,gluttony,globes,giorno,getter,geritol,gassed,gaggle,foxhole,fouled,foretold,floorboards,flippers,flaked,fireflies,feedings,fashionably,farragut,fallback,facials,exterminate,excites,everything'll,evenin,ethically,ensue,enema,empath,eluded,eloquently,eject,edema,dumpling,droppings,dolled,distasteful,disputing,displeasure,disdain,deterrent,dehydration,defied,decomposing,dawned,dailies,custodian,crusts,crucifix,crowning,crier,crept,craze,crawls,couldn,correcting,corkmaster,copperfield,cooties,contraption,consumes,conspire,consenting,consented,conquers,congeniality,complains,communicator,commendable,collide,coladas,colada,clout,clooney,classifieds,clammy,civility,cirrhosis,chink,catskills,carvers,carpool,carelessness,cardio,carbs,capades,butabi,busmalis,burping,burdens,bunks,buncha,bulldozers,browse,brockovich,breakthroughs,bravado,boogety,blossoms,blooming,bloodsucker,blight,betterton,betrayer,belittle,beeps,bawling,barts,bartending,bankbooks,babish,atropine,assertive,armbrust,anyanka,annoyance,anemic,anago,airwaves,aimlessly,aaargh,aaand,yoghurt,writhing,workable,winking,winded,widen,whooping,whiter,whatya,wazoo,voila,virile,vests,vestibule,versed,vanishes,urkel,uproot,unwarranted,unscheduled,unparalleled,undergrad,tweedle,turtleneck,turban,trickery,transponder,toyed,townhouse,thyself,thunderstorm,thinning,thawed,tether,technicalities,tau'ri,tarnished,taffeta,tacked,systolic,swerve,sweepstakes,swabs,suspenders,superwoman,sunsets,succulent,subpoenas,stumper,stosh,stomachache,stewed,steppin,stepatech,stateside,spicoli,sparing,soulless,sonnets,sockets,snatching,smothering,slush,sloman,slashing,sitters,simpleton,sighs,sidra,sickens,shunned,shrunken,showbiz,shopped,shimmering,shagging,semblance,segue,sedation,scuzzlebutt,scumbags,screwin,scoundrels,scarsdale,scabs,saucers,saintly,saddened,runaways,runaround,rheya,resenting,rehashing,rehabilitated,regrettable,refreshed,redial,reconnecting,ravenous,raping,rafting,quandary,pylea,putrid,puffing,psychopathic,prunes,probate,prayin,pomegranate,plummeting,planing,plagues,pinata,pithy,perversion,personals,perched,peeps,peckish,pavarotti,pajama,packin,pacifier,overstepping,okama,obstetrician,nutso,nuance,normalcy,nonnegotiable,nomak,ninny,nines,nicey,newsflash,neutered,nether,negligee,necrosis,navigating,narcissistic,mylie,muses,momento,moisturizer,moderation,misinformed,misconception,minnifield,mikkos,methodical,mebbe,meager,maybes,matchmaking,masry,markovic,malakai,luzhin,lusting,lumberjack,loopholes,loaning,lightening,leotard,launder,lamaze,kubla,kneeling,kibosh,jumpsuit,joliet,jogger,janover,jakovasaurs,irreparable,innocently,inigo,infomercial,inexplicable,indispensable,impregnated,impossibly,imitating,hunches,hummus,houmfort,hothead,hostiles,hooves,hooligans,homos,homie,hisself,heyyy,hesitant,hangout,handsomest,handouts,hairless,gwennie,guzzling,guinevere,grungy,goading,glaring,gavel,gardino,gangrene,fruitful,friendlier,freckle,freakish,forthright,forearm,footnote,flops,fixer,firecracker,finito,figgered,fezzik,fastened,farfetched,fanciful,familiarize,faire,fahrenheit,extravaganza,exploratory,explanatory,everglades,eunuch,estas,escapade,erasers,emptying,embarassing,dweeb,dutiful,dumplings,dries,drafty,dollhouse,dismissing,disgraced,discrepancies,disbelief,disagreeing,digestion,didnt,deviled,deviated,demerol,delectable,decaying,decadent,dears,dateless,d'algout,cultivating,cryto,crumpled,crumbled,cronies,crease,craves,cozying,corduroy,congratulated,confidante,compressions,complicating,compadre,coerce,classier,chums,chumash,chivalrous,chinpoko,charred,chafing,celibacy,carted,carryin,carpeting,carotid,cannibals,candor,butterscotch,busts,busier,bullcrap,buggin,brookside,brodski,brassiere,brainwash,brainiac,botrelle,bonbon,boatload,blimey,blaring,blackness,bipartisan,bimbos,bigamist,biebe,biding,betrayals,bestow,bellerophon,bedpans,bassinet,basking,barzini,barnyard,barfed,backups,audited,asinine,asalaam,arouse,applejack,annoys,anchovies,ampule,alameida,aggravate,adage,accomplices,yokel,y'ever,wringer,witwer,withdrawals,windward,willfully,whorfin,whimsical,whimpering,weddin,weathered,warmest,wanton,volant,visceral,vindication,veggies,urinate,uproar,unwritten,unwrap,unsung,unsubstantiated,unspeakably,unscrupulous,unraveling,unquote,unqualified,unfulfilled,undetectable,underlined,unattainable,unappreciated,ummmm,ulcers,tylenol,tweak,turnin,tuatha,tropez,trellis,toppings,tootin,toodle,tinkering,thrives,thespis,theatrics,thatherton,tempers,tavington,tartar,tampon,swelled,sutures,sustenance,sunflowers,sublet,stubbins,strutting,strewn,stowaway,stoic,sternin,stabilizing,spiraling,spinster,speedometer,speakeasy,soooo,soiled,sneakin,smithereens,smelt,smacks,slaughterhouse,slacks,skids,sketching,skateboards,sizzling,sixes,sirree,simplistic,shouts,shorted,shoelace,sheeit,shards,shackled,sequestered,selmak,seduces,seclusion,seamstress,seabeas,scoops,scooped,scavenger,satch,s'more,rudeness,romancing,rioja,rifkin,rieper,revise,reunions,repugnant,replicating,repaid,renewing,relaxes,rekindle,regrettably,regenerate,reels,reciting,reappear,readin,ratting,rapes,rancher,rammed,rainstorm,railroading,queers,punxsutawney,punishes,pssst,prudy,proudest,protectors,procrastinating,proactive,priss,postmortem,pompoms,poise,pickings,perfectionist,peretti,people'll,pecking,patrolman,paralegal,paragraphs,paparazzi,pankot,pampering,overstep,overpower,outweigh,omnipotent,odious,nuwanda,nurtured,newsroom,neeson,needlepoint,necklaces,neato,muggers,muffler,mousy,mourned,mosey,mopey,mongolians,moldy,misinterpret,minibar,microfilm,mendola,mended,melissande,masturbating,masbath,manipulates,maimed,mailboxes,magnetism,m'lord,m'honey,lymph,lunge,lovelier,lefferts,leezak,ledgers,larraby,laloosh,kundun,kozinski,knockoff,kissin,kiosk,kennedys,kellman,karlo,kaleidoscope,jeffy,jaywalking,instructing,infraction,informer,infarction,impulsively,impressing,impersonated,impeach,idiocy,hyperbole,hurray,humped,huhuh,hsing,hordes,hoodlums,honky,hitchhiker,hideously,heaving,heathcliff,headgear,headboard,hazing,harem,handprint,hairspray,gutiurrez,goosebumps,gondola,glitches,gasping,frolic,freeways,frayed,fortitude,forgetful,forefathers,fonder,foiled,foaming,flossing,flailing,fitzgeralds,firehouse,finders,fiftieth,fellah,fawning,farquaad,faraway,fancied,extremists,exorcist,exhale,ethros,entrust,ennui,energized,encephalitis,embezzling,elster,elixir,electrolytes,duplex,dryers,drexl,dredging,drawback,don'ts,dobisch,divorcee,disrespected,disprove,disobeying,disinfectant,dingy,digress,dieting,dictating,devoured,devise,detonators,desist,deserter,derriere,deron,deceptive,debilitating,deathwok,daffodils,curtsy,cursory,cuppa,cumin,cronkite,cremation,credence,cranking,coverup,courted,countin,counselling,cornball,contentment,consensual,compost,cluett,cleverly,cleansed,cleanliness,chopec,chomp,chins,chime,cheswick,chessler,cheapest,chatted,cauliflower,catharsis,catchin,caress,camcorder,calorie,cackling,bystanders,buttoned,buttering,butted,buries,burgel,buffoon,brogna,bragged,boutros,bogeyman,blurting,blurb,blowup,bloodhound,blissful,birthmark,bigot,bestest,belted,belligerent,beggin,befall,beeswax,beatnik,beaming,barricade,baggoli,badness,awoke,artsy,artful,aroun,armpits,arming,annihilate,anise,angiogram,anaesthetic,amorous,ambiance,alligators,adoration,admittance,adama,abydos,zonked,zhivago,yorkin,wrongfully,writin,wrappers,worrywart,woops,wonderfalls,womanly,wickedness,whoopie,wholeheartedly,whimper,which'll,wheelchairs,what'ya,warranted,wallop,wading,wacked,virginal,vermouth,vermeil,verger,ventriss,veneer,vampira,utero,ushers,urgently,untoward,unshakable,unsettled,unruly,unlocks,ungodly,undue,uncooperative,uncontrollably,unbeatable,twitchy,tumbler,truest,triumphs,triplicate,tribbey,tortures,tongaree,tightening,thorazine,theres,testifies,teenaged,tearful,taxing,taldor,syllabus,swoops,swingin,suspending,sunburn,stuttering,stupor,strides,strategize,strangulation,stooped,stipulation,stingy,stapled,squeaks,squawking,spoilsport,splicing,spiel,spencers,spasms,spaniard,softener,sodding,soapbox,smoldering,smithbauer,skittish,sifting,sickest,sicilians,shuffling,shrivel,segretti,seeping,securely,scurrying,scrunch,scrote,screwups,schenkman,sawing,savin,satine,sapiens,salvaging,salmonella,sacrilege,rumpus,ruffle,roughing,rotted,rondall,ridding,rickshaw,rialto,rhinestone,restrooms,reroute,requisite,repress,rednecks,redeeming,rayed,ravell,raked,raincheck,raffi,racked,pushin,profess,prodding,procure,presuming,preppy,prednisone,potted,posttraumatic,poorhouse,podiatrist,plowed,pledging,playroom,plait,placate,pinback,picketing,photographing,pharoah,petrak,petal,persecuting,perchance,pellets,peeved,peerless,payable,pauses,pathologist,pagliacci,overwrought,overreaction,overqualified,overheated,outcasts,otherworldly,opinionated,oodles,oftentimes,occured,obstinate,nutritionist,numbness,nubile,nooooooo,nobodies,nepotism,neanderthals,mushu,mucus,mothering,mothballs,monogrammed,molesting,misspoke,misspelled,misconstrued,miscalculated,minimums,mince,mildew,mighta,middleman,mementos,mellowed,mayol,mauled,massaged,marmalade,mardi,makings,lundegaard,lovingly,loudest,lotto,loosing,loompa,looming,longs,loathes,littlest,littering,lifelike,legalities,laundered,lapdog,lacerations,kopalski,knobs,knitted,kittridge,kidnaps,kerosene,karras,jungles,jockeys,iranoff,invoices,invigorating,insolence,insincere,insectopia,inhumane,inhaling,ingrates,infestation,individuality,indeterminate,incomprehensible,inadequacy,impropriety,importer,imaginations,illuminating,ignite,hysterics,hypodermic,hyperventilate,hyperactive,humoring,honeymooning,honed,hoist,hoarding,hitching,hiker,hightail,hemoglobin,hell'd,heinie,growin,grasped,grandparent,granddaughters,gouged,goblins,gleam,glades,gigantor,get'em,geriatric,gatekeeper,gargoyles,gardenias,garcon,garbo,gallows,gabbing,futon,fulla,frightful,freshener,fortuitous,forceps,fogged,fodder,foamy,flogging,flaun,flared,fireplaces,feverish,favell,fattest,fattening,fallow,extraordinaire,evacuating,errant,envied,enchant,enamored,egocentric,dussander,dunwitty,dullest,dropout,dredged,dorsia,doornail,donot,dongs,dogged,dodgy,ditty,dishonorable,discriminating,discontinue,dings,dilly,dictation,dialysis,delly,delightfully,daryll,dandruff,cruddy,croquet,cringe,crimp,credo,crackling,courtside,counteroffer,counterfeiting,corrupting,copping,conveyor,contusions,contusion,conspirator,consoling,connoisseur,confetti,composure,compel,colic,coddle,cocksuckers,coattails,cloned,claustrophobia,clamoring,churn,chugga,chirping,chasin,chapped,chalkboard,centimeter,caymans,catheter,casings,caprica,capelli,cannolis,cannoli,camogli,camembert,butchers,butchered,busboys,bureaucrats,buckled,bubbe,brownstone,bravely,brackley,bouquets,botox,boozing,boosters,bodhi,blunders,blunder,blockage,biocyte,betrays,bested,beryllium,beheading,beggar,begbie,beamed,bastille,barstool,barricades,barbecues,barbecued,bandwagon,backfiring,bacarra,avenged,autopsies,aunties,associating,artichoke,arrowhead,appendage,apostrophe,antacid,ansel,annul,amuses,amped,amicable,amberg,alluring,adversaries,admirers,adlai,acupuncture,abnormality,aaaahhhh,zooming,zippity,zipping,zeroed,yuletide,yoyodyne,yengeese,yeahhh,wrinkly,wracked,withered,winks,windmills,whopping,wendle,weigart,waterworks,waterbed,watchful,wantin,wagging,waaah,vying,ventricle,varnish,vacuumed,unreachable,unprovoked,unmistakable,unfriendly,unfolding,underpaid,uncuff,unappealing,unabomber,typhoid,tuxedos,tushie,turds,tumnus,troubadour,trinium,treaters,treads,transpired,transgression,tought,thready,thins,thinners,techs,teary,tattaglia,tassels,tarzana,tanking,tablecloths,synchronize,symptomatic,sycophant,swimmingly,sweatshop,surfboard,superpowers,sunroom,sunblock,sugarplum,stupidly,strumpet,strapless,stooping,stools,stealthy,stalks,stairmaster,staffer,sshhh,squatting,squatters,spectacularly,sorbet,socked,sociable,snubbed,snorting,sniffles,snazzy,snakebite,smuggler,smorgasbord,smooching,slurping,slouch,slingshot,slaved,skimmed,sisterhood,silliest,sidarthur,sheraton,shebang,sharpening,shanghaied,shakers,sendoff,scurvy,scoliosis,scaredy,scagnetti,sawchuk,saugus,sasquatch,sandbag,saltines,s'pose,roston,rostle,riveting,ristle,rifling,revulsion,reverently,retrograde,restful,resents,reptilian,reorganize,renovating,reiterate,reinvent,reinmar,reibers,reechard,recuse,reconciling,recognizance,reclaiming,recitation,recieved,rebate,reacquainted,rascals,railly,quintuplets,quahog,pygmies,puzzling,punctuality,prosthetic,proms,probie,preys,preserver,preppie,poachers,plummet,plumbers,plannin,pitying,pitfalls,piqued,pinecrest,pinches,pillage,pigheaded,physique,pessimistic,persecute,perjure,percentile,pentothal,pensky,penises,peini,pazzi,pastels,parlour,paperweight,pamper,pained,overwhelm,overalls,outrank,outpouring,outhouse,outage,ouija,obstructed,obsessions,obeying,obese,o'riley,o'higgins,nosebleeds,norad,noooooooo,nononono,nonchalant,nippy,neurosis,nekhorvich,necronomicon,naquada,n'est,mystik,mystified,mumps,muddle,mothership,moped,monumentally,monogamous,mondesi,misogynistic,misinterpreting,mindlock,mending,megaphone,meeny,medicating,meanie,masseur,markstrom,marklars,margueritas,manifesting,maharajah,lukewarm,loveliest,loran,lizardo,liquored,lipped,lingers,limey,lemkin,leisurely,lathe,latched,lapping,ladle,krevlorneswath,kosygin,khakis,kenaru,keats,kaitlan,julliard,jollies,jaundice,jargon,jackals,invisibility,insipid,inflamed,inferiority,inexperience,incinerated,incinerate,incendiary,incan,inbred,implicating,impersonator,hunks,horsing,hooded,hippopotamus,hiked,hetson,hetero,hessian,henslowe,hendler,hellstrom,headstone,hayloft,harbucks,handguns,hallucinate,haldol,haggling,gynaecologist,gulag,guilder,guaranteeing,groundskeeper,grindstone,grimoir,grievance,griddle,gribbit,greystone,graceland,gooders,goeth,gentlemanly,gelatin,gawking,ganged,fukes,fromby,frenchmen,foursome,forsley,forbids,footwork,foothold,floater,flinging,flicking,fittest,fistfight,fireballs,fillings,fiddling,fennyman,felonious,felonies,feces,favoritism,fatten,fanatics,faceman,excusing,excepted,entwined,entree,ensconced,eladio,ehrlichman,easterland,dueling,dribbling,drape,downtrodden,doused,dosed,dorleen,dokie,distort,displeased,disown,dismount,disinherited,disarmed,disapproves,diperna,dined,diligent,dicaprio,depress,decoded,debatable,dealey,darsh,damsels,damning,dad'll,d'oeuvre,curlers,curie,cubed,crikey,crepes,countrymen,cornfield,coppers,copilot,copier,cooing,conspiracies,consigliere,condoning,commoner,commies,combust,comas,colds,clawed,clamped,choosy,chomping,chimps,chigorin,chianti,cheep,checkups,cheaters,celibate,cautiously,cautionary,castell,carpentry,caroling,carjacking,caritas,caregiver,cardiology,candlesticks,canasta,cain't,burro,burnin,bunking,bumming,bullwinkle,brummel,brooms,brews,breathin,braslow,bracing,botulism,boorish,bloodless,blayne,blatantly,blankie,bedbugs,becuase,barmaid,bared,baracus,banal,bakes,backpacks,attentions,atrocious,ativan,athame,asunder,astound,assuring,aspirins,asphyxiation,ashtrays,aryans,arnon,apprehension,applauding,anvil,antiquing,antidepressants,annoyingly,amputate,altruistic,alotta,alerting,afterthought,affront,affirm,actuality,abysmal,absentee,yeller,yakushova,wuzzy,wriggle,worrier,woogyman,womanizer,windpipe,windbag,willin,whisking,whimsy,wendall,weeny,weensy,weasels,watery,watcha,wasteful,waski,washcloth,waaay,vouched,viznick,ventriloquist,vendettas,veils,vayhue,vamanos,vadimus,upstage,uppity,unsaid,unlocking,unintentionally,undetected,undecided,uncaring,unbearably,tween,tryout,trotting,trini,trimmings,trickier,treatin,treadstone,trashcan,transcendent,tramps,townsfolk,torturous,torrid,toothpicks,tolerable,tireless,tiptoeing,timmay,tillinghouse,tidying,tibia,thumbing,thrusters,thrashing,these'll,thatos,testicular,teriyaki,tenors,tenacity,tellers,telemetry,tarragon,switchblade,swicker,swells,sweatshirts,swatches,surging,supremely,sump'n,succumb,subsidize,stumbles,stuffs,stoppin,stipulate,stenographer,steamroll,stasis,stagger,squandered,splint,splendidly,splashy,splashing,specter,sorcerers,somewheres,somber,snuggled,snowmobile,sniffed,snags,smugglers,smudged,smirking,smearing,slings,sleet,sleepovers,sleek,slackers,siree,siphoning,singed,sincerest,sickened,shuffled,shriveled,shorthanded,shittin,shish,shipwrecked,shins,sheetrock,shawshank,shamu,sha're,servitude,sequins,seascape,scrapings,scoured,scorching,sandpaper,saluting,salud,ruffled,roughnecks,rougher,rosslyn,rosses,roost,roomy,romping,revolutionize,reprimanded,refute,refrigerated,reeled,redundancies,rectal,recklessly,receding,reassignment,reapers,readout,ration,raring,ramblings,raccoons,quarantined,purging,punters,psychically,premarital,pregnancies,predisposed,precautionary,pollute,podunk,plums,plaything,pixilated,pitting,piranhas,pieced,piddles,pickled,photogenic,phosphorous,pffft,pestilence,pessimist,perspiration,perps,penticoff,passageways,pardons,panics,pancamo,paleontologist,overwhelms,overstating,overpaid,overdid,outlive,orthodontist,orgies,oreos,ordover,ordinates,ooooooh,oooohhh,omelettes,officiate,obtuse,obits,nymph,novocaine,noooooooooo,nipping,nilly,nightstick,negate,neatness,natured,narcotic,narcissism,namun,nakatomi,murky,muchacho,mouthwash,motzah,morsel,morph,morlocks,mooch,moloch,molest,mohra,modus,modicum,mockolate,misdemeanors,miscalculation,middies,meringue,mercilessly,meditating,mayakovsky,maximillian,marlee,markovski,maniacal,maneuvered,magnificence,maddening,lutze,lunged,lovelies,lorry,loosening,lookee,littered,lilac,lightened,laces,kurzon,kurtzweil,kind've,kimono,kenji,kembu,keanu,kazuo,jonesing,jilted,jiggling,jewelers,jewbilee,jacqnoud,jacksons,ivories,insurmountable,innocuous,innkeeper,infantery,indulged,indescribable,incoherent,impervious,impertinent,imperfections,hunnert,huffy,horsies,horseradish,hollowed,hogwash,hockley,hissing,hiromitsu,hidin,hereafter,helpmann,hehehe,haughty,happenings,hankie,handsomely,halliwells,haklar,haise,gunsights,grossly,grope,grocer,grits,gripping,grabby,glorificus,gizzard,gilardi,gibarian,geminon,gasses,garnish,galloping,gairwyn,futterman,futility,fumigated,fruitless,friendless,freon,foregone,forego,floored,flighty,flapjacks,fizzled,ficus,festering,farbman,fabricate,eyghon,extricate,exalted,eventful,esophagus,enterprising,entail,endor,emphatically,embarrasses,electroshock,easel,duffle,drumsticks,dissection,dissected,disposing,disparaging,disorientation,disintegrated,disarming,devoting,dessaline,deprecating,deplorable,delve,degenerative,deduct,decomposed,deathly,dearie,daunting,dankova,cyclotron,cyberspace,cutbacks,culpable,cuddled,crumpets,cruelly,crouching,cranium,cramming,cowering,couric,cordesh,conversational,conclusively,clung,clotting,cleanest,chipping,chimpanzee,chests,cheapen,chainsaws,censure,catapult,caravaggio,carats,captivating,calrissian,butlers,busybody,bussing,bunion,bulimic,budging,brung,browbeat,brokenhearted,brecher,breakdowns,bracebridge,boning,blowhard,blisters,blackboard,bigotry,bialy,bhamra,bended,begat,battering,baste,basquiat,barricaded,barometer,balled,baited,badenweiler,backhand,ascenscion,argumentative,appendicitis,apparition,anxiously,antagonistic,angora,anacott,amniotic,ambience,alonna,aleck,akashic,ageless,abouts,aawwww,aaaaarrrrrrggghhh,aaaaaa,zendi,yuppies,yodel,y'hear,wrangle,wombosi,wittle,withstanding,wisecracks,wiggling,wierd,whittlesley,whipper,whattya,whatsamatter,whatchamacallit,whassup,whad'ya,weakling,warfarin,waponis,wampum,wadn't,vorash,vizzini,virtucon,viridiana,veracity,ventilated,varicose,varcon,vandalized,vamos,vamoose,vaccinated,vacationing,usted,urinal,uppers,unwittingly,unsealed,unplanned,unhinged,unhand,unfathomable,unequivocally,unbreakable,unadvisedly,udall,tynacorp,tuxes,tussle,turati,tunic,tsavo,trussed,troublemakers,trollop,tremors,transsexual,transfusions,toothbrushes,toned,toddlers,tinted,tightened,thundering,thorpey,this'd,thespian,thaddius,tenuous,tenths,tenement,telethon,teleprompter,teaspoon,taunted,tattle,tardiness,taraka,tappy,tapioca,tapeworm,talcum,tacks,swivel,swaying,superpower,summarize,sumbitch,sultry,suburbia,styrofoam,stylings,strolls,strobe,stockpile,stewardesses,sterilized,sterilize,stealin,stakeouts,squawk,squalor,squabble,sprinkled,sportsmanship,spokes,spiritus,sparklers,spareribs,sowing,sororities,sonovabitch,solicit,softy,softness,softening,snuggling,snatchers,snarling,snarky,snacking,smears,slumped,slowest,slithering,sleazebag,slayed,slaughtering,skidded,skated,sivapathasundaram,sissies,silliness,silences,sidecar,sicced,shylock,shtick,shrugged,shriek,shoves,should'a,shortcake,shockingly,shirking,shaves,shatner,sharpener,shapely,shafted,sexless,septum,selflessness,seabea,scuff,screwball,scoping,scooch,scolding,schnitzel,schemed,scalper,santy,sankara,sanest,salesperson,sakulos,safehouse,sabers,runes,rumblings,rumbling,ruijven,ringers,righto,rhinestones,retrieving,reneging,remodelling,relentlessly,regurgitate,refills,reeking,reclusive,recklessness,recanted,ranchers,rafer,quaking,quacks,prophesied,propensity,profusely,problema,prided,prays,postmark,popsicles,poodles,pollyanna,polaroids,pokes,poconos,pocketful,plunging,plugging,pleeease,platters,pitied,pinetti,piercings,phooey,phonies,pestering,periscope,pentagram,pelts,patronized,paramour,paralyze,parachutes,pales,paella,paducci,owatta,overdone,overcrowded,overcompensating,ostracized,ordinate,optometrist,operandi,omens,okayed,oedipal,nuttier,nuptial,nunheim,noxious,nourish,notepad,nitroglycerin,nibblet,neuroses,nanosecond,nabbit,mythic,munchkins,multimillion,mulroney,mucous,muchas,mountaintop,morlin,mongorians,moneybags,mom'll,molto,mixup,misgivings,mindset,michalchuk,mesmerized,merman,mensa,meaty,mbwun,materialize,materialistic,masterminded,marginally,mapuhe,malfunctioning,magnify,macnamara,macinerney,machinations,macadamia,lysol,lurks,lovelorn,lopsided,locator,litback,litany,linea,limousines,limes,lighters,liebkind,levity,levelheaded,letterhead,lesabre,leron,lepers,lefts,leftenant,laziness,layaway,laughlan,lascivious,laryngitis,lapsed,landok,laminated,kurten,kobol,knucklehead,knowed,knotted,kirkeby,kinsa,karnovsky,jolla,jimson,jettison,jeric,jawed,jankis,janitors,jango,jalopy,jailbreak,jackers,jackasses,invalidate,intercepting,intercede,insinuations,infertile,impetuous,impaled,immerse,immaterial,imbeciles,imagines,idyllic,idolized,icebox,i'd've,hypochondriac,hyphen,hurtling,hurried,hunchback,hullo,horsting,hoooo,homeboys,hollandaise,hoity,hijinks,hesitates,herrero,herndorff,helplessly,heeyy,heathen,hearin,headband,harrassment,harpies,halstrom,hahahahaha,hacer,grumbling,grimlocks,grift,greets,grandmothers,grander,grafts,gordievsky,gondorff,godorsky,glscripts,gaudy,gardeners,gainful,fuses,fukienese,frizzy,freshness,freshening,fraught,frantically,foxbooks,fortieth,forked,foibles,flunkies,fleece,flatbed,fisted,firefight,fingerpaint,filibuster,fhloston,fenceline,femur,fatigues,fanucci,fantastically,familiars,falafel,fabulously,eyesore,expedient,ewwww,eviscerated,erogenous,epidural,enchante,embarassed,embarass,embalming,elude,elspeth,electrocute,eigth,eggshell,echinacea,eases,earpiece,earlobe,dumpsters,dumbshit,dumbasses,duloc,duisberg,drummed,drinkers,dressy,dorma,doily,divvy,diverting,dissuade,disrespecting,displace,disorganized,disgustingly,discord,disapproving,diligence,didja,diced,devouring,detach,destructing,desolate,demerits,delude,delirium,degrade,deevak,deemesa,deductions,deduce,debriefed,deadbeats,dateline,darndest,damnable,dalliance,daiquiri,d'agosta,cussing,cryss,cripes,cretins,crackerjack,cower,coveting,couriers,countermission,cotswolds,convertibles,conversationalist,consorting,consoled,consarn,confides,confidentially,commited,commiserate,comme,comforter,comeuppance,combative,comanches,colosseum,colling,coexist,coaxing,cliffside,chutes,chucked,chokes,childlike,childhoods,chickening,chenowith,charmingly,changin,catsup,captioning,capsize,cappucino,capiche,candlewell,cakewalk,cagey,caddie,buxley,bumbling,bulky,buggered,brussel,brunettes,brumby,brotha,bronck,brisket,bridegroom,braided,bovary,bookkeeper,bluster,bloodline,blissfully,blase,billionaires,bicker,berrisford,bereft,berating,berate,bendy,belive,belated,beikoku,beens,bedspread,bawdy,barreling,baptize,banya,balthazar,balmoral,bakshi,bails,badgered,backstreet,awkwardly,auras,attuned,atheists,astaire,assuredly,arrivederci,appetit,appendectomy,apologetic,antihistamine,anesthesiologist,amulets,albie,alarmist,aiight,adstream,admirably,acquaint,abound,abominable,aaaaaaah,zekes,zatunica,wussy,worded,wooed,woodrell,wiretap,windowsill,windjammer,windfall,whisker,whims,whatiya,whadya,weirdly,weenies,waunt,washout,wanto,waning,victimless,verdad,veranda,vandaley,vancomycin,valise,vaguest,upshot,unzip,unwashed,untrained,unstuck,unprincipled,unmentionables,unjustly,unfolds,unemployable,uneducated,unduly,undercut,uncovering,unconsciousness,unconsciously,tyndareus,turncoat,turlock,tulle,tryouts,trouper,triplette,trepkos,tremor,treeger,trapeze,traipse,tradeoff,trach,torin,tommorow,tollan,toity,timpani,thumbprint,thankless,tell'em,telepathy,telemarketing,telekinesis,teevee,teeming,tarred,tambourine,talentless,swooped,switcheroo,swirly,sweatpants,sunstroke,suitors,sugarcoat,subways,subterfuge,subservient,subletting,stunningly,strongbox,striptease,stravanavitch,stradling,stoolie,stodgy,stocky,stifle,stealer,squeezes,squatter,squarely,sprouted,spool,spindly,speedos,soups,soundly,soulmates,somebody'll,soliciting,solenoid,sobering,snowflakes,snowballs,snores,slung,slimming,skulk,skivvies,skewered,skewer,sizing,sistine,sidebar,sickos,shushing,shunt,shugga,shone,shol'va,sharpened,shapeshifter,shadowing,shadoe,selectman,sefelt,seared,scrounging,scribbling,scooping,scintillating,schmoozing,scallops,sapphires,sanitarium,sanded,safes,rudely,roust,rosebush,rosasharn,rondell,roadhouse,riveted,rewrote,revamp,retaliatory,reprimand,replicators,replaceable,remedied,relinquishing,rejoicing,reincarnated,reimbursed,reevaluate,redid,redefine,recreating,reconnected,rebelling,reassign,rearview,rayne,ravings,ratso,rambunctious,radiologist,quiver,quiero,queef,qualms,pyrotechnics,pulsating,psychosomatic,proverb,promiscuous,profanity,prioritize,preying,predisposition,precocious,precludes,prattling,prankster,povich,potting,postpartum,porridge,polluting,plowing,pistachio,pissin,pickpocket,physicals,peruse,pertains,personified,personalize,perjured,perfecting,pepys,pepperdine,pembry,peering,peels,pedophile,patties,passkey,paratrooper,paraphernalia,paralyzing,pandering,paltry,palpable,pagers,pachyderm,overstay,overestimated,overbite,outwit,outgrow,outbid,ooops,oomph,oohhh,oldie,obliterate,objectionable,nygma,notting,noches,nitty,nighters,newsstands,newborns,neurosurgery,nauseated,nastiest,narcolepsy,mutilate,muscled,murmur,mulva,mulling,mukada,muffled,morgues,moonbeams,monogamy,molester,molestation,molars,moans,misprint,mismatched,mirth,mindful,mimosas,millander,mescaline,menstrual,menage,mellowing,medevac,meddlesome,matey,manicures,malevolent,madmen,macaroons,lydell,lycra,lunchroom,lunching,lozenges,looped,litigious,liquidate,linoleum,lingk,limitless,limber,lilacs,ligature,liftoff,lemmiwinks,leggo,learnin,lazarre,lawyered,lactose,knelt,kenosha,kemosabe,jussy,junky,jordy,jimmies,jeriko,jakovasaur,issacs,isabela,irresponsibility,ironed,intoxication,insinuated,inherits,ingest,ingenue,inflexible,inflame,inevitability,inedible,inducement,indignant,indictments,indefensible,incomparable,incommunicado,improvising,impounded,illogical,ignoramus,hydrochloric,hydrate,hungover,humorless,humiliations,hugest,hoverdrone,hovel,hmmph,hitchhike,hibernating,henchman,helloooo,heirlooms,heartsick,headdress,hatches,harebrained,hapless,hanen,handsomer,hallows,habitual,guten,gummy,guiltier,guidebook,gstaad,gruff,griss,grieved,grata,gorignak,goosed,goofed,glowed,glitz,glimpses,glancing,gilmores,gianelli,geraniums,garroway,gangbusters,gamblers,galls,fuddy,frumpy,frowning,frothy,fro'tak,frere,fragrances,forgettin,follicles,flowery,flophouse,floatin,flirts,flings,flatfoot,fingerprinting,fingerprinted,fingering,finald,fillet,fianc,femoral,federales,fawkes,fascinates,farfel,fambly,falsified,fabricating,exterminators,expectant,excusez,excrement,excercises,evian,etins,esophageal,equivalency,equate,equalizer,entrees,enquire,endearment,empathetic,emailed,eggroll,earmuffs,dyslexic,duper,duesouth,drunker,druggie,dreadfully,dramatics,dragline,downplay,downers,dominatrix,doers,docket,docile,diversify,distracts,disloyalty,disinterested,discharging,disagreeable,dirtier,dinghy,dimwitted,dimoxinil,dimmy,diatribe,devising,deviate,detriment,desertion,depressants,depravity,deniability,delinquents,defiled,deepcore,deductive,decimate,deadbolt,dauthuille,dastardly,daiquiris,daggers,dachau,curiouser,curdled,cucamonga,cruller,cruces,crosswalk,crinkle,crescendo,cremate,counseled,couches,cornea,corday,copernicus,contrition,contemptible,constipated,conjoined,confounded,condescend,concoct,conch,compensating,committment,commandeered,comely,coddled,cockfight,cluttered,clunky,clownfish,cloaked,clenched,cleanin,civilised,circumcised,cimmeria,cilantro,chutzpah,chucking,chiseled,chicka,chattering,cervix,carrey,carpal,carnations,cappuccinos,candied,calluses,calisthenics,bushy,burners,budington,buchanans,brimming,braids,boycotting,bouncers,botticelli,botherin,bookkeeping,bogyman,bogged,bloodthirsty,blintzes,blanky,binturong,billable,bigboote,bewildered,betas,bequeath,behoove,befriend,bedpost,bedded,baudelaires,barreled,barboni,barbeque,bangin,baltus,bailout,backstabber,baccarat,awning,augie,arguillo,archway,apricots,apologising,annyong,anchorman,amenable,amazement,allspice,alannis,airfare,airbags,ahhhhhhhhh,ahhhhhhhh,ahhhhhhh,agitator,adrenal,acidosis,achoo,accessorizing,accentuate,abrasions,abductor,aaaahhh,aaaaaaaa,aaaaaaa,zeroing,zelner,zeldy,yevgeny,yeska,yellows,yeesh,yeahh,yamuri,wouldn't've,workmanship,woodsman,winnin,winked,wildness,whoring,whitewash,whiney,when're,wheezer,wheelman,wheelbarrow,westerburg,weeding,watermelons,washboard,waltzes,wafting,voulez,voluptuous,vitone,vigilantes,videotaping,viciously,vices,veruca,vermeer,verifying,vasculitis,valets,upholstered,unwavering,untold,unsympathetic,unromantic,unrecognizable,unpredictability,unmask,unleashing,unintentional,unglued,unequivocal,underrated,underfoot,unchecked,unbutton,unbind,unbiased,unagi,uhhhhh,tugging,triads,trespasses,treehorn,traviata,trappers,transplants,trannie,tramping,tracheotomy,tourniquet,tooty,toothless,tomarrow,toasters,thruster,thoughtfulness,thornwood,tengo,tenfold,telltale,telephoto,telephoned,telemarketer,tearin,tastic,tastefully,tasking,taser,tamed,tallow,taketh,taillight,tadpoles,tachibana,syringes,sweated,swarthy,swagger,surges,supermodels,superhighway,sunup,sun'll,sulfa,sugarless,sufficed,subside,strolled,stringy,strengthens,straightest,straightens,storefront,stopper,stockpiling,stimulant,stiffed,steyne,sternum,stepladder,stepbrother,steers,steelheads,steakhouse,stathis,stankylecartmankennymr,standoffish,stalwart,squirted,spritz,sprig,sprawl,spousal,sphincter,spenders,spearmint,spatter,spangled,southey,soured,sonuvabitch,somethng,snuffed,sniffs,smokescreen,smilin,slobs,sleepwalker,sleds,slays,slayage,skydiving,sketched,skanks,sixed,siphoned,siphon,simpering,sigfried,sidearm,siddons,sickie,shuteye,shuffleboard,shrubberies,shrouded,showmanship,shouldn't've,shoplift,shiatsu,sentries,sentance,sensuality,seething,secretions,searing,scuttlebutt,sculpt,scowling,scouring,scorecard,schoolers,schmucks,scepters,scaly,scalps,scaffolding,sauces,sartorius,santen,salivating,sainthood,saget,saddens,rygalski,rusting,ruination,rueland,rudabaga,rottweiler,roofies,romantics,rollerblading,roldy,roadshow,rickets,rible,rheza,revisiting,retentive,resurface,restores,respite,resounding,resorting,resists,repulse,repressing,repaying,reneged,refunds,rediscover,redecorated,reconstructive,recommitted,recollect,receptacle,reassess,reanimation,realtors,razinin,rationalization,ratatouille,rashum,rasczak,rancheros,rampler,quizzing,quips,quartered,purring,pummeling,puede,proximo,prospectus,pronouncing,prolonging,procreation,proclamations,principled,prides,preoccupation,prego,precog,prattle,pounced,potshots,potpourri,porque,pomegranates,polenta,plying,pluie,plesac,playmates,plantains,pillowcase,piddle,pickers,photocopied,philistine,perpetuate,perpetually,perilous,pawned,pausing,pauper,parter,parlez,parlay,pally,ovulation,overtake,overstate,overpowering,overpowered,overconfident,overbooked,ovaltine,outweighs,outings,ottos,orrin,orifice,orangutan,oopsy,ooooooooh,oooooo,ooohhhh,ocular,obstruct,obscenely,o'dwyer,nutjob,nunur,notifying,nostrand,nonny,nonfat,noblest,nimble,nikes,nicht,newsworthy,nestled,nearsighted,ne'er,nastier,narco,nakedness,muted,mummified,mudda,mozzarella,moxica,motivator,motility,mothafucka,mortmain,mortgaged,mores,mongers,mobbed,mitigating,mistah,misrepresented,mishke,misfortunes,misdirection,mischievous,mineshaft,millaney,microwaves,metzenbaum,mccovey,masterful,masochistic,marliston,marijawana,manya,mantumbi,malarkey,magnifique,madrona,madox,machida,m'hidi,lullabies,loveliness,lotions,looka,lompoc,litterbug,litigator,lithe,liquorice,linds,limericks,lightbulb,lewises,letch,lemec,layover,lavatory,laurels,lateness,laparotomy,laboring,kuato,kroff,krispy,krauts,knuckleheads,kitschy,kippers,kimbrow,keypad,keepsake,kebab,karloff,junket,judgemental,jointed,jezzie,jetting,jeeze,jeeter,jeesus,jeebs,janeane,jails,jackhammer,ixnay,irritates,irritability,irrevocable,irrefutable,irked,invoking,intricacies,interferon,intents,insubordinate,instructive,instinctive,inquisitive,inlay,injuns,inebriated,indignity,indecisive,incisors,incacha,inalienable,impresses,impregnate,impregnable,implosion,idolizes,hypothyroidism,hypoglycemic,huseni,humvee,huddling,honing,hobnobbing,hobnob,histrionics,histamine,hirohito,hippocratic,hindquarters,hikita,hikes,hightailed,hieroglyphics,heretofore,herbalist,hehey,hedriks,heartstrings,headmistress,headlight,hardheaded,happend,handlebars,hagitha,habla,gyroscope,guys'd,guy'd,guttersnipe,grump,growed,grovelling,groan,greenbacks,gravedigger,grating,grasshoppers,grandiose,grandest,grafted,gooood,goood,gooks,godsakes,goaded,glamorama,giveth,gingham,ghostbusters,germane,georgy,gazzo,gazelles,gargle,garbled,galgenstein,gaffe,g'day,fyarl,furnish,furies,fulfills,frowns,frowned,frighteningly,freebies,freakishly,forewarned,foreclose,forearms,fordson,fonics,flushes,flitting,flemmer,flabby,fishbowl,fidgeting,fevers,feigning,faxing,fatigued,fathoms,fatherless,fancier,fanatical,factored,eyelid,eyeglasses,expresso,expletive,expectin,excruciatingly,evidentiary,ever'thing,eurotrash,eubie,estrangement,erlich,epitome,entrap,enclose,emphysema,embers,emasculating,eighths,eardrum,dyslexia,duplicitous,dumpty,dumbledore,dufus,duddy,duchamp,drunkenness,drumlin,drowns,droid,drinky,drifts,drawbridge,dramamine,douggie,douchebag,dostoyevsky,doodling,don'tcha,domineering,doings,dogcatcher,doctoring,ditzy,dissimilar,dissecting,disparage,disliking,disintegrating,dishwalla,dishonored,dishing,disengaged,disavowed,dippy,diorama,dimmed,dilate,digitalis,diggory,dicing,diagnosing,devola,desolation,dennings,denials,deliverance,deliciously,delicacies,degenerates,degas,deflector,defile,deference,decrepit,deciphered,dawdle,dauphine,daresay,dangles,dampen,damndest,cucumbers,cucaracha,cryogenically,croaks,croaked,criticise,crisper,creepiest,creams,crackle,crackin,covertly,counterintelligence,corrosive,cordially,cops'll,convulsions,convoluted,conversing,conga,confrontational,confab,condolence,condiments,complicit,compiegne,commodus,comings,cometh,collusion,collared,cockeyed,clobber,clemonds,clarithromycin,cienega,christmasy,christmassy,chloroform,chippie,chested,cheeco,checklist,chauvinist,chandlers,chambermaid,chakras,cellophane,caveat,cataloguing,cartmanland,carples,carny,carded,caramels,cappy,caped,canvassing,callback,calibrated,calamine,buttermilk,butterfingers,bunsen,bulimia,bukatari,buildin,budged,brobich,bringer,brendell,brawling,bratty,braised,boyish,boundless,botch,boosh,bookies,bonbons,bodes,bobunk,bluntly,blossoming,bloomers,bloodstains,bloodhounds,blech,biter,biometric,bioethics,bijan,bigoted,bicep,bereaved,bellowing,belching,beholden,beached,batmobile,barcodes,barch,barbecuing,bandanna,backwater,backtrack,backdraft,augustino,atrophy,atrocity,atley,atchoo,asthmatic,assoc,armchair,arachnids,aptly,appetizing,antisocial,antagonizing,anorexia,anini,andersons,anagram,amputation,alleluia,airlock,aimless,agonized,agitate,aggravating,aerosol,acing,accomplishing,accidently,abuser,abstain,abnormally,aberration,aaaaahh,zlotys,zesty,zerzura,zapruder,zantopia,yelburton,yeess,y'knowwhati'msayin,wwhat,wussies,wrenched,would'a,worryin,wormser,wooooo,wookiee,wolchek,wishin,wiseguys,windbreaker,wiggy,wieners,wiedersehen,whoopin,whittled,wherefore,wharvey,welts,wellstone,wedges,wavered,watchit,wastebasket,wango,waken,waitressed,wacquiem,vrykolaka,voula,vitally,visualizing,viciousness,vespers,vertes,verily,vegetarians,vater,vaporize,vannacutt,vallens,ussher,urinating,upping,unwitting,untangle,untamed,unsanitary,unraveled,unopened,unisex,uninvolved,uninteresting,unintelligible,unimaginative,undeserving,undermines,undergarments,unconcerned,tyrants,typist,tykes,tybalt,twosome,twits,tutti,turndown,tularemia,tuberculoma,tsimshian,truffaut,truer,truant,trove,triumphed,tripe,trigonometry,trifled,trifecta,tribulations,tremont,tremoille,transcends,trafficker,touchin,tomfoolery,tinkered,tinfoil,tightrope,thousan,thoracotomy,thesaurus,thawing,thatta,tessio,temps,taxidermist,tator,tachycardia,t'akaya,swelco,sweetbreads,swatting,supercollider,sunbathing,summarily,suffocation,sueleen,succinct,subsided,submissive,subjecting,subbing,subatomic,stupendous,stunted,stubble,stubbed,streetwalker,strategizing,straining,straightaway,stoli,stiffer,stickup,stens,steamroller,steadwell,steadfast,stateroom,stans,sshhhh,squishing,squinting,squealed,sprouting,sprimp,spreadsheets,sprawled,spotlights,spooning,spirals,speedboat,spectacles,speakerphone,southglen,souse,soundproof,soothsayer,sommes,somethings,solidify,soars,snorted,snorkeling,snitches,sniping,snifter,sniffin,snickering,sneer,snarl,smila,slinking,slanted,slanderous,slammin,skimp,skilosh,siteid,sirloin,singe,sighing,sidekicks,sicken,showstopper,shoplifter,shimokawa,sherborne,shavadai,sharpshooters,sharking,shagged,shaddup,senorita,sesterces,sensuous,seahaven,scullery,scorcher,schotzie,schnoz,schmooze,schlep,schizo,scents,scalping,scalped,scallop,scalding,sayeth,saybrooke,sawed,savoring,sardine,sandstorm,sandalwood,salutations,sagman,s'okay,rsvp'd,rousted,rootin,romper,romanovs,rollercoaster,rolfie,robinsons,ritzy,ritualistic,ringwald,rhymed,rheingold,rewrites,revoking,reverts,retrofit,retort,retinas,respirations,reprobate,replaying,repaint,renquist,renege,relapsing,rekindled,rejuvenating,rejuvenated,reinstating,recriminations,rechecked,reassemble,rears,reamed,reacquaint,rayanne,ravish,rathole,raspail,rarest,rapists,rants,racketeer,quittin,quitters,quintessential,queremos,quellek,quelle,quasimodo,pyromaniac,puttanesca,puritanical,purer,puree,pungent,pummel,puedo,psychotherapist,prosecutorial,prosciutto,propositioning,procrastination,probationary,primping,preventative,prevails,preservatives,preachy,praetorians,practicality,powders,potus,postop,positives,poser,portolano,portokalos,poolside,poltergeists,pocketed,poach,plummeted,plucking,plimpton,playthings,plastique,plainclothes,pinpointed,pinkus,pinks,pigskin,piffle,pictionary,piccata,photocopy,phobias,perignon,perfumes,pecks,pecked,patently,passable,parasailing,paramus,papier,paintbrush,pacer,paaiint,overtures,overthink,overstayed,overrule,overestimate,overcooked,outlandish,outgrew,outdoorsy,outdo,orchestrate,oppress,opposable,oooohh,oomupwah,okeydokey,okaaay,ohashi,of'em,obscenities,oakie,o'gar,nurection,nostradamus,norther,norcom,nooch,nonsensical,nipped,nimbala,nervously,neckline,nebbleman,narwhal,nametag,n'n't,mycenae,muzak,muumuu,mumbled,mulvehill,muggings,muffet,mouthy,motivates,motaba,moocher,mongi,moley,moisturize,mohair,mocky,mmkay,mistuh,missis,misdeeds,mincemeat,miggs,miffed,methadone,messieur,menopausal,menagerie,mcgillicuddy,mayflowers,matrimonial,matick,masai,marzipan,maplewood,manzelle,mannequins,manhole,manhandle,malfunctions,madwoman,machiavelli,lynley,lynched,lurconis,lujack,lubricant,looove,loons,loofah,lonelyhearts,lollipops,lineswoman,lifers,lexter,lepner,lemony,leggy,leafy,leadeth,lazerus,lazare,lawford,languishing,lagoda,ladman,kundera,krinkle,krendler,kreigel,kowolski,knockdown,knifed,kneed,kneecap,kids'll,kennie,kenmore,keeled,kazootie,katzenmoyer,kasdan,karak,kapowski,kakistos,julyan,jockstrap,jobless,jiggly,jaunt,jarring,jabbering,irrigate,irrevocably,irrationally,ironies,invitro,intimated,intently,intentioned,intelligently,instill,instigator,instep,inopportune,innuendoes,inflate,infects,infamy,indiscretions,indiscreet,indio,indignities,indict,indecision,inconspicuous,inappropriately,impunity,impudent,impotence,implicates,implausible,imperfection,impatience,immutable,immobilize,idealist,iambic,hysterically,hyperspace,hygienist,hydraulics,hydrated,huzzah,husks,hunched,huffed,hubris,hubbub,hovercraft,houngan,hosed,horoscopes,hopelessness,hoodwinked,honorably,honeysuckle,homegirl,holiest,hippity,hildie,hieroglyphs,hexton,herein,heckle,heaping,healthilizer,headfirst,hatsue,harlot,hardwired,halothane,hairstyles,haagen,haaaaa,gutting,gummi,groundless,groaning,gristle,grills,graynamore,grabbin,goodes,goggle,glittering,glint,gleaming,glassy,girth,gimbal,giblets,gellers,geezers,geeze,garshaw,gargantuan,garfunkel,gangway,gandarium,gamut,galoshes,gallivanting,gainfully,gachnar,fusionlips,fusilli,furiously,frugal,fricking,frederika,freckling,frauds,fountainhead,forthwith,forgo,forgettable,foresight,foresaw,fondling,fondled,fondle,folksy,fluttering,fluffing,floundering,flirtatious,flexing,flatterer,flaring,fixating,finchy,figurehead,fiendish,fertilize,ferment,fending,fellahs,feelers,fascinate,fantabulous,falsify,fallopian,faithless,fairer,fainter,failings,facetious,eyepatch,exxon,extraterrestrials,extradite,extracurriculars,extinguish,expunged,expelling,exorbitant,exhilarated,exertion,exerting,excercise,everbody,evaporated,escargot,escapee,erases,epizootics,epithelials,ephrum,entanglements,enslave,engrossed,emphatic,emeralds,ember,emancipated,elevates,ejaculate,effeminate,eccentricities,easygoing,earshot,dunks,dullness,dulli,dulled,drumstick,dropper,driftwood,dregs,dreck,dreamboat,draggin,downsizing,donowitz,dominoes,diversions,distended,dissipate,disraeli,disqualify,disowned,dishwashing,disciplining,discerning,disappoints,dinged,digested,dicking,detonating,despising,depressor,depose,deport,dents,defused,deflecting,decryption,decoys,decoupage,decompress,decibel,decadence,deafening,dawning,dater,darkened,dappy,dallying,dagon,czechoslovakians,cuticles,cuteness,cupboards,culottes,cruisin,crosshairs,cronyn,criminalistics,creatively,creaming,crapping,cranny,cowed,contradicting,constipation,confining,confidences,conceiving,conceivably,concealment,compulsively,complainin,complacent,compels,communing,commode,comming,commensurate,columnists,colonoscopy,colchicine,coddling,clump,clubbed,clowning,cliffhanger,clang,cissy,choosers,choker,chiffon,channeled,chalet,cellmates,cathartic,caseload,carjack,canvass,canisters,candlestick,candlelit,camry,calzones,calitri,caldy,byline,butterball,bustier,burlap,bureaucrat,buffoons,buenas,brookline,bronzed,broiled,broda,briss,brioche,briar,breathable,brays,brassieres,boysenberry,bowline,boooo,boonies,booklets,bookish,boogeyman,boogey,bogas,boardinghouse,bluuch,blundering,bluer,blowed,blotchy,blossomed,bloodwork,bloodied,blithering,blinks,blathering,blasphemous,blacking,birdson,bings,bfmid,bfast,bettin,berkshires,benjamins,benevolence,benched,benatar,bellybutton,belabor,behooves,beddy,beaujolais,beattle,baxworth,baseless,barfing,bannish,bankrolled,banek,ballsy,ballpoint,baffling,badder,badda,bactine,backgammon,baako,aztreonam,authoritah,auctioning,arachtoids,apropos,aprons,apprised,apprehensive,anythng,antivenin,antichrist,anorexic,anoint,anguished,angioplasty,angio,amply,ampicillin,amphetamines,alternator,alcove,alabaster,airlifted,agrabah,affidavits,admonished,admonish,addled,addendum,accuser,accompli,absurdity,absolved,abrusso,abreast,aboot,abductions,abducting,aback,ababwa,aaahhhh,zorin,zinthar,zinfandel,zillions,zephyrs,zatarcs,zacks,youuu,yokels,yardstick,yammer,y'understand,wynette,wrung,wreaths,wowed,wouldn'ta,worming,wormed,workday,woodsy,woodshed,woodchuck,wojadubakowski,withering,witching,wiseass,wiretaps,wining,willoby,wiccaning,whupped,whoopi,whoomp,wholesaler,whiteness,whiner,whatchya,wharves,wenus,weirdoes,weaning,watusi,waponi,waistband,wackos,vouching,votre,vivica,viveca,vivant,vivacious,visor,visitin,visage,vicrum,vetted,ventriloquism,venison,varnsen,vaporized,vapid,vanstock,uuuuh,ushering,urologist,urination,upstart,uprooted,unsubtitled,unspoiled,unseat,unseasonably,unseal,unsatisfying,unnerve,unlikable,unleaded,uninsured,uninspired,unicycle,unhooked,unfunny,unfreezing,unflattering,unfairness,unexpressed,unending,unencumbered,unearth,undiscovered,undisciplined,understan,undershirt,underlings,underline,undercurrent,uncivilized,uncharacteristic,umpteenth,uglies,tuney,trumps,truckasaurus,trubshaw,trouser,tringle,trifling,trickster,trespassers,trespasser,traumas,trattoria,trashes,transgressions,trampling,tp'ed,toxoplasmosis,tounge,tortillas,topsy,topple,topnotch,tonsil,tions,timmuh,timithious,tilney,tighty,tightness,tightens,tidbits,ticketed,thyme,threepio,thoughtfully,thorkel,thommo,thing'll,thefts,that've,thanksgivings,tetherball,testikov,terraforming,tepid,tendonitis,tenboom,telex,teenybopper,tattered,tattaglias,tanneke,tailspin,tablecloth,swooping,swizzle,swiping,swindled,swilling,swerving,sweatshops,swaddling,swackhammer,svetkoff,supossed,superdad,sumptuous,sugary,sugai,subvert,substantiate,submersible,sublimating,subjugation,stymied,strychnine,streetlights,strassmans,stranglehold,strangeness,straddling,straddle,stowaways,stotch,stockbrokers,stifling,stepford,steerage,steena,statuary,starlets,staggeringly,ssshhh,squaw,spurt,spungeon,spritzer,sprightly,sprays,sportswear,spoonful,splittin,splitsville,speedily,specialise,spastic,sparrin,souvlaki,southie,sourpuss,soupy,soundstage,soothes,somebody'd,softest,sociopathic,socialized,snyders,snowmobiles,snowballed,snatches,smugness,smoothest,smashes,sloshed,sleight,skyrocket,skied,skewed,sixpence,sipowicz,singling,simulates,shyness,shuvanis,showoff,shortsighted,shopkeeper,shoehorn,shithouse,shirtless,shipshape,shifu,shelve,shelbyville,sheepskin,sharpens,shaquille,shanshu,servings,sequined,seizes,seashells,scrambler,scopes,schnauzer,schmo,schizoid,scampered,savagely,saudis,santas,sandovals,sanding,saleswoman,sagging,s'cuse,rutting,ruthlessly,runneth,ruffians,rubes,rosalita,rollerblades,rohypnol,roasts,roadies,ritten,rippling,ripples,rigoletto,richardo,rethought,reshoot,reserving,reseda,rescuer,reread,requisitions,repute,reprogram,replenish,repetitious,reorganizing,reinventing,reinvented,reheat,refrigerators,reenter,recruiter,recliner,rawdy,rashes,rajeski,raison,raisers,rages,quinine,questscape,queller,pygmalion,pushers,pusan,purview,pumpin,pubescent,prudes,provolone,propriety,propped,procrastinate,processional,preyed,pretrial,portent,pooling,poofy,polloi,policia,poacher,pluses,pleasuring,platitudes,plateaued,plaguing,pittance,pinheads,pincushion,pimply,pimped,piggyback,piecing,phillipe,philipse,philby,pharaohs,petyr,petitioner,peshtigo,pesaram,persnickety,perpetrate,percolating,pepto,penne,penell,pemmican,peeks,pedaling,peacemaker,pawnshop,patting,pathologically,patchouli,pasts,pasties,passin,parlors,paltrow,palamon,padlock,paddling,oversleep,overheating,overdosed,overcharge,overblown,outrageously,ornery,opportune,oooooooooh,oohhhh,ohhhhhh,ogres,odorless,obliterated,nyong,nymphomaniac,ntozake,novocain,nough,nonnie,nonissue,nodules,nightmarish,nightline,niceties,newsman,needra,nedry,necking,navour,nauseam,nauls,narim,namath,nagged,naboo,n'sync,myslexia,mutator,mustafi,musketeer,murtaugh,murderess,munching,mumsy,muley,mouseville,mortifying,morgendorffers,moola,montel,mongoloid,molestered,moldings,mocarbies,mo'ss,mixers,misrell,misnomer,misheard,mishandled,miscreant,misconceptions,miniscule,millgate,mettle,metricconverter,meteors,menorah,mengele,melding,meanness,mcgruff,mcarnold,matzoh,matted,mastectomy,massager,marveling,marooned,marmaduke,marick,manhandled,manatees,man'll,maltin,maliciously,malfeasance,malahide,maketh,makeovers,maiming,machismo,lumpectomy,lumbering,lucci,lording,lorca,lookouts,loogie,loners,loathed,lissen,lighthearted,lifer,lickin,lewen,levitation,lestercorp,lessee,lentils,legislate,legalizing,lederhosen,lawmen,lasskopf,lardner,lambeau,lamagra,ladonn,lactic,lacquer,labatier,krabappel,kooks,knickknacks,klutzy,kleynach,klendathu,kinross,kinkaid,kind'a,ketch,kesher,karikos,karenina,kanamits,junshi,jumbled,joust,jotted,jobson,jingling,jigalong,jerries,jellies,jeeps,javna,irresistable,internist,intercranial,inseminated,inquisitor,infuriate,inflating,infidelities,incessantly,incensed,incase,incapacitate,inasmuch,inaccuracies,imploding,impeding,impediments,immaturity,illegible,iditarod,icicles,ibuprofen,i'i'm,hymie,hydrolase,hunker,humps,humons,humidor,humdinger,humbling,huggin,huffing,housecleaning,hothouse,hotcakes,hosty,hootenanny,hootchie,hoosegow,honks,honeymooners,homily,homeopathic,hitchhikers,hissed,hillnigger,hexavalent,hewwo,hershe,hermey,hergott,henny,hennigans,henhouse,hemolytic,helipad,heifer,hebrews,hebbing,heaved,headlock,harrowing,harnessed,hangovers,handi,handbasket,halfrek,hacene,gyges,guys're,gundersons,gumption,gruntmaster,grubs,grossie,groped,grins,greaseball,gravesite,gratuity,granma,grandfathers,grandbaby,gradski,gracing,gossips,gooble,goners,golitsyn,gofer,godsake,goddaughter,gnats,gluing,glares,givers,ginza,gimmie,gimmee,gennero,gemme,gazpacho,gazed,gassy,gargling,gandhiji,galvanized,gallbladder,gaaah,furtive,fumigation,fucka,fronkonsteen,frills,freezin,freewald,freeloader,frailty,forger,foolhardy,fondest,fomin,followin,follicle,flotation,flopping,floodgates,flogged,flicked,flenders,fleabag,fixings,fixable,fistful,firewater,firelight,fingerbang,finalizing,fillin,filipov,fiderer,felling,feldberg,feign,faunia,fatale,farkus,fallible,faithfulness,factoring,eyeful,extramarital,exterminated,exhume,exasperated,eviscerate,estoy,esmerelda,escapades,epoxy,enticed,enthused,entendre,engrossing,endorphins,emptive,emmys,eminently,embezzler,embarressed,embarrassingly,embalmed,eludes,eling,elated,eirie,egotitis,effecting,eerily,eecom,eczema,earthy,earlobes,eally,dyeing,dwells,duvet,duncans,dulcet,droves,droppin,drools,drey'auc,downriver,domesticity,dollop,doesnt,dobler,divulged,diversionary,distancing,dispensers,disorienting,disneyworld,dismissive,disingenuous,disheveled,disfiguring,dinning,dimming,diligently,dilettante,dilation,dickensian,diaphragms,devastatingly,destabilize,desecrate,deposing,deniece,demony,delving,delicates,deigned,defraud,deflower,defibrillator,defiantly,defenceless,defacing,deconstruction,decompose,deciphering,decibels,deceptively,deceptions,decapitation,debutantes,debonair,deadlier,dawdling,davic,darwinism,darnit,darks,danke,danieljackson,dangled,cytoxan,cutout,cutlery,curveball,curfews,cummerbund,crunches,crouched,crisps,cripples,crilly,cribs,crewman,creepin,creeds,credenza,creak,crawly,crawlin,crawlers,crated,crackheads,coworker,couldn't've,corwins,coriander,copiously,convenes,contraceptives,contingencies,contaminating,conniption,condiment,concocting,comprehending,complacency,commendatore,comebacks,com'on,collarbone,colitis,coldly,coiffure,coffers,coeds,codependent,cocksucking,cockney,cockles,clutched,closeted,cloistered,cleve,cleats,clarifying,clapped,cinnabar,chunnel,chumps,cholinesterase,choirboy,chocolatey,chlamydia,chigliak,cheesie,chauvinistic,chasm,chartreuse,charo,charnier,chapil,chalked,chadway,certifiably,cellulite,celled,cavalcade,cataloging,castrated,cassio,cashews,cartouche,carnivore,carcinogens,capulet,captivated,capt'n,cancellations,campin,callate,callar,caffeinated,cadavers,cacophony,cackle,buzzes,buttoning,busload,burglaries,burbs,buona,bunions,bullheaded,buffs,bucyk,buckling,bruschetta,browbeating,broomsticks,broody,bromly,brolin,briefings,brewskies,breathalyzer,breakups,bratwurst,brania,braiding,brags,braggin,bradywood,bottomed,bossa,bordello,bookshelf,boogida,bondsman,bolder,boggles,bludgeoned,blowtorch,blotter,blips,blemish,bleaching,blainetologists,blading,blabbermouth,birdseed,bimmel,biloxi,biggly,bianchinni,betadine,berenson,belus,belloq,begets,befitting,beepers,beelzebub,beefed,bedridden,bedevere,beckons,beaded,baubles,bauble,battleground,bathrobes,basketballs,basements,barroom,barnacle,barkin,barked,baretta,bangles,bangler,banality,bambang,baltar,ballplayers,bagman,baffles,backroom,babysat,baboons,averse,audiotape,auctioneer,atten,atcha,astonishment,arugula,arroz,antihistamines,annoyances,anesthesiology,anatomically,anachronism,amiable,amaretto,allahu,alight,aimin,ailment,afterglow,affronte,advil,adrenals,actualization,acrost,ached,accursed,accoutrements,absconded,aboveboard,abetted,aargh,aaaahh,zuwicky,zolda,ziploc,zakamatak,youve,yippie,yesterdays,yella,yearns,yearnings,yearned,yawning,yalta,yahtzee,y'mean,y'are,wuthering,wreaks,worrisome,workiiing,wooooooo,wonky,womanizing,wolodarsky,wiwith,withdraws,wishy,wisht,wipers,wiper,winos,windthorne,windsurfing,windermere,wiggled,wiggen,whwhat,whodunit,whoaaa,whittling,whitesnake,whereof,wheezing,wheeze,whatd'ya,whataya,whammo,whackin,wellll,weightless,weevil,wedgies,webbing,weasly,wayside,waxes,waturi,washy,washrooms,wandell,waitaminute,waddya,waaaah,vornac,vishnoor,virulent,vindictiveness,vinceres,villier,vigeous,vestigial,ventilate,vented,venereal,veering,veered,veddy,vaslova,valosky,vailsburg,vaginas,vagas,urethra,upstaged,uploading,unwrapping,unwieldy,untapped,unsatisfied,unquenchable,unnerved,unmentionable,unlovable,unknowns,uninformed,unimpressed,unhappily,unguarded,unexplored,undergarment,undeniably,unclench,unclaimed,uncharacteristically,unbuttoned,unblemished,ululd,uhhhm,tweeze,tutsami,tushy,tuscarora,turkle,turghan,turbinium,tubers,trucoat,troxa,tropicana,triquetra,trimmers,triceps,trespassed,traya,traumatizing,transvestites,trainors,tradin,trackers,townies,tourelles,toucha,tossin,tortious,topshop,topes,tonics,tongs,tomsk,tomorrows,toiling,toddle,tizzy,tippers,timmi,thwap,thusly,ththe,thrusts,throwers,throwed,throughway,thickening,thermonuclear,thelwall,thataway,terrifically,tendons,teleportation,telepathically,telekinetic,teetering,teaspoons,tarantulas,tapas,tanned,tangling,tamales,tailors,tahitian,tactful,tachy,tablespoon,syrah,synchronicity,synch,synapses,swooning,switchman,swimsuits,sweltering,sweetly,suvolte,suslov,surfed,supposition,suppertime,supervillains,superfluous,superego,sunspots,sunning,sunless,sundress,suckah,succotash,sublevel,subbasement,studious,striping,strenuously,straights,stonewalled,stillness,stilettos,stevesy,steno,steenwyck,stargates,stammering,staedert,squiggly,squiggle,squashing,squaring,spreadsheet,spramp,spotters,sporto,spooking,splendido,spittin,spirulina,spiky,spate,spartacus,spacerun,soonest,something'll,someth,somepin,someone'll,sofas,soberly,sobered,snowmen,snowbank,snowballing,snivelling,sniffling,snakeskin,snagging,smush,smooter,smidgen,smackers,slumlord,slossum,slimmer,slighted,sleepwalk,sleazeball,skokie,skeptic,sitarides,sistah,sipped,sindell,simpletons,simony,silkwood,silks,silken,sightless,sideboard,shuttles,shrugging,shrouds,showy,shoveled,shouldn'ta,shoplifters,shitstorm,sheeny,shapetype,shaming,shallows,shackle,shabbily,shabbas,seppuku,senility,semite,semiautomatic,selznick,secretarial,sebacio,scuzzy,scummy,scrutinized,scrunchie,scribbled,scotches,scolded,scissor,schlub,scavenging,scarin,scarfing,scallions,scald,savour,savored,saute,sarcoidosis,sandbar,saluted,salish,saith,sailboats,sagittarius,sacre,saccharine,sacamano,rushdie,rumpled,rumba,rulebook,rubbers,roughage,rotisserie,rootie,roofy,roofie,romanticize,rittle,ristorante,rippin,rinsing,ringin,rincess,rickety,reveling,retest,retaliating,restorative,reston,restaurateur,reshoots,resetting,resentments,reprogramming,repossess,repartee,renzo,remore,remitting,remeber,relaxants,rejuvenate,rejections,regenerated,refocus,referrals,reeno,recycles,recrimination,reclining,recanting,reattach,reassigning,razgul,raved,rattlesnakes,rattles,rashly,raquetball,ransack,raisinettes,raheem,radisson,radishes,raban,quoth,qumari,quints,quilts,quilting,quien,quarreled,purty,purblind,punchbowl,publically,psychotics,psychopaths,psychoanalyze,pruning,provasik,protectin,propping,proportioned,prophylactic,proofed,prompter,procreate,proclivities,prioritizing,prinze,pricked,press'll,presets,prescribes,preocupe,prejudicial,prefex,preconceived,precipice,pralines,pragmatist,powerbar,pottie,pottersville,potsie,potholes,posses,posies,portkey,porterhouse,pornographers,poring,poppycock,poppers,pomponi,pokin,poitier,podiatry,pleeze,pleadings,playbook,platelets,plane'arium,placebos,place'll,pistachios,pirated,pinochle,pineapples,pinafore,pimples,piggly,piddling,picon,pickpockets,picchu,physiologically,physic,phobic,philandering,phenomenally,pheasants,pewter,petticoat,petronis,petitioning,perturbed,perpetuating,permutat,perishable,perimeters,perfumed,percocet,per'sus,pepperjack,penalize,pelting,pellet,peignoir,pedicures,peckers,pecans,pawning,paulsson,pattycake,patrolmen,patois,pathos,pasted,parishioner,parcheesi,parachuting,papayas,pantaloons,palpitations,palantine,paintballing,overtired,overstress,oversensitive,overnights,overexcited,overanxious,overachiever,outwitted,outvoted,outnumber,outlast,outlander,out've,orphey,orchestrating,openers,ooooooo,okies,ohhhhhhhhh,ohhhhhhhh,ogling,offbeat,obsessively,obeyed,o'hana,o'bannon,o'bannion,numpce,nummy,nuked,nuances,nourishing,nosedive,norbu,nomlies,nomine,nixed,nihilist,nightshift,newmeat,neglectful,neediness,needin,naphthalene,nanocytes,nanite,naivete,n'yeah,mystifying,myhnegon,mutating,musing,mulled,muggy,muerto,muckraker,muchachos,mountainside,motherless,mosquitos,morphed,mopped,moodoo,moncho,mollem,moisturiser,mohicans,mocks,mistresses,misspent,misinterpretation,miscarry,minuses,mindee,mimes,millisecond,milked,mightn't,mightier,mierzwiak,microchips,meyerling,mesmerizing,mershaw,meecrob,medicate,meddled,mckinnons,mcgewan,mcdunnough,mcats,mbien,matzah,matriarch,masturbated,masselin,martialed,marlboros,marksmanship,marinate,marchin,manicured,malnourished,malign,majorek,magnon,magnificently,macking,machiavellian,macdougal,macchiato,macaws,macanaw,m'self,lydells,lusts,lucite,lubricants,lopper,lopped,loneliest,lonelier,lomez,lojack,loath,liquefy,lippy,limps,likin,lightness,liesl,liebchen,licious,libris,libation,lhamo,leotards,leanin,laxatives,lavished,latka,lanyard,lanky,landmines,lameness,laddies,lacerated,labored,l'amour,kreskin,kovitch,kournikova,kootchy,konoss,knknow,knickety,knackety,kmart,klicks,kiwanis,kissable,kindergartners,kilter,kidnet,kid'll,kicky,kickbacks,kickback,kholokov,kewpie,kendo,katra,kareoke,kafelnikov,kabob,junjun,jumba,julep,jordie,jondy,jolson,jenoff,jawbone,janitorial,janiro,ipecac,invigorated,intruded,intros,intravenously,interruptus,interrogations,interject,interfacing,interestin,insuring,instilled,insensitivity,inscrutable,inroads,innards,inlaid,injector,ingratitude,infuriates,infra,infliction,indelicate,incubators,incrimination,inconveniencing,inconsolable,incestuous,incas,incarcerate,inbreeding,impudence,impressionists,impeached,impassioned,imipenem,idling,idiosyncrasies,icebergs,hypotensive,hydrochloride,hushed,humus,humph,hummm,hulking,hubcaps,hubald,howya,howbout,how'll,housebroken,hotwire,hotspots,hotheaded,horrace,hopsfield,honto,honkin,honeymoons,homewrecker,hombres,hollers,hollerin,hoedown,hoboes,hobbling,hobble,hoarse,hinky,highlighters,hexes,heru'ur,hernias,heppleman,hell're,heighten,heheheheheh,heheheh,hedging,heckling,heckled,heavyset,heatshield,heathens,heartthrob,headpiece,hayseed,haveo,hauls,hasten,harridan,harpoons,hardens,harcesis,harbouring,hangouts,halkein,haleh,halberstam,hairnet,hairdressers,hacky,haaaa,h'yah,gusta,gushy,gurgling,guilted,gruel,grudging,grrrrrr,grosses,groomsmen,griping,gravest,gratified,grated,goulash,goopy,goona,goodly,godliness,godawful,godamn,glycerin,glutes,glowy,globetrotters,glimpsed,glenville,glaucoma,girlscout,giraffes,gilbey,gigglepuss,ghora,gestating,gelato,geishas,gearshift,gayness,gasped,gaslighting,garretts,garba,gablyczyck,g'head,fumigating,fumbling,fudged,fuckwad,fuck're,fuchsia,fretting,freshest,frenchies,freezers,fredrica,fraziers,fraidy,foxholes,fourty,fossilized,forsake,forfeits,foreclosed,foreal,footsies,florists,flopped,floorshow,floorboard,flinching,flecks,flaubert,flatware,flatulence,flatlined,flashdance,flail,flagging,fiver,fitzy,fishsticks,finetti,finelli,finagle,filko,fieldstone,fibber,ferrini,feedin,feasting,favore,fathering,farrouhk,farmin,fairytale,fairservice,factoid,facedown,fabled,eyeballin,extortionist,exquisitely,expedited,exorcise,existentialist,execs,exculpatory,exacerbate,everthing,eventuality,evander,euphoric,euphemisms,estamos,erred,entitle,enquiries,enormity,enfants,endive,encyclopedias,emulating,embittered,effortless,ectopic,ecirc,easely,earphones,earmarks,dweller,durslar,durned,dunois,dunking,dunked,dumdum,dullard,dudleys,druthers,druggist,drossos,drooled,driveways,drippy,dreamless,drawstring,drang,drainpipe,dozing,dotes,dorkface,doorknobs,doohickey,donnatella,doncha,domicile,dokos,dobermans,dizzying,divola,ditsy,distaste,disservice,dislodged,dislodge,disinherit,disinformation,discounting,dinka,dimly,digesting,diello,diddling,dictatorships,dictators,diagnostician,devours,devilishly,detract,detoxing,detours,detente,destructs,desecrated,derris,deplore,deplete,demure,demolitions,demean,delish,delbruck,delaford,degaulle,deftly,deformity,deflate,definatly,defector,decrypted,decontamination,decapitate,decanter,dardis,dampener,damme,daddy'll,dabbling,dabbled,d'etre,d'argent,d'alene,d'agnasti,czechoslovakian,cymbal,cyberdyne,cutoffs,cuticle,curvaceous,curiousity,crowing,crowed,croutons,cropped,criminy,crescentis,crashers,cranwell,coverin,courtrooms,countenance,cosmically,cosign,corroboration,coroners,cornflakes,copperpot,copperhead,copacetic,coordsize,convulsing,consults,conjures,congenial,concealer,compactor,commercialism,cokey,cognizant,clunkers,clumsily,clucking,cloves,cloven,cloths,clothe,clods,clocking,clings,clavicle,classless,clashing,clanking,clanging,clamping,civvies,citywide,circulatory,circuited,chronisters,chromic,choos,chloroformed,chillun,cheesed,chatterbox,chaperoned,channukah,cerebellum,centerpieces,centerfold,ceecee,ccedil,cavorting,cavemen,cauterized,cauldwell,catting,caterine,cassiopeia,carves,cartwheel,carpeted,carob,caressing,carelessly,careening,capricious,capitalistic,capillaries,candidly,camaraderie,callously,calfskin,caddies,buttholes,busywork,busses,burps,burgomeister,bunkhouse,bungchow,bugler,buffets,buffed,brutish,brusque,bronchitis,bromden,brolly,broached,brewskis,brewin,brean,breadwinner,brana,bountiful,bouncin,bosoms,borgnine,bopping,bootlegs,booing,bombosity,bolting,boilerplate,bluey,blowback,blouses,bloodsuckers,bloodstained,bloat,bleeth,blackface,blackest,blackened,blacken,blackballed,blabs,blabbering,birdbrain,bipartisanship,biodegradable,biltmore,bilked,big'uns,bidet,besotted,bernheim,benegas,bendiga,belushi,bellboys,belittling,behinds,begone,bedsheets,beckoning,beaute,beaudine,beastly,beachfront,bathes,batak,baser,baseballs,barbella,bankrolling,bandaged,baerly,backlog,backin,babying,azkaban,awwwww,aviary,authorizes,austero,aunty,attics,atreus,astounded,astonish,artemus,arses,arintero,appraiser,apathetic,anybody'd,anxieties,anticlimactic,antar,anglos,angleman,anesthetist,androscoggin,andolini,andale,amway,amuck,amniocentesis,amnesiac,americano,amara,alvah,altruism,alternapalooza,alphabetize,alpaca,allus,allergist,alexandros,alaikum,akimbo,agoraphobia,agides,aggrhh,aftertaste,adoptions,adjuster,addictions,adamantium,activator,accomplishes,aberrant,aaaaargh,aaaaaaaaaaaaa,a'ight,zzzzzzz,zucchini,zookeeper,zirconia,zippers,zequiel,zellary,zeitgeist,zanuck,zagat,you'n,ylang,yes'm,yenta,yecchh,yecch,yawns,yankin,yahdah,yaaah,y'got,xeroxed,wwooww,wristwatch,wrangled,wouldst,worthiness,worshiping,wormy,wormtail,wormholes,woosh,wollsten,wolfing,woefully,wobbling,wintry,wingding,windstorm,windowtext,wiluna,wilting,wilted,willick,willenholly,wildflowers,wildebeest,whyyy,whoppers,whoaa,whizzing,whizz,whitest,whistled,whist,whinny,wheelies,whazzup,whatwhatwhaaat,whato,whatdya,what'dya,whacks,wewell,wetsuit,welluh,weeps,waylander,wavin,wassail,wasnt,warneford,warbucks,waltons,wallbanger,waiving,waitwait,vowing,voucher,vornoff,vorhees,voldemort,vivre,vittles,vindaloo,videogames,vichyssoise,vicarious,vesuvius,verguenza,ven't,velveteen,velour,velociraptor,vastness,vasectomies,vapors,vanderhof,valmont,validates,valiantly,vacuums,usurp,usernum,us'll,urinals,unyielding,unvarnished,unturned,untouchables,untangled,unsecured,unscramble,unreturned,unremarkable,unpretentious,unnerstand,unmade,unimpeachable,unfashionable,underwrite,underlining,underling,underestimates,underappreciated,uncouth,uncork,uncommonly,unclog,uncircumcised,unchallenged,uncas,unbuttoning,unapproved,unamerican,unafraid,umpteen,umhmm,uhwhy,ughuh,typewriters,twitches,twitched,twirly,twinkling,twinges,twiddling,turners,turnabout,tumblin,tryed,trowel,trousseau,trivialize,trifles,tribianni,trenchcoat,trembled,traumatize,transitory,transients,transfuse,transcribing,tranq,trampy,traipsed,trainin,trachea,traceable,touristy,toughie,toscanini,tortola,tortilla,torreon,toreador,tommorrow,tollbooth,tollans,toidy,togas,tofurkey,toddling,toddies,toasties,toadstool,to've,tingles,timin,timey,timetables,tightest,thuggee,thrusting,thrombus,throes,thrifty,thornharts,thinnest,thicket,thetas,thesulac,tethered,testaburger,tersenadine,terrif,terdlington,tepui,temping,tector,taxidermy,tastebuds,tartlets,tartabull,tar'd,tantamount,tangy,tangles,tamer,tabula,tabletops,tabithia,szechwan,synthedyne,svenjolly,svengali,survivalists,surmise,surfboards,surefire,suprise,supremacists,suppositories,superstore,supercilious,suntac,sunburned,summercliff,sullied,sugared,suckle,subtleties,substantiated,subsides,subliminal,subhuman,strowman,stroked,stroganoff,streetlight,straying,strainer,straighter,straightener,stoplight,stirrups,stewing,stereotyping,stepmommy,stephano,stashing,starshine,stairwells,squatsie,squandering,squalid,squabbling,squab,sprinkling,spreader,spongy,spokesmen,splintered,spittle,spitter,spiced,spews,spendin,spect,spearchucker,spatulas,southtown,soused,soshi,sorter,sorrowful,sooth,some'in,soliloquy,soiree,sodomized,sobriki,soaping,snows,snowcone,snitching,snitched,sneering,snausages,snaking,smoothed,smoochies,smarten,smallish,slushy,slurring,sluman,slithers,slippin,sleuthing,sleeveless,skinless,skillfully,sketchbook,skagnetti,sista,sinning,singularly,sinewy,silverlake,siguto,signorina,sieve,sidearms,shying,shunning,shtud,shrieks,shorting,shortbread,shopkeepers,shmancy,shizzit,shitheads,shitfaced,shipmates,shiftless,shelving,shedlow,shavings,shatters,sharifa,shampoos,shallots,shafter,sha'nauc,sextant,serviceable,sepsis,senores,sendin,semis,semanski,selflessly,seinfelds,seers,seeps,seductress,secaucus,sealant,scuttling,scusa,scrunched,scissorhands,schreber,schmancy,scamps,scalloped,savoir,savagery,sarong,sarnia,santangel,samool,sallow,salino,safecracker,sadism,sacrilegious,sabrini,sabath,s'aright,ruttheimer,rudest,rubbery,rousting,rotarian,roslin,roomed,romari,romanica,rolltop,rolfski,rockettes,roared,ringleader,riffing,ribcage,rewired,retrial,reting,resuscitated,restock,resale,reprogrammed,replicant,repentant,repellant,repays,repainting,renegotiating,rendez,remem,relived,relinquishes,relearn,relaxant,rekindling,rehydrate,refueled,refreshingly,refilling,reexamine,reeseman,redness,redeemable,redcoats,rectangles,recoup,reciprocated,reassessing,realy,realer,reachin,re'kali,rawlston,ravages,rappaports,ramoray,ramming,raindrops,rahesh,radials,racists,rabartu,quiches,quench,quarreling,quaintly,quadrants,putumayo,put'em,purifier,pureed,punitis,pullout,pukin,pudgy,puddings,puckering,pterodactyl,psychodrama,psats,protestations,protectee,prosaic,propositioned,proclivity,probed,printouts,prevision,pressers,preset,preposition,preempt,preemie,preconceptions,prancan,powerpuff,potties,potpie,poseur,porthole,poops,pooping,pomade,polyps,polymerized,politeness,polisher,polack,pocketknife,poatia,plebeian,playgroup,platonically,platitude,plastering,plasmapheresis,plaids,placemats,pizzazz,pintauro,pinstripes,pinpoints,pinkner,pincer,pimento,pileup,pilates,pigmen,pieeee,phrased,photocopies,phoebes,philistines,philanderer,pheromone,phasers,pfeffernuesse,pervs,perspire,personify,perservere,perplexed,perpetrating,perkiness,perjurer,periodontist,perfunctory,perdido,percodan,pentameter,pentacle,pensive,pensione,pennybaker,pennbrooke,penhall,pengin,penetti,penetrates,pegnoir,peeve,peephole,pectorals,peckin,peaky,peaksville,paxcow,paused,patted,parkishoff,parkers,pardoning,paraplegic,paraphrasing,paperers,papered,pangs,paneling,palooza,palmed,palmdale,palatable,pacify,pacified,owwwww,oversexed,overrides,overpaying,overdrawn,overcompensate,overcomes,overcharged,outmaneuver,outfoxed,oughtn't,ostentatious,oshun,orthopedist,or'derves,ophthalmologist,operagirl,oozes,oooooooh,onesie,omnis,omelets,oktoberfest,okeydoke,ofthe,ofher,obstetrical,obeys,obeah,o'henry,nyquil,nyanyanyanyah,nuttin,nutsy,nutball,nurhachi,numbskull,nullifies,nullification,nucking,nubbin,nourished,nonspecific,noing,noinch,nohoho,nobler,nitwits,newsprint,newspaperman,newscaster,neuropathy,netherworld,neediest,navasky,narcissists,napped,nafta,mache,mykonos,mutilating,mutherfucker,mutha,mutates,mutate,musn't,murchy,multitasking,mujeeb,mudslinging,muckraking,mousetrap,mourns,mournful,motherf,mostro,morphing,morphate,moralistic,moochy,mooching,monotonous,monopolize,monocle,molehill,moland,mofet,mockup,mobilizing,mmmmmmm,mitzvahs,mistreating,misstep,misjudge,misinformation,misdirected,miscarriages,miniskirt,mindwarped,minced,milquetoast,miguelito,mightily,midstream,midriff,mideast,microbe,methuselah,mesdames,mescal,men'll,memma,megaton,megara,megalomaniac,meeee,medulla,medivac,meaninglessness,mcnuggets,mccarthyism,maypole,may've,mauve,mateys,marshack,markles,marketable,mansiere,manservant,manse,manhandling,mallomars,malcontent,malaise,majesties,mainsail,mailmen,mahandra,magnolias,magnified,magev,maelstrom,machu,macado,m'boy,m'appelle,lustrous,lureen,lunges,lumped,lumberyard,lulled,luego,lucks,lubricated,loveseat,loused,lounger,loski,lorre,loora,looong,loonies,loincloth,lofts,lodgers,lobbing,loaner,livered,liqueur,ligourin,lifesaving,lifeguards,lifeblood,liaisons,let'em,lesbianism,lence,lemonlyman,legitimize,leadin,lazars,lazarro,lawyering,laugher,laudanum,latrines,lations,laters,lapels,lakefront,lahit,lafortunata,lachrymose,l'italien,kwaini,kruczynski,kramerica,kowtow,kovinsky,korsekov,kopek,knowakowski,knievel,knacks,kiowas,killington,kickball,keyworth,keymaster,kevie,keveral,kenyons,keggers,keepsakes,kechner,keaty,kavorka,karajan,kamerev,kaggs,jujyfruit,jostled,jonestown,jokey,joists,jocko,jimmied,jiggled,jests,jenzen,jenko,jellyman,jedediah,jealitosis,jaunty,jarmel,jankle,jagoff,jagielski,jackrabbits,jabbing,jabberjaw,izzat,irresponsibly,irrepressible,irregularity,irredeemable,inuvik,intuitions,intubated,intimates,interminable,interloper,intercostal,instyle,instigate,instantaneously,ining,ingrown,ingesting,infusing,infringe,infinitum,infact,inequities,indubitably,indisputable,indescribably,indentation,indefinable,incontrovertible,inconsequential,incompletes,incoherently,inclement,incidentals,inarticulate,inadequacies,imprudent,improprieties,imprison,imprinted,impressively,impostors,importante,imperious,impale,immodest,immobile,imbedded,imbecilic,illegals,idn't,hysteric,hypotenuse,hygienic,hyeah,hushpuppies,hunhh,humpback,humored,hummed,humiliates,humidifier,huggy,huggers,huckster,hotbed,hosing,hosers,horsehair,homebody,homebake,holing,holies,hoisting,hogwallop,hocks,hobbits,hoaxes,hmmmmm,hisses,hippest,hillbillies,hilarity,heurh,herniated,hermaphrodite,hennifer,hemlines,hemline,hemery,helplessness,helmsley,hellhound,heheheheh,heeey,hedda,heartbeats,heaped,healers,headstart,headsets,headlong,hawkland,havta,haulin,harvey'll,hanta,hansom,hangnail,handstand,handrail,handoff,hallucinogen,hallor,halitosis,haberdashery,gypped,guy'll,gumbel,guerillas,guava,guardrail,grunther,grunick,groppi,groomer,grodin,gripes,grinds,grifters,gretch,greevey,greasing,graveyards,grandkid,grainy,gouging,gooney,googly,goldmuff,goldenrod,goingo,godly,gobbledygook,gobbledegook,glues,gloriously,glengarry,glassware,glamor,gimmicks,giggly,giambetti,ghoulish,ghettos,ghali,gether,geriatrics,gerbils,geosynchronous,georgio,gente,gendarme,gelbman,gazillionth,gayest,gauging,gastro,gaslight,gasbag,garters,garish,garas,gantu,gangy,gangly,gangland,galling,gadda,furrowed,funnies,funkytown,fugimotto,fudging,fuckeen,frustrates,froufrou,froot,fromberge,frizzies,fritters,frightfully,friendliest,freeloading,freelancing,freakazoid,fraternization,framers,fornication,fornicating,forethought,footstool,foisting,focussing,focking,flurries,fluffed,flintstones,fledermaus,flayed,flawlessly,flatters,flashbang,flapped,fishies,firmer,fireproof,firebug,fingerpainting,finessed,findin,financials,finality,fillets,fiercest,fiefdom,fibbing,fervor,fentanyl,fenelon,fedorchuk,feckless,feathering,faucets,farewells,fantasyland,fanaticism,faltered,faggy,faberge,extorting,extorted,exterminating,exhumation,exhilaration,exhausts,exfoliate,excels,exasperating,exacting,everybody'd,evasions,espressos,esmail,errrr,erratically,eroding,ernswiler,epcot,enthralled,ensenada,enriching,enrage,enhancer,endear,encrusted,encino,empathic,embezzle,emanates,electricians,eking,egomaniacal,egging,effacing,ectoplasm,eavesdropped,dummkopf,dugray,duchaisne,drunkard,drudge,droop,droids,drips,dripped,dribbles,drazens,downy,downsize,downpour,dosages,doppelganger,dopes,doohicky,dontcha,doneghy,divining,divest,diuretics,diuretic,distrustful,disrupts,dismemberment,dismember,disinfect,disillusionment,disheartening,discourteous,discotheque,discolored,dirtiest,diphtheria,dinks,dimpled,didya,dickwad,diatribes,diathesis,diabetics,deviants,detonates,detests,detestable,detaining,despondent,desecration,derision,derailing,deputized,depressors,dependant,dentures,denominators,demur,demonology,delts,dellarte,delacour,deflated,defib,defaced,decorators,deaqon,davola,datin,darwinian,darklighters,dandelions,dampened,damaskinos,dalrimple,d'peshu,d'hoffryn,d'astier,cynics,cutesy,cutaway,curmudgeon,curdle,culpability,cuisinart,cuffing,crypts,cryptid,crunched,crumblers,crudely,crosscheck,croon,crissake,crevasse,creswood,creepo,creases,creased,creaky,cranks,crabgrass,coveralls,couple'a,coughs,coslaw,corporeal,cornucopia,cornering,corks,cordoned,coolly,coolin,cookbooks,contrite,contented,constrictor,confound,confit,confiscating,condoned,conditioners,concussions,comprendo,comers,combustible,combusted,collingswood,coldness,coitus,codicil,coasting,clydesdale,cluttering,clunker,clunk,clumsiness,clotted,clothesline,clinches,clincher,cleverness,clench,clein,cleanses,claymores,clammed,chugging,chronically,christsakes,choque,chompers,chiseling,chirpy,chirp,chinks,chingachgook,chickenpox,chickadee,chewin,chessboard,chargin,chanteuse,chandeliers,chamdo,chagrined,chaff,certs,certainties,cerreno,cerebrum,censured,cemetary,caterwauling,cataclysmic,casitas,cased,carvel,carting,carrear,carolling,carolers,carnie,cardiogram,carbuncle,capulets,canines,candaules,canape,caldecott,calamitous,cadillacs,cachet,cabeza,cabdriver,buzzards,butai,businesswomen,bungled,bumpkins,bummers,bulldoze,buffybot,bubut,bubbies,brrrrr,brownout,brouhaha,bronzing,bronchial,broiler,briskly,briefcases,bricked,breezing,breeher,breakable,breadstick,bravenet,braved,brandies,brainwaves,brainiest,braggart,bradlee,boys're,boys'll,boys'd,boutonniere,bossed,bosomy,borans,boosts,bookshelves,bookends,boneless,bombarding,bollo,boinked,boink,bluest,bluebells,bloodshot,blockhead,blockbusters,blithely,blather,blankly,bladders,blackbeard,bitte,bippy,biogenetics,bilge,bigglesworth,bicuspids,beususe,betaseron,besmirch,bernece,bereavement,bentonville,benchley,benching,bembe,bellyaching,bellhops,belie,beleaguered,behrle,beginnin,begining,beenie,beefs,beechwood,becau,beaverhausen,beakers,bazillion,baudouin,barrytown,barringtons,barneys,barbs,barbers,barbatus,bankrupted,bailiffs,backslide,baby'd,baaad,b'fore,awwwk,aways,awakes,automatics,authenticate,aught,aubyn,attired,attagirl,atrophied,asystole,astroturf,assertiveness,artichokes,arquillians,aright,archenemy,appraise,appeased,antin,anspaugh,anesthetics,anaphylactic,amscray,ambivalence,amalio,alriiight,alphabetized,alpena,alouette,allora,alliteration,allenwood,allegiances,algerians,alcerro,alastor,ahaha,agitators,aforethought,advertises,admonition,adirondacks,adenoids,acupuncturist,acula,actuarial,activators,actionable,achingly,accusers,acclimated,acclimate,absurdly,absorbent,absolvo,absolutes,absences,abdomenizer,aaaaaaaaah,aaaaaaaaaa,a'right".split(","),male_names:"james,john,robert,michael,william,david,richard,charles,joseph,thomas,christopher,daniel,paul,mark,donald,george,kenneth,steven,edward,brian,ronald,anthony,kevin,jason,matthew,gary,timothy,jose,larry,jeffrey,frank,scott,eric,stephen,andrew,raymond,gregory,joshua,jerry,dennis,walter,patrick,peter,harold,douglas,henry,carl,arthur,ryan,roger,joe,juan,jack,albert,jonathan,justin,terry,gerald,keith,samuel,willie,ralph,lawrence,nicholas,roy,benjamin,bruce,brandon,adam,harry,fred,wayne,billy,steve,louis,jeremy,aaron,randy,eugene,carlos,russell,bobby,victor,ernest,phillip,todd,jesse,craig,alan,shawn,clarence,sean,philip,chris,johnny,earl,jimmy,antonio,danny,bryan,tony,luis,mike,stanley,leonard,nathan,dale,manuel,rodney,curtis,norman,marvin,vincent,glenn,jeffery,travis,jeff,chad,jacob,melvin,alfred,kyle,francis,bradley,jesus,herbert,frederick,ray,joel,edwin,don,eddie,ricky,troy,randall,barry,bernard,mario,leroy,francisco,marcus,micheal,theodore,clifford,miguel,oscar,jay,jim,tom,calvin,alex,jon,ronnie,bill,lloyd,tommy,leon,derek,darrell,jerome,floyd,leo,alvin,tim,wesley,dean,greg,jorge,dustin,pedro,derrick,dan,zachary,corey,herman,maurice,vernon,roberto,clyde,glen,hector,shane,ricardo,sam,rick,lester,brent,ramon,tyler,gilbert,gene,marc,reginald,ruben,brett,nathaniel,rafael,edgar,milton,raul,ben,cecil,duane,andre,elmer,brad,gabriel,ron,roland,jared,adrian,karl,cory,claude,erik,darryl,neil,christian,javier,fernando,clinton,ted,mathew,tyrone,darren,lonnie,lance,cody,julio,kurt,allan,clayton,hugh,max,dwayne,dwight,armando,felix,jimmie,everett,ian,ken,bob,jaime,casey,alfredo,alberto,dave,ivan,johnnie,sidney,byron,julian,isaac,clifton,willard,daryl,virgil,andy,salvador,kirk,sergio,seth,kent,terrance,rene,eduardo,terrence,enrique,freddie,stuart,fredrick,arturo,alejandro,joey,nick,luther,wendell,jeremiah,evan,julius,donnie,otis,trevor,luke,homer,gerard,doug,kenny,hubert,angelo,shaun,lyle,matt,alfonso,orlando,rex,carlton,ernesto,pablo,lorenzo,omar,wilbur,blake,horace,roderick,kerry,abraham,rickey,ira,andres,cesar,johnathan,malcolm,rudolph,damon,kelvin,rudy,preston,alton,archie,marco,pete,randolph,garry,geoffrey,jonathon,felipe,bennie,gerardo,dominic,loren,delbert,colin,guillermo,earnest,benny,noel,rodolfo,myron,edmund,salvatore,cedric,lowell,gregg,sherman,devin,sylvester,roosevelt,israel,jermaine,forrest,wilbert,leland,simon,irving,owen,rufus,woodrow,sammy,kristopher,levi,marcos,gustavo,jake,lionel,marty,gilberto,clint,nicolas,laurence,ismael,orville,drew,ervin,dewey,wilfred,josh,hugo,ignacio,caleb,tomas,sheldon,erick,frankie,darrel,rogelio,terence,alonzo,elias,bert,elbert,ramiro,conrad,noah,grady,phil,cornelius,lamar,rolando,clay,percy,bradford,merle,darin,amos,terrell,moses,irvin,saul,roman,darnell,randal,tommie,timmy,darrin,brendan,toby,van,abel,dominick,emilio,elijah,cary,domingo,aubrey,emmett,marlon,emanuel,jerald,edmond,emil,dewayne,otto,teddy,reynaldo,bret,jess,trent,humberto,emmanuel,stephan,louie,vicente,lamont,garland,micah,efrain,heath,rodger,demetrius,ethan,eldon,rocky,pierre,eli,bryce,antoine,robbie,kendall,royce,sterling,grover,elton,cleveland,dylan,chuck,damian,reuben,stan,leonardo,russel,erwin,benito,hans,monte,blaine,ernie,curt,quentin,agustin,jamal,devon,adolfo,tyson,wilfredo,bart,jarrod,vance,denis,damien,joaquin,harlan,desmond,elliot,darwin,gregorio,kermit,roscoe,esteban,anton,solomon,norbert,elvin,nolan,carey,rod,quinton,hal,brain,rob,elwood,kendrick,darius,moises,marlin,fidel,thaddeus,cliff,marcel,ali,raphael,bryon,armand,alvaro,jeffry,dane,joesph,thurman,ned,sammie,rusty,michel,monty,rory,fabian,reggie,kris,isaiah,gus,avery,loyd,diego,adolph,millard,rocco,gonzalo,derick,rodrigo,gerry,rigoberto,alphonso,rickie,noe,vern,elvis,bernardo,mauricio,hiram,donovan,basil,nickolas,scot,vince,quincy,eddy,sebastian,federico,ulysses,heriberto,donnell,denny,gavin,emery,romeo,jayson,dion,dante,clement,coy,odell,jarvis,bruno,issac,dudley,sanford,colby,carmelo,nestor,hollis,stefan,donny,linwood,beau,weldon,galen,isidro,truman,delmar,johnathon,silas,frederic,irwin,merrill,charley,marcelino,carlo,trenton,kurtis,aurelio,winfred,vito,collin,denver,leonel,emory,pasquale,mohammad,mariano,danial,landon,dirk,branden,adan,numbers,clair,buford,bernie,wilmer,emerson,zachery,jacques,errol,josue,edwardo,wilford,theron,raymundo,daren,tristan,robby,lincoln,jame,genaro,octavio,cornell,hung,arron,antony,herschel,alva,giovanni,garth,cyrus,cyril,ronny,stevie,lon,kennith,carmine,augustine,erich,chadwick,wilburn,russ,myles,jonas,mitchel,mervin,zane,jamel,lazaro,alphonse,randell,johnie,jarrett,ariel,abdul,dusty,luciano,seymour,scottie,eugenio,mohammed,arnulfo,lucien,ferdinand,thad,ezra,aldo,rubin,mitch,earle,abe,marquis,lanny,kareem,jamar,boris,isiah,emile,elmo,aron,leopoldo,everette,josef,eloy,dorian,rodrick,reinaldo,lucio,jerrod,weston,hershel,lemuel,lavern,burt,jules,gil,eliseo,ahmad,nigel,efren,antwan,alden,margarito,refugio,dino,osvaldo,les,deandre,normand,kieth,ivory,trey,norberto,napoleon,jerold,fritz,rosendo,milford,sang,deon,christoper,alfonzo,lyman,josiah,brant,wilton,rico,jamaal,dewitt,brenton,yong,olin,faustino,claudio,judson,gino,edgardo,alec,jarred,donn,trinidad,tad,porfirio,odis,lenard,chauncey,tod,mel,marcelo,kory,augustus,keven,hilario,bud,sal,orval,mauro,dannie,zachariah,olen,anibal,milo,jed,thanh,amado,lenny,tory,richie,horacio,brice,mohamed,delmer,dario,mac,jonah,jerrold,robt,hank,sung,rupert,rolland,kenton,damion,chi,antone,waldo,fredric,bradly,kip,burl,tyree,jefferey,ahmed,willy,stanford,oren,moshe,mikel,enoch,brendon,quintin,jamison,florencio,darrick,tobias,minh,hassan,giuseppe,demarcus,cletus,tyrell,lyndon,keenan,werner,theo,geraldo,columbus,chet,bertram,markus,huey,hilton,dwain,donte,tyron,omer,isaias,hipolito,fermin,chung,adalberto,jamey,teodoro,mckinley,maximo,raleigh,lawerence,abram,rashad,emmitt,daron,chong,samual,otha,miquel,eusebio,dong,domenic,darron,wilber,renato,hoyt,haywood,ezekiel,chas,florentino,elroy,clemente,arden,neville,edison,deshawn,carrol,shayne,nathanial,jordon,danilo,claud,sherwood,raymon,rayford,cristobal,ambrose,titus,hyman,felton,ezequiel,erasmo,lonny,milan,lino,jarod,herb,andreas,rhett,jude,douglass,cordell,oswaldo,ellsworth,virgilio,toney,nathanael,benedict,mose,hong,isreal,garret,fausto,arlen,zack,modesto,francesco,manual,gaylord,gaston,filiberto,deangelo,michale,granville,malik,zackary,tuan,nicky,cristopher,antione,malcom,korey,jospeh,colton,waylon,hosea,shad,santo,rudolf,rolf,renaldo,marcellus,lucius,kristofer,harland,arnoldo,rueben,leandro,kraig,jerrell,jeromy,hobert,cedrick,arlie,winford,wally,luigi,keneth,jacinto,graig,franklyn,edmundo,leif,jeramy,willian,vincenzo,shon,michal,lynwood,jere,elden,darell,broderick,alonso".split(",")},a.exports=r}}},{package:"zxcvbn",file:"node_modules/zxcvbn/lib/frequency_lists.js"}],[4482,{"./feedback":4480,"./matching":4483,"./scoring":4484,"./time_estimates":4485},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){var r,n,t,o,s,l;n=e("./matching"),t=e("./scoring"),s=e("./time_estimates"),r=e("./feedback"),o=function(){return(new Date).getTime()},l=function(e,a){var i,l,c,d,u,m,h,p,g,b,y;for(null==a&&(a=[]),b=o(),g=[],c=0,d=a.length;ch;r=0<=h?++l:--l)for(n=c=p=r,g=t;p<=g?cg;n=p<=g?++c:--c)d.slice(r,+n+1||9e9)in m&&(u=m[b=d.slice(r,+n+1||9e9)],s.push({pattern:"dictionary",i:r,j:n,token:e.slice(r,+n+1||9e9),matched_word:b,rank:u,dictionary_name:i,reversed:!1,l33t:!1}));return this.sorted(s)},reverse_dictionary_match:function(e,a){var i,r,n,t,s,l;for(null==a&&(a=o),l=e.split("").reverse().join(""),t=0,i=(n=this.dictionary_match(l,a)).length;t0&&(u[n]=l);return u},enumerate_l33t_subs:function(e){var a,i,r,n,t,o,s,l,c,d,u,m,h,p,g;for(t=function(){var a;for(n in a=[],e)a.push(n);return a}(),g=[[]],i=function(e){var a,i,r,t,o,s,l,c;for(i=[],o={},s=0,t=e.length;sb;o=0<=b?++h:--h)if(f[o][0]===s){n=o;break}-1===n?(v=f.concat([[s,t]]),d.push(v)):((k=f.slice(0)).splice(n,1),k.push([s,t]),d.push(f),d.push(k))}return g=i(d),r(y)}},r(t),p=[],c=0,s=g.length;c "+v);return e}().join(", "),u.push(c)}return this.sorted(u.filter((function(e){return e.token.length>1})))},spatial_match:function(e,a){var i,r,t;for(r in null==a&&(a=n),t=[],a)i=a[r],this.extend(t,this.spatial_match_helper(e,i,r));return this.sorted(t)},SHIFTED_RX:/[~!@#$%^&*()_+QWERTYUIOP{}|ASDFGHJKL:"ZXCVBNM<>?]/,spatial_match_helper:function(e,a,i){var r,n,t,o,s,l,c,d,u,m,h,p,g,b;for(h=[],c=0;c2&&h.push({pattern:"spatial",i:c,j:d-1,token:e.slice(c,d),graph:i,turns:b,shifted_count:g}),c=d;break}d+=1}return h},repeat_match:function(e){var a,i,r,n,t,o,s,l,c,d,u,m,h,g,b;for(g=[],t=/(.+)\1+/g,d=/(.+?)\1+/g,u=/^(.+?)\1+$/,c=0;cm[0].length?(h=o,n=u.exec(h[0])[1]):n=(h=m)[1],s=(b=[h.index,h.index+h[0].length-1])[0],l=b[1],r=(a=p.most_guessable_match_sequence(n,this.omnimatch(n))).sequence,i=a.guesses,g.push({pattern:"repeat",i:s,j:l,token:h[0],base_token:n,base_guesses:i,base_matches:r,repeat_count:h[0].length/n.length}),c=l+1;return g},MAX_DELTA:5,sequence_match:function(e){var a,i,r,n,t,o,s,l,c,d;if(1===e.length)return[];for(d=this,c=function(a,i,r){var n,t,o,s;if((i-a>1||1===Math.abs(r))&&0<(n=Math.abs(r))&&n<=d.MAX_DELTA)return s=e.slice(a,+i+1||9e9),/^[a-z]+$/.test(s)?(t="lower",o=26):/^[A-Z]+$/.test(s)?(t="upper",o=26):/^\d+$/.test(s)?(t="digits",o=10):(t="unicode",o=26),l.push({pattern:"sequence",i:a,j:i,token:e.slice(a,+i+1||9e9),sequence_name:t,sequence_space:o,ascending:r>0})},l=[],i=0,t=null,n=o=1,s=e.length;1<=s?os;n=1<=s?++o:--o)a=e.charCodeAt(n)-e.charCodeAt(n-1),null==t&&(t=a),a!==t&&(c(i,r=n-1,t),i=r,t=a);return c(i,e.length-1,t),l},regex_match:function(e,a){var i,r,n,t;for(h in null==a&&(a=s),i=[],a)for((r=a[h]).lastIndex=0;n=r.exec(e);)t=n[0],i.push({pattern:"regex",token:t,i:n.index,j:n.index+n[0].length-1,regex_name:h,regex_match:n});return this.sorted(i)},date_match:function(e){var a,i,n,t,o,s,l,c,d,u,m,h,g,b,y,f,k,v,w,j,z,x,q,_,M,T,E,O,C,P,S,N,I,A;for(h=[],g=/^\d{4,8}$/,b=/^(\d{1,4})([\s\/\\_.-])(\d{1,2})\2(\d{1,4})$/,s=k=0,z=e.length-4;0<=z?k<=z:k>=z;s=0<=z?++k:--k)for(l=v=x=s+3,q=s+7;(x<=q?v<=q:v>=q)&&!(l>=e.length);l=x<=q?++v:--v)if(A=e.slice(s,+l+1||9e9),g.exec(A)){for(n=[],w=0,u=(_=r[A.length]).length;w0){for(a=n[0],y=function(e){return Math.abs(e.year-p.REFERENCE_YEAR)},f=y(n[0]),j=0,m=(T=n.slice(1)).length;j=O;s=0<=O?++N:--N)for(l=I=C=s+5,P=s+9;(C<=P?I<=P:I>=P)&&!(l>=e.length);l=C<=P?++I:--I)A=e.slice(s,+l+1||9e9),null!=(S=b.exec(A))&&null!=(o=this.map_ints_to_dmy([parseInt(S[1]),parseInt(S[3]),parseInt(S[4])]))&&h.push({pattern:"date",token:A,i:s,j:l,separator:S[2],year:o.year,month:o.month,day:o.day});return this.sorted(h.filter((function(e){var a,i,r,n;for(a=!1,n=0,i=h.length;n=e.j){a=!0;break}return!a})))},map_ints_to_dmy:function(e){var a,i,r,n,t,o,s,l,c,d,u,m,h,p,g,b;if(!(e[1]>31||e[1]<=0)){for(s=0,l=0,g=0,o=0,r=e.length;o2050)return;i>31&&(l+=1),i>12&&(s+=1),i<=0&&(g+=1)}if(!(l>=2||3===s||g>=2)){for(c=0,n=(d=[[e[2],e.slice(0,2)],[e[0],e.slice(1,3)]]).length;c99?e:e>50?e+1900:e+2e3}},a.exports=m}}},{package:"zxcvbn",file:"node_modules/zxcvbn/lib/matching.js"}],[4484,{"./adjacency_graphs":4479},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){var r,n,t,o;r=e("./adjacency_graphs"),n=function(e){var a,i,r,n,t;for(r in a=0,e)t=e[r],a+=function(){var e,a,i;for(i=[],a=0,e=t.length;ae)return 0;if(0===a)return 1;for(n=1,i=r=1,t=a;1<=t?r<=t:r>=t;i=1<=t?++r:--r)n*=e,n/=i,e-=1;return n},log10:function(e){return Math.log(e)/Math.log(10)},log2:function(e){return Math.log(e)/Math.log(2)},factorial:function(e){var a,i,r,n;if(e<2)return 1;for(a=1,i=r=2,n=e;2<=n?r<=n:r>=n;i=2<=n?++r:--r)a*=i;return a},most_guessable_match_sequence:function(e,a,i){var r,n,t,o,s,l,c,d,u,m,h,p,g,b,y,f,k,v,w,j,z,x,q;for(null==i&&(i=!1),h=e.length,m=function(){var e,a,i;for(i=[],e=0,a=h;0<=a?ea;0<=a?++e:--e)i.push([]);return i}(),p=0,s=a.length;pe;0<=e?++i:--i)a.push({});return a}(),pi:function(){var e,a,i;for(a=[],i=0,e=h;0<=e?ie;0<=e?++i:--i)a.push({});return a}(),g:function(){var e,a,i;for(a=[],i=0,e=h;0<=e?ie;0<=e?++i:--i)a.push({});return a}()},q=this,z=function(a,r){var n,t,o,s,l,c;for(t in s=a.j,l=q.estimate_guesses(a,e),r>1&&(l*=g.pi[a.i-1][r-1]),o=q.factorial(r)*l,i||(o+=Math.pow(1e4,r-1)),c=g.g[s])if(n=c[t],!(t>r)&&n<=o)return;return g.g[s][r]=o,g.m[s][r]=a,g.pi[s][r]=l},r=function(e){var a,i,r,n,t,o;for(d=u(0,e),z(d,1),t=[],a=o=1,n=e;1<=n?o<=n:o>=n;a=1<=n?++o:--o)d=u(a,e),t.push(function(){var e,n;for(i in n=[],e=g.m[a-1])r=e[i],i=parseInt(i),"bruteforce"!==r.pattern&&n.push(z(d,i+1));return n}());return t},u=function(a,i){return{pattern:"bruteforce",token:e.slice(a,+i+1||9e9),i:a,j:i}},j=function(e){var a,i,r,n,t,o,s;for(i in o=[],n=e-1,t=void 0,r=Infinity,s=g.g[n])(a=s[i])=0;)d=g.m[n][t],o.unshift(d),n=d.i-1,t--;return o},t=w=0,k=h;0<=k?wk;t=0<=k?++w:--w){for(x=0,c=(v=m[t]).length;x0)for(o in g.m[d.i-1])o=parseInt(o),z(d,o+1);else z(d,1);r(t)}return b=(y=j(h)).length,n=0===e.length?1:g.g[h-1][b],{password:e,guesses:n,guesses_log10:this.log10(n),sequence:y}},estimate_guesses:function(e,a){var i,r;return null!=e.guesses||(r=1,e.token.length=u;o=2<=u?++l:--l)for(s=c=1,m=Math.min(b,o-1);1<=m?c<=m:c>=m;s=1<=m?++c:--c)t+=this.nCk(o-1,s-1)*p*Math.pow(n,s);if(e.shifted_count)if(i=e.shifted_count,r=e.token.length-e.shifted_count,0===i||0===r)t*=2;else{for(g=0,o=y=1,h=Math.min(i,r);1<=h?y<=h:y>=h;o=1<=h?++y:--y)g+=this.nCk(i+r,o);t*=g}return t},dictionary_guesses:function(e){var a;return e.base_guesses=e.rank,e.uppercase_variations=this.uppercase_variations(e),e.l33t_variations=this.l33t_variations(e),a=e.reversed?2:1,e.base_guesses*e.uppercase_variations*e.l33t_variations*a},START_UPPER:/^[A-Z][^A-Z]+$/,END_UPPER:/^[^A-Z]+[A-Z]$/,ALL_UPPER:/^[^a-z]+$/,ALL_LOWER:/^[^A-Z]+$/,uppercase_variations:function(e){var a,i,r,n,t,o,s,l,c,d,u,m;if((m=e.token).match(this.ALL_LOWER)||m.toLowerCase()===m)return 1;for(o=0,t=(l=[this.START_UPPER,this.END_UPPER,this.ALL_UPPER]).length;o=c;n=1<=c?++s:--s)u+=this.nCk(i+a,n);return u},l33t_variations:function(e){var a,i,r,n,t,o,s,l,c,d,u,m;if(!e.l33t)return 1;for(d in m=1,l=e.sub)if(u=l[d],n=e.token.toLowerCase().split(""),a=function(){var e,a,i;for(i=[],a=0,e=n.length;a=c;t=1<=c?++o:--o)s+=this.nCk(i+a,t);m*=s}return m}},a.exports=o}}},{package:"zxcvbn",file:"node_modules/zxcvbn/lib/scoring.js"}],[4485,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){var r;r={estimate_attack_times:function(e){var a,i,r,n;for(r in a={},i={online_throttling_100_per_hour:e/(100/3600),online_no_throttling_10_per_second:e/10,offline_slow_hashing_1e4_per_second:e/1e4,offline_fast_hashing_1e10_per_second:e/1e10})n=i[r],a[r]=this.display_time(n);return{crack_times_seconds:i,crack_times_display:a,score:this.guesses_to_score(e)}},guesses_to_score:function(e){return 5,e<1005?0:e<1000005?1:e<100000005?2:e<10000000005?3:4},display_time:function(e){var a,i,r,n,t,o,s,l,c;return 60,o=3600,s=31*(r=86400),i=100*(c=32140800),t=(l=e<1?[null,"less than a second"]:e<60?[a=Math.round(e),a+" second"]:e{var r;if(null!==(r=window)&&void 0!==r&&null!==(r=r.navigator)&&void 0!==r&&r.msLaunchUri)window.navigator.msLaunchUri(e,a,(()=>{i(new Error("Failed to open custom protocol link"))}));else{const r=window.setTimeout((function(){i(new Error("Timeout opening custom protocol link"))}),500);window.addEventListener("blur",(function(){window.clearTimeout(r),a()})),window.location=e}}))}}}},{package:"$root$",file:"shared/lib/deep-linking.js"}],[4524,{"../../app/scripts/lib/get-first-preferred-lang-code":74,"../../ui/pages/desktop-error/render-desktop-error":5741,"../constants/desktop":4497,"../modules/i18n":4545,"./deep-linking":4523,"./switch-direction":4529,lodash:3836,"webextension-polyfill":4472},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.MMD_DOWNLOAD_LINK=void 0,i.downloadDesktopApp=g,i.downloadExtension=function(){global.platform.openTab({url:"https://metamask.io/"})},i.getErrorHtml=async function(e,a,i,r){let n,o;null!=i&&i.currentLocale?(o=i.currentLocale,n=await m(i.currentLocale)):(o=await(0,t.default)(),n=await m(o));const c=["ar","dv","fa","he","ku"].includes(o)?"rtl":"auto";(0,d.default)(c);const{currentLocaleMessages:u,enLocaleMessages:p}=n,g=h(u,p);if(!0===(null==i?void 0:i.desktopEnabled)){let e=l.EXTENSION_ERROR_PAGE_TYPES.CRITICAL_ERROR;return null!=r&&r.message.includes("No response from RPC")&&(e=l.EXTENSION_ERROR_PAGE_TYPES.CONNECTION_LOST),(0,s.renderDesktopError)({type:e,t:g,isHtmlError:!0})}return`\n
\n
\n
\n \n \n \n
\n
\n

\n ${"troubleStarting"===e?g("troubleStarting"):""}\n ${"somethingIsWrong"===e?g("somethingIsWrong"):""}\n

\n \n \n
\n
\n
\n `},i.openOrDownloadMMD=y,i.registerDesktopErrorActions=function(e){const a=document.getElementById("desktop-error-button-disable-mmd"),i=document.getElementById("desktop-error-button-restart-mm"),r=document.getElementById("desktop-error-button-download-mmd"),n=document.getElementById("desktop-error-button-open-or-download-mmd");null==a||a.addEventListener("click",(a=>{!function(e){e.disableDesktopError()}(e)})),null==i||i.addEventListener("click",(e=>{b()})),null==r||r.addEventListener("click",(e=>{g()})),null==n||n.addEventListener("click",(e=>{y()}))},i.restartExtension=b,i.setupLocale=void 0;var r=u(e("webextension-polyfill")),n=e("lodash"),t=u(e("../../app/scripts/lib/get-first-preferred-lang-code")),o=e("../modules/i18n"),s=e("../../ui/pages/desktop-error/render-desktop-error"),l=e("../constants/desktop"),c=e("./deep-linking"),d=u(e("./switch-direction"));function u(e){return e&&e.__esModule?e:{default:e}}const m=i.setupLocale=(0,n.memoize)((async e=>{const a=e?await(0,o.fetchLocale)(e):{},i=await(0,o.fetchLocale)("en");return await(0,o.loadRelativeTimeFormatLocaleData)("en"),e&&await(0,o.loadRelativeTimeFormatLocaleData)(e),{currentLocaleMessages:a,enLocaleMessages:i}})),h=(e,a)=>i=>{var r;let n=null===(r=e[i])||void 0===r?void 0:r.message;return!n&&a[i]&&(n=a[i].message),n};const p=i.MMD_DOWNLOAD_LINK="https://github.com/MetaMask/metamask-desktop/releases";function g(){global.platform.openTab({url:p})}function b(){r.default.runtime.reload()}function y(){(0,c.openCustomProtocol)("metamask-desktop://pair").catch((()=>{window.open(p,"_blank").focus()}))}}}},{package:"$root$",file:"shared/lib/error-utils.js"}],[4532,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.TRANSACTION_SIMULATIONS_LEARN_MORE_LINK=i.SURVEY_LINK=i.SUPPORT_LINK=i.SECURITY_ALERTS_LEARN_MORE_LINK=i.PRIVACY_POLICY_LINK=i.GAS_FEES_LEARN_MORE_URL=i.ETHERSCAN_PRIVACY_LINK=i.CRYPTOCOMPARE_LINK=i.CONSENSYS_TERMS_OF_USE=i.CONSENSYS_PRIVACY_LINK=i.COINGECKO_LINK=i.AUTO_DETECT_TOKEN_LEARN_MORE_LINK=void 0;i.SUPPORT_LINK="https://metamask-flask.zendesk.com/hc",i.COINGECKO_LINK="https://www.coingecko.com/",i.CRYPTOCOMPARE_LINK="https://www.cryptocompare.com/",i.PRIVACY_POLICY_LINK="https://consensys.io/privacy-policy/",i.SURVEY_LINK="https://www.getfeedback.com/r/Oczu1vP0",i.ETHERSCAN_PRIVACY_LINK="https://etherscan.io/privacyPolicy",i.CONSENSYS_PRIVACY_LINK="https://consensys.io/privacy-policy/",i.AUTO_DETECT_TOKEN_LEARN_MORE_LINK="https://consensys.io/privacy-policy/",i.CONSENSYS_TERMS_OF_USE="https://consensys.io/terms-of-use",i.SECURITY_ALERTS_LEARN_MORE_LINK="https://support.metamask.io/hc/en-us/articles/19878220833947",i.TRANSACTION_SIMULATIONS_LEARN_MORE_LINK="https://support.metamask.io/transactions-and-gas/transactions/simulations/",i.GAS_FEES_LEARN_MORE_URL="https://community.metamask.io/t/what-is-gas-why-do-transactions-take-so-long/3172"}}},{package:"$root$",file:"shared/lib/ui-utils.js"}],[4535,{buffer:3028,"ethereumjs-util":3288},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){(function(a){(function(){Object.defineProperty(i,"__esModule",{value:!0}),i.toBuffer=function(e){if("string"==typeof e&&!1===(0,r.isHexString)(e))return a.from(e);return(0,r.toBuffer)(e)};var r=e("ethereumjs-util")}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"$root$",file:"shared/modules/buffer-utils.js"}],[4538,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.showSecondaryCurrency=i.showPrimaryCurrency=void 0;i.showPrimaryCurrency=(e,a)=>!!a||!!e;i.showSecondaryCurrency=(e,a)=>!a||!!e}}},{package:"$root$",file:"shared/modules/currency-display.utils.ts"}],[4552,{"../constants/security-provider":4513},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.isSuspiciousResponse=function(e){if(!e)return!1;const a=e.flagAsDangerous!==undefined&&e.flagAsDangerous!==r.SECURITY_PROVIDER_MESSAGE_SEVERITY.NOT_MALICIOUS,i=0===Object.keys(e).length;return a||i};var r=e("../constants/security-provider")}}},{package:"$root$",file:"shared/modules/security-provider.utils.ts"}],[4557,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.formatMessageParams=void 0;i.formatMessageParams=(e,a)=>{const i=[],{statement:r,uri:n,version:t,chainId:o,nonce:s,issuedAt:l,expirationTime:c,notBefore:d,requestId:u,resources:m}=e;return r&&i.push({label:a("SIWELabelMessage"),value:r}),n&&i.push({label:a("SIWELabelURI"),value:n}),t&&i.push({label:a("SIWELabelVersion"),value:t}),o&&i.push({label:a("SIWELabelChainID"),value:o}),s&&i.push({label:a("SIWELabelNonce"),value:s}),l&&i.push({label:a("SIWELabelIssuedAt"),value:l}),c&&i.push({label:a("SIWELabelExpirationTime"),value:c}),d&&i.push({label:a("SIWELabelNotBefore"),value:d}),u&&i.push({label:a("SIWELabelRequestID"),value:u}),m&&m.length>0&&i.push({label:a("SIWELabelResources",[m.length]),value:m.reduce(((e,a)=>`${e}${a}\n`),"").trim()}),i}}}},{package:"$root$",file:"shared/modules/siwe.js"}],[4561,{"@metamask/transaction-controller":2234},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=function({txData:e,maxFeePerGas:a,customTokenAmount:i,dappProposedTokenAmount:n,currentTokenBalance:t,maxPriorityFeePerGas:o,baseFeePerGas:s,addToAddressBookIfNew:l,toAccounts:c,toAddress:d,name:u}){[r.TransactionType.simpleSend,r.TransactionType.swapAndSend].includes(e.type)&&l(d,c);s&&(e.estimatedBaseFee=s);u&&(e.contractMethodName=u);n&&(e.dappProposedTokenAmount=n,e.originalApprovalAmount=n);i?(e.customTokenAmount=i,e.finalApprovalAmount=i):n!==undefined&&(e.finalApprovalAmount=n);t&&(e.currentTokenBalance=t);a&&(e.txParams={...e.txParams,maxFeePerGas:a});o&&(e.txParams={...e.txParams,maxPriorityFeePerGas:o});return e};var r=e("@metamask/transaction-controller")}}},{package:"$root$",file:"shared/modules/updateTxData.js"}],[4564,{"../../../../app/scripts/lib/multichain/address":82,"../../ui/account-mismatch-warning/account-mismatch-warning.component":5189,"../../ui/identicon":5247,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=c;var r=l(e("react")),n=l(e("prop-types")),t=l(e("../../ui/identicon")),o=l(e("../../ui/account-mismatch-warning/account-mismatch-warning.component")),s=e("../../../../app/scripts/lib/multichain/address");function l(e){return e&&e.__esModule?e:{default:e}}function c({account:e,className:a,displayAddress:i=!1,handleClick:n,icon:l=null}){const{metadata:{name:c},address:d,balance:u}=e;return r.default.createElement("div",{className:`account-list-item ${a}`,"data-testid":"account-list-item",onClick:()=>null==n?void 0:n({name:c,address:d,balance:u})},r.default.createElement("div",{className:"account-list-item__top-row"},r.default.createElement(t.default,{address:d,className:"account-list-item__identicon",diameter:18}),r.default.createElement("div",{className:"account-list-item__account-name"},c||d),l?r.default.createElement("div",{className:"account-list-item__icon","data-testid":"account-list-item-icon"},l):null,r.default.createElement(o.default,{address:d})),i&&c&&r.default.createElement("div",{className:"account-list-item__account-address"},(0,s.normalizeSafeAddress)(d)))}c.propTypes={account:n.default.shape({id:n.default.string.isRequired,address:n.default.string.isRequired,balance:n.default.string.isRequired,metadata:n.default.shape({name:n.default.string.isRequired,snap:n.default.shape({id:n.default.string.isRequired,name:n.default.string,enabled:n.default.bool}),keyring:n.default.shape({type:n.default.string.isRequired}).isRequired}).isRequired}).isRequired,className:n.default.string,displayAddress:n.default.bool,handleClick:n.default.func,icon:n.default.node}}}},{package:"$root$",file:"ui/components/app/account-list-item/account-list-item.js"}],[4565,{"./account-list-item":4564},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return n.default}});var r,n=(r=e("./account-list-item"))&&r.__esModule?r:{default:r}}}},{package:"$root$",file:"ui/components/app/account-list-item/index.js"}],[4566,{"../../../../app/scripts/lib/util":120,"../../../../shared/constants/app":4493,"../../../../shared/constants/metametrics":4505,"../../../../shared/constants/network":4507,"../../../contexts/i18n":5324,"../../../helpers/constants/design-system":5355,"../../../helpers/constants/routes":5361,"../../../helpers/constants/zendesk-url":5368,"../../../pages/confirmations/confirmation/confirmation":5670,"../../../selectors":5987,"../../../store/actions":5998,"../../component-library":4955,"../../ui/box":5194,"../../ui/button":5198,"../../ui/popover":5281,"../../ui/tooltip":5310,"@metamask/controller-utils":1163,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var r=function(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=x(a);if(i&&i.has(e))return i.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in e)if("default"!==t&&Object.prototype.hasOwnProperty.call(e,t)){var o=n?Object.getOwnPropertyDescriptor(e,t):null;o&&(o.get||o.set)?Object.defineProperty(r,t,o):r[t]=e[t]}return r.default=e,i&&i.set(e,r),r}(e("react")),n=e("react-redux"),t=e("react-router-dom"),o=e("@metamask/controller-utils"),s=e("../../../contexts/i18n"),l=z(e("../../ui/box")),c=e("../../../helpers/constants/design-system"),d=z(e("../../ui/button")),u=z(e("../../ui/tooltip")),m=e("../../../selectors"),h=e("../../../../shared/constants/app"),p=e("../../../store/actions"),g=z(e("../../ui/popover")),b=z(e("../../../pages/confirmations/confirmation/confirmation")),y=e("../../../../shared/constants/network"),f=e("../../../helpers/constants/routes"),k=e("../../../../app/scripts/lib/util"),v=z(e("../../../helpers/constants/zendesk-url")),w=e("../../component-library"),j=e("../../../../shared/constants/metametrics");function z(e){return e&&e.__esModule?e:{default:e}}function x(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,i=new WeakMap;return(x=function(e){return e?i:a})(e)}i.default=()=>{const e=(0,r.useContext)(s.I18nContext),a=(0,n.useDispatch)(),i=(0,t.useHistory)(),z=(0,n.useSelector)(m.getNetworkConfigurations),x=Object.values(z).map((e=>e.chainId)),q=/infura.io/u,_=y.FEATURED_RPCS.sort(((e,a)=>e.nickname>a.nickname?1:-1)).slice(0,y.FEATURED_RPCS.length).filter((e=>-1===x.indexOf(e.chainId))),M=(0,n.useSelector)(m.getUnapprovedConfirmations),[T,E]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{const e=null==M?void 0:M.find((e=>"metamask"===e.origin&&e.type===o.ApprovalType.AddEthereumChain));!T&&e&&E(!0),T&&!e&&E(!1)}),[M,T]),r.default.createElement(r.default.Fragment,null,0===Object.keys(_).length?r.default.createElement(l.default,{className:"add-network__edge-case-box",borderRadius:c.BorderRadius.MD,padding:4,marginTop:4,marginRight:6,marginLeft:6,display:c.Display.Flex,flexDirection:c.FlexDirection.Row,backgroundColor:c.BackgroundColor.backgroundAlternative},r.default.createElement(l.default,{marginRight:4},r.default.createElement("img",{src:"images/info-fox.svg"})),r.default.createElement(l.default,null,r.default.createElement(w.Text,{variant:c.TextVariant.bodySm,as:"h6"},e("youHaveAddedAll",[r.default.createElement("a",{key:"link",className:"add-network__edge-case-box__link",href:"https://chainlist.wtf/",target:"_blank",rel:"noreferrer"},e("here"),"."),r.default.createElement(d.default,{key:"button",type:"inline",onClick:e=>{e.preventDefault(),(0,k.getEnvironmentType)()===h.ENVIRONMENT_TYPE_POPUP?global.platform.openExtensionInBrowser(f.ADD_NETWORK_ROUTE):i.push(f.ADD_NETWORK_ROUTE)}},r.default.createElement(w.Text,{variant:c.TextVariant.bodySm,as:"h6",color:c.TextColor.infoDefault},e("addMoreNetworks"),"."))])))):r.default.createElement(l.default,{className:"add-network__networks-container"},(0,k.getEnvironmentType)()===h.ENVIRONMENT_TYPE_FULLSCREEN&&r.default.createElement(l.default,{display:c.Display.Flex,alignItems:c.AlignItems.center,flexDirection:c.FlexDirection.Row,marginTop:7,marginBottom:4,paddingBottom:2,className:"add-network__header"},r.default.createElement(w.Text,{variant:c.TextVariant.headingSm,color:c.TextColor.textMuted,as:"h4"},e("networks")),r.default.createElement("span",{className:"add-network__header__subtitle"}," > "),r.default.createElement(w.Text,{variant:c.TextVariant.headingSm,as:"h4",color:c.TextColor.textDefault,"data-testid":"add-network-button"},e("addANetwork"))),r.default.createElement(l.default,{marginTop:(0,k.getEnvironmentType)()===h.ENVIRONMENT_TYPE_POPUP?0:4,marginBottom:1,className:"add-network__main-container"},r.default.createElement(w.Text,{variant:c.TextVariant.bodySm,as:"h6",color:c.TextColor.textAlternative,margin:0,marginTop:4},e("addFromAListOfPopularNetworks")),r.default.createElement(w.Text,{variant:c.TextVariant.bodySm,as:"h6",color:c.TextColor.textMuted,marginTop:4,marginBottom:3},e("popularCustomNetworks")),_.map(((i,n)=>{var t;return r.default.createElement(l.default,{key:n,display:c.Display.Flex,alignItems:c.AlignItems.center,justifyContent:c.JustifyContent.spaceBetween,marginBottom:6,className:"add-network__list-of-networks"},r.default.createElement(l.default,{display:c.Display.Flex,alignItems:c.AlignItems.center},r.default.createElement(w.AvatarNetwork,{size:w.AvatarNetworkSize.Sm,src:null===(t=i.rpcPrefs)||void 0===t?void 0:t.imageUrl,name:i.nickname}),r.default.createElement(l.default,{marginLeft:2},r.default.createElement(w.Text,{variant:c.TextVariant.bodySmBold,as:"h6",color:c.TextColor.textDefault},i.nickname))),r.default.createElement(l.default,{display:c.Display.Flex,alignItems:c.AlignItems.center,marginLeft:1},!q.test(i.rpcUrl)&&r.default.createElement(u.default,{position:"top",interactive:!0,html:r.default.createElement(l.default,{margin:3,className:"add-network__warning-tooltip"},e("addNetworkTooltipWarning",[r.default.createElement("a",{key:"zendesk_page_link",href:v.default.UNKNOWN_NETWORK,rel:"noreferrer",target:"_blank"},e("learnMoreUpperCase"))])),trigger:"mouseenter"},r.default.createElement(w.Icon,{className:"add-network__warning-icon",name:w.IconName.Danger,color:c.IconColor.iconMuted,size:w.IconSize.Sm})),r.default.createElement(d.default,{type:"inline",className:"add-network__add-button",onClick:async()=>{var e;await a((0,p.requestUserApproval)({origin:h.ORIGIN_METAMASK,type:o.ApprovalType.AddEthereumChain,requestData:{chainId:i.chainId,rpcUrl:i.rpcUrl,ticker:i.ticker,rpcPrefs:i.rpcPrefs,imageUrl:null===(e=i.rpcPrefs)||void 0===e?void 0:e.imageUrl,chainName:i.nickname,referrer:h.ORIGIN_METAMASK,source:j.MetaMetricsNetworkEventSource.PopularNetworkList}}))}},e("add"))))}))),r.default.createElement(l.default,{padding:(0,k.getEnvironmentType)()===h.ENVIRONMENT_TYPE_POPUP?[2,0,2,6]:[2,0,2,0],className:"add-network__footer"},r.default.createElement(d.default,{type:"link","data-testid":"add-network-manually",onClick:e=>{e.preventDefault(),(0,k.getEnvironmentType)()===h.ENVIRONMENT_TYPE_POPUP?global.platform.openExtensionInBrowser(f.ADD_NETWORK_ROUTE):i.push(f.ADD_NETWORK_ROUTE)}},r.default.createElement(w.Text,{variant:c.TextVariant.bodySm,as:"h6",color:c.TextColor.primaryDefault},e("addANetworkManually"))))),T&&r.default.createElement(g.default,null,r.default.createElement(b.default,{redirectToHomeOnZeroConfirmations:!1})))}}}},{package:"$root$",file:"ui/components/app/add-network/add-network.js"}],[4567,{"../../../../../shared/constants/security-provider":4513,"../../../../helpers/constants/design-system":5355,"../../../../hooks/useAlerts":5415,"../../../../hooks/useI18nContext":5427,"../../../component-library":4955,"../alert-provider":4570,"../contexts/alertActionHandler":4573,"@metamask/snaps-sdk":2122,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.AcknowledgeCheckboxBase=f,i.AlertModal=function({ownerId:e,onAcknowledgeClick:a,alertKey:i,onClose:r,headerStartAccessory:t,customTitle:c,customDetails:u,customAcknowledgeCheckbox:h,customAcknowledgeButton:p,enableProvider:w=!0}){const{isAlertConfirmed:j,setAlertConfirmed:z,alerts:x}=(0,d.default)(e),q=(0,n.useCallback)((()=>{r()}),[r]),_=x.find((e=>e.key===i));if(!_)return null;const M=j(_.key),T=_.severity===l.Severity.Danger,E=(0,n.useCallback)((()=>z(_.key,!M)),[M,_.key]);return n.default.createElement(s.Modal,{isOpen:!0,onClose:q},n.default.createElement(s.ModalOverlay,null),n.default.createElement(s.ModalContent,null,n.default.createElement(s.ModalHeader,{onClose:q,startAccessory:t,paddingBottom:0,display:t?l.Display.InlineFlex:l.Display.Block}),n.default.createElement(g,{selectedAlert:_,customTitle:c}),n.default.createElement(s.ModalBody,null,(null==_?void 0:_.provider)===o.SecurityProvider.Blockaid?n.default.createElement(b,null):n.default.createElement(y,{selectedAlert:_,customDetails:u}),h??n.default.createElement(f,{selectedAlert:_,isConfirmed:M,onCheckboxClick:E}),w?n.default.createElement(m.AlertProvider,{provider:_.provider,paddingTop:2,textAlign:l.TextAlign.Center}):null),n.default.createElement(s.ModalFooter,null,n.default.createElement(s.Box,{display:l.Display.Flex,flexDirection:l.FlexDirection.Column,gap:4,width:l.BlockSize.Full},p??n.default.createElement(n.default.Fragment,null,n.default.createElement(k,{onAcknowledgeClick:a,isConfirmed:!T||M,hasActions:Boolean(_.actions),isBlocking:_.isBlocking}),(_.actions??[]).map((e=>n.default.createElement(v,{key:e.key,action:e}))))))))};var r,n=function(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=h(a);if(i&&i.has(e))return i.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in e)if("default"!==t&&Object.prototype.hasOwnProperty.call(e,t)){var o=n?Object.getOwnPropertyDescriptor(e,t):null;o&&(o.get||o.set)?Object.defineProperty(r,t,o):r[t]=e[t]}return r.default=e,i&&i.set(e,r),r}(e("react")),t=e("@metamask/snaps-sdk"),o=e("../../../../../shared/constants/security-provider"),s=e("../../../component-library"),l=e("../../../../helpers/constants/design-system"),c=e("../../../../hooks/useI18nContext"),d=(r=e("../../../../hooks/useAlerts"))&&r.__esModule?r:{default:r},u=e("../contexts/alertActionHandler"),m=e("../alert-provider");function h(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,i=new WeakMap;return(h=function(e){return e?i:a})(e)}function p(e){switch(e){case l.Severity.Warning:return{background:l.BackgroundColor.warningMuted,icon:l.IconColor.warningDefault};case l.Severity.Danger:return{background:l.BackgroundColor.errorMuted,icon:l.IconColor.errorDefault};default:return{background:l.BackgroundColor.backgroundDefault,icon:l.IconColor.infoDefault}}}function g({selectedAlert:e,customTitle:a}){const i=(0,c.useI18nContext)(),{severity:r,reason:t}=e,o=p(r);return n.default.createElement(s.Box,{gap:3,display:l.Display.Block,alignItems:l.AlignItems.center,textAlign:l.TextAlign.Center},n.default.createElement(s.Icon,{name:r===l.Severity.Info?s.IconName.Info:s.IconName.Danger,size:s.IconSize.Xl,color:o.icon}),n.default.createElement(s.Text,{variant:l.TextVariant.headingSm,color:l.TextColor.inherit,marginTop:3,marginBottom:4},a??t??i("alert")))}function b(){const e=(0,c.useI18nContext)();return n.default.createElement(s.Text,{textAlign:l.TextAlign.Center,variant:l.TextVariant.bodyMd},e("blockaidAlertInfo"))}function y({selectedAlert:e,customDetails:a}){var i,r;const t=(0,c.useI18nContext)(),o=p(e.severity);return n.default.createElement(s.Box,{key:e.key,display:l.Display.InlineBlock,padding:2,width:l.BlockSize.Full,backgroundColor:a?undefined:o.background,gap:2,borderRadius:l.BorderRadius.SM},a??n.default.createElement(s.Box,null,n.default.createElement(s.Text,{variant:l.TextVariant.bodyMd},e.message),null!==(i=e.alertDetails)&&void 0!==i&&i.length?n.default.createElement(s.Text,{variant:l.TextVariant.bodyMdBold,marginTop:1},t("alertModalDetails")):null,n.default.createElement(s.Box,{as:"ul",className:"alert-modal__alert-details",paddingLeft:6},null===(r=e.alertDetails)||void 0===r?void 0:r.map(((a,i)=>n.default.createElement(s.Box,{as:"li",key:`${e.key}-detail-${i}`},n.default.createElement(s.Text,{variant:l.TextVariant.bodyMd},a)))))))}function f({selectedAlert:e,onCheckboxClick:a,isConfirmed:i,label:r}){if(e.isBlocking||e.severity!==l.Severity.Danger)return null;const t=(0,c.useI18nContext)(),o=p(e.severity);return n.default.createElement(s.Box,{display:l.Display.Flex,padding:3,width:l.BlockSize.Full,gap:3,backgroundColor:o.background,marginTop:4,borderRadius:l.BorderRadius.LG},n.default.createElement(s.Checkbox,{label:r??t("alertModalAcknowledge"),"data-testid":"alert-modal-acknowledge-checkbox",isChecked:i,onChange:a,alignItems:l.AlignItems.flexStart,className:"alert-modal__acknowledge-checkbox"}))}function k({onAcknowledgeClick:e,isConfirmed:a,hasActions:i,isBlocking:r}){const o=(0,c.useI18nContext)();return r?null:n.default.createElement(s.Button,{variant:i?t.ButtonVariant.Secondary:t.ButtonVariant.Primary,width:l.BlockSize.Full,onClick:e,size:s.ButtonSize.Lg,"data-testid":"alert-modal-button",disabled:!a},o("gotIt"))}function v({action:e}){const{processAction:a}=(0,u.useAlertActionHandler)();if(!e)return null;const{key:i,label:r}=e;return n.default.createElement(s.Button,{key:i,variant:t.ButtonVariant.Primary,width:l.BlockSize.Full,size:s.ButtonSize.Lg,onClick:()=>a(i)},r)}}}},{package:"$root$",file:"ui/components/app/alert-system/alert-modal/alert-modal.tsx"}],[4568,{"./alert-modal":4567},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"AlertModal",{enumerable:!0,get:function(){return r.AlertModal}});var r=e("./alert-modal")}}},{package:"$root$",file:"ui/components/app/alert-system/alert-modal/index.tsx"}],[4569,{"../../../../../shared/constants/security-provider":4513,"../../../../helpers/constants/design-system":5355,"../../../../hooks/useI18nContext":5427,"../../../component-library":4955,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.AlertProvider=function({provider:e,paddingTop:a=0,textAlign:i}){var r,c;const d=(0,l.useI18nContext)();if(!e)return null;return n.default.createElement(o.Box,{paddingTop:a,textAlign:i},n.default.createElement(o.Text,{marginTop:1,display:s.Display.InlineFlex,alignItems:s.AlignItems.center,color:s.TextColor.textAlternative,variant:s.TextVariant.bodySm},n.default.createElement(o.Icon,{color:s.IconColor.primaryDefault,name:o.IconName.SecurityTick,size:o.IconSize.Sm,marginInlineEnd:1}),d("securityProviderPoweredBy",[n.default.createElement(o.ButtonLink,{key:`security-provider-button-link-${e}`,size:o.ButtonLinkSize.Inherit,href:null===(r=t.SECURITY_PROVIDER_CONFIG[e])||void 0===r?void 0:r.url,externalLink:!0},d(null===(c=t.SECURITY_PROVIDER_CONFIG[e])||void 0===c?void 0:c.tKeyName))])))};var r,n=(r=e("react"))&&r.__esModule?r:{default:r},t=e("../../../../../shared/constants/security-provider"),o=e("../../../component-library"),s=e("../../../../helpers/constants/design-system"),l=e("../../../../hooks/useI18nContext")}}},{package:"$root$",file:"ui/components/app/alert-system/alert-provider/alert-provider.tsx"}],[4570,{"./alert-provider":4569},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"AlertProvider",{enumerable:!0,get:function(){return r.AlertProvider}});var r=e("./alert-provider")}}},{package:"$root$",file:"ui/components/app/alert-system/alert-provider/index.tsx"}],[4571,{"../../../../../shared/constants/security-provider":4513,"../../../../helpers/constants/design-system":5355,"../../../../hooks/useAlerts":5415,"../../../../hooks/useI18nContext":5427,"../../../component-library":4955,"../alert-modal":4568,"../alert-modal/alert-modal":4567,"../multiple-alert-modal":4576,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.ConfirmAlertModal=function({alertKey:e,onCancel:a,onClose:i,onSubmit:r,ownerId:o}){const s=(0,l.useI18nContext)(),{alerts:h,unconfirmedDangerAlerts:b}=(0,c.default)(o),y=h.find((a=>a.key===e)),[f,k]=(0,n.useState)(!1),[v,w]=(0,n.useState)(b.length>1),j=(0,n.useCallback)((()=>{w(!1)}),[]),z=(0,n.useCallback)((()=>{w(!0)}),[]),x=(0,n.useCallback)((()=>{k(!f)}),[f,y]);if(!y)return null;if(v)return n.default.createElement(m.MultipleAlertModal,{alertKey:e,ownerId:o,onFinalAcknowledgeClick:j,onClose:j});return n.default.createElement(d.AlertModal,{ownerId:o,onAcknowledgeClick:i,alertKey:e,onClose:i,customTitle:s("confirmAlertModalTitle"),customDetails:(null==y?void 0:y.provider)===t.SecurityProvider.Blockaid?t.SecurityProvider.Blockaid:n.default.createElement(g,{onAlertLinkClick:z}),customAcknowledgeCheckbox:n.default.createElement(u.AcknowledgeCheckboxBase,{selectedAlert:y,isConfirmed:f,onCheckboxClick:x,label:(null==y?void 0:y.provider)===t.SecurityProvider.Blockaid?s("confirmAlertModalAcknowledgeBlockaid"):s("confirmAlertModalAcknowledge")}),customAcknowledgeButton:n.default.createElement(p,{onCancel:a,onSubmit:r,isConfirmed:f}),enableProvider:!1})};var r,n=function(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=h(a);if(i&&i.has(e))return i.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in e)if("default"!==t&&Object.prototype.hasOwnProperty.call(e,t)){var o=n?Object.getOwnPropertyDescriptor(e,t):null;o&&(o.get||o.set)?Object.defineProperty(r,t,o):r[t]=e[t]}return r.default=e,i&&i.set(e,r),r}(e("react")),t=e("../../../../../shared/constants/security-provider"),o=e("../../../component-library"),s=e("../../../../helpers/constants/design-system"),l=e("../../../../hooks/useI18nContext"),c=(r=e("../../../../hooks/useAlerts"))&&r.__esModule?r:{default:r},d=e("../alert-modal"),u=e("../alert-modal/alert-modal"),m=e("../multiple-alert-modal");function h(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,i=new WeakMap;return(h=function(e){return e?i:a})(e)}function p({onCancel:e,onSubmit:a,isConfirmed:i}){const r=(0,l.useI18nContext)();return n.default.createElement(n.default.Fragment,null,n.default.createElement(o.Button,{block:!0,onClick:e,size:o.ButtonSize.Lg,variant:o.ButtonVariant.Secondary,"data-testid":"confirm-alert-modal-cancel-button"},r("reject")),n.default.createElement(o.Button,{variant:o.ButtonVariant.Primary,onClick:a,size:o.ButtonSize.Lg,"data-testid":"confirm-alert-modal-submit-button",disabled:!i,danger:!0,startIconName:o.IconName.Danger},r("confirm")))}function g({onAlertLinkClick:e}){const a=(0,l.useI18nContext)();return n.default.createElement(n.default.Fragment,null,n.default.createElement(o.Box,{alignItems:s.AlignItems.center,textAlign:s.TextAlign.Center},n.default.createElement(o.Text,{variant:s.TextVariant.bodyMd},a("confirmAlertModalDetails")),n.default.createElement(o.ButtonLink,{paddingTop:5,paddingBottom:5,size:o.ButtonLinkSize.Inherit,textProps:{variant:s.TextVariant.bodyMd,alignItems:s.AlignItems.flexStart},as:"a",onClick:e,target:"_blank",rel:"noopener noreferrer","data-testid":"confirm-alert-modal-review-all-alerts"},n.default.createElement(o.Icon,{name:o.IconName.SecuritySearch,size:o.IconSize.Inherit,marginLeft:1}),a("alertModalReviewAllAlerts"))))}}}},{package:"$root$",file:"ui/components/app/alert-system/confirm-alert-modal/confirm-alert-modal.tsx"}],[4572,{"./confirm-alert-modal":4571},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"ConfirmAlertModal",{enumerable:!0,get:function(){return r.ConfirmAlertModal}});var r=e("./confirm-alert-modal")}}},{package:"$root$",file:"ui/components/app/alert-system/confirm-alert-modal/index.tsx"}],[4573,{react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.useAlertActionHandler=i.AlertActionHandlerProvider=i.AlertActionHandlerContext=void 0;var r=function(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=n(a);if(i&&i.has(e))return i.get(e);var r={__proto__:null},t=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=t?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=e[o]}return r.default=e,i&&i.set(e,r),r}(e("react"));function n(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,i=new WeakMap;return(n=function(e){return e?i:a})(e)}const t=i.AlertActionHandlerContext=(0,r.createContext)(undefined);i.AlertActionHandlerProvider=({children:e,onProcessAction:a})=>{const i=(0,r.useCallback)((e=>{a(e)}),[a]);return r.default.createElement(t.Provider,{value:{processAction:i}},e)};i.useAlertActionHandler=()=>{const e=(0,r.useContext)(t);if(!e)throw new Error("useAlertActionHandler must be used within an AlertActionHandlerProvider");return e}}}},{package:"$root$",file:"ui/components/app/alert-system/contexts/alertActionHandler.tsx"}],[4574,{"../../../../helpers/constants/design-system":5355,"../../../../helpers/constants/zendesk-url":5368,"../../../../hooks/useI18nContext":5427,"../../../component-library":4955,"../../../ui/disclosure":5216,"../../../ui/disclosure/disclosure.constants":5214,"../alert-provider":4570,"../utils":4578,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var r=m(e("react")),n=e("../../../component-library"),t=m(e("../../../ui/disclosure")),o=e("../../../ui/disclosure/disclosure.constants"),s=e("../../../../hooks/useI18nContext"),l=e("../../../../helpers/constants/design-system"),c=m(e("../../../../helpers/constants/zendesk-url")),d=e("../utils"),u=e("../alert-provider");function m(e){return e&&e.__esModule?e:{default:e}}function h(){return h=Object.assign?Object.assign.bind():function(e){for(var a=1;ar.default.createElement(n.Box,{as:"li",key:`disclosure-detail-${a}`},r.default.createElement(n.Text,{variant:l.TextVariant.bodyMdMedium,fontWeight:l.FontWeight.Normal},e))))):e,r.default.createElement(p,{reportUrl:a,provider:c,onClickSupportLink:i}))):null}i.default=function({description:e,details:a,onClickSupportLink:i,provider:t,severity:o,title:s,reportUrl:l,...c}){return r.default.createElement(n.BannerAlert,h({title:s,severity:(0,d.getBannerAlertSeverity)(o),description:e},c),r.default.createElement(g,{details:a,reportUrl:l,onClickSupportLink:i,provider:t}),r.default.createElement(u.AlertProvider,{provider:t}))}}}},{package:"$root$",file:"ui/components/app/alert-system/general-alert/general-alert.tsx"}],[4575,{"../../../../helpers/constants/design-system":5355,"../../../../hooks/useI18nContext":5427,"../../../component-library":4955,"../utils":4578,classnames:3049,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=function({onClick:e,severity:a=o.Severity.Info,style:i}){const c=(0,s.useI18nContext)();return r.default.createElement(t.Box,null,r.default.createElement(t.Box,{"data-testid":"inline-alert",backgroundColor:(0,l.getSeverityBackground)(a),borderRadius:o.BorderRadius.SM,gap:1,display:o.Display.InlineFlex,alignItems:o.AlignItems.center,className:(0,n.default)({"inline-alert":!0,"inline-alert__info":a===o.Severity.Info,"inline-alert__warning":a===o.Severity.Warning,"inline-alert__danger":a===o.Severity.Danger}),style:i,onClick:e},r.default.createElement(t.Icon,{name:a===o.Severity.Info?t.IconName.Info:t.IconName.Danger,size:t.IconSize.Sm}),r.default.createElement(t.Text,{variant:o.TextVariant.bodySm,color:o.TextColor.inherit},c("inlineAlert")),r.default.createElement(t.Icon,{name:t.IconName.ArrowRight,size:t.IconSize.Xs})))};var r=c(e("react")),n=c(e("classnames")),t=e("../../../component-library"),o=e("../../../../helpers/constants/design-system"),s=e("../../../../hooks/useI18nContext"),l=e("../utils");function c(e){return e&&e.__esModule?e:{default:e}}}}},{package:"$root$",file:"ui/components/app/alert-system/inline-alert/inline-alert.tsx"}],[4576,{"./multiple-alert-modal":4577},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"MultipleAlertModal",{enumerable:!0,get:function(){return r.MultipleAlertModal}});var r=e("./multiple-alert-modal")}}},{package:"$root$",file:"ui/components/app/alert-system/multiple-alert-modal/index.tsx"}],[4577,{"../../../../helpers/constants/design-system":5355,"../../../../hooks/useAlerts":5415,"../../../../hooks/useI18nContext":5427,"../../../component-library":4955,"../alert-modal":4568,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.MultipleAlertModal=function({alertKey:e,onClose:a,onFinalAcknowledgeClick:i,ownerId:r}){const{isAlertConfirmed:t,alerts:s}=(0,l.default)(r),[d,u]=(0,n.useState)(s.findIndex((a=>a.key===e))),m=s[d],h=s.some((e=>!t(e.key)&&e.severity===o.Severity.Danger)),g=(0,n.useCallback)((()=>{u((e=>e>0?e-1:e))}),[]),b=(0,n.useCallback)((()=>{u((e=>e+1))}),[]),y=(0,n.useCallback)((()=>{if(d+1===s.length)return h?void u(0):void i();b()}),[i,b,d,s.length,h]);return n.default.createElement(c.AlertModal,{ownerId:r,onAcknowledgeClick:y,alertKey:m.key,onClose:a,headerStartAccessory:n.default.createElement(p,{alerts:s,onBackButtonClick:g,onNextButtonClick:b,selectedIndex:d})})};var r,n=function(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=d(a);if(i&&i.has(e))return i.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in e)if("default"!==t&&Object.prototype.hasOwnProperty.call(e,t)){var o=n?Object.getOwnPropertyDescriptor(e,t):null;o&&(o.get||o.set)?Object.defineProperty(r,t,o):r[t]=e[t]}return r.default=e,i&&i.set(e,r),r}(e("react")),t=e("../../../component-library"),o=e("../../../../helpers/constants/design-system"),s=e("../../../../hooks/useI18nContext"),l=(r=e("../../../../hooks/useAlerts"))&&r.__esModule?r:{default:r},c=e("../alert-modal");function d(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,i=new WeakMap;return(d=function(e){return e?i:a})(e)}function u({selectedIndex:e,onBackButtonClick:a}){const i=(0,s.useI18nContext)();return e+1>1?n.default.createElement(t.ButtonIcon,{iconName:t.IconName.ArrowLeft,ariaLabel:i("back"),size:t.ButtonIconSize.Sm,onClick:a,className:"confirm_nav__left_btn","data-testid":"alert-modal-back-button",borderRadius:o.BorderRadius.full,color:o.IconColor.iconAlternative,backgroundColor:o.BackgroundColor.backgroundAlternative}):null}function m({selectedIndex:e,alertsLength:a,onNextButtonClick:i}){const r=(0,s.useI18nContext)();return e+1{e.severity===r.Severity.Danger?a=r.Severity.Danger:e.severity===r.Severity.Warning&&a!==r.Severity.Danger&&(a=r.Severity.Warning)})),a},i.getSeverityBackground=function(e){switch(e){case r.Severity.Danger:return r.BackgroundColor.errorMuted;case r.Severity.Warning:return r.BackgroundColor.warningMuted;default:return r.BackgroundColor.primaryMuted}};var r=e("../../../helpers/constants/design-system"),n=e("../../component-library")}}},{package:"$root$",file:"ui/components/app/alert-system/utils.ts"}],[4579,{"../../../ducks/alerts/invalid-custom-network":5334,"./invalid-custom-network-alert":4581,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var r=l(e("react")),n=e("react-redux"),t=l(e("prop-types")),o=e("../../../ducks/alerts/invalid-custom-network"),s=l(e("./invalid-custom-network-alert"));function l(e){return e&&e.__esModule?e:{default:e}}const c=({history:e})=>(0,n.useSelector)(o.alertIsOpen)?r.default.createElement(s.default,{history:e}):null;c.propTypes={history:t.default.object.isRequired};i.default=c}}},{package:"$root$",file:"ui/components/app/alerts/alerts.js"}],[4580,{"./alerts":4579},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return n.default}});var r,n=(r=e("./alerts"))&&r.__esModule?r:{default:r}}}},{package:"$root$",file:"ui/components/app/alerts/index.js"}],[4581,{"./invalid-custom-network-alert":4582},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return n.default}});var r,n=(r=e("./invalid-custom-network-alert"))&&r.__esModule?r:{default:r}}}},{package:"$root$",file:"ui/components/app/alerts/invalid-custom-network-alert/index.js"}],[4582,{"../../../../ducks/alerts":5333,"../../../../ducks/alerts/invalid-custom-network":5334,"../../../../helpers/constants/routes":5361,"../../../../hooks/useI18nContext":5427,"../../../ui/button":5198,"../../../ui/popover":5281,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var r=m(e("react")),n=e("react-redux"),t=m(e("prop-types")),o=e("../../../../ducks/alerts"),s=e("../../../../ducks/alerts/invalid-custom-network"),l=m(e("../../../ui/popover")),c=m(e("../../../ui/button")),d=e("../../../../hooks/useI18nContext"),u=e("../../../../helpers/constants/routes");function m(e){return e&&e.__esModule?e:{default:e}}const{ERROR:h,LOADING:p}=o.ALERT_STATE,g=({history:e})=>{const a=(0,d.useI18nContext)(),i=(0,n.useDispatch)(),t=(0,n.useSelector)(s.getAlertState),o=(0,n.useSelector)(s.getNetworkName),m=()=>i((0,s.dismissAlert)()),g=r.default.createElement(r.default.Fragment,null,t===h?r.default.createElement("div",{className:"invalid-custom-network-alert__error"},a("failureMessage")):null,r.default.createElement("div",{className:"invalid-custom-network-alert__footer-row"},r.default.createElement(c.default,{disabled:t===p,onClick:m,type:"secondary",className:"invalid-custom-network-alert__footer-row-button"},a("dismiss")),r.default.createElement(c.default,{disabled:t===p,onClick:async()=>{await m(),e.push(u.NETWORKS_ROUTE)},type:"primary",className:"invalid-custom-network-alert__footer-row-button"},a("settings"))));return r.default.createElement(l.default,{title:a("invalidCustomNetworkAlertTitle"),onClose:m,contentClassName:"invalid-custom-network-alert__content",footerClassName:"invalid-custom-network-alert__footer",footer:g},r.default.createElement("p",null,a("invalidCustomNetworkAlertContent1",[o])),r.default.createElement("p",null,a("invalidCustomNetworkAlertContent2")),r.default.createElement("p",null,a("invalidCustomNetworkAlertContent3",[r.default.createElement("span",{key:"invalidCustomNetworkAlertContentLink",className:"invalid-custom-network-alert__content-link",onClick:()=>global.platform.openTab({url:"https://chainid.network"})},"chainId.network")])))};g.propTypes={history:t.default.object.isRequired};i.default=g}}},{package:"$root$",file:"ui/components/app/alerts/invalid-custom-network-alert/invalid-custom-network-alert.js"}],[4583,{"../../../selectors":5987,"../../ui/spinner":5294,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var r=e("react-redux"),n=l(e("prop-types")),t=l(e("react")),o=e("../../../selectors"),s=l(e("../../ui/spinner"));function l(e){return e&&e.__esModule?e:{default:e}}const c=({className:e})=>(0,r.useSelector)(o.getAppIsLoading)?t.default.createElement("div",{className:`${e} app-loading-spinner`,role:"alert","aria-busy":"true"},t.default.createElement(s.default,{color:"var(--color-secondary-muted)",className:"app-loading-spinner__inner"})):null;c.propTypes={className:n.default.string};i.default=c}}},{package:"$root$",file:"ui/components/app/app-loading-spinner/app-loading-spinner.js"}],[4584,{"./app-loading-spinner":4583},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return n.default}});var r,n=(r=e("./app-loading-spinner"))&&r.__esModule?r:{default:r}}}},{package:"$root$",file:"ui/components/app/app-loading-spinner/index.js"}],[4585,{"../../../../shared/constants/metametrics":4505,"../../../../shared/modules/currency-display.utils":4538,"../../../contexts/metametrics":5327,"../../../ducks/metamask/metamask":5346,"../../../helpers/constants/common":5353,"../../../helpers/utils/util":5399,"../../../hooks/useAccountTotalFiatBalance":5413,"../../../hooks/useCurrencyDisplay":5418,"../../../hooks/useIsOriginalNativeTokenSymbol":5428,"../../../hooks/useUserPreferencedCurrency":5452,"../../../selectors":5987,"../../multichain":5092,"../../multichain/ramps-card/ramps-card":5178,"../detected-token/detected-token":4635,"../token-list":4855,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var r=function(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=j(a);if(i&&i.has(e))return i.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in e)if("default"!==t&&Object.prototype.hasOwnProperty.call(e,t)){var o=n?Object.getOwnPropertyDescriptor(e,t):null;o&&(o.get||o.set)?Object.defineProperty(r,t,o):r[t]=e[t]}return r.default=e,i&&i.set(e,r),r}(e("react")),n=w(e("prop-types")),t=e("react-redux"),o=w(e("../token-list")),s=e("../../../helpers/constants/common"),l=e("../../../hooks/useUserPreferencedCurrency"),c=e("../../../selectors"),d=e("../../../ducks/metamask/metamask"),u=e("../../../hooks/useCurrencyDisplay"),m=e("../../../contexts/metametrics"),h=e("../../../../shared/constants/metametrics"),p=w(e("../detected-token/detected-token")),g=e("../../multichain"),b=e("../../../hooks/useAccountTotalFiatBalance"),y=e("../../../hooks/useIsOriginalNativeTokenSymbol"),f=e("../../../../shared/modules/currency-display.utils"),k=e("../../../helpers/utils/util"),v=e("../../multichain/ramps-card/ramps-card");function w(e){return e&&e.__esModule?e:{default:e}}function j(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,i=new WeakMap;return(j=function(e){return e?i:a})(e)}const z=({onClickAsset:e})=>{const[a,i]=(0,r.useState)(!1),n=(0,t.useSelector)(c.getSelectedAccountCachedBalance),w=(0,t.useSelector)(d.getNativeCurrency),j=(0,t.useSelector)(c.getShouldShowFiat),{chainId:z}=(0,t.useSelector)(c.getCurrentNetwork),x=(0,t.useSelector)(c.getIsMainnet),{useNativeCurrencyAsPrimaryCurrency:q}=(0,t.useSelector)(c.getPreferences),{ticker:_,type:M,rpcUrl:T}=(0,t.useSelector)(d.getProviderConfig),E=(0,y.useIsOriginalNativeTokenSymbol)(z,_,M,T),O=(0,r.useContext)(m.MetaMetricsContext),C=!(0,t.useSelector)(c.getSelectedAccountCachedBalance),{address:P}=(0,t.useSelector)(c.getSelectedAccount),S=(0,t.useSelector)(c.getShouldHideZeroBalanceTokens),{currency:N,numberOfDecimals:I}=(0,l.useUserPreferencedCurrency)(s.PRIMARY,{ethNumberOfDecimals:4}),{currency:A,numberOfDecimals:D}=(0,l.useUserPreferencedCurrency)(s.SECONDARY,{ethNumberOfDecimals:4}),[R,$]=(0,u.useCurrencyDisplay)(n,{numberOfDecimals:I,currency:N}),[B,L]=(0,u.useCurrencyDisplay)(n,{numberOfDecimals:D,currency:A}),W=(0,t.useSelector)(c.getNativeCurrencyImage),F=(0,t.useSelector)(c.getDetectedTokensInCurrentNetwork)||[],U=(0,t.useSelector)(c.getIstokenDetectionInactiveOnNonMainnetSupportedNetwork),{tokensWithBalances:V,totalFiatBalance:K,loading:Y}=(0,b.useAccountTotalFiatBalance)(P,S);V.forEach((e=>{e.string=(0,k.roundToDecimalPlacesRemovingExtraZeroes)(e.string,5)}));const H=0===Number(K),G=(0,t.useSelector)(c.getIsBuyableChain)&&H;let X=x;return r.default.createElement(r.default.Fragment,null,F.length>0&&!U&&r.default.createElement(g.DetectedTokensBanner,{actionButtonOnClick:()=>i(!0),margin:4}),G?r.default.createElement(v.RampsCard,{variant:v.RAMPS_CARD_VARIANT_TYPES.TOKEN}):null,r.default.createElement(g.TokenListItem,{onClick:()=>e(w),title:w,primary:(0,f.showSecondaryCurrency)(E,q)?B:undefined,tokenSymbol:q?$.suffix:L.suffix,secondary:j&&(0,f.showPrimaryCurrency)(E,q)?R:undefined,tokenImage:C?null:W,isOriginalTokenSymbol:E,isNativeCurrency:!0,isStakeable:X}),r.default.createElement(o.default,{tokens:V,loading:Y,onTokenClick:a=>{e(a),O({event:h.MetaMetricsEventName.TokenScreenOpened,category:h.MetaMetricsEventCategory.Navigation,properties:{token_symbol:$.suffix,location:"Home"}})}}),H&&r.default.createElement(g.ReceiveTokenLink,{margin:4,marginBottom:0,marginTop:F.length>0?0:4}),r.default.createElement(g.ImportTokenLink,{margin:4,marginBottom:2,marginTop:F.length>0&&!H?0:2}),a&&r.default.createElement(p.default,{setShowDetectedTokens:i}))};z.propTypes={onClickAsset:n.default.func.isRequired};i.default=z}}},{package:"$root$",file:"ui/components/app/asset-list/asset-list.js"}],[4586,{"./asset-list":4585},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return n.default}});var r,n=(r=e("./asset-list"))&&r.__esModule?r:{default:r}}}},{package:"$root$",file:"ui/components/app/asset-list/index.js"}],[4587,{"../../../../shared/constants/app":4493,"../../../../shared/constants/metametrics":4505,"../../../contexts/metametrics":5327,"../../../ducks/locale/locale":5345,"../../../ducks/metamask/metamask":5346,"../../../helpers/constants/design-system":5355,"../../../hooks/useI18nContext":5427,"../../../store/actions":5998,"../../component-library":4955,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var r=function(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=p(a);if(i&&i.has(e))return i.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in e)if("default"!==t&&Object.prototype.hasOwnProperty.call(e,t)){var o=n?Object.getOwnPropertyDescriptor(e,t):null;o&&(o.get||o.set)?Object.defineProperty(r,t,o):r[t]=e[t]}return r.default=e,i&&i.set(e,r),r}(e("react")),n=e("react-redux"),t=e("../../component-library"),o=e("../../../hooks/useI18nContext"),s=e("../../../helpers/constants/design-system"),l=e("../../../store/actions"),c=e("../../../contexts/metametrics"),d=e("../../../../shared/constants/metametrics"),u=e("../../../ducks/metamask/metamask"),m=e("../../../ducks/locale/locale"),h=e("../../../../shared/constants/app");function p(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,i=new WeakMap;return(p=function(e){return e?i:a})(e)}i.default=function({isOpen:e,onClose:a,setShowTokenAutodetectModalOnUpgrade:i}){const p=(0,o.useI18nContext)(),g=(0,n.useDispatch)(),b=(0,r.useContext)(c.MetaMetricsContext),{chainId:y}=(0,n.useSelector)(u.getProviderConfig),f=(0,n.useSelector)(m.getCurrentLocale),k=(0,r.useCallback)((e=>{b({event:e?d.MetaMetricsEventName.TokenAutoDetectionEnableModal:d.MetaMetricsEventName.TokenAutoDetectionDisableModal,category:d.MetaMetricsEventCategory.Navigation,properties:{chain_id:y,locale:f,referrer:h.ORIGIN_METAMASK}}),g((0,l.setUseTokenDetection)(e)),a(e),i(e)}),[g]);return r.default.createElement(t.Modal,{isOpen:e,onClose:()=>a(!0),isClosedOnOutsideClick:!1,isClosedOnEscapeKey:!1,className:"mm-modal__custom-scrollbar auto-detect-in-modal",autoFocus:!1},r.default.createElement(t.ModalOverlay,null),r.default.createElement(t.ModalContent,{modalDialogProps:{className:"auto-detect-in-modal__dialog"}},r.default.createElement(t.ModalHeader,{alignItems:s.AlignItems.center,justifyContent:s.JustifyContent.center},p("enableTokenAutoDetection")),r.default.createElement(t.ModalBody,{display:s.Display.Flex,flexDirection:s.FlexDirection.Column,paddingLeft:4,paddingRight:4},r.default.createElement(t.Box,{display:s.Display.Flex,alignItems:s.AlignItems.center,justifyContent:s.JustifyContent.center,borderRadius:s.BorderRadius.SM},r.default.createElement("img",{src:"/images/wallet-alpha.png"})),r.default.createElement(t.Text,{variant:s.TextVariant.bodyMd,textAlign:s.TextAlign.Justify,padding:0},p("allowMetaMaskToDetectTokens"),r.default.createElement(t.Box,{textAlign:s.TextAlign.Justify,paddingLeft:2},r.default.createElement(t.Text,{variant:s.TextVariant.inherit,as:"li",paddingTop:2},p("immediateAccessToYourTokens")),r.default.createElement(t.Text,{variant:s.TextVariant.inherit,as:"li"},p("effortlesslyNavigateYourDigitalAssets")),r.default.createElement(t.Text,{variant:s.TextVariant.inherit,as:"li"},p("diveStraightIntoUsingYourTokens"))))),r.default.createElement(t.ModalFooter,{onSubmit:()=>k(!0),submitButtonProps:{children:p("allow"),block:!0},onCancel:()=>k(!1),cancelButtonProps:{children:p("notRightNow"),block:!0}})))}}}},{package:"$root$",file:"ui/components/app/auto-detect-token/auto-detect-token-modal.tsx"}],[4588,{"../../../ducks/app/app":5336,"../../../helpers/constants/design-system":5355,"../../../helpers/constants/routes":5361,"../../../hooks/useI18nContext":5427,"../../../selectors":5987,"../../../store/actions":5998,"../../component-library":4955,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.BasicConfigurationModal=function(){const e=(0,s.useI18nContext)(),[a,i]=(0,r.useState)(!1),h=(0,t.useDispatch)(),p=(0,t.useSelector)(d.getUseExternalServices),{pathname:g}=(0,n.useLocation)(),b=(0,r.useMemo)((()=>g===m.ONBOARDING_PRIVACY_SETTINGS_ROUTE),[g]);function y(){h((0,u.hideBasicFunctionalityModal)())}return r.default.createElement(c.Modal,{onClose:y,"data-testid":"dapp-permission-modal",isOpen:!0},r.default.createElement(c.ModalOverlay,null),r.default.createElement(c.ModalContent,{modalDialogProps:{display:o.Display.Flex,flexDirection:o.FlexDirection.Column}},r.default.createElement(c.ModalHeader,{paddingBottom:4,paddingRight:4,paddingLeft:4,onClose:y},r.default.createElement(c.Box,{display:o.Display.Flex,flexDirection:o.FlexDirection.Column,alignItems:o.AlignItems.center,justifyContent:o.JustifyContent.center,gap:4},r.default.createElement(c.Icon,{size:c.IconSize.Xl,name:c.IconName.Danger,color:o.IconColor.errorDefault}),r.default.createElement(c.Text,{variant:o.TextVariant.headingSm},e(p?"basicConfigurationModalHeadingOff":"basicConfigurationModalHeadingOn")))),r.default.createElement(c.Box,{marginLeft:4,marginRight:4,marginBottom:4,display:o.Display.Flex,gap:4,flexDirection:o.FlexDirection.Column},r.default.createElement(c.Text,{variant:o.TextVariant.bodySm},e(p?"basicConfigurationModalDisclaimerOff":"basicConfigurationModalDisclaimerOn")),p&&r.default.createElement(c.Box,{display:o.Display.Flex,alignItems:o.AlignItems.center,gap:2},r.default.createElement(c.Checkbox,{id:"basic-configuration-checkbox",isChecked:a,onClick:()=>i((e=>!e))}),r.default.createElement(c.Label,{htmlFor:"basic-configuration-checkbox",fontWeight:o.FontWeight.Normal,variant:o.TextVariant.bodySm},e("basicConfigurationModalCheckbox")))),r.default.createElement(c.ModalFooter,null,r.default.createElement(c.Box,{display:o.Display.Flex,gap:4},r.default.createElement(c.Button,{size:c.ButtonSize.Lg,width:o.BlockSize.Half,variant:c.ButtonVariant.Secondary,onClick:y},e("cancel")),r.default.createElement(c.Button,{size:c.ButtonSize.Lg,disabled:!a&&p,width:o.BlockSize.Half,variant:c.ButtonVariant.Primary,onClick:()=>{b?(h((0,u.hideBasicFunctionalityModal)()),h((0,u.onboardingToggleBasicFunctionalityOff)())):(y(),h((0,l.toggleExternalServices)(!p)))},danger:p},e(p?"turnOff":"turnOn"))))))};var r=function(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=h(a);if(i&&i.has(e))return i.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in e)if("default"!==t&&Object.prototype.hasOwnProperty.call(e,t)){var o=n?Object.getOwnPropertyDescriptor(e,t):null;o&&(o.get||o.set)?Object.defineProperty(r,t,o):r[t]=e[t]}return r.default=e,i&&i.set(e,r),r}(e("react")),n=e("react-router-dom"),t=e("react-redux"),o=e("../../../helpers/constants/design-system"),s=e("../../../hooks/useI18nContext"),l=e("../../../store/actions"),c=e("../../component-library"),d=e("../../../selectors"),u=e("../../../ducks/app/app"),m=e("../../../helpers/constants/routes");function h(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,i=new WeakMap;return(h=function(e){return e?i:a})(e)}}}},{package:"$root$",file:"ui/components/app/basic-configuration-modal/basic-configuration-modal.tsx"}],[4589,{"./basic-configuration-modal":4588},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"BasicConfigurationModal",{enumerable:!0,get:function(){return r.BasicConfigurationModal}});var r=e("./basic-configuration-modal")}}},{package:"$root$",file:"ui/components/app/basic-configuration-modal/index.ts"}],[4590,{"../../../../shared/modules/gas.utils":4543,"../../../ducks/metamask/metamask":5346,"../../../hooks/useI18nContext":5427,"../../../pages/confirmations/hooks/useIncrementedGasFees":5704,"../../../pages/confirmations/send/send.utils":5722,"../../../selectors":5987,"../../ui/button":5198,"@material-ui/core":915,"@metamask/transaction-controller":2234,classnames:3049,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=y;var r=e("@material-ui/core"),n=b(e("react")),t=b(e("prop-types")),o=e("react-redux"),s=b(e("classnames")),l=e("@metamask/transaction-controller"),c=b(e("../../ui/button")),d=e("../../../../shared/modules/gas.utils"),u=e("../../../ducks/metamask/metamask"),m=e("../../../hooks/useI18nContext"),h=e("../../../pages/confirmations/hooks/useIncrementedGasFees"),p=e("../../../pages/confirmations/send/send.utils"),g=e("../../../selectors");function b(e){return e&&e.__esModule?e:{default:e}}function y({cancelTransaction:e,transaction:a,detailsModal:i}){const t=(0,m.useI18nContext)(),{status:b}=a,y=(0,h.useIncrementedGasFees)(a),f=(0,o.useSelector)(g.getSelectedAccount),k=(0,o.useSelector)(u.getConversionRate),v=b!==l.TransactionStatus.approved&&!(0,p.isBalanceSufficient)({amount:"0x0",gasTotal:(0,d.getMaximumGasTotalInHexWei)(y),balance:f.balance,conversionRate:k}),w=n.default.createElement(c.default,{onClick:e,type:"secondary",className:(0,s.default)({"transaction-list-item__header-button":!i,"transaction-list-item-details__header-button-rounded-button":i}),disabled:v,"data-testid":"cancel-button"},t("cancel"));return v?n.default.createElement(r.Tooltip,{title:t("notEnoughGas"),"data-testid":"not-enough-gas__tooltip",position:"bottom"},n.default.createElement("div",null,w)):w}y.propTypes={transaction:t.default.object,cancelTransaction:t.default.func,detailsModal:t.default.bool}}}},{package:"$root$",file:"ui/components/app/cancel-button/cancel-button.js"}],[4591,{"./cancel-button":4590},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return n.default}});var r,n=(r=e("./cancel-button"))&&r.__esModule?r:{default:r}}}},{package:"$root$",file:"ui/components/app/cancel-button/index.js"}],[4592,{"../../../../shared/constants/gas":4500,"../../../contexts/gasFee":5323,"../../../contexts/transaction-modal":5331,"../../../helpers/constants/design-system":5355,"../../../helpers/utils/gas":5384,"../../../hooks/useI18nContext":5427,"../../../pages/confirmations/components/gas-details-item":5573,"../../../selectors":5987,"../../component-library":4955,"../../component-library/modal-content/deprecated":4963,"../../component-library/modal-header/deprecated":4972,"../../ui/box":5194,"../../ui/info-tooltip":5248,"../app-loading-spinner":4584,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var r=e("react-redux"),n=function(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=v(a);if(i&&i.has(e))return i.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in e)if("default"!==t&&Object.prototype.hasOwnProperty.call(e,t)){var o=n?Object.getOwnPropertyDescriptor(e,t):null;o&&(o.get||o.set)?Object.defineProperty(r,t,o):r[t]=e[t]}return r.default=e,i&&i.set(e,r),r}(e("react")),t=e("../../../../shared/constants/gas"),o=e("../../../helpers/constants/design-system"),s=e("../../../selectors"),l=e("../../../helpers/utils/gas"),c=e("../../../contexts/gasFee"),d=e("../../../hooks/useI18nContext"),u=e("../../../contexts/transaction-modal"),m=k(e("../../../pages/confirmations/components/gas-details-item")),h=k(e("../../ui/box")),p=k(e("../../ui/info-tooltip")),g=k(e("../app-loading-spinner")),b=e("../../component-library"),y=e("../../component-library/modal-content/deprecated"),f=e("../../component-library/modal-header/deprecated");function k(e){return e&&e.__esModule?e:{default:e}}function v(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,i=new WeakMap;return(v=function(e){return e?i:a})(e)}i.default=()=>{const{cancelTransaction:e,editGasMode:a,gasFeeEstimates:i,speedUpTransaction:k,transaction:v,updateTransaction:w,updateTransactionToTenPercentIncreasedGasFee:j,updateTransactionUsingEstimate:z}=(0,c.useGasFeeContext)(),x=(0,d.useI18nContext)(),{closeModal:q,currentModal:_}=(0,u.useTransactionModalContext)(),M=(0,r.useSelector)(s.getAppIsLoading);if((0,n.useEffect)((()=>{if(v.previousGas||M||"cancelSpeedUpTransaction"!==_)return;i&&(0,l.gasEstimateGreaterThanGasUsedPlusTenPercent)(v.txParams,i,t.PriorityLevels.medium)?z(t.PriorityLevels.medium):j(!0)}),[M,_,a,i,v,w,j,z]),"cancelSpeedUpTransaction"!==_)return null;return n.default.createElement(b.Modal,{isOpen:!0,onClose:()=>q(["cancelSpeedUpTransaction"]),className:"cancel-speedup-popover"},n.default.createElement(b.ModalOverlay,null),n.default.createElement(y.ModalContent,null,n.default.createElement(f.ModalHeader,{onClose:()=>q(["cancelSpeedUpTransaction"]),marginBottom:4},a===t.EditGasModes.cancel?`❌${x("cancel")}`:`🚀${x("speedUp")}`),n.default.createElement(g.default,{className:"cancel-speedup-popover__spinner"}),n.default.createElement("div",{className:"cancel-speedup-popover__wrapper"},n.default.createElement(b.Text,{alignItems:o.AlignItems.center,display:o.Display.Flex,variant:o.TextVariant.bodySm,marginBottom:2,paddingBottom:2,className:"cancel-speedup-popover__description"},x("cancelSpeedUpLabel",[n.default.createElement("strong",{key:"cancelSpeedupReplace"},x("replace"))]),n.default.createElement(p.default,{position:"top",contentText:n.default.createElement(n.default.Fragment,null,n.default.createElement(b.Text,{variant:o.TextVariant.bodySm},x("cancelSpeedUpTransactionTooltip",[a===t.EditGasModes.cancel?x("cancel"):x("speedUp")])),n.default.createElement(b.ButtonLink,{variant:o.TextVariant.bodySm,href:"https://community.metamask.io/t/how-to-speed-up-or-cancel-transactions-on-metamask/3296",target:"_blank"},x("learnMoreUpperCase")))})),n.default.createElement(h.default,{display:o.Display.Flex,alignItems:o.AlignItems.center,flexDirection:o.FlexDirection.Column,marginTop:2},n.default.createElement("div",{className:"cancel-speedup-popover__gas-details"},n.default.createElement(m.default,null))),n.default.createElement(b.Button,{onClick:()=>{a===t.EditGasModes.cancel?e():k(),q(["cancelSpeedUpTransaction"])}},x("submit")))))}}}},{package:"$root$",file:"ui/components/app/cancel-speedup-popover/cancel-speedup-popover.js"}],[4593,{"./cancel-speedup-popover":4592},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return n.default}});var r,n=(r=e("./cancel-speedup-popover"))&&r.__esModule?r:{default:r}}}},{package:"$root$",file:"ui/components/app/cancel-speedup-popover/index.js"}],[4594,{"../../../../../helpers/constants/design-system":5355,"../../../../../selectors":5987,"../../../../component-library":4955,"../../../modals/nickname-popovers":4692,"../../../name/name":4711,"./hook":4598,"@metamask/name-controller":1529,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.ConfirmInfoRowAddress=void 0;var r=e("@metamask/name-controller"),n=function(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=h(a);if(i&&i.has(e))return i.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in e)if("default"!==t&&Object.prototype.hasOwnProperty.call(e,t)){var o=n?Object.getOwnPropertyDescriptor(e,t):null;o&&(o.get||o.set)?Object.defineProperty(r,t,o):r[t]=e[t]}return r.default=e,i&&i.set(e,r),r}(e("react")),t=e("react-redux"),o=e("../../../../../helpers/constants/design-system"),s=e("../../../../../selectors"),l=e("../../../../component-library"),c=m(e("../../../modals/nickname-popovers")),d=m(e("../../../name/name")),u=e("./hook");function m(e){return e&&e.__esModule?e:{default:e}}function h(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,i=new WeakMap;return(h=function(e){return e?i:a})(e)}i.ConfirmInfoRowAddress=({address:e,isSnapUsingThis:a})=>{const i=(0,t.useSelector)(s.getPetnamesEnabled),{displayName:m,hexAddress:h}=(0,u.useFallbackDisplayName)(e),[p,g]=(0,n.useState)(!1);return n.default.createElement(l.Box,{display:o.Display.Flex,flexDirection:o.FlexDirection.Row,alignItems:o.AlignItems.center},i&&!a?n.default.createElement(d.default,{value:h,type:r.NameType.ETHEREUM_ADDRESS}):n.default.createElement(n.default.Fragment,null,n.default.createElement(l.Box,{display:o.Display.Flex,flexDirection:o.FlexDirection.Row,alignItems:o.AlignItems.center,onClick:()=>g(!0)},n.default.createElement(l.AvatarAccount,{address:e,size:l.AvatarAccountSize.Xs,borderColor:o.BorderColor.transparent}),n.default.createElement(l.Text,{marginLeft:2,color:o.TextColor.inherit,"data-testid":"confirm-info-row-display-name"},m)),p?n.default.createElement(c.default,{onClose:()=>g(!1),address:h}):null))}}}},{package:"$root$",file:"ui/components/app/confirm/info/row/address.tsx"}],[4595,{"../../../../../../helpers/constants/design-system":5355,"../../../../../../hooks/useAlerts":5415,"../../../../../component-library":4955,"../../../../alert-system/inline-alert/inline-alert":4575,"../../../../alert-system/multiple-alert-modal":4576,"../row":4600,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.AlertRow=void 0;var r=function(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=u(a);if(i&&i.has(e))return i.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in e)if("default"!==t&&Object.prototype.hasOwnProperty.call(e,t)){var o=n?Object.getOwnPropertyDescriptor(e,t):null;o&&(o.get||o.set)?Object.defineProperty(r,t,o):r[t]=e[t]}return r.default=e,i&&i.set(e,r),r}(e("react")),n=e("../../../../../../helpers/constants/design-system"),t=d(e("../../../../alert-system/inline-alert/inline-alert")),o=d(e("../../../../../../hooks/useAlerts")),s=e("../row"),l=e("../../../../../component-library"),c=e("../../../../alert-system/multiple-alert-modal");function d(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,i=new WeakMap;return(u=function(e){return e?i:a})(e)}function m(){return m=Object.assign?Object.assign.bind():function(e){for(var a=1;a{var d;const{getFieldAlerts:u}=(0,o.default)(a),p=u(e),g=p.length>0,b=null===(d=p[0])||void 0===d?void 0:d.severity,[y,f]=(0,r.useState)(!1),k=()=>{f(!1)},v={...n,style:{background:"transparent",...n.style},color:h(i??b),variant:i},w=g?r.default.createElement(l.Box,{marginLeft:1},r.default.createElement(t.default,{onClick:()=>{f(!0)},severity:b})):null;return r.default.createElement(r.default.Fragment,null,y&&r.default.createElement(c.MultipleAlertModal,{alertKey:e,ownerId:a,onFinalAcknowledgeClick:k,onClose:k}),r.default.createElement(s.ConfirmInfoRow,m({},v,{labelChildren:w})))}}}},{package:"$root$",file:"ui/components/app/confirm/info/row/alert-row/alert-row.tsx"}],[4596,{"../../../../../helpers/constants/common":5353,"../../../../../helpers/constants/design-system":5355,"../../../../component-library":4955,"../../../../ui/currency-display/currency-display.component":5208,"../../../user-preferenced-currency-display/user-preferenced-currency-display.component":4881,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.ConfirmInfoRowCurrency=void 0;var r=c(e("react")),n=e("../../../../../helpers/constants/common"),t=e("../../../../../helpers/constants/design-system"),o=e("../../../../component-library"),s=c(e("../../../user-preferenced-currency-display/user-preferenced-currency-display.component")),l=c(e("../../../../ui/currency-display/currency-display.component"));function c(e){return e&&e.__esModule?e:{default:e}}i.ConfirmInfoRowCurrency=({value:e,currency:a,dataTestId:i})=>r.default.createElement(o.Box,{display:t.Display.Flex,alignItems:t.AlignItems.center,flexWrap:t.FlexWrap.Wrap,style:{columnGap:"8px",fontSize:"var(--font-size-3)"},"data-testid":i},a?r.default.createElement(l.default,{currency:a,value:`${e}`}):r.default.createElement(s.default,{type:n.PRIMARY,value:`${e}`}))}}},{package:"$root$",file:"ui/components/app/confirm/info/row/currency.tsx"}],[4597,{react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.ConfirmInfoRowDivider=void 0;var r,n=(r=e("react"))&&r.__esModule?r:{default:r};i.ConfirmInfoRowDivider=()=>n.default.createElement("div",{style:{height:"1px",backgroundColor:"var(--color-border-muted)"}})}}},{package:"$root$",file:"ui/components/app/confirm/info/row/divider.tsx"}],[4598,{"../../../../../../shared/modules/hexstring-utils":4544,"../../../../../helpers/utils/util":5399,"../../../../../selectors":5987,"./row":4600,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.useRowContext=i.useFallbackDisplayName=void 0;var r=e("react"),n=e("react-redux"),t=e("../../../../../../shared/modules/hexstring-utils"),o=e("../../../../../helpers/utils/util"),s=e("../../../../../selectors"),l=e("./row");i.useRowContext=()=>(0,r.useContext)(l.ConfirmInfoRowContext);i.useFallbackDisplayName=function(e){const a=(0,t.toChecksumHexAddress)(e),i=(0,n.useSelector)(s.getInternalAccounts),r=(0,s.getAccountName)(i,a),l=(0,n.useSelector)((e=>(0,s.getAddressBookEntry)(e,a))),c=null==l?void 0:l.name,d=(0,n.useSelector)((e=>(0,s.getMetadataContractName)(e,a))),u=(0,n.useSelector)((a=>(0,s.getEnsResolutionByAddress)(a,e)));return{displayName:r||c||d||u||(0,o.shortenAddress)(a),hexAddress:a}}}}},{package:"$root$",file:"ui/components/app/confirm/info/row/hook.ts"}],[4599,{"./address":4594,"./divider":4597,"./row":4600,"./text":4601,"./url":4602,"./value-double":4603},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0});var r=e("./address");Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in i&&i[e]===r[e]||Object.defineProperty(i,e,{enumerable:!0,get:function(){return r[e]}}))}));var n=e("./divider");Object.keys(n).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in i&&i[e]===n[e]||Object.defineProperty(i,e,{enumerable:!0,get:function(){return n[e]}}))}));var t=e("./row");Object.keys(t).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in i&&i[e]===t[e]||Object.defineProperty(i,e,{enumerable:!0,get:function(){return t[e]}}))}));var o=e("./text");Object.keys(o).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in i&&i[e]===o[e]||Object.defineProperty(i,e,{enumerable:!0,get:function(){return o[e]}}))}));var s=e("./url");Object.keys(s).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in i&&i[e]===s[e]||Object.defineProperty(i,e,{enumerable:!0,get:function(){return s[e]}}))}));var l=e("./value-double");Object.keys(l).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in i&&i[e]===l[e]||Object.defineProperty(i,e,{enumerable:!0,get:function(){return l[e]}}))}))}}},{package:"$root$",file:"ui/components/app/confirm/info/row/index.ts"}],[4600,{"../../../../../helpers/constants/design-system":5355,"../../../../component-library":4955,"../../../../ui/tooltip/tooltip":5311,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.ConfirmInfoRowVariant=i.ConfirmInfoRowContext=i.ConfirmInfoRow=void 0;var r,n=function(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=l(a);if(i&&i.has(e))return i.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in e)if("default"!==t&&Object.prototype.hasOwnProperty.call(e,t)){var o=n?Object.getOwnPropertyDescriptor(e,t):null;o&&(o.get||o.set)?Object.defineProperty(r,t,o):r[t]=e[t]}return r.default=e,i&&i.set(e,r),r}(e("react")),t=(r=e("../../../../ui/tooltip/tooltip"))&&r.__esModule?r:{default:r},o=e("../../../../component-library"),s=e("../../../../../helpers/constants/design-system");function l(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,i=new WeakMap;return(l=function(e){return e?i:a})(e)}let c=i.ConfirmInfoRowVariant=function(e){return e.Default="default",e.Critical="critical",e.Warning="warning",e}({});const d={[c.Default]:undefined,[c.Critical]:s.BackgroundColor.errorMuted,[c.Warning]:s.BackgroundColor.warningMuted},u={[c.Default]:s.TextColor.textDefault,[c.Critical]:s.Color.errorAlternative,[c.Warning]:s.Color.warningAlternative},m={[c.Default]:o.IconName.Question,[c.Critical]:o.IconName.Warning,[c.Warning]:o.IconName.Warning},h={[c.Default]:s.Color.iconMuted,[c.Critical]:s.Color.errorAlternative,[c.Warning]:s.Color.warningAlternative},p=i.ConfirmInfoRowContext=(0,n.createContext)({variant:c.Default});i.ConfirmInfoRow=({label:e,children:a,variant:i=c.Default,tooltip:r,style:l,labelChildren:g,color:b})=>n.default.createElement(p.Provider,{value:{variant:i}},n.default.createElement(o.Box,{className:"confirm-info-row",display:s.Display.Flex,flexDirection:s.FlexDirection.Row,justifyContent:s.JustifyContent.spaceBetween,flexWrap:s.FlexWrap.Wrap,backgroundColor:d[i],borderRadius:s.BorderRadius.LG,marginTop:2,marginBottom:2,paddingLeft:2,paddingRight:2,color:u[i],style:{overflowWrap:s.OverflowWrap.Anywhere,minHeight:"24px",...l}},n.default.createElement(o.Box,{display:s.Display.Flex,flexDirection:s.FlexDirection.Row,justifyContent:s.JustifyContent.center,alignItems:s.AlignItems.center,color:b},n.default.createElement(o.Text,{variant:s.TextVariant.bodyMdMedium,color:s.TextColor.inherit},e),g,r&&r.length>0&&n.default.createElement(t.default,{position:"bottom",title:r,style:{display:"flex"}},n.default.createElement(o.Icon,{name:m[i],marginLeft:1,color:h[i],size:o.IconSize.Sm}))),"string"==typeof a?n.default.createElement(o.Text,{color:s.TextColor.inherit},a):a))}}},{package:"$root$",file:"ui/components/app/confirm/info/row/row.tsx"}],[4601,{"../../../../../helpers/constants/design-system":5355,"../../../../component-library":4955,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.ConfirmInfoRowText=void 0;var r,n=(r=e("react"))&&r.__esModule?r:{default:r},t=e("../../../../component-library"),o=e("../../../../../helpers/constants/design-system");i.ConfirmInfoRowText=({text:e})=>n.default.createElement(t.Box,{display:o.Display.Flex,alignItems:o.AlignItems.center,flexWrap:o.FlexWrap.Wrap,gap:2},n.default.createElement(t.Text,{color:o.TextColor.inherit,style:{whiteSpace:"pre-wrap"}},e))}}},{package:"$root$",file:"ui/components/app/confirm/info/row/text.tsx"}],[4602,{"../../../../../helpers/constants/design-system":5355,"../../../../component-library":4955,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.ConfirmInfoRowUrl=void 0;var r,n=(r=e("react"))&&r.__esModule?r:{default:r},t=e("../../../../component-library"),o=e("../../../../../helpers/constants/design-system");i.ConfirmInfoRowUrl=({url:e})=>{var a;let i;try{i=new URL(e)}catch(a){console.log(`ConfirmInfoRowUrl: new URL(url) cannot parse ${e}`)}const r="http:"===(null===(a=i)||void 0===a?void 0:a.protocol),s=null==e?void 0:e.replace(/https?:\/\//u,"");return n.default.createElement(t.Box,{display:o.Display.Flex,alignItems:o.AlignItems.center,flexWrap:o.FlexWrap.Wrap,gap:2},r&&n.default.createElement(t.Text,{variant:o.TextVariant.bodySm,display:o.Display.Flex,alignItems:o.AlignItems.center,borderRadius:o.BorderRadius.SM,backgroundColor:o.BackgroundColor.warningMuted,paddingLeft:1,paddingRight:1,color:o.TextColor.warningDefault},n.default.createElement(t.Icon,{name:t.IconName.Danger,color:o.IconColor.warningDefault,size:t.IconSize.Sm,marginInlineEnd:1}),"HTTP"),n.default.createElement(t.Text,{color:o.TextColor.inherit},s))}}}},{package:"$root$",file:"ui/components/app/confirm/info/row/url.tsx"}],[4603,{"../../../../../helpers/constants/design-system":5355,"../../../../component-library":4955,"./hook":4598,"./row":4600,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.ConfirmInfoRowValueDouble=void 0;var r,n=(r=e("react"))&&r.__esModule?r:{default:r},t=e("../../../../component-library"),o=e("../../../../../helpers/constants/design-system"),s=e("./hook"),l=e("./row");const c={[l.ConfirmInfoRowVariant.Default]:o.TextColor.textMuted,[l.ConfirmInfoRowVariant.Critical]:o.Color.errorAlternative,[l.ConfirmInfoRowVariant.Warning]:o.Color.warningAlternative};i.ConfirmInfoRowValueDouble=({left:e,right:a})=>{const{variant:i}=(0,s.useRowContext)();return n.default.createElement(t.Box,{display:o.Display.Flex,flexDirection:o.FlexDirection.Row,alignItems:o.AlignItems.center,flexWrap:o.FlexWrap.Wrap,gap:2},n.default.createElement(t.Text,{color:c[i]},e),n.default.createElement(t.Text,{color:o.TextColor.inherit},a))}}}},{package:"$root$",file:"ui/components/app/confirm/info/row/value-double.tsx"}],[4604,{"../../../../helpers/constants/design-system":5355,"../../../../helpers/utils/util":5399,"../../../../selectors":5987,"../../../component-library":4955,classnames:3049,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=m;var r=u(e("react")),n=u(e("classnames")),t=u(e("prop-types")),o=e("react-redux"),s=e("../../../../helpers/utils/util"),l=e("../../../component-library"),c=e("../../../../selectors"),d=e("../../../../helpers/constants/design-system");function u(e){return e&&e.__esModule?e:{default:e}}function m({address:e,className:a=null,name:i,status:t,action:u=null,options:m=null,backgroundColor:h}){const p=(0,o.useSelector)(c.getUseBlockie),g=h??d.BackgroundColor.backgroundDefault;return r.default.createElement(l.Box,{className:(0,n.default)("connected-accounts-list__row",a),padding:4,backgroundColor:g,display:d.Display.Flex,flexDirection:d.FlexDirection.Row,justifyContent:d.JustifyContent.spaceBetween,alignItems:d.AlignItems.center},r.default.createElement(l.Box,{className:"connected-accounts-list__row-content",gap:4},r.default.createElement(l.AvatarAccount,{variant:p?l.AvatarAccountVariant.Blockies:l.AvatarAccountVariant.Jazzicon,address:e,size:l.AvatarAccountSize.Md}),r.default.createElement(l.Box,{display:d.Display.Flex,flexDirection:d.FlexDirection.Column},r.default.createElement(l.Box,null,r.default.createElement(l.Text,{variant:d.TextVariant.bodyLgMedium,className:"connected-accounts-list__account-name"},i),r.default.createElement(l.Text,{variant:d.TextVariant.bodyMd},(0,s.shortenAddress)(e)),t?r.default.createElement(l.Text,{variant:d.TextVariant.bodyMd,className:"connected-accounts-list__account-status",color:d.TextColor.successDefault},t):null),r.default.createElement(l.Box,{display:d.Display.Flex,flexDirection:d.FlexDirection.Column},u))),m)}m.propTypes={address:t.default.string.isRequired,className:t.default.string,name:t.default.node.isRequired,status:t.default.string,action:t.default.node,options:t.default.node,backgroundColor:t.default.string}}}},{package:"$root$",file:"ui/components/app/connected-accounts-list/connected-accounts-list-item/connected-accounts-list-item.component.js"}],[4605,{"./connected-accounts-list-item.component":4604},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return n.default}});var r,n=(r=e("./connected-accounts-list-item.component"))&&r.__esModule?r:{default:r}}}},{package:"$root$",file:"ui/components/app/connected-accounts-list/connected-accounts-list-item/index.js"}],[4606,{"../../../../hooks/useI18nContext":5427,"../../../component-library":4955,"../../../ui/menu":5264,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var r,n=(r=e("prop-types"))&&r.__esModule?r:{default:r},t=function(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=c(a);if(i&&i.has(e))return i.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in e)if("default"!==t&&Object.prototype.hasOwnProperty.call(e,t)){var o=n?Object.getOwnPropertyDescriptor(e,t):null;o&&(o.get||o.set)?Object.defineProperty(r,t,o):r[t]=e[t]}return r.default=e,i&&i.set(e,r),r}(e("react")),o=e("../../../ui/menu"),s=e("../../../component-library"),l=e("../../../../hooks/useI18nContext");function c(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,i=new WeakMap;return(c=function(e){return e?i:a})(e)}const d=({children:e,onShowOptions:a,onHideOptions:i,show:r})=>{const n=(0,t.useRef)(!1),c=(0,l.useI18nContext)();return t.default.createElement("div",{ref:n},t.default.createElement(s.ButtonIcon,{iconName:s.IconName.MoreVertical,className:"connected-accounts-options__button",onClick:a,ariaLabel:c("options")}),r?t.default.createElement(o.Menu,{anchorElement:n.current,onHide:i,popperOptions:{modifiers:[{name:"preventOverflow",options:{altBoundary:!0}}]}},e):null)};d.propTypes={children:n.default.node.isRequired,onHideOptions:n.default.func.isRequired,onShowOptions:n.default.func.isRequired,show:n.default.bool.isRequired};i.default=d}}},{package:"$root$",file:"ui/components/app/connected-accounts-list/connected-accounts-list-options/connected-accounts-list-options.component.js"}],[4607,{"./connected-accounts-list-options.component":4606},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return n.default}});var r,n=(r=e("./connected-accounts-list-options.component"))&&r.__esModule?r:{default:r}}}},{package:"$root$",file:"ui/components/app/connected-accounts-list/connected-accounts-list-options/index.js"}],[4608,{"../../../helpers/constants/design-system":5355,"../../component-library":4955,"../../ui/menu":5264,"./connected-accounts-list-item":4605,"./connected-accounts-list-options":4607,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var r=u(e("prop-types")),n=function(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=d(a);if(i&&i.has(e))return i.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in e)if("default"!==t&&Object.prototype.hasOwnProperty.call(e,t)){var o=n?Object.getOwnPropertyDescriptor(e,t):null;o&&(o.get||o.set)?Object.defineProperty(r,t,o):r[t]=e[t]}return r.default=e,i&&i.set(e,r),r}(e("react")),t=e("../../../helpers/constants/design-system"),o=e("../../component-library"),s=e("../../ui/menu"),l=u(e("./connected-accounts-list-item")),c=u(e("./connected-accounts-list-options"));function d(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,i=new WeakMap;return(d=function(e){return e?i:a})(e)}function u(e){return e&&e.__esModule?e:{default:e}}function m(e,a,i){return(a=function(e){var a=function(e,a){if("object"!=typeof e||null===e)return e;var i=e[Symbol.toPrimitive];if(i!==undefined){var r=i.call(e,a||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===a?String:Number)(e)}(e,"string");return"symbol"==typeof a?a:String(a)}(a))in e?Object.defineProperty(e,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[a]=i,e}class h extends n.PureComponent{constructor(...e){super(...e),m(this,"state",{accountWithOptionsShown:null}),m(this,"disconnectAccount",(()=>{this.hideAccountOptions(),this.props.removePermittedAccount(this.state.accountWithOptionsShown)})),m(this,"switchAccount",(e=>{this.hideAccountOptions(),this.props.setSelectedAddress(e)})),m(this,"hideAccountOptions",(()=>{this.setState({accountWithOptionsShown:null})})),m(this,"showAccountOptions",(e=>{this.setState({accountWithOptionsShown:e})}))}renderUnconnectedAccount(){const{accountToConnect:e,connectAccount:a}=this.props,{t:i}=this.context;if(!e)return null;const{address:r,metadata:{name:s}}=e;return n.default.createElement(l.default,{className:"connected-accounts-list__row--highlight",backgroundColor:t.BackgroundColor.warningMuted,address:r,name:s,status:i("statusNotConnected"),action:n.default.createElement(o.Text,{variant:t.TextVariant.bodyMd},n.default.createElement(o.ButtonLink,{className:"connected-accounts-list__account-status-link",onClick:()=>a(r),size:o.ButtonLinkSize.Inherit},i("connect")))})}renderListItemOptions(e){const{accountWithOptionsShown:a}=this.state,{t:i}=this.context;return n.default.createElement(c.default,{onHideOptions:this.hideAccountOptions,onShowOptions:this.showAccountOptions.bind(null,e),show:a===e},n.default.createElement(s.MenuItem,{iconName:o.IconName.Logout,onClick:this.disconnectAccount},i("disconnectThisAccount")))}renderListItemAction(e){const{t:a}=this.context;return n.default.createElement(o.Text,{variant:t.TextVariant.bodyMd},n.default.createElement(o.ButtonLink,{className:"connected-accounts-list__account-status-link",onClick:()=>this.switchAccount(e),size:o.ButtonLinkSize.Inherit},a("switchToThisAccount")))}render(){const{connectedAccounts:e,selectedAddress:a,shouldRenderListOptions:i}=this.props,{t:r}=this.context;return n.default.createElement(n.default.Fragment,null,n.default.createElement("main",{className:"connected-accounts-list"},this.renderUnconnectedAccount(),e.map((({address:e,name:t},o)=>n.default.createElement(l.default,{key:e,address:e,name:t,status:0===o?r("active"):null,options:i?this.renderListItemOptions(e):null,action:e===a?null:this.renderListItemAction(e)})))))}}i.default=h,m(h,"contextTypes",{t:r.default.func.isRequired}),m(h,"defaultProps",{accountToConnect:null}),m(h,"propTypes",{accountToConnect:r.default.shape({id:r.default.string.isRequired,address:r.default.string.isRequired,metadata:r.default.shape({name:r.default.string.isRequired,keyring:r.default.shape({type:r.default.string.isRequired}).isRequired}).isRequired,options:r.default.object.isRequired,methods:r.default.arrayOf(r.default.string).isRequired,type:r.default.string.isRequired}),connectedAccounts:r.default.arrayOf(r.default.shape({address:r.default.string.isRequired,name:r.default.string.isRequired,lastActive:r.default.number})).isRequired,connectAccount:r.default.func.isRequired,selectedAddress:r.default.string.isRequired,removePermittedAccount:r.default.func,setSelectedAddress:r.default.func.isRequired,shouldRenderListOptions:(e,a,i)=>"boolean"!=typeof e[a]?new Error(`Warning: Failed prop type: '${a}' of component '${i}' must be a boolean. Received: ${typeof e[a]}`):e[a]&&!e.removePermittedAccount?new Error(`Warning: Failed prop type: '${a}' of component '${i}' requires prop 'removePermittedAccount'.`):undefined})}}},{package:"$root$",file:"ui/components/app/connected-accounts-list/connected-accounts-list.component.js"}],[4609,{"./connected-accounts-list.component":4608},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return n.default}});var r,n=(r=e("./connected-accounts-list.component"))&&r.__esModule?r:{default:r}}}},{package:"$root$",file:"ui/components/app/connected-accounts-list/index.js"}],[4610,{"../../../helpers/constants/design-system":5355,"../../../helpers/utils/permission":5393,"../../../helpers/utils/util":5399,"../../../hooks/useI18nContext":5427,"../../../selectors":5987,"../../component-library":4955,classnames:3049,lodash:3836,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var r=g(e("classnames")),n=g(e("prop-types")),t=function(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=p(a);if(i&&i.has(e))return i.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in e)if("default"!==t&&Object.prototype.hasOwnProperty.call(e,t)){var o=n?Object.getOwnPropertyDescriptor(e,t):null;o&&(o.get||o.set)?Object.defineProperty(r,t,o):r[t]=e[t]}return r.default=e,i&&i.set(e,r),r}(e("react")),o=e("lodash"),s=e("react-redux"),l=e("../../component-library"),c=e("../../../hooks/useI18nContext"),d=e("../../../helpers/utils/permission"),u=e("../../../helpers/constants/design-system"),m=e("../../../helpers/utils/util"),h=e("../../../selectors");function p(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,i=new WeakMap;return(p=function(e){return e?i:a})(e)}function g(e){return e&&e.__esModule?e:{default:e}}const b=({permissions:e})=>{const a=(0,c.useI18nContext)(),[i,n]=(0,t.useState)(!1),p=(0,s.useSelector)(h.getSnapsMetadata),g=()=>{n((e=>!e))};if(!e.length)return null;const b=(0,o.flatten)(e.map((({key:e,value:i})=>(0,d.getPermissionDescription)({t:a,permissionName:e,permissionValue:i,getSubjectName:(0,m.getSnapName)(p)}))));return t.default.createElement(l.Box,{className:"connected-accounts-permissions",width:u.BlockSize.Full},t.default.createElement(l.Box,{display:u.Display.Flex,flexDirection:u.FlexDirection.Row,as:"button",onClick:g,width:u.BlockSize.Full,justifyContent:u.JustifyContent.spaceBetween,className:"connected-accounts-permissions__header",padding:0,backgroundColor:u.BackgroundColor.backgroundDefault},t.default.createElement(l.Text,{onClick:g,as:"h6",variant:u.TextVariant.bodyMdMedium},a("permissions")),t.default.createElement(l.ButtonIcon,{size:l.ButtonIconSize.Sm,iconName:i?l.IconName.ArrowUp:l.IconName.ArrowDown,ariaLabel:a("showPermissions")})),i?t.default.createElement(l.Box,{className:(0,r.default)("connected-accounts-permissions__list-container-expanded"),marginTop:4},t.default.createElement(l.Text,{as:"h6",variant:u.TextVariant.bodySm},a("authorizedPermissions"),":"),t.default.createElement("ul",{className:"connected-accounts-permissions__list"},b.map((({label:e},a)=>t.default.createElement("li",{key:`connected-permission-${a}`,className:"connected-accounts-permissions__list-item"},t.default.createElement(l.Checkbox,{isChecked:!0,isDisabled:!0,id:`connected-permission-${a}`,label:e})))))):null)};b.propTypes={permissions:n.default.arrayOf(n.default.shape({key:n.default.string.isRequired}))},b.defaultProps={permissions:[]},b.displayName="ConnectedAccountsPermissions";i.default=t.default.memo(b)}}},{package:"$root$",file:"ui/components/app/connected-accounts-permissions/connected-accounts-permissions.js"}],[4611,{"./connected-accounts-permissions":4610},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return n.default}});var r,n=(r=e("./connected-accounts-permissions"))&&r.__esModule?r:{default:r}}}},{package:"$root$",file:"ui/components/app/connected-accounts-permissions/index.js"}],[4612,{"../../../helpers/constants/design-system":5355,"../../../helpers/utils/util":5399,"../../component-library":4955,"../../ui/button":5198,"../../ui/site-origin":5292,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var r=function(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=u(a);if(i&&i.has(e))return i.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in e)if("default"!==t&&Object.prototype.hasOwnProperty.call(e,t)){var o=n?Object.getOwnPropertyDescriptor(e,t):null;o&&(o.get||o.set)?Object.defineProperty(r,t,o):r[t]=e[t]}return r.default=e,i&&i.set(e,r),r}(e("react")),n=d(e("prop-types")),t=d(e("../../ui/button")),o=e("../../component-library"),s=e("../../../helpers/utils/util"),l=d(e("../../ui/site-origin")),c=e("../../../helpers/constants/design-system");function d(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,i=new WeakMap;return(u=function(e){return e?i:a})(e)}function m(e,a,i){return(a=function(e){var a=function(e,a){if("object"!=typeof e||null===e)return e;var i=e[Symbol.toPrimitive];if(i!==undefined){var r=i.call(e,a||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===a?String:Number)(e)}(e,"string");return"symbol"==typeof a?a:String(a)}(a))in e?Object.defineProperty(e,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[a]=i,e}class h extends r.Component{render(){const{connectedSubjects:e,onDisconnect:a}=this.props,{t:i}=this.context;return r.default.createElement("main",{className:"connected-sites-list__content-rows"},e.map((e=>r.default.createElement("div",{key:e.origin,className:"connected-sites-list__content-row"},r.default.createElement("div",{className:"connected-sites-list__subject-info"},r.default.createElement(o.AvatarFavicon,{className:"connected-sites-list__subject-icon",name:e.name,size:c.Size.MD,src:e.iconUrl}),r.default.createElement(l.default,{className:"connected-sites-list__subject-name",title:e.extensionId||e.origin,siteOrigin:this.getSubjectDisplayName(e)})),r.default.createElement(t.default,{className:"connected-sites-list__content-row-link-button",onClick:()=>a(e.origin),type:"link"},i("disconnect"))))))}getSubjectDisplayName(e){return e.extensionId?this.context.t("externalExtension"):(0,s.stripHttpsSchemeWithoutPort)(e.origin)}}i.default=h,m(h,"contextTypes",{t:n.default.func}),m(h,"propTypes",{connectedSubjects:n.default.arrayOf(n.default.shape({name:n.default.string,iconUrl:n.default.string,origin:n.default.string})).isRequired,onDisconnect:n.default.func.isRequired})}}},{package:"$root$",file:"ui/components/app/connected-sites-list/connected-sites-list.component.js"}],[4613,{"../../../helpers/constants/design-system":5355,"../../../helpers/utils/util":5399,"../../../hooks/useI18nContext":5427,"../../../selectors":5987,"../../../store/actions":5998,"../../component-library":4955,"../../ui/menu":5264,"../connected-accounts-list/connected-accounts-list-options":4607,"../snaps/snap-avatar":4772,"prop-types":3997,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=f;var r=function(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=y(a);if(i&&i.has(e))return i.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in e)if("default"!==t&&Object.prototype.hasOwnProperty.call(e,t)){var o=n?Object.getOwnPropertyDescriptor(e,t):null;o&&(o.get||o.set)?Object.defineProperty(r,t,o):r[t]=e[t]}return r.default=e,i&&i.set(e,r),r}(e("react")),n=b(e("prop-types")),t=e("react-router-dom"),o=e("react-redux"),s=e("../../component-library"),l=e("../../../hooks/useI18nContext"),c=e("../../ui/menu"),d=b(e("../snaps/snap-avatar")),u=e("../../../helpers/constants/design-system"),m=b(e("../connected-accounts-list/connected-accounts-list-options")),h=e("../../../selectors"),p=e("../../../store/actions"),g=e("../../../helpers/utils/util");function b(e){return e&&e.__esModule?e:{default:e}}function y(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,i=new WeakMap;return(y=function(e){return e?i:a})(e)}function f({connectedSubjects:e}){const[a,i]=(0,r.useState)(),n=(0,l.useI18nContext)(),b=(0,t.useHistory)(),y=(0,o.useDispatch)(),f=(0,o.useSelector)(h.getOriginOfCurrentTab),k=e=>r.default.createElement(m.default,{onHideOptions:()=>i(),onShowOptions:()=>i(e),show:a===e},r.default.createElement(c.MenuItem,{iconName:s.IconName.Logout,onClick:a=>{a.preventDefault(),(e=>{y((0,p.disconnectOriginFromSnap)(f,e))})(e)}},n("disconnect")),r.default.createElement(c.MenuItem,{iconName:s.IconName.Setting,onClick:()=>b.push((0,g.getSnapRoute)(e))},n("snapsSettings")));return r.default.createElement(s.Box,{className:"connected-snaps-list__content-rows",width:u.BlockSize.Full},e.map((e=>r.default.createElement(s.Box,{key:e.origin,className:"connected-snaps-list__content-row",width:u.BlockSize.Full,display:u.Display.Flex,flexDirection:u.FlexDirection.Row,padding:4,justifyContent:u.JustifyContent.spaceBetween},r.default.createElement(s.Box,{className:"connected-snaps-list__subject-info",gap:4,display:u.Display.Flex,alignItems:u.AlignItems.center},r.default.createElement(d.default,{snapId:e.origin,badgeSize:s.IconSize.Xs,avatarSize:s.IconSize.Md}),r.default.createElement(s.Text,{variant:u.TextVariant.bodyLgMedium,className:"connected-accounts-list__account-name"},e.name)),k(e.origin)))))}f.propTypes={connectedSubjects:n.default.arrayOf(n.default.shape({name:n.default.string,origin:n.default.string})).isRequired}}}},{package:"$root$",file:"ui/components/app/connected-sites-list/connected-snaps.js"}],[4614,{"./connected-sites-list.component":4612},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return n.default}});var r,n=(r=e("./connected-sites-list.component"))&&r.__esModule?r:{default:r}}}},{package:"$root$",file:"ui/components/app/connected-sites-list/index.js"}],[4615,{"../../../helpers/constants/connected-sites":5354,"../../../helpers/constants/design-system":5355,"../../../hooks/useI18nContext":5427,"../../../selectors":5987,"../../multichain":5092,"@metamask/snaps-utils":2163,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=h;var r=m(e("react")),n=m(e("prop-types")),t=e("react-redux"),o=e("@metamask/snaps-utils"),s=e("../../../helpers/constants/connected-sites"),l=e("../../../helpers/constants/design-system"),c=e("../../../hooks/useI18nContext"),d=e("../../../selectors"),u=e("../../multichain");function m(e){return e&&e.__esModule?e:{default:e}}function h({onClick:e}){const a=(0,c.useI18nContext)(),{address:i}=(0,t.useSelector)(d.getSelectedInternalAccount),n=(0,t.useSelector)(d.getPermissionsForActiveTab).map((e=>e.key)).includes(o.WALLET_SNAP_PERMISSION_KEY),m=(0,t.useSelector)(d.getPermittedAccountsForCurrentTab);let h;h=m.find((e=>e===i))?s.STATUS_CONNECTED:m.length>0?s.STATUS_CONNECTED_TO_ANOTHER_ACCOUNT:n?s.STATUS_CONNECTED_TO_SNAP:s.STATUS_NOT_CONNECTED;let p=l.Color.iconAlternative;h===s.STATUS_CONNECTED?p=l.Color.successDefault:h!==s.STATUS_CONNECTED_TO_ANOTHER_ACCOUNT&&h!==s.STATUS_CONNECTED_TO_SNAP||(p=l.BackgroundColor.backgroundDefault);const g=h===s.STATUS_CONNECTED?a("tooltipSatusConnected"):a("tooltipSatusNotConnected");return r.default.createElement(u.ConnectedSiteMenu,{status:h,globalMenuColor:p,text:g,as:"button",onClick:e})}h.propTypes={onClick:n.default.func}}}},{package:"$root$",file:"ui/components/app/connected-status-indicator/connected-status-indicator.js"}],[4616,{"./connected-status-indicator":4615},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return n.default}});var r,n=(r=e("./connected-status-indicator"))&&r.__esModule?r:{default:r}}}},{package:"$root$",file:"ui/components/app/connected-status-indicator/index.js"}],[4617,{"../../ui/button":5198,"./recipient-group/recipient-group.component":4619,lodash:3836,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var r=function(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=c(a);if(i&&i.has(e))return i.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in e)if("default"!==t&&Object.prototype.hasOwnProperty.call(e,t)){var o=n?Object.getOwnPropertyDescriptor(e,t):null;o&&(o.get||o.set)?Object.defineProperty(r,t,o):r[t]=e[t]}return r.default=e,i&&i.set(e,r),r}(e("react")),n=l(e("prop-types")),t=e("lodash"),o=l(e("../../ui/button")),s=l(e("./recipient-group/recipient-group.component"));function l(e){return e&&e.__esModule?e:{default:e}}function c(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,i=new WeakMap;return(c=function(e){return e?i:a})(e)}function d(e,a,i){return(a=function(e){var a=function(e,a){if("object"!=typeof e||null===e)return e;var i=e[Symbol.toPrimitive];if(i!==undefined){var r=i.call(e,a||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===a?String:Number)(e)}(e,"string");return"symbol"==typeof a?a:String(a)}(a))in e?Object.defineProperty(e,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[a]=i,e}class u extends r.PureComponent{constructor(...e){super(...e),d(this,"state",{isShowingAllRecent:!1})}renderRecents(){const{t:e}=this.context,{isShowingAllRecent:a}=this.state,i=this.props.searchForRecents(),n=!a&&i.length>2;return r.default.createElement("div",{className:"send__select-recipient-wrapper__recent-group-wrapper"},n&&r.default.createElement(o.default,{type:"link",className:"send__select-recipient-wrapper__recent-group-wrapper__load-more",onClick:()=>this.setState({isShowingAllRecent:!0})},e("loadMore")))}renderAddressBook(){const e=this.props.searchForContacts().reduce(((e,a)=>{const i=a.name[0].toUpperCase();return{...e,[i]:[...e[i]||[],a]}}),{});return Object.keys(e).sort().map((a=>[a,(0,t.sortBy)(e[a],(e=>e.name.toLowerCase()))])).map((([e,a])=>r.default.createElement(s.default,{key:`${e}-contact-group`,label:e,items:a,onSelect:this.props.selectRecipient,selectedAddress:this.props.selectedAddress})))}renderMyAccounts(){const e=this.props.searchForMyAccounts();return r.default.createElement(s.default,{items:e,onSelect:this.props.selectRecipient,selectedAddress:this.props.selectedAddress})}render(){const{children:e,searchForRecents:a,searchForContacts:i,searchForMyAccounts:n}=this.props;return r.default.createElement("div",{className:"send__select-recipient-wrapper__list"},e||null,a?this.renderRecents():null,i?this.renderAddressBook():null,n?this.renderMyAccounts():null)}}i.default=u,d(u,"propTypes",{searchForContacts:n.default.func,searchForRecents:n.default.func,searchForMyAccounts:n.default.func,selectRecipient:n.default.func,children:n.default.node,selectedAddress:n.default.string}),d(u,"contextTypes",{t:n.default.func})}}},{package:"$root$",file:"ui/components/app/contact-list/contact-list.component.js"}],[4618,{"./contact-list.component":4617},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return n.default}});var r,n=(r=e("./contact-list.component"))&&r.__esModule?r:{default:r}}}},{package:"$root$",file:"ui/components/app/contact-list/index.js"}],[4619,{"../../../multichain":5092,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=s;var r=o(e("react")),n=o(e("prop-types")),t=e("../../../multichain");function o(e){return e&&e.__esModule?e:{default:e}}function s({items:e,onSelect:a}){return e&&e.length?e.map((({address:e,name:i})=>r.default.createElement(t.AddressListItem,{address:e,label:i,onClick:()=>a(e,i),key:e}))):null}s.propTypes={items:n.default.arrayOf(n.default.shape({address:n.default.string.isRequired,name:n.default.string})),onSelect:n.default.func.isRequired}}}},{package:"$root$",file:"ui/components/app/contact-list/recipient-group/recipient-group.component.js"}],[4620,{"../../../helpers/constants/common":5353,"../../../hooks/useI18nContext":5427,"../../component-library":4955,"../../ui/text-field":5302,"../srp-input":4839,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=m;var r=function(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=u(a);if(i&&i.has(e))return i.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in e)if("default"!==t&&Object.prototype.hasOwnProperty.call(e,t)){var o=n?Object.getOwnPropertyDescriptor(e,t):null;o&&(o.get||o.set)?Object.defineProperty(r,t,o):r[t]=e[t]}return r.default=e,i&&i.set(e,r),r}(e("react")),n=d(e("prop-types")),t=e("../../../hooks/useI18nContext"),o=d(e("../../ui/text-field")),s=e("../../component-library"),l=d(e("../srp-input")),c=e("../../../helpers/constants/common");function d(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,i=new WeakMap;return(u=function(e){return e?i:a})(e)}function m({disabled:e=!1,includeTerms:a=!1,onSubmit:i,submitText:n}){const[d,u]=(0,r.useState)(""),[m,h]=(0,r.useState)(""),[p,g]=(0,r.useState)(""),[b,y]=(0,r.useState)(""),[f,k]=(0,r.useState)(""),[v,w]=(0,r.useState)(!1),j=(0,t.useI18nContext)(),z=(0,r.useCallback)((e=>{let a="",i="";e&&e.length{let a="";p!==e&&(a=j("passwordsDontMatch")),u(e),h(a)}),[p,j]),q=!e&&p&&d&&p===d&&f&&(!a||v)&&!b&&!m,_=(0,r.useCallback)((async e=>{e.preventDefault(),q&&await i(p,f)}),[q,i,p,f]),M=(0,r.useCallback)((()=>{w((e=>!e))}),[]),T=j("acceptTermsOfUse",[r.default.createElement("a",{className:"create-new-vault__terms-link",key:"create-new-vault__link-text",href:"https://metamask.io/terms.html",target:"_blank",rel:"noopener noreferrer"},j("terms"))]);return r.default.createElement("form",{className:"create-new-vault__form",onSubmit:_},r.default.createElement(l.default,{onChange:k,srpText:j("secretRecoveryPhrase")}),r.default.createElement("div",{className:"create-new-vault__create-password"},r.default.createElement(o.default,{"data-testid":"create-vault-password",id:"password",label:j("newPassword"),type:"password",value:p,onChange:e=>z(e.target.value),error:b,autoComplete:"new-password",margin:"normal",largeLabel:!0}),r.default.createElement(o.default,{"data-testid":"create-vault-confirm-password",id:"confirm-password",label:j("confirmPassword"),type:"password",value:d,onChange:e=>x(e.target.value),error:m,autoComplete:"new-password",margin:"normal",largeLabel:!0})),a?r.default.createElement("div",{className:"create-new-vault__terms"},r.default.createElement(s.Checkbox,{id:"create-new-vault-terms-checkbox","data-testid":"create-new-vault-terms-checkbox",isChecked:v,onChange:M,label:T})):null,r.default.createElement(s.Button,{"data-testid":"create-new-vault-submit-button",className:"create-new-vault__submit-button",variant:s.ButtonVariant.Primary,disabled:!q,type:"submit"},n))}m.propTypes={disabled:n.default.bool,includeTerms:n.default.bool,onSubmit:n.default.func.isRequired,submitText:n.default.string.isRequired}}}},{package:"$root$",file:"ui/components/app/create-new-vault/create-new-vault.js"}],[4621,{"./create-new-vault":4620},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return n.default}});var r,n=(r=e("./create-new-vault"))&&r.__esModule?r:{default:r}}}},{package:"$root$",file:"ui/components/app/create-new-vault/index.js"}],[4622,{"../../../../shared/constants/common":4495,"../../../../shared/modules/Numeric":4533,"../../../ducks/metamask/metamask":5346,"../../../helpers/constants/design-system":5355,"../../../helpers/utils/confirm-tx.util":5381,"../../../hooks/useIsOriginalNativeTokenSymbol":5428,"../../../selectors":5987,"../../component-library":4955,"../../ui/currency-display":5209,"../../ui/unit-input":5316,"./hooks/useProcessNewDecimalValue":4623,"./hooks/useStateWithFirstTouch":4624,"./hooks/useTokenExchangeRate":4625,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=z;var r=function(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=v(a);if(i&&i.has(e))return i.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in e)if("default"!==t&&Object.prototype.hasOwnProperty.call(e,t)){var o=n?Object.getOwnPropertyDescriptor(e,t):null;o&&(o.get||o.set)?Object.defineProperty(r,t,o):r[t]=e[t]}return r.default=e,i&&i.set(e,r),r}(e("react")),n=k(e("prop-types")),t=e("react-redux"),o=e("../../component-library"),s=e("../../../helpers/constants/design-system"),l=k(e("../../ui/unit-input")),c=k(e("../../ui/currency-display")),d=e("../../../ducks/metamask/metamask"),u=e("../../../selectors"),m=e("../../../../shared/constants/common"),h=e("../../../../shared/modules/Numeric"),p=e("../../../hooks/useIsOriginalNativeTokenSymbol"),g=e("../../../helpers/utils/confirm-tx.util"),b=k(e("./hooks/useTokenExchangeRate")),y=k(e("./hooks/useProcessNewDecimalValue")),f=k(e("./hooks/useStateWithFirstTouch"));function k(e){return e&&e.__esModule?e:{default:e}}function v(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,i=new WeakMap;return(v=function(e){return e?i:a})(e)}const w=18,j=7;function z({hexValue:e,isFiatPreferred:a,onChange:i,onPreferenceToggle:n,swapIcon:k,className:v="",asset:z,isSkeleton:x,isMatchingUpstream:q}){const _=Number(null==z?void 0:z.decimals)||w,M=(0,t.useSelector)(d.getNativeCurrency),T=(0,t.useSelector)(u.getCurrentCurrency),E=(null==z?void 0:z.symbol)||M||m.EtherDenomination.ETH,O=T.toUpperCase(),C=((null==E?void 0:E.length)||0)>j,P=(0,t.useSelector)(u.getShouldShowFiat),S=!(P&&a),[N,I,A]=(0,f.default)("0"),[D,R]=(0,r.useState)("0"),$=(0,t.useSelector)(u.getCurrentChainId),{ticker:B,type:L,rpcUrl:W}=(0,t.useSelector)(d.getProviderConfig),F=(0,p.useIsOriginalNativeTokenSymbol)($,B,L,W),U=(0,r.useRef)(),V=(0,b.default)(null==z?void 0:z.address),K=Boolean(null==V?void 0:V.toNumber()),Y=(0,y.default)(_,S,V),H=!i,G=async()=>{await n()};(0,r.useEffect)((()=>{S||K||n()}),[K,S,n]);const X=(0,r.useRef)(null);(0,r.useEffect)((()=>{const a=new h.Numeric(e,16).toBase(10).shiftedBy(_).toString();if(Number(a)===Number(N))return;const i=H||A||q,{newTokenDecimalValue:r,newFiatDecimalValue:n}=Y(a,!!i||undefined);I(r),R(n),X.current&&clearTimeout(X.current),X.current=setTimeout((()=>{var e,a;return null===(e=U.current)||void 0===e||null===(a=e.updateIsOverflowing)||void 0===a?void 0:a.call(e)}),500)}),[e,null==z?void 0:z.address,Y,S,_,H]);return x?r.default.createElement(o.Box,{paddingRight:4,className:"currency-input__skeleton-container"},r.default.createElement(o.Box,{width:s.BlockSize.Half,className:"currency-input__pulsing-bar"}),r.default.createElement(o.Box,{width:s.BlockSize.OneThird,className:"currency-input__pulsing-bar"})):r.default.createElement(l.default,{ref:U,isDisabled:H,isFocusOnInput:!H,hideSuffix:S&&C,dataTestId:"currency-input",suffix:S?E:O,onChange:e=>{const{newTokenDecimalValue:a,newFiatDecimalValue:r}=Y(e);I(a),R(r),i(new h.Numeric(a,10).times(Math.pow(10,_),10).toPrefixedHexString(),a)},value:S?N:D,className:v,actionComponent:P&&V?k?k(G):F?r.default.createElement("button",{className:"currency-input__swap-component","data-testid":"currency-swap",onClick:G},r.default.createElement("i",{className:"fa fa-retweet fa-lg"})):null:undefined},(()=>{let e,a;return P&&V&&F?(S?a=(0,g.formatCurrency)(new h.Numeric(D,10).toString(),T):(e=E,a=new h.Numeric(N,10).toString()),r.default.createElement(c.default,{hideLabel:S||C,suffix:e,className:"currency-input__conversion-component",displayValue:a})):null})())}z.propTypes={hexValue:n.default.string,isFiatPreferred:n.default.bool,onChange:n.default.func,onPreferenceToggle:n.default.func,swapIcon:n.default.func,className:n.default.string,asset:n.default.shape({address:n.default.string,symbol:n.default.string,decimals:n.default.oneOfType([n.default.string,n.default.number]),isERC721:n.default.bool}),isSkeleton:n.default.bool,isMatchingUpstream:n.default.bool}}}},{package:"$root$",file:"ui/components/app/currency-input/currency-input.js"}],[4623,{"../../../../../shared/modules/Numeric":4533,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e,a,i){return(0,r.useCallback)(((r,o)=>{let s,l;const c=(a,i=e)=>{const r=a.toString().split(".")[1]||"",n=Math.min(i,e),t=Math.min(r.length,n);return a.toFixed(t)},d=new n.Numeric(r,10);return o??a?(s=i?d.times(i).toFixed(2):undefined,l=c(d)):(s=d.toFixed(2),l=i?c(d.divide(i),t):undefined),{newFiatDecimalValue:s,newTokenDecimalValue:l}}),[null==i?void 0:i.toString(),a,e])};var r=e("react"),n=e("../../../../../shared/modules/Numeric");const t=6}}},{package:"$root$",file:"ui/components/app/currency-input/hooks/useProcessNewDecimalValue.tsx"}],[4624,{react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){const[a,i]=(0,r.useState)(n);return[a===n?e:a,i,a===n]};var r=e("react");const n=Symbol("INITIAL_VALUE")}}},{package:"$root$",file:"ui/components/app/currency-input/hooks/useStateWithFirstTouch.tsx"}],[4625,{"../../../../../shared/modules/Numeric":4533,"../../../../ducks/metamask/metamask":5346,"../../../../helpers/utils/util":5399,"../../../../selectors":5987,"ethereumjs-util":3288,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){const a=e?(0,n.toChecksumAddress)(e):undefined,i=(0,t.useSelector)(l.getNativeCurrency),m=(0,t.useSelector)(o.getCurrentChainId),h=(0,t.useSelector)(l.getConversionRate),p=(0,t.useSelector)(o.getTokenExchangeRates,t.shallowEqual),[g,b]=(0,r.useState)({});return(0,r.useMemo)((()=>{if(!h)return undefined;const e=new s.Numeric(h,10);if(!a)return e;if(!!a&&[d,u].includes(g[a]))return undefined;const r=p[a]||g[a];return r?new s.Numeric(r,10).times(e):(b((e=>({...e,[a]:d}))),(0,c.fetchTokenExchangeRates)(i,[a],m).then((e=>{b((i=>({...i,[a]:e[a]||u})))})).catch((()=>{b((e=>({...e,[a]:u})))})),undefined)}),[g,m,i,a,h,p])};var r=e("react"),n=e("ethereumjs-util"),t=e("react-redux"),o=e("../../../../selectors"),s=e("../../../../../shared/modules/Numeric"),l=e("../../../../ducks/metamask/metamask"),c=e("../../../../helpers/utils/util");const d="loading",u="failed"}}},{package:"$root$",file:"ui/components/app/currency-input/hooks/useTokenExchangeRate.tsx"}],[4626,{"./currency-input":4622},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return n.default}});var r,n=(r=e("./currency-input"))&&r.__esModule?r:{default:r}}}},{package:"$root$",file:"ui/components/app/currency-input/index.js"}],[4627,{"../../../../shared/constants/desktop":4497,"../../../../shared/constants/metametrics":4505,"../../../../shared/constants/time":4518,"../../../contexts/i18n":5324,"../../../contexts/metametrics":5327,"../../../helpers/constants/routes":5361,"../../../selectors":5987,"../../../store/actions":5998,"../../ui/button":5198,"@metamask/desktop/dist/types":1201,react:4243,"react-redux":4199,"react-router-dom":4228,"webextension-polyfill":4472},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(){const e=(0,r.useContext)(s.I18nContext),a=(0,t.useDispatch)(),i=(0,n.useHistory)(),d=(0,r.useContext)(p.MetaMetricsContext),h=()=>a((0,m.showLoadingIndication)()),b=(0,t.useSelector)(u.getIsDesktopEnabled),y=e=>a((0,m.setDesktopEnabled)(e)),z=async()=>{var e,r;if(b)return await(0,m.disableDesktop)(),y(!1),void d({category:g.MetaMetricsEventCategory.Desktop,event:j,properties:{desktop_enabled:!1}});h();const n=await(0,m.testDesktopConnection)();a((0,m.hideLoadingIndication)()),[o.PairingKeyStatus.NO_MATCH].includes(n.pairingKeyCheck)?i.push(w):n.isConnected?null!==(e=n.versionCheck)&&void 0!==e&&e.isExtensionVersionValid?null!==(r=n.versionCheck)&&void 0!==r&&r.isDesktopVersionValid?(d({category:g.MetaMetricsEventCategory.Desktop,event:"Desktop Button Clicked",properties:{button_action:"Enable MetaMask Desktop"}}),i.push(c.DESKTOP_PAIRING_ROUTE)):i.push(f):i.push(k):i.push(v)};return r.default.createElement(l.default,{type:"primary",large:!0,onClick:e=>{e.preventDefault(),z()}},(x=b,e(x?"desktopDisableButton":"desktopEnableButton")));var x};var r=function(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=y(a);if(i&&i.has(e))return i.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in e)if("default"!==t&&Object.prototype.hasOwnProperty.call(e,t)){var o=n?Object.getOwnPropertyDescriptor(e,t):null;o&&(o.get||o.set)?Object.defineProperty(r,t,o):r[t]=e[t]}return r.default=e,i&&i.set(e,r),r}(e("react")),n=e("react-router-dom"),t=e("react-redux"),o=(b(e("webextension-polyfill")),e("@metamask/desktop/dist/types")),s=e("../../../contexts/i18n"),l=b(e("../../ui/button")),c=e("../../../helpers/constants/routes"),d=e("../../../../shared/constants/desktop"),u=e("../../../selectors"),m=e("../../../store/actions"),h=e("../../../../shared/constants/time"),p=e("../../../contexts/metametrics"),g=e("../../../../shared/constants/metametrics");function b(e){return e&&e.__esModule?e:{default:e}}function y(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,i=new WeakMap;return(y=function(e){return e?i:a})(e)}const f=`${c.DESKTOP_ERROR_ROUTE}/${d.EXTENSION_ERROR_PAGE_TYPES.DESKTOP_OUTDATED}`,k=`${c.DESKTOP_ERROR_ROUTE}/${d.EXTENSION_ERROR_PAGE_TYPES.EXTENSION_OUTDATED}`,v=`${c.DESKTOP_ERROR_ROUTE}/${d.EXTENSION_ERROR_PAGE_TYPES.NOT_FOUND}`,w=`${c.DESKTOP_ERROR_ROUTE}/${d.EXTENSION_ERROR_PAGE_TYPES.PAIRING_KEY_NOT_MATCH}`,j=(h.SECOND,"Settings Updated")}}},{package:"$root$",file:"ui/components/app/desktop-enable-button/desktop-enable-button.component.js"}],[4628,{"./desktop-enable-button.component":4627},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return n.default}});var r,n=(r=e("./desktop-enable-button.component"))&&r.__esModule?r:{default:r}}}},{package:"$root$",file:"ui/components/app/desktop-enable-button/index.js"}],[4629,{"../../../../helpers/constants/design-system":5355,"../../../../helpers/utils/util":5399,"../../../../hooks/useCopyToClipboard":5417,"../../../../hooks/useI18nContext":5427,"../../../component-library":4955,"../../../ui/tooltip":5310,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var r=u(e("react")),n=u(e("prop-types")),t=e("../../../../hooks/useI18nContext"),o=e("../../../../hooks/useCopyToClipboard"),s=u(e("../../../ui/tooltip")),l=e("../../../../helpers/constants/design-system"),c=e("../../../../helpers/utils/util"),d=e("../../../component-library");function u(e){return e&&e.__esModule?e:{default:e}}const m=({tokenAddress:e})=>{const a=(0,t.useI18nContext)(),[i,n]=(0,o.useCopyToClipboard)();return r.default.createElement(d.Box,{display:l.Display.InlineFlex,className:"detected-token-address"},r.default.createElement(d.Text,{color:l.TextColor.textDefault},`${a("tokenAddress")}:`),r.default.createElement(s.default,{position:"bottom",title:a(i?"copiedExclamation":"copyToClipboard")},r.default.createElement(d.ButtonLink,{className:"detected-token-address__copy-link",onClick:()=>{n(e)},endIconName:d.IconName.Copy,marginLeft:2,marginRight:2},(0,c.shortenAddress)(e))))};m.propTypes={tokenAddress:n.default.string};i.default=m}}},{package:"$root$",file:"ui/components/app/detected-token/detected-token-address/detected-token-address.js"}],[4630,{"../../../../helpers/constants/design-system":5355,"../../../../hooks/useI18nContext":5427,"../../../component-library":4955,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var r,n=function(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=c(a);if(i&&i.has(e))return i.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in e)if("default"!==t&&Object.prototype.hasOwnProperty.call(e,t)){var o=n?Object.getOwnPropertyDescriptor(e,t):null;o&&(o.get||o.set)?Object.defineProperty(r,t,o):r[t]=e[t]}return r.default=e,i&&i.set(e,r),r}(e("react")),t=(r=e("prop-types"))&&r.__esModule?r:{default:r},o=e("../../../../hooks/useI18nContext"),s=e("../../../../helpers/constants/design-system"),l=e("../../../component-library");function c(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,i=new WeakMap;return(c=function(e){return e?i:a})(e)}const d=({aggregators:e})=>{const a=(0,o.useI18nContext)(),i=parseInt(e.length,10)-2,[r,t]=(0,n.useState)(!1);return n.default.createElement(l.Box,{display:s.Display.InlineFlex,className:"detected-token-aggregators"},n.default.createElement(l.Text,{variant:s.TextVariant.bodySm,as:"h6",fontWeight:s.FontWeight.Normal},a("fromTokenLists",[i>0&&!r?n.default.createElement(l.Text,{as:"h6",fontWeight:s.FontWeight.Normal,key:"detected-token-aggrgators-with-more"},`${e.slice(0,2).join(", ")}`,n.default.createElement(l.ButtonLink,{className:"detected-token-aggregators__link",onClick:()=>t(!0),key:"detected-token-aggrgators-link"},a("plusXMore",[i]))):n.default.createElement(l.Text,{as:"h6",fontWeight:s.FontWeight.Normal,key:"detected-token-aggrgators-without-more"},`${e.join(", ")}.`)])))};d.propTypes={aggregators:t.default.array.isRequired};i.default=d}}},{package:"$root$",file:"ui/components/app/detected-token/detected-token-aggregators/detected-token-aggregators.js"}],[4631,{"../../../../helpers/constants/design-system":5355,"../../../../selectors":5987,"../../../component-library":4955,"../../../ui/identicon":5247,"../detected-token-address/detected-token-address":4629,"../detected-token-aggregators/detected-token-aggregators":4630,"../detected-token-values/detected-token-values":4634,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var r=h(e("react")),n=h(e("prop-types")),t=e("react-redux"),o=e("../../../component-library"),s=h(e("../../../ui/identicon")),l=h(e("../detected-token-values/detected-token-values")),c=h(e("../detected-token-address/detected-token-address")),d=h(e("../detected-token-aggregators/detected-token-aggregators")),u=e("../../../../helpers/constants/design-system"),m=e("../../../../selectors");function h(e){return e&&e.__esModule?e:{default:e}}const p=({token:e,handleTokenSelection:a,tokensListDetected:i})=>{var n;const h=(0,t.useSelector)(m.getTokenList)[null===(n=e.address)||void 0===n?void 0:n.toLowerCase()];return r.default.createElement(o.Box,{display:u.Display.Flex,className:"detected-token-details",marginBottom:4},r.default.createElement(s.default,{className:"detected-token-details__identicon",address:e.address,diameter:40}),r.default.createElement(o.Box,{display:u.Display.Grid,marginLeft:2,className:"detected-token-details__data"},r.default.createElement(l.default,{token:e,handleTokenSelection:a,tokensListDetected:i}),r.default.createElement(c.default,{tokenAddress:e.address}),(null==h?void 0:h.aggregators.length)>0&&r.default.createElement(d.default,{aggregators:null==h?void 0:h.aggregators})))};p.propTypes={token:n.default.shape({address:n.default.string.isRequired,decimals:n.default.number,symbol:n.default.string,iconUrl:n.default.string,aggregators:n.default.array}),handleTokenSelection:n.default.func.isRequired,tokensListDetected:n.default.object};i.default=p}}},{package:"$root$",file:"ui/components/app/detected-token/detected-token-details/detected-token-details.js"}],[4632,{"../../../../helpers/constants/design-system":5355,"../../../../hooks/useI18nContext":5427,"../../../component-library":4955,"../../../component-library/modal-content/deprecated":4963,"../../../component-library/modal-header/deprecated":4972,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var r=u(e("react")),n=u(e("prop-types")),t=u(e("classnames")),o=e("../../../../hooks/useI18nContext"),s=e("../../../../helpers/constants/design-system"),l=e("../../../component-library"),c=e("../../../component-library/modal-content/deprecated"),d=e("../../../component-library/modal-header/deprecated");function u(e){return e&&e.__esModule?e:{default:e}}const m=({partiallyIgnoreDetectedTokens:e,onCancelIgnore:a,handleClearTokensSelection:i,isOpen:n})=>{const u=(0,o.useI18nContext)();return r.default.createElement(l.Modal,{isOpen:n,className:(0,t.default)("detected-token-ignored-popover",{"detected-token-ignored-popover--import":e,"detected-token-ignored-popover--ignore":!e}),onClose:a,autoFocus:!1},r.default.createElement(l.ModalOverlay,null),r.default.createElement(c.ModalContent,null,r.default.createElement(d.ModalHeader,{marginBottom:4},u(e?"importSelectedTokens":"areYouSure")),r.default.createElement(l.Text,{marginBottom:4},u(e?"importSelectedTokensDescription":"ignoreTokenWarning")),r.default.createElement(l.Box,{display:s.Display.Flex,justifyContent:s.JustifyContent.center,gap:4},r.default.createElement(l.Button,{className:"detected-token-ignored-popover__ignore-button",block:!0,variant:l.BUTTON_VARIANT.SECONDARY,onClick:a,size:l.BUTTON_SIZES.LG},u("cancel")),r.default.createElement(l.Button,{className:"detected-token-ignored-popover__import-button",block:!0,variant:l.BUTTON_VARIANT.PRIMARY,onClick:i,size:l.BUTTON_SIZES.LG},u("confirm")))))};m.propTypes={partiallyIgnoreDetectedTokens:n.default.bool.isRequired,onCancelIgnore:n.default.func.isRequired,handleClearTokensSelection:n.default.func.isRequired,isOpen:n.default.bool.isRequired};i.default=m}}},{package:"$root$",file:"ui/components/app/detected-token/detected-token-ignored-popover/detected-token-ignored-popover.js"}],[4633,{"../../../../../shared/constants/metametrics":4505,"../../../../contexts/metametrics":5327,"../../../../hooks/useI18nContext":5427,"../../../../selectors":5987,"../../../ui/box":5194,"../../../ui/button":5198,"../../../ui/popover":5281,"../detected-token-details/detected-token-details":4631,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var r=function(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=g(a);if(i&&i.has(e))return i.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in e)if("default"!==t&&Object.prototype.hasOwnProperty.call(e,t)){var o=n?Object.getOwnPropertyDescriptor(e,t):null;o&&(o.get||o.set)?Object.defineProperty(r,t,o):r[t]=e[t]}return r.default=e,i&&i.set(e,r),r}(e("react")),n=p(e("prop-types")),t=e("react-redux"),o=e("../../../../hooks/useI18nContext"),s=e("../../../../contexts/metametrics"),l=e("../../../../../shared/constants/metametrics"),c=e("../../../../selectors"),d=p(e("../../../ui/popover")),u=p(e("../../../ui/box")),m=p(e("../../../ui/button")),h=p(e("../detected-token-details/detected-token-details"));function p(e){return e&&e.__esModule?e:{default:e}}function g(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,i=new WeakMap;return(g=function(e){return e?i:a})(e)}const b=({tokensListDetected:e,handleTokenSelection:a,onImport:i,onIgnoreAll:n,setShowDetectedTokens:p,sortingBasedOnTokenSelection:g})=>{const b=(0,o.useI18nContext)(),y=(0,r.useContext)(s.MetaMetricsContext),f=(0,t.useSelector)(c.getCurrentChainId),k=(0,t.useSelector)(c.getDetectedTokensInCurrentNetwork),{selected:v=[]}=g(e),w=r.default.createElement(r.default.Fragment,null,r.default.createElement(m.default,{className:"detected-token-selection-popover__ignore-button",type:"secondary",onClick:()=>n()},b("ignoreAll")),r.default.createElement(m.default,{className:"detected-token-selection-popover__import-button",type:"primary",onClick:i,disabled:0===v.length},b("importWithCount",[`(${v.length})`])));return r.default.createElement(d.default,{className:"detected-token-selection-popover",title:1===k.length?b("tokenFoundTitle"):b("tokensFoundTitle",[k.length]),onClose:()=>{p(!1);const e=k.map((({address:e,symbol:a})=>`${a} - ${e}`));y({event:l.MetaMetricsEventName.TokenImportCanceled,category:l.MetaMetricsEventCategory.Wallet,properties:{source_connection_method:l.MetaMetricsTokenEventSource.Detected,chain_id:f,tokens:e}})},footer:w},r.default.createElement(u.default,{margin:3},k.map(((i,n)=>r.default.createElement(h.default,{key:n,token:i,handleTokenSelection:a,tokensListDetected:e})))))};b.propTypes={tokensListDetected:n.default.object,handleTokenSelection:n.default.func.isRequired,onIgnoreAll:n.default.func.isRequired,onImport:n.default.func.isRequired,setShowDetectedTokens:n.default.func.isRequired,sortingBasedOnTokenSelection:n.default.func.isRequired};i.default=b}}},{package:"$root$",file:"ui/components/app/detected-token/detected-token-selection-popover/detected-token-selection-popover.js"}],[4634,{"../../../../helpers/constants/design-system":5355,"../../../../hooks/useTokenFiatAmount":5446,"../../../../hooks/useTokenTracker":5447,"../../../../selectors":5987,"../../../component-library":4955,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var r,n=function(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=m(a);if(i&&i.has(e))return i.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in e)if("default"!==t&&Object.prototype.hasOwnProperty.call(e,t)){var o=n?Object.getOwnPropertyDescriptor(e,t):null;o&&(o.get||o.set)?Object.defineProperty(r,t,o):r[t]=e[t]}return r.default=e,i&&i.set(e,r),r}(e("react")),t=(r=e("prop-types"))&&r.__esModule?r:{default:r},o=e("react-redux"),s=e("../../../../helpers/constants/design-system"),l=e("../../../../hooks/useTokenTracker"),c=e("../../../../hooks/useTokenFiatAmount"),d=e("../../../../selectors"),u=e("../../../component-library");function m(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,i=new WeakMap;return(m=function(e){return e?i:a})(e)}const h=({token:e,handleTokenSelection:a,tokensListDetected:i})=>{var r;const[t,m]=(0,n.useState)((()=>{var a;return null===(a=i[e.address])||void 0===a?void 0:a.selected})),{tokensWithBalances:h}=(0,l.useTokenTracker)({tokens:[e]}),p=null===(r=h[0])||void 0===r?void 0:r.string,g=(0,c.useTokenFiatAmount)(e.address,p,e.symbol),b=(0,o.useSelector)(d.getUseCurrencyRateCheck);(0,n.useEffect)((()=>{var a;m(null===(a=i[e.address])||void 0===a?void 0:a.selected)}),[i,e.address,t,m]);return n.default.createElement(u.Box,{display:s.Display.InlineFlex,className:"detected-token-values"},n.default.createElement(u.Box,{marginBottom:1},n.default.createElement(u.Text,{variant:s.TextVariant.bodyLgMedium,as:"h4"},`${p||"0"} ${e.symbol}`),n.default.createElement(u.Text,{variant:s.TextVariant.bodySm,as:"h6",color:s.TextColor.textAlternative},b?g||"$0":g)),n.default.createElement(u.Box,{className:"detected-token-values__checkbox"},n.default.createElement(u.Checkbox,{isChecked:t,onClick:()=>{m(!t),a(e)}})))};h.propTypes={token:t.default.shape({address:t.default.string.isRequired,decimals:t.default.number,symbol:t.default.string,iconUrl:t.default.string,aggregators:t.default.array}),handleTokenSelection:t.default.func.isRequired,tokensListDetected:t.default.object};i.default=h}}},{package:"$root$",file:"ui/components/app/detected-token/detected-token-values/detected-token-values.js"}],[4635,{"../../../../shared/constants/metametrics":4505,"../../../../shared/constants/transaction":4520,"../../../contexts/metametrics":5327,"../../../selectors":5987,"../../../store/actions":5998,"./detected-token-ignored-popover/detected-token-ignored-popover":4632,"./detected-token-selection-popover/detected-token-selection-popover":4633,lodash:3836,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var r=function(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=g(a);if(i&&i.has(e))return i.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in e)if("default"!==t&&Object.prototype.hasOwnProperty.call(e,t)){var o=n?Object.getOwnPropertyDescriptor(e,t):null;o&&(o.get||o.set)?Object.defineProperty(r,t,o):r[t]=e[t]}return r.default=e,i&&i.set(e,r),r}(e("react")),n=p(e("prop-types")),t=e("react-redux"),o=e("lodash"),s=e("../../../store/actions"),l=e("../../../selectors"),c=e("../../../contexts/metametrics"),d=e("../../../../shared/constants/transaction"),u=e("../../../../shared/constants/metametrics"),m=p(e("./detected-token-selection-popover/detected-token-selection-popover")),h=p(e("./detected-token-ignored-popover/detected-token-ignored-popover"));function p(e){return e&&e.__esModule?e:{default:e}}function g(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,i=new WeakMap;return(g=function(e){return e?i:a})(e)}const b=e=>(0,o.chain)(e).values().groupBy((e=>e.selected?"selected":"deselected")).mapValues((e=>e.map((({token:e})=>{const{address:a,symbol:i,decimals:r,aggregators:n}=e;return{address:a,symbol:i,decimals:r,aggregators:n}})))).value(),y=({setShowDetectedTokens:e})=>{const a=(0,t.useDispatch)(),i=(0,r.useContext)(c.MetaMetricsContext),n=(0,t.useSelector)(l.getCurrentChainId),o=(0,t.useSelector)(l.getDetectedTokensInCurrentNetwork),p=(0,t.useSelector)(l.getSelectedNetworkClientId),[g,y]=(0,r.useState)((()=>o.reduce(((e,a)=>(e[a.address]={token:a,selected:!0},e)),{}))),[f,k]=(0,r.useState)(!1),[v,w]=(0,r.useState)(!1),j=async e=>{e.forEach((e=>{i({event:u.MetaMetricsEventName.TokenAdded,category:u.MetaMetricsEventCategory.Wallet,sensitiveProperties:{token_symbol:e.symbol,token_contract_address:e.address,token_decimal_precision:e.decimals,source:u.MetaMetricsTokenEventSource.Detected,token_standard:d.TokenStandard.ERC20,asset_type:d.AssetType.token,token_added_type:"detected",chain_id:n}})})),await a((0,s.addImportedTokens)(e,p));const r=e.map((({symbol:e})=>e));a((0,s.setNewTokensImported)(r.join(", ")))};return r.default.createElement(r.default.Fragment,null,f&&r.default.createElement(h.default,{isOpen:!0,onCancelIgnore:()=>{k(!1),w(!1)},handleClearTokensSelection:async()=>{const{selected:r=[],deselected:n=[]}=b(g);n.length`${e} - ${a}`));i({event:u.MetaMetricsEventName.TokenHidden,category:u.MetaMetricsEventCategory.Wallet,sensitiveProperties:{tokens:t,location:u.MetaMetricsEventLocation.TokenDetection,token_standard:d.TokenStandard.ERC20,asset_type:d.AssetType.token}});const l=n.map((({address:e})=>e));await a((0,s.ignoreTokens)({tokensToIgnore:l,dontShowLoadingIndicator:!0})),e(!1),w(!1)},partiallyIgnoreDetectedTokens:v}),o.length>0&&r.default.createElement(m.default,{detectedTokens:o,tokensListDetected:g,handleTokenSelection:e=>{y((a=>({...a,[e.address]:{...a[e.address],selected:!a[e.address].selected}})))},onImport:async()=>{const{selected:a=[]}=b(g);a.length{const e={...g};for(const a of Object.keys(g))e[a].selected=!1;y(e),k(!0)},setShowDetectedTokens:e,sortingBasedOnTokenSelection:b}))};y.propTypes={setShowDetectedTokens:n.default.func.isRequired};i.default=y}}},{package:"$root$",file:"ui/components/app/detected-token/detected-token.js"}],[4636,{"../../../../contexts/i18n":5324,"../../../ui/button":5198,"prop-types":3997,react:4243,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=h;var r=function(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=c(a);if(i&&i.has(e))return i.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in e)if("default"!==t&&Object.prototype.hasOwnProperty.call(e,t)){var o=n?Object.getOwnPropertyDescriptor(e,t):null;o&&(o.get||o.set)?Object.defineProperty(r,t,o):r[t]=e[t]}return r.default=e,i&&i.set(e,r),r}(e("react")),n=e("react-router-dom"),t=l(e("prop-types")),o=e("../../../../contexts/i18n"),s=l(e("../../../ui/button"));function l(e){return e&&e.__esModule?e:{default:e}}function c(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,i=new WeakMap;return(c=function(e){return e?i:a})(e)}function d(e){return e.split("\n").map(((e,a)=>r.default.createElement(r.Fragment,{key:a},e,r.default.createElement("br",null))))}const u=d("MMm*mmMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMmm*mMM\nMM*./***mMMMMMMMMMMMMMMMMMMMMMMMMMMm***/.*MM\nMM/...///*mMMMMMMMMMMMMMMMMMMMMMMm*///.../MM\nMm.....//../*mMMMMMMMMMMMMMMMMm*/..//.....mM\nM*....../*....*mMMMMMMMMMMMMm*....*/......*M\nM/........*.....*//////////*...../......../M\nm..........*/...//........//.../*..........m\nM/..........//.../......../...//........../M\nM/.........../*/./.......//./*/.........../M\nM*.............////......////.............*M\nMm...............**......**...............mM\nMm/...............*/..../*.............../mM\nMM/............../*/..../*/............../MM\nMm..............//./...././/..............mM\nMM*............*/../..../../*............*MM\nMM/........../*..../..../....*/........../MM\nMMm.........//...../..../.....//.........mMM\nMMm......//**....../..../......**//......mMM\nMMM/..////.*......./..../......././///../MMM\nMMMm*//..../......./..../......./....//*mMMM\nMMMm......*////////*....*////////*......mMMM\nMMM*......*////////*....*////////*......*MMM\nMMM/....../*......./..../.......*/....../MMM\nMMm........**/./m*./..../.**/..**........mMM\nMM*........//*mMMM///..///mMMm*//........*MM\nMM/........././*mM*//..//*Mm*/./........./MM\nMm..........//.../**/../**/...//..........mM\nM*...........*..../*/../*/..../...........*M\nM*///////////*/.../m/../m/.../*///////////*M\nM*.........../*/...m/../m.../*/...........*M\nMm.........../..//.*....*./*../...........mM\nMM/........../...//******//.../........../MM\nMM*........../....*MMMMMM*..../..........*MM\nMMm........../....*MMMMMM*..../..........mMM\nMMm/........//....*MMMMMM*....//......../mMM\nMMM/....../*mm*...*mmmmmm*...*mm*/....../MMM\nMMM*../*mmMMMMMm///......//*mMMMMMmm*/..*MMM\nMMMm*mMMMMMMMMMMm**......**mMMMMMMMMMMm*mMMM\nMMMMMMMMMMMMMMMMMm/....../mMMMMMMMMMMMMMMMMM\nMMMMMMMMMMMMMMMMMMmmmmmmmmMMMMMMMMMMMMMMMMMM"),m=d("█▀▀ ▄▀█ █░█ ▀█▀ █ █▀█ █▄░█ ▀  \n █▄▄ █▀█ █▄█ ░█░ █ █▄█ █░▀█ ▄  \n \n █▀▀ ▀▄▀ █▀█ █▀▀ █▀█ █ █▀▄▀█ █▀▀ █▄░█ ▀█▀ ▄▀█ █░░  \n ██▄ █░█ █▀▀ ██▄ █▀▄ █ █░▀░█ ██▄ █░▀█ ░█░ █▀█ █▄▄  \n \n █▀ █▀█ █▀▀ ▀█▀ █░█░█ ▄▀█ █▀█ █▀▀\n ▄█ █▄█ █▀░ ░█░ ▀▄▀▄▀ █▀█ █▀▄ ██▄");function h({redirectTo:e}){const a=(0,r.useContext)(o.I18nContext),i=(0,n.useHistory)();return r.default.createElement("div",{className:"experimental-area","data-testid":"experimental-area"},r.default.createElement("div",{className:"logo"},u),r.default.createElement("div",{className:"experimental-text"},m),r.default.createElement("div",{className:"text"},r.default.createElement("p",null,a("flaskWelcomeWarning1",[r.default.createElement("b",{key:"doNotUse"},a("flaskWelcomeUninstall"))])),r.default.createElement("br",null),r.default.createElement("p",null,a("flaskWelcomeWarning2")),r.default.createElement("br",null),r.default.createElement("p",null,a("flaskWelcomeWarning3")),r.default.createElement("br",null),r.default.createElement("p",null,a("flaskWelcomeWarning4"))),r.default.createElement(s.default,{type:"primary",onClick:()=>{i.push(e)}},a("flaskWelcomeWarningAcceptButton")))}h.propTypes={redirectTo:t.default.string}}}},{package:"$root$",file:"ui/components/app/flask/experimental-area/experimental-area.js"}],[4637,{"./experimental-area":4636},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return n.default}});var r,n=(r=e("./experimental-area"))&&r.__esModule?r:{default:r}}}},{package:"$root$",file:"ui/components/app/flask/experimental-area/index.js"}],[4638,{"../../../../shared/constants/metametrics":4505,"../../../contexts/i18n":5324,"../../../contexts/metametrics":5327,"../../../helpers/constants/design-system":5355,"../../component-library":4955,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=g;var r=m(e("classnames")),n=m(e("prop-types")),t=function(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=u(a);if(i&&i.has(e))return i.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in e)if("default"!==t&&Object.prototype.hasOwnProperty.call(e,t)){var o=n?Object.getOwnPropertyDescriptor(e,t):null;o&&(o.get||o.set)?Object.defineProperty(r,t,o):r[t]=e[t]}return r.default=e,i&&i.set(e,r),r}(e("react")),o=e("../../../../shared/constants/metametrics"),s=e("../../../contexts/i18n"),l=e("../../../contexts/metametrics"),c=e("../../../helpers/constants/design-system"),d=e("../../component-library");function u(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,i=new WeakMap;return(u=function(e){return e?i:a})(e)}function m(e){return e&&e.__esModule?e:{default:e}}const h=14,p=h-1;function g({buttonText:e,onLongPressed:a}){const i=(0,t.useContext)(s.I18nContext),n=(0,t.useRef)(!1),[u,m]=(0,t.useState)(!1),[g,b]=(0,t.useState)(!1),y=(0,t.useContext)(l.MetaMetricsContext),f=e=>{e.stopPropagation()},k=()=>{n.current&&m(!0)},v=(0,t.useCallback)((e=>{y({category:o.MetaMetricsEventCategory.Keys,event:o.MetaMetricsEventName.SrpHoldToRevealCompleted,properties:{key_type:o.MetaMetricsEventKeyType.Srp}}),y({category:o.MetaMetricsEventCategory.Keys,event:o.MetaMetricsEventName.SrpRevealViewed,properties:{key_type:o.MetaMetricsEventKeyType.Srp}}),a(),b(!0),f(e)}),[a,y]),w=()=>{m(!1),b(!1)},j=(0,t.useCallback)((()=>t.default.createElement(d.Box,{className:(0,r.default)("hold-to-reveal-button__absolute-fill",{"hold-to-reveal-button__absolute-fill":u,"hold-to-reveal-button__main-icon-show":g})},t.default.createElement(d.Box,{className:"hold-to-reveal-button__absolute-fill"},t.default.createElement("svg",{className:"hold-to-reveal-button__circle-svg"},t.default.createElement("circle",{className:"hold-to-reveal-button__circle-background",cx:h,cy:h,r:p}))),t.default.createElement(d.Box,{className:"hold-to-reveal-button__absolute-fill"},t.default.createElement("svg",{className:"hold-to-reveal-button__circle-svg"},t.default.createElement("circle",{"aria-label":i("holdToRevealLockedLabel"),onTransitionEnd:k,className:"hold-to-reveal-button__circle-foreground",cx:h,cy:h,r:p}))),t.default.createElement(d.Box,{display:c.Display.Flex,alignItems:c.AlignItems.center,justifyContent:c.JustifyContent.center,className:"hold-to-reveal-button__lock-icon-container"},t.default.createElement("img",{src:"images/lock-icon.svg",alt:i("padlock"),className:"hold-to-reveal-button__lock-icon"})))),[u,g,i]),z=(0,t.useCallback)((()=>u?t.default.createElement("div",{className:(0,r.default)("hold-to-reveal-button__absolute-fill",{"hold-to-reveal-button__unlock-icon-hide":g}),onAnimationEnd:w},t.default.createElement("div",{onAnimationEnd:f,className:"hold-to-reveal-button__absolute-fill hold-to-reveal-button__circle-static-outer-container"},t.default.createElement("svg",{className:"hold-to-reveal-button__circle-svg"},t.default.createElement("circle",{className:"hold-to-reveal-button__circle-static-outer",cx:14,cy:14,r:14}))),t.default.createElement("div",{onAnimationEnd:f,className:"hold-to-reveal-button__absolute-fill hold-to-reveal-button__circle-static-inner-container"},t.default.createElement("svg",{className:"hold-to-reveal-button__circle-svg"},t.default.createElement("circle",{className:"hold-to-reveal-button__circle-static-inner",cx:14,cy:14,r:12}))),t.default.createElement("div",{"aria-label":i("holdToRevealUnlockedLabel"),className:"hold-to-reveal-button__unlock-icon-container",onAnimationEnd:v},t.default.createElement("img",{src:"images/unlock-icon.svg",alt:i("padlock"),className:"hold-to-reveal-button__unlock-icon"}))):null),[u,g,v,i]);return t.default.createElement(d.Button,{width:c.BlockSize.Full,onPointerDown:()=>{n.current=!0,y({category:o.MetaMetricsEventCategory.Keys,event:o.MetaMetricsEventName.SrpHoldToRevealClickStarted,properties:{key_type:o.MetaMetricsEventKeyType.Srp}})},onPointerUp:()=>{n.current=!1},className:"hold-to-reveal-button__button-hold",textProps:{display:c.Display.Flex,alignItems:c.AlignItems.center}},t.default.createElement(d.Box,{className:"hold-to-reveal-button__icon-container",marginRight:2},j(),z()),e)}g.propTypes={buttonText:n.default.string.isRequired,onLongPressed:n.default.func.isRequired}}}},{package:"$root$",file:"ui/components/app/hold-to-reveal-button/hold-to-reveal-button.js"}],[4639,{"../../../helpers/constants/design-system":5355,"../../component-library":4955,"../../ui/button":5198,"../../ui/check-box":5202,"../../ui/tooltip":5310,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var r=function(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=m(a);if(i&&i.has(e))return i.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in e)if("default"!==t&&Object.prototype.hasOwnProperty.call(e,t)){var o=n?Object.getOwnPropertyDescriptor(e,t):null;o&&(o.get||o.set)?Object.defineProperty(r,t,o):r[t]=e[t]}return r.default=e,i&&i.set(e,r),r}(e("react")),n=u(e("classnames")),t=u(e("prop-types")),o=u(e("../../ui/button")),s=u(e("../../ui/check-box")),l=u(e("../../ui/tooltip")),c=e("../../component-library"),d=e("../../../helpers/constants/design-system");function u(e){return e&&e.__esModule?e:{default:e}}function m(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,i=new WeakMap;return(m=function(e){return e?i:a})(e)}const h=({acceptText:e,checkboxText:a,checkboxTooltipText:i,classNames:t=[],descriptionText:u,ignoreText:m,infoText:h,onAccept:p,onIgnore:g})=>{const[b,y]=(0,r.useState)(!1),f=a&&r.default.createElement(s.default,{id:"homeNotification_checkbox",checked:b,className:"home-notification__checkbox",onClick:()=>y((e=>!e))});return r.default.createElement("div",{className:(0,n.default)("home-notification",...t)},r.default.createElement("div",{className:"home-notification__content"},r.default.createElement("div",{className:"home-notification__content-container"},r.default.createElement("div",{className:"home-notification__text"},u)),h?r.default.createElement(l.default,{position:"top",title:h,wrapperClassName:"home-notification__tooltip-wrapper"},r.default.createElement(c.Icon,{name:c.IconName.Info,color:d.IconColor.iconDefault})):null),r.default.createElement("div",{className:"home-notification__buttons"},p&&e?r.default.createElement(o.default,{type:"primary",className:"home-notification__accept-button",onClick:p},e):null,g&&m?r.default.createElement(o.default,{type:"secondary",className:"home-notification__ignore-button",onClick:()=>g(b)},m):null,a?r.default.createElement("div",{className:"home-notification__checkbox-wrapper"},i?r.default.createElement(l.default,{position:"top",title:i,wrapperClassName:"home-notification__checkbox-label-tooltip"},f):f,r.default.createElement("label",{className:"home-notification__checkbox-label",htmlFor:"homeNotification_checkbox"},a)):null))};h.propTypes={acceptText:t.default.node,checkboxText:t.default.node,checkboxTooltipText:t.default.node,classNames:t.default.array,descriptionText:t.default.node.isRequired,ignoreText:t.default.node,infoText:t.default.node,onAccept:t.default.func,onIgnore:t.default.func};i.default=h}}},{package:"$root$",file:"ui/components/app/home-notification/home-notification.component.js"}],[4640,{"./home-notification.component":4639},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return n.default}});var r,n=(r=e("./home-notification.component"))&&r.__esModule?r:{default:r}}}},{package:"$root$",file:"ui/components/app/home-notification/index.js"}],[4641,{"./token-list.container":4645},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var r,n=(r=e("./token-list.container"))&&r.__esModule?r:{default:r};i.default=n.default}}},{package:"$root$",file:"ui/components/app/import-token/token-list/index.js"}],[4642,{"./token-list-placeholder.component":4643},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var r,n=(r=e("./token-list-placeholder.component"))&&r.__esModule?r:{default:r};i.default=n.default}}},{package:"$root$",file:"ui/components/app/import-token/token-list/token-list-placeholder/index.js"}],[4643,{"../../../../../helpers/constants/design-system":5355,"../../../../../helpers/constants/zendesk-url":5368,"../../../../component-library":4955,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var r,n,t,o=function(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=m(a);if(i&&i.has(e))return i.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in e)if("default"!==t&&Object.prototype.hasOwnProperty.call(e,t)){var o=n?Object.getOwnPropertyDescriptor(e,t):null;o&&(o.get||o.set)?Object.defineProperty(r,t,o):r[t]=e[t]}return r.default=e,i&&i.set(e,r),r}(e("react")),s=u(e("prop-types")),l=u(e("../../../../../helpers/constants/zendesk-url")),c=e("../../../../component-library"),d=e("../../../../../helpers/constants/design-system");function u(e){return e&&e.__esModule?e:{default:e}}function m(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,i=new WeakMap;return(m=function(e){return e?i:a})(e)}class h extends o.Component{render(){return o.default.createElement(c.Box,{display:d.Display.Flex,alignItems:d.AlignItems.center,flexDirection:d.FlexDirection.Column,textAlign:d.TextAlign.Center},o.default.createElement(c.Text,{color:d.TextColor.textAlternative},this.context.t("addAcquiredTokens")),o.default.createElement(c.ButtonLink,{href:l.default.ADD_CUSTOM_TOKENS,externalLink:!0},this.context.t("learnMoreUpperCase")))}}i.default=h,r=h,n="contextTypes",t={t:s.default.func},(n=function(e){var a=function(e,a){if("object"!=typeof e||null===e)return e;var i=e[Symbol.toPrimitive];if(i!==undefined){var r=i.call(e,a||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===a?String:Number)(e)}(e,"string");return"symbol"==typeof a?a:String(a)}(n))in r?Object.defineProperty(r,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[n]=t}}},{package:"$root$",file:"ui/components/app/import-token/token-list/token-list-placeholder/token-list-placeholder.component.js"}],[4644,{"../../../../helpers/constants/design-system":5355,"../../../../helpers/utils/util":5399,"../../../component-library":4955,"./token-list-placeholder":4642,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var r=function(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=u(a);if(i&&i.has(e))return i.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in e)if("default"!==t&&Object.prototype.hasOwnProperty.call(e,t)){var o=n?Object.getOwnPropertyDescriptor(e,t):null;o&&(o.get||o.set)?Object.defineProperty(r,t,o):r[t]=e[t]}return r.default=e,i&&i.set(e,r),r}(e("react")),n=d(e("prop-types")),t=d(e("classnames")),o=e("../../../../helpers/utils/util"),s=e("../../../component-library"),l=e("../../../../helpers/constants/design-system"),c=d(e("./token-list-placeholder"));function d(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,i=new WeakMap;return(u=function(e){return e?i:a})(e)}function m(e,a,i){return(a=function(e){var a=function(e,a){if("object"!=typeof e||null===e)return e;var i=e[Symbol.toPrimitive];if(i!==undefined){var r=i.call(e,a||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===a?String:Number)(e)}(e,"string");return"symbol"==typeof a?a:String(a)}(a))in e?Object.defineProperty(e,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[a]=i,e}class h extends r.Component{render(){const{results:e=[],selectedTokens:a={},onToggleToken:i,tokens:n=[],currentNetwork:d,testNetworkBackgroundColor:u}=this.props;return r.default.createElement(s.Box,{className:"token-list"},0===e.length?r.default.createElement(s.Box,{paddingLeft:4,paddingRight:4,className:"token-list__empty-list"},r.default.createElement(c.default,null)):r.default.createElement(s.Box,{className:"token-list__tokens-container"},Array(12).fill(undefined).map(((c,m)=>{var h,p,g;const{symbol:b,name:y,address:f}=e[m]||{},k=(0,o.checkExistingAddresses)(f,n),v=()=>!k&&i(e[m]);return Boolean((null===(h=e[m])||void 0===h?void 0:h.iconUrl)||b||y)&&r.default.createElement(s.Box,{key:f,display:l.Display.Flex,className:(0,t.default)("token-list__token_component",{"token-list__token_component--selected":a[f],"token-list__token_component--disabled":k}),onClick:v},r.default.createElement(s.Box,{display:l.Display.Flex,alignItems:l.AlignItems.center},r.default.createElement(s.Checkbox,{isChecked:a[f]||k,marginRight:2,onClick:v}),r.default.createElement(s.Box,null,r.default.createElement(s.BadgeWrapper,{badge:r.default.createElement(s.AvatarNetwork,{size:s.AvatarNetworkSize.Xs,name:null==d?void 0:d.nickname,src:null==d||null===(p=d.rpcPrefs)||void 0===p?void 0:p.imageUrl,backgroundColor:u}),marginRight:4,marginTop:1},r.default.createElement(s.AvatarToken,{name:b,src:null===(g=e[m])||void 0===g?void 0:g.iconUrl,showHalo:!0}))),r.default.createElement(s.Box,null,r.default.createElement(s.Text,{fontWeight:l.FontWeight.Medium,variant:l.TextVariant.bodyMd},y),r.default.createElement(s.Text,{variant:l.TextVariant.bodySm,color:l.TextColor.textAlternative},b))))}))))}}i.default=h,m(h,"contextTypes",{t:n.default.func}),m(h,"propTypes",{tokens:n.default.array,results:n.default.array,selectedTokens:n.default.object,onToggleToken:n.default.func,currentNetwork:n.default.object,testNetworkBackgroundColor:n.default.object})}}},{package:"$root$",file:"ui/components/app/import-token/token-list/token-list.component.js"}],[4645,{"./token-list.component":4644,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var r,n=e("react-redux"),t=(r=e("./token-list.component"))&&r.__esModule?r:{default:r};i.default=(0,n.connect)((e=>{const{tokens:a}=e.metamask;return{tokens:a}}))(t.default)}}},{package:"$root$",file:"ui/components/app/import-token/token-list/token-list.container.js"}],[4646,{"./token-search.component":4647},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var r,n=(r=e("./token-search.component"))&&r.__esModule?r:{default:r};i.default=n.default}}},{package:"$root$",file:"ui/components/app/import-token/token-search/index.js"}],[4647,{"../../../../../shared/modules/string-utils":4558,"../../../../helpers/constants/design-system":5355,"../../../../hooks/useI18nContext":5427,"../../../component-library/text-field-search/deprecated":5e3,"fuse.js":3407,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=p;var r=function(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=u(a);if(i&&i.has(e))return i.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in e)if("default"!==t&&Object.prototype.hasOwnProperty.call(e,t)){var o=n?Object.getOwnPropertyDescriptor(e,t):null;o&&(o.get||o.set)?Object.defineProperty(r,t,o):r[t]=e[t]}return r.default=e,i&&i.set(e,r),r}(e("react")),n=d(e("prop-types")),t=d(e("fuse.js")),o=e("../../../../../shared/modules/string-utils"),s=e("../../../component-library/text-field-search/deprecated"),l=e("../../../../helpers/constants/design-system"),c=e("../../../../hooks/useI18nContext");function d(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,i=new WeakMap;return(u=function(e){return e?i:a})(e)}const m=e=>Object.values(e),h=e=>new t.default(m(e),{shouldSort:!0,threshold:.45,location:0,distance:100,maxPatternLength:32,minMatchCharLength:1,keys:[{name:"name",weight:.5},{name:"symbol",weight:.5}]});function p({onSearch:e,error:a,tokenList:i,searchClassName:n}){const t=(0,c.useI18nContext)(),[d,u]=(0,r.useState)(""),[p,g]=(0,r.useState)(h(i));(0,r.useEffect)((()=>{g(h(i))}),[i]);return r.default.createElement(s.TextFieldSearch,{className:n,placeholder:t("searchTokens"),value:d,onChange:a=>(a=>{u(a);const r=p.search(a),n=[...m(i).filter((e=>e.address&&a&&(0,o.isEqualCaseInsensitive)(e.address,a))),...r];e({newSearchQuery:a,results:n})})(a.target.value),error:a,autoFocus:!0,autoComplete:!1,width:l.BlockSize.Full,clearButtonOnClick:()=>{u("")},clearButtonProps:{size:l.Size.SM}})}p.propTypes={onSearch:n.default.func.isRequired,error:n.default.object,tokenList:n.default.object.isRequired,searchClassName:n.default.string.isRequired}}}},{package:"$root$",file:"ui/components/app/import-token/token-search/token-search.component.js"}],[4648,{"../../../../shared/constants/network":4507,"../../../contexts/i18n":5324,"../../../helpers/constants/design-system":5355,"../../component-library":4955,"./network-toggle":4649,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var r=function(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=u(a);if(i&&i.has(e))return i.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in e)if("default"!==t&&Object.prototype.hasOwnProperty.call(e,t)){var o=n?Object.getOwnPropertyDescriptor(e,t):null;o&&(o.get||o.set)?Object.defineProperty(r,t,o):r[t]=e[t]}return r.default=e,i&&i.set(e,r),r}(e("react")),n=d(e("prop-types")),t=e("../../../contexts/i18n"),o=e("../../component-library"),s=e("../../../helpers/constants/design-system"),l=e("../../../../shared/constants/network"),c=d(e("./network-toggle"));function d(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,i=new WeakMap;return(u=function(e){return e?i:a})(e)}const m=({wrapperRef:e,incomingTransactionsPreferences:a,allNetworks:i,setIncomingTransactionsPreferences:n})=>{const l=(0,r.useContext)(t.I18nContext),[d,u]=(0,r.useState)(h(a,i));(0,r.useEffect)((()=>{u(h(a,i))}),[a,i]);const m=(e,a)=>{n(e,a)};return r.default.createElement(o.Box,{ref:e,className:"mm-incoming-transaction-toggle"},r.default.createElement(o.Text,{variant:s.TextVariant.bodyMd},l("showIncomingTransactions")),r.default.createElement(o.Text,{variant:s.TextVariant.bodySm,color:s.TextColor.textAlternative},l("showIncomingTransactionsExplainer")),Object.keys(d).map(((e,a)=>r.default.createElement(c.default,{key:a,chainId:e,networkPreferences:d[e],toggleSingleNetwork:m}))))};i.default=m;function h(e,a){const i={};return Object.keys(a).forEach((r=>{var n;const{chainId:t}=a[r];i[t]={isShowIncomingTransactions:e[t],isATestNetwork:l.TEST_CHAINS.includes(t),label:a[r].nickname,imageUrl:null===(n=a[r].rpcPrefs)||void 0===n?void 0:n.imageUrl}})),i}m.propTypes={wrapperRef:n.default.object,incomingTransactionsPreferences:n.default.object.isRequired,allNetworks:n.default.array.isRequired,setIncomingTransactionsPreferences:n.default.func.isRequired}}}},{package:"$root$",file:"ui/components/app/incoming-trasaction-toggle/incoming-transaction-toggle.tsx"}],[4649,{"../../../../shared/constants/network":4507,"../../../contexts/i18n":5324,"../../../helpers/constants/design-system":5355,"../../component-library":4955,"../../ui/toggle-button":5306,"../../ui/tooltip":5310,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var r=m(e("prop-types")),n=function(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=u(a);if(i&&i.has(e))return i.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in e)if("default"!==t&&Object.prototype.hasOwnProperty.call(e,t)){var o=n?Object.getOwnPropertyDescriptor(e,t):null;o&&(o.get||o.set)?Object.defineProperty(r,t,o):r[t]=e[t]}return r.default=e,i&&i.set(e,r),r}(e("react")),t=e("../../../../shared/constants/network"),o=e("../../../contexts/i18n"),s=e("../../../helpers/constants/design-system"),l=e("../../component-library"),c=m(e("../../ui/toggle-button")),d=m(e("../../ui/tooltip"));function u(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,i=new WeakMap;return(u=function(e){return e?i:a})(e)}function m(e){return e&&e.__esModule?e:{default:e}}const h=({networkPreferences:e,toggleSingleNetwork:a,chainId:i})=>{var r;const u=(0,n.useContext)(o.I18nContext),{isShowIncomingTransactions:m}=e,h=e.label,p=null===t.ETHERSCAN_SUPPORTED_NETWORKS||void 0===t.ETHERSCAN_SUPPORTED_NETWORKS?void 0:t.ETHERSCAN_SUPPORTED_NETWORKS[i],g=null==p?void 0:p.domain,b=(null==g||null===(r=g.charAt(0))||void 0===r?void 0:r.toUpperCase())+(null==g?void 0:g.slice(1));return n.default.createElement(l.Box,{marginTop:6,marginBottom:6,display:s.Display.Flex,flexDirection:s.FlexDirection.Row,gap:4,justifyContent:s.JustifyContent.spaceBetween,"data-testid":`network-toggle-${i}`,className:"network-toggle-wrapper"},n.default.createElement(l.Box,{backgroundColor:s.BackgroundColor.transparent,display:s.Display.Flex,alignItems:s.AlignItems.center,width:s.BlockSize.Full,gap:4,className:"network-toggle-wrapper__overflow-container"},n.default.createElement(l.AvatarNetwork,{size:l.AvatarNetworkSize.Sm,src:e.imageUrl,name:h}),n.default.createElement(l.Box,{display:s.Display.Flex,flexDirection:s.FlexDirection.Column,className:"network-toggle-wrapper__overflow-container"},h.length>20?n.default.createElement(d.default,{position:"bottom"},n.default.createElement(l.Text,{color:s.TextColor.textDefault,backgroundColor:s.BackgroundColor.transparent,variant:s.TextVariant.bodyMd,ellipsis:!0},h)):n.default.createElement(l.Text,{color:s.TextColor.textDefault,backgroundColor:s.BackgroundColor.transparent,variant:s.TextVariant.bodyMd,ellipsis:!0},h),n.default.createElement(l.Text,{color:s.TextColor.primaryDefault,backgroundColor:s.BackgroundColor.transparent,variant:s.TextVariant.bodySm,ellipsis:!0},g&&n.default.createElement("a",{key:`network_${g}_link`,href:`https://${g}`,rel:"noreferrer",target:"_blank"},b)))),n.default.createElement(l.Box,{marginLeft:"auto"},n.default.createElement(c.default,{value:m,onToggle:e=>a(i,!e),offLabel:u("off"),onLabel:u("on")})))};i.default=h;h.propTypes={chainId:r.default.string.isRequired,networkPreferences:r.default.object.isRequired,toggleSingleNetwork:r.default.func.isRequired}}}},{package:"$root$",file:"ui/components/app/incoming-trasaction-toggle/network-toggle.tsx"}],[4650,{"./loading-network-screen.container":4652},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return n.default}});var r,n=(r=e("./loading-network-screen.container"))&&r.__esModule?r:{default:r}}}},{package:"$root$",file:"ui/components/app/loading-network-screen/index.js"}],[4651,{"../../../../shared/constants/network":4507,"../../../../shared/constants/time":4518,"../../../helpers/constants/design-system":5355,"../../component-library":4955,"../../ui/box/box":5193,"../../ui/loading-screen":5256,"../../ui/popover/popover.component":5282,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var r=function(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=h(a);if(i&&i.has(e))return i.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in e)if("default"!==t&&Object.prototype.hasOwnProperty.call(e,t)){var o=n?Object.getOwnPropertyDescriptor(e,t):null;o&&(o.get||o.set)?Object.defineProperty(r,t,o):r[t]=e[t]}return r.default=e,i&&i.set(e,r),r}(e("react")),n=m(e("prop-types")),t=m(e("../../ui/loading-screen")),o=e("../../../../shared/constants/time"),s=e("../../../../shared/constants/network"),l=m(e("../../ui/popover/popover.component")),c=e("../../component-library"),d=e("../../../helpers/constants/design-system"),u=m(e("../../ui/box/box"));function m(e){return e&&e.__esModule?e:{default:e}}function h(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,i=new WeakMap;return(h=function(e){return e?i:a})(e)}function p(e,a,i){return(a=function(e){var a=function(e,a){if("object"!=typeof e||null===e)return e;var i=e[Symbol.toPrimitive];if(i!==undefined){var r=i.call(e,a||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===a?String:Number)(e)}(e,"string");return"symbol"==typeof a?a:String(a)}(a))in e?Object.defineProperty(e,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[a]=i,e}class g extends r.PureComponent{constructor(...e){super(...e),p(this,"state",{showErrorScreen:!1}),p(this,"componentDidMount",(()=>{this.cancelCallTimeout=setTimeout(this.cancelCall,this.props.cancelTime||15*o.SECOND)})),p(this,"getConnectingLabel",(function(e){if(e)return e;const{providerConfig:a,providerId:i}=this.props,r=a.type,{t:n}=this.context;if(s.DEPRECATED_NETWORKS.includes(a.chainId)){return n("connectingToDeprecatedNetwork",[a.nickname||a.type])}switch(r){case s.NETWORK_TYPES.MAINNET:return n("connectingToMainnet");case s.NETWORK_TYPES.GOERLI:return n("connectingToGoerli");case s.NETWORK_TYPES.SEPOLIA:return n("connectingToSepolia");case s.NETWORK_TYPES.LINEA_GOERLI:return n("connectingToLineaGoerli");case s.NETWORK_TYPES.LINEA_SEPOLIA:return n("connectingToLineaSepolia");case s.NETWORK_TYPES.LINEA_MAINNET:return n("connectingToLineaMainnet");default:return n("connectingTo",[i])}})),p(this,"renderConnectionFailureNotification",((e,a=!1)=>{const{showNetworkDropdown:i,setProviderArgs:n,setProviderType:t}=this.props;return r.default.createElement(l.default,{onClose:()=>{window.clearTimeout(this.cancelCallTimeout),this.setState({showErrorScreen:!1})},centerTitle:!0,title:r.default.createElement(c.Icon,{name:c.IconName.Danger,size:c.IconSize.Xl,color:d.IconColor.warningDefault})},r.default.createElement(c.Text,{variant:d.TextVariant.bodyLgMedium,textAlign:d.TextAlign.Center,margin:[0,4,4,4]},e),r.default.createElement(u.default,{display:d.DISPLAY.FLEX,padding:4,gap:2},r.default.createElement(c.ButtonSecondary,{onClick:()=>{window.clearTimeout(this.cancelCallTimeout),this.setState({showErrorScreen:!1}),i()},variant:d.TextVariant.bodySm,block:!0},this.context.t("switchNetworks")),a?r.default.createElement(c.ButtonPrimary,{onClick:()=>{this.setState({showErrorScreen:!1}),t(...n),window.clearTimeout(this.cancelCallTimeout),this.cancelCallTimeout=setTimeout(this.cancelCall,this.props.cancelTime||15*o.SECOND)},variant:d.TextVariant.bodySm,block:!0},this.context.t("tryAgain")):null))})),p(this,"renderDeprecatedRpcUrlWarning",(()=>this.renderConnectionFailureNotification(this.context.t("currentRpcUrlDeprecated"),!1))),p(this,"renderErrorScreenContent",(()=>{const{providerConfig:e}=this.props;return this.renderConnectionFailureNotification(this.context.t("networkSwitchConnectionError",[e.nickname]),!0)})),p(this,"cancelCall",(()=>{const{isNetworkLoading:e}=this.props;e&&this.setState({showErrorScreen:!0})})),p(this,"componentDidUpdate",(e=>{const{providerConfig:a}=this.props,{providerConfig:i}=e;a.type!==i.type&&(window.clearTimeout(this.cancelCallTimeout),this.setState({showErrorScreen:!1}),this.cancelCallTimeout=setTimeout(this.cancelCall,this.props.cancelTime||15*o.SECOND))})),p(this,"componentWillUnmount",(()=>{window.clearTimeout(this.cancelCallTimeout)}))}render(){const{rollbackToPreviousProvider:e,showDeprecatedRpcUrlWarning:a}=this.props;let i;return i=this.state.showErrorScreen?this.renderErrorScreenContent():a?this.renderDeprecatedRpcUrlWarning():this.getConnectingLabel(this.props.loadingMessage),r.default.createElement(t.default,{header:r.default.createElement("div",{className:"page-container__header-close",onClick:e}),showLoadingSpinner:!this.state.showErrorScreen,loadingMessage:i})}}i.default=g,p(g,"contextTypes",{t:n.default.func}),p(g,"propTypes",{loadingMessage:n.default.string,cancelTime:n.default.number,providerConfig:n.default.object,providerId:n.default.oneOfType([n.default.string,n.default.number]),showNetworkDropdown:n.default.func,setProviderArgs:n.default.array,setProviderType:n.default.func,rollbackToPreviousProvider:n.default.func,isNetworkLoading:n.default.bool,showDeprecatedRpcUrlWarning:n.default.bool})}}},{package:"$root$",file:"ui/components/app/loading-network-screen/loading-network-screen.component.js"}],[4652,{"../../../../shared/constants/network":4507,"../../../ducks/metamask/metamask":5346,"../../../selectors":5987,"../../../store/actions":5998,"./loading-network-screen.component":4651,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var r,n=e("react-redux"),t=e("../../../../shared/constants/network"),o=function(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=d(a);if(i&&i.has(e))return i.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in e)if("default"!==t&&Object.prototype.hasOwnProperty.call(e,t)){var o=n?Object.getOwnPropertyDescriptor(e,t):null;o&&(o.get||o.set)?Object.defineProperty(r,t,o):r[t]=e[t]}return r.default=e,i&&i.set(e,r),r}(e("../../../store/actions")),s=e("../../../selectors"),l=e("../../../ducks/metamask/metamask"),c=(r=e("./loading-network-screen.component"))&&r.__esModule?r:{default:r};function d(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,i=new WeakMap;return(d=function(e){return e?i:a})(e)}const u=["0x3","0x2a","0x4"];i.default=(0,n.connect)((e=>{const{loadingMessage:a}=e.appState,i=(0,l.getProviderConfig)(e),{rpcUrl:r,chainId:n,ticker:o,nickname:c,type:d}=i,m=d===t.NETWORK_TYPES.RPC?[r,n,o,c]:[d],h=n,p=u.includes(h),g=r&&new URL(r).host.endsWith(".infura.io"),b=p&&g;let y=c;if(y===undefined){const a=(0,s.getAllEnabledNetworks)(e).find((e=>e.chainId===n));a&&(y=a.nickname)}return{isNetworkLoading:(0,s.isNetworkLoading)(e),loadingMessage:a,setProviderArgs:m,providerConfig:{...i,nickname:y},providerId:(0,s.getNetworkIdentifier)(e),showDeprecatedRpcUrlWarning:b}}),(e=>({setProviderType:a=>{e(o.setProviderType(a))},rollbackToPreviousProvider:()=>e(o.rollbackToPreviousProvider()),showNetworkDropdown:()=>e(o.toggleNetworkMenu())})))(c.default)}}},{package:"$root$",file:"ui/components/app/loading-network-screen/loading-network-screen.container.js"}],[4653,{"./metamask-template-renderer":4654,"./section-shape":4656},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"SectionShape",{enumerable:!0,get:function(){return t.SectionShape}}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return n.default}});var r,n=(r=e("./metamask-template-renderer"))&&r.__esModule?r:{default:r},t=e("./section-shape")}}},{package:"$root$",file:"ui/components/app/metamask-template-renderer/index.js"}],[4654,{"./safe-component-list":4655,"./section-shape":4656,lodash:3836,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var r=function(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=s(a);if(i&&i.has(e))return i.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in e)if("default"!==t&&Object.prototype.hasOwnProperty.call(e,t)){var o=n?Object.getOwnPropertyDescriptor(e,t):null;o&&(o.get||o.set)?Object.defineProperty(r,t,o):r[t]=e[t]}return r.default=e,i&&i.set(e,r),r}(e("react")),n=e("lodash"),t=e("./safe-component-list"),o=e("./section-shape");function s(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,i=new WeakMap;return(s=function(e){return e?i:a})(e)}function l(){return l=Object.assign?Object.assign.bind():function(e){for(var a=1;a(i&&(e[a]=d(i)),e)),{})}const m=({sections:e})=>e?"string"==typeof e?e:e&&"object"==typeof e&&!Array.isArray(e)?d(e):r.default.createElement(r.default.Fragment,null,e.reduce(((e,a)=>{if(a===undefined||!0===(null==a?void 0:a.hide))return e;if("string"==typeof a)e.push(a);else{if(!a.key)throw new Error("When using array syntax in MetaMask Template Language, you must specify a key for each child of the array");if("object"==typeof(null==a?void 0:a.children))e.push(r.default.createElement(m,{sections:a,key:a.key}));else{const i=c(a),n=a.propComponents?u(a.propComponents):{};e.push(r.default.createElement(i,l({key:a.key},a.props,n),null==a?void 0:a.children))}}return e}),[])):null;m.propTypes={sections:o.ValidChildren};i.default=(0,r.memo)(m,((e,a)=>(0,n.isEqual)(e.sections,a.sections)))}}},{package:"$root$",file:"ui/components/app/metamask-template-renderer/metamask-template-renderer.js"}],[4655,{"../../../pages/confirmations/components/snap-account-error-message":5626,"../../../pages/confirmations/components/snap-account-success-message":5628,"../../../pages/confirmations/confirmation/components/confirmation-network-switch":5669,"../../../pages/create-snap-account":5737,"../../../pages/remove-snap-account":5824,"../../../pages/smart-transactions/smart-transaction-status-page":5885,"../../../pages/snap-account-redirect":5892,"../../component-library":4955,"../../multichain":5092,"../../ui/actionable-message/actionable-message":5190,"../../ui/box":5194,"../../ui/button":5198,"../../ui/chip":5205,"../../ui/definition-list":5211,"../../ui/popover":5281,"../../ui/spinner":5294,"../../ui/text-field":5302,"../../ui/textarea/textarea":5305,"../../ui/tooltip/tooltip":5311,"../../ui/truncated-definition-list":5312,"../../ui/typography":5314,"../../ui/url-icon":5319,"../confirm/info/row":4599,"../metamask-translation":4657,"../network-display":4714,"../snaps/copyable":4759,"../snaps/snap-authorship-header":4770,"../snaps/snap-delineator":4775,"../snaps/snap-ui-button":4798,"../snaps/snap-ui-dropdown":4800,"../snaps/snap-ui-form":4802,"../snaps/snap-ui-image":4804,"../snaps/snap-ui-input":4806,"../snaps/snap-ui-link":4808,"../snaps/snap-ui-markdown":4810},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.safeComponentList=void 0;var r=R(e("../../ui/button")),n=R(e("../../ui/chip")),t=R(e("../../ui/definition-list")),o=R(e("../../ui/truncated-definition-list")),s=R(e("../../ui/popover")),l=R(e("../../ui/typography")),c=R(e("../../ui/box")),d=R(e("../metamask-translation")),u=R(e("../network-display")),m=R(e("../../ui/textarea/textarea")),h=R(e("../../ui/text-field")),p=R(e("../../../pages/confirmations/confirmation/components/confirmation-network-switch")),g=R(e("../../ui/url-icon")),b=R(e("../../ui/tooltip/tooltip")),y=e("../../component-library"),f=R(e("../../ui/actionable-message/actionable-message")),k=e("../../multichain"),v=e("../confirm/info/row"),w=e("../snaps/snap-delineator"),j=e("../snaps/copyable"),z=R(e("../../ui/spinner")),x=e("../snaps/snap-ui-markdown"),q=e("../snaps/snap-ui-link"),_=e("../../../pages/smart-transactions/smart-transaction-status-page"),M=e("../snaps/snap-ui-image"),T=e("../snaps/snap-ui-input"),E=e("../snaps/snap-ui-form"),O=e("../snaps/snap-ui-button"),C=e("../snaps/snap-ui-dropdown"),P=e("../../../pages/confirmations/components/snap-account-success-message"),S=e("../../../pages/confirmations/components/snap-account-error-message"),N=e("../../../pages/create-snap-account"),I=e("../../../pages/remove-snap-account"),A=e("../../../pages/snap-account-redirect"),D=R(e("../snaps/snap-authorship-header"));function R(e){return e&&e.__esModule?e:{default:e}}i.safeComponentList={a:"a",ActionableMessage:f.default,AccountListItem:k.AccountListItem,AvatarIcon:y.AvatarIcon,b:"b",Box:c.default,Button:r.default,Chip:n.default,ConfirmationNetworkSwitch:p.default,DefinitionList:t.default,div:"div",i:"i",MetaMaskTranslation:d.default,NetworkDisplay:u.default,p:"p",Popover:s.default,span:"span",Text:y.Text,TextArea:m.default,TextField:h.default,Tooltip:b.default,TruncatedDefinitionList:o.default,Typography:l.default,SmartTransactionStatusPage:_.SmartTransactionStatusPage,UrlIcon:g.default,Copyable:j.Copyable,SnapDelineator:w.SnapDelineator,SnapUIMarkdown:x.SnapUIMarkdown,SnapUILink:q.SnapUILink,SnapUIImage:M.SnapUIImage,Spinner:z.default,ConfirmInfoRow:v.ConfirmInfoRow,ConfirmInfoRowAddress:v.ConfirmInfoRowAddress,ConfirmInfoRowValueDouble:v.ConfirmInfoRowValueDouble,SnapUIInput:T.SnapUIInput,SnapUIButton:O.SnapUIButton,SnapUIForm:E.SnapUIForm,SnapUIDropdown:C.SnapUIDropdown,CreateSnapAccount:N.CreateSnapAccount,RemoveSnapAccount:I.RemoveSnapAccount,SnapAccountSuccessMessage:P.SnapAccountSuccessMessage,SnapAccountErrorMessage:S.SnapAccountErrorMessage,SnapAuthorshipHeader:D.default,SnapAccountRedirect:A.SnapAccountRedirect,SnapAccountCard:I.SnapAccountCard}}}},{package:"$root$",file:"ui/components/app/metamask-template-renderer/safe-component-list.js"}],[4656,{"prop-types":3997},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.ValidChildren=i.SectionShape=void 0;var r,n=(r=e("prop-types"))&&r.__esModule?r:{default:r};const t=i.SectionShape={props:n.default.object,propComponents:n.default.object,element:n.default.string,key:n.default.string},o=i.ValidChildren=n.default.oneOfType([n.default.string,n.default.shape(t),n.default.arrayOf(n.default.oneOfType([n.default.shape(t),n.default.string]))]);t.children=o}}},{package:"$root$",file:"ui/components/app/metamask-template-renderer/section-shape.js"}],[4657,{"./metamask-translation":4658},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return n.default}});var r,n=(r=e("./metamask-translation"))&&r.__esModule?r:{default:r}}}},{package:"$root$",file:"ui/components/app/metamask-translation/index.js"}],[4658,{"../../../hooks/useI18nContext":5427,"../metamask-template-renderer":4653,"../metamask-template-renderer/section-shape":4656,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=c;var r=l(e("react")),n=l(e("prop-types")),t=e("../../../hooks/useI18nContext"),o=l(e("../metamask-template-renderer")),s=e("../metamask-template-renderer/section-shape");function l(e){return e&&e.__esModule?e:{default:e}}function c({translationKey:e,variables:a}){return(0,t.useI18nContext)()(e,null==a?void 0:a.map((a=>{if("object"==typeof a&&!Array.isArray(a)&&a.element){var i,n;if(!a.key)throw new Error(`When using MetaMask Template Language in a MetaMaskTranslation variable, you must provide a key for the section regardless of syntax.\n Section with element '${a.element}' for translationKey: '${e}' has no key property`);if(a.children&&Array.isArray(a.children)&&a.children.length>2)throw new Error("MetaMaskTranslation only renders templates with a single section and maximum two children");if((null===(i=a.children)||void 0===i||null===(i=i[0])||void 0===i?void 0:i.children)!==undefined&&"string"!=typeof a.children[0].children||(null===(n=a.children)||void 0===n||null===(n=n[1])||void 0===n?void 0:n.children)!==undefined&&"string"!=typeof a.children[1].children)throw new Error("MetaMaskTranslation does not allow for component trees of non trivial depth");return r.default.createElement(o.default,{key:`${e}-${a.key}`,sections:a})}return a})))}c.propTypes={translationKey:n.default.string.isRequired,variables:n.default.arrayOf(n.default.oneOfType([n.default.string,n.default.number,n.default.shape(s.SectionShape)]))}}}},{package:"$root$",file:"ui/components/app/metamask-translation/metamask-translation.js"}],[4659,{"./modal-content":4660,"./modal.component":4662},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"ModalContent",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return r.default}});var r=t(e("./modal.component")),n=t(e("./modal-content"));function t(e){return e&&e.__esModule?e:{default:e}}}}},{package:"$root$",file:"ui/components/app/modal/index.js"}],[4660,{"./modal-content.component":4661},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return n.default}});var r,n=(r=e("./modal-content.component"))&&r.__esModule?r:{default:r}}}},{package:"$root$",file:"ui/components/app/modal/modal-content/index.js"}],[4661,{"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var r,n=function(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=o(a);if(i&&i.has(e))return i.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in e)if("default"!==t&&Object.prototype.hasOwnProperty.call(e,t)){var s=n?Object.getOwnPropertyDescriptor(e,t):null;s&&(s.get||s.set)?Object.defineProperty(r,t,s):r[t]=e[t]}return r.default=e,i&&i.set(e,r),r}(e("react")),t=(r=e("prop-types"))&&r.__esModule?r:{default:r};function o(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,i=new WeakMap;return(o=function(e){return e?i:a})(e)}class s extends n.PureComponent{render(){const{title:e,description:a}=this.props;return n.default.createElement("div",{className:"modal-content"},e?n.default.createElement("div",{className:"modal-content__title"},e):null,a&&n.default.createElement("div",{className:"modal-content__description"},a))}}i.default=s,function(e,a,i){(a=function(e){var a=function(e,a){if("object"!=typeof e||null===e)return e;var i=e[Symbol.toPrimitive];if(i!==undefined){var r=i.call(e,a||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===a?String:Number)(e)}(e,"string");return"symbol"==typeof a?a:String(a)}(a))in e?Object.defineProperty(e,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[a]=i}(s,"propTypes",{title:t.default.string,description:t.default.string})}}},{package:"$root$",file:"ui/components/app/modal/modal-content/modal-content.component.js"}],[4662,{"../../ui/button":5198,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var r=function(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=l(a);if(i&&i.has(e))return i.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in e)if("default"!==t&&Object.prototype.hasOwnProperty.call(e,t)){var o=n?Object.getOwnPropertyDescriptor(e,t):null;o&&(o.get||o.set)?Object.defineProperty(r,t,o):r[t]=e[t]}return r.default=e,i&&i.set(e,r),r}(e("react")),n=s(e("prop-types")),t=s(e("classnames")),o=s(e("../../ui/button"));function s(e){return e&&e.__esModule?e:{default:e}}function l(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,i=new WeakMap;return(l=function(e){return e?i:a})(e)}function c(e,a,i){return(a=function(e){var a=function(e,a){if("object"!=typeof e||null===e)return e;var i=e[Symbol.toPrimitive];if(i!==undefined){var r=i.call(e,a||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===a?String:Number)(e)}(e,"string");return"symbol"==typeof a?a:String(a)}(a))in e?Object.defineProperty(e,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[a]=i,e}class d extends r.PureComponent{render(){const{children:e,headerText:a,onClose:i,onSubmit:n,submitType:s,submitText:l,submitDisabled:c,onCancel:d,cancelType:u,cancelText:m,contentClass:h,containerClass:p,hideFooter:g,testId:b}=this.props;return r.default.createElement("div",{className:(0,t.default)("modal-container",p),"data-testid":b},a&&r.default.createElement("div",{className:"modal-container__header"},r.default.createElement("div",{className:"modal-container__header-text"},a),r.default.createElement("div",{className:"modal-container__header-close","data-testid":"modal-header-close",onClick:i})),r.default.createElement("div",{className:(0,t.default)("modal-container__content",h)},e),g?null:r.default.createElement("div",{className:"modal-container__footer"},d&&r.default.createElement(o.default,{type:u,onClick:d,className:"modal-container__footer-button"},m),r.default.createElement(o.default,{type:s,onClick:n,disabled:c,className:"modal-container__footer-button"},l)))}}i.default=d,c(d,"propTypes",{children:n.default.node,contentClass:n.default.string,containerClass:n.default.string,testId:n.default.string,headerText:n.default.string,onClose:n.default.func,onSubmit:n.default.func,submitType:n.default.string,submitText:n.default.string,submitDisabled:n.default.bool,hideFooter:n.default.bool,onCancel:n.default.func,cancelType:n.default.string,cancelText:n.default.string}),c(d,"defaultProps",{submitType:"primary",cancelType:"secondary"})}}},{package:"$root$",file:"ui/components/app/modal/modal.component.js"}],[4663,{"../../modal":4659,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var r,n=l(e("react")),t=(r=e("prop-types"))&&r.__esModule?r:{default:r},o=l(e("../../modal"));function s(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,i=new WeakMap;return(s=function(e){return e?i:a})(e)}function l(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=s(a);if(i&&i.has(e))return i.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in e)if("default"!==t&&Object.prototype.hasOwnProperty.call(e,t)){var o=n?Object.getOwnPropertyDescriptor(e,t):null;o&&(o.get||o.set)?Object.defineProperty(r,t,o):r[t]=e[t]}return r.default=e,i&&i.set(e,r),r}function c(e,a,i){return(a=function(e){var a=function(e,a){if("object"!=typeof e||null===e)return e;var i=e[Symbol.toPrimitive];if(i!==undefined){var r=i.call(e,a||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===a?String:Number)(e)}(e,"string");return"symbol"==typeof a?a:String(a)}(a))in e?Object.defineProperty(e,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[a]=i,e}class d extends n.PureComponent{constructor(...e){super(...e),c(this,"handleDelete",(async()=>{await this.props.removeNetworkConfiguration(this.props.target),this.props.onConfirm(),this.props.hideModal()}))}render(){const{t:e}=this.context,{networkNickname:a}=this.props;return n.default.createElement(o.default,{onSubmit:this.handleDelete,onCancel:()=>this.props.hideModal(),submitText:e("delete"),cancelText:e("cancel"),submitType:"danger-primary",testId:"confirm-delete-network-modal"},n.default.createElement(o.ModalContent,{title:e("deleteNetworkTitle",[a]),description:e("deleteNetworkIntro")}))}}i.default=d,c(d,"propTypes",{hideModal:t.default.func.isRequired,removeNetworkConfiguration:t.default.func.isRequired,onConfirm:t.default.func.isRequired,target:t.default.string.isRequired,networkNickname:t.default.string.isRequired}),c(d,"contextTypes",{t:t.default.func})}}},{package:"$root$",file:"ui/components/app/modals/confirm-delete-network/confirm-delete-network.component.js"}],[4664,{"../../../../helpers/higher-order-components/with-modal-props":5376,"../../../../selectors":5987,"../../../../store/actions":5998,"./confirm-delete-network.component":4663,"react-redux":4199,redux:4261},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var r=e("react-redux"),n=e("redux"),t=c(e("../../../../helpers/higher-order-components/with-modal-props")),o=e("../../../../store/actions"),s=e("../../../../selectors"),l=c(e("./confirm-delete-network.component"));function c(e){return e&&e.__esModule?e:{default:e}}i.default=(0,n.compose)(t.default,(0,r.connect)(((e,a)=>({networkNickname:(0,s.getNetworkConfigurations)(e)[a.target].nickname})),(e=>({removeNetworkConfiguration:a=>e((0,o.removeNetworkConfiguration)(a))}))))(l.default)}}},{package:"$root$",file:"ui/components/app/modals/confirm-delete-network/confirm-delete-network.container.js"}],[4665,{"./confirm-delete-network.container":4664},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return n.default}});var r,n=(r=e("./confirm-delete-network.container"))&&r.__esModule?r:{default:r}}}},{package:"$root$",file:"ui/components/app/modals/confirm-delete-network/index.js"}],[4666,{"../../../../../shared/constants/metametrics":4505,"../../../../helpers/constants/zendesk-url":5368,"../../../../helpers/utils/util":5399,"../../../ui/identicon":5247,"../../modal":4659,"@metamask/etherscan-link":1369,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var r=function(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=m(a);if(i&&i.has(e))return i.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in e)if("default"!==t&&Object.prototype.hasOwnProperty.call(e,t)){var o=n?Object.getOwnPropertyDescriptor(e,t):null;o&&(o.get||o.set)?Object.defineProperty(r,t,o):r[t]=e[t]}return r.default=e,i&&i.set(e,r),r}(e("react")),n=u(e("prop-types")),t=e("@metamask/etherscan-link"),o=u(e("../../modal")),s=e("../../../../helpers/utils/util"),l=u(e("../../../ui/identicon")),c=e("../../../../../shared/constants/metametrics"),d=u(e("../../../../helpers/constants/zendesk-url"));function u(e){return e&&e.__esModule?e:{default:e}}function m(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,i=new WeakMap;return(m=function(e){return e?i:a})(e)}function h(e,a,i){return(a=function(e){var a=function(e,a){if("object"!=typeof e||null===e)return e;var i=e[Symbol.toPrimitive];if(i!==undefined){var r=i.call(e,a||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===a?String:Number)(e)}(e,"string");return"symbol"==typeof a?a:String(a)}(a))in e?Object.defineProperty(e,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[a]=i,e}class p extends r.Component{constructor(...e){super(...e),h(this,"handleRemove",(()=>{this.props.removeAccount(this.props.account.address).then((()=>this.props.hideModal()))})),h(this,"handleCancel",(()=>{this.props.hideModal()}))}renderSelectedAccount(){const{t:e}=this.context,{account:a,rpcPrefs:i,chainId:n}=this.props;return r.default.createElement("div",{className:"confirm-remove-account__account"},r.default.createElement("div",{className:"confirm-remove-account__account__identicon"},r.default.createElement(l.default,{address:a.address,diameter:32})),r.default.createElement("div",{className:"confirm-remove-account__account__name"},r.default.createElement("span",{className:"confirm-remove-account__account__label"},e("name")),r.default.createElement("span",{className:"account_value"},a.metadata.name)),r.default.createElement("div",{className:"confirm-remove-account__account__address"},r.default.createElement("span",{className:"confirm-remove-account__account__label"},e("publicAddress")),r.default.createElement("span",{className:"account_value"},(0,s.addressSummary)(a.address,4,4))),r.default.createElement("div",{className:"confirm-remove-account__account__link"},r.default.createElement("a",{onClick:()=>{const e=(0,t.getAccountLink)(a.address,n,i);this.context.trackEvent({category:c.MetaMetricsEventCategory.Accounts,event:"Clicked Block Explorer Link",properties:{link_type:"Account Tracker",action:"Remove Account",block_explorer_domain:(0,s.getURLHostName)(e)}}),global.platform.openTab({url:e})},target:"_blank",rel:"noopener noreferrer",title:e("etherscanView")},r.default.createElement("i",{className:"fa fa-share-square",style:{color:"var(--color-icon-muted)"},title:e("etherscanView")}))))}render(){const{t:e}=this.context;return r.default.createElement(o.default,{headerText:`${e("removeAccount")}?`,onClose:this.handleCancel,onSubmit:this.handleRemove,onCancel:this.handleCancel,submitText:e("remove"),cancelText:e("nevermind")},r.default.createElement("div",null,this.renderSelectedAccount(),r.default.createElement("div",{className:"confirm-remove-account__description"},e("removeAccountDescription"),r.default.createElement("a",{className:"confirm-remove-account__link",rel:"noopener noreferrer",target:"_blank",href:d.default.IMPORTED_ACCOUNTS},e("learnMore")))))}}i.default=p,h(p,"propTypes",{hideModal:n.default.func.isRequired,removeAccount:n.default.func.isRequired,account:n.default.shape({id:n.default.string.isRequired,address:n.default.string.isRequired,metadata:n.default.shape({name:n.default.string.isRequired,snap:n.default.shape({id:n.default.string.isRequired,name:n.default.string,enabled:n.default.bool}),keyring:n.default.shape({type:n.default.string.isRequired}).isRequired}).isRequired}).isRequired,chainId:n.default.string.isRequired,rpcPrefs:n.default.object.isRequired}),h(p,"contextTypes",{t:n.default.func,trackEvent:n.default.func})}}},{package:"$root$",file:"ui/components/app/modals/confirm-remove-account/confirm-remove-account.component.js"}],[4667,{"../../../../helpers/higher-order-components/with-modal-props":5376,"../../../../selectors":5987,"../../../../store/actions":5998,"./confirm-remove-account.component":4666,"react-redux":4199,redux:4261},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var r=e("react-redux"),n=e("redux"),t=c(e("../../../../helpers/higher-order-components/with-modal-props")),o=e("../../../../selectors"),s=e("../../../../store/actions"),l=c(e("./confirm-remove-account.component"));function c(e){return e&&e.__esModule?e:{default:e}}i.default=(0,n.compose)(t.default,(0,r.connect)((e=>({chainId:(0,o.getCurrentChainId)(e),rpcPrefs:(0,o.getRpcPrefsForCurrentProvider)(e)})),(e=>({removeAccount:a=>e((0,s.removeAccount)(a))}))))(l.default)}}},{package:"$root$",file:"ui/components/app/modals/confirm-remove-account/confirm-remove-account.container.js"}],[4668,{"./confirm-remove-account.container":4667},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return n.default}});var r,n=(r=e("./confirm-remove-account.container"))&&r.__esModule?r:{default:r}}}},{package:"$root$",file:"ui/components/app/modals/confirm-remove-account/index.js"}],[4669,{"../../modal":4659,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var r,n=l(e("react")),t=(r=e("prop-types"))&&r.__esModule?r:{default:r},o=l(e("../../modal"));function s(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,i=new WeakMap;return(s=function(e){return e?i:a})(e)}function l(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=s(a);if(i&&i.has(e))return i.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in e)if("default"!==t&&Object.prototype.hasOwnProperty.call(e,t)){var o=n?Object.getOwnPropertyDescriptor(e,t):null;o&&(o.get||o.set)?Object.defineProperty(r,t,o):r[t]=e[t]}return r.default=e,i&&i.set(e,r),r}function c(e,a,i){return(a=function(e){var a=function(e,a){if("object"!=typeof e||null===e)return e;var i=e[Symbol.toPrimitive];if(i!==undefined){var r=i.call(e,a||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===a?String:Number)(e)}(e,"string");return"symbol"==typeof a?a:String(a)}(a))in e?Object.defineProperty(e,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[a]=i,e}class d extends n.PureComponent{constructor(...e){super(...e),c(this,"handleReset",(()=>{this.props.resetAccount().then((()=>this.props.hideModal()))}))}render(){const{t:e}=this.context;return n.default.createElement(o.default,{onSubmit:this.handleReset,onCancel:()=>this.props.hideModal(),submitText:e("clear"),cancelText:e("nevermind"),submitType:"danger-primary"},n.default.createElement(o.ModalContent,{title:`${e("clearActivity")}?`,description:e("clearActivityDescription")}))}}i.default=d,c(d,"propTypes",{hideModal:t.default.func.isRequired,resetAccount:t.default.func.isRequired}),c(d,"contextTypes",{t:t.default.func})}}},{package:"$root$",file:"ui/components/app/modals/confirm-reset-account/confirm-reset-account.component.js"}],[4670,{"../../../../helpers/higher-order-components/with-modal-props":5376,"../../../../store/actions":5998,"./confirm-reset-account.component":4669,"react-redux":4199,redux:4261},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var r=e("react-redux"),n=e("redux"),t=l(e("../../../../helpers/higher-order-components/with-modal-props")),o=e("../../../../store/actions"),s=l(e("./confirm-reset-account.component"));function l(e){return e&&e.__esModule?e:{default:e}}i.default=(0,n.compose)(t.default,(0,r.connect)(null,(e=>({resetAccount:()=>e((0,o.resetAccount)())}))))(s.default)}}},{package:"$root$",file:"ui/components/app/modals/confirm-reset-account/confirm-reset-account.container.js"}],[4671,{"./confirm-reset-account.container":4670},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return n.default}});var r,n=(r=e("./confirm-reset-account.container"))&&r.__esModule?r:{default:r}}}},{package:"$root$",file:"ui/components/app/modals/confirm-reset-account/index.js"}],[4672,{"../../../../contexts/i18n":5324,"../../../../helpers/constants/design-system":5355,"../../../../hooks/useModalProps":5430,"../../../component-library":4955,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(){const{props:e,hideModal:a}=(0,n.useModalProps)(),{turnOffProfileSyncing:i}=e,l=(0,r.useContext)(s.I18nContext),c=()=>{a()};return r.default.createElement(t.Modal,{isOpen:!0,onClose:c,"data-testid":"turn-off-sync-modal"},r.default.createElement(t.ModalOverlay,{"data-testid":"modal-overlay"}),r.default.createElement(t.ModalContent,{size:t.ModalContentSize.Md,"data-testid":"modal-content"},r.default.createElement(t.ModalHeader,{onClose:c,"data-testid":"modal-header"},l("areYouSure")),r.default.createElement(t.ModalBody,{"data-testid":"modal-body"},r.default.createElement(t.Text,{textAlign:o.TextAlign.Center,as:"p","data-testid":"confirmation-text"},l("profileSyncConfirmation"))),r.default.createElement(t.ModalFooter,{paddingTop:4,onSubmit:c,onCancel:async()=>{i(),a()},containerProps:{flexDirection:o.FlexDirection.Row,alignItems:o.AlignItems.stretch},submitButtonProps:{children:l("cancel"),size:t.ButtonSize.Lg,"data-testid":"cancel-button"},cancelButtonProps:{children:l("turnOff"),size:t.ButtonSize.Lg,"data-testid":"submit-button"},"data-testid":"modal-footer"})))};var r=function(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=l(a);if(i&&i.has(e))return i.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in e)if("default"!==t&&Object.prototype.hasOwnProperty.call(e,t)){var o=n?Object.getOwnPropertyDescriptor(e,t):null;o&&(o.get||o.set)?Object.defineProperty(r,t,o):r[t]=e[t]}return r.default=e,i&&i.set(e,r),r}(e("react")),n=e("../../../../hooks/useModalProps"),t=e("../../../component-library"),o=e("../../../../helpers/constants/design-system"),s=e("../../../../contexts/i18n");function l(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,i=new WeakMap;return(l=function(e){return e?i:a})(e)}}}},{package:"$root$",file:"ui/components/app/modals/confirm-turn-off-profile-syncing/confirm-turn-off-profile-syncing.tsx"}],[4673,{"./confirm-turn-off-profile-syncing":4672},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return n.default}});var r,n=(r=e("./confirm-turn-off-profile-syncing"))&&r.__esModule?r:{default:r}}}},{package:"$root$",file:"ui/components/app/modals/confirm-turn-off-profile-syncing/index.ts"}],[4674,{"../../../../../shared/modules/string-utils":4558,"../../../../ducks/metamask/metamask":5346,"../../../../helpers/constants/design-system":5355,"../../../../helpers/constants/routes":5361,"../../../../helpers/higher-order-components/with-modal-props":5376,"../../../../hooks/useI18nContext":5427,"../../../../store/actions":5998,"../../../ui/typography":5314,"../../modal":4659,"prop-types":3997,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var r=b(e("react")),n=b(e("prop-types")),t=e("react-router-dom"),o=e("react-redux"),s=b(e("../../modal")),l=b(e("../../../ui/typography")),c=e("../../../../helpers/constants/design-system"),d=b(e("../../../../helpers/higher-order-components/with-modal-props")),u=e("../../../../hooks/useI18nContext"),m=e("../../../../helpers/constants/routes"),h=e("../../../../ducks/metamask/metamask"),p=e("../../../../store/actions"),g=e("../../../../../shared/modules/string-utils");function b(e){return e&&e.__esModule?e:{default:e}}const y=({hideModal:e,tokenAddress:a})=>{const i=(0,t.useHistory)(),n=(0,u.useI18nContext)(),d=(0,o.useDispatch)(),b=(0,o.useSelector)(h.getNfts).find((({address:e})=>(0,g.isEqualCaseInsensitive)(e,a)));return r.default.createElement(s.default,{onSubmit:async()=>{if(b){await d((0,p.ignoreTokens)({tokensToIgnore:a,dontShowLoadingIndicator:!0}));const{tokenId:e}=b;i.push({pathname:`${m.ASSET_ROUTE}/${a}/${e}`})}else d((0,p.showImportNftsModal)({tokenAddress:a,ignoreErc20Token:!0}));e()},submitText:n("yes"),onCancel:()=>e(),cancelText:n("cancel")},r.default.createElement("div",{className:"convert-token-to-nft-modal"},r.default.createElement(l.default,{variant:c.TypographyVariant.H6,boxProps:{marginTop:2}},n(b?"convertTokenToNFTExistDescription":"convertTokenToNFTDescription"))))};y.propTypes={hideModal:n.default.func.isRequired,tokenAddress:n.default.string};i.default=(0,d.default)(y)}}},{package:"$root$",file:"ui/components/app/modals/convert-token-to-nft-modal/convert-token-to-nft-modal.js"}],[4675,{"../../../../helpers/constants/design-system":5355,"../../../../helpers/constants/zendesk-url":5368,"../../../../helpers/higher-order-components/with-modal-props":5376,"../../../../hooks/useI18nContext":5427,"../../../component-library":4955,"../../../ui/text-field":5302,"../../modal":4659,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var r=function(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=h(a);if(i&&i.has(e))return i.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in e)if("default"!==t&&Object.prototype.hasOwnProperty.call(e,t)){var o=n?Object.getOwnPropertyDescriptor(e,t):null;o&&(o.get||o.set)?Object.defineProperty(r,t,o):r[t]=e[t]}return r.default=e,i&&i.set(e,r),r}(e("react")),n=m(e("prop-types")),t=m(e("../../modal")),o=m(e("../../../ui/text-field")),s=e("../../../../helpers/constants/design-system"),l=m(e("../../../../helpers/higher-order-components/with-modal-props")),c=e("../../../../hooks/useI18nContext"),d=m(e("../../../../helpers/constants/zendesk-url")),u=e("../../../component-library");function m(e){return e&&e.__esModule?e:{default:e}}function h(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,i=new WeakMap;return(h=function(e){return e?i:a})(e)}const p=({hideModal:e,customNonceValue:a,nextNonce:i,updateCustomNonce:n,getNextNonce:l})=>{const[m,h]=(0,r.useState)(""),p=(0,c.useI18nContext)();return r.default.createElement(t.default,{onSubmit:()=>{n(""===m?a:m),l(),e()},submitText:p("save"),onCancel:()=>e(),cancelText:p("cancel"),contentClass:"customize-nonce-modal-content",containerClass:"customize-nonce-modal-container"},r.default.createElement("div",{className:"customize-nonce-modal"},r.default.createElement("div",{className:"customize-nonce-modal__main-header"},r.default.createElement(u.Text,{className:"customize-nonce-modal__main-title",variant:s.TextVariant.headingSm,as:"h4"},p("editNonceField")),r.default.createElement(u.ButtonIcon,{iconName:u.IconName.Close,className:"customize-nonce-modal__close",size:u.ButtonIconSize.Sm,ariaLabel:p("close"),onClick:e})),r.default.createElement(u.Box,{marginTop:2,display:s.Display.InlineFlex,alignItems:s.AlignItems.center},r.default.createElement(u.Text,{variant:s.TextVariant.bodyMd,as:"h6"},p("editNonceMessage"),r.default.createElement(u.ButtonLink,{className:"customize-nonce-modal__link",rel:"noopener noreferrer",target:"_blank",href:d.default.CUSTOMIZE_NONCE},p("learnMoreUpperCase")))),r.default.createElement(u.Box,{marginTop:4},r.default.createElement(u.Box,{alignItems:s.AlignItems.center,display:s.Display.Flex},r.default.createElement(u.Text,{variant:s.TextVariant.bodyMdBold,as:"h6",width:s.BlockSize.FiveSixths},p("editNonceField")),r.default.createElement(u.Box,{width:s.BlockSize.OneSixth},r.default.createElement(u.ButtonLink,{className:"customize-nonce-modal__reset","data-testid":"customize-nonce-reset",onClick:()=>{h(i)}},p("reset")))),r.default.createElement("div",{className:"customize-nonce-modal__input"},r.default.createElement(o.default,{type:"number","data-testid":"custom-nonce-input",min:"0",placeholder:a||"number"==typeof i&&i.toString(),onChange:e=>{h(e.target.value)},fullWidth:!0,margin:"dense",value:m,id:"custom-nonce-id"})))))};p.propTypes={hideModal:n.default.func.isRequired,customNonceValue:n.default.string,nextNonce:n.default.number,updateCustomNonce:n.default.func,getNextNonce:n.default.func};i.default=(0,l.default)(p)}}},{package:"$root$",file:"ui/components/app/modals/customize-nonce/customize-nonce.component.js"}],[4676,{"./customize-nonce.component":4675},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return n.default}});var r,n=(r=e("./customize-nonce.component"))&&r.__esModule?r:{default:r}}}},{package:"$root$",file:"ui/components/app/modals/customize-nonce/index.js"}],[4677,{"../../../../../shared/lib/transactions-controller-utils":4531,"../../../component-library":4955,"../../../ui/identicon":5247,"../../../ui/text-field":5302,"../../modal":4659,"bignumber.js":2933,classnames:3049,loglevel:3842,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var r=function(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=p(a);if(i&&i.has(e))return i.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in e)if("default"!==t&&Object.prototype.hasOwnProperty.call(e,t)){var o=n?Object.getOwnPropertyDescriptor(e,t):null;o&&(o.get||o.set)?Object.defineProperty(r,t,o):r[t]=e[t]}return r.default=e,i&&i.set(e,r),r}(e("react")),n=h(e("prop-types")),t=h(e("loglevel")),o=h(e("classnames")),s=h(e("bignumber.js")),l=h(e("../../modal")),c=h(e("../../../ui/identicon")),d=h(e("../../../ui/text-field")),u=e("../../../../../shared/lib/transactions-controller-utils"),m=e("../../../component-library");function h(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,i=new WeakMap;return(p=function(e){return e?i:a})(e)}function g(e,a,i){return(a=function(e){var a=function(e,a){if("object"!=typeof e||null===e)return e;var i=e[Symbol.toPrimitive];if(i!==undefined){var r=i.call(e,a||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===a?String:Number)(e)}(e,"string");return"symbol"==typeof a?a:String(a)}(a))in e?Object.defineProperty(e,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[a]=i,e}const b=new s.default(2).pow(256).minus(1).toString(10);class y extends r.PureComponent{constructor(...e){super(...e),g(this,"state",{customSpendLimit:this.props.customTokenAmount||"",selectedOptionIsUnlimited:!this.props.customTokenAmount})}renderModalContent(e){const{t:a}=this.context,{hideModal:i,selectedAccount:n,tokenAmount:t,tokenSymbol:l,tokenBalance:h,customTokenAmount:p,origin:g}=this.props,{name:y,address:f}=n||{},{selectedOptionIsUnlimited:k}=this.state;return r.default.createElement("div",{className:"edit-approval-permission"},r.default.createElement("div",{className:"edit-approval-permission__header"},r.default.createElement("div",{className:"edit-approval-permission__title"},a("editPermission")),r.default.createElement(m.ButtonIcon,{iconName:m.IconName.Close,size:m.ButtonIconSize.Lg,className:"edit-approval-permission__header__close",onClick:i})),r.default.createElement("div",{className:"edit-approval-permission__account-info"},r.default.createElement("div",{className:"edit-approval-permission__account-info__account"},r.default.createElement(c.default,{address:f,diameter:32}),r.default.createElement("div",{className:"edit-approval-permission__name-and-balance-container"},r.default.createElement("div",{className:"edit-approval-permission__account-info__name"},y),r.default.createElement("div",null,a("balance")))),r.default.createElement("div",{className:"edit-approval-permission__account-info__balance"},`${(0,u.toPrecisionWithoutTrailingZeros)(h,9)} ${l}`)),r.default.createElement("div",{className:"edit-approval-permission__edit-section"},r.default.createElement("div",{className:"edit-approval-permission__edit-section__title"},a("spendLimitPermission")),r.default.createElement("div",{className:"edit-approval-permission__edit-section__description"},a("allowWithdrawAndSpend",[g])),r.default.createElement("div",{className:"edit-approval-permission__edit-section__option"},r.default.createElement("div",{className:"edit-approval-permission__edit-section__radio-button",onClick:()=>this.setState({selectedOptionIsUnlimited:!0})},r.default.createElement("div",{className:(0,o.default)({"edit-approval-permission__edit-section__radio-button-outline":!k,"edit-approval-permission__edit-section__radio-button-outline--selected":k})}),r.default.createElement("div",{className:"edit-approval-permission__edit-section__radio-button-fill"}),k&&r.default.createElement("div",{className:"edit-approval-permission__edit-section__radio-button-dot"})),r.default.createElement("div",{className:"edit-approval-permission__edit-section__option-text"},r.default.createElement("div",{className:(0,o.default)({"edit-approval-permission__edit-section__option-label":!k,"edit-approval-permission__edit-section__option-label--selected":k})},new s.default(t).equals(new s.default(b))?a("unlimited"):a("proposedApprovalLimit")),r.default.createElement("div",{className:"edit-approval-permission__edit-section__option-description"},a("spendLimitRequestedBy",[g])),r.default.createElement("div",{className:"edit-approval-permission__edit-section__option-value"},`${Number(t)} ${l}`))),r.default.createElement("div",{className:"edit-approval-permission__edit-section__option"},r.default.createElement("div",{className:"edit-approval-permission__edit-section__radio-button",onClick:()=>this.setState({selectedOptionIsUnlimited:!1})},r.default.createElement("div",{className:(0,o.default)({"edit-approval-permission__edit-section__radio-button-outline":k,"edit-approval-permission__edit-section__radio-button-outline--selected":!k})}),r.default.createElement("div",{className:"edit-approval-permission__edit-section__radio-button-fill"}),!k&&r.default.createElement("div",{className:"edit-approval-permission__edit-section__radio-button-dot"})),r.default.createElement("div",{className:"edit-approval-permission__edit-section__option-text"},r.default.createElement("div",{className:(0,o.default)({"edit-approval-permission__edit-section__option-label":k,"edit-approval-permission__edit-section__option-label--selected":!k})},a("customSpendLimit")),r.default.createElement("div",{className:"edit-approval-permission__edit-section__option-description"},a("enterMaxSpendLimit")),r.default.createElement("div",{className:"edit-approval-permission__edit-section__option-input"},r.default.createElement(d.default,{type:"number",placeholder:`${Number(p||t)} ${l}`,onChange:e=>{this.setState({customSpendLimit:e.target.value}),k&&this.setState({selectedOptionIsUnlimited:!1})},fullWidth:!0,margin:"dense",value:this.state.customSpendLimit,error:e}))))))}validateSpendLimit(){const{t:e}=this.context,{decimals:a,requiredMinimum:i}=this.props,{selectedOptionIsUnlimited:r,customSpendLimit:n}=this.state;if(r||!n)return undefined;let o;try{o=new s.default(n)}catch(a){return t.default.debug(`Error converting '${n}' to BigNumber:`,a),e("spendLimitInvalid")}if(o.isNegative())return e("spendLimitInvalid");const l=(0,u.calcTokenAmount)(b,a);return o.greaterThan(l)?e("spendLimitTooLarge"):i!==undefined&&o.lessThan(i)?e("spendLimitInsufficient"):undefined}render(){const{t:e}=this.context,{setCustomAmount:a,hideModal:i,customTokenAmount:n}=this.props,{selectedOptionIsUnlimited:t,customSpendLimit:o}=this.state,s=this.validateSpendLimit(),c=Boolean(o===n&&!t||s);return r.default.createElement(l.default,{onSubmit:()=>{a(t?"":o),i()},submitText:e("save"),contentClass:"edit-approval-permission-modal-content",containerClass:"edit-approval-permission-modal-container",submitDisabled:c},this.renderModalContent(s))}}i.default=y,g(y,"propTypes",{decimals:n.default.number,hideModal:n.default.func.isRequired,selectedAccount:n.default.object,tokenAmount:n.default.string,customTokenAmount:n.default.string,tokenSymbol:n.default.string,tokenBalance:n.default.string,setCustomAmount:n.default.func,origin:n.default.string.isRequired,requiredMinimum:n.default.instanceOf(s.default)}),g(y,"contextTypes",{t:n.default.func})}}},{package:"$root$",file:"ui/components/app/modals/edit-approval-permission/edit-approval-permission.component.js"}],[4678,{"../../../../helpers/higher-order-components/with-modal-props":5376,"../../../../selectors":5987,"./edit-approval-permission.component":4677,"react-redux":4199,redux:4261},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var r=e("react-redux"),n=e("redux"),t=l(e("../../../../helpers/higher-order-components/with-modal-props")),o=e("../../../../selectors"),s=l(e("./edit-approval-permission.component"));function l(e){return e&&e.__esModule?e:{default:e}}i.default=(0,n.compose)(t.default,(0,r.connect)((e=>{const a=e.appState.modal.modalState.props||{};return{selectedAccount:(0,o.getSelectedInternalAccount)(e),...a}})))(s.default)}}},{package:"$root$",file:"ui/components/app/modals/edit-approval-permission/edit-approval-permission.container.js"}],[4679,{"./edit-approval-permission.container":4678},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return n.default}});var r,n=(r=e("./edit-approval-permission.container"))&&r.__esModule?r:{default:r}}}},{package:"$root$",file:"ui/components/app/modals/edit-approval-permission/index.js"}]],[],{}); \ No newline at end of file +LavaPack.loadBundle([[4481,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){var r;r={passwords:"123456,password,12345678,qwerty,123456789,12345,1234,111111,1234567,dragon,123123,baseball,abc123,football,monkey,letmein,shadow,master,696969,mustang,666666,qwertyuiop,123321,1234567890,pussy,superman,654321,1qaz2wsx,7777777,fuckyou,qazwsx,jordan,123qwe,000000,killer,trustno1,hunter,harley,zxcvbnm,asdfgh,buster,batman,soccer,tigger,charlie,sunshine,iloveyou,fuckme,ranger,hockey,computer,starwars,asshole,pepper,klaster,112233,zxcvbn,freedom,princess,maggie,pass,ginger,11111111,131313,fuck,love,cheese,159753,summer,chelsea,dallas,biteme,matrix,yankees,6969,corvette,austin,access,thunder,merlin,secret,diamond,hello,hammer,fucker,1234qwer,silver,gfhjkm,internet,samantha,golfer,scooter,test,orange,cookie,q1w2e3r4t5,maverick,sparky,phoenix,mickey,bigdog,snoopy,guitar,whatever,chicken,camaro,mercedes,peanut,ferrari,falcon,cowboy,welcome,sexy,samsung,steelers,smokey,dakota,arsenal,boomer,eagles,tigers,marina,nascar,booboo,gateway,yellow,porsche,monster,spider,diablo,hannah,bulldog,junior,london,purple,compaq,lakers,iceman,qwer1234,hardcore,cowboys,money,banana,ncc1701,boston,tennis,q1w2e3r4,coffee,scooby,123654,nikita,yamaha,mother,barney,brandy,chester,fuckoff,oliver,player,forever,rangers,midnight,chicago,bigdaddy,redsox,angel,badboy,fender,jasper,slayer,rabbit,natasha,marine,bigdick,wizard,marlboro,raiders,prince,casper,fishing,flower,jasmine,iwantu,panties,adidas,winter,winner,gandalf,password1,enter,ghbdtn,1q2w3e4r,golden,cocacola,jordan23,winston,madison,angels,panther,blowme,sexsex,bigtits,spanky,bitch,sophie,asdfasdf,horny,thx1138,toyota,tiger,dick,canada,12344321,blowjob,8675309,muffin,liverpoo,apples,qwerty123,passw0rd,abcd1234,pokemon,123abc,slipknot,qazxsw,123456a,scorpion,qwaszx,butter,startrek,rainbow,asdfghjkl,razz,newyork,redskins,gemini,cameron,qazwsxedc,florida,liverpool,turtle,sierra,viking,booger,butthead,doctor,rocket,159357,dolphins,captain,bandit,jaguar,packers,pookie,peaches,789456,asdf,dolphin,helpme,blue,theman,maxwell,qwertyui,shithead,lovers,maddog,giants,nirvana,metallic,hotdog,rosebud,mountain,warrior,stupid,elephant,suckit,success,bond007,jackass,alexis,porn,lucky,scorpio,samson,q1w2e3,azerty,rush2112,driver,freddy,1q2w3e4r5t,sydney,gators,dexter,red123,123456q,12345a,bubba,creative,voodoo,golf,trouble,america,nissan,gunner,garfield,bullshit,asdfghjk,5150,fucking,apollo,1qazxsw2,2112,eminem,legend,airborne,bear,beavis,apple,brooklyn,godzilla,skippy,4815162342,buddy,qwert,kitten,magic,shelby,beaver,phantom,asdasd,xavier,braves,darkness,blink182,copper,platinum,qweqwe,tomcat,01012011,girls,bigboy,102030,animal,police,online,11223344,voyager,lifehack,12qwaszx,fish,sniper,315475,trinity,blazer,heaven,lover,snowball,playboy,loveme,bubbles,hooters,cricket,willow,donkey,topgun,nintendo,saturn,destiny,pakistan,pumpkin,digital,sergey,redwings,explorer,tits,private,runner,therock,guinness,lasvegas,beatles,789456123,fire,cassie,christin,qwerty1,celtic,asdf1234,andrey,broncos,007007,babygirl,eclipse,fluffy,cartman,michigan,carolina,testing,alexande,birdie,pantera,cherry,vampire,mexico,dickhead,buffalo,genius,montana,beer,minecraft,maximus,flyers,lovely,stalker,metallica,doggie,snickers,speedy,bronco,lol123,paradise,yankee,horses,magnum,dreams,147258369,lacrosse,ou812,goober,enigma,qwertyu,scotty,pimpin,bollocks,surfer,cock,poohbear,genesis,star,asd123,qweasdzxc,racing,hello1,hawaii,eagle1,viper,poopoo,einstein,boobies,12345q,bitches,drowssap,simple,badger,alaska,action,jester,drummer,111222,spitfire,forest,maryjane,champion,diesel,svetlana,friday,hotrod,147258,chevy,lucky1,westside,security,google,badass,tester,shorty,thumper,hitman,mozart,zaq12wsx,boobs,reddog,010203,lizard,a123456,123456789a,ruslan,eagle,1232323q,scarface,qwerty12,147852,a12345,buddha,porno,420420,spirit,money1,stargate,qwe123,naruto,mercury,liberty,12345qwert,semperfi,suzuki,popcorn,spooky,marley,scotland,kitty,cherokee,vikings,simpsons,rascal,qweasd,hummer,loveyou,michael1,patches,russia,jupiter,penguin,passion,cumshot,vfhbyf,honda,vladimir,sandman,passport,raider,bastard,123789,infinity,assman,bulldogs,fantasy,sucker,1234554321,horney,domino,budlight,disney,ironman,usuckballz1,softball,brutus,redrum,bigred,mnbvcxz,fktrcfylh,karina,marines,digger,kawasaki,cougar,fireman,oksana,monday,cunt,justice,nigger,super,wildcats,tinker,logitech,dancer,swordfis,avalon,everton,alexandr,motorola,patriots,hentai,madonna,pussy1,ducati,colorado,connor,juventus,galore,smooth,freeuser,warcraft,boogie,titanic,wolverin,elizabet,arizona,valentin,saints,asdfg,accord,test123,password123,christ,yfnfif,stinky,slut,spiderma,naughty,chopper,hello123,ncc1701d,extreme,skyline,poop,zombie,pearljam,123qweasd,froggy,awesome,vision,pirate,fylhtq,dreamer,bullet,predator,empire,123123a,kirill,charlie1,panthers,penis,skipper,nemesis,rasdzv3,peekaboo,rolltide,cardinal,psycho,danger,mookie,happy1,wanker,chevelle,manutd,goblue,9379992,hobbes,vegeta,fyfcnfcbz,852456,picard,159951,windows,loverboy,victory,vfrcbv,bambam,serega,123654789,turkey,tweety,galina,hiphop,rooster,changeme,berlin,taurus,suckme,polina,electric,avatar,134679,maksim,raptor,alpha1,hendrix,newport,bigcock,brazil,spring,a1b2c3,madmax,alpha,britney,sublime,darkside,bigman,wolfpack,classic,hercules,ronaldo,letmein1,1q2w3e,741852963,spiderman,blizzard,123456789q,cheyenne,cjkysirj,tiger1,wombat,bubba1,pandora,zxc123,holiday,wildcat,devils,horse,alabama,147852369,caesar,12312,buddy1,bondage,pussycat,pickle,shaggy,catch22,leather,chronic,a1b2c3d4,admin,qqq111,qaz123,airplane,kodiak,freepass,billybob,sunset,katana,phpbb,chocolat,snowman,angel1,stingray,firebird,wolves,zeppelin,detroit,pontiac,gundam,panzer,vagina,outlaw,redhead,tarheels,greenday,nastya,01011980,hardon,engineer,dragon1,hellfire,serenity,cobra,fireball,lickme,darkstar,1029384756,01011,mustang1,flash,124578,strike,beauty,pavilion,01012000,bobafett,dbrnjhbz,bigmac,bowling,chris1,ytrewq,natali,pyramid,rulez,welcome1,dodgers,apache,swimming,whynot,teens,trooper,fuckit,defender,precious,135790,packard,weasel,popeye,lucifer,cancer,icecream,142536,raven,swordfish,presario,viktor,rockstar,blonde,james1,wutang,spike,pimp,atlanta,airforce,thailand,casino,lennon,mouse,741852,hacker,bluebird,hawkeye,456123,theone,catfish,sailor,goldfish,nfnmzyf,tattoo,pervert,barbie,maxima,nipples,machine,trucks,wrangler,rocks,tornado,lights,cadillac,bubble,pegasus,madman,longhorn,browns,target,666999,eatme,qazwsx123,microsoft,dilbert,christia,baller,lesbian,shooter,xfiles,seattle,qazqaz,cthutq,amateur,prelude,corona,freaky,malibu,123qweasdzxc,assassin,246810,atlantis,integra,pussies,iloveu,lonewolf,dragons,monkey1,unicorn,software,bobcat,stealth,peewee,openup,753951,srinivas,zaqwsx,valentina,shotgun,trigger,veronika,bruins,coyote,babydoll,joker,dollar,lestat,rocky1,hottie,random,butterfly,wordpass,smiley,sweety,snake,chipper,woody,samurai,devildog,gizmo,maddie,soso123aljg,mistress,freedom1,flipper,express,hjvfirf,moose,cessna,piglet,polaris,teacher,montreal,cookies,wolfgang,scully,fatboy,wicked,balls,tickle,bunny,dfvgbh,foobar,transam,pepsi,fetish,oicu812,basketba,toshiba,hotstuff,sunday,booty,gambit,31415926,impala,stephani,jessica1,hooker,lancer,knicks,shamrock,fuckyou2,stinger,314159,redneck,deftones,squirt,siemens,blaster,trucker,subaru,renegade,ibanez,manson,swinger,reaper,blondie,mylove,galaxy,blahblah,enterpri,travel,1234abcd,babylon5,indiana,skeeter,master1,sugar,ficken,smoke,bigone,sweetpea,fucked,trfnthbyf,marino,escort,smitty,bigfoot,babes,larisa,trumpet,spartan,valera,babylon,asdfghj,yankees1,bigboobs,stormy,mister,hamlet,aardvark,butterfl,marathon,paladin,cavalier,manchester,skater,indigo,hornet,buckeyes,01011990,indians,karate,hesoyam,toronto,diamonds,chiefs,buckeye,1qaz2wsx3edc,highland,hotsex,charger,redman,passwor,maiden,drpepper,storm,pornstar,garden,12345678910,pencil,sherlock,timber,thuglife,insane,pizza,jungle,jesus1,aragorn,1a2b3c,hamster,david1,triumph,techno,lollol,pioneer,catdog,321654,fktrctq,morpheus,141627,pascal,shadow1,hobbit,wetpussy,erotic,consumer,blabla,justme,stones,chrissy,spartak,goforit,burger,pitbull,adgjmptw,italia,barcelona,hunting,colors,kissme,virgin,overlord,pebbles,sundance,emerald,doggy,racecar,irina,element,1478963,zipper,alpine,basket,goddess,poison,nipple,sakura,chichi,huskers,13579,pussys,q12345,ultimate,ncc1701e,blackie,nicola,rommel,matthew1,caserta,omega,geronimo,sammy1,trojan,123qwe123,philips,nugget,tarzan,chicks,aleksandr,bassman,trixie,portugal,anakin,dodger,bomber,superfly,madness,q1w2e3r4t5y6,loser,123asd,fatcat,ybrbnf,soldier,warlock,wrinkle1,desire,sexual,babe,seminole,alejandr,951753,11235813,westham,andrei,concrete,access14,weed,letmein2,ladybug,naked,christop,trombone,tintin,bluesky,rhbcnbyf,qazxswedc,onelove,cdtnkfyf,whore,vfvjxrf,titans,stallion,truck,hansolo,blue22,smiles,beagle,panama,kingkong,flatron,inferno,mongoose,connect,poiuyt,snatch,qawsed,juice,blessed,rocker,snakes,turbo,bluemoon,sex4me,finger,jamaica,a1234567,mulder,beetle,fuckyou1,passat,immortal,plastic,123454321,anthony1,whiskey,dietcoke,suck,spunky,magic1,monitor,cactus,exigen,planet,ripper,teen,spyder,apple1,nolimit,hollywoo,sluts,sticky,trunks,1234321,14789632,pickles,sailing,bonehead,ghbdtnbr,delta,charlott,rubber,911911,112358,molly1,yomama,hongkong,jumper,william1,ilovesex,faster,unreal,cumming,memphis,1123581321,nylons,legion,sebastia,shalom,pentium,geheim,werewolf,funtime,ferret,orion,curious,555666,niners,cantona,sprite,philly,pirates,abgrtyu,lollipop,eternity,boeing,super123,sweets,cooldude,tottenha,green1,jackoff,stocking,7895123,moomoo,martini,biscuit,drizzt,colt45,fossil,makaveli,snapper,satan666,maniac,salmon,patriot,verbatim,nasty,shasta,asdzxc,shaved,blackcat,raistlin,qwerty12345,punkrock,cjkywt,01012010,4128,waterloo,crimson,twister,oxford,musicman,seinfeld,biggie,condor,ravens,megadeth,wolfman,cosmos,sharks,banshee,keeper,foxtrot,gn56gn56,skywalke,velvet,black1,sesame,dogs,squirrel,privet,sunrise,wolverine,sucks,legolas,grendel,ghost,cats,carrot,frosty,lvbnhbq,blades,stardust,frog,qazwsxed,121314,coolio,brownie,groovy,twilight,daytona,vanhalen,pikachu,peanuts,licker,hershey,jericho,intrepid,ninja,1234567a,zaq123,lobster,goblin,punisher,strider,shogun,kansas,amadeus,seven7,jason1,neptune,showtime,muscle,oldman,ekaterina,rfrfirf,getsome,showme,111222333,obiwan,skittles,danni,tanker,maestro,tarheel,anubis,hannibal,anal,newlife,gothic,shark,fighter,blue123,blues,123456z,princes,slick,chaos,thunder1,sabine,1q2w3e4r5t6y,python,test1,mirage,devil,clover,tequila,chelsea1,surfing,delete,potato,chubby,panasonic,sandiego,portland,baggins,fusion,sooners,blackdog,buttons,californ,moscow,playtime,mature,1a2b3c4d,dagger,dima,stimpy,asdf123,gangster,warriors,iverson,chargers,byteme,swallow,liquid,lucky7,dingdong,nymets,cracker,mushroom,456852,crusader,bigguy,miami,dkflbvbh,bugger,nimrod,tazman,stranger,newpass,doodle,powder,gotcha,guardian,dublin,slapshot,septembe,147896325,pepsi1,milano,grizzly,woody1,knights,photos,2468,nookie,charly,rammstein,brasil,123321123,scruffy,munchkin,poopie,123098,kittycat,latino,walnut,1701,thegame,viper1,1passwor,kolobok,picasso,robert1,barcelon,bananas,trance,auburn,coltrane,eatshit,goodluck,starcraft,wheels,parrot,postal,blade,wisdom,pink,gorilla,katerina,pass123,andrew1,shaney14,dumbass,osiris,fuck_inside,oakland,discover,ranger1,spanking,lonestar,bingo,meridian,ping,heather1,dookie,stonecol,megaman,192837465,rjntyjr,ledzep,lowrider,25802580,richard1,firefly,griffey,racerx,paradox,ghjcnj,gangsta,zaq1xsw2,tacobell,weezer,sirius,halflife,buffett,shiloh,123698745,vertigo,sergei,aliens,sobaka,keyboard,kangaroo,sinner,soccer1,0.0.000,bonjour,socrates,chucky,hotboy,sprint,0007,sarah1,scarlet,celica,shazam,formula1,sommer,trebor,qwerasdf,jeep,mailcreated5240,bollox,asshole1,fuckface,honda1,rebels,vacation,lexmark,penguins,12369874,ragnarok,formula,258456,tempest,vfhecz,tacoma,qwertz,colombia,flames,rockon,duck,prodigy,wookie,dodgeram,mustangs,123qaz,sithlord,smoker,server,bang,incubus,scoobydo,oblivion,molson,kitkat,titleist,rescue,zxcv1234,carpet,1122,bigballs,tardis,jimbob,xanadu,blueeyes,shaman,mersedes,pooper,pussy69,golfing,hearts,mallard,12312312,kenwood,patrick1,dogg,cowboys1,oracle,123zxc,nuttertools,102938,topper,1122334455,shemale,sleepy,gremlin,yourmom,123987,gateway1,printer,monkeys,peterpan,mikey,kingston,cooler,analsex,jimbo,pa55word,asterix,freckles,birdman,frank1,defiant,aussie,stud,blondes,tatyana,445566,aspirine,mariners,jackal,deadhead,katrin,anime,rootbeer,frogger,polo,scooter1,hallo,noodles,thomas1,parola,shaolin,celine,11112222,plymouth,creampie,justdoit,ohyeah,fatass,assfuck,amazon,1234567q,kisses,magnus,camel,nopass,bosco,987456,6751520,harley1,putter,champs,massive,spidey,lightnin,camelot,letsgo,gizmodo,aezakmi,bones,caliente,12121,goodtime,thankyou,raiders1,brucelee,redalert,aquarius,456654,catherin,smokin,pooh,mypass,astros,roller,porkchop,sapphire,qwert123,kevin1,a1s2d3f4,beckham,atomic,rusty1,vanilla,qazwsxedcrfv,hunter1,kaktus,cxfcnmt,blacky,753159,elvis1,aggies,blackjac,bangkok,scream,123321q,iforgot,power1,kasper,abc12,buster1,slappy,shitty,veritas,chevrole,amber1,01012001,vader,amsterdam,jammer,primus,spectrum,eduard,granny,horny1,sasha1,clancy,usa123,satan,diamond1,hitler,avenger,1221,spankme,123456qwerty,simba,smudge,scrappy,labrador,john316,syracuse,front242,falcons,husker,candyman,commando,gator,pacman,delta1,pancho,krishna,fatman,clitoris,pineappl,lesbians,8j4ye3uz,barkley,vulcan,punkin,boner,celtics,monopoly,flyboy,romashka,hamburg,123456aa,lick,gangbang,223344,area51,spartans,aaa111,tricky,snuggles,drago,homerun,vectra,homer1,hermes,topcat,cuddles,infiniti,1234567890q,cosworth,goose,phoenix1,killer1,ivanov,bossman,qawsedrf,peugeot,exigent,doberman,durango,brandon1,plumber,telefon,horndog,laguna,rbhbkk,dawg,webmaster,breeze,beast,porsche9,beefcake,leopard,redbull,oscar1,topdog,godsmack,theking,pics,omega1,speaker,viktoria,fuckers,bowler,starbuck,gjkbyf,valhalla,anarchy,blacks,herbie,kingpin,starfish,nokia,loveit,achilles,906090,labtec,ncc1701a,fitness,jordan1,brando,arsenal1,bull,kicker,napass,desert,sailboat,bohica,tractor,hidden,muppet,jackson1,jimmy1,terminator,phillies,pa55w0rd,terror,farside,swingers,legacy,frontier,butthole,doughboy,jrcfyf,tuesday,sabbath,daniel1,nebraska,homers,qwertyuio,azamat,fallen,agent007,striker,camels,iguana,looker,pinkfloy,moloko,qwerty123456,dannyboy,luckydog,789654,pistol,whocares,charmed,skiing,select,franky,puppy,daniil,vladik,vette,vfrcbvrf,ihateyou,nevada,moneys,vkontakte,mandingo,puppies,666777,mystic,zidane,kotenok,dilligaf,budman,bunghole,zvezda,123457,triton,golfball,technics,trojans,panda,laptop,rookie,01011991,15426378,aberdeen,gustav,jethro,enterprise,igor,stripper,filter,hurrican,rfnthbyf,lespaul,gizmo1,butch,132435,dthjybrf,1366613,excalibu,963852,nofear,momoney,possum,cutter,oilers,moocow,cupcake,gbpltw,batman1,splash,svetik,super1,soleil,bogdan,melissa1,vipers,babyboy,tdutybq,lancelot,ccbill,keystone,passwort,flamingo,firefox,dogman,vortex,rebel,noodle,raven1,zaphod,killme,pokemon1,coolman,danila,designer,skinny,kamikaze,deadman,gopher,doobie,warhammer,deeznuts,freaks,engage,chevy1,steve1,apollo13,poncho,hammers,azsxdc,dracula,000007,sassy,bitch1,boots,deskjet,12332,macdaddy,mighty,rangers1,manchest,sterlin,casey1,meatball,mailman,sinatra,cthulhu,summer1,bubbas,cartoon,bicycle,eatpussy,truelove,sentinel,tolkien,breast,capone,lickit,summit,123456k,peter1,daisy1,kitty1,123456789z,crazy1,jamesbon,texas1,sexygirl,362436,sonic,billyboy,redhot,microsof,microlab,daddy1,rockets,iloveyo,fernand,gordon24,danie,cutlass,polska,star69,titties,pantyhos,01011985,thekid,aikido,gofish,mayday,1234qwe,coke,anfield,sony,lansing,smut,scotch,sexx,catman,73501505,hustler,saun,dfkthbz,passwor1,jenny1,azsxdcfv,cheers,irish1,gabrie,tinman,orioles,1225,charlton,fortuna,01011970,airbus,rustam,xtreme,bigmoney,zxcasd,retard,grumpy,huskies,boxing,4runner,kelly1,ultima,warlord,fordf150,oranges,rotten,asdfjkl,superstar,denali,sultan,bikini,saratoga,thor,figaro,sixers,wildfire,vladislav,128500,sparta,mayhem,greenbay,chewie,music1,number1,cancun,fabie,mellon,poiuytrewq,cloud9,crunch,bigtime,chicken1,piccolo,bigbird,321654987,billy1,mojo,01011981,maradona,sandro,chester1,bizkit,rjirfrgbde,789123,rightnow,jasmine1,hyperion,treasure,meatloaf,armani,rovers,jarhead,01011986,cruise,coconut,dragoon,utopia,davids,cosmo,rfhbyf,reebok,1066,charli,giorgi,sticks,sayang,pass1234,exodus,anaconda,zaqxsw,illini,woofwoof,emily1,sandy1,packer,poontang,govols,jedi,tomato,beaner,cooter,creamy,lionking,happy123,albatros,poodle,kenworth,dinosaur,greens,goku,happyday,eeyore,tsunami,cabbage,holyshit,turkey50,memorex,chaser,bogart,orgasm,tommy1,volley,whisper,knopka,ericsson,walleye,321123,pepper1,katie1,chickens,tyler1,corrado,twisted,100000,zorro,clemson,zxcasdqwe,tootsie,milana,zenith,fktrcfylhf,shania,frisco,polniypizdec0211,crazybab,junebug,fugazi,rereirf,vfvekz,1001,sausage,vfczyz,koshka,clapton,justin1,anhyeuem,condom,fubar,hardrock,skywalker,tundra,cocks,gringo,150781,canon,vitalik,aspire,stocks,samsung1,applepie,abc12345,arjay,gandalf1,boob,pillow,sparkle,gmoney,rockhard,lucky13,samiam,everest,hellyeah,bigsexy,skorpion,rfrnec,hedgehog,australi,candle,slacker,dicks,voyeur,jazzman,america1,bobby1,br0d3r,wolfie,vfksirf,1qa2ws3ed,13243546,fright,yosemite,temp,karolina,fart,barsik,surf,cheetah,baddog,deniska,starship,bootie,milena,hithere,kume,greatone,dildo,50cent,0.0.0.000,albion,amanda1,midget,lion,maxell,football1,cyclone,freeporn,nikola,bonsai,kenshin,slider,balloon,roadkill,killbill,222333,jerkoff,78945612,dinamo,tekken,rambler,goliath,cinnamon,malaka,backdoor,fiesta,packers1,rastaman,fletch,sojdlg123aljg,stefano,artemis,calico,nyjets,damnit,robotech,duchess,rctybz,hooter,keywest,18436572,hal9000,mechanic,pingpong,operator,presto,sword,rasputin,spank,bristol,faggot,shado,963852741,amsterda,321456,wibble,carrera,alibaba,majestic,ramses,duster,route66,trident,clipper,steeler,wrestlin,divine,kipper,gotohell,kingfish,snake1,passwords,buttman,pompey,viagra,zxcvbnm1,spurs,332211,slutty,lineage2,oleg,macross,pooter,brian1,qwert1,charles1,slave,jokers,yzerman,swimmer,ne1469,nwo4life,solnce,seamus,lolipop,pupsik,moose1,ivanova,secret1,matador,love69,420247,ktyjxrf,subway,cinder,vermont,pussie,chico,florian,magick,guiness,allsop,ghetto,flash1,a123456789,typhoon,dfkthf,depeche,skydive,dammit,seeker,fuckthis,crysis,kcj9wx5n,umbrella,r2d2c3po,123123q,snoopdog,critter,theboss,ding,162534,splinter,kinky,cyclops,jayhawk,456321,caramel,qwer123,underdog,caveman,onlyme,grapes,feather,hotshot,fuckher,renault,george1,sex123,pippen,000001,789987,floppy,cunts,megapass,1000,pornos,usmc,kickass,great1,quattro,135246,wassup,helloo,p0015123,nicole1,chivas,shannon1,bullseye,java,fishes,blackhaw,jamesbond,tunafish,juggalo,dkflbckfd,123789456,dallas1,translator,122333,beanie,alucard,gfhjkm123,supersta,magicman,ashley1,cohiba,xbox360,caligula,12131415,facial,7753191,dfktynbyf,cobra1,cigars,fang,klingon,bob123,safari,looser,10203,deepthroat,malina,200000,tazmania,gonzo,goalie,jacob1,monaco,cruiser,misfit,vh5150,tommyboy,marino13,yousuck,sharky,vfhufhbnf,horizon,absolut,brighton,123456r,death1,kungfu,maxx,forfun,mamapapa,enter1,budweise,banker,getmoney,kostya,qazwsx12,bigbear,vector,fallout,nudist,gunners,royals,chainsaw,scania,trader,blueboy,walrus,eastside,kahuna,qwerty1234,love123,steph,01011989,cypress,champ,undertaker,ybrjkfq,europa,snowboar,sabres,moneyman,chrisbln,minime,nipper,groucho,whitey,viewsonic,penthous,wolf359,fabric,flounder,coolguy,whitesox,passme,smegma,skidoo,thanatos,fucku2,snapple,dalejr,mondeo,thesims,mybaby,panasoni,sinbad,thecat,topher,frodo,sneakers,q123456,z1x2c3,alfa,chicago1,taylor1,ghjcnjnfr,cat123,olivier,cyber,titanium,0420,madison1,jabroni,dang,hambone,intruder,holly1,gargoyle,sadie1,static,poseidon,studly,newcastl,sexxxx,poppy,johannes,danzig,beastie,musica,buckshot,sunnyday,adonis,bluedog,bonkers,2128506,chrono,compute,spawn,01011988,turbo1,smelly,wapbbs,goldstar,ferrari1,778899,quantum,pisces,boomboom,gunnar,1024,test1234,florida1,nike,superman1,multiplelo,custom,motherlode,1qwerty,westwood,usnavy,apple123,daewoo,korn,stereo,sasuke,sunflowe,watcher,dharma,555777,mouse1,assholes,babyblue,123qwerty,marius,walmart,snoop,starfire,tigger1,paintbal,knickers,aaliyah,lokomotiv,theend,winston1,sapper,rover,erotica,scanner,racer,zeus,sexy69,doogie,bayern,joshua1,newbie,scott1,losers,droopy,outkast,martin1,dodge1,wasser,ufkbyf,rjycnfynby,thirteen,12345z,112211,hotred,deejay,hotpussy,192837,jessic,philippe,scout,panther1,cubbies,havefun,magpie,fghtkm,avalanch,newyork1,pudding,leonid,harry1,cbr600,audia4,bimmer,fucku,01011984,idontknow,vfvfgfgf,1357,aleksey,builder,01011987,zerocool,godfather,mylife,donuts,allmine,redfish,777888,sascha,nitram,bounce,333666,smokes,1x2zkg8w,rodman,stunner,zxasqw12,hoosier,hairy,beretta,insert,123456s,rtyuehe,francesc,tights,cheese1,micron,quartz,hockey1,gegcbr,searay,jewels,bogey,paintball,celeron,padres,bing,syncmaster,ziggy,simon1,beaches,prissy,diehard,orange1,mittens,aleksandra,queens,02071986,biggles,thongs,southpark,artur,twinkle,gretzky,rabota,cambiami,monalisa,gollum,chuckles,spike1,gladiator,whisky,spongebob,sexy1,03082006,mazafaka,meathead,4121,ou8122,barefoot,12345678q,cfitymrf,bigass,a1s2d3,kosmos,blessing,titty,clevelan,terrapin,ginger1,johnboy,maggot,clarinet,deeznutz,336699,stumpy,stoney,footbal,traveler,volvo,bucket,snapon,pianoman,hawkeyes,futbol,casanova,tango,goodboy,scuba,honey1,sexyman,warthog,mustard,abc1234,nickel,10203040,meowmeow,1012,boricua,prophet,sauron,12qwas,reefer,andromeda,crystal1,joker1,90210,goofy,loco,lovesex,triangle,whatsup,mellow,bengals,monster1,maste,01011910,lover1,love1,123aaa,sunshin,smeghead,hokies,sting,welder,rambo,cerberus,bunny1,rockford,monke,1q2w3e4r5,goldwing,gabriell,buzzard,crjhgbjy,james007,rainman,groove,tiberius,purdue,nokia6300,hayabusa,shou,jagger,diver,zigzag,poochie,usarmy,phish,redwood,redwing,12345679,salamander,silver1,abcd123,sputnik,boobie,ripple,eternal,12qw34er,thegreat,allstar,slinky,gesperrt,mishka,whiskers,pinhead,overkill,sweet1,rhfcjnrf,montgom240,sersolution,jamie1,starman,proxy,swords,nikolay,bacardi,rasta,badgirl,rebecca1,wildman,penny1,spaceman,1007,10101,logan1,hacked,bulldog1,helmet,windsor,buffy1,runescape,trapper,123451,banane,dbrnjh,ripken,12345qwe,frisky,shun,fester,oasis,lightning,ib6ub9,cicero,kool,pony,thedog,784512,01011992,megatron,illusion,edward1,napster,11223,squash,roadking,woohoo,19411945,hoosiers,01091989,tracker,bagira,midway,leavemealone,br549,14725836,235689,menace,rachel1,feng,laser,stoned,realmadrid,787898,balloons,tinkerbell,5551212,maria1,pobeda,heineken,sonics,moonlight,optimus,comet,orchid,02071982,jaybird,kashmir,12345678a,chuang,chunky,peach,mortgage,rulezzz,saleen,chuckie,zippy,fishing1,gsxr750,doghouse,maxim,reader,shai,buddah,benfica,chou,salomon,meister,eraser,blackbir,bigmike,starter,pissing,angus,deluxe,eagles1,hardcock,135792468,mian,seahawks,godfathe,bookworm,gregor,intel,talisman,blackjack,babyface,hawaiian,dogfood,zhong,01011975,sancho,ludmila,medusa,mortimer,123456654321,roadrunn,just4me,stalin,01011993,handyman,alphabet,pizzas,calgary,clouds,password2,cgfhnfr,f**k,cubswin,gong,lexus,max123,xxx123,digital1,gfhjkm1,7779311,missy1,michae,beautifu,gator1,1005,pacers,buddie,chinook,heckfy,dutchess,sally1,breasts,beowulf,darkman,jenn,tiffany1,zhei,quan,qazwsx1,satana,shang,idontkno,smiths,puddin,nasty1,teddybea,valkyrie,passwd,chao,boxster,killers,yoda,cheater,inuyasha,beast1,wareagle,foryou,dragonball,mermaid,bhbirf,teddy1,dolphin1,misty1,delphi,gromit,sponge,qazzaq,fytxrf,gameover,diao,sergi,beamer,beemer,kittykat,rancid,manowar,adam12,diggler,assword,austin1,wishbone,gonavy,sparky1,fisting,thedude,sinister,1213,venera,novell,salsero,jayden,fuckoff1,linda1,vedder,02021987,1pussy,redline,lust,jktymrf,02011985,dfcbkbq,dragon12,chrome,gamecube,titten,cong,bella1,leng,02081988,eureka,bitchass,147369,banner,lakota,123321a,mustafa,preacher,hotbox,02041986,z1x2c3v4,playstation,01011977,claymore,electra,checkers,zheng,qing,armagedon,02051986,wrestle,svoboda,bulls,nimbus,alenka,madina,newpass6,onetime,aa123456,bartman,02091987,silverad,electron,12345t,devil666,oliver1,skylar,rhtdtlrj,gobucks,johann,12011987,milkman,02101985,camper,thunderb,bigbutt,jammin,davide,cheeks,goaway,lighter,claudi,thumbs,pissoff,ghostrider,cocaine,teng,squall,lotus,hootie,blackout,doitnow,subzero,02031986,marine1,02021988,pothead,123456qw,skate,1369,peng,antoni,neng,miao,bcfields,1492,marika,794613,musashi,tulips,nong,piao,chai,ruan,southpar,02061985,nude,mandarin,654123,ninjas,cannabis,jetski,xerxes,zhuang,kleopatra,dickie,bilbo,pinky,morgan1,1020,1017,dieter,baseball1,tottenham,quest,yfnfkmz,dirtbike,1234567890a,mango,jackson5,ipswich,iamgod,02011987,tdutybz,modena,qiao,slippery,qweasd123,bluefish,samtron,toon,111333,iscool,02091986,petrov,fuzzy,zhou,1357924680,mollydog,deng,02021986,1236987,pheonix,zhun,ghblehjr,othello,starcraf,000111,sanfran,a11111,cameltoe,badman,vasilisa,jiang,1qaz2ws,luan,sveta,12qw12,akira,chuai,369963,cheech,beatle,pickup,paloma,01011983,caravan,elizaveta,gawker,banzai,pussey,mullet,seng,bingo1,bearcat,flexible,farscape,borussia,zhuai,templar,guitar1,toolman,yfcntymrf,chloe1,xiang,slave1,guai,nuggets,02081984,mantis,slim,scorpio1,fyutkbyf,thedoors,02081987,02061986,123qq123,zappa,fergie,7ugd5hip2j,huai,asdfzxcv,sunflower,pussyman,deadpool,bigtit,01011982,love12,lassie,skyler,gatorade,carpedie,jockey,mancity,spectre,02021984,cameron1,artemka,reng,02031984,iomega,jing,moritz,spice,rhino,spinner,heater,zhai,hover,talon,grease,qiong,corleone,ltybcrf,tian,cowboy1,hippie,chimera,ting,alex123,02021985,mickey1,corsair,sonoma,aaron1,xxxpass,bacchus,webmaste,chuo,xyz123,chrysler,spurs1,artem,shei,cosmic,01020304,deutsch,gabriel1,123455,oceans,987456321,binladen,latinas,a12345678,speedo,buttercu,02081989,21031988,merlot,millwall,ceng,kotaku,jiong,dragonba,2580,stonecold,snuffy,01011999,02011986,hellos,blaze,maggie1,slapper,istanbul,bonjovi,babylove,mazda,bullfrog,phoeni,meng,porsche1,nomore,02061989,bobdylan,capslock,orion1,zaraza,teddybear,ntktajy,myname,rong,wraith,mets,niao,02041984,smokie,chevrolet,dialog,gfhjkmgfhjkm,dotcom,vadim,monarch,athlon,mikey1,hamish,pian,liang,coolness,chui,thoma,ramones,ciccio,chippy,eddie1,house1,ning,marker,cougars,jackpot,barbados,reds,pdtplf,knockers,cobalt,amateurs,dipshit,napoli,kilroy,pulsar,jayhawks,daemon,alexey,weng,shuang,9293709b13,shiner,eldorado,soulmate,mclaren,golfer1,andromed,duan,50spanks,sexyboy,dogshit,02021983,shuo,kakashka,syzygy,111111a,yeahbaby,qiang,netscape,fulham,120676,gooner,zhui,rainbow6,laurent,dog123,halifax,freeway,carlitos,147963,eastwood,microphone,monkey12,1123,persik,coldbeer,geng,nuan,danny1,fgtkmcby,entropy,gadget,just4fun,sophi,baggio,carlito,1234567891,02021989,02041983,specialk,piramida,suan,bigblue,salasana,hopeful,mephisto,bailey1,hack,annie1,generic,violetta,spencer1,arcadia,02051983,hondas,9562876,trainer,jones1,smashing,liao,159632,iceberg,rebel1,snooker,temp123,zang,matteo,fastball,q2w3e4r5,bamboo,fuckyo,shutup,astro,buddyboy,nikitos,redbird,maxxxx,shitface,02031987,kuai,kissmyass,sahara,radiohea,1234asdf,wildcard,maxwell1,patric,plasma,heynow,bruno1,shao,bigfish,misfits,sassy1,sheng,02011988,02081986,testpass,nanook,cygnus,licking,slavik,pringles,xing,1022,ninja1,submit,dundee,tiburon,pinkfloyd,yummy,shuai,guang,chopin,obelix,insomnia,stroker,1a2s3d4f,1223,playboy1,lazarus,jorda,spider1,homerj,sleeper,02041982,darklord,cang,02041988,02041987,tripod,magician,jelly,telephon,15975,vsjasnel12,pasword,iverson3,pavlov,homeboy,gamecock,amigo,brodie,budapest,yjdsqgfhjkm,reckless,02011980,pang,tiger123,2469,mason1,orient,01011979,zong,cdtnbr,maksimka,1011,bushido,taxman,giorgio,sphinx,kazantip,02101984,concorde,verizon,lovebug,georg,sam123,seadoo,qazwsxedc123,jiao,jezebel,pharmacy,abnormal,jellybea,maxime,puffy,islander,bunnies,jiggaman,drakon,010180,pluto,zhjckfd,12365,classics,crusher,mordor,hooligan,strawberry,02081985,scrabble,hawaii50,1224,wg8e3wjf,cthtuf,premium,arrow,123456qwe,mazda626,ramrod,tootie,rhjrjlbk,ghost1,1211,bounty,niang,02071984,goat,killer12,sweetnes,porno1,masamune,426hemi,corolla,mariposa,hjccbz,doomsday,bummer,blue12,zhao,bird33,excalibur,samsun,kirsty,buttfuck,kfhbcf,zhuo,marcello,ozzy,02021982,dynamite,655321,master12,123465,lollypop,stepan,1qa2ws,spiker,goirish,callum,michael2,moonbeam,attila,henry1,lindros,andrea1,sporty,lantern,12365478,nextel,violin,volcom,998877,water1,imation,inspiron,dynamo,citadel,placebo,clowns,tiao,02061988,tripper,dabears,haggis,merlin1,02031985,anthrax,amerika,iloveme,vsegda,burrito,bombers,snowboard,forsaken,katarina,a1a2a3,woofer,tigger2,fullmoon,tiger2,spock,hannah1,snoopy1,sexxxy,sausages,stanislav,cobain,robotics,exotic,green123,mobydick,senators,pumpkins,fergus,asddsa,147741,258852,windsurf,reddevil,vfitymrf,nevermind,nang,woodland,4417,mick,shui,q1q2q3,wingman,69696,superb,zuan,ganesh,pecker,zephyr,anastasiya,icu812,larry1,02081982,broker,zalupa,mihail,vfibyf,dogger,7007,paddle,varvara,schalke,1z2x3c,presiden,yankees2,tuning,poopy,02051982,concord,vanguard,stiffy,rjhjktdf,felix1,wrench,firewall,boxer,bubba69,popper,02011984,temppass,gobears,cuan,tipper,fuckme1,kamila,thong,puss,bigcat,drummer1,02031982,sowhat,digimon,tigers1,rang,jingle,bian,uranus,soprano,mandy1,dusty1,fandango,aloha,pumpkin1,postman,02061980,dogcat,bombay,pussy123,onetwo,highheel,pippo,julie1,laura1,pepito,beng,smokey1,stylus,stratus,reload,duckie,karen1,jimbo1,225588,369258,krusty,snappy,asdf12,electro,111qqq,kuang,fishin,clit,abstr,christma,qqqqq1,1234560,carnage,guyver,boxers,kittens,zeng,1000000,qwerty11,toaster,cramps,yugioh,02061987,icehouse,zxcvbnm123,pineapple,namaste,harrypotter,mygirl,falcon1,earnhard,fender1,spikes,nutmeg,01081989,dogboy,02091983,369852,softail,mypassword,prowler,bigboss,1112,harvest,heng,jubilee,killjoy,basset,keng,zaqxswcde,redsox1,biao,titan,misfit99,robot,wifey,kidrock,02101987,gameboy,enrico,1z2x3c4v,broncos1,arrows,havana,banger,cookie1,chriss,123qw,platypus,cindy1,lumber,pinball,foxy,london1,1023,05051987,02041985,password12,superma,longbow,radiohead,nigga,12051988,spongebo,qwert12345,abrakadabra,dodgers1,02101989,chillin,niceguy,pistons,hookup,santafe,bigben,jets,1013,vikings1,mankind,viktoriya,beardog,hammer1,02071980,reddwarf,magelan,longjohn,jennife,gilles,carmex2,02071987,stasik,bumper,doofus,slamdunk,pixies,garion,steffi,alessandro,beerman,niceass,warrior1,honolulu,134679852,visa,johndeer,mother1,windmill,boozer,oatmeal,aptiva,busty,delight,tasty,slick1,bergkamp,badgers,guitars,puffin,02091981,nikki1,irishman,miller1,zildjian,123000,airwolf,magnet,anai,install,02041981,02061983,astra,romans,megan1,mudvayne,freebird,muscles,dogbert,02091980,02091984,snowflak,01011900,mang,joseph1,nygiants,playstat,junior1,vjcrdf,qwer12,webhompas,giraffe,pelican,jefferso,comanche,bruiser,monkeybo,kjkszpj,123456l,micro,albany,02051987,angel123,epsilon,aladin,death666,hounddog,josephin,altima,chilly,02071988,78945,ultra,02041979,gasman,thisisit,pavel,idunno,kimmie,05051985,paulie,ballin,medion,moondog,manolo,pallmall,climber,fishbone,genesis1,153624,toffee,tbone,clippers,krypton,jerry1,picturs,compass,111111q,02051988,1121,02081977,sairam,getout,333777,cobras,22041987,bigblock,severin,booster,norwich,whiteout,ctrhtn,123456m,02061984,hewlett,shocker,fuckinside,02031981,chase1,white1,versace,123456789s,basebal,iloveyou2,bluebell,08031986,anthon,stubby,foreve,undertak,werder,saiyan,mama123,medic,chipmunk,mike123,mazdarx7,qwe123qwe,bowwow,kjrjvjnbd,celeb,choochoo,demo,lovelife,02051984,colnago,lithium,02051989,15051981,zzzxxx,welcom,anastasi,fidelio,franc,26061987,roadster,stone55,drifter,hookem,hellboy,1234qw,cbr900rr,sinned,good123654,storm1,gypsy,zebra,zachary1,toejam,buceta,02021979,testing1,redfox,lineage,mike1,highbury,koroleva,nathan1,washingt,02061982,02091985,vintage,redbaron,dalshe,mykids,11051987,macbeth,julien,james123,krasotka,111000,10011986,987123,pipeline,tatarin,sensei,codered,komodo,frogman,7894561230,nascar24,juicy,01031988,redrose,mydick,pigeon,tkbpfdtnf,smirnoff,1215,spam,winner1,flyfish,moskva,81fukkc,21031987,olesya,starligh,summer99,13041988,fishhead,freesex,super12,06061986,azazel,scoobydoo,02021981,cabron,yogibear,sheba1,konstantin,tranny,chilli,terminat,ghbywtccf,slowhand,soccer12,cricket1,fuckhead,1002,seagull,achtung,blam,bigbob,bdsm,nostromo,survivor,cnfybckfd,lemonade,boomer1,rainbow1,rober,irinka,cocksuck,peaches1,itsme,sugar1,zodiac,upyours,dinara,135791,sunny1,chiara,johnson1,02041989,solitude,habibi,sushi,markiz,smoke1,rockies,catwoman,johnny1,qwerty7,bearcats,username,01011978,wanderer,ohshit,02101986,sigma,stephen1,paradigm,02011989,flanker,sanity,jsbach,spotty,bologna,fantasia,chevys,borabora,cocker,74108520,123ewq,12021988,01061990,gtnhjdbx,02071981,01011960,sundevil,3000gt,mustang6,gagging,maggi,armstron,yfnfkb,13041987,revolver,02021976,trouble1,madcat,jeremy1,jackass1,volkswag,30051985,corndog,pool6123,marines1,03041991,pizza1,piggy,sissy,02031979,sunfire,angelus,undead,24061986,14061991,wildbill,shinobi,45m2do5bs,123qwer,21011989,cleopatr,lasvega,hornets,amorcit,11081989,coventry,nirvana1,destin,sidekick,20061988,02081983,gbhfvblf,sneaky,bmw325,22021989,nfytxrf,sekret,kalina,zanzibar,hotone,qazws,wasabi,heidi1,highlander,blues1,hitachi,paolo,23041987,slayer1,simba1,02011981,tinkerbe,kieran,01121986,172839,boiler,1125,bluesman,waffle,asdfgh01,threesom,conan,1102,reflex,18011987,nautilus,everlast,fatty,vader1,01071986,cyborg,ghbdtn123,birddog,rubble,02071983,suckers,02021973,skyhawk,12qw12qw,dakota1,joebob,nokia6233,woodie,longdong,lamer,troll,ghjcnjgfhjkm,420000,boating,nitro,armada,messiah,1031,penguin1,02091989,americ,02071989,redeye,asdqwe123,07071987,monty1,goten,spikey,sonata,635241,tokiohotel,sonyericsson,citroen,compaq1,1812,umpire,belmont,jonny,pantera1,nudes,palmtree,14111986,fenway,bighead,razor,gryphon,andyod22,aaaaa1,taco,10031988,enterme,malachi,dogface,reptile,01041985,dindom,handball,marseille,candy1,19101987,torino,tigge,matthias,viewsoni,13031987,stinker,evangelion,24011985,123456123,rampage,sandrine,02081980,thecrow,astral,28041987,sprinter,private1,seabee,shibby,02101988,25081988,fearless,junkie,01091987,aramis,antelope,draven,fuck1,mazda6,eggman,02021990,barselona,buddy123,19061987,fyfnjkbq,nancy1,12121990,10071987,sluggo,kille,hotties,irishka,zxcasdqwe123,shamus,fairlane,honeybee,soccer10,13061986,fantomas,17051988,10051987,20111986,gladiato,karachi,gambler,gordo,01011995,biatch,matthe,25800852,papito,excite,buffalo1,bobdole,cheshire,player1,28021992,thewho,10101986,pinky1,mentor,tomahawk,brown1,03041986,bismillah,bigpoppa,ijrjkfl,01121988,runaway,08121986,skibum,studman,helper,squeak,holycow,manfred,harlem,glock,gideon,987321,14021985,yellow1,wizard1,margarit,success1,medved,sf49ers,lambda,pasadena,johngalt,quasar,1776,02031980,coldplay,amand,playa,bigpimp,04041991,capricorn,elefant,sweetness,bruce1,luca,dominik,10011990,biker,09051945,datsun,elcamino,trinitro,malice,audi,voyager1,02101983,joe123,carpente,spartan1,mario1,glamour,diaper,12121985,22011988,winter1,asimov,callisto,nikolai,pebble,02101981,vendetta,david123,boytoy,11061985,02031989,iloveyou1,stupid1,cayman,casper1,zippo,yamahar1,wildwood,foxylady,calibra,02041980,27061988,dungeon,leedsutd,30041986,11051990,bestbuy,antares,dominion,24680,01061986,skillet,enforcer,derparol,01041988,196969,29071983,f00tball,purple1,mingus,25031987,21031990,remingto,giggles,klaste,3x7pxr,01011994,coolcat,29051989,megane,20031987,02051980,04041988,synergy,0000007,macman,iforget,adgjmp,vjqgfhjkm,28011987,rfvfcenhf,16051989,25121987,16051987,rogue,mamamia,08051990,20091991,1210,carnival,bolitas,paris1,dmitriy,dimas,05051989,papillon,knuckles,29011985,hola,tophat,28021990,100500,cutiepie,devo,415263,ducks,ghjuhfvvf,asdqwe,22021986,freefall,parol,02011983,zarina,buste,vitamin,warez,bigones,17061988,baritone,jamess,twiggy,mischief,bitchy,hetfield,1003,dontknow,grinch,sasha_007,18061990,12031985,12031987,calimero,224466,letmei,15011987,acmilan,alexandre,02031977,08081988,whiteboy,21051991,barney1,02071978,money123,18091985,bigdawg,02031988,cygnusx1,zoloto,31011987,firefigh,blowfish,screamer,lfybbk,20051988,chelse,11121986,01031989,harddick,sexylady,30031988,02041974,auditt,pizdec,kojak,kfgjxrf,20091988,123456ru,wp2003wp,1204,15051990,slugger,kordell1,03031986,swinging,01011974,02071979,rockie,dimples,1234123,1dragon,trucking,rusty2,roger1,marijuana,kerouac,02051978,08031985,paco,thecure,keepout,kernel,noname123,13121985,francisc,bozo,02011982,22071986,02101979,obsidian,12345qw,spud,tabasco,02051985,jaguars,dfktynby,kokomo,popova,notused,sevens,4200,magneto,02051976,roswell,15101986,21101986,lakeside,bigbang,aspen,little1,14021986,loki,suckmydick,strawber,carlos1,nokian73,dirty1,joshu,25091987,16121987,02041975,advent,17011987,slimshady,whistler,10101990,stryker,22031984,15021985,01031985,blueball,26031988,ksusha,bahamut,robocop,w_pass,chris123,impreza,prozac,bookie,bricks,13021990,alice1,cassandr,11111q,john123,4ever,korova,02051973,142857,25041988,paramedi,eclipse1,salope,07091990,1124,darkangel,23021986,999666,nomad,02051981,smackdow,01021990,yoyoma,argentin,moonligh,57chevy,bootys,hardone,capricor,galant,spanker,dkflbr,24111989,magpies,krolik,21051988,cevthrb,cheddar,22041988,bigbooty,scuba1,qwedsa,duffman,bukkake,acura,johncena,sexxy,p@ssw0rd,258369,cherries,12345s,asgard,leopold,fuck123,mopar,lalakers,dogpound,matrix1,crusty,spanner,kestrel,fenris,universa,peachy,assasin,lemmein,eggplant,hejsan,canucks,wendy1,doggy1,aikman,tupac,turnip,godlike,fussball,golden1,19283746,april1,django,petrova,captain1,vincent1,ratman,taekwondo,chocha,serpent,perfect1,capetown,vampir,amore,gymnast,timeout,nbvjatq,blue32,ksenia,k.lvbkf,nazgul,budweiser,clutch,mariya,sylveste,02051972,beaker,cartman1,q11111,sexxx,forever1,loser1,marseill,magellan,vehpbr,sexgod,jktxrf,hallo123,132456,liverpool1,southpaw,seneca,camden,357159,camero,tenchi,johndoe,145236,roofer,741963,vlad,02041978,fktyrf,zxcv123,wingnut,wolfpac,notebook,pufunga7782,brandy1,biteme1,goodgirl,redhat,02031978,challeng,millenium,hoops,maveric,noname,angus1,gaell,onion,olympus,sabrina1,ricard,sixpack,gratis,gagged,camaross,hotgirls,flasher,02051977,bubba123,goldfing,moonshin,gerrard,volkov,sonyfuck,mandrake,258963,tracer,lakers1,asians,susan1,money12,helmut,boater,diablo2,1234zxcv,dogwood,bubbles1,happy2,randy1,aries,beach1,marcius2,navigator,goodie,hellokitty,fkbyjxrf,earthlink,lookout,jumbo,opendoor,stanley1,marie1,12345m,07071977,ashle,wormix,murzik,02081976,lakewood,bluejays,loveya,commande,gateway2,peppe,01011976,7896321,goth,oreo,slammer,rasmus,faith1,knight1,stone1,redskin,ironmaiden,gotmilk,destiny1,dejavu,1master,midnite,timosha,espresso,delfin,toriamos,oberon,ceasar,markie,1a2s3d,ghhh47hj7649,vjkjrj,daddyo,dougie,disco,auggie,lekker,therock1,ou8123,start1,noway,p4ssw0rd,shadow12,333444,saigon,2fast4u,capecod,23skidoo,qazxcv,beater,bremen,aaasss,roadrunner,peace1,12345qwer,02071975,platon,bordeaux,vbkfirf,135798642,test12,supernov,beatles1,qwert40,optimist,vanessa1,prince1,ilovegod,nightwish,natasha1,alchemy,bimbo,blue99,patches1,gsxr1000,richar,hattrick,hott,solaris,proton,nevets,enternow,beavis1,amigos,159357a,ambers,lenochka,147896,suckdick,shag,intercourse,blue1234,spiral,02061977,tosser,ilove,02031975,cowgirl,canuck,q2w3e4,munch,spoons,waterboy,123567,evgeniy,savior,zasada,redcar,mamacita,terefon,globus,doggies,htubcnhfwbz,1008,cuervo,suslik,azertyui,limewire,houston1,stratfor,steaua,coors,tennis1,12345qwerty,stigmata,derf,klondike,patrici,marijuan,hardball,odyssey,nineinch,boston1,pass1,beezer,sandr,charon,power123,a1234,vauxhall,875421,awesome1,reggae,boulder,funstuff,iriska,krokodil,rfntymrf,sterva,champ1,bball,peeper,m123456,toolbox,cabernet,sheepdog,magic32,pigpen,02041977,holein1,lhfrjy,banan,dabomb,natalie1,jennaj,montana1,joecool,funky,steven1,ringo,junio,sammy123,qqqwww,baltimor,footjob,geezer,357951,mash4077,cashmone,pancake,monic,grandam,bongo,yessir,gocubs,nastia,vancouve,barley,dragon69,watford,ilikepie,02071976,laddie,123456789m,hairball,toonarmy,pimpdadd,cvthnm,hunte,davinci,lback,sophie1,firenze,q1234567,admin1,bonanza,elway7,daman,strap,azert,wxcvbn,afrika,theforce,123456t,idefix,wolfen,houdini,scheisse,default,beech,maserati,02061976,sigmachi,dylan1,bigdicks,eskimo,mizzou,02101976,riccardo,egghead,111777,kronos,ghbrjk,chaos1,jomama,rfhnjirf,rodeo,dolemite,cafc91,nittany,pathfind,mikael,password9,vqsablpzla,purpl,gabber,modelsne,myxworld,hellsing,punker,rocknrol,fishon,fuck69,02041976,lolol,twinkie,tripleh,cirrus,redbone,killer123,biggun,allegro,gthcbr,smith1,wanking,bootsy,barry1,mohawk,koolaid,5329,futurama,samoht,klizma,996633,lobo,honeys,peanut1,556677,zxasqw,joemama,javelin,samm,223322,sandra1,flicks,montag,nataly,3006,tasha1,1235789,dogbone,poker1,p0o9i8u7,goodday,smoothie,toocool,max333,metroid,archange,vagabond,billabon,22061941,tyson1,02031973,darkange,skateboard,evolutio,morrowind,wizards,frodo1,rockin,cumslut,plastics,zaqwsxcde,5201314,doit,outback,bumble,dominiqu,persona,nevermore,alinka,02021971,forgetit,sexo,all4one,c2h5oh,petunia,sheeba,kenny1,elisabet,aolsucks,woodstoc,pumper,02011975,fabio,granada,scrapper,123459,minimoni,q123456789,breaker,1004,02091976,ncc74656,slimshad,friendster,austin31,wiseguy,donner,dilbert1,132465,blackbird,buffet,jellybean,barfly,behappy,01011971,carebear,fireblad,02051975,boxcar,cheeky,kiteboy,hello12,panda1,elvisp,opennow,doktor,alex12,02101977,pornking,flamengo,02091975,snowbird,lonesome,robin1,11111a,weed420,baracuda,bleach,12345abc,nokia1,metall,singapor,mariner,herewego,dingo,tycoon,cubs,blunts,proview,123456789d,kamasutra,lagnaf,vipergts,navyseal,starwar,masterbate,wildone,peterbil,cucumber,butkus,123qwert,climax,deniro,gotribe,cement,scooby1,summer69,harrier,shodan,newyear,02091977,starwars1,romeo1,sedona,harald,doubled,sasha123,bigguns,salami,awnyce,kiwi,homemade,pimping,azzer,bradley1,warhamme,linkin,dudeman,qwe321,pinnacle,maxdog,flipflop,lfitymrf,fucker1,acidburn,esquire,sperma,fellatio,jeepster,thedon,sexybitch,pookey,spliff,widget,vfntvfnbrf,trinity1,mutant,samuel1,meliss,gohome,1q2q3q,mercede,comein,grin,cartoons,paragon,henrik,rainyday,pacino,senna,bigdog1,alleycat,12345qaz,narnia,mustang2,tanya1,gianni,apollo11,wetter,clovis,escalade,rainbows,freddy1,smart1,daisydog,s123456,cocksucker,pushkin,lefty,sambo,fyutkjxtr,hiziad,boyz,whiplash,orchard,newark,adrenalin,1598753,bootsie,chelle,trustme,chewy,golfgti,tuscl,ambrosia,5wr2i7h8,penetration,shonuf,jughead,payday,stickman,gotham,kolokol,johnny5,kolbasa,stang,puppydog,charisma,gators1,mone,jakarta,draco,nightmar,01011973,inlove,laetitia,02091973,tarpon,nautica,meadow,0192837465,luckyone,14881488,chessie,goldeney,tarakan,69camaro,bungle,wordup,interne,fuckme2,515000,dragonfl,sprout,02081974,gerbil,bandit1,02071971,melanie1,phialpha,camber,kathy1,adriano,gonzo1,10293847,bigjohn,bismarck,7777777a,scamper,12348765,rabbits,222777,bynthytn,dima123,alexander1,mallorca,dragster,favorite6,beethove,burner,cooper1,fosters,hello2,normandy,777999,sebring,1michael,lauren1,blake1,killa,02091971,nounours,trumpet1,thumper1,playball,xantia,rugby1,rocknroll,guillaum,angela1,strelok,prosper,buttercup,masterp,dbnfkbr,cambridg,venom,treefrog,lumina,1234566,supra,sexybabe,freee,shen,frogs,driller,pavement,grace1,dicky,checker,smackdown,pandas,cannibal,asdffdsa,blue42,zyjxrf,nthvbyfnjh,melrose,neon,jabber,gamma,369258147,aprilia,atticus,benessere,catcher,skipper1,azertyuiop,sixty9,thierry,treetop,jello,melons,123456789qwe,tantra,buzzer,catnip,bouncer,computer1,sexyone,ananas,young1,olenka,sexman,mooses,kittys,sephiroth,contra,hallowee,skylark,sparkles,777333,1qazxsw23edc,lucas1,q1w2e3r,gofast,hannes,amethyst,ploppy,flower2,hotass,amatory,volleyba,dixie1,bettyboo,ticklish,02061974,frenchy,phish1,murphy1,trustno,02061972,leinad,mynameis,spooge,jupiter1,hyundai,frosch,junkmail,abacab,marbles,32167,casio,sunshine1,wayne1,longhair,caster,snicker,02101973,gannibal,skinhead,hansol,gatsby,segblue2,montecar,plato,gumby,kaboom,matty,bosco1,888999,jazzy,panter,jesus123,charlie2,giulia,candyass,sex69,travis1,farmboy,special1,02041973,letsdoit,password01,allison1,abcdefg1,notredam,ilikeit,789654123,liberty1,rugger,uptown,alcatraz,123456w,airman,007bond,navajo,kenobi,terrier,stayout,grisha,frankie1,fluff,1qazzaq1,1234561,virginie,1234568,tango1,werdna,octopus,fitter,dfcbkbcf,blacklab,115599,montrose,allen1,supernova,frederik,ilovepussy,justice1,radeon,playboy2,blubber,sliver,swoosh,motocros,lockdown,pearls,thebear,istheman,pinetree,biit,1234rewq,rustydog,tampabay,titts,babycake,jehovah,vampire1,streaming,collie,camil,fidelity,calvin1,stitch,gatit,restart,puppy1,budgie,grunt,capitals,hiking,dreamcas,zorro1,321678,riffraff,makaka,playmate,napalm,rollin,amstel,zxcvb123,samanth,rumble,fuckme69,jimmys,951357,pizzaman,1234567899,tralala,delpiero,alexi,yamato,itisme,1million,vfndtq,kahlua,londo,wonderboy,carrots,tazz,ratboy,rfgecnf,02081973,nico,fujitsu,tujhrf,sergbest,blobby,02051970,sonic1,1357911,smirnov,video1,panhead,bucky,02031974,44332211,duffer,cashmoney,left4dead,bagpuss,salman,01011972,titfuck,66613666,england1,malish,dresden,lemans,darina,zapper,123456as,123456qqq,met2002,02041972,redstar,blue23,1234509876,pajero,booyah,please1,tetsuo,semper,finder,hanuman,sunlight,123456n,02061971,treble,cupoi,password99,dimitri,3ip76k2,popcorn1,lol12345,stellar,nympho,shark1,keith1,saskia,bigtruck,revoluti,rambo1,asd222,feelgood,phat,gogators,bismark,cola,puck,furball,burnout,slonik,bowtie,mommy1,icecube,fabienn,mouser,papamama,rolex,giants1,blue11,trooper1,momdad,iklo,morten,rhubarb,gareth,123456d,blitz,canada1,r2d2,brest,tigercat,usmarine,lilbit,benny1,azrael,lebowski,12345r,madagaskar,begemot,loverman,dragonballz,italiano,mazda3,naughty1,onions,diver1,cyrano,capcom,asdfg123,forlife,fisherman,weare138,requiem,mufasa,alpha123,piercing,hellas,abracadabra,duckman,caracas,macintos,02011971,jordan2,crescent,fduecn,hogtied,eatmenow,ramjet,18121812,kicksass,whatthe,discus,rfhfvtkmrf,rufus1,sqdwfe,mantle,vegitto,trek,dan123,paladin1,rudeboy,liliya,lunchbox,riversid,acapulco,libero,dnsadm,maison,toomuch,boobear,hemlock,sextoy,pugsley,misiek,athome,migue,altoids,marcin,123450,rhfcfdbwf,jeter2,rhinos,rjhjkm,mercury1,ronaldinho,shampoo,makayla,kamilla,masterbating,tennesse,holger,john1,matchbox,hores,poptart,parlament,goodyear,asdfgh1,02081970,hardwood,alain,erection,hfytnrb,highlife,implants,benjami,dipper,jeeper,bendover,supersonic,babybear,laserjet,gotenks,bama,natedogg,aol123,pokemo,rabbit1,raduga,sopranos,cashflow,menthol,pharao,hacking,334455,ghjcnbnenrf,lizzy,muffin1,pooky,penis1,flyer,gramma,dipset,becca,ireland1,diana1,donjuan,pong,ziggy1,alterego,simple1,cbr900,logger,111555,claudia1,cantona7,matisse,ljxtymrf,victori,harle,mamas,encore,mangos,iceman1,diamon,alexxx,tiamat,5000,desktop,mafia,smurf,princesa,shojou,blueberr,welkom,maximka,123890,123q123,tammy1,bobmarley,clips,demon666,ismail,termite,laser1,missie,altair,donna1,bauhaus,trinitron,mogwai,flyers88,juniper,nokia5800,boroda,jingles,qwerasdfzxcv,shakur,777666,legos,mallrats,1qazxsw,goldeneye,tamerlan,julia1,backbone,spleen,49ers,shady,darkone,medic1,justi,giggle,cloudy,aisan,douche,parkour,bluejay,huskers1,redwine,1qw23er4,satchmo,1231234,nineball,stewart1,ballsack,probes,kappa,amiga,flipper1,dortmund,963258,trigun,1237895,homepage,blinky,screwy,gizzmo,belkin,chemist,coolhand,chachi,braves1,thebest,greedisgood,pro100,banana1,101091m,123456g,wonderfu,barefeet,8inches,1111qqqq,kcchiefs,qweasdzxc123,metal1,jennifer1,xian,asdasd123,pollux,cheerleaers,fruity,mustang5,turbos,shopper,photon,espana,hillbill,oyster,macaroni,gigabyte,jesper,motown,tuxedo,buster12,triplex,cyclones,estrell,mortis,holla,456987,fiddle,sapphic,jurassic,thebeast,ghjcnjq,baura,spock1,metallica1,karaoke,nemrac58,love1234,02031970,flvbybcnhfnjh,frisbee,diva,ajax,feathers,flower1,soccer11,allday,mierda,pearl1,amature,marauder,333555,redheads,womans,egorka,godbless,159263,nimitz,aaaa1111,sashka,madcow,socce,greywolf,baboon,pimpdaddy,123456789r,reloaded,lancia,rfhfylfi,dicker,placid,grimace,22446688,olemiss,whores,culinary,wannabe,maxi,1234567aa,amelie,riley1,trample,phantom1,baberuth,bramble,asdfqwer,vides,4you,abc123456,taichi,aztnm,smother,outsider,hakr,blackhawk,bigblack,girlie,spook,valeriya,gianluca,freedo,1q2q3q4q,handbag,lavalamp,cumm,pertinant,whatup,nokia123,redlight,patrik,111aaa,poppy1,dfytxrf,aviator,sweeps,kristin1,cypher,elway,yinyang,access1,poophead,tucson,noles1,monterey,waterfal,dank,dougal,918273,suede,minnesot,legman,bukowski,ganja,mammoth,riverrat,asswipe,daredevi,lian,arizona1,kamikadze,alex1234,smile1,angel2,55bgates,bellagio,0001,wanrltw,stiletto,lipton,arsena,biohazard,bbking,chappy,tetris,as123456,darthvad,lilwayne,nopassword,7412369,123456789987654321,natchez,glitter,14785236,mytime,rubicon,moto,pyon,wazzup,tbird,shane1,nightowl,getoff,beckham7,trueblue,hotgirl,nevermin,deathnote,13131,taffy,bigal,copenhag,apricot,gallaries,dtkjcbgtl,totoro,onlyone,civicsi,jesse1,baby123,sierra1,festus,abacus,sickboy,fishtank,fungus,charle,golfpro,teensex,mario66,seaside,aleksei,rosewood,blackberry,1020304050,bedlam,schumi,deerhunt,contour,darkelf,surveyor,deltas,pitchers,741258963,dipstick,funny1,lizzard,112233445566,jupiter2,softtail,titman,greenman,z1x2c3v4b5,smartass,12345677,notnow,myworld,nascar1,chewbacc,nosferatu,downhill,dallas22,kuan,blazers,whales,soldat,craving,powerman,yfcntyf,hotrats,cfvceyu,qweasdzx,princess1,feline,qqwwee,chitown,1234qaz,mastermind,114477,dingbat,care1839,standby,kismet,atreides,dogmeat,icarus,monkeyboy,alex1,mouses,nicetits,sealteam,chopper1,crispy,winter99,rrpass1,myporn,myspace1,corazo,topolino,ass123,lawman,muffy,orgy,1love,passord,hooyah,ekmzyf,pretzel,amonra,nestle,01011950,jimbeam,happyman,z12345,stonewal,helios,manunited,harcore,dick1,gaymen,2hot4u,light1,qwerty13,kakashi,pjkjnj,alcatel,taylo,allah,buddydog,ltkmaby,mongo,blonds,start123,audia6,123456v,civilwar,bellaco,turtles,mustan,deadspin,aaa123,fynjirf,lucky123,tortoise,amor,summe,waterski,zulu,drag0n,dtxyjcnm,gizmos,strife,interacial,pusyy,goose1,bear1,equinox,matri,jaguar1,tobydog,sammys,nachos,traktor,bryan1,morgoth,444555,dasani,miami1,mashka,xxxxxx1,ownage,nightwin,hotlips,passmast,cool123,skolko,eldiablo,manu,1357908642,screwyou,badabing,foreplay,hydro,kubrick,seductive,demon1,comeon,galileo,aladdin,metoo,happines,902100,mizuno,caddy,bizzare,girls1,redone,ohmygod,sable,bonovox,girlies,hamper,opus,gizmodo1,aaabbb,pizzahut,999888,rocky2,anton1,kikimora,peavey,ocelot,a1a2a3a4,2wsx3edc,jackie1,solace,sprocket,galary,chuck1,volvo1,shurik,poop123,locutus,virago,wdtnjxtr,tequier,bisexual,doodles,makeitso,fishy,789632145,nothing1,fishcake,sentry,libertad,oaktree,fivestar,adidas1,vegitta,mississi,spiffy,carme,neutron,vantage,agassi,boners,123456789v,hilltop,taipan,barrage,kenneth1,fister,martian,willem,lfybkf,bluestar,moonman,ntktdbpjh,paperino,bikers,daffy,benji,quake,dragonfly,suckcock,danilka,lapochka,belinea,calypso,asshol,camero1,abraxas,mike1234,womam,q1q2q3q4q5,youknow,maxpower,pic's,audi80,sonora,raymond1,tickler,tadpole,belair,crazyman,finalfantasy,999000,jonatha,paisley,kissmyas,morgana,monste,mantra,spunk,magic123,jonesy,mark1,alessand,741258,baddest,ghbdtnrfrltkf,zxccxz,tictac,augustin,racers,7grout,foxfire,99762000,openit,nathanie,1z2x3c4v5b,seadog,gangbanged,lovehate,hondacbr,harpoon,mamochka,fisherma,bismilla,locust,wally1,spiderman1,saffron,utjhubq,123456987,20spanks,safeway,pisser,bdfyjd,kristen1,bigdick1,magenta,vfhujif,anfisa,friday13,qaz123wsx,0987654321q,tyrant,guan,meggie,kontol,nurlan,ayanami,rocket1,yaroslav,websol76,mutley,hugoboss,websolutions,elpaso,gagarin,badboys,sephirot,918273645,newuser,qian,edcrfv,booger1,852258,lockout,timoxa94,mazda323,firedog,sokolova,skydiver,jesus777,1234567890z,soulfly,canary,malinka,guillerm,hookers,dogfart,surfer1,osprey,india123,rhjkbr,stoppedby,nokia5530,123456789o,blue1,werter,divers,3000,123456f,alpina,cali,whoknows,godspeed,986532,foreskin,fuzzy1,heyyou,didier,slapnuts,fresno,rosebud1,sandman1,bears1,blade1,honeybun,queen1,baronn,pakista,philipp,9111961,topsecret,sniper1,214365,slipper,letsfuck,pippen33,godawgs,mousey,qw123456,scrotum,loveis,lighthou,bp2002,nancy123,jeffrey1,susieq,buddy2,ralphie,trout1,willi,antonov,sluttey,rehbwf,marty1,darian,losangeles,letme1n,12345d,pusssy,godiva,ender,golfnut,leonidas,a1b2c3d4e5,puffer,general1,wizzard,lehjxrf,racer1,bigbucks,cool12,buddys,zinger,esprit,vbienrf,josep,tickling,froggie,987654321a,895623,daddys,crumbs,gucci,mikkel,opiate,tracy1,christophe,came11,777555,petrovich,humbug,dirtydog,allstate,horatio,wachtwoord,creepers,squirts,rotary,bigd,georgia1,fujifilm,2sweet,dasha,yorkie,slimjim,wiccan,kenzie,system1,skunk,b12345,getit,pommes,daredevil,sugars,bucker,piston,lionheart,1bitch,515051,catfight,recon,icecold,fantom,vodafone,kontakt,boris1,vfcnth,canine,01011961,valleywa,faraon,chickenwing101,qq123456,livewire,livelife,roosters,jeepers,ilya1234,coochie,pavlik,dewalt,dfhdfhf,architec,blackops,1qaz2wsx3edc4rfv,rhfcjnf,wsxedc,teaser,sebora,25252,rhino1,ankara,swifty,decimal,redleg,shanno,nermal,candies,smirnova,dragon01,photo1,ranetki,a1s2d3f4g5,axio,wertzu,maurizio,6uldv8,zxcvasdf,punkass,flowe,graywolf,peddler,3rjs1la7qe,mpegs,seawolf,ladyboy,pianos,piggies,vixen,alexus,orpheus,gdtrfb,z123456,macgyver,hugetits,ralph1,flathead,maurici,mailru,goofball,nissan1,nikon,stopit,odin,big1,smooch,reboot,famil,bullit,anthony7,gerhard,methos,124038,morena,eagle2,jessica2,zebras,getlost,gfynthf,123581321,sarajevo,indon,comets,tatjana,rfgbnjirf,joystick,batman12,123456c,sabre,beerme,victory1,kitties,1475369,badboy1,booboo1,comcast,slava,squid,saxophon,lionhear,qaywsx,bustle,nastena,roadway,loader,hillside,starlight,24681012,niggers,access99,bazooka,molly123,blackice,bandi,cocacol,nfhfrfy,timur,muschi,horse1,quant4307s,squerting,oscars,mygirls,flashman,tangerin,goofy1,p0o9i8,housewifes,newness,monkey69,escorpio,password11,hippo,warcraft3,qazxsw123,qpalzm,ribbit,ghbdtndctv,bogota,star123,258000,lincoln1,bigjim,lacoste,firestorm,legenda,indain,ludacris,milamber,1009,evangeli,letmesee,a111111,hooters1,bigred1,shaker,husky,a4tech,cnfkrth,argyle,rjhjdf,nataha,0o9i8u7y,gibson1,sooners1,glendale,archery,hoochie,stooge,aaaaaa1,scorpions,school1,vegas1,rapier,mike23,bassoon,groupd2013,macaco,baker1,labia,freewill,santiag,silverado,butch1,vflfufcrfh,monica1,rugrat,cornhole,aerosmit,bionicle,gfgfvfvf,daniel12,virgo,fmale,favorite2,detroit1,pokey,shredder,baggies,wednesda,cosmo1,mimosa,sparhawk,firehawk,romario,911turbo,funtimes,fhntvrf,nexus6,159753456,timothy1,bajingan,terry1,frenchie,raiden,1mustang,babemagnet,74123698,nadejda,truffles,rapture,douglas1,lamborghini,motocross,rjcvjc,748596,skeeter1,dante1,angel666,telecom,carsten,pietro,bmw318,astro1,carpediem,samir,orang,helium,scirocco,fuzzball,rushmore,rebelz,hotspur,lacrimosa,chevys10,madonna1,domenico,yfnfirf,jachin,shelby1,bloke,dawgs,dunhill,atlanta1,service1,mikado,devilman,angelit,reznor,euphoria,lesbain,checkmat,browndog,phreak,blaze1,crash1,farida,mutter,luckyme,horsemen,vgirl,jediknig,asdas,cesare,allnight,rockey,starlite,truck1,passfan,close-up,samue,cazzo,wrinkles,homely,eatme1,sexpot,snapshot,dima1995,asthma,thetruth,ducky,blender,priyanka,gaucho,dutchman,sizzle,kakarot,651550,passcode,justinbieber,666333,elodie,sanjay,110442,alex01,lotus1,2300mj,lakshmi,zoomer,quake3,12349876,teapot,12345687,ramada,pennywis,striper,pilot1,chingon,optima,nudity,ethan1,euclid,beeline,loyola,biguns,zaq12345,bravo1,disney1,buffa,assmunch,vivid,6661313,wellingt,aqwzsx,madala11,9874123,sigmar,pictere,tiptop,bettyboop,dinero,tahiti,gregory1,bionic,speed1,fubar1,lexus1,denis1,hawthorn,saxman,suntzu,bernhard,dominika,camaro1,hunter12,balboa,bmw2002,seville,diablo1,vfhbyjxrf,1234abc,carling,lockerroom,punani,darth,baron1,vaness,1password,libido,picher,232425,karamba,futyn007,daydream,11001001,dragon123,friends1,bopper,rocky123,chooch,asslover,shimmer,riddler,openme,tugboat,sexy123,midori,gulnara,christo,swatch,laker,offroad,puddles,hackers,mannheim,manager1,horseman,roman1,dancer1,komputer,pictuers,nokia5130,ejaculation,lioness,123456y,evilone,nastenka,pushok,javie,lilman,3141592,mjolnir,toulouse,pussy2,bigworm,smoke420,fullback,extensa,dreamcast,belize,delboy,willie1,casablanca,csyjxtr,ricky1,bonghit,salvator,basher,pussylover,rosie1,963258741,vivitron,cobra427,meonly,armageddon,myfriend,zardoz,qwedsazxc,kraken,fzappa,starfox,333999,illmatic,capoeira,weenie,ramzes,freedom2,toasty,pupkin,shinigami,fhvfutljy,nocturne,churchil,thumbnils,tailgate,neworder,sexymama,goarmy,cerebus,michelle1,vbifyz,surfsup,earthlin,dabulls,basketbal,aligator,mojojojo,saibaba,welcome2,wifes,wdtnjr,12345w,slasher,papabear,terran,footman,hocke,153759,texans,tom123,sfgiants,billabong,aassdd,monolith,xxx777,l3tm31n,ticktock,newone,hellno,japanees,contortionist,admin123,scout1,alabama1,divx1,rochard,privat,radar1,bigdad,fhctybq,tortuga,citrus,avanti,fantasy1,woodstock,s12345,fireman1,embalmer,woodwork,bonzai,konyor,newstart,jigga,panorama,goats,smithy,rugrats,hotmama,daedalus,nonstop,fruitbat,lisenok,quaker,violator,12345123,my3sons,cajun,fraggle,gayboy,oldfart,vulva,knickerless,orgasms,undertow,binky,litle,kfcnjxrf,masturbation,bunnie,alexis1,planner,transexual,sparty,leeloo,monies,fozzie,stinger1,landrove,anakonda,scoobie,yamaha1,henti,star12,rfhlbyfk,beyonce,catfood,cjytxrf,zealots,strat,fordtruc,archangel,silvi,sativa,boogers,miles1,bigjoe,tulip,petite,greentea,shitter,jonboy,voltron,morticia,evanescence,3edc4rfv,longshot,windows1,serge,aabbcc,starbucks,sinful,drywall,prelude1,www123,camel1,homebrew,marlins,123412,letmeinn,domini,swampy,plokij,fordf350,webcam,michele1,bolivi,27731828,wingzero,qawsedrftg,shinji,sverige,jasper1,piper1,cummer,iiyama,gocats,amour,alfarome,jumanji,mike69,fantasti,1monkey,w00t88,shawn1,lorien,1a2s3d4f5g,koleso,murph,natascha,sunkist,kennwort,emine,grinder,m12345,q1q2q3q4,cheeba,money2,qazwsxedc1,diamante,prosto,pdiddy,stinky1,gabby1,luckys,franci,pornographic,moochie,gfhjdjp,samdog,empire1,comicbookdb,emili,motdepasse,iphone,braveheart,reeses,nebula,sanjose,bubba2,kickflip,arcangel,superbow,porsche911,xyzzy,nigger1,dagobert,devil1,alatam,monkey2,barbara1,12345v,vfpfafrf,alessio,babemagn,aceman,arrakis,kavkaz,987789,jasons,berserk,sublime1,rogue1,myspace,buckwhea,csyekz,pussy4me,vette1,boots1,boingo,arnaud,budlite,redstorm,paramore,becky1,imtheman,chango,marley1,milkyway,666555,giveme,mahalo,lux2000,lucian,paddy,praxis,shimano,bigpenis,creeper,newproject2004,rammstei,j3qq4h7h2v,hfljcnm,lambchop,anthony2,bugman,gfhjkm12,dreamer1,stooges,cybersex,diamant,cowboyup,maximus1,sentra,615243,goethe,manhatta,fastcar,selmer,1213141516,yfnfitymrf,denni,chewey,yankee1,elektra,123456789p,trousers,fishface,topspin,orwell,vorona,sodapop,motherfu,ibilltes,forall,kookie,ronald1,balrog,maximilian,mypasswo,sonny1,zzxxcc,tkfkdg,magoo,mdogg,heeled,gitara,lesbos,marajade,tippy,morozova,enter123,lesbean,pounded,asd456,fialka,scarab,sharpie,spanky1,gstring,sachin,12345asd,princeto,hellohel,ursitesux,billows,1234kekc,kombat,cashew,duracell,kseniya,sevenof9,kostik,arthur1,corvet07,rdfhnbhf,songoku,tiberian,needforspeed,1qwert,dropkick,kevin123,panache,libra,a123456a,kjiflm,vfhnsirf,cntgfy,iamcool,narut,buffer,sk8ordie,urlaub,fireblade,blanked,marishka,gemini1,altec,gorillaz,chief1,revival47,ironman1,space1,ramstein,doorknob,devilmaycry,nemesis1,sosiska,pennstat,monday1,pioner,shevchenko,detectiv,evildead,blessed1,aggie,coffees,tical,scotts,bullwink,marsel,krypto,adrock,rjitxrf,asmodeus,rapunzel,theboys,hotdogs,deepthro,maxpayne,veronic,fyyeirf,otter,cheste,abbey1,thanos,bedrock,bartok,google1,xxxzzz,rodent,montecarlo,hernande,mikayla,123456789l,bravehea,12locked,ltymub,pegasus1,ameteur,saltydog,faisal,milfnew,momsuck,everques,ytngfhjkz,m0nkey,businessbabe,cooki,custard,123456ab,lbvjxrf,outlaws,753357,qwerty78,udacha,insider,chees,fuckmehard,shotokan,katya,seahorse,vtldtlm,turtle1,mike12,beebop,heathe,everton1,darknes,barnie,rbcekz,alisher,toohot,theduke,555222,reddog1,breezy,bulldawg,monkeyman,baylee,losangel,mastermi,apollo1,aurelie,zxcvb12345,cayenne,bastet,wsxzaq,geibcnbr,yello,fucmy69,redwall,ladybird,bitchs,cccccc1,rktjgfnhf,ghjdthrf,quest1,oedipus,linus,impalass,fartman,12345k,fokker,159753a,optiplex,bbbbbb1,realtor,slipkno,santacru,rowdy,jelena,smeller,3984240,ddddd1,sexyme,janet1,3698741,eatme69,cazzone,today1,poobear,ignatius,master123,newpass1,heather2,snoopdogg,blondinka,pass12,honeydew,fuckthat,890098890,lovem,goldrush,gecko,biker1,llama,pendejo,avalanche,fremont,snowman1,gandolf,chowder,1a2b3c4d5e,flyguy,magadan,1fuck,pingvin,nokia5230,ab1234,lothar,lasers,bignuts,renee1,royboy,skynet,12340987,1122334,dragrace,lovely1,22334455,booter,12345612,corvett,123456qq,capital1,videoes,funtik,wyvern,flange,sammydog,hulkster,13245768,not4you,vorlon,omegared,l58jkdjp!,filippo,123mudar,samadams,petrus,chris12,charlie123,123456789123,icetea,sunderla,adrian1,123qweas,kazanova,aslan,monkey123,fktyeirf,goodsex,123ab,lbtest,banaan,bluenose,837519,asd12345,waffenss,whateve,1a2a3a4a,trailers,vfhbirf,bhbcrf,klaatu,turk182,monsoon,beachbum,sunbeam,succes,clyde1,viking1,rawhide,bubblegum,princ,mackenzi,hershey1,222555,dima55,niggaz,manatee,aquila,anechka,pamel,bugsbunn,lovel,sestra,newport1,althor,hornyman,wakeup,zzz111,phishy,cerber,torrent,thething,solnishko,babel,buckeye1,peanu,ethernet,uncencored,baraka,665544,chris2,rb26dett,willy1,choppers,texaco,biggirl,123456b,anna2614,sukebe,caralho,callofduty,rt6ytere,jesus7,angel12,1money,timelord,allblack,pavlova,romanov,tequiero,yitbos,lookup,bulls23,snowflake,dickweed,barks,lever,irisha,firestar,fred1234,ghjnjnbg,danman,gatito,betty1,milhouse,kbctyjr,masterbaiting,delsol,papit,doggys,123698741,bdfyjdf,invictus,bloods,kayla1,yourmama,apple2,angelok,bigboy1,pontiac1,verygood,yeshua,twins2,porn4me,141516,rasta69,james2,bosshog,candys,adventur,stripe,djkjlz,dokken,austin316,skins,hogwarts,vbhevbh,navigato,desperado,xxx666,cneltyn,vasiliy,hazmat,daytek,eightbal,fred1,four20,74227422,fabia,aerosmith,manue,wingchun,boohoo,hombre,sanity72,goatboy,fuckm,partizan,avrora,utahjazz,submarin,pussyeat,heinlein,control1,costaric,smarty,chuan,triplets,snowy,snafu,teacher1,vangogh,vandal,evergree,cochise,qwerty99,pyramid1,saab900,sniffer,qaz741,lebron23,mark123,wolvie,blackbelt,yoshi,feeder,janeway,nutella,fuking,asscock,deepak,poppie,bigshow,housewife,grils,tonto,cynthia1,temptress,irakli,belle1,russell1,manders,frank123,seabass,gforce,songbird,zippy1,naught,brenda1,chewy1,hotshit,topaz,43046721,girfriend,marinka,jakester,thatsme,planeta,falstaff,patrizia,reborn,riptide,cherry1,shuan,nogard,chino,oasis1,qwaszx12,goodlife,davis1,1911a1,harrys,shitfuck,12345678900,russian7,007700,bulls1,porshe,danil,dolphi,river1,sabaka,gobigred,deborah1,volkswagen,miamo,alkaline,muffdive,1letmein,fkbyrf,goodguy,hallo1,nirvan,ozzie,cannonda,cvbhyjdf,marmite,germany1,joeblow,radio1,love11,raindrop,159852,jacko,newday,fathead,elvis123,caspe,citibank,sports1,deuce,boxter,fakepass,golfman,snowdog,birthday4,nonmembe,niklas,parsifal,krasota,theshit,1235813,maganda,nikita1,omicron,cassie1,columbo,buick,sigma1,thistle,bassin,rickster,apteka,sienna,skulls,miamor,coolgirl,gravis,1qazxc,virgini,hunter2,akasha,batma,motorcyc,bambino,tenerife,fordf250,zhuan,iloveporn,markiza,hotbabes,becool,fynjybyf,wapapapa,forme,mamont,pizda,dragonz,sharon1,scrooge,mrbill,pfloyd,leeroy,natedog,ishmael,777111,tecumseh,carajo,nfy.irf,0000000000o,blackcock,fedorov,antigone,feanor,novikova,bobert,peregrin,spartan117,pumkin,rayman,manuals,tooltime,555333,bonethug,marina1,bonnie1,tonyhawk,laracroft,mahalkita,18273645,terriers,gamer,hoser,littlema,molotok,glennwei,lemon1,caboose,tater,12345654321,brians,fritz1,mistral,jigsaw,fuckshit,hornyguy,southside,edthom,antonio1,bobmarle,pitures,ilikesex,crafty,nexus,boarder,fulcrum,astonvil,yanks1,yngwie,account1,zooropa,hotlegs,sammi,gumbo,rover1,perkele,maurolarastefy,lampard,357753,barracud,dmband,abcxyz,pathfinder,335577,yuliya,micky,jayman,asdfg12345,1596321,halcyon,rerfhtre,feniks,zaxscd,gotyoass,jaycee,samson1,jamesb,vibrate,grandpri,camino,colossus,davidb,mamo4ka,nicky1,homer123,pinguin,watermelon,shadow01,lasttime,glider,823762,helen1,pyramids,tulane,osama,rostov,john12,scoote,bhbyrf,gohan,galeries,joyful,bigpussy,tonka,mowgli,astalavista,zzz123,leafs,dalejr8,unicorn1,777000,primal,bigmama,okmijn,killzone,qaz12345,snookie,zxcvvcxz,davidc,epson,rockman,ceaser,beanbag,katten,3151020,duckhunt,segreto,matros,ragnar,699669,sexsexse,123123z,fuckyeah,bigbutts,gbcmrf,element1,marketin,saratov,elbereth,blaster1,yamahar6,grime,masha,juneau,1230123,pappy,lindsay1,mooner,seattle1,katzen,lucent,polly1,lagwagon,pixie,misiaczek,666666a,smokedog,lakers24,eyeball,ironhors,ametuer,volkodav,vepsrf,kimmy,gumby1,poi098,ovation,1q2w3,drinker,penetrating,summertime,1dallas,prima,modles,takamine,hardwork,macintosh,tahoe,passthie,chiks,sundown,flowers1,boromir,music123,phaedrus,albert1,joung,malakas,gulliver,parker1,balder,sonne,jessie1,domainlock2005,express1,vfkbyf,youandme,raketa,koala,dhjnvytyjub,nhfrnjh,testibil,ybrbnjc,987654321q,axeman,pintail,pokemon123,dogggg,shandy,thesaint,11122233,x72jhhu3z,theclash,raptors,zappa1,djdjxrf,hell666,friday1,vivaldi,pluto1,lance1,guesswho,jeadmi,corgan,skillz,skippy1,mango1,gymnastic,satori,362514,theedge,cxfcnkbdfz,sparkey,deicide,bagels,lololol,lemmings,r4e3w2q1,silve,staind,schnuffi,dazzle,basebal1,leroy1,bilbo1,luckie,qwerty2,goodfell,hermione,peaceout,davidoff,yesterda,killah,flippy,chrisb,zelda1,headless,muttley,fuckof,tittys,catdaddy,photog,beeker,reaver,ram1500,yorktown,bolero,tryagain,arman,chicco,learjet,alexei,jenna1,go2hell,12s3t4p55,momsanaladventure,mustang9,protoss,rooter,ginola,dingo1,mojave,erica1,1qazse4,marvin1,redwolf,sunbird,dangerou,maciek,girsl,hawks1,packard1,excellen,dashka,soleda,toonces,acetate,nacked,jbond007,alligator,debbie1,wellhung,monkeyma,supers,rigger,larsson,vaseline,rjnzhf,maripos,123456asd,cbr600rr,doggydog,cronic,jason123,trekker,flipmode,druid,sonyvaio,dodges,mayfair,mystuff,fun4me,samanta,sofiya,magics,1ranger,arcane,sixtynin,222444,omerta,luscious,gbyudby,bobcats,envision,chance1,seaweed,holdem,tomate,mensch,slicer,acura1,goochi,qweewq,punter,repoman,tomboy,never1,cortina,gomets,147896321,369852147,dogma,bhjxrf,loglatin,eragon,strato,gazelle,growler,885522,klaudia,payton34,fuckem,butchie,scorpi,lugano,123456789k,nichola,chipper1,spide,uhbujhbq,rsalinas,vfylfhby,longhorns,bugatti,everquest,!qaz2wsx,blackass,999111,snakeman,p455w0rd,fanatic,family1,pfqxbr,777vlad,mysecret,marat,phoenix2,october1,genghis,panties1,cooker,citron,ace123,1234569,gramps,blackcoc,kodiak1,hickory,ivanhoe,blackboy,escher,sincity,beaks,meandyou,spaniel,canon1,timmy1,lancaste,polaroid,edinburg,fuckedup,hotman,cueball,golfclub,gopack,bookcase,worldcup,dkflbvbhjdbx,twostep,17171717aa,letsplay,zolushka,stella1,pfkegf,kingtut,67camaro,barracuda,wiggles,gjhjkm,prancer,patata,kjifhf,theman1,romanova,sexyass,copper1,dobber,sokolov,pomidor,algernon,cadman,amoremio,william2,silly1,bobbys,hercule,hd764nw5d7e1vb1,defcon,deutschland,robinhood,alfalfa,machoman,lesbens,pandora1,easypay,tomservo,nadezhda,goonies,saab9000,jordyn,f15eagle,dbrecz,12qwerty,greatsex,thrawn,blunted,baywatch,doggystyle,loloxx,chevy2,january1,kodak,bushel,78963214,ub6ib9,zz8807zpl,briefs,hawker,224488,first1,bonzo,brent1,erasure,69213124,sidewind,soccer13,622521,mentos,kolibri,onepiece,united1,ponyboy,keksa12,wayer,mypussy,andrej,mischa,mille,bruno123,garter,bigpun,talgat,familia,jazzy1,mustang8,newjob,747400,bobber,blackbel,hatteras,ginge,asdfjkl;,camelot1,blue44,rebbyt34,ebony1,vegas123,myboys,aleksander,ijrjkflrf,lopata,pilsner,lotus123,m0nk3y,andreev,freiheit,balls1,drjynfrnt,mazda1,waterpolo,shibumi,852963,123bbb,cezer121,blondie1,volkova,rattler,kleenex,ben123,sanane,happydog,satellit,qazplm,qazwsxedcrfvtgb,meowmix,badguy,facefuck,spice1,blondy,major1,25000,anna123,654321a,sober1,deathrow,patterso,china1,naruto1,hawkeye1,waldo1,butchy,crayon,5tgb6yhn,klopik,crocodil,mothra,imhorny,pookie1,splatter,slippy,lizard1,router,buratino,yahweh,123698,dragon11,123qwe456,peepers,trucker1,ganjaman,1hxboqg2,cheyanne,storys,sebastie,zztop,maddison,4rfv3edc,darthvader,jeffro,iloveit,victor1,hotty,delphin,lifeisgood,gooseman,shifty,insertions,dude123,abrupt,123masha,boogaloo,chronos,stamford,pimpster,kthjxrf,getmein,amidala,flubber,fettish,grapeape,dantes,oralsex,jack1,foxcg33,winchest,francis1,getin,archon,cliffy,blueman,1basebal,sport1,emmitt22,porn123,bignasty,morga,123hfjdk147,ferrar,juanito,fabiol,caseydog,steveo,peternorth,paroll,kimchi,bootleg,gaijin,secre,acacia,eatme2,amarillo,monkey11,rfhfgep,tylers,a1a2a3a4a5,sweetass,blower,rodina,babushka,camilo,cimbom,tiffan,vfnbkmlf,ohbaby,gotigers,lindsey1,dragon13,romulus,qazxsw12,zxcvbn1,dropdead,hitman47,snuggle,eleven11,bloopers,357mag,avangard,bmw320,ginscoot,dshade,masterkey,voodoo1,rootedit,caramba,leahcim,hannover,8phrowz622,tim123,cassius,000000a,angelito,zzzzz1,badkarma,star1,malaga,glenwood,footlove,golf1,summer12,helpme1,fastcars,titan1,police1,polinka,k.jdm,marusya,augusto,shiraz,pantyhose,donald1,blaise,arabella,brigada,c3por2d2,peter01,marco1,hellow,dillweed,uzumymw,geraldin,loveyou2,toyota1,088011,gophers,indy500,slainte,5hsu75kpot,teejay,renat,racoon,sabrin,angie1,shiznit,harpua,sexyred,latex,tucker1,alexandru,wahoo,teamwork,deepblue,goodison,rundmc,r2d2c3p0,puppys,samba,ayrton,boobed,999777,topsecre,blowme1,123321z,loudog,random1,pantie,drevil,mandolin,121212q,hottub,brother1,failsafe,spade1,matvey,open1234,carmen1,priscill,schatzi,kajak,gooddog,trojans1,gordon1,kayak,calamity,argent,ufhvjybz,seviyi,penfold,assface,dildos,hawkwind,crowbar,yanks,ruffles,rastus,luv2epus,open123,aquafina,dawns,jared1,teufel,12345c,vwgolf,pepsi123,amores,passwerd,01478520,boliva,smutty,headshot,password3,davidd,zydfhm,gbgbcmrf,pornpass,insertion,ceckbr,test2,car123,checkit,dbnfkbq,niggas,nyyankee,muskrat,nbuhtyjr,gunner1,ocean1,fabienne,chrissy1,wendys,loveme89,batgirl,cerveza,igorek,steel1,ragman,boris123,novifarm,sexy12,qwerty777,mike01,giveitup,123456abc,fuckall,crevice,hackerz,gspot,eight8,assassins,texass,swallows,123458,baldur,moonshine,labatt,modem,sydney1,voland,dbnfkz,hotchick,jacker,princessa,dawgs1,holiday1,booper,reliant,miranda1,jamaica1,andre1,badnaamhere,barnaby,tiger7,david12,margaux,corsica,085tzzqi,universi,thewall,nevermor,martin6,qwerty77,cipher,apples1,0102030405,seraphim,black123,imzadi,gandon,ducati99,1shadow,dkflbvbhjdyf,44magnum,bigbad,feedme,samantha1,ultraman,redneck1,jackdog,usmc0311,fresh1,monique1,tigre,alphaman,cool1,greyhoun,indycar,crunchy,55chevy,carefree,willow1,063dyjuy,xrated,assclown,federica,hilfiger,trivia,bronco1,mamita,100200300,simcity,lexingky,akatsuki,retsam,johndeere,abudfv,raster,elgato,businka,satanas,mattingl,redwing1,shamil,patate,mannn,moonstar,evil666,b123456,bowl300,tanechka,34523452,carthage,babygir,santino,bondarenko,jesuss,chico1,numlock,shyguy,sound1,kirby1,needit,mostwanted,427900,funky1,steve123,passions,anduril,kermit1,prospero,lusty,barakuda,dream1,broodwar,porky,christy1,mahal,yyyyyy1,allan1,1sexy,flintsto,capri,cumeater,heretic,robert2,hippos,blindax,marykay,collecti,kasumi,1qaz!qaz,112233q,123258,chemistr,coolboy,0o9i8u,kabuki,righton,tigress,nessie,sergej,andrew12,yfafyz,ytrhjvfyn,angel7,victo,mobbdeep,lemming,transfor,1725782,myhouse,aeynbr,muskie,leno4ka,westham1,cvbhyjd,daffodil,pussylicker,pamela1,stuffer,warehous,tinker1,2w3e4r,pluton,louise1,polarbea,253634,prime1,anatoliy,januar,wysiwyg,cobraya,ralphy,whaler,xterra,cableguy,112233a,porn69,jamesd,aqualung,jimmy123,lumpy,luckyman,kingsize,golfing1,alpha7,leeds1,marigold,lol1234,teabag,alex11,10sne1,saopaulo,shanny,roland1,basser,3216732167,carol1,year2005,morozov,saturn1,joseluis,bushed,redrock,memnoch,lalaland,indiana1,lovegod,gulnaz,buffalos,loveyou1,anteater,pattaya,jaydee,redshift,bartek,summerti,coffee1,ricochet,incest,schastie,rakkaus,h2opolo,suikoden,perro,dance1,loveme1,whoopass,vladvlad,boober,flyers1,alessia,gfcgjhn,pipers,papaya,gunsling,coolone,blackie1,gonads,gfhjkzytn,foxhound,qwert12,gangrel,ghjvtntq,bluedevi,mywife,summer01,hangman,licorice,patter,vfr750,thorsten,515253,ninguna,dakine,strange1,mexic,vergeten,12345432,8phrowz624,stampede,floyd1,sailfish,raziel,ananda,giacomo,freeme,crfprf,74185296,allstars,master01,solrac,gfnhbjn,bayliner,bmw525,3465xxx,catter,single1,michael3,pentium4,nitrox,mapet123456,halibut,killroy,xxxxx1,phillip1,poopsie,arsenalfc,buffys,kosova,all4me,32165498,arslan,opensesame,brutis,charles2,pochta,nadegda,backspac,mustang0,invis,gogeta,654321q,adam25,niceday,truckin,gfdkbr,biceps,sceptre,bigdave,lauras,user345,sandys,shabba,ratdog,cristiano,natha,march13,gumball,getsdown,wasdwasd,redhead1,dddddd1,longlegs,13572468,starsky,ducksoup,bunnys,omsairam,whoami,fred123,danmark,flapper,swanky,lakings,yfhenj,asterios,rainier,searcher,dapper,ltdjxrf,horsey,seahawk,shroom,tkfkdgo,aquaman,tashkent,number9,messi10,1asshole,milenium,illumina,vegita,jodeci,buster01,bareback,goldfinger,fire1,33rjhjds,sabian,thinkpad,smooth1,sully,bonghits,sushi1,magnavox,colombi,voiture,limpone,oldone,aruba,rooster1,zhenya,nomar5,touchdow,limpbizkit,rhfcfdxbr,baphomet,afrodita,bball1,madiso,ladles,lovefeet,matthew2,theworld,thunderbird,dolly1,123rrr,forklift,alfons,berkut,speedy1,saphire,oilman,creatine,pussylov,bastard1,456258,wicked1,filimon,skyline1,fucing,yfnfkbz,hot123,abdulla,nippon,nolimits,billiard,booty1,buttplug,westlife,coolbean,aloha1,lopas,asasin,1212121,october2,whodat,good4u,d12345,kostas,ilya1992,regal,pioneer1,volodya,focus1,bastos,nbvjif,fenix,anita1,vadimka,nickle,jesusc,123321456,teste,christ1,essendon,evgenii,celticfc,adam1,forumwp,lovesme,26exkp,chillout,burly,thelast1,marcus1,metalgear,test11,ronaldo7,socrate,world1,franki,mommie,vicecity,postov1000,charlie3,oldschool,333221,legoland,antoshka,counterstrike,buggy,mustang3,123454,qwertzui,toons,chesty,bigtoe,tigger12,limpopo,rerehepf,diddle,nokia3250,solidsnake,conan1,rockroll,963369,titanic1,qwezxc,cloggy,prashant,katharin,maxfli,takashi,cumonme,michael9,mymother,pennstate,khalid,48151623,fightclub,showboat,mateusz,elrond,teenie,arrow1,mammamia,dustydog,dominator,erasmus,zxcvb1,1a2a3a,bones1,dennis1,galaxie,pleaseme,whatever1,junkyard,galadriel,charlies,2wsxzaq1,crimson1,behemoth,teres,master11,fairway,shady1,pass99,1batman,joshua12,baraban,apelsin,mousepad,melon,twodogs,123321qwe,metalica,ryjgrf,pipiska,rerfhfxf,lugnut,cretin,iloveu2,powerade,aaaaaaa1,omanko,kovalenko,isabe,chobits,151nxjmt,shadow11,zcxfcnkbdf,gy3yt2rgls,vfhbyrf,159753123,bladerunner,goodone,wonton,doodie,333666999,fuckyou123,kitty123,chisox,orlando1,skateboa,red12345,destroye,snoogans,satan1,juancarlo,goheels,jetson,scottt,fuckup,aleksa,gfhfljrc,passfind,oscar123,derrick1,hateme,viper123,pieman,audi100,tuffy,andover,shooter1,10000,makarov,grant1,nighthaw,13576479,browneye,batigol,nfvfhf,chocolate1,7hrdnw23,petter,bantam,morlii,jediknight,brenden,argonaut,goodstuf,wisconsi,315920,abigail1,dirtbag,splurge,k123456,lucky777,valdepen,gsxr600,322223,ghjnjrjk,zaq1xsw2cde3,schwanz,walter1,letmein22,nomads,124356,codeblue,nokian70,fucke,footbal1,agyvorc,aztecs,passw0r,smuggles,femmes,ballgag,krasnodar,tamuna,schule,sixtynine,empires,erfolg,dvader,ladygaga,elite1,venezuel,nitrous,kochamcie,olivia1,trustn01,arioch,sting1,131415,tristar,555000,maroon,135799,marsik,555556,fomoco,natalka,cwoui,tartan,davecole,nosferat,hotsauce,dmitry,horus,dimasik,skazka,boss302,bluebear,vesper,ultras,tarantul,asd123asd,azteca,theflash,8ball,1footbal,titlover,lucas123,number6,sampson1,789852,party1,dragon99,adonai,carwash,metropol,psychnau,vthctltc,hounds,firework,blink18,145632,wildcat1,satchel,rice80,ghtktcnm,sailor1,cubano,anderso,rocks1,mike11,famili,dfghjc,besiktas,roygbiv,nikko,bethan,minotaur,rakesh,orange12,hfleuf,jackel,myangel,favorite7,1478520,asssss,agnieszka,haley1,raisin,htubyf,1buster,cfiekz,derevo,1a2a3a4a5a,baltika,raffles,scruffy1,clitlick,louis1,buddha1,fy.nrf,walker1,makoto,shadow2,redbeard,vfvfvskfhfve,mycock,sandydog,lineman,network1,favorite8,longdick,mustangg,mavericks,indica,1killer,cisco1,angelofwar,blue69,brianna1,bubbaa,slayer666,level42,baldrick,brutus1,lowdown,haribo,lovesexy,500000,thissuck,picker,stephy,1fuckme,characte,telecast,1bigdog,repytwjdf,thematrix,hammerhe,chucha,ganesha,gunsmoke,georgi,sheltie,1harley,knulla,sallas,westie,dragon7,conker,crappie,margosha,lisboa,3e2w1q,shrike,grifter,ghjcnjghjcnj,asdfg1,mnbvcxz1,myszka,posture,boggie,rocketman,flhtyfkby,twiztid,vostok,pi314159,force1,televizor,gtkmvtym,samhain,imcool,jadzia,dreamers,strannik,k2trix,steelhea,nikitin,commodor,brian123,chocobo,whopper,ibilljpf,megafon,ararat,thomas12,ghbrjkbcn,q1234567890,hibernia,kings1,jim123,redfive,68camaro,iawgk2,xavier1,1234567u,d123456,ndirish,airborn,halfmoon,fluffy1,ranchero,sneaker,soccer2,passion1,cowman,birthday1,johnn,razzle,glock17,wsxqaz,nubian,lucky2,jelly1,henderso,eric1,123123e,boscoe01,fuck0ff,simpson1,sassie,rjyjgkz,nascar3,watashi,loredana,janus,wilso,conman,david2,mothe,iloveher,snikers,davidj,fkmnthyfnbdf,mettss,ratfink,123456h,lostsoul,sweet16,brabus,wobble,petra1,fuckfest,otters,sable1,svetka,spartacu,bigstick,milashka,1lover,pasport,champagn,papichul,hrvatska,hondacivic,kevins,tacit,moneybag,gohogs,rasta1,246813579,ytyfdbcnm,gubber,darkmoon,vitaliy,233223,playboys,tristan1,joyce1,oriflame,mugwump,access2,autocad,thematri,qweqwe123,lolwut,ibill01,multisyn,1233211,pelikan,rob123,chacal,1234432,griffon,pooch,dagestan,geisha,satriani,anjali,rocketma,gixxer,pendrago,vincen,hellokit,killyou,ruger,doodah,bumblebe,badlands,galactic,emachines,foghorn,jackso,jerem,avgust,frontera,123369,daisymae,hornyboy,welcome123,tigger01,diabl,angel13,interex,iwantsex,rockydog,kukolka,sawdust,online1,3234412,bigpapa,jewboy,3263827,dave123,riches,333222,tony1,toggle,farter,124816,tities,balle,brasilia,southsid,micke,ghbdtn12,patit,ctdfcnjgjkm,olds442,zzzzzz1,nelso,gremlins,gypsy1,carter1,slut69,farcry,7415963,michael8,birdie1,charl,123456789abc,100001,aztec,sinjin,bigpimpi,closeup,atlas1,nvidia,doggone,classic1,manana,malcolm1,rfkbyf,hotbabe,rajesh,dimebag,ganjubas,rodion,jagr68,seren,syrinx,funnyman,karapuz,123456789n,bloomin,admin18533362,biggdogg,ocarina,poopy1,hellome,internet1,booties,blowjobs,matt1,donkey1,swede,1jennife,evgeniya,lfhbyf,coach1,444777,green12,patryk,pinewood,justin12,271828,89600506779,notredame,tuborg,lemond,sk8ter,million1,wowser,pablo1,st0n3,jeeves,funhouse,hiroshi,gobucs,angeleye,bereza,winter12,catalin,qazedc,andros,ramazan,vampyre,sweethea,imperium,murat,jamest,flossy,sandeep,morgen,salamandra,bigdogg,stroller,njdevils,nutsack,vittorio,%%passwo,playful,rjyatnrf,tookie,ubnfhf,michi,777444,shadow13,devils1,radiance,toshiba1,beluga,amormi,dandfa,trust1,killemall,smallville,polgara,billyb,landscap,steves,exploite,zamboni,damage11,dzxtckfd,trader12,pokey1,kobe08,damager,egorov,dragon88,ckfdbr,lisa69,blade2,audis4,nelson1,nibbles,23176djivanfros,mutabor,artofwar,matvei,metal666,hrfzlz,schwinn,poohbea,seven77,thinker,123456789qwerty,sobriety,jakers,karamelka,vbkfyf,volodin,iddqd,dale03,roberto1,lizaveta,qqqqqq1,cathy1,08154711,davidm,quixote,bluenote,tazdevil,katrina1,bigfoot1,bublik,marma,olechka,fatpussy,marduk,arina,nonrev67,qqqq1111,camill,wtpfhm,truffle,fairview,mashina,voltaire,qazxswedcvfr,dickface,grassy,lapdance,bosstone,crazy8,yackwin,mobil,danielit,mounta1n,player69,bluegill,mewtwo,reverb,cnthdf,pablito,a123321,elena1,warcraft1,orland,ilovemyself,rfntyjr,joyride,schoo,dthjxrf,thetachi,goodtimes,blacksun,humpty,chewbacca,guyute,123xyz,lexicon,blue45,qwe789,galatasaray,centrino,hendrix1,deimos,saturn5,craig1,vlad1996,sarah123,tupelo,ljrnjh,hotwife,bingos,1231231,nicholas1,flamer,pusher,1233210,heart1,hun999,jiggy,giddyup,oktober,123456zxc,budda,galahad,glamur,samwise,oneton,bugsbunny,dominic1,scooby2,freetime,internat,159753852,sc00ter,wantit,mazinger,inflames,laracrof,greedo,014789,godofwar,repytwjd,water123,fishnet,venus1,wallace1,tenpin,paula1,1475963,mania,novikov,qwertyasdfgh,goldmine,homies,777888999,8balls,holeinon,paper1,samael,013579,mansur,nikit,ak1234,blueline,polska1,hotcock,laredo,windstar,vbkbwbz,raider1,newworld,lfybkrf,catfish1,shorty1,piranha,treacle,royale,2234562,smurfs,minion,cadence,flapjack,123456p,sydne,135531,robinhoo,nasdaq,decatur,cyberonline,newage,gemstone,jabba,touchme,hooch,pigdog,indahous,fonzie,zebra1,juggle,patrick2,nihongo,hitomi,oldnavy,qwerfdsa,ukraina,shakti,allure,kingrich,diane1,canad,piramide,hottie1,clarion,college1,5641110,connect1,therion,clubber,velcro,dave1,astra1,13579-,astroboy,skittle,isgreat,photoes,cvzefh1gkc,001100,2cool4u,7555545,ginger12,2wsxcde3,camaro69,invader,domenow,asd1234,colgate,qwertasdfg,jack123,pass01,maxman,bronte,whkzyc,peter123,bogie,yecgaa,abc321,1qay2wsx,enfield,camaroz2,trashman,bonefish,system32,azsxdcfvgb,peterose,iwantyou,dick69,temp1234,blastoff,capa200,connie1,blazin,12233445,sexybaby,123456j,brentfor,pheasant,hommer,jerryg,thunders,august1,lager,kapusta,boobs1,nokia5300,rocco1,xytfu7,stars1,tugger,123sas,blingbling,1bubba,0wnsyo0,1george,baile,richard2,habana,1diamond,sensatio,1golfer,maverick1,1chris,clinton1,michael7,dragons1,sunrise1,pissant,fatim,mopar1,levani,rostik,pizzapie,987412365,oceans11,748159263,cum4me,palmetto,4r3e2w1q,paige1,muncher,arsehole,kratos,gaffer,banderas,billys,prakash,crabby,bungie,silver12,caddis,spawn1,xboxlive,sylvania,littlebi,524645,futura,valdemar,isacs155,prettygirl,big123,555444,slimer,chicke,newstyle,skypilot,sailormoon,fatluvr69,jetaime,sitruc,jesuschrist,sameer,bear12,hellion,yendor,country1,etnies,conejo,jedimast,darkknight,toobad,yxcvbn,snooks,porn4life,calvary,alfaromeo,ghostman,yannick,fnkfynblf,vatoloco,homebase,5550666,barret,1111111111zz,odysseus,edwardss,favre4,jerrys,crybaby,xsw21qaz,firestor,spanks,indians1,squish,kingair,babycakes,haters,sarahs,212223,teddyb,xfactor,cumload,rhapsody,death123,three3,raccoon,thomas2,slayer66,1q2q3q4q5q,thebes,mysterio,thirdeye,orkiox.,nodoubt,bugsy,schweiz,dima1996,angels1,darkwing,jeronimo,moonpie,ronaldo9,peaches2,mack10,manish,denise1,fellowes,carioca,taylor12,epaulson,makemoney,oc247ngucz,kochanie,3edcvfr4,vulture,1qw23e,1234567z,munchie,picard1,xthtgfirf,sportste,psycho1,tahoe1,creativ,perils,slurred,hermit,scoob,diesel1,cards1,wipeout,weeble,integra1,out3xf,powerpc,chrism,kalle,ariadne,kailua,phatty,dexter1,fordman,bungalow,paul123,compa,train1,thejoker,jys6wz,pussyeater,eatmee,sludge,dominus,denisa,tagheuer,yxcvbnm,bill1,ghfdlf,300zx,nikita123,carcass,semaj,ramone,muenchen,animal1,greeny,annemari,dbrf134,jeepcj7,mollys,garten,sashok,ironmaid,coyotes,astoria,george12,westcoast,primetim,123456o,panchito,rafae,japan1,framer,auralo,tooshort,egorova,qwerty22,callme,medicina,warhawk,w1w2w3w4,cristia,merli,alex22,kawaii,chatte,wargames,utvols,muaddib,trinket,andreas1,jjjjj1,cleric,scooters,cuntlick,gggggg1,slipknot1,235711,handcuff,stussy,guess1,leiceste,ppppp1,passe,lovegun,chevyman,hugecock,driver1,buttsex,psychnaut1,cyber1,black2,alpha12,melbourn,man123,metalman,yjdsqujl,blondi,bungee,freak1,stomper,caitlin1,nikitina,flyaway,prikol,begood,desperad,aurelius,john1234,whosyourdaddy,slimed123,bretagne,den123,hotwheel,king123,roodypoo,izzicam,save13tx,warpten,nokia3310,samolet,ready1,coopers,scott123,bonito,1aaaaa,yomomma,dawg1,rache,itworks,asecret,fencer,451236,polka,olivetti,sysadmin,zepplin,sanjuan,479373,lickem,hondacrx,pulamea,future1,naked1,sexyguy,w4g8at,lollol1,declan,runner1,rumple,daddy123,4snz9g,grandprix,calcio,whatthefuck,nagrom,asslick,pennst,negrit,squiggy,1223334444,police22,giovann,toronto1,tweet,yardbird,seagate,truckers,554455,scimitar,pescator,slydog,gaysex,dogfish,fuck777,12332112,qazxswed,morkovka,daniela1,imback,horny69,789123456,123456789w,jimmy2,bagger,ilove69,nikolaus,atdhfkm,rebirth,1111aaaa,pervasive,gjgeufq,dte4uw,gfhnbpfy,skeletor,whitney1,walkman,delorean,disco1,555888,as1234,ishikawa,fuck12,reaper1,dmitrii,bigshot,morrisse,purgen,qwer4321,itachi,willys,123123qwe,kisska,roma123,trafford,sk84life,326159487,pedros,idiom,plover,bebop,159875321,jailbird,arrowhea,qwaszx123,zaxscdvf,catlover,bakers,13579246,bones69,vermont1,helloyou,simeon,chevyz71,funguy,stargaze,parolparol,steph1,bubby,apathy,poppet,laxman,kelly123,goodnews,741236,boner1,gaetano,astonvilla,virtua,luckyboy,rocheste,hello2u,elohim,trigger1,cstrike,pepsicola,miroslav,96385274,fistfuck,cheval,magyar,svetlanka,lbfyjxrf,mamedov,123123123q,ronaldo1,scotty1,1nicole,pittbull,fredd,bbbbb1,dagwood,gfhkfvtyn,ghblehrb,logan5,1jordan,sexbomb,omega2,montauk,258741,dtythf,gibbon,winamp,thebomb,millerli,852654,gemin,baldy,halflife2,dragon22,mulberry,morrigan,hotel6,zorglub,surfin,951159,excell,arhangel,emachine,moses1,968574,reklama,bulldog2,cuties,barca,twingo,saber,elite11,redtruck,casablan,ashish,moneyy,pepper12,cnhtktw,rjcnbr,arschloch,phenix,cachorro,sunita,madoka,joselui,adams1,mymoney,hemicuda,fyutkjr,jake12,chicas,eeeee1,sonnyboy,smarties,birdy,kitten1,cnfcbr,island1,kurosaki,taekwond,konfetka,bennett1,omega3,jackson2,fresca,minako,octavian,kban667,feyenoord,muaythai,jakedog,fktrcfylhjdyf,1357911q,phuket,sexslave,fktrcfylhjdbx,asdfjk,89015173454,qwerty00,kindbud,eltoro,sex6969,nyknicks,12344321q,caballo,evenflow,hoddle,love22,metro1,mahalko,lawdog,tightass,manitou,buckie,whiskey1,anton123,335533,password4,primo,ramair,timbo,brayden,stewie,pedro1,yorkshir,ganster,hellothe,tippy1,direwolf,genesi,rodrig,enkeli,vaz21099,sorcerer,winky,oneshot,boggle,serebro,badger1,japanes,comicbook,kamehame,alcat,denis123,echo45,sexboy,gr8ful,hondo,voetbal,blue33,2112rush,geneviev,danni1,moosey,polkmn,matthew7,ironhead,hot2trot,ashley12,sweeper,imogen,blue21,retep,stealth1,guitarra,bernard1,tatian,frankfur,vfnhbwf,slacking,haha123,963741,asdasdas,katenok,airforce1,123456789qaz,shotgun1,12qwasz,reggie1,sharo,976431,pacifica,dhip6a,neptun,kardon,spooky1,beaut,555555a,toosweet,tiedup,11121314,startac,lover69,rediska,pirata,vfhrbp,1234qwerty,energize,hansolo1,playbo,larry123,oemdlg,cnjvfnjkju,a123123,alexan,gohawks,antonius,fcbayern,mambo,yummy1,kremlin,ellen1,tremere,vfiekz,bellevue,charlie9,izabella,malishka,fermat,rotterda,dawggy,becket,chasey,kramer1,21125150,lolit,cabrio,schlong,arisha,verity,3some,favorit,maricon,travelle,hotpants,red1234,garrett1,home123,knarf,seven777,figment,asdewq,canseco,good2go,warhol,thomas01,pionee,al9agd,panacea,chevy454,brazzers,oriole,azerty123,finalfan,patricio,northsta,rebelde,bulldo,stallone,boogie1,7uftyx,cfhfnjd,compusa,cornholi,config,deere,hoopster,sepultura,grasshop,babygurl,lesbo,diceman,proverbs,reddragon,nurbek,tigerwoo,superdup,buzzsaw,kakaroto,golgo13,edwar,123qaz123,butter1,sssss1,texas2,respekt,ou812ic,123456qaz,55555a,doctor1,mcgwire,maria123,aol999,cinders,aa1234,joness,ghbrjkmyj,makemone,sammyboy,567765,380zliki,theraven,testme,mylene,elvira26,indiglo,tiramisu,shannara,baby1,123666,gfhreh,papercut,johnmish,orange8,bogey1,mustang7,bagpipes,dimarik,vsijyjr,4637324,ravage,cogito,seven11,natashka,warzone,hr3ytm,4free,bigdee,000006,243462536,bigboi,123333,trouts,sandy123,szevasz,monica2,guderian,newlife1,ratchet,r12345,razorbac,12345i,piazza31,oddjob,beauty1,fffff1,anklet,nodrog,pepit,olivi,puravida,robert12,transam1,portman,bubbadog,steelers1,wilson1,eightball,mexico1,superboy,4rfv5tgb,mzepab,samurai1,fuckslut,colleen1,girdle,vfrcbvec,q1w2e3r4t,soldier1,19844891,alyssa1,a12345a,fidelis,skelter,nolove,mickeymouse,frehley,password69,watermel,aliska,soccer15,12345e,ladybug1,abulafia,adagio,tigerlil,takehana,hecate,bootneck,junfan,arigato,wonkette,bobby123,trustnoone,phantasm,132465798,brianjo,w12345,t34vfrc1991,deadeye,1robert,1daddy,adida,check1,grimlock,muffi,airwalk,prizrak,onclick,longbeac,ernie1,eadgbe,moore1,geniu,shadow123,bugaga,jonathan1,cjrjkjdf,orlova,buldog,talon1,westport,aenima,541233432442,barsuk,chicago2,kellys,hellbent,toughguy,iskander,skoal,whatisit,jake123,scooter2,fgjrfkbgcbc,ghandi,love13,adelphia,vjhrjdrf,adrenali,niunia,jemoeder,rainbo,all4u8,anime1,freedom7,seraph,789321,tommys,antman,firetruc,neogeo,natas,bmwm3,froggy1,paul1,mamit,bayview,gateways,kusanagi,ihateu,frederi,rock1,centurion,grizli,biggin,fish1,stalker1,3girls,ilovepor,klootzak,lollo,redsox04,kirill123,jake1,pampers,vasya,hammers1,teacup,towing,celtic1,ishtar,yingyang,4904s677075,dahc1,patriot1,patrick9,redbirds,doremi,rebecc,yoohoo,makarova,epiphone,rfgbnfy,milesd,blister,chelseafc,katana1,blackrose,1james,primrose,shock5,hard1,scooby12,c6h12o6,dustoff,boing,chisel,kamil,1william,defiant1,tyvugq,mp8o6d,aaa340,nafets,sonnet,flyhigh,242526,crewcom,love23,strike1,stairway,katusha,salamand,cupcake1,password0,007james,sunnie,multisync,harley01,tequila1,fred12,driver8,q8zo8wzq,hunter01,mozzer,temporar,eatmeraw,mrbrownxx,kailey,sycamore,flogger,tincup,rahasia,ganymede,bandera,slinger,1111122222,vander,woodys,1cowboy,khaled,jamies,london12,babyboo,tzpvaw,diogenes,budice,mavrick,135797531,cheeta,macros,squonk,blackber,topfuel,apache1,falcon16,darkjedi,cheeze,vfhvtkfl,sparco,change1,gfhfif,freestyl,kukuruza,loveme2,12345f,kozlov,sherpa,marbella,44445555,bocephus,1winner,alvar,hollydog,gonefish,iwantin,barman,godislove,amanda18,rfpfynbg,eugen,abcdef1,redhawk,thelema,spoonman,baller1,harry123,475869,tigerman,cdtnjxrf,marillio,scribble,elnino,carguy,hardhead,l2g7k3,troopers,selen,dragon76,antigua,ewtosi,ulysse,astana,paroli,cristo,carmex,marjan,bassfish,letitbe,kasparov,jay123,19933991,blue13,eyecandy,scribe,mylord,ukflbjkec,ellie1,beaver1,destro,neuken,halfpint,ameli,lilly1,satanic,xngwoj,12345trewq,asdf1,bulldogg,asakura,jesucrist,flipside,packers4,biggy,kadett,biteme69,bobdog,silverfo,saint1,bobbo,packman,knowledg,foolio,fussbal,12345g,kozerog,westcoas,minidisc,nbvcxw,martini1,alastair,rasengan,superbee,memento,porker,lena123,florenc,kakadu,bmw123,getalife,bigsky,monkee,people1,schlampe,red321,memyself,0147896325,12345678900987654321,soccer14,realdeal,gfgjxrf,bella123,juggs,doritos,celtics1,peterbilt,ghbdtnbrb,gnusmas,xcountry,ghbdtn1,batman99,deusex,gtnhjdf,blablabl,juster,marimba,love2,rerjkrf,alhambra,micros,siemens1,assmaste,moonie,dashadasha,atybrc,eeeeee1,wildrose,blue55,davidl,xrp23q,skyblue,leo123,ggggg1,bestfriend,franny,1234rmvb,fun123,rules1,sebastien,chester2,hakeem,winston2,fartripper,atlant,07831505,iluvsex,q1a2z3,larrys,009900,ghjkju,capitan,rider1,qazxsw21,belochka,andy123,hellya,chicca,maximal,juergen,password1234,howard1,quetzal,daniel123,qpwoeiruty,123555,bharat,ferrari3,numbnuts,savant,ladydog,phipsi,lovepussy,etoile,power2,mitten,britneys,chilidog,08522580,2fchbg,kinky1,bluerose,loulo,ricardo1,doqvq3,kswbdu,013cpfza,timoha,ghbdtnghbdtn,3stooges,gearhead,browns1,g00ber,super7,greenbud,kitty2,pootie,toolshed,gamers,coffe,ibill123,freelove,anasazi,sister1,jigger,natash,stacy1,weronika,luzern,soccer7,hoopla,dmoney,valerie1,canes,razdvatri,washere,greenwoo,rfhjkbyf,anselm,pkxe62,maribe,daniel2,maxim1,faceoff,carbine,xtkjdtr,buddy12,stratos,jumpman,buttocks,aqswdefr,pepsis,sonechka,steeler1,lanman,nietzsch,ballz,biscuit1,wrxsti,goodfood,juventu,federic,mattman,vika123,strelec,jledfyxbr,sideshow,4life,fredderf,bigwilly,12347890,12345671,sharik,bmw325i,fylhtqrf,dannon4,marky,mrhappy,drdoom,maddog1,pompier,cerbera,goobers,howler,jenny69,evely,letitrid,cthuttdyf,felip,shizzle,golf12,t123456,yamah,bluearmy,squishy,roxan,10inches,dollface,babygirl1,blacksta,kaneda,lexingto,canadien,222888,kukushka,sistema,224422,shadow69,ppspankp,mellons,barbie1,free4all,alfa156,lostone,2w3e4r5t,painkiller,robbie1,binger,8dihc6,jaspe,rellik,quark,sogood,hoopstar,number2,snowy1,dad2ownu,cresta,qwe123asd,hjvfyjdf,gibsonsg,qbg26i,dockers,grunge,duckling,lfiekz,cuntsoup,kasia1,1tigger,woaini,reksio,tmoney,firefighter,neuron,audia3,woogie,powerboo,powermac,fatcock,12345666,upnfmc,lustful,porn1,gotlove,amylee,kbytqrf,11924704,25251325,sarasota,sexme,ozzie1,berliner,nigga1,guatemal,seagulls,iloveyou!,chicken2,qwerty21,010203040506,1pillow,libby1,vodoley,backlash,piglets,teiubesc,019283,vonnegut,perico,thunde,buckey,gtxtymrf,manunite,iiiii1,lost4815162342,madonn,270873_,britney1,kevlar,piano1,boondock,colt1911,salamat,doma77ns,anuradha,cnhjqrf,rottweil,newmoon,topgun1,mauser,fightclu,birthday21,reviewpa,herons,aassddff,lakers32,melissa2,vredina,jiujitsu,mgoblue,shakey,moss84,12345zxcvb,funsex,benji1,garci,113322,chipie,windex,nokia5310,pwxd5x,bluemax,cosita,chalupa,trotsky,new123,g3ujwg,newguy,canabis,gnaget,happydays,felixx,1patrick,cumface,sparkie,kozlova,123234,newports,broncos7,golf18,recycle,hahah,harrypot,cachondo,open4me,miria,guessit,pepsione,knocker,usmc1775,countach,playe,wiking,landrover,cracksevi,drumline,a7777777,smile123,manzana,panty,liberta,pimp69,dolfan,quality1,schnee,superson,elaine22,webhompass,mrbrownx,deepsea,4wheel,mamasita,rockport,rollie,myhome,jordan12,kfvgjxrf,hockey12,seagrave,ford1,chelsea2,samsara,marissa1,lamesa,mobil1,piotrek,tommygun,yyyyy1,wesley1,billy123,homersim,julies,amanda12,shaka,maldini,suzenet,springst,iiiiii1,yakuza,111111aa,westwind,helpdesk,annamari,bringit,hopefull,hhhhhhh1,saywhat,mazdarx8,bulova,jennife1,baikal,gfhjkmxbr,victoria1,gizmo123,alex99,defjam,2girls,sandrock,positivo,shingo,syncmast,opensesa,silicone,fuckina,senna1,karlos,duffbeer,montagne,gehrig,thetick,pepino,hamburge,paramedic,scamp,smokeweed,fabregas,phantoms,venom121293,2583458,badone,porno69,manwhore,vfvf123,notagain,vbktyf,rfnthbyrf,wildblue,kelly001,dragon66,camell,curtis1,frolova,1212123,dothedew,tyler123,reddrago,planetx,promethe,gigolo,1001001,thisone,eugeni,blackshe,cruzazul,incognito,puller,joonas,quick1,spirit1,gazza,zealot,gordito,hotrod1,mitch1,pollito,hellcat,mythos,duluth,383pdjvl,easy123,hermos,binkie,its420,lovecraf,darien,romina,doraemon,19877891,syclone,hadoken,transpor,ichiro,intell,gargamel,dragon2,wavpzt,557744,rjw7x4,jennys,kickit,rjynfrn,likeit,555111,corvus,nec3520,133113,mookie1,bochum,samsung2,locoman0,154ugeiu,vfvfbgfgf,135792,[start],tenni,20001,vestax,hufmqw,neveragain,wizkid,kjgfnf,nokia6303,tristen,saltanat,louie1,gandalf2,sinfonia,alpha3,tolstoy,ford150,f00bar,1hello,alici,lol12,riker1,hellou,333888,1hunter,qw1234,vibrator,mets86,43211234,gonzale,cookies1,sissy1,john11,bubber,blue01,cup2006,gtkmvtyb,nazareth,heybaby,suresh,teddie,mozilla,rodeo1,madhouse,gamera,123123321,naresh,dominos,foxtrot1,taras,powerup,kipling,jasonb,fidget,galena,meatman,alpacino,bookmark,farting,humper,titsnass,gorgon,castaway,dianka,anutka,gecko1,fucklove,connery,wings1,erika1,peoria,moneymaker,ichabod,heaven1,paperboy,phaser,breakers,nurse1,westbrom,alex13,brendan1,123asd123,almera,grubber,clarkie,thisisme,welkom01,51051051051,crypto,freenet,pflybwf,black12,testme2,changeit,autobahn,attica,chaoss,denver1,tercel,gnasher23,master2,vasilii,sherman1,gomer,bigbuck,derek1,qwerzxcv,jumble,dragon23,art131313,numark,beasty,cxfcnmttcnm,updown,starion,glist,sxhq65,ranger99,monkey7,shifter,wolves1,4r5t6y,phone1,favorite5,skytommy,abracada,1martin,102030405060,gatech,giulio,blacktop,cheer1,africa1,grizzly1,inkjet,shemales,durango1,booner,11223344q,supergirl,vanyarespekt,dickless,srilanka,weaponx,6string,nashvill,spicey,boxer1,fabien,2sexy2ho,bowhunt,jerrylee,acrobat,tawnee,ulisse,nolimit8,l8g3bkde,pershing,gordo1,allover,gobrowns,123432,123444,321456987,spoon1,hhhhh1,sailing1,gardenia,teache,sexmachine,tratata,pirate1,niceone,jimbos,314159265,qsdfgh,bobbyy,ccccc1,carla1,vjkjltw,savana,biotech,frigid,123456789g,dragon10,yesiam,alpha06,oakwood,tooter,winsto,radioman,vavilon,asnaeb,google123,nariman,kellyb,dthyjcnm,password6,parol1,golf72,skate1,lthtdj,1234567890s,kennet,rossia,lindas,nataliya,perfecto,eminem1,kitana,aragorn1,rexona,arsenalf,planot,coope,testing123,timex,blackbox,bullhead,barbarian,dreamon,polaris1,cfvjktn,frdfhbev,gametime,slipknot666,nomad1,hfgcjlbz,happy69,fiddler,brazil1,joeboy,indianali,113355,obelisk,telemark,ghostrid,preston1,anonim,wellcome,verizon1,sayangku,censor,timeport,dummies,adult1,nbnfybr,donger,thales,iamgay,sexy1234,deadlift,pidaras,doroga,123qwe321,portuga,asdfgh12,happys,cadr14nu,pi3141,maksik,dribble,cortland,darken,stepanova,bommel,tropic,sochi2014,bluegras,shahid,merhaba,nacho,2580456,orange44,kongen,3cudjz,78girl,my3kids,marcopol,deadmeat,gabbie,saruman,jeepman,freddie1,katie123,master99,ronal,ballbag,centauri,killer7,xqgann,pinecone,jdeere,geirby,aceshigh,55832811,pepsimax,rayden,razor1,tallyho,ewelina,coldfire,florid,glotest,999333,sevenup,bluefin,limaperu,apostol,bobbins,charmed1,michelin,sundin,centaur,alphaone,christof,trial1,lions1,45645,just4you,starflee,vicki1,cougar1,green2,jellyfis,batman69,games1,hihje863,crazyzil,w0rm1,oklick,dogbite,yssup,sunstar,paprika,postov10,124578963,x24ik3,kanada,buckster,iloveamy,bear123,smiler,nx74205,ohiostat,spacey,bigbill,doudo,nikolaeva,hcleeb,sex666,mindy1,buster11,deacons,boness,njkcnsq,candy2,cracker1,turkey1,qwertyu1,gogreen,tazzzz,edgewise,ranger01,qwerty6,blazer1,arian,letmeinnow,cigar1,jjjjjj1,grigio,frien,tenchu,f9lmwd,imissyou,filipp,heathers,coolie,salem1,woodduck,scubadiv,123kat,raffaele,nikolaev,dapzu455,skooter,9inches,lthgfhjkm,gr8one,ffffff1,zujlrf,amanda69,gldmeo,m5wkqf,rfrltkf,televisi,bonjou,paleale,stuff1,cumalot,fuckmenow,climb7,mark1234,t26gn4,oneeye,george2,utyyflbq,hunting1,tracy71,ready2go,hotguy,accessno,charger1,rudedog,kmfdm,goober1,sweetie1,wtpmjgda,dimensio,ollie1,pickles1,hellraiser,mustdie,123zzz,99887766,stepanov,verdun,tokenbad,anatol,bartende,cidkid86,onkelz,timmie,mooseman,patch1,12345678c,marta1,dummy1,bethany1,myfamily,history1,178500,lsutiger,phydeaux,moren,dbrnjhjdbx,gnbxrf,uniden,drummers,abpbrf,godboy,daisy123,hogan1,ratpack,irland,tangerine,greddy,flore,sqrunch,billyjoe,q55555,clemson1,98745632,marios,ishot,angelin,access12,naruto12,lolly,scxakv,austin12,sallad,cool99,rockit,mongo1,mark22,ghbynth,ariadna,senha,docto,tyler2,mobius,hammarby,192168,anna12,claire1,pxx3eftp,secreto,greeneye,stjabn,baguvix,satana666,rhbcnbyjxrf,dallastx,garfiel,michaelj,1summer,montan,1234ab,filbert,squids,fastback,lyudmila,chucho,eagleone,kimberle,ar3yuk3,jake01,nokids,soccer22,1066ad,ballon,cheeto,review69,madeira,taylor2,sunny123,chubbs,lakeland,striker1,porche,qwertyu8,digiview,go1234,ferari,lovetits,aditya,minnow,green3,matman,cellphon,fortytwo,minni,pucara,69a20a,roman123,fuente,12e3e456,paul12,jacky,demian,littleman,jadakiss,vlad1997,franca,282860,midian,nunzio,xaccess2,colibri,jessica0,revilo,654456,harvey1,wolf1,macarena,corey1,husky1,arsen,milleniu,852147,crowes,redcat,combat123654,hugger,psalms,quixtar,ilovemom,toyot,ballss,ilovekim,serdar,james23,avenger1,serendip,malamute,nalgas,teflon,shagger,letmein6,vyjujnjxbt,assa1234,student1,dixiedog,gznybwf13,fuckass,aq1sw2de3,robroy,hosehead,sosa21,123345,ias100,teddy123,poppin,dgl70460,zanoza,farhan,quicksilver,1701d,tajmahal,depechemode,paulchen,angler,tommy2,recoil,megamanx,scarecro,nicole2,152535,rfvtgb,skunky,fatty1,saturno,wormwood,milwauke,udbwsk,sexlover,stefa,7bgiqk,gfnhbr,omar10,bratan,lbyfvj,slyfox,forest1,jambo,william3,tempus,solitari,lucydog,murzilka,qweasdzxc1,vehpbkrf,12312345,fixit,woobie,andre123,123456789x,lifter,zinaida,soccer17,andone,foxbat,torsten,apple12,teleport,123456i,leglover,bigcocks,vologda,dodger1,martyn,d6o8pm,naciona,eagleeye,maria6,rimshot,bentley1,octagon,barbos,masaki,gremio,siemen,s1107d,mujeres,bigtits1,cherr,saints1,mrpink,simran,ghzybr,ferrari2,secret12,tornado1,kocham,picolo,deneme,onelove1,rolan,fenster,1fuckyou,cabbie,pegaso,nastyboy,password5,aidana,mine2306,mike13,wetone,tigger69,ytreza,bondage1,myass,golova,tolik,happyboy,poilkj,nimda2k,rammer,rubies,hardcore1,jetset,hoops1,jlaudio,misskitt,1charlie,google12,theone1,phred,porsch,aalborg,luft4,charlie5,password7,gnosis,djgabbab,1daniel,vinny,borris,cumulus,member1,trogdor,darthmau,andrew2,ktjybl,relisys,kriste,rasta220,chgobndg,weener,qwerty66,fritter,followme,freeman1,ballen,blood1,peache,mariso,trevor1,biotch,gtfullam,chamonix,friendste,alligato,misha1,1soccer,18821221,venkat,superd,molotov,bongos,mpower,acun3t1x,dfcmrf,h4x3d,rfhfufylf,tigran,booyaa,plastic1,monstr,rfnhby,lookatme,anabolic,tiesto,simon123,soulman,canes1,skyking,tomcat1,madona,bassline,dasha123,tarheel1,dutch1,xsw23edc,qwerty123456789,imperator,slaveboy,bateau,paypal,house123,pentax,wolf666,drgonzo,perros,digger1,juninho,hellomoto,bladerun,zzzzzzz1,keebler,take8422,fffffff1,ginuwine,israe,caesar1,crack1,precious1,garand,magda1,zigazaga,321ewq,johnpaul,mama1234,iceman69,sanjeev,treeman,elric,rebell,1thunder,cochon,deamon,zoltan,straycat,uhbyuj,luvfur,mugsy,primer,wonder1,teetime,candycan,pfchfytw,fromage,gitler,salvatio,piggy1,23049307,zafira,chicky,sergeev,katze,bangers,andriy,jailbait,vaz2107,ghbhjlf,dbjktnnf,aqswde,zaratustra,asroma,1pepper,alyss,kkkkk1,ryan1,radish,cozumel,waterpol,pentium1,rosebowl,farmall,steinway,dbrekz,baranov,jkmuf,another1,chinacat,qqqqqqq1,hadrian,devilmaycry4,ratbag,teddy2,love21,pullings,packrat,robyn1,boobo,qw12er34,tribe1,rosey,celestia,nikkie,fortune12,olga123,danthema,gameon,vfrfhjys,dilshod,henry14,jenova,redblue,chimaera,pennywise,sokrates,danimal,qqaazz,fuaqz4,killer2,198200,tbone1,kolyan,wabbit,lewis1,maxtor,egoist,asdfas,spyglass,omegas,jack12,nikitka,esperanz,doozer,matematika,wwwww1,ssssss1,poiu0987,suchka,courtney1,gungho,alpha2,fktyjxrf,summer06,bud420,devildriver,heavyd,saracen,foucault,choclate,rjdfktyrj,goblue1,monaro,jmoney,dcpugh,efbcapa201,qqh92r,pepsicol,bbb747,ch5nmk,honeyb,beszoptad,tweeter,intheass,iseedeadpeople,123dan,89231243658s,farside1,findme,smiley1,55556666,sartre,ytcnjh,kacper,costarica,134679258,mikeys,nolimit9,vova123,withyou,5rxypn,love143,freebie,rescue1,203040,michael6,12monkey,redgreen,steff,itstime,naveen,good12345,acidrain,1dawg,miramar,playas,daddio,orion2,852741,studmuff,kobe24,senha123,stephe,mehmet,allalone,scarface1,helloworld,smith123,blueyes,vitali,memphis1,mybitch,colin1,159874,1dick,podaria,d6wnro,brahms,f3gh65,dfcbkmtd,xxxman,corran,ugejvp,qcfmtz,marusia,totem,arachnid,matrix2,antonell,fgntrf,zemfira,christos,surfing1,naruto123,plato1,56qhxs,madzia,vanille,043aaa,asq321,mutton,ohiostate,golde,cdznjckfd,rhfcysq,green5,elephan,superdog,jacqueli,bollock,lolitas,nick12,1orange,maplelea,july23,argento,waldorf,wolfer,pokemon12,zxcvbnmm,flicka,drexel,outlawz,harrie,atrain,juice2,falcons1,charlie6,19391945,tower1,dragon21,hotdamn,dirtyboy,love4ever,1ginger,thunder2,virgo1,alien1,bubblegu,4wwvte,123456789qqq,realtime,studio54,passss,vasilek,awsome,giorgia,bigbass,2002tii,sunghile,mosdef,simbas,count0,uwrl7c,summer05,lhepmz,ranger21,sugarbea,principe,5550123,tatanka,9638v,cheerios,majere,nomercy,jamesbond007,bh90210,7550055,jobber,karaganda,pongo,trickle,defamer,6chid8,1q2a3z,tuscan,nick123,.adgjm,loveyo,hobbes1,note1234,shootme,171819,loveporn,9788960,monty123,fabrice,macduff,monkey13,shadowfa,tweeker,hanna1,madball,telnet,loveu2,qwedcxzas,thatsit,vfhcbr,ptfe3xxp,gblfhfcs,ddddddd1,hakkinen,liverune,deathsta,misty123,suka123,recon1,inferno1,232629,polecat,sanibel,grouch,hitech,hamradio,rkfdbfnehf,vandam,nadin,fastlane,shlong,iddqdidkfa,ledzeppelin,sexyfeet,098123,stacey1,negras,roofing,lucifer1,ikarus,tgbyhn,melnik,barbaria,montego,twisted1,bigal1,jiggle,darkwolf,acerview,silvio,treetops,bishop1,iwanna,pornsite,happyme,gfccdjhl,114411,veritech,batterse,casey123,yhntgb,mailto,milli,guster,q12345678,coronet,sleuth,fuckmeha,armadill,kroshka,geordie,lastochka,pynchon,killall,tommy123,sasha1996,godslove,hikaru,clticic,cornbrea,vfkmdbyf,passmaster,123123123a,souris,nailer,diabolo,skipjack,martin12,hinata,mof6681,brookie,dogfight,johnso,karpov,326598,rfvbrflpt,travesti,caballer,galaxy1,wotan,antoha,art123,xakep1234,ricflair,pervert1,p00kie,ambulanc,santosh,berserker,larry33,bitch123,a987654321,dogstar,angel22,cjcbcrf,redhouse,toodles,gold123,hotspot,kennedy1,glock21,chosen1,schneide,mainman,taffy1,3ki42x,4zqauf,ranger2,4meonly,year2000,121212a,kfylsi,netzwerk,diese,picasso1,rerecz,225522,dastan,swimmer1,brooke1,blackbea,oneway,ruslana,dont4get,phidelt,chrisp,gjyxbr,xwing,kickme,shimmy,kimmy1,4815162342lost,qwerty5,fcporto,jazzbo,mierd,252627,basses,sr20det,00133,florin,howdy1,kryten,goshen,koufax,cichlid,imhotep,andyman,wrest666,saveme,dutchy,anonymou,semprini,siempre,mocha1,forest11,wildroid,aspen1,sesam,kfgekz,cbhbec,a55555,sigmanu,slash1,giggs11,vatech,marias,candy123,jericho1,kingme,123a123,drakula,cdjkjxm,mercur,oneman,hoseman,plumper,ilovehim,lancers,sergey1,takeshi,goodtogo,cranberr,ghjcnj123,harvick,qazxs,1972chev,horsesho,freedom3,letmein7,saitek,anguss,vfvfgfgfz,300000,elektro,toonporn,999111999q,mamuka,q9umoz,edelweis,subwoofer,bayside,disturbe,volition,lucky3,12345678z,3mpz4r,march1,atlantida,strekoza,seagrams,090909t,yy5rbfsc,jack1234,sammy12,sampras,mark12,eintrach,chaucer,lllll1,nochance,whitepower,197000,lbvekz,passer,torana,12345as,pallas,koolio,12qw34,nokia8800,findout,1thomas,mmmmm1,654987,mihaela,chinaman,superduper,donnas,ringo1,jeroen,gfdkjdf,professo,cdtnrf,tranmere,tanstaaf,himera,ukflbfnjh,667788,alex32,joschi,w123456,okidoki,flatline,papercli,super8,doris1,2good4u,4z34l0ts,pedigree,freeride,gsxr1100,wulfgar,benjie,ferdinan,king1,charlie7,djdxbr,fhntvbq,ripcurl,2wsx1qaz,kingsx,desade,sn00py,loveboat,rottie,evgesha,4money,dolittle,adgjmpt,buzzers,brett1,makita,123123qweqwe,rusalka,sluts1,123456e,jameson1,bigbaby,1z2z3z,ckjybr,love4u,fucker69,erhfbyf,jeanluc,farhad,fishfood,merkin,giant1,golf69,rfnfcnhjaf,camera1,stromb,smoothy,774411,nylon,juice1,rfn.irf,newyor,123456789t,marmot,star11,jennyff,jester1,hisashi,kumquat,alex777,helicopt,merkur,dehpye,cummin,zsmj2v,kristjan,april12,englan,honeypot,badgirls,uzumaki,keines,p12345,guita,quake1,duncan1,juicer,milkbone,hurtme,123456789b,qq123456789,schwein,p3wqaw,54132442,qwertyytrewq,andreeva,ruffryde,punkie,abfkrf,kristinka,anna1987,ooooo1,335533aa,umberto,amber123,456123789,456789123,beelch,manta,peeker,1112131415,3141592654,gipper,wrinkle5,katies,asd123456,james11,78n3s5af,michael0,daboss,jimmyb,hotdog1,david69,852123,blazed,sickan,eljefe,2n6wvq,gobills,rfhfcm,squeaker,cabowabo,luebri,karups,test01,melkor,angel777,smallvil,modano,olorin,4rkpkt,leslie1,koffie,shadows1,littleon,amiga1,topeka,summer20,asterix1,pitstop,aloysius,k12345,magazin,joker69,panocha,pass1word,1233214,ironpony,368ejhih,88keys,pizza123,sonali,57np39,quake2,1234567890qw,1020304,sword1,fynjif,abcde123,dfktyjr,rockys,grendel1,harley12,kokakola,super2,azathoth,lisa123,shelley1,girlss,ibragim,seven1,jeff24,1bigdick,dragan,autobot,t4nvp7,omega123,900000,hecnfv,889988,nitro1,doggie1,fatjoe,811pahc,tommyt,savage1,pallino,smitty1,jg3h4hfn,jamielee,1qazwsx,zx123456,machine1,asdfgh123,guinnes,789520,sharkman,jochen,legend1,sonic2,extreme1,dima12,photoman,123459876,nokian95,775533,vaz2109,april10,becks,repmvf,pooker,qwer12345,themaster,nabeel,monkey10,gogetit,hockey99,bbbbbbb1,zinedine,dolphin2,anelka,1superma,winter01,muggsy,horny2,669966,kuleshov,jesusis,calavera,bullet1,87t5hdf,sleepers,winkie,vespa,lightsab,carine,magister,1spider,shitbird,salavat,becca1,wc18c2,shirak,galactus,zaskar,barkley1,reshma,dogbreat,fullsail,asasa,boeder,12345ta,zxcvbnm12,lepton,elfquest,tony123,vkaxcs,savatage,sevilia1,badkitty,munkey,pebbles1,diciembr,qapmoc,gabriel2,1qa2ws3e,cbcmrb,welldone,nfyufh,kaizen,jack11,manisha,grommit,g12345,maverik,chessman,heythere,mixail,jjjjjjj1,sylvia1,fairmont,harve,skully,global1,youwish,pikachu1,badcat,zombie1,49527843,ultra1,redrider,offsprin,lovebird,153426,stymie,aq1sw2,sorrento,0000001,r3ady41t,webster1,95175,adam123,coonass,159487,slut1,gerasim,monkey99,slutwife,159963,1pass1page,hobiecat,bigtymer,all4you,maggie2,olamide,comcast1,infinit,bailee,vasileva,.ktxrf,asdfghjkl1,12345678912,setter,fuckyou7,nnagqx,lifesuck,draken,austi,feb2000,cable1,1234qwerasdf,hax0red,zxcv12,vlad7788,nosaj,lenovo,underpar,huskies1,lovegirl,feynman,suerte,babaloo,alskdjfhg,oldsmobi,bomber1,redrover,pupuce,methodman,phenom,cutegirl,countyli,gretsch,godisgood,bysunsu,hardhat,mironova,123qwe456rty,rusty123,salut,187211,555666777,11111z,mahesh,rjntyjxtr,br00klyn,dunce1,timebomb,bovine,makelove,littlee,shaven,rizwan,patrick7,42042042,bobbijo,rustem,buttmunc,dongle,tiger69,bluecat,blackhol,shirin,peaces,cherub,cubase,longwood,lotus7,gwju3g,bruin,pzaiu8,green11,uyxnyd,seventee,dragon5,tinkerbel,bluess,bomba,fedorova,joshua2,bodyshop,peluche,gbpacker,shelly1,d1i2m3a4,ghtpbltyn,talons,sergeevna,misato,chrisc,sexmeup,brend,olddog,davros,hazelnut,bridget1,hzze929b,readme,brethart,wild1,ghbdtnbr1,nortel,kinger,royal1,bucky1,allah1,drakkar,emyeuanh,gallaghe,hardtime,jocker,tanman,flavio,abcdef123,leviatha,squid1,skeet,sexse,123456x,mom4u4mm,lilred,djljktq,ocean11,cadaver,baxter1,808state,fighton,primavera,1andrew,moogle,limabean,goddess1,vitalya,blue56,258025,bullride,cicci,1234567d,connor1,gsxr11,oliveoil,leonard1,legsex,gavrik,rjnjgtc,mexicano,2bad4u,goodfellas,ornw6d,mancheste,hawkmoon,zlzfrh,schorsch,g9zns4,bashful,rossi46,stephie,rfhfntkm,sellout,123fuck,stewar1,solnze,00007,thor5200,compaq12,didit,bigdeal,hjlbyf,zebulon,wpf8eu,kamran,emanuele,197500,carvin,ozlq6qwm,3syqo15hil,pennys,epvjb6,asdfghjkl123,198000,nfbcbz,jazzer,asfnhg66,zoloft,albundy,aeiou,getlaid,planet1,gjkbyjxrf,alex2000,brianb,moveon,maggie11,eieio,vcradq,shaggy1,novartis,cocoloco,dunamis,554uzpad,sundrop,1qwertyu,alfie,feliks,briand,123www,red456,addams,fhntv1998,goodhead,theway,javaman,angel01,stratoca,lonsdale,15987532,bigpimpin,skater1,issue43,muffie,yasmina,slowride,crm114,sanity729,himmel,carolcox,bustanut,parabola,masterlo,computador,crackhea,dynastar,rockbott,doggysty,wantsome,bigten,gaelle,juicy1,alaska1,etower,sixnine,suntan,froggies,nokia7610,hunter11,njnets,alicante,buttons1,diosesamo,elizabeth1,chiron,trustnoo,amatuers,tinytim,mechta,sammy2,cthulu,trs8f7,poonam,m6cjy69u35,cookie12,blue25,jordans,santa1,kalinka,mikey123,lebedeva,12345689,kissss,queenbee,vjybnjh,ghostdog,cuckold,bearshare,rjcntyrj,alinochka,ghjcnjrdfibyj,aggie1,teens1,3qvqod,dauren,tonino,hpk2qc,iqzzt580,bears85,nascar88,theboy,njqcw4,masyanya,pn5jvw,intranet,lollone,shadow99,00096462,techie,cvtifhbrb,redeemed,gocanes,62717315,topman,intj3a,cobrajet,antivirus,whyme,berserke,ikilz083,airedale,brandon2,hopkig,johanna1,danil8098,gojira,arthu,vision1,pendragon,milen,chrissie,vampiro,mudder,chris22,blowme69,omega7,surfers,goterps,italy1,baseba11,diego1,gnatsum,birdies,semenov,joker123,zenit2011,wojtek,cab4ma99,watchmen,damia,forgotte,fdm7ed,strummer,freelanc,cingular,orange77,mcdonalds,vjhjpjdf,kariya,tombston,starlet,hawaii1,dantheman,megabyte,nbvjirf,anjing,ybrjkftdbx,hotmom,kazbek,pacific1,sashimi,asd12,coorslig,yvtte545,kitte,elysium,klimenko,cobblers,kamehameha,only4me,redriver,triforce,sidorov,vittoria,fredi,dank420,m1234567,fallout2,989244342a,crazy123,crapola,servus,volvos,1scooter,griffin1,autopass,ownzyou,deviant,george01,2kgwai,boeing74,simhrq,hermosa,hardcor,griffy,rolex1,hackme,cuddles1,master3,bujhtr,aaron123,popolo,blader,1sexyred,gerry1,cronos,ffvdj474,yeehaw,bob1234,carlos2,mike77,buckwheat,ramesh,acls2h,monster2,montess,11qq22ww,lazer,zx123456789,chimpy,masterch,sargon,lochness,archana,1234qwert,hbxfhl,sarahb,altoid,zxcvbn12,dakot,caterham,dolomite,chazz,r29hqq,longone,pericles,grand1,sherbert,eagle3,pudge,irontree,synapse,boome,nogood,summer2,pooki,gangsta1,mahalkit,elenka,lbhtrnjh,dukedog,19922991,hopkins1,evgenia,domino1,x123456,manny1,tabbycat,drake1,jerico,drahcir,kelly2,708090a,facesit,11c645df,mac123,boodog,kalani,hiphop1,critters,hellothere,tbirds,valerka,551scasi,love777,paloalto,mrbrown,duke3d,killa1,arcturus,spider12,dizzy1,smudger,goddog,75395,spammy,1357997531,78678,datalife,zxcvbn123,1122112211,london22,23dp4x,rxmtkp,biggirls,ownsu,lzbs2twz,sharps,geryfe,237081a,golakers,nemesi,sasha1995,pretty1,mittens1,d1lakiss,speedrac,gfhjkmm,sabbat,hellrais,159753258,qwertyuiop123,playgirl,crippler,salma,strat1,celest,hello5,omega5,cheese12,ndeyl5,edward12,soccer3,cheerio,davido,vfrcbr,gjhjctyjr,boscoe,inessa,shithole,ibill,qwepoi,201jedlz,asdlkj,davidk,spawn2,ariel1,michael4,jamie123,romantik,micro1,pittsbur,canibus,katja,muhtar,thomas123,studboy,masahiro,rebrov,patrick8,hotboys,sarge1,1hammer,nnnnn1,eistee,datalore,jackdani,sasha2010,mwq6qlzo,cmfnpu,klausi,cnhjbntkm,andrzej,ilovejen,lindaa,hunter123,vvvvv1,novembe,hamster1,x35v8l,lacey1,1silver,iluvporn,valter,herson,alexsandr,cojones,backhoe,womens,777angel,beatit,klingon1,ta8g4w,luisito,benedikt,maxwel,inspecto,zaq12ws,wladimir,bobbyd,peterj,asdfg12,hellspawn,bitch69,nick1234,golfer23,sony123,jello1,killie,chubby1,kodaira52,yanochka,buckfast,morris1,roaddogg,snakeeye,sex1234,mike22,mmouse,fucker11,dantist,brittan,vfrfhjdf,doc123,plokijuh,emerald1,batman01,serafim,elementa,soccer9,footlong,cthuttdbx,hapkido,eagle123,getsmart,getiton,batman2,masons,mastiff,098890,cfvfhf,james7,azalea,sherif,saun24865709,123red,cnhtrjpf,martina1,pupper,michael5,alan12,shakir,devin1,ha8fyp,palom,mamulya,trippy,deerhunter,happyone,monkey77,3mta3,123456789f,crownvic,teodor,natusik,0137485,vovchik,strutter,triumph1,cvetok,moremone,sonnen,screwbal,akira1,sexnow,pernille,independ,poopies,samapi,kbcbxrf,master22,swetlana,urchin,viper2,magica,slurpee,postit,gilgames,kissarmy,clubpenguin,limpbizk,timber1,celin,lilkim,fuckhard,lonely1,mom123,goodwood,extasy,sdsadee23,foxglove,malibog,clark1,casey2,shell1,odense,balefire,dcunited,cubbie,pierr,solei,161718,bowling1,areyukesc,batboy,r123456,1pionee,marmelad,maynard1,cn42qj,cfvehfq,heathrow,qazxcvbn,connecti,secret123,newfie,xzsawq21,tubitzen,nikusha,enigma1,yfcnz123,1austin,michaelc,splunge,wanger,phantom2,jason2,pain4me,primetime21,babes1,liberte,sugarray,undergro,zonker,labatts,djhjyf,watch1,eagle5,madison2,cntgfirf,sasha2,masterca,fiction7,slick50,bruins1,sagitari,12481632,peniss,insuranc,2b8riedt,12346789,mrclean,ssptx452,tissot,q1w2e3r4t5y6u7,avatar1,comet1,spacer,vbrjkf,pass11,wanker1,14vbqk9p,noshit,money4me,sayana,fish1234,seaways,pipper,romeo123,karens,wardog,ab123456,gorilla1,andrey123,lifesucks,jamesr,4wcqjn,bearman,glock22,matt11,dflbvrf,barbi,maine1,dima1997,sunnyboy,6bjvpe,bangkok1,666666q,rafiki,letmein0,0raziel0,dalla,london99,wildthin,patrycja,skydog,qcactw,tmjxn151,yqlgr667,jimmyd,stripclub,deadwood,863abgsg,horses1,qn632o,scatman,sonia1,subrosa,woland,kolya,charlie4,moleman,j12345,summer11,angel11,blasen,sandal,mynewpas,retlaw,cambria,mustang4,nohack04,kimber45,fatdog,maiden1,bigload,necron,dupont24,ghost123,turbo2,.ktymrf,radagast,balzac,vsevolod,pankaj,argentum,2bigtits,mamabear,bumblebee,mercury7,maddie1,chomper,jq24nc,snooky,pussylic,1lovers,taltos,warchild,diablo66,jojo12,sumerki,aventura,gagger,annelies,drumset,cumshots,azimut,123580,clambake,bmw540,birthday54,psswrd,paganini,wildwest,filibert,teaseme,1test,scampi,thunder5,antosha,purple12,supersex,hhhhhh1,brujah,111222333a,13579a,bvgthfnjh,4506802a,killians,choco,qqqwwweee,raygun,1grand,koetsu13,sharp1,mimi92139,fastfood,idontcare,bluered,chochoz,4z3al0ts,target1,sheffiel,labrat,stalingrad,147123,cubfan,corvett1,holden1,snapper1,4071505,amadeo,pollo,desperados,lovestory,marcopolo,mumbles,familyguy,kimchee,marcio,support1,tekila,shygirl1,trekkie,submissi,ilaria,salam,loveu,wildstar,master69,sales1,netware,homer2,arseniy,gerrity1,raspberr,atreyu,stick1,aldric,tennis12,matahari,alohomora,dicanio,michae1,michaeld,666111,luvbug,boyscout,esmerald,mjordan,admiral1,steamboa,616913,ybhdfyf,557711,555999,sunray,apokalipsis,theroc,bmw330,buzzy,chicos,lenusik,shadowma,eagles05,444222,peartree,qqq123,sandmann,spring1,430799,phatass,andi03,binky1,arsch,bamba,kenny123,fabolous,loser123,poop12,maman,phobos,tecate,myxworld4,metros,cocorico,nokia6120,johnny69,hater,spanked,313233,markos,love2011,mozart1,viktoriy,reccos,331234,hornyone,vitesse,1um83z,55555q,proline,v12345,skaven,alizee,bimini,fenerbahce,543216,zaqqaz,poi123,stabilo,brownie1,1qwerty1,dinesh,baggins1,1234567t,davidkin,friend1,lietuva,octopuss,spooks,12345qq,myshit,buttface,paradoxx,pop123,golfin,sweet69,rfghbp,sambuca,kayak1,bogus1,girlz,dallas12,millers,123456zx,operatio,pravda,eternal1,chase123,moroni,proust,blueduck,harris1,redbarch,996699,1010101,mouche,millenni,1123456,score1,1234565,1234576,eae21157,dave12,pussyy,gfif1991,1598741,hoppy,darrian,snoogins,fartface,ichbins,vfkbyrf,rusrap,2741001,fyfrjylf,aprils,favre,thisis,bannana,serval,wiggum,satsuma,matt123,ivan123,gulmira,123zxc123,oscar2,acces,annie2,dragon0,emiliano,allthat,pajaro,amandine,rawiswar,sinead,tassie,karma1,piggys,nokias,orions,origami,type40,mondo,ferrets,monker,biteme2,gauntlet,arkham,ascona,ingram01,klem1,quicksil,bingo123,blue66,plazma,onfire,shortie,spjfet,123963,thered,fire777,lobito,vball,1chicken,moosehea,elefante,babe23,jesus12,parallax,elfstone,number5,shrooms,freya,hacker1,roxette,snoops,number7,fellini,dtlmvf,chigger,mission1,mitsubis,kannan,whitedog,james01,ghjgecr,rfnfgekmnf,everythi,getnaked,prettybo,sylvan,chiller,carrera4,cowbo,biochem,azbuka,qwertyuiop1,midnight1,informat,audio1,alfred1,0range,sucker1,scott2,russland,1eagle,torben,djkrjlfd,rocky6,maddy1,bonobo,portos,chrissi,xjznq5,dexte,vdlxuc,teardrop,pktmxr,iamtheone,danijela,eyphed,suzuki1,etvww4,redtail,ranger11,mowerman,asshole2,coolkid,adriana1,bootcamp,longcut,evets,npyxr5,bighurt,bassman1,stryder,giblet,nastja,blackadd,topflite,wizar,cumnow,technolo,bassboat,bullitt,kugm7b,maksimus,wankers,mine12,sunfish,pimpin1,shearer9,user1,vjzgjxnf,tycobb,80070633pc,stanly,vitaly,shirley1,cinzia,carolyn1,angeliqu,teamo,qdarcv,aa123321,ragdoll,bonit,ladyluck,wiggly,vitara,jetbalance,12345600,ozzman,dima12345,mybuddy,shilo,satan66,erebus,warrio,090808qwe,stupi,bigdan,paul1234,chiapet,brooks1,philly1,dually,gowest,farmer1,1qa2ws3ed4rf,alberto1,beachboy,barne,aa12345,aliyah,radman,benson1,dfkthbq,highball,bonou2,i81u812,workit,darter,redhook,csfbr5yy,buttlove,episode1,ewyuza,porthos,lalal,abcd12,papero,toosexy,keeper1,silver7,jujitsu,corset,pilot123,simonsay,pinggolf,katerinka,kender,drunk1,fylhjvtlf,rashmi,nighthawk,maggy,juggernaut,larryb,cabibble,fyabcf,247365,gangstar,jaybee,verycool,123456789qw,forbidde,prufrock,12345zxc,malaika,blackbur,docker,filipe,koshechka,gemma1,djamaal,dfcbkmtdf,gangst,9988aa,ducks1,pthrfkj,puertorico,muppets,griffins,whippet,sauber,timofey,larinso,123456789zxc,quicken,qsefth,liteon,headcase,bigdadd,zxc321,maniak,jamesc,bassmast,bigdogs,1girls,123xxx,trajan,lerochka,noggin,mtndew,04975756,domin,wer123,fumanchu,lambada,thankgod,june22,kayaking,patchy,summer10,timepass,poiu1234,kondor,kakka,lament,zidane10,686xqxfg,l8v53x,caveman1,nfvthkfy,holymoly,pepita,alex1996,mifune,fighter1,asslicker,jack22,abc123abc,zaxxon,midnigh,winni,psalm23,punky,monkey22,password13,mymusic,justyna,annushka,lucky5,briann,495rus19,withlove,almaz,supergir,miata,bingbong,bradpitt,kamasutr,yfgjktjy,vanman,pegleg,amsterdam1,123a321,letmein9,shivan,korona,bmw520,annette1,scotsman,gandal,welcome12,sc00by,qpwoei,fred69,m1sf1t,hamburg1,1access,dfkmrbhbz,excalibe,boobies1,fuckhole,karamel,starfuck,star99,breakfas,georgiy,ywvxpz,smasher,fatcat1,allanon,12345n,coondog,whacko,avalon1,scythe,saab93,timon,khorne,atlast,nemisis,brady12,blenheim,52678677,mick7278,9skw5g,fleetwoo,ruger1,kissass,pussy7,scruff,12345l,bigfun,vpmfsz,yxkck878,evgeny,55667788,lickher,foothill,alesis,poppies,77777778,californi,mannie,bartjek,qhxbij,thehulk,xirt2k,angelo4ek,rfkmrekznjh,tinhorse,1david,sparky12,night1,luojianhua,bobble,nederland,rosemari,travi,minou,ciscokid,beehive,565hlgqo,alpine1,samsung123,trainman,xpress,logistic,vw198m2n,hanter,zaqwsx123,qwasz,mariachi,paska,kmg365,kaulitz,sasha12,north1,polarbear,mighty1,makeksa11,123456781,one4all,gladston,notoriou,polniypizdec110211,gosia,grandad,xholes,timofei,invalidp,speaker1,zaharov,maggiema,loislane,gonoles,br5499,discgolf,kaskad,snooper,newman1,belial,demigod,vicky1,pridurok,alex1990,tardis1,cruzer,hornie,sacramen,babycat,burunduk,mark69,oakland1,me1234,gmctruck,extacy,sexdog,putang,poppen,billyd,1qaz2w,loveable,gimlet,azwebitalia,ragtop,198500,qweas,mirela,rock123,11bravo,sprewell,tigrenok,jaredleto,vfhbif,blue2,rimjob,catwalk,sigsauer,loqse,doromich,jack01,lasombra,jonny5,newpassword,profesor,garcia1,123as123,croucher,demeter,4_life,rfhfvtkm,superman2,rogues,assword1,russia1,jeff1,mydream,z123456789,rascal1,darre,kimberl,pickle1,ztmfcq,ponchik,lovesporn,hikari,gsgba368,pornoman,chbjun,choppy,diggity,nightwolf,viktori,camar,vfhecmrf,alisa1,minstrel,wishmaster,mulder1,aleks,gogirl,gracelan,8womys,highwind,solstice,dbrnjhjdyf,nightman,pimmel,beertje,ms6nud,wwfwcw,fx3tuo,poopface,asshat,dirtyd,jiminy,luv2fuck,ptybnxtvgbjy,dragnet,pornogra,10inch,scarlet1,guido1,raintree,v123456,1aaaaaaa,maxim1935,hotwater,gadzooks,playaz,harri,brando1,defcon1,ivanna,123654a,arsenal2,candela,nt5d27,jaime1,duke1,burton1,allstar1,dragos,newpoint,albacore,1236987z,verygoodbot,1wildcat,fishy1,ptktysq,chris11,puschel,itdxtyrj,7kbe9d,serpico,jazzie,1zzzzz,kindbuds,wenef45313,1compute,tatung,sardor,gfyfcjybr,test99,toucan,meteora,lysander,asscrack,jowgnx,hevnm4,suckthis,masha123,karinka,marit,oqglh565,dragon00,vvvbbb,cheburashka,vfrfrf,downlow,unforgiven,p3e85tr,kim123,sillyboy,gold1,golfvr6,quicksan,irochka,froglegs,shortsto,caleb1,tishka,bigtitts,smurfy,bosto,dropzone,nocode,jazzbass,digdug,green7,saltlake,therat,dmitriev,lunita,deaddog,summer0,1212qq,bobbyg,mty3rh,isaac1,gusher,helloman,sugarbear,corvair,extrem,teatime,tujazopi,titanik,efyreg,jo9k2jw2,counchac,tivoli,utjvtnhbz,bebit,jacob6,clayton1,incubus1,flash123,squirter,dima2010,cock1,rawks,komatsu,forty2,98741236,cajun1,madelein,mudhoney,magomed,q111111,qaswed,consense,12345b,bakayaro,silencer,zoinks,bigdic,werwolf,pinkpuss,96321478,alfie1,ali123,sarit,minette,musics,chato,iaapptfcor,cobaka,strumpf,datnigga,sonic123,yfnecbr,vjzctvmz,pasta1,tribbles,crasher,htlbcrf,1tiger,shock123,bearshar,syphon,a654321,cubbies1,jlhanes,eyespy,fucktheworld,carrie1,bmw325is,suzuk,mander,dorina,mithril,hondo1,vfhnbyb,sachem,newton1,12345x,7777755102q,230857z,xxxsex,scubapro,hayastan,spankit,delasoul,searock6,fallout3,nilrem,24681357,pashka,voluntee,pharoh,willo,india1,badboy69,roflmao,gunslinger,lovergir,mama12,melange,640xwfkv,chaton,darkknig,bigman1,aabbccdd,harleyd,birdhouse,giggsy,hiawatha,tiberium,joker7,hello1234,sloopy,tm371855,greendog,solar1,bignose,djohn11,espanol,oswego,iridium,kavitha,pavell,mirjam,cyjdsvujljv,alpha5,deluge,hamme,luntik,turismo,stasya,kjkbnf,caeser,schnecke,tweety1,tralfaz,lambrett,prodigy1,trstno1,pimpshit,werty1,karman,bigboob,pastel,blackmen,matthew8,moomin,q1w2e,gilly,primaver,jimmyg,house2,elviss,15975321,1jessica,monaliza,salt55,vfylfhbyrf,harley11,tickleme,murder1,nurgle,kickass1,theresa1,fordtruck,pargolf,managua,inkognito,sherry1,gotit,friedric,metro2033,slk230,freeport,cigarett,492529,vfhctkm,thebeach,twocats,bakugan,yzerman1,charlieb,motoko,skiman,1234567w,pussy3,love77,asenna,buffie,260zntpc,kinkos,access20,mallard1,fuckyou69,monami,rrrrr1,bigdog69,mikola,1boomer,godzila,ginger2,dima2000,skorpion39,dima1234,hawkdog79,warrior2,ltleirf,supra1,jerusale,monkey01,333z333,666888,kelsey1,w8gkz2x1,fdfnfh,msnxbi,qwe123rty,mach1,monkey3,123456789qq,c123456,nezabudka,barclays,nisse,dasha1,12345678987654321,dima1993,oldspice,frank2,rabbitt,prettyboy,ov3ajy,iamthema,kawasak,banjo1,gtivr6,collants,gondor,hibees,cowboys2,codfish,buster2,purzel,rubyred,kayaker,bikerboy,qguvyt,masher,sseexx,kenshiro,moonglow,semenova,rosari,eduard1,deltaforce,grouper,bongo1,tempgod,1taylor,goldsink,qazxsw1,1jesus,m69fg2w,maximili,marysia,husker1,kokanee,sideout,googl,south1,plumber1,trillian,00001,1357900,farkle,1xxxxx,pascha,emanuela,bagheera,hound1,mylov,newjersey,swampfox,sakic19,torey,geforce,wu4etd,conrail,pigman,martin2,ber02,nascar2,angel69,barty,kitsune,cornet,yes90125,goomba,daking,anthea,sivart,weather1,ndaswf,scoubidou,masterchief,rectum,3364068,oranges1,copter,1samanth,eddies,mimoza,ahfywbz,celtic88,86mets,applemac,amanda11,taliesin,1angel,imhere,london11,bandit12,killer666,beer1,06225930,psylocke,james69,schumach,24pnz6kc,endymion,wookie1,poiu123,birdland,smoochie,lastone,rclaki,olive1,pirat,thunder7,chris69,rocko,151617,djg4bb4b,lapper,ajcuivd289,colole57,shadow7,dallas21,ajtdmw,executiv,dickies,omegaman,jason12,newhaven,aaaaaas,pmdmscts,s456123789,beatri,applesauce,levelone,strapon,benladen,creaven,ttttt1,saab95,f123456,pitbul,54321a,sex12345,robert3,atilla,mevefalkcakk,1johnny,veedub,lilleke,nitsuj,5t6y7u8i,teddys,bluefox,nascar20,vwjetta,buffy123,playstation3,loverr,qweasd12,lover2,telekom,benjamin1,alemania,neutrino,rockz,valjean,testicle,trinity3,realty,firestarter,794613852,ardvark,guadalup,philmont,arnold1,holas,zw6syj,birthday299,dover1,sexxy1,gojets,741236985,cance,blue77,xzibit,qwerty88,komarova,qweszxc,footer,rainger,silverst,ghjcnb,catmando,tatooine,31217221027711,amalgam,69dude,qwerty321,roscoe1,74185,cubby,alfa147,perry1,darock,katmandu,darknight,knicks1,freestuff,45454,kidman,4tlved,axlrose,cutie1,quantum1,joseph10,ichigo,pentium3,rfhectkm,rowdy1,woodsink,justforfun,sveta123,pornografia,mrbean,bigpig,tujheirf,delta9,portsmou,hotbod,kartal,10111213,fkbyf001,pavel1,pistons1,necromancer,verga,c7lrwu,doober,thegame1,hatesyou,sexisfun,1melissa,tuczno18,bowhunte,gobama,scorch,campeon,bruce2,fudge1,herpderp,bacon1,redsky,blackeye,19966991,19992000,ripken8,masturba,34524815,primax,paulina1,vp6y38,427cobra,4dwvjj,dracon,fkg7h4f3v6,longview,arakis,panama1,honda2,lkjhgfdsaz,razors,steels,fqkw5m,dionysus,mariajos,soroka,enriqu,nissa,barolo,king1234,hshfd4n279,holland1,flyer1,tbones,343104ky,modems,tk421,ybrbnrf,pikapp,sureshot,wooddoor,florida2,mrbungle,vecmrf,catsdogs,axolotl,nowayout,francoi,chris21,toenail,hartland,asdjkl,nikkii,onlyyou,buckskin,fnord,flutie,holen1,rincewind,lefty1,ducky1,199000,fvthbrf,redskin1,ryno23,lostlove,19mtpgam19,abercrom,benhur,jordan11,roflcopter,ranma,phillesh,avondale,igromania,p4ssword,jenny123,tttttt1,spycams,cardigan,2112yyz,sleepy1,paris123,mopars,lakers34,hustler1,james99,matrix3,popimp,12pack,eggbert,medvedev,testit,performa,logitec,marija,sexybeast,supermanboy,iwantit,rjktcj,jeffer,svarog,halo123,whdbtp,nokia3230,heyjoe,marilyn1,speeder,ibxnsm,prostock,bennyboy,charmin,codydog,parol999,ford9402,jimmer,crayola,159357258,alex77,joey1,cayuga,phish420,poligon,specops,tarasova,caramelo,draconis,dimon,cyzkhw,june29,getbent,1guitar,jimjam,dictiona,shammy,flotsam,0okm9ijn,crapper,technic,fwsadn,rhfdxtyrj,zaq11qaz,anfield1,159753q,curious1,hip-hop,1iiiii,gfhjkm2,cocteau,liveevil,friskie,crackhead,b1afra,elektrik,lancer1,b0ll0cks,jasond,z1234567,tempest1,alakazam,asdfasd,duffy1,oneday,dinkle,qazedctgb,kasimir,happy7,salama,hondaciv,nadezda,andretti,cannondale,sparticu,znbvjd,blueice,money01,finster,eldar,moosie,pappa,delta123,neruda,bmw330ci,jeanpaul,malibu1,alevtina,sobeit,travolta,fullmetal,enamorad,mausi,boston12,greggy,smurf1,ratrace,ichiban,ilovepus,davidg,wolf69,villa1,cocopuff,football12,starfury,zxc12345,forfree,fairfiel,dreams1,tayson,mike2,dogday,hej123,oldtimer,sanpedro,clicker,mollycat,roadstar,golfe,lvbnhbq1,topdevice,a1b2c,sevastopol,calli,milosc,fire911,pink123,team3x,nolimit5,snickers1,annies,09877890,jewel1,steve69,justin11,autechre,killerbe,browncow,slava1,christer,fantomen,redcloud,elenberg,beautiful1,passw0rd1,nazira,advantag,cockring,chaka,rjpzdrf,99941,az123456,biohazar,energie,bubble1,bmw323,tellme,printer1,glavine,1starwar,coolbeans,april17,carly1,quagmire,admin2,djkujuhfl,pontoon,texmex,carlos12,thermo,vaz2106,nougat,bob666,1hockey,1john,cricke,qwerty10,twinz,totalwar,underwoo,tijger,lildevil,123q321,germania,freddd,1scott,beefy,5t4r3e2w1q,fishbait,nobby,hogger,dnstuff,jimmyc,redknapp,flame1,tinfloor,balla,nfnfhby,yukon1,vixens,batata,danny123,1zxcvbnm,gaetan,homewood,greats,tester1,green99,1fucker,sc0tland,starss,glori,arnhem,goatman,1234asd,supertra,bill123,elguapo,sexylegs,jackryan,usmc69,innow,roaddog,alukard,winter11,crawler,gogiants,rvd420,alessandr,homegrow,gobbler,esteba,valeriy,happy12,1joshua,hawking,sicnarf,waynes,iamhappy,bayadera,august2,sashas,gotti,dragonfire,pencil1,halogen,borisov,bassingw,15975346,zachar,sweetp,soccer99,sky123,flipyou,spots3,xakepy,cyclops1,dragon77,rattolo58,motorhea,piligrim,helloween,dmb2010,supermen,shad0w,eatcum,sandokan,pinga,ufkfrnbrf,roksana,amista,pusser,sony1234,azerty1,1qasw2,ghbdt,q1w2e3r4t5y6u7i8,ktutylf,brehznev,zaebali,shitass,creosote,gjrtvjy,14938685,naughtyboy,pedro123,21crack,maurice1,joesakic,nicolas1,matthew9,lbyfhf,elocin,hfcgbplzq,pepper123,tiktak,mycroft,ryan11,firefly1,arriva,cyecvevhbr,loreal,peedee,jessica8,lisa01,anamari,pionex,ipanema,airbag,frfltvbz,123456789aa,epwr49,casper12,sweethear,sanandreas,wuschel,cocodog,france1,119911,redroses,erevan,xtvgbjy,bigfella,geneve,volvo850,evermore,amy123,moxie,celebs,geeman,underwor,haslo1,joy123,hallow,chelsea0,12435687,abarth,12332145,tazman1,roshan,yummie,genius1,chrisd,ilovelife,seventy7,qaz1wsx2,rocket88,gaurav,bobbyboy,tauchen,roberts1,locksmit,masterof,www111,d9ungl,volvos40,asdasd1,golfers,jillian1,7xm5rq,arwpls4u,gbhcf2,elloco,football2,muerte,bob101,sabbath1,strider1,killer66,notyou,lawnboy,de7mdf,johnnyb,voodoo2,sashaa,homedepo,bravos,nihao123,braindea,weedhead,rajeev,artem1,camille1,rockss,bobbyb,aniston,frnhbcf,oakridge,biscayne,cxfcnm,dressage,jesus3,kellyann,king69,juillet,holliste,h00ters,ripoff,123645,1999ar,eric12,123777,tommi,dick12,bilder,chris99,rulezz,getpaid,chicubs,ender1,byajhvfnbrf,milkshak,sk8board,freakshow,antonella,monolit,shelb,hannah01,masters1,pitbull1,1matthew,luvpussy,agbdlcid,panther2,alphas,euskadi,8318131,ronnie1,7558795,sweetgirl,cookie59,sequoia,5552555,ktyxbr,4500455,money7,severus,shinobu,dbityrf,phisig,rogue2,fractal,redfred,sebastian1,nelli,b00mer,cyberman,zqjphsyf6ctifgu,oldsmobile,redeemer,pimpi,lovehurts,1slayer,black13,rtynfdh,airmax,g00gle,1panther,artemon,nopasswo,fuck1234,luke1,trinit,666000,ziadma,oscardog,davex,hazel1,isgood,demond,james5,construc,555551,january2,m1911a1,flameboy,merda,nathan12,nicklaus,dukester,hello99,scorpio7,leviathan,dfcbktr,pourquoi,vfrcbv123,shlomo,rfcgth,rocky3,ignatz,ajhneyf,roger123,squeek,4815162342a,biskit,mossimo,soccer21,gridlock,lunker,popstar,ghhh47hj764,chutney,nitehawk,vortec,gamma1,codeman,dragula,kappasig,rainbow2,milehigh,blueballs,ou8124me,rulesyou,collingw,mystere,aster,astrovan,firetruck,fische,crawfish,hornydog,morebeer,tigerpaw,radost,144000,1chance,1234567890qwe,gracie1,myopia,oxnard,seminoles,evgeni,edvard,partytim,domani,tuffy1,jaimatadi,blackmag,kzueirf,peternor,mathew1,maggie12,henrys,k1234567,fasted,pozitiv,cfdtkbq,jessica7,goleafs,bandito,girl78,sharingan,skyhigh,bigrob,zorros,poopers,oldschoo,pentium2,gripper,norcal,kimba,artiller,moneymak,00197400,272829,shadow1212,thebull,handbags,all4u2c,bigman2,civics,godisgoo,section8,bandaid,suzanne1,zorba,159123,racecars,i62gbq,rambo123,ironroad,johnson2,knobby,twinboys,sausage1,kelly69,enter2,rhjirf,yessss,james12,anguilla,boutit,iggypop,vovochka,06060,budwiser,romuald,meditate,good1,sandrin,herkules,lakers8,honeybea,11111111a,miche,rangers9,lobster1,seiko,belova,midcon,mackdadd,bigdaddy1,daddie,sepultur,freddy12,damon1,stormy1,hockey2,bailey12,hedimaptfcor,dcowboys,sadiedog,thuggin,horny123,josie1,nikki2,beaver69,peewee1,mateus,viktorija,barrys,cubswin1,matt1234,timoxa,rileydog,sicilia,luckycat,candybar,julian1,abc456,pussylip,phase1,acadia,catty,246800,evertonf,bojangle,qzwxec,nikolaj,fabrizi,kagome,noncapa0,marle,popol,hahaha1,cossie,carla10,diggers,spankey,sangeeta,cucciolo,breezer,starwar1,cornholio,rastafari,spring99,yyyyyyy1,webstar,72d5tn,sasha1234,inhouse,gobuffs,civic1,redstone,234523,minnie1,rivaldo,angel5,sti2000,xenocide,11qq11,1phoenix,herman1,holly123,tallguy,sharks1,madri,superbad,ronin,jalal123,hardbody,1234567r,assman1,vivahate,buddylee,38972091,bonds25,40028922,qrhmis,wp2005,ceejay,pepper01,51842543,redrum1,renton,varadero,tvxtjk7r,vetteman,djhvbrc,curly1,fruitcak,jessicas,maduro,popmart,acuari,dirkpitt,buick1,bergerac,golfcart,pdtpljxrf,hooch1,dudelove,d9ebk7,123452000,afdjhbn,greener,123455432,parachut,mookie12,123456780,jeepcj5,potatoe,sanya,qwerty2010,waqw3p,gotika,freaky1,chihuahu,buccanee,ecstacy,crazyboy,slickric,blue88,fktdnbyf,2004rj,delta4,333222111,calient,ptbdhw,1bailey,blitz1,sheila1,master23,hoagie,pyf8ah,orbita,daveyboy,prono1,delta2,heman,1horny,tyrik123,ostrov,md2020,herve,rockfish,el546218,rfhbyjxrf,chessmaster,redmoon,lenny1,215487,tomat,guppy,amekpass,amoeba,my3girls,nottingh,kavita,natalia1,puccini,fabiana,8letters,romeos,netgear,casper2,taters,gowings,iforgot1,pokesmot,pollit,lawrun,petey1,rosebuds,007jr,gthtcnhjqrf,k9dls02a,neener,azertyu,duke11,manyak,tiger01,petros,supermar,mangas,twisty,spotter,takagi,dlanod,qcmfd454,tusymo,zz123456,chach,navyblue,gilbert1,2kash6zq,avemaria,1hxboqg2s,viviane,lhbjkjubz2957704,nowwowtg,1a2b3c4,m0rn3,kqigb7,superpuper,juehtw,gethigh,theclown,makeme,pradeep,sergik,deion21,nurik,devo2706,nbvibt,roman222,kalima,nevaeh,martin7,anathema,florian1,tamwsn3sja,dinmamma,133159,123654q,slicks,pnp0c08,yojimbo,skipp,kiran,pussyfuck,teengirl,apples12,myballs,angeli,1234a,125678,opelastra,blind1,armagedd,fish123,pitufo,chelseaf,thedevil,nugget1,cunt69,beetle1,carter15,apolon,collant,password00,fishboy,djkrjdf,deftone,celti,three11,cyrus1,lefthand,skoal1,ferndale,aries1,fred01,roberta1,chucks,cornbread,lloyd1,icecrea,cisco123,newjerse,vfhrbpf,passio,volcom1,rikimaru,yeah11,djembe,facile,a1l2e3x4,batman7,nurbol,lorenzo1,monica69,blowjob1,998899,spank1,233391,n123456,1bear,bellsout,999998,celtic67,sabre1,putas,y9enkj,alfabeta,heatwave,honey123,hard4u,insane1,xthysq,magnum1,lightsaber,123qweqwe,fisher1,pixie1,precios,benfic,thegirls,bootsman,4321rewq,nabokov,hightime,djghjc,1chelsea,junglist,august16,t3fkvkmj,1232123,lsdlsd12,chuckie1,pescado,granit,toogood,cathouse,natedawg,bmw530,123kid,hajime,198400,engine1,wessonnn,kingdom1,novembre,1rocks,kingfisher,qwerty89,jordan22,zasranec,megat,sucess,installutil,fetish01,yanshi1982,1313666,1314520,clemence,wargod,time1,newzealand,snaker,13324124,cfrehf,hepcat,mazahaka,bigjay,denisov,eastwest,1yellow,mistydog,cheetos,1596357,ginger11,mavrik,bubby1,bhbyf,pyramide,giusepp,luthien,honda250,andrewjackie,kentavr,lampoon,zaq123wsx,sonicx,davidh,1ccccc,gorodok,windsong,programm,blunt420,vlad1995,zxcvfdsa,tarasov,mrskin,sachas,mercedes1,koteczek,rawdog,honeybear,stuart1,kaktys,richard7,55555n,azalia,hockey10,scouter,francy,1xxxxxx,julie456,tequilla,penis123,schmoe,tigerwoods,1ferrari,popov,snowdrop,matthieu,smolensk,cornflak,jordan01,love2000,23wesdxc,kswiss,anna2000,geniusnet,baby2000,33ds5x,waverly,onlyone4,networkingpe,raven123,blesse,gocards,wow123,pjflkork,juicey,poorboy,freeee,billybo,shaheen,zxcvbnm.,berlit,truth1,gepard,ludovic,gunther1,bobby2,bob12345,sunmoon,septembr,bigmac1,bcnjhbz,seaking,all4u,12qw34er56ty,bassie,nokia5228,7355608,sylwia,charvel,billgate,davion,chablis,catsmeow,kjiflrf,amylynn,rfvbkkf,mizredhe,handjob,jasper12,erbol,solara,bagpipe,biffer,notime,erlan,8543852,sugaree,oshkosh,fedora,bangbus,5lyedn,longball,teresa1,bootyman,aleksand,qazwsxedc12,nujbhc,tifosi,zpxvwy,lights1,slowpoke,tiger12,kstate,password10,alex69,collins1,9632147,doglover,baseball2,security1,grunts,orange2,godloves,213qwe879,julieb,1qazxsw23edcvfr4,noidea,8uiazp,betsy1,junior2,parol123,123456zz,piehonkii,kanker,bunky,hingis,reese1,qaz123456,sidewinder,tonedup,footsie,blackpoo,jalapeno,mummy1,always1,josh1,rockyboy,plucky,chicag,nadroj,blarney,blood123,wheaties,packer1,ravens1,mrjones,gfhjkm007,anna2010,awatar,guitar12,hashish,scale1,tomwaits,amrita,fantasma,rfpfym,pass2,tigris,bigair,slicker,sylvi,shilpa,cindylou,archie1,bitches1,poppys,ontime,horney1,camaroz28,alladin,bujhm,cq2kph,alina1,wvj5np,1211123a,tetons,scorelan,concordi,morgan2,awacs,shanty,tomcat14,andrew123,bear69,vitae,fred99,chingy,octane,belgario,fatdaddy,rhodan,password23,sexxes,boomtown,joshua01,war3demo,my2kids,buck1,hot4you,monamour,12345aa,yumiko,parool,carlton1,neverland,rose12,right1,sociald,grouse,brandon0,cat222,alex00,civicex,bintang,malkav,arschloc,dodgeviper,qwerty666,goduke,dante123,boss1,ontheroc,corpsman,love14,uiegu451,hardtail,irondoor,ghjrehfnehf,36460341,konijn,h2slca,kondom25,123456ss,cfytxrf,btnjey,nando,freemail,comander,natas666,siouxsie,hummer1,biomed,dimsum,yankees0,diablo666,lesbian1,pot420,jasonm,glock23,jennyb,itsmine,lena2010,whattheh,beandip,abaddon,kishore,signup,apogee,biteme12,suzieq,vgfun4,iseeyou,rifleman,qwerta,4pussy,hawkman,guest1,june17,dicksuck,bootay,cash12,bassale,ktybyuhfl,leetch,nescafe,7ovtgimc,clapton1,auror,boonie,tracker1,john69,bellas,cabinboy,yonkers,silky1,ladyffesta,drache,kamil1,davidp,bad123,snoopy12,sanche,werthvfy,achille,nefertiti,gerald1,slage33,warszawa,macsan26,mason123,kotopes,welcome8,nascar99,kiril,77778888,hairy1,monito,comicsans,81726354,killabee,arclight,yuo67,feelme,86753099,nnssnn,monday12,88351132,88889999,websters,subito,asdf12345,vaz2108,zvbxrpl,159753456852,rezeda,multimed,noaccess,henrique,tascam,captiva,zadrot,hateyou,sophie12,123123456,snoop1,charlie8,birmingh,hardline,libert,azsxdcf,89172735872,rjpthju,bondar,philips1,olegnaruto,myword,yakman,stardog,banana12,1234567890w,farout,annick,duke01,rfj422,billard,glock19,shaolin1,master10,cinderel,deltaone,manning1,biggreen,sidney1,patty1,goforit1,766rglqy,sevendus,aristotl,armagedo,blumen,gfhfyjz,kazakov,lekbyxxx,accord1,idiota,soccer16,texas123,victoire,ololo,chris01,bobbbb,299792458,eeeeeee1,confiden,07070,clarks,techno1,kayley,stang1,wwwwww1,uuuuu1,neverdie,jasonr,cavscout,481516234,mylove1,shaitan,1qazxcvb,barbaros,123456782000,123wer,thissucks,7seven,227722,faerie,hayduke,dbacks,snorkel,zmxncbv,tiger99,unknown1,melmac,polo1234,sssssss1,1fire,369147,bandung,bluejean,nivram,stanle,ctcnhf,soccer20,blingbli,dirtball,alex2112,183461,skylin,boobman,geronto,brittany1,yyz2112,gizmo69,ktrcec,dakota12,chiken,sexy11,vg08k714,bernadet,1bulldog,beachs,hollyb,maryjoy,margo1,danielle1,chakra,alexand,hullcity,matrix12,sarenna,pablos,antler,supercar,chomsky,german1,airjordan,545ettvy,camaron,flight1,netvideo,tootall,valheru,481516,1234as,skimmer,redcross,inuyash,uthvfy,1012nw,edoardo,bjhgfi,golf11,9379992a,lagarto,socball,boopie,krazy,.adgjmptw,gaydar,kovalev,geddylee,firstone,turbodog,loveee,135711,badbo,trapdoor,opopop11,danny2,max2000,526452,kerry1,leapfrog,daisy2,134kzbip,1andrea,playa1,peekab00,heskey,pirrello,gsewfmck,dimon4ik,puppie,chelios,554433,hypnodanny,fantik,yhwnqc,ghbdtngjrf,anchorag,buffett1,fanta,sappho,024680,vialli,chiva,lucylu,hashem,exbntkm,thema,23jordan,jake11,wildside,smartie,emerica,2wj2k9oj,ventrue,timoth,lamers,baerchen,suspende,boobis,denman85,1adam12,otello,king12,dzakuni,qsawbbs,isgay,porno123,jam123,daytona1,tazzie,bunny123,amaterasu,jeffre,crocus,mastercard,bitchedup,chicago7,aynrand,intel1,tamila,alianza,mulch,merlin12,rose123,alcapone,mircea,loveher,joseph12,chelsea6,dorothy1,wolfgar,unlimite,arturik,qwerty3,paddy1,piramid,linda123,cooool,millie1,warlock1,forgotit,tort02,ilikeyou,avensis,loveislife,dumbass1,clint1,2110se,drlove,olesia,kalinina,sergey123,123423,alicia1,markova,tri5a3,media1,willia1,xxxxxxx1,beercan,smk7366,jesusislord,motherfuck,smacker,birthday5,jbaby,harley2,hyper1,a9387670a,honey2,corvet,gjmptw,rjhjkmbien,apollon,madhuri,3a5irt,cessna17,saluki,digweed,tamia1,yja3vo,cfvlehfr,1111111q,martyna,stimpy1,anjana,yankeemp,jupiler,idkfa,1blue,fromv,afric,3xbobobo,liverp00l,nikon1,amadeus1,acer123,napoleo,david7,vbhjckfdf,mojo69,percy1,pirates1,grunt1,alenushka,finbar,zsxdcf,mandy123,1fred,timewarp,747bbb,druids,julia123,123321qq,spacebar,dreads,fcbarcelona,angela12,anima,christopher1,stargazer,123123s,hockey11,brewski,marlbor,blinker,motorhead,damngood,werthrf,letmein3,moremoney,killer99,anneke,eatit,pilatus,andrew01,fiona1,maitai,blucher,zxgdqn,e5pftu,nagual,panic1,andron,openwide,alphabeta,alison1,chelsea8,fende,mmm666,1shot2,a19l1980,123456@,1black,m1chael,vagner,realgood,maxxx,vekmnbr,stifler,2509mmh,tarkan,sherzod,1234567b,gunners1,artem2010,shooby,sammie1,p123456,piggie,abcde12345,nokia6230,moldir,piter,1qaz3edc,frequenc,acuransx,1star,nikeair,alex21,dapimp,ranjan,ilovegirls,anastasiy,berbatov,manso,21436587,leafs1,106666,angelochek,ingodwetrust,123456aaa,deano,korsar,pipetka,thunder9,minka,himura,installdevic,1qqqqq,digitalprodu,suckmeoff,plonker,headers,vlasov,ktr1996,windsor1,mishanya,garfield1,korvin,littlebit,azaz09,vandamme,scripto,s4114d,passward,britt1,r1chard,ferrari5,running1,7xswzaq,falcon2,pepper76,trademan,ea53g5,graham1,volvos80,reanimator,micasa,1234554321q,kairat,escorpion,sanek94,karolina1,kolovrat,karen2,1qaz@wsx,racing1,splooge,sarah2,deadman1,creed1,nooner,minicoop,oceane,room112,charme,12345ab,summer00,wetcunt,drewman,nastyman,redfire,appels,merlin69,dolfin,bornfree,diskette,ohwell,12345678qwe,jasont,madcap,cobra2,dolemit1,whatthehell,juanit,voldemar,rocke,bianc,elendil,vtufgjkbc,hotwheels,spanis,sukram,pokerface,k1ller,freakout,dontae,realmadri,drumss,gorams,258789,snakey,jasonn,whitewolf,befree,johnny99,pooka,theghost,kennys,vfvektxrf,toby1,jumpman23,deadlock,barbwire,stellina,alexa1,dalamar,mustanggt,northwes,tesoro,chameleo,sigtau,satoshi,george11,hotcum,cornell1,golfer12,geek01d,trololo,kellym,megapolis,pepsi2,hea666,monkfish,blue52,sarajane,bowler1,skeets,ddgirls,hfccbz,bailey01,isabella1,dreday,moose123,baobab,crushme,000009,veryhot,roadie,meanone,mike18,henriett,dohcvtec,moulin,gulnur,adastra,angel9,western1,natura,sweetpe,dtnfkm,marsbar,daisys,frogger1,virus1,redwood1,streetball,fridolin,d78unhxq,midas,michelob,cantik,sk2000,kikker,macanudo,rambone,fizzle,20000,peanuts1,cowpie,stone32,astaroth,dakota01,redso,mustard1,sexylove,giantess,teaparty,bobbin,beerbong,monet1,charles3,anniedog,anna1988,cameleon,longbeach,tamere,qpful542,mesquite,waldemar,12345zx,iamhere,lowboy,canard,granp,daisymay,love33,moosejaw,nivek,ninjaman,shrike01,aaa777,88002000600,vodolei,bambush,falcor,harley69,alphaomega,severine,grappler,bosox,twogirls,gatorman,vettes,buttmunch,chyna,excelsio,crayfish,birillo,megumi,lsia9dnb9y,littlebo,stevek,hiroyuki,firehous,master5,briley2,gangste,chrisk,camaleon,bulle,troyboy,froinlaven,mybutt,sandhya,rapala,jagged,crazycat,lucky12,jetman,wavmanuk,1heather,beegee,negril,mario123,funtime1,conehead,abigai,mhorgan,patagoni,travel1,backspace,frenchfr,mudcat,dashenka,baseball3,rustys,741852kk,dickme,baller23,griffey1,suckmycock,fuhrfzgc,jenny2,spuds,berlin1,justfun,icewind,bumerang,pavlusha,minecraft123,shasta1,ranger12,123400,twisters,buthead,miked,finance1,dignity7,hello9,lvjdp383,jgthfnjh,dalmatio,paparoach,miller31,2bornot2b,fathe,monterre,theblues,satans,schaap,jasmine2,sibelius,manon,heslo,jcnhjd,shane123,natasha2,pierrot,bluecar,iloveass,harriso,red12,london20,job314,beholder,reddawg,fuckyou!,pussylick,bologna1,austintx,ole4ka,blotto,onering,jearly,balbes,lightbul,bighorn,crossfir,lee123,prapor,1ashley,gfhjkm22,wwe123,09090,sexsite,marina123,jagua,witch1,schmoo,parkview,dragon3,chilango,ultimo,abramova,nautique,2bornot2,duende,1arthur,nightwing,surfboar,quant4307,15s9pu03,karina1,shitball,walleye1,wildman1,whytesha,1morgan,my2girls,polic,baranova,berezuckiy,kkkkkk1,forzima,fornow,qwerty02,gokart,suckit69,davidlee,whatnow,edgard,tits1,bayshore,36987412,ghbphfr,daddyy,explore1,zoidberg,5qnzjx,morgane,danilov,blacksex,mickey12,balsam,83y6pv,sarahc,slaye,all4u2,slayer69,nadia1,rlzwp503,4cranker,kaylie,numberon,teremok,wolf12,deeppurple,goodbeer,aaa555,66669999,whatif,harmony1,ue8fpw,3tmnej,254xtpss,dusty197,wcksdypk,zerkalo,dfnheirf,motorol,digita,whoareyou,darksoul,manics,rounders,killer11,d2000lb,cegthgfhjkm,catdog1,beograd,pepsico,julius1,123654987,softbal,killer23,weasel1,lifeson,q123456q,444555666,bunches,andy1,darby1,service01,bear11,jordan123,amega,duncan21,yensid,lerxst,rassvet,bronco2,fortis,pornlove,paiste,198900,asdflkjh,1236547890,futur,eugene1,winnipeg261,fk8bhydb,seanjohn,brimston,matthe1,bitchedu,crisco,302731,roxydog,woodlawn,volgograd,ace1210,boy4u2ownnyc,laura123,pronger,parker12,z123456z,andrew13,longlife,sarang,drogba,gobruins,soccer4,holida,espace,almira,murmansk,green22,safina,wm00022,1chevy,schlumpf,doroth,ulises,golf99,hellyes,detlef,mydog,erkina,bastardo,mashenka,sucram,wehttam,generic1,195000,spaceboy,lopas123,scammer,skynyrd,daddy2,titani,ficker,cr250r,kbnthfnehf,takedown,sticky1,davidruiz,desant,nremtp,painter1,bogies,agamemno,kansas1,smallfry,archi,2b4dnvsx,1player,saddie,peapod,6458zn7a,qvw6n2,gfxqx686,twice2,sh4d0w3d,mayfly,375125,phitau,yqmbevgk,89211375759,kumar1,pfhfpf,toyboy,way2go,7pvn4t,pass69,chipster,spoony,buddycat,diamond3,rincewin,hobie,david01,billbo,hxp4life,matild,pokemon2,dimochka,clown1,148888,jenmt3,cuxldv,cqnwhy,cde34rfv,simone1,verynice,toobig,pasha123,mike00,maria2,lolpop,firewire,dragon9,martesana,a1234567890,birthday3,providen,kiska,pitbulls,556655,misawa,damned69,martin11,goldorak,gunship,glory1,winxclub,sixgun,splodge,agent1,splitter,dome69,ifghjb,eliza1,snaiper,wutang36,phoenix7,666425,arshavin,paulaner,namron,m69fg1w,qwert1234,terrys,zesyrmvu,joeman,scoots,dwml9f,625vrobg,sally123,gostoso,symow8,pelota,c43qpul5rz,majinbuu,lithium1,bigstuff,horndog1,kipelov,kringle,1beavis,loshara,octobe,jmzacf,12342000,qw12qw,runescape1,chargers1,krokus,piknik,jessy,778811,gjvbljh,474jdvff,pleaser,misskitty,breaker1,7f4df451,dayan,twinky,yakumo,chippers,matia,tanith,len2ski1,manni,nichol1,f00b4r,nokia3110,standart,123456789i,shami,steffie,larrywn,chucker,john99,chamois,jjjkkk,penmouse,ktnj2010,gooners,hemmelig,rodney1,merlin01,bearcat1,1yyyyy,159753z,1fffff,1ddddd,thomas11,gjkbyrf,ivanka,f1f2f3,petrovna,phunky,conair,brian2,creative1,klipsch,vbitymrf,freek,breitlin,cecili,westwing,gohabsgo,tippmann,1steve,quattro6,fatbob,sp00ky,rastas,1123581,redsea,rfnmrf,jerky1,1aaaaaa,spk666,simba123,qwert54321,123abcd,beavis69,fyfyfc,starr1,1236547,peanutbutter,sintra,12345abcde,1357246,abcde1,climbon,755dfx,mermaids,monte1,serkan,geilesau,777win,jasonc,parkside,imagine1,rockhead,producti,playhard,principa,spammer,gagher,escada,tsv1860,dbyjuhfl,cruiser1,kennyg,montgome,2481632,pompano,cum123,angel6,sooty,bear01,april6,bodyhamm,pugsly,getrich,mikes,pelusa,fosgate,jasonp,rostislav,kimberly1,128mo,dallas11,gooner1,manuel1,cocacola1,imesh,5782790,password8,daboys,1jones,intheend,e3w2q1,whisper1,madone,pjcgujrat,1p2o3i,jamesp,felicida,nemrac,phikap,firecat,jrcfyjxrf,matt12,bigfan,doedel,005500,jasonx,1234567k,badfish,goosey,utjuhfabz,wilco,artem123,igor123,spike123,jor23dan,dga9la,v2jmsz,morgan12,avery1,dogstyle,natasa,221195ws,twopac,oktober7,karthik,poop1,mightymo,davidr,zermatt,jehova,aezakmi1,dimwit,monkey5,serega123,qwerty111,blabl,casey22,boy123,1clutch,asdfjkl1,hariom,bruce10,jeep95,1smith,sm9934,karishma,bazzzz,aristo,669e53e1,nesterov,kill666,fihdfv,1abc2,anna1,silver11,mojoman,telefono,goeagles,sd3lpgdr,rfhfynby,melinda1,llcoolj,idteul,bigchief,rocky13,timberwo,ballers,gatekeep,kashif,hardass,anastasija,max777,vfuyjkbz,riesling,agent99,kappas,dalglish,tincan,orange3,turtoise,abkbvjy,mike24,hugedick,alabala,geolog,aziza,devilboy,habanero,waheguru,funboy,freedom5,natwest,seashore,impaler,qwaszx1,pastas,bmw535,tecktonik,mika00,jobsearc,pinche,puntang,aw96b6,1corvett,skorpio,foundati,zzr1100,gembird,vfnhjcrby,soccer18,vaz2110,peterp,archer1,cross1,samedi,dima1992,hunter99,lipper,hotbody,zhjckfdf,ducati1,trailer1,04325956,cheryl1,benetton,kononenko,sloneczko,rfgtkmrf,nashua,balalaika,ampere,eliston,dorsai,digge,flyrod,oxymoron,minolta,ironmike,majortom,karimov,fortun,putaria,an83546921an13,blade123,franchis,mxaigtg5,dynxyu,devlt4,brasi,terces,wqmfuh,nqdgxz,dale88,minchia,seeyou,housepen,1apple,1buddy,mariusz,bighouse,tango2,flimflam,nicola1,qwertyasd,tomek1,shumaher,kartoshka,bassss,canaries,redman1,123456789as,preciosa,allblacks,navidad,tommaso,beaudog,forrest1,green23,ryjgjxrf,go4it,ironman2,badnews,butterba,1grizzly,isaeva,rembrand,toront,1richard,bigjon,yfltymrf,1kitty,4ng62t,littlejo,wolfdog,ctvtyjd,spain1,megryan,tatertot,raven69,4809594q,tapout,stuntman,a131313,lagers,hotstuf,lfdbl11,stanley2,advokat,boloto,7894561,dooker,adxel187,cleodog,4play,0p9o8i,masterb,bimota,charlee,toystory,6820055,6666667,crevette,6031769,corsa,bingoo,dima1990,tennis11,samuri,avocado,melissa6,unicor,habari,metart,needsex,cockman,hernan,3891576,3334444,amigo1,gobuffs2,mike21,allianz,2835493,179355,midgard,joey123,oneluv,ellis1,towncar,shonuff,scouse,tool69,thomas19,chorizo,jblaze,lisa1,dima1999,sophia1,anna1989,vfvekbxrf,krasavica,redlegs,jason25,tbontb,katrine,eumesmo,vfhufhbnrf,1654321,asdfghj1,motdepas,booga,doogle,1453145,byron1,158272,kardinal,tanne,fallen1,abcd12345,ufyljy,n12345,kucing,burberry,bodger,1234578,februar,1234512,nekkid,prober,harrison1,idlewild,rfnz90,foiegras,pussy21,bigstud,denzel,tiffany2,bigwill,1234567890zzz,hello69,compute1,viper9,hellspaw,trythis,gococks,dogballs,delfi,lupine,millenia,newdelhi,charlest,basspro,1mike,joeblack,975310,1rosebud,batman11,misterio,fucknut,charlie0,august11,juancho,ilonka,jigei743ks,adam1234,889900,goonie,alicat,ggggggg1,1zzzzzzz,sexywife,northstar,chris23,888111,containe,trojan1,jason5,graikos,1ggggg,1eeeee,tigers01,indigo1,hotmale,jacob123,mishima,richard3,cjxb2014,coco123,meagain,thaman,wallst,edgewood,bundas,1power,matilda1,maradon,hookedup,jemima,r3vi3wpass,2004-10-,mudman,taz123,xswzaq,emerson1,anna21,warlord1,toering,pelle,tgwdvu,masterb8,wallstre,moppel,priora,ghjcnjrdfif,yoland,12332100,1j9e7f6f,jazzzz,yesman,brianm,42qwerty42,12345698,darkmanx,nirmal,john31,bb123456,neuspeed,billgates,moguls,fj1200,hbhlair,shaun1,ghbdfn,305pwzlr,nbu3cd,susanb,pimpdad,mangust6403,joedog,dawidek,gigante,708090,703751,700007,ikalcr,tbivbn,697769,marvi,iyaayas,karen123,jimmyboy,dozer1,e6z8jh,bigtime1,getdown,kevin12,brookly,zjduc3,nolan1,cobber,yr8wdxcq,liebe,m1garand,blah123,616879,action1,600000,sumitomo,albcaz,asian1,557799,dave69,556699,sasa123,streaker,michel1,karate1,buddy7,daulet,koks888,roadtrip,wapiti,oldguy,illini1,1234qq,mrspock,kwiatek,buterfly,august31,jibxhq,jackin,taxicab,tristram,talisker,446655,444666,chrisa,freespace,vfhbfyyf,chevell,444333,notyours,442244,christian1,seemore,sniper12,marlin1,joker666,multik,devilish,crf450,cdfoli,eastern1,asshead,duhast,voyager2,cyberia,1wizard,cybernet,iloveme1,veterok,karandash,392781,looksee,diddy,diabolic,foofight,missey,herbert1,bmw318i,premier1,zsfmpv,eric1234,dun6sm,fuck11,345543,spudman,lurker,bitem,lizzy1,ironsink,minami,339311,s7fhs127,sterne,332233,plankton,galax,azuywe,changepa,august25,mouse123,sikici,killer69,xswqaz,quovadis,gnomik,033028pw,777777a,barrakuda,spawn666,goodgod,slurp,morbius,yelnats,cujo31,norman1,fastone,earwig,aureli,wordlife,bnfkbz,yasmi,austin123,timberla,missy2,legalize,netcom,liljon,takeit,georgin,987654321z,warbird,vitalina,all4u3,mmmmmm1,bichon,ellobo,wahoos,fcazmj,aksarben,lodoss,satnam,vasili,197800,maarten,sam138989,0u812,ankita,walte,prince12,anvils,bestia,hoschi,198300,univer,jack10,ktyecbr,gr00vy,hokie,wolfman1,fuckwit,geyser,emmanue,ybrjkftd,qwerty33,karat,dblock,avocat,bobbym,womersle,1please,nostra,dayana,billyray,alternat,iloveu1,qwerty69,rammstein1,mystikal,winne,drawde,executor,craxxxs,ghjcnjnf,999888777,welshman,access123,963214785,951753852,babe69,fvcnthlfv,****me,666999666,testing2,199200,nintendo64,oscarr,guido8,zhanna,gumshoe,jbird,159357456,pasca,123452345,satan6,mithrand,fhbirf,aa1111aa,viggen,ficktjuv,radial9,davids1,rainbow7,futuro,hipho,platin,poppy123,rhenjq,fulle,rosit,chicano,scrumpy,lumpy1,seifer,uvmrysez,autumn1,xenon,susie1,7u8i9o0p,gamer1,sirene,muffy1,monkeys1,kalinin,olcrackmaster,hotmove,uconn,gshock,merson,lthtdyz,pizzaboy,peggy1,pistache,pinto1,fishka,ladydi,pandor,baileys,hungwell,redboy,rookie1,amanda01,passwrd,clean1,matty1,tarkus,jabba1,bobster,beer30,solomon1,moneymon,sesamo,fred11,sunnysid,jasmine5,thebears,putamadre,workhard,flashbac,counter1,liefde,magnat,corky1,green6,abramov,lordik,univers,shortys,david3,vip123,gnarly,1234567s,billy2,honkey,deathstar,grimmy,govinda,direktor,12345678s,linus1,shoppin,rekbrjdf,santeria,prett,berty75,mohican,daftpunk,uekmyfhf,chupa,strats,ironbird,giants56,salisbur,koldun,summer04,pondscum,jimmyj,miata1,george3,redshoes,weezie,bartman1,0p9o8i7u,s1lver,dorkus,125478,omega9,sexisgood,mancow,patric1,jetta1,074401,ghjuhtcc,gfhjk,bibble,terry2,123213,medicin,rebel2,hen3ry,4freedom,aldrin,lovesyou,browny,renwod,winnie1,belladon,1house,tyghbn,blessme,rfhfrfnbwf,haylee,deepdive,booya,phantasy,gansta,cock69,4mnveh,gazza1,redapple,structur,anakin1,manolito,steve01,poolman,chloe123,vlad1998,qazwsxe,pushit,random123,ontherocks,o236nq,brain1,dimedrol,agape,rovnogod,1balls,knigh,alliso,love01,wolf01,flintstone,beernuts,tuffguy,isengard,highfive,alex23,casper99,rubina,getreal,chinita,italian1,airsoft,qwerty23,muffdiver,willi1,grace123,orioles1,redbull1,chino1,ziggy123,breadman,estefan,ljcneg,gotoit,logan123,wideglid,mancity1,treess,qwe123456,kazumi,qweasdqwe,oddworld,naveed,protos,towson,a801016,godislov,at_asp,bambam1,soccer5,dark123,67vette,carlos123,hoser1,scouser,wesdxc,pelus,dragon25,pflhjn,abdula,1freedom,policema,tarkin,eduardo1,mackdad,gfhjkm11,lfplhfgthvf,adilet,zzzzxxxx,childre,samarkand,cegthgegth,shama,fresher,silvestr,greaser,allout,plmokn,sexdrive,nintendo1,fantasy7,oleander,fe126fd,crumpet,pingzing,dionis,hipster,yfcnz,requin,calliope,jerome1,housecat,abc123456789,doghot,snake123,augus,brillig,chronic1,gfhjkbot,expediti,noisette,master7,caliban,whitetai,favorite3,lisamari,educatio,ghjhjr,saber1,zcegth,1958proman,vtkrbq,milkdud,imajica,thehip,bailey10,hockey19,dkflbdjcnjr,j123456,bernar,aeiouy,gamlet,deltachi,endzone,conni,bcgfybz,brandi1,auckland2010,7653ajl1,mardigra,testuser,bunko18,camaro67,36936,greenie,454dfmcq,6xe8j2z4,mrgreen,ranger5,headhunt,banshee1,moonunit,zyltrc,hello3,pussyboy,stoopid,tigger11,yellow12,drums1,blue02,kils123,junkman,banyan,jimmyjam,tbbucs,sportster,badass1,joshie,braves10,lajolla,1amanda,antani,78787,antero,19216801,chich,rhett32,sarahm,beloit,sucker69,corkey,nicosnn,rccola,caracol,daffyduc,bunny2,mantas,monkies,hedonist,cacapipi,ashton1,sid123,19899891,patche,greekgod,cbr1000,leader1,19977991,ettore,chongo,113311,picass,cfif123,rhtfnbd,frances1,andy12,minnette,bigboy12,green69,alices,babcia,partyboy,javabean,freehand,qawsed123,xxx111,harold1,passwo,jonny1,kappa1,w2dlww3v5p,1merlin,222999,tomjones,jakeman,franken,markhegarty,john01,carole1,daveman,caseys,apeman,mookey,moon123,claret,titans1,residentevil,campari,curitiba,dovetail,aerostar,jackdaniels,basenji,zaq12w,glencoe,biglove,goober12,ncc170,far7766,monkey21,eclipse9,1234567v,vanechka,aristote,grumble,belgorod,abhishek,neworleans,pazzword,dummie,sashadog,diablo11,mst3000,koala1,maureen1,jake99,isaiah1,funkster,gillian1,ekaterina20,chibears,astra123,4me2no,winte,skippe,necro,windows9,vinograd,demolay,vika2010,quiksilver,19371ayj,dollar1,shecky,qzwxecrv,butterfly1,merrill1,scoreland,1crazy,megastar,mandragora,track1,dedhed,jacob2,newhope,qawsedrftgyh,shack1,samvel,gatita,shyster,clara1,telstar,office1,crickett,truls,nirmala,joselito,chrisl,lesnik,aaaabbbb,austin01,leto2010,bubbie,aaa12345,widder,234432,salinger,mrsmith,qazsedcft,newshoes,skunks,yt1300,bmw316,arbeit,smoove,123321qweewq,123qazwsx,22221111,seesaw,0987654321a,peach1,1029384756q,sereda,gerrard8,shit123,batcave,energy1,peterb,mytruck,peter12,alesya,tomato1,spirou,laputaxx,magoo1,omgkremidia,knight12,norton1,vladislava,shaddy,austin11,jlbyjxrf,kbdthgekm,punheta,fetish69,exploiter,roger2,manstein,gtnhjd,32615948worms,dogbreath,ujkjdjkjvrf,vodka1,ripcord,fatrat,kotek1,tiziana,larrybir,thunder3,nbvfnb,9kyq6fge,remembe,likemike,gavin1,shinigam,yfcnfcmz,13245678,jabbar,vampyr,ane4ka,lollipo,ashwin,scuderia,limpdick,deagle,3247562,vishenka,fdhjhf,alex02,volvov70,mandys,bioshock,caraca,tombraider,matrix69,jeff123,13579135,parazit,black3,noway1,diablos,hitmen,garden1,aminor,decembe,august12,b00ger,006900,452073t,schach,hitman1,mariner1,vbnmrf,paint1,742617000027,bitchboy,pfqxjyjr,5681392,marryher,sinnet,malik1,muffin12,aninha,piolin,lady12,traffic1,cbvjyf,6345789,june21,ivan2010,ryan123,honda99,gunny,coorslight,asd321,hunter69,7224763,sonofgod,dolphins1,1dolphin,pavlenko,woodwind,lovelov,pinkpant,gblfhfcbyf,hotel1,justinbiebe,vinter,jeff1234,mydogs,1pizza,boats1,parrothe,shawshan,brooklyn1,cbrown,1rocky,hemi426,dragon64,redwings1,porsches,ghostly,hubbahub,buttnut,b929ezzh,sorokina,flashg,fritos,b7mguk,metatron,treehous,vorpal,8902792,marcu,free123,labamba,chiefs1,zxc123zxc,keli_14,hotti,1steeler,money4,rakker,foxwoods,free1,ahjkjd,sidorova,snowwhit,neptune1,mrlover,trader1,nudelamb,baloo,power7,deltasig,bills1,trevo,7gorwell,nokia6630,nokia5320,madhatte,1cowboys,manga1,namtab,sanjar,fanny1,birdman1,adv12775,carlo1,dude1998,babyhuey,nicole11,madmike,ubvyfpbz,qawsedr,lifetec,skyhook,stalker123,toolong,robertso,ripazha,zippy123,1111111a,manol,dirtyman,analslut,jason3,dutches,minhasenha,cerise,fenrir,jayjay1,flatbush,franka,bhbyjxrf,26429vadim,lawntrax,198700,fritzy,nikhil,ripper1,harami,truckman,nemvxyheqdd5oqxyxyzi,gkfytnf,bugaboo,cableman,hairpie,xplorer,movado,hotsex69,mordred,ohyeah1,patrick3,frolov,katieh,4311111q,mochaj,presari,bigdo,753951852,freedom4,kapitan,tomas1,135795,sweet123,pokers,shagme,tane4ka,sentinal,ufgyndmv,jonnyb,skate123,123456798,123456788,very1,gerrit,damocles,dollarbi,caroline1,lloyds,pizdets,flatland,92702689,dave13,meoff,ajnjuhfabz,achmed,madison9,744744z,amonte,avrillavigne,elaine1,norma1,asseater,everlong,buddy23,cmgang1,trash1,mitsu,flyman,ulugbek,june27,magistr,fittan,sebora64,dingos,sleipnir,caterpil,cindys,212121qaz,partys,dialer,gjytltkmybr,qweqaz,janvier,rocawear,lostboy,aileron,sweety1,everest1,pornman,boombox,potter1,blackdic,44448888,eric123,112233aa,2502557i,novass,nanotech,yourname,x12345,indian1,15975300,1234567l,carla51,chicago0,coleta,cxzdsaewq,qqwweerr,marwan,deltic,hollys,qwerasd,pon32029,rainmake,nathan0,matveeva,legioner,kevink,riven,tombraid,blitzen,a54321,jackyl,chinese1,shalimar,oleg1995,beaches1,tommylee,eknock,berli,monkey23,badbob,pugwash,likewhoa,jesus2,yujyd360,belmar,shadow22,utfp5e,angelo1,minimax,pooder,cocoa1,moresex,tortue,lesbia,panthe,snoopy2,drumnbass,alway,gmcz71,6jhwmqku,leppard,dinsdale,blair1,boriqua,money111,virtuagirl,267605,rattlesn,1sunshin,monica12,veritas1,newmexic,millertime,turandot,rfvxfnrf,jaydog,kakawka,bowhunter,booboo12,deerpark,erreway,taylorma,rfkbybyf,wooglin,weegee,rexdog,iamhorny,cazzo1,vhou812,bacardi1,dctktyyfz,godpasi,peanut12,bertha1,fuckyoubitch,ghosty,altavista,jertoot,smokeit,ghjcnbvtyz,fhnehxbr,rolsen,qazxcdews,maddmaxx,redrocke,qazokm,spencer2,thekiller,asdf11,123sex,tupac1,p1234567,dbrown,1biteme,tgo4466,316769,sunghi,shakespe,frosty1,gucci1,arcana,bandit01,lyubov,poochy,dartmout,magpies1,sunnyd,mouseman,summer07,chester7,shalini,danbury,pigboy,dave99,deniss,harryb,ashley11,pppppp1,01081988m,balloon1,tkachenko,bucks1,master77,pussyca,tricky1,zzxxccvv,zoulou,doomer,mukesh,iluv69,supermax,todays,thefox,don123,dontask,diplom,piglett,shiney,fahbrf,qaz12wsx,temitope,reggin,project1,buffy2,inside1,lbpfqyth,vanilla1,lovecock,u4slpwra,fylh.irf,123211,7ertu3ds,necroman,chalky,artist1,simpso,4x7wjr,chaos666,lazyacres,harley99,ch33s3,marusa,eagle7,dilligas,computadora,lucky69,denwer,nissan350z,unforgiv,oddball,schalke0,aztec1,borisova,branden1,parkave,marie123,germa,lafayett,878kckxy,405060,cheeseca,bigwave,fred22,andreea,poulet,mercutio,psycholo,andrew88,o4izdmxu,sanctuar,newhome,milion,suckmydi,rjvgm.nth,warior,goodgame,1qwertyuiop,6339cndh,scorpio2,macker,southbay,crabcake,toadie,paperclip,fatkid,maddo,cliff1,rastafar,maries,twins1,geujdrf,anjela,wc4fun,dolina,mpetroff,rollout,zydeco,shadow3,pumpki,steeda,volvo240,terras,blowjo,blue2000,incognit,badmojo,gambit1,zhukov,station1,aaronb,graci,duke123,clipper1,qazxsw2,ledzeppe,kukareku,sexkitte,cinco,007008,lakers12,a1234b,acmilan1,afhfjy,starrr,slutty3,phoneman,kostyan,bonzo1,sintesi07,ersatz,cloud1,nephilim,nascar03,rey619,kairos,123456789e,hardon1,boeing1,juliya,hfccdtn,vgfun8,polizei,456838,keithb,minouche,ariston,savag,213141,clarkken,microwav,london2,santacla,campeo,qr5mx7,464811,mynuts,bombo,1mickey,lucky8,danger1,ironside,carter12,wyatt1,borntorun,iloveyou123,jose1,pancake1,tadmichaels,monsta,jugger,hunnie,triste,heat7777,ilovejesus,queeny,luckycharm,lieben,gordolee85,jtkirk,forever21,jetlag,skylane,taucher,neworlea,holera,000005,anhnhoem,melissa7,mumdad,massimiliano,dima1994,nigel1,madison3,slicky,shokolad,serenit,jmh1978,soccer123,chris3,drwho,rfpzdrf,1qasw23ed,free4me,wonka,sasquatc,sanan,maytag,verochka,bankone,molly12,monopoli,xfqybr,lamborgini,gondolin,candycane,needsome,jb007,scottie1,brigit,0147258369,kalamazo,lololyo123,bill1234,ilovejes,lol123123,popkorn,april13,567rntvm,downunde,charle1,angelbab,guildwars,homeworld,qazxcvbnm,superma1,dupa123,kryptoni,happyy,artyom,stormie,cool11,calvin69,saphir,konovalov,jansport,october8,liebling,druuna,susans,megans,tujhjdf,wmegrfux,jumbo1,ljb4dt7n,012345678910,kolesnik,speculum,at4gftlw,kurgan,93pn75,cahek0980,dallas01,godswill,fhifdby,chelsea4,jump23,barsoom,catinhat,urlacher,angel99,vidadi1,678910,lickme69,topaz1,westend,loveone,c12345,gold12,alex1959,mamon,barney12,1maggie,alex12345,lp2568cskt,s1234567,gjikbdctyf,anthony0,browns99,chips1,sunking,widespre,lalala1,tdutif,fucklife,master00,alino4ka,stakan,blonde1,phoebus,tenore,bvgthbz,brunos,suzjv8,uvdwgt,revenant,1banana,veroniqu,sexfun,sp1der,4g3izhox,isakov,shiva1,scooba,bluefire,wizard12,dimitris,funbags,perseus,hoodoo,keving,malboro,157953,a32tv8ls,latics,animate,mossad,yejntb,karting,qmpq39zr,busdrive,jtuac3my,jkne9y,sr20dett,4gxrzemq,keylargo,741147,rfktylfhm,toast1,skins1,xcalibur,gattone,seether,kameron,glock9mm,julio1,delenn,gameday,tommyd,str8edge,bulls123,66699,carlsberg,woodbird,adnama,45auto,codyman,truck2,1w2w3w4w,pvjegu,method1,luetdi,41d8cd98f00b,bankai,5432112345,94rwpe,reneee,chrisx,melvins,775577,sam2000,scrappy1,rachid,grizzley,margare,morgan01,winstons,gevorg,gonzal,crawdad,gfhfdjp,babilon,noneya,pussy11,barbell,easyride,c00li0,777771,311music,karla1,golions,19866891,peejay,leadfoot,hfvbkm,kr9z40sy,cobra123,isotwe,grizz,sallys,****you,aaa123a,dembel,foxs14,hillcres,webman,mudshark,alfredo1,weeded,lester1,hovepark,ratface,000777fffa,huskie,wildthing,elbarto,waikiki,masami,call911,goose2,regin,dovajb,agricola,cjytxrj,andy11,penny123,family01,a121212,1braves,upupa68,happy100,824655,cjlove,firsttim,kalel,redhair,dfhtymt,sliders,bananna,loverbo,fifa2008,crouton,chevy350,panties2,kolya1,alyona,hagrid,spagetti,q2w3e4r,867530,narkoman,nhfdvfnjkju123,1ccccccc,napolean,0072563,allay,w8sted,wigwam,jamesk,state1,parovoz,beach69,kevinb,rossella,logitech1,celula,gnocca,canucks1,loginova,marlboro1,aaaa1,kalleanka,mester,mishutka,milenko,alibek,jersey1,peterc,1mouse,nedved,blackone,ghfplybr,682regkh,beejay,newburgh,ruffian,clarets,noreaga,xenophon,hummerh2,tenshi,smeagol,soloyo,vfhnby,ereiamjh,ewq321,goomie,sportin,cellphone,sonnie,jetblack,saudan,gblfhfc,matheus,uhfvjnf,alicja,jayman1,devon1,hexagon,bailey2,vtufajy,yankees7,salty1,908070,killemal,gammas,eurocard,sydney12,tuesday1,antietam,wayfarer,beast666,19952009sa,aq12ws,eveli,hockey21,haloreach,dontcare,xxxx1,andrea11,karlmarx,jelszo,tylerb,protools,timberwolf,ruffneck,pololo,1bbbbb,waleed,sasami,twinss,fairlady,illuminati,alex007,sucks1,homerjay,scooter7,tarbaby,barmaley,amistad,vanes,randers,tigers12,dreamer2,goleafsg,googie,bernie1,as12345,godeep,james3,phanto,gwbush,cumlover,2196dc,studioworks,995511,golf56,titova,kaleka,itali,socks1,kurwamac,daisuke,hevonen,woody123,daisie,wouter,henry123,gostosa,guppie,porpoise,iamsexy,276115,paula123,1020315,38gjgeuftd,rjrfrjkf,knotty,idiot1,sasha12345,matrix13,securit,radical1,ag764ks,jsmith,coolguy1,secretar,juanas,sasha1988,itout,00000001,tiger11,1butthea,putain,cavalo,basia1,kobebryant,1232323,12345asdfg,sunsh1ne,cyfqgth,tomkat,dorota,dashit,pelmen,5t6y7u,whipit,smokeone,helloall,bonjour1,snowshoe,nilknarf,x1x2x3,lammas,1234599,lol123456,atombomb,ironchef,noclue,alekseev,gwbush1,silver2,12345678m,yesican,fahjlbnf,chapstic,alex95,open1,tiger200,lisichka,pogiako,cbr929,searchin,tanya123,alex1973,phil413,alex1991,dominati,geckos,freddi,silenthill,egroeg,vorobey,antoxa,dark666,shkola,apple22,rebellio,shamanking,7f8srt,cumsucker,partagas,bill99,22223333,arnster55,fucknuts,proxima,silversi,goblues,parcells,vfrcbvjdf,piloto,avocet,emily2,1597530,miniskir,himitsu,pepper2,juiceman,venom1,bogdana,jujube,quatro,botafogo,mama2010,junior12,derrickh,asdfrewq,miller2,chitarra,silverfox,napol,prestigio,devil123,mm111qm,ara123,max33484,sex2000,primo1,sephan,anyuta,alena2010,viborg,verysexy,hibiscus,terps,josefin,oxcart,spooker,speciali,raffaello,partyon,vfhvtkflrf,strela,a123456z,worksuck,glasss,lomonosov,dusty123,dukeblue,1winter,sergeeva,lala123,john22,cmc09,sobolev,bettylou,dannyb,gjkrjdybr,hagakure,iecnhbr,awsedr,pmdmsctsk,costco,alekseeva,fktrcttd,bazuka,flyingv,garuda,buffy16,gutierre,beer12,stomatolog,ernies,palmeiras,golf123,love269,n.kmgfy,gjkysqgbpltw,youare,joeboo,baksik,lifeguar,111a111,nascar8,mindgame,dude1,neopets,frdfkfyu,june24,phoenix8,penelopa,merlin99,mercenar,badluck,mishel,bookert,deadsexy,power9,chinchil,1234567m,alex10,skunk1,rfhkcjy,sammycat,wright1,randy2,marakesh,temppassword,elmer251,mooki,patrick0,bonoedge,1tits,chiar,kylie1,graffix,milkman1,cornel,mrkitty,nicole12,ticketmaster,beatles4,number20,ffff1,terps1,superfre,yfdbufnjh,jake1234,flblfc,1111qq,zanuda,jmol01,wpoolejr,polopol,nicolett,omega13,cannonba,123456789.,sandy69,ribeye,bo243ns,marilena,bogdan123,milla,redskins1,19733791,alias1,movie1,ducat,marzena,shadowru,56565,coolman1,pornlover,teepee,spiff,nafanya,gateway3,fuckyou0,hasher,34778,booboo69,staticx,hang10,qq12345,garnier,bosco123,1234567qw,carson1,samso,1xrg4kcq,cbr929rr,allan123,motorbik,andrew22,pussy101,miroslava,cytujdbr,camp0017,cobweb,snusmumrik,salmon1,cindy2,aliya,serendipity,co437at,tincouch,timmy123,hunter22,st1100,vvvvvv1,blanka,krondor,sweeti,nenit,kuzmich,gustavo1,bmw320i,alex2010,trees1,kyliem,essayons,april26,kumari,sprin,fajita,appletre,fghbjhb,1green,katieb,steven2,corrado1,satelite,1michell,123456789c,cfkfvfylhf,acurarsx,slut543,inhere,bob2000,pouncer,k123456789,fishie,aliso,audia8,bluetick,soccer69,jordan99,fromhell,mammoth1,fighting54,mike25,pepper11,extra1,worldwid,chaise,vfr800,sordfish,almat,nofate,listopad,hellgate,dctvghbdf,jeremia,qantas,lokiju,honker,sprint1,maral,triniti,compaq3,sixsix6,married1,loveman,juggalo1,repvtyrj,zxcasdqw,123445,whore1,123678,monkey6,west123,warcraf,pwnage,mystery1,creamyou,ant123,rehjgfnrf,corona1,coleman1,steve121,alderaan,barnaul,celeste1,junebug1,bombshel,gretzky9,tankist,targa,cachou,vaz2101,playgolf,boneyard,strateg,romawka,iforgotit,pullup,garbage1,irock,archmage,shaft1,oceano,sadies,alvin1,135135ab,psalm69,lmfao,ranger02,zaharova,33334444,perkman,realman,salguod,cmoney,astonmartin,glock1,greyfox,viper99,helpm,blackdick,46775575,family5,shazbot,dewey1,qwertyas,shivani,black22,mailman1,greenday1,57392632,red007,stanky,sanchez1,tysons,daruma,altosax,krayzie,85852008,1forever,98798798,irock.,123456654,142536789,ford22,brick1,michela,preciou,crazy4u,01telemike01,nolife,concac,safety1,annie123,brunswic,destini,123456qwer,madison0,snowball1,137946,1133557799,jarule,scout2,songohan,thedead,00009999,murphy01,spycam,hirsute,aurinko,associat,1miller,baklan,hermes1,2183rm,martie,kangoo,shweta,yvonne1,westsid,jackpot1,rotciv,maratik,fabrika,claude1,nursultan,noentry,ytnhjufnm,electra1,ghjcnjnfr1,puneet,smokey01,integrit,bugeye,trouble2,14071789,paul01,omgwtf,dmh415,ekilpool,yourmom1,moimeme,sparky11,boludo,ruslan123,kissme1,demetrio,appelsin,asshole3,raiders2,bunns,fynjybj,billygoa,p030710p$e4o,macdonal,248ujnfk,acorns,schmidt1,sparrow1,vinbylrj,weasle,jerom,ycwvrxxh,skywalk,gerlinde,solidus,postal1,poochie1,1charles,rhianna,terorist,rehnrf,omgwtfbbq,assfucke,deadend,zidan,jimboy,vengence,maroon5,7452tr,dalejr88,sombra,anatole,elodi,amazonas,147789,q12345q,gawker1,juanma,kassidy,greek1,bruces,bilbob,mike44,0o9i8u7y6t,kaligula,agentx,familie,anders1,pimpjuice,0128um,birthday10,lawncare,hownow,grandorgue,juggerna,scarfac,kensai,swatteam,123four,motorbike,repytxbr,other1,celicagt,pleomax,gen0303,godisgreat,icepick,lucifer666,heavy1,tea4two,forsure,02020,shortdog,webhead,chris13,palenque,3techsrl,knights1,orenburg,prong,nomarg,wutang1,80637852730,laika,iamfree,12345670,pillow1,12343412,bigears,peterg,stunna,rocky5,12123434,damir,feuerwehr,7418529630,danone,yanina,valenci,andy69,111222q,silvia1,1jjjjj,loveforever,passwo1,stratocaster,8928190a,motorolla,lateralu,ujujkm,chubba,ujkjdf,signon,123456789zx,serdce,stevo,wifey200,ololo123,popeye1,1pass,central1,melena,luxor,nemezida,poker123,ilovemusic,qaz1234,noodles1,lakeshow,amarill,ginseng,billiam,trento,321cba,fatback,soccer33,master13,marie2,newcar,bigtop,dark1,camron,nosgoth,155555,biglou,redbud,jordan7,159789,diversio,actros,dazed,drizzit,hjcnjd,wiktoria,justic,gooses,luzifer,darren1,chynna,tanuki,11335577,icculus,boobss,biggi,firstson,ceisi123,gatewa,hrothgar,jarhead1,happyjoy,felipe1,bebop1,medman,athena1,boneman,keiths,djljgfl,dicklick,russ120,mylady,zxcdsa,rock12,bluesea,kayaks,provista,luckies,smile4me,bootycal,enduro,123123f,heartbre,ern3sto,apple13,bigpappa,fy.njxrf,bigtom,cool69,perrito,quiet1,puszek,cious,cruella,temp1,david26,alemap,aa123123,teddies,tricolor,smokey12,kikiriki,mickey01,robert01,super5,ranman,stevenso,deliciou,money777,degauss,mozar,susanne1,asdasd12,shitbag,mommy123,wrestle1,imfree,fuckyou12,barbaris,florent,ujhijr,f8yruxoj,tefjps,anemone,toltec,2gether,left4dead2,ximen,gfkmvf,dunca,emilys,diana123,16473a,mark01,bigbro,annarbor,nikita2000,11aa11,tigres,llllll1,loser2,fbi11213,jupite,qwaszxqw,macabre,123ert,rev2000,mooooo,klapaucius,bagel1,chiquit,iyaoyas,bear101,irocz28,vfktymrfz,smokey2,love99,rfhnbyf,dracul,keith123,slicko,peacock1,orgasmic,thesnake,solder,wetass,doofer,david5,rhfcyjlfh,swanny,tammys,turkiye,tubaman,estefani,firehose,funnyguy,servo,grace17,pippa1,arbiter,jimmy69,nfymrf,asdf67nm,rjcnzy,demon123,thicknes,sexysex,kristall,michail,encarta,banderos,minty,marchenko,de1987ma,mo5kva,aircav,naomi1,bonni,tatoo,cronaldo,49ers1,mama1963,1truck,telecaster,punksnotdead,erotik,1eagles,1fender,luv269,acdeehan,tanner1,freema,1q3e5t7u,linksys,tiger6,megaman1,neophyte,australia1,mydaddy,1jeffrey,fgdfgdfg,gfgekz,1986irachka,keyman,m0b1l3,dfcz123,mikeyg,playstation2,abc125,slacker1,110491g,lordsoth,bhavani,ssecca,dctvghbdtn,niblick,hondacar,baby01,worldcom,4034407,51094didi,3657549,3630000,3578951,sweetpussy,majick,supercoo,robert11,abacabb,panda123,gfhjkm13,ford4x4,zippo1,lapin,1726354,lovesong,dude11,moebius,paravoz,1357642,matkhau,solnyshko,daniel4,multiplelog,starik,martusia,iamtheman,greentre,jetblue,motorrad,vfrcbvev,redoak,dogma1,gnorman,komlos,tonka1,1010220,666satan,losenord,lateralus,absinthe,command1,jigga1,iiiiiii1,pants1,jungfrau,926337,ufhhbgjnnth,yamakasi,888555,sunny7,gemini69,alone1,zxcvbnmz,cabezon,skyblues,zxc1234,456123a,zero00,caseih,azzurra,legolas1,menudo,murcielago,785612,779977,benidorm,viperman,dima1985,piglet1,hemligt,hotfeet,7elephants,hardup,gamess,a000000,267ksyjf,kaitlynn,sharkie,sisyphus,yellow22,667766,redvette,666420,mets69,ac2zxdty,hxxrvwcy,cdavis,alan1,noddy,579300,druss,eatshit1,555123,appleseed,simpleplan,kazak,526282,fynfyfyfhbde,birthday6,dragon6,1pookie,bluedevils,omg123,hj8z6e,x5dxwp,455445,batman23,termin,chrisbrown,animals1,lucky9,443322,kzktxrf,takayuki,fermer,assembler,zomu9q,sissyboy,sergant,felina,nokia6230i,eminem12,croco,hunt4red,festina,darknigh,cptnz062,ndshnx4s,twizzler,wnmaz7sd,aamaax,gfhfcjkmrf,alabama123,barrynov,happy5,punt0it,durandal,8xuuobe4,cmu9ggzh,bruno12,316497,crazyfrog,vfvfktyf,apple3,kasey1,mackdaddy,anthon1,sunnys,angel3,cribbage,moon1,donal,bryce1,pandabear,mwss474,whitesta,freaker,197100,bitche,p2ssw0rd,turnb,tiktonik,moonlite,ferret1,jackas,ferrum,bearclaw,liberty2,1diablo,caribe,snakeeyes,janbam,azonic,rainmaker,vetalik,bigeasy,baby1234,sureno13,blink1,kluivert,calbears,lavanda,198600,dhtlbyf,medvedeva,fox123,whirling,bonscott,freedom9,october3,manoman,segredo,cerulean,robinso,bsmith,flatus,dannon,password21,rrrrrr1,callista,romai,rainman1,trantor,mickeymo,bulldog7,g123456,pavlin,pass22,snowie,hookah,7ofnine,bubba22,cabible,nicerack,moomoo1,summer98,yoyo123,milan1,lieve27,mustang69,jackster,exocet,nadege,qaz12,bahama,watson1,libras,eclipse2,bahram,bapezm,up9x8rww,ghjcnjz,themaste,deflep27,ghost16,gattaca,fotograf,junior123,gilber,gbjyth,8vjzus,rosco1,begonia,aldebara,flower12,novastar,buzzman,manchild,lopez1,mama11,william7,yfcnz1,blackstar,spurs123,moom4242,1amber,iownyou,tightend,07931505,paquito,1johnson,smokepot,pi31415,snowmass,ayacdc,jessicam,giuliana,5tgbnhy6,harlee,giuli,bigwig,tentacle,scoubidou2,benelli,vasilina,nimda,284655,jaihind,lero4ka,1tommy,reggi,ididit,jlbyjxtcndj,mike26,qbert,wweraw,lukasz,loosee123,palantir,flint1,mapper,baldie,saturne,virgin1,meeeee,elkcit,iloveme2,blue15,themoon,radmir,number3,shyanne,missle,hannelor,jasmina,karin1,lewie622,ghjcnjqgfhjkm,blasters,oiseau,sheela,grinders,panget,rapido,positiv,twink,fltkbyf,kzsfj874,daniel01,enjoyit,nofags,doodad,rustler,squealer,fortunat,peace123,khushi,devils2,7inches,candlebo,topdawg,armen,soundman,zxcqweasd,april7,gazeta,netman,hoppers,bear99,ghbjhbntn,mantle7,bigbo,harpo,jgordon,bullshi,vinny1,krishn,star22,thunderc,galinka,phish123,tintable,nightcrawler,tigerboy,rbhgbx,messi,basilisk,masha1998,nina123,yomamma,kayla123,geemoney,0000000000d,motoman,a3jtni,ser123,owen10,italien,vintelok,12345rewq,nightime,jeepin,ch1tt1ck,mxyzptlk,bandido,ohboy,doctorj,hussar,superted,parfilev,grundle,1jack,livestrong,chrisj,matthew3,access22,moikka,fatone,miguelit,trivium,glenn1,smooches,heiko,dezember,spaghett,stason,molokai,bossdog,guitarma,waderh,boriska,photosho,path13,hfrtnf,audre,junior24,monkey24,silke,vaz21093,bigblue1,trident1,candide,arcanum,klinker,orange99,bengals1,rosebu,mjujuj,nallepuh,mtwapa1a,ranger69,level1,bissjop,leica,1tiffany,rutabega,elvis77,kellie1,sameas,barada,karabas,frank12,queenb,toutoune,surfcity,samanth1,monitor1,littledo,kazakova,fodase,mistral1,april22,carlit,shakal,batman123,fuckoff2,alpha01,5544332211,buddy3,towtruck,kenwood1,vfiekmrf,jkl123,pypsik,ranger75,sitges,toyman,bartek1,ladygirl,booman,boeing77,installsqlst,222666,gosling,bigmack,223311,bogos,kevin2,gomez1,xohzi3g4,kfnju842,klubnika,cubalibr,123456789101,kenpo,0147852369,raptor1,tallulah,boobys,jjones,1q2s3c,moogie,vid2600,almas,wombat1,extra300,xfiles1,green77,sexsex1,heyjude,sammyy,missy123,maiyeuem,nccpl25282,thicluv,sissie,raven3,fldjrfn,buster22,broncos2,laurab,letmein4,harrydog,solovey,fishlips,asdf4321,ford123,superjet,norwegen,movieman,psw333333,intoit,postbank,deepwate,ola123,geolog323,murphys,eshort,a3eilm2s2y,kimota,belous,saurus,123321qaz,i81b4u,aaa12,monkey20,buckwild,byabybnb,mapleleafs,yfcnzyfcnz,baby69,summer03,twista,246890,246824,ltcnhjth,z1z2z3,monika1,sad123,uto29321,bathory,villan,funkey,poptarts,spam967888,705499fh,sebast,porn1234,earn381,1porsche,whatthef,123456789y,polo12,brillo,soreilly,waters1,eudora,allochka,is_a_bot,winter00,bassplay,531879fiz,onemore,bjarne,red911,kot123,artur1,qazxdr,c0rvette,diamond7,matematica,klesko,beaver12,2enter,seashell,panam,chaching,edward2,browni,xenogear,cornfed,aniram,chicco22,darwin1,ancella2,sophie2,vika1998,anneli,shawn41,babie,resolute,pandora2,william8,twoone,coors1,jesusis1,teh012,cheerlea,renfield,tessa1,anna1986,madness1,bkmlfh,19719870,liebherr,ck6znp42,gary123,123654z,alsscan,eyedoc,matrix7,metalgea,chinito,4iter,falcon11,7jokx7b9du,bigfeet,tassadar,retnuh,muscle1,klimova,darion,batistuta,bigsur,1herbier,noonie,ghjrehjh,karimova,faustus,snowwhite,1manager,dasboot,michael12,analfuck,inbed,dwdrums,jaysoncj,maranell,bsheep75,164379,rolodex,166666,rrrrrrr1,almaz666,167943,russel1,negrito,alianz,goodpussy,veronik,1w2q3r4e,efremov,emb377,sdpass,william6,alanfahy,nastya1995,panther5,automag,123qwe12,vfvf2011,fishe,1peanut,speedie,qazwsx1234,pass999,171204j,ketamine,sheena1,energizer,usethis1,123abc123,buster21,thechamp,flvbhfk,frank69,chane,hopeful1,claybird,pander,anusha,bigmaxxx,faktor,housebed,dimidrol,bigball,shashi,derby1,fredy,dervish,bootycall,80988218126,killerb,cheese2,pariss,mymail,dell123,catbert,christa1,chevytru,gjgjdf,00998877,overdriv,ratten,golf01,nyyanks,dinamite,bloembol,gismo,magnus1,march2,twinkles,ryan22,duckey,118a105b,kitcat,brielle,poussin,lanzarot,youngone,ssvegeta,hero63,battle1,kiler,fktrcfylh1,newera,vika1996,dynomite,oooppp,beer4me,foodie,ljhjuf,sonshine,godess,doug1,constanc,thinkbig,steve2,damnyou,autogod,www333,kyle1,ranger7,roller1,harry2,dustin1,hopalong,tkachuk,b00bies,bill2,deep111,stuffit,fire69,redfish1,andrei123,graphix,1fishing,kimbo1,mlesp31,ifufkbyf,gurkan,44556,emily123,busman,and123,8546404,paladine,1world,bulgakov,4294967296,bball23,1wwwww,mycats,elain,delta6,36363,emilyb,color1,6060842,cdtnkfyrf,hedonism,gfgfrfhkj,5551298,scubad,gostate,sillyme,hdbiker,beardown,fishers,sektor,00000007,newbaby,rapid1,braves95,gator2,nigge,anthony3,sammmy,oou812,heffer,phishin,roxanne1,yourass,hornet1,albator,2521659,underwat,tanusha,dianas,3f3fpht7op,dragon20,bilbobag,cheroke,radiatio,dwarf1,majik,33st33,dochka,garibald,robinh,sham69,temp01,wakeboar,violet1,1w2w3w,registr,tonite,maranello,1593570,parolamea,galatasara,loranthos,1472583,asmodean,1362840,scylla,doneit,jokerr,porkypig,kungen,mercator,koolhaas,come2me,debbie69,calbear,liverpoolfc,yankees4,12344321a,kennyb,madma,85200258,dustin23,thomas13,tooling,mikasa,mistic,crfnbyf,112233445,sofia1,heinz57,colts1,price1,snowey,joakim,mark11,963147,cnhfcnm,kzinti,1bbbbbbb,rubberdu,donthate,rupert1,sasha1992,regis1,nbuhbwf,fanboy,sundial,sooner1,wayout,vjnjhjkf,deskpro,arkangel,willie12,mikeyb,celtic1888,luis1,buddy01,duane1,grandma1,aolcom,weeman,172839456,basshead,hornball,magnu,pagedown,molly2,131517,rfvtgbyhn,astonmar,mistery,madalina,cash1,1happy,shenlong,matrix01,nazarova,369874125,800500,webguy,rse2540,ashley2,briank,789551,786110,chunli,j0nathan,greshnik,courtne,suckmyco,mjollnir,789632147,asdfg1234,754321,odelay,ranma12,zebedee,artem777,bmw318is,butt1,rambler1,yankees9,alabam,5w76rnqp,rosies,mafioso,studio1,babyruth,tranzit,magical123,gfhjkm135,12345$,soboleva,709394,ubique,drizzt1,elmers,teamster,pokemons,1472583690,1597532486,shockers,merckx,melanie2,ttocs,clarisse,earth1,dennys,slobber,flagman,farfalla,troika,4fa82hyx,hakan,x4ww5qdr,cumsuck,leather1,forum1,july20,barbel,zodiak,samuel12,ford01,rushfan,bugsy1,invest1,tumadre,screwme,a666666,money5,henry8,tiddles,sailaway,starburs,100years,killer01,comando,hiromi,ranetka,thordog,blackhole,palmeira,verboten,solidsna,q1w1e1,humme,kevinc,gbrfxe,gevaudan,hannah11,peter2,vangar,sharky7,talktome,jesse123,chuchi,pammy,!qazxsw2,siesta,twenty1,wetwilly,477041,natural1,sun123,daniel3,intersta,shithead1,hellyea,bonethugs,solitair,bubbles2,father1,nick01,444000,adidas12,dripik,cameron2,442200,a7nz8546,respublika,fkojn6gb,428054,snoppy,rulez1,haslo,rachael1,purple01,zldej102,ab12cd34,cytuehjxrf,madhu,astroman,preteen,handsoff,mrblonde,biggio,testin,vfdhif,twolves,unclesam,asmara,kpydskcw,lg2wmgvr,grolsch,biarritz,feather1,williamm,s62i93,bone1,penske,337733,336633,taurus1,334433,billet,diamondd,333000,nukem,fishhook,godogs,thehun,lena1982,blue00,smelly1,unb4g9ty,65pjv22,applegat,mikehunt,giancarlo,krillin,felix123,december1,soapy,46doris,nicole23,bigsexy1,justin10,pingu,bambou,falcon12,dgthtl,1surfer,qwerty01,estrellit,nfqcjy,easygo,konica,qazqwe,1234567890m,stingers,nonrev,3e4r5t,champio,bbbbbb99,196400,allen123,seppel,simba2,rockme,zebra3,tekken3,endgame,sandy2,197300,fitte,monkey00,eldritch,littleone,rfyfgkz,1member,66chevy,oohrah,cormac,hpmrbm41,197600,grayfox,elvis69,celebrit,maxwell7,rodders,krist,1camaro,broken1,kendall1,silkcut,katenka,angrick,maruni,17071994a,tktyf,kruemel,snuffles,iro4ka,baby12,alexis01,marryme,vlad1994,forward1,culero,badaboom,malvin,hardtoon,hatelove,molley,knopo4ka,duchess1,mensuck,cba321,kickbutt,zastava,wayner,fuckyou6,eddie123,cjkysir,john33,dragonfi,cody1,jabell,cjhjrf,badseed,sweden1,marihuana,brownlov,elland,nike1234,kwiettie,jonnyboy,togepi,billyk,robert123,bb334,florenci,ssgoku,198910,bristol1,bob007,allister,yjdujhjl,gauloise,198920,bellaboo,9lives,aguilas,wltfg4ta,foxyroxy,rocket69,fifty50,babalu,master21,malinois,kaluga,gogosox,obsessio,yeahrigh,panthers1,capstan,liza2000,leigh1,paintball1,blueskie,cbr600f3,bagdad,jose98,mandreki,shark01,wonderbo,muledeer,xsvnd4b2,hangten,200001,grenden,anaell,apa195,model1,245lufpq,zip100,ghjcgtrn,wert1234,misty2,charro,juanjose,fkbcrf,frostbit,badminto,buddyy,1doctor,vanya,archibal,parviz,spunky1,footboy,dm6tzsgp,legola,samadhi,poopee,ytdxz2ca,hallowboy,dposton,gautie,theworm,guilherme,dopehead,iluvtits,bobbob1,ranger6,worldwar,lowkey,chewbaca,oooooo99,ducttape,dedalus,celular,8i9o0p,borisenko,taylor01,111111z,arlingto,p3nnywiz,rdgpl3ds,boobless,kcmfwesg,blacksab,mother2,markus1,leachim,secret2,s123456789,1derful,espero,russell2,tazzer,marykate,freakme,mollyb,lindros8,james00,gofaster,stokrotka,kilbosik,aquamann,pawel1,shedevil,mousie,slot2009,october6,146969,mm259up,brewcrew,choucho,uliana,sexfiend,fktirf,pantss,vladimi,starz,sheeps,12341234q,bigun,tiggers,crjhjcnm,libtech,pudge1,home12,zircon,klaus1,jerry2,pink1,lingus,monkey66,dumass,polopolo09,feuerweh,rjyatnf,chessy,beefer,shamen,poohbear1,4jjcho,bennevis,fatgirls,ujnbrf,cdexswzaq,9noize9,rich123,nomoney,racecar1,hacke,clahay,acuario,getsum,hondacrv,william0,cheyenn,techdeck,atljhjdf,wtcacq,suger,fallenangel,bammer,tranquil,carla123,relayer,lespaul1,portvale,idontno,bycnbnen,trooper2,gennadiy,pompon,billbob,amazonka,akitas,chinatow,atkbrc,busters,fitness1,cateye,selfok2013,1murphy,fullhous,mucker,bajskorv,nectarin,littlebitch,love24,feyenoor,bigal37,lambo1,pussybitch,icecube1,biged,kyocera,ltybcjdf,boodle,theking1,gotrice,sunset1,abm1224,fromme,sexsells,inheat,kenya1,swinger1,aphrodit,kurtcobain,rhind101,poidog,poiulkjh,kuzmina,beantown,tony88,stuttgar,drumer,joaqui,messenge,motorman,amber2,nicegirl,rachel69,andreia,faith123,studmuffin,jaiden,red111,vtkmybr,gamecocks,gumper,bosshogg,4me2know,tokyo1,kleaner,roadhog,fuckmeno,phoenix3,seeme,buttnutt,boner69,andreyka,myheart,katerin,rugburn,jvtuepip,dc3ubn,chile1,ashley69,happy99,swissair,balls2,fylhttdf,jimboo,55555d,mickey11,voronin,m7hsqstm,stufff,merete,weihnachte,dowjones,baloo1,freeones,bears34,auburn1,beverl,timberland,1elvis,guinness1,bombadil,flatron1,logging7,telefoon,merl1n,masha1,andrei1,cowabung,yousuck1,1matrix,peopl,asd123qwe,sweett,mirror1,torrente,joker12,diamond6,jackaroo,00000a,millerlite,ironhorse,2twins,stryke,gggg1,zzzxxxccc,roosevel,8363eddy,angel21,depeche1,d0ct0r,blue14,areyou,veloce,grendal,frederiksberg,cbcntvf,cb207sl,sasha2000,was.here,fritzz,rosedale,spinoza,cokeisit,gandalf3,skidmark,ashley01,12345j,1234567890qaz,sexxxxxx,beagles,lennart,12345789,pass10,politic,max007,gcheckou,12345611,tiffy,lightman,mushin,velosiped,brucewayne,gauthie,elena123,greenegg,h2oski,clocker,nitemare,123321s,megiddo,cassidy1,david13,boywonde,flori,peggy12,pgszt6md,batterie,redlands,scooter6,bckhere,trueno,bailey11,maxwell2,bandana,timoth1,startnow,ducati74,tiern,maxine1,blackmetal,suzyq,balla007,phatfarm,kirsten1,titmouse,benhogan,culito,forbin,chess1,warren1,panman,mickey7,24lover,dascha,speed2,redlion,andrew10,johnwayn,nike23,chacha1,bendog,bullyboy,goldtree,spookie,tigger99,1cookie,poutine,cyclone1,woodpony,camaleun,bluesky1,dfadan,eagles20,lovergirl,peepshow,mine1,dima1989,rjdfkmxer,11111aaaaa,machina,august17,1hhhhh,0773417k,1monster,freaksho,jazzmin,davidw,kurupt,chumly,huggies,sashenka,ccccccc1,bridge1,giggalo,cincinna,pistol1,hello22,david77,lightfoo,lucky6,jimmy12,261397,lisa12,tabaluga,mysite,belo4ka,greenn,eagle99,punkrawk,salvado,slick123,wichsen,knight99,dummys,fefolico,contrera,kalle1,anna1984,delray,robert99,garena,pretende,racefan,alons,serenada,ludmilla,cnhtkjr,l0swf9gx,hankster,dfktynbyrf,sheep1,john23,cv141ab,kalyani,944turbo,crystal2,blackfly,zrjdktdf,eus1sue1,mario5,riverplate,harddriv,melissa3,elliott1,sexybitc,cnhfyybr,jimdavis,bollix,beta1,amberlee,skywalk1,natala,1blood,brattax,shitty1,gb15kv99,ronjon,rothmans,thedoc,joey21,hotboi,firedawg,bimbo38,jibber,aftermat,nomar,01478963,phishing,domodo,anna13,materia,martha1,budman1,gunblade,exclusiv,sasha1997,anastas,rebecca2,fackyou,kallisti,fuckmyass,norseman,ipswich1,151500,1edward,intelinside,darcy1,bcrich,yjdjcnbf,failte,buzzzz,cream1,tatiana1,7eleven,green8,153351,1a2s3d4f5g6h,154263,milano1,bambi1,bruins77,rugby2,jamal1,bolita,sundaypunch,bubba12,realmadr,vfyxtcnth,iwojima,notlob,black666,valkiria,nexus1,millerti,birthday100,swiss1,appollo,gefest,greeneyes,celebrat,tigerr,slava123,izumrud,bubbabub,legoman,joesmith,katya123,sweetdream,john44,wwwwwww1,oooooo1,socal,lovespor,s5r8ed67s,258147,heidis,cowboy22,wachovia,michaelb,qwe1234567,i12345,255225,goldie1,alfa155,45colt,safeu851,antonova,longtong,1sparky,gfvznm,busen,hjlbjy,whateva,rocky4,cokeman,joshua3,kekskek1,sirocco,jagman,123456qwert,phinupi,thomas10,loller,sakur,vika2011,fullred,mariska,azucar,ncstate,glenn74,halima,aleshka,ilovemylife,verlaat,baggie,scoubidou6,phatboy,jbruton,scoop1,barney11,blindman,def456,maximus2,master55,nestea,11223355,diego123,sexpistols,sniffy,philip1,f12345,prisonbreak,nokia2700,ajnjuhfa,yankees3,colfax,ak470000,mtnman,bdfyeirf,fotball,ichbin,trebla,ilusha,riobravo,beaner1,thoradin,polkaudi,kurosawa,honda123,ladybu,valerik,poltava,saviola,fuckyouguys,754740g0,anallove,microlab1,juris01,ncc1864,garfild,shania1,qagsud,makarenko,cindy69,lebedev,andrew11,johnnybo,groovy1,booster1,sanders1,tommyb,johnson4,kd189nlcih,hondaman,vlasova,chick1,sokada,sevisgur,bear2327,chacho,sexmania,roma1993,hjcnbckfd,valley1,howdie,tuppence,jimandanne,strike3,y4kuz4,nhfnfnf,tsubasa,19955991,scabby,quincunx,dima1998,uuuuuu1,logica,skinner1,pinguino,lisa1234,xpressmusic,getfucked,qqqq1,bbbb1,matulino,ulyana,upsman,johnsmith,123579,co2000,spanner1,todiefor,mangoes,isabel1,123852,negra,snowdon,nikki123,bronx1,booom,ram2500,chuck123,fireboy,creek1,batman13,princesse,az12345,maksat,1knight,28infern,241455,r7112s,muselman,mets1986,katydid,vlad777,playme,kmfdm1,asssex,1prince,iop890,bigbroth,mollymoo,waitron,lizottes,125412,juggler,quinta,0sister0,zanardi,nata123,heckfyxbr,22q04w90e,engine2,nikita95,zamira,hammer22,lutscher,carolina1,zz6319,sanman,vfuflfy,buster99,rossco,kourniko,aggarwal,tattoo1,janice1,finger1,125521,19911992,shdwlnds,rudenko,vfvfgfgf123,galatea,monkeybu,juhani,premiumcash,classact,devilmay,helpme2,knuddel,hardpack,ramil,perrit,basil1,zombie13,stockcar,tos8217,honeypie,nowayman,alphadog,melon1,talula,125689,tiribon12,tornike,haribol,telefone,tiger22,sucka,lfytxrf,chicken123,muggins,a23456,b1234567,lytdybr,otter1,pippa,vasilisk,cooking1,helter,78978,bestboy,viper7,ahmed1,whitewol,mommys,apple5,shazam1,chelsea7,kumiko,masterma,rallye,bushmast,jkz123,entrar,andrew6,nathan01,alaric,tavasz,heimdall,gravy1,jimmy99,cthlwt,powerr,gthtrhtcnjr,canesfan,sasha11,ybrbnf_25,august9,brucie,artichok,arnie1,superdude,tarelka,mickey22,dooper,luners,holeshot,good123,gettysbu,bicho,hammer99,divine5,1zxcvbn,stronzo,q22222,disne,bmw750il,godhead,hallodu,aerith,nastik,differen,cestmoi,amber69,5string,pornosta,dirtygirl,ginger123,formel1,scott12,honda200,hotspurs,johnatha,firstone123,lexmark1,msconfig,karlmasc,l123456,123qweasdzx,baldman,sungod,furka,retsub,9811020,ryder1,tcglyued,astron,lbvfcbr,minddoc,dirt49,baseball12,tbear,simpl,schuey,artimus,bikman,plat1num,quantex,gotyou,hailey1,justin01,ellada,8481068,000002,manimal,dthjybxrf,buck123,dick123,6969696,nospam,strong1,kodeord,bama12,123321w,superman123,gladiolus,nintend,5792076,dreamgirl,spankme1,gautam,arianna1,titti,tetas,cool1234,belladog,importan,4206969,87e5nclizry,teufelo7,doller,yfl.irf,quaresma,3440172,melis,bradle,nnmaster,fast1,iverso,blargh,lucas12,chrisg,iamsam,123321az,tomjerry,kawika,2597174,standrew,billyg,muskan,gizmodo2,rz93qpmq,870621345,sathya,qmezrxg4,januari,marthe,moom4261,cum2me,hkger286,lou1988,suckit1,croaker,klaudia1,753951456,aidan1,fsunoles,romanenko,abbydog,isthebes,akshay,corgi,fuck666,walkman555,ranger98,scorpian,hardwareid,bluedragon,fastman,2305822q,iddqdiddqd,1597532,gopokes,zvfrfcb,w1234567,sputnik1,tr1993,pa$$w0rd,2i5fdruv,havvoc,1357913,1313131,bnm123,cowd00d,flexscan,thesims2,boogiema,bigsexxy,powerstr,ngc4565,joshman,babyboy1,123jlb,funfunfu,qwe456,honor1,puttana,bobbyj,daniel21,pussy12,shmuck,1232580,123578951,maxthedo,hithere1,bond0007,gehenna,nomames,blueone,r1234567,bwana,gatinho,1011111,torrents,cinta,123451234,tiger25,money69,edibey,pointman,mmcm19,wales1,caffreys,phaedra,bloodlus,321ret32,rufuss,tarbit,joanna1,102030405,stickboy,lotrfotr34,jamshid,mclarenf1,ataman,99ford,yarrak,logan2,ironlung,pushistik,dragoon1,unclebob,tigereye,pinokio,tylerj,mermaid1,stevie1,jaylen,888777,ramana,roman777,brandon7,17711771s,thiago,luigi1,edgar1,brucey,videogam,classi,birder,faramir,twiddle,cubalibre,grizzy,fucky,jjvwd4,august15,idinahui,ranita,nikita1998,123342,w1w2w3,78621323,4cancel,789963,(null,vassago,jaydog472,123452,timt42,canada99,123589,rebenok,htyfnf,785001,osipov,maks123,neverwinter,love2010,777222,67390436,eleanor1,bykemo,aquemini,frogg,roboto,thorny,shipmate,logcabin,66005918,nokian,gonzos,louisian,1abcdefg,triathlo,ilovemar,couger,letmeino,supera,runvs,fibonacci,muttly,58565254,5thgbqi,vfnehsv,electr,jose12,artemis1,newlove,thd1shr,hawkey,grigoryan,saisha,tosca,redder,lifesux,temple1,bunnyman,thekids,sabbeth,tarzan1,182838,158uefas,dell50,1super,666222,47ds8x,jackhamm,mineonly,rfnfhbyf,048ro,665259,kristina1,bombero,52545856,secure1,bigloser,peterk,alex2,51525354,anarchy1,superx,teenslut,money23,sigmapi,sanfrancisco,acme34,private5,eclips,qwerttrewq,axelle,kokain,hardguy,peter69,jesuschr,dyanna,dude69,sarah69,toyota91,amberr,45645645,bugmenot,bigted,44556677,556644,wwr8x9pu,alphaome,harley13,kolia123,wejrpfpu,revelati,nairda,sodoff,cityboy,pinkpussy,dkalis,miami305,wow12345,triplet,tannenbau,asdfasdf1,darkhors,527952,retired1,soxfan,nfyz123,37583867,goddes,515069,gxlmxbewym,1warrior,36925814,dmb2011,topten,karpova,89876065093rax,naturals,gateway9,cepseoun,turbot,493949,cock22,italia1,sasafras,gopnik,stalke,1qazxdr5,wm2006,ace1062,alieva,blue28,aracel,sandia,motoguzz,terri1,emmajane,conej,recoba,alex1995,jerkyboy,cowboy12,arenrone,precisio,31415927,scsa316,panzer1,studly1,powerhou,bensam,mashoutq,billee,eeyore1,reape,thebeatl,rul3z,montesa,doodle1,cvzefh1gk,424365,a159753,zimmerma,gumdrop,ashaman,grimreap,icandoit,borodina,branca,dima2009,keywest1,vaders,bubluk,diavolo,assss,goleta,eatass,napster1,382436,369741,5411pimo,lenchik,pikach,gilgamesh,kalimera,singer1,gordon2,rjycnbnewbz,maulwurf,joker13,2much4u,bond00,alice123,robotec,fuckgirl,zgjybz,redhorse,margaret1,brady1,pumpkin2,chinky,fourplay,1booger,roisin,1brandon,sandan,blackheart,cheez,blackfin,cntgfyjdf,mymoney1,09080706,goodboss,sebring1,rose1,kensingt,bigboner,marcus12,ym3cautj,struppi,thestone,lovebugs,stater,silver99,forest99,qazwsx12345,vasile,longboar,mkonji,huligan,rhfcbdfz,airmail,porn11,1ooooo,sofun,snake2,msouthwa,dougla,1iceman,shahrukh,sharona,dragon666,france98,196800,196820,ps253535,zjses9evpa,sniper01,design1,konfeta,jack99,drum66,good4you,station2,brucew,regedit,school12,mvtnr765,pub113,fantas,tiburon1,king99,ghjcnjgbpltw,checkito,308win,1ladybug,corneliu,svetasveta,197430,icicle,imaccess,ou81269,jjjdsl,brandon6,bimbo1,smokee,piccolo1,3611jcmg,children2,cookie2,conor1,darth1,margera,aoi856,paully,ou812345,sklave,eklhigcz,30624700,amazing1,wahooo,seau55,1beer,apples2,chulo,dolphin9,heather6,198206,198207,hergood,miracle1,njhyflj,4real,milka,silverfi,fabfive,spring12,ermine,mammy,jumpjet,adilbek,toscana,caustic,hotlove,sammy69,lolita1,byoung,whipme,barney01,mistys,tree1,buster3,kaylin,gfccgjhn,132333,aishiteru,pangaea,fathead1,smurph,198701,ryslan,gasto,xexeylhf,anisimov,chevyss,saskatoo,brandy12,tweaker,irish123,music2,denny1,palpatin,outlaw1,lovesuck,woman1,mrpibb,diadora,hfnfneq,poulette,harlock,mclaren1,cooper12,newpass3,bobby12,rfgecnfcerf,alskdjfh,mini14,dukers,raffael,199103,cleo123,1234567qwertyu,mossberg,scoopy,dctulf,starline,hjvjxrf,misfits1,rangers2,bilbos,blackhea,pappnase,atwork,purple2,daywalker,summoner,1jjjjjjj,swansong,chris10,laluna,12345qqq,charly1,lionsden,money99,silver33,hoghead,bdaddy,199430,saisg002,nosaints,tirpitz,1gggggg,jason13,kingss,ernest1,0cdh0v99ue,pkunzip,arowana,spiri,deskjet1,armine,lances,magic2,thetaxi,14159265,cacique,14142135,orange10,richard0,backdraf,255ooo,humtum,kohsamui,c43dae874d,wrestling1,cbhtym,sorento,megha,pepsiman,qweqwe12,bliss7,mario64,korolev,balls123,schlange,gordit,optiquest,fatdick,fish99,richy,nottoday,dianne1,armyof1,1234qwerasdfzxcv,bbonds,aekara,lidiya,baddog1,yellow5,funkie,ryan01,greentree,gcheckout,marshal1,liliput,000000z,rfhbyrf,gtogto43,rumpole,tarado,marcelit,aqwzsxedc,kenshin1,sassydog,system12,belly1,zilla,kissfan,tools1,desember,donsdad,nick11,scorpio6,poopoo1,toto99,steph123,dogfuck,rocket21,thx113,dude12,sanek,sommar,smacky,pimpsta,letmego,k1200rs,lytghjgtnhjdcr,abigale,buddog,deles,baseball9,roofus,carlsbad,hamzah,hereiam,genial,schoolgirlie,yfz450,breads,piesek,washear,chimay,apocalyp,nicole18,gfgf1234,gobulls,dnevnik,wonderwall,beer1234,1moose,beer69,maryann1,adpass,mike34,birdcage,hottuna,gigant,penquin,praveen,donna123,123lol123,thesame,fregat,adidas11,selrahc,pandoras,test3,chasmo,111222333000,pecos,daniel11,ingersol,shana1,mama12345,cessna15,myhero,1simpson,nazarenko,cognit,seattle2,irina1,azfpc310,rfycthdf,hardy1,jazmyn,sl1200,hotlanta,jason22,kumar123,sujatha,fsd9shtyu,highjump,changer,entertai,kolding,mrbig,sayuri,eagle21,qwertzu,jorge1,0101dd,bigdong,ou812a,sinatra1,htcnjhfy,oleg123,videoman,pbyfblf,tv612se,bigbird1,kenaidog,gunite,silverma,ardmore,123123qq,hotbot,cascada,cbr600f4,harakiri,chico123,boscos,aaron12,glasgow1,kmn5hc,lanfear,1light,liveoak,fizika,ybrjkftdyf,surfside,intermilan,multipas,redcard,72chevy,balata,coolio1,schroede,kanat,testerer,camion,kierra,hejmeddig,antonio2,tornados,isidor,pinkey,n8skfswa,ginny1,houndog,1bill,chris25,hastur,1marine,greatdan,french1,hatman,123qqq,z1z2z3z4,kicker1,katiedog,usopen,smith22,mrmagoo,1234512i,assa123,7seven7,monster7,june12,bpvtyf,149521,guenter,alex1985,voronina,mbkugegs,zaqwsxcderfv,rusty5,mystic1,master0,abcdef12,jndfkb,r4zpm3,cheesey,skripka,blackwhite,sharon69,dro8smwq,lektor,techman,boognish,deidara,heckfyf,quietkey,authcode,monkey4,jayboy,pinkerto,merengue,chulita,bushwick,turambar,kittykit,joseph2,dad123,kristo,pepote,scheiss,hambone1,bigballa,restaura,tequil,111luzer,euro2000,motox,denhaag,chelsi,flaco1,preeti,lillo,1001sin,passw,august24,beatoff,555555d,willis1,kissthis,qwertyz,rvgmw2gl,iloveboobies,timati,kimbo,msinfo,dewdrop,sdbaker,fcc5nky2,messiah1,catboy,small1,chode,beastie1,star77,hvidovre,short1,xavie,dagobah,alex1987,papageno,dakota2,toonami,fuerte,jesus33,lawina,souppp,dirtybir,chrish,naturist,channel1,peyote,flibble,gutentag,lactate,killem,zucchero,robinho,ditka,grumpy1,avr7000,boxxer,topcop,berry1,mypass1,beverly1,deuce1,9638527410,cthuttdf,kzkmrf,lovethem,band1t,cantona1,purple11,apples123,wonderwo,123a456,fuzzie,lucky99,dancer2,hoddling,rockcity,winner12,spooty,mansfiel,aimee1,287hf71h,rudiger,culebra,god123,agent86,daniel0,bunky1,notmine,9ball,goofus,puffy1,xyh28af4,kulikov,bankshot,vurdf5i2,kevinm,ercole,sexygirls,razvan,october7,goater,lollie,raissa,thefrog,mdmaiwa3,mascha,jesussaves,union1,anthony9,crossroa,brother2,areyuke,rodman91,toonsex,dopeman,gericom,vaz2115,cockgobbler,12356789,12345699,signatur,alexandra1,coolwhip,erwin1,awdrgyjilp,pens66,ghjrjgtyrj,linkinpark,emergenc,psych0,blood666,bootmort,wetworks,piroca,johnd,iamthe1,supermario,homer69,flameon,image1,bebert,fylhtq1,annapoli,apple11,hockey22,10048,indahouse,mykiss,1penguin,markp,misha123,foghat,march11,hank1,santorin,defcon4,tampico,vbnhjafy,robert22,bunkie,athlon64,sex777,nextdoor,koskesh,lolnoob,seemnemaailm,black23,march15,yeehaa,chiqui,teagan,siegheil,monday2,cornhusk,mamusia,chilis,sthgrtst,feldspar,scottm,pugdog,rfghjy,micmac,gtnhjdyf,terminato,1jackson,kakosja,bogomol,123321aa,rkbvtyrj,tresor,tigertig,fuckitall,vbkkbjy,caramon,zxc12,balin,dildo1,soccer09,avata,abby123,cheetah1,marquise,jennyc,hondavfr,tinti,anna1985,dennis2,jorel,mayflowe,icema,hal2000,nikkis,bigmouth,greenery,nurjan,leonov,liberty7,fafnir,larionov,sat321321,byteme1,nausicaa,hjvfynbrf,everto,zebra123,sergio1,titone,wisdom1,kahala,104328q,marcin1,salima,pcitra,1nnnnn,nalini,galvesto,neeraj,rick1,squeeky,agnes1,jitterbu,agshar,maria12,0112358,traxxas,stivone,prophet1,bananza,sommer1,canoneos,hotfun,redsox11,1bigmac,dctdjkjl,legion1,everclea,valenok,black9,danny001,roxie1,1theman,mudslide,july16,lechef,chula,glamis,emilka,canbeef,ioanna,cactus1,rockshox,im2cool,ninja9,thvfrjdf,june28,milo17,missyou,micky1,nbibyf,nokiaa,goldi,mattias,fuckthem,asdzxc123,ironfist,junior01,nesta,crazzy,killswit,hygge,zantac,kazama,melvin1,allston,maandag,hiccup,prototyp,specboot,dwl610,hello6,159456,baldhead,redwhite,calpoly,whitetail,agile1,cousteau,matt01,aust1n,malcolmx,gjlfhjr,semperf1,ferarri,a1b2c3d,vangelis,mkvdari,bettis36,andzia,comand,tazzman,morgaine,pepluv,anna1990,inandout,anetka,anna1997,wallpape,moonrake,huntress,hogtie,cameron7,sammy7,singe11,clownboy,newzeala,wilmar,safrane,rebeld,poopi,granat,hammertime,nermin,11251422,xyzzy1,bogeys,jkmxbr,fktrcfyl,11223311,nfyrbcn,11223300,powerpla,zoedog,ybrbnbyf,zaphod42,tarawa,jxfhjdfirf,dude1234,g5wks9,goobe,czekolada,blackros,amaranth,medical1,thereds,julija,nhecsyfujkjdt,promopas,buddy4,marmalad,weihnachten,tronic,letici,passthief,67mustan,ds7zamnw,morri,w8woord,cheops,pinarell,sonofsam,av473dv,sf161pn,5c92v5h6,purple13,tango123,plant1,1baby,xufrgemw,fitta,1rangers,spawns,kenned,taratata,19944991,11111118,coronas,4ebouux8,roadrash,corvette1,dfyjdf846,marley12,qwaszxerdfcv,68stang,67stang,racin,ellehcim,sofiko,nicetry,seabass1,jazzman1,zaqwsx1,laz2937,uuuuuuu1,vlad123,rafale,j1234567,223366,nnnnnn1,226622,junkfood,asilas,cer980,daddymac,persepho,neelam,00700,shithappens,255555,qwertyy,xbox36,19755791,qweasd1,bearcub,jerryb,a1b1c1,polkaudio,basketball1,456rty,1loveyou,marcus2,mama1961,palace1,transcend,shuriken,sudhakar,teenlove,anabelle,matrix99,pogoda,notme,bartend,jordana,nihaoma,ataris,littlegi,ferraris,redarmy,giallo,fastdraw,accountbloc,peludo,pornostar,pinoyako,cindee,glassjaw,dameon,johnnyd,finnland,saudade,losbravo,slonko,toplay,smalltit,nicksfun,stockhol,penpal,caraj,divedeep,cannibus,poppydog,pass88,viktory,walhalla,arisia,lucozade,goldenbo,tigers11,caball,ownage123,tonna,handy1,johny,capital5,faith2,stillher,brandan,pooky1,antananarivu,hotdick,1justin,lacrimos,goathead,bobrik,cgtwbfkbcn,maywood,kamilek,gbplf123,gulnar,beanhead,vfvjyn,shash,viper69,ttttttt1,hondacr,kanako,muffer,dukies,justin123,agapov58,mushka,bad11bad,muleman,jojo123,andreika,makeit,vanill,boomers,bigals,merlin11,quacker,aurelien,spartak1922,ligeti,diana2,lawnmowe,fortune1,awesom,rockyy,anna1994,oinker,love88,eastbay,ab55484,poker0,ozzy666,papasmurf,antihero,photogra,ktm250,painkill,jegr2d2,p3orion,canman,dextur,qwest123,samboy,yomismo,sierra01,herber,vfrcbvvfrcbv,gloria1,llama1,pie123,bobbyjoe,buzzkill,skidrow,grabber,phili,javier1,9379992q,geroin,oleg1994,sovereig,rollover,zaq12qaz,battery1,killer13,alina123,groucho1,mario12,peter22,butterbean,elise1,lucycat,neo123,ferdi,golfer01,randie,gfhfyjbr,ventura1,chelsea3,pinoy,mtgox,yrrim7,shoeman,mirko,ffggyyo,65mustan,ufdibyjd,john55,suckfuck,greatgoo,fvfnjhb,mmmnnn,love20,1bullshi,sucesso,easy1234,robin123,rockets1,diamondb,wolfee,nothing0,joker777,glasnost,richar1,guille,sayan,koresh,goshawk,alexx,batman21,a123456b,hball,243122,rockandr,coolfool,isaia,mary1,yjdbrjdf,lolopc,cleocat,cimbo,lovehina,8vfhnf,passking,bonapart,diamond2,bigboys,kreator,ctvtyjdf,sassy123,shellac,table54781,nedkelly,philbert,sux2bu,nomis,sparky99,python1,littlebear,numpty,silmaril,sweeet,jamesw,cbufhtnf,peggysue,wodahs,luvsex,wizardry,venom123,love4you,bama1,samat,reviewpass,ned467,cjkjdtq,mamula,gijoe,amersham,devochka,redhill,gisel,preggo,polock,cando,rewster,greenlantern,panasonik,dave1234,mikeee,1carlos,miledi,darkness1,p0o9i8u7y6,kathryn1,happyguy,dcp500,assmaster,sambuka,sailormo,antonio3,logans,18254288,nokiax2,qwertzuiop,zavilov,totti,xenon1,edward11,targa1,something1,tony_t,q1w2e3r4t5y6u7i8o9p0,02551670,vladimir1,monkeybutt,greenda,neel21,craiger,saveliy,dei008,honda450,fylhtq95,spike2,fjnq8915,passwordstandard,vova12345,talonesi,richi,gigemags,pierre1,westin,trevoga,dorothee,bastogne,25563o,brandon3,truegrit,krimml,iamgreat,servis,a112233,paulinka,azimuth,corperfmonsy,358hkyp,homerun1,dogbert1,eatmyass,cottage1,savina,baseball7,bigtex,gimmesum,asdcxz,lennon1,a159357,1bastard,413276191q,pngfilt,pchealth,netsnip,bodiroga,1matt,webtvs,ravers,adapters,siddis,mashamasha,coffee2,myhoney,anna1982,marcia1,fairchil,maniek,iloveluc,batmonh,wildon,bowie1,netnwlnk,fancy1,tom204,olga1976,vfif123,queens1,ajax01,lovess,mockba,icam4usb,triada,odinthor,rstlne,exciter,sundog,anchorat,girls69,nfnmzyrf,soloma,gti16v,shadowman,ottom,rataros,tonchin,vishal,chicken0,pornlo,christiaan,volante,likesit,mariupol,runfast,gbpltw123,missys,villevalo,kbpjxrf,ghibli,calla,cessna172,kinglear,dell11,swift1,walera,1cricket,pussy5,turbo911,tucke,maprchem56458,rosehill,thekiwi1,ygfxbkgt,mandarinka,98xa29,magnit,cjfrf,paswoord,grandam1,shenmue,leedsuni,hatrick,zagadka,angeldog,michaell,dance123,koichi,bballs,29palms,xanth,228822,ppppppp1,1kkkkk,1lllll,mynewbots,spurss,madmax1,224455,city1,mmmmmmm1,nnnnnnn1,biedronka,thebeatles,elessar,f14tomcat,jordan18,bobo123,ayi000,tedbear,86chevyx,user123,bobolink,maktub,elmer1,flyfishi,franco1,gandalf0,traxdata,david21,enlighte,dmitrij,beckys,1giants,flippe,12345678w,jossie,rugbyman,snowcat,rapeme,peanut11,gemeni,udders,techn9ne,armani1,chappie,war123,vakantie,maddawg,sewanee,jake5253,tautt1,anthony5,letterma,jimbo2,kmdtyjr,hextall,jessica6,amiga500,hotcunt,phoenix9,veronda,saqartvelo,scubas,sixer3,williamj,nightfal,shihan,melnikova,kosssss,handily,killer77,jhrl0821,march17,rushman,6gcf636i,metoyou,irina123,mine11,primus1,formatters,matthew5,infotech,gangster1,jordan45,moose69,kompas,motoxxx,greatwhi,cobra12,kirpich,weezer1,hello23,montse,tracy123,connecte,cjymrf,hemingwa,azreal,gundam00,mobila,boxman,slayers1,ravshan,june26,fktrcfylhjd,bermuda1,tylerd,maersk,qazwsx11,eybdthcbntn,ash123,camelo,kat123,backd00r,cheyenne1,1king,jerkin,tnt123,trabant,warhammer40k,rambos,punto,home77,pedrito,1frank,brille,guitarman,george13,rakas,tgbxtcrbq,flute1,bananas1,lovezp1314,thespot,postie,buster69,sexytime,twistys,zacharia,sportage,toccata,denver7,terry123,bogdanova,devil69,higgins1,whatluck,pele10,kkk666,jeffery1,1qayxsw2,riptide1,chevy11,munchy,lazer1,hooker1,ghfgjh,vergesse,playgrou,4077mash,gusev,humpin,oneputt,hydepark,monster9,tiger8,tangsoo,guy123,hesoyam1,uhtqneyu,thanku,lomond,ortezza,kronik,geetha,rabbit66,killas,qazxswe,alabaste,1234567890qwerty,capone1,andrea12,geral,beatbox,slutfuck,booyaka,jasmine7,ostsee,maestro1,beatme,tracey1,buster123,donaldduck,ironfish,happy6,konnichi,gintonic,momoney1,dugan1,today2,enkidu,destiny2,trim7gun,katuha,fractals,morganstanley,polkadot,gotime,prince11,204060,fifa2010,bobbyt,seemee,amanda10,airbrush,bigtitty,heidie,layla1,cotton1,5speed,fyfnjkmtdyf,flynavy,joxury8f,meeko,akuma,dudley1,flyboy1,moondog1,trotters,mariami,signin,chinna,legs11,pussy4,1s1h1e1f1,felici,optimus1,iluvu,marlins1,gavaec,balance1,glock40,london01,kokot,southwes,comfort1,sammy11,rockbottom,brianc,litebeer,homero,chopsuey,greenlan,charit,freecell,hampster,smalldog,viper12,blofeld,1234567890987654321,realsex,romann,cartman2,cjdthitycndj,nelly1,bmw528,zwezda,masterba,jeep99,turtl,america2,sunburst,sanyco,auntjudy,125wm,blue10,qwsazx,cartma,toby12,robbob,red222,ilovecock,losfix16,1explore,helge,vaz2114,whynotme,baba123,mugen,1qazwsxedc,albertjr,0101198,sextime,supras,nicolas2,wantsex,pussy6,checkm8,winam,24gordon,misterme,curlew,gbljhfcs,medtech,franzi,butthea,voivod,blackhat,egoiste,pjkeirf,maddog69,pakalolo,hockey4,igor1234,rouges,snowhite,homefree,sexfreak,acer12,dsmith,blessyou,199410,vfrcbvjd,falco02,belinda1,yaglasph,april21,groundho,jasmin1,nevergiveup,elvir,gborv526,c00kie,emma01,awesome2,larina,mike12345,maximu,anupam,bltynbabrfwbz,tanushka,sukkel,raptor22,josh12,schalke04,cosmodog,fuckyou8,busybee,198800,bijoux,frame1,blackmor,giveit,issmall,bear13,123-123,bladez,littlegirl,ultra123,fletch1,flashnet,loploprock,rkelly,12step,lukas1,littlewhore,cuntfinger,stinkyfinger,laurenc,198020,n7td4bjl,jackie69,camel123,ben1234,1gateway,adelheid,fatmike,thuglove,zzaaqq,chivas1,4815162342q,mamadou,nadano,james22,benwin,andrea99,rjirf,michou,abkbgg,d50gnn,aaazzz,a123654,blankman,booboo11,medicus,bigbone,197200,justine1,bendix,morphius,njhvjp,44mag,zsecyus56,goodbye1,nokiadermo,a333444,waratsea,4rzp8ab7,fevral,brillian,kirbys,minim,erathia,grazia,zxcvb1234,dukey,snaggle,poppi,hymen,1video,dune2000,jpthjdf,cvbn123,zcxfcnkbdfz,astonv,ginnie,316271,engine3,pr1ncess,64chevy,glass1,laotzu,hollyy,comicbooks,assasins,nuaddn9561,scottsda,hfcnfvfy,accobra,7777777z,werty123,metalhead,romanson,redsand,365214,shalo,arsenii,1989cc,sissi,duramax,382563,petera,414243,mamapap,jollymon,field1,fatgirl,janets,trompete,matchbox20,rambo2,nepenthe,441232,qwertyuiop10,bozo123,phezc419hv,romantika,lifestyl,pengui,decembre,demon6,panther6,444888,scanman,ghjcnjabkz,pachanga,buzzword,indianer,spiderman3,tony12,startre,frog1,fyutk,483422,tupacshakur,albert12,1drummer,bmw328i,green17,aerdna,invisibl,summer13,calimer,mustaine,lgnu9d,morefun,hesoyam123,escort1,scrapland,stargat,barabbas,dead13,545645,mexicali,sierr,gfhfpbn,gonchar,moonstafa,searock,counte,foster1,jayhawk1,floren,maremma,nastya2010,softball1,adaptec,halloo,barrabas,zxcasd123,hunny,mariana1,kafedra,freedom0,green420,vlad1234,method7,665566,tooting,hallo12,davinchi,conducto,medias,666444,invernes,madhatter,456asd,12345678i,687887,le33px,spring00,help123,bellybut,billy5,vitalik1,river123,gorila,bendis,power666,747200,footslav,acehigh,qazxswedc123,q1a1z1,richard9,peterburg,tabletop,gavrilov,123qwe1,kolosov,fredrau,run4fun,789056,jkbvgbflf,chitra,87654321q,steve22,wideopen,access88,surfe,tdfyutkbjy,impossib,kevin69,880888,cantina,887766,wxcvb,dontforg,qwer1209,asslicke,mamma123,indig,arkasha,scrapp,morelia,vehxbr,jones2,scratch1,cody11,cassie12,gerbera,dontgotm,underhil,maks2010,hollywood1,hanibal,elena2010,jason11,1010321,stewar,elaman,fireplug,goodby,sacrific,babyphat,bobcat12,bruce123,1233215,tony45,tiburo,love15,bmw750,wallstreet,2h0t4me,1346795,lamerz,munkee,134679q,granvill,1512198,armastus,aiden1,pipeutvj,g1234567,angeleyes,usmc1,102030q,putangina,brandnew,shadowfax,eagles12,1falcon,brianw,lokomoti,2022958,scooper,pegas,jabroni1,2121212,buffal,siffredi,wewiz,twotone,rosebudd,nightwis,carpet1,mickey2,2525252,sleddog,red333,jamesm,2797349,jeff12,onizuka,felixxxx,rf6666,fine1,ohlala,forplay,chicago5,muncho,scooby11,ptichka,johnnn,19851985p,dogphil3650,totenkopf,monitor2,macross7,3816778,dudder,semaj1,bounder,racerx1,5556633,7085506,ofclr278,brody1,7506751,nantucke,hedj2n4q,drew1,aessedai,trekbike,pussykat,samatron,imani,9124852,wiley1,dukenukem,iampurehaha2,9556035,obvious1,mccool24,apache64,kravchenko,justforf,basura,jamese,s0ccer,safado,darksta,surfer69,damian1,gjpbnbd,gunny1,wolley,sananton,zxcvbn123456,odt4p6sv8,sergei1,modem1,mansikka,zzzz1,rifraf,dima777,mary69,looking4,donttell,red100,ninjutsu,uaeuaeman,bigbri,brasco,queenas8151,demetri,angel007,bubbl,kolort,conny,antonia1,avtoritet,kaka22,kailayu,sassy2,wrongway,chevy3,1nascar,patriots1,chrisrey,mike99,sexy22,chkdsk,sd3utre7,padawan,a6pihd,doming,mesohorny,tamada,donatello,emma22,eather,susan69,pinky123,stud69,fatbitch,pilsbury,thc420,lovepuss,1creativ,golf1234,hurryup,1honda,huskerdu,marino1,gowron,girl1,fucktoy,gtnhjpfdjlcr,dkjfghdk,pinkfl,loreli,7777777s,donkeykong,rockytop,staples1,sone4ka,xxxjay,flywheel,toppdogg,bigbubba,aaa123456,2letmein,shavkat,paule,dlanor,adamas,0147852,aassaa,dixon1,bmw328,mother12,ilikepussy,holly2,tsmith,excaliber,fhutynbyf,nicole3,tulipan,emanue,flyvholm,currahee,godsgift,antonioj,torito,dinky1,sanna,yfcnzvjz,june14,anime123,123321456654,hanswurst,bandman,hello101,xxxyyy,chevy69,technica,tagada,arnol,v00d00,lilone,filles,drumandbass,dinamit,a1234a,eatmeat,elway07,inout,james6,dawid1,thewolf,diapason,yodaddy,qscwdv,fuckit1,liljoe,sloeber,simbacat,sascha1,qwe1234,1badger,prisca,angel17,gravedig,jakeyboy,longboard,truskawka,golfer11,pyramid7,highspee,pistola,theriver,hammer69,1packers,dannyd,alfonse,qwertgfdsa,11119999,basket1,ghjtrn,saralee,12inches,paolo1,zse4xdr5,taproot,sophieh6,grizzlie,hockey69,danang,biggums,hotbitch,5alive,beloved1,bluewave,dimon95,koketka,multiscan,littleb,leghorn,poker2,delite,skyfir,bigjake,persona1,amberdog,hannah12,derren,ziffle,1sarah,1assword,sparky01,seymur,tomtom1,123321qw,goskins,soccer19,luvbekki,bumhole,2balls,1muffin,borodin,monkey9,yfeiybrb,1alex,betmen,freder,nigger123,azizbek,gjkzrjdf,lilmike,1bigdadd,1rock,taganrog,snappy1,andrey1,kolonka,bunyan,gomango,vivia,clarkkent,satur,gaudeamus,mantaray,1month,whitehea,fargus,andrew99,ray123,redhawks,liza2009,qw12345,den12345,vfhnsyjdf,147258369a,mazepa,newyorke,1arsenal,hondas2000,demona,fordgt,steve12,birthday2,12457896,dickster,edcwsxqaz,sahalin,pantyman,skinny1,hubertus,cumshot1,chiro,kappaman,mark3434,canada12,lichking,bonkers1,ivan1985,sybase,valmet,doors1,deedlit,kyjelly,bdfysx,ford11,throatfuck,backwood,fylhsq,lalit,boss429,kotova,bricky,steveh,joshua19,kissa,imladris,star1234,lubimka,partyman,crazyd,tobias1,ilike69,imhome,whome,fourstar,scanner1,ujhjl312,anatoli,85bears,jimbo69,5678ytr,potapova,nokia7070,sunday1,kalleank,1996gta,refinnej,july1,molodec,nothanks,enigm,12play,sugardog,nhfkbdfkb,larousse,cannon1,144444,qazxcdew,stimorol,jhereg,spawn7,143000,fearme,hambur,merlin21,dobie,is3yeusc,partner1,dekal,varsha,478jfszk,flavi,hippo1,9hmlpyjd,july21,7imjfstw,lexxus,truelov,nokia5200,carlos6,anais,mudbone,anahit,taylorc,tashas,larkspur,animal2000,nibiru,jan123,miyvarxar,deflep,dolore,communit,ifoptfcor,laura2,anadrol,mamaliga,mitzi1,blue92,april15,matveev,kajlas,wowlook1,1flowers,shadow14,alucard1,1golf,bantha,scotlan,singapur,mark13,manchester1,telus01,superdav,jackoff1,madnes,bullnuts,world123,clitty,palmer1,david10,spider10,sargsyan,rattlers,david4,windows2,sony12,visigoth,qqqaaa,penfloor,cabledog,camilla1,natasha123,eagleman,softcore,bobrov,dietmar,divad,sss123,d1234567,tlbyjhju,1q1q1q1,paraiso,dav123,lfiekmrf,drachen,lzhan16889,tplate,gfghbrf,casio1,123boots1,123test,sys64738,heavymetal,andiamo,meduza,soarer,coco12,negrita,amigas,heavymet,bespin,1asdfghj,wharfrat,wetsex,tight1,janus1,sword123,ladeda,dragon98,austin2,atep1,jungle1,12345abcd,lexus300,pheonix1,alex1974,123qw123,137955,bigtim,shadow88,igor1994,goodjob,arzen,champ123,121ebay,changeme1,brooksie,frogman1,buldozer,morrowin,achim,trish1,lasse,festiva,bubbaman,scottb,kramit,august22,tyson123,passsword,oompah,al123456,fucking1,green45,noodle1,looking1,ashlynn,al1716,stang50,coco11,greese,bob111,brennan1,jasonj,1cherry,1q2345,1xxxxxxx,fifa2011,brondby,zachar1,satyam,easy1,magic7,1rainbow,cheezit,1eeeeeee,ashley123,assass1,amanda123,jerbear,1bbbbbb,azerty12,15975391,654321z,twinturb,onlyone1,denis1988,6846kg3r,jumbos,pennydog,dandelion,haileris,epervier,snoopy69,afrodite,oldpussy,green55,poopypan,verymuch,katyusha,recon7,mine69,tangos,contro,blowme2,jade1,skydive1,fiveiron,dimo4ka,bokser,stargirl,fordfocus,tigers2,platina,baseball11,raque,pimper,jawbreak,buster88,walter34,chucko,penchair,horizon1,thecure1,scc1975,adrianna1,kareta,duke12,krille,dumbfuck,cunt1,aldebaran,laverda,harumi,knopfler,pongo1,pfhbyf,dogman1,rossigno,1hardon,scarlets,nuggets1,ibelieve,akinfeev,xfhkbr,athene,falcon69,happie,billly,nitsua,fiocco,qwerty09,gizmo2,slava2,125690,doggy123,craigs,vader123,silkeborg,124365,peterm,123978,krakatoa,123699,123592,kgvebmqy,pensacol,d1d2d3,snowstor,goldenboy,gfg65h7,ev700,church1,orange11,g0dz1ll4,chester3,acheron,cynthi,hotshot1,jesuschris,motdepass,zymurgy,one2one,fietsbel,harryp,wisper,pookster,nn527hp,dolla,milkmaid,rustyboy,terrell1,epsilon1,lillian1,dale3,crhbgrf,maxsim,selecta,mamada,fatman1,ufkjxrf,shinchan,fuckuall,women1,000008,bossss,greta1,rbhjxrf,mamasboy,purple69,felicidade,sexy21,cathay,hunglow,splatt,kahless,shopping1,1gandalf,themis,delta7,moon69,blue24,parliame,mamma1,miyuki,2500hd,jackmeof,razer,rocker1,juvis123,noremac,boing747,9z5ve9rrcz,icewater,titania,alley1,moparman,christo1,oliver2,vinicius,tigerfan,chevyy,joshua99,doda99,matrixx,ekbnrf,jackfrost,viper01,kasia,cnfhsq,triton1,ssbt8ae2,rugby8,ramman,1lucky,barabash,ghtlfntkm,junaid,apeshit,enfant,kenpo1,shit12,007000,marge1,shadow10,qwerty789,richard8,vbitkm,lostboys,jesus4me,richard4,hifive,kolawole,damilola,prisma,paranoya,prince2,lisaann,happyness,cardss,methodma,supercop,a8kd47v5,gamgee,polly123,irene1,number8,hoyasaxa,1digital,matthew0,dclxvi,lisica,roy123,2468013579,sparda,queball,vaffanculo,pass1wor,repmvbx,999666333,freedom8,botanik,777555333,marcos1,lubimaya,flash2,einstei,08080,123456789j,159951159,159357123,carrot1,alina1995,sanjos,dilara,mustang67,wisteria,jhnjgtl12,98766789,darksun,arxangel,87062134,creativ1,malyshka,fuckthemall,barsic,rocksta,2big4u,5nizza,genesis2,romance1,ofcourse,1horse,latenite,cubana,sactown,789456123a,milliona,61808861,57699434,imperia,bubba11,yellow3,change12,55495746,flappy,jimbo123,19372846,19380018,cutlass1,craig123,klepto,beagle1,solus,51502112,pasha1,19822891,46466452,19855891,petshop,nikolaevna,119966,nokia6131,evenpar,hoosier1,contrasena,jawa350,gonzo123,mouse2,115511,eetfuk,gfhfvgfvgfv,1crystal,sofaking,coyote1,kwiatuszek,fhrflbq,valeria1,anthro,0123654789,alltheway,zoltar,maasikas,wildchil,fredonia,earlgrey,gtnhjczy,matrix123,solid1,slavko,12monkeys,fjdksl,inter1,nokia6500,59382113kevinp,spuddy,cachero,coorslit,password!,kiba1z,karizma,vova1994,chicony,english1,bondra12,1rocket,hunden,jimbob1,zpflhjn1,th0mas,deuce22,meatwad,fatfree,congas,sambora,cooper2,janne,clancy1,stonie,busta,kamaz,speedy2,jasmine3,fahayek,arsenal0,beerss,trixie1,boobs69,luansantana,toadman,control2,ewing33,maxcat,mama1964,diamond4,tabaco,joshua0,piper2,music101,guybrush,reynald,pincher,katiebug,starrs,pimphard,frontosa,alex97,cootie,clockwor,belluno,skyeseth,booty69,chaparra,boochie,green4,bobcat1,havok,saraann,pipeman,aekdb,jumpshot,wintermu,chaika,1chester,rjnjatq,emokid,reset1,regal1,j0shua,134679a,asmodey,sarahh,zapidoo,ciccione,sosexy,beckham23,hornets1,alex1971,delerium,manageme,connor11,1rabbit,sane4ek,caseyboy,cbljhjdf,redsox20,tttttt99,haustool,ander,pantera6,passwd1,journey1,9988776655,blue135,writerspace,xiaoyua123,justice2,niagra,cassis,scorpius,bpgjldsgjldthnf,gamemaster,bloody1,retrac,stabbin,toybox,fight1,ytpyf.,glasha,va2001,taylor11,shameles,ladylove,10078,karmann,rodeos,eintritt,lanesra,tobasco,jnrhjqcz,navyman,pablit,leshka,jessica3,123vika,alena1,platinu,ilford,storm7,undernet,sasha777,1legend,anna2002,kanmax1994,porkpie,thunder0,gundog,pallina,easypass,duck1,supermom,roach1,twincam,14028,tiziano,qwerty32,123654789a,evropa,shampoo1,yfxfkmybr,cubby1,tsunami1,fktrcttdf,yasacrac,17098,happyhap,bullrun,rodder,oaktown,holde,isbest,taylor9,reeper,hammer11,julias,rolltide1,compaq123,fourx4,subzero1,hockey9,7mary3,busines,ybrbnjcbr,wagoneer,danniash,portishead,digitex,alex1981,david11,infidel,1snoopy,free30,jaden,tonto1,redcar27,footie,moskwa,thomas21,hammer12,burzum,cosmo123,50000,burltree,54343,54354,vwpassat,jack5225,cougars1,burlpony,blackhorse,alegna,petert,katemoss,ram123,nels0n,ferrina,angel77,cstock,1christi,dave55,abc123a,alex1975,av626ss,flipoff,folgore,max1998,science1,si711ne,yams7,wifey1,sveiks,cabin1,volodia,ox3ford,cartagen,platini,picture1,sparkle1,tiedomi,service321,wooody,christi1,gnasher,brunob,hammie,iraffert,bot2010,dtcyeirf,1234567890p,cooper11,alcoholi,savchenko,adam01,chelsea5,niewiem,icebear,lllooottt,ilovedick,sweetpus,money8,cookie13,rfnthbyf1988,booboo2,angus123,blockbus,david9,chica1,nazaret,samsung9,smile4u,daystar,skinnass,john10,thegirl,sexybeas,wasdwasd1,sigge1,1qa2ws3ed4rf5tg,czarny,ripley1,chris5,ashley19,anitha,pokerman,prevert,trfnthby,tony69,georgia2,stoppedb,qwertyuiop12345,miniclip,franky1,durdom,cabbages,1234567890o,delta5,liudmila,nhfycajhvths,court1,josiew,abcd1,doghead,diman,masiania,songline,boogle,triston,deepika,sexy4me,grapple,spacebal,ebonee,winter0,smokewee,nargiza,dragonla,sassys,andy2000,menards,yoshio,massive1,suckmy1k,passat99,sexybo,nastya1996,isdead,stratcat,hokuto,infix,pidoras,daffyduck,cumhard,baldeagl,kerberos,yardman,shibainu,guitare,cqub6553,tommyy,bk.irf,bigfoo,hecto,july27,james4,biggus,esbjerg,isgod,1irish,phenmarr,jamaic,roma1990,diamond0,yjdbrjd,girls4me,tampa1,kabuto,vaduz,hanse,spieng,dianochka,csm101,lorna1,ogoshi,plhy6hql,2wsx4rfv,cameron0,adebayo,oleg1996,sharipov,bouboule,hollister1,frogss,yeababy,kablam,adelante,memem,howies,thering,cecilia1,onetwo12,ojp123456,jordan9,msorcloledbr,neveraga,evh5150,redwin,1august,canno,1mercede,moody1,mudbug,chessmas,tiikeri,stickdaddy77,alex15,kvartira,7654321a,lollol123,qwaszxedc,algore,solana,vfhbyfvfhbyf,blue72,misha1111,smoke20,junior13,mogli,threee,shannon2,fuckmylife,kevinh,saransk,karenw,isolde,sekirarr,orion123,thomas0,debra1,laketaho,alondra,curiva,jazz1234,1tigers,jambos,lickme2,suomi,gandalf7,028526,zygote,brett123,br1ttany,supafly,159000,kingrat,luton1,cool-ca,bocman,thomasd,skiller,katter,mama777,chanc,tomass,1rachel,oldno7,rfpfyjdf,bigkev,yelrah,primas,osito,kipper1,msvcr71,bigboy11,thesun,noskcaj,chicc,sonja1,lozinka,mobile1,1vader,ummagumma,waves1,punter12,tubgtn,server1,irina1991,magic69,dak001,pandemonium,dead1,berlingo,cherrypi,1montana,lohotron,chicklet,asdfgh123456,stepside,ikmvw103,icebaby,trillium,1sucks,ukrnet,glock9,ab12345,thepower,robert8,thugstools,hockey13,buffon,livefree,sexpics,dessar,ja0000,rosenrot,james10,1fish,svoloch,mykitty,muffin11,evbukb,shwing,artem1992,andrey1992,sheldon1,passpage,nikita99,fubar123,vannasx,eight888,marial,max2010,express2,violentj,2ykn5ccf,spartan11,brenda69,jackiech,abagail,robin2,grass1,andy76,bell1,taison,superme,vika1995,xtr451,fred20,89032073168,denis1984,2000jeep,weetabix,199020,daxter,tevion,panther8,h9iymxmc,bigrig,kalambur,tsalagi,12213443,racecar02,jeffrey4,nataxa,bigsam,purgator,acuracl,troutbum,potsmoke,jimmyz,manutd1,nytimes,pureevil,bearss,cool22,dragonage,nodnarb,dbrbyu,4seasons,freude,elric1,werule,hockey14,12758698,corkie,yeahright,blademan,tafkap,clave,liziko,hofner,jeffhardy,nurich,runne,stanisla,lucy1,monk3y,forzaroma,eric99,bonaire,blackwoo,fengshui,1qaz0okm,newmoney,pimpin69,07078,anonymer,laptop1,cherry12,ace111,salsa1,wilbur1,doom12,diablo23,jgtxzbhr,under1,honda01,breadfan,megan2,juancarlos,stratus1,ackbar,love5683,happytim,lambert1,cbljhtyrj,komarov,spam69,nfhtkrf,brownn,sarmat,ifiksr,spike69,hoangen,angelz,economia,tanzen,avogadro,1vampire,spanners,mazdarx,queequeg,oriana,hershil,sulaco,joseph11,8seconds,aquariu,cumberla,heather9,anthony8,burton12,crystal0,maria3,qazwsxc,snow123,notgood,198520,raindog,heehaw,consulta,dasein,miller01,cthulhu1,dukenuke,iubire,baytown,hatebree,198505,sistem,lena12,welcome01,maraca,middleto,sindhu,mitsou,phoenix5,vovan,donaldo,dylandog,domovoy,lauren12,byrjuybnj,123llll,stillers,sanchin,tulpan,smallvill,1mmmmm,patti1,folgers,mike31,colts18,123456rrr,njkmrjz,phoenix0,biene,ironcity,kasperok,password22,fitnes,matthew6,spotligh,bujhm123,tommycat,hazel5,guitar11,145678,vfcmrf,compass1,willee,1barney,jack2000,littleminge,shemp,derrek,xxx12345,littlefuck,spuds1,karolinka,camneely,qwertyu123,142500,brandon00,munson15,falcon3,passssap,z3cn2erv,goahead,baggio10,141592,denali1,37kazoo,copernic,123456789asd,orange88,bravada,rush211,197700,pablo123,uptheass,samsam1,demoman,mattylad10,heydude,mister2,werken,13467985,marantz,a22222,f1f2f3f4,fm12mn12,gerasimova,burrito1,sony1,glenny,baldeagle,rmfidd,fenomen,verbati,forgetme,5element,wer138,chanel1,ooicu812,10293847qp,minicooper,chispa,myturn,deisel,vthrehbq,boredboi4u,filatova,anabe,poiuyt1,barmalei,yyyy1,fourkids,naumenko,bangbros,pornclub,okaykk,euclid90,warrior3,kornet,palevo,patatina,gocart,antanta,jed1054,clock1,111111w,dewars,mankind1,peugeot406,liten,tahira,howlin,naumov,rmracing,corone,cunthole,passit,rock69,jaguarxj,bumsen,197101,sweet2,197010,whitecat,sawadee,money100,yfhrjnbrb,andyboy,9085603566,trace1,fagget,robot1,angel20,6yhn7ujm,specialinsta,kareena,newblood,chingada,boobies2,bugger1,squad51,133andre,call06,ashes1,ilovelucy,success2,kotton,cavalla,philou,deebee,theband,nine09,artefact,196100,kkkkkkk1,nikolay9,onelov,basia,emilyann,sadman,fkrjujkbr,teamomuch,david777,padrino,money21,firdaus,orion3,chevy01,albatro,erdfcv,2legit,sarah7,torock,kevinn,holio,soloy,enron714,starfleet,qwer11,neverman,doctorwh,lucy11,dino12,trinity7,seatleon,o123456,pimpman,1asdfgh,snakebit,chancho,prorok,bleacher,ramire,darkseed,warhorse,michael123,1spanky,1hotdog,34erdfcv,n0th1ng,dimanche,repmvbyf,michaeljackson,login1,icequeen,toshiro,sperme,racer2,veget,birthday26,daniel9,lbvekmrf,charlus,bryan123,wspanic,schreibe,1andonly,dgoins,kewell,apollo12,egypt1,fernie,tiger21,aa123456789,blowj,spandau,bisquit,12345678d,deadmau5,fredie,311420,happyface,samant,gruppa,filmstar,andrew17,bakesale,sexy01,justlook,cbarkley,paul11,bloodred,rideme,birdbath,nfkbcvfy,jaxson,sirius1,kristof,virgos,nimrod1,hardc0re,killerbee,1abcdef,pitcher1,justonce,vlada,dakota99,vespucci,wpass,outside1,puertori,rfvbkf,teamlosi,vgfun2,porol777,empire11,20091989q,jasong,webuivalidat,escrima,lakers08,trigger2,addpass,342500,mongini,dfhtybr,horndogg,palermo1,136900,babyblu,alla98,dasha2010,jkelly,kernow,yfnecz,rockhopper,toeman,tlaloc,silver77,dave01,kevinr,1234567887654321,135642,me2you,8096468644q,remmus,spider7,jamesa,jilly,samba1,drongo,770129ji,supercat,juntas,tema1234,esthe,1234567892000,drew11,qazqaz123,beegees,blome,rattrace,howhigh,tallboy,rufus2,sunny2,sou812,miller12,indiana7,irnbru,patch123,letmeon,welcome5,nabisco,9hotpoin,hpvteb,lovinit,stormin,assmonke,trill,atlanti,money1234,cubsfan,mello1,stars2,ueptkm,agate,dannym88,lover123,wordz,worldnet,julemand,chaser1,s12345678,pissword,cinemax,woodchuc,point1,hotchkis,packers2,bananana,kalender,420666,penguin8,awo8rx3wa8t,hoppie,metlife,ilovemyfamily,weihnachtsbau,pudding1,luckystr,scully1,fatboy1,amizade,dedham,jahbless,blaat,surrende,****er,1panties,bigasses,ghjuhfvbcn,asshole123,dfktyrb,likeme,nickers,plastik,hektor,deeman,muchacha,cerebro,santana5,testdrive,dracula1,canalc,l1750sq,savannah1,murena,1inside,pokemon00,1iiiiiii,jordan20,sexual1,mailliw,calipso,014702580369,1zzzzzz,1jjjjjj,break1,15253545,yomama1,katinka,kevin11,1ffffff,martijn,sslazio,daniel5,porno2,nosmas,leolion,jscript,15975312,pundai,kelli1,kkkddd,obafgkm,marmaris,lilmama,london123,rfhfnt,elgordo,talk87,daniel7,thesims3,444111,bishkek,afrika2002,toby22,1speedy,daishi,2children,afroman,qqqqwwww,oldskool,hawai,v55555,syndicat,pukimak,fanatik,tiger5,parker01,bri5kev6,timexx,wartburg,love55,ecosse,yelena03,madinina,highway1,uhfdbwfgf,karuna,buhjvfybz,wallie,46and2,khalif,europ,qaz123wsx456,bobbybob,wolfone,falloutboy,manning18,scuba10,schnuff,ihateyou1,lindam,sara123,popcor,fallengun,divine1,montblanc,qwerty8,rooney10,roadrage,bertie1,latinus,lexusis,rhfvfnjhcr,opelgt,hitme,agatka,1yamaha,dmfxhkju,imaloser,michell1,sb211st,silver22,lockedup,andrew9,monica01,sassycat,dsobwick,tinroof,ctrhtnyj,bultaco,rhfcyjzhcr,aaaassss,14ss88,joanne1,momanddad,ahjkjdf,yelhsa,zipdrive,telescop,500600,1sexsex,facial1,motaro,511647,stoner1,temujin,elephant1,greatman,honey69,kociak,ukqmwhj6,altezza,cumquat,zippos,kontiki,123max,altec1,bibigon,tontos,qazsew,nopasaran,militar,supratt,oglala,kobayash,agathe,yawetag,dogs1,cfiekmrf,megan123,jamesdea,porosenok,tiger23,berger1,hello11,seemann,stunner1,walker2,imissu,jabari,minfd,lollol12,hjvfy,1-oct,stjohns,2278124q,123456789qwer,alex1983,glowworm,chicho,mallards,bluedevil,explorer1,543211,casita,1time,lachesis,alex1982,airborn1,dubesor,changa,lizzie1,captaink,socool,bidule,march23,1861brr,k.ljxrf,watchout,fotze,1brian,keksa2,aaaa1122,matrim,providian,privado,dreame,merry1,aregdone,davidt,nounour,twenty2,play2win,artcast2,zontik,552255,shit1,sluggy,552861,dr8350,brooze,alpha69,thunder6,kamelia2011,caleb123,mmxxmm,jamesh,lfybkjd,125267,125000,124536,bliss1,dddsss,indonesi,bob69,123888,tgkbxfgy,gerar,themack,hijodeputa,good4now,ddd123,clk430,kalash,tolkien1,132forever,blackb,whatis,s1s2s3s4,lolkin09,yamahar,48n25rcc,djtiesto,111222333444555,bigbull,blade55,coolbree,kelse,ichwill,yamaha12,sakic,bebeto,katoom,donke,sahar,wahine,645202,god666,berni,starwood,june15,sonoio,time123,llbean,deadsoul,lazarev,cdtnf,ksyusha,madarchod,technik,jamesy,4speed,tenorsax,legshow,yoshi1,chrisbl,44e3ebda,trafalga,heather7,serafima,favorite4,havefun1,wolve,55555r,james13,nosredna,bodean,jlettier,borracho,mickael,marinus,brutu,sweet666,kiborg,rollrock,jackson6,macross1,ousooner,9085084232,takeme,123qwaszx,firedept,vfrfhjd,jackfros,123456789000,briane,cookie11,baby22,bobby18,gromova,systemofadown,martin01,silver01,pimaou,darthmaul,hijinx,commo,chech,skyman,sunse,2vrd6,vladimirovna,uthvfybz,nicole01,kreker,bobo1,v123456789,erxtgb,meetoo,drakcap,vfvf12,misiek1,butane,network2,flyers99,riogrand,jennyk,e12345,spinne,avalon11,lovejone,studen,maint,porsche2,qwerty100,chamberl,bluedog1,sungam,just4u,andrew23,summer22,ludic,musiclover,aguil,beardog1,libertin,pippo1,joselit,patito,bigberth,digler,sydnee,jockstra,poopo,jas4an,nastya123,profil,fuesse,default1,titan2,mendoz,kpcofgs,anamika,brillo021,bomberman,guitar69,latching,69pussy,blues2,phelge,ninja123,m7n56xo,qwertasd,alex1976,cunningh,estrela,gladbach,marillion,mike2000,258046,bypop,muffinman,kd5396b,zeratul,djkxbwf,john77,sigma2,1linda,selur,reppep,quartz1,teen1,freeclus,spook1,kudos4ever,clitring,sexiness,blumpkin,macbook,tileman,centra,escaflowne,pentable,shant,grappa,zverev,1albert,lommerse,coffee11,777123,polkilo,muppet1,alex74,lkjhgfdsazx,olesica,april14,ba25547,souths,jasmi,arashi,smile2,2401pedro,mybabe,alex111,quintain,pimp1,tdeir8b2,makenna,122333444455555,%e2%82%ac,tootsie1,pass111,zaqxsw123,gkfdfybt,cnfnbcnbrf,usermane,iloveyou12,hard69,osasuna,firegod,arvind,babochka,kiss123,cookie123,julie123,kamakazi,dylan2,223355,tanguy,nbhtqa,tigger13,tubby1,makavel,asdflkj,sambo1,mononoke,mickeys,gayguy,win123,green33,wcrfxtvgbjy,bigsmall,1newlife,clove,babyfac,bigwaves,mama1970,shockwav,1friday,bassey,yarddog,codered1,victory7,bigrick,kracker,gulfstre,chris200,sunbanna,bertuzzi,begemotik,kuolema,pondus,destinee,123456789zz,abiodun,flopsy,amadeusptfcor,geronim,yggdrasi,contex,daniel6,suck1,adonis1,moorea,el345612,f22raptor,moviebuf,raunchy,6043dkf,zxcvbnm123456789,eric11,deadmoin,ratiug,nosliw,fannies,danno,888889,blank1,mikey2,gullit,thor99,mamiya,ollieb,thoth,dagger1,websolutionssu,bonker,prive,1346798520,03038,q1234q,mommy2,contax,zhipo,gwendoli,gothic1,1234562000,lovedick,gibso,digital2,space199,b26354,987654123,golive,serious1,pivkoo,better1,824358553,794613258,nata1980,logout,fishpond,buttss,squidly,good4me,redsox19,jhonny,zse45rdx,matrixxx,honey12,ramina,213546879,motzart,fall99,newspape,killit,gimpy,photowiz,olesja,thebus,marco123,147852963,bedbug,147369258,hellbound,gjgjxrf,123987456,lovehurt,five55,hammer01,1234554321a,alina2011,peppino,ang238,questor,112358132,alina1994,alina1998,money77,bobjones,aigerim,cressida,madalena,420smoke,tinchair,raven13,mooser,mauric,lovebu,adidas69,krypton1,1111112,loveline,divin,voshod,michaelm,cocotte,gbkbuhbv,76689295,kellyj,rhonda1,sweetu70,steamforums,geeque,nothere,124c41,quixotic,steam181,1169900,rfcgthcrbq,rfvbkm,sexstuff,1231230,djctvm,rockstar1,fulhamfc,bhecbr,rfntyf,quiksilv,56836803,jedimaster,pangit,gfhjkm777,tocool,1237654,stella12,55378008,19216811,potte,fender12,mortalkombat,ball1,nudegirl,palace22,rattrap,debeers,lickpussy,jimmy6,not4u2c,wert12,bigjuggs,sadomaso,1357924,312mas,laser123,arminia,branford,coastie,mrmojo,19801982,scott11,banaan123,ingres,300zxtt,hooters6,sweeties,19821983,19831985,19833891,sinnfein,welcome4,winner69,killerman,tachyon,tigre1,nymets1,kangol,martinet,sooty1,19921993,789qwe,harsingh,1597535,thecount,phantom3,36985214,lukas123,117711,pakistan1,madmax11,willow01,19932916,fucker12,flhrci,opelagila,theword,ashley24,tigger3,crazyj,rapide,deadfish,allana,31359092,sasha1993,sanders2,discman,zaq!2wsx,boilerma,mickey69,jamesg,babybo,jackson9,orion7,alina2010,indien,breeze1,atease,warspite,bazongaz,1celtic,asguard,mygal,fitzgera,1secret,duke33,cyklone,dipascuc,potapov,1escobar2,c0l0rad0,kki177hk,1little,macondo,victoriya,peter7,red666,winston6,kl?benhavn,muneca,jackme,jennan,happylife,am4h39d8nh,bodybuil,201980,dutchie,biggame,lapo4ka,rauchen,black10,flaquit,water12,31021364,command2,lainth88,mazdamx5,typhon,colin123,rcfhlfc,qwaszx11,g0away,ramir,diesirae,hacked1,cessna1,woodfish,enigma2,pqnr67w5,odgez8j3,grisou,hiheels,5gtgiaxm,2580258,ohotnik,transits,quackers,serjik,makenzie,mdmgatew,bryana,superman12,melly,lokit,thegod,slickone,fun4all,netpass,penhorse,1cooper,nsync,asdasd22,otherside,honeydog,herbie1,chiphi,proghouse,l0nd0n,shagg,select1,frost1996,casper123,countr,magichat,greatzyo,jyothi,3bears,thefly,nikkita,fgjcnjk,nitros,hornys,san123,lightspe,maslova,kimber1,newyork2,spammm,mikejone,pumpk1n,bruiser1,bacons,prelude9,boodie,dragon4,kenneth2,love98,power5,yodude,pumba,thinline,blue30,sexxybj,2dumb2live,matt21,forsale,1carolin,innova,ilikeporn,rbgtkjd,a1s2d3f,wu9942,ruffus,blackboo,qwerty999,draco1,marcelin,hideki,gendalf,trevon,saraha,cartmen,yjhbkmcr,time2go,fanclub,ladder1,chinni,6942987,united99,lindac,quadra,paolit,mainstre,beano002,lincoln7,bellend,anomie,8520456,bangalor,goodstuff,chernov,stepashka,gulla,mike007,frasse,harley03,omnislash,8538622,maryjan,sasha2011,gineok,8807031,hornier,gopinath,princesit,bdr529,godown,bosslady,hakaone,1qwe2,madman1,joshua11,lovegame,bayamon,jedi01,stupid12,sport123,aaa666,tony44,collect1,charliem,chimaira,cx18ka,trrim777,chuckd,thedream,redsox99,goodmorning,delta88,iloveyou11,newlife2,figvam,chicago3,jasonk,12qwer,9875321,lestat1,satcom,conditio,capri50,sayaka,9933162,trunks1,chinga,snooch,alexand1,findus,poekie,cfdbyf,kevind,mike1969,fire13,leftie,bigtuna,chinnu,silence1,celos1,blackdra,alex24,gfgfif,2boobs,happy8,enolagay,sataniv1993,turner1,dylans,peugeo,sasha1994,hoppel,conno,moonshot,santa234,meister1,008800,hanako,tree123,qweras,gfitymrf,reggie31,august29,supert,joshua10,akademia,gbljhfc,zorro123,nathalia,redsox12,hfpdjl,mishmash,nokiae51,nyyankees,tu190022,strongbo,none1,not4u2no,katie2,popart,harlequi,santan,michal1,1therock,screwu,csyekmrf,olemiss1,tyrese,hoople,sunshin1,cucina,starbase,topshelf,fostex,california1,castle1,symantec,pippolo,babare,turntabl,1angela,moo123,ipvteb,gogolf,alex88,cycle1,maxie1,phase2,selhurst,furnitur,samfox,fromvermine,shaq34,gators96,captain2,delonge,tomatoe,bisous,zxcvbnma,glacius,pineapple1,cannelle,ganibal,mko09ijn,paraklast1974,hobbes12,petty43,artema,junior8,mylover,1234567890d,fatal1ty,prostreet,peruan,10020,nadya,caution1,marocas,chanel5,summer08,metal123,111lox,scrapy,thatguy,eddie666,washingto,yannis,minnesota_hp,lucky4,playboy6,naumova,azzurro,patat,dale33,pa55wd,speedster,zemanova,saraht,newto,tony22,qscesz,arkady,1oliver,death6,vkfwx046,antiflag,stangs,jzf7qf2e,brianp,fozzy,cody123,startrek1,yoda123,murciela,trabajo,lvbnhbtdf,canario,fliper,adroit,henry5,goducks,papirus,alskdj,soccer6,88mike,gogetter,tanelorn,donking,marky1,leedsu,badmofo,al1916,wetdog,akmaral,pallet,april24,killer00,nesterova,rugby123,coffee12,browseui,ralliart,paigow,calgary1,armyman,vtldtltd,frodo2,frxtgb,iambigal,benno,jaytee,2hot4you,askar,bigtee,brentwoo,palladin,eddie2,al1916w,horosho,entrada,ilovetits,venture1,dragon19,jayde,chuvak,jamesl,fzr600,brandon8,vjqvbh,snowbal,snatch1,bg6njokf,pudder,karolin,candoo,pfuflrf,satchel1,manteca,khongbiet,critter1,partridg,skyclad,bigdon,ginger69,brave1,anthony4,spinnake,chinadol,passout,cochino,nipples1,15058,lopesk,sixflags,lloo999,parkhead,breakdance,cia123,fidodido,yuitre12,fooey,artem1995,gayathri,medin,nondriversig,l12345,bravo7,happy13,kazuya,camster,alex1998,luckyy,zipcode,dizzle,boating1,opusone,newpassw,movies23,kamikazi,zapato,bart316,cowboys0,corsair1,kingshit,hotdog12,rolyat,h200svrm,qwerty4,boofer,rhtyltkm,chris999,vaz21074,simferopol,pitboss,love3,britania,tanyshka,brause,123qwerty123,abeille,moscow1,ilkaev,manut,process1,inetcfg,dragon05,fortknox,castill,rynner,mrmike,koalas,jeebus,stockpor,longman,juanpabl,caiman,roleplay,jeremi,26058,prodojo,002200,magical1,black5,bvlgari,doogie1,cbhtqa,mahina,a1s2d3f4g5h6,jblpro,usmc01,bismilah,guitar01,april9,santana1,1234aa,monkey14,sorokin,evan1,doohan,animalsex,pfqxtyjr,dimitry,catchme,chello,silverch,glock45,dogleg,litespee,nirvana9,peyton18,alydar,warhamer,iluvme,sig229,minotavr,lobzik,jack23,bushwack,onlin,football123,joshua5,federov,winter2,bigmax,fufnfrhbcnb,hfpldfnhb,1dakota,f56307,chipmonk,4nick8,praline,vbhjh123,king11,22tango,gemini12,street1,77879,doodlebu,homyak,165432,chuluthu,trixi,karlito,salom,reisen,cdtnkzxjr,pookie11,tremendo,shazaam,welcome0,00000ty,peewee51,pizzle,gilead,bydand,sarvar,upskirt,legends1,freeway1,teenfuck,ranger9,darkfire,dfymrf,hunt0802,justme1,buffy1ma,1harry,671fsa75yt,burrfoot,budster,pa437tu,jimmyp,alina2006,malacon,charlize,elway1,free12,summer02,gadina,manara,gomer1,1cassie,sanja,kisulya,money3,pujols,ford50,midiland,turga,orange6,demetriu,freakboy,orosie1,radio123,open12,vfufpby,mustek,chris33,animes,meiling,nthtvjr,jasmine9,gfdkjd,oligarh,marimar,chicago9,.kzirf,bugssgub,samuraix,jackie01,pimpjuic,macdad,cagiva,vernost,willyboy,fynjyjdf,tabby1,privet123,torres9,retype,blueroom,raven11,q12we3,alex1989,bringiton,ridered,kareltje,ow8jtcs8t,ciccia,goniners,countryb,24688642,covingto,24861793,beyblade,vikin,badboyz,wlafiga,walstib,mirand,needajob,chloes,balaton,kbpfdtnf,freyja,bond9007,gabriel12,stormbri,hollage,love4eve,fenomeno,darknite,dragstar,kyle123,milfhunter,ma123123123,samia,ghislain,enrique1,ferien12,xjy6721,natalie2,reglisse,wilson2,wesker,rosebud7,amazon1,robertr,roykeane,xtcnth,mamatata,crazyc,mikie,savanah,blowjob69,jackie2,forty1,1coffee,fhbyjxrf,bubbah,goteam,hackedit,risky1,logoff,h397pnvr,buck13,robert23,bronc,st123st,godflesh,pornog,iamking,cisco69,septiembr,dale38,zhongguo,tibbar,panther9,buffa1,bigjohn1,mypuppy,vehvfycr,april16,shippo,fire1234,green15,q123123,gungadin,steveg,olivier1,chinaski,magnoli,faithy,storm12,toadfrog,paul99,78791,august20,automati,squirtle,cheezy,positano,burbon,nunya,llebpmac,kimmi,turtle2,alan123,prokuror,violin1,durex,pussygal,visionar,trick1,chicken6,29024,plowboy,rfybreks,imbue,sasha13,wagner1,vitalogy,cfymrf,thepro,26028,gorbunov,dvdcom,letmein5,duder,fastfun,pronin,libra1,conner1,harley20,stinker1,20068,20038,amitech,syoung,dugway,18068,welcome7,jimmypag,anastaci,kafka1,pfhfnecnhf,catsss,campus100,shamal,nacho1,fire12,vikings2,brasil1,rangerover,mohamma,peresvet,14058,cocomo,aliona,14038,qwaser,vikes,cbkmdf,skyblue1,ou81234,goodlove,dfkmltvfh,108888,roamer,pinky2,static1,zxcv4321,barmen,rock22,shelby2,morgans,1junior,pasword1,logjam,fifty5,nhfrnjhbcn,chaddy,philli,nemesis2,ingenier,djkrjd,ranger3,aikman8,knothead,daddy69,love007,vsythb,ford350,tiger00,renrut,owen11,energy12,march14,alena123,robert19,carisma,orange22,murphy11,podarok,prozak,kfgeirf,wolf13,lydia1,shazza,parasha,akimov,tobbie,pilote,heather4,baster,leones,gznfxjr,megama,987654321g,bullgod,boxster1,minkey,wombats,vergil,colegiata,lincol,smoothe,pride1,carwash1,latrell,bowling3,fylhtq123,pickwick,eider,bubblebox,bunnies1,loquit,slipper1,nutsac,purina,xtutdfhf,plokiju,1qazxs,uhjpysq,zxcvbasdfg,enjoy1,1pumpkin,phantom7,mama22,swordsma,wonderbr,dogdays,milker,u23456,silvan,dfkthbr,slagelse,yeahman,twothree,boston11,wolf100,dannyg,troll1,fynjy123,ghbcnfd,bftest,ballsdeep,bobbyorr,alphasig,cccdemo,fire123,norwest,claire2,august10,lth1108,problemas,sapito,alex06,1rusty,maccom,goirish1,ohyes,bxdumb,nabila,boobear1,rabbit69,princip,alexsander,travail,chantal1,dogggy,greenpea,diablo69,alex2009,bergen09,petticoa,classe,ceilidh,vlad2011,kamakiri,lucidity,qaz321,chileno,cexfhf,99ranger,mcitra,estoppel,volvos60,carter80,webpass,temp12,touareg,fcgbhby,bubba8,sunitha,200190ru,bitch2,shadow23,iluvit,nicole0,ruben1,nikki69,butttt,shocker1,souschef,lopotok01,kantot,corsano,cfnfyf,riverat,makalu,swapna,all4u9,cdtnkfy,ntktgepbr,ronaldo99,thomasj,bmw540i,chrisw,boomba,open321,z1x2c3v4b5n6m7,gaviota,iceman44,frosya,chris100,chris24,cosette,clearwat,micael,boogyman,pussy9,camus1,chumpy,heccrbq,konoplya,chester8,scooter5,ghjgfufylf,giotto,koolkat,zero000,bonita1,ckflrbq,j1964,mandog,18n28n24a,renob,head1,shergar,ringo123,tanita,sex4free,johnny12,halberd,reddevils,biolog,dillinge,fatb0y,c00per,hyperlit,wallace2,spears1,vitamine,buheirf,sloboda,alkash,mooman,marion1,arsenal7,sunder,nokia5610,edifier,pippone,fyfnjkmtdbx,fujimo,pepsi12,kulikova,bolat,duetto,daimon,maddog01,timoshka,ezmoney,desdemon,chesters,aiden,hugues,patrick5,aikman08,robert4,roenick,nyranger,writer1,36169544,foxmulder,118801,kutter,shashank,jamjar,118811,119955,aspirina,dinkus,1sailor,nalgene,19891959,snarf,allie1,cracky,resipsa,45678912,kemerovo,19841989,netware1,alhimik,19801984,nicole123,19761977,51501984,malaka1,montella,peachfuz,jethro1,cypress1,henkie,holdon,esmith,55443322,1friend,quique,bandicoot,statistika,great123,death13,ucht36,master4,67899876,bobsmith,nikko1,jr1234,hillary1,78978978,rsturbo,lzlzdfcz,bloodlust,shadow00,skagen,bambina,yummies,88887777,91328378,matthew4,itdoes,98256518,102938475,alina2002,123123789,fubared,dannys,123456321,nikifor,suck69,newmexico,scubaman,rhbcnb,fifnfy,puffdadd,159357852,dtheyxbr,theman22,212009164,prohor,shirle,nji90okm,newmedia,goose5,roma1995,letssee,iceman11,aksana,wirenut,pimpdady,1212312121,tamplier,pelican1,domodedovo,1928374655,fiction6,duckpond,ybrecz,thwack,onetwo34,gunsmith,murphydo,fallout1,spectre1,jabberwo,jgjesq,turbo6,bobo12,redryder,blackpus,elena1971,danilova,antoin,bobo1234,bobob,bobbobbo,dean1,222222a,jesusgod,matt23,musical1,darkmage,loppol,werrew,josepha,rebel12,toshka,gadfly,hawkwood,alina12,dnomyar,sexaddict,dangit,cool23,yocrack,archimed,farouk,nhfkzkz,lindalou,111zzzzz,ghjatccjh,wethepeople,m123456789,wowsers,kbkbxrf,bulldog5,m_roesel,sissinit,yamoon6,123ewqasd,dangel,miruvor79,kaytee,falcon7,bandit11,dotnet,dannii,arsenal9,miatamx5,1trouble,strip4me,dogpile,sexyred1,rjdfktdf,google10,shortman,crystal7,awesome123,cowdog,haruka,birthday28,jitter,diabolik,boomer12,dknight,bluewate,hockey123,crm0624,blueboys,willy123,jumpup,google2,cobra777,llabesab,vicelord,hopper1,gerryber,remmah,j10e5d4,qqqqqqw,agusti,fre_ak8yj,nahlik,redrobin,scott3,epson1,dumpy,bundao,aniolek,hola123,jergens,itsasecret,maxsam,bluelight,mountai1,bongwater,1london,pepper14,freeuse,dereks,qweqw,fordgt40,rfhfdfy,raider12,hunnybun,compac,splicer,megamon,tuffgong,gymnast1,butter11,modaddy,wapbbs_1,dandelio,soccer77,ghjnbdjcnjzybt,123xyi2,fishead,x002tp00,whodaman,555aaa,oussama,brunodog,technici,pmtgjnbl,qcxdw8ry,schweden,redsox3,throbber,collecto,japan10,dbm123dm,hellhoun,tech1,deadzone,kahlan,wolf123,dethklok,xzsawq,bigguy1,cybrthc,chandle,buck01,qq123123,secreta,williams1,c32649135,delta12,flash33,123joker,spacejam,polopo,holycrap,daman1,tummybed,financia,nusrat,euroline,magicone,jimkirk,ameritec,daniel26,sevenn,topazz,kingpins,dima1991,macdog,spencer5,oi812,geoffre,music11,baffle,123569,usagi,cassiope,polla,lilcrowe,thecakeisalie,vbhjndjhtw,vthokies,oldmans,sophie01,ghoster,penny2,129834,locutus1,meesha,magik,jerry69,daddysgirl,irondesk,andrey12,jasmine123,vepsrfyn,likesdick,1accord,jetboat,grafix,tomuch,showit,protozoa,mosias98,taburetka,blaze420,esenin,anal69,zhv84kv,puissant,charles0,aishwarya,babylon6,bitter1,lenina,raleigh1,lechat,access01,kamilka,fynjy,sparkplu,daisy3112,choppe,zootsuit,1234567j,rubyrose,gorilla9,nightshade,alternativa,cghfdjxybr,snuggles1,10121v,vova1992,leonardo1,dave2,matthewd,vfhfnbr,1986mets,nobull,bacall,mexican1,juanjo,mafia1,boomer22,soylent,edwards1,jordan10,blackwid,alex86,gemini13,lunar2,dctvcjcfnm,malaki,plugger,eagles11,snafu2,1shelly,cintaku,hannah22,tbird1,maks5843,irish88,homer22,amarok,fktrcfylhjdf,lincoln2,acess,gre69kik,need4speed,hightech,core2duo,blunt1,ublhjgjybrf,dragon33,1autopas,autopas1,wwww1,15935746,daniel20,2500aa,massim,1ggggggg,96ford,hardcor1,cobra5,blackdragon,vovan_lt,orochimaru,hjlbntkb,qwertyuiop12,tallen,paradoks,frozenfish,ghjuhfvvbcn,gerri1,nuggett,camilit,doright,trans1,serena1,catch2,bkmyeh,fireston,afhvfwtdn,purple3,figure8,fuckya,scamp1,laranja,ontheoutside,louis123,yellow7,moonwalk,mercury2,tolkein,raide,amenra,a13579,dranreb,5150vh,harish,tracksta,sexking,ozzmosis,katiee,alomar,matrix19,headroom,jahlove,ringding,apollo8,132546,132613,12345672000,saretta,135798,136666,thomas7,136913,onetwothree,hockey33,calida,nefertit,bitwise,tailhook,boop4,kfgecbr,bujhmbujhm,metal69,thedark,meteoro,felicia1,house12,tinuviel,istina,vaz2105,pimp13,toolfan,nina1,tuesday2,maxmotives,lgkp500,locksley,treech,darling1,kurama,aminka,ramin,redhed,dazzler,jager1,stpiliot,cardman,rfvtym,cheeser,14314314,paramoun,samcat,plumpy,stiffie,vsajyjr,panatha,qqq777,car12345,098poi,asdzx,keegan1,furelise,kalifornia,vbhjckfd,beast123,zcfvfzkexifz,harry5,1birdie,96328i,escola,extra330,henry12,gfhfyjqz,14u2nv,max1234,templar1,1dave,02588520,catrin,pangolin,marhaba,latin1,amorcito,dave22,escape1,advance1,yasuhiro,grepw,meetme,orange01,ernes,erdna,zsergn,nautica1,justinb,soundwav,miasma,greg78,nadine1,sexmad,lovebaby,promo1,excel1,babys,dragonma,camry1,sonnenschein,farooq,wazzkaprivet,magal,katinas,elvis99,redsox24,rooney1,chiefy,peggys,aliev,pilsung,mudhen,dontdoit,dennis12,supercal,energia,ballsout,funone,claudiu,brown2,amoco,dabl1125,philos,gjdtkbntkm,servette,13571113,whizzer,nollie,13467982,upiter,12string,bluejay1,silkie,william4,kosta1,143333,connor12,sustanon,06068,corporat,ssnake,laurita,king10,tahoes,arsenal123,sapato,charless,jeanmarc,levent,algerie,marine21,jettas,winsome,dctvgbplf,1701ab,xxxp455w0rd5,lllllll1,ooooooo1,monalis,koufax32,anastasya,debugger,sarita2,jason69,ufkxjyjr,gjlcnfdf,1jerry,daniel10,balinor,sexkitten,death2,qwertasdfgzxcvb,s9te949f,vegeta1,sysman,maxxam,dimabilan,mooose,ilovetit,june23,illest,doesit,mamou,abby12,longjump,transalp,moderato,littleguy,magritte,dilnoza,hawaiiguy,winbig,nemiroff,kokaine,admira,myemail,dream2,browneyes,destiny7,dragonss,suckme1,asa123,andranik,suckem,fleshbot,dandie,timmys,scitra,timdog,hasbeen,guesss,smellyfe,arachne,deutschl,harley88,birthday27,nobody1,papasmur,home1,jonass,bunia3,epatb1,embalm,vfvekmrf,apacer,12345656,estreet,weihnachtsbaum,mrwhite,admin12,kristie1,kelebek,yoda69,socken,tima123,bayern1,fktrcfylth,tamiya,99strenght,andy01,denis2011,19delta,stokecit,aotearoa,stalker2,nicnac,conrad1,popey,agusta,bowl36,1bigfish,mossyoak,1stunner,getinnow,jessejames,gkfnjy,drako,1nissan,egor123,hotness,1hawaii,zxc123456,cantstop,1peaches,madlen,west1234,jeter1,markis,judit,attack1,artemi,silver69,153246,crazy2,green9,yoshimi,1vette,chief123,jasper2,1sierra,twentyon,drstrang,aspirant,yannic,jenna123,bongtoke,slurpy,1sugar,civic97,rusty21,shineon,james19,anna12345,wonderwoman,1kevin,karol1,kanabis,wert21,fktif6115,evil1,kakaha,54gv768,826248s,tyrone1,1winston,sugar2,falcon01,adelya,mopar440,zasxcd,leecher,kinkysex,mercede1,travka,11234567,rebon,geekboy".split(","),english_wikipedia:"the,of,and,in,was,is,for,as,on,with,by,he,at,from,his,an,were,are,which,doc,https,also,or,has,had,first,one,their,its,after,new,who,they,two,her,she,been,other,when,time,during,there,into,school,more,may,years,over,only,year,most,would,world,city,some,where,between,later,three,state,such,then,national,used,made,known,under,many,university,united,while,part,season,team,these,american,than,film,second,born,south,became,states,war,through,being,including,both,before,north,high,however,people,family,early,history,album,area,them,series,against,until,since,district,county,name,work,life,group,music,following,number,company,several,four,called,played,released,career,league,game,government,house,each,based,day,same,won,use,station,club,international,town,located,population,general,college,east,found,age,march,end,september,began,home,public,church,line,june,river,member,system,place,century,band,july,york,january,october,song,august,best,former,british,party,named,held,village,show,local,november,took,service,december,built,another,major,within,along,members,five,single,due,although,small,old,left,final,large,include,building,served,president,received,games,death,february,main,third,set,children,own,order,species,park,law,air,published,road,died,book,men,women,army,often,according,education,central,country,division,english,top,included,development,french,community,among,water,play,side,list,times,near,late,form,original,different,center,power,led,students,german,moved,court,six,land,council,island,u.s.,record,million,research,art,established,award,street,military,television,given,region,support,western,production,non,political,point,cup,period,business,title,started,various,election,using,england,role,produced,become,program,works,field,total,office,class,written,association,radio,union,level,championship,director,few,force,created,department,founded,services,married,though,per,n't,site,open,act,short,society,version,royal,present,northern,worked,professional,full,returned,joined,story,france,european,currently,language,social,california,india,days,design,st.,further,round,australia,wrote,san,project,control,southern,railway,board,popular,continued,free,battle,considered,video,common,position,living,half,playing,recorded,red,post,described,average,records,special,modern,appeared,announced,areas,rock,release,elected,others,example,term,opened,similar,formed,route,census,current,schools,originally,lake,developed,race,himself,forces,addition,information,upon,province,match,event,songs,result,events,win,eastern,track,lead,teams,science,human,construction,minister,germany,awards,available,throughout,training,style,body,museum,australian,health,seven,signed,chief,eventually,appointed,sea,centre,debut,tour,points,media,light,range,character,across,features,families,largest,indian,network,less,performance,players,refer,europe,sold,festival,usually,taken,despite,designed,committee,process,return,official,episode,institute,stage,followed,performed,japanese,personal,thus,arts,space,low,months,includes,china,study,middle,magazine,leading,japan,groups,aircraft,featured,federal,civil,rights,model,coach,canadian,books,remained,eight,type,independent,completed,capital,academy,instead,kingdom,organization,countries,studies,competition,sports,size,above,section,finished,gold,involved,reported,management,systems,industry,directed,market,fourth,movement,technology,bank,ground,campaign,base,lower,sent,rather,added,provided,coast,grand,historic,valley,conference,bridge,winning,approximately,films,chinese,awarded,degree,russian,shows,native,female,replaced,municipality,square,studio,medical,data,african,successful,mid,bay,attack,previous,operations,spanish,theatre,student,republic,beginning,provide,ship,primary,owned,writing,tournament,culture,introduced,texas,related,natural,parts,governor,reached,ireland,units,senior,decided,italian,whose,higher,africa,standard,income,professor,placed,regional,los,buildings,championships,active,novel,energy,generally,interest,via,economic,previously,stated,itself,channel,below,operation,leader,traditional,trade,structure,limited,runs,prior,regular,famous,saint,navy,foreign,listed,artist,catholic,airport,results,parliament,collection,unit,officer,goal,attended,command,staff,commission,lived,location,plays,commercial,places,foundation,significant,older,medal,self,scored,companies,highway,activities,programs,wide,musical,notable,library,numerous,paris,towards,individual,allowed,plant,property,annual,contract,whom,highest,initially,required,earlier,assembly,artists,rural,seat,practice,defeated,ended,soviet,length,spent,manager,press,associated,author,issues,additional,characters,lord,zealand,policy,engine,township,noted,historical,complete,financial,religious,mission,contains,nine,recent,represented,pennsylvania,administration,opening,secretary,lines,report,executive,youth,closed,theory,writer,italy,angeles,appearance,feature,queen,launched,legal,terms,entered,issue,edition,singer,greek,majority,background,source,anti,cultural,complex,changes,recording,stadium,islands,operated,particularly,basketball,month,uses,port,castle,mostly,names,fort,selected,increased,status,earth,subsequently,pacific,cover,variety,certain,goals,remains,upper,congress,becoming,studied,irish,nature,particular,loss,caused,chart,dr.,forced,create,era,retired,material,review,rate,singles,referred,larger,individuals,shown,provides,products,speed,democratic,poland,parish,olympics,cities,themselves,temple,wing,genus,households,serving,cost,wales,stations,passed,supported,view,cases,forms,actor,male,matches,males,stars,tracks,females,administrative,median,effect,biography,train,engineering,camp,offered,chairman,houses,mainly,19th,surface,therefore,nearly,score,ancient,subject,prime,seasons,claimed,experience,specific,jewish,failed,overall,believed,plot,troops,greater,spain,consists,broadcast,heavy,increase,raised,separate,campus,1980s,appears,presented,lies,composed,recently,influence,fifth,nations,creek,references,elections,britain,double,cast,meaning,earned,carried,producer,latter,housing,brothers,attempt,article,response,border,remaining,nearby,direct,ships,value,workers,politician,academic,label,1970s,commander,rule,fellow,residents,authority,editor,transport,dutch,projects,responsible,covered,territory,flight,races,defense,tower,emperor,albums,facilities,daily,stories,assistant,managed,primarily,quality,function,proposed,distribution,conditions,prize,journal,code,vice,newspaper,corps,highly,constructed,mayor,critical,secondary,corporation,rugby,regiment,ohio,appearances,serve,allow,nation,multiple,discovered,directly,scene,levels,growth,elements,acquired,1990s,officers,physical,20th,latin,host,jersey,graduated,arrived,issued,literature,metal,estate,vote,immediately,quickly,asian,competed,extended,produce,urban,1960s,promoted,contemporary,global,formerly,appear,industrial,types,opera,ministry,soldiers,commonly,mass,formation,smaller,typically,drama,shortly,density,senate,effects,iran,polish,prominent,naval,settlement,divided,basis,republican,languages,distance,treatment,continue,product,mile,sources,footballer,format,clubs,leadership,initial,offers,operating,avenue,officially,columbia,grade,squadron,fleet,percent,farm,leaders,agreement,likely,equipment,website,mount,grew,method,transferred,intended,renamed,iron,asia,reserve,capacity,politics,widely,activity,advanced,relations,scottish,dedicated,crew,founder,episodes,lack,amount,build,efforts,concept,follows,ordered,leaves,positive,economy,entertainment,affairs,memorial,ability,illinois,communities,color,text,railroad,scientific,focus,comedy,serves,exchange,environment,cars,direction,organized,firm,description,agency,analysis,purpose,destroyed,reception,planned,revealed,infantry,architecture,growing,featuring,household,candidate,removed,situated,models,knowledge,solo,technical,organizations,assigned,conducted,participated,largely,purchased,register,gained,combined,headquarters,adopted,potential,protection,scale,approach,spread,independence,mountains,titled,geography,applied,safety,mixed,accepted,continues,captured,rail,defeat,principal,recognized,lieutenant,mentioned,semi,owner,joint,liberal,actress,traffic,creation,basic,notes,unique,supreme,declared,simply,plants,sales,massachusetts,designated,parties,jazz,compared,becomes,resources,titles,concert,learning,remain,teaching,versions,content,alongside,revolution,sons,block,premier,impact,champions,districts,generation,estimated,volume,image,sites,account,roles,sport,quarter,providing,zone,yard,scoring,classes,presence,performances,representatives,hosted,split,taught,origin,olympic,claims,critics,facility,occurred,suffered,municipal,damage,defined,resulted,respectively,expanded,platform,draft,opposition,expected,educational,ontario,climate,reports,atlantic,surrounding,performing,reduced,ranked,allows,birth,nominated,younger,newly,kong,positions,theater,philadelphia,heritage,finals,disease,sixth,laws,reviews,constitution,tradition,swedish,theme,fiction,rome,medicine,trains,resulting,existing,deputy,environmental,labour,classical,develop,fans,granted,receive,alternative,begins,nuclear,fame,buried,connected,identified,palace,falls,letters,combat,sciences,effort,villages,inspired,regions,towns,conservative,chosen,animals,labor,attacks,materials,yards,steel,representative,orchestra,peak,entitled,officials,returning,reference,northwest,imperial,convention,examples,ocean,publication,painting,subsequent,frequently,religion,brigade,fully,sides,acts,cemetery,relatively,oldest,suggested,succeeded,achieved,application,programme,cells,votes,promotion,graduate,armed,supply,flying,communist,figures,literary,netherlands,korea,worldwide,citizens,1950s,faculty,draw,stock,seats,occupied,methods,unknown,articles,claim,holds,authorities,audience,sweden,interview,obtained,covers,settled,transfer,marked,allowing,funding,challenge,southeast,unlike,crown,rise,portion,transportation,sector,phase,properties,edge,tropical,standards,institutions,philosophy,legislative,hills,brand,fund,conflict,unable,founding,refused,attempts,metres,permanent,starring,applications,creating,effective,aired,extensive,employed,enemy,expansion,billboard,rank,battalion,multi,vehicle,fought,alliance,category,perform,federation,poetry,bronze,bands,entry,vehicles,bureau,maximum,billion,trees,intelligence,greatest,screen,refers,commissioned,gallery,injury,confirmed,setting,treaty,adult,americans,broadcasting,supporting,pilot,mobile,writers,programming,existence,squad,minnesota,copies,korean,provincial,sets,defence,offices,agricultural,internal,core,northeast,retirement,factory,actions,prevent,communications,ending,weekly,containing,functions,attempted,interior,weight,bowl,recognition,incorporated,increasing,ultimately,documentary,derived,attacked,lyrics,mexican,external,churches,centuries,metropolitan,selling,opposed,personnel,mill,visited,presidential,roads,pieces,norwegian,controlled,18th,rear,influenced,wrestling,weapons,launch,composer,locations,developing,circuit,specifically,studios,shared,canal,wisconsin,publishing,approved,domestic,consisted,determined,comic,establishment,exhibition,southwest,fuel,electronic,cape,converted,educated,melbourne,hits,wins,producing,norway,slightly,occur,surname,identity,represent,constituency,funds,proved,links,structures,athletic,birds,contest,users,poet,institution,display,receiving,rare,contained,guns,motion,piano,temperature,publications,passenger,contributed,toward,cathedral,inhabitants,architect,exist,athletics,muslim,courses,abandoned,signal,successfully,disambiguation,tennessee,dynasty,heavily,maryland,jews,representing,budget,weather,missouri,introduction,faced,pair,chapel,reform,height,vietnam,occurs,motor,cambridge,lands,focused,sought,patients,shape,invasion,chemical,importance,communication,selection,regarding,homes,voivodeship,maintained,borough,failure,aged,passing,agriculture,oregon,teachers,flow,philippines,trail,seventh,portuguese,resistance,reaching,negative,fashion,scheduled,downtown,universities,trained,skills,scenes,views,notably,typical,incident,candidates,engines,decades,composition,commune,chain,inc.,austria,sale,values,employees,chamber,regarded,winners,registered,task,investment,colonial,swiss,user,entirely,flag,stores,closely,entrance,laid,journalist,coal,equal,causes,turkish,quebec,techniques,promote,junction,easily,dates,kentucky,singapore,residence,violence,advance,survey,humans,expressed,passes,streets,distinguished,qualified,folk,establish,egypt,artillery,visual,improved,actual,finishing,medium,protein,switzerland,productions,operate,poverty,neighborhood,organisation,consisting,consecutive,sections,partnership,extension,reaction,factor,costs,bodies,device,ethnic,racial,flat,objects,chapter,improve,musicians,courts,controversy,membership,merged,wars,expedition,interests,arab,comics,gain,describes,mining,bachelor,crisis,joining,decade,1930s,distributed,habitat,routes,arena,cycle,divisions,briefly,vocals,directors,degrees,object,recordings,installed,adjacent,demand,voted,causing,businesses,ruled,grounds,starred,drawn,opposite,stands,formal,operates,persons,counties,compete,wave,israeli,ncaa,resigned,brief,greece,combination,demographics,historian,contain,commonwealth,musician,collected,argued,louisiana,session,cabinet,parliamentary,electoral,loan,profit,regularly,conservation,islamic,purchase,17th,charts,residential,earliest,designs,paintings,survived,moth,items,goods,grey,anniversary,criticism,images,discovery,observed,underground,progress,additionally,participate,thousands,reduce,elementary,owners,stating,iraq,resolution,capture,tank,rooms,hollywood,finance,queensland,reign,maintain,iowa,landing,broad,outstanding,circle,path,manufacturing,assistance,sequence,gmina,crossing,leads,universal,shaped,kings,attached,medieval,ages,metro,colony,affected,scholars,oklahoma,coastal,soundtrack,painted,attend,definition,meanwhile,purposes,trophy,require,marketing,popularity,cable,mathematics,mississippi,represents,scheme,appeal,distinct,factors,acid,subjects,roughly,terminal,economics,senator,diocese,prix,contrast,argentina,czech,wings,relief,stages,duties,16th,novels,accused,whilst,equivalent,charged,measure,documents,couples,request,danish,defensive,guide,devices,statistics,credited,tries,passengers,allied,frame,puerto,peninsula,concluded,instruments,wounded,differences,associate,forests,afterwards,replace,requirements,aviation,solution,offensive,ownership,inner,legislation,hungarian,contributions,actors,translated,denmark,steam,depending,aspects,assumed,injured,severe,admitted,determine,shore,technique,arrival,measures,translation,debuted,delivered,returns,rejected,separated,visitors,damaged,storage,accompanied,markets,industries,losses,gulf,charter,strategy,corporate,socialist,somewhat,significantly,physics,mounted,satellite,experienced,constant,relative,pattern,restored,belgium,connecticut,partners,harvard,retained,networks,protected,mode,artistic,parallel,collaboration,debate,involving,journey,linked,salt,authors,components,context,occupation,requires,occasionally,policies,tamil,ottoman,revolutionary,hungary,poem,versus,gardens,amongst,audio,makeup,frequency,meters,orthodox,continuing,suggests,legislature,coalition,guitarist,eighth,classification,practices,soil,tokyo,instance,limit,coverage,considerable,ranking,colleges,cavalry,centers,daughters,twin,equipped,broadway,narrow,hosts,rates,domain,boundary,arranged,12th,whereas,brazilian,forming,rating,strategic,competitions,trading,covering,baltimore,commissioner,infrastructure,origins,replacement,praised,disc,collections,expression,ukraine,driven,edited,austrian,solar,ensure,premiered,successor,wooden,operational,hispanic,concerns,rapid,prisoners,childhood,meets,influential,tunnel,employment,tribe,qualifying,adapted,temporary,celebrated,appearing,increasingly,depression,adults,cinema,entering,laboratory,script,flows,romania,accounts,fictional,pittsburgh,achieve,monastery,franchise,formally,tools,newspapers,revival,sponsored,processes,vienna,springs,missions,classified,13th,annually,branches,lakes,gender,manner,advertising,normally,maintenance,adding,characteristics,integrated,decline,modified,strongly,critic,victims,malaysia,arkansas,nazi,restoration,powered,monument,hundreds,depth,15th,controversial,admiral,criticized,brick,honorary,initiative,output,visiting,birmingham,progressive,existed,carbon,1920s,credits,colour,rising,hence,defeating,superior,filmed,listing,column,surrounded,orleans,principles,territories,struck,participation,indonesia,movements,index,commerce,conduct,constitutional,spiritual,ambassador,vocal,completion,edinburgh,residing,tourism,finland,bears,medals,resident,themes,visible,indigenous,involvement,basin,electrical,ukrainian,concerts,boats,styles,processing,rival,drawing,vessels,experimental,declined,touring,supporters,compilation,coaching,cited,dated,roots,string,explained,transit,traditionally,poems,minimum,representation,14th,releases,effectively,architectural,triple,indicated,greatly,elevation,clinical,printed,10th,proposal,peaked,producers,romanized,rapidly,stream,innings,meetings,counter,householder,honour,lasted,agencies,document,exists,surviving,experiences,honors,landscape,hurricane,harbor,panel,competing,profile,vessel,farmers,lists,revenue,exception,customers,11th,participants,wildlife,utah,bible,gradually,preserved,replacing,symphony,begun,longest,siege,provinces,mechanical,genre,transmission,agents,executed,videos,benefits,funded,rated,instrumental,ninth,similarly,dominated,destruction,passage,technologies,thereafter,outer,facing,affiliated,opportunities,instrument,governments,scholar,evolution,channels,shares,sessions,widespread,occasions,engineers,scientists,signing,battery,competitive,alleged,eliminated,supplies,judges,hampshire,regime,portrayed,penalty,taiwan,denied,submarine,scholarship,substantial,transition,victorian,http,nevertheless,filed,supports,continental,tribes,ratio,doubles,useful,honours,blocks,principle,retail,departure,ranks,patrol,yorkshire,vancouver,inter,extent,afghanistan,strip,railways,component,organ,symbol,categories,encouraged,abroad,civilian,periods,traveled,writes,struggle,immediate,recommended,adaptation,egyptian,graduating,assault,drums,nomination,historically,voting,allies,detailed,achievement,percentage,arabic,assist,frequent,toured,apply,and/or,intersection,maine,touchdown,throne,produces,contribution,emerged,obtain,archbishop,seek,researchers,remainder,populations,clan,finnish,overseas,fifa,licensed,chemistry,festivals,mediterranean,injuries,animated,seeking,publisher,volumes,limits,venue,jerusalem,generated,trials,islam,youngest,ruling,glasgow,germans,songwriter,persian,municipalities,donated,viewed,belgian,cooperation,posted,tech,dual,volunteer,settlers,commanded,claiming,approval,delhi,usage,terminus,partly,electricity,locally,editions,premiere,absence,belief,traditions,statue,indicate,manor,stable,attributed,possession,managing,viewers,chile,overview,seed,regulations,essential,minority,cargo,segment,endemic,forum,deaths,monthly,playoffs,erected,practical,machines,suburb,relation,mrs.,descent,indoor,continuous,characterized,solutions,caribbean,rebuilt,serbian,summary,contested,psychology,pitch,attending,muhammad,tenure,drivers,diameter,assets,venture,punk,airlines,concentration,athletes,volunteers,pages,mines,influences,sculpture,protest,ferry,behalf,drafted,apparent,furthermore,ranging,romanian,democracy,lanka,significance,linear,d.c.,certified,voters,recovered,tours,demolished,boundaries,assisted,identify,grades,elsewhere,mechanism,1940s,reportedly,aimed,conversion,suspended,photography,departments,beijing,locomotives,publicly,dispute,magazines,resort,conventional,platforms,internationally,capita,settlements,dramatic,derby,establishing,involves,statistical,implementation,immigrants,exposed,diverse,layer,vast,ceased,connections,belonged,interstate,uefa,organised,abuse,deployed,cattle,partially,filming,mainstream,reduction,automatic,rarely,subsidiary,decides,merger,comprehensive,displayed,amendment,guinea,exclusively,manhattan,concerning,commons,radical,serbia,baptist,buses,initiated,portrait,harbour,choir,citizen,sole,unsuccessful,manufactured,enforcement,connecting,increases,patterns,sacred,muslims,clothing,hindu,unincorporated,sentenced,advisory,tanks,campaigns,fled,repeated,remote,rebellion,implemented,texts,fitted,tribute,writings,sufficient,ministers,21st,devoted,jurisdiction,coaches,interpretation,pole,businessman,peru,sporting,prices,cuba,relocated,opponent,arrangement,elite,manufacturer,responded,suitable,distinction,calendar,dominant,tourist,earning,prefecture,ties,preparation,anglo,pursue,worship,archaeological,chancellor,bangladesh,scores,traded,lowest,horror,outdoor,biology,commented,specialized,loop,arriving,farming,housed,historians,'the,patent,pupils,christianity,opponents,athens,northwestern,maps,promoting,reveals,flights,exclusive,lions,norfolk,hebrew,extensively,eldest,shops,acquisition,virtual,renowned,margin,ongoing,essentially,iranian,alternate,sailed,reporting,conclusion,originated,temperatures,exposure,secured,landed,rifle,framework,identical,martial,focuses,topics,ballet,fighters,belonging,wealthy,negotiations,evolved,bases,oriented,acres,democrat,heights,restricted,vary,graduation,aftermath,chess,illness,participating,vertical,collective,immigration,demonstrated,leaf,completing,organic,missile,leeds,eligible,grammar,confederate,improvement,congressional,wealth,cincinnati,spaces,indicates,corresponding,reaches,repair,isolated,taxes,congregation,ratings,leagues,diplomatic,submitted,winds,awareness,photographs,maritime,nigeria,accessible,animation,restaurants,philippine,inaugural,dismissed,armenian,illustrated,reservoir,speakers,programmes,resource,genetic,interviews,camps,regulation,computers,preferred,travelled,comparison,distinctive,recreation,requested,southeastern,dependent,brisbane,breeding,playoff,expand,bonus,gauge,departed,qualification,inspiration,shipping,slaves,variations,shield,theories,munich,recognised,emphasis,favour,variable,seeds,undergraduate,territorial,intellectual,qualify,mini,banned,pointed,democrats,assessment,judicial,examination,attempting,objective,partial,characteristic,hardware,pradesh,execution,ottawa,metre,drum,exhibitions,withdrew,attendance,phrase,journalism,logo,measured,error,christians,trio,protestant,theology,respective,atmosphere,buddhist,substitute,curriculum,fundamental,outbreak,rabbi,intermediate,designation,globe,liberation,simultaneously,diseases,experiments,locomotive,difficulties,mainland,nepal,relegated,contributing,database,developments,veteran,carries,ranges,instruction,lodge,protests,obama,newcastle,experiment,physician,describing,challenges,corruption,delaware,adventures,ensemble,succession,renaissance,tenth,altitude,receives,approached,crosses,syria,croatia,warsaw,professionals,improvements,worn,airline,compound,permitted,preservation,reducing,printing,scientist,activist,comprises,sized,societies,enters,ruler,gospel,earthquake,extend,autonomous,croatian,serial,decorated,relevant,ideal,grows,grass,tier,towers,wider,welfare,columns,alumni,descendants,interface,reserves,banking,colonies,manufacturers,magnetic,closure,pitched,vocalist,preserve,enrolled,cancelled,equation,2000s,nickname,bulgaria,heroes,exile,mathematical,demands,input,structural,tube,stem,approaches,argentine,axis,manuscript,inherited,depicted,targets,visits,veterans,regard,removal,efficiency,organisations,concepts,lebanon,manga,petersburg,rally,supplied,amounts,yale,tournaments,broadcasts,signals,pilots,azerbaijan,architects,enzyme,literacy,declaration,placing,batting,incumbent,bulgarian,consistent,poll,defended,landmark,southwestern,raid,resignation,travels,casualties,prestigious,namely,aims,recipient,warfare,readers,collapse,coached,controls,volleyball,coup,lesser,verse,pairs,exhibited,proteins,molecular,abilities,integration,consist,aspect,advocate,administered,governing,hospitals,commenced,coins,lords,variation,resumed,canton,artificial,elevated,palm,difficulty,civic,efficient,northeastern,inducted,radiation,affiliate,boards,stakes,byzantine,consumption,freight,interaction,oblast,numbered,seminary,contracts,extinct,predecessor,bearing,cultures,functional,neighboring,revised,cylinder,grants,narrative,reforms,athlete,tales,reflect,presidency,compositions,specialist,cricketer,founders,sequel,widow,disbanded,associations,backed,thereby,pitcher,commanding,boulevard,singers,crops,militia,reviewed,centres,waves,consequently,fortress,tributary,portions,bombing,excellence,nest,payment,mars,plaza,unity,victories,scotia,farms,nominations,variant,attacking,suspension,installation,graphics,estates,comments,acoustic,destination,venues,surrender,retreat,libraries,quarterback,customs,berkeley,collaborated,gathered,syndrome,dialogue,recruited,shanghai,neighbouring,psychological,saudi,moderate,exhibit,innovation,depot,binding,brunswick,situations,certificate,actively,shakespeare,editorial,presentation,ports,relay,nationalist,methodist,archives,experts,maintains,collegiate,bishops,maintaining,temporarily,embassy,essex,wellington,connects,reformed,bengal,recalled,inches,doctrine,deemed,legendary,reconstruction,statements,palestinian,meter,achievements,riders,interchange,spots,auto,accurate,chorus,dissolved,missionary,thai,operators,e.g.,generations,failing,delayed,cork,nashville,perceived,venezuela,cult,emerging,tomb,abolished,documented,gaining,canyon,episcopal,stored,assists,compiled,kerala,kilometers,mosque,grammy,theorem,unions,segments,glacier,arrives,theatrical,circulation,conferences,chapters,displays,circular,authored,conductor,fewer,dimensional,nationwide,liga,yugoslavia,peer,vietnamese,fellowship,armies,regardless,relating,dynamic,politicians,mixture,serie,somerset,imprisoned,posts,beliefs,beta,layout,independently,electronics,provisions,fastest,logic,headquartered,creates,challenged,beaten,appeals,plains,protocol,graphic,accommodate,iraqi,midfielder,span,commentary,freestyle,reflected,palestine,lighting,burial,virtually,backing,prague,tribal,heir,identification,prototype,criteria,dame,arch,tissue,footage,extending,procedures,predominantly,updated,rhythm,preliminary,cafe,disorder,prevented,suburbs,discontinued,retiring,oral,followers,extends,massacre,journalists,conquest,larvae,pronounced,behaviour,diversity,sustained,addressed,geographic,restrictions,voiced,milwaukee,dialect,quoted,grid,nationally,nearest,roster,twentieth,separation,indies,manages,citing,intervention,guidance,severely,migration,artwork,focusing,rivals,trustees,varied,enabled,committees,centered,skating,slavery,cardinals,forcing,tasks,auckland,youtube,argues,colored,advisor,mumbai,requiring,theological,registration,refugees,nineteenth,survivors,runners,colleagues,priests,contribute,variants,workshop,concentrated,creator,lectures,temples,exploration,requirement,interactive,navigation,companion,perth,allegedly,releasing,citizenship,observation,stationed,ph.d.,sheep,breed,discovers,encourage,kilometres,journals,performers,isle,saskatchewan,hybrid,hotels,lancashire,dubbed,airfield,anchor,suburban,theoretical,sussex,anglican,stockholm,permanently,upcoming,privately,receiver,optical,highways,congo,colours,aggregate,authorized,repeatedly,varies,fluid,innovative,transformed,praise,convoy,demanded,discography,attraction,export,audiences,ordained,enlisted,occasional,westminster,syrian,heavyweight,bosnia,consultant,eventual,improving,aires,wickets,epic,reactions,scandal,i.e.,discrimination,buenos,patron,investors,conjunction,testament,construct,encountered,celebrity,expanding,georgian,brands,retain,underwent,algorithm,foods,provision,orbit,transformation,associates,tactical,compact,varieties,stability,refuge,gathering,moreover,manila,configuration,gameplay,discipline,entity,comprising,composers,skill,monitoring,ruins,museums,sustainable,aerial,altered,codes,voyage,friedrich,conflicts,storyline,travelling,conducting,merit,indicating,referendum,currency,encounter,particles,automobile,workshops,acclaimed,inhabited,doctorate,cuban,phenomenon,dome,enrollment,tobacco,governance,trend,equally,manufacture,hydrogen,grande,compensation,download,pianist,grain,shifted,neutral,evaluation,define,cycling,seized,array,relatives,motors,firms,varying,automatically,restore,nicknamed,findings,governed,investigate,manitoba,administrator,vital,integral,indonesian,confusion,publishers,enable,geographical,inland,naming,civilians,reconnaissance,indianapolis,lecturer,deer,tourists,exterior,rhode,bassist,symbols,scope,ammunition,yuan,poets,punjab,nursing,cent,developers,estimates,presbyterian,nasa,holdings,generate,renewed,computing,cyprus,arabia,duration,compounds,gastropod,permit,valid,touchdowns,facade,interactions,mineral,practiced,allegations,consequence,goalkeeper,baronet,copyright,uprising,carved,targeted,competitors,mentions,sanctuary,fees,pursued,tampa,chronicle,capabilities,specified,specimens,toll,accounting,limestone,staged,upgraded,philosophical,streams,guild,revolt,rainfall,supporter,princeton,terrain,hometown,probability,assembled,paulo,surrey,voltage,developer,destroyer,floors,lineup,curve,prevention,potentially,onwards,trips,imposed,hosting,striking,strict,admission,apartments,solely,utility,proceeded,observations,euro,incidents,vinyl,profession,haven,distant,expelled,rivalry,runway,torpedo,zones,shrine,dimensions,investigations,lithuania,idaho,pursuit,copenhagen,considerably,locality,wireless,decrease,genes,thermal,deposits,hindi,habitats,withdrawn,biblical,monuments,casting,plateau,thesis,managers,flooding,assassination,acknowledged,interim,inscription,guided,pastor,finale,insects,transported,activists,marshal,intensity,airing,cardiff,proposals,lifestyle,prey,herald,capitol,aboriginal,measuring,lasting,interpreted,occurring,desired,drawings,healthcare,panels,elimination,oslo,ghana,blog,sabha,intent,superintendent,governors,bankruptcy,p.m.,equity,disk,layers,slovenia,prussia,quartet,mechanics,graduates,politically,monks,screenplay,nato,absorbed,topped,petition,bold,morocco,exhibits,canterbury,publish,rankings,crater,dominican,enhanced,planes,lutheran,governmental,joins,collecting,brussels,unified,streak,strategies,flagship,surfaces,oval,archive,etymology,imprisonment,instructor,noting,remix,opposing,servant,rotation,width,trans,maker,synthesis,excess,tactics,snail,ltd.,lighthouse,sequences,cornwall,plantation,mythology,performs,foundations,populated,horizontal,speedway,activated,performer,diving,conceived,edmonton,subtropical,environments,prompted,semifinals,caps,bulk,treasury,recreational,telegraph,continent,portraits,relegation,catholics,graph,velocity,rulers,endangered,secular,observer,learns,inquiry,idol,dictionary,certification,estimate,cluster,armenia,observatory,revived,nadu,consumers,hypothesis,manuscripts,contents,arguments,editing,trails,arctic,essays,belfast,acquire,promotional,undertaken,corridor,proceedings,antarctic,millennium,labels,delegates,vegetation,acclaim,directing,substance,outcome,diploma,philosopher,malta,albanian,vicinity,degc,legends,regiments,consent,terrorist,scattered,presidents,gravity,orientation,deployment,duchy,refuses,estonia,crowned,separately,renovation,rises,wilderness,objectives,agreements,empress,slopes,inclusion,equality,decree,ballot,criticised,rochester,recurring,struggled,disabled,henri,poles,prussian,convert,bacteria,poorly,sudan,geological,wyoming,consistently,minimal,withdrawal,interviewed,proximity,repairs,initiatives,pakistani,republicans,propaganda,viii,abstract,commercially,availability,mechanisms,naples,discussions,underlying,lens,proclaimed,advised,spelling,auxiliary,attract,lithuanian,editors,o'brien,accordance,measurement,novelist,ussr,formats,councils,contestants,indie,facebook,parishes,barrier,battalions,sponsor,consulting,terrorism,implement,uganda,crucial,unclear,notion,distinguish,collector,attractions,filipino,ecology,investments,capability,renovated,iceland,albania,accredited,scouts,armor,sculptor,cognitive,errors,gaming,condemned,successive,consolidated,baroque,entries,regulatory,reserved,treasurer,variables,arose,technological,rounded,provider,rhine,agrees,accuracy,genera,decreased,frankfurt,ecuador,edges,particle,rendered,calculated,careers,faction,rifles,americas,gaelic,portsmouth,resides,merchants,fiscal,premises,coin,draws,presenter,acceptance,ceremonies,pollution,consensus,membrane,brigadier,nonetheless,genres,supervision,predicted,magnitude,finite,differ,ancestry,vale,delegation,removing,proceeds,placement,emigrated,siblings,molecules,payments,considers,demonstration,proportion,newer,valve,achieving,confederation,continuously,luxury,notre,introducing,coordinates,charitable,squadrons,disorders,geometry,winnipeg,ulster,loans,longtime,receptor,preceding,belgrade,mandate,wrestler,neighbourhood,factories,buddhism,imported,sectors,protagonist,steep,elaborate,prohibited,artifacts,prizes,pupil,cooperative,sovereign,subspecies,carriers,allmusic,nationals,settings,autobiography,neighborhoods,analog,facilitate,voluntary,jointly,newfoundland,organizing,raids,exercises,nobel,machinery,baltic,crop,granite,dense,websites,mandatory,seeks,surrendered,anthology,comedian,bombs,slot,synopsis,critically,arcade,marking,equations,halls,indo,inaugurated,embarked,speeds,clause,invention,premiership,likewise,presenting,demonstrate,designers,organize,examined,km/h,bavaria,troop,referee,detection,zurich,prairie,rapper,wingspan,eurovision,luxembourg,slovakia,inception,disputed,mammals,entrepreneur,makers,evangelical,yield,clergy,trademark,defunct,allocated,depicting,volcanic,batted,conquered,sculptures,providers,reflects,armoured,locals,walt,herzegovina,contracted,entities,sponsorship,prominence,flowing,ethiopia,marketed,corporations,withdraw,carnegie,induced,investigated,portfolio,flowering,opinions,viewing,classroom,donations,bounded,perception,leicester,fruits,charleston,academics,statute,complaints,smallest,deceased,petroleum,resolved,commanders,algebra,southampton,modes,cultivation,transmitter,spelled,obtaining,sizes,acre,pageant,bats,abbreviated,correspondence,barracks,feast,tackles,raja,derives,geology,disputes,translations,counted,constantinople,seating,macedonia,preventing,accommodation,homeland,explored,invaded,provisional,transform,sphere,unsuccessfully,missionaries,conservatives,highlights,traces,organisms,openly,dancers,fossils,absent,monarchy,combining,lanes,stint,dynamics,chains,missiles,screening,module,tribune,generating,miners,nottingham,seoul,unofficial,owing,linking,rehabilitation,citation,louisville,mollusk,depicts,differential,zimbabwe,kosovo,recommendations,responses,pottery,scorer,aided,exceptions,dialects,telecommunications,defines,elderly,lunar,coupled,flown,25th,espn,formula_1,bordered,fragments,guidelines,gymnasium,valued,complexity,papal,presumably,maternal,challenging,reunited,advancing,comprised,uncertain,favorable,twelfth,correspondent,nobility,livestock,expressway,chilean,tide,researcher,emissions,profits,lengths,accompanying,witnessed,itunes,drainage,slope,reinforced,feminist,sanskrit,develops,physicians,outlets,isbn,coordinator,averaged,termed,occupy,diagnosed,yearly,humanitarian,prospect,spacecraft,stems,enacted,linux,ancestors,karnataka,constitute,immigrant,thriller,ecclesiastical,generals,celebrations,enhance,heating,advocated,evident,advances,bombardment,watershed,shuttle,wicket,twitter,adds,branded,teaches,schemes,pension,advocacy,conservatory,cairo,varsity,freshwater,providence,seemingly,shells,cuisine,specially,peaks,intensive,publishes,trilogy,skilled,nacional,unemployment,destinations,parameters,verses,trafficking,determination,infinite,savings,alignment,linguistic,countryside,dissolution,measurements,advantages,licence,subfamily,highlands,modest,regent,algeria,crest,teachings,knockout,brewery,combine,conventions,descended,chassis,primitive,fiji,explicitly,cumberland,uruguay,laboratories,bypass,elect,informal,preceded,holocaust,tackle,minneapolis,quantity,securities,console,doctoral,religions,commissioners,expertise,unveiled,precise,diplomat,standings,infant,disciplines,sicily,endorsed,systematic,charted,armored,mild,lateral,townships,hurling,prolific,invested,wartime,compatible,galleries,moist,battlefield,decoration,convent,tubes,terrestrial,nominee,requests,delegate,leased,dubai,polar,applying,addresses,munster,sings,commercials,teamed,dances,eleventh,midland,cedar,flee,sandstone,snails,inspection,divide,asset,themed,comparable,paramount,dairy,archaeology,intact,institutes,rectangular,instances,phases,reflecting,substantially,applies,vacant,lacked,copa,coloured,encounters,sponsors,encoded,possess,revenues,ucla,chaired,a.m.,enabling,playwright,stoke,sociology,tibetan,frames,motto,financing,illustrations,gibraltar,chateau,bolivia,transmitted,enclosed,persuaded,urged,folded,suffolk,regulated,bros.,submarines,myth,oriental,malaysian,effectiveness,narrowly,acute,sunk,replied,utilized,tasmania,consortium,quantities,gains,parkway,enlarged,sided,employers,adequate,accordingly,assumption,ballad,mascot,distances,peaking,saxony,projected,affiliation,limitations,metals,guatemala,scots,theaters,kindergarten,verb,employer,differs,discharge,controller,seasonal,marching,guru,campuses,avoided,vatican,maori,excessive,chartered,modifications,caves,monetary,sacramento,mixing,institutional,celebrities,irrigation,shapes,broadcaster,anthem,attributes,demolition,offshore,specification,surveys,yugoslav,contributor,auditorium,lebanese,capturing,airports,classrooms,chennai,paths,tendency,determining,lacking,upgrade,sailors,detected,kingdoms,sovereignty,freely,decorative,momentum,scholarly,georges,gandhi,speculation,transactions,undertook,interact,similarities,cove,teammate,constituted,painters,tends,madagascar,partnerships,afghan,personalities,attained,rebounds,masses,synagogue,reopened,asylum,embedded,imaging,catalogue,defenders,taxonomy,fiber,afterward,appealed,communists,lisbon,rica,judaism,adviser,batsman,ecological,commands,lgbt,cooling,accessed,wards,shiva,employs,thirds,scenic,worcester,tallest,contestant,humanities,economist,textile,constituencies,motorway,tram,percussion,cloth,leisure,1880s,baden,flags,resemble,riots,coined,sitcom,composite,implies,daytime,tanzania,penalties,optional,competitor,excluded,steering,reversed,autonomy,reviewer,breakthrough,professionally,damages,pomeranian,deputies,valleys,ventures,highlighted,electorate,mapping,shortened,executives,tertiary,specimen,launching,bibliography,sank,pursuing,binary,descendant,marched,natives,ideology,turks,adolf,archdiocese,tribunal,exceptional,nigerian,preference,fails,loading,comeback,vacuum,favored,alter,remnants,consecrated,spectators,trends,patriarch,feedback,paved,sentences,councillor,astronomy,advocates,broader,commentator,commissions,identifying,revealing,theatres,incomplete,enables,constituent,reformation,tract,haiti,atmospheric,screened,explosive,czechoslovakia,acids,symbolic,subdivision,liberals,incorporate,challenger,erie,filmmaker,laps,kazakhstan,organizational,evolutionary,chemicals,dedication,riverside,fauna,moths,maharashtra,annexed,gen.,resembles,underwater,garnered,timeline,remake,suited,educator,hectares,automotive,feared,latvia,finalist,narrator,portable,airways,plaque,designing,villagers,licensing,flank,statues,struggles,deutsche,migrated,cellular,jacksonville,wimbledon,defining,highlight,preparatory,planets,cologne,employ,frequencies,detachment,readily,libya,resign,halt,helicopters,reef,landmarks,collaborative,irregular,retaining,helsinki,folklore,weakened,viscount,interred,professors,memorable,mega,repertoire,rowing,dorsal,albeit,progressed,operative,coronation,liner,telugu,domains,philharmonic,detect,bengali,synthetic,tensions,atlas,dramatically,paralympics,xbox,shire,kiev,lengthy,sued,notorious,seas,screenwriter,transfers,aquatic,pioneers,unesco,radius,abundant,tunnels,syndicated,inventor,accreditation,janeiro,exeter,ceremonial,omaha,cadet,predators,resided,prose,slavic,precision,abbot,deity,engaging,cambodia,estonian,compliance,demonstrations,protesters,reactor,commodore,successes,chronicles,mare,extant,listings,minerals,tonnes,parody,cultivated,traders,pioneering,supplement,slovak,preparations,collision,partnered,vocational,atoms,malayalam,welcomed,documentation,curved,functioning,presently,formations,incorporates,nazis,botanical,nucleus,ethical,greeks,metric,automated,whereby,stance,europeans,duet,disability,purchasing,email,telescope,displaced,sodium,comparative,processor,inning,precipitation,aesthetic,import,coordination,feud,alternatively,mobility,tibet,regained,succeeding,hierarchy,apostolic,catalog,reproduction,inscriptions,vicar,clusters,posthumously,rican,loosely,additions,photographic,nowadays,selective,derivative,keyboards,guides,collectively,affecting,combines,operas,networking,decisive,terminated,continuity,finishes,ancestor,consul,heated,simulation,leipzig,incorporating,georgetown,formula_2,circa,forestry,portrayal,councillors,advancement,complained,forewings,confined,transaction,definitions,reduces,televised,1890s,rapids,phenomena,belarus,alps,landscapes,quarterly,specifications,commemorate,continuation,isolation,antenna,downstream,patents,ensuing,tended,saga,lifelong,columnist,labeled,gymnastics,papua,anticipated,demise,encompasses,madras,antarctica,interval,icon,rams,midlands,ingredients,priory,strengthen,rouge,explicit,gaza,aging,securing,anthropology,listeners,adaptations,underway,vista,malay,fortified,lightweight,violations,concerto,financed,jesuit,observers,trustee,descriptions,nordic,resistant,opted,accepts,prohibition,andhra,inflation,negro,wholly,imagery,spur,instructed,gloucester,cycles,middlesex,destroyers,statewide,evacuated,hyderabad,peasants,mice,shipyard,coordinate,pitching,colombian,exploring,numbering,compression,countess,hiatus,exceed,raced,archipelago,traits,soils,o'connor,vowel,android,facto,angola,amino,holders,logistics,circuits,emergence,kuwait,partition,emeritus,outcomes,submission,promotes,barack,negotiated,loaned,stripped,50th,excavations,treatments,fierce,participant,exports,decommissioned,cameo,remarked,residences,fuselage,mound,undergo,quarry,node,midwest,specializing,occupies,etc.,showcase,molecule,offs,modules,salon,exposition,revision,peers,positioned,hunters,competes,algorithms,reside,zagreb,calcium,uranium,silicon,airs,counterpart,outlet,collectors,sufficiently,canberra,inmates,anatomy,ensuring,curves,aviv,firearms,basque,volcano,thrust,sheikh,extensions,installations,aluminum,darker,sacked,emphasized,aligned,asserted,pseudonym,spanning,decorations,eighteenth,orbital,spatial,subdivided,notation,decay,macedonian,amended,declining,cyclist,feat,unusually,commuter,birthplace,latitude,activation,overhead,30th,finalists,whites,encyclopedia,tenor,qatar,survives,complement,concentrations,uncommon,astronomical,bangalore,pius,genome,memoir,recruit,prosecutor,modification,paired,container,basilica,arlington,displacement,germanic,mongolia,proportional,debates,matched,calcutta,rows,tehran,aerospace,prevalent,arise,lowland,24th,spokesman,supervised,advertisements,clash,tunes,revelation,wanderers,quarterfinals,fisheries,steadily,memoirs,pastoral,renewable,confluence,acquiring,strips,slogan,upstream,scouting,analyst,practitioners,turbine,strengthened,heavier,prehistoric,plural,excluding,isles,persecution,turin,rotating,villain,hemisphere,unaware,arabs,corpus,relied,singular,unanimous,schooling,passive,angles,dominance,instituted,aria,outskirts,balanced,beginnings,financially,structured,parachute,viewer,attitudes,subjected,escapes,derbyshire,erosion,addressing,styled,declaring,originating,colts,adjusted,stained,occurrence,fortifications,baghdad,nitrogen,localities,yemen,galway,debris,lodz,victorious,pharmaceutical,substances,unnamed,dwelling,atop,developmental,activism,voter,refugee,forested,relates,overlooking,genocide,kannada,insufficient,oversaw,partisan,dioxide,recipients,factions,mortality,capped,expeditions,receptors,reorganized,prominently,atom,flooded,flute,orchestral,scripts,mathematician,airplay,detached,rebuilding,dwarf,brotherhood,salvation,expressions,arabian,cameroon,poetic,recruiting,bundesliga,inserted,scrapped,disabilities,evacuation,pasha,undefeated,crafts,rituals,aluminium,norm,pools,submerged,occupying,pathway,exams,prosperity,wrestlers,promotions,basal,permits,nationalism,trim,merge,gazette,tributaries,transcription,caste,porto,emerge,modeled,adjoining,counterparts,paraguay,redevelopment,renewal,unreleased,equilibrium,similarity,minorities,soviets,comprise,nodes,tasked,unrelated,expired,johan,precursor,examinations,electrons,socialism,exiled,admiralty,floods,wigan,nonprofit,lacks,brigades,screens,repaired,hanover,fascist,labs,osaka,delays,judged,statutory,colt,col.,offspring,solving,bred,assisting,retains,somalia,grouped,corresponds,tunisia,chaplain,eminent,chord,22nd,spans,viral,innovations,possessions,mikhail,kolkata,icelandic,implications,introduces,racism,workforce,alto,compulsory,admits,censorship,onset,reluctant,inferior,iconic,progression,liability,turnout,satellites,behavioral,coordinated,exploitation,posterior,averaging,fringe,krakow,mountainous,greenwich,para,plantations,reinforcements,offerings,famed,intervals,constraints,individually,nutrition,1870s,taxation,threshold,tomatoes,fungi,contractor,ethiopian,apprentice,diabetes,wool,gujarat,honduras,norse,bucharest,23rd,arguably,accompany,prone,teammates,perennial,vacancy,polytechnic,deficit,okinawa,functionality,reminiscent,tolerance,transferring,myanmar,concludes,neighbours,hydraulic,economically,slower,plots,charities,synod,investor,catholicism,identifies,bronx,interpretations,adverse,judiciary,hereditary,nominal,sensor,symmetry,cubic,triangular,tenants,divisional,outreach,representations,passages,undergoing,cartridge,testified,exceeded,impacts,limiting,railroads,defeats,regain,rendering,humid,retreated,reliability,governorate,antwerp,infamous,implied,packaging,lahore,trades,billed,extinction,ecole,rejoined,recognizes,projection,qualifications,stripes,forts,socially,lexington,accurately,sexuality,westward,wikipedia,pilgrimage,abolition,choral,stuttgart,nests,expressing,strikeouts,assessed,monasteries,reconstructed,humorous,marxist,fertile,consort,urdu,patronage,peruvian,devised,lyric,baba,nassau,communism,extraction,popularly,markings,inability,litigation,accounted,processed,emirates,tempo,cadets,eponymous,contests,broadly,oxide,courtyard,frigate,directory,apex,outline,regency,chiefly,patrols,secretariat,cliffs,residency,privy,armament,australians,dorset,geometric,genetics,scholarships,fundraising,flats,demographic,multimedia,captained,documentaries,updates,canvas,blockade,guerrilla,songwriting,administrators,intake,drought,implementing,fraction,cannes,refusal,inscribed,meditation,announcing,exported,ballots,formula_3,curator,basel,arches,flour,subordinate,confrontation,gravel,simplified,berkshire,patriotic,tuition,employing,servers,castile,posting,combinations,discharged,miniature,mutations,constellation,incarnation,ideals,necessity,granting,ancestral,crowds,pioneered,mormon,methodology,rama,indirect,complexes,bavarian,patrons,uttar,skeleton,bollywood,flemish,viable,bloc,breeds,triggered,sustainability,tailed,referenced,comply,takeover,latvian,homestead,platoon,communal,nationality,excavated,targeting,sundays,posed,physicist,turret,endowment,marginal,dispatched,commentators,renovations,attachment,collaborations,ridges,barriers,obligations,shareholders,prof.,defenses,presided,rite,backgrounds,arbitrary,affordable,gloucestershire,thirteenth,inlet,miniseries,possesses,detained,pressures,subscription,realism,solidarity,proto,postgraduate,noun,burmese,abundance,homage,reasoning,anterior,robust,fencing,shifting,vowels,garde,profitable,loch,anchored,coastline,samoa,terminology,prostitution,magistrate,venezuelan,speculated,regulate,fixture,colonists,digit,induction,manned,expeditionary,computational,centennial,principally,vein,preserving,engineered,numerical,cancellation,conferred,continually,borne,seeded,advertisement,unanimously,treaties,infections,ions,sensors,lowered,amphibious,lava,fourteenth,bahrain,niagara,nicaragua,squares,congregations,26th,periodic,proprietary,1860s,contributors,seller,overs,emission,procession,presumed,illustrator,zinc,gases,tens,applicable,stretches,reproductive,sixteenth,apparatus,accomplishments,canoe,guam,oppose,recruitment,accumulated,limerick,namibia,staging,remixes,ordnance,uncertainty,pedestrian,temperate,treason,deposited,registry,cerambycidae,attracting,lankan,reprinted,shipbuilding,homosexuality,neurons,eliminating,1900s,resume,ministries,beneficial,blackpool,surplus,northampton,licenses,constructing,announcer,standardized,alternatives,taipei,inadequate,failures,yields,medalist,titular,obsolete,torah,burlington,predecessors,lublin,retailers,castles,depiction,issuing,gubernatorial,propulsion,tiles,damascus,discs,alternating,pomerania,peasant,tavern,redesignated,27th,illustration,focal,mans,codex,specialists,productivity,antiquity,controversies,promoter,pits,companions,behaviors,lyrical,prestige,creativity,swansea,dramas,approximate,feudal,tissues,crude,campaigned,unprecedented,chancel,amendments,surroundings,allegiance,exchanges,align,firmly,optimal,commenting,reigning,landings,obscure,1850s,contemporaries,paternal,devi,endurance,communes,incorporation,denominations,exchanged,routing,resorts,amnesty,slender,explores,suppression,heats,pronunciation,centred,coupe,stirling,freelance,treatise,linguistics,laos,informs,discovering,pillars,encourages,halted,robots,definitive,maturity,tuberculosis,venetian,silesian,unchanged,originates,mali,lincolnshire,quotes,seniors,premise,contingent,distribute,danube,gorge,logging,dams,curling,seventeenth,specializes,wetlands,deities,assess,thickness,rigid,culminated,utilities,substrate,insignia,nile,assam,shri,currents,suffrage,canadians,mortar,asteroid,bosnian,discoveries,enzymes,sanctioned,replica,hymn,investigators,tidal,dominate,derivatives,converting,leinster,verbs,honoured,criticisms,dismissal,discrete,masculine,reorganization,unlimited,wurttemberg,sacks,allocation,bahn,jurisdictions,participates,lagoon,famine,communion,culminating,surveyed,shortage,cables,intersects,cassette,foremost,adopting,solicitor,outright,bihar,reissued,farmland,dissertation,turnpike,baton,photographed,christchurch,kyoto,finances,rails,histories,linebacker,kilkenny,accelerated,dispersed,handicap,absorption,rancho,ceramic,captivity,cites,font,weighed,mater,utilize,bravery,extract,validity,slovenian,seminars,discourse,ranged,duel,ironically,warships,sega,temporal,surpassed,prolonged,recruits,northumberland,greenland,contributes,patented,eligibility,unification,discusses,reply,translates,beirut,relies,torque,northward,reviewers,monastic,accession,neural,tramway,heirs,sikh,subscribers,amenities,taliban,audit,rotterdam,wagons,kurdish,favoured,combustion,meanings,persia,browser,diagnostic,niger,formula_4,denomination,dividing,parameter,branding,badminton,leningrad,sparked,hurricanes,beetles,propeller,mozambique,refined,diagram,exhaust,vacated,readings,markers,reconciliation,determines,concurrent,imprint,primera,organism,demonstrating,filmmakers,vanderbilt,affiliates,traction,evaluated,defendants,megachile,investigative,zambia,assassinated,rewarded,probable,staffordshire,foreigners,directorate,nominees,consolidation,commandant,reddish,differing,unrest,drilling,bohemia,resembling,instrumentation,considerations,haute,promptly,variously,dwellings,clans,tablet,enforced,cockpit,semifinal,hussein,prisons,ceylon,emblem,monumental,phrases,correspond,crossover,outlined,characterised,acceleration,caucus,crusade,protested,composing,rajasthan,habsburg,rhythmic,interception,inherent,cooled,ponds,spokesperson,gradual,consultation,kuala,globally,suppressed,builders,avengers,suffix,integer,enforce,fibers,unionist,proclamation,uncovered,infrared,adapt,eisenhower,utilizing,captains,stretched,observing,assumes,prevents,analyses,saxophone,caucasus,notices,villains,dartmouth,mongol,hostilities,stretching,veterinary,lenses,texture,prompting,overthrow,excavation,islanders,masovian,battleship,biographer,replay,degradation,departing,luftwaffe,fleeing,oversight,immigrated,serbs,fishermen,strengthening,respiratory,italians,denotes,radial,escorted,motif,wiltshire,expresses,accessories,reverted,establishments,inequality,protocols,charting,famously,satirical,entirety,trench,friction,atletico,sampling,subset,weekday,upheld,sharply,correlation,incorrect,mughal,travelers,hasan,earnings,offset,evaluate,specialised,recognizing,flexibility,nagar,postseason,algebraic,capitalism,crystals,melodies,polynomial,racecourse,defences,austro,wembley,attracts,anarchist,resurrection,reviewing,decreasing,prefix,ratified,mutation,displaying,separating,restoring,assemblies,ordinance,priesthood,cruisers,appoint,moldova,imports,directive,epidemic,militant,senegal,signaling,restriction,critique,retrospective,nationalists,undertake,sioux,canals,algerian,redesigned,philanthropist,depict,conceptual,turbines,intellectuals,eastward,applicants,contractors,vendors,undergone,namesake,ensured,tones,substituted,hindwings,arrests,tombs,transitional,principality,reelection,taiwanese,cavity,manifesto,broadcasters,spawned,thoroughbred,identities,generators,proposes,hydroelectric,johannesburg,cortex,scandinavian,killings,aggression,boycott,catalyst,physiology,fifteenth,waterfront,chromosome,organist,costly,calculation,cemeteries,flourished,recognise,juniors,merging,disciples,ashore,workplace,enlightenment,diminished,debated,hailed,podium,educate,mandated,distributor,litre,electromagnetic,flotilla,estuary,peterborough,staircase,selections,melodic,confronts,wholesale,integrate,intercepted,catalonia,unite,immense,palatinate,switches,earthquakes,occupational,successors,praising,concluding,faculties,firstly,overhaul,empirical,metacritic,inauguration,evergreen,laden,winged,philosophers,amalgamated,geoff,centimeters,napoleonic,upright,planting,brewing,fined,sensory,migrants,wherein,inactive,headmaster,warwickshire,siberia,terminals,denounced,academia,divinity,bilateral,clive,omitted,peerage,relics,apartheid,syndicate,fearing,fixtures,desirable,dismantled,ethnicity,valves,biodiversity,aquarium,ideological,visibility,creators,analyzed,tenant,balkan,postwar,supplier,smithsonian,risen,morphology,digits,bohemian,wilmington,vishnu,demonstrates,aforementioned,biographical,mapped,khorasan,phosphate,presentations,ecosystem,processors,calculations,mosaic,clashes,penned,recalls,coding,angular,lattice,macau,accountability,extracted,pollen,therapeutic,overlap,violinist,deposed,candidacy,infants,covenant,bacterial,restructuring,dungeons,ordination,conducts,builds,invasive,customary,concurrently,relocation,cello,statutes,borneo,entrepreneurs,sanctions,packet,rockefeller,piedmont,comparisons,waterfall,receptions,glacial,surge,signatures,alterations,advertised,enduring,somali,botanist,100th,canonical,motifs,longitude,circulated,alloy,indirectly,margins,preserves,internally,besieged,shale,peripheral,drained,baseman,reassigned,tobago,soloist,socio,grazing,contexts,roofs,portraying,ottomans,shrewsbury,noteworthy,lamps,supplying,beams,qualifier,portray,greenhouse,stronghold,hitter,rites,cretaceous,urging,derive,nautical,aiming,fortunes,verde,donors,reliance,exceeding,exclusion,exercised,simultaneous,continents,guiding,pillar,gradient,poznan,eruption,clinics,moroccan,indicator,trams,piers,parallels,fragment,teatro,potassium,satire,compressed,businessmen,influx,seine,perspectives,shelters,decreases,mounting,formula_5,confederacy,equestrian,expulsion,mayors,liberia,resisted,affinity,shrub,unexpectedly,stimulus,amtrak,deported,perpendicular,statesman,wharf,storylines,romanesque,weights,surfaced,interceptions,dhaka,crambidae,orchestras,rwanda,conclude,constitutes,subsidiaries,admissions,prospective,shear,bilingual,campaigning,presiding,domination,commemorative,trailing,confiscated,petrol,acquisitions,polymer,onlyinclude,chloride,elevations,resolutions,hurdles,pledged,likelihood,objected,erect,encoding,databases,aristotle,hindus,marshes,bowled,ministerial,grange,acronym,annexation,squads,ambient,pilgrims,botany,sofla,astronomer,planetary,descending,bestowed,ceramics,diplomacy,metabolism,colonization,potomac,africans,engraved,recycling,commitments,resonance,disciplinary,jamaican,narrated,spectral,tipperary,waterford,stationary,arbitration,transparency,threatens,crossroads,slalom,oversee,centenary,incidence,economies,livery,moisture,newsletter,autobiographical,bhutan,propelled,dependence,moderately,adobe,barrels,subdivisions,outlook,labelled,stratford,arising,diaspora,barony,automobiles,ornamental,slated,norms,primetime,generalized,analysts,vectors,libyan,yielded,certificates,rooted,vernacular,belarusian,marketplace,prediction,fairfax,malawi,viruses,wooded,demos,mauritius,prosperous,coincided,liberties,huddersfield,ascent,warnings,hinduism,glucose,pulitzer,unused,filters,illegitimate,acquitted,protestants,canopy,staple,psychedelic,winding,abbas,pathways,cheltenham,lagos,niche,invaders,proponents,barred,conversely,doncaster,recession,embraced,rematch,concession,emigration,upgrades,bowls,tablets,remixed,loops,kensington,shootout,monarchs,organizers,harmful,punjabi,broadband,exempt,neolithic,profiles,portrays,parma,cyrillic,quasi,attested,regimental,revive,torpedoes,heidelberg,rhythms,spherical,denote,hymns,icons,theologian,qaeda,exceptionally,reinstated,comune,playhouse,lobbying,grossing,viceroy,delivers,visually,armistice,utrecht,syllable,vertices,analogous,annex,refurbished,entrants,knighted,disciple,rhetoric,detailing,inactivated,ballads,algae,intensified,favourable,sanitation,receivers,pornography,commemorated,cannons,entrusted,manifold,photographers,pueblo,textiles,steamer,myths,marquess,onward,liturgical,romney,uzbekistan,consistency,denoted,hertfordshire,convex,hearings,sulfur,universidad,podcast,selecting,emperors,arises,justices,1840s,mongolian,exploited,termination,digitally,infectious,sedan,symmetric,penal,illustrate,formulation,attribute,problematic,modular,inverse,berth,searches,rutgers,leicestershire,enthusiasts,lockheed,upwards,transverse,accolades,backward,archaeologists,crusaders,nuremberg,defects,ferries,vogue,containers,openings,transporting,separates,lumpur,purchases,attain,wichita,topology,woodlands,deleted,periodically,syntax,overturned,musicals,corp.,strasbourg,instability,nationale,prevailing,cache,marathi,versailles,unmarried,grains,straits,antagonist,segregation,assistants,d'etat,contention,dictatorship,unpopular,motorcycles,criterion,analytical,salzburg,militants,hanged,worcestershire,emphasize,paralympic,erupted,convinces,offences,oxidation,nouns,populace,atari,spanned,hazardous,educators,playable,births,baha'i,preseason,generates,invites,meteorological,handbook,foothills,enclosure,diffusion,mirza,convergence,geelong,coefficient,connector,formula_6,cylindrical,disasters,pleaded,knoxville,contamination,compose,libertarian,arrondissement,franciscan,intercontinental,susceptible,initiation,malaria,unbeaten,consonants,waived,saloon,popularized,estadio,pseudo,interdisciplinary,transports,transformers,carriages,bombings,revolves,ceded,collaborator,celestial,exemption,colchester,maltese,oceanic,ligue,crete,shareholder,routed,depictions,ridden,advisors,calculate,lending,guangzhou,simplicity,newscast,scheduling,snout,eliot,undertaking,armenians,nottinghamshire,whitish,consulted,deficiency,salle,cinemas,superseded,rigorous,kerman,convened,landowners,modernization,evenings,pitches,conditional,scandinavia,differed,formulated,cyclists,swami,guyana,dunes,electrified,appalachian,abdomen,scenarios,prototypes,sindh,consonant,adaptive,boroughs,wolverhampton,modelling,cylinders,amounted,minimize,ambassadors,lenin,settler,coincide,approximation,grouping,murals,bullying,registers,rumours,engagements,energetic,vertex,annals,bordering,geologic,yellowish,runoff,converts,allegheny,facilitated,saturdays,colliery,monitored,rainforest,interfaces,geographically,impaired,prevalence,joachim,paperback,slowed,shankar,distinguishing,seminal,categorized,authorised,auspices,bandwidth,asserts,rebranded,balkans,supplemented,seldom,weaving,capsule,apostles,populous,monmouth,payload,symphonic,densely,shoreline,managerial,masonry,antioch,averages,textbooks,royalist,coliseum,tandem,brewers,diocesan,posthumous,walled,incorrectly,distributions,ensued,reasonably,graffiti,propagation,automation,harmonic,augmented,middleweight,limbs,elongated,landfall,comparatively,literal,grossed,koppen,wavelength,1830s,cerebral,boasts,congestion,physiological,practitioner,coasts,cartoonist,undisclosed,frontal,launches,burgundy,qualifiers,imposing,stade,flanked,assyrian,raided,multiplayer,montane,chesapeake,pathology,drains,vineyards,intercollegiate,semiconductor,grassland,convey,citations,predominant,rejects,benefited,yahoo,graphs,busiest,encompassing,hamlets,explorers,suppress,minors,graphical,calculus,sediment,intends,diverted,mainline,unopposed,cottages,initiate,alumnus,towed,autism,forums,darlington,modernist,oxfordshire,lectured,capitalist,suppliers,panchayat,actresses,foundry,southbound,commodity,wesleyan,divides,palestinians,luton,caretaker,nobleman,mutiny,organizer,preferences,nomenclature,splits,unwilling,offenders,timor,relying,halftime,semitic,arithmetic,milestone,jesuits,arctiidae,retrieved,consuming,contender,edged,plagued,inclusive,transforming,khmer,federally,insurgents,distributing,amherst,rendition,prosecutors,viaduct,disqualified,kabul,liturgy,prevailed,reelected,instructors,swimmers,aperture,churchyard,interventions,totals,darts,metropolis,fuels,fluent,northbound,correctional,inflicted,barrister,realms,culturally,aristocratic,collaborating,emphasizes,choreographer,inputs,ensembles,humboldt,practised,endowed,strains,infringement,archaeologist,congregational,magna,relativity,efficiently,proliferation,mixtape,abruptly,regeneration,commissioning,yukon,archaic,reluctantly,retailer,northamptonshire,universally,crossings,boilers,nickelodeon,revue,abbreviation,retaliation,scripture,routinely,medicinal,benedictine,kenyan,retention,deteriorated,glaciers,apprenticeship,coupling,researched,topography,entrances,anaheim,pivotal,compensate,arched,modify,reinforce,dusseldorf,journeys,motorsport,conceded,sumatra,spaniards,quantitative,loire,cinematography,discarded,botswana,morale,engined,zionist,philanthropy,sainte,fatalities,cypriot,motorsports,indicators,pricing,institut,bethlehem,implicated,gravitational,differentiation,rotor,thriving,precedent,ambiguous,concessions,forecast,conserved,fremantle,asphalt,landslide,middlesbrough,formula_7,humidity,overseeing,chronological,diaries,multinational,crimean,turnover,improvised,youths,declares,tasmanian,canadiens,fumble,refinery,weekdays,unconstitutional,upward,guardians,brownish,imminent,hamas,endorsement,naturalist,martyrs,caledonia,chords,yeshiva,reptiles,severity,mitsubishi,fairs,installment,substitution,repertory,keyboardist,interpreter,silesia,noticeable,rhineland,transmit,inconsistent,booklet,academies,epithet,pertaining,progressively,aquatics,scrutiny,prefect,toxicity,rugged,consume,o'donnell,evolve,uniquely,cabaret,mediated,landowner,transgender,palazzo,compilations,albuquerque,induce,sinai,remastered,efficacy,underside,analogue,specify,possessing,advocating,compatibility,liberated,greenville,mecklenburg,header,memorials,sewage,rhodesia,1800s,salaries,atoll,coordinating,partisans,repealed,amidst,subjective,optimization,nectar,evolving,exploits,madhya,styling,accumulation,raion,postage,responds,buccaneers,frontman,brunei,choreography,coated,kinetic,sampled,inflammatory,complementary,eclectic,norte,vijay,a.k.a,mainz,casualty,connectivity,laureate,franchises,yiddish,reputed,unpublished,economical,periodicals,vertically,bicycles,brethren,capacities,unitary,archeological,tehsil,domesday,wehrmacht,justification,angered,mysore,fielded,abuses,nutrients,ambitions,taluk,battleships,symbolism,superiority,neglect,attendees,commentaries,collaborators,predictions,yorker,breeders,investing,libretto,informally,coefficients,memorandum,pounder,collingwood,tightly,envisioned,arbor,mistakenly,captures,nesting,conflicting,enhancing,streetcar,manufactures,buckinghamshire,rewards,commemorating,stony,expenditure,tornadoes,semantic,relocate,weimar,iberian,sighted,intending,ensign,beverages,expectation,differentiate,centro,utilizes,saxophonist,catchment,transylvania,ecosystems,shortest,sediments,socialists,ineffective,kapoor,formidable,heroine,guantanamo,prepares,scattering,pamphlet,verified,elector,barons,totaling,shrubs,pyrenees,amalgamation,mutually,longitudinal,comte,negatively,masonic,envoy,sexes,akbar,mythical,tonga,bishopric,assessments,malaya,warns,interiors,reefs,reflections,neutrality,musically,nomadic,waterways,provence,collaborate,scaled,adulthood,emerges,euros,optics,incentives,overland,periodical,liege,awarding,realization,slang,affirmed,schooner,hokkaido,czechoslovak,protectorate,undrafted,disagreed,commencement,electors,spruce,swindon,fueled,equatorial,inventions,suites,slovene,backdrop,adjunct,energies,remnant,inhabit,alliances,simulcast,reactors,mosques,travellers,outfielder,plumage,migratory,benin,experimented,fibre,projecting,drafting,laude,evidenced,northernmost,indicted,directional,replication,croydon,comedies,jailed,organizes,devotees,reservoirs,turrets,originate,economists,songwriters,junta,trenches,mounds,proportions,comedic,apostle,azerbaijani,farmhouse,resembled,disrupted,playback,mixes,diagonal,relevance,govern,programmer,gdansk,maize,soundtracks,tendencies,mastered,impacted,believers,kilometre,intervene,chairperson,aerodrome,sails,subsidies,ensures,aesthetics,congresses,ratios,sardinia,southernmost,functioned,controllers,downward,randomly,distortion,regents,palatine,disruption,spirituality,vidhan,tracts,compiler,ventilation,anchorage,symposium,assert,pistols,excelled,avenues,convoys,moniker,constructions,proponent,phased,spines,organising,schleswig,policing,campeonato,mined,hourly,croix,lucrative,authenticity,haitian,stimulation,burkina,espionage,midfield,manually,staffed,awakening,metabolic,biographies,entrepreneurship,conspicuous,guangdong,preface,subgroup,mythological,adjutant,feminism,vilnius,oversees,honourable,tripoli,stylized,kinase,societe,notoriety,altitudes,configurations,outward,transmissions,announces,auditor,ethanol,clube,nanjing,mecca,haifa,blogs,postmaster,paramilitary,depart,positioning,potent,recognizable,spire,brackets,remembrance,overlapping,turkic,articulated,scientology,operatic,deploy,readiness,biotechnology,restrict,cinematographer,inverted,synonymous,administratively,westphalia,commodities,replaces,downloads,centralized,munitions,preached,sichuan,fashionable,implementations,matrices,hiv/aids,loyalist,luzon,celebrates,hazards,heiress,mercenaries,synonym,creole,ljubljana,technician,auditioned,technicians,viewpoint,wetland,mongols,princely,sharif,coating,dynasties,southward,doubling,formula_8,mayoral,harvesting,conjecture,goaltender,oceania,spokane,welterweight,bracket,gatherings,weighted,newscasts,mussolini,affiliations,disadvantage,vibrant,spheres,sultanate,distributors,disliked,establishes,marches,drastically,yielding,jewellery,yokohama,vascular,airlift,canons,subcommittee,repression,strengths,graded,outspoken,fused,pembroke,filmography,redundant,fatigue,repeal,threads,reissue,pennant,edible,vapor,corrections,stimuli,commemoration,dictator,anand,secession,amassed,orchards,pontifical,experimentation,greeted,bangor,forwards,decomposition,quran,trolley,chesterfield,traverse,sermons,burials,skier,climbs,consultants,petitioned,reproduce,parted,illuminated,kurdistan,reigned,occupants,packaged,geometridae,woven,regulating,protagonists,crafted,affluent,clergyman,consoles,migrant,supremacy,attackers,caliph,defect,convection,rallies,huron,resin,segunda,quota,warship,overseen,criticizing,shrines,glamorgan,lowering,beaux,hampered,invasions,conductors,collects,bluegrass,surrounds,substrates,perpetual,chronology,pulmonary,executions,crimea,compiling,noctuidae,battled,tumors,minsk,novgorod,serviced,yeast,computation,swamps,theodor,baronetcy,salford,uruguayan,shortages,odisha,siberian,novelty,cinematic,invitational,decks,dowager,oppression,bandits,appellate,state-of-the-art,clade,palaces,signalling,galaxies,industrialist,tensor,learnt,incurred,magistrates,binds,orbits,ciudad,willingness,peninsular,basins,biomedical,shafts,marlborough,bournemouth,withstand,fitzroy,dunedin,variance,steamship,integrating,muscular,fines,akron,bulbophyllum,malmo,disclosed,cornerstone,runways,medicines,twenty20,gettysburg,progresses,frigates,bodied,transformations,transforms,helens,modelled,versatile,regulator,pursuits,legitimacy,amplifier,scriptures,voyages,examines,presenters,octagonal,poultry,formula_9,anatolia,computed,migrate,directorial,hybrids,localized,preferring,guggenheim,persisted,grassroots,inflammation,fishery,otago,vigorous,professions,instructional,inexpensive,insurgency,legislators,sequels,surnames,agrarian,stainless,nairobi,minas,forerunner,aristocracy,transitions,sicilian,showcased,doses,hiroshima,summarized,gearbox,emancipation,limitation,nuclei,seismic,abandonment,dominating,appropriations,occupations,electrification,hilly,contracting,exaggerated,entertainer,kazan,oricon,cartridges,characterization,parcel,maharaja,exceeds,aspiring,obituary,flattened,contrasted,narration,replies,oblique,outpost,fronts,arranger,talmud,keynes,doctrines,endured,confesses,fortification,supervisors,kilometer,academie,jammu,bathurst,piracy,prostitutes,navarre,cumulative,cruises,lifeboat,twinned,radicals,interacting,expenditures,wexford,libre,futsal,curated,clockwise,colloquially,procurement,immaculate,lyricist,enhancement,porcelain,alzheimer,highlighting,judah,disagreements,storytelling,sheltered,wroclaw,vaudeville,contrasts,neoclassical,compares,contrasting,deciduous,francaise,descriptive,cyclic,reactive,antiquities,meiji,repeats,creditors,forcibly,newmarket,picturesque,impending,uneven,bison,raceway,solvent,ecumenical,optic,professorship,harvested,waterway,banjo,pharaoh,geologist,scanning,dissent,recycled,unmanned,retreating,gospels,aqueduct,branched,tallinn,groundbreaking,syllables,hangar,designations,procedural,craters,cabins,encryption,anthropologist,montevideo,outgoing,inverness,chattanooga,fascism,calais,chapels,groundwater,downfall,misleading,robotic,tortricidae,pixel,handel,prohibit,crewe,renaming,reprised,kickoff,leftist,spaced,integers,causeway,pines,authorship,organise,ptolemy,accessibility,virtues,lesions,iroquois,qur'an,atheist,synthesized,biennial,confederates,dietary,skaters,stresses,tariff,koreans,intercity,republics,quintet,baroness,naive,amplitude,insistence,tbilisi,residues,grammatical,diversified,egyptians,accompaniment,vibration,repository,mandal,topological,distinctions,coherent,invariant,batters,nuevo,internationals,implements,follower,bahia,widened,independents,cantonese,totaled,guadalajara,wolverines,befriended,muzzle,surveying,hungarians,medici,deportation,rayon,approx,recounts,attends,clerical,hellenic,furnished,alleging,soluble,systemic,gallantry,bolshevik,intervened,hostel,gunpowder,specialising,stimulate,leiden,removes,thematic,floral,bafta,printers,conglomerate,eroded,analytic,successively,lehigh,thessaloniki,kilda,clauses,ascended,nehru,scripted,tokugawa,competence,diplomats,exclude,consecration,freedoms,assaults,revisions,blacksmith,textual,sparse,concacaf,slain,uploaded,enraged,whaling,guise,stadiums,debuting,dormitory,cardiovascular,yunnan,dioceses,consultancy,notions,lordship,archdeacon,collided,medial,airfields,garment,wrestled,adriatic,reversal,refueling,verification,jakob,horseshoe,intricate,veracruz,sarawak,syndication,synthesizer,anthologies,stature,feasibility,guillaume,narratives,publicized,antrim,intermittent,constituents,grimsby,filmmaking,doping,unlawful,nominally,transmitting,documenting,seater,internationale,ejected,steamboat,alsace,boise,ineligible,geared,vassal,mustered,ville,inline,pairing,eurasian,kyrgyzstan,barnsley,reprise,stereotypes,rushes,conform,firefighters,deportivo,revolutionaries,rabbis,concurrency,charters,sustaining,aspirations,algiers,chichester,falkland,morphological,systematically,volcanoes,designate,artworks,reclaimed,jurist,anglia,resurrected,chaotic,feasible,circulating,simulated,environmentally,confinement,adventist,harrisburg,laborers,ostensibly,universiade,pensions,influenza,bratislava,octave,refurbishment,gothenburg,putin,barangay,annapolis,breaststroke,illustrates,distorted,choreographed,promo,emphasizing,stakeholders,descends,exhibiting,intrinsic,invertebrates,evenly,roundabout,salts,formula_10,strata,inhibition,branching,stylistic,rumored,realises,mitochondrial,commuted,adherents,logos,bloomberg,telenovela,guineas,charcoal,engages,winery,reflective,siena,cambridgeshire,ventral,flashback,installing,engraving,grasses,traveller,rotated,proprietor,nationalities,precedence,sourced,trainers,cambodian,reductions,depleted,saharan,classifications,biochemistry,plaintiffs,arboretum,humanist,fictitious,aleppo,climates,bazaar,his/her,homogeneous,multiplication,moines,indexed,linguist,skeletal,foliage,societal,differentiated,informing,mammal,infancy,archival,cafes,malls,graeme,musee,schizophrenia,fargo,pronouns,derivation,descend,ascending,terminating,deviation,recaptured,confessions,weakening,tajikistan,bahadur,pasture,b/hip,donegal,supervising,sikhs,thinkers,euclidean,reinforcement,friars,portage,fuscous,lucknow,synchronized,assertion,choirs,privatization,corrosion,multitude,skyscraper,royalties,ligament,usable,spores,directs,clashed,stockport,fronted,dependency,contiguous,biologist,backstroke,powerhouse,frescoes,phylogenetic,welding,kildare,gabon,conveyed,augsburg,severn,continuum,sahib,lille,injuring,passeriformesfamily,succeeds,translating,unitarian,startup,turbulent,outlying,philanthropic,stanislaw,idols,claremont,conical,haryana,armagh,blended,implicit,conditioned,modulation,rochdale,labourers,coinage,shortstop,potsdam,gears,obesity,bestseller,advisers,bouts,comedians,jozef,lausanne,taxonomic,correlated,columbian,marne,indications,psychologists,libel,edict,beaufort,disadvantages,renal,finalized,racehorse,unconventional,disturbances,falsely,zoology,adorned,redesign,executing,narrower,commended,appliances,stalls,resurgence,saskatoon,miscellaneous,permitting,epoch,formula_11,cumbria,forefront,vedic,eastenders,disposed,supermarkets,rower,inhibitor,magnesium,colourful,yusuf,harrow,formulas,centrally,balancing,ionic,nocturnal,consolidate,ornate,raiding,charismatic,accelerate,nominate,residual,dhabi,commemorates,attribution,uninhabited,mindanao,atrocities,genealogical,romani,applicant,enactment,abstraction,trough,pulpit,minuscule,misconduct,grenades,timely,supplements,messaging,curvature,ceasefire,telangana,susquehanna,braking,redistribution,shreveport,neighbourhoods,gregorian,widowed,khuzestan,empowerment,scholastic,evangelist,peptide,topical,theorist,historia,thence,sudanese,museo,jurisprudence,masurian,frankish,headlined,recounted,netball,petitions,tolerant,hectare,truncated,southend,methane,captives,reigns,massif,subunit,acidic,weightlifting,footballers,sabah,britannia,tunisian,segregated,sawmill,withdrawing,unpaid,weaponry,somme,perceptions,unicode,alcoholism,durban,wrought,waterfalls,jihad,auschwitz,upland,eastbound,adjective,anhalt,evaluating,regimes,guildford,reproduced,pamphlets,hierarchical,maneuvers,hanoi,fabricated,repetition,enriched,arterial,replacements,tides,globalization,adequately,westbound,satisfactory,fleets,phosphorus,lastly,neuroscience,anchors,xinjiang,membranes,improvisation,shipments,orthodoxy,submissions,bolivian,mahmud,ramps,leyte,pastures,outlines,flees,transmitters,fares,sequential,stimulated,novice,alternately,symmetrical,breakaway,layered,baronets,lizards,blackish,edouard,horsepower,penang,principals,mercantile,maldives,overwhelmingly,hawke,rallied,prostate,conscription,juveniles,maccabi,carvings,strikers,sudbury,spurred,improves,lombardy,macquarie,parisian,elastic,distillery,shetland,humane,brentford,wrexham,warehouses,routines,encompassed,introductory,isfahan,instituto,palais,revolutions,sporadic,impoverished,portico,fellowships,speculative,enroll,dormant,adhere,fundamentally,sculpted,meritorious,template,upgrading,reformer,rectory,uncredited,indicative,creeks,galveston,radically,hezbollah,firearm,educating,prohibits,trondheim,locus,refit,headwaters,screenings,lowlands,wasps,coarse,attaining,sedimentary,perished,pitchfork,interned,cerro,stagecoach,aeronautical,liter,transitioned,haydn,inaccurate,legislatures,bromwich,knesset,spectroscopy,butte,asiatic,degraded,concordia,catastrophic,lobes,wellness,pensacola,periphery,hapoel,theta,horizontally,freiburg,liberalism,pleas,durable,warmian,offenses,mesopotamia,shandong,unsuitable,hospitalized,appropriately,phonetic,encompass,conversions,observes,illnesses,breakout,assigns,crowns,inhibitors,nightly,manifestation,fountains,maximize,alphabetical,sloop,expands,newtown,widening,gaddafi,commencing,camouflage,footprint,tyrol,barangays,universite,highlanders,budgets,query,lobbied,westchester,equator,stipulated,pointe,distinguishes,allotted,embankment,advises,storing,loyalists,fourier,rehearsals,starvation,gland,rihanna,tubular,expressive,baccalaureate,intersections,revered,carbonate,eritrea,craftsmen,cosmopolitan,sequencing,corridors,shortlisted,bangladeshi,persians,mimic,parades,repetitive,recommends,flanks,promoters,incompatible,teaming,ammonia,greyhound,solos,improper,legislator,newsweek,recurrent,vitro,cavendish,eireann,crises,prophets,mandir,strategically,guerrillas,formula_12,ghent,contenders,equivalence,drone,sociological,hamid,castes,statehood,aland,clinched,relaunched,tariffs,simulations,williamsburg,rotate,mediation,smallpox,harmonica,lodges,lavish,restrictive,o'sullivan,detainees,polynomials,echoes,intersecting,learners,elects,charlemagne,defiance,epsom,liszt,facilitating,absorbing,revelations,padua,pieter,pious,penultimate,mammalian,montenegrin,supplementary,widows,aromatic,croats,roanoke,trieste,legions,subdistrict,babylonian,grasslands,volga,violently,sparsely,oldies,telecommunication,respondents,quarries,downloadable,commandos,taxpayer,catalytic,malabar,afforded,copying,declines,nawab,junctions,assessing,filtering,classed,disused,compliant,christoph,gottingen,civilizations,hermitage,caledonian,whereupon,ethnically,springsteen,mobilization,terraces,indus,excel,zoological,enrichment,simulate,guitarists,registrar,cappella,invoked,reused,manchu,configured,uppsala,genealogy,mergers,casts,curricular,rebelled,subcontinent,horticultural,parramatta,orchestrated,dockyard,claudius,decca,prohibiting,turkmenistan,brahmin,clandestine,obligatory,elaborated,parasitic,helix,constraint,spearheaded,rotherham,eviction,adapting,albans,rescues,sociologist,guiana,convicts,occurrences,kamen,antennas,asturias,wheeled,sanitary,deterioration,trier,theorists,baseline,announcements,valea,planners,factual,serialized,serials,bilbao,demoted,fission,jamestown,cholera,alleviate,alteration,indefinite,sulfate,paced,climatic,valuation,artisans,proficiency,aegean,regulators,fledgling,sealing,influencing,servicemen,frequented,cancers,tambon,narayan,bankers,clarified,embodied,engraver,reorganisation,dissatisfied,dictated,supplemental,temperance,ratification,puget,nutrient,pretoria,papyrus,uniting,ascribed,cores,coptic,schoolhouse,barrio,1910s,armory,defected,transatlantic,regulates,ported,artefacts,specifies,boasted,scorers,mollusks,emitted,navigable,quakers,projective,dialogues,reunification,exponential,vastly,banners,unsigned,dissipated,halves,coincidentally,leasing,purported,escorting,estimation,foxes,lifespan,inflorescence,assimilation,showdown,staunch,prologue,ligand,superliga,telescopes,northwards,keynote,heaviest,taunton,redeveloped,vocalists,podlaskie,soyuz,rodents,azores,moravian,outset,parentheses,apparel,domestically,authoritative,polymers,monterrey,inhibit,launcher,jordanian,folds,taxis,mandates,singled,liechtenstein,subsistence,marxism,ousted,governorship,servicing,offseason,modernism,prism,devout,translators,islamist,chromosomes,pitted,bedfordshire,fabrication,authoritarian,javanese,leaflets,transient,substantive,predatory,sigismund,assassinate,diagrams,arrays,rediscovered,reclamation,spawning,fjord,peacekeeping,strands,fabrics,highs,regulars,tirana,ultraviolet,athenian,filly,barnet,naacp,nueva,favourites,terminates,showcases,clones,inherently,interpreting,bjorn,finely,lauded,unspecified,chola,pleistocene,insulation,antilles,donetsk,funnel,nutritional,biennale,reactivated,southport,primate,cavaliers,austrians,interspersed,restarted,suriname,amplifiers,wladyslaw,blockbuster,sportsman,minogue,brightness,benches,bridgeport,initiating,israelis,orbiting,newcomers,externally,scaling,transcribed,impairment,luxurious,longevity,impetus,temperament,ceilings,tchaikovsky,spreads,pantheon,bureaucracy,1820s,heraldic,villas,formula_13,galician,meath,avoidance,corresponded,headlining,connacht,seekers,rappers,solids,monograph,scoreless,opole,isotopes,himalayas,parodies,garments,microscopic,republished,havilland,orkney,demonstrators,pathogen,saturated,hellenistic,facilitates,aerodynamic,relocating,indochina,laval,astronomers,bequeathed,administrations,extracts,nagoya,torquay,demography,medicare,ambiguity,renumbered,pursuant,concave,syriac,electrode,dispersal,henan,bialystok,walsall,crystalline,puebla,janata,illumination,tianjin,enslaved,coloration,championed,defamation,grille,johor,rejoin,caspian,fatally,planck,workings,appointing,institutionalized,wessex,modernized,exemplified,regatta,jacobite,parochial,programmers,blending,eruptions,insurrection,regression,indices,sited,dentistry,mobilized,furnishings,levant,primaries,ardent,nagasaki,conqueror,dorchester,opined,heartland,amman,mortally,wellesley,bowlers,outputs,coveted,orthography,immersion,disrepair,disadvantaged,curate,childless,condensed,codice_1,remodeled,resultant,bolsheviks,superfamily,saxons,2010s,contractual,rivalries,malacca,oaxaca,magnate,vertebrae,quezon,olympiad,yucatan,tyres,macro,specialization,commendation,caliphate,gunnery,exiles,excerpts,fraudulent,adjustable,aramaic,interceptor,drumming,standardization,reciprocal,adolescents,federalist,aeronautics,favorably,enforcing,reintroduced,zhejiang,refining,biplane,banknotes,accordion,intersect,illustrating,summits,classmate,militias,biomass,massacres,epidemiology,reworked,wrestlemania,nantes,auditory,taxon,elliptical,chemotherapy,asserting,avoids,proficient,airmen,yellowstone,multicultural,alloys,utilization,seniority,kuyavian,huntsville,orthogonal,bloomington,cultivars,casimir,internment,repulsed,impedance,revolving,fermentation,parana,shutout,partnering,empowered,islamabad,polled,classify,amphibians,greyish,obedience,4x100,projectile,khyber,halfback,relational,d'ivoire,synonyms,endeavour,padma,customized,mastery,defenceman,berber,purge,interestingly,covent,promulgated,restricting,condemnation,hillsborough,walkers,privateer,intra,captaincy,naturalized,huffington,detecting,hinted,migrating,bayou,counterattack,anatomical,foraging,unsafe,swiftly,outdated,paraguayan,attire,masjid,endeavors,jerseys,triassic,quechua,growers,axial,accumulate,wastewater,cognition,fungal,animator,pagoda,kochi,uniformly,antibody,yerevan,hypotheses,combatants,italianate,draining,fragmentation,snowfall,formative,inversion,kitchener,identifier,additive,lucha,selects,ashland,cambrian,racetrack,trapping,congenital,primates,wavelengths,expansions,yeomanry,harcourt,wealthiest,awaited,punta,intervening,aggressively,vichy,piloted,midtown,tailored,heyday,metadata,guadalcanal,inorganic,hadith,pulses,francais,tangent,scandals,erroneously,tractors,pigment,constabulary,jiangsu,landfill,merton,basalt,astor,forbade,debuts,collisions,exchequer,stadion,roofed,flavour,sculptors,conservancy,dissemination,electrically,undeveloped,existent,surpassing,pentecostal,manifested,amend,formula_14,superhuman,barges,tunis,analytics,argyll,liquids,mechanized,domes,mansions,himalayan,indexing,reuters,nonlinear,purification,exiting,timbers,triangles,decommissioning,departmental,causal,fonts,americana,sept.,seasonally,incomes,razavi,sheds,memorabilia,rotational,terre,sutra,protege,yarmouth,grandmaster,annum,looted,imperialism,variability,liquidation,baptised,isotope,showcasing,milling,rationale,hammersmith,austen,streamlined,acknowledging,contentious,qaleh,breadth,turing,referees,feral,toulon,unofficially,identifiable,standout,labeling,dissatisfaction,jurgen,angrily,featherweight,cantons,constrained,dominates,standalone,relinquished,theologians,markedly,italics,downed,nitrate,likened,gules,craftsman,singaporean,pixels,mandela,moray,parity,departement,antigen,academically,burgh,brahma,arranges,wounding,triathlon,nouveau,vanuatu,banded,acknowledges,unearthed,stemming,authentication,byzantines,converge,nepali,commonplace,deteriorating,recalling,palette,mathematicians,greenish,pictorial,ahmedabad,rouen,validation,u.s.a.,'best,malvern,archers,converter,undergoes,fluorescent,logistical,notification,transvaal,illicit,symphonies,stabilization,worsened,fukuoka,decrees,enthusiast,seychelles,blogger,louvre,dignitaries,burundi,wreckage,signage,pinyin,bursts,federer,polarization,urbana,lazio,schism,nietzsche,venerable,administers,seton,kilograms,invariably,kathmandu,farmed,disqualification,earldom,appropriated,fluctuations,kermanshah,deployments,deformation,wheelbase,maratha,psalm,bytes,methyl,engravings,skirmish,fayette,vaccines,ideally,astrology,breweries,botanic,opposes,harmonies,irregularities,contended,gaulle,prowess,constants,aground,filipinos,fresco,ochreous,jaipur,willamette,quercus,eastwards,mortars,champaign,braille,reforming,horned,hunan,spacious,agitation,draught,specialties,flourishing,greensboro,necessitated,swedes,elemental,whorls,hugely,structurally,plurality,synthesizers,embassies,assad,contradictory,inference,discontent,recreated,inspectors,unicef,commuters,embryo,modifying,stints,numerals,communicated,boosted,trumpeter,brightly,adherence,remade,leases,restrained,eucalyptus,dwellers,planar,grooves,gainesville,daimler,anzac,szczecin,cornerback,prized,peking,mauritania,khalifa,motorized,lodging,instrumentalist,fortresses,cervical,formula_15,passerine,sectarian,researches,apprenticed,reliefs,disclose,gliding,repairing,queue,kyushu,literate,canoeing,sacrament,separatist,calabria,parkland,flowed,investigates,statistically,visionary,commits,dragoons,scrolls,premieres,revisited,subdued,censored,patterned,elective,outlawed,orphaned,leyland,richly,fujian,miniatures,heresy,plaques,countered,nonfiction,exponent,moravia,dispersion,marylebone,midwestern,enclave,ithaca,federated,electronically,handheld,microscopy,tolls,arrivals,climbers,continual,cossacks,moselle,deserts,ubiquitous,gables,forecasts,deforestation,vertebrates,flanking,drilled,superstructure,inspected,consultative,bypassed,ballast,subsidy,socioeconomic,relic,grenada,journalistic,administering,accommodated,collapses,appropriation,reclassified,foreword,porte,assimilated,observance,fragmented,arundel,thuringia,gonzaga,shenzhen,shipyards,sectional,ayrshire,sloping,dependencies,promenade,ecuadorian,mangrove,constructs,goalscorer,heroism,iteration,transistor,omnibus,hampstead,cochin,overshadowed,chieftain,scalar,finishers,ghanaian,abnormalities,monoplane,encyclopaedia,characterize,travancore,baronetage,bearers,biking,distributes,paving,christened,inspections,banco,humber,corinth,quadratic,albanians,lineages,majored,roadside,inaccessible,inclination,darmstadt,fianna,epilepsy,propellers,papacy,montagu,bhutto,sugarcane,optimized,pilasters,contend,batsmen,brabant,housemates,sligo,ascot,aquinas,supervisory,accorded,gerais,echoed,nunavut,conservatoire,carniola,quartermaster,gminas,impeachment,aquitaine,reformers,quarterfinal,karlsruhe,accelerator,coeducational,archduke,gelechiidae,seaplane,dissident,frenchman,palau,depots,hardcover,aachen,darreh,denominational,groningen,parcels,reluctance,drafts,elliptic,counters,decreed,airship,devotional,contradiction,formula_16,undergraduates,qualitative,guatemalan,slavs,southland,blackhawks,detrimental,abolish,chechen,manifestations,arthritis,perch,fated,hebei,peshawar,palin,immensely,havre,totalling,rampant,ferns,concourse,triples,elites,olympian,larva,herds,lipid,karabakh,distal,monotypic,vojvodina,batavia,multiplied,spacing,spellings,pedestrians,parchment,glossy,industrialization,dehydrogenase,patriotism,abolitionist,mentoring,elizabethan,figurative,dysfunction,abyss,constantin,middletown,stigma,mondays,gambia,gaius,israelites,renounced,nepalese,overcoming,buren,sulphur,divergence,predation,looting,iberia,futuristic,shelved,anthropological,innsbruck,escalated,clermont,entrepreneurial,benchmark,mechanically,detachments,populist,apocalyptic,exited,embryonic,stanza,readership,chiba,landlords,expansive,boniface,therapies,perpetrators,whitehall,kassel,masts,carriageway,clinch,pathogens,mazandaran,undesirable,teutonic,miocene,nagpur,juris,cantata,compile,diffuse,dynastic,reopening,comptroller,o'neal,flourish,electing,scientifically,departs,welded,modal,cosmology,fukushima,libertadores,chang'an,asean,generalization,localization,afrikaans,cricketers,accompanies,emigrants,esoteric,southwards,shutdown,prequel,fittings,innate,wrongly,equitable,dictionaries,senatorial,bipolar,flashbacks,semitism,walkway,lyrically,legality,sorbonne,vigorously,durga,samoan,karel,interchanges,patna,decider,registering,electrodes,anarchists,excursion,overthrown,gilan,recited,michelangelo,advertiser,kinship,taboo,cessation,formula_17,premiers,traversed,madurai,poorest,torneo,exerted,replicate,spelt,sporadically,horde,landscaping,razed,hindered,esperanto,manchuria,propellant,jalan,baha'is,sikkim,linguists,pandit,racially,ligands,dowry,francophone,escarpment,behest,magdeburg,mainstay,villiers,yangtze,grupo,conspirators,martyrdom,noticeably,lexical,kazakh,unrestricted,utilised,sired,inhabits,proofs,joseon,pliny,minted,buddhists,cultivate,interconnected,reuse,viability,australasian,derelict,resolving,overlooks,menon,stewardship,playwrights,thwarted,filmfare,disarmament,protections,bundles,sidelined,hypothesized,singer/songwriter,forage,netted,chancery,townshend,restructured,quotation,hyperbolic,succumbed,parliaments,shenandoah,apical,kibbutz,storeys,pastors,lettering,ukrainians,hardships,chihuahua,avail,aisles,taluka,antisemitism,assent,ventured,banksia,seamen,hospice,faroe,fearful,woreda,outfield,chlorine,transformer,tatar,panoramic,pendulum,haarlem,styria,cornice,importing,catalyzes,subunits,enamel,bakersfield,realignment,sorties,subordinates,deanery,townland,gunmen,tutelage,evaluations,allahabad,thrace,veneto,mennonite,sharia,subgenus,satisfies,puritan,unequal,gastrointestinal,ordinances,bacterium,horticulture,argonauts,adjectives,arable,duets,visualization,woolwich,revamped,euroleague,thorax,completes,originality,vasco,freighter,sardar,oratory,sects,extremes,signatories,exporting,arisen,exacerbated,departures,saipan,furlongs,d'italia,goring,dakar,conquests,docked,offshoot,okrug,referencing,disperse,netting,summed,rewritten,articulation,humanoid,spindle,competitiveness,preventive,facades,westinghouse,wycombe,synthase,emulate,fostering,abdel,hexagonal,myriad,caters,arjun,dismay,axiom,psychotherapy,colloquial,complemented,martinique,fractures,culmination,erstwhile,atrium,electronica,anarchism,nadal,montpellier,algebras,submitting,adopts,stemmed,overcame,internacional,asymmetric,gallipoli,gliders,flushing,extermination,hartlepool,tesla,interwar,patriarchal,hitherto,ganges,combatant,marred,philology,glastonbury,reversible,isthmus,undermined,southwark,gateshead,andalusia,remedies,hastily,optimum,smartphone,evade,patrolled,beheaded,dopamine,waivers,ugandan,gujarati,densities,predicting,intestinal,tentative,interstellar,kolonia,soloists,penetrated,rebellions,qeshlaq,prospered,colegio,deficits,konigsberg,deficient,accessing,relays,kurds,politburo,codified,incarnations,occupancy,cossack,metaphysical,deprivation,chopra,piccadilly,formula_18,makeshift,protestantism,alaskan,frontiers,faiths,tendon,dunkirk,durability,autobots,bonuses,coinciding,emails,gunboat,stucco,magma,neutrons,vizier,subscriptions,visuals,envisaged,carpets,smoky,schema,parliamentarian,immersed,domesticated,parishioners,flinders,diminutive,mahabharata,ballarat,falmouth,vacancies,gilded,twigs,mastering,clerics,dalmatia,islington,slogans,compressor,iconography,congolese,sanction,blends,bulgarians,moderator,outflow,textures,safeguard,trafalgar,tramways,skopje,colonialism,chimneys,jazeera,organisers,denoting,motivations,ganga,longstanding,deficiencies,gwynedd,palladium,holistic,fascia,preachers,embargo,sidings,busan,ignited,artificially,clearwater,cemented,northerly,salim,equivalents,crustaceans,oberliga,quadrangle,historiography,romanians,vaults,fiercely,incidental,peacetime,tonal,bhopal,oskar,radha,pesticides,timeslot,westerly,cathedrals,roadways,aldershot,connectors,brahmins,paler,aqueous,gustave,chromatic,linkage,lothian,specialises,aggregation,tributes,insurgent,enact,hampden,ghulam,federations,instigated,lyceum,fredrik,chairmanship,floated,consequent,antagonists,intimidation,patriarchate,warbler,heraldry,entrenched,expectancy,habitation,partitions,widest,launchers,nascent,ethos,wurzburg,lycee,chittagong,mahatma,merseyside,asteroids,yokosuka,cooperatives,quorum,redistricting,bureaucratic,yachts,deploying,rustic,phonology,chorale,cellist,stochastic,crucifixion,surmounted,confucian,portfolios,geothermal,crested,calibre,tropics,deferred,nasir,iqbal,persistence,essayist,chengdu,aborigines,fayetteville,bastion,interchangeable,burlesque,kilmarnock,specificity,tankers,colonels,fijian,quotations,enquiry,quito,palmerston,delle,multidisciplinary,polynesian,iodine,antennae,emphasised,manganese,baptists,galilee,jutland,latent,excursions,skepticism,tectonic,precursors,negligible,musique,misuse,vitoria,expressly,veneration,sulawesi,footed,mubarak,chongqing,chemically,midday,ravaged,facets,varma,yeovil,ethnographic,discounted,physicists,attache,disbanding,essen,shogunate,cooperated,waikato,realising,motherwell,pharmacology,sulfide,inward,expatriate,devoid,cultivar,monde,andean,groupings,goran,unaffected,moldovan,postdoctoral,coleophora,delegated,pronoun,conductivity,coleridge,disapproval,reappeared,microbial,campground,olsztyn,fostered,vaccination,rabbinical,champlain,milestones,viewership,caterpillar,effected,eupithecia,financier,inferred,uzbek,bundled,bandar,balochistan,mysticism,biosphere,holotype,symbolizes,lovecraft,photons,abkhazia,swaziland,subgroups,measurable,falkirk,valparaiso,ashok,discriminatory,rarity,tabernacle,flyweight,jalisco,westernmost,antiquarian,extracellular,margrave,colspan=9,midsummer,digestive,reversing,burgeoning,substitutes,medallist,khrushchev,guerre,folio,detonated,partido,plentiful,aggregator,medallion,infiltration,shaded,santander,fared,auctioned,permian,ramakrishna,andorra,mentors,diffraction,bukit,potentials,translucent,feminists,tiers,protracted,coburg,wreath,guelph,adventurer,he/she,vertebrate,pipelines,celsius,outbreaks,australasia,deccan,garibaldi,unionists,buildup,biochemical,reconstruct,boulders,stringent,barbed,wording,furnaces,pests,befriends,organises,popes,rizal,tentacles,cadre,tallahassee,punishments,occidental,formatted,mitigation,rulings,rubens,cascades,inducing,choctaw,volta,synagogues,movable,altarpiece,mitigate,practise,intermittently,encountering,memberships,earns,signify,retractable,amounting,pragmatic,wilfrid,dissenting,divergent,kanji,reconstituted,devonian,constitutions,levied,hendrik,starch,costal,honduran,ditches,polygon,eindhoven,superstars,salient,argus,punitive,purana,alluvial,flaps,inefficient,retracted,advantageous,quang,andersson,danville,binghamton,symbolize,conclave,shaanxi,silica,interpersonal,adept,frans,pavilions,lubbock,equip,sunken,limburg,activates,prosecutions,corinthian,venerated,shootings,retreats,parapet,orissa,riviere,animations,parodied,offline,metaphysics,bluffs,plume,piety,fruition,subsidized,steeplechase,shanxi,eurasia,angled,forecasting,suffragan,ashram,larval,labyrinth,chronicler,summaries,trailed,merges,thunderstorms,filtered,formula_19,advertisers,alpes,informatics,parti,constituting,undisputed,certifications,javascript,molten,sclerosis,rumoured,boulogne,hmong,lewes,breslau,notts,bantu,ducal,messengers,radars,nightclubs,bantamweight,carnatic,kaunas,fraternal,triggering,controversially,londonderry,visas,scarcity,offaly,uprisings,repelled,corinthians,pretext,kuomintang,kielce,empties,matriculated,pneumatic,expos,agile,treatises,midpoint,prehistory,oncology,subsets,hydra,hypertension,axioms,wabash,reiterated,swapped,achieves,premio,ageing,overture,curricula,challengers,subic,selangor,liners,frontline,shutter,validated,normalized,entertainers,molluscs,maharaj,allegation,youngstown,synth,thoroughfare,regionally,pillai,transcontinental,pedagogical,riemann,colonia,easternmost,tentatively,profiled,herefordshire,nativity,meuse,nucleotide,inhibits,huntingdon,throughput,recorders,conceding,domed,homeowners,centric,gabled,canoes,fringes,breeder,subtitled,fluoride,haplogroup,zionism,izmir,phylogeny,kharkiv,romanticism,adhesion,usaaf,delegations,lorestan,whalers,biathlon,vaulted,mathematically,pesos,skirmishes,heisman,kalamazoo,gesellschaft,launceston,interacts,quadruple,kowloon,psychoanalysis,toothed,ideologies,navigational,valence,induces,lesotho,frieze,rigging,undercarriage,explorations,spoof,eucharist,profitability,virtuoso,recitals,subterranean,sizeable,herodotus,subscriber,huxley,pivot,forewing,warring,boleslaw,bharatiya,suffixes,trois,percussionist,downturn,garrisons,philosophies,chants,mersin,mentored,dramatist,guilds,frameworks,thermodynamic,venomous,mehmed,assembling,rabbinic,hegemony,replicas,enlargement,claimant,retitled,utica,dumfries,metis,deter,assortment,tubing,afflicted,weavers,rupture,ornamentation,transept,salvaged,upkeep,callsign,rajput,stevenage,trimmed,intracellular,synchronization,consular,unfavorable,royalists,goldwyn,fasting,hussars,doppler,obscurity,currencies,amiens,acorn,tagore,townsville,gaussian,migrations,porta,anjou,graphite,seaport,monographs,gladiators,metrics,calligraphy,sculptural,swietokrzyskie,tolombeh,eredivisie,shoals,queries,carts,exempted,fiberglass,mirrored,bazar,progeny,formalized,mukherjee,professed,amazon.com,cathode,moreton,removable,mountaineers,nagano,transplantation,augustinian,steeply,epilogue,adapter,decisively,accelerating,mediaeval,substituting,tasman,devonshire,litres,enhancements,himmler,nephews,bypassing,imperfect,argentinian,reims,integrates,sochi,ascii,licences,niches,surgeries,fables,versatility,indra,footpath,afonso,crore,evaporation,encodes,shelling,conformity,simplify,updating,quotient,overt,firmware,umpires,architectures,eocene,conservatism,secretion,embroidery,f.c..,tuvalu,mosaics,shipwreck,prefectural,cohort,grievances,garnering,centerpiece,apoptosis,djibouti,bethesda,formula_20,shonen,richland,justinian,dormitories,meteorite,reliably,obtains,pedagogy,hardness,cupola,manifolds,amplification,steamers,familial,dumbarton,jerzy,genital,maidstone,salinity,grumman,signifies,presbytery,meteorology,procured,aegis,streamed,deletion,nuestra,mountaineering,accords,neuronal,khanate,grenoble,axles,dispatches,tokens,turku,auctions,propositions,planters,proclaiming,recommissioned,stravinsky,obverse,bombarded,waged,saviour,massacred,reformist,purportedly,resettlement,ravenna,embroiled,minden,revitalization,hikers,bridging,torpedoed,depletion,nizam,affectionately,latitudes,lubeck,spore,polymerase,aarhus,nazism,101st,buyout,galerie,diets,overflow,motivational,renown,brevet,deriving,melee,goddesses,demolish,amplified,tamworth,retake,brokerage,beneficiaries,henceforth,reorganised,silhouette,browsers,pollutants,peron,lichfield,encircled,defends,bulge,dubbing,flamenco,coimbatore,refinement,enshrined,grizzlies,capacitor,usefulness,evansville,interscholastic,rhodesian,bulletins,diamondbacks,rockers,platted,medalists,formosa,transporter,slabs,guadeloupe,disparate,concertos,violins,regaining,mandible,untitled,agnostic,issuance,hamiltonian,brampton,srpska,homology,downgraded,florentine,epitaph,kanye,rallying,analysed,grandstand,infinitely,antitrust,plundered,modernity,colspan=3|total,amphitheatre,doric,motorists,yemeni,carnivorous,probabilities,prelate,struts,scrapping,bydgoszcz,pancreatic,signings,predicts,compendium,ombudsman,apertura,appoints,rebbe,stereotypical,valladolid,clustered,touted,plywood,inertial,kettering,curving,d'honneur,housewives,grenadier,vandals,barbarossa,necked,waltham,reputedly,jharkhand,cistercian,pursues,viscosity,organiser,cloister,islet,stardom,moorish,himachal,strives,scripps,staggered,blasts,westwards,millimeters,angolan,hubei,agility,admirals,mordellistena,coincides,platte,vehicular,cordillera,riffs,schoolteacher,canaan,acoustics,tinged,reinforcing,concentrates,daleks,monza,selectively,musik,polynesia,exporter,reviving,macclesfield,bunkers,ballets,manors,caudal,microbiology,primes,unbroken,outcry,flocks,pakhtunkhwa,abelian,toowoomba,luminous,mould,appraisal,leuven,experimentally,interoperability,hideout,perak,specifying,knighthood,vasily,excerpt,computerized,niels,networked,byzantium,reaffirmed,geographer,obscured,fraternities,mixtures,allusion,accra,lengthened,inquest,panhandle,pigments,revolts,bluetooth,conjugate,overtaken,foray,coils,breech,streaks,impressionist,mendelssohn,intermediary,panned,suggestive,nevis,upazila,rotunda,mersey,linnaeus,anecdotes,gorbachev,viennese,exhaustive,moldavia,arcades,irrespective,orator,diminishing,predictive,cohesion,polarized,montage,avian,alienation,conus,jaffna,urbanization,seawater,extremity,editorials,scrolling,dreyfus,traverses,topographic,gunboats,extratropical,normans,correspondents,recognises,millennia,filtration,ammonium,voicing,complied,prefixes,diplomas,figurines,weakly,gated,oscillator,lucerne,embroidered,outpatient,airframe,fractional,disobedience,quarterbacks,formula_21,shinto,chiapas,epistle,leakage,pacifist,avignon,penrith,renders,mantua,screenplays,gustaf,tesco,alphabetically,rations,discharges,headland,tapestry,manipur,boolean,mediator,ebenezer,subchannel,fable,bestselling,ateneo,trademarks,recurrence,dwarfs,britannica,signifying,vikram,mediate,condensation,censuses,verbandsgemeinde,cartesian,sprang,surat,britons,chelmsford,courtenay,statistic,retina,abortions,liabilities,closures,mississauga,skyscrapers,saginaw,compounded,aristocrat,msnbc,stavanger,septa,interpretive,hinder,visibly,seeding,shutouts,irregularly,quebecois,footbridge,hydroxide,implicitly,lieutenants,simplex,persuades,midshipman,heterogeneous,officiated,crackdown,lends,tartu,altars,fractions,dissidents,tapered,modernisation,scripting,blazon,aquaculture,thermodynamics,sistan,hasidic,bellator,pavia,propagated,theorized,bedouin,transnational,mekong,chronicled,declarations,kickstarter,quotas,runtime,duquesne,broadened,clarendon,brownsville,saturation,tatars,electorates,malayan,replicated,observable,amphitheater,endorsements,referral,allentown,mormons,pantomime,eliminates,typeface,allegorical,varna,conduction,evoke,interviewer,subordinated,uyghur,landscaped,conventionally,ascend,edifice,postulated,hanja,whitewater,embarking,musicologist,tagalog,frontage,paratroopers,hydrocarbons,transliterated,nicolae,viewpoints,surrealist,asheville,falklands,hacienda,glide,opting,zimbabwean,discal,mortgages,nicaraguan,yadav,ghosh,abstracted,castilian,compositional,cartilage,intergovernmental,forfeited,importation,rapping,artes,republika,narayana,condominium,frisian,bradman,duality,marche,extremist,phosphorylation,genomes,allusions,valencian,habeas,ironworks,multiplex,harpsichord,emigrate,alternated,breda,waffen,smartphones,familiarity,regionalliga,herbaceous,piping,dilapidated,carboniferous,xviii,critiques,carcinoma,sagar,chippewa,postmodern,neapolitan,excludes,notoriously,distillation,tungsten,richness,installments,monoxide,chand,privatisation,molded,maths,projectiles,luoyang,epirus,lemma,concentric,incline,erroneous,sideline,gazetted,leopards,fibres,renovate,corrugated,unilateral,repatriation,orchestration,saeed,rockingham,loughborough,formula_22,bandleader,appellation,openness,nanotechnology,massively,tonnage,dunfermline,exposes,moored,ridership,motte,eurobasket,majoring,feats,silla,laterally,playlist,downwards,methodologies,eastbourne,daimyo,cellulose,leyton,norwalk,oblong,hibernian,opaque,insular,allegory,camogie,inactivation,favoring,masterpieces,rinpoche,serotonin,portrayals,waverley,airliner,longford,minimalist,outsourcing,excise,meyrick,qasim,organisational,synaptic,farmington,gorges,scunthorpe,zoned,tohoku,librarians,davao,decor,theatrically,brentwood,pomona,acquires,planter,capacitors,synchronous,skateboarding,coatings,turbocharged,ephraim,capitulation,scoreboard,hebrides,ensues,cereals,ailing,counterpoint,duplication,antisemitic,clique,aichi,oppressive,transcendental,incursions,rename,renumbering,powys,vestry,bitterly,neurology,supplanted,affine,susceptibility,orbiter,activating,overlaps,ecoregion,raman,canoer,darfur,microorganisms,precipitated,protruding,torun,anthropologists,rennes,kangaroos,parliamentarians,edits,littoral,archived,begum,rensselaer,microphones,ypres,empower,etruscan,wisden,montfort,calibration,isomorphic,rioting,kingship,verbally,smyrna,cohesive,canyons,fredericksburg,rahul,relativistic,micropolitan,maroons,industrialized,henchmen,uplift,earthworks,mahdi,disparity,cultured,transliteration,spiny,fragmentary,extinguished,atypical,inventors,biosynthesis,heralded,curacao,anomalies,aeroplane,surya,mangalore,maastricht,ashkenazi,fusiliers,hangzhou,emitting,monmouthshire,schwarzenegger,ramayana,peptides,thiruvananthapuram,alkali,coimbra,budding,reasoned,epithelial,harbors,rudimentary,classically,parque,ealing,crusades,rotations,riparian,pygmy,inertia,revolted,microprocessor,calendars,solvents,kriegsmarine,accademia,cheshmeh,yoruba,ardabil,mitra,genomic,notables,propagate,narrates,univision,outposts,polio,birkenhead,urinary,crocodiles,pectoral,barrymore,deadliest,rupees,chaim,protons,comical,astrophysics,unifying,formula_23,vassals,cortical,audubon,pedals,tenders,resorted,geophysical,lenders,recognising,tackling,lanarkshire,doctrinal,annan,combating,guangxi,estimating,selectors,tribunals,chambered,inhabiting,exemptions,curtailed,abbasid,kandahar,boron,bissau,150th,codenamed,wearer,whorl,adhered,subversive,famer,smelting,inserting,mogadishu,zoologist,mosul,stumps,almanac,olympiacos,stamens,participatory,cults,honeycomb,geologists,dividend,recursive,skiers,reprint,pandemic,liber,percentages,adversely,stoppage,chieftains,tubingen,southerly,overcrowding,unorganized,hangars,fulfil,hails,cantilever,woodbridge,pinus,wiesbaden,fertilization,fluorescence,enhances,plenary,troublesome,episodic,thrissur,kickboxing,allele,staffing,garda,televisions,philatelic,spacetime,bullpen,oxides,leninist,enrolling,inventive,truro,compatriot,ruskin,normative,assay,gotha,murad,illawarra,gendarmerie,strasse,mazraeh,rebounded,fanfare,liaoning,rembrandt,iranians,emirate,governs,latency,waterfowl,chairmen,katowice,aristocrats,eclipsed,sentient,sonatas,interplay,sacking,decepticons,dynamical,arbitrarily,resonant,petar,velocities,alludes,wastes,prefectures,belleville,sensibility,salvadoran,consolidating,medicaid,trainees,vivekananda,molar,porous,upload,youngster,infused,doctorates,wuhan,annihilation,enthusiastically,gamespot,kanpur,accumulating,monorail,operetta,tiling,sapporo,finns,calvinist,hydrocarbon,sparrows,orienteering,cornelis,minster,vuelta,plebiscite,embraces,panchayats,focussed,remediation,brahman,olfactory,reestablished,uniqueness,northumbria,rwandan,predominately,abode,ghats,balances,californian,uptake,bruges,inert,westerns,reprints,cairn,yarra,resurfaced,audible,rossini,regensburg,italiana,fleshy,irrigated,alerts,yahya,varanasi,marginalized,expatriates,cantonment,normandie,sahitya,directives,rounder,hulls,fictionalized,constables,inserts,hipped,potosi,navies,biologists,canteen,husbandry,augment,fortnight,assamese,kampala,o'keefe,paleolithic,bluish,promontory,consecutively,striving,niall,reuniting,dipole,friendlies,disapproved,thrived,netflix,liberian,dielectric,medway,strategist,sankt,pickups,hitters,encode,rerouted,claimants,anglesey,partitioned,cavan,flutes,reared,repainted,armaments,bowed,thoracic,balliol,piero,chaplains,dehestan,sender,junkers,sindhi,sickle,dividends,metallurgy,honorific,berths,namco,springboard,resettled,gansu,copyrighted,criticizes,utopian,bendigo,ovarian,binomial,spaceflight,oratorio,proprietors,supergroup,duplicated,foreground,strongholds,revolved,optimize,layouts,westland,hurler,anthropomorphic,excelsior,merchandising,reeds,vetoed,cryptography,hollyoaks,monash,flooring,ionian,resilience,johnstown,resolves,lawmakers,alegre,wildcards,intolerance,subculture,selector,slums,formulate,bayonet,istvan,restitution,interchangeably,awakens,rostock,serpentine,oscillation,reichstag,phenotype,recessed,piotr,annotated,preparedness,consultations,clausura,preferential,euthanasia,genoese,outcrops,freemasonry,geometrical,genesee,islets,prometheus,panamanian,thunderbolt,terraced,stara,shipwrecks,futebol,faroese,sharqi,aldermen,zeitung,unify,formula_24,humanism,syntactic,earthen,blyth,taxed,rescinded,suleiman,cymru,dwindled,vitality,superieure,resupply,adolphe,ardennes,rajiv,profiling,olympique,gestation,interfaith,milosevic,tagline,funerary,druze,silvery,plough,shrubland,relaunch,disband,nunatak,minimizing,excessively,waned,attaching,luminosity,bugle,encampment,electrostatic,minesweeper,dubrovnik,rufous,greenock,hochschule,assyrians,extracting,malnutrition,priya,attainment,anhui,connotations,predicate,seabirds,deduced,pseudonyms,gopal,plovdiv,refineries,imitated,kwazulu,terracotta,tenets,discourses,brandeis,whigs,dominions,pulmonate,landslides,tutors,determinant,richelieu,farmstead,tubercles,technicolor,hegel,redundancy,greenpeace,shortening,mules,distilled,xxiii,fundamentalist,acrylic,outbuildings,lighted,corals,signaled,transistors,cavite,austerity,76ers,exposures,dionysius,outlining,commutative,permissible,knowledgeable,howrah,assemblage,inhibited,crewmen,mbit/s,pyramidal,aberdeenshire,bering,rotates,atheism,howitzer,saone,lancet,fermented,contradicted,materiel,ofsted,numeric,uniformity,josephus,nazarene,kuwaiti,noblemen,pediment,emergent,campaigner,akademi,murcia,perugia,gallen,allsvenskan,finned,cavities,matriculation,rosters,twickenham,signatory,propel,readable,contends,artisan,flamboyant,reggio,italo,fumbles,widescreen,rectangle,centimetres,collaborates,envoys,rijeka,phonological,thinly,refractive,civilisation,reductase,cognate,dalhousie,monticello,lighthouses,jitsu,luneburg,socialite,fermi,collectible,optioned,marquee,jokingly,architecturally,kabir,concubine,nationalisation,watercolor,wicklow,acharya,pooja,leibniz,rajendra,nationalized,stalemate,bloggers,glutamate,uplands,shivaji,carolingian,bucuresti,dasht,reappears,muscat,functionally,formulations,hinged,hainan,catechism,autosomal,incremental,asahi,coeur,diversification,multilateral,fewest,recombination,finisher,harrogate,hangul,feasts,photovoltaic,paget,liquidity,alluded,incubation,applauded,choruses,malagasy,hispanics,bequest,underparts,cassava,kazimierz,gastric,eradication,mowtowr,tyrosine,archbishopric,e9e9e9,unproductive,uxbridge,hydrolysis,harbours,officio,deterministic,devonport,kanagawa,breaches,freetown,rhinoceros,chandigarh,janos,sanatorium,liberator,inequalities,agonist,hydrophobic,constructors,nagorno,snowboarding,welcomes,subscribed,iloilo,resuming,catalysts,stallions,jawaharlal,harriers,definitively,roughriders,hertford,inhibiting,elgar,randomized,incumbents,episcopate,rainforests,yangon,improperly,kemal,interpreters,diverged,uttarakhand,umayyad,phnom,panathinaikos,shabbat,diode,jiangxi,forbidding,nozzle,artistry,licensee,processions,staffs,decimated,expressionism,shingle,palsy,ontology,mahayana,maribor,sunil,hostels,edwardian,jetty,freehold,overthrew,eukaryotic,schuylkill,rawalpindi,sheath,recessive,ferenc,mandibles,berlusconi,confessor,convergent,ababa,slugging,rentals,sephardic,equivalently,collagen,markov,dynamically,hailing,depressions,sprawling,fairgrounds,indistinguishable,plutarch,pressurized,banff,coldest,braunschweig,mackintosh,sociedad,wittgenstein,tromso,airbase,lecturers,subtitle,attaches,purified,contemplated,dreamworks,telephony,prophetic,rockland,aylesbury,biscay,coherence,aleksandar,judoka,pageants,theses,homelessness,luthor,sitcoms,hinterland,fifths,derwent,privateers,enigmatic,nationalistic,instructs,superimposed,conformation,tricycle,dusan,attributable,unbeknownst,laptops,etching,archbishops,ayatollah,cranial,gharbi,interprets,lackawanna,abingdon,saltwater,tories,lender,minaj,ancillary,ranching,pembrokeshire,topographical,plagiarism,murong,marque,chameleon,assertions,infiltrated,guildhall,reverence,schenectady,formula_25,kollam,notary,mexicana,initiates,abdication,basra,theorems,ionization,dismantling,eared,censors,budgetary,numeral,verlag,excommunicated,distinguishable,quarried,cagliari,hindustan,symbolizing,watertown,descartes,relayed,enclosures,militarily,sault,devolved,dalian,djokovic,filaments,staunton,tumour,curia,villainous,decentralized,galapagos,moncton,quartets,onscreen,necropolis,brasileiro,multipurpose,alamos,comarca,jorgen,concise,mercia,saitama,billiards,entomologist,montserrat,lindbergh,commuting,lethbridge,phoenician,deviations,anaerobic,denouncing,redoubt,fachhochschule,principalities,negros,announcers,seconded,parrots,konami,revivals,approving,devotee,riyadh,overtook,morecambe,lichen,expressionist,waterline,silverstone,geffen,sternites,aspiration,behavioural,grenville,tripura,mediums,genders,pyotr,charlottesville,sacraments,programmable,ps100,shackleton,garonne,sumerian,surpass,authorizing,interlocking,lagoons,voiceless,advert,steeple,boycotted,alouettes,yosef,oxidative,sassanid,benefiting,sayyid,nauru,predetermined,idealism,maxillary,polymerization,semesters,munchen,conor,outfitted,clapham,progenitor,gheorghe,observational,recognitions,numerically,colonized,hazrat,indore,contaminants,fatality,eradicate,assyria,convocation,cameos,skillful,skoda,corfu,confucius,overtly,ramadan,wollongong,placements,d.c..,permutation,contemporaneous,voltages,elegans,universitat,samar,plunder,dwindling,neuter,antonin,sinhala,campania,solidified,stanzas,fibrous,marburg,modernize,sorcery,deutscher,florets,thakur,disruptive,infielder,disintegration,internazionale,vicariate,effigy,tripartite,corrective,klamath,environs,leavenworth,sandhurst,workmen,compagnie,hoseynabad,strabo,palisades,ordovician,sigurd,grandsons,defection,viacom,sinhalese,innovator,uncontrolled,slavonic,indexes,refrigeration,aircrew,superbike,resumption,neustadt,confrontations,arras,hindenburg,ripon,embedding,isomorphism,dwarves,matchup,unison,lofty,argos,louth,constitutionally,transitive,newington,facelift,degeneration,perceptual,aviators,enclosing,igneous,symbolically,academician,constitutionality,iso/iec,sacrificial,maturation,apprentices,enzymology,naturalistic,hajji,arthropods,abbess,vistula,scuttled,gradients,pentathlon,etudes,freedmen,melaleuca,thrice,conductive,sackville,franciscans,stricter,golds,kites,worshiped,monsignor,trios,orally,tiered,primacy,bodywork,castleford,epidemics,alveolar,chapelle,chemists,hillsboro,soulful,warlords,ngati,huguenot,diurnal,remarking,luger,motorways,gauss,jahan,cutoff,proximal,bandai,catchphrase,jonubi,ossetia,codename,codice_2,throated,itinerant,chechnya,riverfront,leela,evoked,entailed,zamboanga,rejoining,circuitry,haymarket,khartoum,feuds,braced,miyazaki,mirren,lubusz,caricature,buttresses,attrition,characterizes,widnes,evanston,materialism,contradictions,marist,midrash,gainsborough,ulithi,turkmen,vidya,escuela,patrician,inspirations,reagent,premierships,humanistic,euphrates,transitioning,belfry,zedong,adaption,kaliningrad,lobos,epics,waiver,coniferous,polydor,inductee,refitted,moraine,unsatisfactory,worsening,polygamy,rajya,nested,subgenre,broadside,stampeders,lingua,incheon,pretender,peloton,persuading,excitation,multan,predates,tonne,brackish,autoimmune,insulated,podcasts,iraqis,bodybuilding,condominiums,midlothian,delft,debtor,asymmetrical,lycaenidae,forcefully,pathogenic,tamaulipas,andaman,intravenous,advancements,senegalese,chronologically,realigned,inquirer,eusebius,dekalb,additives,shortlist,goldwater,hindustani,auditing,caterpillars,pesticide,nakhon,ingestion,lansdowne,traditionalist,northland,thunderbirds,josip,nominating,locale,ventricular,animators,verandah,epistles,surveyors,anthems,dredd,upheaval,passaic,anatolian,svalbard,associative,floodplain,taranaki,estuaries,irreducible,beginners,hammerstein,allocate,coursework,secreted,counteract,handwritten,foundational,passover,discoverer,decoding,wares,bourgeoisie,playgrounds,nazionale,abbreviations,seanad,golan,mishra,godavari,rebranding,attendances,backstory,interrupts,lettered,hasbro,ultralight,hormozgan,armee,moderne,subdue,disuse,improvisational,enrolment,persists,moderated,carinthia,hatchback,inhibitory,capitalized,anatoly,abstracts,albemarle,bergamo,insolvency,sentai,cellars,walloon,joked,kashmiri,dirac,materialized,renomination,homologous,gusts,eighteens,centrifugal,storied,baluchestan,formula_26,poincare,vettel,infuriated,gauges,streetcars,vedanta,stately,liquidated,goguryeo,swifts,accountancy,levee,acadian,hydropower,eustace,comintern,allotment,designating,torsion,molding,irritation,aerobic,halen,concerted,plantings,garrisoned,gramophone,cytoplasm,onslaught,requisitioned,relieving,genitive,centrist,jeong,espanola,dissolving,chatterjee,sparking,connaught,varese,arjuna,carpathian,empowering,meteorologist,decathlon,opioid,hohenzollern,fenced,ibiza,avionics,footscray,scrum,discounts,filament,directories,a.f.c,stiffness,quaternary,adventurers,transmits,harmonious,taizong,radiating,germantown,ejection,projectors,gaseous,nahuatl,vidyalaya,nightlife,redefined,refuted,destitute,arista,potters,disseminated,distanced,jamboree,kaohsiung,tilted,lakeshore,grained,inflicting,kreis,novelists,descendents,mezzanine,recast,fatah,deregulation,ac/dc,australis,kohgiluyeh,boreal,goths,authoring,intoxicated,nonpartisan,theodosius,pyongyang,shree,boyhood,sanfl,plenipotentiary,photosynthesis,presidium,sinaloa,honshu,texan,avenida,transmembrane,malays,acropolis,catalunya,vases,inconsistencies,methodists,quell,suisse,banat,simcoe,cercle,zealanders,discredited,equine,sages,parthian,fascists,interpolation,classifying,spinoff,yehuda,cruised,gypsum,foaled,wallachia,saraswati,imperialist,seabed,footnotes,nakajima,locales,schoolmaster,drosophila,bridgehead,immanuel,courtier,bookseller,niccolo,stylistically,portmanteau,superleague,konkani,millimetres,arboreal,thanjavur,emulation,sounders,decompression,commoners,infusion,methodological,osage,rococo,anchoring,bayreuth,formula_27,abstracting,symbolized,bayonne,electrolyte,rowed,corvettes,traversing,editorship,sampler,presidio,curzon,adirondack,swahili,rearing,bladed,lemur,pashtun,behaviours,bottling,zaire,recognisable,systematics,leeward,formulae,subdistricts,smithfield,vijaya,buoyancy,boosting,cantonal,rishi,airflow,kamakura,adana,emblems,aquifer,clustering,husayn,woolly,wineries,montessori,turntable,exponentially,caverns,espoused,pianists,vorpommern,vicenza,latterly,o'rourke,williamstown,generale,kosice,duisburg,poirot,marshy,mismanagement,mandalay,dagenham,universes,chiral,radiated,stewards,vegan,crankshaft,kyrgyz,amphibian,cymbals,infrequently,offenbach,environmentalist,repatriated,permutations,midshipmen,loudoun,refereed,bamberg,ornamented,nitric,selim,translational,dorsum,annunciation,gippsland,reflector,informational,regia,reactionary,ahmet,weathering,erlewine,legalized,berne,occupant,divas,manifests,analyzes,disproportionate,mitochondria,totalitarian,paulista,interscope,anarcho,correlate,brookfield,elongate,brunel,ordinal,precincts,volatility,equaliser,hittite,somaliland,ticketing,monochrome,ubuntu,chhattisgarh,titleholder,ranches,referendums,blooms,accommodates,merthyr,religiously,ryukyu,tumultuous,checkpoints,anode,mi'kmaq,cannonball,punctuation,remodelled,assassinations,criminology,alternates,yonge,pixar,namibian,piraeus,trondelag,hautes,lifeboats,shoal,atelier,vehemently,sadat,postcode,jainism,lycoming,undisturbed,lutherans,genomics,popmatters,tabriz,isthmian,notched,autistic,horsham,mites,conseil,bloomsbury,seung,cybertron,idris,overhauled,disbandment,idealized,goldfields,worshippers,lobbyist,ailments,paganism,herbarium,athenians,messerschmitt,faraday,entangled,'olya,untreated,criticising,howitzers,parvati,lobed,debussy,atonement,tadeusz,permeability,mueang,sepals,degli,optionally,fuelled,follies,asterisk,pristina,lewiston,congested,overpass,affixed,pleads,telecasts,stanislaus,cryptographic,friesland,hamstring,selkirk,antisubmarine,inundated,overlay,aggregates,fleur,trolleybus,sagan,ibsen,inductees,beltway,tiled,ladders,cadbury,laplace,ascetic,micronesia,conveying,bellingham,cleft,batches,usaid,conjugation,macedon,assisi,reappointed,brine,jinnah,prairies,screenwriting,oxidized,despatches,linearly,fertilizers,brazilians,absorbs,wagga,modernised,scorsese,ashraf,charlestown,esque,habitable,nizhny,lettres,tuscaloosa,esplanade,coalitions,carbohydrates,legate,vermilion,standardised,galleria,psychoanalytic,rearrangement,substation,competency,nationalised,reshuffle,reconstructions,mehdi,bougainville,receivership,contraception,enlistment,conducive,aberystwyth,solicitors,dismisses,fibrosis,montclair,homeowner,surrealism,s.h.i.e.l.d,peregrine,compilers,1790s,parentage,palmas,rzeszow,worldview,eased,svenska,housemate,bundestag,originator,enlisting,outwards,reciprocity,formula_28,carbohydrate,democratically,firefighting,romagna,acknowledgement,khomeini,carbide,quests,vedas,characteristically,guwahati,brixton,unintended,brothels,parietal,namur,sherbrooke,moldavian,baruch,milieu,undulating,laurier,entre,dijon,ethylene,abilene,heracles,paralleling,ceres,dundalk,falun,auspicious,chisinau,polarity,foreclosure,templates,ojibwe,punic,eriksson,biden,bachchan,glaciation,spitfires,norsk,nonviolent,heidegger,algonquin,capacitance,cassettes,balconies,alleles,airdate,conveys,replays,classifies,infrequent,amine,cuttings,rarer,woking,olomouc,amritsar,rockabilly,illyrian,maoist,poignant,tempore,stalinist,segmented,bandmate,mollusc,muhammed,totalled,byrds,tendered,endogenous,kottayam,aisne,oxidase,overhears,illustrators,verve,commercialization,purplish,directv,moulded,lyttelton,baptismal,captors,saracens,georgios,shorten,polity,grids,fitzwilliam,sculls,impurities,confederations,akhtar,intangible,oscillations,parabolic,harlequin,maulana,ovate,tanzanian,singularity,confiscation,qazvin,speyer,phonemes,overgrown,vicarage,gurion,undocumented,niigata,thrones,preamble,stave,interment,liiga,ataturk,aphrodite,groupe,indentured,habsburgs,caption,utilitarian,ozark,slovenes,reproductions,plasticity,serbo,dulwich,castel,barbuda,salons,feuding,lenape,wikileaks,swamy,breuning,shedding,afield,superficially,operationally,lamented,okanagan,hamadan,accolade,furthering,adolphus,fyodor,abridged,cartoonists,pinkish,suharto,cytochrome,methylation,debit,colspan=9|,refine,taoist,signalled,herding,leaved,bayan,fatherland,rampart,sequenced,negation,storyteller,occupiers,barnabas,pelicans,nadir,conscripted,railcars,prerequisite,furthered,columba,carolinas,markup,gwalior,franche,chaco,eglinton,ramparts,rangoon,metabolites,pollination,croat,televisa,holyoke,testimonial,setlist,safavid,sendai,georgians,shakespearean,galleys,regenerative,krzysztof,overtones,estado,barbary,cherbourg,obispo,sayings,composites,sainsbury,deliberation,cosmological,mahalleh,embellished,ascap,biala,pancras,calumet,grands,canvases,antigens,marianas,defenseman,approximated,seedlings,soren,stele,nuncio,immunology,testimonies,glossary,recollections,suitability,tampere,venous,cohomology,methanol,echoing,ivanovich,warmly,sterilization,imran,multiplying,whitechapel,undersea,xuanzong,tacitus,bayesian,roundhouse,correlations,rioters,molds,fiorentina,bandmates,mezzo,thani,guerilla,200th,premiums,tamils,deepwater,chimpanzees,tribesmen,selwyn,globo,turnovers,punctuated,erode,nouvelle,banbury,exponents,abolishing,helical,maimonides,endothelial,goteborg,infield,encroachment,cottonwood,mazowiecki,parable,saarbrucken,reliever,epistemology,artistes,enrich,rationing,formula_29,palmyra,subfamilies,kauai,zoran,fieldwork,arousal,creditor,friuli,celts,comoros,equated,escalation,negev,tallied,inductive,anion,netanyahu,mesoamerican,lepidoptera,aspirated,remit,westmorland,italic,crosse,vaclav,fuego,owain,balmain,venetians,ethnicities,deflected,ticino,apulia,austere,flycatcher,reprising,repressive,hauptbahnhof,subtype,ophthalmology,summarizes,eniwetok,colonisation,subspace,nymphalidae,earmarked,tempe,burnet,crests,abbots,norwegians,enlarge,ashoka,frankfort,livorno,malware,renters,singly,iliad,moresby,rookies,gustavus,affirming,alleges,legume,chekhov,studded,abdicated,suzhou,isidore,townsite,repayment,quintus,yankovic,amorphous,constructor,narrowing,industrialists,tanganyika,capitalization,connective,mughals,rarities,aerodynamics,worthing,antalya,diagnostics,shaftesbury,thracian,obstetrics,benghazi,multiplier,orbitals,livonia,roscommon,intensify,ravel,oaths,overseer,locomotion,necessities,chickasaw,strathclyde,treviso,erfurt,aortic,contemplation,accrington,markazi,predeceased,hippocampus,whitecaps,assemblyman,incursion,ethnography,extraliga,reproducing,directorship,benzene,byway,stupa,taxable,scottsdale,onondaga,favourably,countermeasures,lithuanians,thatched,deflection,tarsus,consuls,annuity,paralleled,contextual,anglian,klang,hoisted,multilingual,enacting,samaj,taoiseach,carthaginian,apologised,hydrology,entrant,seamless,inflorescences,mugabe,westerners,seminaries,wintering,penzance,mitre,sergeants,unoccupied,delimitation,discriminate,upriver,abortive,nihon,bessarabia,calcareous,buffaloes,patil,daegu,streamline,berks,chaparral,laity,conceptions,typified,kiribati,threaded,mattel,eccentricity,signified,patagonia,slavonia,certifying,adnan,astley,sedition,minimally,enumerated,nikos,goalless,walid,narendra,causa,missoula,coolant,dalek,outcrop,hybridization,schoolchildren,peasantry,afghans,confucianism,shahr,gallic,tajik,kierkegaard,sauvignon,commissar,patriarchs,tuskegee,prussians,laois,ricans,talmudic,officiating,aesthetically,baloch,antiochus,separatists,suzerainty,arafat,shading,u.s.c,chancellors,inc..,toolkit,nepenthes,erebidae,solicited,pratap,kabbalah,alchemist,caltech,darjeeling,biopic,spillway,kaiserslautern,nijmegen,bolstered,neath,pahlavi,eugenics,bureaus,retook,northfield,instantaneous,deerfield,humankind,selectivity,putative,boarders,cornhuskers,marathas,raikkonen,aliabad,mangroves,garages,gulch,karzai,poitiers,chernobyl,thane,alexios,belgrano,scion,solubility,urbanized,executable,guizhou,nucleic,tripled,equalled,harare,houseguests,potency,ghazi,repeater,overarching,regrouped,broward,ragtime,d'art,nandi,regalia,campsites,mamluk,plating,wirral,presumption,zenit,archivist,emmerdale,decepticon,carabidae,kagoshima,franconia,guarani,formalism,diagonally,submarginal,denys,walkways,punts,metrolink,hydrographic,droplets,upperside,martyred,hummingbird,antebellum,curiously,mufti,friary,chabad,czechs,shaykh,reactivity,berklee,turbonilla,tongan,sultans,woodville,unlicensed,enmity,dominicans,operculum,quarrying,watercolour,catalyzed,gatwick,'what,mesozoic,auditors,shizuoka,footballing,haldane,telemundo,appended,deducted,disseminate,o'shea,pskov,abrasive,entente,gauteng,calicut,lemurs,elasticity,suffused,scopula,staining,upholding,excesses,shostakovich,loanwords,naidu,championnat,chromatography,boasting,goaltenders,engulfed,salah,kilogram,morristown,shingles,shi'a,labourer,renditions,frantisek,jekyll,zonal,nanda,sheriffs,eigenvalues,divisione,endorsing,ushered,auvergne,cadres,repentance,freemasons,utilising,laureates,diocletian,semiconductors,o'grady,vladivostok,sarkozy,trackage,masculinity,hydroxyl,mervyn,muskets,speculations,gridiron,opportunistic,mascots,aleutian,fillies,sewerage,excommunication,borrowers,capillary,trending,sydenham,synthpop,rajah,cagayan,deportes,kedah,faure,extremism,michoacan,levski,culminates,occitan,bioinformatics,unknowingly,inciting,emulated,footpaths,piacenza,dreadnought,viceroyalty,oceanographic,scouted,combinatorial,ornithologist,cannibalism,mujahideen,independiente,cilicia,hindwing,minimized,odeon,gyorgy,rubles,purchaser,collieries,kickers,interurban,coiled,lynchburg,respondent,plzen,detractors,etchings,centering,intensification,tomography,ranjit,warblers,retelling,reinstatement,cauchy,modulus,redirected,evaluates,beginner,kalateh,perforated,manoeuvre,scrimmage,internships,megawatts,mottled,haakon,tunbridge,kalyan,summarised,sukarno,quetta,canonized,henryk,agglomeration,coahuila,diluted,chiropractic,yogyakarta,talladega,sheik,cation,halting,reprisals,sulfuric,musharraf,sympathizers,publicised,arles,lectionary,fracturing,startups,sangha,latrobe,rideau,ligaments,blockading,cremona,lichens,fabaceae,modulated,evocative,embodies,battersea,indistinct,altai,subsystem,acidity,somatic,formula_30,tariq,rationality,sortie,ashlar,pokal,cytoplasmic,valour,bangla,displacing,hijacking,spectrometry,westmeath,weill,charing,goias,revolvers,individualized,tenured,nawaz,piquet,chanted,discard,bernd,phalanx,reworking,unilaterally,subclass,yitzhak,piloting,circumvent,disregarded,semicircular,viscous,tibetans,endeavours,retaliated,cretan,vienne,workhouse,sufficiency,aurangzeb,legalization,lipids,expanse,eintracht,sanjak,megas,125th,bahraini,yakima,eukaryotes,thwart,affirmation,peloponnese,retailing,carbonyl,chairwoman,macedonians,dentate,rockaway,correctness,wealthier,metamorphic,aragonese,fermanagh,pituitary,schrodinger,evokes,spoiler,chariots,akita,genitalia,combe,confectionery,desegregation,experiential,commodores,persepolis,viejo,restorations,virtualization,hispania,printmaking,stipend,yisrael,theravada,expended,radium,tweeted,polygonal,lippe,charente,leveraged,cutaneous,fallacy,fragrant,bypasses,elaborately,rigidity,majid,majorca,kongo,plasmodium,skits,audiovisual,eerste,staircases,prompts,coulthard,northwestward,riverdale,beatrix,copyrights,prudential,communicates,mated,obscenity,asynchronous,analyse,hansa,searchlight,farnborough,patras,asquith,qarah,contours,fumbled,pasteur,redistributed,almeria,sanctuaries,jewry,israelite,clinicians,koblenz,bookshop,affective,goulburn,panelist,sikorsky,cobham,mimics,ringed,portraiture,probabilistic,girolamo,intelligible,andalusian,jalal,athenaeum,eritrean,auxiliaries,pittsburg,devolution,sangam,isolating,anglers,cronulla,annihilated,kidderminster,synthesize,popularised,theophilus,bandstand,innumerable,chagrin,retroactively,weser,multiples,birdlife,goryeo,pawnee,grosser,grappling,tactile,ahmadinejad,turboprop,erdogan,matchday,proletarian,adhering,complements,austronesian,adverts,luminaries,archeology,impressionism,conifer,sodomy,interracial,platoons,lessen,postings,pejorative,registrations,cookery,persecutions,microbes,audits,idiosyncratic,subsp,suspensions,restricts,colouring,ratify,instrumentals,nucleotides,sulla,posits,bibliotheque,diameters,oceanography,instigation,subsumed,submachine,acceptor,legation,borrows,sedge,discriminated,loaves,insurers,highgate,detectable,abandons,kilns,sportscaster,harwich,iterations,preakness,arduous,tensile,prabhu,shortwave,philologist,shareholding,vegetative,complexities,councilors,distinctively,revitalize,automaton,amassing,montreux,khanh,surabaya,nurnberg,pernambuco,cuisines,charterhouse,firsts,tercera,inhabitant,homophobia,naturalism,einar,powerplant,coruna,entertainments,whedon,rajputs,raton,democracies,arunachal,oeuvre,wallonia,jeddah,trolleybuses,evangelism,vosges,kiowa,minimise,encirclement,undertakes,emigrant,beacons,deepened,grammars,publius,preeminent,seyyed,repechage,crafting,headingley,osteopathic,lithography,hotly,bligh,inshore,betrothed,olympians,formula_31,dissociation,trivandrum,arran,petrovic,stettin,disembarked,simplification,bronzes,philo,acrobatic,jonsson,conjectured,supercharged,kanto,detects,cheeses,correlates,harmonics,lifecycle,sudamericana,reservists,decayed,elitserien,parametric,113th,dusky,hogarth,modulo,symbiotic,monopolies,discontinuation,converges,southerners,tucuman,eclipses,enclaves,emits,famicom,caricatures,artistically,levelled,mussels,erecting,mouthparts,cunard,octaves,crucible,guardia,unusable,lagrangian,droughts,ephemeral,pashto,canis,tapering,sasebo,silurian,metallurgical,outscored,evolves,reissues,sedentary,homotopy,greyhawk,reagents,inheriting,onshore,tilting,rebuffed,reusable,naturalists,basingstoke,insofar,offensives,dravidian,curators,planks,rajan,isoforms,flagstaff,preside,globular,egalitarian,linkages,biographers,goalscorers,molybdenum,centralised,nordland,jurists,ellesmere,rosberg,hideyoshi,restructure,biases,borrower,scathing,redress,tunnelling,workflow,magnates,mahendra,dissenters,plethora,transcriptions,handicrafts,keyword,xi'an,petrograd,unser,prokofiev,90deg,madan,bataan,maronite,kearny,carmarthen,termini,consulates,disallowed,rockville,bowery,fanzine,docklands,bests,prohibitions,yeltsin,selassie,naturalization,realisation,dispensary,tribeca,abdulaziz,pocahontas,stagnation,pamplona,cuneiform,propagating,subsurface,christgau,epithelium,schwerin,lynching,routledge,hanseatic,upanishad,glebe,yugoslavian,complicity,endowments,girona,mynetworktv,entomology,plinth,ba'ath,supercup,torus,akkadian,salted,englewood,commandery,belgaum,prefixed,colorless,dartford,enthroned,caesarea,nominative,sandown,safeguards,hulled,formula_32,leamington,dieppe,spearhead,generalizations,demarcation,llanelli,masque,brickwork,recounting,sufism,strikingly,petrochemical,onslow,monologues,emigrating,anderlecht,sturt,hossein,sakhalin,subduction,novices,deptford,zanjan,airstrikes,coalfield,reintroduction,timbaland,hornby,messianic,stinging,universalist,situational,radiocarbon,strongman,rowling,saloons,traffickers,overran,fribourg,cambrai,gravesend,discretionary,finitely,archetype,assessor,pilipinas,exhumed,invocation,interacted,digitized,timisoara,smelter,teton,sexism,precepts,srinagar,pilsudski,carmelite,hanau,scoreline,hernando,trekking,blogging,fanbase,wielded,vesicles,nationalization,banja,rafts,motoring,luang,takeda,girder,stimulates,histone,sunda,nanoparticles,attains,jumpers,catalogued,alluding,pontus,ancients,examiners,shinkansen,ribbentrop,reimbursement,pharmacological,ramat,stringed,imposes,cheaply,transplanted,taiping,mizoram,looms,wallabies,sideman,kootenay,encased,sportsnet,revolutionized,tangier,benthic,runic,pakistanis,heatseekers,shyam,mishnah,presbyterians,stadt,sutras,straddles,zoroastrian,infer,fueling,gymnasts,ofcom,gunfight,journeyman,tracklist,oshawa,ps500,pa'in,mackinac,xiongnu,mississippian,breckinridge,freemason,bight,autoroute,liberalization,distantly,thrillers,solomons,presumptive,romanization,anecdotal,bohemians,unpaved,milder,concurred,spinners,alphabets,strenuous,rivieres,kerrang,mistreatment,dismounted,intensively,carlist,dancehall,shunting,pluralism,trafficked,brokered,bonaventure,bromide,neckar,designates,malian,reverses,sotheby,sorghum,serine,environmentalists,languedoc,consulship,metering,bankstown,handlers,militiamen,conforming,regularity,pondicherry,armin,capsized,consejo,capitalists,drogheda,granular,purged,acadians,endocrine,intramural,elicit,terns,orientations,miklos,omitting,apocryphal,slapstick,brecon,pliocene,affords,typography,emigre,tsarist,tomasz,beset,nishi,necessitating,encyclical,roleplaying,journeyed,inflow,sprints,progressives,novosibirsk,cameroonian,ephesus,speckled,kinshasa,freiherr,burnaby,dalmatian,torrential,rigor,renegades,bhakti,nurburgring,cosimo,convincingly,reverting,visayas,lewisham,charlottetown,charadriiformesfamily,transferable,jodhpur,converters,deepening,camshaft,underdeveloped,protease,polonia,uterine,quantify,tobruk,dealerships,narasimha,fortran,inactivity,1780s,victors,categorised,naxos,workstation,skink,sardinian,chalice,precede,dammed,sondheim,phineas,tutored,sourcing,uncompromising,placer,tyneside,courtiers,proclaims,pharmacies,hyogo,booksellers,sengoku,kursk,spectrometer,countywide,wielkopolski,bobsleigh,shetty,llywelyn,consistory,heretics,guinean,cliches,individualism,monolithic,imams,usability,bursa,deliberations,railings,torchwood,inconsistency,balearic,stabilizer,demonstrator,facet,radioactivity,outboard,educates,d'oyly,heretical,handover,jurisdictional,shockwave,hispaniola,conceptually,routers,unaffiliated,trentino,formula_33,cypriots,intervenes,neuchatel,formulating,maggiore,delisted,alcohols,thessaly,potable,estimator,suborder,fluency,mimicry,clergymen,infrastructures,rivals.com,baroda,subplot,majlis,plano,clinching,connotation,carinae,savile,intercultural,transcriptional,sandstones,ailerons,annotations,impresario,heinkel,scriptural,intermodal,astrological,ribbed,northeastward,posited,boers,utilise,kalmar,phylum,breakwater,skype,textured,guideline,azeri,rimini,massed,subsidence,anomalous,wolfsburg,polyphonic,accrediting,vodacom,kirov,captaining,kelantan,logie,fervent,eamon,taper,bundeswehr,disproportionately,divination,slobodan,pundits,hispano,kinetics,reunites,makati,ceasing,statistician,amending,chiltern,eparchy,riverine,melanoma,narragansett,pagans,raged,toppled,breaching,zadar,holby,dacian,ochre,velodrome,disparities,amphoe,sedans,webpage,williamsport,lachlan,groton,baring,swastika,heliport,unwillingness,razorbacks,exhibitors,foodstuffs,impacting,tithe,appendages,dermot,subtypes,nurseries,balinese,simulating,stary,remakes,mundi,chautauqua,geologically,stockade,hakka,dilute,kalimantan,pahang,overlapped,fredericton,baha'u'llah,jahangir,damping,benefactors,shomali,triumphal,cieszyn,paradigms,shielded,reggaeton,maharishi,zambian,shearing,golestan,mirroring,partitioning,flyover,songbook,incandescent,merrimack,huguenots,sangeet,vulnerabilities,trademarked,drydock,tantric,honoris,queenstown,labelling,iterative,enlists,statesmen,anglicans,herge,qinghai,burgundian,islami,delineated,zhuge,aggregated,banknote,qatari,suitably,tapestries,asymptotic,charleroi,majorities,pyramidellidae,leanings,climactic,tahir,ramsar,suppressor,revisionist,trawler,ernakulam,penicillium,categorization,slits,entitlement,collegium,earths,benefice,pinochet,puritans,loudspeaker,stockhausen,eurocup,roskilde,alois,jaroslav,rhondda,boutiques,vigor,neurotransmitter,ansar,malden,ferdinando,sported,relented,intercession,camberwell,wettest,thunderbolts,positional,oriel,cloverleaf,penalized,shoshone,rajkumar,completeness,sharjah,chromosomal,belgians,woolen,ultrasonic,sequentially,boleyn,mordella,microsystems,initiator,elachista,mineralogy,rhododendron,integrals,compostela,hamza,sawmills,stadio,berlioz,maidens,stonework,yachting,tappeh,myocardial,laborer,workstations,costumed,nicaea,lanark,roundtable,mashhad,nablus,algonquian,stuyvesant,sarkar,heroines,diwan,laments,intonation,intrigues,almaty,feuded,grandes,algarve,rehabilitate,macrophages,cruciate,dismayed,heuristic,eliezer,kozhikode,covalent,finalised,dimorphism,yaroslavl,overtaking,leverkusen,middlebury,feeders,brookings,speculates,insoluble,lodgings,jozsef,cysteine,shenyang,habilitation,spurious,brainchild,mtdna,comique,albedo,recife,partick,broadening,shahi,orientated,himalaya,swabia,palme,mennonites,spokeswoman,conscripts,sepulchre,chartres,eurozone,scaffold,invertebrate,parishad,bagan,heian,watercolors,basse,supercomputer,commences,tarragona,plainfield,arthurian,functor,identically,murex,chronicling,pressings,burrowing,histoire,guayaquil,goalkeeping,differentiable,warburg,machining,aeneas,kanawha,holocene,ramesses,reprisal,qingdao,avatars,turkestan,cantatas,besieging,repudiated,teamsters,equipping,hydride,ahmadiyya,euston,bottleneck,computations,terengganu,kalinga,stela,rediscovery,'this,azhar,stylised,karelia,polyethylene,kansai,motorised,lounges,normalization,calculators,1700s,goalkeepers,unfolded,commissary,cubism,vignettes,multiverse,heaters,briton,sparingly,childcare,thorium,plock,riksdag,eunuchs,catalysis,limassol,perce,uncensored,whitlam,ulmus,unites,mesopotamian,refraction,biodiesel,forza,fulda,unseated,mountbatten,shahrak,selenium,osijek,mimicking,antimicrobial,axons,simulcasting,donizetti,swabian,sportsmen,hafiz,neared,heraclius,locates,evaded,subcarpathian,bhubaneswar,negeri,jagannath,thaksin,aydin,oromo,lateran,goldsmiths,multiculturalism,cilia,mihai,evangelists,lorient,qajar,polygons,vinod,mechanised,anglophone,prefabricated,mosses,supervillain,airliners,biofuels,iodide,innovators,valais,wilberforce,logarithm,intelligentsia,dissipation,sanctioning,duchies,aymara,porches,simulators,mostar,telepathic,coaxial,caithness,burghs,fourths,stratification,joaquim,scribes,meteorites,monarchist,germination,vries,desiring,replenishment,istria,winemaking,tammany,troupes,hetman,lanceolate,pelagic,triptych,primeira,scant,outbound,hyphae,denser,bentham,basie,normale,executes,ladislaus,kontinental,herat,cruiserweight,activision,customization,manoeuvres,inglewood,northwood,waveform,investiture,inpatient,alignments,kiryat,rabat,archimedes,ustad,monsanto,archetypal,kirkby,sikhism,correspondingly,catskill,overlaid,petrels,widowers,unicameral,federalists,metalcore,gamerankings,mussel,formula_34,lymphocytes,cystic,southgate,vestiges,immortals,kalam,strove,amazons,pocono,sociologists,sopwith,adheres,laurens,caregivers,inspecting,transylvanian,rebroadcast,rhenish,miserables,pyrams,blois,newtonian,carapace,redshirt,gotland,nazir,unilever,distortions,linebackers,federalism,mombasa,lumen,bernoulli,favouring,aligarh,denounce,steamboats,dnieper,stratigraphic,synths,bernese,umass,icebreaker,guanajuato,heisenberg,boldly,diodes,ladakh,dogmatic,scriptwriter,maritimes,battlestar,symposia,adaptable,toluca,bhavan,nanking,ieyasu,picardy,soybean,adalbert,brompton,deutsches,brezhnev,glandular,laotian,hispanicized,ibadan,personification,dalit,yamuna,regio,dispensed,yamagata,zweibrucken,revising,fandom,stances,participle,flavours,khitan,vertebral,crores,mayaguez,dispensation,guntur,undefined,harpercollins,unionism,meena,leveling,philippa,refractory,telstra,judea,attenuation,pylons,elaboration,elegy,edging,gracillariidae,residencies,absentia,reflexive,deportations,dichotomy,stoves,sanremo,shimon,menachem,corneal,conifers,mordellidae,facsimile,diagnoses,cowper,citta,viticulture,divisive,riverview,foals,mystics,polyhedron,plazas,airspeed,redgrave,motherland,impede,multiplicity,barrichello,airships,pharmacists,harvester,clays,payloads,differentiating,popularize,caesars,tunneling,stagnant,circadian,indemnity,sensibilities,musicology,prefects,serfs,metra,lillehammer,carmarthenshire,kiosks,welland,barbican,alkyl,tillandsia,gatherers,asociacion,showings,bharati,brandywine,subversion,scalable,pfizer,dawla,barium,dardanelles,nsdap,konig,ayutthaya,hodgkin,sedimentation,completions,purchasers,sponsorships,maximizing,banked,taoism,minot,enrolls,fructose,aspired,capuchin,outages,artois,carrollton,totality,osceola,pawtucket,fontainebleau,converged,queretaro,competencies,botha,allotments,sheaf,shastri,obliquely,banding,catharines,outwardly,monchengladbach,driest,contemplative,cassini,ranga,pundit,kenilworth,tiananmen,disulfide,formula_35,townlands,codice_3,looping,caravans,rachmaninoff,segmentation,fluorine,anglicised,gnostic,dessau,discern,reconfigured,altrincham,rebounding,battlecruiser,ramblers,1770s,convective,triomphe,miyagi,mourners,instagram,aloft,breastfeeding,courtyards,folkestone,changsha,kumamoto,saarland,grayish,provisionally,appomattox,uncial,classicism,mahindra,elapsed,supremes,monophyletic,cautioned,formula_36,noblewoman,kernels,sucre,swaps,bengaluru,grenfell,epicenter,rockhampton,worshipful,licentiate,metaphorical,malankara,amputated,wattle,palawan,tankobon,nobunaga,polyhedra,transduction,jilin,syrians,affinities,fluently,emanating,anglicized,sportscar,botanists,altona,dravida,chorley,allocations,kunming,luanda,premiering,outlived,mesoamerica,lingual,dissipating,impairments,attenborough,balustrade,emulator,bakhsh,cladding,increments,ascents,workington,qal'eh,winless,categorical,petrel,emphasise,dormer,toros,hijackers,telescopic,solidly,jankovic,cession,gurus,madoff,newry,subsystems,northside,talib,englishmen,farnese,holographic,electives,argonne,scrivener,predated,brugge,nauvoo,catalyses,soared,siddeley,graphically,powerlifting,funicular,sungai,coercive,fusing,uncertainties,locos,acetic,diverge,wedgwood,dressings,tiebreaker,didactic,vyacheslav,acreage,interplanetary,battlecruisers,sunbury,alkaloids,hairpin,automata,wielkie,interdiction,plugins,monkees,nudibranch,esporte,approximations,disabling,powering,characterisation,ecologically,martinsville,termen,perpetuated,lufthansa,ascendancy,motherboard,bolshoi,athanasius,prunus,dilution,invests,nonzero,mendocino,charan,banque,shaheed,counterculture,unita,voivode,hospitalization,vapour,supermarine,resistor,steppes,osnabruck,intermediates,benzodiazepines,sunnyside,privatized,geopolitical,ponta,beersheba,kievan,embody,theoretic,sangh,cartographer,blige,rotors,thruway,battlefields,discernible,demobilized,broodmare,colouration,sagas,policymakers,serialization,augmentation,hoare,frankfurter,transnistria,kinases,detachable,generational,converging,antiaircraft,khaki,bimonthly,coadjutor,arkhangelsk,kannur,buffers,livonian,northwich,enveloped,cysts,yokozuna,herne,beeching,enron,virginian,woollen,excepting,competitively,outtakes,recombinant,hillcrest,clearances,pathe,cumbersome,brasov,u.s.a,likud,christiania,cruciform,hierarchies,wandsworth,lupin,resins,voiceover,sitar,electrochemical,mediacorp,typhus,grenadiers,hepatic,pompeii,weightlifter,bosniak,oxidoreductase,undersecretary,rescuers,ranji,seleucid,analysing,exegesis,tenancy,toure,kristiansand,110th,carillon,minesweepers,poitou,acceded,palladian,redevelop,naismith,rifled,proletariat,shojo,hackensack,harvests,endpoint,kuban,rosenborg,stonehenge,authorisation,jacobean,revocation,compatriots,colliding,undetermined,okayama,acknowledgment,angelou,fresnel,chahar,ethereal,mg/kg,emmet,mobilised,unfavourable,cultura,characterizing,parsonage,skeptics,expressways,rabaul,medea,guardsmen,visakhapatnam,caddo,homophobic,elmwood,encircling,coexistence,contending,seljuk,mycologist,infertility,moliere,insolvent,covenants,underpass,holme,landesliga,workplaces,delinquency,methamphetamine,contrived,tableau,tithes,overlying,usurped,contingents,spares,oligocene,molde,beatification,mordechai,balloting,pampanga,navigators,flowered,debutant,codec,orogeny,newsletters,solon,ambivalent,ubisoft,archdeaconry,harpers,kirkus,jabal,castings,kazhagam,sylhet,yuwen,barnstaple,amidships,causative,isuzu,watchtower,granules,canaveral,remuneration,insurer,payout,horizonte,integrative,attributing,kiwis,skanderbeg,asymmetry,gannett,urbanism,disassembled,unaltered,precluded,melodifestivalen,ascends,plugin,gurkha,bisons,stakeholder,industrialisation,abbotsford,sextet,bustling,uptempo,slavia,choreographers,midwives,haram,javed,gazetteer,subsection,natively,weighting,lysine,meera,redbridge,muchmusic,abruzzo,adjoins,unsustainable,foresters,kbit/s,cosmopterigidae,secularism,poetics,causality,phonograph,estudiantes,ceausescu,universitario,adjoint,applicability,gastropods,nagaland,kentish,mechelen,atalanta,woodpeckers,lombards,gatineau,romansh,avraham,acetylcholine,perturbation,galois,wenceslaus,fuzhou,meandering,dendritic,sacristy,accented,katha,therapeutics,perceives,unskilled,greenhouses,analogues,chaldean,timbre,sloped,volodymyr,sadiq,maghreb,monogram,rearguard,caucuses,mures,metabolite,uyezd,determinism,theosophical,corbet,gaels,disruptions,bicameral,ribosomal,wolseley,clarksville,watersheds,tarsi,radon,milanese,discontinuous,aristotelian,whistleblower,representational,hashim,modestly,localised,atrial,hazara,ravana,troyes,appointees,rubus,morningside,amity,aberdare,ganglia,wests,zbigniew,aerobatic,depopulated,corsican,introspective,twinning,hardtop,shallower,cataract,mesolithic,emblematic,graced,lubrication,republicanism,voronezh,bastions,meissen,irkutsk,oboes,hokkien,sprites,tenet,individualist,capitulated,oakville,dysentery,orientalist,hillsides,keywords,elicited,incised,lagging,apoel,lengthening,attractiveness,marauders,sportswriter,decentralization,boltzmann,contradicts,draftsman,precipitate,solihull,norske,consorts,hauptmann,riflemen,adventists,syndromes,demolishing,customize,continuo,peripherals,seamlessly,linguistically,bhushan,orphanages,paraul,lessened,devanagari,quarto,responders,patronymic,riemannian,altoona,canonization,honouring,geodetic,exemplifies,republica,enzymatic,porters,fairmount,pampa,sufferers,kamchatka,conjugated,coachella,uthman,repositories,copious,headteacher,awami,phoneme,homomorphism,franconian,moorland,davos,quantified,kamloops,quarks,mayoralty,weald,peacekeepers,valerian,particulate,insiders,perthshire,caches,guimaraes,piped,grenadines,kosciuszko,trombonist,artemisia,covariance,intertidal,soybeans,beatified,ellipse,fruiting,deafness,dnipropetrovsk,accrued,zealous,mandala,causation,junius,kilowatt,bakeries,montpelier,airdrie,rectified,bungalows,toleration,debian,pylon,trotskyist,posteriorly,two-and-a-half,herbivorous,islamists,poetical,donne,wodehouse,frome,allium,assimilate,phonemic,minaret,unprofitable,darpa,untenable,leaflet,bitcoin,zahir,thresholds,argentino,jacopo,bespoke,stratified,wellbeing,shiite,basaltic,timberwolves,secrete,taunts,marathons,isomers,carre,consecrators,penobscot,pitcairn,sakha,crosstown,inclusions,impassable,fenders,indre,uscgc,jordi,retinue,logarithmic,pilgrimages,railcar,cashel,blackrock,macroscopic,aligning,tabla,trestle,certify,ronson,palps,dissolves,thickened,silicate,taman,walsingham,hausa,lowestoft,rondo,oleksandr,cuyahoga,retardation,countering,cricketing,holborn,identifiers,hells,geophysics,infighting,sculpting,balaji,webbed,irradiation,runestone,trusses,oriya,sojourn,forfeiture,colonize,exclaimed,eucharistic,lackluster,glazing,northridge,gutenberg,stipulates,macroeconomic,priori,outermost,annular,udinese,insulating,headliner,godel,polytope,megalithic,salix,sharapova,derided,muskegon,braintree,plateaus,confers,autocratic,isomer,interstitial,stamping,omits,kirtland,hatchery,evidences,intifada,111th,podgorica,capua,motivating,nuneaton,jakub,korsakov,amitabh,mundial,monrovia,gluten,predictor,marshalling,d'orleans,levers,touchscreen,brantford,fricative,banishment,descendent,antagonism,ludovico,loudspeakers,formula_37,livelihoods,manassas,steamships,dewsbury,uppermost,humayun,lures,pinnacles,dependents,lecce,clumps,observatories,paleozoic,dedicating,samiti,draughtsman,gauls,incite,infringing,nepean,pythagorean,convents,triumvirate,seigneur,gaiman,vagrant,fossa,byproduct,serrated,renfrewshire,sheltering,achaemenid,dukedom,catchers,sampdoria,platelet,bielefeld,fluctuating,phenomenology,strikeout,ethnology,prospectors,woodworking,tatra,wildfires,meditations,agrippa,fortescue,qureshi,wojciech,methyltransferase,accusative,saatchi,amerindian,volcanism,zeeland,toyama,vladimirovich,allege,polygram,redox,budgeted,advisories,nematode,chipset,starscream,tonbridge,hardening,shales,accompanist,paraded,phonographic,whitefish,sportive,audiobook,kalisz,hibernation,latif,duels,ps200,coxeter,nayak,safeguarding,cantabria,minesweeping,zeiss,dunams,catholicos,sawtooth,ontological,nicobar,bridgend,unclassified,intrinsically,hanoverian,rabbitohs,kenseth,alcalde,northumbrian,raritan,septuagint,presse,sevres,origen,dandenong,peachtree,intersected,impeded,usages,hippodrome,novara,trajectories,customarily,yardage,inflected,yanow,kalan,taverns,liguria,librettist,intermarriage,1760s,courant,gambier,infanta,ptolemaic,ukulele,haganah,sceptical,manchukuo,plexus,implantation,hilal,intersex,efficiencies,arbroath,hagerstown,adelphi,diario,marais,matti,lifes,coining,modalities,divya,bletchley,conserving,ivorian,mithridates,generative,strikeforce,laymen,toponymy,pogrom,satya,meticulously,agios,dufferin,yaakov,fortnightly,cargoes,deterrence,prefrontal,przemysl,mitterrand,commemorations,chatsworth,gurdwara,abuja,chakraborty,badajoz,geometries,artiste,diatonic,ganglion,presides,marymount,nanak,cytokines,feudalism,storks,rowers,widens,politico,evangelicals,assailants,pittsfield,allowable,bijapur,telenovelas,dichomeris,glenelg,herbivores,keita,inked,radom,fundraisers,constantius,boheme,portability,komnenos,crystallography,derrida,moderates,tavistock,fateh,spacex,disjoint,bristles,commercialized,interwoven,empirically,regius,bulacan,newsday,showa,radicalism,yarrow,pleura,sayed,structuring,cotes,reminiscences,acetyl,edicts,escalators,aomori,encapsulated,legacies,bunbury,placings,fearsome,postscript,powerfully,keighley,hildesheim,amicus,crevices,deserters,benelux,aurangabad,freeware,ioannis,carpathians,chirac,seceded,prepaid,landlocked,naturalised,yanukovych,soundscan,blotch,phenotypic,determinants,twente,dictatorial,giessen,composes,recherche,pathophysiology,inventories,ayurveda,elevating,gravestone,degeneres,vilayet,popularizing,spartanburg,bloemfontein,previewed,renunciation,genotype,ogilvy,tracery,blacklisted,emissaries,diploid,disclosures,tupolev,shinjuku,antecedents,pennine,braganza,bhattacharya,countable,spectroscopic,ingolstadt,theseus,corroborated,compounding,thrombosis,extremadura,medallions,hasanabad,lambton,perpetuity,glycol,besancon,palaiologos,pandey,caicos,antecedent,stratum,laserdisc,novitiate,crowdfunding,palatal,sorceress,dassault,toughness,celle,cezanne,vientiane,tioga,hander,crossbar,gisborne,cursor,inspectorate,serif,praia,sphingidae,nameplate,psalter,ivanovic,sitka,equalised,mutineers,sergius,outgrowth,creationism,haredi,rhizomes,predominate,undertakings,vulgate,hydrothermal,abbeville,geodesic,kampung,physiotherapy,unauthorised,asteraceae,conservationist,minoan,supersport,mohammadabad,cranbrook,mentorship,legitimately,marshland,datuk,louvain,potawatomi,carnivores,levies,lyell,hymnal,regionals,tinto,shikoku,conformal,wanganui,beira,lleida,standstill,deloitte,formula_40,corbusier,chancellery,mixtapes,airtime,muhlenberg,formula_39,bracts,thrashers,prodigious,gironde,chickamauga,uyghurs,substitutions,pescara,batangas,gregarious,gijon,paleo,mathura,pumas,proportionally,hawkesbury,yucca,kristiania,funimation,fluted,eloquence,mohun,aftermarket,chroniclers,futurist,nonconformist,branko,mannerisms,lesnar,opengl,altos,retainers,ashfield,shelbourne,sulaiman,divisie,gwent,locarno,lieder,minkowski,bivalve,redeployed,cartography,seaway,bookings,decays,ostend,antiquaries,pathogenesis,formula_38,chrysalis,esperance,valli,motogp,homelands,bridged,bloor,ghazal,vulgaris,baekje,prospector,calculates,debtors,hesperiidae,titian,returner,landgrave,frontenac,kelowna,pregame,castelo,caius,canoeist,watercolours,winterthur,superintendents,dissonance,dubstep,adorn,matic,salih,hillel,swordsman,flavoured,emitter,assays,monongahela,deeded,brazzaville,sufferings,babylonia,fecal,umbria,astrologer,gentrification,frescos,phasing,zielona,ecozone,candido,manoj,quadrilateral,gyula,falsetto,prewar,puntland,infinitive,contraceptive,bakhtiari,ohrid,socialization,tailplane,evoking,havelock,macapagal,plundering,104th,keynesian,templars,phrasing,morphologically,czestochowa,humorously,catawba,burgas,chiswick,ellipsoid,kodansha,inwards,gautama,katanga,orthopaedic,heilongjiang,sieges,outsourced,subterminal,vijayawada,hares,oration,leitrim,ravines,manawatu,cryogenic,tracklisting,about.com,ambedkar,degenerated,hastened,venturing,lobbyists,shekhar,typefaces,northcote,rugen,'good,ornithology,asexual,hemispheres,unsupported,glyphs,spoleto,epigenetic,musicianship,donington,diogo,kangxi,bisected,polymorphism,megawatt,salta,embossed,cheetahs,cruzeiro,unhcr,aristide,rayleigh,maturing,indonesians,noire,llano,ffffff,camus,purges,annales,convair,apostasy,algol,phage,apaches,marketers,aldehyde,pompidou,kharkov,forgeries,praetorian,divested,retrospectively,gornji,scutellum,bitumen,pausanias,magnification,imitations,nyasaland,geographers,floodlights,athlone,hippolyte,expositions,clarinetist,razak,neutrinos,rotax,sheykh,plush,interconnect,andalus,cladogram,rudyard,resonator,granby,blackfriars,placido,windscreen,sahel,minamoto,haida,cations,emden,blackheath,thematically,blacklist,pawel,disseminating,academical,undamaged,raytheon,harsher,powhatan,ramachandran,saddles,paderborn,capping,zahra,prospecting,glycine,chromatin,profane,banska,helmand,okinawan,dislocation,oscillators,insectivorous,foyle,gilgit,autonomic,tuareg,sluice,pollinated,multiplexed,granary,narcissus,ranchi,staines,nitra,goalscoring,midwifery,pensioners,algorithmic,meetinghouse,biblioteca,besar,narva,angkor,predate,lohan,cyclical,detainee,occipital,eventing,faisalabad,dartmoor,kublai,courtly,resigns,radii,megachilidae,cartels,shortfall,xhosa,unregistered,benchmarks,dystopian,bulkhead,ponsonby,jovanovic,accumulates,papuan,bhutanese,intuitively,gotaland,headliners,recursion,dejan,novellas,diphthongs,imbued,withstood,analgesic,amplify,powertrain,programing,maidan,alstom,affirms,eradicated,summerslam,videogame,molla,severing,foundered,gallium,atmospheres,desalination,shmuel,howmeh,catolica,bossier,reconstructing,isolates,lyase,tweets,unconnected,tidewater,divisible,cohorts,orebro,presov,furnishing,folklorist,simplifying,centrale,notations,factorization,monarchies,deepen,macomb,facilitation,hennepin,declassified,redrawn,microprocessors,preliminaries,enlarging,timeframe,deutschen,shipbuilders,patiala,ferrous,aquariums,genealogies,vieux,unrecognized,bridgwater,tetrahedral,thule,resignations,gondwana,registries,agder,dataset,felled,parva,analyzer,worsen,coleraine,columella,blockaded,polytechnique,reassembled,reentry,narvik,greys,nigra,knockouts,bofors,gniezno,slotted,hamasaki,ferrers,conferring,thirdly,domestication,photojournalist,universality,preclude,ponting,halved,thereupon,photosynthetic,ostrava,mismatch,pangasinan,intermediaries,abolitionists,transited,headings,ustase,radiological,interconnection,dabrowa,invariants,honorius,preferentially,chantilly,marysville,dialectical,antioquia,abstained,gogol,dirichlet,muricidae,symmetries,reproduces,brazos,fatwa,bacillus,ketone,paribas,chowk,multiplicative,dermatitis,mamluks,devotes,adenosine,newbery,meditative,minefields,inflection,oxfam,conwy,bystrica,imprints,pandavas,infinitesimal,conurbation,amphetamine,reestablish,furth,edessa,injustices,frankston,serjeant,4x200,khazar,sihanouk,longchamp,stags,pogroms,coups,upperparts,endpoints,infringed,nuanced,summing,humorist,pacification,ciaran,jamaat,anteriorly,roddick,springboks,faceted,hypoxia,rigorously,cleves,fatimid,ayurvedic,tabled,ratna,senhora,maricopa,seibu,gauguin,holomorphic,campgrounds,amboy,coordinators,ponderosa,casemates,ouachita,nanaimo,mindoro,zealander,rimsky,cluny,tomaszow,meghalaya,caetano,tilak,roussillon,landtag,gravitation,dystrophy,cephalopods,trombones,glens,killarney,denominated,anthropogenic,pssas,roubaix,carcasses,montmorency,neotropical,communicative,rabindranath,ordinated,separable,overriding,surged,sagebrush,conciliation,codice_4,durrani,phosphatase,qadir,votive,revitalized,taiyuan,tyrannosaurus,graze,slovaks,nematodes,environmentalism,blockhouse,illiteracy,schengen,ecotourism,alternation,conic,wields,hounslow,blackfoot,kwame,ambulatory,volhynia,hordaland,croton,piedras,rohit,drava,conceptualized,birla,illustrative,gurgaon,barisal,tutsi,dezong,nasional,polje,chanson,clarinets,krasnoyarsk,aleksandrovich,cosmonaut,d'este,palliative,midseason,silencing,wardens,durer,girders,salamanders,torrington,supersonics,lauda,farid,circumnavigation,embankments,funnels,bajnoksag,lorries,cappadocia,jains,warringah,retirees,burgesses,equalization,cusco,ganesan,algal,amazonian,lineups,allocating,conquerors,usurper,mnemonic,predating,brahmaputra,ahmadabad,maidenhead,numismatic,subregion,encamped,reciprocating,freebsd,irgun,tortoises,governorates,zionists,airfoil,collated,ajmer,fiennes,etymological,polemic,chadian,clerestory,nordiques,fluctuated,calvados,oxidizing,trailhead,massena,quarrels,dordogne,tirunelveli,pyruvate,pulsed,athabasca,sylar,appointee,serer,japonica,andronikos,conferencing,nicolaus,chemin,ascertained,incited,woodbine,helices,hospitalised,emplacements,to/from,orchestre,tyrannical,pannonia,methodism,pop/rock,shibuya,berbers,despot,seaward,westpac,separator,perpignan,alamein,judeo,publicize,quantization,ethniki,gracilis,menlo,offside,oscillating,unregulated,succumbing,finnmark,metrical,suleyman,raith,sovereigns,bundesstrasse,kartli,fiduciary,darshan,foramen,curler,concubines,calvinism,larouche,bukhara,sophomores,mohanlal,lutheranism,monomer,eamonn,'black,uncontested,immersive,tutorials,beachhead,bindings,permeable,postulates,comite,transformative,indiscriminate,hofstra,associacao,amarna,dermatology,lapland,aosta,babur,unambiguous,formatting,schoolboys,gwangju,superconducting,replayed,adherent,aureus,compressors,forcible,spitsbergen,boulevards,budgeting,nossa,annandale,perumal,interregnum,sassoon,kwajalein,greenbrier,caldas,triangulation,flavius,increment,shakhtar,nullified,pinfall,nomen,microfinance,depreciation,cubist,steeper,splendour,gruppe,everyman,chasers,campaigners,bridle,modality,percussive,darkly,capes,velar,picton,triennial,factional,padang,toponym,betterment,norepinephrine,112th,estuarine,diemen,warehousing,morphism,ideologically,pairings,immunization,crassus,exporters,sefer,flocked,bulbous,deseret,booms,calcite,bohol,elven,groot,pulau,citigroup,wyeth,modernizing,layering,pastiche,complies,printmaker,condenser,theropod,cassino,oxyrhynchus,akademie,trainings,lowercase,coxae,parte,chetniks,pentagonal,keselowski,monocoque,morsi,reticulum,meiosis,clapboard,recoveries,tinge,an/fps,revista,sidon,livre,epidermis,conglomerates,kampong,congruent,harlequins,tergum,simplifies,epidemiological,underwriting,tcp/ip,exclusivity,multidimensional,mysql,columbine,ecologist,hayat,sicilies,levees,handset,aesop,usenet,pacquiao,archiving,alexandrian,compensatory,broadsheet,annotation,bahamian,d'affaires,interludes,phraya,shamans,marmara,customizable,immortalized,ambushes,chlorophyll,diesels,emulsion,rheumatoid,voluminous,screenwriters,tailoring,sedis,runcorn,democratization,bushehr,anacostia,constanta,antiquary,sixtus,radiate,advaita,antimony,acumen,barristers,reichsbahn,ronstadt,symbolist,pasig,cursive,secessionist,afrikaner,munnetra,inversely,adsorption,syllabic,moltke,idioms,midline,olimpico,diphosphate,cautions,radziwill,mobilisation,copelatus,trawlers,unicron,bhaskar,financiers,minimalism,derailment,marxists,oireachtas,abdicate,eigenvalue,zafar,vytautas,ganguly,chelyabinsk,telluride,subordination,ferried,dived,vendee,pictish,dimitrov,expiry,carnation,cayley,magnitudes,lismore,gretna,sandwiched,unmasked,sandomierz,swarthmore,tetra,nanyang,pevsner,dehradun,mormonism,rashi,complying,seaplanes,ningbo,cooperates,strathcona,mornington,mestizo,yulia,edgbaston,palisade,ethno,polytopes,espirito,tymoshenko,pronunciations,paradoxical,taichung,chipmunks,erhard,maximise,accretion,kanda,`abdu'l,narrowest,umpiring,mycenaean,divisor,geneticist,ceredigion,barque,hobbyists,equates,auxerre,spinose,cheil,sweetwater,guano,carboxylic,archiv,tannery,cormorant,agonists,fundacion,anbar,tunku,hindrance,meerut,concordat,secunderabad,kachin,achievable,murfreesboro,comprehensively,forges,broadest,synchronised,speciation,scapa,aliyev,conmebol,tirelessly,subjugated,pillaged,udaipur,defensively,lakhs,stateless,haasan,headlamps,patterning,podiums,polyphony,mcmurdo,mujer,vocally,storeyed,mucosa,multivariate,scopus,minimizes,formalised,certiorari,bourges,populate,overhanging,gaiety,unreserved,borromeo,woolworths,isotopic,bashar,purify,vertebra,medan,juxtaposition,earthwork,elongation,chaudhary,schematic,piast,steeped,nanotubes,fouls,achaea,legionnaires,abdur,qmjhl,embraer,hardback,centerville,ilocos,slovan,whitehorse,mauritian,moulding,mapuche,donned,provisioning,gazprom,jonesboro,audley,lightest,calyx,coldwater,trigonometric,petroglyphs,psychoanalyst,congregate,zambezi,fissure,supervises,bexley,etobicoke,wairarapa,tectonics,emphasises,formula_41,debugging,linfield,spatially,ionizing,ungulates,orinoco,clades,erlangen,news/talk,vols.,ceara,yakovlev,finsbury,entanglement,fieldhouse,graphene,intensifying,grigory,keyong,zacatecas,ninian,allgemeine,keswick,societa,snorri,femininity,najib,monoclonal,guyanese,postulate,huntly,abbeys,machinist,yunus,emphasising,ishaq,urmia,bremerton,pretenders,lumiere,thoroughfares,chikara,dramatized,metathorax,taiko,transcendence,wycliffe,retrieves,umpired,steuben,racehorses,taylors,kuznetsov,montezuma,precambrian,canopies,gaozong,propodeum,disestablished,retroactive,shoreham,rhizome,doubleheader,clinician,diwali,quartzite,shabaab,agassiz,despatched,stormwater,luxemburg,callao,universidade,courland,skane,glyph,dormers,witwatersrand,curacy,qualcomm,nansen,entablature,lauper,hausdorff,lusaka,ruthenian,360deg,cityscape,douai,vaishnava,spars,vaulting,rationalist,gygax,sequestration,typology,pollinates,accelerators,leben,colonials,cenotaph,imparted,carthaginians,equaled,rostrum,gobind,bodhisattva,oberst,bicycling,arabi,sangre,biophysics,hainaut,vernal,lunenburg,apportioned,finches,lajos,nenad,repackaged,zayed,nikephoros,r.e.m,swaminarayan,gestalt,unplaced,crags,grohl,sialkot,unsaturated,gwinnett,linemen,forays,palakkad,writs,instrumentalists,aircrews,badged,terrapins,180deg,oneness,commissariat,changi,pupation,circumscribed,contador,isotropic,administrated,fiefs,nimes,intrusions,minoru,geschichte,nadph,tainan,changchun,carbondale,frisia,swapo,evesham,hawai'i,encyclopedic,transporters,dysplasia,formula_42,onsite,jindal,guetta,judgements,narbonne,permissions,paleogene,rationalism,vilna,isometric,subtracted,chattahoochee,lamina,missa,greville,pervez,lattices,persistently,crystallization,timbered,hawaiians,fouling,interrelated,masood,ripening,stasi,gamal,visigothic,warlike,cybernetics,tanjung,forfar,cybernetic,karelian,brooklands,belfort,greifswald,campeche,inexplicably,refereeing,understory,uninterested,prius,collegiately,sefid,sarsfield,categorize,biannual,elsevier,eisteddfod,declension,autonoma,procuring,misrepresentation,novelization,bibliographic,shamanism,vestments,potash,eastleigh,ionized,turan,lavishly,scilly,balanchine,importers,parlance,'that,kanyakumari,synods,mieszko,crossovers,serfdom,conformational,legislated,exclave,heathland,sadar,differentiates,propositional,konstantinos,photoshop,manche,vellore,appalachia,orestes,taiga,exchanger,grozny,invalidated,baffin,spezia,staunchly,eisenach,robustness,virtuosity,ciphers,inlets,bolagh,understandings,bosniaks,parser,typhoons,sinan,luzerne,webcomic,subtraction,jhelum,businessweek,ceske,refrained,firebox,mitigated,helmholtz,dilip,eslamabad,metalwork,lucan,apportionment,provident,gdynia,schooners,casement,danse,hajjiabad,benazir,buttress,anthracite,newsreel,wollaston,dispatching,cadastral,riverboat,provincetown,nantwich,missal,irreverent,juxtaposed,darya,ennobled,electropop,stereoscopic,maneuverability,laban,luhansk,udine,collectibles,haulage,holyrood,materially,supercharger,gorizia,shkoder,townhouses,pilate,layoffs,folkloric,dialectic,exuberant,matures,malla,ceuta,citizenry,crewed,couplet,stopover,transposition,tradesmen,antioxidant,amines,utterance,grahame,landless,isere,diction,appellant,satirist,urbino,intertoto,subiaco,antonescu,nehemiah,ubiquitin,emcee,stourbridge,fencers,103rd,wranglers,monteverdi,watertight,expounded,xiamen,manmohan,pirie,threefold,antidepressant,sheboygan,grieg,cancerous,diverging,bernini,polychrome,fundamentalism,bihari,critiqued,cholas,villers,tendulkar,dafydd,vastra,fringed,evangelization,episcopalian,maliki,sana'a,ashburton,trianon,allegany,heptathlon,insufficiently,panelists,pharrell,hexham,amharic,fertilized,plumes,cistern,stratigraphy,akershus,catalans,karoo,rupee,minuteman,quantification,wigmore,leutnant,metanotum,weeknights,iridescent,extrasolar,brechin,deuterium,kuching,lyricism,astrakhan,brookhaven,euphorbia,hradec,bhagat,vardar,aylmer,positron,amygdala,speculators,unaccompanied,debrecen,slurry,windhoek,disaffected,rapporteur,mellitus,blockers,fronds,yatra,sportsperson,precession,physiologist,weeknight,pidgin,pharma,condemns,standardize,zetian,tibor,glycoprotein,emporia,cormorants,amalie,accesses,leonhard,denbighshire,roald,116th,will.i.am,symbiosis,privatised,meanders,chemnitz,jabalpur,shing,secede,ludvig,krajina,homegrown,snippets,sasanian,euripides,peder,cimarron,streaked,graubunden,kilimanjaro,mbeki,middleware,flensburg,bukovina,lindwall,marsalis,profited,abkhaz,polis,camouflaged,amyloid,morgantown,ovoid,bodleian,morte,quashed,gamelan,juventud,natchitoches,storyboard,freeview,enumeration,cielo,preludes,bulawayo,1600s,olympiads,multicast,faunal,asura,reinforces,puranas,ziegfeld,handicraft,seamount,kheil,noche,hallmarks,dermal,colorectal,encircle,hessen,umbilicus,sunnis,leste,unwin,disclosing,superfund,montmartre,refuelling,subprime,kolhapur,etiology,bismuth,laissez,vibrational,mazar,alcoa,rumsfeld,recurve,ticonderoga,lionsgate,onlookers,homesteads,filesystem,barometric,kingswood,biofuel,belleza,moshav,occidentalis,asymptomatic,northeasterly,leveson,huygens,numan,kingsway,primogeniture,toyotomi,yazoo,limpets,greenbelt,booed,concurrence,dihedral,ventrites,raipur,sibiu,plotters,kitab,109th,trackbed,skilful,berthed,effendi,fairing,sephardi,mikhailovich,lockyer,wadham,invertible,paperbacks,alphabetic,deuteronomy,constitutive,leathery,greyhounds,estoril,beechcraft,poblacion,cossidae,excreted,flamingos,singha,olmec,neurotransmitters,ascoli,nkrumah,forerunners,dualism,disenchanted,benefitted,centrum,undesignated,noida,o'donoghue,collages,egrets,egmont,wuppertal,cleave,montgomerie,pseudomonas,srinivasa,lymphatic,stadia,resold,minima,evacuees,consumerism,ronde,biochemist,automorphism,hollows,smuts,improvisations,vespasian,bream,pimlico,eglin,colne,melancholic,berhad,ousting,saale,notaulices,ouest,hunslet,tiberias,abdomina,ramsgate,stanislas,donbass,pontefract,sucrose,halts,drammen,chelm,l'arc,taming,trolleys,konin,incertae,licensees,scythian,giorgos,dative,tanglewood,farmlands,o'keeffe,caesium,romsdal,amstrad,corte,oglethorpe,huntingdonshire,magnetization,adapts,zamosc,shooto,cuttack,centrepiece,storehouse,winehouse,morbidity,woodcuts,ryazan,buddleja,buoyant,bodmin,estero,austral,verifiable,periyar,christendom,curtail,shura,kaifeng,cotswold,invariance,seafaring,gorica,androgen,usman,seabird,forecourt,pekka,juridical,audacious,yasser,cacti,qianlong,polemical,d'amore,espanyol,distrito,cartographers,pacifism,serpents,backa,nucleophilic,overturning,duplicates,marksman,oriente,vuitton,oberleutnant,gielgud,gesta,swinburne,transfiguration,1750s,retaken,celje,fredrikstad,asuka,cropping,mansard,donates,blacksmiths,vijayanagara,anuradhapura,germinate,betis,foreshore,jalandhar,bayonets,devaluation,frazione,ablaze,abidjan,approvals,homeostasis,corollary,auden,superfast,redcliffe,luxembourgish,datum,geraldton,printings,ludhiana,honoree,synchrotron,invercargill,hurriedly,108th,three-and-a-half,colonist,bexar,limousin,bessemer,ossetian,nunataks,buddhas,rebuked,thais,tilburg,verdicts,interleukin,unproven,dordrecht,solent,acclamation,muammar,dahomey,operettas,4x400,arrears,negotiators,whitehaven,apparitions,armoury,psychoactive,worshipers,sculptured,elphinstone,airshow,kjell,o'callaghan,shrank,professorships,predominance,subhash,coulomb,sekolah,retrofitted,samos,overthrowing,vibrato,resistors,palearctic,datasets,doordarshan,subcutaneous,compiles,immorality,patchwork,trinidadian,glycogen,pronged,zohar,visigoths,freres,akram,justo,agora,intakes,craiova,playwriting,bukhari,militarism,iwate,petitioners,harun,wisla,inefficiency,vendome,ledges,schopenhauer,kashi,entombed,assesses,tenn.,noumea,baguio,carex,o'donovan,filings,hillsdale,conjectures,blotches,annuals,lindisfarne,negated,vivek,angouleme,trincomalee,cofactor,verkhovna,backfield,twofold,automaker,rudra,freighters,darul,gharana,busway,formula_43,plattsburgh,portuguesa,showrunner,roadmap,valenciennes,erdos,biafra,spiritualism,transactional,modifies,carne,107th,cocos,gcses,tiverton,radiotherapy,meadowlands,gunma,srebrenica,foxtel,authenticated,enslavement,classicist,klaipeda,minstrels,searchable,infantrymen,incitement,shiga,nadp+,urals,guilders,banquets,exteriors,counterattacks,visualized,diacritics,patrimony,svensson,transepts,prizren,telegraphy,najaf,emblazoned,coupes,effluent,ragam,omani,greensburg,taino,flintshire,cd/dvd,lobbies,narrating,cacao,seafarers,bicolor,collaboratively,suraj,floodlit,sacral,puppetry,tlingit,malwa,login,motionless,thien,overseers,vihar,golem,specializations,bathhouse,priming,overdubs,winningest,archetypes,uniao,acland,creamery,slovakian,lithographs,maryborough,confidently,excavating,stillborn,ramallah,audiencia,alava,ternary,hermits,rostam,bauxite,gawain,lothair,captions,gulfstream,timelines,receded,mediating,petain,bastia,rudbar,bidders,disclaimer,shrews,tailings,trilobites,yuriy,jamil,demotion,gynecology,rajinikanth,madrigals,ghazni,flycatchers,vitebsk,bizet,computationally,kashgar,refinements,frankford,heralds,europe/africa,levante,disordered,sandringham,queues,ransacked,trebizond,verdes,comedie,primitives,figurine,organists,culminate,gosport,coagulation,ferrying,hoyas,polyurethane,prohibitive,midfielders,ligase,progesterone,defectors,sweetened,backcountry,diodorus,waterside,nieuport,khwaja,jurong,decried,gorkha,ismaili,300th,octahedral,kindergartens,paseo,codification,notifications,disregarding,risque,reconquista,shortland,atolls,texarkana,perceval,d'etudes,kanal,herbicides,tikva,nuova,gatherer,dissented,soweto,dexterity,enver,bacharach,placekicker,carnivals,automate,maynooth,symplectic,chetnik,militaire,upanishads,distributive,strafing,championing,moiety,miliband,blackadder,enforceable,maung,dimer,stadtbahn,diverges,obstructions,coleophoridae,disposals,shamrocks,aural,banca,bahru,coxed,grierson,vanadium,watermill,radiative,ecoregions,berets,hariri,bicarbonate,evacuations,mallee,nairn,rushden,loggia,slupsk,satisfactorily,milliseconds,cariboo,reine,cyclo,pigmentation,postmodernism,aqueducts,vasari,bourgogne,dilemmas,liquefied,fluminense,alloa,ibaraki,tenements,kumasi,humerus,raghu,labours,putsch,soundcloud,bodybuilder,rakyat,domitian,pesaro,translocation,sembilan,homeric,enforcers,tombstones,lectureship,rotorua,salamis,nikolaos,inferences,superfortress,lithgow,surmised,undercard,tarnow,barisan,stingrays,federacion,coldstream,haverford,ornithological,heerenveen,eleazar,jyoti,murali,bamako,riverbed,subsidised,theban,conspicuously,vistas,conservatorium,madrasa,kingfishers,arnulf,credential,syndicalist,sheathed,discontinuity,prisms,tsushima,coastlines,escapees,vitis,optimizing,megapixel,overground,embattled,halide,sprinters,buoys,mpumalanga,peculiarities,106th,roamed,menezes,macao,prelates,papyri,freemen,dissertations,irishmen,pooled,sverre,reconquest,conveyance,subjectivity,asturian,circassian,formula_45,comdr,thickets,unstressed,monro,passively,harmonium,moveable,dinar,carlsson,elysees,chairing,b'nai,confusingly,kaoru,convolution,godolphin,facilitator,saxophones,eelam,jebel,copulation,anions,livres,licensure,pontypridd,arakan,controllable,alessandria,propelling,stellenbosch,tiber,wolka,liberators,yarns,d'azur,tsinghua,semnan,amhara,ablation,melies,tonality,historique,beeston,kahne,intricately,sonoran,robespierre,gyrus,boycotts,defaulted,infill,maranhao,emigres,framingham,paraiba,wilhelmshaven,tritium,skyway,labial,supplementation,possessor,underserved,motets,maldivian,marrakech,quays,wikimedia,turbojet,demobilization,petrarch,encroaching,sloops,masted,karbala,corvallis,agribusiness,seaford,stenosis,hieronymus,irani,superdraft,baronies,cortisol,notability,veena,pontic,cyclin,archeologists,newham,culled,concurring,aeolian,manorial,shouldered,fords,philanthropists,105th,siddharth,gotthard,halim,rajshahi,jurchen,detritus,practicable,earthenware,discarding,travelogue,neuromuscular,elkhart,raeder,zygmunt,metastasis,internees,102nd,vigour,upmarket,summarizing,subjunctive,offsets,elizabethtown,udupi,pardubice,repeaters,instituting,archaea,substandard,technische,linga,anatomist,flourishes,velika,tenochtitlan,evangelistic,fitchburg,springbok,cascading,hydrostatic,avars,occasioned,filipina,perceiving,shimbun,africanus,consternation,tsing,optically,beitar,45deg,abutments,roseville,monomers,huelva,lotteries,hypothalamus,internationalist,electromechanical,hummingbirds,fibreglass,salaried,dramatists,uncovers,invokes,earners,excretion,gelding,ancien,aeronautica,haverhill,stour,ittihad,abramoff,yakov,ayodhya,accelerates,industrially,aeroplanes,deleterious,dwelt,belvoir,harpalus,atpase,maluku,alasdair,proportionality,taran,epistemological,interferometer,polypeptide,adjudged,villager,metastatic,marshalls,madhavan,archduchess,weizmann,kalgoorlie,balan,predefined,sessile,sagaing,brevity,insecticide,psychosocial,africana,steelworks,aether,aquifers,belem,mineiro,almagro,radiators,cenozoic,solute,turbocharger,invicta,guested,buccaneer,idolatry,unmatched,paducah,sinestro,dispossessed,conforms,responsiveness,cyanobacteria,flautist,procurator,complementing,semifinalist,rechargeable,permafrost,cytokine,refuges,boomed,gelderland,franchised,jinan,burnie,doubtless,randomness,colspan=12,angra,ginebra,famers,nuestro,declarative,roughness,lauenburg,motile,rekha,issuer,piney,interceptors,napoca,gipsy,formulaic,formula_44,viswanathan,ebrahim,thessalonica,galeria,muskogee,unsold,html5,taito,mobutu,icann,carnarvon,fairtrade,morphisms,upsilon,nozzles,fabius,meander,murugan,strontium,episcopacy,sandinista,parasol,attenuated,bhima,primeval,panay,ordinator,negara,osteoporosis,glossop,ebook,paradoxically,grevillea,modoc,equating,phonetically,legumes,covariant,dorje,quatre,bruxelles,pyroclastic,shipbuilder,zhaozong,obscuring,sveriges,tremolo,extensible,barrack,multnomah,hakon,chaharmahal,parsing,volumetric,astrophysical,glottal,combinatorics,freestanding,encoder,paralysed,cavalrymen,taboos,heilbronn,orientalis,lockport,marvels,ozawa,dispositions,waders,incurring,saltire,modulate,papilio,phenol,intermedia,rappahannock,plasmid,fortify,phenotypes,transiting,correspondences,leaguer,larnaca,incompatibility,mcenroe,deeming,endeavoured,aboriginals,helmed,salar,arginine,werke,ferrand,expropriated,delimited,couplets,phoenicians,petioles,ouster,anschluss,protectionist,plessis,urchins,orquesta,castleton,juniata,bittorrent,fulani,donji,mykola,rosemont,chandos,scepticism,signer,chalukya,wicketkeeper,coquitlam,programmatic,o'brian,carteret,urology,steelhead,paleocene,konkan,bettered,venkatesh,surfacing,longitudinally,centurions,popularization,yazid,douro,widths,premios,leonards,gristmill,fallujah,arezzo,leftists,ecliptic,glycerol,inaction,disenfranchised,acrimonious,depositing,parashah,cockatoo,marechal,bolzano,chios,cablevision,impartiality,pouches,thickly,equities,bentinck,emotive,boson,ashdown,conquistadors,parsi,conservationists,reductive,newlands,centerline,ornithologists,waveguide,nicene,philological,hemel,setanta,masala,aphids,convening,casco,matrilineal,chalcedon,orthographic,hythe,replete,damming,bolivarian,admixture,embarks,borderlands,conformed,nagarjuna,blenny,chaitanya,suwon,shigeru,tatarstan,lingayen,rejoins,grodno,merovingian,hardwicke,puducherry,prototyping,laxmi,upheavals,headquarter,pollinators,bromine,transom,plantagenet,arbuthnot,chidambaram,woburn,osamu,panelling,coauthored,zhongshu,hyaline,omissions,aspergillus,offensively,electrolytic,woodcut,sodom,intensities,clydebank,piotrkow,supplementing,quipped,focke,harbinger,positivism,parklands,wolfenbuttel,cauca,tryptophan,taunus,curragh,tsonga,remand,obscura,ashikaga,eltham,forelimbs,analogs,trnava,observances,kailash,antithesis,ayumi,abyssinia,dorsally,tralee,pursuers,misadventures,padova,perot,mahadev,tarim,granth,licenced,compania,patuxent,baronial,korda,cochabamba,codices,karna,memorialized,semaphore,playlists,mandibular,halal,sivaji,scherzinger,stralsund,foundries,ribosome,mindfulness,nikolayevich,paraphyletic,newsreader,catalyze,ioannina,thalamus,gbit/s,paymaster,sarab,500th,replenished,gamepro,cracow,formula_46,gascony,reburied,lessing,easement,transposed,meurthe,satires,proviso,balthasar,unbound,cuckoos,durbar,louisbourg,cowes,wholesalers,manet,narita,xiaoping,mohamad,illusory,cathal,reuptake,alkaloid,tahrir,mmorpg,underlies,anglicanism,repton,aharon,exogenous,buchenwald,indigent,odostomia,milled,santorum,toungoo,nevsky,steyr,urbanisation,darkseid,subsonic,canaanite,akiva,eglise,dentition,mediators,cirencester,peloponnesian,malmesbury,durres,oerlikon,tabulated,saens,canaria,ischemic,esterhazy,ringling,centralization,walthamstow,nalanda,lignite,takht,leninism,expiring,circe,phytoplankton,promulgation,integrable,breeches,aalto,menominee,borgo,scythians,skrull,galleon,reinvestment,raglan,reachable,liberec,airframes,electrolysis,geospatial,rubiaceae,interdependence,symmetrically,simulcasts,keenly,mauna,adipose,zaidi,fairport,vestibular,actuators,monochromatic,literatures,congestive,sacramental,atholl,skytrain,tycho,tunings,jamia,catharina,modifier,methuen,tapings,infiltrating,colima,grafting,tauranga,halides,pontificate,phonetics,koper,hafez,grooved,kintetsu,extrajudicial,linkoping,cyberpunk,repetitions,laurentian,parnu,bretton,darko,sverdlovsk,foreshadowed,akhenaten,rehnquist,gosford,coverts,pragmatism,broadleaf,ethiopians,instated,mediates,sodra,opulent,descriptor,enugu,shimla,leesburg,officership,giffard,refectory,lusitania,cybermen,fiume,corus,tydfil,lawrenceville,ocala,leviticus,burghers,ataxia,richthofen,amicably,acoustical,watling,inquired,tiempo,multiracial,parallelism,trenchard,tokyopop,germanium,usisl,philharmonia,shapur,jacobites,latinized,sophocles,remittances,o'farrell,adder,dimitrios,peshwa,dimitar,orlov,outstretched,musume,satish,dimensionless,serialised,baptisms,pagasa,antiviral,1740s,quine,arapaho,bombardments,stratosphere,ophthalmic,injunctions,carbonated,nonviolence,asante,creoles,sybra,boilermakers,abington,bipartite,permissive,cardinality,anheuser,carcinogenic,hohenlohe,surinam,szeged,infanticide,generically,floorball,'white,automakers,cerebellar,homozygous,remoteness,effortlessly,allude,'great,headmasters,minting,manchurian,kinabalu,wemyss,seditious,widgets,marbled,almshouses,bards,subgenres,tetsuya,faulting,kickboxer,gaulish,hoseyn,malton,fluvial,questionnaires,mondale,downplayed,traditionalists,vercelli,sumatran,landfills,gamesradar,exerts,franciszek,unlawfully,huesca,diderot,libertarians,professorial,laane,piecemeal,conidae,taiji,curatorial,perturbations,abstractions,szlachta,watercraft,mullah,zoroastrianism,segmental,khabarovsk,rectors,affordability,scuola,diffused,stena,cyclonic,workpiece,romford,'little,jhansi,stalag,zhongshan,skipton,maracaibo,bernadotte,thanet,groening,waterville,encloses,sahrawi,nuffield,moorings,chantry,annenberg,islay,marchers,tenses,wahid,siegen,furstenberg,basques,resuscitation,seminarians,tympanum,gentiles,vegetarianism,tufted,venkata,fantastical,pterophoridae,machined,superposition,glabrous,kaveri,chicane,executors,phyllonorycter,bidirectional,jasta,undertones,touristic,majapahit,navratilova,unpopularity,barbadian,tinian,webcast,hurdler,rigidly,jarrah,staphylococcus,igniting,irrawaddy,stabilised,airstrike,ragas,wakayama,energetically,ekstraklasa,minibus,largemouth,cultivators,leveraging,waitangi,carnaval,weaves,turntables,heydrich,sextus,excavate,govind,ignaz,pedagogue,uriah,borrowings,gemstones,infractions,mycobacterium,batavian,massing,praetor,subalpine,massoud,passers,geostationary,jalil,trainsets,barbus,impair,budejovice,denbigh,pertain,historicity,fortaleza,nederlandse,lamenting,masterchef,doubs,gemara,conductance,ploiesti,cetaceans,courthouses,bhagavad,mihailovic,occlusion,bremerhaven,bulwark,morava,kaine,drapery,maputo,conquistador,kaduna,famagusta,first-past-the-post,erudite,galton,undated,tangential,filho,dismembered,dashes,criterium,darwen,metabolized,blurring,everard,randwick,mohave,impurity,acuity,ansbach,chievo,surcharge,plantain,algoma,porosity,zirconium,selva,sevenoaks,venizelos,gwynne,golgi,imparting,separatism,courtesan,idiopathic,gravestones,hydroelectricity,babar,orford,purposeful,acutely,shard,ridgewood,viterbo,manohar,expropriation,placenames,brevis,cosine,unranked,richfield,newnham,recoverable,flightless,dispersing,clearfield,abu'l,stranraer,kempe,streamlining,goswami,epidermal,pieta,conciliatory,distilleries,electrophoresis,bonne,tiago,curiosities,candidature,picnicking,perihelion,lintel,povoa,gullies,configure,excision,facies,signers,1730s,insufficiency,semiotics,streatham,deactivation,entomological,skippers,albacete,parodying,escherichia,honorees,singaporeans,counterterrorism,tiruchirappalli,omnivorous,metropole,globalisation,athol,unbounded,codice_5,landforms,classifier,farmhouses,reaffirming,reparation,yomiuri,technologists,mitte,medica,viewable,steampunk,konya,kshatriya,repelling,edgewater,lamiinae,devas,potteries,llandaff,engendered,submits,virulence,uplifted,educationist,metropolitans,frontrunner,dunstable,forecastle,frets,methodius,exmouth,linnean,bouchet,repulsion,computable,equalling,liceo,tephritidae,agave,hydrological,azarenka,fairground,l'homme,enforces,xinhua,cinematographers,cooperstown,sa'id,paiute,christianization,tempos,chippenham,insulator,kotor,stereotyped,dello,cours,hisham,d'souza,eliminations,supercars,passau,rebrand,natures,coote,persephone,rededicated,cleaved,plenum,blistering,indiscriminately,cleese,safed,recursively,compacted,revues,hydration,shillong,echelons,garhwal,pedimented,grower,zwolle,wildflower,annexing,methionine,petah,valens,famitsu,petiole,specialities,nestorian,shahin,tokaido,shearwater,barberini,kinsmen,experimenter,alumnae,cloisters,alumina,pritzker,hardiness,soundgarden,julich,ps300,watercourse,cementing,wordplay,olivet,demesne,chasseurs,amide,zapotec,gaozu,porphyry,absorbers,indium,analogies,devotions,engravers,limestones,catapulted,surry,brickworks,gotra,rodham,landline,paleontologists,shankara,islip,raucous,trollope,arpad,embarkation,morphemes,recites,picardie,nakhchivan,tolerances,formula_47,khorramabad,nichiren,adrianople,kirkuk,assemblages,collider,bikaner,bushfires,roofline,coverings,reredos,bibliotheca,mantras,accentuated,commedia,rashtriya,fluctuation,serhiy,referential,fittipaldi,vesicle,geeta,iraklis,immediacy,chulalongkorn,hunsruck,bingen,dreadnoughts,stonemason,meenakshi,lebesgue,undergrowth,baltistan,paradoxes,parlement,articled,tiflis,dixieland,meriden,tejano,underdogs,barnstable,exemplify,venter,tropes,wielka,kankakee,iskandar,zilina,pharyngeal,spotify,materialised,picts,atlantique,theodoric,prepositions,paramilitaries,pinellas,attlee,actuated,piedmontese,grayling,thucydides,multifaceted,unedited,autonomously,universelle,utricularia,mooted,preto,incubated,underlie,brasenose,nootka,bushland,sensu,benzodiazepine,esteghlal,seagoing,amenhotep,azusa,sappers,culpeper,smokeless,thoroughbreds,dargah,gorda,alumna,mankato,zdroj,deleting,culvert,formula_49,punting,wushu,hindering,immunoglobulin,standardisation,birger,oilfield,quadrangular,ulama,recruiters,netanya,1630s,communaute,istituto,maciej,pathan,meher,vikas,characterizations,playmaker,interagency,intercepts,assembles,horthy,introspection,narada,matra,testes,radnicki,estonians,csiro,instar,mitford,adrenergic,crewmembers,haaretz,wasatch,lisburn,rangefinder,ordre,condensate,reforestation,corregidor,spvgg,modulator,mannerist,faulted,aspires,maktoum,squarepants,aethelred,piezoelectric,mulatto,dacre,progressions,jagiellonian,norge,samaria,sukhoi,effingham,coxless,hermetic,humanists,centrality,litters,stirlingshire,beaconsfield,sundanese,geometrically,caretakers,habitually,bandra,pashtuns,bradenton,arequipa,laminar,brickyard,hitchin,sustains,shipboard,ploughing,trechus,wheelers,bracketed,ilyushin,subotica,d'hondt,reappearance,bridgestone,intermarried,fulfilment,aphasia,birkbeck,transformational,strathmore,hornbill,millstone,lacan,voids,solothurn,gymnasiums,laconia,viaducts,peduncle,teachta,edgware,shinty,supernovae,wilfried,exclaim,parthia,mithun,flashpoint,moksha,cumbia,metternich,avalanches,militancy,motorist,rivadavia,chancellorsville,federals,gendered,bounding,footy,gauri,caliphs,lingam,watchmaker,unrecorded,riverina,unmodified,seafloor,droit,pfalz,chrysostom,gigabit,overlordship,besiege,espn2,oswestry,anachronistic,ballymena,reactivation,duchovny,ghani,abacetus,duller,legio,watercourses,nord-pas-de-calais,leiber,optometry,swarms,installer,sancti,adverbs,iheartmedia,meiningen,zeljko,kakheti,notional,circuses,patrilineal,acrobatics,infrastructural,sheva,oregonian,adjudication,aamir,wloclawek,overfishing,obstructive,subtracting,aurobindo,archeologist,newgate,'cause,secularization,tehsils,abscess,fingal,janacek,elkhorn,trims,kraftwerk,mandating,irregulars,faintly,congregationalist,sveti,kasai,mishaps,kennebec,provincially,durkheim,scotties,aicte,rapperswil,imphal,surrenders,morphs,nineveh,hoxha,cotabato,thuringian,metalworking,retold,shogakukan,anthers,proteasome,tippeligaen,disengagement,mockumentary,palatial,erupts,flume,corrientes,masthead,jaroslaw,rereleased,bharti,labors,distilling,tusks,varzim,refounded,enniskillen,melkite,semifinalists,vadodara,bermudian,capstone,grasse,origination,populus,alesi,arrondissements,semigroup,verein,opossum,messrs.,portadown,bulbul,tirupati,mulhouse,tetrahedron,roethlisberger,nonverbal,connexion,warangal,deprecated,gneiss,octet,vukovar,hesketh,chambre,despatch,claes,kargil,hideo,gravelly,tyndale,aquileia,tuners,defensible,tutte,theotokos,constructivist,ouvrage,dukla,polisario,monasticism,proscribed,commutation,testers,nipissing,codon,mesto,olivine,concomitant,exoskeleton,purports,coromandel,eyalet,dissension,hippocrates,purebred,yaounde,composting,oecophoridae,procopius,o'day,angiogenesis,sheerness,intelligencer,articular,felixstowe,aegon,endocrinology,trabzon,licinius,pagodas,zooplankton,hooghly,satie,drifters,sarthe,mercian,neuilly,tumours,canal+,scheldt,inclinations,counteroffensive,roadrunners,tuzla,shoreditch,surigao,predicates,carnot,algeciras,militaries,generalize,bulkheads,gawler,pollutant,celta,rundgren,microrna,gewog,olimpija,placental,lubelski,roxburgh,discerned,verano,kikuchi,musicale,l'enfant,ferocity,dimorphic,antigonus,erzurum,prebendary,recitative,discworld,cyrenaica,stigmella,totnes,sutta,pachuca,ulsan,downton,landshut,castellan,pleural,siedlce,siecle,catamaran,cottbus,utilises,trophic,freeholders,holyhead,u.s.s,chansons,responder,waziristan,suzuka,birding,shogi,asker,acetone,beautification,cytotoxic,dixit,hunterdon,cobblestone,formula_48,kossuth,devizes,sokoto,interlaced,shuttered,kilowatts,assiniboine,isaak,salto,alderney,sugarloaf,franchising,aggressiveness,toponyms,plaintext,antimatter,henin,equidistant,salivary,bilingualism,mountings,obligate,extirpated,irenaeus,misused,pastoralists,aftab,immigrating,warping,tyrolean,seaforth,teesside,soundwave,oligarchy,stelae,pairwise,iupac,tezuka,posht,orchestrations,landmass,ironstone,gallia,hjalmar,carmelites,strafford,elmhurst,palladio,fragility,teleplay,gruffudd,karoly,yerba,potok,espoo,inductance,macaque,nonprofits,pareto,rock'n'roll,spiritualist,shadowed,skateboarder,utterances,generality,congruence,prostrate,deterred,yellowknife,albarn,maldon,battlements,mohsen,insecticides,khulna,avellino,menstruation,glutathione,springdale,parlophone,confraternity,korps,countrywide,bosphorus,preexisting,damodar,astride,alexandrovich,sprinting,crystallized,botev,leaching,interstates,veers,angevin,undaunted,yevgeni,nishapur,northerners,alkmaar,bethnal,grocers,sepia,tornus,exemplar,trobe,charcot,gyeonggi,larne,tournai,lorain,voided,genji,enactments,maxilla,adiabatic,eifel,nazim,transducer,thelonious,pyrite,deportiva,dialectal,bengt,rosettes,labem,sergeyevich,synoptic,conservator,statuette,biweekly,adhesives,bifurcation,rajapaksa,mammootty,republique,yusef,waseda,marshfield,yekaterinburg,minnelli,fundy,fenian,matchups,dungannon,supremacist,panelled,drenthe,iyengar,fibula,narmada,homeport,oceanside,precept,antibacterial,altarpieces,swath,ospreys,lillooet,legnica,lossless,formula_50,galvatron,iorga,stormont,rsfsr,loggers,kutno,phenomenological,medallists,cuatro,soissons,homeopathy,bituminous,injures,syndicates,typesetting,displacements,dethroned,makassar,lucchese,abergavenny,targu,alborz,akb48,boldface,gastronomy,sacra,amenity,accumulator,myrtaceae,cornices,mourinho,denunciation,oxbow,diddley,aargau,arbitrage,bedchamber,gruffydd,zamindar,klagenfurt,caernarfon,slowdown,stansted,abrasion,tamaki,suetonius,dukakis,individualistic,ventrally,hotham,perestroika,ketones,fertilisation,sobriquet,couplings,renderings,misidentified,rundfunk,sarcastically,braniff,concours,dismissals,elegantly,modifiers,crediting,combos,crucially,seafront,lieut,ischemia,manchus,derivations,proteases,aristophanes,adenauer,porting,hezekiah,sante,trulli,hornblower,foreshadowing,ypsilanti,dharwad,khani,hohenstaufen,distillers,cosmodrome,intracranial,turki,salesian,gorzow,jihlava,yushchenko,leichhardt,venables,cassia,eurogamer,airtel,curative,bestsellers,timeform,sortied,grandview,massillon,ceding,pilbara,chillicothe,heredity,elblag,rogaland,ronne,millennial,batley,overuse,bharata,fille,campbelltown,abeyance,counterclockwise,250cc,neurodegenerative,consigned,electromagnetism,sunnah,saheb,exons,coxswain,gleaned,bassoons,worksop,prismatic,immigrate,pickets,takeo,bobsledder,stosur,fujimori,merchantmen,stiftung,forli,endorses,taskforce,thermally,atman,gurps,floodplains,enthalpy,extrinsic,setubal,kennesaw,grandis,scalability,durations,showrooms,prithvi,outro,overruns,andalucia,amanita,abitur,hipper,mozambican,sustainment,arsene,chesham,palaeolithic,reportage,criminality,knowsley,haploid,atacama,shueisha,ridgefield,astern,getafe,lineal,timorese,restyled,hollies,agincourt,unter,justly,tannins,mataram,industrialised,tarnovo,mumtaz,mustapha,stretton,synthetase,condita,allround,putra,stjepan,troughs,aechmea,specialisation,wearable,kadokawa,uralic,aeros,messiaen,existentialism,jeweller,effigies,gametes,fjordane,cochlear,interdependent,demonstrative,unstructured,emplacement,famines,spindles,amplitudes,actuator,tantalum,psilocybe,apnea,monogatari,expulsions,seleucus,tsuen,hospitaller,kronstadt,eclipsing,olympiakos,clann,canadensis,inverter,helio,egyptologist,squamous,resonate,munir,histology,torbay,khans,jcpenney,veterinarians,aintree,microscopes,colonised,reflectors,phosphorylated,pristimantis,tulare,corvinus,multiplexing,midweek,demosthenes,transjordan,ecija,tengku,vlachs,anamorphic,counterweight,radnor,trinitarian,armidale,maugham,njsiaa,futurism,stairways,avicenna,montebello,bridgetown,wenatchee,lyonnais,amass,surinamese,streptococcus,m*a*s*h,hydrogenation,frazioni,proscenium,kalat,pennsylvanian,huracan,tallying,kralove,nucleolar,phrygian,seaports,hyacinthe,ignace,donning,instalment,regnal,fonds,prawn,carell,folktales,goaltending,bracknell,vmware,patriarchy,mitsui,kragujevac,pythagoras,soult,thapa,disproved,suwalki,secures,somoza,l'ecole,divizia,chroma,herders,technologist,deduces,maasai,rampur,paraphrase,raimi,imaged,magsaysay,ivano,turmeric,formula_51,subcommittees,axillary,ionosphere,organically,indented,refurbishing,pequot,violinists,bearn,colle,contralto,silverton,mechanization,etruscans,wittelsbach,pasir,redshirted,marrakesh,scarp,plein,wafers,qareh,teotihuacan,frobenius,sinensis,rehoboth,bundaberg,newbridge,hydrodynamic,traore,abubakar,adjusts,storytellers,dynamos,verbandsliga,concertmaster,exxonmobil,appreciable,sieradz,marchioness,chaplaincy,rechristened,cunxu,overpopulation,apolitical,sequencer,beaked,nemanja,binaries,intendant,absorber,filamentous,indebtedness,nusra,nashik,reprises,psychedelia,abwehr,ligurian,isoform,resistive,pillaging,mahathir,reformatory,lusatia,allerton,ajaccio,tepals,maturin,njcaa,abyssinian,objector,fissures,sinuous,ecclesiastic,dalits,caching,deckers,phosphates,wurlitzer,navigated,trofeo,berea,purefoods,solway,unlockable,grammys,kostroma,vocalizations,basilan,rebuke,abbasi,douala,helsingborg,ambon,bakar,runestones,cenel,tomislav,pigmented,northgate,excised,seconda,kirke,determinations,dedicates,vilas,pueblos,reversion,unexploded,overprinted,ekiti,deauville,masato,anaesthesia,endoplasmic,transponders,aguascalientes,hindley,celluloid,affording,bayeux,piaget,rickshaws,eishockey,camarines,zamalek,undersides,hardwoods,hermitian,mutinied,monotone,blackmails,affixes,jpmorgan,habermas,mitrovica,paleontological,polystyrene,thana,manas,conformist,turbofan,decomposes,logano,castration,metamorphoses,patroness,herbicide,mikolaj,rapprochement,macroeconomics,barranquilla,matsudaira,lintels,femina,hijab,spotsylvania,morpheme,bitola,baluchistan,kurukshetra,otway,extrusion,waukesha,menswear,helder,trung,bingley,protester,boars,overhang,differentials,exarchate,hejaz,kumara,unjustified,timings,sharpness,nuovo,taisho,sundar,etc..,jehan,unquestionably,muscovy,daltrey,canute,paneled,amedeo,metroplex,elaborates,telus,tetrapods,dragonflies,epithets,saffir,parthenon,lucrezia,refitting,pentateuch,hanshin,montparnasse,lumberjacks,sanhedrin,erectile,odors,greenstone,resurgent,leszek,amory,substituents,prototypical,viewfinder,monck,universiteit,joffre,revives,chatillon,seedling,scherzo,manukau,ashdod,gympie,homolog,stalwarts,ruinous,weibo,tochigi,wallenberg,gayatri,munda,satyagraha,storefronts,heterogeneity,tollway,sportswriters,binocular,gendarmes,ladysmith,tikal,ortsgemeinde,ja'far,osmotic,linlithgow,bramley,telecoms,pugin,repose,rupaul,sieur,meniscus,garmisch,reintroduce,400th,shoten,poniatowski,drome,kazakhstani,changeover,astronautics,husserl,herzl,hypertext,katakana,polybius,antananarivo,seong,breguet,reliquary,utada,aggregating,liangshan,sivan,tonawanda,audiobooks,shankill,coulee,phenolic,brockton,bookmakers,handsets,boaters,wylde,commonality,mappings,silhouettes,pennines,maurya,pratchett,singularities,eschewed,pretensions,vitreous,ibero,totalitarianism,poulenc,lingered,directx,seasoning,deputation,interdict,illyria,feedstock,counterbalance,muzik,buganda,parachuted,violist,homogeneity,comix,fjords,corsairs,punted,verandahs,equilateral,laoghaire,magyars,117th,alesund,televoting,mayotte,eateries,refurbish,nswrl,yukio,caragiale,zetas,dispel,codecs,inoperable,outperformed,rejuvenation,elstree,modernise,contributory,pictou,tewkesbury,chechens,ashina,psionic,refutation,medico,overdubbed,nebulae,sandefjord,personages,eccellenza,businessperson,placename,abenaki,perryville,threshing,reshaped,arecibo,burslem,colspan=3|turnout,rebadged,lumia,erinsborough,interactivity,bitmap,indefatigable,theosophy,excitatory,gleizes,edsel,bermondsey,korce,saarinen,wazir,diyarbakir,cofounder,liberalisation,onsen,nighthawks,siting,retirements,semyon,d'histoire,114th,redditch,venetia,praha,'round,valdosta,hieroglyphic,postmedial,edirne,miscellany,savona,cockpits,minimization,coupler,jacksonian,appeasement,argentines,saurashtra,arkwright,hesiod,folios,fitzalan,publica,rivaled,civitas,beermen,constructivism,ribeira,zeitschrift,solanum,todos,deformities,chilliwack,verdean,meagre,bishoprics,gujrat,yangzhou,reentered,inboard,mythologies,virtus,unsurprisingly,rusticated,museu,symbolise,proportionate,thesaban,symbian,aeneid,mitotic,veliki,compressive,cisterns,abies,winemaker,massenet,bertolt,ahmednagar,triplemania,armorial,administracion,tenures,smokehouse,hashtag,fuerza,regattas,gennady,kanazawa,mahmudabad,crustal,asaph,valentinian,ilaiyaraaja,honeyeater,trapezoidal,cooperatively,unambiguously,mastodon,inhospitable,harnesses,riverton,renewables,djurgardens,haitians,airings,humanoids,boatswain,shijiazhuang,faints,veera,punjabis,steepest,narain,karlovy,serre,sulcus,collectives,1500m,arion,subarctic,liberally,apollonius,ostia,droplet,headstones,norra,robusta,maquis,veronese,imola,primers,luminance,escadrille,mizuki,irreconcilable,stalybridge,temur,paraffin,stuccoed,parthians,counsels,fundamentalists,vivendi,polymath,sugababes,mikko,yonne,fermions,vestfold,pastoralist,kigali,unseeded,glarus,cusps,amasya,northwesterly,minorca,astragalus,verney,trevelyan,antipathy,wollstonecraft,bivalves,boulez,royle,divisao,quranic,bareilly,coronal,deviates,lulea,erectus,petronas,chandan,proxies,aeroflot,postsynaptic,memoriam,moyne,gounod,kuznetsova,pallava,ordinating,reigate,'first,lewisburg,exploitative,danby,academica,bailiwick,brahe,injective,stipulations,aeschylus,computes,gulden,hydroxylase,liveries,somalis,underpinnings,muscovite,kongsberg,domus,overlain,shareware,variegated,jalalabad,agence,ciphertext,insectivores,dengeki,menuhin,cladistic,baerum,betrothal,tokushima,wavelet,expansionist,pottsville,siyuan,prerequisites,carpi,nemzeti,nazar,trialled,eliminator,irrorated,homeward,redwoods,undeterred,strayed,lutyens,multicellular,aurelian,notated,lordships,alsatian,idents,foggia,garros,chalukyas,lillestrom,podlaski,pessimism,hsien,demilitarized,whitewashed,willesden,kirkcaldy,sanctorum,lamia,relaying,escondido,paediatric,contemplates,demarcated,bluestone,betula,penarol,capitalise,kreuznach,kenora,115th,hold'em,reichswehr,vaucluse,m.i.a,windings,boys/girls,cajon,hisar,predictably,flemington,ysgol,mimicked,clivina,grahamstown,ionia,glyndebourne,patrese,aquaria,sleaford,dayal,sportscenter,malappuram,m.b.a.,manoa,carbines,solvable,designator,ramanujan,linearity,academicians,sayid,lancastrian,factorial,strindberg,vashem,delos,comyn,condensing,superdome,merited,kabaddi,intransitive,bideford,neuroimaging,duopoly,scorecards,ziggler,heriot,boyars,virology,marblehead,microtubules,westphalian,anticipates,hingham,searchers,harpist,rapides,morricone,convalescent,mises,nitride,metrorail,matterhorn,bicol,drivetrain,marketer,snippet,winemakers,muban,scavengers,halberstadt,herkimer,peten,laborious,stora,montgomeryshire,booklist,shamir,herault,eurostar,anhydrous,spacewalk,ecclesia,calliostoma,highschool,d'oro,suffusion,imparts,overlords,tagus,rectifier,counterinsurgency,ministered,eilean,milecastle,contre,micromollusk,okhotsk,bartoli,matroid,hasidim,thirunal,terme,tarlac,lashkar,presque,thameslink,flyby,troopship,renouncing,fatih,messrs,vexillum,bagration,magnetite,bornholm,androgynous,vehement,tourette,philosophic,gianfranco,tuileries,codice_6,radially,flexion,hants,reprocessing,setae,burne,palaeographically,infantryman,shorebirds,tamarind,moderna,threading,militaristic,crohn,norrkoping,125cc,stadtholder,troms,klezmer,alphanumeric,brome,emmanuelle,tiwari,alchemical,formula_52,onassis,bleriot,bipedal,colourless,hermeneutics,hosni,precipitating,turnstiles,hallucinogenic,panhellenic,wyandotte,elucidated,chita,ehime,generalised,hydrophilic,biota,niobium,rnzaf,gandhara,longueuil,logics,sheeting,bielsko,cuvier,kagyu,trefoil,docent,pancrase,stalinism,postures,encephalopathy,monckton,imbalances,epochs,leaguers,anzio,diminishes,pataki,nitrite,amuro,nabil,maybach,l'aquila,babbler,bacolod,thutmose,evora,gaudi,breakage,recur,preservative,60deg,mendip,functionaries,columnar,maccabiah,chert,verden,bromsgrove,clijsters,dengue,pastorate,phuoc,principia,viareggio,kharagpur,scharnhorst,anyang,bosons,l'art,criticises,ennio,semarang,brownian,mirabilis,asperger,calibers,typographical,cartooning,minos,disembark,supranational,undescribed,etymologically,alappuzha,vilhelm,lanao,pakenham,bhagavata,rakoczi,clearings,astrologers,manitowoc,bunuel,acetylene,scheduler,defamatory,trabzonspor,leaded,scioto,pentathlete,abrahamic,minigames,aldehydes,peerages,legionary,1640s,masterworks,loudness,bryansk,likeable,genocidal,vegetated,towpath,declination,pyrrhus,divinely,vocations,rosebery,associazione,loaders,biswas,oeste,tilings,xianzong,bhojpuri,annuities,relatedness,idolator,psers,constriction,chuvash,choristers,hanafi,fielders,grammarian,orpheum,asylums,millbrook,gyatso,geldof,stabilise,tableaux,diarist,kalahari,panini,cowdenbeath,melanin,4x100m,resonances,pinar,atherosclerosis,sheringham,castlereagh,aoyama,larks,pantograph,protrude,natak,gustafsson,moribund,cerevisiae,cleanly,polymeric,holkar,cosmonauts,underpinning,lithosphere,firuzabad,languished,mingled,citrate,spadina,lavas,daejeon,fibrillation,porgy,pineville,ps1000,cobbled,emamzadeh,mukhtar,dampers,indelible,salonika,nanoscale,treblinka,eilat,purporting,fluctuate,mesic,hagiography,cutscenes,fondation,barrens,comically,accrue,ibrox,makerere,defections,'there,hollandia,skene,grosseto,reddit,objectors,inoculation,rowdies,playfair,calligrapher,namor,sibenik,abbottabad,propellants,hydraulically,chloroplasts,tablelands,tecnico,schist,klasse,shirvan,bashkortostan,bullfighting,north/south,polski,hanns,woodblock,kilmore,ejecta,ignacy,nanchang,danubian,commendations,snohomish,samaritans,argumentation,vasconcelos,hedgehogs,vajrayana,barents,kulkarni,kumbakonam,identifications,hillingdon,weirs,nayanar,beauvoir,messe,divisors,atlantiques,broods,affluence,tegucigalpa,unsuited,autodesk,akash,princeps,culprits,kingstown,unassuming,goole,visayan,asceticism,blagojevich,irises,paphos,unsound,maurier,pontchartrain,desertification,sinfonietta,latins,especial,limpet,valerenga,glial,brainstem,mitral,parables,sauropod,judean,iskcon,sarcoma,venlo,justifications,zhuhai,blavatsky,alleviated,usafe,steppenwolf,inversions,janko,chagall,secretory,basildon,saguenay,pergamon,hemispherical,harmonized,reloading,franjo,domaine,extravagance,relativism,metamorphosed,labuan,baloncesto,gmail,byproducts,calvinists,counterattacked,vitus,bubonic,120th,strachey,ritually,brookwood,selectable,savinja,incontinence,meltwater,jinja,1720s,brahmi,morgenthau,sheaves,sleeved,stratovolcano,wielki,utilisation,avoca,fluxus,panzergrenadier,philately,deflation,podlaska,prerogatives,kuroda,theophile,zhongzong,gascoyne,magus,takao,arundell,fylde,merdeka,prithviraj,venkateswara,liepaja,daigo,dreamland,reflux,sunnyvale,coalfields,seacrest,soldering,flexor,structuralism,alnwick,outweighed,unaired,mangeshkar,batons,glaad,banshees,irradiated,organelles,biathlete,cabling,chairlift,lollapalooza,newsnight,capacitive,succumbs,flatly,miramichi,burwood,comedienne,charteris,biotic,workspace,aficionados,sokolka,chatelet,o'shaughnessy,prosthesis,neoliberal,refloated,oppland,hatchlings,econometrics,loess,thieu,androids,appalachians,jenin,pterostichinae,downsized,foils,chipsets,stencil,danza,narrate,maginot,yemenite,bisects,crustacean,prescriptive,melodious,alleviation,empowers,hansson,autodromo,obasanjo,osmosis,daugava,rheumatism,moraes,leucine,etymologies,chepstow,delaunay,bramall,bajaj,flavoring,approximates,marsupials,incisive,microcomputer,tactically,waals,wilno,fisichella,ursus,hindmarsh,mazarin,lomza,xenophobia,lawlessness,annecy,wingers,gornja,gnaeus,superieur,tlaxcala,clasps,symbolises,slats,rightist,effector,blighted,permanence,divan,progenitors,kunsthalle,anointing,excelling,coenzyme,indoctrination,dnipro,landholdings,adriaan,liturgies,cartan,ethmia,attributions,sanctus,trichy,chronicon,tancred,affinis,kampuchea,gantry,pontypool,membered,distrusted,fissile,dairies,hyposmocoma,craigie,adarsh,martinsburg,taxiway,30deg,geraint,vellum,bencher,khatami,formula_53,zemun,teruel,endeavored,palmares,pavements,u.s..,internationalization,satirized,carers,attainable,wraparound,muang,parkersburg,extinctions,birkenfeld,wildstorm,payers,cohabitation,unitas,culloden,capitalizing,clwyd,daoist,campinas,emmylou,orchidaceae,halakha,orientales,fealty,domnall,chiefdom,nigerians,ladislav,dniester,avowed,ergonomics,newsmagazine,kitsch,cantilevered,benchmarking,remarriage,alekhine,coldfield,taupo,almirante,substations,apprenticeships,seljuq,levelling,eponym,symbolising,salyut,opioids,underscore,ethnologue,mohegan,marikina,libro,bassano,parse,semantically,disjointed,dugdale,padraig,tulsi,modulating,xfinity,headlands,mstislav,earthworms,bourchier,lgbtq,embellishments,pennants,rowntree,betel,motet,mulla,catenary,washoe,mordaunt,dorking,colmar,girardeau,glentoran,grammatically,samad,recreations,technion,staccato,mikoyan,spoilers,lyndhurst,victimization,chertsey,belafonte,tondo,tonsberg,narrators,subcultures,malformations,edina,augmenting,attests,euphemia,cabriolet,disguising,1650s,navarrese,demoralized,cardiomyopathy,welwyn,wallachian,smoothness,planktonic,voles,issuers,sardasht,survivability,cuauhtemoc,thetis,extruded,signet,raghavan,lombok,eliyahu,crankcase,dissonant,stolberg,trencin,desktops,bursary,collectivization,charlottenburg,triathlete,curvilinear,involuntarily,mired,wausau,invades,sundaram,deletions,bootstrap,abellio,axiomatic,noguchi,setups,malawian,visalia,materialist,kartuzy,wenzong,plotline,yeshivas,parganas,tunica,citric,conspecific,idlib,superlative,reoccupied,blagoevgrad,masterton,immunological,hatta,courbet,vortices,swallowtail,delves,haridwar,diptera,boneh,bahawalpur,angering,mardin,equipments,deployable,guanine,normality,rimmed,artisanal,boxset,chandrasekhar,jools,chenar,tanakh,carcassonne,belatedly,millville,anorthosis,reintegration,velde,surfactant,kanaan,busoni,glyphipterix,personas,fullness,rheims,tisza,stabilizers,bharathi,joost,spinola,mouldings,perching,esztergom,afzal,apostate,lustre,s.league,motorboat,monotheistic,armature,barat,asistencia,bloomsburg,hippocampal,fictionalised,defaults,broch,hexadecimal,lusignan,ryanair,boccaccio,breisgau,southbank,bskyb,adjoined,neurobiology,aforesaid,sadhu,langue,headship,wozniacki,hangings,regulus,prioritized,dynamism,allier,hannity,shimin,antoninus,gymnopilus,caledon,preponderance,melayu,electrodynamics,syncopated,ibises,krosno,mechanistic,morpeth,harbored,albini,monotheism,'real,hyperactivity,haveli,writer/director,minato,nimoy,caerphilly,chitral,amirabad,fanshawe,l'oreal,lorde,mukti,authoritarianism,valuing,spyware,hanbury,restarting,stato,embed,suiza,empiricism,stabilisation,stari,castlemaine,orbis,manufactory,mauritanian,shoji,taoyuan,prokaryotes,oromia,ambiguities,embodying,slims,frente,innovate,ojibwa,powdery,gaeltacht,argentinos,quatermass,detergents,fijians,adaptor,tokai,chileans,bulgars,oxidoreductases,bezirksliga,conceicao,myosin,nellore,500cc,supercomputers,approximating,glyndwr,polypropylene,haugesund,cockerell,tudman,ashbourne,hindemith,bloodlines,rigveda,etruria,romanos,steyn,oradea,deceleration,manhunter,laryngeal,fraudulently,janez,wendover,haplotype,janaki,naoki,belizean,mellencamp,cartographic,sadhana,tricolour,pseudoscience,satara,bytow,s.p.a.,jagdgeschwader,arcot,omagh,sverdrup,masterplan,surtees,apocrypha,ahvaz,d'amato,socratic,leumit,unnumbered,nandini,witold,marsupial,coalesced,interpolated,gimnasia,karadzic,keratin,mamoru,aldeburgh,speculator,escapement,irfan,kashyap,satyajit,haddington,solver,rothko,ashkelon,kickapoo,yeomen,superbly,bloodiest,greenlandic,lithic,autofocus,yardbirds,poona,keble,javan,sufis,expandable,tumblr,ursuline,swimwear,winwood,counsellors,aberrations,marginalised,befriending,workouts,predestination,varietal,siddhartha,dunkeld,judaic,esquimalt,shabab,ajith,telefonica,stargard,hoysala,radhakrishnan,sinusoidal,strada,hiragana,cebuano,monoid,independencia,floodwaters,mildura,mudflats,ottokar,translit,radix,wigner,philosophically,tephritid,synthesizing,castletown,installs,stirner,resettle,bushfire,choirmaster,kabbalistic,shirazi,lightship,rebus,colonizers,centrifuge,leonean,kristofferson,thymus,clackamas,ratnam,rothesay,municipally,centralia,thurrock,gulfport,bilinear,desirability,merite,psoriasis,macaw,erigeron,consignment,mudstone,distorting,karlheinz,ramen,tailwheel,vitor,reinsurance,edifices,superannuation,dormancy,contagion,cobden,rendezvoused,prokaryotic,deliberative,patricians,feigned,degrades,starlings,sopot,viticultural,beaverton,overflowed,convener,garlands,michiel,ternopil,naturelle,biplanes,bagot,gamespy,ventspils,disembodied,flattening,profesional,londoners,arusha,scapular,forestall,pyridine,ulema,eurodance,aruna,callus,periodontal,coetzee,immobilized,o'meara,maharani,katipunan,reactants,zainab,microgravity,saintes,britpop,carrefour,constrain,adversarial,firebirds,brahmo,kashima,simca,surety,surpluses,superconductivity,gipuzkoa,cumans,tocantins,obtainable,humberside,roosting,'king,formula_54,minelayer,bessel,sulayman,cycled,biomarkers,annealing,shusha,barda,cassation,djing,polemics,tuple,directorates,indomitable,obsolescence,wilhelmine,pembina,bojan,tambo,dioecious,pensioner,magnificat,1660s,estrellas,southeasterly,immunodeficiency,railhead,surreptitiously,codeine,encores,religiosity,tempera,camberley,efendi,boardings,malleable,hagia,input/output,lucasfilm,ujjain,polymorphisms,creationist,berners,mickiewicz,irvington,linkedin,endures,kinect,munition,apologetics,fairlie,predicated,reprinting,ethnographer,variances,levantine,mariinsky,jadid,jarrow,asia/oceania,trinamool,waveforms,bisexuality,preselection,pupae,buckethead,hieroglyph,lyricists,marionette,dunbartonshire,restorer,monarchical,pazar,kickoffs,cabildo,savannas,gliese,dench,spoonbills,novelette,diliman,hypersensitivity,authorising,montefiore,mladen,qu'appelle,theistic,maruti,laterite,conestoga,saare,californica,proboscis,carrickfergus,imprecise,hadassah,baghdadi,jolgeh,deshmukh,amusements,heliopolis,berle,adaptability,partenkirchen,separations,baikonur,cardamom,southeastward,southfield,muzaffar,adequacy,metropolitana,rajkot,kiyoshi,metrobus,evictions,reconciles,librarianship,upsurge,knightley,badakhshan,proliferated,spirituals,burghley,electroacoustic,professing,featurette,reformists,skylab,descriptors,oddity,greyfriars,injects,salmond,lanzhou,dauntless,subgenera,underpowered,transpose,mahinda,gatos,aerobatics,seaworld,blocs,waratahs,joris,giggs,perfusion,koszalin,mieczyslaw,ayyubid,ecologists,modernists,sant'angelo,quicktime,him/her,staves,sanyo,melaka,acrocercops,qigong,iterated,generalizes,recuperation,vihara,circassians,psychical,chavo,memoires,infiltrates,notaries,pelecaniformesfamily,strident,chivalric,pierrepont,alleviating,broadsides,centipede,b.tech,reinterpreted,sudetenland,hussite,covenanters,radhika,ironclads,gainsbourg,testis,penarth,plantar,azadegan,beano,espn.com,leominster,autobiographies,nbcuniversal,eliade,khamenei,montferrat,undistinguished,ethnological,wenlock,fricatives,polymorphic,biome,joule,sheaths,astrophysicist,salve,neoclassicism,lovat,downwind,belisarius,forma,usurpation,freie,depopulation,backbench,ascenso,'high,aagpbl,gdanski,zalman,mouvement,encapsulation,bolshevism,statny,voyageurs,hywel,vizcaya,mazra'eh,narthex,azerbaijanis,cerebrospinal,mauretania,fantail,clearinghouse,bolingbroke,pequeno,ansett,remixing,microtubule,wrens,jawahar,palembang,gambian,hillsong,fingerboard,repurposed,sundry,incipient,veolia,theologically,ulaanbaatar,atsushi,foundling,resistivity,myeloma,factbook,mazowiecka,diacritic,urumqi,clontarf,provokes,intelsat,professes,materialise,portobello,benedictines,panionios,introverted,reacquired,bridport,mammary,kripke,oratorios,vlore,stoning,woredas,unreported,antti,togolese,fanzines,heuristics,conservatories,carburetors,clitheroe,cofounded,formula_57,erupting,quinnipiac,bootle,ghostface,sittings,aspinall,sealift,transferase,boldklub,siskiyou,predominated,francophonie,ferruginous,castrum,neogene,sakya,madama,precipitous,'love,posix,bithynia,uttara,avestan,thrushes,seiji,memorably,septimius,libri,cibernetico,hyperinflation,dissuaded,cuddalore,peculiarity,vaslui,grojec,albumin,thurles,casks,fasteners,fluidity,buble,casals,terek,gnosticism,cognates,ulnar,radwanska,babylonians,majuro,oxidizer,excavators,rhythmically,liffey,gorakhpur,eurydice,underscored,arborea,lumumba,tuber,catholique,grama,galilei,scrope,centreville,jacobin,bequests,ardeche,polygamous,montauban,terai,weatherboard,readability,attainder,acraea,transversely,rivets,winterbottom,reassures,bacteriology,vriesea,chera,andesite,dedications,homogenous,reconquered,bandon,forrestal,ukiyo,gurdjieff,tethys,sparc,muscogee,grebes,belchatow,mansa,blantyre,palliser,sokolow,fibroblasts,exmoor,misaki,soundscapes,housatonic,middelburg,convenor,leyla,antipope,histidine,okeechobee,alkenes,sombre,alkene,rubik,macaques,calabar,trophee,pinchot,'free,frusciante,chemins,falaise,vasteras,gripped,schwarzenberg,cumann,kanchipuram,acoustically,silverbacks,fangio,inset,plympton,kuril,vaccinations,recep,theropods,axils,stavropol,encroached,apoptotic,papandreou,wailers,moonstone,assizes,micrometers,hornchurch,truncation,annapurna,egyptologists,rheumatic,promiscuity,satiric,fleche,caloptilia,anisotropy,quaternions,gruppo,viscounts,awardees,aftershocks,sigint,concordance,oblasts,gaumont,stent,commissars,kesteven,hydroxy,vijayanagar,belorussian,fabricius,watermark,tearfully,mamet,leukaemia,sorkh,milepost,tattooing,vosta,abbasids,uncompleted,hedong,woodwinds,extinguishing,malus,multiplexes,francoist,pathet,responsa,bassists,'most,postsecondary,ossory,grampian,saakashvili,alito,strasberg,impressionistic,volador,gelatinous,vignette,underwing,campanian,abbasabad,albertville,hopefuls,nieuwe,taxiways,reconvened,recumbent,pathologists,unionized,faversham,asymptotically,romulo,culling,donja,constricted,annesley,duomo,enschede,lovech,sharpshooter,lansky,dhamma,papillae,alanine,mowat,delius,wrest,mcluhan,podkarpackie,imitators,bilaspur,stunting,pommel,casemate,handicaps,nagas,testaments,hemings,necessitate,rearward,locative,cilla,klitschko,lindau,merion,consequential,antic,soong,copula,berthing,chevrons,rostral,sympathizer,budokan,ranulf,beria,stilt,replying,conflated,alcibiades,painstaking,yamanashi,calif.,arvid,ctesiphon,xizong,rajas,caxton,downbeat,resurfacing,rudders,miscegenation,deathmatch,foregoing,arthropod,attestation,karts,reapportionment,harnessing,eastlake,schola,dosing,postcolonial,imtiaz,formula_55,insulators,gunung,accumulations,pampas,llewelyn,bahnhof,cytosol,grosjean,teaneck,briarcliff,arsenio,canara,elaborating,passchendaele,searchlights,holywell,mohandas,preventable,gehry,mestizos,ustinov,cliched,'national,heidfeld,tertullian,jihadist,tourer,miletus,semicircle,outclassed,bouillon,cardinalate,clarifies,dakshina,bilayer,pandyan,unrwa,chandragupta,formula_56,portola,sukumaran,lactation,islamia,heikki,couplers,misappropriation,catshark,montt,ploughs,carib,stator,leaderboard,kenrick,dendrites,scape,tillamook,molesworth,mussorgsky,melanesia,restated,troon,glycoside,truckee,headwater,mashup,sectoral,gangwon,docudrama,skirting,psychopathology,dramatised,ostroleka,infestations,thabo,depolarization,wideroe,eisenbahn,thomond,kumaon,upendra,foreland,acronyms,yaqui,retaking,raphaelite,specie,dupage,villars,lucasarts,chloroplast,werribee,balsa,ascribe,havant,flava,khawaja,tyumen,subtract,interrogators,reshaping,buzzcocks,eesti,campanile,potemkin,apertures,snowboarder,registrars,handbooks,boyar,contaminant,depositors,proximate,jeunesse,zagora,pronouncements,mists,nihilism,deified,margraviate,pietersen,moderators,amalfi,adjectival,copepods,magnetosphere,pallets,clemenceau,castra,perforation,granitic,troilus,grzegorz,luthier,dockyards,antofagasta,ffestiniog,subroutine,afterword,waterwheel,druce,nitin,undifferentiated,emacs,readmitted,barneveld,tapers,hittites,infomercials,infirm,braathens,heligoland,carpark,geomagnetic,musculoskeletal,nigerien,machinima,harmonize,repealing,indecency,muskoka,verite,steubenville,suffixed,cytoskeleton,surpasses,harmonia,imereti,ventricles,heterozygous,envisions,otsego,ecoles,warrnambool,burgenland,seria,rawat,capistrano,welby,kirin,enrollments,caricom,dragonlance,schaffhausen,expanses,photojournalism,brienne,etude,referent,jamtland,schemas,xianbei,cleburne,bicester,maritima,shorelines,diagonals,bjelke,nonpublic,aliasing,m.f.a,ovals,maitreya,skirmishing,grothendieck,sukhothai,angiotensin,bridlington,durgapur,contras,gakuen,skagit,rabbinate,tsunamis,haphazard,tyldesley,microcontroller,discourages,hialeah,compressing,septimus,larvik,condoleezza,psilocybin,protectionism,songbirds,clandestinely,selectmen,wargame,cinemascope,khazars,agronomy,melzer,latifah,cherokees,recesses,assemblymen,basescu,banaras,bioavailability,subchannels,adenine,o'kelly,prabhakar,leonese,dimethyl,testimonials,geoffroy,oxidant,universiti,gheorghiu,bohdan,reversals,zamorin,herbivore,jarre,sebastiao,infanterie,dolmen,teddington,radomsko,spaceships,cuzco,recapitulation,mahoning,bainimarama,myelin,aykroyd,decals,tokelau,nalgonda,rajasthani,121st,quelled,tambov,illyrians,homilies,illuminations,hypertrophy,grodzisk,inundation,incapacity,equilibria,combats,elihu,steinitz,berengar,gowda,canwest,khosrau,maculata,houten,kandinsky,onside,leatherhead,heritable,belvidere,federative,chukchi,serling,eruptive,patan,entitlements,suffragette,evolutions,migrates,demobilisation,athleticism,trope,sarpsborg,kensal,translink,squamish,concertgebouw,energon,timestamp,competences,zalgiris,serviceman,codice_7,spoofing,assange,mahadevan,skien,suceava,augustan,revisionism,unconvincing,hollande,drina,gottlob,lippi,broglie,darkening,tilapia,eagerness,nacht,kolmogorov,photometric,leeuwarden,jrotc,haemorrhage,almanack,cavalli,repudiation,galactose,zwickau,cetinje,houbraken,heavyweights,gabonese,ordinals,noticias,museveni,steric,charaxes,amjad,resection,joinville,leczyca,anastasius,purbeck,subtribe,dalles,leadoff,monoamine,jettisoned,kaori,anthologized,alfreton,indic,bayezid,tottori,colonizing,assassinating,unchanging,eusebian,d'estaing,tsingtao,toshio,transferases,peronist,metrology,equus,mirpur,libertarianism,kovil,indole,'green,abstention,quantitatively,icebreakers,tribals,mainstays,dryandra,eyewear,nilgiri,chrysanthemum,inositol,frenetic,merchantman,hesar,physiotherapist,transceiver,dancefloor,rankine,neisse,marginalization,lengthen,unaided,rework,pageantry,savio,striated,funen,witton,illuminates,frass,hydrolases,akali,bistrita,copywriter,firings,handballer,tachinidae,dmytro,coalesce,neretva,menem,moraines,coatbridge,crossrail,spoofed,drosera,ripen,protour,kikuyu,boleslav,edwardes,troubadours,haplogroups,wrasse,educationalist,sroda,khaneh,dagbladet,apennines,neuroscientist,deplored,terje,maccabees,daventry,spaceport,lessening,ducats,singer/guitarist,chambersburg,yeong,configurable,ceremonially,unrelenting,caffe,graaf,denizens,kingsport,ingush,panhard,synthesised,tumulus,homeschooled,bozorg,idiomatic,thanhouser,queensway,radek,hippolytus,inking,banovina,peacocks,piaui,handsworth,pantomimes,abalone,thera,kurzweil,bandura,augustinians,bocelli,ferrol,jiroft,quadrature,contravention,saussure,rectification,agrippina,angelis,matanzas,nidaros,palestrina,latium,coriolis,clostridium,ordain,uttering,lanchester,proteolytic,ayacucho,merseburg,holbein,sambalpur,algebraically,inchon,ostfold,savoia,calatrava,lahiri,judgeship,ammonite,masaryk,meyerbeer,hemorrhagic,superspeedway,ningxia,panicles,encircles,khmelnytsky,profusion,esher,babol,inflationary,anhydride,gaspe,mossy,periodicity,nacion,meteorologists,mahjong,interventional,sarin,moult,enderby,modell,palgrave,warners,montcalm,siddha,functionalism,rilke,politicized,broadmoor,kunste,orden,brasileira,araneta,eroticism,colquhoun,mamba,blacktown,tubercle,seagrass,manoel,camphor,neoregelia,llandudno,annexe,enplanements,kamien,plovers,statisticians,iturbide,madrasah,nontrivial,publican,landholders,manama,uninhabitable,revivalist,trunkline,friendliness,gurudwara,rocketry,unido,tripos,besant,braque,evolutionarily,abkhazian,staffel,ratzinger,brockville,bohemond,intercut,djurgarden,utilitarianism,deploys,sastri,absolutism,subhas,asghar,fictions,sepinwall,proportionately,titleholders,thereon,foursquare,machinegun,knightsbridge,siauliai,aqaba,gearboxes,castaways,weakens,phallic,strzelce,buoyed,ruthenia,pharynx,intractable,neptunes,koine,leakey,netherlandish,preempted,vinay,terracing,instigating,alluvium,prosthetics,vorarlberg,politiques,joinery,reduplication,nebuchadnezzar,lenticular,banka,seaborne,pattinson,helpline,aleph,beckenham,californians,namgyal,franziska,aphid,branagh,transcribe,appropriateness,surakarta,takings,propagates,juraj,b0d3fb,brera,arrayed,tailback,falsehood,hazleton,prosody,egyptology,pinnate,tableware,ratan,camperdown,ethnologist,tabari,classifiers,biogas,126th,kabila,arbitron,apuestas,membranous,kincardine,oceana,glories,natick,populism,synonymy,ghalib,mobiles,motherboards,stationers,germinal,patronised,formula_58,gaborone,torts,jeezy,interleague,novaya,batticaloa,offshoots,wilbraham,filename,nswrfl,'well,trilobite,pythons,optimally,scientologists,rhesus,pilsen,backdrops,batang,unionville,hermanos,shrikes,fareham,outlawing,discontinuing,boisterous,shamokin,scanty,southwestward,exchangers,unexpired,mewar,h.m.s,saldanha,pawan,condorcet,turbidity,donau,indulgences,coincident,cliques,weeklies,bardhaman,violators,kenai,caspase,xperia,kunal,fistula,epistemic,cammell,nephi,disestablishment,rotator,germaniawerft,pyaar,chequered,jigme,perlis,anisotropic,popstars,kapil,appendices,berat,defecting,shacks,wrangel,panchayath,gorna,suckling,aerosols,sponheim,talal,borehole,encodings,enlai,subduing,agong,nadar,kitsap,syrmia,majumdar,pichilemu,charleville,embryology,booting,literati,abutting,basalts,jussi,repubblica,hertogenbosch,digitization,relents,hillfort,wiesenthal,kirche,bhagwan,bactrian,oases,phyla,neutralizing,helsing,ebooks,spearheading,margarine,'golden,phosphor,picea,stimulants,outliers,timescale,gynaecology,integrator,skyrocketed,bridgnorth,senecio,ramachandra,suffragist,arrowheads,aswan,inadvertent,microelectronics,118th,sofer,kubica,melanesian,tuanku,balkh,vyborg,crystallographic,initiators,metamorphism,ginzburg,looters,unimproved,finistere,newburyport,norges,immunities,franchisees,asterism,kortrijk,camorra,komsomol,fleurs,draughts,patagonian,voracious,artin,collaborationist,revolucion,revitalizing,xaver,purifying,antipsychotic,disjunct,pompeius,dreamwave,juvenal,beinn,adiyaman,antitank,allama,boletus,melanogaster,dumitru,caproni,aligns,athabaskan,stobart,phallus,veikkausliiga,hornsey,buffering,bourbons,dobruja,marga,borax,electrics,gangnam,motorcyclist,whidbey,draconian,lodger,galilean,sanctification,imitates,boldness,underboss,wheatland,cantabrian,terceira,maumee,redefining,uppercase,ostroda,characterise,universalism,equalized,syndicalism,haringey,masovia,deleuze,funkadelic,conceals,thuan,minsky,pluralistic,ludendorff,beekeeping,bonfires,endoscopic,abuts,prebend,jonkoping,amami,tribunes,yup'ik,awadh,gasification,pforzheim,reforma,antiwar,vaishnavism,maryville,inextricably,margrethe,empresa,neutrophils,sanctified,ponca,elachistidae,curiae,quartier,mannar,hyperplasia,wimax,busing,neologism,florins,underrepresented,digitised,nieuw,cooch,howards,frege,hughie,plied,swale,kapellmeister,vajpayee,quadrupled,aeronautique,dushanbe,custos,saltillo,kisan,tigray,manaus,epigrams,shamanic,peppered,frosts,promotion/relegation,concedes,zwingli,charentes,whangarei,hyung,spring/summer,sobre,eretz,initialization,sawai,ephemera,grandfathered,arnaldo,customised,permeated,parapets,growths,visegrad,estudios,altamont,provincia,apologises,stoppard,carburettor,rifts,kinematic,zhengzhou,eschatology,prakrit,folate,yvelines,scapula,stupas,rishon,reconfiguration,flutist,1680s,apostolate,proudhon,lakshman,articulating,stortford,faithfull,bitterns,upwelling,qur'anic,lidar,interferometry,waterlogged,koirala,ditton,wavefunction,fazal,babbage,antioxidants,lemberg,deadlocked,tolled,ramapo,mathematica,leiria,topologies,khali,photonic,balti,1080p,corrects,recommenced,polyglot,friezes,tiebreak,copacabana,cholmondeley,armband,abolishment,sheamus,buttes,glycolysis,cataloged,warrenton,sassari,kishan,foodservice,cryptanalysis,holmenkollen,cosplay,machi,yousuf,mangal,allying,fertiliser,otomi,charlevoix,metallurg,parisians,bottlenose,oakleigh,debug,cidade,accede,ligation,madhava,pillboxes,gatefold,aveyron,sorin,thirsk,immemorial,menelik,mehra,domingos,underpinned,fleshed,harshness,diphthong,crestwood,miskolc,dupri,pyrausta,muskingum,tuoba,prodi,incidences,waynesboro,marquesas,heydar,artesian,calinescu,nucleation,funders,covalently,compaction,derbies,seaters,sodor,tabular,amadou,peckinpah,o'halloran,zechariah,libyans,kartik,daihatsu,chandran,erzhu,heresies,superheated,yarder,dorde,tanjore,abusers,xuanwu,juniperus,moesia,trusteeship,birdwatching,beatz,moorcock,harbhajan,sanga,choreographic,photonics,boylston,amalgamate,prawns,electrifying,sarath,inaccurately,exclaims,powerpoint,chaining,cpusa,adulterous,saccharomyces,glogow,vfl/afl,syncretic,simla,persisting,functors,allosteric,euphorbiaceae,juryo,mlada,moana,gabala,thornycroft,kumanovo,ostrovsky,sitio,tutankhamun,sauropods,kardzhali,reinterpretation,sulpice,rosyth,originators,halesowen,delineation,asesoria,abatement,gardai,elytra,taillights,overlays,monsoons,sandpipers,ingmar,henrico,inaccuracy,irwell,arenabowl,elche,pressburg,signalman,interviewees,sinkhole,pendle,ecommerce,cellos,nebria,organometallic,surrealistic,propagandist,interlaken,canandaigua,aerials,coutinho,pascagoula,tonopah,letterkenny,gropius,carbons,hammocks,childe,polities,hosiery,donitz,suppresses,diaghilev,stroudsburg,bagram,pistoia,regenerating,unitarians,takeaway,offstage,vidin,glorification,bakunin,yavapai,lutzow,sabercats,witney,abrogated,gorlitz,validating,dodecahedron,stubbornly,telenor,glaxosmithkline,solapur,undesired,jellicoe,dramatization,four-and-a-half,seawall,waterpark,artaxerxes,vocalization,typographic,byung,sachsenhausen,shepparton,kissimmee,konnan,belsen,dhawan,khurd,mutagenesis,vejle,perrot,estradiol,formula_60,saros,chiloe,misiones,lamprey,terrains,speke,miasto,eigenvectors,haydock,reservist,corticosteroids,savitri,shinawatra,developmentally,yehudi,berates,janissaries,recapturing,rancheria,subplots,gresley,nikkatsu,oryol,cosmas,boavista,formula_59,playfully,subsections,commentated,kathakali,dorid,vilaine,seepage,hylidae,keiji,kazakhs,triphosphate,1620s,supersede,monarchists,falla,miyako,notching,bhumibol,polarizing,secularized,shingled,bronislaw,lockerbie,soleyman,bundesbahn,latakia,redoubts,boult,inwardly,invents,ondrej,minangkabau,newquay,permanente,alhaji,madhav,malini,ellice,bookmaker,mankiewicz,etihad,o'dea,interrogative,mikawa,wallsend,canisius,bluesy,vitruvius,noord,ratifying,mixtec,gujranwala,subprefecture,keelung,goiania,nyssa,shi'ite,semitone,ch'uan,computerised,pertuan,catapults,nepomuk,shruti,millstones,buskerud,acolytes,tredegar,sarum,armia,dell'arte,devises,custodians,upturned,gallaudet,disembarking,thrashed,sagrada,myeon,undeclared,qumran,gaiden,tepco,janesville,showground,condense,chalon,unstaffed,pasay,undemocratic,hauts,viridis,uninjured,escutcheon,gymkhana,petaling,hammam,dislocations,tallaght,rerum,shias,indios,guaranty,simplicial,benares,benediction,tajiri,prolifically,huawei,onerous,grantee,ferencvaros,otranto,carbonates,conceit,digipak,qadri,masterclasses,swamiji,cradock,plunket,helmsman,119th,salutes,tippecanoe,murshidabad,intelligibility,mittal,diversifying,bidar,asansol,crowdsourcing,rovere,karakoram,grindcore,skylights,tulagi,furrows,ligne,stuka,sumer,subgraph,amata,regionalist,bulkeley,teletext,glorify,readied,lexicographer,sabadell,predictability,quilmes,phenylalanine,bandaranaike,pyrmont,marksmen,quisling,viscountess,sociopolitical,afoul,pediments,swazi,martyrology,nullify,panagiotis,superconductors,veldenz,jujuy,l'isle,hematopoietic,shafi,subsea,hattiesburg,jyvaskyla,kebir,myeloid,landmine,derecho,amerindians,birkenau,scriabin,milhaud,mucosal,nikaya,freikorps,theoretician,proconsul,o'hanlon,clerked,bactria,houma,macular,topologically,shrubby,aryeh,ghazali,afferent,magalhaes,moduli,ashtabula,vidarbha,securitate,ludwigsburg,adoor,varun,shuja,khatun,chengde,bushels,lascelles,professionnelle,elfman,rangpur,unpowered,citytv,chojnice,quaternion,stokowski,aschaffenburg,commutes,subramaniam,methylene,satrap,gharb,namesakes,rathore,helier,gestational,heraklion,colliers,giannis,pastureland,evocation,krefeld,mahadeva,churchmen,egret,yilmaz,galeazzo,pudukkottai,artigas,generalitat,mudslides,frescoed,enfeoffed,aphorisms,melilla,montaigne,gauliga,parkdale,mauboy,linings,prema,sapir,xylophone,kushan,rockne,sequoyah,vasyl,rectilinear,vidyasagar,microcosm,san'a,carcinogen,thicknesses,aleut,farcical,moderating,detested,hegemonic,instalments,vauban,verwaltungsgemeinschaft,picayune,razorback,magellanic,moluccas,pankhurst,exportation,waldegrave,sufferer,bayswater,1up.com,rearmament,orangutans,varazdin,b.o.b,elucidate,harlingen,erudition,brankovic,lapis,slipway,urraca,shinde,unwell,elwes,euboea,colwyn,srivijaya,grandstands,hortons,generalleutnant,fluxes,peterhead,gandhian,reals,alauddin,maximized,fairhaven,endow,ciechanow,perforations,darters,panellist,manmade,litigants,exhibitor,tirol,caracalla,conformance,hotelier,stabaek,hearths,borac,frisians,ident,veliko,emulators,schoharie,uzbeks,samarra,prestwick,wadia,universita,tanah,bucculatrix,predominates,genotypes,denounces,roadsides,ganassi,keokuk,philatelist,tomic,ingots,conduits,samplers,abdus,johar,allegories,timaru,wolfpacks,secunda,smeaton,sportivo,inverting,contraindications,whisperer,moradabad,calamities,bakufu,soundscape,smallholders,nadeem,crossroad,xenophobic,zakir,nationalliga,glazes,retroflex,schwyz,moroder,rubra,quraysh,theodoros,endemol,infidels,km/hr,repositioned,portraitist,lluis,answerable,arges,mindedness,coarser,eyewall,teleported,scolds,uppland,vibraphone,ricoh,isenburg,bricklayer,cuttlefish,abstentions,communicable,cephalopod,stockyards,balto,kinston,armbar,bandini,elphaba,maxims,bedouins,sachsen,friedkin,tractate,pamir,ivanovo,mohini,kovalainen,nambiar,melvyn,orthonormal,matsuyama,cuernavaca,veloso,overstated,streamer,dravid,informers,analyte,sympathized,streetscape,gosta,thomasville,grigore,futuna,depleting,whelks,kiedis,armadale,earner,wynyard,dothan,animating,tridentine,sabri,immovable,rivoli,ariege,parley,clinker,circulates,junagadh,fraunhofer,congregants,180th,buducnost,formula_62,olmert,dedekind,karnak,bayernliga,mazes,sandpiper,ecclestone,yuvan,smallmouth,decolonization,lemmy,adjudicated,retiro,legia,benue,posit,acidification,wahab,taconic,floatplane,perchlorate,atria,wisbech,divestment,dallara,phrygia,palustris,cybersecurity,rebates,facie,mineralogical,substituent,proteges,fowey,mayenne,smoothbore,cherwell,schwarzschild,junin,murrumbidgee,smalltalk,d'orsay,emirati,calaveras,titusville,theremin,vikramaditya,wampanoag,burra,plaines,onegin,emboldened,whampoa,langa,soderbergh,arnaz,sowerby,arendal,godunov,pathanamthitta,damselfly,bestowing,eurosport,iconoclasm,outfitters,acquiesced,badawi,hypotension,ebbsfleet,annulus,sohrab,thenceforth,chagatai,necessitates,aulus,oddities,toynbee,uniontown,innervation,populaire,indivisible,rossellini,minuet,cyrene,gyeongju,chania,cichlids,harrods,1690s,plunges,abdullahi,gurkhas,homebuilt,sortable,bangui,rediff,incrementally,demetrios,medaille,sportif,svend,guttenberg,tubules,carthusian,pleiades,torii,hoppus,phenyl,hanno,conyngham,teschen,cronenberg,wordless,melatonin,distinctiveness,autos,freising,xuanzang,dunwich,satanism,sweyn,predrag,contractually,pavlovic,malaysians,micrometres,expertly,pannonian,abstaining,capensis,southwesterly,catchphrases,commercialize,frankivsk,normanton,hibernate,verso,deportees,dubliners,codice_8,condors,zagros,glosses,leadville,conscript,morrisons,usury,ossian,oulton,vaccinium,civet,ayman,codrington,hadron,nanometers,geochemistry,extractor,grigori,tyrrhenian,neocollyris,drooping,falsification,werft,courtauld,brigantine,orhan,chapultepec,supercopa,federalized,praga,havering,encampments,infallibility,sardis,pawar,undirected,reconstructionist,ardrossan,varuna,pastimes,archdiocesan,fledging,shenhua,molise,secondarily,stagnated,replicates,ciencias,duryodhana,marauding,ruislip,ilyich,intermixed,ravenswood,shimazu,mycorrhizal,icosahedral,consents,dunblane,follicular,pekin,suffield,muromachi,kinsale,gauche,businesspeople,thereto,watauga,exaltation,chelmno,gorse,proliferate,drainages,burdwan,kangra,transducers,inductor,duvalier,maguindanao,moslem,uncaf,givenchy,plantarum,liturgics,telegraphs,lukashenko,chenango,andante,novae,ironwood,faubourg,torme,chinensis,ambala,pietermaritzburg,virginians,landform,bottlenecks,o'driscoll,darbhanga,baptistery,ameer,needlework,naperville,auditoriums,mullingar,starrer,animatronic,topsoil,madura,cannock,vernet,santurce,catocala,ozeki,pontevedra,multichannel,sundsvall,strategists,medio,135th,halil,afridi,trelawny,caloric,ghraib,allendale,hameed,ludwigshafen,spurned,pavlo,palmar,strafed,catamarca,aveiro,harmonization,surah,predictors,solvay,mande,omnipresent,parenthesis,echolocation,equaling,experimenters,acyclic,lithographic,sepoys,katarzyna,sridevi,impoundment,khosrow,caesarean,nacogdoches,rockdale,lawmaker,caucasians,bahman,miyan,rubric,exuberance,bombastic,ductile,snowdonia,inlays,pinyon,anemones,hurries,hospitallers,tayyip,pulleys,treme,photovoltaics,testbed,polonium,ryszard,osgoode,profiting,ironwork,unsurpassed,nepticulidae,makai,lumbini,preclassic,clarksburg,egremont,videography,rehabilitating,ponty,sardonic,geotechnical,khurasan,solzhenitsyn,henna,phoenicia,rhyolite,chateaux,retorted,tomar,deflections,repressions,harborough,renan,brumbies,vandross,storia,vodou,clerkenwell,decking,universo,salon.com,imprisoning,sudwest,ghaziabad,subscribing,pisgah,sukhumi,econometric,clearest,pindar,yildirim,iulia,atlases,cements,remaster,dugouts,collapsible,resurrecting,batik,unreliability,thiers,conjunctions,colophon,marcher,placeholder,flagella,wolds,kibaki,viviparous,twelver,screenshots,aroostook,khadr,iconographic,itasca,jaume,basti,propounded,varro,be'er,jeevan,exacted,shrublands,creditable,brocade,boras,bittern,oneonta,attentional,herzliya,comprehensible,lakeville,discards,caxias,frankland,camerata,satoru,matlab,commutator,interprovincial,yorkville,benefices,nizami,edwardsville,amigaos,cannabinoid,indianola,amateurliga,pernicious,ubiquity,anarchic,novelties,precondition,zardari,symington,sargodha,headphone,thermopylae,mashonaland,zindagi,thalberg,loewe,surfactants,dobro,crocodilians,samhita,diatoms,haileybury,berwickshire,supercritical,sofie,snorna,slatina,intramolecular,agung,osteoarthritis,obstetric,teochew,vakhtang,connemara,deformations,diadem,ferruccio,mainichi,qualitatively,refrigerant,rerecorded,methylated,karmapa,krasinski,restatement,rouvas,cubitt,seacoast,schwarzkopf,homonymous,shipowner,thiamine,approachable,xiahou,160th,ecumenism,polistes,internazionali,fouad,berar,biogeography,texting,inadequately,'when,4kids,hymenoptera,emplaced,cognomen,bellefonte,supplant,michaelmas,uriel,tafsir,morazan,schweinfurt,chorister,ps400,nscaa,petipa,resolutely,ouagadougou,mascarene,supercell,konstanz,bagrat,harmonix,bergson,shrimps,resonators,veneta,camas,mynydd,rumford,generalmajor,khayyam,web.com,pappus,halfdan,tanana,suomen,yutaka,bibliographical,traian,silat,noailles,contrapuntal,agaricus,'special,minibuses,1670s,obadiah,deepa,rorschach,malolos,lymington,valuations,imperials,caballeros,ambroise,judicature,elegiac,sedaka,shewa,checksum,gosforth,legionaries,corneille,microregion,friedrichshafen,antonis,surnamed,mycelium,cantus,educations,topmost,outfitting,ivica,nankai,gouda,anthemic,iosif,supercontinent,antifungal,belarusians,mudaliar,mohawks,caversham,glaciated,basemen,stevan,clonmel,loughton,deventer,positivist,manipuri,tensors,panipat,changeup,impermeable,dubbo,elfsborg,maritimo,regimens,bikram,bromeliad,substratum,norodom,gaultier,queanbeyan,pompeo,redacted,eurocopter,mothballed,centaurs,borno,copra,bemidji,'home,sopron,neuquen,passo,cineplex,alexandrov,wysokie,mammoths,yossi,sarcophagi,congreve,petkovic,extraneous,waterbirds,slurs,indias,phaeton,discontented,prefaced,abhay,prescot,interoperable,nordisk,bicyclists,validly,sejong,litovsk,zanesville,kapitanleutnant,kerch,changeable,mcclatchy,celebi,attesting,maccoll,sepahan,wayans,veined,gaudens,markt,dansk,soane,quantized,petersham,forebears,nayarit,frenzied,queuing,bygone,viggo,ludwik,tanka,hanssen,brythonic,cornhill,primorsky,stockpiles,conceptualization,lampeter,hinsdale,mesoderm,bielsk,rosenheim,ultron,joffrey,stanwyck,khagan,tiraspol,pavelic,ascendant,empoli,metatarsal,descentralizado,masada,ligier,huseyin,ramadi,waratah,tampines,ruthenium,statoil,mladost,liger,grecian,multiparty,digraph,maglev,reconsideration,radiography,cartilaginous,taizu,wintered,anabaptist,peterhouse,shoghi,assessors,numerator,paulet,painstakingly,halakhic,rocroi,motorcycling,gimel,kryptonian,emmeline,cheeked,drawdown,lelouch,dacians,brahmana,reminiscence,disinfection,optimizations,golders,extensor,tsugaru,tolling,liman,gulzar,unconvinced,crataegus,oppositional,dvina,pyrolysis,mandan,alexius,prion,stressors,loomed,moated,dhivehi,recyclable,relict,nestlings,sarandon,kosovar,solvers,czeslaw,kenta,maneuverable,middens,berkhamsted,comilla,folkways,loxton,beziers,batumi,petrochemicals,optimised,sirjan,rabindra,musicality,rationalisation,drillers,subspaces,'live,bbwaa,outfielders,tsung,danske,vandalised,norristown,striae,kanata,gastroenterology,steadfastly,equalising,bootlegging,mannerheim,notodontidae,lagoa,commentating,peninsulas,chishti,seismology,modigliani,preceptor,canonically,awardee,boyaca,hsinchu,stiffened,nacelle,bogor,dryness,unobstructed,yaqub,scindia,peeters,irritant,ammonites,ferromagnetic,speechwriter,oxygenated,walesa,millais,canarian,faience,calvinistic,discriminant,rasht,inker,annexes,howth,allocates,conditionally,roused,regionalism,regionalbahn,functionary,nitrates,bicentenary,recreates,saboteurs,koshi,plasmids,thinned,124th,plainview,kardashian,neuville,victorians,radiates,127th,vieques,schoolmates,petru,tokusatsu,keying,sunaina,flamethrower,'bout,demersal,hosokawa,corelli,omniscient,o'doherty,niksic,reflectivity,transdev,cavour,metronome,temporally,gabba,nsaids,geert,mayport,hematite,boeotia,vaudreuil,torshavn,sailplane,mineralogist,eskisehir,practises,gallifrey,takumi,unease,slipstream,hedmark,paulinus,ailsa,wielkopolska,filmworks,adamantly,vinaya,facelifted,franchisee,augustana,toppling,velvety,crispa,stonington,histological,genealogist,tactician,tebow,betjeman,nyingma,overwinter,oberoi,rampal,overwinters,petaluma,lactarius,stanmore,balikpapan,vasant,inclines,laminate,munshi,sociedade,rabbah,septal,boyband,ingrained,faltering,inhumans,nhtsa,affix,l'ordre,kazuki,rossendale,mysims,latvians,slaveholders,basilicata,neuburg,assize,manzanillo,scrobipalpa,formula_61,belgique,pterosaurs,privateering,vaasa,veria,northport,pressurised,hobbyist,austerlitz,sahih,bhadra,siliguri,bistrica,bursaries,wynton,corot,lepidus,lully,libor,libera,olusegun,choline,mannerism,lymphocyte,chagos,duxbury,parasitism,ecowas,morotai,cancion,coniston,aggrieved,sputnikmusic,parle,ammonian,civilisations,malformation,cattaraugus,skyhawks,d'arc,demerara,bronfman,midwinter,piscataway,jogaila,threonine,matins,kohlberg,hubli,pentatonic,camillus,nigam,potro,unchained,chauvel,orangeville,cistercians,redeployment,xanthi,manju,carabinieri,pakeha,nikolaevich,kantakouzenos,sesquicentennial,gunships,symbolised,teramo,ballo,crusading,l'oeil,bharatpur,lazier,gabrovo,hysteresis,rothbard,chaumont,roundel,ma'mun,sudhir,queried,newts,shimane,presynaptic,playfield,taxonomists,sensitivities,freleng,burkinabe,orfeo,autovia,proselytizing,bhangra,pasok,jujutsu,heung,pivoting,hominid,commending,formula_64,epworth,christianized,oresund,hantuchova,rajputana,hilversum,masoretic,dayak,bakri,assen,magog,macromolecules,waheed,qaida,spassky,rumped,protrudes,preminger,misogyny,glencairn,salafi,lacunae,grilles,racemes,areva,alighieri,inari,epitomized,photoshoot,one-of-a-kind,tring,muralist,tincture,backwaters,weaned,yeasts,analytically,smaland,caltrans,vysocina,jamuna,mauthausen,175th,nouvelles,censoring,reggina,christology,gilad,amplifying,mehmood,johnsons,redirects,eastgate,sacrum,meteoric,riverbanks,guidebooks,ascribes,scoparia,iconoclastic,telegraphic,chine,merah,mistico,lectern,sheung,aethelstan,capablanca,anant,uspto,albatrosses,mymensingh,antiretroviral,clonal,coorg,vaillant,liquidator,gigas,yokai,eradicating,motorcyclists,waitakere,tandon,nears,montenegrins,250th,tatsuya,yassin,atheistic,syncretism,nahum,berisha,transcended,owensboro,lakshmana,abteilung,unadorned,nyack,overflows,harrisonburg,complainant,uematsu,frictional,worsens,sangguniang,abutment,bulwer,sarma,apollinaire,shippers,lycia,alentejo,porpoises,optus,trawling,augustow,blackwall,workbench,westmount,leaped,sikandar,conveniences,stornoway,culverts,zoroastrians,hristo,ansgar,assistive,reassert,fanned,compasses,delgada,maisons,arima,plonsk,verlaine,starstruck,rakhine,befell,spirally,wyclef,expend,colloquium,formula_63,albertus,bellarmine,handedness,holon,introns,movimiento,profitably,lohengrin,discoverers,awash,erste,pharisees,dwarka,oghuz,hashing,heterodox,uloom,vladikavkaz,linesman,rehired,nucleophile,germanicus,gulshan,songz,bayerische,paralympian,crumlin,enjoined,khanum,prahran,penitent,amersfoort,saranac,semisimple,vagrants,compositing,tualatin,oxalate,lavra,ironi,ilkeston,umpqua,calum,stretford,zakat,guelders,hydrazine,birkin,spurring,modularity,aspartate,sodermanland,hopital,bellary,legazpi,clasico,cadfael,hypersonic,volleys,pharmacokinetics,carotene,orientale,pausini,bataille,lunga,retailed,m.phil,mazowieckie,vijayan,rawal,sublimation,promissory,estimators,ploughed,conflagration,penda,segregationist,otley,amputee,coauthor,sopra,pellew,wreckers,tollywood,circumscription,permittivity,strabane,landward,articulates,beaverbrook,rutherglen,coterminous,whistleblowers,colloidal,surbiton,atlante,oswiecim,bhasa,lampooned,chanter,saarc,landkreis,tribulation,tolerates,daiichi,hatun,cowries,dyschirius,abercromby,attock,aldwych,inflows,absolutist,l'histoire,committeeman,vanbrugh,headstock,westbourne,appenzell,hoxton,oculus,westfalen,roundabouts,nickelback,trovatore,quenching,summarises,conservators,transmutation,talleyrand,barzani,unwillingly,axonal,'blue,opining,enveloping,fidesz,rafah,colborne,flickr,lozenge,dulcimer,ndebele,swaraj,oxidize,gonville,resonated,gilani,superiore,endeared,janakpur,shepperton,solidifying,memoranda,sochaux,kurnool,rewari,emirs,kooning,bruford,unavailability,kayseri,judicious,negating,pterosaur,cytosolic,chernihiv,variational,sabretooth,seawolves,devalued,nanded,adverb,volunteerism,sealers,nemours,smederevo,kashubian,bartin,animax,vicomte,polotsk,polder,archiepiscopal,acceptability,quidditch,tussock,seminaire,immolation,belge,coves,wellingborough,khaganate,mckellen,nayaka,brega,kabhi,pontoons,bascule,newsreels,injectors,cobol,weblog,diplo,biggar,wheatbelt,erythrocytes,pedra,showgrounds,bogdanovich,eclecticism,toluene,elegies,formalize,andromedae,airworthiness,springville,mainframes,overexpression,magadha,bijelo,emlyn,glutamine,accenture,uhuru,metairie,arabidopsis,patanjali,peruvians,berezovsky,accion,astrolabe,jayanti,earnestly,sausalito,recurved,1500s,ramla,incineration,galleons,laplacian,shiki,smethwick,isomerase,dordevic,janow,jeffersonville,internationalism,penciled,styrene,ashur,nucleoside,peristome,horsemanship,sedges,bachata,medes,kristallnacht,schneerson,reflectance,invalided,strutt,draupadi,destino,partridges,tejas,quadrennial,aurel,halych,ethnomusicology,autonomist,radyo,rifting,shi'ar,crvena,telefilm,zawahiri,plana,sultanates,theodorus,subcontractors,pavle,seneschal,teleports,chernivtsi,buccal,brattleboro,stankovic,safar,dunhuang,electrocution,chastised,ergonomic,midsomer,130th,zomba,nongovernmental,escapist,localize,xuzhou,kyrie,carinthian,karlovac,nisan,kramnik,pilipino,digitisation,khasi,andronicus,highwayman,maior,misspelling,sebastopol,socon,rhaetian,archimandrite,partway,positivity,otaku,dingoes,tarski,geopolitics,disciplinarian,zulfikar,kenzo,globose,electrophilic,modele,storekeeper,pohang,wheldon,washers,interconnecting,digraphs,intrastate,campy,helvetic,frontispiece,ferrocarril,anambra,petraeus,midrib,endometrial,dwarfism,mauryan,endocytosis,brigs,percussionists,furtherance,synergistic,apocynaceae,krona,berthier,circumvented,casal,siltstone,precast,ethnikos,realists,geodesy,zarzuela,greenback,tripathi,persevered,interments,neutralization,olbermann,departements,supercomputing,demobilised,cassavetes,dunder,ministering,veszprem,barbarism,'world,pieve,apologist,frentzen,sulfides,firewalls,pronotum,staatsoper,hachette,makhachkala,oberland,phonon,yoshihiro,instars,purnima,winslet,mutsu,ergative,sajid,nizamuddin,paraphrased,ardeidae,kodagu,monooxygenase,skirmishers,sportiva,o'byrne,mykolaiv,ophir,prieta,gyllenhaal,kantian,leche,copan,herero,ps250,gelsenkirchen,shalit,sammarinese,chetwynd,wftda,travertine,warta,sigmaringen,concerti,namespace,ostergotland,biomarker,universals,collegio,embarcadero,wimborne,fiddlers,likening,ransomed,stifled,unabated,kalakaua,khanty,gongs,goodrem,countermeasure,publicizing,geomorphology,swedenborg,undefended,catastrophes,diverts,storyboards,amesbury,contactless,placentia,festivity,authorise,terrane,thallium,stradivarius,antonine,consortia,estimations,consecrate,supergiant,belichick,pendants,butyl,groza,univac,afire,kavala,studi,teletoon,paucity,gonbad,koninklijke,128th,stoichiometric,multimodal,facundo,anatomic,melamine,creuse,altan,brigands,mcguinty,blomfield,tsvangirai,protrusion,lurgan,warminster,tenzin,russellville,discursive,definable,scotrail,lignin,reincorporated,o'dell,outperform,redland,multicolored,evaporates,dimitrie,limbic,patapsco,interlingua,surrogacy,cutty,potrero,masud,cahiers,jintao,ardashir,centaurus,plagiarized,minehead,musings,statuettes,logarithms,seaview,prohibitively,downforce,rivington,tomorrowland,microbiologist,ferric,morag,capsid,kucinich,clairvaux,demotic,seamanship,cicada,painterly,cromarty,carbonic,tupou,oconee,tehuantepec,typecast,anstruther,internalized,underwriters,tetrahedra,flagrant,quakes,pathologies,ulrik,nahal,tarquini,dongguan,parnassus,ryoko,senussi,seleucia,airasia,einer,sashes,d'amico,matriculating,arabesque,honved,biophysical,hardinge,kherson,mommsen,diels,icbms,reshape,brasiliensis,palmach,netaji,oblate,functionalities,grigor,blacksburg,recoilless,melanchthon,reales,astrodome,handcrafted,memes,theorizes,isma'il,aarti,pirin,maatschappij,stabilizes,honiara,ashbury,copts,rootes,defensed,queiroz,mantegna,galesburg,coraciiformesfamily,cabrillo,tokio,antipsychotics,kanon,173rd,apollonia,finial,lydian,hadamard,rangi,dowlatabad,monolingual,platformer,subclasses,chiranjeevi,mirabeau,newsgroup,idmanyurdu,kambojas,walkover,zamoyski,generalist,khedive,flanges,knowle,bande,157th,alleyn,reaffirm,pininfarina,zuckerberg,hakodate,131st,aditi,bellinzona,vaulter,planking,boscombe,colombians,lysis,toppers,metered,nahyan,queensryche,minho,nagercoil,firebrand,foundress,bycatch,mendota,freeform,antena,capitalisation,martinus,overijssel,purists,interventionist,zgierz,burgundians,hippolyta,trompe,umatilla,moroccans,dictionnaire,hydrography,changers,chota,rimouski,aniline,bylaw,grandnephew,neamt,lemnos,connoisseurs,tractive,rearrangements,fetishism,finnic,apalachicola,landowning,calligraphic,circumpolar,mansfeld,legible,orientalism,tannhauser,blamey,maximization,noinclude,blackbirds,angara,ostersund,pancreatitis,glabra,acleris,juried,jungian,triumphantly,singlet,plasmas,synesthesia,yellowhead,unleashes,choiseul,quanzhong,brookville,kaskaskia,igcse,skatepark,jatin,jewellers,scaritinae,techcrunch,tellurium,lachaise,azuma,codeshare,dimensionality,unidirectional,scolaire,macdill,camshafts,unassisted,verband,kahlo,eliya,prelature,chiefdoms,saddleback,sockers,iommi,coloratura,llangollen,biosciences,harshest,maithili,k'iche,plical,multifunctional,andreu,tuskers,confounding,sambre,quarterdeck,ascetics,berdych,transversal,tuolumne,sagami,petrobras,brecker,menxia,instilling,stipulating,korra,oscillate,deadpan,v/line,pyrotechnic,stoneware,prelims,intracoastal,retraining,ilija,berwyn,encrypt,achievers,zulfiqar,glycoproteins,khatib,farmsteads,occultist,saman,fionn,derulo,khilji,obrenovic,argosy,toowong,dementieva,sociocultural,iconostasis,craigslist,festschrift,taifa,intercalated,tanjong,penticton,sharad,marxian,extrapolation,guises,wettin,prabang,exclaiming,kosta,famas,conakry,wanderings,'aliabad,macleay,exoplanet,bancorp,besiegers,surmounting,checkerboard,rajab,vliet,tarek,operable,wargaming,haldimand,fukuyama,uesugi,aggregations,erbil,brachiopods,tokyu,anglais,unfavorably,ujpest,escorial,armagnac,nagara,funafuti,ridgeline,cocking,o'gorman,compactness,retardant,krajowa,barua,coking,bestows,thampi,chicagoland,variably,o'loughlin,minnows,schwa,shaukat,polycarbonate,chlorinated,godalming,gramercy,delved,banqueting,enlil,sarada,prasanna,domhnall,decadal,regressive,lipoprotein,collectable,surendra,zaporizhia,cycliste,suchet,offsetting,formula_65,pudong,d'arte,blyton,quonset,osmania,tientsin,manorama,proteomics,bille,jalpaiguri,pertwee,barnegat,inventiveness,gollancz,euthanized,henricus,shortfalls,wuxia,chlorides,cerrado,polyvinyl,folktale,straddled,bioengineering,eschewing,greendale,recharged,olave,ceylonese,autocephalous,peacebuilding,wrights,guyed,rosamund,abitibi,bannockburn,gerontology,scutari,souness,seagram,codice_9,'open,xhtml,taguig,purposed,darbar,orthopedics,unpopulated,kisumu,tarrytown,feodor,polyhedral,monadnock,gottorp,priam,redesigning,gasworks,elfin,urquiza,homologation,filipovic,bohun,manningham,gornik,soundness,shorea,lanus,gelder,darke,sandgate,criticality,paranaense,153rd,vieja,lithograph,trapezoid,tiebreakers,convalescence,yan'an,actuaries,balad,altimeter,thermoelectric,trailblazer,previn,tenryu,ancaster,endoscopy,nicolet,discloses,fracking,plaine,salado,americanism,placards,absurdist,propylene,breccia,jirga,documenta,ismailis,161st,brentano,dallas/fort,embellishment,calipers,subscribes,mahavidyalaya,wednesbury,barnstormers,miwok,schembechler,minigame,unterberger,dopaminergic,inacio,nizamabad,overridden,monotype,cavernous,stichting,sassafras,sotho,argentinean,myrrh,rapidity,flatts,gowrie,dejected,kasaragod,cyprinidae,interlinked,arcseconds,degeneracy,infamously,incubate,substructure,trigeminal,sectarianism,marshlands,hooliganism,hurlers,isolationist,urania,burrard,switchover,lecco,wilts,interrogator,strived,ballooning,volterra,raciborz,relegating,gilding,cybele,dolomites,parachutist,lochaber,orators,raeburn,backend,benaud,rallycross,facings,banga,nuclides,defencemen,futurity,emitters,yadkin,eudonia,zambales,manasseh,sirte,meshes,peculiarly,mcminnville,roundly,boban,decrypt,icelanders,sanam,chelan,jovian,grudgingly,penalised,subscript,gambrinus,poaceae,infringements,maleficent,runciman,148th,supersymmetry,granites,liskeard,eliciting,involution,hallstatt,kitzbuhel,shankly,sandhills,inefficiencies,yishuv,psychotropic,nightjars,wavell,sangamon,vaikundar,choshu,retrospectives,pitesti,gigantea,hashemi,bosna,gakuin,siochana,arrangers,baronetcies,narayani,temecula,creston,koscierzyna,autochthonous,wyandot,anniston,igreja,mobilise,buzau,dunster,musselburgh,wenzhou,khattak,detoxification,decarboxylase,manlius,campbells,coleoptera,copyist,sympathisers,suisun,eminescu,defensor,transshipment,thurgau,somerton,fluctuates,ambika,weierstrass,lukow,giambattista,volcanics,romanticized,innovated,matabeleland,scotiabank,garwolin,purine,d'auvergne,borderland,maozhen,pricewaterhousecoopers,testator,pallium,scout.com,mv/pi,nazca,curacies,upjohn,sarasvati,monegasque,ketrzyn,malory,spikelets,biomechanics,haciendas,rapped,dwarfed,stews,nijinsky,subjection,matsu,perceptible,schwarzburg,midsection,entertains,circuitous,epiphytic,wonsan,alpini,bluefield,sloths,transportable,braunfels,dictum,szczecinek,jukka,wielun,wejherowo,hucknall,grameen,duodenum,ribose,deshpande,shahar,nexstar,injurious,dereham,lithographer,dhoni,structuralist,progreso,deschutes,christus,pulteney,quoins,yitzchak,gyeongsang,breviary,makkah,chiyoda,jutting,vineland,angiosperms,necrotic,novelisation,redistribute,tirumala,140th,featureless,mafic,rivaling,toyline,2/1st,martius,saalfeld,monthan,texian,kathak,melodramas,mithila,regierungsbezirk,509th,fermenting,schoolmate,virtuosic,briain,kokoda,heliocentric,handpicked,kilwinning,sonically,dinars,kasim,parkways,bogdanov,luxembourgian,halland,avesta,bardic,daugavpils,excavator,qwest,frustrate,physiographic,majoris,'ndrangheta,unrestrained,firmness,montalban,abundances,preservationists,adare,executioners,guardsman,bonnaroo,neglects,nazrul,pro12,hoorn,abercorn,refuting,kabud,cationic,parapsychology,troposphere,venezuelans,malignancy,khoja,unhindered,accordionist,medak,visby,ejercito,laparoscopic,dinas,umayyads,valmiki,o'dowd,saplings,stranding,incisions,illusionist,avocets,buccleuch,amazonia,fourfold,turboprops,roosts,priscus,turnstile,areal,certifies,pocklington,spoofs,viseu,commonalities,dabrowka,annam,homesteaders,daredevils,mondrian,negotiates,fiestas,perennials,maximizes,lubavitch,ravindra,scrapers,finials,kintyre,violas,snoqualmie,wilders,openbsd,mlawa,peritoneal,devarajan,congke,leszno,mercurial,fakir,joannes,bognor,overloading,unbuilt,gurung,scuttle,temperaments,bautzen,jardim,tradesman,visitations,barbet,sagamore,graaff,forecasters,wilsons,assis,l'air,shariah,sochaczew,russa,dirge,biliary,neuve,heartbreakers,strathearn,jacobian,overgrazing,edrich,anticline,parathyroid,petula,lepanto,decius,channelled,parvathi,puppeteers,communicators,francorchamps,kahane,longus,panjang,intron,traite,xxvii,matsuri,amrit,katyn,disheartened,cacak,omonia,alexandrine,partaking,wrangling,adjuvant,haskovo,tendrils,greensand,lammermoor,otherworld,volusia,stabling,one-and-a-half,bresson,zapatista,eotvos,ps150,webisodes,stepchildren,microarray,braganca,quanta,dolne,superoxide,bellona,delineate,ratha,lindenwood,bruhl,cingulate,tallies,bickerton,helgi,bevin,takoma,tsukuba,statuses,changeling,alister,bytom,dibrugarh,magnesia,duplicating,outlier,abated,goncalo,strelitz,shikai,mardan,musculature,ascomycota,springhill,tumuli,gabaa,odenwald,reformatted,autocracy,theresienstadt,suplex,chattopadhyay,mencken,congratulatory,weatherfield,systema,solemnity,projekt,quanzhou,kreuzberg,postbellum,nobuo,mediaworks,finisterre,matchplay,bangladeshis,kothen,oocyte,hovered,aromas,afshar,browed,teases,chorlton,arshad,cesaro,backbencher,iquique,vulcans,padmini,unabridged,cyclase,despotic,kirilenko,achaean,queensberry,debre,octahedron,iphigenia,curbing,karimnagar,sagarmatha,smelters,surrealists,sanada,shrestha,turridae,leasehold,jiedushi,eurythmics,appropriating,correze,thimphu,amery,musicomh,cyborgs,sandwell,pushcart,retorts,ameliorate,deteriorates,stojanovic,spline,entrenchments,bourse,chancellorship,pasolini,lendl,personage,reformulated,pubescens,loiret,metalurh,reinvention,nonhuman,eilema,tarsal,complutense,magne,broadview,metrodome,outtake,stouffville,seinen,bataillon,phosphoric,ostensible,opatow,aristides,beefheart,glorifying,banten,romsey,seamounts,fushimi,prophylaxis,sibylla,ranjith,goslar,balustrades,georgiev,caird,lafitte,peano,canso,bankura,halfpenny,segregate,caisson,bizerte,jamshedpur,euromaidan,philosophie,ridged,cheerfully,reclassification,aemilius,visionaries,samoans,wokingham,chemung,wolof,unbranched,cinerea,bhosle,ourense,immortalised,cornerstones,sourcebook,khufu,archimedean,universitatea,intermolecular,fiscally,suffices,metacomet,adjudicator,stablemate,specks,glace,inowroclaw,patristic,muharram,agitating,ashot,neurologic,didcot,gamla,ilves,putouts,siraj,laski,coaling,diarmuid,ratnagiri,rotulorum,liquefaction,morbihan,harel,aftershock,gruiformesfamily,bonnier,falconiformesfamily,adorns,wikis,maastrichtian,stauffenberg,bishopsgate,fakhr,sevenfold,ponders,quantifying,castiel,opacity,depredations,lenten,gravitated,o'mahony,modulates,inuktitut,paston,kayfabe,vagus,legalised,balked,arianism,tendering,sivas,birthdate,awlaki,khvajeh,shahab,samtgemeinde,bridgeton,amalgamations,biogenesis,recharging,tsukasa,mythbusters,chamfered,enthronement,freelancers,maharana,constantia,sutil,messines,monkton,okanogan,reinvigorated,apoplexy,tanahashi,neues,valiants,harappan,russes,carding,volkoff,funchal,statehouse,imitative,intrepidity,mellotron,samaras,turkana,besting,longitudes,exarch,diarrhoea,transcending,zvonareva,darna,ramblin,disconnection,137th,refocused,diarmait,agricole,ba'athist,turenne,contrabass,communis,daviess,fatimids,frosinone,fittingly,polyphyletic,qanat,theocratic,preclinical,abacha,toorak,marketplaces,conidia,seiya,contraindicated,retford,bundesautobahn,rebuilds,climatology,seaworthy,starfighter,qamar,categoria,malai,hellinsia,newstead,airworthy,catenin,avonmouth,arrhythmias,ayyavazhi,downgrade,ashburnham,ejector,kinematics,petworth,rspca,filmation,accipitridae,chhatrapati,g/mol,bacau,agama,ringtone,yudhoyono,orchestrator,arbitrators,138th,powerplants,cumbernauld,alderley,misamis,hawai`i,cuando,meistriliiga,jermyn,alans,pedigrees,ottavio,approbation,omnium,purulia,prioress,rheinland,lymphoid,lutsk,oscilloscope,ballina,iliac,motorbikes,modernising,uffizi,phylloxera,kalevala,bengalis,amravati,syntheses,interviewers,inflectional,outflank,maryhill,unhurt,profiler,nacelles,heseltine,personalised,guarda,herpetologist,airpark,pigot,margaretha,dinos,peleliu,breakbeat,kastamonu,shaivism,delamere,kingsville,epigram,khlong,phospholipids,journeying,lietuvos,congregated,deviance,celebes,subsoil,stroma,kvitova,lubricating,layoff,alagoas,olafur,doron,interuniversity,raycom,agonopterix,uzice,nanna,springvale,raimundo,wrested,pupal,talat,skinheads,vestige,unpainted,handan,odawara,ammar,attendee,lapped,myotis,gusty,ciconiiformesfamily,traversal,subfield,vitaphone,prensa,hasidism,inwood,carstairs,kropotkin,turgenev,dobra,remittance,purim,tannin,adige,tabulation,lethality,pacha,micronesian,dhruva,defensemen,tibeto,siculus,radioisotope,sodertalje,phitsanulok,euphonium,oxytocin,overhangs,skinks,fabrica,reinterred,emulates,bioscience,paragliding,raekwon,perigee,plausibility,frolunda,erroll,aznar,vyasa,albinus,trevally,confederacion,terse,sixtieth,1530s,kendriya,skateboarders,frontieres,muawiyah,easements,shehu,conservatively,keystones,kasem,brutalist,peekskill,cowry,orcas,syllabary,paltz,elisabetta,denticles,hampering,dolni,eidos,aarau,lermontov,yankton,shahbaz,barrages,kongsvinger,reestablishment,acetyltransferase,zulia,mrnas,slingsby,eucalypt,efficacious,weybridge,gradation,cinematheque,malthus,bampton,coexisted,cisse,hamdi,cupertino,saumarez,chionodes,libertine,formers,sakharov,pseudonymous,vol.1,mcduck,gopalakrishnan,amberley,jorhat,grandmasters,rudiments,dwindle,param,bukidnon,menander,americanus,multipliers,pulawy,homoerotic,pillbox,cd+dvd,epigraph,aleksandrow,extrapolated,horseshoes,contemporain,angiography,hasselt,shawinigan,memorization,legitimized,cyclades,outsold,rodolphe,kelis,powerball,dijkstra,analyzers,incompressible,sambar,orangeburg,osten,reauthorization,adamawa,sphagnum,hypermarket,millipedes,zoroaster,madea,ossuary,murrayfield,pronominal,gautham,resellers,ethers,quarrelled,dolna,stragglers,asami,tangut,passos,educacion,sharaf,texel,berio,bethpage,bezalel,marfa,noronha,36ers,genteel,avram,shilton,compensates,sweetener,reinstalled,disables,noether,1590s,balakrishnan,kotaro,northallerton,cataclysm,gholam,cancellara,schiphol,commends,longinus,albinism,gemayel,hamamatsu,volos,islamism,sidereal,pecuniary,diggings,townsquare,neosho,lushan,chittoor,akhil,disputation,desiccation,cambodians,thwarting,deliberated,ellipsis,bahini,susumu,separators,kohneh,plebeians,kultur,ogaden,pissarro,trypeta,latur,liaodong,vetting,datong,sohail,alchemists,lengthwise,unevenly,masterly,microcontrollers,occupier,deviating,farringdon,baccalaureat,theocracy,chebyshev,archivists,jayaram,ineffectiveness,scandinavians,jacobins,encomienda,nambu,g/cm3,catesby,paavo,heeded,rhodium,idealised,10deg,infective,mecyclothorax,halevy,sheared,minbari,audax,lusatian,rebuffs,hitfix,fastener,subjugate,tarun,binet,compuserve,synthesiser,keisuke,amalric,ligatures,tadashi,ignazio,abramovich,groundnut,otomo,maeve,mortlake,ostrogoths,antillean,todor,recto,millimetre,espousing,inaugurate,paracetamol,galvanic,harpalinae,jedrzejow,reassessment,langlands,civita,mikan,stikine,bijar,imamate,istana,kaiserliche,erastus,federale,cytosine,expansionism,hommes,norrland,smriti,snapdragon,gulab,taleb,lossy,khattab,urbanised,sesto,rekord,diffuser,desam,morganatic,silting,pacts,extender,beauharnais,purley,bouches,halfpipe,discontinuities,houthi,farmville,animism,horni,saadi,interpretative,blockades,symeon,biogeographic,transcaucasian,jetties,landrieu,astrocytes,conjunto,stumpings,weevils,geysers,redux,arching,romanus,tazeh,marcellinus,casein,opava,misrata,anare,sattar,declarer,dreux,oporto,venta,vallis,icosahedron,cortona,lachine,mohammedan,sandnes,zynga,clarin,diomedes,tsuyoshi,pribram,gulbarga,chartist,superettan,boscawen,altus,subang,gating,epistolary,vizianagaram,ogdensburg,panna,thyssen,tarkovsky,dzogchen,biograph,seremban,unscientific,nightjar,legco,deism,n.w.a,sudha,siskel,sassou,flintlock,jovial,montbeliard,pallida,formula_66,tranquillity,nisei,adornment,'people,yamhill,hockeyallsvenskan,adopters,appian,lowicz,haplotypes,succinctly,starogard,presidencies,kheyrabad,sobibor,kinesiology,cowichan,militum,cromwellian,leiningen,ps1.5,concourses,dalarna,goldfield,brzeg,faeces,aquarii,matchless,harvesters,181st,numismatics,korfball,sectioned,transpires,facultative,brandishing,kieron,forages,menai,glutinous,debarge,heathfield,1580s,malang,photoelectric,froome,semiotic,alwar,grammophon,chiaroscuro,mentalist,maramures,flacco,liquors,aleutians,marvell,sutlej,patnaik,qassam,flintoff,bayfield,haeckel,sueno,avicii,exoplanets,hoshi,annibale,vojislav,honeycombs,celebrant,rendsburg,veblen,quails,141st,carronades,savar,narrations,jeeva,ontologies,hedonistic,marinette,godot,munna,bessarabian,outrigger,thame,gravels,hoshino,falsifying,stereochemistry,nacionalista,medially,radula,ejecting,conservatorio,odile,ceiba,jaina,essonne,isometry,allophones,recidivism,iveco,ganda,grammarians,jagan,signposted,uncompressed,facilitators,constancy,ditko,propulsive,impaling,interbank,botolph,amlaib,intergroup,sorbus,cheka,debye,praca,adorning,presbyteries,dormition,strategos,qarase,pentecostals,beehives,hashemite,goldust,euronext,egress,arpanet,soames,jurchens,slovenska,copse,kazim,appraisals,marischal,mineola,sharada,caricaturist,sturluson,galba,faizabad,overwintering,grete,uyezds,didsbury,libreville,ablett,microstructure,anadolu,belenenses,elocution,cloaks,timeslots,halden,rashidun,displaces,sympatric,germanus,tuples,ceska,equalize,disassembly,krautrock,babangida,memel,deild,gopala,hematology,underclass,sangli,wawrinka,assur,toshack,refrains,nicotinic,bhagalpur,badami,racetracks,pocatello,walgreens,nazarbayev,occultation,spinnaker,geneon,josias,hydrolyzed,dzong,corregimiento,waistcoat,thermoplastic,soldered,anticancer,lactobacillus,shafi'i,carabus,adjournment,schlumberger,triceratops,despotate,mendicant,krishnamurti,bahasa,earthworm,lavoisier,noetherian,kalki,fervently,bhawan,saanich,coquille,gannet,motagua,kennels,mineralization,fitzherbert,svein,bifurcated,hairdressing,felis,abounded,dimers,fervour,hebdo,bluffton,aetna,corydon,clevedon,carneiro,subjectively,deutz,gastropoda,overshot,concatenation,varman,carolla,maharshi,mujib,inelastic,riverhead,initialized,safavids,rohini,caguas,bulges,fotbollforbund,hefei,spithead,westville,maronites,lytham,americo,gediminas,stephanus,chalcolithic,hijra,gnu/linux,predilection,rulership,sterility,haidar,scarlatti,saprissa,sviatoslav,pointedly,sunroof,guarantor,thevar,airstrips,pultusk,sture,129th,divinities,daizong,dolichoderus,cobourg,maoists,swordsmanship,uprated,bohme,tashi,largs,chandi,bluebeard,householders,richardsonian,drepanidae,antigonish,elbasan,occultism,marca,hypergeometric,oirat,stiglitz,ignites,dzungar,miquelon,pritam,d'automne,ulidiid,niamey,vallecano,fondo,billiton,incumbencies,raceme,chambery,cadell,barenaked,kagame,summerside,haussmann,hatshepsut,apothecaries,criollo,feint,nasals,timurid,feltham,plotinus,oxygenation,marginata,officinalis,salat,participations,ising,downe,izumo,unguided,pretence,coursed,haruna,viscountcy,mainstage,justicia,powiat,takara,capitoline,implacable,farben,stopford,cosmopterix,tuberous,kronecker,galatians,kweli,dogmas,exhorted,trebinje,skanda,newlyn,ablative,basidia,bhiwani,encroachments,stranglers,regrouping,tubal,shoestring,wawel,anionic,mesenchymal,creationists,pyrophosphate,moshi,despotism,powerbook,fatehpur,rupiah,segre,ternate,jessore,b.i.g,shevardnadze,abounds,gliwice,densest,memoria,suborbital,vietcong,ratepayers,karunanidhi,toolbar,descents,rhymney,exhortation,zahedan,carcinomas,hyperbaric,botvinnik,billets,neuropsychological,tigranes,hoards,chater,biennially,thistles,scotus,wataru,flotillas,hungama,monopolistic,payouts,vetch,generalissimo,caries,naumburg,piran,blizzards,escalates,reactant,shinya,theorize,rizzoli,transitway,ecclesiae,streptomyces,cantal,nisibis,superconductor,unworkable,thallus,roehampton,scheckter,viceroys,makuuchi,ilkley,superseding,takuya,klodzko,borbon,raspberries,operand,w.a.k.o,sarabande,factionalism,egalitarianism,temasek,torbat,unscripted,jorma,westerner,perfective,vrije,underlain,goldfrapp,blaenau,jomon,barthes,drivetime,bassa,bannock,umaga,fengxiang,zulus,sreenivasan,farces,codice_10,freeholder,poddebice,imperialists,deregulated,wingtip,o'hagan,pillared,overtone,hofstadter,149th,kitano,saybrook,standardizing,aldgate,staveley,o'flaherty,hundredths,steerable,soltan,empted,cruyff,intramuros,taluks,cotonou,marae,karur,figueres,barwon,lucullus,niobe,zemlya,lathes,homeported,chaux,amyotrophic,opines,exemplars,bhamo,homomorphisms,gauleiter,ladin,mafiosi,airdrieonians,b/soul,decal,transcaucasia,solti,defecation,deaconess,numidia,sampradaya,normalised,wingless,schwaben,alnus,cinerama,yakutsk,ketchikan,orvieto,unearned,monferrato,rotem,aacsb,loong,decoders,skerries,cardiothoracic,repositioning,pimpernel,yohannan,tenebrionoidea,nargis,nouvel,costliest,interdenominational,noize,redirecting,zither,morcha,radiometric,frequenting,irtysh,gbagbo,chakri,litvinenko,infotainment,ravensbruck,harith,corbels,maegashira,jousting,natan,novus,falcao,minis,railed,decile,rauma,ramaswamy,cavitation,paranaque,berchtesgaden,reanimated,schomberg,polysaccharides,exclusionary,cleon,anurag,ravaging,dhanush,mitchells,granule,contemptuous,keisei,rolleston,atlantean,yorkist,daraa,wapping,micrometer,keeneland,comparably,baranja,oranje,schlafli,yogic,dinajpur,unimpressive,masashi,recreativo,alemannic,petersfield,naoko,vasudeva,autosport,rajat,marella,busko,wethersfield,ssris,soulcalibur,kobani,wildland,rookery,hoffenheim,kauri,aliphatic,balaclava,ferrite,publicise,victorias,theism,quimper,chapbook,functionalist,roadbed,ulyanovsk,cupen,purpurea,calthorpe,teofilo,mousavi,cochlea,linotype,detmold,ellerslie,gakkai,telkom,southsea,subcontractor,inguinal,philatelists,zeebrugge,piave,trochidae,dempo,spoilt,saharanpur,mihrab,parasympathetic,barbarous,chartering,antiqua,katsina,bugis,categorizes,altstadt,kandyan,pambansa,overpasses,miters,assimilating,finlandia,uneconomic,am/fm,harpsichordist,dresdner,luminescence,authentically,overpowers,magmatic,cliftonville,oilfields,skirted,berthe,cuman,oakham,frelimo,glockenspiel,confection,saxophonists,piaseczno,multilevel,antipater,levying,maltreatment,velho,opoczno,harburg,pedophilia,unfunded,palettes,plasterwork,breve,dharmendra,auchinleck,nonesuch,blackmun,libretti,rabbani,145th,hasselbeck,kinnock,malate,vanden,cloverdale,ashgabat,nares,radians,steelworkers,sabor,possums,catterick,hemispheric,ostra,outpaced,dungeness,almshouse,penryn,texians,1000m,franchitti,incumbency,texcoco,newar,tramcars,toroidal,meitetsu,spellbound,agronomist,vinifera,riata,bunko,pinas,ba'al,github,vasilyevich,obsolescent,geodesics,ancestries,tujue,capitalised,unassigned,throng,unpaired,psychometric,skegness,exothermic,buffered,kristiansund,tongued,berenger,basho,alitalia,prolongation,archaeologically,fractionation,cyprinid,echinoderms,agriculturally,justiciar,sonam,ilium,baits,danceable,grazer,ardahan,grassed,preemption,glassworks,hasina,ugric,umbra,wahhabi,vannes,tinnitus,capitaine,tikrit,lisieux,scree,hormuz,despenser,jagiellon,maisonneuve,gandaki,santarem,basilicas,lancing,landskrona,weilburg,fireside,elysian,isleworth,krishnamurthy,filton,cynon,tecmo,subcostal,scalars,triglycerides,hyperplane,farmingdale,unione,meydan,pilings,mercosur,reactivate,akiba,fecundity,jatra,natsume,zarqawi,preta,masao,presbyter,oakenfold,rhodri,ferran,ruizong,cloyne,nelvana,epiphanius,borde,scutes,strictures,troughton,whitestone,sholom,toyah,shingon,kutuzov,abelard,passant,lipno,cafeterias,residuals,anabaptists,paratransit,criollos,pleven,radiata,destabilizing,hadiths,bazaars,mannose,taiyo,crookes,welbeck,baoding,archelaus,nguesso,alberni,wingtips,herts,viasat,lankans,evreux,wigram,fassbinder,ryuichi,storting,reducible,olesnica,znojmo,hyannis,theophanes,flatiron,mustering,rajahmundry,kadir,wayang,prome,lethargy,zubin,illegality,conall,dramedy,beerbohm,hipparchus,ziarat,ryuji,shugo,glenorchy,microarchitecture,morne,lewinsky,cauvery,battenberg,hyksos,wayanad,hamilcar,buhari,brazo,bratianu,solms,aksaray,elamite,chilcotin,bloodstock,sagara,dolny,reunified,umlaut,proteaceae,camborne,calabrian,dhanbad,vaxjo,cookware,potez,rediffusion,semitones,lamentations,allgau,guernica,suntory,pleated,stationing,urgell,gannets,bertelsmann,entryway,raphitomidae,acetaldehyde,nephrology,categorizing,beiyang,permeate,tourney,geosciences,khana,masayuki,crucis,universitaria,slaskie,khaimah,finno,advani,astonishingly,tubulin,vampiric,jeolla,sociale,cleethorpes,badri,muridae,suzong,debater,decimation,kenyans,mutualism,pontifex,middlemen,insee,halevi,lamentation,psychopathy,brassey,wenders,kavya,parabellum,prolactin,inescapable,apses,malignancies,rinzai,stigmatized,menahem,comox,ateliers,welshpool,setif,centimetre,truthfulness,downfield,drusus,woden,glycosylation,emanated,agulhas,dalkeith,jazira,nucky,unifil,jobim,operon,oryzomys,heroically,seances,supernumerary,backhouse,hashanah,tatler,imago,invert,hayato,clockmaker,kingsmill,swiecie,analogously,golconda,poste,tacitly,decentralised,ge'ez,diplomatically,fossiliferous,linseed,mahavira,pedestals,archpriest,byelection,domiciled,jeffersonian,bombus,winegrowing,waukegan,uncultivated,haverfordwest,saumur,communally,disbursed,cleeve,zeljeznicar,speciosa,vacationers,sigur,vaishali,zlatko,iftikhar,cropland,transkei,incompleteness,bohra,subantarctic,slieve,physiologic,similis,klerk,replanted,'right,chafee,reproducible,bayburt,regicide,muzaffarpur,plurals,hanyu,orthologs,diouf,assailed,kamui,tarik,dodecanese,gorne,on/off,179th,shimoga,granaries,carlists,valar,tripolitania,sherds,simmern,dissociated,isambard,polytechnical,yuvraj,brabazon,antisense,pubmed,glans,minutely,masaaki,raghavendra,savoury,podcasting,tachi,bienville,gongsun,ridgely,deform,yuichi,binders,canna,carcetti,llobregat,implored,berri,njegos,intermingled,offload,athenry,motherhouse,corpora,kakinada,dannebrog,imperio,prefaces,musicologists,aerospatiale,shirai,nagapattinam,servius,cristoforo,pomfret,reviled,entebbe,stane,east/west,thermometers,matriarchal,siglo,bodil,legionnaire,ze'ev,theorizing,sangeetha,horticulturist,uncountable,lookalike,anoxic,ionospheric,genealogists,chicopee,imprinting,popish,crematoria,diamondback,cyathea,hanzhong,cameramen,halogaland,naklo,waclaw,storehouses,flexed,comuni,frits,glauca,nilgiris,compresses,nainital,continuations,albay,hypoxic,samajwadi,dunkerque,nanticoke,sarwar,interchanged,jubal,corba,jalgaon,derleth,deathstroke,magny,vinnytsia,hyphenated,rimfire,sawan,boehner,disrepute,normalize,aromanian,dualistic,approximant,chama,karimabad,barnacles,sanok,stipends,dyfed,rijksmuseum,reverberation,suncorp,fungicides,reverie,spectrograph,stereophonic,niazi,ordos,alcan,karaite,lautrec,tableland,lamellar,rieti,langmuir,russula,webern,tweaks,hawick,southerner,morphy,naturalisation,enantiomer,michinoku,barbettes,relieves,carburettors,redruth,oblates,vocabularies,mogilev,bagmati,galium,reasserted,extolled,symon,eurosceptic,inflections,tirtha,recompense,oruro,roping,gouverneur,pared,yayoi,watermills,retooled,leukocytes,jubilant,mazhar,nicolau,manheim,touraine,bedser,hambledon,kohat,powerhouses,tlemcen,reuven,sympathetically,afrikaners,interes,handcrafts,etcher,baddeley,wodonga,amaury,155th,vulgarity,pompadour,automorphisms,1540s,oppositions,prekmurje,deryni,fortifying,arcuate,mahila,bocage,uther,nozze,slashes,atlantica,hadid,rhizomatous,azeris,'with,osmena,lewisville,innervated,bandmaster,outcropping,parallelogram,dominicana,twang,ingushetia,extensional,ladino,sastry,zinoviev,relatable,nobilis,cbeebies,hitless,eulima,sporangia,synge,longlisted,criminalized,penitential,weyden,tubule,volyn,priestesses,glenbrook,kibbutzim,windshaft,canadair,falange,zsolt,bonheur,meine,archangels,safeguarded,jamaicans,malarial,teasers,badging,merseyrail,operands,pulsars,gauchos,biotin,bambara,necaxa,egmond,tillage,coppi,anxiolytic,preah,mausoleums,plautus,feroz,debunked,187th,belediyespor,mujibur,wantage,carboxyl,chettiar,murnau,vagueness,racemic,backstretch,courtland,municipio,palpatine,dezful,hyperbola,sreekumar,chalons,altay,arapahoe,tudors,sapieha,quilon,burdensome,kanya,xxviii,recension,generis,siphuncle,repressor,bitrate,mandals,midhurst,dioxin,democratique,upholds,rodez,cinematographic,epoque,jinping,rabelais,zhytomyr,glenview,rebooted,khalidi,reticulata,122nd,monnaie,passersby,ghazals,europaea,lippmann,earthbound,tadic,andorran,artvin,angelicum,banksy,epicentre,resemblances,shuttled,rathaus,bernt,stonemasons,balochi,siang,tynemouth,cygni,biosynthetic,precipitates,sharecroppers,d'annunzio,softbank,shiji,apeldoorn,polycyclic,wenceslas,wuchang,samnites,tamarack,silmarillion,madinah,palaeontology,kirchberg,sculpin,rohtak,aquabats,oviparous,thynne,caney,blimps,minimalistic,whatcom,palatalization,bardstown,direct3d,paramagnetic,kamboja,khash,globemaster,lengua,matej,chernigov,swanage,arsenals,cascadia,cundinamarca,tusculum,leavers,organics,warplanes,'three,exertions,arminius,gandharva,inquires,comercio,kuopio,chabahar,plotlines,mersenne,anquetil,paralytic,buckminster,ambit,acrolophus,quantifiers,clacton,ciliary,ansaldo,fergana,egoism,thracians,chicoutimi,northbrook,analgesia,brotherhoods,hunza,adriaen,fluoridation,snowfalls,soundboard,fangoria,cannibalistic,orthogonius,chukotka,dindigul,manzoni,chainz,macromedia,beltline,muruga,schistura,provable,litex,initio,pneumoniae,infosys,cerium,boonton,cannonballs,d'une,solvency,mandurah,houthis,dolmens,apologists,radioisotopes,blaxploitation,poroshenko,stawell,coosa,maximilien,tempelhof,espouse,declaratory,hambro,xalapa,outmoded,mihiel,benefitting,desirous,archeparchy,repopulated,telescoping,captor,mackaye,disparaged,ramanathan,crowne,tumbled,technetium,silted,chedi,nievre,hyeon,cartoonish,interlock,infocom,rediff.com,dioramas,timekeeping,concertina,kutaisi,cesky,lubomirski,unapologetic,epigraphic,stalactites,sneha,biofilm,falconry,miraflores,catena,'outstanding,prospekt,apotheosis,o'odham,pacemakers,arabica,gandhinagar,reminisces,iroquoian,ornette,tilling,neoliberalism,chameleons,pandava,prefontaine,haiyan,gneisenau,utama,bando,reconstitution,azaria,canola,paratroops,ayckbourn,manistee,stourton,manifestos,lympne,denouement,tractatus,rakim,bellflower,nanometer,sassanids,turlough,presbyterianism,varmland,20deg,phool,nyerere,almohad,manipal,vlaanderen,quickness,removals,makow,circumflex,eatery,morane,fondazione,alkylation,unenforceable,galliano,silkworm,junior/senior,abducts,phlox,konskie,lofoten,buuren,glyphosate,faired,naturae,cobbles,taher,skrulls,dostoevsky,walkout,wagnerian,orbited,methodically,denzil,sarat,extraterritorial,kohima,d'armor,brinsley,rostropovich,fengtian,comitatus,aravind,moche,wrangell,giscard,vantaa,viljandi,hakoah,seabees,muscatine,ballade,camanachd,sothern,mullioned,durad,margraves,maven,arete,chandni,garifuna,142nd,reading/literature,thickest,intensifies,trygve,khaldun,perinatal,asana,powerline,acetylation,nureyev,omiya,montesquieu,riverwalk,marly,correlating,intermountain,bulgar,hammerheads,underscores,wiretapping,quatrain,ruisseau,newsagent,tuticorin,polygyny,hemsworth,partisanship,banna,istrian,evaporator".split(","),female_names:"mary,patricia,linda,barbara,elizabeth,jennifer,maria,susan,margaret,dorothy,lisa,nancy,karen,betty,helen,sandra,donna,carol,ruth,sharon,michelle,laura,sarah,kimberly,deborah,jessica,shirley,cynthia,angela,melissa,brenda,amy,anna,rebecca,virginia,kathleen,pamela,martha,debra,amanda,stephanie,carolyn,christine,marie,janet,catherine,frances,ann,joyce,diane,alice,julie,heather,teresa,doris,gloria,evelyn,jean,cheryl,mildred,katherine,joan,ashley,judith,rose,janice,kelly,nicole,judy,christina,kathy,theresa,beverly,denise,tammy,irene,jane,lori,rachel,marilyn,andrea,kathryn,louise,sara,anne,jacqueline,wanda,bonnie,julia,ruby,lois,tina,phyllis,norma,paula,diana,annie,lillian,emily,robin,peggy,crystal,gladys,rita,dawn,connie,florence,tracy,edna,tiffany,carmen,rosa,cindy,grace,wendy,victoria,edith,kim,sherry,sylvia,josephine,thelma,shannon,sheila,ethel,ellen,elaine,marjorie,carrie,charlotte,monica,esther,pauline,emma,juanita,anita,rhonda,hazel,amber,eva,debbie,april,leslie,clara,lucille,jamie,joanne,eleanor,valerie,danielle,megan,alicia,suzanne,michele,gail,bertha,darlene,veronica,jill,erin,geraldine,lauren,cathy,joann,lorraine,lynn,sally,regina,erica,beatrice,dolores,bernice,audrey,yvonne,annette,marion,dana,stacy,ana,renee,ida,vivian,roberta,holly,brittany,melanie,loretta,yolanda,jeanette,laurie,katie,kristen,vanessa,alma,sue,elsie,beth,jeanne,vicki,carla,tara,rosemary,eileen,terri,gertrude,lucy,tonya,ella,stacey,wilma,gina,kristin,jessie,natalie,agnes,vera,charlene,bessie,delores,melinda,pearl,arlene,maureen,colleen,allison,tamara,joy,georgia,constance,lillie,claudia,jackie,marcia,tanya,nellie,minnie,marlene,heidi,glenda,lydia,viola,courtney,marian,stella,caroline,dora,vickie,mattie,maxine,irma,mabel,marsha,myrtle,lena,christy,deanna,patsy,hilda,gwendolyn,jennie,nora,margie,nina,cassandra,leah,penny,kay,priscilla,naomi,carole,olga,billie,dianne,tracey,leona,jenny,felicia,sonia,miriam,velma,becky,bobbie,violet,kristina,toni,misty,mae,shelly,daisy,ramona,sherri,erika,katrina,claire,lindsey,lindsay,geneva,guadalupe,belinda,margarita,sheryl,cora,faye,ada,sabrina,isabel,marguerite,hattie,harriet,molly,cecilia,kristi,brandi,blanche,sandy,rosie,joanna,iris,eunice,angie,inez,lynda,madeline,amelia,alberta,genevieve,monique,jodi,janie,kayla,sonya,jan,kristine,candace,fannie,maryann,opal,alison,yvette,melody,luz,susie,olivia,flora,shelley,kristy,mamie,lula,lola,verna,beulah,antoinette,candice,juana,jeannette,pam,kelli,whitney,bridget,karla,celia,latoya,patty,shelia,gayle,della,vicky,lynne,sheri,marianne,kara,jacquelyn,erma,blanca,myra,leticia,pat,krista,roxanne,angelica,robyn,adrienne,rosalie,alexandra,brooke,bethany,sadie,bernadette,traci,jody,kendra,nichole,rachael,mable,ernestine,muriel,marcella,elena,krystal,angelina,nadine,kari,estelle,dianna,paulette,lora,mona,doreen,rosemarie,desiree,antonia,janis,betsy,christie,freda,meredith,lynette,teri,cristina,eula,leigh,meghan,sophia,eloise,rochelle,gretchen,cecelia,raquel,henrietta,alyssa,jana,gwen,jenna,tricia,laverne,olive,tasha,silvia,elvira,delia,kate,patti,lorena,kellie,sonja,lila,lana,darla,mindy,essie,mandy,lorene,elsa,josefina,jeannie,miranda,dixie,lucia,marta,faith,lela,johanna,shari,camille,tami,shawna,elisa,ebony,melba,ora,nettie,tabitha,ollie,winifred,kristie,alisha,aimee,rena,myrna,marla,tammie,latasha,bonita,patrice,ronda,sherrie,addie,francine,deloris,stacie,adriana,cheri,abigail,celeste,jewel,cara,adele,rebekah,lucinda,dorthy,effie,trina,reba,sallie,aurora,lenora,etta,lottie,kerri,trisha,nikki,estella,francisca,josie,tracie,marissa,karin,brittney,janelle,lourdes,laurel,helene,fern,elva,corinne,kelsey,ina,bettie,elisabeth,aida,caitlin,ingrid,iva,eugenia,christa,goldie,maude,jenifer,therese,dena,lorna,janette,latonya,candy,consuelo,tamika,rosetta,debora,cherie,polly,dina,jewell,fay,jillian,dorothea,nell,trudy,esperanza,patrica,kimberley,shanna,helena,cleo,stefanie,rosario,ola,janine,mollie,lupe,alisa,lou,maribel,susanne,bette,susana,elise,cecile,isabelle,lesley,jocelyn,paige,joni,rachelle,leola,daphne,alta,ester,petra,graciela,imogene,jolene,keisha,lacey,glenna,gabriela,keri,ursula,lizzie,kirsten,shana,adeline,mayra,jayne,jaclyn,gracie,sondra,carmela,marisa,rosalind,charity,tonia,beatriz,marisol,clarice,jeanine,sheena,angeline,frieda,lily,shauna,millie,claudette,cathleen,angelia,gabrielle,autumn,katharine,jodie,staci,lea,christi,justine,elma,luella,margret,dominique,socorro,martina,margo,mavis,callie,bobbi,maritza,lucile,leanne,jeannine,deana,aileen,lorie,ladonna,willa,manuela,gale,selma,dolly,sybil,abby,ivy,dee,winnie,marcy,luisa,jeri,magdalena,ofelia,meagan,audra,matilda,leila,cornelia,bianca,simone,bettye,randi,virgie,latisha,barbra,georgina,eliza,leann,bridgette,rhoda,haley,adela,nola,bernadine,flossie,ila,greta,ruthie,nelda,minerva,lilly,terrie,letha,hilary,estela,valarie,brianna,rosalyn,earline,catalina,ava,mia,clarissa,lidia,corrine,alexandria,concepcion,tia,sharron,rae,dona,ericka,jami,elnora,chandra,lenore,neva,marylou,melisa,tabatha,serena,avis,allie,sofia,jeanie,odessa,nannie,harriett,loraine,penelope,milagros,emilia,benita,allyson,ashlee,tania,esmeralda,eve,pearlie,zelma,malinda,noreen,tameka,saundra,hillary,amie,althea,rosalinda,lilia,alana,clare,alejandra,elinor,lorrie,jerri,darcy,earnestine,carmella,noemi,marcie,liza,annabelle,louisa,earlene,mallory,carlene,nita,selena,tanisha,katy,julianne,lakisha,edwina,maricela,margery,kenya,dollie,roxie,roslyn,kathrine,nanette,charmaine,lavonne,ilene,tammi,suzette,corine,kaye,chrystal,lina,deanne,lilian,juliana,aline,luann,kasey,maryanne,evangeline,colette,melva,lawanda,yesenia,nadia,madge,kathie,ophelia,valeria,nona,mitzi,mari,georgette,claudine,fran,alissa,roseann,lakeisha,susanna,reva,deidre,chasity,sheree,elvia,alyce,deirdre,gena,briana,araceli,katelyn,rosanne,wendi,tessa,berta,marva,imelda,marietta,marci,leonor,arline,sasha,madelyn,janna,juliette,deena,aurelia,josefa,augusta,liliana,lessie,amalia,savannah,anastasia,vilma,natalia,rosella,lynnette,corina,alfreda,leanna,amparo,coleen,tamra,aisha,wilda,karyn,maura,mai,evangelina,rosanna,hallie,erna,enid,mariana,lacy,juliet,jacklyn,freida,madeleine,mara,cathryn,lelia,casandra,bridgett,angelita,jannie,dionne,annmarie,katina,beryl,millicent,katheryn,diann,carissa,maryellen,liz,lauri,helga,gilda,rhea,marquita,hollie,tisha,tamera,angelique,francesca,kaitlin,lolita,florine,rowena,reyna,twila,fanny,janell,ines,concetta,bertie,alba,brigitte,alyson,vonda,pansy,elba,noelle,letitia,deann,brandie,louella,leta,felecia,sharlene,lesa,beverley,isabella,herminia,terra,celina,tori,octavia,jade,denice,germaine,michell,cortney,nelly,doretha,deidra,monika,lashonda,judi,chelsey,antionette,margot,adelaide,leeann,elisha,dessie,libby,kathi,gayla,latanya,mina,mellisa,kimberlee,jasmin,renae,zelda,elda,justina,gussie,emilie,camilla,abbie,rocio,kaitlyn,edythe,ashleigh,selina,lakesha,geri,allene,pamala,michaela,dayna,caryn,rosalia,jacquline,rebeca,marybeth,krystle,iola,dottie,belle,griselda,ernestina,elida,adrianne,demetria,delma,jaqueline,arleen,virgina,retha,fatima,tillie,eleanore,cari,treva,wilhelmina,rosalee,maurine,latrice,jena,taryn,elia,debby,maudie,jeanna,delilah,catrina,shonda,hortencia,theodora,teresita,robbin,danette,delphine,brianne,nilda,danna,cindi,bess,iona,winona,vida,rosita,marianna,racheal,guillermina,eloisa,celestine,caren,malissa,lona,chantel,shellie,marisela,leora,agatha,soledad,migdalia,ivette,christen,athena,janel,veda,pattie,tessie,tera,marilynn,lucretia,karrie,dinah,daniela,alecia,adelina,vernice,shiela,portia,merry,lashawn,dara,tawana,verda,alene,zella,sandi,rafaela,maya,kira,candida,alvina,suzan,shayla,lettie,samatha,oralia,matilde,larissa,vesta,renita,delois,shanda,phillis,lorri,erlinda,cathrine,barb,isabell,ione,gisela,roxanna,mayme,kisha,ellie,mellissa,dorris,dalia,bella,annetta,zoila,reta,reina,lauretta,kylie,christal,pilar,charla,elissa,tiffani,tana,paulina,leota,breanna,jayme,carmel,vernell,tomasa,mandi,dominga,santa,melodie,lura,alexa,tamela,mirna,kerrie,venus,felicita,cristy,carmelita,berniece,annemarie,tiara,roseanne,missy,cori,roxana,pricilla,kristal,jung,elyse,haydee,aletha,bettina,marge,gillian,filomena,zenaida,harriette,caridad,vada,aretha,pearline,marjory,marcela,flor,evette,elouise,alina,damaris,catharine,belva,nakia,marlena,luanne,lorine,karon,dorene,danita,brenna,tatiana,louann,julianna,andria,philomena,lucila,leonora,dovie,romona,mimi,jacquelin,gaye,tonja,misti,chastity,stacia,roxann,micaela,velda,marlys,johnna,aura,ivonne,hayley,nicki,majorie,herlinda,yadira,perla,gregoria,antonette,shelli,mozelle,mariah,joelle,cordelia,josette,chiquita,trista,laquita,georgiana,candi,shanon,hildegard,stephany,magda,karol,gabriella,tiana,roma,richelle,oleta,jacque,idella,alaina,suzanna,jovita,tosha,nereida,marlyn,kyla,delfina,tena,stephenie,sabina,nathalie,marcelle,gertie,darleen,thea,sharonda,shantel,belen,venessa,rosalina,genoveva,clementine,rosalba,renate,renata,georgianna,floy,dorcas,ariana,tyra,theda,mariam,juli,jesica,vikki,verla,roselyn,melvina,jannette,ginny,debrah,corrie,violeta,myrtis,latricia,collette,charleen,anissa,viviana,twyla,nedra,latonia,hellen,fabiola,annamarie,adell,sharyn,chantal,niki,maud,lizette,lindy,kesha,jeana,danelle,charline,chanel,valorie,dortha,cristal,sunny,leone,leilani,gerri,debi,andra,keshia,eulalia,easter,dulce,natividad,linnie,kami,georgie,catina,brook,alda,winnifred,sharla,ruthann,meaghan,magdalene,lissette,adelaida,venita,trena,shirlene,shameka,elizebeth,dian,shanta,latosha,carlotta,windy,rosina,mariann,leisa,jonnie,dawna,cathie,astrid,laureen,janeen,holli,fawn,vickey,teressa,shante,rubye,marcelina,chanda,terese,scarlett,marnie,lulu,lisette,jeniffer,elenor,dorinda,donita,carman,bernita,altagracia,aleta,adrianna,zoraida,lyndsey,janina,starla,phylis,phuong,kyra,charisse,blanch,sanjuanita,rona,nanci,marilee,maranda,brigette,sanjuana,marita,kassandra,joycelyn,felipa,chelsie,bonny,mireya,lorenza,kyong,ileana,candelaria,sherie,lucie,leatrice,lakeshia,gerda,edie,bambi,marylin,lavon,hortense,garnet,evie,tressa,shayna,lavina,kyung,jeanetta,sherrill,shara,phyliss,mittie,anabel,alesia,thuy,tawanda,joanie,tiffanie,lashanda,karissa,enriqueta,daria,daniella,corinna,alanna,abbey,roxane,roseanna,magnolia,lida,joellen,coral,carleen,tresa,peggie,novella,nila,maybelle,jenelle,carina,nova,melina,marquerite,margarette,josephina,evonne,cinthia,albina,toya,tawnya,sherita,myriam,lizabeth,lise,keely,jenni,giselle,cheryle,ardith,ardis,alesha,adriane,shaina,linnea,karolyn,felisha,dori,darci,artie,armida,zola,xiomara,vergie,shamika,nena,nannette,maxie,lovie,jeane,jaimie,inge,farrah,elaina,caitlyn,felicitas,cherly,caryl,yolonda,yasmin,teena,prudence,pennie,nydia,mackenzie,orpha,marvel,lizbeth,laurette,jerrie,hermelinda,carolee,tierra,mirian,meta,melony,kori,jennette,jamila,yoshiko,susannah,salina,rhiannon,joleen,cristine,ashton,aracely,tomeka,shalonda,marti,lacie,kala,jada,ilse,hailey,brittani,zona,syble,sherryl,nidia,marlo,kandice,kandi,alycia,ronna,norene,mercy,ingeborg,giovanna,gemma,christel,audry,zora,vita,trish,stephaine,shirlee,shanika,melonie,mazie,jazmin,inga,hettie,geralyn,fonda,estrella,adella,sarita,rina,milissa,maribeth,golda,evon,ethelyn,enedina,cherise,chana,velva,tawanna,sade,mirta,karie,jacinta,elna,davina,cierra,ashlie,albertha,tanesha,nelle,mindi,lorinda,larue,florene,demetra,dedra,ciara,chantelle,ashly,suzy,rosalva,noelia,lyda,leatha,krystyna,kristan,karri,darline,darcie,cinda,cherrie,awilda,almeda,rolanda,lanette,jerilyn,gisele,evalyn,cyndi,cleta,carin,zina,zena,velia,tanika,charissa,talia,margarete,lavonda,kaylee,kathlene,jonna,irena,ilona,idalia,candis,candance,brandee,anitra,alida,sigrid,nicolette,maryjo,linette,hedwig,christiana,alexia,tressie,modesta,lupita,lita,gladis,evelia,davida,cherri,cecily,ashely,annabel,agustina,wanita,shirly,rosaura,hulda,yetta,verona,thomasina,sibyl,shannan,mechelle,leandra,lani,kylee,kandy,jolynn,ferne,eboni,corene,alysia,zula,nada,moira,lyndsay,lorretta,jammie,hortensia,gaynell,adria,vina,vicenta,tangela,stephine,norine,nella,liana,leslee,kimberely,iliana,glory,felica,emogene,elfriede,eden,eartha,carma,ocie,lennie,kiara,jacalyn,carlota,arielle,otilia,kirstin,kacey,johnetta,joetta,jeraldine,jaunita,elana,dorthea,cami,amada,adelia,vernita,tamar,siobhan,renea,rashida,ouida,nilsa,meryl,kristyn,julieta,danica,breanne,aurea,anglea,sherron,odette,malia,lorelei,leesa,kenna,kathlyn,fiona,charlette,suzie,shantell,sabra,racquel,myong,mira,martine,lucienne,lavada,juliann,elvera,delphia,christiane,charolette,carri,asha,angella,paola,ninfa,leda,stefani,shanell,palma,machelle,lissa,kecia,kathryne,karlene,julissa,jettie,jenniffer,corrina,carolann,alena,rosaria,myrtice,marylee,liane,kenyatta,judie,janey,elmira,eldora,denna,cristi,cathi,zaida,vonnie,viva,vernie,rosaline,mariela,luciana,lesli,karan,felice,deneen,adina,wynona,tarsha,sheron,shanita,shani,shandra,randa,pinkie,nelida,marilou,lyla,laurene,laci,janene,dorotha,daniele,dani,carolynn,carlyn,berenice,ayesha,anneliese,alethea,thersa,tamiko,rufina,oliva,mozell,marylyn,kristian,kathyrn,kasandra,kandace,janae,domenica,debbra,dannielle,chun,arcelia,zenobia,sharen,sharee,lavinia,kacie,jackeline,huong,felisa,emelia,eleanora,cythia,cristin,claribel,anastacia,zulma,zandra,yoko,tenisha,susann,sherilyn,shay,shawanda,romana,mathilda,linsey,keiko,joana,isela,gretta,georgetta,eugenie,desirae,delora,corazon,antonina,anika,willene,tracee,tamatha,nichelle,mickie,maegan,luana,lanita,kelsie,edelmira,bree,afton,teodora,tamie,shena,linh,keli,kaci,danyelle,arlette,albertine,adelle,tiffiny,simona,nicolasa,nichol,nakisha,maira,loreen,kizzy,fallon,christene,bobbye,ying,vincenza,tanja,rubie,roni,queenie,margarett,kimberli,irmgard,idell,hilma,evelina,esta,emilee,dennise,dania,carie,risa,rikki,particia,masako,luvenia,loree,loni,lien,gigi,florencia,denita,billye,tomika,sharita,rana,nikole,neoma,margarite,madalyn,lucina,laila,kali,jenette,gabriele,evelyne,elenora,clementina,alejandrina,zulema,violette,vannessa,thresa,retta,patience,noella,nickie,jonell,chaya,camelia,bethel,anya,suzann,mila,lilla,laverna,keesha,kattie,georgene,eveline,estell,elizbeth,vivienne,vallie,trudie,stephane,magaly,madie,kenyetta,karren,janetta,hermine,drucilla,debbi,celestina,candie,britni,beckie,amina,zita,yolande,vivien,vernetta,trudi,pearle,patrina,ossie,nicolle,loyce,letty,katharina,joselyn,jonelle,jenell,iesha,heide,florinda,florentina,elodia,dorine,brunilda,brigid,ashli,ardella,twana,tarah,shavon,serina,rayna,ramonita,margurite,lucrecia,kourtney,kati,jesenia,crista,ayana,alica,alia,vinnie,suellen,romelia,rachell,olympia,michiko,kathaleen,jolie,jessi,janessa,hana,elease,carletta,britany,shona,salome,rosamond,regena,raina,ngoc,nelia,louvenia,lesia,latrina,laticia,larhonda,jina,jacki,emmy,deeann,coretta,arnetta,thalia,shanice,neta,mikki,micki,lonna,leana,lashunda,kiley,joye,jacqulyn,ignacia,hyun,hiroko,henriette,elayne,delinda,dahlia,coreen,consuela,conchita,babette,ayanna,anette,albertina,shawnee,shaneka,quiana,pamelia,merri,merlene,margit,kiesha,kiera,kaylene,jodee,jenise,erlene,emmie,dalila,daisey,casie,belia,babara,versie,vanesa,shelba,shawnda,nikia,naoma,marna,margeret,madaline,lawana,kindra,jutta,jazmine,janett,hannelore,glendora,gertrud,garnett,freeda,frederica,florance,flavia,carline,beverlee,anjanette,valda,tamala,shonna,sarina,oneida,merilyn,marleen,lurline,lenna,katherin,jeni,gracia,glady,farah,enola,dominque,devona,delana,cecila,caprice,alysha,alethia,vena,theresia,tawny,shakira,samara,sachiko,rachele,pamella,marni,mariel,maren,malisa,ligia,lera,latoria,larae,kimber,kathern,karey,jennefer,janeth,halina,fredia,delisa,debroah,ciera,angelika,andree,altha,vivan,terresa,tanna,sudie,signe,salena,ronni,rebbecca,myrtie,malika,maida,leonarda,kayleigh,ethyl,ellyn,dayle,cammie,brittni,birgit,avelina,asuncion,arianna,akiko,venice,tyesha,tonie,tiesha,takisha,steffanie,sindy,meghann,manda,macie,kellye,kellee,joslyn,inger,indira,glinda,glennis,fernanda,faustina,eneida,elicia,digna,dell,arletta,willia,tammara,tabetha,sherrell,sari,rebbeca,pauletta,natosha,nakita,mammie,kenisha,kazuko,kassie,earlean,daphine,corliss,clotilde,carolyne,bernetta,augustina,audrea,annis,annabell,tennille,tamica,selene,rosana,regenia,qiana,markita,macy,leeanne,laurine,jessenia,janita,georgine,genie,emiko,elvie,deandra,dagmar,corie,collen,cherish,romaine,porsha,pearlene,micheline,merna,margorie,margaretta,lore,jenine,hermina,fredericka,elke,drusilla,dorathy,dione,celena,brigida,allegra,tamekia,synthia,sook,slyvia,rosann,reatha,raye,marquetta,margart,ling,layla,kymberly,kiana,kayleen,katlyn,karmen,joella,emelda,eleni,detra,clemmie,cheryll,chantell,cathey,arnita,arla,angle,angelic,alyse,zofia,thomasine,tennie,sherly,sherley,sharyl,remedios,petrina,nickole,myung,myrle,mozella,louanne,lisha,latia,krysta,julienne,jeanene,jacqualine,isaura,gwenda,earleen,cleopatra,carlie,audie,antonietta,alise,verdell,tomoko,thao,talisha,shemika,savanna,santina,rosia,raeann,odilia,nana,minna,magan,lynelle,karma,joeann,ivana,inell,ilana,gudrun,dreama,crissy,chante,carmelina,arvilla,annamae,alvera,aleida,yanira,vanda,tianna,stefania,shira,nicol,nancie,monserrate,melynda,melany,lovella,laure,kacy,jacquelynn,hyon,gertha,eliana,christena,christeen,charise,caterina,carley,candyce,arlena,ammie,willette,vanita,tuyet,syreeta,penney,nyla,maryam,marya,magen,ludie,loma,livia,lanell,kimberlie,julee,donetta,diedra,denisha,deane,dawne,clarine,cherryl,bronwyn,alla,valery,tonda,sueann,soraya,shoshana,shela,sharleen,shanelle,nerissa,meridith,mellie,maye,maple,magaret,lili,leonila,leonie,leeanna,lavonia,lavera,kristel,kathey,kathe,jann,ilda,hildred,hildegarde,genia,fumiko,evelin,ermelinda,elly,dung,doloris,dionna,danae,berneice,annice,alix,verena,verdie,shawnna,shawana,shaunna,rozella,randee,ranae,milagro,lynell,luise,loida,lisbeth,karleen,junita,jona,isis,hyacinth,hedy,gwenn,ethelene,erline,donya,domonique,delicia,dannette,cicely,branda,blythe,bethann,ashlyn,annalee,alline,yuko,vella,trang,towanda,tesha,sherlyn,narcisa,miguelina,meri,maybell,marlana,marguerita,madlyn,lory,loriann,leonore,leighann,laurice,latesha,laronda,katrice,kasie,kaley,jadwiga,glennie,gearldine,francina,epifania,dyan,dorie,diedre,denese,demetrice,delena,cristie,cleora,catarina,carisa,barbera,almeta,trula,tereasa,solange,sheilah,shavonne,sanora,rochell,mathilde,margareta,maia,lynsey,lawanna,launa,kena,keena,katia,glynda,gaylene,elvina,elanor,danuta,danika,cristen,cordie,coletta,clarita,carmon,brynn,azucena,aundrea,angele,verlie,verlene,tamesha,silvana,sebrina,samira,reda,raylene,penni,norah,noma,mireille,melissia,maryalice,laraine,kimbery,karyl,karine,jolanda,johana,jesusa,jaleesa,jacquelyne,iluminada,hilaria,hanh,gennie,francie,floretta,exie,edda,drema,delpha,barbar,assunta,ardell,annalisa,alisia,yukiko,yolando,wonda,waltraud,veta,temeka,tameika,shirleen,shenita,piedad,ozella,mirtha,marilu,kimiko,juliane,jenice,janay,jacquiline,hilde,elois,echo,devorah,chau,brinda,betsey,arminda,aracelis,apryl,annett,alishia,veola,usha,toshiko,theola,tashia,talitha,shery,renetta,reiko,rasheeda,obdulia,mika,melaine,meggan,marlen,marget,marceline,mana,magdalen,librada,lezlie,latashia,lasandra,kelle,isidra,inocencia,gwyn,francoise,erminia,erinn,dimple,devora,criselda,armanda,arie,ariane,angelena,aliza,adriene,adaline,xochitl,twanna,tomiko,tamisha,taisha,susy,rutha,rhona,noriko,natashia,merrie,marinda,mariko,margert,loris,lizzette,leisha,kaila,joannie,jerrica,jene,jannet,janee,jacinda,herta,elenore,doretta,delaine,daniell,claudie,britta,apolonia,amberly,alease,yuri,waneta,tomi,sharri,sandie,roselle,reynalda,raguel,phylicia,patria,olimpia,odelia,mitzie,minda,mignon,mica,mendy,marivel,maile,lynetta,lavette,lauryn,latrisha,lakiesha,kiersten,kary,josphine,jolyn,jetta,janise,jacquie,ivelisse,glynis,gianna,gaynelle,danyell,danille,dacia,coralee,cher,ceola,arianne,aleshia,yung,williemae,trinh,thora,sherika,shemeka,shaunda,roseline,ricki,melda,mallie,lavonna,latina,laquanda,lala,lachelle,klara,kandis,johna,jeanmarie,jaye,grayce,gertude,emerita,ebonie,clorinda,ching,chery,carola,breann,blossom,bernardine,becki,arletha,argelia,alita,yulanda,yessenia,tobi,tasia,sylvie,shirl,shirely,shella,shantelle,sacha,rebecka,providencia,paulene,misha,miki,marline,marica,lorita,latoyia,lasonya,kerstin,kenda,keitha,kathrin,jaymie,gricelda,ginette,eryn,elina,elfrieda,danyel,cheree,chanelle,barrie,aurore,annamaria,alleen,ailene,aide,yasmine,vashti,treasa,tiffaney,sheryll,sharie,shanae,raisa,neda,mitsuko,mirella,milda,maryanna,maragret,mabelle,luetta,lorina,letisha,latarsha,lanelle,lajuana,krissy,karly,karena,jessika,jerica,jeanelle,jalisa,jacelyn,izola,euna,etha,domitila,dominica,daina,creola,carli,camie,brittny,ashanti,anisha,aleen,adah,yasuko,valrie,tona,tinisha,terisa,taneka,simonne,shalanda,serita,ressie,refugia,olene,margherita,mandie,maire,lyndia,luci,lorriane,loreta,leonia,lavona,lashawnda,lakia,kyoko,krystina,krysten,kenia,kelsi,jeanice,isobel,georgiann,genny,felicidad,eilene,deloise,deedee,conception,clora,cherilyn,calandra,armandina,anisa,tiera,theressa,stephania,sima,shyla,shonta,shera,shaquita,shala,rossana,nohemi,nery,moriah,melita,melida,melani,marylynn,marisha,mariette,malorie,madelene,ludivina,loria,lorette,loralee,lianne,lavenia,laurinda,lashon,kimi,keila,katelynn,jone,joane,jayna,janella,hertha,francene,elinore,despina,delsie,deedra,clemencia,carolin,bulah,brittanie,blondell,bibi,beaulah,beata,annita,agripina,virgen,valene,twanda,tommye,tarra,tari,tammera,shakia,sadye,ruthanne,rochel,rivka,pura,nenita,natisha,ming,merrilee,melodee,marvis,lucilla,leena,laveta,larita,lanie,keren,ileen,georgeann,genna,frida,eufemia,emely,edyth,deonna,deadra,darlena,chanell,cathern,cassondra,cassaundra,bernarda,berna,arlinda,anamaria,vertie,valeri,torri,stasia,sherise,sherill,sanda,ruthe,rosy,robbi,ranee,quyen,pearly,palmira,onita,nisha,niesha,nida,merlyn,mayola,marylouise,marth,margene,madelaine,londa,leontine,leoma,leia,lauralee,lanora,lakita,kiyoko,keturah,katelin,kareen,jonie,johnette,jenee,jeanett,izetta,hiedi,heike,hassie,giuseppina,georgann,fidela,fernande,elwanda,ellamae,eliz,dusti,dotty,cyndy,coralie,celesta,alverta,xenia,wava,vanetta,torrie,tashina,tandy,tambra,tama,stepanie,shila,shaunta,sharan,shaniqua,shae,setsuko,serafina,sandee,rosamaria,priscila,olinda,nadene,muoi,michelina,mercedez,maryrose,marcene,magali,mafalda,lannie,kayce,karoline,kamilah,kamala,justa,joline,jennine,jacquetta,iraida,georgeanna,franchesca,emeline,elane,ehtel,earlie,dulcie,dalene,classie,chere,charis,caroyln,carmina,carita,bethanie,ayako,arica,alysa,alessandra,akilah,adrien,zetta,youlanda,yelena,yahaira,xuan,wendolyn,tijuana,terina,teresia,suzi,sherell,shavonda,shaunte,sharda,shakita,sena,ryann,rubi,riva,reginia,rachal,parthenia,pamula,monnie,monet,michaele,melia,malka,maisha,lisandra,lekisha,lean,lakendra,krystin,kortney,kizzie,kittie,kera,kendal,kemberly,kanisha,julene,jule,johanne,jamee,halley,gidget,fredricka,fleta,fatimah,eusebia,elza,eleonore,dorthey,doria,donella,dinorah,delorse,claretha,christinia,charlyn,bong,belkis,azzie,andera,aiko,adena,yajaira,vania,ulrike,toshia,tifany,stefany,shizue,shenika,shawanna,sharolyn,sharilyn,shaquana,shantay,rozanne,roselee,remona,reanna,raelene,phung,petronila,natacha,nancey,myrl,miyoko,miesha,merideth,marvella,marquitta,marhta,marchelle,lizeth,libbie,lahoma,ladawn,kina,katheleen,katharyn,karisa,kaleigh,junie,julieann,johnsie,janean,jaimee,jackqueline,hisako,herma,helaine,gwyneth,gita,eustolia,emelina,elin,edris,donnette,donnetta,dierdre,denae,darcel,clarisa,cinderella,chia,charlesetta,charita,celsa,cassy,cassi,carlee,bruna,brittaney,brande,billi,antonetta,angla,angelyn,analisa,alane,wenona,wendie,veronique,vannesa,tobie,tempie,sumiko,sulema,somer,sheba,sharice,shanel,shalon,rosio,roselia,renay,rema,reena,ozie,oretha,oralee,ngan,nakesha,milly,marybelle,margrett,maragaret,manie,lurlene,lillia,lieselotte,lavelle,lashaunda,lakeesha,kaycee,kalyn,joya,joette,jenae,janiece,illa,grisel,glayds,genevie,gala,fredda,eleonor,debera,deandrea,corrinne,cordia,contessa,colene,cleotilde,chantay,cecille,beatris,azalee,arlean,ardath,anjelica,anja,alfredia,aleisha,zada,yuonne,xiao,willodean,vennie,vanna,tyisha,tova,torie,tonisha,tilda,tien,sirena,sherril,shanti,shan,senaida,samella,robbyn,renda,reita,phebe,paulita,nobuko,nguyet,neomi,mikaela,melania,maximina,marg,maisie,lynna,lilli,lashaun,lakenya,lael,kirstie,kathline,kasha,karlyn,karima,jovan,josefine,jennell,jacqui,jackelyn,hien,grazyna,florrie,floria,eleonora,dwana,dorla,delmy,deja,dede,dann,crysta,clelia,claris,chieko,cherlyn,cherelle,charmain,chara,cammy,arnette,ardelle,annika,amiee,amee,allena,yvone,yuki,yoshie,yevette,yael,willetta,voncile,venetta,tula,tonette,timika,temika,telma,teisha,taren,stacee,shawnta,saturnina,ricarda,pasty,onie,nubia,marielle,mariella,marianela,mardell,luanna,loise,lisabeth,lindsy,lilliana,lilliam,lelah,leigha,leanora,kristeen,khalilah,keeley,kandra,junko,joaquina,jerlene,jani,jamika,hsiu,hermila,genevive,evia,eugena,emmaline,elfreda,elene,donette,delcie,deeanna,darcey,clarinda,cira,chae,celinda,catheryn,casimira,carmelia,camellia,breana,bobette,bernardina,bebe,basilia,arlyne,amal,alayna,zonia,zenia,yuriko,yaeko,wynell,willena,vernia,tora,terrilyn,terica,tenesha,tawna,tajuana,taina,stephnie,sona,sina,shondra,shizuko,sherlene,sherice,sharika,rossie,rosena,rima,rheba,renna,natalya,nancee,melodi,meda,matha,marketta,maricruz,marcelene,malvina,luba,louetta,leida,lecia,lauran,lashawna,laine,khadijah,katerine,kasi,kallie,julietta,jesusita,jestine,jessia,jeffie,janyce,isadora,georgianne,fidelia,evita,eura,eulah,estefana,elsy,eladia,dodie,denisse,deloras,delila,daysi,crystle,concha,claretta,charlsie,charlena,carylon,bettyann,asley,ashlea,amira,agueda,agnus,yuette,vinita,victorina,tynisha,treena,toccara,tish,thomasena,tegan,soila,shenna,sharmaine,shantae,shandi,saran,sarai,sana,rosette,rolande,regine,otelia,olevia,nicholle,necole,naida,myrta,myesha,mitsue,minta,mertie,margy,mahalia,madalene,loura,lorean,lesha,leonida,lenita,lavone,lashell,lashandra,lamonica,kimbra,katherina,karry,kanesha,jong,jeneva,jaquelyn,gilma,ghislaine,gertrudis,fransisca,fermina,ettie,etsuko,ellan,elidia,edra,dorethea,doreatha,denyse,deetta,daine,cyrstal,corrin,cayla,carlita,camila,burma,bula,buena,barabara,avril,alaine,zana,wilhemina,wanetta,verline,vasiliki,tonita,tisa,teofila,tayna,taunya,tandra,takako,sunni,suanne,sixta,sharell,seema,rosenda,robena,raymonde,pamila,ozell,neida,mistie,micha,merissa,maurita,maryln,maryetta,marcell,malena,makeda,lovetta,lourie,lorrine,lorilee,laurena,lashay,larraine,laree,lacresha,kristle,keva,keira,karole,joie,jinny,jeannetta,jama,heidy,gilberte,gema,faviola,evelynn,enda,elli,ellena,divina,dagny,collene,codi,cindie,chassidy,chasidy,catrice,catherina,cassey,caroll,carlena,candra,calista,bryanna,britteny,beula,bari,audrie,audria,ardelia,annelle,angila,alona,allyn".split(","),surnames:"smith,johnson,williams,jones,brown,davis,miller,wilson,moore,taylor,anderson,jackson,white,harris,martin,thompson,garcia,martinez,robinson,clark,rodriguez,lewis,lee,walker,hall,allen,young,hernandez,king,wright,lopez,hill,green,adams,baker,gonzalez,nelson,carter,mitchell,perez,roberts,turner,phillips,campbell,parker,evans,edwards,collins,stewart,sanchez,morris,rogers,reed,cook,morgan,bell,murphy,bailey,rivera,cooper,richardson,cox,howard,ward,torres,peterson,gray,ramirez,watson,brooks,sanders,price,bennett,wood,barnes,ross,henderson,coleman,jenkins,perry,powell,long,patterson,hughes,flores,washington,butler,simmons,foster,gonzales,bryant,alexander,griffin,diaz,hayes,myers,ford,hamilton,graham,sullivan,wallace,woods,cole,west,owens,reynolds,fisher,ellis,harrison,gibson,mcdonald,cruz,marshall,ortiz,gomez,murray,freeman,wells,webb,simpson,stevens,tucker,porter,hicks,crawford,boyd,mason,morales,kennedy,warren,dixon,ramos,reyes,burns,gordon,shaw,holmes,rice,robertson,hunt,black,daniels,palmer,mills,nichols,grant,knight,ferguson,stone,hawkins,dunn,perkins,hudson,spencer,gardner,stephens,payne,pierce,berry,matthews,arnold,wagner,willis,watkins,olson,carroll,duncan,snyder,hart,cunningham,lane,andrews,ruiz,harper,fox,riley,armstrong,carpenter,weaver,greene,elliott,chavez,sims,peters,kelley,franklin,lawson,fields,gutierrez,schmidt,carr,vasquez,castillo,wheeler,chapman,montgomery,richards,williamson,johnston,banks,meyer,bishop,mccoy,howell,alvarez,morrison,hansen,fernandez,garza,harvey,burton,nguyen,jacobs,reid,fuller,lynch,garrett,romero,welch,larson,frazier,burke,hanson,mendoza,moreno,bowman,medina,fowler,brewer,hoffman,carlson,silva,pearson,holland,fleming,jensen,vargas,byrd,davidson,hopkins,herrera,wade,soto,walters,neal,caldwell,lowe,jennings,barnett,graves,jimenez,horton,shelton,barrett,obrien,castro,sutton,mckinney,lucas,miles,rodriquez,chambers,holt,lambert,fletcher,watts,bates,hale,rhodes,pena,beck,newman,haynes,mcdaniel,mendez,bush,vaughn,parks,dawson,santiago,norris,hardy,steele,curry,powers,schultz,barker,guzman,page,munoz,ball,keller,chandler,weber,walsh,lyons,ramsey,wolfe,schneider,mullins,benson,sharp,bowen,barber,cummings,hines,baldwin,griffith,valdez,hubbard,salazar,reeves,warner,stevenson,burgess,santos,tate,cross,garner,mann,mack,moss,thornton,mcgee,farmer,delgado,aguilar,vega,glover,manning,cohen,harmon,rodgers,robbins,newton,blair,higgins,ingram,reese,cannon,strickland,townsend,potter,goodwin,walton,rowe,hampton,ortega,patton,swanson,goodman,maldonado,yates,becker,erickson,hodges,rios,conner,adkins,webster,malone,hammond,flowers,cobb,moody,quinn,pope,osborne,mccarthy,guerrero,estrada,sandoval,gibbs,gross,fitzgerald,stokes,doyle,saunders,wise,colon,gill,alvarado,greer,padilla,waters,nunez,ballard,schwartz,mcbride,houston,christensen,klein,pratt,briggs,parsons,mclaughlin,zimmerman,buchanan,moran,copeland,pittman,brady,mccormick,holloway,brock,poole,logan,bass,marsh,drake,wong,jefferson,morton,abbott,sparks,norton,huff,massey,figueroa,carson,bowers,roberson,barton,tran,lamb,harrington,boone,cortez,clarke,mathis,singleton,wilkins,cain,underwood,hogan,mckenzie,collier,luna,phelps,mcguire,bridges,wilkerson,nash,summers,atkins,wilcox,pitts,conley,marquez,burnett,cochran,chase,davenport,hood,gates,ayala,sawyer,vazquez,dickerson,hodge,acosta,flynn,espinoza,nicholson,monroe,wolf,morrow,whitaker,oconnor,skinner,ware,molina,kirby,huffman,gilmore,dominguez,oneal,lang,combs,kramer,hancock,gallagher,gaines,shaffer,wiggins,mathews,mcclain,fischer,wall,melton,hensley,bond,dyer,grimes,contreras,wyatt,baxter,snow,mosley,shepherd,larsen,hoover,beasley,petersen,whitehead,meyers,garrison,shields,horn,savage,olsen,schroeder,hartman,woodard,mueller,kemp,deleon,booth,patel,calhoun,wiley,eaton,cline,navarro,harrell,humphrey,parrish,duran,hutchinson,hess,dorsey,bullock,robles,beard,dalton,avila,rich,blackwell,johns,blankenship,trevino,salinas,campos,pruitt,callahan,montoya,hardin,guerra,mcdowell,stafford,gallegos,henson,wilkinson,booker,merritt,atkinson,orr,decker,hobbs,tanner,knox,pacheco,stephenson,glass,rojas,serrano,marks,hickman,sweeney,strong,mcclure,conway,roth,maynard,farrell,lowery,hurst,nixon,weiss,trujillo,ellison,sloan,juarez,winters,mclean,boyer,villarreal,mccall,gentry,carrillo,ayers,lara,sexton,pace,hull,leblanc,browning,velasquez,leach,chang,sellers,herring,noble,foley,bartlett,mercado,landry,durham,walls,barr,mckee,bauer,rivers,bradshaw,pugh,velez,rush,estes,dodson,morse,sheppard,weeks,camacho,bean,barron,livingston,middleton,spears,branch,blevins,chen,kerr,mcconnell,hatfield,harding,solis,frost,giles,blackburn,pennington,woodward,finley,mcintosh,koch,mccullough,blanchard,rivas,brennan,mejia,kane,benton,buckley,valentine,maddox,russo,mcknight,buck,moon,mcmillan,crosby,berg,dotson,mays,roach,chan,richmond,meadows,faulkner,oneill,knapp,kline,ochoa,jacobson,gay,hendricks,horne,shepard,hebert,cardenas,mcintyre,waller,holman,donaldson,cantu,morin,gillespie,fuentes,tillman,bentley,peck,key,salas,rollins,gamble,dickson,santana,cabrera,cervantes,howe,hinton,hurley,spence,zamora,yang,mcneil,suarez,petty,gould,mcfarland,sampson,carver,bray,macdonald,stout,hester,melendez,dillon,farley,hopper,galloway,potts,joyner,stein,aguirre,osborn,mercer,bender,franco,rowland,sykes,pickett,sears,mayo,dunlap,hayden,wilder,mckay,coffey,mccarty,ewing,cooley,vaughan,bonner,cotton,holder,stark,ferrell,cantrell,fulton,lott,calderon,pollard,hooper,burch,mullen,fry,riddle,levy,duke,odonnell,britt,daugherty,berger,dillard,alston,frye,riggs,chaney,odom,duffy,fitzpatrick,valenzuela,mayer,alford,mcpherson,acevedo,barrera,cote,reilly,compton,mooney,mcgowan,craft,clemons,wynn,nielsen,baird,stanton,snider,rosales,bright,witt,hays,holden,rutledge,kinney,clements,castaneda,slater,hahn,burks,delaney,pate,lancaster,sharpe,whitfield,talley,macias,burris,ratliff,mccray,madden,kaufman,beach,goff,cash,bolton,mcfadden,levine,byers,kirkland,kidd,workman,carney,mcleod,holcomb,finch,sosa,haney,franks,sargent,nieves,downs,rasmussen,bird,hewitt,foreman,valencia,oneil,delacruz,vinson,dejesus,hyde,forbes,gilliam,guthrie,wooten,huber,barlow,boyle,mcmahon,buckner,rocha,puckett,langley,knowles,cooke,velazquez,whitley,vang,shea,rouse,hartley,mayfield,elder,rankin,hanna,cowan,lucero,arroyo,slaughter,haas,oconnell,minor,boucher,archer,boggs,dougherty,andersen,newell,crowe,wang,friedman,bland,swain,holley,pearce,childs,yarbrough,galvan,proctor,meeks,lozano,mora,rangel,bacon,villanueva,schaefer,rosado,helms,boyce,goss,stinson,ibarra,hutchins,covington,crowley,hatcher,mackey,bunch,womack,polk,dodd,childress,childers,villa,springer,mahoney,dailey,belcher,lockhart,griggs,costa,brandt,walden,moser,tatum,mccann,akers,lutz,pryor,orozco,mcallister,lugo,davies,shoemaker,rutherford,newsome,magee,chamberlain,blanton,simms,godfrey,flanagan,crum,cordova,escobar,downing,sinclair,donahue,krueger,mcginnis,gore,farris,webber,corbett,andrade,starr,lyon,yoder,hastings,mcgrath,spivey,krause,harden,crabtree,kirkpatrick,arrington,ritter,mcghee,bolden,maloney,gagnon,dunbar,ponce,pike,mayes,beatty,mobley,kimball,butts,montes,eldridge,braun,hamm,gibbons,moyer,manley,herron,plummer,elmore,cramer,rucker,pierson,fontenot,rubio,goldstein,elkins,wills,novak,hickey,worley,gorman,katz,dickinson,broussard,woodruff,crow,britton,nance,lehman,bingham,zuniga,whaley,shafer,coffman,steward,delarosa,neely,mata,davila,mccabe,kessler,hinkle,welsh,pagan,goldberg,goins,crouch,cuevas,quinones,mcdermott,hendrickson,samuels,denton,bergeron,ivey,locke,haines,snell,hoskins,byrne,arias,corbin,beltran,chappell,downey,dooley,tuttle,couch,payton,mcelroy,crockett,groves,cartwright,dickey,mcgill,dubois,muniz,tolbert,dempsey,cisneros,sewell,latham,vigil,tapia,rainey,norwood,stroud,meade,tipton,kuhn,hilliard,bonilla,teague,gunn,greenwood,correa,reece,pineda,phipps,frey,kaiser,ames,gunter,schmitt,milligan,espinosa,bowden,vickers,lowry,pritchard,costello,piper,mcclellan,lovell,sheehan,hatch,dobson,singh,jeffries,hollingsworth,sorensen,meza,fink,donnelly,burrell,tomlinson,colbert,billings,ritchie,helton,sutherland,peoples,mcqueen,thomason,givens,crocker,vogel,robison,dunham,coker,swartz,keys,ladner,richter,hargrove,edmonds,brantley,albright,murdock,boswell,muller,quintero,padgett,kenney,daly,connolly,inman,quintana,lund,barnard,villegas,simons,huggins,tidwell,sanderson,bullard,mcclendon,duarte,draper,marrero,dwyer,abrams,stover,goode,fraser,crews,bernal,godwin,conklin,mcneal,baca,esparza,crowder,bower,brewster,mcneill,rodrigues,leal,coates,raines,mccain,mccord,miner,holbrook,swift,dukes,carlisle,aldridge,ackerman,starks,ricks,holliday,ferris,hairston,sheffield,lange,fountain,doss,betts,kaplan,carmichael,bloom,ruffin,penn,kern,bowles,sizemore,larkin,dupree,seals,metcalf,hutchison,henley,farr,mccauley,hankins,gustafson,curran,waddell,ramey,cates,pollock,cummins,messer,heller,funk,cornett,palacios,galindo,cano,hathaway,pham,enriquez,salgado,pelletier,painter,wiseman,blount,feliciano,houser,doherty,mead,mcgraw,swan,capps,blanco,blackmon,thomson,mcmanus,burkett,gleason,dickens,cormier,voss,rushing,rosenberg,hurd,dumas,benitez,arellano,marin,caudill,bragg,jaramillo,huerta,gipson,colvin,biggs,vela,platt,cassidy,tompkins,mccollum,dolan,daley,crump,sneed,kilgore,grove,grimm,davison,brunson,prater,marcum,devine,dodge,stratton,rosas,choi,tripp,ledbetter,hightower,feldman,epps,yeager,posey,scruggs,cope,stubbs,richey,overton,trotter,sprague,cordero,butcher,stiles,burgos,woodson,horner,bassett,purcell,haskins,akins,ziegler,spaulding,hadley,grubbs,sumner,murillo,zavala,shook,lockwood,driscoll,dahl,thorpe,redmond,putnam,mcwilliams,mcrae,romano,joiner,sadler,hedrick,hager,hagen,fitch,coulter,thacker,mansfield,langston,guidry,ferreira,corley,conn,rossi,lackey,baez,saenz,mcnamara,mcmullen,mckenna,mcdonough,link,engel,browne,roper,peacock,eubanks,drummond,stringer,pritchett,parham,mims,landers,grayson,schafer,egan,timmons,ohara,keen,hamlin,finn,cortes,mcnair,nadeau,moseley,michaud,rosen,oakes,kurtz,jeffers,calloway,beal,bautista,winn,suggs,stern,stapleton,lyles,laird,montano,dawkins,hagan,goldman,bryson,barajas,lovett,segura,metz,lockett,langford,hinson,eastman,hooks,smallwood,shapiro,crowell,whalen,triplett,chatman,aldrich,cahill,youngblood,ybarra,stallings,sheets,reeder,connelly,bateman,abernathy,winkler,wilkes,masters,hackett,granger,gillis,schmitz,sapp,napier,souza,lanier,gomes,weir,otero,ledford,burroughs,babcock,ventura,siegel,dugan,bledsoe,atwood,wray,varner,spangler,anaya,staley,kraft,fournier,belanger,wolff,thorne,bynum,burnette,boykin,swenson,purvis,pina,khan,duvall,darby,xiong,kauffman,healy,engle,benoit,valle,steiner,spicer,shaver,randle,lundy,chin,calvert,staton,neff,kearney,darden,oakley,medeiros,mccracken,crenshaw,perdue,dill,whittaker,tobin,washburn,hogue,goodrich,easley,bravo,dennison,shipley,kerns,jorgensen,crain,villalobos,maurer,longoria,keene,coon,witherspoon,staples,pettit,kincaid,eason,madrid,echols,lusk,stahl,currie,thayer,shultz,mcnally,seay,maher,gagne,barrow,nava,moreland,honeycutt,hearn,diggs,caron,whitten,westbrook,stovall,ragland,munson,meier,looney,kimble,jolly,hobson,goddard,culver,burr,presley,negron,connell,tovar,huddleston,ashby,salter,root,pendleton,oleary,nickerson,myrick,judd,jacobsen,bain,adair,starnes,matos,busby,herndon,hanley,bellamy,doty,bartley,yazzie,rowell,parson,gifford,cullen,christiansen,benavides,barnhart,talbot,mock,crandall,connors,bonds,whitt,gage,bergman,arredondo,addison,lujan,dowdy,jernigan,huynh,bouchard,dutton,rhoades,ouellette,kiser,herrington,hare,blackman,babb,allred,rudd,paulson,ogden,koenig,geiger,begay,parra,lassiter,hawk,esposito,waldron,ransom,prather,chacon,vick,sands,roark,parr,mayberry,greenberg,coley,bruner,whitman,skaggs,shipman,leary,hutton,romo,medrano,ladd,kruse,askew,schulz,alfaro,tabor,mohr,gallo,bermudez,pereira,bliss,reaves,flint,comer,woodall,naquin,guevara,delong,carrier,pickens,tilley,schaffer,knutson,fenton,doran,vogt,vann,prescott,mclain,landis,corcoran,zapata,hyatt,hemphill,faulk,dove,boudreaux,aragon,whitlock,trejo,tackett,shearer,saldana,hanks,mckinnon,koehler,bourgeois,keyes,goodson,foote,lunsford,goldsmith,flood,winslow,sams,reagan,mccloud,hough,esquivel,naylor,loomis,coronado,ludwig,braswell,bearden,huang,fagan,ezell,edmondson,cronin,nunn,lemon,guillory,grier,dubose,traylor,ryder,dobbins,coyle,aponte,whitmore,smalls,rowan,malloy,cardona,braxton,borden,humphries,carrasco,ruff,metzger,huntley,hinojosa,finney,madsen,ernst,dozier,burkhart,bowser,peralta,daigle,whittington,sorenson,saucedo,roche,redding,fugate,avalos,waite,lind,huston,hawthorne,hamby,boyles,boles,regan,faust,crook,beam,barger,hinds,gallardo,willoughby,willingham,eckert,busch,zepeda,worthington,tinsley,hoff,hawley,carmona,varela,rector,newcomb,kinsey,dube,whatley,ragsdale,bernstein,becerra,yost,mattson,felder,cheek,handy,grossman,gauthier,escobedo,braden,beckman,mott,hillman,flaherty,dykes,stockton,stearns,lofton,coats,cavazos,beavers,barrios,tang,mosher,cardwell,coles,burnham,weller,lemons,beebe,aguilera,parnell,harman,couture,alley,schumacher,redd,dobbs,blum,blalock,merchant,ennis,denson,cottrell,brannon,bagley,aviles,watt,sousa,rosenthal,rooney,dietz,blank,paquette,mcclelland,duff,velasco,lentz,grubb,burrows,barbour,ulrich,shockley,rader,beyer,mixon,layton,altman,weathers,stoner,squires,shipp,priest,lipscomb,cutler,caballero,zimmer,willett,thurston,storey,medley,epperson,shah,mcmillian,baggett,torrez,hirsch,dent,poirier,peachey,farrar,creech,barth,trimble,dupre,albrecht,sample,lawler,crisp,conroy,wetzel,nesbitt,murry,jameson,wilhelm,patten,minton,matson,kimbrough,guinn,croft,toth,pulliam,nugent,newby,littlejohn,dias,canales,bernier,baron,singletary,renteria,pruett,mchugh,mabry,landrum,brower,stoddard,cagle,stjohn,scales,kohler,kellogg,hopson,gant,tharp,gann,zeigler,pringle,hammons,fairchild,deaton,chavis,carnes,rowley,matlock,kearns,irizarry,carrington,starkey,lopes,jarrell,craven,baum,littlefield,linn,humphreys,etheridge,cuellar,chastain,bundy,speer,skelton,quiroz,pyle,portillo,ponder,moulton,machado,killian,hutson,hitchcock,dowling,cloud,burdick,spann,pedersen,levin,leggett,hayward,dietrich,beaulieu,barksdale,wakefield,snowden,briscoe,bowie,berman,ogle,mcgregor,laughlin,helm,burden,wheatley,schreiber,pressley,parris,alaniz,agee,swann,snodgrass,schuster,radford,monk,mattingly,harp,girard,cheney,yancey,wagoner,ridley,lombardo,hudgins,gaskins,duckworth,coburn,willey,prado,newberry,magana,hammonds,elam,whipple,slade,serna,ojeda,liles,dorman,diehl,upton,reardon,michaels,goetz,eller,bauman,baer,layne,hummel,brenner,amaya,adamson,ornelas,dowell,cloutier,castellanos,wellman,saylor,orourke,moya,montalvo,kilpatrick,durbin,shell,oldham,kang,garvin,foss,branham,bartholomew,templeton,maguire,holton,rider,monahan,mccormack,beaty,anders,streeter,nieto,nielson,moffett,lankford,keating,heck,gatlin,delatorre,callaway,adcock,worrell,unger,robinette,nowak,jeter,brunner,steen,parrott,overstreet,nobles,montanez,clevenger,brinkley,trahan,quarles,pickering,pederson,jansen,grantham,gilchrist,crespo,aiken,schell,schaeffer,lorenz,leyva,harms,dyson,wallis,pease,leavitt,cheng,cavanaugh,batts,warden,seaman,rockwell,quezada,paxton,linder,houck,fontaine,durant,caruso,adler,pimentel,mize,lytle,cleary,cason,acker,switzer,isaacs,higginbotham,waterman,vandyke,stamper,sisk,shuler,riddick,mcmahan,levesque,hatton,bronson,bollinger,arnett,okeefe,gerber,gannon,farnsworth,baughman,silverman,satterfield,mccrary,kowalski,grigsby,greco,cabral,trout,rinehart,mahon,linton,gooden,curley,baugh,wyman,weiner,schwab,schuler,morrissey,mahan,bunn,thrasher,spear,waggoner,qualls,purdy,mcwhorter,mauldin,gilman,perryman,newsom,menard,martino,graf,billingsley,artis,simpkins,salisbury,quintanilla,gilliland,fraley,foust,crouse,scarborough,grissom,fultz,marlow,markham,madrigal,lawton,barfield,whiting,varney,schwarz,gooch,arce,wheat,truong,poulin,hurtado,selby,gaither,fortner,culpepper,coughlin,brinson,boudreau,bales,stepp,holm,schilling,morrell,kahn,heaton,gamez,causey,turpin,shanks,schrader,meek,isom,hardison,carranza,yanez,scroggins,schofield,runyon,ratcliff,murrell,moeller,irby,currier,butterfield,ralston,pullen,pinson,estep,carbone,hawks,ellington,casillas,spurlock,sikes,motley,mccartney,kruger,isbell,houle,burk,tomlin,quigley,neumann,lovelace,fennell,cheatham,bustamante,skidmore,hidalgo,forman,culp,bowens,betancourt,aquino,robb,milner,martel,gresham,wiles,ricketts,dowd,collazo,bostic,blakely,sherrod,kenyon,gandy,ebert,deloach,allard,sauer,robins,olivares,gillette,chestnut,bourque,paine,hite,hauser,devore,crawley,chapa,talbert,poindexter,meador,mcduffie,mattox,kraus,harkins,choate,wren,sledge,sanborn,kinder,geary,cornwell,barclay,abney,seward,rhoads,howland,fortier,benner,vines,tubbs,troutman,rapp,mccurdy,deluca,westmoreland,havens,guajardo,clary,seal,meehan,herzog,guillen,ashcraft,waugh,renner,milam,elrod,churchill,breaux,bolin,asher,windham,tirado,pemberton,nolen,noland,knott,emmons,cornish,christenson,brownlee,barbee,waldrop,pitt,olvera,lombardi,gruber,gaffney,eggleston,banda,archuleta,slone,prewitt,pfeiffer,nettles,mena,mcadams,henning,gardiner,cromwell,chisholm,burleson,vest,oglesby,mccarter,lumpkin,wofford,vanhorn,thorn,teel,swafford,stclair,stanfield,ocampo,herrmann,hannon,arsenault,roush,mcalister,hiatt,gunderson,forsythe,duggan,delvalle,cintron,wilks,weinstein,uribe,rizzo,noyes,mclendon,gurley,bethea,winstead,maples,guyton,giordano,alderman,valdes,polanco,pappas,lively,grogan,griffiths,bobo,arevalo,whitson,sowell,rendon,fernandes,farrow,benavidez,ayres,alicea,stump,smalley,seitz,schulte,gilley,gallant,canfield,wolford,omalley,mcnutt,mcnulty,mcgovern,hardman,harbin,cowart,chavarria,brink,beckett,bagwell,armstead,anglin,abreu,reynoso,krebs,jett,hoffmann,greenfield,forte,burney,broome,sisson,trammell,partridge,mace,lomax,lemieux,gossett,frantz,fogle,cooney,broughton,pence,paulsen,muncy,mcarthur,hollins,beauchamp,withers,osorio,mulligan,hoyle,dockery,cockrell,begley,amador,roby,rains,lindquist,gentile,everhart,bohannon,wylie,sommers,purnell,fortin,dunning,breeden,vail,phelan,phan,marx,cosby,colburn,boling,biddle,ledesma,gaddis,denney,chow,bueno,berrios,wicker,tolliver,thibodeaux,nagle,lavoie,fisk,crist,barbosa,reedy,locklear,kolb,himes,behrens,beckwith,weems,wahl,shorter,shackelford,rees,muse,cerda,valadez,thibodeau,saavedra,ridgeway,reiter,mchenry,majors,lachance,keaton,ferrara,clemens,blocker,applegate,needham,mojica,kuykendall,hamel,escamilla,doughty,burchett,ainsworth,vidal,upchurch,thigpen,strauss,spruill,sowers,riggins,ricker,mccombs,harlow,buffington,sotelo,olivas,negrete,morey,macon,logsdon,lapointe,bigelow,bello,westfall,stubblefield,lindley,hein,hawes,farrington,breen,birch,wilde,steed,sepulveda,reinhardt,proffitt,minter,messina,mcnabb,maier,keeler,gamboa,donohue,basham,shinn,crooks,cota,borders,bills,bachman,tisdale,tavares,schmid,pickard,gulley,fonseca,delossantos,condon,batista,wicks,wadsworth,martell,littleton,ison,haag,folsom,brumfield,broyles,brito,mireles,mcdonnell,leclair,hamblin,gough,fanning,binder,winfield,whitworth,soriano,palumbo,newkirk,mangum,hutcherson,comstock,carlin,beall,bair,wendt,watters,walling,putman,otoole,morley,mares,lemus,keener,hundley,dial,damico,billups,strother,mcfarlane,lamm,eaves,crutcher,caraballo,canty,atwell,taft,siler,rust,rawls,rawlings,prieto,mcneely,mcafee,hulsey,hackney,galvez,escalante,delagarza,crider,bandy,wilbanks,stowe,steinberg,renfro,masterson,massie,lanham,haskell,hamrick,dehart,burdette,branson,bourne,babin,aleman,worthy,tibbs,smoot,slack,paradis,mull,luce,houghton,gantt,furman,danner,christianson,burge,ashford,arndt,almeida,stallworth,shade,searcy,sager,noonan,mclemore,mcintire,maxey,lavigne,jobe,ferrer,falk,coffin,byrnes,aranda,apodaca,stamps,rounds,peek,olmstead,lewandowski,kaminski,dunaway,bruns,brackett,amato,reich,mcclung,lacroix,koontz,herrick,hardesty,flanders,cousins,cato,cade,vickery,shank,nagel,dupuis,croteau,cotter,stuckey,stine,porterfield,pauley,moffitt,knudsen,hardwick,goforth,dupont,blunt,barrows,barnhill,shull,rash,loftis,lemay,kitchens,horvath,grenier,fuchs,fairbanks,culbertson,calkins,burnside,beattie,ashworth,albertson,wertz,vaught,vallejo,turk,tuck,tijerina,sage,peterman,marroquin,marr,lantz,hoang,demarco,cone,berube,barnette,wharton,stinnett,slocum,scanlon,sander,pinto,mancuso,lima,headley,epstein,counts,clarkson,carnahan,boren,arteaga,adame,zook,whittle,whitehurst,wenzel,saxton,reddick,puente,handley,haggerty,earley,devlin,chaffin,cady,acuna,solano,sigler,pollack,pendergrass,ostrander,janes,francois,crutchfield,chamberlin,brubaker,baptiste,willson,reis,neeley,mullin,mercier,lira,layman,keeling,higdon,espinal,chapin,warfield,toledo,pulido,peebles,nagy,montague,mello,lear,jaeger,hogg,graff,furr,soliz,poore,mendenhall,mclaurin,maestas,gable,barraza,tillery,snead,pond,neill,mcculloch,mccorkle,lightfoot,hutchings,holloman,harness,dorn,bock,zielinski,turley,treadwell,stpierre,starling,somers,oswald,merrick,easterling,bivens,truitt,poston,parry,ontiveros,olivarez,moreau,medlin,lenz,knowlton,fairley,cobbs,chisolm,bannister,woodworth,toler,ocasio,noriega,neuman,moye,milburn,mcclanahan,lilley,hanes,flannery,dellinger,danielson,conti,blodgett,beers,weatherford,strain,karr,hitt,denham,custer,coble,clough,casteel,bolduc,batchelor,ammons,whitlow,tierney,staten,sibley,seifert,schubert,salcedo,mattison,laney,haggard,grooms,dees,cromer,cooks,colson,caswell,zarate,swisher,shin,ragan,pridgen,mcvey,matheny,lafleur,franz,ferraro,dugger,whiteside,rigsby,mcmurray,lehmann,jacoby,hildebrand,hendrick,headrick,goad,fincher,drury,borges,archibald,albers,woodcock,trapp,soares,seaton,monson,luckett,lindberg,kopp,keeton,healey,garvey,gaddy,fain,burchfield,wentworth,strand,stack,spooner,saucier,ricci,plunkett,pannell,ness,leger,freitas,fong,elizondo,duval,beaudoin,urbina,rickard,partin,mcgrew,mcclintock,ledoux,forsyth,faison,devries,bertrand,wasson,tilton,scarbrough,leung,irvine,garber,denning,corral,colley,castleberry,bowlin,bogan,beale,baines,trice,rayburn,parkinson,nunes,mcmillen,leahy,kimmel,higgs,fulmer,carden,bedford,taggart,spearman,prichard,morrill,koonce,heinz,hedges,guenther,grice,findley,dover,creighton,boothe,bayer,arreola,vitale,valles,raney,osgood,hanlon,burley,bounds,worden,weatherly,vetter,tanaka,stiltner,nevarez,mosby,montero,melancon,harter,hamer,goble,gladden,gist,ginn,akin,zaragoza,tarver,sammons,royster,oreilly,muir,morehead,luster,kingsley,kelso,grisham,glynn,baumann,alves,yount,tamayo,paterson,oates,menendez,longo,hargis,gillen,desantis,conover,breedlove,sumpter,scherer,rupp,reichert,heredia,creel,cohn,clemmons,casas,bickford,belton,bach,williford,whitcomb,tennant,sutter,stull,mccallum,langlois,keel,keegan,dangelo,dancy,damron,clapp,clanton,bankston,oliveira,mintz,mcinnis,martens,mabe,laster,jolley,hildreth,hefner,glaser,duckett,demers,brockman,blais,alcorn,agnew,toliver,tice,seeley,najera,musser,mcfall,laplante,galvin,fajardo,doan,coyne,copley,clawson,cheung,barone,wynne,woodley,tremblay,stoll,sparrow,sparkman,schweitzer,sasser,samples,roney,legg,heim,farias,colwell,christman,bratcher,winchester,upshaw,southerland,sorrell,sells,mccloskey,martindale,luttrell,loveless,lovejoy,linares,latimer,embry,coombs,bratton,bostick,venable,tuggle,toro,staggs,sandlin,jefferies,heckman,griffis,crayton,clem,browder,thorton,sturgill,sprouse,royer,rousseau,ridenour,pogue,perales,peeples,metzler,mesa,mccutcheon,mcbee,hornsby,heffner,corrigan,armijo,plante,peyton,paredes,macklin,hussey,hodgson,granados,frias,becnel,batten,almanza,turney,teal,sturgeon,meeker,mcdaniels,limon,keeney,hutto,holguin,gorham,fishman,fierro,blanchette,rodrigue,reddy,osburn,oden,lerma,kirkwood,keefer,haugen,hammett,chalmers,brinkman,baumgartner,zhang,valerio,tellez,steffen,shumate,sauls,ripley,kemper,guffey,evers,craddock,carvalho,blaylock,banuelos,balderas,wheaton,turnbull,shuman,pointer,mosier,mccue,ligon,kozlowski,johansen,ingle,herr,briones,snipes,rickman,pipkin,pantoja,orosco,moniz,lawless,kunkel,hibbard,galarza,enos,bussey,schott,salcido,perreault,mcdougal,mccool,haight,garris,easton,conyers,atherton,wimberly,utley,spellman,smithson,slagle,ritchey,rand,petit,osullivan,oaks,nutt,mcvay,mccreary,mayhew,knoll,jewett,harwood,cardoza,ashe,arriaga,zeller,wirth,whitmire,stauffer,rountree,redden,mccaffrey,martz,larose,langdon,humes,gaskin,faber,devito,cass,almond,wingfield,wingate,villareal,tyner,smothers,severson,reno,pennell,maupin,leighton,janssen,hassell,hallman,halcomb,folse,fitzsimmons,fahey,cranford,bolen,battles,battaglia,wooldridge,trask,rosser,regalado,mcewen,keefe,fuqua,echevarria,caro,boynton,andrus,viera,vanmeter,taber,spradlin,seibert,provost,prentice,oliphant,laporte,hwang,hatchett,hass,greiner,freedman,covert,chilton,byars,wiese,venegas,swank,shrader,roberge,mullis,mortensen,mccune,marlowe,kirchner,keck,isaacson,hostetler,halverson,gunther,griswold,fenner,durden,blackwood,ahrens,sawyers,savoy,nabors,mcswain,mackay,lavender,lash,labbe,jessup,fullerton,cruse,crittenden,correia,centeno,caudle,canady,callender,alarcon,ahern,winfrey,tribble,salley,roden,musgrove,minnick,fortenberry,carrion,bunting,batiste,whited,underhill,stillwell,rauch,pippin,perrin,messenger,mancini,lister,kinard,hartmann,fleck,wilt,treadway,thornhill,spalding,rafferty,pitre,patino,ordonez,linkous,kelleher,homan,galbraith,feeney,curtin,coward,camarillo,buss,bunnell,bolt,beeler,autry,alcala,witte,wentz,stidham,shively,nunley,meacham,martins,lemke,lefebvre,hynes,horowitz,hoppe,holcombe,dunne,derr,cochrane,brittain,bedard,beauregard,torrence,strunk,soria,simonson,shumaker,scoggins,oconner,moriarty,kuntz,ives,hutcheson,horan,hales,garmon,fitts,bohn,atchison,wisniewski,vanwinkle,sturm,sallee,prosser,moen,lundberg,kunz,kohl,keane,jorgenson,jaynes,funderburk,freed,durr,creamer,cosgrove,batson,vanhoose,thomsen,teeter,smyth,redmon,orellana,maness,heflin,goulet,frick,forney,bunker,asbury,aguiar,talbott,southard,mowery,mears,lemmon,krieger,hickson,elston,duong,delgadillo,dayton,dasilva,conaway,catron,bruton,bradbury,bordelon,bivins,bittner,bergstrom,beals,abell,whelan,tejada,pulley,pino,norfleet,nealy,maes,loper,gatewood,frierson,freund,finnegan,cupp,covey,catalano,boehm,bader,yoon,walston,tenney,sipes,rawlins,medlock,mccaskill,mccallister,marcotte,maclean,hughey,henke,harwell,gladney,gilson,chism,caskey,brandenburg,baylor,villasenor,veal,thatcher,stegall,petrie,nowlin,navarrete,lombard,loftin,lemaster,kroll,kovach,kimbrell,kidwell,hershberger,fulcher,cantwell,bustos,boland,bobbitt,binkley,wester,weis,verdin,tong,tiller,sisco,sharkey,seymore,rosenbaum,rohr,quinonez,pinkston,malley,logue,lessard,lerner,lebron,krauss,klinger,halstead,haller,getz,burrow,alger,shores,pfeifer,perron,nelms,munn,mcmaster,mckenney,manns,knudson,hutchens,huskey,goebel,flagg,cushman,click,castellano,carder,bumgarner,wampler,spinks,robson,neel,mcreynolds,mathias,maas,loera,jenson,florez,coons,buckingham,brogan,berryman,wilmoth,wilhite,thrash,shephard,seidel,schulze,roldan,pettis,obryan,maki,mackie,hatley,frazer,fiore,chesser,bottoms,bisson,benefield,allman,wilke,trudeau,timm,shifflett,mundy,milliken,mayers,leake,kohn,huntington,horsley,hermann,guerin,fryer,frizzell,foret,flemming,fife,criswell,carbajal,bozeman,boisvert,angulo,wallen,tapp,silvers,ramsay,oshea,orta,moll,mckeever,mcgehee,linville,kiefer,ketchum,howerton,groce,gass,fusco,corbitt,betz,bartels,amaral,aiello,weddle,sperry,seiler,runyan,raley,overby,osteen,olds,mckeown,matney,lauer,lattimore,hindman,hartwell,fredrickson,fredericks,espino,clegg,carswell,cambell,burkholder,woodbury,welker,totten,thornburg,theriault,stitt,stamm,stackhouse,scholl,saxon,rife,razo,quinlan,pinkerton,olivo,nesmith,nall,mattos,lafferty,justus,giron,geer,fielder,drayton,dortch,conners,conger,boatwright,billiot,barden,armenta,tibbetts,steadman,slattery,rinaldi,raynor,pinckney,pettigrew,milne,matteson,halsey,gonsalves,fellows,durand,desimone,cowley,cowles,brill,barham,barela,barba,ashmore,withrow,valenti,tejeda,spriggs,sayre,salerno,peltier,peel,merriman,matheson,lowman,lindstrom,hyland,giroux,earls,dugas,dabney,collado,briseno,baxley,whyte,wenger,vanover,vanburen,thiel,schindler,schiller,rigby,pomeroy,passmore,marble,manzo,mahaffey,lindgren,laflamme,greathouse,fite,calabrese,bayne,yamamoto,wick,townes,thames,reinhart,peeler,naranjo,montez,mcdade,mast,markley,marchand,leeper,kellum,hudgens,hennessey,hadden,gainey,coppola,borrego,bolling,beane,ault,slaton,pape,null,mulkey,lightner,langer,hillard,ethridge,enright,derosa,baskin,weinberg,turman,somerville,pardo,noll,lashley,ingraham,hiller,hendon,glaze,cothran,cooksey,conte,carrico,abner,wooley,swope,summerlin,sturgis,sturdivant,stott,spurgeon,spillman,speight,roussel,popp,nutter,mckeon,mazza,magnuson,lanning,kozak,jankowski,heyward,forster,corwin,callaghan,bays,wortham,usher,theriot,sayers,sabo,poling,loya,lieberman,laroche,labelle,howes,harr,garay,fogarty,everson,durkin,dominquez,chaves,chambliss,witcher,vieira,vandiver,terrill,stoker,schreiner,moorman,liddell,lawhorn,krug,irons,hylton,hollenbeck,herrin,hembree,goolsby,goodin,gilmer,foltz,dinkins,daughtry,caban,brim,briley,bilodeau,wyant,vergara,tallent,swearingen,stroup,scribner,quillen,pitman,mccants,maxfield,martinson,holtz,flournoy,brookins,brody,baumgardner,straub,sills,roybal,roundtree,oswalt,mcgriff,mcdougall,mccleary,maggard,gragg,gooding,godinez,doolittle,donato,cowell,cassell,bracken,appel,zambrano,reuter,perea,nakamura,monaghan,mickens,mcclinton,mcclary,marler,kish,judkins,gilbreath,freese,flanigan,felts,erdmann,dodds,chew,brownell,boatright,barreto,slayton,sandberg,saldivar,pettway,odum,narvaez,moultrie,montemayor,merrell,lees,keyser,hoke,hardaway,hannan,gilbertson,fogg,dumont,deberry,coggins,buxton,bucher,broadnax,beeson,araujo,appleton,amundson,aguayo,ackley,yocum,worsham,shivers,sanches,sacco,robey,rhoden,pender,ochs,mccurry,madera,luong,knotts,jackman,heinrich,hargrave,gault,comeaux,chitwood,caraway,boettcher,bernhardt,barrientos,zink,wickham,whiteman,thorp,stillman,settles,schoonover,roque,riddell,pilcher,phifer,novotny,macleod,hardee,haase,grider,doucette,clausen,bevins,beamon,badillo,tolley,tindall,soule,snook,seale,pinkney,pellegrino,nowell,nemeth,mondragon,mclane,lundgren,ingalls,hudspeth,hixson,gearhart,furlong,downes,dibble,deyoung,cornejo,camara,brookshire,boyette,wolcott,surratt,sellars,segal,salyer,reeve,rausch,labonte,haro,gower,freeland,fawcett,eads,driggers,donley,collett,bromley,boatman,ballinger,baldridge,volz,trombley,stonge,shanahan,rivard,rhyne,pedroza,matias,jamieson,hedgepeth,hartnett,estevez,eskridge,denman,chiu,chinn,catlett,carmack,buie,bechtel,beardsley,bard,ballou,ulmer,skeen,robledo,rincon,reitz,piazza,munger,moten,mcmichael,loftus,ledet,kersey,groff,fowlkes,crumpton,clouse,bettis,villagomez,timmerman,strom,santoro,roddy,penrod,musselman,macpherson,leboeuf,harless,haddad,guido,golding,fulkerson,fannin,dulaney,dowdell,cottle,ceja,cate,bosley,benge,albritton,voigt,trowbridge,soileau,seely,rohde,pearsall,paulk,orth,nason,mota,mcmullin,marquardt,madigan,hoag,gillum,gabbard,fenwick,danforth,cushing,cress,creed,cazares,bettencourt,barringer,baber,stansberry,schramm,rutter,rivero,oquendo,necaise,mouton,montenegro,miley,mcgough,marra,macmillan,lamontagne,jasso,horst,hetrick,heilman,gaytan,gall,fortney,dingle,desjardins,dabbs,burbank,brigham,breland,beaman,arriola,yarborough,wallin,toscano,stowers,reiss,pichardo,orton,michels,mcnamee,mccrory,leatherman,kell,keister,horning,hargett,guay,ferro,deboer,dagostino,carper,blanks,beaudry,towle,tafoya,stricklin,strader,soper,sonnier,sigmon,schenk,saddler,pedigo,mendes,lunn,lohr,lahr,kingsbury,jarman,hume,holliman,hofmann,haworth,harrelson,hambrick,flick,edmunds,dacosta,crossman,colston,chaplin,carrell,budd,weiler,waits,valentino,trantham,tarr,solorio,roebuck,powe,plank,pettus,pagano,mink,luker,leathers,joslin,hartzell,gambrell,cepeda,carty,caputo,brewington,bedell,ballew,applewhite,warnock,walz,urena,tudor,reel,pigg,parton,mickelson,meagher,mclellan,mcculley,mandel,leech,lavallee,kraemer,kling,kipp,kehoe,hochstetler,harriman,gregoire,grabowski,gosselin,gammon,fancher,edens,desai,brannan,armendariz,woolsey,whitehouse,whetstone,ussery,towne,testa,tallman,studer,strait,steinmetz,sorrells,sauceda,rolfe,paddock,mitchem,mcginn,mccrea,lovato,hazen,gilpin,gaynor,fike,devoe,delrio,curiel,burkhardt,bode,backus,zinn,watanabe,wachter,vanpelt,turnage,shaner,schroder,sato,riordan,quimby,portis,natale,mckoy,mccown,kilmer,hotchkiss,hesse,halbert,gwinn,godsey,delisle,chrisman,canter,arbogast,angell,acree,yancy,woolley,wesson,weatherspoon,trainor,stockman,spiller,sipe,rooks,reavis,propst,porras,neilson,mullens,loucks,llewellyn,kumar,koester,klingensmith,kirsch,kester,honaker,hodson,hennessy,helmick,garrity,garibay,drain,casarez,callis,botello,aycock,avant,wingard,wayman,tully,theisen,szymanski,stansbury,segovia,rainwater,preece,pirtle,padron,mincey,mckelvey,mathes,larrabee,kornegay,klug,ingersoll,hecht,germain,eggers,dykstra,deering,decoteau,deason,dearing,cofield,carrigan,bonham,bahr,aucoin,appleby,almonte,yager,womble,wimmer,weimer,vanderpool,stancil,sprinkle,romine,remington,pfaff,peckham,olivera,meraz,maze,lathrop,koehn,hazelton,halvorson,hallock,haddock,ducharme,dehaven,caruthers,brehm,bosworth,bost,bias,beeman,basile,bane,aikens,wold,walther,tabb,suber,strawn,stocker,shirey,schlosser,riedel,rembert,reimer,pyles,peele,merriweather,letourneau,latta,kidder,hixon,hillis,hight,herbst,henriquez,haygood,hamill,gabel,fritts,eubank,dawes,correll,bushey,buchholz,brotherton,botts,barnwell,auger,atchley,westphal,veilleux,ulloa,stutzman,shriver,ryals,pilkington,moyers,marrs,mangrum,maddux,lockard,laing,kuhl,harney,hammock,hamlett,felker,doerr,depriest,carrasquillo,carothers,bogle,bischoff,bergen,albanese,wyckoff,vermillion,vansickle,thibault,tetreault,stickney,shoemake,ruggiero,rawson,racine,philpot,paschal,mcelhaney,mathison,legrand,lapierre,kwan,kremer,jiles,hilbert,geyer,faircloth,ehlers,egbert,desrosiers,dalrymple,cotten,cashman,cadena,boardman,alcaraz,wyrick,therrien,tankersley,strickler,puryear,plourde,pattison,pardue,mcginty,mcevoy,landreth,kuhns,koon,hewett,giddens,emerick,eades,deangelis,cosme,ceballos,birdsong,benham,bemis,armour,anguiano,welborn,tsosie,storms,shoup,sessoms,samaniego,rood,rojo,rhinehart,raby,northcutt,myer,munguia,morehouse,mcdevitt,mallett,lozada,lemoine,kuehn,hallett,grim,gillard,gaylor,garman,gallaher,feaster,faris,darrow,dardar,coney,carreon,braithwaite,boylan,boyett,bixler,bigham,benford,barragan,barnum,zuber,wyche,westcott,vining,stoltzfus,simonds,shupe,sabin,ruble,rittenhouse,richman,perrone,mulholland,millan,lomeli,kite,jemison,hulett,holler,hickerson,herold,hazelwood,griffen,gause,forde,eisenberg,dilworth,charron,chaisson,bristow,breunig,brace,boutwell,bentz,belk,bayless,batchelder,baran,baeza,zimmermann,weathersby,volk,toole,theis,tedesco,searle,schenck,satterwhite,ruelas,rankins,partida,nesbit,morel,menchaca,levasseur,kaylor,johnstone,hulse,hollar,hersey,harrigan,harbison,guyer,gish,giese,gerlach,geller,geisler,falcone,elwell,doucet,deese,darr,corder,chafin,byler,bussell,burdett,brasher,bowe,bellinger,bastian,barner,alleyne,wilborn,weil,wegner,tatro,spitzer,smithers,schoen,resendez,parisi,overman,obrian,mudd,mahler,maggio,lindner,lalonde,lacasse,laboy,killion,kahl,jessen,jamerson,houk,henshaw,gustin,graber,durst,duenas,davey,cundiff,conlon,colunga,coakley,chiles,capers,buell,bricker,bissonnette,bartz,bagby,zayas,volpe,treece,toombs,thom,terrazas,swinney,skiles,silveira,shouse,senn,ramage,moua,langham,kyles,holston,hoagland,herd,feller,denison,carraway,burford,bickel,ambriz,abercrombie,yamada,weidner,waddle,verduzco,thurmond,swindle,schrock,sanabria,rosenberger,probst,peabody,olinger,nazario,mccafferty,mcbroom,mcabee,mazur,matherne,mapes,leverett,killingsworth,heisler,griego,gosnell,frankel,franke,ferrante,fenn,ehrlich,christopherso,chasse,caton,brunelle,bloomfield,babbitt,azevedo,abramson,ables,abeyta,youmans,wozniak,wainwright,stowell,smitherman,samuelson,runge,rothman,rosenfeld,peake,owings,olmos,munro,moreira,leatherwood,larkins,krantz,kovacs,kizer,kindred,karnes,jaffe,hubbell,hosey,hauck,goodell,erdman,dvorak,doane,cureton,cofer,buehler,bierman,berndt,banta,abdullah,warwick,waltz,turcotte,torrey,stith,seger,sachs,quesada,pinder,peppers,pascual,paschall,parkhurst,ozuna,oster,nicholls,lheureux,lavalley,kimura,jablonski,haun,gourley,gilligan,croy,cotto,cargill,burwell,burgett,buckman,booher,adorno,wrenn,whittemore,urias,szabo,sayles,saiz,rutland,rael,pharr,pelkey,ogrady,nickell,musick,moats,mather,massa,kirschner,kieffer,kellar,hendershot,gott,godoy,gadson,furtado,fiedler,erskine,dutcher,dever,daggett,chevalier,brake,ballesteros,amerson,wingo,waldon,trott,silvey,showers,schlegel,ritz,pepin,pelayo,parsley,palermo,moorehead,mchale,lett,kocher,kilburn,iglesias,humble,hulbert,huckaby,hartford,hardiman,gurney,grigg,grasso,goings,fillmore,farber,depew,dandrea,cowen,covarrubias,burrus,bracy,ardoin,thompkins,standley,radcliffe,pohl,persaud,parenteau,pabon,newson,newhouse,napolitano,mulcahy,malave,keim,hooten,hernandes,heffernan,hearne,greenleaf,glick,fuhrman,fetter,faria,dishman,dickenson,crites,criss,clapper,chenault,castor,casto,bugg,bove,bonney,anderton,allgood,alderson,woodman,warrick,toomey,tooley,tarrant,summerville,stebbins,sokol,searles,schutz,schumann,scheer,remillard,raper,proulx,palmore,monroy,messier,melo,melanson,mashburn,manzano,lussier,jenks,huneycutt,hartwig,grimsley,fulk,fielding,fidler,engstrom,eldred,dantzler,crandell,calder,brumley,breton,brann,bramlett,boykins,bianco,bancroft,almaraz,alcantar,whitmer,whitener,welton,vineyard,rahn,paquin,mizell,mcmillin,mckean,marston,maciel,lundquist,liggins,lampkin,kranz,koski,kirkham,jiminez,hazzard,harrod,graziano,grammer,gendron,garrido,fordham,englert,dryden,demoss,deluna,crabb,comeau,brummett,blume,benally,wessel,vanbuskirk,thorson,stumpf,stockwell,reams,radtke,rackley,pelton,niemi,newland,nelsen,morrissette,miramontes,mcginley,mccluskey,marchant,luevano,lampe,lail,jeffcoat,infante,hinman,gaona,eady,desmarais,decosta,dansby,cisco,choe,breckenridge,bostwick,borg,bianchi,alberts,wilkie,whorton,vargo,tait,soucy,schuman,ousley,mumford,lippert,leath,lavergne,laliberte,kirksey,kenner,johnsen,izzo,hiles,gullett,greenwell,gaspar,galbreath,gaitan,ericson,delapaz,croom,cottingham,clift,bushnell,bice,beason,arrowood,waring,voorhees,truax,shreve,shockey,schatz,sandifer,rubino,rozier,roseberry,pieper,peden,nester,nave,murphey,malinowski,macgregor,lafrance,kunkle,kirkman,hipp,hasty,haddix,gervais,gerdes,gamache,fouts,fitzwater,dillingham,deming,deanda,cedeno,cannady,burson,bouldin,arceneaux,woodhouse,whitford,wescott,welty,weigel,torgerson,toms,surber,sunderland,sterner,setzer,riojas,pumphrey,puga,metts,mcgarry,mccandless,magill,lupo,loveland,llamas,leclerc,koons,kahler,huss,holbert,heintz,haupt,grimmett,gaskill,ellingson,dorr,dingess,deweese,desilva,crossley,cordeiro,converse,conde,caldera,cairns,burmeister,burkhalter,brawner,bott,youngs,vierra,valladares,shrum,shropshire,sevilla,rusk,rodarte,pedraza,nino,merino,mcminn,markle,mapp,lajoie,koerner,kittrell,kato,hyder,hollifield,heiser,hazlett,greenwald,fant,eldredge,dreher,delafuente,cravens,claypool,beecher,aronson,alanis,worthen,wojcik,winger,whitacre,valverde,valdivia,troupe,thrower,swindell,suttles,stroman,spires,slate,shealy,sarver,sartin,sadowski,rondeau,rolon,rascon,priddy,paulino,nolte,munroe,molloy,mciver,lykins,loggins,lenoir,klotz,kempf,hupp,hollowell,hollander,haynie,harkness,harker,gottlieb,frith,eddins,driskell,doggett,densmore,charette,cassady,byrum,burcham,buggs,benn,whitted,warrington,vandusen,vaillancourt,steger,siebert,scofield,quirk,purser,plumb,orcutt,nordstrom,mosely,michalski,mcphail,mcdavid,mccraw,marchese,mannino,lefevre,largent,lanza,kress,isham,hunsaker,hoch,hildebrandt,guarino,grijalva,graybill,fick,ewell,ewald,cusick,crumley,coston,cathcart,carruthers,bullington,bowes,blain,blackford,barboza,yingling,wert,weiland,varga,silverstein,sievers,shuster,shumway,runnels,rumsey,renfroe,provencher,polley,mohler,middlebrooks,kutz,koster,groth,glidden,fazio,deen,chipman,chenoweth,champlin,cedillo,carrero,carmody,buckles,brien,boutin,bosch,berkowitz,altamirano,wilfong,wiegand,waites,truesdale,toussaint,tobey,tedder,steelman,sirois,schnell,robichaud,richburg,plumley,pizarro,piercy,ortego,oberg,neace,mertz,mcnew,matta,lapp,lair,kibler,howlett,hollister,hofer,hatten,hagler,falgoust,engelhardt,eberle,dombrowski,dinsmore,daye,casares,braud,balch,autrey,wendel,tyndall,strobel,stoltz,spinelli,serrato,reber,rathbone,palomino,nickels,mayle,mathers,mach,loeffler,littrell,levinson,leong,lemire,lejeune,lazo,lasley,koller,kennard,hoelscher,hintz,hagerman,greaves,fore,eudy,engler,corrales,cordes,brunet,bidwell,bennet,tyrrell,tharpe,swinton,stribling,southworth,sisneros,savoie,samons,ruvalcaba,ries,ramer,omara,mosqueda,millar,mcpeak,macomber,luckey,litton,lehr,lavin,hubbs,hoard,hibbs,hagans,futrell,exum,evenson,culler,carbaugh,callen,brashear,bloomer,blakeney,bigler,addington,woodford,unruh,tolentino,sumrall,stgermain,smock,sherer,rayner,pooler,oquinn,nero,mcglothlin,linden,kowal,kerrigan,ibrahim,harvell,hanrahan,goodall,geist,fussell,fung,ferebee,eley,eggert,dorsett,dingman,destefano,colucci,clemmer,burnell,brumbaugh,boddie,berryhill,avelar,alcantara,winder,winchell,vandenberg,trotman,thurber,thibeault,stlouis,stilwell,sperling,shattuck,sarmiento,ruppert,rumph,renaud,randazzo,rademacher,quiles,pearman,palomo,mercurio,lowrey,lindeman,lawlor,larosa,lander,labrecque,hovis,holifield,henninger,hawkes,hartfield,hann,hague,genovese,garrick,fudge,frink,eddings,dinh,cribbs,calvillo,bunton,brodeur,bolding,blanding,agosto,zahn,wiener,trussell,tello,teixeira,speck,sharma,shanklin,sealy,scanlan,santamaria,roundy,robichaux,ringer,rigney,prevost,polson,nord,moxley,medford,mccaslin,mcardle,macarthur,lewin,lasher,ketcham,keiser,heine,hackworth,grose,grizzle,gillman,gartner,frazee,fleury,edson,edmonson,derry,cronk,conant,burress,burgin,broom,brockington,bolick,boger,birchfield,billington,baily,bahena,armbruster,anson,yoho,wilcher,tinney,timberlake,thielen,sutphin,stultz,sikora,serra,schulman,scheffler,santillan,rego,preciado,pinkham,mickle,lomas,lizotte,lent,kellerman,keil,johanson,hernadez,hartsfield,haber,gorski,farkas,eberhardt,duquette,delano,cropper,cozart,cockerham,chamblee,cartagena,cahoon,buzzell,brister,brewton,blackshear,benfield,aston,ashburn,arruda,wetmore,weise,vaccaro,tucci,sudduth,stromberg,stoops,showalter,shears,runion,rowden,rosenblum,riffle,renfrow,peres,obryant,leftwich,lark,landeros,kistler,killough,kerley,kastner,hoggard,hartung,guertin,govan,gatling,gailey,fullmer,fulford,flatt,esquibel,endicott,edmiston,edelstein,dufresne,dressler,dickman,chee,busse,bonnett,berard,yoshida,velarde,veach,vanhouten,vachon,tolson,tolman,tennyson,stites,soler,shutt,ruggles,rhone,pegues,neese,muro,moncrief,mefford,mcphee,mcmorris,mceachern,mcclurg,mansour,mader,leija,lecompte,lafountain,labrie,jaquez,heald,hash,hartle,gainer,frisby,farina,eidson,edgerton,dyke,durrett,duhon,cuomo,cobos,cervantez,bybee,brockway,borowski,binion,beery,arguello,amaro,acton,yuen,winton,wigfall,weekley,vidrine,vannoy,tardiff,shoop,shilling,schick,safford,prendergast,pilgrim,pellerin,osuna,nissen,nalley,moller,messner,messick,merrifield,mcguinness,matherly,marcano,mahone,lemos,lebrun,jara,hoffer,herren,hecker,haws,haug,gwin,gober,gilliard,fredette,favela,echeverria,downer,donofrio,desrochers,crozier,corson,bechtold,argueta,aparicio,zamudio,westover,westerman,utter,troyer,thies,tapley,slavin,shirk,sandler,roop,rimmer,raymer,radcliff,otten,moorer,millet,mckibben,mccutchen,mcavoy,mcadoo,mayorga,mastin,martineau,marek,madore,leflore,kroeger,kennon,jimerson,hostetter,hornback,hendley,hance,guardado,granado,gowen,goodale,flinn,fleetwood,fitz,durkee,duprey,dipietro,dilley,clyburn,brawley,beckley,arana,weatherby,vollmer,vestal,tunnell,trigg,tingle,takahashi,sweatt,storer,snapp,shiver,rooker,rathbun,poisson,perrine,perri,parmer,parke,pare,papa,palmieri,midkiff,mecham,mccomas,mcalpine,lovelady,lillard,lally,knopp,kile,kiger,haile,gupta,goldsberry,gilreath,fulks,friesen,franzen,flack,findlay,ferland,dreyer,dore,dennard,deckard,debose,crim,coulombe,chancey,cantor,branton,bissell,barns,woolard,witham,wasserman,spiegel,shoffner,scholz,ruch,rossman,petry,palacio,paez,neary,mortenson,millsap,miele,menke,mckim,mcanally,martines,lemley,larochelle,klaus,klatt,kaufmann,kapp,helmer,hedge,halloran,glisson,frechette,fontana,eagan,distefano,danley,creekmore,chartier,chaffee,carillo,burg,bolinger,berkley,benz,basso,bash,zelaya,woodring,witkowski,wilmot,wilkens,wieland,verdugo,urquhart,tsai,timms,swiger,swaim,sussman,pires,molnar,mcatee,lowder,loos,linker,landes,kingery,hufford,higa,hendren,hammack,hamann,gillam,gerhardt,edelman,delk,deans,curl,constantine,cleaver,claar,casiano,carruth,carlyle,brophy,bolanos,bibbs,bessette,beggs,baugher,bartel,averill,andresen,amin,adames,valente,turnbow,swink,sublett,stroh,stringfellow,ridgway,pugliese,poteat,ohare,neubauer,murchison,mingo,lemmons,kwon,kellam,kean,jarmon,hyden,hudak,hollinger,henkel,hemingway,hasson,hansel,halter,haire,ginsberg,gillispie,fogel,flory,etter,elledge,eckman,deas,currin,crafton,coomer,colter,claxton,bulter,braddock,bowyer,binns,bellows,baskerville,barros,ansley,woolf,wight,waldman,wadley,tull,trull,tesch,stouffer,stadler,slay,shubert,sedillo,santacruz,reinke,poynter,neri,neale,mowry,moralez,monger,mitchum,merryman,manion,macdougall,litchfield,levitt,lepage,lasalle,khoury,kavanagh,karns,ivie,huebner,hodgkins,halpin,garica,eversole,dutra,dunagan,duffey,dillman,dillion,deville,dearborn,damato,courson,coulson,burdine,bousquet,bonin,bish,atencio,westbrooks,wages,vaca,toner,tillis,swett,struble,stanfill,solorzano,slusher,sipple,silvas,shults,schexnayder,saez,rodas,rager,pulver,penton,paniagua,meneses,mcfarlin,mcauley,matz,maloy,magruder,lohman,landa,lacombe,jaimes,holzer,holst,heil,hackler,grundy,gilkey,farnham,durfee,dunton,dunston,duda,dews,craver,corriveau,conwell,colella,chambless,bremer,boutte,bourassa,blaisdell,backman,babineaux,audette,alleman,towner,taveras,tarango,sullins,suiter,stallard,solberg,schlueter,poulos,pimental,owsley,okelley,moffatt,metcalfe,meekins,medellin,mcglynn,mccowan,marriott,marable,lennox,lamoureux,koss,kerby,karp,isenberg,howze,hockenberry,highsmith,hallmark,gusman,greeley,giddings,gaudet,gallup,fleenor,eicher,edington,dimaggio,dement,demello,decastro,bushman,brundage,brooker,bourg,blackstock,bergmann,beaton,banister,argo,appling,wortman,watterson,villalpando,tillotson,tighe,sundberg,sternberg,stamey,shipe,seeger,scarberry,sattler,sain,rothstein,poteet,plowman,pettiford,penland,partain,pankey,oyler,ogletree,ogburn,moton,merkel,lucier,lakey,kratz,kinser,kershaw,josephson,imhoff,hendry,hammon,frisbie,frawley,fraga,forester,eskew,emmert,drennan,doyon,dandridge,cawley,carvajal,bracey,belisle,batey,ahner,wysocki,weiser,veliz,tincher,sansone,sankey,sandstrom,rohrer,risner,pridemore,pfeffer,persinger,peery,oubre,nowicki,musgrave,murdoch,mullinax,mccary,mathieu,livengood,kyser,klink,kimes,kellner,kavanaugh,kasten,imes,hoey,hinshaw,hake,gurule,grube,grillo,geter,gatto,garver,garretson,farwell,eiland,dunford,decarlo,corso,colman,collard,cleghorn,chasteen,cavender,carlile,calvo,byerly,brogdon,broadwater,breault,bono,bergin,behr,ballenger,amick,tamez,stiffler,steinke,simmon,shankle,schaller,salmons,sackett,saad,rideout,ratcliffe,ranson,plascencia,petterson,olszewski,olney,olguin,nilsson,nevels,morelli,montiel,monge,michaelson,mertens,mcchesney,mcalpin,mathewson,loudermilk,lineberry,liggett,kinlaw,kight,jost,hereford,hardeman,halpern,halliday,hafer,gaul,friel,freitag,forsberg,evangelista,doering,dicarlo,dendy,delp,deguzman,dameron,curtiss,cosper,cauthen,bradberry,bouton,bonnell,bixby,bieber,beveridge,bedwell,barhorst,bannon,baltazar,baier,ayotte,attaway,arenas,abrego,turgeon,tunstall,thaxton,tenorio,stotts,sthilaire,shedd,seabolt,scalf,salyers,ruhl,rowlett,robinett,pfister,perlman,pepe,parkman,nunnally,norvell,napper,modlin,mckellar,mcclean,mascarenas,leibowitz,ledezma,kuhlman,kobayashi,hunley,holmquist,hinkley,hazard,hartsell,gribble,gravely,fifield,eliason,doak,crossland,carleton,bridgeman,bojorquez,boggess,auten,woosley,whiteley,wexler,twomey,tullis,townley,standridge,santoyo,rueda,riendeau,revell,pless,ottinger,nigro,nickles,mulvey,menefee,mcshane,mcloughlin,mckinzie,markey,lockridge,lipsey,knisley,knepper,kitts,kiel,jinks,hathcock,godin,gallego,fikes,fecteau,estabrook,ellinger,dunlop,dudek,countryman,chauvin,chatham,bullins,brownfield,boughton,bloodworth,bibb,baucom,barbieri,aubin,armitage,alessi,absher,abbate,zito,woolery,wiggs,wacker,tynes,tolle,telles,tarter,swarey,strode,stockdale,stalnaker,spina,schiff,saari,risley,rameriz,rakes,pettaway,penner,paulus,palladino,omeara,montelongo,melnick,mehta,mcgary,mccourt,mccollough,marchetti,manzanares,lowther,leiva,lauderdale,lafontaine,kowalczyk,knighton,joubert,jaworski,huth,hurdle,housley,hackman,gulick,gordy,gilstrap,gehrke,gebhart,gaudette,foxworth,endres,dunkle,cimino,caddell,brauer,braley,bodine,blackmore,belden,backer,ayer,andress,wisner,vuong,valliere,twigg,tavarez,strahan,steib,staub,sowder,seiber,schutt,scharf,schade,rodriques,risinger,renshaw,rahman,presnell,piatt,nieman,nevins,mcilwain,mcgaha,mccully,mccomb,massengale,macedo,lesher,kearse,jauregui,husted,hudnall,holmberg,hertel,hardie,glidewell,frausto,fassett,dalessandro,dahlgren,corum,constantino,conlin,colquitt,colombo,claycomb,cardin,buller,boney,bocanegra,biggers,benedetto,araiza,andino,albin,zorn,werth,weisman,walley,vanegas,ulibarri,towe,tedford,teasley,suttle,steffens,stcyr,squire,singley,sifuentes,shuck,schram,sass,rieger,ridenhour,rickert,richerson,rayborn,rabe,raab,pendley,pastore,ordway,moynihan,mellott,mckissick,mcgann,mccready,mauney,marrufo,lenhart,lazar,lafave,keele,kautz,jardine,jahnke,jacobo,hord,hardcastle,hageman,giglio,gehring,fortson,duque,duplessis,dicken,derosier,deitz,dalessio,cram,castleman,candelario,callison,caceres,bozarth,biles,bejarano,bashaw,avina,armentrout,alverez,acord,waterhouse,vereen,vanlandingham,strawser,shotwell,severance,seltzer,schoonmaker,schock,schaub,schaffner,roeder,rodrigez,riffe,rasberry,rancourt,railey,quade,pursley,prouty,perdomo,oxley,osterman,nickens,murphree,mounts,merida,maus,mattern,masse,martinelli,mangan,lutes,ludwick,loney,laureano,lasater,knighten,kissinger,kimsey,kessinger,honea,hollingshead,hockett,heyer,heron,gurrola,gove,glasscock,gillett,galan,featherstone,eckhardt,duron,dunson,dasher,culbreth,cowden,cowans,claypoole,churchwell,chabot,caviness,cater,caston,callan,byington,burkey,boden,beckford,atwater,archambault,alvey,alsup,whisenant,weese,voyles,verret,tsang,tessier,sweitzer,sherwin,shaughnessy,revis,remy,prine,philpott,peavy,paynter,parmenter,ovalle,offutt,nightingale,newlin,nakano,myatt,muth,mohan,mcmillon,mccarley,mccaleb,maxson,marinelli,maley,liston,letendre,kain,huntsman,hirst,hagerty,gulledge,greenway,grajeda,gorton,goines,gittens,frederickson,fanelli,embree,eichelberger,dunkin,dixson,dillow,defelice,chumley,burleigh,borkowski,binette,biggerstaff,berglund,beller,audet,arbuckle,allain,alfano,youngman,wittman,weintraub,vanzant,vaden,twitty,stollings,standifer,sines,shope,scalise,saville,posada,pisano,otte,nolasco,mier,merkle,mendiola,melcher,mejias,mcmurry,mccalla,markowitz,manis,mallette,macfarlane,lough,looper,landin,kittle,kinsella,kinnard,hobart,helman,hellman,hartsock,halford,hage,gordan,glasser,gayton,gattis,gastelum,gaspard,frisch,fitzhugh,eckstein,eberly,dowden,despain,crumpler,crotty,cornelison,chouinard,chamness,catlin,cann,bumgardner,budde,branum,bradfield,braddy,borst,birdwell,bazan,banas,bade,arango,ahearn,addis,zumwalt,wurth,wilk,widener,wagstaff,urrutia,terwilliger,tart,steinman,staats,sloat,rives,riggle,revels,reichard,prickett,poff,pitzer,petro,pell,northrup,nicks,moline,mielke,maynor,mallon,magness,lingle,lindell,lieb,lesko,lebeau,lammers,lafond,kiernan,ketron,jurado,holmgren,hilburn,hayashi,hashimoto,harbaugh,guillot,gard,froehlich,feinberg,falco,dufour,drees,doney,diep,delao,daves,dail,crowson,coss,congdon,carner,camarena,butterworth,burlingame,bouffard,bloch,bilyeu,barta,bakke,baillargeon,avent,aquilar,zeringue,yarber,wolfson,vogler,voelker,truss,troxell,thrift,strouse,spielman,sistrunk,sevigny,schuller,schaaf,ruffner,routh,roseman,ricciardi,peraza,pegram,overturf,olander,odaniel,millner,melchor,maroney,machuca,macaluso,livesay,layfield,laskowski,kwiatkowski,kilby,hovey,heywood,hayman,havard,harville,haigh,hagood,grieco,glassman,gebhardt,fleischer,fann,elson,eccles,cunha,crumb,blakley,bardwell,abshire,woodham,wines,welter,wargo,varnado,tutt,traynor,swaney,stricker,stoffel,stambaugh,sickler,shackleford,selman,seaver,sansom,sanmiguel,royston,rourke,rockett,rioux,puleo,pitchford,nardi,mulvaney,middaugh,malek,leos,lathan,kujawa,kimbro,killebrew,houlihan,hinckley,herod,hepler,hamner,hammel,hallowell,gonsalez,gingerich,gambill,funkhouser,fricke,fewell,falkner,endsley,dulin,drennen,deaver,dambrosio,chadwell,castanon,burkes,brune,brisco,brinker,bowker,boldt,berner,beaumont,beaird,bazemore,barrick,albano,younts,wunderlich,weidman,vanness,toland,theobald,stickler,steiger,stanger,spies,spector,sollars,smedley,seibel,scoville,saito,rummel,rowles,rouleau,roos,rogan,roemer,ream,raya,purkey,priester,perreira,penick,paulin,parkins,overcash,oleson,neves,muldrow,minard,midgett,michalak,melgar,mcentire,mcauliffe,marte,lydon,lindholm,leyba,langevin,lagasse,lafayette,kesler,kelton,kaminsky,jaggers,humbert,huck,howarth,hinrichs,higley,gupton,guimond,gravois,giguere,fretwell,fontes,feeley,faucher,eichhorn,ecker,earp,dole,dinger,derryberry,demars,deel,copenhaver,collinsworth,colangelo,cloyd,claiborne,caulfield,carlsen,calzada,caffey,broadus,brenneman,bouie,bodnar,blaney,blanc,beltz,behling,barahona,yockey,winkle,windom,wimer,villatoro,trexler,teran,taliaferro,sydnor,swinson,snelling,smtih,simonton,simoneaux,simoneau,sherrer,seavey,scheel,rushton,rupe,ruano,rippy,reiner,reiff,rabinowitz,quach,penley,odle,nock,minnich,mckown,mccarver,mcandrew,longley,laux,lamothe,lafreniere,kropp,krick,kates,jepson,huie,howse,howie,henriques,haydon,haught,hatter,hartzog,harkey,grimaldo,goshorn,gormley,gluck,gilroy,gillenwater,giffin,fluker,feder,eyre,eshelman,eakins,detwiler,delrosario,davisson,catalan,canning,calton,brammer,botelho,blakney,bartell,averett,askins,aker,witmer,winkelman,widmer,whittier,weitzel,wardell,wagers,ullman,tupper,tingley,tilghman,talton,simard,seda,scheller,sala,rundell,rost,ribeiro,rabideau,primm,pinon,peart,ostrom,ober,nystrom,nussbaum,naughton,murr,moorhead,monti,monteiro,melson,meissner,mclin,mcgruder,marotta,makowski,majewski,madewell,lunt,lukens,leininger,lebel,lakin,kepler,jaques,hunnicutt,hungerford,hoopes,hertz,heins,halliburton,grosso,gravitt,glasper,gallman,gallaway,funke,fulbright,falgout,eakin,dostie,dorado,dewberry,derose,cutshall,crampton,costanzo,colletti,cloninger,claytor,chiang,campagna,burd,brokaw,broaddus,bretz,brainard,binford,bilbrey,alpert,aitken,ahlers,zajac,woolfolk,witten,windle,wayland,tramel,tittle,talavera,suter,straley,specht,sommerville,soloman,skeens,sigman,sibert,shavers,schuck,schmit,sartain,sabol,rosenblatt,rollo,rashid,rabb,polston,nyberg,northrop,navarra,muldoon,mikesell,mcdougald,mcburney,mariscal,lozier,lingerfelt,legere,latour,lagunas,lacour,kurth,killen,kiely,kayser,kahle,isley,huertas,hower,hinz,haugh,gumm,galicia,fortunato,flake,dunleavy,duggins,doby,digiovanni,devaney,deltoro,cribb,corpuz,coronel,coen,charbonneau,caine,burchette,blakey,blakemore,bergquist,beene,beaudette,bayles,ballance,bakker,bailes,asberry,arwood,zucker,willman,whitesell,wald,walcott,vancleave,trump,strasser,simas,shick,schleicher,schaal,saleh,rotz,resnick,rainer,partee,ollis,oller,oday,noles,munday,mong,millican,merwin,mazzola,mansell,magallanes,llanes,lewellen,lepore,kisner,keesee,jeanlouis,ingham,hornbeck,hawn,hartz,harber,haffner,gutshall,guth,grays,gowan,finlay,finkelstein,eyler,enloe,dungan,diez,dearman,cull,crosson,chronister,cassity,campion,callihan,butz,breazeale,blumenthal,berkey,batty,batton,arvizu,alderete,aldana,albaugh,abernethy,wolter,wille,tweed,tollefson,thomasson,teter,testerman,sproul,spates,southwick,soukup,skelly,senter,sealey,sawicki,sargeant,rossiter,rosemond,repp,pifer,ormsby,nickelson,naumann,morabito,monzon,millsaps,millen,mcelrath,marcoux,mantooth,madson,macneil,mackinnon,louque,leister,lampley,kushner,krouse,kirwan,jessee,janson,jahn,jacquez,islas,hutt,holladay,hillyer,hepburn,hensel,harrold,gingrich,geis,gales,fults,finnell,ferri,featherston,epley,ebersole,eames,dunigan,drye,dismuke,devaughn,delorenzo,damiano,confer,collum,clower,clow,claussen,clack,caylor,cawthon,casias,carreno,bluhm,bingaman,bewley,belew,beckner,auld,amey,wolfenbarger,wilkey,wicklund,waltman,villalba,valero,valdovinos,ullrich,tyus,twyman,trost,tardif,tanguay,stripling,steinbach,shumpert,sasaki,sappington,sandusky,reinhold,reinert,quijano,placencia,pinkard,phinney,perrotta,pernell,parrett,oxendine,owensby,orman,nuno,mori,mcroberts,mcneese,mckamey,mccullum,markel,mardis,maines,lueck,lubin,lefler,leffler,larios,labarbera,kershner,josey,jeanbaptiste,izaguirre,hermosillo,haviland,hartshorn,hafner,ginter,getty,franck,fiske,dufrene,doody,davie,dangerfield,dahlberg,cuthbertson,crone,coffelt,chidester,chesson,cauley,caudell,cantara,campo,caines,bullis,bucci,brochu,bogard,bickerstaff,benning,arzola,antonelli,adkinson,zellers,wulf,worsley,woolridge,whitton,westerfield,walczak,vassar,truett,trueblood,trawick,townsley,topping,tobar,telford,steverson,stagg,sitton,sill,sergent,schoenfeld,sarabia,rutkowski,rubenstein,rigdon,prentiss,pomerleau,plumlee,philbrick,patnode,oloughlin,obregon,nuss,morell,mikell,mele,mcinerney,mcguigan,mcbrayer,lollar,kuehl,kinzer,kamp,joplin,jacobi,howells,holstein,hedden,hassler,harty,halle,greig,gouge,goodrum,gerhart,geier,geddes,gast,forehand,ferree,fendley,feltner,esqueda,encarnacion,eichler,egger,edmundson,eatmon,doud,donohoe,donelson,dilorenzo,digiacomo,diggins,delozier,dejong,danford,crippen,coppage,cogswell,clardy,cioffi,cabe,brunette,bresnahan,blomquist,blackstone,biller,bevis,bevan,bethune,benbow,baty,basinger,balcom,andes,aman,aguero,adkisson,yandell,wilds,whisenhunt,weigand,weeden,voight,villar,trottier,tillett,suazo,setser,scurry,schuh,schreck,schauer,samora,roane,rinker,reimers,ratchford,popovich,parkin,natal,melville,mcbryde,magdaleno,loehr,lockman,lingo,leduc,larocca,lamere,laclair,krall,korte,koger,jalbert,hughs,higbee,henton,heaney,haith,gump,greeson,goodloe,gholston,gasper,gagliardi,fregoso,farthing,fabrizio,ensor,elswick,elgin,eklund,eaddy,drouin,dorton,dizon,derouen,deherrera,davy,dampier,cullum,culley,cowgill,cardoso,cardinale,brodsky,broadbent,brimmer,briceno,branscum,bolyard,boley,bennington,beadle,baur,ballentine,azure,aultman,arciniega,aguila,aceves,yepez,woodrum,wethington,weissman,veloz,trusty,troup,trammel,tarpley,stivers,steck,sprayberry,spraggins,spitler,spiers,sohn,seagraves,schiffman,rudnick,rizo,riccio,rennie,quackenbush,puma,plott,pearcy,parada,paiz,munford,moskowitz,mease,mcnary,mccusker,lozoya,longmire,loesch,lasky,kuhlmann,krieg,koziol,kowalewski,konrad,kindle,jowers,jolin,jaco,horgan,hine,hileman,hepner,heise,heady,hawkinson,hannigan,haberman,guilford,grimaldi,garton,gagliano,fruge,follett,fiscus,ferretti,ebner,easterday,eanes,dirks,dimarco,depalma,deforest,cruce,craighead,christner,candler,cadwell,burchell,buettner,brinton,brazier,brannen,brame,bova,bomar,blakeslee,belknap,bangs,balzer,athey,armes,alvis,alverson,alvardo,yeung,wheelock,westlund,wessels,volkman,threadgill,thelen,tague,symons,swinford,sturtevant,straka,stier,stagner,segarra,seawright,rutan,roux,ringler,riker,ramsdell,quattlebaum,purifoy,poulson,permenter,peloquin,pasley,pagel,osman,obannon,nygaard,newcomer,munos,motta,meadors,mcquiston,mcniel,mcmann,mccrae,mayne,matte,legault,lechner,kucera,krohn,kratzer,koopman,jeske,horrocks,hock,hibbler,hesson,hersh,harvin,halvorsen,griner,grindle,gladstone,garofalo,frampton,forbis,eddington,diorio,dingus,dewar,desalvo,curcio,creasy,cortese,cordoba,connally,cluff,cascio,capuano,canaday,calabro,bussard,brayton,borja,bigley,arnone,arguelles,acuff,zamarripa,wooton,widner,wideman,threatt,thiele,templin,teeters,synder,swint,swick,sturges,stogner,stedman,spratt,siegfried,shetler,scull,savino,sather,rothwell,rook,rone,rhee,quevedo,privett,pouliot,poche,pickel,petrillo,pellegrini,peaslee,partlow,otey,nunnery,morelock,morello,meunier,messinger,mckie,mccubbin,mccarron,lerch,lavine,laverty,lariviere,lamkin,kugler,krol,kissel,keeter,hubble,hickox,hetzel,hayner,hagy,hadlock,groh,gottschalk,goodsell,gassaway,garrard,galligan,firth,fenderson,feinstein,etienne,engleman,emrick,ellender,drews,doiron,degraw,deegan,dart,crissman,corr,cookson,coil,cleaves,charest,chapple,chaparro,castano,carpio,byer,bufford,bridgewater,bridgers,brandes,borrero,bonanno,aube,ancheta,abarca,abad,wooster,wimbush,willhite,willams,wigley,weisberg,wardlaw,vigue,vanhook,unknow,torre,tasker,tarbox,strachan,slover,shamblin,semple,schuyler,schrimsher,sayer,salzman,rubalcava,riles,reneau,reichel,rayfield,rabon,pyatt,prindle,poss,polito,plemmons,pesce,perrault,pereyra,ostrowski,nilsen,niemeyer,munsey,mundell,moncada,miceli,meader,mcmasters,mckeehan,matsumoto,marron,marden,lizarraga,lingenfelter,lewallen,langan,lamanna,kovac,kinsler,kephart,keown,kass,kammerer,jeffreys,hysell,hosmer,hardnett,hanner,guyette,greening,glazer,ginder,fromm,fluellen,finkle,fessler,essary,eisele,duren,dittmer,crochet,cosentino,cogan,coelho,cavin,carrizales,campuzano,brough,bopp,bookman,bobb,blouin,beesley,battista,bascom,bakken,badgett,arneson,anselmo,albino,ahumada,woodyard,wolters,wireman,willison,warman,waldrup,vowell,vantassel,twombly,toomer,tennison,teets,tedeschi,swanner,stutz,stelly,sheehy,schermerhorn,scala,sandidge,salters,salo,saechao,roseboro,rolle,ressler,renz,renn,redford,raposa,rainbolt,pelfrey,orndorff,oney,nolin,nimmons,nardone,myhre,morman,menjivar,mcglone,mccammon,maxon,marciano,manus,lowrance,lorenzen,lonergan,lollis,littles,lindahl,lamas,lach,kuster,krawczyk,knuth,knecht,kirkendall,keitt,keever,kantor,jarboe,hoye,houchens,holter,holsinger,hickok,helwig,helgeson,hassett,harner,hamman,hames,hadfield,goree,goldfarb,gaughan,gaudreau,gantz,gallion,frady,foti,flesher,ferrin,faught,engram,donegan,desouza,degroot,cutright,crowl,criner,coan,clinkscales,chewning,chavira,catchings,carlock,bulger,buenrostro,bramblett,brack,boulware,bookout,bitner,birt,baranowski,baisden,allmon,acklin,yoakum,wilbourn,whisler,weinberger,washer,vasques,vanzandt,vanatta,troxler,tomes,tindle,tims,throckmorton,thach,stpeter,stlaurent,stenson,spry,spitz,songer,snavely,shroyer,shortridge,shenk,sevier,seabrook,scrivner,saltzman,rosenberry,rockwood,robeson,roan,reiser,ramires,raber,posner,popham,piotrowski,pinard,peterkin,pelham,peiffer,peay,nadler,musso,millett,mestas,mcgowen,marques,marasco,manriquez,manos,mair,lipps,leiker,krumm,knorr,kinslow,kessel,kendricks,kelm,irick,ickes,hurlburt,horta,hoekstra,heuer,helmuth,heatherly,hampson,hagar,haga,greenlaw,grau,godbey,gingras,gillies,gibb,gayden,gauvin,garrow,fontanez,florio,finke,fasano,ezzell,ewers,eveland,eckenrode,duclos,drumm,dimmick,delancey,defazio,dashiell,cusack,crowther,crigger,cray,coolidge,coldiron,cleland,chalfant,cassel,camire,cabrales,broomfield,brittingham,brisson,brickey,braziel,brazell,bragdon,boulanger,boman,bohannan,beem,barre,azar,ashbaugh,armistead,almazan,adamski,zendejas,winburn,willaims,wilhoit,westberry,wentzel,wendling,visser,vanscoy,vankirk,vallee,tweedy,thornberry,sweeny,spradling,spano,smelser,shim,sechrist,schall,scaife,rugg,rothrock,roesler,riehl,ridings,render,ransdell,radke,pinero,petree,pendergast,peluso,pecoraro,pascoe,panek,oshiro,navarrette,murguia,moores,moberg,michaelis,mcwhirter,mcsweeney,mcquade,mccay,mauk,mariani,marceau,mandeville,maeda,lunde,ludlow,loeb,lindo,linderman,leveille,leith,larock,lambrecht,kulp,kinsley,kimberlin,kesterson,hoyos,helfrich,hanke,grisby,goyette,gouveia,glazier,gile,gerena,gelinas,gasaway,funches,fujimoto,flynt,fenske,fellers,fehr,eslinger,escalera,enciso,duley,dittman,dineen,diller,devault,collings,clymer,clowers,chavers,charland,castorena,castello,camargo,bunce,bullen,boyes,borchers,borchardt,birnbaum,birdsall,billman,benites,bankhead,ange,ammerman,adkison,winegar,wickman,warr,warnke,villeneuve,veasey,vassallo,vannatta,vadnais,twilley,towery,tomblin,tippett,theiss,talkington,talamantes,swart,swanger,streit,stines,stabler,spurling,sobel,sine,simmers,shippy,shiflett,shearin,sauter,sanderlin,rusch,runkle,ruckman,rorie,roesch,richert,rehm,randel,ragin,quesenberry,puentes,plyler,plotkin,paugh,oshaughnessy,ohalloran,norsworthy,niemann,nader,moorefield,mooneyham,modica,miyamoto,mickel,mebane,mckinnie,mazurek,mancilla,lukas,lovins,loughlin,lotz,lindsley,liddle,levan,lederman,leclaire,lasseter,lapoint,lamoreaux,lafollette,kubiak,kirtley,keffer,kaczmarek,housman,hiers,hibbert,herrod,hegarty,hathorn,greenhaw,grafton,govea,futch,furst,franko,forcier,foran,flickinger,fairfield,eure,emrich,embrey,edgington,ecklund,eckard,durante,deyo,delvecchio,dade,currey,creswell,cottrill,casavant,cartier,cargile,capel,cammack,calfee,burse,burruss,brust,brousseau,bridwell,braaten,borkholder,bloomquist,bjork,bartelt,amburgey,yeary,whitefield,vinyard,vanvalkenburg,twitchell,timmins,tapper,stringham,starcher,spotts,slaugh,simonsen,sheffer,sequeira,rosati,rhymes,quint,pollak,peirce,patillo,parkerson,paiva,nilson,nevin,narcisse,mitton,merriam,merced,meiners,mckain,mcelveen,mcbeth,marsden,marez,manke,mahurin,mabrey,luper,krull,hunsicker,hornbuckle,holtzclaw,hinnant,heston,hering,hemenway,hegwood,hearns,halterman,guiterrez,grote,granillo,grainger,glasco,gilder,garren,garlock,garey,fryar,fredricks,fraizer,foshee,ferrel,felty,everitt,evens,esser,elkin,eberhart,durso,duguay,driskill,doster,dewall,deveau,demps,demaio,delreal,deleo,darrah,cumberbatch,culberson,cranmer,cordle,colgan,chesley,cavallo,castellon,castelli,carreras,carnell,carlucci,bontrager,blumberg,blasingame,becton,artrip,andujar,alkire,alder,zukowski,zuckerman,wroblewski,wrigley,woodside,wigginton,westman,westgate,werts,washam,wardlow,walser,waiters,tadlock,stringfield,stimpson,stickley,standish,spurlin,spindler,speller,spaeth,sotomayor,sluder,shryock,shepardson,shatley,scannell,santistevan,rosner,resto,reinhard,rathburn,prisco,poulsen,pinney,phares,pennock,pastrana,oviedo,ostler,nauman,mulford,moise,moberly,mirabal,metoyer,metheny,mentzer,meldrum,mcinturff,mcelyea,mcdougle,massaro,lumpkins,loveday,lofgren,lirette,lesperance,lefkowitz,ledger,lauzon,lachapelle,klassen,keough,kempton,kaelin,jeffords,hsieh,hoyer,horwitz,hoeft,hennig,haskin,gourdine,golightly,girouard,fulgham,fritsch,freer,frasher,foulk,firestone,fiorentino,fedor,ensley,englehart,eells,dunphy,donahoe,dileo,dibenedetto,dabrowski,crick,coonrod,conder,coddington,chunn,chaput,cerna,carreiro,calahan,braggs,bourdon,bollman,bittle,bauder,barreras,aubuchon,anzalone,adamo,zerbe,willcox,westberg,weikel,waymire,vroman,vinci,vallejos,truesdell,troutt,trotta,tollison,toles,tichenor,symonds,surles,strayer,stgeorge,sroka,sorrentino,solares,snelson,silvestri,sikorski,shawver,schumaker,schorr,schooley,scates,satterlee,satchell,rymer,roselli,robitaille,riegel,regis,reames,provenzano,priestley,plaisance,pettey,palomares,nowakowski,monette,minyard,mclamb,mchone,mccarroll,masson,magoon,maddy,lundin,licata,leonhardt,landwehr,kircher,kinch,karpinski,johannsen,hussain,houghtaling,hoskinson,hollaway,holeman,hobgood,hiebert,goggin,geissler,gadbois,gabaldon,fleshman,flannigan,fairman,eilers,dycus,dunmire,duffield,dowler,deloatch,dehaan,deemer,clayborn,christofferso,chilson,chesney,chatfield,carron,canale,brigman,branstetter,bosse,borton,bonar,biron,barroso,arispe,zacharias,zabel,yaeger,woolford,whetzel,weakley,veatch,vandeusen,tufts,troxel,troche,traver,townsel,talarico,swilley,sterrett,stenger,speakman,sowards,sours,souders,souder,soles,sobers,snoddy,smither,shute,shoaf,shahan,schuetz,scaggs,santini,rosson,rolen,robidoux,rentas,recio,pixley,pawlowski,pawlak,paull,overbey,orear,oliveri,oldenburg,nutting,naugle,mossman,misner,milazzo,michelson,mcentee,mccullar,mccree,mcaleer,mazzone,mandell,manahan,malott,maisonet,mailloux,lumley,lowrie,louviere,lipinski,lindemann,leppert,leasure,labarge,kubik,knisely,knepp,kenworthy,kennelly,kelch,kanter,houchin,hosley,hosler,hollon,holleman,heitman,haggins,gwaltney,goulding,gorden,geraci,gathers,frison,feagin,falconer,espada,erving,erikson,eisenhauer,ebeling,durgin,dowdle,dinwiddie,delcastillo,dedrick,crimmins,covell,cournoyer,coria,cohan,cataldo,carpentier,canas,campa,brode,brashears,blaser,bicknell,bednar,barwick,ascencio,althoff,almodovar,alamo,zirkle,zabala,wolverton,winebrenner,wetherell,westlake,wegener,weddington,tuten,trosclair,tressler,theroux,teske,swinehart,swensen,sundquist,southall,socha,sizer,silverberg,shortt,shimizu,sherrard,shaeffer,scheid,scheetz,saravia,sanner,rubinstein,rozell,romer,rheaume,reisinger,randles,pullum,petrella,payan,nordin,norcross,nicoletti,nicholes,newbold,nakagawa,monteith,milstead,milliner,mellen,mccardle,liptak,leitch,latimore,larrison,landau,laborde,koval,izquierdo,hymel,hoskin,holte,hoefer,hayworth,hausman,harrill,harrel,hardt,gully,groover,grinnell,greenspan,graver,grandberry,gorrell,goldenberg,goguen,gilleland,fuson,feldmann,everly,dyess,dunnigan,downie,dolby,deatherage,cosey,cheever,celaya,caver,cashion,caplinger,cansler,byrge,bruder,breuer,breslin,brazelton,botkin,bonneau,bondurant,bohanan,bogue,bodner,boatner,blatt,bickley,belliveau,beiler,beier,beckstead,bachmann,atkin,altizer,alloway,allaire,albro,abron,zellmer,yetter,yelverton,wiens,whidden,viramontes,vanwormer,tarantino,tanksley,sumlin,strauch,strang,stice,spahn,sosebee,sigala,shrout,seamon,schrum,schneck,schantz,ruddy,romig,roehl,renninger,reding,polak,pohlman,pasillas,oldfield,oldaker,ohanlon,ogilvie,norberg,nolette,neufeld,nellis,mummert,mulvihill,mullaney,monteleone,mendonca,meisner,mcmullan,mccluney,mattis,massengill,manfredi,luedtke,lounsbury,liberatore,lamphere,laforge,jourdan,iorio,iniguez,ikeda,hubler,hodgdon,hocking,heacock,haslam,haralson,hanshaw,hannum,hallam,haden,garnes,garces,gammage,gambino,finkel,faucett,ehrhardt,eggen,dusek,durrant,dubay,dones,depasquale,delucia,degraff,decamp,davalos,cullins,conard,clouser,clontz,cifuentes,chappel,chaffins,celis,carwile,byram,bruggeman,bressler,brathwaite,brasfield,bradburn,boose,bodie,blosser,bertsch,bernardi,bernabe,bengtson,barrette,astorga,alday,albee,abrahamson,yarnell,wiltse,wiebe,waguespack,vasser,upham,turek,traxler,torain,tomaszewski,tinnin,tiner,tindell,styron,stahlman,staab,skiba,sheperd,seidl,secor,schutte,sanfilippo,ruder,rondon,rearick,procter,prochaska,pettengill,pauly,neilsen,nally,mullenax,morano,meads,mcnaughton,mcmurtry,mcmath,mckinsey,matthes,massenburg,marlar,margolis,malin,magallon,mackin,lovette,loughran,loring,longstreet,loiselle,lenihan,kunze,koepke,kerwin,kalinowski,kagan,innis,innes,holtzman,heinemann,harshman,haider,haack,grondin,grissett,greenawalt,goudy,goodlett,goldston,gokey,gardea,galaviz,gafford,gabrielson,furlow,fritch,fordyce,folger,elizalde,ehlert,eckhoff,eccleston,ealey,dubin,diemer,deschamps,delapena,decicco,debolt,cullinan,crittendon,crase,cossey,coppock,coots,colyer,cluck,chamberland,burkhead,bumpus,buchan,borman,birkholz,berardi,benda,behnke,barter,amezquita,wotring,wirtz,wingert,wiesner,whitesides,weyant,wainscott,venezia,varnell,tussey,thurlow,tabares,stiver,stell,starke,stanhope,stanek,sisler,sinnott,siciliano,shehan,selph,seager,scurlock,scranton,santucci,santangelo,saltsman,rogge,rettig,renwick,reidy,reider,redfield,premo,parente,paolucci,palmquist,ohler,netherton,mutchler,morita,mistretta,minnis,middendorf,menzel,mendosa,mendelson,meaux,mcspadden,mcquaid,mcnatt,manigault,maney,mager,lukes,lopresti,liriano,letson,lechuga,lazenby,lauria,larimore,krupp,krupa,kopec,kinchen,kifer,kerney,kerner,kennison,kegley,karcher,justis,johson,jellison,janke,huskins,holzman,hinojos,hefley,hatmaker,harte,halloway,hallenbeck,goodwyn,glaspie,geise,fullwood,fryman,frakes,fraire,farrer,enlow,engen,ellzey,eckles,earles,dunkley,drinkard,dreiling,draeger,dinardo,dills,desroches,desantiago,curlee,crumbley,critchlow,coury,courtright,coffield,cleek,charpentier,cardone,caples,cantin,buntin,bugbee,brinkerhoff,brackin,bourland,blassingame,beacham,banning,auguste,andreasen,amann,almon,alejo,adelman,abston,yerger,wymer,woodberry,windley,whiteaker,westfield,weibel,wanner,waldrep,villani,vanarsdale,utterback,updike,triggs,topete,tolar,tigner,thoms,tauber,tarvin,tally,swiney,sweatman,studebaker,stennett,starrett,stannard,stalvey,sonnenberg,smithey,sieber,sickles,shinault,segars,sanger,salmeron,rothe,rizzi,restrepo,ralls,ragusa,quiroga,papenfuss,oropeza,okane,mudge,mozingo,molinaro,mcvicker,mcgarvey,mcfalls,mccraney,matus,magers,llanos,livermore,linehan,leitner,laymon,lawing,lacourse,kwong,kollar,kneeland,kennett,kellett,kangas,janzen,hutter,huling,hofmeister,hewes,harjo,habib,guice,grullon,greggs,grayer,granier,grable,gowdy,giannini,getchell,gartman,garnica,ganey,gallimore,fetters,fergerson,farlow,fagundes,exley,esteves,enders,edenfield,easterwood,drakeford,dipasquale,desousa,deshields,deeter,dedmon,debord,daughtery,cutts,courtemanche,coursey,copple,coomes,collis,cogburn,clopton,choquette,chaidez,castrejon,calhoon,burbach,bulloch,buchman,bruhn,bohon,blough,baynes,barstow,zeman,zackery,yardley,yamashita,wulff,wilken,wiliams,wickersham,wible,whipkey,wedgeworth,walmsley,walkup,vreeland,verrill,umana,traub,swingle,summey,stroupe,stockstill,steffey,stefanski,statler,stapp,speights,solari,soderberg,shunk,shorey,shewmaker,sheilds,schiffer,schank,schaff,sagers,rochon,riser,rickett,reale,raglin,polen,plata,pitcock,percival,palen,orona,oberle,nocera,navas,nault,mullings,montejano,monreal,minick,middlebrook,meece,mcmillion,mccullen,mauck,marshburn,maillet,mahaney,magner,maclin,lucey,litteral,lippincott,leite,leaks,lamarre,jurgens,jerkins,jager,hurwitz,hughley,hotaling,horstman,hohman,hocker,hively,hipps,hessler,hermanson,hepworth,helland,hedlund,harkless,haigler,gutierez,grindstaff,glantz,giardina,gerken,gadsden,finnerty,farnum,encinas,drakes,dennie,cutlip,curtsinger,couto,cortinas,corby,chiasson,carle,carballo,brindle,borum,bober,blagg,berthiaume,beahm,batres,basnight,backes,axtell,atterberry,alvares,alegria,woodell,wojciechowski,winfree,winbush,wiest,wesner,wamsley,wakeman,verner,truex,trafton,toman,thorsen,theus,tellier,tallant,szeto,strope,stills,simkins,shuey,shaul,servin,serio,serafin,salguero,ryerson,rudder,ruark,rother,rohrbaugh,rohrbach,rohan,rogerson,risher,reeser,pryce,prokop,prins,priebe,prejean,pinheiro,petrone,petri,penson,pearlman,parikh,natoli,murakami,mullikin,mullane,motes,morningstar,mcveigh,mcgrady,mcgaughey,mccurley,marchan,manske,lusby,linde,likens,licon,leroux,lemaire,legette,laskey,laprade,laplant,kolar,kittredge,kinley,kerber,kanagy,jetton,janik,ippolito,inouye,hunsinger,howley,howery,horrell,holthaus,hiner,hilson,hilderbrand,hartzler,harnish,harada,hansford,halligan,hagedorn,gwynn,gudino,greenstein,greear,gracey,goudeau,goodner,ginsburg,gerth,gerner,fujii,frier,frenette,folmar,fleisher,fleischmann,fetzer,eisenman,earhart,dupuy,dunkelberger,drexler,dillinger,dilbeck,dewald,demby,deford,craine,chesnut,casady,carstens,carrick,carino,carignan,canchola,bushong,burman,buono,brownlow,broach,britten,brickhouse,boyden,boulton,borland,bohrer,blubaugh,bever,berggren,benevides,arocho,arends,amezcua,almendarez,zalewski,witzel,winkfield,wilhoite,vangundy,vanfleet,vanetten,vandergriff,urbanski,troiano,thibodaux,straus,stoneking,stjean,stillings,stange,speicher,speegle,smeltzer,slawson,simmonds,shuttleworth,serpa,senger,seidman,schweiger,schloss,schimmel,schechter,sayler,sabatini,ronan,rodiguez,riggleman,richins,reamer,prunty,porath,plunk,piland,philbrook,pettitt,perna,peralez,pascale,padula,oboyle,nivens,nickols,mundt,munden,montijo,mcmanis,mcgrane,mccrimmon,manzi,mangold,malick,mahar,maddock,losey,litten,leedy,leavell,ladue,krahn,kluge,junker,iversen,imler,hurtt,huizar,hubbert,howington,hollomon,holdren,hoisington,heiden,hauge,hartigan,gutirrez,griffie,greenhill,gratton,granata,gottfried,gertz,gautreaux,furry,furey,funderburg,flippen,fitzgibbon,drucker,donoghue,dildy,devers,detweiler,despres,denby,degeorge,cueto,cranston,courville,clukey,cirillo,chivers,caudillo,butera,bulluck,buckmaster,braunstein,bracamonte,bourdeau,bonnette".split(","),us_tv_and_film:"you,i,to,that,it,me,what,this,know,i'm,no,have,my,don't,just,not,do,be,your,we,it's,so,but,all,well,oh,about,right,you're,get,here,out,going,like,yeah,if,can,up,want,think,that's,now,go,him,how,got,did,why,see,come,good,really,look,will,okay,back,can't,mean,tell,i'll,hey,he's,could,didn't,yes,something,because,say,take,way,little,make,need,gonna,never,we're,too,she's,i've,sure,our,sorry,what's,let,thing,maybe,down,man,very,there's,should,anything,said,much,any,even,off,please,doing,thank,give,thought,help,talk,god,still,wait,find,nothing,again,things,let's,doesn't,call,told,great,better,ever,night,away,believe,feel,everything,you've,fine,last,keep,does,put,around,stop,they're,i'd,guy,isn't,always,listen,wanted,guys,huh,those,big,lot,happened,thanks,won't,trying,kind,wrong,talking,guess,care,bad,mom,remember,getting,we'll,together,dad,leave,understand,wouldn't,actually,hear,baby,nice,father,else,stay,done,wasn't,course,might,mind,every,enough,try,hell,came,someone,you'll,whole,yourself,idea,ask,must,coming,looking,woman,room,knew,tonight,real,son,hope,went,hmm,happy,pretty,saw,girl,sir,friend,already,saying,next,job,problem,minute,thinking,haven't,heard,honey,matter,myself,couldn't,exactly,having,probably,happen,we've,hurt,boy,dead,gotta,alone,excuse,start,kill,hard,you'd,today,car,ready,without,wants,hold,wanna,yet,seen,deal,once,gone,morning,supposed,friends,head,stuff,worry,live,truth,face,forget,true,cause,soon,knows,telling,wife,who's,chance,run,move,anyone,person,bye,somebody,heart,miss,making,meet,anyway,phone,reason,damn,lost,looks,bring,case,turn,wish,tomorrow,kids,trust,check,change,anymore,least,aren't,working,makes,taking,means,brother,hate,ago,says,beautiful,gave,fact,crazy,sit,afraid,important,rest,fun,kid,word,watch,glad,everyone,sister,minutes,everybody,bit,couple,whoa,either,mrs,feeling,daughter,wow,gets,asked,break,promise,door,close,hand,easy,question,tried,far,walk,needs,mine,killed,hospital,anybody,alright,wedding,shut,able,die,perfect,stand,comes,hit,waiting,dinner,funny,husband,almost,pay,answer,cool,eyes,news,child,shouldn't,yours,moment,sleep,read,where's,sounds,sonny,pick,sometimes,bed,date,plan,hours,lose,hands,serious,shit,behind,inside,ahead,week,wonderful,fight,past,cut,quite,he'll,sick,it'll,eat,nobody,goes,save,seems,finally,lives,worried,upset,carly,met,brought,seem,sort,safe,weren't,leaving,front,shot,loved,asking,running,clear,figure,hot,felt,parents,drink,absolutely,how's,daddy,sweet,alive,sense,meant,happens,bet,blood,ain't,kidding,lie,meeting,dear,seeing,sound,fault,ten,buy,hour,speak,lady,jen,thinks,christmas,outside,hang,possible,worse,mistake,ooh,handle,spend,totally,giving,here's,marriage,realize,unless,sex,send,needed,scared,picture,talked,ass,hundred,changed,completely,explain,certainly,sign,boys,relationship,loves,hair,lying,choice,anywhere,future,weird,luck,she'll,turned,touch,kiss,crane,questions,obviously,wonder,pain,calling,somewhere,throw,straight,cold,fast,words,food,none,drive,feelings,they'll,marry,drop,cannot,dream,protect,twenty,surprise,sweetheart,poor,looked,mad,except,gun,y'know,dance,takes,appreciate,especially,situation,besides,pull,hasn't,worth,sheridan,amazing,expect,swear,piece,busy,happening,movie,we'd,catch,perhaps,step,fall,watching,kept,darling,dog,honor,moving,till,admit,problems,murder,he'd,evil,definitely,feels,honest,eye,broke,missed,longer,dollars,tired,evening,starting,entire,trip,niles,suppose,calm,imagine,fair,caught,blame,sitting,favor,apartment,terrible,clean,learn,frasier,relax,accident,wake,prove,smart,message,missing,forgot,interested,table,nbsp,mouth,pregnant,ring,careful,shall,dude,ride,figured,wear,shoot,stick,follow,angry,write,stopped,ran,standing,forgive,jail,wearing,ladies,kinda,lunch,cristian,greenlee,gotten,hoping,phoebe,thousand,ridge,paper,tough,tape,count,boyfriend,proud,agree,birthday,they've,share,offer,hurry,feet,wondering,decision,ones,finish,voice,herself,would've,mess,deserve,evidence,cute,dress,interesting,hotel,enjoy,quiet,concerned,staying,beat,sweetie,mention,clothes,fell,neither,mmm,fix,respect,prison,attention,holding,calls,surprised,bar,keeping,gift,hadn't,putting,dark,owe,ice,helping,normal,aunt,lawyer,apart,plans,jax,girlfriend,floor,whether,everything's,box,judge,upstairs,sake,mommy,possibly,worst,acting,accept,blow,strange,saved,conversation,plane,mama,yesterday,lied,quick,lately,stuck,difference,store,she'd,bought,doubt,listening,walking,cops,deep,dangerous,buffy,sleeping,chloe,rafe,join,card,crime,gentlemen,willing,window,walked,guilty,likes,fighting,difficult,soul,joke,favorite,uncle,promised,bother,seriously,cell,knowing,broken,advice,somehow,paid,losing,push,helped,killing,boss,liked,innocent,rules,learned,thirty,risk,letting,speaking,ridiculous,afternoon,apologize,nervous,charge,patient,boat,how'd,hide,detective,planning,huge,breakfast,horrible,awful,pleasure,driving,hanging,picked,sell,quit,apparently,dying,notice,congratulations,visit,could've,c'mon,letter,decide,forward,fool,showed,smell,seemed,spell,memory,pictures,slow,seconds,hungry,hearing,kitchen,ma'am,should've,realized,kick,grab,discuss,fifty,reading,idiot,suddenly,agent,destroy,bucks,shoes,peace,arms,demon,livvie,consider,papers,incredible,witch,drunk,attorney,tells,knock,ways,gives,nose,skye,turns,keeps,jealous,drug,sooner,cares,plenty,extra,outta,weekend,matters,gosh,opportunity,impossible,waste,pretend,jump,eating,proof,slept,arrest,breathe,perfectly,warm,pulled,twice,easier,goin,dating,suit,romantic,drugs,comfortable,finds,checked,divorce,begin,ourselves,closer,ruin,smile,laugh,treat,fear,what'd,otherwise,excited,mail,hiding,stole,pacey,noticed,fired,excellent,bringing,bottom,note,sudden,bathroom,honestly,sing,foot,remind,charges,witness,finding,tree,dare,hardly,that'll,steal,silly,contact,teach,shop,plus,colonel,fresh,trial,invited,roll,reach,dirty,choose,emergency,dropped,butt,credit,obvious,locked,loving,nuts,agreed,prue,goodbye,condition,guard,fuckin,grow,cake,mood,crap,crying,belong,partner,trick,pressure,dressed,taste,neck,nurse,raise,lots,carry,whoever,drinking,they'd,breaking,file,lock,wine,spot,paying,assume,asleep,turning,viki,bedroom,shower,nikolas,camera,fill,reasons,forty,bigger,nope,breath,doctors,pants,freak,movies,folks,cream,wild,truly,desk,convince,client,threw,hurts,spending,answers,shirt,chair,rough,doin,sees,ought,empty,wind,aware,dealing,pack,tight,hurting,guest,arrested,salem,confused,surgery,expecting,deacon,unfortunately,goddamn,bottle,beyond,whenever,pool,opinion,starts,jerk,secrets,falling,necessary,barely,dancing,tests,copy,cousin,ahem,twelve,tess,skin,fifteen,speech,orders,complicated,nowhere,escape,biggest,restaurant,grateful,usual,burn,address,someplace,screw,everywhere,regret,goodness,mistakes,details,responsibility,suspect,corner,hero,dumb,terrific,whoo,hole,memories,o'clock,teeth,ruined,bite,stenbeck,liar,showing,cards,desperate,search,pathetic,spoke,scare,marah,afford,settle,stayed,checking,hired,heads,concern,blew,alcazar,champagne,connection,tickets,happiness,saving,kissing,hated,personally,suggest,prepared,onto,downstairs,ticket,it'd,loose,holy,duty,convinced,throwing,kissed,legs,loud,saturday,babies,where'd,warning,miracle,carrying,blind,ugly,shopping,hates,sight,bride,coat,clearly,celebrate,brilliant,wanting,forrester,lips,custody,screwed,buying,toast,thoughts,reality,lexie,attitude,advantage,grandfather,sami,grandma,someday,roof,marrying,powerful,grown,grandmother,fake,must've,ideas,exciting,familiar,bomb,bout,harmony,schedule,capable,practically,correct,clue,forgotten,appointment,deserves,threat,bloody,lonely,shame,jacket,hook,scary,investigation,invite,shooting,lesson,criminal,victim,funeral,considering,burning,strength,harder,sisters,pushed,shock,pushing,heat,chocolate,miserable,corinthos,nightmare,brings,zander,crash,chances,sending,recognize,healthy,boring,feed,engaged,headed,treated,knife,drag,badly,hire,paint,pardon,behavior,closet,warn,gorgeous,milk,survive,ends,dump,rent,remembered,thanksgiving,rain,revenge,prefer,spare,pray,disappeared,aside,statement,sometime,meat,fantastic,breathing,laughing,stood,affair,ours,depends,protecting,jury,brave,fingers,murdered,explanation,picking,blah,stronger,handsome,unbelievable,anytime,shake,oakdale,wherever,pulling,facts,waited,lousy,circumstances,disappointed,weak,trusted,license,nothin,trash,understanding,slip,sounded,awake,friendship,stomach,weapon,threatened,mystery,vegas,understood,basically,switch,frankly,cheap,lifetime,deny,clock,garbage,why'd,tear,ears,indeed,changing,singing,tiny,decent,avoid,messed,filled,touched,disappear,exact,pills,kicked,harm,fortune,pretending,insurance,fancy,drove,cared,belongs,nights,lorelai,lift,timing,guarantee,chest,woke,burned,watched,heading,selfish,drinks,doll,committed,elevator,freeze,noise,wasting,ceremony,uncomfortable,staring,files,bike,stress,permission,thrown,possibility,borrow,fabulous,doors,screaming,bone,xander,what're,meal,apology,anger,honeymoon,bail,parking,fixed,wash,stolen,sensitive,stealing,photo,chose,lets,comfort,worrying,pocket,mateo,bleeding,shoulder,ignore,talent,tied,garage,dies,demons,dumped,witches,rude,crack,bothering,radar,soft,meantime,gimme,kinds,fate,concentrate,throat,prom,messages,intend,ashamed,somethin,manage,guilt,interrupt,guts,tongue,shoe,basement,sentence,purse,glasses,cabin,universe,repeat,mirror,wound,travers,tall,engagement,therapy,emotional,jeez,decisions,soup,thrilled,stake,chef,moves,extremely,moments,expensive,counting,shots,kidnapped,cleaning,shift,plate,impressed,smells,trapped,aidan,knocked,charming,attractive,argue,puts,whip,embarrassed,package,hitting,bust,stairs,alarm,pure,nail,nerve,incredibly,walks,dirt,stamp,terribly,friendly,damned,jobs,suffering,disgusting,stopping,deliver,riding,helps,disaster,bars,crossed,trap,talks,eggs,chick,threatening,spoken,introduce,confession,embarrassing,bags,impression,gate,reputation,presents,chat,suffer,argument,talkin,crowd,homework,coincidence,cancel,pride,solve,hopefully,pounds,pine,mate,illegal,generous,outfit,maid,bath,punch,freaked,begging,recall,enjoying,prepare,wheel,defend,signs,painful,yourselves,maris,that'd,suspicious,cooking,button,warned,sixty,pity,yelling,awhile,confidence,offering,pleased,panic,hers,gettin,refuse,grandpa,testify,choices,cruel,mental,gentleman,coma,cutting,proteus,guests,expert,benefit,faces,jumped,toilet,sneak,halloween,privacy,smoking,reminds,twins,swing,solid,options,commitment,crush,ambulance,wallet,gang,eleven,option,laundry,assure,stays,skip,fail,discussion,clinic,betrayed,sticking,bored,mansion,soda,sheriff,suite,handled,busted,load,happier,studying,romance,procedure,commit,assignment,suicide,minds,swim,yell,llanview,chasing,proper,believes,humor,hopes,lawyers,giant,latest,escaped,parent,tricks,insist,dropping,cheer,medication,flesh,routine,sandwich,handed,false,beating,warrant,awfully,odds,treating,thin,suggesting,fever,sweat,silent,clever,sweater,mall,sharing,assuming,judgment,goodnight,divorced,surely,steps,confess,math,listened,comin,answered,vulnerable,bless,dreaming,chip,zero,pissed,nate,kills,tears,knees,chill,brains,unusual,packed,dreamed,cure,lookin,grave,cheating,breaks,locker,gifts,awkward,thursday,joking,reasonable,dozen,curse,quartermaine,millions,dessert,rolling,detail,alien,delicious,closing,vampires,wore,tail,secure,salad,murderer,spit,offense,dust,conscience,bread,answering,lame,invitation,grief,smiling,pregnancy,prisoner,delivery,guards,virus,shrink,freezing,wreck,massimo,wire,technically,blown,anxious,cave,holidays,cleared,wishes,caring,candles,bound,charm,pulse,jumping,jokes,boom,occasion,silence,nonsense,frightened,slipped,dimera,blowing,relationships,kidnapping,spin,tool,roxy,packing,blaming,wrap,obsessed,fruit,torture,personality,there'll,fairy,necessarily,seventy,print,motel,underwear,grams,exhausted,believing,freaking,carefully,trace,touching,messing,recovery,intention,consequences,belt,sacrifice,courage,enjoyed,attracted,remove,testimony,intense,heal,defending,unfair,relieved,loyal,slowly,buzz,alcohol,surprises,psychiatrist,plain,attic,who'd,uniform,terrified,cleaned,zach,threaten,fella,enemies,satisfied,imagination,hooked,headache,forgetting,counselor,andie,acted,badge,naturally,frozen,sakes,appropriate,trunk,dunno,costume,sixteen,impressive,kicking,junk,grabbed,understands,describe,clients,owns,affect,witnesses,starving,instincts,happily,discussing,deserved,strangers,surveillance,admire,questioning,dragged,barn,deeply,wrapped,wasted,tense,hoped,fellas,roommate,mortal,fascinating,stops,arrangements,agenda,literally,propose,honesty,underneath,sauce,promises,lecture,eighty,torn,shocked,backup,differently,ninety,deck,biological,pheebs,ease,creep,waitress,telephone,ripped,raising,scratch,rings,prints,thee,arguing,ephram,asks,oops,diner,annoying,taggert,sergeant,blast,towel,clown,habit,creature,bermuda,snap,react,paranoid,handling,eaten,therapist,comment,sink,reporter,nurses,beats,priority,interrupting,warehouse,loyalty,inspector,pleasant,excuses,threats,guessing,tend,praying,motive,unconscious,mysterious,unhappy,tone,switched,rappaport,sookie,neighbor,loaded,swore,piss,balance,toss,misery,thief,squeeze,lobby,goa'uld,geez,exercise,forth,booked,sandburg,poker,eighteen,d'you,bury,everyday,digging,creepy,wondered,liver,hmmm,magical,fits,discussed,moral,helpful,searching,flew,depressed,aisle,cris,amen,vows,neighbors,darn,cents,arrange,annulment,useless,adventure,resist,fourteen,celebrating,inch,debt,violent,sand,teal'c,celebration,reminded,phones,paperwork,emotions,stubborn,pound,tension,stroke,steady,overnight,chips,beef,suits,boxes,cassadine,collect,tragedy,spoil,realm,wipe,surgeon,stretch,stepped,nephew,neat,limo,confident,perspective,climb,punishment,finest,springfield,hint,furniture,blanket,twist,proceed,fries,worries,niece,gloves,soap,signature,disappoint,crawl,convicted,flip,counsel,doubts,crimes,accusing,shaking,remembering,hallway,halfway,bothered,madam,gather,cameras,blackmail,symptoms,rope,ordinary,imagined,cigarette,supportive,explosion,trauma,ouch,furious,cheat,avoiding,whew,thick,oooh,boarding,approve,urgent,shhh,misunderstanding,drawer,phony,interfere,catching,bargain,tragic,respond,punish,penthouse,thou,rach,ohhh,insult,bugs,beside,begged,absolute,strictly,socks,senses,sneaking,reward,polite,checks,tale,physically,instructions,fooled,blows,tabby,bitter,adorable,y'all,tested,suggestion,jewelry,alike,jacks,distracted,shelter,lessons,constable,circus,audition,tune,shoulders,mask,helpless,feeding,explains,sucked,robbery,objection,behave,valuable,shadows,courtroom,confusing,talented,smarter,mistaken,customer,bizarre,scaring,motherfucker,alert,vecchio,reverend,foolish,compliment,bastards,worker,wheelchair,protective,gentle,reverse,picnic,knee,cage,wives,wednesday,voices,toes,stink,scares,pour,cheated,slide,ruining,filling,exit,cottage,upside,proves,parked,diary,complaining,confessed,pipe,merely,massage,chop,spill,prayer,betray,waiter,scam,rats,fraud,brush,tables,sympathy,pill,filthy,seventeen,employee,bracelet,pays,fairly,deeper,arrive,tracking,spite,shed,recommend,oughta,nanny,menu,diet,corn,roses,patch,dime,devastated,subtle,bullets,beans,pile,confirm,strings,parade,borrowed,toys,straighten,steak,premonition,planted,honored,exam,convenient,traveling,laying,insisted,dish,aitoro,kindly,grandson,donor,temper,teenager,proven,mothers,denial,backwards,tent,swell,noon,happiest,drives,thinkin,spirits,potion,holes,fence,whatsoever,rehearsal,overheard,lemme,hostage,bench,tryin,taxi,shove,moron,impress,needle,intelligent,instant,disagree,stinks,rianna,recover,groom,gesture,constantly,bartender,suspects,sealed,legally,hears,dresses,sheet,psychic,teenage,knocking,judging,accidentally,waking,rumor,manners,homeless,hollow,desperately,tapes,referring,item,genoa,gear,majesty,cried,tons,spells,instinct,quote,motorcycle,convincing,fashioned,aids,accomplished,grip,bump,upsetting,needing,invisible,forgiveness,feds,compare,bothers,tooth,inviting,earn,compromise,cocktail,tramp,jabot,intimate,dignity,dealt,souls,informed,gods,dressing,cigarettes,alistair,leak,fond,corky,seduce,liquor,fingerprints,enchantment,butters,stuffed,stavros,emotionally,transplant,tips,oxygen,nicely,lunatic,drill,complain,announcement,unfortunate,slap,prayers,plug,opens,oath,o'neill,mutual,yacht,remembers,fried,extraordinary,bait,warton,sworn,stare,safely,reunion,burst,might've,dive,aboard,expose,buddies,trusting,booze,sweep,sore,scudder,properly,parole,ditch,canceled,speaks,glow,wears,thirsty,skull,ringing,dorm,dining,bend,unexpected,pancakes,harsh,flattered,ahhh,troubles,fights,favourite,eats,rage,undercover,spoiled,sloane,shine,destroying,deliberately,conspiracy,thoughtful,sandwiches,plates,nails,miracles,fridge,drank,contrary,beloved,allergic,washed,stalking,solved,sack,misses,forgiven,bent,maciver,involve,dragging,cooked,pointing,foul,dull,beneath,heels,faking,deaf,stunt,jealousy,hopeless,fears,cuts,scenario,necklace,crashed,accuse,restraining,homicide,helicopter,firing,safer,auction,videotape,tore,reservations,pops,appetite,wounds,vanquish,ironic,fathers,excitement,anyhow,tearing,sends,rape,laughed,belly,dealer,cooperate,accomplish,wakes,spotted,sorts,reservation,ashes,tastes,supposedly,loft,intentions,integrity,wished,towels,suspected,investigating,inappropriate,lipstick,lawn,compassion,cafeteria,scarf,precisely,obsession,loses,lighten,infection,granddaughter,explode,balcony,this'll,spying,publicity,depend,cracked,conscious,ally,absurd,vicious,invented,forbid,directions,defendant,bare,announce,screwing,salesman,robbed,leap,lakeview,insanity,reveal,possibilities,kidnap,gown,chairs,wishing,setup,punished,criminals,regrets,raped,quarters,lamp,dentist,anyways,anonymous,semester,risks,owes,lungs,explaining,delicate,tricked,eager,doomed,adoption,stab,sickness,scum,floating,envelope,vault,sorel,pretended,potatoes,plea,photograph,payback,misunderstood,kiddo,healing,cascade,capeside,stabbed,remarkable,brat,privilege,passionate,nerves,lawsuit,kidney,disturbed,cozy,tire,shirts,oven,ordering,delay,risky,monsters,honorable,grounded,closest,breakdown,bald,abandon,scar,collar,worthless,sucking,enormous,disturbing,disturb,distract,deals,conclusions,vodka,dishes,crawling,briefcase,wiped,whistle,sits,roast,rented,pigs,flirting,deposit,bottles,topic,riot,overreacting,logical,hostile,embarrass,casual,beacon,amusing,altar,claus,survival,skirt,shave,porch,ghosts,favors,drops,dizzy,chili,advise,strikes,rehab,photographer,peaceful,leery,heavens,fortunately,fooling,expectations,cigar,weakness,ranch,practicing,examine,cranes,bribe,sail,prescription,hush,fragile,forensics,expense,drugged,cows,bells,visitor,suitcase,sorta,scan,manticore,insecure,imagining,hardest,clerk,wrist,what'll,starters,silk,pump,pale,nicer,haul,flies,boot,thumb,there'd,how're,elders,quietly,pulls,idiots,erase,denying,ankle,amnesia,accepting,heartbeat,devane,confront,minus,legitimate,fixing,arrogant,tuna,supper,slightest,sins,sayin,recipe,pier,paternity,humiliating,genuine,snack,rational,minded,guessed,weddings,tumor,humiliated,aspirin,spray,picks,eyed,drowning,contacts,ritual,perfume,hiring,hating,docks,creatures,visions,thanking,thankful,sock,nineteen,fork,throws,teenagers,stressed,slice,rolls,plead,ladder,kicks,detectives,assured,tellin,shallow,responsibilities,repay,howdy,girlfriends,deadly,comforting,ceiling,verdict,insensitive,spilled,respected,messy,interrupted,halliwell,blond,bleed,wardrobe,takin,murders,backs,underestimate,justify,harmless,frustrated,fold,enzo,communicate,bugging,arson,whack,salary,rumors,obligation,liking,dearest,congratulate,vengeance,rack,puzzle,fires,courtesy,caller,blamed,tops,quiz,prep,curiosity,circles,barbecue,sunnydale,spinning,psychotic,cough,accusations,resent,laughs,freshman,envy,drown,bartlet,asses,sofa,poster,highness,dock,apologies,theirs,stat,stall,realizes,psych,mmmm,fools,understandable,treats,succeed,stir,relaxed,makin,gratitude,faithful,accent,witter,wandering,locate,inevitable,gretel,deed,crushed,controlling,smelled,robe,gossip,gambling,cosmetics,accidents,surprising,stiff,sincere,rushed,refrigerator,preparing,nightmares,mijo,ignoring,hunch,fireworks,drowned,brass,whispering,sophisticated,luggage,hike,explore,emotion,crashing,contacted,complications,shining,rolled,righteous,reconsider,goody,geek,frightening,ethics,creeps,courthouse,camping,affection,smythe,haircut,essay,baked,apologized,vibe,respects,receipt,mami,hats,destructive,adore,adopt,tracked,shorts,reminding,dough,creations,cabot,barrel,snuck,slight,reporters,pressing,magnificent,madame,lazy,glorious,fiancee,bits,visitation,sane,kindness,shoulda,rescued,mattress,lounge,lifted,importantly,glove,enterprises,disappointment,condo,beings,admitting,yelled,waving,spoon,screech,satisfaction,reads,nailed,worm,tick,resting,marvelous,fuss,cortlandt,chased,pockets,luckily,lilith,filing,conversations,consideration,consciousness,worlds,innocence,forehead,aggressive,trailer,slam,quitting,inform,delighted,daylight,danced,confidential,aunts,washing,tossed,spectra,marrow,lined,implying,hatred,grill,corpse,clues,sober,offended,morgue,infected,humanity,distraction,cart,wired,violation,promising,harassment,glue,d'angelo,cursed,brutal,warlocks,wagon,unpleasant,proving,priorities,mustn't,lease,flame,disappearance,depressing,thrill,sitter,ribs,flush,earrings,deadline,corporal,collapsed,update,snapped,smack,melt,figuring,delusional,coulda,burnt,tender,sperm,realise,pork,popped,interrogation,esteem,choosing,undo,pres,prayed,plague,manipulate,insulting,detention,delightful,coffeehouse,betrayal,apologizing,adjust,wrecked,wont,whipped,rides,reminder,monsieur,faint,bake,distress,correctly,complaint,blocked,tortured,risking,pointless,handing,dumping,cups,alibi,struggling,shiny,risked,mummy,mint,hose,hobby,fortunate,fleischman,fitting,curtain,counseling,rode,puppet,modeling,memo,irresponsible,humiliation,hiya,freakin,felony,choke,blackmailing,appreciated,tabloid,suspicion,recovering,pledge,panicked,nursery,louder,jeans,investigator,homecoming,frustrating,buys,busting,buff,sleeve,irony,dope,declare,autopsy,workin,torch,prick,limb,hysterical,goddamnit,fetch,dimension,crowded,clip,climbing,bonding,woah,trusts,negotiate,lethal,iced,fantasies,deeds,bore,babysitter,questioned,outrageous,kiriakis,insulted,grudge,driveway,deserted,definite,beep,wires,suggestions,searched,owed,lend,drunken,demanding,costanza,conviction,bumped,weigh,touches,tempted,shout,resolve,relate,poisoned,meals,invitations,haunted,bogus,autograph,affects,tolerate,stepping,spontaneous,sleeps,probation,manny,fist,spectacular,hostages,heroin,havin,habits,encouraging,consult,burgers,boyfriends,bailed,baggage,watches,troubled,torturing,teasing,sweetest,qualities,postpone,overwhelmed,malkovich,impulse,classy,charging,amazed,policeman,hypocrite,humiliate,hideous,d'ya,costumes,bluffing,betting,bein,bedtime,alcoholic,vegetable,tray,suspicions,spreading,splendid,shrimp,shouting,pressed,nooo,grieving,gladly,fling,eliminate,cereal,aaah,sonofabitch,paralyzed,lotta,locks,guaranteed,dummy,despise,dental,briefing,bluff,batteries,whatta,sounding,servants,presume,handwriting,fainted,dried,allright,acknowledge,whacked,toxic,reliable,quicker,overwhelming,lining,harassing,fatal,endless,dolls,convict,whatcha,unlikely,shutting,positively,overcome,goddam,essence,dose,diagnosis,cured,bully,ahold,yearbook,tempting,shelf,prosecution,pouring,possessed,greedy,wonders,thorough,spine,rath,psychiatric,meaningless,latte,jammed,ignored,fiance,evidently,contempt,compromised,cans,weekends,urge,theft,suing,shipment,scissors,responding,proposition,noises,matching,hormones,hail,grandchildren,gently,smashed,sexually,sentimental,nicest,manipulated,intern,handcuffs,framed,errands,entertaining,crib,carriage,barge,spends,slipping,seated,rubbing,rely,reject,recommendation,reckon,headaches,float,embrace,corners,whining,sweating,skipped,mountie,motives,listens,cristobel,cleaner,cheerleader,balsom,unnecessary,stunning,scent,quartermaines,pose,montega,loosen,info,hottest,haunt,gracious,forgiving,errand,cakes,blames,abortion,sketch,shifts,plotting,perimeter,pals,mere,mattered,lonigan,interference,eyewitness,enthusiasm,diapers,strongest,shaken,punched,portal,catches,backyard,terrorists,sabotage,organs,needy,cuff,civilization,woof,who'll,prank,obnoxious,mates,hereby,gabby,faked,cellar,whitelighter,void,strangle,sour,muffins,interfering,demonic,clearing,boutique,barrington,terrace,smoked,righty,quack,petey,pact,knot,ketchup,disappearing,cordy,uptight,ticking,terrifying,tease,swamp,secretly,rejection,reflection,realizing,rays,mentally,marone,doubted,deception,congressman,cheesy,toto,stalling,scoop,ribbon,immune,expects,destined,bets,bathing,appreciation,accomplice,wander,shoved,sewer,scroll,retire,lasts,fugitive,freezer,discount,cranky,crank,clearance,bodyguard,anxiety,accountant,whoops,volunteered,talents,stinking,remotely,garlic,decency,cord,beds,altogether,uniforms,tremendous,popping,outa,observe,lung,hangs,feelin,dudes,donation,disguise,curb,bites,antique,toothbrush,realistic,predict,landlord,hourglass,hesitate,consolation,babbling,tipped,stranded,smartest,repeating,puke,psst,paycheck,overreacted,macho,juvenile,grocery,freshen,disposal,cuffs,caffeine,vanished,unfinished,ripping,pinch,flattering,expenses,dinners,colleague,ciao,belthazor,attorneys,woulda,whereabouts,waitin,truce,tripped,tasted,steer,poisoning,manipulative,immature,husbands,heel,granddad,delivering,condoms,addict,trashed,raining,pasta,needles,leaning,detector,coolest,batch,appointments,almighty,vegetables,spark,perfection,pains,momma,mole,meow,hairs,getaway,cracking,compliments,behold,verge,tougher,timer,tapped,taped,specialty,snooping,shoots,rendezvous,pentagon,leverage,jeopardize,janitor,grandparents,forbidden,clueless,bidding,ungrateful,unacceptable,tutor,serum,scuse,pajamas,mouths,lure,irrational,doom,cries,beautifully,arresting,approaching,traitor,sympathetic,smug,smash,rental,prostitute,premonitions,jumps,inventory,darlin,committing,banging,asap,worms,violated,vent,traumatic,traced,sweaty,shaft,overboard,insight,healed,grasp,experiencing,crappy,crab,chunk,awww,stain,shack,reacted,pronounce,poured,moms,marriages,jabez,handful,flipped,fireplace,embarrassment,disappears,concussion,bruises,brakes,twisting,swept,summon,splitting,sloppy,settling,reschedule,notch,hooray,grabbing,exquisite,disrespect,thornhart,straw,slapped,shipped,shattered,ruthless,refill,payroll,numb,mourning,manly,hunk,entertain,drift,dreadful,doorstep,confirmation,chops,appreciates,vague,tires,stressful,stashed,stash,sensed,preoccupied,predictable,noticing,madly,gunshot,dozens,dork,confuse,cleaners,charade,chalk,cappuccino,bouquet,amulet,addiction,who've,warming,unlock,satisfy,sacrificed,relaxing,lone,blocking,blend,blankets,addicted,yuck,hunger,hamburger,greeting,greet,gravy,gram,dreamt,dice,caution,backpack,agreeing,whale,taller,supervisor,sacrifices,phew,ounce,irrelevant,gran,felon,favorites,farther,fade,erased,easiest,convenience,compassionate,cane,backstage,agony,adores,veins,tweek,thieves,surgical,strangely,stetson,recital,proposing,productive,meaningful,immunity,hassle,goddamned,frighten,dearly,cease,ambition,wage,unstable,salvage,richer,refusing,raging,pumping,pressuring,mortals,lowlife,intimidated,intentionally,inspire,forgave,devotion,despicable,deciding,dash,comfy,breach,bark,aaaah,switching,swallowed,stove,screamed,scars,russians,pounding,poof,pipes,pawn,legit,invest,farewell,curtains,civilized,caviar,boost,token,superstition,supernatural,sadness,recorder,psyched,motivated,microwave,hallelujah,fraternity,dryer,cocoa,chewing,acceptable,unbelievably,smiled,smelling,simpler,respectable,remarks,khasinau,indication,gutter,grabs,fulfill,flashlight,ellenor,blooded,blink,blessings,beware,uhhh,turf,swings,slips,shovel,shocking,puff,mirrors,locking,heartless,fras,childish,cardiac,utterly,tuscany,ticked,stunned,statesville,sadly,purely,kiddin,jerks,hitch,flirt,fare,equals,dismiss,christening,casket,c'mere,breakup,biting,antibiotics,accusation,abducted,witchcraft,thread,runnin,punching,paramedics,newest,murdering,masks,lawndale,initials,grampa,choking,charms,careless,bushes,buns,bummed,shred,saves,saddle,rethink,regards,precinct,persuade,meds,manipulating,llanfair,leash,hearted,guarantees,fucks,disgrace,deposition,bookstore,boil,vitals,veil,trespassing,sidewalk,sensible,punishing,overtime,optimistic,obsessing,notify,mornin,jeopardy,jaffa,injection,hilarious,desires,confide,cautious,yada,where're,vindictive,vial,teeny,stroll,sittin,scrub,rebuild,posters,ordeal,nuns,intimacy,inheritance,exploded,donate,distracting,despair,crackers,wildwind,virtue,thoroughly,tails,spicy,sketches,sights,sheer,shaving,seize,scarecrow,refreshing,prosecute,platter,napkin,misplaced,merchandise,loony,jinx,heroic,frankenstein,ambitious,syrup,solitary,resemblance,reacting,premature,lavery,flashes,cheque,awright,acquainted,wrapping,untie,salute,realised,priceless,partying,lightly,lifting,kasnoff,insisting,glowing,generator,explosives,cutie,confronted,buts,blouse,ballistic,antidote,analyze,allowance,adjourned,unto,understatement,tucked,touchy,subconscious,screws,sarge,roommates,rambaldi,offend,nerd,knives,irresistible,incapable,hostility,goddammit,fuse,frat,curfew,blackmailed,walkin,starve,sleigh,sarcastic,recess,rebound,pinned,parlor,outfits,livin,heartache,haired,fundraiser,doorman,discreet,dilucca,cracks,considerate,climbed,catering,apophis,zoey,urine,strung,stitches,sordid,sark,protector,phoned,pets,hostess,flaw,flavor,deveraux,consumed,confidentiality,bourbon,straightened,specials,spaghetti,prettier,powerless,playin,playground,paranoia,instantly,havoc,exaggerating,eavesdropping,doughnuts,diversion,deepest,cutest,comb,bela,behaving,anyplace,accessory,workout,translate,stuffing,speeding,slime,royalty,polls,marital,lurking,lottery,imaginary,greetings,fairwinds,elegant,elbow,credibility,credentials,claws,chopped,bridal,bedside,babysitting,witty,unforgivable,underworld,tempt,tabs,sophomore,selfless,secrecy,restless,okey,movin,metaphor,messes,meltdown,lecter,incoming,gasoline,diefenbaker,buckle,admired,adjustment,warmth,throats,seduced,queer,parenting,noses,luckiest,graveyard,gifted,footsteps,dimeras,cynical,wedded,verbal,unpredictable,tuned,stoop,slides,sinking,rigged,plumbing,lingerie,hankey,greed,everwood,elope,dresser,chauffeur,bulletin,bugged,bouncing,temptation,strangest,slammed,sarcasm,pending,packages,orderly,obsessive,murderers,meteor,inconvenience,glimpse,froze,execute,courageous,consulate,closes,bosses,bees,amends,wuss,wolfram,wacky,unemployed,testifying,syringe,stew,startled,sorrow,sleazy,shaky,screams,rsquo,remark,poke,nutty,mentioning,mend,inspiring,impulsive,housekeeper,foam,fingernails,conditioning,baking,whine,thug,starved,sniffing,sedative,programmed,picket,paged,hound,homosexual,homo,hips,forgets,flipping,flea,flatter,dwell,dumpster,choo,assignments,ants,vile,unreasonable,tossing,thanked,steals,souvenir,scratched,psychopath,outs,obstruction,obey,lump,insists,harass,gloat,filth,edgy,didn,coroner,confessing,bruise,betraying,bailing,appealing,adebisi,wrath,wandered,waist,vain,traps,stepfather,poking,obligated,heavenly,dilemma,crazed,contagious,coaster,cheering,bundle,vomit,thingy,speeches,robbing,raft,pumped,pillows,peep,packs,neglected,m'kay,loneliness,intrude,helluva,gardener,forresters,drooling,betcha,vase,supermarket,squat,spitting,rhyme,relieve,receipts,racket,pictured,pause,overdue,motivation,morgendorffer,kidnapper,insect,horns,feminine,eyeballs,dumps,disappointing,crock,convertible,claw,clamp,canned,cambias,bathtub,avanya,artery,weep,warmer,suspense,summoned,spiders,reiber,raving,pushy,postponed,ohhhh,noooo,mold,laughter,incompetent,hugging,groceries,drip,communicating,auntie,adios,wraps,wiser,willingly,weirdest,timmih,thinner,swelling,swat,steroids,sensitivity,scrape,rehearse,prophecy,ledge,justified,insults,hateful,handles,doorway,chatting,buyer,buckaroo,bedrooms,askin,ammo,tutoring,subpoena,scratching,privileges,pager,mart,intriguing,idiotic,grape,enlighten,corrupt,brunch,bridesmaid,barking,applause,acquaintance,wretched,superficial,soak,smoothly,sensing,restraint,posing,pleading,payoff,oprah,nemo,morals,loaf,jumpy,ignorant,herbal,hangin,germs,generosity,flashing,doughnut,clumsy,chocolates,captive,behaved,apologise,vanity,stumbled,preview,poisonous,perjury,parental,onboard,mugged,minding,linen,knots,interviewing,humour,grind,greasy,goons,drastic,coop,comparing,cocky,clearer,bruised,brag,bind,worthwhile,whoop,vanquishing,tabloids,sprung,spotlight,sentencing,racist,provoke,pining,overly,locket,imply,impatient,hovering,hotter,fest,endure,dots,doren,debts,crawled,chained,brit,breaths,weirdo,warmed,wand,troubling,tok'ra,strapped,soaked,skipping,scrambled,rattle,profound,musta,mocking,misunderstand,limousine,kacl,hustle,forensic,enthusiastic,duct,drawers,devastating,conquer,clarify,chores,cheerleaders,cheaper,callin,blushing,barging,abused,yoga,wrecking,wits,waffles,virginity,vibes,uninvited,unfaithful,teller,strangled,scheming,ropes,rescuing,rave,postcard,o'reily,morphine,lotion,lads,kidneys,judgement,itch,indefinitely,grenade,glamorous,genetically,freud,discretion,delusions,crate,competent,bakery,argh,ahhhh,wedge,wager,unfit,tripping,torment,superhero,stirring,spinal,sorority,seminar,scenery,rabble,pneumonia,perks,override,ooooh,mija,manslaughter,mailed,lime,lettuce,intimidate,guarded,grieve,grad,frustration,doorbell,chinatown,authentic,arraignment,annulled,allergies,wanta,verify,vegetarian,tighter,telegram,stalk,spared,shoo,satisfying,saddam,requesting,pens,overprotective,obstacles,notified,nasedo,grandchild,genuinely,flushed,fluids,floss,escaping,ditched,cramp,corny,bunk,bitten,billions,bankrupt,yikes,wrists,ultrasound,ultimatum,thirst,sniff,shakes,salsa,retrieve,reassuring,pumps,neurotic,negotiating,needn't,monitors,millionaire,lydecker,limp,incriminating,hatchet,gracias,gordie,fills,feeds,doubting,decaf,biopsy,whiz,voluntarily,ventilator,unpack,unload,toad,spooked,snitch,schillinger,reassure,persuasive,mystical,mysteries,matrimony,mails,jock,headline,explanations,dispatch,curly,cupid,condolences,comrade,cassadines,bulb,bragging,awaits,assaulted,ambush,adolescent,abort,yank,whit,vaguely,undermine,tying,swamped,stabbing,slippers,slash,sincerely,sigh,setback,secondly,rotting,precaution,pcpd,melting,liaison,hots,hooking,headlines,haha,ganz,fury,felicity,fangs,encouragement,earring,dreidel,dory,donut,dictate,decorating,cocktails,bumps,blueberry,believable,backfired,backfire,apron,adjusting,vous,vouch,vitamins,ummm,tattoos,slimy,sibling,shhhh,renting,peculiar,parasite,paddington,marries,mailbox,magically,lovebirds,knocks,informant,exits,drazen,distractions,disconnected,dinosaurs,dashwood,crooked,conveniently,wink,warped,underestimated,tacky,shoving,seizure,reset,pushes,opener,mornings,mash,invent,indulge,horribly,hallucinating,festive,eyebrows,enjoys,desperation,dealers,darkest,daph,boragora,belts,bagel,authorization,auditions,agitated,wishful,wimp,vanish,unbearable,tonic,suffice,suction,slaying,safest,rocking,relive,puttin,prettiest,noisy,newlyweds,nauseous,misguided,mildly,midst,liable,judgmental,indy,hunted,givin,fascinated,elephants,dislike,deluded,decorate,crummy,contractions,carve,bottled,bonded,bahamas,unavailable,twenties,trustworthy,surgeons,stupidity,skies,remorse,preferably,pies,nausea,napkins,mule,mourn,melted,mashed,inherit,greatness,golly,excused,dumbo,drifting,delirious,damaging,cubicle,compelled,comm,chooses,checkup,boredom,bandages,alarms,windshield,who're,whaddya,transparent,surprisingly,sunglasses,slit,roar,reade,prognosis,probe,pitiful,persistent,peas,nosy,nagging,morons,masterpiece,martinis,limbo,liars,irritating,inclined,hump,hoynes,fiasco,eatin,cubans,concentrating,colorful,clam,cider,brochure,barto,bargaining,wiggle,welcoming,weighing,vanquished,stains,sooo,snacks,smear,sire,resentment,psychologist,pint,overhear,morality,landingham,kisser,hoot,holling,handshake,grilled,formality,elevators,depths,confirms,boathouse,accidental,westbridge,wacko,ulterior,thugs,thighs,tangled,stirred,snag,sling,sleaze,rumour,ripe,remarried,puddle,pins,perceptive,miraculous,longing,lockup,librarian,impressions,immoral,hypothetically,guarding,gourmet,gabe,faxed,extortion,downright,digest,cranberry,bygones,buzzing,burying,bikes,weary,taping,takeout,sweeping,stepmother,stale,senor,seaborn,pros,pepperoni,newborn,ludicrous,injected,geeks,forged,faults,drue,dire,dief,desi,deceiving,caterer,calmed,budge,ankles,vending,typing,tribbiani,there're,squared,snowing,shades,sexist,rewrite,regretted,raises,picky,orphan,mural,misjudged,miscarriage,memorize,leaking,jitters,invade,interruption,illegally,handicapped,glitch,gittes,finer,distraught,dispose,dishonest,digs,dads,cruelty,circling,canceling,butterflies,belongings,barbrady,amusement,alias,zombies,where've,unborn,swearing,stables,squeezed,sensational,resisting,radioactive,questionable,privileged,portofino,owning,overlook,orson,oddly,interrogate,imperative,impeccable,hurtful,hors,heap,graders,glance,disgust,devious,destruct,crazier,countdown,chump,cheeseburger,burglar,berries,ballroom,assumptions,annoyed,allergy,admirer,admirable,activate,underpants,twit,tack,strokes,stool,sham,scrap,retarded,resourceful,remarkably,refresh,pressured,precautions,pointy,nightclub,mustache,maui,lace,hunh,hubby,flare,dont,dokey,dangerously,crushing,clinging,choked,chem,cheerleading,checkbook,cashmere,calmly,blush,believer,amazingly,alas,what've,toilets,tacos,stairwell,spirited,sewing,rubbed,punches,protects,nuisance,motherfuckers,mingle,kynaston,knack,kinkle,impose,gullible,godmother,funniest,friggin,folding,fashions,eater,dysfunctional,drool,dripping,ditto,cruising,criticize,conceive,clone,cedars,caliber,brighter,blinded,birthdays,banquet,anticipate,annoy,whim,whichever,volatile,veto,vested,shroud,rests,reindeer,quarantine,pleases,painless,orphans,orphanage,offence,obliged,negotiation,narcotics,mistletoe,meddling,manifest,lookit,lilah,intrigued,injustice,homicidal,gigantic,exposing,elves,disturbance,disastrous,depended,demented,correction,cooped,cheerful,buyers,brownies,beverage,basics,arvin,weighs,upsets,unethical,swollen,sweaters,stupidest,sensation,scalpel,props,prescribed,pompous,objections,mushrooms,mulwray,manipulation,lured,internship,insignificant,inmate,incentive,fulfilled,disagreement,crypt,cornered,copied,brightest,beethoven,attendant,amaze,yogurt,wyndemere,vocabulary,tulsa,tactic,stuffy,respirator,pretends,polygraph,pennies,ordinarily,olives,necks,morally,martyr,leftovers,joints,hopping,homey,hints,heartbroken,forge,florist,firsthand,fiend,dandy,crippled,corrected,conniving,conditioner,clears,chemo,bubbly,bladder,beeper,baptism,wiring,wench,weaknesses,volunteering,violating,unlocked,tummy,surrogate,subid,stray,startle,specifics,slowing,scoot,robbers,rightful,richest,qfxmjrie,puffs,pierced,pencils,paralysis,makeover,luncheon,linksynergy,jerky,jacuzzi,hitched,hangover,fracture,flock,firemen,disgusted,darned,clams,borrowing,banged,wildest,weirder,unauthorized,stunts,sleeves,sixties,shush,shalt,retro,quits,pegged,painfully,paging,omelet,memorized,lawfully,jackets,intercept,ingredient,grownup,glued,fulfilling,enchanted,delusion,daring,compelling,carton,bridesmaids,bribed,boiling,bathrooms,bandage,awaiting,assign,arrogance,antiques,ainsley,turkeys,trashing,stockings,stalked,stabilized,skates,sedated,robes,respecting,psyche,presumptuous,prejudice,paragraph,mocha,mints,mating,mantan,lorne,loads,listener,itinerary,hepatitis,heave,guesses,fading,examining,dumbest,dishwasher,deceive,cunning,cripple,convictions,confided,compulsive,compromising,burglary,bumpy,brainwashed,benes,arnie,affirmative,adrenaline,adamant,watchin,waitresses,transgenic,toughest,tainted,surround,stormed,spree,spilling,spectacle,soaking,shreds,sewers,severed,scarce,scamming,scalp,rewind,rehearsing,pretentious,potions,overrated,obstacle,nerds,meems,mcmurphy,maternity,maneuver,loathe,fertility,eloping,ecstatic,ecstasy,divorcing,dignan,costing,clubhouse,clocks,candid,bursting,breather,braces,bending,arsonist,adored,absorb,valiant,uphold,unarmed,topolsky,thrilling,thigh,terminate,sustain,spaceship,snore,sneeze,smuggling,salty,quaint,patronize,patio,morbid,mamma,kettle,joyous,invincible,interpret,insecurities,impulses,illusions,holed,exploit,drivin,defenseless,dedicate,cradle,coupon,countless,conjure,cardboard,booking,backseat,accomplishment,wordsworth,wisely,valet,vaccine,urges,unnatural,unlucky,truths,traumatized,tasting,swears,strawberries,steaks,stats,skank,seducing,secretive,scumbag,screwdriver,schedules,rooting,rightfully,rattled,qualifies,puppets,prospects,pronto,posse,polling,pedestal,palms,muddy,morty,microscope,merci,lecturing,inject,incriminate,hygiene,grapefruit,gazebo,funnier,cuter,bossy,booby,aides,zende,winthrop,warrants,valentines,undressed,underage,truthfully,tampered,suffers,speechless,sparkling,sidelines,shrek,railing,puberty,pesky,outrage,outdoors,motions,moods,lunches,litter,kidnappers,itching,intuition,imitation,humility,hassling,gallons,drugstore,dosage,disrupt,dipping,deranged,debating,cuckoo,cremated,craziness,cooperating,circumstantial,chimney,blinking,biscuits,admiring,weeping,triad,trashy,soothing,slumber,slayers,skirts,siren,shindig,sentiment,rosco,riddance,quaid,purity,proceeding,pretzels,panicking,mckechnie,lovin,leaked,intruding,impersonating,ignorance,hamburgers,footprints,fluke,fleas,festivities,fences,feisty,evacuate,emergencies,deceived,creeping,craziest,corpses,conned,coincidences,bounced,bodyguards,blasted,bitterness,baloney,ashtray,apocalypse,zillion,watergate,wallpaper,telesave,sympathize,sweeter,startin,spades,sodas,snowed,sleepover,signor,seein,retainer,restroom,rested,repercussions,reliving,reconcile,prevail,preaching,overreact,o'neil,noose,moustache,manicure,maids,landlady,hypothetical,hopped,homesick,hives,hesitation,herbs,hectic,heartbreak,haunting,gangs,frown,fingerprint,exhausting,everytime,disregard,cling,chevron,chaperone,blinding,bitty,beads,battling,badgering,anticipation,upstanding,unprofessional,unhealthy,turmoil,truthful,toothpaste,tippin,thoughtless,tagataya,shooters,senseless,rewarding,propane,preposterous,pigeons,pastry,overhearing,obscene,negotiable,loner,jogging,itchy,insinuating,insides,hospitality,hormone,hearst,forthcoming,fists,fifties,etiquette,endings,destroys,despises,deprived,cuddy,crust,cloak,circumstance,chewed,casserole,bidder,bearer,artoo,applaud,appalling,vowed,virgins,vigilante,undone,throttle,testosterone,tailor,symptom,swoop,suitcases,stomp,sticker,stakeout,spoiling,snatched,smoochy,smitten,shameless,restraints,researching,renew,refund,reclaim,raoul,puzzles,purposely,punks,prosecuted,plaid,picturing,pickin,parasites,mysteriously,multiply,mascara,jukebox,interruptions,gunfire,furnace,elbows,duplicate,drapes,deliberate,decoy,cryptic,coupla,condemn,complicate,colossal,clerks,clarity,brushed,banished,argon,alarmed,worships,versa,uncanny,technicality,sundae,stumble,stripping,shuts,schmuck,satin,saliva,robber,relentless,reconnect,recipes,rearrange,rainy,psychiatrists,policemen,plunge,plugged,patched,overload,o'malley,mindless,menus,lullaby,lotte,leavin,killin,karinsky,invalid,hides,grownups,griff,flaws,flashy,flaming,fettes,evicted,dread,degrassi,dealings,dangers,cushion,bowel,barged,abide,abandoning,wonderfully,wait'll,violate,suicidal,stayin,sorted,slamming,sketchy,shoplifting,raiser,quizmaster,prefers,needless,motherhood,momentarily,migraine,lifts,leukemia,leftover,keepin,hinks,hellhole,gowns,goodies,gallon,futures,entertained,eighties,conspiring,cheery,benign,apiece,adjustments,abusive,abduction,wiping,whipping,welles,unspeakable,unidentified,trivial,transcripts,textbook,supervise,superstitious,stricken,stimulating,spielberg,slices,shelves,scratches,sabotaged,retrieval,repressed,rejecting,quickie,ponies,peeking,outraged,o'connell,moping,moaning,mausoleum,licked,kovich,klutz,interrogating,interfered,insulin,infested,incompetence,hyper,horrified,handedly,gekko,fraid,fractured,examiner,eloped,disoriented,dashing,crashdown,courier,cockroach,chipped,brushing,bombed,bolts,baths,baptized,astronaut,assurance,anemia,abuela,abiding,withholding,weave,wearin,weaker,suffocating,straws,straightforward,stench,steamed,starboard,sideways,shrinks,shortcut,scram,roasted,roaming,riviera,respectfully,repulsive,psychiatry,provoked,penitentiary,painkillers,ninotchka,mitzvah,milligrams,midge,marshmallows,looky,lapse,kubelik,intellect,improvise,implant,goa'ulds,giddy,geniuses,fruitcake,footing,fightin,drinkin,doork,detour,cuddle,crashes,combo,colonnade,cheats,cetera,bailiff,auditioning,assed,amused,alienate,aiding,aching,unwanted,topless,tongues,tiniest,superiors,soften,sheldrake,rawley,raisins,presses,plaster,nessa,narrowed,minions,merciful,lawsuits,intimidating,infirmary,inconvenient,imposter,hugged,honoring,holdin,hades,godforsaken,fumes,forgery,foolproof,folder,flattery,fingertips,exterminator,explodes,eccentric,dodging,disguised,crave,constructive,concealed,compartment,chute,chinpokomon,bodily,astronauts,alimony,accustomed,abdominal,wrinkle,wallow,valium,untrue,uncover,trembling,treasures,torched,toenails,timed,termites,telly,taunting,taransky,talker,succubus,smarts,sliding,sighting,semen,seizures,scarred,savvy,sauna,saddest,sacrificing,rubbish,riled,ratted,rationally,provenance,phonse,perky,pedal,overdose,nasal,nanites,mushy,movers,missus,midterm,merits,melodramatic,manure,knitting,invading,interpol,incapacitated,hotline,hauling,gunpoint,grail,ganza,framing,flannel,faded,eavesdrop,desserts,calories,breathtaking,bleak,blacked,batter,aggravated,yanked,wigand,whoah,unwind,undoubtedly,unattractive,twitch,trimester,torrance,timetable,taxpayers,strained,stared,slapping,sincerity,siding,shenanigans,shacking,sappy,samaritan,poorer,politely,paste,oysters,overruled,nightcap,mosquito,millimeter,merrier,manhood,lucked,kilos,ignition,hauled,harmed,goodwill,freshmen,fenmore,fasten,farce,exploding,erratic,drunks,ditching,d'artagnan,cramped,contacting,closets,clientele,chimp,bargained,arranging,anesthesia,amuse,altering,afternoons,accountable,abetting,wolek,waved,uneasy,toddy,tattooed,spauldings,sliced,sirens,schibetta,scatter,rinse,remedy,redemption,pleasures,optimism,oblige,mmmmm,masked,malicious,mailing,kosher,kiddies,judas,isolate,insecurity,incidentally,heals,headlights,growl,grilling,glazed,flunk,floats,fiery,fairness,exercising,excellency,disclosure,cupboard,counterfeit,condescending,conclusive,clicked,cleans,cholesterol,cashed,broccoli,brats,blueprints,blindfold,billing,attach,appalled,alrighty,wynant,unsolved,unreliable,toots,tighten,sweatshirt,steinbrenner,steamy,spouse,sonogram,slots,sleepless,shines,retaliate,rephrase,redeem,rambling,quilt,quarrel,prying,proverbial,priced,prescribe,prepped,pranks,possessive,plaintiff,pediatrics,overlooked,outcast,nightgown,mumbo,mediocre,mademoiselle,lunchtime,lifesaver,leaned,lambs,interns,hounding,hellmouth,hahaha,goner,ghoul,gardening,frenzy,foyer,extras,exaggerate,everlasting,enlightened,dialed,devote,deceitful,d'oeuvres,cosmetic,contaminated,conspired,conning,cavern,carving,butting,boiled,blurry,babysit,ascension,aaaaah,wildly,whoopee,whiny,weiskopf,walkie,vultures,vacations,upfront,unresolved,tampering,stockholders,snaps,sleepwalking,shrunk,sermon,seduction,scams,revolve,phenomenal,patrolling,paranormal,ounces,omigod,nightfall,lashing,innocents,infierno,incision,humming,haunts,gloss,gloating,frannie,fetal,feeny,entrapment,discomfort,detonator,dependable,concede,complication,commotion,commence,chulak,caucasian,casually,brainer,bolie,ballpark,anwar,analyzing,accommodations,youse,wring,wallowing,transgenics,thrive,tedious,stylish,strippers,sterile,squeezing,squeaky,sprained,solemn,snoring,shattering,shabby,seams,scrawny,revoked,residue,reeks,recite,ranting,quoting,predicament,plugs,pinpoint,petrified,pathological,passports,oughtta,nighter,navigate,kippie,intrigue,intentional,insufferable,hunky,how've,horrifying,hearty,hamptons,grazie,funerals,forks,fetched,excruciating,enjoyable,endanger,dumber,drying,diabolical,crossword,corry,comprehend,clipped,classmates,candlelight,brutally,brutality,boarded,bathrobe,authorize,assemble,aerobics,wholesome,whiff,vermin,trophies,trait,tragically,toying,testy,tasteful,stocked,spinach,sipping,sidetracked,scrubbing,scraping,sanctity,robberies,ridin,retribution,refrain,realities,radiant,protesting,projector,plutonium,payin,parting,o'reilly,nooooo,motherfucking,measly,manic,lalita,juggling,jerking,intro,inevitably,hypnosis,huddle,horrendous,hobbies,heartfelt,harlin,hairdresser,gonorrhea,fussing,furtwangler,fleeting,flawless,flashed,fetus,eulogy,distinctly,disrespectful,denies,crossbow,cregg,crabs,cowardly,contraction,contingency,confirming,condone,coffins,cleansing,cheesecake,certainty,cages,c'est,briefed,bravest,bosom,boils,binoculars,bachelorette,appetizer,ambushed,alerted,woozy,withhold,vulgar,utmost,unleashed,unholy,unhappiness,unconditional,typewriter,typed,twists,supermodel,subpoenaed,stringing,skeptical,schoolgirl,romantically,rocked,revoir,reopen,puncture,preach,polished,planetarium,penicillin,peacefully,nurturing,more'n,mmhmm,midgets,marklar,lodged,lifeline,jellyfish,infiltrate,hutch,horseback,heist,gents,frickin,freezes,forfeit,flakes,flair,fathered,eternally,epiphany,disgruntled,discouraged,delinquent,decipher,danvers,cubes,credible,coping,chills,cherished,catastrophe,bombshell,birthright,billionaire,ample,affections,admiration,abbotts,whatnot,watering,vinegar,unthinkable,unseen,unprepared,unorthodox,underhanded,uncool,timeless,thump,thermometer,theoretically,tapping,tagged,swung,stares,spiked,solves,smuggle,scarier,saucer,quitter,prudent,powdered,poked,pointers,peril,penetrate,penance,opium,nudge,nostrils,neurological,mockery,mobster,medically,loudly,insights,implicate,hypocritical,humanly,holiness,healthier,hammered,haldeman,gunman,gloom,freshly,francs,flunked,flawed,emptiness,drugging,dozer,derevko,deprive,deodorant,cryin,crocodile,coloring,colder,cognac,clocked,clippings,charades,chanting,certifiable,caterers,brute,brochures,botched,blinders,bitchin,banter,woken,ulcer,tread,thankfully,swine,swimsuit,swans,stressing,steaming,stamped,stabilize,squirm,snooze,shuffle,shredded,seafood,scratchy,savor,sadistic,rhetorical,revlon,realist,prosecuting,prophecies,polyester,petals,persuasion,paddles,o'leary,nuthin,neighbour,negroes,muster,meningitis,matron,lockers,letterman,legged,indictment,hypnotized,housekeeping,hopelessly,hallucinations,grader,goldilocks,girly,flask,envelopes,downside,doves,dissolve,discourage,disapprove,diabetic,deliveries,decorator,crossfire,criminally,containment,comrades,complimentary,chatter,catchy,cashier,cartel,caribou,cardiologist,brawl,booted,barbershop,aryan,angst,administer,zellie,wreak,whistles,vandalism,vamps,uterus,upstate,unstoppable,understudy,tristin,transcript,tranquilizer,toxins,tonsils,stempel,spotting,spectator,spatula,softer,snotty,slinging,showered,sexiest,sensual,sadder,rimbaud,restrain,resilient,remission,reinstate,rehash,recollection,rabies,popsicle,plausible,pediatric,patronizing,ostrich,ortolani,oooooh,omelette,mistrial,marseilles,loophole,laughin,kevvy,irritated,infidelity,hypothermia,horrific,groupie,grinding,graceful,goodspeed,gestures,frantic,extradition,echelon,disks,dawnie,dared,damsel,curled,collateral,collage,chant,calculating,bumping,bribes,boardwalk,blinds,blindly,bleeds,bickering,beasts,backside,avenge,apprehended,anguish,abusing,youthful,yells,yanking,whomever,when'd,vomiting,vengeful,unpacking,unfamiliar,undying,tumble,trolls,treacherous,tipping,tantrum,tanked,summons,straps,stomped,stinkin,stings,staked,squirrels,sprinkles,speculate,sorting,skinned,sicko,sicker,shootin,shatter,seeya,schnapps,s'posed,ronee,respectful,regroup,regretting,reeling,reckoned,ramifications,puddy,projections,preschool,plissken,platonic,permalash,outdone,outburst,mutants,mugging,misfortune,miserably,miraculously,medications,margaritas,manpower,lovemaking,logically,leeches,latrine,kneel,inflict,impostor,hypocrisy,hippies,heterosexual,heightened,hecuba,healer,gunned,grooming,groin,gooey,gloomy,frying,friendships,fredo,firepower,fathom,exhaustion,evils,endeavor,eggnog,dreaded,d'arcy,crotch,coughing,coronary,cookin,consummate,congrats,companionship,caved,caspar,bulletproof,brilliance,breakin,brash,blasting,aloud,airtight,advising,advertise,adultery,aches,wronged,upbeat,trillion,thingies,tending,tarts,surreal,specs,specialize,spade,shrew,shaping,selves,schoolwork,roomie,recuperating,rabid,quart,provocative,proudly,pretenses,prenatal,pharmaceuticals,pacing,overworked,originals,nicotine,murderous,mileage,mayonnaise,massages,losin,interrogated,injunction,impartial,homing,heartbreaker,hacks,glands,giver,fraizh,flips,flaunt,englishman,electrocuted,dusting,ducking,drifted,donating,cylon,crutches,crates,cowards,comfortably,chummy,chitchat,childbirth,businesswoman,brood,blatant,bethy,barring,bagged,awakened,asbestos,airplanes,worshipped,winnings,why're,visualize,unprotected,unleash,trays,thicker,therapists,takeoff,streisand,storeroom,stethoscope,stacked,spiteful,sneaks,snapping,slaughtered,slashed,simplest,silverware,shits,secluded,scruples,scrubs,scraps,ruptured,roaring,receptionist,recap,raditch,radiator,pushover,plastered,pharmacist,perverse,perpetrator,ornament,ointment,nineties,napping,nannies,mousse,moors,momentary,misunderstandings,manipulator,malfunction,laced,kivar,kickin,infuriating,impressionable,holdup,hires,hesitated,headphones,hammering,groundwork,grotesque,graces,gauze,gangsters,frivolous,freeing,fours,forwarding,ferrars,faulty,fantasizing,extracurricular,empathy,divorces,detonate,depraved,demeaning,deadlines,dalai,cursing,cufflink,crows,coupons,comforted,claustrophobic,casinos,camped,busboy,bluth,bennetts,baskets,attacker,aplastic,angrier,affectionate,zapped,wormhole,weaken,unrealistic,unravel,unimportant,unforgettable,twain,suspend,superbowl,stutter,stewardess,stepson,standin,spandex,souvenirs,sociopath,skeletons,shivering,sexier,selfishness,scrapbook,ritalin,ribbons,reunite,remarry,relaxation,rattling,rapist,psychosis,prepping,poses,pleasing,pisses,piling,persecuted,padded,operatives,negotiator,natty,menopause,mennihan,martimmys,loyalties,laynie,lando,justifies,intimately,inexperienced,impotent,immortality,horrors,hooky,hinges,heartbreaking,handcuffed,gypsies,guacamole,grovel,graziella,goggles,gestapo,fussy,ferragamo,feeble,eyesight,explosions,experimenting,enchanting,doubtful,dizziness,dismantle,detectors,deserving,defective,dangling,dancin,crumble,creamed,cramping,conceal,clockwork,chrissakes,chrissake,chopping,cabinets,brooding,bonfire,blurt,bloated,blackmailer,beforehand,bathed,bathe,barcode,banish,badges,babble,await,attentive,aroused,antibodies,animosity,ya'll,wrinkled,wonderland,willed,whisk,waltzing,waitressing,vigilant,upbringing,unselfish,uncles,trendy,trajectory,striped,stamina,stalled,staking,stacks,spoils,snuff,snooty,snide,shrinking,senora,secretaries,scoundrel,saline,salads,rundown,riddles,relapse,recommending,raspberry,plight,pecan,pantry,overslept,ornaments,niner,negligent,negligence,nailing,mucho,mouthed,monstrous,malpractice,lowly,loitering,logged,lingering,lettin,lattes,kamal,juror,jillefsky,jacked,irritate,intrusion,insatiable,infect,impromptu,icing,hmmmm,hefty,gasket,frightens,flapping,firstborn,faucet,estranged,envious,dopey,doesn,disposition,disposable,disappointments,dipped,dignified,deceit,dealership,deadbeat,curses,coven,counselors,concierge,clutches,casbah,callous,cahoots,brotherly,britches,brides,bethie,beige,autographed,attendants,attaboy,astonishing,appreciative,antibiotic,aneurysm,afterlife,affidavit,zoning,whats,whaddaya,vasectomy,unsuspecting,toula,topanga,tonio,toasted,tiring,terrorized,tenderness,tailing,sweats,suffocated,sucky,subconsciously,starvin,sprouts,spineless,sorrows,snowstorm,smirk,slicery,sledding,slander,simmer,signora,sigmund,seventies,sedate,scented,sandals,rollers,retraction,resigning,recuperate,receptive,racketeering,queasy,provoking,priors,prerogative,premed,pinched,pendant,outsiders,orbing,opportunist,olanov,neurologist,nanobot,mommies,molested,misread,mannered,laundromat,intercom,inspect,insanely,infatuation,indulgent,indiscretion,inconsiderate,hurrah,howling,herpes,hasta,harassed,hanukkah,groveling,groosalug,gander,galactica,futile,fridays,flier,fixes,exploiting,exorcism,evasive,endorse,emptied,dreary,dreamy,downloaded,dodged,doctored,disobeyed,disneyland,disable,dehydrated,contemplating,coconuts,cockroaches,clogged,chilling,chaperon,cameraman,bulbs,bucklands,bribing,brava,bracelets,bowels,bluepoint,appetizers,appendix,antics,anointed,analogy,almonds,yammering,winch,weirdness,wangler,vibrations,vendor,unmarked,unannounced,twerp,trespass,travesty,transfusion,trainee,towelie,tiresome,straightening,staggering,sonar,socializing,sinus,sinners,shambles,serene,scraped,scones,scepter,sarris,saberhagen,ridiculously,ridicule,rents,reconciled,radios,publicist,pubes,prune,prude,precrime,postponing,pluck,perish,peppermint,peeled,overdo,nutshell,nostalgic,mulan,mouthing,mistook,meddle,maybourne,martimmy,lobotomy,livelihood,lippman,likeness,kindest,kaffee,jocks,jerked,jeopardizing,jazzed,insured,inquisition,inhale,ingenious,holier,helmets,heirloom,heinous,haste,harmsway,hardship,hanky,gutters,gruesome,groping,goofing,godson,glare,finesse,figuratively,ferrie,endangerment,dreading,dozed,dorky,dmitri,divert,discredit,dialing,cufflinks,crutch,craps,corrupted,cocoon,cleavage,cannery,bystander,brushes,bruising,bribery,brainstorm,bolted,binge,ballistics,astute,arroway,adventurous,adoptive,addicts,addictive,yadda,whitelighters,wematanye,weeds,wedlock,wallets,vulnerability,vroom,vents,upped,unsettling,unharmed,trippin,trifle,tracing,tormenting,thats,syphilis,subtext,stickin,spices,sores,smacked,slumming,sinks,signore,shitting,shameful,shacked,septic,seedy,righteousness,relish,rectify,ravishing,quickest,phoebs,perverted,peeing,pedicure,pastrami,passionately,ozone,outnumbered,oregano,offender,nukes,nosed,nighty,nifty,mounties,motivate,moons,misinterpreted,mercenary,mentality,marsellus,lupus,lumbar,lovesick,lobsters,leaky,laundering,latch,jafar,instinctively,inspires,indoors,incarcerated,hundredth,handkerchief,gynecologist,guittierez,groundhog,grinning,goodbyes,geese,fullest,eyelashes,eyelash,enquirer,endlessly,elusive,disarm,detest,deluding,dangle,cotillion,corsage,conjugal,confessional,cones,commandment,coded,coals,chuckle,christmastime,cheeseburgers,chardonnay,celery,campfire,calming,burritos,brundle,broflovski,brighten,borderline,blinked,bling,beauties,bauers,battered,articulate,alienated,ahhhhh,agamemnon,accountants,y'see,wrongful,wrapper,workaholic,winnebago,whispered,warts,vacate,unworthy,unanswered,tonane,tolerated,throwin,throbbing,thrills,thorns,thereof,there've,tarot,sunscreen,stretcher,stereotype,soggy,sobbing,sizable,sightings,shucks,shrapnel,sever,senile,seaboard,scorned,saver,rebellious,rained,putty,prenup,pores,pinching,pertinent,peeping,paints,ovulating,opposites,occult,nutcracker,nutcase,newsstand,newfound,mocked,midterms,marshmallow,marbury,maclaren,leans,krudski,knowingly,keycard,junkies,juilliard,jolinar,irritable,invaluable,inuit,intoxicating,instruct,insolent,inexcusable,incubator,illustrious,hunsecker,houseguest,homosexuals,homeroom,hernia,harming,handgun,hallways,hallucination,gunshots,groupies,groggy,goiter,gingerbread,giggling,frigging,fledged,fedex,fairies,exchanging,exaggeration,esteemed,enlist,drags,dispense,disloyal,disconnect,desks,dentists,delacroix,degenerate,daydreaming,cushions,cuddly,corroborate,complexion,compensated,cobbler,closeness,chilled,checkmate,channing,carousel,calms,bylaws,benefactor,ballgame,baiting,backstabbing,artifact,airspace,adversary,actin,accuses,accelerant,abundantly,abstinence,zissou,zandt,yapping,witchy,willows,whadaya,vilandra,veiled,undress,undivided,underestimating,ultimatums,twirl,truckload,tremble,toasting,tingling,tents,tempered,sulking,stunk,sponges,spills,softly,snipers,scourge,rooftop,riana,revolting,revisit,refreshments,redecorating,recapture,raysy,pretense,prejudiced,precogs,pouting,poofs,pimple,piles,pediatrician,padre,packets,paces,orvelle,oblivious,objectivity,nighttime,nervosa,mexicans,meurice,melts,matchmaker,maeby,lugosi,lipnik,leprechaun,kissy,kafka,introductions,intestines,inspirational,insightful,inseparable,injections,inadvertently,hussy,huckabees,hittin,hemorrhaging,headin,haystack,hallowed,grudges,granilith,grandkids,grading,gracefully,godsend,gobbles,fragrance,fliers,finchley,farts,eyewitnesses,expendable,existential,dorms,delaying,degrading,deduction,darlings,danes,cylons,counsellor,contraire,consciously,conjuring,congratulating,cokes,buffay,brooch,bitching,bistro,bijou,bewitched,benevolent,bends,bearings,barren,aptitude,amish,amazes,abomination,worldly,whispers,whadda,wayward,wailing,vanishing,upscale,untouchable,unspoken,uncontrollable,unavoidable,unattended,trite,transvestite,toupee,timid,timers,terrorizing,swana,stumped,strolling,storybook,storming,stomachs,stoked,stationery,springtime,spontaneity,spits,spins,soaps,sentiments,scramble,scone,rooftops,retract,reflexes,rawdon,ragged,quirky,quantico,psychologically,prodigal,pounce,potty,pleasantries,pints,petting,perceive,onstage,notwithstanding,nibble,newmans,neutralize,mutilated,millionaires,mayflower,masquerade,mangy,macreedy,lunatics,lovable,locating,limping,lasagna,kwang,keepers,juvie,jaded,ironing,intuitive,intensely,insure,incantation,hysteria,hypnotize,humping,happenin,griet,grasping,glorified,ganging,g'night,focker,flunking,flimsy,flaunting,fixated,fitzwallace,fainting,eyebrow,exonerated,ether,electrician,egotistical,earthly,dusted,dignify,detonation,debrief,dazzling,dan'l,damnedest,daisies,crushes,crucify,contraband,confronting,collapsing,cocked,clicks,cliche,circled,chandelier,carburetor,callers,broads,breathes,bloodshed,blindsided,blabbing,bialystock,bashing,ballerina,aviva,arteries,anomaly,airstrip,agonizing,adjourn,aaaaa,yearning,wrecker,witnessing,whence,warhead,unsure,unheard,unfreeze,unfold,unbalanced,ugliest,troublemaker,toddler,tiptoe,threesome,thirties,thermostat,swipe,surgically,subtlety,stung,stumbling,stubs,stride,strangling,sprayed,socket,smuggled,showering,shhhhh,sabotaging,rumson,rounding,risotto,repairman,rehearsed,ratty,ragging,radiology,racquetball,racking,quieter,quicksand,prowl,prompt,premeditated,prematurely,prancing,porcupine,plated,pinocchio,peeked,peddle,panting,overweight,overrun,outing,outgrown,obsess,nursed,nodding,negativity,negatives,musketeers,mugger,motorcade,merrily,matured,masquerading,marvellous,maniacs,lovey,louse,linger,lilies,lawful,kudos,knuckle,juices,judgments,itches,intolerable,intermission,inept,incarceration,implication,imaginative,huckleberry,holster,heartburn,gunna,groomed,graciously,fulfillment,fugitives,forsaking,forgives,foreseeable,flavors,flares,fixation,fickle,fantasize,famished,fades,expiration,exclamation,erasing,eiffel,eerie,earful,duped,dulles,dissing,dissect,dispenser,dilated,detergent,desdemona,debriefing,damper,curing,crispina,crackpot,courting,cordial,conflicted,comprehension,commie,cleanup,chiropractor,charmer,chariot,cauldron,catatonic,bullied,buckets,brilliantly,breathed,booths,boardroom,blowout,blindness,blazing,biologically,bibles,biased,beseech,barbaric,balraj,audacity,anticipating,alcoholics,airhead,agendas,admittedly,absolution,youre,yippee,wittlesey,withheld,willful,whammy,weakest,washes,virtuous,videotapes,vials,unplugged,unpacked,unfairly,turbulence,tumbling,tricking,tremendously,traitors,torches,tinga,thyroid,teased,tawdry,taker,sympathies,swiped,sundaes,suave,strut,stepdad,spewing,spasm,socialize,slither,simulator,shutters,shrewd,shocks,semantics,schizophrenic,scans,savages,rya'c,runny,ruckus,royally,roadblocks,rewriting,revoke,repent,redecorate,recovers,recourse,ratched,ramali,racquet,quince,quiche,puppeteer,puking,puffed,problemo,praises,pouch,postcards,pooped,poised,piled,phoney,phobia,patching,parenthood,pardner,oozing,ohhhhh,numbing,nostril,nosey,neatly,nappa,nameless,mortuary,moronic,modesty,midwife,mcclane,matuka,maitre,lumps,lucid,loosened,loins,lawnmower,lamotta,kroehner,jinxy,jessep,jamming,jailhouse,jacking,intruders,inhuman,infatuated,indigestion,implore,implanted,hormonal,hoboken,hillbilly,heartwarming,headway,hatched,hartmans,harping,grapevine,gnome,forties,flyin,flirted,fingernail,exhilarating,enjoyment,embark,dumper,dubious,drell,docking,disillusioned,dishonor,disbarred,dicey,custodial,counterproductive,corned,cords,contemplate,concur,conceivable,cobblepot,chickened,checkout,carpe,cap'n,campers,buyin,bullies,braid,boxed,bouncy,blueberries,blubbering,bloodstream,bigamy,beeped,bearable,autographs,alarming,wretch,wimps,widower,whirlwind,whirl,warms,vandelay,unveiling,undoing,unbecoming,turnaround,touche,togetherness,tickles,ticker,teensy,taunt,sweethearts,stitched,standpoint,staffers,spotless,soothe,smothered,sickening,shouted,shepherds,shawl,seriousness,schooled,schoolboy,s'mores,roped,reminders,raggedy,preemptive,plucked,pheromones,particulars,pardoned,overpriced,overbearing,outrun,ohmigod,nosing,nicked,neanderthal,mosquitoes,mortified,milky,messin,mecha,markinson,marivellas,mannequin,manderley,madder,macready,lookie,locusts,lifetimes,lanna,lakhi,kholi,impersonate,hyperdrive,horrid,hopin,hogging,hearsay,harpy,harboring,hairdo,hafta,grasshopper,gobble,gatehouse,foosball,floozy,fished,firewood,finalize,felons,euphemism,entourage,elitist,elegance,drokken,drier,dredge,dossier,diseased,diarrhea,diagnose,despised,defuse,d'amour,contesting,conserve,conscientious,conjured,collars,clogs,chenille,chatty,chamomile,casing,calculator,brittle,breached,blurted,birthing,bikinis,astounding,assaulting,aroma,appliance,antsy,amnio,alienating,aliases,adolescence,xerox,wrongs,workload,willona,whistling,werewolves,wallaby,unwelcome,unseemly,unplug,undermining,ugliness,tyranny,tuesdays,trumpets,transference,ticks,tangible,tagging,swallowing,superheroes,studs,strep,stowed,stomping,steffy,sprain,spouting,sponsoring,sneezing,smeared,slink,shakin,sewed,seatbelt,scariest,scammed,sanctimonious,roasting,rightly,retinal,rethinking,resented,reruns,remover,racks,purest,progressing,presidente,preeclampsia,postponement,portals,poppa,pliers,pinning,pelvic,pampered,padding,overjoyed,ooooo,one'll,octavius,nonono,nicknames,neurosurgeon,narrows,misled,mislead,mishap,milltown,milking,meticulous,mediocrity,meatballs,machete,lurch,layin,knockin,khruschev,jurors,jumpin,jugular,jeweler,intellectually,inquiries,indulging,indestructible,indebted,imitate,ignores,hyperventilating,hyenas,hurrying,hermano,hellish,heheh,harshly,handout,grunemann,glances,giveaway,getup,gerome,furthest,frosting,frail,forwarded,forceful,flavored,flammable,flaky,fingered,fatherly,ethic,embezzlement,duffel,dotted,distressed,disobey,disappearances,dinky,diminish,diaphragm,deuces,creme,courteous,comforts,coerced,clots,clarification,chunks,chickie,chases,chaperoning,cartons,caper,calves,caged,bustin,bulging,bringin,boomhauer,blowin,blindfolded,biscotti,ballplayer,bagging,auster,assurances,aschen,arraigned,anonymity,alters,albatross,agreeable,adoring,abduct,wolfi,weirded,watchers,washroom,warheads,vincennes,urgency,understandably,uncomplicated,uhhhh,twitching,treadmill,thermos,tenorman,tangle,talkative,swarm,surrendering,summoning,strive,stilts,stickers,squashed,spraying,sparring,soaring,snort,sneezed,slaps,skanky,singin,sidle,shreck,shortness,shorthand,sharper,shamed,sadist,rydell,rusik,roulette,resumes,respiration,recount,reacts,purgatory,princesses,presentable,ponytail,plotted,pinot,pigtails,phillippe,peddling,paroled,orbed,offends,o'hara,moonlit,minefield,metaphors,malignant,mainframe,magicks,maggots,maclaine,loathing,leper,leaps,leaping,lashed,larch,larceny,lapses,ladyship,juncture,jiffy,jakov,invoke,infantile,inadmissible,horoscope,hinting,hideaway,hesitating,heddy,heckles,hairline,gripe,gratifying,governess,goebbels,freddo,foresee,fascination,exemplary,executioner,etcetera,escorts,endearing,eaters,earplugs,draped,disrupting,disagrees,dimes,devastate,detain,depositions,delicacy,darklighter,cynicism,cyanide,cutters,cronus,continuance,conquering,confiding,compartments,combing,cofell,clingy,cleanse,christmases,cheered,cheekbones,buttle,burdened,bruenell,broomstick,brained,bozos,bontecou,bluntman,blazes,blameless,bizarro,bellboy,beaucoup,barkeep,awaken,astray,assailant,appease,aphrodisiac,alleys,yesss,wrecks,woodpecker,wondrous,wimpy,willpower,wheeling,weepy,waxing,waive,videotaped,veritable,untouched,unlisted,unfounded,unforeseen,twinge,triggers,traipsing,toxin,tombstone,thumping,therein,testicles,telephones,tarmac,talby,tackled,swirling,suicides,suckered,subtitles,sturdy,strangler,stockbroker,stitching,steered,standup,squeal,sprinkler,spontaneously,splendor,spiking,spender,snipe,snagged,skimming,siddown,showroom,shovels,shotguns,shoelaces,shitload,shellfish,sharpest,shadowy,seizing,scrounge,scapegoat,sayonara,saddled,rummaging,roomful,renounce,reconsidered,recharge,realistically,radioed,quirks,quadrant,punctual,practising,pours,poolhouse,poltergeist,pocketbook,plainly,picnics,pesto,pawing,passageway,partied,oneself,numero,nostalgia,nitwit,neuro,mixer,meanest,mcbeal,matinee,margate,marce,manipulations,manhunt,manger,magicians,loafers,litvack,lightheaded,lifeguard,lawns,laughingstock,ingested,indignation,inconceivable,imposition,impersonal,imbecile,huddled,housewarming,horizons,homicides,hiccups,hearse,hardened,gushing,gushie,greased,goddamit,freelancer,forging,fondue,flustered,flung,flinch,flicker,fixin,festivus,fertilizer,farted,faggots,exonerate,evict,enormously,encrypted,emdash,embracing,duress,dupres,dowser,doormat,disfigured,disciplined,dibbs,depository,deathbed,dazzled,cuttin,cures,crowding,crepe,crammed,copycat,contradict,confidant,condemning,conceited,commute,comatose,clapping,circumference,chuppah,chore,choksondik,chestnuts,briault,bottomless,bonnet,blokes,berluti,beret,beggars,bankroll,bania,athos,arsenic,apperantly,ahhhhhh,afloat,accents,zipped,zeros,zeroes,zamir,yuppie,youngsters,yorkers,wisest,wipes,wield,whyn't,weirdos,wednesdays,vicksburg,upchuck,untraceable,unsupervised,unpleasantness,unhook,unconscionable,uncalled,trappings,tragedies,townie,thurgood,things'll,thine,tetanus,terrorize,temptations,tanning,tampons,swarming,straitjacket,steroid,startling,starry,squander,speculating,sollozzo,sneaked,slugs,skedaddle,sinker,silky,shortcomings,sellin,seasoned,scrubbed,screwup,scrapes,scarves,sandbox,salesmen,rooming,romances,revere,reproach,reprieve,rearranging,ravine,rationalize,raffle,punchy,psychobabble,provocation,profoundly,prescriptions,preferable,polishing,poached,pledges,pirelli,perverts,oversized,overdressed,outdid,nuptials,nefarious,mouthpiece,motels,mopping,mongrel,missin,metaphorically,mertin,memos,melodrama,melancholy,measles,meaner,mantel,maneuvering,mailroom,luring,listenin,lifeless,licks,levon,legwork,kneecaps,kippur,kiddie,kaput,justifiable,insistent,insidious,innuendo,innit,indecent,imaginable,horseshit,hemorrhoid,hella,healthiest,haywire,hamsters,hairbrush,grouchy,grisly,gratuitous,glutton,glimmer,gibberish,ghastly,gentler,generously,geeky,fuhrer,fronting,foolin,faxes,faceless,extinguisher,expel,etched,endangering,ducked,dodgeball,dives,dislocated,discrepancy,devour,derail,dementia,daycare,cynic,crumbling,cowardice,covet,cornwallis,corkscrew,cookbook,commandments,coincidental,cobwebs,clouded,clogging,clicking,clasp,chopsticks,chefs,chaps,cashing,carat,calmer,brazen,brainwashing,bradys,bowing,boned,bloodsucking,bleachers,bleached,bedpan,bearded,barrenger,bachelors,awwww,assures,assigning,asparagus,apprehend,anecdote,amoral,aggravation,afoot,acquaintances,accommodating,yakking,worshipping,wladek,willya,willies,wigged,whoosh,whisked,watered,warpath,volts,violates,valuables,uphill,unwise,untimely,unsavory,unresponsive,unpunished,unexplained,tubby,trolling,toxicology,tormented,toothache,tingly,timmiihh,thursdays,thoreau,terrifies,temperamental,telegrams,talkie,takers,symbiote,swirl,suffocate,stupider,strapping,steckler,springing,someway,sleepyhead,sledgehammer,slant,slams,showgirl,shoveling,shmoopy,sharkbait,shan't,scrambling,schematics,sandeman,sabbatical,rummy,reykjavik,revert,responsive,rescheduled,requisition,relinquish,rejoice,reckoning,recant,rebadow,reassurance,rattlesnake,ramble,primed,pricey,prance,pothole,pocus,persist,perpetrated,pekar,peeling,pastime,parmesan,pacemaker,overdrive,ominous,observant,nothings,noooooo,nonexistent,nodded,nieces,neglecting,nauseating,mutated,musket,mumbling,mowing,mouthful,mooseport,monologue,mistrust,meetin,masseuse,mantini,mailer,madre,lowlifes,locksmith,livid,liven,limos,liberating,lhasa,leniency,leering,laughable,lashes,lasagne,laceration,korben,katan,kalen,jittery,jammies,irreplaceable,intubate,intolerant,inhaler,inhaled,indifferent,indifference,impound,impolite,humbly,heroics,heigh,guillotine,guesthouse,grounding,grips,gossiping,goatee,gnomes,gellar,frutt,frobisher,freudian,foolishness,flagged,femme,fatso,fatherhood,fantasized,fairest,faintest,eyelids,extravagant,extraterrestrial,extraordinarily,escalator,elevate,drivel,dissed,dismal,disarray,dinnertime,devastation,dermatologist,delicately,defrost,debutante,debacle,damone,dainty,cuvee,culpa,crucified,creeped,crayons,courtship,convene,congresswoman,concocted,compromises,comprende,comma,coleslaw,clothed,clinically,chickenshit,checkin,cesspool,caskets,calzone,brothel,boomerang,bodega,blasphemy,bitsy,bicentennial,berlini,beatin,beards,barbas,barbarians,backpacking,arrhythmia,arousing,arbitrator,antagonize,angling,anesthetic,altercation,aggressor,adversity,acathla,aaahhh,wreaking,workup,wonderin,wither,wielding,what'm,what'cha,waxed,vibrating,veterinarian,venting,vasey,valor,validate,upholstery,untied,unscathed,uninterrupted,unforgiving,undies,uncut,twinkies,tucking,treatable,treasured,tranquility,townspeople,torso,tomei,tipsy,tinsel,tidings,thirtieth,tantrums,tamper,talky,swayed,swapping,suitor,stylist,stirs,standoff,sprinklers,sparkly,snobby,snatcher,smoother,sleepin,shrug,shoebox,sheesh,shackles,setbacks,sedatives,screeching,scorched,scanned,satyr,roadblock,riverbank,ridiculed,resentful,repellent,recreate,reconvene,rebuttal,realmedia,quizzes,questionnaire,punctured,pucker,prolong,professionalism,pleasantly,pigsty,penniless,paychecks,patiently,parading,overactive,ovaries,orderlies,oracles,oiled,offending,nudie,neonatal,neighborly,moops,moonlighting,mobilize,mmmmmm,milkshake,menial,meats,mayan,maxed,mangled,magua,lunacy,luckier,liters,lansbury,kooky,knowin,jeopardized,inkling,inhalation,inflated,infecting,incense,inbound,impractical,impenetrable,idealistic,i'mma,hypocrites,hurtin,humbled,hologram,hokey,hocus,hitchhiking,hemorrhoids,headhunter,hassled,harts,hardworking,haircuts,hacksaw,genitals,gazillion,gammy,gamesphere,fugue,footwear,folly,flashlights,fives,filet,extenuating,estrogen,entails,embezzled,eloquent,egomaniac,ducts,drowsy,drones,doree,donovon,disguises,diggin,deserting,depriving,defying,deductible,decorum,decked,daylights,daybreak,dashboard,damnation,cuddling,crunching,crickets,crazies,councilman,coughed,conundrum,complimented,cohaagen,clutching,clued,clader,cheques,checkpoint,chats,channeling,ceases,carasco,capisce,cantaloupe,cancelling,campsite,burglars,breakfasts,bra'tac,blueprint,bleedin,blabbed,beneficiary,basing,avert,atone,arlyn,approves,apothecary,antiseptic,aleikuum,advisement,zadir,wobbly,withnail,whattaya,whacking,wedged,wanders,vaginal,unimaginable,undeniable,unconditionally,uncharted,unbridled,tweezers,tvmegasite,trumped,triumphant,trimming,treading,tranquilizers,toontown,thunk,suture,suppressing,strays,stonewall,stogie,stepdaughter,stace,squint,spouses,splashed,speakin,sounder,sorrier,sorrel,sombrero,solemnly,softened,snobs,snippy,snare,smoothing,slump,slimeball,slaving,silently,shiller,shakedown,sensations,scrying,scrumptious,screamin,saucy,santoses,roundup,roughed,rosary,robechaux,retrospect,rescind,reprehensible,repel,remodeling,reconsidering,reciprocate,railroaded,psychics,promos,prob'ly,pristine,printout,priestess,prenuptial,precedes,pouty,phoning,peppy,pariah,parched,panes,overloaded,overdoing,nymphs,nother,notebooks,nearing,nearer,monstrosity,milady,mieke,mephesto,medicated,marshals,manilow,mammogram,m'lady,lotsa,loopy,lesion,lenient,learner,laszlo,kross,kinks,jinxed,involuntary,insubordination,ingrate,inflatable,incarnate,inane,hypoglycemia,huntin,humongous,hoodlum,honking,hemorrhage,helpin,hathor,hatching,grotto,grandmama,gorillas,godless,girlish,ghouls,gershwin,frosted,flutter,flagpole,fetching,fatter,faithfully,exert,evasion,escalate,enticing,enchantress,elopement,drills,downtime,downloading,dorks,doorways,divulge,dissociative,disgraceful,disconcerting,deteriorate,destinies,depressive,dented,denim,decruz,decidedly,deactivate,daydreams,curls,culprit,cruelest,crippling,cranberries,corvis,copped,commend,coastguard,cloning,cirque,churning,chock,chivalry,catalogues,cartwheels,carols,canister,buttered,bundt,buljanoff,bubbling,brokers,broaden,brimstone,brainless,bores,badmouthing,autopilot,ascertain,aorta,ampata,allenby,accosted,absolve,aborted,aaagh,aaaaaah,yonder,yellin,wyndham,wrongdoing,woodsboro,wigging,wasteland,warranty,waltzed,walnuts,vividly,veggie,unnecessarily,unloaded,unicorns,understated,unclean,umbrellas,twirling,turpentine,tupperware,triage,treehouse,tidbit,tickled,threes,thousandth,thingie,terminally,teething,tassel,talkies,swoon,switchboard,swerved,suspiciously,subsequentlyne,subscribe,strudel,stroking,strictest,stensland,starin,stannart,squirming,squealing,sorely,softie,snookums,sniveling,smidge,sloth,skulking,simian,sightseeing,siamese,shudder,shoppers,sharpen,shannen,semtex,secondhand,seance,scowl,scorn,safekeeping,russe,rummage,roshman,roomies,roaches,rinds,retrace,retires,resuscitate,rerun,reputations,rekall,refreshment,reenactment,recluse,ravioli,raves,raking,purses,punishable,punchline,puked,prosky,previews,poughkeepsie,poppins,polluted,placenta,pissy,petulant,perseverance,pears,pawns,pastries,partake,panky,palate,overzealous,orchids,obstructing,objectively,obituaries,obedient,nothingness,musty,motherly,mooning,momentous,mistaking,minutemen,milos,microchip,meself,merciless,menelaus,mazel,masturbate,mahogany,lysistrata,lillienfield,likable,liberate,leveled,letdown,larynx,lardass,lainey,lagged,klorel,kidnappings,keyed,karmic,jeebies,irate,invulnerable,intrusive,insemination,inquire,injecting,informative,informants,impure,impasse,imbalance,illiterate,hurled,hunts,hematoma,headstrong,handmade,handiwork,growling,gorky,getcha,gesundheit,gazing,galley,foolishly,fondness,floris,ferocious,feathered,fateful,fancies,fakes,faker,expire,ever'body,essentials,eskimos,enlightening,enchilada,emissary,embolism,elsinore,ecklie,drenched,drazi,doped,dogging,doable,dislikes,dishonesty,disengage,discouraging,derailed,deformed,deflect,defer,deactivated,crips,constellations,congressmen,complimenting,clubbing,clawing,chromium,chimes,chews,cheatin,chaste,cellblock,caving,catered,catacombs,calamari,bucking,brulee,brits,brisk,breezes,bounces,boudoir,binks,better'n,bellied,behrani,behaves,bedding,balmy,badmouth,backers,avenging,aromatherapy,armpit,armoire,anythin,anonymously,anniversaries,aftershave,affliction,adrift,admissible,adieu,acquittal,yucky,yearn,whitter,whirlpool,wendigo,watchdog,wannabes,wakey,vomited,voicemail,valedictorian,uttered,unwed,unrequited,unnoticed,unnerving,unkind,unjust,uniformed,unconfirmed,unadulterated,unaccounted,uglier,turnoff,trampled,tramell,toads,timbuktu,throwback,thimble,tasteless,tarantula,tamale,takeovers,swish,supposing,streaking,stargher,stanzi,stabs,squeamish,splattered,spiritually,spilt,speciality,smacking,skywire,skips,skaara,simpatico,shredding,showin,shortcuts,shite,shielding,shamelessly,serafine,sentimentality,seasick,schemer,scandalous,sainted,riedenschneider,rhyming,revel,retractor,retards,resurrect,remiss,reminiscing,remanded,reiben,regains,refuel,refresher,redoing,redheaded,reassured,rearranged,rapport,qumar,prowling,prejudices,precarious,powwow,pondering,plunger,plunged,pleasantville,playpen,phlegm,perfected,pancreas,paley,ovary,outbursts,oppressed,ooohhh,omoroca,offed,o'toole,nurture,nursemaid,nosebleed,necktie,muttering,munchies,mucking,mogul,mitosis,misdemeanor,miscarried,millionth,migraines,midler,manicurist,mandelbaum,manageable,malfunctioned,magnanimous,loudmouth,longed,lifestyles,liddy,lickety,leprechauns,komako,klute,kennel,justifying,irreversible,inventing,intergalactic,insinuate,inquiring,ingenuity,inconclusive,incessant,improv,impersonation,hyena,humperdinck,hubba,housework,hoffa,hither,hissy,hippy,hijacked,heparin,hellooo,hearth,hassles,hairstyle,hahahaha,hadda,guys'll,gutted,gulls,gritty,grievous,graft,gossamer,gooder,gambled,gadgets,fundamentals,frustrations,frolicking,frock,frilly,foreseen,footloose,fondly,flirtation,flinched,flatten,farthest,exposer,evading,escrow,empathize,embryos,embodiment,ellsberg,ebola,dulcinea,dreamin,drawbacks,doting,doose,doofy,disturbs,disorderly,disgusts,detox,denominator,demeanor,deliriously,decode,debauchery,croissant,cravings,cranked,coworkers,councilor,confuses,confiscate,confines,conduit,compress,combed,clouding,clamps,cinch,chinnery,celebratory,catalogs,carpenters,carnal,canin,bundys,bulldozer,buggers,bueller,brainy,booming,bookstores,bloodbath,bittersweet,bellhop,beeping,beanstalk,beady,baudelaire,bartenders,bargains,averted,armadillo,appreciating,appraised,antlers,aloof,allowances,alleyway,affleck,abject,zilch,youore,xanax,wrenching,wouldn,witted,wicca,whorehouse,whooo,whips,vouchers,victimized,vicodin,untested,unsolicited,unfocused,unfettered,unfeeling,unexplainable,understaffed,underbelly,tutorial,tryst,trampoline,towering,tirade,thieving,thang,swimmin,swayzak,suspecting,superstitions,stubbornness,streamers,strattman,stonewalling,stiffs,stacking,spout,splice,sonrisa,smarmy,slows,slicing,sisterly,shrill,shined,seeming,sedley,seatbelts,scour,scold,schoolyard,scarring,salieri,rustling,roxbury,rewire,revved,retriever,reputable,remodel,reins,reincarnation,rance,rafters,rackets,quail,pumbaa,proclaim,probing,privates,pried,prewedding,premeditation,posturing,posterity,pleasurable,pizzeria,pimps,penmanship,penchant,pelvis,overturn,overstepped,overcoat,ovens,outsmart,outed,ooohh,oncologist,omission,offhand,odour,nyazian,notarized,nobody'll,nightie,navel,nabbed,mystique,mover,mortician,morose,moratorium,mockingbird,mobsters,mingling,methinks,messengered,merde,masochist,martouf,martians,marinara,manray,majorly,magnifying,mackerel,lurid,lugging,lonnegan,loathsome,llantano,liberace,leprosy,latinos,lanterns,lamest,laferette,kraut,intestine,innocencia,inhibitions,ineffectual,indisposed,incurable,inconvenienced,inanimate,improbable,implode,hydrant,hustling,hustled,huevos,how'm,hooey,hoods,honcho,hinge,hijack,heimlich,hamunaptra,haladki,haiku,haggle,gutsy,grunting,grueling,gribbs,greevy,grandstanding,godparents,glows,glistening,gimmick,gaping,fraiser,formalities,foreigner,folders,foggy,fitty,fiends,fe'nos,favours,eyeing,extort,expedite,escalating,epinephrine,entitles,entice,eminence,eights,earthlings,eagerly,dunville,dugout,doublemeat,doling,dispensing,dispatcher,discoloration,diners,diddly,dictates,diazepam,derogatory,delights,defies,decoder,dealio,danson,cutthroat,crumbles,croissants,crematorium,craftsmanship,could'a,cordless,cools,conked,confine,concealing,complicates,communique,cockamamie,coasters,clobbered,clipping,clipboard,clemenza,cleanser,circumcision,chanukah,certainaly,cellmate,cancels,cadmium,buzzed,bumstead,bucko,browsing,broth,braver,boggling,bobbing,blurred,birkhead,benet,belvedere,bellies,begrudge,beckworth,banky,baldness,baggy,babysitters,aversion,astonished,assorted,appetites,angina,amiss,ambulances,alibis,airway,admires,adhesive,yoyou,xxxxxx,wreaked,wracking,woooo,wooing,wised,wilshire,wedgie,waging,violets,vincey,uplifting,untrustworthy,unmitigated,uneventful,undressing,underprivileged,unburden,umbilical,tweaking,turquoise,treachery,tosses,torching,toothpick,toasts,thickens,tereza,tenacious,teldar,taint,swill,sweatin,subtly,subdural,streep,stopwatch,stockholder,stillwater,stalkers,squished,squeegee,splinters,spliced,splat,spied,spackle,sophistication,snapshots,smite,sluggish,slithered,skeeters,sidewalks,sickly,shrugs,shrubbery,shrieking,shitless,settin,sentinels,selfishly,scarcely,sangria,sanctum,sahjhan,rustle,roving,rousing,rosomorf,riddled,responsibly,renoir,remoray,remedial,refundable,redirect,recheck,ravenwood,rationalizing,ramus,ramelle,quivering,pyjamas,psychos,provocations,prouder,protestors,prodded,proctologist,primordial,pricks,prickly,precedents,pentangeli,pathetically,parka,parakeet,panicky,overthruster,outsmarted,orthopedic,oncoming,offing,nutritious,nuthouse,nourishment,nibbling,newlywed,narcissist,mutilation,mundane,mummies,mumble,mowed,morvern,mortem,mopes,molasses,misplace,miscommunication,miney,midlife,menacing,memorizing,massaging,masking,magnets,luxuries,lounging,lothario,liposuction,lidocaine,libbets,levitate,leeway,launcelot,larek,lackeys,kumbaya,kryptonite,knapsack,keyhole,katarangura,juiced,jakey,ironclad,invoice,intertwined,interlude,interferes,injure,infernal,indeedy,incur,incorrigible,incantations,impediment,igloo,hysterectomy,hounded,hollering,hindsight,heebie,havesham,hasenfuss,hankering,hangers,hakuna,gutless,gusto,grubbing,grrrr,grazed,gratification,grandeur,gorak,godammit,gnawing,glanced,frostbite,frees,frazzled,fraulein,fraternizing,fortuneteller,formaldehyde,followup,foggiest,flunky,flickering,firecrackers,figger,fetuses,fates,eyeliner,extremities,extradited,expires,exceedingly,evaporate,erupt,epileptic,entrails,emporium,egregious,eggshells,easing,duwayne,droll,dreyfuss,dovey,doubly,doozy,donkeys,donde,distrust,distressing,disintegrate,discreetly,decapitated,dealin,deader,dashed,darkroom,dares,daddies,dabble,cushy,cupcakes,cuffed,croupier,croak,crapped,coursing,coolers,contaminate,consummated,construed,condos,concoction,compulsion,commish,coercion,clemency,clairvoyant,circulate,chesterton,checkered,charlatan,chaperones,categorically,cataracts,carano,capsules,capitalize,burdon,bullshitting,brewed,breathless,breasted,brainstorming,bossing,borealis,bonsoir,bobka,boast,blimp,bleep,bleeder,blackouts,bisque,billboards,beatings,bayberry,bashed,bamboozled,balding,baklava,baffled,backfires,babak,awkwardness,attest,attachments,apologizes,anyhoo,antiquated,alcante,advisable,aahhh,aaahh,zatarc,yearbooks,wuddya,wringing,womanhood,witless,winging,whatsa,wetting,waterproof,wastin,vogelman,vocation,vindicated,vigilance,vicariously,venza,vacuuming,utensils,uplink,unveil,unloved,unloading,uninhibited,unattached,tweaked,turnips,trinkets,toughen,toting,topside,terrors,terrify,technologically,tarnish,tagliati,szpilman,surly,supple,summation,suckin,stepmom,squeaking,splashmore,souffle,solitaire,solicitation,solarium,smokers,slugged,slobbering,skylight,skimpy,sinuses,silenced,sideburns,shrinkage,shoddy,shhhhhh,shelled,shareef,shangri,seuss,serenade,scuffle,scoff,scanners,sauerkraut,sardines,sarcophagus,salvy,rusted,russells,rowboat,rolfsky,ringside,respectability,reparations,renegotiate,reminisce,reimburse,regimen,raincoat,quibble,puzzled,purposefully,pubic,proofing,prescribing,prelim,poisons,poaching,personalized,personable,peroxide,pentonville,payphone,payoffs,paleontology,overflowing,oompa,oddest,objecting,o'hare,o'daniel,notches,nobody'd,nightstand,neutralized,nervousness,nerdy,needlessly,naquadah,nappy,nantucket,nambla,mountaineer,motherfuckin,morrie,monopolizing,mohel,mistreated,misreading,misbehave,miramax,minivan,milligram,milkshakes,metamorphosis,medics,mattresses,mathesar,matchbook,matata,marys,malucci,magilla,lymphoma,lowers,lordy,linens,lindenmeyer,limelight,leapt,laxative,lather,lapel,lamppost,laguardia,kindling,kegger,kawalsky,juries,jokin,jesminder,interning,innermost,injun,infallible,industrious,indulgence,incinerator,impossibility,impart,illuminate,iguanas,hypnotic,hyped,hospitable,hoses,homemaker,hirschmuller,helpers,headset,guardianship,guapo,grubby,granola,granddaddy,goren,goblet,gluttony,globes,giorno,getter,geritol,gassed,gaggle,foxhole,fouled,foretold,floorboards,flippers,flaked,fireflies,feedings,fashionably,farragut,fallback,facials,exterminate,excites,everything'll,evenin,ethically,ensue,enema,empath,eluded,eloquently,eject,edema,dumpling,droppings,dolled,distasteful,disputing,displeasure,disdain,deterrent,dehydration,defied,decomposing,dawned,dailies,custodian,crusts,crucifix,crowning,crier,crept,craze,crawls,couldn,correcting,corkmaster,copperfield,cooties,contraption,consumes,conspire,consenting,consented,conquers,congeniality,complains,communicator,commendable,collide,coladas,colada,clout,clooney,classifieds,clammy,civility,cirrhosis,chink,catskills,carvers,carpool,carelessness,cardio,carbs,capades,butabi,busmalis,burping,burdens,bunks,buncha,bulldozers,browse,brockovich,breakthroughs,bravado,boogety,blossoms,blooming,bloodsucker,blight,betterton,betrayer,belittle,beeps,bawling,barts,bartending,bankbooks,babish,atropine,assertive,armbrust,anyanka,annoyance,anemic,anago,airwaves,aimlessly,aaargh,aaand,yoghurt,writhing,workable,winking,winded,widen,whooping,whiter,whatya,wazoo,voila,virile,vests,vestibule,versed,vanishes,urkel,uproot,unwarranted,unscheduled,unparalleled,undergrad,tweedle,turtleneck,turban,trickery,transponder,toyed,townhouse,thyself,thunderstorm,thinning,thawed,tether,technicalities,tau'ri,tarnished,taffeta,tacked,systolic,swerve,sweepstakes,swabs,suspenders,superwoman,sunsets,succulent,subpoenas,stumper,stosh,stomachache,stewed,steppin,stepatech,stateside,spicoli,sparing,soulless,sonnets,sockets,snatching,smothering,slush,sloman,slashing,sitters,simpleton,sighs,sidra,sickens,shunned,shrunken,showbiz,shopped,shimmering,shagging,semblance,segue,sedation,scuzzlebutt,scumbags,screwin,scoundrels,scarsdale,scabs,saucers,saintly,saddened,runaways,runaround,rheya,resenting,rehashing,rehabilitated,regrettable,refreshed,redial,reconnecting,ravenous,raping,rafting,quandary,pylea,putrid,puffing,psychopathic,prunes,probate,prayin,pomegranate,plummeting,planing,plagues,pinata,pithy,perversion,personals,perched,peeps,peckish,pavarotti,pajama,packin,pacifier,overstepping,okama,obstetrician,nutso,nuance,normalcy,nonnegotiable,nomak,ninny,nines,nicey,newsflash,neutered,nether,negligee,necrosis,navigating,narcissistic,mylie,muses,momento,moisturizer,moderation,misinformed,misconception,minnifield,mikkos,methodical,mebbe,meager,maybes,matchmaking,masry,markovic,malakai,luzhin,lusting,lumberjack,loopholes,loaning,lightening,leotard,launder,lamaze,kubla,kneeling,kibosh,jumpsuit,joliet,jogger,janover,jakovasaurs,irreparable,innocently,inigo,infomercial,inexplicable,indispensable,impregnated,impossibly,imitating,hunches,hummus,houmfort,hothead,hostiles,hooves,hooligans,homos,homie,hisself,heyyy,hesitant,hangout,handsomest,handouts,hairless,gwennie,guzzling,guinevere,grungy,goading,glaring,gavel,gardino,gangrene,fruitful,friendlier,freckle,freakish,forthright,forearm,footnote,flops,fixer,firecracker,finito,figgered,fezzik,fastened,farfetched,fanciful,familiarize,faire,fahrenheit,extravaganza,exploratory,explanatory,everglades,eunuch,estas,escapade,erasers,emptying,embarassing,dweeb,dutiful,dumplings,dries,drafty,dollhouse,dismissing,disgraced,discrepancies,disbelief,disagreeing,digestion,didnt,deviled,deviated,demerol,delectable,decaying,decadent,dears,dateless,d'algout,cultivating,cryto,crumpled,crumbled,cronies,crease,craves,cozying,corduroy,congratulated,confidante,compressions,complicating,compadre,coerce,classier,chums,chumash,chivalrous,chinpoko,charred,chafing,celibacy,carted,carryin,carpeting,carotid,cannibals,candor,butterscotch,busts,busier,bullcrap,buggin,brookside,brodski,brassiere,brainwash,brainiac,botrelle,bonbon,boatload,blimey,blaring,blackness,bipartisan,bimbos,bigamist,biebe,biding,betrayals,bestow,bellerophon,bedpans,bassinet,basking,barzini,barnyard,barfed,backups,audited,asinine,asalaam,arouse,applejack,annoys,anchovies,ampule,alameida,aggravate,adage,accomplices,yokel,y'ever,wringer,witwer,withdrawals,windward,willfully,whorfin,whimsical,whimpering,weddin,weathered,warmest,wanton,volant,visceral,vindication,veggies,urinate,uproar,unwritten,unwrap,unsung,unsubstantiated,unspeakably,unscrupulous,unraveling,unquote,unqualified,unfulfilled,undetectable,underlined,unattainable,unappreciated,ummmm,ulcers,tylenol,tweak,turnin,tuatha,tropez,trellis,toppings,tootin,toodle,tinkering,thrives,thespis,theatrics,thatherton,tempers,tavington,tartar,tampon,swelled,sutures,sustenance,sunflowers,sublet,stubbins,strutting,strewn,stowaway,stoic,sternin,stabilizing,spiraling,spinster,speedometer,speakeasy,soooo,soiled,sneakin,smithereens,smelt,smacks,slaughterhouse,slacks,skids,sketching,skateboards,sizzling,sixes,sirree,simplistic,shouts,shorted,shoelace,sheeit,shards,shackled,sequestered,selmak,seduces,seclusion,seamstress,seabeas,scoops,scooped,scavenger,satch,s'more,rudeness,romancing,rioja,rifkin,rieper,revise,reunions,repugnant,replicating,repaid,renewing,relaxes,rekindle,regrettably,regenerate,reels,reciting,reappear,readin,ratting,rapes,rancher,rammed,rainstorm,railroading,queers,punxsutawney,punishes,pssst,prudy,proudest,protectors,procrastinating,proactive,priss,postmortem,pompoms,poise,pickings,perfectionist,peretti,people'll,pecking,patrolman,paralegal,paragraphs,paparazzi,pankot,pampering,overstep,overpower,outweigh,omnipotent,odious,nuwanda,nurtured,newsroom,neeson,needlepoint,necklaces,neato,muggers,muffler,mousy,mourned,mosey,mopey,mongolians,moldy,misinterpret,minibar,microfilm,mendola,mended,melissande,masturbating,masbath,manipulates,maimed,mailboxes,magnetism,m'lord,m'honey,lymph,lunge,lovelier,lefferts,leezak,ledgers,larraby,laloosh,kundun,kozinski,knockoff,kissin,kiosk,kennedys,kellman,karlo,kaleidoscope,jeffy,jaywalking,instructing,infraction,informer,infarction,impulsively,impressing,impersonated,impeach,idiocy,hyperbole,hurray,humped,huhuh,hsing,hordes,hoodlums,honky,hitchhiker,hideously,heaving,heathcliff,headgear,headboard,hazing,harem,handprint,hairspray,gutiurrez,goosebumps,gondola,glitches,gasping,frolic,freeways,frayed,fortitude,forgetful,forefathers,fonder,foiled,foaming,flossing,flailing,fitzgeralds,firehouse,finders,fiftieth,fellah,fawning,farquaad,faraway,fancied,extremists,exorcist,exhale,ethros,entrust,ennui,energized,encephalitis,embezzling,elster,elixir,electrolytes,duplex,dryers,drexl,dredging,drawback,don'ts,dobisch,divorcee,disrespected,disprove,disobeying,disinfectant,dingy,digress,dieting,dictating,devoured,devise,detonators,desist,deserter,derriere,deron,deceptive,debilitating,deathwok,daffodils,curtsy,cursory,cuppa,cumin,cronkite,cremation,credence,cranking,coverup,courted,countin,counselling,cornball,contentment,consensual,compost,cluett,cleverly,cleansed,cleanliness,chopec,chomp,chins,chime,cheswick,chessler,cheapest,chatted,cauliflower,catharsis,catchin,caress,camcorder,calorie,cackling,bystanders,buttoned,buttering,butted,buries,burgel,buffoon,brogna,bragged,boutros,bogeyman,blurting,blurb,blowup,bloodhound,blissful,birthmark,bigot,bestest,belted,belligerent,beggin,befall,beeswax,beatnik,beaming,barricade,baggoli,badness,awoke,artsy,artful,aroun,armpits,arming,annihilate,anise,angiogram,anaesthetic,amorous,ambiance,alligators,adoration,admittance,adama,abydos,zonked,zhivago,yorkin,wrongfully,writin,wrappers,worrywart,woops,wonderfalls,womanly,wickedness,whoopie,wholeheartedly,whimper,which'll,wheelchairs,what'ya,warranted,wallop,wading,wacked,virginal,vermouth,vermeil,verger,ventriss,veneer,vampira,utero,ushers,urgently,untoward,unshakable,unsettled,unruly,unlocks,ungodly,undue,uncooperative,uncontrollably,unbeatable,twitchy,tumbler,truest,triumphs,triplicate,tribbey,tortures,tongaree,tightening,thorazine,theres,testifies,teenaged,tearful,taxing,taldor,syllabus,swoops,swingin,suspending,sunburn,stuttering,stupor,strides,strategize,strangulation,stooped,stipulation,stingy,stapled,squeaks,squawking,spoilsport,splicing,spiel,spencers,spasms,spaniard,softener,sodding,soapbox,smoldering,smithbauer,skittish,sifting,sickest,sicilians,shuffling,shrivel,segretti,seeping,securely,scurrying,scrunch,scrote,screwups,schenkman,sawing,savin,satine,sapiens,salvaging,salmonella,sacrilege,rumpus,ruffle,roughing,rotted,rondall,ridding,rickshaw,rialto,rhinestone,restrooms,reroute,requisite,repress,rednecks,redeeming,rayed,ravell,raked,raincheck,raffi,racked,pushin,profess,prodding,procure,presuming,preppy,prednisone,potted,posttraumatic,poorhouse,podiatrist,plowed,pledging,playroom,plait,placate,pinback,picketing,photographing,pharoah,petrak,petal,persecuting,perchance,pellets,peeved,peerless,payable,pauses,pathologist,pagliacci,overwrought,overreaction,overqualified,overheated,outcasts,otherworldly,opinionated,oodles,oftentimes,occured,obstinate,nutritionist,numbness,nubile,nooooooo,nobodies,nepotism,neanderthals,mushu,mucus,mothering,mothballs,monogrammed,molesting,misspoke,misspelled,misconstrued,miscalculated,minimums,mince,mildew,mighta,middleman,mementos,mellowed,mayol,mauled,massaged,marmalade,mardi,makings,lundegaard,lovingly,loudest,lotto,loosing,loompa,looming,longs,loathes,littlest,littering,lifelike,legalities,laundered,lapdog,lacerations,kopalski,knobs,knitted,kittridge,kidnaps,kerosene,karras,jungles,jockeys,iranoff,invoices,invigorating,insolence,insincere,insectopia,inhumane,inhaling,ingrates,infestation,individuality,indeterminate,incomprehensible,inadequacy,impropriety,importer,imaginations,illuminating,ignite,hysterics,hypodermic,hyperventilate,hyperactive,humoring,honeymooning,honed,hoist,hoarding,hitching,hiker,hightail,hemoglobin,hell'd,heinie,growin,grasped,grandparent,granddaughters,gouged,goblins,gleam,glades,gigantor,get'em,geriatric,gatekeeper,gargoyles,gardenias,garcon,garbo,gallows,gabbing,futon,fulla,frightful,freshener,fortuitous,forceps,fogged,fodder,foamy,flogging,flaun,flared,fireplaces,feverish,favell,fattest,fattening,fallow,extraordinaire,evacuating,errant,envied,enchant,enamored,egocentric,dussander,dunwitty,dullest,dropout,dredged,dorsia,doornail,donot,dongs,dogged,dodgy,ditty,dishonorable,discriminating,discontinue,dings,dilly,dictation,dialysis,delly,delightfully,daryll,dandruff,cruddy,croquet,cringe,crimp,credo,crackling,courtside,counteroffer,counterfeiting,corrupting,copping,conveyor,contusions,contusion,conspirator,consoling,connoisseur,confetti,composure,compel,colic,coddle,cocksuckers,coattails,cloned,claustrophobia,clamoring,churn,chugga,chirping,chasin,chapped,chalkboard,centimeter,caymans,catheter,casings,caprica,capelli,cannolis,cannoli,camogli,camembert,butchers,butchered,busboys,bureaucrats,buckled,bubbe,brownstone,bravely,brackley,bouquets,botox,boozing,boosters,bodhi,blunders,blunder,blockage,biocyte,betrays,bested,beryllium,beheading,beggar,begbie,beamed,bastille,barstool,barricades,barbecues,barbecued,bandwagon,backfiring,bacarra,avenged,autopsies,aunties,associating,artichoke,arrowhead,appendage,apostrophe,antacid,ansel,annul,amuses,amped,amicable,amberg,alluring,adversaries,admirers,adlai,acupuncture,abnormality,aaaahhhh,zooming,zippity,zipping,zeroed,yuletide,yoyodyne,yengeese,yeahhh,wrinkly,wracked,withered,winks,windmills,whopping,wendle,weigart,waterworks,waterbed,watchful,wantin,wagging,waaah,vying,ventricle,varnish,vacuumed,unreachable,unprovoked,unmistakable,unfriendly,unfolding,underpaid,uncuff,unappealing,unabomber,typhoid,tuxedos,tushie,turds,tumnus,troubadour,trinium,treaters,treads,transpired,transgression,tought,thready,thins,thinners,techs,teary,tattaglia,tassels,tarzana,tanking,tablecloths,synchronize,symptomatic,sycophant,swimmingly,sweatshop,surfboard,superpowers,sunroom,sunblock,sugarplum,stupidly,strumpet,strapless,stooping,stools,stealthy,stalks,stairmaster,staffer,sshhh,squatting,squatters,spectacularly,sorbet,socked,sociable,snubbed,snorting,sniffles,snazzy,snakebite,smuggler,smorgasbord,smooching,slurping,slouch,slingshot,slaved,skimmed,sisterhood,silliest,sidarthur,sheraton,shebang,sharpening,shanghaied,shakers,sendoff,scurvy,scoliosis,scaredy,scagnetti,sawchuk,saugus,sasquatch,sandbag,saltines,s'pose,roston,rostle,riveting,ristle,rifling,revulsion,reverently,retrograde,restful,resents,reptilian,reorganize,renovating,reiterate,reinvent,reinmar,reibers,reechard,recuse,reconciling,recognizance,reclaiming,recitation,recieved,rebate,reacquainted,rascals,railly,quintuplets,quahog,pygmies,puzzling,punctuality,prosthetic,proms,probie,preys,preserver,preppie,poachers,plummet,plumbers,plannin,pitying,pitfalls,piqued,pinecrest,pinches,pillage,pigheaded,physique,pessimistic,persecute,perjure,percentile,pentothal,pensky,penises,peini,pazzi,pastels,parlour,paperweight,pamper,pained,overwhelm,overalls,outrank,outpouring,outhouse,outage,ouija,obstructed,obsessions,obeying,obese,o'riley,o'higgins,nosebleeds,norad,noooooooo,nononono,nonchalant,nippy,neurosis,nekhorvich,necronomicon,naquada,n'est,mystik,mystified,mumps,muddle,mothership,moped,monumentally,monogamous,mondesi,misogynistic,misinterpreting,mindlock,mending,megaphone,meeny,medicating,meanie,masseur,markstrom,marklars,margueritas,manifesting,maharajah,lukewarm,loveliest,loran,lizardo,liquored,lipped,lingers,limey,lemkin,leisurely,lathe,latched,lapping,ladle,krevlorneswath,kosygin,khakis,kenaru,keats,kaitlan,julliard,jollies,jaundice,jargon,jackals,invisibility,insipid,inflamed,inferiority,inexperience,incinerated,incinerate,incendiary,incan,inbred,implicating,impersonator,hunks,horsing,hooded,hippopotamus,hiked,hetson,hetero,hessian,henslowe,hendler,hellstrom,headstone,hayloft,harbucks,handguns,hallucinate,haldol,haggling,gynaecologist,gulag,guilder,guaranteeing,groundskeeper,grindstone,grimoir,grievance,griddle,gribbit,greystone,graceland,gooders,goeth,gentlemanly,gelatin,gawking,ganged,fukes,fromby,frenchmen,foursome,forsley,forbids,footwork,foothold,floater,flinging,flicking,fittest,fistfight,fireballs,fillings,fiddling,fennyman,felonious,felonies,feces,favoritism,fatten,fanatics,faceman,excusing,excepted,entwined,entree,ensconced,eladio,ehrlichman,easterland,dueling,dribbling,drape,downtrodden,doused,dosed,dorleen,dokie,distort,displeased,disown,dismount,disinherited,disarmed,disapproves,diperna,dined,diligent,dicaprio,depress,decoded,debatable,dealey,darsh,damsels,damning,dad'll,d'oeuvre,curlers,curie,cubed,crikey,crepes,countrymen,cornfield,coppers,copilot,copier,cooing,conspiracies,consigliere,condoning,commoner,commies,combust,comas,colds,clawed,clamped,choosy,chomping,chimps,chigorin,chianti,cheep,checkups,cheaters,celibate,cautiously,cautionary,castell,carpentry,caroling,carjacking,caritas,caregiver,cardiology,candlesticks,canasta,cain't,burro,burnin,bunking,bumming,bullwinkle,brummel,brooms,brews,breathin,braslow,bracing,botulism,boorish,bloodless,blayne,blatantly,blankie,bedbugs,becuase,barmaid,bared,baracus,banal,bakes,backpacks,attentions,atrocious,ativan,athame,asunder,astound,assuring,aspirins,asphyxiation,ashtrays,aryans,arnon,apprehension,applauding,anvil,antiquing,antidepressants,annoyingly,amputate,altruistic,alotta,alerting,afterthought,affront,affirm,actuality,abysmal,absentee,yeller,yakushova,wuzzy,wriggle,worrier,woogyman,womanizer,windpipe,windbag,willin,whisking,whimsy,wendall,weeny,weensy,weasels,watery,watcha,wasteful,waski,washcloth,waaay,vouched,viznick,ventriloquist,vendettas,veils,vayhue,vamanos,vadimus,upstage,uppity,unsaid,unlocking,unintentionally,undetected,undecided,uncaring,unbearably,tween,tryout,trotting,trini,trimmings,trickier,treatin,treadstone,trashcan,transcendent,tramps,townsfolk,torturous,torrid,toothpicks,tolerable,tireless,tiptoeing,timmay,tillinghouse,tidying,tibia,thumbing,thrusters,thrashing,these'll,thatos,testicular,teriyaki,tenors,tenacity,tellers,telemetry,tarragon,switchblade,swicker,swells,sweatshirts,swatches,surging,supremely,sump'n,succumb,subsidize,stumbles,stuffs,stoppin,stipulate,stenographer,steamroll,stasis,stagger,squandered,splint,splendidly,splashy,splashing,specter,sorcerers,somewheres,somber,snuggled,snowmobile,sniffed,snags,smugglers,smudged,smirking,smearing,slings,sleet,sleepovers,sleek,slackers,siree,siphoning,singed,sincerest,sickened,shuffled,shriveled,shorthanded,shittin,shish,shipwrecked,shins,sheetrock,shawshank,shamu,sha're,servitude,sequins,seascape,scrapings,scoured,scorching,sandpaper,saluting,salud,ruffled,roughnecks,rougher,rosslyn,rosses,roost,roomy,romping,revolutionize,reprimanded,refute,refrigerated,reeled,redundancies,rectal,recklessly,receding,reassignment,reapers,readout,ration,raring,ramblings,raccoons,quarantined,purging,punters,psychically,premarital,pregnancies,predisposed,precautionary,pollute,podunk,plums,plaything,pixilated,pitting,piranhas,pieced,piddles,pickled,photogenic,phosphorous,pffft,pestilence,pessimist,perspiration,perps,penticoff,passageways,pardons,panics,pancamo,paleontologist,overwhelms,overstating,overpaid,overdid,outlive,orthodontist,orgies,oreos,ordover,ordinates,ooooooh,oooohhh,omelettes,officiate,obtuse,obits,nymph,novocaine,noooooooooo,nipping,nilly,nightstick,negate,neatness,natured,narcotic,narcissism,namun,nakatomi,murky,muchacho,mouthwash,motzah,morsel,morph,morlocks,mooch,moloch,molest,mohra,modus,modicum,mockolate,misdemeanors,miscalculation,middies,meringue,mercilessly,meditating,mayakovsky,maximillian,marlee,markovski,maniacal,maneuvered,magnificence,maddening,lutze,lunged,lovelies,lorry,loosening,lookee,littered,lilac,lightened,laces,kurzon,kurtzweil,kind've,kimono,kenji,kembu,keanu,kazuo,jonesing,jilted,jiggling,jewelers,jewbilee,jacqnoud,jacksons,ivories,insurmountable,innocuous,innkeeper,infantery,indulged,indescribable,incoherent,impervious,impertinent,imperfections,hunnert,huffy,horsies,horseradish,hollowed,hogwash,hockley,hissing,hiromitsu,hidin,hereafter,helpmann,hehehe,haughty,happenings,hankie,handsomely,halliwells,haklar,haise,gunsights,grossly,grope,grocer,grits,gripping,grabby,glorificus,gizzard,gilardi,gibarian,geminon,gasses,garnish,galloping,gairwyn,futterman,futility,fumigated,fruitless,friendless,freon,foregone,forego,floored,flighty,flapjacks,fizzled,ficus,festering,farbman,fabricate,eyghon,extricate,exalted,eventful,esophagus,enterprising,entail,endor,emphatically,embarrasses,electroshock,easel,duffle,drumsticks,dissection,dissected,disposing,disparaging,disorientation,disintegrated,disarming,devoting,dessaline,deprecating,deplorable,delve,degenerative,deduct,decomposed,deathly,dearie,daunting,dankova,cyclotron,cyberspace,cutbacks,culpable,cuddled,crumpets,cruelly,crouching,cranium,cramming,cowering,couric,cordesh,conversational,conclusively,clung,clotting,cleanest,chipping,chimpanzee,chests,cheapen,chainsaws,censure,catapult,caravaggio,carats,captivating,calrissian,butlers,busybody,bussing,bunion,bulimic,budging,brung,browbeat,brokenhearted,brecher,breakdowns,bracebridge,boning,blowhard,blisters,blackboard,bigotry,bialy,bhamra,bended,begat,battering,baste,basquiat,barricaded,barometer,balled,baited,badenweiler,backhand,ascenscion,argumentative,appendicitis,apparition,anxiously,antagonistic,angora,anacott,amniotic,ambience,alonna,aleck,akashic,ageless,abouts,aawwww,aaaaarrrrrrggghhh,aaaaaa,zendi,yuppies,yodel,y'hear,wrangle,wombosi,wittle,withstanding,wisecracks,wiggling,wierd,whittlesley,whipper,whattya,whatsamatter,whatchamacallit,whassup,whad'ya,weakling,warfarin,waponis,wampum,wadn't,vorash,vizzini,virtucon,viridiana,veracity,ventilated,varicose,varcon,vandalized,vamos,vamoose,vaccinated,vacationing,usted,urinal,uppers,unwittingly,unsealed,unplanned,unhinged,unhand,unfathomable,unequivocally,unbreakable,unadvisedly,udall,tynacorp,tuxes,tussle,turati,tunic,tsavo,trussed,troublemakers,trollop,tremors,transsexual,transfusions,toothbrushes,toned,toddlers,tinted,tightened,thundering,thorpey,this'd,thespian,thaddius,tenuous,tenths,tenement,telethon,teleprompter,teaspoon,taunted,tattle,tardiness,taraka,tappy,tapioca,tapeworm,talcum,tacks,swivel,swaying,superpower,summarize,sumbitch,sultry,suburbia,styrofoam,stylings,strolls,strobe,stockpile,stewardesses,sterilized,sterilize,stealin,stakeouts,squawk,squalor,squabble,sprinkled,sportsmanship,spokes,spiritus,sparklers,spareribs,sowing,sororities,sonovabitch,solicit,softy,softness,softening,snuggling,snatchers,snarling,snarky,snacking,smears,slumped,slowest,slithering,sleazebag,slayed,slaughtering,skidded,skated,sivapathasundaram,sissies,silliness,silences,sidecar,sicced,shylock,shtick,shrugged,shriek,shoves,should'a,shortcake,shockingly,shirking,shaves,shatner,sharpener,shapely,shafted,sexless,septum,selflessness,seabea,scuff,screwball,scoping,scooch,scolding,schnitzel,schemed,scalper,santy,sankara,sanest,salesperson,sakulos,safehouse,sabers,runes,rumblings,rumbling,ruijven,ringers,righto,rhinestones,retrieving,reneging,remodelling,relentlessly,regurgitate,refills,reeking,reclusive,recklessness,recanted,ranchers,rafer,quaking,quacks,prophesied,propensity,profusely,problema,prided,prays,postmark,popsicles,poodles,pollyanna,polaroids,pokes,poconos,pocketful,plunging,plugging,pleeease,platters,pitied,pinetti,piercings,phooey,phonies,pestering,periscope,pentagram,pelts,patronized,paramour,paralyze,parachutes,pales,paella,paducci,owatta,overdone,overcrowded,overcompensating,ostracized,ordinate,optometrist,operandi,omens,okayed,oedipal,nuttier,nuptial,nunheim,noxious,nourish,notepad,nitroglycerin,nibblet,neuroses,nanosecond,nabbit,mythic,munchkins,multimillion,mulroney,mucous,muchas,mountaintop,morlin,mongorians,moneybags,mom'll,molto,mixup,misgivings,mindset,michalchuk,mesmerized,merman,mensa,meaty,mbwun,materialize,materialistic,masterminded,marginally,mapuhe,malfunctioning,magnify,macnamara,macinerney,machinations,macadamia,lysol,lurks,lovelorn,lopsided,locator,litback,litany,linea,limousines,limes,lighters,liebkind,levity,levelheaded,letterhead,lesabre,leron,lepers,lefts,leftenant,laziness,layaway,laughlan,lascivious,laryngitis,lapsed,landok,laminated,kurten,kobol,knucklehead,knowed,knotted,kirkeby,kinsa,karnovsky,jolla,jimson,jettison,jeric,jawed,jankis,janitors,jango,jalopy,jailbreak,jackers,jackasses,invalidate,intercepting,intercede,insinuations,infertile,impetuous,impaled,immerse,immaterial,imbeciles,imagines,idyllic,idolized,icebox,i'd've,hypochondriac,hyphen,hurtling,hurried,hunchback,hullo,horsting,hoooo,homeboys,hollandaise,hoity,hijinks,hesitates,herrero,herndorff,helplessly,heeyy,heathen,hearin,headband,harrassment,harpies,halstrom,hahahahaha,hacer,grumbling,grimlocks,grift,greets,grandmothers,grander,grafts,gordievsky,gondorff,godorsky,glscripts,gaudy,gardeners,gainful,fuses,fukienese,frizzy,freshness,freshening,fraught,frantically,foxbooks,fortieth,forked,foibles,flunkies,fleece,flatbed,fisted,firefight,fingerpaint,filibuster,fhloston,fenceline,femur,fatigues,fanucci,fantastically,familiars,falafel,fabulously,eyesore,expedient,ewwww,eviscerated,erogenous,epidural,enchante,embarassed,embarass,embalming,elude,elspeth,electrocute,eigth,eggshell,echinacea,eases,earpiece,earlobe,dumpsters,dumbshit,dumbasses,duloc,duisberg,drummed,drinkers,dressy,dorma,doily,divvy,diverting,dissuade,disrespecting,displace,disorganized,disgustingly,discord,disapproving,diligence,didja,diced,devouring,detach,destructing,desolate,demerits,delude,delirium,degrade,deevak,deemesa,deductions,deduce,debriefed,deadbeats,dateline,darndest,damnable,dalliance,daiquiri,d'agosta,cussing,cryss,cripes,cretins,crackerjack,cower,coveting,couriers,countermission,cotswolds,convertibles,conversationalist,consorting,consoled,consarn,confides,confidentially,commited,commiserate,comme,comforter,comeuppance,combative,comanches,colosseum,colling,coexist,coaxing,cliffside,chutes,chucked,chokes,childlike,childhoods,chickening,chenowith,charmingly,changin,catsup,captioning,capsize,cappucino,capiche,candlewell,cakewalk,cagey,caddie,buxley,bumbling,bulky,buggered,brussel,brunettes,brumby,brotha,bronck,brisket,bridegroom,braided,bovary,bookkeeper,bluster,bloodline,blissfully,blase,billionaires,bicker,berrisford,bereft,berating,berate,bendy,belive,belated,beikoku,beens,bedspread,bawdy,barreling,baptize,banya,balthazar,balmoral,bakshi,bails,badgered,backstreet,awkwardly,auras,attuned,atheists,astaire,assuredly,arrivederci,appetit,appendectomy,apologetic,antihistamine,anesthesiologist,amulets,albie,alarmist,aiight,adstream,admirably,acquaint,abound,abominable,aaaaaaah,zekes,zatunica,wussy,worded,wooed,woodrell,wiretap,windowsill,windjammer,windfall,whisker,whims,whatiya,whadya,weirdly,weenies,waunt,washout,wanto,waning,victimless,verdad,veranda,vandaley,vancomycin,valise,vaguest,upshot,unzip,unwashed,untrained,unstuck,unprincipled,unmentionables,unjustly,unfolds,unemployable,uneducated,unduly,undercut,uncovering,unconsciousness,unconsciously,tyndareus,turncoat,turlock,tulle,tryouts,trouper,triplette,trepkos,tremor,treeger,trapeze,traipse,tradeoff,trach,torin,tommorow,tollan,toity,timpani,thumbprint,thankless,tell'em,telepathy,telemarketing,telekinesis,teevee,teeming,tarred,tambourine,talentless,swooped,switcheroo,swirly,sweatpants,sunstroke,suitors,sugarcoat,subways,subterfuge,subservient,subletting,stunningly,strongbox,striptease,stravanavitch,stradling,stoolie,stodgy,stocky,stifle,stealer,squeezes,squatter,squarely,sprouted,spool,spindly,speedos,soups,soundly,soulmates,somebody'll,soliciting,solenoid,sobering,snowflakes,snowballs,snores,slung,slimming,skulk,skivvies,skewered,skewer,sizing,sistine,sidebar,sickos,shushing,shunt,shugga,shone,shol'va,sharpened,shapeshifter,shadowing,shadoe,selectman,sefelt,seared,scrounging,scribbling,scooping,scintillating,schmoozing,scallops,sapphires,sanitarium,sanded,safes,rudely,roust,rosebush,rosasharn,rondell,roadhouse,riveted,rewrote,revamp,retaliatory,reprimand,replicators,replaceable,remedied,relinquishing,rejoicing,reincarnated,reimbursed,reevaluate,redid,redefine,recreating,reconnected,rebelling,reassign,rearview,rayne,ravings,ratso,rambunctious,radiologist,quiver,quiero,queef,qualms,pyrotechnics,pulsating,psychosomatic,proverb,promiscuous,profanity,prioritize,preying,predisposition,precocious,precludes,prattling,prankster,povich,potting,postpartum,porridge,polluting,plowing,pistachio,pissin,pickpocket,physicals,peruse,pertains,personified,personalize,perjured,perfecting,pepys,pepperdine,pembry,peering,peels,pedophile,patties,passkey,paratrooper,paraphernalia,paralyzing,pandering,paltry,palpable,pagers,pachyderm,overstay,overestimated,overbite,outwit,outgrow,outbid,ooops,oomph,oohhh,oldie,obliterate,objectionable,nygma,notting,noches,nitty,nighters,newsstands,newborns,neurosurgery,nauseated,nastiest,narcolepsy,mutilate,muscled,murmur,mulva,mulling,mukada,muffled,morgues,moonbeams,monogamy,molester,molestation,molars,moans,misprint,mismatched,mirth,mindful,mimosas,millander,mescaline,menstrual,menage,mellowing,medevac,meddlesome,matey,manicures,malevolent,madmen,macaroons,lydell,lycra,lunchroom,lunching,lozenges,looped,litigious,liquidate,linoleum,lingk,limitless,limber,lilacs,ligature,liftoff,lemmiwinks,leggo,learnin,lazarre,lawyered,lactose,knelt,kenosha,kemosabe,jussy,junky,jordy,jimmies,jeriko,jakovasaur,issacs,isabela,irresponsibility,ironed,intoxication,insinuated,inherits,ingest,ingenue,inflexible,inflame,inevitability,inedible,inducement,indignant,indictments,indefensible,incomparable,incommunicado,improvising,impounded,illogical,ignoramus,hydrochloric,hydrate,hungover,humorless,humiliations,hugest,hoverdrone,hovel,hmmph,hitchhike,hibernating,henchman,helloooo,heirlooms,heartsick,headdress,hatches,harebrained,hapless,hanen,handsomer,hallows,habitual,guten,gummy,guiltier,guidebook,gstaad,gruff,griss,grieved,grata,gorignak,goosed,goofed,glowed,glitz,glimpses,glancing,gilmores,gianelli,geraniums,garroway,gangbusters,gamblers,galls,fuddy,frumpy,frowning,frothy,fro'tak,frere,fragrances,forgettin,follicles,flowery,flophouse,floatin,flirts,flings,flatfoot,fingerprinting,fingerprinted,fingering,finald,fillet,fianc,femoral,federales,fawkes,fascinates,farfel,fambly,falsified,fabricating,exterminators,expectant,excusez,excrement,excercises,evian,etins,esophageal,equivalency,equate,equalizer,entrees,enquire,endearment,empathetic,emailed,eggroll,earmuffs,dyslexic,duper,duesouth,drunker,druggie,dreadfully,dramatics,dragline,downplay,downers,dominatrix,doers,docket,docile,diversify,distracts,disloyalty,disinterested,discharging,disagreeable,dirtier,dinghy,dimwitted,dimoxinil,dimmy,diatribe,devising,deviate,detriment,desertion,depressants,depravity,deniability,delinquents,defiled,deepcore,deductive,decimate,deadbolt,dauthuille,dastardly,daiquiris,daggers,dachau,curiouser,curdled,cucamonga,cruller,cruces,crosswalk,crinkle,crescendo,cremate,counseled,couches,cornea,corday,copernicus,contrition,contemptible,constipated,conjoined,confounded,condescend,concoct,conch,compensating,committment,commandeered,comely,coddled,cockfight,cluttered,clunky,clownfish,cloaked,clenched,cleanin,civilised,circumcised,cimmeria,cilantro,chutzpah,chucking,chiseled,chicka,chattering,cervix,carrey,carpal,carnations,cappuccinos,candied,calluses,calisthenics,bushy,burners,budington,buchanans,brimming,braids,boycotting,bouncers,botticelli,botherin,bookkeeping,bogyman,bogged,bloodthirsty,blintzes,blanky,binturong,billable,bigboote,bewildered,betas,bequeath,behoove,befriend,bedpost,bedded,baudelaires,barreled,barboni,barbeque,bangin,baltus,bailout,backstabber,baccarat,awning,augie,arguillo,archway,apricots,apologising,annyong,anchorman,amenable,amazement,allspice,alannis,airfare,airbags,ahhhhhhhhh,ahhhhhhhh,ahhhhhhh,agitator,adrenal,acidosis,achoo,accessorizing,accentuate,abrasions,abductor,aaaahhh,aaaaaaaa,aaaaaaa,zeroing,zelner,zeldy,yevgeny,yeska,yellows,yeesh,yeahh,yamuri,wouldn't've,workmanship,woodsman,winnin,winked,wildness,whoring,whitewash,whiney,when're,wheezer,wheelman,wheelbarrow,westerburg,weeding,watermelons,washboard,waltzes,wafting,voulez,voluptuous,vitone,vigilantes,videotaping,viciously,vices,veruca,vermeer,verifying,vasculitis,valets,upholstered,unwavering,untold,unsympathetic,unromantic,unrecognizable,unpredictability,unmask,unleashing,unintentional,unglued,unequivocal,underrated,underfoot,unchecked,unbutton,unbind,unbiased,unagi,uhhhhh,tugging,triads,trespasses,treehorn,traviata,trappers,transplants,trannie,tramping,tracheotomy,tourniquet,tooty,toothless,tomarrow,toasters,thruster,thoughtfulness,thornwood,tengo,tenfold,telltale,telephoto,telephoned,telemarketer,tearin,tastic,tastefully,tasking,taser,tamed,tallow,taketh,taillight,tadpoles,tachibana,syringes,sweated,swarthy,swagger,surges,supermodels,superhighway,sunup,sun'll,sulfa,sugarless,sufficed,subside,strolled,stringy,strengthens,straightest,straightens,storefront,stopper,stockpiling,stimulant,stiffed,steyne,sternum,stepladder,stepbrother,steers,steelheads,steakhouse,stathis,stankylecartmankennymr,standoffish,stalwart,squirted,spritz,sprig,sprawl,spousal,sphincter,spenders,spearmint,spatter,spangled,southey,soured,sonuvabitch,somethng,snuffed,sniffs,smokescreen,smilin,slobs,sleepwalker,sleds,slays,slayage,skydiving,sketched,skanks,sixed,siphoned,siphon,simpering,sigfried,sidearm,siddons,sickie,shuteye,shuffleboard,shrubberies,shrouded,showmanship,shouldn't've,shoplift,shiatsu,sentries,sentance,sensuality,seething,secretions,searing,scuttlebutt,sculpt,scowling,scouring,scorecard,schoolers,schmucks,scepters,scaly,scalps,scaffolding,sauces,sartorius,santen,salivating,sainthood,saget,saddens,rygalski,rusting,ruination,rueland,rudabaga,rottweiler,roofies,romantics,rollerblading,roldy,roadshow,rickets,rible,rheza,revisiting,retentive,resurface,restores,respite,resounding,resorting,resists,repulse,repressing,repaying,reneged,refunds,rediscover,redecorated,reconstructive,recommitted,recollect,receptacle,reassess,reanimation,realtors,razinin,rationalization,ratatouille,rashum,rasczak,rancheros,rampler,quizzing,quips,quartered,purring,pummeling,puede,proximo,prospectus,pronouncing,prolonging,procreation,proclamations,principled,prides,preoccupation,prego,precog,prattle,pounced,potshots,potpourri,porque,pomegranates,polenta,plying,pluie,plesac,playmates,plantains,pillowcase,piddle,pickers,photocopied,philistine,perpetuate,perpetually,perilous,pawned,pausing,pauper,parter,parlez,parlay,pally,ovulation,overtake,overstate,overpowering,overpowered,overconfident,overbooked,ovaltine,outweighs,outings,ottos,orrin,orifice,orangutan,oopsy,ooooooooh,oooooo,ooohhhh,ocular,obstruct,obscenely,o'dwyer,nutjob,nunur,notifying,nostrand,nonny,nonfat,noblest,nimble,nikes,nicht,newsworthy,nestled,nearsighted,ne'er,nastier,narco,nakedness,muted,mummified,mudda,mozzarella,moxica,motivator,motility,mothafucka,mortmain,mortgaged,mores,mongers,mobbed,mitigating,mistah,misrepresented,mishke,misfortunes,misdirection,mischievous,mineshaft,millaney,microwaves,metzenbaum,mccovey,masterful,masochistic,marliston,marijawana,manya,mantumbi,malarkey,magnifique,madrona,madox,machida,m'hidi,lullabies,loveliness,lotions,looka,lompoc,litterbug,litigator,lithe,liquorice,linds,limericks,lightbulb,lewises,letch,lemec,layover,lavatory,laurels,lateness,laparotomy,laboring,kuato,kroff,krispy,krauts,knuckleheads,kitschy,kippers,kimbrow,keypad,keepsake,kebab,karloff,junket,judgemental,jointed,jezzie,jetting,jeeze,jeeter,jeesus,jeebs,janeane,jails,jackhammer,ixnay,irritates,irritability,irrevocable,irrefutable,irked,invoking,intricacies,interferon,intents,insubordinate,instructive,instinctive,inquisitive,inlay,injuns,inebriated,indignity,indecisive,incisors,incacha,inalienable,impresses,impregnate,impregnable,implosion,idolizes,hypothyroidism,hypoglycemic,huseni,humvee,huddling,honing,hobnobbing,hobnob,histrionics,histamine,hirohito,hippocratic,hindquarters,hikita,hikes,hightailed,hieroglyphics,heretofore,herbalist,hehey,hedriks,heartstrings,headmistress,headlight,hardheaded,happend,handlebars,hagitha,habla,gyroscope,guys'd,guy'd,guttersnipe,grump,growed,grovelling,groan,greenbacks,gravedigger,grating,grasshoppers,grandiose,grandest,grafted,gooood,goood,gooks,godsakes,goaded,glamorama,giveth,gingham,ghostbusters,germane,georgy,gazzo,gazelles,gargle,garbled,galgenstein,gaffe,g'day,fyarl,furnish,furies,fulfills,frowns,frowned,frighteningly,freebies,freakishly,forewarned,foreclose,forearms,fordson,fonics,flushes,flitting,flemmer,flabby,fishbowl,fidgeting,fevers,feigning,faxing,fatigued,fathoms,fatherless,fancier,fanatical,factored,eyelid,eyeglasses,expresso,expletive,expectin,excruciatingly,evidentiary,ever'thing,eurotrash,eubie,estrangement,erlich,epitome,entrap,enclose,emphysema,embers,emasculating,eighths,eardrum,dyslexia,duplicitous,dumpty,dumbledore,dufus,duddy,duchamp,drunkenness,drumlin,drowns,droid,drinky,drifts,drawbridge,dramamine,douggie,douchebag,dostoyevsky,doodling,don'tcha,domineering,doings,dogcatcher,doctoring,ditzy,dissimilar,dissecting,disparage,disliking,disintegrating,dishwalla,dishonored,dishing,disengaged,disavowed,dippy,diorama,dimmed,dilate,digitalis,diggory,dicing,diagnosing,devola,desolation,dennings,denials,deliverance,deliciously,delicacies,degenerates,degas,deflector,defile,deference,decrepit,deciphered,dawdle,dauphine,daresay,dangles,dampen,damndest,cucumbers,cucaracha,cryogenically,croaks,croaked,criticise,crisper,creepiest,creams,crackle,crackin,covertly,counterintelligence,corrosive,cordially,cops'll,convulsions,convoluted,conversing,conga,confrontational,confab,condolence,condiments,complicit,compiegne,commodus,comings,cometh,collusion,collared,cockeyed,clobber,clemonds,clarithromycin,cienega,christmasy,christmassy,chloroform,chippie,chested,cheeco,checklist,chauvinist,chandlers,chambermaid,chakras,cellophane,caveat,cataloguing,cartmanland,carples,carny,carded,caramels,cappy,caped,canvassing,callback,calibrated,calamine,buttermilk,butterfingers,bunsen,bulimia,bukatari,buildin,budged,brobich,bringer,brendell,brawling,bratty,braised,boyish,boundless,botch,boosh,bookies,bonbons,bodes,bobunk,bluntly,blossoming,bloomers,bloodstains,bloodhounds,blech,biter,biometric,bioethics,bijan,bigoted,bicep,bereaved,bellowing,belching,beholden,beached,batmobile,barcodes,barch,barbecuing,bandanna,backwater,backtrack,backdraft,augustino,atrophy,atrocity,atley,atchoo,asthmatic,assoc,armchair,arachnids,aptly,appetizing,antisocial,antagonizing,anorexia,anini,andersons,anagram,amputation,alleluia,airlock,aimless,agonized,agitate,aggravating,aerosol,acing,accomplishing,accidently,abuser,abstain,abnormally,aberration,aaaaahh,zlotys,zesty,zerzura,zapruder,zantopia,yelburton,yeess,y'knowwhati'msayin,wwhat,wussies,wrenched,would'a,worryin,wormser,wooooo,wookiee,wolchek,wishin,wiseguys,windbreaker,wiggy,wieners,wiedersehen,whoopin,whittled,wherefore,wharvey,welts,wellstone,wedges,wavered,watchit,wastebasket,wango,waken,waitressed,wacquiem,vrykolaka,voula,vitally,visualizing,viciousness,vespers,vertes,verily,vegetarians,vater,vaporize,vannacutt,vallens,ussher,urinating,upping,unwitting,untangle,untamed,unsanitary,unraveled,unopened,unisex,uninvolved,uninteresting,unintelligible,unimaginative,undeserving,undermines,undergarments,unconcerned,tyrants,typist,tykes,tybalt,twosome,twits,tutti,turndown,tularemia,tuberculoma,tsimshian,truffaut,truer,truant,trove,triumphed,tripe,trigonometry,trifled,trifecta,tribulations,tremont,tremoille,transcends,trafficker,touchin,tomfoolery,tinkered,tinfoil,tightrope,thousan,thoracotomy,thesaurus,thawing,thatta,tessio,temps,taxidermist,tator,tachycardia,t'akaya,swelco,sweetbreads,swatting,supercollider,sunbathing,summarily,suffocation,sueleen,succinct,subsided,submissive,subjecting,subbing,subatomic,stupendous,stunted,stubble,stubbed,streetwalker,strategizing,straining,straightaway,stoli,stiffer,stickup,stens,steamroller,steadwell,steadfast,stateroom,stans,sshhhh,squishing,squinting,squealed,sprouting,sprimp,spreadsheets,sprawled,spotlights,spooning,spirals,speedboat,spectacles,speakerphone,southglen,souse,soundproof,soothsayer,sommes,somethings,solidify,soars,snorted,snorkeling,snitches,sniping,snifter,sniffin,snickering,sneer,snarl,smila,slinking,slanted,slanderous,slammin,skimp,skilosh,siteid,sirloin,singe,sighing,sidekicks,sicken,showstopper,shoplifter,shimokawa,sherborne,shavadai,sharpshooters,sharking,shagged,shaddup,senorita,sesterces,sensuous,seahaven,scullery,scorcher,schotzie,schnoz,schmooze,schlep,schizo,scents,scalping,scalped,scallop,scalding,sayeth,saybrooke,sawed,savoring,sardine,sandstorm,sandalwood,salutations,sagman,s'okay,rsvp'd,rousted,rootin,romper,romanovs,rollercoaster,rolfie,robinsons,ritzy,ritualistic,ringwald,rhymed,rheingold,rewrites,revoking,reverts,retrofit,retort,retinas,respirations,reprobate,replaying,repaint,renquist,renege,relapsing,rekindled,rejuvenating,rejuvenated,reinstating,recriminations,rechecked,reassemble,rears,reamed,reacquaint,rayanne,ravish,rathole,raspail,rarest,rapists,rants,racketeer,quittin,quitters,quintessential,queremos,quellek,quelle,quasimodo,pyromaniac,puttanesca,puritanical,purer,puree,pungent,pummel,puedo,psychotherapist,prosecutorial,prosciutto,propositioning,procrastination,probationary,primping,preventative,prevails,preservatives,preachy,praetorians,practicality,powders,potus,postop,positives,poser,portolano,portokalos,poolside,poltergeists,pocketed,poach,plummeted,plucking,plimpton,playthings,plastique,plainclothes,pinpointed,pinkus,pinks,pigskin,piffle,pictionary,piccata,photocopy,phobias,perignon,perfumes,pecks,pecked,patently,passable,parasailing,paramus,papier,paintbrush,pacer,paaiint,overtures,overthink,overstayed,overrule,overestimate,overcooked,outlandish,outgrew,outdoorsy,outdo,orchestrate,oppress,opposable,oooohh,oomupwah,okeydokey,okaaay,ohashi,of'em,obscenities,oakie,o'gar,nurection,nostradamus,norther,norcom,nooch,nonsensical,nipped,nimbala,nervously,neckline,nebbleman,narwhal,nametag,n'n't,mycenae,muzak,muumuu,mumbled,mulvehill,muggings,muffet,mouthy,motivates,motaba,moocher,mongi,moley,moisturize,mohair,mocky,mmkay,mistuh,missis,misdeeds,mincemeat,miggs,miffed,methadone,messieur,menopausal,menagerie,mcgillicuddy,mayflowers,matrimonial,matick,masai,marzipan,maplewood,manzelle,mannequins,manhole,manhandle,malfunctions,madwoman,machiavelli,lynley,lynched,lurconis,lujack,lubricant,looove,loons,loofah,lonelyhearts,lollipops,lineswoman,lifers,lexter,lepner,lemony,leggy,leafy,leadeth,lazerus,lazare,lawford,languishing,lagoda,ladman,kundera,krinkle,krendler,kreigel,kowolski,knockdown,knifed,kneed,kneecap,kids'll,kennie,kenmore,keeled,kazootie,katzenmoyer,kasdan,karak,kapowski,kakistos,julyan,jockstrap,jobless,jiggly,jaunt,jarring,jabbering,irrigate,irrevocably,irrationally,ironies,invitro,intimated,intently,intentioned,intelligently,instill,instigator,instep,inopportune,innuendoes,inflate,infects,infamy,indiscretions,indiscreet,indio,indignities,indict,indecision,inconspicuous,inappropriately,impunity,impudent,impotence,implicates,implausible,imperfection,impatience,immutable,immobilize,idealist,iambic,hysterically,hyperspace,hygienist,hydraulics,hydrated,huzzah,husks,hunched,huffed,hubris,hubbub,hovercraft,houngan,hosed,horoscopes,hopelessness,hoodwinked,honorably,honeysuckle,homegirl,holiest,hippity,hildie,hieroglyphs,hexton,herein,heckle,heaping,healthilizer,headfirst,hatsue,harlot,hardwired,halothane,hairstyles,haagen,haaaaa,gutting,gummi,groundless,groaning,gristle,grills,graynamore,grabbin,goodes,goggle,glittering,glint,gleaming,glassy,girth,gimbal,giblets,gellers,geezers,geeze,garshaw,gargantuan,garfunkel,gangway,gandarium,gamut,galoshes,gallivanting,gainfully,gachnar,fusionlips,fusilli,furiously,frugal,fricking,frederika,freckling,frauds,fountainhead,forthwith,forgo,forgettable,foresight,foresaw,fondling,fondled,fondle,folksy,fluttering,fluffing,floundering,flirtatious,flexing,flatterer,flaring,fixating,finchy,figurehead,fiendish,fertilize,ferment,fending,fellahs,feelers,fascinate,fantabulous,falsify,fallopian,faithless,fairer,fainter,failings,facetious,eyepatch,exxon,extraterrestrials,extradite,extracurriculars,extinguish,expunged,expelling,exorbitant,exhilarated,exertion,exerting,excercise,everbody,evaporated,escargot,escapee,erases,epizootics,epithelials,ephrum,entanglements,enslave,engrossed,emphatic,emeralds,ember,emancipated,elevates,ejaculate,effeminate,eccentricities,easygoing,earshot,dunks,dullness,dulli,dulled,drumstick,dropper,driftwood,dregs,dreck,dreamboat,draggin,downsizing,donowitz,dominoes,diversions,distended,dissipate,disraeli,disqualify,disowned,dishwashing,disciplining,discerning,disappoints,dinged,digested,dicking,detonating,despising,depressor,depose,deport,dents,defused,deflecting,decryption,decoys,decoupage,decompress,decibel,decadence,deafening,dawning,dater,darkened,dappy,dallying,dagon,czechoslovakians,cuticles,cuteness,cupboards,culottes,cruisin,crosshairs,cronyn,criminalistics,creatively,creaming,crapping,cranny,cowed,contradicting,constipation,confining,confidences,conceiving,conceivably,concealment,compulsively,complainin,complacent,compels,communing,commode,comming,commensurate,columnists,colonoscopy,colchicine,coddling,clump,clubbed,clowning,cliffhanger,clang,cissy,choosers,choker,chiffon,channeled,chalet,cellmates,cathartic,caseload,carjack,canvass,canisters,candlestick,candlelit,camry,calzones,calitri,caldy,byline,butterball,bustier,burlap,bureaucrat,buffoons,buenas,brookline,bronzed,broiled,broda,briss,brioche,briar,breathable,brays,brassieres,boysenberry,bowline,boooo,boonies,booklets,bookish,boogeyman,boogey,bogas,boardinghouse,bluuch,blundering,bluer,blowed,blotchy,blossomed,bloodwork,bloodied,blithering,blinks,blathering,blasphemous,blacking,birdson,bings,bfmid,bfast,bettin,berkshires,benjamins,benevolence,benched,benatar,bellybutton,belabor,behooves,beddy,beaujolais,beattle,baxworth,baseless,barfing,bannish,bankrolled,banek,ballsy,ballpoint,baffling,badder,badda,bactine,backgammon,baako,aztreonam,authoritah,auctioning,arachtoids,apropos,aprons,apprised,apprehensive,anythng,antivenin,antichrist,anorexic,anoint,anguished,angioplasty,angio,amply,ampicillin,amphetamines,alternator,alcove,alabaster,airlifted,agrabah,affidavits,admonished,admonish,addled,addendum,accuser,accompli,absurdity,absolved,abrusso,abreast,aboot,abductions,abducting,aback,ababwa,aaahhhh,zorin,zinthar,zinfandel,zillions,zephyrs,zatarcs,zacks,youuu,yokels,yardstick,yammer,y'understand,wynette,wrung,wreaths,wowed,wouldn'ta,worming,wormed,workday,woodsy,woodshed,woodchuck,wojadubakowski,withering,witching,wiseass,wiretaps,wining,willoby,wiccaning,whupped,whoopi,whoomp,wholesaler,whiteness,whiner,whatchya,wharves,wenus,weirdoes,weaning,watusi,waponi,waistband,wackos,vouching,votre,vivica,viveca,vivant,vivacious,visor,visitin,visage,vicrum,vetted,ventriloquism,venison,varnsen,vaporized,vapid,vanstock,uuuuh,ushering,urologist,urination,upstart,uprooted,unsubtitled,unspoiled,unseat,unseasonably,unseal,unsatisfying,unnerve,unlikable,unleaded,uninsured,uninspired,unicycle,unhooked,unfunny,unfreezing,unflattering,unfairness,unexpressed,unending,unencumbered,unearth,undiscovered,undisciplined,understan,undershirt,underlings,underline,undercurrent,uncivilized,uncharacteristic,umpteenth,uglies,tuney,trumps,truckasaurus,trubshaw,trouser,tringle,trifling,trickster,trespassers,trespasser,traumas,trattoria,trashes,transgressions,trampling,tp'ed,toxoplasmosis,tounge,tortillas,topsy,topple,topnotch,tonsil,tions,timmuh,timithious,tilney,tighty,tightness,tightens,tidbits,ticketed,thyme,threepio,thoughtfully,thorkel,thommo,thing'll,thefts,that've,thanksgivings,tetherball,testikov,terraforming,tepid,tendonitis,tenboom,telex,teenybopper,tattered,tattaglias,tanneke,tailspin,tablecloth,swooping,swizzle,swiping,swindled,swilling,swerving,sweatshops,swaddling,swackhammer,svetkoff,supossed,superdad,sumptuous,sugary,sugai,subvert,substantiate,submersible,sublimating,subjugation,stymied,strychnine,streetlights,strassmans,stranglehold,strangeness,straddling,straddle,stowaways,stotch,stockbrokers,stifling,stepford,steerage,steena,statuary,starlets,staggeringly,ssshhh,squaw,spurt,spungeon,spritzer,sprightly,sprays,sportswear,spoonful,splittin,splitsville,speedily,specialise,spastic,sparrin,souvlaki,southie,sourpuss,soupy,soundstage,soothes,somebody'd,softest,sociopathic,socialized,snyders,snowmobiles,snowballed,snatches,smugness,smoothest,smashes,sloshed,sleight,skyrocket,skied,skewed,sixpence,sipowicz,singling,simulates,shyness,shuvanis,showoff,shortsighted,shopkeeper,shoehorn,shithouse,shirtless,shipshape,shifu,shelve,shelbyville,sheepskin,sharpens,shaquille,shanshu,servings,sequined,seizes,seashells,scrambler,scopes,schnauzer,schmo,schizoid,scampered,savagely,saudis,santas,sandovals,sanding,saleswoman,sagging,s'cuse,rutting,ruthlessly,runneth,ruffians,rubes,rosalita,rollerblades,rohypnol,roasts,roadies,ritten,rippling,ripples,rigoletto,richardo,rethought,reshoot,reserving,reseda,rescuer,reread,requisitions,repute,reprogram,replenish,repetitious,reorganizing,reinventing,reinvented,reheat,refrigerators,reenter,recruiter,recliner,rawdy,rashes,rajeski,raison,raisers,rages,quinine,questscape,queller,pygmalion,pushers,pusan,purview,pumpin,pubescent,prudes,provolone,propriety,propped,procrastinate,processional,preyed,pretrial,portent,pooling,poofy,polloi,policia,poacher,pluses,pleasuring,platitudes,plateaued,plaguing,pittance,pinheads,pincushion,pimply,pimped,piggyback,piecing,phillipe,philipse,philby,pharaohs,petyr,petitioner,peshtigo,pesaram,persnickety,perpetrate,percolating,pepto,penne,penell,pemmican,peeks,pedaling,peacemaker,pawnshop,patting,pathologically,patchouli,pasts,pasties,passin,parlors,paltrow,palamon,padlock,paddling,oversleep,overheating,overdosed,overcharge,overblown,outrageously,ornery,opportune,oooooooooh,oohhhh,ohhhhhh,ogres,odorless,obliterated,nyong,nymphomaniac,ntozake,novocain,nough,nonnie,nonissue,nodules,nightmarish,nightline,niceties,newsman,needra,nedry,necking,navour,nauseam,nauls,narim,namath,nagged,naboo,n'sync,myslexia,mutator,mustafi,musketeer,murtaugh,murderess,munching,mumsy,muley,mouseville,mortifying,morgendorffers,moola,montel,mongoloid,molestered,moldings,mocarbies,mo'ss,mixers,misrell,misnomer,misheard,mishandled,miscreant,misconceptions,miniscule,millgate,mettle,metricconverter,meteors,menorah,mengele,melding,meanness,mcgruff,mcarnold,matzoh,matted,mastectomy,massager,marveling,marooned,marmaduke,marick,manhandled,manatees,man'll,maltin,maliciously,malfeasance,malahide,maketh,makeovers,maiming,machismo,lumpectomy,lumbering,lucci,lording,lorca,lookouts,loogie,loners,loathed,lissen,lighthearted,lifer,lickin,lewen,levitation,lestercorp,lessee,lentils,legislate,legalizing,lederhosen,lawmen,lasskopf,lardner,lambeau,lamagra,ladonn,lactic,lacquer,labatier,krabappel,kooks,knickknacks,klutzy,kleynach,klendathu,kinross,kinkaid,kind'a,ketch,kesher,karikos,karenina,kanamits,junshi,jumbled,joust,jotted,jobson,jingling,jigalong,jerries,jellies,jeeps,javna,irresistable,internist,intercranial,inseminated,inquisitor,infuriate,inflating,infidelities,incessantly,incensed,incase,incapacitate,inasmuch,inaccuracies,imploding,impeding,impediments,immaturity,illegible,iditarod,icicles,ibuprofen,i'i'm,hymie,hydrolase,hunker,humps,humons,humidor,humdinger,humbling,huggin,huffing,housecleaning,hothouse,hotcakes,hosty,hootenanny,hootchie,hoosegow,honks,honeymooners,homily,homeopathic,hitchhikers,hissed,hillnigger,hexavalent,hewwo,hershe,hermey,hergott,henny,hennigans,henhouse,hemolytic,helipad,heifer,hebrews,hebbing,heaved,headlock,harrowing,harnessed,hangovers,handi,handbasket,halfrek,hacene,gyges,guys're,gundersons,gumption,gruntmaster,grubs,grossie,groped,grins,greaseball,gravesite,gratuity,granma,grandfathers,grandbaby,gradski,gracing,gossips,gooble,goners,golitsyn,gofer,godsake,goddaughter,gnats,gluing,glares,givers,ginza,gimmie,gimmee,gennero,gemme,gazpacho,gazed,gassy,gargling,gandhiji,galvanized,gallbladder,gaaah,furtive,fumigation,fucka,fronkonsteen,frills,freezin,freewald,freeloader,frailty,forger,foolhardy,fondest,fomin,followin,follicle,flotation,flopping,floodgates,flogged,flicked,flenders,fleabag,fixings,fixable,fistful,firewater,firelight,fingerbang,finalizing,fillin,filipov,fiderer,felling,feldberg,feign,faunia,fatale,farkus,fallible,faithfulness,factoring,eyeful,extramarital,exterminated,exhume,exasperated,eviscerate,estoy,esmerelda,escapades,epoxy,enticed,enthused,entendre,engrossing,endorphins,emptive,emmys,eminently,embezzler,embarressed,embarrassingly,embalmed,eludes,eling,elated,eirie,egotitis,effecting,eerily,eecom,eczema,earthy,earlobes,eally,dyeing,dwells,duvet,duncans,dulcet,droves,droppin,drools,drey'auc,downriver,domesticity,dollop,doesnt,dobler,divulged,diversionary,distancing,dispensers,disorienting,disneyworld,dismissive,disingenuous,disheveled,disfiguring,dinning,dimming,diligently,dilettante,dilation,dickensian,diaphragms,devastatingly,destabilize,desecrate,deposing,deniece,demony,delving,delicates,deigned,defraud,deflower,defibrillator,defiantly,defenceless,defacing,deconstruction,decompose,deciphering,decibels,deceptively,deceptions,decapitation,debutantes,debonair,deadlier,dawdling,davic,darwinism,darnit,darks,danke,danieljackson,dangled,cytoxan,cutout,cutlery,curveball,curfews,cummerbund,crunches,crouched,crisps,cripples,crilly,cribs,crewman,creepin,creeds,credenza,creak,crawly,crawlin,crawlers,crated,crackheads,coworker,couldn't've,corwins,coriander,copiously,convenes,contraceptives,contingencies,contaminating,conniption,condiment,concocting,comprehending,complacency,commendatore,comebacks,com'on,collarbone,colitis,coldly,coiffure,coffers,coeds,codependent,cocksucking,cockney,cockles,clutched,closeted,cloistered,cleve,cleats,clarifying,clapped,cinnabar,chunnel,chumps,cholinesterase,choirboy,chocolatey,chlamydia,chigliak,cheesie,chauvinistic,chasm,chartreuse,charo,charnier,chapil,chalked,chadway,certifiably,cellulite,celled,cavalcade,cataloging,castrated,cassio,cashews,cartouche,carnivore,carcinogens,capulet,captivated,capt'n,cancellations,campin,callate,callar,caffeinated,cadavers,cacophony,cackle,buzzes,buttoning,busload,burglaries,burbs,buona,bunions,bullheaded,buffs,bucyk,buckling,bruschetta,browbeating,broomsticks,broody,bromly,brolin,briefings,brewskies,breathalyzer,breakups,bratwurst,brania,braiding,brags,braggin,bradywood,bottomed,bossa,bordello,bookshelf,boogida,bondsman,bolder,boggles,bludgeoned,blowtorch,blotter,blips,blemish,bleaching,blainetologists,blading,blabbermouth,birdseed,bimmel,biloxi,biggly,bianchinni,betadine,berenson,belus,belloq,begets,befitting,beepers,beelzebub,beefed,bedridden,bedevere,beckons,beaded,baubles,bauble,battleground,bathrobes,basketballs,basements,barroom,barnacle,barkin,barked,baretta,bangles,bangler,banality,bambang,baltar,ballplayers,bagman,baffles,backroom,babysat,baboons,averse,audiotape,auctioneer,atten,atcha,astonishment,arugula,arroz,antihistamines,annoyances,anesthesiology,anatomically,anachronism,amiable,amaretto,allahu,alight,aimin,ailment,afterglow,affronte,advil,adrenals,actualization,acrost,ached,accursed,accoutrements,absconded,aboveboard,abetted,aargh,aaaahh,zuwicky,zolda,ziploc,zakamatak,youve,yippie,yesterdays,yella,yearns,yearnings,yearned,yawning,yalta,yahtzee,y'mean,y'are,wuthering,wreaks,worrisome,workiiing,wooooooo,wonky,womanizing,wolodarsky,wiwith,withdraws,wishy,wisht,wipers,wiper,winos,windthorne,windsurfing,windermere,wiggled,wiggen,whwhat,whodunit,whoaaa,whittling,whitesnake,whereof,wheezing,wheeze,whatd'ya,whataya,whammo,whackin,wellll,weightless,weevil,wedgies,webbing,weasly,wayside,waxes,waturi,washy,washrooms,wandell,waitaminute,waddya,waaaah,vornac,vishnoor,virulent,vindictiveness,vinceres,villier,vigeous,vestigial,ventilate,vented,venereal,veering,veered,veddy,vaslova,valosky,vailsburg,vaginas,vagas,urethra,upstaged,uploading,unwrapping,unwieldy,untapped,unsatisfied,unquenchable,unnerved,unmentionable,unlovable,unknowns,uninformed,unimpressed,unhappily,unguarded,unexplored,undergarment,undeniably,unclench,unclaimed,uncharacteristically,unbuttoned,unblemished,ululd,uhhhm,tweeze,tutsami,tushy,tuscarora,turkle,turghan,turbinium,tubers,trucoat,troxa,tropicana,triquetra,trimmers,triceps,trespassed,traya,traumatizing,transvestites,trainors,tradin,trackers,townies,tourelles,toucha,tossin,tortious,topshop,topes,tonics,tongs,tomsk,tomorrows,toiling,toddle,tizzy,tippers,timmi,thwap,thusly,ththe,thrusts,throwers,throwed,throughway,thickening,thermonuclear,thelwall,thataway,terrifically,tendons,teleportation,telepathically,telekinetic,teetering,teaspoons,tarantulas,tapas,tanned,tangling,tamales,tailors,tahitian,tactful,tachy,tablespoon,syrah,synchronicity,synch,synapses,swooning,switchman,swimsuits,sweltering,sweetly,suvolte,suslov,surfed,supposition,suppertime,supervillains,superfluous,superego,sunspots,sunning,sunless,sundress,suckah,succotash,sublevel,subbasement,studious,striping,strenuously,straights,stonewalled,stillness,stilettos,stevesy,steno,steenwyck,stargates,stammering,staedert,squiggly,squiggle,squashing,squaring,spreadsheet,spramp,spotters,sporto,spooking,splendido,spittin,spirulina,spiky,spate,spartacus,spacerun,soonest,something'll,someth,somepin,someone'll,sofas,soberly,sobered,snowmen,snowbank,snowballing,snivelling,sniffling,snakeskin,snagging,smush,smooter,smidgen,smackers,slumlord,slossum,slimmer,slighted,sleepwalk,sleazeball,skokie,skeptic,sitarides,sistah,sipped,sindell,simpletons,simony,silkwood,silks,silken,sightless,sideboard,shuttles,shrugging,shrouds,showy,shoveled,shouldn'ta,shoplifters,shitstorm,sheeny,shapetype,shaming,shallows,shackle,shabbily,shabbas,seppuku,senility,semite,semiautomatic,selznick,secretarial,sebacio,scuzzy,scummy,scrutinized,scrunchie,scribbled,scotches,scolded,scissor,schlub,scavenging,scarin,scarfing,scallions,scald,savour,savored,saute,sarcoidosis,sandbar,saluted,salish,saith,sailboats,sagittarius,sacre,saccharine,sacamano,rushdie,rumpled,rumba,rulebook,rubbers,roughage,rotisserie,rootie,roofy,roofie,romanticize,rittle,ristorante,rippin,rinsing,ringin,rincess,rickety,reveling,retest,retaliating,restorative,reston,restaurateur,reshoots,resetting,resentments,reprogramming,repossess,repartee,renzo,remore,remitting,remeber,relaxants,rejuvenate,rejections,regenerated,refocus,referrals,reeno,recycles,recrimination,reclining,recanting,reattach,reassigning,razgul,raved,rattlesnakes,rattles,rashly,raquetball,ransack,raisinettes,raheem,radisson,radishes,raban,quoth,qumari,quints,quilts,quilting,quien,quarreled,purty,purblind,punchbowl,publically,psychotics,psychopaths,psychoanalyze,pruning,provasik,protectin,propping,proportioned,prophylactic,proofed,prompter,procreate,proclivities,prioritizing,prinze,pricked,press'll,presets,prescribes,preocupe,prejudicial,prefex,preconceived,precipice,pralines,pragmatist,powerbar,pottie,pottersville,potsie,potholes,posses,posies,portkey,porterhouse,pornographers,poring,poppycock,poppers,pomponi,pokin,poitier,podiatry,pleeze,pleadings,playbook,platelets,plane'arium,placebos,place'll,pistachios,pirated,pinochle,pineapples,pinafore,pimples,piggly,piddling,picon,pickpockets,picchu,physiologically,physic,phobic,philandering,phenomenally,pheasants,pewter,petticoat,petronis,petitioning,perturbed,perpetuating,permutat,perishable,perimeters,perfumed,percocet,per'sus,pepperjack,penalize,pelting,pellet,peignoir,pedicures,peckers,pecans,pawning,paulsson,pattycake,patrolmen,patois,pathos,pasted,parishioner,parcheesi,parachuting,papayas,pantaloons,palpitations,palantine,paintballing,overtired,overstress,oversensitive,overnights,overexcited,overanxious,overachiever,outwitted,outvoted,outnumber,outlast,outlander,out've,orphey,orchestrating,openers,ooooooo,okies,ohhhhhhhhh,ohhhhhhhh,ogling,offbeat,obsessively,obeyed,o'hana,o'bannon,o'bannion,numpce,nummy,nuked,nuances,nourishing,nosedive,norbu,nomlies,nomine,nixed,nihilist,nightshift,newmeat,neglectful,neediness,needin,naphthalene,nanocytes,nanite,naivete,n'yeah,mystifying,myhnegon,mutating,musing,mulled,muggy,muerto,muckraker,muchachos,mountainside,motherless,mosquitos,morphed,mopped,moodoo,moncho,mollem,moisturiser,mohicans,mocks,mistresses,misspent,misinterpretation,miscarry,minuses,mindee,mimes,millisecond,milked,mightn't,mightier,mierzwiak,microchips,meyerling,mesmerizing,mershaw,meecrob,medicate,meddled,mckinnons,mcgewan,mcdunnough,mcats,mbien,matzah,matriarch,masturbated,masselin,martialed,marlboros,marksmanship,marinate,marchin,manicured,malnourished,malign,majorek,magnon,magnificently,macking,machiavellian,macdougal,macchiato,macaws,macanaw,m'self,lydells,lusts,lucite,lubricants,lopper,lopped,loneliest,lonelier,lomez,lojack,loath,liquefy,lippy,limps,likin,lightness,liesl,liebchen,licious,libris,libation,lhamo,leotards,leanin,laxatives,lavished,latka,lanyard,lanky,landmines,lameness,laddies,lacerated,labored,l'amour,kreskin,kovitch,kournikova,kootchy,konoss,knknow,knickety,knackety,kmart,klicks,kiwanis,kissable,kindergartners,kilter,kidnet,kid'll,kicky,kickbacks,kickback,kholokov,kewpie,kendo,katra,kareoke,kafelnikov,kabob,junjun,jumba,julep,jordie,jondy,jolson,jenoff,jawbone,janitorial,janiro,ipecac,invigorated,intruded,intros,intravenously,interruptus,interrogations,interject,interfacing,interestin,insuring,instilled,insensitivity,inscrutable,inroads,innards,inlaid,injector,ingratitude,infuriates,infra,infliction,indelicate,incubators,incrimination,inconveniencing,inconsolable,incestuous,incas,incarcerate,inbreeding,impudence,impressionists,impeached,impassioned,imipenem,idling,idiosyncrasies,icebergs,hypotensive,hydrochloride,hushed,humus,humph,hummm,hulking,hubcaps,hubald,howya,howbout,how'll,housebroken,hotwire,hotspots,hotheaded,horrace,hopsfield,honto,honkin,honeymoons,homewrecker,hombres,hollers,hollerin,hoedown,hoboes,hobbling,hobble,hoarse,hinky,highlighters,hexes,heru'ur,hernias,heppleman,hell're,heighten,heheheheheh,heheheh,hedging,heckling,heckled,heavyset,heatshield,heathens,heartthrob,headpiece,hayseed,haveo,hauls,hasten,harridan,harpoons,hardens,harcesis,harbouring,hangouts,halkein,haleh,halberstam,hairnet,hairdressers,hacky,haaaa,h'yah,gusta,gushy,gurgling,guilted,gruel,grudging,grrrrrr,grosses,groomsmen,griping,gravest,gratified,grated,goulash,goopy,goona,goodly,godliness,godawful,godamn,glycerin,glutes,glowy,globetrotters,glimpsed,glenville,glaucoma,girlscout,giraffes,gilbey,gigglepuss,ghora,gestating,gelato,geishas,gearshift,gayness,gasped,gaslighting,garretts,garba,gablyczyck,g'head,fumigating,fumbling,fudged,fuckwad,fuck're,fuchsia,fretting,freshest,frenchies,freezers,fredrica,fraziers,fraidy,foxholes,fourty,fossilized,forsake,forfeits,foreclosed,foreal,footsies,florists,flopped,floorshow,floorboard,flinching,flecks,flaubert,flatware,flatulence,flatlined,flashdance,flail,flagging,fiver,fitzy,fishsticks,finetti,finelli,finagle,filko,fieldstone,fibber,ferrini,feedin,feasting,favore,fathering,farrouhk,farmin,fairytale,fairservice,factoid,facedown,fabled,eyeballin,extortionist,exquisitely,expedited,exorcise,existentialist,execs,exculpatory,exacerbate,everthing,eventuality,evander,euphoric,euphemisms,estamos,erred,entitle,enquiries,enormity,enfants,endive,encyclopedias,emulating,embittered,effortless,ectopic,ecirc,easely,earphones,earmarks,dweller,durslar,durned,dunois,dunking,dunked,dumdum,dullard,dudleys,druthers,druggist,drossos,drooled,driveways,drippy,dreamless,drawstring,drang,drainpipe,dozing,dotes,dorkface,doorknobs,doohickey,donnatella,doncha,domicile,dokos,dobermans,dizzying,divola,ditsy,distaste,disservice,dislodged,dislodge,disinherit,disinformation,discounting,dinka,dimly,digesting,diello,diddling,dictatorships,dictators,diagnostician,devours,devilishly,detract,detoxing,detours,detente,destructs,desecrated,derris,deplore,deplete,demure,demolitions,demean,delish,delbruck,delaford,degaulle,deftly,deformity,deflate,definatly,defector,decrypted,decontamination,decapitate,decanter,dardis,dampener,damme,daddy'll,dabbling,dabbled,d'etre,d'argent,d'alene,d'agnasti,czechoslovakian,cymbal,cyberdyne,cutoffs,cuticle,curvaceous,curiousity,crowing,crowed,croutons,cropped,criminy,crescentis,crashers,cranwell,coverin,courtrooms,countenance,cosmically,cosign,corroboration,coroners,cornflakes,copperpot,copperhead,copacetic,coordsize,convulsing,consults,conjures,congenial,concealer,compactor,commercialism,cokey,cognizant,clunkers,clumsily,clucking,cloves,cloven,cloths,clothe,clods,clocking,clings,clavicle,classless,clashing,clanking,clanging,clamping,civvies,citywide,circulatory,circuited,chronisters,chromic,choos,chloroformed,chillun,cheesed,chatterbox,chaperoned,channukah,cerebellum,centerpieces,centerfold,ceecee,ccedil,cavorting,cavemen,cauterized,cauldwell,catting,caterine,cassiopeia,carves,cartwheel,carpeted,carob,caressing,carelessly,careening,capricious,capitalistic,capillaries,candidly,camaraderie,callously,calfskin,caddies,buttholes,busywork,busses,burps,burgomeister,bunkhouse,bungchow,bugler,buffets,buffed,brutish,brusque,bronchitis,bromden,brolly,broached,brewskis,brewin,brean,breadwinner,brana,bountiful,bouncin,bosoms,borgnine,bopping,bootlegs,booing,bombosity,bolting,boilerplate,bluey,blowback,blouses,bloodsuckers,bloodstained,bloat,bleeth,blackface,blackest,blackened,blacken,blackballed,blabs,blabbering,birdbrain,bipartisanship,biodegradable,biltmore,bilked,big'uns,bidet,besotted,bernheim,benegas,bendiga,belushi,bellboys,belittling,behinds,begone,bedsheets,beckoning,beaute,beaudine,beastly,beachfront,bathes,batak,baser,baseballs,barbella,bankrolling,bandaged,baerly,backlog,backin,babying,azkaban,awwwww,aviary,authorizes,austero,aunty,attics,atreus,astounded,astonish,artemus,arses,arintero,appraiser,apathetic,anybody'd,anxieties,anticlimactic,antar,anglos,angleman,anesthetist,androscoggin,andolini,andale,amway,amuck,amniocentesis,amnesiac,americano,amara,alvah,altruism,alternapalooza,alphabetize,alpaca,allus,allergist,alexandros,alaikum,akimbo,agoraphobia,agides,aggrhh,aftertaste,adoptions,adjuster,addictions,adamantium,activator,accomplishes,aberrant,aaaaargh,aaaaaaaaaaaaa,a'ight,zzzzzzz,zucchini,zookeeper,zirconia,zippers,zequiel,zellary,zeitgeist,zanuck,zagat,you'n,ylang,yes'm,yenta,yecchh,yecch,yawns,yankin,yahdah,yaaah,y'got,xeroxed,wwooww,wristwatch,wrangled,wouldst,worthiness,worshiping,wormy,wormtail,wormholes,woosh,wollsten,wolfing,woefully,wobbling,wintry,wingding,windstorm,windowtext,wiluna,wilting,wilted,willick,willenholly,wildflowers,wildebeest,whyyy,whoppers,whoaa,whizzing,whizz,whitest,whistled,whist,whinny,wheelies,whazzup,whatwhatwhaaat,whato,whatdya,what'dya,whacks,wewell,wetsuit,welluh,weeps,waylander,wavin,wassail,wasnt,warneford,warbucks,waltons,wallbanger,waiving,waitwait,vowing,voucher,vornoff,vorhees,voldemort,vivre,vittles,vindaloo,videogames,vichyssoise,vicarious,vesuvius,verguenza,ven't,velveteen,velour,velociraptor,vastness,vasectomies,vapors,vanderhof,valmont,validates,valiantly,vacuums,usurp,usernum,us'll,urinals,unyielding,unvarnished,unturned,untouchables,untangled,unsecured,unscramble,unreturned,unremarkable,unpretentious,unnerstand,unmade,unimpeachable,unfashionable,underwrite,underlining,underling,underestimates,underappreciated,uncouth,uncork,uncommonly,unclog,uncircumcised,unchallenged,uncas,unbuttoning,unapproved,unamerican,unafraid,umpteen,umhmm,uhwhy,ughuh,typewriters,twitches,twitched,twirly,twinkling,twinges,twiddling,turners,turnabout,tumblin,tryed,trowel,trousseau,trivialize,trifles,tribianni,trenchcoat,trembled,traumatize,transitory,transients,transfuse,transcribing,tranq,trampy,traipsed,trainin,trachea,traceable,touristy,toughie,toscanini,tortola,tortilla,torreon,toreador,tommorrow,tollbooth,tollans,toidy,togas,tofurkey,toddling,toddies,toasties,toadstool,to've,tingles,timin,timey,timetables,tightest,thuggee,thrusting,thrombus,throes,thrifty,thornharts,thinnest,thicket,thetas,thesulac,tethered,testaburger,tersenadine,terrif,terdlington,tepui,temping,tector,taxidermy,tastebuds,tartlets,tartabull,tar'd,tantamount,tangy,tangles,tamer,tabula,tabletops,tabithia,szechwan,synthedyne,svenjolly,svengali,survivalists,surmise,surfboards,surefire,suprise,supremacists,suppositories,superstore,supercilious,suntac,sunburned,summercliff,sullied,sugared,suckle,subtleties,substantiated,subsides,subliminal,subhuman,strowman,stroked,stroganoff,streetlight,straying,strainer,straighter,straightener,stoplight,stirrups,stewing,stereotyping,stepmommy,stephano,stashing,starshine,stairwells,squatsie,squandering,squalid,squabbling,squab,sprinkling,spreader,spongy,spokesmen,splintered,spittle,spitter,spiced,spews,spendin,spect,spearchucker,spatulas,southtown,soused,soshi,sorter,sorrowful,sooth,some'in,soliloquy,soiree,sodomized,sobriki,soaping,snows,snowcone,snitching,snitched,sneering,snausages,snaking,smoothed,smoochies,smarten,smallish,slushy,slurring,sluman,slithers,slippin,sleuthing,sleeveless,skinless,skillfully,sketchbook,skagnetti,sista,sinning,singularly,sinewy,silverlake,siguto,signorina,sieve,sidearms,shying,shunning,shtud,shrieks,shorting,shortbread,shopkeepers,shmancy,shizzit,shitheads,shitfaced,shipmates,shiftless,shelving,shedlow,shavings,shatters,sharifa,shampoos,shallots,shafter,sha'nauc,sextant,serviceable,sepsis,senores,sendin,semis,semanski,selflessly,seinfelds,seers,seeps,seductress,secaucus,sealant,scuttling,scusa,scrunched,scissorhands,schreber,schmancy,scamps,scalloped,savoir,savagery,sarong,sarnia,santangel,samool,sallow,salino,safecracker,sadism,sacrilegious,sabrini,sabath,s'aright,ruttheimer,rudest,rubbery,rousting,rotarian,roslin,roomed,romari,romanica,rolltop,rolfski,rockettes,roared,ringleader,riffing,ribcage,rewired,retrial,reting,resuscitated,restock,resale,reprogrammed,replicant,repentant,repellant,repays,repainting,renegotiating,rendez,remem,relived,relinquishes,relearn,relaxant,rekindling,rehydrate,refueled,refreshingly,refilling,reexamine,reeseman,redness,redeemable,redcoats,rectangles,recoup,reciprocated,reassessing,realy,realer,reachin,re'kali,rawlston,ravages,rappaports,ramoray,ramming,raindrops,rahesh,radials,racists,rabartu,quiches,quench,quarreling,quaintly,quadrants,putumayo,put'em,purifier,pureed,punitis,pullout,pukin,pudgy,puddings,puckering,pterodactyl,psychodrama,psats,protestations,protectee,prosaic,propositioned,proclivity,probed,printouts,prevision,pressers,preset,preposition,preempt,preemie,preconceptions,prancan,powerpuff,potties,potpie,poseur,porthole,poops,pooping,pomade,polyps,polymerized,politeness,polisher,polack,pocketknife,poatia,plebeian,playgroup,platonically,platitude,plastering,plasmapheresis,plaids,placemats,pizzazz,pintauro,pinstripes,pinpoints,pinkner,pincer,pimento,pileup,pilates,pigmen,pieeee,phrased,photocopies,phoebes,philistines,philanderer,pheromone,phasers,pfeffernuesse,pervs,perspire,personify,perservere,perplexed,perpetrating,perkiness,perjurer,periodontist,perfunctory,perdido,percodan,pentameter,pentacle,pensive,pensione,pennybaker,pennbrooke,penhall,pengin,penetti,penetrates,pegnoir,peeve,peephole,pectorals,peckin,peaky,peaksville,paxcow,paused,patted,parkishoff,parkers,pardoning,paraplegic,paraphrasing,paperers,papered,pangs,paneling,palooza,palmed,palmdale,palatable,pacify,pacified,owwwww,oversexed,overrides,overpaying,overdrawn,overcompensate,overcomes,overcharged,outmaneuver,outfoxed,oughtn't,ostentatious,oshun,orthopedist,or'derves,ophthalmologist,operagirl,oozes,oooooooh,onesie,omnis,omelets,oktoberfest,okeydoke,ofthe,ofher,obstetrical,obeys,obeah,o'henry,nyquil,nyanyanyanyah,nuttin,nutsy,nutball,nurhachi,numbskull,nullifies,nullification,nucking,nubbin,nourished,nonspecific,noing,noinch,nohoho,nobler,nitwits,newsprint,newspaperman,newscaster,neuropathy,netherworld,neediest,navasky,narcissists,napped,nafta,mache,mykonos,mutilating,mutherfucker,mutha,mutates,mutate,musn't,murchy,multitasking,mujeeb,mudslinging,muckraking,mousetrap,mourns,mournful,motherf,mostro,morphing,morphate,moralistic,moochy,mooching,monotonous,monopolize,monocle,molehill,moland,mofet,mockup,mobilizing,mmmmmmm,mitzvahs,mistreating,misstep,misjudge,misinformation,misdirected,miscarriages,miniskirt,mindwarped,minced,milquetoast,miguelito,mightily,midstream,midriff,mideast,microbe,methuselah,mesdames,mescal,men'll,memma,megaton,megara,megalomaniac,meeee,medulla,medivac,meaninglessness,mcnuggets,mccarthyism,maypole,may've,mauve,mateys,marshack,markles,marketable,mansiere,manservant,manse,manhandling,mallomars,malcontent,malaise,majesties,mainsail,mailmen,mahandra,magnolias,magnified,magev,maelstrom,machu,macado,m'boy,m'appelle,lustrous,lureen,lunges,lumped,lumberyard,lulled,luego,lucks,lubricated,loveseat,loused,lounger,loski,lorre,loora,looong,loonies,loincloth,lofts,lodgers,lobbing,loaner,livered,liqueur,ligourin,lifesaving,lifeguards,lifeblood,liaisons,let'em,lesbianism,lence,lemonlyman,legitimize,leadin,lazars,lazarro,lawyering,laugher,laudanum,latrines,lations,laters,lapels,lakefront,lahit,lafortunata,lachrymose,l'italien,kwaini,kruczynski,kramerica,kowtow,kovinsky,korsekov,kopek,knowakowski,knievel,knacks,kiowas,killington,kickball,keyworth,keymaster,kevie,keveral,kenyons,keggers,keepsakes,kechner,keaty,kavorka,karajan,kamerev,kaggs,jujyfruit,jostled,jonestown,jokey,joists,jocko,jimmied,jiggled,jests,jenzen,jenko,jellyman,jedediah,jealitosis,jaunty,jarmel,jankle,jagoff,jagielski,jackrabbits,jabbing,jabberjaw,izzat,irresponsibly,irrepressible,irregularity,irredeemable,inuvik,intuitions,intubated,intimates,interminable,interloper,intercostal,instyle,instigate,instantaneously,ining,ingrown,ingesting,infusing,infringe,infinitum,infact,inequities,indubitably,indisputable,indescribably,indentation,indefinable,incontrovertible,inconsequential,incompletes,incoherently,inclement,incidentals,inarticulate,inadequacies,imprudent,improprieties,imprison,imprinted,impressively,impostors,importante,imperious,impale,immodest,immobile,imbedded,imbecilic,illegals,idn't,hysteric,hypotenuse,hygienic,hyeah,hushpuppies,hunhh,humpback,humored,hummed,humiliates,humidifier,huggy,huggers,huckster,hotbed,hosing,hosers,horsehair,homebody,homebake,holing,holies,hoisting,hogwallop,hocks,hobbits,hoaxes,hmmmmm,hisses,hippest,hillbillies,hilarity,heurh,herniated,hermaphrodite,hennifer,hemlines,hemline,hemery,helplessness,helmsley,hellhound,heheheheh,heeey,hedda,heartbeats,heaped,healers,headstart,headsets,headlong,hawkland,havta,haulin,harvey'll,hanta,hansom,hangnail,handstand,handrail,handoff,hallucinogen,hallor,halitosis,haberdashery,gypped,guy'll,gumbel,guerillas,guava,guardrail,grunther,grunick,groppi,groomer,grodin,gripes,grinds,grifters,gretch,greevey,greasing,graveyards,grandkid,grainy,gouging,gooney,googly,goldmuff,goldenrod,goingo,godly,gobbledygook,gobbledegook,glues,gloriously,glengarry,glassware,glamor,gimmicks,giggly,giambetti,ghoulish,ghettos,ghali,gether,geriatrics,gerbils,geosynchronous,georgio,gente,gendarme,gelbman,gazillionth,gayest,gauging,gastro,gaslight,gasbag,garters,garish,garas,gantu,gangy,gangly,gangland,galling,gadda,furrowed,funnies,funkytown,fugimotto,fudging,fuckeen,frustrates,froufrou,froot,fromberge,frizzies,fritters,frightfully,friendliest,freeloading,freelancing,freakazoid,fraternization,framers,fornication,fornicating,forethought,footstool,foisting,focussing,focking,flurries,fluffed,flintstones,fledermaus,flayed,flawlessly,flatters,flashbang,flapped,fishies,firmer,fireproof,firebug,fingerpainting,finessed,findin,financials,finality,fillets,fiercest,fiefdom,fibbing,fervor,fentanyl,fenelon,fedorchuk,feckless,feathering,faucets,farewells,fantasyland,fanaticism,faltered,faggy,faberge,extorting,extorted,exterminating,exhumation,exhilaration,exhausts,exfoliate,excels,exasperating,exacting,everybody'd,evasions,espressos,esmail,errrr,erratically,eroding,ernswiler,epcot,enthralled,ensenada,enriching,enrage,enhancer,endear,encrusted,encino,empathic,embezzle,emanates,electricians,eking,egomaniacal,egging,effacing,ectoplasm,eavesdropped,dummkopf,dugray,duchaisne,drunkard,drudge,droop,droids,drips,dripped,dribbles,drazens,downy,downsize,downpour,dosages,doppelganger,dopes,doohicky,dontcha,doneghy,divining,divest,diuretics,diuretic,distrustful,disrupts,dismemberment,dismember,disinfect,disillusionment,disheartening,discourteous,discotheque,discolored,dirtiest,diphtheria,dinks,dimpled,didya,dickwad,diatribes,diathesis,diabetics,deviants,detonates,detests,detestable,detaining,despondent,desecration,derision,derailing,deputized,depressors,dependant,dentures,denominators,demur,demonology,delts,dellarte,delacour,deflated,defib,defaced,decorators,deaqon,davola,datin,darwinian,darklighters,dandelions,dampened,damaskinos,dalrimple,d'peshu,d'hoffryn,d'astier,cynics,cutesy,cutaway,curmudgeon,curdle,culpability,cuisinart,cuffing,crypts,cryptid,crunched,crumblers,crudely,crosscheck,croon,crissake,crevasse,creswood,creepo,creases,creased,creaky,cranks,crabgrass,coveralls,couple'a,coughs,coslaw,corporeal,cornucopia,cornering,corks,cordoned,coolly,coolin,cookbooks,contrite,contented,constrictor,confound,confit,confiscating,condoned,conditioners,concussions,comprendo,comers,combustible,combusted,collingswood,coldness,coitus,codicil,coasting,clydesdale,cluttering,clunker,clunk,clumsiness,clotted,clothesline,clinches,clincher,cleverness,clench,clein,cleanses,claymores,clammed,chugging,chronically,christsakes,choque,chompers,chiseling,chirpy,chirp,chinks,chingachgook,chickenpox,chickadee,chewin,chessboard,chargin,chanteuse,chandeliers,chamdo,chagrined,chaff,certs,certainties,cerreno,cerebrum,censured,cemetary,caterwauling,cataclysmic,casitas,cased,carvel,carting,carrear,carolling,carolers,carnie,cardiogram,carbuncle,capulets,canines,candaules,canape,caldecott,calamitous,cadillacs,cachet,cabeza,cabdriver,buzzards,butai,businesswomen,bungled,bumpkins,bummers,bulldoze,buffybot,bubut,bubbies,brrrrr,brownout,brouhaha,bronzing,bronchial,broiler,briskly,briefcases,bricked,breezing,breeher,breakable,breadstick,bravenet,braved,brandies,brainwaves,brainiest,braggart,bradlee,boys're,boys'll,boys'd,boutonniere,bossed,bosomy,borans,boosts,bookshelves,bookends,boneless,bombarding,bollo,boinked,boink,bluest,bluebells,bloodshot,blockhead,blockbusters,blithely,blather,blankly,bladders,blackbeard,bitte,bippy,biogenetics,bilge,bigglesworth,bicuspids,beususe,betaseron,besmirch,bernece,bereavement,bentonville,benchley,benching,bembe,bellyaching,bellhops,belie,beleaguered,behrle,beginnin,begining,beenie,beefs,beechwood,becau,beaverhausen,beakers,bazillion,baudouin,barrytown,barringtons,barneys,barbs,barbers,barbatus,bankrupted,bailiffs,backslide,baby'd,baaad,b'fore,awwwk,aways,awakes,automatics,authenticate,aught,aubyn,attired,attagirl,atrophied,asystole,astroturf,assertiveness,artichokes,arquillians,aright,archenemy,appraise,appeased,antin,anspaugh,anesthetics,anaphylactic,amscray,ambivalence,amalio,alriiight,alphabetized,alpena,alouette,allora,alliteration,allenwood,allegiances,algerians,alcerro,alastor,ahaha,agitators,aforethought,advertises,admonition,adirondacks,adenoids,acupuncturist,acula,actuarial,activators,actionable,achingly,accusers,acclimated,acclimate,absurdly,absorbent,absolvo,absolutes,absences,abdomenizer,aaaaaaaaah,aaaaaaaaaa,a'right".split(","),male_names:"james,john,robert,michael,william,david,richard,charles,joseph,thomas,christopher,daniel,paul,mark,donald,george,kenneth,steven,edward,brian,ronald,anthony,kevin,jason,matthew,gary,timothy,jose,larry,jeffrey,frank,scott,eric,stephen,andrew,raymond,gregory,joshua,jerry,dennis,walter,patrick,peter,harold,douglas,henry,carl,arthur,ryan,roger,joe,juan,jack,albert,jonathan,justin,terry,gerald,keith,samuel,willie,ralph,lawrence,nicholas,roy,benjamin,bruce,brandon,adam,harry,fred,wayne,billy,steve,louis,jeremy,aaron,randy,eugene,carlos,russell,bobby,victor,ernest,phillip,todd,jesse,craig,alan,shawn,clarence,sean,philip,chris,johnny,earl,jimmy,antonio,danny,bryan,tony,luis,mike,stanley,leonard,nathan,dale,manuel,rodney,curtis,norman,marvin,vincent,glenn,jeffery,travis,jeff,chad,jacob,melvin,alfred,kyle,francis,bradley,jesus,herbert,frederick,ray,joel,edwin,don,eddie,ricky,troy,randall,barry,bernard,mario,leroy,francisco,marcus,micheal,theodore,clifford,miguel,oscar,jay,jim,tom,calvin,alex,jon,ronnie,bill,lloyd,tommy,leon,derek,darrell,jerome,floyd,leo,alvin,tim,wesley,dean,greg,jorge,dustin,pedro,derrick,dan,zachary,corey,herman,maurice,vernon,roberto,clyde,glen,hector,shane,ricardo,sam,rick,lester,brent,ramon,tyler,gilbert,gene,marc,reginald,ruben,brett,nathaniel,rafael,edgar,milton,raul,ben,cecil,duane,andre,elmer,brad,gabriel,ron,roland,jared,adrian,karl,cory,claude,erik,darryl,neil,christian,javier,fernando,clinton,ted,mathew,tyrone,darren,lonnie,lance,cody,julio,kurt,allan,clayton,hugh,max,dwayne,dwight,armando,felix,jimmie,everett,ian,ken,bob,jaime,casey,alfredo,alberto,dave,ivan,johnnie,sidney,byron,julian,isaac,clifton,willard,daryl,virgil,andy,salvador,kirk,sergio,seth,kent,terrance,rene,eduardo,terrence,enrique,freddie,stuart,fredrick,arturo,alejandro,joey,nick,luther,wendell,jeremiah,evan,julius,donnie,otis,trevor,luke,homer,gerard,doug,kenny,hubert,angelo,shaun,lyle,matt,alfonso,orlando,rex,carlton,ernesto,pablo,lorenzo,omar,wilbur,blake,horace,roderick,kerry,abraham,rickey,ira,andres,cesar,johnathan,malcolm,rudolph,damon,kelvin,rudy,preston,alton,archie,marco,pete,randolph,garry,geoffrey,jonathon,felipe,bennie,gerardo,dominic,loren,delbert,colin,guillermo,earnest,benny,noel,rodolfo,myron,edmund,salvatore,cedric,lowell,gregg,sherman,devin,sylvester,roosevelt,israel,jermaine,forrest,wilbert,leland,simon,irving,owen,rufus,woodrow,sammy,kristopher,levi,marcos,gustavo,jake,lionel,marty,gilberto,clint,nicolas,laurence,ismael,orville,drew,ervin,dewey,wilfred,josh,hugo,ignacio,caleb,tomas,sheldon,erick,frankie,darrel,rogelio,terence,alonzo,elias,bert,elbert,ramiro,conrad,noah,grady,phil,cornelius,lamar,rolando,clay,percy,bradford,merle,darin,amos,terrell,moses,irvin,saul,roman,darnell,randal,tommie,timmy,darrin,brendan,toby,van,abel,dominick,emilio,elijah,cary,domingo,aubrey,emmett,marlon,emanuel,jerald,edmond,emil,dewayne,otto,teddy,reynaldo,bret,jess,trent,humberto,emmanuel,stephan,louie,vicente,lamont,garland,micah,efrain,heath,rodger,demetrius,ethan,eldon,rocky,pierre,eli,bryce,antoine,robbie,kendall,royce,sterling,grover,elton,cleveland,dylan,chuck,damian,reuben,stan,leonardo,russel,erwin,benito,hans,monte,blaine,ernie,curt,quentin,agustin,jamal,devon,adolfo,tyson,wilfredo,bart,jarrod,vance,denis,damien,joaquin,harlan,desmond,elliot,darwin,gregorio,kermit,roscoe,esteban,anton,solomon,norbert,elvin,nolan,carey,rod,quinton,hal,brain,rob,elwood,kendrick,darius,moises,marlin,fidel,thaddeus,cliff,marcel,ali,raphael,bryon,armand,alvaro,jeffry,dane,joesph,thurman,ned,sammie,rusty,michel,monty,rory,fabian,reggie,kris,isaiah,gus,avery,loyd,diego,adolph,millard,rocco,gonzalo,derick,rodrigo,gerry,rigoberto,alphonso,rickie,noe,vern,elvis,bernardo,mauricio,hiram,donovan,basil,nickolas,scot,vince,quincy,eddy,sebastian,federico,ulysses,heriberto,donnell,denny,gavin,emery,romeo,jayson,dion,dante,clement,coy,odell,jarvis,bruno,issac,dudley,sanford,colby,carmelo,nestor,hollis,stefan,donny,linwood,beau,weldon,galen,isidro,truman,delmar,johnathon,silas,frederic,irwin,merrill,charley,marcelino,carlo,trenton,kurtis,aurelio,winfred,vito,collin,denver,leonel,emory,pasquale,mohammad,mariano,danial,landon,dirk,branden,adan,numbers,clair,buford,bernie,wilmer,emerson,zachery,jacques,errol,josue,edwardo,wilford,theron,raymundo,daren,tristan,robby,lincoln,jame,genaro,octavio,cornell,hung,arron,antony,herschel,alva,giovanni,garth,cyrus,cyril,ronny,stevie,lon,kennith,carmine,augustine,erich,chadwick,wilburn,russ,myles,jonas,mitchel,mervin,zane,jamel,lazaro,alphonse,randell,johnie,jarrett,ariel,abdul,dusty,luciano,seymour,scottie,eugenio,mohammed,arnulfo,lucien,ferdinand,thad,ezra,aldo,rubin,mitch,earle,abe,marquis,lanny,kareem,jamar,boris,isiah,emile,elmo,aron,leopoldo,everette,josef,eloy,dorian,rodrick,reinaldo,lucio,jerrod,weston,hershel,lemuel,lavern,burt,jules,gil,eliseo,ahmad,nigel,efren,antwan,alden,margarito,refugio,dino,osvaldo,les,deandre,normand,kieth,ivory,trey,norberto,napoleon,jerold,fritz,rosendo,milford,sang,deon,christoper,alfonzo,lyman,josiah,brant,wilton,rico,jamaal,dewitt,brenton,yong,olin,faustino,claudio,judson,gino,edgardo,alec,jarred,donn,trinidad,tad,porfirio,odis,lenard,chauncey,tod,mel,marcelo,kory,augustus,keven,hilario,bud,sal,orval,mauro,dannie,zachariah,olen,anibal,milo,jed,thanh,amado,lenny,tory,richie,horacio,brice,mohamed,delmer,dario,mac,jonah,jerrold,robt,hank,sung,rupert,rolland,kenton,damion,chi,antone,waldo,fredric,bradly,kip,burl,tyree,jefferey,ahmed,willy,stanford,oren,moshe,mikel,enoch,brendon,quintin,jamison,florencio,darrick,tobias,minh,hassan,giuseppe,demarcus,cletus,tyrell,lyndon,keenan,werner,theo,geraldo,columbus,chet,bertram,markus,huey,hilton,dwain,donte,tyron,omer,isaias,hipolito,fermin,chung,adalberto,jamey,teodoro,mckinley,maximo,raleigh,lawerence,abram,rashad,emmitt,daron,chong,samual,otha,miquel,eusebio,dong,domenic,darron,wilber,renato,hoyt,haywood,ezekiel,chas,florentino,elroy,clemente,arden,neville,edison,deshawn,carrol,shayne,nathanial,jordon,danilo,claud,sherwood,raymon,rayford,cristobal,ambrose,titus,hyman,felton,ezequiel,erasmo,lonny,milan,lino,jarod,herb,andreas,rhett,jude,douglass,cordell,oswaldo,ellsworth,virgilio,toney,nathanael,benedict,mose,hong,isreal,garret,fausto,arlen,zack,modesto,francesco,manual,gaylord,gaston,filiberto,deangelo,michale,granville,malik,zackary,tuan,nicky,cristopher,antione,malcom,korey,jospeh,colton,waylon,hosea,shad,santo,rudolf,rolf,renaldo,marcellus,lucius,kristofer,harland,arnoldo,rueben,leandro,kraig,jerrell,jeromy,hobert,cedrick,arlie,winford,wally,luigi,keneth,jacinto,graig,franklyn,edmundo,leif,jeramy,willian,vincenzo,shon,michal,lynwood,jere,elden,darell,broderick,alonso".split(",")},a.exports=r}}},{package:"zxcvbn",file:"node_modules/zxcvbn/lib/frequency_lists.js"}],[4482,{"./feedback":4480,"./matching":4483,"./scoring":4484,"./time_estimates":4485},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){var r,n,t,o,s,l;n=e("./matching"),t=e("./scoring"),s=e("./time_estimates"),r=e("./feedback"),o=function(){return(new Date).getTime()},l=function(e,a){var i,l,c,d,u,m,h,p,g,b,y;for(null==a&&(a=[]),b=o(),g=[],c=0,d=a.length;ch;r=0<=h?++l:--l)for(n=c=p=r,g=t;p<=g?cg;n=p<=g?++c:--c)d.slice(r,+n+1||9e9)in m&&(u=m[b=d.slice(r,+n+1||9e9)],s.push({pattern:"dictionary",i:r,j:n,token:e.slice(r,+n+1||9e9),matched_word:b,rank:u,dictionary_name:i,reversed:!1,l33t:!1}));return this.sorted(s)},reverse_dictionary_match:function(e,a){var i,r,n,t,s,l;for(null==a&&(a=o),l=e.split("").reverse().join(""),t=0,i=(n=this.dictionary_match(l,a)).length;t0&&(u[n]=l);return u},enumerate_l33t_subs:function(e){var a,i,r,n,t,o,s,l,c,d,u,m,h,p,g;for(t=function(){var a;for(n in a=[],e)a.push(n);return a}(),g=[[]],i=function(e){var a,i,r,t,o,s,l,c;for(i=[],o={},s=0,t=e.length;sb;o=0<=b?++h:--h)if(f[o][0]===s){n=o;break}-1===n?(v=f.concat([[s,t]]),d.push(v)):((k=f.slice(0)).splice(n,1),k.push([s,t]),d.push(f),d.push(k))}return g=i(d),r(y)}},r(t),p=[],c=0,s=g.length;c "+v);return e}().join(", "),u.push(c)}return this.sorted(u.filter((function(e){return e.token.length>1})))},spatial_match:function(e,a){var i,r,t;for(r in null==a&&(a=n),t=[],a)i=a[r],this.extend(t,this.spatial_match_helper(e,i,r));return this.sorted(t)},SHIFTED_RX:/[~!@#$%^&*()_+QWERTYUIOP{}|ASDFGHJKL:"ZXCVBNM<>?]/,spatial_match_helper:function(e,a,i){var r,n,t,o,s,l,c,d,u,m,h,p,g,b;for(h=[],c=0;c2&&h.push({pattern:"spatial",i:c,j:d-1,token:e.slice(c,d),graph:i,turns:b,shifted_count:g}),c=d;break}d+=1}return h},repeat_match:function(e){var a,i,r,n,t,o,s,l,c,d,u,m,h,g,b;for(g=[],t=/(.+)\1+/g,d=/(.+?)\1+/g,u=/^(.+?)\1+$/,c=0;cm[0].length?(h=o,n=u.exec(h[0])[1]):n=(h=m)[1],s=(b=[h.index,h.index+h[0].length-1])[0],l=b[1],r=(a=p.most_guessable_match_sequence(n,this.omnimatch(n))).sequence,i=a.guesses,g.push({pattern:"repeat",i:s,j:l,token:h[0],base_token:n,base_guesses:i,base_matches:r,repeat_count:h[0].length/n.length}),c=l+1;return g},MAX_DELTA:5,sequence_match:function(e){var a,i,r,n,t,o,s,l,c,d;if(1===e.length)return[];for(d=this,c=function(a,i,r){var n,t,o,s;if((i-a>1||1===Math.abs(r))&&0<(n=Math.abs(r))&&n<=d.MAX_DELTA)return s=e.slice(a,+i+1||9e9),/^[a-z]+$/.test(s)?(t="lower",o=26):/^[A-Z]+$/.test(s)?(t="upper",o=26):/^\d+$/.test(s)?(t="digits",o=10):(t="unicode",o=26),l.push({pattern:"sequence",i:a,j:i,token:e.slice(a,+i+1||9e9),sequence_name:t,sequence_space:o,ascending:r>0})},l=[],i=0,t=null,n=o=1,s=e.length;1<=s?os;n=1<=s?++o:--o)a=e.charCodeAt(n)-e.charCodeAt(n-1),null==t&&(t=a),a!==t&&(c(i,r=n-1,t),i=r,t=a);return c(i,e.length-1,t),l},regex_match:function(e,a){var i,r,n,t;for(h in null==a&&(a=s),i=[],a)for((r=a[h]).lastIndex=0;n=r.exec(e);)t=n[0],i.push({pattern:"regex",token:t,i:n.index,j:n.index+n[0].length-1,regex_name:h,regex_match:n});return this.sorted(i)},date_match:function(e){var a,i,n,t,o,s,l,c,d,u,m,h,g,b,y,f,k,v,w,j,z,x,q,_,M,T,E,O,C,P,S,N,I,A;for(h=[],g=/^\d{4,8}$/,b=/^(\d{1,4})([\s\/\\_.-])(\d{1,2})\2(\d{1,4})$/,s=k=0,z=e.length-4;0<=z?k<=z:k>=z;s=0<=z?++k:--k)for(l=v=x=s+3,q=s+7;(x<=q?v<=q:v>=q)&&!(l>=e.length);l=x<=q?++v:--v)if(A=e.slice(s,+l+1||9e9),g.exec(A)){for(n=[],w=0,u=(_=r[A.length]).length;w0){for(a=n[0],y=function(e){return Math.abs(e.year-p.REFERENCE_YEAR)},f=y(n[0]),j=0,m=(T=n.slice(1)).length;j=O;s=0<=O?++N:--N)for(l=I=C=s+5,P=s+9;(C<=P?I<=P:I>=P)&&!(l>=e.length);l=C<=P?++I:--I)A=e.slice(s,+l+1||9e9),null!=(S=b.exec(A))&&null!=(o=this.map_ints_to_dmy([parseInt(S[1]),parseInt(S[3]),parseInt(S[4])]))&&h.push({pattern:"date",token:A,i:s,j:l,separator:S[2],year:o.year,month:o.month,day:o.day});return this.sorted(h.filter((function(e){var a,i,r,n;for(a=!1,n=0,i=h.length;n=e.j){a=!0;break}return!a})))},map_ints_to_dmy:function(e){var a,i,r,n,t,o,s,l,c,d,u,m,h,p,g,b;if(!(e[1]>31||e[1]<=0)){for(s=0,l=0,g=0,o=0,r=e.length;o2050)return;i>31&&(l+=1),i>12&&(s+=1),i<=0&&(g+=1)}if(!(l>=2||3===s||g>=2)){for(c=0,n=(d=[[e[2],e.slice(0,2)],[e[0],e.slice(1,3)]]).length;c99?e:e>50?e+1900:e+2e3}},a.exports=m}}},{package:"zxcvbn",file:"node_modules/zxcvbn/lib/matching.js"}],[4484,{"./adjacency_graphs":4479},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){var r,n,t,o;r=e("./adjacency_graphs"),n=function(e){var a,i,r,n,t;for(r in a=0,e)t=e[r],a+=function(){var e,a,i;for(i=[],a=0,e=t.length;ae)return 0;if(0===a)return 1;for(n=1,i=r=1,t=a;1<=t?r<=t:r>=t;i=1<=t?++r:--r)n*=e,n/=i,e-=1;return n},log10:function(e){return Math.log(e)/Math.log(10)},log2:function(e){return Math.log(e)/Math.log(2)},factorial:function(e){var a,i,r,n;if(e<2)return 1;for(a=1,i=r=2,n=e;2<=n?r<=n:r>=n;i=2<=n?++r:--r)a*=i;return a},most_guessable_match_sequence:function(e,a,i){var r,n,t,o,s,l,c,d,u,m,h,p,g,b,y,f,k,v,w,j,z,x,q;for(null==i&&(i=!1),h=e.length,m=function(){var e,a,i;for(i=[],e=0,a=h;0<=a?ea;0<=a?++e:--e)i.push([]);return i}(),p=0,s=a.length;pe;0<=e?++i:--i)a.push({});return a}(),pi:function(){var e,a,i;for(a=[],i=0,e=h;0<=e?ie;0<=e?++i:--i)a.push({});return a}(),g:function(){var e,a,i;for(a=[],i=0,e=h;0<=e?ie;0<=e?++i:--i)a.push({});return a}()},q=this,z=function(a,r){var n,t,o,s,l,c;for(t in s=a.j,l=q.estimate_guesses(a,e),r>1&&(l*=g.pi[a.i-1][r-1]),o=q.factorial(r)*l,i||(o+=Math.pow(1e4,r-1)),c=g.g[s])if(n=c[t],!(t>r)&&n<=o)return;return g.g[s][r]=o,g.m[s][r]=a,g.pi[s][r]=l},r=function(e){var a,i,r,n,t,o;for(d=u(0,e),z(d,1),t=[],a=o=1,n=e;1<=n?o<=n:o>=n;a=1<=n?++o:--o)d=u(a,e),t.push(function(){var e,n;for(i in n=[],e=g.m[a-1])r=e[i],i=parseInt(i),"bruteforce"!==r.pattern&&n.push(z(d,i+1));return n}());return t},u=function(a,i){return{pattern:"bruteforce",token:e.slice(a,+i+1||9e9),i:a,j:i}},j=function(e){var a,i,r,n,t,o,s;for(i in o=[],n=e-1,t=void 0,r=Infinity,s=g.g[n])(a=s[i])=0;)d=g.m[n][t],o.unshift(d),n=d.i-1,t--;return o},t=w=0,k=h;0<=k?wk;t=0<=k?++w:--w){for(x=0,c=(v=m[t]).length;x0)for(o in g.m[d.i-1])o=parseInt(o),z(d,o+1);else z(d,1);r(t)}return b=(y=j(h)).length,n=0===e.length?1:g.g[h-1][b],{password:e,guesses:n,guesses_log10:this.log10(n),sequence:y}},estimate_guesses:function(e,a){var i,r;return null!=e.guesses||(r=1,e.token.length=u;o=2<=u?++l:--l)for(s=c=1,m=Math.min(b,o-1);1<=m?c<=m:c>=m;s=1<=m?++c:--c)t+=this.nCk(o-1,s-1)*p*Math.pow(n,s);if(e.shifted_count)if(i=e.shifted_count,r=e.token.length-e.shifted_count,0===i||0===r)t*=2;else{for(g=0,o=y=1,h=Math.min(i,r);1<=h?y<=h:y>=h;o=1<=h?++y:--y)g+=this.nCk(i+r,o);t*=g}return t},dictionary_guesses:function(e){var a;return e.base_guesses=e.rank,e.uppercase_variations=this.uppercase_variations(e),e.l33t_variations=this.l33t_variations(e),a=e.reversed?2:1,e.base_guesses*e.uppercase_variations*e.l33t_variations*a},START_UPPER:/^[A-Z][^A-Z]+$/,END_UPPER:/^[^A-Z]+[A-Z]$/,ALL_UPPER:/^[^a-z]+$/,ALL_LOWER:/^[^A-Z]+$/,uppercase_variations:function(e){var a,i,r,n,t,o,s,l,c,d,u,m;if((m=e.token).match(this.ALL_LOWER)||m.toLowerCase()===m)return 1;for(o=0,t=(l=[this.START_UPPER,this.END_UPPER,this.ALL_UPPER]).length;o=c;n=1<=c?++s:--s)u+=this.nCk(i+a,n);return u},l33t_variations:function(e){var a,i,r,n,t,o,s,l,c,d,u,m;if(!e.l33t)return 1;for(d in m=1,l=e.sub)if(u=l[d],n=e.token.toLowerCase().split(""),a=function(){var e,a,i;for(i=[],a=0,e=n.length;a=c;t=1<=c?++o:--o)s+=this.nCk(i+a,t);m*=s}return m}},a.exports=o}}},{package:"zxcvbn",file:"node_modules/zxcvbn/lib/scoring.js"}],[4485,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){var r;r={estimate_attack_times:function(e){var a,i,r,n;for(r in a={},i={online_throttling_100_per_hour:e/(100/3600),online_no_throttling_10_per_second:e/10,offline_slow_hashing_1e4_per_second:e/1e4,offline_fast_hashing_1e10_per_second:e/1e10})n=i[r],a[r]=this.display_time(n);return{crack_times_seconds:i,crack_times_display:a,score:this.guesses_to_score(e)}},guesses_to_score:function(e){return 5,e<1005?0:e<1000005?1:e<100000005?2:e<10000000005?3:4},display_time:function(e){var a,i,r,n,t,o,s,l,c;return 60,o=3600,s=31*(r=86400),i=100*(c=32140800),t=(l=e<1?[null,"less than a second"]:e<60?[a=Math.round(e),a+" second"]:e{var r;if(null!==(r=window)&&void 0!==r&&null!==(r=r.navigator)&&void 0!==r&&r.msLaunchUri)window.navigator.msLaunchUri(e,a,(()=>{i(new Error("Failed to open custom protocol link"))}));else{const r=window.setTimeout((function(){i(new Error("Timeout opening custom protocol link"))}),500);window.addEventListener("blur",(function(){window.clearTimeout(r),a()})),window.location=e}}))}}}},{package:"$root$",file:"shared/lib/deep-linking.js"}],[4524,{"../../app/scripts/lib/get-first-preferred-lang-code":74,"../../ui/pages/desktop-error/render-desktop-error":5741,"../constants/desktop":4497,"../modules/i18n":4545,"./deep-linking":4523,"./switch-direction":4529,lodash:3836,"webextension-polyfill":4472},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.MMD_DOWNLOAD_LINK=void 0,i.downloadDesktopApp=g,i.downloadExtension=function(){global.platform.openTab({url:"https://metamask.io/"})},i.getErrorHtml=async function(e,a,i,r){let n,o;null!=i&&i.currentLocale?(o=i.currentLocale,n=await m(i.currentLocale)):(o=await(0,t.default)(),n=await m(o));const c=["ar","dv","fa","he","ku"].includes(o)?"rtl":"auto";(0,d.default)(c);const{currentLocaleMessages:u,enLocaleMessages:p}=n,g=h(u,p);if(!0===(null==i?void 0:i.desktopEnabled)){let e=l.EXTENSION_ERROR_PAGE_TYPES.CRITICAL_ERROR;return null!=r&&r.message.includes("No response from RPC")&&(e=l.EXTENSION_ERROR_PAGE_TYPES.CONNECTION_LOST),(0,s.renderDesktopError)({type:e,t:g,isHtmlError:!0})}return`\n
\n
\n
\n \n \n \n
\n
\n

\n ${"troubleStarting"===e?g("troubleStarting"):""}\n ${"somethingIsWrong"===e?g("somethingIsWrong"):""}\n

\n \n \n
\n
\n
\n `},i.openOrDownloadMMD=y,i.registerDesktopErrorActions=function(e){const a=document.getElementById("desktop-error-button-disable-mmd"),i=document.getElementById("desktop-error-button-restart-mm"),r=document.getElementById("desktop-error-button-download-mmd"),n=document.getElementById("desktop-error-button-open-or-download-mmd");null==a||a.addEventListener("click",(a=>{!function(e){e.disableDesktopError()}(e)})),null==i||i.addEventListener("click",(e=>{b()})),null==r||r.addEventListener("click",(e=>{g()})),null==n||n.addEventListener("click",(e=>{y()}))},i.restartExtension=b,i.setupLocale=void 0;var r=u(e("webextension-polyfill")),n=e("lodash"),t=u(e("../../app/scripts/lib/get-first-preferred-lang-code")),o=e("../modules/i18n"),s=e("../../ui/pages/desktop-error/render-desktop-error"),l=e("../constants/desktop"),c=e("./deep-linking"),d=u(e("./switch-direction"));function u(e){return e&&e.__esModule?e:{default:e}}const m=i.setupLocale=(0,n.memoize)((async e=>{const a=e?await(0,o.fetchLocale)(e):{},i=await(0,o.fetchLocale)("en");return await(0,o.loadRelativeTimeFormatLocaleData)("en"),e&&await(0,o.loadRelativeTimeFormatLocaleData)(e),{currentLocaleMessages:a,enLocaleMessages:i}})),h=(e,a)=>i=>{var r;let n=null===(r=e[i])||void 0===r?void 0:r.message;return!n&&a[i]&&(n=a[i].message),n};const p=i.MMD_DOWNLOAD_LINK="https://github.com/MetaMask/metamask-desktop/releases";function g(){global.platform.openTab({url:p})}function b(){r.default.runtime.reload()}function y(){(0,c.openCustomProtocol)("metamask-desktop://pair").catch((()=>{window.open(p,"_blank").focus()}))}}}},{package:"$root$",file:"shared/lib/error-utils.js"}],[4532,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.TRANSACTION_SIMULATIONS_LEARN_MORE_LINK=i.SURVEY_LINK=i.SUPPORT_LINK=i.SECURITY_ALERTS_LEARN_MORE_LINK=i.PRIVACY_POLICY_LINK=i.GAS_FEES_LEARN_MORE_URL=i.ETHERSCAN_PRIVACY_LINK=i.CRYPTOCOMPARE_LINK=i.CONSENSYS_TERMS_OF_USE=i.CONSENSYS_PRIVACY_LINK=i.COINGECKO_LINK=i.AUTO_DETECT_TOKEN_LEARN_MORE_LINK=void 0;i.SUPPORT_LINK="https://metamask-flask.zendesk.com/hc",i.COINGECKO_LINK="https://www.coingecko.com/",i.CRYPTOCOMPARE_LINK="https://www.cryptocompare.com/",i.PRIVACY_POLICY_LINK="https://consensys.io/privacy-policy/",i.SURVEY_LINK="https://www.getfeedback.com/r/Oczu1vP0",i.ETHERSCAN_PRIVACY_LINK="https://etherscan.io/privacyPolicy",i.CONSENSYS_PRIVACY_LINK="https://consensys.io/privacy-policy/",i.AUTO_DETECT_TOKEN_LEARN_MORE_LINK="https://consensys.io/privacy-policy/",i.CONSENSYS_TERMS_OF_USE="https://consensys.io/terms-of-use",i.SECURITY_ALERTS_LEARN_MORE_LINK="https://support.metamask.io/hc/en-us/articles/19878220833947",i.TRANSACTION_SIMULATIONS_LEARN_MORE_LINK="https://support.metamask.io/transactions-and-gas/transactions/simulations/",i.GAS_FEES_LEARN_MORE_URL="https://community.metamask.io/t/what-is-gas-why-do-transactions-take-so-long/3172"}}},{package:"$root$",file:"shared/lib/ui-utils.js"}],[4535,{buffer:3028,"ethereumjs-util":3288},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){(function(a){(function(){Object.defineProperty(i,"__esModule",{value:!0}),i.toBuffer=function(e){if("string"==typeof e&&!1===(0,r.isHexString)(e))return a.from(e);return(0,r.toBuffer)(e)};var r=e("ethereumjs-util")}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"$root$",file:"shared/modules/buffer-utils.js"}],[4538,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.showSecondaryCurrency=i.showPrimaryCurrency=void 0;i.showPrimaryCurrency=(e,a)=>!!a||!!e;i.showSecondaryCurrency=(e,a)=>!a||!!e}}},{package:"$root$",file:"shared/modules/currency-display.utils.ts"}],[4552,{"../constants/security-provider":4513},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.isSuspiciousResponse=function(e){if(!e)return!1;const a=e.flagAsDangerous!==undefined&&e.flagAsDangerous!==r.SECURITY_PROVIDER_MESSAGE_SEVERITY.NOT_MALICIOUS,i=0===Object.keys(e).length;return a||i};var r=e("../constants/security-provider")}}},{package:"$root$",file:"shared/modules/security-provider.utils.ts"}],[4557,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.formatMessageParams=void 0;i.formatMessageParams=(e,a)=>{const i=[],{statement:r,uri:n,version:t,chainId:o,nonce:s,issuedAt:l,expirationTime:c,notBefore:d,requestId:u,resources:m}=e;return r&&i.push({label:a("SIWELabelMessage"),value:r}),n&&i.push({label:a("SIWELabelURI"),value:n}),t&&i.push({label:a("SIWELabelVersion"),value:t}),o&&i.push({label:a("SIWELabelChainID"),value:o}),s&&i.push({label:a("SIWELabelNonce"),value:s}),l&&i.push({label:a("SIWELabelIssuedAt"),value:l}),c&&i.push({label:a("SIWELabelExpirationTime"),value:c}),d&&i.push({label:a("SIWELabelNotBefore"),value:d}),u&&i.push({label:a("SIWELabelRequestID"),value:u}),m&&m.length>0&&i.push({label:a("SIWELabelResources",[m.length]),value:m.reduce(((e,a)=>`${e}${a}\n`),"").trim()}),i}}}},{package:"$root$",file:"shared/modules/siwe.js"}],[4561,{"@metamask/transaction-controller":2234},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=function({txData:e,maxFeePerGas:a,customTokenAmount:i,dappProposedTokenAmount:n,currentTokenBalance:t,maxPriorityFeePerGas:o,baseFeePerGas:s,addToAddressBookIfNew:l,toAccounts:c,toAddress:d,name:u}){[r.TransactionType.simpleSend,r.TransactionType.swapAndSend].includes(e.type)&&l(d,c);s&&(e.estimatedBaseFee=s);u&&(e.contractMethodName=u);n&&(e.dappProposedTokenAmount=n,e.originalApprovalAmount=n);i?(e.customTokenAmount=i,e.finalApprovalAmount=i):n!==undefined&&(e.finalApprovalAmount=n);t&&(e.currentTokenBalance=t);a&&(e.txParams={...e.txParams,maxFeePerGas:a});o&&(e.txParams={...e.txParams,maxPriorityFeePerGas:o});return e};var r=e("@metamask/transaction-controller")}}},{package:"$root$",file:"shared/modules/updateTxData.js"}],[4564,{"../../../../app/scripts/lib/multichain/address":82,"../../ui/account-mismatch-warning/account-mismatch-warning.component":5189,"../../ui/identicon":5247,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=c;var r=l(e("react")),n=l(e("prop-types")),t=l(e("../../ui/identicon")),o=l(e("../../ui/account-mismatch-warning/account-mismatch-warning.component")),s=e("../../../../app/scripts/lib/multichain/address");function l(e){return e&&e.__esModule?e:{default:e}}function c({account:e,className:a,displayAddress:i=!1,handleClick:n,icon:l=null}){const{metadata:{name:c},address:d,balance:u}=e;return r.default.createElement("div",{className:`account-list-item ${a}`,"data-testid":"account-list-item",onClick:()=>null==n?void 0:n({name:c,address:d,balance:u})},r.default.createElement("div",{className:"account-list-item__top-row"},r.default.createElement(t.default,{address:d,className:"account-list-item__identicon",diameter:18}),r.default.createElement("div",{className:"account-list-item__account-name"},c||d),l?r.default.createElement("div",{className:"account-list-item__icon","data-testid":"account-list-item-icon"},l):null,r.default.createElement(o.default,{address:d})),i&&c&&r.default.createElement("div",{className:"account-list-item__account-address"},(0,s.normalizeSafeAddress)(d)))}c.propTypes={account:n.default.shape({id:n.default.string.isRequired,address:n.default.string.isRequired,balance:n.default.string.isRequired,metadata:n.default.shape({name:n.default.string.isRequired,snap:n.default.shape({id:n.default.string.isRequired,name:n.default.string,enabled:n.default.bool}),keyring:n.default.shape({type:n.default.string.isRequired}).isRequired}).isRequired}).isRequired,className:n.default.string,displayAddress:n.default.bool,handleClick:n.default.func,icon:n.default.node}}}},{package:"$root$",file:"ui/components/app/account-list-item/account-list-item.js"}],[4565,{"./account-list-item":4564},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return n.default}});var r,n=(r=e("./account-list-item"))&&r.__esModule?r:{default:r}}}},{package:"$root$",file:"ui/components/app/account-list-item/index.js"}],[4566,{"../../../../app/scripts/lib/util":120,"../../../../shared/constants/app":4493,"../../../../shared/constants/metametrics":4505,"../../../../shared/constants/network":4507,"../../../contexts/i18n":5324,"../../../helpers/constants/design-system":5355,"../../../helpers/constants/routes":5361,"../../../helpers/constants/zendesk-url":5368,"../../../pages/confirmations/confirmation/confirmation":5670,"../../../selectors":5987,"../../../store/actions":5998,"../../component-library":4955,"../../ui/box":5194,"../../ui/button":5198,"../../ui/popover":5281,"../../ui/tooltip":5310,"@metamask/controller-utils":1163,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var r=function(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=x(a);if(i&&i.has(e))return i.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in e)if("default"!==t&&Object.prototype.hasOwnProperty.call(e,t)){var o=n?Object.getOwnPropertyDescriptor(e,t):null;o&&(o.get||o.set)?Object.defineProperty(r,t,o):r[t]=e[t]}return r.default=e,i&&i.set(e,r),r}(e("react")),n=e("react-redux"),t=e("react-router-dom"),o=e("@metamask/controller-utils"),s=e("../../../contexts/i18n"),l=z(e("../../ui/box")),c=e("../../../helpers/constants/design-system"),d=z(e("../../ui/button")),u=z(e("../../ui/tooltip")),m=e("../../../selectors"),h=e("../../../../shared/constants/app"),p=e("../../../store/actions"),g=z(e("../../ui/popover")),b=z(e("../../../pages/confirmations/confirmation/confirmation")),y=e("../../../../shared/constants/network"),f=e("../../../helpers/constants/routes"),k=e("../../../../app/scripts/lib/util"),v=z(e("../../../helpers/constants/zendesk-url")),w=e("../../component-library"),j=e("../../../../shared/constants/metametrics");function z(e){return e&&e.__esModule?e:{default:e}}function x(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,i=new WeakMap;return(x=function(e){return e?i:a})(e)}i.default=()=>{const e=(0,r.useContext)(s.I18nContext),a=(0,n.useDispatch)(),i=(0,t.useHistory)(),z=(0,n.useSelector)(m.getNetworkConfigurations),x=Object.values(z).map((e=>e.chainId)),q=/infura.io/u,_=y.FEATURED_RPCS.sort(((e,a)=>e.nickname>a.nickname?1:-1)).slice(0,y.FEATURED_RPCS.length).filter((e=>-1===x.indexOf(e.chainId))),M=(0,n.useSelector)(m.getUnapprovedConfirmations),[T,E]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{const e=null==M?void 0:M.find((e=>"metamask"===e.origin&&e.type===o.ApprovalType.AddEthereumChain));!T&&e&&E(!0),T&&!e&&E(!1)}),[M,T]),r.default.createElement(r.default.Fragment,null,0===Object.keys(_).length?r.default.createElement(l.default,{className:"add-network__edge-case-box",borderRadius:c.BorderRadius.MD,padding:4,marginTop:4,marginRight:6,marginLeft:6,display:c.Display.Flex,flexDirection:c.FlexDirection.Row,backgroundColor:c.BackgroundColor.backgroundAlternative},r.default.createElement(l.default,{marginRight:4},r.default.createElement("img",{src:"images/info-fox.svg"})),r.default.createElement(l.default,null,r.default.createElement(w.Text,{variant:c.TextVariant.bodySm,as:"h6"},e("youHaveAddedAll",[r.default.createElement("a",{key:"link",className:"add-network__edge-case-box__link",href:"https://chainlist.wtf/",target:"_blank",rel:"noreferrer"},e("here"),"."),r.default.createElement(d.default,{key:"button",type:"inline",onClick:e=>{e.preventDefault(),(0,k.getEnvironmentType)()===h.ENVIRONMENT_TYPE_POPUP?global.platform.openExtensionInBrowser(f.ADD_NETWORK_ROUTE):i.push(f.ADD_NETWORK_ROUTE)}},r.default.createElement(w.Text,{variant:c.TextVariant.bodySm,as:"h6",color:c.TextColor.infoDefault},e("addMoreNetworks"),"."))])))):r.default.createElement(l.default,{className:"add-network__networks-container"},(0,k.getEnvironmentType)()===h.ENVIRONMENT_TYPE_FULLSCREEN&&r.default.createElement(l.default,{display:c.Display.Flex,alignItems:c.AlignItems.center,flexDirection:c.FlexDirection.Row,marginTop:7,marginBottom:4,paddingBottom:2,className:"add-network__header"},r.default.createElement(w.Text,{variant:c.TextVariant.headingSm,color:c.TextColor.textMuted,as:"h4"},e("networks")),r.default.createElement("span",{className:"add-network__header__subtitle"}," > "),r.default.createElement(w.Text,{variant:c.TextVariant.headingSm,as:"h4",color:c.TextColor.textDefault,"data-testid":"add-network-button"},e("addANetwork"))),r.default.createElement(l.default,{marginTop:(0,k.getEnvironmentType)()===h.ENVIRONMENT_TYPE_POPUP?0:4,marginBottom:1,className:"add-network__main-container"},r.default.createElement(w.Text,{variant:c.TextVariant.bodySm,as:"h6",color:c.TextColor.textAlternative,margin:0,marginTop:4},e("addFromAListOfPopularNetworks")),r.default.createElement(w.Text,{variant:c.TextVariant.bodySm,as:"h6",color:c.TextColor.textMuted,marginTop:4,marginBottom:3},e("popularCustomNetworks")),_.map(((i,n)=>{var t;return r.default.createElement(l.default,{key:n,display:c.Display.Flex,alignItems:c.AlignItems.center,justifyContent:c.JustifyContent.spaceBetween,marginBottom:6,className:"add-network__list-of-networks"},r.default.createElement(l.default,{display:c.Display.Flex,alignItems:c.AlignItems.center},r.default.createElement(w.AvatarNetwork,{size:w.AvatarNetworkSize.Sm,src:null===(t=i.rpcPrefs)||void 0===t?void 0:t.imageUrl,name:i.nickname}),r.default.createElement(l.default,{marginLeft:2},r.default.createElement(w.Text,{variant:c.TextVariant.bodySmBold,as:"h6",color:c.TextColor.textDefault},i.nickname))),r.default.createElement(l.default,{display:c.Display.Flex,alignItems:c.AlignItems.center,marginLeft:1},!q.test(i.rpcUrl)&&r.default.createElement(u.default,{position:"top",interactive:!0,html:r.default.createElement(l.default,{margin:3,className:"add-network__warning-tooltip"},e("addNetworkTooltipWarning",[r.default.createElement("a",{key:"zendesk_page_link",href:v.default.UNKNOWN_NETWORK,rel:"noreferrer",target:"_blank"},e("learnMoreUpperCase"))])),trigger:"mouseenter"},r.default.createElement(w.Icon,{className:"add-network__warning-icon",name:w.IconName.Danger,color:c.IconColor.iconMuted,size:w.IconSize.Sm})),r.default.createElement(d.default,{type:"inline",className:"add-network__add-button",onClick:async()=>{var e;await a((0,p.requestUserApproval)({origin:h.ORIGIN_METAMASK,type:o.ApprovalType.AddEthereumChain,requestData:{chainId:i.chainId,rpcUrl:i.rpcUrl,ticker:i.ticker,rpcPrefs:i.rpcPrefs,imageUrl:null===(e=i.rpcPrefs)||void 0===e?void 0:e.imageUrl,chainName:i.nickname,referrer:h.ORIGIN_METAMASK,source:j.MetaMetricsNetworkEventSource.PopularNetworkList}}))}},e("add"))))}))),r.default.createElement(l.default,{padding:(0,k.getEnvironmentType)()===h.ENVIRONMENT_TYPE_POPUP?[2,0,2,6]:[2,0,2,0],className:"add-network__footer"},r.default.createElement(d.default,{type:"link","data-testid":"add-network-manually",onClick:e=>{e.preventDefault(),(0,k.getEnvironmentType)()===h.ENVIRONMENT_TYPE_POPUP?global.platform.openExtensionInBrowser(f.ADD_NETWORK_ROUTE):i.push(f.ADD_NETWORK_ROUTE)}},r.default.createElement(w.Text,{variant:c.TextVariant.bodySm,as:"h6",color:c.TextColor.primaryDefault},e("addANetworkManually"))))),T&&r.default.createElement(g.default,null,r.default.createElement(b.default,{redirectToHomeOnZeroConfirmations:!1})))}}}},{package:"$root$",file:"ui/components/app/add-network/add-network.js"}],[4567,{"../../../../../shared/constants/security-provider":4513,"../../../../helpers/constants/design-system":5355,"../../../../hooks/useAlerts":5415,"../../../../hooks/useI18nContext":5427,"../../../component-library":4955,"../alert-provider":4570,"../contexts/alertActionHandler":4573,"@metamask/snaps-sdk":2122,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.AcknowledgeCheckboxBase=f,i.AlertModal=function({ownerId:e,onAcknowledgeClick:a,alertKey:i,onClose:r,headerStartAccessory:t,customTitle:c,customDetails:u,customAcknowledgeCheckbox:h,customAcknowledgeButton:p,enableProvider:w=!0}){const{isAlertConfirmed:j,setAlertConfirmed:z,alerts:x}=(0,d.default)(e),q=(0,n.useCallback)((()=>{r()}),[r]),_=x.find((e=>e.key===i));if(!_)return null;const M=j(_.key),T=_.severity===l.Severity.Danger,E=(0,n.useCallback)((()=>z(_.key,!M)),[M,_.key]);return n.default.createElement(s.Modal,{isOpen:!0,onClose:q},n.default.createElement(s.ModalOverlay,null),n.default.createElement(s.ModalContent,null,n.default.createElement(s.ModalHeader,{onClose:q,startAccessory:t,paddingBottom:0,display:t?l.Display.InlineFlex:l.Display.Block}),n.default.createElement(g,{selectedAlert:_,customTitle:c}),n.default.createElement(s.ModalBody,null,(null==_?void 0:_.provider)===o.SecurityProvider.Blockaid?n.default.createElement(b,null):n.default.createElement(y,{selectedAlert:_,customDetails:u}),h??n.default.createElement(f,{selectedAlert:_,isConfirmed:M,onCheckboxClick:E}),w?n.default.createElement(m.AlertProvider,{provider:_.provider,paddingTop:2,textAlign:l.TextAlign.Center}):null),n.default.createElement(s.ModalFooter,null,n.default.createElement(s.Box,{display:l.Display.Flex,flexDirection:l.FlexDirection.Column,gap:4,width:l.BlockSize.Full},p??n.default.createElement(n.default.Fragment,null,n.default.createElement(k,{onAcknowledgeClick:a,isConfirmed:!T||M,hasActions:Boolean(_.actions),isBlocking:_.isBlocking}),(_.actions??[]).map((e=>n.default.createElement(v,{key:e.key,action:e}))))))))};var r,n=function(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=h(a);if(i&&i.has(e))return i.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in e)if("default"!==t&&Object.prototype.hasOwnProperty.call(e,t)){var o=n?Object.getOwnPropertyDescriptor(e,t):null;o&&(o.get||o.set)?Object.defineProperty(r,t,o):r[t]=e[t]}return r.default=e,i&&i.set(e,r),r}(e("react")),t=e("@metamask/snaps-sdk"),o=e("../../../../../shared/constants/security-provider"),s=e("../../../component-library"),l=e("../../../../helpers/constants/design-system"),c=e("../../../../hooks/useI18nContext"),d=(r=e("../../../../hooks/useAlerts"))&&r.__esModule?r:{default:r},u=e("../contexts/alertActionHandler"),m=e("../alert-provider");function h(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,i=new WeakMap;return(h=function(e){return e?i:a})(e)}function p(e){switch(e){case l.Severity.Warning:return{background:l.BackgroundColor.warningMuted,icon:l.IconColor.warningDefault};case l.Severity.Danger:return{background:l.BackgroundColor.errorMuted,icon:l.IconColor.errorDefault};default:return{background:l.BackgroundColor.backgroundDefault,icon:l.IconColor.infoDefault}}}function g({selectedAlert:e,customTitle:a}){const i=(0,c.useI18nContext)(),{severity:r,reason:t}=e,o=p(r);return n.default.createElement(s.Box,{gap:3,display:l.Display.Block,alignItems:l.AlignItems.center,textAlign:l.TextAlign.Center},n.default.createElement(s.Icon,{name:r===l.Severity.Info?s.IconName.Info:s.IconName.Danger,size:s.IconSize.Xl,color:o.icon}),n.default.createElement(s.Text,{variant:l.TextVariant.headingSm,color:l.TextColor.inherit,marginTop:3,marginBottom:4},a??t??i("alert")))}function b(){const e=(0,c.useI18nContext)();return n.default.createElement(s.Text,{textAlign:l.TextAlign.Center,variant:l.TextVariant.bodyMd},e("blockaidAlertInfo"))}function y({selectedAlert:e,customDetails:a}){var i,r;const t=(0,c.useI18nContext)(),o=p(e.severity);return n.default.createElement(s.Box,{key:e.key,display:l.Display.InlineBlock,padding:2,width:l.BlockSize.Full,backgroundColor:a?undefined:o.background,gap:2,borderRadius:l.BorderRadius.SM},a??n.default.createElement(s.Box,null,n.default.createElement(s.Text,{variant:l.TextVariant.bodyMd},e.message),null!==(i=e.alertDetails)&&void 0!==i&&i.length?n.default.createElement(s.Text,{variant:l.TextVariant.bodyMdBold,marginTop:1},t("alertModalDetails")):null,n.default.createElement(s.Box,{as:"ul",className:"alert-modal__alert-details",paddingLeft:6},null===(r=e.alertDetails)||void 0===r?void 0:r.map(((a,i)=>n.default.createElement(s.Box,{as:"li",key:`${e.key}-detail-${i}`},n.default.createElement(s.Text,{variant:l.TextVariant.bodyMd},a)))))))}function f({selectedAlert:e,onCheckboxClick:a,isConfirmed:i,label:r}){if(e.isBlocking||e.severity!==l.Severity.Danger)return null;const t=(0,c.useI18nContext)(),o=p(e.severity);return n.default.createElement(s.Box,{display:l.Display.Flex,padding:3,width:l.BlockSize.Full,gap:3,backgroundColor:o.background,marginTop:4,borderRadius:l.BorderRadius.LG},n.default.createElement(s.Checkbox,{label:r??t("alertModalAcknowledge"),"data-testid":"alert-modal-acknowledge-checkbox",isChecked:i,onChange:a,alignItems:l.AlignItems.flexStart,className:"alert-modal__acknowledge-checkbox"}))}function k({onAcknowledgeClick:e,isConfirmed:a,hasActions:i,isBlocking:r}){const o=(0,c.useI18nContext)();return r?null:n.default.createElement(s.Button,{variant:i?t.ButtonVariant.Secondary:t.ButtonVariant.Primary,width:l.BlockSize.Full,onClick:e,size:s.ButtonSize.Lg,"data-testid":"alert-modal-button",disabled:!a},o("gotIt"))}function v({action:e}){const{processAction:a}=(0,u.useAlertActionHandler)();if(!e)return null;const{key:i,label:r}=e;return n.default.createElement(s.Button,{key:i,variant:t.ButtonVariant.Primary,width:l.BlockSize.Full,size:s.ButtonSize.Lg,onClick:()=>a(i)},r)}}}},{package:"$root$",file:"ui/components/app/alert-system/alert-modal/alert-modal.tsx"}],[4568,{"./alert-modal":4567},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"AlertModal",{enumerable:!0,get:function(){return r.AlertModal}});var r=e("./alert-modal")}}},{package:"$root$",file:"ui/components/app/alert-system/alert-modal/index.tsx"}],[4569,{"../../../../../shared/constants/security-provider":4513,"../../../../helpers/constants/design-system":5355,"../../../../hooks/useI18nContext":5427,"../../../component-library":4955,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.AlertProvider=function({provider:e,paddingTop:a=0,textAlign:i}){var r,c;const d=(0,l.useI18nContext)();if(!e)return null;return n.default.createElement(o.Box,{paddingTop:a,textAlign:i},n.default.createElement(o.Text,{marginTop:1,display:s.Display.InlineFlex,alignItems:s.AlignItems.center,color:s.TextColor.textAlternative,variant:s.TextVariant.bodySm},n.default.createElement(o.Icon,{color:s.IconColor.primaryDefault,name:o.IconName.SecurityTick,size:o.IconSize.Sm,marginInlineEnd:1}),d("securityProviderPoweredBy",[n.default.createElement(o.ButtonLink,{key:`security-provider-button-link-${e}`,size:o.ButtonLinkSize.Inherit,href:null===(r=t.SECURITY_PROVIDER_CONFIG[e])||void 0===r?void 0:r.url,externalLink:!0},d(null===(c=t.SECURITY_PROVIDER_CONFIG[e])||void 0===c?void 0:c.tKeyName))])))};var r,n=(r=e("react"))&&r.__esModule?r:{default:r},t=e("../../../../../shared/constants/security-provider"),o=e("../../../component-library"),s=e("../../../../helpers/constants/design-system"),l=e("../../../../hooks/useI18nContext")}}},{package:"$root$",file:"ui/components/app/alert-system/alert-provider/alert-provider.tsx"}],[4570,{"./alert-provider":4569},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"AlertProvider",{enumerable:!0,get:function(){return r.AlertProvider}});var r=e("./alert-provider")}}},{package:"$root$",file:"ui/components/app/alert-system/alert-provider/index.tsx"}],[4571,{"../../../../../shared/constants/security-provider":4513,"../../../../helpers/constants/design-system":5355,"../../../../hooks/useAlerts":5415,"../../../../hooks/useI18nContext":5427,"../../../component-library":4955,"../alert-modal":4568,"../alert-modal/alert-modal":4567,"../multiple-alert-modal":4576,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.ConfirmAlertModal=function({alertKey:e,onCancel:a,onClose:i,onSubmit:r,ownerId:o}){const s=(0,l.useI18nContext)(),{alerts:h,unconfirmedDangerAlerts:b}=(0,c.default)(o),y=h.find((a=>a.key===e)),[f,k]=(0,n.useState)(!1),[v,w]=(0,n.useState)(b.length>1),j=(0,n.useCallback)((()=>{w(!1)}),[]),z=(0,n.useCallback)((()=>{w(!0)}),[]),x=(0,n.useCallback)((()=>{k(!f)}),[f,y]);if(!y)return null;if(v)return n.default.createElement(m.MultipleAlertModal,{alertKey:e,ownerId:o,onFinalAcknowledgeClick:j,onClose:j});return n.default.createElement(d.AlertModal,{ownerId:o,onAcknowledgeClick:i,alertKey:e,onClose:i,customTitle:s("confirmAlertModalTitle"),customDetails:(null==y?void 0:y.provider)===t.SecurityProvider.Blockaid?t.SecurityProvider.Blockaid:n.default.createElement(g,{onAlertLinkClick:z}),customAcknowledgeCheckbox:n.default.createElement(u.AcknowledgeCheckboxBase,{selectedAlert:y,isConfirmed:f,onCheckboxClick:x,label:(null==y?void 0:y.provider)===t.SecurityProvider.Blockaid?s("confirmAlertModalAcknowledgeBlockaid"):s("confirmAlertModalAcknowledge")}),customAcknowledgeButton:n.default.createElement(p,{onCancel:a,onSubmit:r,isConfirmed:f}),enableProvider:!1})};var r,n=function(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=h(a);if(i&&i.has(e))return i.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in e)if("default"!==t&&Object.prototype.hasOwnProperty.call(e,t)){var o=n?Object.getOwnPropertyDescriptor(e,t):null;o&&(o.get||o.set)?Object.defineProperty(r,t,o):r[t]=e[t]}return r.default=e,i&&i.set(e,r),r}(e("react")),t=e("../../../../../shared/constants/security-provider"),o=e("../../../component-library"),s=e("../../../../helpers/constants/design-system"),l=e("../../../../hooks/useI18nContext"),c=(r=e("../../../../hooks/useAlerts"))&&r.__esModule?r:{default:r},d=e("../alert-modal"),u=e("../alert-modal/alert-modal"),m=e("../multiple-alert-modal");function h(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,i=new WeakMap;return(h=function(e){return e?i:a})(e)}function p({onCancel:e,onSubmit:a,isConfirmed:i}){const r=(0,l.useI18nContext)();return n.default.createElement(n.default.Fragment,null,n.default.createElement(o.Button,{block:!0,onClick:e,size:o.ButtonSize.Lg,variant:o.ButtonVariant.Secondary,"data-testid":"confirm-alert-modal-cancel-button"},r("reject")),n.default.createElement(o.Button,{variant:o.ButtonVariant.Primary,onClick:a,size:o.ButtonSize.Lg,"data-testid":"confirm-alert-modal-submit-button",disabled:!i,danger:!0,startIconName:o.IconName.Danger},r("confirm")))}function g({onAlertLinkClick:e}){const a=(0,l.useI18nContext)();return n.default.createElement(n.default.Fragment,null,n.default.createElement(o.Box,{alignItems:s.AlignItems.center,textAlign:s.TextAlign.Center},n.default.createElement(o.Text,{variant:s.TextVariant.bodyMd},a("confirmAlertModalDetails")),n.default.createElement(o.ButtonLink,{paddingTop:5,paddingBottom:5,size:o.ButtonLinkSize.Inherit,textProps:{variant:s.TextVariant.bodyMd,alignItems:s.AlignItems.flexStart},as:"a",onClick:e,target:"_blank",rel:"noopener noreferrer","data-testid":"confirm-alert-modal-review-all-alerts"},n.default.createElement(o.Icon,{name:o.IconName.SecuritySearch,size:o.IconSize.Inherit,marginLeft:1}),a("alertModalReviewAllAlerts"))))}}}},{package:"$root$",file:"ui/components/app/alert-system/confirm-alert-modal/confirm-alert-modal.tsx"}],[4572,{"./confirm-alert-modal":4571},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"ConfirmAlertModal",{enumerable:!0,get:function(){return r.ConfirmAlertModal}});var r=e("./confirm-alert-modal")}}},{package:"$root$",file:"ui/components/app/alert-system/confirm-alert-modal/index.tsx"}],[4573,{react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.useAlertActionHandler=i.AlertActionHandlerProvider=i.AlertActionHandlerContext=void 0;var r=function(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=n(a);if(i&&i.has(e))return i.get(e);var r={__proto__:null},t=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=t?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=e[o]}return r.default=e,i&&i.set(e,r),r}(e("react"));function n(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,i=new WeakMap;return(n=function(e){return e?i:a})(e)}const t=i.AlertActionHandlerContext=(0,r.createContext)(undefined);i.AlertActionHandlerProvider=({children:e,onProcessAction:a})=>{const i=(0,r.useCallback)((e=>{a(e)}),[a]);return r.default.createElement(t.Provider,{value:{processAction:i}},e)};i.useAlertActionHandler=()=>{const e=(0,r.useContext)(t);if(!e)throw new Error("useAlertActionHandler must be used within an AlertActionHandlerProvider");return e}}}},{package:"$root$",file:"ui/components/app/alert-system/contexts/alertActionHandler.tsx"}],[4574,{"../../../../helpers/constants/design-system":5355,"../../../../helpers/constants/zendesk-url":5368,"../../../../hooks/useI18nContext":5427,"../../../component-library":4955,"../../../ui/disclosure":5216,"../../../ui/disclosure/disclosure.constants":5214,"../alert-provider":4570,"../utils":4578,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var r=m(e("react")),n=e("../../../component-library"),t=m(e("../../../ui/disclosure")),o=e("../../../ui/disclosure/disclosure.constants"),s=e("../../../../hooks/useI18nContext"),l=e("../../../../helpers/constants/design-system"),c=m(e("../../../../helpers/constants/zendesk-url")),d=e("../utils"),u=e("../alert-provider");function m(e){return e&&e.__esModule?e:{default:e}}function h(){return h=Object.assign?Object.assign.bind():function(e){for(var a=1;ar.default.createElement(n.Box,{as:"li",key:`disclosure-detail-${a}`},r.default.createElement(n.Text,{variant:l.TextVariant.bodyMdMedium,fontWeight:l.FontWeight.Normal},e))))):e,r.default.createElement(p,{reportUrl:a,provider:c,onClickSupportLink:i}))):null}i.default=function({description:e,details:a,onClickSupportLink:i,provider:t,severity:o,title:s,reportUrl:l,...c}){return r.default.createElement(n.BannerAlert,h({title:s,severity:(0,d.getBannerAlertSeverity)(o),description:e},c),r.default.createElement(g,{details:a,reportUrl:l,onClickSupportLink:i,provider:t}),r.default.createElement(u.AlertProvider,{provider:t}))}}}},{package:"$root$",file:"ui/components/app/alert-system/general-alert/general-alert.tsx"}],[4575,{"../../../../helpers/constants/design-system":5355,"../../../../hooks/useI18nContext":5427,"../../../component-library":4955,"../utils":4578,classnames:3049,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=function({onClick:e,severity:a=o.Severity.Info,style:i}){const c=(0,s.useI18nContext)();return r.default.createElement(t.Box,null,r.default.createElement(t.Box,{"data-testid":"inline-alert",backgroundColor:(0,l.getSeverityBackground)(a),borderRadius:o.BorderRadius.SM,gap:1,display:o.Display.InlineFlex,alignItems:o.AlignItems.center,className:(0,n.default)({"inline-alert":!0,"inline-alert__info":a===o.Severity.Info,"inline-alert__warning":a===o.Severity.Warning,"inline-alert__danger":a===o.Severity.Danger}),style:i,onClick:e},r.default.createElement(t.Icon,{name:a===o.Severity.Info?t.IconName.Info:t.IconName.Danger,size:t.IconSize.Sm}),r.default.createElement(t.Text,{variant:o.TextVariant.bodySm,color:o.TextColor.inherit},c("inlineAlert")),r.default.createElement(t.Icon,{name:t.IconName.ArrowRight,size:t.IconSize.Xs})))};var r=c(e("react")),n=c(e("classnames")),t=e("../../../component-library"),o=e("../../../../helpers/constants/design-system"),s=e("../../../../hooks/useI18nContext"),l=e("../utils");function c(e){return e&&e.__esModule?e:{default:e}}}}},{package:"$root$",file:"ui/components/app/alert-system/inline-alert/inline-alert.tsx"}],[4576,{"./multiple-alert-modal":4577},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"MultipleAlertModal",{enumerable:!0,get:function(){return r.MultipleAlertModal}});var r=e("./multiple-alert-modal")}}},{package:"$root$",file:"ui/components/app/alert-system/multiple-alert-modal/index.tsx"}],[4577,{"../../../../helpers/constants/design-system":5355,"../../../../hooks/useAlerts":5415,"../../../../hooks/useI18nContext":5427,"../../../component-library":4955,"../alert-modal":4568,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.MultipleAlertModal=function({alertKey:e,onClose:a,onFinalAcknowledgeClick:i,ownerId:r}){const{isAlertConfirmed:t,alerts:s}=(0,l.default)(r),[d,u]=(0,n.useState)(s.findIndex((a=>a.key===e))),m=s[d],h=s.some((e=>!t(e.key)&&e.severity===o.Severity.Danger)),g=(0,n.useCallback)((()=>{u((e=>e>0?e-1:e))}),[]),b=(0,n.useCallback)((()=>{u((e=>e+1))}),[]),y=(0,n.useCallback)((()=>{if(d+1===s.length)return h?void u(0):void i();b()}),[i,b,d,s.length,h]);return n.default.createElement(c.AlertModal,{ownerId:r,onAcknowledgeClick:y,alertKey:m.key,onClose:a,headerStartAccessory:n.default.createElement(p,{alerts:s,onBackButtonClick:g,onNextButtonClick:b,selectedIndex:d})})};var r,n=function(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=d(a);if(i&&i.has(e))return i.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in e)if("default"!==t&&Object.prototype.hasOwnProperty.call(e,t)){var o=n?Object.getOwnPropertyDescriptor(e,t):null;o&&(o.get||o.set)?Object.defineProperty(r,t,o):r[t]=e[t]}return r.default=e,i&&i.set(e,r),r}(e("react")),t=e("../../../component-library"),o=e("../../../../helpers/constants/design-system"),s=e("../../../../hooks/useI18nContext"),l=(r=e("../../../../hooks/useAlerts"))&&r.__esModule?r:{default:r},c=e("../alert-modal");function d(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,i=new WeakMap;return(d=function(e){return e?i:a})(e)}function u({selectedIndex:e,onBackButtonClick:a}){const i=(0,s.useI18nContext)();return e+1>1?n.default.createElement(t.ButtonIcon,{iconName:t.IconName.ArrowLeft,ariaLabel:i("back"),size:t.ButtonIconSize.Sm,onClick:a,className:"confirm_nav__left_btn","data-testid":"alert-modal-back-button",borderRadius:o.BorderRadius.full,color:o.IconColor.iconAlternative,backgroundColor:o.BackgroundColor.backgroundAlternative}):null}function m({selectedIndex:e,alertsLength:a,onNextButtonClick:i}){const r=(0,s.useI18nContext)();return e+1{e.severity===r.Severity.Danger?a=r.Severity.Danger:e.severity===r.Severity.Warning&&a!==r.Severity.Danger&&(a=r.Severity.Warning)})),a},i.getSeverityBackground=function(e){switch(e){case r.Severity.Danger:return r.BackgroundColor.errorMuted;case r.Severity.Warning:return r.BackgroundColor.warningMuted;default:return r.BackgroundColor.primaryMuted}};var r=e("../../../helpers/constants/design-system"),n=e("../../component-library")}}},{package:"$root$",file:"ui/components/app/alert-system/utils.ts"}],[4579,{"../../../ducks/alerts/invalid-custom-network":5334,"./invalid-custom-network-alert":4581,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var r=l(e("react")),n=e("react-redux"),t=l(e("prop-types")),o=e("../../../ducks/alerts/invalid-custom-network"),s=l(e("./invalid-custom-network-alert"));function l(e){return e&&e.__esModule?e:{default:e}}const c=({history:e})=>(0,n.useSelector)(o.alertIsOpen)?r.default.createElement(s.default,{history:e}):null;c.propTypes={history:t.default.object.isRequired};i.default=c}}},{package:"$root$",file:"ui/components/app/alerts/alerts.js"}],[4580,{"./alerts":4579},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return n.default}});var r,n=(r=e("./alerts"))&&r.__esModule?r:{default:r}}}},{package:"$root$",file:"ui/components/app/alerts/index.js"}],[4581,{"./invalid-custom-network-alert":4582},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return n.default}});var r,n=(r=e("./invalid-custom-network-alert"))&&r.__esModule?r:{default:r}}}},{package:"$root$",file:"ui/components/app/alerts/invalid-custom-network-alert/index.js"}],[4582,{"../../../../ducks/alerts":5333,"../../../../ducks/alerts/invalid-custom-network":5334,"../../../../helpers/constants/routes":5361,"../../../../hooks/useI18nContext":5427,"../../../ui/button":5198,"../../../ui/popover":5281,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var r=m(e("react")),n=e("react-redux"),t=m(e("prop-types")),o=e("../../../../ducks/alerts"),s=e("../../../../ducks/alerts/invalid-custom-network"),l=m(e("../../../ui/popover")),c=m(e("../../../ui/button")),d=e("../../../../hooks/useI18nContext"),u=e("../../../../helpers/constants/routes");function m(e){return e&&e.__esModule?e:{default:e}}const{ERROR:h,LOADING:p}=o.ALERT_STATE,g=({history:e})=>{const a=(0,d.useI18nContext)(),i=(0,n.useDispatch)(),t=(0,n.useSelector)(s.getAlertState),o=(0,n.useSelector)(s.getNetworkName),m=()=>i((0,s.dismissAlert)()),g=r.default.createElement(r.default.Fragment,null,t===h?r.default.createElement("div",{className:"invalid-custom-network-alert__error"},a("failureMessage")):null,r.default.createElement("div",{className:"invalid-custom-network-alert__footer-row"},r.default.createElement(c.default,{disabled:t===p,onClick:m,type:"secondary",className:"invalid-custom-network-alert__footer-row-button"},a("dismiss")),r.default.createElement(c.default,{disabled:t===p,onClick:async()=>{await m(),e.push(u.NETWORKS_ROUTE)},type:"primary",className:"invalid-custom-network-alert__footer-row-button"},a("settings"))));return r.default.createElement(l.default,{title:a("invalidCustomNetworkAlertTitle"),onClose:m,contentClassName:"invalid-custom-network-alert__content",footerClassName:"invalid-custom-network-alert__footer",footer:g},r.default.createElement("p",null,a("invalidCustomNetworkAlertContent1",[o])),r.default.createElement("p",null,a("invalidCustomNetworkAlertContent2")),r.default.createElement("p",null,a("invalidCustomNetworkAlertContent3",[r.default.createElement("span",{key:"invalidCustomNetworkAlertContentLink",className:"invalid-custom-network-alert__content-link",onClick:()=>global.platform.openTab({url:"https://chainid.network"})},"chainId.network")])))};g.propTypes={history:t.default.object.isRequired};i.default=g}}},{package:"$root$",file:"ui/components/app/alerts/invalid-custom-network-alert/invalid-custom-network-alert.js"}],[4583,{"../../../selectors":5987,"../../ui/spinner":5294,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var r=e("react-redux"),n=l(e("prop-types")),t=l(e("react")),o=e("../../../selectors"),s=l(e("../../ui/spinner"));function l(e){return e&&e.__esModule?e:{default:e}}const c=({className:e})=>(0,r.useSelector)(o.getAppIsLoading)?t.default.createElement("div",{className:`${e} app-loading-spinner`,role:"alert","aria-busy":"true"},t.default.createElement(s.default,{color:"var(--color-secondary-muted)",className:"app-loading-spinner__inner"})):null;c.propTypes={className:n.default.string};i.default=c}}},{package:"$root$",file:"ui/components/app/app-loading-spinner/app-loading-spinner.js"}],[4584,{"./app-loading-spinner":4583},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return n.default}});var r,n=(r=e("./app-loading-spinner"))&&r.__esModule?r:{default:r}}}},{package:"$root$",file:"ui/components/app/app-loading-spinner/index.js"}],[4585,{"../../../../shared/constants/metametrics":4505,"../../../../shared/modules/currency-display.utils":4538,"../../../contexts/metametrics":5327,"../../../ducks/metamask/metamask":5346,"../../../helpers/constants/common":5353,"../../../helpers/utils/util":5399,"../../../hooks/useAccountTotalFiatBalance":5413,"../../../hooks/useCurrencyDisplay":5418,"../../../hooks/useIsOriginalNativeTokenSymbol":5428,"../../../hooks/useUserPreferencedCurrency":5452,"../../../selectors":5987,"../../multichain":5092,"../../multichain/ramps-card/ramps-card":5178,"../detected-token/detected-token":4635,"../token-list":4855,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var r=function(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=j(a);if(i&&i.has(e))return i.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in e)if("default"!==t&&Object.prototype.hasOwnProperty.call(e,t)){var o=n?Object.getOwnPropertyDescriptor(e,t):null;o&&(o.get||o.set)?Object.defineProperty(r,t,o):r[t]=e[t]}return r.default=e,i&&i.set(e,r),r}(e("react")),n=w(e("prop-types")),t=e("react-redux"),o=w(e("../token-list")),s=e("../../../helpers/constants/common"),l=e("../../../hooks/useUserPreferencedCurrency"),c=e("../../../selectors"),d=e("../../../ducks/metamask/metamask"),u=e("../../../hooks/useCurrencyDisplay"),m=e("../../../contexts/metametrics"),h=e("../../../../shared/constants/metametrics"),p=w(e("../detected-token/detected-token")),g=e("../../multichain"),b=e("../../../hooks/useAccountTotalFiatBalance"),y=e("../../../hooks/useIsOriginalNativeTokenSymbol"),f=e("../../../../shared/modules/currency-display.utils"),k=e("../../../helpers/utils/util"),v=e("../../multichain/ramps-card/ramps-card");function w(e){return e&&e.__esModule?e:{default:e}}function j(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,i=new WeakMap;return(j=function(e){return e?i:a})(e)}const z=({onClickAsset:e})=>{const[a,i]=(0,r.useState)(!1),n=(0,t.useSelector)(c.getSelectedAccountCachedBalance),w=(0,t.useSelector)(d.getNativeCurrency),j=(0,t.useSelector)(c.getShouldShowFiat),{chainId:z}=(0,t.useSelector)(c.getCurrentNetwork),x=(0,t.useSelector)(c.getIsMainnet),{useNativeCurrencyAsPrimaryCurrency:q}=(0,t.useSelector)(c.getPreferences),{ticker:_,type:M,rpcUrl:T}=(0,t.useSelector)(d.getProviderConfig),E=(0,y.useIsOriginalNativeTokenSymbol)(z,_,M,T),O=(0,r.useContext)(m.MetaMetricsContext),C=!(0,t.useSelector)(c.getSelectedAccountCachedBalance),{address:P}=(0,t.useSelector)(c.getSelectedAccount),S=(0,t.useSelector)(c.getShouldHideZeroBalanceTokens),{currency:N,numberOfDecimals:I}=(0,l.useUserPreferencedCurrency)(s.PRIMARY,{ethNumberOfDecimals:4}),{currency:A,numberOfDecimals:D}=(0,l.useUserPreferencedCurrency)(s.SECONDARY,{ethNumberOfDecimals:4}),[R,$]=(0,u.useCurrencyDisplay)(n,{numberOfDecimals:I,currency:N}),[B,L]=(0,u.useCurrencyDisplay)(n,{numberOfDecimals:D,currency:A}),W=(0,t.useSelector)(c.getNativeCurrencyImage),F=(0,t.useSelector)(c.getDetectedTokensInCurrentNetwork)||[],U=(0,t.useSelector)(c.getIstokenDetectionInactiveOnNonMainnetSupportedNetwork),{tokensWithBalances:V,totalFiatBalance:K,loading:Y}=(0,b.useAccountTotalFiatBalance)(P,S);V.forEach((e=>{e.string=(0,k.roundToDecimalPlacesRemovingExtraZeroes)(e.string,5)}));const H=0===Number(K),G=(0,t.useSelector)(c.getIsBuyableChain)&&H;let X=x;return r.default.createElement(r.default.Fragment,null,F.length>0&&!U&&r.default.createElement(g.DetectedTokensBanner,{actionButtonOnClick:()=>i(!0),margin:4}),G?r.default.createElement(v.RampsCard,{variant:v.RAMPS_CARD_VARIANT_TYPES.TOKEN}):null,r.default.createElement(g.TokenListItem,{onClick:()=>e(w),title:w,primary:(0,f.showSecondaryCurrency)(E,q)?B:undefined,tokenSymbol:q?$.suffix:L.suffix,secondary:j&&(0,f.showPrimaryCurrency)(E,q)?R:undefined,tokenImage:C?null:W,isOriginalTokenSymbol:E,isNativeCurrency:!0,isStakeable:X}),r.default.createElement(o.default,{tokens:V,loading:Y,onTokenClick:a=>{e(a),O({event:h.MetaMetricsEventName.TokenScreenOpened,category:h.MetaMetricsEventCategory.Navigation,properties:{token_symbol:$.suffix,location:"Home"}})}}),H&&r.default.createElement(g.ReceiveTokenLink,{margin:4,marginBottom:0,marginTop:F.length>0?0:4}),r.default.createElement(g.ImportTokenLink,{margin:4,marginBottom:2,marginTop:F.length>0&&!H?0:2}),a&&r.default.createElement(p.default,{setShowDetectedTokens:i}))};z.propTypes={onClickAsset:n.default.func.isRequired};i.default=z}}},{package:"$root$",file:"ui/components/app/asset-list/asset-list.js"}],[4586,{"./asset-list":4585},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return n.default}});var r,n=(r=e("./asset-list"))&&r.__esModule?r:{default:r}}}},{package:"$root$",file:"ui/components/app/asset-list/index.js"}],[4587,{"../../../../shared/constants/app":4493,"../../../../shared/constants/metametrics":4505,"../../../contexts/metametrics":5327,"../../../ducks/locale/locale":5345,"../../../ducks/metamask/metamask":5346,"../../../helpers/constants/design-system":5355,"../../../hooks/useI18nContext":5427,"../../../store/actions":5998,"../../component-library":4955,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var r=function(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=p(a);if(i&&i.has(e))return i.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in e)if("default"!==t&&Object.prototype.hasOwnProperty.call(e,t)){var o=n?Object.getOwnPropertyDescriptor(e,t):null;o&&(o.get||o.set)?Object.defineProperty(r,t,o):r[t]=e[t]}return r.default=e,i&&i.set(e,r),r}(e("react")),n=e("react-redux"),t=e("../../component-library"),o=e("../../../hooks/useI18nContext"),s=e("../../../helpers/constants/design-system"),l=e("../../../store/actions"),c=e("../../../contexts/metametrics"),d=e("../../../../shared/constants/metametrics"),u=e("../../../ducks/metamask/metamask"),m=e("../../../ducks/locale/locale"),h=e("../../../../shared/constants/app");function p(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,i=new WeakMap;return(p=function(e){return e?i:a})(e)}i.default=function({isOpen:e,onClose:a,setShowTokenAutodetectModalOnUpgrade:i}){const p=(0,o.useI18nContext)(),g=(0,n.useDispatch)(),b=(0,r.useContext)(c.MetaMetricsContext),{chainId:y}=(0,n.useSelector)(u.getProviderConfig),f=(0,n.useSelector)(m.getCurrentLocale),k=(0,r.useCallback)((e=>{b({event:e?d.MetaMetricsEventName.TokenAutoDetectionEnableModal:d.MetaMetricsEventName.TokenAutoDetectionDisableModal,category:d.MetaMetricsEventCategory.Navigation,properties:{chain_id:y,locale:f,referrer:h.ORIGIN_METAMASK}}),g((0,l.setUseTokenDetection)(e)),a(e),i(e)}),[g]);return r.default.createElement(t.Modal,{isOpen:e,onClose:()=>a(!0),isClosedOnOutsideClick:!1,isClosedOnEscapeKey:!1,className:"mm-modal__custom-scrollbar auto-detect-in-modal",autoFocus:!1},r.default.createElement(t.ModalOverlay,null),r.default.createElement(t.ModalContent,{modalDialogProps:{className:"auto-detect-in-modal__dialog"}},r.default.createElement(t.ModalHeader,{alignItems:s.AlignItems.center,justifyContent:s.JustifyContent.center},p("enableTokenAutoDetection")),r.default.createElement(t.ModalBody,{display:s.Display.Flex,flexDirection:s.FlexDirection.Column,paddingLeft:4,paddingRight:4},r.default.createElement(t.Box,{display:s.Display.Flex,alignItems:s.AlignItems.center,justifyContent:s.JustifyContent.center,borderRadius:s.BorderRadius.SM},r.default.createElement("img",{src:"/images/wallet-alpha.png"})),r.default.createElement(t.Text,{variant:s.TextVariant.bodyMd,textAlign:s.TextAlign.Justify,padding:0},p("allowMetaMaskToDetectTokens"),r.default.createElement(t.Box,{textAlign:s.TextAlign.Justify,paddingLeft:2},r.default.createElement(t.Text,{variant:s.TextVariant.inherit,as:"li",paddingTop:2},p("immediateAccessToYourTokens")),r.default.createElement(t.Text,{variant:s.TextVariant.inherit,as:"li"},p("effortlesslyNavigateYourDigitalAssets")),r.default.createElement(t.Text,{variant:s.TextVariant.inherit,as:"li"},p("diveStraightIntoUsingYourTokens"))))),r.default.createElement(t.ModalFooter,{onSubmit:()=>k(!0),submitButtonProps:{children:p("allow"),block:!0},onCancel:()=>k(!1),cancelButtonProps:{children:p("notRightNow"),block:!0}})))}}}},{package:"$root$",file:"ui/components/app/auto-detect-token/auto-detect-token-modal.tsx"}],[4588,{"../../../ducks/app/app":5336,"../../../helpers/constants/design-system":5355,"../../../helpers/constants/routes":5361,"../../../hooks/useI18nContext":5427,"../../../selectors":5987,"../../../store/actions":5998,"../../component-library":4955,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.BasicConfigurationModal=function(){const e=(0,s.useI18nContext)(),[a,i]=(0,r.useState)(!1),h=(0,t.useDispatch)(),p=(0,t.useSelector)(d.getUseExternalServices),{pathname:g}=(0,n.useLocation)(),b=(0,r.useMemo)((()=>g===m.ONBOARDING_PRIVACY_SETTINGS_ROUTE),[g]);function y(){h((0,u.hideBasicFunctionalityModal)())}return r.default.createElement(c.Modal,{onClose:y,"data-testid":"dapp-permission-modal",isOpen:!0},r.default.createElement(c.ModalOverlay,null),r.default.createElement(c.ModalContent,{modalDialogProps:{display:o.Display.Flex,flexDirection:o.FlexDirection.Column}},r.default.createElement(c.ModalHeader,{paddingBottom:4,paddingRight:4,paddingLeft:4,onClose:y},r.default.createElement(c.Box,{display:o.Display.Flex,flexDirection:o.FlexDirection.Column,alignItems:o.AlignItems.center,justifyContent:o.JustifyContent.center,gap:4},r.default.createElement(c.Icon,{size:c.IconSize.Xl,name:c.IconName.Danger,color:o.IconColor.errorDefault}),r.default.createElement(c.Text,{variant:o.TextVariant.headingSm},e(p?"basicConfigurationModalHeadingOff":"basicConfigurationModalHeadingOn")))),r.default.createElement(c.Box,{marginLeft:4,marginRight:4,marginBottom:4,display:o.Display.Flex,gap:4,flexDirection:o.FlexDirection.Column},r.default.createElement(c.Text,{variant:o.TextVariant.bodySm},e(p?"basicConfigurationModalDisclaimerOff":"basicConfigurationModalDisclaimerOn")),p&&r.default.createElement(c.Box,{display:o.Display.Flex,alignItems:o.AlignItems.center,gap:2},r.default.createElement(c.Checkbox,{id:"basic-configuration-checkbox",isChecked:a,onClick:()=>i((e=>!e))}),r.default.createElement(c.Label,{htmlFor:"basic-configuration-checkbox",fontWeight:o.FontWeight.Normal,variant:o.TextVariant.bodySm},e("basicConfigurationModalCheckbox")))),r.default.createElement(c.ModalFooter,null,r.default.createElement(c.Box,{display:o.Display.Flex,gap:4},r.default.createElement(c.Button,{size:c.ButtonSize.Lg,width:o.BlockSize.Half,variant:c.ButtonVariant.Secondary,onClick:y},e("cancel")),r.default.createElement(c.Button,{size:c.ButtonSize.Lg,disabled:!a&&p,width:o.BlockSize.Half,variant:c.ButtonVariant.Primary,onClick:()=>{b?(h((0,u.hideBasicFunctionalityModal)()),h((0,u.onboardingToggleBasicFunctionalityOff)())):(y(),h((0,l.toggleExternalServices)(!p)))},danger:p},e(p?"turnOff":"turnOn"))))))};var r=function(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=h(a);if(i&&i.has(e))return i.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in e)if("default"!==t&&Object.prototype.hasOwnProperty.call(e,t)){var o=n?Object.getOwnPropertyDescriptor(e,t):null;o&&(o.get||o.set)?Object.defineProperty(r,t,o):r[t]=e[t]}return r.default=e,i&&i.set(e,r),r}(e("react")),n=e("react-router-dom"),t=e("react-redux"),o=e("../../../helpers/constants/design-system"),s=e("../../../hooks/useI18nContext"),l=e("../../../store/actions"),c=e("../../component-library"),d=e("../../../selectors"),u=e("../../../ducks/app/app"),m=e("../../../helpers/constants/routes");function h(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,i=new WeakMap;return(h=function(e){return e?i:a})(e)}}}},{package:"$root$",file:"ui/components/app/basic-configuration-modal/basic-configuration-modal.tsx"}],[4589,{"./basic-configuration-modal":4588},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"BasicConfigurationModal",{enumerable:!0,get:function(){return r.BasicConfigurationModal}});var r=e("./basic-configuration-modal")}}},{package:"$root$",file:"ui/components/app/basic-configuration-modal/hybrid-compute-sdk.ts"}],[4590,{"../../../../shared/modules/gas.utils":4543,"../../../ducks/metamask/metamask":5346,"../../../hooks/useI18nContext":5427,"../../../pages/confirmations/hooks/useIncrementedGasFees":5704,"../../../pages/confirmations/send/send.utils":5722,"../../../selectors":5987,"../../ui/button":5198,"@material-ui/core":915,"@metamask/transaction-controller":2234,classnames:3049,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=y;var r=e("@material-ui/core"),n=b(e("react")),t=b(e("prop-types")),o=e("react-redux"),s=b(e("classnames")),l=e("@metamask/transaction-controller"),c=b(e("../../ui/button")),d=e("../../../../shared/modules/gas.utils"),u=e("../../../ducks/metamask/metamask"),m=e("../../../hooks/useI18nContext"),h=e("../../../pages/confirmations/hooks/useIncrementedGasFees"),p=e("../../../pages/confirmations/send/send.utils"),g=e("../../../selectors");function b(e){return e&&e.__esModule?e:{default:e}}function y({cancelTransaction:e,transaction:a,detailsModal:i}){const t=(0,m.useI18nContext)(),{status:b}=a,y=(0,h.useIncrementedGasFees)(a),f=(0,o.useSelector)(g.getSelectedAccount),k=(0,o.useSelector)(u.getConversionRate),v=b!==l.TransactionStatus.approved&&!(0,p.isBalanceSufficient)({amount:"0x0",gasTotal:(0,d.getMaximumGasTotalInHexWei)(y),balance:f.balance,conversionRate:k}),w=n.default.createElement(c.default,{onClick:e,type:"secondary",className:(0,s.default)({"transaction-list-item__header-button":!i,"transaction-list-item-details__header-button-rounded-button":i}),disabled:v,"data-testid":"cancel-button"},t("cancel"));return v?n.default.createElement(r.Tooltip,{title:t("notEnoughGas"),"data-testid":"not-enough-gas__tooltip",position:"bottom"},n.default.createElement("div",null,w)):w}y.propTypes={transaction:t.default.object,cancelTransaction:t.default.func,detailsModal:t.default.bool}}}},{package:"$root$",file:"ui/components/app/cancel-button/cancel-button.js"}],[4591,{"./cancel-button":4590},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return n.default}});var r,n=(r=e("./cancel-button"))&&r.__esModule?r:{default:r}}}},{package:"$root$",file:"ui/components/app/cancel-button/index.js"}],[4592,{"../../../../shared/constants/gas":4500,"../../../contexts/gasFee":5323,"../../../contexts/transaction-modal":5331,"../../../helpers/constants/design-system":5355,"../../../helpers/utils/gas":5384,"../../../hooks/useI18nContext":5427,"../../../pages/confirmations/components/gas-details-item":5573,"../../../selectors":5987,"../../component-library":4955,"../../component-library/modal-content/deprecated":4963,"../../component-library/modal-header/deprecated":4972,"../../ui/box":5194,"../../ui/info-tooltip":5248,"../app-loading-spinner":4584,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var r=e("react-redux"),n=function(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=v(a);if(i&&i.has(e))return i.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in e)if("default"!==t&&Object.prototype.hasOwnProperty.call(e,t)){var o=n?Object.getOwnPropertyDescriptor(e,t):null;o&&(o.get||o.set)?Object.defineProperty(r,t,o):r[t]=e[t]}return r.default=e,i&&i.set(e,r),r}(e("react")),t=e("../../../../shared/constants/gas"),o=e("../../../helpers/constants/design-system"),s=e("../../../selectors"),l=e("../../../helpers/utils/gas"),c=e("../../../contexts/gasFee"),d=e("../../../hooks/useI18nContext"),u=e("../../../contexts/transaction-modal"),m=k(e("../../../pages/confirmations/components/gas-details-item")),h=k(e("../../ui/box")),p=k(e("../../ui/info-tooltip")),g=k(e("../app-loading-spinner")),b=e("../../component-library"),y=e("../../component-library/modal-content/deprecated"),f=e("../../component-library/modal-header/deprecated");function k(e){return e&&e.__esModule?e:{default:e}}function v(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,i=new WeakMap;return(v=function(e){return e?i:a})(e)}i.default=()=>{const{cancelTransaction:e,editGasMode:a,gasFeeEstimates:i,speedUpTransaction:k,transaction:v,updateTransaction:w,updateTransactionToTenPercentIncreasedGasFee:j,updateTransactionUsingEstimate:z}=(0,c.useGasFeeContext)(),x=(0,d.useI18nContext)(),{closeModal:q,currentModal:_}=(0,u.useTransactionModalContext)(),M=(0,r.useSelector)(s.getAppIsLoading);if((0,n.useEffect)((()=>{if(v.previousGas||M||"cancelSpeedUpTransaction"!==_)return;i&&(0,l.gasEstimateGreaterThanGasUsedPlusTenPercent)(v.txParams,i,t.PriorityLevels.medium)?z(t.PriorityLevels.medium):j(!0)}),[M,_,a,i,v,w,j,z]),"cancelSpeedUpTransaction"!==_)return null;return n.default.createElement(b.Modal,{isOpen:!0,onClose:()=>q(["cancelSpeedUpTransaction"]),className:"cancel-speedup-popover"},n.default.createElement(b.ModalOverlay,null),n.default.createElement(y.ModalContent,null,n.default.createElement(f.ModalHeader,{onClose:()=>q(["cancelSpeedUpTransaction"]),marginBottom:4},a===t.EditGasModes.cancel?`❌${x("cancel")}`:`🚀${x("speedUp")}`),n.default.createElement(g.default,{className:"cancel-speedup-popover__spinner"}),n.default.createElement("div",{className:"cancel-speedup-popover__wrapper"},n.default.createElement(b.Text,{alignItems:o.AlignItems.center,display:o.Display.Flex,variant:o.TextVariant.bodySm,marginBottom:2,paddingBottom:2,className:"cancel-speedup-popover__description"},x("cancelSpeedUpLabel",[n.default.createElement("strong",{key:"cancelSpeedupReplace"},x("replace"))]),n.default.createElement(p.default,{position:"top",contentText:n.default.createElement(n.default.Fragment,null,n.default.createElement(b.Text,{variant:o.TextVariant.bodySm},x("cancelSpeedUpTransactionTooltip",[a===t.EditGasModes.cancel?x("cancel"):x("speedUp")])),n.default.createElement(b.ButtonLink,{variant:o.TextVariant.bodySm,href:"https://community.metamask.io/t/how-to-speed-up-or-cancel-transactions-on-metamask/3296",target:"_blank"},x("learnMoreUpperCase")))})),n.default.createElement(h.default,{display:o.Display.Flex,alignItems:o.AlignItems.center,flexDirection:o.FlexDirection.Column,marginTop:2},n.default.createElement("div",{className:"cancel-speedup-popover__gas-details"},n.default.createElement(m.default,null))),n.default.createElement(b.Button,{onClick:()=>{a===t.EditGasModes.cancel?e():k(),q(["cancelSpeedUpTransaction"])}},x("submit")))))}}}},{package:"$root$",file:"ui/components/app/cancel-speedup-popover/cancel-speedup-popover.js"}],[4593,{"./cancel-speedup-popover":4592},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return n.default}});var r,n=(r=e("./cancel-speedup-popover"))&&r.__esModule?r:{default:r}}}},{package:"$root$",file:"ui/components/app/cancel-speedup-popover/index.js"}],[4594,{"../../../../../helpers/constants/design-system":5355,"../../../../../selectors":5987,"../../../../component-library":4955,"../../../modals/nickname-popovers":4692,"../../../name/name":4711,"./hook":4598,"@metamask/name-controller":1529,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.ConfirmInfoRowAddress=void 0;var r=e("@metamask/name-controller"),n=function(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=h(a);if(i&&i.has(e))return i.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in e)if("default"!==t&&Object.prototype.hasOwnProperty.call(e,t)){var o=n?Object.getOwnPropertyDescriptor(e,t):null;o&&(o.get||o.set)?Object.defineProperty(r,t,o):r[t]=e[t]}return r.default=e,i&&i.set(e,r),r}(e("react")),t=e("react-redux"),o=e("../../../../../helpers/constants/design-system"),s=e("../../../../../selectors"),l=e("../../../../component-library"),c=m(e("../../../modals/nickname-popovers")),d=m(e("../../../name/name")),u=e("./hook");function m(e){return e&&e.__esModule?e:{default:e}}function h(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,i=new WeakMap;return(h=function(e){return e?i:a})(e)}i.ConfirmInfoRowAddress=({address:e,isSnapUsingThis:a})=>{const i=(0,t.useSelector)(s.getPetnamesEnabled),{displayName:m,hexAddress:h}=(0,u.useFallbackDisplayName)(e),[p,g]=(0,n.useState)(!1);return n.default.createElement(l.Box,{display:o.Display.Flex,flexDirection:o.FlexDirection.Row,alignItems:o.AlignItems.center},i&&!a?n.default.createElement(d.default,{value:h,type:r.NameType.ETHEREUM_ADDRESS}):n.default.createElement(n.default.Fragment,null,n.default.createElement(l.Box,{display:o.Display.Flex,flexDirection:o.FlexDirection.Row,alignItems:o.AlignItems.center,onClick:()=>g(!0)},n.default.createElement(l.AvatarAccount,{address:e,size:l.AvatarAccountSize.Xs,borderColor:o.BorderColor.transparent}),n.default.createElement(l.Text,{marginLeft:2,color:o.TextColor.inherit,"data-testid":"confirm-info-row-display-name"},m)),p?n.default.createElement(c.default,{onClose:()=>g(!1),address:h}):null))}}}},{package:"$root$",file:"ui/components/app/confirm/info/row/address.tsx"}],[4595,{"../../../../../../helpers/constants/design-system":5355,"../../../../../../hooks/useAlerts":5415,"../../../../../component-library":4955,"../../../../alert-system/inline-alert/inline-alert":4575,"../../../../alert-system/multiple-alert-modal":4576,"../row":4600,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.AlertRow=void 0;var r=function(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=u(a);if(i&&i.has(e))return i.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in e)if("default"!==t&&Object.prototype.hasOwnProperty.call(e,t)){var o=n?Object.getOwnPropertyDescriptor(e,t):null;o&&(o.get||o.set)?Object.defineProperty(r,t,o):r[t]=e[t]}return r.default=e,i&&i.set(e,r),r}(e("react")),n=e("../../../../../../helpers/constants/design-system"),t=d(e("../../../../alert-system/inline-alert/inline-alert")),o=d(e("../../../../../../hooks/useAlerts")),s=e("../row"),l=e("../../../../../component-library"),c=e("../../../../alert-system/multiple-alert-modal");function d(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,i=new WeakMap;return(u=function(e){return e?i:a})(e)}function m(){return m=Object.assign?Object.assign.bind():function(e){for(var a=1;a{var d;const{getFieldAlerts:u}=(0,o.default)(a),p=u(e),g=p.length>0,b=null===(d=p[0])||void 0===d?void 0:d.severity,[y,f]=(0,r.useState)(!1),k=()=>{f(!1)},v={...n,style:{background:"transparent",...n.style},color:h(i??b),variant:i},w=g?r.default.createElement(l.Box,{marginLeft:1},r.default.createElement(t.default,{onClick:()=>{f(!0)},severity:b})):null;return r.default.createElement(r.default.Fragment,null,y&&r.default.createElement(c.MultipleAlertModal,{alertKey:e,ownerId:a,onFinalAcknowledgeClick:k,onClose:k}),r.default.createElement(s.ConfirmInfoRow,m({},v,{labelChildren:w})))}}}},{package:"$root$",file:"ui/components/app/confirm/info/row/alert-row/alert-row.tsx"}],[4596,{"../../../../../helpers/constants/common":5353,"../../../../../helpers/constants/design-system":5355,"../../../../component-library":4955,"../../../../ui/currency-display/currency-display.component":5208,"../../../user-preferenced-currency-display/user-preferenced-currency-display.component":4881,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.ConfirmInfoRowCurrency=void 0;var r=c(e("react")),n=e("../../../../../helpers/constants/common"),t=e("../../../../../helpers/constants/design-system"),o=e("../../../../component-library"),s=c(e("../../../user-preferenced-currency-display/user-preferenced-currency-display.component")),l=c(e("../../../../ui/currency-display/currency-display.component"));function c(e){return e&&e.__esModule?e:{default:e}}i.ConfirmInfoRowCurrency=({value:e,currency:a,dataTestId:i})=>r.default.createElement(o.Box,{display:t.Display.Flex,alignItems:t.AlignItems.center,flexWrap:t.FlexWrap.Wrap,style:{columnGap:"8px",fontSize:"var(--font-size-3)"},"data-testid":i},a?r.default.createElement(l.default,{currency:a,value:`${e}`}):r.default.createElement(s.default,{type:n.PRIMARY,value:`${e}`}))}}},{package:"$root$",file:"ui/components/app/confirm/info/row/currency.tsx"}],[4597,{react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.ConfirmInfoRowDivider=void 0;var r,n=(r=e("react"))&&r.__esModule?r:{default:r};i.ConfirmInfoRowDivider=()=>n.default.createElement("div",{style:{height:"1px",backgroundColor:"var(--color-border-muted)"}})}}},{package:"$root$",file:"ui/components/app/confirm/info/row/divider.tsx"}],[4598,{"../../../../../../shared/modules/hexstring-utils":4544,"../../../../../helpers/utils/util":5399,"../../../../../selectors":5987,"./row":4600,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.useRowContext=i.useFallbackDisplayName=void 0;var r=e("react"),n=e("react-redux"),t=e("../../../../../../shared/modules/hexstring-utils"),o=e("../../../../../helpers/utils/util"),s=e("../../../../../selectors"),l=e("./row");i.useRowContext=()=>(0,r.useContext)(l.ConfirmInfoRowContext);i.useFallbackDisplayName=function(e){const a=(0,t.toChecksumHexAddress)(e),i=(0,n.useSelector)(s.getInternalAccounts),r=(0,s.getAccountName)(i,a),l=(0,n.useSelector)((e=>(0,s.getAddressBookEntry)(e,a))),c=null==l?void 0:l.name,d=(0,n.useSelector)((e=>(0,s.getMetadataContractName)(e,a))),u=(0,n.useSelector)((a=>(0,s.getEnsResolutionByAddress)(a,e)));return{displayName:r||c||d||u||(0,o.shortenAddress)(a),hexAddress:a}}}}},{package:"$root$",file:"ui/components/app/confirm/info/row/hook.ts"}],[4599,{"./address":4594,"./divider":4597,"./row":4600,"./text":4601,"./url":4602,"./value-double":4603},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0});var r=e("./address");Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in i&&i[e]===r[e]||Object.defineProperty(i,e,{enumerable:!0,get:function(){return r[e]}}))}));var n=e("./divider");Object.keys(n).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in i&&i[e]===n[e]||Object.defineProperty(i,e,{enumerable:!0,get:function(){return n[e]}}))}));var t=e("./row");Object.keys(t).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in i&&i[e]===t[e]||Object.defineProperty(i,e,{enumerable:!0,get:function(){return t[e]}}))}));var o=e("./text");Object.keys(o).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in i&&i[e]===o[e]||Object.defineProperty(i,e,{enumerable:!0,get:function(){return o[e]}}))}));var s=e("./url");Object.keys(s).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in i&&i[e]===s[e]||Object.defineProperty(i,e,{enumerable:!0,get:function(){return s[e]}}))}));var l=e("./value-double");Object.keys(l).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in i&&i[e]===l[e]||Object.defineProperty(i,e,{enumerable:!0,get:function(){return l[e]}}))}))}}},{package:"$root$",file:"ui/components/app/confirm/info/row/hybrid-compute-sdk.ts"}],[4600,{"../../../../../helpers/constants/design-system":5355,"../../../../component-library":4955,"../../../../ui/tooltip/tooltip":5311,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.ConfirmInfoRowVariant=i.ConfirmInfoRowContext=i.ConfirmInfoRow=void 0;var r,n=function(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=l(a);if(i&&i.has(e))return i.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in e)if("default"!==t&&Object.prototype.hasOwnProperty.call(e,t)){var o=n?Object.getOwnPropertyDescriptor(e,t):null;o&&(o.get||o.set)?Object.defineProperty(r,t,o):r[t]=e[t]}return r.default=e,i&&i.set(e,r),r}(e("react")),t=(r=e("../../../../ui/tooltip/tooltip"))&&r.__esModule?r:{default:r},o=e("../../../../component-library"),s=e("../../../../../helpers/constants/design-system");function l(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,i=new WeakMap;return(l=function(e){return e?i:a})(e)}let c=i.ConfirmInfoRowVariant=function(e){return e.Default="default",e.Critical="critical",e.Warning="warning",e}({});const d={[c.Default]:undefined,[c.Critical]:s.BackgroundColor.errorMuted,[c.Warning]:s.BackgroundColor.warningMuted},u={[c.Default]:s.TextColor.textDefault,[c.Critical]:s.Color.errorAlternative,[c.Warning]:s.Color.warningAlternative},m={[c.Default]:o.IconName.Question,[c.Critical]:o.IconName.Warning,[c.Warning]:o.IconName.Warning},h={[c.Default]:s.Color.iconMuted,[c.Critical]:s.Color.errorAlternative,[c.Warning]:s.Color.warningAlternative},p=i.ConfirmInfoRowContext=(0,n.createContext)({variant:c.Default});i.ConfirmInfoRow=({label:e,children:a,variant:i=c.Default,tooltip:r,style:l,labelChildren:g,color:b})=>n.default.createElement(p.Provider,{value:{variant:i}},n.default.createElement(o.Box,{className:"confirm-info-row",display:s.Display.Flex,flexDirection:s.FlexDirection.Row,justifyContent:s.JustifyContent.spaceBetween,flexWrap:s.FlexWrap.Wrap,backgroundColor:d[i],borderRadius:s.BorderRadius.LG,marginTop:2,marginBottom:2,paddingLeft:2,paddingRight:2,color:u[i],style:{overflowWrap:s.OverflowWrap.Anywhere,minHeight:"24px",...l}},n.default.createElement(o.Box,{display:s.Display.Flex,flexDirection:s.FlexDirection.Row,justifyContent:s.JustifyContent.center,alignItems:s.AlignItems.center,color:b},n.default.createElement(o.Text,{variant:s.TextVariant.bodyMdMedium,color:s.TextColor.inherit},e),g,r&&r.length>0&&n.default.createElement(t.default,{position:"bottom",title:r,style:{display:"flex"}},n.default.createElement(o.Icon,{name:m[i],marginLeft:1,color:h[i],size:o.IconSize.Sm}))),"string"==typeof a?n.default.createElement(o.Text,{color:s.TextColor.inherit},a):a))}}},{package:"$root$",file:"ui/components/app/confirm/info/row/row.tsx"}],[4601,{"../../../../../helpers/constants/design-system":5355,"../../../../component-library":4955,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.ConfirmInfoRowText=void 0;var r,n=(r=e("react"))&&r.__esModule?r:{default:r},t=e("../../../../component-library"),o=e("../../../../../helpers/constants/design-system");i.ConfirmInfoRowText=({text:e})=>n.default.createElement(t.Box,{display:o.Display.Flex,alignItems:o.AlignItems.center,flexWrap:o.FlexWrap.Wrap,gap:2},n.default.createElement(t.Text,{color:o.TextColor.inherit,style:{whiteSpace:"pre-wrap"}},e))}}},{package:"$root$",file:"ui/components/app/confirm/info/row/text.tsx"}],[4602,{"../../../../../helpers/constants/design-system":5355,"../../../../component-library":4955,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.ConfirmInfoRowUrl=void 0;var r,n=(r=e("react"))&&r.__esModule?r:{default:r},t=e("../../../../component-library"),o=e("../../../../../helpers/constants/design-system");i.ConfirmInfoRowUrl=({url:e})=>{var a;let i;try{i=new URL(e)}catch(a){console.log(`ConfirmInfoRowUrl: new URL(url) cannot parse ${e}`)}const r="http:"===(null===(a=i)||void 0===a?void 0:a.protocol),s=null==e?void 0:e.replace(/https?:\/\//u,"");return n.default.createElement(t.Box,{display:o.Display.Flex,alignItems:o.AlignItems.center,flexWrap:o.FlexWrap.Wrap,gap:2},r&&n.default.createElement(t.Text,{variant:o.TextVariant.bodySm,display:o.Display.Flex,alignItems:o.AlignItems.center,borderRadius:o.BorderRadius.SM,backgroundColor:o.BackgroundColor.warningMuted,paddingLeft:1,paddingRight:1,color:o.TextColor.warningDefault},n.default.createElement(t.Icon,{name:t.IconName.Danger,color:o.IconColor.warningDefault,size:t.IconSize.Sm,marginInlineEnd:1}),"HTTP"),n.default.createElement(t.Text,{color:o.TextColor.inherit},s))}}}},{package:"$root$",file:"ui/components/app/confirm/info/row/url.tsx"}],[4603,{"../../../../../helpers/constants/design-system":5355,"../../../../component-library":4955,"./hook":4598,"./row":4600,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.ConfirmInfoRowValueDouble=void 0;var r,n=(r=e("react"))&&r.__esModule?r:{default:r},t=e("../../../../component-library"),o=e("../../../../../helpers/constants/design-system"),s=e("./hook"),l=e("./row");const c={[l.ConfirmInfoRowVariant.Default]:o.TextColor.textMuted,[l.ConfirmInfoRowVariant.Critical]:o.Color.errorAlternative,[l.ConfirmInfoRowVariant.Warning]:o.Color.warningAlternative};i.ConfirmInfoRowValueDouble=({left:e,right:a})=>{const{variant:i}=(0,s.useRowContext)();return n.default.createElement(t.Box,{display:o.Display.Flex,flexDirection:o.FlexDirection.Row,alignItems:o.AlignItems.center,flexWrap:o.FlexWrap.Wrap,gap:2},n.default.createElement(t.Text,{color:c[i]},e),n.default.createElement(t.Text,{color:o.TextColor.inherit},a))}}}},{package:"$root$",file:"ui/components/app/confirm/info/row/value-double.tsx"}],[4604,{"../../../../helpers/constants/design-system":5355,"../../../../helpers/utils/util":5399,"../../../../selectors":5987,"../../../component-library":4955,classnames:3049,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=m;var r=u(e("react")),n=u(e("classnames")),t=u(e("prop-types")),o=e("react-redux"),s=e("../../../../helpers/utils/util"),l=e("../../../component-library"),c=e("../../../../selectors"),d=e("../../../../helpers/constants/design-system");function u(e){return e&&e.__esModule?e:{default:e}}function m({address:e,className:a=null,name:i,status:t,action:u=null,options:m=null,backgroundColor:h}){const p=(0,o.useSelector)(c.getUseBlockie),g=h??d.BackgroundColor.backgroundDefault;return r.default.createElement(l.Box,{className:(0,n.default)("connected-accounts-list__row",a),padding:4,backgroundColor:g,display:d.Display.Flex,flexDirection:d.FlexDirection.Row,justifyContent:d.JustifyContent.spaceBetween,alignItems:d.AlignItems.center},r.default.createElement(l.Box,{className:"connected-accounts-list__row-content",gap:4},r.default.createElement(l.AvatarAccount,{variant:p?l.AvatarAccountVariant.Blockies:l.AvatarAccountVariant.Jazzicon,address:e,size:l.AvatarAccountSize.Md}),r.default.createElement(l.Box,{display:d.Display.Flex,flexDirection:d.FlexDirection.Column},r.default.createElement(l.Box,null,r.default.createElement(l.Text,{variant:d.TextVariant.bodyLgMedium,className:"connected-accounts-list__account-name"},i),r.default.createElement(l.Text,{variant:d.TextVariant.bodyMd},(0,s.shortenAddress)(e)),t?r.default.createElement(l.Text,{variant:d.TextVariant.bodyMd,className:"connected-accounts-list__account-status",color:d.TextColor.successDefault},t):null),r.default.createElement(l.Box,{display:d.Display.Flex,flexDirection:d.FlexDirection.Column},u))),m)}m.propTypes={address:t.default.string.isRequired,className:t.default.string,name:t.default.node.isRequired,status:t.default.string,action:t.default.node,options:t.default.node,backgroundColor:t.default.string}}}},{package:"$root$",file:"ui/components/app/connected-accounts-list/connected-accounts-list-item/connected-accounts-list-item.component.js"}],[4605,{"./connected-accounts-list-item.component":4604},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return n.default}});var r,n=(r=e("./connected-accounts-list-item.component"))&&r.__esModule?r:{default:r}}}},{package:"$root$",file:"ui/components/app/connected-accounts-list/connected-accounts-list-item/index.js"}],[4606,{"../../../../hooks/useI18nContext":5427,"../../../component-library":4955,"../../../ui/menu":5264,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var r,n=(r=e("prop-types"))&&r.__esModule?r:{default:r},t=function(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=c(a);if(i&&i.has(e))return i.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in e)if("default"!==t&&Object.prototype.hasOwnProperty.call(e,t)){var o=n?Object.getOwnPropertyDescriptor(e,t):null;o&&(o.get||o.set)?Object.defineProperty(r,t,o):r[t]=e[t]}return r.default=e,i&&i.set(e,r),r}(e("react")),o=e("../../../ui/menu"),s=e("../../../component-library"),l=e("../../../../hooks/useI18nContext");function c(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,i=new WeakMap;return(c=function(e){return e?i:a})(e)}const d=({children:e,onShowOptions:a,onHideOptions:i,show:r})=>{const n=(0,t.useRef)(!1),c=(0,l.useI18nContext)();return t.default.createElement("div",{ref:n},t.default.createElement(s.ButtonIcon,{iconName:s.IconName.MoreVertical,className:"connected-accounts-options__button",onClick:a,ariaLabel:c("options")}),r?t.default.createElement(o.Menu,{anchorElement:n.current,onHide:i,popperOptions:{modifiers:[{name:"preventOverflow",options:{altBoundary:!0}}]}},e):null)};d.propTypes={children:n.default.node.isRequired,onHideOptions:n.default.func.isRequired,onShowOptions:n.default.func.isRequired,show:n.default.bool.isRequired};i.default=d}}},{package:"$root$",file:"ui/components/app/connected-accounts-list/connected-accounts-list-options/connected-accounts-list-options.component.js"}],[4607,{"./connected-accounts-list-options.component":4606},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return n.default}});var r,n=(r=e("./connected-accounts-list-options.component"))&&r.__esModule?r:{default:r}}}},{package:"$root$",file:"ui/components/app/connected-accounts-list/connected-accounts-list-options/index.js"}],[4608,{"../../../helpers/constants/design-system":5355,"../../component-library":4955,"../../ui/menu":5264,"./connected-accounts-list-item":4605,"./connected-accounts-list-options":4607,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var r=u(e("prop-types")),n=function(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=d(a);if(i&&i.has(e))return i.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in e)if("default"!==t&&Object.prototype.hasOwnProperty.call(e,t)){var o=n?Object.getOwnPropertyDescriptor(e,t):null;o&&(o.get||o.set)?Object.defineProperty(r,t,o):r[t]=e[t]}return r.default=e,i&&i.set(e,r),r}(e("react")),t=e("../../../helpers/constants/design-system"),o=e("../../component-library"),s=e("../../ui/menu"),l=u(e("./connected-accounts-list-item")),c=u(e("./connected-accounts-list-options"));function d(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,i=new WeakMap;return(d=function(e){return e?i:a})(e)}function u(e){return e&&e.__esModule?e:{default:e}}function m(e,a,i){return(a=function(e){var a=function(e,a){if("object"!=typeof e||null===e)return e;var i=e[Symbol.toPrimitive];if(i!==undefined){var r=i.call(e,a||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===a?String:Number)(e)}(e,"string");return"symbol"==typeof a?a:String(a)}(a))in e?Object.defineProperty(e,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[a]=i,e}class h extends n.PureComponent{constructor(...e){super(...e),m(this,"state",{accountWithOptionsShown:null}),m(this,"disconnectAccount",(()=>{this.hideAccountOptions(),this.props.removePermittedAccount(this.state.accountWithOptionsShown)})),m(this,"switchAccount",(e=>{this.hideAccountOptions(),this.props.setSelectedAddress(e)})),m(this,"hideAccountOptions",(()=>{this.setState({accountWithOptionsShown:null})})),m(this,"showAccountOptions",(e=>{this.setState({accountWithOptionsShown:e})}))}renderUnconnectedAccount(){const{accountToConnect:e,connectAccount:a}=this.props,{t:i}=this.context;if(!e)return null;const{address:r,metadata:{name:s}}=e;return n.default.createElement(l.default,{className:"connected-accounts-list__row--highlight",backgroundColor:t.BackgroundColor.warningMuted,address:r,name:s,status:i("statusNotConnected"),action:n.default.createElement(o.Text,{variant:t.TextVariant.bodyMd},n.default.createElement(o.ButtonLink,{className:"connected-accounts-list__account-status-link",onClick:()=>a(r),size:o.ButtonLinkSize.Inherit},i("connect")))})}renderListItemOptions(e){const{accountWithOptionsShown:a}=this.state,{t:i}=this.context;return n.default.createElement(c.default,{onHideOptions:this.hideAccountOptions,onShowOptions:this.showAccountOptions.bind(null,e),show:a===e},n.default.createElement(s.MenuItem,{iconName:o.IconName.Logout,onClick:this.disconnectAccount},i("disconnectThisAccount")))}renderListItemAction(e){const{t:a}=this.context;return n.default.createElement(o.Text,{variant:t.TextVariant.bodyMd},n.default.createElement(o.ButtonLink,{className:"connected-accounts-list__account-status-link",onClick:()=>this.switchAccount(e),size:o.ButtonLinkSize.Inherit},a("switchToThisAccount")))}render(){const{connectedAccounts:e,selectedAddress:a,shouldRenderListOptions:i}=this.props,{t:r}=this.context;return n.default.createElement(n.default.Fragment,null,n.default.createElement("main",{className:"connected-accounts-list"},this.renderUnconnectedAccount(),e.map((({address:e,name:t},o)=>n.default.createElement(l.default,{key:e,address:e,name:t,status:0===o?r("active"):null,options:i?this.renderListItemOptions(e):null,action:e===a?null:this.renderListItemAction(e)})))))}}i.default=h,m(h,"contextTypes",{t:r.default.func.isRequired}),m(h,"defaultProps",{accountToConnect:null}),m(h,"propTypes",{accountToConnect:r.default.shape({id:r.default.string.isRequired,address:r.default.string.isRequired,metadata:r.default.shape({name:r.default.string.isRequired,keyring:r.default.shape({type:r.default.string.isRequired}).isRequired}).isRequired,options:r.default.object.isRequired,methods:r.default.arrayOf(r.default.string).isRequired,type:r.default.string.isRequired}),connectedAccounts:r.default.arrayOf(r.default.shape({address:r.default.string.isRequired,name:r.default.string.isRequired,lastActive:r.default.number})).isRequired,connectAccount:r.default.func.isRequired,selectedAddress:r.default.string.isRequired,removePermittedAccount:r.default.func,setSelectedAddress:r.default.func.isRequired,shouldRenderListOptions:(e,a,i)=>"boolean"!=typeof e[a]?new Error(`Warning: Failed prop type: '${a}' of component '${i}' must be a boolean. Received: ${typeof e[a]}`):e[a]&&!e.removePermittedAccount?new Error(`Warning: Failed prop type: '${a}' of component '${i}' requires prop 'removePermittedAccount'.`):undefined})}}},{package:"$root$",file:"ui/components/app/connected-accounts-list/connected-accounts-list.component.js"}],[4609,{"./connected-accounts-list.component":4608},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return n.default}});var r,n=(r=e("./connected-accounts-list.component"))&&r.__esModule?r:{default:r}}}},{package:"$root$",file:"ui/components/app/connected-accounts-list/index.js"}],[4610,{"../../../helpers/constants/design-system":5355,"../../../helpers/utils/permission":5393,"../../../helpers/utils/util":5399,"../../../hooks/useI18nContext":5427,"../../../selectors":5987,"../../component-library":4955,classnames:3049,lodash:3836,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var r=g(e("classnames")),n=g(e("prop-types")),t=function(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=p(a);if(i&&i.has(e))return i.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in e)if("default"!==t&&Object.prototype.hasOwnProperty.call(e,t)){var o=n?Object.getOwnPropertyDescriptor(e,t):null;o&&(o.get||o.set)?Object.defineProperty(r,t,o):r[t]=e[t]}return r.default=e,i&&i.set(e,r),r}(e("react")),o=e("lodash"),s=e("react-redux"),l=e("../../component-library"),c=e("../../../hooks/useI18nContext"),d=e("../../../helpers/utils/permission"),u=e("../../../helpers/constants/design-system"),m=e("../../../helpers/utils/util"),h=e("../../../selectors");function p(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,i=new WeakMap;return(p=function(e){return e?i:a})(e)}function g(e){return e&&e.__esModule?e:{default:e}}const b=({permissions:e})=>{const a=(0,c.useI18nContext)(),[i,n]=(0,t.useState)(!1),p=(0,s.useSelector)(h.getSnapsMetadata),g=()=>{n((e=>!e))};if(!e.length)return null;const b=(0,o.flatten)(e.map((({key:e,value:i})=>(0,d.getPermissionDescription)({t:a,permissionName:e,permissionValue:i,getSubjectName:(0,m.getSnapName)(p)}))));return t.default.createElement(l.Box,{className:"connected-accounts-permissions",width:u.BlockSize.Full},t.default.createElement(l.Box,{display:u.Display.Flex,flexDirection:u.FlexDirection.Row,as:"button",onClick:g,width:u.BlockSize.Full,justifyContent:u.JustifyContent.spaceBetween,className:"connected-accounts-permissions__header",padding:0,backgroundColor:u.BackgroundColor.backgroundDefault},t.default.createElement(l.Text,{onClick:g,as:"h6",variant:u.TextVariant.bodyMdMedium},a("permissions")),t.default.createElement(l.ButtonIcon,{size:l.ButtonIconSize.Sm,iconName:i?l.IconName.ArrowUp:l.IconName.ArrowDown,ariaLabel:a("showPermissions")})),i?t.default.createElement(l.Box,{className:(0,r.default)("connected-accounts-permissions__list-container-expanded"),marginTop:4},t.default.createElement(l.Text,{as:"h6",variant:u.TextVariant.bodySm},a("authorizedPermissions"),":"),t.default.createElement("ul",{className:"connected-accounts-permissions__list"},b.map((({label:e},a)=>t.default.createElement("li",{key:`connected-permission-${a}`,className:"connected-accounts-permissions__list-item"},t.default.createElement(l.Checkbox,{isChecked:!0,isDisabled:!0,id:`connected-permission-${a}`,label:e})))))):null)};b.propTypes={permissions:n.default.arrayOf(n.default.shape({key:n.default.string.isRequired}))},b.defaultProps={permissions:[]},b.displayName="ConnectedAccountsPermissions";i.default=t.default.memo(b)}}},{package:"$root$",file:"ui/components/app/connected-accounts-permissions/connected-accounts-permissions.js"}],[4611,{"./connected-accounts-permissions":4610},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return n.default}});var r,n=(r=e("./connected-accounts-permissions"))&&r.__esModule?r:{default:r}}}},{package:"$root$",file:"ui/components/app/connected-accounts-permissions/index.js"}],[4612,{"../../../helpers/constants/design-system":5355,"../../../helpers/utils/util":5399,"../../component-library":4955,"../../ui/button":5198,"../../ui/site-origin":5292,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var r=function(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=u(a);if(i&&i.has(e))return i.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in e)if("default"!==t&&Object.prototype.hasOwnProperty.call(e,t)){var o=n?Object.getOwnPropertyDescriptor(e,t):null;o&&(o.get||o.set)?Object.defineProperty(r,t,o):r[t]=e[t]}return r.default=e,i&&i.set(e,r),r}(e("react")),n=d(e("prop-types")),t=d(e("../../ui/button")),o=e("../../component-library"),s=e("../../../helpers/utils/util"),l=d(e("../../ui/site-origin")),c=e("../../../helpers/constants/design-system");function d(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,i=new WeakMap;return(u=function(e){return e?i:a})(e)}function m(e,a,i){return(a=function(e){var a=function(e,a){if("object"!=typeof e||null===e)return e;var i=e[Symbol.toPrimitive];if(i!==undefined){var r=i.call(e,a||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===a?String:Number)(e)}(e,"string");return"symbol"==typeof a?a:String(a)}(a))in e?Object.defineProperty(e,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[a]=i,e}class h extends r.Component{render(){const{connectedSubjects:e,onDisconnect:a}=this.props,{t:i}=this.context;return r.default.createElement("main",{className:"connected-sites-list__content-rows"},e.map((e=>r.default.createElement("div",{key:e.origin,className:"connected-sites-list__content-row"},r.default.createElement("div",{className:"connected-sites-list__subject-info"},r.default.createElement(o.AvatarFavicon,{className:"connected-sites-list__subject-icon",name:e.name,size:c.Size.MD,src:e.iconUrl}),r.default.createElement(l.default,{className:"connected-sites-list__subject-name",title:e.extensionId||e.origin,siteOrigin:this.getSubjectDisplayName(e)})),r.default.createElement(t.default,{className:"connected-sites-list__content-row-link-button",onClick:()=>a(e.origin),type:"link"},i("disconnect"))))))}getSubjectDisplayName(e){return e.extensionId?this.context.t("externalExtension"):(0,s.stripHttpsSchemeWithoutPort)(e.origin)}}i.default=h,m(h,"contextTypes",{t:n.default.func}),m(h,"propTypes",{connectedSubjects:n.default.arrayOf(n.default.shape({name:n.default.string,iconUrl:n.default.string,origin:n.default.string})).isRequired,onDisconnect:n.default.func.isRequired})}}},{package:"$root$",file:"ui/components/app/connected-sites-list/connected-sites-list.component.js"}],[4613,{"../../../helpers/constants/design-system":5355,"../../../helpers/utils/util":5399,"../../../hooks/useI18nContext":5427,"../../../selectors":5987,"../../../store/actions":5998,"../../component-library":4955,"../../ui/menu":5264,"../connected-accounts-list/connected-accounts-list-options":4607,"../snaps/snap-avatar":4772,"prop-types":3997,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=f;var r=function(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=y(a);if(i&&i.has(e))return i.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in e)if("default"!==t&&Object.prototype.hasOwnProperty.call(e,t)){var o=n?Object.getOwnPropertyDescriptor(e,t):null;o&&(o.get||o.set)?Object.defineProperty(r,t,o):r[t]=e[t]}return r.default=e,i&&i.set(e,r),r}(e("react")),n=b(e("prop-types")),t=e("react-router-dom"),o=e("react-redux"),s=e("../../component-library"),l=e("../../../hooks/useI18nContext"),c=e("../../ui/menu"),d=b(e("../snaps/snap-avatar")),u=e("../../../helpers/constants/design-system"),m=b(e("../connected-accounts-list/connected-accounts-list-options")),h=e("../../../selectors"),p=e("../../../store/actions"),g=e("../../../helpers/utils/util");function b(e){return e&&e.__esModule?e:{default:e}}function y(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,i=new WeakMap;return(y=function(e){return e?i:a})(e)}function f({connectedSubjects:e}){const[a,i]=(0,r.useState)(),n=(0,l.useI18nContext)(),b=(0,t.useHistory)(),y=(0,o.useDispatch)(),f=(0,o.useSelector)(h.getOriginOfCurrentTab),k=e=>r.default.createElement(m.default,{onHideOptions:()=>i(),onShowOptions:()=>i(e),show:a===e},r.default.createElement(c.MenuItem,{iconName:s.IconName.Logout,onClick:a=>{a.preventDefault(),(e=>{y((0,p.disconnectOriginFromSnap)(f,e))})(e)}},n("disconnect")),r.default.createElement(c.MenuItem,{iconName:s.IconName.Setting,onClick:()=>b.push((0,g.getSnapRoute)(e))},n("snapsSettings")));return r.default.createElement(s.Box,{className:"connected-snaps-list__content-rows",width:u.BlockSize.Full},e.map((e=>r.default.createElement(s.Box,{key:e.origin,className:"connected-snaps-list__content-row",width:u.BlockSize.Full,display:u.Display.Flex,flexDirection:u.FlexDirection.Row,padding:4,justifyContent:u.JustifyContent.spaceBetween},r.default.createElement(s.Box,{className:"connected-snaps-list__subject-info",gap:4,display:u.Display.Flex,alignItems:u.AlignItems.center},r.default.createElement(d.default,{snapId:e.origin,badgeSize:s.IconSize.Xs,avatarSize:s.IconSize.Md}),r.default.createElement(s.Text,{variant:u.TextVariant.bodyLgMedium,className:"connected-accounts-list__account-name"},e.name)),k(e.origin)))))}f.propTypes={connectedSubjects:n.default.arrayOf(n.default.shape({name:n.default.string,origin:n.default.string})).isRequired}}}},{package:"$root$",file:"ui/components/app/connected-sites-list/connected-snaps.js"}],[4614,{"./connected-sites-list.component":4612},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return n.default}});var r,n=(r=e("./connected-sites-list.component"))&&r.__esModule?r:{default:r}}}},{package:"$root$",file:"ui/components/app/connected-sites-list/index.js"}],[4615,{"../../../helpers/constants/connected-sites":5354,"../../../helpers/constants/design-system":5355,"../../../hooks/useI18nContext":5427,"../../../selectors":5987,"../../multichain":5092,"@metamask/snaps-utils":2163,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=h;var r=m(e("react")),n=m(e("prop-types")),t=e("react-redux"),o=e("@metamask/snaps-utils"),s=e("../../../helpers/constants/connected-sites"),l=e("../../../helpers/constants/design-system"),c=e("../../../hooks/useI18nContext"),d=e("../../../selectors"),u=e("../../multichain");function m(e){return e&&e.__esModule?e:{default:e}}function h({onClick:e}){const a=(0,c.useI18nContext)(),{address:i}=(0,t.useSelector)(d.getSelectedInternalAccount),n=(0,t.useSelector)(d.getPermissionsForActiveTab).map((e=>e.key)).includes(o.WALLET_SNAP_PERMISSION_KEY),m=(0,t.useSelector)(d.getPermittedAccountsForCurrentTab);let h;h=m.find((e=>e===i))?s.STATUS_CONNECTED:m.length>0?s.STATUS_CONNECTED_TO_ANOTHER_ACCOUNT:n?s.STATUS_CONNECTED_TO_SNAP:s.STATUS_NOT_CONNECTED;let p=l.Color.iconAlternative;h===s.STATUS_CONNECTED?p=l.Color.successDefault:h!==s.STATUS_CONNECTED_TO_ANOTHER_ACCOUNT&&h!==s.STATUS_CONNECTED_TO_SNAP||(p=l.BackgroundColor.backgroundDefault);const g=h===s.STATUS_CONNECTED?a("tooltipSatusConnected"):a("tooltipSatusNotConnected");return r.default.createElement(u.ConnectedSiteMenu,{status:h,globalMenuColor:p,text:g,as:"button",onClick:e})}h.propTypes={onClick:n.default.func}}}},{package:"$root$",file:"ui/components/app/connected-status-indicator/connected-status-indicator.js"}],[4616,{"./connected-status-indicator":4615},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return n.default}});var r,n=(r=e("./connected-status-indicator"))&&r.__esModule?r:{default:r}}}},{package:"$root$",file:"ui/components/app/connected-status-indicator/index.js"}],[4617,{"../../ui/button":5198,"./recipient-group/recipient-group.component":4619,lodash:3836,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var r=function(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=c(a);if(i&&i.has(e))return i.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in e)if("default"!==t&&Object.prototype.hasOwnProperty.call(e,t)){var o=n?Object.getOwnPropertyDescriptor(e,t):null;o&&(o.get||o.set)?Object.defineProperty(r,t,o):r[t]=e[t]}return r.default=e,i&&i.set(e,r),r}(e("react")),n=l(e("prop-types")),t=e("lodash"),o=l(e("../../ui/button")),s=l(e("./recipient-group/recipient-group.component"));function l(e){return e&&e.__esModule?e:{default:e}}function c(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,i=new WeakMap;return(c=function(e){return e?i:a})(e)}function d(e,a,i){return(a=function(e){var a=function(e,a){if("object"!=typeof e||null===e)return e;var i=e[Symbol.toPrimitive];if(i!==undefined){var r=i.call(e,a||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===a?String:Number)(e)}(e,"string");return"symbol"==typeof a?a:String(a)}(a))in e?Object.defineProperty(e,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[a]=i,e}class u extends r.PureComponent{constructor(...e){super(...e),d(this,"state",{isShowingAllRecent:!1})}renderRecents(){const{t:e}=this.context,{isShowingAllRecent:a}=this.state,i=this.props.searchForRecents(),n=!a&&i.length>2;return r.default.createElement("div",{className:"send__select-recipient-wrapper__recent-group-wrapper"},n&&r.default.createElement(o.default,{type:"link",className:"send__select-recipient-wrapper__recent-group-wrapper__load-more",onClick:()=>this.setState({isShowingAllRecent:!0})},e("loadMore")))}renderAddressBook(){const e=this.props.searchForContacts().reduce(((e,a)=>{const i=a.name[0].toUpperCase();return{...e,[i]:[...e[i]||[],a]}}),{});return Object.keys(e).sort().map((a=>[a,(0,t.sortBy)(e[a],(e=>e.name.toLowerCase()))])).map((([e,a])=>r.default.createElement(s.default,{key:`${e}-contact-group`,label:e,items:a,onSelect:this.props.selectRecipient,selectedAddress:this.props.selectedAddress})))}renderMyAccounts(){const e=this.props.searchForMyAccounts();return r.default.createElement(s.default,{items:e,onSelect:this.props.selectRecipient,selectedAddress:this.props.selectedAddress})}render(){const{children:e,searchForRecents:a,searchForContacts:i,searchForMyAccounts:n}=this.props;return r.default.createElement("div",{className:"send__select-recipient-wrapper__list"},e||null,a?this.renderRecents():null,i?this.renderAddressBook():null,n?this.renderMyAccounts():null)}}i.default=u,d(u,"propTypes",{searchForContacts:n.default.func,searchForRecents:n.default.func,searchForMyAccounts:n.default.func,selectRecipient:n.default.func,children:n.default.node,selectedAddress:n.default.string}),d(u,"contextTypes",{t:n.default.func})}}},{package:"$root$",file:"ui/components/app/contact-list/contact-list.component.js"}],[4618,{"./contact-list.component":4617},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return n.default}});var r,n=(r=e("./contact-list.component"))&&r.__esModule?r:{default:r}}}},{package:"$root$",file:"ui/components/app/contact-list/index.js"}],[4619,{"../../../multichain":5092,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=s;var r=o(e("react")),n=o(e("prop-types")),t=e("../../../multichain");function o(e){return e&&e.__esModule?e:{default:e}}function s({items:e,onSelect:a}){return e&&e.length?e.map((({address:e,name:i})=>r.default.createElement(t.AddressListItem,{address:e,label:i,onClick:()=>a(e,i),key:e}))):null}s.propTypes={items:n.default.arrayOf(n.default.shape({address:n.default.string.isRequired,name:n.default.string})),onSelect:n.default.func.isRequired}}}},{package:"$root$",file:"ui/components/app/contact-list/recipient-group/recipient-group.component.js"}],[4620,{"../../../helpers/constants/common":5353,"../../../hooks/useI18nContext":5427,"../../component-library":4955,"../../ui/text-field":5302,"../srp-input":4839,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=m;var r=function(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=u(a);if(i&&i.has(e))return i.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in e)if("default"!==t&&Object.prototype.hasOwnProperty.call(e,t)){var o=n?Object.getOwnPropertyDescriptor(e,t):null;o&&(o.get||o.set)?Object.defineProperty(r,t,o):r[t]=e[t]}return r.default=e,i&&i.set(e,r),r}(e("react")),n=d(e("prop-types")),t=e("../../../hooks/useI18nContext"),o=d(e("../../ui/text-field")),s=e("../../component-library"),l=d(e("../srp-input")),c=e("../../../helpers/constants/common");function d(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,i=new WeakMap;return(u=function(e){return e?i:a})(e)}function m({disabled:e=!1,includeTerms:a=!1,onSubmit:i,submitText:n}){const[d,u]=(0,r.useState)(""),[m,h]=(0,r.useState)(""),[p,g]=(0,r.useState)(""),[b,y]=(0,r.useState)(""),[f,k]=(0,r.useState)(""),[v,w]=(0,r.useState)(!1),j=(0,t.useI18nContext)(),z=(0,r.useCallback)((e=>{let a="",i="";e&&e.length{let a="";p!==e&&(a=j("passwordsDontMatch")),u(e),h(a)}),[p,j]),q=!e&&p&&d&&p===d&&f&&(!a||v)&&!b&&!m,_=(0,r.useCallback)((async e=>{e.preventDefault(),q&&await i(p,f)}),[q,i,p,f]),M=(0,r.useCallback)((()=>{w((e=>!e))}),[]),T=j("acceptTermsOfUse",[r.default.createElement("a",{className:"create-new-vault__terms-link",key:"create-new-vault__link-text",href:"https://metamask.io/terms.html",target:"_blank",rel:"noopener noreferrer"},j("terms"))]);return r.default.createElement("form",{className:"create-new-vault__form",onSubmit:_},r.default.createElement(l.default,{onChange:k,srpText:j("secretRecoveryPhrase")}),r.default.createElement("div",{className:"create-new-vault__create-password"},r.default.createElement(o.default,{"data-testid":"create-vault-password",id:"password",label:j("newPassword"),type:"password",value:p,onChange:e=>z(e.target.value),error:b,autoComplete:"new-password",margin:"normal",largeLabel:!0}),r.default.createElement(o.default,{"data-testid":"create-vault-confirm-password",id:"confirm-password",label:j("confirmPassword"),type:"password",value:d,onChange:e=>x(e.target.value),error:m,autoComplete:"new-password",margin:"normal",largeLabel:!0})),a?r.default.createElement("div",{className:"create-new-vault__terms"},r.default.createElement(s.Checkbox,{id:"create-new-vault-terms-checkbox","data-testid":"create-new-vault-terms-checkbox",isChecked:v,onChange:M,label:T})):null,r.default.createElement(s.Button,{"data-testid":"create-new-vault-submit-button",className:"create-new-vault__submit-button",variant:s.ButtonVariant.Primary,disabled:!q,type:"submit"},n))}m.propTypes={disabled:n.default.bool,includeTerms:n.default.bool,onSubmit:n.default.func.isRequired,submitText:n.default.string.isRequired}}}},{package:"$root$",file:"ui/components/app/create-new-vault/create-new-vault.js"}],[4621,{"./create-new-vault":4620},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return n.default}});var r,n=(r=e("./create-new-vault"))&&r.__esModule?r:{default:r}}}},{package:"$root$",file:"ui/components/app/create-new-vault/index.js"}],[4622,{"../../../../shared/constants/common":4495,"../../../../shared/modules/Numeric":4533,"../../../ducks/metamask/metamask":5346,"../../../helpers/constants/design-system":5355,"../../../helpers/utils/confirm-tx.util":5381,"../../../hooks/useIsOriginalNativeTokenSymbol":5428,"../../../selectors":5987,"../../component-library":4955,"../../ui/currency-display":5209,"../../ui/unit-input":5316,"./hooks/useProcessNewDecimalValue":4623,"./hooks/useStateWithFirstTouch":4624,"./hooks/useTokenExchangeRate":4625,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=z;var r=function(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=v(a);if(i&&i.has(e))return i.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in e)if("default"!==t&&Object.prototype.hasOwnProperty.call(e,t)){var o=n?Object.getOwnPropertyDescriptor(e,t):null;o&&(o.get||o.set)?Object.defineProperty(r,t,o):r[t]=e[t]}return r.default=e,i&&i.set(e,r),r}(e("react")),n=k(e("prop-types")),t=e("react-redux"),o=e("../../component-library"),s=e("../../../helpers/constants/design-system"),l=k(e("../../ui/unit-input")),c=k(e("../../ui/currency-display")),d=e("../../../ducks/metamask/metamask"),u=e("../../../selectors"),m=e("../../../../shared/constants/common"),h=e("../../../../shared/modules/Numeric"),p=e("../../../hooks/useIsOriginalNativeTokenSymbol"),g=e("../../../helpers/utils/confirm-tx.util"),b=k(e("./hooks/useTokenExchangeRate")),y=k(e("./hooks/useProcessNewDecimalValue")),f=k(e("./hooks/useStateWithFirstTouch"));function k(e){return e&&e.__esModule?e:{default:e}}function v(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,i=new WeakMap;return(v=function(e){return e?i:a})(e)}const w=18,j=7;function z({hexValue:e,isFiatPreferred:a,onChange:i,onPreferenceToggle:n,swapIcon:k,className:v="",asset:z,isSkeleton:x,isMatchingUpstream:q}){const _=Number(null==z?void 0:z.decimals)||w,M=(0,t.useSelector)(d.getNativeCurrency),T=(0,t.useSelector)(u.getCurrentCurrency),E=(null==z?void 0:z.symbol)||M||m.EtherDenomination.ETH,O=T.toUpperCase(),C=((null==E?void 0:E.length)||0)>j,P=(0,t.useSelector)(u.getShouldShowFiat),S=!(P&&a),[N,I,A]=(0,f.default)("0"),[D,R]=(0,r.useState)("0"),$=(0,t.useSelector)(u.getCurrentChainId),{ticker:B,type:L,rpcUrl:W}=(0,t.useSelector)(d.getProviderConfig),F=(0,p.useIsOriginalNativeTokenSymbol)($,B,L,W),U=(0,r.useRef)(),V=(0,b.default)(null==z?void 0:z.address),K=Boolean(null==V?void 0:V.toNumber()),Y=(0,y.default)(_,S,V),H=!i,G=async()=>{await n()};(0,r.useEffect)((()=>{S||K||n()}),[K,S,n]);const X=(0,r.useRef)(null);(0,r.useEffect)((()=>{const a=new h.Numeric(e,16).toBase(10).shiftedBy(_).toString();if(Number(a)===Number(N))return;const i=H||A||q,{newTokenDecimalValue:r,newFiatDecimalValue:n}=Y(a,!!i||undefined);I(r),R(n),X.current&&clearTimeout(X.current),X.current=setTimeout((()=>{var e,a;return null===(e=U.current)||void 0===e||null===(a=e.updateIsOverflowing)||void 0===a?void 0:a.call(e)}),500)}),[e,null==z?void 0:z.address,Y,S,_,H]);return x?r.default.createElement(o.Box,{paddingRight:4,className:"currency-input__skeleton-container"},r.default.createElement(o.Box,{width:s.BlockSize.Half,className:"currency-input__pulsing-bar"}),r.default.createElement(o.Box,{width:s.BlockSize.OneThird,className:"currency-input__pulsing-bar"})):r.default.createElement(l.default,{ref:U,isDisabled:H,isFocusOnInput:!H,hideSuffix:S&&C,dataTestId:"currency-input",suffix:S?E:O,onChange:e=>{const{newTokenDecimalValue:a,newFiatDecimalValue:r}=Y(e);I(a),R(r),i(new h.Numeric(a,10).times(Math.pow(10,_),10).toPrefixedHexString(),a)},value:S?N:D,className:v,actionComponent:P&&V?k?k(G):F?r.default.createElement("button",{className:"currency-input__swap-component","data-testid":"currency-swap",onClick:G},r.default.createElement("i",{className:"fa fa-retweet fa-lg"})):null:undefined},(()=>{let e,a;return P&&V&&F?(S?a=(0,g.formatCurrency)(new h.Numeric(D,10).toString(),T):(e=E,a=new h.Numeric(N,10).toString()),r.default.createElement(c.default,{hideLabel:S||C,suffix:e,className:"currency-input__conversion-component",displayValue:a})):null})())}z.propTypes={hexValue:n.default.string,isFiatPreferred:n.default.bool,onChange:n.default.func,onPreferenceToggle:n.default.func,swapIcon:n.default.func,className:n.default.string,asset:n.default.shape({address:n.default.string,symbol:n.default.string,decimals:n.default.oneOfType([n.default.string,n.default.number]),isERC721:n.default.bool}),isSkeleton:n.default.bool,isMatchingUpstream:n.default.bool}}}},{package:"$root$",file:"ui/components/app/currency-input/currency-input.js"}],[4623,{"../../../../../shared/modules/Numeric":4533,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e,a,i){return(0,r.useCallback)(((r,o)=>{let s,l;const c=(a,i=e)=>{const r=a.toString().split(".")[1]||"",n=Math.min(i,e),t=Math.min(r.length,n);return a.toFixed(t)},d=new n.Numeric(r,10);return o??a?(s=i?d.times(i).toFixed(2):undefined,l=c(d)):(s=d.toFixed(2),l=i?c(d.divide(i),t):undefined),{newFiatDecimalValue:s,newTokenDecimalValue:l}}),[null==i?void 0:i.toString(),a,e])};var r=e("react"),n=e("../../../../../shared/modules/Numeric");const t=6}}},{package:"$root$",file:"ui/components/app/currency-input/hooks/useProcessNewDecimalValue.tsx"}],[4624,{react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){const[a,i]=(0,r.useState)(n);return[a===n?e:a,i,a===n]};var r=e("react");const n=Symbol("INITIAL_VALUE")}}},{package:"$root$",file:"ui/components/app/currency-input/hooks/useStateWithFirstTouch.tsx"}],[4625,{"../../../../../shared/modules/Numeric":4533,"../../../../ducks/metamask/metamask":5346,"../../../../helpers/utils/util":5399,"../../../../selectors":5987,"ethereumjs-util":3288,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){const a=e?(0,n.toChecksumAddress)(e):undefined,i=(0,t.useSelector)(l.getNativeCurrency),m=(0,t.useSelector)(o.getCurrentChainId),h=(0,t.useSelector)(l.getConversionRate),p=(0,t.useSelector)(o.getTokenExchangeRates,t.shallowEqual),[g,b]=(0,r.useState)({});return(0,r.useMemo)((()=>{if(!h)return undefined;const e=new s.Numeric(h,10);if(!a)return e;if(!!a&&[d,u].includes(g[a]))return undefined;const r=p[a]||g[a];return r?new s.Numeric(r,10).times(e):(b((e=>({...e,[a]:d}))),(0,c.fetchTokenExchangeRates)(i,[a],m).then((e=>{b((i=>({...i,[a]:e[a]||u})))})).catch((()=>{b((e=>({...e,[a]:u})))})),undefined)}),[g,m,i,a,h,p])};var r=e("react"),n=e("ethereumjs-util"),t=e("react-redux"),o=e("../../../../selectors"),s=e("../../../../../shared/modules/Numeric"),l=e("../../../../ducks/metamask/metamask"),c=e("../../../../helpers/utils/util");const d="loading",u="failed"}}},{package:"$root$",file:"ui/components/app/currency-input/hooks/useTokenExchangeRate.tsx"}],[4626,{"./currency-input":4622},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return n.default}});var r,n=(r=e("./currency-input"))&&r.__esModule?r:{default:r}}}},{package:"$root$",file:"ui/components/app/currency-input/index.js"}],[4627,{"../../../../shared/constants/desktop":4497,"../../../../shared/constants/metametrics":4505,"../../../../shared/constants/time":4518,"../../../contexts/i18n":5324,"../../../contexts/metametrics":5327,"../../../helpers/constants/routes":5361,"../../../selectors":5987,"../../../store/actions":5998,"../../ui/button":5198,"@metamask/desktop/dist/types":1201,react:4243,"react-redux":4199,"react-router-dom":4228,"webextension-polyfill":4472},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(){const e=(0,r.useContext)(s.I18nContext),a=(0,t.useDispatch)(),i=(0,n.useHistory)(),d=(0,r.useContext)(p.MetaMetricsContext),h=()=>a((0,m.showLoadingIndication)()),b=(0,t.useSelector)(u.getIsDesktopEnabled),y=e=>a((0,m.setDesktopEnabled)(e)),z=async()=>{var e,r;if(b)return await(0,m.disableDesktop)(),y(!1),void d({category:g.MetaMetricsEventCategory.Desktop,event:j,properties:{desktop_enabled:!1}});h();const n=await(0,m.testDesktopConnection)();a((0,m.hideLoadingIndication)()),[o.PairingKeyStatus.NO_MATCH].includes(n.pairingKeyCheck)?i.push(w):n.isConnected?null!==(e=n.versionCheck)&&void 0!==e&&e.isExtensionVersionValid?null!==(r=n.versionCheck)&&void 0!==r&&r.isDesktopVersionValid?(d({category:g.MetaMetricsEventCategory.Desktop,event:"Desktop Button Clicked",properties:{button_action:"Enable MetaMask Desktop"}}),i.push(c.DESKTOP_PAIRING_ROUTE)):i.push(f):i.push(k):i.push(v)};return r.default.createElement(l.default,{type:"primary",large:!0,onClick:e=>{e.preventDefault(),z()}},(x=b,e(x?"desktopDisableButton":"desktopEnableButton")));var x};var r=function(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=y(a);if(i&&i.has(e))return i.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in e)if("default"!==t&&Object.prototype.hasOwnProperty.call(e,t)){var o=n?Object.getOwnPropertyDescriptor(e,t):null;o&&(o.get||o.set)?Object.defineProperty(r,t,o):r[t]=e[t]}return r.default=e,i&&i.set(e,r),r}(e("react")),n=e("react-router-dom"),t=e("react-redux"),o=(b(e("webextension-polyfill")),e("@metamask/desktop/dist/types")),s=e("../../../contexts/i18n"),l=b(e("../../ui/button")),c=e("../../../helpers/constants/routes"),d=e("../../../../shared/constants/desktop"),u=e("../../../selectors"),m=e("../../../store/actions"),h=e("../../../../shared/constants/time"),p=e("../../../contexts/metametrics"),g=e("../../../../shared/constants/metametrics");function b(e){return e&&e.__esModule?e:{default:e}}function y(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,i=new WeakMap;return(y=function(e){return e?i:a})(e)}const f=`${c.DESKTOP_ERROR_ROUTE}/${d.EXTENSION_ERROR_PAGE_TYPES.DESKTOP_OUTDATED}`,k=`${c.DESKTOP_ERROR_ROUTE}/${d.EXTENSION_ERROR_PAGE_TYPES.EXTENSION_OUTDATED}`,v=`${c.DESKTOP_ERROR_ROUTE}/${d.EXTENSION_ERROR_PAGE_TYPES.NOT_FOUND}`,w=`${c.DESKTOP_ERROR_ROUTE}/${d.EXTENSION_ERROR_PAGE_TYPES.PAIRING_KEY_NOT_MATCH}`,j=(h.SECOND,"Settings Updated")}}},{package:"$root$",file:"ui/components/app/desktop-enable-button/desktop-enable-button.component.js"}],[4628,{"./desktop-enable-button.component":4627},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return n.default}});var r,n=(r=e("./desktop-enable-button.component"))&&r.__esModule?r:{default:r}}}},{package:"$root$",file:"ui/components/app/desktop-enable-button/index.js"}],[4629,{"../../../../helpers/constants/design-system":5355,"../../../../helpers/utils/util":5399,"../../../../hooks/useCopyToClipboard":5417,"../../../../hooks/useI18nContext":5427,"../../../component-library":4955,"../../../ui/tooltip":5310,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var r=u(e("react")),n=u(e("prop-types")),t=e("../../../../hooks/useI18nContext"),o=e("../../../../hooks/useCopyToClipboard"),s=u(e("../../../ui/tooltip")),l=e("../../../../helpers/constants/design-system"),c=e("../../../../helpers/utils/util"),d=e("../../../component-library");function u(e){return e&&e.__esModule?e:{default:e}}const m=({tokenAddress:e})=>{const a=(0,t.useI18nContext)(),[i,n]=(0,o.useCopyToClipboard)();return r.default.createElement(d.Box,{display:l.Display.InlineFlex,className:"detected-token-address"},r.default.createElement(d.Text,{color:l.TextColor.textDefault},`${a("tokenAddress")}:`),r.default.createElement(s.default,{position:"bottom",title:a(i?"copiedExclamation":"copyToClipboard")},r.default.createElement(d.ButtonLink,{className:"detected-token-address__copy-link",onClick:()=>{n(e)},endIconName:d.IconName.Copy,marginLeft:2,marginRight:2},(0,c.shortenAddress)(e))))};m.propTypes={tokenAddress:n.default.string};i.default=m}}},{package:"$root$",file:"ui/components/app/detected-token/detected-token-address/detected-token-address.js"}],[4630,{"../../../../helpers/constants/design-system":5355,"../../../../hooks/useI18nContext":5427,"../../../component-library":4955,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var r,n=function(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=c(a);if(i&&i.has(e))return i.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in e)if("default"!==t&&Object.prototype.hasOwnProperty.call(e,t)){var o=n?Object.getOwnPropertyDescriptor(e,t):null;o&&(o.get||o.set)?Object.defineProperty(r,t,o):r[t]=e[t]}return r.default=e,i&&i.set(e,r),r}(e("react")),t=(r=e("prop-types"))&&r.__esModule?r:{default:r},o=e("../../../../hooks/useI18nContext"),s=e("../../../../helpers/constants/design-system"),l=e("../../../component-library");function c(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,i=new WeakMap;return(c=function(e){return e?i:a})(e)}const d=({aggregators:e})=>{const a=(0,o.useI18nContext)(),i=parseInt(e.length,10)-2,[r,t]=(0,n.useState)(!1);return n.default.createElement(l.Box,{display:s.Display.InlineFlex,className:"detected-token-aggregators"},n.default.createElement(l.Text,{variant:s.TextVariant.bodySm,as:"h6",fontWeight:s.FontWeight.Normal},a("fromTokenLists",[i>0&&!r?n.default.createElement(l.Text,{as:"h6",fontWeight:s.FontWeight.Normal,key:"detected-token-aggrgators-with-more"},`${e.slice(0,2).join(", ")}`,n.default.createElement(l.ButtonLink,{className:"detected-token-aggregators__link",onClick:()=>t(!0),key:"detected-token-aggrgators-link"},a("plusXMore",[i]))):n.default.createElement(l.Text,{as:"h6",fontWeight:s.FontWeight.Normal,key:"detected-token-aggrgators-without-more"},`${e.join(", ")}.`)])))};d.propTypes={aggregators:t.default.array.isRequired};i.default=d}}},{package:"$root$",file:"ui/components/app/detected-token/detected-token-aggregators/detected-token-aggregators.js"}],[4631,{"../../../../helpers/constants/design-system":5355,"../../../../selectors":5987,"../../../component-library":4955,"../../../ui/identicon":5247,"../detected-token-address/detected-token-address":4629,"../detected-token-aggregators/detected-token-aggregators":4630,"../detected-token-values/detected-token-values":4634,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var r=h(e("react")),n=h(e("prop-types")),t=e("react-redux"),o=e("../../../component-library"),s=h(e("../../../ui/identicon")),l=h(e("../detected-token-values/detected-token-values")),c=h(e("../detected-token-address/detected-token-address")),d=h(e("../detected-token-aggregators/detected-token-aggregators")),u=e("../../../../helpers/constants/design-system"),m=e("../../../../selectors");function h(e){return e&&e.__esModule?e:{default:e}}const p=({token:e,handleTokenSelection:a,tokensListDetected:i})=>{var n;const h=(0,t.useSelector)(m.getTokenList)[null===(n=e.address)||void 0===n?void 0:n.toLowerCase()];return r.default.createElement(o.Box,{display:u.Display.Flex,className:"detected-token-details",marginBottom:4},r.default.createElement(s.default,{className:"detected-token-details__identicon",address:e.address,diameter:40}),r.default.createElement(o.Box,{display:u.Display.Grid,marginLeft:2,className:"detected-token-details__data"},r.default.createElement(l.default,{token:e,handleTokenSelection:a,tokensListDetected:i}),r.default.createElement(c.default,{tokenAddress:e.address}),(null==h?void 0:h.aggregators.length)>0&&r.default.createElement(d.default,{aggregators:null==h?void 0:h.aggregators})))};p.propTypes={token:n.default.shape({address:n.default.string.isRequired,decimals:n.default.number,symbol:n.default.string,iconUrl:n.default.string,aggregators:n.default.array}),handleTokenSelection:n.default.func.isRequired,tokensListDetected:n.default.object};i.default=p}}},{package:"$root$",file:"ui/components/app/detected-token/detected-token-details/detected-token-details.js"}],[4632,{"../../../../helpers/constants/design-system":5355,"../../../../hooks/useI18nContext":5427,"../../../component-library":4955,"../../../component-library/modal-content/deprecated":4963,"../../../component-library/modal-header/deprecated":4972,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var r=u(e("react")),n=u(e("prop-types")),t=u(e("classnames")),o=e("../../../../hooks/useI18nContext"),s=e("../../../../helpers/constants/design-system"),l=e("../../../component-library"),c=e("../../../component-library/modal-content/deprecated"),d=e("../../../component-library/modal-header/deprecated");function u(e){return e&&e.__esModule?e:{default:e}}const m=({partiallyIgnoreDetectedTokens:e,onCancelIgnore:a,handleClearTokensSelection:i,isOpen:n})=>{const u=(0,o.useI18nContext)();return r.default.createElement(l.Modal,{isOpen:n,className:(0,t.default)("detected-token-ignored-popover",{"detected-token-ignored-popover--import":e,"detected-token-ignored-popover--ignore":!e}),onClose:a,autoFocus:!1},r.default.createElement(l.ModalOverlay,null),r.default.createElement(c.ModalContent,null,r.default.createElement(d.ModalHeader,{marginBottom:4},u(e?"importSelectedTokens":"areYouSure")),r.default.createElement(l.Text,{marginBottom:4},u(e?"importSelectedTokensDescription":"ignoreTokenWarning")),r.default.createElement(l.Box,{display:s.Display.Flex,justifyContent:s.JustifyContent.center,gap:4},r.default.createElement(l.Button,{className:"detected-token-ignored-popover__ignore-button",block:!0,variant:l.BUTTON_VARIANT.SECONDARY,onClick:a,size:l.BUTTON_SIZES.LG},u("cancel")),r.default.createElement(l.Button,{className:"detected-token-ignored-popover__import-button",block:!0,variant:l.BUTTON_VARIANT.PRIMARY,onClick:i,size:l.BUTTON_SIZES.LG},u("confirm")))))};m.propTypes={partiallyIgnoreDetectedTokens:n.default.bool.isRequired,onCancelIgnore:n.default.func.isRequired,handleClearTokensSelection:n.default.func.isRequired,isOpen:n.default.bool.isRequired};i.default=m}}},{package:"$root$",file:"ui/components/app/detected-token/detected-token-ignored-popover/detected-token-ignored-popover.js"}],[4633,{"../../../../../shared/constants/metametrics":4505,"../../../../contexts/metametrics":5327,"../../../../hooks/useI18nContext":5427,"../../../../selectors":5987,"../../../ui/box":5194,"../../../ui/button":5198,"../../../ui/popover":5281,"../detected-token-details/detected-token-details":4631,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var r=function(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=g(a);if(i&&i.has(e))return i.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in e)if("default"!==t&&Object.prototype.hasOwnProperty.call(e,t)){var o=n?Object.getOwnPropertyDescriptor(e,t):null;o&&(o.get||o.set)?Object.defineProperty(r,t,o):r[t]=e[t]}return r.default=e,i&&i.set(e,r),r}(e("react")),n=p(e("prop-types")),t=e("react-redux"),o=e("../../../../hooks/useI18nContext"),s=e("../../../../contexts/metametrics"),l=e("../../../../../shared/constants/metametrics"),c=e("../../../../selectors"),d=p(e("../../../ui/popover")),u=p(e("../../../ui/box")),m=p(e("../../../ui/button")),h=p(e("../detected-token-details/detected-token-details"));function p(e){return e&&e.__esModule?e:{default:e}}function g(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,i=new WeakMap;return(g=function(e){return e?i:a})(e)}const b=({tokensListDetected:e,handleTokenSelection:a,onImport:i,onIgnoreAll:n,setShowDetectedTokens:p,sortingBasedOnTokenSelection:g})=>{const b=(0,o.useI18nContext)(),y=(0,r.useContext)(s.MetaMetricsContext),f=(0,t.useSelector)(c.getCurrentChainId),k=(0,t.useSelector)(c.getDetectedTokensInCurrentNetwork),{selected:v=[]}=g(e),w=r.default.createElement(r.default.Fragment,null,r.default.createElement(m.default,{className:"detected-token-selection-popover__ignore-button",type:"secondary",onClick:()=>n()},b("ignoreAll")),r.default.createElement(m.default,{className:"detected-token-selection-popover__import-button",type:"primary",onClick:i,disabled:0===v.length},b("importWithCount",[`(${v.length})`])));return r.default.createElement(d.default,{className:"detected-token-selection-popover",title:1===k.length?b("tokenFoundTitle"):b("tokensFoundTitle",[k.length]),onClose:()=>{p(!1);const e=k.map((({address:e,symbol:a})=>`${a} - ${e}`));y({event:l.MetaMetricsEventName.TokenImportCanceled,category:l.MetaMetricsEventCategory.Wallet,properties:{source_connection_method:l.MetaMetricsTokenEventSource.Detected,chain_id:f,tokens:e}})},footer:w},r.default.createElement(u.default,{margin:3},k.map(((i,n)=>r.default.createElement(h.default,{key:n,token:i,handleTokenSelection:a,tokensListDetected:e})))))};b.propTypes={tokensListDetected:n.default.object,handleTokenSelection:n.default.func.isRequired,onIgnoreAll:n.default.func.isRequired,onImport:n.default.func.isRequired,setShowDetectedTokens:n.default.func.isRequired,sortingBasedOnTokenSelection:n.default.func.isRequired};i.default=b}}},{package:"$root$",file:"ui/components/app/detected-token/detected-token-selection-popover/detected-token-selection-popover.js"}],[4634,{"../../../../helpers/constants/design-system":5355,"../../../../hooks/useTokenFiatAmount":5446,"../../../../hooks/useTokenTracker":5447,"../../../../selectors":5987,"../../../component-library":4955,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var r,n=function(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=m(a);if(i&&i.has(e))return i.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in e)if("default"!==t&&Object.prototype.hasOwnProperty.call(e,t)){var o=n?Object.getOwnPropertyDescriptor(e,t):null;o&&(o.get||o.set)?Object.defineProperty(r,t,o):r[t]=e[t]}return r.default=e,i&&i.set(e,r),r}(e("react")),t=(r=e("prop-types"))&&r.__esModule?r:{default:r},o=e("react-redux"),s=e("../../../../helpers/constants/design-system"),l=e("../../../../hooks/useTokenTracker"),c=e("../../../../hooks/useTokenFiatAmount"),d=e("../../../../selectors"),u=e("../../../component-library");function m(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,i=new WeakMap;return(m=function(e){return e?i:a})(e)}const h=({token:e,handleTokenSelection:a,tokensListDetected:i})=>{var r;const[t,m]=(0,n.useState)((()=>{var a;return null===(a=i[e.address])||void 0===a?void 0:a.selected})),{tokensWithBalances:h}=(0,l.useTokenTracker)({tokens:[e]}),p=null===(r=h[0])||void 0===r?void 0:r.string,g=(0,c.useTokenFiatAmount)(e.address,p,e.symbol),b=(0,o.useSelector)(d.getUseCurrencyRateCheck);(0,n.useEffect)((()=>{var a;m(null===(a=i[e.address])||void 0===a?void 0:a.selected)}),[i,e.address,t,m]);return n.default.createElement(u.Box,{display:s.Display.InlineFlex,className:"detected-token-values"},n.default.createElement(u.Box,{marginBottom:1},n.default.createElement(u.Text,{variant:s.TextVariant.bodyLgMedium,as:"h4"},`${p||"0"} ${e.symbol}`),n.default.createElement(u.Text,{variant:s.TextVariant.bodySm,as:"h6",color:s.TextColor.textAlternative},b?g||"$0":g)),n.default.createElement(u.Box,{className:"detected-token-values__checkbox"},n.default.createElement(u.Checkbox,{isChecked:t,onClick:()=>{m(!t),a(e)}})))};h.propTypes={token:t.default.shape({address:t.default.string.isRequired,decimals:t.default.number,symbol:t.default.string,iconUrl:t.default.string,aggregators:t.default.array}),handleTokenSelection:t.default.func.isRequired,tokensListDetected:t.default.object};i.default=h}}},{package:"$root$",file:"ui/components/app/detected-token/detected-token-values/detected-token-values.js"}],[4635,{"../../../../shared/constants/metametrics":4505,"../../../../shared/constants/transaction":4520,"../../../contexts/metametrics":5327,"../../../selectors":5987,"../../../store/actions":5998,"./detected-token-ignored-popover/detected-token-ignored-popover":4632,"./detected-token-selection-popover/detected-token-selection-popover":4633,lodash:3836,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var r=function(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=g(a);if(i&&i.has(e))return i.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in e)if("default"!==t&&Object.prototype.hasOwnProperty.call(e,t)){var o=n?Object.getOwnPropertyDescriptor(e,t):null;o&&(o.get||o.set)?Object.defineProperty(r,t,o):r[t]=e[t]}return r.default=e,i&&i.set(e,r),r}(e("react")),n=p(e("prop-types")),t=e("react-redux"),o=e("lodash"),s=e("../../../store/actions"),l=e("../../../selectors"),c=e("../../../contexts/metametrics"),d=e("../../../../shared/constants/transaction"),u=e("../../../../shared/constants/metametrics"),m=p(e("./detected-token-selection-popover/detected-token-selection-popover")),h=p(e("./detected-token-ignored-popover/detected-token-ignored-popover"));function p(e){return e&&e.__esModule?e:{default:e}}function g(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,i=new WeakMap;return(g=function(e){return e?i:a})(e)}const b=e=>(0,o.chain)(e).values().groupBy((e=>e.selected?"selected":"deselected")).mapValues((e=>e.map((({token:e})=>{const{address:a,symbol:i,decimals:r,aggregators:n}=e;return{address:a,symbol:i,decimals:r,aggregators:n}})))).value(),y=({setShowDetectedTokens:e})=>{const a=(0,t.useDispatch)(),i=(0,r.useContext)(c.MetaMetricsContext),n=(0,t.useSelector)(l.getCurrentChainId),o=(0,t.useSelector)(l.getDetectedTokensInCurrentNetwork),p=(0,t.useSelector)(l.getSelectedNetworkClientId),[g,y]=(0,r.useState)((()=>o.reduce(((e,a)=>(e[a.address]={token:a,selected:!0},e)),{}))),[f,k]=(0,r.useState)(!1),[v,w]=(0,r.useState)(!1),j=async e=>{e.forEach((e=>{i({event:u.MetaMetricsEventName.TokenAdded,category:u.MetaMetricsEventCategory.Wallet,sensitiveProperties:{token_symbol:e.symbol,token_contract_address:e.address,token_decimal_precision:e.decimals,source:u.MetaMetricsTokenEventSource.Detected,token_standard:d.TokenStandard.ERC20,asset_type:d.AssetType.token,token_added_type:"detected",chain_id:n}})})),await a((0,s.addImportedTokens)(e,p));const r=e.map((({symbol:e})=>e));a((0,s.setNewTokensImported)(r.join(", ")))};return r.default.createElement(r.default.Fragment,null,f&&r.default.createElement(h.default,{isOpen:!0,onCancelIgnore:()=>{k(!1),w(!1)},handleClearTokensSelection:async()=>{const{selected:r=[],deselected:n=[]}=b(g);n.length`${e} - ${a}`));i({event:u.MetaMetricsEventName.TokenHidden,category:u.MetaMetricsEventCategory.Wallet,sensitiveProperties:{tokens:t,location:u.MetaMetricsEventLocation.TokenDetection,token_standard:d.TokenStandard.ERC20,asset_type:d.AssetType.token}});const l=n.map((({address:e})=>e));await a((0,s.ignoreTokens)({tokensToIgnore:l,dontShowLoadingIndicator:!0})),e(!1),w(!1)},partiallyIgnoreDetectedTokens:v}),o.length>0&&r.default.createElement(m.default,{detectedTokens:o,tokensListDetected:g,handleTokenSelection:e=>{y((a=>({...a,[e.address]:{...a[e.address],selected:!a[e.address].selected}})))},onImport:async()=>{const{selected:a=[]}=b(g);a.length{const e={...g};for(const a of Object.keys(g))e[a].selected=!1;y(e),k(!0)},setShowDetectedTokens:e,sortingBasedOnTokenSelection:b}))};y.propTypes={setShowDetectedTokens:n.default.func.isRequired};i.default=y}}},{package:"$root$",file:"ui/components/app/detected-token/detected-token.js"}],[4636,{"../../../../contexts/i18n":5324,"../../../ui/button":5198,"prop-types":3997,react:4243,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=h;var r=function(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=c(a);if(i&&i.has(e))return i.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in e)if("default"!==t&&Object.prototype.hasOwnProperty.call(e,t)){var o=n?Object.getOwnPropertyDescriptor(e,t):null;o&&(o.get||o.set)?Object.defineProperty(r,t,o):r[t]=e[t]}return r.default=e,i&&i.set(e,r),r}(e("react")),n=e("react-router-dom"),t=l(e("prop-types")),o=e("../../../../contexts/i18n"),s=l(e("../../../ui/button"));function l(e){return e&&e.__esModule?e:{default:e}}function c(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,i=new WeakMap;return(c=function(e){return e?i:a})(e)}function d(e){return e.split("\n").map(((e,a)=>r.default.createElement(r.Fragment,{key:a},e,r.default.createElement("br",null))))}const u=d("MMm*mmMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMmm*mMM\nMM*./***mMMMMMMMMMMMMMMMMMMMMMMMMMMm***/.*MM\nMM/...///*mMMMMMMMMMMMMMMMMMMMMMMm*///.../MM\nMm.....//../*mMMMMMMMMMMMMMMMMm*/..//.....mM\nM*....../*....*mMMMMMMMMMMMMm*....*/......*M\nM/........*.....*//////////*...../......../M\nm..........*/...//........//.../*..........m\nM/..........//.../......../...//........../M\nM/.........../*/./.......//./*/.........../M\nM*.............////......////.............*M\nMm...............**......**...............mM\nMm/...............*/..../*.............../mM\nMM/............../*/..../*/............../MM\nMm..............//./...././/..............mM\nMM*............*/../..../../*............*MM\nMM/........../*..../..../....*/........../MM\nMMm.........//...../..../.....//.........mMM\nMMm......//**....../..../......**//......mMM\nMMM/..////.*......./..../......././///../MMM\nMMMm*//..../......./..../......./....//*mMMM\nMMMm......*////////*....*////////*......mMMM\nMMM*......*////////*....*////////*......*MMM\nMMM/....../*......./..../.......*/....../MMM\nMMm........**/./m*./..../.**/..**........mMM\nMM*........//*mMMM///..///mMMm*//........*MM\nMM/........././*mM*//..//*Mm*/./........./MM\nMm..........//.../**/../**/...//..........mM\nM*...........*..../*/../*/..../...........*M\nM*///////////*/.../m/../m/.../*///////////*M\nM*.........../*/...m/../m.../*/...........*M\nMm.........../..//.*....*./*../...........mM\nMM/........../...//******//.../........../MM\nMM*........../....*MMMMMM*..../..........*MM\nMMm........../....*MMMMMM*..../..........mMM\nMMm/........//....*MMMMMM*....//......../mMM\nMMM/....../*mm*...*mmmmmm*...*mm*/....../MMM\nMMM*../*mmMMMMMm///......//*mMMMMMmm*/..*MMM\nMMMm*mMMMMMMMMMMm**......**mMMMMMMMMMMm*mMMM\nMMMMMMMMMMMMMMMMMm/....../mMMMMMMMMMMMMMMMMM\nMMMMMMMMMMMMMMMMMMmmmmmmmmMMMMMMMMMMMMMMMMMM"),m=d("█▀▀ ▄▀█ █░█ ▀█▀ █ █▀█ █▄░█ ▀  \n █▄▄ █▀█ █▄█ ░█░ █ █▄█ █░▀█ ▄  \n \n █▀▀ ▀▄▀ █▀█ █▀▀ █▀█ █ █▀▄▀█ █▀▀ █▄░█ ▀█▀ ▄▀█ █░░  \n ██▄ █░█ █▀▀ ██▄ █▀▄ █ █░▀░█ ██▄ █░▀█ ░█░ █▀█ █▄▄  \n \n █▀ █▀█ █▀▀ ▀█▀ █░█░█ ▄▀█ █▀█ █▀▀\n ▄█ █▄█ █▀░ ░█░ ▀▄▀▄▀ █▀█ █▀▄ ██▄");function h({redirectTo:e}){const a=(0,r.useContext)(o.I18nContext),i=(0,n.useHistory)();return r.default.createElement("div",{className:"experimental-area","data-testid":"experimental-area"},r.default.createElement("div",{className:"logo"},u),r.default.createElement("div",{className:"experimental-text"},m),r.default.createElement("div",{className:"text"},r.default.createElement("p",null,a("flaskWelcomeWarning1",[r.default.createElement("b",{key:"doNotUse"},a("flaskWelcomeUninstall"))])),r.default.createElement("br",null),r.default.createElement("p",null,a("flaskWelcomeWarning2")),r.default.createElement("br",null),r.default.createElement("p",null,a("flaskWelcomeWarning3")),r.default.createElement("br",null),r.default.createElement("p",null,a("flaskWelcomeWarning4"))),r.default.createElement(s.default,{type:"primary",onClick:()=>{i.push(e)}},a("flaskWelcomeWarningAcceptButton")))}h.propTypes={redirectTo:t.default.string}}}},{package:"$root$",file:"ui/components/app/flask/experimental-area/experimental-area.js"}],[4637,{"./experimental-area":4636},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return n.default}});var r,n=(r=e("./experimental-area"))&&r.__esModule?r:{default:r}}}},{package:"$root$",file:"ui/components/app/flask/experimental-area/index.js"}],[4638,{"../../../../shared/constants/metametrics":4505,"../../../contexts/i18n":5324,"../../../contexts/metametrics":5327,"../../../helpers/constants/design-system":5355,"../../component-library":4955,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=g;var r=m(e("classnames")),n=m(e("prop-types")),t=function(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=u(a);if(i&&i.has(e))return i.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in e)if("default"!==t&&Object.prototype.hasOwnProperty.call(e,t)){var o=n?Object.getOwnPropertyDescriptor(e,t):null;o&&(o.get||o.set)?Object.defineProperty(r,t,o):r[t]=e[t]}return r.default=e,i&&i.set(e,r),r}(e("react")),o=e("../../../../shared/constants/metametrics"),s=e("../../../contexts/i18n"),l=e("../../../contexts/metametrics"),c=e("../../../helpers/constants/design-system"),d=e("../../component-library");function u(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,i=new WeakMap;return(u=function(e){return e?i:a})(e)}function m(e){return e&&e.__esModule?e:{default:e}}const h=14,p=h-1;function g({buttonText:e,onLongPressed:a}){const i=(0,t.useContext)(s.I18nContext),n=(0,t.useRef)(!1),[u,m]=(0,t.useState)(!1),[g,b]=(0,t.useState)(!1),y=(0,t.useContext)(l.MetaMetricsContext),f=e=>{e.stopPropagation()},k=()=>{n.current&&m(!0)},v=(0,t.useCallback)((e=>{y({category:o.MetaMetricsEventCategory.Keys,event:o.MetaMetricsEventName.SrpHoldToRevealCompleted,properties:{key_type:o.MetaMetricsEventKeyType.Srp}}),y({category:o.MetaMetricsEventCategory.Keys,event:o.MetaMetricsEventName.SrpRevealViewed,properties:{key_type:o.MetaMetricsEventKeyType.Srp}}),a(),b(!0),f(e)}),[a,y]),w=()=>{m(!1),b(!1)},j=(0,t.useCallback)((()=>t.default.createElement(d.Box,{className:(0,r.default)("hold-to-reveal-button__absolute-fill",{"hold-to-reveal-button__absolute-fill":u,"hold-to-reveal-button__main-icon-show":g})},t.default.createElement(d.Box,{className:"hold-to-reveal-button__absolute-fill"},t.default.createElement("svg",{className:"hold-to-reveal-button__circle-svg"},t.default.createElement("circle",{className:"hold-to-reveal-button__circle-background",cx:h,cy:h,r:p}))),t.default.createElement(d.Box,{className:"hold-to-reveal-button__absolute-fill"},t.default.createElement("svg",{className:"hold-to-reveal-button__circle-svg"},t.default.createElement("circle",{"aria-label":i("holdToRevealLockedLabel"),onTransitionEnd:k,className:"hold-to-reveal-button__circle-foreground",cx:h,cy:h,r:p}))),t.default.createElement(d.Box,{display:c.Display.Flex,alignItems:c.AlignItems.center,justifyContent:c.JustifyContent.center,className:"hold-to-reveal-button__lock-icon-container"},t.default.createElement("img",{src:"images/lock-icon.svg",alt:i("padlock"),className:"hold-to-reveal-button__lock-icon"})))),[u,g,i]),z=(0,t.useCallback)((()=>u?t.default.createElement("div",{className:(0,r.default)("hold-to-reveal-button__absolute-fill",{"hold-to-reveal-button__unlock-icon-hide":g}),onAnimationEnd:w},t.default.createElement("div",{onAnimationEnd:f,className:"hold-to-reveal-button__absolute-fill hold-to-reveal-button__circle-static-outer-container"},t.default.createElement("svg",{className:"hold-to-reveal-button__circle-svg"},t.default.createElement("circle",{className:"hold-to-reveal-button__circle-static-outer",cx:14,cy:14,r:14}))),t.default.createElement("div",{onAnimationEnd:f,className:"hold-to-reveal-button__absolute-fill hold-to-reveal-button__circle-static-inner-container"},t.default.createElement("svg",{className:"hold-to-reveal-button__circle-svg"},t.default.createElement("circle",{className:"hold-to-reveal-button__circle-static-inner",cx:14,cy:14,r:12}))),t.default.createElement("div",{"aria-label":i("holdToRevealUnlockedLabel"),className:"hold-to-reveal-button__unlock-icon-container",onAnimationEnd:v},t.default.createElement("img",{src:"images/unlock-icon.svg",alt:i("padlock"),className:"hold-to-reveal-button__unlock-icon"}))):null),[u,g,v,i]);return t.default.createElement(d.Button,{width:c.BlockSize.Full,onPointerDown:()=>{n.current=!0,y({category:o.MetaMetricsEventCategory.Keys,event:o.MetaMetricsEventName.SrpHoldToRevealClickStarted,properties:{key_type:o.MetaMetricsEventKeyType.Srp}})},onPointerUp:()=>{n.current=!1},className:"hold-to-reveal-button__button-hold",textProps:{display:c.Display.Flex,alignItems:c.AlignItems.center}},t.default.createElement(d.Box,{className:"hold-to-reveal-button__icon-container",marginRight:2},j(),z()),e)}g.propTypes={buttonText:n.default.string.isRequired,onLongPressed:n.default.func.isRequired}}}},{package:"$root$",file:"ui/components/app/hold-to-reveal-button/hold-to-reveal-button.js"}],[4639,{"../../../helpers/constants/design-system":5355,"../../component-library":4955,"../../ui/button":5198,"../../ui/check-box":5202,"../../ui/tooltip":5310,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var r=function(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=m(a);if(i&&i.has(e))return i.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in e)if("default"!==t&&Object.prototype.hasOwnProperty.call(e,t)){var o=n?Object.getOwnPropertyDescriptor(e,t):null;o&&(o.get||o.set)?Object.defineProperty(r,t,o):r[t]=e[t]}return r.default=e,i&&i.set(e,r),r}(e("react")),n=u(e("classnames")),t=u(e("prop-types")),o=u(e("../../ui/button")),s=u(e("../../ui/check-box")),l=u(e("../../ui/tooltip")),c=e("../../component-library"),d=e("../../../helpers/constants/design-system");function u(e){return e&&e.__esModule?e:{default:e}}function m(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,i=new WeakMap;return(m=function(e){return e?i:a})(e)}const h=({acceptText:e,checkboxText:a,checkboxTooltipText:i,classNames:t=[],descriptionText:u,ignoreText:m,infoText:h,onAccept:p,onIgnore:g})=>{const[b,y]=(0,r.useState)(!1),f=a&&r.default.createElement(s.default,{id:"homeNotification_checkbox",checked:b,className:"home-notification__checkbox",onClick:()=>y((e=>!e))});return r.default.createElement("div",{className:(0,n.default)("home-notification",...t)},r.default.createElement("div",{className:"home-notification__content"},r.default.createElement("div",{className:"home-notification__content-container"},r.default.createElement("div",{className:"home-notification__text"},u)),h?r.default.createElement(l.default,{position:"top",title:h,wrapperClassName:"home-notification__tooltip-wrapper"},r.default.createElement(c.Icon,{name:c.IconName.Info,color:d.IconColor.iconDefault})):null),r.default.createElement("div",{className:"home-notification__buttons"},p&&e?r.default.createElement(o.default,{type:"primary",className:"home-notification__accept-button",onClick:p},e):null,g&&m?r.default.createElement(o.default,{type:"secondary",className:"home-notification__ignore-button",onClick:()=>g(b)},m):null,a?r.default.createElement("div",{className:"home-notification__checkbox-wrapper"},i?r.default.createElement(l.default,{position:"top",title:i,wrapperClassName:"home-notification__checkbox-label-tooltip"},f):f,r.default.createElement("label",{className:"home-notification__checkbox-label",htmlFor:"homeNotification_checkbox"},a)):null))};h.propTypes={acceptText:t.default.node,checkboxText:t.default.node,checkboxTooltipText:t.default.node,classNames:t.default.array,descriptionText:t.default.node.isRequired,ignoreText:t.default.node,infoText:t.default.node,onAccept:t.default.func,onIgnore:t.default.func};i.default=h}}},{package:"$root$",file:"ui/components/app/home-notification/home-notification.component.js"}],[4640,{"./home-notification.component":4639},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return n.default}});var r,n=(r=e("./home-notification.component"))&&r.__esModule?r:{default:r}}}},{package:"$root$",file:"ui/components/app/home-notification/index.js"}],[4641,{"./token-list.container":4645},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var r,n=(r=e("./token-list.container"))&&r.__esModule?r:{default:r};i.default=n.default}}},{package:"$root$",file:"ui/components/app/import-token/token-list/index.js"}],[4642,{"./token-list-placeholder.component":4643},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var r,n=(r=e("./token-list-placeholder.component"))&&r.__esModule?r:{default:r};i.default=n.default}}},{package:"$root$",file:"ui/components/app/import-token/token-list/token-list-placeholder/index.js"}],[4643,{"../../../../../helpers/constants/design-system":5355,"../../../../../helpers/constants/zendesk-url":5368,"../../../../component-library":4955,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var r,n,t,o=function(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=m(a);if(i&&i.has(e))return i.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in e)if("default"!==t&&Object.prototype.hasOwnProperty.call(e,t)){var o=n?Object.getOwnPropertyDescriptor(e,t):null;o&&(o.get||o.set)?Object.defineProperty(r,t,o):r[t]=e[t]}return r.default=e,i&&i.set(e,r),r}(e("react")),s=u(e("prop-types")),l=u(e("../../../../../helpers/constants/zendesk-url")),c=e("../../../../component-library"),d=e("../../../../../helpers/constants/design-system");function u(e){return e&&e.__esModule?e:{default:e}}function m(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,i=new WeakMap;return(m=function(e){return e?i:a})(e)}class h extends o.Component{render(){return o.default.createElement(c.Box,{display:d.Display.Flex,alignItems:d.AlignItems.center,flexDirection:d.FlexDirection.Column,textAlign:d.TextAlign.Center},o.default.createElement(c.Text,{color:d.TextColor.textAlternative},this.context.t("addAcquiredTokens")),o.default.createElement(c.ButtonLink,{href:l.default.ADD_CUSTOM_TOKENS,externalLink:!0},this.context.t("learnMoreUpperCase")))}}i.default=h,r=h,n="contextTypes",t={t:s.default.func},(n=function(e){var a=function(e,a){if("object"!=typeof e||null===e)return e;var i=e[Symbol.toPrimitive];if(i!==undefined){var r=i.call(e,a||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===a?String:Number)(e)}(e,"string");return"symbol"==typeof a?a:String(a)}(n))in r?Object.defineProperty(r,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[n]=t}}},{package:"$root$",file:"ui/components/app/import-token/token-list/token-list-placeholder/token-list-placeholder.component.js"}],[4644,{"../../../../helpers/constants/design-system":5355,"../../../../helpers/utils/util":5399,"../../../component-library":4955,"./token-list-placeholder":4642,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var r=function(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=u(a);if(i&&i.has(e))return i.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in e)if("default"!==t&&Object.prototype.hasOwnProperty.call(e,t)){var o=n?Object.getOwnPropertyDescriptor(e,t):null;o&&(o.get||o.set)?Object.defineProperty(r,t,o):r[t]=e[t]}return r.default=e,i&&i.set(e,r),r}(e("react")),n=d(e("prop-types")),t=d(e("classnames")),o=e("../../../../helpers/utils/util"),s=e("../../../component-library"),l=e("../../../../helpers/constants/design-system"),c=d(e("./token-list-placeholder"));function d(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,i=new WeakMap;return(u=function(e){return e?i:a})(e)}function m(e,a,i){return(a=function(e){var a=function(e,a){if("object"!=typeof e||null===e)return e;var i=e[Symbol.toPrimitive];if(i!==undefined){var r=i.call(e,a||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===a?String:Number)(e)}(e,"string");return"symbol"==typeof a?a:String(a)}(a))in e?Object.defineProperty(e,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[a]=i,e}class h extends r.Component{render(){const{results:e=[],selectedTokens:a={},onToggleToken:i,tokens:n=[],currentNetwork:d,testNetworkBackgroundColor:u}=this.props;return r.default.createElement(s.Box,{className:"token-list"},0===e.length?r.default.createElement(s.Box,{paddingLeft:4,paddingRight:4,className:"token-list__empty-list"},r.default.createElement(c.default,null)):r.default.createElement(s.Box,{className:"token-list__tokens-container"},Array(12).fill(undefined).map(((c,m)=>{var h,p,g;const{symbol:b,name:y,address:f}=e[m]||{},k=(0,o.checkExistingAddresses)(f,n),v=()=>!k&&i(e[m]);return Boolean((null===(h=e[m])||void 0===h?void 0:h.iconUrl)||b||y)&&r.default.createElement(s.Box,{key:f,display:l.Display.Flex,className:(0,t.default)("token-list__token_component",{"token-list__token_component--selected":a[f],"token-list__token_component--disabled":k}),onClick:v},r.default.createElement(s.Box,{display:l.Display.Flex,alignItems:l.AlignItems.center},r.default.createElement(s.Checkbox,{isChecked:a[f]||k,marginRight:2,onClick:v}),r.default.createElement(s.Box,null,r.default.createElement(s.BadgeWrapper,{badge:r.default.createElement(s.AvatarNetwork,{size:s.AvatarNetworkSize.Xs,name:null==d?void 0:d.nickname,src:null==d||null===(p=d.rpcPrefs)||void 0===p?void 0:p.imageUrl,backgroundColor:u}),marginRight:4,marginTop:1},r.default.createElement(s.AvatarToken,{name:b,src:null===(g=e[m])||void 0===g?void 0:g.iconUrl,showHalo:!0}))),r.default.createElement(s.Box,null,r.default.createElement(s.Text,{fontWeight:l.FontWeight.Medium,variant:l.TextVariant.bodyMd},y),r.default.createElement(s.Text,{variant:l.TextVariant.bodySm,color:l.TextColor.textAlternative},b))))}))))}}i.default=h,m(h,"contextTypes",{t:n.default.func}),m(h,"propTypes",{tokens:n.default.array,results:n.default.array,selectedTokens:n.default.object,onToggleToken:n.default.func,currentNetwork:n.default.object,testNetworkBackgroundColor:n.default.object})}}},{package:"$root$",file:"ui/components/app/import-token/token-list/token-list.component.js"}],[4645,{"./token-list.component":4644,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var r,n=e("react-redux"),t=(r=e("./token-list.component"))&&r.__esModule?r:{default:r};i.default=(0,n.connect)((e=>{const{tokens:a}=e.metamask;return{tokens:a}}))(t.default)}}},{package:"$root$",file:"ui/components/app/import-token/token-list/token-list.container.js"}],[4646,{"./token-search.component":4647},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var r,n=(r=e("./token-search.component"))&&r.__esModule?r:{default:r};i.default=n.default}}},{package:"$root$",file:"ui/components/app/import-token/token-search/index.js"}],[4647,{"../../../../../shared/modules/string-utils":4558,"../../../../helpers/constants/design-system":5355,"../../../../hooks/useI18nContext":5427,"../../../component-library/text-field-search/deprecated":5e3,"fuse.js":3407,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=p;var r=function(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=u(a);if(i&&i.has(e))return i.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in e)if("default"!==t&&Object.prototype.hasOwnProperty.call(e,t)){var o=n?Object.getOwnPropertyDescriptor(e,t):null;o&&(o.get||o.set)?Object.defineProperty(r,t,o):r[t]=e[t]}return r.default=e,i&&i.set(e,r),r}(e("react")),n=d(e("prop-types")),t=d(e("fuse.js")),o=e("../../../../../shared/modules/string-utils"),s=e("../../../component-library/text-field-search/deprecated"),l=e("../../../../helpers/constants/design-system"),c=e("../../../../hooks/useI18nContext");function d(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,i=new WeakMap;return(u=function(e){return e?i:a})(e)}const m=e=>Object.values(e),h=e=>new t.default(m(e),{shouldSort:!0,threshold:.45,location:0,distance:100,maxPatternLength:32,minMatchCharLength:1,keys:[{name:"name",weight:.5},{name:"symbol",weight:.5}]});function p({onSearch:e,error:a,tokenList:i,searchClassName:n}){const t=(0,c.useI18nContext)(),[d,u]=(0,r.useState)(""),[p,g]=(0,r.useState)(h(i));(0,r.useEffect)((()=>{g(h(i))}),[i]);return r.default.createElement(s.TextFieldSearch,{className:n,placeholder:t("searchTokens"),value:d,onChange:a=>(a=>{u(a);const r=p.search(a),n=[...m(i).filter((e=>e.address&&a&&(0,o.isEqualCaseInsensitive)(e.address,a))),...r];e({newSearchQuery:a,results:n})})(a.target.value),error:a,autoFocus:!0,autoComplete:!1,width:l.BlockSize.Full,clearButtonOnClick:()=>{u("")},clearButtonProps:{size:l.Size.SM}})}p.propTypes={onSearch:n.default.func.isRequired,error:n.default.object,tokenList:n.default.object.isRequired,searchClassName:n.default.string.isRequired}}}},{package:"$root$",file:"ui/components/app/import-token/token-search/token-search.component.js"}],[4648,{"../../../../shared/constants/network":4507,"../../../contexts/i18n":5324,"../../../helpers/constants/design-system":5355,"../../component-library":4955,"./network-toggle":4649,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var r=function(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=u(a);if(i&&i.has(e))return i.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in e)if("default"!==t&&Object.prototype.hasOwnProperty.call(e,t)){var o=n?Object.getOwnPropertyDescriptor(e,t):null;o&&(o.get||o.set)?Object.defineProperty(r,t,o):r[t]=e[t]}return r.default=e,i&&i.set(e,r),r}(e("react")),n=d(e("prop-types")),t=e("../../../contexts/i18n"),o=e("../../component-library"),s=e("../../../helpers/constants/design-system"),l=e("../../../../shared/constants/network"),c=d(e("./network-toggle"));function d(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,i=new WeakMap;return(u=function(e){return e?i:a})(e)}const m=({wrapperRef:e,incomingTransactionsPreferences:a,allNetworks:i,setIncomingTransactionsPreferences:n})=>{const l=(0,r.useContext)(t.I18nContext),[d,u]=(0,r.useState)(h(a,i));(0,r.useEffect)((()=>{u(h(a,i))}),[a,i]);const m=(e,a)=>{n(e,a)};return r.default.createElement(o.Box,{ref:e,className:"mm-incoming-transaction-toggle"},r.default.createElement(o.Text,{variant:s.TextVariant.bodyMd},l("showIncomingTransactions")),r.default.createElement(o.Text,{variant:s.TextVariant.bodySm,color:s.TextColor.textAlternative},l("showIncomingTransactionsExplainer")),Object.keys(d).map(((e,a)=>r.default.createElement(c.default,{key:a,chainId:e,networkPreferences:d[e],toggleSingleNetwork:m}))))};i.default=m;function h(e,a){const i={};return Object.keys(a).forEach((r=>{var n;const{chainId:t}=a[r];i[t]={isShowIncomingTransactions:e[t],isATestNetwork:l.TEST_CHAINS.includes(t),label:a[r].nickname,imageUrl:null===(n=a[r].rpcPrefs)||void 0===n?void 0:n.imageUrl}})),i}m.propTypes={wrapperRef:n.default.object,incomingTransactionsPreferences:n.default.object.isRequired,allNetworks:n.default.array.isRequired,setIncomingTransactionsPreferences:n.default.func.isRequired}}}},{package:"$root$",file:"ui/components/app/incoming-trasaction-toggle/incoming-transaction-toggle.tsx"}],[4649,{"../../../../shared/constants/network":4507,"../../../contexts/i18n":5324,"../../../helpers/constants/design-system":5355,"../../component-library":4955,"../../ui/toggle-button":5306,"../../ui/tooltip":5310,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var r=m(e("prop-types")),n=function(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=u(a);if(i&&i.has(e))return i.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in e)if("default"!==t&&Object.prototype.hasOwnProperty.call(e,t)){var o=n?Object.getOwnPropertyDescriptor(e,t):null;o&&(o.get||o.set)?Object.defineProperty(r,t,o):r[t]=e[t]}return r.default=e,i&&i.set(e,r),r}(e("react")),t=e("../../../../shared/constants/network"),o=e("../../../contexts/i18n"),s=e("../../../helpers/constants/design-system"),l=e("../../component-library"),c=m(e("../../ui/toggle-button")),d=m(e("../../ui/tooltip"));function u(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,i=new WeakMap;return(u=function(e){return e?i:a})(e)}function m(e){return e&&e.__esModule?e:{default:e}}const h=({networkPreferences:e,toggleSingleNetwork:a,chainId:i})=>{var r;const u=(0,n.useContext)(o.I18nContext),{isShowIncomingTransactions:m}=e,h=e.label,p=null===t.ETHERSCAN_SUPPORTED_NETWORKS||void 0===t.ETHERSCAN_SUPPORTED_NETWORKS?void 0:t.ETHERSCAN_SUPPORTED_NETWORKS[i],g=null==p?void 0:p.domain,b=(null==g||null===(r=g.charAt(0))||void 0===r?void 0:r.toUpperCase())+(null==g?void 0:g.slice(1));return n.default.createElement(l.Box,{marginTop:6,marginBottom:6,display:s.Display.Flex,flexDirection:s.FlexDirection.Row,gap:4,justifyContent:s.JustifyContent.spaceBetween,"data-testid":`network-toggle-${i}`,className:"network-toggle-wrapper"},n.default.createElement(l.Box,{backgroundColor:s.BackgroundColor.transparent,display:s.Display.Flex,alignItems:s.AlignItems.center,width:s.BlockSize.Full,gap:4,className:"network-toggle-wrapper__overflow-container"},n.default.createElement(l.AvatarNetwork,{size:l.AvatarNetworkSize.Sm,src:e.imageUrl,name:h}),n.default.createElement(l.Box,{display:s.Display.Flex,flexDirection:s.FlexDirection.Column,className:"network-toggle-wrapper__overflow-container"},h.length>20?n.default.createElement(d.default,{position:"bottom"},n.default.createElement(l.Text,{color:s.TextColor.textDefault,backgroundColor:s.BackgroundColor.transparent,variant:s.TextVariant.bodyMd,ellipsis:!0},h)):n.default.createElement(l.Text,{color:s.TextColor.textDefault,backgroundColor:s.BackgroundColor.transparent,variant:s.TextVariant.bodyMd,ellipsis:!0},h),n.default.createElement(l.Text,{color:s.TextColor.primaryDefault,backgroundColor:s.BackgroundColor.transparent,variant:s.TextVariant.bodySm,ellipsis:!0},g&&n.default.createElement("a",{key:`network_${g}_link`,href:`https://${g}`,rel:"noreferrer",target:"_blank"},b)))),n.default.createElement(l.Box,{marginLeft:"auto"},n.default.createElement(c.default,{value:m,onToggle:e=>a(i,!e),offLabel:u("off"),onLabel:u("on")})))};i.default=h;h.propTypes={chainId:r.default.string.isRequired,networkPreferences:r.default.object.isRequired,toggleSingleNetwork:r.default.func.isRequired}}}},{package:"$root$",file:"ui/components/app/incoming-trasaction-toggle/network-toggle.tsx"}],[4650,{"./loading-network-screen.container":4652},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return n.default}});var r,n=(r=e("./loading-network-screen.container"))&&r.__esModule?r:{default:r}}}},{package:"$root$",file:"ui/components/app/loading-network-screen/index.js"}],[4651,{"../../../../shared/constants/network":4507,"../../../../shared/constants/time":4518,"../../../helpers/constants/design-system":5355,"../../component-library":4955,"../../ui/box/box":5193,"../../ui/loading-screen":5256,"../../ui/popover/popover.component":5282,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var r=function(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=h(a);if(i&&i.has(e))return i.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in e)if("default"!==t&&Object.prototype.hasOwnProperty.call(e,t)){var o=n?Object.getOwnPropertyDescriptor(e,t):null;o&&(o.get||o.set)?Object.defineProperty(r,t,o):r[t]=e[t]}return r.default=e,i&&i.set(e,r),r}(e("react")),n=m(e("prop-types")),t=m(e("../../ui/loading-screen")),o=e("../../../../shared/constants/time"),s=e("../../../../shared/constants/network"),l=m(e("../../ui/popover/popover.component")),c=e("../../component-library"),d=e("../../../helpers/constants/design-system"),u=m(e("../../ui/box/box"));function m(e){return e&&e.__esModule?e:{default:e}}function h(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,i=new WeakMap;return(h=function(e){return e?i:a})(e)}function p(e,a,i){return(a=function(e){var a=function(e,a){if("object"!=typeof e||null===e)return e;var i=e[Symbol.toPrimitive];if(i!==undefined){var r=i.call(e,a||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===a?String:Number)(e)}(e,"string");return"symbol"==typeof a?a:String(a)}(a))in e?Object.defineProperty(e,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[a]=i,e}class g extends r.PureComponent{constructor(...e){super(...e),p(this,"state",{showErrorScreen:!1}),p(this,"componentDidMount",(()=>{this.cancelCallTimeout=setTimeout(this.cancelCall,this.props.cancelTime||15*o.SECOND)})),p(this,"getConnectingLabel",(function(e){if(e)return e;const{providerConfig:a,providerId:i}=this.props,r=a.type,{t:n}=this.context;if(s.DEPRECATED_NETWORKS.includes(a.chainId)){return n("connectingToDeprecatedNetwork",[a.nickname||a.type])}switch(r){case s.NETWORK_TYPES.MAINNET:return n("connectingToMainnet");case s.NETWORK_TYPES.GOERLI:return n("connectingToGoerli");case s.NETWORK_TYPES.SEPOLIA:return n("connectingToSepolia");case s.NETWORK_TYPES.LINEA_GOERLI:return n("connectingToLineaGoerli");case s.NETWORK_TYPES.LINEA_SEPOLIA:return n("connectingToLineaSepolia");case s.NETWORK_TYPES.LINEA_MAINNET:return n("connectingToLineaMainnet");default:return n("connectingTo",[i])}})),p(this,"renderConnectionFailureNotification",((e,a=!1)=>{const{showNetworkDropdown:i,setProviderArgs:n,setProviderType:t}=this.props;return r.default.createElement(l.default,{onClose:()=>{window.clearTimeout(this.cancelCallTimeout),this.setState({showErrorScreen:!1})},centerTitle:!0,title:r.default.createElement(c.Icon,{name:c.IconName.Danger,size:c.IconSize.Xl,color:d.IconColor.warningDefault})},r.default.createElement(c.Text,{variant:d.TextVariant.bodyLgMedium,textAlign:d.TextAlign.Center,margin:[0,4,4,4]},e),r.default.createElement(u.default,{display:d.DISPLAY.FLEX,padding:4,gap:2},r.default.createElement(c.ButtonSecondary,{onClick:()=>{window.clearTimeout(this.cancelCallTimeout),this.setState({showErrorScreen:!1}),i()},variant:d.TextVariant.bodySm,block:!0},this.context.t("switchNetworks")),a?r.default.createElement(c.ButtonPrimary,{onClick:()=>{this.setState({showErrorScreen:!1}),t(...n),window.clearTimeout(this.cancelCallTimeout),this.cancelCallTimeout=setTimeout(this.cancelCall,this.props.cancelTime||15*o.SECOND)},variant:d.TextVariant.bodySm,block:!0},this.context.t("tryAgain")):null))})),p(this,"renderDeprecatedRpcUrlWarning",(()=>this.renderConnectionFailureNotification(this.context.t("currentRpcUrlDeprecated"),!1))),p(this,"renderErrorScreenContent",(()=>{const{providerConfig:e}=this.props;return this.renderConnectionFailureNotification(this.context.t("networkSwitchConnectionError",[e.nickname]),!0)})),p(this,"cancelCall",(()=>{const{isNetworkLoading:e}=this.props;e&&this.setState({showErrorScreen:!0})})),p(this,"componentDidUpdate",(e=>{const{providerConfig:a}=this.props,{providerConfig:i}=e;a.type!==i.type&&(window.clearTimeout(this.cancelCallTimeout),this.setState({showErrorScreen:!1}),this.cancelCallTimeout=setTimeout(this.cancelCall,this.props.cancelTime||15*o.SECOND))})),p(this,"componentWillUnmount",(()=>{window.clearTimeout(this.cancelCallTimeout)}))}render(){const{rollbackToPreviousProvider:e,showDeprecatedRpcUrlWarning:a}=this.props;let i;return i=this.state.showErrorScreen?this.renderErrorScreenContent():a?this.renderDeprecatedRpcUrlWarning():this.getConnectingLabel(this.props.loadingMessage),r.default.createElement(t.default,{header:r.default.createElement("div",{className:"page-container__header-close",onClick:e}),showLoadingSpinner:!this.state.showErrorScreen,loadingMessage:i})}}i.default=g,p(g,"contextTypes",{t:n.default.func}),p(g,"propTypes",{loadingMessage:n.default.string,cancelTime:n.default.number,providerConfig:n.default.object,providerId:n.default.oneOfType([n.default.string,n.default.number]),showNetworkDropdown:n.default.func,setProviderArgs:n.default.array,setProviderType:n.default.func,rollbackToPreviousProvider:n.default.func,isNetworkLoading:n.default.bool,showDeprecatedRpcUrlWarning:n.default.bool})}}},{package:"$root$",file:"ui/components/app/loading-network-screen/loading-network-screen.component.js"}],[4652,{"../../../../shared/constants/network":4507,"../../../ducks/metamask/metamask":5346,"../../../selectors":5987,"../../../store/actions":5998,"./loading-network-screen.component":4651,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var r,n=e("react-redux"),t=e("../../../../shared/constants/network"),o=function(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=d(a);if(i&&i.has(e))return i.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in e)if("default"!==t&&Object.prototype.hasOwnProperty.call(e,t)){var o=n?Object.getOwnPropertyDescriptor(e,t):null;o&&(o.get||o.set)?Object.defineProperty(r,t,o):r[t]=e[t]}return r.default=e,i&&i.set(e,r),r}(e("../../../store/actions")),s=e("../../../selectors"),l=e("../../../ducks/metamask/metamask"),c=(r=e("./loading-network-screen.component"))&&r.__esModule?r:{default:r};function d(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,i=new WeakMap;return(d=function(e){return e?i:a})(e)}const u=["0x3","0x2a","0x4"];i.default=(0,n.connect)((e=>{const{loadingMessage:a}=e.appState,i=(0,l.getProviderConfig)(e),{rpcUrl:r,chainId:n,ticker:o,nickname:c,type:d}=i,m=d===t.NETWORK_TYPES.RPC?[r,n,o,c]:[d],h=n,p=u.includes(h),g=r&&new URL(r).host.endsWith(".infura.io"),b=p&&g;let y=c;if(y===undefined){const a=(0,s.getAllEnabledNetworks)(e).find((e=>e.chainId===n));a&&(y=a.nickname)}return{isNetworkLoading:(0,s.isNetworkLoading)(e),loadingMessage:a,setProviderArgs:m,providerConfig:{...i,nickname:y},providerId:(0,s.getNetworkIdentifier)(e),showDeprecatedRpcUrlWarning:b}}),(e=>({setProviderType:a=>{e(o.setProviderType(a))},rollbackToPreviousProvider:()=>e(o.rollbackToPreviousProvider()),showNetworkDropdown:()=>e(o.toggleNetworkMenu())})))(c.default)}}},{package:"$root$",file:"ui/components/app/loading-network-screen/loading-network-screen.container.js"}],[4653,{"./metamask-template-renderer":4654,"./section-shape":4656},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"SectionShape",{enumerable:!0,get:function(){return t.SectionShape}}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return n.default}});var r,n=(r=e("./metamask-template-renderer"))&&r.__esModule?r:{default:r},t=e("./section-shape")}}},{package:"$root$",file:"ui/components/app/metamask-template-renderer/index.js"}],[4654,{"./safe-component-list":4655,"./section-shape":4656,lodash:3836,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var r=function(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=s(a);if(i&&i.has(e))return i.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in e)if("default"!==t&&Object.prototype.hasOwnProperty.call(e,t)){var o=n?Object.getOwnPropertyDescriptor(e,t):null;o&&(o.get||o.set)?Object.defineProperty(r,t,o):r[t]=e[t]}return r.default=e,i&&i.set(e,r),r}(e("react")),n=e("lodash"),t=e("./safe-component-list"),o=e("./section-shape");function s(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,i=new WeakMap;return(s=function(e){return e?i:a})(e)}function l(){return l=Object.assign?Object.assign.bind():function(e){for(var a=1;a(i&&(e[a]=d(i)),e)),{})}const m=({sections:e})=>e?"string"==typeof e?e:e&&"object"==typeof e&&!Array.isArray(e)?d(e):r.default.createElement(r.default.Fragment,null,e.reduce(((e,a)=>{if(a===undefined||!0===(null==a?void 0:a.hide))return e;if("string"==typeof a)e.push(a);else{if(!a.key)throw new Error("When using array syntax in MetaMask Template Language, you must specify a key for each child of the array");if("object"==typeof(null==a?void 0:a.children))e.push(r.default.createElement(m,{sections:a,key:a.key}));else{const i=c(a),n=a.propComponents?u(a.propComponents):{};e.push(r.default.createElement(i,l({key:a.key},a.props,n),null==a?void 0:a.children))}}return e}),[])):null;m.propTypes={sections:o.ValidChildren};i.default=(0,r.memo)(m,((e,a)=>(0,n.isEqual)(e.sections,a.sections)))}}},{package:"$root$",file:"ui/components/app/metamask-template-renderer/metamask-template-renderer.js"}],[4655,{"../../../pages/confirmations/components/snap-account-error-message":5626,"../../../pages/confirmations/components/snap-account-success-message":5628,"../../../pages/confirmations/confirmation/components/confirmation-network-switch":5669,"../../../pages/create-snap-account":5737,"../../../pages/remove-snap-account":5824,"../../../pages/smart-transactions/smart-transaction-status-page":5885,"../../../pages/snap-account-redirect":5892,"../../component-library":4955,"../../multichain":5092,"../../ui/actionable-message/actionable-message":5190,"../../ui/box":5194,"../../ui/button":5198,"../../ui/chip":5205,"../../ui/definition-list":5211,"../../ui/popover":5281,"../../ui/spinner":5294,"../../ui/text-field":5302,"../../ui/textarea/textarea":5305,"../../ui/tooltip/tooltip":5311,"../../ui/truncated-definition-list":5312,"../../ui/typography":5314,"../../ui/url-icon":5319,"../confirm/info/row":4599,"../metamask-translation":4657,"../network-display":4714,"../snaps/copyable":4759,"../snaps/snap-authorship-header":4770,"../snaps/snap-delineator":4775,"../snaps/snap-ui-button":4798,"../snaps/snap-ui-dropdown":4800,"../snaps/snap-ui-form":4802,"../snaps/snap-ui-image":4804,"../snaps/snap-ui-input":4806,"../snaps/snap-ui-link":4808,"../snaps/snap-ui-markdown":4810},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.safeComponentList=void 0;var r=R(e("../../ui/button")),n=R(e("../../ui/chip")),t=R(e("../../ui/definition-list")),o=R(e("../../ui/truncated-definition-list")),s=R(e("../../ui/popover")),l=R(e("../../ui/typography")),c=R(e("../../ui/box")),d=R(e("../metamask-translation")),u=R(e("../network-display")),m=R(e("../../ui/textarea/textarea")),h=R(e("../../ui/text-field")),p=R(e("../../../pages/confirmations/confirmation/components/confirmation-network-switch")),g=R(e("../../ui/url-icon")),b=R(e("../../ui/tooltip/tooltip")),y=e("../../component-library"),f=R(e("../../ui/actionable-message/actionable-message")),k=e("../../multichain"),v=e("../confirm/info/row"),w=e("../snaps/snap-delineator"),j=e("../snaps/copyable"),z=R(e("../../ui/spinner")),x=e("../snaps/snap-ui-markdown"),q=e("../snaps/snap-ui-link"),_=e("../../../pages/smart-transactions/smart-transaction-status-page"),M=e("../snaps/snap-ui-image"),T=e("../snaps/snap-ui-input"),E=e("../snaps/snap-ui-form"),O=e("../snaps/snap-ui-button"),C=e("../snaps/snap-ui-dropdown"),P=e("../../../pages/confirmations/components/snap-account-success-message"),S=e("../../../pages/confirmations/components/snap-account-error-message"),N=e("../../../pages/create-snap-account"),I=e("../../../pages/remove-snap-account"),A=e("../../../pages/snap-account-redirect"),D=R(e("../snaps/snap-authorship-header"));function R(e){return e&&e.__esModule?e:{default:e}}i.safeComponentList={a:"a",ActionableMessage:f.default,AccountListItem:k.AccountListItem,AvatarIcon:y.AvatarIcon,b:"b",Box:c.default,Button:r.default,Chip:n.default,ConfirmationNetworkSwitch:p.default,DefinitionList:t.default,div:"div",i:"i",MetaMaskTranslation:d.default,NetworkDisplay:u.default,p:"p",Popover:s.default,span:"span",Text:y.Text,TextArea:m.default,TextField:h.default,Tooltip:b.default,TruncatedDefinitionList:o.default,Typography:l.default,SmartTransactionStatusPage:_.SmartTransactionStatusPage,UrlIcon:g.default,Copyable:j.Copyable,SnapDelineator:w.SnapDelineator,SnapUIMarkdown:x.SnapUIMarkdown,SnapUILink:q.SnapUILink,SnapUIImage:M.SnapUIImage,Spinner:z.default,ConfirmInfoRow:v.ConfirmInfoRow,ConfirmInfoRowAddress:v.ConfirmInfoRowAddress,ConfirmInfoRowValueDouble:v.ConfirmInfoRowValueDouble,SnapUIInput:T.SnapUIInput,SnapUIButton:O.SnapUIButton,SnapUIForm:E.SnapUIForm,SnapUIDropdown:C.SnapUIDropdown,CreateSnapAccount:N.CreateSnapAccount,RemoveSnapAccount:I.RemoveSnapAccount,SnapAccountSuccessMessage:P.SnapAccountSuccessMessage,SnapAccountErrorMessage:S.SnapAccountErrorMessage,SnapAuthorshipHeader:D.default,SnapAccountRedirect:A.SnapAccountRedirect,SnapAccountCard:I.SnapAccountCard}}}},{package:"$root$",file:"ui/components/app/metamask-template-renderer/safe-component-list.js"}],[4656,{"prop-types":3997},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.ValidChildren=i.SectionShape=void 0;var r,n=(r=e("prop-types"))&&r.__esModule?r:{default:r};const t=i.SectionShape={props:n.default.object,propComponents:n.default.object,element:n.default.string,key:n.default.string},o=i.ValidChildren=n.default.oneOfType([n.default.string,n.default.shape(t),n.default.arrayOf(n.default.oneOfType([n.default.shape(t),n.default.string]))]);t.children=o}}},{package:"$root$",file:"ui/components/app/metamask-template-renderer/section-shape.js"}],[4657,{"./metamask-translation":4658},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return n.default}});var r,n=(r=e("./metamask-translation"))&&r.__esModule?r:{default:r}}}},{package:"$root$",file:"ui/components/app/metamask-translation/index.js"}],[4658,{"../../../hooks/useI18nContext":5427,"../metamask-template-renderer":4653,"../metamask-template-renderer/section-shape":4656,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=c;var r=l(e("react")),n=l(e("prop-types")),t=e("../../../hooks/useI18nContext"),o=l(e("../metamask-template-renderer")),s=e("../metamask-template-renderer/section-shape");function l(e){return e&&e.__esModule?e:{default:e}}function c({translationKey:e,variables:a}){return(0,t.useI18nContext)()(e,null==a?void 0:a.map((a=>{if("object"==typeof a&&!Array.isArray(a)&&a.element){var i,n;if(!a.key)throw new Error(`When using MetaMask Template Language in a MetaMaskTranslation variable, you must provide a key for the section regardless of syntax.\n Section with element '${a.element}' for translationKey: '${e}' has no key property`);if(a.children&&Array.isArray(a.children)&&a.children.length>2)throw new Error("MetaMaskTranslation only renders templates with a single section and maximum two children");if((null===(i=a.children)||void 0===i||null===(i=i[0])||void 0===i?void 0:i.children)!==undefined&&"string"!=typeof a.children[0].children||(null===(n=a.children)||void 0===n||null===(n=n[1])||void 0===n?void 0:n.children)!==undefined&&"string"!=typeof a.children[1].children)throw new Error("MetaMaskTranslation does not allow for component trees of non trivial depth");return r.default.createElement(o.default,{key:`${e}-${a.key}`,sections:a})}return a})))}c.propTypes={translationKey:n.default.string.isRequired,variables:n.default.arrayOf(n.default.oneOfType([n.default.string,n.default.number,n.default.shape(s.SectionShape)]))}}}},{package:"$root$",file:"ui/components/app/metamask-translation/metamask-translation.js"}],[4659,{"./modal-content":4660,"./modal.component":4662},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"ModalContent",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return r.default}});var r=t(e("./modal.component")),n=t(e("./modal-content"));function t(e){return e&&e.__esModule?e:{default:e}}}}},{package:"$root$",file:"ui/components/app/modal/index.js"}],[4660,{"./modal-content.component":4661},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return n.default}});var r,n=(r=e("./modal-content.component"))&&r.__esModule?r:{default:r}}}},{package:"$root$",file:"ui/components/app/modal/modal-content/index.js"}],[4661,{"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var r,n=function(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=o(a);if(i&&i.has(e))return i.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in e)if("default"!==t&&Object.prototype.hasOwnProperty.call(e,t)){var s=n?Object.getOwnPropertyDescriptor(e,t):null;s&&(s.get||s.set)?Object.defineProperty(r,t,s):r[t]=e[t]}return r.default=e,i&&i.set(e,r),r}(e("react")),t=(r=e("prop-types"))&&r.__esModule?r:{default:r};function o(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,i=new WeakMap;return(o=function(e){return e?i:a})(e)}class s extends n.PureComponent{render(){const{title:e,description:a}=this.props;return n.default.createElement("div",{className:"modal-content"},e?n.default.createElement("div",{className:"modal-content__title"},e):null,a&&n.default.createElement("div",{className:"modal-content__description"},a))}}i.default=s,function(e,a,i){(a=function(e){var a=function(e,a){if("object"!=typeof e||null===e)return e;var i=e[Symbol.toPrimitive];if(i!==undefined){var r=i.call(e,a||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===a?String:Number)(e)}(e,"string");return"symbol"==typeof a?a:String(a)}(a))in e?Object.defineProperty(e,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[a]=i}(s,"propTypes",{title:t.default.string,description:t.default.string})}}},{package:"$root$",file:"ui/components/app/modal/modal-content/modal-content.component.js"}],[4662,{"../../ui/button":5198,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var r=function(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=l(a);if(i&&i.has(e))return i.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in e)if("default"!==t&&Object.prototype.hasOwnProperty.call(e,t)){var o=n?Object.getOwnPropertyDescriptor(e,t):null;o&&(o.get||o.set)?Object.defineProperty(r,t,o):r[t]=e[t]}return r.default=e,i&&i.set(e,r),r}(e("react")),n=s(e("prop-types")),t=s(e("classnames")),o=s(e("../../ui/button"));function s(e){return e&&e.__esModule?e:{default:e}}function l(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,i=new WeakMap;return(l=function(e){return e?i:a})(e)}function c(e,a,i){return(a=function(e){var a=function(e,a){if("object"!=typeof e||null===e)return e;var i=e[Symbol.toPrimitive];if(i!==undefined){var r=i.call(e,a||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===a?String:Number)(e)}(e,"string");return"symbol"==typeof a?a:String(a)}(a))in e?Object.defineProperty(e,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[a]=i,e}class d extends r.PureComponent{render(){const{children:e,headerText:a,onClose:i,onSubmit:n,submitType:s,submitText:l,submitDisabled:c,onCancel:d,cancelType:u,cancelText:m,contentClass:h,containerClass:p,hideFooter:g,testId:b}=this.props;return r.default.createElement("div",{className:(0,t.default)("modal-container",p),"data-testid":b},a&&r.default.createElement("div",{className:"modal-container__header"},r.default.createElement("div",{className:"modal-container__header-text"},a),r.default.createElement("div",{className:"modal-container__header-close","data-testid":"modal-header-close",onClick:i})),r.default.createElement("div",{className:(0,t.default)("modal-container__content",h)},e),g?null:r.default.createElement("div",{className:"modal-container__footer"},d&&r.default.createElement(o.default,{type:u,onClick:d,className:"modal-container__footer-button"},m),r.default.createElement(o.default,{type:s,onClick:n,disabled:c,className:"modal-container__footer-button"},l)))}}i.default=d,c(d,"propTypes",{children:n.default.node,contentClass:n.default.string,containerClass:n.default.string,testId:n.default.string,headerText:n.default.string,onClose:n.default.func,onSubmit:n.default.func,submitType:n.default.string,submitText:n.default.string,submitDisabled:n.default.bool,hideFooter:n.default.bool,onCancel:n.default.func,cancelType:n.default.string,cancelText:n.default.string}),c(d,"defaultProps",{submitType:"primary",cancelType:"secondary"})}}},{package:"$root$",file:"ui/components/app/modal/modal.component.js"}],[4663,{"../../modal":4659,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var r,n=l(e("react")),t=(r=e("prop-types"))&&r.__esModule?r:{default:r},o=l(e("../../modal"));function s(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,i=new WeakMap;return(s=function(e){return e?i:a})(e)}function l(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=s(a);if(i&&i.has(e))return i.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in e)if("default"!==t&&Object.prototype.hasOwnProperty.call(e,t)){var o=n?Object.getOwnPropertyDescriptor(e,t):null;o&&(o.get||o.set)?Object.defineProperty(r,t,o):r[t]=e[t]}return r.default=e,i&&i.set(e,r),r}function c(e,a,i){return(a=function(e){var a=function(e,a){if("object"!=typeof e||null===e)return e;var i=e[Symbol.toPrimitive];if(i!==undefined){var r=i.call(e,a||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===a?String:Number)(e)}(e,"string");return"symbol"==typeof a?a:String(a)}(a))in e?Object.defineProperty(e,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[a]=i,e}class d extends n.PureComponent{constructor(...e){super(...e),c(this,"handleDelete",(async()=>{await this.props.removeNetworkConfiguration(this.props.target),this.props.onConfirm(),this.props.hideModal()}))}render(){const{t:e}=this.context,{networkNickname:a}=this.props;return n.default.createElement(o.default,{onSubmit:this.handleDelete,onCancel:()=>this.props.hideModal(),submitText:e("delete"),cancelText:e("cancel"),submitType:"danger-primary",testId:"confirm-delete-network-modal"},n.default.createElement(o.ModalContent,{title:e("deleteNetworkTitle",[a]),description:e("deleteNetworkIntro")}))}}i.default=d,c(d,"propTypes",{hideModal:t.default.func.isRequired,removeNetworkConfiguration:t.default.func.isRequired,onConfirm:t.default.func.isRequired,target:t.default.string.isRequired,networkNickname:t.default.string.isRequired}),c(d,"contextTypes",{t:t.default.func})}}},{package:"$root$",file:"ui/components/app/modals/confirm-delete-network/confirm-delete-network.component.js"}],[4664,{"../../../../helpers/higher-order-components/with-modal-props":5376,"../../../../selectors":5987,"../../../../store/actions":5998,"./confirm-delete-network.component":4663,"react-redux":4199,redux:4261},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var r=e("react-redux"),n=e("redux"),t=c(e("../../../../helpers/higher-order-components/with-modal-props")),o=e("../../../../store/actions"),s=e("../../../../selectors"),l=c(e("./confirm-delete-network.component"));function c(e){return e&&e.__esModule?e:{default:e}}i.default=(0,n.compose)(t.default,(0,r.connect)(((e,a)=>({networkNickname:(0,s.getNetworkConfigurations)(e)[a.target].nickname})),(e=>({removeNetworkConfiguration:a=>e((0,o.removeNetworkConfiguration)(a))}))))(l.default)}}},{package:"$root$",file:"ui/components/app/modals/confirm-delete-network/confirm-delete-network.container.js"}],[4665,{"./confirm-delete-network.container":4664},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return n.default}});var r,n=(r=e("./confirm-delete-network.container"))&&r.__esModule?r:{default:r}}}},{package:"$root$",file:"ui/components/app/modals/confirm-delete-network/index.js"}],[4666,{"../../../../../shared/constants/metametrics":4505,"../../../../helpers/constants/zendesk-url":5368,"../../../../helpers/utils/util":5399,"../../../ui/identicon":5247,"../../modal":4659,"@metamask/etherscan-link":1369,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var r=function(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=m(a);if(i&&i.has(e))return i.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in e)if("default"!==t&&Object.prototype.hasOwnProperty.call(e,t)){var o=n?Object.getOwnPropertyDescriptor(e,t):null;o&&(o.get||o.set)?Object.defineProperty(r,t,o):r[t]=e[t]}return r.default=e,i&&i.set(e,r),r}(e("react")),n=u(e("prop-types")),t=e("@metamask/etherscan-link"),o=u(e("../../modal")),s=e("../../../../helpers/utils/util"),l=u(e("../../../ui/identicon")),c=e("../../../../../shared/constants/metametrics"),d=u(e("../../../../helpers/constants/zendesk-url"));function u(e){return e&&e.__esModule?e:{default:e}}function m(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,i=new WeakMap;return(m=function(e){return e?i:a})(e)}function h(e,a,i){return(a=function(e){var a=function(e,a){if("object"!=typeof e||null===e)return e;var i=e[Symbol.toPrimitive];if(i!==undefined){var r=i.call(e,a||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===a?String:Number)(e)}(e,"string");return"symbol"==typeof a?a:String(a)}(a))in e?Object.defineProperty(e,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[a]=i,e}class p extends r.Component{constructor(...e){super(...e),h(this,"handleRemove",(()=>{this.props.removeAccount(this.props.account.address).then((()=>this.props.hideModal()))})),h(this,"handleCancel",(()=>{this.props.hideModal()}))}renderSelectedAccount(){const{t:e}=this.context,{account:a,rpcPrefs:i,chainId:n}=this.props;return r.default.createElement("div",{className:"confirm-remove-account__account"},r.default.createElement("div",{className:"confirm-remove-account__account__identicon"},r.default.createElement(l.default,{address:a.address,diameter:32})),r.default.createElement("div",{className:"confirm-remove-account__account__name"},r.default.createElement("span",{className:"confirm-remove-account__account__label"},e("name")),r.default.createElement("span",{className:"account_value"},a.metadata.name)),r.default.createElement("div",{className:"confirm-remove-account__account__address"},r.default.createElement("span",{className:"confirm-remove-account__account__label"},e("publicAddress")),r.default.createElement("span",{className:"account_value"},(0,s.addressSummary)(a.address,4,4))),r.default.createElement("div",{className:"confirm-remove-account__account__link"},r.default.createElement("a",{onClick:()=>{const e=(0,t.getAccountLink)(a.address,n,i);this.context.trackEvent({category:c.MetaMetricsEventCategory.Accounts,event:"Clicked Block Explorer Link",properties:{link_type:"Account Tracker",action:"Remove Account",block_explorer_domain:(0,s.getURLHostName)(e)}}),global.platform.openTab({url:e})},target:"_blank",rel:"noopener noreferrer",title:e("etherscanView")},r.default.createElement("i",{className:"fa fa-share-square",style:{color:"var(--color-icon-muted)"},title:e("etherscanView")}))))}render(){const{t:e}=this.context;return r.default.createElement(o.default,{headerText:`${e("removeAccount")}?`,onClose:this.handleCancel,onSubmit:this.handleRemove,onCancel:this.handleCancel,submitText:e("remove"),cancelText:e("nevermind")},r.default.createElement("div",null,this.renderSelectedAccount(),r.default.createElement("div",{className:"confirm-remove-account__description"},e("removeAccountDescription"),r.default.createElement("a",{className:"confirm-remove-account__link",rel:"noopener noreferrer",target:"_blank",href:d.default.IMPORTED_ACCOUNTS},e("learnMore")))))}}i.default=p,h(p,"propTypes",{hideModal:n.default.func.isRequired,removeAccount:n.default.func.isRequired,account:n.default.shape({id:n.default.string.isRequired,address:n.default.string.isRequired,metadata:n.default.shape({name:n.default.string.isRequired,snap:n.default.shape({id:n.default.string.isRequired,name:n.default.string,enabled:n.default.bool}),keyring:n.default.shape({type:n.default.string.isRequired}).isRequired}).isRequired}).isRequired,chainId:n.default.string.isRequired,rpcPrefs:n.default.object.isRequired}),h(p,"contextTypes",{t:n.default.func,trackEvent:n.default.func})}}},{package:"$root$",file:"ui/components/app/modals/confirm-remove-account/confirm-remove-account.component.js"}],[4667,{"../../../../helpers/higher-order-components/with-modal-props":5376,"../../../../selectors":5987,"../../../../store/actions":5998,"./confirm-remove-account.component":4666,"react-redux":4199,redux:4261},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var r=e("react-redux"),n=e("redux"),t=c(e("../../../../helpers/higher-order-components/with-modal-props")),o=e("../../../../selectors"),s=e("../../../../store/actions"),l=c(e("./confirm-remove-account.component"));function c(e){return e&&e.__esModule?e:{default:e}}i.default=(0,n.compose)(t.default,(0,r.connect)((e=>({chainId:(0,o.getCurrentChainId)(e),rpcPrefs:(0,o.getRpcPrefsForCurrentProvider)(e)})),(e=>({removeAccount:a=>e((0,s.removeAccount)(a))}))))(l.default)}}},{package:"$root$",file:"ui/components/app/modals/confirm-remove-account/confirm-remove-account.container.js"}],[4668,{"./confirm-remove-account.container":4667},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return n.default}});var r,n=(r=e("./confirm-remove-account.container"))&&r.__esModule?r:{default:r}}}},{package:"$root$",file:"ui/components/app/modals/confirm-remove-account/index.js"}],[4669,{"../../modal":4659,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var r,n=l(e("react")),t=(r=e("prop-types"))&&r.__esModule?r:{default:r},o=l(e("../../modal"));function s(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,i=new WeakMap;return(s=function(e){return e?i:a})(e)}function l(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=s(a);if(i&&i.has(e))return i.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in e)if("default"!==t&&Object.prototype.hasOwnProperty.call(e,t)){var o=n?Object.getOwnPropertyDescriptor(e,t):null;o&&(o.get||o.set)?Object.defineProperty(r,t,o):r[t]=e[t]}return r.default=e,i&&i.set(e,r),r}function c(e,a,i){return(a=function(e){var a=function(e,a){if("object"!=typeof e||null===e)return e;var i=e[Symbol.toPrimitive];if(i!==undefined){var r=i.call(e,a||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===a?String:Number)(e)}(e,"string");return"symbol"==typeof a?a:String(a)}(a))in e?Object.defineProperty(e,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[a]=i,e}class d extends n.PureComponent{constructor(...e){super(...e),c(this,"handleReset",(()=>{this.props.resetAccount().then((()=>this.props.hideModal()))}))}render(){const{t:e}=this.context;return n.default.createElement(o.default,{onSubmit:this.handleReset,onCancel:()=>this.props.hideModal(),submitText:e("clear"),cancelText:e("nevermind"),submitType:"danger-primary"},n.default.createElement(o.ModalContent,{title:`${e("clearActivity")}?`,description:e("clearActivityDescription")}))}}i.default=d,c(d,"propTypes",{hideModal:t.default.func.isRequired,resetAccount:t.default.func.isRequired}),c(d,"contextTypes",{t:t.default.func})}}},{package:"$root$",file:"ui/components/app/modals/confirm-reset-account/confirm-reset-account.component.js"}],[4670,{"../../../../helpers/higher-order-components/with-modal-props":5376,"../../../../store/actions":5998,"./confirm-reset-account.component":4669,"react-redux":4199,redux:4261},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var r=e("react-redux"),n=e("redux"),t=l(e("../../../../helpers/higher-order-components/with-modal-props")),o=e("../../../../store/actions"),s=l(e("./confirm-reset-account.component"));function l(e){return e&&e.__esModule?e:{default:e}}i.default=(0,n.compose)(t.default,(0,r.connect)(null,(e=>({resetAccount:()=>e((0,o.resetAccount)())}))))(s.default)}}},{package:"$root$",file:"ui/components/app/modals/confirm-reset-account/confirm-reset-account.container.js"}],[4671,{"./confirm-reset-account.container":4670},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return n.default}});var r,n=(r=e("./confirm-reset-account.container"))&&r.__esModule?r:{default:r}}}},{package:"$root$",file:"ui/components/app/modals/confirm-reset-account/index.js"}],[4672,{"../../../../contexts/i18n":5324,"../../../../helpers/constants/design-system":5355,"../../../../hooks/useModalProps":5430,"../../../component-library":4955,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(){const{props:e,hideModal:a}=(0,n.useModalProps)(),{turnOffProfileSyncing:i}=e,l=(0,r.useContext)(s.I18nContext),c=()=>{a()};return r.default.createElement(t.Modal,{isOpen:!0,onClose:c,"data-testid":"turn-off-sync-modal"},r.default.createElement(t.ModalOverlay,{"data-testid":"modal-overlay"}),r.default.createElement(t.ModalContent,{size:t.ModalContentSize.Md,"data-testid":"modal-content"},r.default.createElement(t.ModalHeader,{onClose:c,"data-testid":"modal-header"},l("areYouSure")),r.default.createElement(t.ModalBody,{"data-testid":"modal-body"},r.default.createElement(t.Text,{textAlign:o.TextAlign.Center,as:"p","data-testid":"confirmation-text"},l("profileSyncConfirmation"))),r.default.createElement(t.ModalFooter,{paddingTop:4,onSubmit:c,onCancel:async()=>{i(),a()},containerProps:{flexDirection:o.FlexDirection.Row,alignItems:o.AlignItems.stretch},submitButtonProps:{children:l("cancel"),size:t.ButtonSize.Lg,"data-testid":"cancel-button"},cancelButtonProps:{children:l("turnOff"),size:t.ButtonSize.Lg,"data-testid":"submit-button"},"data-testid":"modal-footer"})))};var r=function(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=l(a);if(i&&i.has(e))return i.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in e)if("default"!==t&&Object.prototype.hasOwnProperty.call(e,t)){var o=n?Object.getOwnPropertyDescriptor(e,t):null;o&&(o.get||o.set)?Object.defineProperty(r,t,o):r[t]=e[t]}return r.default=e,i&&i.set(e,r),r}(e("react")),n=e("../../../../hooks/useModalProps"),t=e("../../../component-library"),o=e("../../../../helpers/constants/design-system"),s=e("../../../../contexts/i18n");function l(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,i=new WeakMap;return(l=function(e){return e?i:a})(e)}}}},{package:"$root$",file:"ui/components/app/modals/confirm-turn-off-profile-syncing/confirm-turn-off-profile-syncing.tsx"}],[4673,{"./confirm-turn-off-profile-syncing":4672},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return n.default}});var r,n=(r=e("./confirm-turn-off-profile-syncing"))&&r.__esModule?r:{default:r}}}},{package:"$root$",file:"ui/components/app/modals/confirm-turn-off-profile-syncing/hybrid-compute-sdk.ts"}],[4674,{"../../../../../shared/modules/string-utils":4558,"../../../../ducks/metamask/metamask":5346,"../../../../helpers/constants/design-system":5355,"../../../../helpers/constants/routes":5361,"../../../../helpers/higher-order-components/with-modal-props":5376,"../../../../hooks/useI18nContext":5427,"../../../../store/actions":5998,"../../../ui/typography":5314,"../../modal":4659,"prop-types":3997,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var r=b(e("react")),n=b(e("prop-types")),t=e("react-router-dom"),o=e("react-redux"),s=b(e("../../modal")),l=b(e("../../../ui/typography")),c=e("../../../../helpers/constants/design-system"),d=b(e("../../../../helpers/higher-order-components/with-modal-props")),u=e("../../../../hooks/useI18nContext"),m=e("../../../../helpers/constants/routes"),h=e("../../../../ducks/metamask/metamask"),p=e("../../../../store/actions"),g=e("../../../../../shared/modules/string-utils");function b(e){return e&&e.__esModule?e:{default:e}}const y=({hideModal:e,tokenAddress:a})=>{const i=(0,t.useHistory)(),n=(0,u.useI18nContext)(),d=(0,o.useDispatch)(),b=(0,o.useSelector)(h.getNfts).find((({address:e})=>(0,g.isEqualCaseInsensitive)(e,a)));return r.default.createElement(s.default,{onSubmit:async()=>{if(b){await d((0,p.ignoreTokens)({tokensToIgnore:a,dontShowLoadingIndicator:!0}));const{tokenId:e}=b;i.push({pathname:`${m.ASSET_ROUTE}/${a}/${e}`})}else d((0,p.showImportNftsModal)({tokenAddress:a,ignoreErc20Token:!0}));e()},submitText:n("yes"),onCancel:()=>e(),cancelText:n("cancel")},r.default.createElement("div",{className:"convert-token-to-nft-modal"},r.default.createElement(l.default,{variant:c.TypographyVariant.H6,boxProps:{marginTop:2}},n(b?"convertTokenToNFTExistDescription":"convertTokenToNFTDescription"))))};y.propTypes={hideModal:n.default.func.isRequired,tokenAddress:n.default.string};i.default=(0,d.default)(y)}}},{package:"$root$",file:"ui/components/app/modals/convert-token-to-nft-modal/convert-token-to-nft-modal.js"}],[4675,{"../../../../helpers/constants/design-system":5355,"../../../../helpers/constants/zendesk-url":5368,"../../../../helpers/higher-order-components/with-modal-props":5376,"../../../../hooks/useI18nContext":5427,"../../../component-library":4955,"../../../ui/text-field":5302,"../../modal":4659,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var r=function(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=h(a);if(i&&i.has(e))return i.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in e)if("default"!==t&&Object.prototype.hasOwnProperty.call(e,t)){var o=n?Object.getOwnPropertyDescriptor(e,t):null;o&&(o.get||o.set)?Object.defineProperty(r,t,o):r[t]=e[t]}return r.default=e,i&&i.set(e,r),r}(e("react")),n=m(e("prop-types")),t=m(e("../../modal")),o=m(e("../../../ui/text-field")),s=e("../../../../helpers/constants/design-system"),l=m(e("../../../../helpers/higher-order-components/with-modal-props")),c=e("../../../../hooks/useI18nContext"),d=m(e("../../../../helpers/constants/zendesk-url")),u=e("../../../component-library");function m(e){return e&&e.__esModule?e:{default:e}}function h(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,i=new WeakMap;return(h=function(e){return e?i:a})(e)}const p=({hideModal:e,customNonceValue:a,nextNonce:i,updateCustomNonce:n,getNextNonce:l})=>{const[m,h]=(0,r.useState)(""),p=(0,c.useI18nContext)();return r.default.createElement(t.default,{onSubmit:()=>{n(""===m?a:m),l(),e()},submitText:p("save"),onCancel:()=>e(),cancelText:p("cancel"),contentClass:"customize-nonce-modal-content",containerClass:"customize-nonce-modal-container"},r.default.createElement("div",{className:"customize-nonce-modal"},r.default.createElement("div",{className:"customize-nonce-modal__main-header"},r.default.createElement(u.Text,{className:"customize-nonce-modal__main-title",variant:s.TextVariant.headingSm,as:"h4"},p("editNonceField")),r.default.createElement(u.ButtonIcon,{iconName:u.IconName.Close,className:"customize-nonce-modal__close",size:u.ButtonIconSize.Sm,ariaLabel:p("close"),onClick:e})),r.default.createElement(u.Box,{marginTop:2,display:s.Display.InlineFlex,alignItems:s.AlignItems.center},r.default.createElement(u.Text,{variant:s.TextVariant.bodyMd,as:"h6"},p("editNonceMessage"),r.default.createElement(u.ButtonLink,{className:"customize-nonce-modal__link",rel:"noopener noreferrer",target:"_blank",href:d.default.CUSTOMIZE_NONCE},p("learnMoreUpperCase")))),r.default.createElement(u.Box,{marginTop:4},r.default.createElement(u.Box,{alignItems:s.AlignItems.center,display:s.Display.Flex},r.default.createElement(u.Text,{variant:s.TextVariant.bodyMdBold,as:"h6",width:s.BlockSize.FiveSixths},p("editNonceField")),r.default.createElement(u.Box,{width:s.BlockSize.OneSixth},r.default.createElement(u.ButtonLink,{className:"customize-nonce-modal__reset","data-testid":"customize-nonce-reset",onClick:()=>{h(i)}},p("reset")))),r.default.createElement("div",{className:"customize-nonce-modal__input"},r.default.createElement(o.default,{type:"number","data-testid":"custom-nonce-input",min:"0",placeholder:a||"number"==typeof i&&i.toString(),onChange:e=>{h(e.target.value)},fullWidth:!0,margin:"dense",value:m,id:"custom-nonce-id"})))))};p.propTypes={hideModal:n.default.func.isRequired,customNonceValue:n.default.string,nextNonce:n.default.number,updateCustomNonce:n.default.func,getNextNonce:n.default.func};i.default=(0,l.default)(p)}}},{package:"$root$",file:"ui/components/app/modals/customize-nonce/customize-nonce.component.js"}],[4676,{"./customize-nonce.component":4675},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return n.default}});var r,n=(r=e("./customize-nonce.component"))&&r.__esModule?r:{default:r}}}},{package:"$root$",file:"ui/components/app/modals/customize-nonce/index.js"}],[4677,{"../../../../../shared/lib/transactions-controller-utils":4531,"../../../component-library":4955,"../../../ui/identicon":5247,"../../../ui/text-field":5302,"../../modal":4659,"bignumber.js":2933,classnames:3049,loglevel:3842,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var r=function(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=p(a);if(i&&i.has(e))return i.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in e)if("default"!==t&&Object.prototype.hasOwnProperty.call(e,t)){var o=n?Object.getOwnPropertyDescriptor(e,t):null;o&&(o.get||o.set)?Object.defineProperty(r,t,o):r[t]=e[t]}return r.default=e,i&&i.set(e,r),r}(e("react")),n=h(e("prop-types")),t=h(e("loglevel")),o=h(e("classnames")),s=h(e("bignumber.js")),l=h(e("../../modal")),c=h(e("../../../ui/identicon")),d=h(e("../../../ui/text-field")),u=e("../../../../../shared/lib/transactions-controller-utils"),m=e("../../../component-library");function h(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,i=new WeakMap;return(p=function(e){return e?i:a})(e)}function g(e,a,i){return(a=function(e){var a=function(e,a){if("object"!=typeof e||null===e)return e;var i=e[Symbol.toPrimitive];if(i!==undefined){var r=i.call(e,a||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===a?String:Number)(e)}(e,"string");return"symbol"==typeof a?a:String(a)}(a))in e?Object.defineProperty(e,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[a]=i,e}const b=new s.default(2).pow(256).minus(1).toString(10);class y extends r.PureComponent{constructor(...e){super(...e),g(this,"state",{customSpendLimit:this.props.customTokenAmount||"",selectedOptionIsUnlimited:!this.props.customTokenAmount})}renderModalContent(e){const{t:a}=this.context,{hideModal:i,selectedAccount:n,tokenAmount:t,tokenSymbol:l,tokenBalance:h,customTokenAmount:p,origin:g}=this.props,{name:y,address:f}=n||{},{selectedOptionIsUnlimited:k}=this.state;return r.default.createElement("div",{className:"edit-approval-permission"},r.default.createElement("div",{className:"edit-approval-permission__header"},r.default.createElement("div",{className:"edit-approval-permission__title"},a("editPermission")),r.default.createElement(m.ButtonIcon,{iconName:m.IconName.Close,size:m.ButtonIconSize.Lg,className:"edit-approval-permission__header__close",onClick:i})),r.default.createElement("div",{className:"edit-approval-permission__account-info"},r.default.createElement("div",{className:"edit-approval-permission__account-info__account"},r.default.createElement(c.default,{address:f,diameter:32}),r.default.createElement("div",{className:"edit-approval-permission__name-and-balance-container"},r.default.createElement("div",{className:"edit-approval-permission__account-info__name"},y),r.default.createElement("div",null,a("balance")))),r.default.createElement("div",{className:"edit-approval-permission__account-info__balance"},`${(0,u.toPrecisionWithoutTrailingZeros)(h,9)} ${l}`)),r.default.createElement("div",{className:"edit-approval-permission__edit-section"},r.default.createElement("div",{className:"edit-approval-permission__edit-section__title"},a("spendLimitPermission")),r.default.createElement("div",{className:"edit-approval-permission__edit-section__description"},a("allowWithdrawAndSpend",[g])),r.default.createElement("div",{className:"edit-approval-permission__edit-section__option"},r.default.createElement("div",{className:"edit-approval-permission__edit-section__radio-button",onClick:()=>this.setState({selectedOptionIsUnlimited:!0})},r.default.createElement("div",{className:(0,o.default)({"edit-approval-permission__edit-section__radio-button-outline":!k,"edit-approval-permission__edit-section__radio-button-outline--selected":k})}),r.default.createElement("div",{className:"edit-approval-permission__edit-section__radio-button-fill"}),k&&r.default.createElement("div",{className:"edit-approval-permission__edit-section__radio-button-dot"})),r.default.createElement("div",{className:"edit-approval-permission__edit-section__option-text"},r.default.createElement("div",{className:(0,o.default)({"edit-approval-permission__edit-section__option-label":!k,"edit-approval-permission__edit-section__option-label--selected":k})},new s.default(t).equals(new s.default(b))?a("unlimited"):a("proposedApprovalLimit")),r.default.createElement("div",{className:"edit-approval-permission__edit-section__option-description"},a("spendLimitRequestedBy",[g])),r.default.createElement("div",{className:"edit-approval-permission__edit-section__option-value"},`${Number(t)} ${l}`))),r.default.createElement("div",{className:"edit-approval-permission__edit-section__option"},r.default.createElement("div",{className:"edit-approval-permission__edit-section__radio-button",onClick:()=>this.setState({selectedOptionIsUnlimited:!1})},r.default.createElement("div",{className:(0,o.default)({"edit-approval-permission__edit-section__radio-button-outline":k,"edit-approval-permission__edit-section__radio-button-outline--selected":!k})}),r.default.createElement("div",{className:"edit-approval-permission__edit-section__radio-button-fill"}),!k&&r.default.createElement("div",{className:"edit-approval-permission__edit-section__radio-button-dot"})),r.default.createElement("div",{className:"edit-approval-permission__edit-section__option-text"},r.default.createElement("div",{className:(0,o.default)({"edit-approval-permission__edit-section__option-label":k,"edit-approval-permission__edit-section__option-label--selected":!k})},a("customSpendLimit")),r.default.createElement("div",{className:"edit-approval-permission__edit-section__option-description"},a("enterMaxSpendLimit")),r.default.createElement("div",{className:"edit-approval-permission__edit-section__option-input"},r.default.createElement(d.default,{type:"number",placeholder:`${Number(p||t)} ${l}`,onChange:e=>{this.setState({customSpendLimit:e.target.value}),k&&this.setState({selectedOptionIsUnlimited:!1})},fullWidth:!0,margin:"dense",value:this.state.customSpendLimit,error:e}))))))}validateSpendLimit(){const{t:e}=this.context,{decimals:a,requiredMinimum:i}=this.props,{selectedOptionIsUnlimited:r,customSpendLimit:n}=this.state;if(r||!n)return undefined;let o;try{o=new s.default(n)}catch(a){return t.default.debug(`Error converting '${n}' to BigNumber:`,a),e("spendLimitInvalid")}if(o.isNegative())return e("spendLimitInvalid");const l=(0,u.calcTokenAmount)(b,a);return o.greaterThan(l)?e("spendLimitTooLarge"):i!==undefined&&o.lessThan(i)?e("spendLimitInsufficient"):undefined}render(){const{t:e}=this.context,{setCustomAmount:a,hideModal:i,customTokenAmount:n}=this.props,{selectedOptionIsUnlimited:t,customSpendLimit:o}=this.state,s=this.validateSpendLimit(),c=Boolean(o===n&&!t||s);return r.default.createElement(l.default,{onSubmit:()=>{a(t?"":o),i()},submitText:e("save"),contentClass:"edit-approval-permission-modal-content",containerClass:"edit-approval-permission-modal-container",submitDisabled:c},this.renderModalContent(s))}}i.default=y,g(y,"propTypes",{decimals:n.default.number,hideModal:n.default.func.isRequired,selectedAccount:n.default.object,tokenAmount:n.default.string,customTokenAmount:n.default.string,tokenSymbol:n.default.string,tokenBalance:n.default.string,setCustomAmount:n.default.func,origin:n.default.string.isRequired,requiredMinimum:n.default.instanceOf(s.default)}),g(y,"contextTypes",{t:n.default.func})}}},{package:"$root$",file:"ui/components/app/modals/edit-approval-permission/edit-approval-permission.component.js"}],[4678,{"../../../../helpers/higher-order-components/with-modal-props":5376,"../../../../selectors":5987,"./edit-approval-permission.component":4677,"react-redux":4199,redux:4261},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var r=e("react-redux"),n=e("redux"),t=l(e("../../../../helpers/higher-order-components/with-modal-props")),o=e("../../../../selectors"),s=l(e("./edit-approval-permission.component"));function l(e){return e&&e.__esModule?e:{default:e}}i.default=(0,n.compose)(t.default,(0,r.connect)((e=>{const a=e.appState.modal.modalState.props||{};return{selectedAccount:(0,o.getSelectedInternalAccount)(e),...a}})))(s.default)}}},{package:"$root$",file:"ui/components/app/modals/edit-approval-permission/edit-approval-permission.container.js"}],[4679,{"./edit-approval-permission.container":4678},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,a,i){Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return n.default}});var r,n=(r=e("./edit-approval-permission.container"))&&r.__esModule?r:{default:r}}}},{package:"$root$",file:"ui/components/app/modals/edit-approval-permission/index.js"}]],[],{}); \ No newline at end of file diff --git a/contracts/test/e2e/metamask-flask-unpacked/ui-3.js b/contracts/test/e2e/metamask-flask-unpacked/ui-3.js index 2c1b85f..73ca97b 100644 --- a/contracts/test/e2e/metamask-flask-unpacked/ui-3.js +++ b/contracts/test/e2e/metamask-flask-unpacked/ui-3.js @@ -1 +1 @@ -LavaPack.loadBundle([[4680,{"../../../../../shared/constants/metametrics":4505,"../../../../contexts/metametrics":5327,"../../../../helpers/constants/design-system":5355,"../../../../helpers/higher-order-components/with-modal-props":5376,"../../../../hooks/useI18nContext":5427,"../../../../selectors":5987,"../../../../store/actions":5998,"../../../component-library":4955,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=h(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=m(e("prop-types")),o=e("react-redux"),i=m(e("../../../../helpers/higher-order-components/with-modal-props")),s=e("../../../component-library"),l=e("../../../../helpers/constants/design-system"),c=e("../../../../hooks/useI18nContext"),u=e("../../../../store/actions"),d=e("../../../../selectors"),p=e("../../../../../shared/constants/metametrics"),f=e("../../../../contexts/metametrics");function m(e){return e&&e.__esModule?e:{default:e}}function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(h=function(e){return e?n:t})(e)}const g=({hideModal:e})=>{const[t,n]=(0,a.useState)(!1),[r,i]=(0,a.useState)(!1),[m,h]=(0,a.useState)(""),g=(0,o.useSelector)(d.getDisabledRpcMethodPreferences),y=(0,c.useI18nContext)(),b=(0,o.useDispatch)(),v=(0,a.useContext)(f.MetaMetricsContext),T=m===y("toggleEthSignModalFormValidation");return a.default.createElement(s.Box,{className:"eth-sign-modal",display:l.Display.Flex,flexDirection:l.FlexDirection.Column,justifyContent:l.JustifyContent.flexStart,padding:4},a.default.createElement(s.Box,{display:l.Display.Flex,flexDirection:l.FlexDirection.Row,marginBottom:4,justifyContent:l.JustifyContent.center},a.default.createElement(s.Icon,{className:"eth-sign-modal__warning-icon",name:s.IconName.Danger,color:l.IconColor.errorDefault,size:s.IconSize.Lg}),a.default.createElement(s.ButtonIcon,{className:"eth-sign-modal__close",iconName:s.IconName.Close,size:l.Size.SM,onClick:()=>e(),ariaLabel:y("close")})),a.default.createElement(s.Text,{variant:l.TextVariant.headingMd,textAlign:l.TextAlign.Center,marginBottom:6},y("toggleEthSignModalTitle")),a.default.createElement(s.Text,{variant:l.TextVariant.bodyMd},y("toggleEthSignModalDescription"),a.default.createElement(s.ButtonLink,{href:"https://support.metamask.io/hc/en-us/articles/14764161421467",externalLink:!0},y("learnMoreUpperCase"))),a.default.createElement(s.BannerAlert,{severity:l.Severity.Danger,marginTop:6,marginBottom:6},y("toggleEthSignModalBannerText"),y("toggleEthSignModalBannerBoldText")),r?a.default.createElement(s.FormTextField,{id:"enter-eth-sign-text",label:y("toggleEthSignModalFormLabel"),error:m.length>0&&!T,helpText:m.length>0&&!T&&y("toggleEthSignModalFormError"),onChange:e=>h(e.target.value),value:m,onPaste:e=>e.preventDefault()}):a.default.createElement(s.Box,{flexDirection:l.FlexDirection.Row,alignItems:l.AlignItems.flexStart,gap:2},a.default.createElement(s.Checkbox,{id:"eth-sign-checkbox",className:"eth-sign__checkbox","data-testid":"eth-sign-checkbox",isChecked:t,onChange:()=>{n(!t)},label:y("toggleEthSignModalCheckBox")})),a.default.createElement(s.Box,{display:l.Display.Flex,flexDirection:l.FlexDirection.Row,justifyContent:l.JustifyContent.spaceBetween,gap:4,marginTop:6},a.default.createElement(s.ButtonSecondary,{onClick:()=>e(),size:s.ButtonSecondarySize.Lg,block:!0},y("cancel")),r?a.default.createElement(s.ButtonPrimary,{danger:!0,block:!0,disabled:!T,onClick:()=>{b((0,u.setDisabledRpcMethodPreference)("eth_sign",!g.eth_sign)),e()},size:l.Size.LG},y("enableSnap")):a.default.createElement(s.ButtonPrimary,{block:!0,disabled:!t,size:l.Size.LG,onClick:()=>{i(!0),v({category:p.MetaMetricsEventCategory.Settings,event:p.MetaMetricsEventName.OnboardingWalletAdvancedSettings,properties:{location:"Settings",enable_eth_sign:!0}})}},y("continue"))))};g.propTypes={hideModal:r.default.func};n.default=(0,i.default)(g)}}},{package:"$root$",file:"ui/components/app/modals/eth-sign-modal/eth-sign-modal.js"}],[4681,{"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=i(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=(a=e("prop-types"))&&a.__esModule?a:{default:a};function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(i=function(e){return e?n:t})(e)}function s(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}let l,c=0;const u=e=>{const t=`anim_${++c}${Number(new Date)}`;let n=`@keyframes ${t} {`;return Object.keys(e).forEach((t=>{n+=`${t} {`,Object.keys(e[t]).forEach((a=>{const r=`:${e[t][a]};`;n+=a+r})),n+="}"})),n+="}",(e=>{l||(l=document.createElement("style"),document.getElementsByTagName("head")[0].appendChild(l),l=l.sheet||l.styleSheet),l.insertRule(e,(l.cssRules||l.rules).length)})(n),t},d={show:{animationDuration:"0.3s",animationTimingFunction:"ease-out"},hide:{animationDuration:"0.3s",animationTimingFunction:"ease-out"},showContentAnimation:u({"0%":{opacity:0},"100%":{opacity:1}}),hideContentAnimation:u({"0%":{opacity:1},"100%":{opacity:0}}),showBackdropAnimation:u({"0%":{opacity:0},"100%":{opacity:.9}}),hideBackdropAnimation:u({"0%":{opacity:.9},"100%":{opacity:0}})},p=["transitionend","animationend"];class f extends r.Component{constructor(...e){super(...e),s(this,"content",null),s(this,"state",{willHide:!0,hidden:!0}),s(this,"addTransitionListener",((e,t)=>{if(e){const n=function(a){a&&a.target!==e||(((e,t)=>{0!==p.length&&p.forEach((function(n){!function(e,t,n){e.removeEventListener(t,n,!1)}(e,n,t)}))})(e,n),t())};((e,t)=>{0!==p.length?p.forEach((function(n){!function(e,t,n){e.addEventListener(t,n,!1)}(e,n,t)})):window.setTimeout(t,0)})(e,n)}})),s(this,"handleBackdropClick",(()=>{this.props.closeOnClick&&this.hide()})),s(this,"hasHidden",(()=>this.state.hidden)),s(this,"leave",(()=>{this.setState({hidden:!0}),this.props.onHide(this.state.hideSource)})),s(this,"enter",(()=>{this.props.onShow()})),s(this,"show",(()=>{this.state.hidden&&(this.setState({willHide:!1,hidden:!1}),setTimeout(function(){this.addTransitionListener(this.content,this.enter)}.bind(this),0))})),s(this,"hide",(()=>{this.hasHidden()||this.setState({willHide:!0})})),s(this,"listenKeyboard",(e=>{"function"==typeof this.props.keyboard?this.props.keyboard(e):this.closeOnEsc(e)})),s(this,"closeOnEsc",(e=>{!this.props.keyboard||"Escape"!==e.key&&27!==e.keyCode||this.hide()})),s(this,"UNSAFE_componentDidMount",(()=>{window.addEventListener("keydown",this.listenKeyboard,!0)})),s(this,"UNSAFE_componentWillUnmount",(()=>{window.removeEventListener("keydown",this.listenKeyboard,!0)}))}render(){if(this.state.hidden)return null;const{willHide:e}=this.state,{modalStyle:t,testId:n}=this.props,a={animationName:e?d.hideBackdropAnimation:d.showBackdropAnimation,animationTimingFunction:(e?d.hide:d.show).animationTimingFunction,...this.props.backdropStyle},o={animationDuration:(e?d.hide:d.show).animationDuration,animationName:e?d.hideContentAnimation:d.showContentAnimation,animationTimingFunction:(e?d.hide:d.show).animationTimingFunction,...this.props.contentStyle},i=this.props.backdrop?r.default.createElement("div",{className:"modal__backdrop",style:a,onClick:this.props.closeOnClick?this.handleBackdropClick:null}):undefined;return e&&this.addTransitionListener(this.content,this.leave),r.default.createElement("span",null,r.default.createElement("div",{className:"modal",style:t,"data-testid":n},r.default.createElement("div",{className:"modal__content",ref:e=>this.content=e,tabIndex:"-1",style:o},this.props.children)),i)}}s(f,"propTypes",{backdrop:o.default.bool,backdropStyle:o.default.object,closeOnClick:o.default.bool,contentStyle:o.default.object,keyboard:o.default.bool,modalStyle:o.default.object,onShow:o.default.func,onHide:o.default.func,children:o.default.node,testId:o.default.string}),s(f,"defaultProps",{testId:"",onShow:()=>undefined,onHide:()=>undefined,keyboard:!0,backdrop:!0,closeOnClick:!0,modalStyle:{},backdropStyle:{},contentStyle:{},children:[]});n.default=f}}},{package:"$root$",file:"ui/components/app/modals/fade-modal.js"}],[4682,{"../../../../../shared/constants/metametrics":4505,"../../../../helpers/constants/routes":5361,"../../../../selectors":5987,"../../../../store/actions":5998,"../../../ui/button":5198,"../../../ui/identicon":5247,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=m(e("prop-types")),r=f(e("react")),o=e("react-redux"),i=f(e("../../../../store/actions")),s=m(e("../../../ui/identicon")),l=m(e("../../../ui/button")),c=e("../../../../helpers/constants/routes"),u=e("../../../../../shared/constants/metametrics"),d=e("../../../../selectors");function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(p=function(e){return e?n:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=p(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}function m(e){return e&&e.__esModule?e:{default:e}}function h(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class g extends r.Component{constructor(...e){super(...e),h(this,"state",{})}render(){const{chainId:e,token:t,hideToken:n,hideModal:a,history:o}=this.props,{symbol:i,address:d,image:p}=t;return r.default.createElement("div",{className:"hide-token-confirmation__container"},r.default.createElement("div",{className:"hide-token-confirmation__title"},this.context.t("hideTokenPrompt")),r.default.createElement(s.default,{className:"hide-token-confirmation__identicon",diameter:45,address:d,image:p}),r.default.createElement("div",{className:"hide-token-confirmation__symbol"},i),r.default.createElement("div",{className:"hide-token-confirmation__copy"},this.context.t("readdToken")),r.default.createElement("div",{className:"hide-token-confirmation__buttons"},r.default.createElement(l.default,{type:"secondary",className:"hide-token-confirmation__button","data-testid":"hide-token-confirmation__cancel",onClick:()=>a()},this.context.t("cancel")),r.default.createElement(l.default,{type:"primary",className:"hide-token-confirmation__button","data-testid":"hide-token-confirmation__hide",onClick:()=>{this.context.trackEvent({event:u.MetaMetricsEventName.TokenRemoved,category:u.MetaMetricsEventCategory.Tokens,sensitiveProperties:{chain_id:e,token_contract_address:d,token_symbol:i}}),n(d),o.push(c.DEFAULT_ROUTE)}},this.context.t("hide"))))}}h(g,"contextTypes",{t:a.default.func,trackEvent:a.default.func}),h(g,"propTypes",{hideToken:a.default.func.isRequired,hideModal:a.default.func.isRequired,chainId:a.default.string.isRequired,token:a.default.shape({symbol:a.default.string,address:a.default.string,image:a.default.string}),history:a.default.object});n.default=(0,o.connect)((function(e){return{chainId:(0,d.getCurrentChainId)(e),token:e.appState.modal.modalState.props.token,history:e.appState.modal.modalState.props.history}}),(function(e){return{hideModal:()=>e(i.hideModal()),hideToken:t=>{e(i.ignoreTokens({tokensToIgnore:t})).then((()=>{e(i.hideModal())}))}}}))(g)}}},{package:"$root$",file:"ui/components/app/modals/hide-token-confirmation-modal/hide-token-confirmation-modal.js"}],[4683,{"./hide-token-confirmation-modal":4682},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./hide-token-confirmation-modal"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/modals/hide-token-confirmation-modal/index.js"}],[4684,{"../../../../helpers/constants/design-system":5355,"../../../../helpers/constants/zendesk-url":5368,"../../../../hooks/useI18nContext":5427,"../../../component-library":4955,"../../hold-to-reveal-button/hold-to-reveal-button":4638,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function({isOpen:e,onClose:t,onLongPressed:n,holdToRevealType:c}){const u=(0,i.useI18nContext)(),d="SRP"===c?"holdToRevealSRPTitle":"holdToRevealPrivateKeyTitle",p="SRP"===c?"holdToRevealSRP":"holdToRevealPrivateKey",f="SRP"===c?"holdToRevealContent":"holdToRevealContentPrivateKey",m=`${f}1`,h=`${f}2`;u("holdToRevealContentPrivateKey1"),u("holdToRevealContentPrivateKey2"),u("holdToRevealContent1"),u("holdToRevealContent2");const g=()=>a.default.createElement(s.Box,{display:r.Display.Flex,flexDirection:r.FlexDirection.Column,gap:4,marginTop:4,marginBottom:6},a.default.createElement(s.Text,{variant:r.TextVariant.bodyMd},u(m,[a.default.createElement(s.Text,{key:"hold-to-reveal-2",variant:r.TextVariant.bodyMdBold,as:"span"},u(h))])),a.default.createElement(s.Text,{variant:r.TextVariant.bodyMdBold},u("holdToRevealContent3",[a.default.createElement(s.Text,{key:"hold-to-reveal-4",variant:r.TextVariant.bodyMd,as:"span",display:r.Display.Inline},u("holdToRevealContent4")),a.default.createElement(s.Button,{key:"hold-to-reveal-5",variant:s.ButtonVariant.Link,size:s.ButtonSize.Inherit,href:o.default.NON_CUSTODIAL_WALLET,externalLink:!0},u("holdToRevealContent5"))])));return a.default.createElement(s.Modal,{isOpen:e,onClose:t},a.default.createElement(s.ModalOverlay,null),a.default.createElement(s.ModalContent,null,a.default.createElement(s.ModalHeader,{onClose:t},u(d)),a.default.createElement(s.Container,{paddingLeft:4,paddingRight:4},a.default.createElement(g,null),a.default.createElement(l.default,{buttonText:u(p),onLongPressed:n}))))};var a=c(e("react")),r=e("../../../../helpers/constants/design-system"),o=c(e("../../../../helpers/constants/zendesk-url")),i=e("../../../../hooks/useI18nContext"),s=e("../../../component-library"),l=c(e("../../hold-to-reveal-button/hold-to-reveal-button"));function c(e){return e&&e.__esModule?e:{default:e}}}}},{package:"$root$",file:"ui/components/app/modals/hold-to-reveal-modal/hold-to-reveal-modal.tsx"}],[4685,{"./modal":4688},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"Modal",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./modal"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/modals/index.js"}],[4686,{"./keyring-snap-removal-result-modal":4687},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./keyring-snap-removal-result-modal"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/modals/keyring-snap-removal-modal/index.ts"}],[4687,{"../../../../helpers/constants/design-system":5355,"../../../../hooks/useI18nContext":5427,"../../../../selectors":5987,"../../../component-library":4955,"../../../component-library/modal-content/deprecated":4963,"../../../component-library/modal-header/deprecated":4972,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=(a=e("react"))&&a.__esModule?a:{default:a},o=e("react-redux"),i=e("../../../../helpers/constants/design-system"),s=e("../../../component-library"),l=e("../../../component-library/modal-content/deprecated"),c=e("../../../component-library/modal-header/deprecated"),u=e("../../../../hooks/useI18nContext"),d=e("../../../../selectors");n.default=({isOpen:e,onClose:t})=>{const n=(0,u.useI18nContext)(),a=(0,o.useSelector)(d.getKeyringSnapRemovalResult);return r.default.createElement(r.default.Fragment,null,r.default.createElement(s.Modal,{isOpen:e,onClose:()=>t()},r.default.createElement(s.ModalOverlay,null),r.default.createElement(l.ModalContent,{modalDialogProps:{display:i.Display.Flex,flexDirection:i.FlexDirection.Column,gap:4}},r.default.createElement(c.ModalHeader,{onClose:t},""),r.default.createElement(s.Box,{display:i.Display.Flex,flexDirection:i.FlexDirection.Column,justifyContent:i.JustifyContent.center,alignItems:i.AlignItems.center},r.default.createElement(s.Icon,{name:"success"===a.result?s.IconName.Confirmation:s.IconName.Danger,color:"success"===a.result?i.IconColor.successDefault:i.IconColor.errorDefault,size:s.IconSize.Xl,marginBottom:4}),r.default.createElement(s.Text,{variant:i.TextVariant.bodyMdBold,textAlign:i.TextAlign.Center},n("keyringSnapRemovalResult1",[a.snapName,"failed"===a.result?n("keyringSnapRemovalResultNotSuccessful"):""]))))))}}}},{package:"$root$",file:"ui/components/app/modals/keyring-snap-removal-modal/keyring-snap-removal-result-modal.tsx"}],[4688,{"../../../../app/scripts/lib/util":120,"../../../../shared/constants/app":4493,"../../../helpers/utils/is-mobile-view":5388,"../../../pages/onboarding-flow/add-network-modal":5790,"../../../store/actions":5998,"./confirm-delete-network":4665,"./confirm-remove-account":4668,"./confirm-reset-account":4671,"./confirm-turn-off-profile-syncing":4673,"./convert-token-to-nft-modal/convert-token-to-nft-modal":4674,"./customize-nonce":4676,"./edit-approval-permission":4679,"./eth-sign-modal/eth-sign-modal":4680,"./fade-modal":4681,"./hide-token-confirmation-modal":4683,"./new-account-modal":4689,"./qr-scanner":4694,"./reject-transactions":4697,"./transaction-already-confirmed":4700,"./transaction-confirmed":4702,"./turn-on-metamask-notifications/turn-on-metamask-notifications":4705,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=I(e("prop-types")),r=k(e("react")),o=e("react-redux"),i=e("../../../../app/scripts/lib/util"),s=e("../../../../shared/constants/app"),l=I(e("../../../helpers/utils/is-mobile-view")),c=k(e("../../../store/actions")),u=I(e("../../../pages/onboarding-flow/add-network-modal")),d=I(e("./hide-token-confirmation-modal")),p=I(e("./qr-scanner")),f=I(e("./confirm-remove-account")),m=I(e("./confirm-reset-account")),h=I(e("./transaction-confirmed")),g=I(e("./confirm-delete-network")),y=I(e("./convert-token-to-nft-modal/convert-token-to-nft-modal")),b=I(e("./customize-nonce")),v=I(e("./edit-approval-permission")),T=I(e("./eth-sign-modal/eth-sign-modal")),E=I(e("./fade-modal")),w=I(e("./new-account-modal")),x=I(e("./reject-transactions")),_=I(e("./transaction-already-confirmed")),O=I(e("./confirm-turn-off-profile-syncing")),S=I(e("./turn-on-metamask-notifications/turn-on-metamask-notifications"));function C(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(C=function(e){return e?n:t})(e)}function k(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=C(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}function I(e){return e&&e.__esModule?e:{default:e}}const N={transform:"translate3d(-50%, 0, 0px)",border:"1px solid var(--color-border-default)",borderRadius:"8px",backgroundColor:"var(--color-background-default)",boxShadow:"var(--shadow-size-sm) var(--color-shadow-default)"},M={...N,width:"344px",top:"15%"},P={...N,width:"309px",top:"12.5%"},A={ONBOARDING_ADD_NETWORK:{contents:r.default.createElement(u.default,null),testId:"add-network-modal",mobileModalStyle:{width:"95%",boxShadow:"var(--shadow-size-xs) var(--color-shadow-default)",borderRadius:"4px",top:"10%",transform:"none",left:"0",right:"0",margin:"0 auto"},laptopModalStyle:{width:"335px",boxShadow:"var(--shadow-size-xs) var(--color-shadow-default)",borderRadius:"4px",top:"10%",transform:"none",left:"0",right:"0",margin:"0 auto"},contentStyle:{borderRadius:"4px"}},NEW_ACCOUNT:{contents:r.default.createElement(w.default,null),mobileModalStyle:{width:"95%",top:"10%",boxShadow:"var(--shadow-size-xs) var(--color-shadow-default)",transform:"none",left:"0",right:"0",margin:"0 auto",borderRadius:"10px"},laptopModalStyle:{width:"375px",top:"10%",boxShadow:"var(--shadow-size-xs) var(--color-shadow-default)",transform:"none",left:"0",right:"0",margin:"0 auto",borderRadius:"10px"},contentStyle:{borderRadius:"10px"}},HIDE_TOKEN_CONFIRMATION:{contents:r.default.createElement(d.default,null),testId:"hide-token-confirmation-modal",mobileModalStyle:{width:"95%",top:(0,i.getEnvironmentType)()===s.ENVIRONMENT_TYPE_POPUP?"52vh":"36.5vh"},laptopModalStyle:{width:(0,i.getEnvironmentType)()===s.ENVIRONMENT_TYPE_POPUP?"357px":"449px",top:"calc(33% + 45px)",paddingLeft:(0,i.getEnvironmentType)()===s.ENVIRONMENT_TYPE_POPUP?"16px":null,paddingRight:(0,i.getEnvironmentType)()===s.ENVIRONMENT_TYPE_POPUP?"16px":null}},CONFIRM_RESET_ACCOUNT:{contents:r.default.createElement(m.default,null),mobileModalStyle:{...P},laptopModalStyle:{...M},contentStyle:{borderRadius:"8px"}},ETH_SIGN:{contents:r.default.createElement(T.default,null),mobileModalStyle:{...P},laptopModalStyle:{...M},contentStyle:{borderRadius:"8px"}},CONFIRM_REMOVE_ACCOUNT:{contents:r.default.createElement(f.default,null),mobileModalStyle:{...P},laptopModalStyle:{...M},contentStyle:{borderRadius:"8px"}},CONVERT_TOKEN_TO_NFT:{contents:r.default.createElement(y.default,null),mobileModalStyle:{...P},laptopModalStyle:{...M},contentStyle:{borderRadius:"8px"}},CONFIRM_DELETE_NETWORK:{contents:r.default.createElement(g.default,null),mobileModalStyle:{...P},laptopModalStyle:{...M},contentStyle:{borderRadius:"8px"}},EDIT_APPROVAL_PERMISSION:{contents:r.default.createElement(v.default,null),mobileModalStyle:{width:"95vw",height:"100vh",top:"50px",transform:"none",left:"0",right:"0",margin:"0 auto"},laptopModalStyle:{width:"auto",height:"0px",top:"80px",left:"0px",transform:"none",margin:"0 auto",position:"relative"},contentStyle:{borderRadius:"8px"}},TRANSACTION_CONFIRMED:{disableBackdropClick:!0,contents:r.default.createElement(h.default,null),mobileModalStyle:{...P},laptopModalStyle:{...M},contentStyle:{borderRadius:"8px"}},TRANSACTION_ALREADY_CONFIRMED:{disableBackdropClick:!0,contents:r.default.createElement(_.default,null),mobileModalStyle:{...P},laptopModalStyle:{...M}},QR_SCANNER:{contents:r.default.createElement(p.default,null),testId:"qr-scanner-modal",mobileModalStyle:{...P},laptopModalStyle:{...M},contentStyle:{borderRadius:"8px"}},REJECT_TRANSACTIONS:{contents:r.default.createElement(x.default,null),mobileModalStyle:{...P},laptopModalStyle:{...M},contentStyle:{borderRadius:"8px"}},CUSTOMIZE_NONCE:{contents:r.default.createElement(b.default,null),mobileModalStyle:{...P},laptopModalStyle:{...M},contentStyle:{borderRadius:"8px"}},CONFIRM_TURN_OFF_PROFILE_SYNCING:{contents:r.default.createElement(O.default,null),mobileModalStyle:{...P},laptopModalStyle:{...M},contentStyle:{borderRadius:"8px"}},TURN_ON_METAMASK_NOTIFICATIONS:{contents:r.default.createElement(S.default,null),mobileModalStyle:{...P},laptopModalStyle:{...M},contentStyle:{borderRadius:"8px"}},DEFAULT:{contents:[],mobileModalStyle:{},laptopModalStyle:{}}},R={backgroundColor:"var(--color-overlay-default)"};class j extends r.Component{hide(){this.modalRef.hide()}show(){this.modalRef.show()}UNSAFE_componentWillReceiveProps(e,t){e.active?this.show():this.props.active&&this.hide()}render(){const e=A[this.props.modalState.name||"DEFAULT"],{contents:t,disableBackdropClick:n=!1,testId:a}=e,o=e[(0,l.default)()?"mobileModalStyle":"laptopModalStyle"],i=e.contentStyle||{};return r.default.createElement(E.default,{keyboard:!1,onHide:()=>{e.onHide&&e.onHide({hideWarning:this.props.hideWarning}),this.props.hideModal(e.customOnHideOpts)},ref:e=>{this.modalRef=e},modalStyle:o,contentStyle:i,backdropStyle:R,closeOnClick:!n,testId:a},t)}}var D,B,F;D=j,B="propTypes",F={active:a.default.bool.isRequired,hideModal:a.default.func.isRequired,hideWarning:a.default.func.isRequired,modalState:a.default.object.isRequired},(B=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(B))in D?Object.defineProperty(D,B,{value:F,enumerable:!0,configurable:!0,writable:!0}):D[B]=F;n.default=(0,o.connect)((function(e){return{active:e.appState.modal.open,modalState:e.appState.modal.modalState}}),(function(e){return{hideModal:t=>{e(c.hideModal()),t&&t.action&&e(t.action(...t.args))},hideWarning:()=>{e(c.hideWarning())}}}))(j)}}},{package:"$root$",file:"ui/components/app/modals/modal.js"}],[4689,{"./new-account-modal.container":4691},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./new-account-modal.container"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/modals/new-account-modal/index.js"}],[4690,{"../../../component-library":4955,"../../../ui/button/button.component":5197,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=l(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=s(e("prop-types")),o=s(e("../../../ui/button/button.component")),i=e("../../../component-library");function s(e){return e&&e.__esModule?e:{default:e}}function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(l=function(e){return e?n:t})(e)}function c(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class u extends a.Component{constructor(...e){super(...e),c(this,"state",{alias:this.context.t("newAccountNumberName",[this.props.newAccountNumber])}),c(this,"onChange",(e=>{this.setState({alias:e.target.value})})),c(this,"onSubmit",(()=>{this.props.onSave(this.state.alias).then(this.props.hideModal)})),c(this,"onKeyPress",(e=>{"Enter"===e.key&&this.state.alias&&this.onSubmit()}))}render(){const{t:e}=this.context;return a.default.createElement("div",{className:"new-account-modal"},a.default.createElement("div",{className:"new-account-modal__content"},a.default.createElement("div",{className:"new-account-modal__content__header"},e("newAccount"),a.default.createElement(i.ButtonIcon,{className:"new-account-modal__content__header-close",ariaLabel:e("close"),onClick:this.props.hideModal,iconName:i.IconName.Close})),a.default.createElement("div",{className:"new-account-modal__input-label"},e("accountName")),a.default.createElement("input",{type:"text",className:"new-account-modal__input",onChange:this.onChange,onKeyPress:this.onKeyPress,value:this.state.alias,autoFocus:!0})),a.default.createElement("div",{className:"new-account-modal__footer"},a.default.createElement(o.default,{type:"secondary",onClick:this.props.hideModal},e("cancel")),a.default.createElement(o.default,{type:"primary",onClick:this.onSubmit,disabled:!this.state.alias},e("save"))))}}n.default=u,c(u,"contextTypes",{t:r.default.func}),c(u,"propTypes",{hideModal:r.default.func.isRequired,newAccountNumber:r.default.number.isRequired,onSave:r.default.func.isRequired})}}},{package:"$root$",file:"ui/components/app/modals/new-account-modal/new-account-modal.component.js"}],[4691,{"../../../../store/actions":5998,"./new-account-modal.component":4690,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=e("react-redux"),o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=s(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("../../../../store/actions")),i=(a=e("./new-account-modal.component"))&&a.__esModule?a:{default:a};function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(s=function(e){return e?n:t})(e)}n.default=(0,r.connect)((function(e){return{...e.appState.modal.modalState.props||{}}}),(function(e){return{hideModal:()=>e(o.hideModal()),createAccount:t=>e(o.addNewAccount()).then((n=>(t&&e(o.setAccountLabel(n,t)),n)))}}),(function(e,t){const{onCreateNewAccount:n}=e,{createAccount:a}=t;return{...e,...t,onSave:e=>a(e).then((e=>n(e)))}}))(i.default)}}},{package:"$root$",file:"ui/components/app/modals/new-account-modal/new-account-modal.container.js"}],[4692,{"./nickname-popovers.component":4693},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./nickname-popovers.component"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/modals/nickname-popovers/index.js"}],[4693,{"../../../../selectors":5987,"../../../../store/actions":5998,"../../../ui/nickname-popover":5272,"../../../ui/update-nickname-popover/update-nickname-popover":5318,"@metamask/etherscan-link":1369,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=p(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=e("react-redux"),o=d(e("prop-types")),i=e("@metamask/etherscan-link"),s=e("../../../../store/actions"),l=e("../../../../selectors"),c=d(e("../../../ui/nickname-popover")),u=d(e("../../../ui/update-nickname-popover/update-nickname-popover"));function d(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(p=function(e){return e?n:t})(e)}const f="SHOW_NICKNAME_POPOVER",m="ADD_NICKNAME_POPOVER",h=({address:e,onClose:t})=>{const n=(0,r.useDispatch)(),[o,d]=(0,a.useState)(f),p=(0,r.useSelector)(l.getAddressBook),h=(0,r.useSelector)(l.getCurrentChainId),g=p.find((t=>t.address===e)),y=null==g?void 0:g.name,b=(0,r.useSelector)(l.getRpcPrefsForCurrentProvider),v=(0,i.getAccountLink)(e,h,{blockExplorerUrl:(null==b?void 0:b.blockExplorerUrl)??null},null);return o===m?a.default.createElement(u.default,{address:e,nickname:y||null,memo:(null==g?void 0:g.memo)||null,onClose:()=>d(f),onAdd:(e,t,a)=>n((0,s.addToAddressBook)(e,t,a))}):a.default.createElement(c.default,{address:e,nickname:y||null,onClose:t,onAdd:()=>d(m),explorerLink:v})};h.propTypes={address:o.default.string,onClose:o.default.func};n.default=h}}},{package:"$root$",file:"ui/components/app/modals/nickname-popovers/nickname-popovers.component.js"}],[4694,{"./qr-scanner.container":4696},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=(a=e("./qr-scanner.container"))&&a.__esModule?a:{default:a};n.default=r.default}}},{package:"$root$",file:"ui/components/app/modals/qr-scanner/index.js"}],[4695,{"../../../../../app/scripts/lib/util":120,"../../../../../shared/constants/app":4493,"../../../../../shared/constants/time":4518,"../../../../helpers/utils/util":5399,"../../../../helpers/utils/webcam-utils":5400,"../../../../hooks/useI18nContext":5427,"../../../../hooks/usePrevious":5436,"../../../ui/page-container/page-container-footer/page-container-footer.component":5277,"../../../ui/spinner":5294,"@zxing/browser":2651,loglevel:3842,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=T;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=y(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=g(e("prop-types")),o=g(e("loglevel")),i=e("@zxing/browser"),s=e("../../../../hooks/usePrevious"),l=e("../../../../hooks/useI18nContext"),c=e("../../../../../app/scripts/lib/util"),u=e("../../../../helpers/utils/util"),d=g(e("../../../../helpers/utils/webcam-utils")),p=g(e("../../../ui/page-container/page-container-footer/page-container-footer.component")),f=g(e("../../../ui/spinner")),m=e("../../../../../shared/constants/app"),h=e("../../../../../shared/constants/time");function g(e){return e&&e.__esModule?e:{default:e}}function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(y=function(e){return e?n:t})(e)}const b={ACCESSING_CAMERA:"ACCESSING_CAMERA",NEED_TO_ALLOW_ACCESS:"NEED_TO_ALLOW_ACCESS",READY:"READY"},v=e=>{let t="unknown",n={};return e.split("ethereum:").length>1?(t="address",n={address:e.split("ethereum:")[1]}):"0x"===e.substring(0,2).toLowerCase()&&(t="address",n={address:e}),{type:t,values:n}};function T({hideModal:e,qrCodeDetected:t}){const n=(0,l.useI18nContext)(),[r,g]=(0,a.useState)(b.ACCESSING_CAMERA),y=(0,s.usePrevious)(r),[T,E]=(0,a.useState)(null),[w,x]=(0,a.useState)(!1),[_,O]=(0,a.useState)(null),[S,C]=(0,a.useState)(null),k=(0,a.useCallback)((async()=>{try{const{permissions:e}=await d.default.checkStatus();if(e){if(await new Promise((e=>setTimeout(e,2*h.SECOND))),!w)return;g(b.READY)}else w&&C(setTimeout(this.checkPermissions,h.SECOND))}catch(e){w&&E({error:e})}}),[w]),I=(0,a.useCallback)((()=>{_&&(_.constructor.cleanVideoSource(),_.constructor.releaseAllStreams(),O(null))}),[_]),N=(0,a.useCallback)((()=>{_&&I(e),e()}),[_,e,I]),M=(0,a.useCallback)((async()=>{_||O(new i.BrowserQRCodeReader)}),[_]);(0,a.useEffect)((()=>{(async()=>{if(_)try{await k(),await _.constructor.listVideoInputDevices();const e=await _.decodeOnceFromVideoDevice(undefined,"video"),a=v(e.text);w&&("unknown"===a.type?E(new Error(n("unknownQrCode"))):(t(a),N()))}catch(e){if(w)return;"NotAllowedError"===e.name?(o.default.info(`Permission denied: '${e}'`),g(b.NEED_TO_ALLOW_ACCESS)):E(e)}})()}),[k,_,w,t,N,n]);const P=async()=>{try{const{environmentReady:e}=await d.default.checkStatus();if(!e&&(0,c.getEnvironmentType)()!==m.ENVIRONMENT_TYPE_FULLSCREEN){const e=(0,u.getURL)(window.location.href),t=null==e?void 0:e.hash,n=t?t.substring(1):null;global.platform.openExtensionInBrowser(n)}}catch(e){w&&E({error:e})}await M()};(0,a.useEffect)((()=>{x(!0),(async()=>{await P()})()}),[]),(0,a.useEffect)((()=>{(async()=>{y!==r&&(r===b.READY?await M():r===b.NEED_TO_ALLOW_ACCESS&&await k())})()}),[y,r,M,k]);const A=async()=>{clearTimeout(S),_&&I(),g(b.ACCESSING_CAMERA),E(null),await P()};return a.default.createElement("div",{className:"qr-scanner"},a.default.createElement("div",{className:"qr-scanner__close",onClick:N}),T?(()=>{let e,t;return"NO_WEBCAM_FOUND"===T.type?(e=n("noWebcamFoundTitle"),t=n("noWebcamFound")):T.message===n("unknownQrCode")?t=n("unknownQrCode"):(e=n("generalCameraErrorTitle"),t=n("generalCameraError")),a.default.createElement(a.default.Fragment,null,a.default.createElement("div",{className:"qr-scanner__image"},a.default.createElement("img",{src:"images/webcam.svg",width:"70",height:"70",alt:""})),e&&a.default.createElement("div",{className:"qr-scanner__title"},e),a.default.createElement("div",{className:"qr-scanner__error"},t),a.default.createElement(p.default,{onCancel:N,onSubmit:A,cancelText:n("cancel"),submitText:n("tryAgain")}))})():a.default.createElement(a.default.Fragment,null,a.default.createElement("div",{className:"qr-scanner__title"},`${n("scanQrCode")}`),a.default.createElement("div",{className:"qr-scanner__content"},a.default.createElement("div",{className:"qr-scanner__content__video-wrapper"},a.default.createElement("video",{id:"video",style:{display:r===b.READY?"block":"none"}}),r!==b.READY&&a.default.createElement(f.default,{color:"var(--color-warning-default)"}))),a.default.createElement("div",{className:"qr-scanner__status"},(e=>{let t;switch(e){case b.ACCESSING_CAMERA:t=n("accessingYourCamera");break;case b.READY:t=n("scanInstructions");break;case b.NEED_TO_ALLOW_ACCESS:t=n("youNeedToAllowCameraAccess");break;default:t=n("accessingYourCamera")}return t})(r))))}T.propTypes={hideModal:r.default.func.isRequired,qrCodeDetected:r.default.func.isRequired}}}},{package:"$root$",file:"ui/components/app/modals/qr-scanner/qr-scanner.component.js"}],[4696,{"../../../../store/actions":5998,"./qr-scanner.component":4695,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=e("react-redux"),o=e("../../../../store/actions"),i=(a=e("./qr-scanner.component"))&&a.__esModule?a:{default:a};n.default=(0,r.connect)(null,(e=>({hideModal:()=>e((0,o.hideModal)()),qrCodeDetected:t=>e((0,o.qrCodeDetected)(t))})))(i.default)}}},{package:"$root$",file:"ui/components/app/modals/qr-scanner/qr-scanner.container.js"}],[4697,{"./reject-transactions.container":4699},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./reject-transactions.container"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/modals/reject-transactions/index.js"}],[4698,{"../../modal":4659,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=s(e("prop-types")),r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=i(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=s(e("../../modal"));function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(i=function(e){return e?n:t})(e)}function s(e){return e&&e.__esModule?e:{default:e}}function l(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class c extends r.PureComponent{constructor(...e){super(...e),l(this,"onSubmit",(async()=>{const{onSubmit:e,hideModal:t}=this.props;await e(),t()}))}render(){const{t:e}=this.context,{hideModal:t,unapprovedTxCount:n,isRequestType:a}=this.props;return r.default.createElement(o.default,{headerText:e(a?"rejectRequestsN":"rejectTxsN",[n]),onClose:t,onSubmit:this.onSubmit,onCancel:t,submitText:e("rejectAll"),cancelText:e("cancel")},r.default.createElement("div",null,r.default.createElement("div",{className:"reject-transactions__description"},e(a?"rejectRequestsDescription":"rejectTxsDescription",[n]))))}}n.default=c,l(c,"contextTypes",{t:a.default.func.isRequired}),l(c,"propTypes",{onSubmit:a.default.func.isRequired,hideModal:a.default.func.isRequired,unapprovedTxCount:a.default.number.isRequired,isRequestType:a.default.bool})}}},{package:"$root$",file:"ui/components/app/modals/reject-transactions/reject-transactions.component.js"}],[4699,{"../../../../helpers/higher-order-components/with-modal-props":5376,"./reject-transactions.component":4698,"react-redux":4199,redux:4261},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=e("react-redux"),r=e("redux"),o=s(e("../../../../helpers/higher-order-components/with-modal-props")),i=s(e("./reject-transactions.component"));function s(e){return e&&e.__esModule?e:{default:e}}n.default=(0,r.compose)(o.default,(0,a.connect)(((e,t)=>{const{unapprovedTxCount:n}=t;return{unapprovedTxCount:n}})))(i.default)}}},{package:"$root$",file:"ui/components/app/modals/reject-transactions/reject-transactions.container.js"}],[4700,{"./transaction-already-confirmed":4701},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./transaction-already-confirmed"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/modals/transaction-already-confirmed/index.ts"}],[4701,{"../../../../contexts/i18n":5324,"../../../../helpers/constants/design-system":5355,"../../../../hooks/useModalProps":5430,"../../../../selectors":5987,"../../../component-library":4955,"@metamask/etherscan-link":1369,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(){const{hideModal:e,props:{originalTransactionId:t}}=(0,s.useModalProps)(),n=(0,a.useContext)(u.I18nContext),d=(0,r.useDispatch)(),p=(0,r.useSelector)((e=>(0,i.getTransaction)(e,t))),f=(0,r.useSelector)(i.getRpcPrefsForCurrentProvider);return a.default.createElement(l.Modal,{isOpen:!0,onClose:e},a.default.createElement(l.ModalOverlay,null),a.default.createElement(l.ModalContent,null,a.default.createElement(l.ModalHeader,{onClose:e},n("yourTransactionConfirmed")),a.default.createElement(l.ModalBody,null,a.default.createElement(l.Text,null,n("yourTransactionJustConfirmed"))),a.default.createElement(l.ModalFooter,{onSubmit:e,onCancel:()=>{const t=(0,o.getBlockExplorerLink)(p,f);global.platform.openTab({url:t}),d(e())},submitButtonProps:{children:n("gotIt")},cancelButtonProps:{children:n("viewOnBlockExplorer")},containerProps:{flexDirection:c.FlexDirection.Column,alignItems:c.AlignItems.stretch}})))};var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=d(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=e("react-redux"),o=e("@metamask/etherscan-link"),i=e("../../../../selectors"),s=e("../../../../hooks/useModalProps"),l=e("../../../component-library"),c=e("../../../../helpers/constants/design-system"),u=e("../../../../contexts/i18n");function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(d=function(e){return e?n:t})(e)}}}},{package:"$root$",file:"ui/components/app/modals/transaction-already-confirmed/transaction-already-confirmed.tsx"}],[4702,{"./transaction-confirmed.container":4704},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./transaction-confirmed.container"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/modals/transaction-confirmed/index.js"}],[4703,{"../../../../helpers/constants/design-system":5355,"../../../component-library":4955,"../../modal":4659,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=l(e("prop-types")),o=l(e("../../modal")),i=e("../../../component-library"),s=e("../../../../helpers/constants/design-system");function l(e){return e&&e.__esModule?e:{default:e}}function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}function u(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class d extends a.PureComponent{constructor(...e){super(...e),u(this,"handleSubmit",(()=>{const{hideModal:e,onSubmit:t}=this.props;e(),t&&"function"==typeof t&&t()}))}render(){const{t:e}=this.context;return a.default.createElement(o.default,{onSubmit:this.handleSubmit,submitText:e("ok")},a.default.createElement("div",{className:"transaction-confirmed__content"},a.default.createElement(i.Icon,{name:i.IconName.Check,color:s.IconColor.successDefault,size:i.IconSize.Xl}),a.default.createElement("div",{className:"transaction-confirmed__title"},`${e("confirmed")}!`),a.default.createElement("div",{className:"transaction-confirmed__description"},e("initialTransactionConfirmed"))))}}n.default=d,u(d,"contextTypes",{t:r.default.func}),u(d,"propTypes",{onSubmit:r.default.func,hideModal:r.default.func})}}},{package:"$root$",file:"ui/components/app/modals/transaction-confirmed/transaction-confirmed.component.js"}],[4704,{"../../../../helpers/higher-order-components/with-modal-props":5376,"./transaction-confirmed.component":4703},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=o(e("../../../../helpers/higher-order-components/with-modal-props")),r=o(e("./transaction-confirmed.component"));function o(e){return e&&e.__esModule?e:{default:e}}n.default=(0,a.default)(r.default)}}},{package:"$root$",file:"ui/components/app/modals/transaction-confirmed/transaction-confirmed.container.js"}],[4705,{"../../../../../shared/constants/metametrics":4505,"../../../../contexts/i18n":5324,"../../../../contexts/metamask-notifications/metamask-notifications":5326,"../../../../contexts/metametrics":5327,"../../../../helpers/constants/design-system":5355,"../../../../helpers/constants/routes":5361,"../../../../hooks/metamask-notifications/useNotifications":5406,"../../../../hooks/useModalProps":5430,"../../../../selectors/metamask-notifications/metamask-notifications":5989,"../../../../selectors/metamask-notifications/profile-syncing":5990,"../../../component-library":4955,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(){const{hideModal:e}=(0,s.useModalProps)(),t=(0,o.useHistory)(),n=(0,a.useContext)(i.I18nContext),y=(0,a.useContext)(c.MetaMetricsContext),{listNotifications:b}=(0,l.useMetamaskNotificationsContext)(),v=(0,r.useSelector)(d.selectIsMetamaskNotificationsEnabled),T=(0,r.useSelector)(d.getIsUpdatingMetamaskNotifications),E=(0,r.useSelector)(p.selectIsProfileSyncingEnabled),[w,x]=(0,a.useState)(T),{createNotifications:_,error:O}=(0,f.useCreateNotifications)(),S=()=>{e(),y({category:u.MetaMetricsEventCategory.EnableNotifications,event:u.MetaMetricsEventName.DismissEnablingNotificationsFlow,properties:{isProfileSyncingEnabled:E}})};(0,a.useEffect)((()=>{v&&!O&&(t.push(m.NOTIFICATIONS_ROUTE),e(),b())}),[v,O]);const C=a.default.createElement(h.Text,{as:"a",href:"https://support.metamask.io/privacy-and-security/profile-privacy",target:"_blank",rel:"noopener noreferrer",key:"privacy-link",color:g.TextColor.infoDefault},n("turnOnMetamaskNotificationsMessagePrivacyLink")),k=a.default.createElement(h.Text,{as:"span",fontWeight:g.FontWeight.Bold,key:"strong-text"},n("turnOnMetamaskNotificationsMessagePrivacyBold"));return a.default.createElement(h.Modal,{isOpen:!0,onClose:()=>S()},a.default.createElement(h.ModalOverlay,null),a.default.createElement(h.ModalContent,null,a.default.createElement(h.ModalHeader,{onClose:()=>S()},n("turnOnMetamaskNotifications")),a.default.createElement(h.ModalBody,null,a.default.createElement(h.Box,{as:"img",src:"./images/turn-on-metamask-notifications.png",width:g.BlockSize.Full,borderRadius:g.BorderRadius.MD,marginBottom:4}),a.default.createElement(h.Text,{as:"p"},n("turnOnMetamaskNotificationsMessageFirst")),a.default.createElement(h.Text,{as:"p",paddingTop:4},n("turnOnMetamaskNotificationsMessageSecond",[C])),a.default.createElement(h.Text,{as:"p",paddingTop:4},n("turnOnMetamaskNotificationsMessageThird",[k]))),a.default.createElement(h.ModalFooter,{paddingTop:4,onSubmit:()=>(async()=>{x(!0),await _(),y({category:u.MetaMetricsEventCategory.EnableNotifications,event:u.MetaMetricsEventName.EnablingNotifications,properties:{isProfileSyncingEnabled:E}})})(),containerProps:{flexDirection:g.FlexDirection.Column,alignItems:g.AlignItems.stretch},submitButtonProps:{children:n("turnOnMetamaskNotificationsButton"),loading:w,disabled:w,"data-testid":"turn-on-notifications-button"}}),O&&a.default.createElement(h.Box,{paddingLeft:4,paddingRight:4},a.default.createElement(h.Text,{as:"p",color:g.TextColor.errorDefault,paddingTop:4},n("turnOnMetamaskNotificationsError")))))};var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=y(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=e("react-redux"),o=e("react-router-dom"),i=e("../../../../contexts/i18n"),s=e("../../../../hooks/useModalProps"),l=e("../../../../contexts/metamask-notifications/metamask-notifications"),c=e("../../../../contexts/metametrics"),u=e("../../../../../shared/constants/metametrics"),d=e("../../../../selectors/metamask-notifications/metamask-notifications"),p=e("../../../../selectors/metamask-notifications/profile-syncing"),f=e("../../../../hooks/metamask-notifications/useNotifications"),m=e("../../../../helpers/constants/routes"),h=e("../../../component-library"),g=e("../../../../helpers/constants/design-system");function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(y=function(e){return e?n:t})(e)}}}},{package:"$root$",file:"ui/components/app/modals/turn-on-metamask-notifications/turn-on-metamask-notifications.tsx"}],[4706,{"./multiple-notifications.component":4707},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./multiple-notifications.component"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/multiple-notifications/index.js"}],[4707,{classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=s(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=i(e("classnames")),o=i(e("prop-types"));function i(e){return e&&e.__esModule?e:{default:e}}function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(s=function(e){return e?n:t})(e)}function l(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class c extends a.PureComponent{constructor(...e){super(...e),l(this,"state",{showAll:!1})}render(){const{showAll:e}=this.state,{children:t,classNames:n}=this.props,o=t.filter(Boolean);return 0===o.length?null:a.default.createElement("div",{className:(0,r.default)(...n,{"home-notification-wrapper--show-all":e,"home-notification-wrapper--show-first":!e,"home-notification-wrapper--multichain":Boolean("")})},o,a.default.createElement("div",{className:"home-notification-wrapper__i-container",onClick:()=>this.setState({showAll:!e})},o.length>1?a.default.createElement("i",{className:(0,r.default)("fa fa-sm fa-sort-amount",{flipped:!e})}):null))}}n.default=c,l(c,"defaultProps",{children:[],classNames:[]}),l(c,"propTypes",{children:o.default.array,classNames:o.default.array})}}},{package:"$root$",file:"ui/components/app/multiple-notifications/multiple-notifications.component.js"}],[4708,{"./name":4711},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./name"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/name/index.ts"}],[4709,{"../../../../../shared/constants/metametrics":4505,"../../../../contexts/metametrics":5327,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.usePetnamesMetrics=function({initialSources:e,name:t,proposedNameOptions:n,savedName:i,savedSourceId:s,selectedSourceId:l,type:c}){const u=(0,a.useContext)(r.MetaMetricsContext),d=(0,a.useCallback)(((e,t={})=>{const a=[...new Set(n.map((e=>e.sourceId)))],r={petname_category:c,suggested_names_sources:a,...t};u({event:e,category:o.MetaMetricsEventCategory.Petnames,properties:r})}),[u,c,n]),p=(0,a.useCallback)((()=>{const e=l??null,n=(null==i?void 0:i.length)&&!(null!=t&&t.length),a=(null==i?void 0:i.length)&&(null==t?void 0:t.length)&&t!==i,r=!(null!=i&&i.length)&&(null==t?void 0:t.length);let c=null,u={};n&&(c=o.MetaMetricsEventName.PetnameDeleted,u={petname_previous_source:s}),a&&(c=o.MetaMetricsEventName.PetnameUpdated,u={petname_previous_source:s,petname_source:e}),r&&(c=o.MetaMetricsEventName.PetnameCreated,u={petname_source:e}),c&&d(c,u)}),[d,t,l,i,s]);return{trackPetnamesOpenEvent:(0,a.useCallback)((()=>{d(o.MetaMetricsEventName.PetnameModalOpened,{has_petname:Boolean(null==i?void 0:i.length),suggested_names_sources:e})}),[d,i,e]),trackPetnamesSaveEvent:p}};var a=e("react"),r=e("../../../../contexts/metametrics"),o=e("../../../../../shared/constants/metametrics")}}},{package:"$root$",file:"ui/components/app/name/name-details/metrics.ts"}],[4710,{"../../../../helpers/constants/design-system":5355,"../../../../hooks/useCopyToClipboard":5417,"../../../../hooks/useDisplayName":5421,"../../../../hooks/useI18nContext":5427,"../../../../hooks/useName":5431,"../../../../selectors":5987,"../../../../store/actions":5998,"../../../component-library":4955,"../../../ui/form-combo-field/form-combo-field":5224,"../name":4711,"./metrics":4709,"@metamask/name-controller":1529,"ethereumjs-util":3288,lodash:3836,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function({onClose:e,type:t,value:n}){const v=(0,o.useSelector)(p.getCurrentChainId),{name:T,sourceId:w}=(0,h.useName)(n,t),{name:_,hasPetname:O}=(0,g.useDisplayName)(n,t),S=(0,o.useSelector)(p.getNameSources,i.isEqual),[C,k]=(0,a.useState)(""),[I,N]=(0,a.useState)(!1),[M,P]=(0,a.useState)(),[A,R]=(0,a.useState)(),j=(0,o.useDispatch)(),D=(0,y.useI18nContext)(),B=!O&&Boolean(_),F=function(e,t){if(t===r.NameType.ETHEREUM_ADDRESS)return(0,s.toChecksumAddress)(e);return e}(n,t),{proposedNames:L,initialSources:W}=function(e,t,n){const r=(0,o.useDispatch)(),{proposedNames:i}=(0,h.useName)(e,t),s=(0,a.useRef)(),[l,c]=(0,a.useState)();return(0,a.useEffect)((()=>{const a=()=>{s.current&&clearInterval(s.current)},o=async()=>{const a=await r((0,f.updateProposedNames)({value:e,type:t,onlyUpdateAfterDelay:!0,variation:n}));l||c(function(e,t){const n=Object.keys(e).filter((t=>{var n;return null===(n=e[t].proposedNames)||void 0===n?void 0:n.length})),a=Object.keys(t).filter((n=>{var a,r;return!(null!==(a=e[n])&&void 0!==a&&a.proposedNames)&&(null===(r=t[n].proposedNames)||void 0===r?void 0:r.length)}));return[...n,...a].sort()}((null==a?void 0:a.results)??{},i))};return a(),o(),s.current=setInterval(o,E),a}),[e,t,n,r,l,c]),{proposedNames:i,initialSources:l}}(n,t,v),[$,U]=(0,m.useCopyToClipboard)();(0,a.useEffect)((()=>{k(T??""),P(w??undefined),R(w?T??undefined:undefined)}),[T,w,k,P]);const V=(0,a.useMemo)((()=>function(e,t,n){const a=Object.keys(e),r=a.filter((t=>{var n;return null===(n=e[t])||void 0===n||null===(n=n.proposedNames)||void 0===n?void 0:n.length})).map((a=>{var r;return((null===(r=e[a])||void 0===r?void 0:r.proposedNames)??[]).map((e=>({value:e,primaryLabel:t("nameModalMaybeProposedName",[e]),secondaryLabel:t("nameProviderProposedBy",[x(a,t,n)]),sourceId:a})))})).flat();return r.sort(((e,t)=>e.secondaryLabel.toLowerCase().localeCompare(t.secondaryLabel.toLowerCase())))}(L,D,S)),[L,S]),{trackPetnamesOpenEvent:H,trackPetnamesSaveEvent:z}=(0,b.usePetnamesMetrics)({initialSources:W,name:C,proposedNameOptions:V,savedName:T,savedSourceId:w,selectedSourceId:M,type:t});(0,a.useEffect)((()=>{W&&!I&&(H(),N(!0))}),[W,I,H]);const q=(0,a.useCallback)((async()=>{z(),await j((0,f.setName)({value:n,type:t,name:null!=C&&C.length?C:null,sourceId:M,variation:v})),e()}),[C,M,e,z,v]),Y=(0,a.useCallback)((()=>{e()}),[e]),G=(0,a.useCallback)((e=>{k(e),e!==A&&(P(undefined),R(undefined))}),[k,M,P,R]),Q=(0,a.useCallback)((e=>{P(e.sourceId),R(e.value)}),[P,R]),K=(0,a.useCallback)((()=>{U(F)}),[U,F]),[J,X]=O?[D("nameModalTitleSaved"),D("nameInstructionsSaved")]:B?[D("nameModalTitleRecognized"),D("nameInstructionsRecognized")]:[D("nameModalTitleNew"),D("nameInstructionsNew")];return a.default.createElement(l.Box,null,a.default.createElement(l.Modal,{isOpen:!0,onClose:Y},a.default.createElement(l.ModalOverlay,null),a.default.createElement(l.ModalContent,null,a.default.createElement(l.ModalHeader,{onClose:Y},J),a.default.createElement(l.ModalBody,{className:"name-details__modal-body"},a.default.createElement("div",{style:{textAlign:"center",marginBottom:16,marginTop:8}},a.default.createElement(u.default,{value:n,type:r.NameType.ETHEREUM_ADDRESS,disableEdit:!0,internal:!0})),a.default.createElement(l.Text,{marginBottom:4,justifyContent:c.JustifyContent.spaceBetween},X),a.default.createElement(l.FormTextField,{id:"address",className:"name-details__address",label:D("nameAddressLabel"),value:F,marginBottom:4,disabled:!0,endAccessory:a.default.createElement(l.ButtonIcon,{display:c.Display.Flex,iconName:$?l.IconName.CopySuccess:l.IconName.Copy,size:l.ButtonIconSize.Sm,onClick:K,color:c.IconColor.iconMuted,ariaLabel:D("copyAddress")})}),a.default.createElement(l.Label,{flexDirection:c.FlexDirection.Column,alignItems:c.AlignItems.flexStart,marginBottom:2,className:"name-details__display-name"},D("nameLabel"),a.default.createElement(d.default,{hideDropdownIfNoOptions:!0,value:C,options:V,placeholder:D("nameSetPlaceholder"),onChange:G,onOptionClick:Q}))),a.default.createElement(l.ModalFooter,null,a.default.createElement(l.Button,{variant:l.ButtonVariant.Primary,startIconName:l.IconName.Save,width:c.BlockSize.Full,onClick:q,size:l.ButtonSize.Lg},D("save"))))))};var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=T(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=e("@metamask/name-controller"),o=e("react-redux"),i=e("lodash"),s=e("ethereumjs-util"),l=e("../../../component-library"),c=e("../../../../helpers/constants/design-system"),u=v(e("../name")),d=v(e("../../../ui/form-combo-field/form-combo-field")),p=e("../../../../selectors"),f=e("../../../../store/actions"),m=e("../../../../hooks/useCopyToClipboard"),h=e("../../../../hooks/useName"),g=e("../../../../hooks/useDisplayName"),y=e("../../../../hooks/useI18nContext"),b=e("./metrics");function v(e){return e&&e.__esModule?e:{default:e}}function T(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(T=function(e){return e?n:t})(e)}const E=2e3;const w=["ens","etherscan","lens","token"];function x(e,t,n){var a;if(w.includes(e)){return t(`nameProvider_${e}`)}return(null===(a=n[e])||void 0===a?void 0:a.label)??e}}}},{package:"$root$",file:"ui/components/app/name/name-details/name-details.tsx"}],[4711,{"../../../../shared/constants/metametrics":4505,"../../../contexts/metametrics":5327,"../../../helpers/constants/design-system":5355,"../../../helpers/utils/util":5399,"../../../hooks/useDisplayName":5421,"../../component-library":4955,"../../ui/identicon":5247,"./name-details/name-details":4710,"@metamask/name-controller":1529,classnames:3049,"ethereumjs-util":3288,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function({value:e,type:t,disableEdit:n,internal:h,preferContractSymbol:g=!1}){const[y,b]=(0,a.useState)(!1),v=(0,a.useContext)(c.MetaMetricsContext),{name:T,hasPetname:E}=(0,p.useDisplayName)(e,t,g);(0,a.useEffect)((()=>{h||v({event:u.MetaMetricsEventName.PetnameDisplayed,category:u.MetaMetricsEventCategory.Petnames,properties:{petname_category:t,has_petname:Boolean(null==T?void 0:T.length)}})}),[]);const w=(0,a.useCallback)((()=>{b(!0)}),[b]),x=(0,a.useCallback)((()=>{b(!1)}),[b]),_=function(e,t){if(t===r.NameType.ETHEREUM_ADDRESS)return(0,l.shortenAddress)((0,i.toChecksumAddress)(e));return e}(e,t),O=Boolean(T);return a.default.createElement("div",null,!n&&y&&a.default.createElement(m.default,{value:e,type:t,onClose:x}),a.default.createElement("div",{className:(0,o.default)({name:!0,name__saved:E,name__recognized_unsaved:!E&&O,name__missing:!O}),onClick:w},O?a.default.createElement(f.default,{address:e,diameter:16}):a.default.createElement(s.Icon,{name:s.IconName.Question,className:"name__icon",size:s.IconSize.Md}),O?a.default.createElement(s.Text,{className:"name__name",variant:d.TextVariant.bodyMd},T):a.default.createElement(s.Text,{className:"name__value",variant:d.TextVariant.bodyMd},_)))};var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=g(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=e("@metamask/name-controller"),o=h(e("classnames")),i=e("ethereumjs-util"),s=e("../../component-library"),l=e("../../../helpers/utils/util"),c=e("../../../contexts/metametrics"),u=e("../../../../shared/constants/metametrics"),d=e("../../../helpers/constants/design-system"),p=e("../../../hooks/useDisplayName"),f=h(e("../../ui/identicon")),m=h(e("./name-details/name-details"));function h(e){return e&&e.__esModule?e:{default:e}}function g(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(g=function(e){return e?n:t})(e)}}}},{package:"$root$",file:"ui/components/app/name/name.tsx"}],[4712,{"./network-account-balance-header":4713},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./network-account-balance-header"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/network-account-balance-header/index.js"}],[4713,{"../../../../shared/constants/network":4507,"../../../contexts/i18n":5324,"../../../helpers/constants/design-system":5355,"../../component-library":4955,"../../ui/box/box":5193,"../../ui/icon-with-fallback":5232,"../../ui/identicon":5247,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=m;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=p(e("prop-types")),o=p(e("../../ui/icon-with-fallback")),i=p(e("../../ui/identicon")),s=e("../../../helpers/constants/design-system"),l=p(e("../../ui/box/box")),c=e("../../../contexts/i18n"),u=e("../../../../shared/constants/network"),d=e("../../component-library");function p(e){return e&&e.__esModule?e:{default:e}}function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}function m({networkName:e,accountName:t,accountBalance:n,tokenName:r,accountAddress:p,chainId:f}){const m=(0,a.useContext)(c.I18nContext),h=u.CHAIN_ID_TO_NETWORK_IMAGE_URL_MAP[f],g=h?"network-account-balance-header__network-account__ident-icon-ethereum":"network-account-balance-header__network-account__ident-icon-ethereum--gray";return a.default.createElement(l.default,{display:s.Display.Flex,flexDirection:s.FlexDirection.Row,padding:4,className:"network-account-balance-header",alignItems:s.AlignItems.center,justifyContent:s.JustifyContent.spaceBetween},a.default.createElement(l.default,{display:s.Display.Flex,flexDirection:s.FlexDirection.Row,alignItems:s.AlignItems.center,gap:2},a.default.createElement(l.default,{display:s.Display.Flex,flexDirection:s.FlexDirection.Row,alignItems:s.AlignItems.center},a.default.createElement(i.default,{address:p,diameter:32}),a.default.createElement(o.default,{name:e,size:16,icon:h,wrapperClassName:g})),a.default.createElement(l.default,{display:s.Display.Flex,alignItems:s.AlignItems.flexStart,flexDirection:s.FlexDirection.Column},a.default.createElement(d.Text,{variant:s.TextVariant.bodySm,as:"h6",color:s.TextColor.textAlternative,"data-testid":"signature-request-network-display"},e),a.default.createElement(d.Text,{variant:s.TextVariant.bodySm,as:"h6",color:s.TextColor.textDefault,fontWeight:s.FontWeight.Bold},t))),a.default.createElement(l.default,{display:s.Display.Flex,alignItems:s.AlignItems.flexEnd,flexDirection:s.FlexDirection.Column},a.default.createElement(d.Text,{variant:s.TextVariant.bodySm,as:"h6",color:s.TextColor.textAlternative},m("balance")),a.default.createElement(d.Text,{variant:s.TextVariant.bodySm,as:"h6",color:s.TextColor.textDefault,fontWeight:s.FontWeight.Bold,align:s.TextAlign.End},n," ",r)))}m.propTypes={networkName:r.default.string,accountName:r.default.string,accountBalance:r.default.string,tokenName:r.default.string,accountAddress:r.default.string,chainId:r.default.string}}}},{package:"$root$",file:"ui/components/app/network-account-balance-header/network-account-balance-header.js"}],[4714,{"./network-display":4715},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./network-display"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/network-display/index.js"}],[4715,{"../../../helpers/constants/design-system":5355,"../../../selectors":5987,"../../component-library":4955,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(){var e;const t=(0,o.useSelector)(s.getCurrentNetwork);return r.default.createElement(l.PickerNetwork,{className:"network-display",label:null==t?void 0:t.nickname,labelProps:{"data-testid":"network-display"},src:null==t||null===(e=t.rpcPrefs)||void 0===e?void 0:e.imageUrl,iconProps:{display:"none"},avatarNetworkProps:{size:l.AvatarNetworkSize.Xs},as:"div",backgroundColor:i.BackgroundColor.transparent,borderWidth:0,borderColor:i.BorderColor.borderMuted})};var a,r=(a=e("react"))&&a.__esModule?a:{default:a},o=e("react-redux"),i=e("../../../helpers/constants/design-system"),s=e("../../../selectors"),l=e("../../component-library")}}},{package:"$root$",file:"ui/components/app/network-display/network-display.js"}],[4716,{"../../../helpers/constants/design-system":5355,"../../../hooks/useI18nContext":5427,"../../../store/actions":5998,"../../component-library":4955,classnames:3049,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=p;var a=d(e("react")),r=d(e("prop-types")),o=d(e("classnames")),i=e("react-redux"),s=e("../../../helpers/constants/design-system"),l=e("../../../hooks/useI18nContext"),c=e("../../component-library"),u=e("../../../store/actions");function d(e){return e&&e.__esModule?e:{default:e}}function p({className:e,clickable:t}){const n=(0,l.useI18nContext)(),r=(0,i.useDispatch)();return a.default.createElement(c.Box,{tabIndex:0,"data-testid":"nft-default-image",className:(0,o.default)(e,"nft-default",{"nft-default--clickable":t}),display:s.Display.Flex,alignItems:s.AlignItems.Center,justifyContent:s.JustifyContent.Center,borderRadius:s.BorderRadius.LG},t&&a.default.createElement(c.ButtonLink,{block:!0,className:"nft-default__button",onClick:e=>{e.stopPropagation(),r((0,u.showIpfsModal)())}},n("show")))}p.propTypes={clickable:r.default.bool,className:r.default.string}}}},{package:"$root$",file:"ui/components/app/nft-default-image/nft-default-image.js"}],[4717,{"../../../../shared/constants/network":4507,"../../../helpers/constants/design-system":5355,"../../../hooks/useI18nContext":5427,"../../../store/actions":5998,"../../component-library":4955,"../../component-library/modal-content/deprecated":4963,"../../component-library/modal-header/deprecated":4972,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.ToggleIpfsModal=void 0;var a=f(e("react")),r=f(e("prop-types")),o=e("react-redux"),i=e("../../component-library"),s=e("../../component-library/modal-content/deprecated"),l=e("../../component-library/modal-header/deprecated"),c=e("../../../hooks/useI18nContext"),u=e("../../../store/actions"),d=e("../../../../shared/constants/network"),p=e("../../../helpers/constants/design-system");function f(e){return e&&e.__esModule?e:{default:e}}const m=({onClose:e})=>{const t=(0,c.useI18nContext)(),n=(0,o.useDispatch)();return a.default.createElement(i.Modal,{isOpen:!0,onClose:e,className:"toggle-ipfs-modal"},a.default.createElement(i.ModalOverlay,null),a.default.createElement(s.ModalContent,null,a.default.createElement(l.ModalHeader,{onClose:e},t("showNft")),a.default.createElement(i.Box,{className:"toggle-ipfs-modal",marginTop:6},a.default.createElement(i.Text,{variant:p.TextVariant.bodyMd,color:p.TextColor.textAlternative},t("ipfsToggleModalDescriptionOne")),a.default.createElement(i.Text,{variant:p.TextVariant.bodyMd,color:p.TextColor.textAlternative,marginTop:6},t("ipfsToggleModalDescriptionTwo",[a.default.createElement(i.Text,{variant:p.TextVariant.bodyMdBold,color:p.TextColor.textAlternative,as:"span",key:"span"},t("ipfsToggleModalSettings"),",")]))),a.default.createElement(i.ButtonPrimary,{block:!0,marginTop:9,onClick:()=>{n((0,u.setIpfsGateway)(d.IPFS_DEFAULT_GATEWAY_URL)),n((0,u.setIsIpfsGatewayEnabled)(!0)),n((0,u.hideIpfsModal)())},size:p.Size.LG},t("confirm"))))};n.ToggleIpfsModal=m,m.propTypes={onClose:r.default.func.isRequired}}}},{package:"$root$",file:"ui/components/app/nft-default-image/toggle-ipfs-modal.js"}],[4718,{"../../../../app/scripts/lib/util":120,"../../../../shared/constants/app":4493,"../../../../shared/constants/metametrics":4505,"../../../../shared/constants/network":4507,"../../../../shared/constants/transaction":4520,"../../../../shared/modules/string-utils":4558,"../../../contexts/metametrics":5327,"../../../ducks/metamask/metamask":5346,"../../../ducks/send":5348,"../../../helpers/constants/design-system":5355,"../../../helpers/constants/routes":5361,"../../../helpers/utils/nfts":5391,"../../../helpers/utils/util":5399,"../../../hooks/useCopyToClipboard":5417,"../../../hooks/useI18nContext":5427,"../../../hooks/usePrevious":5436,"../../../pages/asset/components/asset-navigation":5456,"../../../selectors":5987,"../../../store/actions":5998,"../../component-library":4955,"../../multichain/nft-item":5100,"../../ui/box":5194,"../../ui/button":5198,"../../ui/info-tooltip":5248,"../../ui/tooltip":5310,"../nft-options/nft-options":4719,lodash:3836,"prop-types":3997,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=D;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=j(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=R(e("prop-types")),o=e("react-redux"),i=e("react-router-dom"),s=e("lodash"),l=R(e("../../ui/box")),c=e("../../../helpers/constants/design-system"),u=e("../../../hooks/useI18nContext"),d=e("../../../helpers/utils/util"),p=e("../../../helpers/utils/nfts"),f=e("../../../selectors"),m=R(e("../../../pages/asset/components/asset-navigation")),h=e("../../../ducks/metamask/metamask"),g=e("../../../helpers/constants/routes"),y=e("../../../store/actions"),b=e("../../../../shared/constants/network"),v=e("../../../../app/scripts/lib/util"),T=e("../../../../shared/constants/app"),E=R(e("../nft-options/nft-options")),w=R(e("../../ui/button")),x=e("../../../ducks/send"),_=R(e("../../ui/info-tooltip")),O=e("../../../hooks/usePrevious"),S=e("../../../hooks/useCopyToClipboard"),C=e("../../../../shared/modules/string-utils"),k=e("../../../../shared/constants/transaction"),I=e("../../component-library"),N=R(e("../../ui/tooltip")),M=e("../../multichain/nft-item"),P=e("../../../../shared/constants/metametrics"),A=e("../../../contexts/metametrics");function R(e){return e&&e.__esModule?e:{default:e}}function j(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(j=function(e){return e?n:t})(e)}function D({nft:e}){var t,n,r,R;const{image:j,imageOriginal:D,name:B,description:F,address:L,tokenId:W,standard:$,isCurrentlyOwned:U,lastSale:V}=e,H=(0,u.useI18nContext)(),z=(0,i.useHistory)(),q=(0,o.useDispatch)(),Y=(0,o.useSelector)(f.getIpfsGateway),G=(0,o.useSelector)(h.getNftContracts),Q=(0,o.useSelector)(f.getCurrentChainId),K=(0,o.useSelector)(f.getCurrentNetwork),J=(0,a.useContext)(A.MetaMetricsContext),[X,Z]=(0,S.useCopyToClipboard)(),ee=null===(t=G.find((({address:e})=>(0,C.isEqualCaseInsensitive)(e,L))))||void 0===t?void 0:t.name,{metadata:{name:te}}=(0,o.useSelector)(f.getSelectedInternalAccount),ne=(0,p.getNftImageAlt)(e),ae=D??j,re=(0,d.getAssetImageURL)(D??j,Y),oe=null==ae?void 0:ae.startsWith("ipfs:"),ie=null==j?void 0:j.startsWith("https:"),se=(0,d.formatDate)(new Date(null==V?void 0:V.timestamp).getTime(),"M/d/y"),{chainId:le}=K;(0,a.useEffect)((()=>{J({event:P.MetaMetricsEventName.NftDetailsOpened,category:P.MetaMetricsEventCategory.Tokens,properties:{chain_id:le}})}),[J,le]);const ce=(0,O.usePrevious)(e);(0,a.useEffect)((()=>{(0,s.isEqual)(ce,e)||(0,y.checkAndUpdateSingleNftOwnershipStatus)(e)}),[e,ce]);const ue=(()=>{switch(Q){case b.CHAIN_IDS.MAINNET:return`https://opensea.io/assets/ethereum/${L}/${W}`;case b.CHAIN_IDS.POLYGON:return`https://opensea.io/assets/matic/${L}/${W}`;case b.CHAIN_IDS.GOERLI:return`https://testnets.opensea.io/assets/goerli/${L}/${W}`;case b.CHAIN_IDS.SEPOLIA:return`https://testnets.opensea.io/assets/sepolia/${L}/${W}`;default:return null}})(),de=$!==k.TokenStandard.ERC721&&$!==k.TokenStandard.ERC1155,pe=(0,v.getEnvironmentType)()===T.ENVIRONMENT_TYPE_POPUP,fe=async()=>{await q((0,x.startNewDraftTransaction)({type:k.AssetType.NFT,details:e})),z.push(g.SEND_ROUTE)},me=()=>!1===U?a.default.createElement("div",{style:{height:"30px"}}):a.default.createElement(l.default,{display:c.Display.Flex,margin:pe?[4,0]:null},a.default.createElement(w.default,{type:"primary",onClick:fe,disabled:de,className:"nft-details__send-button","data-testid":"nft-send-button"},H("send")),de?a.default.createElement(_.default,{position:"top",contentText:H("sendingDisabled")}):null);return a.default.createElement(a.default.Fragment,null,a.default.createElement(m.default,{accountName:te,assetName:ee,onBack:()=>z.push(g.DEFAULT_ROUTE),optionsButton:a.default.createElement(E.default,{onViewOnOpensea:ue?()=>global.platform.openTab({url:ue}):null,onRemove:async()=>{let e=!1;try{await q((0,y.removeAndIgnoreNft)(L,W)),q((0,y.setNewNftAddedMessage)("")),q((0,y.setRemoveNftMessage)("success")),e=!0}catch(e){q((0,y.setNewNftAddedMessage)("")),q((0,y.setRemoveNftMessage)("error"))}finally{J({event:P.MetaMetricsEventName.NFTRemoved,category:"Wallet",properties:{token_contract_address:L,tokenId:W.toString(),asset_type:k.AssetType.NFT,token_standard:$,chain_id:Q,isSuccessful:e}}),z.push(g.DEFAULT_ROUTE)}}})}),a.default.createElement(l.default,{className:"nft-details"},a.default.createElement(l.default,{className:"nft-details__top-section",gap:6,flexDirection:c.FlexDirection.Column},a.default.createElement(l.default,{className:"nft-details__nft-item"},a.default.createElement(M.NftItem,{nftImageURL:re,src:ie?j:re,alt:j?ne:"",name:B,tokenId:W,networkName:K.nickname,networkSrc:null===(n=K.rpcPrefs)||void 0===n?void 0:n.imageUrl,isIpfsURL:oe,clickable:!0})),a.default.createElement(l.default,{flexDirection:c.FlexDirection.Column,className:"nft-details__info",marginTop:4,justifyContent:c.JustifyContent.spaceBetween},a.default.createElement("div",null,a.default.createElement(I.Text,{color:c.TextColor.textDefault,variant:c.TextVariant.headingSm,as:"h4",fontWeight:c.FontWeight.Bold,marginBottom:2},B),a.default.createElement(I.Text,{color:c.TextColor.textMuted,variant:c.TextVariant.bodyMd,as:"h5",marginBottom:4,overflowWrap:c.OverflowWrap.BreakWord},"#",W)),F?a.default.createElement("div",null,a.default.createElement(I.Text,{color:c.TextColor.textDefault,variant:c.TextVariant.bodySmBold,as:"h6",marginBottom:2,className:"nft-details__description"},H("description")),a.default.createElement(I.Text,{color:c.TextColor.textAlternative,variant:c.TextVariant.bodySm,as:"h6",overflowWrap:c.OverflowWrap.BreakWord,marginBottom:4},F)):null,pe?null:me())),a.default.createElement(l.default,{marginBottom:2},V?a.default.createElement(a.default.Fragment,null,a.default.createElement(l.default,{display:c.Display.Flex,flexDirection:c.FlexDirection.Row},a.default.createElement(I.Text,{color:c.TextColor.textDefault,variant:c.TextVariant.bodySmBold,as:"h6",marginBottom:4,marginRight:2,className:"nft-details__link-title"},H("lastSold")),a.default.createElement(l.default,{display:c.Display.Flex,flexDirection:c.FlexDirection.Row,className:"nft-details__contract-wrapper"},a.default.createElement(I.Text,{color:c.TextColor.textAlternative,variant:c.TextVariant.bodySm,as:"h6",overflowWrap:c.OverflowWrap.BreakWord,marginBottom:4},se))),a.default.createElement(l.default,{display:c.Display.Flex,flexDirection:c.FlexDirection.Row},a.default.createElement(I.Text,{color:c.TextColor.textDefault,variant:c.TextVariant.bodySmBold,as:"h6",marginBottom:4,marginRight:2,className:"nft-details__link-title"},H("lastPriceSold")),a.default.createElement(l.default,{display:c.Display.Flex,flexDirection:c.FlexDirection.Row,className:"nft-details__contract-wrapper"},a.default.createElement(I.Text,{color:c.TextColor.textAlternative,variant:c.TextVariant.bodySm,as:"h6",overflowWrap:c.OverflowWrap.BreakWord,marginBottom:4},null==V||null===(r=V.price)||void 0===r||null===(r=r.amount)||void 0===r?void 0:r.decimal," ",null==V||null===(R=V.price)||void 0===R||null===(R=R.currency)||void 0===R?void 0:R.symbol)))):null,a.default.createElement(l.default,{display:c.Display.Flex,flexDirection:c.FlexDirection.Row},a.default.createElement(I.Text,{color:c.TextColor.textDefault,variant:c.TextVariant.bodySmBold,as:"h6",marginBottom:4,marginRight:2,className:"nft-details__link-title"},H("contractAddress")),a.default.createElement(l.default,{display:c.Display.Flex,flexDirection:c.FlexDirection.Row,className:"nft-details__contract-wrapper"},a.default.createElement(I.Text,{color:c.TextColor.textAlternative,variant:c.TextVariant.bodySm,as:"h6",overflowWrap:c.OverflowWrap.BreakWord,marginBottom:4},(0,d.shortenAddress)(L)),a.default.createElement(N.default,{wrapperClassName:"nft-details__tooltip-wrapper",position:"bottom",title:H(X?"copiedExclamation":"copyToClipboard")},a.default.createElement(I.ButtonIcon,{ariaLabel:"copy",color:c.IconColor.iconAlternative,className:"nft-details__contract-copy-button","data-testid":"nft-address-copy",onClick:()=>{Z(L)},iconName:X?I.IconName.CopySuccess:I.IconName.Copy})))),pe?me():null,a.default.createElement(I.Text,{color:c.TextColor.textAlternative,variant:c.TextVariant.bodySm,as:"h6"},H("nftDisclaimer")))))}D.propTypes={nft:r.default.shape({address:r.default.string.isRequired,tokenId:r.default.string.isRequired,isCurrentlyOwned:r.default.bool,name:r.default.string,description:r.default.string,image:r.default.string,standard:r.default.string,imageThumbnail:r.default.string,imagePreview:r.default.string,imageOriginal:r.default.string,creator:r.default.shape({address:r.default.string,config:r.default.string,profile_img_url:r.default.string}),lastSale:r.default.shape({timestamp:r.default.string,price:r.default.shape({amount:r.default.shape({native:r.default.string,decimal:r.default.string}),currency:r.default.shape({symbol:r.default.string})})})})}}}},{package:"$root$",file:"ui/components/app/nft-details/nft-details.js"}],[4719,{"../../../contexts/i18n":5324,"../../../helpers/constants/design-system":5355,"../../component-library":4955,"../../ui/menu":5264,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=u(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=(a=e("prop-types"))&&a.__esModule?a:{default:a},i=e("../../../contexts/i18n"),s=e("../../ui/menu"),l=e("../../component-library"),c=e("../../../helpers/constants/design-system");function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(u=function(e){return e?n:t})(e)}const d=({onRemove:e,onViewOnOpensea:t})=>{const n=(0,r.useContext)(i.I18nContext),[a,o]=(0,r.useState)(!1),u=(0,r.useRef)(!1);return r.default.createElement("div",{ref:u},r.default.createElement(l.ButtonIcon,{iconName:l.IconName.MoreVertical,className:"nft-options__button","data-testid":"nft-options__button",onClick:()=>o(!0),color:c.Color.textDefault,size:l.ButtonIconSize.Sm,ariaLabel:n("nftOptions")}),a?r.default.createElement(s.Menu,{"data-testid":"close-nft-options-menu",anchorElement:u.current,onHide:()=>o(!1)},t?r.default.createElement(s.MenuItem,{iconName:l.IconName.Export,"data-testid":"nft-options__view-on-opensea",onClick:()=>{o(!1),t()}},n("viewOnOpensea")):null,r.default.createElement(s.MenuItem,{iconName:l.IconName.Trash,"data-testid":"nft-item-remove",onClick:()=>{o(!1),e()}},n("removeNFT"))):null)};d.propTypes={onRemove:o.default.func.isRequired,onViewOnOpensea:o.default.func};n.default=d}}},{package:"$root$",file:"ui/components/app/nft-options/nft-options.js"}],[4720,{"../../../helpers/constants/routes":5361,"../../../hooks/useI18nContext":5427,"../../component-library":4955,"prop-types":3997,react:4243,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=u;var a=c(e("react")),r=c(e("prop-types")),o=e("react-router-dom"),i=e("../../component-library"),s=e("../../../hooks/useI18nContext"),l=e("../../../helpers/constants/routes");function c(e){return e&&e.__esModule?e:{default:e}}function u({onActionButtonClick:e}){const t=(0,s.useI18nContext)(),n=(0,o.useHistory)();return a.default.createElement(i.BannerAlert,{className:"nfts-detection-notice",actionButtonLabel:t("selectEnableDisplayMediaPrivacyPreference"),actionButtonOnClick:t=>{t.preventDefault(),n.push(`${l.SECURITY_ROUTE}#display-nft-media`),null==e||e()}},t("newNFTDetectedInImportNFTsMsg",[a.default.createElement("b",{key:"new-nft-detected-in-import-nfts-message-strong-text"},t("newNFTDetectedInImportNFTsMessageStrongText"))]))}u.propTypes={onActionButtonClick:r.default.func.isRequired}}}},{package:"$root$",file:"ui/components/app/nfts-detection-notice-import-nfts/nfts-detection-notice-import-nfts.js"}],[4721,{"../../../helpers/constants/routes":5361,"../../../hooks/useI18nContext":5427,"../../component-library":4955,react:4243,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(){const e=(0,s.useI18nContext)(),t=(0,o.useHistory)();return r.default.createElement(i.BannerAlert,{className:"nfts-detection-notice",title:e("newNFTsAutodetected"),actionButtonLabel:e("selectNFTPrivacyPreference"),actionButtonOnClick:e=>{e.preventDefault(),t.push(`${l.SECURITY_ROUTE}#autodetect-nfts`)}},e("newNFTDetectedInNFTsTabMessage"))};var a,r=(a=e("react"))&&a.__esModule?a:{default:a},o=e("react-router-dom"),i=e("../../component-library"),s=e("../../../hooks/useI18nContext"),l=e("../../../helpers/constants/routes")}}},{package:"$root$",file:"ui/components/app/nfts-detection-notice-nfts-tab/nfts-detection-notice-nfts-tab.js"}],[4722,{"./nfts-items":4723},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./nfts-items"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/nfts-items/index.js"}],[4723,{"../../../../app/scripts/lib/util":120,"../../../../shared/constants/app":4493,"../../../../shared/constants/metametrics":4505,"../../../../shared/constants/transaction":4520,"../../../contexts/metametrics":5327,"../../../ducks/metamask/metamask":5346,"../../../ducks/send":5348,"../../../helpers/constants/design-system":5355,"../../../helpers/constants/routes":5361,"../../../helpers/utils/nfts":5391,"../../../helpers/utils/util":5399,"../../../hooks/useI18nContext":5427,"../../../hooks/usePrevious":5436,"../../../selectors":5987,"../../../store/actions":5998,"../../component-library":4955,"../../multichain/nft-item":5100,"../../ui/box":5194,"../../ui/typography/typography":5315,lodash:3836,"prop-types":3997,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=M;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=k(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=C(e("prop-types")),o=e("react-redux"),i=e("react-router-dom"),s=e("lodash"),l=C(e("../../ui/box")),c=C(e("../../ui/typography/typography")),u=e("../../../helpers/constants/design-system"),d=e("../../../../shared/constants/app"),p=e("../../../../app/scripts/lib/util"),f=e("../../../selectors"),m=e("../../../helpers/constants/routes"),h=e("../../../helpers/utils/util"),g=e("../../../helpers/utils/nfts"),y=e("../../../store/actions"),b=e("../../../hooks/usePrevious"),v=e("../../../ducks/metamask/metamask"),T=e("../../../hooks/useI18nContext"),E=e("../../component-library"),w=e("../../multichain/nft-item"),x=e("../../../ducks/send"),_=e("../../../../shared/constants/transaction"),O=e("../../../contexts/metametrics"),S=e("../../../../shared/constants/metametrics");function C(e){return e&&e.__esModule?e:{default:e}}function k(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(k=function(e){return e?n:t})(e)}const I=e=>{const t=(0,p.getEnvironmentType)()===d.ENVIRONMENT_TYPE_POPUP;return e||t===d.ENVIRONMENT_TYPE_POPUP?u.BLOCK_SIZES.ONE_THIRD:u.BLOCK_SIZES.ONE_SIXTH},N="previouslyOwned";function M({collections:e={},previouslyOwnedCollection:t={},isModal:n=!1,onCloseModal:r={},showTokenId:d=!1,displayPreviouslyOwnedCollection:p=!0}){var C;const k=(0,o.useDispatch)(),M=Object.keys(e),P=(0,o.useSelector)(v.getNftsDropdownState),A=(0,b.usePrevious)(M),{address:R}=(0,o.useSelector)(f.getSelectedInternalAccount),j=(0,o.useSelector)(f.getCurrentChainId),D=(0,o.useSelector)(f.getCurrentNetwork),B=(0,T.useI18nContext)(),F=(0,o.useSelector)(f.getIpfsGateway),L=(0,o.useSelector)(f.getOpenSeaEnabled),W=(0,a.useContext)(O.MetaMetricsContext),$=(0,o.useSelector)(x.getSendAnalyticProperties);(0,a.useEffect)((()=>{var e,t;if(j!==undefined&&R!==undefined&&!(0,s.isEqual)(A,M)&&((null==P||null===(e=P[R])||void 0===e?void 0:e[j])===undefined||0===Object.keys(null==P||null===(t=P[R])||void 0===t?void 0:t[j]).length)){const e={};M.forEach((t=>{e[t]=!0}));const t={...P,[R]:{...null==P?void 0:P[R],[j]:e}};k((0,y.updateNftDropDownState)(t))}}),[M,A,P,R,j,k]);const U=(0,i.useHistory)(),V=({nfts:e,collectionName:t,collectionImage:o,key:i})=>{var s;if(!e.length)return null;const p=null===(s=P[R])||void 0===s||null===(s=s[j])||void 0===s?void 0:s[i];return a.default.createElement("div",{className:"nfts-items__collection",key:`collection-${i}`},a.default.createElement("button",{className:"nfts-items__collection-wrapper","data-testid":"collection-expander-button",onClick:()=>{((e,t)=>{const n={...P[R][j],[e]:!t},a={...P,[R]:{[j]:n}};k((0,y.updateNftDropDownState)(a))})(i,p)}},a.default.createElement(l.default,{marginBottom:2,display:u.DISPLAY.FLEX,alignItems:u.AlignItems.center,justifyContent:u.JustifyContent.spaceBetween,className:"nfts-items__collection-accordion-title"},a.default.createElement(l.default,{alignItems:u.AlignItems.center,className:"nfts-items__collection-header"},((e,t)=>{var n,r,o;return null!=e&&e.startsWith("ipfs")&&!F?a.default.createElement("div",{className:"nfts-items__collection-image-alt"},(null==t||null===(r=t[0])||void 0===r?void 0:r.toUpperCase())??null):L||null!=e&&e.startsWith("ipfs")?e?a.default.createElement("img",{alt:t,src:(0,h.getAssetImageURL)(e,F),className:"nfts-items__collection-image"}):a.default.createElement("div",{className:"nfts-items__collection-image-alt"},(null==t||null===(n=t[0])||void 0===n?void 0:n.toUpperCase())??null):a.default.createElement("div",{className:"nfts-items__collection-image-alt"},(null==t||null===(o=t[0])||void 0===o?void 0:o.toUpperCase())??null)})(o,t),a.default.createElement(c.default,{color:u.Color.textDefault,variant:u.TypographyVariant.H5,margin:2},`${t??B("unknownCollection")} (${e.length})`)),a.default.createElement(l.default,{alignItems:u.AlignItems.flexEnd},a.default.createElement(E.Icon,{name:p?E.IconName.ArrowDown:E.IconName.ArrowRight,color:u.Color.iconDefault})))),p?a.default.createElement(l.default,{display:u.DISPLAY.FLEX,flexWrap:u.FLEX_WRAP.WRAP,gap:4},e.map(((e,t)=>{var o,i;const{image:s,address:c,tokenId:u,name:p,imageOriginal:f,tokenURI:y}=e,b=(0,h.getAssetImageURL)(f??s,F),v=(0,g.getNftImageAlt)(e),T=null==s?void 0:s.startsWith("https:"),O=null!=f&&f.startsWith("ipfs")?b:s,C=null===(o=f??s??y)||void 0===o?void 0:o.startsWith("ipfs:");return a.default.createElement(l.default,{"data-testid":"nft-wrapper",width:I(n),key:`nft-${t}`,className:"nfts-items__item-wrapper"},a.default.createElement(w.NftItem,{nftImageURL:O,alt:v,src:T?s:b,name:p,tokenId:u,networkName:D.nickname,networkSrc:null===(i=D.rpcPrefs)||void 0===i?void 0:i.imageUrl,onClick:()=>n?(async e=>{W({event:S.MetaMetricsEventName.sendAssetSelected,category:S.MetaMetricsEventCategory.Send,properties:{...$,is_destination_asset_picker_modal:!1,new_asset_symbol:e.name,new_asset_address:e.address,is_nft:!0}}),await k((0,x.updateSendAsset)({type:_.AssetType.NFT,details:e,skipComputeEstimatedGasLimit:!1})),U.push(m.SEND_ROUTE),r()})(e):U.push(`${m.ASSET_ROUTE}/${c}/${u}`),isIpfsURL:C,clickable:!0}),d?a.default.createElement(E.Text,null,`${B("id")}: ${u}`):null)}))):null)};return a.default.createElement("div",{className:"nfts-items"},a.default.createElement(l.default,{paddingTop:6,paddingBottom:6,paddingLeft:4,paddingRight:4,flexDirection:u.FLEX_DIRECTION.COLUMN},a.default.createElement(a.default.Fragment,null,M.map((t=>{const{nfts:n,collectionName:a,collectionImage:r}=e[t];return V({nfts:n,collectionName:a,collectionImage:r,key:t,isPreviouslyOwnedCollection:!1})})),p?V({nfts:t.nfts,collectionName:t.collectionName,collectionImage:null===(C=t.nfts[0])||void 0===C?void 0:C.image,isPreviouslyOwnedCollection:!0,key:N}):null)))}M.propTypes={previouslyOwnedCollection:r.default.shape({nfts:r.default.arrayOf(r.default.shape({address:r.default.string.isRequired,tokenId:r.default.string.isRequired,name:r.default.string,description:r.default.string,image:r.default.string,standard:r.default.string,imageThumbnail:r.default.string,imagePreview:r.default.string,creator:r.default.shape({address:r.default.string,config:r.default.string,profile_img_url:r.default.string})})),collectionName:r.default.string,collectionImage:r.default.string}),collections:r.default.shape({nfts:r.default.arrayOf(r.default.shape({address:r.default.string.isRequired,tokenId:r.default.string.isRequired,name:r.default.string,description:r.default.string,image:r.default.string,standard:r.default.string,imageThumbnail:r.default.string,imagePreview:r.default.string,creator:r.default.shape({address:r.default.string,config:r.default.string,profile_img_url:r.default.string})})),collectionImage:r.default.string,collectionName:r.default.string}),isModal:r.default.bool,onCloseModal:r.default.func,showTokenId:r.default.bool,displayPreviouslyOwnedCollection:r.default.bool}}}},{package:"$root$",file:"ui/components/app/nfts-items/nfts-items.js"}],[4724,{"./nfts-tab":4725},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./nfts-tab"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/nfts-tab/index.js"}],[4725,{"../../../../shared/constants/app":4493,"../../../../shared/constants/metametrics":4505,"../../../contexts/metametrics":5327,"../../../ducks/locale/locale":5345,"../../../helpers/constants/design-system":5355,"../../../helpers/constants/routes":5361,"../../../helpers/constants/zendesk-url":5368,"../../../hooks/useAccountTotalFiatBalance":5413,"../../../hooks/useI18nContext":5427,"../../../hooks/useNftsCollections":5432,"../../../selectors":5987,"../../../store/actions":5998,"../../component-library":4955,"../../multichain/ramps-card/ramps-card":5178,"../nfts-detection-notice-nfts-tab/nfts-detection-notice-nfts-tab":4721,"../nfts-items":4722,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(){const e=(0,r.useSelector)(u.getUseNftDetection),t=(0,r.useSelector)(u.getIsMainnet),n=(0,o.useHistory)(),w=(0,l.useI18nContext)(),x=(0,r.useDispatch)(),_=(0,a.useContext)(g.MetaMetricsContext),{address:O}=(0,r.useSelector)(u.getSelectedAccount),S=(0,r.useSelector)(u.getShouldHideZeroBalanceTokens),{totalFiatBalance:C}=(0,E.useAccountTotalFiatBalance)(O,S),k=0===Number(C),I=(0,r.useSelector)(u.getIsBuyableChain)&&k,{nftsLoading:N,collections:M,previouslyOwnedCollection:P}=(0,c.useNftsCollections)(),A=Object.keys(M).length>0,R=!1===A,{chainId:j,nickname:D}=(0,r.useSelector)(u.getCurrentNetwork),B=(0,r.useSelector)(v.getCurrentLocale);if((0,a.useEffect)((()=>{!N&&R&&_({event:b.MetaMetricsEventName.EmptyNftsBannerDisplayed,category:b.MetaMetricsEventCategory.Navigation,properties:{chain_id:j,locale:B,network:D,referrer:y.ORIGIN_METAMASK}})}),[N,R,_,j,D,B]),N)return a.default.createElement("div",{className:"nfts-tab__loading"},w("loadingNFTs"));return a.default.createElement(a.default.Fragment,null,I?a.default.createElement(T.RampsCard,{variant:T.RAMPS_CARD_VARIANT_TYPES.NFT}):null,a.default.createElement(p.Box,{className:"nfts-tab"},A>0||P.nfts.length>0?a.default.createElement(m.default,{collections:M,previouslyOwnedCollection:P}):a.default.createElement(a.default.Fragment,null,t&&!e?a.default.createElement(p.Box,{paddingTop:4,paddingInlineStart:4,paddingInlineEnd:4},a.default.createElement(f.default,null)):null,a.default.createElement(p.Box,{padding:12,display:i.Display.Flex,flexDirection:i.FlexDirection.Column,alignItems:i.AlignItems.center,justifyContent:i.JustifyContent.center},a.default.createElement(p.Box,{justifyContent:i.JustifyContent.center},a.default.createElement("img",{src:"./images/no-nfts.svg"})),a.default.createElement(p.Box,{marginTop:4,marginBottom:12,display:i.Display.Flex,justifyContent:i.JustifyContent.center,alignItems:i.AlignItems.center,flexDirection:i.FlexDirection.Column,className:"nfts-tab__link"},a.default.createElement(p.Text,{color:i.TextColor.textMuted,variant:i.TextVariant.headingSm,align:i.TextAlign.Center,as:"h4"},w("noNFTs")),a.default.createElement(p.ButtonLink,{size:i.Size.MD,href:h.default.NFT_TOKENS,externalLink:!0},w("learnMoreUpperCase"))))),a.default.createElement(p.Box,{className:"nfts-tab__buttons",display:i.Display.Flex,flexDirection:i.FlexDirection.Column,alignItems:i.AlignItems.flexStart,margin:4,gap:2,marginBottom:2},a.default.createElement(p.ButtonLink,{size:i.Size.MD,"data-testid":"import-nft-button",startIconName:p.IconName.Add,onClick:()=>{x((0,d.showImportNftsModal)())}},w("importNFT")),!t&&Object.keys(M).length<1?null:a.default.createElement(a.default.Fragment,null,a.default.createElement(p.Box,{className:"nfts-tab__link",justifyContent:i.JustifyContent.flexEnd},t&&!e?a.default.createElement(p.ButtonLink,{size:i.Size.MD,startIconName:p.IconName.Setting,"data-testid":"refresh-list-button",onClick:()=>{n.push(s.SECURITY_ROUTE)}},w("enableAutoDetect")):a.default.createElement(p.ButtonLink,{size:i.Size.MD,startIconName:p.IconName.Refresh,"data-testid":"refresh-list-button",onClick:()=>{t&&x((0,d.detectNfts)()),(0,d.checkAndUpdateAllNftsOwnershipStatus)()}},w("refreshList")))))))};var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=x(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=e("react-redux"),o=e("react-router-dom"),i=e("../../../helpers/constants/design-system"),s=e("../../../helpers/constants/routes"),l=e("../../../hooks/useI18nContext"),c=e("../../../hooks/useNftsCollections"),u=e("../../../selectors"),d=e("../../../store/actions"),p=e("../../component-library"),f=w(e("../nfts-detection-notice-nfts-tab/nfts-detection-notice-nfts-tab")),m=w(e("../nfts-items")),h=w(e("../../../helpers/constants/zendesk-url")),g=e("../../../contexts/metametrics"),y=e("../../../../shared/constants/app"),b=e("../../../../shared/constants/metametrics"),v=e("../../../ducks/locale/locale"),T=e("../../multichain/ramps-card/ramps-card"),E=e("../../../hooks/useAccountTotalFiatBalance");function w(e){return e&&e.__esModule?e:{default:e}}function x(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(x=function(e){return e?n:t})(e)}}}},{package:"$root$",file:"ui/components/app/nfts-tab/nfts-tab.js"}],[4726,{"./permission-cell":4729},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./permission-cell"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/permission-cell/index.js"}],[4727,{"../../../../shared/constants/snaps/permissions":4515,"../../../helpers/constants/design-system":5355,"../../../hooks/useI18nContext":5427,"../../../store/actions":5998,"../../component-library":4955,"../../ui/box":5194,"../../ui/menu":5264,"../../ui/popover/popover.component":5282,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.PermissionCellOptions=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=h(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=m(e("prop-types")),o=e("react-redux"),i=m(e("../../ui/box")),s=e("../../../hooks/useI18nContext"),l=e("../../component-library"),c=e("../../ui/menu"),u=e("../../../helpers/constants/design-system"),d=m(e("../../ui/popover/popover.component")),p=e("../../../../shared/constants/snaps/permissions"),f=e("../../../store/actions");function m(e){return e&&e.__esModule?e:{default:e}}function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(h=function(e){return e?n:t})(e)}const g=({snapId:e,permissionName:t,description:n})=>{const r=(0,s.useI18nContext)(),m=(0,o.useDispatch)(),h=(0,a.useRef)(!1),[g,y]=(0,a.useState)(!1),[b,v]=(0,a.useState)(!1),T=p.DynamicSnapPermissions.includes(t);return a.default.createElement(i.default,{ref:h},a.default.createElement(l.ButtonIcon,{iconName:l.IconName.MoreVertical,ariaLabel:r("options"),onClick:()=>{y(!0)},"data-testid":t}),g&&a.default.createElement(c.Menu,{anchorElement:h.current,onHide:()=>{y(!1)}},a.default.createElement(c.MenuItem,{onClick:()=>{y(!1),v(!0)}},a.default.createElement(l.Text,{variant:u.TextVariant.bodySm,style:{whiteSpace:"nowrap"}},r("details"))),T&&a.default.createElement(c.MenuItem,{onClick:()=>{y(!1),m((0,f.revokeDynamicSnapPermissions)(e,[t]))}},a.default.createElement(l.Text,{variant:u.TextVariant.bodySm,color:u.TextColor.errorDefault,style:{whiteSpace:"nowrap"}},r("revokePermission")))),b&&a.default.createElement(d.default,{title:r("details"),onClose:()=>{y(!1),v(!1)}},a.default.createElement(i.default,{marginLeft:4,marginRight:4,marginBottom:4},a.default.createElement(l.Text,null,n))))};n.PermissionCellOptions=g,g.propTypes={snapId:r.default.string.isRequired,permissionName:r.default.string.isRequired,description:r.default.oneOfType([r.default.string,r.default.object])}}}},{package:"$root$",file:"ui/components/app/permission-cell/permission-cell-options.js"}],[4728,{"../../../helpers/constants/design-system":5355,"../../../helpers/utils/util":5399,"../../../hooks/useI18nContext":5427,"../../component-library":4955,"../../multichain":5092,"../../multichain/avatar-group/avatar-group.types":5059,"../../ui/tooltip":5310,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.PermissionCellStatus=void 0;var a=p(e("react")),r=p(e("prop-types")),o=e("../../component-library"),i=e("../../../helpers/constants/design-system"),s=p(e("../../ui/tooltip")),l=e("../../multichain"),c=e("../../multichain/avatar-group/avatar-group.types"),u=e("../../../hooks/useI18nContext"),d=e("../../../helpers/utils/util");function p(e){return e&&e.__esModule?e:{default:e}}const f=({revoked:e,approved:t,dateApproved:n,accounts:r})=>{const p=(0,u.useI18nContext)(),f=()=>a.default.createElement(o.Box,{as:"span",className:"permission-cell__status__accounts-group-box",display:i.Display.InlineFlex},a.default.createElement(s.default,{position:"bottom",html:a.default.createElement(o.Box,{display:i.Display.Flex,flexDirection:i.FlexDirection.Column,justifyContent:i.JustifyContent.center,alignItems:i.AlignItems.center},a.default.createElement(o.Text,{variant:i.TextVariant.headingSm,color:i.TextColor.textAlternative,textAlign:i.TextAlign.Center},p("accounts")),a.default.createElement(o.Box,{display:i.Display.Flex,flexDirection:i.FlexDirection.Column},r.map(((e,t)=>a.default.createElement(o.Box,{key:`${e.avatarValue}_${t}`,display:i.Display.Flex,justifyContent:i.JustifyContent.flexStart,alignItems:i.AlignItems.center,marginTop:2},a.default.createElement(o.AvatarAccount,{address:e.avatarValue,size:o.AvatarAccountSize.Xs,borderColor:i.BorderColor.backgroundDefault}),a.default.createElement(o.Text,{variant:i.TextVariant.bodyMdMedium,marginLeft:2},e.avatarName))))))},a.default.createElement(l.AvatarGroup,{limit:3,members:r,avatarType:c.AvatarType.ACCOUNT,size:o.AvatarTokenSize.Xs,width:i.BlockSize.Min,borderColor:i.BorderColor.backgroundDefault,marginLeft:4,paddingLeft:4})));return a.default.createElement(o.Text,{as:"div",className:"permission-cell__status",variant:i.TextVariant.bodySm,color:i.TextColor.textAlternative,display:i.Display.Flex},e?r&&r.length?p("permissionRevokedForAccounts",[f()]):p("permissionRevoked"):n?r&&r.length?p("approvedOnForAccounts",[(0,d.formatDate)(n,"yyyy-MM-dd"),f()]):p("approvedOn",[(0,d.formatDate)(n,"yyyy-MM-dd")]):t?p("approved"):r&&r.length?p("permissionRequestedForAccounts",[f()]):p("permissionRequested"))};n.PermissionCellStatus=f,f.propTypes={revoked:r.default.bool,approved:r.default.bool,dateApproved:r.default.number,accounts:r.default.array}}}},{package:"$root$",file:"ui/components/app/permission-cell/permission-cell-status.js"}],[4729,{"../../../helpers/constants/design-system":5355,"../../component-library":4955,"../../ui/tooltip":5310,"./permission-cell-options":4727,"./permission-cell-status":4728,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=d(e("react")),r=d(e("prop-types")),o=d(e("classnames")),i=e("../../../helpers/constants/design-system"),s=e("../../component-library"),l=d(e("../../ui/tooltip")),c=e("./permission-cell-options"),u=e("./permission-cell-status");function d(e){return e&&e.__esModule?e:{default:e}}const p=({snapId:e,permissionName:t,title:n,description:r,weight:d,avatarIcon:p,dateApproved:f,revoked:m,approved:h,showOptions:g,hideStatus:y,accounts:b})=>{var v;const T=s.IconName.Info;let E=i.IconColor.iconMuted,w=i.IconColor.primaryDefault,x=i.Color.primaryMuted;!m&&d<=2&&(w=i.IconColor.warningDefault,x=i.Color.warningMuted,E=i.IconColor.warningDefault),(f||h)&&(w=i.IconColor.iconMuted,x=i.Color.backgroundAlternative),m&&(w=i.IconColor.iconMuted,x=i.Color.backgroundAlternative);let _=p;return"string"!=typeof p&&null!=p&&null!==(v=p.props)&&void 0!==v&&v.iconName&&(_=p.props.iconName),a.default.createElement(s.Box,{className:"permission-cell",display:i.Display.Flex,justifyContent:i.JustifyContent.center,alignItems:i.AlignItems.flexStart,paddingTop:2,paddingBottom:2},a.default.createElement(s.Box,{display:i.Display.Flex},"string"==typeof _?a.default.createElement(s.AvatarIcon,{iconName:_,size:s.AvatarIconSize.Md,iconProps:{size:s.IconSize.Sm},color:w,backgroundColor:x}):_),a.default.createElement(s.Box,{display:i.Display.Flex,flexWrap:i.FlexWrap.Wrap,flexDirection:i.FlexDirection.Column,width:i.BlockSize.Full,marginLeft:4,marginRight:4},a.default.createElement(s.Text,{size:i.Size.MD,variant:i.TextVariant.bodyMd,className:(0,o.default)("permission-cell__title",{"permission-cell__title-revoked":m})},n),!y&&a.default.createElement(u.PermissionCellStatus,{revoked:m,approved:h,dateApproved:f,accounts:b})),a.default.createElement(s.Box,{display:i.Display.Flex},g&&e?a.default.createElement(c.PermissionCellOptions,{snapId:e,permissionName:t,description:r}):r&&a.default.createElement(l.default,{html:a.default.createElement(s.Text,{variant:i.TextVariant.bodySm,color:i.TextColor.textAlternative},r),position:"bottom"},a.default.createElement(s.Icon,{color:E,name:T,size:s.IconSize.Sm}))))};p.propTypes={snapId:r.default.string,permissionName:r.default.oneOfType([r.default.string,r.default.element]).isRequired,title:r.default.oneOfType([r.default.string.isRequired,r.default.object.isRequired]),description:r.default.oneOfType([r.default.string,r.default.object]),weight:r.default.number,avatarIcon:r.default.any.isRequired,dateApproved:r.default.number,revoked:r.default.bool,approved:r.default.bool,showOptions:r.default.bool,hideStatus:r.default.bool,accounts:r.default.array};n.default=p}}},{package:"$root$",file:"ui/components/app/permission-cell/permission-cell.js"}],[4730,{"./permission-connect-header":4731},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./permission-connect-header"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/permission-connect-header/index.js"}],[4731,{"../../../helpers/constants/design-system":5355,"../../../helpers/utils/util":5399,"../../component-library":4955,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=l(e("react")),r=l(e("prop-types")),o=e("../../../helpers/constants/design-system"),i=e("../../component-library"),s=e("../../../helpers/utils/util");function l(e){return e&&e.__esModule?e:{default:e}}const c=({origin:e,iconUrl:t})=>{const n=(e=>{try{const t=new URL(e);return t.hostname.split(".").slice(-2).join(".")}catch(e){return"Unknown Origin"}})(e);return a.default.createElement(i.Box,{backgroundColor:o.BackgroundColor.backgroundDefault,width:o.BlockSize.Full,alignItems:o.AlignItems.center,display:o.Display.Flex,padding:4,style:{boxShadow:"var(--shadow-size-lg) var(--color-shadow-default)"}},a.default.createElement(i.Box,null,t?a.default.createElement(i.AvatarFavicon,{backgroundColor:o.BackgroundColor.backgroundAlternative,size:i.IconSize.Lg,src:t,name:n}):a.default.createElement(i.AvatarBase,{size:i.IconSize.Lg,display:o.Display.Flex,alignItems:o.AlignItems.center,justifyContent:o.JustifyContent.center,color:o.TextColor.textAlternative,style:{borderWidth:"0px"},backgroundColor:o.BackgroundColor.backgroundAlternative},(0,s.getAvatarFallbackLetter)(n))),a.default.createElement(i.Box,{marginLeft:4,marginRight:4,display:o.Display.Flex,flexDirection:o.FlexDirection.Column,style:{overflow:"hidden"}},a.default.createElement(i.Text,{ellipsis:!0,fontWeight:o.FontWeight.Medium},n),a.default.createElement(i.Text,{ellipsis:!0,variant:o.TextVariant.bodySm,color:o.TextColor.textAlternative},e)))};c.propTypes={origin:r.default.string,iconUrl:r.default.string};n.default=c}}},{package:"$root$",file:"ui/components/app/permission-connect-header/permission-connect-header.js"}],[4732,{"./permission-page-container-content":4733,"./permission-page-container.container":4736},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"PermissionPageContainerContent",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return a.default}});var a=o(e("./permission-page-container.container")),r=o(e("./permission-page-container-content"));function o(e){return e&&e.__esModule?e:{default:e}}}}},{package:"$root$",file:"ui/components/app/permission-page-container/index.js"}],[4733,{"./permission-page-container-content.component":4734},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./permission-page-container-content.component"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/permission-page-container/permission-page-container-content/index.js"}],[4734,{"../../../../helpers/constants/design-system":5355,"../../../component-library":4955,"../../permissions-connect-permission-list":4741,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=c(e("prop-types")),r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=l(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=c(e("../../permissions-connect-permission-list")),i=e("../../../../helpers/constants/design-system"),s=e("../../../component-library");function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(l=function(e){return e?n:t})(e)}function c(e){return e&&e.__esModule?e:{default:e}}function u(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class d extends r.PureComponent{render(){const{t:e}=this.context,{selectedPermissions:t,selectedAccounts:n,subjectMetadata:a}=this.props,l=n.reduce(((e,t)=>(e.push({avatarValue:t.address,avatarName:t.label}),e)),[]);return r.default.createElement(s.Box,{display:i.Display.Flex,flexDirection:i.FlexDirection.Column,justifyContent:i.JustifyContent.flexStart,alignItems:i.AlignItems.center,height:i.BlockSize.Full,paddingLeft:4,paddingRight:4,backgroundColor:i.BackgroundColor.backgroundAlternative},r.default.createElement(s.Box,{display:i.Display.Flex,flexDirection:i.FlexDirection.Column,justifyContent:i.JustifyContent.center,alignItems:i.AlignItems.center,paddingTop:4,paddingBottom:4},r.default.createElement(s.Text,{variant:i.TextVariant.headingMd,textAlign:i.TextAlign.Center},e("permissions")),r.default.createElement(s.Text,{variant:i.TextVariant.bodyMd,textAlign:i.TextAlign.Center},e("nativePermissionRequestDescription",[r.default.createElement(s.Text,{as:"span",key:`description_key_${a.origin}`,fontWeight:i.FontWeight.Medium},a.origin)]))),r.default.createElement(s.Box,{display:i.Display.Flex,backgroundColor:i.BackgroundColor.backgroundDefault,paddingLeft:4,paddingRight:4,paddingTop:2,paddingBottom:2,borderRadius:i.BorderRadius.XL},r.default.createElement(o.default,{permissions:t,subjectName:a.origin,accounts:l})))}}n.default=d,u(d,"propTypes",{subjectMetadata:a.default.shape({name:a.default.string.isRequired,origin:a.default.string.isRequired,subjectType:a.default.string.isRequired,extensionId:a.default.string,iconUrl:a.default.string}),selectedPermissions:a.default.object.isRequired,selectedAccounts:a.default.array}),u(d,"defaultProps",{selectedAccounts:[]}),u(d,"contextTypes",{t:a.default.func})}}},{package:"$root$",file:"ui/components/app/permission-page-container/permission-page-container-content/permission-page-container-content.component.js"}],[4735,{".":4732,"../../../../app/scripts/controllers/permissions":31,"../../../../shared/constants/metametrics":4505,"../../../../shared/constants/permissions":4511,"../../../helpers/constants/design-system":5355,"../../../helpers/utils/util":5399,"../../component-library":4955,"../../ui/page-container":5275,"../permissions-connect-footer":4737,"../snaps/snap-privacy-warning":4794,"@metamask/permission-controller":1624,"@metamask/snaps-rpc-methods":2086,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=b(e("prop-types")),r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=y(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=e("@metamask/snaps-rpc-methods"),i=e("@metamask/permission-controller"),s=e("../../../../shared/constants/metametrics"),l=e("../../ui/page-container"),c=b(e("../permissions-connect-footer")),u=e("../../../../shared/constants/permissions"),d=e("../../../../app/scripts/controllers/permissions"),p=b(e("../snaps/snap-privacy-warning")),f=e("../../../helpers/utils/util"),m=e("../../../helpers/constants/design-system"),h=e("../../component-library"),g=e(".");function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(y=function(e){return e?n:t})(e)}function b(e){return e&&e.__esModule?e:{default:e}}function v(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class T extends r.Component{constructor(...e){super(...e),v(this,"state",{}),v(this,"onCancel",(()=>{const{request:e,rejectPermissionsRequest:t}=this.props;t(e.metadata.id)})),v(this,"onSubmit",(()=>{var e;const{request:t,approvePermissionsRequest:n,rejectPermissionsRequest:a,selectedAccounts:r}=this.props,o={...t,permissions:{...t.permissions},...t.permissions.eth_accounts&&{approvedAccounts:r.map((e=>e.address))},...t.permissions.permittedChains&&{approvedChainIds:null===(e=t.permissions)||void 0===e||null===(e=e.permittedChains)||void 0===e||null===(e=e.caveats.find((e=>"restrictNetworkSwitching"===e.type)))||void 0===e?void 0:e.value}};Object.keys(o.permissions).length>0?n(o):a(o.metadata.id)})),v(this,"onLeftFooterClick",(()=>{this.getRequestedPermissions()[d.PermissionNames.permittedChains]===undefined?this.goBack():this.onCancel()}))}getRequestedPermissions(){return Object.entries(this.props.request.permissions??{}).reduce(((e,[t,n])=>t===u.RestrictedMethods.wallet_snap?(e[t]=this.getDedupedSnapPermissions(),e):(e[t]=n,e)),{})}getDedupedSnapPermissions(){var e;const{request:t,currentPermissions:n}=this.props,a=(0,f.getDedupedSnaps)(t,n);return{...(null==t||null===(e=t.permissions)||void 0===e?void 0:e[o.WALLET_SNAP_PERMISSION_KEY])||{},caveats:[{type:o.SnapCaveatType.SnapIds,value:a.reduce(((e,t)=>(e[t]={},e)),{})}]}}showSnapsPrivacyWarning(){this.setState({isShowingSnapsPrivacyWarning:!0})}componentDidMount(){this.context.trackEvent({category:s.MetaMetricsEventCategory.Auth,event:"Tab Opened",properties:{action:"Connect",legacy_event:!0}}),this.props.request.permissions[o.WALLET_SNAP_PERMISSION_KEY]&&!1===this.props.snapsInstallPrivacyWarningShown&&this.showSnapsPrivacyWarning()}goBack(){const{history:e,connectPath:t}=this.props;e.push(t)}render(){const{requestMetadata:e,targetSubjectMetadata:t,selectedAccounts:n,allAccountsSelected:a}=this.props,o=this.getRequestedPermissions(),s=e=>{this.setState({isShowingSnapsPrivacyWarning:e})},u=()=>{s(!1),this.props.setSnapsInstallPrivacyWarningShownStatus(!0)},f=o[d.PermissionNames.permittedChains]?this.context.t("cancel"):this.context.t("back");return r.default.createElement(r.default.Fragment,null,r.default.createElement(r.default.Fragment,null,this.state.isShowingSnapsPrivacyWarning&&r.default.createElement(p.default,{onAccepted:()=>u(),onCanceled:()=>this.onCancel()})),r.default.createElement(g.PermissionPageContainerContent,{requestMetadata:e,subjectMetadata:t,selectedPermissions:o,selectedAccounts:n,allAccountsSelected:a}),r.default.createElement(h.Box,{display:m.Display.Flex,backgroundColor:m.BackgroundColor.backgroundAlternative,flexDirection:m.FlexDirection.Column},(null==t?void 0:t.subjectType)!==i.SubjectType.Snap&&r.default.createElement(c.default,null),r.default.createElement(l.PageContainerFooter,{footerClassName:"permission-page-container-footer",cancelButtonType:"default",onCancel:()=>this.onLeftFooterClick(),cancelText:f,onSubmit:()=>this.onSubmit(),submitText:this.context.t("confirm"),buttonSizeLarge:!1})))}}n.default=T,v(T,"propTypes",{approvePermissionsRequest:a.default.func.isRequired,rejectPermissionsRequest:a.default.func.isRequired,selectedAccounts:a.default.array,allAccountsSelected:a.default.bool,currentPermissions:a.default.object,snapsInstallPrivacyWarningShown:a.default.bool.isRequired,setSnapsInstallPrivacyWarningShownStatus:a.default.func,request:a.default.object,requestMetadata:a.default.object,targetSubjectMetadata:a.default.shape({name:a.default.string,origin:a.default.string.isRequired,subjectType:a.default.string.isRequired,extensionId:a.default.string,iconUrl:a.default.string}),history:a.default.object.isRequired,connectPath:a.default.string.isRequired}),v(T,"defaultProps",{request:{},requestMetadata:{},selectedAccounts:[],allAccountsSelected:!1,currentPermissions:{}}),v(T,"contextTypes",{t:a.default.func,trackEvent:a.default.func})}}},{package:"$root$",file:"ui/components/app/permission-page-container/permission-page-container.component.js"}],[4736,{"../../../selectors":5987,"./permission-page-container.component":4735,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=e("react-redux"),o=e("../../../selectors"),i=(a=e("./permission-page-container.component"))&&a.__esModule?a:{default:a};n.default=(0,r.connect)(((e,t)=>{var n;const{selectedAccounts:a}=t,r=(0,o.getPermissions)(e,null===(n=t.request.metadata)||void 0===n?void 0:n.origin),i=(0,o.getInternalAccounts)(e);return{allInternalAccountsSelected:Object.keys(a).length===Object.keys(i).length&&a.length>1,currentPermissions:r}}))(i.default)}}},{package:"$root$",file:"ui/components/app/permission-page-container/permission-page-container.container.js"}],[4737,{"./permissions-connect-footer.component":4738},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./permissions-connect-footer.component"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/permissions-connect-footer/index.js"}],[4738,{"../../../helpers/constants/design-system":5355,"../../../helpers/constants/zendesk-url":5368,"../../component-library":4955,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r,o,i=p(e("prop-types")),s=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=d(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),l=p(e("../../../helpers/constants/zendesk-url")),c=e("../../../helpers/constants/design-system"),u=e("../../component-library");function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(d=function(e){return e?n:t})(e)}function p(e){return e&&e.__esModule?e:{default:e}}class f extends s.Component{render(){const{t:e}=this.context;return s.default.createElement(u.Box,{display:c.Display.Flex,alignItems:c.AlignItems.center,justifyContent:c.JustifyContent.center},s.default.createElement(u.Text,{variant:c.TextVariant.bodyMd},e("onlyConnectTrust",[s.default.createElement(u.ButtonLink,{key:"permission-connect-footer-learn-more-link",size:u.ButtonLinkSize.Inherit,target:"_blank",onClick:()=>{global.platform.openTab({url:l.default.USER_GUIDE_DAPPS})}},e("learnMoreUpperCase"))])))}}n.default=f,a=f,r="contextTypes",o={t:i.default.func},(r=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(r))in a?Object.defineProperty(a,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):a[r]=o}}},{package:"$root$",file:"ui/components/app/permissions-connect-footer/permissions-connect-footer.component.js"}],[4739,{"./permissions-connect-header.component":4740},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./permissions-connect-header.component"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/permissions-connect-header/index.js"}],[4740,{"../../../helpers/constants/design-system":5355,"../../ui/box":5194,"../../ui/site-origin":5292,"@metamask/permission-controller":1624,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=d(e("prop-types")),r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=u(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=d(e("classnames")),i=e("@metamask/permission-controller"),s=d(e("../../ui/site-origin")),l=d(e("../../ui/box")),c=e("../../../helpers/constants/design-system");function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(u=function(e){return e?n:t})(e)}function d(e){return e&&e.__esModule?e:{default:e}}function p(){return p=Object.assign?Object.assign.bind():function(e){for(var t=1;tfunction(e,t,n){return a.default.createElement(u.default,{permissionName:e.name,title:e.label,description:e.description,weight:e.weight,avatarIcon:e.leftIcon,key:`${e.permissionName}-${t}`,accounts:n})}(e,t,n))))}f.propTypes={permissions:r.default.object.isRequired,subjectName:r.default.string.isRequired,accounts:r.default.arrayOf(r.default.object)}}}},{package:"$root$",file:"ui/components/app/permissions-connect-permission-list/permissions-connect-permission-list.js"}],[4743,{"../../../../app/scripts/lib/util":120,"../../../../shared/constants/app":4493,"../../../../shared/constants/time":4518,"../../../helpers/utils/webcam-utils":5400,"../../../hooks/useI18nContext":5427,"../../ui/page-container/page-container-footer/page-container-footer.component":5277,"./enhanced-reader":4744,"@ngraveio/bc-ur":2308,loglevel:3842,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=h(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=m(e("loglevel")),o=e("@ngraveio/bc-ur"),i=m(e("prop-types")),s=e("../../../../app/scripts/lib/util"),l=e("../../../../shared/constants/app"),c=m(e("../../../helpers/utils/webcam-utils")),u=m(e("../../ui/page-container/page-container-footer/page-container-footer.component")),d=e("../../../hooks/useI18nContext"),p=e("../../../../shared/constants/time"),f=m(e("./enhanced-reader"));function m(e){return e&&e.__esModule?e:{default:e}}function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(h=function(e){return e?n:t})(e)}const g="ACCESSING_CAMERA",y="NEED_TO_ALLOW_ACCESS",b="READY",v=({isReadingWallet:e,handleCancel:t,handleSuccess:n,setErrorTitle:i})=>{const m=(0,d.useI18nContext)(),[h,v]=(0,a.useState)(g),[T,E]=(0,a.useState)(null),[w,x]=(0,a.useState)(new o.URDecoder),[_,O]=(0,a.useState)(0);let S=null;const C=(0,a.useRef)(!1),k=async()=>{try{const{environmentReady:e}=await c.default.checkStatus();if(!e&&(0,s.getEnvironmentType)()!==l.ENVIRONMENT_TYPE_FULLSCREEN){const e=new URL(window.location.href).hash,t=e?e.substring(1):null;global.platform.openExtensionInBrowser(t)}}catch(e){C.current&&E(e)}return M()},I=async()=>{try{const{permissions:e}=await c.default.checkStatus();if(e){if(await new Promise((e=>setTimeout(e,2*p.SECOND))),!C.current)return;v(b)}else C.current&&(S=setTimeout(I,p.SECOND),v(y))}catch(e){C.current&&E(e)}},N=t=>{try{if(!t)return;if(w.receivePart(t),O(w.estimatedPercentComplete()),w.isComplete()){const e=w.resultUR();n(e).catch(E)}}catch(t){i(m(e?"QRHardwareUnknownQRCodeTitle":"QRHardwareInvalidTransactionTitle")),E(new Error(m("unknownQrCode")))}},M=()=>{try{I()}catch(e){if(!C.current)return;"NotAllowedError"===e.name?(r.default.info(`Permission denied: '${e}'`),v(y)):E(e)}};(0,a.useEffect)((()=>(C.current=!0,k(),()=>{C.current=!1,clearTimeout(S)})),[]),(0,a.useEffect)((()=>{h===b?M():h===y&&I()}),[h]);const P=()=>{clearTimeout(S),v(g),E(null),x(new o.URDecoder),O(0),k()};return a.default.createElement("div",{className:"qr-scanner"},T?(()=>{let n,r;return"NO_WEBCAM_FOUND"===T.type?(n=m("noWebcamFoundTitle"),r=m("noWebcamFound")):T.message===m("unknownQrCode")?r=m(e?"QRHardwareUnknownWalletQRCode":"unknownQrCode"):T.message===m("QRHardwareMismatchedSignId")?r=m("QRHardwareMismatchedSignId"):(n=m("generalCameraErrorTitle"),r=m("generalCameraError")),a.default.createElement(a.default.Fragment,null,a.default.createElement("div",{className:"qr-scanner__image"},a.default.createElement("img",{src:"images/webcam.svg",width:"70",height:"70",alt:""})),n?a.default.createElement("div",{className:"qr-scanner__title"},n):null,a.default.createElement("div",{className:"qr-scanner__error","data-testid":"qr-scanner__error"},r),a.default.createElement(u.default,{onCancel:()=>{i(""),t()},onSubmit:()=>{i(""),P()},cancelText:m("cancel"),submitText:m("tryAgain"),submitButtonType:"confirm"}))})():(()=>{let e;return h===g?e=m("accessingYourCamera"):h===b?e=m("QRHardwareScanInstructions"):h===y&&(e=m("youNeedToAllowCameraAccess")),a.default.createElement(a.default.Fragment,null,a.default.createElement("div",{className:"qr-scanner__content"},a.default.createElement(f.default,{handleScan:N})),_>0&&a.default.createElement("div",{className:"qr-scanner__progress","data-testid":"qr-reader-progress-bar",style:{"--progress":`${Math.floor(100*_)}%`}}),e&&a.default.createElement("div",{className:"qr-scanner__status"},e))})())};v.propTypes={isReadingWallet:i.default.bool.isRequired,handleCancel:i.default.func.isRequired,handleSuccess:i.default.func.isRequired,setErrorTitle:i.default.func.isRequired};n.default=v}}},{package:"$root$",file:"ui/components/app/qr-hardware-popover/base-reader.js"}],[4744,{"../../../../shared/constants/time":4518,"../../ui/spinner":5294,"@zxing/browser":2651,"@zxing/library":2870,loglevel:3842,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=d(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=e("@zxing/library"),o=e("@zxing/browser"),i=u(e("loglevel")),s=u(e("prop-types")),l=e("../../../../shared/constants/time"),c=u(e("../../ui/spinner"));function u(e){return e&&e.__esModule?e:{default:e}}function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(d=function(e){return e?n:t})(e)}const p=({handleScan:e})=>{const[t,n]=(0,a.useState)(!1),s=(0,a.useMemo)((()=>{const e=new Map;return e.set(r.DecodeHintType.POSSIBLE_FORMATS,[r.BarcodeFormat.QR_CODE]),new o.BrowserQRCodeReader(e,{delayBetweenScanAttempts:100*l.MILLISECOND,delayBetweenScanSuccess:100*l.MILLISECOND})}),[]);return(0,a.useEffect)((()=>{const t=document.getElementById("video"),a=()=>{n(!0)};t.addEventListener("canplay",a);const r=s.decodeFromVideoDevice(undefined,"video",(t=>{t&&e(t.getText())}));return()=>{t.removeEventListener("canplay",a),r.then((e=>{e&&e.stop()})).catch(i.default.info)}}),[]),a.default.createElement("div",{className:"qr-scanner__content__video-wrapper"},a.default.createElement("video",{id:"video",style:{display:t?"block":"none",width:"100%",filter:"blur(4px)"}}),t?null:a.default.createElement(c.default,{color:"var(--color-warning-default)"}))};p.propTypes={handleScan:s.default.func.isRequired};n.default=p}}},{package:"$root$",file:"ui/components/app/qr-hardware-popover/enhanced-reader.js"}],[4745,{"./qr-hardware-popover":4746},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=(a=e("./qr-hardware-popover"))&&a.__esModule?a:{default:a};n.default=r.default}}},{package:"$root$",file:"ui/components/app/qr-hardware-popover/index.js"}],[4746,{"../../../hooks/useI18nContext":5427,"../../../selectors":5987,"../../../store/actions":5998,"../../ui/popover":5281,"./qr-hardware-sign-request":4747,"./qr-hardware-wallet-importer":4751,"eth-rpc-errors":3257,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=e("react-redux"),o=e("eth-rpc-errors"),i=e("../../../selectors"),s=p(e("../../ui/popover")),l=e("../../../hooks/useI18nContext"),c=e("../../../store/actions"),u=p(e("./qr-hardware-wallet-importer")),d=p(e("./qr-hardware-sign-request"));function p(e){return e&&e.__esModule?e:{default:e}}function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}n.default=()=>{var e;const t=(0,l.useI18nContext)(),n=(0,r.useSelector)(i.getCurrentQRHardwareState),{sync:p,sign:f}=n,m=null==p?void 0:p.reading,h=null==f?void 0:f.request,g=m||h,[y,b]=(0,a.useState)(""),{txData:v}=(0,r.useSelector)((e=>e.confirmTransaction)),T=(0,a.useMemo)((()=>v),[null==f||null===(e=f.request)||void 0===e?void 0:e.requestId]),E=(0,r.useDispatch)(),w=(0,a.useCallback)((()=>E((0,c.cancelSyncQRHardware)())),[E]),x=(0,a.useCallback)((()=>{E((0,c.rejectPendingApproval)(T.id,(0,o.serializeError)(o.ethErrors.provider.userRejectedRequest()))),E((0,c.cancelTx)(T)),E((0,c.cancelQRHardwareSignRequest)())}),[E,T]),_=(0,a.useMemo)((()=>{let e="";return h?e=t("QRHardwareSignRequestTitle"):m&&(e=t("QRHardwareWalletImporterTitle")),""!==y&&(e=y),e}),[h,m,t,y]);return g?a.default.createElement(s.default,{title:_,onClose:m?w:x},m&&a.default.createElement(u.default,{handleCancel:w,setErrorTitle:b}),h&&a.default.createElement(d.default,{setErrorTitle:b,handleCancel:x,request:f.request})):null}}}},{package:"$root$",file:"ui/components/app/qr-hardware-popover/qr-hardware-popover.js"}],[4747,{"./qr-hardware-sign-request.component":4749},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=(a=e("./qr-hardware-sign-request.component"))&&a.__esModule?a:{default:a};n.default=r.default}}},{package:"$root$",file:"ui/components/app/qr-hardware-popover/qr-hardware-sign-request/index.js"}],[4748,{"../../../../helpers/constants/design-system":5355,"../../../../hooks/useI18nContext":5427,"../../../component-library":4955,"../../../ui/page-container":5275,"@ngraveio/bc-ur":2308,buffer:3028,"prop-types":3997,"qrcode.react":4057,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){(function(t){(function(){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=p(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=d(e("qrcode.react")),o=e("@ngraveio/bc-ur"),i=d(e("prop-types")),s=e("../../../../hooks/useI18nContext"),l=e("../../../../helpers/constants/design-system"),c=e("../../../ui/page-container"),u=e("../../../component-library");function d(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(p=function(e){return e?n:t})(e)}const f=({type:e,cbor:n,cancelQRHardwareSignRequest:i,toRead:d})=>{const p=(0,s.useI18nContext)(),f=(0,a.useMemo)((()=>new o.UREncoder(new o.UR(t.from(n,"hex"),e),200)),[n,e]),[m,h]=(0,a.useState)(f.nextPart());return(0,a.useEffect)((()=>{const e=setInterval((()=>{h(f.nextPart())}),100);return()=>{clearInterval(e)}}),[f]),a.default.createElement(a.default.Fragment,null,a.default.createElement(u.Box,null,a.default.createElement(u.Text,{align:l.TextAlign.Center},p("QRHardwareSignRequestSubtitle"))),a.default.createElement(u.Box,{paddingTop:4,paddingBottom:4,display:l.Display.Flex,alignItems:l.AlignItems.center,flexDirection:l.FlexDirection.Column},a.default.createElement("div",{style:{padding:20,backgroundColor:"var(--qr-code-white-background)"}},a.default.createElement(r.default,{value:m.toUpperCase(),size:250}))),a.default.createElement(u.Box,{paddingBottom:4,paddingLeft:4,paddingRight:4},a.default.createElement(u.Text,{align:l.TextAlign.Center},p("QRHardwareSignRequestDescription"))),a.default.createElement(c.PageContainerFooter,{onCancel:i,onSubmit:d,cancelText:p("QRHardwareSignRequestCancel"),submitText:p("QRHardwareSignRequestGetSignature"),submitButtonType:"confirm"}))};f.propTypes={type:i.default.string.isRequired,cbor:i.default.string.isRequired,cancelQRHardwareSignRequest:i.default.func.isRequired,toRead:i.default.func.isRequired};n.default=f}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"$root$",file:"ui/components/app/qr-hardware-popover/qr-hardware-sign-request/player.js"}],[4749,{"../../../../store/actions":5998,"./player":4748,"./reader":4750,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=l(e("prop-types")),o=e("../../../../store/actions"),i=l(e("./player")),s=l(e("./reader"));function l(e){return e&&e.__esModule?e:{default:e}}function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}const u=({request:e,handleCancel:t,setErrorTitle:n})=>{const[r,l]=(0,a.useState)("play"),c=(0,a.useCallback)((()=>l("read")),[]);return"play"===r?(()=>{const{payload:n}=e;return a.default.createElement(i.default,{type:n.type,cbor:n.cbor,cancelQRHardwareSignRequest:t,toRead:c})})():a.default.createElement(s.default,{cancelQRHardwareSignRequest:t,submitQRHardwareSignature:o.submitQRHardwareSignature,requestId:e.requestId,setErrorTitle:n})};u.propTypes={request:r.default.object.isRequired,handleCancel:r.default.func.isRequired,setErrorTitle:r.default.func.isRequired};n.default=u}}},{package:"$root$",file:"ui/components/app/qr-hardware-popover/qr-hardware-sign-request/qr-hardware-sign-request.component.js"}],[4750,{"../../../../hooks/useI18nContext":5427,"../base-reader":4743,"@keystonehq/bc-ur-registry-eth":581,"prop-types":3997,react:4243,uuid:4424},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=u(e("react")),r=e("@keystonehq/bc-ur-registry-eth"),o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("uuid")),i=u(e("prop-types")),s=u(e("../base-reader")),l=e("../../../../hooks/useI18nContext");function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}function u(e){return e&&e.__esModule?e:{default:e}}const d=({submitQRHardwareSignature:e,cancelQRHardwareSignRequest:t,requestId:n,setErrorTitle:i})=>{const c=(0,l.useI18nContext)();return a.default.createElement(s.default,{isReadingWallet:!1,handleCancel:()=>{t()},handleSuccess:async t=>{if("eth-signature"===t.type){const a=r.ETHSignature.fromCBOR(t.cbor).getRequestId(),s=o.stringify(a);if(s===n)return await e(s,t.cbor.toString("hex"));throw i(c("QRHardwareInvalidTransactionTitle")),new Error(c("QRHardwareMismatchedSignId"))}throw i(c("QRHardwareInvalidTransactionTitle")),new Error(c("unknownQrCode"))},setErrorTitle:i})};d.propTypes={submitQRHardwareSignature:i.default.func.isRequired,cancelQRHardwareSignRequest:i.default.func.isRequired,requestId:i.default.string.isRequired,setErrorTitle:i.default.func.isRequired};n.default=d}}},{package:"$root$",file:"ui/components/app/qr-hardware-popover/qr-hardware-sign-request/reader.js"}],[4751,{"./qr-hardware-wallet-importer.component":4752},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=(a=e("./qr-hardware-wallet-importer.component"))&&a.__esModule?a:{default:a};n.default=r.default}}},{package:"$root$",file:"ui/components/app/qr-hardware-popover/qr-hardware-wallet-importer/index.js"}],[4752,{"../../../../hooks/useI18nContext":5427,"../../../../store/actions":5998,"../base-reader":4743,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=l(e("react")),r=l(e("prop-types")),o=e("../../../../store/actions"),i=l(e("../base-reader")),s=e("../../../../hooks/useI18nContext");function l(e){return e&&e.__esModule?e:{default:e}}const c=({handleCancel:e,setErrorTitle:t})=>{const n=(0,s.useI18nContext)();return a.default.createElement(i.default,{isReadingWallet:!0,handleCancel:e,handleSuccess:async e=>{if("crypto-hdkey"===e.type)return await(0,o.submitQRHardwareCryptoHDKey)(e.cbor.toString("hex"));if("crypto-account"===e.type)return await(0,o.submitQRHardwareCryptoAccount)(e.cbor.toString("hex"));throw t(n("QRHardwareUnknownQRCodeTitle")),new Error(n("unknownQrCode"))},setErrorTitle:t})};c.propTypes={handleCancel:r.default.func.isRequired,setErrorTitle:r.default.func.isRequired};n.default=c}}},{package:"$root$",file:"ui/components/app/qr-hardware-popover/qr-hardware-wallet-importer/qr-hardware-wallet-importer.component.js"}],[4753,{"./recovery-phrase-reminder":4754},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./recovery-phrase-reminder"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/recovery-phrase-reminder/index.js"}],[4754,{"../../../helpers/constants/design-system":5355,"../../../helpers/constants/routes":5361,"../../../hooks/useI18nContext":5427,"../../component-library":4955,"../../ui/box":5194,"../../ui/button":5198,"../../ui/popover":5281,"prop-types":3997,react:4243,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=m;var a=f(e("react")),r=f(e("prop-types")),o=e("react-router-dom"),i=e("../../../hooks/useI18nContext"),s=f(e("../../ui/box")),l=f(e("../../ui/button")),c=f(e("../../ui/popover")),u=e("../../../helpers/constants/design-system"),d=e("../../../helpers/constants/routes"),p=e("../../component-library");function f(e){return e&&e.__esModule?e:{default:e}}function m({onConfirm:e,hasBackedUp:t}){const n=(0,i.useI18nContext)(),r=(0,o.useHistory)();return a.default.createElement(c.default,{centerTitle:!0,title:n("recoveryPhraseReminderTitle")},a.default.createElement(s.default,{paddingRight:4,paddingBottom:6,paddingLeft:4,className:"recovery-phrase-reminder"},a.default.createElement(p.Text,{color:u.TextColor.textDefault,align:u.TextAlign.Center,variant:u.TextVariant.bodyMd,marginBottom:4},n("recoveryPhraseReminderSubText")),a.default.createElement(s.default,{marginTop:4,marginBottom:8},a.default.createElement("ul",{className:"recovery-phrase-reminder__list"},a.default.createElement(p.Text,{as:"li",color:u.TextColor.textDefault,fontWeight:u.FontWeight.Bold},n("recoveryPhraseReminderItemOne")),a.default.createElement(p.Text,{as:"li"},n("recoveryPhraseReminderItemTwo")),a.default.createElement(p.Text,{as:"li"},t?n("recoveryPhraseReminderHasBackedUp"):a.default.createElement(a.default.Fragment,null,n("recoveryPhraseReminderHasNotBackedUp"),a.default.createElement(s.default,{display:u.DISPLAY.INLINE_BLOCK,marginLeft:1},a.default.createElement(l.default,{type:"link",onClick:()=>{r.push(d.ONBOARDING_UNLOCK_ROUTE)},style:{fontSize:"inherit",padding:0}},n("recoveryPhraseReminderBackupStart"))))))),a.default.createElement(s.default,{justifyContent:u.JustifyContent.center},a.default.createElement(s.default,{width:u.BLOCK_SIZES.TWO_FIFTHS},a.default.createElement(l.default,{type:"primary",onClick:e},n("recoveryPhraseReminderConfirm"))))))}m.propTypes={hasBackedUp:r.default.bool.isRequired,onConfirm:r.default.func.isRequired}}}},{package:"$root$",file:"ui/components/app/recovery-phrase-reminder/recovery-phrase-reminder.js"}],[4755,{"./reveal-SRP-modal":4756},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./reveal-SRP-modal"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/reveal-SRP-modal/index.js"}],[4756,{"../../../helpers/constants/design-system":5355,"../../../hooks/useI18nContext":5427,"../../../store/actions":5998,"../../component-library":4955,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=d;var a,r=(a=e("prop-types"))&&a.__esModule?a:{default:a},o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=u(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),i=e("../../../helpers/constants/design-system"),s=e("../../../hooks/useI18nContext"),l=e("../../../store/actions"),c=e("../../component-library");function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(u=function(e){return e?n:t})(e)}function d({setSecretRecoveryPhrase:e,onClose:t,isOpen:n}){const a=(0,s.useI18nContext)(),[r,u]=(0,o.useState)(""),d=(0,o.useCallback)((async t=>{const n=await(0,l.getSeedPhrase)(t);e(n)}),[e]);return o.default.createElement(c.Modal,{isOpen:n,onClose:t,"data-testid":"reveal-srp-modal"},o.default.createElement(c.ModalOverlay,null),o.default.createElement(c.ModalContent,null,o.default.createElement(c.ModalHeader,{onClose:t},a("revealSeedWords")),o.default.createElement(c.Box,{paddingLeft:4,paddingRight:4},o.default.createElement("form",{onSubmit:e=>{e.preventDefault(),d(r)}},o.default.createElement(c.FormTextField,{marginTop:6,id:"account-details-authenticate",label:a("enterYourPassword"),placeholder:a("password"),onChange:e=>u(e.target.value),value:r,variant:i.TextVariant.bodySm,type:"password",labelProps:{fontWeight:i.FontWeight.Medium},autoFocus:!0})),o.default.createElement(c.Box,{display:i.Display.Flex,marginTop:6,gap:2},o.default.createElement(c.ButtonSecondary,{onClick:t,block:!0},a("cancel")),o.default.createElement(c.ButtonPrimary,{onClick:()=>d(r),disabled:""===r,block:!0},a("confirm"))))))}d.propTypes={setSecretRecoveryPhrase:r.default.func.isRequired,onClose:r.default.func.isRequired,isOpen:r.default.bool.isRequired}}}},{package:"$root$",file:"ui/components/app/reveal-SRP-modal/reveal-SRP-modal.js"}],[4757,{"../../../../shared/constants/smartTransactions":4514,"../../../helpers/constants/design-system":5355,"../../../hooks/useI18nContext":5427,"../../../store/actions":5998,"../../component-library":4955,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function({isOpen:e,hideWhatsNewPopup:t}){const n=(0,o.useI18nContext)(),c=(0,r.useDispatch)(),u=(0,a.useCallback)((()=>{c((0,l.setSmartTransactionsOptInStatus)(!0))}),[c]),d=(0,a.useCallback)((()=>{c((0,l.setSmartTransactionsOptInStatus)(!1))}),[c]);return(0,a.useEffect)((()=>{e&&t()}),[e,t]),a.default.createElement(s.Modal,{isOpen:e,onClose:u,isClosedOnOutsideClick:!1,isClosedOnEscapeKey:!1,className:"mm-modal__custom-scrollbar mm-smart-transactions-opt-in-modal",autoFocus:!1},a.default.createElement(s.ModalOverlay,null),a.default.createElement(s.ModalContent,null,a.default.createElement(s.ModalHeader,{alignItems:i.AlignItems.center,justifyContent:i.JustifyContent.center},n("smartTransactionsOptItModalTitle")),a.default.createElement(s.Box,{display:i.Display.Flex,flexDirection:i.FlexDirection.Column,paddingLeft:4,paddingRight:4},a.default.createElement(g,null),a.default.createElement(m,null),a.default.createElement(p,{handleEnableButtonClick:u}),a.default.createElement(f,{handleNoThanksLinkClick:d}))))};var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=u(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=e("react-redux"),o=e("../../../hooks/useI18nContext"),i=e("../../../helpers/constants/design-system"),s=e("../../component-library"),l=e("../../../store/actions"),c=e("../../../../shared/constants/smartTransactions");function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(u=function(e){return e?n:t})(e)}const d=()=>{const e=(0,o.useI18nContext)();return a.default.createElement(s.ButtonLink,{size:s.ButtonLinkSize.Inherit,textProps:{variant:i.TextVariant.bodyMd,alignItems:i.AlignItems.flexStart},as:"a",href:c.SMART_TRANSACTIONS_LEARN_MORE_URL,target:"_blank",rel:"noopener noreferrer"},e("learnMoreUpperCaseWithDot"))},p=({handleEnableButtonClick:e})=>{const t=(0,o.useI18nContext)();return a.default.createElement(s.Button,{marginTop:8,variant:s.ButtonVariant.Primary,onClick:e,width:i.BlockSize.Full},t("enable"))},f=({handleNoThanksLinkClick:e})=>{const t=(0,o.useI18nContext)();return a.default.createElement(s.Button,{marginTop:2,type:"link",variant:s.ButtonVariant.Link,color:i.TextColor.textAlternative,onClick:e,width:i.BlockSize.Full,className:"mm-smart-transactions-opt-in-modal__no-thanks-link"},t("noThanks"))},m=()=>{const e=(0,o.useI18nContext)();return a.default.createElement(s.Box,{display:i.Display.Flex,flexDirection:i.FlexDirection.Column},a.default.createElement(s.Text,{variant:i.TextVariant.bodyMd,marginTop:4},e("smartTransactionsDescription")),a.default.createElement(s.Text,{variant:i.TextVariant.bodyMd,marginTop:4},e("smartTransactionsDescription2",[a.default.createElement(d,null)])))},h=({text:e,iconName:t})=>a.default.createElement(s.Box,{display:i.Display.Flex,flexDirection:i.FlexDirection.Column,className:"mm-smart-transactions-opt-in-modal__benefit",textAlign:i.TextAlign.Center,alignItems:i.AlignItems.center,justifyContent:i.JustifyContent.flexStart},a.default.createElement(s.Icon,{name:t,color:i.IconColor.primaryDefault,className:"mm-smart-transactions-opt-in-modal__icon"}),a.default.createElement(s.Text,{variant:i.TextVariant.bodySm,fontWeight:i.FontWeight.Medium,marginTop:1},e)),g=()=>{const e=(0,o.useI18nContext)();return a.default.createElement(s.Box,{display:i.Display.Flex,flexDirection:i.FlexDirection.Row,justifyContent:i.JustifyContent.center,marginTop:4,paddingLeft:5,paddingRight:5},a.default.createElement(h,{text:e("smartTransactionsBenefit1"),iconName:s.IconName.Confirmation}),a.default.createElement(h,{text:e("smartTransactionsBenefit2"),iconName:s.IconName.Coin}),a.default.createElement(h,{text:e("smartTransactionsBenefit3"),iconName:s.IconName.Clock}))}}}},{package:"$root$",file:"ui/components/app/smart-transactions/smart-transactions-opt-in-modal.tsx"}],[4758,{"../../../../../shared/constants/time":4518,"../../../../helpers/constants/design-system":5355,"../../../../hooks/useCopyToClipboard":5417,"../../../../hooks/useI18nContext":5427,"../../../../hooks/useTimeout":5443,"../../../component-library":4955,"../../../ui/tooltip":5310,"../show-more":4766,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.Copyable=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=h(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=m(e("prop-types")),o=m(e("classnames")),i=e("../../../../helpers/constants/design-system"),s=e("../../../../hooks/useCopyToClipboard"),l=e("../../../component-library"),c=e("../../../../hooks/useI18nContext"),u=m(e("../../../ui/tooltip")),d=e("../show-more"),p=e("../../../../../shared/constants/time"),f=e("../../../../hooks/useTimeout");function m(e){return e&&e.__esModule?e:{default:e}}function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(h=function(e){return e?n:t})(e)}const g=({text:e,sensitive:t=!1,marginTop:n,marginBottom:r})=>{const m=(0,c.useI18nContext)(),[,h]=(0,s.useCopyToClipboard)(),[g,y]=(0,a.useState)(!t),[b,v]=(0,a.useState)(!1),T=(0,f.useTimeout)((()=>v(!1)),3*p.SECOND,!1),E=e=>{e.stopPropagation(),y((e=>!e))};return a.default.createElement(l.Box,{display:i.Display.Flex,onClick:t&&!g?E:t=>{t.stopPropagation(),h(e),v(!0),T()},className:(0,o.default)("copyable",{sensitive:t,clicked:b,visible:g}),backgroundColor:g&&t?i.BackgroundColor.errorMuted:i.BackgroundColor.backgroundAlternative,borderRadius:i.BorderRadius.LG,padding:2,marginTop:n,marginBottom:r},t&&a.default.createElement(l.Box,{marginRight:2,className:"copyable__icon"},a.default.createElement(u.default,{wrapperClassName:"copyable__tooltip",html:a.default.createElement(l.Text,null,m(g?"hideSentitiveInfo":"doNotShare")),position:"bottom"},a.default.createElement(l.Icon,{name:g?l.IconName.EyeSlash:l.IconName.Eye,onClick:E,color:g&&t?i.Color.errorAlternative:i.IconColor.iconAlternative,"data-testid":"reveal-icon"}))),t&&!g&&a.default.createElement(l.Text,{color:i.Color.textAlternative,marginRight:2,marginBottom:0,overflowWrap:i.OverflowWrap.Anywhere},m("revealSensitiveContent")),g&&a.default.createElement(d.ShowMore,{marginRight:2,buttonBackground:g&&t?i.BackgroundColor.errorMuted:i.BackgroundColor.backgroundAlternative},a.default.createElement(l.Text,{color:g&&t?i.Color.errorAlternative:i.TextColor.textAlternative,marginBottom:0,overflowWrap:i.OverflowWrap.Anywhere},e)),g&&a.default.createElement(l.Icon,{className:"copyable__icon",name:b?l.IconName.CopySuccess:l.IconName.Copy,color:g&&t?i.Color.errorAlternative:i.IconColor.iconAlternative,marginLeft:"auto","data-testid":"copy-icon"}))};n.Copyable=g,g.propTypes={text:r.default.string,sensitive:r.default.bool,marginTop:r.default.number,marginBottom:r.default.number}}}},{package:"$root$",file:"ui/components/app/snaps/copyable/copyable.js"}],[4759,{"./copyable":4758},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"Copyable",{enumerable:!0,get:function(){return a.Copyable}});var a=e("./copyable")}}},{package:"$root$",file:"ui/components/app/snaps/copyable/index.js"}],[4760,{"./insight-warnings":4761},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./insight-warnings"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/snaps/insight-warnings/index.js"}],[4761,{"../../../../helpers/constants/design-system":5355,"../../../../helpers/constants/snaps":5364,"../../../../helpers/utils/util":5399,"../../../../hooks/useI18nContext":5427,"../../../component-library":4955,"../snap-ui-renderer":4831,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=f;var a,r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=p(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=(a=e("prop-types"))&&a.__esModule?a:{default:a},i=e("../../../component-library"),s=e("../../../../helpers/constants/design-system"),l=e("../../../../hooks/useI18nContext"),c=e("../snap-ui-renderer"),u=e("../../../../helpers/constants/snaps"),d=e("../../../../helpers/utils/util");function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(p=function(e){return e?n:t})(e)}function f({warnings:e,action:t="confirming",origin:n,onCancel:a,onSubmit:o}){const p=(0,l.useI18nContext)(),f=e.reduce(((e,t,n)=>(e[t.snapId]=0!==n,e)),{}),[m,h]=(0,r.useState)(f),[g,y]=(0,r.useState)(!1),b=()=>{const t=e.length-1;return r.default.createElement(i.Box,{className:"insights-warnings-modal__content"},e.map(((n,a)=>{const{snapId:o,id:i}=n;return r.default.createElement(c.SnapUIRenderer,{key:`${o}-${a}`,snapId:o,interfaceId:i,delineatorType:u.DelineatorType.Warning,onClick:()=>(t=>{let n={...m};const a=!m[t],r=a;n[t]=a,r||(n={...f},n[t]=!1,n[e[0].snapId]=t!==e[0].snapId),h(n)})(o),isCollapsable:!0,isCollapsed:m[o],boxProps:{marginBottom:a===t?0:4}})})))};return r.default.createElement(i.Modal,{isOpen:!0,isClosedOnEscapeKey:!1,isClosedOnOutsideClick:!1,className:"insights-warnings-modal"},r.default.createElement(i.ModalOverlay,null),r.default.createElement(i.ModalContent,null,r.default.createElement(i.ModalHeader,{justifyContent:s.JustifyContent.center,childrenWrapperProps:{alignItems:s.AlignItems.center,display:s.Display.Flex,flexDirection:s.FlexDirection.Column}},r.default.createElement(i.AvatarIcon,{iconName:i.IconName.Warning,size:i.AvatarIconSize.Lg,color:s.IconColor.errorDefault,backgroundColor:s.BackgroundColor.errorMuted}),r.default.createElement(i.Text,{variant:s.TextVariant.headingMd,paddingTop:4,paddingBottom:4},p("insightWarningHeader"))),r.default.createElement(i.ModalBody,null,r.default.createElement(i.Text,{variant:s.TextVariant.bodyMd,paddingBottom:4},1===e.length?p("insightWarningContentSingular",[r.default.createElement(i.Text,{variant:s.TextVariant.inherit,key:e.id,fontWeight:s.FontWeight.Medium},`${e.length} ${p("insightWarning")}`),t,u.InsightWarningLanguage[t].noun]):p("insightWarningContentPlural",[r.default.createElement(i.Text,{variant:s.TextVariant.inherit,key:e.id,fontWeight:s.FontWeight.Medium},`${e.length} ${p("insightWarnings")}`),e.length,t,u.InsightWarningLanguage[t].noun])),r.default.createElement(b,null),r.default.createElement(i.Box,{display:s.Display.Flex,justifyContent:s.JustifyContent.flexStart,alignItems:s.AlignItems.center,marginTop:4,marginBottom:4,padding:4,borderRadius:s.BorderRadius.SM,style:{backgroundColor:g?"var(--color-info-muted)":"var(--color-background-default-hover)"}},r.default.createElement(i.Checkbox,{variant:s.TextVariant.bodyMd,isChecked:g,onChange:()=>y((e=>!e)),label:p("insightWarningCheckboxMessage",[p(u.InsightWarningLanguage[t].imperative),r.default.createElement(i.Text,{variant:s.TextVariant.inherit,key:t,fontWeight:s.FontWeight.Medium},(0,d.stripHttpSchemes)(n))])})),r.default.createElement(i.Box,{display:s.Display.Flex,justifyContent:s.JustifyContent.spaceBetween},r.default.createElement(i.Button,{size:i.ButtonSecondarySize.Lg,width:s.BlockSize.Half,variant:i.ButtonVariant.Secondary,onClick:a,marginRight:4},p("cancel")),r.default.createElement(i.Button,{size:i.ButtonPrimarySize.Lg,width:s.BlockSize.Half,"data-testid":"snapInsightsButtonConfirm",danger:!0,onClick:o,disabled:!g},p(u.InsightWarningLanguage[t].imperative))))))}f.propTypes={warnings:o.default.arrayOf(o.default.object),action:o.default.oneOf(Object.keys(u.InsightWarningLanguage)),origin:o.default.string.isRequired,onCancel:o.default.func.isRequired,onSubmit:o.default.func.isRequired}}}},{package:"$root$",file:"ui/components/app/snaps/insight-warnings/insight-warnings.js"}],[4762,{"../../../../helpers/constants/design-system":5355,"../../../component-library":4955,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=s(e("react")),r=s(e("prop-types")),o=e("../../../../helpers/constants/design-system"),i=e("../../../component-library");function s(e){return e&&e.__esModule?e:{default:e}}const l=({title:e,error:t,description:n,iconName:r})=>a.default.createElement(i.Box,{display:o.Display.Flex,flexDirection:o.FlexDirection.Column,alignItems:o.AlignItems.center,justifyContent:o.JustifyContent.center,height:o.BlockSize.Full,padding:2},r&&a.default.createElement(i.AvatarIcon,{iconName:r,size:i.AvatarIconSize.Xl,color:o.IconColor.errorDefault,backgroundColor:o.BackgroundColor.errorMuted,marginBottom:4}),a.default.createElement(i.Text,{variant:o.TextVariant.headingLg},e),n&&a.default.createElement(i.Text,{textAlign:o.TextAlign.Center},n),t&&a.default.createElement(i.BannerAlert,{marginTop:4,startAccessory:null,severity:o.Severity.Danger},a.default.createElement(i.Text,{variant:o.TextVariant.bodySm},t)));l.propTypes={title:r.default.node.isRequired,error:r.default.string,description:r.default.string,iconName:r.default.string};n.default=l}}},{package:"$root$",file:"ui/components/app/snaps/install-error/install-error.js"}],[4763,{"./keyring-snap-removal-warning":4765},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./keyring-snap-removal-warning"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/snaps/keyring-snap-removal-warning/index.ts"}],[4764,{"../../../../../shared/modules/hexstring-utils":4544,"../../../../helpers/constants/design-system":5355,"../../../../hooks/useI18nContext":5427,"../../../component-library":4955,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.KeyringAccountListItem=void 0;var a,r=(a=e("react"))&&a.__esModule?a:{default:a},o=e("../../../component-library"),i=e("../../../../helpers/constants/design-system"),s=e("../../../../../shared/modules/hexstring-utils"),l=e("../../../../hooks/useI18nContext");n.KeyringAccountListItem=({account:e,snapUrl:t})=>{const n=(0,l.useI18nContext)();return r.default.createElement(o.Box,{display:i.Display.Flex,flexDirection:i.FlexDirection.Row,justifyContent:i.JustifyContent.spaceBetween,borderRadius:i.BorderRadius.MD,borderColor:i.BorderColor.borderDefault,padding:3,width:i.BlockSize.Full,"data-testid":"keyring-account-list-item"},r.default.createElement(o.Box,{display:i.Display.Flex,flexDirection:i.FlexDirection.Column,width:i.BlockSize.TenTwelfths},r.default.createElement(o.Box,{flexDirection:i.FlexDirection.Column,marginBottom:2},r.default.createElement(o.Text,{color:i.TextColor.textMuted},n("keyringAccountName")),r.default.createElement(o.Text,null,e.name)),r.default.createElement(o.Box,{flexDirection:i.FlexDirection.Column},r.default.createElement(o.Text,{color:i.TextColor.textMuted},n("keyringAccountPublicAddress")),r.default.createElement(o.Text,{overflowWrap:i.OverflowWrap.Anywhere},(0,s.toChecksumHexAddress)(e.address)))),r.default.createElement(o.Box,{display:i.Display.Flex,flexDirection:i.FlexDirection.Column,justifyContent:i.JustifyContent.center},r.default.createElement(o.ButtonIcon,{ariaLabel:"snap-url-export","data-testid":"keyring-account-link",iconName:o.IconName.Export,color:i.IconColor.primaryDefault,onClick:()=>{global.platform.openTab({url:t})}})))}}}},{package:"$root$",file:"ui/components/app/snaps/keyring-snap-removal-warning/keyring-account-list-item.tsx"}],[4765,{"../../../../ducks/metamask/metamask":5346,"../../../../helpers/constants/design-system":5355,"../../../../hooks/useI18nContext":5427,"../../../component-library":4955,"../../../component-library/modal-content/deprecated":4963,"../../../component-library/modal-header/deprecated":4972,"../../../ui/info-tooltip":5248,"./keyring-account-list-item":4764,"@metamask/etherscan-link":1369,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function({snap:e,keyringAccounts:t,onCancel:n,onClose:a,onSubmit:h,onBack:g,isOpen:y}){const b=(0,d.useI18nContext)(),[v,T]=(0,r.useState)(!1),[E,w]=(0,r.useState)(!1),[x,_]=(0,r.useState)(""),[O,S]=(0,r.useState)(!1),{chainId:C}=(0,i.useSelector)(f.getProviderConfig);(0,r.useEffect)((()=>{T(0===t.length)}),[t]);return r.default.createElement(r.default.Fragment,null,r.default.createElement(s.Modal,{isOpen:y,onClose:a},r.default.createElement(s.ModalOverlay,null),r.default.createElement(l.ModalContent,{modalDialogProps:{display:u.Display.Flex,flexDirection:u.FlexDirection.Column,gap:4}},r.default.createElement(c.ModalHeader,{onBack:()=>{v?T(!1):g()},onClose:()=>{T(!1),a()}},b("removeSnap")),!1===v?r.default.createElement(r.default.Fragment,null,r.default.createElement(s.BannerAlert,{severity:s.BannerAlertSeverity.Warning,className:""},b("backupKeyringSnapReminder")),r.default.createElement(s.Box,{display:u.Display.Flex,justifyContent:u.JustifyContent.spaceBetween},r.default.createElement(s.Text,null,b("removeKeyringSnap")),r.default.createElement(p.default,{contentText:b("removeKeyringSnapToolTip"),position:"top"})),t.map(((e,t)=>r.default.createElement(m.KeyringAccountListItem,{key:t,account:e,snapUrl:(0,o.getAccountLink)(e.address,C)})))):r.default.createElement(r.default.Fragment,null,r.default.createElement(s.Box,{display:u.Display.Flex,flexDirection:u.FlexDirection.Column,marginTop:6},r.default.createElement(s.BannerAlert,{severity:s.BannerAlertSeverity.Warning,className:"",marginBottom:4},b("backupKeyringSnapReminder")),r.default.createElement(s.Text,{marginBottom:4},b("keyringSnapRemoveConfirmation",[r.default.createElement(s.Text,{key:"keyringSnapRemoveConfirmation2",fontWeight:u.FontWeight.Bold,as:"span"},e.manifest.proposedName)])),r.default.createElement(s.TextField,{marginBottom:4,value:x,onChange:t=>{var n;_(t.target.value),w((n=t.target.value,S(!1),n===e.manifest.proposedName||(S(!0),!1)))},onPaste:e=>{e.preventDefault()},error:O,inputProps:{"data-testid":"remove-snap-confirmation-input"}}))),r.default.createElement(s.Box,{width:u.BlockSize.Full,display:u.Display.Flex,gap:4},r.default.createElement(s.Button,{block:!0,variant:s.ButtonVariant.Secondary,size:s.ButtonSize.Lg,onClick:n},b("cancel")),r.default.createElement(s.Button,{block:!0,size:s.ButtonSize.Lg,id:"popoverRemoveSnapButton",danger:v,disabled:v&&!E,onClick:async()=>{v?E&&h():T(!0)}},b(v?"removeSnap":"continue"))))))};var a,r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=h(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=e("@metamask/etherscan-link"),i=e("react-redux"),s=e("../../../component-library"),l=e("../../../component-library/modal-content/deprecated"),c=e("../../../component-library/modal-header/deprecated"),u=e("../../../../helpers/constants/design-system"),d=e("../../../../hooks/useI18nContext"),p=(a=e("../../../ui/info-tooltip"))&&a.__esModule?a:{default:a},f=e("../../../../ducks/metamask/metamask"),m=e("./keyring-account-list-item");function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(h=function(e){return e?n:t})(e)}}}},{package:"$root$",file:"ui/components/app/snaps/keyring-snap-removal-warning/keyring-snap-removal-warning.tsx"}],[4766,{"./show-more":4767},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"ShowMore",{enumerable:!0,get:function(){return a.ShowMore}});var a=e("./show-more")}}},{package:"$root$",file:"ui/components/app/snaps/show-more/index.js"}],[4767,{"../../../../helpers/constants/design-system":5355,"../../../../hooks/snaps/useIsOverflowing":5409,"../../../../hooks/useI18nContext":5427,"../../../component-library":4955,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.ShowMore=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=u(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=c(e("prop-types")),o=c(e("../../../../hooks/snaps/useIsOverflowing")),i=e("../../../component-library"),s=e("../../../../helpers/constants/design-system"),l=e("../../../../hooks/useI18nContext");function c(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(u=function(e){return e?n:t})(e)}function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const n=(0,l.useI18nContext)(),{contentRef:r,isOverflowing:c}=(0,o.default)(),[u,p]=(0,a.useState)(!1),f=c&&!u;return a.default.createElement(i.Box,d({className:"show-more",style:{position:"relative",overflow:"hidden",maxHeight:u?"none":undefined},ref:r},t),e,f&&a.default.createElement(i.Box,{style:{position:"absolute",bottom:0,right:0,background:`linear-gradient(90deg, transparent 0%, var(--color-${s.BackgroundColor.backgroundDefault}) 33%)`}},a.default.createElement(i.Button,{className:"show-more__button",padding:0,paddingLeft:8,variant:i.ButtonVariant.Link,onClick:e=>{e.stopPropagation(),p(!0)}},a.default.createElement(i.Text,{color:s.TextColor.infoDefault},n("more")))))};n.ShowMore=p,p.propTypes={children:r.default.node,buttonBackground:r.default.string}}}},{package:"$root$",file:"ui/components/app/snaps/show-more/show-more.js"}],[4768,{"./snap-authorship-expanded":4769},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./snap-authorship-expanded"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/snaps/snap-authorship-expanded/index.js"}],[4769,{"../../../../helpers/constants/design-system":5355,"../../../../helpers/utils/util":5399,"../../../../hooks/snaps/useSafeWebsite":5410,"../../../../hooks/useI18nContext":5427,"../../../../hooks/useOriginMetadata":5433,"../../../../selectors":5987,"../../../../store/actions":5998,"../../../component-library":4955,"../../../ui/toggle-button":5306,"../../../ui/tooltip/tooltip":5311,"../snap-avatar":4772,"../snap-version/snap-external-pill":4836,"@metamask/snaps-utils":2163,classnames:3049,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=e("@metamask/snaps-utils"),r=T(e("classnames")),o=T(e("prop-types")),i=T(e("react")),s=e("react-redux"),l=e("../../../../helpers/constants/design-system"),c=e("../../../../helpers/utils/util"),u=e("../../../../hooks/useI18nContext"),d=e("../../../../hooks/useOriginMetadata"),p=e("../../../../selectors"),f=e("../../../../store/actions"),m=e("../../../component-library"),h=T(e("../../../ui/toggle-button")),g=T(e("../../../ui/tooltip/tooltip")),y=T(e("../snap-avatar")),b=T(e("../snap-version/snap-external-pill")),v=e("../../../../hooks/snaps/useSafeWebsite");function T(e){return e&&e.__esModule?e:{default:e}}const E=({snapId:e,className:t,snap:n})=>{const o=(0,u.useI18nContext)(),T=(0,s.useDispatch)(),E=e&&(0,a.getSnapPrefix)(e),w=e&&(0,a.stripSnapPrefix)(e),x="npm:"===E,_=null!=n&&n.version?`/v/${null==n?void 0:n.version}`:"",O=x?`https://www.npmjs.com/package/${w}${_}`:w,S=(0,s.useSelector)((t=>(0,p.getSnapRegistryData)(t,e))),{name:C}=(0,s.useSelector)((t=>(0,p.getSnapMetadata)(t,e))),{website:k=undefined}=(null==S?void 0:S.metadata)??{},I=(0,v.useSafeWebsite)(k),N=(null==n?void 0:n.versionHistory)??[],M=N.length?N[N.length-1]:undefined,P=(0,d.useOriginMetadata)(null==M?void 0:M.origin);return i.default.createElement(m.Box,{className:(0,r.default)("snaps-authorship-expanded",t),backgroundColor:l.BackgroundColor.backgroundDefault,borderColor:l.BorderColor.borderDefault,borderWidth:1,width:l.BlockSize.Full,borderRadius:l.BorderRadius.LG},i.default.createElement(m.Box,{alignItems:l.AlignItems.center,display:l.Display.Flex,width:l.BlockSize.Full,paddingLeft:4,paddingRight:4,paddingTop:3,paddingBottom:3},i.default.createElement(m.Box,null,i.default.createElement(y.default,{snapId:e})),i.default.createElement(m.Box,{marginLeft:4,marginRight:0,display:l.Display.Flex,flexDirection:l.FlexDirection.Column,style:{overflow:"hidden"}},i.default.createElement(m.Text,{ellipsis:!0,fontWeight:l.FontWeight.Medium},C),i.default.createElement(m.Text,{ellipsis:!0,variant:l.TextVariant.bodySm,color:l.TextColor.textAlternative},w))),i.default.createElement(m.Box,{display:l.Display.Flex,flexDirection:l.FlexDirection.Row,justifyContent:l.JustifyContent.spaceBetween,paddingLeft:4,paddingTop:4,paddingBottom:4,borderColor:l.BorderColor.borderDefault,width:l.BlockSize.Full,style:{borderLeft:l.BorderStyle.none,borderRight:l.BorderStyle.none}},i.default.createElement(m.Text,{variant:l.TextVariant.bodyMd,fontWeight:l.FontWeight.Medium},o("enabled")),i.default.createElement(m.Box,{style:{maxWidth:"52px"}},i.default.createElement(g.default,{interactive:!0,position:"left",html:o("snapsToggle")},i.default.createElement(h.default,{value:null==n?void 0:n.enabled,onToggle:()=>{null!=n&&n.enabled?T((0,f.disableSnap)(null==n?void 0:n.id)):T((0,f.enableSnap)(null==n?void 0:n.id))}})))),i.default.createElement(m.Box,{padding:4,width:l.BlockSize.Full},I&&i.default.createElement(m.Box,{display:l.Display.Flex,flexDirection:l.FlexDirection.Row,justifyContent:l.JustifyContent.spaceBetween,width:l.BlockSize.Full,marginBottom:4},i.default.createElement(m.Text,{variant:l.TextVariant.bodyMd,fontWeight:l.FontWeight.Medium},o("snapDetailWebsite")),i.default.createElement(m.Box,{paddingLeft:8,display:l.Display.Flex,flexDirection:l.FlexDirection.Column,alignItems:l.AlignItems.flexEnd},i.default.createElement(m.ButtonLink,{href:I.toString(),target:"_blank",overflowWrap:l.OverflowWrap.Anywhere},I.host))),P&&M&&i.default.createElement(m.Box,{display:l.Display.Flex,flexDirection:l.FlexDirection.Row,justifyContent:l.JustifyContent.spaceBetween,width:l.BlockSize.Full},i.default.createElement(m.Text,{variant:l.TextVariant.bodyMd,fontWeight:l.FontWeight.Medium},o("installOrigin")),i.default.createElement(m.Box,{display:l.Display.Flex,flexDirection:l.FlexDirection.Column,alignItems:l.AlignItems.flexEnd},i.default.createElement(m.Text,null,P.host),i.default.createElement(m.Text,{color:l.Color.textMuted},o("installedOn",[(0,c.formatDate)(M.date,"dd MMM yyyy")])))),i.default.createElement(m.Box,{display:l.Display.Flex,flexDirection:l.FlexDirection.Row,justifyContent:l.JustifyContent.spaceBetween,alignItems:l.AlignItems.center,marginTop:4},i.default.createElement(m.Text,{variant:l.TextVariant.bodyMd,fontWeight:l.FontWeight.Medium},o("version")),i.default.createElement(b.default,{value:null==n?void 0:n.version,url:O}))))};E.propTypes={snapId:o.default.string,className:o.default.string,snap:o.default.object};n.default=E}}},{package:"$root$",file:"ui/components/app/snaps/snap-authorship-expanded/snap-authorship-expanded.js"}],[4770,{"./snap-authorship-header":4771},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./snap-authorship-header"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/snaps/snap-authorship-header/index.js"}],[4771,{"../../../../helpers/constants/design-system":5355,"../../../../selectors":5987,"../../../component-library":4955,"../snap-avatar":4772,"../snap-metadata-modal":4788,"@metamask/snaps-utils":2163,classnames:3049,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=m(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=f(e("prop-types")),o=f(e("classnames")),i=e("@metamask/snaps-utils"),s=e("react-redux"),l=e("../../../../helpers/constants/design-system"),c=e("../../../../selectors"),u=e("../../../component-library"),d=f(e("../snap-avatar")),p=e("../snap-metadata-modal");function f(e){return e&&e.__esModule?e:{default:e}}function m(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(m=function(e){return e?n:t})(e)}const h=({snapId:e,className:t,boxShadow:n="var(--shadow-size-lg) var(--color-shadow-default)"})=>{const[r,f]=(0,a.useState)(!1),m=e&&(0,i.stripSnapPrefix)(e),{name:h}=(0,s.useSelector)((t=>(0,c.getSnapMetadata)(t,e)));return a.default.createElement(u.Box,{className:(0,o.default)("snaps-authorship-header",t),backgroundColor:l.BackgroundColor.backgroundDefault,width:l.BlockSize.Full,alignItems:l.AlignItems.center,display:l.Display.Flex,padding:4,style:{boxShadow:n}},e&&a.default.createElement(p.SnapMetadataModal,{snapId:e,isOpen:r,onClose:()=>f(!1)}),a.default.createElement(u.Box,null,a.default.createElement(d.default,{snapId:e})),a.default.createElement(u.Box,{marginLeft:4,marginRight:4,display:l.Display.Flex,flexDirection:l.FlexDirection.Column,style:{overflow:"hidden"}},a.default.createElement(u.Text,{ellipsis:!0,fontWeight:l.FontWeight.Medium},h),a.default.createElement(u.Text,{ellipsis:!0,variant:l.TextVariant.bodySm,color:l.TextColor.textAlternative},m)),a.default.createElement(u.Box,{marginLeft:"auto"},a.default.createElement(u.AvatarIcon,{className:"snaps-authorship-header__button",iconName:u.IconName.Info,onClick:()=>f(!0),color:l.IconColor.iconMuted,backgroundColor:l.BackgroundColor.backgroundAlternative})))};h.propTypes={snapId:r.default.string,className:r.default.string,boxShadow:r.default.string};n.default=h}}},{package:"$root$",file:"ui/components/app/snaps/snap-authorship-header/snap-authorship-header.js"}],[4772,{"./snap-avatar":4773},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./snap-avatar"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/snaps/snap-avatar/index.js"}],[4773,{"../../../../helpers/constants/design-system":5355,"../../../../helpers/utils/util":5399,"../../../../selectors":5987,"../../../component-library":4955,classnames:3049,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=d(e("react")),r=d(e("prop-types")),o=d(e("classnames")),i=e("react-redux"),s=e("../../../../helpers/constants/design-system"),l=e("../../../component-library"),c=e("../../../../selectors"),u=e("../../../../helpers/utils/util");function d(e){return e&&e.__esModule?e:{default:e}}const p=({snapId:e,badgeSize:t=l.IconSize.Sm,avatarSize:n=l.IconSize.Lg,borderWidth:r=2,className:d,badgeBackgroundColor:p=s.BackgroundColor.backgroundAlternative})=>{const f=(0,i.useSelector)((t=>(0,c.getTargetSubjectMetadata)(t,e))),{name:m}=(0,i.useSelector)((t=>(0,c.getSnapMetadata)(t,e))),h=null==f?void 0:f.iconUrl,g=(0,u.getAvatarFallbackLetter)(m);return a.default.createElement(l.BadgeWrapper,{className:(0,o.default)("snap-avatar",d),badge:a.default.createElement(l.AvatarIcon,{iconName:l.IconName.Snaps,size:t,backgroundColor:s.IconColor.infoDefault,borderColor:p,borderWidth:r,iconProps:{color:s.IconColor.infoInverse}}),position:l.BadgeWrapperPosition.bottomRight},h?a.default.createElement(l.AvatarFavicon,{style:{"background-color":"var(--color-background-alternative-hover)"},size:n,src:h,name:m}):a.default.createElement(l.AvatarBase,{size:n,display:s.Display.Flex,alignItems:s.AlignItems.center,justifyContent:s.JustifyContent.center,color:s.TextColor.textAlternative,style:{borderWidth:"0px","background-color":"var(--color-background-alternative-hover)"}},g))};p.propTypes={snapId:r.default.string,badgeSize:r.default.string,avatarSize:r.default.string,borderWidth:r.default.number,badgeBackgroundColor:r.default.string,className:r.default.string};n.default=p}}},{package:"$root$",file:"ui/components/app/snaps/snap-avatar/snap-avatar.js"}],[4774,{"../../../../helpers/constants/design-system":5355,"../../../../hooks/useI18nContext":5427,"../../../../selectors":5987,"../../../component-library":4955,"../../../ui/tooltip/tooltip":5311,"../snap-avatar/snap-avatar":4773,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=f;var a=p(e("react")),r=p(e("prop-types")),o=e("react-redux"),i=e("../../../../helpers/constants/design-system"),s=e("../../../component-library"),l=p(e("../../../ui/tooltip/tooltip")),c=e("../../../../hooks/useI18nContext"),u=p(e("../snap-avatar/snap-avatar")),d=e("../../../../selectors");function p(e){return e&&e.__esModule?e:{default:e}}function f({origin:e,snapId:t}){const n=(0,c.useI18nContext)(),{name:r}=(0,o.useSelector)((e=>(0,d.getSnapMetadata)(e,t)));return a.default.createElement(s.Box,{display:i.Display.Flex,alignItems:i.AlignItems.center,paddingTop:2,paddingBottom:2},a.default.createElement(u.default,{snapId:t}),a.default.createElement(s.Box,{width:"full",paddingLeft:4,paddingRight:4},a.default.createElement(s.Text,null,n("connectSnap",[a.default.createElement(s.Text,{variant:i.TextVariant.inherit,key:"1",fontWeight:i.FontWeight.Bold},r)]))),a.default.createElement(s.Box,null,a.default.createElement(l.default,{html:a.default.createElement("div",null,n("snapConnectionWarning",[a.default.createElement("b",{key:"0"},e),a.default.createElement("b",{key:"1"},r)])),position:"bottom"},a.default.createElement(s.Icon,{color:i.IconColor.iconMuted,name:s.IconName.Info,size:s.IconSize.Sm}))))}f.propTypes={origin:r.default.string.isRequired,snapId:r.default.string.isRequired}}}},{package:"$root$",file:"ui/components/app/snaps/snap-connect-cell/snap-connect-cell.js"}],[4775,{"./snap-delineator":4776},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"SnapDelineator",{enumerable:!0,get:function(){return a.SnapDelineator}});var a=e("./snap-delineator")}}},{package:"$root$",file:"ui/components/app/snaps/snap-delineator/index.js"}],[4776,{"../../../../helpers/constants/design-system":5355,"../../../../helpers/constants/snaps":5364,"../../../../hooks/useI18nContext":5427,"../../../component-library":4955,"../../../ui/pulse-loader/pulse-loader":5284,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.SnapDelineator=void 0;var a=u(e("react")),r=u(e("prop-types")),o=e("../../../../hooks/useI18nContext"),i=e("../../../../helpers/constants/design-system"),s=e("../../../component-library"),l=e("../../../../helpers/constants/snaps"),c=u(e("../../../ui/pulse-loader/pulse-loader"));function u(e){return e&&e.__esModule?e:{default:e}}function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const h=(0,o.useI18nContext)(),g=t===l.DelineatorType.Error||t===l.DelineatorType.Warning;return a.default.createElement(s.Box,d({className:"snap-delineator__wrapper",display:i.Display.Flex,flexDirection:i.FlexDirection.Column,borderStyle:i.BorderStyle.solid,borderColor:i.BorderColor.borderDefault,borderRadius:i.BorderRadius.LG,backgroundColor:g?i.BackgroundColor.errorMuted:i.BackgroundColor.backgroundDefault},m,{style:{minHeight:n&&"180px",...null==m?void 0:m.style}}),a.default.createElement(s.Box,{className:"snap-delineator__header",display:i.Display.Flex,alignItems:i.AlignItems.center,justifyContent:i.JustifyContent.spaceBetween,padding:1,style:{borderBottomWidth:u?0:1}},a.default.createElement(s.Box,{display:i.Display.Flex,alignItems:i.AlignItems.center,className:"snap-delineator__header__container"},a.default.createElement(s.AvatarIcon,{iconName:s.IconName.Snaps,className:"snap-delineator__header__icon",size:s.AvatarIconSize.Xs,backgroundColor:g?i.IconColor.errorDefault:i.IconColor.infoDefault,iconProps:{color:i.IconColor.infoInverse}}),a.default.createElement(s.Text,{variant:i.TextVariant.bodySm,color:i.TextColor.textDefault,className:"snap-delineator__header__text",marginLeft:1,marginTop:0,marginBottom:0,marginRight:1,display:"block"},h((0,l.getDelineatorTitle)(t),[e]))),r&&a.default.createElement(s.Icon,{name:u?s.IconName.ArrowDown:s.IconName.ArrowUp,size:s.IconSize.Sm,color:i.IconColor.iconMuted,className:"snap-delineator__expansion-icon",onClick:f})),a.default.createElement(s.Box,{className:"snap-delineator__content",padding:4,display:r&&u?i.Display.None:i.Display.Flex,flexDirection:i.FlexDirection.Column,alignItems:n&&i.AlignItems.center,justifyContent:n&&i.JustifyContent.center,style:{flexGrow:n&&"1"}},n?a.default.createElement(c.default,null):p))};n.SnapDelineator=p,p.propTypes={snapName:r.default.string,type:r.default.string,isCollapsable:r.default.bool,isCollapsed:r.default.bool,isLoading:r.default.bool,onClick:r.default.func,boxProps:r.default.object,children:r.default.node}}}},{package:"$root$",file:"ui/components/app/snaps/snap-delineator/snap-delineator.js"}],[4777,{"../../../../helpers/constants/design-system":5355,"../../../../helpers/constants/routes":5361,"../../../../helpers/constants/snaps":5364,"../../../../hooks/useI18nContext":5427,"../../../../selectors":5987,"../../../../store/actions":5998,"../../../component-library":4955,"../copyable":4759,"../snap-delineator":4775,"../snap-ui-renderer":4831,"./useSnapHome":4778,"prop-types":3997,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.SnapHomeRenderer=void 0;var a,r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=v(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=(a=e("prop-types"))&&a.__esModule?a:{default:a},i=e("react-router-dom"),s=e("react-redux"),l=e("../../../component-library"),c=e("../snap-ui-renderer"),u=e("../../../../selectors"),d=e("../snap-delineator"),p=e("../../../../helpers/constants/snaps"),f=e("../../../../helpers/constants/design-system"),m=e("../copyable"),h=e("../../../../hooks/useI18nContext"),g=e("../../../../store/actions"),y=e("../../../../helpers/constants/routes"),b=e("./useSnapHome");function v(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(v=function(e){return e?n:t})(e)}const T=({snapId:e})=>{const t=(0,s.useDispatch)(),n=(0,h.useI18nContext)(),{name:a}=(0,s.useSelector)((t=>(0,u.getSnapMetadata)(t,e))),o=(0,s.useSelector)(u.getMemoizedUnapprovedTemplatedConfirmations),v=(0,s.useSelector)(u.getMemoizedUnapprovedConfirmations),T=(0,i.useHistory)(),{data:E,error:w,loading:x}=(0,b.useSnapHome)({snapId:e}),_=x||w?undefined:null==E?void 0:E.id;return(0,r.useEffect)((()=>()=>_&&t((0,g.deleteInterface)(_))),[_]),(0,r.useEffect)((()=>{const t=o.find((t=>t.origin===e)),n=v.find((t=>t.origin===e));t?T.push(`${y.CONFIRMATION_V_NEXT_ROUTE}/${t.id}`):n&&T.push(`${y.CONFIRM_TRANSACTION_ROUTE}/${n.id}`)}),[o,v,T]),r.default.createElement(l.Box,null,w&&r.default.createElement(d.SnapDelineator,{snapName:a,type:p.DelineatorType.Error},r.default.createElement(l.Text,{variant:f.TextVariant.bodySm,marginBottom:4},n("snapsUIError",[r.default.createElement("b",{key:"0"},a)])),r.default.createElement(m.Copyable,{text:w.message})),(_||x)&&r.default.createElement(c.SnapUIRenderer,{snapId:e,interfaceId:_,isLoading:x}))};n.SnapHomeRenderer=T,T.propTypes={snapId:o.default.string}}}},{package:"$root$",file:"ui/components/app/snaps/snap-home-page/snap-home-renderer.js"}],[4778,{"../../../../store/actions":5998,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useSnapHome=function({snapId:e}){const t=(0,r.useDispatch)(),[n,i]=(0,a.useState)(!0),[s,l]=(0,a.useState)(undefined),[c,u]=(0,a.useState)(undefined);return(0,a.useEffect)((()=>{let n=!1;return async function(){try{u(undefined),i(!0);const a=await(0,o.handleSnapRequest)({snapId:e,origin:"",handler:"onHomePage",request:{jsonrpc:"2.0",method:" "}});n||(l(a),(0,o.forceUpdateMetamaskState)(t))}catch(e){n||u(e)}finally{n||i(!1)}}(),()=>n=!0}),[e]),{data:s,error:c,loading:n}};var a=e("react"),r=e("react-redux"),o=e("../../../../store/actions")}}},{package:"$root$",file:"ui/components/app/snaps/snap-home-page/useSnapHome.js"}],[4779,{"../../../../helpers/constants/design-system":5355,"../../../../helpers/constants/snaps":5364,"../../../../hooks/useI18nContext":5427,"../../../../selectors":5987,"../../../../store/actions":5998,"../../../component-library":4955,"../../../ui/box/box":5193,"../copyable":4759,"../snap-delineator":4775,"../snap-ui-renderer":4831,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.SnapInsight=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=y(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=g(e("prop-types")),o=e("react-redux"),i=e("../../../component-library"),s=e("../../../../helpers/constants/design-system"),l=e("../../../../hooks/useI18nContext"),c=g(e("../../../ui/box/box")),u=e("../snap-ui-renderer"),d=e("../snap-delineator"),p=e("../../../../helpers/constants/snaps"),f=e("../copyable"),m=e("../../../../selectors"),h=e("../../../../store/actions");function g(e){return e&&e.__esModule?e:{default:e}}function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(y=function(e){return e?n:t})(e)}const b=({snapId:e,data:t,loading:n})=>{var r;const g=(0,o.useDispatch)(),y=(0,l.useI18nContext)(),b=n,v=null==t?void 0:t.error,T=null==t||null===(r=t.response)||void 0===r?void 0:r.id;(0,a.useEffect)((()=>{(async()=>{try{await g((0,h.trackInsightSnapUsage)(e))}catch{}})()}),[e,g]);const{name:E}=(0,o.useSelector)((t=>(0,m.getSnapMetadata)(t,e))),w=!v&&!b&&!T;return a.default.createElement(c.default,{flexDirection:s.FLEX_DIRECTION.COLUMN,height:"full",marginTop:w&&12,marginBottom:w&&12,alignItems:w&&s.AlignItems.center,justifyContent:w&&s.JustifyContent.center,textAlign:w&&s.TextAlign.Center,className:"snap-insight"},!v&&a.default.createElement(c.default,{height:"full",width:"full",flexDirection:s.FLEX_DIRECTION.COLUMN,className:"snap-insight__container"},b||T?a.default.createElement(u.SnapUIRenderer,{snapId:e,interfaceId:T,delineatorType:p.DelineatorType.Insights,isLoading:b}):a.default.createElement(i.Text,{color:s.TextColor.textAlternative,variant:s.TextVariant.bodySm,as:"h6"},y("snapsNoInsight"))),!b&&v&&a.default.createElement(c.default,{padding:4,className:"snap-insight__container__error"},a.default.createElement(d.SnapDelineator,{snapName:E,type:p.DelineatorType.Error},a.default.createElement(i.Text,{variant:s.TextVariant.bodySm,marginBottom:4},y("snapsUIError",[a.default.createElement("b",{key:"0"},E)])),a.default.createElement(f.Copyable,{text:v.message}))))};n.SnapInsight=b,b.propTypes={snapId:r.default.string,data:r.default.object,loading:r.default.bool}}}},{package:"$root$",file:"ui/components/app/snaps/snap-insight/snap-insight.js"}],[4780,{"./snap-install-warning":4781},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./snap-install-warning"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/snaps/snap-install-warning/index.js"}],[4781,{"../../../../helpers/constants/design-system":5355,"../../../../hooks/useI18nContext":5427,"../../../component-library":4955,"../../permission-cell":4726,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=d;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=u(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=c(e("prop-types")),o=e("../../../../hooks/useI18nContext"),i=e("../../../../helpers/constants/design-system"),s=e("../../../component-library"),l=c(e("../../permission-cell"));function c(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(u=function(e){return e?n:t})(e)}function d({onCancel:e,onSubmit:t,warnings:n,snapName:r}){const c=(0,o.useI18nContext)(),[u,d]=(0,a.useState)(!1),[p,f]=(0,a.useState)(!0);function m(e,t){const n=function(e){if(1===e.length)return[a.default.createElement(s.Text,{fontWeight:i.FontWeight.Medium,as:"span",key:"warningMessageSubject"},e[0].warningMessageSubject)];if(2===e.length){const t=e[0].warningMessageSubject,n=e[1].warningMessageSubject;return[a.default.createElement(s.Text,{fontWeight:i.FontWeight.Normal,as:"span",key:"warningMessageSubject"},c("andForTwoItems",[a.default.createElement(s.Text,{fontWeight:i.FontWeight.Medium,variant:i.TextVariant.inherit,key:`${t}_and_first`},t),a.default.createElement(s.Text,{fontWeight:i.FontWeight.Medium,variant:i.TextVariant.inherit,key:`${n}_and_second`},n)]))]}return e.map(((t,n)=>e.length-1===n?[]:e.length-2===n?[a.default.createElement(s.Text,{fontWeight:i.FontWeight.Normal,as:"span",key:`${t.permissionName}_and_${n}`},c("andForListItems",[a.default.createElement(s.Text,{fontWeight:i.FontWeight.Medium,variant:i.TextVariant.inherit,key:`${t.permissionName}_and_first_${n}`},t.warningMessageSubject),a.default.createElement(s.Text,{fontWeight:i.FontWeight.Medium,variant:i.TextVariant.inherit,key:`${t.permissionName}_and_second_first_${n}`},e[e.length-1].warningMessageSubject)]))]:[a.default.createElement("span",{key:`${t.permissionName}_${n}`},a.default.createElement(s.Text,{fontWeight:i.FontWeight.Medium,as:"span"},t.warningMessageSubject,", "))]))}(e);return a.default.createElement(s.Box,{as:"span",marginBottom:4},a.default.createElement(l.default,{permissionName:a.default.createElement(s.Text,null,c(t.name,[n])),title:a.default.createElement(s.Text,null,c(t.title,[n])),description:c(t.description,[a.default.createElement(s.Text,{color:i.TextColor.inherit,variant:i.TextVariant.inherit,fontWeight:i.FontWeight.Medium,key:"1"},r)]),weight:1,avatarIcon:s.IconName.Key,key:`snapInstallWarningPermissionCellKeyEntropy_${t.permissionName}`,hideStatus:!0,margin:0}))}const h={name:"snapInstallWarningPermissionNameForViewPublicKey",title:"snapInstallWarningPermissionNameForViewPublicKey",description:"snapInstallWarningPermissionDescriptionForBip32View"},g={name:"snapInstallWarningPermissionNameForEntropy",title:"snapInstallWarningPermissionNameForEntropy",description:"snapInstallWarningPermissionDescriptionForEntropy"},y=n.filter((e=>"snap_getBip32PublicKey"===e.permissionName)),b=n.filter((e=>"snap_getBip32Entropy"===e.permissionName||"snap_getBip44Entropy"===e.permissionName));return a.default.createElement(s.Modal,{onClose:e,isOpen:p,className:"snap-install-warning"},a.default.createElement(s.ModalContent,null,a.default.createElement(s.ModalHeader,{onClose:e},a.default.createElement(s.Box,{display:i.Display.Flex,justifyContent:i.JustifyContent.center,marginBottom:4},a.default.createElement(s.AvatarIcon,{iconName:s.IconName.Danger,backgroundColor:i.BackgroundColor.warningMuted,color:i.IconColor.warningDefault,size:s.AvatarIconSize.Xl}))),a.default.createElement(s.ModalBody,null,a.default.createElement(s.Text,{paddingBottom:4,textAlign:i.TextAlign.Center,variant:i.TextVariant.headingMd,as:"h2"},c("snapInstallWarningHeading")),a.default.createElement(s.Text,{paddingBottom:4,textAlign:i.TextAlign.Left},c("snapInstallWarningCheck",[a.default.createElement(s.Text,{key:"snapNameInWarningDescription",fontWeight:i.FontWeight.Medium,as:"span"},r)])),b.length>0&&m(b,g),y.length>0&&m(y,h),a.default.createElement(s.Box,{display:i.Display.Flex,justifyContent:i.JustifyContent.flexStart,alignItems:i.AlignItems.center,marginTop:4,padding:4,borderRadius:i.BorderRadius.SM,backgroundColor:u?i.BackgroundColor.infoMuted:i.BackgroundColor.backgroundAlternative},a.default.createElement(s.Checkbox,{isRequired:!0,onChange:()=>d((e=>!e)),isChecked:u,label:a.default.createElement(s.Text,{as:"span"},"Install"," ",a.default.createElement(s.Text,{as:"span",fontWeight:i.FontWeight.Medium},r))}))),a.default.createElement(s.ModalFooter,{onSubmit:function(){f(!1),t()},submitButtonProps:{children:c("confirm"),disabled:!u,"data-testid":"snap-install-warning-modal-confirm"}})))}d.propTypes={onCancel:r.default.func,onSubmit:r.default.func,warnings:r.default.arrayOf({id:r.default.string,permissionName:r.default.string,warningMessageSubject:r.default.oneOfType([r.default.string,r.default.element])}),snapName:r.default.string.isRequired}}}},{package:"$root$",file:"ui/components/app/snaps/snap-install-warning/snap-install-warning.js"}],[4782,{"./snap-legacy-authorship-header":4783},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./snap-legacy-authorship-header"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/snaps/snap-legacy-authorship-header/index.js"}],[4783,{"../../../../helpers/constants/design-system":5355,"../../../../selectors":5987,"../../../component-library":4955,"../snap-avatar":4772,"@metamask/snaps-utils":2163,classnames:3049,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=p(e("react")),r=p(e("prop-types")),o=p(e("classnames")),i=e("@metamask/snaps-utils"),s=e("react-redux"),l=e("../../../../helpers/constants/design-system"),c=e("../../../component-library"),u=e("../../../../selectors"),d=p(e("../snap-avatar"));function p(e){return e&&e.__esModule?e:{default:e}}const f=({snapId:e,className:t,marginLeft:n,marginRight:r})=>{const p=e&&(0,i.stripSnapPrefix)(e),{name:f}=(0,s.useSelector)((t=>(0,u.getSnapMetadata)(t,e)));return a.default.createElement(c.Box,{className:(0,o.default)("snap-legacy-authorship-header",t),backgroundColor:l.BackgroundColor.backgroundDefault,width:l.BlockSize.Full,alignItems:l.AlignItems.center,display:l.Display.Flex,padding:2,borderColor:l.BorderColor.borderDefault,borderRadius:l.BorderRadius.pill,marginLeft:n,marginRight:r},a.default.createElement(c.Box,null,a.default.createElement(d.default,{snapId:e})),a.default.createElement(c.Box,{marginLeft:4,marginRight:4,display:l.Display.Flex,flexDirection:l.FlexDirection.Column,style:{overflow:"hidden"}},a.default.createElement(c.Text,{ellipsis:!0,fontWeight:l.FontWeight.Medium},f),a.default.createElement(c.Text,{ellipsis:!0,variant:l.TextVariant.bodySm,color:l.TextColor.textAlternative},p)))};f.propTypes={snapId:r.default.string,className:r.default.string,marginLeft:r.default.number,marginRight:r.default.number};n.default=f}}},{package:"$root$",file:"ui/components/app/snaps/snap-legacy-authorship-header/snap-legacy-authorship-header.js"}],[4784,{"./snap-link-warning":4785},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./snap-link-warning"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/snaps/snap-link-warning/index.js"}],[4785,{"../../../../helpers/constants/design-system":5355,"../../../../hooks/useI18nContext":5427,"../../../component-library":4955,"../../../component-library/modal-content/deprecated":4963,"../../../component-library/modal-header/deprecated":4972,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=d;var a=u(e("react")),r=u(e("prop-types")),o=e("../../../component-library"),i=e("../../../component-library/modal-content/deprecated"),s=e("../../../component-library/modal-header/deprecated"),l=e("../../../../helpers/constants/design-system"),c=e("../../../../hooks/useI18nContext");function u(e){return e&&e.__esModule?e:{default:e}}function d({isOpen:e,onClose:t,url:n}){const r=(0,c.useI18nContext)(),u=n&&new URL(n),d=u&&n.split(u.host);return a.default.createElement(o.Modal,{isOpen:e,onClose:t},a.default.createElement(o.ModalOverlay,null),a.default.createElement(i.ModalContent,{modalDialogProps:{display:l.Display.Flex,flexDirection:l.FlexDirection.Column,gap:4}},a.default.createElement(s.ModalHeader,{onClose:t,childrenWrapperProps:{display:l.Display.Flex,flexDirection:l.FlexDirection.Column,alignItems:l.AlignItems.center,gap:2}},a.default.createElement(o.Icon,{name:o.IconName.Danger,color:l.IconColor.warningDefault,size:o.AvatarIconSize.Xl}),a.default.createElement(o.Text,{variant:l.TextVariant.headingMd},r("leaveMetaMask")),a.default.createElement(o.Text,{textAlign:l.TextAlign.Center},r("leaveMetaMaskDesc"))),a.default.createElement(o.ButtonLink,{externalLink:!0,href:n,width:l.BlockSize.Full,textProps:{width:l.BlockSize.Full}},a.default.createElement(o.Box,{display:l.Display.Flex,FlexDirection:l.FlexDirection.Row,justifyContent:l.JustifyContent.spaceBetween,alignItems:l.AlignItems.center,backgroundColor:l.BackgroundColor.backgroundAlternative,borderColor:l.BorderColor.borderDefault,borderStyle:l.BorderStyle.solid,borderRadius:l.BorderRadius.MD,paddingTop:3,paddingBottom:3,paddingRight:4,paddingLeft:4,width:l.BlockSize.Full},u&&a.default.createElement(o.Text,{ellipsis:!0,style:{overflow:"hidden"},color:l.TextColor.primaryDefault},d[0],a.default.createElement("b",null,u.host),d[1]),a.default.createElement(o.Icon,{name:o.IconName.Export,color:l.IconColor.iconAlternative,marginLeft:2}))),a.default.createElement(o.Box,{width:l.BlockSize.Full,display:l.Display.Flex,gap:4},a.default.createElement(o.Button,{block:!0,variant:o.ButtonVariant.Secondary,size:o.ButtonSize.Lg,onClick:t},r("back")),a.default.createElement(o.Button,{block:!0,size:o.ButtonSize.Lg,"data-testid":"modalSnapLinkButton",href:n,externalLink:!0,onClick:t},r("visitSite")))))}d.propTypes={isOpen:r.default.bool,onClose:r.default.func,url:r.default.string}}}},{package:"$root$",file:"ui/components/app/snaps/snap-link-warning/snap-link-warning.js"}],[4786,{"./snap-list-item":4787},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./snap-list-item"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/snaps/snap-list-item/index.js"}],[4787,{"../../../../helpers/constants/design-system":5355,"../../../component-library":4955,"../snap-avatar":4772,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=l(e("react")),r=l(e("prop-types")),o=e("../../../../helpers/constants/design-system"),i=e("../../../component-library"),s=l(e("../snap-avatar"));function l(e){return e&&e.__esModule?e:{default:e}}const c=({name:e,packageName:t,onClick:n,snapId:r,showUpdateDot:l})=>a.default.createElement(i.Box,{className:"snap-list-item","data-testid":r,display:o.Display.Flex,alignItems:o.AlignItems.center,justifyContent:o.JustifyContent.spaceBetween,width:o.BlockSize.Full,padding:4,onClick:n},a.default.createElement(i.Box,{className:"snap-list-item__inner-wrapper",display:o.Display.Flex,alignItems:o.AlignItems.center,justifyContent:o.JustifyContent.flexStart,width:o.BlockSize.Full},a.default.createElement(i.Box,null,a.default.createElement(s.default,{snapId:r})),a.default.createElement(i.Box,{paddingLeft:4,paddingRight:4,width:o.BlockSize.Full,style:{overflow:"hidden"}},a.default.createElement(i.Text,{className:"snap-list-item__title",color:o.Color.textDefault,variant:o.TextVariant.bodyMd,ellipsis:!0},e),a.default.createElement(i.Text,{className:"snap-list-item__url",color:o.Color.textAlternative,variant:o.TextVariant.bodySm,ellipsis:!0},t))),l&&a.default.createElement(i.Box,{display:o.Display.Flex},a.default.createElement(i.Icon,{name:i.IconName.FullCircle,size:i.IconSize.Xs,color:o.IconColor.primaryDefault})));c.propTypes={name:r.default.string,packageName:r.default.string,onClick:r.default.func,snapId:r.default.string.isRequired,showUpdateDot:r.default.bool};n.default=c}}},{package:"$root$",file:"ui/components/app/snaps/snap-list-item/snap-list-item.js"}],[4788,{"./snap-metadata-modal":4789},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"SnapMetadataModal",{enumerable:!0,get:function(){return a.SnapMetadataModal}});var a=e("./snap-metadata-modal")}}},{package:"$root$",file:"ui/components/app/snaps/snap-metadata-modal/index.js"}],[4789,{"../../../../helpers/constants/design-system":5355,"../../../../helpers/constants/snaps":5364,"../../../../helpers/utils/util":5399,"../../../../hooks/snaps/useSafeWebsite":5410,"../../../../hooks/useI18nContext":5427,"../../../../hooks/useOriginMetadata":5433,"../../../../selectors":5987,"../../../component-library":4955,"../../../ui/tooltip":5310,"../show-more":4766,"../snap-avatar":4772,"../snap-delineator":4775,"../snap-version/snap-external-pill":4836,"@metamask/snaps-utils":2163,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.SnapMetadataModal=void 0;var a=T(e("react")),r=T(e("prop-types")),o=e("react-redux"),i=e("@metamask/snaps-utils"),s=e("../../../../selectors"),l=e("../../../component-library"),c=e("../../../../helpers/constants/design-system"),u=T(e("../snap-avatar")),d=e("../../../../helpers/utils/util"),p=e("../../../../hooks/useI18nContext"),f=e("../../../../hooks/useOriginMetadata"),m=e("../snap-delineator"),h=e("../../../../helpers/constants/snaps"),g=e("../show-more"),y=T(e("../snap-version/snap-external-pill")),b=e("../../../../hooks/snaps/useSafeWebsite"),v=T(e("../../../ui/tooltip"));function T(e){return e&&e.__esModule?e:{default:e}}const E=({snapId:e,isOpen:t,onClose:n})=>{const r=(0,p.useI18nContext)(),T=(0,o.useSelector)((t=>(0,s.getTargetSubjectMetadata)(t,e))),{name:E,description:w}=(0,o.useSelector)((t=>(0,s.getSnapMetadata)(t,e))),x=(0,o.useSelector)((t=>(0,s.getSnap)(t,e))),_=(null==x?void 0:x.versionHistory)??[],O=_.length?_[_.length-1]:undefined,S=(0,f.useOriginMetadata)(null==O?void 0:O.origin),C=(0,i.getSnapPrefix)(e),k=(0,i.stripSnapPrefix)(e),I="npm:"===C,N=null!=T&&T.version?`/v/${null==T?void 0:T.version}`:"",M=I?`https://www.npmjs.com/package/${k}${N}`:k,P=(0,o.useSelector)((t=>(0,s.getSnapRegistryData)(t,e))),{website:A=undefined}=(null==P?void 0:P.metadata)??{},R=(0,b.useSafeWebsite)(A);return a.default.createElement(l.Modal,{isOpen:t,onClose:n,className:"snap-metadata-modal"},a.default.createElement(l.ModalOverlay,null),a.default.createElement(l.ModalContent,{modalDialogProps:{display:c.Display.Flex,flexDirection:c.FlexDirection.Column}},a.default.createElement(l.ModalHeader,{onClose:n,childrenWrapperProps:{display:c.Display.Flex,flexDirection:c.FlexDirection.Column,alignItems:c.AlignItems.center,gap:2,marginBottom:6}},a.default.createElement(l.Box,null,a.default.createElement(u.default,{snapId:e})),a.default.createElement(l.Text,{variant:c.TextVariant.bodyMdMedium,textAlign:c.TextAlign.Center},E)),a.default.createElement(l.Box,{marginLeft:4,marginRight:4},R&&a.default.createElement(l.Box,{display:c.Display.Flex,FlexDirection:c.FlexDirection.Row,justifyContent:c.JustifyContent.spaceBetween,flexWrap:c.FlexWrap.NoWrap},a.default.createElement(l.Text,{variant:c.TextVariant.bodyMdMedium,marginRight:4},r("snapDetailWebsite")),a.default.createElement(l.ButtonLink,{overflowWrap:c.OverflowWrap.Anywhere,href:R.toString(),target:"_blank",externalLink:!0,textAlign:c.TextAlign.End,ellipsis:!0},R.host)),S&&a.default.createElement(l.Box,{display:c.Display.Flex,flexDirection:c.FlexDirection.Row,justifyContent:c.JustifyContent.spaceBetween,flexWrap:c.FlexWrap.NoWrap,marginTop:4},a.default.createElement(l.Box,{display:c.Display.Flex,flexDirection:c.FlexDirection.Row,alignItems:c.AlignItems.center,marginRight:4},a.default.createElement(l.Text,{variant:c.TextVariant.bodyMdMedium,marginRight:1},r("installOrigin")),O&&a.default.createElement(v.default,{html:r("installedOn",[(0,d.formatDate)(O.date,"dd MMM yyyy")]),position:"bottom"},a.default.createElement(l.Icon,{color:c.IconColor.iconMuted,name:l.IconName.Info,size:l.IconSize.Sm}))),a.default.createElement(l.Text,{ellipsis:!0},S.host)),a.default.createElement(l.Box,{display:c.Display.Flex,flexDirection:c.FlexDirection.Row,justifyContent:c.JustifyContent.spaceBetween,flexWrap:c.FlexWrap.NoWrap,marginTop:4},a.default.createElement(l.Box,{display:c.Display.Flex,flexDirection:c.FlexDirection.Row,alignItems:c.AlignItems.center,marginRight:4},a.default.createElement(l.Text,{variant:c.TextVariant.bodyMdMedium,marginRight:1},r("source")),a.default.createElement(v.default,{html:r("metadataModalSourceTooltip",[a.default.createElement(l.Text,{key:"snap-name",fontWeight:c.FontWeight.Medium,variant:c.TextVariant.inherit},E),a.default.createElement(l.Text,{key:"snap-id",fontWeight:c.FontWeight.Medium,variant:c.TextVariant.inherit},k)]),position:"bottom"},a.default.createElement(l.Icon,{color:c.IconColor.iconMuted,name:l.IconName.Info,size:l.IconSize.Sm}))),a.default.createElement(y.default,{value:k,url:M})),a.default.createElement(l.Box,{display:c.Display.Flex,flexDirection:c.FlexDirection.Row,justifyContent:c.JustifyContent.spaceBetween,flexWrap:c.FlexWrap.NoWrap,marginTop:4},a.default.createElement(l.Text,{variant:c.TextVariant.bodyMdMedium,marginRight:4},r("version")),a.default.createElement(l.Text,{ellipsis:!0},null==T?void 0:T.version)),a.default.createElement(m.SnapDelineator,{type:h.DelineatorType.Description,snapName:E,boxProps:{marginTop:4}},a.default.createElement(g.ShowMore,null,a.default.createElement(l.Text,null,w))))))};n.SnapMetadataModal=E,E.propTypes={snapId:r.default.string,isOpen:r.default.bool,onClose:r.default.func}}}},{package:"$root$",file:"ui/components/app/snaps/snap-metadata-modal/snap-metadata-modal.js"}],[4790,{"./snap-permission-cell":4791},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./snap-permission-cell"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/snaps/snap-permission-cell/index.js"}],[4791,{"../../../../helpers/constants/design-system":5355,"../../../../helpers/utils/util":5399,"../../../../hooks/useI18nContext":5427,"../../../../selectors":5987,"../../../component-library":4955,"../../permission-cell":4726,"@metamask/permission-controller":1624,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=m;var a=f(e("prop-types")),r=e("@metamask/permission-controller"),o=f(e("react")),i=e("react-redux"),s=e("../../../component-library"),l=e("../../../../helpers/constants/design-system"),c=e("../../../../helpers/utils/util"),u=f(e("../../permission-cell")),d=e("../../../../hooks/useI18nContext"),p=e("../../../../selectors");function f(e){return e&&e.__esModule?e:{default:e}}function m({snapId:e,showOptions:t,permission:n,connectionSubjectMetadata:a,index:f,revoked:m,approved:h}){var g;const y=(0,d.useI18nContext)();let{label:b,description:v,leftIcon:T}=n;const E=(0,i.useSelector)(p.getSnapsMetadata);if(n.connection){if((null==a?void 0:a.subjectType)===r.SubjectType.Snap){const e=(0,c.getSnapName)(E)(a.origin);b=(e=>y("snapConnectTo",[o.default.createElement(s.Text,{key:"snapConnectTo",fontWeight:l.FontWeight.Medium,variant:l.TextVariant.inherit,color:l.TextColor.inherit},e)]))(e),v=(e=>y("snapConnectionPermissionDescription",[o.default.createElement(s.Text,{key:`permissionSubject_${n.subjectName}`,fontWeight:l.FontWeight.Medium,variant:l.TextVariant.inherit,color:l.TextColor.inherit},n.subjectName),o.default.createElement(s.Text,{key:`permissionSubjectDescription_${e}`,fontWeight:l.FontWeight.Medium,variant:l.TextVariant.inherit,color:l.TextColor.inherit},e)]))(e)}w=null==a?void 0:a.iconUrl,x=n,T=w?o.default.createElement(s.AvatarFavicon,{backgroundColor:l.BackgroundColor.backgroundAlternative,size:s.AvatarFaviconSize.Md,iconProps:{size:s.IconSize.Sm},src:w,name:x.connection}):o.default.createElement(s.AvatarBase,{size:s.AvatarBaseSize.Md,display:l.Display.Flex,alignItems:l.AlignItems.center,justifyContent:l.JustifyContent.center,color:l.TextColor.textAlternative,style:{borderWidth:"0px"},backgroundColor:l.BackgroundColor.backgroundAlternative},(0,c.getAvatarFallbackLetter)(x.connectionName))}var w,x;return o.default.createElement(u.default,{snapId:e,permissionName:n.permissionName,title:b,description:v,weight:n.weight,avatarIcon:T,dateApproved:null==n||null===(g=n.permissionValue)||void 0===g?void 0:g.date,key:`${n.permissionName}-${f}`,showOptions:t,revoked:m,approved:h})}m.propTypes={snapId:a.default.string.isRequired,showOptions:a.default.bool,permission:a.default.object.isRequired,connectionSubjectMetadata:a.default.object,index:a.default.number,revoked:a.default.bool,approved:a.default.bool}}}},{package:"$root$",file:"ui/components/app/snaps/snap-permission-cell/snap-permission-cell.js"}],[4792,{"./snap-permissions-list":4793},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./snap-permissions-list"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/snaps/snap-permissions-list/index.js"}],[4793,{"../../../../helpers/utils/permission":5393,"../../../../helpers/utils/util":5399,"../../../../hooks/useI18nContext":5427,"../../../../selectors":5987,"../../../component-library":4955,"../snap-permission-cell":4790,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=f;var a=p(e("react")),r=p(e("prop-types")),o=e("react-redux"),i=e("../../../../helpers/utils/permission"),s=e("../../../../hooks/useI18nContext"),l=e("../../../component-library"),c=e("../../../../selectors"),u=e("../../../../helpers/utils/util"),d=p(e("../snap-permission-cell"));function p(e){return e&&e.__esModule?e:{default:e}}function f({snapId:e,snapName:t,permissions:n,connections:r,showOptions:p}){const f=(0,s.useI18nContext)(),m=(0,o.useSelector)(c.getSnapsMetadata),h={...n,connection_permission:r??{}},g=(0,o.useSelector)((e=>(0,c.getMultipleTargetsSubjectMetadata)(e,r)));return a.default.createElement(l.Box,{className:"snap-permissions-list"},(0,i.getWeightedPermissions)({t:f,permissions:h,subjectName:t,getSubjectName:(0,u.getSnapName)(m)}).map(((t,n)=>a.default.createElement(d.default,{snapId:e,showOptions:p,connectionSubjectMetadata:g[t.connection],permission:t,index:n,key:`permissionCellDisplay_${e}_${n}`}))))}f.propTypes={snapId:r.default.string.isRequired,snapName:r.default.string.isRequired,permissions:r.default.object.isRequired,connections:r.default.object,showOptions:r.default.bool}}}},{package:"$root$",file:"ui/components/app/snaps/snap-permissions-list/snap-permissions-list.js"}],[4794,{"./snap-privacy-warning":4795},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./snap-privacy-warning"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/snaps/snap-privacy-warning/index.js"}],[4795,{"../../../../../shared/constants/terms":4517,"../../../../helpers/constants/design-system":5355,"../../../../hooks/useI18nContext":5427,"../../../../hooks/useScrollRequired":5437,"../../../component-library":4955,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=d;var a=u(e("react")),r=u(e("prop-types")),o=e("../../../../hooks/useI18nContext"),i=e("../../../component-library"),s=e("../../../../helpers/constants/design-system"),l=e("../../../../hooks/useScrollRequired"),c=e("../../../../../shared/constants/terms");function u(e){return e&&e.__esModule?e:{default:e}}function d({onAccepted:e,onCanceled:t}){const n=(0,o.useI18nContext)(),{isScrollable:r,isScrolledToBottom:u,scrollToBottom:d,ref:p,onScroll:f}=(0,l.useScrollRequired)();return a.default.createElement(i.Modal,{onClose:()=>null,isOpen:!0,className:"snap-install-warning"},a.default.createElement(i.ModalContent,null,a.default.createElement(i.ModalBody,{className:"snap-privacy-warning"},a.default.createElement(i.Box,null,a.default.createElement(i.Box,{className:"snap-privacy-warning__header"},a.default.createElement(i.Box,{marginTop:4,className:"snap-privacy-warning__header__info-icon",display:s.Display.Flex,justifyContent:s.JustifyContent.center,alignItems:s.AlignItems.center},a.default.createElement(i.AvatarIcon,{iconName:i.IconName.Info,color:s.IconColor.infoDefault,backgroundColor:s.BackgroundColor.primaryMuted,size:i.AvatarIconSize.Md})),a.default.createElement(i.Box,{className:"snap-privacy-warning__header__title",marginTop:4,marginBottom:4,display:s.Display.Flex,justifyContent:s.JustifyContent.center,alignItems:s.AlignItems.center},a.default.createElement(i.Text,{variant:s.TextVariant.headingMd,fontWeight:s.FontWeight.Bold},n("thirdPartySoftware")))),a.default.createElement(i.Box,{className:"snap-privacy-warning__content",ref:p,onScroll:f},a.default.createElement(i.Box,{className:"snap-privacy-warning__message"},a.default.createElement(i.Text,{variant:s.TextVariant.bodyMd},n("snapsPrivacyWarningFirstMessage",[a.default.createElement(i.ButtonLink,{className:"snap-privacy-warning__content__terms-link",key:"privacyNoticeTermsOfUseLink",size:i.ButtonLinkSize.Inherit,href:c.TERMS_OF_USE_LINK,target:"_blank"}," ",n("snapsTermsOfUse")," ")])),a.default.createElement(i.Text,{variant:s.TextVariant.bodyMd,paddingTop:6},n("snapsPrivacyWarningSecondMessage")),a.default.createElement(i.Text,{variant:s.TextVariant.bodyMd,fontWeight:s.FontWeight.Bold,paddingTop:6},n("snapsPrivacyWarningThirdMessage"))),r&&!u?a.default.createElement(i.AvatarIcon,{className:"snap-privacy-warning__content__scroll-button","data-testid":"snap-privacy-warning-scroll",iconName:i.IconName.Arrow2Down,backgroundColor:s.BackgroundColor.infoDefault,color:s.IconColor.primaryInverse,onClick:d,style:{cursor:"pointer"}}):null))),a.default.createElement(i.ModalFooter,{onSubmit:e,onCancel:t,submitButtonProps:{children:n("accept"),disabled:!u},cancelButtonProps:{children:n("cancel")}})))}d.propTypes={onAccepted:r.default.func.isRequired,onCanceled:r.default.func.isRequired}}}},{package:"$root$",file:"ui/components/app/snaps/snap-privacy-warning/snap-privacy-warning.js"}],[4796,{"./snap-remove-warning":4797},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./snap-remove-warning"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/snaps/snap-remove-warning/index.js"}],[4797,{"../../../../helpers/constants/design-system":5355,"../../../../hooks/useI18nContext":5427,"../../../component-library":4955,"../../../component-library/modal-content/deprecated":4963,"../../../component-library/modal-header/deprecated":4972,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=d;var a=u(e("react")),r=u(e("prop-types")),o=e("../../../../hooks/useI18nContext"),i=e("../../../component-library"),s=e("../../../component-library/modal-content/deprecated"),l=e("../../../component-library/modal-header/deprecated"),c=e("../../../../helpers/constants/design-system");function u(e){return e&&e.__esModule?e:{default:e}}function d({isOpen:e,onCancel:t,onSubmit:n,snapName:r}){const u=(0,o.useI18nContext)();return a.default.createElement(i.Modal,{isOpen:e,onClose:t},a.default.createElement(i.ModalOverlay,null),a.default.createElement(s.ModalContent,{modalDialogProps:{display:c.Display.Flex,flexDirection:c.FlexDirection.Column,gap:4}},a.default.createElement(l.ModalHeader,{onClose:t},u("pleaseConfirm")),a.default.createElement(i.Text,null,u("removeSnapConfirmation",[r])),a.default.createElement(i.Box,{width:c.BlockSize.Full,display:c.Display.Flex,gap:4},a.default.createElement(i.Button,{block:!0,variant:i.BUTTON_VARIANT.SECONDARY,size:i.BUTTON_SIZES.LG,onClick:t},u("cancel")),a.default.createElement(i.Button,{block:!0,size:i.BUTTON_SIZES.LG,id:"popoverRemoveSnapButton",danger:!0,onClick:n},u("removeSnap")))))}d.propTypes={onCancel:r.default.func,onSubmit:r.default.func,snapName:r.default.string,isOpen:r.default.bool}}}},{package:"$root$",file:"ui/components/app/snaps/snap-remove-warning/snap-remove-warning.js"}],[4798,{"./snap-ui-button":4799},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var a=e("./snap-ui-button");Object.keys(a).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in n&&n[e]===a[e]||Object.defineProperty(n,e,{enumerable:!0,get:function(){return a[e]}}))}))}}},{package:"$root$",file:"ui/components/app/snaps/snap-ui-button/index.ts"}],[4799,{"../../../../contexts/snaps":5328,"../../../../helpers/constants/design-system":5355,"../../../component-library":4955,"@metamask/snaps-sdk":2122,classnames:3049,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.SnapUIButton=void 0;var a=c(e("react")),r=c(e("classnames")),o=e("@metamask/snaps-sdk"),i=e("../../../component-library"),s=e("../../../../contexts/snaps"),l=e("../../../../helpers/constants/design-system");function c(e){return e&&e.__esModule?e:{default:e}}function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const{handleEvent:h}=(0,s.useSnapInterfaceContext)(),g=d[p?"disabled":c];return a.default.createElement(i.Text,u({className:(0,r.default)(f,"snap-ui-button",{"snap-ui-button--disabled":p}),as:"button",id:e,type:n,fontWeight:l.FontWeight.Medium,onClick:t=>{n===o.ButtonType.Button&&t.preventDefault(),h({event:o.UserInputEventType.ButtonClickEvent,name:e})},color:g,disabled:p},m),t)}}}},{package:"$root$",file:"ui/components/app/snaps/snap-ui-button/snap-ui-button.tsx"}],[4800,{"./snap-ui-dropdown":4801},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var a=e("./snap-ui-dropdown");Object.keys(a).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in n&&n[e]===a[e]||Object.defineProperty(n,e,{enumerable:!0,get:function(){return a[e]}}))}))}}},{package:"$root$",file:"ui/components/app/snaps/snap-ui-dropdown/index.ts"}],[4801,{"../../../../contexts/snaps":5328,"../../../../helpers/constants/design-system":5355,"../../../component-library":4955,"../../../ui/dropdown":5218,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.SnapUIDropdown=void 0;var a,r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=e("../../../../contexts/snaps"),i=e("../../../../helpers/constants/design-system"),s=e("../../../component-library"),l=(a=e("../../../ui/dropdown"))&&a.__esModule?a:{default:a};function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const{handleInputChange:d,getValue:p}=(0,o.useSnapInterfaceContext)(),f=p(e,a),[m,h]=(0,r.useState)(f??"");(0,r.useEffect)((()=>{f&&h(f)}),[f]);return r.default.createElement(s.Box,{className:"snap-ui-renderer__dropdown",display:i.Display.Flex,flexDirection:i.FlexDirection.Column},t&&r.default.createElement(s.Label,{htmlFor:e},t),r.default.createElement(l.default,u({selectedOption:m,onChange:t=>{h(t),d(e,t,a)}},c)),n&&r.default.createElement(s.HelpText,{severity:s.HelpTextSeverity.Danger,marginTop:1},n))}}}},{package:"$root$",file:"ui/components/app/snaps/snap-ui-dropdown/snap-ui-dropdown.tsx"}],[4802,{"./snap-ui-form":4803},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var a=e("./snap-ui-form");Object.keys(a).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in n&&n[e]===a[e]||Object.defineProperty(n,e,{enumerable:!0,get:function(){return a[e]}}))}))}}},{package:"$root$",file:"ui/components/app/snaps/snap-ui-form/index.ts"}],[4803,{"../../../../contexts/snaps":5328,"../../../../helpers/constants/design-system":5355,"../../../component-library":4955,"@metamask/snaps-sdk":2122,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.SnapUIForm=void 0;var a,r=(a=e("react"))&&a.__esModule?a:{default:a},o=e("@metamask/snaps-sdk"),i=e("../../../../contexts/snaps"),s=e("../../../component-library"),l=e("../../../../helpers/constants/design-system");n.SnapUIForm=({children:e,name:t})=>{const{handleEvent:n}=(0,i.useSnapInterfaceContext)();return r.default.createElement(s.Box,{as:"form",className:"snap-ui-renderer__form",onSubmit:e=>{e.preventDefault(),n({event:o.UserInputEventType.FormSubmitEvent,name:t})},id:t,display:l.Display.Flex,flexDirection:l.FlexDirection.Column,gap:2},e)}}}},{package:"$root$",file:"ui/components/app/snaps/snap-ui-form/snap-ui-form.tsx"}],[4804,{"./snap-ui-image":4805},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var a=e("./snap-ui-image");Object.keys(a).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in n&&n[e]===a[e]||Object.defineProperty(n,e,{enumerable:!0,get:function(){return a[e]}}))}))}}},{package:"$root$",file:"ui/components/app/snaps/snap-ui-image/index.ts"}],[4805,{react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.SnapUIImage=void 0;var a,r=(a=e("react"))&&a.__esModule?a:{default:a};n.SnapUIImage=({value:e})=>{const t=`data:image/svg+xml;utf8,${encodeURIComponent(e)}`;return r.default.createElement("img",{"data-testid":"snaps-ui-image",src:t})}}}},{package:"$root$",file:"ui/components/app/snaps/snap-ui-image/snap-ui-image.tsx"}],[4806,{"./snap-ui-input":4807},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var a=e("./snap-ui-input");Object.keys(a).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in n&&n[e]===a[e]||Object.defineProperty(n,e,{enumerable:!0,get:function(){return a[e]}}))}))}}},{package:"$root$",file:"ui/components/app/snaps/snap-ui-input/index.ts"}],[4807,{"../../../../contexts/snaps":5328,"../../../component-library":4955,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.SnapUIInput=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=i(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=e("../../../../contexts/snaps"),o=e("../../../component-library");function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(i=function(e){return e?n:t})(e)}function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const{handleInputChange:i,getValue:l}=(0,r.useSnapInterfaceContext)(),c=l(e,t),[u,d]=(0,a.useState)(c??"");(0,a.useEffect)((()=>{c&&d(c)}),[c]);return a.default.createElement(o.FormTextField,s({className:"snap-ui-renderer__input",id:e,value:u,onChange:n=>{d(n.target.value),i(e,n.target.value??null,t)}},n))}}}},{package:"$root$",file:"ui/components/app/snaps/snap-ui-input/snap-ui-input.tsx"}],[4808,{"./snap-ui-link":4809},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"SnapUILink",{enumerable:!0,get:function(){return a.SnapUILink}});var a=e("./snap-ui-link")}}},{package:"$root$",file:"ui/components/app/snaps/snap-ui-link/index.js"}],[4809,{"../../../../helpers/constants/design-system":5355,"../../../component-library":4955,"../snap-link-warning":4784,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.SnapUILink=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=l(e("prop-types")),o=e("../../../../helpers/constants/design-system"),i=e("../../../component-library"),s=l(e("../snap-link-warning"));function l(e){return e&&e.__esModule?e:{default:e}}function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}const u=({href:e,children:t})=>{const[n,r]=(0,a.useState)(!1);return a.default.createElement(a.default.Fragment,null,a.default.createElement(s.default,{isOpen:n,onClose:()=>{r(!1)},url:e}),a.default.createElement(i.ButtonLink,{as:"a",onClick:()=>{r(!0)},externalLink:!0,size:i.ButtonLinkSize.Inherit,display:o.Display.Inline,className:"snap-ui-link"},t,a.default.createElement(i.Icon,{name:i.IconName.Export,size:i.IconSize.Inherit,marginLeft:1})))};n.SnapUILink=u,u.propTypes={children:r.default.string,href:r.default.string}}}},{package:"$root$",file:"ui/components/app/snaps/snap-ui-link/snap-ui-link.js"}],[4810,{"./snap-ui-markdown":4811},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"SnapUIMarkdown",{enumerable:!0,get:function(){return a.SnapUIMarkdown}});var a=e("./snap-ui-markdown")}}},{package:"$root$",file:"ui/components/app/snaps/snap-ui-markdown/index.js"}],[4811,{"../../../../helpers/constants/design-system":5355,"../../../component-library":4955,"../snap-link-warning":4784,"prop-types":3997,react:4243,"react-markdown":4175},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.SnapUIMarkdown=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=u(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=c(e("prop-types")),o=c(e("react-markdown")),i=e("../../../../helpers/constants/design-system"),s=e("../../../component-library"),l=c(e("../snap-link-warning"));function c(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(u=function(e){return e?n:t})(e)}function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;ta.default.createElement(s.Text,d({},e,{variant:i.TextVariant.bodyMd,className:"snap-ui-markdown__text",overflowWrap:i.OverflowWrap.Anywhere,color:i.TextColor.inherit})),f=({onClick:e,children:t,...n})=>a.default.createElement(s.ButtonLink,d({},n,{as:"a",onClick:e,externalLink:!0,size:s.ButtonLinkSize.Inherit,display:i.Display.Inline,className:"snap-ui-markdown__link"}),t,a.default.createElement(s.Icon,{name:s.IconName.Export,size:s.IconSize.Inherit,marginLeft:1})),m=({children:e,markdown:t})=>{const[n,r]=(0,a.useState)(undefined);if(!1===t)return a.default.createElement(p,null,e);return a.default.createElement(a.default.Fragment,null,a.default.createElement(l.default,{isOpen:Boolean(n),onClose:()=>{r(undefined)},url:n}),a.default.createElement(o.default,{allowedElements:["p","strong","em","a"],components:{p:p,a:({children:e,href:t})=>a.default.createElement(f,{onClick:()=>{r(t)}},e??t)}},e))};n.SnapUIMarkdown=m,m.propTypes={children:r.default.string,markdown:r.default.bool},f.propTypes={onClick:r.default.func,children:r.default.node}}}},{package:"$root$",file:"ui/components/app/snaps/snap-ui-markdown/snap-ui-markdown.js"}],[4812,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.address=void 0;n.address=({element:e})=>({element:"ConfirmInfoRowAddress",props:{address:e.props.address,isSnapUsingThis:!0}})}}},{package:"$root$",file:"ui/components/app/snaps/snap-ui-renderer/components/address.ts"}],[4813,{"../../../../../helpers/constants/design-system":5355,"../utils":4833,"@metamask/snaps-utils":2163},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.bold=void 0;var a=e("@metamask/snaps-utils"),r=e("../utils"),o=e("../../../../../helpers/constants/design-system");n.bold=({element:e,...t})=>({element:"Text",children:(0,r.mapTextToTemplate)((0,a.getJsxChildren)(e),t),props:{variant:o.TextVariant.bodyMd,overflowWrap:o.OverflowWrap.Anywhere,color:o.TextColor.inherit,className:"snap-ui-renderer__text",as:"b"}})}}},{package:"$root$",file:"ui/components/app/snaps/snap-ui-renderer/components/bold.ts"}],[4814,{"../../../../../helpers/constants/design-system":5355,"../utils":4833,"@metamask/snaps-utils":2163},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.box=void 0;var a=e("@metamask/snaps-utils"),r=e("../../../../../helpers/constants/design-system"),o=e("../utils");function i(e){switch(e){default:case"start":return"flex-start";case"center":return"center";case"end":return"flex-end";case"space-between":return"space-between";case"space-around":return"space-around"}}n.box=({element:e,...t})=>({element:"Box",children:(0,a.getJsxChildren)(e).map((e=>(0,o.mapToTemplate)({...t,element:e}))),props:{display:r.Display.Flex,flexDirection:"horizontal"===e.props.direction?r.FlexDirection.Row:r.FlexDirection.Column,justifyContent:i(e.props.alignment),className:"snap-ui-renderer__panel",color:r.TextColor.textDefault}})}}},{package:"$root$",file:"ui/components/app/snaps/snap-ui-renderer/components/box.ts"}],[4815,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.button=void 0;n.button=({element:e})=>({element:"SnapUIButton",props:{type:e.props.type,variant:e.props.variant,name:e.props.name,disabled:e.props.disabled},children:e.props.children})}}},{package:"$root$",file:"ui/components/app/snaps/snap-ui-renderer/components/button.ts"}],[4816,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.copyable=void 0;n.copyable=({element:e})=>({element:"Copyable",props:{text:e.props.value,sensitive:e.props.sensitive}})}}},{package:"$root$",file:"ui/components/app/snaps/snap-ui-renderer/components/copyable.ts"}],[4817,{"../../../../../helpers/constants/design-system":5355},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.divider=void 0;var a=e("../../../../../helpers/constants/design-system");n.divider=()=>({element:"Box",props:{className:"snap-ui-renderer__divider",backgroundColor:a.BorderColor.borderDefault}})}}},{package:"$root$",file:"ui/components/app/snaps/snap-ui-renderer/components/divider.ts"}],[4818,{"@metamask/snaps-utils":2163},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.dropdown=void 0;var a=e("@metamask/snaps-utils");n.dropdown=({element:e,form:t})=>{const n=(0,a.getJsxChildren)(e).map((e=>({value:e.props.value,name:e.props.children})));return{element:"SnapUIDropdown",props:{id:e.props.name,name:e.props.name,form:t,options:n}}}}}},{package:"$root$",file:"ui/components/app/snaps/snap-ui-renderer/components/dropdown.ts"}],[4819,{"./button":4815,"./dropdown":4818,"@metamask/snaps-utils":2163},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.field=void 0;var a=e("@metamask/snaps-utils"),r=e("./button"),o=e("./dropdown");n.field=({element:e,form:t})=>{const n=(0,a.getJsxChildren)(e),i=n[0];switch(i.type){case"Input":{const a=i,o=n[1],s=o&&(0,r.button)({element:o});return{element:"SnapUIInput",props:{id:a.props.name,placeholder:a.props.placeholder,label:e.props.label,textFieldProps:{type:a.props.type},name:a.props.name,form:t,error:e.props.error!==undefined,helpText:e.props.error},propComponents:{endAccessory:s&&{...s,props:{...s.props,padding:0}}}}}case"Dropdown":{const n=i;return{element:"SnapUIDropdown",props:{...(0,o.dropdown)({element:n}).props,id:n.props.name,label:e.props.label,name:n.props.name,form:t,error:e.props.error}}}default:throw new Error(`Invalid Field child: ${i.type}`)}}}}},{package:"$root$",file:"ui/components/app/snaps/snap-ui-renderer/components/field.ts"}],[4820,{"../utils":4833,"@metamask/snaps-utils":2163},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.form=void 0;var a=e("@metamask/snaps-utils"),r=e("../utils");n.form=({element:e,...t})=>({element:"SnapUIForm",children:(0,a.getJsxChildren)(e).map((n=>(0,r.mapToTemplate)({element:n,form:e.props.name,...t}))),props:{name:e.props.name}})}}},{package:"$root$",file:"ui/components/app/snaps/snap-ui-renderer/components/form.ts"}],[4821,{"../../../../../helpers/constants/design-system":5355},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.heading=void 0;var a=e("../../../../../helpers/constants/design-system");n.heading=({element:e})=>({element:"Text",children:e.props.children,props:{variant:a.TextVariant.headingSm,overflowWrap:a.OverflowWrap.Anywhere}})}}},{package:"$root$",file:"ui/components/app/snaps/snap-ui-renderer/components/heading.ts"}],[4822,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.image=void 0;n.image=({element:e})=>({element:"SnapUIImage",props:{value:e.props.src}})}}},{package:"$root$",file:"ui/components/app/snaps/snap-ui-renderer/components/image.ts"}],[4823,{"./address":4812,"./bold":4813,"./box":4814,"./button":4815,"./copyable":4816,"./divider":4817,"./dropdown":4818,"./field":4819,"./form":4820,"./heading":4821,"./image":4822,"./input":4824,"./italic":4825,"./link":4826,"./row":4827,"./spinner":4828,"./text":4829,"./value":4830},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.COMPONENT_MAPPING=void 0;var a=e("./box"),r=e("./heading"),o=e("./text"),i=e("./divider"),s=e("./spinner"),l=e("./image"),c=e("./row"),u=e("./address"),d=e("./copyable"),p=e("./button"),f=e("./form"),m=e("./input"),h=e("./bold"),g=e("./italic"),y=e("./link"),b=e("./field"),v=e("./dropdown"),T=e("./value");n.COMPONENT_MAPPING={Box:a.box,Heading:r.heading,Text:o.text,Divider:i.divider,Spinner:s.spinner,Image:l.image,Copyable:d.copyable,Row:c.row,Address:u.address,Button:p.button,Form:f.form,Input:m.input,Bold:h.bold,Italic:g.italic,Link:y.link,Field:b.field,Dropdown:v.dropdown,Value:T.value}}}},{package:"$root$",file:"ui/components/app/snaps/snap-ui-renderer/components/index.ts"}],[4824,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.input=void 0;n.input=({element:e,form:t})=>({element:"SnapUIInput",props:{id:e.props.name,placeholder:e.props.placeholder,textFieldProps:{type:e.props.type},name:e.props.name,form:t}})}}},{package:"$root$",file:"ui/components/app/snaps/snap-ui-renderer/components/input.ts"}],[4825,{"../../../../../helpers/constants/design-system":5355,"../utils":4833,"@metamask/snaps-utils":2163},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.italic=void 0;var a=e("@metamask/snaps-utils"),r=e("../utils"),o=e("../../../../../helpers/constants/design-system");n.italic=({element:e,...t})=>({element:"Text",children:(0,r.mapTextToTemplate)((0,a.getJsxChildren)(e),t),props:{variant:o.TextVariant.bodyMd,overflowWrap:o.OverflowWrap.Anywhere,color:o.TextColor.inherit,className:"snap-ui-renderer__text",as:"i"}})}}},{package:"$root$",file:"ui/components/app/snaps/snap-ui-renderer/components/italic.ts"}],[4826,{"../utils":4833,"@metamask/snaps-utils":2163},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.link=void 0;var a=e("@metamask/snaps-utils"),r=e("../utils");n.link=({element:e,...t})=>({element:"SnapUILink",children:(0,r.mapTextToTemplate)((0,a.getJsxChildren)(e),t),props:{href:e.props.href}})}}},{package:"$root$",file:"ui/components/app/snaps/snap-ui-renderer/components/link.ts"}],[4827,{"../utils":4833},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.row=void 0;var a=e("../utils");n.row=({element:e,...t})=>({element:"ConfirmInfoRow",children:[(0,a.mapToTemplate)({...t,element:e.props.children})],props:{label:e.props.label,variant:e.props.variant,tooltip:e.props.tooltip,style:{marginLeft:"-8px",marginRight:"-8px",marginTop:"0px",marginBottom:"0px"}}})}}},{package:"$root$",file:"ui/components/app/snaps/snap-ui-renderer/components/row.ts"}],[4828,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.spinner=void 0;n.spinner=()=>({element:"Spinner",props:{className:"snap-ui-renderer__spinner"}})}}},{package:"$root$",file:"ui/components/app/snaps/snap-ui-renderer/components/spinner.ts"}],[4829,{"../../../../../helpers/constants/design-system":5355,"../utils":4833,"@metamask/snaps-utils":2163},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.text=void 0;var a=e("@metamask/snaps-utils"),r=e("../utils"),o=e("../../../../../helpers/constants/design-system");n.text=({element:e,...t})=>({element:"Text",children:(0,r.mapTextToTemplate)((0,a.getJsxChildren)(e),t),props:{variant:o.TextVariant.bodyMd,overflowWrap:o.OverflowWrap.Anywhere,color:o.TextColor.inherit,className:"snap-ui-renderer__text"}})}}},{package:"$root$",file:"ui/components/app/snaps/snap-ui-renderer/components/text.ts"}],[4830,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.value=void 0;n.value=({element:e})=>({element:"ConfirmInfoRowValueDouble",props:{left:e.props.extra,right:e.props.value}})}}},{package:"$root$",file:"ui/components/app/snaps/snap-ui-renderer/components/value.ts"}],[4831,{"./snap-ui-renderer":4832},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"SnapUIRenderer",{enumerable:!0,get:function(){return a.SnapUIRenderer}});var a=e("./snap-ui-renderer")}}},{package:"$root$",file:"ui/components/app/snaps/snap-ui-renderer/index.js"}],[4832,{"../../../../contexts/snaps":5328,"../../../../helpers/constants/snaps":5364,"../../../../selectors":5987,"../../../component-library":4955,"../../metamask-template-renderer/metamask-template-renderer":4654,"../snap-delineator":4775,"./utils":4833,lodash:3836,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.SnapUIRenderer=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=h(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=m(e("prop-types")),o=e("react-redux"),i=e("lodash"),s=m(e("../../metamask-template-renderer/metamask-template-renderer")),l=e("../snap-delineator"),c=e("../../../../selectors"),u=e("../../../component-library"),d=e("../../../../helpers/constants/snaps"),p=e("../../../../contexts/snaps"),f=e("./utils");function m(e){return e&&e.__esModule?e:{default:e}}function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(h=function(e){return e?n:t})(e)}const g=({snapId:e,delineatorType:t=d.DelineatorType.Content,isCollapsable:n=!1,isCollapsed:r=!1,isLoading:m=!1,isPrompt:h=!1,inputValue:g,onInputChange:y,placeholder:b,onClick:v,boxProps:T,interfaceId:E})=>{const{name:w}=(0,o.useSelector)((t=>(0,c.getSnapMetadata)(t,e))),x=(0,o.useSelector)((e=>(0,c.getMemoizedInterface)(e,E)),((e,t)=>(0,i.isEqual)(e.content,t.content))),_=null==x?void 0:x.content,O=(0,a.useMemo)((()=>_&&(0,f.mapToTemplate)({map:{},element:_})),[_]);if(m||!_)return a.default.createElement(l.SnapDelineator,{snapName:w,type:t,isCollapsable:n,isCollapsed:r,onClick:v,boxProps:T,isLoading:!0});const{state:S,context:C}=x;return a.default.createElement(l.SnapDelineator,{snapName:w,type:t,isCollapsable:n,isCollapsed:r,onClick:v,boxProps:T},a.default.createElement(u.Box,{className:"snap-ui-renderer__content"},a.default.createElement(p.SnapInterfaceContextProvider,{snapId:e,interfaceId:E,initialState:S,context:C},a.default.createElement(s.default,{sections:O})),h&&a.default.createElement(u.FormTextField,{marginTop:4,className:"snap-prompt-input",maxLength:300,value:g,onChange:y,placeholder:b})))};n.SnapUIRenderer=(0,a.memo)(g,((e,t)=>(0,i.isEqual)(e,t)));g.propTypes={snapId:r.default.string,delineatorType:r.default.string,isCollapsable:r.default.bool,isCollapsed:r.default.bool,isLoading:r.default.bool,isPrompt:r.default.bool,inputValue:r.default.string,onInputChange:r.default.func,placeholder:r.default.string,onClick:r.default.func,boxProps:r.default.object,interfaceId:r.default.string}}}},{package:"$root$",file:"ui/components/app/snaps/snap-ui-renderer/snap-ui-renderer.js"}],[4833,{"./components":4823,"@metamask/snaps-utils":2163,"@metamask/utils":2300,"@noble/hashes/sha256":2339,he:3627,lodash:3836},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.mapToTemplate=n.mapTextToTemplate=void 0;var a=e("@metamask/snaps-utils"),r=e("lodash"),o=e("@noble/hashes/sha256"),i=e("@metamask/utils"),s=e("he"),l=e("./components");const c=(0,r.memoize)((e=>{const{type:t,props:n}=e,{name:r}=n,s=function(e){if(!(0,a.hasChildren)(e))return null;const{children:t}=e.props;return"string"==typeof t?t.slice(0,5e3):Array.isArray(t)?t.map((e=>({type:(null==e?void 0:e.type)??null}))):t}(e);return(0,i.remove0x)((0,i.bytesToHex)((0,o.sha256)(JSON.stringify({type:t,name:r??null,children:s}))))}));const u=e=>{const{type:t,key:n}=e.element,a=n??function(e,t){const n=c(t),a=(e[n]??0)+1;return e[n]=a,`${n}_${a}`}(e.map,e.element);return{...l.COMPONENT_MAPPING[t](e),key:a}};n.mapToTemplate=u;n.mapTextToTemplate=(e,t)=>e.map((e=>"string"==typeof e?(0,s.unescape)(e):u({...t,element:e})))}}},{package:"$root$",file:"ui/components/app/snaps/snap-ui-renderer/utils.ts"}],[4834,{"./snap-update-alert":4835},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./snap-update-alert"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/snaps/snap-update-alert/index.js"}],[4835,{"../../../../helpers/constants/design-system":5355,"../../../../hooks/useI18nContext":5427,"../../../component-library":4955,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=l(e("react")),r=l(e("prop-types")),o=e("../../../component-library"),i=e("../../../../helpers/constants/design-system"),s=e("../../../../hooks/useI18nContext");function l(e){return e&&e.__esModule?e:{default:e}}function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const r=(0,s.useI18nContext)();return a.default.createElement(o.BannerAlert,c({title:r("snapUpdateAvailable"),actionButtonLabel:r("update"),actionButtonOnClick:t,actionButtonProps:{endIconName:o.IconName.Download,color:i.TextColor.primaryDefault}},n),a.default.createElement(o.Text,null,r("snapUpdateAlertDescription",[e])))};u.propTypes={snapName:r.default.string.isRequired,onUpdateClick:r.default.func.isRequired,bannerAlertProps:r.default.object};n.default=u}}},{package:"$root$",file:"ui/components/app/snaps/snap-update-alert/snap-update-alert.js"}],[4836,{"../../../../helpers/constants/design-system":5355,"../../../component-library":4955,"../../../ui/icon/preloader/preloader-icon.component":5240,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=l(e("react")),r=l(e("prop-types")),o=e("../../../../helpers/constants/design-system"),i=e("../../../component-library"),s=l(e("../../../ui/icon/preloader/preloader-icon.component"));function l(e){return e&&e.__esModule?e:{default:e}}const c=({value:e,url:t})=>a.default.createElement(i.ButtonLink,{href:t,target:"_blank",className:"snap-external-pill",ellipsis:!0},a.default.createElement(i.Box,{className:"snap-external-pill__wrapper",display:o.Display.Flex,flexDirection:o.FlexDirection.Row,alignItems:o.AlignItems.center,backgroundColor:o.BackgroundColor.backgroundAlternative,borderRadius:o.BorderRadius.pill,paddingTop:1,paddingBottom:1,paddingLeft:2,paddingRight:2},e?a.default.createElement(i.Text,{color:o.Color.textAlternative,variant:o.TextVariant.bodyMd,ellipsis:!0},e):a.default.createElement(s.default,{size:18}),a.default.createElement(i.Icon,{name:i.IconName.Export,color:o.Color.textAlternative,size:i.IconSize.Sm,marginLeft:1})));c.propTypes={value:r.default.string,url:r.default.string};n.default=c}}},{package:"$root$",file:"ui/components/app/snaps/snap-version/snap-external-pill.js"}],[4837,{"./update-snap-permission-list":4838},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./update-snap-permission-list"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/snaps/update-snap-permission-list/index.js"}],[4838,{"../../../../helpers/utils/permission":5393,"../../../../helpers/utils/util":5399,"../../../../hooks/useI18nContext":5427,"../../../../selectors":5987,"../../../component-library":4955,"../snap-permission-cell":4790,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=f;var a=p(e("react")),r=e("react-redux"),o=p(e("prop-types")),i=e("../../../../helpers/utils/permission"),s=e("../../../../hooks/useI18nContext"),l=e("../../../component-library"),c=e("../../../../selectors"),u=e("../../../../helpers/utils/util"),d=p(e("../snap-permission-cell"));function p(e){return e&&e.__esModule?e:{default:e}}function f({approvedPermissions:e,revokedPermissions:t,newPermissions:n,approvedConnections:o,revokedConnections:p,newConnections:f,targetSubjectMetadata:m}){const h=(0,s.useI18nContext)(),g=m.origin,{name:y}=(0,r.useSelector)((e=>(0,c.getSnapMetadata)(e,m.origin))),b=(0,r.useSelector)((e=>(0,c.getMultipleTargetsSubjectMetadata)(e,{...f,...o,...p}))),v=(0,r.useSelector)(c.getSnapsMetadata),T=(0,u.getSnapName)(v),E={...e,connection_permission:o??{}},w={...t,connection_permission:p??{}},x={...n,connection_permission:f??{}};return a.default.createElement(l.Box,null,(0,i.getWeightedPermissions)({t:h,permissions:x,subjectName:y,getSubjectName:T}).map(((e,t)=>a.default.createElement(d.default,{snapId:g,connectionSubjectMetadata:b[e.connection],permission:e,index:t,key:`permissionCellDisplay_${g}_${t}`}))),(0,i.getWeightedPermissions)({t:h,permissions:w,subjectName:y,getSubjectName:T}).map(((e,t)=>a.default.createElement(d.default,{snapId:g,connectionSubjectMetadata:b[e.connection],permission:e,index:t,key:`permissionCellDisplay_${g}_${t}`,revoked:!0}))),(0,i.getWeightedPermissions)({t:h,permissions:E,subjectName:y,getSubjectName:T}).map(((e,t)=>a.default.createElement(d.default,{snapId:g,connectionSubjectMetadata:b[e.connection],permission:e,index:t,key:`permissionCellDisplay_${g}_${t}`,approved:!0}))))}f.propTypes={approvedPermissions:o.default.object.isRequired,revokedPermissions:o.default.object.isRequired,newPermissions:o.default.object.isRequired,approvedConnections:o.default.object.isRequired,revokedConnections:o.default.object.isRequired,newConnections:o.default.object.isRequired,targetSubjectMetadata:o.default.object.isRequired}}}},{package:"$root$",file:"ui/components/app/snaps/update-snap-permission-list/update-snap-permission-list.js"}],[4839,{"./srp-input":4841},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./srp-input"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/srp-input/index.js"}],[4840,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.parseSecretRecoveryPhrase=void 0;n.parseSecretRecoveryPhrase=e=>{var t;return(null===(t=(e||"").trim().toLowerCase().match(/\w+/gu))||void 0===t?void 0:t.join(" "))||""}}}},{package:"$root$",file:"ui/components/app/srp-input/parse-secret-recovery-phrase.js"}],[4841,{"../../../helpers/constants/design-system":5355,"../../../helpers/utils/util":5399,"../../../hooks/useI18nContext":5427,"../../component-library":4955,"../../ui/dropdown":5218,"../../ui/show-hide-toggle":5290,"../../ui/text-field":5302,"./parse-secret-recovery-phrase":4840,"@ethersproject/hdnode":494,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=b;var a=e("@ethersproject/hdnode"),r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=h(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=m(e("prop-types")),i=e("../../../hooks/useI18nContext"),s=m(e("../../ui/text-field")),l=e("../../../helpers/utils/util"),c=e("../../component-library"),u=m(e("../../ui/dropdown")),d=m(e("../../ui/show-hide-toggle")),p=e("../../../helpers/constants/design-system"),f=e("./parse-secret-recovery-phrase");function m(e){return e&&e.__esModule?e:{default:e}}function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(h=function(e){return e?n:t})(e)}const g=12,y=e=>e!==e.toLowerCase();function b({onChange:e,srpText:t}){const[n,o]=(0,r.useState)(""),[m,h]=(0,r.useState)(!1),[b,v]=(0,r.useState)(new Array(g).fill("")),[T,E]=(0,r.useState)(new Array(g).fill(!1)),[w,x]=(0,r.useState)(g),_=(0,i.useI18nContext)(),O=(0,r.useCallback)((t=>{let n="";const r=t.join(" ").trim();t.some((e=>""!==e))&&(t.some((e=>""===e))?n=_("seedPhraseReq"):y(r)?n=_("invalidSeedPhraseCaseSensitive"):(0,a.isValidMnemonic)(r)||(n=_("invalidSeedPhrase"))),v(t),o(n),e(n?"":r)}),[v,o,_,e]),S=(0,r.useCallback)((e=>{E((t=>{const n=t.slice();return n[e]?n[e]=!1:(n.fill(!1),n[e]=!0),n}))}),[]),C=(0,r.useCallback)(((e,t)=>{m&&h(!1);const n=b.slice();n[e]=t.trim(),O(n)}),[b,O,m]),k=(0,r.useCallback)((e=>{let t=(0,f.parseSecretRecoveryPhrase)(e).split(" ");if(t.length>24)return void h(!0);m&&h(!1);let n=w;t.length!==w&&(n=t.length<12?12:t.length%3==0?t.length:t.length+(3-t.length%3),x(n)),t.length{const t=parseInt(e,10);if(Number.isNaN(t))throw new Error("Unable to parse option as integer");let n=b.slice(0,t);n.length{const t=`import-srp__srp-word-${e}`;return r.default.createElement("div",{key:e,className:"import-srp__srp-word"},r.default.createElement("label",{htmlFor:t,className:"import-srp__srp-word-label"},r.default.createElement(c.Text,null,`${e+1}.`)),r.default.createElement(s.default,{id:t,"data-testid":t,type:T[e]?"text":"password",onChange:t=>{t.preventDefault(),C(e,t.target.value)},value:b[e],autoComplete:"off",onPaste:e=>{const t=e.clipboardData.getData("text");t.trim().match(/\s/u)&&(e.preventDefault(),k(t))}}),r.default.createElement(d.default,{id:`${t}-checkbox`,ariaLabelHidden:_("srpWordHidden"),ariaLabelShown:_("srpWordShown"),shown:T[e],"data-testid":`${t}-checkbox`,onChange:()=>S(e),title:_("srpToggleShow")}))}))),n?r.default.createElement(c.BannerAlert,{className:"import-srp__srp-error",severity:p.Severity.Danger,description:n,descriptionProps:{className:"import-srp__banner-alert-text"}}):null,m?r.default.createElement(c.BannerAlert,{className:"import-srp__srp-too-many-words-error",severity:p.Severity.Danger,actionButtonLabel:_("dismiss"),actionButtonOnClick:()=>h(!1),description:_("srpPasteFailedTooManyWords"),descriptionProps:{className:"import-srp__banner-alert-text"}}):null)}b.propTypes={onChange:o.default.func.isRequired,srpText:o.default.string.isRequired}}}},{package:"$root$",file:"ui/components/app/srp-input/srp-input.js"}],[4842,{"../../../../helpers/constants/design-system":5355,"../../../../hooks/useI18nContext":5427,"../../../component-library":4955,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function({icon:e,image:t,content:n,moreContent:a,buttons:l}){const c=(0,i.useI18nContext)();return r.default.createElement(r.default.Fragment,null,e&&r.default.createElement(s.Box,{display:o.Display.Flex,flexDirection:o.FlexDirection.Row,alignItems:o.AlignItems.center,justifyContent:o.JustifyContent.center},e),t&&r.default.createElement(s.Box,{display:o.Display.Flex,margin:"auto",textAlign:o.TextAlign.Center},r.default.createElement("img",{src:t,alt:c("srpSecurityQuizImgAlt"),width:"300",style:{maxWidth:"100%"}})),r.default.createElement(s.Text,{variant:o.TextVariant.bodyLgMedium,textAlign:o.TextAlign.Center,color:null==e?void 0:e.props.color},n),a&&r.default.createElement(s.Text,{variant:o.TextVariant.bodyMd,textAlign:o.TextAlign.Center},a),l.map(((e,t)=>r.default.createElement(s.Button,{key:t,size:e.size,onClick:e.onClick,variant:e.variant,width:o.BlockSize.Full,"data-testid":e["data-testid"]},e.label))))};var a,r=(a=e("react"))&&a.__esModule?a:{default:a},o=e("../../../../helpers/constants/design-system"),i=e("../../../../hooks/useI18nContext"),s=e("../../../component-library")}}},{package:"$root$",file:"ui/components/app/srp-quiz-modal/QuizContent/QuizContent.tsx"}],[4843,{"./QuizContent":4842},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./QuizContent"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/srp-quiz-modal/QuizContent/index.ts"}],[4844,{"../../../../../shared/constants/metametrics":4505,"../../../../contexts/metametrics":5327,"../../../../helpers/constants/design-system":5355,"../../../../helpers/constants/routes":5361,"../../../../helpers/constants/zendesk-url":5368,"../../../../hooks/useI18nContext":5427,"../../../component-library":4955,"../../../component-library/modal-content/deprecated":4963,"../../../component-library/modal-header/deprecated":4972,"../QuizContent":4843,"../types":4846,react:4243,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e){const[t,n]=(0,a.useState)(h.QuizStage.introduction),c=(0,a.useContext)(i.MetaMetricsContext),g=(0,r.useHistory)(),y=(0,u.useI18nContext)();let E="";const w={};w[h.QuizStage.introduction]=()=>(E=y("srpSecurityQuizTitle"),a.default.createElement(m.default,{image:"images/reveal-srp.png",content:y("srpSecurityQuizIntroduction"),buttons:[{label:y("srpSecurityQuizGetStarted"),onClick:()=>n(h.QuizStage.questionOne),variant:d.ButtonVariant.Primary,size:d.ButtonSize.Lg,"data-testid":"srp-quiz-get-started"},{label:y("learnMoreUpperCase"),onClick:T,variant:d.ButtonVariant.Link,"data-testid":"srp-quiz-learn-more"}]})),w[h.QuizStage.questionOne]=()=>(E=`1 ${y("ofTextNofM")} 2`,a.default.createElement(m.default,{content:y("srpSecurityQuizQuestionOneQuestion"),buttons:[{label:y("srpSecurityQuizQuestionOneWrongAnswer"),onClick:()=>n(h.QuizStage.wrongAnswerQuestionOne),variant:d.ButtonVariant.Secondary,size:d.ButtonSize.Lg,"data-testid":"srp-quiz-wrong-answer"},{label:y("srpSecurityQuizQuestionOneRightAnswer"),onClick:()=>n(h.QuizStage.rightAnswerQuestionOne),variant:d.ButtonVariant.Secondary,size:d.ButtonSize.Lg,"data-testid":"srp-quiz-right-answer"},{label:y("learnMoreUpperCase"),onClick:T,variant:d.ButtonVariant.Link}]})),w[h.QuizStage.rightAnswerQuestionOne]=()=>(E=`1 ${y("ofTextNofM")} 2`,a.default.createElement(m.default,{icon:v,content:y("srpSecurityQuizQuestionOneRightAnswerTitle"),moreContent:y("srpSecurityQuizQuestionOneRightAnswerDescription"),buttons:[{label:y("continue"),onClick:()=>n(h.QuizStage.questionTwo),variant:d.ButtonVariant.Primary,size:d.ButtonSize.Lg,"data-testid":"srp-quiz-continue"},{label:y("learnMoreUpperCase"),onClick:T,variant:d.ButtonVariant.Link}]})),w[h.QuizStage.wrongAnswerQuestionOne]=()=>(E=`1 ${y("ofTextNofM")} 2`,a.default.createElement(m.default,{icon:b,content:y("srpSecurityQuizQuestionOneWrongAnswerTitle"),moreContent:y("srpSecurityQuizQuestionOneWrongAnswerDescription"),buttons:[{label:y("tryAgain"),onClick:()=>n(h.QuizStage.questionOne),variant:d.ButtonVariant.Primary,size:d.ButtonSize.Lg,"data-testid":"srp-quiz-try-again"},{label:y("learnMoreUpperCase"),onClick:T,variant:d.ButtonVariant.Link}]})),w[h.QuizStage.questionTwo]=()=>(E=`2 ${y("ofTextNofM")} 2`,a.default.createElement(m.default,{content:y("srpSecurityQuizQuestionTwoQuestion"),buttons:[{label:y("srpSecurityQuizQuestionTwoRightAnswer"),onClick:()=>n(h.QuizStage.rightAnswerQuestionTwo),variant:d.ButtonVariant.Secondary,size:d.ButtonSize.Lg,"data-testid":"srp-quiz-right-answer"},{label:y("srpSecurityQuizQuestionTwoWrongAnswer"),onClick:()=>n(h.QuizStage.wrongAnswerQuestionTwo),variant:d.ButtonVariant.Secondary,size:d.ButtonSize.Lg,"data-testid":"srp-quiz-wrong-answer"},{label:y("learnMoreUpperCase"),onClick:T,variant:d.ButtonVariant.Link}]})),w[h.QuizStage.rightAnswerQuestionTwo]=()=>(E=`2 ${y("ofTextNofM")} 2`,a.default.createElement(m.default,{icon:v,content:y("srpSecurityQuizQuestionTwoRightAnswerTitle"),moreContent:y("srpSecurityQuizQuestionTwoRightAnswerDescription"),buttons:[{label:y("continue"),onClick:()=>g.push(l.REVEAL_SEED_ROUTE),variant:d.ButtonVariant.Primary,size:d.ButtonSize.Lg,"data-testid":"srp-quiz-continue"},{label:y("learnMoreUpperCase"),onClick:T,variant:d.ButtonVariant.Link}]})),w[h.QuizStage.wrongAnswerQuestionTwo]=()=>(E=`2 ${y("ofTextNofM")} 2`,a.default.createElement(m.default,{icon:b,content:y("srpSecurityQuizQuestionTwoWrongAnswerTitle"),moreContent:y("srpSecurityQuizQuestionTwoWrongAnswerDescription"),buttons:[{label:y("tryAgain"),onClick:()=>n(h.QuizStage.questionTwo),variant:d.ButtonVariant.Primary,size:d.ButtonSize.Lg,"data-testid":"srp-quiz-try-again"},{label:y("learnMoreUpperCase"),onClick:T,variant:d.ButtonVariant.Link}]}));const x=(0,a.useCallback)((e=>{c({category:o.MetaMetricsEventCategory.Keys,event:o.MetaMetricsEventName.KeyExportSelected,properties:{key_type:o.MetaMetricsEventKeyType.Srp,location:e}},{})}),[]);(0,a.useEffect)((()=>{x(`stage_${t}`)}),[t]);const _=w[t]();return a.default.createElement(d.Modal,{isOpen:e.isOpen,onClose:e.onClose},a.default.createElement(d.ModalOverlay,null),a.default.createElement(p.ModalContent,{modalDialogProps:{display:s.Display.Flex,flexDirection:s.FlexDirection.Column,gap:4}},a.default.createElement(f.ModalHeader,{onClose:e.onClose,"data-testid":"srp-quiz-header"},E),a.default.createElement("span",{"data-testid":`srp_stage_${t}`}),_))};var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=y(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=e("react-router-dom"),o=e("../../../../../shared/constants/metametrics"),i=e("../../../../contexts/metametrics"),s=e("../../../../helpers/constants/design-system"),l=e("../../../../helpers/constants/routes"),c=g(e("../../../../helpers/constants/zendesk-url")),u=e("../../../../hooks/useI18nContext"),d=e("../../../component-library"),p=e("../../../component-library/modal-content/deprecated"),f=e("../../../component-library/modal-header/deprecated"),m=g(e("../QuizContent")),h=e("../types");function g(e){return e&&e.__esModule?e:{default:e}}function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(y=function(e){return e?n:t})(e)}const b=a.default.createElement(d.Icon,{size:d.IconSize.Xl,name:d.IconName.Warning,color:s.IconColor.errorDefault,textAlign:s.TextAlign.Center,width:s.BlockSize.OneTwelfth}),v=a.default.createElement(d.Icon,{size:d.IconSize.Xl,name:d.IconName.Confirmation,color:s.IconColor.successDefault,textAlign:s.TextAlign.Center,width:s.BlockSize.OneTwelfth}),T=()=>{global.platform.openTab({url:c.default.PASSWORD_AND_SRP_ARTICLE})}}}},{package:"$root$",file:"ui/components/app/srp-quiz-modal/SRPQuiz/SRPQuiz.tsx"}],[4845,{"./SRPQuiz":4844},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./SRPQuiz"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/srp-quiz-modal/SRPQuiz/index.ts"}],[4846,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.QuizStage=void 0;n.QuizStage=function(e){return e.introduction="introduction",e.questionOne="question_one",e.wrongAnswerQuestionOne="wrong_answer_question_one",e.rightAnswerQuestionOne="right_answer_question_one",e.questionTwo="question_two",e.wrongAnswerQuestionTwo="wrong_answer_question_two",e.rightAnswerQuestionTwo="right_answer_question_two",e}({})}}},{package:"$root$",file:"ui/components/app/srp-quiz-modal/types.ts"}],[4847,{"./step-progress-bar":4848},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"ThreeStepProgressBar",{enumerable:!0,get:function(){return a.ThreeStepProgressBar}}),Object.defineProperty(n,"TwoStepProgressBar",{enumerable:!0,get:function(){return a.TwoStepProgressBar}}),Object.defineProperty(n,"threeStepStages",{enumerable:!0,get:function(){return a.threeStepStages}}),Object.defineProperty(n,"twoStepStages",{enumerable:!0,get:function(){return a.twoStepStages}});var a=e("./step-progress-bar")}}},{package:"$root$",file:"ui/components/app/step-progress-bar/index.js"}],[4848,{"../../../helpers/constants/design-system":5355,"../../../hooks/useI18nContext":5427,"../../ui/box":5194,classnames:3049,lodash:3836,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.ThreeStepProgressBar=p,n.TwoStepProgressBar=f,n.twoStepStages=n.threeStepStages=void 0;var a=u(e("react")),r=u(e("classnames")),o=u(e("prop-types")),i=e("lodash"),s=e("../../../hooks/useI18nContext"),l=u(e("../../ui/box")),c=e("../../../helpers/constants/design-system");function u(e){return e&&e.__esModule?e:{default:e}}function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;t=1,complete:e>1})},(0,i.capitalize)(n("createPassword"))),a.default.createElement("li",{className:(0,r.default)({active:e>=2,complete:e>3})},(0,i.capitalize)(n("secureWallet"))),a.default.createElement("li",{className:(0,r.default)({active:e>=4,complete:e>5})},(0,i.capitalize)(n("confirmRecoveryPhrase")))))}function f({stage:e,...t}){const n=(0,s.useI18nContext)();return a.default.createElement(l.default,d({width:c.BLOCK_SIZES.FULL},t),a.default.createElement("ul",{className:"progressbar two-steps"},a.default.createElement("li",{className:(0,r.default)({active:e>=1,complete:e>1})},(0,i.capitalize)(n("confirmRecoveryPhrase"))),a.default.createElement("li",{className:(0,r.default)("two-steps",{active:e>=2,complete:e>2})},(0,i.capitalize)(n("createPassword")))))}p.propTypes={stage:o.default.number,...l.default.propTypes},f.propTypes={stage:o.default.number,...l.default.propTypes}}}},{package:"$root$",file:"ui/components/app/step-progress-bar/step-progress-bar.js"}],[4849,{"./tab-bar":4850},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./tab-bar"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/tab-bar/index.js"}],[4850,{"../../../helpers/constants/design-system":5355,"../../component-library":4955,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=l(e("react")),r=l(e("prop-types")),o=l(e("classnames")),i=e("../../component-library"),s=e("../../../helpers/constants/design-system");function l(e){return e&&e.__esModule?e:{default:e}}const c=e=>{const{tabs:t=[],onSelect:n,isActive:r}=e;return a.default.createElement("div",{className:"tab-bar"},t.map((({key:e,content:t,icon:l})=>a.default.createElement(i.Box,{as:"button",key:e,paddingTop:5,paddingBottom:5,paddingLeft:4,paddingRight:4,className:(0,o.default)("tab-bar__tab pointer",{"tab-bar__tab--active":r(e,t)}),onClick:()=>n(e)},r(e,t)&&a.default.createElement(i.Box,{className:"tab-bar__tab__selected-indicator",borderRadius:s.BorderRadius.pill,backgroundColor:s.Color.primaryDefault,display:[s.Display.None,s.Display.Block]}),a.default.createElement("div",{className:"tab-bar__tab__content"},a.default.createElement("div",{className:"tab-bar__tab__content__icon"},l),a.default.createElement("div",{className:"tab-bar__tab__content__title"},t)),a.default.createElement(i.Icon,{name:i.IconName.ArrowRight,size:i.IconSize.Sm,className:"tab-bar__tab__caret"})))))};c.propTypes={isActive:r.default.func.isRequired,tabs:r.default.array,onSelect:r.default.func};n.default=c}}},{package:"$root$",file:"ui/components/app/tab-bar/tab-bar.js"}],[4851,{"./terms-of-use-popup":4852},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./terms-of-use-popup"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/terms-of-use-popup/index.js"}],[4852,{"../../../../shared/constants/metametrics":4505,"../../../contexts/i18n":5324,"../../../contexts/metametrics":5327,"../../../helpers/constants/design-system":5355,"../../component-library":4955,"../../ui/popover":5281,lodash:3836,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=m;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=p(e("prop-types")),o=e("lodash"),i=e("../../../contexts/i18n"),s=p(e("../../ui/popover")),l=e("../../../helpers/constants/design-system"),c=e("../../component-library"),u=e("../../../../shared/constants/metametrics"),d=e("../../../contexts/metametrics");function p(e){return e&&e.__esModule?e:{default:e}}function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}function m({onAccept:e}){const t=(0,a.useContext)(i.I18nContext),n=(0,a.useContext)(d.MetaMetricsContext),[r,p]=(0,a.useState)(!1),[f,m]=(0,a.useState)(!0),h=(0,a.useRef)(),g=a.default.createRef(),y=(0,o.debounce)((e=>{m(e.scrollHeight-e.scrollTop!==e.clientHeight)}),100);return(0,a.useEffect)((()=>{n({category:u.MetaMetricsEventCategory.Onboarding,event:u.MetaMetricsEventName.TermsOfUseShown,properties:{location:"Terms Of Use Popover"}})}),[]),a.default.createElement(s.default,{className:"terms-of-use__popover",popoverRef:h,onScroll:e=>{y(e.target)},showScrollDown:f,title:t("termsOfUseTitle"),onScrollDownButtonClick:e=>{e.stopPropagation(),g.current.scrollIntoView({behavior:"smooth"})},footerProps:{justifyContent:l.AlignItems.center,flexDirection:l.FlexDirection.Column},footer:a.default.createElement(a.default.Fragment,null,a.default.createElement(c.Button,{variant:c.BUTTON_VARIANT.PRIMARY,className:"terms-of-use__button",onClick:e,disabled:!r,"data-testid":"terms-of-use-accept-button"},t("accept")),a.default.createElement(c.Text,{as:"p",marginTop:4,className:"terms-of-use__footer-text",color:l.TextColor.textAlternative},t("termsOfUseFooterText")))},a.default.createElement(c.Box,{className:"terms-of-use"},a.default.createElement(c.Box,{className:"terms-of-use__content",marginBottom:4,marginLeft:4,marginRight:4},a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"IMPORTANT NOTICE: THIS AGREEMENT IS SUBJECT TO BINDING ARBITRATION AND A WAIVER OF CLASS ACTION RIGHTS AS DETAILED IN SECTION 11. PLEASE READ THE AGREEMENT CAREFULLY."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"ConsenSys Software Inc. (“ConsenSys,” “we,” “us,” or “our”) is the leading blockchain software development company. With a focus on utilizing decentralized technologies, such as Ethereum, our software is powering a revolution in commerce and finance and helping to optimize business processes. ConsenSys hosts a top level domain website, www.consensys.io, that serves information regarding ConsenSys and our Offerings, as defined below, as well as sub-domains for our products or services (the top level domain with the sub-domains collectively referred to as the “Site”), which include text, images, audio, code and other materials or third party information. "),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"These Terms of Use (the “Terms,” “Terms of Use” or “Agreement”) contain the terms and conditions that govern your access to and use of the Site and Offerings provided by us and is an agreement between us and you or the entity you represent (“you” or “your”). Please read these Terms of Use carefully before using the Site or Offerings. By using the Site, clicking a button or checkbox to accept or agree to these Terms where that option is made available, clicking a button to use or access any of the Offerings, completing an Order, or,  if earlier, using or otherwise accessing the Offerings (the date on which any of the events listed above occur being the “Effective Date”), you (1) accept and agree to these Terms and any additional terms, rules and conditions of participation issued by ConsenSys from time to time and (2) consent to the collection, use, disclosure and other handling of information as described in our"," ",a.default.createElement(c.ButtonLink,{href:"https://consensys.io/privacy-policy/",target:"_blank",rel:"noopener noreferrer",color:l.Color.primaryDefault,variant:l.TextVariant.bodySm},"Privacy Policy.")," ","If you do not agree to the Terms or perform any and all obligations you accept under the Terms, then you may not access or use the Offerings. "),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"You represent to us that you are lawfully able to enter into contracts. If you are entering into this Agreement for an entity, such as the company you work for, you represent to us that you have legal authority to bind that entity. Please see Section 13 for definitions of certain capitalized terms used in this Agreement."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"In addition, you represent to us that you and your financial institutions, or any party that owns or controls you or your financial institutions, are (1) not subject to sanctions or otherwise designated on any list of prohibited or restricted parties, including but not limited to the lists maintained by the United Nations Security Council, the U.S. Government (i.e., the Specially Designated Nationals List and Foreign Sanctions Evaders List of the U.S. Department of Treasury and the Entity List of the U.S. Department of Commerce), the European Union or its Member States, or other applicable government authority and (2) not located in any country subject to a comprehensive sanctions program implemented by the United States."),a.default.createElement(c.Text,{variant:l.TextVariant.bodyLgMedium,marginBottom:4},"1. The Offerings."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"1.1 Generally. You may access and use the Offerings in accordance with this Agreement. You agree to comply with the terms of this Agreement and all laws, rules and regulations applicable to your use of the Offerings."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"1.2 Offerings and Access. ConsenSys offers a number of products and services, each an “Offering”, under the ConsenSys brand or brands owned by us. These include Codefi, Quorum, Infura, MetaMask and others. Offerings are generally accessed through the Site or through a third party provider of which we approved, such as the Google Play or Apple App Store, unless otherwise agreed in writing. Some Offerings may require you to create an account, enter a valid form of payment, and select a paid plan (a “Paid Plan”), or initiate an Order. "),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"1.3 Third-Party Content. In certain Offerings, Third-Party Content may be used by you at your election. Third-Party Content is governed by this Agreement and, if applicable, separate terms and conditions accompanying such Third-Party Content, which terms and conditions may include separate fees and charges."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"1.4 Third-Party Offerings. When you use our Offerings, you may also be using the products or services of one or more third parties. Your use of these third party offerings may be subject to the separate policies, terms of use, and fees of these third parties."),a.default.createElement(c.Text,{variant:l.TextVariant.bodyLgMedium,marginBottom:4},"2. Changes."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"2.1 To the Offerings. We may change or discontinue any or all of the Offerings or change or remove functionality of any or all of the Offerings from time to time. We will use commercially reasonable efforts to communicate to you any material change or discontinuation of an Offering through the Site or public communication channels.  If you are on a Paid Plan, we will use commercially reasonable efforts to communicate to you  any material changes to or discontinuation of the Offering at least 30 days in advance of such change, and we will use commercially reasonable efforts to continue supporting the previous version of the Offering for up to three months after the change or discontinuation, except if doing so (a) would pose an information security or intellectual property issue, (b) is economically or technically burdensome, or (c) would create undue risk of us violating the law."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"2.2 To this Agreement. We reserve the right, at our sole discretion, to modify or replace any part of this Agreement or any Policies at any time. It is your responsibility to check this Agreement periodically for changes, but we will also use commercially reasonable efforts to communicate any material changes to this Agreement through the Site or other public channels. Your continued use of or access to the Offerings following the posting of any changes to this Agreement constitutes acceptance of those changes."),a.default.createElement(c.Text,{variant:l.TextVariant.bodyLgMedium,marginBottom:4},"3. Your Responsibilities."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"3.1 Your Accounts.  For those Offerings that require an account, and except to the extent caused by our breach of this Agreement, (a) you are responsible for all activities that occur under your account, regardless of whether the activities are authorized by you or undertaken by you, your employees or a third party (including your contractors, agents or other End Users), and (b) we and our affiliates are not responsible for unauthorized access to your account, including any access that occurred as a result of fraud, phishing, or other criminal activity perpetrated by third parties.  "),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"3.2 Your Use. You are responsible for all activities that occur through your use of those Offerings that do not require an account, except to the extent caused by our breach of this Agreement, regardless of whether the activities are authorized by you or undertaken by you, your employees or a third party (including your contractors, agents or other End Users).  We and our affiliates are not responsible for unauthorized access that may occur during your use of the Offerings, including any access that occurred as a result of fraud, phishing, or other criminal activity perpetrated by third parties.  You will ensure that your use of the Offerings does not violate any applicable law.  "),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"3.3 Your Security and Backup. You are solely responsible for properly configuring and using the Offerings and otherwise taking appropriate action to secure, protect and backup your accounts and/or Your Content in a manner that will provide appropriate security and protection, which might include use of encryption.  This includes your obligation under this Agreement to record and securely maintain any passwords or backup security phrases (i.e. “seed” phrases) that relate to your use of the Offerings. You acknowledge that you will not share with us nor any other third party any password or backup/seed phrase that relates to your use of the Offerings, and that we will not be held responsible if you do share any such phrase or password."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"3.4 Log-In Credentials and API Authentication. To the extent we provide you with log-in credentials and API authentication generated by the Offerings, such log-in credentials and API authentication are for your use only and you will not sell, transfer or sublicense them to any other entity or person, except that you may disclose your password or private key to your agents and subcontractors performing work on your behalf."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"3.5 Applicability to MetaMask Offerings. For the avoidance of doubt, the terms of this Section 3 are applicable to all Offerings, including MetaMask and any accounts you create through MetaMask with Third Party Offerings, such as decentralized applications, or blockchain-based accounts themselves."),a.default.createElement(c.Text,{variant:l.TextVariant.bodyLgMedium,marginBottom:4},"4. Fees and Payment."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"4.1 Publicly Available Offerings. Some Offerings may be offered to the public and licensed on a royalty free basis, including Offerings that require a Paid Plan for software licensing fees above a certain threshold of use. "),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"4.2 Offering Fees.  If your use of an Offering does not require an Order or Paid Plan but software licensing fees are charged contemporaneously with your use of the Offering, those fees will be charged as described on the Site or in the user interface of the Offering.  Such fees may be calculated by combining a fee charged by us and a fee charged by a Third Party Offering that provides certain functionality related to the Offering.  For those Offerings which entail an Order or Paid Plan, we calculate and bill fees and charges according to your Order or Paid Plan. For such Offerings, on the first day of each billing period, you will pay us the applicable fees (the “Base Fees”) and any applicable taxes based on the Offerings in the Paid Plan. In addition, we may, for particular Orders, issue an invoice to you for all charges above the applicable threshold for your Paid Plan which constitute overage fees for the previous billing period. If you make any other changes to the Offerings during a billing period (e.g. upgrading or downgrading your Paid Plan), we will apply any additional charges or credits to the next billing period. We may bill you more frequently for fees accrued at our discretion upon notice to you.  You will pay all fees in U.S. dollars unless the particular Offering specifies a different form of payment or otherwise agreed to in writing. All amounts payable by you under this Agreement will be paid to us without setoff or counterclaim, and without any deduction or withholding. Fees and charges for any new Offering or new feature of an Offering will be effective when we use commercially reasonable efforts to communicate updated fees and charges through our Site or other public channels or, if you are on a Paid Plan, upon commercially reasonable efforts to notify you, unless we expressly state otherwise in a notice. We may increase or add new fees and charges for any existing Offerings you are using by using commercially reasonable efforts to notify users of the Offerings through our Site or other public channels or, if you are on a Paid Plan, by giving you at least 30 days’ prior notice.  Unless otherwise specified in an Order, if you are on a Paid Plan, all amounts due under this Agreement are payable within thirty (30) days following receipt of your invoice.  We may elect to charge you interest at the rate of 1.5% per month (or the highest rate permitted by law, if less) on all late payments."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"4.3 Taxes. Each party will be responsible, as required under applicable law, for identifying and paying all taxes and other governmental fees and charges (and any penalties, interest, and other additions thereto) that are imposed on that party upon or with respect to the transactions and payments under this Agreement. All fees payable by you are exclusive taxes unless otherwise noted. We reserve the right to withhold taxes where required."),a.default.createElement(c.Text,{variant:l.TextVariant.bodyLgMedium,marginBottom:4},"5. Temporary Suspension; Limiting API Requests."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"5.1 Generally. We may suspend your right to access or use any portion or all of the Offerings immediately if we determine:"),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"(a) your use of the Offerings (i) poses a security risk to the Offerings or any third party, (ii) could adversely impact our systems, the Offerings or the systems of any other user, (iii) could subject us, our affiliates, or any third party to liability, or (iv) could be unlawful;"),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"(b) you are, or any End User is, in breach of this Agreement;"),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"(c) you are in breach of your payment obligations under Section 4 and such breach continues for 30 days or longer; or"),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"(d) for entities, you have ceased to operate in the ordinary course, made an assignment for the benefit of creditors or similar disposition of your assets, or become the subject of any bankruptcy, reorganization, liquidation, dissolution or similar proceeding."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"5.2 Effect of Suspension. If we suspend your right to access or use any portion or all of the Offerings:"),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"(a) you remain responsible for all fees and charges you incur during the period of suspension; and"),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"(b) you will not be entitled to any fee credits for any period of suspension."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"5.3 Limiting API Requests. If applicable to a particular Offering, we retain sole discretion to limit your usage of the Offerings (including without limitation by limiting the number of API requests you may submit (“API Requests”)) at any time if your usage of the Offerings exceeds the usage threshold specified in your Paid Plan.   "),a.default.createElement(c.Text,{variant:l.TextVariant.bodyLgMedium,marginBottom:4},"6. Term; Termination."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"6.1 Term. For Offerings subject to a Paid Plan, the term of this Agreement will commence on the Effective Date and will remain in effect until terminated under this Section 6. Any notice of termination of this Agreement by either party to the other must include a Termination Date that complies with the notice periods in Section 6.2.  For Offerings that are not subject to a Paid Plan, the term of this Agreement will commence on the Effective Date and will remain in effect until you stop accessing or using the Offerings. "),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"6.2 Termination."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"(a) Termination for Convenience. If you are not on a Paid Plan, you may terminate this Agreement for any reason by ceasing use of the Offering. If you are on a Paid Plan, each party may terminate this Agreement for any reason by giving the other party at least 30 days’ written notice, subject to the provisions in Section 6.2(b)."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"(b) Termination for Cause."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"(i) By Either Party. Either party may terminate this Agreement for cause if the other party is in material breach of this Agreement and the material breach remains uncured for a period of 30 days from receipt of notice by the other party. "),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"(ii) By Us. We may also terminate this Agreement immediately (A) for cause if we have the right to suspend under Section 5, (B) if our relationship with a third-party partner who provides software or other technology we use to provide the Offerings expires, terminates or requires us to change the way we provide the software or other technology as part of the Offerings, or (C) in order to avoid undue risk of violating the law."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"6.3 Effect of Termination. Upon the Termination Date:"),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"(i) all your rights under this Agreement immediately terminate; and"),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"(ii) each party remains responsible for all fees and charges it has incurred through the Termination Date and are responsible for any fees and charges it incurs during the post-termination period;"),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"(iii) the terms and conditions of this Agreement shall survive the expiration or termination of this Agreement to the full extent necessary for their enforcement and for the protection of the party in whose favor they operate.  For instance, despite this Agreement between you and us terminating, any dispute raised after you stop accessing or using the Offerings will be subject to the applicable provisions of this Agreement if that dispute relates to your prior access or use."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"For any use of the Offerings after the Termination Date, the terms of this Agreement will again apply and, if your use is under a Paid Plan, you will pay the applicable fees at the rates under Section 4."),a.default.createElement(c.Text,{variant:l.TextVariant.bodyLgMedium,marginBottom:4},"7. Proprietary Rights."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"7.1 Your Content. Depending on the Offering, you may share Content with us. Except as provided in this Section 7, we obtain no rights under this Agreement from you (or your licensors) to Your Content. You consent to our use of Your Content to provide the Offerings to you."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"7.2 Offerings License. We or our licensors own all right, title, and interest in and to the Offerings, and all related technology and intellectual property rights. Subject to the terms of this Agreement, we grant you a limited, revocable, non-exclusive, non-sublicensable, non-transferable license to do the following: (a) access and use the Offerings solely in accordance with this Agreement; and (b) copy and use Our Content solely in connection with your permitted use of the Offerings. Except as provided in this Section 7.2, you obtain no rights under this Agreement from us, our affiliates or our licensors to the Offerings, including any related intellectual property rights. Some of Our Content and Third-Party Content may be provided to you under a separate license, such as the Apache License, Version 2.0, or other open source license. In the event of a conflict between this Agreement and any separate license, the separate license will prevail with respect to Our Content or Third-Party Content that is the subject of such separate license."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"7.3 License Restrictions. Neither you nor any End User will use the Offerings in any manner or for any purpose other than as expressly permitted by this Agreement. Except for as authorized, neither you nor any End User will, or will attempt to (a) modify, distribute, alter, tamper with, repair, or otherwise create derivative works of any Content included in the Offerings (except to the extent Content included in the Offerings is provided to you under a separate license that expressly permits the creation of derivative works), (b) reverse engineer, disassemble, or decompile the Offerings or apply any other process or procedure to derive the source code of any software included in the Offerings (except to the extent applicable law doesn’t allow this restriction), (c) access or use the Offerings in a way intended to avoid incurring fees or exceeding usage limits or quotas, (d) use scraping techniques to mine or otherwise scrape data except as permitted by a Plan, or (e) resell or sublicense the Offerings unless otherwise agreed in writing. You will not use Our Marks unless you obtain our prior written consent. You will not misrepresent or embellish the relationship between us and you (including by expressing or implying that we support, sponsor, endorse, or contribute to you or your business endeavors). You will not imply any relationship or affiliation between us and you except as expressly permitted by this Agreement."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"7.4 Suggestions. If you provide any Suggestions to us or our affiliates, we and our affiliates will be entitled to use the Suggestions without restriction. You hereby irrevocably assign to us all right, title, and interest in and to the Suggestions and agree to provide us any assistance we require to document, perfect, and maintain our rights in the Suggestions."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"7.5 U.S. Government Users. If you are a U.S. Government End User, we are licensing the Offerings to you as a “Commercial Item” as that term is defined in the U.S. Code of Federal Regulations (see 48 C.F.R. § 2.101), and the rights we grant you to the Offerings are the same as the rights we grant to all others under these Terms of Use."),a.default.createElement(c.Text,{variant:l.TextVariant.bodyLgMedium,marginBottom:4},"8. Indemnification."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"8.1 General. "),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"(a) You will defend, indemnify, and hold harmless us, our affiliates and licensors, and each of their respective employees, officers, directors, and representatives from and against any Losses arising out of or relating to any claim concerning: (a) breach of this Agreement or violation of applicable law by you; and (b) a dispute between you and any of your customers or users. You will reimburse us for reasonable attorneys’ fees and expenses, associated with claims described in (a) and (b) above."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"(b) We will defend, indemnify, and hold harmless you and your employees, officers, directors, and representatives from and against any Losses arising out of or relating to any claim concerning our material and intentional breach of this Agreement.  We will reimburse you for reasonable attorneys’ fees and expenses associated with the claims described in this paragraph."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"8.2 Intellectual Property."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"(a) Subject to the limitations in this Section 8, you will defend ConsenSys, its affiliates, and their respective employees, officers, and directors against any third-party claim alleging that any of Your Content infringes or misappropriates that third party’s intellectual property rights, and will pay the amount of any adverse final judgment or settlement."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"(b) Subject to the limitations in this Section 8 and the limitations in Section 10, we will defend you and your employees, officers, and directors against any third-party claim alleging that the Offerings infringe or misappropriate that third party’s intellectual property rights, and will pay the amount of any adverse final judgment or settlement.  However, we will not be required to spend more than $200,000 pursuant to this Section 8, including without limitation attorneys’ fees, court costs, settlements, judgments, and reimbursement costs."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"(c) Neither party will have obligations or liability under this Section 8.2 arising from infringement by you combining the Offerings with any other product, service, software, data, content or method. In addition, we will have no obligations or liability arising from your use of the Offerings after we have notified you to discontinue such use. The remedies provided in this Section 8.2 are the sole and exclusive remedies for any third-party claims of infringement or misappropriation of intellectual property rights by the Offerings or by Your Content."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"8.3 Process. In no event will a party agree to any settlement of any claim that involves any commitment, other than the payment of money, without the written consent of the other party."),a.default.createElement(c.Text,{variant:l.TextVariant.bodyLgMedium,marginBottom:4},"9. Disclaimers; Risk."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"9.1 DISCLAIMER. THE OFFERINGS ARE PROVIDED “AS IS.” EXCEPT TO THE EXTENT PROHIBITED BY LAW, OR TO THE EXTENT ANY STATUTORY RIGHTS APPLY THAT CANNOT BE EXCLUDED, LIMITED OR WAIVED, WE AND OUR AFFILIATES AND LICENSORS (A) MAKE NO REPRESENTATIONS OR WARRANTIES OF ANY KIND, WHETHER EXPRESS, IMPLIED, STATUTORY OR OTHERWISE REGARDING THE OFFERINGS OR THE THIRD-PARTY CONTENT, AND (B) DISCLAIM ALL WARRANTIES, INCLUDING ANY IMPLIED OR EXPRESS WARRANTIES (I) OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, OR QUIET ENJOYMENT, (II) ARISING OUT OF ANY COURSE OF DEALING OR USAGE OF TRADE, (III) THAT THE OFFERINGS OR THIRD-PARTY CONTENT WILL BE UNINTERRUPTED, ERROR FREE OR FREE OF HARMFUL COMPONENTS, AND (IV) THAT ANY CONTENT WILL BE SECURE OR NOT OTHERWISE LOST OR ALTERED."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"9.2 RISKS. OUR OFFERINGS RELY ON EMERGING TECHNOLOGIES, SUCH AS ETHEREUM. SOME OFFERINGS ARE SUBJECT TO INCREASED RISK THROUGH YOUR POTENTIAL MISUSE OF THINGS SUCH AS PUBLIC/PRIVATE KEY CRYPTOGRAPHY, OR FAILING TO PROPERLY UPDATE OR RUN SOFTWARE TO ACCOMMODATE PROTOCOL UPGRADES, LIKE THE TRANSITION TO PROOF OF STAKE CONSENSUS. BY USING THE OFFERINGS YOU EXPLICITLY ACKNOWLEDGE AND ACCEPT THESE HEIGHTENED RISKS.  YOU REPRESENT THAT YOU ARE FINANCIALLY AND TECHNICALLY SOPHISTICATED ENOUGH TO UNDERSTAND THE INHERENT RISKS ASSOCIATED WITH USING CRYPTOGRAPHIC AND BLOCKCHAIN-BASED SYSTEMS AND UPGRADING YOUR SOFTWARE AND PROCESSES TO ACCOMMODATE PROTOCOL UPGRADES, AND THAT YOU HAVE A WORKING KNOWLEDGE OF THE USAGE AND INTRICACIES OF DIGITAL ASSETS SUCH AS ETHER (ETH) AND OTHER DIGITAL TOKENS, SUCH AS THOSE FOLLOWING THE ERC-20 TOKEN STANDARD.  IN PARTICULAR, YOU UNDERSTAND THAT WE DO NOT OPERATE THE ETHEREUM PROTOCOL OR ANY OTHER BLOCKCHAIN PROTOCOL, COMMUNICATE OR EXECUTE PROTOCOL UPGRADES, OR APPROVE OR PROCESS BLOCKCHAIN TRANSACTIONS ON BEHALF OF YOU.  YOU FURTHER UNDERSTAND THAT BLOCKCHAIN PROTOCOLS PRESENT THEIR OWN RISKS OF USE, THAT SUPPORTING OR PARTICIPATING IN THE PROTOCOL MAY RESULT IN LOSSES IF YOUR PARTICIPATION VIOLATES CERTAIN PROTOCOL RULES, THAT  BLOCKCHAIN-BASED TRANSACTIONS ARE IRREVERSIBLE, THAT YOUR PRIVATE KEY AND BACKUP SEED PHRASE MUST BE KEPT SECRET AT ALL TIMES, THAT CONSENSYS WILL NOT STORE A BACKUP OF, NOR WILL BE ABLE TO DISCOVER OR RECOVER, YOUR PRIVATE KEY OR BACKUP SEED PHRASE, AND THAT YOU ARE SOLELY RESPONSIBLE FOR ANY APPROVALS OR PERMISSIONS YOU PROVIDE BY CRYPTOGRAPHICALLY SIGNING BLOCKCHAIN MESSAGES OR TRANSACTIONS."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"YOU FURTHER UNDERSTAND AND ACCEPT THAT DIGITAL TOKENS PRESENT MARKET VOLATILITY RISK, TECHNICAL SOFTWARE RISKS, REGULATORY RISKS, AND CYBERSECURITY RISKS.  YOU UNDERSTAND THAT THE COST AND SPEED OF A BLOCKCHAIN-BASED SYSTEM IS VARIABLE, THAT COST MAY INCREASE DRAMATICALLY AT ANY TIME, AND THAT COST AND SPEED IS NOT WITHIN THE CAPABILITY OF CONSENSYS TO CONTROL.  YOU UNDERSTAND THAT PROTOCOL UPGRADES MAY INADVERTENTLY CONTAIN BUGS OR SECURITY VULNERABILITIES THAT MAY RESULT IN LOSS OF FUNCTIONALITY AND ULTIMATELY FUNDS."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"YOU UNDERSTAND AND ACCEPT THAT CONSENSYS DOES NOT CONTROL ANY BLOCKCHAIN PROTOCOL, NOR DOES CONSENSYS CONTROL ANY SMART CONTRACT THAT IS NOT OTHERWISE OFFERED BY CONSENSYS AS PART OF THE OFFERINGS.  YOU UNDERSTAND AND ACCEPT THAT CONSENSYS DOES NOT CONTROL AND IS NOT RESPONSIBLE FOR THE TRANSITION OF ANY BLOCKCHAIN PROTOCOL FROM PROOF OF WORK TO PROOF OF STAKE CONSENSUS.  YOU AGREE THAT YOU ALONE, AND NOT CONSENSYS, IS RESPONSIBLE FOR ANY TRANSACTIONS THAT YOU ENGAGE IN WITH REGARD TO SUPPORTING ANY BLOCKCHAIN PROTOCOL WHETHER THROUGH TRANSACTION VALIDATION OR OTHERWISE, OR ANY TRANSACTIONS THAT YOU ENGAGE IN WITHANY THIRD-PARTY-DEVELOPED SMART CONTRACT OR TOKEN, INCLUDING TOKENS THAT WERE CREATED BY A THIRD PARTY FOR THE PURPOSE OF FRAUDULENTLY MISREPRESENTING AFFILIATION WITH ANY BLOCKCHAIN PROJECT.  YOU AGREE THAT CONSENSYS IS NOT RESPONSIBLE FOR THE REGULATORY STATUS OR TREATMENT OF ANY DIGITAL ASSETS THAT YOU MAY ACCESS OR TRANSACT WITH USING CONSENSYS OFFERINGS.  YOU EXPRESSLY ASSUME FULL RESPONSIBILITY FOR ALL OF THE RISKS OF ACCESSING AND USING THE OFFERINGS TO INTERACT WITH BLOCKCHAIN PROTOCOLS. "),a.default.createElement(c.Text,{variant:l.TextVariant.bodyLgMedium,marginBottom:4},"10. Limitations of Liability."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"10.1 Limitation of Liability. WITH THE EXCEPTION OF CLAIMS RELATING TO A BREACH OF OUR PROPRIETARY RIGHTS AS GOVERNED BY SECTION 7 AND INTELLECTUAL PROPERTY CLAIMS AS GOVERNED BY SECTION 8, IN NO EVENT SHALL THE AGGREGATE LIABILITY OF EACH PARTY TOGETHER WITH ALL OF ITS AFFILIATES ARISING OUT OF OR RELATED TO THIS AGREEMENT EXCEED THE TOTAL AMOUNT PAID BY YOU HEREUNDER FOR THE OFFERINGS GIVING RISE TO THE LIABILITY IN THE TWELVE MONTHS PRECEDING THE FIRST INCIDENT OUT OF WHICH THE LIABILITY AROSE, OR, IF NO FEES HAVE BEEN PAID, $25,000. THE FOREGOING LIMITATION WILL APPLY WHETHER AN ACTION IS IN CONTRACT OR TORT AND REGARDLESS OF THE THEORY OF LIABILITY, BUT WILL NOT LIMIT YOUR PAYMENT OBLIGATIONS UNDER SECTION 4. "),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"10.2 Exclusion of Consequential and Related Damages. IN NO EVENT WILL EITHER PARTY OR ITS AFFILIATES HAVE ANY LIABILITY ARISING OUT OF OR RELATED TO THIS AGREEMENT FOR ANY LOST PROFITS, REVENUES, GOODWILL, OR INDIRECT, SPECIAL, INCIDENTAL, CONSEQUENTIAL, COVER, BUSINESS INTERRUPTION OR PUNITIVE DAMAGES, WHETHER AN ACTION IS IN CONTRACT OR TORT AND REGARDLESS OF THE THEORY OF LIABILITY, EVEN IF A PARTY OR ITS AFFILIATES HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES OR IF A PARTY’S OR ITS AFFILIATES’ REMEDY OTHERWISE FAILS OF ITS ESSENTIAL PURPOSE. THE FOREGOING DISCLAIMER WILL NOT APPLY TO THE EXTENT PROHIBITED BY LAW."),a.default.createElement(c.Text,{variant:l.TextVariant.bodyLgMedium,marginBottom:4},"11. Binding Arbitration and Class Action Waiver."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"PLEASE READ THIS SECTION CAREFULLY – IT MAY SIGNIFICANTLY AFFECT YOUR LEGAL RIGHTS, INCLUDING YOUR RIGHT TO FILE A LAWSUIT IN COURT."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"11.1 Binding Arbitration. Any dispute, claim or controversy (“Claim”) relating in any way to this Agreement, the Site, or your use of the Offerings will be resolved by binding arbitration as provided in this Section 11, rather than in court, except that you may assert claims in small claims court if your claims qualify."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"11.1.1 If you are located in the United States: This agreement and any dispute or claim (including non-contractual disputes or claims) arising out of or in connection with it or its subject matter or formation shall be governed by and construed in accordance with the laws of the State of New York. The Federal Arbitration Act and federal arbitration law apply to this Agreement. There is no judge or jury in arbitration, and court review of an arbitration award is limited. However, an arbitrator can award on an individual basis the same damages and relief as a court (including injunctive and declaratory relief or statutory damages), and must follow the terms of this Agreement as a court would. The arbitration will be conducted in accordance with the expedited procedures set forth in the JAMS Comprehensive Arbitration Rules and Procedures (the “Rules”) as those Rules exist on the effective date of this Agreement, including Rules 16.1 and 16.2 of those Rules. The arbitrator’s decision shall be final, binding, and non-appealable. Judgment upon the award may be entered and enforced in any court having jurisdiction. Neither party shall sue the other party other than as provided herein or for enforcement of this clause or of the arbitrator’s award; any such suit may be brought only in a Federal District Court or a New York state court located in New York County, New York. The arbitrator, and not any federal, state, or local court, shall have exclusive authority to resolve any dispute relating to the interpretation, applicability, unconscionability, arbitrability, enforceability, or formation of this Agreement including any claim that all or any part of the Agreement is void or voidable.  If for any reason a claim proceeds in court rather than in arbitration we and you waive any right to a jury trial. Notwithstanding the foregoing we and you both agree that you or we may bring suit in court to enjoin infringement or other misuse of intellectual property rights. "),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"11.1.2 If you are located in the United Kingdom: This agreement and any dispute or claim (including non-contractual disputes or claims) arising out of or in connection with it or its subject matter or formation shall be governed by and construed in accordance with the law of England and Wales. Any dispute, claim or controversy relating in any way to this Agreement, the Offerings, your use of the Offerings, or to any products or services licensed or distributed by us will be resolved by binding arbitration as provided in this clause. Prior to commencing any formal arbitration proceedings, parties shall first seek settlement of any claim by mediation in accordance with the LCIA Mediation Rules, which Rules are deemed to be incorporated by reference into this clause. If the dispute is not settled by mediation within 14 days of the commencement of the mediation, or such further period as the parties shall agree in writing, the dispute shall be referred to and finally resolved by arbitration under the LCIA Rules, which are deemed to be incorporated by reference into this clause. The language to be used in the mediation and in the arbitration shall be English. The seat or legal place of arbitration shall be London."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"11.1.3 If you are located in any territory that is not specifically enumerated in Sections 11.1.1 or 11.1.2, you may elect for either of Section 11.1.1 or 11.1.2 to apply to you, otherwise this Agreement and any Claim (including non-contractual disputes or claims) arising out of or in connection with it or its subject matter or formation shall be governed by and construed in accordance with the law of Ireland. Any Claim relating in any way to this Agreement, the Offerings, your use of the Offerings, or to any products or services licensed or distributed by us will be resolved by binding arbitration as provided in this clause. Prior to commencing any formal arbitration proceedings, parties shall first seek settlement of any claim by mediation in accordance with the LCIA Mediation Rules, which Rules are deemed to be incorporated by reference into this clause. If the dispute is not settled by mediation within 14 days of the commencement of the mediation, or such further period as the parties shall agree in writing, the Claim shall be referred to and finally resolved by arbitration under the LCIA Rules, which are deemed to be incorporated by reference into this clause. The language to be used in the mediation and in the arbitration shall be English. The seat or legal place of arbitration shall be Dublin, Ireland."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"11.2 Class Action Waiver. YOU AND WE AGREE THAT EACH MAY BRING CLAIMS AGAINST THE OTHER ONLY ON AN INDIVIDUAL BASIS, AND NOT AS A PLAINTIFF OR CLASS MEMBER IN ANY PURPORTED CLASS OR REPRESENTATIVE PROCEEDING. YOU AND WE EXPRESSLY WAIVE ANY RIGHT TO FILE A CLASS ACTION OR SEEK RELIEF ON A CLASS BASIS. Unless both you and we agree, no arbitrator or judge may consolidate more than one person’s claims or otherwise preside over any form of a representative or class proceeding. The arbitrator may award injunctive relief only in favor of the individual party seeking relief and only to the extent necessary to provide relief warranted by that party’s individual claim. If a court decides that applicable law precludes enforcement of any of this paragraph’s limitations as to a particular claim for relief, then that claim (and only that claim) must be severed from the arbitration and may be brought in court. If any court or arbitrator determines that the class action waiver set forth in this paragraph is void or unenforceable for any reason or that an arbitration can proceed on a class basis, then the arbitration provision set forth above shall be deemed null and void in its entirety and the parties shall be deemed to have not agreed to arbitrate disputes."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"11.3 30-Day Right to Opt Out. You have the right to opt-out and not be bound by the arbitration and class action waiver provisions set forth above by sending written notice of your decision to opt-out to the email address notices@consensys.net with subject line LEGAL OPT OUT. The notice must be sent within 30 days of your first use of the Offerings, otherwise you shall be bound to arbitrate disputes and will be deemed to have agreed to waive any right to pursue a class action in accordance with the terms of those paragraphs. If you opt-out of these provisions, we will also not be bound by them."),a.default.createElement(c.Text,{variant:l.TextVariant.bodyLgMedium,marginBottom:4},"12. Miscellaneous."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"12.1 Assignment. You will not assign or otherwise transfer this Agreement or any of your rights and obligations under this Agreement, without our prior written consent. Any assignment or transfer in violation of this Section 12.1 will be void. We may assign this Agreement without your consent (a) in connection with a merger, acquisition or sale of all or substantially all of our assets, or (b) to any Affiliate or as part of a corporate reorganization; and effective upon such assignment, the assignee is deemed substituted for us as a party to this Agreement and we are fully released from all of our obligations and duties to perform under this Agreement. Subject to the foregoing, this Agreement will be binding upon, and inure to the benefit of the parties and their respective permitted successors and assigns."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"12.2 DAOs. As a blockchain native company, we may interact with and provide certain Offerings to DAOs. Due to the unique nature of DAOs, to the extent the DAO votes in favor of and/or accepts such Offerings from ConsenSys, the DAO has acknowledged and agreed to these Terms in their entirety."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"12.2 Entire Agreement and Modifications. This Agreement incorporates the Policies by reference and is the entire agreement between you and us regarding the subject matter of this Agreement. If the terms of this document are inconsistent with the terms contained in any Policy, the terms contained in this document will control. Any modification to the terms of this Agreement may only be made in writing."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"12.3 Force Majeure. Neither party nor their respective affiliates will be liable for any delay or failure to perform any obligation under this Agreement where the delay or failure results from any cause beyond such party’s reasonable control, including but not limited to acts of God, utilities or other telecommunications failures, cyber attacks, earthquake, storms or other elements of nature, pandemics, blockages, embargoes, riots, acts or orders of government, acts of terrorism, or war."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"12.4 Export and Sanctions Compliance. In connection with this Agreement, you will comply with all applicable import, re-import, sanctions, anti-boycott, export, and re-export control laws and regulations, including all such laws and regulations that may apply. For clarity, you are solely responsible for compliance related to the manner in which you choose to use the Offerings. You may not use any Offering if you are the subject of U.S. sanctions or of sanctions consistent with U.S. law imposed by the governments of the country where you are using the Offering. "),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"12.5 Independent Contractors; Non-Exclusive Rights. We and you are independent contractors, and this Agreement will not be construed to create a partnership, joint venture, agency, or employment relationship. Neither party, nor any of their respective affiliates, is an agent of the other for any purpose or has the authority to bind the other. Both parties reserve the right (a) to develop or have developed for it products, services, concepts, systems, or techniques that are similar to or compete with the products, services, concepts, systems, or techniques developed or contemplated by the other party, and (b) to assist third party developers or systems integrators who may offer products or services which compete with the other party’s products or services."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"12.6 Eligibility. If you are under the age of majority in your jurisdiction of residence, you may use the Site or Offerings only with the consent of or under the supervision of your parent or legal guardian."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"NOTICE TO PARENTS AND GUARDIANS: By granting your minor permission to access the Site or Offerings, you agree to these Terms of Use on behalf of your minor. You are responsible for exercising supervision over your minor’s online activities. If you do not agree to these Terms of Use, do not let your minor use the Site or Offerings."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"12.7 Language. All communications and notices made or given pursuant to this Agreement must be in the English language. If we provide a translation of the English language version of this Agreement, the English language version of the Agreement will control if there is any conflict."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"12.8 Notice."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"(a) To You. We may provide any notice to you under this Agreement using commercially reasonable means, including: (i) posting a notice on the Site; (ii) sending a message to the email address then associated with your account; or (iii) using public communication channels . Notices we provide by posting on the Site or using public communication channels will be effective upon posting, and notices we provide by email will be effective when we send the email. It is your responsibility to keep your email address current to the extent you have an account. You will be deemed to have received any email sent to the email address then associated with your account when we send the email, whether or not you actually receive the email."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"(b) To Us. To give us notice under this Agreement, you must contact us by email at notices@consensys.net. "),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"12.9 No Third-Party Beneficiaries. Except as otherwise set forth herein, this Agreement does not create any third-party beneficiary rights in any individual or entity that is not a party to this Agreement."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"12.10 No Waivers. The failure by us to enforce any provision of this Agreement will not constitute a present or future waiver of such provision nor limit our right to enforce such provision at a later time. All waivers by us must be in writing to be effective."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"12.11 Severability. If any portion of this Agreement is held to be invalid or unenforceable, the remaining portions of this Agreement will remain in full force and effect. Any invalid or unenforceable portions will be interpreted to effect and intent of the original portion. If such construction is not possible, the invalid or unenforceable portion will be severed from this Agreement but the rest of the Agreement will remain in full force and effect."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"12.12 Notice and Procedure for Making Claims of Copyright Infringement. If you are a copyright owner or agent of the owner, and you believe that your copyright or the copyright of a person on whose behalf you are authorized to act has been infringed, please provide us a written notice at the address below with the following information:"),a.default.createElement(c.Box,{as:"ol",marginLeft:4,className:"terms-of-use__terms-list"},a.default.createElement(c.Text,{as:"li",variant:l.TextVariant.bodySm,marginBottom:2},"an electronic or physical signature of the person authorized to act on behalf of the owner of the copyright or other intellectual property interest;"),a.default.createElement(c.Text,{as:"li",variant:l.TextVariant.bodySm,marginBottom:2},"a description of the copyrighted work or other intellectual property that you claim has been infringed;"),a.default.createElement(c.Text,{as:"li",variant:l.TextVariant.bodySm,marginBottom:2},"a description of where the material that you claim is infringing is located with respect to the Offerings;"),a.default.createElement(c.Text,{as:"li",variant:l.TextVariant.bodySm,marginBottom:2},"your address, telephone number, and email address;"),a.default.createElement(c.Text,{as:"li",variant:l.TextVariant.bodySm,marginBottom:2},"a statement by you that you have a good faith belief that the disputed use is not authorized by the copyright owner, its agent, or the law;"),a.default.createElement(c.Text,{as:"li",variant:l.TextVariant.bodySm,marginBottom:2},"a statement by you, made under penalty of perjury, that the above information in your notice is accurate and that you are the copyright or intellectual property owner or authorized to act on the copyright or intellectual property owner’s behalf.")),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"You can reach us at:"),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"Email: notices@consensys.net"),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"Subject Line: Copyright Notification Mail"),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"Attention: Copyright ℅"),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"ConsenSys Software Inc. "),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"49 Bogart Street Suite 22 Brooklyn, NY 11206"),a.default.createElement(c.Text,{variant:l.TextVariant.bodyLgMedium,marginBottom:4},"13. Definitions."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"“Acceptable Use Policy” means the policy set forth below, as it may be updated by us from time to time. You agree not to, and not to allow third parties to, use the Offerings:"),a.default.createElement(c.Box,{as:"ol",marginLeft:4,className:"terms-of-use__terms-list"},a.default.createElement(c.Text,{as:"li",variant:l.TextVariant.bodySm,marginBottom:2},"to violate, or encourage the violation of, the legal rights of others (for example, this may include allowing End Users to infringe or misappropriate the intellectual property rights of others in violation of the Digital Millennium Copyright Act);"),a.default.createElement(c.Text,{as:"li",variant:l.TextVariant.bodySm,marginBottom:2},"to engage in, promote or encourage any illegal or infringing content;"),a.default.createElement(c.Text,{as:"li",variant:l.TextVariant.bodySm,marginBottom:2},"for any unlawful, invasive, infringing, defamatory or fraudulent purpose (for example, this may include phishing, creating a pyramid scheme or mirroring a website);"),a.default.createElement(c.Text,{as:"li",variant:l.TextVariant.bodySm,marginBottom:2},"to intentionally distribute viruses, worms, Trojan horses, corrupted files, hoaxes, or other items of a destructive or deceptive nature;"),a.default.createElement(c.Text,{as:"li",variant:l.TextVariant.bodySm,marginBottom:2},"to interfere with the use of the Offerings, or the equipment used to provide the Offerings, by customers, authorized resellers, or other authorized users;"),a.default.createElement(c.Text,{as:"li",variant:l.TextVariant.bodySm,marginBottom:2},"to disable, interfere with or circumvent any aspect of the Offerings (for example, any thresholds or limits);"),a.default.createElement(c.Text,{as:"li",variant:l.TextVariant.bodySm,marginBottom:2},"to generate, distribute, publish or facilitate unsolicited mass email, promotions, advertising or other solicitation; or"),a.default.createElement(c.Text,{as:"li",variant:l.TextVariant.bodySm,marginBottom:2},"to use the Offerings, or any interfaces provided with the Offerings, to access any other product or service in a manner that violates the terms of service of such other product or service.")),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"“API” means an application program interface."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"“API Requests” has the meaning set forth in Section 5.3."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"“Applicable Threshold” has the meaning set forth in Section 4.2."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"“Base Fees” has the meaning set forth in Section 4.2."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"“Content” means any data, text, audio, video or images, software (including machine images), and any documentation."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"“DAO” means Decentralized Autonomous Organization."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"“End User” means any individual or entity that directly or indirectly through another user: (a) accesses or uses Your Content; or (b) otherwise accesses or uses the Offerings under your account. "),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"“Fees” has the meaning set forth in Section 4.2."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"“Losses” means any claims, damages, losses, liabilities, costs, and expenses (including reasonable attorneys’ fees).’"),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"“Our Content” means any software (including machine images), data, text, audio, video, images, or documentation that we offer in connection with the Offerings. "),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"“Our Marks” means any trademarks, service marks, service or trade names, logos, and other designations of ConsenSys Software Inc. and their affiliates or licensors that we may make available to you in connection with this Agreement."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"“Order” means an order for Offerings executed through an order form directly with ConsenSys, or through a cloud vendor, such as Amazon Web Services, Microsoft Azure, or Google Cloud."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"“Offerings” means each of the products and services, including but not limited to Codefi, Infura, MetaMask, Quorum and any other features, tools, materials, or services offered from time to time, by us or our affiliates. "),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"“Policies” means the Acceptable Use Policy, Privacy Policy, any supplemental policies or addendums applicable to any Service as provided to you, and any other policy or terms referenced in or incorporated into this Agreement, each as may be updated by us from time to time."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"“Privacy Policy” means the privacy policy located at"," ",a.default.createElement(c.ButtonLink,{href:"https://consensys.io/privacy-policy",target:"_blank",rel:"noopener noreferrer",color:l.Color.primaryDefault,variant:l.TextVariant.bodySm},"https://consensys.io/privacy-policy")," ","(and any successor or related locations designated by us), as it may be updated by us from time to time."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"“Service Offerings” means the Services (including associated APIs), Our Content, Our Marks, and any other product or service provided by us under this Agreement. Service Offerings do not include Third-Party Content or Third-Party Services."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"“Suggestions” means all suggested improvements to the Service Offerings that you provide to us.."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"“Term” means the term of this Agreement described in Section 6.1."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"“Termination Date” means the effective date of termination provided in accordance with Section 6, in a notice from one party to the other."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"“Third-Party Content” means Content made available to you by any third party on the Site or in conjunction with the Offerings."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"“Your Content” means content that you or any End User transfers to us, storage or hosting by the Offerings in connection with account and any computational results that you or any End User derive from the foregoing through their use of the Offerings, excluding however any information submitted to a blockchain protocol for processing. "),a.default.createElement(c.Box,{flexDirection:l.FlexDirection.Row,alignItems:l.AlignItems.flexStart,marginLeft:3,marginRight:3,gap:2},a.default.createElement(c.Checkbox,{id:"terms-of-use__checkbox",className:"terms-of-use__checkbox","data-testid":"terms-of-use-checkbox",isChecked:r,onChange:()=>{p(!r)},label:t("termsOfUseAgreeText"),ref:g})))))}m.propTypes={onAccept:r.default.func.isRequired}}}},{package:"$root$",file:"ui/components/app/terms-of-use-popup/terms-of-use-popup.js"}],[4853,{"./token-cell":4854},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./token-cell"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/token-cell/index.js"}],[4854,{"../../../../shared/modules/string-utils":4558,"../../../hooks/useIsOriginalTokenSymbol":5429,"../../../hooks/useTokenFiatAmount":5446,"../../../selectors":5987,"../../multichain":5092,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=p;var a=d(e("prop-types")),r=d(e("react")),o=e("react-redux"),i=e("../../../selectors"),s=e("../../../hooks/useTokenFiatAmount"),l=e("../../multichain"),c=e("../../../../shared/modules/string-utils"),u=e("../../../hooks/useIsOriginalTokenSymbol");function d(e){return e&&e.__esModule?e:{default:e}}function p({address:e,image:t,symbol:n,string:a,onClick:d}){const p=(0,o.useSelector)(i.getTokenList),f=Object.values(p).find((t=>(0,c.isEqualCaseInsensitive)(t.symbol,n)&&(0,c.isEqualCaseInsensitive)(t.address,e))),m=(null==f?void 0:f.name)||n,h=(null==f?void 0:f.iconUrl)||t,g=(0,s.useTokenFiatAmount)(e,a,n),y=(0,u.useIsOriginalTokenSymbol)(e,n);return r.default.createElement(l.TokenListItem,{onClick:()=>d(e),tokenSymbol:n,tokenImage:h,primary:`${a||0}`,secondary:y?g:null,title:m,isOriginalTokenSymbol:y,address:e})}p.propTypes={address:a.default.string,symbol:a.default.string,string:a.default.string,onClick:a.default.func.isRequired,image:a.default.string}}}},{package:"$root$",file:"ui/components/app/token-cell/token-cell.js"}],[4855,{"./token-list":4856},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./token-list"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/token-list/index.js"}],[4856,{"../../../helpers/constants/design-system":5355,"../../../hooks/useI18nContext":5427,"../../component-library":4955,"../token-cell":4853,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=d;var a=c(e("react")),r=c(e("prop-types")),o=c(e("../token-cell")),i=e("../../../hooks/useI18nContext"),s=e("../../component-library"),l=e("../../../helpers/constants/design-system");function c(e){return e&&e.__esModule?e:{default:e}}function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;ta.default.createElement(o.default,u({key:n},t,{onClick:e})))))}d.propTypes={onTokenClick:r.default.func.isRequired,tokens:r.default.array.isRequired,loading:r.default.bool}}}},{package:"$root$",file:"ui/components/app/token-list/token-list.js"}],[4857,{"./transaction-activity-log.container":4862},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./transaction-activity-log.container"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/transaction-activity-log/index.js"}],[4858,{"./transaction-activity-log-icon.component":4859},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./transaction-activity-log-icon.component"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/transaction-activity-log/transaction-activity-log-icon/index.js"}],[4859,{"../../../../helpers/constants/design-system":5355,"../../../component-library":4955,"../transaction-activity-log.constants":4861,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=n.ACTIVITY_ICONS=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=u(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=c(e("prop-types")),o=c(e("classnames")),i=e("../transaction-activity-log.constants"),s=e("../../../component-library"),l=e("../../../../helpers/constants/design-system");function c(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(u=function(e){return e?n:t})(e)}function d(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const p=n.ACTIVITY_ICONS={[i.TRANSACTION_CREATED_EVENT]:s.IconName.Add,[i.TRANSACTION_SUBMITTED_EVENT]:s.IconName.ArrowUp,[i.TRANSACTION_RESUBMITTED_EVENT]:s.IconName.ProgrammingArrows,[i.TRANSACTION_CONFIRMED_EVENT]:s.IconName.Check,[i.TRANSACTION_DROPPED_EVENT]:s.IconName.Close,[i.TRANSACTION_ERRORED_EVENT]:s.IconName.Danger,[i.TRANSACTION_CANCEL_ATTEMPTED_EVENT]:s.IconName.Close,[i.TRANSACTION_CANCEL_SUCCESS_EVENT]:s.IconName.Close};class f extends a.PureComponent{render(){const{className:e,eventKey:t}=this.props,n=p[t];return a.default.createElement("div",{className:(0,o.default)("transaction-activity-log-icon",e)},n?a.default.createElement(s.Icon,{name:n,color:l.Color.iconDefault,size:s.IconSize.Sm}):null)}}n.default=f,d(f,"contextTypes",{t:r.default.func}),d(f,"propTypes",{className:r.default.string,eventKey:r.default.oneOf(Object.keys(p))})}}},{package:"$root$",file:"ui/components/app/transaction-activity-log/transaction-activity-log-icon/transaction-activity-log-icon.component.js"}],[4860,{"../../../../shared/constants/metametrics":4505,"../../../../shared/modules/conversion.utils":4537,"../../../helpers/utils/util":5399,"./transaction-activity-log-icon":4858,"./transaction-activity-log.constants":4861,"@metamask/etherscan-link":1369,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=p(e("prop-types")),o=p(e("classnames")),i=e("@metamask/etherscan-link"),s=e("../../../helpers/utils/util"),l=e("../../../../shared/constants/metametrics"),c=e("../../../../shared/modules/conversion.utils"),u=p(e("./transaction-activity-log-icon")),d=e("./transaction-activity-log.constants");function p(e){return e&&e.__esModule?e:{default:e}}function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}function m(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class h extends a.PureComponent{constructor(...e){super(...e),m(this,"handleActivityClick",(e=>{const{rpcPrefs:t}=this.props,n=(0,i.getBlockExplorerLink)(e,t);this.context.trackEvent({category:l.MetaMetricsEventCategory.Transactions,event:"Clicked Block Explorer Link",properties:{link_type:"Transaction Block Explorer",action:"Activity Details",block_explorer_domain:(0,s.getURLHostName)(n)}}),global.platform.openTab({url:n})}))}renderInlineRetry(e){const{t:t}=this.context,{inlineRetryIndex:n,primaryTransaction:r={},onRetry:o,isEarliestNonce:i}=this.props,{status:s}=r;return i&&s!==d.CONFIRMED_STATUS&&e===n?a.default.createElement("div",{className:"transaction-activity-log__action-link",onClick:o},t("speedUpTransaction")):null}renderInlineCancel(e){const{t:t}=this.context,{inlineCancelIndex:n,primaryTransaction:r={},onCancel:o,isEarliestNonce:i}=this.props,{status:s}=r;return i&&s!==d.CONFIRMED_STATUS&&e===n?a.default.createElement("div",{className:"transaction-activity-log__action-link",onClick:o},t("speedUpCancellation")):null}renderActivity(e,t){const{conversionRate:n,nativeCurrency:r}=this.props,{eventKey:o,value:i,timestamp:l}=e,d=`${(0,c.getValueFromWeiHex)({value:i,fromCurrency:"ETH",toCurrency:"ETH",conversionRate:n,numberOfDecimals:6})} ${r}`,p=(0,s.formatDate)(l,"T 'on' M/d/y"),f=this.context.t(o,[d,p]);return a.default.createElement("div",{key:t,className:"transaction-activity-log__activity"},a.default.createElement(u.default,{className:"transaction-activity-log__activity-icon",eventKey:o}),a.default.createElement("div",{className:"transaction-activity-log__entry-container"},a.default.createElement("div",{className:"transaction-activity-log__activity-text",title:f,onClick:()=>this.handleActivityClick(e)},f),this.renderInlineRetry(t),this.renderInlineCancel(t)))}render(){const{t:e}=this.context,{className:t,activities:n}=this.props;return 0===n.length?null:a.default.createElement("div",{className:(0,o.default)("transaction-activity-log",t)},a.default.createElement("div",{className:"transaction-activity-log__title"},e("activityLog")),a.default.createElement("div",{className:"transaction-activity-log__activities-container"},n.map(((e,t)=>this.renderActivity(e,t)))))}}n.default=h,m(h,"contextTypes",{t:r.default.func,trackEvent:r.default.func}),m(h,"propTypes",{activities:r.default.array,className:r.default.string,conversionRate:r.default.number,inlineRetryIndex:r.default.number,inlineCancelIndex:r.default.number,nativeCurrency:r.default.string,onCancel:r.default.func,onRetry:r.default.func,primaryTransaction:r.default.object,isEarliestNonce:r.default.bool,rpcPrefs:r.default.object})}}},{package:"$root$",file:"ui/components/app/transaction-activity-log/transaction-activity-log.component.js"}],[4861,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.TRANSACTION_UPDATED_EVENT=n.TRANSACTION_SUBMITTED_EVENT=n.TRANSACTION_RESUBMITTED_EVENT=n.TRANSACTION_ERRORED_EVENT=n.TRANSACTION_DROPPED_EVENT=n.TRANSACTION_CREATED_EVENT=n.TRANSACTION_CONFIRMED_EVENT=n.TRANSACTION_CANCEL_SUCCESS_EVENT=n.TRANSACTION_CANCEL_ATTEMPTED_EVENT=n.SUBMITTED_STATUS=n.DROPPED_STATUS=n.CONFIRMED_STATUS=void 0;n.TRANSACTION_CREATED_EVENT="transactionCreated",n.TRANSACTION_SUBMITTED_EVENT="transactionSubmitted",n.TRANSACTION_RESUBMITTED_EVENT="transactionResubmitted",n.TRANSACTION_CONFIRMED_EVENT="transactionConfirmed",n.TRANSACTION_DROPPED_EVENT="transactionDropped",n.TRANSACTION_UPDATED_EVENT="transactionUpdated",n.TRANSACTION_ERRORED_EVENT="transactionErrored",n.TRANSACTION_CANCEL_ATTEMPTED_EVENT="transactionCancelAttempted",n.TRANSACTION_CANCEL_SUCCESS_EVENT="transactionCancelSuccess",n.SUBMITTED_STATUS="submitted",n.CONFIRMED_STATUS="confirmed",n.DROPPED_STATUS="dropped"}}},{package:"$root$",file:"ui/components/app/transaction-activity-log/transaction-activity-log.constants.js"}],[4862,{"../../../ducks/metamask/metamask":5346,"../../../selectors":5987,"./transaction-activity-log.component":4860,"./transaction-activity-log.constants":4861,"./transaction-activity-log.util":4863,lodash:3836,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=e("react-redux"),o=e("lodash"),i=e("../../../selectors"),s=e("../../../ducks/metamask/metamask"),l=(a=e("./transaction-activity-log.component"))&&a.__esModule?a:{default:a},c=e("./transaction-activity-log.util"),u=e("./transaction-activity-log.constants");const d=e=>({eventKey:t})=>t===e;n.default=(0,r.connect)((e=>({conversionRate:(0,i.conversionRateSelector)(e),nativeCurrency:(0,s.getNativeCurrency)(e),rpcPrefs:(0,i.getRpcPrefsForCurrentProvider)(e)})),null,((e,t,n)=>{const{transactionGroup:{transactions:a=[],primaryTransaction:r}={},...i}=n,s=(0,c.combineTransactionHistories)(a);return{...e,...t,...i,activities:s,inlineRetryIndex:(0,o.findLastIndex)(s,d(u.TRANSACTION_RESUBMITTED_EVENT)),inlineCancelIndex:(0,o.findLastIndex)(s,d(u.TRANSACTION_CANCEL_ATTEMPTED_EVENT)),primaryTransaction:r}}))(l.default)}}},{package:"$root$",file:"ui/components/app/transaction-activity-log/transaction-activity-log.container.js"}],[4863,{"../../../../shared/modules/conversion.utils":4537,"../../../helpers/utils/confirm-tx.util":5381,"./transaction-activity-log.constants":4861,"@metamask/transaction-controller":2234},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.combineTransactionHistories=function(e=[]){if(!e.length)return[];const t=[];e.forEach(((e,n)=>{const a=h(e,0===n);t.push(...a)}));return function(e){const t=[],n=Boolean(e.find((({eventKey:e})=>e===i.TRANSACTION_CONFIRMED_EVENT||e===i.TRANSACTION_CANCEL_SUCCESS_EVENT)));let a=!1;return e.forEach((e=>{e.eventKey===i.TRANSACTION_DROPPED_EVENT?n||a||(t.push(e),a=!0):t.push(e)})),t}(t.sort(((e,t)=>e.timestamp-t.timestamp)))},n.getActivities=h;var a=e("@metamask/transaction-controller"),r=e("../../../../shared/modules/conversion.utils"),o=e("../../../helpers/utils/confirm-tx.util"),i=e("./transaction-activity-log.constants");const s="/status",l="/txParams/gasPrice",c="/txParams/gas",u="/estimatedBaseFee",d="/blockTimestamp",p="replace",f={[s]:!0,[l]:!0,[c]:!0,[d]:!0},m={[i.SUBMITTED_STATUS]:i.TRANSACTION_SUBMITTED_EVENT,[i.CONFIRMED_STATUS]:i.TRANSACTION_CONFIRMED_EVENT,[i.DROPPED_STATUS]:i.TRANSACTION_DROPPED_EVENT};function h(e,t=!1){const{id:n,chainId:h,hash:g,history:y=[],txParams:{gas:b,gasPrice:v,maxPriorityFeePerGas:T},txReceipt:{status:E}={},type:w,estimatedBaseFee:x}=e,_=x&&T&&(0,r.sumHexes)(x,T);let O="0x0",S="0x0";const C=y.reduce(((e,y,T)=>{if(0===T&&!Array.isArray(y)&&y.txParams){const{time:a,estimatedBaseFee:o,txParams:{value:s,gas:l="0x0",gasPrice:c,maxPriorityFeePerGas:u}={}}=y,d=o&&u&&(0,r.sumHexes)(o,u);if(O=l,S=d||c||v||"0x0",t)return e.concat({id:n,hash:g,chainId:h,eventKey:i.TRANSACTION_CREATED_EVENT,timestamp:a,value:s})}else if(Array.isArray(y)){const t=[];return y.forEach((r=>{const{op:T,path:E,value:x,timestamp:C}=r,k=C||y[0]&&y[0].timestamp;if(E in f&&T===p||E===u&&"add"===T)switch(E){case s:{const e="0x0"===O&&"0x0"===S?(0,o.getHexGasTotal)({gasLimit:b,gasPrice:_||v}):(0,o.getHexGasTotal)({gasLimit:O,gasPrice:S});if(x in m){let r=m[x];x===i.SUBMITTED_STATUS?w===a.TransactionType.retry?r=i.TRANSACTION_RESUBMITTED_EVENT:w===a.TransactionType.cancel&&(r=i.TRANSACTION_CANCEL_ATTEMPTED_EVENT):x===i.CONFIRMED_STATUS&&w===a.TransactionType.cancel&&(r=i.TRANSACTION_CANCEL_SUCCESS_EVENT),t.push({id:n,hash:g,eventKey:r,timestamp:k,chainId:h,value:e})}break}case l:case c:case u:{const e=t[t.length-1]||{},{lastEventKey:n}=e;if(E===c)O=x;else if(E===l)S=x;else if(E===u){var I;S=_||(null==y||null===(I=y.txParams)||void 0===I?void 0:I.gasPrice),e.value=(0,o.getHexGasTotal)({gasLimit:b,gasPrice:S})}n!==i.TRANSACTION_SUBMITTED_EVENT&&n!==i.TRANSACTION_RESUBMITTED_EVENT||(e.value=(0,o.getHexGasTotal)({gasLimit:O,gasPrice:S}));break}case d:{const t=e.find((e=>e.eventKey===i.TRANSACTION_CONFIRMED_EVENT));t!==undefined&&(t.timestamp=new Date(1e3*parseInt(r.value,16)).getTime());break}default:t.push({id:n,hash:g,chainId:h,eventKey:i.TRANSACTION_UPDATED_EVENT,timestamp:k})}})),e.concat(t)}return e}),[]);return"0x0"===E?C.concat({id:n,hash:g,chainId:h,eventKey:i.TRANSACTION_ERRORED_EVENT}):C}}}},{package:"$root$",file:"ui/components/app/transaction-activity-log/transaction-activity-log.util.js"}],[4864,{"./transaction-breakdown.container":4868},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./transaction-breakdown.container"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/transaction-breakdown/index.js"}],[4865,{"./transaction-breakdown-row.component":4866},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./transaction-breakdown-row.component"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/transaction-breakdown/transaction-breakdown-row/index.js"}],[4866,{classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r,o,i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=u(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),s=c(e("prop-types")),l=c(e("classnames"));function c(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(u=function(e){return e?n:t})(e)}class d extends i.PureComponent{render(){const{title:e,children:t,className:n,divider:a=!1}=this.props;return i.default.createElement("div",{className:(0,l.default)("transaction-breakdown-row",a?"transaction-breakdown-row--with-bottom-border":"",n),"data-testid":"transaction-breakdown-row"},i.default.createElement("div",{className:"transaction-breakdown-row__title","data-testid":"transaction-breakdown-row-title"},e),i.default.createElement("div",{className:"transaction-breakdown-row__value","data-testid":"transaction-breakdown-row-value"},t))}}n.default=d,a=d,r="propTypes",o={title:s.default.string,children:s.default.node,className:s.default.string,divider:s.default.bool},(r=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(r))in a?Object.defineProperty(a,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):a[r]=o}}},{package:"$root$",file:"ui/components/app/transaction-breakdown/transaction-breakdown-row/transaction-breakdown-row.component.js"}],[4867,{"../../../../shared/constants/common":4495,"../../../helpers/constants/common":5353,"../../ui/currency-display":5209,"../../ui/hex-to-decimal":5228,"../user-preferenced-currency-display":4880,"./transaction-breakdown-row":4865,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=p(e("prop-types")),o=p(e("classnames")),i=p(e("../../ui/currency-display")),s=p(e("../user-preferenced-currency-display")),l=p(e("../../ui/hex-to-decimal")),c=e("../../../helpers/constants/common"),u=e("../../../../shared/constants/common"),d=p(e("./transaction-breakdown-row"));function p(e){return e&&e.__esModule?e:{default:e}}function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}function m(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class h extends a.PureComponent{render(){const{t:e}=this.context,{gas:t,gasPrice:n,maxFeePerGas:r,primaryCurrency:p,className:f,nonce:m,nativeCurrency:h,showFiat:g,totalInHex:y,gasUsed:b,isTokenApprove:v,baseFee:T,priorityFee:E,hexGasTotal:w,isEIP1559Transaction:x,l1HexGasTotal:_,sourceAmountFormatted:O,destinationAmountFormatted:S}=this.props;return a.default.createElement("div",{className:(0,o.default)("transaction-breakdown",f)},a.default.createElement("div",{className:"transaction-breakdown__title"},e("transaction")),a.default.createElement(d.default,{divider:!0,title:e("nonce")},void 0===m?null:a.default.createElement(l.default,{className:"transaction-breakdown__value",value:m})),O&&a.default.createElement(d.default,{title:e("amountSent")},a.default.createElement("span",{className:"transaction-breakdown__value transaction-breakdown__value--amount","data-testid":"transaction-breakdown-value-amount"},O)),S&&a.default.createElement(d.default,{title:e("amountReceived")},a.default.createElement("span",{className:"transaction-breakdown__value transaction-breakdown__value--amount","data-testid":"transaction-breakdown-value-amount"},S)),!O&&a.default.createElement(d.default,{title:e(v?"spendingCap":"amount")},a.default.createElement("span",{className:"transaction-breakdown__value transaction-breakdown__value--amount","data-testid":"transaction-breakdown-value-amount"},p)),a.default.createElement(d.default,{title:_?e("transactionHistoryL2GasLimitLabel"):`${e("gasLimit")} (${e("units")})`,className:"transaction-breakdown__row-title"},void 0===t?"?":a.default.createElement(l.default,{className:"transaction-breakdown__value",value:t})),"string"==typeof b&&a.default.createElement(d.default,{title:`${e("gasUsed")} (${e("units")})`,className:"transaction-breakdown__row-title"},a.default.createElement(l.default,{className:"transaction-breakdown__value",value:b})),x&&void 0!==T?a.default.createElement(d.default,{title:e("transactionHistoryBaseFee")},a.default.createElement(i.default,{className:"transaction-breakdown__value","data-testid":"transaction-breakdown__base-fee",currency:h,denomination:u.EtherDenomination.GWEI,value:T,numberOfDecimals:10,hideLabel:!0})):null,x&&void 0!==E?a.default.createElement(d.default,{title:e("transactionHistoryPriorityFee")},a.default.createElement(i.default,{className:"transaction-breakdown__value","data-testid":"transaction-breakdown__priority-fee",currency:h,denomination:u.EtherDenomination.GWEI,value:E,numberOfDecimals:10,hideLabel:!0})):null,!x&&a.default.createElement(d.default,{title:e(_?"transactionHistoryL2GasPriceLabel":"advancedGasPriceTitle")},void 0===n?"?":a.default.createElement(i.default,{className:"transaction-breakdown__value","data-testid":"transaction-breakdown__gas-price",currency:h,denomination:u.EtherDenomination.GWEI,value:n,numberOfDecimals:9,hideLabel:!0})),x&&a.default.createElement(d.default,{title:e("transactionHistoryTotalGasFee")},a.default.createElement(s.default,{className:"transaction-breakdown__value","data-testid":"transaction-breakdown__effective-gas-price",currency:h,denomination:u.EtherDenomination.ETH,numberOfDecimals:6,value:w,type:c.PRIMARY}),g&&a.default.createElement(s.default,{className:"transaction-breakdown__value",type:c.SECONDARY,value:w})),x&&a.default.createElement(d.default,{divider:!0,title:e("transactionHistoryMaxFeePerGas")},a.default.createElement(s.default,{className:"transaction-breakdown__value",currency:h,denomination:u.EtherDenomination.ETH,numberOfDecimals:9,value:r,type:c.PRIMARY}),g&&a.default.createElement(s.default,{className:"transaction-breakdown__value",type:c.SECONDARY,value:r})),_&&a.default.createElement(d.default,{title:e("transactionHistoryL1GasLabel")},a.default.createElement(s.default,{className:"transaction-breakdown__value","data-testid":"transaction-breakdown__l1-gas-total",numberOfDecimals:18,value:_,type:c.PRIMARY}),g&&a.default.createElement(s.default,{className:"transaction-breakdown__value",type:c.SECONDARY,value:_})),a.default.createElement(d.default,{title:e("total")},a.default.createElement(s.default,{className:"transaction-breakdown__value transaction-breakdown__value--eth-total",type:c.PRIMARY,value:y,numberOfDecimals:_?18:null}),g&&a.default.createElement(s.default,{className:"transaction-breakdown__value",type:c.SECONDARY,value:y})))}}n.default=h,m(h,"contextTypes",{t:r.default.func}),m(h,"propTypes",{className:r.default.string,nativeCurrency:r.default.string,showFiat:r.default.bool,nonce:r.default.string,primaryCurrency:r.default.string,isTokenApprove:r.default.bool,gas:r.default.oneOfType([r.default.string,r.default.number]),gasPrice:r.default.oneOfType([r.default.string,r.default.number]),maxFeePerGas:r.default.oneOfType([r.default.string,r.default.number]),gasUsed:r.default.oneOfType([r.default.string,r.default.number]),totalInHex:r.default.oneOfType([r.default.string,r.default.number]),baseFee:r.default.oneOfType([r.default.string,r.default.number]),priorityFee:r.default.oneOfType([r.default.string,r.default.number]),hexGasTotal:r.default.string,isEIP1559Transaction:r.default.bool,l1HexGasTotal:r.default.string,sourceAmountFormatted:r.default.string,destinationAmountFormatted:r.default.string}),m(h,"defaultProps",{showFiat:!0})}}},{package:"$root$",file:"ui/components/app/transaction-breakdown/transaction-breakdown.component.js"}],[4868,{"../../../../shared/lib/transactions-controller-utils":4531,"../../../../shared/modules/conversion.utils":4537,"../../../../shared/modules/transaction.utils":4560,"../../../ducks/metamask/metamask":5346,"../../../helpers/utils/confirm-tx.util":5381,"../../../selectors":5987,"../transaction-activity-log/transaction-activity-log.constants":4861,"./transaction-breakdown.component":4867,"@metamask/transaction-controller":2234,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=e("react-redux"),o=e("@metamask/transaction-controller"),i=e("../../../selectors"),s=e("../../../ducks/metamask/metamask"),l=e("../../../helpers/utils/confirm-tx.util"),c=e("../../../../shared/modules/transaction.utils"),u=e("../../../../shared/modules/conversion.utils"),d=e("../../../../shared/lib/transactions-controller-utils"),p=e("../transaction-activity-log/transaction-activity-log.constants"),f=(a=e("./transaction-breakdown.component"))&&a.__esModule?a:{default:a};n.default=(0,r.connect)(((e,t)=>{const{transaction:n,isTokenApprove:a}=t,{txParams:{gas:r,gasPrice:f,maxFeePerGas:m,value:h}={},txReceipt:{gasUsed:g,effectiveGasPrice:y,l1Fee:b}={},baseFeePerGas:v,sourceTokenAmount:T,sourceTokenDecimals:E,sourceTokenSymbol:w,destinationTokenAddress:x,destinationTokenAmount:_,destinationTokenDecimals:O,destinationTokenSymbol:S,status:C,type:k}=n,I=T&&E?(0,d.calcTokenAmount)(T,E):undefined;let N;if(k===o.TransactionType.swapAndSend&&_&&O&&S)try{if(N=(0,d.getSwapsTokensReceivedFromTxMeta)(S,n,x,undefined,O),!N)throw new Error("Actual destination token amount not found")}catch(e){N=_&&O?(0,d.calcTokenAmount)(_,O):undefined}const M=I&&E&&w?`${I} ${w}`:undefined,P=N&&C===p.CONFIRMED_STATUS?`${N} ${S}`:undefined,A="string"==typeof g?g:r,R=y&&v&&(0,u.subtractHexes)(y,v),j=f||y,D=A&&j&&(0,l.getHexGasTotal)({gasLimit:A,gasPrice:j})||"0x0",B=(0,u.sumHexes)(D,h,b??0);return{nativeCurrency:(0,s.getNativeCurrency)(e),showFiat:(0,i.getShouldShowFiat)(e),totalInHex:B,gas:r,gasPrice:f,maxFeePerGas:m,gasUsed:g,isTokenApprove:a,hexGasTotal:D,priorityFee:R,baseFee:v,isEIP1559Transaction:(0,c.isEIP1559Transaction)(n),l1HexGasTotal:b,sourceAmountFormatted:M,destinationAmountFormatted:P}}))(f.default)}}},{package:"$root$",file:"ui/components/app/transaction-breakdown/transaction-breakdown.container.js"}],[4869,{"./transaction-icon":4870},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./transaction-icon"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/transaction-icon/index.js"}],[4870,{"../../../../shared/constants/transaction":4520,"../../../helpers/constants/design-system":5355,"../../../store/actions":5998,"../../component-library":4955,"@metamask/transaction-controller":2234,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=h;var a=d(e("react")),r=e("react-redux"),o=d(e("prop-types")),i=e("@metamask/transaction-controller"),s=e("../../../../shared/constants/transaction"),l=e("../../../store/actions"),c=e("../../component-library"),u=e("../../../helpers/constants/design-system");function d(e){return e&&e.__esModule?e:{default:e}}const p={[s.TransactionGroupCategory.approval]:c.IconName.Check,[s.TransactionGroupCategory.interaction]:c.IconName.ProgrammingArrows,[s.TransactionGroupCategory.receive]:c.IconName.Received,[s.TransactionGroupCategory.send]:c.IconName.Arrow2UpRight,[s.TransactionGroupCategory.signatureRequest]:c.IconName.SecurityTick,[s.TransactionGroupCategory.swap]:c.IconName.SwapHorizontal,[s.TransactionGroupCategory.swapAndSend]:c.IconName.Arrow2UpRight},f={[s.TransactionGroupStatus.pending]:u.IconColor.primaryDefault,[s.TransactionGroupStatus.cancelled]:u.IconColor.errorDefault,[i.TransactionStatus.approved]:u.IconColor.primaryDefault,[i.TransactionStatus.dropped]:u.IconColor.errorDefault,[i.TransactionStatus.failed]:u.IconColor.errorDefault,[i.TransactionStatus.rejected]:u.IconColor.errorDefault,[i.TransactionStatus.submitted]:u.IconColor.primaryDefault,[i.TransactionStatus.unapproved]:u.IconColor.primaryDefault},m={[s.TransactionGroupStatus.pending]:u.BackgroundColor.primaryMuted,[s.TransactionGroupStatus.cancelled]:u.BackgroundColor.errorMuted,[i.TransactionStatus.approved]:u.BackgroundColor.primaryMuted,[i.TransactionStatus.dropped]:u.BackgroundColor.errorMuted,[i.TransactionStatus.failed]:u.BackgroundColor.errorMuted,[i.TransactionStatus.rejected]:u.BackgroundColor.errorMuted,[i.TransactionStatus.submitted]:u.BackgroundColor.primaryMuted,[i.TransactionStatus.unapproved]:u.BackgroundColor.primaryMuted};function h({status:e,category:t}){const n=(0,r.useDispatch)(),o=f[e]||u.IconColor.primaryDefault,i=m[e]||u.BackgroundColor.primaryMuted,s=p[t];return s?a.default.createElement(c.AvatarIcon,{backgroundColor:i,iconName:s,size:c.AvatarIconSize.Md,color:o}):(n((0,l.captureSingleException)(`The category prop passed to TransactionIcon is not supported. The prop is: ${t}`)),a.default.createElement(c.AvatarIcon,{backgroundColor:u.BackgroundColor.backgroundAlternative,size:c.AvatarIconSize.Md}))}h.propTypes={status:o.default.oneOf([s.TransactionGroupStatus.cancelled,s.TransactionGroupStatus.pending,i.TransactionStatus.approved,i.TransactionStatus.confirmed,i.TransactionStatus.dropped,i.TransactionStatus.failed,i.TransactionStatus.rejected,i.TransactionStatus.submitted,i.TransactionStatus.unapproved]).isRequired,category:o.default.oneOf([s.TransactionGroupCategory.approval,s.TransactionGroupCategory.interaction,s.TransactionGroupCategory.receive,s.TransactionGroupCategory.send,s.TransactionGroupCategory.signatureRequest,s.TransactionGroupCategory.swap,s.TransactionGroupCategory.swapAndSend]).isRequired}}}},{package:"$root$",file:"ui/components/app/transaction-icon/transaction-icon.js"}],[4871,{"./transaction-list-item-details.container":4873},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./transaction-list-item-details.container"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/transaction-list-item-details/index.js"}],[4872,{"../../../../shared/constants/copy":4496,"../../../../shared/constants/metametrics":4505,"../../../../shared/constants/time":4518,"../../../helpers/constants/routes":5361,"../../../helpers/utils/util":5399,"../../component-library/box":4918,"../../ui/button":5198,"../../ui/disclosure":5216,"../../ui/popover":5281,"../../ui/sender-to-recipient":5287,"../../ui/sender-to-recipient/sender-to-recipient.constants":5289,"../../ui/tooltip":5310,"../cancel-button":4591,"../transaction-activity-log":4857,"../transaction-breakdown":4864,"@metamask/etherscan-link":1369,"@metamask/transaction-controller":2234,"copy-to-clipboard":3087,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=_(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=x(e("prop-types")),o=x(e("copy-to-clipboard")),i=e("@metamask/etherscan-link"),s=e("@metamask/transaction-controller"),l=x(e("../../ui/sender-to-recipient")),c=e("../../ui/sender-to-recipient/sender-to-recipient.constants"),u=x(e("../../ui/disclosure")),d=x(e("../transaction-activity-log")),p=x(e("../transaction-breakdown")),f=x(e("../../ui/button")),m=x(e("../../ui/tooltip")),h=x(e("../cancel-button")),g=x(e("../../ui/popover")),y=e("../../component-library/box"),b=e("../../../../shared/constants/time"),v=e("../../../../shared/constants/metametrics"),T=e("../../../helpers/utils/util"),E=e("../../../helpers/constants/routes"),w=e("../../../../shared/constants/copy");function x(e){return e&&e.__esModule?e:{default:e}}function _(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(_=function(e){return e?n:t})(e)}function O(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class S extends a.PureComponent{constructor(...e){super(...e),O(this,"state",{justCopied:!1}),O(this,"handleBlockExplorerClick",(()=>{const{transactionGroup:{primaryTransaction:e},rpcPrefs:t,isCustomNetwork:n,history:a,onClose:r}=this.props,o=(0,i.getBlockExplorerLink)(e,t);!t.blockExplorerUrl&&n?(r(),a.push(`${E.NETWORKS_ROUTE}#blockExplorerUrl`)):(this.context.trackEvent({category:v.MetaMetricsEventCategory.Transactions,event:"Clicked Block Explorer Link",properties:{link_type:"Transaction Block Explorer",action:"Transaction Details",block_explorer_domain:(0,T.getURLHostName)(o)}}),global.platform.openTab({url:o}))})),O(this,"handleCancel",(e=>{const{onCancel:t,onClose:n}=this.props;t(e),n()})),O(this,"handleRetry",(e=>{const{onClose:t,onRetry:n}=this.props;n(e),t()})),O(this,"handleCopyTxId",(()=>{const{transactionGroup:e}=this.props,{primaryTransaction:t}=e,{hash:n}=t;this.context.trackEvent({category:v.MetaMetricsEventCategory.Navigation,event:"Copied Transaction ID",properties:{action:"Activity Log",legacy_event:!0}}),this.setState({justCopied:!0},(()=>{(0,o.default)(n,w.COPY_OPTIONS),setTimeout((()=>this.setState({justCopied:!1})),b.SECOND)}))}))}componentDidMount(){const{recipientAddress:e,tryReverseResolveAddress:t}=this.props;e&&t(e)}render(){const{t:e}=this.context,{justCopied:t}=this.state,{transactionGroup:n,primaryCurrency:r,showSpeedUp:o,showRetry:i,recipientEns:b,recipientAddress:T,recipientName:E,recipientMetadataName:w,senderAddress:x,isEarliestNonce:_,senderNickname:O,title:S,onClose:C,recipientNickname:k,showCancel:I,transactionStatus:N,blockExplorerLinkText:M}=this.props,{primaryTransaction:P,initialTransaction:{type:A}}=n,{hash:R}=P;return a.default.createElement(g.default,{title:S,onClose:C},a.default.createElement("div",{className:"transaction-list-item-details"},a.default.createElement("div",{className:"transaction-list-item-details__operations"},a.default.createElement("div",{className:"transaction-list-item-details__header-buttons"},o&&a.default.createElement(f.default,{type:"primary",onClick:this.handleRetry,className:"transaction-list-item-details__header-button-rounded-button","data-testid":"speedup-button"},e("speedUp")),I&&a.default.createElement(h.default,{transaction:P,cancelTransaction:this.handleCancel,detailsModal:!0}),i&&a.default.createElement(m.default,{title:e("retryTransaction")},a.default.createElement(f.default,{type:"raised",onClick:this.handleRetry,className:"transaction-list-item-details__header-button","data-testid":"rety-button"},a.default.createElement("i",{className:"fa fa-sync"}))))),a.default.createElement("div",{className:"transaction-list-item-details__header"},a.default.createElement("div",{className:"transaction-list-item-details__tx-status","data-testid":"transaction-list-item-details-tx-status"},a.default.createElement("div",null,e("status")),a.default.createElement("div",null,a.default.createElement(N,null))),a.default.createElement("div",{className:"transaction-list-item-details__tx-hash"},a.default.createElement("div",null,a.default.createElement(f.default,{type:"link",onClick:this.handleBlockExplorerClick,disabled:!R},"addBlockExplorer"===M.firstPart?e("addBlockExplorer"):e("viewOnBlockExplorer"))),a.default.createElement("div",null,a.default.createElement(m.default,{wrapperClassName:"transaction-list-item-details__header-button",containerClassName:"transaction-list-item-details__header-button-tooltip-container",title:t?e("copiedExclamation"):null},a.default.createElement(f.default,{type:"link",onClick:this.handleCopyTxId,disabled:!R},e("copyTransactionId")))))),a.default.createElement("div",{className:"transaction-list-item-details__body"},a.default.createElement("div",{className:"transaction-list-item-details__sender-to-recipient-header"},a.default.createElement("div",null,e("from")),a.default.createElement("div",null,e("to"))),a.default.createElement("div",{className:"transaction-list-item-details__sender-to-recipient-container"},a.default.createElement(l.default,{warnUserOnAccountMismatch:!1,variant:c.DEFAULT_VARIANT,addressOnly:!0,recipientEns:b,recipientAddress:T,recipientNickname:k,recipientName:E,recipientMetadataName:w,senderName:O,senderAddress:x,onRecipientClick:()=>{this.context.trackEvent({category:v.MetaMetricsEventCategory.Navigation,event:'Copied "To" Address',properties:{action:"Activity Log",legacy_event:!0}})},onSenderClick:()=>{this.context.trackEvent({category:v.MetaMetricsEventCategory.Navigation,event:'Copied "From" Address',properties:{action:"Activity Log",legacy_event:!0}})}})),a.default.createElement("div",{className:"transaction-list-item-details__cards-container"},a.default.createElement(p.default,{nonce:n.initialTransaction.txParams.nonce,isTokenApprove:A===s.TransactionType.tokenMethodApprove||A===s.TransactionType.tokenMethodSetApprovalForAll,transaction:P,primaryCurrency:r,className:"transaction-list-item-details__transaction-breakdown"}),n.initialTransaction.type!==s.TransactionType.incoming&&a.default.createElement(y.Box,{marginTop:3,marginBottom:3},a.default.createElement(u.default,{title:e("activityLog"),size:"small",isScrollToBottomOnOpen:!0},a.default.createElement(d.default,{transactionGroup:n,className:"transaction-list-item-details__transaction-activity-log",onCancel:this.handleCancel,onRetry:this.handleRetry,isEarliestNonce:_})))))))}}n.default=S,O(S,"contextTypes",{t:r.default.func,trackEvent:r.default.func}),O(S,"defaultProps",{recipientEns:null}),O(S,"propTypes",{onCancel:r.default.func,onRetry:r.default.func,showCancel:r.default.bool,showSpeedUp:r.default.bool,showRetry:r.default.bool,isEarliestNonce:r.default.bool,primaryCurrency:r.default.string,transactionGroup:r.default.object,title:r.default.string.isRequired,onClose:r.default.func.isRequired,recipientEns:r.default.string,recipientAddress:r.default.string,recipientName:r.default.string,recipientMetadataName:r.default.string,rpcPrefs:r.default.object,senderAddress:r.default.string.isRequired,tryReverseResolveAddress:r.default.func.isRequired,senderNickname:r.default.string.isRequired,recipientNickname:r.default.string,transactionStatus:r.default.func,isCustomNetwork:r.default.bool,history:r.default.object,blockExplorerLinkText:r.default.object})}}},{package:"$root$",file:"ui/components/app/transaction-list-item-details/transaction-list-item-details.component.js"}],[4873,{"../../../../shared/modules/hexstring-utils":4544,"../../../selectors":5987,"../../../store/actions":5998,"./transaction-list-item-details.component":4872,"react-redux":4199,"react-router-dom":4228,redux:4261},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=e("react-redux"),o=e("redux"),i=e("react-router-dom"),s=e("../../../store/actions"),l=e("../../../selectors"),c=e("../../../../shared/modules/hexstring-utils"),u=(a=e("./transaction-list-item-details.component"))&&a.__esModule?a:{default:a};n.default=(0,o.compose)(i.withRouter,(0,r.connect)(((e,t)=>{const{recipientAddress:n,senderAddress:a}=t;let r;if(n){const t=(0,c.toChecksumHexAddress)(n);r=(0,l.getEnsResolutionByAddress)(e,t)}const o=(0,l.getAddressBook)(e),i=(0,l.getInternalAccounts)(e),s=(0,l.getAccountName)(i,n),u=(0,l.getMetadataContractName)(e,n),d=e=>{const t=o.find((t=>e.toLowerCase()===t.address.toLowerCase()));return t&&t.name||""},p=(0,l.getRpcPrefsForCurrentProvider)(e),f=(0,l.getIsCustomNetwork)(e);return{rpcPrefs:p,recipientEns:r,senderNickname:d(a),recipientNickname:n?d(n):null,isCustomNetwork:f,blockExplorerLinkText:(0,l.getBlockExplorerLinkText)(e),recipientName:s,recipientMetadataName:u}}),(e=>({tryReverseResolveAddress:t=>e((0,s.tryReverseResolveAddress)(t))}))))(u.default)}}},{package:"$root$",file:"ui/components/app/transaction-list-item-details/transaction-list-item-details.container.js"}],[4874,{"./transaction-list-item.component":4876},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./transaction-list-item.component"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/transaction-list-item/index.js"}],[4875,{"../../../../shared/constants/transaction":4520,"../../../ducks/swaps/swaps":5351,"../../../helpers/constants/design-system":5355,"../../../helpers/utils/util":5399,"../../../hooks/useTransactionDisplayData":5449,"../../../selectors":5987,"../../component-library":4955,"../../multichain":5092,"../cancel-button":4591,"../transaction-icon":4869,"../transaction-list-item-details":4871,"../transaction-status-label/transaction-status-label":4879,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=T;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=v(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=b(e("prop-types")),o=e("react-redux"),i=b(e("../transaction-status-label/transaction-status-label")),s=b(e("../transaction-icon")),l=e("../../../hooks/useTransactionDisplayData"),c=e("../../../helpers/utils/util"),u=e("../../../../shared/constants/transaction"),d=b(e("../cancel-button")),p=e("../../../ducks/swaps/swaps"),f=b(e("../transaction-list-item-details")),m=e("../../multichain"),h=e("../../component-library"),g=e("../../../helpers/constants/design-system"),y=e("../../../selectors");function b(e){return e&&e.__esModule?e:{default:e}}function v(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(v=function(e){return e?n:t})(e)}function T({smartTransaction:e,transactionGroup:t,isEarliestNonce:n=!1}){var r;const b=(0,o.useDispatch)(),[v,T]=(0,a.useState)(!1),[E,w]=(0,a.useState)(!1),{title:x,category:_,primaryCurrency:O,recipientAddress:S,isPending:C,senderAddress:k}=(0,l.useTransactionDisplayData)(t),I=(0,o.useSelector)(y.getCurrentNetwork),{time:N,status:M}=e,P=(0,c.formatDateWithYearContext)(N,"MMM d, y","MMM d");let A;M===u.SmartTransactionStatus.pending?A=u.TransactionGroupStatus.pending:null!=M&&M.startsWith(u.SmartTransactionStatus.cancelled)&&(A=u.TransactionGroupStatus.cancelled);const R=e.cancellable&&!v,j=(0,a.useCallback)((()=>{w((e=>!e))}),[]);return a.default.createElement(a.default.Fragment,null,a.default.createElement(m.ActivityListItem,{className:"transaction-list-item transaction-list-item--unconfirmed",title:x,onClick:j,icon:a.default.createElement(h.BadgeWrapper,{anchorElementShape:h.BadgeWrapperAnchorElementShape.circular,positionObj:{top:-4,right:-4},display:g.Display.Block,badge:a.default.createElement(h.AvatarNetwork,{className:"activity-tx__network-badge","data-testid":"activity-tx-network-badge",size:h.AvatarNetworkSize.Xs,name:null==I?void 0:I.nickname,src:null==I||null===(r=I.rpcPrefs)||void 0===r?void 0:r.imageUrl,borderWidth:1,borderColor:g.BackgroundColor.backgroundDefault})},a.default.createElement(s.default,{category:_,status:A})),subtitle:a.default.createElement(i.default,{isPending:!0,isEarliestNonce:n,date:P,status:A})},A===u.TransactionGroupStatus.pending&&R&&a.default.createElement(h.Box,{paddingTop:4,className:"transaction-list-item__pending-actions"},a.default.createElement(d.default,{transaction:e.uuid,cancelTransaction:t=>{null==t||t.preventDefault(),b((0,p.cancelSwapsSmartTransaction)(e.uuid)),T(!0)}}))),E&&a.default.createElement(f.default,{title:x,onClose:j,senderAddress:k,recipientAddress:S,primaryCurrency:O,isEarliestNonce:n,transactionGroup:t,transactionStatus:()=>a.default.createElement(i.default,{isPending:C,isEarliestNonce:n,date:P,status:A,statusOnly:!0})}))}T.propTypes={smartTransaction:r.default.object.isRequired,isEarliestNonce:r.default.bool,transactionGroup:r.default.object}}}},{package:"$root$",file:"ui/components/app/transaction-list-item/smart-transaction-list-item.component.js"}]],[],{}); \ No newline at end of file +LavaPack.loadBundle([[4680,{"../../../../../shared/constants/metametrics":4505,"../../../../contexts/metametrics":5327,"../../../../helpers/constants/design-system":5355,"../../../../helpers/higher-order-components/with-modal-props":5376,"../../../../hooks/useI18nContext":5427,"../../../../selectors":5987,"../../../../store/actions":5998,"../../../component-library":4955,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=h(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=m(e("prop-types")),o=e("react-redux"),i=m(e("../../../../helpers/higher-order-components/with-modal-props")),s=e("../../../component-library"),l=e("../../../../helpers/constants/design-system"),c=e("../../../../hooks/useI18nContext"),u=e("../../../../store/actions"),d=e("../../../../selectors"),p=e("../../../../../shared/constants/metametrics"),f=e("../../../../contexts/metametrics");function m(e){return e&&e.__esModule?e:{default:e}}function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(h=function(e){return e?n:t})(e)}const g=({hideModal:e})=>{const[t,n]=(0,a.useState)(!1),[r,i]=(0,a.useState)(!1),[m,h]=(0,a.useState)(""),g=(0,o.useSelector)(d.getDisabledRpcMethodPreferences),y=(0,c.useI18nContext)(),b=(0,o.useDispatch)(),v=(0,a.useContext)(f.MetaMetricsContext),T=m===y("toggleEthSignModalFormValidation");return a.default.createElement(s.Box,{className:"eth-sign-modal",display:l.Display.Flex,flexDirection:l.FlexDirection.Column,justifyContent:l.JustifyContent.flexStart,padding:4},a.default.createElement(s.Box,{display:l.Display.Flex,flexDirection:l.FlexDirection.Row,marginBottom:4,justifyContent:l.JustifyContent.center},a.default.createElement(s.Icon,{className:"eth-sign-modal__warning-icon",name:s.IconName.Danger,color:l.IconColor.errorDefault,size:s.IconSize.Lg}),a.default.createElement(s.ButtonIcon,{className:"eth-sign-modal__close",iconName:s.IconName.Close,size:l.Size.SM,onClick:()=>e(),ariaLabel:y("close")})),a.default.createElement(s.Text,{variant:l.TextVariant.headingMd,textAlign:l.TextAlign.Center,marginBottom:6},y("toggleEthSignModalTitle")),a.default.createElement(s.Text,{variant:l.TextVariant.bodyMd},y("toggleEthSignModalDescription"),a.default.createElement(s.ButtonLink,{href:"https://support.metamask.io/hc/en-us/articles/14764161421467",externalLink:!0},y("learnMoreUpperCase"))),a.default.createElement(s.BannerAlert,{severity:l.Severity.Danger,marginTop:6,marginBottom:6},y("toggleEthSignModalBannerText"),y("toggleEthSignModalBannerBoldText")),r?a.default.createElement(s.FormTextField,{id:"enter-eth-sign-text",label:y("toggleEthSignModalFormLabel"),error:m.length>0&&!T,helpText:m.length>0&&!T&&y("toggleEthSignModalFormError"),onChange:e=>h(e.target.value),value:m,onPaste:e=>e.preventDefault()}):a.default.createElement(s.Box,{flexDirection:l.FlexDirection.Row,alignItems:l.AlignItems.flexStart,gap:2},a.default.createElement(s.Checkbox,{id:"eth-sign-checkbox",className:"eth-sign__checkbox","data-testid":"eth-sign-checkbox",isChecked:t,onChange:()=>{n(!t)},label:y("toggleEthSignModalCheckBox")})),a.default.createElement(s.Box,{display:l.Display.Flex,flexDirection:l.FlexDirection.Row,justifyContent:l.JustifyContent.spaceBetween,gap:4,marginTop:6},a.default.createElement(s.ButtonSecondary,{onClick:()=>e(),size:s.ButtonSecondarySize.Lg,block:!0},y("cancel")),r?a.default.createElement(s.ButtonPrimary,{danger:!0,block:!0,disabled:!T,onClick:()=>{b((0,u.setDisabledRpcMethodPreference)("eth_sign",!g.eth_sign)),e()},size:l.Size.LG},y("enableSnap")):a.default.createElement(s.ButtonPrimary,{block:!0,disabled:!t,size:l.Size.LG,onClick:()=>{i(!0),v({category:p.MetaMetricsEventCategory.Settings,event:p.MetaMetricsEventName.OnboardingWalletAdvancedSettings,properties:{location:"Settings",enable_eth_sign:!0}})}},y("continue"))))};g.propTypes={hideModal:r.default.func};n.default=(0,i.default)(g)}}},{package:"$root$",file:"ui/components/app/modals/eth-sign-modal/eth-sign-modal.js"}],[4681,{"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=i(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=(a=e("prop-types"))&&a.__esModule?a:{default:a};function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(i=function(e){return e?n:t})(e)}function s(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}let l,c=0;const u=e=>{const t=`anim_${++c}${Number(new Date)}`;let n=`@keyframes ${t} {`;return Object.keys(e).forEach((t=>{n+=`${t} {`,Object.keys(e[t]).forEach((a=>{const r=`:${e[t][a]};`;n+=a+r})),n+="}"})),n+="}",(e=>{l||(l=document.createElement("style"),document.getElementsByTagName("head")[0].appendChild(l),l=l.sheet||l.styleSheet),l.insertRule(e,(l.cssRules||l.rules).length)})(n),t},d={show:{animationDuration:"0.3s",animationTimingFunction:"ease-out"},hide:{animationDuration:"0.3s",animationTimingFunction:"ease-out"},showContentAnimation:u({"0%":{opacity:0},"100%":{opacity:1}}),hideContentAnimation:u({"0%":{opacity:1},"100%":{opacity:0}}),showBackdropAnimation:u({"0%":{opacity:0},"100%":{opacity:.9}}),hideBackdropAnimation:u({"0%":{opacity:.9},"100%":{opacity:0}})},p=["transitionend","animationend"];class f extends r.Component{constructor(...e){super(...e),s(this,"content",null),s(this,"state",{willHide:!0,hidden:!0}),s(this,"addTransitionListener",((e,t)=>{if(e){const n=function(a){a&&a.target!==e||(((e,t)=>{0!==p.length&&p.forEach((function(n){!function(e,t,n){e.removeEventListener(t,n,!1)}(e,n,t)}))})(e,n),t())};((e,t)=>{0!==p.length?p.forEach((function(n){!function(e,t,n){e.addEventListener(t,n,!1)}(e,n,t)})):window.setTimeout(t,0)})(e,n)}})),s(this,"handleBackdropClick",(()=>{this.props.closeOnClick&&this.hide()})),s(this,"hasHidden",(()=>this.state.hidden)),s(this,"leave",(()=>{this.setState({hidden:!0}),this.props.onHide(this.state.hideSource)})),s(this,"enter",(()=>{this.props.onShow()})),s(this,"show",(()=>{this.state.hidden&&(this.setState({willHide:!1,hidden:!1}),setTimeout(function(){this.addTransitionListener(this.content,this.enter)}.bind(this),0))})),s(this,"hide",(()=>{this.hasHidden()||this.setState({willHide:!0})})),s(this,"listenKeyboard",(e=>{"function"==typeof this.props.keyboard?this.props.keyboard(e):this.closeOnEsc(e)})),s(this,"closeOnEsc",(e=>{!this.props.keyboard||"Escape"!==e.key&&27!==e.keyCode||this.hide()})),s(this,"UNSAFE_componentDidMount",(()=>{window.addEventListener("keydown",this.listenKeyboard,!0)})),s(this,"UNSAFE_componentWillUnmount",(()=>{window.removeEventListener("keydown",this.listenKeyboard,!0)}))}render(){if(this.state.hidden)return null;const{willHide:e}=this.state,{modalStyle:t,testId:n}=this.props,a={animationName:e?d.hideBackdropAnimation:d.showBackdropAnimation,animationTimingFunction:(e?d.hide:d.show).animationTimingFunction,...this.props.backdropStyle},o={animationDuration:(e?d.hide:d.show).animationDuration,animationName:e?d.hideContentAnimation:d.showContentAnimation,animationTimingFunction:(e?d.hide:d.show).animationTimingFunction,...this.props.contentStyle},i=this.props.backdrop?r.default.createElement("div",{className:"modal__backdrop",style:a,onClick:this.props.closeOnClick?this.handleBackdropClick:null}):undefined;return e&&this.addTransitionListener(this.content,this.leave),r.default.createElement("span",null,r.default.createElement("div",{className:"modal",style:t,"data-testid":n},r.default.createElement("div",{className:"modal__content",ref:e=>this.content=e,tabIndex:"-1",style:o},this.props.children)),i)}}s(f,"propTypes",{backdrop:o.default.bool,backdropStyle:o.default.object,closeOnClick:o.default.bool,contentStyle:o.default.object,keyboard:o.default.bool,modalStyle:o.default.object,onShow:o.default.func,onHide:o.default.func,children:o.default.node,testId:o.default.string}),s(f,"defaultProps",{testId:"",onShow:()=>undefined,onHide:()=>undefined,keyboard:!0,backdrop:!0,closeOnClick:!0,modalStyle:{},backdropStyle:{},contentStyle:{},children:[]});n.default=f}}},{package:"$root$",file:"ui/components/app/modals/fade-modal.js"}],[4682,{"../../../../../shared/constants/metametrics":4505,"../../../../helpers/constants/routes":5361,"../../../../selectors":5987,"../../../../store/actions":5998,"../../../ui/button":5198,"../../../ui/identicon":5247,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=m(e("prop-types")),r=f(e("react")),o=e("react-redux"),i=f(e("../../../../store/actions")),s=m(e("../../../ui/identicon")),l=m(e("../../../ui/button")),c=e("../../../../helpers/constants/routes"),u=e("../../../../../shared/constants/metametrics"),d=e("../../../../selectors");function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(p=function(e){return e?n:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=p(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}function m(e){return e&&e.__esModule?e:{default:e}}function h(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class g extends r.Component{constructor(...e){super(...e),h(this,"state",{})}render(){const{chainId:e,token:t,hideToken:n,hideModal:a,history:o}=this.props,{symbol:i,address:d,image:p}=t;return r.default.createElement("div",{className:"hide-token-confirmation__container"},r.default.createElement("div",{className:"hide-token-confirmation__title"},this.context.t("hideTokenPrompt")),r.default.createElement(s.default,{className:"hide-token-confirmation__identicon",diameter:45,address:d,image:p}),r.default.createElement("div",{className:"hide-token-confirmation__symbol"},i),r.default.createElement("div",{className:"hide-token-confirmation__copy"},this.context.t("readdToken")),r.default.createElement("div",{className:"hide-token-confirmation__buttons"},r.default.createElement(l.default,{type:"secondary",className:"hide-token-confirmation__button","data-testid":"hide-token-confirmation__cancel",onClick:()=>a()},this.context.t("cancel")),r.default.createElement(l.default,{type:"primary",className:"hide-token-confirmation__button","data-testid":"hide-token-confirmation__hide",onClick:()=>{this.context.trackEvent({event:u.MetaMetricsEventName.TokenRemoved,category:u.MetaMetricsEventCategory.Tokens,sensitiveProperties:{chain_id:e,token_contract_address:d,token_symbol:i}}),n(d),o.push(c.DEFAULT_ROUTE)}},this.context.t("hide"))))}}h(g,"contextTypes",{t:a.default.func,trackEvent:a.default.func}),h(g,"propTypes",{hideToken:a.default.func.isRequired,hideModal:a.default.func.isRequired,chainId:a.default.string.isRequired,token:a.default.shape({symbol:a.default.string,address:a.default.string,image:a.default.string}),history:a.default.object});n.default=(0,o.connect)((function(e){return{chainId:(0,d.getCurrentChainId)(e),token:e.appState.modal.modalState.props.token,history:e.appState.modal.modalState.props.history}}),(function(e){return{hideModal:()=>e(i.hideModal()),hideToken:t=>{e(i.ignoreTokens({tokensToIgnore:t})).then((()=>{e(i.hideModal())}))}}}))(g)}}},{package:"$root$",file:"ui/components/app/modals/hide-token-confirmation-modal/hide-token-confirmation-modal.js"}],[4683,{"./hide-token-confirmation-modal":4682},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./hide-token-confirmation-modal"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/modals/hide-token-confirmation-modal/index.js"}],[4684,{"../../../../helpers/constants/design-system":5355,"../../../../helpers/constants/zendesk-url":5368,"../../../../hooks/useI18nContext":5427,"../../../component-library":4955,"../../hold-to-reveal-button/hold-to-reveal-button":4638,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function({isOpen:e,onClose:t,onLongPressed:n,holdToRevealType:c}){const u=(0,i.useI18nContext)(),d="SRP"===c?"holdToRevealSRPTitle":"holdToRevealPrivateKeyTitle",p="SRP"===c?"holdToRevealSRP":"holdToRevealPrivateKey",f="SRP"===c?"holdToRevealContent":"holdToRevealContentPrivateKey",m=`${f}1`,h=`${f}2`;u("holdToRevealContentPrivateKey1"),u("holdToRevealContentPrivateKey2"),u("holdToRevealContent1"),u("holdToRevealContent2");const g=()=>a.default.createElement(s.Box,{display:r.Display.Flex,flexDirection:r.FlexDirection.Column,gap:4,marginTop:4,marginBottom:6},a.default.createElement(s.Text,{variant:r.TextVariant.bodyMd},u(m,[a.default.createElement(s.Text,{key:"hold-to-reveal-2",variant:r.TextVariant.bodyMdBold,as:"span"},u(h))])),a.default.createElement(s.Text,{variant:r.TextVariant.bodyMdBold},u("holdToRevealContent3",[a.default.createElement(s.Text,{key:"hold-to-reveal-4",variant:r.TextVariant.bodyMd,as:"span",display:r.Display.Inline},u("holdToRevealContent4")),a.default.createElement(s.Button,{key:"hold-to-reveal-5",variant:s.ButtonVariant.Link,size:s.ButtonSize.Inherit,href:o.default.NON_CUSTODIAL_WALLET,externalLink:!0},u("holdToRevealContent5"))])));return a.default.createElement(s.Modal,{isOpen:e,onClose:t},a.default.createElement(s.ModalOverlay,null),a.default.createElement(s.ModalContent,null,a.default.createElement(s.ModalHeader,{onClose:t},u(d)),a.default.createElement(s.Container,{paddingLeft:4,paddingRight:4},a.default.createElement(g,null),a.default.createElement(l.default,{buttonText:u(p),onLongPressed:n}))))};var a=c(e("react")),r=e("../../../../helpers/constants/design-system"),o=c(e("../../../../helpers/constants/zendesk-url")),i=e("../../../../hooks/useI18nContext"),s=e("../../../component-library"),l=c(e("../../hold-to-reveal-button/hold-to-reveal-button"));function c(e){return e&&e.__esModule?e:{default:e}}}}},{package:"$root$",file:"ui/components/app/modals/hold-to-reveal-modal/hold-to-reveal-modal.tsx"}],[4685,{"./modal":4688},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"Modal",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./modal"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/modals/index.js"}],[4686,{"./keyring-snap-removal-result-modal":4687},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./keyring-snap-removal-result-modal"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/modals/keyring-snap-removal-modal/hybrid-compute-sdk.ts"}],[4687,{"../../../../helpers/constants/design-system":5355,"../../../../hooks/useI18nContext":5427,"../../../../selectors":5987,"../../../component-library":4955,"../../../component-library/modal-content/deprecated":4963,"../../../component-library/modal-header/deprecated":4972,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=(a=e("react"))&&a.__esModule?a:{default:a},o=e("react-redux"),i=e("../../../../helpers/constants/design-system"),s=e("../../../component-library"),l=e("../../../component-library/modal-content/deprecated"),c=e("../../../component-library/modal-header/deprecated"),u=e("../../../../hooks/useI18nContext"),d=e("../../../../selectors");n.default=({isOpen:e,onClose:t})=>{const n=(0,u.useI18nContext)(),a=(0,o.useSelector)(d.getKeyringSnapRemovalResult);return r.default.createElement(r.default.Fragment,null,r.default.createElement(s.Modal,{isOpen:e,onClose:()=>t()},r.default.createElement(s.ModalOverlay,null),r.default.createElement(l.ModalContent,{modalDialogProps:{display:i.Display.Flex,flexDirection:i.FlexDirection.Column,gap:4}},r.default.createElement(c.ModalHeader,{onClose:t},""),r.default.createElement(s.Box,{display:i.Display.Flex,flexDirection:i.FlexDirection.Column,justifyContent:i.JustifyContent.center,alignItems:i.AlignItems.center},r.default.createElement(s.Icon,{name:"success"===a.result?s.IconName.Confirmation:s.IconName.Danger,color:"success"===a.result?i.IconColor.successDefault:i.IconColor.errorDefault,size:s.IconSize.Xl,marginBottom:4}),r.default.createElement(s.Text,{variant:i.TextVariant.bodyMdBold,textAlign:i.TextAlign.Center},n("keyringSnapRemovalResult1",[a.snapName,"failed"===a.result?n("keyringSnapRemovalResultNotSuccessful"):""]))))))}}}},{package:"$root$",file:"ui/components/app/modals/keyring-snap-removal-modal/keyring-snap-removal-result-modal.tsx"}],[4688,{"../../../../app/scripts/lib/util":120,"../../../../shared/constants/app":4493,"../../../helpers/utils/is-mobile-view":5388,"../../../pages/onboarding-flow/add-network-modal":5790,"../../../store/actions":5998,"./confirm-delete-network":4665,"./confirm-remove-account":4668,"./confirm-reset-account":4671,"./confirm-turn-off-profile-syncing":4673,"./convert-token-to-nft-modal/convert-token-to-nft-modal":4674,"./customize-nonce":4676,"./edit-approval-permission":4679,"./eth-sign-modal/eth-sign-modal":4680,"./fade-modal":4681,"./hide-token-confirmation-modal":4683,"./new-account-modal":4689,"./qr-scanner":4694,"./reject-transactions":4697,"./transaction-already-confirmed":4700,"./transaction-confirmed":4702,"./turn-on-metamask-notifications/turn-on-metamask-notifications":4705,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=I(e("prop-types")),r=k(e("react")),o=e("react-redux"),i=e("../../../../app/scripts/lib/util"),s=e("../../../../shared/constants/app"),l=I(e("../../../helpers/utils/is-mobile-view")),c=k(e("../../../store/actions")),u=I(e("../../../pages/onboarding-flow/add-network-modal")),d=I(e("./hide-token-confirmation-modal")),p=I(e("./qr-scanner")),f=I(e("./confirm-remove-account")),m=I(e("./confirm-reset-account")),h=I(e("./transaction-confirmed")),g=I(e("./confirm-delete-network")),y=I(e("./convert-token-to-nft-modal/convert-token-to-nft-modal")),b=I(e("./customize-nonce")),v=I(e("./edit-approval-permission")),T=I(e("./eth-sign-modal/eth-sign-modal")),E=I(e("./fade-modal")),w=I(e("./new-account-modal")),x=I(e("./reject-transactions")),_=I(e("./transaction-already-confirmed")),O=I(e("./confirm-turn-off-profile-syncing")),S=I(e("./turn-on-metamask-notifications/turn-on-metamask-notifications"));function C(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(C=function(e){return e?n:t})(e)}function k(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=C(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}function I(e){return e&&e.__esModule?e:{default:e}}const N={transform:"translate3d(-50%, 0, 0px)",border:"1px solid var(--color-border-default)",borderRadius:"8px",backgroundColor:"var(--color-background-default)",boxShadow:"var(--shadow-size-sm) var(--color-shadow-default)"},M={...N,width:"344px",top:"15%"},P={...N,width:"309px",top:"12.5%"},A={ONBOARDING_ADD_NETWORK:{contents:r.default.createElement(u.default,null),testId:"add-network-modal",mobileModalStyle:{width:"95%",boxShadow:"var(--shadow-size-xs) var(--color-shadow-default)",borderRadius:"4px",top:"10%",transform:"none",left:"0",right:"0",margin:"0 auto"},laptopModalStyle:{width:"335px",boxShadow:"var(--shadow-size-xs) var(--color-shadow-default)",borderRadius:"4px",top:"10%",transform:"none",left:"0",right:"0",margin:"0 auto"},contentStyle:{borderRadius:"4px"}},NEW_ACCOUNT:{contents:r.default.createElement(w.default,null),mobileModalStyle:{width:"95%",top:"10%",boxShadow:"var(--shadow-size-xs) var(--color-shadow-default)",transform:"none",left:"0",right:"0",margin:"0 auto",borderRadius:"10px"},laptopModalStyle:{width:"375px",top:"10%",boxShadow:"var(--shadow-size-xs) var(--color-shadow-default)",transform:"none",left:"0",right:"0",margin:"0 auto",borderRadius:"10px"},contentStyle:{borderRadius:"10px"}},HIDE_TOKEN_CONFIRMATION:{contents:r.default.createElement(d.default,null),testId:"hide-token-confirmation-modal",mobileModalStyle:{width:"95%",top:(0,i.getEnvironmentType)()===s.ENVIRONMENT_TYPE_POPUP?"52vh":"36.5vh"},laptopModalStyle:{width:(0,i.getEnvironmentType)()===s.ENVIRONMENT_TYPE_POPUP?"357px":"449px",top:"calc(33% + 45px)",paddingLeft:(0,i.getEnvironmentType)()===s.ENVIRONMENT_TYPE_POPUP?"16px":null,paddingRight:(0,i.getEnvironmentType)()===s.ENVIRONMENT_TYPE_POPUP?"16px":null}},CONFIRM_RESET_ACCOUNT:{contents:r.default.createElement(m.default,null),mobileModalStyle:{...P},laptopModalStyle:{...M},contentStyle:{borderRadius:"8px"}},ETH_SIGN:{contents:r.default.createElement(T.default,null),mobileModalStyle:{...P},laptopModalStyle:{...M},contentStyle:{borderRadius:"8px"}},CONFIRM_REMOVE_ACCOUNT:{contents:r.default.createElement(f.default,null),mobileModalStyle:{...P},laptopModalStyle:{...M},contentStyle:{borderRadius:"8px"}},CONVERT_TOKEN_TO_NFT:{contents:r.default.createElement(y.default,null),mobileModalStyle:{...P},laptopModalStyle:{...M},contentStyle:{borderRadius:"8px"}},CONFIRM_DELETE_NETWORK:{contents:r.default.createElement(g.default,null),mobileModalStyle:{...P},laptopModalStyle:{...M},contentStyle:{borderRadius:"8px"}},EDIT_APPROVAL_PERMISSION:{contents:r.default.createElement(v.default,null),mobileModalStyle:{width:"95vw",height:"100vh",top:"50px",transform:"none",left:"0",right:"0",margin:"0 auto"},laptopModalStyle:{width:"auto",height:"0px",top:"80px",left:"0px",transform:"none",margin:"0 auto",position:"relative"},contentStyle:{borderRadius:"8px"}},TRANSACTION_CONFIRMED:{disableBackdropClick:!0,contents:r.default.createElement(h.default,null),mobileModalStyle:{...P},laptopModalStyle:{...M},contentStyle:{borderRadius:"8px"}},TRANSACTION_ALREADY_CONFIRMED:{disableBackdropClick:!0,contents:r.default.createElement(_.default,null),mobileModalStyle:{...P},laptopModalStyle:{...M}},QR_SCANNER:{contents:r.default.createElement(p.default,null),testId:"qr-scanner-modal",mobileModalStyle:{...P},laptopModalStyle:{...M},contentStyle:{borderRadius:"8px"}},REJECT_TRANSACTIONS:{contents:r.default.createElement(x.default,null),mobileModalStyle:{...P},laptopModalStyle:{...M},contentStyle:{borderRadius:"8px"}},CUSTOMIZE_NONCE:{contents:r.default.createElement(b.default,null),mobileModalStyle:{...P},laptopModalStyle:{...M},contentStyle:{borderRadius:"8px"}},CONFIRM_TURN_OFF_PROFILE_SYNCING:{contents:r.default.createElement(O.default,null),mobileModalStyle:{...P},laptopModalStyle:{...M},contentStyle:{borderRadius:"8px"}},TURN_ON_METAMASK_NOTIFICATIONS:{contents:r.default.createElement(S.default,null),mobileModalStyle:{...P},laptopModalStyle:{...M},contentStyle:{borderRadius:"8px"}},DEFAULT:{contents:[],mobileModalStyle:{},laptopModalStyle:{}}},R={backgroundColor:"var(--color-overlay-default)"};class j extends r.Component{hide(){this.modalRef.hide()}show(){this.modalRef.show()}UNSAFE_componentWillReceiveProps(e,t){e.active?this.show():this.props.active&&this.hide()}render(){const e=A[this.props.modalState.name||"DEFAULT"],{contents:t,disableBackdropClick:n=!1,testId:a}=e,o=e[(0,l.default)()?"mobileModalStyle":"laptopModalStyle"],i=e.contentStyle||{};return r.default.createElement(E.default,{keyboard:!1,onHide:()=>{e.onHide&&e.onHide({hideWarning:this.props.hideWarning}),this.props.hideModal(e.customOnHideOpts)},ref:e=>{this.modalRef=e},modalStyle:o,contentStyle:i,backdropStyle:R,closeOnClick:!n,testId:a},t)}}var D,B,F;D=j,B="propTypes",F={active:a.default.bool.isRequired,hideModal:a.default.func.isRequired,hideWarning:a.default.func.isRequired,modalState:a.default.object.isRequired},(B=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(B))in D?Object.defineProperty(D,B,{value:F,enumerable:!0,configurable:!0,writable:!0}):D[B]=F;n.default=(0,o.connect)((function(e){return{active:e.appState.modal.open,modalState:e.appState.modal.modalState}}),(function(e){return{hideModal:t=>{e(c.hideModal()),t&&t.action&&e(t.action(...t.args))},hideWarning:()=>{e(c.hideWarning())}}}))(j)}}},{package:"$root$",file:"ui/components/app/modals/modal.js"}],[4689,{"./new-account-modal.container":4691},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./new-account-modal.container"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/modals/new-account-modal/index.js"}],[4690,{"../../../component-library":4955,"../../../ui/button/button.component":5197,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=l(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=s(e("prop-types")),o=s(e("../../../ui/button/button.component")),i=e("../../../component-library");function s(e){return e&&e.__esModule?e:{default:e}}function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(l=function(e){return e?n:t})(e)}function c(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class u extends a.Component{constructor(...e){super(...e),c(this,"state",{alias:this.context.t("newAccountNumberName",[this.props.newAccountNumber])}),c(this,"onChange",(e=>{this.setState({alias:e.target.value})})),c(this,"onSubmit",(()=>{this.props.onSave(this.state.alias).then(this.props.hideModal)})),c(this,"onKeyPress",(e=>{"Enter"===e.key&&this.state.alias&&this.onSubmit()}))}render(){const{t:e}=this.context;return a.default.createElement("div",{className:"new-account-modal"},a.default.createElement("div",{className:"new-account-modal__content"},a.default.createElement("div",{className:"new-account-modal__content__header"},e("newAccount"),a.default.createElement(i.ButtonIcon,{className:"new-account-modal__content__header-close",ariaLabel:e("close"),onClick:this.props.hideModal,iconName:i.IconName.Close})),a.default.createElement("div",{className:"new-account-modal__input-label"},e("accountName")),a.default.createElement("input",{type:"text",className:"new-account-modal__input",onChange:this.onChange,onKeyPress:this.onKeyPress,value:this.state.alias,autoFocus:!0})),a.default.createElement("div",{className:"new-account-modal__footer"},a.default.createElement(o.default,{type:"secondary",onClick:this.props.hideModal},e("cancel")),a.default.createElement(o.default,{type:"primary",onClick:this.onSubmit,disabled:!this.state.alias},e("save"))))}}n.default=u,c(u,"contextTypes",{t:r.default.func}),c(u,"propTypes",{hideModal:r.default.func.isRequired,newAccountNumber:r.default.number.isRequired,onSave:r.default.func.isRequired})}}},{package:"$root$",file:"ui/components/app/modals/new-account-modal/new-account-modal.component.js"}],[4691,{"../../../../store/actions":5998,"./new-account-modal.component":4690,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=e("react-redux"),o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=s(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("../../../../store/actions")),i=(a=e("./new-account-modal.component"))&&a.__esModule?a:{default:a};function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(s=function(e){return e?n:t})(e)}n.default=(0,r.connect)((function(e){return{...e.appState.modal.modalState.props||{}}}),(function(e){return{hideModal:()=>e(o.hideModal()),createAccount:t=>e(o.addNewAccount()).then((n=>(t&&e(o.setAccountLabel(n,t)),n)))}}),(function(e,t){const{onCreateNewAccount:n}=e,{createAccount:a}=t;return{...e,...t,onSave:e=>a(e).then((e=>n(e)))}}))(i.default)}}},{package:"$root$",file:"ui/components/app/modals/new-account-modal/new-account-modal.container.js"}],[4692,{"./nickname-popovers.component":4693},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./nickname-popovers.component"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/modals/nickname-popovers/index.js"}],[4693,{"../../../../selectors":5987,"../../../../store/actions":5998,"../../../ui/nickname-popover":5272,"../../../ui/update-nickname-popover/update-nickname-popover":5318,"@metamask/etherscan-link":1369,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=p(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=e("react-redux"),o=d(e("prop-types")),i=e("@metamask/etherscan-link"),s=e("../../../../store/actions"),l=e("../../../../selectors"),c=d(e("../../../ui/nickname-popover")),u=d(e("../../../ui/update-nickname-popover/update-nickname-popover"));function d(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(p=function(e){return e?n:t})(e)}const f="SHOW_NICKNAME_POPOVER",m="ADD_NICKNAME_POPOVER",h=({address:e,onClose:t})=>{const n=(0,r.useDispatch)(),[o,d]=(0,a.useState)(f),p=(0,r.useSelector)(l.getAddressBook),h=(0,r.useSelector)(l.getCurrentChainId),g=p.find((t=>t.address===e)),y=null==g?void 0:g.name,b=(0,r.useSelector)(l.getRpcPrefsForCurrentProvider),v=(0,i.getAccountLink)(e,h,{blockExplorerUrl:(null==b?void 0:b.blockExplorerUrl)??null},null);return o===m?a.default.createElement(u.default,{address:e,nickname:y||null,memo:(null==g?void 0:g.memo)||null,onClose:()=>d(f),onAdd:(e,t,a)=>n((0,s.addToAddressBook)(e,t,a))}):a.default.createElement(c.default,{address:e,nickname:y||null,onClose:t,onAdd:()=>d(m),explorerLink:v})};h.propTypes={address:o.default.string,onClose:o.default.func};n.default=h}}},{package:"$root$",file:"ui/components/app/modals/nickname-popovers/nickname-popovers.component.js"}],[4694,{"./qr-scanner.container":4696},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=(a=e("./qr-scanner.container"))&&a.__esModule?a:{default:a};n.default=r.default}}},{package:"$root$",file:"ui/components/app/modals/qr-scanner/index.js"}],[4695,{"../../../../../app/scripts/lib/util":120,"../../../../../shared/constants/app":4493,"../../../../../shared/constants/time":4518,"../../../../helpers/utils/util":5399,"../../../../helpers/utils/webcam-utils":5400,"../../../../hooks/useI18nContext":5427,"../../../../hooks/usePrevious":5436,"../../../ui/page-container/page-container-footer/page-container-footer.component":5277,"../../../ui/spinner":5294,"@zxing/browser":2651,loglevel:3842,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=T;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=y(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=g(e("prop-types")),o=g(e("loglevel")),i=e("@zxing/browser"),s=e("../../../../hooks/usePrevious"),l=e("../../../../hooks/useI18nContext"),c=e("../../../../../app/scripts/lib/util"),u=e("../../../../helpers/utils/util"),d=g(e("../../../../helpers/utils/webcam-utils")),p=g(e("../../../ui/page-container/page-container-footer/page-container-footer.component")),f=g(e("../../../ui/spinner")),m=e("../../../../../shared/constants/app"),h=e("../../../../../shared/constants/time");function g(e){return e&&e.__esModule?e:{default:e}}function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(y=function(e){return e?n:t})(e)}const b={ACCESSING_CAMERA:"ACCESSING_CAMERA",NEED_TO_ALLOW_ACCESS:"NEED_TO_ALLOW_ACCESS",READY:"READY"},v=e=>{let t="unknown",n={};return e.split("ethereum:").length>1?(t="address",n={address:e.split("ethereum:")[1]}):"0x"===e.substring(0,2).toLowerCase()&&(t="address",n={address:e}),{type:t,values:n}};function T({hideModal:e,qrCodeDetected:t}){const n=(0,l.useI18nContext)(),[r,g]=(0,a.useState)(b.ACCESSING_CAMERA),y=(0,s.usePrevious)(r),[T,E]=(0,a.useState)(null),[w,x]=(0,a.useState)(!1),[_,O]=(0,a.useState)(null),[S,C]=(0,a.useState)(null),k=(0,a.useCallback)((async()=>{try{const{permissions:e}=await d.default.checkStatus();if(e){if(await new Promise((e=>setTimeout(e,2*h.SECOND))),!w)return;g(b.READY)}else w&&C(setTimeout(this.checkPermissions,h.SECOND))}catch(e){w&&E({error:e})}}),[w]),I=(0,a.useCallback)((()=>{_&&(_.constructor.cleanVideoSource(),_.constructor.releaseAllStreams(),O(null))}),[_]),N=(0,a.useCallback)((()=>{_&&I(e),e()}),[_,e,I]),M=(0,a.useCallback)((async()=>{_||O(new i.BrowserQRCodeReader)}),[_]);(0,a.useEffect)((()=>{(async()=>{if(_)try{await k(),await _.constructor.listVideoInputDevices();const e=await _.decodeOnceFromVideoDevice(undefined,"video"),a=v(e.text);w&&("unknown"===a.type?E(new Error(n("unknownQrCode"))):(t(a),N()))}catch(e){if(w)return;"NotAllowedError"===e.name?(o.default.info(`Permission denied: '${e}'`),g(b.NEED_TO_ALLOW_ACCESS)):E(e)}})()}),[k,_,w,t,N,n]);const P=async()=>{try{const{environmentReady:e}=await d.default.checkStatus();if(!e&&(0,c.getEnvironmentType)()!==m.ENVIRONMENT_TYPE_FULLSCREEN){const e=(0,u.getURL)(window.location.href),t=null==e?void 0:e.hash,n=t?t.substring(1):null;global.platform.openExtensionInBrowser(n)}}catch(e){w&&E({error:e})}await M()};(0,a.useEffect)((()=>{x(!0),(async()=>{await P()})()}),[]),(0,a.useEffect)((()=>{(async()=>{y!==r&&(r===b.READY?await M():r===b.NEED_TO_ALLOW_ACCESS&&await k())})()}),[y,r,M,k]);const A=async()=>{clearTimeout(S),_&&I(),g(b.ACCESSING_CAMERA),E(null),await P()};return a.default.createElement("div",{className:"qr-scanner"},a.default.createElement("div",{className:"qr-scanner__close",onClick:N}),T?(()=>{let e,t;return"NO_WEBCAM_FOUND"===T.type?(e=n("noWebcamFoundTitle"),t=n("noWebcamFound")):T.message===n("unknownQrCode")?t=n("unknownQrCode"):(e=n("generalCameraErrorTitle"),t=n("generalCameraError")),a.default.createElement(a.default.Fragment,null,a.default.createElement("div",{className:"qr-scanner__image"},a.default.createElement("img",{src:"images/webcam.svg",width:"70",height:"70",alt:""})),e&&a.default.createElement("div",{className:"qr-scanner__title"},e),a.default.createElement("div",{className:"qr-scanner__error"},t),a.default.createElement(p.default,{onCancel:N,onSubmit:A,cancelText:n("cancel"),submitText:n("tryAgain")}))})():a.default.createElement(a.default.Fragment,null,a.default.createElement("div",{className:"qr-scanner__title"},`${n("scanQrCode")}`),a.default.createElement("div",{className:"qr-scanner__content"},a.default.createElement("div",{className:"qr-scanner__content__video-wrapper"},a.default.createElement("video",{id:"video",style:{display:r===b.READY?"block":"none"}}),r!==b.READY&&a.default.createElement(f.default,{color:"var(--color-warning-default)"}))),a.default.createElement("div",{className:"qr-scanner__status"},(e=>{let t;switch(e){case b.ACCESSING_CAMERA:t=n("accessingYourCamera");break;case b.READY:t=n("scanInstructions");break;case b.NEED_TO_ALLOW_ACCESS:t=n("youNeedToAllowCameraAccess");break;default:t=n("accessingYourCamera")}return t})(r))))}T.propTypes={hideModal:r.default.func.isRequired,qrCodeDetected:r.default.func.isRequired}}}},{package:"$root$",file:"ui/components/app/modals/qr-scanner/qr-scanner.component.js"}],[4696,{"../../../../store/actions":5998,"./qr-scanner.component":4695,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=e("react-redux"),o=e("../../../../store/actions"),i=(a=e("./qr-scanner.component"))&&a.__esModule?a:{default:a};n.default=(0,r.connect)(null,(e=>({hideModal:()=>e((0,o.hideModal)()),qrCodeDetected:t=>e((0,o.qrCodeDetected)(t))})))(i.default)}}},{package:"$root$",file:"ui/components/app/modals/qr-scanner/qr-scanner.container.js"}],[4697,{"./reject-transactions.container":4699},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./reject-transactions.container"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/modals/reject-transactions/index.js"}],[4698,{"../../modal":4659,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=s(e("prop-types")),r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=i(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=s(e("../../modal"));function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(i=function(e){return e?n:t})(e)}function s(e){return e&&e.__esModule?e:{default:e}}function l(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class c extends r.PureComponent{constructor(...e){super(...e),l(this,"onSubmit",(async()=>{const{onSubmit:e,hideModal:t}=this.props;await e(),t()}))}render(){const{t:e}=this.context,{hideModal:t,unapprovedTxCount:n,isRequestType:a}=this.props;return r.default.createElement(o.default,{headerText:e(a?"rejectRequestsN":"rejectTxsN",[n]),onClose:t,onSubmit:this.onSubmit,onCancel:t,submitText:e("rejectAll"),cancelText:e("cancel")},r.default.createElement("div",null,r.default.createElement("div",{className:"reject-transactions__description"},e(a?"rejectRequestsDescription":"rejectTxsDescription",[n]))))}}n.default=c,l(c,"contextTypes",{t:a.default.func.isRequired}),l(c,"propTypes",{onSubmit:a.default.func.isRequired,hideModal:a.default.func.isRequired,unapprovedTxCount:a.default.number.isRequired,isRequestType:a.default.bool})}}},{package:"$root$",file:"ui/components/app/modals/reject-transactions/reject-transactions.component.js"}],[4699,{"../../../../helpers/higher-order-components/with-modal-props":5376,"./reject-transactions.component":4698,"react-redux":4199,redux:4261},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=e("react-redux"),r=e("redux"),o=s(e("../../../../helpers/higher-order-components/with-modal-props")),i=s(e("./reject-transactions.component"));function s(e){return e&&e.__esModule?e:{default:e}}n.default=(0,r.compose)(o.default,(0,a.connect)(((e,t)=>{const{unapprovedTxCount:n}=t;return{unapprovedTxCount:n}})))(i.default)}}},{package:"$root$",file:"ui/components/app/modals/reject-transactions/reject-transactions.container.js"}],[4700,{"./transaction-already-confirmed":4701},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./transaction-already-confirmed"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/modals/transaction-already-confirmed/hybrid-compute-sdk.ts"}],[4701,{"../../../../contexts/i18n":5324,"../../../../helpers/constants/design-system":5355,"../../../../hooks/useModalProps":5430,"../../../../selectors":5987,"../../../component-library":4955,"@metamask/etherscan-link":1369,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(){const{hideModal:e,props:{originalTransactionId:t}}=(0,s.useModalProps)(),n=(0,a.useContext)(u.I18nContext),d=(0,r.useDispatch)(),p=(0,r.useSelector)((e=>(0,i.getTransaction)(e,t))),f=(0,r.useSelector)(i.getRpcPrefsForCurrentProvider);return a.default.createElement(l.Modal,{isOpen:!0,onClose:e},a.default.createElement(l.ModalOverlay,null),a.default.createElement(l.ModalContent,null,a.default.createElement(l.ModalHeader,{onClose:e},n("yourTransactionConfirmed")),a.default.createElement(l.ModalBody,null,a.default.createElement(l.Text,null,n("yourTransactionJustConfirmed"))),a.default.createElement(l.ModalFooter,{onSubmit:e,onCancel:()=>{const t=(0,o.getBlockExplorerLink)(p,f);global.platform.openTab({url:t}),d(e())},submitButtonProps:{children:n("gotIt")},cancelButtonProps:{children:n("viewOnBlockExplorer")},containerProps:{flexDirection:c.FlexDirection.Column,alignItems:c.AlignItems.stretch}})))};var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=d(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=e("react-redux"),o=e("@metamask/etherscan-link"),i=e("../../../../selectors"),s=e("../../../../hooks/useModalProps"),l=e("../../../component-library"),c=e("../../../../helpers/constants/design-system"),u=e("../../../../contexts/i18n");function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(d=function(e){return e?n:t})(e)}}}},{package:"$root$",file:"ui/components/app/modals/transaction-already-confirmed/transaction-already-confirmed.tsx"}],[4702,{"./transaction-confirmed.container":4704},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./transaction-confirmed.container"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/modals/transaction-confirmed/index.js"}],[4703,{"../../../../helpers/constants/design-system":5355,"../../../component-library":4955,"../../modal":4659,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=l(e("prop-types")),o=l(e("../../modal")),i=e("../../../component-library"),s=e("../../../../helpers/constants/design-system");function l(e){return e&&e.__esModule?e:{default:e}}function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}function u(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class d extends a.PureComponent{constructor(...e){super(...e),u(this,"handleSubmit",(()=>{const{hideModal:e,onSubmit:t}=this.props;e(),t&&"function"==typeof t&&t()}))}render(){const{t:e}=this.context;return a.default.createElement(o.default,{onSubmit:this.handleSubmit,submitText:e("ok")},a.default.createElement("div",{className:"transaction-confirmed__content"},a.default.createElement(i.Icon,{name:i.IconName.Check,color:s.IconColor.successDefault,size:i.IconSize.Xl}),a.default.createElement("div",{className:"transaction-confirmed__title"},`${e("confirmed")}!`),a.default.createElement("div",{className:"transaction-confirmed__description"},e("initialTransactionConfirmed"))))}}n.default=d,u(d,"contextTypes",{t:r.default.func}),u(d,"propTypes",{onSubmit:r.default.func,hideModal:r.default.func})}}},{package:"$root$",file:"ui/components/app/modals/transaction-confirmed/transaction-confirmed.component.js"}],[4704,{"../../../../helpers/higher-order-components/with-modal-props":5376,"./transaction-confirmed.component":4703},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=o(e("../../../../helpers/higher-order-components/with-modal-props")),r=o(e("./transaction-confirmed.component"));function o(e){return e&&e.__esModule?e:{default:e}}n.default=(0,a.default)(r.default)}}},{package:"$root$",file:"ui/components/app/modals/transaction-confirmed/transaction-confirmed.container.js"}],[4705,{"../../../../../shared/constants/metametrics":4505,"../../../../contexts/i18n":5324,"../../../../contexts/metamask-notifications/metamask-notifications":5326,"../../../../contexts/metametrics":5327,"../../../../helpers/constants/design-system":5355,"../../../../helpers/constants/routes":5361,"../../../../hooks/metamask-notifications/useNotifications":5406,"../../../../hooks/useModalProps":5430,"../../../../selectors/metamask-notifications/metamask-notifications":5989,"../../../../selectors/metamask-notifications/profile-syncing":5990,"../../../component-library":4955,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(){const{hideModal:e}=(0,s.useModalProps)(),t=(0,o.useHistory)(),n=(0,a.useContext)(i.I18nContext),y=(0,a.useContext)(c.MetaMetricsContext),{listNotifications:b}=(0,l.useMetamaskNotificationsContext)(),v=(0,r.useSelector)(d.selectIsMetamaskNotificationsEnabled),T=(0,r.useSelector)(d.getIsUpdatingMetamaskNotifications),E=(0,r.useSelector)(p.selectIsProfileSyncingEnabled),[w,x]=(0,a.useState)(T),{createNotifications:_,error:O}=(0,f.useCreateNotifications)(),S=()=>{e(),y({category:u.MetaMetricsEventCategory.EnableNotifications,event:u.MetaMetricsEventName.DismissEnablingNotificationsFlow,properties:{isProfileSyncingEnabled:E}})};(0,a.useEffect)((()=>{v&&!O&&(t.push(m.NOTIFICATIONS_ROUTE),e(),b())}),[v,O]);const C=a.default.createElement(h.Text,{as:"a",href:"https://support.metamask.io/privacy-and-security/profile-privacy",target:"_blank",rel:"noopener noreferrer",key:"privacy-link",color:g.TextColor.infoDefault},n("turnOnMetamaskNotificationsMessagePrivacyLink")),k=a.default.createElement(h.Text,{as:"span",fontWeight:g.FontWeight.Bold,key:"strong-text"},n("turnOnMetamaskNotificationsMessagePrivacyBold"));return a.default.createElement(h.Modal,{isOpen:!0,onClose:()=>S()},a.default.createElement(h.ModalOverlay,null),a.default.createElement(h.ModalContent,null,a.default.createElement(h.ModalHeader,{onClose:()=>S()},n("turnOnMetamaskNotifications")),a.default.createElement(h.ModalBody,null,a.default.createElement(h.Box,{as:"img",src:"./images/turn-on-metamask-notifications.png",width:g.BlockSize.Full,borderRadius:g.BorderRadius.MD,marginBottom:4}),a.default.createElement(h.Text,{as:"p"},n("turnOnMetamaskNotificationsMessageFirst")),a.default.createElement(h.Text,{as:"p",paddingTop:4},n("turnOnMetamaskNotificationsMessageSecond",[C])),a.default.createElement(h.Text,{as:"p",paddingTop:4},n("turnOnMetamaskNotificationsMessageThird",[k]))),a.default.createElement(h.ModalFooter,{paddingTop:4,onSubmit:()=>(async()=>{x(!0),await _(),y({category:u.MetaMetricsEventCategory.EnableNotifications,event:u.MetaMetricsEventName.EnablingNotifications,properties:{isProfileSyncingEnabled:E}})})(),containerProps:{flexDirection:g.FlexDirection.Column,alignItems:g.AlignItems.stretch},submitButtonProps:{children:n("turnOnMetamaskNotificationsButton"),loading:w,disabled:w,"data-testid":"turn-on-notifications-button"}}),O&&a.default.createElement(h.Box,{paddingLeft:4,paddingRight:4},a.default.createElement(h.Text,{as:"p",color:g.TextColor.errorDefault,paddingTop:4},n("turnOnMetamaskNotificationsError")))))};var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=y(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=e("react-redux"),o=e("react-router-dom"),i=e("../../../../contexts/i18n"),s=e("../../../../hooks/useModalProps"),l=e("../../../../contexts/metamask-notifications/metamask-notifications"),c=e("../../../../contexts/metametrics"),u=e("../../../../../shared/constants/metametrics"),d=e("../../../../selectors/metamask-notifications/metamask-notifications"),p=e("../../../../selectors/metamask-notifications/profile-syncing"),f=e("../../../../hooks/metamask-notifications/useNotifications"),m=e("../../../../helpers/constants/routes"),h=e("../../../component-library"),g=e("../../../../helpers/constants/design-system");function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(y=function(e){return e?n:t})(e)}}}},{package:"$root$",file:"ui/components/app/modals/turn-on-metamask-notifications/turn-on-metamask-notifications.tsx"}],[4706,{"./multiple-notifications.component":4707},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./multiple-notifications.component"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/multiple-notifications/index.js"}],[4707,{classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=s(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=i(e("classnames")),o=i(e("prop-types"));function i(e){return e&&e.__esModule?e:{default:e}}function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(s=function(e){return e?n:t})(e)}function l(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class c extends a.PureComponent{constructor(...e){super(...e),l(this,"state",{showAll:!1})}render(){const{showAll:e}=this.state,{children:t,classNames:n}=this.props,o=t.filter(Boolean);return 0===o.length?null:a.default.createElement("div",{className:(0,r.default)(...n,{"home-notification-wrapper--show-all":e,"home-notification-wrapper--show-first":!e,"home-notification-wrapper--multichain":Boolean("")})},o,a.default.createElement("div",{className:"home-notification-wrapper__i-container",onClick:()=>this.setState({showAll:!e})},o.length>1?a.default.createElement("i",{className:(0,r.default)("fa fa-sm fa-sort-amount",{flipped:!e})}):null))}}n.default=c,l(c,"defaultProps",{children:[],classNames:[]}),l(c,"propTypes",{children:o.default.array,classNames:o.default.array})}}},{package:"$root$",file:"ui/components/app/multiple-notifications/multiple-notifications.component.js"}],[4708,{"./name":4711},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./name"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/name/hybrid-compute-sdk.ts"}],[4709,{"../../../../../shared/constants/metametrics":4505,"../../../../contexts/metametrics":5327,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.usePetnamesMetrics=function({initialSources:e,name:t,proposedNameOptions:n,savedName:i,savedSourceId:s,selectedSourceId:l,type:c}){const u=(0,a.useContext)(r.MetaMetricsContext),d=(0,a.useCallback)(((e,t={})=>{const a=[...new Set(n.map((e=>e.sourceId)))],r={petname_category:c,suggested_names_sources:a,...t};u({event:e,category:o.MetaMetricsEventCategory.Petnames,properties:r})}),[u,c,n]),p=(0,a.useCallback)((()=>{const e=l??null,n=(null==i?void 0:i.length)&&!(null!=t&&t.length),a=(null==i?void 0:i.length)&&(null==t?void 0:t.length)&&t!==i,r=!(null!=i&&i.length)&&(null==t?void 0:t.length);let c=null,u={};n&&(c=o.MetaMetricsEventName.PetnameDeleted,u={petname_previous_source:s}),a&&(c=o.MetaMetricsEventName.PetnameUpdated,u={petname_previous_source:s,petname_source:e}),r&&(c=o.MetaMetricsEventName.PetnameCreated,u={petname_source:e}),c&&d(c,u)}),[d,t,l,i,s]);return{trackPetnamesOpenEvent:(0,a.useCallback)((()=>{d(o.MetaMetricsEventName.PetnameModalOpened,{has_petname:Boolean(null==i?void 0:i.length),suggested_names_sources:e})}),[d,i,e]),trackPetnamesSaveEvent:p}};var a=e("react"),r=e("../../../../contexts/metametrics"),o=e("../../../../../shared/constants/metametrics")}}},{package:"$root$",file:"ui/components/app/name/name-details/metrics.ts"}],[4710,{"../../../../helpers/constants/design-system":5355,"../../../../hooks/useCopyToClipboard":5417,"../../../../hooks/useDisplayName":5421,"../../../../hooks/useI18nContext":5427,"../../../../hooks/useName":5431,"../../../../selectors":5987,"../../../../store/actions":5998,"../../../component-library":4955,"../../../ui/form-combo-field/form-combo-field":5224,"../name":4711,"./metrics":4709,"@metamask/name-controller":1529,"ethereumjs-util":3288,lodash:3836,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function({onClose:e,type:t,value:n}){const v=(0,o.useSelector)(p.getCurrentChainId),{name:T,sourceId:w}=(0,h.useName)(n,t),{name:_,hasPetname:O}=(0,g.useDisplayName)(n,t),S=(0,o.useSelector)(p.getNameSources,i.isEqual),[C,k]=(0,a.useState)(""),[I,N]=(0,a.useState)(!1),[M,P]=(0,a.useState)(),[A,R]=(0,a.useState)(),j=(0,o.useDispatch)(),D=(0,y.useI18nContext)(),B=!O&&Boolean(_),F=function(e,t){if(t===r.NameType.ETHEREUM_ADDRESS)return(0,s.toChecksumAddress)(e);return e}(n,t),{proposedNames:L,initialSources:W}=function(e,t,n){const r=(0,o.useDispatch)(),{proposedNames:i}=(0,h.useName)(e,t),s=(0,a.useRef)(),[l,c]=(0,a.useState)();return(0,a.useEffect)((()=>{const a=()=>{s.current&&clearInterval(s.current)},o=async()=>{const a=await r((0,f.updateProposedNames)({value:e,type:t,onlyUpdateAfterDelay:!0,variation:n}));l||c(function(e,t){const n=Object.keys(e).filter((t=>{var n;return null===(n=e[t].proposedNames)||void 0===n?void 0:n.length})),a=Object.keys(t).filter((n=>{var a,r;return!(null!==(a=e[n])&&void 0!==a&&a.proposedNames)&&(null===(r=t[n].proposedNames)||void 0===r?void 0:r.length)}));return[...n,...a].sort()}((null==a?void 0:a.results)??{},i))};return a(),o(),s.current=setInterval(o,E),a}),[e,t,n,r,l,c]),{proposedNames:i,initialSources:l}}(n,t,v),[$,U]=(0,m.useCopyToClipboard)();(0,a.useEffect)((()=>{k(T??""),P(w??undefined),R(w?T??undefined:undefined)}),[T,w,k,P]);const V=(0,a.useMemo)((()=>function(e,t,n){const a=Object.keys(e),r=a.filter((t=>{var n;return null===(n=e[t])||void 0===n||null===(n=n.proposedNames)||void 0===n?void 0:n.length})).map((a=>{var r;return((null===(r=e[a])||void 0===r?void 0:r.proposedNames)??[]).map((e=>({value:e,primaryLabel:t("nameModalMaybeProposedName",[e]),secondaryLabel:t("nameProviderProposedBy",[x(a,t,n)]),sourceId:a})))})).flat();return r.sort(((e,t)=>e.secondaryLabel.toLowerCase().localeCompare(t.secondaryLabel.toLowerCase())))}(L,D,S)),[L,S]),{trackPetnamesOpenEvent:H,trackPetnamesSaveEvent:z}=(0,b.usePetnamesMetrics)({initialSources:W,name:C,proposedNameOptions:V,savedName:T,savedSourceId:w,selectedSourceId:M,type:t});(0,a.useEffect)((()=>{W&&!I&&(H(),N(!0))}),[W,I,H]);const q=(0,a.useCallback)((async()=>{z(),await j((0,f.setName)({value:n,type:t,name:null!=C&&C.length?C:null,sourceId:M,variation:v})),e()}),[C,M,e,z,v]),Y=(0,a.useCallback)((()=>{e()}),[e]),G=(0,a.useCallback)((e=>{k(e),e!==A&&(P(undefined),R(undefined))}),[k,M,P,R]),Q=(0,a.useCallback)((e=>{P(e.sourceId),R(e.value)}),[P,R]),K=(0,a.useCallback)((()=>{U(F)}),[U,F]),[J,X]=O?[D("nameModalTitleSaved"),D("nameInstructionsSaved")]:B?[D("nameModalTitleRecognized"),D("nameInstructionsRecognized")]:[D("nameModalTitleNew"),D("nameInstructionsNew")];return a.default.createElement(l.Box,null,a.default.createElement(l.Modal,{isOpen:!0,onClose:Y},a.default.createElement(l.ModalOverlay,null),a.default.createElement(l.ModalContent,null,a.default.createElement(l.ModalHeader,{onClose:Y},J),a.default.createElement(l.ModalBody,{className:"name-details__modal-body"},a.default.createElement("div",{style:{textAlign:"center",marginBottom:16,marginTop:8}},a.default.createElement(u.default,{value:n,type:r.NameType.ETHEREUM_ADDRESS,disableEdit:!0,internal:!0})),a.default.createElement(l.Text,{marginBottom:4,justifyContent:c.JustifyContent.spaceBetween},X),a.default.createElement(l.FormTextField,{id:"address",className:"name-details__address",label:D("nameAddressLabel"),value:F,marginBottom:4,disabled:!0,endAccessory:a.default.createElement(l.ButtonIcon,{display:c.Display.Flex,iconName:$?l.IconName.CopySuccess:l.IconName.Copy,size:l.ButtonIconSize.Sm,onClick:K,color:c.IconColor.iconMuted,ariaLabel:D("copyAddress")})}),a.default.createElement(l.Label,{flexDirection:c.FlexDirection.Column,alignItems:c.AlignItems.flexStart,marginBottom:2,className:"name-details__display-name"},D("nameLabel"),a.default.createElement(d.default,{hideDropdownIfNoOptions:!0,value:C,options:V,placeholder:D("nameSetPlaceholder"),onChange:G,onOptionClick:Q}))),a.default.createElement(l.ModalFooter,null,a.default.createElement(l.Button,{variant:l.ButtonVariant.Primary,startIconName:l.IconName.Save,width:c.BlockSize.Full,onClick:q,size:l.ButtonSize.Lg},D("save"))))))};var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=T(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=e("@metamask/name-controller"),o=e("react-redux"),i=e("lodash"),s=e("ethereumjs-util"),l=e("../../../component-library"),c=e("../../../../helpers/constants/design-system"),u=v(e("../name")),d=v(e("../../../ui/form-combo-field/form-combo-field")),p=e("../../../../selectors"),f=e("../../../../store/actions"),m=e("../../../../hooks/useCopyToClipboard"),h=e("../../../../hooks/useName"),g=e("../../../../hooks/useDisplayName"),y=e("../../../../hooks/useI18nContext"),b=e("./metrics");function v(e){return e&&e.__esModule?e:{default:e}}function T(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(T=function(e){return e?n:t})(e)}const E=2e3;const w=["ens","etherscan","lens","token"];function x(e,t,n){var a;if(w.includes(e)){return t(`nameProvider_${e}`)}return(null===(a=n[e])||void 0===a?void 0:a.label)??e}}}},{package:"$root$",file:"ui/components/app/name/name-details/name-details.tsx"}],[4711,{"../../../../shared/constants/metametrics":4505,"../../../contexts/metametrics":5327,"../../../helpers/constants/design-system":5355,"../../../helpers/utils/util":5399,"../../../hooks/useDisplayName":5421,"../../component-library":4955,"../../ui/identicon":5247,"./name-details/name-details":4710,"@metamask/name-controller":1529,classnames:3049,"ethereumjs-util":3288,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function({value:e,type:t,disableEdit:n,internal:h,preferContractSymbol:g=!1}){const[y,b]=(0,a.useState)(!1),v=(0,a.useContext)(c.MetaMetricsContext),{name:T,hasPetname:E}=(0,p.useDisplayName)(e,t,g);(0,a.useEffect)((()=>{h||v({event:u.MetaMetricsEventName.PetnameDisplayed,category:u.MetaMetricsEventCategory.Petnames,properties:{petname_category:t,has_petname:Boolean(null==T?void 0:T.length)}})}),[]);const w=(0,a.useCallback)((()=>{b(!0)}),[b]),x=(0,a.useCallback)((()=>{b(!1)}),[b]),_=function(e,t){if(t===r.NameType.ETHEREUM_ADDRESS)return(0,l.shortenAddress)((0,i.toChecksumAddress)(e));return e}(e,t),O=Boolean(T);return a.default.createElement("div",null,!n&&y&&a.default.createElement(m.default,{value:e,type:t,onClose:x}),a.default.createElement("div",{className:(0,o.default)({name:!0,name__saved:E,name__recognized_unsaved:!E&&O,name__missing:!O}),onClick:w},O?a.default.createElement(f.default,{address:e,diameter:16}):a.default.createElement(s.Icon,{name:s.IconName.Question,className:"name__icon",size:s.IconSize.Md}),O?a.default.createElement(s.Text,{className:"name__name",variant:d.TextVariant.bodyMd},T):a.default.createElement(s.Text,{className:"name__value",variant:d.TextVariant.bodyMd},_)))};var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=g(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=e("@metamask/name-controller"),o=h(e("classnames")),i=e("ethereumjs-util"),s=e("../../component-library"),l=e("../../../helpers/utils/util"),c=e("../../../contexts/metametrics"),u=e("../../../../shared/constants/metametrics"),d=e("../../../helpers/constants/design-system"),p=e("../../../hooks/useDisplayName"),f=h(e("../../ui/identicon")),m=h(e("./name-details/name-details"));function h(e){return e&&e.__esModule?e:{default:e}}function g(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(g=function(e){return e?n:t})(e)}}}},{package:"$root$",file:"ui/components/app/name/name.tsx"}],[4712,{"./network-account-balance-header":4713},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./network-account-balance-header"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/network-account-balance-header/index.js"}],[4713,{"../../../../shared/constants/network":4507,"../../../contexts/i18n":5324,"../../../helpers/constants/design-system":5355,"../../component-library":4955,"../../ui/box/box":5193,"../../ui/icon-with-fallback":5232,"../../ui/identicon":5247,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=m;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=p(e("prop-types")),o=p(e("../../ui/icon-with-fallback")),i=p(e("../../ui/identicon")),s=e("../../../helpers/constants/design-system"),l=p(e("../../ui/box/box")),c=e("../../../contexts/i18n"),u=e("../../../../shared/constants/network"),d=e("../../component-library");function p(e){return e&&e.__esModule?e:{default:e}}function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}function m({networkName:e,accountName:t,accountBalance:n,tokenName:r,accountAddress:p,chainId:f}){const m=(0,a.useContext)(c.I18nContext),h=u.CHAIN_ID_TO_NETWORK_IMAGE_URL_MAP[f],g=h?"network-account-balance-header__network-account__ident-icon-ethereum":"network-account-balance-header__network-account__ident-icon-ethereum--gray";return a.default.createElement(l.default,{display:s.Display.Flex,flexDirection:s.FlexDirection.Row,padding:4,className:"network-account-balance-header",alignItems:s.AlignItems.center,justifyContent:s.JustifyContent.spaceBetween},a.default.createElement(l.default,{display:s.Display.Flex,flexDirection:s.FlexDirection.Row,alignItems:s.AlignItems.center,gap:2},a.default.createElement(l.default,{display:s.Display.Flex,flexDirection:s.FlexDirection.Row,alignItems:s.AlignItems.center},a.default.createElement(i.default,{address:p,diameter:32}),a.default.createElement(o.default,{name:e,size:16,icon:h,wrapperClassName:g})),a.default.createElement(l.default,{display:s.Display.Flex,alignItems:s.AlignItems.flexStart,flexDirection:s.FlexDirection.Column},a.default.createElement(d.Text,{variant:s.TextVariant.bodySm,as:"h6",color:s.TextColor.textAlternative,"data-testid":"signature-request-network-display"},e),a.default.createElement(d.Text,{variant:s.TextVariant.bodySm,as:"h6",color:s.TextColor.textDefault,fontWeight:s.FontWeight.Bold},t))),a.default.createElement(l.default,{display:s.Display.Flex,alignItems:s.AlignItems.flexEnd,flexDirection:s.FlexDirection.Column},a.default.createElement(d.Text,{variant:s.TextVariant.bodySm,as:"h6",color:s.TextColor.textAlternative},m("balance")),a.default.createElement(d.Text,{variant:s.TextVariant.bodySm,as:"h6",color:s.TextColor.textDefault,fontWeight:s.FontWeight.Bold,align:s.TextAlign.End},n," ",r)))}m.propTypes={networkName:r.default.string,accountName:r.default.string,accountBalance:r.default.string,tokenName:r.default.string,accountAddress:r.default.string,chainId:r.default.string}}}},{package:"$root$",file:"ui/components/app/network-account-balance-header/network-account-balance-header.js"}],[4714,{"./network-display":4715},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./network-display"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/network-display/index.js"}],[4715,{"../../../helpers/constants/design-system":5355,"../../../selectors":5987,"../../component-library":4955,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(){var e;const t=(0,o.useSelector)(s.getCurrentNetwork);return r.default.createElement(l.PickerNetwork,{className:"network-display",label:null==t?void 0:t.nickname,labelProps:{"data-testid":"network-display"},src:null==t||null===(e=t.rpcPrefs)||void 0===e?void 0:e.imageUrl,iconProps:{display:"none"},avatarNetworkProps:{size:l.AvatarNetworkSize.Xs},as:"div",backgroundColor:i.BackgroundColor.transparent,borderWidth:0,borderColor:i.BorderColor.borderMuted})};var a,r=(a=e("react"))&&a.__esModule?a:{default:a},o=e("react-redux"),i=e("../../../helpers/constants/design-system"),s=e("../../../selectors"),l=e("../../component-library")}}},{package:"$root$",file:"ui/components/app/network-display/network-display.js"}],[4716,{"../../../helpers/constants/design-system":5355,"../../../hooks/useI18nContext":5427,"../../../store/actions":5998,"../../component-library":4955,classnames:3049,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=p;var a=d(e("react")),r=d(e("prop-types")),o=d(e("classnames")),i=e("react-redux"),s=e("../../../helpers/constants/design-system"),l=e("../../../hooks/useI18nContext"),c=e("../../component-library"),u=e("../../../store/actions");function d(e){return e&&e.__esModule?e:{default:e}}function p({className:e,clickable:t}){const n=(0,l.useI18nContext)(),r=(0,i.useDispatch)();return a.default.createElement(c.Box,{tabIndex:0,"data-testid":"nft-default-image",className:(0,o.default)(e,"nft-default",{"nft-default--clickable":t}),display:s.Display.Flex,alignItems:s.AlignItems.Center,justifyContent:s.JustifyContent.Center,borderRadius:s.BorderRadius.LG},t&&a.default.createElement(c.ButtonLink,{block:!0,className:"nft-default__button",onClick:e=>{e.stopPropagation(),r((0,u.showIpfsModal)())}},n("show")))}p.propTypes={clickable:r.default.bool,className:r.default.string}}}},{package:"$root$",file:"ui/components/app/nft-default-image/nft-default-image.js"}],[4717,{"../../../../shared/constants/network":4507,"../../../helpers/constants/design-system":5355,"../../../hooks/useI18nContext":5427,"../../../store/actions":5998,"../../component-library":4955,"../../component-library/modal-content/deprecated":4963,"../../component-library/modal-header/deprecated":4972,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.ToggleIpfsModal=void 0;var a=f(e("react")),r=f(e("prop-types")),o=e("react-redux"),i=e("../../component-library"),s=e("../../component-library/modal-content/deprecated"),l=e("../../component-library/modal-header/deprecated"),c=e("../../../hooks/useI18nContext"),u=e("../../../store/actions"),d=e("../../../../shared/constants/network"),p=e("../../../helpers/constants/design-system");function f(e){return e&&e.__esModule?e:{default:e}}const m=({onClose:e})=>{const t=(0,c.useI18nContext)(),n=(0,o.useDispatch)();return a.default.createElement(i.Modal,{isOpen:!0,onClose:e,className:"toggle-ipfs-modal"},a.default.createElement(i.ModalOverlay,null),a.default.createElement(s.ModalContent,null,a.default.createElement(l.ModalHeader,{onClose:e},t("showNft")),a.default.createElement(i.Box,{className:"toggle-ipfs-modal",marginTop:6},a.default.createElement(i.Text,{variant:p.TextVariant.bodyMd,color:p.TextColor.textAlternative},t("ipfsToggleModalDescriptionOne")),a.default.createElement(i.Text,{variant:p.TextVariant.bodyMd,color:p.TextColor.textAlternative,marginTop:6},t("ipfsToggleModalDescriptionTwo",[a.default.createElement(i.Text,{variant:p.TextVariant.bodyMdBold,color:p.TextColor.textAlternative,as:"span",key:"span"},t("ipfsToggleModalSettings"),",")]))),a.default.createElement(i.ButtonPrimary,{block:!0,marginTop:9,onClick:()=>{n((0,u.setIpfsGateway)(d.IPFS_DEFAULT_GATEWAY_URL)),n((0,u.setIsIpfsGatewayEnabled)(!0)),n((0,u.hideIpfsModal)())},size:p.Size.LG},t("confirm"))))};n.ToggleIpfsModal=m,m.propTypes={onClose:r.default.func.isRequired}}}},{package:"$root$",file:"ui/components/app/nft-default-image/toggle-ipfs-modal.js"}],[4718,{"../../../../app/scripts/lib/util":120,"../../../../shared/constants/app":4493,"../../../../shared/constants/metametrics":4505,"../../../../shared/constants/network":4507,"../../../../shared/constants/transaction":4520,"../../../../shared/modules/string-utils":4558,"../../../contexts/metametrics":5327,"../../../ducks/metamask/metamask":5346,"../../../ducks/send":5348,"../../../helpers/constants/design-system":5355,"../../../helpers/constants/routes":5361,"../../../helpers/utils/nfts":5391,"../../../helpers/utils/util":5399,"../../../hooks/useCopyToClipboard":5417,"../../../hooks/useI18nContext":5427,"../../../hooks/usePrevious":5436,"../../../pages/asset/components/asset-navigation":5456,"../../../selectors":5987,"../../../store/actions":5998,"../../component-library":4955,"../../multichain/nft-item":5100,"../../ui/box":5194,"../../ui/button":5198,"../../ui/info-tooltip":5248,"../../ui/tooltip":5310,"../nft-options/nft-options":4719,lodash:3836,"prop-types":3997,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=D;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=j(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=R(e("prop-types")),o=e("react-redux"),i=e("react-router-dom"),s=e("lodash"),l=R(e("../../ui/box")),c=e("../../../helpers/constants/design-system"),u=e("../../../hooks/useI18nContext"),d=e("../../../helpers/utils/util"),p=e("../../../helpers/utils/nfts"),f=e("../../../selectors"),m=R(e("../../../pages/asset/components/asset-navigation")),h=e("../../../ducks/metamask/metamask"),g=e("../../../helpers/constants/routes"),y=e("../../../store/actions"),b=e("../../../../shared/constants/network"),v=e("../../../../app/scripts/lib/util"),T=e("../../../../shared/constants/app"),E=R(e("../nft-options/nft-options")),w=R(e("../../ui/button")),x=e("../../../ducks/send"),_=R(e("../../ui/info-tooltip")),O=e("../../../hooks/usePrevious"),S=e("../../../hooks/useCopyToClipboard"),C=e("../../../../shared/modules/string-utils"),k=e("../../../../shared/constants/transaction"),I=e("../../component-library"),N=R(e("../../ui/tooltip")),M=e("../../multichain/nft-item"),P=e("../../../../shared/constants/metametrics"),A=e("../../../contexts/metametrics");function R(e){return e&&e.__esModule?e:{default:e}}function j(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(j=function(e){return e?n:t})(e)}function D({nft:e}){var t,n,r,R;const{image:j,imageOriginal:D,name:B,description:F,address:L,tokenId:W,standard:$,isCurrentlyOwned:U,lastSale:V}=e,H=(0,u.useI18nContext)(),z=(0,i.useHistory)(),q=(0,o.useDispatch)(),Y=(0,o.useSelector)(f.getIpfsGateway),G=(0,o.useSelector)(h.getNftContracts),Q=(0,o.useSelector)(f.getCurrentChainId),K=(0,o.useSelector)(f.getCurrentNetwork),J=(0,a.useContext)(A.MetaMetricsContext),[X,Z]=(0,S.useCopyToClipboard)(),ee=null===(t=G.find((({address:e})=>(0,C.isEqualCaseInsensitive)(e,L))))||void 0===t?void 0:t.name,{metadata:{name:te}}=(0,o.useSelector)(f.getSelectedInternalAccount),ne=(0,p.getNftImageAlt)(e),ae=D??j,re=(0,d.getAssetImageURL)(D??j,Y),oe=null==ae?void 0:ae.startsWith("ipfs:"),ie=null==j?void 0:j.startsWith("https:"),se=(0,d.formatDate)(new Date(null==V?void 0:V.timestamp).getTime(),"M/d/y"),{chainId:le}=K;(0,a.useEffect)((()=>{J({event:P.MetaMetricsEventName.NftDetailsOpened,category:P.MetaMetricsEventCategory.Tokens,properties:{chain_id:le}})}),[J,le]);const ce=(0,O.usePrevious)(e);(0,a.useEffect)((()=>{(0,s.isEqual)(ce,e)||(0,y.checkAndUpdateSingleNftOwnershipStatus)(e)}),[e,ce]);const ue=(()=>{switch(Q){case b.CHAIN_IDS.MAINNET:return`https://opensea.io/assets/ethereum/${L}/${W}`;case b.CHAIN_IDS.POLYGON:return`https://opensea.io/assets/matic/${L}/${W}`;case b.CHAIN_IDS.GOERLI:return`https://testnets.opensea.io/assets/goerli/${L}/${W}`;case b.CHAIN_IDS.SEPOLIA:return`https://testnets.opensea.io/assets/sepolia/${L}/${W}`;default:return null}})(),de=$!==k.TokenStandard.ERC721&&$!==k.TokenStandard.ERC1155,pe=(0,v.getEnvironmentType)()===T.ENVIRONMENT_TYPE_POPUP,fe=async()=>{await q((0,x.startNewDraftTransaction)({type:k.AssetType.NFT,details:e})),z.push(g.SEND_ROUTE)},me=()=>!1===U?a.default.createElement("div",{style:{height:"30px"}}):a.default.createElement(l.default,{display:c.Display.Flex,margin:pe?[4,0]:null},a.default.createElement(w.default,{type:"primary",onClick:fe,disabled:de,className:"nft-details__send-button","data-testid":"nft-send-button"},H("send")),de?a.default.createElement(_.default,{position:"top",contentText:H("sendingDisabled")}):null);return a.default.createElement(a.default.Fragment,null,a.default.createElement(m.default,{accountName:te,assetName:ee,onBack:()=>z.push(g.DEFAULT_ROUTE),optionsButton:a.default.createElement(E.default,{onViewOnOpensea:ue?()=>global.platform.openTab({url:ue}):null,onRemove:async()=>{let e=!1;try{await q((0,y.removeAndIgnoreNft)(L,W)),q((0,y.setNewNftAddedMessage)("")),q((0,y.setRemoveNftMessage)("success")),e=!0}catch(e){q((0,y.setNewNftAddedMessage)("")),q((0,y.setRemoveNftMessage)("error"))}finally{J({event:P.MetaMetricsEventName.NFTRemoved,category:"Wallet",properties:{token_contract_address:L,tokenId:W.toString(),asset_type:k.AssetType.NFT,token_standard:$,chain_id:Q,isSuccessful:e}}),z.push(g.DEFAULT_ROUTE)}}})}),a.default.createElement(l.default,{className:"nft-details"},a.default.createElement(l.default,{className:"nft-details__top-section",gap:6,flexDirection:c.FlexDirection.Column},a.default.createElement(l.default,{className:"nft-details__nft-item"},a.default.createElement(M.NftItem,{nftImageURL:re,src:ie?j:re,alt:j?ne:"",name:B,tokenId:W,networkName:K.nickname,networkSrc:null===(n=K.rpcPrefs)||void 0===n?void 0:n.imageUrl,isIpfsURL:oe,clickable:!0})),a.default.createElement(l.default,{flexDirection:c.FlexDirection.Column,className:"nft-details__info",marginTop:4,justifyContent:c.JustifyContent.spaceBetween},a.default.createElement("div",null,a.default.createElement(I.Text,{color:c.TextColor.textDefault,variant:c.TextVariant.headingSm,as:"h4",fontWeight:c.FontWeight.Bold,marginBottom:2},B),a.default.createElement(I.Text,{color:c.TextColor.textMuted,variant:c.TextVariant.bodyMd,as:"h5",marginBottom:4,overflowWrap:c.OverflowWrap.BreakWord},"#",W)),F?a.default.createElement("div",null,a.default.createElement(I.Text,{color:c.TextColor.textDefault,variant:c.TextVariant.bodySmBold,as:"h6",marginBottom:2,className:"nft-details__description"},H("description")),a.default.createElement(I.Text,{color:c.TextColor.textAlternative,variant:c.TextVariant.bodySm,as:"h6",overflowWrap:c.OverflowWrap.BreakWord,marginBottom:4},F)):null,pe?null:me())),a.default.createElement(l.default,{marginBottom:2},V?a.default.createElement(a.default.Fragment,null,a.default.createElement(l.default,{display:c.Display.Flex,flexDirection:c.FlexDirection.Row},a.default.createElement(I.Text,{color:c.TextColor.textDefault,variant:c.TextVariant.bodySmBold,as:"h6",marginBottom:4,marginRight:2,className:"nft-details__link-title"},H("lastSold")),a.default.createElement(l.default,{display:c.Display.Flex,flexDirection:c.FlexDirection.Row,className:"nft-details__contract-wrapper"},a.default.createElement(I.Text,{color:c.TextColor.textAlternative,variant:c.TextVariant.bodySm,as:"h6",overflowWrap:c.OverflowWrap.BreakWord,marginBottom:4},se))),a.default.createElement(l.default,{display:c.Display.Flex,flexDirection:c.FlexDirection.Row},a.default.createElement(I.Text,{color:c.TextColor.textDefault,variant:c.TextVariant.bodySmBold,as:"h6",marginBottom:4,marginRight:2,className:"nft-details__link-title"},H("lastPriceSold")),a.default.createElement(l.default,{display:c.Display.Flex,flexDirection:c.FlexDirection.Row,className:"nft-details__contract-wrapper"},a.default.createElement(I.Text,{color:c.TextColor.textAlternative,variant:c.TextVariant.bodySm,as:"h6",overflowWrap:c.OverflowWrap.BreakWord,marginBottom:4},null==V||null===(r=V.price)||void 0===r||null===(r=r.amount)||void 0===r?void 0:r.decimal," ",null==V||null===(R=V.price)||void 0===R||null===(R=R.currency)||void 0===R?void 0:R.symbol)))):null,a.default.createElement(l.default,{display:c.Display.Flex,flexDirection:c.FlexDirection.Row},a.default.createElement(I.Text,{color:c.TextColor.textDefault,variant:c.TextVariant.bodySmBold,as:"h6",marginBottom:4,marginRight:2,className:"nft-details__link-title"},H("contractAddress")),a.default.createElement(l.default,{display:c.Display.Flex,flexDirection:c.FlexDirection.Row,className:"nft-details__contract-wrapper"},a.default.createElement(I.Text,{color:c.TextColor.textAlternative,variant:c.TextVariant.bodySm,as:"h6",overflowWrap:c.OverflowWrap.BreakWord,marginBottom:4},(0,d.shortenAddress)(L)),a.default.createElement(N.default,{wrapperClassName:"nft-details__tooltip-wrapper",position:"bottom",title:H(X?"copiedExclamation":"copyToClipboard")},a.default.createElement(I.ButtonIcon,{ariaLabel:"copy",color:c.IconColor.iconAlternative,className:"nft-details__contract-copy-button","data-testid":"nft-address-copy",onClick:()=>{Z(L)},iconName:X?I.IconName.CopySuccess:I.IconName.Copy})))),pe?me():null,a.default.createElement(I.Text,{color:c.TextColor.textAlternative,variant:c.TextVariant.bodySm,as:"h6"},H("nftDisclaimer")))))}D.propTypes={nft:r.default.shape({address:r.default.string.isRequired,tokenId:r.default.string.isRequired,isCurrentlyOwned:r.default.bool,name:r.default.string,description:r.default.string,image:r.default.string,standard:r.default.string,imageThumbnail:r.default.string,imagePreview:r.default.string,imageOriginal:r.default.string,creator:r.default.shape({address:r.default.string,config:r.default.string,profile_img_url:r.default.string}),lastSale:r.default.shape({timestamp:r.default.string,price:r.default.shape({amount:r.default.shape({native:r.default.string,decimal:r.default.string}),currency:r.default.shape({symbol:r.default.string})})})})}}}},{package:"$root$",file:"ui/components/app/nft-details/nft-details.js"}],[4719,{"../../../contexts/i18n":5324,"../../../helpers/constants/design-system":5355,"../../component-library":4955,"../../ui/menu":5264,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=u(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=(a=e("prop-types"))&&a.__esModule?a:{default:a},i=e("../../../contexts/i18n"),s=e("../../ui/menu"),l=e("../../component-library"),c=e("../../../helpers/constants/design-system");function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(u=function(e){return e?n:t})(e)}const d=({onRemove:e,onViewOnOpensea:t})=>{const n=(0,r.useContext)(i.I18nContext),[a,o]=(0,r.useState)(!1),u=(0,r.useRef)(!1);return r.default.createElement("div",{ref:u},r.default.createElement(l.ButtonIcon,{iconName:l.IconName.MoreVertical,className:"nft-options__button","data-testid":"nft-options__button",onClick:()=>o(!0),color:c.Color.textDefault,size:l.ButtonIconSize.Sm,ariaLabel:n("nftOptions")}),a?r.default.createElement(s.Menu,{"data-testid":"close-nft-options-menu",anchorElement:u.current,onHide:()=>o(!1)},t?r.default.createElement(s.MenuItem,{iconName:l.IconName.Export,"data-testid":"nft-options__view-on-opensea",onClick:()=>{o(!1),t()}},n("viewOnOpensea")):null,r.default.createElement(s.MenuItem,{iconName:l.IconName.Trash,"data-testid":"nft-item-remove",onClick:()=>{o(!1),e()}},n("removeNFT"))):null)};d.propTypes={onRemove:o.default.func.isRequired,onViewOnOpensea:o.default.func};n.default=d}}},{package:"$root$",file:"ui/components/app/nft-options/nft-options.js"}],[4720,{"../../../helpers/constants/routes":5361,"../../../hooks/useI18nContext":5427,"../../component-library":4955,"prop-types":3997,react:4243,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=u;var a=c(e("react")),r=c(e("prop-types")),o=e("react-router-dom"),i=e("../../component-library"),s=e("../../../hooks/useI18nContext"),l=e("../../../helpers/constants/routes");function c(e){return e&&e.__esModule?e:{default:e}}function u({onActionButtonClick:e}){const t=(0,s.useI18nContext)(),n=(0,o.useHistory)();return a.default.createElement(i.BannerAlert,{className:"nfts-detection-notice",actionButtonLabel:t("selectEnableDisplayMediaPrivacyPreference"),actionButtonOnClick:t=>{t.preventDefault(),n.push(`${l.SECURITY_ROUTE}#display-nft-media`),null==e||e()}},t("newNFTDetectedInImportNFTsMsg",[a.default.createElement("b",{key:"new-nft-detected-in-import-nfts-message-strong-text"},t("newNFTDetectedInImportNFTsMessageStrongText"))]))}u.propTypes={onActionButtonClick:r.default.func.isRequired}}}},{package:"$root$",file:"ui/components/app/nfts-detection-notice-import-nfts/nfts-detection-notice-import-nfts.js"}],[4721,{"../../../helpers/constants/routes":5361,"../../../hooks/useI18nContext":5427,"../../component-library":4955,react:4243,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(){const e=(0,s.useI18nContext)(),t=(0,o.useHistory)();return r.default.createElement(i.BannerAlert,{className:"nfts-detection-notice",title:e("newNFTsAutodetected"),actionButtonLabel:e("selectNFTPrivacyPreference"),actionButtonOnClick:e=>{e.preventDefault(),t.push(`${l.SECURITY_ROUTE}#autodetect-nfts`)}},e("newNFTDetectedInNFTsTabMessage"))};var a,r=(a=e("react"))&&a.__esModule?a:{default:a},o=e("react-router-dom"),i=e("../../component-library"),s=e("../../../hooks/useI18nContext"),l=e("../../../helpers/constants/routes")}}},{package:"$root$",file:"ui/components/app/nfts-detection-notice-nfts-tab/nfts-detection-notice-nfts-tab.js"}],[4722,{"./nfts-items":4723},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./nfts-items"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/nfts-items/index.js"}],[4723,{"../../../../app/scripts/lib/util":120,"../../../../shared/constants/app":4493,"../../../../shared/constants/metametrics":4505,"../../../../shared/constants/transaction":4520,"../../../contexts/metametrics":5327,"../../../ducks/metamask/metamask":5346,"../../../ducks/send":5348,"../../../helpers/constants/design-system":5355,"../../../helpers/constants/routes":5361,"../../../helpers/utils/nfts":5391,"../../../helpers/utils/util":5399,"../../../hooks/useI18nContext":5427,"../../../hooks/usePrevious":5436,"../../../selectors":5987,"../../../store/actions":5998,"../../component-library":4955,"../../multichain/nft-item":5100,"../../ui/box":5194,"../../ui/typography/typography":5315,lodash:3836,"prop-types":3997,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=M;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=k(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=C(e("prop-types")),o=e("react-redux"),i=e("react-router-dom"),s=e("lodash"),l=C(e("../../ui/box")),c=C(e("../../ui/typography/typography")),u=e("../../../helpers/constants/design-system"),d=e("../../../../shared/constants/app"),p=e("../../../../app/scripts/lib/util"),f=e("../../../selectors"),m=e("../../../helpers/constants/routes"),h=e("../../../helpers/utils/util"),g=e("../../../helpers/utils/nfts"),y=e("../../../store/actions"),b=e("../../../hooks/usePrevious"),v=e("../../../ducks/metamask/metamask"),T=e("../../../hooks/useI18nContext"),E=e("../../component-library"),w=e("../../multichain/nft-item"),x=e("../../../ducks/send"),_=e("../../../../shared/constants/transaction"),O=e("../../../contexts/metametrics"),S=e("../../../../shared/constants/metametrics");function C(e){return e&&e.__esModule?e:{default:e}}function k(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(k=function(e){return e?n:t})(e)}const I=e=>{const t=(0,p.getEnvironmentType)()===d.ENVIRONMENT_TYPE_POPUP;return e||t===d.ENVIRONMENT_TYPE_POPUP?u.BLOCK_SIZES.ONE_THIRD:u.BLOCK_SIZES.ONE_SIXTH},N="previouslyOwned";function M({collections:e={},previouslyOwnedCollection:t={},isModal:n=!1,onCloseModal:r={},showTokenId:d=!1,displayPreviouslyOwnedCollection:p=!0}){var C;const k=(0,o.useDispatch)(),M=Object.keys(e),P=(0,o.useSelector)(v.getNftsDropdownState),A=(0,b.usePrevious)(M),{address:R}=(0,o.useSelector)(f.getSelectedInternalAccount),j=(0,o.useSelector)(f.getCurrentChainId),D=(0,o.useSelector)(f.getCurrentNetwork),B=(0,T.useI18nContext)(),F=(0,o.useSelector)(f.getIpfsGateway),L=(0,o.useSelector)(f.getOpenSeaEnabled),W=(0,a.useContext)(O.MetaMetricsContext),$=(0,o.useSelector)(x.getSendAnalyticProperties);(0,a.useEffect)((()=>{var e,t;if(j!==undefined&&R!==undefined&&!(0,s.isEqual)(A,M)&&((null==P||null===(e=P[R])||void 0===e?void 0:e[j])===undefined||0===Object.keys(null==P||null===(t=P[R])||void 0===t?void 0:t[j]).length)){const e={};M.forEach((t=>{e[t]=!0}));const t={...P,[R]:{...null==P?void 0:P[R],[j]:e}};k((0,y.updateNftDropDownState)(t))}}),[M,A,P,R,j,k]);const U=(0,i.useHistory)(),V=({nfts:e,collectionName:t,collectionImage:o,key:i})=>{var s;if(!e.length)return null;const p=null===(s=P[R])||void 0===s||null===(s=s[j])||void 0===s?void 0:s[i];return a.default.createElement("div",{className:"nfts-items__collection",key:`collection-${i}`},a.default.createElement("button",{className:"nfts-items__collection-wrapper","data-testid":"collection-expander-button",onClick:()=>{((e,t)=>{const n={...P[R][j],[e]:!t},a={...P,[R]:{[j]:n}};k((0,y.updateNftDropDownState)(a))})(i,p)}},a.default.createElement(l.default,{marginBottom:2,display:u.DISPLAY.FLEX,alignItems:u.AlignItems.center,justifyContent:u.JustifyContent.spaceBetween,className:"nfts-items__collection-accordion-title"},a.default.createElement(l.default,{alignItems:u.AlignItems.center,className:"nfts-items__collection-header"},((e,t)=>{var n,r,o;return null!=e&&e.startsWith("ipfs")&&!F?a.default.createElement("div",{className:"nfts-items__collection-image-alt"},(null==t||null===(r=t[0])||void 0===r?void 0:r.toUpperCase())??null):L||null!=e&&e.startsWith("ipfs")?e?a.default.createElement("img",{alt:t,src:(0,h.getAssetImageURL)(e,F),className:"nfts-items__collection-image"}):a.default.createElement("div",{className:"nfts-items__collection-image-alt"},(null==t||null===(n=t[0])||void 0===n?void 0:n.toUpperCase())??null):a.default.createElement("div",{className:"nfts-items__collection-image-alt"},(null==t||null===(o=t[0])||void 0===o?void 0:o.toUpperCase())??null)})(o,t),a.default.createElement(c.default,{color:u.Color.textDefault,variant:u.TypographyVariant.H5,margin:2},`${t??B("unknownCollection")} (${e.length})`)),a.default.createElement(l.default,{alignItems:u.AlignItems.flexEnd},a.default.createElement(E.Icon,{name:p?E.IconName.ArrowDown:E.IconName.ArrowRight,color:u.Color.iconDefault})))),p?a.default.createElement(l.default,{display:u.DISPLAY.FLEX,flexWrap:u.FLEX_WRAP.WRAP,gap:4},e.map(((e,t)=>{var o,i;const{image:s,address:c,tokenId:u,name:p,imageOriginal:f,tokenURI:y}=e,b=(0,h.getAssetImageURL)(f??s,F),v=(0,g.getNftImageAlt)(e),T=null==s?void 0:s.startsWith("https:"),O=null!=f&&f.startsWith("ipfs")?b:s,C=null===(o=f??s??y)||void 0===o?void 0:o.startsWith("ipfs:");return a.default.createElement(l.default,{"data-testid":"nft-wrapper",width:I(n),key:`nft-${t}`,className:"nfts-items__item-wrapper"},a.default.createElement(w.NftItem,{nftImageURL:O,alt:v,src:T?s:b,name:p,tokenId:u,networkName:D.nickname,networkSrc:null===(i=D.rpcPrefs)||void 0===i?void 0:i.imageUrl,onClick:()=>n?(async e=>{W({event:S.MetaMetricsEventName.sendAssetSelected,category:S.MetaMetricsEventCategory.Send,properties:{...$,is_destination_asset_picker_modal:!1,new_asset_symbol:e.name,new_asset_address:e.address,is_nft:!0}}),await k((0,x.updateSendAsset)({type:_.AssetType.NFT,details:e,skipComputeEstimatedGasLimit:!1})),U.push(m.SEND_ROUTE),r()})(e):U.push(`${m.ASSET_ROUTE}/${c}/${u}`),isIpfsURL:C,clickable:!0}),d?a.default.createElement(E.Text,null,`${B("id")}: ${u}`):null)}))):null)};return a.default.createElement("div",{className:"nfts-items"},a.default.createElement(l.default,{paddingTop:6,paddingBottom:6,paddingLeft:4,paddingRight:4,flexDirection:u.FLEX_DIRECTION.COLUMN},a.default.createElement(a.default.Fragment,null,M.map((t=>{const{nfts:n,collectionName:a,collectionImage:r}=e[t];return V({nfts:n,collectionName:a,collectionImage:r,key:t,isPreviouslyOwnedCollection:!1})})),p?V({nfts:t.nfts,collectionName:t.collectionName,collectionImage:null===(C=t.nfts[0])||void 0===C?void 0:C.image,isPreviouslyOwnedCollection:!0,key:N}):null)))}M.propTypes={previouslyOwnedCollection:r.default.shape({nfts:r.default.arrayOf(r.default.shape({address:r.default.string.isRequired,tokenId:r.default.string.isRequired,name:r.default.string,description:r.default.string,image:r.default.string,standard:r.default.string,imageThumbnail:r.default.string,imagePreview:r.default.string,creator:r.default.shape({address:r.default.string,config:r.default.string,profile_img_url:r.default.string})})),collectionName:r.default.string,collectionImage:r.default.string}),collections:r.default.shape({nfts:r.default.arrayOf(r.default.shape({address:r.default.string.isRequired,tokenId:r.default.string.isRequired,name:r.default.string,description:r.default.string,image:r.default.string,standard:r.default.string,imageThumbnail:r.default.string,imagePreview:r.default.string,creator:r.default.shape({address:r.default.string,config:r.default.string,profile_img_url:r.default.string})})),collectionImage:r.default.string,collectionName:r.default.string}),isModal:r.default.bool,onCloseModal:r.default.func,showTokenId:r.default.bool,displayPreviouslyOwnedCollection:r.default.bool}}}},{package:"$root$",file:"ui/components/app/nfts-items/nfts-items.js"}],[4724,{"./nfts-tab":4725},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./nfts-tab"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/nfts-tab/index.js"}],[4725,{"../../../../shared/constants/app":4493,"../../../../shared/constants/metametrics":4505,"../../../contexts/metametrics":5327,"../../../ducks/locale/locale":5345,"../../../helpers/constants/design-system":5355,"../../../helpers/constants/routes":5361,"../../../helpers/constants/zendesk-url":5368,"../../../hooks/useAccountTotalFiatBalance":5413,"../../../hooks/useI18nContext":5427,"../../../hooks/useNftsCollections":5432,"../../../selectors":5987,"../../../store/actions":5998,"../../component-library":4955,"../../multichain/ramps-card/ramps-card":5178,"../nfts-detection-notice-nfts-tab/nfts-detection-notice-nfts-tab":4721,"../nfts-items":4722,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(){const e=(0,r.useSelector)(u.getUseNftDetection),t=(0,r.useSelector)(u.getIsMainnet),n=(0,o.useHistory)(),w=(0,l.useI18nContext)(),x=(0,r.useDispatch)(),_=(0,a.useContext)(g.MetaMetricsContext),{address:O}=(0,r.useSelector)(u.getSelectedAccount),S=(0,r.useSelector)(u.getShouldHideZeroBalanceTokens),{totalFiatBalance:C}=(0,E.useAccountTotalFiatBalance)(O,S),k=0===Number(C),I=(0,r.useSelector)(u.getIsBuyableChain)&&k,{nftsLoading:N,collections:M,previouslyOwnedCollection:P}=(0,c.useNftsCollections)(),A=Object.keys(M).length>0,R=!1===A,{chainId:j,nickname:D}=(0,r.useSelector)(u.getCurrentNetwork),B=(0,r.useSelector)(v.getCurrentLocale);if((0,a.useEffect)((()=>{!N&&R&&_({event:b.MetaMetricsEventName.EmptyNftsBannerDisplayed,category:b.MetaMetricsEventCategory.Navigation,properties:{chain_id:j,locale:B,network:D,referrer:y.ORIGIN_METAMASK}})}),[N,R,_,j,D,B]),N)return a.default.createElement("div",{className:"nfts-tab__loading"},w("loadingNFTs"));return a.default.createElement(a.default.Fragment,null,I?a.default.createElement(T.RampsCard,{variant:T.RAMPS_CARD_VARIANT_TYPES.NFT}):null,a.default.createElement(p.Box,{className:"nfts-tab"},A>0||P.nfts.length>0?a.default.createElement(m.default,{collections:M,previouslyOwnedCollection:P}):a.default.createElement(a.default.Fragment,null,t&&!e?a.default.createElement(p.Box,{paddingTop:4,paddingInlineStart:4,paddingInlineEnd:4},a.default.createElement(f.default,null)):null,a.default.createElement(p.Box,{padding:12,display:i.Display.Flex,flexDirection:i.FlexDirection.Column,alignItems:i.AlignItems.center,justifyContent:i.JustifyContent.center},a.default.createElement(p.Box,{justifyContent:i.JustifyContent.center},a.default.createElement("img",{src:"./images/no-nfts.svg"})),a.default.createElement(p.Box,{marginTop:4,marginBottom:12,display:i.Display.Flex,justifyContent:i.JustifyContent.center,alignItems:i.AlignItems.center,flexDirection:i.FlexDirection.Column,className:"nfts-tab__link"},a.default.createElement(p.Text,{color:i.TextColor.textMuted,variant:i.TextVariant.headingSm,align:i.TextAlign.Center,as:"h4"},w("noNFTs")),a.default.createElement(p.ButtonLink,{size:i.Size.MD,href:h.default.NFT_TOKENS,externalLink:!0},w("learnMoreUpperCase"))))),a.default.createElement(p.Box,{className:"nfts-tab__buttons",display:i.Display.Flex,flexDirection:i.FlexDirection.Column,alignItems:i.AlignItems.flexStart,margin:4,gap:2,marginBottom:2},a.default.createElement(p.ButtonLink,{size:i.Size.MD,"data-testid":"import-nft-button",startIconName:p.IconName.Add,onClick:()=>{x((0,d.showImportNftsModal)())}},w("importNFT")),!t&&Object.keys(M).length<1?null:a.default.createElement(a.default.Fragment,null,a.default.createElement(p.Box,{className:"nfts-tab__link",justifyContent:i.JustifyContent.flexEnd},t&&!e?a.default.createElement(p.ButtonLink,{size:i.Size.MD,startIconName:p.IconName.Setting,"data-testid":"refresh-list-button",onClick:()=>{n.push(s.SECURITY_ROUTE)}},w("enableAutoDetect")):a.default.createElement(p.ButtonLink,{size:i.Size.MD,startIconName:p.IconName.Refresh,"data-testid":"refresh-list-button",onClick:()=>{t&&x((0,d.detectNfts)()),(0,d.checkAndUpdateAllNftsOwnershipStatus)()}},w("refreshList")))))))};var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=x(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=e("react-redux"),o=e("react-router-dom"),i=e("../../../helpers/constants/design-system"),s=e("../../../helpers/constants/routes"),l=e("../../../hooks/useI18nContext"),c=e("../../../hooks/useNftsCollections"),u=e("../../../selectors"),d=e("../../../store/actions"),p=e("../../component-library"),f=w(e("../nfts-detection-notice-nfts-tab/nfts-detection-notice-nfts-tab")),m=w(e("../nfts-items")),h=w(e("../../../helpers/constants/zendesk-url")),g=e("../../../contexts/metametrics"),y=e("../../../../shared/constants/app"),b=e("../../../../shared/constants/metametrics"),v=e("../../../ducks/locale/locale"),T=e("../../multichain/ramps-card/ramps-card"),E=e("../../../hooks/useAccountTotalFiatBalance");function w(e){return e&&e.__esModule?e:{default:e}}function x(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(x=function(e){return e?n:t})(e)}}}},{package:"$root$",file:"ui/components/app/nfts-tab/nfts-tab.js"}],[4726,{"./permission-cell":4729},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./permission-cell"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/permission-cell/index.js"}],[4727,{"../../../../shared/constants/snaps/permissions":4515,"../../../helpers/constants/design-system":5355,"../../../hooks/useI18nContext":5427,"../../../store/actions":5998,"../../component-library":4955,"../../ui/box":5194,"../../ui/menu":5264,"../../ui/popover/popover.component":5282,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.PermissionCellOptions=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=h(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=m(e("prop-types")),o=e("react-redux"),i=m(e("../../ui/box")),s=e("../../../hooks/useI18nContext"),l=e("../../component-library"),c=e("../../ui/menu"),u=e("../../../helpers/constants/design-system"),d=m(e("../../ui/popover/popover.component")),p=e("../../../../shared/constants/snaps/permissions"),f=e("../../../store/actions");function m(e){return e&&e.__esModule?e:{default:e}}function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(h=function(e){return e?n:t})(e)}const g=({snapId:e,permissionName:t,description:n})=>{const r=(0,s.useI18nContext)(),m=(0,o.useDispatch)(),h=(0,a.useRef)(!1),[g,y]=(0,a.useState)(!1),[b,v]=(0,a.useState)(!1),T=p.DynamicSnapPermissions.includes(t);return a.default.createElement(i.default,{ref:h},a.default.createElement(l.ButtonIcon,{iconName:l.IconName.MoreVertical,ariaLabel:r("options"),onClick:()=>{y(!0)},"data-testid":t}),g&&a.default.createElement(c.Menu,{anchorElement:h.current,onHide:()=>{y(!1)}},a.default.createElement(c.MenuItem,{onClick:()=>{y(!1),v(!0)}},a.default.createElement(l.Text,{variant:u.TextVariant.bodySm,style:{whiteSpace:"nowrap"}},r("details"))),T&&a.default.createElement(c.MenuItem,{onClick:()=>{y(!1),m((0,f.revokeDynamicSnapPermissions)(e,[t]))}},a.default.createElement(l.Text,{variant:u.TextVariant.bodySm,color:u.TextColor.errorDefault,style:{whiteSpace:"nowrap"}},r("revokePermission")))),b&&a.default.createElement(d.default,{title:r("details"),onClose:()=>{y(!1),v(!1)}},a.default.createElement(i.default,{marginLeft:4,marginRight:4,marginBottom:4},a.default.createElement(l.Text,null,n))))};n.PermissionCellOptions=g,g.propTypes={snapId:r.default.string.isRequired,permissionName:r.default.string.isRequired,description:r.default.oneOfType([r.default.string,r.default.object])}}}},{package:"$root$",file:"ui/components/app/permission-cell/permission-cell-options.js"}],[4728,{"../../../helpers/constants/design-system":5355,"../../../helpers/utils/util":5399,"../../../hooks/useI18nContext":5427,"../../component-library":4955,"../../multichain":5092,"../../multichain/avatar-group/avatar-group.types":5059,"../../ui/tooltip":5310,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.PermissionCellStatus=void 0;var a=p(e("react")),r=p(e("prop-types")),o=e("../../component-library"),i=e("../../../helpers/constants/design-system"),s=p(e("../../ui/tooltip")),l=e("../../multichain"),c=e("../../multichain/avatar-group/avatar-group.types"),u=e("../../../hooks/useI18nContext"),d=e("../../../helpers/utils/util");function p(e){return e&&e.__esModule?e:{default:e}}const f=({revoked:e,approved:t,dateApproved:n,accounts:r})=>{const p=(0,u.useI18nContext)(),f=()=>a.default.createElement(o.Box,{as:"span",className:"permission-cell__status__accounts-group-box",display:i.Display.InlineFlex},a.default.createElement(s.default,{position:"bottom",html:a.default.createElement(o.Box,{display:i.Display.Flex,flexDirection:i.FlexDirection.Column,justifyContent:i.JustifyContent.center,alignItems:i.AlignItems.center},a.default.createElement(o.Text,{variant:i.TextVariant.headingSm,color:i.TextColor.textAlternative,textAlign:i.TextAlign.Center},p("accounts")),a.default.createElement(o.Box,{display:i.Display.Flex,flexDirection:i.FlexDirection.Column},r.map(((e,t)=>a.default.createElement(o.Box,{key:`${e.avatarValue}_${t}`,display:i.Display.Flex,justifyContent:i.JustifyContent.flexStart,alignItems:i.AlignItems.center,marginTop:2},a.default.createElement(o.AvatarAccount,{address:e.avatarValue,size:o.AvatarAccountSize.Xs,borderColor:i.BorderColor.backgroundDefault}),a.default.createElement(o.Text,{variant:i.TextVariant.bodyMdMedium,marginLeft:2},e.avatarName))))))},a.default.createElement(l.AvatarGroup,{limit:3,members:r,avatarType:c.AvatarType.ACCOUNT,size:o.AvatarTokenSize.Xs,width:i.BlockSize.Min,borderColor:i.BorderColor.backgroundDefault,marginLeft:4,paddingLeft:4})));return a.default.createElement(o.Text,{as:"div",className:"permission-cell__status",variant:i.TextVariant.bodySm,color:i.TextColor.textAlternative,display:i.Display.Flex},e?r&&r.length?p("permissionRevokedForAccounts",[f()]):p("permissionRevoked"):n?r&&r.length?p("approvedOnForAccounts",[(0,d.formatDate)(n,"yyyy-MM-dd"),f()]):p("approvedOn",[(0,d.formatDate)(n,"yyyy-MM-dd")]):t?p("approved"):r&&r.length?p("permissionRequestedForAccounts",[f()]):p("permissionRequested"))};n.PermissionCellStatus=f,f.propTypes={revoked:r.default.bool,approved:r.default.bool,dateApproved:r.default.number,accounts:r.default.array}}}},{package:"$root$",file:"ui/components/app/permission-cell/permission-cell-status.js"}],[4729,{"../../../helpers/constants/design-system":5355,"../../component-library":4955,"../../ui/tooltip":5310,"./permission-cell-options":4727,"./permission-cell-status":4728,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=d(e("react")),r=d(e("prop-types")),o=d(e("classnames")),i=e("../../../helpers/constants/design-system"),s=e("../../component-library"),l=d(e("../../ui/tooltip")),c=e("./permission-cell-options"),u=e("./permission-cell-status");function d(e){return e&&e.__esModule?e:{default:e}}const p=({snapId:e,permissionName:t,title:n,description:r,weight:d,avatarIcon:p,dateApproved:f,revoked:m,approved:h,showOptions:g,hideStatus:y,accounts:b})=>{var v;const T=s.IconName.Info;let E=i.IconColor.iconMuted,w=i.IconColor.primaryDefault,x=i.Color.primaryMuted;!m&&d<=2&&(w=i.IconColor.warningDefault,x=i.Color.warningMuted,E=i.IconColor.warningDefault),(f||h)&&(w=i.IconColor.iconMuted,x=i.Color.backgroundAlternative),m&&(w=i.IconColor.iconMuted,x=i.Color.backgroundAlternative);let _=p;return"string"!=typeof p&&null!=p&&null!==(v=p.props)&&void 0!==v&&v.iconName&&(_=p.props.iconName),a.default.createElement(s.Box,{className:"permission-cell",display:i.Display.Flex,justifyContent:i.JustifyContent.center,alignItems:i.AlignItems.flexStart,paddingTop:2,paddingBottom:2},a.default.createElement(s.Box,{display:i.Display.Flex},"string"==typeof _?a.default.createElement(s.AvatarIcon,{iconName:_,size:s.AvatarIconSize.Md,iconProps:{size:s.IconSize.Sm},color:w,backgroundColor:x}):_),a.default.createElement(s.Box,{display:i.Display.Flex,flexWrap:i.FlexWrap.Wrap,flexDirection:i.FlexDirection.Column,width:i.BlockSize.Full,marginLeft:4,marginRight:4},a.default.createElement(s.Text,{size:i.Size.MD,variant:i.TextVariant.bodyMd,className:(0,o.default)("permission-cell__title",{"permission-cell__title-revoked":m})},n),!y&&a.default.createElement(u.PermissionCellStatus,{revoked:m,approved:h,dateApproved:f,accounts:b})),a.default.createElement(s.Box,{display:i.Display.Flex},g&&e?a.default.createElement(c.PermissionCellOptions,{snapId:e,permissionName:t,description:r}):r&&a.default.createElement(l.default,{html:a.default.createElement(s.Text,{variant:i.TextVariant.bodySm,color:i.TextColor.textAlternative},r),position:"bottom"},a.default.createElement(s.Icon,{color:E,name:T,size:s.IconSize.Sm}))))};p.propTypes={snapId:r.default.string,permissionName:r.default.oneOfType([r.default.string,r.default.element]).isRequired,title:r.default.oneOfType([r.default.string.isRequired,r.default.object.isRequired]),description:r.default.oneOfType([r.default.string,r.default.object]),weight:r.default.number,avatarIcon:r.default.any.isRequired,dateApproved:r.default.number,revoked:r.default.bool,approved:r.default.bool,showOptions:r.default.bool,hideStatus:r.default.bool,accounts:r.default.array};n.default=p}}},{package:"$root$",file:"ui/components/app/permission-cell/permission-cell.js"}],[4730,{"./permission-connect-header":4731},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./permission-connect-header"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/permission-connect-header/index.js"}],[4731,{"../../../helpers/constants/design-system":5355,"../../../helpers/utils/util":5399,"../../component-library":4955,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=l(e("react")),r=l(e("prop-types")),o=e("../../../helpers/constants/design-system"),i=e("../../component-library"),s=e("../../../helpers/utils/util");function l(e){return e&&e.__esModule?e:{default:e}}const c=({origin:e,iconUrl:t})=>{const n=(e=>{try{const t=new URL(e);return t.hostname.split(".").slice(-2).join(".")}catch(e){return"Unknown Origin"}})(e);return a.default.createElement(i.Box,{backgroundColor:o.BackgroundColor.backgroundDefault,width:o.BlockSize.Full,alignItems:o.AlignItems.center,display:o.Display.Flex,padding:4,style:{boxShadow:"var(--shadow-size-lg) var(--color-shadow-default)"}},a.default.createElement(i.Box,null,t?a.default.createElement(i.AvatarFavicon,{backgroundColor:o.BackgroundColor.backgroundAlternative,size:i.IconSize.Lg,src:t,name:n}):a.default.createElement(i.AvatarBase,{size:i.IconSize.Lg,display:o.Display.Flex,alignItems:o.AlignItems.center,justifyContent:o.JustifyContent.center,color:o.TextColor.textAlternative,style:{borderWidth:"0px"},backgroundColor:o.BackgroundColor.backgroundAlternative},(0,s.getAvatarFallbackLetter)(n))),a.default.createElement(i.Box,{marginLeft:4,marginRight:4,display:o.Display.Flex,flexDirection:o.FlexDirection.Column,style:{overflow:"hidden"}},a.default.createElement(i.Text,{ellipsis:!0,fontWeight:o.FontWeight.Medium},n),a.default.createElement(i.Text,{ellipsis:!0,variant:o.TextVariant.bodySm,color:o.TextColor.textAlternative},e)))};c.propTypes={origin:r.default.string,iconUrl:r.default.string};n.default=c}}},{package:"$root$",file:"ui/components/app/permission-connect-header/permission-connect-header.js"}],[4732,{"./permission-page-container-content":4733,"./permission-page-container.container":4736},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"PermissionPageContainerContent",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return a.default}});var a=o(e("./permission-page-container.container")),r=o(e("./permission-page-container-content"));function o(e){return e&&e.__esModule?e:{default:e}}}}},{package:"$root$",file:"ui/components/app/permission-page-container/index.js"}],[4733,{"./permission-page-container-content.component":4734},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./permission-page-container-content.component"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/permission-page-container/permission-page-container-content/index.js"}],[4734,{"../../../../helpers/constants/design-system":5355,"../../../component-library":4955,"../../permissions-connect-permission-list":4741,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=c(e("prop-types")),r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=l(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=c(e("../../permissions-connect-permission-list")),i=e("../../../../helpers/constants/design-system"),s=e("../../../component-library");function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(l=function(e){return e?n:t})(e)}function c(e){return e&&e.__esModule?e:{default:e}}function u(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class d extends r.PureComponent{render(){const{t:e}=this.context,{selectedPermissions:t,selectedAccounts:n,subjectMetadata:a}=this.props,l=n.reduce(((e,t)=>(e.push({avatarValue:t.address,avatarName:t.label}),e)),[]);return r.default.createElement(s.Box,{display:i.Display.Flex,flexDirection:i.FlexDirection.Column,justifyContent:i.JustifyContent.flexStart,alignItems:i.AlignItems.center,height:i.BlockSize.Full,paddingLeft:4,paddingRight:4,backgroundColor:i.BackgroundColor.backgroundAlternative},r.default.createElement(s.Box,{display:i.Display.Flex,flexDirection:i.FlexDirection.Column,justifyContent:i.JustifyContent.center,alignItems:i.AlignItems.center,paddingTop:4,paddingBottom:4},r.default.createElement(s.Text,{variant:i.TextVariant.headingMd,textAlign:i.TextAlign.Center},e("permissions")),r.default.createElement(s.Text,{variant:i.TextVariant.bodyMd,textAlign:i.TextAlign.Center},e("nativePermissionRequestDescription",[r.default.createElement(s.Text,{as:"span",key:`description_key_${a.origin}`,fontWeight:i.FontWeight.Medium},a.origin)]))),r.default.createElement(s.Box,{display:i.Display.Flex,backgroundColor:i.BackgroundColor.backgroundDefault,paddingLeft:4,paddingRight:4,paddingTop:2,paddingBottom:2,borderRadius:i.BorderRadius.XL},r.default.createElement(o.default,{permissions:t,subjectName:a.origin,accounts:l})))}}n.default=d,u(d,"propTypes",{subjectMetadata:a.default.shape({name:a.default.string.isRequired,origin:a.default.string.isRequired,subjectType:a.default.string.isRequired,extensionId:a.default.string,iconUrl:a.default.string}),selectedPermissions:a.default.object.isRequired,selectedAccounts:a.default.array}),u(d,"defaultProps",{selectedAccounts:[]}),u(d,"contextTypes",{t:a.default.func})}}},{package:"$root$",file:"ui/components/app/permission-page-container/permission-page-container-content/permission-page-container-content.component.js"}],[4735,{".":4732,"../../../../app/scripts/controllers/permissions":31,"../../../../shared/constants/metametrics":4505,"../../../../shared/constants/permissions":4511,"../../../helpers/constants/design-system":5355,"../../../helpers/utils/util":5399,"../../component-library":4955,"../../ui/page-container":5275,"../permissions-connect-footer":4737,"../snaps/snap-privacy-warning":4794,"@metamask/permission-controller":1624,"@metamask/snaps-rpc-methods":2086,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=b(e("prop-types")),r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=y(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=e("@metamask/snaps-rpc-methods"),i=e("@metamask/permission-controller"),s=e("../../../../shared/constants/metametrics"),l=e("../../ui/page-container"),c=b(e("../permissions-connect-footer")),u=e("../../../../shared/constants/permissions"),d=e("../../../../app/scripts/controllers/permissions"),p=b(e("../snaps/snap-privacy-warning")),f=e("../../../helpers/utils/util"),m=e("../../../helpers/constants/design-system"),h=e("../../component-library"),g=e(".");function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(y=function(e){return e?n:t})(e)}function b(e){return e&&e.__esModule?e:{default:e}}function v(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class T extends r.Component{constructor(...e){super(...e),v(this,"state",{}),v(this,"onCancel",(()=>{const{request:e,rejectPermissionsRequest:t}=this.props;t(e.metadata.id)})),v(this,"onSubmit",(()=>{var e;const{request:t,approvePermissionsRequest:n,rejectPermissionsRequest:a,selectedAccounts:r}=this.props,o={...t,permissions:{...t.permissions},...t.permissions.eth_accounts&&{approvedAccounts:r.map((e=>e.address))},...t.permissions.permittedChains&&{approvedChainIds:null===(e=t.permissions)||void 0===e||null===(e=e.permittedChains)||void 0===e||null===(e=e.caveats.find((e=>"restrictNetworkSwitching"===e.type)))||void 0===e?void 0:e.value}};Object.keys(o.permissions).length>0?n(o):a(o.metadata.id)})),v(this,"onLeftFooterClick",(()=>{this.getRequestedPermissions()[d.PermissionNames.permittedChains]===undefined?this.goBack():this.onCancel()}))}getRequestedPermissions(){return Object.entries(this.props.request.permissions??{}).reduce(((e,[t,n])=>t===u.RestrictedMethods.wallet_snap?(e[t]=this.getDedupedSnapPermissions(),e):(e[t]=n,e)),{})}getDedupedSnapPermissions(){var e;const{request:t,currentPermissions:n}=this.props,a=(0,f.getDedupedSnaps)(t,n);return{...(null==t||null===(e=t.permissions)||void 0===e?void 0:e[o.WALLET_SNAP_PERMISSION_KEY])||{},caveats:[{type:o.SnapCaveatType.SnapIds,value:a.reduce(((e,t)=>(e[t]={},e)),{})}]}}showSnapsPrivacyWarning(){this.setState({isShowingSnapsPrivacyWarning:!0})}componentDidMount(){this.context.trackEvent({category:s.MetaMetricsEventCategory.Auth,event:"Tab Opened",properties:{action:"Connect",legacy_event:!0}}),this.props.request.permissions[o.WALLET_SNAP_PERMISSION_KEY]&&!1===this.props.snapsInstallPrivacyWarningShown&&this.showSnapsPrivacyWarning()}goBack(){const{history:e,connectPath:t}=this.props;e.push(t)}render(){const{requestMetadata:e,targetSubjectMetadata:t,selectedAccounts:n,allAccountsSelected:a}=this.props,o=this.getRequestedPermissions(),s=e=>{this.setState({isShowingSnapsPrivacyWarning:e})},u=()=>{s(!1),this.props.setSnapsInstallPrivacyWarningShownStatus(!0)},f=o[d.PermissionNames.permittedChains]?this.context.t("cancel"):this.context.t("back");return r.default.createElement(r.default.Fragment,null,r.default.createElement(r.default.Fragment,null,this.state.isShowingSnapsPrivacyWarning&&r.default.createElement(p.default,{onAccepted:()=>u(),onCanceled:()=>this.onCancel()})),r.default.createElement(g.PermissionPageContainerContent,{requestMetadata:e,subjectMetadata:t,selectedPermissions:o,selectedAccounts:n,allAccountsSelected:a}),r.default.createElement(h.Box,{display:m.Display.Flex,backgroundColor:m.BackgroundColor.backgroundAlternative,flexDirection:m.FlexDirection.Column},(null==t?void 0:t.subjectType)!==i.SubjectType.Snap&&r.default.createElement(c.default,null),r.default.createElement(l.PageContainerFooter,{footerClassName:"permission-page-container-footer",cancelButtonType:"default",onCancel:()=>this.onLeftFooterClick(),cancelText:f,onSubmit:()=>this.onSubmit(),submitText:this.context.t("confirm"),buttonSizeLarge:!1})))}}n.default=T,v(T,"propTypes",{approvePermissionsRequest:a.default.func.isRequired,rejectPermissionsRequest:a.default.func.isRequired,selectedAccounts:a.default.array,allAccountsSelected:a.default.bool,currentPermissions:a.default.object,snapsInstallPrivacyWarningShown:a.default.bool.isRequired,setSnapsInstallPrivacyWarningShownStatus:a.default.func,request:a.default.object,requestMetadata:a.default.object,targetSubjectMetadata:a.default.shape({name:a.default.string,origin:a.default.string.isRequired,subjectType:a.default.string.isRequired,extensionId:a.default.string,iconUrl:a.default.string}),history:a.default.object.isRequired,connectPath:a.default.string.isRequired}),v(T,"defaultProps",{request:{},requestMetadata:{},selectedAccounts:[],allAccountsSelected:!1,currentPermissions:{}}),v(T,"contextTypes",{t:a.default.func,trackEvent:a.default.func})}}},{package:"$root$",file:"ui/components/app/permission-page-container/permission-page-container.component.js"}],[4736,{"../../../selectors":5987,"./permission-page-container.component":4735,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=e("react-redux"),o=e("../../../selectors"),i=(a=e("./permission-page-container.component"))&&a.__esModule?a:{default:a};n.default=(0,r.connect)(((e,t)=>{var n;const{selectedAccounts:a}=t,r=(0,o.getPermissions)(e,null===(n=t.request.metadata)||void 0===n?void 0:n.origin),i=(0,o.getInternalAccounts)(e);return{allInternalAccountsSelected:Object.keys(a).length===Object.keys(i).length&&a.length>1,currentPermissions:r}}))(i.default)}}},{package:"$root$",file:"ui/components/app/permission-page-container/permission-page-container.container.js"}],[4737,{"./permissions-connect-footer.component":4738},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./permissions-connect-footer.component"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/permissions-connect-footer/index.js"}],[4738,{"../../../helpers/constants/design-system":5355,"../../../helpers/constants/zendesk-url":5368,"../../component-library":4955,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r,o,i=p(e("prop-types")),s=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=d(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),l=p(e("../../../helpers/constants/zendesk-url")),c=e("../../../helpers/constants/design-system"),u=e("../../component-library");function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(d=function(e){return e?n:t})(e)}function p(e){return e&&e.__esModule?e:{default:e}}class f extends s.Component{render(){const{t:e}=this.context;return s.default.createElement(u.Box,{display:c.Display.Flex,alignItems:c.AlignItems.center,justifyContent:c.JustifyContent.center},s.default.createElement(u.Text,{variant:c.TextVariant.bodyMd},e("onlyConnectTrust",[s.default.createElement(u.ButtonLink,{key:"permission-connect-footer-learn-more-link",size:u.ButtonLinkSize.Inherit,target:"_blank",onClick:()=>{global.platform.openTab({url:l.default.USER_GUIDE_DAPPS})}},e("learnMoreUpperCase"))])))}}n.default=f,a=f,r="contextTypes",o={t:i.default.func},(r=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(r))in a?Object.defineProperty(a,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):a[r]=o}}},{package:"$root$",file:"ui/components/app/permissions-connect-footer/permissions-connect-footer.component.js"}],[4739,{"./permissions-connect-header.component":4740},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./permissions-connect-header.component"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/permissions-connect-header/index.js"}],[4740,{"../../../helpers/constants/design-system":5355,"../../ui/box":5194,"../../ui/site-origin":5292,"@metamask/permission-controller":1624,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=d(e("prop-types")),r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=u(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=d(e("classnames")),i=e("@metamask/permission-controller"),s=d(e("../../ui/site-origin")),l=d(e("../../ui/box")),c=e("../../../helpers/constants/design-system");function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(u=function(e){return e?n:t})(e)}function d(e){return e&&e.__esModule?e:{default:e}}function p(){return p=Object.assign?Object.assign.bind():function(e){for(var t=1;tfunction(e,t,n){return a.default.createElement(u.default,{permissionName:e.name,title:e.label,description:e.description,weight:e.weight,avatarIcon:e.leftIcon,key:`${e.permissionName}-${t}`,accounts:n})}(e,t,n))))}f.propTypes={permissions:r.default.object.isRequired,subjectName:r.default.string.isRequired,accounts:r.default.arrayOf(r.default.object)}}}},{package:"$root$",file:"ui/components/app/permissions-connect-permission-list/permissions-connect-permission-list.js"}],[4743,{"../../../../app/scripts/lib/util":120,"../../../../shared/constants/app":4493,"../../../../shared/constants/time":4518,"../../../helpers/utils/webcam-utils":5400,"../../../hooks/useI18nContext":5427,"../../ui/page-container/page-container-footer/page-container-footer.component":5277,"./enhanced-reader":4744,"@ngraveio/bc-ur":2308,loglevel:3842,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=h(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=m(e("loglevel")),o=e("@ngraveio/bc-ur"),i=m(e("prop-types")),s=e("../../../../app/scripts/lib/util"),l=e("../../../../shared/constants/app"),c=m(e("../../../helpers/utils/webcam-utils")),u=m(e("../../ui/page-container/page-container-footer/page-container-footer.component")),d=e("../../../hooks/useI18nContext"),p=e("../../../../shared/constants/time"),f=m(e("./enhanced-reader"));function m(e){return e&&e.__esModule?e:{default:e}}function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(h=function(e){return e?n:t})(e)}const g="ACCESSING_CAMERA",y="NEED_TO_ALLOW_ACCESS",b="READY",v=({isReadingWallet:e,handleCancel:t,handleSuccess:n,setErrorTitle:i})=>{const m=(0,d.useI18nContext)(),[h,v]=(0,a.useState)(g),[T,E]=(0,a.useState)(null),[w,x]=(0,a.useState)(new o.URDecoder),[_,O]=(0,a.useState)(0);let S=null;const C=(0,a.useRef)(!1),k=async()=>{try{const{environmentReady:e}=await c.default.checkStatus();if(!e&&(0,s.getEnvironmentType)()!==l.ENVIRONMENT_TYPE_FULLSCREEN){const e=new URL(window.location.href).hash,t=e?e.substring(1):null;global.platform.openExtensionInBrowser(t)}}catch(e){C.current&&E(e)}return M()},I=async()=>{try{const{permissions:e}=await c.default.checkStatus();if(e){if(await new Promise((e=>setTimeout(e,2*p.SECOND))),!C.current)return;v(b)}else C.current&&(S=setTimeout(I,p.SECOND),v(y))}catch(e){C.current&&E(e)}},N=t=>{try{if(!t)return;if(w.receivePart(t),O(w.estimatedPercentComplete()),w.isComplete()){const e=w.resultUR();n(e).catch(E)}}catch(t){i(m(e?"QRHardwareUnknownQRCodeTitle":"QRHardwareInvalidTransactionTitle")),E(new Error(m("unknownQrCode")))}},M=()=>{try{I()}catch(e){if(!C.current)return;"NotAllowedError"===e.name?(r.default.info(`Permission denied: '${e}'`),v(y)):E(e)}};(0,a.useEffect)((()=>(C.current=!0,k(),()=>{C.current=!1,clearTimeout(S)})),[]),(0,a.useEffect)((()=>{h===b?M():h===y&&I()}),[h]);const P=()=>{clearTimeout(S),v(g),E(null),x(new o.URDecoder),O(0),k()};return a.default.createElement("div",{className:"qr-scanner"},T?(()=>{let n,r;return"NO_WEBCAM_FOUND"===T.type?(n=m("noWebcamFoundTitle"),r=m("noWebcamFound")):T.message===m("unknownQrCode")?r=m(e?"QRHardwareUnknownWalletQRCode":"unknownQrCode"):T.message===m("QRHardwareMismatchedSignId")?r=m("QRHardwareMismatchedSignId"):(n=m("generalCameraErrorTitle"),r=m("generalCameraError")),a.default.createElement(a.default.Fragment,null,a.default.createElement("div",{className:"qr-scanner__image"},a.default.createElement("img",{src:"images/webcam.svg",width:"70",height:"70",alt:""})),n?a.default.createElement("div",{className:"qr-scanner__title"},n):null,a.default.createElement("div",{className:"qr-scanner__error","data-testid":"qr-scanner__error"},r),a.default.createElement(u.default,{onCancel:()=>{i(""),t()},onSubmit:()=>{i(""),P()},cancelText:m("cancel"),submitText:m("tryAgain"),submitButtonType:"confirm"}))})():(()=>{let e;return h===g?e=m("accessingYourCamera"):h===b?e=m("QRHardwareScanInstructions"):h===y&&(e=m("youNeedToAllowCameraAccess")),a.default.createElement(a.default.Fragment,null,a.default.createElement("div",{className:"qr-scanner__content"},a.default.createElement(f.default,{handleScan:N})),_>0&&a.default.createElement("div",{className:"qr-scanner__progress","data-testid":"qr-reader-progress-bar",style:{"--progress":`${Math.floor(100*_)}%`}}),e&&a.default.createElement("div",{className:"qr-scanner__status"},e))})())};v.propTypes={isReadingWallet:i.default.bool.isRequired,handleCancel:i.default.func.isRequired,handleSuccess:i.default.func.isRequired,setErrorTitle:i.default.func.isRequired};n.default=v}}},{package:"$root$",file:"ui/components/app/qr-hardware-popover/base-reader.js"}],[4744,{"../../../../shared/constants/time":4518,"../../ui/spinner":5294,"@zxing/browser":2651,"@zxing/library":2870,loglevel:3842,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=d(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=e("@zxing/library"),o=e("@zxing/browser"),i=u(e("loglevel")),s=u(e("prop-types")),l=e("../../../../shared/constants/time"),c=u(e("../../ui/spinner"));function u(e){return e&&e.__esModule?e:{default:e}}function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(d=function(e){return e?n:t})(e)}const p=({handleScan:e})=>{const[t,n]=(0,a.useState)(!1),s=(0,a.useMemo)((()=>{const e=new Map;return e.set(r.DecodeHintType.POSSIBLE_FORMATS,[r.BarcodeFormat.QR_CODE]),new o.BrowserQRCodeReader(e,{delayBetweenScanAttempts:100*l.MILLISECOND,delayBetweenScanSuccess:100*l.MILLISECOND})}),[]);return(0,a.useEffect)((()=>{const t=document.getElementById("video"),a=()=>{n(!0)};t.addEventListener("canplay",a);const r=s.decodeFromVideoDevice(undefined,"video",(t=>{t&&e(t.getText())}));return()=>{t.removeEventListener("canplay",a),r.then((e=>{e&&e.stop()})).catch(i.default.info)}}),[]),a.default.createElement("div",{className:"qr-scanner__content__video-wrapper"},a.default.createElement("video",{id:"video",style:{display:t?"block":"none",width:"100%",filter:"blur(4px)"}}),t?null:a.default.createElement(c.default,{color:"var(--color-warning-default)"}))};p.propTypes={handleScan:s.default.func.isRequired};n.default=p}}},{package:"$root$",file:"ui/components/app/qr-hardware-popover/enhanced-reader.js"}],[4745,{"./qr-hardware-popover":4746},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=(a=e("./qr-hardware-popover"))&&a.__esModule?a:{default:a};n.default=r.default}}},{package:"$root$",file:"ui/components/app/qr-hardware-popover/index.js"}],[4746,{"../../../hooks/useI18nContext":5427,"../../../selectors":5987,"../../../store/actions":5998,"../../ui/popover":5281,"./qr-hardware-sign-request":4747,"./qr-hardware-wallet-importer":4751,"eth-rpc-errors":3257,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=e("react-redux"),o=e("eth-rpc-errors"),i=e("../../../selectors"),s=p(e("../../ui/popover")),l=e("../../../hooks/useI18nContext"),c=e("../../../store/actions"),u=p(e("./qr-hardware-wallet-importer")),d=p(e("./qr-hardware-sign-request"));function p(e){return e&&e.__esModule?e:{default:e}}function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}n.default=()=>{var e;const t=(0,l.useI18nContext)(),n=(0,r.useSelector)(i.getCurrentQRHardwareState),{sync:p,sign:f}=n,m=null==p?void 0:p.reading,h=null==f?void 0:f.request,g=m||h,[y,b]=(0,a.useState)(""),{txData:v}=(0,r.useSelector)((e=>e.confirmTransaction)),T=(0,a.useMemo)((()=>v),[null==f||null===(e=f.request)||void 0===e?void 0:e.requestId]),E=(0,r.useDispatch)(),w=(0,a.useCallback)((()=>E((0,c.cancelSyncQRHardware)())),[E]),x=(0,a.useCallback)((()=>{E((0,c.rejectPendingApproval)(T.id,(0,o.serializeError)(o.ethErrors.provider.userRejectedRequest()))),E((0,c.cancelTx)(T)),E((0,c.cancelQRHardwareSignRequest)())}),[E,T]),_=(0,a.useMemo)((()=>{let e="";return h?e=t("QRHardwareSignRequestTitle"):m&&(e=t("QRHardwareWalletImporterTitle")),""!==y&&(e=y),e}),[h,m,t,y]);return g?a.default.createElement(s.default,{title:_,onClose:m?w:x},m&&a.default.createElement(u.default,{handleCancel:w,setErrorTitle:b}),h&&a.default.createElement(d.default,{setErrorTitle:b,handleCancel:x,request:f.request})):null}}}},{package:"$root$",file:"ui/components/app/qr-hardware-popover/qr-hardware-popover.js"}],[4747,{"./qr-hardware-sign-request.component":4749},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=(a=e("./qr-hardware-sign-request.component"))&&a.__esModule?a:{default:a};n.default=r.default}}},{package:"$root$",file:"ui/components/app/qr-hardware-popover/qr-hardware-sign-request/index.js"}],[4748,{"../../../../helpers/constants/design-system":5355,"../../../../hooks/useI18nContext":5427,"../../../component-library":4955,"../../../ui/page-container":5275,"@ngraveio/bc-ur":2308,buffer:3028,"prop-types":3997,"qrcode.react":4057,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){(function(t){(function(){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=p(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=d(e("qrcode.react")),o=e("@ngraveio/bc-ur"),i=d(e("prop-types")),s=e("../../../../hooks/useI18nContext"),l=e("../../../../helpers/constants/design-system"),c=e("../../../ui/page-container"),u=e("../../../component-library");function d(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(p=function(e){return e?n:t})(e)}const f=({type:e,cbor:n,cancelQRHardwareSignRequest:i,toRead:d})=>{const p=(0,s.useI18nContext)(),f=(0,a.useMemo)((()=>new o.UREncoder(new o.UR(t.from(n,"hex"),e),200)),[n,e]),[m,h]=(0,a.useState)(f.nextPart());return(0,a.useEffect)((()=>{const e=setInterval((()=>{h(f.nextPart())}),100);return()=>{clearInterval(e)}}),[f]),a.default.createElement(a.default.Fragment,null,a.default.createElement(u.Box,null,a.default.createElement(u.Text,{align:l.TextAlign.Center},p("QRHardwareSignRequestSubtitle"))),a.default.createElement(u.Box,{paddingTop:4,paddingBottom:4,display:l.Display.Flex,alignItems:l.AlignItems.center,flexDirection:l.FlexDirection.Column},a.default.createElement("div",{style:{padding:20,backgroundColor:"var(--qr-code-white-background)"}},a.default.createElement(r.default,{value:m.toUpperCase(),size:250}))),a.default.createElement(u.Box,{paddingBottom:4,paddingLeft:4,paddingRight:4},a.default.createElement(u.Text,{align:l.TextAlign.Center},p("QRHardwareSignRequestDescription"))),a.default.createElement(c.PageContainerFooter,{onCancel:i,onSubmit:d,cancelText:p("QRHardwareSignRequestCancel"),submitText:p("QRHardwareSignRequestGetSignature"),submitButtonType:"confirm"}))};f.propTypes={type:i.default.string.isRequired,cbor:i.default.string.isRequired,cancelQRHardwareSignRequest:i.default.func.isRequired,toRead:i.default.func.isRequired};n.default=f}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"$root$",file:"ui/components/app/qr-hardware-popover/qr-hardware-sign-request/player.js"}],[4749,{"../../../../store/actions":5998,"./player":4748,"./reader":4750,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=l(e("prop-types")),o=e("../../../../store/actions"),i=l(e("./player")),s=l(e("./reader"));function l(e){return e&&e.__esModule?e:{default:e}}function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}const u=({request:e,handleCancel:t,setErrorTitle:n})=>{const[r,l]=(0,a.useState)("play"),c=(0,a.useCallback)((()=>l("read")),[]);return"play"===r?(()=>{const{payload:n}=e;return a.default.createElement(i.default,{type:n.type,cbor:n.cbor,cancelQRHardwareSignRequest:t,toRead:c})})():a.default.createElement(s.default,{cancelQRHardwareSignRequest:t,submitQRHardwareSignature:o.submitQRHardwareSignature,requestId:e.requestId,setErrorTitle:n})};u.propTypes={request:r.default.object.isRequired,handleCancel:r.default.func.isRequired,setErrorTitle:r.default.func.isRequired};n.default=u}}},{package:"$root$",file:"ui/components/app/qr-hardware-popover/qr-hardware-sign-request/qr-hardware-sign-request.component.js"}],[4750,{"../../../../hooks/useI18nContext":5427,"../base-reader":4743,"@keystonehq/bc-ur-registry-eth":581,"prop-types":3997,react:4243,uuid:4424},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=u(e("react")),r=e("@keystonehq/bc-ur-registry-eth"),o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("uuid")),i=u(e("prop-types")),s=u(e("../base-reader")),l=e("../../../../hooks/useI18nContext");function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}function u(e){return e&&e.__esModule?e:{default:e}}const d=({submitQRHardwareSignature:e,cancelQRHardwareSignRequest:t,requestId:n,setErrorTitle:i})=>{const c=(0,l.useI18nContext)();return a.default.createElement(s.default,{isReadingWallet:!1,handleCancel:()=>{t()},handleSuccess:async t=>{if("eth-signature"===t.type){const a=r.ETHSignature.fromCBOR(t.cbor).getRequestId(),s=o.stringify(a);if(s===n)return await e(s,t.cbor.toString("hex"));throw i(c("QRHardwareInvalidTransactionTitle")),new Error(c("QRHardwareMismatchedSignId"))}throw i(c("QRHardwareInvalidTransactionTitle")),new Error(c("unknownQrCode"))},setErrorTitle:i})};d.propTypes={submitQRHardwareSignature:i.default.func.isRequired,cancelQRHardwareSignRequest:i.default.func.isRequired,requestId:i.default.string.isRequired,setErrorTitle:i.default.func.isRequired};n.default=d}}},{package:"$root$",file:"ui/components/app/qr-hardware-popover/qr-hardware-sign-request/reader.js"}],[4751,{"./qr-hardware-wallet-importer.component":4752},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=(a=e("./qr-hardware-wallet-importer.component"))&&a.__esModule?a:{default:a};n.default=r.default}}},{package:"$root$",file:"ui/components/app/qr-hardware-popover/qr-hardware-wallet-importer/index.js"}],[4752,{"../../../../hooks/useI18nContext":5427,"../../../../store/actions":5998,"../base-reader":4743,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=l(e("react")),r=l(e("prop-types")),o=e("../../../../store/actions"),i=l(e("../base-reader")),s=e("../../../../hooks/useI18nContext");function l(e){return e&&e.__esModule?e:{default:e}}const c=({handleCancel:e,setErrorTitle:t})=>{const n=(0,s.useI18nContext)();return a.default.createElement(i.default,{isReadingWallet:!0,handleCancel:e,handleSuccess:async e=>{if("crypto-hdkey"===e.type)return await(0,o.submitQRHardwareCryptoHDKey)(e.cbor.toString("hex"));if("crypto-account"===e.type)return await(0,o.submitQRHardwareCryptoAccount)(e.cbor.toString("hex"));throw t(n("QRHardwareUnknownQRCodeTitle")),new Error(n("unknownQrCode"))},setErrorTitle:t})};c.propTypes={handleCancel:r.default.func.isRequired,setErrorTitle:r.default.func.isRequired};n.default=c}}},{package:"$root$",file:"ui/components/app/qr-hardware-popover/qr-hardware-wallet-importer/qr-hardware-wallet-importer.component.js"}],[4753,{"./recovery-phrase-reminder":4754},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./recovery-phrase-reminder"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/recovery-phrase-reminder/index.js"}],[4754,{"../../../helpers/constants/design-system":5355,"../../../helpers/constants/routes":5361,"../../../hooks/useI18nContext":5427,"../../component-library":4955,"../../ui/box":5194,"../../ui/button":5198,"../../ui/popover":5281,"prop-types":3997,react:4243,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=m;var a=f(e("react")),r=f(e("prop-types")),o=e("react-router-dom"),i=e("../../../hooks/useI18nContext"),s=f(e("../../ui/box")),l=f(e("../../ui/button")),c=f(e("../../ui/popover")),u=e("../../../helpers/constants/design-system"),d=e("../../../helpers/constants/routes"),p=e("../../component-library");function f(e){return e&&e.__esModule?e:{default:e}}function m({onConfirm:e,hasBackedUp:t}){const n=(0,i.useI18nContext)(),r=(0,o.useHistory)();return a.default.createElement(c.default,{centerTitle:!0,title:n("recoveryPhraseReminderTitle")},a.default.createElement(s.default,{paddingRight:4,paddingBottom:6,paddingLeft:4,className:"recovery-phrase-reminder"},a.default.createElement(p.Text,{color:u.TextColor.textDefault,align:u.TextAlign.Center,variant:u.TextVariant.bodyMd,marginBottom:4},n("recoveryPhraseReminderSubText")),a.default.createElement(s.default,{marginTop:4,marginBottom:8},a.default.createElement("ul",{className:"recovery-phrase-reminder__list"},a.default.createElement(p.Text,{as:"li",color:u.TextColor.textDefault,fontWeight:u.FontWeight.Bold},n("recoveryPhraseReminderItemOne")),a.default.createElement(p.Text,{as:"li"},n("recoveryPhraseReminderItemTwo")),a.default.createElement(p.Text,{as:"li"},t?n("recoveryPhraseReminderHasBackedUp"):a.default.createElement(a.default.Fragment,null,n("recoveryPhraseReminderHasNotBackedUp"),a.default.createElement(s.default,{display:u.DISPLAY.INLINE_BLOCK,marginLeft:1},a.default.createElement(l.default,{type:"link",onClick:()=>{r.push(d.ONBOARDING_UNLOCK_ROUTE)},style:{fontSize:"inherit",padding:0}},n("recoveryPhraseReminderBackupStart"))))))),a.default.createElement(s.default,{justifyContent:u.JustifyContent.center},a.default.createElement(s.default,{width:u.BLOCK_SIZES.TWO_FIFTHS},a.default.createElement(l.default,{type:"primary",onClick:e},n("recoveryPhraseReminderConfirm"))))))}m.propTypes={hasBackedUp:r.default.bool.isRequired,onConfirm:r.default.func.isRequired}}}},{package:"$root$",file:"ui/components/app/recovery-phrase-reminder/recovery-phrase-reminder.js"}],[4755,{"./reveal-SRP-modal":4756},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./reveal-SRP-modal"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/reveal-SRP-modal/index.js"}],[4756,{"../../../helpers/constants/design-system":5355,"../../../hooks/useI18nContext":5427,"../../../store/actions":5998,"../../component-library":4955,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=d;var a,r=(a=e("prop-types"))&&a.__esModule?a:{default:a},o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=u(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),i=e("../../../helpers/constants/design-system"),s=e("../../../hooks/useI18nContext"),l=e("../../../store/actions"),c=e("../../component-library");function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(u=function(e){return e?n:t})(e)}function d({setSecretRecoveryPhrase:e,onClose:t,isOpen:n}){const a=(0,s.useI18nContext)(),[r,u]=(0,o.useState)(""),d=(0,o.useCallback)((async t=>{const n=await(0,l.getSeedPhrase)(t);e(n)}),[e]);return o.default.createElement(c.Modal,{isOpen:n,onClose:t,"data-testid":"reveal-srp-modal"},o.default.createElement(c.ModalOverlay,null),o.default.createElement(c.ModalContent,null,o.default.createElement(c.ModalHeader,{onClose:t},a("revealSeedWords")),o.default.createElement(c.Box,{paddingLeft:4,paddingRight:4},o.default.createElement("form",{onSubmit:e=>{e.preventDefault(),d(r)}},o.default.createElement(c.FormTextField,{marginTop:6,id:"account-details-authenticate",label:a("enterYourPassword"),placeholder:a("password"),onChange:e=>u(e.target.value),value:r,variant:i.TextVariant.bodySm,type:"password",labelProps:{fontWeight:i.FontWeight.Medium},autoFocus:!0})),o.default.createElement(c.Box,{display:i.Display.Flex,marginTop:6,gap:2},o.default.createElement(c.ButtonSecondary,{onClick:t,block:!0},a("cancel")),o.default.createElement(c.ButtonPrimary,{onClick:()=>d(r),disabled:""===r,block:!0},a("confirm"))))))}d.propTypes={setSecretRecoveryPhrase:r.default.func.isRequired,onClose:r.default.func.isRequired,isOpen:r.default.bool.isRequired}}}},{package:"$root$",file:"ui/components/app/reveal-SRP-modal/reveal-SRP-modal.js"}],[4757,{"../../../../shared/constants/smartTransactions":4514,"../../../helpers/constants/design-system":5355,"../../../hooks/useI18nContext":5427,"../../../store/actions":5998,"../../component-library":4955,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function({isOpen:e,hideWhatsNewPopup:t}){const n=(0,o.useI18nContext)(),c=(0,r.useDispatch)(),u=(0,a.useCallback)((()=>{c((0,l.setSmartTransactionsOptInStatus)(!0))}),[c]),d=(0,a.useCallback)((()=>{c((0,l.setSmartTransactionsOptInStatus)(!1))}),[c]);return(0,a.useEffect)((()=>{e&&t()}),[e,t]),a.default.createElement(s.Modal,{isOpen:e,onClose:u,isClosedOnOutsideClick:!1,isClosedOnEscapeKey:!1,className:"mm-modal__custom-scrollbar mm-smart-transactions-opt-in-modal",autoFocus:!1},a.default.createElement(s.ModalOverlay,null),a.default.createElement(s.ModalContent,null,a.default.createElement(s.ModalHeader,{alignItems:i.AlignItems.center,justifyContent:i.JustifyContent.center},n("smartTransactionsOptItModalTitle")),a.default.createElement(s.Box,{display:i.Display.Flex,flexDirection:i.FlexDirection.Column,paddingLeft:4,paddingRight:4},a.default.createElement(g,null),a.default.createElement(m,null),a.default.createElement(p,{handleEnableButtonClick:u}),a.default.createElement(f,{handleNoThanksLinkClick:d}))))};var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=u(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=e("react-redux"),o=e("../../../hooks/useI18nContext"),i=e("../../../helpers/constants/design-system"),s=e("../../component-library"),l=e("../../../store/actions"),c=e("../../../../shared/constants/smartTransactions");function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(u=function(e){return e?n:t})(e)}const d=()=>{const e=(0,o.useI18nContext)();return a.default.createElement(s.ButtonLink,{size:s.ButtonLinkSize.Inherit,textProps:{variant:i.TextVariant.bodyMd,alignItems:i.AlignItems.flexStart},as:"a",href:c.SMART_TRANSACTIONS_LEARN_MORE_URL,target:"_blank",rel:"noopener noreferrer"},e("learnMoreUpperCaseWithDot"))},p=({handleEnableButtonClick:e})=>{const t=(0,o.useI18nContext)();return a.default.createElement(s.Button,{marginTop:8,variant:s.ButtonVariant.Primary,onClick:e,width:i.BlockSize.Full},t("enable"))},f=({handleNoThanksLinkClick:e})=>{const t=(0,o.useI18nContext)();return a.default.createElement(s.Button,{marginTop:2,type:"link",variant:s.ButtonVariant.Link,color:i.TextColor.textAlternative,onClick:e,width:i.BlockSize.Full,className:"mm-smart-transactions-opt-in-modal__no-thanks-link"},t("noThanks"))},m=()=>{const e=(0,o.useI18nContext)();return a.default.createElement(s.Box,{display:i.Display.Flex,flexDirection:i.FlexDirection.Column},a.default.createElement(s.Text,{variant:i.TextVariant.bodyMd,marginTop:4},e("smartTransactionsDescription")),a.default.createElement(s.Text,{variant:i.TextVariant.bodyMd,marginTop:4},e("smartTransactionsDescription2",[a.default.createElement(d,null)])))},h=({text:e,iconName:t})=>a.default.createElement(s.Box,{display:i.Display.Flex,flexDirection:i.FlexDirection.Column,className:"mm-smart-transactions-opt-in-modal__benefit",textAlign:i.TextAlign.Center,alignItems:i.AlignItems.center,justifyContent:i.JustifyContent.flexStart},a.default.createElement(s.Icon,{name:t,color:i.IconColor.primaryDefault,className:"mm-smart-transactions-opt-in-modal__icon"}),a.default.createElement(s.Text,{variant:i.TextVariant.bodySm,fontWeight:i.FontWeight.Medium,marginTop:1},e)),g=()=>{const e=(0,o.useI18nContext)();return a.default.createElement(s.Box,{display:i.Display.Flex,flexDirection:i.FlexDirection.Row,justifyContent:i.JustifyContent.center,marginTop:4,paddingLeft:5,paddingRight:5},a.default.createElement(h,{text:e("smartTransactionsBenefit1"),iconName:s.IconName.Confirmation}),a.default.createElement(h,{text:e("smartTransactionsBenefit2"),iconName:s.IconName.Coin}),a.default.createElement(h,{text:e("smartTransactionsBenefit3"),iconName:s.IconName.Clock}))}}}},{package:"$root$",file:"ui/components/app/smart-transactions/smart-transactions-opt-in-modal.tsx"}],[4758,{"../../../../../shared/constants/time":4518,"../../../../helpers/constants/design-system":5355,"../../../../hooks/useCopyToClipboard":5417,"../../../../hooks/useI18nContext":5427,"../../../../hooks/useTimeout":5443,"../../../component-library":4955,"../../../ui/tooltip":5310,"../show-more":4766,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.Copyable=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=h(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=m(e("prop-types")),o=m(e("classnames")),i=e("../../../../helpers/constants/design-system"),s=e("../../../../hooks/useCopyToClipboard"),l=e("../../../component-library"),c=e("../../../../hooks/useI18nContext"),u=m(e("../../../ui/tooltip")),d=e("../show-more"),p=e("../../../../../shared/constants/time"),f=e("../../../../hooks/useTimeout");function m(e){return e&&e.__esModule?e:{default:e}}function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(h=function(e){return e?n:t})(e)}const g=({text:e,sensitive:t=!1,marginTop:n,marginBottom:r})=>{const m=(0,c.useI18nContext)(),[,h]=(0,s.useCopyToClipboard)(),[g,y]=(0,a.useState)(!t),[b,v]=(0,a.useState)(!1),T=(0,f.useTimeout)((()=>v(!1)),3*p.SECOND,!1),E=e=>{e.stopPropagation(),y((e=>!e))};return a.default.createElement(l.Box,{display:i.Display.Flex,onClick:t&&!g?E:t=>{t.stopPropagation(),h(e),v(!0),T()},className:(0,o.default)("copyable",{sensitive:t,clicked:b,visible:g}),backgroundColor:g&&t?i.BackgroundColor.errorMuted:i.BackgroundColor.backgroundAlternative,borderRadius:i.BorderRadius.LG,padding:2,marginTop:n,marginBottom:r},t&&a.default.createElement(l.Box,{marginRight:2,className:"copyable__icon"},a.default.createElement(u.default,{wrapperClassName:"copyable__tooltip",html:a.default.createElement(l.Text,null,m(g?"hideSentitiveInfo":"doNotShare")),position:"bottom"},a.default.createElement(l.Icon,{name:g?l.IconName.EyeSlash:l.IconName.Eye,onClick:E,color:g&&t?i.Color.errorAlternative:i.IconColor.iconAlternative,"data-testid":"reveal-icon"}))),t&&!g&&a.default.createElement(l.Text,{color:i.Color.textAlternative,marginRight:2,marginBottom:0,overflowWrap:i.OverflowWrap.Anywhere},m("revealSensitiveContent")),g&&a.default.createElement(d.ShowMore,{marginRight:2,buttonBackground:g&&t?i.BackgroundColor.errorMuted:i.BackgroundColor.backgroundAlternative},a.default.createElement(l.Text,{color:g&&t?i.Color.errorAlternative:i.TextColor.textAlternative,marginBottom:0,overflowWrap:i.OverflowWrap.Anywhere},e)),g&&a.default.createElement(l.Icon,{className:"copyable__icon",name:b?l.IconName.CopySuccess:l.IconName.Copy,color:g&&t?i.Color.errorAlternative:i.IconColor.iconAlternative,marginLeft:"auto","data-testid":"copy-icon"}))};n.Copyable=g,g.propTypes={text:r.default.string,sensitive:r.default.bool,marginTop:r.default.number,marginBottom:r.default.number}}}},{package:"$root$",file:"ui/components/app/snaps/copyable/copyable.js"}],[4759,{"./copyable":4758},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"Copyable",{enumerable:!0,get:function(){return a.Copyable}});var a=e("./copyable")}}},{package:"$root$",file:"ui/components/app/snaps/copyable/index.js"}],[4760,{"./insight-warnings":4761},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./insight-warnings"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/snaps/insight-warnings/index.js"}],[4761,{"../../../../helpers/constants/design-system":5355,"../../../../helpers/constants/snaps":5364,"../../../../helpers/utils/util":5399,"../../../../hooks/useI18nContext":5427,"../../../component-library":4955,"../snap-ui-renderer":4831,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=f;var a,r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=p(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=(a=e("prop-types"))&&a.__esModule?a:{default:a},i=e("../../../component-library"),s=e("../../../../helpers/constants/design-system"),l=e("../../../../hooks/useI18nContext"),c=e("../snap-ui-renderer"),u=e("../../../../helpers/constants/snaps"),d=e("../../../../helpers/utils/util");function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(p=function(e){return e?n:t})(e)}function f({warnings:e,action:t="confirming",origin:n,onCancel:a,onSubmit:o}){const p=(0,l.useI18nContext)(),f=e.reduce(((e,t,n)=>(e[t.snapId]=0!==n,e)),{}),[m,h]=(0,r.useState)(f),[g,y]=(0,r.useState)(!1),b=()=>{const t=e.length-1;return r.default.createElement(i.Box,{className:"insights-warnings-modal__content"},e.map(((n,a)=>{const{snapId:o,id:i}=n;return r.default.createElement(c.SnapUIRenderer,{key:`${o}-${a}`,snapId:o,interfaceId:i,delineatorType:u.DelineatorType.Warning,onClick:()=>(t=>{let n={...m};const a=!m[t],r=a;n[t]=a,r||(n={...f},n[t]=!1,n[e[0].snapId]=t!==e[0].snapId),h(n)})(o),isCollapsable:!0,isCollapsed:m[o],boxProps:{marginBottom:a===t?0:4}})})))};return r.default.createElement(i.Modal,{isOpen:!0,isClosedOnEscapeKey:!1,isClosedOnOutsideClick:!1,className:"insights-warnings-modal"},r.default.createElement(i.ModalOverlay,null),r.default.createElement(i.ModalContent,null,r.default.createElement(i.ModalHeader,{justifyContent:s.JustifyContent.center,childrenWrapperProps:{alignItems:s.AlignItems.center,display:s.Display.Flex,flexDirection:s.FlexDirection.Column}},r.default.createElement(i.AvatarIcon,{iconName:i.IconName.Warning,size:i.AvatarIconSize.Lg,color:s.IconColor.errorDefault,backgroundColor:s.BackgroundColor.errorMuted}),r.default.createElement(i.Text,{variant:s.TextVariant.headingMd,paddingTop:4,paddingBottom:4},p("insightWarningHeader"))),r.default.createElement(i.ModalBody,null,r.default.createElement(i.Text,{variant:s.TextVariant.bodyMd,paddingBottom:4},1===e.length?p("insightWarningContentSingular",[r.default.createElement(i.Text,{variant:s.TextVariant.inherit,key:e.id,fontWeight:s.FontWeight.Medium},`${e.length} ${p("insightWarning")}`),t,u.InsightWarningLanguage[t].noun]):p("insightWarningContentPlural",[r.default.createElement(i.Text,{variant:s.TextVariant.inherit,key:e.id,fontWeight:s.FontWeight.Medium},`${e.length} ${p("insightWarnings")}`),e.length,t,u.InsightWarningLanguage[t].noun])),r.default.createElement(b,null),r.default.createElement(i.Box,{display:s.Display.Flex,justifyContent:s.JustifyContent.flexStart,alignItems:s.AlignItems.center,marginTop:4,marginBottom:4,padding:4,borderRadius:s.BorderRadius.SM,style:{backgroundColor:g?"var(--color-info-muted)":"var(--color-background-default-hover)"}},r.default.createElement(i.Checkbox,{variant:s.TextVariant.bodyMd,isChecked:g,onChange:()=>y((e=>!e)),label:p("insightWarningCheckboxMessage",[p(u.InsightWarningLanguage[t].imperative),r.default.createElement(i.Text,{variant:s.TextVariant.inherit,key:t,fontWeight:s.FontWeight.Medium},(0,d.stripHttpSchemes)(n))])})),r.default.createElement(i.Box,{display:s.Display.Flex,justifyContent:s.JustifyContent.spaceBetween},r.default.createElement(i.Button,{size:i.ButtonSecondarySize.Lg,width:s.BlockSize.Half,variant:i.ButtonVariant.Secondary,onClick:a,marginRight:4},p("cancel")),r.default.createElement(i.Button,{size:i.ButtonPrimarySize.Lg,width:s.BlockSize.Half,"data-testid":"snapInsightsButtonConfirm",danger:!0,onClick:o,disabled:!g},p(u.InsightWarningLanguage[t].imperative))))))}f.propTypes={warnings:o.default.arrayOf(o.default.object),action:o.default.oneOf(Object.keys(u.InsightWarningLanguage)),origin:o.default.string.isRequired,onCancel:o.default.func.isRequired,onSubmit:o.default.func.isRequired}}}},{package:"$root$",file:"ui/components/app/snaps/insight-warnings/insight-warnings.js"}],[4762,{"../../../../helpers/constants/design-system":5355,"../../../component-library":4955,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=s(e("react")),r=s(e("prop-types")),o=e("../../../../helpers/constants/design-system"),i=e("../../../component-library");function s(e){return e&&e.__esModule?e:{default:e}}const l=({title:e,error:t,description:n,iconName:r})=>a.default.createElement(i.Box,{display:o.Display.Flex,flexDirection:o.FlexDirection.Column,alignItems:o.AlignItems.center,justifyContent:o.JustifyContent.center,height:o.BlockSize.Full,padding:2},r&&a.default.createElement(i.AvatarIcon,{iconName:r,size:i.AvatarIconSize.Xl,color:o.IconColor.errorDefault,backgroundColor:o.BackgroundColor.errorMuted,marginBottom:4}),a.default.createElement(i.Text,{variant:o.TextVariant.headingLg},e),n&&a.default.createElement(i.Text,{textAlign:o.TextAlign.Center},n),t&&a.default.createElement(i.BannerAlert,{marginTop:4,startAccessory:null,severity:o.Severity.Danger},a.default.createElement(i.Text,{variant:o.TextVariant.bodySm},t)));l.propTypes={title:r.default.node.isRequired,error:r.default.string,description:r.default.string,iconName:r.default.string};n.default=l}}},{package:"$root$",file:"ui/components/app/snaps/install-error/install-error.js"}],[4763,{"./keyring-snap-removal-warning":4765},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./keyring-snap-removal-warning"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/snaps/keyring-snap-removal-warning/hybrid-compute-sdk.ts"}],[4764,{"../../../../../shared/modules/hexstring-utils":4544,"../../../../helpers/constants/design-system":5355,"../../../../hooks/useI18nContext":5427,"../../../component-library":4955,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.KeyringAccountListItem=void 0;var a,r=(a=e("react"))&&a.__esModule?a:{default:a},o=e("../../../component-library"),i=e("../../../../helpers/constants/design-system"),s=e("../../../../../shared/modules/hexstring-utils"),l=e("../../../../hooks/useI18nContext");n.KeyringAccountListItem=({account:e,snapUrl:t})=>{const n=(0,l.useI18nContext)();return r.default.createElement(o.Box,{display:i.Display.Flex,flexDirection:i.FlexDirection.Row,justifyContent:i.JustifyContent.spaceBetween,borderRadius:i.BorderRadius.MD,borderColor:i.BorderColor.borderDefault,padding:3,width:i.BlockSize.Full,"data-testid":"keyring-account-list-item"},r.default.createElement(o.Box,{display:i.Display.Flex,flexDirection:i.FlexDirection.Column,width:i.BlockSize.TenTwelfths},r.default.createElement(o.Box,{flexDirection:i.FlexDirection.Column,marginBottom:2},r.default.createElement(o.Text,{color:i.TextColor.textMuted},n("keyringAccountName")),r.default.createElement(o.Text,null,e.name)),r.default.createElement(o.Box,{flexDirection:i.FlexDirection.Column},r.default.createElement(o.Text,{color:i.TextColor.textMuted},n("keyringAccountPublicAddress")),r.default.createElement(o.Text,{overflowWrap:i.OverflowWrap.Anywhere},(0,s.toChecksumHexAddress)(e.address)))),r.default.createElement(o.Box,{display:i.Display.Flex,flexDirection:i.FlexDirection.Column,justifyContent:i.JustifyContent.center},r.default.createElement(o.ButtonIcon,{ariaLabel:"snap-url-export","data-testid":"keyring-account-link",iconName:o.IconName.Export,color:i.IconColor.primaryDefault,onClick:()=>{global.platform.openTab({url:t})}})))}}}},{package:"$root$",file:"ui/components/app/snaps/keyring-snap-removal-warning/keyring-account-list-item.tsx"}],[4765,{"../../../../ducks/metamask/metamask":5346,"../../../../helpers/constants/design-system":5355,"../../../../hooks/useI18nContext":5427,"../../../component-library":4955,"../../../component-library/modal-content/deprecated":4963,"../../../component-library/modal-header/deprecated":4972,"../../../ui/info-tooltip":5248,"./keyring-account-list-item":4764,"@metamask/etherscan-link":1369,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function({snap:e,keyringAccounts:t,onCancel:n,onClose:a,onSubmit:h,onBack:g,isOpen:y}){const b=(0,d.useI18nContext)(),[v,T]=(0,r.useState)(!1),[E,w]=(0,r.useState)(!1),[x,_]=(0,r.useState)(""),[O,S]=(0,r.useState)(!1),{chainId:C}=(0,i.useSelector)(f.getProviderConfig);(0,r.useEffect)((()=>{T(0===t.length)}),[t]);return r.default.createElement(r.default.Fragment,null,r.default.createElement(s.Modal,{isOpen:y,onClose:a},r.default.createElement(s.ModalOverlay,null),r.default.createElement(l.ModalContent,{modalDialogProps:{display:u.Display.Flex,flexDirection:u.FlexDirection.Column,gap:4}},r.default.createElement(c.ModalHeader,{onBack:()=>{v?T(!1):g()},onClose:()=>{T(!1),a()}},b("removeSnap")),!1===v?r.default.createElement(r.default.Fragment,null,r.default.createElement(s.BannerAlert,{severity:s.BannerAlertSeverity.Warning,className:""},b("backupKeyringSnapReminder")),r.default.createElement(s.Box,{display:u.Display.Flex,justifyContent:u.JustifyContent.spaceBetween},r.default.createElement(s.Text,null,b("removeKeyringSnap")),r.default.createElement(p.default,{contentText:b("removeKeyringSnapToolTip"),position:"top"})),t.map(((e,t)=>r.default.createElement(m.KeyringAccountListItem,{key:t,account:e,snapUrl:(0,o.getAccountLink)(e.address,C)})))):r.default.createElement(r.default.Fragment,null,r.default.createElement(s.Box,{display:u.Display.Flex,flexDirection:u.FlexDirection.Column,marginTop:6},r.default.createElement(s.BannerAlert,{severity:s.BannerAlertSeverity.Warning,className:"",marginBottom:4},b("backupKeyringSnapReminder")),r.default.createElement(s.Text,{marginBottom:4},b("keyringSnapRemoveConfirmation",[r.default.createElement(s.Text,{key:"keyringSnapRemoveConfirmation2",fontWeight:u.FontWeight.Bold,as:"span"},e.manifest.proposedName)])),r.default.createElement(s.TextField,{marginBottom:4,value:x,onChange:t=>{var n;_(t.target.value),w((n=t.target.value,S(!1),n===e.manifest.proposedName||(S(!0),!1)))},onPaste:e=>{e.preventDefault()},error:O,inputProps:{"data-testid":"remove-snap-confirmation-input"}}))),r.default.createElement(s.Box,{width:u.BlockSize.Full,display:u.Display.Flex,gap:4},r.default.createElement(s.Button,{block:!0,variant:s.ButtonVariant.Secondary,size:s.ButtonSize.Lg,onClick:n},b("cancel")),r.default.createElement(s.Button,{block:!0,size:s.ButtonSize.Lg,id:"popoverRemoveSnapButton",danger:v,disabled:v&&!E,onClick:async()=>{v?E&&h():T(!0)}},b(v?"removeSnap":"continue"))))))};var a,r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=h(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=e("@metamask/etherscan-link"),i=e("react-redux"),s=e("../../../component-library"),l=e("../../../component-library/modal-content/deprecated"),c=e("../../../component-library/modal-header/deprecated"),u=e("../../../../helpers/constants/design-system"),d=e("../../../../hooks/useI18nContext"),p=(a=e("../../../ui/info-tooltip"))&&a.__esModule?a:{default:a},f=e("../../../../ducks/metamask/metamask"),m=e("./keyring-account-list-item");function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(h=function(e){return e?n:t})(e)}}}},{package:"$root$",file:"ui/components/app/snaps/keyring-snap-removal-warning/keyring-snap-removal-warning.tsx"}],[4766,{"./show-more":4767},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"ShowMore",{enumerable:!0,get:function(){return a.ShowMore}});var a=e("./show-more")}}},{package:"$root$",file:"ui/components/app/snaps/show-more/index.js"}],[4767,{"../../../../helpers/constants/design-system":5355,"../../../../hooks/snaps/useIsOverflowing":5409,"../../../../hooks/useI18nContext":5427,"../../../component-library":4955,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.ShowMore=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=u(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=c(e("prop-types")),o=c(e("../../../../hooks/snaps/useIsOverflowing")),i=e("../../../component-library"),s=e("../../../../helpers/constants/design-system"),l=e("../../../../hooks/useI18nContext");function c(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(u=function(e){return e?n:t})(e)}function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const n=(0,l.useI18nContext)(),{contentRef:r,isOverflowing:c}=(0,o.default)(),[u,p]=(0,a.useState)(!1),f=c&&!u;return a.default.createElement(i.Box,d({className:"show-more",style:{position:"relative",overflow:"hidden",maxHeight:u?"none":undefined},ref:r},t),e,f&&a.default.createElement(i.Box,{style:{position:"absolute",bottom:0,right:0,background:`linear-gradient(90deg, transparent 0%, var(--color-${s.BackgroundColor.backgroundDefault}) 33%)`}},a.default.createElement(i.Button,{className:"show-more__button",padding:0,paddingLeft:8,variant:i.ButtonVariant.Link,onClick:e=>{e.stopPropagation(),p(!0)}},a.default.createElement(i.Text,{color:s.TextColor.infoDefault},n("more")))))};n.ShowMore=p,p.propTypes={children:r.default.node,buttonBackground:r.default.string}}}},{package:"$root$",file:"ui/components/app/snaps/show-more/show-more.js"}],[4768,{"./snap-authorship-expanded":4769},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./snap-authorship-expanded"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/snaps/snap-authorship-expanded/index.js"}],[4769,{"../../../../helpers/constants/design-system":5355,"../../../../helpers/utils/util":5399,"../../../../hooks/snaps/useSafeWebsite":5410,"../../../../hooks/useI18nContext":5427,"../../../../hooks/useOriginMetadata":5433,"../../../../selectors":5987,"../../../../store/actions":5998,"../../../component-library":4955,"../../../ui/toggle-button":5306,"../../../ui/tooltip/tooltip":5311,"../snap-avatar":4772,"../snap-version/snap-external-pill":4836,"@metamask/snaps-utils":2163,classnames:3049,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=e("@metamask/snaps-utils"),r=T(e("classnames")),o=T(e("prop-types")),i=T(e("react")),s=e("react-redux"),l=e("../../../../helpers/constants/design-system"),c=e("../../../../helpers/utils/util"),u=e("../../../../hooks/useI18nContext"),d=e("../../../../hooks/useOriginMetadata"),p=e("../../../../selectors"),f=e("../../../../store/actions"),m=e("../../../component-library"),h=T(e("../../../ui/toggle-button")),g=T(e("../../../ui/tooltip/tooltip")),y=T(e("../snap-avatar")),b=T(e("../snap-version/snap-external-pill")),v=e("../../../../hooks/snaps/useSafeWebsite");function T(e){return e&&e.__esModule?e:{default:e}}const E=({snapId:e,className:t,snap:n})=>{const o=(0,u.useI18nContext)(),T=(0,s.useDispatch)(),E=e&&(0,a.getSnapPrefix)(e),w=e&&(0,a.stripSnapPrefix)(e),x="npm:"===E,_=null!=n&&n.version?`/v/${null==n?void 0:n.version}`:"",O=x?`https://www.npmjs.com/package/${w}${_}`:w,S=(0,s.useSelector)((t=>(0,p.getSnapRegistryData)(t,e))),{name:C}=(0,s.useSelector)((t=>(0,p.getSnapMetadata)(t,e))),{website:k=undefined}=(null==S?void 0:S.metadata)??{},I=(0,v.useSafeWebsite)(k),N=(null==n?void 0:n.versionHistory)??[],M=N.length?N[N.length-1]:undefined,P=(0,d.useOriginMetadata)(null==M?void 0:M.origin);return i.default.createElement(m.Box,{className:(0,r.default)("snaps-authorship-expanded",t),backgroundColor:l.BackgroundColor.backgroundDefault,borderColor:l.BorderColor.borderDefault,borderWidth:1,width:l.BlockSize.Full,borderRadius:l.BorderRadius.LG},i.default.createElement(m.Box,{alignItems:l.AlignItems.center,display:l.Display.Flex,width:l.BlockSize.Full,paddingLeft:4,paddingRight:4,paddingTop:3,paddingBottom:3},i.default.createElement(m.Box,null,i.default.createElement(y.default,{snapId:e})),i.default.createElement(m.Box,{marginLeft:4,marginRight:0,display:l.Display.Flex,flexDirection:l.FlexDirection.Column,style:{overflow:"hidden"}},i.default.createElement(m.Text,{ellipsis:!0,fontWeight:l.FontWeight.Medium},C),i.default.createElement(m.Text,{ellipsis:!0,variant:l.TextVariant.bodySm,color:l.TextColor.textAlternative},w))),i.default.createElement(m.Box,{display:l.Display.Flex,flexDirection:l.FlexDirection.Row,justifyContent:l.JustifyContent.spaceBetween,paddingLeft:4,paddingTop:4,paddingBottom:4,borderColor:l.BorderColor.borderDefault,width:l.BlockSize.Full,style:{borderLeft:l.BorderStyle.none,borderRight:l.BorderStyle.none}},i.default.createElement(m.Text,{variant:l.TextVariant.bodyMd,fontWeight:l.FontWeight.Medium},o("enabled")),i.default.createElement(m.Box,{style:{maxWidth:"52px"}},i.default.createElement(g.default,{interactive:!0,position:"left",html:o("snapsToggle")},i.default.createElement(h.default,{value:null==n?void 0:n.enabled,onToggle:()=>{null!=n&&n.enabled?T((0,f.disableSnap)(null==n?void 0:n.id)):T((0,f.enableSnap)(null==n?void 0:n.id))}})))),i.default.createElement(m.Box,{padding:4,width:l.BlockSize.Full},I&&i.default.createElement(m.Box,{display:l.Display.Flex,flexDirection:l.FlexDirection.Row,justifyContent:l.JustifyContent.spaceBetween,width:l.BlockSize.Full,marginBottom:4},i.default.createElement(m.Text,{variant:l.TextVariant.bodyMd,fontWeight:l.FontWeight.Medium},o("snapDetailWebsite")),i.default.createElement(m.Box,{paddingLeft:8,display:l.Display.Flex,flexDirection:l.FlexDirection.Column,alignItems:l.AlignItems.flexEnd},i.default.createElement(m.ButtonLink,{href:I.toString(),target:"_blank",overflowWrap:l.OverflowWrap.Anywhere},I.host))),P&&M&&i.default.createElement(m.Box,{display:l.Display.Flex,flexDirection:l.FlexDirection.Row,justifyContent:l.JustifyContent.spaceBetween,width:l.BlockSize.Full},i.default.createElement(m.Text,{variant:l.TextVariant.bodyMd,fontWeight:l.FontWeight.Medium},o("installOrigin")),i.default.createElement(m.Box,{display:l.Display.Flex,flexDirection:l.FlexDirection.Column,alignItems:l.AlignItems.flexEnd},i.default.createElement(m.Text,null,P.host),i.default.createElement(m.Text,{color:l.Color.textMuted},o("installedOn",[(0,c.formatDate)(M.date,"dd MMM yyyy")])))),i.default.createElement(m.Box,{display:l.Display.Flex,flexDirection:l.FlexDirection.Row,justifyContent:l.JustifyContent.spaceBetween,alignItems:l.AlignItems.center,marginTop:4},i.default.createElement(m.Text,{variant:l.TextVariant.bodyMd,fontWeight:l.FontWeight.Medium},o("version")),i.default.createElement(b.default,{value:null==n?void 0:n.version,url:O}))))};E.propTypes={snapId:o.default.string,className:o.default.string,snap:o.default.object};n.default=E}}},{package:"$root$",file:"ui/components/app/snaps/snap-authorship-expanded/snap-authorship-expanded.js"}],[4770,{"./snap-authorship-header":4771},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./snap-authorship-header"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/snaps/snap-authorship-header/index.js"}],[4771,{"../../../../helpers/constants/design-system":5355,"../../../../selectors":5987,"../../../component-library":4955,"../snap-avatar":4772,"../snap-metadata-modal":4788,"@metamask/snaps-utils":2163,classnames:3049,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=m(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=f(e("prop-types")),o=f(e("classnames")),i=e("@metamask/snaps-utils"),s=e("react-redux"),l=e("../../../../helpers/constants/design-system"),c=e("../../../../selectors"),u=e("../../../component-library"),d=f(e("../snap-avatar")),p=e("../snap-metadata-modal");function f(e){return e&&e.__esModule?e:{default:e}}function m(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(m=function(e){return e?n:t})(e)}const h=({snapId:e,className:t,boxShadow:n="var(--shadow-size-lg) var(--color-shadow-default)"})=>{const[r,f]=(0,a.useState)(!1),m=e&&(0,i.stripSnapPrefix)(e),{name:h}=(0,s.useSelector)((t=>(0,c.getSnapMetadata)(t,e)));return a.default.createElement(u.Box,{className:(0,o.default)("snaps-authorship-header",t),backgroundColor:l.BackgroundColor.backgroundDefault,width:l.BlockSize.Full,alignItems:l.AlignItems.center,display:l.Display.Flex,padding:4,style:{boxShadow:n}},e&&a.default.createElement(p.SnapMetadataModal,{snapId:e,isOpen:r,onClose:()=>f(!1)}),a.default.createElement(u.Box,null,a.default.createElement(d.default,{snapId:e})),a.default.createElement(u.Box,{marginLeft:4,marginRight:4,display:l.Display.Flex,flexDirection:l.FlexDirection.Column,style:{overflow:"hidden"}},a.default.createElement(u.Text,{ellipsis:!0,fontWeight:l.FontWeight.Medium},h),a.default.createElement(u.Text,{ellipsis:!0,variant:l.TextVariant.bodySm,color:l.TextColor.textAlternative},m)),a.default.createElement(u.Box,{marginLeft:"auto"},a.default.createElement(u.AvatarIcon,{className:"snaps-authorship-header__button",iconName:u.IconName.Info,onClick:()=>f(!0),color:l.IconColor.iconMuted,backgroundColor:l.BackgroundColor.backgroundAlternative})))};h.propTypes={snapId:r.default.string,className:r.default.string,boxShadow:r.default.string};n.default=h}}},{package:"$root$",file:"ui/components/app/snaps/snap-authorship-header/snap-authorship-header.js"}],[4772,{"./snap-avatar":4773},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./snap-avatar"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/snaps/snap-avatar/index.js"}],[4773,{"../../../../helpers/constants/design-system":5355,"../../../../helpers/utils/util":5399,"../../../../selectors":5987,"../../../component-library":4955,classnames:3049,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=d(e("react")),r=d(e("prop-types")),o=d(e("classnames")),i=e("react-redux"),s=e("../../../../helpers/constants/design-system"),l=e("../../../component-library"),c=e("../../../../selectors"),u=e("../../../../helpers/utils/util");function d(e){return e&&e.__esModule?e:{default:e}}const p=({snapId:e,badgeSize:t=l.IconSize.Sm,avatarSize:n=l.IconSize.Lg,borderWidth:r=2,className:d,badgeBackgroundColor:p=s.BackgroundColor.backgroundAlternative})=>{const f=(0,i.useSelector)((t=>(0,c.getTargetSubjectMetadata)(t,e))),{name:m}=(0,i.useSelector)((t=>(0,c.getSnapMetadata)(t,e))),h=null==f?void 0:f.iconUrl,g=(0,u.getAvatarFallbackLetter)(m);return a.default.createElement(l.BadgeWrapper,{className:(0,o.default)("snap-avatar",d),badge:a.default.createElement(l.AvatarIcon,{iconName:l.IconName.Snaps,size:t,backgroundColor:s.IconColor.infoDefault,borderColor:p,borderWidth:r,iconProps:{color:s.IconColor.infoInverse}}),position:l.BadgeWrapperPosition.bottomRight},h?a.default.createElement(l.AvatarFavicon,{style:{"background-color":"var(--color-background-alternative-hover)"},size:n,src:h,name:m}):a.default.createElement(l.AvatarBase,{size:n,display:s.Display.Flex,alignItems:s.AlignItems.center,justifyContent:s.JustifyContent.center,color:s.TextColor.textAlternative,style:{borderWidth:"0px","background-color":"var(--color-background-alternative-hover)"}},g))};p.propTypes={snapId:r.default.string,badgeSize:r.default.string,avatarSize:r.default.string,borderWidth:r.default.number,badgeBackgroundColor:r.default.string,className:r.default.string};n.default=p}}},{package:"$root$",file:"ui/components/app/snaps/snap-avatar/snap-avatar.js"}],[4774,{"../../../../helpers/constants/design-system":5355,"../../../../hooks/useI18nContext":5427,"../../../../selectors":5987,"../../../component-library":4955,"../../../ui/tooltip/tooltip":5311,"../snap-avatar/snap-avatar":4773,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=f;var a=p(e("react")),r=p(e("prop-types")),o=e("react-redux"),i=e("../../../../helpers/constants/design-system"),s=e("../../../component-library"),l=p(e("../../../ui/tooltip/tooltip")),c=e("../../../../hooks/useI18nContext"),u=p(e("../snap-avatar/snap-avatar")),d=e("../../../../selectors");function p(e){return e&&e.__esModule?e:{default:e}}function f({origin:e,snapId:t}){const n=(0,c.useI18nContext)(),{name:r}=(0,o.useSelector)((e=>(0,d.getSnapMetadata)(e,t)));return a.default.createElement(s.Box,{display:i.Display.Flex,alignItems:i.AlignItems.center,paddingTop:2,paddingBottom:2},a.default.createElement(u.default,{snapId:t}),a.default.createElement(s.Box,{width:"full",paddingLeft:4,paddingRight:4},a.default.createElement(s.Text,null,n("connectSnap",[a.default.createElement(s.Text,{variant:i.TextVariant.inherit,key:"1",fontWeight:i.FontWeight.Bold},r)]))),a.default.createElement(s.Box,null,a.default.createElement(l.default,{html:a.default.createElement("div",null,n("snapConnectionWarning",[a.default.createElement("b",{key:"0"},e),a.default.createElement("b",{key:"1"},r)])),position:"bottom"},a.default.createElement(s.Icon,{color:i.IconColor.iconMuted,name:s.IconName.Info,size:s.IconSize.Sm}))))}f.propTypes={origin:r.default.string.isRequired,snapId:r.default.string.isRequired}}}},{package:"$root$",file:"ui/components/app/snaps/snap-connect-cell/snap-connect-cell.js"}],[4775,{"./snap-delineator":4776},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"SnapDelineator",{enumerable:!0,get:function(){return a.SnapDelineator}});var a=e("./snap-delineator")}}},{package:"$root$",file:"ui/components/app/snaps/snap-delineator/index.js"}],[4776,{"../../../../helpers/constants/design-system":5355,"../../../../helpers/constants/snaps":5364,"../../../../hooks/useI18nContext":5427,"../../../component-library":4955,"../../../ui/pulse-loader/pulse-loader":5284,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.SnapDelineator=void 0;var a=u(e("react")),r=u(e("prop-types")),o=e("../../../../hooks/useI18nContext"),i=e("../../../../helpers/constants/design-system"),s=e("../../../component-library"),l=e("../../../../helpers/constants/snaps"),c=u(e("../../../ui/pulse-loader/pulse-loader"));function u(e){return e&&e.__esModule?e:{default:e}}function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const h=(0,o.useI18nContext)(),g=t===l.DelineatorType.Error||t===l.DelineatorType.Warning;return a.default.createElement(s.Box,d({className:"snap-delineator__wrapper",display:i.Display.Flex,flexDirection:i.FlexDirection.Column,borderStyle:i.BorderStyle.solid,borderColor:i.BorderColor.borderDefault,borderRadius:i.BorderRadius.LG,backgroundColor:g?i.BackgroundColor.errorMuted:i.BackgroundColor.backgroundDefault},m,{style:{minHeight:n&&"180px",...null==m?void 0:m.style}}),a.default.createElement(s.Box,{className:"snap-delineator__header",display:i.Display.Flex,alignItems:i.AlignItems.center,justifyContent:i.JustifyContent.spaceBetween,padding:1,style:{borderBottomWidth:u?0:1}},a.default.createElement(s.Box,{display:i.Display.Flex,alignItems:i.AlignItems.center,className:"snap-delineator__header__container"},a.default.createElement(s.AvatarIcon,{iconName:s.IconName.Snaps,className:"snap-delineator__header__icon",size:s.AvatarIconSize.Xs,backgroundColor:g?i.IconColor.errorDefault:i.IconColor.infoDefault,iconProps:{color:i.IconColor.infoInverse}}),a.default.createElement(s.Text,{variant:i.TextVariant.bodySm,color:i.TextColor.textDefault,className:"snap-delineator__header__text",marginLeft:1,marginTop:0,marginBottom:0,marginRight:1,display:"block"},h((0,l.getDelineatorTitle)(t),[e]))),r&&a.default.createElement(s.Icon,{name:u?s.IconName.ArrowDown:s.IconName.ArrowUp,size:s.IconSize.Sm,color:i.IconColor.iconMuted,className:"snap-delineator__expansion-icon",onClick:f})),a.default.createElement(s.Box,{className:"snap-delineator__content",padding:4,display:r&&u?i.Display.None:i.Display.Flex,flexDirection:i.FlexDirection.Column,alignItems:n&&i.AlignItems.center,justifyContent:n&&i.JustifyContent.center,style:{flexGrow:n&&"1"}},n?a.default.createElement(c.default,null):p))};n.SnapDelineator=p,p.propTypes={snapName:r.default.string,type:r.default.string,isCollapsable:r.default.bool,isCollapsed:r.default.bool,isLoading:r.default.bool,onClick:r.default.func,boxProps:r.default.object,children:r.default.node}}}},{package:"$root$",file:"ui/components/app/snaps/snap-delineator/snap-delineator.js"}],[4777,{"../../../../helpers/constants/design-system":5355,"../../../../helpers/constants/routes":5361,"../../../../helpers/constants/snaps":5364,"../../../../hooks/useI18nContext":5427,"../../../../selectors":5987,"../../../../store/actions":5998,"../../../component-library":4955,"../copyable":4759,"../snap-delineator":4775,"../snap-ui-renderer":4831,"./useSnapHome":4778,"prop-types":3997,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.SnapHomeRenderer=void 0;var a,r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=v(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=(a=e("prop-types"))&&a.__esModule?a:{default:a},i=e("react-router-dom"),s=e("react-redux"),l=e("../../../component-library"),c=e("../snap-ui-renderer"),u=e("../../../../selectors"),d=e("../snap-delineator"),p=e("../../../../helpers/constants/snaps"),f=e("../../../../helpers/constants/design-system"),m=e("../copyable"),h=e("../../../../hooks/useI18nContext"),g=e("../../../../store/actions"),y=e("../../../../helpers/constants/routes"),b=e("./useSnapHome");function v(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(v=function(e){return e?n:t})(e)}const T=({snapId:e})=>{const t=(0,s.useDispatch)(),n=(0,h.useI18nContext)(),{name:a}=(0,s.useSelector)((t=>(0,u.getSnapMetadata)(t,e))),o=(0,s.useSelector)(u.getMemoizedUnapprovedTemplatedConfirmations),v=(0,s.useSelector)(u.getMemoizedUnapprovedConfirmations),T=(0,i.useHistory)(),{data:E,error:w,loading:x}=(0,b.useSnapHome)({snapId:e}),_=x||w?undefined:null==E?void 0:E.id;return(0,r.useEffect)((()=>()=>_&&t((0,g.deleteInterface)(_))),[_]),(0,r.useEffect)((()=>{const t=o.find((t=>t.origin===e)),n=v.find((t=>t.origin===e));t?T.push(`${y.CONFIRMATION_V_NEXT_ROUTE}/${t.id}`):n&&T.push(`${y.CONFIRM_TRANSACTION_ROUTE}/${n.id}`)}),[o,v,T]),r.default.createElement(l.Box,null,w&&r.default.createElement(d.SnapDelineator,{snapName:a,type:p.DelineatorType.Error},r.default.createElement(l.Text,{variant:f.TextVariant.bodySm,marginBottom:4},n("snapsUIError",[r.default.createElement("b",{key:"0"},a)])),r.default.createElement(m.Copyable,{text:w.message})),(_||x)&&r.default.createElement(c.SnapUIRenderer,{snapId:e,interfaceId:_,isLoading:x}))};n.SnapHomeRenderer=T,T.propTypes={snapId:o.default.string}}}},{package:"$root$",file:"ui/components/app/snaps/snap-home-page/snap-home-renderer.js"}],[4778,{"../../../../store/actions":5998,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useSnapHome=function({snapId:e}){const t=(0,r.useDispatch)(),[n,i]=(0,a.useState)(!0),[s,l]=(0,a.useState)(undefined),[c,u]=(0,a.useState)(undefined);return(0,a.useEffect)((()=>{let n=!1;return async function(){try{u(undefined),i(!0);const a=await(0,o.handleSnapRequest)({snapId:e,origin:"",handler:"onHomePage",request:{jsonrpc:"2.0",method:" "}});n||(l(a),(0,o.forceUpdateMetamaskState)(t))}catch(e){n||u(e)}finally{n||i(!1)}}(),()=>n=!0}),[e]),{data:s,error:c,loading:n}};var a=e("react"),r=e("react-redux"),o=e("../../../../store/actions")}}},{package:"$root$",file:"ui/components/app/snaps/snap-home-page/useSnapHome.js"}],[4779,{"../../../../helpers/constants/design-system":5355,"../../../../helpers/constants/snaps":5364,"../../../../hooks/useI18nContext":5427,"../../../../selectors":5987,"../../../../store/actions":5998,"../../../component-library":4955,"../../../ui/box/box":5193,"../copyable":4759,"../snap-delineator":4775,"../snap-ui-renderer":4831,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.SnapInsight=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=y(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=g(e("prop-types")),o=e("react-redux"),i=e("../../../component-library"),s=e("../../../../helpers/constants/design-system"),l=e("../../../../hooks/useI18nContext"),c=g(e("../../../ui/box/box")),u=e("../snap-ui-renderer"),d=e("../snap-delineator"),p=e("../../../../helpers/constants/snaps"),f=e("../copyable"),m=e("../../../../selectors"),h=e("../../../../store/actions");function g(e){return e&&e.__esModule?e:{default:e}}function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(y=function(e){return e?n:t})(e)}const b=({snapId:e,data:t,loading:n})=>{var r;const g=(0,o.useDispatch)(),y=(0,l.useI18nContext)(),b=n,v=null==t?void 0:t.error,T=null==t||null===(r=t.response)||void 0===r?void 0:r.id;(0,a.useEffect)((()=>{(async()=>{try{await g((0,h.trackInsightSnapUsage)(e))}catch{}})()}),[e,g]);const{name:E}=(0,o.useSelector)((t=>(0,m.getSnapMetadata)(t,e))),w=!v&&!b&&!T;return a.default.createElement(c.default,{flexDirection:s.FLEX_DIRECTION.COLUMN,height:"full",marginTop:w&&12,marginBottom:w&&12,alignItems:w&&s.AlignItems.center,justifyContent:w&&s.JustifyContent.center,textAlign:w&&s.TextAlign.Center,className:"snap-insight"},!v&&a.default.createElement(c.default,{height:"full",width:"full",flexDirection:s.FLEX_DIRECTION.COLUMN,className:"snap-insight__container"},b||T?a.default.createElement(u.SnapUIRenderer,{snapId:e,interfaceId:T,delineatorType:p.DelineatorType.Insights,isLoading:b}):a.default.createElement(i.Text,{color:s.TextColor.textAlternative,variant:s.TextVariant.bodySm,as:"h6"},y("snapsNoInsight"))),!b&&v&&a.default.createElement(c.default,{padding:4,className:"snap-insight__container__error"},a.default.createElement(d.SnapDelineator,{snapName:E,type:p.DelineatorType.Error},a.default.createElement(i.Text,{variant:s.TextVariant.bodySm,marginBottom:4},y("snapsUIError",[a.default.createElement("b",{key:"0"},E)])),a.default.createElement(f.Copyable,{text:v.message}))))};n.SnapInsight=b,b.propTypes={snapId:r.default.string,data:r.default.object,loading:r.default.bool}}}},{package:"$root$",file:"ui/components/app/snaps/snap-insight/snap-insight.js"}],[4780,{"./snap-install-warning":4781},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./snap-install-warning"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/snaps/snap-install-warning/index.js"}],[4781,{"../../../../helpers/constants/design-system":5355,"../../../../hooks/useI18nContext":5427,"../../../component-library":4955,"../../permission-cell":4726,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=d;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=u(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=c(e("prop-types")),o=e("../../../../hooks/useI18nContext"),i=e("../../../../helpers/constants/design-system"),s=e("../../../component-library"),l=c(e("../../permission-cell"));function c(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(u=function(e){return e?n:t})(e)}function d({onCancel:e,onSubmit:t,warnings:n,snapName:r}){const c=(0,o.useI18nContext)(),[u,d]=(0,a.useState)(!1),[p,f]=(0,a.useState)(!0);function m(e,t){const n=function(e){if(1===e.length)return[a.default.createElement(s.Text,{fontWeight:i.FontWeight.Medium,as:"span",key:"warningMessageSubject"},e[0].warningMessageSubject)];if(2===e.length){const t=e[0].warningMessageSubject,n=e[1].warningMessageSubject;return[a.default.createElement(s.Text,{fontWeight:i.FontWeight.Normal,as:"span",key:"warningMessageSubject"},c("andForTwoItems",[a.default.createElement(s.Text,{fontWeight:i.FontWeight.Medium,variant:i.TextVariant.inherit,key:`${t}_and_first`},t),a.default.createElement(s.Text,{fontWeight:i.FontWeight.Medium,variant:i.TextVariant.inherit,key:`${n}_and_second`},n)]))]}return e.map(((t,n)=>e.length-1===n?[]:e.length-2===n?[a.default.createElement(s.Text,{fontWeight:i.FontWeight.Normal,as:"span",key:`${t.permissionName}_and_${n}`},c("andForListItems",[a.default.createElement(s.Text,{fontWeight:i.FontWeight.Medium,variant:i.TextVariant.inherit,key:`${t.permissionName}_and_first_${n}`},t.warningMessageSubject),a.default.createElement(s.Text,{fontWeight:i.FontWeight.Medium,variant:i.TextVariant.inherit,key:`${t.permissionName}_and_second_first_${n}`},e[e.length-1].warningMessageSubject)]))]:[a.default.createElement("span",{key:`${t.permissionName}_${n}`},a.default.createElement(s.Text,{fontWeight:i.FontWeight.Medium,as:"span"},t.warningMessageSubject,", "))]))}(e);return a.default.createElement(s.Box,{as:"span",marginBottom:4},a.default.createElement(l.default,{permissionName:a.default.createElement(s.Text,null,c(t.name,[n])),title:a.default.createElement(s.Text,null,c(t.title,[n])),description:c(t.description,[a.default.createElement(s.Text,{color:i.TextColor.inherit,variant:i.TextVariant.inherit,fontWeight:i.FontWeight.Medium,key:"1"},r)]),weight:1,avatarIcon:s.IconName.Key,key:`snapInstallWarningPermissionCellKeyEntropy_${t.permissionName}`,hideStatus:!0,margin:0}))}const h={name:"snapInstallWarningPermissionNameForViewPublicKey",title:"snapInstallWarningPermissionNameForViewPublicKey",description:"snapInstallWarningPermissionDescriptionForBip32View"},g={name:"snapInstallWarningPermissionNameForEntropy",title:"snapInstallWarningPermissionNameForEntropy",description:"snapInstallWarningPermissionDescriptionForEntropy"},y=n.filter((e=>"snap_getBip32PublicKey"===e.permissionName)),b=n.filter((e=>"snap_getBip32Entropy"===e.permissionName||"snap_getBip44Entropy"===e.permissionName));return a.default.createElement(s.Modal,{onClose:e,isOpen:p,className:"snap-install-warning"},a.default.createElement(s.ModalContent,null,a.default.createElement(s.ModalHeader,{onClose:e},a.default.createElement(s.Box,{display:i.Display.Flex,justifyContent:i.JustifyContent.center,marginBottom:4},a.default.createElement(s.AvatarIcon,{iconName:s.IconName.Danger,backgroundColor:i.BackgroundColor.warningMuted,color:i.IconColor.warningDefault,size:s.AvatarIconSize.Xl}))),a.default.createElement(s.ModalBody,null,a.default.createElement(s.Text,{paddingBottom:4,textAlign:i.TextAlign.Center,variant:i.TextVariant.headingMd,as:"h2"},c("snapInstallWarningHeading")),a.default.createElement(s.Text,{paddingBottom:4,textAlign:i.TextAlign.Left},c("snapInstallWarningCheck",[a.default.createElement(s.Text,{key:"snapNameInWarningDescription",fontWeight:i.FontWeight.Medium,as:"span"},r)])),b.length>0&&m(b,g),y.length>0&&m(y,h),a.default.createElement(s.Box,{display:i.Display.Flex,justifyContent:i.JustifyContent.flexStart,alignItems:i.AlignItems.center,marginTop:4,padding:4,borderRadius:i.BorderRadius.SM,backgroundColor:u?i.BackgroundColor.infoMuted:i.BackgroundColor.backgroundAlternative},a.default.createElement(s.Checkbox,{isRequired:!0,onChange:()=>d((e=>!e)),isChecked:u,label:a.default.createElement(s.Text,{as:"span"},"Install"," ",a.default.createElement(s.Text,{as:"span",fontWeight:i.FontWeight.Medium},r))}))),a.default.createElement(s.ModalFooter,{onSubmit:function(){f(!1),t()},submitButtonProps:{children:c("confirm"),disabled:!u,"data-testid":"snap-install-warning-modal-confirm"}})))}d.propTypes={onCancel:r.default.func,onSubmit:r.default.func,warnings:r.default.arrayOf({id:r.default.string,permissionName:r.default.string,warningMessageSubject:r.default.oneOfType([r.default.string,r.default.element])}),snapName:r.default.string.isRequired}}}},{package:"$root$",file:"ui/components/app/snaps/snap-install-warning/snap-install-warning.js"}],[4782,{"./snap-legacy-authorship-header":4783},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./snap-legacy-authorship-header"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/snaps/snap-legacy-authorship-header/index.js"}],[4783,{"../../../../helpers/constants/design-system":5355,"../../../../selectors":5987,"../../../component-library":4955,"../snap-avatar":4772,"@metamask/snaps-utils":2163,classnames:3049,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=p(e("react")),r=p(e("prop-types")),o=p(e("classnames")),i=e("@metamask/snaps-utils"),s=e("react-redux"),l=e("../../../../helpers/constants/design-system"),c=e("../../../component-library"),u=e("../../../../selectors"),d=p(e("../snap-avatar"));function p(e){return e&&e.__esModule?e:{default:e}}const f=({snapId:e,className:t,marginLeft:n,marginRight:r})=>{const p=e&&(0,i.stripSnapPrefix)(e),{name:f}=(0,s.useSelector)((t=>(0,u.getSnapMetadata)(t,e)));return a.default.createElement(c.Box,{className:(0,o.default)("snap-legacy-authorship-header",t),backgroundColor:l.BackgroundColor.backgroundDefault,width:l.BlockSize.Full,alignItems:l.AlignItems.center,display:l.Display.Flex,padding:2,borderColor:l.BorderColor.borderDefault,borderRadius:l.BorderRadius.pill,marginLeft:n,marginRight:r},a.default.createElement(c.Box,null,a.default.createElement(d.default,{snapId:e})),a.default.createElement(c.Box,{marginLeft:4,marginRight:4,display:l.Display.Flex,flexDirection:l.FlexDirection.Column,style:{overflow:"hidden"}},a.default.createElement(c.Text,{ellipsis:!0,fontWeight:l.FontWeight.Medium},f),a.default.createElement(c.Text,{ellipsis:!0,variant:l.TextVariant.bodySm,color:l.TextColor.textAlternative},p)))};f.propTypes={snapId:r.default.string,className:r.default.string,marginLeft:r.default.number,marginRight:r.default.number};n.default=f}}},{package:"$root$",file:"ui/components/app/snaps/snap-legacy-authorship-header/snap-legacy-authorship-header.js"}],[4784,{"./snap-link-warning":4785},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./snap-link-warning"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/snaps/snap-link-warning/index.js"}],[4785,{"../../../../helpers/constants/design-system":5355,"../../../../hooks/useI18nContext":5427,"../../../component-library":4955,"../../../component-library/modal-content/deprecated":4963,"../../../component-library/modal-header/deprecated":4972,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=d;var a=u(e("react")),r=u(e("prop-types")),o=e("../../../component-library"),i=e("../../../component-library/modal-content/deprecated"),s=e("../../../component-library/modal-header/deprecated"),l=e("../../../../helpers/constants/design-system"),c=e("../../../../hooks/useI18nContext");function u(e){return e&&e.__esModule?e:{default:e}}function d({isOpen:e,onClose:t,url:n}){const r=(0,c.useI18nContext)(),u=n&&new URL(n),d=u&&n.split(u.host);return a.default.createElement(o.Modal,{isOpen:e,onClose:t},a.default.createElement(o.ModalOverlay,null),a.default.createElement(i.ModalContent,{modalDialogProps:{display:l.Display.Flex,flexDirection:l.FlexDirection.Column,gap:4}},a.default.createElement(s.ModalHeader,{onClose:t,childrenWrapperProps:{display:l.Display.Flex,flexDirection:l.FlexDirection.Column,alignItems:l.AlignItems.center,gap:2}},a.default.createElement(o.Icon,{name:o.IconName.Danger,color:l.IconColor.warningDefault,size:o.AvatarIconSize.Xl}),a.default.createElement(o.Text,{variant:l.TextVariant.headingMd},r("leaveMetaMask")),a.default.createElement(o.Text,{textAlign:l.TextAlign.Center},r("leaveMetaMaskDesc"))),a.default.createElement(o.ButtonLink,{externalLink:!0,href:n,width:l.BlockSize.Full,textProps:{width:l.BlockSize.Full}},a.default.createElement(o.Box,{display:l.Display.Flex,FlexDirection:l.FlexDirection.Row,justifyContent:l.JustifyContent.spaceBetween,alignItems:l.AlignItems.center,backgroundColor:l.BackgroundColor.backgroundAlternative,borderColor:l.BorderColor.borderDefault,borderStyle:l.BorderStyle.solid,borderRadius:l.BorderRadius.MD,paddingTop:3,paddingBottom:3,paddingRight:4,paddingLeft:4,width:l.BlockSize.Full},u&&a.default.createElement(o.Text,{ellipsis:!0,style:{overflow:"hidden"},color:l.TextColor.primaryDefault},d[0],a.default.createElement("b",null,u.host),d[1]),a.default.createElement(o.Icon,{name:o.IconName.Export,color:l.IconColor.iconAlternative,marginLeft:2}))),a.default.createElement(o.Box,{width:l.BlockSize.Full,display:l.Display.Flex,gap:4},a.default.createElement(o.Button,{block:!0,variant:o.ButtonVariant.Secondary,size:o.ButtonSize.Lg,onClick:t},r("back")),a.default.createElement(o.Button,{block:!0,size:o.ButtonSize.Lg,"data-testid":"modalSnapLinkButton",href:n,externalLink:!0,onClick:t},r("visitSite")))))}d.propTypes={isOpen:r.default.bool,onClose:r.default.func,url:r.default.string}}}},{package:"$root$",file:"ui/components/app/snaps/snap-link-warning/snap-link-warning.js"}],[4786,{"./snap-list-item":4787},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./snap-list-item"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/snaps/snap-list-item/index.js"}],[4787,{"../../../../helpers/constants/design-system":5355,"../../../component-library":4955,"../snap-avatar":4772,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=l(e("react")),r=l(e("prop-types")),o=e("../../../../helpers/constants/design-system"),i=e("../../../component-library"),s=l(e("../snap-avatar"));function l(e){return e&&e.__esModule?e:{default:e}}const c=({name:e,packageName:t,onClick:n,snapId:r,showUpdateDot:l})=>a.default.createElement(i.Box,{className:"snap-list-item","data-testid":r,display:o.Display.Flex,alignItems:o.AlignItems.center,justifyContent:o.JustifyContent.spaceBetween,width:o.BlockSize.Full,padding:4,onClick:n},a.default.createElement(i.Box,{className:"snap-list-item__inner-wrapper",display:o.Display.Flex,alignItems:o.AlignItems.center,justifyContent:o.JustifyContent.flexStart,width:o.BlockSize.Full},a.default.createElement(i.Box,null,a.default.createElement(s.default,{snapId:r})),a.default.createElement(i.Box,{paddingLeft:4,paddingRight:4,width:o.BlockSize.Full,style:{overflow:"hidden"}},a.default.createElement(i.Text,{className:"snap-list-item__title",color:o.Color.textDefault,variant:o.TextVariant.bodyMd,ellipsis:!0},e),a.default.createElement(i.Text,{className:"snap-list-item__url",color:o.Color.textAlternative,variant:o.TextVariant.bodySm,ellipsis:!0},t))),l&&a.default.createElement(i.Box,{display:o.Display.Flex},a.default.createElement(i.Icon,{name:i.IconName.FullCircle,size:i.IconSize.Xs,color:o.IconColor.primaryDefault})));c.propTypes={name:r.default.string,packageName:r.default.string,onClick:r.default.func,snapId:r.default.string.isRequired,showUpdateDot:r.default.bool};n.default=c}}},{package:"$root$",file:"ui/components/app/snaps/snap-list-item/snap-list-item.js"}],[4788,{"./snap-metadata-modal":4789},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"SnapMetadataModal",{enumerable:!0,get:function(){return a.SnapMetadataModal}});var a=e("./snap-metadata-modal")}}},{package:"$root$",file:"ui/components/app/snaps/snap-metadata-modal/index.js"}],[4789,{"../../../../helpers/constants/design-system":5355,"../../../../helpers/constants/snaps":5364,"../../../../helpers/utils/util":5399,"../../../../hooks/snaps/useSafeWebsite":5410,"../../../../hooks/useI18nContext":5427,"../../../../hooks/useOriginMetadata":5433,"../../../../selectors":5987,"../../../component-library":4955,"../../../ui/tooltip":5310,"../show-more":4766,"../snap-avatar":4772,"../snap-delineator":4775,"../snap-version/snap-external-pill":4836,"@metamask/snaps-utils":2163,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.SnapMetadataModal=void 0;var a=T(e("react")),r=T(e("prop-types")),o=e("react-redux"),i=e("@metamask/snaps-utils"),s=e("../../../../selectors"),l=e("../../../component-library"),c=e("../../../../helpers/constants/design-system"),u=T(e("../snap-avatar")),d=e("../../../../helpers/utils/util"),p=e("../../../../hooks/useI18nContext"),f=e("../../../../hooks/useOriginMetadata"),m=e("../snap-delineator"),h=e("../../../../helpers/constants/snaps"),g=e("../show-more"),y=T(e("../snap-version/snap-external-pill")),b=e("../../../../hooks/snaps/useSafeWebsite"),v=T(e("../../../ui/tooltip"));function T(e){return e&&e.__esModule?e:{default:e}}const E=({snapId:e,isOpen:t,onClose:n})=>{const r=(0,p.useI18nContext)(),T=(0,o.useSelector)((t=>(0,s.getTargetSubjectMetadata)(t,e))),{name:E,description:w}=(0,o.useSelector)((t=>(0,s.getSnapMetadata)(t,e))),x=(0,o.useSelector)((t=>(0,s.getSnap)(t,e))),_=(null==x?void 0:x.versionHistory)??[],O=_.length?_[_.length-1]:undefined,S=(0,f.useOriginMetadata)(null==O?void 0:O.origin),C=(0,i.getSnapPrefix)(e),k=(0,i.stripSnapPrefix)(e),I="npm:"===C,N=null!=T&&T.version?`/v/${null==T?void 0:T.version}`:"",M=I?`https://www.npmjs.com/package/${k}${N}`:k,P=(0,o.useSelector)((t=>(0,s.getSnapRegistryData)(t,e))),{website:A=undefined}=(null==P?void 0:P.metadata)??{},R=(0,b.useSafeWebsite)(A);return a.default.createElement(l.Modal,{isOpen:t,onClose:n,className:"snap-metadata-modal"},a.default.createElement(l.ModalOverlay,null),a.default.createElement(l.ModalContent,{modalDialogProps:{display:c.Display.Flex,flexDirection:c.FlexDirection.Column}},a.default.createElement(l.ModalHeader,{onClose:n,childrenWrapperProps:{display:c.Display.Flex,flexDirection:c.FlexDirection.Column,alignItems:c.AlignItems.center,gap:2,marginBottom:6}},a.default.createElement(l.Box,null,a.default.createElement(u.default,{snapId:e})),a.default.createElement(l.Text,{variant:c.TextVariant.bodyMdMedium,textAlign:c.TextAlign.Center},E)),a.default.createElement(l.Box,{marginLeft:4,marginRight:4},R&&a.default.createElement(l.Box,{display:c.Display.Flex,FlexDirection:c.FlexDirection.Row,justifyContent:c.JustifyContent.spaceBetween,flexWrap:c.FlexWrap.NoWrap},a.default.createElement(l.Text,{variant:c.TextVariant.bodyMdMedium,marginRight:4},r("snapDetailWebsite")),a.default.createElement(l.ButtonLink,{overflowWrap:c.OverflowWrap.Anywhere,href:R.toString(),target:"_blank",externalLink:!0,textAlign:c.TextAlign.End,ellipsis:!0},R.host)),S&&a.default.createElement(l.Box,{display:c.Display.Flex,flexDirection:c.FlexDirection.Row,justifyContent:c.JustifyContent.spaceBetween,flexWrap:c.FlexWrap.NoWrap,marginTop:4},a.default.createElement(l.Box,{display:c.Display.Flex,flexDirection:c.FlexDirection.Row,alignItems:c.AlignItems.center,marginRight:4},a.default.createElement(l.Text,{variant:c.TextVariant.bodyMdMedium,marginRight:1},r("installOrigin")),O&&a.default.createElement(v.default,{html:r("installedOn",[(0,d.formatDate)(O.date,"dd MMM yyyy")]),position:"bottom"},a.default.createElement(l.Icon,{color:c.IconColor.iconMuted,name:l.IconName.Info,size:l.IconSize.Sm}))),a.default.createElement(l.Text,{ellipsis:!0},S.host)),a.default.createElement(l.Box,{display:c.Display.Flex,flexDirection:c.FlexDirection.Row,justifyContent:c.JustifyContent.spaceBetween,flexWrap:c.FlexWrap.NoWrap,marginTop:4},a.default.createElement(l.Box,{display:c.Display.Flex,flexDirection:c.FlexDirection.Row,alignItems:c.AlignItems.center,marginRight:4},a.default.createElement(l.Text,{variant:c.TextVariant.bodyMdMedium,marginRight:1},r("source")),a.default.createElement(v.default,{html:r("metadataModalSourceTooltip",[a.default.createElement(l.Text,{key:"snap-name",fontWeight:c.FontWeight.Medium,variant:c.TextVariant.inherit},E),a.default.createElement(l.Text,{key:"snap-id",fontWeight:c.FontWeight.Medium,variant:c.TextVariant.inherit},k)]),position:"bottom"},a.default.createElement(l.Icon,{color:c.IconColor.iconMuted,name:l.IconName.Info,size:l.IconSize.Sm}))),a.default.createElement(y.default,{value:k,url:M})),a.default.createElement(l.Box,{display:c.Display.Flex,flexDirection:c.FlexDirection.Row,justifyContent:c.JustifyContent.spaceBetween,flexWrap:c.FlexWrap.NoWrap,marginTop:4},a.default.createElement(l.Text,{variant:c.TextVariant.bodyMdMedium,marginRight:4},r("version")),a.default.createElement(l.Text,{ellipsis:!0},null==T?void 0:T.version)),a.default.createElement(m.SnapDelineator,{type:h.DelineatorType.Description,snapName:E,boxProps:{marginTop:4}},a.default.createElement(g.ShowMore,null,a.default.createElement(l.Text,null,w))))))};n.SnapMetadataModal=E,E.propTypes={snapId:r.default.string,isOpen:r.default.bool,onClose:r.default.func}}}},{package:"$root$",file:"ui/components/app/snaps/snap-metadata-modal/snap-metadata-modal.js"}],[4790,{"./snap-permission-cell":4791},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./snap-permission-cell"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/snaps/snap-permission-cell/index.js"}],[4791,{"../../../../helpers/constants/design-system":5355,"../../../../helpers/utils/util":5399,"../../../../hooks/useI18nContext":5427,"../../../../selectors":5987,"../../../component-library":4955,"../../permission-cell":4726,"@metamask/permission-controller":1624,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=m;var a=f(e("prop-types")),r=e("@metamask/permission-controller"),o=f(e("react")),i=e("react-redux"),s=e("../../../component-library"),l=e("../../../../helpers/constants/design-system"),c=e("../../../../helpers/utils/util"),u=f(e("../../permission-cell")),d=e("../../../../hooks/useI18nContext"),p=e("../../../../selectors");function f(e){return e&&e.__esModule?e:{default:e}}function m({snapId:e,showOptions:t,permission:n,connectionSubjectMetadata:a,index:f,revoked:m,approved:h}){var g;const y=(0,d.useI18nContext)();let{label:b,description:v,leftIcon:T}=n;const E=(0,i.useSelector)(p.getSnapsMetadata);if(n.connection){if((null==a?void 0:a.subjectType)===r.SubjectType.Snap){const e=(0,c.getSnapName)(E)(a.origin);b=(e=>y("snapConnectTo",[o.default.createElement(s.Text,{key:"snapConnectTo",fontWeight:l.FontWeight.Medium,variant:l.TextVariant.inherit,color:l.TextColor.inherit},e)]))(e),v=(e=>y("snapConnectionPermissionDescription",[o.default.createElement(s.Text,{key:`permissionSubject_${n.subjectName}`,fontWeight:l.FontWeight.Medium,variant:l.TextVariant.inherit,color:l.TextColor.inherit},n.subjectName),o.default.createElement(s.Text,{key:`permissionSubjectDescription_${e}`,fontWeight:l.FontWeight.Medium,variant:l.TextVariant.inherit,color:l.TextColor.inherit},e)]))(e)}w=null==a?void 0:a.iconUrl,x=n,T=w?o.default.createElement(s.AvatarFavicon,{backgroundColor:l.BackgroundColor.backgroundAlternative,size:s.AvatarFaviconSize.Md,iconProps:{size:s.IconSize.Sm},src:w,name:x.connection}):o.default.createElement(s.AvatarBase,{size:s.AvatarBaseSize.Md,display:l.Display.Flex,alignItems:l.AlignItems.center,justifyContent:l.JustifyContent.center,color:l.TextColor.textAlternative,style:{borderWidth:"0px"},backgroundColor:l.BackgroundColor.backgroundAlternative},(0,c.getAvatarFallbackLetter)(x.connectionName))}var w,x;return o.default.createElement(u.default,{snapId:e,permissionName:n.permissionName,title:b,description:v,weight:n.weight,avatarIcon:T,dateApproved:null==n||null===(g=n.permissionValue)||void 0===g?void 0:g.date,key:`${n.permissionName}-${f}`,showOptions:t,revoked:m,approved:h})}m.propTypes={snapId:a.default.string.isRequired,showOptions:a.default.bool,permission:a.default.object.isRequired,connectionSubjectMetadata:a.default.object,index:a.default.number,revoked:a.default.bool,approved:a.default.bool}}}},{package:"$root$",file:"ui/components/app/snaps/snap-permission-cell/snap-permission-cell.js"}],[4792,{"./snap-permissions-list":4793},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./snap-permissions-list"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/snaps/snap-permissions-list/index.js"}],[4793,{"../../../../helpers/utils/permission":5393,"../../../../helpers/utils/util":5399,"../../../../hooks/useI18nContext":5427,"../../../../selectors":5987,"../../../component-library":4955,"../snap-permission-cell":4790,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=f;var a=p(e("react")),r=p(e("prop-types")),o=e("react-redux"),i=e("../../../../helpers/utils/permission"),s=e("../../../../hooks/useI18nContext"),l=e("../../../component-library"),c=e("../../../../selectors"),u=e("../../../../helpers/utils/util"),d=p(e("../snap-permission-cell"));function p(e){return e&&e.__esModule?e:{default:e}}function f({snapId:e,snapName:t,permissions:n,connections:r,showOptions:p}){const f=(0,s.useI18nContext)(),m=(0,o.useSelector)(c.getSnapsMetadata),h={...n,connection_permission:r??{}},g=(0,o.useSelector)((e=>(0,c.getMultipleTargetsSubjectMetadata)(e,r)));return a.default.createElement(l.Box,{className:"snap-permissions-list"},(0,i.getWeightedPermissions)({t:f,permissions:h,subjectName:t,getSubjectName:(0,u.getSnapName)(m)}).map(((t,n)=>a.default.createElement(d.default,{snapId:e,showOptions:p,connectionSubjectMetadata:g[t.connection],permission:t,index:n,key:`permissionCellDisplay_${e}_${n}`}))))}f.propTypes={snapId:r.default.string.isRequired,snapName:r.default.string.isRequired,permissions:r.default.object.isRequired,connections:r.default.object,showOptions:r.default.bool}}}},{package:"$root$",file:"ui/components/app/snaps/snap-permissions-list/snap-permissions-list.js"}],[4794,{"./snap-privacy-warning":4795},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./snap-privacy-warning"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/snaps/snap-privacy-warning/index.js"}],[4795,{"../../../../../shared/constants/terms":4517,"../../../../helpers/constants/design-system":5355,"../../../../hooks/useI18nContext":5427,"../../../../hooks/useScrollRequired":5437,"../../../component-library":4955,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=d;var a=u(e("react")),r=u(e("prop-types")),o=e("../../../../hooks/useI18nContext"),i=e("../../../component-library"),s=e("../../../../helpers/constants/design-system"),l=e("../../../../hooks/useScrollRequired"),c=e("../../../../../shared/constants/terms");function u(e){return e&&e.__esModule?e:{default:e}}function d({onAccepted:e,onCanceled:t}){const n=(0,o.useI18nContext)(),{isScrollable:r,isScrolledToBottom:u,scrollToBottom:d,ref:p,onScroll:f}=(0,l.useScrollRequired)();return a.default.createElement(i.Modal,{onClose:()=>null,isOpen:!0,className:"snap-install-warning"},a.default.createElement(i.ModalContent,null,a.default.createElement(i.ModalBody,{className:"snap-privacy-warning"},a.default.createElement(i.Box,null,a.default.createElement(i.Box,{className:"snap-privacy-warning__header"},a.default.createElement(i.Box,{marginTop:4,className:"snap-privacy-warning__header__info-icon",display:s.Display.Flex,justifyContent:s.JustifyContent.center,alignItems:s.AlignItems.center},a.default.createElement(i.AvatarIcon,{iconName:i.IconName.Info,color:s.IconColor.infoDefault,backgroundColor:s.BackgroundColor.primaryMuted,size:i.AvatarIconSize.Md})),a.default.createElement(i.Box,{className:"snap-privacy-warning__header__title",marginTop:4,marginBottom:4,display:s.Display.Flex,justifyContent:s.JustifyContent.center,alignItems:s.AlignItems.center},a.default.createElement(i.Text,{variant:s.TextVariant.headingMd,fontWeight:s.FontWeight.Bold},n("thirdPartySoftware")))),a.default.createElement(i.Box,{className:"snap-privacy-warning__content",ref:p,onScroll:f},a.default.createElement(i.Box,{className:"snap-privacy-warning__message"},a.default.createElement(i.Text,{variant:s.TextVariant.bodyMd},n("snapsPrivacyWarningFirstMessage",[a.default.createElement(i.ButtonLink,{className:"snap-privacy-warning__content__terms-link",key:"privacyNoticeTermsOfUseLink",size:i.ButtonLinkSize.Inherit,href:c.TERMS_OF_USE_LINK,target:"_blank"}," ",n("snapsTermsOfUse")," ")])),a.default.createElement(i.Text,{variant:s.TextVariant.bodyMd,paddingTop:6},n("snapsPrivacyWarningSecondMessage")),a.default.createElement(i.Text,{variant:s.TextVariant.bodyMd,fontWeight:s.FontWeight.Bold,paddingTop:6},n("snapsPrivacyWarningThirdMessage"))),r&&!u?a.default.createElement(i.AvatarIcon,{className:"snap-privacy-warning__content__scroll-button","data-testid":"snap-privacy-warning-scroll",iconName:i.IconName.Arrow2Down,backgroundColor:s.BackgroundColor.infoDefault,color:s.IconColor.primaryInverse,onClick:d,style:{cursor:"pointer"}}):null))),a.default.createElement(i.ModalFooter,{onSubmit:e,onCancel:t,submitButtonProps:{children:n("accept"),disabled:!u},cancelButtonProps:{children:n("cancel")}})))}d.propTypes={onAccepted:r.default.func.isRequired,onCanceled:r.default.func.isRequired}}}},{package:"$root$",file:"ui/components/app/snaps/snap-privacy-warning/snap-privacy-warning.js"}],[4796,{"./snap-remove-warning":4797},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./snap-remove-warning"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/snaps/snap-remove-warning/index.js"}],[4797,{"../../../../helpers/constants/design-system":5355,"../../../../hooks/useI18nContext":5427,"../../../component-library":4955,"../../../component-library/modal-content/deprecated":4963,"../../../component-library/modal-header/deprecated":4972,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=d;var a=u(e("react")),r=u(e("prop-types")),o=e("../../../../hooks/useI18nContext"),i=e("../../../component-library"),s=e("../../../component-library/modal-content/deprecated"),l=e("../../../component-library/modal-header/deprecated"),c=e("../../../../helpers/constants/design-system");function u(e){return e&&e.__esModule?e:{default:e}}function d({isOpen:e,onCancel:t,onSubmit:n,snapName:r}){const u=(0,o.useI18nContext)();return a.default.createElement(i.Modal,{isOpen:e,onClose:t},a.default.createElement(i.ModalOverlay,null),a.default.createElement(s.ModalContent,{modalDialogProps:{display:c.Display.Flex,flexDirection:c.FlexDirection.Column,gap:4}},a.default.createElement(l.ModalHeader,{onClose:t},u("pleaseConfirm")),a.default.createElement(i.Text,null,u("removeSnapConfirmation",[r])),a.default.createElement(i.Box,{width:c.BlockSize.Full,display:c.Display.Flex,gap:4},a.default.createElement(i.Button,{block:!0,variant:i.BUTTON_VARIANT.SECONDARY,size:i.BUTTON_SIZES.LG,onClick:t},u("cancel")),a.default.createElement(i.Button,{block:!0,size:i.BUTTON_SIZES.LG,id:"popoverRemoveSnapButton",danger:!0,onClick:n},u("removeSnap")))))}d.propTypes={onCancel:r.default.func,onSubmit:r.default.func,snapName:r.default.string,isOpen:r.default.bool}}}},{package:"$root$",file:"ui/components/app/snaps/snap-remove-warning/snap-remove-warning.js"}],[4798,{"./snap-ui-button":4799},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var a=e("./snap-ui-button");Object.keys(a).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in n&&n[e]===a[e]||Object.defineProperty(n,e,{enumerable:!0,get:function(){return a[e]}}))}))}}},{package:"$root$",file:"ui/components/app/snaps/snap-ui-button/hybrid-compute-sdk.ts"}],[4799,{"../../../../contexts/snaps":5328,"../../../../helpers/constants/design-system":5355,"../../../component-library":4955,"@metamask/snaps-sdk":2122,classnames:3049,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.SnapUIButton=void 0;var a=c(e("react")),r=c(e("classnames")),o=e("@metamask/snaps-sdk"),i=e("../../../component-library"),s=e("../../../../contexts/snaps"),l=e("../../../../helpers/constants/design-system");function c(e){return e&&e.__esModule?e:{default:e}}function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const{handleEvent:h}=(0,s.useSnapInterfaceContext)(),g=d[p?"disabled":c];return a.default.createElement(i.Text,u({className:(0,r.default)(f,"snap-ui-button",{"snap-ui-button--disabled":p}),as:"button",id:e,type:n,fontWeight:l.FontWeight.Medium,onClick:t=>{n===o.ButtonType.Button&&t.preventDefault(),h({event:o.UserInputEventType.ButtonClickEvent,name:e})},color:g,disabled:p},m),t)}}}},{package:"$root$",file:"ui/components/app/snaps/snap-ui-button/snap-ui-button.tsx"}],[4800,{"./snap-ui-dropdown":4801},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var a=e("./snap-ui-dropdown");Object.keys(a).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in n&&n[e]===a[e]||Object.defineProperty(n,e,{enumerable:!0,get:function(){return a[e]}}))}))}}},{package:"$root$",file:"ui/components/app/snaps/snap-ui-dropdown/hybrid-compute-sdk.ts"}],[4801,{"../../../../contexts/snaps":5328,"../../../../helpers/constants/design-system":5355,"../../../component-library":4955,"../../../ui/dropdown":5218,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.SnapUIDropdown=void 0;var a,r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=e("../../../../contexts/snaps"),i=e("../../../../helpers/constants/design-system"),s=e("../../../component-library"),l=(a=e("../../../ui/dropdown"))&&a.__esModule?a:{default:a};function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const{handleInputChange:d,getValue:p}=(0,o.useSnapInterfaceContext)(),f=p(e,a),[m,h]=(0,r.useState)(f??"");(0,r.useEffect)((()=>{f&&h(f)}),[f]);return r.default.createElement(s.Box,{className:"snap-ui-renderer__dropdown",display:i.Display.Flex,flexDirection:i.FlexDirection.Column},t&&r.default.createElement(s.Label,{htmlFor:e},t),r.default.createElement(l.default,u({selectedOption:m,onChange:t=>{h(t),d(e,t,a)}},c)),n&&r.default.createElement(s.HelpText,{severity:s.HelpTextSeverity.Danger,marginTop:1},n))}}}},{package:"$root$",file:"ui/components/app/snaps/snap-ui-dropdown/snap-ui-dropdown.tsx"}],[4802,{"./snap-ui-form":4803},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var a=e("./snap-ui-form");Object.keys(a).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in n&&n[e]===a[e]||Object.defineProperty(n,e,{enumerable:!0,get:function(){return a[e]}}))}))}}},{package:"$root$",file:"ui/components/app/snaps/snap-ui-form/hybrid-compute-sdk.ts"}],[4803,{"../../../../contexts/snaps":5328,"../../../../helpers/constants/design-system":5355,"../../../component-library":4955,"@metamask/snaps-sdk":2122,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.SnapUIForm=void 0;var a,r=(a=e("react"))&&a.__esModule?a:{default:a},o=e("@metamask/snaps-sdk"),i=e("../../../../contexts/snaps"),s=e("../../../component-library"),l=e("../../../../helpers/constants/design-system");n.SnapUIForm=({children:e,name:t})=>{const{handleEvent:n}=(0,i.useSnapInterfaceContext)();return r.default.createElement(s.Box,{as:"form",className:"snap-ui-renderer__form",onSubmit:e=>{e.preventDefault(),n({event:o.UserInputEventType.FormSubmitEvent,name:t})},id:t,display:l.Display.Flex,flexDirection:l.FlexDirection.Column,gap:2},e)}}}},{package:"$root$",file:"ui/components/app/snaps/snap-ui-form/snap-ui-form.tsx"}],[4804,{"./snap-ui-image":4805},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var a=e("./snap-ui-image");Object.keys(a).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in n&&n[e]===a[e]||Object.defineProperty(n,e,{enumerable:!0,get:function(){return a[e]}}))}))}}},{package:"$root$",file:"ui/components/app/snaps/snap-ui-image/hybrid-compute-sdk.ts"}],[4805,{react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.SnapUIImage=void 0;var a,r=(a=e("react"))&&a.__esModule?a:{default:a};n.SnapUIImage=({value:e})=>{const t=`data:image/svg+xml;utf8,${encodeURIComponent(e)}`;return r.default.createElement("img",{"data-testid":"snaps-ui-image",src:t})}}}},{package:"$root$",file:"ui/components/app/snaps/snap-ui-image/snap-ui-image.tsx"}],[4806,{"./snap-ui-input":4807},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var a=e("./snap-ui-input");Object.keys(a).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in n&&n[e]===a[e]||Object.defineProperty(n,e,{enumerable:!0,get:function(){return a[e]}}))}))}}},{package:"$root$",file:"ui/components/app/snaps/snap-ui-input/hybrid-compute-sdk.ts"}],[4807,{"../../../../contexts/snaps":5328,"../../../component-library":4955,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.SnapUIInput=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=i(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=e("../../../../contexts/snaps"),o=e("../../../component-library");function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(i=function(e){return e?n:t})(e)}function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const{handleInputChange:i,getValue:l}=(0,r.useSnapInterfaceContext)(),c=l(e,t),[u,d]=(0,a.useState)(c??"");(0,a.useEffect)((()=>{c&&d(c)}),[c]);return a.default.createElement(o.FormTextField,s({className:"snap-ui-renderer__input",id:e,value:u,onChange:n=>{d(n.target.value),i(e,n.target.value??null,t)}},n))}}}},{package:"$root$",file:"ui/components/app/snaps/snap-ui-input/snap-ui-input.tsx"}],[4808,{"./snap-ui-link":4809},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"SnapUILink",{enumerable:!0,get:function(){return a.SnapUILink}});var a=e("./snap-ui-link")}}},{package:"$root$",file:"ui/components/app/snaps/snap-ui-link/index.js"}],[4809,{"../../../../helpers/constants/design-system":5355,"../../../component-library":4955,"../snap-link-warning":4784,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.SnapUILink=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=l(e("prop-types")),o=e("../../../../helpers/constants/design-system"),i=e("../../../component-library"),s=l(e("../snap-link-warning"));function l(e){return e&&e.__esModule?e:{default:e}}function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}const u=({href:e,children:t})=>{const[n,r]=(0,a.useState)(!1);return a.default.createElement(a.default.Fragment,null,a.default.createElement(s.default,{isOpen:n,onClose:()=>{r(!1)},url:e}),a.default.createElement(i.ButtonLink,{as:"a",onClick:()=>{r(!0)},externalLink:!0,size:i.ButtonLinkSize.Inherit,display:o.Display.Inline,className:"snap-ui-link"},t,a.default.createElement(i.Icon,{name:i.IconName.Export,size:i.IconSize.Inherit,marginLeft:1})))};n.SnapUILink=u,u.propTypes={children:r.default.string,href:r.default.string}}}},{package:"$root$",file:"ui/components/app/snaps/snap-ui-link/snap-ui-link.js"}],[4810,{"./snap-ui-markdown":4811},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"SnapUIMarkdown",{enumerable:!0,get:function(){return a.SnapUIMarkdown}});var a=e("./snap-ui-markdown")}}},{package:"$root$",file:"ui/components/app/snaps/snap-ui-markdown/index.js"}],[4811,{"../../../../helpers/constants/design-system":5355,"../../../component-library":4955,"../snap-link-warning":4784,"prop-types":3997,react:4243,"react-markdown":4175},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.SnapUIMarkdown=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=u(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=c(e("prop-types")),o=c(e("react-markdown")),i=e("../../../../helpers/constants/design-system"),s=e("../../../component-library"),l=c(e("../snap-link-warning"));function c(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(u=function(e){return e?n:t})(e)}function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;ta.default.createElement(s.Text,d({},e,{variant:i.TextVariant.bodyMd,className:"snap-ui-markdown__text",overflowWrap:i.OverflowWrap.Anywhere,color:i.TextColor.inherit})),f=({onClick:e,children:t,...n})=>a.default.createElement(s.ButtonLink,d({},n,{as:"a",onClick:e,externalLink:!0,size:s.ButtonLinkSize.Inherit,display:i.Display.Inline,className:"snap-ui-markdown__link"}),t,a.default.createElement(s.Icon,{name:s.IconName.Export,size:s.IconSize.Inherit,marginLeft:1})),m=({children:e,markdown:t})=>{const[n,r]=(0,a.useState)(undefined);if(!1===t)return a.default.createElement(p,null,e);return a.default.createElement(a.default.Fragment,null,a.default.createElement(l.default,{isOpen:Boolean(n),onClose:()=>{r(undefined)},url:n}),a.default.createElement(o.default,{allowedElements:["p","strong","em","a"],components:{p:p,a:({children:e,href:t})=>a.default.createElement(f,{onClick:()=>{r(t)}},e??t)}},e))};n.SnapUIMarkdown=m,m.propTypes={children:r.default.string,markdown:r.default.bool},f.propTypes={onClick:r.default.func,children:r.default.node}}}},{package:"$root$",file:"ui/components/app/snaps/snap-ui-markdown/snap-ui-markdown.js"}],[4812,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.address=void 0;n.address=({element:e})=>({element:"ConfirmInfoRowAddress",props:{address:e.props.address,isSnapUsingThis:!0}})}}},{package:"$root$",file:"ui/components/app/snaps/snap-ui-renderer/components/address.ts"}],[4813,{"../../../../../helpers/constants/design-system":5355,"../utils":4833,"@metamask/snaps-utils":2163},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.bold=void 0;var a=e("@metamask/snaps-utils"),r=e("../utils"),o=e("../../../../../helpers/constants/design-system");n.bold=({element:e,...t})=>({element:"Text",children:(0,r.mapTextToTemplate)((0,a.getJsxChildren)(e),t),props:{variant:o.TextVariant.bodyMd,overflowWrap:o.OverflowWrap.Anywhere,color:o.TextColor.inherit,className:"snap-ui-renderer__text",as:"b"}})}}},{package:"$root$",file:"ui/components/app/snaps/snap-ui-renderer/components/bold.ts"}],[4814,{"../../../../../helpers/constants/design-system":5355,"../utils":4833,"@metamask/snaps-utils":2163},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.box=void 0;var a=e("@metamask/snaps-utils"),r=e("../../../../../helpers/constants/design-system"),o=e("../utils");function i(e){switch(e){default:case"start":return"flex-start";case"center":return"center";case"end":return"flex-end";case"space-between":return"space-between";case"space-around":return"space-around"}}n.box=({element:e,...t})=>({element:"Box",children:(0,a.getJsxChildren)(e).map((e=>(0,o.mapToTemplate)({...t,element:e}))),props:{display:r.Display.Flex,flexDirection:"horizontal"===e.props.direction?r.FlexDirection.Row:r.FlexDirection.Column,justifyContent:i(e.props.alignment),className:"snap-ui-renderer__panel",color:r.TextColor.textDefault}})}}},{package:"$root$",file:"ui/components/app/snaps/snap-ui-renderer/components/box.ts"}],[4815,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.button=void 0;n.button=({element:e})=>({element:"SnapUIButton",props:{type:e.props.type,variant:e.props.variant,name:e.props.name,disabled:e.props.disabled},children:e.props.children})}}},{package:"$root$",file:"ui/components/app/snaps/snap-ui-renderer/components/button.ts"}],[4816,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.copyable=void 0;n.copyable=({element:e})=>({element:"Copyable",props:{text:e.props.value,sensitive:e.props.sensitive}})}}},{package:"$root$",file:"ui/components/app/snaps/snap-ui-renderer/components/copyable.ts"}],[4817,{"../../../../../helpers/constants/design-system":5355},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.divider=void 0;var a=e("../../../../../helpers/constants/design-system");n.divider=()=>({element:"Box",props:{className:"snap-ui-renderer__divider",backgroundColor:a.BorderColor.borderDefault}})}}},{package:"$root$",file:"ui/components/app/snaps/snap-ui-renderer/components/divider.ts"}],[4818,{"@metamask/snaps-utils":2163},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.dropdown=void 0;var a=e("@metamask/snaps-utils");n.dropdown=({element:e,form:t})=>{const n=(0,a.getJsxChildren)(e).map((e=>({value:e.props.value,name:e.props.children})));return{element:"SnapUIDropdown",props:{id:e.props.name,name:e.props.name,form:t,options:n}}}}}},{package:"$root$",file:"ui/components/app/snaps/snap-ui-renderer/components/dropdown.ts"}],[4819,{"./button":4815,"./dropdown":4818,"@metamask/snaps-utils":2163},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.field=void 0;var a=e("@metamask/snaps-utils"),r=e("./button"),o=e("./dropdown");n.field=({element:e,form:t})=>{const n=(0,a.getJsxChildren)(e),i=n[0];switch(i.type){case"Input":{const a=i,o=n[1],s=o&&(0,r.button)({element:o});return{element:"SnapUIInput",props:{id:a.props.name,placeholder:a.props.placeholder,label:e.props.label,textFieldProps:{type:a.props.type},name:a.props.name,form:t,error:e.props.error!==undefined,helpText:e.props.error},propComponents:{endAccessory:s&&{...s,props:{...s.props,padding:0}}}}}case"Dropdown":{const n=i;return{element:"SnapUIDropdown",props:{...(0,o.dropdown)({element:n}).props,id:n.props.name,label:e.props.label,name:n.props.name,form:t,error:e.props.error}}}default:throw new Error(`Invalid Field child: ${i.type}`)}}}}},{package:"$root$",file:"ui/components/app/snaps/snap-ui-renderer/components/field.ts"}],[4820,{"../utils":4833,"@metamask/snaps-utils":2163},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.form=void 0;var a=e("@metamask/snaps-utils"),r=e("../utils");n.form=({element:e,...t})=>({element:"SnapUIForm",children:(0,a.getJsxChildren)(e).map((n=>(0,r.mapToTemplate)({element:n,form:e.props.name,...t}))),props:{name:e.props.name}})}}},{package:"$root$",file:"ui/components/app/snaps/snap-ui-renderer/components/form.ts"}],[4821,{"../../../../../helpers/constants/design-system":5355},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.heading=void 0;var a=e("../../../../../helpers/constants/design-system");n.heading=({element:e})=>({element:"Text",children:e.props.children,props:{variant:a.TextVariant.headingSm,overflowWrap:a.OverflowWrap.Anywhere}})}}},{package:"$root$",file:"ui/components/app/snaps/snap-ui-renderer/components/heading.ts"}],[4822,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.image=void 0;n.image=({element:e})=>({element:"SnapUIImage",props:{value:e.props.src}})}}},{package:"$root$",file:"ui/components/app/snaps/snap-ui-renderer/components/image.ts"}],[4823,{"./address":4812,"./bold":4813,"./box":4814,"./button":4815,"./copyable":4816,"./divider":4817,"./dropdown":4818,"./field":4819,"./form":4820,"./heading":4821,"./image":4822,"./input":4824,"./italic":4825,"./link":4826,"./row":4827,"./spinner":4828,"./text":4829,"./value":4830},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.COMPONENT_MAPPING=void 0;var a=e("./box"),r=e("./heading"),o=e("./text"),i=e("./divider"),s=e("./spinner"),l=e("./image"),c=e("./row"),u=e("./address"),d=e("./copyable"),p=e("./button"),f=e("./form"),m=e("./input"),h=e("./bold"),g=e("./italic"),y=e("./link"),b=e("./field"),v=e("./dropdown"),T=e("./value");n.COMPONENT_MAPPING={Box:a.box,Heading:r.heading,Text:o.text,Divider:i.divider,Spinner:s.spinner,Image:l.image,Copyable:d.copyable,Row:c.row,Address:u.address,Button:p.button,Form:f.form,Input:m.input,Bold:h.bold,Italic:g.italic,Link:y.link,Field:b.field,Dropdown:v.dropdown,Value:T.value}}}},{package:"$root$",file:"ui/components/app/snaps/snap-ui-renderer/components/hybrid-compute-sdk.ts"}],[4824,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.input=void 0;n.input=({element:e,form:t})=>({element:"SnapUIInput",props:{id:e.props.name,placeholder:e.props.placeholder,textFieldProps:{type:e.props.type},name:e.props.name,form:t}})}}},{package:"$root$",file:"ui/components/app/snaps/snap-ui-renderer/components/input.ts"}],[4825,{"../../../../../helpers/constants/design-system":5355,"../utils":4833,"@metamask/snaps-utils":2163},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.italic=void 0;var a=e("@metamask/snaps-utils"),r=e("../utils"),o=e("../../../../../helpers/constants/design-system");n.italic=({element:e,...t})=>({element:"Text",children:(0,r.mapTextToTemplate)((0,a.getJsxChildren)(e),t),props:{variant:o.TextVariant.bodyMd,overflowWrap:o.OverflowWrap.Anywhere,color:o.TextColor.inherit,className:"snap-ui-renderer__text",as:"i"}})}}},{package:"$root$",file:"ui/components/app/snaps/snap-ui-renderer/components/italic.ts"}],[4826,{"../utils":4833,"@metamask/snaps-utils":2163},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.link=void 0;var a=e("@metamask/snaps-utils"),r=e("../utils");n.link=({element:e,...t})=>({element:"SnapUILink",children:(0,r.mapTextToTemplate)((0,a.getJsxChildren)(e),t),props:{href:e.props.href}})}}},{package:"$root$",file:"ui/components/app/snaps/snap-ui-renderer/components/link.ts"}],[4827,{"../utils":4833},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.row=void 0;var a=e("../utils");n.row=({element:e,...t})=>({element:"ConfirmInfoRow",children:[(0,a.mapToTemplate)({...t,element:e.props.children})],props:{label:e.props.label,variant:e.props.variant,tooltip:e.props.tooltip,style:{marginLeft:"-8px",marginRight:"-8px",marginTop:"0px",marginBottom:"0px"}}})}}},{package:"$root$",file:"ui/components/app/snaps/snap-ui-renderer/components/row.ts"}],[4828,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.spinner=void 0;n.spinner=()=>({element:"Spinner",props:{className:"snap-ui-renderer__spinner"}})}}},{package:"$root$",file:"ui/components/app/snaps/snap-ui-renderer/components/spinner.ts"}],[4829,{"../../../../../helpers/constants/design-system":5355,"../utils":4833,"@metamask/snaps-utils":2163},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.text=void 0;var a=e("@metamask/snaps-utils"),r=e("../utils"),o=e("../../../../../helpers/constants/design-system");n.text=({element:e,...t})=>({element:"Text",children:(0,r.mapTextToTemplate)((0,a.getJsxChildren)(e),t),props:{variant:o.TextVariant.bodyMd,overflowWrap:o.OverflowWrap.Anywhere,color:o.TextColor.inherit,className:"snap-ui-renderer__text"}})}}},{package:"$root$",file:"ui/components/app/snaps/snap-ui-renderer/components/text.ts"}],[4830,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.value=void 0;n.value=({element:e})=>({element:"ConfirmInfoRowValueDouble",props:{left:e.props.extra,right:e.props.value}})}}},{package:"$root$",file:"ui/components/app/snaps/snap-ui-renderer/components/value.ts"}],[4831,{"./snap-ui-renderer":4832},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"SnapUIRenderer",{enumerable:!0,get:function(){return a.SnapUIRenderer}});var a=e("./snap-ui-renderer")}}},{package:"$root$",file:"ui/components/app/snaps/snap-ui-renderer/index.js"}],[4832,{"../../../../contexts/snaps":5328,"../../../../helpers/constants/snaps":5364,"../../../../selectors":5987,"../../../component-library":4955,"../../metamask-template-renderer/metamask-template-renderer":4654,"../snap-delineator":4775,"./utils":4833,lodash:3836,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.SnapUIRenderer=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=h(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=m(e("prop-types")),o=e("react-redux"),i=e("lodash"),s=m(e("../../metamask-template-renderer/metamask-template-renderer")),l=e("../snap-delineator"),c=e("../../../../selectors"),u=e("../../../component-library"),d=e("../../../../helpers/constants/snaps"),p=e("../../../../contexts/snaps"),f=e("./utils");function m(e){return e&&e.__esModule?e:{default:e}}function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(h=function(e){return e?n:t})(e)}const g=({snapId:e,delineatorType:t=d.DelineatorType.Content,isCollapsable:n=!1,isCollapsed:r=!1,isLoading:m=!1,isPrompt:h=!1,inputValue:g,onInputChange:y,placeholder:b,onClick:v,boxProps:T,interfaceId:E})=>{const{name:w}=(0,o.useSelector)((t=>(0,c.getSnapMetadata)(t,e))),x=(0,o.useSelector)((e=>(0,c.getMemoizedInterface)(e,E)),((e,t)=>(0,i.isEqual)(e.content,t.content))),_=null==x?void 0:x.content,O=(0,a.useMemo)((()=>_&&(0,f.mapToTemplate)({map:{},element:_})),[_]);if(m||!_)return a.default.createElement(l.SnapDelineator,{snapName:w,type:t,isCollapsable:n,isCollapsed:r,onClick:v,boxProps:T,isLoading:!0});const{state:S,context:C}=x;return a.default.createElement(l.SnapDelineator,{snapName:w,type:t,isCollapsable:n,isCollapsed:r,onClick:v,boxProps:T},a.default.createElement(u.Box,{className:"snap-ui-renderer__content"},a.default.createElement(p.SnapInterfaceContextProvider,{snapId:e,interfaceId:E,initialState:S,context:C},a.default.createElement(s.default,{sections:O})),h&&a.default.createElement(u.FormTextField,{marginTop:4,className:"snap-prompt-input",maxLength:300,value:g,onChange:y,placeholder:b})))};n.SnapUIRenderer=(0,a.memo)(g,((e,t)=>(0,i.isEqual)(e,t)));g.propTypes={snapId:r.default.string,delineatorType:r.default.string,isCollapsable:r.default.bool,isCollapsed:r.default.bool,isLoading:r.default.bool,isPrompt:r.default.bool,inputValue:r.default.string,onInputChange:r.default.func,placeholder:r.default.string,onClick:r.default.func,boxProps:r.default.object,interfaceId:r.default.string}}}},{package:"$root$",file:"ui/components/app/snaps/snap-ui-renderer/snap-ui-renderer.js"}],[4833,{"./components":4823,"@metamask/snaps-utils":2163,"@metamask/utils":2300,"@noble/hashes/sha256":2339,he:3627,lodash:3836},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.mapToTemplate=n.mapTextToTemplate=void 0;var a=e("@metamask/snaps-utils"),r=e("lodash"),o=e("@noble/hashes/sha256"),i=e("@metamask/utils"),s=e("he"),l=e("./components");const c=(0,r.memoize)((e=>{const{type:t,props:n}=e,{name:r}=n,s=function(e){if(!(0,a.hasChildren)(e))return null;const{children:t}=e.props;return"string"==typeof t?t.slice(0,5e3):Array.isArray(t)?t.map((e=>({type:(null==e?void 0:e.type)??null}))):t}(e);return(0,i.remove0x)((0,i.bytesToHex)((0,o.sha256)(JSON.stringify({type:t,name:r??null,children:s}))))}));const u=e=>{const{type:t,key:n}=e.element,a=n??function(e,t){const n=c(t),a=(e[n]??0)+1;return e[n]=a,`${n}_${a}`}(e.map,e.element);return{...l.COMPONENT_MAPPING[t](e),key:a}};n.mapToTemplate=u;n.mapTextToTemplate=(e,t)=>e.map((e=>"string"==typeof e?(0,s.unescape)(e):u({...t,element:e})))}}},{package:"$root$",file:"ui/components/app/snaps/snap-ui-renderer/utils.ts"}],[4834,{"./snap-update-alert":4835},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./snap-update-alert"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/snaps/snap-update-alert/index.js"}],[4835,{"../../../../helpers/constants/design-system":5355,"../../../../hooks/useI18nContext":5427,"../../../component-library":4955,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=l(e("react")),r=l(e("prop-types")),o=e("../../../component-library"),i=e("../../../../helpers/constants/design-system"),s=e("../../../../hooks/useI18nContext");function l(e){return e&&e.__esModule?e:{default:e}}function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const r=(0,s.useI18nContext)();return a.default.createElement(o.BannerAlert,c({title:r("snapUpdateAvailable"),actionButtonLabel:r("update"),actionButtonOnClick:t,actionButtonProps:{endIconName:o.IconName.Download,color:i.TextColor.primaryDefault}},n),a.default.createElement(o.Text,null,r("snapUpdateAlertDescription",[e])))};u.propTypes={snapName:r.default.string.isRequired,onUpdateClick:r.default.func.isRequired,bannerAlertProps:r.default.object};n.default=u}}},{package:"$root$",file:"ui/components/app/snaps/snap-update-alert/snap-update-alert.js"}],[4836,{"../../../../helpers/constants/design-system":5355,"../../../component-library":4955,"../../../ui/icon/preloader/preloader-icon.component":5240,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=l(e("react")),r=l(e("prop-types")),o=e("../../../../helpers/constants/design-system"),i=e("../../../component-library"),s=l(e("../../../ui/icon/preloader/preloader-icon.component"));function l(e){return e&&e.__esModule?e:{default:e}}const c=({value:e,url:t})=>a.default.createElement(i.ButtonLink,{href:t,target:"_blank",className:"snap-external-pill",ellipsis:!0},a.default.createElement(i.Box,{className:"snap-external-pill__wrapper",display:o.Display.Flex,flexDirection:o.FlexDirection.Row,alignItems:o.AlignItems.center,backgroundColor:o.BackgroundColor.backgroundAlternative,borderRadius:o.BorderRadius.pill,paddingTop:1,paddingBottom:1,paddingLeft:2,paddingRight:2},e?a.default.createElement(i.Text,{color:o.Color.textAlternative,variant:o.TextVariant.bodyMd,ellipsis:!0},e):a.default.createElement(s.default,{size:18}),a.default.createElement(i.Icon,{name:i.IconName.Export,color:o.Color.textAlternative,size:i.IconSize.Sm,marginLeft:1})));c.propTypes={value:r.default.string,url:r.default.string};n.default=c}}},{package:"$root$",file:"ui/components/app/snaps/snap-version/snap-external-pill.js"}],[4837,{"./update-snap-permission-list":4838},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./update-snap-permission-list"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/snaps/update-snap-permission-list/index.js"}],[4838,{"../../../../helpers/utils/permission":5393,"../../../../helpers/utils/util":5399,"../../../../hooks/useI18nContext":5427,"../../../../selectors":5987,"../../../component-library":4955,"../snap-permission-cell":4790,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=f;var a=p(e("react")),r=e("react-redux"),o=p(e("prop-types")),i=e("../../../../helpers/utils/permission"),s=e("../../../../hooks/useI18nContext"),l=e("../../../component-library"),c=e("../../../../selectors"),u=e("../../../../helpers/utils/util"),d=p(e("../snap-permission-cell"));function p(e){return e&&e.__esModule?e:{default:e}}function f({approvedPermissions:e,revokedPermissions:t,newPermissions:n,approvedConnections:o,revokedConnections:p,newConnections:f,targetSubjectMetadata:m}){const h=(0,s.useI18nContext)(),g=m.origin,{name:y}=(0,r.useSelector)((e=>(0,c.getSnapMetadata)(e,m.origin))),b=(0,r.useSelector)((e=>(0,c.getMultipleTargetsSubjectMetadata)(e,{...f,...o,...p}))),v=(0,r.useSelector)(c.getSnapsMetadata),T=(0,u.getSnapName)(v),E={...e,connection_permission:o??{}},w={...t,connection_permission:p??{}},x={...n,connection_permission:f??{}};return a.default.createElement(l.Box,null,(0,i.getWeightedPermissions)({t:h,permissions:x,subjectName:y,getSubjectName:T}).map(((e,t)=>a.default.createElement(d.default,{snapId:g,connectionSubjectMetadata:b[e.connection],permission:e,index:t,key:`permissionCellDisplay_${g}_${t}`}))),(0,i.getWeightedPermissions)({t:h,permissions:w,subjectName:y,getSubjectName:T}).map(((e,t)=>a.default.createElement(d.default,{snapId:g,connectionSubjectMetadata:b[e.connection],permission:e,index:t,key:`permissionCellDisplay_${g}_${t}`,revoked:!0}))),(0,i.getWeightedPermissions)({t:h,permissions:E,subjectName:y,getSubjectName:T}).map(((e,t)=>a.default.createElement(d.default,{snapId:g,connectionSubjectMetadata:b[e.connection],permission:e,index:t,key:`permissionCellDisplay_${g}_${t}`,approved:!0}))))}f.propTypes={approvedPermissions:o.default.object.isRequired,revokedPermissions:o.default.object.isRequired,newPermissions:o.default.object.isRequired,approvedConnections:o.default.object.isRequired,revokedConnections:o.default.object.isRequired,newConnections:o.default.object.isRequired,targetSubjectMetadata:o.default.object.isRequired}}}},{package:"$root$",file:"ui/components/app/snaps/update-snap-permission-list/update-snap-permission-list.js"}],[4839,{"./srp-input":4841},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./srp-input"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/srp-input/index.js"}],[4840,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.parseSecretRecoveryPhrase=void 0;n.parseSecretRecoveryPhrase=e=>{var t;return(null===(t=(e||"").trim().toLowerCase().match(/\w+/gu))||void 0===t?void 0:t.join(" "))||""}}}},{package:"$root$",file:"ui/components/app/srp-input/parse-secret-recovery-phrase.js"}],[4841,{"../../../helpers/constants/design-system":5355,"../../../helpers/utils/util":5399,"../../../hooks/useI18nContext":5427,"../../component-library":4955,"../../ui/dropdown":5218,"../../ui/show-hide-toggle":5290,"../../ui/text-field":5302,"./parse-secret-recovery-phrase":4840,"@ethersproject/hdnode":494,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=b;var a=e("@ethersproject/hdnode"),r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=h(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=m(e("prop-types")),i=e("../../../hooks/useI18nContext"),s=m(e("../../ui/text-field")),l=e("../../../helpers/utils/util"),c=e("../../component-library"),u=m(e("../../ui/dropdown")),d=m(e("../../ui/show-hide-toggle")),p=e("../../../helpers/constants/design-system"),f=e("./parse-secret-recovery-phrase");function m(e){return e&&e.__esModule?e:{default:e}}function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(h=function(e){return e?n:t})(e)}const g=12,y=e=>e!==e.toLowerCase();function b({onChange:e,srpText:t}){const[n,o]=(0,r.useState)(""),[m,h]=(0,r.useState)(!1),[b,v]=(0,r.useState)(new Array(g).fill("")),[T,E]=(0,r.useState)(new Array(g).fill(!1)),[w,x]=(0,r.useState)(g),_=(0,i.useI18nContext)(),O=(0,r.useCallback)((t=>{let n="";const r=t.join(" ").trim();t.some((e=>""!==e))&&(t.some((e=>""===e))?n=_("seedPhraseReq"):y(r)?n=_("invalidSeedPhraseCaseSensitive"):(0,a.isValidMnemonic)(r)||(n=_("invalidSeedPhrase"))),v(t),o(n),e(n?"":r)}),[v,o,_,e]),S=(0,r.useCallback)((e=>{E((t=>{const n=t.slice();return n[e]?n[e]=!1:(n.fill(!1),n[e]=!0),n}))}),[]),C=(0,r.useCallback)(((e,t)=>{m&&h(!1);const n=b.slice();n[e]=t.trim(),O(n)}),[b,O,m]),k=(0,r.useCallback)((e=>{let t=(0,f.parseSecretRecoveryPhrase)(e).split(" ");if(t.length>24)return void h(!0);m&&h(!1);let n=w;t.length!==w&&(n=t.length<12?12:t.length%3==0?t.length:t.length+(3-t.length%3),x(n)),t.length{const t=parseInt(e,10);if(Number.isNaN(t))throw new Error("Unable to parse option as integer");let n=b.slice(0,t);n.length{const t=`import-srp__srp-word-${e}`;return r.default.createElement("div",{key:e,className:"import-srp__srp-word"},r.default.createElement("label",{htmlFor:t,className:"import-srp__srp-word-label"},r.default.createElement(c.Text,null,`${e+1}.`)),r.default.createElement(s.default,{id:t,"data-testid":t,type:T[e]?"text":"password",onChange:t=>{t.preventDefault(),C(e,t.target.value)},value:b[e],autoComplete:"off",onPaste:e=>{const t=e.clipboardData.getData("text");t.trim().match(/\s/u)&&(e.preventDefault(),k(t))}}),r.default.createElement(d.default,{id:`${t}-checkbox`,ariaLabelHidden:_("srpWordHidden"),ariaLabelShown:_("srpWordShown"),shown:T[e],"data-testid":`${t}-checkbox`,onChange:()=>S(e),title:_("srpToggleShow")}))}))),n?r.default.createElement(c.BannerAlert,{className:"import-srp__srp-error",severity:p.Severity.Danger,description:n,descriptionProps:{className:"import-srp__banner-alert-text"}}):null,m?r.default.createElement(c.BannerAlert,{className:"import-srp__srp-too-many-words-error",severity:p.Severity.Danger,actionButtonLabel:_("dismiss"),actionButtonOnClick:()=>h(!1),description:_("srpPasteFailedTooManyWords"),descriptionProps:{className:"import-srp__banner-alert-text"}}):null)}b.propTypes={onChange:o.default.func.isRequired,srpText:o.default.string.isRequired}}}},{package:"$root$",file:"ui/components/app/srp-input/srp-input.js"}],[4842,{"../../../../helpers/constants/design-system":5355,"../../../../hooks/useI18nContext":5427,"../../../component-library":4955,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function({icon:e,image:t,content:n,moreContent:a,buttons:l}){const c=(0,i.useI18nContext)();return r.default.createElement(r.default.Fragment,null,e&&r.default.createElement(s.Box,{display:o.Display.Flex,flexDirection:o.FlexDirection.Row,alignItems:o.AlignItems.center,justifyContent:o.JustifyContent.center},e),t&&r.default.createElement(s.Box,{display:o.Display.Flex,margin:"auto",textAlign:o.TextAlign.Center},r.default.createElement("img",{src:t,alt:c("srpSecurityQuizImgAlt"),width:"300",style:{maxWidth:"100%"}})),r.default.createElement(s.Text,{variant:o.TextVariant.bodyLgMedium,textAlign:o.TextAlign.Center,color:null==e?void 0:e.props.color},n),a&&r.default.createElement(s.Text,{variant:o.TextVariant.bodyMd,textAlign:o.TextAlign.Center},a),l.map(((e,t)=>r.default.createElement(s.Button,{key:t,size:e.size,onClick:e.onClick,variant:e.variant,width:o.BlockSize.Full,"data-testid":e["data-testid"]},e.label))))};var a,r=(a=e("react"))&&a.__esModule?a:{default:a},o=e("../../../../helpers/constants/design-system"),i=e("../../../../hooks/useI18nContext"),s=e("../../../component-library")}}},{package:"$root$",file:"ui/components/app/srp-quiz-modal/QuizContent/QuizContent.tsx"}],[4843,{"./QuizContent":4842},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./QuizContent"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/srp-quiz-modal/QuizContent/hybrid-compute-sdk.ts"}],[4844,{"../../../../../shared/constants/metametrics":4505,"../../../../contexts/metametrics":5327,"../../../../helpers/constants/design-system":5355,"../../../../helpers/constants/routes":5361,"../../../../helpers/constants/zendesk-url":5368,"../../../../hooks/useI18nContext":5427,"../../../component-library":4955,"../../../component-library/modal-content/deprecated":4963,"../../../component-library/modal-header/deprecated":4972,"../QuizContent":4843,"../types":4846,react:4243,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e){const[t,n]=(0,a.useState)(h.QuizStage.introduction),c=(0,a.useContext)(i.MetaMetricsContext),g=(0,r.useHistory)(),y=(0,u.useI18nContext)();let E="";const w={};w[h.QuizStage.introduction]=()=>(E=y("srpSecurityQuizTitle"),a.default.createElement(m.default,{image:"images/reveal-srp.png",content:y("srpSecurityQuizIntroduction"),buttons:[{label:y("srpSecurityQuizGetStarted"),onClick:()=>n(h.QuizStage.questionOne),variant:d.ButtonVariant.Primary,size:d.ButtonSize.Lg,"data-testid":"srp-quiz-get-started"},{label:y("learnMoreUpperCase"),onClick:T,variant:d.ButtonVariant.Link,"data-testid":"srp-quiz-learn-more"}]})),w[h.QuizStage.questionOne]=()=>(E=`1 ${y("ofTextNofM")} 2`,a.default.createElement(m.default,{content:y("srpSecurityQuizQuestionOneQuestion"),buttons:[{label:y("srpSecurityQuizQuestionOneWrongAnswer"),onClick:()=>n(h.QuizStage.wrongAnswerQuestionOne),variant:d.ButtonVariant.Secondary,size:d.ButtonSize.Lg,"data-testid":"srp-quiz-wrong-answer"},{label:y("srpSecurityQuizQuestionOneRightAnswer"),onClick:()=>n(h.QuizStage.rightAnswerQuestionOne),variant:d.ButtonVariant.Secondary,size:d.ButtonSize.Lg,"data-testid":"srp-quiz-right-answer"},{label:y("learnMoreUpperCase"),onClick:T,variant:d.ButtonVariant.Link}]})),w[h.QuizStage.rightAnswerQuestionOne]=()=>(E=`1 ${y("ofTextNofM")} 2`,a.default.createElement(m.default,{icon:v,content:y("srpSecurityQuizQuestionOneRightAnswerTitle"),moreContent:y("srpSecurityQuizQuestionOneRightAnswerDescription"),buttons:[{label:y("continue"),onClick:()=>n(h.QuizStage.questionTwo),variant:d.ButtonVariant.Primary,size:d.ButtonSize.Lg,"data-testid":"srp-quiz-continue"},{label:y("learnMoreUpperCase"),onClick:T,variant:d.ButtonVariant.Link}]})),w[h.QuizStage.wrongAnswerQuestionOne]=()=>(E=`1 ${y("ofTextNofM")} 2`,a.default.createElement(m.default,{icon:b,content:y("srpSecurityQuizQuestionOneWrongAnswerTitle"),moreContent:y("srpSecurityQuizQuestionOneWrongAnswerDescription"),buttons:[{label:y("tryAgain"),onClick:()=>n(h.QuizStage.questionOne),variant:d.ButtonVariant.Primary,size:d.ButtonSize.Lg,"data-testid":"srp-quiz-try-again"},{label:y("learnMoreUpperCase"),onClick:T,variant:d.ButtonVariant.Link}]})),w[h.QuizStage.questionTwo]=()=>(E=`2 ${y("ofTextNofM")} 2`,a.default.createElement(m.default,{content:y("srpSecurityQuizQuestionTwoQuestion"),buttons:[{label:y("srpSecurityQuizQuestionTwoRightAnswer"),onClick:()=>n(h.QuizStage.rightAnswerQuestionTwo),variant:d.ButtonVariant.Secondary,size:d.ButtonSize.Lg,"data-testid":"srp-quiz-right-answer"},{label:y("srpSecurityQuizQuestionTwoWrongAnswer"),onClick:()=>n(h.QuizStage.wrongAnswerQuestionTwo),variant:d.ButtonVariant.Secondary,size:d.ButtonSize.Lg,"data-testid":"srp-quiz-wrong-answer"},{label:y("learnMoreUpperCase"),onClick:T,variant:d.ButtonVariant.Link}]})),w[h.QuizStage.rightAnswerQuestionTwo]=()=>(E=`2 ${y("ofTextNofM")} 2`,a.default.createElement(m.default,{icon:v,content:y("srpSecurityQuizQuestionTwoRightAnswerTitle"),moreContent:y("srpSecurityQuizQuestionTwoRightAnswerDescription"),buttons:[{label:y("continue"),onClick:()=>g.push(l.REVEAL_SEED_ROUTE),variant:d.ButtonVariant.Primary,size:d.ButtonSize.Lg,"data-testid":"srp-quiz-continue"},{label:y("learnMoreUpperCase"),onClick:T,variant:d.ButtonVariant.Link}]})),w[h.QuizStage.wrongAnswerQuestionTwo]=()=>(E=`2 ${y("ofTextNofM")} 2`,a.default.createElement(m.default,{icon:b,content:y("srpSecurityQuizQuestionTwoWrongAnswerTitle"),moreContent:y("srpSecurityQuizQuestionTwoWrongAnswerDescription"),buttons:[{label:y("tryAgain"),onClick:()=>n(h.QuizStage.questionTwo),variant:d.ButtonVariant.Primary,size:d.ButtonSize.Lg,"data-testid":"srp-quiz-try-again"},{label:y("learnMoreUpperCase"),onClick:T,variant:d.ButtonVariant.Link}]}));const x=(0,a.useCallback)((e=>{c({category:o.MetaMetricsEventCategory.Keys,event:o.MetaMetricsEventName.KeyExportSelected,properties:{key_type:o.MetaMetricsEventKeyType.Srp,location:e}},{})}),[]);(0,a.useEffect)((()=>{x(`stage_${t}`)}),[t]);const _=w[t]();return a.default.createElement(d.Modal,{isOpen:e.isOpen,onClose:e.onClose},a.default.createElement(d.ModalOverlay,null),a.default.createElement(p.ModalContent,{modalDialogProps:{display:s.Display.Flex,flexDirection:s.FlexDirection.Column,gap:4}},a.default.createElement(f.ModalHeader,{onClose:e.onClose,"data-testid":"srp-quiz-header"},E),a.default.createElement("span",{"data-testid":`srp_stage_${t}`}),_))};var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=y(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=e("react-router-dom"),o=e("../../../../../shared/constants/metametrics"),i=e("../../../../contexts/metametrics"),s=e("../../../../helpers/constants/design-system"),l=e("../../../../helpers/constants/routes"),c=g(e("../../../../helpers/constants/zendesk-url")),u=e("../../../../hooks/useI18nContext"),d=e("../../../component-library"),p=e("../../../component-library/modal-content/deprecated"),f=e("../../../component-library/modal-header/deprecated"),m=g(e("../QuizContent")),h=e("../types");function g(e){return e&&e.__esModule?e:{default:e}}function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(y=function(e){return e?n:t})(e)}const b=a.default.createElement(d.Icon,{size:d.IconSize.Xl,name:d.IconName.Warning,color:s.IconColor.errorDefault,textAlign:s.TextAlign.Center,width:s.BlockSize.OneTwelfth}),v=a.default.createElement(d.Icon,{size:d.IconSize.Xl,name:d.IconName.Confirmation,color:s.IconColor.successDefault,textAlign:s.TextAlign.Center,width:s.BlockSize.OneTwelfth}),T=()=>{global.platform.openTab({url:c.default.PASSWORD_AND_SRP_ARTICLE})}}}},{package:"$root$",file:"ui/components/app/srp-quiz-modal/SRPQuiz/SRPQuiz.tsx"}],[4845,{"./SRPQuiz":4844},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./SRPQuiz"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/srp-quiz-modal/SRPQuiz/hybrid-compute-sdk.ts"}],[4846,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.QuizStage=void 0;n.QuizStage=function(e){return e.introduction="introduction",e.questionOne="question_one",e.wrongAnswerQuestionOne="wrong_answer_question_one",e.rightAnswerQuestionOne="right_answer_question_one",e.questionTwo="question_two",e.wrongAnswerQuestionTwo="wrong_answer_question_two",e.rightAnswerQuestionTwo="right_answer_question_two",e}({})}}},{package:"$root$",file:"ui/components/app/srp-quiz-modal/types.ts"}],[4847,{"./step-progress-bar":4848},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"ThreeStepProgressBar",{enumerable:!0,get:function(){return a.ThreeStepProgressBar}}),Object.defineProperty(n,"TwoStepProgressBar",{enumerable:!0,get:function(){return a.TwoStepProgressBar}}),Object.defineProperty(n,"threeStepStages",{enumerable:!0,get:function(){return a.threeStepStages}}),Object.defineProperty(n,"twoStepStages",{enumerable:!0,get:function(){return a.twoStepStages}});var a=e("./step-progress-bar")}}},{package:"$root$",file:"ui/components/app/step-progress-bar/index.js"}],[4848,{"../../../helpers/constants/design-system":5355,"../../../hooks/useI18nContext":5427,"../../ui/box":5194,classnames:3049,lodash:3836,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.ThreeStepProgressBar=p,n.TwoStepProgressBar=f,n.twoStepStages=n.threeStepStages=void 0;var a=u(e("react")),r=u(e("classnames")),o=u(e("prop-types")),i=e("lodash"),s=e("../../../hooks/useI18nContext"),l=u(e("../../ui/box")),c=e("../../../helpers/constants/design-system");function u(e){return e&&e.__esModule?e:{default:e}}function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;t=1,complete:e>1})},(0,i.capitalize)(n("createPassword"))),a.default.createElement("li",{className:(0,r.default)({active:e>=2,complete:e>3})},(0,i.capitalize)(n("secureWallet"))),a.default.createElement("li",{className:(0,r.default)({active:e>=4,complete:e>5})},(0,i.capitalize)(n("confirmRecoveryPhrase")))))}function f({stage:e,...t}){const n=(0,s.useI18nContext)();return a.default.createElement(l.default,d({width:c.BLOCK_SIZES.FULL},t),a.default.createElement("ul",{className:"progressbar two-steps"},a.default.createElement("li",{className:(0,r.default)({active:e>=1,complete:e>1})},(0,i.capitalize)(n("confirmRecoveryPhrase"))),a.default.createElement("li",{className:(0,r.default)("two-steps",{active:e>=2,complete:e>2})},(0,i.capitalize)(n("createPassword")))))}p.propTypes={stage:o.default.number,...l.default.propTypes},f.propTypes={stage:o.default.number,...l.default.propTypes}}}},{package:"$root$",file:"ui/components/app/step-progress-bar/step-progress-bar.js"}],[4849,{"./tab-bar":4850},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./tab-bar"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/tab-bar/index.js"}],[4850,{"../../../helpers/constants/design-system":5355,"../../component-library":4955,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=l(e("react")),r=l(e("prop-types")),o=l(e("classnames")),i=e("../../component-library"),s=e("../../../helpers/constants/design-system");function l(e){return e&&e.__esModule?e:{default:e}}const c=e=>{const{tabs:t=[],onSelect:n,isActive:r}=e;return a.default.createElement("div",{className:"tab-bar"},t.map((({key:e,content:t,icon:l})=>a.default.createElement(i.Box,{as:"button",key:e,paddingTop:5,paddingBottom:5,paddingLeft:4,paddingRight:4,className:(0,o.default)("tab-bar__tab pointer",{"tab-bar__tab--active":r(e,t)}),onClick:()=>n(e)},r(e,t)&&a.default.createElement(i.Box,{className:"tab-bar__tab__selected-indicator",borderRadius:s.BorderRadius.pill,backgroundColor:s.Color.primaryDefault,display:[s.Display.None,s.Display.Block]}),a.default.createElement("div",{className:"tab-bar__tab__content"},a.default.createElement("div",{className:"tab-bar__tab__content__icon"},l),a.default.createElement("div",{className:"tab-bar__tab__content__title"},t)),a.default.createElement(i.Icon,{name:i.IconName.ArrowRight,size:i.IconSize.Sm,className:"tab-bar__tab__caret"})))))};c.propTypes={isActive:r.default.func.isRequired,tabs:r.default.array,onSelect:r.default.func};n.default=c}}},{package:"$root$",file:"ui/components/app/tab-bar/tab-bar.js"}],[4851,{"./terms-of-use-popup":4852},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./terms-of-use-popup"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/terms-of-use-popup/index.js"}],[4852,{"../../../../shared/constants/metametrics":4505,"../../../contexts/i18n":5324,"../../../contexts/metametrics":5327,"../../../helpers/constants/design-system":5355,"../../component-library":4955,"../../ui/popover":5281,lodash:3836,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=m;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=p(e("prop-types")),o=e("lodash"),i=e("../../../contexts/i18n"),s=p(e("../../ui/popover")),l=e("../../../helpers/constants/design-system"),c=e("../../component-library"),u=e("../../../../shared/constants/metametrics"),d=e("../../../contexts/metametrics");function p(e){return e&&e.__esModule?e:{default:e}}function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}function m({onAccept:e}){const t=(0,a.useContext)(i.I18nContext),n=(0,a.useContext)(d.MetaMetricsContext),[r,p]=(0,a.useState)(!1),[f,m]=(0,a.useState)(!0),h=(0,a.useRef)(),g=a.default.createRef(),y=(0,o.debounce)((e=>{m(e.scrollHeight-e.scrollTop!==e.clientHeight)}),100);return(0,a.useEffect)((()=>{n({category:u.MetaMetricsEventCategory.Onboarding,event:u.MetaMetricsEventName.TermsOfUseShown,properties:{location:"Terms Of Use Popover"}})}),[]),a.default.createElement(s.default,{className:"terms-of-use__popover",popoverRef:h,onScroll:e=>{y(e.target)},showScrollDown:f,title:t("termsOfUseTitle"),onScrollDownButtonClick:e=>{e.stopPropagation(),g.current.scrollIntoView({behavior:"smooth"})},footerProps:{justifyContent:l.AlignItems.center,flexDirection:l.FlexDirection.Column},footer:a.default.createElement(a.default.Fragment,null,a.default.createElement(c.Button,{variant:c.BUTTON_VARIANT.PRIMARY,className:"terms-of-use__button",onClick:e,disabled:!r,"data-testid":"terms-of-use-accept-button"},t("accept")),a.default.createElement(c.Text,{as:"p",marginTop:4,className:"terms-of-use__footer-text",color:l.TextColor.textAlternative},t("termsOfUseFooterText")))},a.default.createElement(c.Box,{className:"terms-of-use"},a.default.createElement(c.Box,{className:"terms-of-use__content",marginBottom:4,marginLeft:4,marginRight:4},a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"IMPORTANT NOTICE: THIS AGREEMENT IS SUBJECT TO BINDING ARBITRATION AND A WAIVER OF CLASS ACTION RIGHTS AS DETAILED IN SECTION 11. PLEASE READ THE AGREEMENT CAREFULLY."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"ConsenSys Software Inc. (“ConsenSys,” “we,” “us,” or “our”) is the leading blockchain software development company. With a focus on utilizing decentralized technologies, such as Ethereum, our software is powering a revolution in commerce and finance and helping to optimize business processes. ConsenSys hosts a top level domain website, www.consensys.io, that serves information regarding ConsenSys and our Offerings, as defined below, as well as sub-domains for our products or services (the top level domain with the sub-domains collectively referred to as the “Site”), which include text, images, audio, code and other materials or third party information. "),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"These Terms of Use (the “Terms,” “Terms of Use” or “Agreement”) contain the terms and conditions that govern your access to and use of the Site and Offerings provided by us and is an agreement between us and you or the entity you represent (“you” or “your”). Please read these Terms of Use carefully before using the Site or Offerings. By using the Site, clicking a button or checkbox to accept or agree to these Terms where that option is made available, clicking a button to use or access any of the Offerings, completing an Order, or,  if earlier, using or otherwise accessing the Offerings (the date on which any of the events listed above occur being the “Effective Date”), you (1) accept and agree to these Terms and any additional terms, rules and conditions of participation issued by ConsenSys from time to time and (2) consent to the collection, use, disclosure and other handling of information as described in our"," ",a.default.createElement(c.ButtonLink,{href:"https://consensys.io/privacy-policy/",target:"_blank",rel:"noopener noreferrer",color:l.Color.primaryDefault,variant:l.TextVariant.bodySm},"Privacy Policy.")," ","If you do not agree to the Terms or perform any and all obligations you accept under the Terms, then you may not access or use the Offerings. "),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"You represent to us that you are lawfully able to enter into contracts. If you are entering into this Agreement for an entity, such as the company you work for, you represent to us that you have legal authority to bind that entity. Please see Section 13 for definitions of certain capitalized terms used in this Agreement."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"In addition, you represent to us that you and your financial institutions, or any party that owns or controls you or your financial institutions, are (1) not subject to sanctions or otherwise designated on any list of prohibited or restricted parties, including but not limited to the lists maintained by the United Nations Security Council, the U.S. Government (i.e., the Specially Designated Nationals List and Foreign Sanctions Evaders List of the U.S. Department of Treasury and the Entity List of the U.S. Department of Commerce), the European Union or its Member States, or other applicable government authority and (2) not located in any country subject to a comprehensive sanctions program implemented by the United States."),a.default.createElement(c.Text,{variant:l.TextVariant.bodyLgMedium,marginBottom:4},"1. The Offerings."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"1.1 Generally. You may access and use the Offerings in accordance with this Agreement. You agree to comply with the terms of this Agreement and all laws, rules and regulations applicable to your use of the Offerings."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"1.2 Offerings and Access. ConsenSys offers a number of products and services, each an “Offering”, under the ConsenSys brand or brands owned by us. These include Codefi, Quorum, Infura, MetaMask and others. Offerings are generally accessed through the Site or through a third party provider of which we approved, such as the Google Play or Apple App Store, unless otherwise agreed in writing. Some Offerings may require you to create an account, enter a valid form of payment, and select a paid plan (a “Paid Plan”), or initiate an Order. "),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"1.3 Third-Party Content. In certain Offerings, Third-Party Content may be used by you at your election. Third-Party Content is governed by this Agreement and, if applicable, separate terms and conditions accompanying such Third-Party Content, which terms and conditions may include separate fees and charges."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"1.4 Third-Party Offerings. When you use our Offerings, you may also be using the products or services of one or more third parties. Your use of these third party offerings may be subject to the separate policies, terms of use, and fees of these third parties."),a.default.createElement(c.Text,{variant:l.TextVariant.bodyLgMedium,marginBottom:4},"2. Changes."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"2.1 To the Offerings. We may change or discontinue any or all of the Offerings or change or remove functionality of any or all of the Offerings from time to time. We will use commercially reasonable efforts to communicate to you any material change or discontinuation of an Offering through the Site or public communication channels.  If you are on a Paid Plan, we will use commercially reasonable efforts to communicate to you  any material changes to or discontinuation of the Offering at least 30 days in advance of such change, and we will use commercially reasonable efforts to continue supporting the previous version of the Offering for up to three months after the change or discontinuation, except if doing so (a) would pose an information security or intellectual property issue, (b) is economically or technically burdensome, or (c) would create undue risk of us violating the law."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"2.2 To this Agreement. We reserve the right, at our sole discretion, to modify or replace any part of this Agreement or any Policies at any time. It is your responsibility to check this Agreement periodically for changes, but we will also use commercially reasonable efforts to communicate any material changes to this Agreement through the Site or other public channels. Your continued use of or access to the Offerings following the posting of any changes to this Agreement constitutes acceptance of those changes."),a.default.createElement(c.Text,{variant:l.TextVariant.bodyLgMedium,marginBottom:4},"3. Your Responsibilities."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"3.1 Your Accounts.  For those Offerings that require an account, and except to the extent caused by our breach of this Agreement, (a) you are responsible for all activities that occur under your account, regardless of whether the activities are authorized by you or undertaken by you, your employees or a third party (including your contractors, agents or other End Users), and (b) we and our affiliates are not responsible for unauthorized access to your account, including any access that occurred as a result of fraud, phishing, or other criminal activity perpetrated by third parties.  "),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"3.2 Your Use. You are responsible for all activities that occur through your use of those Offerings that do not require an account, except to the extent caused by our breach of this Agreement, regardless of whether the activities are authorized by you or undertaken by you, your employees or a third party (including your contractors, agents or other End Users).  We and our affiliates are not responsible for unauthorized access that may occur during your use of the Offerings, including any access that occurred as a result of fraud, phishing, or other criminal activity perpetrated by third parties.  You will ensure that your use of the Offerings does not violate any applicable law.  "),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"3.3 Your Security and Backup. You are solely responsible for properly configuring and using the Offerings and otherwise taking appropriate action to secure, protect and backup your accounts and/or Your Content in a manner that will provide appropriate security and protection, which might include use of encryption.  This includes your obligation under this Agreement to record and securely maintain any passwords or backup security phrases (i.e. “seed” phrases) that relate to your use of the Offerings. You acknowledge that you will not share with us nor any other third party any password or backup/seed phrase that relates to your use of the Offerings, and that we will not be held responsible if you do share any such phrase or password."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"3.4 Log-In Credentials and API Authentication. To the extent we provide you with log-in credentials and API authentication generated by the Offerings, such log-in credentials and API authentication are for your use only and you will not sell, transfer or sublicense them to any other entity or person, except that you may disclose your password or private key to your agents and subcontractors performing work on your behalf."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"3.5 Applicability to MetaMask Offerings. For the avoidance of doubt, the terms of this Section 3 are applicable to all Offerings, including MetaMask and any accounts you create through MetaMask with Third Party Offerings, such as decentralized applications, or blockchain-based accounts themselves."),a.default.createElement(c.Text,{variant:l.TextVariant.bodyLgMedium,marginBottom:4},"4. Fees and Payment."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"4.1 Publicly Available Offerings. Some Offerings may be offered to the public and licensed on a royalty free basis, including Offerings that require a Paid Plan for software licensing fees above a certain threshold of use. "),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"4.2 Offering Fees.  If your use of an Offering does not require an Order or Paid Plan but software licensing fees are charged contemporaneously with your use of the Offering, those fees will be charged as described on the Site or in the user interface of the Offering.  Such fees may be calculated by combining a fee charged by us and a fee charged by a Third Party Offering that provides certain functionality related to the Offering.  For those Offerings which entail an Order or Paid Plan, we calculate and bill fees and charges according to your Order or Paid Plan. For such Offerings, on the first day of each billing period, you will pay us the applicable fees (the “Base Fees”) and any applicable taxes based on the Offerings in the Paid Plan. In addition, we may, for particular Orders, issue an invoice to you for all charges above the applicable threshold for your Paid Plan which constitute overage fees for the previous billing period. If you make any other changes to the Offerings during a billing period (e.g. upgrading or downgrading your Paid Plan), we will apply any additional charges or credits to the next billing period. We may bill you more frequently for fees accrued at our discretion upon notice to you.  You will pay all fees in U.S. dollars unless the particular Offering specifies a different form of payment or otherwise agreed to in writing. All amounts payable by you under this Agreement will be paid to us without setoff or counterclaim, and without any deduction or withholding. Fees and charges for any new Offering or new feature of an Offering will be effective when we use commercially reasonable efforts to communicate updated fees and charges through our Site or other public channels or, if you are on a Paid Plan, upon commercially reasonable efforts to notify you, unless we expressly state otherwise in a notice. We may increase or add new fees and charges for any existing Offerings you are using by using commercially reasonable efforts to notify users of the Offerings through our Site or other public channels or, if you are on a Paid Plan, by giving you at least 30 days’ prior notice.  Unless otherwise specified in an Order, if you are on a Paid Plan, all amounts due under this Agreement are payable within thirty (30) days following receipt of your invoice.  We may elect to charge you interest at the rate of 1.5% per month (or the highest rate permitted by law, if less) on all late payments."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"4.3 Taxes. Each party will be responsible, as required under applicable law, for identifying and paying all taxes and other governmental fees and charges (and any penalties, interest, and other additions thereto) that are imposed on that party upon or with respect to the transactions and payments under this Agreement. All fees payable by you are exclusive taxes unless otherwise noted. We reserve the right to withhold taxes where required."),a.default.createElement(c.Text,{variant:l.TextVariant.bodyLgMedium,marginBottom:4},"5. Temporary Suspension; Limiting API Requests."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"5.1 Generally. We may suspend your right to access or use any portion or all of the Offerings immediately if we determine:"),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"(a) your use of the Offerings (i) poses a security risk to the Offerings or any third party, (ii) could adversely impact our systems, the Offerings or the systems of any other user, (iii) could subject us, our affiliates, or any third party to liability, or (iv) could be unlawful;"),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"(b) you are, or any End User is, in breach of this Agreement;"),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"(c) you are in breach of your payment obligations under Section 4 and such breach continues for 30 days or longer; or"),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"(d) for entities, you have ceased to operate in the ordinary course, made an assignment for the benefit of creditors or similar disposition of your assets, or become the subject of any bankruptcy, reorganization, liquidation, dissolution or similar proceeding."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"5.2 Effect of Suspension. If we suspend your right to access or use any portion or all of the Offerings:"),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"(a) you remain responsible for all fees and charges you incur during the period of suspension; and"),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"(b) you will not be entitled to any fee credits for any period of suspension."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"5.3 Limiting API Requests. If applicable to a particular Offering, we retain sole discretion to limit your usage of the Offerings (including without limitation by limiting the number of API requests you may submit (“API Requests”)) at any time if your usage of the Offerings exceeds the usage threshold specified in your Paid Plan.   "),a.default.createElement(c.Text,{variant:l.TextVariant.bodyLgMedium,marginBottom:4},"6. Term; Termination."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"6.1 Term. For Offerings subject to a Paid Plan, the term of this Agreement will commence on the Effective Date and will remain in effect until terminated under this Section 6. Any notice of termination of this Agreement by either party to the other must include a Termination Date that complies with the notice periods in Section 6.2.  For Offerings that are not subject to a Paid Plan, the term of this Agreement will commence on the Effective Date and will remain in effect until you stop accessing or using the Offerings. "),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"6.2 Termination."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"(a) Termination for Convenience. If you are not on a Paid Plan, you may terminate this Agreement for any reason by ceasing use of the Offering. If you are on a Paid Plan, each party may terminate this Agreement for any reason by giving the other party at least 30 days’ written notice, subject to the provisions in Section 6.2(b)."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"(b) Termination for Cause."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"(i) By Either Party. Either party may terminate this Agreement for cause if the other party is in material breach of this Agreement and the material breach remains uncured for a period of 30 days from receipt of notice by the other party. "),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"(ii) By Us. We may also terminate this Agreement immediately (A) for cause if we have the right to suspend under Section 5, (B) if our relationship with a third-party partner who provides software or other technology we use to provide the Offerings expires, terminates or requires us to change the way we provide the software or other technology as part of the Offerings, or (C) in order to avoid undue risk of violating the law."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"6.3 Effect of Termination. Upon the Termination Date:"),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"(i) all your rights under this Agreement immediately terminate; and"),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"(ii) each party remains responsible for all fees and charges it has incurred through the Termination Date and are responsible for any fees and charges it incurs during the post-termination period;"),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"(iii) the terms and conditions of this Agreement shall survive the expiration or termination of this Agreement to the full extent necessary for their enforcement and for the protection of the party in whose favor they operate.  For instance, despite this Agreement between you and us terminating, any dispute raised after you stop accessing or using the Offerings will be subject to the applicable provisions of this Agreement if that dispute relates to your prior access or use."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"For any use of the Offerings after the Termination Date, the terms of this Agreement will again apply and, if your use is under a Paid Plan, you will pay the applicable fees at the rates under Section 4."),a.default.createElement(c.Text,{variant:l.TextVariant.bodyLgMedium,marginBottom:4},"7. Proprietary Rights."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"7.1 Your Content. Depending on the Offering, you may share Content with us. Except as provided in this Section 7, we obtain no rights under this Agreement from you (or your licensors) to Your Content. You consent to our use of Your Content to provide the Offerings to you."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"7.2 Offerings License. We or our licensors own all right, title, and interest in and to the Offerings, and all related technology and intellectual property rights. Subject to the terms of this Agreement, we grant you a limited, revocable, non-exclusive, non-sublicensable, non-transferable license to do the following: (a) access and use the Offerings solely in accordance with this Agreement; and (b) copy and use Our Content solely in connection with your permitted use of the Offerings. Except as provided in this Section 7.2, you obtain no rights under this Agreement from us, our affiliates or our licensors to the Offerings, including any related intellectual property rights. Some of Our Content and Third-Party Content may be provided to you under a separate license, such as the Apache License, Version 2.0, or other open source license. In the event of a conflict between this Agreement and any separate license, the separate license will prevail with respect to Our Content or Third-Party Content that is the subject of such separate license."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"7.3 License Restrictions. Neither you nor any End User will use the Offerings in any manner or for any purpose other than as expressly permitted by this Agreement. Except for as authorized, neither you nor any End User will, or will attempt to (a) modify, distribute, alter, tamper with, repair, or otherwise create derivative works of any Content included in the Offerings (except to the extent Content included in the Offerings is provided to you under a separate license that expressly permits the creation of derivative works), (b) reverse engineer, disassemble, or decompile the Offerings or apply any other process or procedure to derive the source code of any software included in the Offerings (except to the extent applicable law doesn’t allow this restriction), (c) access or use the Offerings in a way intended to avoid incurring fees or exceeding usage limits or quotas, (d) use scraping techniques to mine or otherwise scrape data except as permitted by a Plan, or (e) resell or sublicense the Offerings unless otherwise agreed in writing. You will not use Our Marks unless you obtain our prior written consent. You will not misrepresent or embellish the relationship between us and you (including by expressing or implying that we support, sponsor, endorse, or contribute to you or your business endeavors). You will not imply any relationship or affiliation between us and you except as expressly permitted by this Agreement."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"7.4 Suggestions. If you provide any Suggestions to us or our affiliates, we and our affiliates will be entitled to use the Suggestions without restriction. You hereby irrevocably assign to us all right, title, and interest in and to the Suggestions and agree to provide us any assistance we require to document, perfect, and maintain our rights in the Suggestions."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"7.5 U.S. Government Users. If you are a U.S. Government End User, we are licensing the Offerings to you as a “Commercial Item” as that term is defined in the U.S. Code of Federal Regulations (see 48 C.F.R. § 2.101), and the rights we grant you to the Offerings are the same as the rights we grant to all others under these Terms of Use."),a.default.createElement(c.Text,{variant:l.TextVariant.bodyLgMedium,marginBottom:4},"8. Indemnification."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"8.1 General. "),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"(a) You will defend, indemnify, and hold harmless us, our affiliates and licensors, and each of their respective employees, officers, directors, and representatives from and against any Losses arising out of or relating to any claim concerning: (a) breach of this Agreement or violation of applicable law by you; and (b) a dispute between you and any of your customers or users. You will reimburse us for reasonable attorneys’ fees and expenses, associated with claims described in (a) and (b) above."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"(b) We will defend, indemnify, and hold harmless you and your employees, officers, directors, and representatives from and against any Losses arising out of or relating to any claim concerning our material and intentional breach of this Agreement.  We will reimburse you for reasonable attorneys’ fees and expenses associated with the claims described in this paragraph."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"8.2 Intellectual Property."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"(a) Subject to the limitations in this Section 8, you will defend ConsenSys, its affiliates, and their respective employees, officers, and directors against any third-party claim alleging that any of Your Content infringes or misappropriates that third party’s intellectual property rights, and will pay the amount of any adverse final judgment or settlement."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"(b) Subject to the limitations in this Section 8 and the limitations in Section 10, we will defend you and your employees, officers, and directors against any third-party claim alleging that the Offerings infringe or misappropriate that third party’s intellectual property rights, and will pay the amount of any adverse final judgment or settlement.  However, we will not be required to spend more than $200,000 pursuant to this Section 8, including without limitation attorneys’ fees, court costs, settlements, judgments, and reimbursement costs."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"(c) Neither party will have obligations or liability under this Section 8.2 arising from infringement by you combining the Offerings with any other product, service, software, data, content or method. In addition, we will have no obligations or liability arising from your use of the Offerings after we have notified you to discontinue such use. The remedies provided in this Section 8.2 are the sole and exclusive remedies for any third-party claims of infringement or misappropriation of intellectual property rights by the Offerings or by Your Content."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"8.3 Process. In no event will a party agree to any settlement of any claim that involves any commitment, other than the payment of money, without the written consent of the other party."),a.default.createElement(c.Text,{variant:l.TextVariant.bodyLgMedium,marginBottom:4},"9. Disclaimers; Risk."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"9.1 DISCLAIMER. THE OFFERINGS ARE PROVIDED “AS IS.” EXCEPT TO THE EXTENT PROHIBITED BY LAW, OR TO THE EXTENT ANY STATUTORY RIGHTS APPLY THAT CANNOT BE EXCLUDED, LIMITED OR WAIVED, WE AND OUR AFFILIATES AND LICENSORS (A) MAKE NO REPRESENTATIONS OR WARRANTIES OF ANY KIND, WHETHER EXPRESS, IMPLIED, STATUTORY OR OTHERWISE REGARDING THE OFFERINGS OR THE THIRD-PARTY CONTENT, AND (B) DISCLAIM ALL WARRANTIES, INCLUDING ANY IMPLIED OR EXPRESS WARRANTIES (I) OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, OR QUIET ENJOYMENT, (II) ARISING OUT OF ANY COURSE OF DEALING OR USAGE OF TRADE, (III) THAT THE OFFERINGS OR THIRD-PARTY CONTENT WILL BE UNINTERRUPTED, ERROR FREE OR FREE OF HARMFUL COMPONENTS, AND (IV) THAT ANY CONTENT WILL BE SECURE OR NOT OTHERWISE LOST OR ALTERED."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"9.2 RISKS. OUR OFFERINGS RELY ON EMERGING TECHNOLOGIES, SUCH AS ETHEREUM. SOME OFFERINGS ARE SUBJECT TO INCREASED RISK THROUGH YOUR POTENTIAL MISUSE OF THINGS SUCH AS PUBLIC/PRIVATE KEY CRYPTOGRAPHY, OR FAILING TO PROPERLY UPDATE OR RUN SOFTWARE TO ACCOMMODATE PROTOCOL UPGRADES, LIKE THE TRANSITION TO PROOF OF STAKE CONSENSUS. BY USING THE OFFERINGS YOU EXPLICITLY ACKNOWLEDGE AND ACCEPT THESE HEIGHTENED RISKS.  YOU REPRESENT THAT YOU ARE FINANCIALLY AND TECHNICALLY SOPHISTICATED ENOUGH TO UNDERSTAND THE INHERENT RISKS ASSOCIATED WITH USING CRYPTOGRAPHIC AND BLOCKCHAIN-BASED SYSTEMS AND UPGRADING YOUR SOFTWARE AND PROCESSES TO ACCOMMODATE PROTOCOL UPGRADES, AND THAT YOU HAVE A WORKING KNOWLEDGE OF THE USAGE AND INTRICACIES OF DIGITAL ASSETS SUCH AS ETHER (ETH) AND OTHER DIGITAL TOKENS, SUCH AS THOSE FOLLOWING THE ERC-20 TOKEN STANDARD.  IN PARTICULAR, YOU UNDERSTAND THAT WE DO NOT OPERATE THE ETHEREUM PROTOCOL OR ANY OTHER BLOCKCHAIN PROTOCOL, COMMUNICATE OR EXECUTE PROTOCOL UPGRADES, OR APPROVE OR PROCESS BLOCKCHAIN TRANSACTIONS ON BEHALF OF YOU.  YOU FURTHER UNDERSTAND THAT BLOCKCHAIN PROTOCOLS PRESENT THEIR OWN RISKS OF USE, THAT SUPPORTING OR PARTICIPATING IN THE PROTOCOL MAY RESULT IN LOSSES IF YOUR PARTICIPATION VIOLATES CERTAIN PROTOCOL RULES, THAT  BLOCKCHAIN-BASED TRANSACTIONS ARE IRREVERSIBLE, THAT YOUR PRIVATE KEY AND BACKUP SEED PHRASE MUST BE KEPT SECRET AT ALL TIMES, THAT CONSENSYS WILL NOT STORE A BACKUP OF, NOR WILL BE ABLE TO DISCOVER OR RECOVER, YOUR PRIVATE KEY OR BACKUP SEED PHRASE, AND THAT YOU ARE SOLELY RESPONSIBLE FOR ANY APPROVALS OR PERMISSIONS YOU PROVIDE BY CRYPTOGRAPHICALLY SIGNING BLOCKCHAIN MESSAGES OR TRANSACTIONS."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"YOU FURTHER UNDERSTAND AND ACCEPT THAT DIGITAL TOKENS PRESENT MARKET VOLATILITY RISK, TECHNICAL SOFTWARE RISKS, REGULATORY RISKS, AND CYBERSECURITY RISKS.  YOU UNDERSTAND THAT THE COST AND SPEED OF A BLOCKCHAIN-BASED SYSTEM IS VARIABLE, THAT COST MAY INCREASE DRAMATICALLY AT ANY TIME, AND THAT COST AND SPEED IS NOT WITHIN THE CAPABILITY OF CONSENSYS TO CONTROL.  YOU UNDERSTAND THAT PROTOCOL UPGRADES MAY INADVERTENTLY CONTAIN BUGS OR SECURITY VULNERABILITIES THAT MAY RESULT IN LOSS OF FUNCTIONALITY AND ULTIMATELY FUNDS."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"YOU UNDERSTAND AND ACCEPT THAT CONSENSYS DOES NOT CONTROL ANY BLOCKCHAIN PROTOCOL, NOR DOES CONSENSYS CONTROL ANY SMART CONTRACT THAT IS NOT OTHERWISE OFFERED BY CONSENSYS AS PART OF THE OFFERINGS.  YOU UNDERSTAND AND ACCEPT THAT CONSENSYS DOES NOT CONTROL AND IS NOT RESPONSIBLE FOR THE TRANSITION OF ANY BLOCKCHAIN PROTOCOL FROM PROOF OF WORK TO PROOF OF STAKE CONSENSUS.  YOU AGREE THAT YOU ALONE, AND NOT CONSENSYS, IS RESPONSIBLE FOR ANY TRANSACTIONS THAT YOU ENGAGE IN WITH REGARD TO SUPPORTING ANY BLOCKCHAIN PROTOCOL WHETHER THROUGH TRANSACTION VALIDATION OR OTHERWISE, OR ANY TRANSACTIONS THAT YOU ENGAGE IN WITHANY THIRD-PARTY-DEVELOPED SMART CONTRACT OR TOKEN, INCLUDING TOKENS THAT WERE CREATED BY A THIRD PARTY FOR THE PURPOSE OF FRAUDULENTLY MISREPRESENTING AFFILIATION WITH ANY BLOCKCHAIN PROJECT.  YOU AGREE THAT CONSENSYS IS NOT RESPONSIBLE FOR THE REGULATORY STATUS OR TREATMENT OF ANY DIGITAL ASSETS THAT YOU MAY ACCESS OR TRANSACT WITH USING CONSENSYS OFFERINGS.  YOU EXPRESSLY ASSUME FULL RESPONSIBILITY FOR ALL OF THE RISKS OF ACCESSING AND USING THE OFFERINGS TO INTERACT WITH BLOCKCHAIN PROTOCOLS. "),a.default.createElement(c.Text,{variant:l.TextVariant.bodyLgMedium,marginBottom:4},"10. Limitations of Liability."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"10.1 Limitation of Liability. WITH THE EXCEPTION OF CLAIMS RELATING TO A BREACH OF OUR PROPRIETARY RIGHTS AS GOVERNED BY SECTION 7 AND INTELLECTUAL PROPERTY CLAIMS AS GOVERNED BY SECTION 8, IN NO EVENT SHALL THE AGGREGATE LIABILITY OF EACH PARTY TOGETHER WITH ALL OF ITS AFFILIATES ARISING OUT OF OR RELATED TO THIS AGREEMENT EXCEED THE TOTAL AMOUNT PAID BY YOU HEREUNDER FOR THE OFFERINGS GIVING RISE TO THE LIABILITY IN THE TWELVE MONTHS PRECEDING THE FIRST INCIDENT OUT OF WHICH THE LIABILITY AROSE, OR, IF NO FEES HAVE BEEN PAID, $25,000. THE FOREGOING LIMITATION WILL APPLY WHETHER AN ACTION IS IN CONTRACT OR TORT AND REGARDLESS OF THE THEORY OF LIABILITY, BUT WILL NOT LIMIT YOUR PAYMENT OBLIGATIONS UNDER SECTION 4. "),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"10.2 Exclusion of Consequential and Related Damages. IN NO EVENT WILL EITHER PARTY OR ITS AFFILIATES HAVE ANY LIABILITY ARISING OUT OF OR RELATED TO THIS AGREEMENT FOR ANY LOST PROFITS, REVENUES, GOODWILL, OR INDIRECT, SPECIAL, INCIDENTAL, CONSEQUENTIAL, COVER, BUSINESS INTERRUPTION OR PUNITIVE DAMAGES, WHETHER AN ACTION IS IN CONTRACT OR TORT AND REGARDLESS OF THE THEORY OF LIABILITY, EVEN IF A PARTY OR ITS AFFILIATES HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES OR IF A PARTY’S OR ITS AFFILIATES’ REMEDY OTHERWISE FAILS OF ITS ESSENTIAL PURPOSE. THE FOREGOING DISCLAIMER WILL NOT APPLY TO THE EXTENT PROHIBITED BY LAW."),a.default.createElement(c.Text,{variant:l.TextVariant.bodyLgMedium,marginBottom:4},"11. Binding Arbitration and Class Action Waiver."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"PLEASE READ THIS SECTION CAREFULLY – IT MAY SIGNIFICANTLY AFFECT YOUR LEGAL RIGHTS, INCLUDING YOUR RIGHT TO FILE A LAWSUIT IN COURT."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"11.1 Binding Arbitration. Any dispute, claim or controversy (“Claim”) relating in any way to this Agreement, the Site, or your use of the Offerings will be resolved by binding arbitration as provided in this Section 11, rather than in court, except that you may assert claims in small claims court if your claims qualify."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"11.1.1 If you are located in the United States: This agreement and any dispute or claim (including non-contractual disputes or claims) arising out of or in connection with it or its subject matter or formation shall be governed by and construed in accordance with the laws of the State of New York. The Federal Arbitration Act and federal arbitration law apply to this Agreement. There is no judge or jury in arbitration, and court review of an arbitration award is limited. However, an arbitrator can award on an individual basis the same damages and relief as a court (including injunctive and declaratory relief or statutory damages), and must follow the terms of this Agreement as a court would. The arbitration will be conducted in accordance with the expedited procedures set forth in the JAMS Comprehensive Arbitration Rules and Procedures (the “Rules”) as those Rules exist on the effective date of this Agreement, including Rules 16.1 and 16.2 of those Rules. The arbitrator’s decision shall be final, binding, and non-appealable. Judgment upon the award may be entered and enforced in any court having jurisdiction. Neither party shall sue the other party other than as provided herein or for enforcement of this clause or of the arbitrator’s award; any such suit may be brought only in a Federal District Court or a New York state court located in New York County, New York. The arbitrator, and not any federal, state, or local court, shall have exclusive authority to resolve any dispute relating to the interpretation, applicability, unconscionability, arbitrability, enforceability, or formation of this Agreement including any claim that all or any part of the Agreement is void or voidable.  If for any reason a claim proceeds in court rather than in arbitration we and you waive any right to a jury trial. Notwithstanding the foregoing we and you both agree that you or we may bring suit in court to enjoin infringement or other misuse of intellectual property rights. "),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"11.1.2 If you are located in the United Kingdom: This agreement and any dispute or claim (including non-contractual disputes or claims) arising out of or in connection with it or its subject matter or formation shall be governed by and construed in accordance with the law of England and Wales. Any dispute, claim or controversy relating in any way to this Agreement, the Offerings, your use of the Offerings, or to any products or services licensed or distributed by us will be resolved by binding arbitration as provided in this clause. Prior to commencing any formal arbitration proceedings, parties shall first seek settlement of any claim by mediation in accordance with the LCIA Mediation Rules, which Rules are deemed to be incorporated by reference into this clause. If the dispute is not settled by mediation within 14 days of the commencement of the mediation, or such further period as the parties shall agree in writing, the dispute shall be referred to and finally resolved by arbitration under the LCIA Rules, which are deemed to be incorporated by reference into this clause. The language to be used in the mediation and in the arbitration shall be English. The seat or legal place of arbitration shall be London."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"11.1.3 If you are located in any territory that is not specifically enumerated in Sections 11.1.1 or 11.1.2, you may elect for either of Section 11.1.1 or 11.1.2 to apply to you, otherwise this Agreement and any Claim (including non-contractual disputes or claims) arising out of or in connection with it or its subject matter or formation shall be governed by and construed in accordance with the law of Ireland. Any Claim relating in any way to this Agreement, the Offerings, your use of the Offerings, or to any products or services licensed or distributed by us will be resolved by binding arbitration as provided in this clause. Prior to commencing any formal arbitration proceedings, parties shall first seek settlement of any claim by mediation in accordance with the LCIA Mediation Rules, which Rules are deemed to be incorporated by reference into this clause. If the dispute is not settled by mediation within 14 days of the commencement of the mediation, or such further period as the parties shall agree in writing, the Claim shall be referred to and finally resolved by arbitration under the LCIA Rules, which are deemed to be incorporated by reference into this clause. The language to be used in the mediation and in the arbitration shall be English. The seat or legal place of arbitration shall be Dublin, Ireland."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"11.2 Class Action Waiver. YOU AND WE AGREE THAT EACH MAY BRING CLAIMS AGAINST THE OTHER ONLY ON AN INDIVIDUAL BASIS, AND NOT AS A PLAINTIFF OR CLASS MEMBER IN ANY PURPORTED CLASS OR REPRESENTATIVE PROCEEDING. YOU AND WE EXPRESSLY WAIVE ANY RIGHT TO FILE A CLASS ACTION OR SEEK RELIEF ON A CLASS BASIS. Unless both you and we agree, no arbitrator or judge may consolidate more than one person’s claims or otherwise preside over any form of a representative or class proceeding. The arbitrator may award injunctive relief only in favor of the individual party seeking relief and only to the extent necessary to provide relief warranted by that party’s individual claim. If a court decides that applicable law precludes enforcement of any of this paragraph’s limitations as to a particular claim for relief, then that claim (and only that claim) must be severed from the arbitration and may be brought in court. If any court or arbitrator determines that the class action waiver set forth in this paragraph is void or unenforceable for any reason or that an arbitration can proceed on a class basis, then the arbitration provision set forth above shall be deemed null and void in its entirety and the parties shall be deemed to have not agreed to arbitrate disputes."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"11.3 30-Day Right to Opt Out. You have the right to opt-out and not be bound by the arbitration and class action waiver provisions set forth above by sending written notice of your decision to opt-out to the email address notices@consensys.net with subject line LEGAL OPT OUT. The notice must be sent within 30 days of your first use of the Offerings, otherwise you shall be bound to arbitrate disputes and will be deemed to have agreed to waive any right to pursue a class action in accordance with the terms of those paragraphs. If you opt-out of these provisions, we will also not be bound by them."),a.default.createElement(c.Text,{variant:l.TextVariant.bodyLgMedium,marginBottom:4},"12. Miscellaneous."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"12.1 Assignment. You will not assign or otherwise transfer this Agreement or any of your rights and obligations under this Agreement, without our prior written consent. Any assignment or transfer in violation of this Section 12.1 will be void. We may assign this Agreement without your consent (a) in connection with a merger, acquisition or sale of all or substantially all of our assets, or (b) to any Affiliate or as part of a corporate reorganization; and effective upon such assignment, the assignee is deemed substituted for us as a party to this Agreement and we are fully released from all of our obligations and duties to perform under this Agreement. Subject to the foregoing, this Agreement will be binding upon, and inure to the benefit of the parties and their respective permitted successors and assigns."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"12.2 DAOs. As a blockchain native company, we may interact with and provide certain Offerings to DAOs. Due to the unique nature of DAOs, to the extent the DAO votes in favor of and/or accepts such Offerings from ConsenSys, the DAO has acknowledged and agreed to these Terms in their entirety."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"12.2 Entire Agreement and Modifications. This Agreement incorporates the Policies by reference and is the entire agreement between you and us regarding the subject matter of this Agreement. If the terms of this document are inconsistent with the terms contained in any Policy, the terms contained in this document will control. Any modification to the terms of this Agreement may only be made in writing."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"12.3 Force Majeure. Neither party nor their respective affiliates will be liable for any delay or failure to perform any obligation under this Agreement where the delay or failure results from any cause beyond such party’s reasonable control, including but not limited to acts of God, utilities or other telecommunications failures, cyber attacks, earthquake, storms or other elements of nature, pandemics, blockages, embargoes, riots, acts or orders of government, acts of terrorism, or war."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"12.4 Export and Sanctions Compliance. In connection with this Agreement, you will comply with all applicable import, re-import, sanctions, anti-boycott, export, and re-export control laws and regulations, including all such laws and regulations that may apply. For clarity, you are solely responsible for compliance related to the manner in which you choose to use the Offerings. You may not use any Offering if you are the subject of U.S. sanctions or of sanctions consistent with U.S. law imposed by the governments of the country where you are using the Offering. "),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"12.5 Independent Contractors; Non-Exclusive Rights. We and you are independent contractors, and this Agreement will not be construed to create a partnership, joint venture, agency, or employment relationship. Neither party, nor any of their respective affiliates, is an agent of the other for any purpose or has the authority to bind the other. Both parties reserve the right (a) to develop or have developed for it products, services, concepts, systems, or techniques that are similar to or compete with the products, services, concepts, systems, or techniques developed or contemplated by the other party, and (b) to assist third party developers or systems integrators who may offer products or services which compete with the other party’s products or services."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"12.6 Eligibility. If you are under the age of majority in your jurisdiction of residence, you may use the Site or Offerings only with the consent of or under the supervision of your parent or legal guardian."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"NOTICE TO PARENTS AND GUARDIANS: By granting your minor permission to access the Site or Offerings, you agree to these Terms of Use on behalf of your minor. You are responsible for exercising supervision over your minor’s online activities. If you do not agree to these Terms of Use, do not let your minor use the Site or Offerings."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"12.7 Language. All communications and notices made or given pursuant to this Agreement must be in the English language. If we provide a translation of the English language version of this Agreement, the English language version of the Agreement will control if there is any conflict."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"12.8 Notice."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"(a) To You. We may provide any notice to you under this Agreement using commercially reasonable means, including: (i) posting a notice on the Site; (ii) sending a message to the email address then associated with your account; or (iii) using public communication channels . Notices we provide by posting on the Site or using public communication channels will be effective upon posting, and notices we provide by email will be effective when we send the email. It is your responsibility to keep your email address current to the extent you have an account. You will be deemed to have received any email sent to the email address then associated with your account when we send the email, whether or not you actually receive the email."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"(b) To Us. To give us notice under this Agreement, you must contact us by email at notices@consensys.net. "),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"12.9 No Third-Party Beneficiaries. Except as otherwise set forth herein, this Agreement does not create any third-party beneficiary rights in any individual or entity that is not a party to this Agreement."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"12.10 No Waivers. The failure by us to enforce any provision of this Agreement will not constitute a present or future waiver of such provision nor limit our right to enforce such provision at a later time. All waivers by us must be in writing to be effective."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"12.11 Severability. If any portion of this Agreement is held to be invalid or unenforceable, the remaining portions of this Agreement will remain in full force and effect. Any invalid or unenforceable portions will be interpreted to effect and intent of the original portion. If such construction is not possible, the invalid or unenforceable portion will be severed from this Agreement but the rest of the Agreement will remain in full force and effect."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"12.12 Notice and Procedure for Making Claims of Copyright Infringement. If you are a copyright owner or agent of the owner, and you believe that your copyright or the copyright of a person on whose behalf you are authorized to act has been infringed, please provide us a written notice at the address below with the following information:"),a.default.createElement(c.Box,{as:"ol",marginLeft:4,className:"terms-of-use__terms-list"},a.default.createElement(c.Text,{as:"li",variant:l.TextVariant.bodySm,marginBottom:2},"an electronic or physical signature of the person authorized to act on behalf of the owner of the copyright or other intellectual property interest;"),a.default.createElement(c.Text,{as:"li",variant:l.TextVariant.bodySm,marginBottom:2},"a description of the copyrighted work or other intellectual property that you claim has been infringed;"),a.default.createElement(c.Text,{as:"li",variant:l.TextVariant.bodySm,marginBottom:2},"a description of where the material that you claim is infringing is located with respect to the Offerings;"),a.default.createElement(c.Text,{as:"li",variant:l.TextVariant.bodySm,marginBottom:2},"your address, telephone number, and email address;"),a.default.createElement(c.Text,{as:"li",variant:l.TextVariant.bodySm,marginBottom:2},"a statement by you that you have a good faith belief that the disputed use is not authorized by the copyright owner, its agent, or the law;"),a.default.createElement(c.Text,{as:"li",variant:l.TextVariant.bodySm,marginBottom:2},"a statement by you, made under penalty of perjury, that the above information in your notice is accurate and that you are the copyright or intellectual property owner or authorized to act on the copyright or intellectual property owner’s behalf.")),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"You can reach us at:"),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"Email: notices@consensys.net"),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"Subject Line: Copyright Notification Mail"),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"Attention: Copyright ℅"),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"ConsenSys Software Inc. "),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"49 Bogart Street Suite 22 Brooklyn, NY 11206"),a.default.createElement(c.Text,{variant:l.TextVariant.bodyLgMedium,marginBottom:4},"13. Definitions."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"“Acceptable Use Policy” means the policy set forth below, as it may be updated by us from time to time. You agree not to, and not to allow third parties to, use the Offerings:"),a.default.createElement(c.Box,{as:"ol",marginLeft:4,className:"terms-of-use__terms-list"},a.default.createElement(c.Text,{as:"li",variant:l.TextVariant.bodySm,marginBottom:2},"to violate, or encourage the violation of, the legal rights of others (for example, this may include allowing End Users to infringe or misappropriate the intellectual property rights of others in violation of the Digital Millennium Copyright Act);"),a.default.createElement(c.Text,{as:"li",variant:l.TextVariant.bodySm,marginBottom:2},"to engage in, promote or encourage any illegal or infringing content;"),a.default.createElement(c.Text,{as:"li",variant:l.TextVariant.bodySm,marginBottom:2},"for any unlawful, invasive, infringing, defamatory or fraudulent purpose (for example, this may include phishing, creating a pyramid scheme or mirroring a website);"),a.default.createElement(c.Text,{as:"li",variant:l.TextVariant.bodySm,marginBottom:2},"to intentionally distribute viruses, worms, Trojan horses, corrupted files, hoaxes, or other items of a destructive or deceptive nature;"),a.default.createElement(c.Text,{as:"li",variant:l.TextVariant.bodySm,marginBottom:2},"to interfere with the use of the Offerings, or the equipment used to provide the Offerings, by customers, authorized resellers, or other authorized users;"),a.default.createElement(c.Text,{as:"li",variant:l.TextVariant.bodySm,marginBottom:2},"to disable, interfere with or circumvent any aspect of the Offerings (for example, any thresholds or limits);"),a.default.createElement(c.Text,{as:"li",variant:l.TextVariant.bodySm,marginBottom:2},"to generate, distribute, publish or facilitate unsolicited mass email, promotions, advertising or other solicitation; or"),a.default.createElement(c.Text,{as:"li",variant:l.TextVariant.bodySm,marginBottom:2},"to use the Offerings, or any interfaces provided with the Offerings, to access any other product or service in a manner that violates the terms of service of such other product or service.")),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"“API” means an application program interface."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"“API Requests” has the meaning set forth in Section 5.3."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"“Applicable Threshold” has the meaning set forth in Section 4.2."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"“Base Fees” has the meaning set forth in Section 4.2."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"“Content” means any data, text, audio, video or images, software (including machine images), and any documentation."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"“DAO” means Decentralized Autonomous Organization."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"“End User” means any individual or entity that directly or indirectly through another user: (a) accesses or uses Your Content; or (b) otherwise accesses or uses the Offerings under your account. "),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"“Fees” has the meaning set forth in Section 4.2."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"“Losses” means any claims, damages, losses, liabilities, costs, and expenses (including reasonable attorneys’ fees).’"),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"“Our Content” means any software (including machine images), data, text, audio, video, images, or documentation that we offer in connection with the Offerings. "),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"“Our Marks” means any trademarks, service marks, service or trade names, logos, and other designations of ConsenSys Software Inc. and their affiliates or licensors that we may make available to you in connection with this Agreement."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"“Order” means an order for Offerings executed through an order form directly with ConsenSys, or through a cloud vendor, such as Amazon Web Services, Microsoft Azure, or Google Cloud."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"“Offerings” means each of the products and services, including but not limited to Codefi, Infura, MetaMask, Quorum and any other features, tools, materials, or services offered from time to time, by us or our affiliates. "),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"“Policies” means the Acceptable Use Policy, Privacy Policy, any supplemental policies or addendums applicable to any Service as provided to you, and any other policy or terms referenced in or incorporated into this Agreement, each as may be updated by us from time to time."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"“Privacy Policy” means the privacy policy located at"," ",a.default.createElement(c.ButtonLink,{href:"https://consensys.io/privacy-policy",target:"_blank",rel:"noopener noreferrer",color:l.Color.primaryDefault,variant:l.TextVariant.bodySm},"https://consensys.io/privacy-policy")," ","(and any successor or related locations designated by us), as it may be updated by us from time to time."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"“Service Offerings” means the Services (including associated APIs), Our Content, Our Marks, and any other product or service provided by us under this Agreement. Service Offerings do not include Third-Party Content or Third-Party Services."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"“Suggestions” means all suggested improvements to the Service Offerings that you provide to us.."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"“Term” means the term of this Agreement described in Section 6.1."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"“Termination Date” means the effective date of termination provided in accordance with Section 6, in a notice from one party to the other."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"“Third-Party Content” means Content made available to you by any third party on the Site or in conjunction with the Offerings."),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,marginBottom:4},"“Your Content” means content that you or any End User transfers to us, storage or hosting by the Offerings in connection with account and any computational results that you or any End User derive from the foregoing through their use of the Offerings, excluding however any information submitted to a blockchain protocol for processing. "),a.default.createElement(c.Box,{flexDirection:l.FlexDirection.Row,alignItems:l.AlignItems.flexStart,marginLeft:3,marginRight:3,gap:2},a.default.createElement(c.Checkbox,{id:"terms-of-use__checkbox",className:"terms-of-use__checkbox","data-testid":"terms-of-use-checkbox",isChecked:r,onChange:()=>{p(!r)},label:t("termsOfUseAgreeText"),ref:g})))))}m.propTypes={onAccept:r.default.func.isRequired}}}},{package:"$root$",file:"ui/components/app/terms-of-use-popup/terms-of-use-popup.js"}],[4853,{"./token-cell":4854},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./token-cell"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/token-cell/index.js"}],[4854,{"../../../../shared/modules/string-utils":4558,"../../../hooks/useIsOriginalTokenSymbol":5429,"../../../hooks/useTokenFiatAmount":5446,"../../../selectors":5987,"../../multichain":5092,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=p;var a=d(e("prop-types")),r=d(e("react")),o=e("react-redux"),i=e("../../../selectors"),s=e("../../../hooks/useTokenFiatAmount"),l=e("../../multichain"),c=e("../../../../shared/modules/string-utils"),u=e("../../../hooks/useIsOriginalTokenSymbol");function d(e){return e&&e.__esModule?e:{default:e}}function p({address:e,image:t,symbol:n,string:a,onClick:d}){const p=(0,o.useSelector)(i.getTokenList),f=Object.values(p).find((t=>(0,c.isEqualCaseInsensitive)(t.symbol,n)&&(0,c.isEqualCaseInsensitive)(t.address,e))),m=(null==f?void 0:f.name)||n,h=(null==f?void 0:f.iconUrl)||t,g=(0,s.useTokenFiatAmount)(e,a,n),y=(0,u.useIsOriginalTokenSymbol)(e,n);return r.default.createElement(l.TokenListItem,{onClick:()=>d(e),tokenSymbol:n,tokenImage:h,primary:`${a||0}`,secondary:y?g:null,title:m,isOriginalTokenSymbol:y,address:e})}p.propTypes={address:a.default.string,symbol:a.default.string,string:a.default.string,onClick:a.default.func.isRequired,image:a.default.string}}}},{package:"$root$",file:"ui/components/app/token-cell/token-cell.js"}],[4855,{"./token-list":4856},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./token-list"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/token-list/index.js"}],[4856,{"../../../helpers/constants/design-system":5355,"../../../hooks/useI18nContext":5427,"../../component-library":4955,"../token-cell":4853,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=d;var a=c(e("react")),r=c(e("prop-types")),o=c(e("../token-cell")),i=e("../../../hooks/useI18nContext"),s=e("../../component-library"),l=e("../../../helpers/constants/design-system");function c(e){return e&&e.__esModule?e:{default:e}}function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;ta.default.createElement(o.default,u({key:n},t,{onClick:e})))))}d.propTypes={onTokenClick:r.default.func.isRequired,tokens:r.default.array.isRequired,loading:r.default.bool}}}},{package:"$root$",file:"ui/components/app/token-list/token-list.js"}],[4857,{"./transaction-activity-log.container":4862},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./transaction-activity-log.container"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/transaction-activity-log/index.js"}],[4858,{"./transaction-activity-log-icon.component":4859},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./transaction-activity-log-icon.component"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/transaction-activity-log/transaction-activity-log-icon/index.js"}],[4859,{"../../../../helpers/constants/design-system":5355,"../../../component-library":4955,"../transaction-activity-log.constants":4861,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=n.ACTIVITY_ICONS=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=u(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=c(e("prop-types")),o=c(e("classnames")),i=e("../transaction-activity-log.constants"),s=e("../../../component-library"),l=e("../../../../helpers/constants/design-system");function c(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(u=function(e){return e?n:t})(e)}function d(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const p=n.ACTIVITY_ICONS={[i.TRANSACTION_CREATED_EVENT]:s.IconName.Add,[i.TRANSACTION_SUBMITTED_EVENT]:s.IconName.ArrowUp,[i.TRANSACTION_RESUBMITTED_EVENT]:s.IconName.ProgrammingArrows,[i.TRANSACTION_CONFIRMED_EVENT]:s.IconName.Check,[i.TRANSACTION_DROPPED_EVENT]:s.IconName.Close,[i.TRANSACTION_ERRORED_EVENT]:s.IconName.Danger,[i.TRANSACTION_CANCEL_ATTEMPTED_EVENT]:s.IconName.Close,[i.TRANSACTION_CANCEL_SUCCESS_EVENT]:s.IconName.Close};class f extends a.PureComponent{render(){const{className:e,eventKey:t}=this.props,n=p[t];return a.default.createElement("div",{className:(0,o.default)("transaction-activity-log-icon",e)},n?a.default.createElement(s.Icon,{name:n,color:l.Color.iconDefault,size:s.IconSize.Sm}):null)}}n.default=f,d(f,"contextTypes",{t:r.default.func}),d(f,"propTypes",{className:r.default.string,eventKey:r.default.oneOf(Object.keys(p))})}}},{package:"$root$",file:"ui/components/app/transaction-activity-log/transaction-activity-log-icon/transaction-activity-log-icon.component.js"}],[4860,{"../../../../shared/constants/metametrics":4505,"../../../../shared/modules/conversion.utils":4537,"../../../helpers/utils/util":5399,"./transaction-activity-log-icon":4858,"./transaction-activity-log.constants":4861,"@metamask/etherscan-link":1369,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=p(e("prop-types")),o=p(e("classnames")),i=e("@metamask/etherscan-link"),s=e("../../../helpers/utils/util"),l=e("../../../../shared/constants/metametrics"),c=e("../../../../shared/modules/conversion.utils"),u=p(e("./transaction-activity-log-icon")),d=e("./transaction-activity-log.constants");function p(e){return e&&e.__esModule?e:{default:e}}function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}function m(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class h extends a.PureComponent{constructor(...e){super(...e),m(this,"handleActivityClick",(e=>{const{rpcPrefs:t}=this.props,n=(0,i.getBlockExplorerLink)(e,t);this.context.trackEvent({category:l.MetaMetricsEventCategory.Transactions,event:"Clicked Block Explorer Link",properties:{link_type:"Transaction Block Explorer",action:"Activity Details",block_explorer_domain:(0,s.getURLHostName)(n)}}),global.platform.openTab({url:n})}))}renderInlineRetry(e){const{t:t}=this.context,{inlineRetryIndex:n,primaryTransaction:r={},onRetry:o,isEarliestNonce:i}=this.props,{status:s}=r;return i&&s!==d.CONFIRMED_STATUS&&e===n?a.default.createElement("div",{className:"transaction-activity-log__action-link",onClick:o},t("speedUpTransaction")):null}renderInlineCancel(e){const{t:t}=this.context,{inlineCancelIndex:n,primaryTransaction:r={},onCancel:o,isEarliestNonce:i}=this.props,{status:s}=r;return i&&s!==d.CONFIRMED_STATUS&&e===n?a.default.createElement("div",{className:"transaction-activity-log__action-link",onClick:o},t("speedUpCancellation")):null}renderActivity(e,t){const{conversionRate:n,nativeCurrency:r}=this.props,{eventKey:o,value:i,timestamp:l}=e,d=`${(0,c.getValueFromWeiHex)({value:i,fromCurrency:"ETH",toCurrency:"ETH",conversionRate:n,numberOfDecimals:6})} ${r}`,p=(0,s.formatDate)(l,"T 'on' M/d/y"),f=this.context.t(o,[d,p]);return a.default.createElement("div",{key:t,className:"transaction-activity-log__activity"},a.default.createElement(u.default,{className:"transaction-activity-log__activity-icon",eventKey:o}),a.default.createElement("div",{className:"transaction-activity-log__entry-container"},a.default.createElement("div",{className:"transaction-activity-log__activity-text",title:f,onClick:()=>this.handleActivityClick(e)},f),this.renderInlineRetry(t),this.renderInlineCancel(t)))}render(){const{t:e}=this.context,{className:t,activities:n}=this.props;return 0===n.length?null:a.default.createElement("div",{className:(0,o.default)("transaction-activity-log",t)},a.default.createElement("div",{className:"transaction-activity-log__title"},e("activityLog")),a.default.createElement("div",{className:"transaction-activity-log__activities-container"},n.map(((e,t)=>this.renderActivity(e,t)))))}}n.default=h,m(h,"contextTypes",{t:r.default.func,trackEvent:r.default.func}),m(h,"propTypes",{activities:r.default.array,className:r.default.string,conversionRate:r.default.number,inlineRetryIndex:r.default.number,inlineCancelIndex:r.default.number,nativeCurrency:r.default.string,onCancel:r.default.func,onRetry:r.default.func,primaryTransaction:r.default.object,isEarliestNonce:r.default.bool,rpcPrefs:r.default.object})}}},{package:"$root$",file:"ui/components/app/transaction-activity-log/transaction-activity-log.component.js"}],[4861,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.TRANSACTION_UPDATED_EVENT=n.TRANSACTION_SUBMITTED_EVENT=n.TRANSACTION_RESUBMITTED_EVENT=n.TRANSACTION_ERRORED_EVENT=n.TRANSACTION_DROPPED_EVENT=n.TRANSACTION_CREATED_EVENT=n.TRANSACTION_CONFIRMED_EVENT=n.TRANSACTION_CANCEL_SUCCESS_EVENT=n.TRANSACTION_CANCEL_ATTEMPTED_EVENT=n.SUBMITTED_STATUS=n.DROPPED_STATUS=n.CONFIRMED_STATUS=void 0;n.TRANSACTION_CREATED_EVENT="transactionCreated",n.TRANSACTION_SUBMITTED_EVENT="transactionSubmitted",n.TRANSACTION_RESUBMITTED_EVENT="transactionResubmitted",n.TRANSACTION_CONFIRMED_EVENT="transactionConfirmed",n.TRANSACTION_DROPPED_EVENT="transactionDropped",n.TRANSACTION_UPDATED_EVENT="transactionUpdated",n.TRANSACTION_ERRORED_EVENT="transactionErrored",n.TRANSACTION_CANCEL_ATTEMPTED_EVENT="transactionCancelAttempted",n.TRANSACTION_CANCEL_SUCCESS_EVENT="transactionCancelSuccess",n.SUBMITTED_STATUS="submitted",n.CONFIRMED_STATUS="confirmed",n.DROPPED_STATUS="dropped"}}},{package:"$root$",file:"ui/components/app/transaction-activity-log/transaction-activity-log.constants.js"}],[4862,{"../../../ducks/metamask/metamask":5346,"../../../selectors":5987,"./transaction-activity-log.component":4860,"./transaction-activity-log.constants":4861,"./transaction-activity-log.util":4863,lodash:3836,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=e("react-redux"),o=e("lodash"),i=e("../../../selectors"),s=e("../../../ducks/metamask/metamask"),l=(a=e("./transaction-activity-log.component"))&&a.__esModule?a:{default:a},c=e("./transaction-activity-log.util"),u=e("./transaction-activity-log.constants");const d=e=>({eventKey:t})=>t===e;n.default=(0,r.connect)((e=>({conversionRate:(0,i.conversionRateSelector)(e),nativeCurrency:(0,s.getNativeCurrency)(e),rpcPrefs:(0,i.getRpcPrefsForCurrentProvider)(e)})),null,((e,t,n)=>{const{transactionGroup:{transactions:a=[],primaryTransaction:r}={},...i}=n,s=(0,c.combineTransactionHistories)(a);return{...e,...t,...i,activities:s,inlineRetryIndex:(0,o.findLastIndex)(s,d(u.TRANSACTION_RESUBMITTED_EVENT)),inlineCancelIndex:(0,o.findLastIndex)(s,d(u.TRANSACTION_CANCEL_ATTEMPTED_EVENT)),primaryTransaction:r}}))(l.default)}}},{package:"$root$",file:"ui/components/app/transaction-activity-log/transaction-activity-log.container.js"}],[4863,{"../../../../shared/modules/conversion.utils":4537,"../../../helpers/utils/confirm-tx.util":5381,"./transaction-activity-log.constants":4861,"@metamask/transaction-controller":2234},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.combineTransactionHistories=function(e=[]){if(!e.length)return[];const t=[];e.forEach(((e,n)=>{const a=h(e,0===n);t.push(...a)}));return function(e){const t=[],n=Boolean(e.find((({eventKey:e})=>e===i.TRANSACTION_CONFIRMED_EVENT||e===i.TRANSACTION_CANCEL_SUCCESS_EVENT)));let a=!1;return e.forEach((e=>{e.eventKey===i.TRANSACTION_DROPPED_EVENT?n||a||(t.push(e),a=!0):t.push(e)})),t}(t.sort(((e,t)=>e.timestamp-t.timestamp)))},n.getActivities=h;var a=e("@metamask/transaction-controller"),r=e("../../../../shared/modules/conversion.utils"),o=e("../../../helpers/utils/confirm-tx.util"),i=e("./transaction-activity-log.constants");const s="/status",l="/txParams/gasPrice",c="/txParams/gas",u="/estimatedBaseFee",d="/blockTimestamp",p="replace",f={[s]:!0,[l]:!0,[c]:!0,[d]:!0},m={[i.SUBMITTED_STATUS]:i.TRANSACTION_SUBMITTED_EVENT,[i.CONFIRMED_STATUS]:i.TRANSACTION_CONFIRMED_EVENT,[i.DROPPED_STATUS]:i.TRANSACTION_DROPPED_EVENT};function h(e,t=!1){const{id:n,chainId:h,hash:g,history:y=[],txParams:{gas:b,gasPrice:v,maxPriorityFeePerGas:T},txReceipt:{status:E}={},type:w,estimatedBaseFee:x}=e,_=x&&T&&(0,r.sumHexes)(x,T);let O="0x0",S="0x0";const C=y.reduce(((e,y,T)=>{if(0===T&&!Array.isArray(y)&&y.txParams){const{time:a,estimatedBaseFee:o,txParams:{value:s,gas:l="0x0",gasPrice:c,maxPriorityFeePerGas:u}={}}=y,d=o&&u&&(0,r.sumHexes)(o,u);if(O=l,S=d||c||v||"0x0",t)return e.concat({id:n,hash:g,chainId:h,eventKey:i.TRANSACTION_CREATED_EVENT,timestamp:a,value:s})}else if(Array.isArray(y)){const t=[];return y.forEach((r=>{const{op:T,path:E,value:x,timestamp:C}=r,k=C||y[0]&&y[0].timestamp;if(E in f&&T===p||E===u&&"add"===T)switch(E){case s:{const e="0x0"===O&&"0x0"===S?(0,o.getHexGasTotal)({gasLimit:b,gasPrice:_||v}):(0,o.getHexGasTotal)({gasLimit:O,gasPrice:S});if(x in m){let r=m[x];x===i.SUBMITTED_STATUS?w===a.TransactionType.retry?r=i.TRANSACTION_RESUBMITTED_EVENT:w===a.TransactionType.cancel&&(r=i.TRANSACTION_CANCEL_ATTEMPTED_EVENT):x===i.CONFIRMED_STATUS&&w===a.TransactionType.cancel&&(r=i.TRANSACTION_CANCEL_SUCCESS_EVENT),t.push({id:n,hash:g,eventKey:r,timestamp:k,chainId:h,value:e})}break}case l:case c:case u:{const e=t[t.length-1]||{},{lastEventKey:n}=e;if(E===c)O=x;else if(E===l)S=x;else if(E===u){var I;S=_||(null==y||null===(I=y.txParams)||void 0===I?void 0:I.gasPrice),e.value=(0,o.getHexGasTotal)({gasLimit:b,gasPrice:S})}n!==i.TRANSACTION_SUBMITTED_EVENT&&n!==i.TRANSACTION_RESUBMITTED_EVENT||(e.value=(0,o.getHexGasTotal)({gasLimit:O,gasPrice:S}));break}case d:{const t=e.find((e=>e.eventKey===i.TRANSACTION_CONFIRMED_EVENT));t!==undefined&&(t.timestamp=new Date(1e3*parseInt(r.value,16)).getTime());break}default:t.push({id:n,hash:g,chainId:h,eventKey:i.TRANSACTION_UPDATED_EVENT,timestamp:k})}})),e.concat(t)}return e}),[]);return"0x0"===E?C.concat({id:n,hash:g,chainId:h,eventKey:i.TRANSACTION_ERRORED_EVENT}):C}}}},{package:"$root$",file:"ui/components/app/transaction-activity-log/transaction-activity-log.util.js"}],[4864,{"./transaction-breakdown.container":4868},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./transaction-breakdown.container"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/transaction-breakdown/index.js"}],[4865,{"./transaction-breakdown-row.component":4866},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./transaction-breakdown-row.component"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/transaction-breakdown/transaction-breakdown-row/index.js"}],[4866,{classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r,o,i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=u(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),s=c(e("prop-types")),l=c(e("classnames"));function c(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(u=function(e){return e?n:t})(e)}class d extends i.PureComponent{render(){const{title:e,children:t,className:n,divider:a=!1}=this.props;return i.default.createElement("div",{className:(0,l.default)("transaction-breakdown-row",a?"transaction-breakdown-row--with-bottom-border":"",n),"data-testid":"transaction-breakdown-row"},i.default.createElement("div",{className:"transaction-breakdown-row__title","data-testid":"transaction-breakdown-row-title"},e),i.default.createElement("div",{className:"transaction-breakdown-row__value","data-testid":"transaction-breakdown-row-value"},t))}}n.default=d,a=d,r="propTypes",o={title:s.default.string,children:s.default.node,className:s.default.string,divider:s.default.bool},(r=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(r))in a?Object.defineProperty(a,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):a[r]=o}}},{package:"$root$",file:"ui/components/app/transaction-breakdown/transaction-breakdown-row/transaction-breakdown-row.component.js"}],[4867,{"../../../../shared/constants/common":4495,"../../../helpers/constants/common":5353,"../../ui/currency-display":5209,"../../ui/hex-to-decimal":5228,"../user-preferenced-currency-display":4880,"./transaction-breakdown-row":4865,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=p(e("prop-types")),o=p(e("classnames")),i=p(e("../../ui/currency-display")),s=p(e("../user-preferenced-currency-display")),l=p(e("../../ui/hex-to-decimal")),c=e("../../../helpers/constants/common"),u=e("../../../../shared/constants/common"),d=p(e("./transaction-breakdown-row"));function p(e){return e&&e.__esModule?e:{default:e}}function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}function m(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class h extends a.PureComponent{render(){const{t:e}=this.context,{gas:t,gasPrice:n,maxFeePerGas:r,primaryCurrency:p,className:f,nonce:m,nativeCurrency:h,showFiat:g,totalInHex:y,gasUsed:b,isTokenApprove:v,baseFee:T,priorityFee:E,hexGasTotal:w,isEIP1559Transaction:x,l1HexGasTotal:_,sourceAmountFormatted:O,destinationAmountFormatted:S}=this.props;return a.default.createElement("div",{className:(0,o.default)("transaction-breakdown",f)},a.default.createElement("div",{className:"transaction-breakdown__title"},e("transaction")),a.default.createElement(d.default,{divider:!0,title:e("nonce")},void 0===m?null:a.default.createElement(l.default,{className:"transaction-breakdown__value",value:m})),O&&a.default.createElement(d.default,{title:e("amountSent")},a.default.createElement("span",{className:"transaction-breakdown__value transaction-breakdown__value--amount","data-testid":"transaction-breakdown-value-amount"},O)),S&&a.default.createElement(d.default,{title:e("amountReceived")},a.default.createElement("span",{className:"transaction-breakdown__value transaction-breakdown__value--amount","data-testid":"transaction-breakdown-value-amount"},S)),!O&&a.default.createElement(d.default,{title:e(v?"spendingCap":"amount")},a.default.createElement("span",{className:"transaction-breakdown__value transaction-breakdown__value--amount","data-testid":"transaction-breakdown-value-amount"},p)),a.default.createElement(d.default,{title:_?e("transactionHistoryL2GasLimitLabel"):`${e("gasLimit")} (${e("units")})`,className:"transaction-breakdown__row-title"},void 0===t?"?":a.default.createElement(l.default,{className:"transaction-breakdown__value",value:t})),"string"==typeof b&&a.default.createElement(d.default,{title:`${e("gasUsed")} (${e("units")})`,className:"transaction-breakdown__row-title"},a.default.createElement(l.default,{className:"transaction-breakdown__value",value:b})),x&&void 0!==T?a.default.createElement(d.default,{title:e("transactionHistoryBaseFee")},a.default.createElement(i.default,{className:"transaction-breakdown__value","data-testid":"transaction-breakdown__base-fee",currency:h,denomination:u.EtherDenomination.GWEI,value:T,numberOfDecimals:10,hideLabel:!0})):null,x&&void 0!==E?a.default.createElement(d.default,{title:e("transactionHistoryPriorityFee")},a.default.createElement(i.default,{className:"transaction-breakdown__value","data-testid":"transaction-breakdown__priority-fee",currency:h,denomination:u.EtherDenomination.GWEI,value:E,numberOfDecimals:10,hideLabel:!0})):null,!x&&a.default.createElement(d.default,{title:e(_?"transactionHistoryL2GasPriceLabel":"advancedGasPriceTitle")},void 0===n?"?":a.default.createElement(i.default,{className:"transaction-breakdown__value","data-testid":"transaction-breakdown__gas-price",currency:h,denomination:u.EtherDenomination.GWEI,value:n,numberOfDecimals:9,hideLabel:!0})),x&&a.default.createElement(d.default,{title:e("transactionHistoryTotalGasFee")},a.default.createElement(s.default,{className:"transaction-breakdown__value","data-testid":"transaction-breakdown__effective-gas-price",currency:h,denomination:u.EtherDenomination.ETH,numberOfDecimals:6,value:w,type:c.PRIMARY}),g&&a.default.createElement(s.default,{className:"transaction-breakdown__value",type:c.SECONDARY,value:w})),x&&a.default.createElement(d.default,{divider:!0,title:e("transactionHistoryMaxFeePerGas")},a.default.createElement(s.default,{className:"transaction-breakdown__value",currency:h,denomination:u.EtherDenomination.ETH,numberOfDecimals:9,value:r,type:c.PRIMARY}),g&&a.default.createElement(s.default,{className:"transaction-breakdown__value",type:c.SECONDARY,value:r})),_&&a.default.createElement(d.default,{title:e("transactionHistoryL1GasLabel")},a.default.createElement(s.default,{className:"transaction-breakdown__value","data-testid":"transaction-breakdown__l1-gas-total",numberOfDecimals:18,value:_,type:c.PRIMARY}),g&&a.default.createElement(s.default,{className:"transaction-breakdown__value",type:c.SECONDARY,value:_})),a.default.createElement(d.default,{title:e("total")},a.default.createElement(s.default,{className:"transaction-breakdown__value transaction-breakdown__value--eth-total",type:c.PRIMARY,value:y,numberOfDecimals:_?18:null}),g&&a.default.createElement(s.default,{className:"transaction-breakdown__value",type:c.SECONDARY,value:y})))}}n.default=h,m(h,"contextTypes",{t:r.default.func}),m(h,"propTypes",{className:r.default.string,nativeCurrency:r.default.string,showFiat:r.default.bool,nonce:r.default.string,primaryCurrency:r.default.string,isTokenApprove:r.default.bool,gas:r.default.oneOfType([r.default.string,r.default.number]),gasPrice:r.default.oneOfType([r.default.string,r.default.number]),maxFeePerGas:r.default.oneOfType([r.default.string,r.default.number]),gasUsed:r.default.oneOfType([r.default.string,r.default.number]),totalInHex:r.default.oneOfType([r.default.string,r.default.number]),baseFee:r.default.oneOfType([r.default.string,r.default.number]),priorityFee:r.default.oneOfType([r.default.string,r.default.number]),hexGasTotal:r.default.string,isEIP1559Transaction:r.default.bool,l1HexGasTotal:r.default.string,sourceAmountFormatted:r.default.string,destinationAmountFormatted:r.default.string}),m(h,"defaultProps",{showFiat:!0})}}},{package:"$root$",file:"ui/components/app/transaction-breakdown/transaction-breakdown.component.js"}],[4868,{"../../../../shared/lib/transactions-controller-utils":4531,"../../../../shared/modules/conversion.utils":4537,"../../../../shared/modules/transaction.utils":4560,"../../../ducks/metamask/metamask":5346,"../../../helpers/utils/confirm-tx.util":5381,"../../../selectors":5987,"../transaction-activity-log/transaction-activity-log.constants":4861,"./transaction-breakdown.component":4867,"@metamask/transaction-controller":2234,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=e("react-redux"),o=e("@metamask/transaction-controller"),i=e("../../../selectors"),s=e("../../../ducks/metamask/metamask"),l=e("../../../helpers/utils/confirm-tx.util"),c=e("../../../../shared/modules/transaction.utils"),u=e("../../../../shared/modules/conversion.utils"),d=e("../../../../shared/lib/transactions-controller-utils"),p=e("../transaction-activity-log/transaction-activity-log.constants"),f=(a=e("./transaction-breakdown.component"))&&a.__esModule?a:{default:a};n.default=(0,r.connect)(((e,t)=>{const{transaction:n,isTokenApprove:a}=t,{txParams:{gas:r,gasPrice:f,maxFeePerGas:m,value:h}={},txReceipt:{gasUsed:g,effectiveGasPrice:y,l1Fee:b}={},baseFeePerGas:v,sourceTokenAmount:T,sourceTokenDecimals:E,sourceTokenSymbol:w,destinationTokenAddress:x,destinationTokenAmount:_,destinationTokenDecimals:O,destinationTokenSymbol:S,status:C,type:k}=n,I=T&&E?(0,d.calcTokenAmount)(T,E):undefined;let N;if(k===o.TransactionType.swapAndSend&&_&&O&&S)try{if(N=(0,d.getSwapsTokensReceivedFromTxMeta)(S,n,x,undefined,O),!N)throw new Error("Actual destination token amount not found")}catch(e){N=_&&O?(0,d.calcTokenAmount)(_,O):undefined}const M=I&&E&&w?`${I} ${w}`:undefined,P=N&&C===p.CONFIRMED_STATUS?`${N} ${S}`:undefined,A="string"==typeof g?g:r,R=y&&v&&(0,u.subtractHexes)(y,v),j=f||y,D=A&&j&&(0,l.getHexGasTotal)({gasLimit:A,gasPrice:j})||"0x0",B=(0,u.sumHexes)(D,h,b??0);return{nativeCurrency:(0,s.getNativeCurrency)(e),showFiat:(0,i.getShouldShowFiat)(e),totalInHex:B,gas:r,gasPrice:f,maxFeePerGas:m,gasUsed:g,isTokenApprove:a,hexGasTotal:D,priorityFee:R,baseFee:v,isEIP1559Transaction:(0,c.isEIP1559Transaction)(n),l1HexGasTotal:b,sourceAmountFormatted:M,destinationAmountFormatted:P}}))(f.default)}}},{package:"$root$",file:"ui/components/app/transaction-breakdown/transaction-breakdown.container.js"}],[4869,{"./transaction-icon":4870},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./transaction-icon"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/transaction-icon/index.js"}],[4870,{"../../../../shared/constants/transaction":4520,"../../../helpers/constants/design-system":5355,"../../../store/actions":5998,"../../component-library":4955,"@metamask/transaction-controller":2234,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=h;var a=d(e("react")),r=e("react-redux"),o=d(e("prop-types")),i=e("@metamask/transaction-controller"),s=e("../../../../shared/constants/transaction"),l=e("../../../store/actions"),c=e("../../component-library"),u=e("../../../helpers/constants/design-system");function d(e){return e&&e.__esModule?e:{default:e}}const p={[s.TransactionGroupCategory.approval]:c.IconName.Check,[s.TransactionGroupCategory.interaction]:c.IconName.ProgrammingArrows,[s.TransactionGroupCategory.receive]:c.IconName.Received,[s.TransactionGroupCategory.send]:c.IconName.Arrow2UpRight,[s.TransactionGroupCategory.signatureRequest]:c.IconName.SecurityTick,[s.TransactionGroupCategory.swap]:c.IconName.SwapHorizontal,[s.TransactionGroupCategory.swapAndSend]:c.IconName.Arrow2UpRight},f={[s.TransactionGroupStatus.pending]:u.IconColor.primaryDefault,[s.TransactionGroupStatus.cancelled]:u.IconColor.errorDefault,[i.TransactionStatus.approved]:u.IconColor.primaryDefault,[i.TransactionStatus.dropped]:u.IconColor.errorDefault,[i.TransactionStatus.failed]:u.IconColor.errorDefault,[i.TransactionStatus.rejected]:u.IconColor.errorDefault,[i.TransactionStatus.submitted]:u.IconColor.primaryDefault,[i.TransactionStatus.unapproved]:u.IconColor.primaryDefault},m={[s.TransactionGroupStatus.pending]:u.BackgroundColor.primaryMuted,[s.TransactionGroupStatus.cancelled]:u.BackgroundColor.errorMuted,[i.TransactionStatus.approved]:u.BackgroundColor.primaryMuted,[i.TransactionStatus.dropped]:u.BackgroundColor.errorMuted,[i.TransactionStatus.failed]:u.BackgroundColor.errorMuted,[i.TransactionStatus.rejected]:u.BackgroundColor.errorMuted,[i.TransactionStatus.submitted]:u.BackgroundColor.primaryMuted,[i.TransactionStatus.unapproved]:u.BackgroundColor.primaryMuted};function h({status:e,category:t}){const n=(0,r.useDispatch)(),o=f[e]||u.IconColor.primaryDefault,i=m[e]||u.BackgroundColor.primaryMuted,s=p[t];return s?a.default.createElement(c.AvatarIcon,{backgroundColor:i,iconName:s,size:c.AvatarIconSize.Md,color:o}):(n((0,l.captureSingleException)(`The category prop passed to TransactionIcon is not supported. The prop is: ${t}`)),a.default.createElement(c.AvatarIcon,{backgroundColor:u.BackgroundColor.backgroundAlternative,size:c.AvatarIconSize.Md}))}h.propTypes={status:o.default.oneOf([s.TransactionGroupStatus.cancelled,s.TransactionGroupStatus.pending,i.TransactionStatus.approved,i.TransactionStatus.confirmed,i.TransactionStatus.dropped,i.TransactionStatus.failed,i.TransactionStatus.rejected,i.TransactionStatus.submitted,i.TransactionStatus.unapproved]).isRequired,category:o.default.oneOf([s.TransactionGroupCategory.approval,s.TransactionGroupCategory.interaction,s.TransactionGroupCategory.receive,s.TransactionGroupCategory.send,s.TransactionGroupCategory.signatureRequest,s.TransactionGroupCategory.swap,s.TransactionGroupCategory.swapAndSend]).isRequired}}}},{package:"$root$",file:"ui/components/app/transaction-icon/transaction-icon.js"}],[4871,{"./transaction-list-item-details.container":4873},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./transaction-list-item-details.container"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/transaction-list-item-details/index.js"}],[4872,{"../../../../shared/constants/copy":4496,"../../../../shared/constants/metametrics":4505,"../../../../shared/constants/time":4518,"../../../helpers/constants/routes":5361,"../../../helpers/utils/util":5399,"../../component-library/box":4918,"../../ui/button":5198,"../../ui/disclosure":5216,"../../ui/popover":5281,"../../ui/sender-to-recipient":5287,"../../ui/sender-to-recipient/sender-to-recipient.constants":5289,"../../ui/tooltip":5310,"../cancel-button":4591,"../transaction-activity-log":4857,"../transaction-breakdown":4864,"@metamask/etherscan-link":1369,"@metamask/transaction-controller":2234,"copy-to-clipboard":3087,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=_(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=x(e("prop-types")),o=x(e("copy-to-clipboard")),i=e("@metamask/etherscan-link"),s=e("@metamask/transaction-controller"),l=x(e("../../ui/sender-to-recipient")),c=e("../../ui/sender-to-recipient/sender-to-recipient.constants"),u=x(e("../../ui/disclosure")),d=x(e("../transaction-activity-log")),p=x(e("../transaction-breakdown")),f=x(e("../../ui/button")),m=x(e("../../ui/tooltip")),h=x(e("../cancel-button")),g=x(e("../../ui/popover")),y=e("../../component-library/box"),b=e("../../../../shared/constants/time"),v=e("../../../../shared/constants/metametrics"),T=e("../../../helpers/utils/util"),E=e("../../../helpers/constants/routes"),w=e("../../../../shared/constants/copy");function x(e){return e&&e.__esModule?e:{default:e}}function _(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(_=function(e){return e?n:t})(e)}function O(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class S extends a.PureComponent{constructor(...e){super(...e),O(this,"state",{justCopied:!1}),O(this,"handleBlockExplorerClick",(()=>{const{transactionGroup:{primaryTransaction:e},rpcPrefs:t,isCustomNetwork:n,history:a,onClose:r}=this.props,o=(0,i.getBlockExplorerLink)(e,t);!t.blockExplorerUrl&&n?(r(),a.push(`${E.NETWORKS_ROUTE}#blockExplorerUrl`)):(this.context.trackEvent({category:v.MetaMetricsEventCategory.Transactions,event:"Clicked Block Explorer Link",properties:{link_type:"Transaction Block Explorer",action:"Transaction Details",block_explorer_domain:(0,T.getURLHostName)(o)}}),global.platform.openTab({url:o}))})),O(this,"handleCancel",(e=>{const{onCancel:t,onClose:n}=this.props;t(e),n()})),O(this,"handleRetry",(e=>{const{onClose:t,onRetry:n}=this.props;n(e),t()})),O(this,"handleCopyTxId",(()=>{const{transactionGroup:e}=this.props,{primaryTransaction:t}=e,{hash:n}=t;this.context.trackEvent({category:v.MetaMetricsEventCategory.Navigation,event:"Copied Transaction ID",properties:{action:"Activity Log",legacy_event:!0}}),this.setState({justCopied:!0},(()=>{(0,o.default)(n,w.COPY_OPTIONS),setTimeout((()=>this.setState({justCopied:!1})),b.SECOND)}))}))}componentDidMount(){const{recipientAddress:e,tryReverseResolveAddress:t}=this.props;e&&t(e)}render(){const{t:e}=this.context,{justCopied:t}=this.state,{transactionGroup:n,primaryCurrency:r,showSpeedUp:o,showRetry:i,recipientEns:b,recipientAddress:T,recipientName:E,recipientMetadataName:w,senderAddress:x,isEarliestNonce:_,senderNickname:O,title:S,onClose:C,recipientNickname:k,showCancel:I,transactionStatus:N,blockExplorerLinkText:M}=this.props,{primaryTransaction:P,initialTransaction:{type:A}}=n,{hash:R}=P;return a.default.createElement(g.default,{title:S,onClose:C},a.default.createElement("div",{className:"transaction-list-item-details"},a.default.createElement("div",{className:"transaction-list-item-details__operations"},a.default.createElement("div",{className:"transaction-list-item-details__header-buttons"},o&&a.default.createElement(f.default,{type:"primary",onClick:this.handleRetry,className:"transaction-list-item-details__header-button-rounded-button","data-testid":"speedup-button"},e("speedUp")),I&&a.default.createElement(h.default,{transaction:P,cancelTransaction:this.handleCancel,detailsModal:!0}),i&&a.default.createElement(m.default,{title:e("retryTransaction")},a.default.createElement(f.default,{type:"raised",onClick:this.handleRetry,className:"transaction-list-item-details__header-button","data-testid":"rety-button"},a.default.createElement("i",{className:"fa fa-sync"}))))),a.default.createElement("div",{className:"transaction-list-item-details__header"},a.default.createElement("div",{className:"transaction-list-item-details__tx-status","data-testid":"transaction-list-item-details-tx-status"},a.default.createElement("div",null,e("status")),a.default.createElement("div",null,a.default.createElement(N,null))),a.default.createElement("div",{className:"transaction-list-item-details__tx-hash"},a.default.createElement("div",null,a.default.createElement(f.default,{type:"link",onClick:this.handleBlockExplorerClick,disabled:!R},"addBlockExplorer"===M.firstPart?e("addBlockExplorer"):e("viewOnBlockExplorer"))),a.default.createElement("div",null,a.default.createElement(m.default,{wrapperClassName:"transaction-list-item-details__header-button",containerClassName:"transaction-list-item-details__header-button-tooltip-container",title:t?e("copiedExclamation"):null},a.default.createElement(f.default,{type:"link",onClick:this.handleCopyTxId,disabled:!R},e("copyTransactionId")))))),a.default.createElement("div",{className:"transaction-list-item-details__body"},a.default.createElement("div",{className:"transaction-list-item-details__sender-to-recipient-header"},a.default.createElement("div",null,e("from")),a.default.createElement("div",null,e("to"))),a.default.createElement("div",{className:"transaction-list-item-details__sender-to-recipient-container"},a.default.createElement(l.default,{warnUserOnAccountMismatch:!1,variant:c.DEFAULT_VARIANT,addressOnly:!0,recipientEns:b,recipientAddress:T,recipientNickname:k,recipientName:E,recipientMetadataName:w,senderName:O,senderAddress:x,onRecipientClick:()=>{this.context.trackEvent({category:v.MetaMetricsEventCategory.Navigation,event:'Copied "To" Address',properties:{action:"Activity Log",legacy_event:!0}})},onSenderClick:()=>{this.context.trackEvent({category:v.MetaMetricsEventCategory.Navigation,event:'Copied "From" Address',properties:{action:"Activity Log",legacy_event:!0}})}})),a.default.createElement("div",{className:"transaction-list-item-details__cards-container"},a.default.createElement(p.default,{nonce:n.initialTransaction.txParams.nonce,isTokenApprove:A===s.TransactionType.tokenMethodApprove||A===s.TransactionType.tokenMethodSetApprovalForAll,transaction:P,primaryCurrency:r,className:"transaction-list-item-details__transaction-breakdown"}),n.initialTransaction.type!==s.TransactionType.incoming&&a.default.createElement(y.Box,{marginTop:3,marginBottom:3},a.default.createElement(u.default,{title:e("activityLog"),size:"small",isScrollToBottomOnOpen:!0},a.default.createElement(d.default,{transactionGroup:n,className:"transaction-list-item-details__transaction-activity-log",onCancel:this.handleCancel,onRetry:this.handleRetry,isEarliestNonce:_})))))))}}n.default=S,O(S,"contextTypes",{t:r.default.func,trackEvent:r.default.func}),O(S,"defaultProps",{recipientEns:null}),O(S,"propTypes",{onCancel:r.default.func,onRetry:r.default.func,showCancel:r.default.bool,showSpeedUp:r.default.bool,showRetry:r.default.bool,isEarliestNonce:r.default.bool,primaryCurrency:r.default.string,transactionGroup:r.default.object,title:r.default.string.isRequired,onClose:r.default.func.isRequired,recipientEns:r.default.string,recipientAddress:r.default.string,recipientName:r.default.string,recipientMetadataName:r.default.string,rpcPrefs:r.default.object,senderAddress:r.default.string.isRequired,tryReverseResolveAddress:r.default.func.isRequired,senderNickname:r.default.string.isRequired,recipientNickname:r.default.string,transactionStatus:r.default.func,isCustomNetwork:r.default.bool,history:r.default.object,blockExplorerLinkText:r.default.object})}}},{package:"$root$",file:"ui/components/app/transaction-list-item-details/transaction-list-item-details.component.js"}],[4873,{"../../../../shared/modules/hexstring-utils":4544,"../../../selectors":5987,"../../../store/actions":5998,"./transaction-list-item-details.component":4872,"react-redux":4199,"react-router-dom":4228,redux:4261},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=e("react-redux"),o=e("redux"),i=e("react-router-dom"),s=e("../../../store/actions"),l=e("../../../selectors"),c=e("../../../../shared/modules/hexstring-utils"),u=(a=e("./transaction-list-item-details.component"))&&a.__esModule?a:{default:a};n.default=(0,o.compose)(i.withRouter,(0,r.connect)(((e,t)=>{const{recipientAddress:n,senderAddress:a}=t;let r;if(n){const t=(0,c.toChecksumHexAddress)(n);r=(0,l.getEnsResolutionByAddress)(e,t)}const o=(0,l.getAddressBook)(e),i=(0,l.getInternalAccounts)(e),s=(0,l.getAccountName)(i,n),u=(0,l.getMetadataContractName)(e,n),d=e=>{const t=o.find((t=>e.toLowerCase()===t.address.toLowerCase()));return t&&t.name||""},p=(0,l.getRpcPrefsForCurrentProvider)(e),f=(0,l.getIsCustomNetwork)(e);return{rpcPrefs:p,recipientEns:r,senderNickname:d(a),recipientNickname:n?d(n):null,isCustomNetwork:f,blockExplorerLinkText:(0,l.getBlockExplorerLinkText)(e),recipientName:s,recipientMetadataName:u}}),(e=>({tryReverseResolveAddress:t=>e((0,s.tryReverseResolveAddress)(t))}))))(u.default)}}},{package:"$root$",file:"ui/components/app/transaction-list-item-details/transaction-list-item-details.container.js"}],[4874,{"./transaction-list-item.component":4876},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./transaction-list-item.component"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/app/transaction-list-item/index.js"}],[4875,{"../../../../shared/constants/transaction":4520,"../../../ducks/swaps/swaps":5351,"../../../helpers/constants/design-system":5355,"../../../helpers/utils/util":5399,"../../../hooks/useTransactionDisplayData":5449,"../../../selectors":5987,"../../component-library":4955,"../../multichain":5092,"../cancel-button":4591,"../transaction-icon":4869,"../transaction-list-item-details":4871,"../transaction-status-label/transaction-status-label":4879,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=T;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=v(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=b(e("prop-types")),o=e("react-redux"),i=b(e("../transaction-status-label/transaction-status-label")),s=b(e("../transaction-icon")),l=e("../../../hooks/useTransactionDisplayData"),c=e("../../../helpers/utils/util"),u=e("../../../../shared/constants/transaction"),d=b(e("../cancel-button")),p=e("../../../ducks/swaps/swaps"),f=b(e("../transaction-list-item-details")),m=e("../../multichain"),h=e("../../component-library"),g=e("../../../helpers/constants/design-system"),y=e("../../../selectors");function b(e){return e&&e.__esModule?e:{default:e}}function v(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(v=function(e){return e?n:t})(e)}function T({smartTransaction:e,transactionGroup:t,isEarliestNonce:n=!1}){var r;const b=(0,o.useDispatch)(),[v,T]=(0,a.useState)(!1),[E,w]=(0,a.useState)(!1),{title:x,category:_,primaryCurrency:O,recipientAddress:S,isPending:C,senderAddress:k}=(0,l.useTransactionDisplayData)(t),I=(0,o.useSelector)(y.getCurrentNetwork),{time:N,status:M}=e,P=(0,c.formatDateWithYearContext)(N,"MMM d, y","MMM d");let A;M===u.SmartTransactionStatus.pending?A=u.TransactionGroupStatus.pending:null!=M&&M.startsWith(u.SmartTransactionStatus.cancelled)&&(A=u.TransactionGroupStatus.cancelled);const R=e.cancellable&&!v,j=(0,a.useCallback)((()=>{w((e=>!e))}),[]);return a.default.createElement(a.default.Fragment,null,a.default.createElement(m.ActivityListItem,{className:"transaction-list-item transaction-list-item--unconfirmed",title:x,onClick:j,icon:a.default.createElement(h.BadgeWrapper,{anchorElementShape:h.BadgeWrapperAnchorElementShape.circular,positionObj:{top:-4,right:-4},display:g.Display.Block,badge:a.default.createElement(h.AvatarNetwork,{className:"activity-tx__network-badge","data-testid":"activity-tx-network-badge",size:h.AvatarNetworkSize.Xs,name:null==I?void 0:I.nickname,src:null==I||null===(r=I.rpcPrefs)||void 0===r?void 0:r.imageUrl,borderWidth:1,borderColor:g.BackgroundColor.backgroundDefault})},a.default.createElement(s.default,{category:_,status:A})),subtitle:a.default.createElement(i.default,{isPending:!0,isEarliestNonce:n,date:P,status:A})},A===u.TransactionGroupStatus.pending&&R&&a.default.createElement(h.Box,{paddingTop:4,className:"transaction-list-item__pending-actions"},a.default.createElement(d.default,{transaction:e.uuid,cancelTransaction:t=>{null==t||t.preventDefault(),b((0,p.cancelSwapsSmartTransaction)(e.uuid)),T(!0)}}))),E&&a.default.createElement(f.default,{title:x,onClose:j,senderAddress:k,recipientAddress:S,primaryCurrency:O,isEarliestNonce:n,transactionGroup:t,transactionStatus:()=>a.default.createElement(i.default,{isPending:C,isEarliestNonce:n,date:P,status:A,statusOnly:!0})}))}T.propTypes={smartTransaction:r.default.object.isRequired,isEarliestNonce:r.default.bool,transactionGroup:r.default.object}}}},{package:"$root$",file:"ui/components/app/transaction-list-item/smart-transaction-list-item.component.js"}]],[],{}); \ No newline at end of file diff --git a/contracts/test/e2e/metamask-flask-unpacked/ui-4.js b/contracts/test/e2e/metamask-flask-unpacked/ui-4.js index aedc40f..b2e78cb 100644 --- a/contracts/test/e2e/metamask-flask-unpacked/ui-4.js +++ b/contracts/test/e2e/metamask-flask-unpacked/ui-4.js @@ -1 +1 @@ -LavaPack.loadBundle([[4876,{"../../../../shared/constants/gas":4500,"../../../../shared/constants/metametrics":4505,"../../../../shared/constants/transaction":4520,"../../../../shared/modules/selectors":4554,"../../../contexts/gasFee":5323,"../../../contexts/metametrics":5327,"../../../contexts/transaction-modal":5331,"../../../helpers/constants/design-system":5355,"../../../helpers/constants/routes":5361,"../../../helpers/utils/transactions.util":5397,"../../../helpers/utils/util":5399,"../../../hooks/useI18nContext":5427,"../../../hooks/useShouldShowSpeedUp":5440,"../../../hooks/useTransactionDisplayData":5449,"../../../pages/confirmations/components/advanced-gas-fee-popover":5489,"../../../pages/confirmations/components/edit-gas-fee-popover":5563,"../../../pages/confirmations/components/edit-gas-popover":5570,"../../../selectors":5987,"../../../store/actions":5998,"../../component-library":4955,"../../multichain":5092,"../../ui/button":5198,"../cancel-button":4591,"../cancel-speedup-popover":4593,"../transaction-icon":4869,"../transaction-list-item-details":4871,"../transaction-status-label/transaction-status-label":4879,"@metamask/transaction-controller":2234,classnames:3049,"prop-types":3997,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=F(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}(e("react")),a=D(e("prop-types")),r=D(e("classnames")),i=e("react-router-dom"),s=e("react-redux"),l=e("@metamask/transaction-controller"),c=e("../../../hooks/useTransactionDisplayData"),u=e("../../../hooks/useI18nContext"),d=D(e("../transaction-list-item-details")),p=e("../../../helpers/constants/routes"),m=e("../../../hooks/useShouldShowSpeedUp"),f=D(e("../transaction-status-label/transaction-status-label")),g=D(e("../transaction-icon")),h=e("../../../helpers/constants/design-system"),y=e("../../component-library"),b=e("../../../../shared/constants/metametrics"),v=e("../../../../shared/constants/transaction"),k=e("../../../../shared/constants/gas"),x=e("../../../contexts/gasFee"),T=e("../../../contexts/transaction-modal"),C=e("../../../selectors"),w=e("../../../helpers/utils/transactions.util"),_=e("../../../helpers/utils/util"),E=D(e("../../ui/button")),M=D(e("../../../pages/confirmations/components/advanced-gas-fee-popover")),S=D(e("../cancel-button")),O=D(e("../cancel-speedup-popover")),A=D(e("../../../pages/confirmations/components/edit-gas-fee-popover")),N=D(e("../../../pages/confirmations/components/edit-gas-popover")),I=e("../../../contexts/metametrics"),P=e("../../multichain"),j=e("../../../store/actions"),B=e("../../../../shared/modules/selectors");function D(e){return e&&e.__esModule?e:{default:e}}function F(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(F=function(e){return e?n:t})(e)}function L(){return L=Object.assign?Object.assign.bind():function(e){for(var t=1;t{e.stopPropagation(),J({event:'Clicked "Speed Up"',category:b.MetaMetricsEventCategory.Navigation,properties:{action:"Activity Log",legacy_event:!0}}),z?(t(k.EditGasModes.speedUp),W("cancelSpeedUpTransaction")):$(!0)}),[W,t,J,z]),Q=(0,o.useCallback)((e=>{e.stopPropagation(),J({event:'Clicked "Cancel"',category:b.MetaMetricsEventCategory.Navigation,properties:{action:"Activity Log",legacy_event:!0}}),K===l.TransactionStatus.approved?H((0,j.abortTransactionSigning)(G)):z?(t(k.EditGasModes.cancel),W("cancelSpeedUpTransaction")):L(!0)}),[J,W,t,z,K,H,G]),X=(0,m.useShouldShowSpeedUp)(e,n),{title:Z,category:ee,primaryCurrency:te,recipientAddress:ne,secondaryCurrency:oe,displayedStatusKey:ae,isPending:re,senderAddress:ie}=(0,c.useTransactionDisplayData)(e),se=(0,_.formatDateWithYearContext)(e.primaryTransaction.time,"MMM d, y","MMM d"),le=ee===v.TransactionGroupCategory.signatureRequest,ce=ee===v.TransactionGroupCategory.approval,ue=K===l.TransactionStatus.unapproved,de=[v.TransactionGroupCategory.swap,v.TransactionGroupCategory.swapAndSend].includes(ee),pe=K===l.TransactionStatus.approved,me=K===l.TransactionStatus.signed,fe=(0,r.default)("transaction-list-item",{"transaction-list-item--unconfirmed":re||[l.TransactionStatus.failed,l.TransactionStatus.dropped,l.TransactionStatus.rejected].includes(ae)}),ge=(0,o.useCallback)((()=>{ue?M.push(`${p.CONFIRM_TRANSACTION_ROUTE}/${G}`):D((e=>(J({event:e?b.MetaMetricsEventName.ActivityDetailsClosed:b.MetaMetricsEventName.ActivityDetailsOpened,category:b.MetaMetricsEventCategory.Navigation,properties:{activity_type:ee}}),!e)))}),[ue,M,G,J,ee]),he=(0,o.useMemo)((()=>!X||!re||ue||pe||me?null:o.default.createElement(E.default,{"data-testid":"speed-up-button",type:"primary",onClick:O?Q:Y,style:O?{width:"auto"}:null},w(O?"speedUpCancellation":"speedUp"))),[X,ue,w,re,pe,me,O,Y,Q]),ye=(0,s.useSelector)(C.getCurrentNetwork);let be=!O&&re&&!ue&&!me;return o.default.createElement(o.default.Fragment,null,o.default.createElement(P.ActivityListItem,{"data-testid":"activity-list-item",onClick:ge,className:fe,title:Z,icon:o.default.createElement(y.BadgeWrapper,{anchorElementShape:y.BadgeWrapperAnchorElementShape.circular,positionObj:{top:-4,right:-4},display:h.Display.Block,badge:o.default.createElement(y.AvatarNetwork,{className:"activity-tx__network-badge","data-testid":"activity-tx-network-badge",size:y.AvatarNetworkSize.Xs,name:null==ye?void 0:ye.nickname,src:null==ye||null===(a=ye.rpcPrefs)||void 0===a?void 0:a.imageUrl,borderWidth:1,borderColor:h.BackgroundColor.backgroundDefault,backgroundColor:U})},o.default.createElement(g.default,{category:ee,status:ae})),subtitle:o.default.createElement(f.default,{statusOnly:!0,isPending:re,isEarliestNonce:n,error:q,date:se,status:ae}),rightContent:!le&&!ce&&o.default.createElement(o.default.Fragment,null,o.default.createElement(y.Text,{variant:h.TextVariant.bodyLgMedium,fontWeight:h.FontWeight.Medium,color:h.Color.textDefault,title:te,textAlign:h.TextAlign.Right,"data-testid":"transaction-list-item-primary-currency",className:"activity-list-item__primary-currency",ellipsis:!0},te),o.default.createElement(y.Text,{variant:h.TextVariant.bodyMd,color:h.Color.textAlternative,textAlign:h.TextAlign.Right,"data-testid":"transaction-list-item-secondary-currency"},oe))},o.default.createElement(y.Box,{paddingTop:4,className:"transaction-list-item__pending-actions"},be&&o.default.createElement(S.default,{"data-testid":"cancel-button",transaction:e.primaryTransaction,cancelTransaction:Q}),he)),A&&o.default.createElement(d.default,{title:Z,onClose:ge,transactionGroup:e,primaryCurrency:te,senderAddress:ie,recipientAddress:ne,onRetry:Y,showRetry:K===l.TransactionStatus.failed&&!de&&!V,showSpeedUp:X,isEarliestNonce:n,onCancel:Q,showCancel:re&&!O,transactionStatus:()=>o.default.createElement(f.default,{isPending:re,isEarliestNonce:n,error:q,date:se,status:ae,statusOnly:!0})}),!z&&R&&o.default.createElement(N.default,{onClose:()=>$(!1),mode:k.EditGasModes.speedUp,transaction:e.primaryTransaction}),!z&&F&&o.default.createElement(N.default,{onClose:()=>L(!1),mode:k.EditGasModes.cancel,transaction:e.primaryTransaction}))}R.propTypes={transactionGroup:a.default.object.isRequired,isEarliestNonce:a.default.bool,setEditGasMode:a.default.func};const $=e=>{const{transactionGroup:t}=e,[n,a]=(0,o.useState)(),r=t.primaryTransaction,i=(0,s.useSelector)(C.checkNetworkAndAccountSupports1559)&&!(0,w.isLegacyTransaction)(null==r?void 0:r.txParams),l=Boolean(t.primaryTransaction.custodyId);return o.default.createElement(x.GasFeeContextProvider,{transaction:t.primaryTransaction,editGasMode:n},o.default.createElement(T.TransactionModalContextProvider,null,o.default.createElement(R,L({},e,{setEditGasMode:a})),i&&o.default.createElement(o.default.Fragment,null,!l&&o.default.createElement(O.default,null),o.default.createElement(A.default,null),o.default.createElement(M.default,null))))};$.propTypes={transactionGroup:a.default.object.isRequired};n.default=$}}},{package:"$root$",file:"ui/components/app/transaction-list-item/transaction-list-item.component.js"}],[4877,{"./transaction-list.component":4878},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return a.default}});var o,a=(o=e("./transaction-list.component"))&&o.__esModule?o:{default:o}}}},{package:"$root$",file:"ui/components/app/transaction-list/index.js"}],[4878,{"../../../../shared/constants/swaps":4516,"../../../../shared/modules/string-utils":4558,"../../../helpers/constants/design-system":5355,"../../../helpers/constants/transactions":5367,"../../../helpers/utils/util":5399,"../../../hooks/useAccountTotalFiatBalance":5413,"../../../hooks/useI18nContext":5427,"../../../selectors":5987,"../../../selectors/transactions":5995,"../../component-library":4955,"../../multichain/ramps-card/ramps-card":5178,"../../ui/button":5198,"../transaction-list-item":4874,"../transaction-list-item/smart-transaction-list-item.component":4875,"@metamask/transaction-controller":2234,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=M;var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=T(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}(e("react")),a=x(e("prop-types")),r=e("react-redux"),i=e("@metamask/transaction-controller"),s=e("../../../selectors/transactions"),l=e("../../../selectors"),c=e("../../../hooks/useI18nContext"),u=x(e("../transaction-list-item")),d=x(e("../transaction-list-item/smart-transaction-list-item.component")),p=x(e("../../ui/button")),m=e("../../../helpers/constants/transactions"),f=e("../../../../shared/constants/swaps"),g=e("../../../../shared/modules/string-utils"),h=e("../../component-library"),y=e("../../../helpers/constants/design-system"),b=e("../../../helpers/utils/util"),v=e("../../../hooks/useAccountTotalFiatBalance"),k=e("../../multichain/ramps-card/ramps-card");function x(e){return e&&e.__esModule?e:{default:e}}function T(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(T=function(e){return e?n:t})(e)}const C=10,w=({initialTransaction:{type:e,destinationTokenSymbol:t,sourceTokenSymbol:n}})=>!m.TOKEN_CATEGORY_HASH[e]&&(![i.TransactionType.swap,i.TransactionType.swapAndSend].includes(e)||("ETH"===t||"ETH"===n)),_=(e,t,n,o)=>t?e.filter(w):n?e.filter(((e,t)=>({initialTransaction:{txParams:n}})=>(0,g.isEqualCaseInsensitive)(null==n?void 0:n.to,e)||(null==n?void 0:n.to)===f.SWAPS_CHAINID_CONTRACT_ADDRESS_MAP[t]&&n.data.match(e.slice(2)))(n,o)):e,E=e=>{const t=[];return e.forEach((e=>{const n=(0,b.formatDateWithYearContext)(e.primaryTransaction.time,"MMM d, y","MMM d"),o=t.find((e=>e.date===n));o?o.transactionGroups.push(e):t.push({date:n,dateMillis:e.primaryTransaction.time,transactionGroups:[e]}),t.sort(((e,t)=>t.dateMillis-e.dateMillis))})),t};function M({hideTokenTransactions:e,tokenAddress:t}){const[n,a]=(0,o.useState)(C),m=(0,c.useI18nContext)(),f=(0,r.useSelector)(s.nonceSortedPendingTransactionsSelector),g=(0,r.useSelector)(s.nonceSortedCompletedTransactionsSelector),b=(0,r.useSelector)(l.getCurrentChainId),{address:x}=(0,r.useSelector)(l.getSelectedAccount),T=(0,r.useSelector)(l.getShouldHideZeroBalanceTokens),{totalFiatBalance:w}=(0,v.useAccountTotalFiatBalance)(x,T),M=0===Number(w),S=(0,r.useSelector)(l.getIsBuyableChain)&&M,O=(e,t)=>0===e?o.default.createElement(h.Text,{paddingTop:4,paddingInline:4,variant:y.TextVariant.bodyMd,color:y.TextColor.textDefault,key:t.dateMillis},t.date):null,A=(0,o.useMemo)((()=>E(_(f,e,t,b))),[e,t,f,b]),N=(0,o.useMemo)((()=>E(_(g,e,t,b))),[e,t,g,b]),I=(0,o.useCallback)((()=>a((e=>e+C))),[]);return o.default.createElement(o.default.Fragment,null,S?o.default.createElement(k.RampsCard,{variant:k.RAMPS_CARD_VARIANT_TYPES.ACTIVITY}):null,o.default.createElement(h.Box,{className:"transaction-list",paddingTop:4},o.default.createElement(h.Box,{className:"transaction-list__transactions"},A.length>0&&o.default.createElement(h.Box,{className:"transaction-list__pending-transactions"},A.map((e=>e.transactionGroups.map(((t,n)=>{var a;return null!==(a=t.initialTransaction)&&void 0!==a&&a.isSmartTransaction?o.default.createElement(o.Fragment,{key:`${t.nonce}:${n}`},O(n,e),o.default.createElement(d.default,{isEarliestNonce:0===n,smartTransaction:t.initialTransaction,transactionGroup:t})):o.default.createElement(o.Fragment,{key:`${t.nonce}:${n}`},O(n,e),o.default.createElement(u.default,{isEarliestNonce:0===n,transactionGroup:t}))}))))),o.default.createElement(h.Box,{className:"transaction-list__completed-transactions"},N.length>0?N.map((e=>(e.transactionGroups=e.transactionGroups.map((e=>(e.transactions=e.transactions.filter((e=>!(e=>e.type===i.TransactionType.incoming&&e.txParams.to.toLowerCase()!==x.toLowerCase())(e))),e))),e))).map((e=>(e.transactionGroups=e.transactionGroups.filter((e=>e.transactions.length>0)),e))).filter((e=>e.transactionGroups.length>0)).slice(0,n).map((e=>e.transactionGroups.map(((t,a)=>{var r;return o.default.createElement(o.Fragment,{key:`${t.nonce}:${t.initialTransaction?a:n+a-10}`},O(a,e),null!==(r=t.initialTransaction)&&void 0!==r&&r.isSmartTransaction?o.default.createElement(d.default,{transactionGroup:t,smartTransaction:t.initialTransaction}):o.default.createElement(u.default,{transactionGroup:t}))})))):o.default.createElement(h.Box,{className:"transaction-list__empty"},o.default.createElement(h.Box,{className:"transaction-list__empty-text"},m("noTransactions"))),N.length>n&&o.default.createElement(p.default,{className:"transaction-list__view-more",type:"secondary",onClick:I},m("viewMore"))))))}M.propTypes={hideTokenTransactions:a.default.bool,tokenAddress:a.default.string},M.defaultProps={hideTokenTransactions:!1,tokenAddress:undefined}}}},{package:"$root$",file:"ui/components/app/transaction-list/transaction-list.component.js"}],[4879,{"../../../../shared/constants/transaction":4520,"../../../hooks/useI18nContext":5427,"../../ui/tooltip":5310,"@metamask/transaction-controller":2234,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=g;var o=u(e("react")),a=u(e("prop-types")),r=u(e("classnames")),i=e("@metamask/transaction-controller"),s=u(e("../../ui/tooltip")),l=e("../../../hooks/useI18nContext"),c=e("../../../../shared/constants/transaction");function u(e){return e&&e.__esModule?e:{default:e}}const d="queued",p="signing",m={[i.TransactionStatus.submitted]:c.TransactionGroupStatus.pending,[i.TransactionStatus.approved]:c.TransactionGroupStatus.pending},f={[i.TransactionStatus.unapproved]:"transaction-status-label--unapproved",[i.TransactionStatus.rejected]:"transaction-status-label--rejected",[i.TransactionStatus.failed]:"transaction-status-label--failed",[i.TransactionStatus.dropped]:"transaction-status-label--dropped",[c.TransactionGroupStatus.cancelled]:"transaction-status-label--cancelled",[d]:"transaction-status-label--queued",[c.TransactionGroupStatus.pending]:"transaction-status-label--pending"};function g({status:e,date:t,error:n,isEarliestNonce:a,className:u,statusOnly:g}){var h;const y=(0,l.useI18nContext)(),b=function(e,t){return e===i.TransactionStatus.approved?p:m[e]?t?c.TransactionGroupStatus.pending:d:e}(e,a);let v=(null==n||null===(h=n.rpc)||void 0===h?void 0:h.message)||(null==n?void 0:n.message),k=b&&y(b);return b!==i.TransactionStatus.confirmed||g||(k=t),o.default.createElement(s.default,{position:"top",title:v,wrapperClassName:(0,r.default)("transaction-status-label",`transaction-status-label--${b}`,u,f[b])},k)}g.propTypes={status:a.default.string,className:a.default.string,date:a.default.string,error:a.default.object,isEarliestNonce:a.default.bool,statusOnly:a.default.bool}}}},{package:"$root$",file:"ui/components/app/transaction-status-label/transaction-status-label.js"}],[4880,{"./user-preferenced-currency-display.component":4881},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return a.default}});var o,a=(o=e("./user-preferenced-currency-display.component"))&&o.__esModule?o:{default:o}}}},{package:"$root$",file:"ui/components/app/user-preferenced-currency-display/index.js"}],[4881,{"../../../../shared/constants/common":4495,"../../../ducks/metamask/metamask":5346,"../../../helpers/constants/common":5353,"../../../hooks/useUserPreferencedCurrency":5452,"../../../selectors":5987,"../../component-library":4955,"../../ui/currency-display":5209,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=h;var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}(e("react")),a=m(e("prop-types")),r=e("react-redux"),i=e("../../../../shared/constants/common"),s=e("../../../helpers/constants/common"),l=m(e("../../ui/currency-display")),c=e("../../../hooks/useUserPreferencedCurrency"),u=e("../../component-library"),d=e("../../../selectors"),p=e("../../../ducks/metamask/metamask");function m(e){return e&&e.__esModule?e:{default:e}}function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}function g(){return g=Object.assign?Object.assign.bind():function(e){for(var t=1;t{var e;return i&&x===k&&o.default.createElement(u.AvatarNetwork,{size:u.AvatarNetworkSize.Xs,name:null==v?void 0:v.nickname,src:null==v||null===(e=v.rpcPrefs)||void 0===e?void 0:e.imageUrl})}),[x,i,k,null==v?void 0:v.nickname,null==v||null===(b=v.rpcPrefs)||void 0===b?void 0:b.imageUrl]);return o.default.createElement(l.default,g({},y,{currency:x,"data-testid":e,numberOfDecimals:T,prefixComponent:C,suffix:h&&!i&&x}))}const y={className:a.default.string,"data-testid":a.default.string,prefix:a.default.string,value:a.default.string,numberOfDecimals:a.default.oneOfType([a.default.string,a.default.number]),hideLabel:a.default.bool,hideTitle:a.default.bool,style:a.default.object,showEthLogo:a.default.bool,ethLogoHeight:a.default.number,type:a.default.oneOf([s.PRIMARY,s.SECONDARY]),ethNumberOfDecimals:a.default.oneOfType([a.default.string,a.default.number]),fiatNumberOfDecimals:a.default.oneOfType([a.default.string,a.default.number]),showFiat:a.default.bool,showNative:a.default.bool,showCurrencySuffix:a.default.bool,currency:a.default.string,denomination:a.default.oneOf([i.EtherDenomination.GWEI,i.EtherDenomination.ETH]),displayValue:a.default.string,prefixComponent:a.default.node,suffix:a.default.oneOfType([a.default.string,a.default.bool]),prefixComponentWrapperProps:a.default.object,textProps:a.default.object,suffixProps:a.default.object};h.propTypes=y}}},{package:"$root$",file:"ui/components/app/user-preferenced-currency-display/user-preferenced-currency-display.component.js"}],[4882,{"../../../../shared/constants/metametrics":4505,"../../../../shared/constants/transaction":4520,"../../../../shared/modules/currency-display.utils":4538,"../../../contexts/i18n":5324,"../../../contexts/metametrics":5327,"../../../ducks/metamask/metamask":5346,"../../../ducks/send":5348,"../../../ducks/swaps/swaps":5351,"../../../helpers/constants/common":5353,"../../../helpers/constants/design-system":5355,"../../../helpers/constants/routes":5361,"../../../helpers/utils/hardware":5385,"../../../helpers/utils/portfolio":5394,"../../../hooks/experiences/useRamps":5403,"../../../hooks/useIsOriginalNativeTokenSymbol":5428,"../../../selectors":5987,"../../component-library":4955,"../../ui/icon-button":5230,"../../ui/spinner":5294,"../../ui/tooltip":5310,"../user-preferenced-currency-display":4880,"./wallet-overview":4885,"@metamask/keyring-api":1444,classnames:3049,"prop-types":3997,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=I(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}(e("react")),a=N(e("prop-types")),r=e("react-redux"),i=N(e("classnames")),s=e("react-router-dom"),l=e("@metamask/keyring-api"),c=e("../../../contexts/i18n"),u=e("../../../helpers/constants/routes"),d=N(e("../../ui/tooltip")),p=N(e("../user-preferenced-currency-display")),m=e("../../../helpers/constants/common"),f=e("../../../selectors"),g=e("../../../ducks/swaps/swaps"),h=e("../../../helpers/utils/hardware"),y=N(e("../../ui/icon-button")),b=e("../../../contexts/metametrics"),v=e("../../../../shared/constants/metametrics"),k=N(e("../../ui/spinner")),x=e("../../../ducks/send"),T=e("../../../../shared/constants/transaction"),C=e("../../component-library"),w=e("../../../helpers/constants/design-system"),_=N(e("../../../hooks/experiences/useRamps")),E=e("../../../helpers/utils/portfolio"),M=e("../../../hooks/useIsOriginalNativeTokenSymbol"),S=e("../../../ducks/metamask/metamask"),O=e("../../../../shared/modules/currency-display.utils"),A=N(e("./wallet-overview"));function N(e){return e&&e.__esModule?e:{default:e}}function I(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(I=function(e){return e?n:t})(e)}const P=({className:e,showAddress:t})=>{const n=(0,r.useDispatch)(),a=(0,o.useContext)(c.I18nContext),N=(0,o.useContext)(b.MetaMetricsContext),I=(0,s.useHistory)(),P=(0,s.useLocation)(),j=(0,r.useSelector)(f.getIsBridgeChain),B=(0,r.useSelector)(f.getIsBuyableChain),D=(0,r.useSelector)(f.getMetaMetricsId),F=(0,r.useSelector)(f.getCurrentKeyring),L=(0,h.isHardwareKeyring)(null==F?void 0:F.type),R=(0,r.useSelector)(f.getSwapsDefaultToken),$=(0,r.useSelector)(f.isBalanceCached),z=(0,r.useSelector)(f.getShouldShowFiat),{useNativeCurrencyAsPrimaryCurrency:W}=(0,r.useSelector)(f.getPreferences),U=(0,r.useSelector)(f.getCurrentChainId),{ticker:V,type:H,rpcUrl:G}=(0,r.useSelector)(S.getProviderConfig),q=(0,r.useSelector)(f.getSelectedAccountCachedBalance),K=(0,M.useIsOriginalNativeTokenSymbol)(U,V,H,G),J=(0,r.useSelector)(f.getSelectedInternalAccount),Y=(0,r.useSelector)(f.getUseExternalServices),Q=(0,r.useSelector)(f.getIsSwapsChain),X=J.methods.includes(l.EthMethod.SignTransaction)||J.methods.includes(l.EthMethod.SignUserOperation),Z={buyButton:[{condition:!B,message:""},{condition:!X,message:"methodNotSupported"}],sendButton:[{condition:!X,message:"methodNotSupported"}],swapButton:[{condition:!Q,message:"currentlyUnavailable"},{condition:!X,message:"methodNotSupported"}],bridgeButton:[{condition:!j,message:"currentlyUnavailable"},{condition:!X,message:"methodNotSupported"}]},ee=(e,t)=>{const n=Z[e].find((({condition:e})=>e));return n&&n.message?o.default.createElement(d.default,{title:a(n.message),position:"bottom"},t):t},{openBuyCryptoInPdapp:te}=(0,_.default)();return o.default.createElement(A.default,{showAddress:t,balance:o.default.createElement(d.default,{position:"top",title:a("balanceOutdated"),disabled:!$},o.default.createElement("div",{className:"eth-overview__balance"},o.default.createElement("div",{className:"eth-overview__primary-container"},q?o.default.createElement(p.default,{style:{display:"contents"},className:(0,i.default)("eth-overview__primary-balance",{"eth-overview__cached-balance":$}),"data-testid":"eth-overview__primary-currency",value:q,type:(0,O.showPrimaryCurrency)(K,W)?m.PRIMARY:m.SECONDARY,ethNumberOfDecimals:4,hideTitle:!0}):o.default.createElement(k.default,{color:"var(--color-secondary-default)",className:"loading-overlay__spinner"}),$?o.default.createElement("span",{className:"eth-overview__cached-star"},"*"):null),z&&K&&q&&o.default.createElement(p.default,{className:(0,i.default)({"eth-overview__cached-secondary-balance":$,"eth-overview__secondary-balance":!$}),"data-testid":"eth-overview__secondary-currency",value:q,type:m.SECONDARY,ethNumberOfDecimals:4,hideTitle:!0}))),buttons:o.default.createElement(o.default.Fragment,null,o.default.createElement(y.default,{className:"eth-overview__button",Icon:o.default.createElement(C.Icon,{name:C.IconName.PlusMinus,color:w.IconColor.primaryInverse}),disabled:!B||!X,"data-testid":"eth-overview-buy",label:a("buyAndSell"),onClick:()=>{te(),N({event:v.MetaMetricsEventName.NavBuyButtonClicked,category:v.MetaMetricsEventCategory.Navigation,properties:{location:"Home",text:"Buy",chain_id:U,token_symbol:R}})},tooltipRender:e=>ee("buyButton",e)}),o.default.createElement(y.default,{className:"eth-overview__button","data-testid":"eth-overview-send",Icon:o.default.createElement(C.Icon,{name:C.IconName.Arrow2UpRight,color:w.IconColor.primaryInverse}),disabled:!X,label:a("send"),onClick:()=>{N({event:v.MetaMetricsEventName.NavSendButtonClicked,category:v.MetaMetricsEventCategory.Navigation,properties:{token_symbol:"ETH",location:"Home",text:"Send",chain_id:U}}),n((0,x.startNewDraftTransaction)({type:T.AssetType.native})).then((()=>{I.push(u.SEND_ROUTE)}))},tooltipRender:e=>ee("sendButton",e)}),o.default.createElement(y.default,{className:"eth-overview__button",disabled:!Q||!X||!Y,Icon:o.default.createElement(C.Icon,{name:C.IconName.SwapHorizontal,color:w.IconColor.primaryInverse}),onClick:()=>{Q&&(N({event:v.MetaMetricsEventName.NavSwapButtonClicked,category:v.MetaMetricsEventCategory.Swaps,properties:{token_symbol:"ETH",location:v.MetaMetricsSwapsEventSource.MainView,text:"Swap",chain_id:U}}),n((0,g.setSwapsFromToken)(R)),L?global.platform.openExtensionInBrowser(u.BUILD_QUOTE_ROUTE):I.push(u.BUILD_QUOTE_ROUTE))},label:a("swap"),"data-testid":"token-overview-button-swap",tooltipRender:e=>ee("swapButton",e)}),o.default.createElement(y.default,{className:"eth-overview__button",disabled:!j||!X,"data-testid":"eth-overview-bridge",Icon:o.default.createElement(C.Icon,{name:C.IconName.Bridge,color:w.IconColor.primaryInverse}),label:a("bridge"),onClick:()=>{if(j){const e=(0,E.getPortfolioUrl)("bridge","ext_bridge_button",D);global.platform.openTab({url:`${e}${P.pathname.includes("asset")?"&token=native":""}`}),N({category:v.MetaMetricsEventCategory.Navigation,event:v.MetaMetricsEventName.BridgeLinkClicked,properties:{location:"Home",text:"Bridge",chain_id:U,token_symbol:"ETH"}})}},tooltipRender:e=>ee("bridgeButton",e)}),o.default.createElement(y.default,{className:"eth-overview__button","data-testid":"eth-overview-portfolio",Icon:o.default.createElement(C.Icon,{name:C.IconName.Diagram,color:w.IconColor.primaryInverse}),label:a("portfolio"),onClick:()=>{const e=(0,E.getPortfolioUrl)("","ext_portfolio_button",D);global.platform.openTab({url:e}),N({category:v.MetaMetricsEventCategory.Navigation,event:v.MetaMetricsEventName.PortfolioLinkClicked,properties:{location:"Home",text:"Portfolio",chain_id:U,token_symbol:"ETH"}})}})),className:e})};P.propTypes={className:a.default.string,showAddress:a.default.bool};n.default=P}}},{package:"$root$",file:"ui/components/app/wallet-overview/eth-overview.js"}],[4883,{"./eth-overview":4882,"./token-overview":4884},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"EthOverview",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(n,"TokenOverview",{enumerable:!0,get:function(){return a.default}});var o=r(e("./eth-overview")),a=r(e("./token-overview"));function r(e){return e&&e.__esModule?e:{default:e}}}}},{package:"$root$",file:"ui/components/app/wallet-overview/index.js"}],[4884,{"../../../../shared/constants/metametrics":4505,"../../../../shared/constants/transaction":4520,"../../../contexts/i18n":5324,"../../../contexts/metametrics":5327,"../../../ducks/send":5348,"../../../ducks/swaps/swaps":5351,"../../../helpers/constants/design-system":5355,"../../../helpers/constants/error-keys":5356,"../../../helpers/constants/routes":5361,"../../../helpers/utils/hardware":5385,"../../../helpers/utils/portfolio":5394,"../../../hooks/experiences/useRamps":5403,"../../../hooks/useIsOriginalTokenSymbol":5429,"../../../hooks/useTokenFiatAmount":5446,"../../../hooks/useTokenTracker":5447,"../../../selectors":5987,"../../../store/actions":5998,"../../component-library":4955,"../../ui/currency-display":5209,"../../ui/icon-button":5230,"./wallet-overview":4885,"prop-types":3997,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=O(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}(e("react")),a=S(e("prop-types")),r=e("react-redux"),i=e("react-router-dom"),s=S(e("../../ui/currency-display")),l=e("../../../contexts/i18n"),c=e("../../../helpers/constants/routes"),u=e("../../../hooks/useTokenTracker"),d=e("../../../hooks/useTokenFiatAmount"),p=e("../../../ducks/send"),m=e("../../../helpers/utils/hardware"),f=e("../../../ducks/swaps/swaps"),g=S(e("../../../hooks/experiences/useRamps")),h=e("../../../helpers/utils/portfolio"),y=e("../../../selectors"),b=S(e("../../ui/icon-button")),v=e("../../../helpers/constants/error-keys"),k=e("../../../store/actions"),x=e("../../../contexts/metametrics"),T=e("../../../../shared/constants/metametrics"),C=e("../../../../shared/constants/transaction"),w=e("../../component-library"),_=e("../../../helpers/constants/design-system"),E=e("../../../hooks/useIsOriginalTokenSymbol"),M=S(e("./wallet-overview"));function S(e){return e&&e.__esModule?e:{default:e}}function O(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(O=function(e){return e?n:t})(e)}const A=({className:e,token:t})=>{var n,a;const S=(0,r.useDispatch)(),O=(0,o.useContext)(l.I18nContext),A=(0,o.useContext)(x.MetaMetricsContext),N=(0,i.useHistory)(),{tokensWithBalances:I}=(0,u.useTokenTracker)({tokens:[t]}),P=(0,r.useSelector)(y.getCurrentKeyring),j=(0,m.isHardwareKeyring)(P.type),B=null===(n=I[0])||void 0===n?void 0:n.balance,D=null===(a=I[0])||void 0===a?void 0:a.string,F=(0,d.useTokenFiatAmount)(t.address,D,t.symbol),L=(0,E.useIsOriginalTokenSymbol)(t.address,t.symbol),R=(0,r.useSelector)(y.getCurrentChainId),$=(0,r.useSelector)(y.getIsSwapsChain),z=(0,r.useSelector)(y.getIsBridgeChain),W=(0,r.useSelector)(y.getIsBuyableChain),U=(0,r.useSelector)(y.getMetaMetricsId),{openBuyCryptoInPdapp:V}=(0,g.default)();return(0,o.useEffect)((()=>{t.isERC721&&S((0,k.showModal)({name:"CONVERT_TOKEN_TO_NFT",tokenAddress:t.address}))}),[t.isERC721,t.address,S]),o.default.createElement(M.default,{showAddress:!1,balance:o.default.createElement("div",{className:"token-overview__balance"},o.default.createElement("div",{className:"token-overview__primary-container"},o.default.createElement(s.default,{style:{display:"contents"},className:"token-overview__primary-balance",displayValue:D,suffix:t.symbol})),F&&L?o.default.createElement(s.default,{className:"token-overview__secondary-balance",displayValue:F,hideLabel:!0}):null),buttons:o.default.createElement(o.default.Fragment,null,o.default.createElement(b.default,{className:"token-overview__button",Icon:o.default.createElement(w.Icon,{name:w.IconName.PlusMinus,color:_.IconColor.primaryInverse}),label:O("buyAndSell"),"data-testid":"token-overview-buy",onClick:()=>{V(),A({event:T.MetaMetricsEventName.NavBuyButtonClicked,category:T.MetaMetricsEventCategory.Navigation,properties:{location:"Token Overview",text:"Buy",chain_id:R,token_symbol:t.symbol}})},disabled:t.isERC721||!W}),o.default.createElement(b.default,{className:"token-overview__button",onClick:async()=>{A({event:T.MetaMetricsEventName.NavSendButtonClicked,category:T.MetaMetricsEventCategory.Navigation,properties:{token_symbol:t.symbol,location:T.MetaMetricsSwapsEventSource.TokenView,text:"Send",chain_id:R}});try{await S((0,p.startNewDraftTransaction)({type:C.AssetType.token,details:t})),N.push(c.SEND_ROUTE)}catch(e){if(!e.message.includes(v.INVALID_ASSET_TYPE))throw e}},Icon:o.default.createElement(w.Icon,{name:w.IconName.Arrow2UpRight,color:_.IconColor.primaryInverse}),label:O("send"),"data-testid":"eth-overview-send",disabled:t.isERC721}),$&&o.default.createElement(b.default,{className:"token-overview__button",Icon:o.default.createElement(w.Icon,{name:w.IconName.SwapHorizontal,color:_.IconColor.primaryInverse}),onClick:()=>{A({event:T.MetaMetricsEventName.NavSwapButtonClicked,category:T.MetaMetricsEventCategory.Swaps,properties:{token_symbol:t.symbol,location:T.MetaMetricsSwapsEventSource.TokenView,text:"Swap",chain_id:R}}),S((0,f.setSwapsFromToken)({...t,address:t.address.toLowerCase(),iconUrl:t.image,balance:B,string:D})),j?global.platform.openExtensionInBrowser(c.BUILD_QUOTE_ROUTE):N.push(c.BUILD_QUOTE_ROUTE)},label:O("swap"),tooltipRender:null}),z&&o.default.createElement(b.default,{className:"token-overview__button","data-testid":"token-overview-bridge",Icon:o.default.createElement(w.Icon,{name:w.IconName.Bridge,color:_.IconColor.primaryInverse}),label:O("bridge"),onClick:()=>{const e=(0,h.getPortfolioUrl)("bridge","ext_bridge_button",U);global.platform.openTab({url:`${e}&token=${t.address}`}),A({category:T.MetaMetricsEventCategory.Navigation,event:T.MetaMetricsEventName.BridgeLinkClicked,properties:{location:"Token Overview",text:"Bridge",url:e,chain_id:R,token_symbol:t.symbol}})},tooltipRender:null})),className:e})};A.propTypes={className:a.default.string,token:a.default.shape({address:a.default.string.isRequired,decimals:a.default.number,symbol:a.default.string,image:a.default.string,isERC721:a.default.bool}).isRequired},A.defaultProps={className:undefined};n.default=A}}},{package:"$root$",file:"ui/components/app/wallet-overview/token-overview.js"}],[4885,{classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=i(e("react")),a=i(e("prop-types")),r=i(e("classnames"));function i(e){return e&&e.__esModule?e:{default:e}}const s=({balance:e,buttons:t,className:n})=>o.default.createElement("div",{className:(0,r.default)("wallet-overview",n)},o.default.createElement("div",{className:"wallet-overview__balance"},e),o.default.createElement("div",{className:"wallet-overview__buttons"},t));s.propTypes={balance:a.default.element.isRequired,buttons:a.default.element.isRequired,className:a.default.string};n.default=s}}},{package:"$root$",file:"ui/components/app/wallet-overview/wallet-overview.js"}],[4886,{"./whats-new-popup":4887},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return a.default}});var o,a=(o=e("./whats-new-popup"))&&o.__esModule?o:{default:o}}}},{package:"$root$",file:"ui/components/app/whats-new-popup/index.js"}],[4887,{"../../../../shared/constants/metametrics":4505,"../../../../shared/notifications":4562,"../../../contexts/i18n":5324,"../../../contexts/metametrics":5327,"../../../ducks/locale/locale":5345,"../../../helpers/constants/design-system":5355,"../../../hooks/useEqualityCheck":5422,"../../../hooks/useTheme":5442,"../../../selectors":5987,"../../../store/actions":5998,"../../component-library":4955,"../../ui/popover":5281,classnames:3049,lodash:3836,"prop-types":3997,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=M;var o=T(e("classnames")),a=e("lodash"),r=T(e("prop-types")),i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=x(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}(e("react")),s=e("react-redux"),l=e("react-router-dom"),c=e("../../../../shared/constants/metametrics"),u=e("../../../../shared/notifications"),d=e("../../../contexts/i18n"),p=e("../../../contexts/metametrics"),m=e("../../../ducks/locale/locale"),f=e("../../../helpers/constants/design-system"),g=e("../../../hooks/useEqualityCheck"),h=e("../../../hooks/useTheme"),y=e("../../../selectors"),b=e("../../../store/actions"),v=e("../../component-library"),k=T(e("../../ui/popover"));function x(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(x=function(e){return e?n:t})(e)}function T(e){return e&&e.__esModule?e:{default:e}}function C(e){return{[u.NOTIFICATION_DROP_LEDGER_FIREFOX]:()=>{(0,b.updateViewedNotifications)({[u.NOTIFICATION_DROP_LEDGER_FIREFOX]:!0})}}[e]}const w=e=>Array.isArray(e)?i.default.createElement(i.default.Fragment,null,e.map(((t,n)=>{const o=n===e.length-1;return i.default.createElement(v.Text,{"data-testid":`whats-new-description-item-${n}`,key:`item-${n}`,variant:f.TextVariant.bodyMd,marginBottom:o?0:4},t)}))):i.default.createElement(v.Text,{variant:f.TextVariant.bodyMd},e),_=({notification:e,idRefMap:t,isLast:n,trackEvent:a})=>{const{id:r,date:s,title:l,description:u,image:d,actionText:p}=e,m=C(r),g=d&&i.default.createElement("img",{className:"whats-new-popup__notification-image",src:d.src,height:d.height,width:d.width}),h=null==d?void 0:d.placeImageBelowDescription;return i.default.createElement("div",{className:(0,o.default)("whats-new-popup__notification whats-new-popup__first-notification",{"whats-new-popup__last-notification":n}),key:`whats-new-popop-notification-${r}`},i.default.createElement(v.Text,{variant:f.TextVariant.bodyLgMedium,marginBottom:2},l),!h&&g,i.default.createElement("div",{className:"whats-new-popup__description-and-date"},i.default.createElement("div",{className:"whats-new-popup__notification-description"},w(u)),i.default.createElement("div",{className:"whats-new-popup__notification-date"},s)),h&&g,p&&i.default.createElement(v.ButtonPrimary,{className:"whats-new-popup__button",onClick:()=>{m(),a({category:c.MetaMetricsEventCategory.Home,event:c.MetaMetricsEventName.WhatsNewClicked})},block:!0},p),i.default.createElement("div",{className:"whats-new-popup__intersection-observable",ref:t[r]}))},E=({notification:e,idRefMap:t,history:n,isLast:a})=>{const{id:r,date:s,title:l,description:c,actionText:u}=e,d=C(r);return i.default.createElement("div",{className:(0,o.default)("whats-new-popup__notification",{"whats-new-popup__last-notification":a}),key:`whats-new-popop-notification-${r}`},i.default.createElement("div",{className:"whats-new-popup__notification-title"},l),i.default.createElement("div",{className:"whats-new-popup__description-and-date"},i.default.createElement("div",{className:"whats-new-popup__notification-description"},w(c)),i.default.createElement("div",{className:"whats-new-popup__notification-date"},s)),u&&i.default.createElement("div",{className:"whats-new-popup__link",onClick:d},`${u} >`),i.default.createElement("div",{className:"whats-new-popup__intersection-observable",ref:t[r]}))};function M({onClose:e}){const t=(0,i.useContext)(d.I18nContext),n=(0,l.useHistory)(),o=(0,s.useSelector)(y.getSortedAnnouncementsToShow),r=(0,s.useSelector)(m.getCurrentLocale),f=(0,h.useTheme)(),[v,x]=(0,i.useState)({}),[T,C]=(0,i.useState)(!0),w=(0,i.useRef)(),M=(0,g.useEqualityCheck)(o),S=(0,i.useMemo)((()=>M.reduce(((e,t)=>({...e,[t.id]:i.default.createRef()})),{})),[M]),O=(0,i.useContext)(p.MetaMetricsContext),A=(0,a.debounce)((e=>{C(e.scrollHeight-e.scrollTop!==e.clientHeight)}),100);(0,i.useEffect)((()=>{const e=new window.IntersectionObserver(((e,t)=>{e.forEach((e=>{if(e.isIntersecting){const[n,o]=Object.entries(S).find((([t,n])=>n.current.isSameNode(e.target)));x((e=>({...e,[n]:!0}))),t.unobserve(o.current)}}))}),{root:w.current,threshold:1});return Object.values(S).forEach((t=>{e.observe(t.current)})),()=>{e.disconnect()}}),[S,x]);const N={[u.NOTIFICATION_DROP_LEDGER_FIREFOX]:_};return i.default.createElement(k.default,{title:t("whatsNew"),headerProps:{padding:[4,4,4]},className:"whats-new-popup__popover",onClose:()=>{(0,b.updateViewedNotifications)(v),O({category:c.MetaMetricsEventCategory.Home,event:c.MetaMetricsEventName.WhatsNewViewed,properties:{number_viewed:Object.keys(v).pop(),completed_all:!0}}),e()},popoverRef:w,showScrollDown:T&&o.length>1,onScrollDownButtonClick:e=>{e.stopPropagation(),S[o[o.length-1].id].current.scrollIntoView({behavior:"smooth"})},onScroll:e=>{A(e.target)}},i.default.createElement("div",{className:"whats-new-popup__notifications"},o.map((({id:e},a)=>{const i=(0,u.getTranslatedUINotifications)(t,r,f)[e],s=a===o.length-1;return(N[e]||E)({notification:i,idRefMap:S,history:n,isLast:s,trackEvent:O})}))))}M.propTypes={onClose:r.default.func.isRequired}}}},{package:"$root$",file:"ui/components/app/whats-new-popup/whats-new-popup.js"}],[4942,{"../../../../helpers/constants/design-system":5355,"../../../ui/box/box":5193,"../../help-text":4951,"../../label":4959,"../../text-field":5005,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.FormTextField=void 0;var o=d(e("react")),a=d(e("prop-types")),r=d(e("classnames")),i=e("../../../../helpers/constants/design-system"),s=d(e("../../../ui/box/box")),l=e("../../text-field"),c=e("../../help-text"),u=e("../../label");function d(e){return e&&e.__esModule?e:{default:e}}function p(){return p=Object.assign?Object.assign.bind():function(e){for(var t=1;to.default.createElement(s.default,p({className:(0,r.default)("mm-form-text-field",{"mm-form-text-field--disabled":d},n),display:i.Display.Flex,flexDirection:i.FlexDirection.Column},D),v&&o.default.createElement(u.Label,p({htmlFor:h},k,{className:(0,r.default)("mm-form-text-field__label",null==k?void 0:k.className)}),v),o.default.createElement(l.TextField,p({className:(0,r.default)("mm-form-text-field__text-field",null==I?void 0:I.className),id:h,autoComplete:e,autoFocus:t,defaultValue:a,disabled:d,error:m,id:h,inputProps:y,inputRef:b,startAccessory:x,maxLength:T,name:C,onBlur:w,onChange:_,onFocus:E,placeholder:M,readOnly:S,required:O,endAccessory:A,size:N,truncate:P,type:j,value:B},I)),f&&o.default.createElement(c.HelpText,p({severity:m&&c.HelpTextSeverity.Danger,marginTop:1},g,{className:(0,r.default)("mm-form-text-field__help-text",null==g?void 0:g.className)}),f));n.FormTextField=m,m.propTypes={className:a.default.string,id:(e,t,n)=>e.label&&!e[t]?new Error(`If a label prop exists you must provide an ${t} prop for the label's htmlFor attribute for accessibility. Warning coming from ${n} ui/components/component-library/form-text-field/form-text-field.js`):null,label:a.default.string,labelProps:a.default.object,helpText:a.default.oneOfType([a.default.node,a.default.string]),helpTextProps:a.default.object,textFieldProps:a.default.object,...l.TextField.propTypes}}}},{package:"$root$",file:"ui/components/component-library/form-text-field/deprecated/form-text-field.js"}],[4943,{"./form-text-field":4942},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"FormTextField",{enumerable:!0,get:function(){return o.FormTextField}});var o=e("./form-text-field")}}},{package:"$root$",file:"ui/components/component-library/form-text-field/deprecated/index.js"}],[4963,{"../modal-content.types":4967,"./modal-content":4964},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"ModalContent",{enumerable:!0,get:function(){return o.ModalContent}}),Object.defineProperty(n,"ModalContentSize",{enumerable:!0,get:function(){return a.ModalContentSize}});var o=e("./modal-content"),a=e("../modal-content.types")}}},{package:"$root$",file:"ui/components/component-library/modal-content/deprecated/index.ts"}],[4964,{"../..":4955,"../../../../helpers/constants/design-system":5355,"../modal-content.types":4967,classnames:3049,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.ModalContent=void 0;var o,a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}(e("react")),r=(o=e("classnames"))&&o.__esModule?o:{default:o},i=e("../../../../helpers/constants/design-system"),s=e("../.."),l=e("../modal-content.types");function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const{onClose:p,isClosedOnEscapeKey:m,isClosedOnOutsideClick:f,initialFocusRef:g,finalFocusRef:h,restoreFocus:y,autoFocus:b}=(0,s.useModalContext)(),v=(0,a.useRef)(null),k=e=>{m&&"Escape"===e.key&&p()},x=e=>{f&&e.target.closest(".mm-popover")||f&&null!=v&&v.current&&!v.current.contains(e.target)&&p()};return(0,a.useEffect)((()=>(document.addEventListener("keydown",k),document.addEventListener("mousedown",x),()=>{document.removeEventListener("keydown",k),document.removeEventListener("mousedown",x)})),[]),a.default.createElement(s.ModalFocus,{initialFocusRef:g,finalFocusRef:h,restoreFocus:y,autoFocus:b},a.default.createElement(s.Box,u({className:(0,r.default)("mm-modal-content",e),ref:d,display:i.Display.Flex,width:i.BlockSize.Screen,height:i.BlockSize.Screen,justifyContent:i.JustifyContent.center,alignItems:i.AlignItems.flexStart,paddingRight:4,paddingLeft:4,paddingTop:[4,8,12],paddingBottom:[4,8,12]},c),a.default.createElement(s.Box,u({as:"section",role:"dialog","aria-modal":"true",backgroundColor:i.BackgroundColor.backgroundDefault,borderRadius:i.BorderRadius.LG,width:i.BlockSize.Full,padding:4,ref:v},o,{className:(0,r.default)("mm-modal-content__dialog",`mm-modal-content__dialog--size-${n}`,null==o?void 0:o.className),style:{...null==c?void 0:c.style,overflowY:"auto"}}),t)))}))}}},{package:"$root$",file:"ui/components/component-library/modal-content/deprecated/modal-content.tsx"}],[4972,{"./modal-header":4973},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"ModalHeader",{enumerable:!0,get:function(){return o.ModalHeader}});var o=e("./modal-header")}}},{package:"$root$",file:"ui/components/component-library/modal-header/deprecated/index.ts"}],[4973,{"../..":4955,"../../../../helpers/constants/design-system":5355,"../../../../hooks/useI18nContext":5427,classnames:3049,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.ModalHeader=void 0;var o=l(e("react")),a=l(e("classnames")),r=e("../.."),i=e("../../../../helpers/constants/design-system"),s=e("../../../../hooks/useI18nContext");function l(e){return e&&e.__esModule?e:{default:e}}function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const g=(0,s.useI18nContext)();return o.default.createElement(r.HeaderBase,c({className:(0,a.default)("mm-modal-header",t),startAccessory:n||p&&o.default.createElement(r.ButtonIcon,c({iconName:r.IconName.ArrowLeft,ariaLabel:g("back"),size:r.ButtonIconSize.Sm,onClick:p},m)),endAccessory:l||u&&o.default.createElement(r.ButtonIcon,c({iconName:r.IconName.Close,ariaLabel:g("close"),size:r.ButtonIconSize.Sm,onClick:u},d))},f),"string"==typeof e?o.default.createElement(r.Text,{as:"header",variant:i.TextVariant.headingSm,textAlign:i.TextAlign.Center},e):e)}}}},{package:"$root$",file:"ui/components/component-library/modal-header/deprecated/modal-header.tsx"}],[5e3,{"./text-field-search":5001},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"TextFieldSearch",{enumerable:!0,get:function(){return o.TextFieldSearch}});var o=e("./text-field-search")}}},{package:"$root$",file:"ui/components/component-library/text-field-search/deprecated/index.js"}],[5001,{"../..":4955,"../../../../hooks/useI18nContext":5427,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.TextFieldSearch=void 0;var o=l(e("react")),a=l(e("prop-types")),r=l(e("classnames")),i=e("../.."),s=e("../../../../hooks/useI18nContext");function l(e){return e&&e.__esModule?e:{default:e}}function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const f=(0,s.useI18nContext)();return o.default.createElement(i.TextField,c({className:(0,r.default)("mm-text-field-search",e),value:d,onChange:p,type:i.TextFieldType.Search,endAccessory:d&&t?o.default.createElement(o.default.Fragment,null,o.default.createElement(i.ButtonIcon,c({className:"mm-text-field__button-clear",ariaLabel:f("clear"),iconName:i.IconName.Close,size:i.ButtonIconSize.Sm,onClick:n},a)),l):l,startAccessory:o.default.createElement(i.Icon,{padding:1,name:i.IconName.Search,size:i.IconSize.Sm}),inputProps:{...u}},m))};n.TextFieldSearch=u,u.propTypes={value:a.default.oneOfType([a.default.string,a.default.number]),onChange:a.default.func,showClearButton:a.default.bool,clearButtonOnClick:(e,t,n)=>{var o;return!e.showClearButton||e[t]&&null!==(o=e.clearButtonProps)&&void 0!==o&&o.onClick?null:new Error(`${t} is required unless showClearButton is false. Warning coming from ${n} ui/components/component-library/text-field-search/text-field-search.js`)},clearButtonProps:a.default.object,className:a.default.string,endAccessory:a.default.node,inputProps:a.default.object},u.displayName="TextFieldSearch"}}},{package:"$root$",file:"ui/components/component-library/text-field-search/deprecated/text-field-search.js"}],[5011,{"./textarea":5012,"./textarea.types":5013},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"Textarea",{enumerable:!0,get:function(){return o.Textarea}}),Object.defineProperty(n,"TextareaResize",{enumerable:!0,get:function(){return a.TextareaResize}});var o=e("./textarea"),a=e("./textarea.types")}}},{package:"$root$",file:"ui/components/component-library/textarea/index.ts"}],[5012,{"..":4955,"../../../helpers/constants/design-system":5355,"./textarea.types":5013,classnames:3049,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.Textarea=void 0;var o=l(e("react")),a=l(e("classnames")),r=e("../../../helpers/constants/design-system"),i=e(".."),s=e("./textarea.types");function l(e){return e&&e.__esModule?e:{default:e}}function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;to.default.createElement(i.Text,c({className:(0,a.default)("mm-textarea",`mm-textarea--resize-${m}`,{"mm-textarea--disabled":Boolean(l||u)},t),as:"textarea",ref:M,placeholder:T,readOnly:C,required:w,autoFocus:e,defaultValue:n,disabled:l||u},d&&{"aria-invalid":d},{id:p,maxLength:h,name:y,value:_,onBlur:e=>{null==b||b(e)},onChange:v,onClick:e=>{!k||l&&u||null==k||k(e)},onFocus:e=>{null==x||x(e)},resize:m,rows:f,cols:g,backgroundColor:r.BackgroundColor.backgroundDefault,borderColor:d?r.BorderColor.errorDefault:r.BorderColor.borderDefault,borderRadius:r.BorderRadius.SM,borderWidth:1,paddingBottom:1,paddingLeft:4,paddingRight:4,paddingTop:1},E))))}}},{package:"$root$",file:"ui/components/component-library/textarea/textarea.tsx"}],[5013,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.TextareaResize=void 0;n.TextareaResize=function(e){return e.None="none",e.Both="both",e.Horizontal="horizontal",e.Vertical="vertical",e.Initial="initial",e.Inherit="inherit",e}({})}}},{package:"$root$",file:"ui/components/component-library/textarea/textarea.types.ts"}],[5014,{"../../../helpers/constants/design-system":5355,"../../../hooks/useI18nContext":5427,"../../../store/actions":5998,"../../component-library":4955,"../../component-library/form-text-field/deprecated":4943,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.AccountDetailsAuthenticate=void 0;var o,a=(o=e("prop-types"))&&o.__esModule?o:{default:o},r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=p(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}(e("react")),i=e("react-redux"),s=e("../../../helpers/constants/design-system"),l=e("../../../hooks/useI18nContext"),c=e("../../../store/actions"),u=e("../../component-library"),d=e("../../component-library/form-text-field/deprecated");function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(p=function(e){return e?n:t})(e)}const m=({address:e,onCancel:t,setPrivateKey:n,setShowHoldToReveal:o})=>{const a=(0,l.useI18nContext)(),p=(0,i.useDispatch)(),[m,f]=(0,r.useState)(""),g=(0,i.useSelector)((e=>e.appState.warning)),h=(0,r.useCallback)((()=>{p((0,c.exportAccount)(m,e,n,o)).then((e=>(p((0,c.hideWarning)()),e))).catch((()=>{}))}),[p,m,e,n,o]),y=(0,r.useCallback)((e=>{"Enter"===e.key&&h()}),[h]);return r.default.createElement(r.default.Fragment,null,r.default.createElement(d.FormTextField,{marginTop:6,id:"account-details-authenticate",label:a("enterYourPassword"),placeholder:a("password"),error:Boolean(g),helpText:g,onChange:e=>f(e.target.value),value:m,variant:s.TextVariant.bodySm,type:"password",inputProps:{onKeyPress:y},labelProps:{fontWeight:s.FontWeight.Medium},autoFocus:!0}),r.default.createElement(u.BannerAlert,{marginTop:6,severity:s.Severity.Danger,description:a("privateKeyWarning")}),r.default.createElement(u.Box,{display:s.Display.Flex,marginTop:6,gap:2},r.default.createElement(u.ButtonSecondary,{onClick:t,block:!0},a("cancel")),r.default.createElement(u.ButtonPrimary,{onClick:h,disabled:""===m,block:!0},a("confirm"))))};n.AccountDetailsAuthenticate=m,m.propTypes={address:a.default.string.isRequired,onCancel:a.default.func.isRequired,setPrivateKey:a.default.func.isRequired,setShowHoldToReveal:a.default.func.isRequired}}}},{package:"$root$",file:"ui/components/multichain/account-details/account-details-authenticate.js"}],[5015,{"../../../../shared/constants/metametrics":4505,"../../../contexts/metametrics":5327,"../../../helpers/constants/design-system":5355,"../../../helpers/utils/util":5399,"../../../hooks/useI18nContext":5427,"../../../selectors":5987,"../../../store/actions":5998,"../../component-library":4955,"../../ui/editable-label/editable-label":5219,"../../ui/qr-code-view":5285,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.AccountDetailsDisplay=void 0;var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=y(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}(e("react")),a=h(e("prop-types")),r=e("react-redux"),i=h(e("../../ui/qr-code-view")),s=h(e("../../ui/editable-label/editable-label")),l=e("../../../store/actions"),c=e("../../../selectors"),u=e("../../../helpers/utils/util"),d=e("../../component-library"),p=e("../../../helpers/constants/design-system"),m=e("../../../contexts/metametrics"),f=e("../../../../shared/constants/metametrics"),g=e("../../../hooks/useI18nContext");function h(e){return e&&e.__esModule?e:{default:e}}function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(y=function(e){return e?n:t})(e)}const b=({accounts:e,accountName:t,address:n,onExportClick:a})=>{const h=(0,r.useDispatch)(),y=(0,o.useContext)(m.MetaMetricsContext),b=(0,g.useI18nContext)(),{metadata:{keyring:v}}=(0,r.useSelector)((e=>(0,c.getInternalAccountByAddress)(e,n))),k=(0,u.isAbleToExportAccount)(null==v?void 0:v.type),x=(0,r.useSelector)(c.getCurrentChainId),T=(0,r.useSelector)(c.getHardwareWalletType);return o.default.createElement(d.Box,{display:p.Display.Flex,alignItems:p.AlignItems.center,flexDirection:p.FlexDirection.Column},o.default.createElement(s.default,{defaultValue:t,onSubmit:e=>{h((0,l.setAccountLabel)(n,e)),y({category:f.MetaMetricsEventCategory.Accounts,event:f.MetaMetricsEventName.AccountRenamed,properties:{location:"Account Details Modal",chain_id:x,account_hardware_type:T}})},accounts:e}),o.default.createElement(i.default,{Qr:{data:n}}),k?o.default.createElement(d.ButtonSecondary,{block:!0,size:d.ButtonSecondarySize.Lg,variant:p.TextVariant.bodyMd,onClick:()=>{y({category:f.MetaMetricsEventCategory.Accounts,event:f.MetaMetricsEventName.KeyExportSelected,properties:{key_type:f.MetaMetricsEventKeyType.Pkey,location:"Account Details Modal"}}),a()}},b("showPrivateKey")):null)};n.AccountDetailsDisplay=b,b.propTypes={accounts:a.default.array.isRequired,accountName:a.default.string.isRequired,address:a.default.string.isRequired,onExportClick:a.default.func.isRequired}}}},{package:"$root$",file:"ui/components/multichain/account-details/account-details-display.js"}],[5016,{"../../../helpers/constants/design-system":5355,"../../../hooks/useCopyToClipboard":5417,"../../../hooks/useI18nContext":5427,"../../component-library":4955,"@lavamoat/lavadome-react":632,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.AccountDetailsKey=void 0;var o,a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=d(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}(e("react")),r=e("@lavamoat/lavadome-react"),i=(o=e("prop-types"))&&o.__esModule?o:{default:o},s=e("../../component-library"),l=e("../../../helpers/constants/design-system"),c=e("../../../hooks/useI18nContext"),u=e("../../../hooks/useCopyToClipboard");function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(d=function(e){return e?n:t})(e)}const p=Boolean(!1),m=({accountName:e,onClose:t,privateKey:n})=>{const o=(0,c.useI18nContext)(),[i,d]=(0,a.useState)(!1),[m,f]=(0,u.useCopyToClipboard)();return a.default.createElement(a.default.Fragment,null,a.default.createElement(s.Text,{marginTop:6,variant:l.TextVariant.bodySm,style:{wordBreak:"break-word"}},o("privateKeyCopyWarning",[e])),a.default.createElement(s.Box,{display:l.Display.Flex,flexDirection:l.FlexDirection.Row,alignItems:l.AlignItems.center,borderRadius:l.BorderRadius.SM,borderWidth:1,borderColor:l.BorderColor.default,padding:4,gap:4},a.default.createElement(s.Text,{"data-testid":"account-details-key",variant:l.TextVariant.bodySm,style:{wordBreak:"break-word"},onClick:()=>d(!0)},a.default.createElement(r.LavaDome,{unsafeOpenModeShadow:p,text:(0,r.toLavaDomeToken)(n)})),a.default.createElement(s.ButtonIcon,{onClick:()=>d(!1)||f(n),iconName:m?s.IconName.CopySuccess:s.IconName.Copy,ariaLabel:o("copyPrivateKey")})),i&&a.default.createElement(s.HelpText,{marginTop:2,severity:s.HelpTextSeverity.Danger},o("lavaDomeCopyWarning")),a.default.createElement(s.BannerAlert,{severity:l.Severity.Danger,marginTop:4},a.default.createElement(s.Text,{variant:l.TextVariant.bodySm},o("privateKeyWarning"))),a.default.createElement(s.ButtonPrimary,{marginTop:6,onClick:t,block:!0},o("done")))};n.AccountDetailsKey=m,m.propTypes={accountName:i.default.string.isRequired,onClose:i.default.func.isRequired,privateKey:i.default.string.isRequired}}}},{package:"$root$",file:"ui/components/multichain/account-details/account-details-key.js"}],[5017,{"../../../../shared/constants/metametrics":4505,"../../../contexts/metametrics":5327,"../../../helpers/constants/design-system":5355,"../../../hooks/useI18nContext":5427,"../../../selectors":5987,"../../../store/actions":5998,"../../app/modals/hold-to-reveal-modal/hold-to-reveal-modal":4684,"../../component-library":4955,"../address-copy-button":5038,"./account-details-authenticate":5014,"./account-details-display":5015,"./account-details-key":5016,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.AccountDetails=void 0;var o=v(e("prop-types")),a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=b(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}(e("react")),r=e("react-redux"),i=e("../../../../shared/constants/metametrics"),s=e("../../../contexts/metametrics"),l=e("../../../helpers/constants/design-system"),c=e("../../../hooks/useI18nContext"),u=e("../../../selectors"),d=e("../../../store/actions"),p=v(e("../../app/modals/hold-to-reveal-modal/hold-to-reveal-modal")),m=e("../../component-library"),f=e("../address-copy-button"),g=e("./account-details-authenticate"),h=e("./account-details-display"),y=e("./account-details-key");function b(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(b=function(e){return e?n:t})(e)}function v(e){return e&&e.__esModule?e:{default:e}}const k=({address:e})=>{const t=(0,r.useDispatch)(),n=(0,c.useI18nContext)(),o=(0,a.useContext)(s.MetaMetricsContext),b=(0,r.useSelector)(u.getUseBlockie),v=(0,r.useSelector)(u.getMetaMaskAccountsOrdered),{metadata:{name:k}}=(0,r.useSelector)((t=>(0,u.getInternalAccountByAddress)(t,e))),[x,T]=(0,a.useState)(!1),[C,w]=(0,a.useState)(!1),[_,E]=(0,a.useState)(""),M=(0,a.useCallback)((()=>{t((0,d.setAccountDetailsAddress)("")),t((0,d.clearAccountDetails)()),t((0,d.hideWarning)())}),[t]),S=a.default.createElement(m.AvatarAccount,{variant:b?m.AvatarAccountVariant.Blockies:m.AvatarAccountVariant.Jazzicon,address:e,size:m.AvatarAccountSize.Lg,style:{margin:"0 auto"}});return a.default.createElement(a.default.Fragment,null,a.default.createElement(m.Modal,{isOpen:!x,onClose:M,"data-testid":"account-details-modal"},a.default.createElement(m.ModalOverlay,null),a.default.createElement(m.ModalContent,null,a.default.createElement(m.ModalHeader,{onClose:M,onBack:C&&(()=>{t((0,d.hideWarning)()),E(""),w(!1)})},C?n("showPrivateKey"):S),a.default.createElement(m.ModalBody,null,C?a.default.createElement(a.default.Fragment,null,a.default.createElement(m.Box,{display:l.Display.Flex,alignItems:l.AlignItems.center,flexDirection:l.FlexDirection.Column},S,a.default.createElement(m.Text,{marginTop:2,marginBottom:2,variant:l.TextVariant.bodyLgMedium,style:{wordBreak:"break-word"}},k),a.default.createElement(f.AddressCopyButton,{address:e,shorten:!0})),_?a.default.createElement(y.AccountDetailsKey,{accountName:k,onClose:M,privateKey:_}):a.default.createElement(g.AccountDetailsAuthenticate,{address:e,onCancel:M,setPrivateKey:E,setShowHoldToReveal:T})):a.default.createElement(h.AccountDetailsDisplay,{accounts:v,accountName:k,address:e,onExportClick:()=>w(!0)})))),a.default.createElement(p.default,{isOpen:x,onClose:()=>{o({category:i.MetaMetricsEventCategory.Keys,event:i.MetaMetricsEventName.KeyExportCanceled,properties:{key_type:i.MetaMetricsEventKeyType.Pkey}}),E(""),T(!1)},onLongPressed:()=>{T(!1)},holdToRevealType:"PrivateKey"}))};n.AccountDetails=k,k.propTypes={address:o.default.string}}}},{package:"$root$",file:"ui/components/multichain/account-details/account-details.js"}],[5018,{"./account-details":5017},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"AccountDetails",{enumerable:!0,get:function(){return o.AccountDetails}});var o=e("./account-details")}}},{package:"$root$",file:"ui/components/multichain/account-details/index.js"}],[5019,{"..":5092,"../../../../shared/constants/metametrics":4505,"../../../contexts/metametrics":5327,"../../../helpers/constants/design-system":5355,"../../../helpers/utils/metrics":5389,"../../../hooks/useI18nContext":5427,"../../../selectors":5987,"../../../store/actions":5998,"../../component-library":4955,"../../ui/menu":5264,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.AccountListItemMenu=void 0;var o,a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=y(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}(e("react")),r=e("react-redux"),i=(o=e("prop-types"))&&o.__esModule?o:{default:o},s=e("../../../contexts/metametrics"),l=e("../../../hooks/useI18nContext"),c=e("../../../selectors"),u=e("../../ui/menu"),d=e("../../component-library"),p=e("../../../../shared/constants/metametrics"),m=e("../../../store/actions"),f=e("../../../helpers/constants/design-system"),g=e("../../../helpers/utils/metrics"),h=e("..");function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(y=function(e){return e?n:t})(e)}const b="Account Options",v=({anchorElement:e,onClose:t,closeMenu:n,isRemovable:o,account:i,isOpen:y,isPinned:v,isHidden:k})=>{const x=(0,l.useI18nContext)(),T=(0,a.useContext)(s.MetaMetricsContext),C=(0,r.useDispatch)(),w=(0,r.useSelector)(c.getCurrentChainId),_=(0,r.useSelector)(c.getHardwareWalletType),{keyring:E}=i.metadata,M=(0,g.formatAccountType)((0,c.getAccountTypeForKeyring)(E)),S=(0,r.useSelector)(c.getPinnedAccountsList),O=(0,r.useSelector)(c.getHiddenAccountsList),A=(0,a.useRef)(null),N=(0,a.useRef)(null),I=(0,a.useRef)(null),P=(0,a.useRef)(null);(0,a.useEffect)((()=>{P.current?A.current=P.current:I.current?A.current=I.current:A.current=N.current}),[P.current,I.current,N.current]);const j=(0,a.useCallback)((e=>{"Tab"===e.key&&e.target===A.current&&t()}),[t]),B=(0,a.useRef)(null),D=(0,a.useCallback)((e=>{null!=B&&B.current&&!B.current.contains(e.target)&&t()}),[t]);(0,a.useEffect)((()=>(document.addEventListener("mousedown",D),()=>{document.removeEventListener("mousedown",D)})),[D]);const F=e=>{const t=S.filter((t=>t!==e));C((0,m.updateAccountsList)(t))};return a.default.createElement(d.Popover,{className:"multichain-account-list-item-menu__popover",referenceElement:e,role:d.PopoverRole.Dialog,position:d.PopoverPosition.Bottom,offset:[0,0],padding:0,isOpen:y,isPortal:!0,preventOverflow:!0,flip:!0},a.default.createElement(d.ModalFocus,{restoreFocus:!0,initialFocusRef:e},a.default.createElement("div",{onKeyDown:j,ref:B},a.default.createElement(h.AccountDetailsMenuItem,{metricsLocation:b,closeMenu:n,address:i.address,textProps:{variant:f.TextVariant.bodySm}}),a.default.createElement(h.ViewExplorerMenuItem,{metricsLocation:b,closeMenu:n,textProps:{variant:f.TextVariant.bodySm},address:i.address}),k?null:a.default.createElement(u.MenuItem,{"data-testid":"account-list-menu-pin",onClick:()=>{v?F(i.address):(e=>{const t=[...S,e];C((0,m.updateAccountsList)(t))})(i.address),t()},iconName:v?d.IconName.Unpin:d.IconName.Pin},a.default.createElement(d.Text,{variant:f.TextVariant.bodySm},x(v?"unpin":"pinToTop"))),a.default.createElement(u.MenuItem,{"data-testid":"account-list-menu-hide",onClick:()=>{k?(e=>{const t=O.filter((t=>t!==e));C((0,m.updateHiddenAccountsList)(t))})(i.address):(e=>{const t=[...O,e];S.includes(e)&&F(e),C((0,m.updateHiddenAccountsList)(t))})(i.address),t()},iconName:k?d.IconName.Eye:d.IconName.EyeSlash},a.default.createElement(d.Text,{variant:f.TextVariant.bodySm},x(k?"showAccount":"hideAccount"))),o?a.default.createElement(u.MenuItem,{ref:I,"data-testid":"account-list-menu-remove",onClick:()=>{C((0,m.showModal)({name:"CONFIRM_REMOVE_ACCOUNT",account:i})),T({event:p.MetaMetricsEventName.AccountRemoved,category:p.MetaMetricsEventCategory.Accounts,properties:{account_hardware_type:_,chain_id:w,account_type:M}}),t(),null==n||n()},iconName:d.IconName.Trash},a.default.createElement(d.Text,{variant:f.TextVariant.bodySm},x("removeAccount"))):null)))};n.AccountListItemMenu=v,v.propTypes={anchorElement:i.default.instanceOf(window.Element),onClose:i.default.func.isRequired,isOpen:i.default.bool.isRequired,closeMenu:i.default.func,isRemovable:i.default.bool.isRequired,isPinned:i.default.bool,isHidden:i.default.bool,account:i.default.shape({id:i.default.string.isRequired,address:i.default.string.isRequired,balance:i.default.string.isRequired,metadata:i.default.shape({name:i.default.string.isRequired,snap:i.default.shape({id:i.default.string.isRequired,name:i.default.string,enabled:i.default.bool}),keyring:i.default.shape({type:i.default.string.isRequired}).isRequired}).isRequired}).isRequired}}}},{package:"$root$",file:"ui/components/multichain/account-list-item-menu/account-list-item-menu.js"}],[5020,{"./account-list-item-menu":5019},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"AccountListItemMenu",{enumerable:!0,get:function(){return o.AccountListItemMenu}});var o=e("./account-list-item-menu")}}},{package:"$root$",file:"ui/components/multichain/account-list-item-menu/index.js"}],[5021,{"..":5092,"../../../../app/scripts/lib/multichain/address":82,"../../../../shared/constants/keyring":4502,"../../../../shared/constants/metametrics":4505,"../../../../shared/constants/network":4507,"../../../contexts/metametrics":5327,"../../../ducks/metamask/metamask":5346,"../../../helpers/constants/common":5353,"../../../helpers/constants/design-system":5355,"../../../helpers/utils/util":5399,"../../../hooks/useAccountTotalFiatBalance":5413,"../../../hooks/useI18nContext":5427,"../../../selectors":5987,"../../app/user-preferenced-currency-display/user-preferenced-currency-display.component":4881,"../../component-library":4955,"../../ui/tooltip/tooltip":5311,"../connected-accounts-menu":5066,"../connected-status/connected-status":5069,"./account-list-item.types":5022,classnames:3049,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.AccountListItem=void 0;var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=M(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}(e("react")),a=E(e("prop-types")),r=E(e("classnames")),i=e("react-redux"),s=e("../../../hooks/useI18nContext"),l=e("../../../helpers/utils/util"),c=e(".."),u=e("../connected-accounts-menu"),d=e("../../component-library"),p=e("../../../helpers/constants/design-system"),m=e("../../../../shared/constants/keyring"),f=E(e("../../app/user-preferenced-currency-display/user-preferenced-currency-display.component")),g=e("../../../helpers/constants/common"),h=e("../../../ducks/metamask/metamask"),y=E(e("../../ui/tooltip/tooltip")),b=e("../../../../shared/constants/metametrics"),v=e("../../../contexts/metametrics"),k=e("../../../selectors"),x=e("../../../hooks/useAccountTotalFiatBalance"),T=e("../../../../shared/constants/network"),C=e("../connected-status/connected-status"),w=e("../../../../app/scripts/lib/multichain/address"),_=e("./account-list-item.types");function E(e){return e&&e.__esModule?e:{default:e}}function M(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(M=function(e){return e?n:t})(e)}const S=({account:e,selected:t=!1,onClick:n,closeMenu:a,accountsCount:E,connectedAvatar:M,isPinned:S=!1,menuType:O=_.AccountListItemMenuTypes.None,isHidden:A=!1,currentTabOrigin:N,isActive:I=!1,startAccessory:P,onActionClick:j})=>{const B=(0,s.useI18nContext)(),[D,F]=(0,o.useState)(!1),[L,R]=(0,o.useState)(),$=(0,i.useSelector)(k.getUseBlockie),z=(0,i.useSelector)(k.getCurrentNetwork),W=(0,i.useSelector)(k.getShowFiatInTestnets),U=T.TEST_NETWORKS.includes(null==z?void 0:z.nickname)&&!W,{totalWeiBalance:V,orderedTokenList:H}=(0,x.useAccountTotalFiatBalance)(e.address),G=H.map((e=>({avatarValue:e.iconUrl})));let q=V;U&&(q=e.balance);const K=(0,o.useRef)(null);(0,o.useEffect)((()=>{var e,n;t&&(null===(e=K.current)||void 0===e||null===(n=e.scrollIntoView)||void 0===n||n.call(e))}),[K,t]);const J=(0,o.useContext)(v.MetaMetricsContext),Y=(0,i.useSelector)(k.getNativeCurrencyImage),Q=(0,i.useSelector)(h.getNativeCurrency),X=(0,i.useSelector)((t=>(0,k.isAccountConnectedToCurrentTab)(t,e.address))),Z=N&&X,ee=1===E;return o.default.createElement(d.Box,{display:p.Display.Flex,padding:4,backgroundColor:t?p.Color.primaryMuted:p.Color.transparent,className:(0,r.default)("multichain-account-list-item",{"multichain-account-list-item--selected":t,"multichain-account-list-item--connected":Boolean(M),"multichain-account-list-item--clickable":Boolean(n)}),ref:K,onClick:()=>{D||null==n||n()}},P?o.default.createElement(d.Box,{marginInlineEnd:2,marginTop:1},P):null,t&&o.default.createElement(d.Box,{className:"multichain-account-list-item__selected-indicator",borderRadius:p.BorderRadius.pill,backgroundColor:p.Color.primaryDefault}),o.default.createElement(o.default.Fragment,null,o.default.createElement(d.Box,{display:[p.Display.Flex,p.Display.None],"data-testid":"account-list-item-badge"},o.default.createElement(C.ConnectedStatus,{address:e.address,isActive:I})),o.default.createElement(d.Box,{display:[p.Display.None,p.Display.Flex]},o.default.createElement(d.AvatarAccount,{borderColor:p.BorderColor.transparent,size:p.Size.MD,address:e.address,variant:$?d.AvatarAccountVariant.Blockies:d.AvatarAccountVariant.Jazzicon,marginInlineEnd:2}))),o.default.createElement(d.Box,{display:p.Display.Flex,flexDirection:p.FlexDirection.Column,className:"multichain-account-list-item__content"},o.default.createElement(d.Box,{display:p.Display.Flex,flexDirection:p.FlexDirection.Column},o.default.createElement(d.Box,{display:p.Display.Flex,justifyContent:p.JustifyContent.spaceBetween},o.default.createElement(d.Box,{className:"multichain-account-list-item__account-name",marginInlineEnd:2,display:p.Display.Flex,alignItems:p.AlignItems.center,gap:2},S?o.default.createElement(d.Icon,{name:d.IconName.Pin,size:d.IconSize.Xs,className:"account-pinned-icon"}):null,A?o.default.createElement(d.Icon,{name:d.IconName.EyeSlash,size:d.IconSize.Xs,className:"account-hidden-icon"}):null,o.default.createElement(d.Text,{as:"button",onClick:e=>{e.stopPropagation(),null==n||n()},variant:p.TextVariant.bodyMdMedium,className:"multichain-account-list-item__account-name__button",padding:0,backgroundColor:p.BackgroundColor.transparent,width:p.BlockSize.Full,textAlign:p.TextAlign.Left,ellipsis:!0},e.metadata.name.length>17?o.default.createElement(y.default,{title:e.metadata.name,position:"bottom",wrapperClassName:"multichain-account-list-item__tooltip"},e.metadata.name):e.metadata.name)),o.default.createElement(d.Text,{as:"div",className:"multichain-account-list-item__asset",display:p.Display.Flex,flexDirection:p.FlexDirection.Row,alignItems:p.AlignItems.center,justifyContent:p.JustifyContent.flexEnd,ellipsis:!0,textAlign:p.TextAlign.End},o.default.createElement(f.default,{ethNumberOfDecimals:3,value:q,type:g.PRIMARY,showFiat:!U||!T.TEST_NETWORKS.includes(null==z?void 0:z.nickname)})))),o.default.createElement(d.Box,{display:p.Display.Flex,justifyContent:p.JustifyContent.spaceBetween},o.default.createElement(d.Box,{display:p.Display.Flex,alignItems:p.AlignItems.center},o.default.createElement(d.Text,{variant:p.TextVariant.bodySm,color:p.Color.textAlternative},(0,l.shortenAddress)((0,w.normalizeSafeAddress)(e.address)))),G.length>1?o.default.createElement(c.AvatarGroup,{members:G,limit:4}):o.default.createElement(d.Box,{display:p.Display.Flex,alignItems:p.AlignItems.center,justifyContent:p.JustifyContent.center,gap:1,className:"multichain-account-list-item__avatar-currency"},o.default.createElement(d.AvatarToken,{src:Y,name:Q,size:d.AvatarTokenSize.Xs,borderColor:p.BorderColor.borderDefault}),o.default.createElement(d.Text,{variant:p.TextVariant.bodySm,color:p.TextColor.textAlternative,textAlign:p.TextAlign.End,as:"div"},o.default.createElement(f.default,{ethNumberOfDecimals:3,value:e.balance,type:g.SECONDARY,showNative:!0})))),e.label?o.default.createElement(d.Tag,{label:e.label,labelProps:{variant:p.TextVariant.bodyXs,color:p.Color.textAlternative},startIconName:e.metadata.keyring.type===m.KeyringType.snap?d.IconName.Snaps:null}):null),O===_.AccountListItemMenuTypes.None?null:o.default.createElement(d.ButtonIcon,{ariaLabel:`${e.metadata.name} ${B("options")}`,iconName:d.IconName.MoreVertical,size:d.IconSize.Sm,ref:e=>{R(e)},onClick:e=>{e.stopPropagation(),D||J({event:b.MetaMetricsEventName.AccountDetailMenuOpened,category:b.MetaMetricsEventCategory.Navigation,properties:{location:"Account Options"}}),F(!D)},"data-testid":"account-list-item-menu-button"}),O===_.AccountListItemMenuTypes.Account&&o.default.createElement(c.AccountListItemMenu,{anchorElement:L,account:e,onClose:()=>F(!1),isOpen:D,isRemovable:e.keyring.type!==m.KeyringType.hdKeyTree,closeMenu:a,isPinned:S,isHidden:A,isConnected:Z}),O===_.AccountListItemMenuTypes.Connection&&o.default.createElement(u.ConnectedAccountsMenu,{anchorElement:L,account:e,onClose:()=>F(!1),closeMenu:a,disableAccountSwitcher:ee,isOpen:D,onActionClick:j,activeTabOrigin:N}))};n.AccountListItem=S,S.propTypes={account:a.default.shape({id:a.default.string.isRequired,address:a.default.string.isRequired,balance:a.default.string.isRequired,metadata:a.default.shape({name:a.default.string.isRequired,snap:a.default.shape({id:a.default.string.isRequired,name:a.default.string,enabled:a.default.bool}),keyring:a.default.shape({type:a.default.string.isRequired}).isRequired}).isRequired,keyring:a.default.shape({type:a.default.string.isRequired}).isRequired,label:a.default.string}).isRequired,selected:a.default.bool,onClick:a.default.func,accountsCount:a.default.number,closeMenu:a.default.func,onActionClick:a.default.func,connectedAvatar:a.default.string,menuType:a.default.string,isPinned:a.default.bool,isHidden:a.default.bool,currentTabOrigin:a.default.string,isActive:a.default.bool,startAccessory:a.default.node},S.displayName="AccountListItem"}}},{package:"$root$",file:"ui/components/multichain/account-list-item/account-list-item.js"}],[5022,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.AccountListItemMenuTypes=void 0;n.AccountListItemMenuTypes={None:"none",Connection:"connection",Account:"account"}}}},{package:"$root$",file:"ui/components/multichain/account-list-item/account-list-item.types.js"}],[5023,{"./account-list-item":5021,"./account-list-item.types":5022},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"AccountListItem",{enumerable:!0,get:function(){return o.AccountListItem}}),Object.defineProperty(n,"AccountListItemMenuTypes",{enumerable:!0,get:function(){return a.AccountListItemMenuTypes}});var o=e("./account-list-item"),a=e("./account-list-item.types")}}},{package:"$root$",file:"ui/components/multichain/account-list-item/index.js"}],[5024,{"..":5092,"../../../../app/scripts/lib/util":120,"../../../../shared/constants/app":4493,"../../../../shared/constants/metametrics":4505,"../../../contexts/metametrics":5327,"../../../helpers/constants/design-system":5355,"../../../helpers/constants/routes":5361,"../../../helpers/utils/accounts":5378,"../../../hooks/useI18nContext":5427,"../../../selectors":5987,"../../../store/actions":5998,"../../component-library":4955,"../../component-library/modal-content/deprecated":4963,"../../component-library/modal-header":4974,"../../component-library/text-field-search/deprecated":5e3,"./hidden-account-list":5025,"fuse.js":3407,"prop-types":3997,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.mergeAccounts=n.AccountListMenu=void 0;var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=_(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}(e("react")),a=w(e("prop-types")),r=e("react-router-dom"),i=w(e("fuse.js")),s=e("react-redux"),l=e("../../component-library"),c=e("../../component-library/modal-content/deprecated"),u=e("../../component-library/modal-header"),d=e("../../component-library/text-field-search/deprecated"),p=e(".."),m=e("../../../helpers/constants/design-system"),f=e("../../../hooks/useI18nContext"),g=e("../../../contexts/metametrics"),h=e("../../../selectors"),y=e("../../../store/actions"),b=e("../../../../shared/constants/metametrics"),v=e("../../../helpers/constants/routes"),k=e("../../../../app/scripts/lib/util"),x=e("../../../../shared/constants/app"),T=e("../../../helpers/utils/accounts"),C=e("./hidden-account-list");function w(e){return e&&e.__esModule?e:{default:e}}function _(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(_=function(e){return e?n:t})(e)}function E(){return E=Object.assign?Object.assign.bind():function(e){for(var t=1;te.map((e=>{const n=t.find((t=>t.address===e.address));return n?{...e,...n,keyring:n.metadata.keyring,label:(0,T.getAccountLabel)(n.metadata.keyring.type,n)}:e}));n.mergeAccounts=N;const I=({onClose:e,showAccountCreation:t=!0,accountListItemProps:n={}})=>{const a=(0,f.useI18nContext)(),T=(0,o.useContext)(g.MetaMetricsContext),w=(0,s.useSelector)(h.getMetaMaskAccountsOrdered),_=(0,s.useSelector)(h.getSelectedInternalAccount),I=(0,s.useSelector)(h.getConnectedSubjectsForAllAddresses),P=(0,s.useSelector)(h.getOriginOfCurrentTab),j=(0,r.useHistory)(),B=(0,s.useDispatch)(),D=(0,s.useSelector)(h.getHiddenAccountsList),F=(0,s.useSelector)(h.getUpdatedAndSortedAccounts),L=(0,s.useSelector)(h.getIsAddSnapAccountEnabled),[R,$]=(0,o.useState)(""),[z,W]=(0,o.useState)(M);let U=F;if(R){const e=new i.default(w,{threshold:.2,location:0,distance:100,maxPatternLength:32,minMatchCharLength:1,keys:["metadata.name","address"]});e.setCollection(w),U=e.search(R)}U=N(U,w);let V=a("selectAnAccount");z===O||z===S?V=a("addAccount"):z===A&&(V=a("importAccount"));let H=null;return z!==M&&(H=z===S?()=>W(M):()=>W(S)),o.default.createElement(l.Modal,{isOpen:!0,onClose:e},o.default.createElement(l.ModalOverlay,null),o.default.createElement(c.ModalContent,{className:"multichain-account-menu-popover",modalDialogProps:{className:"multichain-account-menu-popover__dialog",padding:0,display:m.Display.Flex,flexDirection:m.FlexDirection.Column}},o.default.createElement(u.ModalHeader,{padding:4,onClose:e,onBack:H},V),z===O?o.default.createElement(l.Box,{paddingLeft:4,paddingRight:4,paddingBottom:4},o.default.createElement(p.CreateEthAccount,{onActionComplete:t=>{t?e():W(M)}})):null,z===A?o.default.createElement(l.Box,{paddingLeft:4,paddingRight:4,paddingBottom:4,paddingTop:0},o.default.createElement(p.ImportAccount,{onActionComplete:t=>{t?e():W(M)}})):null,z===S?o.default.createElement(l.Box,{padding:4},o.default.createElement(l.Box,null,o.default.createElement(l.ButtonLink,{size:m.Size.SM,startIconName:l.IconName.Add,onClick:()=>{T({category:b.MetaMetricsEventCategory.Navigation,event:b.MetaMetricsEventName.AccountAddSelected,properties:{account_type:b.MetaMetricsEventAccountType.Default,location:"Main Menu"}}),W(O)},"data-testid":"multichain-account-menu-popover-add-account"},a("addNewAccount"))),o.default.createElement(l.Box,{marginTop:4},o.default.createElement(l.ButtonLink,{size:m.Size.SM,startIconName:l.IconName.Import,onClick:()=>{T({category:b.MetaMetricsEventCategory.Navigation,event:b.MetaMetricsEventName.AccountAddSelected,properties:{account_type:b.MetaMetricsEventAccountType.Imported,location:"Main Menu"}}),W(A)}},a("importAccount"))),o.default.createElement(l.Box,{marginTop:4},o.default.createElement(l.ButtonLink,{size:m.Size.SM,startIconName:l.IconName.Hardware,onClick:()=>{e(),T({category:b.MetaMetricsEventCategory.Navigation,event:b.MetaMetricsEventName.AccountAddSelected,properties:{account_type:b.MetaMetricsEventAccountType.Hardware,location:"Main Menu"}}),(0,k.getEnvironmentType)()===x.ENVIRONMENT_TYPE_POPUP?global.platform.openExtensionInBrowser(v.CONNECT_HARDWARE_ROUTE):j.push(v.CONNECT_HARDWARE_ROUTE)}},a("addHardwareWallet"))),L?o.default.createElement(l.Box,{marginTop:4},o.default.createElement(l.ButtonLink,{size:m.Size.SM,startIconName:l.IconName.Snaps,onClick:()=>{e(),T({category:b.MetaMetricsEventCategory.Navigation,event:b.MetaMetricsEventName.AccountAddSelected,properties:{account_type:b.MetaMetricsEventAccountType.Snap,location:"Main Menu"}}),global.platform.openTab({url:"https://metamask.github.io/snaps-directory-staging/main/account-management"})}},a("settingAddSnapAccount"))):null):null,z===M?o.default.createElement(o.default.Fragment,null,w.length>1?o.default.createElement(l.Box,{paddingLeft:4,paddingRight:4,paddingBottom:4,paddingTop:0},o.default.createElement(d.TextFieldSearch,{size:m.Size.SM,width:m.BlockSize.Full,placeholder:a("searchAccounts"),value:R,onChange:e=>$(e.target.value),clearButtonOnClick:()=>$(""),clearButtonProps:{size:m.Size.SM},inputProps:{autoFocus:!0}})):null,o.default.createElement(l.Box,{className:"multichain-account-menu-popover__list"},0===U.length&&""!==R?o.default.createElement(l.Text,{paddingLeft:4,paddingRight:4,color:m.TextColor.textMuted,"data-testid":"multichain-account-menu-popover-no-results"},a("noAccountsFound")):null,U.map((t=>{var a;const r=null===(a=I[t.address])||void 0===a?void 0:a.find((({origin:e})=>e===P)),i=0===R.length&&t.hidden;return o.default.createElement(l.Box,{className:t.hidden?"multichain-account-menu-popover__list--menu-item-hidden":"multichain-account-menu-popover__list--menu-item",display:i?m.Display.None:m.Display.Block,key:t.address},o.default.createElement(p.AccountListItem,E({onClick:()=>{e(),T({category:b.MetaMetricsEventCategory.Navigation,event:b.MetaMetricsEventName.NavAccountSwitched,properties:{location:"Main Menu"}}),B((0,y.setSelectedAccount)(t.address))},account:t,key:t.address,selected:_.address===t.address,closeMenu:e,connectedAvatar:null==r?void 0:r.iconUrl,menuType:p.AccountListItemMenuTypes.Account,isPinned:Boolean(t.pinned),isHidden:Boolean(t.hidden),currentTabOrigin:P,isActive:Boolean(t.active)},n)))}))),D.length>0?o.default.createElement(C.HiddenAccountList,{onClose:e}):null,t?o.default.createElement(l.Box,{paddingTop:2,paddingBottom:4,paddingLeft:4,paddingRight:4,alignItems:m.AlignItems.center,display:m.Display.Flex},o.default.createElement(l.ButtonSecondary,{startIconName:l.IconName.Add,variant:l.ButtonVariant.Secondary,size:l.ButtonSecondarySize.Lg,block:!0,onClick:()=>W(S),"data-testid":"multichain-account-menu-popover-action-button"},a("addImportAccount"))):null):null))};n.AccountListMenu=I,I.propTypes={onClose:a.default.func.isRequired,showAccountCreation:a.default.bool,accountListItemProps:a.default.object}}}},{package:"$root$",file:"ui/components/multichain/account-list-menu/account-list-menu.js"}],[5025,{"..":5092,"../../../../shared/constants/metametrics":4505,"../../../contexts/metametrics":5327,"../../../helpers/constants/design-system":5355,"../../../hooks/useI18nContext":5427,"../../../selectors":5987,"../../../store/actions":5998,"../../component-library":4955,"../account-list-item":5023,"./account-list-menu":5024,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.HiddenAccountList=void 0;var o,a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=y(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}(e("react")),r=(o=e("prop-types"))&&o.__esModule?o:{default:o},i=e("react-redux"),s=e("../../../../shared/constants/metametrics"),l=e("../../../contexts/metametrics"),c=e("../../../helpers/constants/design-system"),u=e("../../../hooks/useI18nContext"),d=e("../../../selectors"),p=e("../../../store/actions"),m=e("../../component-library"),f=e("../account-list-item"),g=e(".."),h=e("./account-list-menu");function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(y=function(e){return e?n:t})(e)}const b=({onClose:e})=>{const t=(0,u.useI18nContext)(),n=(0,a.useContext)(l.MetaMetricsContext),o=(0,i.useDispatch)(),r=(0,i.useSelector)(d.getHiddenAccountsList),y=(0,i.useSelector)(d.getMetaMaskAccountsOrdered),b=(0,i.useSelector)(d.getInternalAccounts),v=(0,h.mergeAccounts)(y,b),k=(0,i.useSelector)(d.getSelectedAccount),x=(0,i.useSelector)(d.getConnectedSubjectsForAllAddresses),T=(0,i.useSelector)(d.getOriginOfCurrentTab),C=v.filter((e=>r.includes(e.address))),[w,_]=(0,a.useState)(!1);return a.default.createElement(a.default.Fragment,null,a.default.createElement(m.Box,{as:"button",onClick:()=>_(!w),backgroundColor:c.BackgroundColor.backgroundDefault,display:c.Display.Flex,padding:4,alignItems:c.AlignItems.center,width:c.BlockSize.Full,justifyContent:c.JustifyContent.spaceBetween,className:"hidden-accounts-list","data-testid":"hidden-accounts-list"},a.default.createElement(m.Box,{display:c.Display.Flex,alignItems:c.AlignItems.center,width:c.BlockSize.TwoThirds,gap:2},a.default.createElement(m.AvatarIcon,{iconName:m.IconName.EyeSlash,color:c.IconColor.infoDefault,backgroundColor:c.BackgroundColor.infoMuted,size:m.AvatarIconSize.Sm}),a.default.createElement(m.Box,{display:c.Display.Flex},a.default.createElement(m.Text,{variant:c.TextVariant.bodyMdMedium},t("hiddenAccounts")))),a.default.createElement(m.Box,{gap:2,display:c.Display.Flex,alignItems:c.AlignItems.center,width:c.BlockSize.OneThird,justifyContent:c.JustifyContent.flexEnd},a.default.createElement(m.Text,{variant:c.TextVariant.bodyMdMedium},r.length),a.default.createElement(m.Icon,{name:w?m.IconName.ArrowUp:m.IconName.ArrowDown,size:m.IconSize.Sm,color:c.IconColor.iconDefault}))),w?a.default.createElement(m.Box,null,C.map((t=>{var r;const i=null===(r=x[t.address])||void 0===r?void 0:r.find((({origin:e})=>e===T));return a.default.createElement(m.Box,{className:"multichain-account-menu-popover__list--menu-item-hidden-account",key:t.address},a.default.createElement(f.AccountListItem,{onClick:()=>{e(),n({category:s.MetaMetricsEventCategory.Navigation,event:s.MetaMetricsEventName.NavAccountSwitched,properties:{location:"Main Menu"}}),o((0,p.setSelectedAccount)(t.address))},account:t,key:t.address,selected:k.address===t.address,closeMenu:e,connectedAvatar:null==i?void 0:i.iconUrl,menuType:g.AccountListItemMenuTypes.Account,isPinned:Boolean(t.pinned),isHidden:Boolean(t.hidden)}))}))):null)};n.HiddenAccountList=b,b.propTypes={onClose:r.default.func.isRequired}}}},{package:"$root$",file:"ui/components/multichain/account-list-menu/hidden-account-list.js"}],[5026,{"./account-list-menu":5024},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"AccountListMenu",{enumerable:!0,get:function(){return o.AccountListMenu}});var o=e("./account-list-menu")}}},{package:"$root$",file:"ui/components/multichain/account-list-menu/index.js"}],[5027,{"../../app/wallet-overview":4883,"./account-overview-layout":5028,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.AccountOverviewEth=void 0;var o,a=(o=e("react"))&&o.__esModule?o:{default:o},r=e("../../app/wallet-overview"),i=e("./account-overview-layout");function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;ta.default.createElement(i.AccountOverviewLayout,s({showTokens:!0,showNfts:!0,showActivity:!0},e),a.default.createElement(r.EthOverview,{showAddress:!0}))}}},{package:"$root$",file:"ui/components/multichain/account-overview/account-overview-eth.tsx"}],[5028,{"./account-overview-tabs":5029,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.AccountOverviewLayout=void 0;var o,a=(o=e("react"))&&o.__esModule?o:{default:o},r=e("./account-overview-tabs");n.AccountOverviewLayout=({children:e,...t})=>a.default.createElement(a.default.Fragment,null,a.default.createElement("div",{className:"account-overview__balance-wrapper"},e),a.default.createElement(r.AccountOverviewTabs,t))}}},{package:"$root$",file:"ui/components/multichain/account-overview/account-overview-layout.tsx"}],[5029,{"../../../../shared/constants/metametrics":4505,"../../../../shared/lib/ui-utils":4532,"../../../contexts/metametrics":5327,"../../../helpers/constants/routes":5361,"../../../hooks/useI18nContext":5427,"../../app/asset-list":4586,"../../app/nfts-tab":4724,"../../app/transaction-list":4877,"../../component-library":4955,"../../ui/tabs":5296,react:4243,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.AccountOverviewTabs=void 0;var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=g(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}(e("react")),a=e("react-router-dom"),r=e("../../../hooks/useI18nContext"),i=e("../../../helpers/constants/routes");e("../../../../shared/lib/ui-utils");var s=e("../../../../shared/constants/metametrics"),l=e("../../../contexts/metametrics"),c=f(e("../../app/nfts-tab")),u=f(e("../../app/asset-list")),d=f(e("../../app/transaction-list")),p=e("../../ui/tabs"),m=e("../../component-library");function f(e){return e&&e.__esModule?e:{default:e}}function g(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(g=function(e){return e?n:t})(e)}function h(){return h=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const y=(0,a.useHistory)(),b=(0,r.useI18nContext)(),v=(0,o.useContext)(l.MetaMetricsContext),k=(0,o.useMemo)((()=>({activeClassName:"account-overview__tab--active",className:"account-overview__tab"})),[]),x=e=>{switch(e){case"nfts":return s.MetaMetricsEventName.NftScreenOpened;case"activity":return s.MetaMetricsEventName.ActivityScreenOpened;default:return s.MetaMetricsEventName.TokenScreenOpened}},T=(0,o.useCallback)((t=>{e(t),v({category:s.MetaMetricsEventCategory.Home,event:x(t)})}),[e]);return o.default.createElement(m.Box,{style:{flexGrow:"1"},paddingTop:4},o.default.createElement(p.Tabs,{defaultActiveTabKey:t,onTabClick:T,tabsClassName:"account-overview__tabs"},n&&o.default.createElement(p.Tab,h({name:b("tokens"),tabKey:"tokens","data-testid":"account-overview__asset-tab"},k),o.default.createElement(m.Box,{marginTop:2},o.default.createElement(u.default,{onClickAsset:e=>y.push(`${i.ASSET_ROUTE}/${e}`)}))),f&&o.default.createElement(p.Tab,h({name:b("nfts"),tabKey:"nfts","data-testid":"account-overview__nfts-tab"},k),o.default.createElement(c.default,null)),g&&o.default.createElement(p.Tab,h({name:b("activity"),tabKey:"activity","data-testid":"account-overview__activity-tab"},k),o.default.createElement(d.default,null))))}}}},{package:"$root$",file:"ui/components/multichain/account-overview/account-overview-tabs.tsx"}],[5030,{"../../../hooks/useI18nContext":5427,"../../component-library":4955,"./account-overview-layout":5028,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.AccountOverviewUnknown=void 0;var o,a=(o=e("react"))&&o.__esModule?o:{default:o},r=e("../../component-library"),i=e("../../../hooks/useI18nContext"),s=e("./account-overview-layout");function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const t=(0,i.useI18nContext)();return a.default.createElement(s.AccountOverviewLayout,l({showTokens:!1,showNfts:!1,showActivity:!0},e),a.default.createElement(r.Box,{className:"account-overview-unknown__empty"},a.default.createElement(r.Box,{className:"account-overview-unknown__empty-text"},a.default.createElement("span",null,t("accountTypeNotSupported")))))}}}},{package:"$root$",file:"ui/components/multichain/account-overview/account-overview-unknown.tsx"}],[5031,{"../../../hooks/useI18nContext":5427,"../../../selectors/accounts":5981,"../../component-library":4955,"./account-overview-eth":5027,"./account-overview-unknown":5030,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.AccountOverview=function(e){const t=(0,i.useI18nContext)(),n=(0,r.useSelector)(l.isSelectedInternalAccountEth),o=!n,{useExternalServices:d,setBasicFunctionalityModalOpen:p}=e;return a.default.createElement(a.default.Fragment,null,!d&&a.default.createElement(s.BannerAlert,{margin:4,marginBottom:0,severity:s.BannerAlertSeverity.Danger,actionButtonLabel:t("basicConfigurationBannerCTA"),actionButtonOnClick:()=>{p()},title:t("basicConfigurationBannerTitle")}),n&&a.default.createElement(c.AccountOverviewEth,e),o&&a.default.createElement(u.AccountOverviewUnknown,e))};var o,a=(o=e("react"))&&o.__esModule?o:{default:o},r=e("react-redux"),i=e("../../../hooks/useI18nContext"),s=e("../../component-library"),l=e("../../../selectors/accounts"),c=e("./account-overview-eth"),u=e("./account-overview-unknown")}}},{package:"$root$",file:"ui/components/multichain/account-overview/account-overview.tsx"}],[5032,{"./account-overview":5031},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"AccountOverview",{enumerable:!0,get:function(){return o.AccountOverview}});var o=e("./account-overview")}}},{package:"$root$",file:"ui/components/multichain/account-overview/index.js"}],[5033,{"../../../../shared/modules/hexstring-utils":4544,"../../../helpers/constants/design-system":5355,"../../../helpers/utils/util":5399,"../../../selectors":5987,"../../component-library":4955,classnames:3049,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.AccountPicker=void 0;var o=p(e("react")),a=p(e("prop-types")),r=p(e("classnames")),i=e("react-redux"),s=e("../../../../shared/modules/hexstring-utils"),l=e("../../component-library"),c=e("../../../helpers/constants/design-system"),u=e("../../../selectors"),d=e("../../../helpers/utils/util");function p(e){return e&&e.__esModule?e:{default:e}}function m(){return m=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const v=(0,i.useSelector)(u.getUseBlockie),k=(0,d.shortenAddress)((0,s.toChecksumHexAddress)(e));return o.default.createElement(l.ButtonBase,m({className:(0,r.default)("multichain-account-picker",y),"data-testid":"account-menu-icon",onClick:n,backgroundColor:c.BackgroundColor.transparent,borderRadius:c.BorderRadius.LG,ellipsis:!0,textProps:{display:c.Display.Flex,alignItems:c.AlignItems.center,gap:2,...h},size:p?l.ButtonBaseSize.Lg:l.ButtonBaseSize.Sm,disabled:a,endIconName:l.IconName.ArrowDown,endIconProps:{color:c.IconColor.iconDefault,size:c.Size.SM}},b,{gap:2}),o.default.createElement(l.AvatarAccount,{variant:v?l.AvatarAccountVariant.Blockies:l.AvatarAccountVariant.Jazzicon,address:e,size:p?c.Size.MD:c.Size.XS,borderColor:c.BackgroundColor.backgroundDefault}),o.default.createElement(l.Text,m({as:"span",ellipsis:!0},g,{className:(0,r.default)("multichain-account-picker__label",g.className??"")}),t,p?o.default.createElement(l.Text,m({color:c.TextColor.textAlternative,variant:c.TextVariant.bodySm,ellipsis:!0},f),k):null))};n.AccountPicker=f,f.propTypes={name:a.default.string.isRequired,address:a.default.string.isRequired,showAddress:a.default.bool,addressProps:a.default.object,onClick:a.default.func.isRequired,disabled:a.default.bool,block:a.default.bool,labelProps:a.default.object,textProps:a.default.object,className:a.default.string}}}},{package:"$root$",file:"ui/components/multichain/account-picker/account-picker.js"}],[5034,{"./account-picker":5033},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"AccountPicker",{enumerable:!0,get:function(){return o.AccountPicker}});var o=e("./account-picker")}}},{package:"$root$",file:"ui/components/multichain/account-picker/index.js"}],[5035,{"../../../helpers/constants/design-system":5355,"../../component-library":4955,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.ActivityListItem=void 0;var o=l(e("react")),a=l(e("prop-types")),r=l(e("classnames")),i=e("../../../helpers/constants/design-system"),s=e("../../component-library");function l(e){return e&&e.__esModule?e:{default:e}}const c=({topContent:e,icon:t,title:n,subtitle:a,midContent:l,children:c,rightContent:u,onClick:d,className:p,"data-testid":m})=>{const f=(0,r.default)("activity-list-item",p,{"activity-list-item--single-content-row":!(a||c)});return o.default.createElement(s.Box,{tabIndex:0,backgroundColor:i.BackgroundColor.backgroundDefault,className:f,onClick:d,onKeyPress:e=>{"Enter"===e.key&&d()},"data-testid":m,padding:4,display:i.Display.Flex,width:i.BlockSize.Full,flexWrap:i.FlexWrap.Wrap,gap:4},e&&o.default.createElement(s.Text,{variant:i.TextVariant.bodyMd,color:i.TextColor.textDefault,display:i.Display.Flex,width:i.BlockSize.Full},e),o.default.createElement(s.Box,{display:i.Display.Flex,width:i.BlockSize.Full,flexDirection:i.FlexDirection.Row,gap:4},t&&o.default.createElement(s.Box,{display:i.Display.InlineFlex},t),o.default.createElement(s.Box,{display:i.Display.InlineFlex,width:i.BlockSize.Full,className:"activity-list-item__content-container"},o.default.createElement(s.Box,{display:i.Display.InlineFlex,width:[i.BlockSize.OneThird,i.BlockSize.SevenTwelfths],flexDirection:i.FlexDirection.Column,className:"activity-list-item__detail-container"},o.default.createElement(s.Text,{ellipsis:!0,textAlign:i.TextAlign.Left,variant:i.TextVariant.bodyLgMedium,fontWeight:i.FontWeight.Medium,"data-testid":"activity-list-item-action"},n),a&&o.default.createElement(s.Text,{as:"div",ellipsis:!0,textAlign:i.TextAlign.Left,variant:i.TextVariant.bodyMd,fontWeight:i.FontWeight.Normal},a),c&&o.default.createElement(s.Box,{className:"activity-list-item__children"},c)),l&&o.default.createElement(s.Box,{display:i.Display.InlineFlex,className:"activity-list-item__mid-content"},l),u&&o.default.createElement(s.Box,{display:i.Display.InlineFlex,width:i.BlockSize.Full,height:i.BlockSize.Min,flexDirection:i.FlexDirection.Column,alignItems:i.AlignItems.flexEnd,className:"activity-list-item__right-content"},u))))};n.ActivityListItem=c,c.propTypes={topContent:a.default.node,icon:a.default.node,title:a.default.oneOfType([a.default.string,a.default.node]),subtitle:a.default.node,midContent:a.default.node,children:a.default.node,rightContent:a.default.node,onClick:a.default.func,className:a.default.string,"data-testid":a.default.string}}}},{package:"$root$",file:"ui/components/multichain/activity-list-item/activity-list-item.js"}],[5036,{"./activity-list-item":5035},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"ActivityListItem",{enumerable:!0,get:function(){return o.ActivityListItem}});var o=e("./activity-list-item")}}},{package:"$root$",file:"ui/components/multichain/activity-list-item/index.js"}],[5037,{"../../../../shared/constants/time":4518,"../../../../shared/modules/hexstring-utils":4544,"../../../helpers/constants/design-system":5355,"../../../helpers/utils/util":5399,"../../../hooks/useCopyToClipboard":5417,"../../../hooks/useI18nContext":5427,"../../component-library":4955,"../../ui/tooltip/tooltip":5311,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.AddressCopyButton=void 0;var o=f(e("react")),a=f(e("prop-types")),r=f(e("classnames")),i=e("../../component-library"),s=e("../../../helpers/constants/design-system"),l=e("../../../hooks/useCopyToClipboard"),c=e("../../../helpers/utils/util"),u=f(e("../../ui/tooltip/tooltip")),d=e("../../../hooks/useI18nContext"),p=e("../../../../shared/constants/time"),m=e("../../../../shared/modules/hexstring-utils");function f(e){return e&&e.__esModule?e:{default:e}}const g=({address:e,shorten:t=!1,wrap:n=!1,onClick:a})=>{const f=(0,m.toChecksumHexAddress)(e),g=t?(0,c.shortenAddress)(f):f,[h,y]=(0,l.useCopyToClipboard)(p.MINUTE),b=(0,d.useI18nContext)();let v=b(h?"copiedExclamation":"copyToClipboard");return o.default.createElement(u.default,{position:"bottom",title:v},o.default.createElement(i.ButtonBase,{backgroundColor:s.BackgroundColor.primaryMuted,onClick:()=>{y(f),null==a||a()},paddingRight:4,paddingLeft:4,size:s.Size.SM,variant:s.TextVariant.bodySm,color:s.TextColor.primaryDefault,endIconName:h?i.IconName.CopySuccess:i.IconName.Copy,className:(0,r.default)("multichain-address-copy-button",{"multichain-address-copy-button__address--wrap":n}),borderRadius:s.BorderRadius.pill,alignItems:s.AlignItems.center,"data-testid":"address-copy-button-text"},o.default.createElement(i.Box,{display:s.Display.Flex},g)))};n.AddressCopyButton=g,g.propTypes={address:a.default.string.isRequired,shorten:a.default.bool,wrap:a.default.bool,onClick:a.default.func}}}},{package:"$root$",file:"ui/components/multichain/address-copy-button/address-copy-button.js"}],[5038,{"./address-copy-button":5037},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"AddressCopyButton",{enumerable:!0,get:function(){return o.AddressCopyButton}});var o=e("./address-copy-button")}}},{package:"$root$",file:"ui/components/multichain/address-copy-button/index.js"}],[5039,{"../../../helpers/constants/design-system":5355,"../../../helpers/utils/util":5399,"../../../selectors":5987,"../../component-library":4955,"../../ui/confusable":5207,"../../ui/tooltip":5310,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.AddressListItem=void 0;var o=d(e("react")),a=e("react-redux"),r=d(e("../../ui/confusable")),i=e("../../component-library"),s=e("../../../helpers/constants/design-system"),l=e("../../../selectors"),c=e("../../../helpers/utils/util"),u=d(e("../../ui/tooltip"));function d(e){return e&&e.__esModule?e:{default:e}}n.AddressListItem=({address:e,label:t,useConfusable:n=!1,onClick:d})=>{const p=(0,a.useSelector)(l.getUseBlockie);let m=(0,c.shortenAddress)(e);return t&&(m=t,n&&(m=o.default.createElement(r.default,{input:t}))),o.default.createElement(i.Box,{display:s.Display.Flex,padding:4,as:"button",onClick:e=>{e.stopPropagation(),d()},width:s.BlockSize.Full,backgroundColor:s.BackgroundColor.transparent,className:"address-list-item",alignItems:s.AlignItems.center},o.default.createElement(i.AvatarAccount,{borderColor:s.BorderColor.transparent,size:i.AvatarAccountSize.Md,address:e,variant:p?i.AvatarAccountVariant.Blockies:i.AvatarAccountVariant.Jazzicon,marginInlineEnd:2}),o.default.createElement(i.Box,{display:s.Display.Flex,flexDirection:s.FlexDirection.Column,style:{overflow:"hidden"}},o.default.createElement(i.Text,{variant:s.TextVariant.bodyMdMedium,padding:0,width:s.BlockSize.Full,textAlign:s.TextAlign.Left,className:"address-list-item__label","data-testid":"address-list-item-label"},m),o.default.createElement(i.Text,{variant:s.TextVariant.bodySm,color:s.TextColor.textAlternative,ellipsis:!0,"data-testid":"address-list-item-address",as:"div"},o.default.createElement(u.default,{title:e,position:"bottom"},(0,c.shortenAddress)(e)))))}}}},{package:"$root$",file:"ui/components/multichain/address-list-item/address-list-item.tsx"}],[5040,{"./address-list-item":5039},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"AddressListItem",{enumerable:!0,get:function(){return o.AddressListItem}});var o=e("./address-list-item")}}},{package:"$root$",file:"ui/components/multichain/address-list-item/index.ts"}],[5041,{"..":5092,"../../../../app/scripts/lib/util":120,"../../../../shared/constants/app":4493,"../../../../shared/constants/metametrics":4505,"../../../../shared/constants/time":4518,"../../../../shared/modules/hexstring-utils":4544,"../../../contexts/metametrics":5327,"../../../ducks/metamask/metamask":5346,"../../../ducks/send":5348,"../../../helpers/constants/design-system":5355,"../../../helpers/constants/routes":5361,"../../../helpers/utils/util":5399,"../../../hooks/useCopyToClipboard":5417,"../../../hooks/useI18nContext":5427,"../../../selectors":5987,"../../../store/actions":5998,"../../app/connected-status-indicator":4616,"../../component-library":4955,"../../ui/metafox-logo":5268,"../../ui/tooltip":5310,"../notifications-tag-counter":5140,"./multichain-meta-fox-logo":5043,classnames:3049,"prop-types":3997,react:4243,"react-redux":4199,"react-router-dom":4228,"webextension-polyfill":4472},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.AppHeader=void 0;var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=I(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}(e("react")),a=N(e("classnames")),r=N(e("prop-types")),i=N(e("webextension-polyfill")),s=e("react-redux"),l=e("react-router-dom"),c=e("../../../contexts/metametrics"),u=e("../../../../shared/constants/metametrics"),d=e("../../../helpers/constants/routes"),p=e("../../../helpers/constants/design-system"),m=e("../../component-library"),f=e("../../../selectors"),g=e(".."),h=e("../../../store/actions"),y=N(e("../../ui/metafox-logo")),b=e("../../../../app/scripts/lib/util"),v=e("../../../../shared/constants/app"),k=N(e("../../app/connected-status-indicator")),x=e("../../../hooks/useI18nContext"),T=e("../../../ducks/metamask/metamask"),C=e("../../../ducks/send"),w=N(e("../../ui/tooltip")),_=e("../../../hooks/useCopyToClipboard"),E=e("../../../../shared/constants/time"),M=e("../../../helpers/utils/util"),S=e("../../../../shared/modules/hexstring-utils"),O=e("../notifications-tag-counter"),A=e("./multichain-meta-fox-logo");function N(e){return e&&e.__esModule?e:{default:e}}function I(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(I=function(e){return e?n:t})(e)}const P=({location:e})=>{var t,n,r;const N=(0,o.useContext)(c.MetaMetricsContext),[I,P]=(0,o.useState)(!1),j=(0,o.useRef)(null),B=(0,s.useSelector)(f.getOriginOfCurrentTab),D=(0,l.useHistory)(),F=(0,s.useSelector)(T.getIsUnlocked),L=(0,x.useI18nContext)(),R=(0,s.useSelector)(f.getCurrentChainId),$=(0,s.useSelector)(f.getSelectedInternalAccount),z=$&&(0,M.shortenAddress)((0,S.toChecksumHexAddress)($.address)),W=(0,s.useDispatch)(),U=(0,s.useSelector)(f.getCurrentNetwork),V=(0,s.useSelector)(f.getTestNetworkBackgroundColor),H=null==$?void 0:$.address,G=(0,S.toChecksumHexAddress)(H),[q,K]=(0,_.useCopyToClipboard)(E.MINUTE),J=(0,b.getEnvironmentType)()===v.ENVIRONMENT_TYPE_POPUP,Y=(0,b.getEnvironmentType)()===v.ENVIRONMENT_TYPE_POPUP&&B&&B!==i.default.runtime.id,Q=(0,s.useSelector)(C.getSendStage),X=[C.SEND_STAGES.EDIT,C.SEND_STAGES.DRAFT,C.SEND_STAGES.ADD_RECIPIENT].includes(Q),Z=Boolean((0,l.matchPath)(e.pathname,{path:d.CONFIRM_TRANSACTION_ROUTE,exact:!1})),ee=Boolean((0,l.matchPath)(e.pathname,{path:d.SWAPS_ROUTE,exact:!1})),te=Boolean((0,l.matchPath)(e.pathname,{path:d.BUILD_QUOTE_ROUTE,exact:!1})),ne=(0,s.useSelector)(f.getUnapprovedTransactions),oe=Object.keys(ne).length>0,ae=Z||ee&&!te,re=ee||X||Z||oe,ie=(0,o.useCallback)((()=>{W((0,h.toggleNetworkMenu)()),N({event:u.MetaMetricsEventName.NavNetworkMenuOpened,category:u.MetaMetricsEventCategory.Navigation,properties:{location:"App header",chain_id:R}})}),[R,W,N]),se=()=>{N({event:u.MetaMetricsEventName.NavMainMenuOpened,category:u.MetaMetricsEventCategory.Navigation,properties:{location:"Home"}}),P(!0)},le=!J&&re?4:0;return o.default.createElement(o.default.Fragment,null,F&&!J?o.default.createElement(A.MultichainMetaFoxLogo,null):null,o.default.createElement(m.Box,{display:p.Display.Flex,className:(0,a.default)("multichain-app-header",{"multichain-app-header-shadow":!F||J}),marginBottom:le,alignItems:p.AlignItems.center,width:p.BlockSize.Full,backgroundColor:!F||J?p.BackgroundColor.backgroundDefault:p.BackgroundColor.backgroundAlternative},o.default.createElement(o.default.Fragment,null,F?o.default.createElement(m.Box,{className:(0,a.default)("multichain-app-header__contents",{"multichain-app-header-shadow":F&&!J}),alignItems:p.AlignItems.center,width:p.BlockSize.Full,backgroundColor:p.BackgroundColor.backgroundDefault,padding:2,paddingLeft:4,paddingRight:4,gap:2},J?o.default.createElement(m.Box,{className:"multichain-app-header__contents__container"},o.default.createElement(w.default,{title:null==U?void 0:U.nickname,position:"right"},o.default.createElement(m.PickerNetwork,{avatarNetworkProps:{backgroundColor:V,role:"img"},className:"multichain-app-header__contents--avatar-network",ref:j,as:"button",src:null==U||null===(t=U.rpcPrefs)||void 0===t?void 0:t.imageUrl,label:null==U?void 0:U.nickname,"aria-label":`${L("networkMenu")} ${null==U?void 0:U.nickname}`,labelProps:{display:p.Display.None},onClick:e=>{e.stopPropagation(),e.preventDefault(),ie()},display:[p.Display.Flex,p.Display.None],disabled:re}))):o.default.createElement("div",null,o.default.createElement(m.PickerNetwork,{avatarNetworkProps:{backgroundColor:V,role:"img"},margin:2,"aria-label":`${L("networkMenu")} ${null==U?void 0:U.nickname}`,label:null==U?void 0:U.nickname,src:null==U||null===(n=U.rpcPrefs)||void 0===n?void 0:n.imageUrl,onClick:e=>{e.stopPropagation(),e.preventDefault(),ie()},display:[p.Display.None,p.Display.Flex],className:"multichain-app-header__contents__network-picker",disabled:re,"data-testid":"network-display"})),$?o.default.createElement(m.Text,{as:"div",display:p.Display.Flex,flexDirection:p.FlexDirection.Column,alignItems:p.AlignItems.center,ellipsis:!0},o.default.createElement(g.AccountPicker,{address:$.address,name:$.metadata.name,onClick:()=>{W((0,h.toggleAccountMenu)()),N({event:u.MetaMetricsEventName.NavAccountMenuOpened,category:u.MetaMetricsEventCategory.Navigation,properties:{location:"Home"}})},disabled:ae,labelProps:{fontWeight:p.FontWeight.Bold},paddingLeft:2,paddingRight:2}),o.default.createElement(w.default,{position:"left",title:L(q?"addressCopied":"copyToClipboard")},o.default.createElement(m.ButtonBase,{className:"multichain-app-header__address-copy-button",onClick:()=>K(G),size:m.ButtonBaseSize.Sm,backgroundColor:p.BackgroundColor.transparent,borderRadius:p.BorderRadius.LG,endIconName:q?m.IconName.CopySuccess:m.IconName.Copy,endIconProps:{color:p.IconColor.iconAlternative,size:p.Size.SM},ellipsis:!0,textProps:{display:p.Display.Flex,alignItems:p.AlignItems.center,gap:2},style:{height:"auto"},"data-testid":"app-header-copy-button"},o.default.createElement(m.Text,{color:p.TextColor.textAlternative,variant:p.TextVariant.bodySm,ellipsis:!0,as:"span"},z)))):null,o.default.createElement(m.Box,{display:p.Display.Flex,alignItems:p.AlignItems.center,justifyContent:p.JustifyContent.flexEnd,style:{marginLeft:"auto"}},o.default.createElement(m.Box,{display:p.Display.Flex,gap:4},Y?o.default.createElement(m.Box,{ref:j},o.default.createElement(k.default,{onClick:()=>{D.push(`${d.CONNECTIONS}/${encodeURIComponent(B)}`)}})):null," ",o.default.createElement(m.Box,{ref:j,display:p.Display.Flex,justifyContent:p.JustifyContent.flexEnd,width:p.BlockSize.Full},!I&&o.default.createElement(m.Box,{style:{position:"relative"},onClick:()=>se()},o.default.createElement(O.NotificationsTagCounter,{noLabel:!0})),o.default.createElement(m.ButtonIcon,{iconName:m.IconName.MoreVertical,"data-testid":"account-options-menu-button",ariaLabel:L("accountOptions"),onClick:()=>se(),size:m.ButtonIconSize.Sm}))),o.default.createElement(g.GlobalMenu,{anchorElement:j.current,isOpen:I,closeMenu:()=>P(!1)}))):o.default.createElement(m.Box,{display:p.Display.Flex,className:(0,a.default)("multichain-app-header__lock-contents",{"multichain-app-header-shadow":F&&!J}),alignItems:p.AlignItems.center,width:p.BlockSize.Full,justifyContent:p.JustifyContent.spaceBetween,backgroundColor:p.BackgroundColor.backgroundDefault,padding:2,gap:2},o.default.createElement("div",null,o.default.createElement(m.PickerNetwork,{avatarNetworkProps:{backgroundColor:V,role:"img"},"aria-label":`${L("networkMenu")} ${null==U?void 0:U.nickname}`,label:null==U?void 0:U.nickname,src:null==U||null===(r=U.rpcPrefs)||void 0===r?void 0:r.imageUrl,onClick:e=>{e.stopPropagation(),e.preventDefault(),ie()},className:"multichain-app-header__contents__network-picker","data-testid":"network-display"})),o.default.createElement(y.default,{unsetIconHeight:!0,onClick:async()=>{D.push(d.DEFAULT_ROUTE)}})))))};n.AppHeader=P,P.propTypes={location:r.default.object}}}},{package:"$root$",file:"ui/components/multichain/app-header/app-header.js"}],[5042,{"./app-header":5041},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"AppHeader",{enumerable:!0,get:function(){return o.AppHeader}});var o=e("./app-header")}}},{package:"$root$",file:"ui/components/multichain/app-header/index.js"}],[5043,{"../../../helpers/constants/design-system":5355,"../../../helpers/constants/routes":5361,"../../component-library":4955,"../../ui/metafox-logo":5268,react:4243,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.MultichainMetaFoxLogo=void 0;var o=c(e("react")),a=e("react-router-dom"),r=e("../../../helpers/constants/routes"),i=e("../../../helpers/constants/design-system"),s=e("../../component-library"),l=c(e("../../ui/metafox-logo"));function c(e){return e&&e.__esModule?e:{default:e}}n.MultichainMetaFoxLogo=()=>{const e=(0,a.useHistory)();return o.default.createElement(s.Box,{display:[i.Display.None,i.Display.Flex],alignItems:i.AlignItems.center,margin:2,className:"multichain-app-header-logo","data-testid":"app-header-logo",justifyContent:i.JustifyContent.center},o.default.createElement(l.default,{unsetIconHeight:!0,onClick:async()=>e.push(r.DEFAULT_ROUTE)}))}}}},{package:"$root$",file:"ui/components/multichain/app-header/multichain-meta-fox-logo.js"}],[5044,{"../../../../../shared/constants/transaction":4520,"../../../../../shared/modules/conversion.utils":4537,"../../../../helpers/constants/common":5353,"../../../../helpers/constants/design-system":5355,"../../../../hooks/useCurrencyDisplay":5418,"../../../../hooks/useI18nContext":5427,"../../../../hooks/useTokenFiatAmount":5446,"../../../../hooks/useTokenTracker":5447,"../../../../selectors":5987,"../../../app/user-preferenced-currency-display":4880,"../../../component-library":4955,"../../../ui/currency-display":5209,"../utils":5057,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.AssetBalanceText=function({asset:e,balanceColor:t,error:n}){var b,k,x,T;const C=(0,h.useI18nContext)(),w=(0,a.useSelector)(l.getCurrentCurrency),_=(0,a.useSelector)(g.getIsFiatPrimary),{tokensWithBalances:E}=(0,p.useTokenTracker)({tokens:null!==(b=e.details)&&void 0!==b&&b.address&&!e.balance?[{address:e.details.address}]:[],address:undefined}),M=(0,y.hexToDecimal)(e.balance)||(null===(k=E[0])||void 0===k?void 0:k.string),S=(0,a.useSelector)(l.getSelectedAccountCachedBalance),O=(0,m.useCurrencyDisplay)(S,{numberOfDecimals:2,currency:w})[1].value,A=(0,f.useTokenFiatAmount)(null===(x=e.details)||void 0===x?void 0:x.address,M,undefined,0===Number(M)?{exchangeRate:Number.MIN_VALUE}:undefined,!0),N=e.type===c.AssetType.native?O:A,I={hideLabel:!0,textProps:{color:t,variant:u.TextVariant.bodySm},suffixProps:{color:t,variant:u.TextVariant.bodySm}},P=n?`. ${C(n)}`:"";if(e.type===c.AssetType.NFT){var j;const t=(0,y.hexToDecimal)(e.balance||"0x0");return o.default.createElement(r.Text,I.textProps,`${t} ${null===(j=C("1"===t?"token":"tokens"))||void 0===j?void 0:j.toLowerCase()}${P}`)}if(_)return o.default.createElement(d.default,v({},I,{currency:w,numberOfDecimals:2,displayValue:`${N}${P}`}));if(e.type===c.AssetType.native)return o.default.createElement(o.default.Fragment,null,o.default.createElement(i.default,v({},I,{value:e.balance,type:s.PRIMARY})),P?o.default.createElement(r.Text,{variant:u.TextVariant.bodySm,color:u.TextColor.errorDefault,"data-testid":"send-page-amount-error"},P):null);if(null!==(T=e.details)&&void 0!==T&&T.address)return o.default.createElement(i.default,v({},I,{displayValue:`${M||""}${P}`}));return null};var o=b(e("react")),a=e("react-redux"),r=e("../../../component-library"),i=b(e("../../../app/user-preferenced-currency-display")),s=e("../../../../helpers/constants/common"),l=e("../../../../selectors"),c=e("../../../../../shared/constants/transaction"),u=e("../../../../helpers/constants/design-system"),d=b(e("../../../ui/currency-display")),p=e("../../../../hooks/useTokenTracker"),m=e("../../../../hooks/useCurrencyDisplay"),f=e("../../../../hooks/useTokenFiatAmount"),g=e("../utils"),h=e("../../../../hooks/useI18nContext"),y=e("../../../../../shared/modules/conversion.utils");function b(e){return e&&e.__esModule?e:{default:e}}function v(){return v=Object.assign?Object.assign.bind():function(e){for(var t=1;t{var v,k;const x=(0,r.useSelector)(c.getSelectedInternalAccount),T=(0,i.useI18nContext)(),{swapQuotesError:C,sendAsset:w,receiveAsset:_}=(0,r.useSelector)(d.getCurrentDraftTransaction),E=!n,M=E&&C,S=(0,r.useSelector)(d.getSendMaxModeState),O=(0,r.useSelector)(d.getIsNativeSendPossible);(0,a.useEffect)((()=>{E||O||S&&n("0x0")}),[O]);const[A,N]=(0,a.useState)(!1),[I,P]=(0,a.useState)(!1),j=(0,a.useCallback)(((t,o)=>{I||e.type!==u.AssetType.NFT||P(!0),null==n||n(t,o)}),[n,I,e.type]);(0,a.useEffect)((()=>{P(!1)}),[e]);const{error:B}=t,D=B===p.NEGATIVE_OR_ZERO_AMOUNT_TOKENS_ERROR&&e.type===u.AssetType.NFT&&!I,F=B&&!D?B:undefined;(0,a.useEffect)((()=>{if(!e)throw new Error("No asset is drafted for sending")}),[x]);let L=l.BorderColor.borderMuted;E?M&&(L=l.BorderColor.errorDefault):F?L=l.BorderColor.errorDefault:A&&(L=l.BorderColor.primaryDefault);const R=w.type===u.AssetType.native&&_.type!==u.AssetType.native;return a.default.createElement(s.Box,{className:"asset-picker-amount"},a.default.createElement(s.Box,{onFocus:()=>N(!0),onBlur:()=>N(!1),display:l.Display.Flex,alignItems:l.AlignItems.center,backgroundColor:l.BackgroundColor.backgroundDefault,borderRadius:l.BorderRadius.LG,borderColor:L,borderStyle:l.BorderStyle.solid,borderWidth:1,marginBottom:1,padding:1,paddingTop:(null===(v=e.details)||void 0===v?void 0:v.standard)===u.TokenStandard.ERC721?4:1,paddingBottom:(null===(k=e.details)||void 0===k?void 0:k.standard)===u.TokenStandard.ERC721?4:1},a.default.createElement(f.AssetPicker,b({asset:e},y)),a.default.createElement(g.SwappableCurrencyInput,{onAmountChange:n?j:undefined,assetType:e.type,asset:e,amount:t,isAmountLoading:o})),a.default.createElement(s.Box,{display:l.Display.Flex},n&&a.default.createElement(h.AssetBalance,{asset:e,error:F}),M&&a.default.createElement(s.Text,{variant:l.TextVariant.bodySm,color:l.TextColor.errorDefault},T(C)),n&&O&&!R&&a.default.createElement(m.default,{asset:e})))}}}},{package:"$root$",file:"ui/components/multichain/asset-picker-amount/asset-picker-amount.tsx"}],[5047,{"../../../../../shared/modules/string-utils":4558,"../../../../ducks/locale/locale":5345,"../../../../hooks/useTokenFiatAmount":5446,"../../../../pages/confirmations/components/simulation-details/formatAmount":5615,"../../../../selectors":5987,"../../token-list-item":5185,"bignumber.js":2933,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function({address:e,image:t,symbol:n,decimalTokenAmount:o,tooltipText:m}){const f=(0,r.useSelector)(p.getIntlLocale),g=(0,r.useSelector)(s.getTokenList),h=e?Object.values(g).find((t=>(0,u.isEqualCaseInsensitive)(t.symbol,n)&&(0,u.isEqualCaseInsensitive)(t.address,e))):undefined,y=(null==h?void 0:h.name)||n,b=(null==h?void 0:h.iconUrl)||t,v=(0,l.useTokenFiatAmount)(e??undefined,o,n,{},!0);return a.default.createElement(c.TokenListItem,{tokenSymbol:n,tokenImage:b,primary:(0,d.formatAmount)(f,new i.BigNumber(o||"0",10)),secondary:v,title:y,tooltipText:m})};var o,a=(o=e("react"))&&o.__esModule?o:{default:o},r=e("react-redux"),i=e("bignumber.js"),s=e("../../../../selectors"),l=e("../../../../hooks/useTokenFiatAmount"),c=e("../../token-list-item"),u=e("../../../../../shared/modules/string-utils"),d=e("../../../../pages/confirmations/components/simulation-details/formatAmount"),p=e("../../../../ducks/locale/locale")}}},{package:"$root$",file:"ui/components/multichain/asset-picker-amount/asset-picker-modal/Asset.tsx"}],[5048,{"../..":5092,"../../../../../shared/constants/transaction":4520,"../../../../../shared/modules/string-utils":4558,"../../../../ducks/metamask/metamask":5346,"../../../../helpers/constants/common":5353,"../../../../helpers/constants/design-system":5355,"../../../../hooks/useCurrencyDisplay":5418,"../../../../hooks/useUserPreferencedCurrency":5452,"../../../../selectors":5987,"../../../component-library":4955,"./Asset":5047,classnames:3049,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function({handleAssetChange:e,asset:t,tokenList:n,sendingAssetSymbol:y,memoizedSwapsBlockedTokens:v}){var k;const x=null===(k=t.details)||void 0===k?void 0:k.address,T=(0,a.useSelector)(s.getNativeCurrency),C=(0,a.useSelector)(i.getSelectedAccountCachedBalance),{currency:w,numberOfDecimals:_}=(0,l.useUserPreferencedCurrency)(c.PRIMARY,{ethNumberOfDecimals:4}),{currency:E,numberOfDecimals:M}=(0,l.useUserPreferencedCurrency)(c.SECONDARY,{ethNumberOfDecimals:4}),[,S]=(0,u.useCurrencyDisplay)(C,{numberOfDecimals:_,currency:w}),[O,A]=(0,u.useCurrencyDisplay)(C,{numberOfDecimals:M,currency:E,hideLabel:!0});return o.default.createElement(p.Box,{className:"tokens-main-view-modal"},n.map((t=>{var n;const a=null===(n=t.address)||void 0===n?void 0:n.toLowerCase(),i=a===(null==x?void 0:x.toLowerCase()),s=!!y&&(!(0,g.isEqualCaseInsensitive)(y,t.symbol)&&v.has(a));return o.default.createElement(p.Box,{padding:0,gap:0,margin:0,key:t.symbol,backgroundColor:i?m.BackgroundColor.primaryMuted:m.BackgroundColor.transparent,className:(0,r.default)("multichain-asset-picker-list-item",{"multichain-asset-picker-list-item--selected":i,"multichain-asset-picker-list-item--disabled":s}),"data-testid":"asset-list-item",onClick:()=>{s||e(t)}},i?o.default.createElement(p.Box,{className:"multichain-asset-picker-list-item__selected-indicator",borderRadius:m.BorderRadius.pill,backgroundColor:m.BackgroundColor.primaryDefault}):null,o.default.createElement(p.Box,{key:t.address,padding:0,display:m.Display.Block,flexWrap:m.FlexWrap.NoWrap,alignItems:m.AlignItems.center,style:{cursor:"pointer"}},o.default.createElement(p.Box,{marginInlineStart:2},t.type===d.AssetType.native?o.default.createElement(f.TokenListItem,{title:T,primary:S.value??A.value,tokenSymbol:S.suffix,secondary:O,tokenImage:t.image}):o.default.createElement(h.default,b({key:t.address},t,{decimalTokenAmount:t.string,tooltipText:s?"swapTokenNotAvailable":undefined})))))})))};var o=y(e("react")),a=e("react-redux"),r=y(e("classnames")),i=e("../../../../selectors"),s=e("../../../../ducks/metamask/metamask"),l=e("../../../../hooks/useUserPreferencedCurrency"),c=e("../../../../helpers/constants/common"),u=e("../../../../hooks/useCurrencyDisplay"),d=e("../../../../../shared/constants/transaction"),p=e("../../../component-library"),m=e("../../../../helpers/constants/design-system"),f=e("../.."),g=e("../../../../../shared/modules/string-utils"),h=y(e("./Asset"));function y(e){return e&&e.__esModule?e:{default:e}}function b(){return b=Object.assign?Object.assign.bind():function(e){for(var t=1;t0,R=Object.keys(D),$=R.reduce(((e,t)=>{var n;const o=D[t];return(null===(n=o.collectionName)||void 0===n?void 0:n.toLowerCase().includes(j.toLowerCase()))?(e.push(o),e):e}),[]).filter((e=>e.nfts.length>0)),z=(0,a.useSelector)(T.getSwapsBlockedTokens),W=(0,o.useMemo)((()=>new Set(z)),[z]),U=M&&O,V=(0,o.useCallback)((e=>{E(e),I({event:k.MetaMetricsEventName.sendAssetSelected,category:k.MetaMetricsEventCategory.Send,properties:{...P,is_destination_asset_picker_modal:Boolean(U),new_asset_symbol:e.symbol,new_asset_address:e.address,is_nft:!1}}),t()}),[E]),H=(null==n?void 0:n.type)===d.AssetType.NFT?"nfts":"tokens",G=(0,a.useSelector)(f.getCurrentChainId),q=(0,a.useSelector)(f.getNativeCurrencyImage),K=(0,a.useSelector)(g.getNativeCurrency),J=(0,a.useSelector)(f.getSelectedAccountCachedBalance),Y=(0,a.useSelector)(f.getTokenExchangeRates,r.isEqual),Q=(0,a.useSelector)(g.getConversionRate),X=(0,a.useSelector)(f.getCurrentCurrency),{address:Z}=(0,a.useSelector)(f.getSelectedInternalAccount),ee=(0,a.useSelector)(f.getShouldHideZeroBalanceTokens),te=(0,a.useSelector)(f.getUseNftDetection),ne=(0,a.useSelector)(f.getIsMainnet),oe=(0,a.useSelector)(f.getAllTokens),ae=(null==oe||null===(A=oe[G])||void 0===A?void 0:A[Z])??[],{tokensWithBalances:re}=(0,h.useTokenTracker)({tokens:ae,address:Z,hideZeroBalanceTokens:Boolean(ee)}),ie=(0,a.useSelector)(f.getTokenList),se=(0,a.useSelector)(y.getTopAssets,r.isEqual),le=(0,r.uniqBy)([...re,...ae],"address"),ce=(0,v.useEqualityCheck)(le),ue=(0,o.useMemo)((()=>{const e={address:null,symbol:K,decimals:18,image:q,balance:J,type:d.AssetType.native},t=[],n=new Set,o=({address:e,symbol:t})=>!!O&&(!(0,w.isEqualCaseInsensitive)(O,t)&&W.has(e||""));let a;for(a of function*(){yield e;const t=[];for(const e of ce)yield e;for(const e of Object.keys(se)){const n=null==ie?void 0:ie[e];if(n){if(U&&o(n)){t.push(n);continue}yield n}}for(const e of Object.values(ie))yield e;for(const e of t)yield e}()){var r,i,s;if(null!==(r=a.symbol)&&void 0!==r&&r.toLowerCase().includes(j.toLowerCase())&&!n.has(null===(i=a.address)||void 0===i?void 0:i.toLowerCase()))n.add(null===(s=a.address)||void 0===s?void 0:s.toLowerCase()),t.push((0,b.getRenderableTokenData)(a.address?{...a,...ie[a.address.toLowerCase()],type:d.AssetType.token}:a,Y,Q,X,G,ie));if(t.length>S)break}return t}),[ce,se,j,K,q,J,Y,Q,X,G,ie,O]),de=(0,o.useCallback)((({isNFTSearch:e=!1})=>o.default.createElement(l.Box,{padding:1,paddingLeft:4,paddingRight:4},o.default.createElement(l.TextFieldSearch,{borderRadius:c.BorderRadius.LG,placeholder:N(e?"searchNfts":"searchTokens"),value:j,onChange:e=>B(e.target.value),error:!1,autoFocus:!0,autoComplete:!1,width:c.BlockSize.Full,clearButtonOnClick:()=>B(""),clearButtonProps:{size:l.ButtonIconSize.Sm},showClearButton:!0,className:"asset-picker-modal__search-list",inputProps:{"data-testid":"asset-picker-modal-search-input"},endAccessory:null,size:l.TextFieldSearchSize.Lg,marginBottom:1}))),[j]);return o.default.createElement(l.Modal,{className:"asset-picker-modal",isOpen:e,onClose:t,"data-testid":"asset-picker-modal"},o.default.createElement(l.ModalOverlay,null),o.default.createElement(l.ModalContent,{modalDialogProps:{padding:0}},o.default.createElement(l.ModalHeader,{onClose:t},o.default.createElement(l.Text,{variant:c.TextVariant.headingSm,textAlign:c.TextAlign.Center},N(U?"sendSelectReceiveAsset":"sendSelectSendAsset"))),U&&o.default.createElement(l.Box,{display:c.Display.Flex,gap:1,alignItems:c.AlignItems.center,marginInline:"auto",marginBottom:4},o.default.createElement(l.AvatarToken,{borderRadius:c.BorderRadius.full,src:M,size:l.AvatarTokenSize.Xs}),o.default.createElement(l.Text,{variant:c.TextVariant.bodySm},N("sendingAsset",[O]))),o.default.createElement(l.Box,{className:"modal-tab__wrapper"},U?o.default.createElement(o.default.Fragment,null,o.default.createElement(de,null),o.default.createElement(_.default,{handleAssetChange:V,asset:n,tokenList:ue,sendingAssetSymbol:O,memoizedSwapsBlockedTokens:W})):o.default.createElement(i.Tabs,{defaultActiveTabKey:H,tabsClassName:"modal-tab__tabs"},o.default.createElement(i.Tab,{activeClassName:"modal-tab__tab--active",className:"modal-tab__tab",name:N("tokens"),tabKey:"tokens"},o.default.createElement(de,null),o.default.createElement(_.default,{handleAssetChange:V,asset:n,tokenList:ue,memoizedSwapsBlockedTokens:W})),o.default.createElement(i.Tab,{activeClassName:"modal-tab__tab--active",className:"modal-tab__tab",name:N("nfts"),tabKey:"nfts"},L?o.default.createElement(l.Box,{className:"modal-tab__main-view"},o.default.createElement(de,{isNFTSearch:!0}),o.default.createElement(s.default,{collections:$,previouslyOwnedCollection:F,isModal:!0,onCloseModal:()=>t(),showTokenId:!0,displayPreviouslyOwnedCollection:!1})):o.default.createElement(o.default.Fragment,null,ne&&!te&&o.default.createElement(l.Box,{paddingTop:4,paddingInlineStart:4,paddingInlineEnd:4},o.default.createElement(C.default,null)),o.default.createElement(l.Box,{padding:12,display:c.Display.Flex,flexDirection:c.FlexDirection.Column,alignItems:c.AlignItems.center,justifyContent:c.JustifyContent.center},o.default.createElement(l.Box,{justifyContent:c.JustifyContent.center},o.default.createElement("img",{src:"./images/no-nfts.svg"})),o.default.createElement(l.Box,{display:c.Display.Flex,justifyContent:c.JustifyContent.center,alignItems:c.AlignItems.center,flexDirection:c.FlexDirection.Column,className:"nfts-tab__link"},o.default.createElement(l.Text,{color:c.TextColor.textMuted,variant:c.TextVariant.headingSm,textAlign:c.TextAlign.Center,as:"h4"},N("noNFTs")),o.default.createElement(l.ButtonLink,{size:l.ButtonLinkSize.Sm,href:m.default.NFT_TOKENS,externalLink:!0},N("learnMoreUpperCase"))))))))))};var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=M(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}(e("react")),a=e("react-redux"),r=e("lodash"),i=e("../../../ui/tabs"),s=E(e("../../../app/nfts-items/nfts-items")),l=e("../../../component-library"),c=e("../../../../helpers/constants/design-system"),u=e("../../../../hooks/useI18nContext"),d=e("../../../../../shared/constants/transaction"),p=e("../../../../hooks/useNftsCollections"),m=E(e("../../../../helpers/constants/zendesk-url")),f=e("../../../../selectors"),g=e("../../../../ducks/metamask/metamask"),h=e("../../../../hooks/useTokenTracker"),y=e("../../../../ducks/swaps/swaps"),b=e("../../../../hooks/useTokensToSearch"),v=e("../../../../hooks/useEqualityCheck"),k=e("../../../../../shared/constants/metametrics"),x=e("../../../../contexts/metametrics"),T=e("../../../../ducks/send"),C=E(e("../../../app/nfts-detection-notice-nfts-tab/nfts-detection-notice-nfts-tab")),w=e("../../../../../shared/modules/string-utils"),_=E(e("./AssetList"));function E(e){return e&&e.__esModule?e:{default:e}}function M(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(M=function(e){return e?n:t})(e)}const S=30}}},{package:"$root$",file:"ui/components/multichain/asset-picker-amount/asset-picker-modal/asset-picker-modal.tsx"}],[5050,{"../../../../../shared/constants/metametrics":4505,"../../../../../shared/constants/transaction":4520,"../../../../contexts/metametrics":5327,"../../../../ducks/metamask/metamask":5346,"../../../../ducks/send":5348,"../../../../helpers/constants/design-system":5355,"../../../../helpers/utils/util":5399,"../../../../hooks/useI18nContext":5427,"../../../../pages/confirmations/send/send.utils":5722,"../../../../selectors":5987,"../../../component-library":4955,"../../../ui/tooltip":5310,"../asset-picker-modal/asset-picker-modal":5049,"../constants":5051,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.AssetPicker=function({asset:e,onAssetChange:t,sendingAsset:n,isDisabled:o=!1}){var k,C,w,_;const E=(0,h.useI18nContext)(),M=(0,a.useContext)(y.MetaMetricsContext),S=(0,r.useSelector)(s.getSendAnalyticProperties),O=(0,r.useSelector)(d.getNativeCurrency),A=(0,r.useSelector)(p.getNativeCurrencyImage),N=(0,r.useSelector)(p.getTokenList),I=(0,r.useSelector)(p.getIpfsGateway),[P,j]=(0,a.useState)(!1);let B,D;if(e.type===c.AssetType.native)B=A;else if(N&&e.details){var F,L,R;B=(0,g.getAssetImageURL)(null===(F=e.details)||void 0===F?void 0:F.image,I)||(null===(L=N[null===(R=e.details.address)||void 0===R?void 0:R.toLowerCase()])||void 0===L?void 0:L.iconUrl)}if(n)if(n.type===c.AssetType.native)D=A;else if(N&&n.details){var $,z,W;D=(0,g.getAssetImageURL)(null===($=n.details)||void 0===$?void 0:$.image,I)||(null===(z=N[null===(W=n.details.address)||void 0===W?void 0:W.toLowerCase()])||void 0===z?void 0:z.iconUrl)}const U=e.type===c.AssetType.native?O:null===(k=e.details)||void 0===k?void 0:k.symbol,V=(null==U?void 0:U.length)>f.LARGE_SYMBOL_LENGTH,H=e.type===c.AssetType.NFT,G=V&&!H?`${U.substring(0,f.LARGE_SYMBOL_LENGTH-1)}...`:U,q=(0,r.useSelector)(p.getCurrentNetwork),K=(0,r.useSelector)(p.getTestNetworkBackgroundColor);return a.default.createElement(a.default.Fragment,null,a.default.createElement(u.AssetPickerModal,{isOpen:P,onClose:()=>j(!1),asset:e,onAssetChange:t,sendingAssetImage:D,sendingAssetSymbol:(null==n||null===(C=n.details)||void 0===C?void 0:C.symbol)||O}),a.default.createElement(i.Button,{"data-testid":"asset-picker-button",className:"asset-picker",disabled:o,display:l.Display.Flex,alignItems:l.AlignItems.center,gap:2,padding:2,paddingLeft:2,paddingRight:2,justifyContent:H?l.JustifyContent.spaceBetween:undefined,backgroundColor:l.BackgroundColor.transparent,onClick:()=>{j(!0),M({event:b.MetaMetricsEventName.sendTokenModalOpened,category:b.MetaMetricsEventCategory.Send,properties:{...S,is_destination_asset_picker_modal:Boolean(n)}})},endIconName:i.IconName.ArrowDown,endIconProps:{color:l.IconColor.iconDefault,marginInlineStart:0,display:o?l.Display.None:l.Display.InlineBlock},title:o?E("swapTokenNotAvailable"):undefined},a.default.createElement(i.Box,{display:l.Display.Flex,alignItems:l.AlignItems.center,gap:3},a.default.createElement(i.Box,{display:l.Display.Flex},a.default.createElement(i.BadgeWrapper,{badge:a.default.createElement(i.AvatarNetwork,{size:i.AvatarNetworkSize.Xs,name:null==q?void 0:q.nickname,src:null==q||null===(w=q.rpcPrefs)||void 0===w?void 0:w.imageUrl,backgroundColor:K,borderColor:B?l.BorderColor.borderMuted:l.BorderColor.borderDefault})},a.default.createElement(i.AvatarToken,x({borderRadius:H?l.BorderRadius.LG:l.BorderRadius.full,src:B,size:i.AvatarTokenSize.Md,showHalo:!H,name:U},H&&{backgroundColor:l.BackgroundColor.transparent})))),a.default.createElement(m.default,{disabled:!V,title:U,position:"bottom"},a.default.createElement(i.Text,{className:"asset-picker__symbol",variant:l.TextVariant.bodyMd},G),(null===(_=e.details)||void 0===_?void 0:_.tokenId)&&a.default.createElement(i.Text,{variant:l.TextVariant.bodySm,color:l.TextColor.textAlternative},"#",String(e.details.tokenId).length{f({event:'Clicked "Amount Max"',category:s.MetaMetricsEventCategory.Transactions,properties:{...g,action:"Edit Screen",legacy_event:!0}}),m((0,r.toggleSendMaxMode)())},marginLeft:"auto",textProps:{variant:u.TextVariant.bodySm},"data-testid":"max-clear-button"},t(n?"clear":"max"))};var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=m(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}(e("react")),a=e("react-redux"),r=e("../../../ducks/send"),i=e("../../../contexts/metametrics"),s=e("../../../../shared/constants/metametrics"),l=e("../../component-library"),c=e("../../../hooks/useI18nContext"),u=e("../../../helpers/constants/design-system"),d=e("../../../../shared/constants/transaction"),p=e("../../../../shared/modules/conversion.utils");function m(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(m=function(e){return e?n:t})(e)}}}},{package:"$root$",file:"ui/components/multichain/asset-picker-amount/max-clear-button.tsx"}],[5054,{"../../../../../shared/modules/Numeric":4533,"../../../ui/unit-input":5316,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.NFTInput=function({integerValue:e,onChange:t,className:n}){return o.default.createElement(a.default,{isDisabled:!t,isFocusOnInput:Boolean(t),type:"number",step:1,min:0,dataTestId:"nft-input",onChange:e=>{if(!t)return;const n=new r.Numeric(e,10);Number.isInteger(n.toNumber())&&t(n.toPrefixedHexString(),String(e))},value:e,className:n,keyPressRegex:s})};var o=i(e("react")),a=i(e("../../../ui/unit-input")),r=e("../../../../../shared/modules/Numeric");function i(e){return e&&e.__esModule?e:{default:e}}const s=/^[0-9]*$/u}}},{package:"$root$",file:"ui/components/multichain/asset-picker-amount/nft-input/nft-input.tsx"}],[5055,{"../../../../helpers/constants/design-system":5355,"../../../../hooks/useI18nContext":5427,"../../../component-library":4955,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function({onClick:e}){const t=(0,s.useI18nContext)();return a.default.createElement(i.ButtonIcon,{backgroundColor:r.BackgroundColor.transparent,iconName:i.IconName.SwapVertical,size:i.ButtonIconSize.Sm,color:r.IconColor.primaryDefault,onClick:e,ariaLabel:t("switchInputCurrency"),className:"asset-picker-amount__input__swap"})};var o,a=(o=e("react"))&&o.__esModule?o:{default:o},r=e("../../../../helpers/constants/design-system"),i=e("../../../component-library"),s=e("../../../../hooks/useI18nContext")}}},{package:"$root$",file:"ui/components/multichain/asset-picker-amount/swappable-currency-input/swap-icon.tsx"}],[5056,{"../../../../../shared/constants/transaction":4520,"../../../../ducks/app/app":5336,"../../../../ducks/send":5348,"../../../../helpers/constants/design-system":5355,"../../../../hooks/useI18nContext":5427,"../../../app/currency-input":4626,"../../../component-library":4955,"../nft-input/nft-input":5054,"../utils":5057,"./swap-icon":5055,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.SwappableCurrencyInput=function({assetType:e,asset:t,amount:{value:n},isAmountLoading:g,onAmountChange:h}){var y,b;const v=(0,a.useDispatch)(),k=(0,r.useI18nContext)(),x=(0,a.useSelector)(p.getIsFiatPrimary),T=(0,a.useSelector)(i.getSendMaxModeState),C=o.default.createElement(d.default,{className:"asset-picker-amount__input",isFiatPreferred:x,onChange:h,hexValue:n,swapIcon:e=>o.default.createElement(f.default,{onClick:e}),onPreferenceToggle:(0,o.useCallback)((()=>v((0,s.toggleCurrencySwitch)())),[v]),asset:null==t?void 0:t.details,isSkeleton:g,isMatchingUpstream:T}),w=o.default.createElement(m.NFTInput,{integerValue:parseInt(n,16),onChange:h,className:"asset-picker-amount__input-nft"});switch(e){case l.AssetType.token:case l.AssetType.native:return C;case l.AssetType.NFT:return(null===(y=t.details)||void 0===y?void 0:y.standard)===l.TokenStandard.ERC721?null:w}return o.default.createElement(c.Box,{marginLeft:"auto"},o.default.createElement(c.Text,{variant:u.TextVariant.bodySm},k("tokenId")),o.default.createElement(c.Text,{variant:u.TextVariant.bodySm,fontWeight:u.FontWeight.Bold,marginLeft:10},null==t||null===(b=t.details)||void 0===b?void 0:b.tokenId))};var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=h(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}(e("react")),a=e("react-redux"),r=e("../../../../hooks/useI18nContext"),i=e("../../../../ducks/send"),s=e("../../../../ducks/app/app"),l=e("../../../../../shared/constants/transaction"),c=e("../../../component-library"),u=e("../../../../helpers/constants/design-system"),d=g(e("../../../app/currency-input")),p=e("../utils"),m=e("../nft-input/nft-input"),f=g(e("./swap-icon"));function g(e){return e&&e.__esModule?e:{default:e}}function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(h=function(e){return e?n:t})(e)}}}},{package:"$root$",file:"ui/components/multichain/asset-picker-amount/swappable-currency-input/swappable-currency-input.tsx"}],[5057,{reselect:4269},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.getIsFiatPrimary=void 0;var o=e("reselect");n.getIsFiatPrimary=(0,o.createSelector)((e=>e.metamask.preferences),(e=>e.appState.sendInputCurrencySwitched),(({useNativeCurrencyAsPrimaryCurrency:e},t)=>Boolean(e&&t||!e&&!t)))}}},{package:"$root$",file:"ui/components/multichain/asset-picker-amount/utils.ts"}],[5058,{"../../../helpers/constants/design-system":5355,"../../../selectors":5987,"../../component-library":4955,"./avatar-group.types":5059,classnames:3049,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.AvatarGroup=void 0;var o,a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=d(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}(e("react")),r=(o=e("classnames"))&&o.__esModule?o:{default:o},i=e("react-redux"),s=e("../../../selectors"),l=e("../../component-library"),c=e("../../../helpers/constants/design-system"),u=e("./avatar-group.types");function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(d=function(e){return e?n:t})(e)}n.AvatarGroup=({className:e="",limit:t=4,members:n=[],size:o=l.AvatarTokenSize.Xs,avatarType:d=u.AvatarType.TOKEN,borderColor:p})=>{const m=n.length,f=n.slice(0,t).reverse(),g=m>t,h=(0,i.useSelector)(s.getUseBlockie);let y="";y=l.AvatarTokenSize.Xs?"-8px":l.AvatarTokenSize.Sm?"-12px":"-16px";const b=`+${(m-t).toLocaleString()}`;return a.createElement(l.Box,{alignItems:c.AlignItems.center,display:c.Display.Flex,className:(0,r.default)("multichain-avatar-group",e),"data-testid":"avatar-group",gap:1},a.createElement(l.Box,{display:c.Display.Flex},f.map(((e,t)=>a.createElement(l.Box,{borderRadius:c.BorderRadius.full,key:t,style:{marginLeft:0===t?"0":y}},d===u.AvatarType.TOKEN?a.createElement(l.AvatarToken,{src:e.avatarValue,name:e.symbol,size:o,borderColor:p}):a.createElement(l.AvatarAccount,{size:l.AvatarAccountSize.Xs,address:e.avatarValue,variant:h?l.AvatarAccountVariant.Blockies:l.AvatarAccountVariant.Jazzicon,borderColor:p}))))),g?a.createElement(l.Box,null,a.createElement(l.Text,{variant:c.TextVariant.bodySm,color:c.TextColor.textAlternative},b)):null)}}}},{package:"$root$",file:"ui/components/multichain/avatar-group/avatar-group.tsx"}],[5059,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.AvatarType=void 0;n.AvatarType=function(e){return e.TOKEN="TOKEN",e.ACCOUNT="ACCOUNT",e}({})}}},{package:"$root$",file:"ui/components/multichain/avatar-group/avatar-group.types.tsx"}],[5060,{"./avatar-group":5058},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"AvatarGroup",{enumerable:!0,get:function(){return o.AvatarGroup}});var o=e("./avatar-group")}}},{package:"$root$",file:"ui/components/multichain/avatar-group/index.ts"}],[5061,{"../../../helpers/constants/design-system":5355,"../../../selectors":5987,"../../component-library":4955,"../../ui/tooltip":5310,classnames:3049,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.BadgeStatus=void 0;var o=u(e("react")),a=u(e("classnames")),r=e("react-redux"),i=e("../../../helpers/constants/design-system"),s=e("../../component-library"),l=e("../../../selectors"),c=u(e("../../ui/tooltip"));function u(e){return e&&e.__esModule?e:{default:e}}function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const g=(0,r.useSelector)(l.getUseBlockie);return o.default.createElement(s.Box,d({className:(0,a.default)("multichain-badge-status",e),"data-testid":"multichain-badge-status",as:"button",display:i.Display.Flex,alignItems:i.AlignItems.center,justifyContent:i.JustifyContent.center,backgroundColor:i.BackgroundColor.transparent},f),o.default.createElement(c.default,{style:{display:"flex"},title:m,"data-testid":"multichain-badge-status__tooltip",position:"bottom"},o.default.createElement(s.BadgeWrapper,{positionObj:p?{bottom:2,right:5}:{bottom:-1,right:2},badge:o.default.createElement(s.Box,{className:(0,a.default)("multichain-badge-status__badge",{"multichain-badge-status__badge-not-connected":p}),backgroundColor:t,borderRadius:i.BorderRadius.full,borderColor:n,borderWidth:p?2:4})},o.default.createElement(s.AvatarAccount,{borderColor:i.BorderColor.transparent,size:s.AvatarAccountSize.Md,address:u,variant:g?s.AvatarAccountVariant.Blockies:s.AvatarAccountVariant.Jazzicon,marginInlineEnd:2}))))}}}},{package:"$root$",file:"ui/components/multichain/badge-status/badge-status.tsx"}],[5062,{"./badge-status":5061},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"BadgeStatus",{enumerable:!0,get:function(){return o.BadgeStatus}});var o=e("./badge-status")}}},{package:"$root$",file:"ui/components/multichain/badge-status/index.ts"}],[5063,{"..":5092,"../../../helpers/constants/design-system":5355,"../../../helpers/utils/util":5399,"../../../hooks/useI18nContext":5427,"../../../store/actions":5998,"../../component-library":4955,"../../ui/tooltip/tooltip":5311,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.ConnectAccountsModalList=void 0;var o=p(e("react")),a=e("react-redux"),r=e("../../component-library"),i=e("../../../hooks/useI18nContext"),s=e(".."),l=e("../../../helpers/constants/design-system"),c=p(e("../../ui/tooltip/tooltip")),u=e("../../../helpers/utils/util"),d=e("../../../store/actions");function p(e){return e&&e.__esModule?e:{default:e}}n.ConnectAccountsModalList=({onClose:e,allAreSelected:t,deselectAll:n,selectAll:p,handleAccountClick:m,selectedAccounts:f,accounts:g,checked:h,isIndeterminate:y,onAccountsUpdate:b,activeTabOrigin:v})=>{const k=(0,i.useI18nContext)(),x=(0,a.useDispatch)();return o.default.createElement(r.Modal,{isOpen:!0,onClose:e,"data-testid":"connect-more-accounts"},o.default.createElement(r.ModalOverlay,null),o.default.createElement(r.ModalContent,null,o.default.createElement(r.ModalHeader,{"data-testid":"connect-more-accounts-title",onClose:e},k("connectMoreAccounts")),o.default.createElement(r.ModalBody,null,o.default.createElement(r.Box,{padding:4,display:l.Display.Flex,justifyContent:l.JustifyContent.spaceBetween},o.default.createElement(r.Checkbox,{label:k("selectAll"),isChecked:h,onClick:()=>t()?n():p(),isIndeterminate:y}),o.default.createElement(r.Text,{color:l.TextColor.textAlternative,as:"div",display:l.Display.Flex},o.default.createElement(c.default,{distance:10,html:k("connectedAccountsListTooltip",[o.default.createElement("strong",null,(0,u.getURLHost)(v))]),position:"top"},o.default.createElement(r.Icon,{marginInlineEnd:2,name:r.IconName.Info,color:l.IconColor.iconMuted})),k("permissions"))),g.map((t=>{const n=f.includes(t.address);return o.default.createElement(s.AccountListItem,{onClick:()=>m(t.address),account:t,key:t.address,closeMenu:e,startAccessory:o.default.createElement(r.Checkbox,{isChecked:n})})}))),o.default.createElement(r.ModalFooter,null,o.default.createElement(r.ButtonPrimary,{"data-testid":"connect-more-accounts-button",onClick:()=>{x((0,d.addMorePermittedAccounts)(v,f)),e(),b()},size:r.ButtonPrimarySize.Lg,block:!0,disabled:0===f.length},k("confirm")))))}}}},{package:"$root$",file:"ui/components/multichain/connect-accounts-modal/connect-accounts-modal-list.tsx"}],[5064,{"../../../selectors/selectors":5994,"./connect-accounts-modal-list":5063,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.ConnectAccountsModal=void 0;var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=s(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}(e("react")),a=e("react-redux"),r=e("../../../selectors/selectors"),i=e("./connect-accounts-modal-list");function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(s=function(e){return e?n:t})(e)}n.ConnectAccountsModal=({onClose:e,onAccountsUpdate:t,activeTabOrigin:n})=>{const s=(0,a.useSelector)((e=>(0,r.getUnconnectedAccounts)(e,n))),[l,c]=(0,o.useState)([]),u=()=>s.length===l.length;let d=!1,p=!1;return u()?(d=!0,p=!1):l.length>0&&!u()&&(d=!1,p=!0),o.default.createElement(i.ConnectAccountsModalList,{accounts:s,selectedAccounts:l,allAreSelected:u,deselectAll:()=>{c([])},selectAll:()=>{const e=s.map((e=>e.address));c(e)},handleAccountClick:e=>{const t=l.indexOf(e);let n=[];n=-1===t?[...l,e]:l.filter(((e,n)=>n!==t)),c(n)},checked:d,isIndeterminate:p,onClose:e,onAccountsUpdate:t,activeTabOrigin:n})}}}},{package:"$root$",file:"ui/components/multichain/connect-accounts-modal/connect-accounts-modal.tsx"}],[5065,{"../../../helpers/constants/design-system":5355,"../../../hooks/useI18nContext":5427,"../../../selectors":5987,"../../../store/actions":5998,"../../component-library":4955,"../../ui/menu":5264,"../permission-details-modal/permission-details-modal":5175,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.ConnectedAccountsMenu=void 0;var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=p(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}(e("react")),a=e("react-redux"),r=e("../../component-library"),i=e("../../ui/menu"),s=e("../../../helpers/constants/design-system"),l=e("../../../hooks/useI18nContext"),c=e("../../../store/actions"),u=e("../../../selectors"),d=e("../permission-details-modal/permission-details-modal");function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(p=function(e){return e?n:t})(e)}const m=i.MenuItem;n.ConnectedAccountsMenu=({isOpen:e,account:t,anchorElement:n,disableAccountSwitcher:i=!1,onClose:p,closeMenu:f,onActionClick:g,activeTabOrigin:h})=>{const y=(0,a.useDispatch)(),b=(0,l.useI18nContext)(),v=(0,o.useRef)(null),[k,x]=(0,o.useState)(!1),T=(0,a.useSelector)(u.getPermissionsForActiveTab),C=(0,o.useCallback)((e=>{null!=v&&v.current&&!v.current.contains(e.target)&&p()}),[p]);(0,o.useEffect)((()=>(document.addEventListener("mousedown",C),()=>{document.removeEventListener("mousedown",C)})),[C]);const w=(0,o.useCallback)((e=>{var t;"Tab"===e.key&&null!=v&&null!==(t=v.current)&&void 0!==t&&t.contains(e.target)&&p&&p()}),[p]);return o.default.createElement(o.default.Fragment,null,o.default.createElement(r.Popover,{className:"multichain-connected-accounts-menu__popover",referenceElement:n,role:r.PopoverRole.Dialog,position:r.PopoverPosition.Bottom,offset:[0,0],padding:0,isOpen:e,flip:!0,preventOverflow:!0,isPortal:!0},o.default.createElement(r.ModalFocus,{restoreFocus:!0,initialFocusRef:{current:n}},o.default.createElement(r.Box,{onKeyDown:w,ref:v},null!=T&&T.length?o.default.createElement(m,{iconName:r.IconName.SecurityTick,"data-testid":"permission-details-menu-item",onClick:()=>{x(!0),p()}},o.default.createElement(r.Text,{variant:s.TextVariant.bodyMd},b("permissionDetails"))):null,i?null:o.default.createElement(m,{iconName:r.IconName.SwapHorizontal,"data-testid":"switch-account-menu-item",onClick:()=>{y((0,c.setSelectedAccount)(t.address)),p(),f()}},o.default.createElement(r.Text,{variant:s.TextVariant.bodyMd},b("switchToThisAccount"))),o.default.createElement(m,{iconName:r.IconName.Logout,iconColor:s.IconColor.errorDefault,"data-testid":"disconnect-menu-item",onClick:()=>{g(t.metadata.name),y((0,c.removePermittedAccount)(h,t.address))}},o.default.createElement(r.Text,{color:s.TextColor.errorDefault,variant:s.TextVariant.bodyMd},b("disconnect")))))),k?o.default.createElement(d.PermissionDetailsModal,{isOpen:k,account:t,onClick:()=>{y((0,c.removePermittedAccount)(h,t.address))},onClose:()=>x(!1),permissions:T}):null)}}}},{package:"$root$",file:"ui/components/multichain/connected-accounts-menu/connected-accounts-menu.tsx"}],[5066,{"./connected-accounts-menu":5065},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"ConnectedAccountsMenu",{enumerable:!0,get:function(){return o.ConnectedAccountsMenu}});var o=e("./connected-accounts-menu")}}},{package:"$root$",file:"ui/components/multichain/connected-accounts-menu/index.ts"}],[5067,{"../../../helpers/constants/connected-sites":5354,"../../../helpers/constants/design-system":5355,"../../../hooks/useI18nContext":5427,"../../../selectors":5987,"../../component-library":4955,"../../ui/tooltip":5310,classnames:3049,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.ConnectedSiteMenu=void 0;var o=m(e("react")),a=m(e("prop-types")),r=m(e("classnames")),i=e("react-redux"),s=e("../../../helpers/constants/connected-sites"),l=e("../../../helpers/constants/design-system"),c=e("../../component-library"),u=e("../../../selectors"),d=m(e("../../ui/tooltip")),p=e("../../../hooks/useI18nContext");function m(e){return e&&e.__esModule?e:{default:e}}const f=({className:e,globalMenuColor:t,status:n,text:a,onClick:m})=>{const f=(0,p.useI18nContext)(),g=(0,i.useSelector)(u.getSelectedInternalAccount),h=(0,i.useSelector)(u.getSubjectMetadata)[(0,i.useSelector)(u.getOriginOfCurrentTab)],y=n===s.STATUS_CONNECTED_TO_ANOTHER_ACCOUNT||n===s.STATUS_CONNECTED_TO_SNAP;return o.default.createElement(c.Box,{className:(0,r.default)("multichain-connected-site-menu",e),"data-testid":"connection-menu",as:"button",onClick:m,display:l.Display.Flex,alignItems:l.AlignItems.center,justifyContent:l.JustifyContent.center,backgroundColor:l.BackgroundColor.backgroundDefault},o.default.createElement(d.default,{title:n===s.STATUS_NOT_CONNECTED?f("statusNotConnectedAccount"):`${null==g?void 0:g.metadata.name} ${a}`,"data-testid":"multichain-connected-site-menu__tooltip",position:"bottom"},o.default.createElement(c.BadgeWrapper,{positionObj:y?{bottom:-1,right:-2,zIndex:1}:{bottom:-1,right:-4,zIndex:1},badge:o.default.createElement(c.Box,{backgroundColor:t,className:(0,r.default)("multichain-connected-site-menu__badge",{"not-connected":y}),borderRadius:l.BorderRadius.full,borderColor:y?l.BorderColor.successDefault:l.BackgroundColor.backgroundDefault,borderWidth:y?2:3})},null!=h&&h.iconUrl?o.default.createElement(c.AvatarFavicon,{name:h.name,size:l.Size.SM,src:h.iconUrl}):o.default.createElement(c.Icon,{name:c.IconName.Global,size:c.IconSize.Sm,color:l.IconColor.iconDefault}))))};n.ConnectedSiteMenu=f,f.propTypes={className:a.default.string,globalMenuColor:a.default.string.isRequired,status:a.default.string.isRequired,text:a.default.string,onClick:a.default.func}}}},{package:"$root$",file:"ui/components/multichain/connected-site-menu/connected-site-menu.js"}],[5068,{"./connected-site-menu":5067},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"ConnectedSiteMenu",{enumerable:!0,get:function(){return o.ConnectedSiteMenu}});var o=e("./connected-site-menu")}}},{package:"$root$",file:"ui/components/multichain/connected-site-menu/index.js"}],[5069,{"../../../helpers/constants/connected-sites":5354,"../../../helpers/constants/design-system":5355,"../../../hooks/useI18nContext":5427,"../../../selectors":5987,"../badge-status":5062,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.ConnectedStatus=void 0;var o,a=(o=e("react"))&&o.__esModule?o:{default:o},r=e("react-redux"),i=e("../../../helpers/constants/design-system"),s=e("../../../selectors"),l=e("../../../helpers/constants/connected-sites"),c=e("../../../hooks/useI18nContext"),u=e("../badge-status");n.ConnectedStatus=({address:e="",isActive:t})=>{const n=(0,c.useI18nContext)(),o=(0,r.useSelector)((t=>(0,s.isAccountConnectedToCurrentTab)(t,e)));let d=l.STATUS_NOT_CONNECTED;t?d=l.STATUS_CONNECTED:o&&(d=l.STATUS_CONNECTED_TO_ANOTHER_ACCOUNT);let p=i.BackgroundColor.backgroundDefault,m=i.Color.borderMuted,f=n("statusNotConnected");d===l.STATUS_CONNECTED?(p=i.BackgroundColor.backgroundDefault,m=i.BackgroundColor.successDefault,f=n("active")):d===l.STATUS_CONNECTED_TO_ANOTHER_ACCOUNT&&(p=i.BorderColor.successDefault,m=i.BackgroundColor.backgroundDefault,f=n("tooltipSatusConnectedUpperCase"));const g=o&&!t;return a.default.createElement(u.BadgeStatus,{address:e,badgeBackgroundColor:m,badgeBorderColor:p,text:f,isConnectedAndNotActive:g})}}}},{package:"$root$",file:"ui/components/multichain/connected-status/connected-status.tsx"}],[5070,{"./connected-status":5069},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"ConnectedStatus",{enumerable:!0,get:function(){return o.ConnectedStatus}});var o=e("./connected-status")}}},{package:"$root$",file:"ui/components/multichain/connected-status/index.ts"}],[5071,{"../../../../shared/constants/metametrics":4505,"../../../contexts/metametrics":5327,"../../../ducks/history/history":5343,"../../../helpers/constants/design-system":5355,"../../../helpers/utils/accounts":5378,"../../../hooks/useI18nContext":5427,"../../../selectors":5987,"../../component-library":4955,"../../component-library/form-text-field/form-text-field":4944,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.CreateAccount=void 0;var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=g(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}(e("react")),a=e("react-redux"),r=e("react-router-dom"),i=e("../../component-library"),s=e("../../component-library/form-text-field/form-text-field"),l=e("../../../hooks/useI18nContext"),c=e("../../../helpers/utils/accounts"),u=e("../../../selectors"),d=e("../../../ducks/history/history"),p=e("../../../../shared/constants/metametrics"),m=e("../../../contexts/metametrics"),f=e("../../../helpers/constants/design-system");function g(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(g=function(e){return e?n:t})(e)}n.CreateAccount=o.default.memo(o.default.forwardRef((({getNextAvailableAccountName:e,onCreateAccount:t,onActionComplete:n},g)=>{const h=(0,l.useI18nContext)(),y=(0,r.useHistory)(),b=(0,o.useContext)(m.MetaMetricsContext),v=(0,a.useSelector)(d.getMostRecentOverviewPage),k=(0,a.useSelector)(u.getMetaMaskAccountsOrdered),[x,T]=(0,o.useState)("");(0,o.useEffect)((()=>{e(k).then(T)}),[]);const[C,w]=(0,o.useState)(""),_=C.trim(),{isValidAccountName:E,errorMessage:M}=(0,c.getAccountNameErrorMessage)(k,{t:h},_||x,x),S=(0,o.useCallback)((async e=>{e.preventDefault();try{await t(_||x),b({category:p.MetaMetricsEventCategory.Accounts,event:p.MetaMetricsEventName.AccountAdded,properties:{account_type:p.MetaMetricsEventAccountType.Default,location:"Home"}}),y.push(v)}catch(e){b({category:p.MetaMetricsEventCategory.Accounts,event:p.MetaMetricsEventName.AccountAddFailed,properties:{account_type:p.MetaMetricsEventAccountType.Default,error:e.message}})}}),[_,x,v]);return o.default.createElement(i.Box,{as:"form",onSubmit:S},o.default.createElement(s.FormTextField,{ref:g,autoFocus:!0,id:"account-name",label:h("accountName"),placeholder:x,onChange:e=>w(e.target.value),helpText:M,error:!E,onKeyPress:e=>{"Enter"===e.key&&S(e)}}),o.default.createElement(i.Box,{display:f.Display.Flex,marginTop:6,gap:2},o.default.createElement(i.ButtonSecondary,{onClick:async()=>n(!1),block:!0},h("cancel")),o.default.createElement(i.ButtonPrimary,{type:"submit",disabled:!E,block:!0},h("create"))))})))}}},{package:"$root$",file:"ui/components/multichain/create-account/create-account.tsx"}],[5072,{"./create-account":5071},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"CreateAccount",{enumerable:!0,get:function(){return o.CreateAccount}});var o=e("./create-account")}}},{package:"$root$",file:"ui/components/multichain/create-account/index.js"}],[5073,{"..":5092,"../../../store/actions":5998,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.CreateEthAccount=void 0;var o=l(e("react")),a=l(e("prop-types")),r=e("react-redux"),i=e("../../../store/actions"),s=e("..");function l(e){return e&&e.__esModule?e:{default:e}}const c=({onActionComplete:e})=>{const t=(0,r.useDispatch)();return o.default.createElement(s.CreateAccount,{onActionComplete:e,onCreateAccount:async n=>{const o=await t((0,i.addNewAccount)());n&&t((0,i.setAccountLabel)(o,n)),e(!0)},getNextAvailableAccountName:async()=>await(0,i.getNextAvailableAccountName)()})};n.CreateEthAccount=c,c.propTypes={onActionComplete:a.default.func.isRequired}}}},{package:"$root$",file:"ui/components/multichain/create-eth-account/create-eth-account.js"}],[5074,{"./create-eth-account":5073},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"CreateEthAccount",{enumerable:!0,get:function(){return o.CreateEthAccount}});var o=e("./create-eth-account")}}},{package:"$root$",file:"ui/components/multichain/create-eth-account/index.js"}],[5075,{"../../../../shared/constants/metametrics":4505,"../../../contexts/metametrics":5327,"../../../hooks/useI18nContext":5427,"../../../selectors":5987,"../../component-library":4955,classnames:3049,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.DetectedTokensBanner=void 0;var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=m(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}(e("react")),a=e("react-redux"),r=p(e("prop-types")),i=p(e("classnames")),s=e("../../../hooks/useI18nContext"),l=e("../../../selectors"),c=e("../../../contexts/metametrics"),u=e("../../../../shared/constants/metametrics"),d=e("../../component-library");function p(e){return e&&e.__esModule?e:{default:e}}function m(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(m=function(e){return e?n:t})(e)}function f(){return f=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const r=(0,s.useI18nContext)(),p=(0,o.useContext)(c.MetaMetricsContext),m=(0,a.useSelector)(l.getDetectedTokensInCurrentNetwork),g=m.map((({address:e,symbol:t})=>`${t} - ${e}`)),h=(0,a.useSelector)(l.getCurrentChainId);return o.default.createElement(d.BannerAlert,f({className:(0,i.default)("multichain-detected-token-banner",e),actionButtonLabel:r("importTokensCamelCase"),actionButtonOnClick:()=>{t(),p({event:u.MetaMetricsEventName.TokenImportClicked,category:u.MetaMetricsEventCategory.Wallet,properties:{source_connection_method:u.MetaMetricsTokenEventSource.Detected,tokens:g,chain_id:h}})},"data-testid":"detected-token-banner"},n),1===m.length?r("numberOfNewTokensDetectedSingular"):r("numberOfNewTokensDetectedPlural",[m.length]))};n.DetectedTokensBanner=g,g.propTypes={actionButtonOnClick:r.default.func.isRequired,className:r.default.string}}}},{package:"$root$",file:"ui/components/multichain/detected-token-banner/detected-token-banner.js"}],[5076,{"./detected-token-banner":5075},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"DetectedTokensBanner",{enumerable:!0,get:function(){return o.DetectedTokensBanner}});var o=e("./detected-token-banner")}}},{package:"$root$",file:"ui/components/multichain/detected-token-banner/index.js"}],[5077,{"../../../hooks/useI18nContext":5427,"../../component-library":4955,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.DisconnectType=n.DisconnectAllModal=void 0;var o,a=(o=e("react"))&&o.__esModule?o:{default:o},r=e("../../component-library"),i=e("../../../hooks/useI18nContext");n.DisconnectType=function(e){return e.Account="disconnectAllAccountsText",e.Snap="disconnectAllSnapsText",e}({});n.DisconnectAllModal=({type:e,hostname:t,onClick:n,onClose:o})=>{const s=(0,i.useI18nContext)();return a.default.createElement(r.Modal,{isOpen:!0,onClose:o,"data-testid":"disconnect-all-modal"},a.default.createElement(r.ModalOverlay,null),a.default.createElement(r.ModalContent,null,a.default.createElement(r.ModalHeader,{onClose:o},s("disconnectAllTitle",[s(e)])),a.default.createElement(r.ModalBody,null,a.default.createElement(r.Text,null,s("disconnectAllText",[s(e),t]))),a.default.createElement(r.ModalFooter,null,a.default.createElement(r.Button,{onClick:n,startIconName:r.IconName.Logout,block:!0,danger:!0,"data-testid":"disconnect-all"},s("disconnect")))))}}}},{package:"$root$",file:"ui/components/multichain/disconnect-all-modal/disconnect-all-modal.tsx"}],[5078,{"..":5092,"../../../../app/scripts/lib/util":120,"../../../../shared/constants/app":4493,"../../../../shared/constants/metametrics":4505,"../../../../shared/lib/ui-utils":4532,"../../../contexts/metametrics":5327,"../../../helpers/constants/common":5353,"../../../helpers/constants/design-system":5355,"../../../helpers/constants/routes":5361,"../../../hooks/metamask-notifications/useCounter":5404,"../../../hooks/useI18nContext":5427,"../../../pages/notifications/NewFeatureTag":5768,"../../../selectors":5987,"../../../selectors/metamask-notifications/metamask-notifications":5989,"../../../selectors/metamask-notifications/profile-syncing":5990,"../../../store/actions":5998,"../../component-library":4955,"../../ui/menu":5264,"../notifications-tag-counter":5140,"prop-types":3997,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.GlobalMenu=void 0;var o,a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=M(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}(e("react")),r=(o=e("prop-types"))&&o.__esModule?o:{default:o},i=e("react-router-dom"),s=e("react-redux"),l=e("../../../hooks/metamask-notifications/useCounter"),c=e("../notifications-tag-counter"),u=e("../../../pages/notifications/NewFeatureTag"),d=e("../../../helpers/constants/routes"),p=e("../../../store/actions"),m=e("../../../hooks/useI18nContext"),f=e("../../../selectors/metamask-notifications/metamask-notifications"),g=e("../../../selectors/metamask-notifications/profile-syncing"),h=e("../../component-library"),y=e("../../ui/menu"),b=e("../../../../app/scripts/lib/util"),v=e("../../../../shared/constants/app"),k=e("../../../../shared/lib/ui-utils"),x=e("../../../helpers/constants/common"),T=e("../../../contexts/metametrics"),C=e("../../../../shared/constants/metametrics"),w=e("../../../selectors"),_=e("../../../helpers/constants/design-system"),E=e("..");function M(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(M=function(e){return e?n:t})(e)}const S="Global Menu",O=({closeMenu:e,anchorElement:t,isOpen:n})=>{const o=(0,m.useI18nContext)(),r=(0,s.useDispatch)(),M=(0,a.useContext)(T.MetaMetricsContext),O=(0,s.useSelector)(w.getUseExternalServices),A=(0,i.useHistory)(),{notificationsCount:N}=(0,l.useCounter)(),I=(0,s.useSelector)(w.getSelectedInternalAccount),P=(0,s.useSelector)(w.getUnapprovedTransactions),j=(0,s.useSelector)(f.selectIsMetamaskNotificationsFeatureSeen),B=(0,s.useSelector)(f.selectIsMetamaskNotificationsEnabled),D=(0,s.useSelector)(g.selectIsProfileSyncingEnabled),F=Object.keys(P).length>0;let L=!1;const R=(0,s.useSelector)(w.getAnySnapUpdateAvailable);L=(0,s.useSelector)(w.getNotifySnaps).length>0;let $=o("support"),z=k.SUPPORT_LINK;$=o("needHelpSubmitTicket"),z=x.SUPPORT_REQUEST_LINK;const W=a.default.useRef(null);a.default.useEffect((()=>{const t=W.current,n=t=>{"Tab"!==t.key||t.shiftKey||(t.preventDefault(),e())};return t&&t.addEventListener("keydown",n),()=>{t&&t.removeEventListener("keydown",n)}}),[e]);return a.default.createElement(h.Popover,{referenceElement:t,isOpen:n,padding:0,onClickOutside:e,onPressEscKey:e,style:{overflow:"hidden",minWidth:225},borderStyle:_.BorderStyle.none,position:h.PopoverPosition.BottomEnd},O&&a.default.createElement(a.default.Fragment,null,a.default.createElement(y.MenuItem,{iconName:h.IconName.Notification,onClick:()=>(()=>{if(!L&&!B)return M({category:C.MetaMetricsEventCategory.EnableNotifications,event:C.MetaMetricsEventName.StartEnablingNotificationsFlow,properties:{isProfileSyncingEnabled:D,isMetamaskNotificationsEnabled:B}}),r((0,p.showConfirmTurnOnMetamaskNotifications)()),void e();M({category:C.MetaMetricsEventCategory.NotificationInteraction,event:C.MetaMetricsEventName.NotificationPageOpened,properties:{isProfileSyncingEnabled:D,isMetamaskNotificationsEnabled:B}}),A.push(d.NOTIFICATIONS_ROUTE),e()})()},a.default.createElement(h.Box,{display:_.Display.Flex,flexDirection:_.FlexDirection.Row,alignItems:_.AlignItems.center,justifyContent:_.JustifyContent.spaceBetween},o("notifications"),0===N&&!j&&a.default.createElement(u.NewFeatureTag,null),a.default.createElement(c.NotificationsTagCounter,null))),a.default.createElement(h.Box,{borderColor:_.BorderColor.borderMuted,width:_.BlockSize.Full,style:{height:"1px",borderBottomWidth:0}})),I&&a.default.createElement(a.default.Fragment,null,a.default.createElement(E.AccountDetailsMenuItem,{metricsLocation:S,closeMenu:e,address:I.address}),a.default.createElement(E.ViewExplorerMenuItem,{metricsLocation:S,closeMenu:e,address:I.address})),a.default.createElement(h.Box,{borderColor:_.BorderColor.borderMuted,width:_.BlockSize.Full,style:{height:"1px",borderBottomWidth:0}}),a.default.createElement(y.MenuItem,{iconName:h.IconName.SecurityTick,onClick:()=>{A.push(d.PERMISSIONS),M({event:C.MetaMetricsEventName.NavPermissionsOpened,category:C.MetaMetricsEventCategory.Navigation,properties:{location:S}}),e()},"data-testid":"global-menu-connected-sites",disabled:F},o("allPermissions")),(0,b.getEnvironmentType)()===v.ENVIRONMENT_TYPE_FULLSCREEN?null:a.default.createElement(y.MenuItem,{iconName:h.IconName.Expand,onClick:()=>{global.platform.openExtensionInBrowser(),M({event:C.MetaMetricsEventName.AppWindowExpanded,category:C.MetaMetricsEventCategory.Navigation,properties:{location:S}}),e()},"data-testid":"global-menu-expand"},o("expandView")),a.default.createElement(y.MenuItem,{iconName:h.IconName.Snaps,onClick:()=>{A.push(d.SNAPS_ROUTE),e()},showInfoDot:R},o("snaps")),a.default.createElement(y.MenuItem,{iconName:h.IconName.MessageQuestion,onClick:()=>{global.platform.openTab({url:z}),M({category:C.MetaMetricsEventCategory.Home,event:C.MetaMetricsEventName.SupportLinkClicked,properties:{url:z,location:S}},{contextPropsIntoEventProperties:[C.MetaMetricsContextProp.PageTitle]}),e()},"data-testid":"global-menu-support"},$),a.default.createElement(y.MenuItem,{iconName:h.IconName.Setting,disabled:F,onClick:()=>{A.push(d.SETTINGS_ROUTE),M({category:C.MetaMetricsEventCategory.Navigation,event:C.MetaMetricsEventName.NavSettingsOpened,properties:{location:S}}),e()},"data-testid":"global-menu-settings"},o("settings")),a.default.createElement(y.MenuItem,{ref:W,iconName:h.IconName.Lock,onClick:()=>{r((0,p.lockMetamask)()),A.push(d.DEFAULT_ROUTE),M({category:C.MetaMetricsEventCategory.Navigation,event:C.MetaMetricsEventName.AppLocked,properties:{location:S}}),e()},"data-testid":"global-menu-lock"},o("lockMetaMask")))};n.GlobalMenu=O,O.propTypes={anchorElement:r.default.instanceOf(window.Element),closeMenu:r.default.func.isRequired,isOpen:r.default.bool.isRequired}}}},{package:"$root$",file:"ui/components/multichain/global-menu/global-menu.js"}],[5079,{"./global-menu":5078},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"GlobalMenu",{enumerable:!0,get:function(){return o.GlobalMenu}});var o=e("./global-menu")}}},{package:"$root$",file:"ui/components/multichain/global-menu/index.js"}],[5080,{"../../../helpers/constants/design-system":5355,"../../../hooks/useI18nContext":5427,"../../../store/actions":5998,"../../component-library":4955,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=p;var o=d(e("prop-types")),a=d(e("react")),r=e("react-redux"),i=e("../../component-library"),s=e("../../../helpers/constants/design-system"),l=e("../../../hooks/useI18nContext"),c=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=u(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}(e("../../../store/actions"));function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(u=function(e){return e?n:t})(e)}function d(e){return e&&e.__esModule?e:{default:e}}function p({importAccountFunc:e,isPrimaryDisabled:t,onActionComplete:n}){const o=(0,l.useI18nContext)(),u=(0,r.useDispatch)();return a.default.createElement(i.Box,{display:s.Display.Flex,gap:4},a.default.createElement(i.ButtonSecondary,{onClick:()=>{u(c.hideWarning()),n()},size:i.ButtonSecondarySize.Lg,block:!0},o("cancel")),a.default.createElement(i.ButtonPrimary,{onClick:async()=>{try{await e()&&n(!0)}catch(e){}},disabled:t,size:i.ButtonSecondarySize.Lg,"data-testid":"import-account-confirm-button",block:!0},o("import")))}p.propTypes={importAccountFunc:o.default.func.isRequired,isPrimaryDisabled:o.default.bool.isRequired,onActionComplete:o.default.func.isRequired}}}},{package:"$root$",file:"ui/components/multichain/import-account/bottom-buttons.js"}],[5081,{"../../../../shared/constants/metametrics":4505,"../../../contexts/metametrics":5327,"../../../helpers/constants/design-system":5355,"../../../helpers/constants/zendesk-url":5368,"../../../hooks/useI18nContext":5427,"../../../store/actions":5998,"../../component-library":4955,"../../ui/dropdown":5218,"./json":5083,"./private-key":5084,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.ImportAccount=void 0;var o=b(e("react")),a=h(e("prop-types")),r=e("react-redux"),i=e("../../../../shared/constants/metametrics"),s=e("../../component-library"),l=h(e("../../ui/dropdown")),c=e("../../../contexts/metametrics"),u=e("../../../helpers/constants/design-system"),d=h(e("../../../helpers/constants/zendesk-url")),p=e("../../../hooks/useI18nContext"),m=b(e("../../../store/actions")),f=h(e("./json")),g=h(e("./private-key"));function h(e){return e&&e.__esModule?e:{default:e}}function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(y=function(e){return e?n:t})(e)}function b(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=y(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}const v=({onActionComplete:e})=>{const t=(0,p.useI18nContext)(),n=(0,r.useDispatch)(),a=(0,o.useContext)(c.MetaMetricsContext),h=[t("privateKey"),t("jsonFile")],[y,b]=(0,o.useState)(h[0]);async function v(a,r){const i=function(e){if("json"===e)return o.default.createElement(o.default.Fragment,null,o.default.createElement(s.Text,{width:u.BlockSize.ThreeFourths,fontWeight:u.FontWeight.Bold},t("importAccountJsonLoading1")),o.default.createElement(s.Text,{width:u.BlockSize.ThreeFourths,fontWeight:u.FontWeight.Bold},t("importAccountJsonLoading2")));return""}(a);try{const{selectedAddress:o}=await n(m.importNewAccount(a,r,i));if(!o)return n(m.displayWarning(t("importAccountError"))),!1;k(a,!0),n(m.hideWarning()),e(!0)}catch(e){return k(a,e.message),(l=e.message)&&!l.startsWith("t(")?n(m.displayWarning(l)):n(m.displayWarning(t(l.slice(3,-2)))),!1}var l;return!0}function k(e,t){const n="Private Key"===e?i.MetaMetricsEventAccountImportType.PrivateKey:i.MetaMetricsEventAccountImportType.Json,o=t?i.MetaMetricsEventName.AccountAdded:i.MetaMetricsEventName.AccountAddFailed;a({category:i.MetaMetricsEventCategory.Accounts,event:o,properties:{account_type:i.MetaMetricsEventAccountType.Imported,account_import_type:n}})}return o.default.createElement(o.default.Fragment,null,o.default.createElement(s.Text,{variant:u.TextVariant.bodySm,marginTop:2},t("importAccountMsg")," ",o.default.createElement(s.ButtonLink,{size:u.Size.inherit,href:d.default.IMPORTED_ACCOUNTS,target:"_blank",rel:"noopener noreferrer"},t("here"))),o.default.createElement(s.Box,{paddingTop:4,paddingBottom:8},o.default.createElement(s.Label,{width:u.BlockSize.Full,marginBottom:4,justifyContent:u.JustifyContent.spaceBetween},t("selectType"),o.default.createElement(l.default,{options:h.map((e=>({value:e}))),selectedOption:y,onChange:e=>{n(m.hideWarning()),b(e)}})),y===h[0]?o.default.createElement(g.default,{importAccountFunc:v,onActionComplete:e}):o.default.createElement(f.default,{importAccountFunc:v,onActionComplete:e})))};n.ImportAccount=v,v.propTypes={onActionComplete:a.default.func.isRequired}}}},{package:"$root$",file:"ui/components/multichain/import-account/import-account.js"}],[5082,{"./import-account":5081},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"ImportAccount",{enumerable:!0,get:function(){return o.ImportAccount}});var o=e("./import-account")}}},{package:"$root$",file:"ui/components/multichain/import-account/index.js"}],[5083,{"../../../helpers/constants/design-system":5355,"../../../helpers/constants/zendesk-url":5368,"../../../hooks/useI18nContext":5427,"../../../store/actions":5998,"../../component-library":4955,"../../component-library/form-text-field/deprecated":4943,"./bottom-buttons":5080,"prop-types":3997,react:4243,"react-redux":4199,"react-simple-file-input":4238},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=h;var o=g(e("prop-types")),a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}(e("react")),r=e("react-redux"),i=g(e("react-simple-file-input")),s=e("../../component-library"),l=e("../../../helpers/constants/design-system"),c=e("../../component-library/form-text-field/deprecated"),u=g(e("../../../helpers/constants/zendesk-url")),d=e("../../../hooks/useI18nContext"),p=e("../../../store/actions"),m=g(e("./bottom-buttons"));function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}function g(e){return e&&e.__esModule?e:{default:e}}function h({importAccountFunc:e,onActionComplete:t}){const n=(0,d.useI18nContext)(),o=(0,r.useSelector)((e=>e.appState.warning)),[f,g]=(0,a.useState)(""),[h,y]=(0,a.useState)(""),b=""===h;function v(){b?(0,p.displayWarning)(n("needImportFile")):e("json",[h,f])}return a.default.createElement(a.default.Fragment,null,a.default.createElement(s.Text,{variant:l.TextVariant.bodyMd,textAlign:l.TextAlign.Center},n("usedByClients"),a.default.createElement(s.ButtonLink,{size:l.Size.inherit,href:u.default.IMPORTED_ACCOUNTS,target:"_blank",rel:"noopener noreferrer"},n("fileImportFail"))),a.default.createElement(i.default,{id:"file-input","data-testid":"file-input",readAs:"text",onLoad:e=>y(e.target.result),style:{padding:"20px 0px 12px 15%",fontSize:"16px",display:"flex",justifyContent:"center",width:"100%"}}),a.default.createElement(c.FormTextField,{id:"json-password-box",size:s.TextFieldSize.Lg,autoFocus:!0,type:s.TextFieldType.Password,helpText:o,error:!0,placeholder:n("enterOptionalPassword"),value:f,onChange:e=>{g(e.target.value)},inputProps:{onKeyPress:function(e){b||"Enter"!==e.key||(e.preventDefault(),v())}},marginBottom:4}),a.default.createElement(m.default,{importAccountFunc:v,isPrimaryDisabled:b,onActionComplete:t}))}h.propTypes={importAccountFunc:o.default.func.isRequired,onActionComplete:o.default.func.isRequired}}}},{package:"$root$",file:"ui/components/multichain/import-account/json.js"}],[5084,{"../../../hooks/useI18nContext":5427,"../../component-library":4955,"../../ui/show-hide-toggle":5290,"./bottom-buttons":5080,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=p;var o=d(e("prop-types")),a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=u(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}(e("react")),r=e("react-redux"),i=e("../../component-library"),s=e("../../../hooks/useI18nContext"),l=d(e("../../ui/show-hide-toggle")),c=d(e("./bottom-buttons"));function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(u=function(e){return e?n:t})(e)}function d(e){return e&&e.__esModule?e:{default:e}}function p({importAccountFunc:e,onActionComplete:t}){const n=(0,s.useI18nContext)(),[o,u]=(0,a.useState)(""),[d,p]=(0,a.useState)(!1),m=(0,r.useSelector)((e=>e.appState.warning));function f(){e("privateKey",[o])}return a.default.createElement(a.default.Fragment,null,a.default.createElement(i.FormTextField,{id:"private-key-box",size:i.TextFieldSize.Lg,autoFocus:!0,helpText:m,error:!0,label:n("pastePrivateKey"),value:o,onChange:e=>u(e.target.value),inputProps:{onKeyPress:function(e){""!==o&&"Enter"===e.key&&(e.preventDefault(),f())}},marginBottom:4,type:d?i.TextFieldType.Text:i.TextFieldType.Password,textFieldProps:{endAccessory:a.default.createElement(l.default,{shown:d,id:"show-hide-private-key",title:n("privateKeyShow"),ariaLabelShown:n("privateKeyShown"),ariaLabelHidden:n("privateKeyHidden"),onChange:()=>p(!d)})}}),a.default.createElement(c.default,{importAccountFunc:f,isPrimaryDisabled:""===o,onActionComplete:t}))}p.propTypes={importAccountFunc:o.default.func.isRequired,onActionComplete:o.default.func.isRequired}}}},{package:"$root$",file:"ui/components/multichain/import-account/private-key.js"}],[5085,{"../../../../shared/constants/metametrics":4505,"../../../../shared/constants/transaction":4520,"../../../contexts/metametrics":5327,"../../../ducks/metamask/metamask":5346,"../../../helpers/constants/design-system":5355,"../../../helpers/constants/routes":5361,"../../../helpers/utils/util":5399,"../../../hooks/useI18nContext":5427,"../../../hooks/useNftsCollections":5432,"../../../selectors":5987,"../../../store/actions":5998,"../../app/nfts-detection-notice-import-nfts/nfts-detection-notice-import-nfts":4720,"../../component-library":4955,"../../component-library/form-text-field/deprecated":4943,"../../component-library/modal-content/deprecated":4963,"../../component-library/modal-header/deprecated":4972,"../../ui/tooltip":5310,"@metamask/controller-utils":1163,"prop-types":3997,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.ImportNftsModal=void 0;var o=e("@metamask/controller-utils"),a=E(e("prop-types")),r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=_(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}(e("react")),i=e("react-redux"),s=e("react-router-dom"),l=e("../../../../shared/constants/metametrics"),c=e("../../../../shared/constants/transaction"),u=e("../../../contexts/metametrics"),d=e("../../../ducks/metamask/metamask"),p=e("../../../helpers/constants/design-system"),m=e("../../../helpers/constants/routes"),f=e("../../../hooks/useI18nContext"),g=e("../../../selectors"),h=e("../../../store/actions"),y=E(e("../../app/nfts-detection-notice-import-nfts/nfts-detection-notice-import-nfts")),b=e("../../component-library"),v=e("../../component-library/form-text-field/deprecated"),k=e("../../component-library/modal-content/deprecated"),x=e("../../component-library/modal-header/deprecated"),T=E(e("../../ui/tooltip")),C=e("../../../hooks/useNftsCollections"),w=e("../../../helpers/utils/util");function _(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(_=function(e){return e?n:t})(e)}function E(e){return e&&e.__esModule?e:{default:e}}const M=({onClose:e})=>{const t=(0,f.useI18nContext)(),n=(0,s.useHistory)(),a=(0,i.useDispatch)(),_=(0,i.useSelector)(g.getOpenSeaEnabled),E=(0,i.useSelector)(g.getIsMainnet),M=(0,i.useSelector)(d.getNftsDropdownState),S=(0,i.useSelector)(g.getSelectedInternalAccount),O=(0,i.useSelector)(g.getCurrentChainId),{tokenAddress:A,tokenId:N,ignoreErc20Token:I}=(0,i.useSelector)((e=>e.appState.importNftsModal)),P=(0,C.useNftsCollections)(),[j,B]=(0,r.useState)(A??""),[D,F]=(0,r.useState)(N??""),[L,R]=(0,r.useState)(!0),[$,z]=(0,r.useState)(!1),W=(0,r.useContext)(u.MetaMetricsContext),[U,V]=(0,r.useState)(null),[H,G]=(0,r.useState)(null);return r.default.createElement(b.Modal,{isOpen:!0,onClose:()=>{e()},className:"import-nfts-modal"},r.default.createElement(b.ModalOverlay,null),r.default.createElement(k.ModalContent,null,r.default.createElement(x.ModalHeader,{onClose:()=>{e()}},t("importNFT")),r.default.createElement(b.Box,null,E&&!_?r.default.createElement(b.Box,{marginTop:6},r.default.createElement(y.default,{onActionButtonClick:e})):null,$&&r.default.createElement(b.Box,{marginTop:6},r.default.createElement(b.BannerAlert,{severity:p.Severity.Danger,onClose:()=>z(!1),closeButtonProps:{"data-testid":"add-nft-error-close"}},t("nftAddFailedMessage"))),r.default.createElement(b.Box,{display:p.Display.Flex,flexDirection:p.FlexDirection.Column,gap:6,marginTop:6,marginBottom:6},r.default.createElement(b.Box,null,r.default.createElement(b.Box,{display:p.Display.Flex,justifyContent:p.JustifyContent.spaceBetween,alignItems:p.AlignItems.flexEnd},r.default.createElement(b.Box,{display:p.Display.Flex,alignItems:p.AlignItems.center},r.default.createElement(b.Label,{htmlFor:"address"},t("address")),r.default.createElement(T.default,{title:t("importNFTAddressToolTip"),position:"bottom"},r.default.createElement(b.Icon,{name:b.IconName.Info,size:b.IconSize.Sm,marginLeft:1,color:p.IconColor.iconAlternative})))),r.default.createElement(v.FormTextField,{autoFocus:!0,dataTestId:"address",id:"address",placeholder:"0x...",value:j,onChange:e=>{var n;n=e.target.value,V(null),n&&!(0,o.isValidHexAddress)(n)&&V(t("invalidAddress")),R(!(0,o.isValidHexAddress)(n)||!D),B(n),z(!1)},helpText:U,error:Boolean(U)})),r.default.createElement(b.Box,null,r.default.createElement(b.Box,{display:p.Display.Flex,justifyContent:p.JustifyContent.spaceBetween,alignItems:p.AlignItems.flexEnd},r.default.createElement(b.Box,{display:p.Display.Flex,alignItems:p.AlignItems.center},r.default.createElement(b.Label,{htmlFor:"token-id"},t("tokenId")),r.default.createElement(T.default,{title:t("importNFTTokenIdToolTip"),position:"bottom"},r.default.createElement(b.Icon,{name:b.IconName.Info,size:b.IconSize.Sm,marginLeft:1,color:p.IconColor.iconAlternative})))),r.default.createElement(v.FormTextField,{dataTestId:"token-id",id:"token-id",placeholder:t("nftTokenIdPlaceholder"),value:D,onChange:e=>{(e=>{G(null);const n=(0,w.checkTokenIdExists)(j,e,P.collections);n&&G(t("nftAlreadyAdded")),R(!(0,o.isValidHexAddress)(j)||!e||isNaN(Number(e))||n),F(e)})(e.target.value),z(!1)},helpText:H,error:H})))),r.default.createElement(b.Box,{display:p.Display.Flex,flexDirection:p.FlexDirection.Row,justifyContent:p.JustifyContent.spaceBetween,gap:4,paddingTop:4,paddingBottom:4},r.default.createElement(b.ButtonSecondary,{size:b.ButtonSecondarySize.Lg,onClick:()=>e(),block:!0,className:"import-nfts-modal__cancel-button"},t("cancel")),r.default.createElement(b.ButtonPrimary,{size:p.Size.LG,onClick:()=>(async()=>{try{var t;await a((0,h.addNftVerifyOwnership)(j,D));const e={...M,[S.address]:{...null==M?void 0:M[S.address],[O]:{...null==M||null===(t=M[S.address])||void 0===t?void 0:t[O],[j]:!0}}};a((0,h.updateNftDropDownState)(e))}catch(e){const{message:t}=e;return a((0,h.setNewNftAddedMessage)(t)),void z(!0)}I&&j&&await a((0,h.ignoreTokens)({tokensToIgnore:j,dontShowLoadingIndicator:!0})),a((0,h.setNewNftAddedMessage)("success"));const o=await(0,h.getTokenStandardAndDetails)(j,null,D.toString());W({event:l.MetaMetricsEventName.TokenAdded,category:"Wallet",sensitiveProperties:{token_contract_address:j,token_symbol:null==o?void 0:o.symbol,tokenId:D.toString(),asset_type:c.AssetType.NFT,token_standard:null==o?void 0:o.standard,source_connection_method:l.MetaMetricsTokenEventSource.Custom}}),n.push(m.DEFAULT_ROUTE),e()})(),disabled:L,block:!0,"data-testid":"import-nfts-modal-import-button"},t("import")))))};n.ImportNftsModal=M,M.propTypes={onClose:a.default.func.isRequired}}}},{package:"$root$",file:"ui/components/multichain/import-nfts-modal/import-nfts-modal.js"}],[5086,{"./import-nfts-modal":5085},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"ImportNftsModal",{enumerable:!0,get:function(){return o.ImportNftsModal}});var o=e("./import-nfts-modal")}}},{package:"$root$",file:"ui/components/multichain/import-nfts-modal/index.js"}],[5087,{"../../../../shared/constants/metametrics":4505,"../../../contexts/metametrics":5327,"../../../helpers/constants/design-system":5355,"../../../hooks/useI18nContext":5427,"../../../selectors":5987,"../../../store/actions":5998,"../../component-library":4955,classnames:3049,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.ImportTokenLink=void 0;var o,a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}(e("react")),r=e("react-redux"),i=(o=e("classnames"))&&o.__esModule?o:{default:o},s=e("../../component-library"),l=e("../../../helpers/constants/design-system"),c=e("../../../hooks/useI18nContext"),u=e("../../../store/actions"),d=e("../../../contexts/metametrics"),p=e("../../../../shared/constants/metametrics"),m=e("../../../selectors");function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}function g(){return g=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const n=(0,a.useContext)(d.MetaMetricsContext),o=(0,c.useI18nContext)(),f=(0,r.useDispatch)(),h=(0,r.useSelector)(m.getIsTokenDetectionSupported),y=(0,r.useSelector)(m.getIsTokenDetectionInactiveOnMainnet),b=h||y||Boolean(!1);return a.default.createElement(s.Box,g({className:(0,i.default)("multichain-import-token-link",e)},t),a.default.createElement(s.Box,{display:l.Display.Flex,alignItems:l.AlignItems.center},a.default.createElement(s.ButtonLink,{size:s.ButtonLinkSize.Md,"data-testid":"import-token-button",startIconName:s.IconName.Add,onClick:()=>{f((0,u.showImportTokensModal)()),n({category:p.MetaMetricsEventCategory.Navigation,event:p.MetaMetricsEventName.TokenImportButtonClicked,properties:{location:"HOME"}})}},b?o("importTokensCamelCase"):o("importTokensCamelCase").charAt(0).toUpperCase()+o("importTokensCamelCase").slice(1))),a.default.createElement(s.Box,{display:l.Display.Flex,alignItems:l.AlignItems.center,paddingTop:2},a.default.createElement(s.ButtonLink,{size:s.ButtonLinkSize.Md,startIconName:s.IconName.Refresh,"data-testid":"refresh-list-button",onClick:()=>f((0,u.detectTokens)())},o("refreshList"))))}}}},{package:"$root$",file:"ui/components/multichain/import-token-link/import-token-link.tsx"}],[5088,{"./import-token-link":5087},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"ImportTokenLink",{enumerable:!0,get:function(){return o.ImportTokenLink}});var o=e("./import-token-link")}}},{package:"$root$",file:"ui/components/multichain/import-token-link/index.ts"}],[5089,{"../../../contexts/i18n":5324,"../../../ducks/metamask/metamask":5346,"../../../helpers/constants/design-system":5355,"../../../selectors":5987,"../../component-library":4955,"../../ui/token-balance/token-balance":5309,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.ImportTokensModalConfirm=void 0;var o,a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=p(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}(e("react")),r=e("react-redux"),i=e("../../../selectors"),s=e("../../component-library"),l=e("../../../helpers/constants/design-system"),c=e("../../../ducks/metamask/metamask"),u=(o=e("../../ui/token-balance/token-balance"))&&o.__esModule?o:{default:o},d=e("../../../contexts/i18n");function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(p=function(e){return e?n:t})(e)}n.ImportTokensModalConfirm=()=>{const e=(0,a.useContext)(d.I18nContext),t=(0,r.useSelector)(i.getCurrentNetwork),n=(0,r.useSelector)(i.getTestNetworkBackgroundColor),o=(0,r.useSelector)(c.getPendingTokens),p=(0,r.useSelector)(i.getTokenList);return a.default.createElement(s.Box,{paddingTop:6},a.default.createElement(s.Text,{textAlign:l.TextAlign.Center},1===Object.keys(o).length?e("likeToImportToken"):e("likeToImportTokens")),a.default.createElement(s.Box,{paddingTop:6},a.default.createElement(s.Box,{flexDirection:l.FlexDirection.Column,className:"import-tokens-modal__confirmation-list"},Object.entries(o).map((([e,o])=>{var r,i;const{name:c,symbol:d,iconUrl:m}=o,f=m||(null===(r=p[e.toLowerCase()])||void 0===r?void 0:r.iconUrl);return a.default.createElement(s.Box,{key:e,padding:4,display:l.Display.Flex},a.default.createElement(s.Box,{display:l.Display.Flex,className:"import-tokens-modal__confirm-token-list-item-wrapper"},a.default.createElement(s.BadgeWrapper,{badge:a.default.createElement(s.AvatarNetwork,{size:s.AvatarNetworkSize.Xs,name:null==t?void 0:t.nickname,src:null==t||null===(i=t.rpcPrefs)||void 0===i?void 0:i.imageUrl,backgroundColor:n}),marginRight:4,marginTop:1},a.default.createElement(s.AvatarToken,{name:d,src:f,showHalo:!0})),a.default.createElement(s.Box,null,a.default.createElement(s.Text,{fontWeight:l.FontWeight.Medium,variant:l.TextVariant.bodyMd},c||d),a.default.createElement(s.Text,{variant:l.TextVariant.bodySm,color:l.TextColor.textAlternative},a.default.createElement(u.default,{token:o})))),a.default.createElement(s.Box,{alignItems:l.AlignItems.flexStart},a.default.createElement(u.default,{textProps:{font:l.FontWeight.Medium,variant:l.TextVariant.bodyLgMedium},suffixProps:{font:l.FontWeight.Medium,variant:l.TextVariant.bodyLgMedium},token:o,showFiat:!0})))})))))}}}},{package:"$root$",file:"ui/components/multichain/import-tokens-modal/import-tokens-modal-confirm.js"}],[5090,{"../../../../app/scripts/lib/util":120,"../../../../shared/constants/metametrics":4505,"../../../../shared/constants/tokens":4519,"../../../../shared/constants/transaction":4520,"../../../../shared/modules/hexstring-utils":4544,"../../../contexts/metametrics":5327,"../../../ducks/metamask/metamask":5346,"../../../helpers/constants/design-system":5355,"../../../helpers/constants/routes":5361,"../../../helpers/constants/zendesk-url":5368,"../../../helpers/utils/token-util":5396,"../../../helpers/utils/util":5399,"../../../hooks/useI18nContext":5427,"../../../selectors":5987,"../../../store/actions":5998,"../../app/import-token/token-list":4641,"../../app/import-token/token-search":4646,"../../component-library":4955,"../../component-library/form-text-field/deprecated":4943,"../../ui/tabs":5296,"./import-tokens-modal-confirm":5089,"@metamask/etherscan-link/dist/token-tracker-link":1372,"prop-types":3997,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.ImportTokensModal=void 0;var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=A(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}(e("react")),a=e("react-redux"),r=e("react-router-dom"),i=O(e("prop-types")),s=e("@metamask/etherscan-link/dist/token-tracker-link"),l=e("../../ui/tabs"),c=e("../../../hooks/useI18nContext"),u=e("../../../selectors"),d=e("../../../store/actions"),p=e("../../component-library"),m=e("../../component-library/form-text-field/deprecated"),f=O(e("../../app/import-token/token-search")),g=O(e("../../app/import-token/token-list")),h=e("../../../helpers/constants/design-system"),y=e("../../../helpers/constants/routes"),b=O(e("../../../helpers/constants/zendesk-url")),v=e("../../../../shared/modules/hexstring-utils"),k=e("../../../../app/scripts/lib/util"),x=e("../../../../shared/constants/tokens"),T=e("../../../../shared/constants/transaction"),C=e("../../../helpers/utils/util"),w=e("../../../helpers/utils/token-util"),_=e("../../../contexts/metametrics"),E=e("../../../ducks/metamask/metamask"),M=e("../../../../shared/constants/metametrics"),S=e("./import-tokens-modal-confirm");function O(e){return e&&e.__esModule?e:{default:e}}function A(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(A=function(e){return e?n:t})(e)}const N=({onClose:e})=>{const t=(0,c.useI18nContext)(),n=(0,r.useHistory)(),i=(0,a.useDispatch)(),[O,A]=(0,o.useState)(""),[N,I]=(0,o.useState)(null),[P,j]=(0,o.useState)({}),[B,D]=(0,o.useState)([]),F=(0,a.useSelector)(u.getIsTokenDetectionSupported),L=(0,a.useSelector)(u.getIsTokenDetectionInactiveOnMainnet),R=F||L||Boolean(!1),$=(0,a.useSelector)(u.getTokenList),z=(0,a.useSelector)((({metamask:e})=>e.useTokenDetection)),W=(0,a.useSelector)(u.getTokenDetectionSupportNetworkByChainId),U=(0,a.useSelector)(E.getNativeCurrency),V=(0,a.useSelector)(u.getIstokenDetectionInactiveOnNonMainnetSupportedNetwork),H=(0,a.useSelector)(u.getIsDynamicTokenListAvailable),G=(0,a.useSelector)(u.getSelectedInternalAccount),q=(0,a.useSelector)(u.getIsMainnet),K=(0,a.useSelector)(u.getInternalAccounts),J=(0,a.useSelector)((e=>e.metamask.tokens)),Y=(0,a.useSelector)(u.getRpcPrefsForCurrentProvider),Q=(0,a.useSelector)(u.contractExchangeRateSelector),[X,Z]=(0,o.useState)(""),[ee,te]=(0,o.useState)(null),[ne,oe]=(0,o.useState)(null),[ae,re]=(0,o.useState)(!1),[ie,se]=(0,o.useState)(null),[le,ce]=(0,o.useState)(""),[ue,de]=(0,o.useState)(""),[pe,me]=(0,o.useState)(null),[fe,ge]=(0,o.useState)(0),[he,ye]=(0,o.useState)(null),[be,ve]=(0,o.useState)(T.TokenStandard.none),ke=(0,a.useSelector)(u.getCurrentNetwork),xe=(0,a.useSelector)(u.getTestNetworkBackgroundColor),[Te,Ce]=(0,o.useState)(!1),we=(0,a.useSelector)(u.getCurrentChainId),_e=(0,s.getTokenTrackerLink)(X,we,null,null,{blockExplorerUrl:(null==Y?void 0:Y.blockExplorerUrl)??null}),Ee=null!=Y&&Y.blockExplorerUrl?(0,C.getURLHostName)(_e):t("etherscan"),Me=(0,o.useRef)((0,w.tokenInfoGetter)()),Se=(0,o.useContext)(_.MetaMetricsContext),Oe=(0,a.useSelector)(E.getPendingTokens),Ae=(0,a.useSelector)(u.getSelectedNetworkClientId),Ne=(0,o.useCallback)((async()=>{try{const e=Object.values(Oe);await i((0,d.addImportedTokens)(e,Ae)),e.forEach((e=>{Se({event:M.MetaMetricsEventName.TokenAdded,category:M.MetaMetricsEventCategory.Wallet,sensitiveProperties:{token_symbol:e.symbol,token_contract_address:e.address,token_decimal_precision:e.decimals,unlisted:e.unlisted,source_connection_method:e.isCustom?M.MetaMetricsTokenEventSource.Custom:M.MetaMetricsTokenEventSource.List,token_standard:T.TokenStandard.ERC20,asset_type:T.AssetType.token}})}));const t=[];for(const e in Oe)Object.prototype.hasOwnProperty.call(Oe,e)&&t.push(Oe[e].symbol);i((0,d.setNewTokensImported)(t.join(", "))),i((0,d.clearPendingTokens)()),i((0,d.hideImportTokensModal)()),n.push(y.DEFAULT_ROUTE)}catch(e){i((0,d.setNewTokensImportedError)("error")),i((0,d.clearPendingTokens)()),n.push(y.DEFAULT_ROUTE)}}),[i,n,Oe,Se]);(0,o.useEffect)((()=>{const e=Object.keys(Oe);if(0===e.length)return;let t={},n={};e.forEach((e=>{const o=Oe[e],{isCustom:a}=o;a?n={...o}:t={...P,[e]:{...o}}})),j(t),Z(n.address),ce(n.symbol),ge(n.decimals)}),[Oe]);const Ie=e=>{const n=e.trim(),o=n.length;let a=null;(o<=0||o>=12)&&(a=t("symbolBetweenZeroTwelve")),ce(n),me(a)},Pe=e=>{let n,a=null;e?(n=Number(e.trim()),a=e<0||e>36?t("decimalsMustZerotoTen"):null):(n="",a=t("tokenDecimalFetchFailed",[o.default.createElement(p.ButtonLink,{className:"import-tokens-modal__button-link",key:"import-token-verify-token-decimal",rel:"noopener noreferrer",target:"_blank",href:_e,endIconName:p.IconName.Export},Ee)])),ge(n),ye(a)},je=()=>N||ee||pe||he||ne,Be=()=>X||Object.keys(P).length>0,De=async n=>{const a=n.trim();Z(a),te(null),oe(null),re(!1),se(null),Ce(!1);const r=(0,v.isValidHexAddress)(a,{allowNonPrefixed:!1}),s=(0,k.addHexPrefix)(a).toLowerCase(),l=Object.keys(x.STATIC_MAINNET_TOKEN_LIST).some((e=>e.toLowerCase()===a.toLowerCase()));let c;if(r)try{({standard:c}=await(0,d.getTokenStandardAndDetails)(s,G.address,null))}catch(e){}const u=0===a.length||"0x0000000000000000000000000000000000000000"===a;switch(!0){case!r&&!u:te(t("invalidAddress")),ce(""),ge(0),me(null),ye(null),Ce(!1);break;case c===T.TokenStandard.ERC1155||c===T.TokenStandard.ERC721:oe(t("nftAddressError",[o.default.createElement(p.ButtonLink,{className:"import-tokens-modal__nft-address-error-link",onClick:()=>{i((0,d.showImportNftsModal)({tokenAddress:a})),e()},color:h.TextColor.primaryDefault,key:"nftAddressError"},t("importNFTPage"))])),Ce(!1);break;case l&&!q:se(t("mainnetToken")),ce(""),ge(0),me(null),ye(null),Ce(!1);break;case Boolean(K.find((e=>e.address.toLowerCase()===s))):te(t("personalAddressDetected")),Ce(!1);break;case(0,C.checkExistingAddresses)(a,J):te(t("tokenAlreadyAdded")),Ce(!1);break;default:u||((async e=>{const{symbol:t="",decimals:n,name:o}=await Me.current(e,$);re(Boolean(n)),Ie(t||""),Pe(n),de(o)})(a),Ce(!0),c&&ve(c))}},Fe="confirm"===O;return o.default.createElement(p.Modal,{isOpen:!0,isClosedOnOutsideClick:!1,onClose:()=>{i((0,d.clearPendingTokens)()),e()},className:"import-tokens-modal"},o.default.createElement(p.ModalOverlay,null),o.default.createElement(p.ModalContent,{modalDialogProps:{className:"import-tokens-modal__modal-dialog-content"}},o.default.createElement(p.ModalHeader,{onBack:Fe?()=>A(""):null,paddingBottom:4,paddingRight:4,paddingLeft:4,onClose:()=>{i((0,d.clearPendingTokens)()),e()}},t("importTokensCamelCase")),o.default.createElement(p.Box,{className:"import-tokens-modal__body"},o.default.createElement(l.Tabs,{t:t,tabsClassName:"import-tokens-modal__tabs"},R?o.default.createElement(l.Tab,{activeClassName:"import-tokens-modal__active-tab",buttonClassName:"import-tokens-modal__button-tab",tabKey:"search",name:t("search")},Fe?o.default.createElement(S.ImportTokensModalConfirm,null):o.default.createElement(p.Box,{paddingTop:4},z?null:o.default.createElement(p.Box,{paddingLeft:4,paddingRight:4},o.default.createElement(p.BannerAlert,{severity:h.Severity.Info,marginBottom:4,paddingLeft:4,paddingRight:4},o.default.createElement(p.Text,{variant:h.TextVariant.bodyMd,fontSize:"16"},t("enhancedTokenDetectionAlertMessage",[W,o.default.createElement(p.ButtonLink,{key:"token-detection-announcement",className:"import-tokens-modal__autodetect",onClick:()=>{e(),n.push(`${y.SECURITY_ROUTE}#auto-detect-tokens`)}},t("enableFromSettings"))])))),o.default.createElement(p.Box,{paddingLeft:4,paddingRight:4,paddingBottom:4},o.default.createElement(f.default,{searchClassName:"import-tokens-modal__button-search",onSearch:({results:e=[]})=>D(e),error:N,tokenList:$})),o.default.createElement(g.default,{currentNetwork:ke,testNetworkBackgroundColor:xe,results:B,selectedTokens:P,onToggleToken:e=>(e=>{const{address:t}=e,n={...P};t in n?delete n[t]:n[t]=e,j(n),I(null)})(e)}))):null,o.default.createElement(l.Tab,{activeClassName:"import-tokens-modal__active-tab",buttonClassName:"import-tokens-modal__button-tab",tabKey:"customToken",name:t("customToken")},Fe?o.default.createElement(S.ImportTokensModalConfirm,null):o.default.createElement(p.Box,{paddingTop:4},o.default.createElement(p.Box,{className:"import-tokens-modal__custom-token-form__container"},V?o.default.createElement(p.Box,{paddingLeft:4,paddingRight:4},o.default.createElement(p.BannerAlert,{severity:h.Severity.Warning},o.default.createElement(p.Text,{variant:h.TextVariant.bodyMd},t("customTokenWarningInTokenDetectionNetworkWithTDOFF",[o.default.createElement(p.ButtonLink,{key:"import-token-security-risk",rel:"noopener noreferrer",target:"_blank",href:b.default.TOKEN_SAFETY_PRACTICES},t("tokenScamSecurityRisk")),o.default.createElement(p.ButtonLink,{type:"link",key:"import-token-token-detection-announcement",onClick:()=>{e(),n.push(`${y.SECURITY_ROUTE}#auto-detect-tokens`)}},t("inYourSettings"))])))):o.default.createElement(p.Box,{paddingLeft:4,paddingRight:4},o.default.createElement(p.BannerAlert,{severity:H?h.Severity.Warning:h.Severity.Info},o.default.createElement(p.Text,{variant:h.TextVariant.bodyMd},t(H?"customTokenWarningInTokenDetectionNetwork":"customTokenWarningInNonTokenDetectionNetwork",[o.default.createElement(p.ButtonLink,{key:"import-token-fake-token-warning",rel:"noopener noreferrer",target:"_blank",href:b.default.TOKEN_SAFETY_PRACTICES},t("learnScamRisk"))])))),o.default.createElement(p.Box,null,o.default.createElement(m.FormTextField,{paddingLeft:4,paddingRight:4,paddingTop:6,label:t("tokenContractAddress"),value:X,onChange:e=>De(e.target.value),helpText:ee||ie||ne,error:ee||ie||ne,textFieldProps:{className:ee||ie||ne?"import-tokens-modal__custom-token-form__text-outline-error":"import-tokens-modal__custom-token-form__text-outline-success"},inputProps:{"data-testid":"import-tokens-modal-custom-address"}}),Te&&o.default.createElement(p.Box,null,o.default.createElement(m.FormTextField,{paddingLeft:4,paddingRight:4,paddingTop:4,label:o.default.createElement(o.default.Fragment,null,t("tokenSymbol")),value:le,onChange:e=>Ie(e.target.value),helpText:pe,error:pe,textFieldProps:{className:pe?"import-tokens-modal__custom-token-form__text-outline-error":"import-tokens-modal__custom-token-form__text-outline-success"},inputProps:{"data-testid":"import-tokens-modal-custom-symbol"}}),o.default.createElement(m.FormTextField,{paddingLeft:4,paddingRight:4,paddingTop:4,label:t("decimal"),type:"number",value:fe,onChange:e=>Pe(e.target.value),helpText:he,error:he,disabled:ae,min:0,max:36,textFieldProps:{className:he?"import-tokens-modal__custom-token-form__text-outline-error":"import-tokens-modal__custom-token-form__text-outline-success"},inputProps:{"data-testid":"import-tokens-modal-custom-decimals"}})))))))),Fe?o.default.createElement(p.Box,{paddingTop:5,paddingLeft:4,paddingRight:4,display:h.Display.Flex},o.default.createElement(p.ButtonSecondary,{size:h.Size.LG,onClick:()=>{i((0,d.clearPendingTokens)()),A("")},block:!0,marginRight:5},t("back")),o.default.createElement(p.ButtonPrimary,{size:h.Size.LG,onClick:async()=>{await Ne(),n.push(y.DEFAULT_ROUTE)},block:!0,"data-testid":"import-tokens-modal-import-button"},t("import"))):o.default.createElement(p.Box,{paddingTop:6,paddingLeft:4,paddingRight:4},o.default.createElement(p.ButtonPrimary,{onClick:()=>(async()=>{if(je())return;if(!Be())return void I(t("mustSelectOne"));const e=Object.keys($),n=X?{address:X,symbol:le,decimals:fe,standard:be,name:ue}:null;i((0,d.setPendingTokens)({customToken:n,selectedTokens:P,tokenAddressList:e}));const o={...P,...(null==n?void 0:n.address)&&{[n.address]:{...n}}},a=Object.values(o).filter((e=>(null==Q?void 0:Q[(0,v.toChecksumHexAddress)(e.address)])===undefined)),r=a.map((e=>e.address));if(0!==a.length){const e=await(0,C.fetchTokenExchangeRates)(U,r,we);i((0,d.setConfirmationExchangeRates)(e))}A("confirm")})(),size:h.Size.LG,disabled:Boolean(je())||!Be(),block:!0,"data-testid":"import-tokens-button-next"},t("next")))))};n.ImportTokensModal=N,N.propTypes={onClose:i.default.func.isRequired}}}},{package:"$root$",file:"ui/components/multichain/import-tokens-modal/import-tokens-modal.js"}],[5091,{"./import-tokens-modal":5090},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"ImportTokensModal",{enumerable:!0,get:function(){return o.ImportTokensModal}});var o=e("./import-tokens-modal")}}},{package:"$root$",file:"ui/components/multichain/import-tokens-modal/index.js"}],[5092,{"./account-details":5018,"./account-list-item":5023,"./account-list-item-menu":5020,"./account-list-menu":5026,"./account-overview":5032,"./account-picker":5034,"./activity-list-item":5036,"./address-copy-button":5038,"./address-list-item":5040,"./app-header":5042,"./asset-picker-amount":5052,"./avatar-group":5060,"./connected-accounts-menu":5066,"./connected-site-menu":5068,"./connected-status":5070,"./create-account":5072,"./create-eth-account":5074,"./detected-token-banner":5076,"./global-menu":5079,"./import-account":5082,"./import-nfts-modal":5086,"./import-token-link":5088,"./import-tokens-modal":5091,"./menu-items":5094,"./network-list-item":5096,"./network-list-menu":5098,"./notification-detail":5122,"./notification-detail-address":5102,"./notification-detail-asset":5104,"./notification-detail-block-explorer-button":5106,"./notification-detail-button":5108,"./notification-detail-collection":5110,"./notification-detail-copy-button":5112,"./notification-detail-info":5114,"./notification-detail-network-fee":5116,"./notification-detail-nft":5118,"./notification-detail-title":5120,"./notification-list-item":5130,"./notification-list-item-icon":5124,"./notification-list-item-snap":5126,"./notification-list-item-text":5128,"./notifications-page":5132,"./notifications-settings-account":5134,"./notifications-settings-box":5136,"./notifications-settings-type":5138,"./notifications-tag-counter":5140,"./permission-details-modal":5174,"./product-tour-popover":5176,"./receive-token-link":5181,"./toast":5183,"./token-list-item":5185},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"AccountDetails",{enumerable:!0,get:function(){return k.AccountDetails}}),Object.defineProperty(n,"AccountDetailsMenuItem",{enumerable:!0,get:function(){return E.AccountDetailsMenuItem}}),Object.defineProperty(n,"AccountListItem",{enumerable:!0,get:function(){return o.AccountListItem}}),Object.defineProperty(n,"AccountListItemMenu",{enumerable:!0,get:function(){return a.AccountListItemMenu}}),Object.defineProperty(n,"AccountListItemMenuTypes",{enumerable:!0,get:function(){return o.AccountListItemMenuTypes}}),Object.defineProperty(n,"AccountListMenu",{enumerable:!0,get:function(){return r.AccountListMenu}}),Object.defineProperty(n,"AccountOverview",{enumerable:!0,get:function(){return i.AccountOverview}}),Object.defineProperty(n,"AccountPicker",{enumerable:!0,get:function(){return s.AccountPicker}}),Object.defineProperty(n,"ActivityListItem",{enumerable:!0,get:function(){return l.ActivityListItem}}),Object.defineProperty(n,"AddressCopyButton",{enumerable:!0,get:function(){return g.AddressCopyButton}}),Object.defineProperty(n,"AddressListItem",{enumerable:!0,get:function(){return A.AddressListItem}}),Object.defineProperty(n,"AppHeader",{enumerable:!0,get:function(){return c.AppHeader}}),Object.defineProperty(n,"AssetPickerAmount",{enumerable:!0,get:function(){return O.AssetPickerAmount}}),Object.defineProperty(n,"AvatarGroup",{enumerable:!0,get:function(){return S.AvatarGroup}}),Object.defineProperty(n,"ConnectedAccountsMenu",{enumerable:!0,get:function(){return C.ConnectedAccountsMenu}}),Object.defineProperty(n,"ConnectedSiteMenu",{enumerable:!0,get:function(){return h.ConnectedSiteMenu}}),Object.defineProperty(n,"ConnectedStatus",{enumerable:!0,get:function(){return N.ConnectedStatus}}),Object.defineProperty(n,"CreateAccount",{enumerable:!0,get:function(){return x.CreateAccount}}),Object.defineProperty(n,"CreateEthAccount",{enumerable:!0,get:function(){return T.CreateEthAccount}}),Object.defineProperty(n,"DetectedTokensBanner",{enumerable:!0,get:function(){return u.DetectedTokensBanner}}),Object.defineProperty(n,"GlobalMenu",{enumerable:!0,get:function(){return d.GlobalMenu}}),Object.defineProperty(n,"ImportAccount",{enumerable:!0,get:function(){return w.ImportAccount}}),Object.defineProperty(n,"ImportNftsModal",{enumerable:!0,get:function(){return _.ImportNftsModal}}),Object.defineProperty(n,"ImportTokenLink",{enumerable:!0,get:function(){return p.ImportTokenLink}}),Object.defineProperty(n,"ImportTokensModal",{enumerable:!0,get:function(){return M.ImportTokensModal}}),Object.defineProperty(n,"NetworkListItem",{enumerable:!0,get:function(){return y.NetworkListItem}}),Object.defineProperty(n,"NetworkListMenu",{enumerable:!0,get:function(){return b.NetworkListMenu}}),Object.defineProperty(n,"NotificationDetail",{enumerable:!0,get:function(){return B.NotificationDetail}}),Object.defineProperty(n,"NotificationDetailAddress",{enumerable:!0,get:function(){return D.NotificationDetailAddress}}),Object.defineProperty(n,"NotificationDetailAsset",{enumerable:!0,get:function(){return F.NotificationDetailAsset}}),Object.defineProperty(n,"NotificationDetailBlockExplorerButton",{enumerable:!0,get:function(){return H.NotificationDetailBlockExplorerButton}}),Object.defineProperty(n,"NotificationDetailButton",{enumerable:!0,get:function(){return V.NotificationDetailButton}}),Object.defineProperty(n,"NotificationDetailCollection",{enumerable:!0,get:function(){return L.NotificationDetailCollection}}),Object.defineProperty(n,"NotificationDetailCopyButton",{enumerable:!0,get:function(){return R.NotificationDetailCopyButton}}),Object.defineProperty(n,"NotificationDetailInfo",{enumerable:!0,get:function(){return z.NotificationDetailInfo}}),Object.defineProperty(n,"NotificationDetailNetworkFee",{enumerable:!0,get:function(){return $.NotificationDetailNetworkFee}}),Object.defineProperty(n,"NotificationDetailNft",{enumerable:!0,get:function(){return W.NotificationDetailNft}}),Object.defineProperty(n,"NotificationDetailTitle",{enumerable:!0,get:function(){return U.NotificationDetailTitle}}),Object.defineProperty(n,"NotificationListItem",{enumerable:!0,get:function(){return I.NotificationListItem}}),Object.defineProperty(n,"NotificationListItemIcon",{enumerable:!0,get:function(){return P.NotificationListItemIcon}}),Object.defineProperty(n,"NotificationListItemSnap",{enumerable:!0,get:function(){return Y.NotificationListItemSnap}}),Object.defineProperty(n,"NotificationListItemText",{enumerable:!0,get:function(){return j.NotificationListItemText}}),Object.defineProperty(n,"NotificationsPage",{enumerable:!0,get:function(){return G.NotificationsPage}}),Object.defineProperty(n,"NotificationsSettingsAccount",{enumerable:!0,get:function(){return J.NotificationsSettingsAccount}}),Object.defineProperty(n,"NotificationsSettingsBox",{enumerable:!0,get:function(){return q.NotificationsSettingsBox}}),Object.defineProperty(n,"NotificationsSettingsType",{enumerable:!0,get:function(){return K.NotificationsSettingsType}}),Object.defineProperty(n,"NotificationsTagCounter",{enumerable:!0,get:function(){return Q.NotificationsTagCounter}}),Object.defineProperty(n,"PermissionDetailsModal",{enumerable:!0,get:function(){return Z.PermissionDetailsModal}}),Object.defineProperty(n,"ProductTour",{enumerable:!0,get:function(){return v.ProductTour}}),Object.defineProperty(n,"ReceiveTokenLink",{enumerable:!0,get:function(){return m.ReceiveTokenLink}}),Object.defineProperty(n,"Toast",{enumerable:!0,get:function(){return X.Toast}}),Object.defineProperty(n,"ToastContainer",{enumerable:!0,get:function(){return X.ToastContainer}}),Object.defineProperty(n,"TokenListItem",{enumerable:!0,get:function(){return f.TokenListItem}}),Object.defineProperty(n,"ViewExplorerMenuItem",{enumerable:!0,get:function(){return E.ViewExplorerMenuItem}});var o=e("./account-list-item"),a=e("./account-list-item-menu"),r=e("./account-list-menu"),i=e("./account-overview"),s=e("./account-picker"),l=e("./activity-list-item"),c=e("./app-header"),u=e("./detected-token-banner"),d=e("./global-menu"),p=e("./import-token-link"),m=e("./receive-token-link"),f=e("./token-list-item"),g=e("./address-copy-button"),h=e("./connected-site-menu"),y=e("./network-list-item"),b=e("./network-list-menu"),v=e("./product-tour-popover"),k=e("./account-details"),x=e("./create-account"),T=e("./create-eth-account"),C=e("./connected-accounts-menu"),w=e("./import-account"),_=e("./import-nfts-modal"),E=e("./menu-items"),M=e("./import-tokens-modal"),S=e("./avatar-group"),O=e("./asset-picker-amount"),A=e("./address-list-item"),N=e("./connected-status"),I=e("./notification-list-item"),P=e("./notification-list-item-icon"),j=e("./notification-list-item-text"),B=e("./notification-detail"),D=e("./notification-detail-address"),F=e("./notification-detail-asset"),L=e("./notification-detail-collection"),R=e("./notification-detail-copy-button"),$=e("./notification-detail-network-fee"),z=e("./notification-detail-info"),W=e("./notification-detail-nft"),U=e("./notification-detail-title"),V=e("./notification-detail-button"),H=e("./notification-detail-block-explorer-button"),G=e("./notifications-page"),q=e("./notifications-settings-box"),K=e("./notifications-settings-type"),J=e("./notifications-settings-account"),Y=e("./notification-list-item-snap"),Q=e("./notifications-tag-counter"),X=e("./toast"),Z=e("./permission-details-modal")}}},{package:"$root$",file:"ui/components/multichain/index.js"}],[5093,{"../../../../shared/constants/metametrics":4505,"../../../contexts/metametrics":5327,"../../../hooks/useI18nContext":5427,"../../../store/actions":5998,"../../component-library":4955,"../../ui/menu":5264,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.AccountDetailsMenuItem=void 0;var o,a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=m(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}(e("react")),r=(o=e("prop-types"))&&o.__esModule?o:{default:o},i=e("react-redux"),s=e("../../../store/actions"),l=e("../../ui/menu"),c=e("../../../hooks/useI18nContext"),u=e("../../../contexts/metametrics"),d=e("../../../../shared/constants/metametrics"),p=e("../../component-library");function m(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(m=function(e){return e?n:t})(e)}const f=({metricsLocation:e,closeMenu:t,address:n,textProps:o})=>{const r=(0,c.useI18nContext)(),m=(0,i.useDispatch)(),f=(0,a.useContext)(u.MetaMetricsContext),g=r("accountDetails");return a.default.createElement(l.MenuItem,{onClick:()=>{m((0,s.setAccountDetailsAddress)(n)),f({event:d.MetaMetricsEventName.AccountDetailsOpened,category:d.MetaMetricsEventCategory.Navigation,properties:{location:e}}),null==t||t()},iconName:p.IconName.ScanBarcode,"data-testid":"account-list-menu-details"},o?a.default.createElement(p.Text,o,g):g)};n.AccountDetailsMenuItem=f,f.propTypes={metricsLocation:r.default.string.isRequired,closeMenu:r.default.func,address:r.default.string.isRequired,textProps:r.default.object}}}},{package:"$root$",file:"ui/components/multichain/menu-items/account-details-menu-item.js"}],[5094,{"./account-details-menu-item":5093,"./view-explorer-menu-item":5095},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"AccountDetailsMenuItem",{enumerable:!0,get:function(){return o.AccountDetailsMenuItem}}),Object.defineProperty(n,"ViewExplorerMenuItem",{enumerable:!0,get:function(){return a.ViewExplorerMenuItem}});var o=e("./account-details-menu-item"),a=e("./view-explorer-menu-item")}}},{package:"$root$",file:"ui/components/multichain/menu-items/index.js"}],[5095,{"../../../../shared/constants/metametrics":4505,"../../../../shared/modules/hexstring-utils":4544,"../../../contexts/metametrics":5327,"../../../helpers/constants/routes":5361,"../../../helpers/utils/util":5399,"../../../hooks/useI18nContext":5427,"../../../selectors":5987,"../../component-library":4955,"../../ui/menu":5264,"@metamask/etherscan-link":1369,"prop-types":3997,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.ViewExplorerMenuItem=void 0;var o,a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=b(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}(e("react")),r=(o=e("prop-types"))&&o.__esModule?o:{default:o},i=e("react-redux"),s=e("react-router-dom"),l=e("@metamask/etherscan-link"),c=e("../../ui/menu"),u=e("../../../hooks/useI18nContext"),d=e("../../../contexts/metametrics"),p=e("../../../../shared/constants/metametrics"),m=e("../../component-library"),f=e("../../../selectors"),g=e("../../../helpers/utils/util"),h=e("../../../helpers/constants/routes"),y=e("../../../../shared/modules/hexstring-utils");function b(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(b=function(e){return e?n:t})(e)}const v=({metricsLocation:e,closeMenu:t,textProps:n,address:o})=>{const r=(0,u.useI18nContext)(),b=(0,a.useContext)(d.MetaMetricsContext),v=(0,s.useHistory)(),k=(0,i.useSelector)(f.getCurrentChainId),x=(0,i.useSelector)(f.getRpcPrefsForCurrentProvider),T=(0,l.getAccountLink)((0,y.toChecksumHexAddress)(o),k,x),{blockExplorerUrl:C}=x,w=(0,g.getURLHostName)(C),_=(0,i.useSelector)(f.getBlockExplorerLinkText),E=r("viewOnExplorer");return a.default.createElement(c.MenuItem,{onClick:()=>{"addBlockExplorer"===_.firstPart?v.push(`${h.NETWORKS_ROUTE}#blockExplorerUrl`):(b({event:p.MetaMetricsEventName.ExternalLinkClicked,category:p.MetaMetricsEventCategory.Navigation,properties:{link_type:p.MetaMetricsEventLinkType.AccountTracker,location:e,url_domain:(0,g.getURLHostName)(T)}}),global.platform.openTab({url:T}),t()),b({event:p.MetaMetricsEventName.BlockExplorerLinkClicked,category:p.MetaMetricsEventCategory.Accounts,properties:{location:e,chain_id:k}}),null==t||t()},subtitle:w||null,iconName:m.IconName.Export,"data-testid":"account-list-menu-open-explorer"},n?a.default.createElement(m.Text,n,E):E)};n.ViewExplorerMenuItem=v,v.propTypes={metricsLocation:r.default.string.isRequired,closeMenu:r.default.func,address:r.default.string.isRequired,textProps:r.default.object}}}},{package:"$root$",file:"ui/components/multichain/menu-items/view-explorer-menu-item.js"}],[5096,{"./network-list-item":5097},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"NetworkListItem",{enumerable:!0,get:function(){return o.NetworkListItem}});var o=e("./network-list-item")}}},{package:"$root$",file:"ui/components/multichain/network-list-item/index.js"}],[5097,{"../../../helpers/constants/design-system":5355,"../../../helpers/utils/accounts":5378,"../../../hooks/useI18nContext":5427,"../../component-library":4955,"../../ui/tooltip/tooltip":5311,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.NetworkListItem=void 0;var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=p(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}(e("react")),a=d(e("classnames")),r=d(e("prop-types")),i=e("../../../helpers/constants/design-system"),s=e("../../component-library"),l=e("../../../hooks/useI18nContext"),c=e("../../../helpers/utils/accounts"),u=d(e("../../ui/tooltip/tooltip"));function d(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(p=function(e){return e?n:t})(e)}const m=({name:e,iconSrc:t,selected:n=!1,focus:r=!0,onClick:d,onDeleteClick:p})=>{const m=(0,l.useI18nContext)(),f=(0,o.useRef)();(0,o.useEffect)((()=>{f.current&&r&&f.current.focus()}),[f,r]);return o.default.createElement(s.Box,{padding:4,gap:2,backgroundColor:n?i.Color.primaryMuted:i.Color.transparent,className:(0,a.default)("multichain-network-list-item",{"multichain-network-list-item--selected":n}),display:i.Display.Flex,alignItems:i.AlignItems.center,justifyContent:i.JustifyContent.spaceBetween,width:i.BlockSize.Full,onClick:d},n&&o.default.createElement(s.Box,{className:"multichain-network-list-item__selected-indicator",borderRadius:i.BorderRadius.pill,backgroundColor:i.Color.primaryDefault}),o.default.createElement(s.AvatarNetwork,{backgroundColor:(0,c.getAvatarNetworkColor)(e),name:e,src:t}),o.default.createElement(s.Box,{className:"multichain-network-list-item__network-name",display:i.Display.Flex,alignItems:i.AlignItems.center,"data-testid":e},o.default.createElement(s.Text,{ref:f,color:i.TextColor.textDefault,backgroundColor:i.BackgroundColor.transparent,ellipsis:!0,onKeyDown:e=>{"Enter"===e.key&&(e.stopPropagation(),d())},tabIndex:"0"},e.length>20?o.default.createElement(u.default,{title:e,position:"bottom",wrapperClassName:"multichain-network-list-item__tooltip"},e):e)),p?o.default.createElement(s.ButtonIcon,{className:"multichain-network-list-item__delete",color:i.IconColor.errorDefault,iconName:s.IconName.Trash,ariaLabel:m("deleteNetwork"),size:i.Size.SM,onClick:e=>{e.stopPropagation(),p()}}):null)};n.NetworkListItem=m,m.propTypes={name:r.default.string.isRequired,iconSrc:r.default.string,selected:r.default.bool,onClick:r.default.func.isRequired,onDeleteClick:r.default.func,focus:r.default.bool}}}},{package:"$root$",file:"ui/components/multichain/network-list-item/network-list-item.js"}],[5098,{"./network-list-menu":5099},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"NetworkListMenu",{enumerable:!0,get:function(){return o.NetworkListMenu}});var o=e("./network-list-menu")}}},{package:"$root$",file:"ui/components/multichain/network-list-menu/index.js"}],[5099,{"../../../../app/scripts/lib/util":120,"../../../../shared/constants/app":4493,"../../../../shared/constants/metametrics":4505,"../../../../shared/constants/network":4507,"../../../contexts/metametrics":5327,"../../../ducks/metamask/metamask":5346,"../../../helpers/constants/design-system":5355,"../../../helpers/constants/routes":5361,"../../../hooks/useI18nContext":5427,"../../../selectors":5987,"../../../store/actions":5998,"../../component-library":4955,"../../component-library/modal-content/deprecated":4963,"../../component-library/modal-header/deprecated":4972,"../../component-library/text-field-search/deprecated":5e3,"../../ui/toggle-button":5306,"../network-list-item":5096,"fuse.js":3407,"prop-types":3997,react:4243,"react-beautiful-dnd":4067,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.NetworkListMenu=void 0;var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=M(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}(e("react")),a=E(e("prop-types")),r=e("react-beautiful-dnd"),i=e("react-redux"),s=e("react-router-dom"),l=E(e("fuse.js")),c=e("../../../hooks/useI18nContext"),u=e("../network-list-item"),d=e("../../../store/actions"),p=e("../../../../shared/constants/network"),m=e("../../../selectors"),f=E(e("../../ui/toggle-button")),g=e("../../../helpers/constants/design-system"),h=e("../../component-library"),y=e("../../component-library/modal-content/deprecated"),b=e("../../component-library/modal-header/deprecated"),v=e("../../component-library/text-field-search/deprecated"),k=e("../../../helpers/constants/routes"),x=e("../../../../app/scripts/lib/util"),T=e("../../../../shared/constants/app"),C=e("../../../contexts/metametrics"),w=e("../../../../shared/constants/metametrics"),_=e("../../../ducks/metamask/metamask");function E(e){return e&&e.__esModule?e:{default:e}}function M(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(M=function(e){return e?n:t})(e)}function S(){return S=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const t=(0,c.useI18nContext)(),n=(0,i.useSelector)(m.getNonTestNetworks),a=(0,i.useSelector)(m.getTestNetworks),E=(0,i.useSelector)(m.getShowTestNetworks),M=(0,i.useSelector)(m.getCurrentChainId),O=(0,i.useSelector)(m.getOriginOfCurrentTab),A=(0,i.useSelector)(m.getUseRequestQueue),N=(0,i.useDispatch)(),I=(0,s.useHistory)(),P=(0,o.useContext)(C.MetaMetricsContext),j=(0,i.useSelector)(m.getCurrentNetwork),B=p.TEST_CHAINS.includes(M),D=(0,x.getEnvironmentType)()===T.ENVIRONMENT_TYPE_FULLSCREEN,F=(0,i.useSelector)(_.getCompletedOnboarding),L=(0,i.useSelector)(_.getIsUnlocked),R=n.length>3,$=(0,i.useSelector)(m.getOrderedNetworksList),z=(()=>{if(!$||0===$.length)return n;const e={};$.forEach(((t,n)=>{e[`${t.networkId}_${t.networkRpcUrl}`]=n}));return n.sort(((t,n)=>{const o=`${t.chainId}_${t.rpcUrl}`,a=`${n.chainId}_${n.rpcUrl}`;return e[o]-e[a]}))})(),[W,U]=(0,o.useState)([...z]);(0,o.useEffect)((()=>{B&&N((0,d.setShowTestNetworks)(B))}),[N,B]);const[V,H]=(0,o.useState)(""),G=(0,i.useSelector)(m.getOnboardedInThisUISession),q=(0,i.useSelector)(m.getShowNetworkBanner),K=F&&!G&&q;let J=[...z].length===W.length?W:[...z];const Y=""!==V;if(Y){const e=new l.default(J,{threshold:.2,location:0,distance:100,maxPatternLength:32,minMatchCharLength:1,shouldSort:!0,keys:["nickname","chainId","ticker"]});e.setCollection(J);const t=e.search(V);J=J.filter((e=>t.includes(e)))}const Q=({network:e,isCurrentNetwork:t,canDeleteNetwork:n})=>{var a;return o.default.createElement(u.NetworkListItem,{name:e.nickname,iconSrc:null==e||null===(a=e.rpcPrefs)||void 0===a?void 0:a.imageUrl,key:e.id,selected:t,focus:t&&!R,onClick:()=>{N((0,d.toggleNetworkMenu)()),e.providerType?N((0,d.setProviderType)(e.providerType)):N((0,d.setActiveNetwork)(e.id)),A&&O&&(0,d.setNetworkClientIdForDomain)(O,e.id),P({event:w.MetaMetricsEventName.NavNetworkSwitched,category:w.MetaMetricsEventCategory.Network,properties:{location:"Network Menu",chain_id:M,from_network:M,to_network:e.chainId}})},onDeleteClick:n?()=>{N((0,d.toggleNetworkMenu)()),N((0,d.showModal)({name:"CONFIRM_DELETE_NETWORK",target:e.id,onConfirm:()=>undefined}))}:null})};return o.default.createElement(h.Modal,{isOpen:!0,onClose:e},o.default.createElement(h.ModalOverlay,null),o.default.createElement(y.ModalContent,{className:"multichain-network-list-menu-content-wrapper",modalDialogProps:{className:"multichain-network-list-menu-content-wrapper__dialog",display:g.Display.Flex,flexDirection:g.FlexDirection.Column,padding:0}},o.default.createElement(b.ModalHeader,{paddingTop:4,paddingRight:4,paddingBottom:6,onClose:e},t("networkMenuHeading")),o.default.createElement(o.default.Fragment,null,R?o.default.createElement(h.Box,{paddingLeft:4,paddingRight:4,paddingBottom:4,paddingTop:0},o.default.createElement(v.TextFieldSearch,{size:g.Size.SM,width:g.BlockSize.Full,placeholder:t("search"),value:V,onChange:e=>H(e.target.value),clearButtonOnClick:()=>H(""),clearButtonProps:{size:g.Size.SM},inputProps:{autoFocus:!0}})):null,K?o.default.createElement(h.BannerBase,{className:"network-list-menu__banner",marginLeft:4,marginRight:4,marginBottom:4,backgroundColor:g.BackgroundColor.backgroundAlternative,startAccessory:o.default.createElement(h.Box,{display:g.Display.Flex,alignItems:g.AlignItems.center,justifyContent:g.JustifyContent.center},o.default.createElement("img",{src:"./images/dragging-animation.svg",alt:"drag-and-drop"})),onClose:()=>(0,d.hideNetworkBanner)(),description:t("dragAndDropBanner")}):null,o.default.createElement(h.Box,{className:"multichain-network-list-menu"},0===J.length&&Y?o.default.createElement(h.Text,{paddingLeft:4,paddingRight:4,color:g.TextColor.textMuted,"data-testid":"multichain-network-menu-popover-no-results"},t("noNetworksFound")):o.default.createElement(r.DragDropContext,{onDragEnd:e=>{if(!e.destination)return;const t=[...W],[n]=t.splice(e.source.index,1);t.splice(e.destination.index,0,n);const o=t.map((e=>({networkId:e.chainId,networkRpcUrl:e.rpcUrl})));N((0,d.updateNetworksList)(o)),U(t)}},o.default.createElement(r.Droppable,{droppableId:"characters"},(e=>o.default.createElement(h.Box,S({className:"characters"},e.droppableProps,{ref:e.innerRef}),J.map(((e,t)=>{const n=j.id===e.id,a=L&&!n&&e.removable,i=Q({network:e,isCurrentNetwork:n,canDeleteNetwork:a});return o.default.createElement(r.Draggable,{key:e.id,draggableId:e.id,index:t},(e=>o.default.createElement(h.Box,S({ref:e.innerRef},e.draggableProps,e.dragHandleProps),i)))})),e.placeholder))))),o.default.createElement(h.Box,{padding:4,display:g.Display.Flex,justifyContent:g.JustifyContent.spaceBetween},o.default.createElement(h.Text,null,t("showTestnetNetworks")),o.default.createElement(f.default,{value:E,disabled:B,onToggle:e=>{const t=!e;N((0,d.setShowTestNetworks)(t)),t&&P({event:w.MetaMetricsEventName.TestNetworksDisplayed,category:w.MetaMetricsEventCategory.Network})}})),E||B?o.default.createElement(h.Box,{className:"multichain-network-list-menu"},a.map((e=>{const t=j.id===e.id&&j.rpcUrl===e.rpcUrl,n=L&&!t&&e.removable;return Q({network:e,isCurrentNetwork:t,canDeleteNetwork:n})}))):null,o.default.createElement(h.Box,{padding:4},o.default.createElement(h.ButtonSecondary,{size:h.ButtonSecondarySize.Lg,startIconName:h.IconName.Add,block:!0,onClick:()=>{D?F?I.push(k.ADD_POPULAR_CUSTOM_NETWORK):N((0,d.showModal)({name:"ONBOARDING_ADD_NETWORK"})):global.platform.openExtensionInBrowser(k.ADD_POPULAR_CUSTOM_NETWORK),N((0,d.toggleNetworkMenu)()),P({event:w.MetaMetricsEventName.AddNetworkButtonClick,category:w.MetaMetricsEventCategory.Network})}},t("addNetwork"))))))};n.NetworkListMenu=O,O.propTypes={onClose:a.default.func.isRequired}}}},{package:"$root$",file:"ui/components/multichain/network-list-menu/network-list-menu.js"}],[5100,{"./nft-item":5101},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"NftItem",{enumerable:!0,get:function(){return o.NftItem}});var o=e("./nft-item")}}},{package:"$root$",file:"ui/components/multichain/nft-item/index.js"}],[5101,{"../../../helpers/constants/design-system":5355,"../../../selectors":5987,"../../app/nft-default-image/nft-default-image":4716,"../../component-library":4955,classnames:3049,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.NftItem=void 0;var o=d(e("react")),a=d(e("prop-types")),r=d(e("classnames")),i=e("react-redux"),s=d(e("../../app/nft-default-image/nft-default-image")),l=e("../../component-library"),c=e("../../../helpers/constants/design-system"),u=e("../../../selectors");function d(e){return e&&e.__esModule?e:{default:e}}const p=({alt:e,name:t,src:n,networkName:a,networkSrc:d,tokenId:p,onClick:m,clickable:f,isIpfsURL:g})=>{const h=(0,i.useSelector)(u.getTestNetworkBackgroundColor),y=(0,i.useSelector)(u.getIpfsGateway),b=(0,i.useSelector)(u.getOpenSeaEnabled),v=y&&g&&n||b&&n&&!g?o.default.createElement(l.Box,{className:"nft-item__item nft-item__item-image","data-testid":"nft-image",as:"img",src:n,alt:e,display:c.Display.Block,justifyContent:c.JustifyContent.center}):o.default.createElement(s.default,{className:"nft-item__default-image","data-testid":"nft-default-image",name:t,tokenId:p,clickable:f&&g});return o.default.createElement(l.Box,{className:"nft-item__container","data-testid":"nft-item",as:"button",onClick:m},o.default.createElement(l.BadgeWrapper,{className:(0,r.default)("nft-item__badge-wrapper",{"nft-item__badge-wrapper__clickable":f}),anchorElementShape:l.BadgeWrapperAnchorElementShape.circular,positionObj:{top:-4,right:-4},display:c.Display.Block,badge:o.default.createElement(l.AvatarNetwork,{className:"nft-item__network-badge",backgroundColor:h,"data-testid":"nft-network-badge",size:l.AvatarNetworkSize.Sm,name:a,src:d,borderWidth:2,borderColor:c.BackgroundColor.backgroundDefault})},v))};n.NftItem=p,p.propTypes={src:a.default.string,alt:a.default.string.isRequired,name:a.default.string.isRequired,networkName:a.default.string.isRequired,networkSrc:a.default.string.isRequired,tokenId:a.default.string.isRequired,onClick:a.default.func,clickable:a.default.bool,isIpfsURL:a.default.bool}}}},{package:"$root$",file:"ui/components/multichain/nft-item/nft-item.js"}],[5102,{"./notification-detail-address":5103},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"NotificationDetailAddress",{enumerable:!0,get:function(){return o.NotificationDetailAddress}});var o=e("./notification-detail-address")}}},{package:"$root$",file:"ui/components/multichain/notification-detail-address/index.ts"}],[5103,{"../../../../shared/modules/hexstring-utils":4544,"../../../helpers/constants/design-system":5355,"../../../helpers/utils/util":5399,"../../component-library":4955,"../notification-detail":5122,"../notification-detail-copy-button":5112,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.NotificationDetailAddress=void 0;var o,a=(o=e("react"))&&o.__esModule?o:{default:o},r=e("../notification-detail"),i=e("../notification-detail-copy-button"),s=e("../../component-library"),l=e("../../../helpers/constants/design-system"),c=e("../../../helpers/utils/util"),u=e("../../../../shared/modules/hexstring-utils");const d=({side:e})=>a.default.createElement(s.Text,{variant:l.TextVariant.bodyLgMedium,fontWeight:l.FontWeight.Medium},e);n.NotificationDetailAddress=({side:e,address:t})=>{const n=(0,u.toChecksumHexAddress)(t),o=(0,c.shortenAddress)(n);return a.default.createElement(r.NotificationDetail,{icon:a.default.createElement(s.AvatarAccount,{address:t}),primaryTextLeft:a.default.createElement(d,{side:e}),secondaryTextLeft:a.default.createElement(i.NotificationDetailCopyButton,{text:t,displayText:o})})}}}},{package:"$root$",file:"ui/components/multichain/notification-detail-address/notification-detail-address.tsx"}],[5104,{"./notification-detail-asset":5105},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"NotificationDetailAsset",{enumerable:!0,get:function(){return o.NotificationDetailAsset}});var o=e("./notification-detail-asset")}}},{package:"$root$",file:"ui/components/multichain/notification-detail-asset/index.ts"}],[5105,{"../../../helpers/constants/design-system":5355,"../../component-library":4955,"../notification-detail":5122,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.NotificationDetailAsset=void 0;var o,a=(o=e("react"))&&o.__esModule?o:{default:o},r=e("../notification-detail"),i=e("../../component-library"),s=e("../../../helpers/constants/design-system");const l=(e,t,n,o)=>a.default.createElement(i.Text,{variant:e,fontWeight:t,color:n},o);n.NotificationDetailAsset=({icon:e,label:t,detail:n,fiatValue:o,value:c})=>{var u;const d=a.default.createElement(i.AvatarToken,{src:null===(u=e.badge)||void 0===u?void 0:u.src,size:i.AvatarTokenSize.Sm,backgroundColor:s.BackgroundColor.infoDefault,borderColor:s.BorderColor.backgroundDefault,borderWidth:2}),p=e.badge?a.default.createElement(i.BadgeWrapper,{position:e.badge.position||i.BadgeWrapperPosition.topRight,badge:d},a.default.createElement(i.AvatarToken,{src:e.src,borderColor:s.BorderColor.borderMuted,className:"notification-detail-asset__icon"})):a.default.createElement(i.AvatarToken,{src:e.src,borderColor:s.BorderColor.borderMuted,className:"notification-detail-asset__icon"}),m=l(s.TextVariant.bodyLgMedium,s.FontWeight.Medium,s.TextColor.textDefault,t),f=l(s.TextVariant.bodyMd,s.FontWeight.Normal,s.TextColor.textAlternative,n),g=c?l(s.TextVariant.bodyLgMedium,s.FontWeight.Medium,s.TextColor.textDefault,c):undefined,h=o?l(s.TextVariant.bodyMd,s.FontWeight.Normal,s.TextColor.textAlternative,o):undefined;return a.default.createElement(r.NotificationDetail,{icon:p,primaryTextLeft:m,secondaryTextLeft:f,primaryTextRight:g,secondaryTextRight:h})}}}},{package:"$root$",file:"ui/components/multichain/notification-detail-asset/notification-detail-asset.tsx"}],[5106,{"./notification-detail-block-explorer-button":5107},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"NotificationDetailBlockExplorerButton",{enumerable:!0,get:function(){return o.NotificationDetailBlockExplorerButton}});var o=e("./notification-detail-block-explorer-button")}}},{package:"$root$",file:"ui/components/multichain/notification-detail-block-explorer-button/index.ts"}],[5107,{"../../../../shared/modules/conversion.utils":4537,"../../../helpers/utils/notification.util":5392,"../../../hooks/useI18nContext":5427,"../../../selectors":5987,"../../component-library":4955,"../notification-detail-button":5108,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.NotificationDetailBlockExplorerButton=void 0;var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=d(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}(e("react")),a=e("react-redux"),r=e("../../../selectors"),i=e("../../component-library"),s=e("../../../../shared/modules/conversion.utils"),l=e("../../../hooks/useI18nContext"),c=e("../../../helpers/utils/notification.util"),u=e("../notification-detail-button");function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(d=function(e){return e?n:t})(e)}n.NotificationDetailBlockExplorerButton=({notification:e,chainId:t,txHash:n,id:d})=>{var p;const m=(0,l.useI18nContext)(),f=(0,s.decimalToHex)(t),{blockExplorerConfig:g}=(0,c.getNetworkDetailsByChainId)(`0x${f}`),h=(0,a.useSelector)(r.getAllNetworks),y=(0,o.useMemo)((()=>h.find((e=>e.chainId===f))),[h]),b=(null==y||null===(p=y.rpcPrefs)||void 0===p?void 0:p.blockExplorerUrl)??(null==g?void 0:g.url),v=null!=y&&null!==(k=y.rpcPrefs)&&void 0!==k&&k.blockExplorerUrl?m("notificationItemCheckBlockExplorer"):null!=g&&g.name?m("notificationTransactionSuccessView",[g.name]):m("notificationItemCheckBlockExplorer");var k;return b?o.default.createElement(u.NotificationDetailButton,{notification:e,variant:i.ButtonVariant.Secondary,text:v,href:`${b}/tx/${n}`,id:d,isExternal:!0}):null}}}},{package:"$root$",file:"ui/components/multichain/notification-detail-block-explorer-button/notification-detail-block-explorer-button.tsx"}],[5108,{"./notification-detail-button":5109},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"NotificationDetailButton",{enumerable:!0,get:function(){return o.NotificationDetailButton}});var o=e("./notification-detail-button")}}},{package:"$root$",file:"ui/components/multichain/notification-detail-button/index.ts"}],[5109,{"../../../../shared/constants/metametrics":4505,"../../../contexts/metametrics":5327,"../../../helpers/constants/design-system":5355,"../../component-library":4955,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.NotificationDetailButton=void 0;var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=l(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}(e("react")),a=e("../../../contexts/metametrics"),r=e("../../../../shared/constants/metametrics"),i=e("../../component-library"),s=e("../../../helpers/constants/design-system");function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(l=function(e){return e?n:t})(e)}n.NotificationDetailButton=({notification:e,variant:t=i.ButtonVariant.Secondary,text:n,href:l,id:c,isExternal:u=!1,endIconName:d=!0})=>{const p=(0,o.useContext)(a.MetaMetricsContext);return o.default.createElement(i.Button,{key:c,href:l,variant:t,externalLink:u,size:i.ButtonSize.Lg,width:s.BlockSize.Full,endIconName:d?i.IconName.Arrow2UpRight:undefined,onClick:()=>{p({category:r.MetaMetricsEventCategory.NotificationInteraction,event:r.MetaMetricsEventName.NotificationDetailClicked,properties:{notificationId:e.id,notificationType:e.type}})}},n)}}}},{package:"$root$",file:"ui/components/multichain/notification-detail-button/notification-detail-button.tsx"}],[5110,{"./notification-detail-collection":5111},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"NotificationDetailCollection",{enumerable:!0,get:function(){return o.NotificationDetailCollection}});var o=e("./notification-detail-collection")}}},{package:"$root$",file:"ui/components/multichain/notification-detail-collection/index.ts"}],[5111,{"../../../helpers/constants/design-system":5355,"../../../helpers/utils/notification.util":5392,"../../../selectors":5987,"../../app/nft-default-image/nft-default-image":4716,"../../component-library":4955,"../notification-detail":5122,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.NotificationDetailCollection=void 0;var o=d(e("react")),a=e("react-redux"),r=e("../../../selectors"),i=d(e("../../app/nft-default-image/nft-default-image")),s=e("../../../helpers/utils/notification.util"),l=e("../notification-detail"),c=e("../../component-library"),u=e("../../../helpers/constants/design-system");function d(e){return e&&e.__esModule?e:{default:e}}n.NotificationDetailCollection=({icon:e,label:t,collection:n})=>{const{badgeSrc:d,src:p}=e,m=(0,a.useSelector)(r.getIpfsGateway),f=(0,a.useSelector)(r.getOpenSeaEnabled),g=m&&(0,s.isIpfsURL)(p)&&p,h=f&&p&&!(0,s.isIpfsURL)(p),y=o.default.createElement(c.AvatarToken,{src:d,backgroundColor:u.BackgroundColor.infoDefault,borderColor:u.BorderColor.backgroundDefault,borderWidth:2,size:c.AvatarTokenSize.Sm}),b=o.default.createElement(c.BadgeWrapper,{position:c.BadgeWrapperPosition.topRight,badge:y},g||h?o.default.createElement(c.Box,{as:"img",src:p,display:u.Display.Block,justifyContent:u.JustifyContent.center,backgroundColor:u.BackgroundColor.primaryMuted,borderRadius:u.BorderRadius.LG,className:"notification-detail-collection__image"}):o.default.createElement(i.default,{className:"nft-item__default-image notification-detail-collection__image","data-testid":"nft-default-image",clickable:!1})),v=(e,t,n,a)=>o.default.createElement(c.Text,{variant:e,fontWeight:t,color:n},a),k=v(u.TextVariant.bodyLgMedium,u.FontWeight.Medium,u.TextColor.textDefault,t),x=v(u.TextVariant.bodyMd,u.FontWeight.Normal,u.TextColor.textAlternative,n);return o.default.createElement(l.NotificationDetail,{icon:b,primaryTextLeft:k,secondaryTextLeft:x})}}}},{package:"$root$",file:"ui/components/multichain/notification-detail-collection/notification-detail-collection.tsx"}],[5112,{"./notification-detail-copy-button":5113},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"NotificationDetailCopyButton",{enumerable:!0,get:function(){return o.NotificationDetailCopyButton}});var o=e("./notification-detail-copy-button")}}},{package:"$root$",file:"ui/components/multichain/notification-detail-copy-button/index.ts"}],[5113,{"../../../../shared/constants/time":4518,"../../../helpers/constants/design-system":5355,"../../../hooks/useCopyToClipboard":5417,"../../../hooks/useI18nContext":5427,"../../component-library":4955,"../../ui/tooltip/tooltip":5311,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.NotificationDetailCopyButton=void 0;var o=u(e("react")),a=e("../../component-library"),r=e("../../../helpers/constants/design-system"),i=e("../../../hooks/useCopyToClipboard"),s=u(e("../../ui/tooltip/tooltip")),l=e("../../../hooks/useI18nContext"),c=e("../../../../shared/constants/time");function u(e){return e&&e.__esModule?e:{default:e}}n.NotificationDetailCopyButton=({text:e,displayText:t,color:n=r.TextColor.textAlternative})=>{const[u,d]=(0,i.useCopyToClipboard)(c.MINUTE),p=(0,l.useI18nContext)(),m=p(u?"copiedExclamation":"copyToClipboard");return o.default.createElement(s.default,{position:"bottom",title:m},o.default.createElement(a.ButtonBase,{backgroundColor:r.BackgroundColor.transparent,onClick:()=>"function"==typeof d&&d(e),paddingRight:0,paddingLeft:0,variant:r.TextVariant.bodyMd,fontWeight:r.FontWeight.Normal,color:n,endIconName:u?a.IconName.CopySuccess:a.IconName.Copy,alignItems:r.AlignItems.center,"data-testid":"address-copy-button-text",size:a.ButtonBaseSize.Sm},o.default.createElement(a.Box,{display:r.Display.Flex},t)))}}}},{package:"$root$",file:"ui/components/multichain/notification-detail-copy-button/notification-detail-copy-button.tsx"}],[5114,{"./notification-detail-info":5115},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"NotificationDetailInfo",{enumerable:!0,get:function(){return o.NotificationDetailInfo}});var o=e("./notification-detail-info")}}},{package:"$root$",file:"ui/components/multichain/notification-detail-info/index.ts"}],[5115,{"../../../helpers/constants/design-system":5355,"../../component-library":4955,"../notification-detail":5122,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.NotificationDetailInfo=void 0;var o,a=(o=e("react"))&&o.__esModule?o:{default:o},r=e("../notification-detail"),i=e("../../component-library"),s=e("../../../helpers/constants/design-system");n.NotificationDetailInfo=({icon:e,label:t,detail:n,action:o})=>a.default.createElement(r.NotificationDetail,{icon:a.default.createElement(i.AvatarIcon,e),primaryTextLeft:a.default.createElement(i.Text,{variant:s.TextVariant.bodyLgMedium,fontWeight:s.FontWeight.Medium,color:s.TextColor.textDefault},t),secondaryTextLeft:a.default.createElement(i.Text,{variant:s.TextVariant.bodyMd,fontWeight:s.FontWeight.Normal,color:s.TextColor.textAlternative},n),secondaryTextRight:o})}}},{package:"$root$",file:"ui/components/multichain/notification-detail-info/notification-detail-info.tsx"}],[5116,{"./notification-detail-network-fee":5117},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"NotificationDetailNetworkFee",{enumerable:!0,get:function(){return o.NotificationDetailNetworkFee}});var o=e("./notification-detail-network-fee")}}},{package:"$root$",file:"ui/components/multichain/notification-detail-network-fee/index.ts"}],[5117,{"../../../../shared/modules/conversion.utils":4537,"../../../helpers/constants/design-system":5355,"../../../helpers/utils/notification.util":5392,"../../../hooks/useI18nContext":5427,"../../component-library":4955,"../../ui/icon/preloader/preloader-icon.component":5240,"../notification-detail":5122,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.NotificationDetailNetworkFee=void 0;var o,a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=p(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}(e("react")),r=e("../../../hooks/useI18nContext"),i=e("../../../helpers/utils/notification.util"),s=e("../../../../shared/modules/conversion.utils"),l=e("../notification-detail"),c=e("../../component-library"),u=e("../../../helpers/constants/design-system"),d=(o=e("../../ui/icon/preloader/preloader-icon.component"))&&o.__esModule?o:{default:o};function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(p=function(e){return e?n:t})(e)}const m=({label:e,value:t})=>a.default.createElement(c.Box,{display:u.Display.Flex,justifyContent:u.JustifyContent.spaceBetween,padding:4},a.default.createElement(c.Text,{color:u.TextColor.textDefault,variant:u.TextVariant.bodyMd,fontWeight:u.FontWeight.Normal},e),a.default.createElement(c.Text,{color:u.TextColor.textAlternative,variant:u.TextVariant.bodyMd,fontWeight:u.FontWeight.Normal},t));n.NotificationDetailNetworkFee=({notification:e})=>{const t=(0,r.useI18nContext)(),[n,o]=(0,a.useState)(!1),[p,f]=(0,a.useState)(null),[g,h]=(0,a.useState)(!1),y=(e=>{const t=(0,s.decimalToHex)(e.chain_id);return(0,i.getNetworkDetailsByChainId)(`0x${t}`)})(e);(0,a.useEffect)((()=>{(async()=>{try{const t=await(0,i.getNetworkFees)(e);t&&f({transactionFee:{transactionFeeInEther:t.transactionFeeInEth,transactionFeeInUsd:t.transactionFeeInUsd},gasLimitUnits:t.gasLimit,gasUsedUnits:t.gasUsed,baseFee:t.baseFee,priorityFee:t.priorityFee,maxFeePerGas:t.maxFeePerGas})}catch(e){h(!0)}})()}),[]);return p||g?!p&&g?a.default.createElement(c.Box,{height:u.BlockSize.Full,width:u.BlockSize.Full,display:u.Display.Flex,justifyContent:u.JustifyContent.center,alignItems:u.AlignItems.center,flexDirection:u.FlexDirection.Column,"data-testid":"notifications-list-loading",paddingTop:4},a.default.createElement(c.Text,{as:"p",color:u.TextColor.errorDefault,variant:u.TextVariant.bodyMd},t("notificationItemError"))):a.default.createElement(c.Box,{width:u.BlockSize.Full,backgroundColor:u.BackgroundColor.transparent,padding:0},a.default.createElement(l.NotificationDetail,{icon:a.default.createElement(c.AvatarIcon,{iconName:c.IconName.Gas,color:u.TextColor.infoDefault,backgroundColor:u.BackgroundColor.infoMuted}),primaryTextLeft:a.default.createElement(c.Text,{variant:u.TextVariant.bodyLgMedium,fontWeight:u.FontWeight.Medium,color:u.TextColor.textDefault},t("notificationDetailNetworkFee")),secondaryTextLeft:a.default.createElement(c.Text,{variant:u.TextVariant.bodyMd,fontWeight:u.FontWeight.Normal,color:u.TextColor.textAlternative},null==p?void 0:p.transactionFee.transactionFeeInEther," ",null==y?void 0:y.nativeCurrencySymbol," (",null==p?void 0:p.transactionFee.transactionFeeInUsd," USD)"),secondaryTextRight:a.default.createElement(c.Box,{paddingLeft:0,paddingRight:0,paddingTop:0,backgroundColor:u.BackgroundColor.transparent,display:u.Display.InlineFlex,alignItems:u.AlignItems.center,justifyContent:u.JustifyContent.flexEnd,gap:2,as:"button",onClick:()=>{o(!n)}},a.default.createElement(c.Text,{color:u.TextColor.primaryDefault,variant:u.TextVariant.bodyMd},t("notificationDetail")),a.default.createElement(c.Icon,{name:n?c.IconName.ArrowUp:c.IconName.ArrowDown,color:u.IconColor.primaryDefault,size:c.IconSize.Sm,marginInlineEnd:1}))}),n&&a.default.createElement(c.Box,{display:u.Display.Flex,flexDirection:u.FlexDirection.Column,justifyContent:u.JustifyContent.flexStart,width:u.BlockSize.Full},a.default.createElement(m,{label:t("notificationDetailGasLimit"),value:(null==p?void 0:p.gasLimitUnits.toString())||""}),a.default.createElement(m,{label:t("notificationDetailGasUsed"),value:(null==p?void 0:p.gasUsedUnits.toString())||""}),a.default.createElement(m,{label:t("notificationDetailBaseFee"),value:(null==p?void 0:p.baseFee)||""}),a.default.createElement(m,{label:t("notificationDetailPriorityFee"),value:(null==p?void 0:p.priorityFee)||""}),a.default.createElement(m,{label:t("notificationDetailMaxFee"),value:(null==p?void 0:p.maxFeePerGas)||""}))):a.default.createElement(c.Box,{height:u.BlockSize.Full,width:u.BlockSize.Full,display:u.Display.Flex,justifyContent:u.JustifyContent.center,alignItems:u.AlignItems.center,flexDirection:u.FlexDirection.Column,"data-testid":"notifications-list-loading"},a.default.createElement(d.default,{size:36}))}}}},{package:"$root$",file:"ui/components/multichain/notification-detail-network-fee/notification-detail-network-fee.tsx"}],[5118,{"./notification-detail-nft":5119},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"NotificationDetailNft",{enumerable:!0,get:function(){return o.NotificationDetailNft}});var o=e("./notification-detail-nft")}}},{package:"$root$",file:"ui/components/multichain/notification-detail-nft/index.ts"}],[5119,{"../../../helpers/constants/design-system":5355,"../../component-library":4955,"../nft-item":5100,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.NotificationDetailNft=void 0;var o,a=(o=e("react"))&&o.__esModule?o:{default:o},r=e("../../component-library"),i=e("../nft-item"),s=e("../../../helpers/constants/design-system");n.NotificationDetailNft=({networkSrc:e,tokenId:t,tokenName:n,tokenSrc:o,networkName:l})=>a.default.createElement(r.Box,{paddingTop:1,paddingBottom:4,display:s.Display.Flex,alignItems:s.AlignItems.center,justifyContent:s.JustifyContent.center},a.default.createElement(r.Box,{className:"notification-detail-nft__image"},a.default.createElement(i.NftItem,{networkSrc:e,src:o,name:n,alt:n,networkName:l,tokenId:t})))}}},{package:"$root$",file:"ui/components/multichain/notification-detail-nft/notification-detail-nft.tsx"}],[5120,{"./notification-detail-title":5121},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"NotificationDetailTitle",{enumerable:!0,get:function(){return o.NotificationDetailTitle}});var o=e("./notification-detail-title")}}},{package:"$root$",file:"ui/components/multichain/notification-detail-title/index.ts"}],[5121,{"../../../helpers/constants/design-system":5355,"../../component-library":4955,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.NotificationDetailTitle=void 0;var o,a=(o=e("react"))&&o.__esModule?o:{default:o},r=e("../../../helpers/constants/design-system"),i=e("../../component-library");n.NotificationDetailTitle=({title:e,date:t})=>a.default.createElement(i.Box,{display:r.Display.Flex,justifyContent:r.JustifyContent.center,alignItems:r.AlignItems.center,width:r.BlockSize.Full,flexDirection:r.FlexDirection.Column,paddingInlineStart:8,paddingInlineEnd:8},a.default.createElement(i.Text,{variant:r.TextVariant.headingSm,textAlign:r.TextAlign.Center,overflowWrap:r.OverflowWrap.BreakWord},e),a.default.createElement(i.Text,{variant:r.TextVariant.bodyXs},t))}}},{package:"$root$",file:"ui/components/multichain/notification-detail-title/notification-detail-title.tsx"}],[5122,{"./notification-detail":5123},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"NotificationDetail",{enumerable:!0,get:function(){return o.NotificationDetail}});var o=e("./notification-detail")}}},{package:"$root$",file:"ui/components/multichain/notification-detail/index.ts"}],[5123,{"../../../helpers/constants/design-system":5355,"../../component-library":4955,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.NotificationDetail=void 0;var o,a=(o=e("react"))&&o.__esModule?o:{default:o},r=e("../../component-library"),i=e("../../../helpers/constants/design-system");n.NotificationDetail=({icon:e,primaryTextLeft:t,primaryTextRight:n,secondaryTextLeft:o,secondaryTextRight:s})=>a.default.createElement(r.Box,{display:i.Display.Flex,justifyContent:i.JustifyContent.spaceBetween,alignItems:i.AlignItems.flexStart,width:i.BlockSize.Full,paddingBottom:2,paddingRight:4,paddingLeft:4,paddingTop:2,backgroundColor:i.BackgroundColor.transparent},a.default.createElement(r.Box,{display:i.Display.Flex,gap:4,paddingRight:4,height:i.BlockSize.Full,alignItems:i.AlignItems.flexStart},a.default.createElement(r.Box,{height:i.BlockSize.Full,className:"notification-detail__icon"},e),a.default.createElement(r.Box,{display:i.Display.Block,flexDirection:i.FlexDirection.Column,alignItems:i.AlignItems.flexStart,textAlign:i.TextAlign.Left},t,o)),a.default.createElement(r.Box,{display:i.Display.Flex,flexDirection:i.FlexDirection.Column,alignItems:i.AlignItems.flexEnd,textAlign:i.TextAlign.Right,className:"notification-detail__right-container"},n??null,s??null))}}},{package:"$root$",file:"ui/components/multichain/notification-detail/notification-detail.tsx"}],[5124,{"./notification-list-item-icon":5125},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"NotificationListItemIcon",{enumerable:!0,get:function(){return o.NotificationListItemIcon}});var o=e("./notification-list-item-icon")}}},{package:"$root$",file:"ui/components/multichain/notification-list-item-icon/index.js"}],[5125,{"../../../helpers/constants/design-system":5355,"../../../helpers/utils/notification.util":5392,"../../../selectors":5987,"../../app/nft-default-image/nft-default-image":4716,"../../component-library":4955,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.NotificationListItemIconType=n.NotificationListItemIcon=void 0;var o=u(e("react")),a=e("react-redux"),r=e("../../../selectors"),i=u(e("../../app/nft-default-image/nft-default-image")),s=e("../../../helpers/utils/notification.util"),l=e("../../component-library"),c=e("../../../helpers/constants/design-system");function u(e){return e&&e.__esModule?e:{default:e}}let d=n.NotificationListItemIconType=function(e){return e.Token="token",e.Nft="nft",e}({});const p=({src:e})=>{const{ipfsImageIsRenderable:t,openseaImageIsRenderable:n,isIpfs:u}=(e=>{const t=(0,a.useSelector)(r.getIpfsGateway),n=(0,a.useSelector)(r.getOpenSeaEnabled),o=(0,s.isIpfsURL)(e);return{ipfsImageIsRenderable:t&&o&&e,openseaImageIsRenderable:n&&e&&!o,isIpfs:o}})(e);return t||n?o.default.createElement(l.Box,{"data-testid":"nft-image",as:"img",src:e,display:c.Display.Block,justifyContent:c.JustifyContent.center,backgroundColor:c.BackgroundColor.primaryMuted,borderRadius:c.BorderRadius.SM,className:"notification-list-item-icon__image"}):o.default.createElement(i.default,{className:"nft-item__default-image notification-list-item-icon__image","data-testid":"nft-default-image",clickable:u})},m={[d.Token]:({src:e})=>o.default.createElement(l.AvatarToken,{"data-testid":"avatar-token",src:e,borderStyle:c.BorderStyle.none,size:l.AvatarTokenSize.Md}),[d.Nft]:({src:e})=>o.default.createElement(p,{src:e}),default:()=>o.default.createElement(l.Box,{"data-testid":"default-icon",as:"img",display:c.Display.Block,borderRadius:c.BorderRadius.SM,backgroundColor:c.BackgroundColor.backgroundDefault,className:"notification-list-item-icon__image"})};n.NotificationListItemIcon=({type:e,value:t,badge:n})=>{const a=m[e]||m.default,r=o.default.createElement(a,{src:t});return o.default.createElement(o.default.Fragment,null,n?((e,t)=>o.default.createElement(l.BadgeWrapper,{"data-testid":"badge-wrapper",position:e.position||l.BadgeWrapperPosition.bottomRight,badge:o.default.createElement(l.AvatarIcon,{iconName:e.icon,size:l.AvatarIconSize.Sm,backgroundColor:c.BackgroundColor.infoDefault,borderColor:c.BorderColor.backgroundDefault,borderWidth:2,iconProps:{name:e.icon,color:c.IconColor.infoInverse,size:l.IconSize.Xs}})},t))(n,r):o.default.createElement(l.Box,{borderRadius:c.BorderRadius.XL},r))}}}},{package:"$root$",file:"ui/components/multichain/notification-list-item-icon/notification-list-item-icon.tsx"}],[5126,{"./notification-list-item-snap":5127},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"NotificationListItemSnap",{enumerable:!0,get:function(){return o.NotificationListItemSnap}});var o=e("./notification-list-item-snap")}}},{package:"$root$",file:"ui/components/multichain/notification-list-item-snap/index.ts"}],[5127,{"../../../helpers/constants/design-system":5355,"../../../helpers/utils/notification.util":5392,"../../app/snaps/snap-avatar":4772,"../../app/snaps/snap-ui-markdown":4810,"../../component-library":4955,"../notification-list-item-text":5128,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.NotificationListItemSnap=void 0;var o=u(e("react")),a=e("../../component-library"),r=e("../../../helpers/constants/design-system"),i=e("../notification-list-item-text"),s=e("../../../helpers/utils/notification.util"),l=e("../../app/snaps/snap-ui-markdown"),c=u(e("../../app/snaps/snap-avatar"));function u(e){return e&&e.__esModule?e:{default:e}}function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;to.default.createElement(a.Box,{className:"notification-list-item "+(t?"":"notification-list-item--unread"),display:r.Display.Flex,flexDirection:r.FlexDirection.Column,justifyContent:r.JustifyContent.spaceBetween,alignItems:r.AlignItems.flexStart,width:r.BlockSize.Full,paddingBottom:3,paddingRight:5,paddingLeft:5,paddingTop:3,key:e,onClick:()=>{null==m||m()},style:{cursor:"pointer"}},o.default.createElement(a.Box,{display:r.Display.Flex,justifyContent:r.JustifyContent.spaceBetween,flexDirection:r.FlexDirection.Row,alignItems:r.AlignItems.flexStart,width:r.BlockSize.Full,backgroundColor:r.BackgroundColor.transparent,gap:4,height:r.BlockSize.Full,style:{paddingLeft:"6px",paddingRight:"6px",paddingTop:"2px"}},!t&&o.default.createElement(a.Box,{display:r.Display.Block,className:"notification-list-item__unread-dot__wrapper--snap"},o.default.createElement(a.Icon,{name:a.IconName.FullCircle,color:r.IconColor.primaryDefault,className:"notification-list-item__unread-dot__dot","data-testid":"unread-dot"})),o.default.createElement(a.Box,{height:r.BlockSize.Full,className:"notification-list-item__icon"},o.default.createElement(c.default,{snapId:"npm:@metamask/notification-example-snap",badgeBackgroundColor:r.BackgroundColor.backgroundDefault,avatarSize:a.IconSize.Md})),o.default.createElement(a.Box,{display:r.Display.Flex,gap:4,height:r.BlockSize.Full,alignItems:r.AlignItems.flexStart,width:r.BlockSize.Full},o.default.createElement(a.Box,{display:r.Display.Block,flexDirection:r.FlexDirection.Column,alignItems:r.AlignItems.flexStart,textAlign:r.TextAlign.Left,width:r.BlockSize.Full},o.default.createElement(a.Box,{display:r.Display.Flex,flexDirection:r.FlexDirection.Row,alignItems:r.AlignItems.flexStart,justifyContent:r.JustifyContent.spaceBetween},o.default.createElement(a.Box,{onClick:()=>{null==f||f()}},o.default.createElement(i.NotificationListItemText,d({},n,{color:r.TextColor.primaryDefault}))),o.default.createElement(a.Text,{color:r.TextColor.textMuted,variant:r.TextVariant.bodySm,fontWeight:r.FontWeight.Normal,as:"p"},(0,s.formatMenuItemDate)(p))),o.default.createElement(a.Box,{color:r.TextColor.textDefault,className:"snap-notifications__item__details__message"},o.default.createElement(l.SnapUIMarkdown,{markdown:!0},u))))))}}},{package:"$root$",file:"ui/components/multichain/notification-list-item-snap/notification-list-item-snap.tsx"}],[5128,{"./notification-list-item-text":5129},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"NotificationListItemText",{enumerable:!0,get:function(){return o.NotificationListItemText}});var o=e("./notification-list-item-text")}}},{package:"$root$",file:"ui/components/multichain/notification-list-item-text/index.ts"}],[5129,{"../../../helpers/constants/design-system":5355,"../../../helpers/utils/notification.util":5392,"../../component-library":4955,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.NotificationListItemText=void 0;var o,a=(o=e("react"))&&o.__esModule?o:{default:o},r=e("../../component-library"),i=e("../../../helpers/constants/design-system"),s=e("../../../helpers/utils/notification.util");n.NotificationListItemText=({items:e,variant:t=i.TextVariant.bodySm,color:n=i.TextColor.textDefault})=>{const o=e.map((({text:t,highlighted:o},l)=>{const c=(0,s.getRandomKey)(t,l),u=o?i.TextColor.infoDefault:n,d=l!==e.length-1&&" ";return a.default.createElement(r.Text,{key:c,as:"span",variant:i.TextVariant.inherit,fontWeight:i.FontWeight.Normal,color:u},t,d)}));return a.default.createElement(r.Text,{as:"p",variant:t},o)}}}},{package:"$root$",file:"ui/components/multichain/notification-list-item-text/notification-list-item-text.tsx"}],[5130,{"./notification-list-item":5131},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"NotificationListItem",{enumerable:!0,get:function(){return o.NotificationListItem}});var o=e("./notification-list-item")}}},{package:"$root$",file:"ui/components/multichain/notification-list-item/index.ts"}],[5131,{"../../../helpers/constants/design-system":5355,"../../../helpers/utils/notification.util":5392,"../../component-library":4955,"../notification-list-item-icon":5124,"../notification-list-item-text":5128,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.NotificationListItem=void 0;var o,a=(o=e("react"))&&o.__esModule?o:{default:o},r=e("../../component-library"),i=e("../../../helpers/constants/design-system"),s=e("../notification-list-item-icon"),l=e("../notification-list-item-text"),c=e("../../../helpers/utils/notification.util");function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;ta.default.createElement(r.Box,{className:"notification-list-item "+(t?"":"notification-list-item--unread"),display:i.Display.Flex,flexDirection:i.FlexDirection.Column,justifyContent:i.JustifyContent.spaceBetween,alignItems:i.AlignItems.flexStart,width:i.BlockSize.Full,paddingBottom:3,paddingRight:5,paddingLeft:5,paddingTop:3,key:e},a.default.createElement(r.Box,{display:i.Display.Flex,justifyContent:i.JustifyContent.spaceBetween,flexDirection:i.FlexDirection.Row,alignItems:i.AlignItems.flexStart,as:"button",onClick:()=>{null==f||f()},width:i.BlockSize.Full,backgroundColor:i.BackgroundColor.transparent},!t&&a.default.createElement(r.Box,{display:i.Display.Block,className:"notification-list-item__unread-dot__wrapper"},a.default.createElement(r.Icon,{name:r.IconName.FullCircle,color:i.IconColor.primaryDefault,className:"notification-list-item__unread-dot__dot","data-testid":"unread-dot"})),a.default.createElement(r.Box,{display:i.Display.Flex,gap:4,paddingRight:4,height:i.BlockSize.Full,alignItems:i.AlignItems.flexStart},a.default.createElement(r.Box,{height:i.BlockSize.Full,className:"notification-list-item__icon"},a.default.createElement(s.NotificationListItemIcon,n)),a.default.createElement(r.Box,{display:i.Display.Block,flexDirection:i.FlexDirection.Column,alignItems:i.AlignItems.flexStart,textAlign:i.TextAlign.Left,width:i.BlockSize.Full},a.default.createElement(l.NotificationListItemText,u({},o,{color:i.TextColor.textAlternative})),a.default.createElement(l.NotificationListItemText,d))),a.default.createElement(r.Box,{display:i.Display.Flex,flexDirection:i.FlexDirection.Column,alignItems:i.AlignItems.flexEnd,textAlign:i.TextAlign.Right,className:"notification-list-item__right-container"},a.default.createElement(r.Text,{color:i.TextColor.textMuted,variant:i.TextVariant.bodySm,fontWeight:i.FontWeight.Normal,as:"p"},(0,c.formatMenuItemDate)(p)),m&&a.default.createElement(r.Text,{color:i.TextColor.textDefault,variant:i.TextVariant.bodyMd,fontWeight:i.FontWeight.Normal,as:"p"},m))))}}},{package:"$root$",file:"ui/components/multichain/notification-list-item/notification-list-item.tsx"}],[5132,{"./notifications-page":5133},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"NotificationsPage",{enumerable:!0,get:function(){return o.NotificationsPage}});var o=e("./notifications-page")}}},{package:"$root$",file:"ui/components/multichain/notifications-page/index.js"}],[5133,{"../../../helpers/constants/design-system":5355,"../../../helpers/constants/routes":5361,"../../../selectors":5987,"../../component-library":4955,"../../ui/metafox-logo":5268,"../pages/page":5152,react:4243,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.NotificationsPage=function({children:e}){const t=(0,a.useHistory)();return o.default.createElement("div",{className:"main-container","data-testid":"notifications-page"},o.default.createElement(r.Box,{display:[i.Display.None,i.Display.Flex],alignItems:i.AlignItems.center,margin:2,className:"multichain-app-header-logo","data-testid":"app-header-logo",justifyContent:i.JustifyContent.center},o.default.createElement(s.default,{unsetIconHeight:!0,onClick:()=>t.push(l.DEFAULT_ROUTE)})),o.default.createElement(c.Page,null,e))};var o=u(e("react")),a=e("react-router-dom"),r=e("../../component-library"),i=e("../../../helpers/constants/design-system"),s=u(e("../../ui/metafox-logo"));e("../../../selectors");var l=e("../../../helpers/constants/routes"),c=e("../pages/page");function u(e){return e&&e.__esModule?e:{default:e}}}}},{package:"$root$",file:"ui/components/multichain/notifications-page/notifications-page.tsx"}],[5134,{"./notifications-settings-account":5135},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"NotificationsSettingsAccount",{enumerable:!0,get:function(){return o.NotificationsSettingsAccount}});var o=e("./notifications-settings-account")}}},{package:"$root$",file:"ui/components/multichain/notifications-settings-account/index.ts"}],[5135,{"../../../helpers/constants/design-system":5355,"../../../helpers/utils/util":5399,"../../component-library":4955,"@metamask/controller-utils":1163,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.NotificationsSettingsAccount=function({address:e,name:t}){const n=(0,r.toChecksumHexAddress)(e);return a.default.createElement(i.Box,{display:s.Display.Flex,flexDirection:s.FlexDirection.Row,alignItems:s.AlignItems.center,gap:4},a.default.createElement(i.AvatarAccount,{address:n}),a.default.createElement(i.Box,{display:s.Display.Flex,flexDirection:s.FlexDirection.Column,alignItems:s.AlignItems.flexStart,justifyContent:s.JustifyContent.spaceBetween,width:s.BlockSize.Full},a.default.createElement(i.Text,{variant:s.TextVariant.bodyLgMedium,textAlign:s.TextAlign.Left},t??n),a.default.createElement(i.Text,{variant:s.TextVariant.bodyMd,textAlign:s.TextAlign.Left,color:s.TextColor.textAlternative},(0,l.shortenAddress)(n))))};var o,a=(o=e("react"))&&o.__esModule?o:{default:o},r=e("@metamask/controller-utils"),i=e("../../component-library"),s=e("../../../helpers/constants/design-system"),l=e("../../../helpers/utils/util")}}},{package:"$root$",file:"ui/components/multichain/notifications-settings-account/notifications-settings-account.tsx"}],[5136,{"./notifications-settings-box":5137},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"NotificationsSettingsBox",{enumerable:!0,get:function(){return o.NotificationsSettingsBox}});var o=e("./notifications-settings-box")}}},{package:"$root$",file:"ui/components/multichain/notifications-settings-box/index.ts"}],[5137,{"../../../helpers/constants/design-system":5355,"../../../hooks/useI18nContext":5427,"../../component-library":4955,"../../ui/icon/preloader/preloader-icon.component":5240,"../../ui/toggle-button":5306,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.NotificationsSettingsBox=function({children:e,value:t,loading:n=!1,disabled:c=!1,error:u=null,onToggle:d}){const p=(0,a.useI18nContext)();return o.default.createElement(r.Box,{width:s.BlockSize.Full},o.default.createElement(r.Box,{display:s.Display.Flex,flexDirection:s.FlexDirection.Row,alignItems:s.AlignItems.center,justifyContent:s.JustifyContent.spaceBetween,width:s.BlockSize.Full,gap:4,className:"notifications-settings-box"},e,o.default.createElement(r.Box,{className:"notifications-settings-box__toggle"},n?o.default.createElement(r.Box,{textAlign:s.TextAlign.Right},o.default.createElement(l.default,{size:24})):o.default.createElement(i.default,{value:t,onToggle:d,disabled:c,dataTestId:"test-toggle",className:"notifications-settings-box__toggle"}))),u&&o.default.createElement(r.Box,{paddingTop:0},o.default.createElement(r.Text,{as:"p",color:s.TextColor.errorDefault,paddingTop:2},p("notificationsSettingsBoxError"))))};var o=c(e("react")),a=e("../../../hooks/useI18nContext"),r=e("../../component-library"),i=c(e("../../ui/toggle-button")),s=e("../../../helpers/constants/design-system"),l=c(e("../../ui/icon/preloader/preloader-icon.component"));function c(e){return e&&e.__esModule?e:{default:e}}}}},{package:"$root$",file:"ui/components/multichain/notifications-settings-box/notifications-settings-box.tsx"}],[5138,{"./notifications-settings-type":5139},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"NotificationsSettingsType",{enumerable:!0,get:function(){return o.NotificationsSettingsType}});var o=e("./notifications-settings-type")}}},{package:"$root$",file:"ui/components/multichain/notifications-settings-type/index.ts"}],[5139,{"../../../helpers/constants/design-system":5355,"../../component-library":4955,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.NotificationsSettingsType=function({icon:e,title:t,text:n}){return a.default.createElement(r.Box,{display:i.Display.Flex,flexDirection:i.FlexDirection.Row,alignItems:i.AlignItems.center,gap:4},e&&a.default.createElement(r.Icon,{name:e,size:r.IconSize.Lg,"data-testid":"icon"}),a.default.createElement(r.Box,{display:i.Display.Flex,flexDirection:i.FlexDirection.Column,alignItems:i.AlignItems.stretch,justifyContent:i.JustifyContent.spaceBetween,width:i.BlockSize.Full},a.default.createElement(r.Text,{variant:i.TextVariant.bodyLgMedium,textAlign:i.TextAlign.Left},t),n&&a.default.createElement(r.Text,{variant:i.TextVariant.bodyMd,textAlign:i.TextAlign.Left,color:i.TextColor.textAlternative},n)))};var o,a=(o=e("react"))&&o.__esModule?o:{default:o},r=e("../../component-library"),i=e("../../../helpers/constants/design-system")}}},{package:"$root$",file:"ui/components/multichain/notifications-settings-type/notifications-settings-type.tsx"}],[5140,{"./notifications-tag-counter":5141},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"NotificationsTagCounter",{enumerable:!0,get:function(){return o.NotificationsTagCounter}});var o=e("./notifications-tag-counter")}}},{package:"$root$",file:"ui/components/multichain/notifications-tag-counter/index.ts"}],[5141,{"../../../helpers/constants/design-system":5355,"../../../hooks/metamask-notifications/useCounter":5404,"../../component-library":4955,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.NotificationsTagCounter=void 0;var o,a=(o=e("react"))&&o.__esModule?o:{default:o},r=e("../../../hooks/metamask-notifications/useCounter"),i=e("../../component-library"),s=e("../../../helpers/constants/design-system");n.NotificationsTagCounter=({noLabel:e=!1})=>{const{notificationsCount:t}=(0,r.useCounter)();return 0===t?null:e?a.default.createElement(i.Box,{display:s.Display.Block,className:"notification-list-item__unread-dot__wrapper",style:{position:"absolute",cursor:"pointer",top:"-5px",left:"10px",zIndex:1},backgroundColor:s.BackgroundColor.errorDefault,borderStyle:s.BorderStyle.none,borderRadius:s.BorderRadius.LG,paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0},a.default.createElement(i.Text,{color:s.TextColor.errorInverse,variant:s.TextVariant.bodyXs,className:"notifications-tag-counter__unread-dot",textAlign:s.TextAlign.Center},t>10?"9+":t)):a.default.createElement(i.Box,{backgroundColor:s.BackgroundColor.errorDefault,borderStyle:s.BorderStyle.none,borderRadius:s.BorderRadius.LG,paddingTop:0,paddingBottom:0,className:"notifications-tag-counter"},a.default.createElement(i.Text,{color:s.TextColor.errorInverse,variant:s.TextVariant.bodySm,"data-testid":"global-menu-notification-count",className:"notifications-tag-counter__text",textAlign:s.TextAlign.Center},t>10?"9+":t))}}}},{package:"$root$",file:"ui/components/multichain/notifications-tag-counter/notifications-tag-counter.tsx"}],[5142,{"../../../../../helpers/constants/design-system":5355,"../../../../../hooks/useI18nContext":5427,"../../../../component-library":4955,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.NoConnectionContent=void 0;var o,a=(o=e("react"))&&o.__esModule?o:{default:o},r=e("../../../../../helpers/constants/design-system"),i=e("../../../../../hooks/useI18nContext"),s=e("../../../../component-library");n.NoConnectionContent=()=>{const e=(0,i.useI18nContext)();return a.default.createElement(s.Box,{className:"connections-page__no-site-connected-content",display:r.Display.Flex,flexDirection:r.FlexDirection.Column,alignItems:r.AlignItems.center,justifyContent:r.JustifyContent.center,gap:2,paddingLeft:4,paddingRight:4},a.default.createElement(s.Text,{variant:r.TextVariant.bodyMdMedium,textAlign:r.TextAlign.Center},e("noConnectedAccountTitle")),a.default.createElement(s.Text,{variant:r.TextVariant.bodyMd,textAlign:r.TextAlign.Center},e("noConnectedAccountDescription")))}}}},{package:"$root$",file:"ui/components/multichain/pages/connections/components/no-connection.tsx"}],[5143,{"../..":5092,"../../../../helpers/constants/design-system":5355,"../../../../helpers/constants/routes":5361,"../../../../helpers/utils/util":5399,"../../../../hooks/useI18nContext":5427,"../../../../selectors":5987,"../../../../store/actions":5998,"../../../component-library":4955,"../../account-list-menu/account-list-menu":5024,"../../connect-accounts-modal/connect-accounts-modal":5064,"../../disconnect-all-modal/disconnect-all-modal":5077,"../page":5152,"./components/no-connection":5142,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.Connections=void 0;var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=v(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}(e("react")),a=e("react-redux"),r=e("react-router-dom"),i=e("../../../../helpers/constants/design-system"),s=e("../../../../helpers/constants/routes"),l=e("../../../../helpers/utils/util"),c=e("../../../../hooks/useI18nContext"),u=e("../../../../selectors"),d=e("../../../component-library"),p=e("../../account-list-menu/account-list-menu"),m=e("../.."),f=e("../page"),g=e("../../connect-accounts-modal/connect-accounts-modal"),h=e("../../../../store/actions"),y=e("../../disconnect-all-modal/disconnect-all-modal"),b=e("./components/no-connection");function v(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(v=function(e){return e?n:t})(e)}n.Connections=()=>{var e;const t=(0,c.useI18nContext)(),n=(0,a.useDispatch)(),v=(0,r.useHistory)(),[k,x]=(0,o.useState)(!1),[T,C]=(0,o.useState)(!1),[w,_]=(0,o.useState)(""),[E,M]=(0,o.useState)(!1),[S,O]=(0,o.useState)(!1),A=(0,r.useParams)(),N=decodeURIComponent(A.origin),I=N,P=(0,a.useSelector)(u.getConnectedSitesList),j=(0,a.useSelector)(u.getSubjectMetadata)[I],{openMetaMaskTabs:B}=(0,a.useSelector)((e=>e.appState)),{id:D}=(0,a.useSelector)((e=>e.activeTab)),F=(0,a.useSelector)((e=>(0,u.getUnconnectedAccounts)(e,I))),L=(0,a.useSelector)((e=>(0,u.getOrderedConnectedAccountsForConnectedDapp)(e,I))),R=(0,a.useSelector)(u.getSelectedAccount),$=(0,a.useSelector)(u.getInternalAccounts),z=(0,p.mergeAccounts)(L,$),W=(0,a.useSelector)(u.getPermittedAccountsByOrigin),U=(0,a.useSelector)(u.getPermissionSubjects),V=!(null!==(e=W[I])&&void 0!==e&&e.length);let H={origin:null};I&&V&&!B[D]&&(H={origin:I});const G=P[I],q=(0,a.useSelector)((e=>(0,u.getPermittedAccountsForSelectedTab)(e,I))),K=z.findIndex(((e,t)=>t===z.reduce(((e,t,n)=>t.metadata.lastSelected>z[e].metadata.lastSelected?n:e),0)));return o.default.createElement(f.Page,{"data-testid":"connections-page",className:"main-container connections-page"},o.default.createElement(f.Header,{backgroundColor:i.BackgroundColor.backgroundDefault,startAccessory:o.default.createElement(d.ButtonIcon,{ariaLabel:t("back"),iconName:d.IconName.ArrowLeft,className:"connections-header__start-accessory",color:i.IconColor.iconDefault,onClick:()=>v.goBack(),size:d.ButtonIconSize.Sm})},o.default.createElement(d.Box,{display:i.Display.Flex,alignItems:i.AlignItems.center,gap:2,justifyContent:i.JustifyContent.center,className:"connections-header__title"},null!=G&&G.iconUrl?o.default.createElement(d.AvatarFavicon,{name:G.name,size:d.AvatarFaviconSize.Sm,src:G.iconUrl}):o.default.createElement(d.Icon,{name:d.IconName.Global,size:d.IconSize.Sm,color:i.IconColor.iconDefault}),o.default.createElement(d.Text,{as:"span",variant:i.TextVariant.headingMd,textAlign:i.TextAlign.Center,ellipsis:!0},(0,l.getURLHost)(N)))),o.default.createElement(f.Content,{padding:0},q.length>0&&p.mergeAccounts.length>0?o.default.createElement(d.Box,null,z.map(((e,n)=>{var a;const r=null===(a={}[e.address])||void 0===a?void 0:a.find((({origin:e})=>e===I)),i=R.address===e.address;let s;return s=n===K?{...e,isAccountActive:!0}:{...e},o.default.createElement(m.AccountListItem,{account:s,key:e.address,accountsCount:z.length,selected:i,connectedAvatar:null==r?void 0:r.iconUrl,menuType:m.AccountListItemMenuTypes.Connection,currentTabOrigin:I,isActive:s.isAccountActive?t("active"):null,onActionClick:_})}))):o.default.createElement(b.NoConnectionContent,null),k?o.default.createElement(g.ConnectAccountsModal,{onClose:()=>x(!1),onAccountsUpdate:()=>M(!0),activeTabOrigin:I}):null,T?o.default.createElement(y.DisconnectAllModal,{type:y.DisconnectType.Account,hostname:I,onClose:()=>C(!1),onClick:()=>(()=>{const e=U[I];if(e){const t=Object.values(e.permissions).map((({parentCapability:e})=>e));if(t.length>0){const e={[I]:t};n((0,h.removePermissionsFor)(e))}C(!1),O(!0)}})()}):null),o.default.createElement(f.Footer,null,o.default.createElement(d.Box,{display:i.Display.Flex,flexDirection:i.FlexDirection.Column,width:i.BlockSize.Full,gap:4},E?o.default.createElement(m.ToastContainer,null,o.default.createElement(m.Toast,{text:t("connectedAccountsToast"),onClose:()=>M(!1),startAdornment:o.default.createElement(d.AvatarFavicon,{name:null==G?void 0:G.name,size:d.AvatarFaviconSize.Sm,src:null==G?void 0:G.iconUrl})})):null,S?o.default.createElement(m.ToastContainer,null,o.default.createElement(m.Toast,{text:t("disconnectedAllAccountsToast",[(0,l.getURLHost)(I)]),onClose:()=>O(!1),startAdornment:o.default.createElement(d.AvatarFavicon,{name:null==j?void 0:j.name,size:d.AvatarFaviconSize.Sm,src:null==j?void 0:j.iconUrl})})):null,w.length>0?o.default.createElement(m.ToastContainer,null,o.default.createElement(m.Toast,{text:t("disconnectedSingleAccountToast",[w,(0,l.getURLHost)(I)]),onClose:()=>_(""),startAdornment:o.default.createElement(d.AvatarFavicon,{name:null==j?void 0:j.name,size:d.AvatarFaviconSize.Sm,src:null==j?void 0:j.iconUrl})})):null,q.length>0&&p.mergeAccounts.length>0?o.default.createElement(d.Box,{display:i.Display.Flex,gap:2,flexDirection:i.FlexDirection.Column,width:i.BlockSize.Full,"data-test-id":"connections-button"},o.default.createElement(d.Button,{size:d.ButtonSize.Lg,block:!0,variant:d.ButtonVariant.Secondary,disabled:0===F.length,startIconName:d.IconName.Add,onClick:()=>x(!0)},t("connectMoreAccounts")),o.default.createElement(d.Button,{size:d.ButtonSize.Lg,block:!0,variant:d.ButtonVariant.Secondary,startIconName:d.IconName.Logout,danger:!0,onClick:()=>C(!0)},t("disconnectAllAccounts"))):o.default.createElement(d.ButtonPrimary,{size:d.ButtonPrimarySize.Lg,block:!0,"data-test-id":"no-connections-button",onClick:()=>n((async()=>{const e=await n((0,h.requestAccountsPermissionWithId)(H.origin));v.push(`${s.CONNECT_ROUTE}/${e}`)})())},t("connectAccounts")))))}}}},{package:"$root$",file:"ui/components/multichain/pages/connections/connections.tsx"}],[5144,{"./connections":5143},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"Connections",{enumerable:!0,get:function(){return o.Connections}});var o=e("./connections")}}},{package:"$root$",file:"ui/components/multichain/pages/connections/index.js"}],[5145,{"./connections":5144,"./permissions-page/permissions-page":5156},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"Connections",{enumerable:!0,get:function(){return o.Connections}}),Object.defineProperty(n,"PermissionsPage",{enumerable:!0,get:function(){return a.PermissionsPage}});var o=e("./connections"),a=e("./permissions-page/permissions-page")}}},{package:"$root$",file:"ui/components/multichain/pages/index.js"}],[5146,{"../../../../../../helpers/constants/design-system":5355,"../../../../../component-library":4955,classnames:3049,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.Content=void 0;var o=s(e("react")),a=s(e("classnames")),r=e("../../../../../component-library"),i=e("../../../../../../helpers/constants/design-system");function s(e){return e&&e.__esModule?e:{default:e}}function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;to.default.createElement(r.Box,l({display:i.Display.Flex,flexDirection:i.FlexDirection.Column,width:i.BlockSize.Full,padding:4,height:i.BlockSize.Full,className:(0,a.default)("multichain-page-content",t)},n),e)}}},{package:"$root$",file:"ui/components/multichain/pages/page/components/content/content.tsx"}],[5147,{"./content":5146},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"Content",{enumerable:!0,get:function(){return o.Content}});var o=e("./content")}}},{package:"$root$",file:"ui/components/multichain/pages/page/components/content/index.ts"}],[5148,{"../../../../../../helpers/constants/design-system":5355,"../../../../../component-library":4955,classnames:3049,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.Footer=void 0;var o=s(e("react")),a=s(e("classnames")),r=e("../../../../../component-library"),i=e("../../../../../../helpers/constants/design-system");function s(e){return e&&e.__esModule?e:{default:e}}function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;to.default.createElement(r.Box,l({padding:4,display:i.Display.Flex,width:i.BlockSize.Full,gap:4,className:(0,a.default)("multichain-page-footer",t)},n),e)}}},{package:"$root$",file:"ui/components/multichain/pages/page/components/footer/footer.tsx"}],[5149,{"./footer":5148},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"Footer",{enumerable:!0,get:function(){return o.Footer}});var o=e("./footer")}}},{package:"$root$",file:"ui/components/multichain/pages/page/components/footer/index.ts"}],[5150,{"../../../../../../helpers/constants/design-system":5355,"../../../../../component-library":4955,classnames:3049,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.Header=void 0;var o=s(e("react")),a=s(e("classnames")),r=e("../../../../../component-library"),i=e("../../../../../../helpers/constants/design-system");function s(e){return e&&e.__esModule?e:{default:e}}function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;to.default.createElement(r.HeaderBase,l({padding:4,width:i.BlockSize.Full,justifyContent:i.JustifyContent.center,className:(0,a.default)("multichain-page-header",s),startAccessory:n,endAccessory:t},c),o.default.createElement(r.Text,{display:i.Display.Block,variant:i.TextVariant.bodyMdBold,textAlign:i.TextAlign.Center,paddingInlineStart:8,paddingInlineEnd:8,ellipsis:!0},e))}}},{package:"$root$",file:"ui/components/multichain/pages/page/components/header/header.tsx"}],[5151,{"./header":5150},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"Header",{enumerable:!0,get:function(){return o.Header}});var o=e("./header")}}},{package:"$root$",file:"ui/components/multichain/pages/page/components/header/index.ts"}],[5152,{"./components/content":5147,"./components/footer":5149,"./components/header":5151,"./page":5153},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"Content",{enumerable:!0,get:function(){return r.Content}}),Object.defineProperty(n,"Footer",{enumerable:!0,get:function(){return i.Footer}}),Object.defineProperty(n,"Header",{enumerable:!0,get:function(){return a.Header}}),Object.defineProperty(n,"Page",{enumerable:!0,get:function(){return o.Page}});var o=e("./page"),a=e("./components/header"),r=e("./components/content"),i=e("./components/footer")}}},{package:"$root$",file:"ui/components/multichain/pages/page/index.ts"}],[5153,{"../../../../helpers/constants/design-system":5355,"../../../component-library":4955,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.Page=void 0;var o=l(e("react")),a=l(e("prop-types")),r=l(e("classnames")),i=e("../../../component-library"),s=e("../../../../helpers/constants/design-system");function l(e){return e&&e.__esModule?e:{default:e}}function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;to.default.createElement(i.Box,{width:s.BlockSize.Full,height:s.BlockSize.Full,display:s.Display.Flex,flexDirection:s.FlexDirection.Row,justifyContent:s.JustifyContent.center,backgroundColor:s.BackgroundColor.backgroundAlternative,className:"multichain-page"},o.default.createElement(i.Box,c({width:s.BlockSize.Full,height:s.BlockSize.Full,display:s.Display.Flex,flexDirection:s.FlexDirection.Column,backgroundColor:s.BackgroundColor.backgroundDefault,className:(0,r.default)("multichain-page__inner-container",t)},n),e));n.Page=u,u.propTypes={className:a.default.string,children:a.default.node}}}},{package:"$root$",file:"ui/components/multichain/pages/page/page.tsx"}],[5154,{"../../../../helpers/constants/design-system":5355,"../../../../helpers/utils/accounts":5378,"../../../../helpers/utils/util":5399,"../../../../hooks/useI18nContext":5427,"../../../app/snaps/snap-avatar/snap-avatar":4773,"../../../component-library":4955,"./connection-list-tooltip/connection-list-tooltip":5155,"@metamask/permission-controller":1624,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.ConnectionListItem=void 0;var o=m(e("react")),a=m(e("prop-types")),r=e("@metamask/permission-controller"),i=e("../../../../helpers/constants/design-system"),s=e("../../../../hooks/useI18nContext"),l=e("../../../component-library"),c=e("../../../../helpers/utils/util"),u=m(e("../../../app/snaps/snap-avatar/snap-avatar")),d=e("../../../../helpers/utils/accounts"),p=e("./connection-list-tooltip/connection-list-tooltip");function m(e){return e&&e.__esModule?e:{default:e}}const f=({connection:e,onClick:t})=>{const n=(0,s.useI18nContext)(),a=e.subjectType===r.SubjectType.Snap;return o.default.createElement(l.Box,{"data-testid":"connection-list-item",as:"button",display:i.Display.Flex,flexDirection:i.FlexDirection.Row,alignItems:i.AlignItems.baseline,width:i.BlockSize.Full,backgroundColor:i.BackgroundColor.backgroundDefault,onClick:t,padding:4,gap:4,className:"multichain-connection-list-item"},o.default.createElement(l.Box,{display:i.Display.Flex,alignItems:i.AlignItems.center,style:{alignSelf:"center"}},a?o.default.createElement(u.default,{className:"connection-list-item__snap-avatar",snapId:e.id,badgeSize:l.IconSize.Xs,avatarSize:l.IconSize.Md,borderWidth:0}):o.default.createElement(l.BadgeWrapper,{badge:o.default.createElement(l.AvatarNetwork,{"data-testid":"connection-list-item__avatar-network-badge",size:l.AvatarNetworkSize.Xs,name:e.networkName,src:e.networkIconUrl,borderWidth:1,borderColor:i.BackgroundColor.backgroundDefault,backgroundColor:(0,d.getAvatarNetworkColor)(e.networkName)})},o.default.createElement(l.AvatarFavicon,{"data-testid":"connection-list-item__avatar-favicon",src:e.iconUrl}))),o.default.createElement(l.Box,{display:i.Display.Flex,flexDirection:i.FlexDirection.Column,width:i.BlockSize.FiveTwelfths,style:{alignSelf:"center",flexGrow:"1"}},o.default.createElement(l.Text,{variant:i.TextVariant.bodyMd,textAlign:i.TextAlign.Left,ellipsis:!0},a?e.packageName:(0,c.getURLHost)(e.origin)),a?null:o.default.createElement(l.Box,{display:i.Display.Flex,flexDirection:i.FlexDirection.Row,alignItems:i.AlignItems.center,gap:1},o.default.createElement(l.Text,{as:"span",width:i.BlockSize.Max,color:i.TextColor.textAlternative,variant:i.TextVariant.bodyMd},n("connectedWith")),o.default.createElement(p.ConnectionListTooltip,{connection:e}))),o.default.createElement(l.Box,{display:i.Display.Flex,justifyContent:i.JustifyContent.flexEnd,alignItems:i.AlignItems.center,style:{flex:"1",alignSelf:"center"},gap:2},o.default.createElement(l.Icon,{display:i.Display.Flex,name:l.IconName.ArrowRight,color:i.IconColor.iconDefault,size:l.IconSize.Sm,backgroundColor:i.BackgroundColor.backgroundDefault})))};n.ConnectionListItem=f,f.propTypes={connection:a.default.object.isRequired,onClick:a.default.func.isRequired}}}},{package:"$root$",file:"ui/components/multichain/pages/permissions-page/connection-list-item.js"}],[5155,{"../../..":5092,"../../../../../helpers/constants/design-system":5355,"../../../../../hooks/useI18nContext":5427,"../../../../../selectors":5987,"../../../../component-library":4955,"../../../avatar-group/avatar-group.types":5059,"prop-types":3997,react:4243,"react-redux":4199,"react-tippy":4239},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.ConnectionListTooltip=void 0;var o=m(e("react")),a=m(e("prop-types")),r=e("react-tippy"),i=e("react-redux"),s=e("../../../../../helpers/constants/design-system"),l=e("../../../avatar-group/avatar-group.types"),c=e("../../.."),u=e("../../../../component-library"),d=e("../../../../../selectors"),p=e("../../../../../hooks/useI18nContext");function m(e){return e&&e.__esModule?e:{default:e}}const f=({connection:e})=>{var t,n,a,m;const f=(0,p.useI18nContext)(),g=null===(t=e.addresses)||void 0===t?void 0:t.slice(0,7).map((e=>({avatarValue:e}))),h=(0,i.useSelector)(d.getUseBlockie)?u.AvatarAccountVariant.Blockies:u.AvatarAccountVariant.Jazzicon;return o.default.createElement(r.Tooltip,{position:"bottom",html:o.default.createElement(u.Box,{display:s.Display.Flex,flexDirection:s.FlexDirection.Column},o.default.createElement(u.Text,{color:s.TextColor.overlayInverse,variant:s.TextVariant.headingSm,paddingInline:10},f("connectedAccounts")),o.default.createElement(u.Box,{display:s.Display.Flex,flexDirection:s.FlexDirection.Column},null===(n=e.addresses)||void 0===n?void 0:n.slice(0,7).map((t=>o.default.createElement(u.Box,{display:s.Display.Flex,flexDirection:s.FlexDirection.Row,alignItems:s.AlignItems.center,textAlign:s.TextAlign.Left,key:`cl-tooltip-${e.addressToNameMap[t]}-${t}`,padding:1,paddingInline:2,gap:2},o.default.createElement(u.AvatarAccount,{size:u.AvatarAccountSize.Xs,address:t,variant:h,borderStyle:s.BorderStyle.none}),o.default.createElement(u.Text,{color:s.TextColor.overlayInverse,variant:s.TextVariant.bodyMdMedium,"data-testid":"connection-list-item-connected-account-name",ellipsis:!0},e.addressToNameMap[t])))),(null===(a=e.addresses)||void 0===a?void 0:a.length)>7&&o.default.createElement(u.Box,{display:s.Display.Flex,alignItems:s.AlignItems.center,textAlign:s.TextAlign.Left,paddingInline:2},o.default.createElement(u.Text,{color:s.TextColor.textMuted,variant:s.TextVariant.bodyMdMedium,"data-testid":"connection-list-item-plus-more-tooltip"},f("plusMore",[(null===(m=e.addresses)||void 0===m?void 0:m.length)-7]))))),arrow:!0,offset:0,delay:50,duration:0,size:"small",title:f("alertDisableTooltip"),trigger:"mouseenter focus",theme:"dark",tag:"div"},o.default.createElement(c.AvatarGroup,{members:g,limit:5,avatarType:l.AvatarType.ACCOUNT,borderColor:s.BackgroundColor.backgroundDefault}))};n.ConnectionListTooltip=f,f.propTypes={connection:a.default.object.isRequired}}}},{package:"$root$",file:"ui/components/multichain/pages/permissions-page/connection-list-tooltip/connection-list-tooltip.js"}],[5156,{"../../../../helpers/constants/design-system":5355,"../../../../helpers/constants/routes":5361,"../../../../hooks/useI18nContext":5427,"../../../../selectors":5987,"../../../../store/actions":5998,"../../../component-library":4955,"../../product-tour-popover":5176,"../page":5152,"./connection-list-item":5154,classnames:3049,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.PermissionsPage=void 0;var o,a=(o=e("classnames"))&&o.__esModule?o:{default:o},r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=y(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}(e("react")),i=e("react-router-dom"),s=e("react-redux"),l=e("../page"),c=e("../../../component-library"),u=e("../../../../hooks/useI18nContext"),d=e("../../../../helpers/constants/design-system"),p=e("../../../../helpers/constants/routes"),m=e("../../../../selectors"),f=e("../../product-tour-popover"),g=e("../../../../store/actions"),h=e("./connection-list-item");function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(y=function(e){return e?n:t})(e)}n.PermissionsPage=()=>{const e=(0,u.useI18nContext)(),t=(0,i.useHistory)(),n=(0,r.useRef)(),[o,y]=(0,r.useState)(0),b=(0,s.useSelector)(m.getConnectedSitesListWithNetworkInfo),v=(0,s.useSelector)(m.getShowPermissionsTour),k=(0,s.useSelector)(m.getOnboardedInThisUISession);(0,r.useEffect)((()=>{y(Object.keys(b).length)}),[b]);return r.default.createElement(l.Page,{className:"main-container","data-testid":"permissions-page"},r.default.createElement(l.Header,{backgroundColor:d.BackgroundColor.backgroundDefault,startAccessory:r.default.createElement(c.ButtonIcon,{ariaLabel:e("back"),iconName:c.IconName.ArrowLeft,className:"connections-header__start-accessory",color:d.Color.iconDefault,onClick:()=>t.push(p.DEFAULT_ROUTE),size:c.ButtonIconSize.Sm})},r.default.createElement(c.Text,{as:"span",variant:d.TextVariant.headingMd,textAlign:d.TextAlign.Center},e("permissions"))),v&&!k?r.default.createElement(f.ProductTour,{closeMenu:g.hidePermissionsTour,className:(0,a.default)("multichain-product-tour-menu__permissions-page-tour"),"data-testid":"permissions-page-product-tour",anchorElement:n.current,title:e("permissionsPageTourTitle"),description:e("permissionsPageTourDescription"),onClick:g.hidePermissionsTour,positionObj:"44%"}):null,r.default.createElement(l.Content,{padding:0},r.default.createElement(c.Box,{ref:n}),o>0?(x=b,Object.entries(x).map((([e,n])=>r.default.createElement(h.ConnectionListItem,{"data-testid":"connection-list-item",key:e,connection:n,onClick:()=>(e=>{const n=e.origin,o=encodeURIComponent(n);t.push(`${p.CONNECTIONS}/${o}`)})(n)})))):r.default.createElement(c.Box,{"data-testid":"no-connections",display:d.Display.Flex,flexDirection:d.FlexDirection.Column,justifyContent:d.JustifyContent.center,height:d.BlockSize.Full,gap:2},r.default.createElement(c.Text,{variant:d.TextVariant.bodyMdMedium,backgroundColor:d.BackgroundColor.backgroundDefault,textAlign:d.TextAlign.Center},e("permissionsPageEmptyContent")),r.default.createElement(c.Text,{variant:d.TextVariant.bodyMd,color:d.TextColor.textAlternative,backgroundColor:d.BackgroundColor.backgroundDefault,textAlign:d.TextAlign.Center},e("permissionsPageEmptySubContent")))));var x}}}},{package:"$root$",file:"ui/components/multichain/pages/permissions-page/permissions-page.js"}],[5157,{".":5160,"../../..":5092,"../../../../../contexts/i18n":5324,"../../../../../ducks/send":5348,"../../../../../helpers/constants/design-system":5355,"../../../../../selectors":5987,"../../../../component-library":4955,"../../../account-picker":5034,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.SendPageAccountPicker=void 0;var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=m(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}(e("react")),a=e("react-redux"),r=e("../../../../../selectors"),i=e("../../../../component-library"),s=e("../../../account-picker"),l=e("../../../../../helpers/constants/design-system"),c=e("../../../../../contexts/i18n"),u=e("../../.."),d=e("../../../../../ducks/send"),p=e(".");function m(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(m=function(e){return e?n:t})(e)}n.SendPageAccountPicker=()=>{const e=(0,o.useContext)(c.I18nContext),t=(0,a.useSelector)(r.getSelectedInternalAccount),[n,m]=(0,o.useState)(!1),f=(0,a.useSelector)(d.getSendStage),g=d.SEND_STAGES.EDIT===f;return o.default.createElement(p.SendPageRow,null,o.default.createElement(i.Label,{paddingBottom:2},e("from")),o.default.createElement(s.AccountPicker,{className:"multichain-send-page__account-picker",address:t.address,name:t.metadata.name,onClick:()=>m(!0),showAddress:!0,borderColor:l.BorderColor.borderMuted,borderWidth:1,paddingTop:4,paddingBottom:4,paddingLeft:3,block:!0,justifyContent:l.JustifyContent.flexStart,addressProps:{display:l.Display.Flex,textAlign:l.TextAlign.Start},labelProps:{style:{flexGrow:1,textAlign:"start"},paddingInlineStart:1,className:"multichain-send-page__account-picker__label"},textProps:{display:l.Display.Flex,width:l.BlockSize.Full},width:l.BlockSize.Full,disabled:g,"data-testid":"send-page-account-picker"}),n?o.default.createElement(u.AccountListMenu,{accountListItemProps:{showOptions:!1},showAccountCreation:!1,onClose:()=>m(!1)}):null)}}}},{package:"$root$",file:"ui/components/multichain/pages/send/components/account-picker.tsx"}],[5158,{".":5160,"../../../../../../shared/constants/metametrics":4505,"../../../../../contexts/i18n":5324,"../../../../../contexts/metametrics":5327,"../../../../../ducks/send":5348,"../../../../../helpers/constants/design-system":5355,"../../../../../helpers/constants/routes":5361,"../../../../../selectors":5987,"../../../../app/contact-list":4618,"../../../../component-library":4955,"fuse.js":3407,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.SendPageAddressBook=void 0;var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=y(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}(e("react")),a=e("react-redux"),r=h(e("fuse.js")),i=e("../../../../component-library"),s=e("../../../../../contexts/i18n"),l=h(e("../../../../app/contact-list")),c=e("../../../../../selectors"),u=e("../../../../../ducks/send"),d=e("../../../../../helpers/constants/design-system"),p=e("../../../../../helpers/constants/routes"),m=e("../../../../../contexts/metametrics"),f=e("../../../../../../shared/constants/metametrics"),g=e(".");function h(e){return e&&e.__esModule?e:{default:e}}function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(y=function(e){return e?n:t})(e)}n.SendPageAddressBook=()=>{const e=(0,o.useContext)(s.I18nContext),t=(0,a.useDispatch)(),n=(0,o.useContext)(m.MetaMetricsContext),h=(0,a.useSelector)(c.getAddressBook),y=h.filter((({name:e})=>Boolean(e))),b=[...(0,a.useSelector)(c.getCurrentNetworkTransactions)].reverse(),v=h.filter((({name:e})=>!e)).map((e=>{const t=b.find((t=>t.txParams.to===e.address.toLowerCase()));return{...e,timestamp:null==t?void 0:t.time}})),k=(0,a.useSelector)(u.getRecipientUserInput),x=new r.default(y,{shouldSort:!0,threshold:.45,location:0,distance:100,maxPatternLength:32,minMatchCharLength:1,keys:[{name:"name",weight:.5},{name:"address",weight:.5}]}),T=new r.default(v,{shouldSort:!0,threshold:.45,location:0,distance:100,maxPatternLength:32,minMatchCharLength:1,keys:[{name:"address",weight:.5}]});return o.default.createElement(g.SendPageRow,null,h.length?o.default.createElement(o.default.Fragment,null,o.default.createElement(l.default,{addressBook:h,searchForContacts:()=>k?(x.setCollection(y),x.search(k)):y,searchForRecents:()=>k?(T.setCollection(v),T.search(k)):v,selectRecipient:(e="",o="")=>{((e="",o="",a="user input")=>{t((0,u.addHistoryEntry)(`sendFlow - User clicked recipient from ${a}. address: ${e}, nickname ${o}`)),n({event:f.MetaMetricsEventName.sendRecipientSelected,category:f.MetaMetricsEventCategory.Send,properties:{location:"address book",inputType:a}}),t((0,u.updateRecipient)({address:e,nickname:o})),t((0,u.updateRecipientUserInput)(e))})(e,o,(o?"contact":"recent")+" list")}})):o.default.createElement(i.Box,{padding:6,textAlign:d.TextAlign.Center},o.default.createElement(i.Text,{marginBottom:4,fontWeight:d.FontWeight.Bold},e("sendNoContactsTitle")),o.default.createElement(i.Text,{color:d.TextColor.textAlternative},e("sendNoContactsDescription",[o.default.createElement(i.Text,{as:"a",href:`#${p.CONTACT_LIST_ROUTE}`,color:d.TextColor.primaryDefault},e("sendNoContactsConversionText"))]))))}}}},{package:"$root$",file:"ui/components/multichain/pages/send/components/address-book.tsx"}],[5159,{".":5160,"../../../../../ducks/send":5348,"../../../../../hooks/useI18nContext":5427,"../../../../component-library":4955,"../../../../component-library/textarea":5011,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.SendHexData=void 0;var o,a=(o=e("react"))&&o.__esModule?o:{default:o},r=e("react-redux"),i=e("../../../../../hooks/useI18nContext"),s=e("../../../../component-library"),l=e("../../../../../ducks/send"),c=e("../../../../component-library/textarea"),u=e(".");n.SendHexData=()=>{const e=(0,i.useI18nContext)(),t=(0,r.useDispatch)(),n=(0,r.useSelector)(l.getSendHexData);return a.default.createElement(u.SendPageRow,null,a.default.createElement(s.Label,null,e("hexData")),a.default.createElement(c.Textarea,{onInput:e=>{const n=e.target.value.replace(/\n/gu,"")||null;t((0,l.updateSendHexData)(n??""))},placeholder:e("optional"),defaultValue:n||"","data-testid":"send-hex-textarea"}))}}}},{package:"$root$",file:"ui/components/multichain/pages/send/components/hex.tsx"}],[5160,{"./account-picker":5157,"./address-book":5158,"./hex":5159,"./network-picker":5161,"./quote-card":5166,"./recipient":5169,"./recipient-content":5167,"./recipient-input":5168,"./send-page-row":5170,"./your-accounts":5171},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"QuoteCard",{enumerable:!0,get:function(){return p.QuoteCard}}),Object.defineProperty(n,"SendHexData",{enumerable:!0,get:function(){return d.SendHexData}}),Object.defineProperty(n,"SendPageAccountPicker",{enumerable:!0,get:function(){return a.SendPageAccountPicker}}),Object.defineProperty(n,"SendPageAddressBook",{enumerable:!0,get:function(){return l.SendPageAddressBook}}),Object.defineProperty(n,"SendPageNetworkPicker",{enumerable:!0,get:function(){return r.SendPageNetworkPicker}}),Object.defineProperty(n,"SendPageRecipient",{enumerable:!0,get:function(){return c.SendPageRecipient}}),Object.defineProperty(n,"SendPageRecipientContent",{enumerable:!0,get:function(){return u.SendPageRecipientContent}}),Object.defineProperty(n,"SendPageRecipientInput",{enumerable:!0,get:function(){return s.SendPageRecipientInput}}),Object.defineProperty(n,"SendPageRow",{enumerable:!0,get:function(){return o.SendPageRow}}),Object.defineProperty(n,"SendPageYourAccounts",{enumerable:!0,get:function(){return i.SendPageYourAccounts}});var o=e("./send-page-row"),a=e("./account-picker"),r=e("./network-picker"),i=e("./your-accounts"),s=e("./recipient-input"),l=e("./address-book"),c=e("./recipient"),u=e("./recipient-content"),d=e("./hex"),p=e("./quote-card")}}},{package:"$root$",file:"ui/components/multichain/pages/send/components/index.ts"}],[5161,{".":5160,"../../../../../selectors":5987,"../../../../../store/actions":5998,"../../../../component-library":4955,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.SendPageNetworkPicker=void 0;var o,a=(o=e("react"))&&o.__esModule?o:{default:o},r=e("react-redux"),i=e("../../../../../selectors"),s=e("../../../../../store/actions"),l=e("../../../../component-library"),c=e(".");n.SendPageNetworkPicker=()=>{var e;const t=(0,r.useSelector)(i.getCurrentNetwork),n=(0,r.useDispatch)();return a.default.createElement(c.SendPageRow,null,a.default.createElement(l.PickerNetwork,{label:null==t?void 0:t.nickname,src:null==t||null===(e=t.rpcPrefs)||void 0===e?void 0:e.imageUrl,onClick:()=>n((0,s.toggleNetworkMenu)()),"data-testid":"send-page-network-picker"}))}}}},{package:"$root$",file:"ui/components/multichain/pages/send/components/network-picker.tsx"}],[5162,{"../../../../../../../../shared/constants/common":4495,"../../../../../../../../shared/modules/Numeric":4533,"../../../../../../../ducks/metamask/metamask":5346,"../../../../../../../ducks/swaps/swaps":5351,"../../../../../../../helpers/utils/confirm-tx.util":5381,"../../../../../../../selectors/selectors":5994,"./utils":5165,"@metamask/utils":2300,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e=0){const t=(0,a.useDispatch)(),n=(0,a.useSelector)(s.getNativeCurrency),m=(0,a.useSelector)(s.getConversionRate),f=(0,a.useSelector)(c.getCurrentCurrency),g=(0,a.useSelector)(c.checkNetworkAndAccountSupports1559),{medium:h,gasPrice:y}=(0,a.useSelector)(s.getGasFeeEstimates),b=y??(null==h?void 0:h.suggestedMaxFeePerGas),v=(0,a.useSelector)(c.getCurrentChainId),k=(0,a.useSelector)(c.getIsSwapsChain),x=(0,a.useSelector)(u.getUsedSwapsGasPrice);return(0,o.useEffect)((()=>{k&&(g||t((0,u.fetchAndSetSwapsGasPriceInfo)()))}),[t,v,g,k]),(0,o.useMemo)((()=>{const t=g?b:x;if(!t)return{formattedFiatGasFee:"",formattedEthGasFee:""};const o=new i.Numeric(t,(0,r.isHexString)(t)?16:10,l.EtherDenomination.GWEI).times(new i.Numeric(e,10)).toDenomination(l.EtherDenomination.ETH),a=m?o.applyConversionRate(m).toNumber():undefined;return{formattedFiatGasFee:a?(0,d.formatCurrency)(new i.Numeric(a,10).toString(),f):"",formattedEthGasFee:`${(0,p.toFixedNoTrailingZeros)(o.toNumber())} ${n}`}}),[g,null==h?void 0:h.suggestedMaxFeePerGas,x,e,m,f,n])};var o=e("react"),a=e("react-redux"),r=e("@metamask/utils"),i=e("../../../../../../../../shared/modules/Numeric"),s=e("../../../../../../../ducks/metamask/metamask"),l=e("../../../../../../../../shared/constants/common"),c=e("../../../../../../../selectors/selectors"),u=e("../../../../../../../ducks/swaps/swaps"),d=e("../../../../../../../helpers/utils/confirm-tx.util"),p=e("./utils")}}},{package:"$root$",file:"ui/components/multichain/pages/send/components/quote-card/hooks/useEthFeeData.tsx"}],[5163,{"../../../../../../../../shared/constants/transaction":4520,"../../../../../../../../shared/lib/transactions-controller-utils":4531,"../../../../../../../../shared/modules/Numeric":4533,"../../../../../../../ducks/metamask/metamask":5346,"../../../../../../../ducks/send":5348,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(){var e,t,n,d;const p=(0,a.useSelector)(r.getBestQuote),{sendAsset:m,receiveAsset:f}=(0,a.useSelector)(r.getCurrentDraftTransaction),g=(0,a.useSelector)(c.getNativeCurrency),h=(null==m?void 0:m.type)===i.AssetType.native?g:null==m||null===(e=m.details)||void 0===e?void 0:e.symbol,y=(null==f?void 0:f.type)===i.AssetType.native?g:null==f||null===(t=f.details)||void 0===t?void 0:t.symbol;return(0,o.useMemo)((()=>{if(p&&m&&f){var e,t;const n=(0,s.calcTokenAmount)(p.sourceAmount,(null===(e=m.details)||void 0===e?void 0:e.decimals)||u),o=(0,s.calcTokenAmount)(p.destinationAmount,(null===(t=f.details)||void 0===t?void 0:t.decimals)||u),a=new l.Numeric(o).divide(n).round(9).toNumber();return`1 ${h} = ${a} ${y}`}return undefined}),[null==p?void 0:p.sourceAmount,null==p?void 0:p.destinationAmount,null==m||null===(n=m.details)||void 0===n?void 0:n.decimals,null==f||null===(d=f.details)||void 0===d?void 0:d.decimals,h,y])};var o=e("react"),a=e("react-redux"),r=e("../../../../../../../ducks/send"),i=e("../../../../../../../../shared/constants/transaction"),s=e("../../../../../../../../shared/lib/transactions-controller-utils"),l=e("../../../../../../../../shared/modules/Numeric"),c=e("../../../../../../../ducks/metamask/metamask");const u=18}}},{package:"$root$",file:"ui/components/multichain/pages/send/components/quote-card/hooks/useGetConversionRate.tsx"}],[5164,{"../../../../../../../../shared/constants/network":4507,"../../../../../../../hooks/useI18nContext":5427,"../../../../../../../selectors":5987,"@metamask/controller-utils":1163,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(){const e=(0,o.useSelector)(s.getCurrentChainId),t=(0,i.useI18nContext)();switch((0,a.toHex)(e)){case r.CHAIN_IDS.MAINNET:return t("networkNameEthereum");case r.CHAIN_IDS.BSC:return t("networkNameBSC");case r.CHAIN_IDS.POLYGON:return t("networkNamePolygon");case r.CHAIN_IDS.LOCALHOST:return t("networkNameTestnet");case r.CHAIN_IDS.GOERLI:return t("networkNameGoerli");case r.CHAIN_IDS.AVALANCHE:return t("networkNameAvalanche");case r.CHAIN_IDS.OPTIMISM:return t("networkNameOpMainnet");case r.CHAIN_IDS.ARBITRUM:return t("networkNameArbitrum");case r.CHAIN_IDS.ZKSYNC_ERA:return t("networkNameZkSyncEra");case r.CHAIN_IDS.LINEA_MAINNET:return t("networkNameLinea");case r.CHAIN_IDS.BASE:return t("networkNameBase");default:return undefined}};var o=e("react-redux"),a=e("@metamask/controller-utils"),r=e("../../../../../../../../shared/constants/network"),i=e("../../../../../../../hooks/useI18nContext"),s=e("../../../../../../../selectors")}}},{package:"$root$",file:"ui/components/multichain/pages/send/components/quote-card/hooks/useTranslatedNetworkName.tsx"}],[5165,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.toFixedNoTrailingZeros=void 0;const o=/0+$/u;n.toFixedNoTrailingZeros=(e,t=7)=>{const n=e.toFixed(t).replace(o,"");return n.endsWith(".")?n.slice(0,-1):n}}}},{package:"$root$",file:"ui/components/multichain/pages/send/components/quote-card/hooks/utils.ts"}],[5166,{"../../../../../../../shared/constants/metametrics":4505,"../../../../../../../shared/constants/time":4518,"../../../../../../../shared/lib/ui-utils":4532,"../../../../../../../shared/modules/conversion.utils":4537,"../../../../../../contexts/metametrics":5327,"../../../../../../ducks/send":5348,"../../../../../../helpers/constants/design-system":5355,"../../../../../../hooks/useI18nContext":5427,"../../../../../component-library":4955,"../../../../../ui/info-tooltip/info-tooltip-icon":5249,"../../../../../ui/tooltip":5310,"./hooks/useEthFeeData":5162,"./hooks/useGetConversionRate":5163,"./hooks/useTranslatedNetworkName":5164,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.QuoteCard=function({scrollRef:e}){var t;const n=(0,l.useI18nContext)(),v=(0,a.useDispatch)(),k=(0,a.useSelector)(s.getSendAnalyticProperties),T=(0,y.default)(),C=(0,o.useContext)(f.MetaMetricsContext),{isSwapQuoteLoading:w}=(0,a.useSelector)(s.getCurrentDraftTransaction),_=(0,a.useSelector)(s.getBestQuote),[E,M]=(0,o.useState)(undefined),{formattedEthGasFee:S,formattedFiatGasFee:O}=(0,h.default)(((null==_?void 0:_.gasParams.maxGas)||0)+Number((0,g.hexToDecimal)((null==_||null===(t=_.approvalNeeded)||void 0===t?void 0:t.gas)||"0x0"))),A=(0,b.default)(),N=(0,o.useRef)(_);(0,o.useEffect)((()=>{const t=_&&N.current===undefined;var n;(N.current=_,t)&&(null===(n=e.current)||void 0===n||n.scrollIntoView({behavior:"smooth",block:"start"}));_?(C({event:p.MetaMetricsEventName.sendSwapQuoteFetched,category:p.MetaMetricsEventCategory.Send,properties:{...k,is_first_fetch:t}}),M(x)):M(undefined)}),[_]),(0,o.useEffect)((()=>{if(w||E===undefined)return;E<=0&&v((0,s.updateSendQuote)(!1,!0));const e=setTimeout((()=>M(E-1)),c.SECOND);return()=>clearTimeout(e)}),[E]);const I=(0,o.useMemo)((()=>{if(w)return n("swapFetchingQuotes");if(_){const e=`0${E}`.slice(-2);return E?n("swapNewQuoteIn",[`0:${e}`]):undefined}return undefined}),[w,_,E]);if(!Boolean(I||_))return null;return o.default.createElement(r.Box,{display:i.Display.Flex,flexDirection:i.FlexDirection.Column,alignItems:i.AlignItems.flexStart,gap:2},I&&o.default.createElement(r.Text,{color:i.TextColor.textAlternative,variant:i.TextVariant.bodySm,className:"quote-card__fetch-status"},I),_&&o.default.createElement(r.Box,{backgroundColor:i.BackgroundColor.backgroundAlternative,borderRadius:i.BorderRadius.LG,width:i.BlockSize.Full,gap:2,padding:3},o.default.createElement(r.Box,{display:i.Display.Flex,alignItems:i.AlignItems.center},o.default.createElement(r.Text,{className:"quote-card__text",color:i.TextColor.textAlternative,marginRight:"auto",variant:i.TextVariant.bodySm},n("quoteRate")),o.default.createElement(r.Text,{marginLeft:"auto",variant:i.TextVariant.bodySm,"data-testid":"quote-card__conversion-rate"},A)),o.default.createElement(r.Box,{display:i.Display.Flex,alignItems:i.AlignItems.center},o.default.createElement(r.Box,{display:i.Display.Flex,marginRight:"auto",gap:1,alignItems:i.AlignItems.center},o.default.createElement(r.Text,{variant:i.TextVariant.bodySm,color:i.TextColor.textAlternative},n("transactionDetailGasHeading")),o.default.createElement(u.default,{interactive:!0,position:"left",containerClassName:"info-tooltip__tooltip-container",tooltipInnerClassName:"info-tooltip__tooltip-content",tooltipArrowClassName:"info-tooltip__left-tooltip-arrow",style:{display:"flex",height:"12px",aspectRatio:"1"},html:o.default.createElement(o.default.Fragment,null,o.default.createElement("p",null,n("swapGasFeesSummary",[T])),o.default.createElement("p",null,n("swapGasFeesDetails")),o.default.createElement("p",null,o.default.createElement("a",{onClick:()=>{C({event:'Clicked "Gas Fees: Learn More" Link',category:p.MetaMetricsEventCategory.Swaps}),global.platform.openTab({url:m.GAS_FEES_LEARN_MORE_URL})},target:"_blank",rel:"noreferrer"},n("swapGasFeesLearnMore")))),theme:"tippy-tooltip-info"},o.default.createElement(d.default,{fillColor:"var(--color-icon-alternative)"}))),o.default.createElement(r.Box,{display:i.Display.Flex,marginLeft:"auto"},o.default.createElement(r.Text,{variant:i.TextVariant.bodySm,"data-testid":"quote-card__gas-fee"},S),O&&o.default.createElement(r.Text,{color:i.TextColor.textAlternative,variant:i.TextVariant.bodySm,marginLeft:1,"data-testid":"quote-card__fiat-gas-fee"},"≈ ",O)))),_&&o.default.createElement(r.Text,{color:i.TextColor.textAlternative,variant:i.TextVariant.bodySm},n("swapIncludesMMFeeAlt",[null==_?void 0:_.fee])),_&&o.default.createElement(r.ButtonLink,{variant:i.TextVariant.bodySm,href:m.CONSENSYS_TERMS_OF_USE,target:"_blank",className:"quote-card__TOS"},n("termsOfService")),o.default.createElement("div",{ref:e}))};var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=k(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}(e("react")),a=e("react-redux"),r=e("../../../../../component-library"),i=e("../../../../../../helpers/constants/design-system"),s=e("../../../../../../ducks/send"),l=e("../../../../../../hooks/useI18nContext"),c=e("../../../../../../../shared/constants/time"),u=v(e("../../../../../ui/tooltip")),d=v(e("../../../../../ui/info-tooltip/info-tooltip-icon")),p=e("../../../../../../../shared/constants/metametrics"),m=e("../../../../../../../shared/lib/ui-utils"),f=e("../../../../../../contexts/metametrics"),g=e("../../../../../../../shared/modules/conversion.utils"),h=v(e("./hooks/useEthFeeData")),y=v(e("./hooks/useTranslatedNetworkName")),b=v(e("./hooks/useGetConversionRate"));function v(e){return e&&e.__esModule?e:{default:e}}function k(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(k=function(e){return e?n:t})(e)}const x=30}}},{package:"$root$",file:"ui/components/multichain/pages/send/components/quote-card/index.tsx"}],[5167,{".":5160,"../../..":5092,"../../../../../../shared/constants/transaction":4520,"../../../../../../shared/modules/conversion.utils":4537,"../../../../../../shared/modules/string-utils":4558,"../../../../../ducks/metamask/metamask":5346,"../../../../../ducks/send":5348,"../../../../../helpers/constants/common":5353,"../../../../../helpers/constants/design-system":5355,"../../../../../hooks/useI18nContext":5427,"../../../../../selectors":5987,"../../../../component-library":4955,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.SendPageRecipientContent=void 0;var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=y(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}(e("react")),a=e("react-redux"),r=e("../../../../component-library"),i=e("../../../../../ducks/metamask/metamask"),s=e("../../../../../ducks/send"),l=e("../../../../../../shared/constants/transaction"),c=e("../../../../../helpers/constants/common"),u=e("../../../../../helpers/constants/design-system"),d=e("../../../../../hooks/useI18nContext"),p=e("../../.."),m=e("../../../../../../shared/modules/conversion.utils"),f=e("../../../../../selectors"),g=e("../../../../../../shared/modules/string-utils"),h=e(".");function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(y=function(e){return e?n:t})(e)}n.SendPageRecipientContent=({requireContractAddressAcknowledgement:e,onAssetChange:t})=>{var n,y,b;const v=(0,d.useI18nContext)(),{receiveAsset:k,sendAsset:x,amount:T,isSwapQuoteLoading:C}=(0,a.useSelector)(s.getCurrentDraftTransaction);let w;const _=(0,a.useSelector)(f.getUseExternalServices),E=(0,a.useSelector)(f.getIsSwapsChain),M=(0,a.useSelector)(s.getIsSwapAndSendDisabledForNetwork),S=(0,a.useSelector)(s.getSwapsBlockedTokens),O=(0,o.useMemo)((()=>new Set(S)),[S]);w=E&&!M&&[l.AssetType.token,l.AssetType.native].includes(x.type)&&_&&!O.has(null===(n=x.details)||void 0===n||null===(n=n.address)||void 0===n?void 0:n.toLowerCase());const A=(0,a.useSelector)(s.getBestQuote),N=!A&&C,I=(0,g.isEqualCaseInsensitive)((null===(y=k.details)||void 0===y?void 0:y.address)??"",(null===(b=x.details)||void 0===b?void 0:b.address)??""),P=I?T:{value:(0,m.decimalToHex)((null==A?void 0:A.destinationAmount)||"0")},j=(0,a.useSelector)(i.getSendHexDataFeatureFlagState),B=(0,a.useSelector)(s.getSendAsset),D=I&&j&&B&&B.type!==l.AssetType.token&&B.type!==l.AssetType.NFT,F=(0,o.useRef)(null),L=(0,a.useDispatch)();return o.default.createElement(r.Box,null,e?o.default.createElement(h.SendPageRow,null,o.default.createElement(r.BannerAlert,{severity:r.BannerAlertSeverity.Danger,"data-testid":"send-warning",actionButtonLabel:v("tooltipApproveButton"),actionButtonOnClick:()=>{L((0,s.acknowledgeRecipientWarning)())},actionButtonProps:{display:u.Display.Block,marginTop:4}},v("sendingToTokenContractWarning",[o.default.createElement("a",{key:"contractWarningSupport",target:"_blank",rel:"noopener noreferrer",className:"send__warning-container__link",href:c.CONTRACT_ADDRESS_LINK},v("learnMoreUpperCase"))]))):null,o.default.createElement(h.SendPageRow,null,o.default.createElement(p.AssetPickerAmount,{asset:w?k:x,sendingAsset:w?x:undefined,onAssetChange:(0,o.useCallback)((e=>t(e,w)),[t,w]),isAmountLoading:N,amount:P,isDisabled:!w})),o.default.createElement(h.QuoteCard,{scrollRef:F}),D?o.default.createElement(h.SendHexData,null):null,o.default.createElement("div",{ref:F}))}}}},{package:"$root$",file:"ui/components/multichain/pages/send/components/recipient-content.tsx"}],[5168,{".":5160,"../../../../../../shared/constants/metametrics":4505,"../../../../../../shared/modules/hexstring-utils":4544,"../../../../../contexts/i18n":5324,"../../../../../contexts/metametrics":5327,"../../../../../ducks/send":5348,"../../../../../helpers/utils/util":5399,"../../../../../pages/confirmations/send/send-content/add-recipient/domain-input":5720,"../../../../../store/actions":5998,"../../../../component-library":4955,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.SendPageRecipientInput=void 0;var o,a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=h(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}(e("react")),r=e("react-redux"),i=e("../../../../component-library"),s=(o=e("../../../../../pages/confirmations/send/send-content/add-recipient/domain-input"))&&o.__esModule?o:{default:o},l=e("../../../../../contexts/i18n"),c=e("../../../../../ducks/send"),u=e("../../../../../store/actions"),d=e("../../../../../contexts/metametrics"),p=e("../../../../../../shared/constants/metametrics"),m=e("../../../../../helpers/utils/util"),f=e("../../../../../../shared/modules/hexstring-utils"),g=e(".");function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(h=function(e){return e?n:t})(e)}n.SendPageRecipientInput=()=>{const e=(0,a.useContext)(l.I18nContext),t=(0,r.useDispatch)(),n=(0,a.useContext)(d.MetaMetricsContext),o=(0,r.useSelector)(c.getRecipient),h=(0,r.useSelector)(c.getRecipientUserInput),y=(0,r.useSelector)(c.getIsUsingMyAccountForRecipientSearch);return a.default.createElement(g.SendPageRow,null,a.default.createElement(i.Label,{paddingBottom:2},e("to")),a.default.createElement(s.default,{userInput:h,onChange:e=>t((0,c.updateRecipientUserInput)(e)),onValidAddressTyped:async e=>{t((0,c.addHistoryEntry)(`sendFlow - Valid address typed ${e}`)),await t((0,c.updateRecipientUserInput)(e)),n({event:p.MetaMetricsEventName.sendRecipientSelected,category:p.MetaMetricsEventCategory.Send,properties:{location:"send page recipient input",inputType:"user input"}}),t((0,c.updateRecipient)({address:e,nickname:""}))},internalSearch:y,selectedAddress:o.address,selectedName:o.nickname===o.address?(0,m.shortenAddress)((0,f.toChecksumHexAddress)(o.address)):o.nickname,onPaste:e=>{t((0,c.addHistoryEntry)(`sendFlow - User pasted ${e} into address field`))},onReset:()=>t((0,c.resetRecipientInput)()),scanQrCode:()=>{n({event:"Used QR scanner",category:p.MetaMetricsEventCategory.Transactions,properties:{action:"Edit Screen",legacy_event:!0}}),t((0,u.showQrScanner)())}}))}}}},{package:"$root$",file:"ui/components/multichain/pages/send/components/recipient-input.tsx"}]],[],{}); \ No newline at end of file +LavaPack.loadBundle([[4876,{"../../../../shared/constants/gas":4500,"../../../../shared/constants/metametrics":4505,"../../../../shared/constants/transaction":4520,"../../../../shared/modules/selectors":4554,"../../../contexts/gasFee":5323,"../../../contexts/metametrics":5327,"../../../contexts/transaction-modal":5331,"../../../helpers/constants/design-system":5355,"../../../helpers/constants/routes":5361,"../../../helpers/utils/transactions.util":5397,"../../../helpers/utils/util":5399,"../../../hooks/useI18nContext":5427,"../../../hooks/useShouldShowSpeedUp":5440,"../../../hooks/useTransactionDisplayData":5449,"../../../pages/confirmations/components/advanced-gas-fee-popover":5489,"../../../pages/confirmations/components/edit-gas-fee-popover":5563,"../../../pages/confirmations/components/edit-gas-popover":5570,"../../../selectors":5987,"../../../store/actions":5998,"../../component-library":4955,"../../multichain":5092,"../../ui/button":5198,"../cancel-button":4591,"../cancel-speedup-popover":4593,"../transaction-icon":4869,"../transaction-list-item-details":4871,"../transaction-status-label/transaction-status-label":4879,"@metamask/transaction-controller":2234,classnames:3049,"prop-types":3997,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=F(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}(e("react")),a=D(e("prop-types")),r=D(e("classnames")),i=e("react-router-dom"),s=e("react-redux"),l=e("@metamask/transaction-controller"),c=e("../../../hooks/useTransactionDisplayData"),u=e("../../../hooks/useI18nContext"),d=D(e("../transaction-list-item-details")),p=e("../../../helpers/constants/routes"),m=e("../../../hooks/useShouldShowSpeedUp"),f=D(e("../transaction-status-label/transaction-status-label")),g=D(e("../transaction-icon")),h=e("../../../helpers/constants/design-system"),y=e("../../component-library"),b=e("../../../../shared/constants/metametrics"),v=e("../../../../shared/constants/transaction"),k=e("../../../../shared/constants/gas"),x=e("../../../contexts/gasFee"),T=e("../../../contexts/transaction-modal"),C=e("../../../selectors"),w=e("../../../helpers/utils/transactions.util"),_=e("../../../helpers/utils/util"),E=D(e("../../ui/button")),M=D(e("../../../pages/confirmations/components/advanced-gas-fee-popover")),S=D(e("../cancel-button")),O=D(e("../cancel-speedup-popover")),A=D(e("../../../pages/confirmations/components/edit-gas-fee-popover")),N=D(e("../../../pages/confirmations/components/edit-gas-popover")),I=e("../../../contexts/metametrics"),P=e("../../multichain"),j=e("../../../store/actions"),B=e("../../../../shared/modules/selectors");function D(e){return e&&e.__esModule?e:{default:e}}function F(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(F=function(e){return e?n:t})(e)}function L(){return L=Object.assign?Object.assign.bind():function(e){for(var t=1;t{e.stopPropagation(),J({event:'Clicked "Speed Up"',category:b.MetaMetricsEventCategory.Navigation,properties:{action:"Activity Log",legacy_event:!0}}),z?(t(k.EditGasModes.speedUp),W("cancelSpeedUpTransaction")):$(!0)}),[W,t,J,z]),Q=(0,o.useCallback)((e=>{e.stopPropagation(),J({event:'Clicked "Cancel"',category:b.MetaMetricsEventCategory.Navigation,properties:{action:"Activity Log",legacy_event:!0}}),K===l.TransactionStatus.approved?H((0,j.abortTransactionSigning)(G)):z?(t(k.EditGasModes.cancel),W("cancelSpeedUpTransaction")):L(!0)}),[J,W,t,z,K,H,G]),X=(0,m.useShouldShowSpeedUp)(e,n),{title:Z,category:ee,primaryCurrency:te,recipientAddress:ne,secondaryCurrency:oe,displayedStatusKey:ae,isPending:re,senderAddress:ie}=(0,c.useTransactionDisplayData)(e),se=(0,_.formatDateWithYearContext)(e.primaryTransaction.time,"MMM d, y","MMM d"),le=ee===v.TransactionGroupCategory.signatureRequest,ce=ee===v.TransactionGroupCategory.approval,ue=K===l.TransactionStatus.unapproved,de=[v.TransactionGroupCategory.swap,v.TransactionGroupCategory.swapAndSend].includes(ee),pe=K===l.TransactionStatus.approved,me=K===l.TransactionStatus.signed,fe=(0,r.default)("transaction-list-item",{"transaction-list-item--unconfirmed":re||[l.TransactionStatus.failed,l.TransactionStatus.dropped,l.TransactionStatus.rejected].includes(ae)}),ge=(0,o.useCallback)((()=>{ue?M.push(`${p.CONFIRM_TRANSACTION_ROUTE}/${G}`):D((e=>(J({event:e?b.MetaMetricsEventName.ActivityDetailsClosed:b.MetaMetricsEventName.ActivityDetailsOpened,category:b.MetaMetricsEventCategory.Navigation,properties:{activity_type:ee}}),!e)))}),[ue,M,G,J,ee]),he=(0,o.useMemo)((()=>!X||!re||ue||pe||me?null:o.default.createElement(E.default,{"data-testid":"speed-up-button",type:"primary",onClick:O?Q:Y,style:O?{width:"auto"}:null},w(O?"speedUpCancellation":"speedUp"))),[X,ue,w,re,pe,me,O,Y,Q]),ye=(0,s.useSelector)(C.getCurrentNetwork);let be=!O&&re&&!ue&&!me;return o.default.createElement(o.default.Fragment,null,o.default.createElement(P.ActivityListItem,{"data-testid":"activity-list-item",onClick:ge,className:fe,title:Z,icon:o.default.createElement(y.BadgeWrapper,{anchorElementShape:y.BadgeWrapperAnchorElementShape.circular,positionObj:{top:-4,right:-4},display:h.Display.Block,badge:o.default.createElement(y.AvatarNetwork,{className:"activity-tx__network-badge","data-testid":"activity-tx-network-badge",size:y.AvatarNetworkSize.Xs,name:null==ye?void 0:ye.nickname,src:null==ye||null===(a=ye.rpcPrefs)||void 0===a?void 0:a.imageUrl,borderWidth:1,borderColor:h.BackgroundColor.backgroundDefault,backgroundColor:U})},o.default.createElement(g.default,{category:ee,status:ae})),subtitle:o.default.createElement(f.default,{statusOnly:!0,isPending:re,isEarliestNonce:n,error:q,date:se,status:ae}),rightContent:!le&&!ce&&o.default.createElement(o.default.Fragment,null,o.default.createElement(y.Text,{variant:h.TextVariant.bodyLgMedium,fontWeight:h.FontWeight.Medium,color:h.Color.textDefault,title:te,textAlign:h.TextAlign.Right,"data-testid":"transaction-list-item-primary-currency",className:"activity-list-item__primary-currency",ellipsis:!0},te),o.default.createElement(y.Text,{variant:h.TextVariant.bodyMd,color:h.Color.textAlternative,textAlign:h.TextAlign.Right,"data-testid":"transaction-list-item-secondary-currency"},oe))},o.default.createElement(y.Box,{paddingTop:4,className:"transaction-list-item__pending-actions"},be&&o.default.createElement(S.default,{"data-testid":"cancel-button",transaction:e.primaryTransaction,cancelTransaction:Q}),he)),A&&o.default.createElement(d.default,{title:Z,onClose:ge,transactionGroup:e,primaryCurrency:te,senderAddress:ie,recipientAddress:ne,onRetry:Y,showRetry:K===l.TransactionStatus.failed&&!de&&!V,showSpeedUp:X,isEarliestNonce:n,onCancel:Q,showCancel:re&&!O,transactionStatus:()=>o.default.createElement(f.default,{isPending:re,isEarliestNonce:n,error:q,date:se,status:ae,statusOnly:!0})}),!z&&R&&o.default.createElement(N.default,{onClose:()=>$(!1),mode:k.EditGasModes.speedUp,transaction:e.primaryTransaction}),!z&&F&&o.default.createElement(N.default,{onClose:()=>L(!1),mode:k.EditGasModes.cancel,transaction:e.primaryTransaction}))}R.propTypes={transactionGroup:a.default.object.isRequired,isEarliestNonce:a.default.bool,setEditGasMode:a.default.func};const $=e=>{const{transactionGroup:t}=e,[n,a]=(0,o.useState)(),r=t.primaryTransaction,i=(0,s.useSelector)(C.checkNetworkAndAccountSupports1559)&&!(0,w.isLegacyTransaction)(null==r?void 0:r.txParams),l=Boolean(t.primaryTransaction.custodyId);return o.default.createElement(x.GasFeeContextProvider,{transaction:t.primaryTransaction,editGasMode:n},o.default.createElement(T.TransactionModalContextProvider,null,o.default.createElement(R,L({},e,{setEditGasMode:a})),i&&o.default.createElement(o.default.Fragment,null,!l&&o.default.createElement(O.default,null),o.default.createElement(A.default,null),o.default.createElement(M.default,null))))};$.propTypes={transactionGroup:a.default.object.isRequired};n.default=$}}},{package:"$root$",file:"ui/components/app/transaction-list-item/transaction-list-item.component.js"}],[4877,{"./transaction-list.component":4878},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return a.default}});var o,a=(o=e("./transaction-list.component"))&&o.__esModule?o:{default:o}}}},{package:"$root$",file:"ui/components/app/transaction-list/index.js"}],[4878,{"../../../../shared/constants/swaps":4516,"../../../../shared/modules/string-utils":4558,"../../../helpers/constants/design-system":5355,"../../../helpers/constants/transactions":5367,"../../../helpers/utils/util":5399,"../../../hooks/useAccountTotalFiatBalance":5413,"../../../hooks/useI18nContext":5427,"../../../selectors":5987,"../../../selectors/transactions":5995,"../../component-library":4955,"../../multichain/ramps-card/ramps-card":5178,"../../ui/button":5198,"../transaction-list-item":4874,"../transaction-list-item/smart-transaction-list-item.component":4875,"@metamask/transaction-controller":2234,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=M;var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=T(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}(e("react")),a=x(e("prop-types")),r=e("react-redux"),i=e("@metamask/transaction-controller"),s=e("../../../selectors/transactions"),l=e("../../../selectors"),c=e("../../../hooks/useI18nContext"),u=x(e("../transaction-list-item")),d=x(e("../transaction-list-item/smart-transaction-list-item.component")),p=x(e("../../ui/button")),m=e("../../../helpers/constants/transactions"),f=e("../../../../shared/constants/swaps"),g=e("../../../../shared/modules/string-utils"),h=e("../../component-library"),y=e("../../../helpers/constants/design-system"),b=e("../../../helpers/utils/util"),v=e("../../../hooks/useAccountTotalFiatBalance"),k=e("../../multichain/ramps-card/ramps-card");function x(e){return e&&e.__esModule?e:{default:e}}function T(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(T=function(e){return e?n:t})(e)}const C=10,w=({initialTransaction:{type:e,destinationTokenSymbol:t,sourceTokenSymbol:n}})=>!m.TOKEN_CATEGORY_HASH[e]&&(![i.TransactionType.swap,i.TransactionType.swapAndSend].includes(e)||("ETH"===t||"ETH"===n)),_=(e,t,n,o)=>t?e.filter(w):n?e.filter(((e,t)=>({initialTransaction:{txParams:n}})=>(0,g.isEqualCaseInsensitive)(null==n?void 0:n.to,e)||(null==n?void 0:n.to)===f.SWAPS_CHAINID_CONTRACT_ADDRESS_MAP[t]&&n.data.match(e.slice(2)))(n,o)):e,E=e=>{const t=[];return e.forEach((e=>{const n=(0,b.formatDateWithYearContext)(e.primaryTransaction.time,"MMM d, y","MMM d"),o=t.find((e=>e.date===n));o?o.transactionGroups.push(e):t.push({date:n,dateMillis:e.primaryTransaction.time,transactionGroups:[e]}),t.sort(((e,t)=>t.dateMillis-e.dateMillis))})),t};function M({hideTokenTransactions:e,tokenAddress:t}){const[n,a]=(0,o.useState)(C),m=(0,c.useI18nContext)(),f=(0,r.useSelector)(s.nonceSortedPendingTransactionsSelector),g=(0,r.useSelector)(s.nonceSortedCompletedTransactionsSelector),b=(0,r.useSelector)(l.getCurrentChainId),{address:x}=(0,r.useSelector)(l.getSelectedAccount),T=(0,r.useSelector)(l.getShouldHideZeroBalanceTokens),{totalFiatBalance:w}=(0,v.useAccountTotalFiatBalance)(x,T),M=0===Number(w),S=(0,r.useSelector)(l.getIsBuyableChain)&&M,O=(e,t)=>0===e?o.default.createElement(h.Text,{paddingTop:4,paddingInline:4,variant:y.TextVariant.bodyMd,color:y.TextColor.textDefault,key:t.dateMillis},t.date):null,A=(0,o.useMemo)((()=>E(_(f,e,t,b))),[e,t,f,b]),N=(0,o.useMemo)((()=>E(_(g,e,t,b))),[e,t,g,b]),I=(0,o.useCallback)((()=>a((e=>e+C))),[]);return o.default.createElement(o.default.Fragment,null,S?o.default.createElement(k.RampsCard,{variant:k.RAMPS_CARD_VARIANT_TYPES.ACTIVITY}):null,o.default.createElement(h.Box,{className:"transaction-list",paddingTop:4},o.default.createElement(h.Box,{className:"transaction-list__transactions"},A.length>0&&o.default.createElement(h.Box,{className:"transaction-list__pending-transactions"},A.map((e=>e.transactionGroups.map(((t,n)=>{var a;return null!==(a=t.initialTransaction)&&void 0!==a&&a.isSmartTransaction?o.default.createElement(o.Fragment,{key:`${t.nonce}:${n}`},O(n,e),o.default.createElement(d.default,{isEarliestNonce:0===n,smartTransaction:t.initialTransaction,transactionGroup:t})):o.default.createElement(o.Fragment,{key:`${t.nonce}:${n}`},O(n,e),o.default.createElement(u.default,{isEarliestNonce:0===n,transactionGroup:t}))}))))),o.default.createElement(h.Box,{className:"transaction-list__completed-transactions"},N.length>0?N.map((e=>(e.transactionGroups=e.transactionGroups.map((e=>(e.transactions=e.transactions.filter((e=>!(e=>e.type===i.TransactionType.incoming&&e.txParams.to.toLowerCase()!==x.toLowerCase())(e))),e))),e))).map((e=>(e.transactionGroups=e.transactionGroups.filter((e=>e.transactions.length>0)),e))).filter((e=>e.transactionGroups.length>0)).slice(0,n).map((e=>e.transactionGroups.map(((t,a)=>{var r;return o.default.createElement(o.Fragment,{key:`${t.nonce}:${t.initialTransaction?a:n+a-10}`},O(a,e),null!==(r=t.initialTransaction)&&void 0!==r&&r.isSmartTransaction?o.default.createElement(d.default,{transactionGroup:t,smartTransaction:t.initialTransaction}):o.default.createElement(u.default,{transactionGroup:t}))})))):o.default.createElement(h.Box,{className:"transaction-list__empty"},o.default.createElement(h.Box,{className:"transaction-list__empty-text"},m("noTransactions"))),N.length>n&&o.default.createElement(p.default,{className:"transaction-list__view-more",type:"secondary",onClick:I},m("viewMore"))))))}M.propTypes={hideTokenTransactions:a.default.bool,tokenAddress:a.default.string},M.defaultProps={hideTokenTransactions:!1,tokenAddress:undefined}}}},{package:"$root$",file:"ui/components/app/transaction-list/transaction-list.component.js"}],[4879,{"../../../../shared/constants/transaction":4520,"../../../hooks/useI18nContext":5427,"../../ui/tooltip":5310,"@metamask/transaction-controller":2234,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=g;var o=u(e("react")),a=u(e("prop-types")),r=u(e("classnames")),i=e("@metamask/transaction-controller"),s=u(e("../../ui/tooltip")),l=e("../../../hooks/useI18nContext"),c=e("../../../../shared/constants/transaction");function u(e){return e&&e.__esModule?e:{default:e}}const d="queued",p="signing",m={[i.TransactionStatus.submitted]:c.TransactionGroupStatus.pending,[i.TransactionStatus.approved]:c.TransactionGroupStatus.pending},f={[i.TransactionStatus.unapproved]:"transaction-status-label--unapproved",[i.TransactionStatus.rejected]:"transaction-status-label--rejected",[i.TransactionStatus.failed]:"transaction-status-label--failed",[i.TransactionStatus.dropped]:"transaction-status-label--dropped",[c.TransactionGroupStatus.cancelled]:"transaction-status-label--cancelled",[d]:"transaction-status-label--queued",[c.TransactionGroupStatus.pending]:"transaction-status-label--pending"};function g({status:e,date:t,error:n,isEarliestNonce:a,className:u,statusOnly:g}){var h;const y=(0,l.useI18nContext)(),b=function(e,t){return e===i.TransactionStatus.approved?p:m[e]?t?c.TransactionGroupStatus.pending:d:e}(e,a);let v=(null==n||null===(h=n.rpc)||void 0===h?void 0:h.message)||(null==n?void 0:n.message),k=b&&y(b);return b!==i.TransactionStatus.confirmed||g||(k=t),o.default.createElement(s.default,{position:"top",title:v,wrapperClassName:(0,r.default)("transaction-status-label",`transaction-status-label--${b}`,u,f[b])},k)}g.propTypes={status:a.default.string,className:a.default.string,date:a.default.string,error:a.default.object,isEarliestNonce:a.default.bool,statusOnly:a.default.bool}}}},{package:"$root$",file:"ui/components/app/transaction-status-label/transaction-status-label.js"}],[4880,{"./user-preferenced-currency-display.component":4881},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return a.default}});var o,a=(o=e("./user-preferenced-currency-display.component"))&&o.__esModule?o:{default:o}}}},{package:"$root$",file:"ui/components/app/user-preferenced-currency-display/index.js"}],[4881,{"../../../../shared/constants/common":4495,"../../../ducks/metamask/metamask":5346,"../../../helpers/constants/common":5353,"../../../hooks/useUserPreferencedCurrency":5452,"../../../selectors":5987,"../../component-library":4955,"../../ui/currency-display":5209,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=h;var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}(e("react")),a=m(e("prop-types")),r=e("react-redux"),i=e("../../../../shared/constants/common"),s=e("../../../helpers/constants/common"),l=m(e("../../ui/currency-display")),c=e("../../../hooks/useUserPreferencedCurrency"),u=e("../../component-library"),d=e("../../../selectors"),p=e("../../../ducks/metamask/metamask");function m(e){return e&&e.__esModule?e:{default:e}}function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}function g(){return g=Object.assign?Object.assign.bind():function(e){for(var t=1;t{var e;return i&&x===k&&o.default.createElement(u.AvatarNetwork,{size:u.AvatarNetworkSize.Xs,name:null==v?void 0:v.nickname,src:null==v||null===(e=v.rpcPrefs)||void 0===e?void 0:e.imageUrl})}),[x,i,k,null==v?void 0:v.nickname,null==v||null===(b=v.rpcPrefs)||void 0===b?void 0:b.imageUrl]);return o.default.createElement(l.default,g({},y,{currency:x,"data-testid":e,numberOfDecimals:T,prefixComponent:C,suffix:h&&!i&&x}))}const y={className:a.default.string,"data-testid":a.default.string,prefix:a.default.string,value:a.default.string,numberOfDecimals:a.default.oneOfType([a.default.string,a.default.number]),hideLabel:a.default.bool,hideTitle:a.default.bool,style:a.default.object,showEthLogo:a.default.bool,ethLogoHeight:a.default.number,type:a.default.oneOf([s.PRIMARY,s.SECONDARY]),ethNumberOfDecimals:a.default.oneOfType([a.default.string,a.default.number]),fiatNumberOfDecimals:a.default.oneOfType([a.default.string,a.default.number]),showFiat:a.default.bool,showNative:a.default.bool,showCurrencySuffix:a.default.bool,currency:a.default.string,denomination:a.default.oneOf([i.EtherDenomination.GWEI,i.EtherDenomination.ETH]),displayValue:a.default.string,prefixComponent:a.default.node,suffix:a.default.oneOfType([a.default.string,a.default.bool]),prefixComponentWrapperProps:a.default.object,textProps:a.default.object,suffixProps:a.default.object};h.propTypes=y}}},{package:"$root$",file:"ui/components/app/user-preferenced-currency-display/user-preferenced-currency-display.component.js"}],[4882,{"../../../../shared/constants/metametrics":4505,"../../../../shared/constants/transaction":4520,"../../../../shared/modules/currency-display.utils":4538,"../../../contexts/i18n":5324,"../../../contexts/metametrics":5327,"../../../ducks/metamask/metamask":5346,"../../../ducks/send":5348,"../../../ducks/swaps/swaps":5351,"../../../helpers/constants/common":5353,"../../../helpers/constants/design-system":5355,"../../../helpers/constants/routes":5361,"../../../helpers/utils/hardware":5385,"../../../helpers/utils/portfolio":5394,"../../../hooks/experiences/useRamps":5403,"../../../hooks/useIsOriginalNativeTokenSymbol":5428,"../../../selectors":5987,"../../component-library":4955,"../../ui/icon-button":5230,"../../ui/spinner":5294,"../../ui/tooltip":5310,"../user-preferenced-currency-display":4880,"./wallet-overview":4885,"@metamask/keyring-api":1444,classnames:3049,"prop-types":3997,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=I(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}(e("react")),a=N(e("prop-types")),r=e("react-redux"),i=N(e("classnames")),s=e("react-router-dom"),l=e("@metamask/keyring-api"),c=e("../../../contexts/i18n"),u=e("../../../helpers/constants/routes"),d=N(e("../../ui/tooltip")),p=N(e("../user-preferenced-currency-display")),m=e("../../../helpers/constants/common"),f=e("../../../selectors"),g=e("../../../ducks/swaps/swaps"),h=e("../../../helpers/utils/hardware"),y=N(e("../../ui/icon-button")),b=e("../../../contexts/metametrics"),v=e("../../../../shared/constants/metametrics"),k=N(e("../../ui/spinner")),x=e("../../../ducks/send"),T=e("../../../../shared/constants/transaction"),C=e("../../component-library"),w=e("../../../helpers/constants/design-system"),_=N(e("../../../hooks/experiences/useRamps")),E=e("../../../helpers/utils/portfolio"),M=e("../../../hooks/useIsOriginalNativeTokenSymbol"),S=e("../../../ducks/metamask/metamask"),O=e("../../../../shared/modules/currency-display.utils"),A=N(e("./wallet-overview"));function N(e){return e&&e.__esModule?e:{default:e}}function I(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(I=function(e){return e?n:t})(e)}const P=({className:e,showAddress:t})=>{const n=(0,r.useDispatch)(),a=(0,o.useContext)(c.I18nContext),N=(0,o.useContext)(b.MetaMetricsContext),I=(0,s.useHistory)(),P=(0,s.useLocation)(),j=(0,r.useSelector)(f.getIsBridgeChain),B=(0,r.useSelector)(f.getIsBuyableChain),D=(0,r.useSelector)(f.getMetaMetricsId),F=(0,r.useSelector)(f.getCurrentKeyring),L=(0,h.isHardwareKeyring)(null==F?void 0:F.type),R=(0,r.useSelector)(f.getSwapsDefaultToken),$=(0,r.useSelector)(f.isBalanceCached),z=(0,r.useSelector)(f.getShouldShowFiat),{useNativeCurrencyAsPrimaryCurrency:W}=(0,r.useSelector)(f.getPreferences),U=(0,r.useSelector)(f.getCurrentChainId),{ticker:V,type:H,rpcUrl:G}=(0,r.useSelector)(S.getProviderConfig),q=(0,r.useSelector)(f.getSelectedAccountCachedBalance),K=(0,M.useIsOriginalNativeTokenSymbol)(U,V,H,G),J=(0,r.useSelector)(f.getSelectedInternalAccount),Y=(0,r.useSelector)(f.getUseExternalServices),Q=(0,r.useSelector)(f.getIsSwapsChain),X=J.methods.includes(l.EthMethod.SignTransaction)||J.methods.includes(l.EthMethod.SignUserOperation),Z={buyButton:[{condition:!B,message:""},{condition:!X,message:"methodNotSupported"}],sendButton:[{condition:!X,message:"methodNotSupported"}],swapButton:[{condition:!Q,message:"currentlyUnavailable"},{condition:!X,message:"methodNotSupported"}],bridgeButton:[{condition:!j,message:"currentlyUnavailable"},{condition:!X,message:"methodNotSupported"}]},ee=(e,t)=>{const n=Z[e].find((({condition:e})=>e));return n&&n.message?o.default.createElement(d.default,{title:a(n.message),position:"bottom"},t):t},{openBuyCryptoInPdapp:te}=(0,_.default)();return o.default.createElement(A.default,{showAddress:t,balance:o.default.createElement(d.default,{position:"top",title:a("balanceOutdated"),disabled:!$},o.default.createElement("div",{className:"eth-overview__balance"},o.default.createElement("div",{className:"eth-overview__primary-container"},q?o.default.createElement(p.default,{style:{display:"contents"},className:(0,i.default)("eth-overview__primary-balance",{"eth-overview__cached-balance":$}),"data-testid":"eth-overview__primary-currency",value:q,type:(0,O.showPrimaryCurrency)(K,W)?m.PRIMARY:m.SECONDARY,ethNumberOfDecimals:4,hideTitle:!0}):o.default.createElement(k.default,{color:"var(--color-secondary-default)",className:"loading-overlay__spinner"}),$?o.default.createElement("span",{className:"eth-overview__cached-star"},"*"):null),z&&K&&q&&o.default.createElement(p.default,{className:(0,i.default)({"eth-overview__cached-secondary-balance":$,"eth-overview__secondary-balance":!$}),"data-testid":"eth-overview__secondary-currency",value:q,type:m.SECONDARY,ethNumberOfDecimals:4,hideTitle:!0}))),buttons:o.default.createElement(o.default.Fragment,null,o.default.createElement(y.default,{className:"eth-overview__button",Icon:o.default.createElement(C.Icon,{name:C.IconName.PlusMinus,color:w.IconColor.primaryInverse}),disabled:!B||!X,"data-testid":"eth-overview-buy",label:a("buyAndSell"),onClick:()=>{te(),N({event:v.MetaMetricsEventName.NavBuyButtonClicked,category:v.MetaMetricsEventCategory.Navigation,properties:{location:"Home",text:"Buy",chain_id:U,token_symbol:R}})},tooltipRender:e=>ee("buyButton",e)}),o.default.createElement(y.default,{className:"eth-overview__button","data-testid":"eth-overview-send",Icon:o.default.createElement(C.Icon,{name:C.IconName.Arrow2UpRight,color:w.IconColor.primaryInverse}),disabled:!X,label:a("send"),onClick:()=>{N({event:v.MetaMetricsEventName.NavSendButtonClicked,category:v.MetaMetricsEventCategory.Navigation,properties:{token_symbol:"ETH",location:"Home",text:"Send",chain_id:U}}),n((0,x.startNewDraftTransaction)({type:T.AssetType.native})).then((()=>{I.push(u.SEND_ROUTE)}))},tooltipRender:e=>ee("sendButton",e)}),o.default.createElement(y.default,{className:"eth-overview__button",disabled:!Q||!X||!Y,Icon:o.default.createElement(C.Icon,{name:C.IconName.SwapHorizontal,color:w.IconColor.primaryInverse}),onClick:()=>{Q&&(N({event:v.MetaMetricsEventName.NavSwapButtonClicked,category:v.MetaMetricsEventCategory.Swaps,properties:{token_symbol:"ETH",location:v.MetaMetricsSwapsEventSource.MainView,text:"Swap",chain_id:U}}),n((0,g.setSwapsFromToken)(R)),L?global.platform.openExtensionInBrowser(u.BUILD_QUOTE_ROUTE):I.push(u.BUILD_QUOTE_ROUTE))},label:a("swap"),"data-testid":"token-overview-button-swap",tooltipRender:e=>ee("swapButton",e)}),o.default.createElement(y.default,{className:"eth-overview__button",disabled:!j||!X,"data-testid":"eth-overview-bridge",Icon:o.default.createElement(C.Icon,{name:C.IconName.Bridge,color:w.IconColor.primaryInverse}),label:a("bridge"),onClick:()=>{if(j){const e=(0,E.getPortfolioUrl)("bridge","ext_bridge_button",D);global.platform.openTab({url:`${e}${P.pathname.includes("asset")?"&token=native":""}`}),N({category:v.MetaMetricsEventCategory.Navigation,event:v.MetaMetricsEventName.BridgeLinkClicked,properties:{location:"Home",text:"Bridge",chain_id:U,token_symbol:"ETH"}})}},tooltipRender:e=>ee("bridgeButton",e)}),o.default.createElement(y.default,{className:"eth-overview__button","data-testid":"eth-overview-portfolio",Icon:o.default.createElement(C.Icon,{name:C.IconName.Diagram,color:w.IconColor.primaryInverse}),label:a("portfolio"),onClick:()=>{const e=(0,E.getPortfolioUrl)("","ext_portfolio_button",D);global.platform.openTab({url:e}),N({category:v.MetaMetricsEventCategory.Navigation,event:v.MetaMetricsEventName.PortfolioLinkClicked,properties:{location:"Home",text:"Portfolio",chain_id:U,token_symbol:"ETH"}})}})),className:e})};P.propTypes={className:a.default.string,showAddress:a.default.bool};n.default=P}}},{package:"$root$",file:"ui/components/app/wallet-overview/eth-overview.js"}],[4883,{"./eth-overview":4882,"./token-overview":4884},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"EthOverview",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(n,"TokenOverview",{enumerable:!0,get:function(){return a.default}});var o=r(e("./eth-overview")),a=r(e("./token-overview"));function r(e){return e&&e.__esModule?e:{default:e}}}}},{package:"$root$",file:"ui/components/app/wallet-overview/index.js"}],[4884,{"../../../../shared/constants/metametrics":4505,"../../../../shared/constants/transaction":4520,"../../../contexts/i18n":5324,"../../../contexts/metametrics":5327,"../../../ducks/send":5348,"../../../ducks/swaps/swaps":5351,"../../../helpers/constants/design-system":5355,"../../../helpers/constants/error-keys":5356,"../../../helpers/constants/routes":5361,"../../../helpers/utils/hardware":5385,"../../../helpers/utils/portfolio":5394,"../../../hooks/experiences/useRamps":5403,"../../../hooks/useIsOriginalTokenSymbol":5429,"../../../hooks/useTokenFiatAmount":5446,"../../../hooks/useTokenTracker":5447,"../../../selectors":5987,"../../../store/actions":5998,"../../component-library":4955,"../../ui/currency-display":5209,"../../ui/icon-button":5230,"./wallet-overview":4885,"prop-types":3997,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=O(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}(e("react")),a=S(e("prop-types")),r=e("react-redux"),i=e("react-router-dom"),s=S(e("../../ui/currency-display")),l=e("../../../contexts/i18n"),c=e("../../../helpers/constants/routes"),u=e("../../../hooks/useTokenTracker"),d=e("../../../hooks/useTokenFiatAmount"),p=e("../../../ducks/send"),m=e("../../../helpers/utils/hardware"),f=e("../../../ducks/swaps/swaps"),g=S(e("../../../hooks/experiences/useRamps")),h=e("../../../helpers/utils/portfolio"),y=e("../../../selectors"),b=S(e("../../ui/icon-button")),v=e("../../../helpers/constants/error-keys"),k=e("../../../store/actions"),x=e("../../../contexts/metametrics"),T=e("../../../../shared/constants/metametrics"),C=e("../../../../shared/constants/transaction"),w=e("../../component-library"),_=e("../../../helpers/constants/design-system"),E=e("../../../hooks/useIsOriginalTokenSymbol"),M=S(e("./wallet-overview"));function S(e){return e&&e.__esModule?e:{default:e}}function O(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(O=function(e){return e?n:t})(e)}const A=({className:e,token:t})=>{var n,a;const S=(0,r.useDispatch)(),O=(0,o.useContext)(l.I18nContext),A=(0,o.useContext)(x.MetaMetricsContext),N=(0,i.useHistory)(),{tokensWithBalances:I}=(0,u.useTokenTracker)({tokens:[t]}),P=(0,r.useSelector)(y.getCurrentKeyring),j=(0,m.isHardwareKeyring)(P.type),B=null===(n=I[0])||void 0===n?void 0:n.balance,D=null===(a=I[0])||void 0===a?void 0:a.string,F=(0,d.useTokenFiatAmount)(t.address,D,t.symbol),L=(0,E.useIsOriginalTokenSymbol)(t.address,t.symbol),R=(0,r.useSelector)(y.getCurrentChainId),$=(0,r.useSelector)(y.getIsSwapsChain),z=(0,r.useSelector)(y.getIsBridgeChain),W=(0,r.useSelector)(y.getIsBuyableChain),U=(0,r.useSelector)(y.getMetaMetricsId),{openBuyCryptoInPdapp:V}=(0,g.default)();return(0,o.useEffect)((()=>{t.isERC721&&S((0,k.showModal)({name:"CONVERT_TOKEN_TO_NFT",tokenAddress:t.address}))}),[t.isERC721,t.address,S]),o.default.createElement(M.default,{showAddress:!1,balance:o.default.createElement("div",{className:"token-overview__balance"},o.default.createElement("div",{className:"token-overview__primary-container"},o.default.createElement(s.default,{style:{display:"contents"},className:"token-overview__primary-balance",displayValue:D,suffix:t.symbol})),F&&L?o.default.createElement(s.default,{className:"token-overview__secondary-balance",displayValue:F,hideLabel:!0}):null),buttons:o.default.createElement(o.default.Fragment,null,o.default.createElement(b.default,{className:"token-overview__button",Icon:o.default.createElement(w.Icon,{name:w.IconName.PlusMinus,color:_.IconColor.primaryInverse}),label:O("buyAndSell"),"data-testid":"token-overview-buy",onClick:()=>{V(),A({event:T.MetaMetricsEventName.NavBuyButtonClicked,category:T.MetaMetricsEventCategory.Navigation,properties:{location:"Token Overview",text:"Buy",chain_id:R,token_symbol:t.symbol}})},disabled:t.isERC721||!W}),o.default.createElement(b.default,{className:"token-overview__button",onClick:async()=>{A({event:T.MetaMetricsEventName.NavSendButtonClicked,category:T.MetaMetricsEventCategory.Navigation,properties:{token_symbol:t.symbol,location:T.MetaMetricsSwapsEventSource.TokenView,text:"Send",chain_id:R}});try{await S((0,p.startNewDraftTransaction)({type:C.AssetType.token,details:t})),N.push(c.SEND_ROUTE)}catch(e){if(!e.message.includes(v.INVALID_ASSET_TYPE))throw e}},Icon:o.default.createElement(w.Icon,{name:w.IconName.Arrow2UpRight,color:_.IconColor.primaryInverse}),label:O("send"),"data-testid":"eth-overview-send",disabled:t.isERC721}),$&&o.default.createElement(b.default,{className:"token-overview__button",Icon:o.default.createElement(w.Icon,{name:w.IconName.SwapHorizontal,color:_.IconColor.primaryInverse}),onClick:()=>{A({event:T.MetaMetricsEventName.NavSwapButtonClicked,category:T.MetaMetricsEventCategory.Swaps,properties:{token_symbol:t.symbol,location:T.MetaMetricsSwapsEventSource.TokenView,text:"Swap",chain_id:R}}),S((0,f.setSwapsFromToken)({...t,address:t.address.toLowerCase(),iconUrl:t.image,balance:B,string:D})),j?global.platform.openExtensionInBrowser(c.BUILD_QUOTE_ROUTE):N.push(c.BUILD_QUOTE_ROUTE)},label:O("swap"),tooltipRender:null}),z&&o.default.createElement(b.default,{className:"token-overview__button","data-testid":"token-overview-bridge",Icon:o.default.createElement(w.Icon,{name:w.IconName.Bridge,color:_.IconColor.primaryInverse}),label:O("bridge"),onClick:()=>{const e=(0,h.getPortfolioUrl)("bridge","ext_bridge_button",U);global.platform.openTab({url:`${e}&token=${t.address}`}),A({category:T.MetaMetricsEventCategory.Navigation,event:T.MetaMetricsEventName.BridgeLinkClicked,properties:{location:"Token Overview",text:"Bridge",url:e,chain_id:R,token_symbol:t.symbol}})},tooltipRender:null})),className:e})};A.propTypes={className:a.default.string,token:a.default.shape({address:a.default.string.isRequired,decimals:a.default.number,symbol:a.default.string,image:a.default.string,isERC721:a.default.bool}).isRequired},A.defaultProps={className:undefined};n.default=A}}},{package:"$root$",file:"ui/components/app/wallet-overview/token-overview.js"}],[4885,{classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=i(e("react")),a=i(e("prop-types")),r=i(e("classnames"));function i(e){return e&&e.__esModule?e:{default:e}}const s=({balance:e,buttons:t,className:n})=>o.default.createElement("div",{className:(0,r.default)("wallet-overview",n)},o.default.createElement("div",{className:"wallet-overview__balance"},e),o.default.createElement("div",{className:"wallet-overview__buttons"},t));s.propTypes={balance:a.default.element.isRequired,buttons:a.default.element.isRequired,className:a.default.string};n.default=s}}},{package:"$root$",file:"ui/components/app/wallet-overview/wallet-overview.js"}],[4886,{"./whats-new-popup":4887},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return a.default}});var o,a=(o=e("./whats-new-popup"))&&o.__esModule?o:{default:o}}}},{package:"$root$",file:"ui/components/app/whats-new-popup/index.js"}],[4887,{"../../../../shared/constants/metametrics":4505,"../../../../shared/notifications":4562,"../../../contexts/i18n":5324,"../../../contexts/metametrics":5327,"../../../ducks/locale/locale":5345,"../../../helpers/constants/design-system":5355,"../../../hooks/useEqualityCheck":5422,"../../../hooks/useTheme":5442,"../../../selectors":5987,"../../../store/actions":5998,"../../component-library":4955,"../../ui/popover":5281,classnames:3049,lodash:3836,"prop-types":3997,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=M;var o=T(e("classnames")),a=e("lodash"),r=T(e("prop-types")),i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=x(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}(e("react")),s=e("react-redux"),l=e("react-router-dom"),c=e("../../../../shared/constants/metametrics"),u=e("../../../../shared/notifications"),d=e("../../../contexts/i18n"),p=e("../../../contexts/metametrics"),m=e("../../../ducks/locale/locale"),f=e("../../../helpers/constants/design-system"),g=e("../../../hooks/useEqualityCheck"),h=e("../../../hooks/useTheme"),y=e("../../../selectors"),b=e("../../../store/actions"),v=e("../../component-library"),k=T(e("../../ui/popover"));function x(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(x=function(e){return e?n:t})(e)}function T(e){return e&&e.__esModule?e:{default:e}}function C(e){return{[u.NOTIFICATION_DROP_LEDGER_FIREFOX]:()=>{(0,b.updateViewedNotifications)({[u.NOTIFICATION_DROP_LEDGER_FIREFOX]:!0})}}[e]}const w=e=>Array.isArray(e)?i.default.createElement(i.default.Fragment,null,e.map(((t,n)=>{const o=n===e.length-1;return i.default.createElement(v.Text,{"data-testid":`whats-new-description-item-${n}`,key:`item-${n}`,variant:f.TextVariant.bodyMd,marginBottom:o?0:4},t)}))):i.default.createElement(v.Text,{variant:f.TextVariant.bodyMd},e),_=({notification:e,idRefMap:t,isLast:n,trackEvent:a})=>{const{id:r,date:s,title:l,description:u,image:d,actionText:p}=e,m=C(r),g=d&&i.default.createElement("img",{className:"whats-new-popup__notification-image",src:d.src,height:d.height,width:d.width}),h=null==d?void 0:d.placeImageBelowDescription;return i.default.createElement("div",{className:(0,o.default)("whats-new-popup__notification whats-new-popup__first-notification",{"whats-new-popup__last-notification":n}),key:`whats-new-popop-notification-${r}`},i.default.createElement(v.Text,{variant:f.TextVariant.bodyLgMedium,marginBottom:2},l),!h&&g,i.default.createElement("div",{className:"whats-new-popup__description-and-date"},i.default.createElement("div",{className:"whats-new-popup__notification-description"},w(u)),i.default.createElement("div",{className:"whats-new-popup__notification-date"},s)),h&&g,p&&i.default.createElement(v.ButtonPrimary,{className:"whats-new-popup__button",onClick:()=>{m(),a({category:c.MetaMetricsEventCategory.Home,event:c.MetaMetricsEventName.WhatsNewClicked})},block:!0},p),i.default.createElement("div",{className:"whats-new-popup__intersection-observable",ref:t[r]}))},E=({notification:e,idRefMap:t,history:n,isLast:a})=>{const{id:r,date:s,title:l,description:c,actionText:u}=e,d=C(r);return i.default.createElement("div",{className:(0,o.default)("whats-new-popup__notification",{"whats-new-popup__last-notification":a}),key:`whats-new-popop-notification-${r}`},i.default.createElement("div",{className:"whats-new-popup__notification-title"},l),i.default.createElement("div",{className:"whats-new-popup__description-and-date"},i.default.createElement("div",{className:"whats-new-popup__notification-description"},w(c)),i.default.createElement("div",{className:"whats-new-popup__notification-date"},s)),u&&i.default.createElement("div",{className:"whats-new-popup__link",onClick:d},`${u} >`),i.default.createElement("div",{className:"whats-new-popup__intersection-observable",ref:t[r]}))};function M({onClose:e}){const t=(0,i.useContext)(d.I18nContext),n=(0,l.useHistory)(),o=(0,s.useSelector)(y.getSortedAnnouncementsToShow),r=(0,s.useSelector)(m.getCurrentLocale),f=(0,h.useTheme)(),[v,x]=(0,i.useState)({}),[T,C]=(0,i.useState)(!0),w=(0,i.useRef)(),M=(0,g.useEqualityCheck)(o),S=(0,i.useMemo)((()=>M.reduce(((e,t)=>({...e,[t.id]:i.default.createRef()})),{})),[M]),O=(0,i.useContext)(p.MetaMetricsContext),A=(0,a.debounce)((e=>{C(e.scrollHeight-e.scrollTop!==e.clientHeight)}),100);(0,i.useEffect)((()=>{const e=new window.IntersectionObserver(((e,t)=>{e.forEach((e=>{if(e.isIntersecting){const[n,o]=Object.entries(S).find((([t,n])=>n.current.isSameNode(e.target)));x((e=>({...e,[n]:!0}))),t.unobserve(o.current)}}))}),{root:w.current,threshold:1});return Object.values(S).forEach((t=>{e.observe(t.current)})),()=>{e.disconnect()}}),[S,x]);const N={[u.NOTIFICATION_DROP_LEDGER_FIREFOX]:_};return i.default.createElement(k.default,{title:t("whatsNew"),headerProps:{padding:[4,4,4]},className:"whats-new-popup__popover",onClose:()=>{(0,b.updateViewedNotifications)(v),O({category:c.MetaMetricsEventCategory.Home,event:c.MetaMetricsEventName.WhatsNewViewed,properties:{number_viewed:Object.keys(v).pop(),completed_all:!0}}),e()},popoverRef:w,showScrollDown:T&&o.length>1,onScrollDownButtonClick:e=>{e.stopPropagation(),S[o[o.length-1].id].current.scrollIntoView({behavior:"smooth"})},onScroll:e=>{A(e.target)}},i.default.createElement("div",{className:"whats-new-popup__notifications"},o.map((({id:e},a)=>{const i=(0,u.getTranslatedUINotifications)(t,r,f)[e],s=a===o.length-1;return(N[e]||E)({notification:i,idRefMap:S,history:n,isLast:s,trackEvent:O})}))))}M.propTypes={onClose:r.default.func.isRequired}}}},{package:"$root$",file:"ui/components/app/whats-new-popup/whats-new-popup.js"}],[4942,{"../../../../helpers/constants/design-system":5355,"../../../ui/box/box":5193,"../../help-text":4951,"../../label":4959,"../../text-field":5005,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.FormTextField=void 0;var o=d(e("react")),a=d(e("prop-types")),r=d(e("classnames")),i=e("../../../../helpers/constants/design-system"),s=d(e("../../../ui/box/box")),l=e("../../text-field"),c=e("../../help-text"),u=e("../../label");function d(e){return e&&e.__esModule?e:{default:e}}function p(){return p=Object.assign?Object.assign.bind():function(e){for(var t=1;to.default.createElement(s.default,p({className:(0,r.default)("mm-form-text-field",{"mm-form-text-field--disabled":d},n),display:i.Display.Flex,flexDirection:i.FlexDirection.Column},D),v&&o.default.createElement(u.Label,p({htmlFor:h},k,{className:(0,r.default)("mm-form-text-field__label",null==k?void 0:k.className)}),v),o.default.createElement(l.TextField,p({className:(0,r.default)("mm-form-text-field__text-field",null==I?void 0:I.className),id:h,autoComplete:e,autoFocus:t,defaultValue:a,disabled:d,error:m,id:h,inputProps:y,inputRef:b,startAccessory:x,maxLength:T,name:C,onBlur:w,onChange:_,onFocus:E,placeholder:M,readOnly:S,required:O,endAccessory:A,size:N,truncate:P,type:j,value:B},I)),f&&o.default.createElement(c.HelpText,p({severity:m&&c.HelpTextSeverity.Danger,marginTop:1},g,{className:(0,r.default)("mm-form-text-field__help-text",null==g?void 0:g.className)}),f));n.FormTextField=m,m.propTypes={className:a.default.string,id:(e,t,n)=>e.label&&!e[t]?new Error(`If a label prop exists you must provide an ${t} prop for the label's htmlFor attribute for accessibility. Warning coming from ${n} ui/components/component-library/form-text-field/form-text-field.js`):null,label:a.default.string,labelProps:a.default.object,helpText:a.default.oneOfType([a.default.node,a.default.string]),helpTextProps:a.default.object,textFieldProps:a.default.object,...l.TextField.propTypes}}}},{package:"$root$",file:"ui/components/component-library/form-text-field/deprecated/form-text-field.js"}],[4943,{"./form-text-field":4942},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"FormTextField",{enumerable:!0,get:function(){return o.FormTextField}});var o=e("./form-text-field")}}},{package:"$root$",file:"ui/components/component-library/form-text-field/deprecated/index.js"}],[4963,{"../modal-content.types":4967,"./modal-content":4964},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"ModalContent",{enumerable:!0,get:function(){return o.ModalContent}}),Object.defineProperty(n,"ModalContentSize",{enumerable:!0,get:function(){return a.ModalContentSize}});var o=e("./modal-content"),a=e("../modal-content.types")}}},{package:"$root$",file:"ui/components/component-library/modal-content/deprecated/hybrid-compute-sdk.ts"}],[4964,{"../..":4955,"../../../../helpers/constants/design-system":5355,"../modal-content.types":4967,classnames:3049,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.ModalContent=void 0;var o,a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}(e("react")),r=(o=e("classnames"))&&o.__esModule?o:{default:o},i=e("../../../../helpers/constants/design-system"),s=e("../.."),l=e("../modal-content.types");function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const{onClose:p,isClosedOnEscapeKey:m,isClosedOnOutsideClick:f,initialFocusRef:g,finalFocusRef:h,restoreFocus:y,autoFocus:b}=(0,s.useModalContext)(),v=(0,a.useRef)(null),k=e=>{m&&"Escape"===e.key&&p()},x=e=>{f&&e.target.closest(".mm-popover")||f&&null!=v&&v.current&&!v.current.contains(e.target)&&p()};return(0,a.useEffect)((()=>(document.addEventListener("keydown",k),document.addEventListener("mousedown",x),()=>{document.removeEventListener("keydown",k),document.removeEventListener("mousedown",x)})),[]),a.default.createElement(s.ModalFocus,{initialFocusRef:g,finalFocusRef:h,restoreFocus:y,autoFocus:b},a.default.createElement(s.Box,u({className:(0,r.default)("mm-modal-content",e),ref:d,display:i.Display.Flex,width:i.BlockSize.Screen,height:i.BlockSize.Screen,justifyContent:i.JustifyContent.center,alignItems:i.AlignItems.flexStart,paddingRight:4,paddingLeft:4,paddingTop:[4,8,12],paddingBottom:[4,8,12]},c),a.default.createElement(s.Box,u({as:"section",role:"dialog","aria-modal":"true",backgroundColor:i.BackgroundColor.backgroundDefault,borderRadius:i.BorderRadius.LG,width:i.BlockSize.Full,padding:4,ref:v},o,{className:(0,r.default)("mm-modal-content__dialog",`mm-modal-content__dialog--size-${n}`,null==o?void 0:o.className),style:{...null==c?void 0:c.style,overflowY:"auto"}}),t)))}))}}},{package:"$root$",file:"ui/components/component-library/modal-content/deprecated/modal-content.tsx"}],[4972,{"./modal-header":4973},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"ModalHeader",{enumerable:!0,get:function(){return o.ModalHeader}});var o=e("./modal-header")}}},{package:"$root$",file:"ui/components/component-library/modal-header/deprecated/hybrid-compute-sdk.ts"}],[4973,{"../..":4955,"../../../../helpers/constants/design-system":5355,"../../../../hooks/useI18nContext":5427,classnames:3049,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.ModalHeader=void 0;var o=l(e("react")),a=l(e("classnames")),r=e("../.."),i=e("../../../../helpers/constants/design-system"),s=e("../../../../hooks/useI18nContext");function l(e){return e&&e.__esModule?e:{default:e}}function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const g=(0,s.useI18nContext)();return o.default.createElement(r.HeaderBase,c({className:(0,a.default)("mm-modal-header",t),startAccessory:n||p&&o.default.createElement(r.ButtonIcon,c({iconName:r.IconName.ArrowLeft,ariaLabel:g("back"),size:r.ButtonIconSize.Sm,onClick:p},m)),endAccessory:l||u&&o.default.createElement(r.ButtonIcon,c({iconName:r.IconName.Close,ariaLabel:g("close"),size:r.ButtonIconSize.Sm,onClick:u},d))},f),"string"==typeof e?o.default.createElement(r.Text,{as:"header",variant:i.TextVariant.headingSm,textAlign:i.TextAlign.Center},e):e)}}}},{package:"$root$",file:"ui/components/component-library/modal-header/deprecated/modal-header.tsx"}],[5e3,{"./text-field-search":5001},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"TextFieldSearch",{enumerable:!0,get:function(){return o.TextFieldSearch}});var o=e("./text-field-search")}}},{package:"$root$",file:"ui/components/component-library/text-field-search/deprecated/index.js"}],[5001,{"../..":4955,"../../../../hooks/useI18nContext":5427,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.TextFieldSearch=void 0;var o=l(e("react")),a=l(e("prop-types")),r=l(e("classnames")),i=e("../.."),s=e("../../../../hooks/useI18nContext");function l(e){return e&&e.__esModule?e:{default:e}}function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const f=(0,s.useI18nContext)();return o.default.createElement(i.TextField,c({className:(0,r.default)("mm-text-field-search",e),value:d,onChange:p,type:i.TextFieldType.Search,endAccessory:d&&t?o.default.createElement(o.default.Fragment,null,o.default.createElement(i.ButtonIcon,c({className:"mm-text-field__button-clear",ariaLabel:f("clear"),iconName:i.IconName.Close,size:i.ButtonIconSize.Sm,onClick:n},a)),l):l,startAccessory:o.default.createElement(i.Icon,{padding:1,name:i.IconName.Search,size:i.IconSize.Sm}),inputProps:{...u}},m))};n.TextFieldSearch=u,u.propTypes={value:a.default.oneOfType([a.default.string,a.default.number]),onChange:a.default.func,showClearButton:a.default.bool,clearButtonOnClick:(e,t,n)=>{var o;return!e.showClearButton||e[t]&&null!==(o=e.clearButtonProps)&&void 0!==o&&o.onClick?null:new Error(`${t} is required unless showClearButton is false. Warning coming from ${n} ui/components/component-library/text-field-search/text-field-search.js`)},clearButtonProps:a.default.object,className:a.default.string,endAccessory:a.default.node,inputProps:a.default.object},u.displayName="TextFieldSearch"}}},{package:"$root$",file:"ui/components/component-library/text-field-search/deprecated/text-field-search.js"}],[5011,{"./textarea":5012,"./textarea.types":5013},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"Textarea",{enumerable:!0,get:function(){return o.Textarea}}),Object.defineProperty(n,"TextareaResize",{enumerable:!0,get:function(){return a.TextareaResize}});var o=e("./textarea"),a=e("./textarea.types")}}},{package:"$root$",file:"ui/components/component-library/textarea/hybrid-compute-sdk.ts"}],[5012,{"..":4955,"../../../helpers/constants/design-system":5355,"./textarea.types":5013,classnames:3049,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.Textarea=void 0;var o=l(e("react")),a=l(e("classnames")),r=e("../../../helpers/constants/design-system"),i=e(".."),s=e("./textarea.types");function l(e){return e&&e.__esModule?e:{default:e}}function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;to.default.createElement(i.Text,c({className:(0,a.default)("mm-textarea",`mm-textarea--resize-${m}`,{"mm-textarea--disabled":Boolean(l||u)},t),as:"textarea",ref:M,placeholder:T,readOnly:C,required:w,autoFocus:e,defaultValue:n,disabled:l||u},d&&{"aria-invalid":d},{id:p,maxLength:h,name:y,value:_,onBlur:e=>{null==b||b(e)},onChange:v,onClick:e=>{!k||l&&u||null==k||k(e)},onFocus:e=>{null==x||x(e)},resize:m,rows:f,cols:g,backgroundColor:r.BackgroundColor.backgroundDefault,borderColor:d?r.BorderColor.errorDefault:r.BorderColor.borderDefault,borderRadius:r.BorderRadius.SM,borderWidth:1,paddingBottom:1,paddingLeft:4,paddingRight:4,paddingTop:1},E))))}}},{package:"$root$",file:"ui/components/component-library/textarea/textarea.tsx"}],[5013,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.TextareaResize=void 0;n.TextareaResize=function(e){return e.None="none",e.Both="both",e.Horizontal="horizontal",e.Vertical="vertical",e.Initial="initial",e.Inherit="inherit",e}({})}}},{package:"$root$",file:"ui/components/component-library/textarea/textarea.types.ts"}],[5014,{"../../../helpers/constants/design-system":5355,"../../../hooks/useI18nContext":5427,"../../../store/actions":5998,"../../component-library":4955,"../../component-library/form-text-field/deprecated":4943,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.AccountDetailsAuthenticate=void 0;var o,a=(o=e("prop-types"))&&o.__esModule?o:{default:o},r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=p(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}(e("react")),i=e("react-redux"),s=e("../../../helpers/constants/design-system"),l=e("../../../hooks/useI18nContext"),c=e("../../../store/actions"),u=e("../../component-library"),d=e("../../component-library/form-text-field/deprecated");function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(p=function(e){return e?n:t})(e)}const m=({address:e,onCancel:t,setPrivateKey:n,setShowHoldToReveal:o})=>{const a=(0,l.useI18nContext)(),p=(0,i.useDispatch)(),[m,f]=(0,r.useState)(""),g=(0,i.useSelector)((e=>e.appState.warning)),h=(0,r.useCallback)((()=>{p((0,c.exportAccount)(m,e,n,o)).then((e=>(p((0,c.hideWarning)()),e))).catch((()=>{}))}),[p,m,e,n,o]),y=(0,r.useCallback)((e=>{"Enter"===e.key&&h()}),[h]);return r.default.createElement(r.default.Fragment,null,r.default.createElement(d.FormTextField,{marginTop:6,id:"account-details-authenticate",label:a("enterYourPassword"),placeholder:a("password"),error:Boolean(g),helpText:g,onChange:e=>f(e.target.value),value:m,variant:s.TextVariant.bodySm,type:"password",inputProps:{onKeyPress:y},labelProps:{fontWeight:s.FontWeight.Medium},autoFocus:!0}),r.default.createElement(u.BannerAlert,{marginTop:6,severity:s.Severity.Danger,description:a("privateKeyWarning")}),r.default.createElement(u.Box,{display:s.Display.Flex,marginTop:6,gap:2},r.default.createElement(u.ButtonSecondary,{onClick:t,block:!0},a("cancel")),r.default.createElement(u.ButtonPrimary,{onClick:h,disabled:""===m,block:!0},a("confirm"))))};n.AccountDetailsAuthenticate=m,m.propTypes={address:a.default.string.isRequired,onCancel:a.default.func.isRequired,setPrivateKey:a.default.func.isRequired,setShowHoldToReveal:a.default.func.isRequired}}}},{package:"$root$",file:"ui/components/multichain/account-details/account-details-authenticate.js"}],[5015,{"../../../../shared/constants/metametrics":4505,"../../../contexts/metametrics":5327,"../../../helpers/constants/design-system":5355,"../../../helpers/utils/util":5399,"../../../hooks/useI18nContext":5427,"../../../selectors":5987,"../../../store/actions":5998,"../../component-library":4955,"../../ui/editable-label/editable-label":5219,"../../ui/qr-code-view":5285,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.AccountDetailsDisplay=void 0;var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=y(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}(e("react")),a=h(e("prop-types")),r=e("react-redux"),i=h(e("../../ui/qr-code-view")),s=h(e("../../ui/editable-label/editable-label")),l=e("../../../store/actions"),c=e("../../../selectors"),u=e("../../../helpers/utils/util"),d=e("../../component-library"),p=e("../../../helpers/constants/design-system"),m=e("../../../contexts/metametrics"),f=e("../../../../shared/constants/metametrics"),g=e("../../../hooks/useI18nContext");function h(e){return e&&e.__esModule?e:{default:e}}function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(y=function(e){return e?n:t})(e)}const b=({accounts:e,accountName:t,address:n,onExportClick:a})=>{const h=(0,r.useDispatch)(),y=(0,o.useContext)(m.MetaMetricsContext),b=(0,g.useI18nContext)(),{metadata:{keyring:v}}=(0,r.useSelector)((e=>(0,c.getInternalAccountByAddress)(e,n))),k=(0,u.isAbleToExportAccount)(null==v?void 0:v.type),x=(0,r.useSelector)(c.getCurrentChainId),T=(0,r.useSelector)(c.getHardwareWalletType);return o.default.createElement(d.Box,{display:p.Display.Flex,alignItems:p.AlignItems.center,flexDirection:p.FlexDirection.Column},o.default.createElement(s.default,{defaultValue:t,onSubmit:e=>{h((0,l.setAccountLabel)(n,e)),y({category:f.MetaMetricsEventCategory.Accounts,event:f.MetaMetricsEventName.AccountRenamed,properties:{location:"Account Details Modal",chain_id:x,account_hardware_type:T}})},accounts:e}),o.default.createElement(i.default,{Qr:{data:n}}),k?o.default.createElement(d.ButtonSecondary,{block:!0,size:d.ButtonSecondarySize.Lg,variant:p.TextVariant.bodyMd,onClick:()=>{y({category:f.MetaMetricsEventCategory.Accounts,event:f.MetaMetricsEventName.KeyExportSelected,properties:{key_type:f.MetaMetricsEventKeyType.Pkey,location:"Account Details Modal"}}),a()}},b("showPrivateKey")):null)};n.AccountDetailsDisplay=b,b.propTypes={accounts:a.default.array.isRequired,accountName:a.default.string.isRequired,address:a.default.string.isRequired,onExportClick:a.default.func.isRequired}}}},{package:"$root$",file:"ui/components/multichain/account-details/account-details-display.js"}],[5016,{"../../../helpers/constants/design-system":5355,"../../../hooks/useCopyToClipboard":5417,"../../../hooks/useI18nContext":5427,"../../component-library":4955,"@lavamoat/lavadome-react":632,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.AccountDetailsKey=void 0;var o,a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=d(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}(e("react")),r=e("@lavamoat/lavadome-react"),i=(o=e("prop-types"))&&o.__esModule?o:{default:o},s=e("../../component-library"),l=e("../../../helpers/constants/design-system"),c=e("../../../hooks/useI18nContext"),u=e("../../../hooks/useCopyToClipboard");function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(d=function(e){return e?n:t})(e)}const p=Boolean(!1),m=({accountName:e,onClose:t,privateKey:n})=>{const o=(0,c.useI18nContext)(),[i,d]=(0,a.useState)(!1),[m,f]=(0,u.useCopyToClipboard)();return a.default.createElement(a.default.Fragment,null,a.default.createElement(s.Text,{marginTop:6,variant:l.TextVariant.bodySm,style:{wordBreak:"break-word"}},o("privateKeyCopyWarning",[e])),a.default.createElement(s.Box,{display:l.Display.Flex,flexDirection:l.FlexDirection.Row,alignItems:l.AlignItems.center,borderRadius:l.BorderRadius.SM,borderWidth:1,borderColor:l.BorderColor.default,padding:4,gap:4},a.default.createElement(s.Text,{"data-testid":"account-details-key",variant:l.TextVariant.bodySm,style:{wordBreak:"break-word"},onClick:()=>d(!0)},a.default.createElement(r.LavaDome,{unsafeOpenModeShadow:p,text:(0,r.toLavaDomeToken)(n)})),a.default.createElement(s.ButtonIcon,{onClick:()=>d(!1)||f(n),iconName:m?s.IconName.CopySuccess:s.IconName.Copy,ariaLabel:o("copyPrivateKey")})),i&&a.default.createElement(s.HelpText,{marginTop:2,severity:s.HelpTextSeverity.Danger},o("lavaDomeCopyWarning")),a.default.createElement(s.BannerAlert,{severity:l.Severity.Danger,marginTop:4},a.default.createElement(s.Text,{variant:l.TextVariant.bodySm},o("privateKeyWarning"))),a.default.createElement(s.ButtonPrimary,{marginTop:6,onClick:t,block:!0},o("done")))};n.AccountDetailsKey=m,m.propTypes={accountName:i.default.string.isRequired,onClose:i.default.func.isRequired,privateKey:i.default.string.isRequired}}}},{package:"$root$",file:"ui/components/multichain/account-details/account-details-key.js"}],[5017,{"../../../../shared/constants/metametrics":4505,"../../../contexts/metametrics":5327,"../../../helpers/constants/design-system":5355,"../../../hooks/useI18nContext":5427,"../../../selectors":5987,"../../../store/actions":5998,"../../app/modals/hold-to-reveal-modal/hold-to-reveal-modal":4684,"../../component-library":4955,"../address-copy-button":5038,"./account-details-authenticate":5014,"./account-details-display":5015,"./account-details-key":5016,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.AccountDetails=void 0;var o=v(e("prop-types")),a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=b(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}(e("react")),r=e("react-redux"),i=e("../../../../shared/constants/metametrics"),s=e("../../../contexts/metametrics"),l=e("../../../helpers/constants/design-system"),c=e("../../../hooks/useI18nContext"),u=e("../../../selectors"),d=e("../../../store/actions"),p=v(e("../../app/modals/hold-to-reveal-modal/hold-to-reveal-modal")),m=e("../../component-library"),f=e("../address-copy-button"),g=e("./account-details-authenticate"),h=e("./account-details-display"),y=e("./account-details-key");function b(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(b=function(e){return e?n:t})(e)}function v(e){return e&&e.__esModule?e:{default:e}}const k=({address:e})=>{const t=(0,r.useDispatch)(),n=(0,c.useI18nContext)(),o=(0,a.useContext)(s.MetaMetricsContext),b=(0,r.useSelector)(u.getUseBlockie),v=(0,r.useSelector)(u.getMetaMaskAccountsOrdered),{metadata:{name:k}}=(0,r.useSelector)((t=>(0,u.getInternalAccountByAddress)(t,e))),[x,T]=(0,a.useState)(!1),[C,w]=(0,a.useState)(!1),[_,E]=(0,a.useState)(""),M=(0,a.useCallback)((()=>{t((0,d.setAccountDetailsAddress)("")),t((0,d.clearAccountDetails)()),t((0,d.hideWarning)())}),[t]),S=a.default.createElement(m.AvatarAccount,{variant:b?m.AvatarAccountVariant.Blockies:m.AvatarAccountVariant.Jazzicon,address:e,size:m.AvatarAccountSize.Lg,style:{margin:"0 auto"}});return a.default.createElement(a.default.Fragment,null,a.default.createElement(m.Modal,{isOpen:!x,onClose:M,"data-testid":"account-details-modal"},a.default.createElement(m.ModalOverlay,null),a.default.createElement(m.ModalContent,null,a.default.createElement(m.ModalHeader,{onClose:M,onBack:C&&(()=>{t((0,d.hideWarning)()),E(""),w(!1)})},C?n("showPrivateKey"):S),a.default.createElement(m.ModalBody,null,C?a.default.createElement(a.default.Fragment,null,a.default.createElement(m.Box,{display:l.Display.Flex,alignItems:l.AlignItems.center,flexDirection:l.FlexDirection.Column},S,a.default.createElement(m.Text,{marginTop:2,marginBottom:2,variant:l.TextVariant.bodyLgMedium,style:{wordBreak:"break-word"}},k),a.default.createElement(f.AddressCopyButton,{address:e,shorten:!0})),_?a.default.createElement(y.AccountDetailsKey,{accountName:k,onClose:M,privateKey:_}):a.default.createElement(g.AccountDetailsAuthenticate,{address:e,onCancel:M,setPrivateKey:E,setShowHoldToReveal:T})):a.default.createElement(h.AccountDetailsDisplay,{accounts:v,accountName:k,address:e,onExportClick:()=>w(!0)})))),a.default.createElement(p.default,{isOpen:x,onClose:()=>{o({category:i.MetaMetricsEventCategory.Keys,event:i.MetaMetricsEventName.KeyExportCanceled,properties:{key_type:i.MetaMetricsEventKeyType.Pkey}}),E(""),T(!1)},onLongPressed:()=>{T(!1)},holdToRevealType:"PrivateKey"}))};n.AccountDetails=k,k.propTypes={address:o.default.string}}}},{package:"$root$",file:"ui/components/multichain/account-details/account-details.js"}],[5018,{"./account-details":5017},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"AccountDetails",{enumerable:!0,get:function(){return o.AccountDetails}});var o=e("./account-details")}}},{package:"$root$",file:"ui/components/multichain/account-details/index.js"}],[5019,{"..":5092,"../../../../shared/constants/metametrics":4505,"../../../contexts/metametrics":5327,"../../../helpers/constants/design-system":5355,"../../../helpers/utils/metrics":5389,"../../../hooks/useI18nContext":5427,"../../../selectors":5987,"../../../store/actions":5998,"../../component-library":4955,"../../ui/menu":5264,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.AccountListItemMenu=void 0;var o,a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=y(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}(e("react")),r=e("react-redux"),i=(o=e("prop-types"))&&o.__esModule?o:{default:o},s=e("../../../contexts/metametrics"),l=e("../../../hooks/useI18nContext"),c=e("../../../selectors"),u=e("../../ui/menu"),d=e("../../component-library"),p=e("../../../../shared/constants/metametrics"),m=e("../../../store/actions"),f=e("../../../helpers/constants/design-system"),g=e("../../../helpers/utils/metrics"),h=e("..");function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(y=function(e){return e?n:t})(e)}const b="Account Options",v=({anchorElement:e,onClose:t,closeMenu:n,isRemovable:o,account:i,isOpen:y,isPinned:v,isHidden:k})=>{const x=(0,l.useI18nContext)(),T=(0,a.useContext)(s.MetaMetricsContext),C=(0,r.useDispatch)(),w=(0,r.useSelector)(c.getCurrentChainId),_=(0,r.useSelector)(c.getHardwareWalletType),{keyring:E}=i.metadata,M=(0,g.formatAccountType)((0,c.getAccountTypeForKeyring)(E)),S=(0,r.useSelector)(c.getPinnedAccountsList),O=(0,r.useSelector)(c.getHiddenAccountsList),A=(0,a.useRef)(null),N=(0,a.useRef)(null),I=(0,a.useRef)(null),P=(0,a.useRef)(null);(0,a.useEffect)((()=>{P.current?A.current=P.current:I.current?A.current=I.current:A.current=N.current}),[P.current,I.current,N.current]);const j=(0,a.useCallback)((e=>{"Tab"===e.key&&e.target===A.current&&t()}),[t]),B=(0,a.useRef)(null),D=(0,a.useCallback)((e=>{null!=B&&B.current&&!B.current.contains(e.target)&&t()}),[t]);(0,a.useEffect)((()=>(document.addEventListener("mousedown",D),()=>{document.removeEventListener("mousedown",D)})),[D]);const F=e=>{const t=S.filter((t=>t!==e));C((0,m.updateAccountsList)(t))};return a.default.createElement(d.Popover,{className:"multichain-account-list-item-menu__popover",referenceElement:e,role:d.PopoverRole.Dialog,position:d.PopoverPosition.Bottom,offset:[0,0],padding:0,isOpen:y,isPortal:!0,preventOverflow:!0,flip:!0},a.default.createElement(d.ModalFocus,{restoreFocus:!0,initialFocusRef:e},a.default.createElement("div",{onKeyDown:j,ref:B},a.default.createElement(h.AccountDetailsMenuItem,{metricsLocation:b,closeMenu:n,address:i.address,textProps:{variant:f.TextVariant.bodySm}}),a.default.createElement(h.ViewExplorerMenuItem,{metricsLocation:b,closeMenu:n,textProps:{variant:f.TextVariant.bodySm},address:i.address}),k?null:a.default.createElement(u.MenuItem,{"data-testid":"account-list-menu-pin",onClick:()=>{v?F(i.address):(e=>{const t=[...S,e];C((0,m.updateAccountsList)(t))})(i.address),t()},iconName:v?d.IconName.Unpin:d.IconName.Pin},a.default.createElement(d.Text,{variant:f.TextVariant.bodySm},x(v?"unpin":"pinToTop"))),a.default.createElement(u.MenuItem,{"data-testid":"account-list-menu-hide",onClick:()=>{k?(e=>{const t=O.filter((t=>t!==e));C((0,m.updateHiddenAccountsList)(t))})(i.address):(e=>{const t=[...O,e];S.includes(e)&&F(e),C((0,m.updateHiddenAccountsList)(t))})(i.address),t()},iconName:k?d.IconName.Eye:d.IconName.EyeSlash},a.default.createElement(d.Text,{variant:f.TextVariant.bodySm},x(k?"showAccount":"hideAccount"))),o?a.default.createElement(u.MenuItem,{ref:I,"data-testid":"account-list-menu-remove",onClick:()=>{C((0,m.showModal)({name:"CONFIRM_REMOVE_ACCOUNT",account:i})),T({event:p.MetaMetricsEventName.AccountRemoved,category:p.MetaMetricsEventCategory.Accounts,properties:{account_hardware_type:_,chain_id:w,account_type:M}}),t(),null==n||n()},iconName:d.IconName.Trash},a.default.createElement(d.Text,{variant:f.TextVariant.bodySm},x("removeAccount"))):null)))};n.AccountListItemMenu=v,v.propTypes={anchorElement:i.default.instanceOf(window.Element),onClose:i.default.func.isRequired,isOpen:i.default.bool.isRequired,closeMenu:i.default.func,isRemovable:i.default.bool.isRequired,isPinned:i.default.bool,isHidden:i.default.bool,account:i.default.shape({id:i.default.string.isRequired,address:i.default.string.isRequired,balance:i.default.string.isRequired,metadata:i.default.shape({name:i.default.string.isRequired,snap:i.default.shape({id:i.default.string.isRequired,name:i.default.string,enabled:i.default.bool}),keyring:i.default.shape({type:i.default.string.isRequired}).isRequired}).isRequired}).isRequired}}}},{package:"$root$",file:"ui/components/multichain/account-list-item-menu/account-list-item-menu.js"}],[5020,{"./account-list-item-menu":5019},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"AccountListItemMenu",{enumerable:!0,get:function(){return o.AccountListItemMenu}});var o=e("./account-list-item-menu")}}},{package:"$root$",file:"ui/components/multichain/account-list-item-menu/index.js"}],[5021,{"..":5092,"../../../../app/scripts/lib/multichain/address":82,"../../../../shared/constants/keyring":4502,"../../../../shared/constants/metametrics":4505,"../../../../shared/constants/network":4507,"../../../contexts/metametrics":5327,"../../../ducks/metamask/metamask":5346,"../../../helpers/constants/common":5353,"../../../helpers/constants/design-system":5355,"../../../helpers/utils/util":5399,"../../../hooks/useAccountTotalFiatBalance":5413,"../../../hooks/useI18nContext":5427,"../../../selectors":5987,"../../app/user-preferenced-currency-display/user-preferenced-currency-display.component":4881,"../../component-library":4955,"../../ui/tooltip/tooltip":5311,"../connected-accounts-menu":5066,"../connected-status/connected-status":5069,"./account-list-item.types":5022,classnames:3049,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.AccountListItem=void 0;var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=M(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}(e("react")),a=E(e("prop-types")),r=E(e("classnames")),i=e("react-redux"),s=e("../../../hooks/useI18nContext"),l=e("../../../helpers/utils/util"),c=e(".."),u=e("../connected-accounts-menu"),d=e("../../component-library"),p=e("../../../helpers/constants/design-system"),m=e("../../../../shared/constants/keyring"),f=E(e("../../app/user-preferenced-currency-display/user-preferenced-currency-display.component")),g=e("../../../helpers/constants/common"),h=e("../../../ducks/metamask/metamask"),y=E(e("../../ui/tooltip/tooltip")),b=e("../../../../shared/constants/metametrics"),v=e("../../../contexts/metametrics"),k=e("../../../selectors"),x=e("../../../hooks/useAccountTotalFiatBalance"),T=e("../../../../shared/constants/network"),C=e("../connected-status/connected-status"),w=e("../../../../app/scripts/lib/multichain/address"),_=e("./account-list-item.types");function E(e){return e&&e.__esModule?e:{default:e}}function M(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(M=function(e){return e?n:t})(e)}const S=({account:e,selected:t=!1,onClick:n,closeMenu:a,accountsCount:E,connectedAvatar:M,isPinned:S=!1,menuType:O=_.AccountListItemMenuTypes.None,isHidden:A=!1,currentTabOrigin:N,isActive:I=!1,startAccessory:P,onActionClick:j})=>{const B=(0,s.useI18nContext)(),[D,F]=(0,o.useState)(!1),[L,R]=(0,o.useState)(),$=(0,i.useSelector)(k.getUseBlockie),z=(0,i.useSelector)(k.getCurrentNetwork),W=(0,i.useSelector)(k.getShowFiatInTestnets),U=T.TEST_NETWORKS.includes(null==z?void 0:z.nickname)&&!W,{totalWeiBalance:V,orderedTokenList:H}=(0,x.useAccountTotalFiatBalance)(e.address),G=H.map((e=>({avatarValue:e.iconUrl})));let q=V;U&&(q=e.balance);const K=(0,o.useRef)(null);(0,o.useEffect)((()=>{var e,n;t&&(null===(e=K.current)||void 0===e||null===(n=e.scrollIntoView)||void 0===n||n.call(e))}),[K,t]);const J=(0,o.useContext)(v.MetaMetricsContext),Y=(0,i.useSelector)(k.getNativeCurrencyImage),Q=(0,i.useSelector)(h.getNativeCurrency),X=(0,i.useSelector)((t=>(0,k.isAccountConnectedToCurrentTab)(t,e.address))),Z=N&&X,ee=1===E;return o.default.createElement(d.Box,{display:p.Display.Flex,padding:4,backgroundColor:t?p.Color.primaryMuted:p.Color.transparent,className:(0,r.default)("multichain-account-list-item",{"multichain-account-list-item--selected":t,"multichain-account-list-item--connected":Boolean(M),"multichain-account-list-item--clickable":Boolean(n)}),ref:K,onClick:()=>{D||null==n||n()}},P?o.default.createElement(d.Box,{marginInlineEnd:2,marginTop:1},P):null,t&&o.default.createElement(d.Box,{className:"multichain-account-list-item__selected-indicator",borderRadius:p.BorderRadius.pill,backgroundColor:p.Color.primaryDefault}),o.default.createElement(o.default.Fragment,null,o.default.createElement(d.Box,{display:[p.Display.Flex,p.Display.None],"data-testid":"account-list-item-badge"},o.default.createElement(C.ConnectedStatus,{address:e.address,isActive:I})),o.default.createElement(d.Box,{display:[p.Display.None,p.Display.Flex]},o.default.createElement(d.AvatarAccount,{borderColor:p.BorderColor.transparent,size:p.Size.MD,address:e.address,variant:$?d.AvatarAccountVariant.Blockies:d.AvatarAccountVariant.Jazzicon,marginInlineEnd:2}))),o.default.createElement(d.Box,{display:p.Display.Flex,flexDirection:p.FlexDirection.Column,className:"multichain-account-list-item__content"},o.default.createElement(d.Box,{display:p.Display.Flex,flexDirection:p.FlexDirection.Column},o.default.createElement(d.Box,{display:p.Display.Flex,justifyContent:p.JustifyContent.spaceBetween},o.default.createElement(d.Box,{className:"multichain-account-list-item__account-name",marginInlineEnd:2,display:p.Display.Flex,alignItems:p.AlignItems.center,gap:2},S?o.default.createElement(d.Icon,{name:d.IconName.Pin,size:d.IconSize.Xs,className:"account-pinned-icon"}):null,A?o.default.createElement(d.Icon,{name:d.IconName.EyeSlash,size:d.IconSize.Xs,className:"account-hidden-icon"}):null,o.default.createElement(d.Text,{as:"button",onClick:e=>{e.stopPropagation(),null==n||n()},variant:p.TextVariant.bodyMdMedium,className:"multichain-account-list-item__account-name__button",padding:0,backgroundColor:p.BackgroundColor.transparent,width:p.BlockSize.Full,textAlign:p.TextAlign.Left,ellipsis:!0},e.metadata.name.length>17?o.default.createElement(y.default,{title:e.metadata.name,position:"bottom",wrapperClassName:"multichain-account-list-item__tooltip"},e.metadata.name):e.metadata.name)),o.default.createElement(d.Text,{as:"div",className:"multichain-account-list-item__asset",display:p.Display.Flex,flexDirection:p.FlexDirection.Row,alignItems:p.AlignItems.center,justifyContent:p.JustifyContent.flexEnd,ellipsis:!0,textAlign:p.TextAlign.End},o.default.createElement(f.default,{ethNumberOfDecimals:3,value:q,type:g.PRIMARY,showFiat:!U||!T.TEST_NETWORKS.includes(null==z?void 0:z.nickname)})))),o.default.createElement(d.Box,{display:p.Display.Flex,justifyContent:p.JustifyContent.spaceBetween},o.default.createElement(d.Box,{display:p.Display.Flex,alignItems:p.AlignItems.center},o.default.createElement(d.Text,{variant:p.TextVariant.bodySm,color:p.Color.textAlternative},(0,l.shortenAddress)((0,w.normalizeSafeAddress)(e.address)))),G.length>1?o.default.createElement(c.AvatarGroup,{members:G,limit:4}):o.default.createElement(d.Box,{display:p.Display.Flex,alignItems:p.AlignItems.center,justifyContent:p.JustifyContent.center,gap:1,className:"multichain-account-list-item__avatar-currency"},o.default.createElement(d.AvatarToken,{src:Y,name:Q,size:d.AvatarTokenSize.Xs,borderColor:p.BorderColor.borderDefault}),o.default.createElement(d.Text,{variant:p.TextVariant.bodySm,color:p.TextColor.textAlternative,textAlign:p.TextAlign.End,as:"div"},o.default.createElement(f.default,{ethNumberOfDecimals:3,value:e.balance,type:g.SECONDARY,showNative:!0})))),e.label?o.default.createElement(d.Tag,{label:e.label,labelProps:{variant:p.TextVariant.bodyXs,color:p.Color.textAlternative},startIconName:e.metadata.keyring.type===m.KeyringType.snap?d.IconName.Snaps:null}):null),O===_.AccountListItemMenuTypes.None?null:o.default.createElement(d.ButtonIcon,{ariaLabel:`${e.metadata.name} ${B("options")}`,iconName:d.IconName.MoreVertical,size:d.IconSize.Sm,ref:e=>{R(e)},onClick:e=>{e.stopPropagation(),D||J({event:b.MetaMetricsEventName.AccountDetailMenuOpened,category:b.MetaMetricsEventCategory.Navigation,properties:{location:"Account Options"}}),F(!D)},"data-testid":"account-list-item-menu-button"}),O===_.AccountListItemMenuTypes.Account&&o.default.createElement(c.AccountListItemMenu,{anchorElement:L,account:e,onClose:()=>F(!1),isOpen:D,isRemovable:e.keyring.type!==m.KeyringType.hdKeyTree,closeMenu:a,isPinned:S,isHidden:A,isConnected:Z}),O===_.AccountListItemMenuTypes.Connection&&o.default.createElement(u.ConnectedAccountsMenu,{anchorElement:L,account:e,onClose:()=>F(!1),closeMenu:a,disableAccountSwitcher:ee,isOpen:D,onActionClick:j,activeTabOrigin:N}))};n.AccountListItem=S,S.propTypes={account:a.default.shape({id:a.default.string.isRequired,address:a.default.string.isRequired,balance:a.default.string.isRequired,metadata:a.default.shape({name:a.default.string.isRequired,snap:a.default.shape({id:a.default.string.isRequired,name:a.default.string,enabled:a.default.bool}),keyring:a.default.shape({type:a.default.string.isRequired}).isRequired}).isRequired,keyring:a.default.shape({type:a.default.string.isRequired}).isRequired,label:a.default.string}).isRequired,selected:a.default.bool,onClick:a.default.func,accountsCount:a.default.number,closeMenu:a.default.func,onActionClick:a.default.func,connectedAvatar:a.default.string,menuType:a.default.string,isPinned:a.default.bool,isHidden:a.default.bool,currentTabOrigin:a.default.string,isActive:a.default.bool,startAccessory:a.default.node},S.displayName="AccountListItem"}}},{package:"$root$",file:"ui/components/multichain/account-list-item/account-list-item.js"}],[5022,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.AccountListItemMenuTypes=void 0;n.AccountListItemMenuTypes={None:"none",Connection:"connection",Account:"account"}}}},{package:"$root$",file:"ui/components/multichain/account-list-item/account-list-item.types.js"}],[5023,{"./account-list-item":5021,"./account-list-item.types":5022},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"AccountListItem",{enumerable:!0,get:function(){return o.AccountListItem}}),Object.defineProperty(n,"AccountListItemMenuTypes",{enumerable:!0,get:function(){return a.AccountListItemMenuTypes}});var o=e("./account-list-item"),a=e("./account-list-item.types")}}},{package:"$root$",file:"ui/components/multichain/account-list-item/index.js"}],[5024,{"..":5092,"../../../../app/scripts/lib/util":120,"../../../../shared/constants/app":4493,"../../../../shared/constants/metametrics":4505,"../../../contexts/metametrics":5327,"../../../helpers/constants/design-system":5355,"../../../helpers/constants/routes":5361,"../../../helpers/utils/accounts":5378,"../../../hooks/useI18nContext":5427,"../../../selectors":5987,"../../../store/actions":5998,"../../component-library":4955,"../../component-library/modal-content/deprecated":4963,"../../component-library/modal-header":4974,"../../component-library/text-field-search/deprecated":5e3,"./hidden-account-list":5025,"fuse.js":3407,"prop-types":3997,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.mergeAccounts=n.AccountListMenu=void 0;var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=_(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}(e("react")),a=w(e("prop-types")),r=e("react-router-dom"),i=w(e("fuse.js")),s=e("react-redux"),l=e("../../component-library"),c=e("../../component-library/modal-content/deprecated"),u=e("../../component-library/modal-header"),d=e("../../component-library/text-field-search/deprecated"),p=e(".."),m=e("../../../helpers/constants/design-system"),f=e("../../../hooks/useI18nContext"),g=e("../../../contexts/metametrics"),h=e("../../../selectors"),y=e("../../../store/actions"),b=e("../../../../shared/constants/metametrics"),v=e("../../../helpers/constants/routes"),k=e("../../../../app/scripts/lib/util"),x=e("../../../../shared/constants/app"),T=e("../../../helpers/utils/accounts"),C=e("./hidden-account-list");function w(e){return e&&e.__esModule?e:{default:e}}function _(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(_=function(e){return e?n:t})(e)}function E(){return E=Object.assign?Object.assign.bind():function(e){for(var t=1;te.map((e=>{const n=t.find((t=>t.address===e.address));return n?{...e,...n,keyring:n.metadata.keyring,label:(0,T.getAccountLabel)(n.metadata.keyring.type,n)}:e}));n.mergeAccounts=N;const I=({onClose:e,showAccountCreation:t=!0,accountListItemProps:n={}})=>{const a=(0,f.useI18nContext)(),T=(0,o.useContext)(g.MetaMetricsContext),w=(0,s.useSelector)(h.getMetaMaskAccountsOrdered),_=(0,s.useSelector)(h.getSelectedInternalAccount),I=(0,s.useSelector)(h.getConnectedSubjectsForAllAddresses),P=(0,s.useSelector)(h.getOriginOfCurrentTab),j=(0,r.useHistory)(),B=(0,s.useDispatch)(),D=(0,s.useSelector)(h.getHiddenAccountsList),F=(0,s.useSelector)(h.getUpdatedAndSortedAccounts),L=(0,s.useSelector)(h.getIsAddSnapAccountEnabled),[R,$]=(0,o.useState)(""),[z,W]=(0,o.useState)(M);let U=F;if(R){const e=new i.default(w,{threshold:.2,location:0,distance:100,maxPatternLength:32,minMatchCharLength:1,keys:["metadata.name","address"]});e.setCollection(w),U=e.search(R)}U=N(U,w);let V=a("selectAnAccount");z===O||z===S?V=a("addAccount"):z===A&&(V=a("importAccount"));let H=null;return z!==M&&(H=z===S?()=>W(M):()=>W(S)),o.default.createElement(l.Modal,{isOpen:!0,onClose:e},o.default.createElement(l.ModalOverlay,null),o.default.createElement(c.ModalContent,{className:"multichain-account-menu-popover",modalDialogProps:{className:"multichain-account-menu-popover__dialog",padding:0,display:m.Display.Flex,flexDirection:m.FlexDirection.Column}},o.default.createElement(u.ModalHeader,{padding:4,onClose:e,onBack:H},V),z===O?o.default.createElement(l.Box,{paddingLeft:4,paddingRight:4,paddingBottom:4},o.default.createElement(p.CreateEthAccount,{onActionComplete:t=>{t?e():W(M)}})):null,z===A?o.default.createElement(l.Box,{paddingLeft:4,paddingRight:4,paddingBottom:4,paddingTop:0},o.default.createElement(p.ImportAccount,{onActionComplete:t=>{t?e():W(M)}})):null,z===S?o.default.createElement(l.Box,{padding:4},o.default.createElement(l.Box,null,o.default.createElement(l.ButtonLink,{size:m.Size.SM,startIconName:l.IconName.Add,onClick:()=>{T({category:b.MetaMetricsEventCategory.Navigation,event:b.MetaMetricsEventName.AccountAddSelected,properties:{account_type:b.MetaMetricsEventAccountType.Default,location:"Main Menu"}}),W(O)},"data-testid":"multichain-account-menu-popover-add-account"},a("addNewAccount"))),o.default.createElement(l.Box,{marginTop:4},o.default.createElement(l.ButtonLink,{size:m.Size.SM,startIconName:l.IconName.Import,onClick:()=>{T({category:b.MetaMetricsEventCategory.Navigation,event:b.MetaMetricsEventName.AccountAddSelected,properties:{account_type:b.MetaMetricsEventAccountType.Imported,location:"Main Menu"}}),W(A)}},a("importAccount"))),o.default.createElement(l.Box,{marginTop:4},o.default.createElement(l.ButtonLink,{size:m.Size.SM,startIconName:l.IconName.Hardware,onClick:()=>{e(),T({category:b.MetaMetricsEventCategory.Navigation,event:b.MetaMetricsEventName.AccountAddSelected,properties:{account_type:b.MetaMetricsEventAccountType.Hardware,location:"Main Menu"}}),(0,k.getEnvironmentType)()===x.ENVIRONMENT_TYPE_POPUP?global.platform.openExtensionInBrowser(v.CONNECT_HARDWARE_ROUTE):j.push(v.CONNECT_HARDWARE_ROUTE)}},a("addHardwareWallet"))),L?o.default.createElement(l.Box,{marginTop:4},o.default.createElement(l.ButtonLink,{size:m.Size.SM,startIconName:l.IconName.Snaps,onClick:()=>{e(),T({category:b.MetaMetricsEventCategory.Navigation,event:b.MetaMetricsEventName.AccountAddSelected,properties:{account_type:b.MetaMetricsEventAccountType.Snap,location:"Main Menu"}}),global.platform.openTab({url:"https://metamask.github.io/snaps-directory-staging/main/account-management"})}},a("settingAddSnapAccount"))):null):null,z===M?o.default.createElement(o.default.Fragment,null,w.length>1?o.default.createElement(l.Box,{paddingLeft:4,paddingRight:4,paddingBottom:4,paddingTop:0},o.default.createElement(d.TextFieldSearch,{size:m.Size.SM,width:m.BlockSize.Full,placeholder:a("searchAccounts"),value:R,onChange:e=>$(e.target.value),clearButtonOnClick:()=>$(""),clearButtonProps:{size:m.Size.SM},inputProps:{autoFocus:!0}})):null,o.default.createElement(l.Box,{className:"multichain-account-menu-popover__list"},0===U.length&&""!==R?o.default.createElement(l.Text,{paddingLeft:4,paddingRight:4,color:m.TextColor.textMuted,"data-testid":"multichain-account-menu-popover-no-results"},a("noAccountsFound")):null,U.map((t=>{var a;const r=null===(a=I[t.address])||void 0===a?void 0:a.find((({origin:e})=>e===P)),i=0===R.length&&t.hidden;return o.default.createElement(l.Box,{className:t.hidden?"multichain-account-menu-popover__list--menu-item-hidden":"multichain-account-menu-popover__list--menu-item",display:i?m.Display.None:m.Display.Block,key:t.address},o.default.createElement(p.AccountListItem,E({onClick:()=>{e(),T({category:b.MetaMetricsEventCategory.Navigation,event:b.MetaMetricsEventName.NavAccountSwitched,properties:{location:"Main Menu"}}),B((0,y.setSelectedAccount)(t.address))},account:t,key:t.address,selected:_.address===t.address,closeMenu:e,connectedAvatar:null==r?void 0:r.iconUrl,menuType:p.AccountListItemMenuTypes.Account,isPinned:Boolean(t.pinned),isHidden:Boolean(t.hidden),currentTabOrigin:P,isActive:Boolean(t.active)},n)))}))),D.length>0?o.default.createElement(C.HiddenAccountList,{onClose:e}):null,t?o.default.createElement(l.Box,{paddingTop:2,paddingBottom:4,paddingLeft:4,paddingRight:4,alignItems:m.AlignItems.center,display:m.Display.Flex},o.default.createElement(l.ButtonSecondary,{startIconName:l.IconName.Add,variant:l.ButtonVariant.Secondary,size:l.ButtonSecondarySize.Lg,block:!0,onClick:()=>W(S),"data-testid":"multichain-account-menu-popover-action-button"},a("addImportAccount"))):null):null))};n.AccountListMenu=I,I.propTypes={onClose:a.default.func.isRequired,showAccountCreation:a.default.bool,accountListItemProps:a.default.object}}}},{package:"$root$",file:"ui/components/multichain/account-list-menu/account-list-menu.js"}],[5025,{"..":5092,"../../../../shared/constants/metametrics":4505,"../../../contexts/metametrics":5327,"../../../helpers/constants/design-system":5355,"../../../hooks/useI18nContext":5427,"../../../selectors":5987,"../../../store/actions":5998,"../../component-library":4955,"../account-list-item":5023,"./account-list-menu":5024,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.HiddenAccountList=void 0;var o,a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=y(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}(e("react")),r=(o=e("prop-types"))&&o.__esModule?o:{default:o},i=e("react-redux"),s=e("../../../../shared/constants/metametrics"),l=e("../../../contexts/metametrics"),c=e("../../../helpers/constants/design-system"),u=e("../../../hooks/useI18nContext"),d=e("../../../selectors"),p=e("../../../store/actions"),m=e("../../component-library"),f=e("../account-list-item"),g=e(".."),h=e("./account-list-menu");function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(y=function(e){return e?n:t})(e)}const b=({onClose:e})=>{const t=(0,u.useI18nContext)(),n=(0,a.useContext)(l.MetaMetricsContext),o=(0,i.useDispatch)(),r=(0,i.useSelector)(d.getHiddenAccountsList),y=(0,i.useSelector)(d.getMetaMaskAccountsOrdered),b=(0,i.useSelector)(d.getInternalAccounts),v=(0,h.mergeAccounts)(y,b),k=(0,i.useSelector)(d.getSelectedAccount),x=(0,i.useSelector)(d.getConnectedSubjectsForAllAddresses),T=(0,i.useSelector)(d.getOriginOfCurrentTab),C=v.filter((e=>r.includes(e.address))),[w,_]=(0,a.useState)(!1);return a.default.createElement(a.default.Fragment,null,a.default.createElement(m.Box,{as:"button",onClick:()=>_(!w),backgroundColor:c.BackgroundColor.backgroundDefault,display:c.Display.Flex,padding:4,alignItems:c.AlignItems.center,width:c.BlockSize.Full,justifyContent:c.JustifyContent.spaceBetween,className:"hidden-accounts-list","data-testid":"hidden-accounts-list"},a.default.createElement(m.Box,{display:c.Display.Flex,alignItems:c.AlignItems.center,width:c.BlockSize.TwoThirds,gap:2},a.default.createElement(m.AvatarIcon,{iconName:m.IconName.EyeSlash,color:c.IconColor.infoDefault,backgroundColor:c.BackgroundColor.infoMuted,size:m.AvatarIconSize.Sm}),a.default.createElement(m.Box,{display:c.Display.Flex},a.default.createElement(m.Text,{variant:c.TextVariant.bodyMdMedium},t("hiddenAccounts")))),a.default.createElement(m.Box,{gap:2,display:c.Display.Flex,alignItems:c.AlignItems.center,width:c.BlockSize.OneThird,justifyContent:c.JustifyContent.flexEnd},a.default.createElement(m.Text,{variant:c.TextVariant.bodyMdMedium},r.length),a.default.createElement(m.Icon,{name:w?m.IconName.ArrowUp:m.IconName.ArrowDown,size:m.IconSize.Sm,color:c.IconColor.iconDefault}))),w?a.default.createElement(m.Box,null,C.map((t=>{var r;const i=null===(r=x[t.address])||void 0===r?void 0:r.find((({origin:e})=>e===T));return a.default.createElement(m.Box,{className:"multichain-account-menu-popover__list--menu-item-hidden-account",key:t.address},a.default.createElement(f.AccountListItem,{onClick:()=>{e(),n({category:s.MetaMetricsEventCategory.Navigation,event:s.MetaMetricsEventName.NavAccountSwitched,properties:{location:"Main Menu"}}),o((0,p.setSelectedAccount)(t.address))},account:t,key:t.address,selected:k.address===t.address,closeMenu:e,connectedAvatar:null==i?void 0:i.iconUrl,menuType:g.AccountListItemMenuTypes.Account,isPinned:Boolean(t.pinned),isHidden:Boolean(t.hidden)}))}))):null)};n.HiddenAccountList=b,b.propTypes={onClose:r.default.func.isRequired}}}},{package:"$root$",file:"ui/components/multichain/account-list-menu/hidden-account-list.js"}],[5026,{"./account-list-menu":5024},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"AccountListMenu",{enumerable:!0,get:function(){return o.AccountListMenu}});var o=e("./account-list-menu")}}},{package:"$root$",file:"ui/components/multichain/account-list-menu/index.js"}],[5027,{"../../app/wallet-overview":4883,"./account-overview-layout":5028,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.AccountOverviewEth=void 0;var o,a=(o=e("react"))&&o.__esModule?o:{default:o},r=e("../../app/wallet-overview"),i=e("./account-overview-layout");function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;ta.default.createElement(i.AccountOverviewLayout,s({showTokens:!0,showNfts:!0,showActivity:!0},e),a.default.createElement(r.EthOverview,{showAddress:!0}))}}},{package:"$root$",file:"ui/components/multichain/account-overview/account-overview-eth.tsx"}],[5028,{"./account-overview-tabs":5029,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.AccountOverviewLayout=void 0;var o,a=(o=e("react"))&&o.__esModule?o:{default:o},r=e("./account-overview-tabs");n.AccountOverviewLayout=({children:e,...t})=>a.default.createElement(a.default.Fragment,null,a.default.createElement("div",{className:"account-overview__balance-wrapper"},e),a.default.createElement(r.AccountOverviewTabs,t))}}},{package:"$root$",file:"ui/components/multichain/account-overview/account-overview-layout.tsx"}],[5029,{"../../../../shared/constants/metametrics":4505,"../../../../shared/lib/ui-utils":4532,"../../../contexts/metametrics":5327,"../../../helpers/constants/routes":5361,"../../../hooks/useI18nContext":5427,"../../app/asset-list":4586,"../../app/nfts-tab":4724,"../../app/transaction-list":4877,"../../component-library":4955,"../../ui/tabs":5296,react:4243,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.AccountOverviewTabs=void 0;var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=g(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}(e("react")),a=e("react-router-dom"),r=e("../../../hooks/useI18nContext"),i=e("../../../helpers/constants/routes");e("../../../../shared/lib/ui-utils");var s=e("../../../../shared/constants/metametrics"),l=e("../../../contexts/metametrics"),c=f(e("../../app/nfts-tab")),u=f(e("../../app/asset-list")),d=f(e("../../app/transaction-list")),p=e("../../ui/tabs"),m=e("../../component-library");function f(e){return e&&e.__esModule?e:{default:e}}function g(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(g=function(e){return e?n:t})(e)}function h(){return h=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const y=(0,a.useHistory)(),b=(0,r.useI18nContext)(),v=(0,o.useContext)(l.MetaMetricsContext),k=(0,o.useMemo)((()=>({activeClassName:"account-overview__tab--active",className:"account-overview__tab"})),[]),x=e=>{switch(e){case"nfts":return s.MetaMetricsEventName.NftScreenOpened;case"activity":return s.MetaMetricsEventName.ActivityScreenOpened;default:return s.MetaMetricsEventName.TokenScreenOpened}},T=(0,o.useCallback)((t=>{e(t),v({category:s.MetaMetricsEventCategory.Home,event:x(t)})}),[e]);return o.default.createElement(m.Box,{style:{flexGrow:"1"},paddingTop:4},o.default.createElement(p.Tabs,{defaultActiveTabKey:t,onTabClick:T,tabsClassName:"account-overview__tabs"},n&&o.default.createElement(p.Tab,h({name:b("tokens"),tabKey:"tokens","data-testid":"account-overview__asset-tab"},k),o.default.createElement(m.Box,{marginTop:2},o.default.createElement(u.default,{onClickAsset:e=>y.push(`${i.ASSET_ROUTE}/${e}`)}))),f&&o.default.createElement(p.Tab,h({name:b("nfts"),tabKey:"nfts","data-testid":"account-overview__nfts-tab"},k),o.default.createElement(c.default,null)),g&&o.default.createElement(p.Tab,h({name:b("activity"),tabKey:"activity","data-testid":"account-overview__activity-tab"},k),o.default.createElement(d.default,null))))}}}},{package:"$root$",file:"ui/components/multichain/account-overview/account-overview-tabs.tsx"}],[5030,{"../../../hooks/useI18nContext":5427,"../../component-library":4955,"./account-overview-layout":5028,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.AccountOverviewUnknown=void 0;var o,a=(o=e("react"))&&o.__esModule?o:{default:o},r=e("../../component-library"),i=e("../../../hooks/useI18nContext"),s=e("./account-overview-layout");function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const t=(0,i.useI18nContext)();return a.default.createElement(s.AccountOverviewLayout,l({showTokens:!1,showNfts:!1,showActivity:!0},e),a.default.createElement(r.Box,{className:"account-overview-unknown__empty"},a.default.createElement(r.Box,{className:"account-overview-unknown__empty-text"},a.default.createElement("span",null,t("accountTypeNotSupported")))))}}}},{package:"$root$",file:"ui/components/multichain/account-overview/account-overview-unknown.tsx"}],[5031,{"../../../hooks/useI18nContext":5427,"../../../selectors/accounts":5981,"../../component-library":4955,"./account-overview-eth":5027,"./account-overview-unknown":5030,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.AccountOverview=function(e){const t=(0,i.useI18nContext)(),n=(0,r.useSelector)(l.isSelectedInternalAccountEth),o=!n,{useExternalServices:d,setBasicFunctionalityModalOpen:p}=e;return a.default.createElement(a.default.Fragment,null,!d&&a.default.createElement(s.BannerAlert,{margin:4,marginBottom:0,severity:s.BannerAlertSeverity.Danger,actionButtonLabel:t("basicConfigurationBannerCTA"),actionButtonOnClick:()=>{p()},title:t("basicConfigurationBannerTitle")}),n&&a.default.createElement(c.AccountOverviewEth,e),o&&a.default.createElement(u.AccountOverviewUnknown,e))};var o,a=(o=e("react"))&&o.__esModule?o:{default:o},r=e("react-redux"),i=e("../../../hooks/useI18nContext"),s=e("../../component-library"),l=e("../../../selectors/accounts"),c=e("./account-overview-eth"),u=e("./account-overview-unknown")}}},{package:"$root$",file:"ui/components/multichain/account-overview/account-overview.tsx"}],[5032,{"./account-overview":5031},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"AccountOverview",{enumerable:!0,get:function(){return o.AccountOverview}});var o=e("./account-overview")}}},{package:"$root$",file:"ui/components/multichain/account-overview/index.js"}],[5033,{"../../../../shared/modules/hexstring-utils":4544,"../../../helpers/constants/design-system":5355,"../../../helpers/utils/util":5399,"../../../selectors":5987,"../../component-library":4955,classnames:3049,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.AccountPicker=void 0;var o=p(e("react")),a=p(e("prop-types")),r=p(e("classnames")),i=e("react-redux"),s=e("../../../../shared/modules/hexstring-utils"),l=e("../../component-library"),c=e("../../../helpers/constants/design-system"),u=e("../../../selectors"),d=e("../../../helpers/utils/util");function p(e){return e&&e.__esModule?e:{default:e}}function m(){return m=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const v=(0,i.useSelector)(u.getUseBlockie),k=(0,d.shortenAddress)((0,s.toChecksumHexAddress)(e));return o.default.createElement(l.ButtonBase,m({className:(0,r.default)("multichain-account-picker",y),"data-testid":"account-menu-icon",onClick:n,backgroundColor:c.BackgroundColor.transparent,borderRadius:c.BorderRadius.LG,ellipsis:!0,textProps:{display:c.Display.Flex,alignItems:c.AlignItems.center,gap:2,...h},size:p?l.ButtonBaseSize.Lg:l.ButtonBaseSize.Sm,disabled:a,endIconName:l.IconName.ArrowDown,endIconProps:{color:c.IconColor.iconDefault,size:c.Size.SM}},b,{gap:2}),o.default.createElement(l.AvatarAccount,{variant:v?l.AvatarAccountVariant.Blockies:l.AvatarAccountVariant.Jazzicon,address:e,size:p?c.Size.MD:c.Size.XS,borderColor:c.BackgroundColor.backgroundDefault}),o.default.createElement(l.Text,m({as:"span",ellipsis:!0},g,{className:(0,r.default)("multichain-account-picker__label",g.className??"")}),t,p?o.default.createElement(l.Text,m({color:c.TextColor.textAlternative,variant:c.TextVariant.bodySm,ellipsis:!0},f),k):null))};n.AccountPicker=f,f.propTypes={name:a.default.string.isRequired,address:a.default.string.isRequired,showAddress:a.default.bool,addressProps:a.default.object,onClick:a.default.func.isRequired,disabled:a.default.bool,block:a.default.bool,labelProps:a.default.object,textProps:a.default.object,className:a.default.string}}}},{package:"$root$",file:"ui/components/multichain/account-picker/account-picker.js"}],[5034,{"./account-picker":5033},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"AccountPicker",{enumerable:!0,get:function(){return o.AccountPicker}});var o=e("./account-picker")}}},{package:"$root$",file:"ui/components/multichain/account-picker/index.js"}],[5035,{"../../../helpers/constants/design-system":5355,"../../component-library":4955,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.ActivityListItem=void 0;var o=l(e("react")),a=l(e("prop-types")),r=l(e("classnames")),i=e("../../../helpers/constants/design-system"),s=e("../../component-library");function l(e){return e&&e.__esModule?e:{default:e}}const c=({topContent:e,icon:t,title:n,subtitle:a,midContent:l,children:c,rightContent:u,onClick:d,className:p,"data-testid":m})=>{const f=(0,r.default)("activity-list-item",p,{"activity-list-item--single-content-row":!(a||c)});return o.default.createElement(s.Box,{tabIndex:0,backgroundColor:i.BackgroundColor.backgroundDefault,className:f,onClick:d,onKeyPress:e=>{"Enter"===e.key&&d()},"data-testid":m,padding:4,display:i.Display.Flex,width:i.BlockSize.Full,flexWrap:i.FlexWrap.Wrap,gap:4},e&&o.default.createElement(s.Text,{variant:i.TextVariant.bodyMd,color:i.TextColor.textDefault,display:i.Display.Flex,width:i.BlockSize.Full},e),o.default.createElement(s.Box,{display:i.Display.Flex,width:i.BlockSize.Full,flexDirection:i.FlexDirection.Row,gap:4},t&&o.default.createElement(s.Box,{display:i.Display.InlineFlex},t),o.default.createElement(s.Box,{display:i.Display.InlineFlex,width:i.BlockSize.Full,className:"activity-list-item__content-container"},o.default.createElement(s.Box,{display:i.Display.InlineFlex,width:[i.BlockSize.OneThird,i.BlockSize.SevenTwelfths],flexDirection:i.FlexDirection.Column,className:"activity-list-item__detail-container"},o.default.createElement(s.Text,{ellipsis:!0,textAlign:i.TextAlign.Left,variant:i.TextVariant.bodyLgMedium,fontWeight:i.FontWeight.Medium,"data-testid":"activity-list-item-action"},n),a&&o.default.createElement(s.Text,{as:"div",ellipsis:!0,textAlign:i.TextAlign.Left,variant:i.TextVariant.bodyMd,fontWeight:i.FontWeight.Normal},a),c&&o.default.createElement(s.Box,{className:"activity-list-item__children"},c)),l&&o.default.createElement(s.Box,{display:i.Display.InlineFlex,className:"activity-list-item__mid-content"},l),u&&o.default.createElement(s.Box,{display:i.Display.InlineFlex,width:i.BlockSize.Full,height:i.BlockSize.Min,flexDirection:i.FlexDirection.Column,alignItems:i.AlignItems.flexEnd,className:"activity-list-item__right-content"},u))))};n.ActivityListItem=c,c.propTypes={topContent:a.default.node,icon:a.default.node,title:a.default.oneOfType([a.default.string,a.default.node]),subtitle:a.default.node,midContent:a.default.node,children:a.default.node,rightContent:a.default.node,onClick:a.default.func,className:a.default.string,"data-testid":a.default.string}}}},{package:"$root$",file:"ui/components/multichain/activity-list-item/activity-list-item.js"}],[5036,{"./activity-list-item":5035},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"ActivityListItem",{enumerable:!0,get:function(){return o.ActivityListItem}});var o=e("./activity-list-item")}}},{package:"$root$",file:"ui/components/multichain/activity-list-item/index.js"}],[5037,{"../../../../shared/constants/time":4518,"../../../../shared/modules/hexstring-utils":4544,"../../../helpers/constants/design-system":5355,"../../../helpers/utils/util":5399,"../../../hooks/useCopyToClipboard":5417,"../../../hooks/useI18nContext":5427,"../../component-library":4955,"../../ui/tooltip/tooltip":5311,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.AddressCopyButton=void 0;var o=f(e("react")),a=f(e("prop-types")),r=f(e("classnames")),i=e("../../component-library"),s=e("../../../helpers/constants/design-system"),l=e("../../../hooks/useCopyToClipboard"),c=e("../../../helpers/utils/util"),u=f(e("../../ui/tooltip/tooltip")),d=e("../../../hooks/useI18nContext"),p=e("../../../../shared/constants/time"),m=e("../../../../shared/modules/hexstring-utils");function f(e){return e&&e.__esModule?e:{default:e}}const g=({address:e,shorten:t=!1,wrap:n=!1,onClick:a})=>{const f=(0,m.toChecksumHexAddress)(e),g=t?(0,c.shortenAddress)(f):f,[h,y]=(0,l.useCopyToClipboard)(p.MINUTE),b=(0,d.useI18nContext)();let v=b(h?"copiedExclamation":"copyToClipboard");return o.default.createElement(u.default,{position:"bottom",title:v},o.default.createElement(i.ButtonBase,{backgroundColor:s.BackgroundColor.primaryMuted,onClick:()=>{y(f),null==a||a()},paddingRight:4,paddingLeft:4,size:s.Size.SM,variant:s.TextVariant.bodySm,color:s.TextColor.primaryDefault,endIconName:h?i.IconName.CopySuccess:i.IconName.Copy,className:(0,r.default)("multichain-address-copy-button",{"multichain-address-copy-button__address--wrap":n}),borderRadius:s.BorderRadius.pill,alignItems:s.AlignItems.center,"data-testid":"address-copy-button-text"},o.default.createElement(i.Box,{display:s.Display.Flex},g)))};n.AddressCopyButton=g,g.propTypes={address:a.default.string.isRequired,shorten:a.default.bool,wrap:a.default.bool,onClick:a.default.func}}}},{package:"$root$",file:"ui/components/multichain/address-copy-button/address-copy-button.js"}],[5038,{"./address-copy-button":5037},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"AddressCopyButton",{enumerable:!0,get:function(){return o.AddressCopyButton}});var o=e("./address-copy-button")}}},{package:"$root$",file:"ui/components/multichain/address-copy-button/index.js"}],[5039,{"../../../helpers/constants/design-system":5355,"../../../helpers/utils/util":5399,"../../../selectors":5987,"../../component-library":4955,"../../ui/confusable":5207,"../../ui/tooltip":5310,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.AddressListItem=void 0;var o=d(e("react")),a=e("react-redux"),r=d(e("../../ui/confusable")),i=e("../../component-library"),s=e("../../../helpers/constants/design-system"),l=e("../../../selectors"),c=e("../../../helpers/utils/util"),u=d(e("../../ui/tooltip"));function d(e){return e&&e.__esModule?e:{default:e}}n.AddressListItem=({address:e,label:t,useConfusable:n=!1,onClick:d})=>{const p=(0,a.useSelector)(l.getUseBlockie);let m=(0,c.shortenAddress)(e);return t&&(m=t,n&&(m=o.default.createElement(r.default,{input:t}))),o.default.createElement(i.Box,{display:s.Display.Flex,padding:4,as:"button",onClick:e=>{e.stopPropagation(),d()},width:s.BlockSize.Full,backgroundColor:s.BackgroundColor.transparent,className:"address-list-item",alignItems:s.AlignItems.center},o.default.createElement(i.AvatarAccount,{borderColor:s.BorderColor.transparent,size:i.AvatarAccountSize.Md,address:e,variant:p?i.AvatarAccountVariant.Blockies:i.AvatarAccountVariant.Jazzicon,marginInlineEnd:2}),o.default.createElement(i.Box,{display:s.Display.Flex,flexDirection:s.FlexDirection.Column,style:{overflow:"hidden"}},o.default.createElement(i.Text,{variant:s.TextVariant.bodyMdMedium,padding:0,width:s.BlockSize.Full,textAlign:s.TextAlign.Left,className:"address-list-item__label","data-testid":"address-list-item-label"},m),o.default.createElement(i.Text,{variant:s.TextVariant.bodySm,color:s.TextColor.textAlternative,ellipsis:!0,"data-testid":"address-list-item-address",as:"div"},o.default.createElement(u.default,{title:e,position:"bottom"},(0,c.shortenAddress)(e)))))}}}},{package:"$root$",file:"ui/components/multichain/address-list-item/address-list-item.tsx"}],[5040,{"./address-list-item":5039},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"AddressListItem",{enumerable:!0,get:function(){return o.AddressListItem}});var o=e("./address-list-item")}}},{package:"$root$",file:"ui/components/multichain/address-list-item/hybrid-compute-sdk.ts"}],[5041,{"..":5092,"../../../../app/scripts/lib/util":120,"../../../../shared/constants/app":4493,"../../../../shared/constants/metametrics":4505,"../../../../shared/constants/time":4518,"../../../../shared/modules/hexstring-utils":4544,"../../../contexts/metametrics":5327,"../../../ducks/metamask/metamask":5346,"../../../ducks/send":5348,"../../../helpers/constants/design-system":5355,"../../../helpers/constants/routes":5361,"../../../helpers/utils/util":5399,"../../../hooks/useCopyToClipboard":5417,"../../../hooks/useI18nContext":5427,"../../../selectors":5987,"../../../store/actions":5998,"../../app/connected-status-indicator":4616,"../../component-library":4955,"../../ui/metafox-logo":5268,"../../ui/tooltip":5310,"../notifications-tag-counter":5140,"./multichain-meta-fox-logo":5043,classnames:3049,"prop-types":3997,react:4243,"react-redux":4199,"react-router-dom":4228,"webextension-polyfill":4472},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.AppHeader=void 0;var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=I(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}(e("react")),a=N(e("classnames")),r=N(e("prop-types")),i=N(e("webextension-polyfill")),s=e("react-redux"),l=e("react-router-dom"),c=e("../../../contexts/metametrics"),u=e("../../../../shared/constants/metametrics"),d=e("../../../helpers/constants/routes"),p=e("../../../helpers/constants/design-system"),m=e("../../component-library"),f=e("../../../selectors"),g=e(".."),h=e("../../../store/actions"),y=N(e("../../ui/metafox-logo")),b=e("../../../../app/scripts/lib/util"),v=e("../../../../shared/constants/app"),k=N(e("../../app/connected-status-indicator")),x=e("../../../hooks/useI18nContext"),T=e("../../../ducks/metamask/metamask"),C=e("../../../ducks/send"),w=N(e("../../ui/tooltip")),_=e("../../../hooks/useCopyToClipboard"),E=e("../../../../shared/constants/time"),M=e("../../../helpers/utils/util"),S=e("../../../../shared/modules/hexstring-utils"),O=e("../notifications-tag-counter"),A=e("./multichain-meta-fox-logo");function N(e){return e&&e.__esModule?e:{default:e}}function I(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(I=function(e){return e?n:t})(e)}const P=({location:e})=>{var t,n,r;const N=(0,o.useContext)(c.MetaMetricsContext),[I,P]=(0,o.useState)(!1),j=(0,o.useRef)(null),B=(0,s.useSelector)(f.getOriginOfCurrentTab),D=(0,l.useHistory)(),F=(0,s.useSelector)(T.getIsUnlocked),L=(0,x.useI18nContext)(),R=(0,s.useSelector)(f.getCurrentChainId),$=(0,s.useSelector)(f.getSelectedInternalAccount),z=$&&(0,M.shortenAddress)((0,S.toChecksumHexAddress)($.address)),W=(0,s.useDispatch)(),U=(0,s.useSelector)(f.getCurrentNetwork),V=(0,s.useSelector)(f.getTestNetworkBackgroundColor),H=null==$?void 0:$.address,G=(0,S.toChecksumHexAddress)(H),[q,K]=(0,_.useCopyToClipboard)(E.MINUTE),J=(0,b.getEnvironmentType)()===v.ENVIRONMENT_TYPE_POPUP,Y=(0,b.getEnvironmentType)()===v.ENVIRONMENT_TYPE_POPUP&&B&&B!==i.default.runtime.id,Q=(0,s.useSelector)(C.getSendStage),X=[C.SEND_STAGES.EDIT,C.SEND_STAGES.DRAFT,C.SEND_STAGES.ADD_RECIPIENT].includes(Q),Z=Boolean((0,l.matchPath)(e.pathname,{path:d.CONFIRM_TRANSACTION_ROUTE,exact:!1})),ee=Boolean((0,l.matchPath)(e.pathname,{path:d.SWAPS_ROUTE,exact:!1})),te=Boolean((0,l.matchPath)(e.pathname,{path:d.BUILD_QUOTE_ROUTE,exact:!1})),ne=(0,s.useSelector)(f.getUnapprovedTransactions),oe=Object.keys(ne).length>0,ae=Z||ee&&!te,re=ee||X||Z||oe,ie=(0,o.useCallback)((()=>{W((0,h.toggleNetworkMenu)()),N({event:u.MetaMetricsEventName.NavNetworkMenuOpened,category:u.MetaMetricsEventCategory.Navigation,properties:{location:"App header",chain_id:R}})}),[R,W,N]),se=()=>{N({event:u.MetaMetricsEventName.NavMainMenuOpened,category:u.MetaMetricsEventCategory.Navigation,properties:{location:"Home"}}),P(!0)},le=!J&&re?4:0;return o.default.createElement(o.default.Fragment,null,F&&!J?o.default.createElement(A.MultichainMetaFoxLogo,null):null,o.default.createElement(m.Box,{display:p.Display.Flex,className:(0,a.default)("multichain-app-header",{"multichain-app-header-shadow":!F||J}),marginBottom:le,alignItems:p.AlignItems.center,width:p.BlockSize.Full,backgroundColor:!F||J?p.BackgroundColor.backgroundDefault:p.BackgroundColor.backgroundAlternative},o.default.createElement(o.default.Fragment,null,F?o.default.createElement(m.Box,{className:(0,a.default)("multichain-app-header__contents",{"multichain-app-header-shadow":F&&!J}),alignItems:p.AlignItems.center,width:p.BlockSize.Full,backgroundColor:p.BackgroundColor.backgroundDefault,padding:2,paddingLeft:4,paddingRight:4,gap:2},J?o.default.createElement(m.Box,{className:"multichain-app-header__contents__container"},o.default.createElement(w.default,{title:null==U?void 0:U.nickname,position:"right"},o.default.createElement(m.PickerNetwork,{avatarNetworkProps:{backgroundColor:V,role:"img"},className:"multichain-app-header__contents--avatar-network",ref:j,as:"button",src:null==U||null===(t=U.rpcPrefs)||void 0===t?void 0:t.imageUrl,label:null==U?void 0:U.nickname,"aria-label":`${L("networkMenu")} ${null==U?void 0:U.nickname}`,labelProps:{display:p.Display.None},onClick:e=>{e.stopPropagation(),e.preventDefault(),ie()},display:[p.Display.Flex,p.Display.None],disabled:re}))):o.default.createElement("div",null,o.default.createElement(m.PickerNetwork,{avatarNetworkProps:{backgroundColor:V,role:"img"},margin:2,"aria-label":`${L("networkMenu")} ${null==U?void 0:U.nickname}`,label:null==U?void 0:U.nickname,src:null==U||null===(n=U.rpcPrefs)||void 0===n?void 0:n.imageUrl,onClick:e=>{e.stopPropagation(),e.preventDefault(),ie()},display:[p.Display.None,p.Display.Flex],className:"multichain-app-header__contents__network-picker",disabled:re,"data-testid":"network-display"})),$?o.default.createElement(m.Text,{as:"div",display:p.Display.Flex,flexDirection:p.FlexDirection.Column,alignItems:p.AlignItems.center,ellipsis:!0},o.default.createElement(g.AccountPicker,{address:$.address,name:$.metadata.name,onClick:()=>{W((0,h.toggleAccountMenu)()),N({event:u.MetaMetricsEventName.NavAccountMenuOpened,category:u.MetaMetricsEventCategory.Navigation,properties:{location:"Home"}})},disabled:ae,labelProps:{fontWeight:p.FontWeight.Bold},paddingLeft:2,paddingRight:2}),o.default.createElement(w.default,{position:"left",title:L(q?"addressCopied":"copyToClipboard")},o.default.createElement(m.ButtonBase,{className:"multichain-app-header__address-copy-button",onClick:()=>K(G),size:m.ButtonBaseSize.Sm,backgroundColor:p.BackgroundColor.transparent,borderRadius:p.BorderRadius.LG,endIconName:q?m.IconName.CopySuccess:m.IconName.Copy,endIconProps:{color:p.IconColor.iconAlternative,size:p.Size.SM},ellipsis:!0,textProps:{display:p.Display.Flex,alignItems:p.AlignItems.center,gap:2},style:{height:"auto"},"data-testid":"app-header-copy-button"},o.default.createElement(m.Text,{color:p.TextColor.textAlternative,variant:p.TextVariant.bodySm,ellipsis:!0,as:"span"},z)))):null,o.default.createElement(m.Box,{display:p.Display.Flex,alignItems:p.AlignItems.center,justifyContent:p.JustifyContent.flexEnd,style:{marginLeft:"auto"}},o.default.createElement(m.Box,{display:p.Display.Flex,gap:4},Y?o.default.createElement(m.Box,{ref:j},o.default.createElement(k.default,{onClick:()=>{D.push(`${d.CONNECTIONS}/${encodeURIComponent(B)}`)}})):null," ",o.default.createElement(m.Box,{ref:j,display:p.Display.Flex,justifyContent:p.JustifyContent.flexEnd,width:p.BlockSize.Full},!I&&o.default.createElement(m.Box,{style:{position:"relative"},onClick:()=>se()},o.default.createElement(O.NotificationsTagCounter,{noLabel:!0})),o.default.createElement(m.ButtonIcon,{iconName:m.IconName.MoreVertical,"data-testid":"account-options-menu-button",ariaLabel:L("accountOptions"),onClick:()=>se(),size:m.ButtonIconSize.Sm}))),o.default.createElement(g.GlobalMenu,{anchorElement:j.current,isOpen:I,closeMenu:()=>P(!1)}))):o.default.createElement(m.Box,{display:p.Display.Flex,className:(0,a.default)("multichain-app-header__lock-contents",{"multichain-app-header-shadow":F&&!J}),alignItems:p.AlignItems.center,width:p.BlockSize.Full,justifyContent:p.JustifyContent.spaceBetween,backgroundColor:p.BackgroundColor.backgroundDefault,padding:2,gap:2},o.default.createElement("div",null,o.default.createElement(m.PickerNetwork,{avatarNetworkProps:{backgroundColor:V,role:"img"},"aria-label":`${L("networkMenu")} ${null==U?void 0:U.nickname}`,label:null==U?void 0:U.nickname,src:null==U||null===(r=U.rpcPrefs)||void 0===r?void 0:r.imageUrl,onClick:e=>{e.stopPropagation(),e.preventDefault(),ie()},className:"multichain-app-header__contents__network-picker","data-testid":"network-display"})),o.default.createElement(y.default,{unsetIconHeight:!0,onClick:async()=>{D.push(d.DEFAULT_ROUTE)}})))))};n.AppHeader=P,P.propTypes={location:r.default.object}}}},{package:"$root$",file:"ui/components/multichain/app-header/app-header.js"}],[5042,{"./app-header":5041},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"AppHeader",{enumerable:!0,get:function(){return o.AppHeader}});var o=e("./app-header")}}},{package:"$root$",file:"ui/components/multichain/app-header/index.js"}],[5043,{"../../../helpers/constants/design-system":5355,"../../../helpers/constants/routes":5361,"../../component-library":4955,"../../ui/metafox-logo":5268,react:4243,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.MultichainMetaFoxLogo=void 0;var o=c(e("react")),a=e("react-router-dom"),r=e("../../../helpers/constants/routes"),i=e("../../../helpers/constants/design-system"),s=e("../../component-library"),l=c(e("../../ui/metafox-logo"));function c(e){return e&&e.__esModule?e:{default:e}}n.MultichainMetaFoxLogo=()=>{const e=(0,a.useHistory)();return o.default.createElement(s.Box,{display:[i.Display.None,i.Display.Flex],alignItems:i.AlignItems.center,margin:2,className:"multichain-app-header-logo","data-testid":"app-header-logo",justifyContent:i.JustifyContent.center},o.default.createElement(l.default,{unsetIconHeight:!0,onClick:async()=>e.push(r.DEFAULT_ROUTE)}))}}}},{package:"$root$",file:"ui/components/multichain/app-header/multichain-meta-fox-logo.js"}],[5044,{"../../../../../shared/constants/transaction":4520,"../../../../../shared/modules/conversion.utils":4537,"../../../../helpers/constants/common":5353,"../../../../helpers/constants/design-system":5355,"../../../../hooks/useCurrencyDisplay":5418,"../../../../hooks/useI18nContext":5427,"../../../../hooks/useTokenFiatAmount":5446,"../../../../hooks/useTokenTracker":5447,"../../../../selectors":5987,"../../../app/user-preferenced-currency-display":4880,"../../../component-library":4955,"../../../ui/currency-display":5209,"../utils":5057,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.AssetBalanceText=function({asset:e,balanceColor:t,error:n}){var b,k,x,T;const C=(0,h.useI18nContext)(),w=(0,a.useSelector)(l.getCurrentCurrency),_=(0,a.useSelector)(g.getIsFiatPrimary),{tokensWithBalances:E}=(0,p.useTokenTracker)({tokens:null!==(b=e.details)&&void 0!==b&&b.address&&!e.balance?[{address:e.details.address}]:[],address:undefined}),M=(0,y.hexToDecimal)(e.balance)||(null===(k=E[0])||void 0===k?void 0:k.string),S=(0,a.useSelector)(l.getSelectedAccountCachedBalance),O=(0,m.useCurrencyDisplay)(S,{numberOfDecimals:2,currency:w})[1].value,A=(0,f.useTokenFiatAmount)(null===(x=e.details)||void 0===x?void 0:x.address,M,undefined,0===Number(M)?{exchangeRate:Number.MIN_VALUE}:undefined,!0),N=e.type===c.AssetType.native?O:A,I={hideLabel:!0,textProps:{color:t,variant:u.TextVariant.bodySm},suffixProps:{color:t,variant:u.TextVariant.bodySm}},P=n?`. ${C(n)}`:"";if(e.type===c.AssetType.NFT){var j;const t=(0,y.hexToDecimal)(e.balance||"0x0");return o.default.createElement(r.Text,I.textProps,`${t} ${null===(j=C("1"===t?"token":"tokens"))||void 0===j?void 0:j.toLowerCase()}${P}`)}if(_)return o.default.createElement(d.default,v({},I,{currency:w,numberOfDecimals:2,displayValue:`${N}${P}`}));if(e.type===c.AssetType.native)return o.default.createElement(o.default.Fragment,null,o.default.createElement(i.default,v({},I,{value:e.balance,type:s.PRIMARY})),P?o.default.createElement(r.Text,{variant:u.TextVariant.bodySm,color:u.TextColor.errorDefault,"data-testid":"send-page-amount-error"},P):null);if(null!==(T=e.details)&&void 0!==T&&T.address)return o.default.createElement(i.default,v({},I,{displayValue:`${M||""}${P}`}));return null};var o=b(e("react")),a=e("react-redux"),r=e("../../../component-library"),i=b(e("../../../app/user-preferenced-currency-display")),s=e("../../../../helpers/constants/common"),l=e("../../../../selectors"),c=e("../../../../../shared/constants/transaction"),u=e("../../../../helpers/constants/design-system"),d=b(e("../../../ui/currency-display")),p=e("../../../../hooks/useTokenTracker"),m=e("../../../../hooks/useCurrencyDisplay"),f=e("../../../../hooks/useTokenFiatAmount"),g=e("../utils"),h=e("../../../../hooks/useI18nContext"),y=e("../../../../../shared/modules/conversion.utils");function b(e){return e&&e.__esModule?e:{default:e}}function v(){return v=Object.assign?Object.assign.bind():function(e){for(var t=1;t{var v,k;const x=(0,r.useSelector)(c.getSelectedInternalAccount),T=(0,i.useI18nContext)(),{swapQuotesError:C,sendAsset:w,receiveAsset:_}=(0,r.useSelector)(d.getCurrentDraftTransaction),E=!n,M=E&&C,S=(0,r.useSelector)(d.getSendMaxModeState),O=(0,r.useSelector)(d.getIsNativeSendPossible);(0,a.useEffect)((()=>{E||O||S&&n("0x0")}),[O]);const[A,N]=(0,a.useState)(!1),[I,P]=(0,a.useState)(!1),j=(0,a.useCallback)(((t,o)=>{I||e.type!==u.AssetType.NFT||P(!0),null==n||n(t,o)}),[n,I,e.type]);(0,a.useEffect)((()=>{P(!1)}),[e]);const{error:B}=t,D=B===p.NEGATIVE_OR_ZERO_AMOUNT_TOKENS_ERROR&&e.type===u.AssetType.NFT&&!I,F=B&&!D?B:undefined;(0,a.useEffect)((()=>{if(!e)throw new Error("No asset is drafted for sending")}),[x]);let L=l.BorderColor.borderMuted;E?M&&(L=l.BorderColor.errorDefault):F?L=l.BorderColor.errorDefault:A&&(L=l.BorderColor.primaryDefault);const R=w.type===u.AssetType.native&&_.type!==u.AssetType.native;return a.default.createElement(s.Box,{className:"asset-picker-amount"},a.default.createElement(s.Box,{onFocus:()=>N(!0),onBlur:()=>N(!1),display:l.Display.Flex,alignItems:l.AlignItems.center,backgroundColor:l.BackgroundColor.backgroundDefault,borderRadius:l.BorderRadius.LG,borderColor:L,borderStyle:l.BorderStyle.solid,borderWidth:1,marginBottom:1,padding:1,paddingTop:(null===(v=e.details)||void 0===v?void 0:v.standard)===u.TokenStandard.ERC721?4:1,paddingBottom:(null===(k=e.details)||void 0===k?void 0:k.standard)===u.TokenStandard.ERC721?4:1},a.default.createElement(f.AssetPicker,b({asset:e},y)),a.default.createElement(g.SwappableCurrencyInput,{onAmountChange:n?j:undefined,assetType:e.type,asset:e,amount:t,isAmountLoading:o})),a.default.createElement(s.Box,{display:l.Display.Flex},n&&a.default.createElement(h.AssetBalance,{asset:e,error:F}),M&&a.default.createElement(s.Text,{variant:l.TextVariant.bodySm,color:l.TextColor.errorDefault},T(C)),n&&O&&!R&&a.default.createElement(m.default,{asset:e})))}}}},{package:"$root$",file:"ui/components/multichain/asset-picker-amount/asset-picker-amount.tsx"}],[5047,{"../../../../../shared/modules/string-utils":4558,"../../../../ducks/locale/locale":5345,"../../../../hooks/useTokenFiatAmount":5446,"../../../../pages/confirmations/components/simulation-details/formatAmount":5615,"../../../../selectors":5987,"../../token-list-item":5185,"bignumber.js":2933,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function({address:e,image:t,symbol:n,decimalTokenAmount:o,tooltipText:m}){const f=(0,r.useSelector)(p.getIntlLocale),g=(0,r.useSelector)(s.getTokenList),h=e?Object.values(g).find((t=>(0,u.isEqualCaseInsensitive)(t.symbol,n)&&(0,u.isEqualCaseInsensitive)(t.address,e))):undefined,y=(null==h?void 0:h.name)||n,b=(null==h?void 0:h.iconUrl)||t,v=(0,l.useTokenFiatAmount)(e??undefined,o,n,{},!0);return a.default.createElement(c.TokenListItem,{tokenSymbol:n,tokenImage:b,primary:(0,d.formatAmount)(f,new i.BigNumber(o||"0",10)),secondary:v,title:y,tooltipText:m})};var o,a=(o=e("react"))&&o.__esModule?o:{default:o},r=e("react-redux"),i=e("bignumber.js"),s=e("../../../../selectors"),l=e("../../../../hooks/useTokenFiatAmount"),c=e("../../token-list-item"),u=e("../../../../../shared/modules/string-utils"),d=e("../../../../pages/confirmations/components/simulation-details/formatAmount"),p=e("../../../../ducks/locale/locale")}}},{package:"$root$",file:"ui/components/multichain/asset-picker-amount/asset-picker-modal/Asset.tsx"}],[5048,{"../..":5092,"../../../../../shared/constants/transaction":4520,"../../../../../shared/modules/string-utils":4558,"../../../../ducks/metamask/metamask":5346,"../../../../helpers/constants/common":5353,"../../../../helpers/constants/design-system":5355,"../../../../hooks/useCurrencyDisplay":5418,"../../../../hooks/useUserPreferencedCurrency":5452,"../../../../selectors":5987,"../../../component-library":4955,"./Asset":5047,classnames:3049,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function({handleAssetChange:e,asset:t,tokenList:n,sendingAssetSymbol:y,memoizedSwapsBlockedTokens:v}){var k;const x=null===(k=t.details)||void 0===k?void 0:k.address,T=(0,a.useSelector)(s.getNativeCurrency),C=(0,a.useSelector)(i.getSelectedAccountCachedBalance),{currency:w,numberOfDecimals:_}=(0,l.useUserPreferencedCurrency)(c.PRIMARY,{ethNumberOfDecimals:4}),{currency:E,numberOfDecimals:M}=(0,l.useUserPreferencedCurrency)(c.SECONDARY,{ethNumberOfDecimals:4}),[,S]=(0,u.useCurrencyDisplay)(C,{numberOfDecimals:_,currency:w}),[O,A]=(0,u.useCurrencyDisplay)(C,{numberOfDecimals:M,currency:E,hideLabel:!0});return o.default.createElement(p.Box,{className:"tokens-main-view-modal"},n.map((t=>{var n;const a=null===(n=t.address)||void 0===n?void 0:n.toLowerCase(),i=a===(null==x?void 0:x.toLowerCase()),s=!!y&&(!(0,g.isEqualCaseInsensitive)(y,t.symbol)&&v.has(a));return o.default.createElement(p.Box,{padding:0,gap:0,margin:0,key:t.symbol,backgroundColor:i?m.BackgroundColor.primaryMuted:m.BackgroundColor.transparent,className:(0,r.default)("multichain-asset-picker-list-item",{"multichain-asset-picker-list-item--selected":i,"multichain-asset-picker-list-item--disabled":s}),"data-testid":"asset-list-item",onClick:()=>{s||e(t)}},i?o.default.createElement(p.Box,{className:"multichain-asset-picker-list-item__selected-indicator",borderRadius:m.BorderRadius.pill,backgroundColor:m.BackgroundColor.primaryDefault}):null,o.default.createElement(p.Box,{key:t.address,padding:0,display:m.Display.Block,flexWrap:m.FlexWrap.NoWrap,alignItems:m.AlignItems.center,style:{cursor:"pointer"}},o.default.createElement(p.Box,{marginInlineStart:2},t.type===d.AssetType.native?o.default.createElement(f.TokenListItem,{title:T,primary:S.value??A.value,tokenSymbol:S.suffix,secondary:O,tokenImage:t.image}):o.default.createElement(h.default,b({key:t.address},t,{decimalTokenAmount:t.string,tooltipText:s?"swapTokenNotAvailable":undefined})))))})))};var o=y(e("react")),a=e("react-redux"),r=y(e("classnames")),i=e("../../../../selectors"),s=e("../../../../ducks/metamask/metamask"),l=e("../../../../hooks/useUserPreferencedCurrency"),c=e("../../../../helpers/constants/common"),u=e("../../../../hooks/useCurrencyDisplay"),d=e("../../../../../shared/constants/transaction"),p=e("../../../component-library"),m=e("../../../../helpers/constants/design-system"),f=e("../.."),g=e("../../../../../shared/modules/string-utils"),h=y(e("./Asset"));function y(e){return e&&e.__esModule?e:{default:e}}function b(){return b=Object.assign?Object.assign.bind():function(e){for(var t=1;t0,R=Object.keys(D),$=R.reduce(((e,t)=>{var n;const o=D[t];return(null===(n=o.collectionName)||void 0===n?void 0:n.toLowerCase().includes(j.toLowerCase()))?(e.push(o),e):e}),[]).filter((e=>e.nfts.length>0)),z=(0,a.useSelector)(T.getSwapsBlockedTokens),W=(0,o.useMemo)((()=>new Set(z)),[z]),U=M&&O,V=(0,o.useCallback)((e=>{E(e),I({event:k.MetaMetricsEventName.sendAssetSelected,category:k.MetaMetricsEventCategory.Send,properties:{...P,is_destination_asset_picker_modal:Boolean(U),new_asset_symbol:e.symbol,new_asset_address:e.address,is_nft:!1}}),t()}),[E]),H=(null==n?void 0:n.type)===d.AssetType.NFT?"nfts":"tokens",G=(0,a.useSelector)(f.getCurrentChainId),q=(0,a.useSelector)(f.getNativeCurrencyImage),K=(0,a.useSelector)(g.getNativeCurrency),J=(0,a.useSelector)(f.getSelectedAccountCachedBalance),Y=(0,a.useSelector)(f.getTokenExchangeRates,r.isEqual),Q=(0,a.useSelector)(g.getConversionRate),X=(0,a.useSelector)(f.getCurrentCurrency),{address:Z}=(0,a.useSelector)(f.getSelectedInternalAccount),ee=(0,a.useSelector)(f.getShouldHideZeroBalanceTokens),te=(0,a.useSelector)(f.getUseNftDetection),ne=(0,a.useSelector)(f.getIsMainnet),oe=(0,a.useSelector)(f.getAllTokens),ae=(null==oe||null===(A=oe[G])||void 0===A?void 0:A[Z])??[],{tokensWithBalances:re}=(0,h.useTokenTracker)({tokens:ae,address:Z,hideZeroBalanceTokens:Boolean(ee)}),ie=(0,a.useSelector)(f.getTokenList),se=(0,a.useSelector)(y.getTopAssets,r.isEqual),le=(0,r.uniqBy)([...re,...ae],"address"),ce=(0,v.useEqualityCheck)(le),ue=(0,o.useMemo)((()=>{const e={address:null,symbol:K,decimals:18,image:q,balance:J,type:d.AssetType.native},t=[],n=new Set,o=({address:e,symbol:t})=>!!O&&(!(0,w.isEqualCaseInsensitive)(O,t)&&W.has(e||""));let a;for(a of function*(){yield e;const t=[];for(const e of ce)yield e;for(const e of Object.keys(se)){const n=null==ie?void 0:ie[e];if(n){if(U&&o(n)){t.push(n);continue}yield n}}for(const e of Object.values(ie))yield e;for(const e of t)yield e}()){var r,i,s;if(null!==(r=a.symbol)&&void 0!==r&&r.toLowerCase().includes(j.toLowerCase())&&!n.has(null===(i=a.address)||void 0===i?void 0:i.toLowerCase()))n.add(null===(s=a.address)||void 0===s?void 0:s.toLowerCase()),t.push((0,b.getRenderableTokenData)(a.address?{...a,...ie[a.address.toLowerCase()],type:d.AssetType.token}:a,Y,Q,X,G,ie));if(t.length>S)break}return t}),[ce,se,j,K,q,J,Y,Q,X,G,ie,O]),de=(0,o.useCallback)((({isNFTSearch:e=!1})=>o.default.createElement(l.Box,{padding:1,paddingLeft:4,paddingRight:4},o.default.createElement(l.TextFieldSearch,{borderRadius:c.BorderRadius.LG,placeholder:N(e?"searchNfts":"searchTokens"),value:j,onChange:e=>B(e.target.value),error:!1,autoFocus:!0,autoComplete:!1,width:c.BlockSize.Full,clearButtonOnClick:()=>B(""),clearButtonProps:{size:l.ButtonIconSize.Sm},showClearButton:!0,className:"asset-picker-modal__search-list",inputProps:{"data-testid":"asset-picker-modal-search-input"},endAccessory:null,size:l.TextFieldSearchSize.Lg,marginBottom:1}))),[j]);return o.default.createElement(l.Modal,{className:"asset-picker-modal",isOpen:e,onClose:t,"data-testid":"asset-picker-modal"},o.default.createElement(l.ModalOverlay,null),o.default.createElement(l.ModalContent,{modalDialogProps:{padding:0}},o.default.createElement(l.ModalHeader,{onClose:t},o.default.createElement(l.Text,{variant:c.TextVariant.headingSm,textAlign:c.TextAlign.Center},N(U?"sendSelectReceiveAsset":"sendSelectSendAsset"))),U&&o.default.createElement(l.Box,{display:c.Display.Flex,gap:1,alignItems:c.AlignItems.center,marginInline:"auto",marginBottom:4},o.default.createElement(l.AvatarToken,{borderRadius:c.BorderRadius.full,src:M,size:l.AvatarTokenSize.Xs}),o.default.createElement(l.Text,{variant:c.TextVariant.bodySm},N("sendingAsset",[O]))),o.default.createElement(l.Box,{className:"modal-tab__wrapper"},U?o.default.createElement(o.default.Fragment,null,o.default.createElement(de,null),o.default.createElement(_.default,{handleAssetChange:V,asset:n,tokenList:ue,sendingAssetSymbol:O,memoizedSwapsBlockedTokens:W})):o.default.createElement(i.Tabs,{defaultActiveTabKey:H,tabsClassName:"modal-tab__tabs"},o.default.createElement(i.Tab,{activeClassName:"modal-tab__tab--active",className:"modal-tab__tab",name:N("tokens"),tabKey:"tokens"},o.default.createElement(de,null),o.default.createElement(_.default,{handleAssetChange:V,asset:n,tokenList:ue,memoizedSwapsBlockedTokens:W})),o.default.createElement(i.Tab,{activeClassName:"modal-tab__tab--active",className:"modal-tab__tab",name:N("nfts"),tabKey:"nfts"},L?o.default.createElement(l.Box,{className:"modal-tab__main-view"},o.default.createElement(de,{isNFTSearch:!0}),o.default.createElement(s.default,{collections:$,previouslyOwnedCollection:F,isModal:!0,onCloseModal:()=>t(),showTokenId:!0,displayPreviouslyOwnedCollection:!1})):o.default.createElement(o.default.Fragment,null,ne&&!te&&o.default.createElement(l.Box,{paddingTop:4,paddingInlineStart:4,paddingInlineEnd:4},o.default.createElement(C.default,null)),o.default.createElement(l.Box,{padding:12,display:c.Display.Flex,flexDirection:c.FlexDirection.Column,alignItems:c.AlignItems.center,justifyContent:c.JustifyContent.center},o.default.createElement(l.Box,{justifyContent:c.JustifyContent.center},o.default.createElement("img",{src:"./images/no-nfts.svg"})),o.default.createElement(l.Box,{display:c.Display.Flex,justifyContent:c.JustifyContent.center,alignItems:c.AlignItems.center,flexDirection:c.FlexDirection.Column,className:"nfts-tab__link"},o.default.createElement(l.Text,{color:c.TextColor.textMuted,variant:c.TextVariant.headingSm,textAlign:c.TextAlign.Center,as:"h4"},N("noNFTs")),o.default.createElement(l.ButtonLink,{size:l.ButtonLinkSize.Sm,href:m.default.NFT_TOKENS,externalLink:!0},N("learnMoreUpperCase"))))))))))};var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=M(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}(e("react")),a=e("react-redux"),r=e("lodash"),i=e("../../../ui/tabs"),s=E(e("../../../app/nfts-items/nfts-items")),l=e("../../../component-library"),c=e("../../../../helpers/constants/design-system"),u=e("../../../../hooks/useI18nContext"),d=e("../../../../../shared/constants/transaction"),p=e("../../../../hooks/useNftsCollections"),m=E(e("../../../../helpers/constants/zendesk-url")),f=e("../../../../selectors"),g=e("../../../../ducks/metamask/metamask"),h=e("../../../../hooks/useTokenTracker"),y=e("../../../../ducks/swaps/swaps"),b=e("../../../../hooks/useTokensToSearch"),v=e("../../../../hooks/useEqualityCheck"),k=e("../../../../../shared/constants/metametrics"),x=e("../../../../contexts/metametrics"),T=e("../../../../ducks/send"),C=E(e("../../../app/nfts-detection-notice-nfts-tab/nfts-detection-notice-nfts-tab")),w=e("../../../../../shared/modules/string-utils"),_=E(e("./AssetList"));function E(e){return e&&e.__esModule?e:{default:e}}function M(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(M=function(e){return e?n:t})(e)}const S=30}}},{package:"$root$",file:"ui/components/multichain/asset-picker-amount/asset-picker-modal/asset-picker-modal.tsx"}],[5050,{"../../../../../shared/constants/metametrics":4505,"../../../../../shared/constants/transaction":4520,"../../../../contexts/metametrics":5327,"../../../../ducks/metamask/metamask":5346,"../../../../ducks/send":5348,"../../../../helpers/constants/design-system":5355,"../../../../helpers/utils/util":5399,"../../../../hooks/useI18nContext":5427,"../../../../pages/confirmations/send/send.utils":5722,"../../../../selectors":5987,"../../../component-library":4955,"../../../ui/tooltip":5310,"../asset-picker-modal/asset-picker-modal":5049,"../constants":5051,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.AssetPicker=function({asset:e,onAssetChange:t,sendingAsset:n,isDisabled:o=!1}){var k,C,w,_;const E=(0,h.useI18nContext)(),M=(0,a.useContext)(y.MetaMetricsContext),S=(0,r.useSelector)(s.getSendAnalyticProperties),O=(0,r.useSelector)(d.getNativeCurrency),A=(0,r.useSelector)(p.getNativeCurrencyImage),N=(0,r.useSelector)(p.getTokenList),I=(0,r.useSelector)(p.getIpfsGateway),[P,j]=(0,a.useState)(!1);let B,D;if(e.type===c.AssetType.native)B=A;else if(N&&e.details){var F,L,R;B=(0,g.getAssetImageURL)(null===(F=e.details)||void 0===F?void 0:F.image,I)||(null===(L=N[null===(R=e.details.address)||void 0===R?void 0:R.toLowerCase()])||void 0===L?void 0:L.iconUrl)}if(n)if(n.type===c.AssetType.native)D=A;else if(N&&n.details){var $,z,W;D=(0,g.getAssetImageURL)(null===($=n.details)||void 0===$?void 0:$.image,I)||(null===(z=N[null===(W=n.details.address)||void 0===W?void 0:W.toLowerCase()])||void 0===z?void 0:z.iconUrl)}const U=e.type===c.AssetType.native?O:null===(k=e.details)||void 0===k?void 0:k.symbol,V=(null==U?void 0:U.length)>f.LARGE_SYMBOL_LENGTH,H=e.type===c.AssetType.NFT,G=V&&!H?`${U.substring(0,f.LARGE_SYMBOL_LENGTH-1)}...`:U,q=(0,r.useSelector)(p.getCurrentNetwork),K=(0,r.useSelector)(p.getTestNetworkBackgroundColor);return a.default.createElement(a.default.Fragment,null,a.default.createElement(u.AssetPickerModal,{isOpen:P,onClose:()=>j(!1),asset:e,onAssetChange:t,sendingAssetImage:D,sendingAssetSymbol:(null==n||null===(C=n.details)||void 0===C?void 0:C.symbol)||O}),a.default.createElement(i.Button,{"data-testid":"asset-picker-button",className:"asset-picker",disabled:o,display:l.Display.Flex,alignItems:l.AlignItems.center,gap:2,padding:2,paddingLeft:2,paddingRight:2,justifyContent:H?l.JustifyContent.spaceBetween:undefined,backgroundColor:l.BackgroundColor.transparent,onClick:()=>{j(!0),M({event:b.MetaMetricsEventName.sendTokenModalOpened,category:b.MetaMetricsEventCategory.Send,properties:{...S,is_destination_asset_picker_modal:Boolean(n)}})},endIconName:i.IconName.ArrowDown,endIconProps:{color:l.IconColor.iconDefault,marginInlineStart:0,display:o?l.Display.None:l.Display.InlineBlock},title:o?E("swapTokenNotAvailable"):undefined},a.default.createElement(i.Box,{display:l.Display.Flex,alignItems:l.AlignItems.center,gap:3},a.default.createElement(i.Box,{display:l.Display.Flex},a.default.createElement(i.BadgeWrapper,{badge:a.default.createElement(i.AvatarNetwork,{size:i.AvatarNetworkSize.Xs,name:null==q?void 0:q.nickname,src:null==q||null===(w=q.rpcPrefs)||void 0===w?void 0:w.imageUrl,backgroundColor:K,borderColor:B?l.BorderColor.borderMuted:l.BorderColor.borderDefault})},a.default.createElement(i.AvatarToken,x({borderRadius:H?l.BorderRadius.LG:l.BorderRadius.full,src:B,size:i.AvatarTokenSize.Md,showHalo:!H,name:U},H&&{backgroundColor:l.BackgroundColor.transparent})))),a.default.createElement(m.default,{disabled:!V,title:U,position:"bottom"},a.default.createElement(i.Text,{className:"asset-picker__symbol",variant:l.TextVariant.bodyMd},G),(null===(_=e.details)||void 0===_?void 0:_.tokenId)&&a.default.createElement(i.Text,{variant:l.TextVariant.bodySm,color:l.TextColor.textAlternative},"#",String(e.details.tokenId).length{f({event:'Clicked "Amount Max"',category:s.MetaMetricsEventCategory.Transactions,properties:{...g,action:"Edit Screen",legacy_event:!0}}),m((0,r.toggleSendMaxMode)())},marginLeft:"auto",textProps:{variant:u.TextVariant.bodySm},"data-testid":"max-clear-button"},t(n?"clear":"max"))};var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=m(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}(e("react")),a=e("react-redux"),r=e("../../../ducks/send"),i=e("../../../contexts/metametrics"),s=e("../../../../shared/constants/metametrics"),l=e("../../component-library"),c=e("../../../hooks/useI18nContext"),u=e("../../../helpers/constants/design-system"),d=e("../../../../shared/constants/transaction"),p=e("../../../../shared/modules/conversion.utils");function m(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(m=function(e){return e?n:t})(e)}}}},{package:"$root$",file:"ui/components/multichain/asset-picker-amount/max-clear-button.tsx"}],[5054,{"../../../../../shared/modules/Numeric":4533,"../../../ui/unit-input":5316,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.NFTInput=function({integerValue:e,onChange:t,className:n}){return o.default.createElement(a.default,{isDisabled:!t,isFocusOnInput:Boolean(t),type:"number",step:1,min:0,dataTestId:"nft-input",onChange:e=>{if(!t)return;const n=new r.Numeric(e,10);Number.isInteger(n.toNumber())&&t(n.toPrefixedHexString(),String(e))},value:e,className:n,keyPressRegex:s})};var o=i(e("react")),a=i(e("../../../ui/unit-input")),r=e("../../../../../shared/modules/Numeric");function i(e){return e&&e.__esModule?e:{default:e}}const s=/^[0-9]*$/u}}},{package:"$root$",file:"ui/components/multichain/asset-picker-amount/nft-input/nft-input.tsx"}],[5055,{"../../../../helpers/constants/design-system":5355,"../../../../hooks/useI18nContext":5427,"../../../component-library":4955,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function({onClick:e}){const t=(0,s.useI18nContext)();return a.default.createElement(i.ButtonIcon,{backgroundColor:r.BackgroundColor.transparent,iconName:i.IconName.SwapVertical,size:i.ButtonIconSize.Sm,color:r.IconColor.primaryDefault,onClick:e,ariaLabel:t("switchInputCurrency"),className:"asset-picker-amount__input__swap"})};var o,a=(o=e("react"))&&o.__esModule?o:{default:o},r=e("../../../../helpers/constants/design-system"),i=e("../../../component-library"),s=e("../../../../hooks/useI18nContext")}}},{package:"$root$",file:"ui/components/multichain/asset-picker-amount/swappable-currency-input/swap-icon.tsx"}],[5056,{"../../../../../shared/constants/transaction":4520,"../../../../ducks/app/app":5336,"../../../../ducks/send":5348,"../../../../helpers/constants/design-system":5355,"../../../../hooks/useI18nContext":5427,"../../../app/currency-input":4626,"../../../component-library":4955,"../nft-input/nft-input":5054,"../utils":5057,"./swap-icon":5055,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.SwappableCurrencyInput=function({assetType:e,asset:t,amount:{value:n},isAmountLoading:g,onAmountChange:h}){var y,b;const v=(0,a.useDispatch)(),k=(0,r.useI18nContext)(),x=(0,a.useSelector)(p.getIsFiatPrimary),T=(0,a.useSelector)(i.getSendMaxModeState),C=o.default.createElement(d.default,{className:"asset-picker-amount__input",isFiatPreferred:x,onChange:h,hexValue:n,swapIcon:e=>o.default.createElement(f.default,{onClick:e}),onPreferenceToggle:(0,o.useCallback)((()=>v((0,s.toggleCurrencySwitch)())),[v]),asset:null==t?void 0:t.details,isSkeleton:g,isMatchingUpstream:T}),w=o.default.createElement(m.NFTInput,{integerValue:parseInt(n,16),onChange:h,className:"asset-picker-amount__input-nft"});switch(e){case l.AssetType.token:case l.AssetType.native:return C;case l.AssetType.NFT:return(null===(y=t.details)||void 0===y?void 0:y.standard)===l.TokenStandard.ERC721?null:w}return o.default.createElement(c.Box,{marginLeft:"auto"},o.default.createElement(c.Text,{variant:u.TextVariant.bodySm},k("tokenId")),o.default.createElement(c.Text,{variant:u.TextVariant.bodySm,fontWeight:u.FontWeight.Bold,marginLeft:10},null==t||null===(b=t.details)||void 0===b?void 0:b.tokenId))};var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=h(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}(e("react")),a=e("react-redux"),r=e("../../../../hooks/useI18nContext"),i=e("../../../../ducks/send"),s=e("../../../../ducks/app/app"),l=e("../../../../../shared/constants/transaction"),c=e("../../../component-library"),u=e("../../../../helpers/constants/design-system"),d=g(e("../../../app/currency-input")),p=e("../utils"),m=e("../nft-input/nft-input"),f=g(e("./swap-icon"));function g(e){return e&&e.__esModule?e:{default:e}}function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(h=function(e){return e?n:t})(e)}}}},{package:"$root$",file:"ui/components/multichain/asset-picker-amount/swappable-currency-input/swappable-currency-input.tsx"}],[5057,{reselect:4269},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.getIsFiatPrimary=void 0;var o=e("reselect");n.getIsFiatPrimary=(0,o.createSelector)((e=>e.metamask.preferences),(e=>e.appState.sendInputCurrencySwitched),(({useNativeCurrencyAsPrimaryCurrency:e},t)=>Boolean(e&&t||!e&&!t)))}}},{package:"$root$",file:"ui/components/multichain/asset-picker-amount/utils.ts"}],[5058,{"../../../helpers/constants/design-system":5355,"../../../selectors":5987,"../../component-library":4955,"./avatar-group.types":5059,classnames:3049,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.AvatarGroup=void 0;var o,a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=d(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}(e("react")),r=(o=e("classnames"))&&o.__esModule?o:{default:o},i=e("react-redux"),s=e("../../../selectors"),l=e("../../component-library"),c=e("../../../helpers/constants/design-system"),u=e("./avatar-group.types");function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(d=function(e){return e?n:t})(e)}n.AvatarGroup=({className:e="",limit:t=4,members:n=[],size:o=l.AvatarTokenSize.Xs,avatarType:d=u.AvatarType.TOKEN,borderColor:p})=>{const m=n.length,f=n.slice(0,t).reverse(),g=m>t,h=(0,i.useSelector)(s.getUseBlockie);let y="";y=l.AvatarTokenSize.Xs?"-8px":l.AvatarTokenSize.Sm?"-12px":"-16px";const b=`+${(m-t).toLocaleString()}`;return a.createElement(l.Box,{alignItems:c.AlignItems.center,display:c.Display.Flex,className:(0,r.default)("multichain-avatar-group",e),"data-testid":"avatar-group",gap:1},a.createElement(l.Box,{display:c.Display.Flex},f.map(((e,t)=>a.createElement(l.Box,{borderRadius:c.BorderRadius.full,key:t,style:{marginLeft:0===t?"0":y}},d===u.AvatarType.TOKEN?a.createElement(l.AvatarToken,{src:e.avatarValue,name:e.symbol,size:o,borderColor:p}):a.createElement(l.AvatarAccount,{size:l.AvatarAccountSize.Xs,address:e.avatarValue,variant:h?l.AvatarAccountVariant.Blockies:l.AvatarAccountVariant.Jazzicon,borderColor:p}))))),g?a.createElement(l.Box,null,a.createElement(l.Text,{variant:c.TextVariant.bodySm,color:c.TextColor.textAlternative},b)):null)}}}},{package:"$root$",file:"ui/components/multichain/avatar-group/avatar-group.tsx"}],[5059,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.AvatarType=void 0;n.AvatarType=function(e){return e.TOKEN="TOKEN",e.ACCOUNT="ACCOUNT",e}({})}}},{package:"$root$",file:"ui/components/multichain/avatar-group/avatar-group.types.tsx"}],[5060,{"./avatar-group":5058},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"AvatarGroup",{enumerable:!0,get:function(){return o.AvatarGroup}});var o=e("./avatar-group")}}},{package:"$root$",file:"ui/components/multichain/avatar-group/hybrid-compute-sdk.ts"}],[5061,{"../../../helpers/constants/design-system":5355,"../../../selectors":5987,"../../component-library":4955,"../../ui/tooltip":5310,classnames:3049,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.BadgeStatus=void 0;var o=u(e("react")),a=u(e("classnames")),r=e("react-redux"),i=e("../../../helpers/constants/design-system"),s=e("../../component-library"),l=e("../../../selectors"),c=u(e("../../ui/tooltip"));function u(e){return e&&e.__esModule?e:{default:e}}function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const g=(0,r.useSelector)(l.getUseBlockie);return o.default.createElement(s.Box,d({className:(0,a.default)("multichain-badge-status",e),"data-testid":"multichain-badge-status",as:"button",display:i.Display.Flex,alignItems:i.AlignItems.center,justifyContent:i.JustifyContent.center,backgroundColor:i.BackgroundColor.transparent},f),o.default.createElement(c.default,{style:{display:"flex"},title:m,"data-testid":"multichain-badge-status__tooltip",position:"bottom"},o.default.createElement(s.BadgeWrapper,{positionObj:p?{bottom:2,right:5}:{bottom:-1,right:2},badge:o.default.createElement(s.Box,{className:(0,a.default)("multichain-badge-status__badge",{"multichain-badge-status__badge-not-connected":p}),backgroundColor:t,borderRadius:i.BorderRadius.full,borderColor:n,borderWidth:p?2:4})},o.default.createElement(s.AvatarAccount,{borderColor:i.BorderColor.transparent,size:s.AvatarAccountSize.Md,address:u,variant:g?s.AvatarAccountVariant.Blockies:s.AvatarAccountVariant.Jazzicon,marginInlineEnd:2}))))}}}},{package:"$root$",file:"ui/components/multichain/badge-status/badge-status.tsx"}],[5062,{"./badge-status":5061},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"BadgeStatus",{enumerable:!0,get:function(){return o.BadgeStatus}});var o=e("./badge-status")}}},{package:"$root$",file:"ui/components/multichain/badge-status/hybrid-compute-sdk.ts"}],[5063,{"..":5092,"../../../helpers/constants/design-system":5355,"../../../helpers/utils/util":5399,"../../../hooks/useI18nContext":5427,"../../../store/actions":5998,"../../component-library":4955,"../../ui/tooltip/tooltip":5311,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.ConnectAccountsModalList=void 0;var o=p(e("react")),a=e("react-redux"),r=e("../../component-library"),i=e("../../../hooks/useI18nContext"),s=e(".."),l=e("../../../helpers/constants/design-system"),c=p(e("../../ui/tooltip/tooltip")),u=e("../../../helpers/utils/util"),d=e("../../../store/actions");function p(e){return e&&e.__esModule?e:{default:e}}n.ConnectAccountsModalList=({onClose:e,allAreSelected:t,deselectAll:n,selectAll:p,handleAccountClick:m,selectedAccounts:f,accounts:g,checked:h,isIndeterminate:y,onAccountsUpdate:b,activeTabOrigin:v})=>{const k=(0,i.useI18nContext)(),x=(0,a.useDispatch)();return o.default.createElement(r.Modal,{isOpen:!0,onClose:e,"data-testid":"connect-more-accounts"},o.default.createElement(r.ModalOverlay,null),o.default.createElement(r.ModalContent,null,o.default.createElement(r.ModalHeader,{"data-testid":"connect-more-accounts-title",onClose:e},k("connectMoreAccounts")),o.default.createElement(r.ModalBody,null,o.default.createElement(r.Box,{padding:4,display:l.Display.Flex,justifyContent:l.JustifyContent.spaceBetween},o.default.createElement(r.Checkbox,{label:k("selectAll"),isChecked:h,onClick:()=>t()?n():p(),isIndeterminate:y}),o.default.createElement(r.Text,{color:l.TextColor.textAlternative,as:"div",display:l.Display.Flex},o.default.createElement(c.default,{distance:10,html:k("connectedAccountsListTooltip",[o.default.createElement("strong",null,(0,u.getURLHost)(v))]),position:"top"},o.default.createElement(r.Icon,{marginInlineEnd:2,name:r.IconName.Info,color:l.IconColor.iconMuted})),k("permissions"))),g.map((t=>{const n=f.includes(t.address);return o.default.createElement(s.AccountListItem,{onClick:()=>m(t.address),account:t,key:t.address,closeMenu:e,startAccessory:o.default.createElement(r.Checkbox,{isChecked:n})})}))),o.default.createElement(r.ModalFooter,null,o.default.createElement(r.ButtonPrimary,{"data-testid":"connect-more-accounts-button",onClick:()=>{x((0,d.addMorePermittedAccounts)(v,f)),e(),b()},size:r.ButtonPrimarySize.Lg,block:!0,disabled:0===f.length},k("confirm")))))}}}},{package:"$root$",file:"ui/components/multichain/connect-accounts-modal/connect-accounts-modal-list.tsx"}],[5064,{"../../../selectors/selectors":5994,"./connect-accounts-modal-list":5063,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.ConnectAccountsModal=void 0;var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=s(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}(e("react")),a=e("react-redux"),r=e("../../../selectors/selectors"),i=e("./connect-accounts-modal-list");function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(s=function(e){return e?n:t})(e)}n.ConnectAccountsModal=({onClose:e,onAccountsUpdate:t,activeTabOrigin:n})=>{const s=(0,a.useSelector)((e=>(0,r.getUnconnectedAccounts)(e,n))),[l,c]=(0,o.useState)([]),u=()=>s.length===l.length;let d=!1,p=!1;return u()?(d=!0,p=!1):l.length>0&&!u()&&(d=!1,p=!0),o.default.createElement(i.ConnectAccountsModalList,{accounts:s,selectedAccounts:l,allAreSelected:u,deselectAll:()=>{c([])},selectAll:()=>{const e=s.map((e=>e.address));c(e)},handleAccountClick:e=>{const t=l.indexOf(e);let n=[];n=-1===t?[...l,e]:l.filter(((e,n)=>n!==t)),c(n)},checked:d,isIndeterminate:p,onClose:e,onAccountsUpdate:t,activeTabOrigin:n})}}}},{package:"$root$",file:"ui/components/multichain/connect-accounts-modal/connect-accounts-modal.tsx"}],[5065,{"../../../helpers/constants/design-system":5355,"../../../hooks/useI18nContext":5427,"../../../selectors":5987,"../../../store/actions":5998,"../../component-library":4955,"../../ui/menu":5264,"../permission-details-modal/permission-details-modal":5175,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.ConnectedAccountsMenu=void 0;var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=p(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}(e("react")),a=e("react-redux"),r=e("../../component-library"),i=e("../../ui/menu"),s=e("../../../helpers/constants/design-system"),l=e("../../../hooks/useI18nContext"),c=e("../../../store/actions"),u=e("../../../selectors"),d=e("../permission-details-modal/permission-details-modal");function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(p=function(e){return e?n:t})(e)}const m=i.MenuItem;n.ConnectedAccountsMenu=({isOpen:e,account:t,anchorElement:n,disableAccountSwitcher:i=!1,onClose:p,closeMenu:f,onActionClick:g,activeTabOrigin:h})=>{const y=(0,a.useDispatch)(),b=(0,l.useI18nContext)(),v=(0,o.useRef)(null),[k,x]=(0,o.useState)(!1),T=(0,a.useSelector)(u.getPermissionsForActiveTab),C=(0,o.useCallback)((e=>{null!=v&&v.current&&!v.current.contains(e.target)&&p()}),[p]);(0,o.useEffect)((()=>(document.addEventListener("mousedown",C),()=>{document.removeEventListener("mousedown",C)})),[C]);const w=(0,o.useCallback)((e=>{var t;"Tab"===e.key&&null!=v&&null!==(t=v.current)&&void 0!==t&&t.contains(e.target)&&p&&p()}),[p]);return o.default.createElement(o.default.Fragment,null,o.default.createElement(r.Popover,{className:"multichain-connected-accounts-menu__popover",referenceElement:n,role:r.PopoverRole.Dialog,position:r.PopoverPosition.Bottom,offset:[0,0],padding:0,isOpen:e,flip:!0,preventOverflow:!0,isPortal:!0},o.default.createElement(r.ModalFocus,{restoreFocus:!0,initialFocusRef:{current:n}},o.default.createElement(r.Box,{onKeyDown:w,ref:v},null!=T&&T.length?o.default.createElement(m,{iconName:r.IconName.SecurityTick,"data-testid":"permission-details-menu-item",onClick:()=>{x(!0),p()}},o.default.createElement(r.Text,{variant:s.TextVariant.bodyMd},b("permissionDetails"))):null,i?null:o.default.createElement(m,{iconName:r.IconName.SwapHorizontal,"data-testid":"switch-account-menu-item",onClick:()=>{y((0,c.setSelectedAccount)(t.address)),p(),f()}},o.default.createElement(r.Text,{variant:s.TextVariant.bodyMd},b("switchToThisAccount"))),o.default.createElement(m,{iconName:r.IconName.Logout,iconColor:s.IconColor.errorDefault,"data-testid":"disconnect-menu-item",onClick:()=>{g(t.metadata.name),y((0,c.removePermittedAccount)(h,t.address))}},o.default.createElement(r.Text,{color:s.TextColor.errorDefault,variant:s.TextVariant.bodyMd},b("disconnect")))))),k?o.default.createElement(d.PermissionDetailsModal,{isOpen:k,account:t,onClick:()=>{y((0,c.removePermittedAccount)(h,t.address))},onClose:()=>x(!1),permissions:T}):null)}}}},{package:"$root$",file:"ui/components/multichain/connected-accounts-menu/connected-accounts-menu.tsx"}],[5066,{"./connected-accounts-menu":5065},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"ConnectedAccountsMenu",{enumerable:!0,get:function(){return o.ConnectedAccountsMenu}});var o=e("./connected-accounts-menu")}}},{package:"$root$",file:"ui/components/multichain/connected-accounts-menu/hybrid-compute-sdk.ts"}],[5067,{"../../../helpers/constants/connected-sites":5354,"../../../helpers/constants/design-system":5355,"../../../hooks/useI18nContext":5427,"../../../selectors":5987,"../../component-library":4955,"../../ui/tooltip":5310,classnames:3049,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.ConnectedSiteMenu=void 0;var o=m(e("react")),a=m(e("prop-types")),r=m(e("classnames")),i=e("react-redux"),s=e("../../../helpers/constants/connected-sites"),l=e("../../../helpers/constants/design-system"),c=e("../../component-library"),u=e("../../../selectors"),d=m(e("../../ui/tooltip")),p=e("../../../hooks/useI18nContext");function m(e){return e&&e.__esModule?e:{default:e}}const f=({className:e,globalMenuColor:t,status:n,text:a,onClick:m})=>{const f=(0,p.useI18nContext)(),g=(0,i.useSelector)(u.getSelectedInternalAccount),h=(0,i.useSelector)(u.getSubjectMetadata)[(0,i.useSelector)(u.getOriginOfCurrentTab)],y=n===s.STATUS_CONNECTED_TO_ANOTHER_ACCOUNT||n===s.STATUS_CONNECTED_TO_SNAP;return o.default.createElement(c.Box,{className:(0,r.default)("multichain-connected-site-menu",e),"data-testid":"connection-menu",as:"button",onClick:m,display:l.Display.Flex,alignItems:l.AlignItems.center,justifyContent:l.JustifyContent.center,backgroundColor:l.BackgroundColor.backgroundDefault},o.default.createElement(d.default,{title:n===s.STATUS_NOT_CONNECTED?f("statusNotConnectedAccount"):`${null==g?void 0:g.metadata.name} ${a}`,"data-testid":"multichain-connected-site-menu__tooltip",position:"bottom"},o.default.createElement(c.BadgeWrapper,{positionObj:y?{bottom:-1,right:-2,zIndex:1}:{bottom:-1,right:-4,zIndex:1},badge:o.default.createElement(c.Box,{backgroundColor:t,className:(0,r.default)("multichain-connected-site-menu__badge",{"not-connected":y}),borderRadius:l.BorderRadius.full,borderColor:y?l.BorderColor.successDefault:l.BackgroundColor.backgroundDefault,borderWidth:y?2:3})},null!=h&&h.iconUrl?o.default.createElement(c.AvatarFavicon,{name:h.name,size:l.Size.SM,src:h.iconUrl}):o.default.createElement(c.Icon,{name:c.IconName.Global,size:c.IconSize.Sm,color:l.IconColor.iconDefault}))))};n.ConnectedSiteMenu=f,f.propTypes={className:a.default.string,globalMenuColor:a.default.string.isRequired,status:a.default.string.isRequired,text:a.default.string,onClick:a.default.func}}}},{package:"$root$",file:"ui/components/multichain/connected-site-menu/connected-site-menu.js"}],[5068,{"./connected-site-menu":5067},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"ConnectedSiteMenu",{enumerable:!0,get:function(){return o.ConnectedSiteMenu}});var o=e("./connected-site-menu")}}},{package:"$root$",file:"ui/components/multichain/connected-site-menu/index.js"}],[5069,{"../../../helpers/constants/connected-sites":5354,"../../../helpers/constants/design-system":5355,"../../../hooks/useI18nContext":5427,"../../../selectors":5987,"../badge-status":5062,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.ConnectedStatus=void 0;var o,a=(o=e("react"))&&o.__esModule?o:{default:o},r=e("react-redux"),i=e("../../../helpers/constants/design-system"),s=e("../../../selectors"),l=e("../../../helpers/constants/connected-sites"),c=e("../../../hooks/useI18nContext"),u=e("../badge-status");n.ConnectedStatus=({address:e="",isActive:t})=>{const n=(0,c.useI18nContext)(),o=(0,r.useSelector)((t=>(0,s.isAccountConnectedToCurrentTab)(t,e)));let d=l.STATUS_NOT_CONNECTED;t?d=l.STATUS_CONNECTED:o&&(d=l.STATUS_CONNECTED_TO_ANOTHER_ACCOUNT);let p=i.BackgroundColor.backgroundDefault,m=i.Color.borderMuted,f=n("statusNotConnected");d===l.STATUS_CONNECTED?(p=i.BackgroundColor.backgroundDefault,m=i.BackgroundColor.successDefault,f=n("active")):d===l.STATUS_CONNECTED_TO_ANOTHER_ACCOUNT&&(p=i.BorderColor.successDefault,m=i.BackgroundColor.backgroundDefault,f=n("tooltipSatusConnectedUpperCase"));const g=o&&!t;return a.default.createElement(u.BadgeStatus,{address:e,badgeBackgroundColor:m,badgeBorderColor:p,text:f,isConnectedAndNotActive:g})}}}},{package:"$root$",file:"ui/components/multichain/connected-status/connected-status.tsx"}],[5070,{"./connected-status":5069},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"ConnectedStatus",{enumerable:!0,get:function(){return o.ConnectedStatus}});var o=e("./connected-status")}}},{package:"$root$",file:"ui/components/multichain/connected-status/hybrid-compute-sdk.ts"}],[5071,{"../../../../shared/constants/metametrics":4505,"../../../contexts/metametrics":5327,"../../../ducks/history/history":5343,"../../../helpers/constants/design-system":5355,"../../../helpers/utils/accounts":5378,"../../../hooks/useI18nContext":5427,"../../../selectors":5987,"../../component-library":4955,"../../component-library/form-text-field/form-text-field":4944,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.CreateAccount=void 0;var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=g(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}(e("react")),a=e("react-redux"),r=e("react-router-dom"),i=e("../../component-library"),s=e("../../component-library/form-text-field/form-text-field"),l=e("../../../hooks/useI18nContext"),c=e("../../../helpers/utils/accounts"),u=e("../../../selectors"),d=e("../../../ducks/history/history"),p=e("../../../../shared/constants/metametrics"),m=e("../../../contexts/metametrics"),f=e("../../../helpers/constants/design-system");function g(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(g=function(e){return e?n:t})(e)}n.CreateAccount=o.default.memo(o.default.forwardRef((({getNextAvailableAccountName:e,onCreateAccount:t,onActionComplete:n},g)=>{const h=(0,l.useI18nContext)(),y=(0,r.useHistory)(),b=(0,o.useContext)(m.MetaMetricsContext),v=(0,a.useSelector)(d.getMostRecentOverviewPage),k=(0,a.useSelector)(u.getMetaMaskAccountsOrdered),[x,T]=(0,o.useState)("");(0,o.useEffect)((()=>{e(k).then(T)}),[]);const[C,w]=(0,o.useState)(""),_=C.trim(),{isValidAccountName:E,errorMessage:M}=(0,c.getAccountNameErrorMessage)(k,{t:h},_||x,x),S=(0,o.useCallback)((async e=>{e.preventDefault();try{await t(_||x),b({category:p.MetaMetricsEventCategory.Accounts,event:p.MetaMetricsEventName.AccountAdded,properties:{account_type:p.MetaMetricsEventAccountType.Default,location:"Home"}}),y.push(v)}catch(e){b({category:p.MetaMetricsEventCategory.Accounts,event:p.MetaMetricsEventName.AccountAddFailed,properties:{account_type:p.MetaMetricsEventAccountType.Default,error:e.message}})}}),[_,x,v]);return o.default.createElement(i.Box,{as:"form",onSubmit:S},o.default.createElement(s.FormTextField,{ref:g,autoFocus:!0,id:"account-name",label:h("accountName"),placeholder:x,onChange:e=>w(e.target.value),helpText:M,error:!E,onKeyPress:e=>{"Enter"===e.key&&S(e)}}),o.default.createElement(i.Box,{display:f.Display.Flex,marginTop:6,gap:2},o.default.createElement(i.ButtonSecondary,{onClick:async()=>n(!1),block:!0},h("cancel")),o.default.createElement(i.ButtonPrimary,{type:"submit",disabled:!E,block:!0},h("create"))))})))}}},{package:"$root$",file:"ui/components/multichain/create-account/create-account.tsx"}],[5072,{"./create-account":5071},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"CreateAccount",{enumerable:!0,get:function(){return o.CreateAccount}});var o=e("./create-account")}}},{package:"$root$",file:"ui/components/multichain/create-account/index.js"}],[5073,{"..":5092,"../../../store/actions":5998,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.CreateEthAccount=void 0;var o=l(e("react")),a=l(e("prop-types")),r=e("react-redux"),i=e("../../../store/actions"),s=e("..");function l(e){return e&&e.__esModule?e:{default:e}}const c=({onActionComplete:e})=>{const t=(0,r.useDispatch)();return o.default.createElement(s.CreateAccount,{onActionComplete:e,onCreateAccount:async n=>{const o=await t((0,i.addNewAccount)());n&&t((0,i.setAccountLabel)(o,n)),e(!0)},getNextAvailableAccountName:async()=>await(0,i.getNextAvailableAccountName)()})};n.CreateEthAccount=c,c.propTypes={onActionComplete:a.default.func.isRequired}}}},{package:"$root$",file:"ui/components/multichain/create-eth-account/create-eth-account.js"}],[5074,{"./create-eth-account":5073},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"CreateEthAccount",{enumerable:!0,get:function(){return o.CreateEthAccount}});var o=e("./create-eth-account")}}},{package:"$root$",file:"ui/components/multichain/create-eth-account/index.js"}],[5075,{"../../../../shared/constants/metametrics":4505,"../../../contexts/metametrics":5327,"../../../hooks/useI18nContext":5427,"../../../selectors":5987,"../../component-library":4955,classnames:3049,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.DetectedTokensBanner=void 0;var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=m(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}(e("react")),a=e("react-redux"),r=p(e("prop-types")),i=p(e("classnames")),s=e("../../../hooks/useI18nContext"),l=e("../../../selectors"),c=e("../../../contexts/metametrics"),u=e("../../../../shared/constants/metametrics"),d=e("../../component-library");function p(e){return e&&e.__esModule?e:{default:e}}function m(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(m=function(e){return e?n:t})(e)}function f(){return f=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const r=(0,s.useI18nContext)(),p=(0,o.useContext)(c.MetaMetricsContext),m=(0,a.useSelector)(l.getDetectedTokensInCurrentNetwork),g=m.map((({address:e,symbol:t})=>`${t} - ${e}`)),h=(0,a.useSelector)(l.getCurrentChainId);return o.default.createElement(d.BannerAlert,f({className:(0,i.default)("multichain-detected-token-banner",e),actionButtonLabel:r("importTokensCamelCase"),actionButtonOnClick:()=>{t(),p({event:u.MetaMetricsEventName.TokenImportClicked,category:u.MetaMetricsEventCategory.Wallet,properties:{source_connection_method:u.MetaMetricsTokenEventSource.Detected,tokens:g,chain_id:h}})},"data-testid":"detected-token-banner"},n),1===m.length?r("numberOfNewTokensDetectedSingular"):r("numberOfNewTokensDetectedPlural",[m.length]))};n.DetectedTokensBanner=g,g.propTypes={actionButtonOnClick:r.default.func.isRequired,className:r.default.string}}}},{package:"$root$",file:"ui/components/multichain/detected-token-banner/detected-token-banner.js"}],[5076,{"./detected-token-banner":5075},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"DetectedTokensBanner",{enumerable:!0,get:function(){return o.DetectedTokensBanner}});var o=e("./detected-token-banner")}}},{package:"$root$",file:"ui/components/multichain/detected-token-banner/index.js"}],[5077,{"../../../hooks/useI18nContext":5427,"../../component-library":4955,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.DisconnectType=n.DisconnectAllModal=void 0;var o,a=(o=e("react"))&&o.__esModule?o:{default:o},r=e("../../component-library"),i=e("../../../hooks/useI18nContext");n.DisconnectType=function(e){return e.Account="disconnectAllAccountsText",e.Snap="disconnectAllSnapsText",e}({});n.DisconnectAllModal=({type:e,hostname:t,onClick:n,onClose:o})=>{const s=(0,i.useI18nContext)();return a.default.createElement(r.Modal,{isOpen:!0,onClose:o,"data-testid":"disconnect-all-modal"},a.default.createElement(r.ModalOverlay,null),a.default.createElement(r.ModalContent,null,a.default.createElement(r.ModalHeader,{onClose:o},s("disconnectAllTitle",[s(e)])),a.default.createElement(r.ModalBody,null,a.default.createElement(r.Text,null,s("disconnectAllText",[s(e),t]))),a.default.createElement(r.ModalFooter,null,a.default.createElement(r.Button,{onClick:n,startIconName:r.IconName.Logout,block:!0,danger:!0,"data-testid":"disconnect-all"},s("disconnect")))))}}}},{package:"$root$",file:"ui/components/multichain/disconnect-all-modal/disconnect-all-modal.tsx"}],[5078,{"..":5092,"../../../../app/scripts/lib/util":120,"../../../../shared/constants/app":4493,"../../../../shared/constants/metametrics":4505,"../../../../shared/lib/ui-utils":4532,"../../../contexts/metametrics":5327,"../../../helpers/constants/common":5353,"../../../helpers/constants/design-system":5355,"../../../helpers/constants/routes":5361,"../../../hooks/metamask-notifications/useCounter":5404,"../../../hooks/useI18nContext":5427,"../../../pages/notifications/NewFeatureTag":5768,"../../../selectors":5987,"../../../selectors/metamask-notifications/metamask-notifications":5989,"../../../selectors/metamask-notifications/profile-syncing":5990,"../../../store/actions":5998,"../../component-library":4955,"../../ui/menu":5264,"../notifications-tag-counter":5140,"prop-types":3997,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.GlobalMenu=void 0;var o,a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=M(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}(e("react")),r=(o=e("prop-types"))&&o.__esModule?o:{default:o},i=e("react-router-dom"),s=e("react-redux"),l=e("../../../hooks/metamask-notifications/useCounter"),c=e("../notifications-tag-counter"),u=e("../../../pages/notifications/NewFeatureTag"),d=e("../../../helpers/constants/routes"),p=e("../../../store/actions"),m=e("../../../hooks/useI18nContext"),f=e("../../../selectors/metamask-notifications/metamask-notifications"),g=e("../../../selectors/metamask-notifications/profile-syncing"),h=e("../../component-library"),y=e("../../ui/menu"),b=e("../../../../app/scripts/lib/util"),v=e("../../../../shared/constants/app"),k=e("../../../../shared/lib/ui-utils"),x=e("../../../helpers/constants/common"),T=e("../../../contexts/metametrics"),C=e("../../../../shared/constants/metametrics"),w=e("../../../selectors"),_=e("../../../helpers/constants/design-system"),E=e("..");function M(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(M=function(e){return e?n:t})(e)}const S="Global Menu",O=({closeMenu:e,anchorElement:t,isOpen:n})=>{const o=(0,m.useI18nContext)(),r=(0,s.useDispatch)(),M=(0,a.useContext)(T.MetaMetricsContext),O=(0,s.useSelector)(w.getUseExternalServices),A=(0,i.useHistory)(),{notificationsCount:N}=(0,l.useCounter)(),I=(0,s.useSelector)(w.getSelectedInternalAccount),P=(0,s.useSelector)(w.getUnapprovedTransactions),j=(0,s.useSelector)(f.selectIsMetamaskNotificationsFeatureSeen),B=(0,s.useSelector)(f.selectIsMetamaskNotificationsEnabled),D=(0,s.useSelector)(g.selectIsProfileSyncingEnabled),F=Object.keys(P).length>0;let L=!1;const R=(0,s.useSelector)(w.getAnySnapUpdateAvailable);L=(0,s.useSelector)(w.getNotifySnaps).length>0;let $=o("support"),z=k.SUPPORT_LINK;$=o("needHelpSubmitTicket"),z=x.SUPPORT_REQUEST_LINK;const W=a.default.useRef(null);a.default.useEffect((()=>{const t=W.current,n=t=>{"Tab"!==t.key||t.shiftKey||(t.preventDefault(),e())};return t&&t.addEventListener("keydown",n),()=>{t&&t.removeEventListener("keydown",n)}}),[e]);return a.default.createElement(h.Popover,{referenceElement:t,isOpen:n,padding:0,onClickOutside:e,onPressEscKey:e,style:{overflow:"hidden",minWidth:225},borderStyle:_.BorderStyle.none,position:h.PopoverPosition.BottomEnd},O&&a.default.createElement(a.default.Fragment,null,a.default.createElement(y.MenuItem,{iconName:h.IconName.Notification,onClick:()=>(()=>{if(!L&&!B)return M({category:C.MetaMetricsEventCategory.EnableNotifications,event:C.MetaMetricsEventName.StartEnablingNotificationsFlow,properties:{isProfileSyncingEnabled:D,isMetamaskNotificationsEnabled:B}}),r((0,p.showConfirmTurnOnMetamaskNotifications)()),void e();M({category:C.MetaMetricsEventCategory.NotificationInteraction,event:C.MetaMetricsEventName.NotificationPageOpened,properties:{isProfileSyncingEnabled:D,isMetamaskNotificationsEnabled:B}}),A.push(d.NOTIFICATIONS_ROUTE),e()})()},a.default.createElement(h.Box,{display:_.Display.Flex,flexDirection:_.FlexDirection.Row,alignItems:_.AlignItems.center,justifyContent:_.JustifyContent.spaceBetween},o("notifications"),0===N&&!j&&a.default.createElement(u.NewFeatureTag,null),a.default.createElement(c.NotificationsTagCounter,null))),a.default.createElement(h.Box,{borderColor:_.BorderColor.borderMuted,width:_.BlockSize.Full,style:{height:"1px",borderBottomWidth:0}})),I&&a.default.createElement(a.default.Fragment,null,a.default.createElement(E.AccountDetailsMenuItem,{metricsLocation:S,closeMenu:e,address:I.address}),a.default.createElement(E.ViewExplorerMenuItem,{metricsLocation:S,closeMenu:e,address:I.address})),a.default.createElement(h.Box,{borderColor:_.BorderColor.borderMuted,width:_.BlockSize.Full,style:{height:"1px",borderBottomWidth:0}}),a.default.createElement(y.MenuItem,{iconName:h.IconName.SecurityTick,onClick:()=>{A.push(d.PERMISSIONS),M({event:C.MetaMetricsEventName.NavPermissionsOpened,category:C.MetaMetricsEventCategory.Navigation,properties:{location:S}}),e()},"data-testid":"global-menu-connected-sites",disabled:F},o("allPermissions")),(0,b.getEnvironmentType)()===v.ENVIRONMENT_TYPE_FULLSCREEN?null:a.default.createElement(y.MenuItem,{iconName:h.IconName.Expand,onClick:()=>{global.platform.openExtensionInBrowser(),M({event:C.MetaMetricsEventName.AppWindowExpanded,category:C.MetaMetricsEventCategory.Navigation,properties:{location:S}}),e()},"data-testid":"global-menu-expand"},o("expandView")),a.default.createElement(y.MenuItem,{iconName:h.IconName.Snaps,onClick:()=>{A.push(d.SNAPS_ROUTE),e()},showInfoDot:R},o("snaps")),a.default.createElement(y.MenuItem,{iconName:h.IconName.MessageQuestion,onClick:()=>{global.platform.openTab({url:z}),M({category:C.MetaMetricsEventCategory.Home,event:C.MetaMetricsEventName.SupportLinkClicked,properties:{url:z,location:S}},{contextPropsIntoEventProperties:[C.MetaMetricsContextProp.PageTitle]}),e()},"data-testid":"global-menu-support"},$),a.default.createElement(y.MenuItem,{iconName:h.IconName.Setting,disabled:F,onClick:()=>{A.push(d.SETTINGS_ROUTE),M({category:C.MetaMetricsEventCategory.Navigation,event:C.MetaMetricsEventName.NavSettingsOpened,properties:{location:S}}),e()},"data-testid":"global-menu-settings"},o("settings")),a.default.createElement(y.MenuItem,{ref:W,iconName:h.IconName.Lock,onClick:()=>{r((0,p.lockMetamask)()),A.push(d.DEFAULT_ROUTE),M({category:C.MetaMetricsEventCategory.Navigation,event:C.MetaMetricsEventName.AppLocked,properties:{location:S}}),e()},"data-testid":"global-menu-lock"},o("lockMetaMask")))};n.GlobalMenu=O,O.propTypes={anchorElement:r.default.instanceOf(window.Element),closeMenu:r.default.func.isRequired,isOpen:r.default.bool.isRequired}}}},{package:"$root$",file:"ui/components/multichain/global-menu/global-menu.js"}],[5079,{"./global-menu":5078},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"GlobalMenu",{enumerable:!0,get:function(){return o.GlobalMenu}});var o=e("./global-menu")}}},{package:"$root$",file:"ui/components/multichain/global-menu/index.js"}],[5080,{"../../../helpers/constants/design-system":5355,"../../../hooks/useI18nContext":5427,"../../../store/actions":5998,"../../component-library":4955,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=p;var o=d(e("prop-types")),a=d(e("react")),r=e("react-redux"),i=e("../../component-library"),s=e("../../../helpers/constants/design-system"),l=e("../../../hooks/useI18nContext"),c=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=u(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}(e("../../../store/actions"));function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(u=function(e){return e?n:t})(e)}function d(e){return e&&e.__esModule?e:{default:e}}function p({importAccountFunc:e,isPrimaryDisabled:t,onActionComplete:n}){const o=(0,l.useI18nContext)(),u=(0,r.useDispatch)();return a.default.createElement(i.Box,{display:s.Display.Flex,gap:4},a.default.createElement(i.ButtonSecondary,{onClick:()=>{u(c.hideWarning()),n()},size:i.ButtonSecondarySize.Lg,block:!0},o("cancel")),a.default.createElement(i.ButtonPrimary,{onClick:async()=>{try{await e()&&n(!0)}catch(e){}},disabled:t,size:i.ButtonSecondarySize.Lg,"data-testid":"import-account-confirm-button",block:!0},o("import")))}p.propTypes={importAccountFunc:o.default.func.isRequired,isPrimaryDisabled:o.default.bool.isRequired,onActionComplete:o.default.func.isRequired}}}},{package:"$root$",file:"ui/components/multichain/import-account/bottom-buttons.js"}],[5081,{"../../../../shared/constants/metametrics":4505,"../../../contexts/metametrics":5327,"../../../helpers/constants/design-system":5355,"../../../helpers/constants/zendesk-url":5368,"../../../hooks/useI18nContext":5427,"../../../store/actions":5998,"../../component-library":4955,"../../ui/dropdown":5218,"./json":5083,"./private-key":5084,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.ImportAccount=void 0;var o=b(e("react")),a=h(e("prop-types")),r=e("react-redux"),i=e("../../../../shared/constants/metametrics"),s=e("../../component-library"),l=h(e("../../ui/dropdown")),c=e("../../../contexts/metametrics"),u=e("../../../helpers/constants/design-system"),d=h(e("../../../helpers/constants/zendesk-url")),p=e("../../../hooks/useI18nContext"),m=b(e("../../../store/actions")),f=h(e("./json")),g=h(e("./private-key"));function h(e){return e&&e.__esModule?e:{default:e}}function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(y=function(e){return e?n:t})(e)}function b(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=y(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}const v=({onActionComplete:e})=>{const t=(0,p.useI18nContext)(),n=(0,r.useDispatch)(),a=(0,o.useContext)(c.MetaMetricsContext),h=[t("privateKey"),t("jsonFile")],[y,b]=(0,o.useState)(h[0]);async function v(a,r){const i=function(e){if("json"===e)return o.default.createElement(o.default.Fragment,null,o.default.createElement(s.Text,{width:u.BlockSize.ThreeFourths,fontWeight:u.FontWeight.Bold},t("importAccountJsonLoading1")),o.default.createElement(s.Text,{width:u.BlockSize.ThreeFourths,fontWeight:u.FontWeight.Bold},t("importAccountJsonLoading2")));return""}(a);try{const{selectedAddress:o}=await n(m.importNewAccount(a,r,i));if(!o)return n(m.displayWarning(t("importAccountError"))),!1;k(a,!0),n(m.hideWarning()),e(!0)}catch(e){return k(a,e.message),(l=e.message)&&!l.startsWith("t(")?n(m.displayWarning(l)):n(m.displayWarning(t(l.slice(3,-2)))),!1}var l;return!0}function k(e,t){const n="Private Key"===e?i.MetaMetricsEventAccountImportType.PrivateKey:i.MetaMetricsEventAccountImportType.Json,o=t?i.MetaMetricsEventName.AccountAdded:i.MetaMetricsEventName.AccountAddFailed;a({category:i.MetaMetricsEventCategory.Accounts,event:o,properties:{account_type:i.MetaMetricsEventAccountType.Imported,account_import_type:n}})}return o.default.createElement(o.default.Fragment,null,o.default.createElement(s.Text,{variant:u.TextVariant.bodySm,marginTop:2},t("importAccountMsg")," ",o.default.createElement(s.ButtonLink,{size:u.Size.inherit,href:d.default.IMPORTED_ACCOUNTS,target:"_blank",rel:"noopener noreferrer"},t("here"))),o.default.createElement(s.Box,{paddingTop:4,paddingBottom:8},o.default.createElement(s.Label,{width:u.BlockSize.Full,marginBottom:4,justifyContent:u.JustifyContent.spaceBetween},t("selectType"),o.default.createElement(l.default,{options:h.map((e=>({value:e}))),selectedOption:y,onChange:e=>{n(m.hideWarning()),b(e)}})),y===h[0]?o.default.createElement(g.default,{importAccountFunc:v,onActionComplete:e}):o.default.createElement(f.default,{importAccountFunc:v,onActionComplete:e})))};n.ImportAccount=v,v.propTypes={onActionComplete:a.default.func.isRequired}}}},{package:"$root$",file:"ui/components/multichain/import-account/import-account.js"}],[5082,{"./import-account":5081},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"ImportAccount",{enumerable:!0,get:function(){return o.ImportAccount}});var o=e("./import-account")}}},{package:"$root$",file:"ui/components/multichain/import-account/index.js"}],[5083,{"../../../helpers/constants/design-system":5355,"../../../helpers/constants/zendesk-url":5368,"../../../hooks/useI18nContext":5427,"../../../store/actions":5998,"../../component-library":4955,"../../component-library/form-text-field/deprecated":4943,"./bottom-buttons":5080,"prop-types":3997,react:4243,"react-redux":4199,"react-simple-file-input":4238},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=h;var o=g(e("prop-types")),a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}(e("react")),r=e("react-redux"),i=g(e("react-simple-file-input")),s=e("../../component-library"),l=e("../../../helpers/constants/design-system"),c=e("../../component-library/form-text-field/deprecated"),u=g(e("../../../helpers/constants/zendesk-url")),d=e("../../../hooks/useI18nContext"),p=e("../../../store/actions"),m=g(e("./bottom-buttons"));function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}function g(e){return e&&e.__esModule?e:{default:e}}function h({importAccountFunc:e,onActionComplete:t}){const n=(0,d.useI18nContext)(),o=(0,r.useSelector)((e=>e.appState.warning)),[f,g]=(0,a.useState)(""),[h,y]=(0,a.useState)(""),b=""===h;function v(){b?(0,p.displayWarning)(n("needImportFile")):e("json",[h,f])}return a.default.createElement(a.default.Fragment,null,a.default.createElement(s.Text,{variant:l.TextVariant.bodyMd,textAlign:l.TextAlign.Center},n("usedByClients"),a.default.createElement(s.ButtonLink,{size:l.Size.inherit,href:u.default.IMPORTED_ACCOUNTS,target:"_blank",rel:"noopener noreferrer"},n("fileImportFail"))),a.default.createElement(i.default,{id:"file-input","data-testid":"file-input",readAs:"text",onLoad:e=>y(e.target.result),style:{padding:"20px 0px 12px 15%",fontSize:"16px",display:"flex",justifyContent:"center",width:"100%"}}),a.default.createElement(c.FormTextField,{id:"json-password-box",size:s.TextFieldSize.Lg,autoFocus:!0,type:s.TextFieldType.Password,helpText:o,error:!0,placeholder:n("enterOptionalPassword"),value:f,onChange:e=>{g(e.target.value)},inputProps:{onKeyPress:function(e){b||"Enter"!==e.key||(e.preventDefault(),v())}},marginBottom:4}),a.default.createElement(m.default,{importAccountFunc:v,isPrimaryDisabled:b,onActionComplete:t}))}h.propTypes={importAccountFunc:o.default.func.isRequired,onActionComplete:o.default.func.isRequired}}}},{package:"$root$",file:"ui/components/multichain/import-account/json.js"}],[5084,{"../../../hooks/useI18nContext":5427,"../../component-library":4955,"../../ui/show-hide-toggle":5290,"./bottom-buttons":5080,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=p;var o=d(e("prop-types")),a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=u(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}(e("react")),r=e("react-redux"),i=e("../../component-library"),s=e("../../../hooks/useI18nContext"),l=d(e("../../ui/show-hide-toggle")),c=d(e("./bottom-buttons"));function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(u=function(e){return e?n:t})(e)}function d(e){return e&&e.__esModule?e:{default:e}}function p({importAccountFunc:e,onActionComplete:t}){const n=(0,s.useI18nContext)(),[o,u]=(0,a.useState)(""),[d,p]=(0,a.useState)(!1),m=(0,r.useSelector)((e=>e.appState.warning));function f(){e("privateKey",[o])}return a.default.createElement(a.default.Fragment,null,a.default.createElement(i.FormTextField,{id:"private-key-box",size:i.TextFieldSize.Lg,autoFocus:!0,helpText:m,error:!0,label:n("pastePrivateKey"),value:o,onChange:e=>u(e.target.value),inputProps:{onKeyPress:function(e){""!==o&&"Enter"===e.key&&(e.preventDefault(),f())}},marginBottom:4,type:d?i.TextFieldType.Text:i.TextFieldType.Password,textFieldProps:{endAccessory:a.default.createElement(l.default,{shown:d,id:"show-hide-private-key",title:n("privateKeyShow"),ariaLabelShown:n("privateKeyShown"),ariaLabelHidden:n("privateKeyHidden"),onChange:()=>p(!d)})}}),a.default.createElement(c.default,{importAccountFunc:f,isPrimaryDisabled:""===o,onActionComplete:t}))}p.propTypes={importAccountFunc:o.default.func.isRequired,onActionComplete:o.default.func.isRequired}}}},{package:"$root$",file:"ui/components/multichain/import-account/private-key.js"}],[5085,{"../../../../shared/constants/metametrics":4505,"../../../../shared/constants/transaction":4520,"../../../contexts/metametrics":5327,"../../../ducks/metamask/metamask":5346,"../../../helpers/constants/design-system":5355,"../../../helpers/constants/routes":5361,"../../../helpers/utils/util":5399,"../../../hooks/useI18nContext":5427,"../../../hooks/useNftsCollections":5432,"../../../selectors":5987,"../../../store/actions":5998,"../../app/nfts-detection-notice-import-nfts/nfts-detection-notice-import-nfts":4720,"../../component-library":4955,"../../component-library/form-text-field/deprecated":4943,"../../component-library/modal-content/deprecated":4963,"../../component-library/modal-header/deprecated":4972,"../../ui/tooltip":5310,"@metamask/controller-utils":1163,"prop-types":3997,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.ImportNftsModal=void 0;var o=e("@metamask/controller-utils"),a=E(e("prop-types")),r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=_(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}(e("react")),i=e("react-redux"),s=e("react-router-dom"),l=e("../../../../shared/constants/metametrics"),c=e("../../../../shared/constants/transaction"),u=e("../../../contexts/metametrics"),d=e("../../../ducks/metamask/metamask"),p=e("../../../helpers/constants/design-system"),m=e("../../../helpers/constants/routes"),f=e("../../../hooks/useI18nContext"),g=e("../../../selectors"),h=e("../../../store/actions"),y=E(e("../../app/nfts-detection-notice-import-nfts/nfts-detection-notice-import-nfts")),b=e("../../component-library"),v=e("../../component-library/form-text-field/deprecated"),k=e("../../component-library/modal-content/deprecated"),x=e("../../component-library/modal-header/deprecated"),T=E(e("../../ui/tooltip")),C=e("../../../hooks/useNftsCollections"),w=e("../../../helpers/utils/util");function _(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(_=function(e){return e?n:t})(e)}function E(e){return e&&e.__esModule?e:{default:e}}const M=({onClose:e})=>{const t=(0,f.useI18nContext)(),n=(0,s.useHistory)(),a=(0,i.useDispatch)(),_=(0,i.useSelector)(g.getOpenSeaEnabled),E=(0,i.useSelector)(g.getIsMainnet),M=(0,i.useSelector)(d.getNftsDropdownState),S=(0,i.useSelector)(g.getSelectedInternalAccount),O=(0,i.useSelector)(g.getCurrentChainId),{tokenAddress:A,tokenId:N,ignoreErc20Token:I}=(0,i.useSelector)((e=>e.appState.importNftsModal)),P=(0,C.useNftsCollections)(),[j,B]=(0,r.useState)(A??""),[D,F]=(0,r.useState)(N??""),[L,R]=(0,r.useState)(!0),[$,z]=(0,r.useState)(!1),W=(0,r.useContext)(u.MetaMetricsContext),[U,V]=(0,r.useState)(null),[H,G]=(0,r.useState)(null);return r.default.createElement(b.Modal,{isOpen:!0,onClose:()=>{e()},className:"import-nfts-modal"},r.default.createElement(b.ModalOverlay,null),r.default.createElement(k.ModalContent,null,r.default.createElement(x.ModalHeader,{onClose:()=>{e()}},t("importNFT")),r.default.createElement(b.Box,null,E&&!_?r.default.createElement(b.Box,{marginTop:6},r.default.createElement(y.default,{onActionButtonClick:e})):null,$&&r.default.createElement(b.Box,{marginTop:6},r.default.createElement(b.BannerAlert,{severity:p.Severity.Danger,onClose:()=>z(!1),closeButtonProps:{"data-testid":"add-nft-error-close"}},t("nftAddFailedMessage"))),r.default.createElement(b.Box,{display:p.Display.Flex,flexDirection:p.FlexDirection.Column,gap:6,marginTop:6,marginBottom:6},r.default.createElement(b.Box,null,r.default.createElement(b.Box,{display:p.Display.Flex,justifyContent:p.JustifyContent.spaceBetween,alignItems:p.AlignItems.flexEnd},r.default.createElement(b.Box,{display:p.Display.Flex,alignItems:p.AlignItems.center},r.default.createElement(b.Label,{htmlFor:"address"},t("address")),r.default.createElement(T.default,{title:t("importNFTAddressToolTip"),position:"bottom"},r.default.createElement(b.Icon,{name:b.IconName.Info,size:b.IconSize.Sm,marginLeft:1,color:p.IconColor.iconAlternative})))),r.default.createElement(v.FormTextField,{autoFocus:!0,dataTestId:"address",id:"address",placeholder:"0x...",value:j,onChange:e=>{var n;n=e.target.value,V(null),n&&!(0,o.isValidHexAddress)(n)&&V(t("invalidAddress")),R(!(0,o.isValidHexAddress)(n)||!D),B(n),z(!1)},helpText:U,error:Boolean(U)})),r.default.createElement(b.Box,null,r.default.createElement(b.Box,{display:p.Display.Flex,justifyContent:p.JustifyContent.spaceBetween,alignItems:p.AlignItems.flexEnd},r.default.createElement(b.Box,{display:p.Display.Flex,alignItems:p.AlignItems.center},r.default.createElement(b.Label,{htmlFor:"token-id"},t("tokenId")),r.default.createElement(T.default,{title:t("importNFTTokenIdToolTip"),position:"bottom"},r.default.createElement(b.Icon,{name:b.IconName.Info,size:b.IconSize.Sm,marginLeft:1,color:p.IconColor.iconAlternative})))),r.default.createElement(v.FormTextField,{dataTestId:"token-id",id:"token-id",placeholder:t("nftTokenIdPlaceholder"),value:D,onChange:e=>{(e=>{G(null);const n=(0,w.checkTokenIdExists)(j,e,P.collections);n&&G(t("nftAlreadyAdded")),R(!(0,o.isValidHexAddress)(j)||!e||isNaN(Number(e))||n),F(e)})(e.target.value),z(!1)},helpText:H,error:H})))),r.default.createElement(b.Box,{display:p.Display.Flex,flexDirection:p.FlexDirection.Row,justifyContent:p.JustifyContent.spaceBetween,gap:4,paddingTop:4,paddingBottom:4},r.default.createElement(b.ButtonSecondary,{size:b.ButtonSecondarySize.Lg,onClick:()=>e(),block:!0,className:"import-nfts-modal__cancel-button"},t("cancel")),r.default.createElement(b.ButtonPrimary,{size:p.Size.LG,onClick:()=>(async()=>{try{var t;await a((0,h.addNftVerifyOwnership)(j,D));const e={...M,[S.address]:{...null==M?void 0:M[S.address],[O]:{...null==M||null===(t=M[S.address])||void 0===t?void 0:t[O],[j]:!0}}};a((0,h.updateNftDropDownState)(e))}catch(e){const{message:t}=e;return a((0,h.setNewNftAddedMessage)(t)),void z(!0)}I&&j&&await a((0,h.ignoreTokens)({tokensToIgnore:j,dontShowLoadingIndicator:!0})),a((0,h.setNewNftAddedMessage)("success"));const o=await(0,h.getTokenStandardAndDetails)(j,null,D.toString());W({event:l.MetaMetricsEventName.TokenAdded,category:"Wallet",sensitiveProperties:{token_contract_address:j,token_symbol:null==o?void 0:o.symbol,tokenId:D.toString(),asset_type:c.AssetType.NFT,token_standard:null==o?void 0:o.standard,source_connection_method:l.MetaMetricsTokenEventSource.Custom}}),n.push(m.DEFAULT_ROUTE),e()})(),disabled:L,block:!0,"data-testid":"import-nfts-modal-import-button"},t("import")))))};n.ImportNftsModal=M,M.propTypes={onClose:a.default.func.isRequired}}}},{package:"$root$",file:"ui/components/multichain/import-nfts-modal/import-nfts-modal.js"}],[5086,{"./import-nfts-modal":5085},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"ImportNftsModal",{enumerable:!0,get:function(){return o.ImportNftsModal}});var o=e("./import-nfts-modal")}}},{package:"$root$",file:"ui/components/multichain/import-nfts-modal/index.js"}],[5087,{"../../../../shared/constants/metametrics":4505,"../../../contexts/metametrics":5327,"../../../helpers/constants/design-system":5355,"../../../hooks/useI18nContext":5427,"../../../selectors":5987,"../../../store/actions":5998,"../../component-library":4955,classnames:3049,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.ImportTokenLink=void 0;var o,a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}(e("react")),r=e("react-redux"),i=(o=e("classnames"))&&o.__esModule?o:{default:o},s=e("../../component-library"),l=e("../../../helpers/constants/design-system"),c=e("../../../hooks/useI18nContext"),u=e("../../../store/actions"),d=e("../../../contexts/metametrics"),p=e("../../../../shared/constants/metametrics"),m=e("../../../selectors");function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}function g(){return g=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const n=(0,a.useContext)(d.MetaMetricsContext),o=(0,c.useI18nContext)(),f=(0,r.useDispatch)(),h=(0,r.useSelector)(m.getIsTokenDetectionSupported),y=(0,r.useSelector)(m.getIsTokenDetectionInactiveOnMainnet),b=h||y||Boolean(!1);return a.default.createElement(s.Box,g({className:(0,i.default)("multichain-import-token-link",e)},t),a.default.createElement(s.Box,{display:l.Display.Flex,alignItems:l.AlignItems.center},a.default.createElement(s.ButtonLink,{size:s.ButtonLinkSize.Md,"data-testid":"import-token-button",startIconName:s.IconName.Add,onClick:()=>{f((0,u.showImportTokensModal)()),n({category:p.MetaMetricsEventCategory.Navigation,event:p.MetaMetricsEventName.TokenImportButtonClicked,properties:{location:"HOME"}})}},b?o("importTokensCamelCase"):o("importTokensCamelCase").charAt(0).toUpperCase()+o("importTokensCamelCase").slice(1))),a.default.createElement(s.Box,{display:l.Display.Flex,alignItems:l.AlignItems.center,paddingTop:2},a.default.createElement(s.ButtonLink,{size:s.ButtonLinkSize.Md,startIconName:s.IconName.Refresh,"data-testid":"refresh-list-button",onClick:()=>f((0,u.detectTokens)())},o("refreshList"))))}}}},{package:"$root$",file:"ui/components/multichain/import-token-link/import-token-link.tsx"}],[5088,{"./import-token-link":5087},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"ImportTokenLink",{enumerable:!0,get:function(){return o.ImportTokenLink}});var o=e("./import-token-link")}}},{package:"$root$",file:"ui/components/multichain/import-token-link/hybrid-compute-sdk.ts"}],[5089,{"../../../contexts/i18n":5324,"../../../ducks/metamask/metamask":5346,"../../../helpers/constants/design-system":5355,"../../../selectors":5987,"../../component-library":4955,"../../ui/token-balance/token-balance":5309,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.ImportTokensModalConfirm=void 0;var o,a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=p(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}(e("react")),r=e("react-redux"),i=e("../../../selectors"),s=e("../../component-library"),l=e("../../../helpers/constants/design-system"),c=e("../../../ducks/metamask/metamask"),u=(o=e("../../ui/token-balance/token-balance"))&&o.__esModule?o:{default:o},d=e("../../../contexts/i18n");function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(p=function(e){return e?n:t})(e)}n.ImportTokensModalConfirm=()=>{const e=(0,a.useContext)(d.I18nContext),t=(0,r.useSelector)(i.getCurrentNetwork),n=(0,r.useSelector)(i.getTestNetworkBackgroundColor),o=(0,r.useSelector)(c.getPendingTokens),p=(0,r.useSelector)(i.getTokenList);return a.default.createElement(s.Box,{paddingTop:6},a.default.createElement(s.Text,{textAlign:l.TextAlign.Center},1===Object.keys(o).length?e("likeToImportToken"):e("likeToImportTokens")),a.default.createElement(s.Box,{paddingTop:6},a.default.createElement(s.Box,{flexDirection:l.FlexDirection.Column,className:"import-tokens-modal__confirmation-list"},Object.entries(o).map((([e,o])=>{var r,i;const{name:c,symbol:d,iconUrl:m}=o,f=m||(null===(r=p[e.toLowerCase()])||void 0===r?void 0:r.iconUrl);return a.default.createElement(s.Box,{key:e,padding:4,display:l.Display.Flex},a.default.createElement(s.Box,{display:l.Display.Flex,className:"import-tokens-modal__confirm-token-list-item-wrapper"},a.default.createElement(s.BadgeWrapper,{badge:a.default.createElement(s.AvatarNetwork,{size:s.AvatarNetworkSize.Xs,name:null==t?void 0:t.nickname,src:null==t||null===(i=t.rpcPrefs)||void 0===i?void 0:i.imageUrl,backgroundColor:n}),marginRight:4,marginTop:1},a.default.createElement(s.AvatarToken,{name:d,src:f,showHalo:!0})),a.default.createElement(s.Box,null,a.default.createElement(s.Text,{fontWeight:l.FontWeight.Medium,variant:l.TextVariant.bodyMd},c||d),a.default.createElement(s.Text,{variant:l.TextVariant.bodySm,color:l.TextColor.textAlternative},a.default.createElement(u.default,{token:o})))),a.default.createElement(s.Box,{alignItems:l.AlignItems.flexStart},a.default.createElement(u.default,{textProps:{font:l.FontWeight.Medium,variant:l.TextVariant.bodyLgMedium},suffixProps:{font:l.FontWeight.Medium,variant:l.TextVariant.bodyLgMedium},token:o,showFiat:!0})))})))))}}}},{package:"$root$",file:"ui/components/multichain/import-tokens-modal/import-tokens-modal-confirm.js"}],[5090,{"../../../../app/scripts/lib/util":120,"../../../../shared/constants/metametrics":4505,"../../../../shared/constants/tokens":4519,"../../../../shared/constants/transaction":4520,"../../../../shared/modules/hexstring-utils":4544,"../../../contexts/metametrics":5327,"../../../ducks/metamask/metamask":5346,"../../../helpers/constants/design-system":5355,"../../../helpers/constants/routes":5361,"../../../helpers/constants/zendesk-url":5368,"../../../helpers/utils/token-util":5396,"../../../helpers/utils/util":5399,"../../../hooks/useI18nContext":5427,"../../../selectors":5987,"../../../store/actions":5998,"../../app/import-token/token-list":4641,"../../app/import-token/token-search":4646,"../../component-library":4955,"../../component-library/form-text-field/deprecated":4943,"../../ui/tabs":5296,"./import-tokens-modal-confirm":5089,"@metamask/etherscan-link/dist/token-tracker-link":1372,"prop-types":3997,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.ImportTokensModal=void 0;var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=A(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}(e("react")),a=e("react-redux"),r=e("react-router-dom"),i=O(e("prop-types")),s=e("@metamask/etherscan-link/dist/token-tracker-link"),l=e("../../ui/tabs"),c=e("../../../hooks/useI18nContext"),u=e("../../../selectors"),d=e("../../../store/actions"),p=e("../../component-library"),m=e("../../component-library/form-text-field/deprecated"),f=O(e("../../app/import-token/token-search")),g=O(e("../../app/import-token/token-list")),h=e("../../../helpers/constants/design-system"),y=e("../../../helpers/constants/routes"),b=O(e("../../../helpers/constants/zendesk-url")),v=e("../../../../shared/modules/hexstring-utils"),k=e("../../../../app/scripts/lib/util"),x=e("../../../../shared/constants/tokens"),T=e("../../../../shared/constants/transaction"),C=e("../../../helpers/utils/util"),w=e("../../../helpers/utils/token-util"),_=e("../../../contexts/metametrics"),E=e("../../../ducks/metamask/metamask"),M=e("../../../../shared/constants/metametrics"),S=e("./import-tokens-modal-confirm");function O(e){return e&&e.__esModule?e:{default:e}}function A(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(A=function(e){return e?n:t})(e)}const N=({onClose:e})=>{const t=(0,c.useI18nContext)(),n=(0,r.useHistory)(),i=(0,a.useDispatch)(),[O,A]=(0,o.useState)(""),[N,I]=(0,o.useState)(null),[P,j]=(0,o.useState)({}),[B,D]=(0,o.useState)([]),F=(0,a.useSelector)(u.getIsTokenDetectionSupported),L=(0,a.useSelector)(u.getIsTokenDetectionInactiveOnMainnet),R=F||L||Boolean(!1),$=(0,a.useSelector)(u.getTokenList),z=(0,a.useSelector)((({metamask:e})=>e.useTokenDetection)),W=(0,a.useSelector)(u.getTokenDetectionSupportNetworkByChainId),U=(0,a.useSelector)(E.getNativeCurrency),V=(0,a.useSelector)(u.getIstokenDetectionInactiveOnNonMainnetSupportedNetwork),H=(0,a.useSelector)(u.getIsDynamicTokenListAvailable),G=(0,a.useSelector)(u.getSelectedInternalAccount),q=(0,a.useSelector)(u.getIsMainnet),K=(0,a.useSelector)(u.getInternalAccounts),J=(0,a.useSelector)((e=>e.metamask.tokens)),Y=(0,a.useSelector)(u.getRpcPrefsForCurrentProvider),Q=(0,a.useSelector)(u.contractExchangeRateSelector),[X,Z]=(0,o.useState)(""),[ee,te]=(0,o.useState)(null),[ne,oe]=(0,o.useState)(null),[ae,re]=(0,o.useState)(!1),[ie,se]=(0,o.useState)(null),[le,ce]=(0,o.useState)(""),[ue,de]=(0,o.useState)(""),[pe,me]=(0,o.useState)(null),[fe,ge]=(0,o.useState)(0),[he,ye]=(0,o.useState)(null),[be,ve]=(0,o.useState)(T.TokenStandard.none),ke=(0,a.useSelector)(u.getCurrentNetwork),xe=(0,a.useSelector)(u.getTestNetworkBackgroundColor),[Te,Ce]=(0,o.useState)(!1),we=(0,a.useSelector)(u.getCurrentChainId),_e=(0,s.getTokenTrackerLink)(X,we,null,null,{blockExplorerUrl:(null==Y?void 0:Y.blockExplorerUrl)??null}),Ee=null!=Y&&Y.blockExplorerUrl?(0,C.getURLHostName)(_e):t("etherscan"),Me=(0,o.useRef)((0,w.tokenInfoGetter)()),Se=(0,o.useContext)(_.MetaMetricsContext),Oe=(0,a.useSelector)(E.getPendingTokens),Ae=(0,a.useSelector)(u.getSelectedNetworkClientId),Ne=(0,o.useCallback)((async()=>{try{const e=Object.values(Oe);await i((0,d.addImportedTokens)(e,Ae)),e.forEach((e=>{Se({event:M.MetaMetricsEventName.TokenAdded,category:M.MetaMetricsEventCategory.Wallet,sensitiveProperties:{token_symbol:e.symbol,token_contract_address:e.address,token_decimal_precision:e.decimals,unlisted:e.unlisted,source_connection_method:e.isCustom?M.MetaMetricsTokenEventSource.Custom:M.MetaMetricsTokenEventSource.List,token_standard:T.TokenStandard.ERC20,asset_type:T.AssetType.token}})}));const t=[];for(const e in Oe)Object.prototype.hasOwnProperty.call(Oe,e)&&t.push(Oe[e].symbol);i((0,d.setNewTokensImported)(t.join(", "))),i((0,d.clearPendingTokens)()),i((0,d.hideImportTokensModal)()),n.push(y.DEFAULT_ROUTE)}catch(e){i((0,d.setNewTokensImportedError)("error")),i((0,d.clearPendingTokens)()),n.push(y.DEFAULT_ROUTE)}}),[i,n,Oe,Se]);(0,o.useEffect)((()=>{const e=Object.keys(Oe);if(0===e.length)return;let t={},n={};e.forEach((e=>{const o=Oe[e],{isCustom:a}=o;a?n={...o}:t={...P,[e]:{...o}}})),j(t),Z(n.address),ce(n.symbol),ge(n.decimals)}),[Oe]);const Ie=e=>{const n=e.trim(),o=n.length;let a=null;(o<=0||o>=12)&&(a=t("symbolBetweenZeroTwelve")),ce(n),me(a)},Pe=e=>{let n,a=null;e?(n=Number(e.trim()),a=e<0||e>36?t("decimalsMustZerotoTen"):null):(n="",a=t("tokenDecimalFetchFailed",[o.default.createElement(p.ButtonLink,{className:"import-tokens-modal__button-link",key:"import-token-verify-token-decimal",rel:"noopener noreferrer",target:"_blank",href:_e,endIconName:p.IconName.Export},Ee)])),ge(n),ye(a)},je=()=>N||ee||pe||he||ne,Be=()=>X||Object.keys(P).length>0,De=async n=>{const a=n.trim();Z(a),te(null),oe(null),re(!1),se(null),Ce(!1);const r=(0,v.isValidHexAddress)(a,{allowNonPrefixed:!1}),s=(0,k.addHexPrefix)(a).toLowerCase(),l=Object.keys(x.STATIC_MAINNET_TOKEN_LIST).some((e=>e.toLowerCase()===a.toLowerCase()));let c;if(r)try{({standard:c}=await(0,d.getTokenStandardAndDetails)(s,G.address,null))}catch(e){}const u=0===a.length||"0x0000000000000000000000000000000000000000"===a;switch(!0){case!r&&!u:te(t("invalidAddress")),ce(""),ge(0),me(null),ye(null),Ce(!1);break;case c===T.TokenStandard.ERC1155||c===T.TokenStandard.ERC721:oe(t("nftAddressError",[o.default.createElement(p.ButtonLink,{className:"import-tokens-modal__nft-address-error-link",onClick:()=>{i((0,d.showImportNftsModal)({tokenAddress:a})),e()},color:h.TextColor.primaryDefault,key:"nftAddressError"},t("importNFTPage"))])),Ce(!1);break;case l&&!q:se(t("mainnetToken")),ce(""),ge(0),me(null),ye(null),Ce(!1);break;case Boolean(K.find((e=>e.address.toLowerCase()===s))):te(t("personalAddressDetected")),Ce(!1);break;case(0,C.checkExistingAddresses)(a,J):te(t("tokenAlreadyAdded")),Ce(!1);break;default:u||((async e=>{const{symbol:t="",decimals:n,name:o}=await Me.current(e,$);re(Boolean(n)),Ie(t||""),Pe(n),de(o)})(a),Ce(!0),c&&ve(c))}},Fe="confirm"===O;return o.default.createElement(p.Modal,{isOpen:!0,isClosedOnOutsideClick:!1,onClose:()=>{i((0,d.clearPendingTokens)()),e()},className:"import-tokens-modal"},o.default.createElement(p.ModalOverlay,null),o.default.createElement(p.ModalContent,{modalDialogProps:{className:"import-tokens-modal__modal-dialog-content"}},o.default.createElement(p.ModalHeader,{onBack:Fe?()=>A(""):null,paddingBottom:4,paddingRight:4,paddingLeft:4,onClose:()=>{i((0,d.clearPendingTokens)()),e()}},t("importTokensCamelCase")),o.default.createElement(p.Box,{className:"import-tokens-modal__body"},o.default.createElement(l.Tabs,{t:t,tabsClassName:"import-tokens-modal__tabs"},R?o.default.createElement(l.Tab,{activeClassName:"import-tokens-modal__active-tab",buttonClassName:"import-tokens-modal__button-tab",tabKey:"search",name:t("search")},Fe?o.default.createElement(S.ImportTokensModalConfirm,null):o.default.createElement(p.Box,{paddingTop:4},z?null:o.default.createElement(p.Box,{paddingLeft:4,paddingRight:4},o.default.createElement(p.BannerAlert,{severity:h.Severity.Info,marginBottom:4,paddingLeft:4,paddingRight:4},o.default.createElement(p.Text,{variant:h.TextVariant.bodyMd,fontSize:"16"},t("enhancedTokenDetectionAlertMessage",[W,o.default.createElement(p.ButtonLink,{key:"token-detection-announcement",className:"import-tokens-modal__autodetect",onClick:()=>{e(),n.push(`${y.SECURITY_ROUTE}#auto-detect-tokens`)}},t("enableFromSettings"))])))),o.default.createElement(p.Box,{paddingLeft:4,paddingRight:4,paddingBottom:4},o.default.createElement(f.default,{searchClassName:"import-tokens-modal__button-search",onSearch:({results:e=[]})=>D(e),error:N,tokenList:$})),o.default.createElement(g.default,{currentNetwork:ke,testNetworkBackgroundColor:xe,results:B,selectedTokens:P,onToggleToken:e=>(e=>{const{address:t}=e,n={...P};t in n?delete n[t]:n[t]=e,j(n),I(null)})(e)}))):null,o.default.createElement(l.Tab,{activeClassName:"import-tokens-modal__active-tab",buttonClassName:"import-tokens-modal__button-tab",tabKey:"customToken",name:t("customToken")},Fe?o.default.createElement(S.ImportTokensModalConfirm,null):o.default.createElement(p.Box,{paddingTop:4},o.default.createElement(p.Box,{className:"import-tokens-modal__custom-token-form__container"},V?o.default.createElement(p.Box,{paddingLeft:4,paddingRight:4},o.default.createElement(p.BannerAlert,{severity:h.Severity.Warning},o.default.createElement(p.Text,{variant:h.TextVariant.bodyMd},t("customTokenWarningInTokenDetectionNetworkWithTDOFF",[o.default.createElement(p.ButtonLink,{key:"import-token-security-risk",rel:"noopener noreferrer",target:"_blank",href:b.default.TOKEN_SAFETY_PRACTICES},t("tokenScamSecurityRisk")),o.default.createElement(p.ButtonLink,{type:"link",key:"import-token-token-detection-announcement",onClick:()=>{e(),n.push(`${y.SECURITY_ROUTE}#auto-detect-tokens`)}},t("inYourSettings"))])))):o.default.createElement(p.Box,{paddingLeft:4,paddingRight:4},o.default.createElement(p.BannerAlert,{severity:H?h.Severity.Warning:h.Severity.Info},o.default.createElement(p.Text,{variant:h.TextVariant.bodyMd},t(H?"customTokenWarningInTokenDetectionNetwork":"customTokenWarningInNonTokenDetectionNetwork",[o.default.createElement(p.ButtonLink,{key:"import-token-fake-token-warning",rel:"noopener noreferrer",target:"_blank",href:b.default.TOKEN_SAFETY_PRACTICES},t("learnScamRisk"))])))),o.default.createElement(p.Box,null,o.default.createElement(m.FormTextField,{paddingLeft:4,paddingRight:4,paddingTop:6,label:t("tokenContractAddress"),value:X,onChange:e=>De(e.target.value),helpText:ee||ie||ne,error:ee||ie||ne,textFieldProps:{className:ee||ie||ne?"import-tokens-modal__custom-token-form__text-outline-error":"import-tokens-modal__custom-token-form__text-outline-success"},inputProps:{"data-testid":"import-tokens-modal-custom-address"}}),Te&&o.default.createElement(p.Box,null,o.default.createElement(m.FormTextField,{paddingLeft:4,paddingRight:4,paddingTop:4,label:o.default.createElement(o.default.Fragment,null,t("tokenSymbol")),value:le,onChange:e=>Ie(e.target.value),helpText:pe,error:pe,textFieldProps:{className:pe?"import-tokens-modal__custom-token-form__text-outline-error":"import-tokens-modal__custom-token-form__text-outline-success"},inputProps:{"data-testid":"import-tokens-modal-custom-symbol"}}),o.default.createElement(m.FormTextField,{paddingLeft:4,paddingRight:4,paddingTop:4,label:t("decimal"),type:"number",value:fe,onChange:e=>Pe(e.target.value),helpText:he,error:he,disabled:ae,min:0,max:36,textFieldProps:{className:he?"import-tokens-modal__custom-token-form__text-outline-error":"import-tokens-modal__custom-token-form__text-outline-success"},inputProps:{"data-testid":"import-tokens-modal-custom-decimals"}})))))))),Fe?o.default.createElement(p.Box,{paddingTop:5,paddingLeft:4,paddingRight:4,display:h.Display.Flex},o.default.createElement(p.ButtonSecondary,{size:h.Size.LG,onClick:()=>{i((0,d.clearPendingTokens)()),A("")},block:!0,marginRight:5},t("back")),o.default.createElement(p.ButtonPrimary,{size:h.Size.LG,onClick:async()=>{await Ne(),n.push(y.DEFAULT_ROUTE)},block:!0,"data-testid":"import-tokens-modal-import-button"},t("import"))):o.default.createElement(p.Box,{paddingTop:6,paddingLeft:4,paddingRight:4},o.default.createElement(p.ButtonPrimary,{onClick:()=>(async()=>{if(je())return;if(!Be())return void I(t("mustSelectOne"));const e=Object.keys($),n=X?{address:X,symbol:le,decimals:fe,standard:be,name:ue}:null;i((0,d.setPendingTokens)({customToken:n,selectedTokens:P,tokenAddressList:e}));const o={...P,...(null==n?void 0:n.address)&&{[n.address]:{...n}}},a=Object.values(o).filter((e=>(null==Q?void 0:Q[(0,v.toChecksumHexAddress)(e.address)])===undefined)),r=a.map((e=>e.address));if(0!==a.length){const e=await(0,C.fetchTokenExchangeRates)(U,r,we);i((0,d.setConfirmationExchangeRates)(e))}A("confirm")})(),size:h.Size.LG,disabled:Boolean(je())||!Be(),block:!0,"data-testid":"import-tokens-button-next"},t("next")))))};n.ImportTokensModal=N,N.propTypes={onClose:i.default.func.isRequired}}}},{package:"$root$",file:"ui/components/multichain/import-tokens-modal/import-tokens-modal.js"}],[5091,{"./import-tokens-modal":5090},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"ImportTokensModal",{enumerable:!0,get:function(){return o.ImportTokensModal}});var o=e("./import-tokens-modal")}}},{package:"$root$",file:"ui/components/multichain/import-tokens-modal/index.js"}],[5092,{"./account-details":5018,"./account-list-item":5023,"./account-list-item-menu":5020,"./account-list-menu":5026,"./account-overview":5032,"./account-picker":5034,"./activity-list-item":5036,"./address-copy-button":5038,"./address-list-item":5040,"./app-header":5042,"./asset-picker-amount":5052,"./avatar-group":5060,"./connected-accounts-menu":5066,"./connected-site-menu":5068,"./connected-status":5070,"./create-account":5072,"./create-eth-account":5074,"./detected-token-banner":5076,"./global-menu":5079,"./import-account":5082,"./import-nfts-modal":5086,"./import-token-link":5088,"./import-tokens-modal":5091,"./menu-items":5094,"./network-list-item":5096,"./network-list-menu":5098,"./notification-detail":5122,"./notification-detail-address":5102,"./notification-detail-asset":5104,"./notification-detail-block-explorer-button":5106,"./notification-detail-button":5108,"./notification-detail-collection":5110,"./notification-detail-copy-button":5112,"./notification-detail-info":5114,"./notification-detail-network-fee":5116,"./notification-detail-nft":5118,"./notification-detail-title":5120,"./notification-list-item":5130,"./notification-list-item-icon":5124,"./notification-list-item-snap":5126,"./notification-list-item-text":5128,"./notifications-page":5132,"./notifications-settings-account":5134,"./notifications-settings-box":5136,"./notifications-settings-type":5138,"./notifications-tag-counter":5140,"./permission-details-modal":5174,"./product-tour-popover":5176,"./receive-token-link":5181,"./toast":5183,"./token-list-item":5185},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"AccountDetails",{enumerable:!0,get:function(){return k.AccountDetails}}),Object.defineProperty(n,"AccountDetailsMenuItem",{enumerable:!0,get:function(){return E.AccountDetailsMenuItem}}),Object.defineProperty(n,"AccountListItem",{enumerable:!0,get:function(){return o.AccountListItem}}),Object.defineProperty(n,"AccountListItemMenu",{enumerable:!0,get:function(){return a.AccountListItemMenu}}),Object.defineProperty(n,"AccountListItemMenuTypes",{enumerable:!0,get:function(){return o.AccountListItemMenuTypes}}),Object.defineProperty(n,"AccountListMenu",{enumerable:!0,get:function(){return r.AccountListMenu}}),Object.defineProperty(n,"AccountOverview",{enumerable:!0,get:function(){return i.AccountOverview}}),Object.defineProperty(n,"AccountPicker",{enumerable:!0,get:function(){return s.AccountPicker}}),Object.defineProperty(n,"ActivityListItem",{enumerable:!0,get:function(){return l.ActivityListItem}}),Object.defineProperty(n,"AddressCopyButton",{enumerable:!0,get:function(){return g.AddressCopyButton}}),Object.defineProperty(n,"AddressListItem",{enumerable:!0,get:function(){return A.AddressListItem}}),Object.defineProperty(n,"AppHeader",{enumerable:!0,get:function(){return c.AppHeader}}),Object.defineProperty(n,"AssetPickerAmount",{enumerable:!0,get:function(){return O.AssetPickerAmount}}),Object.defineProperty(n,"AvatarGroup",{enumerable:!0,get:function(){return S.AvatarGroup}}),Object.defineProperty(n,"ConnectedAccountsMenu",{enumerable:!0,get:function(){return C.ConnectedAccountsMenu}}),Object.defineProperty(n,"ConnectedSiteMenu",{enumerable:!0,get:function(){return h.ConnectedSiteMenu}}),Object.defineProperty(n,"ConnectedStatus",{enumerable:!0,get:function(){return N.ConnectedStatus}}),Object.defineProperty(n,"CreateAccount",{enumerable:!0,get:function(){return x.CreateAccount}}),Object.defineProperty(n,"CreateEthAccount",{enumerable:!0,get:function(){return T.CreateEthAccount}}),Object.defineProperty(n,"DetectedTokensBanner",{enumerable:!0,get:function(){return u.DetectedTokensBanner}}),Object.defineProperty(n,"GlobalMenu",{enumerable:!0,get:function(){return d.GlobalMenu}}),Object.defineProperty(n,"ImportAccount",{enumerable:!0,get:function(){return w.ImportAccount}}),Object.defineProperty(n,"ImportNftsModal",{enumerable:!0,get:function(){return _.ImportNftsModal}}),Object.defineProperty(n,"ImportTokenLink",{enumerable:!0,get:function(){return p.ImportTokenLink}}),Object.defineProperty(n,"ImportTokensModal",{enumerable:!0,get:function(){return M.ImportTokensModal}}),Object.defineProperty(n,"NetworkListItem",{enumerable:!0,get:function(){return y.NetworkListItem}}),Object.defineProperty(n,"NetworkListMenu",{enumerable:!0,get:function(){return b.NetworkListMenu}}),Object.defineProperty(n,"NotificationDetail",{enumerable:!0,get:function(){return B.NotificationDetail}}),Object.defineProperty(n,"NotificationDetailAddress",{enumerable:!0,get:function(){return D.NotificationDetailAddress}}),Object.defineProperty(n,"NotificationDetailAsset",{enumerable:!0,get:function(){return F.NotificationDetailAsset}}),Object.defineProperty(n,"NotificationDetailBlockExplorerButton",{enumerable:!0,get:function(){return H.NotificationDetailBlockExplorerButton}}),Object.defineProperty(n,"NotificationDetailButton",{enumerable:!0,get:function(){return V.NotificationDetailButton}}),Object.defineProperty(n,"NotificationDetailCollection",{enumerable:!0,get:function(){return L.NotificationDetailCollection}}),Object.defineProperty(n,"NotificationDetailCopyButton",{enumerable:!0,get:function(){return R.NotificationDetailCopyButton}}),Object.defineProperty(n,"NotificationDetailInfo",{enumerable:!0,get:function(){return z.NotificationDetailInfo}}),Object.defineProperty(n,"NotificationDetailNetworkFee",{enumerable:!0,get:function(){return $.NotificationDetailNetworkFee}}),Object.defineProperty(n,"NotificationDetailNft",{enumerable:!0,get:function(){return W.NotificationDetailNft}}),Object.defineProperty(n,"NotificationDetailTitle",{enumerable:!0,get:function(){return U.NotificationDetailTitle}}),Object.defineProperty(n,"NotificationListItem",{enumerable:!0,get:function(){return I.NotificationListItem}}),Object.defineProperty(n,"NotificationListItemIcon",{enumerable:!0,get:function(){return P.NotificationListItemIcon}}),Object.defineProperty(n,"NotificationListItemSnap",{enumerable:!0,get:function(){return Y.NotificationListItemSnap}}),Object.defineProperty(n,"NotificationListItemText",{enumerable:!0,get:function(){return j.NotificationListItemText}}),Object.defineProperty(n,"NotificationsPage",{enumerable:!0,get:function(){return G.NotificationsPage}}),Object.defineProperty(n,"NotificationsSettingsAccount",{enumerable:!0,get:function(){return J.NotificationsSettingsAccount}}),Object.defineProperty(n,"NotificationsSettingsBox",{enumerable:!0,get:function(){return q.NotificationsSettingsBox}}),Object.defineProperty(n,"NotificationsSettingsType",{enumerable:!0,get:function(){return K.NotificationsSettingsType}}),Object.defineProperty(n,"NotificationsTagCounter",{enumerable:!0,get:function(){return Q.NotificationsTagCounter}}),Object.defineProperty(n,"PermissionDetailsModal",{enumerable:!0,get:function(){return Z.PermissionDetailsModal}}),Object.defineProperty(n,"ProductTour",{enumerable:!0,get:function(){return v.ProductTour}}),Object.defineProperty(n,"ReceiveTokenLink",{enumerable:!0,get:function(){return m.ReceiveTokenLink}}),Object.defineProperty(n,"Toast",{enumerable:!0,get:function(){return X.Toast}}),Object.defineProperty(n,"ToastContainer",{enumerable:!0,get:function(){return X.ToastContainer}}),Object.defineProperty(n,"TokenListItem",{enumerable:!0,get:function(){return f.TokenListItem}}),Object.defineProperty(n,"ViewExplorerMenuItem",{enumerable:!0,get:function(){return E.ViewExplorerMenuItem}});var o=e("./account-list-item"),a=e("./account-list-item-menu"),r=e("./account-list-menu"),i=e("./account-overview"),s=e("./account-picker"),l=e("./activity-list-item"),c=e("./app-header"),u=e("./detected-token-banner"),d=e("./global-menu"),p=e("./import-token-link"),m=e("./receive-token-link"),f=e("./token-list-item"),g=e("./address-copy-button"),h=e("./connected-site-menu"),y=e("./network-list-item"),b=e("./network-list-menu"),v=e("./product-tour-popover"),k=e("./account-details"),x=e("./create-account"),T=e("./create-eth-account"),C=e("./connected-accounts-menu"),w=e("./import-account"),_=e("./import-nfts-modal"),E=e("./menu-items"),M=e("./import-tokens-modal"),S=e("./avatar-group"),O=e("./asset-picker-amount"),A=e("./address-list-item"),N=e("./connected-status"),I=e("./notification-list-item"),P=e("./notification-list-item-icon"),j=e("./notification-list-item-text"),B=e("./notification-detail"),D=e("./notification-detail-address"),F=e("./notification-detail-asset"),L=e("./notification-detail-collection"),R=e("./notification-detail-copy-button"),$=e("./notification-detail-network-fee"),z=e("./notification-detail-info"),W=e("./notification-detail-nft"),U=e("./notification-detail-title"),V=e("./notification-detail-button"),H=e("./notification-detail-block-explorer-button"),G=e("./notifications-page"),q=e("./notifications-settings-box"),K=e("./notifications-settings-type"),J=e("./notifications-settings-account"),Y=e("./notification-list-item-snap"),Q=e("./notifications-tag-counter"),X=e("./toast"),Z=e("./permission-details-modal")}}},{package:"$root$",file:"ui/components/multichain/index.js"}],[5093,{"../../../../shared/constants/metametrics":4505,"../../../contexts/metametrics":5327,"../../../hooks/useI18nContext":5427,"../../../store/actions":5998,"../../component-library":4955,"../../ui/menu":5264,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.AccountDetailsMenuItem=void 0;var o,a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=m(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}(e("react")),r=(o=e("prop-types"))&&o.__esModule?o:{default:o},i=e("react-redux"),s=e("../../../store/actions"),l=e("../../ui/menu"),c=e("../../../hooks/useI18nContext"),u=e("../../../contexts/metametrics"),d=e("../../../../shared/constants/metametrics"),p=e("../../component-library");function m(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(m=function(e){return e?n:t})(e)}const f=({metricsLocation:e,closeMenu:t,address:n,textProps:o})=>{const r=(0,c.useI18nContext)(),m=(0,i.useDispatch)(),f=(0,a.useContext)(u.MetaMetricsContext),g=r("accountDetails");return a.default.createElement(l.MenuItem,{onClick:()=>{m((0,s.setAccountDetailsAddress)(n)),f({event:d.MetaMetricsEventName.AccountDetailsOpened,category:d.MetaMetricsEventCategory.Navigation,properties:{location:e}}),null==t||t()},iconName:p.IconName.ScanBarcode,"data-testid":"account-list-menu-details"},o?a.default.createElement(p.Text,o,g):g)};n.AccountDetailsMenuItem=f,f.propTypes={metricsLocation:r.default.string.isRequired,closeMenu:r.default.func,address:r.default.string.isRequired,textProps:r.default.object}}}},{package:"$root$",file:"ui/components/multichain/menu-items/account-details-menu-item.js"}],[5094,{"./account-details-menu-item":5093,"./view-explorer-menu-item":5095},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"AccountDetailsMenuItem",{enumerable:!0,get:function(){return o.AccountDetailsMenuItem}}),Object.defineProperty(n,"ViewExplorerMenuItem",{enumerable:!0,get:function(){return a.ViewExplorerMenuItem}});var o=e("./account-details-menu-item"),a=e("./view-explorer-menu-item")}}},{package:"$root$",file:"ui/components/multichain/menu-items/index.js"}],[5095,{"../../../../shared/constants/metametrics":4505,"../../../../shared/modules/hexstring-utils":4544,"../../../contexts/metametrics":5327,"../../../helpers/constants/routes":5361,"../../../helpers/utils/util":5399,"../../../hooks/useI18nContext":5427,"../../../selectors":5987,"../../component-library":4955,"../../ui/menu":5264,"@metamask/etherscan-link":1369,"prop-types":3997,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.ViewExplorerMenuItem=void 0;var o,a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=b(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}(e("react")),r=(o=e("prop-types"))&&o.__esModule?o:{default:o},i=e("react-redux"),s=e("react-router-dom"),l=e("@metamask/etherscan-link"),c=e("../../ui/menu"),u=e("../../../hooks/useI18nContext"),d=e("../../../contexts/metametrics"),p=e("../../../../shared/constants/metametrics"),m=e("../../component-library"),f=e("../../../selectors"),g=e("../../../helpers/utils/util"),h=e("../../../helpers/constants/routes"),y=e("../../../../shared/modules/hexstring-utils");function b(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(b=function(e){return e?n:t})(e)}const v=({metricsLocation:e,closeMenu:t,textProps:n,address:o})=>{const r=(0,u.useI18nContext)(),b=(0,a.useContext)(d.MetaMetricsContext),v=(0,s.useHistory)(),k=(0,i.useSelector)(f.getCurrentChainId),x=(0,i.useSelector)(f.getRpcPrefsForCurrentProvider),T=(0,l.getAccountLink)((0,y.toChecksumHexAddress)(o),k,x),{blockExplorerUrl:C}=x,w=(0,g.getURLHostName)(C),_=(0,i.useSelector)(f.getBlockExplorerLinkText),E=r("viewOnExplorer");return a.default.createElement(c.MenuItem,{onClick:()=>{"addBlockExplorer"===_.firstPart?v.push(`${h.NETWORKS_ROUTE}#blockExplorerUrl`):(b({event:p.MetaMetricsEventName.ExternalLinkClicked,category:p.MetaMetricsEventCategory.Navigation,properties:{link_type:p.MetaMetricsEventLinkType.AccountTracker,location:e,url_domain:(0,g.getURLHostName)(T)}}),global.platform.openTab({url:T}),t()),b({event:p.MetaMetricsEventName.BlockExplorerLinkClicked,category:p.MetaMetricsEventCategory.Accounts,properties:{location:e,chain_id:k}}),null==t||t()},subtitle:w||null,iconName:m.IconName.Export,"data-testid":"account-list-menu-open-explorer"},n?a.default.createElement(m.Text,n,E):E)};n.ViewExplorerMenuItem=v,v.propTypes={metricsLocation:r.default.string.isRequired,closeMenu:r.default.func,address:r.default.string.isRequired,textProps:r.default.object}}}},{package:"$root$",file:"ui/components/multichain/menu-items/view-explorer-menu-item.js"}],[5096,{"./network-list-item":5097},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"NetworkListItem",{enumerable:!0,get:function(){return o.NetworkListItem}});var o=e("./network-list-item")}}},{package:"$root$",file:"ui/components/multichain/network-list-item/index.js"}],[5097,{"../../../helpers/constants/design-system":5355,"../../../helpers/utils/accounts":5378,"../../../hooks/useI18nContext":5427,"../../component-library":4955,"../../ui/tooltip/tooltip":5311,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.NetworkListItem=void 0;var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=p(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}(e("react")),a=d(e("classnames")),r=d(e("prop-types")),i=e("../../../helpers/constants/design-system"),s=e("../../component-library"),l=e("../../../hooks/useI18nContext"),c=e("../../../helpers/utils/accounts"),u=d(e("../../ui/tooltip/tooltip"));function d(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(p=function(e){return e?n:t})(e)}const m=({name:e,iconSrc:t,selected:n=!1,focus:r=!0,onClick:d,onDeleteClick:p})=>{const m=(0,l.useI18nContext)(),f=(0,o.useRef)();(0,o.useEffect)((()=>{f.current&&r&&f.current.focus()}),[f,r]);return o.default.createElement(s.Box,{padding:4,gap:2,backgroundColor:n?i.Color.primaryMuted:i.Color.transparent,className:(0,a.default)("multichain-network-list-item",{"multichain-network-list-item--selected":n}),display:i.Display.Flex,alignItems:i.AlignItems.center,justifyContent:i.JustifyContent.spaceBetween,width:i.BlockSize.Full,onClick:d},n&&o.default.createElement(s.Box,{className:"multichain-network-list-item__selected-indicator",borderRadius:i.BorderRadius.pill,backgroundColor:i.Color.primaryDefault}),o.default.createElement(s.AvatarNetwork,{backgroundColor:(0,c.getAvatarNetworkColor)(e),name:e,src:t}),o.default.createElement(s.Box,{className:"multichain-network-list-item__network-name",display:i.Display.Flex,alignItems:i.AlignItems.center,"data-testid":e},o.default.createElement(s.Text,{ref:f,color:i.TextColor.textDefault,backgroundColor:i.BackgroundColor.transparent,ellipsis:!0,onKeyDown:e=>{"Enter"===e.key&&(e.stopPropagation(),d())},tabIndex:"0"},e.length>20?o.default.createElement(u.default,{title:e,position:"bottom",wrapperClassName:"multichain-network-list-item__tooltip"},e):e)),p?o.default.createElement(s.ButtonIcon,{className:"multichain-network-list-item__delete",color:i.IconColor.errorDefault,iconName:s.IconName.Trash,ariaLabel:m("deleteNetwork"),size:i.Size.SM,onClick:e=>{e.stopPropagation(),p()}}):null)};n.NetworkListItem=m,m.propTypes={name:r.default.string.isRequired,iconSrc:r.default.string,selected:r.default.bool,onClick:r.default.func.isRequired,onDeleteClick:r.default.func,focus:r.default.bool}}}},{package:"$root$",file:"ui/components/multichain/network-list-item/network-list-item.js"}],[5098,{"./network-list-menu":5099},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"NetworkListMenu",{enumerable:!0,get:function(){return o.NetworkListMenu}});var o=e("./network-list-menu")}}},{package:"$root$",file:"ui/components/multichain/network-list-menu/index.js"}],[5099,{"../../../../app/scripts/lib/util":120,"../../../../shared/constants/app":4493,"../../../../shared/constants/metametrics":4505,"../../../../shared/constants/network":4507,"../../../contexts/metametrics":5327,"../../../ducks/metamask/metamask":5346,"../../../helpers/constants/design-system":5355,"../../../helpers/constants/routes":5361,"../../../hooks/useI18nContext":5427,"../../../selectors":5987,"../../../store/actions":5998,"../../component-library":4955,"../../component-library/modal-content/deprecated":4963,"../../component-library/modal-header/deprecated":4972,"../../component-library/text-field-search/deprecated":5e3,"../../ui/toggle-button":5306,"../network-list-item":5096,"fuse.js":3407,"prop-types":3997,react:4243,"react-beautiful-dnd":4067,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.NetworkListMenu=void 0;var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=M(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}(e("react")),a=E(e("prop-types")),r=e("react-beautiful-dnd"),i=e("react-redux"),s=e("react-router-dom"),l=E(e("fuse.js")),c=e("../../../hooks/useI18nContext"),u=e("../network-list-item"),d=e("../../../store/actions"),p=e("../../../../shared/constants/network"),m=e("../../../selectors"),f=E(e("../../ui/toggle-button")),g=e("../../../helpers/constants/design-system"),h=e("../../component-library"),y=e("../../component-library/modal-content/deprecated"),b=e("../../component-library/modal-header/deprecated"),v=e("../../component-library/text-field-search/deprecated"),k=e("../../../helpers/constants/routes"),x=e("../../../../app/scripts/lib/util"),T=e("../../../../shared/constants/app"),C=e("../../../contexts/metametrics"),w=e("../../../../shared/constants/metametrics"),_=e("../../../ducks/metamask/metamask");function E(e){return e&&e.__esModule?e:{default:e}}function M(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(M=function(e){return e?n:t})(e)}function S(){return S=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const t=(0,c.useI18nContext)(),n=(0,i.useSelector)(m.getNonTestNetworks),a=(0,i.useSelector)(m.getTestNetworks),E=(0,i.useSelector)(m.getShowTestNetworks),M=(0,i.useSelector)(m.getCurrentChainId),O=(0,i.useSelector)(m.getOriginOfCurrentTab),A=(0,i.useSelector)(m.getUseRequestQueue),N=(0,i.useDispatch)(),I=(0,s.useHistory)(),P=(0,o.useContext)(C.MetaMetricsContext),j=(0,i.useSelector)(m.getCurrentNetwork),B=p.TEST_CHAINS.includes(M),D=(0,x.getEnvironmentType)()===T.ENVIRONMENT_TYPE_FULLSCREEN,F=(0,i.useSelector)(_.getCompletedOnboarding),L=(0,i.useSelector)(_.getIsUnlocked),R=n.length>3,$=(0,i.useSelector)(m.getOrderedNetworksList),z=(()=>{if(!$||0===$.length)return n;const e={};$.forEach(((t,n)=>{e[`${t.networkId}_${t.networkRpcUrl}`]=n}));return n.sort(((t,n)=>{const o=`${t.chainId}_${t.rpcUrl}`,a=`${n.chainId}_${n.rpcUrl}`;return e[o]-e[a]}))})(),[W,U]=(0,o.useState)([...z]);(0,o.useEffect)((()=>{B&&N((0,d.setShowTestNetworks)(B))}),[N,B]);const[V,H]=(0,o.useState)(""),G=(0,i.useSelector)(m.getOnboardedInThisUISession),q=(0,i.useSelector)(m.getShowNetworkBanner),K=F&&!G&&q;let J=[...z].length===W.length?W:[...z];const Y=""!==V;if(Y){const e=new l.default(J,{threshold:.2,location:0,distance:100,maxPatternLength:32,minMatchCharLength:1,shouldSort:!0,keys:["nickname","chainId","ticker"]});e.setCollection(J);const t=e.search(V);J=J.filter((e=>t.includes(e)))}const Q=({network:e,isCurrentNetwork:t,canDeleteNetwork:n})=>{var a;return o.default.createElement(u.NetworkListItem,{name:e.nickname,iconSrc:null==e||null===(a=e.rpcPrefs)||void 0===a?void 0:a.imageUrl,key:e.id,selected:t,focus:t&&!R,onClick:()=>{N((0,d.toggleNetworkMenu)()),e.providerType?N((0,d.setProviderType)(e.providerType)):N((0,d.setActiveNetwork)(e.id)),A&&O&&(0,d.setNetworkClientIdForDomain)(O,e.id),P({event:w.MetaMetricsEventName.NavNetworkSwitched,category:w.MetaMetricsEventCategory.Network,properties:{location:"Network Menu",chain_id:M,from_network:M,to_network:e.chainId}})},onDeleteClick:n?()=>{N((0,d.toggleNetworkMenu)()),N((0,d.showModal)({name:"CONFIRM_DELETE_NETWORK",target:e.id,onConfirm:()=>undefined}))}:null})};return o.default.createElement(h.Modal,{isOpen:!0,onClose:e},o.default.createElement(h.ModalOverlay,null),o.default.createElement(y.ModalContent,{className:"multichain-network-list-menu-content-wrapper",modalDialogProps:{className:"multichain-network-list-menu-content-wrapper__dialog",display:g.Display.Flex,flexDirection:g.FlexDirection.Column,padding:0}},o.default.createElement(b.ModalHeader,{paddingTop:4,paddingRight:4,paddingBottom:6,onClose:e},t("networkMenuHeading")),o.default.createElement(o.default.Fragment,null,R?o.default.createElement(h.Box,{paddingLeft:4,paddingRight:4,paddingBottom:4,paddingTop:0},o.default.createElement(v.TextFieldSearch,{size:g.Size.SM,width:g.BlockSize.Full,placeholder:t("search"),value:V,onChange:e=>H(e.target.value),clearButtonOnClick:()=>H(""),clearButtonProps:{size:g.Size.SM},inputProps:{autoFocus:!0}})):null,K?o.default.createElement(h.BannerBase,{className:"network-list-menu__banner",marginLeft:4,marginRight:4,marginBottom:4,backgroundColor:g.BackgroundColor.backgroundAlternative,startAccessory:o.default.createElement(h.Box,{display:g.Display.Flex,alignItems:g.AlignItems.center,justifyContent:g.JustifyContent.center},o.default.createElement("img",{src:"./images/dragging-animation.svg",alt:"drag-and-drop"})),onClose:()=>(0,d.hideNetworkBanner)(),description:t("dragAndDropBanner")}):null,o.default.createElement(h.Box,{className:"multichain-network-list-menu"},0===J.length&&Y?o.default.createElement(h.Text,{paddingLeft:4,paddingRight:4,color:g.TextColor.textMuted,"data-testid":"multichain-network-menu-popover-no-results"},t("noNetworksFound")):o.default.createElement(r.DragDropContext,{onDragEnd:e=>{if(!e.destination)return;const t=[...W],[n]=t.splice(e.source.index,1);t.splice(e.destination.index,0,n);const o=t.map((e=>({networkId:e.chainId,networkRpcUrl:e.rpcUrl})));N((0,d.updateNetworksList)(o)),U(t)}},o.default.createElement(r.Droppable,{droppableId:"characters"},(e=>o.default.createElement(h.Box,S({className:"characters"},e.droppableProps,{ref:e.innerRef}),J.map(((e,t)=>{const n=j.id===e.id,a=L&&!n&&e.removable,i=Q({network:e,isCurrentNetwork:n,canDeleteNetwork:a});return o.default.createElement(r.Draggable,{key:e.id,draggableId:e.id,index:t},(e=>o.default.createElement(h.Box,S({ref:e.innerRef},e.draggableProps,e.dragHandleProps),i)))})),e.placeholder))))),o.default.createElement(h.Box,{padding:4,display:g.Display.Flex,justifyContent:g.JustifyContent.spaceBetween},o.default.createElement(h.Text,null,t("showTestnetNetworks")),o.default.createElement(f.default,{value:E,disabled:B,onToggle:e=>{const t=!e;N((0,d.setShowTestNetworks)(t)),t&&P({event:w.MetaMetricsEventName.TestNetworksDisplayed,category:w.MetaMetricsEventCategory.Network})}})),E||B?o.default.createElement(h.Box,{className:"multichain-network-list-menu"},a.map((e=>{const t=j.id===e.id&&j.rpcUrl===e.rpcUrl,n=L&&!t&&e.removable;return Q({network:e,isCurrentNetwork:t,canDeleteNetwork:n})}))):null,o.default.createElement(h.Box,{padding:4},o.default.createElement(h.ButtonSecondary,{size:h.ButtonSecondarySize.Lg,startIconName:h.IconName.Add,block:!0,onClick:()=>{D?F?I.push(k.ADD_POPULAR_CUSTOM_NETWORK):N((0,d.showModal)({name:"ONBOARDING_ADD_NETWORK"})):global.platform.openExtensionInBrowser(k.ADD_POPULAR_CUSTOM_NETWORK),N((0,d.toggleNetworkMenu)()),P({event:w.MetaMetricsEventName.AddNetworkButtonClick,category:w.MetaMetricsEventCategory.Network})}},t("addNetwork"))))))};n.NetworkListMenu=O,O.propTypes={onClose:a.default.func.isRequired}}}},{package:"$root$",file:"ui/components/multichain/network-list-menu/network-list-menu.js"}],[5100,{"./nft-item":5101},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"NftItem",{enumerable:!0,get:function(){return o.NftItem}});var o=e("./nft-item")}}},{package:"$root$",file:"ui/components/multichain/nft-item/index.js"}],[5101,{"../../../helpers/constants/design-system":5355,"../../../selectors":5987,"../../app/nft-default-image/nft-default-image":4716,"../../component-library":4955,classnames:3049,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.NftItem=void 0;var o=d(e("react")),a=d(e("prop-types")),r=d(e("classnames")),i=e("react-redux"),s=d(e("../../app/nft-default-image/nft-default-image")),l=e("../../component-library"),c=e("../../../helpers/constants/design-system"),u=e("../../../selectors");function d(e){return e&&e.__esModule?e:{default:e}}const p=({alt:e,name:t,src:n,networkName:a,networkSrc:d,tokenId:p,onClick:m,clickable:f,isIpfsURL:g})=>{const h=(0,i.useSelector)(u.getTestNetworkBackgroundColor),y=(0,i.useSelector)(u.getIpfsGateway),b=(0,i.useSelector)(u.getOpenSeaEnabled),v=y&&g&&n||b&&n&&!g?o.default.createElement(l.Box,{className:"nft-item__item nft-item__item-image","data-testid":"nft-image",as:"img",src:n,alt:e,display:c.Display.Block,justifyContent:c.JustifyContent.center}):o.default.createElement(s.default,{className:"nft-item__default-image","data-testid":"nft-default-image",name:t,tokenId:p,clickable:f&&g});return o.default.createElement(l.Box,{className:"nft-item__container","data-testid":"nft-item",as:"button",onClick:m},o.default.createElement(l.BadgeWrapper,{className:(0,r.default)("nft-item__badge-wrapper",{"nft-item__badge-wrapper__clickable":f}),anchorElementShape:l.BadgeWrapperAnchorElementShape.circular,positionObj:{top:-4,right:-4},display:c.Display.Block,badge:o.default.createElement(l.AvatarNetwork,{className:"nft-item__network-badge",backgroundColor:h,"data-testid":"nft-network-badge",size:l.AvatarNetworkSize.Sm,name:a,src:d,borderWidth:2,borderColor:c.BackgroundColor.backgroundDefault})},v))};n.NftItem=p,p.propTypes={src:a.default.string,alt:a.default.string.isRequired,name:a.default.string.isRequired,networkName:a.default.string.isRequired,networkSrc:a.default.string.isRequired,tokenId:a.default.string.isRequired,onClick:a.default.func,clickable:a.default.bool,isIpfsURL:a.default.bool}}}},{package:"$root$",file:"ui/components/multichain/nft-item/nft-item.js"}],[5102,{"./notification-detail-address":5103},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"NotificationDetailAddress",{enumerable:!0,get:function(){return o.NotificationDetailAddress}});var o=e("./notification-detail-address")}}},{package:"$root$",file:"ui/components/multichain/notification-detail-address/hybrid-compute-sdk.ts"}],[5103,{"../../../../shared/modules/hexstring-utils":4544,"../../../helpers/constants/design-system":5355,"../../../helpers/utils/util":5399,"../../component-library":4955,"../notification-detail":5122,"../notification-detail-copy-button":5112,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.NotificationDetailAddress=void 0;var o,a=(o=e("react"))&&o.__esModule?o:{default:o},r=e("../notification-detail"),i=e("../notification-detail-copy-button"),s=e("../../component-library"),l=e("../../../helpers/constants/design-system"),c=e("../../../helpers/utils/util"),u=e("../../../../shared/modules/hexstring-utils");const d=({side:e})=>a.default.createElement(s.Text,{variant:l.TextVariant.bodyLgMedium,fontWeight:l.FontWeight.Medium},e);n.NotificationDetailAddress=({side:e,address:t})=>{const n=(0,u.toChecksumHexAddress)(t),o=(0,c.shortenAddress)(n);return a.default.createElement(r.NotificationDetail,{icon:a.default.createElement(s.AvatarAccount,{address:t}),primaryTextLeft:a.default.createElement(d,{side:e}),secondaryTextLeft:a.default.createElement(i.NotificationDetailCopyButton,{text:t,displayText:o})})}}}},{package:"$root$",file:"ui/components/multichain/notification-detail-address/notification-detail-address.tsx"}],[5104,{"./notification-detail-asset":5105},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"NotificationDetailAsset",{enumerable:!0,get:function(){return o.NotificationDetailAsset}});var o=e("./notification-detail-asset")}}},{package:"$root$",file:"ui/components/multichain/notification-detail-asset/hybrid-compute-sdk.ts"}],[5105,{"../../../helpers/constants/design-system":5355,"../../component-library":4955,"../notification-detail":5122,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.NotificationDetailAsset=void 0;var o,a=(o=e("react"))&&o.__esModule?o:{default:o},r=e("../notification-detail"),i=e("../../component-library"),s=e("../../../helpers/constants/design-system");const l=(e,t,n,o)=>a.default.createElement(i.Text,{variant:e,fontWeight:t,color:n},o);n.NotificationDetailAsset=({icon:e,label:t,detail:n,fiatValue:o,value:c})=>{var u;const d=a.default.createElement(i.AvatarToken,{src:null===(u=e.badge)||void 0===u?void 0:u.src,size:i.AvatarTokenSize.Sm,backgroundColor:s.BackgroundColor.infoDefault,borderColor:s.BorderColor.backgroundDefault,borderWidth:2}),p=e.badge?a.default.createElement(i.BadgeWrapper,{position:e.badge.position||i.BadgeWrapperPosition.topRight,badge:d},a.default.createElement(i.AvatarToken,{src:e.src,borderColor:s.BorderColor.borderMuted,className:"notification-detail-asset__icon"})):a.default.createElement(i.AvatarToken,{src:e.src,borderColor:s.BorderColor.borderMuted,className:"notification-detail-asset__icon"}),m=l(s.TextVariant.bodyLgMedium,s.FontWeight.Medium,s.TextColor.textDefault,t),f=l(s.TextVariant.bodyMd,s.FontWeight.Normal,s.TextColor.textAlternative,n),g=c?l(s.TextVariant.bodyLgMedium,s.FontWeight.Medium,s.TextColor.textDefault,c):undefined,h=o?l(s.TextVariant.bodyMd,s.FontWeight.Normal,s.TextColor.textAlternative,o):undefined;return a.default.createElement(r.NotificationDetail,{icon:p,primaryTextLeft:m,secondaryTextLeft:f,primaryTextRight:g,secondaryTextRight:h})}}}},{package:"$root$",file:"ui/components/multichain/notification-detail-asset/notification-detail-asset.tsx"}],[5106,{"./notification-detail-block-explorer-button":5107},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"NotificationDetailBlockExplorerButton",{enumerable:!0,get:function(){return o.NotificationDetailBlockExplorerButton}});var o=e("./notification-detail-block-explorer-button")}}},{package:"$root$",file:"ui/components/multichain/notification-detail-block-explorer-button/hybrid-compute-sdk.ts"}],[5107,{"../../../../shared/modules/conversion.utils":4537,"../../../helpers/utils/notification.util":5392,"../../../hooks/useI18nContext":5427,"../../../selectors":5987,"../../component-library":4955,"../notification-detail-button":5108,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.NotificationDetailBlockExplorerButton=void 0;var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=d(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}(e("react")),a=e("react-redux"),r=e("../../../selectors"),i=e("../../component-library"),s=e("../../../../shared/modules/conversion.utils"),l=e("../../../hooks/useI18nContext"),c=e("../../../helpers/utils/notification.util"),u=e("../notification-detail-button");function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(d=function(e){return e?n:t})(e)}n.NotificationDetailBlockExplorerButton=({notification:e,chainId:t,txHash:n,id:d})=>{var p;const m=(0,l.useI18nContext)(),f=(0,s.decimalToHex)(t),{blockExplorerConfig:g}=(0,c.getNetworkDetailsByChainId)(`0x${f}`),h=(0,a.useSelector)(r.getAllNetworks),y=(0,o.useMemo)((()=>h.find((e=>e.chainId===f))),[h]),b=(null==y||null===(p=y.rpcPrefs)||void 0===p?void 0:p.blockExplorerUrl)??(null==g?void 0:g.url),v=null!=y&&null!==(k=y.rpcPrefs)&&void 0!==k&&k.blockExplorerUrl?m("notificationItemCheckBlockExplorer"):null!=g&&g.name?m("notificationTransactionSuccessView",[g.name]):m("notificationItemCheckBlockExplorer");var k;return b?o.default.createElement(u.NotificationDetailButton,{notification:e,variant:i.ButtonVariant.Secondary,text:v,href:`${b}/tx/${n}`,id:d,isExternal:!0}):null}}}},{package:"$root$",file:"ui/components/multichain/notification-detail-block-explorer-button/notification-detail-block-explorer-button.tsx"}],[5108,{"./notification-detail-button":5109},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"NotificationDetailButton",{enumerable:!0,get:function(){return o.NotificationDetailButton}});var o=e("./notification-detail-button")}}},{package:"$root$",file:"ui/components/multichain/notification-detail-button/hybrid-compute-sdk.ts"}],[5109,{"../../../../shared/constants/metametrics":4505,"../../../contexts/metametrics":5327,"../../../helpers/constants/design-system":5355,"../../component-library":4955,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.NotificationDetailButton=void 0;var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=l(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}(e("react")),a=e("../../../contexts/metametrics"),r=e("../../../../shared/constants/metametrics"),i=e("../../component-library"),s=e("../../../helpers/constants/design-system");function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(l=function(e){return e?n:t})(e)}n.NotificationDetailButton=({notification:e,variant:t=i.ButtonVariant.Secondary,text:n,href:l,id:c,isExternal:u=!1,endIconName:d=!0})=>{const p=(0,o.useContext)(a.MetaMetricsContext);return o.default.createElement(i.Button,{key:c,href:l,variant:t,externalLink:u,size:i.ButtonSize.Lg,width:s.BlockSize.Full,endIconName:d?i.IconName.Arrow2UpRight:undefined,onClick:()=>{p({category:r.MetaMetricsEventCategory.NotificationInteraction,event:r.MetaMetricsEventName.NotificationDetailClicked,properties:{notificationId:e.id,notificationType:e.type}})}},n)}}}},{package:"$root$",file:"ui/components/multichain/notification-detail-button/notification-detail-button.tsx"}],[5110,{"./notification-detail-collection":5111},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"NotificationDetailCollection",{enumerable:!0,get:function(){return o.NotificationDetailCollection}});var o=e("./notification-detail-collection")}}},{package:"$root$",file:"ui/components/multichain/notification-detail-collection/hybrid-compute-sdk.ts"}],[5111,{"../../../helpers/constants/design-system":5355,"../../../helpers/utils/notification.util":5392,"../../../selectors":5987,"../../app/nft-default-image/nft-default-image":4716,"../../component-library":4955,"../notification-detail":5122,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.NotificationDetailCollection=void 0;var o=d(e("react")),a=e("react-redux"),r=e("../../../selectors"),i=d(e("../../app/nft-default-image/nft-default-image")),s=e("../../../helpers/utils/notification.util"),l=e("../notification-detail"),c=e("../../component-library"),u=e("../../../helpers/constants/design-system");function d(e){return e&&e.__esModule?e:{default:e}}n.NotificationDetailCollection=({icon:e,label:t,collection:n})=>{const{badgeSrc:d,src:p}=e,m=(0,a.useSelector)(r.getIpfsGateway),f=(0,a.useSelector)(r.getOpenSeaEnabled),g=m&&(0,s.isIpfsURL)(p)&&p,h=f&&p&&!(0,s.isIpfsURL)(p),y=o.default.createElement(c.AvatarToken,{src:d,backgroundColor:u.BackgroundColor.infoDefault,borderColor:u.BorderColor.backgroundDefault,borderWidth:2,size:c.AvatarTokenSize.Sm}),b=o.default.createElement(c.BadgeWrapper,{position:c.BadgeWrapperPosition.topRight,badge:y},g||h?o.default.createElement(c.Box,{as:"img",src:p,display:u.Display.Block,justifyContent:u.JustifyContent.center,backgroundColor:u.BackgroundColor.primaryMuted,borderRadius:u.BorderRadius.LG,className:"notification-detail-collection__image"}):o.default.createElement(i.default,{className:"nft-item__default-image notification-detail-collection__image","data-testid":"nft-default-image",clickable:!1})),v=(e,t,n,a)=>o.default.createElement(c.Text,{variant:e,fontWeight:t,color:n},a),k=v(u.TextVariant.bodyLgMedium,u.FontWeight.Medium,u.TextColor.textDefault,t),x=v(u.TextVariant.bodyMd,u.FontWeight.Normal,u.TextColor.textAlternative,n);return o.default.createElement(l.NotificationDetail,{icon:b,primaryTextLeft:k,secondaryTextLeft:x})}}}},{package:"$root$",file:"ui/components/multichain/notification-detail-collection/notification-detail-collection.tsx"}],[5112,{"./notification-detail-copy-button":5113},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"NotificationDetailCopyButton",{enumerable:!0,get:function(){return o.NotificationDetailCopyButton}});var o=e("./notification-detail-copy-button")}}},{package:"$root$",file:"ui/components/multichain/notification-detail-copy-button/hybrid-compute-sdk.ts"}],[5113,{"../../../../shared/constants/time":4518,"../../../helpers/constants/design-system":5355,"../../../hooks/useCopyToClipboard":5417,"../../../hooks/useI18nContext":5427,"../../component-library":4955,"../../ui/tooltip/tooltip":5311,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.NotificationDetailCopyButton=void 0;var o=u(e("react")),a=e("../../component-library"),r=e("../../../helpers/constants/design-system"),i=e("../../../hooks/useCopyToClipboard"),s=u(e("../../ui/tooltip/tooltip")),l=e("../../../hooks/useI18nContext"),c=e("../../../../shared/constants/time");function u(e){return e&&e.__esModule?e:{default:e}}n.NotificationDetailCopyButton=({text:e,displayText:t,color:n=r.TextColor.textAlternative})=>{const[u,d]=(0,i.useCopyToClipboard)(c.MINUTE),p=(0,l.useI18nContext)(),m=p(u?"copiedExclamation":"copyToClipboard");return o.default.createElement(s.default,{position:"bottom",title:m},o.default.createElement(a.ButtonBase,{backgroundColor:r.BackgroundColor.transparent,onClick:()=>"function"==typeof d&&d(e),paddingRight:0,paddingLeft:0,variant:r.TextVariant.bodyMd,fontWeight:r.FontWeight.Normal,color:n,endIconName:u?a.IconName.CopySuccess:a.IconName.Copy,alignItems:r.AlignItems.center,"data-testid":"address-copy-button-text",size:a.ButtonBaseSize.Sm},o.default.createElement(a.Box,{display:r.Display.Flex},t)))}}}},{package:"$root$",file:"ui/components/multichain/notification-detail-copy-button/notification-detail-copy-button.tsx"}],[5114,{"./notification-detail-info":5115},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"NotificationDetailInfo",{enumerable:!0,get:function(){return o.NotificationDetailInfo}});var o=e("./notification-detail-info")}}},{package:"$root$",file:"ui/components/multichain/notification-detail-info/hybrid-compute-sdk.ts"}],[5115,{"../../../helpers/constants/design-system":5355,"../../component-library":4955,"../notification-detail":5122,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.NotificationDetailInfo=void 0;var o,a=(o=e("react"))&&o.__esModule?o:{default:o},r=e("../notification-detail"),i=e("../../component-library"),s=e("../../../helpers/constants/design-system");n.NotificationDetailInfo=({icon:e,label:t,detail:n,action:o})=>a.default.createElement(r.NotificationDetail,{icon:a.default.createElement(i.AvatarIcon,e),primaryTextLeft:a.default.createElement(i.Text,{variant:s.TextVariant.bodyLgMedium,fontWeight:s.FontWeight.Medium,color:s.TextColor.textDefault},t),secondaryTextLeft:a.default.createElement(i.Text,{variant:s.TextVariant.bodyMd,fontWeight:s.FontWeight.Normal,color:s.TextColor.textAlternative},n),secondaryTextRight:o})}}},{package:"$root$",file:"ui/components/multichain/notification-detail-info/notification-detail-info.tsx"}],[5116,{"./notification-detail-network-fee":5117},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"NotificationDetailNetworkFee",{enumerable:!0,get:function(){return o.NotificationDetailNetworkFee}});var o=e("./notification-detail-network-fee")}}},{package:"$root$",file:"ui/components/multichain/notification-detail-network-fee/hybrid-compute-sdk.ts"}],[5117,{"../../../../shared/modules/conversion.utils":4537,"../../../helpers/constants/design-system":5355,"../../../helpers/utils/notification.util":5392,"../../../hooks/useI18nContext":5427,"../../component-library":4955,"../../ui/icon/preloader/preloader-icon.component":5240,"../notification-detail":5122,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.NotificationDetailNetworkFee=void 0;var o,a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=p(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}(e("react")),r=e("../../../hooks/useI18nContext"),i=e("../../../helpers/utils/notification.util"),s=e("../../../../shared/modules/conversion.utils"),l=e("../notification-detail"),c=e("../../component-library"),u=e("../../../helpers/constants/design-system"),d=(o=e("../../ui/icon/preloader/preloader-icon.component"))&&o.__esModule?o:{default:o};function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(p=function(e){return e?n:t})(e)}const m=({label:e,value:t})=>a.default.createElement(c.Box,{display:u.Display.Flex,justifyContent:u.JustifyContent.spaceBetween,padding:4},a.default.createElement(c.Text,{color:u.TextColor.textDefault,variant:u.TextVariant.bodyMd,fontWeight:u.FontWeight.Normal},e),a.default.createElement(c.Text,{color:u.TextColor.textAlternative,variant:u.TextVariant.bodyMd,fontWeight:u.FontWeight.Normal},t));n.NotificationDetailNetworkFee=({notification:e})=>{const t=(0,r.useI18nContext)(),[n,o]=(0,a.useState)(!1),[p,f]=(0,a.useState)(null),[g,h]=(0,a.useState)(!1),y=(e=>{const t=(0,s.decimalToHex)(e.chain_id);return(0,i.getNetworkDetailsByChainId)(`0x${t}`)})(e);(0,a.useEffect)((()=>{(async()=>{try{const t=await(0,i.getNetworkFees)(e);t&&f({transactionFee:{transactionFeeInEther:t.transactionFeeInEth,transactionFeeInUsd:t.transactionFeeInUsd},gasLimitUnits:t.gasLimit,gasUsedUnits:t.gasUsed,baseFee:t.baseFee,priorityFee:t.priorityFee,maxFeePerGas:t.maxFeePerGas})}catch(e){h(!0)}})()}),[]);return p||g?!p&&g?a.default.createElement(c.Box,{height:u.BlockSize.Full,width:u.BlockSize.Full,display:u.Display.Flex,justifyContent:u.JustifyContent.center,alignItems:u.AlignItems.center,flexDirection:u.FlexDirection.Column,"data-testid":"notifications-list-loading",paddingTop:4},a.default.createElement(c.Text,{as:"p",color:u.TextColor.errorDefault,variant:u.TextVariant.bodyMd},t("notificationItemError"))):a.default.createElement(c.Box,{width:u.BlockSize.Full,backgroundColor:u.BackgroundColor.transparent,padding:0},a.default.createElement(l.NotificationDetail,{icon:a.default.createElement(c.AvatarIcon,{iconName:c.IconName.Gas,color:u.TextColor.infoDefault,backgroundColor:u.BackgroundColor.infoMuted}),primaryTextLeft:a.default.createElement(c.Text,{variant:u.TextVariant.bodyLgMedium,fontWeight:u.FontWeight.Medium,color:u.TextColor.textDefault},t("notificationDetailNetworkFee")),secondaryTextLeft:a.default.createElement(c.Text,{variant:u.TextVariant.bodyMd,fontWeight:u.FontWeight.Normal,color:u.TextColor.textAlternative},null==p?void 0:p.transactionFee.transactionFeeInEther," ",null==y?void 0:y.nativeCurrencySymbol," (",null==p?void 0:p.transactionFee.transactionFeeInUsd," USD)"),secondaryTextRight:a.default.createElement(c.Box,{paddingLeft:0,paddingRight:0,paddingTop:0,backgroundColor:u.BackgroundColor.transparent,display:u.Display.InlineFlex,alignItems:u.AlignItems.center,justifyContent:u.JustifyContent.flexEnd,gap:2,as:"button",onClick:()=>{o(!n)}},a.default.createElement(c.Text,{color:u.TextColor.primaryDefault,variant:u.TextVariant.bodyMd},t("notificationDetail")),a.default.createElement(c.Icon,{name:n?c.IconName.ArrowUp:c.IconName.ArrowDown,color:u.IconColor.primaryDefault,size:c.IconSize.Sm,marginInlineEnd:1}))}),n&&a.default.createElement(c.Box,{display:u.Display.Flex,flexDirection:u.FlexDirection.Column,justifyContent:u.JustifyContent.flexStart,width:u.BlockSize.Full},a.default.createElement(m,{label:t("notificationDetailGasLimit"),value:(null==p?void 0:p.gasLimitUnits.toString())||""}),a.default.createElement(m,{label:t("notificationDetailGasUsed"),value:(null==p?void 0:p.gasUsedUnits.toString())||""}),a.default.createElement(m,{label:t("notificationDetailBaseFee"),value:(null==p?void 0:p.baseFee)||""}),a.default.createElement(m,{label:t("notificationDetailPriorityFee"),value:(null==p?void 0:p.priorityFee)||""}),a.default.createElement(m,{label:t("notificationDetailMaxFee"),value:(null==p?void 0:p.maxFeePerGas)||""}))):a.default.createElement(c.Box,{height:u.BlockSize.Full,width:u.BlockSize.Full,display:u.Display.Flex,justifyContent:u.JustifyContent.center,alignItems:u.AlignItems.center,flexDirection:u.FlexDirection.Column,"data-testid":"notifications-list-loading"},a.default.createElement(d.default,{size:36}))}}}},{package:"$root$",file:"ui/components/multichain/notification-detail-network-fee/notification-detail-network-fee.tsx"}],[5118,{"./notification-detail-nft":5119},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"NotificationDetailNft",{enumerable:!0,get:function(){return o.NotificationDetailNft}});var o=e("./notification-detail-nft")}}},{package:"$root$",file:"ui/components/multichain/notification-detail-nft/hybrid-compute-sdk.ts"}],[5119,{"../../../helpers/constants/design-system":5355,"../../component-library":4955,"../nft-item":5100,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.NotificationDetailNft=void 0;var o,a=(o=e("react"))&&o.__esModule?o:{default:o},r=e("../../component-library"),i=e("../nft-item"),s=e("../../../helpers/constants/design-system");n.NotificationDetailNft=({networkSrc:e,tokenId:t,tokenName:n,tokenSrc:o,networkName:l})=>a.default.createElement(r.Box,{paddingTop:1,paddingBottom:4,display:s.Display.Flex,alignItems:s.AlignItems.center,justifyContent:s.JustifyContent.center},a.default.createElement(r.Box,{className:"notification-detail-nft__image"},a.default.createElement(i.NftItem,{networkSrc:e,src:o,name:n,alt:n,networkName:l,tokenId:t})))}}},{package:"$root$",file:"ui/components/multichain/notification-detail-nft/notification-detail-nft.tsx"}],[5120,{"./notification-detail-title":5121},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"NotificationDetailTitle",{enumerable:!0,get:function(){return o.NotificationDetailTitle}});var o=e("./notification-detail-title")}}},{package:"$root$",file:"ui/components/multichain/notification-detail-title/hybrid-compute-sdk.ts"}],[5121,{"../../../helpers/constants/design-system":5355,"../../component-library":4955,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.NotificationDetailTitle=void 0;var o,a=(o=e("react"))&&o.__esModule?o:{default:o},r=e("../../../helpers/constants/design-system"),i=e("../../component-library");n.NotificationDetailTitle=({title:e,date:t})=>a.default.createElement(i.Box,{display:r.Display.Flex,justifyContent:r.JustifyContent.center,alignItems:r.AlignItems.center,width:r.BlockSize.Full,flexDirection:r.FlexDirection.Column,paddingInlineStart:8,paddingInlineEnd:8},a.default.createElement(i.Text,{variant:r.TextVariant.headingSm,textAlign:r.TextAlign.Center,overflowWrap:r.OverflowWrap.BreakWord},e),a.default.createElement(i.Text,{variant:r.TextVariant.bodyXs},t))}}},{package:"$root$",file:"ui/components/multichain/notification-detail-title/notification-detail-title.tsx"}],[5122,{"./notification-detail":5123},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"NotificationDetail",{enumerable:!0,get:function(){return o.NotificationDetail}});var o=e("./notification-detail")}}},{package:"$root$",file:"ui/components/multichain/notification-detail/hybrid-compute-sdk.ts"}],[5123,{"../../../helpers/constants/design-system":5355,"../../component-library":4955,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.NotificationDetail=void 0;var o,a=(o=e("react"))&&o.__esModule?o:{default:o},r=e("../../component-library"),i=e("../../../helpers/constants/design-system");n.NotificationDetail=({icon:e,primaryTextLeft:t,primaryTextRight:n,secondaryTextLeft:o,secondaryTextRight:s})=>a.default.createElement(r.Box,{display:i.Display.Flex,justifyContent:i.JustifyContent.spaceBetween,alignItems:i.AlignItems.flexStart,width:i.BlockSize.Full,paddingBottom:2,paddingRight:4,paddingLeft:4,paddingTop:2,backgroundColor:i.BackgroundColor.transparent},a.default.createElement(r.Box,{display:i.Display.Flex,gap:4,paddingRight:4,height:i.BlockSize.Full,alignItems:i.AlignItems.flexStart},a.default.createElement(r.Box,{height:i.BlockSize.Full,className:"notification-detail__icon"},e),a.default.createElement(r.Box,{display:i.Display.Block,flexDirection:i.FlexDirection.Column,alignItems:i.AlignItems.flexStart,textAlign:i.TextAlign.Left},t,o)),a.default.createElement(r.Box,{display:i.Display.Flex,flexDirection:i.FlexDirection.Column,alignItems:i.AlignItems.flexEnd,textAlign:i.TextAlign.Right,className:"notification-detail__right-container"},n??null,s??null))}}},{package:"$root$",file:"ui/components/multichain/notification-detail/notification-detail.tsx"}],[5124,{"./notification-list-item-icon":5125},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"NotificationListItemIcon",{enumerable:!0,get:function(){return o.NotificationListItemIcon}});var o=e("./notification-list-item-icon")}}},{package:"$root$",file:"ui/components/multichain/notification-list-item-icon/index.js"}],[5125,{"../../../helpers/constants/design-system":5355,"../../../helpers/utils/notification.util":5392,"../../../selectors":5987,"../../app/nft-default-image/nft-default-image":4716,"../../component-library":4955,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.NotificationListItemIconType=n.NotificationListItemIcon=void 0;var o=u(e("react")),a=e("react-redux"),r=e("../../../selectors"),i=u(e("../../app/nft-default-image/nft-default-image")),s=e("../../../helpers/utils/notification.util"),l=e("../../component-library"),c=e("../../../helpers/constants/design-system");function u(e){return e&&e.__esModule?e:{default:e}}let d=n.NotificationListItemIconType=function(e){return e.Token="token",e.Nft="nft",e}({});const p=({src:e})=>{const{ipfsImageIsRenderable:t,openseaImageIsRenderable:n,isIpfs:u}=(e=>{const t=(0,a.useSelector)(r.getIpfsGateway),n=(0,a.useSelector)(r.getOpenSeaEnabled),o=(0,s.isIpfsURL)(e);return{ipfsImageIsRenderable:t&&o&&e,openseaImageIsRenderable:n&&e&&!o,isIpfs:o}})(e);return t||n?o.default.createElement(l.Box,{"data-testid":"nft-image",as:"img",src:e,display:c.Display.Block,justifyContent:c.JustifyContent.center,backgroundColor:c.BackgroundColor.primaryMuted,borderRadius:c.BorderRadius.SM,className:"notification-list-item-icon__image"}):o.default.createElement(i.default,{className:"nft-item__default-image notification-list-item-icon__image","data-testid":"nft-default-image",clickable:u})},m={[d.Token]:({src:e})=>o.default.createElement(l.AvatarToken,{"data-testid":"avatar-token",src:e,borderStyle:c.BorderStyle.none,size:l.AvatarTokenSize.Md}),[d.Nft]:({src:e})=>o.default.createElement(p,{src:e}),default:()=>o.default.createElement(l.Box,{"data-testid":"default-icon",as:"img",display:c.Display.Block,borderRadius:c.BorderRadius.SM,backgroundColor:c.BackgroundColor.backgroundDefault,className:"notification-list-item-icon__image"})};n.NotificationListItemIcon=({type:e,value:t,badge:n})=>{const a=m[e]||m.default,r=o.default.createElement(a,{src:t});return o.default.createElement(o.default.Fragment,null,n?((e,t)=>o.default.createElement(l.BadgeWrapper,{"data-testid":"badge-wrapper",position:e.position||l.BadgeWrapperPosition.bottomRight,badge:o.default.createElement(l.AvatarIcon,{iconName:e.icon,size:l.AvatarIconSize.Sm,backgroundColor:c.BackgroundColor.infoDefault,borderColor:c.BorderColor.backgroundDefault,borderWidth:2,iconProps:{name:e.icon,color:c.IconColor.infoInverse,size:l.IconSize.Xs}})},t))(n,r):o.default.createElement(l.Box,{borderRadius:c.BorderRadius.XL},r))}}}},{package:"$root$",file:"ui/components/multichain/notification-list-item-icon/notification-list-item-icon.tsx"}],[5126,{"./notification-list-item-snap":5127},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"NotificationListItemSnap",{enumerable:!0,get:function(){return o.NotificationListItemSnap}});var o=e("./notification-list-item-snap")}}},{package:"$root$",file:"ui/components/multichain/notification-list-item-snap/hybrid-compute-sdk.ts"}],[5127,{"../../../helpers/constants/design-system":5355,"../../../helpers/utils/notification.util":5392,"../../app/snaps/snap-avatar":4772,"../../app/snaps/snap-ui-markdown":4810,"../../component-library":4955,"../notification-list-item-text":5128,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.NotificationListItemSnap=void 0;var o=u(e("react")),a=e("../../component-library"),r=e("../../../helpers/constants/design-system"),i=e("../notification-list-item-text"),s=e("../../../helpers/utils/notification.util"),l=e("../../app/snaps/snap-ui-markdown"),c=u(e("../../app/snaps/snap-avatar"));function u(e){return e&&e.__esModule?e:{default:e}}function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;to.default.createElement(a.Box,{className:"notification-list-item "+(t?"":"notification-list-item--unread"),display:r.Display.Flex,flexDirection:r.FlexDirection.Column,justifyContent:r.JustifyContent.spaceBetween,alignItems:r.AlignItems.flexStart,width:r.BlockSize.Full,paddingBottom:3,paddingRight:5,paddingLeft:5,paddingTop:3,key:e,onClick:()=>{null==m||m()},style:{cursor:"pointer"}},o.default.createElement(a.Box,{display:r.Display.Flex,justifyContent:r.JustifyContent.spaceBetween,flexDirection:r.FlexDirection.Row,alignItems:r.AlignItems.flexStart,width:r.BlockSize.Full,backgroundColor:r.BackgroundColor.transparent,gap:4,height:r.BlockSize.Full,style:{paddingLeft:"6px",paddingRight:"6px",paddingTop:"2px"}},!t&&o.default.createElement(a.Box,{display:r.Display.Block,className:"notification-list-item__unread-dot__wrapper--snap"},o.default.createElement(a.Icon,{name:a.IconName.FullCircle,color:r.IconColor.primaryDefault,className:"notification-list-item__unread-dot__dot","data-testid":"unread-dot"})),o.default.createElement(a.Box,{height:r.BlockSize.Full,className:"notification-list-item__icon"},o.default.createElement(c.default,{snapId:"npm:@metamask/notification-example-snap",badgeBackgroundColor:r.BackgroundColor.backgroundDefault,avatarSize:a.IconSize.Md})),o.default.createElement(a.Box,{display:r.Display.Flex,gap:4,height:r.BlockSize.Full,alignItems:r.AlignItems.flexStart,width:r.BlockSize.Full},o.default.createElement(a.Box,{display:r.Display.Block,flexDirection:r.FlexDirection.Column,alignItems:r.AlignItems.flexStart,textAlign:r.TextAlign.Left,width:r.BlockSize.Full},o.default.createElement(a.Box,{display:r.Display.Flex,flexDirection:r.FlexDirection.Row,alignItems:r.AlignItems.flexStart,justifyContent:r.JustifyContent.spaceBetween},o.default.createElement(a.Box,{onClick:()=>{null==f||f()}},o.default.createElement(i.NotificationListItemText,d({},n,{color:r.TextColor.primaryDefault}))),o.default.createElement(a.Text,{color:r.TextColor.textMuted,variant:r.TextVariant.bodySm,fontWeight:r.FontWeight.Normal,as:"p"},(0,s.formatMenuItemDate)(p))),o.default.createElement(a.Box,{color:r.TextColor.textDefault,className:"snap-notifications__item__details__message"},o.default.createElement(l.SnapUIMarkdown,{markdown:!0},u))))))}}},{package:"$root$",file:"ui/components/multichain/notification-list-item-snap/notification-list-item-snap.tsx"}],[5128,{"./notification-list-item-text":5129},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"NotificationListItemText",{enumerable:!0,get:function(){return o.NotificationListItemText}});var o=e("./notification-list-item-text")}}},{package:"$root$",file:"ui/components/multichain/notification-list-item-text/hybrid-compute-sdk.ts"}],[5129,{"../../../helpers/constants/design-system":5355,"../../../helpers/utils/notification.util":5392,"../../component-library":4955,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.NotificationListItemText=void 0;var o,a=(o=e("react"))&&o.__esModule?o:{default:o},r=e("../../component-library"),i=e("../../../helpers/constants/design-system"),s=e("../../../helpers/utils/notification.util");n.NotificationListItemText=({items:e,variant:t=i.TextVariant.bodySm,color:n=i.TextColor.textDefault})=>{const o=e.map((({text:t,highlighted:o},l)=>{const c=(0,s.getRandomKey)(t,l),u=o?i.TextColor.infoDefault:n,d=l!==e.length-1&&" ";return a.default.createElement(r.Text,{key:c,as:"span",variant:i.TextVariant.inherit,fontWeight:i.FontWeight.Normal,color:u},t,d)}));return a.default.createElement(r.Text,{as:"p",variant:t},o)}}}},{package:"$root$",file:"ui/components/multichain/notification-list-item-text/notification-list-item-text.tsx"}],[5130,{"./notification-list-item":5131},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"NotificationListItem",{enumerable:!0,get:function(){return o.NotificationListItem}});var o=e("./notification-list-item")}}},{package:"$root$",file:"ui/components/multichain/notification-list-item/hybrid-compute-sdk.ts"}],[5131,{"../../../helpers/constants/design-system":5355,"../../../helpers/utils/notification.util":5392,"../../component-library":4955,"../notification-list-item-icon":5124,"../notification-list-item-text":5128,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.NotificationListItem=void 0;var o,a=(o=e("react"))&&o.__esModule?o:{default:o},r=e("../../component-library"),i=e("../../../helpers/constants/design-system"),s=e("../notification-list-item-icon"),l=e("../notification-list-item-text"),c=e("../../../helpers/utils/notification.util");function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;ta.default.createElement(r.Box,{className:"notification-list-item "+(t?"":"notification-list-item--unread"),display:i.Display.Flex,flexDirection:i.FlexDirection.Column,justifyContent:i.JustifyContent.spaceBetween,alignItems:i.AlignItems.flexStart,width:i.BlockSize.Full,paddingBottom:3,paddingRight:5,paddingLeft:5,paddingTop:3,key:e},a.default.createElement(r.Box,{display:i.Display.Flex,justifyContent:i.JustifyContent.spaceBetween,flexDirection:i.FlexDirection.Row,alignItems:i.AlignItems.flexStart,as:"button",onClick:()=>{null==f||f()},width:i.BlockSize.Full,backgroundColor:i.BackgroundColor.transparent},!t&&a.default.createElement(r.Box,{display:i.Display.Block,className:"notification-list-item__unread-dot__wrapper"},a.default.createElement(r.Icon,{name:r.IconName.FullCircle,color:i.IconColor.primaryDefault,className:"notification-list-item__unread-dot__dot","data-testid":"unread-dot"})),a.default.createElement(r.Box,{display:i.Display.Flex,gap:4,paddingRight:4,height:i.BlockSize.Full,alignItems:i.AlignItems.flexStart},a.default.createElement(r.Box,{height:i.BlockSize.Full,className:"notification-list-item__icon"},a.default.createElement(s.NotificationListItemIcon,n)),a.default.createElement(r.Box,{display:i.Display.Block,flexDirection:i.FlexDirection.Column,alignItems:i.AlignItems.flexStart,textAlign:i.TextAlign.Left,width:i.BlockSize.Full},a.default.createElement(l.NotificationListItemText,u({},o,{color:i.TextColor.textAlternative})),a.default.createElement(l.NotificationListItemText,d))),a.default.createElement(r.Box,{display:i.Display.Flex,flexDirection:i.FlexDirection.Column,alignItems:i.AlignItems.flexEnd,textAlign:i.TextAlign.Right,className:"notification-list-item__right-container"},a.default.createElement(r.Text,{color:i.TextColor.textMuted,variant:i.TextVariant.bodySm,fontWeight:i.FontWeight.Normal,as:"p"},(0,c.formatMenuItemDate)(p)),m&&a.default.createElement(r.Text,{color:i.TextColor.textDefault,variant:i.TextVariant.bodyMd,fontWeight:i.FontWeight.Normal,as:"p"},m))))}}},{package:"$root$",file:"ui/components/multichain/notification-list-item/notification-list-item.tsx"}],[5132,{"./notifications-page":5133},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"NotificationsPage",{enumerable:!0,get:function(){return o.NotificationsPage}});var o=e("./notifications-page")}}},{package:"$root$",file:"ui/components/multichain/notifications-page/index.js"}],[5133,{"../../../helpers/constants/design-system":5355,"../../../helpers/constants/routes":5361,"../../../selectors":5987,"../../component-library":4955,"../../ui/metafox-logo":5268,"../pages/page":5152,react:4243,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.NotificationsPage=function({children:e}){const t=(0,a.useHistory)();return o.default.createElement("div",{className:"main-container","data-testid":"notifications-page"},o.default.createElement(r.Box,{display:[i.Display.None,i.Display.Flex],alignItems:i.AlignItems.center,margin:2,className:"multichain-app-header-logo","data-testid":"app-header-logo",justifyContent:i.JustifyContent.center},o.default.createElement(s.default,{unsetIconHeight:!0,onClick:()=>t.push(l.DEFAULT_ROUTE)})),o.default.createElement(c.Page,null,e))};var o=u(e("react")),a=e("react-router-dom"),r=e("../../component-library"),i=e("../../../helpers/constants/design-system"),s=u(e("../../ui/metafox-logo"));e("../../../selectors");var l=e("../../../helpers/constants/routes"),c=e("../pages/page");function u(e){return e&&e.__esModule?e:{default:e}}}}},{package:"$root$",file:"ui/components/multichain/notifications-page/notifications-page.tsx"}],[5134,{"./notifications-settings-account":5135},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"NotificationsSettingsAccount",{enumerable:!0,get:function(){return o.NotificationsSettingsAccount}});var o=e("./notifications-settings-account")}}},{package:"$root$",file:"ui/components/multichain/notifications-settings-account/hybrid-compute-sdk.ts"}],[5135,{"../../../helpers/constants/design-system":5355,"../../../helpers/utils/util":5399,"../../component-library":4955,"@metamask/controller-utils":1163,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.NotificationsSettingsAccount=function({address:e,name:t}){const n=(0,r.toChecksumHexAddress)(e);return a.default.createElement(i.Box,{display:s.Display.Flex,flexDirection:s.FlexDirection.Row,alignItems:s.AlignItems.center,gap:4},a.default.createElement(i.AvatarAccount,{address:n}),a.default.createElement(i.Box,{display:s.Display.Flex,flexDirection:s.FlexDirection.Column,alignItems:s.AlignItems.flexStart,justifyContent:s.JustifyContent.spaceBetween,width:s.BlockSize.Full},a.default.createElement(i.Text,{variant:s.TextVariant.bodyLgMedium,textAlign:s.TextAlign.Left},t??n),a.default.createElement(i.Text,{variant:s.TextVariant.bodyMd,textAlign:s.TextAlign.Left,color:s.TextColor.textAlternative},(0,l.shortenAddress)(n))))};var o,a=(o=e("react"))&&o.__esModule?o:{default:o},r=e("@metamask/controller-utils"),i=e("../../component-library"),s=e("../../../helpers/constants/design-system"),l=e("../../../helpers/utils/util")}}},{package:"$root$",file:"ui/components/multichain/notifications-settings-account/notifications-settings-account.tsx"}],[5136,{"./notifications-settings-box":5137},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"NotificationsSettingsBox",{enumerable:!0,get:function(){return o.NotificationsSettingsBox}});var o=e("./notifications-settings-box")}}},{package:"$root$",file:"ui/components/multichain/notifications-settings-box/hybrid-compute-sdk.ts"}],[5137,{"../../../helpers/constants/design-system":5355,"../../../hooks/useI18nContext":5427,"../../component-library":4955,"../../ui/icon/preloader/preloader-icon.component":5240,"../../ui/toggle-button":5306,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.NotificationsSettingsBox=function({children:e,value:t,loading:n=!1,disabled:c=!1,error:u=null,onToggle:d}){const p=(0,a.useI18nContext)();return o.default.createElement(r.Box,{width:s.BlockSize.Full},o.default.createElement(r.Box,{display:s.Display.Flex,flexDirection:s.FlexDirection.Row,alignItems:s.AlignItems.center,justifyContent:s.JustifyContent.spaceBetween,width:s.BlockSize.Full,gap:4,className:"notifications-settings-box"},e,o.default.createElement(r.Box,{className:"notifications-settings-box__toggle"},n?o.default.createElement(r.Box,{textAlign:s.TextAlign.Right},o.default.createElement(l.default,{size:24})):o.default.createElement(i.default,{value:t,onToggle:d,disabled:c,dataTestId:"test-toggle",className:"notifications-settings-box__toggle"}))),u&&o.default.createElement(r.Box,{paddingTop:0},o.default.createElement(r.Text,{as:"p",color:s.TextColor.errorDefault,paddingTop:2},p("notificationsSettingsBoxError"))))};var o=c(e("react")),a=e("../../../hooks/useI18nContext"),r=e("../../component-library"),i=c(e("../../ui/toggle-button")),s=e("../../../helpers/constants/design-system"),l=c(e("../../ui/icon/preloader/preloader-icon.component"));function c(e){return e&&e.__esModule?e:{default:e}}}}},{package:"$root$",file:"ui/components/multichain/notifications-settings-box/notifications-settings-box.tsx"}],[5138,{"./notifications-settings-type":5139},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"NotificationsSettingsType",{enumerable:!0,get:function(){return o.NotificationsSettingsType}});var o=e("./notifications-settings-type")}}},{package:"$root$",file:"ui/components/multichain/notifications-settings-type/hybrid-compute-sdk.ts"}],[5139,{"../../../helpers/constants/design-system":5355,"../../component-library":4955,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.NotificationsSettingsType=function({icon:e,title:t,text:n}){return a.default.createElement(r.Box,{display:i.Display.Flex,flexDirection:i.FlexDirection.Row,alignItems:i.AlignItems.center,gap:4},e&&a.default.createElement(r.Icon,{name:e,size:r.IconSize.Lg,"data-testid":"icon"}),a.default.createElement(r.Box,{display:i.Display.Flex,flexDirection:i.FlexDirection.Column,alignItems:i.AlignItems.stretch,justifyContent:i.JustifyContent.spaceBetween,width:i.BlockSize.Full},a.default.createElement(r.Text,{variant:i.TextVariant.bodyLgMedium,textAlign:i.TextAlign.Left},t),n&&a.default.createElement(r.Text,{variant:i.TextVariant.bodyMd,textAlign:i.TextAlign.Left,color:i.TextColor.textAlternative},n)))};var o,a=(o=e("react"))&&o.__esModule?o:{default:o},r=e("../../component-library"),i=e("../../../helpers/constants/design-system")}}},{package:"$root$",file:"ui/components/multichain/notifications-settings-type/notifications-settings-type.tsx"}],[5140,{"./notifications-tag-counter":5141},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"NotificationsTagCounter",{enumerable:!0,get:function(){return o.NotificationsTagCounter}});var o=e("./notifications-tag-counter")}}},{package:"$root$",file:"ui/components/multichain/notifications-tag-counter/hybrid-compute-sdk.ts"}],[5141,{"../../../helpers/constants/design-system":5355,"../../../hooks/metamask-notifications/useCounter":5404,"../../component-library":4955,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.NotificationsTagCounter=void 0;var o,a=(o=e("react"))&&o.__esModule?o:{default:o},r=e("../../../hooks/metamask-notifications/useCounter"),i=e("../../component-library"),s=e("../../../helpers/constants/design-system");n.NotificationsTagCounter=({noLabel:e=!1})=>{const{notificationsCount:t}=(0,r.useCounter)();return 0===t?null:e?a.default.createElement(i.Box,{display:s.Display.Block,className:"notification-list-item__unread-dot__wrapper",style:{position:"absolute",cursor:"pointer",top:"-5px",left:"10px",zIndex:1},backgroundColor:s.BackgroundColor.errorDefault,borderStyle:s.BorderStyle.none,borderRadius:s.BorderRadius.LG,paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0},a.default.createElement(i.Text,{color:s.TextColor.errorInverse,variant:s.TextVariant.bodyXs,className:"notifications-tag-counter__unread-dot",textAlign:s.TextAlign.Center},t>10?"9+":t)):a.default.createElement(i.Box,{backgroundColor:s.BackgroundColor.errorDefault,borderStyle:s.BorderStyle.none,borderRadius:s.BorderRadius.LG,paddingTop:0,paddingBottom:0,className:"notifications-tag-counter"},a.default.createElement(i.Text,{color:s.TextColor.errorInverse,variant:s.TextVariant.bodySm,"data-testid":"global-menu-notification-count",className:"notifications-tag-counter__text",textAlign:s.TextAlign.Center},t>10?"9+":t))}}}},{package:"$root$",file:"ui/components/multichain/notifications-tag-counter/notifications-tag-counter.tsx"}],[5142,{"../../../../../helpers/constants/design-system":5355,"../../../../../hooks/useI18nContext":5427,"../../../../component-library":4955,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.NoConnectionContent=void 0;var o,a=(o=e("react"))&&o.__esModule?o:{default:o},r=e("../../../../../helpers/constants/design-system"),i=e("../../../../../hooks/useI18nContext"),s=e("../../../../component-library");n.NoConnectionContent=()=>{const e=(0,i.useI18nContext)();return a.default.createElement(s.Box,{className:"connections-page__no-site-connected-content",display:r.Display.Flex,flexDirection:r.FlexDirection.Column,alignItems:r.AlignItems.center,justifyContent:r.JustifyContent.center,gap:2,paddingLeft:4,paddingRight:4},a.default.createElement(s.Text,{variant:r.TextVariant.bodyMdMedium,textAlign:r.TextAlign.Center},e("noConnectedAccountTitle")),a.default.createElement(s.Text,{variant:r.TextVariant.bodyMd,textAlign:r.TextAlign.Center},e("noConnectedAccountDescription")))}}}},{package:"$root$",file:"ui/components/multichain/pages/connections/components/no-connection.tsx"}],[5143,{"../..":5092,"../../../../helpers/constants/design-system":5355,"../../../../helpers/constants/routes":5361,"../../../../helpers/utils/util":5399,"../../../../hooks/useI18nContext":5427,"../../../../selectors":5987,"../../../../store/actions":5998,"../../../component-library":4955,"../../account-list-menu/account-list-menu":5024,"../../connect-accounts-modal/connect-accounts-modal":5064,"../../disconnect-all-modal/disconnect-all-modal":5077,"../page":5152,"./components/no-connection":5142,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.Connections=void 0;var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=v(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}(e("react")),a=e("react-redux"),r=e("react-router-dom"),i=e("../../../../helpers/constants/design-system"),s=e("../../../../helpers/constants/routes"),l=e("../../../../helpers/utils/util"),c=e("../../../../hooks/useI18nContext"),u=e("../../../../selectors"),d=e("../../../component-library"),p=e("../../account-list-menu/account-list-menu"),m=e("../.."),f=e("../page"),g=e("../../connect-accounts-modal/connect-accounts-modal"),h=e("../../../../store/actions"),y=e("../../disconnect-all-modal/disconnect-all-modal"),b=e("./components/no-connection");function v(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(v=function(e){return e?n:t})(e)}n.Connections=()=>{var e;const t=(0,c.useI18nContext)(),n=(0,a.useDispatch)(),v=(0,r.useHistory)(),[k,x]=(0,o.useState)(!1),[T,C]=(0,o.useState)(!1),[w,_]=(0,o.useState)(""),[E,M]=(0,o.useState)(!1),[S,O]=(0,o.useState)(!1),A=(0,r.useParams)(),N=decodeURIComponent(A.origin),I=N,P=(0,a.useSelector)(u.getConnectedSitesList),j=(0,a.useSelector)(u.getSubjectMetadata)[I],{openMetaMaskTabs:B}=(0,a.useSelector)((e=>e.appState)),{id:D}=(0,a.useSelector)((e=>e.activeTab)),F=(0,a.useSelector)((e=>(0,u.getUnconnectedAccounts)(e,I))),L=(0,a.useSelector)((e=>(0,u.getOrderedConnectedAccountsForConnectedDapp)(e,I))),R=(0,a.useSelector)(u.getSelectedAccount),$=(0,a.useSelector)(u.getInternalAccounts),z=(0,p.mergeAccounts)(L,$),W=(0,a.useSelector)(u.getPermittedAccountsByOrigin),U=(0,a.useSelector)(u.getPermissionSubjects),V=!(null!==(e=W[I])&&void 0!==e&&e.length);let H={origin:null};I&&V&&!B[D]&&(H={origin:I});const G=P[I],q=(0,a.useSelector)((e=>(0,u.getPermittedAccountsForSelectedTab)(e,I))),K=z.findIndex(((e,t)=>t===z.reduce(((e,t,n)=>t.metadata.lastSelected>z[e].metadata.lastSelected?n:e),0)));return o.default.createElement(f.Page,{"data-testid":"connections-page",className:"main-container connections-page"},o.default.createElement(f.Header,{backgroundColor:i.BackgroundColor.backgroundDefault,startAccessory:o.default.createElement(d.ButtonIcon,{ariaLabel:t("back"),iconName:d.IconName.ArrowLeft,className:"connections-header__start-accessory",color:i.IconColor.iconDefault,onClick:()=>v.goBack(),size:d.ButtonIconSize.Sm})},o.default.createElement(d.Box,{display:i.Display.Flex,alignItems:i.AlignItems.center,gap:2,justifyContent:i.JustifyContent.center,className:"connections-header__title"},null!=G&&G.iconUrl?o.default.createElement(d.AvatarFavicon,{name:G.name,size:d.AvatarFaviconSize.Sm,src:G.iconUrl}):o.default.createElement(d.Icon,{name:d.IconName.Global,size:d.IconSize.Sm,color:i.IconColor.iconDefault}),o.default.createElement(d.Text,{as:"span",variant:i.TextVariant.headingMd,textAlign:i.TextAlign.Center,ellipsis:!0},(0,l.getURLHost)(N)))),o.default.createElement(f.Content,{padding:0},q.length>0&&p.mergeAccounts.length>0?o.default.createElement(d.Box,null,z.map(((e,n)=>{var a;const r=null===(a={}[e.address])||void 0===a?void 0:a.find((({origin:e})=>e===I)),i=R.address===e.address;let s;return s=n===K?{...e,isAccountActive:!0}:{...e},o.default.createElement(m.AccountListItem,{account:s,key:e.address,accountsCount:z.length,selected:i,connectedAvatar:null==r?void 0:r.iconUrl,menuType:m.AccountListItemMenuTypes.Connection,currentTabOrigin:I,isActive:s.isAccountActive?t("active"):null,onActionClick:_})}))):o.default.createElement(b.NoConnectionContent,null),k?o.default.createElement(g.ConnectAccountsModal,{onClose:()=>x(!1),onAccountsUpdate:()=>M(!0),activeTabOrigin:I}):null,T?o.default.createElement(y.DisconnectAllModal,{type:y.DisconnectType.Account,hostname:I,onClose:()=>C(!1),onClick:()=>(()=>{const e=U[I];if(e){const t=Object.values(e.permissions).map((({parentCapability:e})=>e));if(t.length>0){const e={[I]:t};n((0,h.removePermissionsFor)(e))}C(!1),O(!0)}})()}):null),o.default.createElement(f.Footer,null,o.default.createElement(d.Box,{display:i.Display.Flex,flexDirection:i.FlexDirection.Column,width:i.BlockSize.Full,gap:4},E?o.default.createElement(m.ToastContainer,null,o.default.createElement(m.Toast,{text:t("connectedAccountsToast"),onClose:()=>M(!1),startAdornment:o.default.createElement(d.AvatarFavicon,{name:null==G?void 0:G.name,size:d.AvatarFaviconSize.Sm,src:null==G?void 0:G.iconUrl})})):null,S?o.default.createElement(m.ToastContainer,null,o.default.createElement(m.Toast,{text:t("disconnectedAllAccountsToast",[(0,l.getURLHost)(I)]),onClose:()=>O(!1),startAdornment:o.default.createElement(d.AvatarFavicon,{name:null==j?void 0:j.name,size:d.AvatarFaviconSize.Sm,src:null==j?void 0:j.iconUrl})})):null,w.length>0?o.default.createElement(m.ToastContainer,null,o.default.createElement(m.Toast,{text:t("disconnectedSingleAccountToast",[w,(0,l.getURLHost)(I)]),onClose:()=>_(""),startAdornment:o.default.createElement(d.AvatarFavicon,{name:null==j?void 0:j.name,size:d.AvatarFaviconSize.Sm,src:null==j?void 0:j.iconUrl})})):null,q.length>0&&p.mergeAccounts.length>0?o.default.createElement(d.Box,{display:i.Display.Flex,gap:2,flexDirection:i.FlexDirection.Column,width:i.BlockSize.Full,"data-test-id":"connections-button"},o.default.createElement(d.Button,{size:d.ButtonSize.Lg,block:!0,variant:d.ButtonVariant.Secondary,disabled:0===F.length,startIconName:d.IconName.Add,onClick:()=>x(!0)},t("connectMoreAccounts")),o.default.createElement(d.Button,{size:d.ButtonSize.Lg,block:!0,variant:d.ButtonVariant.Secondary,startIconName:d.IconName.Logout,danger:!0,onClick:()=>C(!0)},t("disconnectAllAccounts"))):o.default.createElement(d.ButtonPrimary,{size:d.ButtonPrimarySize.Lg,block:!0,"data-test-id":"no-connections-button",onClick:()=>n((async()=>{const e=await n((0,h.requestAccountsPermissionWithId)(H.origin));v.push(`${s.CONNECT_ROUTE}/${e}`)})())},t("connectAccounts")))))}}}},{package:"$root$",file:"ui/components/multichain/pages/connections/connections.tsx"}],[5144,{"./connections":5143},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"Connections",{enumerable:!0,get:function(){return o.Connections}});var o=e("./connections")}}},{package:"$root$",file:"ui/components/multichain/pages/connections/index.js"}],[5145,{"./connections":5144,"./permissions-page/permissions-page":5156},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"Connections",{enumerable:!0,get:function(){return o.Connections}}),Object.defineProperty(n,"PermissionsPage",{enumerable:!0,get:function(){return a.PermissionsPage}});var o=e("./connections"),a=e("./permissions-page/permissions-page")}}},{package:"$root$",file:"ui/components/multichain/pages/index.js"}],[5146,{"../../../../../../helpers/constants/design-system":5355,"../../../../../component-library":4955,classnames:3049,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.Content=void 0;var o=s(e("react")),a=s(e("classnames")),r=e("../../../../../component-library"),i=e("../../../../../../helpers/constants/design-system");function s(e){return e&&e.__esModule?e:{default:e}}function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;to.default.createElement(r.Box,l({display:i.Display.Flex,flexDirection:i.FlexDirection.Column,width:i.BlockSize.Full,padding:4,height:i.BlockSize.Full,className:(0,a.default)("multichain-page-content",t)},n),e)}}},{package:"$root$",file:"ui/components/multichain/pages/page/components/content/content.tsx"}],[5147,{"./content":5146},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"Content",{enumerable:!0,get:function(){return o.Content}});var o=e("./content")}}},{package:"$root$",file:"ui/components/multichain/pages/page/components/content/hybrid-compute-sdk.ts"}],[5148,{"../../../../../../helpers/constants/design-system":5355,"../../../../../component-library":4955,classnames:3049,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.Footer=void 0;var o=s(e("react")),a=s(e("classnames")),r=e("../../../../../component-library"),i=e("../../../../../../helpers/constants/design-system");function s(e){return e&&e.__esModule?e:{default:e}}function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;to.default.createElement(r.Box,l({padding:4,display:i.Display.Flex,width:i.BlockSize.Full,gap:4,className:(0,a.default)("multichain-page-footer",t)},n),e)}}},{package:"$root$",file:"ui/components/multichain/pages/page/components/footer/footer.tsx"}],[5149,{"./footer":5148},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"Footer",{enumerable:!0,get:function(){return o.Footer}});var o=e("./footer")}}},{package:"$root$",file:"ui/components/multichain/pages/page/components/footer/hybrid-compute-sdk.ts"}],[5150,{"../../../../../../helpers/constants/design-system":5355,"../../../../../component-library":4955,classnames:3049,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.Header=void 0;var o=s(e("react")),a=s(e("classnames")),r=e("../../../../../component-library"),i=e("../../../../../../helpers/constants/design-system");function s(e){return e&&e.__esModule?e:{default:e}}function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;to.default.createElement(r.HeaderBase,l({padding:4,width:i.BlockSize.Full,justifyContent:i.JustifyContent.center,className:(0,a.default)("multichain-page-header",s),startAccessory:n,endAccessory:t},c),o.default.createElement(r.Text,{display:i.Display.Block,variant:i.TextVariant.bodyMdBold,textAlign:i.TextAlign.Center,paddingInlineStart:8,paddingInlineEnd:8,ellipsis:!0},e))}}},{package:"$root$",file:"ui/components/multichain/pages/page/components/header/header.tsx"}],[5151,{"./header":5150},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"Header",{enumerable:!0,get:function(){return o.Header}});var o=e("./header")}}},{package:"$root$",file:"ui/components/multichain/pages/page/components/header/hybrid-compute-sdk.ts"}],[5152,{"./components/content":5147,"./components/footer":5149,"./components/header":5151,"./page":5153},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"Content",{enumerable:!0,get:function(){return r.Content}}),Object.defineProperty(n,"Footer",{enumerable:!0,get:function(){return i.Footer}}),Object.defineProperty(n,"Header",{enumerable:!0,get:function(){return a.Header}}),Object.defineProperty(n,"Page",{enumerable:!0,get:function(){return o.Page}});var o=e("./page"),a=e("./components/header"),r=e("./components/content"),i=e("./components/footer")}}},{package:"$root$",file:"ui/components/multichain/pages/page/hybrid-compute-sdk.ts"}],[5153,{"../../../../helpers/constants/design-system":5355,"../../../component-library":4955,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.Page=void 0;var o=l(e("react")),a=l(e("prop-types")),r=l(e("classnames")),i=e("../../../component-library"),s=e("../../../../helpers/constants/design-system");function l(e){return e&&e.__esModule?e:{default:e}}function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;to.default.createElement(i.Box,{width:s.BlockSize.Full,height:s.BlockSize.Full,display:s.Display.Flex,flexDirection:s.FlexDirection.Row,justifyContent:s.JustifyContent.center,backgroundColor:s.BackgroundColor.backgroundAlternative,className:"multichain-page"},o.default.createElement(i.Box,c({width:s.BlockSize.Full,height:s.BlockSize.Full,display:s.Display.Flex,flexDirection:s.FlexDirection.Column,backgroundColor:s.BackgroundColor.backgroundDefault,className:(0,r.default)("multichain-page__inner-container",t)},n),e));n.Page=u,u.propTypes={className:a.default.string,children:a.default.node}}}},{package:"$root$",file:"ui/components/multichain/pages/page/page.tsx"}],[5154,{"../../../../helpers/constants/design-system":5355,"../../../../helpers/utils/accounts":5378,"../../../../helpers/utils/util":5399,"../../../../hooks/useI18nContext":5427,"../../../app/snaps/snap-avatar/snap-avatar":4773,"../../../component-library":4955,"./connection-list-tooltip/connection-list-tooltip":5155,"@metamask/permission-controller":1624,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.ConnectionListItem=void 0;var o=m(e("react")),a=m(e("prop-types")),r=e("@metamask/permission-controller"),i=e("../../../../helpers/constants/design-system"),s=e("../../../../hooks/useI18nContext"),l=e("../../../component-library"),c=e("../../../../helpers/utils/util"),u=m(e("../../../app/snaps/snap-avatar/snap-avatar")),d=e("../../../../helpers/utils/accounts"),p=e("./connection-list-tooltip/connection-list-tooltip");function m(e){return e&&e.__esModule?e:{default:e}}const f=({connection:e,onClick:t})=>{const n=(0,s.useI18nContext)(),a=e.subjectType===r.SubjectType.Snap;return o.default.createElement(l.Box,{"data-testid":"connection-list-item",as:"button",display:i.Display.Flex,flexDirection:i.FlexDirection.Row,alignItems:i.AlignItems.baseline,width:i.BlockSize.Full,backgroundColor:i.BackgroundColor.backgroundDefault,onClick:t,padding:4,gap:4,className:"multichain-connection-list-item"},o.default.createElement(l.Box,{display:i.Display.Flex,alignItems:i.AlignItems.center,style:{alignSelf:"center"}},a?o.default.createElement(u.default,{className:"connection-list-item__snap-avatar",snapId:e.id,badgeSize:l.IconSize.Xs,avatarSize:l.IconSize.Md,borderWidth:0}):o.default.createElement(l.BadgeWrapper,{badge:o.default.createElement(l.AvatarNetwork,{"data-testid":"connection-list-item__avatar-network-badge",size:l.AvatarNetworkSize.Xs,name:e.networkName,src:e.networkIconUrl,borderWidth:1,borderColor:i.BackgroundColor.backgroundDefault,backgroundColor:(0,d.getAvatarNetworkColor)(e.networkName)})},o.default.createElement(l.AvatarFavicon,{"data-testid":"connection-list-item__avatar-favicon",src:e.iconUrl}))),o.default.createElement(l.Box,{display:i.Display.Flex,flexDirection:i.FlexDirection.Column,width:i.BlockSize.FiveTwelfths,style:{alignSelf:"center",flexGrow:"1"}},o.default.createElement(l.Text,{variant:i.TextVariant.bodyMd,textAlign:i.TextAlign.Left,ellipsis:!0},a?e.packageName:(0,c.getURLHost)(e.origin)),a?null:o.default.createElement(l.Box,{display:i.Display.Flex,flexDirection:i.FlexDirection.Row,alignItems:i.AlignItems.center,gap:1},o.default.createElement(l.Text,{as:"span",width:i.BlockSize.Max,color:i.TextColor.textAlternative,variant:i.TextVariant.bodyMd},n("connectedWith")),o.default.createElement(p.ConnectionListTooltip,{connection:e}))),o.default.createElement(l.Box,{display:i.Display.Flex,justifyContent:i.JustifyContent.flexEnd,alignItems:i.AlignItems.center,style:{flex:"1",alignSelf:"center"},gap:2},o.default.createElement(l.Icon,{display:i.Display.Flex,name:l.IconName.ArrowRight,color:i.IconColor.iconDefault,size:l.IconSize.Sm,backgroundColor:i.BackgroundColor.backgroundDefault})))};n.ConnectionListItem=f,f.propTypes={connection:a.default.object.isRequired,onClick:a.default.func.isRequired}}}},{package:"$root$",file:"ui/components/multichain/pages/permissions-page/connection-list-item.js"}],[5155,{"../../..":5092,"../../../../../helpers/constants/design-system":5355,"../../../../../hooks/useI18nContext":5427,"../../../../../selectors":5987,"../../../../component-library":4955,"../../../avatar-group/avatar-group.types":5059,"prop-types":3997,react:4243,"react-redux":4199,"react-tippy":4239},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.ConnectionListTooltip=void 0;var o=m(e("react")),a=m(e("prop-types")),r=e("react-tippy"),i=e("react-redux"),s=e("../../../../../helpers/constants/design-system"),l=e("../../../avatar-group/avatar-group.types"),c=e("../../.."),u=e("../../../../component-library"),d=e("../../../../../selectors"),p=e("../../../../../hooks/useI18nContext");function m(e){return e&&e.__esModule?e:{default:e}}const f=({connection:e})=>{var t,n,a,m;const f=(0,p.useI18nContext)(),g=null===(t=e.addresses)||void 0===t?void 0:t.slice(0,7).map((e=>({avatarValue:e}))),h=(0,i.useSelector)(d.getUseBlockie)?u.AvatarAccountVariant.Blockies:u.AvatarAccountVariant.Jazzicon;return o.default.createElement(r.Tooltip,{position:"bottom",html:o.default.createElement(u.Box,{display:s.Display.Flex,flexDirection:s.FlexDirection.Column},o.default.createElement(u.Text,{color:s.TextColor.overlayInverse,variant:s.TextVariant.headingSm,paddingInline:10},f("connectedAccounts")),o.default.createElement(u.Box,{display:s.Display.Flex,flexDirection:s.FlexDirection.Column},null===(n=e.addresses)||void 0===n?void 0:n.slice(0,7).map((t=>o.default.createElement(u.Box,{display:s.Display.Flex,flexDirection:s.FlexDirection.Row,alignItems:s.AlignItems.center,textAlign:s.TextAlign.Left,key:`cl-tooltip-${e.addressToNameMap[t]}-${t}`,padding:1,paddingInline:2,gap:2},o.default.createElement(u.AvatarAccount,{size:u.AvatarAccountSize.Xs,address:t,variant:h,borderStyle:s.BorderStyle.none}),o.default.createElement(u.Text,{color:s.TextColor.overlayInverse,variant:s.TextVariant.bodyMdMedium,"data-testid":"connection-list-item-connected-account-name",ellipsis:!0},e.addressToNameMap[t])))),(null===(a=e.addresses)||void 0===a?void 0:a.length)>7&&o.default.createElement(u.Box,{display:s.Display.Flex,alignItems:s.AlignItems.center,textAlign:s.TextAlign.Left,paddingInline:2},o.default.createElement(u.Text,{color:s.TextColor.textMuted,variant:s.TextVariant.bodyMdMedium,"data-testid":"connection-list-item-plus-more-tooltip"},f("plusMore",[(null===(m=e.addresses)||void 0===m?void 0:m.length)-7]))))),arrow:!0,offset:0,delay:50,duration:0,size:"small",title:f("alertDisableTooltip"),trigger:"mouseenter focus",theme:"dark",tag:"div"},o.default.createElement(c.AvatarGroup,{members:g,limit:5,avatarType:l.AvatarType.ACCOUNT,borderColor:s.BackgroundColor.backgroundDefault}))};n.ConnectionListTooltip=f,f.propTypes={connection:a.default.object.isRequired}}}},{package:"$root$",file:"ui/components/multichain/pages/permissions-page/connection-list-tooltip/connection-list-tooltip.js"}],[5156,{"../../../../helpers/constants/design-system":5355,"../../../../helpers/constants/routes":5361,"../../../../hooks/useI18nContext":5427,"../../../../selectors":5987,"../../../../store/actions":5998,"../../../component-library":4955,"../../product-tour-popover":5176,"../page":5152,"./connection-list-item":5154,classnames:3049,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.PermissionsPage=void 0;var o,a=(o=e("classnames"))&&o.__esModule?o:{default:o},r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=y(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}(e("react")),i=e("react-router-dom"),s=e("react-redux"),l=e("../page"),c=e("../../../component-library"),u=e("../../../../hooks/useI18nContext"),d=e("../../../../helpers/constants/design-system"),p=e("../../../../helpers/constants/routes"),m=e("../../../../selectors"),f=e("../../product-tour-popover"),g=e("../../../../store/actions"),h=e("./connection-list-item");function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(y=function(e){return e?n:t})(e)}n.PermissionsPage=()=>{const e=(0,u.useI18nContext)(),t=(0,i.useHistory)(),n=(0,r.useRef)(),[o,y]=(0,r.useState)(0),b=(0,s.useSelector)(m.getConnectedSitesListWithNetworkInfo),v=(0,s.useSelector)(m.getShowPermissionsTour),k=(0,s.useSelector)(m.getOnboardedInThisUISession);(0,r.useEffect)((()=>{y(Object.keys(b).length)}),[b]);return r.default.createElement(l.Page,{className:"main-container","data-testid":"permissions-page"},r.default.createElement(l.Header,{backgroundColor:d.BackgroundColor.backgroundDefault,startAccessory:r.default.createElement(c.ButtonIcon,{ariaLabel:e("back"),iconName:c.IconName.ArrowLeft,className:"connections-header__start-accessory",color:d.Color.iconDefault,onClick:()=>t.push(p.DEFAULT_ROUTE),size:c.ButtonIconSize.Sm})},r.default.createElement(c.Text,{as:"span",variant:d.TextVariant.headingMd,textAlign:d.TextAlign.Center},e("permissions"))),v&&!k?r.default.createElement(f.ProductTour,{closeMenu:g.hidePermissionsTour,className:(0,a.default)("multichain-product-tour-menu__permissions-page-tour"),"data-testid":"permissions-page-product-tour",anchorElement:n.current,title:e("permissionsPageTourTitle"),description:e("permissionsPageTourDescription"),onClick:g.hidePermissionsTour,positionObj:"44%"}):null,r.default.createElement(l.Content,{padding:0},r.default.createElement(c.Box,{ref:n}),o>0?(x=b,Object.entries(x).map((([e,n])=>r.default.createElement(h.ConnectionListItem,{"data-testid":"connection-list-item",key:e,connection:n,onClick:()=>(e=>{const n=e.origin,o=encodeURIComponent(n);t.push(`${p.CONNECTIONS}/${o}`)})(n)})))):r.default.createElement(c.Box,{"data-testid":"no-connections",display:d.Display.Flex,flexDirection:d.FlexDirection.Column,justifyContent:d.JustifyContent.center,height:d.BlockSize.Full,gap:2},r.default.createElement(c.Text,{variant:d.TextVariant.bodyMdMedium,backgroundColor:d.BackgroundColor.backgroundDefault,textAlign:d.TextAlign.Center},e("permissionsPageEmptyContent")),r.default.createElement(c.Text,{variant:d.TextVariant.bodyMd,color:d.TextColor.textAlternative,backgroundColor:d.BackgroundColor.backgroundDefault,textAlign:d.TextAlign.Center},e("permissionsPageEmptySubContent")))));var x}}}},{package:"$root$",file:"ui/components/multichain/pages/permissions-page/permissions-page.js"}],[5157,{".":5160,"../../..":5092,"../../../../../contexts/i18n":5324,"../../../../../ducks/send":5348,"../../../../../helpers/constants/design-system":5355,"../../../../../selectors":5987,"../../../../component-library":4955,"../../../account-picker":5034,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.SendPageAccountPicker=void 0;var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=m(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}(e("react")),a=e("react-redux"),r=e("../../../../../selectors"),i=e("../../../../component-library"),s=e("../../../account-picker"),l=e("../../../../../helpers/constants/design-system"),c=e("../../../../../contexts/i18n"),u=e("../../.."),d=e("../../../../../ducks/send"),p=e(".");function m(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(m=function(e){return e?n:t})(e)}n.SendPageAccountPicker=()=>{const e=(0,o.useContext)(c.I18nContext),t=(0,a.useSelector)(r.getSelectedInternalAccount),[n,m]=(0,o.useState)(!1),f=(0,a.useSelector)(d.getSendStage),g=d.SEND_STAGES.EDIT===f;return o.default.createElement(p.SendPageRow,null,o.default.createElement(i.Label,{paddingBottom:2},e("from")),o.default.createElement(s.AccountPicker,{className:"multichain-send-page__account-picker",address:t.address,name:t.metadata.name,onClick:()=>m(!0),showAddress:!0,borderColor:l.BorderColor.borderMuted,borderWidth:1,paddingTop:4,paddingBottom:4,paddingLeft:3,block:!0,justifyContent:l.JustifyContent.flexStart,addressProps:{display:l.Display.Flex,textAlign:l.TextAlign.Start},labelProps:{style:{flexGrow:1,textAlign:"start"},paddingInlineStart:1,className:"multichain-send-page__account-picker__label"},textProps:{display:l.Display.Flex,width:l.BlockSize.Full},width:l.BlockSize.Full,disabled:g,"data-testid":"send-page-account-picker"}),n?o.default.createElement(u.AccountListMenu,{accountListItemProps:{showOptions:!1},showAccountCreation:!1,onClose:()=>m(!1)}):null)}}}},{package:"$root$",file:"ui/components/multichain/pages/send/components/account-picker.tsx"}],[5158,{".":5160,"../../../../../../shared/constants/metametrics":4505,"../../../../../contexts/i18n":5324,"../../../../../contexts/metametrics":5327,"../../../../../ducks/send":5348,"../../../../../helpers/constants/design-system":5355,"../../../../../helpers/constants/routes":5361,"../../../../../selectors":5987,"../../../../app/contact-list":4618,"../../../../component-library":4955,"fuse.js":3407,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.SendPageAddressBook=void 0;var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=y(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}(e("react")),a=e("react-redux"),r=h(e("fuse.js")),i=e("../../../../component-library"),s=e("../../../../../contexts/i18n"),l=h(e("../../../../app/contact-list")),c=e("../../../../../selectors"),u=e("../../../../../ducks/send"),d=e("../../../../../helpers/constants/design-system"),p=e("../../../../../helpers/constants/routes"),m=e("../../../../../contexts/metametrics"),f=e("../../../../../../shared/constants/metametrics"),g=e(".");function h(e){return e&&e.__esModule?e:{default:e}}function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(y=function(e){return e?n:t})(e)}n.SendPageAddressBook=()=>{const e=(0,o.useContext)(s.I18nContext),t=(0,a.useDispatch)(),n=(0,o.useContext)(m.MetaMetricsContext),h=(0,a.useSelector)(c.getAddressBook),y=h.filter((({name:e})=>Boolean(e))),b=[...(0,a.useSelector)(c.getCurrentNetworkTransactions)].reverse(),v=h.filter((({name:e})=>!e)).map((e=>{const t=b.find((t=>t.txParams.to===e.address.toLowerCase()));return{...e,timestamp:null==t?void 0:t.time}})),k=(0,a.useSelector)(u.getRecipientUserInput),x=new r.default(y,{shouldSort:!0,threshold:.45,location:0,distance:100,maxPatternLength:32,minMatchCharLength:1,keys:[{name:"name",weight:.5},{name:"address",weight:.5}]}),T=new r.default(v,{shouldSort:!0,threshold:.45,location:0,distance:100,maxPatternLength:32,minMatchCharLength:1,keys:[{name:"address",weight:.5}]});return o.default.createElement(g.SendPageRow,null,h.length?o.default.createElement(o.default.Fragment,null,o.default.createElement(l.default,{addressBook:h,searchForContacts:()=>k?(x.setCollection(y),x.search(k)):y,searchForRecents:()=>k?(T.setCollection(v),T.search(k)):v,selectRecipient:(e="",o="")=>{((e="",o="",a="user input")=>{t((0,u.addHistoryEntry)(`sendFlow - User clicked recipient from ${a}. address: ${e}, nickname ${o}`)),n({event:f.MetaMetricsEventName.sendRecipientSelected,category:f.MetaMetricsEventCategory.Send,properties:{location:"address book",inputType:a}}),t((0,u.updateRecipient)({address:e,nickname:o})),t((0,u.updateRecipientUserInput)(e))})(e,o,(o?"contact":"recent")+" list")}})):o.default.createElement(i.Box,{padding:6,textAlign:d.TextAlign.Center},o.default.createElement(i.Text,{marginBottom:4,fontWeight:d.FontWeight.Bold},e("sendNoContactsTitle")),o.default.createElement(i.Text,{color:d.TextColor.textAlternative},e("sendNoContactsDescription",[o.default.createElement(i.Text,{as:"a",href:`#${p.CONTACT_LIST_ROUTE}`,color:d.TextColor.primaryDefault},e("sendNoContactsConversionText"))]))))}}}},{package:"$root$",file:"ui/components/multichain/pages/send/components/address-book.tsx"}],[5159,{".":5160,"../../../../../ducks/send":5348,"../../../../../hooks/useI18nContext":5427,"../../../../component-library":4955,"../../../../component-library/textarea":5011,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.SendHexData=void 0;var o,a=(o=e("react"))&&o.__esModule?o:{default:o},r=e("react-redux"),i=e("../../../../../hooks/useI18nContext"),s=e("../../../../component-library"),l=e("../../../../../ducks/send"),c=e("../../../../component-library/textarea"),u=e(".");n.SendHexData=()=>{const e=(0,i.useI18nContext)(),t=(0,r.useDispatch)(),n=(0,r.useSelector)(l.getSendHexData);return a.default.createElement(u.SendPageRow,null,a.default.createElement(s.Label,null,e("hexData")),a.default.createElement(c.Textarea,{onInput:e=>{const n=e.target.value.replace(/\n/gu,"")||null;t((0,l.updateSendHexData)(n??""))},placeholder:e("optional"),defaultValue:n||"","data-testid":"send-hex-textarea"}))}}}},{package:"$root$",file:"ui/components/multichain/pages/send/components/hex.tsx"}],[5160,{"./account-picker":5157,"./address-book":5158,"./hex":5159,"./network-picker":5161,"./quote-card":5166,"./recipient":5169,"./recipient-content":5167,"./recipient-input":5168,"./send-page-row":5170,"./your-accounts":5171},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"QuoteCard",{enumerable:!0,get:function(){return p.QuoteCard}}),Object.defineProperty(n,"SendHexData",{enumerable:!0,get:function(){return d.SendHexData}}),Object.defineProperty(n,"SendPageAccountPicker",{enumerable:!0,get:function(){return a.SendPageAccountPicker}}),Object.defineProperty(n,"SendPageAddressBook",{enumerable:!0,get:function(){return l.SendPageAddressBook}}),Object.defineProperty(n,"SendPageNetworkPicker",{enumerable:!0,get:function(){return r.SendPageNetworkPicker}}),Object.defineProperty(n,"SendPageRecipient",{enumerable:!0,get:function(){return c.SendPageRecipient}}),Object.defineProperty(n,"SendPageRecipientContent",{enumerable:!0,get:function(){return u.SendPageRecipientContent}}),Object.defineProperty(n,"SendPageRecipientInput",{enumerable:!0,get:function(){return s.SendPageRecipientInput}}),Object.defineProperty(n,"SendPageRow",{enumerable:!0,get:function(){return o.SendPageRow}}),Object.defineProperty(n,"SendPageYourAccounts",{enumerable:!0,get:function(){return i.SendPageYourAccounts}});var o=e("./send-page-row"),a=e("./account-picker"),r=e("./network-picker"),i=e("./your-accounts"),s=e("./recipient-input"),l=e("./address-book"),c=e("./recipient"),u=e("./recipient-content"),d=e("./hex"),p=e("./quote-card")}}},{package:"$root$",file:"ui/components/multichain/pages/send/components/hybrid-compute-sdk.ts"}],[5161,{".":5160,"../../../../../selectors":5987,"../../../../../store/actions":5998,"../../../../component-library":4955,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.SendPageNetworkPicker=void 0;var o,a=(o=e("react"))&&o.__esModule?o:{default:o},r=e("react-redux"),i=e("../../../../../selectors"),s=e("../../../../../store/actions"),l=e("../../../../component-library"),c=e(".");n.SendPageNetworkPicker=()=>{var e;const t=(0,r.useSelector)(i.getCurrentNetwork),n=(0,r.useDispatch)();return a.default.createElement(c.SendPageRow,null,a.default.createElement(l.PickerNetwork,{label:null==t?void 0:t.nickname,src:null==t||null===(e=t.rpcPrefs)||void 0===e?void 0:e.imageUrl,onClick:()=>n((0,s.toggleNetworkMenu)()),"data-testid":"send-page-network-picker"}))}}}},{package:"$root$",file:"ui/components/multichain/pages/send/components/network-picker.tsx"}],[5162,{"../../../../../../../../shared/constants/common":4495,"../../../../../../../../shared/modules/Numeric":4533,"../../../../../../../ducks/metamask/metamask":5346,"../../../../../../../ducks/swaps/swaps":5351,"../../../../../../../helpers/utils/confirm-tx.util":5381,"../../../../../../../selectors/selectors":5994,"./utils":5165,"@metamask/utils":2300,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e=0){const t=(0,a.useDispatch)(),n=(0,a.useSelector)(s.getNativeCurrency),m=(0,a.useSelector)(s.getConversionRate),f=(0,a.useSelector)(c.getCurrentCurrency),g=(0,a.useSelector)(c.checkNetworkAndAccountSupports1559),{medium:h,gasPrice:y}=(0,a.useSelector)(s.getGasFeeEstimates),b=y??(null==h?void 0:h.suggestedMaxFeePerGas),v=(0,a.useSelector)(c.getCurrentChainId),k=(0,a.useSelector)(c.getIsSwapsChain),x=(0,a.useSelector)(u.getUsedSwapsGasPrice);return(0,o.useEffect)((()=>{k&&(g||t((0,u.fetchAndSetSwapsGasPriceInfo)()))}),[t,v,g,k]),(0,o.useMemo)((()=>{const t=g?b:x;if(!t)return{formattedFiatGasFee:"",formattedEthGasFee:""};const o=new i.Numeric(t,(0,r.isHexString)(t)?16:10,l.EtherDenomination.GWEI).times(new i.Numeric(e,10)).toDenomination(l.EtherDenomination.ETH),a=m?o.applyConversionRate(m).toNumber():undefined;return{formattedFiatGasFee:a?(0,d.formatCurrency)(new i.Numeric(a,10).toString(),f):"",formattedEthGasFee:`${(0,p.toFixedNoTrailingZeros)(o.toNumber())} ${n}`}}),[g,null==h?void 0:h.suggestedMaxFeePerGas,x,e,m,f,n])};var o=e("react"),a=e("react-redux"),r=e("@metamask/utils"),i=e("../../../../../../../../shared/modules/Numeric"),s=e("../../../../../../../ducks/metamask/metamask"),l=e("../../../../../../../../shared/constants/common"),c=e("../../../../../../../selectors/selectors"),u=e("../../../../../../../ducks/swaps/swaps"),d=e("../../../../../../../helpers/utils/confirm-tx.util"),p=e("./utils")}}},{package:"$root$",file:"ui/components/multichain/pages/send/components/quote-card/hooks/useEthFeeData.tsx"}],[5163,{"../../../../../../../../shared/constants/transaction":4520,"../../../../../../../../shared/lib/transactions-controller-utils":4531,"../../../../../../../../shared/modules/Numeric":4533,"../../../../../../../ducks/metamask/metamask":5346,"../../../../../../../ducks/send":5348,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(){var e,t,n,d;const p=(0,a.useSelector)(r.getBestQuote),{sendAsset:m,receiveAsset:f}=(0,a.useSelector)(r.getCurrentDraftTransaction),g=(0,a.useSelector)(c.getNativeCurrency),h=(null==m?void 0:m.type)===i.AssetType.native?g:null==m||null===(e=m.details)||void 0===e?void 0:e.symbol,y=(null==f?void 0:f.type)===i.AssetType.native?g:null==f||null===(t=f.details)||void 0===t?void 0:t.symbol;return(0,o.useMemo)((()=>{if(p&&m&&f){var e,t;const n=(0,s.calcTokenAmount)(p.sourceAmount,(null===(e=m.details)||void 0===e?void 0:e.decimals)||u),o=(0,s.calcTokenAmount)(p.destinationAmount,(null===(t=f.details)||void 0===t?void 0:t.decimals)||u),a=new l.Numeric(o).divide(n).round(9).toNumber();return`1 ${h} = ${a} ${y}`}return undefined}),[null==p?void 0:p.sourceAmount,null==p?void 0:p.destinationAmount,null==m||null===(n=m.details)||void 0===n?void 0:n.decimals,null==f||null===(d=f.details)||void 0===d?void 0:d.decimals,h,y])};var o=e("react"),a=e("react-redux"),r=e("../../../../../../../ducks/send"),i=e("../../../../../../../../shared/constants/transaction"),s=e("../../../../../../../../shared/lib/transactions-controller-utils"),l=e("../../../../../../../../shared/modules/Numeric"),c=e("../../../../../../../ducks/metamask/metamask");const u=18}}},{package:"$root$",file:"ui/components/multichain/pages/send/components/quote-card/hooks/useGetConversionRate.tsx"}],[5164,{"../../../../../../../../shared/constants/network":4507,"../../../../../../../hooks/useI18nContext":5427,"../../../../../../../selectors":5987,"@metamask/controller-utils":1163,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(){const e=(0,o.useSelector)(s.getCurrentChainId),t=(0,i.useI18nContext)();switch((0,a.toHex)(e)){case r.CHAIN_IDS.MAINNET:return t("networkNameEthereum");case r.CHAIN_IDS.BSC:return t("networkNameBSC");case r.CHAIN_IDS.POLYGON:return t("networkNamePolygon");case r.CHAIN_IDS.LOCALHOST:return t("networkNameTestnet");case r.CHAIN_IDS.GOERLI:return t("networkNameGoerli");case r.CHAIN_IDS.AVALANCHE:return t("networkNameAvalanche");case r.CHAIN_IDS.OPTIMISM:return t("networkNameOpMainnet");case r.CHAIN_IDS.ARBITRUM:return t("networkNameArbitrum");case r.CHAIN_IDS.ZKSYNC_ERA:return t("networkNameZkSyncEra");case r.CHAIN_IDS.LINEA_MAINNET:return t("networkNameLinea");case r.CHAIN_IDS.BASE:return t("networkNameBase");default:return undefined}};var o=e("react-redux"),a=e("@metamask/controller-utils"),r=e("../../../../../../../../shared/constants/network"),i=e("../../../../../../../hooks/useI18nContext"),s=e("../../../../../../../selectors")}}},{package:"$root$",file:"ui/components/multichain/pages/send/components/quote-card/hooks/useTranslatedNetworkName.tsx"}],[5165,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.toFixedNoTrailingZeros=void 0;const o=/0+$/u;n.toFixedNoTrailingZeros=(e,t=7)=>{const n=e.toFixed(t).replace(o,"");return n.endsWith(".")?n.slice(0,-1):n}}}},{package:"$root$",file:"ui/components/multichain/pages/send/components/quote-card/hooks/utils.ts"}],[5166,{"../../../../../../../shared/constants/metametrics":4505,"../../../../../../../shared/constants/time":4518,"../../../../../../../shared/lib/ui-utils":4532,"../../../../../../../shared/modules/conversion.utils":4537,"../../../../../../contexts/metametrics":5327,"../../../../../../ducks/send":5348,"../../../../../../helpers/constants/design-system":5355,"../../../../../../hooks/useI18nContext":5427,"../../../../../component-library":4955,"../../../../../ui/info-tooltip/info-tooltip-icon":5249,"../../../../../ui/tooltip":5310,"./hooks/useEthFeeData":5162,"./hooks/useGetConversionRate":5163,"./hooks/useTranslatedNetworkName":5164,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.QuoteCard=function({scrollRef:e}){var t;const n=(0,l.useI18nContext)(),v=(0,a.useDispatch)(),k=(0,a.useSelector)(s.getSendAnalyticProperties),T=(0,y.default)(),C=(0,o.useContext)(f.MetaMetricsContext),{isSwapQuoteLoading:w}=(0,a.useSelector)(s.getCurrentDraftTransaction),_=(0,a.useSelector)(s.getBestQuote),[E,M]=(0,o.useState)(undefined),{formattedEthGasFee:S,formattedFiatGasFee:O}=(0,h.default)(((null==_?void 0:_.gasParams.maxGas)||0)+Number((0,g.hexToDecimal)((null==_||null===(t=_.approvalNeeded)||void 0===t?void 0:t.gas)||"0x0"))),A=(0,b.default)(),N=(0,o.useRef)(_);(0,o.useEffect)((()=>{const t=_&&N.current===undefined;var n;(N.current=_,t)&&(null===(n=e.current)||void 0===n||n.scrollIntoView({behavior:"smooth",block:"start"}));_?(C({event:p.MetaMetricsEventName.sendSwapQuoteFetched,category:p.MetaMetricsEventCategory.Send,properties:{...k,is_first_fetch:t}}),M(x)):M(undefined)}),[_]),(0,o.useEffect)((()=>{if(w||E===undefined)return;E<=0&&v((0,s.updateSendQuote)(!1,!0));const e=setTimeout((()=>M(E-1)),c.SECOND);return()=>clearTimeout(e)}),[E]);const I=(0,o.useMemo)((()=>{if(w)return n("swapFetchingQuotes");if(_){const e=`0${E}`.slice(-2);return E?n("swapNewQuoteIn",[`0:${e}`]):undefined}return undefined}),[w,_,E]);if(!Boolean(I||_))return null;return o.default.createElement(r.Box,{display:i.Display.Flex,flexDirection:i.FlexDirection.Column,alignItems:i.AlignItems.flexStart,gap:2},I&&o.default.createElement(r.Text,{color:i.TextColor.textAlternative,variant:i.TextVariant.bodySm,className:"quote-card__fetch-status"},I),_&&o.default.createElement(r.Box,{backgroundColor:i.BackgroundColor.backgroundAlternative,borderRadius:i.BorderRadius.LG,width:i.BlockSize.Full,gap:2,padding:3},o.default.createElement(r.Box,{display:i.Display.Flex,alignItems:i.AlignItems.center},o.default.createElement(r.Text,{className:"quote-card__text",color:i.TextColor.textAlternative,marginRight:"auto",variant:i.TextVariant.bodySm},n("quoteRate")),o.default.createElement(r.Text,{marginLeft:"auto",variant:i.TextVariant.bodySm,"data-testid":"quote-card__conversion-rate"},A)),o.default.createElement(r.Box,{display:i.Display.Flex,alignItems:i.AlignItems.center},o.default.createElement(r.Box,{display:i.Display.Flex,marginRight:"auto",gap:1,alignItems:i.AlignItems.center},o.default.createElement(r.Text,{variant:i.TextVariant.bodySm,color:i.TextColor.textAlternative},n("transactionDetailGasHeading")),o.default.createElement(u.default,{interactive:!0,position:"left",containerClassName:"info-tooltip__tooltip-container",tooltipInnerClassName:"info-tooltip__tooltip-content",tooltipArrowClassName:"info-tooltip__left-tooltip-arrow",style:{display:"flex",height:"12px",aspectRatio:"1"},html:o.default.createElement(o.default.Fragment,null,o.default.createElement("p",null,n("swapGasFeesSummary",[T])),o.default.createElement("p",null,n("swapGasFeesDetails")),o.default.createElement("p",null,o.default.createElement("a",{onClick:()=>{C({event:'Clicked "Gas Fees: Learn More" Link',category:p.MetaMetricsEventCategory.Swaps}),global.platform.openTab({url:m.GAS_FEES_LEARN_MORE_URL})},target:"_blank",rel:"noreferrer"},n("swapGasFeesLearnMore")))),theme:"tippy-tooltip-info"},o.default.createElement(d.default,{fillColor:"var(--color-icon-alternative)"}))),o.default.createElement(r.Box,{display:i.Display.Flex,marginLeft:"auto"},o.default.createElement(r.Text,{variant:i.TextVariant.bodySm,"data-testid":"quote-card__gas-fee"},S),O&&o.default.createElement(r.Text,{color:i.TextColor.textAlternative,variant:i.TextVariant.bodySm,marginLeft:1,"data-testid":"quote-card__fiat-gas-fee"},"≈ ",O)))),_&&o.default.createElement(r.Text,{color:i.TextColor.textAlternative,variant:i.TextVariant.bodySm},n("swapIncludesMMFeeAlt",[null==_?void 0:_.fee])),_&&o.default.createElement(r.ButtonLink,{variant:i.TextVariant.bodySm,href:m.CONSENSYS_TERMS_OF_USE,target:"_blank",className:"quote-card__TOS"},n("termsOfService")),o.default.createElement("div",{ref:e}))};var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=k(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}(e("react")),a=e("react-redux"),r=e("../../../../../component-library"),i=e("../../../../../../helpers/constants/design-system"),s=e("../../../../../../ducks/send"),l=e("../../../../../../hooks/useI18nContext"),c=e("../../../../../../../shared/constants/time"),u=v(e("../../../../../ui/tooltip")),d=v(e("../../../../../ui/info-tooltip/info-tooltip-icon")),p=e("../../../../../../../shared/constants/metametrics"),m=e("../../../../../../../shared/lib/ui-utils"),f=e("../../../../../../contexts/metametrics"),g=e("../../../../../../../shared/modules/conversion.utils"),h=v(e("./hooks/useEthFeeData")),y=v(e("./hooks/useTranslatedNetworkName")),b=v(e("./hooks/useGetConversionRate"));function v(e){return e&&e.__esModule?e:{default:e}}function k(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(k=function(e){return e?n:t})(e)}const x=30}}},{package:"$root$",file:"ui/components/multichain/pages/send/components/quote-card/index.tsx"}],[5167,{".":5160,"../../..":5092,"../../../../../../shared/constants/transaction":4520,"../../../../../../shared/modules/conversion.utils":4537,"../../../../../../shared/modules/string-utils":4558,"../../../../../ducks/metamask/metamask":5346,"../../../../../ducks/send":5348,"../../../../../helpers/constants/common":5353,"../../../../../helpers/constants/design-system":5355,"../../../../../hooks/useI18nContext":5427,"../../../../../selectors":5987,"../../../../component-library":4955,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.SendPageRecipientContent=void 0;var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=y(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}(e("react")),a=e("react-redux"),r=e("../../../../component-library"),i=e("../../../../../ducks/metamask/metamask"),s=e("../../../../../ducks/send"),l=e("../../../../../../shared/constants/transaction"),c=e("../../../../../helpers/constants/common"),u=e("../../../../../helpers/constants/design-system"),d=e("../../../../../hooks/useI18nContext"),p=e("../../.."),m=e("../../../../../../shared/modules/conversion.utils"),f=e("../../../../../selectors"),g=e("../../../../../../shared/modules/string-utils"),h=e(".");function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(y=function(e){return e?n:t})(e)}n.SendPageRecipientContent=({requireContractAddressAcknowledgement:e,onAssetChange:t})=>{var n,y,b;const v=(0,d.useI18nContext)(),{receiveAsset:k,sendAsset:x,amount:T,isSwapQuoteLoading:C}=(0,a.useSelector)(s.getCurrentDraftTransaction);let w;const _=(0,a.useSelector)(f.getUseExternalServices),E=(0,a.useSelector)(f.getIsSwapsChain),M=(0,a.useSelector)(s.getIsSwapAndSendDisabledForNetwork),S=(0,a.useSelector)(s.getSwapsBlockedTokens),O=(0,o.useMemo)((()=>new Set(S)),[S]);w=E&&!M&&[l.AssetType.token,l.AssetType.native].includes(x.type)&&_&&!O.has(null===(n=x.details)||void 0===n||null===(n=n.address)||void 0===n?void 0:n.toLowerCase());const A=(0,a.useSelector)(s.getBestQuote),N=!A&&C,I=(0,g.isEqualCaseInsensitive)((null===(y=k.details)||void 0===y?void 0:y.address)??"",(null===(b=x.details)||void 0===b?void 0:b.address)??""),P=I?T:{value:(0,m.decimalToHex)((null==A?void 0:A.destinationAmount)||"0")},j=(0,a.useSelector)(i.getSendHexDataFeatureFlagState),B=(0,a.useSelector)(s.getSendAsset),D=I&&j&&B&&B.type!==l.AssetType.token&&B.type!==l.AssetType.NFT,F=(0,o.useRef)(null),L=(0,a.useDispatch)();return o.default.createElement(r.Box,null,e?o.default.createElement(h.SendPageRow,null,o.default.createElement(r.BannerAlert,{severity:r.BannerAlertSeverity.Danger,"data-testid":"send-warning",actionButtonLabel:v("tooltipApproveButton"),actionButtonOnClick:()=>{L((0,s.acknowledgeRecipientWarning)())},actionButtonProps:{display:u.Display.Block,marginTop:4}},v("sendingToTokenContractWarning",[o.default.createElement("a",{key:"contractWarningSupport",target:"_blank",rel:"noopener noreferrer",className:"send__warning-container__link",href:c.CONTRACT_ADDRESS_LINK},v("learnMoreUpperCase"))]))):null,o.default.createElement(h.SendPageRow,null,o.default.createElement(p.AssetPickerAmount,{asset:w?k:x,sendingAsset:w?x:undefined,onAssetChange:(0,o.useCallback)((e=>t(e,w)),[t,w]),isAmountLoading:N,amount:P,isDisabled:!w})),o.default.createElement(h.QuoteCard,{scrollRef:F}),D?o.default.createElement(h.SendHexData,null):null,o.default.createElement("div",{ref:F}))}}}},{package:"$root$",file:"ui/components/multichain/pages/send/components/recipient-content.tsx"}],[5168,{".":5160,"../../../../../../shared/constants/metametrics":4505,"../../../../../../shared/modules/hexstring-utils":4544,"../../../../../contexts/i18n":5324,"../../../../../contexts/metametrics":5327,"../../../../../ducks/send":5348,"../../../../../helpers/utils/util":5399,"../../../../../pages/confirmations/send/send-content/add-recipient/domain-input":5720,"../../../../../store/actions":5998,"../../../../component-library":4955,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.SendPageRecipientInput=void 0;var o,a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=h(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=a?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(o,r,i):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}(e("react")),r=e("react-redux"),i=e("../../../../component-library"),s=(o=e("../../../../../pages/confirmations/send/send-content/add-recipient/domain-input"))&&o.__esModule?o:{default:o},l=e("../../../../../contexts/i18n"),c=e("../../../../../ducks/send"),u=e("../../../../../store/actions"),d=e("../../../../../contexts/metametrics"),p=e("../../../../../../shared/constants/metametrics"),m=e("../../../../../helpers/utils/util"),f=e("../../../../../../shared/modules/hexstring-utils"),g=e(".");function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(h=function(e){return e?n:t})(e)}n.SendPageRecipientInput=()=>{const e=(0,a.useContext)(l.I18nContext),t=(0,r.useDispatch)(),n=(0,a.useContext)(d.MetaMetricsContext),o=(0,r.useSelector)(c.getRecipient),h=(0,r.useSelector)(c.getRecipientUserInput),y=(0,r.useSelector)(c.getIsUsingMyAccountForRecipientSearch);return a.default.createElement(g.SendPageRow,null,a.default.createElement(i.Label,{paddingBottom:2},e("to")),a.default.createElement(s.default,{userInput:h,onChange:e=>t((0,c.updateRecipientUserInput)(e)),onValidAddressTyped:async e=>{t((0,c.addHistoryEntry)(`sendFlow - Valid address typed ${e}`)),await t((0,c.updateRecipientUserInput)(e)),n({event:p.MetaMetricsEventName.sendRecipientSelected,category:p.MetaMetricsEventCategory.Send,properties:{location:"send page recipient input",inputType:"user input"}}),t((0,c.updateRecipient)({address:e,nickname:""}))},internalSearch:y,selectedAddress:o.address,selectedName:o.nickname===o.address?(0,m.shortenAddress)((0,f.toChecksumHexAddress)(o.address)):o.nickname,onPaste:e=>{t((0,c.addHistoryEntry)(`sendFlow - User pasted ${e} into address field`))},onReset:()=>t((0,c.resetRecipientInput)()),scanQrCode:()=>{n({event:"Used QR scanner",category:p.MetaMetricsEventCategory.Transactions,properties:{action:"Edit Screen",legacy_event:!0}}),t((0,u.showQrScanner)())}}))}}}},{package:"$root$",file:"ui/components/multichain/pages/send/components/recipient-input.tsx"}]],[],{}); \ No newline at end of file diff --git a/contracts/test/e2e/metamask-flask-unpacked/ui-5.js b/contracts/test/e2e/metamask-flask-unpacked/ui-5.js index dd9803f..fafbd9f 100644 --- a/contracts/test/e2e/metamask-flask-unpacked/ui-5.js +++ b/contracts/test/e2e/metamask-flask-unpacked/ui-5.js @@ -1 +1 @@ -LavaPack.loadBundle([[5169,{".":5160,"../../../../../../shared/constants/metametrics":4505,"../../../../../contexts/i18n":5324,"../../../../../contexts/metametrics":5327,"../../../../../ducks/domains":5340,"../../../../../ducks/send":5348,"../../../../../selectors":5987,"../../../../component-library":4955,"../../../../ui/tabs":5296,"../../../address-list-item":5040,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.SendPageRecipient=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=h(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=e("react-redux"),o=e("../../../../../contexts/i18n"),i=e("../../../../../ducks/send"),s=e("../../../../../ducks/domains"),l=e("../../../../component-library"),c=e("../../../../../selectors"),u=e("../../../../ui/tabs"),d=e("../../../address-list-item"),f=e("../../../../../../shared/constants/metametrics"),p=e("../../../../../contexts/metametrics"),m=e(".");function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(h=function(e){return e?n:t})(e)}const g="contacts",y="accounts",b="ENS resolution",v=(e,t,n,r,o)=>a.default.createElement(d.AddressListItem,{address:e,label:t,useConfusable:n===b,onClick:()=>{r((0,i.addHistoryEntry)(`sendFlow - User clicked recipient from ${n}. address: ${e}, nickname ${t}`)),o({event:f.MetaMetricsEventName.sendRecipientSelected,category:f.MetaMetricsEventCategory.Send,properties:{location:"send page recipient screen",inputType:n}}),r((0,i.updateRecipient)({address:e,nickname:t})),r((0,i.updateRecipientUserInput)(e))}});n.SendPageRecipient=()=>{const e=(0,a.useContext)(o.I18nContext),t=(0,r.useDispatch)(),n=(0,a.useContext)(p.MetaMetricsContext),d=(0,r.useSelector)(i.getRecipient),f=(0,r.useSelector)(i.getRecipientUserInput)||"",h=(0,r.useSelector)(s.getDomainResolution),_=(0,r.useSelector)(s.getDomainError),C=(0,r.useSelector)(s.getDomainWarning);let T="";const w=(0,r.useSelector)((e=>(0,c.getAddressBookEntry)(e,h)));h&&null!=w&&w.name&&(T=w.name);const E=_||d.error&&"required"!==d.error,k=!E&&(C||d.warning);let O;return O=d.address?v(d.address,d.nickname,"validated user input",t,n):h&&!d.error?v(h,T||f,b,t,n):a.default.createElement(u.Tabs,{defaultActiveTabKey:f?g:y},a.default.createElement(u.Tab,{tabKey:y,name:e("yourAccounts")},a.default.createElement(m.SendPageYourAccounts,null)),a.default.createElement(u.Tab,{tabKey:g,name:e("contacts"),"data-testid":"send-contacts-tab"},a.default.createElement(m.SendPageAddressBook,null))),a.default.createElement(a.default.Fragment,null,E?a.default.createElement(m.SendPageRow,null,a.default.createElement(l.BannerAlert,{severity:l.BannerAlertSeverity.Danger,"data-testid":"send-recipient-error"},e(_??d.error))):null,k?a.default.createElement(m.SendPageRow,null,a.default.createElement(l.BannerAlert,{severity:l.BannerAlertSeverity.Warning,"data-testid":"send-recipient-warning"},e(C??d.warning))):null,a.default.createElement(l.Box,{className:"multichain-send-page__recipient"},O))}}}},{package:"$root$",file:"ui/components/multichain/pages/send/components/recipient.tsx"}],[5170,{"../../../../../helpers/constants/design-system":5355,"../../../../component-library":4955,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.SendPageRow=void 0;var a,r=(a=e("react"))&&a.__esModule?a:{default:a},o=e("../../../../component-library"),i=e("../../../../../helpers/constants/design-system");n.SendPageRow=({children:e})=>r.default.createElement(o.Box,{display:i.Display.Flex,paddingBottom:4,flexDirection:i.FlexDirection.Column},e)}}},{package:"$root$",file:"ui/components/multichain/pages/send/components/send-page-row.tsx"}],[5171,{".":5160,"../../..":5092,"../../../../../../shared/constants/metametrics":4505,"../../../../../contexts/metametrics":5327,"../../../../../ducks/send":5348,"../../../../../selectors":5987,"../../../account-list-menu/account-list-menu":5024,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.SendPageYourAccounts=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=e("react-redux"),o=e("../../../../../selectors"),i=e("../../.."),s=e("../../../../../ducks/send"),l=e("../../../account-list-menu/account-list-menu"),c=e("../../../../../contexts/metametrics"),u=e("../../../../../../shared/constants/metametrics"),d=e(".");function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}n.SendPageYourAccounts=()=>{const e=(0,r.useDispatch)(),t=(0,a.useContext)(c.MetaMetricsContext),n=(0,r.useSelector)(o.getUpdatedAndSortedAccounts),f=(0,r.useSelector)(o.getInternalAccounts),p=(0,l.mergeAccounts)(n,f);return a.default.createElement(d.SendPageRow,null,p.map((n=>a.default.createElement(i.AccountListItem,{account:n,key:n.address,isPinned:Boolean(n.pinned),onClick:()=>{e((0,s.addHistoryEntry)(`sendFlow - User clicked recipient from my accounts. address: ${n.address}, nickname ${n.name}`)),t({event:u.MetaMetricsEventName.sendRecipientSelected,category:u.MetaMetricsEventCategory.Send,properties:{location:"my accounts",inputType:"click"}}),e((0,s.updateRecipient)({address:n.address,nickname:n.name})),e((0,s.updateRecipientUserInput)(n.address))}}))))}}}},{package:"$root$",file:"ui/components/multichain/pages/send/components/your-accounts.tsx"}],[5172,{"./send":5173},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"SendPage",{enumerable:!0,get:function(){return a.SendPage}});var a=e("./send")}}},{package:"$root$",file:"ui/components/multichain/pages/send/index.js"}],[5173,{"../..":5092,"../../../../../shared/constants/metametrics":4505,"../../../../../shared/constants/transaction":4520,"../../../../contexts/i18n":5324,"../../../../contexts/metametrics":5327,"../../../../ducks/history/history":5343,"../../../../ducks/send":5348,"../../../../ducks/send/helpers":5347,"../../../../helpers/constants/routes":5361,"../../../../hooks/useUpdateSwapsState":5451,"../../../../pages/confirmations/send/send.constants":5721,"../../../../selectors":5987,"../../../../store/actions":5998,"../../../component-library":4955,"../page":5152,"./components":5160,react:4243,"react-redux":4199,"react-router-dom":4228,"react-tippy":4239},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.SendPage=void 0;var a,r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=E(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=e("react-redux"),i=e("react-router-dom"),s=e("react-tippy"),l=e("../../../../contexts/i18n"),c=e("../../../component-library"),u=e("../page"),d=e("../../../../ducks/send"),f=e("../../../../../shared/constants/transaction"),p=e("../../../../contexts/metametrics"),m=e("../../../../pages/confirmations/send/send.constants"),h=e("../../../../store/actions"),g=e("../../../../helpers/constants/routes"),y=e("../../../../../shared/constants/metametrics"),b=e("../../../../ducks/history/history"),v=e("../.."),_=(a=e("../../../../hooks/useUpdateSwapsState"))&&a.__esModule?a:{default:a},C=e("../../../../ducks/send/helpers"),T=e("../../../../selectors"),w=e("./components");function E(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(E=function(e){return e?n:t})(e)}n.SendPage=()=>{const e=(0,r.useContext)(l.I18nContext),t=(0,o.useDispatch)(),n=(0,r.useRef)(!1),a=(0,o.useSelector)(d.getDraftTransactionExists),E=(0,o.useSelector)(d.getCurrentDraftTransaction),{sendAsset:k,amount:O,swapQuotesError:M}=E,x=(0,o.useSelector)(d.getDraftTransactionID),N=(0,o.useSelector)(b.getMostRecentOverviewPage),P=(0,o.useSelector)(d.getSendStage),j=(0,C.getIsDraftSwapAndSend)(E),I=(0,i.useHistory)(),S=(0,i.useLocation)(),A=(0,r.useContext)(p.MetaMetricsContext),D=(0,o.useSelector)(d.getSendAnalyticProperties),[L,R]=(0,r.useState)(!1),$=(0,r.useCallback)(((e,n)=>{const a=e.type.toUpperCase();switch(a){case f.TokenStandard.ERC20:case"TOKEN":e.type=f.AssetType.token,e.standard=f.TokenStandard.ERC20;break;case f.TokenStandard.ERC721:e.type=f.AssetType.NFT,e.standard=f.TokenStandard.ERC721,e.isERC721=!0;break;case f.TokenStandard.ERC1155:e.type=f.AssetType.NFT,e.standard=f.TokenStandard.ERC1155;break;default:if("NATIVE"===a)break;e.type=f.AssetType.unknown,e.standard=f.TokenStandard.none}e.image=e.image??e.iconUrl,e.type===f.AssetType.native?t((0,d.updateSendAsset)({type:e.type,details:e,skipComputeEstimatedGasLimit:!1,isReceived:n})):t((0,d.updateSendAsset)({type:e.type??f.AssetType.token,details:{...e,standard:e.standard??f.TokenStandard.ERC20},skipComputeEstimatedGasLimit:!1,isReceived:n})),I.push(g.SEND_ROUTE)}),[t,I]),B=(0,r.useCallback)((()=>{t((0,d.resetSendState)()),R(!1)}),[t]);(0,r.useEffect)((()=>{!1===a&&!1===n.current&&(n.current=!0,t((0,d.startNewDraftTransaction)({type:f.AssetType.native})))}),[a,t]),(0,r.useEffect)((()=>{window.addEventListener("beforeunload",B)}),[B]),(0,r.useEffect)((()=>{if("?scan=true"===S.search){t((0,h.showQrScanner)());const[e]=window.location.href.split("?");window.history.pushState({},null,`${e}`),window.location.hash="#send"}}),[S,t]),(0,r.useEffect)((()=>()=>{t((0,d.resetSendState)()),window.removeEventListener("beforeunload",B)}),[t,B]);const H=()=>{x&&t((0,h.cancelTx)({id:x})),t((0,d.resetSendState)()),A({event:y.MetaMetricsEventName.sendFlowExited,category:y.MetaMetricsEventCategory.Send,properties:{...D}});const e=P===d.SEND_STAGES.EDIT?g.DEFAULT_ROUTE:N;I.push(e)};(0,r.useEffect)((()=>{M&&A({event:y.MetaMetricsEventName.sendSwapQuoteError,category:y.MetaMetricsEventCategory.Send,properties:{...D}})}),[A,M]);const V="knownAddressRecipient"===(0,o.useSelector)(d.getRecipient).warning,F=(0,o.useSelector)(d.getRecipientWarningAcknowledgement),U=V&&!F,W=(0,o.useSelector)(d.getSendErrors),z=(0,o.useSelector)(d.isSendFormInvalid),G=(0,o.useSelector)(T.smartTransactionsListSelector),Z=null==G?void 0:G.find((({status:e})=>e===f.SmartTransactionStatus.pending)),K=W.gasFee===m.INSUFFICIENT_FUNDS_ERROR&&W.amount!==m.INSUFFICIENT_FUNDS_ERROR,q=z&&!K||U||j&&Z,Y=a&&[d.SEND_STAGES.EDIT,d.SEND_STAGES.DRAFT].includes(P),X=(0,r.useCallback)((e=>$(e,!1)),[$]);(0,_.default)();const J=(0,r.useCallback)(((e,n)=>t((0,d.updateSendAmount)(e,n))),[t]);let Q="";return j&&(Q=e(Z?"isSigningOrSubmitting":"sendSwapSubmissionWarning")),r.default.createElement(u.Page,{className:"multichain-send-page"},r.default.createElement(u.Header,{startAccessory:r.default.createElement(c.ButtonIcon,{size:c.ButtonIconSize.Sm,ariaLabel:e("back"),iconName:c.IconName.ArrowLeft,onClick:H})},e("sendAToken")),r.default.createElement(u.Content,null,r.default.createElement(w.SendPageAccountPicker,null),Y&&r.default.createElement(v.AssetPickerAmount,{asset:k,amount:O,onAssetChange:X,onAmountChange:J}),r.default.createElement(c.Box,{marginTop:6},r.default.createElement(w.SendPageRecipientInput,null),Y?r.default.createElement(w.SendPageRecipientContent,{requireContractAddressAcknowledgement:U,onAssetChange:$}):r.default.createElement(w.SendPageRecipient,null))),r.default.createElement(u.Footer,null,r.default.createElement(c.ButtonSecondary,{className:"multichain-send-page__nav-button",onClick:H,size:c.ButtonSecondarySize.Lg,block:!0},P===d.SEND_STAGES.EDIT?e("reject"):e("cancel")),r.default.createElement(s.Tooltip,{key:Q,className:"multichain-send-page__nav-button",title:Q,disabled:!j,arrow:!0,hideOnClick:!1,style:{display:"inline-flex"}},r.default.createElement(c.ButtonPrimary,{onClick:async e=>{e.preventDefault(),R(!0),await t((0,d.signTransaction)(I)),L&&R(!1),A({category:y.MetaMetricsEventCategory.Transactions,event:"Complete",properties:{...D,action:j?"Submit Immediately":"Edit Screen",legacy_event:!0}})},loading:L,size:c.ButtonPrimarySize.Lg,disabled:q||L,block:!0},e(j?"confirm":"continue")))))}}}},{package:"$root$",file:"ui/components/multichain/pages/send/send.js"}],[5174,{"./permission-details-modal":5175},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"PermissionDetailsModal",{enumerable:!0,get:function(){return a.PermissionDetailsModal}});var a=e("./permission-details-modal")}}},{package:"$root$",file:"ui/components/multichain/permission-details-modal/index.ts"}],[5175,{"../../../helpers/constants/design-system":5355,"../../../helpers/utils/permission":5393,"../../../helpers/utils/util":5399,"../../../hooks/useI18nContext":5427,"../../../selectors":5987,"../../app/permission-cell":4726,"../../component-library":4955,lodash:3836,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.PermissionDetailsModal=void 0;var a=p(e("react")),r=e("lodash"),o=e("react-redux"),i=e("../../component-library"),s=e("../../../selectors"),l=e("../../../helpers/utils/util"),c=e("../../../hooks/useI18nContext"),u=e("../../../helpers/utils/permission"),d=p(e("../../app/permission-cell")),f=e("../../../helpers/constants/design-system");function p(e){return e&&e.__esModule?e:{default:e}}n.PermissionDetailsModal=({onClose:e,onClick:t,isOpen:n,account:p,permissions:m})=>{const h=(0,c.useI18nContext)(),g=(0,o.useSelector)(s.getUseBlockie),y=(0,r.flatten)(m.map((({key:e,value:t})=>(0,u.getPermissionDescription)({t:h,permissionName:e,permissionValue:t,subjectName:"",getSubjectName:()=>""}))));return a.default.createElement(i.Modal,{isOpen:n,"data-testid":"permission-details-modal",onClose:e},a.default.createElement(i.ModalOverlay,null),a.default.createElement(i.ModalContent,null,a.default.createElement(i.ModalHeader,{onClose:e},a.default.createElement(i.Box,{display:f.Display.Flex,alignItems:f.AlignItems.center,justifyContent:f.JustifyContent.center,gap:2},a.default.createElement(i.AvatarAccount,{size:i.AvatarAccountSize.Sm,address:p.address,variant:g?i.AvatarAccountVariant.Blockies:i.AvatarAccountVariant.Jazzicon}),a.default.createElement(i.Text,{variant:f.TextVariant.headingSm},p.metadata.name?p.metadata.name:(0,l.shortenAddress)(p.address)))),a.default.createElement(i.ModalBody,null,y.map(((e,t)=>a.default.createElement(d.default,{permissionName:e.permissionName,title:e.label,description:e.description,weight:e.weight,avatarIcon:e.leftIcon,dateApproved:(null==e?void 0:e.permissionValue).date,key:`${e.permissionName}-${t}`})))),a.default.createElement(i.ModalFooter,null,a.default.createElement(i.Button,{startIconName:i.IconName.Logout,variant:i.ButtonVariant.Secondary,onClick:t,size:i.ButtonSize.Lg,danger:!0,block:!0,"data-testid":"disconnect"},h("disconnect")))))}}}},{package:"$root$",file:"ui/components/multichain/permission-details-modal/permission-details-modal.tsx"}],[5176,{"./product-tour-popover":5177},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"ProductTour",{enumerable:!0,get:function(){return a.ProductTour}});var a=e("./product-tour-popover")}}},{package:"$root$",file:"ui/components/multichain/product-tour-popover/index.js"}],[5177,{"../../../helpers/constants/design-system":5355,"../../../hooks/useI18nContext":5427,"../../component-library":4955,"../../ui/menu":5264,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.ProductTour=void 0;var a=u(e("react")),r=u(e("classnames")),o=u(e("prop-types")),i=e("../../../helpers/constants/design-system"),s=e("../../component-library"),l=e("../../../hooks/useI18nContext"),c=e("../../ui/menu");function u(e){return e&&e.__esModule?e:{default:e}}function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const _=(0,l.useI18nContext)();return a.default.createElement(c.Menu,d({className:(0,r.default)("multichain-product-tour-menu",{"multichain-product-tour-menu--rtl":"rtl"===b},e),anchorElement:h,onHide:m,"data-testid":"multichain-product-tour-menu-popover"},v),a.default.createElement(s.Box,{className:"multichain-product-tour-menu__container",backgroundColor:i.BackgroundColor.infoDefault,borderRadius:i.BorderRadius.LG,padding:4},a.default.createElement(s.Box,{borderWidth:1,className:"multichain-product-tour-menu__arrow",display:i.Display.Flex,justifyContent:i.JustifyContent.center,alignItems:i.AlignItems.center,style:{right:p}}),a.default.createElement(s.Box,{display:i.Display.Flex,alignItems:i.AlignItems.center,className:"multichain-product-tour-menu__header"},t?a.default.createElement(s.ButtonIcon,{iconName:s.IconName.ArrowLeft,size:i.Size.SM,color:i.IconColor.infoInverse,onClick:y,className:"multichain-product-tour-menu__previous-icon","data-testid":"multichain-product-tour-menu-popover-prevIcon"}):null,a.default.createElement(s.Text,{textAlign:i.TextAlign.Center,variant:i.TextVariant.headingSm,width:i.BlockSize.Full,color:i.TextColor.infoInverse},n)),a.default.createElement(s.Text,{paddingBottom:2,paddingTop:2,color:i.TextColor.infoInverse,variant:i.TextVariant.bodyMd},o),a.default.createElement(s.Box,{display:i.Display.Flex,alignItems:i.AlignItems.center,justifyContent:i.JustifyContent.spaceBetween},a.default.createElement(s.Text,{paddingBottom:2,paddingTop:2,color:i.TextColor.infoInverse,variant:i.TextVariant.bodyMd,"data-testid":"multichain-product-tour-menu-popover-step-counter"},u&&f?`${u} / ${f}`:null),a.default.createElement(s.ButtonBase,{backgroundColor:i.BackgroundColor.primaryInverse,color:i.TextColor.primaryDefault,className:"multichain-product-tour-menu__button",onClick:g},_("recoveryPhraseReminderConfirm")))))};n.ProductTour=f,f.propTypes={anchorElement:o.default.instanceOf(window.Element),closeMenu:o.default.func.isRequired,className:o.default.string,prevIcon:o.default.bool,title:o.default.string,description:o.default.string,currentStep:o.default.string,totalSteps:o.default.string,positionObj:o.default.string,onClick:o.default.func,prevClick:o.default.func,productTourDirection:o.default.string}}}},{package:"$root$",file:"ui/components/multichain/product-tour-popover/product-tour-popover.js"}],[5178,{"../../../../shared/constants/app":4493,"../../../../shared/constants/metametrics":4505,"../../../contexts/metametrics":5327,"../../../ducks/locale/locale":5345,"../../../helpers/constants/design-system":5355,"../../../hooks/experiences/useRamps":5403,"../../../hooks/useI18nContext":5427,"../../../selectors":5987,"../../component-library":4955,classnames:3049,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.RampsCard=n.RAMPS_CARD_VARIANT_TYPES=n.RAMPS_CARD_VARIANTS=void 0;var a=b(e("react")),r=g(e("prop-types")),o=e("react-redux"),i=g(e("classnames")),s=e("../../component-library"),l=e("../../../helpers/constants/design-system"),c=e("../../../hooks/useI18nContext"),u=e("../../../selectors"),d=e("../../../../shared/constants/metametrics"),f=e("../../../contexts/metametrics"),p=b(e("../../../hooks/experiences/useRamps")),m=e("../../../../shared/constants/app"),h=e("../../../ducks/locale/locale");function g(e){return e&&e.__esModule?e:{default:e}}function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(y=function(e){return e?n:t})(e)}function b(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=y(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}const v=n.RAMPS_CARD_VARIANT_TYPES={TOKEN:"token",NFT:"nft",ACTIVITY:"activity"},_=n.RAMPS_CARD_VARIANTS={[v.TOKEN]:{illustrationSrc:"./images/ramps-card-token-illustration.png",gradient:"linear-gradient(90deg, #0189EC 0%, #4B7AED 35%, #6774EE 58%, #706AF4 80.5%, #7C5BFC 100%)",title:"fundYourWallet",body:"fundYourWalletDescription"},[v.NFT]:{illustrationSrc:"./images/ramps-card-nft-illustration.png",gradient:"linear-gradient(90deg, #F6822D 0%, #F894A7 52%, #ED94FB 92.5%)",title:"getStartedWithNFTs",body:"getStartedWithNFTsDescription"},[v.ACTIVITY]:{illustrationSrc:"./images/ramps-card-activity-illustration.png",gradient:"linear-gradient(90deg, #57C5DC 0%, #06BFDD 49.39%, #35A9C7 100%)",title:"startYourJourney",body:"startYourJourneyDescription"}},C={[v.TOKEN]:p.RampsMetaMaskEntry.TokensBanner,[v.NFT]:p.RampsMetaMaskEntry.NftBanner,[v.ACTIVITY]:p.RampsMetaMaskEntry.ActivityBanner},T=({variant:e})=>{const t=(0,c.useI18nContext)(),{gradient:n,illustrationSrc:r,title:g,body:y}=_[e],{openBuyCryptoInPdapp:b}=(0,p.default)(C[e]),v=(0,a.useContext)(f.MetaMetricsContext),T=(0,o.useSelector)(h.getCurrentLocale),{chainId:w,nickname:E}=(0,o.useSelector)(u.getCurrentNetwork),{symbol:k="ETH"}=(0,o.useSelector)(u.getSwapsDefaultToken);(0,a.useEffect)((()=>{v({event:d.MetaMetricsEventName.EmptyBuyBannerDisplayed,category:d.MetaMetricsEventCategory.Navigation,properties:{chain_id:w,locale:T,network:E,referrer:m.ORIGIN_METAMASK}})}),[T,w,E,v]);const O=(0,a.useCallback)((()=>{b(),v({event:d.MetaMetricsEventName.NavBuyButtonClicked,category:d.MetaMetricsEventCategory.Navigation,properties:{location:`${e} tab`,text:`Buy ${k}`,chain_id:w,token_symbol:k}})}),[w,b,k,v,e]);return a.default.createElement(s.Box,{className:(0,i.default)("ramps-card",`ramps-card-${e}`),display:l.Display.Flex,flexDirection:l.FlexDirection.Column,gap:2,borderRadius:l.BorderRadius.LG,margin:2,style:{background:`url(${r}) no-repeat right bottom / contain,\n linear-gradient(rgba(0, 0, 0, 0.12),rgba(0, 0, 0, 0.12)), ${n}`}},a.default.createElement(s.Text,{className:"ramps-card__title",variant:l.TextVariant.headingSm},t(g,[k])),a.default.createElement(s.Text,{className:"ramps-card__body"},t(y,[k])),a.default.createElement(s.ButtonBase,{className:"ramps-card__cta-button",onClick:O},t("buyToken",[k])))};n.RampsCard=T,T.propTypes={variant:r.default.oneOf(Object.values(v))}}}},{package:"$root$",file:"ui/components/multichain/ramps-card/ramps-card.js"}],[5179,{"./receive-modal":5180},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"ReceiveModal",{enumerable:!0,get:function(){return a.ReceiveModal}});var a=e("./receive-modal")}}},{package:"$root$",file:"ui/components/multichain/receive-modal/index.js"}],[5180,{"../../../helpers/constants/design-system":5355,"../../../hooks/useI18nContext":5427,"../../../selectors":5987,"../../component-library":4955,"../../ui/qr-code-view":5285,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.ReceiveModal=void 0;var a=d(e("react")),r=e("react-redux"),o=d(e("prop-types")),i=e("../../component-library"),s=d(e("../../ui/qr-code-view")),l=e("../../../hooks/useI18nContext"),c=e("../../../selectors"),u=e("../../../helpers/constants/design-system");function d(e){return e&&e.__esModule?e:{default:e}}const f=({address:e,onClose:t})=>{const n=(0,l.useI18nContext)(),o=(0,r.useSelector)(c.getUseBlockie),{metadata:{name:d}}=(0,r.useSelector)((t=>(0,c.getInternalAccountByAddress)(t,e)));return a.default.createElement(i.Modal,{isOpen:!0,onClose:t},a.default.createElement(i.ModalOverlay,null),a.default.createElement(i.ModalContent,null,a.default.createElement(i.ModalHeader,{marginBottom:4,onClose:t},n("receive")),a.default.createElement(i.Box,{display:u.Display.Flex,width:u.BlockSize.Full,justifyContent:u.JustifyContent.center},a.default.createElement(i.AvatarAccount,{variant:o?i.AvatarAccountVariant.Blockies:i.AvatarAccountVariant.Jazzicon,address:e,size:i.AvatarAccountSize.Lg})),a.default.createElement(i.Text,{marginTop:4,variant:u.TextVariant.bodyLgMedium,textAlign:u.TextAlign.Center},d),a.default.createElement(i.Box,{display:u.Display.Flex,alignItems:u.AlignItems.center,flexDirection:u.FlexDirection.Column,paddingInlineEnd:4,paddingInlineStart:4},a.default.createElement(s.default,{Qr:{data:e}}))))};n.ReceiveModal=f,f.propTypes={address:o.default.string.isRequired,onClose:o.default.func.isRequired}}}},{package:"$root$",file:"ui/components/multichain/receive-modal/receive-modal.js"}],[5181,{"./receive-token-link":5182},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"ReceiveTokenLink",{enumerable:!0,get:function(){return a.ReceiveTokenLink}});var a=e("./receive-token-link")}}},{package:"$root$",file:"ui/components/multichain/receive-token-link/index.ts"}],[5182,{"../../../../shared/constants/app":4493,"../../../../shared/constants/metametrics":4505,"../../../contexts/metametrics":5327,"../../../ducks/locale/locale":5345,"../../../helpers/constants/design-system":5355,"../../../hooks/useI18nContext":5427,"../../../selectors":5987,"../../component-library":4955,"../receive-modal":5179,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.ReceiveTokenLink=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=m(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=e("react-redux"),o=e("../../component-library"),i=e("../../../helpers/constants/design-system"),s=e("../../../hooks/useI18nContext"),l=e("../../../contexts/metametrics"),c=e("../../../../shared/constants/metametrics"),u=e("../../../selectors"),d=e("../receive-modal"),f=e("../../../../shared/constants/app"),p=e("../../../ducks/locale/locale");function m(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(m=function(e){return e?n:t})(e)}function h(){return h=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const t=(0,a.useContext)(l.MetaMetricsContext),n=(0,s.useI18nContext)(),m=(0,r.useSelector)(u.getCurrentNetwork),g=(0,r.useSelector)(p.getCurrentLocale),{address:y}=(0,r.useSelector)(u.getSelectedAccount),[b,v]=(0,a.useState)(!1);return(0,a.useEffect)((()=>{t({event:c.MetaMetricsEventName.EmptyReceiveBannerDisplayed,category:c.MetaMetricsEventCategory.Navigation,properties:{chain_id:m.chainId,locale:g,network:m.nickname,referrer:f.ORIGIN_METAMASK}})}),[]),a.default.createElement(a.default.Fragment,null,b&&a.default.createElement(d.ReceiveModal,{address:y,onClose:()=>v(!1)}),a.default.createElement(o.Box,h({display:i.Display.Flex,alignItems:i.AlignItems.center},e),a.default.createElement(o.ButtonLink,{size:o.ButtonLinkSize.Md,startIconName:o.IconName.Add,onClick:()=>{v(!0)}},n("receiveTokensCamelCase"))))}}}},{package:"$root$",file:"ui/components/multichain/receive-token-link/receive-token-link.tsx"}],[5183,{"./toast":5184},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"Toast",{enumerable:!0,get:function(){return a.Toast}}),Object.defineProperty(n,"ToastContainer",{enumerable:!0,get:function(){return a.ToastContainer}});var a=e("./toast")}}},{package:"$root$",file:"ui/components/multichain/toast/index.ts"}],[5184,{"../../../../shared/constants/preferences":4512,"../../../helpers/constants/design-system":5355,"../../component-library":4955,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.ToastContainer=n.Toast=void 0;var a,r=(a=e("react"))&&a.__esModule?a:{default:a},o=e("../../../../shared/constants/preferences"),i=e("../../component-library"),s=e("../../../helpers/constants/design-system");n.ToastContainer=({children:e})=>r.default.createElement(i.Box,{className:"toasts-container"},e);n.Toast=({startAdornment:e,text:t,actionText:n,onActionClick:a,onClose:l})=>{const{theme:c}=document.documentElement.dataset;return r.default.createElement(i.BannerBase,{"data-theme":c===o.ThemeType.light?o.ThemeType.dark:o.ThemeType.light,onClose:l},r.default.createElement(i.Box,{display:s.Display.Flex,gap:4},e,r.default.createElement(i.Box,null,r.default.createElement(i.Text,{className:"toast-text"},t),n&&a?r.default.createElement(i.ButtonLink,{onClick:a},n):null)))}}}},{package:"$root$",file:"ui/components/multichain/toast/toast.tsx"}],[5185,{"./token-list-item":5186},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"TokenListItem",{enumerable:!0,get:function(){return a.TokenListItem}});var a=e("./token-list-item")}}},{package:"$root$",file:"ui/components/multichain/token-list-item/index.js"}],[5186,{"../../../../app/scripts/lib/util":120,"../../../../shared/constants/app":4493,"../../../../shared/constants/metametrics":4505,"../../../../shared/constants/network":4507,"../../../contexts/metametrics":5327,"../../../ducks/metamask/metamask":5346,"../../../helpers/constants/design-system":5355,"../../../helpers/constants/routes":5361,"../../../helpers/utils/portfolio":5394,"../../../hooks/useI18nContext":5427,"../../../selectors":5987,"../../../store/actions":5998,"../../component-library":4955,"../../component-library/modal-content/deprecated":4963,"../../component-library/modal-header/deprecated":4972,"../../ui/tooltip":5310,classnames:3049,"prop-types":3997,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.TokenListItem=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=k(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=E(e("prop-types")),o=e("react-redux"),i=e("react-router-dom"),s=E(e("classnames")),l=e("../../../helpers/constants/design-system"),c=e("../../component-library"),u=e("../../component-library/modal-content/deprecated"),d=e("../../component-library/modal-header/deprecated"),f=e("../../../selectors"),p=E(e("../../ui/tooltip")),m=e("../../../hooks/useI18nContext"),h=e("../../../contexts/metametrics"),g=e("../../../../shared/constants/metametrics"),y=e("../../../../shared/constants/network"),b=e("../../../helpers/constants/routes"),v=e("../../../store/actions"),_=e("../../../../shared/constants/app"),C=e("../../../../app/scripts/lib/util"),T=e("../../../ducks/metamask/metamask"),w=e("../../../helpers/utils/portfolio");function E(e){return e&&e.__esModule?e:{default:e}}function k(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(k=function(e){return e?n:t})(e)}const O=({className:e,onClick:t,tokenSymbol:n,tokenImage:r,primary:E,secondary:k,title:O,tooltipText:M,isOriginalTokenSymbol:x,isNativeCurrency:N=!1,isStakeable:P=!1})=>{var j;const I=(0,m.useI18nContext)(),S=(0,o.useSelector)(f.getNativeCurrencyImage),A=(0,a.useContext)(h.MetaMetricsContext),D=(0,o.useSelector)(f.getMetaMetricsId),L=(0,o.useSelector)(f.getCurrentChainId),R=N&&!x,$=(0,o.useDispatch)(),[B,H]=(0,a.useState)(!1),V=(0,C.getEnvironmentType)(),F=(0,o.useSelector)(T.getProviderConfig),{useNativeCurrencyAsPrimaryCurrency:U}=(0,o.useSelector)(f.getPreferences),W=V===_.ENVIRONMENT_TYPE_FULLSCREEN,z=(0,i.useHistory)(),G=O===y.CURRENCY_SYMBOLS.ETH&&x?I("networkNameEthereum"):O,Z=a.default.createElement(c.Box,{as:"button",backgroundColor:l.BackgroundColor.transparent,"data-testid":`staking-entrypoint-${L}`,display:l.Display.InlineFlex,flexDirection:l.FlexDirection.Row,alignItems:l.AlignItems.center,gap:1,paddingInline:0,tabIndex:"0",onClick:e=>{e.preventDefault(),e.stopPropagation();const t=(0,w.getPortfolioUrl)("stake","ext_stake_button",D);global.platform.openTab({url:t}),A({event:g.MetaMetricsEventName.StakingEntryPointClicked,category:g.MetaMetricsEventCategory.Tokens,properties:{location:"Token List Item",text:"Stake",chain_id:L,token_symbol:n}})}},a.default.createElement(c.Text,{as:"span"},"•"),a.default.createElement(c.Text,{as:"span",color:l.TextColor.primaryDefault},I("stake")),a.default.createElement(c.Icon,{name:c.IconName.Stake,size:c.IconSize.Sm,color:l.IconColor.primaryDefault})),K=(0,o.useSelector)(f.getCurrentNetwork),q=(0,o.useSelector)(f.getTestNetworkBackgroundColor);return a.default.createElement(c.Box,{className:(0,s.default)("multichain-token-list-item",e),display:l.Display.Flex,flexDirection:l.FlexDirection.Column,gap:4,"data-testid":"multichain-token-list-item",title:M?I(M):undefined},a.default.createElement(c.Box,{className:"multichain-token-list-item__container-cell",display:l.Display.Flex,flexDirection:l.FlexDirection.Row,padding:4,as:"a","data-testid":"multichain-token-list-button",href:"#",onClick:e=>{e.preventDefault(),B||(t&&t(),A({category:g.MetaMetricsEventCategory.Tokens,event:g.MetaMetricsEventName.TokenDetailsOpened,properties:{location:"Home",chain_id:L,token_symbol:n}}))}},a.default.createElement(c.BadgeWrapper,{badge:a.default.createElement(c.AvatarNetwork,{size:c.AvatarNetworkSize.Xs,name:null==K?void 0:K.nickname,src:null==K||null===(j=K.rpcPrefs)||void 0===j?void 0:j.imageUrl,backgroundColor:q,borderColor:S?l.BorderColor.borderMuted:l.BorderColor.borderDefault}),marginRight:3},a.default.createElement(c.AvatarToken,{name:n,src:r,showHalo:!0,borderColor:r?undefined:l.BorderColor.borderDefault})),a.default.createElement(c.Box,{className:"multichain-token-list-item__container-cell--text-container",display:l.Display.Flex,flexDirection:l.FlexDirection.Column,width:l.BlockSize.Full,style:{flexGrow:1,overflow:"hidden"}},a.default.createElement(c.Box,{display:l.Display.Flex,flexDirection:l.FlexDirection.Row,justifyContent:l.JustifyContent.spaceBetween,gap:1},a.default.createElement(c.Box,{width:P?l.BlockSize.Half:l.BlockSize.OneThird,display:l.Display.InlineBlock},(null==O?void 0:O.length)>12?a.default.createElement(p.default,{position:"bottom",html:O,tooltipInnerClassName:"multichain-token-list-item__tooltip"},a.default.createElement(c.Text,{as:"span",fontWeight:l.FontWeight.Medium,variant:l.TextVariant.bodyMd,ellipsis:!0},P?a.default.createElement(a.default.Fragment,null,n," ",Z):n)):a.default.createElement(c.Text,{as:"span",fontWeight:l.FontWeight.Medium,variant:l.TextVariant.bodyMd,ellipsis:!0},P?a.default.createElement(c.Box,{display:l.Display.InlineBlock},n," ",Z):n),a.default.createElement(c.Text,{variant:l.TextVariant.bodyMd,color:l.TextColor.textAlternative,"data-testid":"multichain-token-list-item-token-name",ellipsis:!0},G)),R?a.default.createElement(c.Box,{display:l.Display.Flex,flexDirection:l.FlexDirection.Column,width:P?l.BlockSize.Half:l.BlockSize.TwoThirds,alignItems:l.AlignItems.flexEnd},a.default.createElement(c.ButtonIcon,{iconName:c.IconName.Danger,onClick:e=>{e.preventDefault(),e.stopPropagation(),H(!0)},color:l.IconColor.errorDefault,size:c.IconSize.Md,backgroundColor:l.BackgroundColor.transparent,"data-testid":"scam-warning"}),U?a.default.createElement(c.Text,{fontWeight:l.FontWeight.Medium,variant:l.TextVariant.bodyMd,width:P?l.BlockSize.Half:l.BlockSize.TwoThirds,textAlign:l.TextAlign.End,"data-testid":"multichain-token-list-item-secondary-value",ellipsis:P},k):a.default.createElement(c.Text,{"data-testid":"multichain-token-list-item-value",color:l.TextColor.textAlternative,variant:l.TextVariant.bodyMd,textAlign:l.TextAlign.End},E," ",N?"":n)):a.default.createElement(c.Box,{display:l.Display.Flex,flexDirection:l.FlexDirection.Column,width:P?l.BlockSize.Half:l.BlockSize.TwoThirds,alignItems:l.AlignItems.flexEnd},a.default.createElement(c.Text,{fontWeight:l.FontWeight.Medium,variant:l.TextVariant.bodyMd,width:P?l.BlockSize.Half:l.BlockSize.TwoThirds,textAlign:l.TextAlign.End,"data-testid":"multichain-token-list-item-secondary-value",ellipsis:P},k),a.default.createElement(c.Text,{"data-testid":"multichain-token-list-item-value",color:l.TextColor.textAlternative,variant:l.TextVariant.bodyMd,textAlign:l.TextAlign.End},E," ",N?"":n))),a.default.createElement(c.Box,{display:l.Display.Flex,flexDirection:l.FlexDirection.Row,justifyContent:l.JustifyContent.spaceBetween,gap:1}))),B?a.default.createElement(c.Modal,{isOpen:!0},a.default.createElement(c.ModalOverlay,null),a.default.createElement(u.ModalContent,null,a.default.createElement(d.ModalHeader,{onClose:()=>H(!1)},I("nativeTokenScamWarningTitle")),a.default.createElement(c.Box,{marginTop:4,marginBottom:4},I("nativeTokenScamWarningDescription",[n])),a.default.createElement(c.Box,null,a.default.createElement(c.ButtonSecondary,{onClick:()=>{$((0,v.setSelectedNetworkConfigurationId)(F.id)),W?z.push(b.NETWORKS_ROUTE):global.platform.openExtensionInBrowser(b.NETWORKS_ROUTE)},block:!0},I("nativeTokenScamWarningConversion"))))):null)};n.TokenListItem=O,O.propTypes={className:r.default.string,onClick:r.default.func,tokenSymbol:r.default.string,title:r.default.string,tooltipText:r.default.string,tokenImage:r.default.string,primary:r.default.string,secondary:r.default.string,isOriginalTokenSymbol:r.default.bool,isNativeCurrency:r.default.bool,isStakeable:r.default.bool}}}},{package:"$root$",file:"ui/components/multichain/token-list-item/token-list-item.js"}],[5187,{"../../../helpers/constants/common":5353,"../../../helpers/constants/design-system":5355,"../../../hooks/useI18nContext":5427,"../../app/user-preferenced-currency-display":4880,"../../component-library":4955,"../identicon":5247,"../tooltip":5310,classnames:3049,lodash:3836,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=h(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=m(e("prop-types")),o=m(e("classnames")),i=e("lodash"),s=e("../../../hooks/useI18nContext"),l=m(e("../identicon")),c=m(e("../../app/user-preferenced-currency-display")),u=e("../../../helpers/constants/common"),d=m(e("../tooltip")),f=e("../../component-library"),p=e("../../../helpers/constants/design-system");function m(e){return e&&e.__esModule?e:{default:e}}function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(h=function(e){return e?n:t})(e)}const g=({selectNewAccountViaModal:e,accounts:t,addressLastConnectedMap:n,selectedAccounts:r,nativeCurrency:i,allAreSelected:m,deselectAll:h,selectAll:g,handleAccountClick:y})=>{const b=(0,s.useI18nContext)(),v=(0,a.useRef)(null);(0,a.useLayoutEffect)((()=>{var e;null===(e=v.current)||void 0===e||e.scrollIntoView({behavior:"smooth"})}),[]);const[_]=r,C=()=>{let n=!1,i=!1;return m()?n=!0:0===r.size?n=!1:i=!0,a.default.createElement("div",{className:(0,o.default)({"choose-account-list__header--one-item":1===t.length,"choose-account-list__header--multiple-items":t.length>1})},t.length>1?a.default.createElement("div",{className:"choose-account-list__select-all"},a.default.createElement(f.Checkbox,{className:"choose-account-list__header-check-box","data-testid":"choose-account-list-operate-all-check-box",isChecked:n,isIndeterminate:i,onClick:()=>m()?h():g()}),a.default.createElement(f.Text,{as:"div",className:"choose-account-list__text-grey",color:p.TextColor.textAlternative},b("selectAll")),a.default.createElement(d.default,{position:"bottom",html:a.default.createElement("div",{style:{width:200,padding:4}},b("selectingAllWillAllow"))},a.default.createElement(f.Icon,{name:f.IconName.Info,color:p.IconColor.iconMuted,className:"info-circle",marginInlineStart:2}))):null,a.default.createElement(f.ButtonLink,{color:p.TextColor.infoDefault,variant:p.TextVariant.bodyMdMedium,style:{cursor:"pointer"},onClick:()=>e(y)},b("newAccount")))};return a.default.createElement("div",{className:"choose-account-list"},a.default.createElement(C,null),a.default.createElement("div",{className:"choose-account-list__wrapper"},a.default.createElement(f.Box,{className:"choose-account-list__list",style:{overflowX:"hidden"}},t.map(((e,t)=>{const{address:o,addressLabel:s,balance:m}=e,h=r.has(o);return a.default.createElement(f.Box,{display:p.Display.Flex,width:p.BlockSize.Full,key:`choose-account-list-${t}`,onClick:()=>y(o),className:"choose-account-list__account",ref:h&&o===_?v:null,backgroundColor:h?p.Color.primaryMuted:p.BackgroundColor.backgroundDefault},a.default.createElement(f.Box,{display:p.Display.Flex,width:p.BlockSize.Full,alignItems:p.AlignItems.center},a.default.createElement(f.Checkbox,{isChecked:h}),a.default.createElement(f.Box,{marginLeft:2},a.default.createElement(l.default,{diameter:34,address:o})),a.default.createElement(f.Box,{display:p.Display.Flex,justifyContent:p.JustifyContent.spaceBetween,width:p.BlockSize.Full,paddingLeft:3,style:{minWidth:0}},a.default.createElement(f.Box,{display:p.Display.Flex,flexDirection:p.FlexDirection.Column,width:p.BlockSize.Full},a.default.createElement(f.Text,{variant:p.TextVariant.bodyMdMedium,style:{textWrap:"nowrap"},ellipsis:!0},s),a.default.createElement(f.Box,{display:p.Display.Flex},a.default.createElement(c.default,{type:u.PRIMARY,value:m,style:{color:"var(--color-text-alternative)",flexWrap:"nowrap"},suffix:i,numberOfDecimals:2,ethNumberOfDecimals:5,textProps:{color:p.TextColor.textAlternative,variant:p.TextVariant.bodySm},suffixProps:{color:p.TextColor.textAlternative,variant:p.TextVariant.bodySm}})))),n[o]?a.default.createElement(d.default,{title:`${b("lastConnected")} ${n[o]}`},a.default.createElement(f.Icon,{name:f.IconName.Info,color:p.IconColor.iconMuted,className:"info-circle",marginInlineStart:2})):null))})))))};g.propTypes={accounts:r.default.arrayOf(r.default.shape({address:r.default.string,addressLabel:r.default.string,lastConnectedDate:r.default.string,balance:r.default.string})).isRequired,selectNewAccountViaModal:r.default.func.isRequired,addressLastConnectedMap:r.default.object,nativeCurrency:r.default.string.isRequired,selectedAccounts:r.default.object.isRequired,allAreSelected:r.default.func.isRequired,deselectAll:r.default.func.isRequired,selectAll:r.default.func.isRequired,handleAccountClick:r.default.func.isRequired};n.default=(0,a.memo)(g,((e,t)=>(0,i.isEqual)(e.selectedAccounts,t.selectedAccounts)))}}},{package:"$root$",file:"ui/components/ui/account-list/account-list.js"}],[5188,{"./account-list":5187},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./account-list"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/ui/account-list/index.js"}],[5189,{"../../../helpers/constants/design-system":5355,"../../../hooks/useI18nContext":5427,"../../../selectors":5987,"../icon/info-icon.component":5238,"../tooltip":5310,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=f;var a=d(e("react")),r=e("react-redux"),o=d(e("prop-types")),i=d(e("../tooltip")),s=e("../../../selectors"),l=d(e("../icon/info-icon.component")),c=e("../../../hooks/useI18nContext"),u=e("../../../helpers/constants/design-system");function d(e){return e&&e.__esModule?e:{default:e}}function f({address:e}){const t=(0,r.useSelector)(s.getSelectedAccount),n=(0,c.useI18nContext)();return t.address===e?null:a.default.createElement(i.default,{position:"bottom",html:a.default.createElement("p",null,n("notCurrentAccount")),wrapperClassName:"account-mismatch-warning__tooltip-wrapper",containerClassName:"account-mismatch-warning__tooltip-container"},a.default.createElement("div",{className:"account-mismatch-warning__tooltip-container-icon","data-testid":"account-mismatch-warning-tooltip"},a.default.createElement(l.default,{severity:u.Severity.Warning})))}f.propTypes={address:o.default.string.isRequired}}}},{package:"$root$",file:"ui/components/ui/account-mismatch-warning/account-mismatch-warning.component.js"}],[5190,{"../info-tooltip":5248,"../info-tooltip/info-tooltip-icon":5249,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=f,n.typeHash=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=l(e("prop-types")),o=l(e("classnames")),i=l(e("../info-tooltip")),s=l(e("../info-tooltip/info-tooltip-icon"));function l(e){return e&&e.__esModule?e:{default:e}}function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}const u="actionable-message--with-right-button",d=n.typeHash={warning:"actionable-message--warning",danger:"actionable-message--danger",success:"actionable-message--success",default:""};function f({message:e="",primaryAction:t=null,primaryActionV2:n=null,secondaryAction:r=null,className:l="",infoTooltipText:c="",withRightButton:f=!1,type:p="default",useIcon:m=!1,icon:h,iconFillColor:g="",roundedButtons:y,dataTestId:b,autoHideTime:v=0,onAutoHide:_}){const[C,T]=(0,a.useState)(!0);(0,a.useEffect)((function(){if(0===v)return undefined;const e=setTimeout((()=>{null==_||_(),T(!1)}),v);return function(){clearTimeout(e)}}),[v,_]);const w=(0,o.default)("actionable-message",d[p],f?u:null,l,{"actionable-message--with-icon":m}),E=t&&!r||r&&!t;return C?a.default.createElement("div",{className:w,"data-testid":b},m?h||a.default.createElement(s.default,{fillColor:g}):null,c&&a.default.createElement(i.default,{position:"left",contentText:c,wrapperClassName:"actionable-message__info-tooltip-wrapper"}),a.default.createElement("div",{className:"actionable-message__message"},e),n&&a.default.createElement("button",{className:"actionable-message__action-v2",onClick:n.onClick},n.label),(t||r)&&a.default.createElement("div",{className:(0,o.default)("actionable-message__actions",{"actionable-message__actions--single":E})},t&&a.default.createElement("button",{className:(0,o.default)("actionable-message__action","actionable-message__action--primary",`actionable-message__action-${p}`,{"actionable-message__action--rounded":y}),onClick:t.onClick},t.label),r&&a.default.createElement("button",{className:(0,o.default)("actionable-message__action","actionable-message__action--secondary",`actionable-message__action-${p}`,{"actionable-message__action--rounded":y}),onClick:r.onClick},r.label))):null}f.propTypes={message:r.default.node.isRequired,primaryAction:r.default.shape({label:r.default.string,onClick:r.default.func}),primaryActionV2:r.default.shape({label:r.default.string,onClick:r.default.func}),secondaryAction:r.default.shape({label:r.default.string,onClick:r.default.func}),className:r.default.string,type:r.default.oneOf(Object.keys(d)),withRightButton:r.default.bool,infoTooltipText:r.default.string,useIcon:r.default.bool,icon:r.default.node,iconFillColor:r.default.string,roundedButtons:r.default.bool,dataTestId:r.default.string,autoHideTime:r.default.number,onAutoHide:r.default.func}}}},{package:"$root$",file:"ui/components/ui/actionable-message/actionable-message.js"}],[5191,{"./actionable-message":5190},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./actionable-message"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/ui/actionable-message/index.js"}],[5192,{"../../../../shared/constants/time":4518,"../../../hooks/usePrevious":5436,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=c(e("classnames")),r=c(e("prop-types")),o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=l(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),i=e("../../../hooks/usePrevious"),s=e("../../../../shared/constants/time");function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(l=function(e){return e?n:t})(e)}function c(e){return e&&e.__esModule?e:{default:e}}function u(e){const[t,n]=(0,o.useState)(!1),[r,l]=(0,o.useState)(""),c=(0,i.usePrevious)(e.visible);return(0,o.useEffect)((()=>{!c&&e.visible?(e.msg,l("visible"),n(!0)):c&&!e.visible&&(l("hidden"),setTimeout((e=>{n(!1)}),500*s.MILLISECOND))}),[c,e.msg,e.visible]),t?o.default.createElement("div",{className:(0,a.default)("global-alert",r)},o.default.createElement("a",{className:"msg"},e.msg)):null}u.propTypes={visible:r.default.bool.isRequired,msg:r.default.string};n.default=u}}},{package:"$root$",file:"ui/components/ui/alert/index.js"}],[5193,{"../../../helpers/constants/design-system":5355,classnames:3049,lodash:3836,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=n.ValidTextColors=n.ValidIconColors=n.ValidBorderColors=n.ValidBackgroundColor=n.MultipleTextColors=n.MultipleSizesAndAuto=n.MultipleSizes=n.MultipleJustifyContents=n.MultipleBorderColors=n.MultipleBlockSizes=n.MultipleBackgroundColor=n.MultipleAlignItems=void 0;var a=l(e("react")),r=l(e("prop-types")),o=l(e("classnames")),i=e("lodash"),s=e("../../../helpers/constants/design-system");function l(e){return e&&e.__esModule?e:{default:e}}function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t{if(!t)return null;const a={},r=Array.isArray(t)&&1===t.length?t[0]:undefined,o=(!Array.isArray(t)&&"string"==typeof t||"number"==typeof t?t:undefined)||r;if(o||0===o)a[`${u}--${e}-${o}`]=n(e,o);else switch(t.length){case 4:a[`${u}--${e}-${t[0]}`]=t[0]&&n(e,t[0]),a[`${u}--${s.BREAKPOINTS[1]}:${e}-${t[1]}`]=t[1]&&n(e,t[1]),a[`${u}--${s.BREAKPOINTS[2]}:${e}-${t[2]}`]=t[2]&&n(e,t[2]),a[`${u}--${s.BREAKPOINTS[3]}:${e}-${t[3]}`]=t[3]&&n(e,t[3]);break;case 3:a[`${u}--${e}-${t[0]}`]=t[0]&&n(e,t[0]),a[`${u}--${s.BREAKPOINTS[1]}:${e}-${t[1]}`]=t[1]&&n(e,t[1]),a[`${u}--${s.BREAKPOINTS[2]}:${e}-${t[2]}`]=t[2]&&n(e,t[2]);break;case 2:a[`${u}--${e}-${t[0]}`]=t[0]&&n(e,t[0]),a[`${u}--${s.BREAKPOINTS[1]}:${e}-${t[1]}`]=t[1]&&n(e,t[1]);break;default:console.log(`Invalid array prop length: ${t.length}`)}return a}),((e,t)=>`${e}${t}`)),V=a.default.forwardRef((function({padding:e,paddingTop:t,paddingRight:n,paddingBottom:r,paddingLeft:i,paddingInline:l,paddingInlineStart:d,paddingInlineEnd:f,margin:p,marginTop:m,marginRight:h,marginBottom:g,marginLeft:y,marginInline:b,marginInlineStart:v,marginInlineEnd:_,borderColor:C,borderWidth:T,borderRadius:w,borderStyle:E,alignItems:k,justifyContent:O,textAlign:M,flexDirection:x=s.FlexDirection.Row,flexWrap:N,gap:P,display:j,width:I,height:S,children:A,className:D,backgroundColor:L,color:R,ariaLabel:V,as:F="div",...U},W){const z=(0,o.default)(u,D,p&&H("margin",p,$),m&&H("margin-top",m,$),h&&H("margin-right",h,$),g&&H("margin-bottom",g,$),y&&H("margin-left",y,$),b&&H("margin-inline",b,$),v&&H("margin-inline-start",v,$),_&&H("margin-inline-end",_,$),e&&H("padding",e,$),t&&H("padding-top",t,$),n&&H("padding-right",n,$),r&&H("padding-bottom",r,$),i&&H("padding-left",i,$),l&&H("padding-inline",l,$),d&&H("padding-inline-start",d,$),f&&H("padding-inline-end",f,$),j&&H("display",j,B),P&&H("gap",P,$),x&&H("flex-direction",x,B),N&&H("flex-wrap",N,B),O&&H("justify-content",O,B),k&&H("align-items",k,B),M&&H("text-align",M,B),I&&H("width",I,B),S&&H("height",S,B),R&&H("color",R,B),L&&H("background-color",L,B),w&&H("rounded",w,B),E&&H("border-style",E,B),C&&H("border-color",C,B),T&&H("border-width",T,$),{"box--border-style-solid":!E&&(Boolean(T)||Boolean(C)),"box--border-width-1":!T&&Boolean(C),"box--display-flex":!j&&(Boolean(O)||Boolean(k))});if("function"==typeof A)return A(z);const G=F,Z={};return"function"==typeof G.type?Z.ariaLabel=V:Z["aria-label"]=V,U["aria-label"]&&(Z["aria-label"]=U["aria-label"]),a.default.createElement(G,c({className:z,ref:W},U,Z),A)}));V.propTypes={children:r.default.oneOfType([r.default.node,r.default.func]),flexDirection:r.default.oneOfType([r.default.oneOf(Object.values(s.FlexDirection)),r.default.arrayOf(r.default.oneOf(Object.values(s.FlexDirection)))]),flexWrap:r.default.oneOfType([r.default.oneOf(Object.values(s.FlexWrap)),r.default.arrayOf(r.default.oneOf(Object.values(s.FlexWrap)))]),gap:T,margin:O,marginTop:O,marginBottom:O,marginRight:O,marginLeft:O,marginInline:O,marginInlineStart:O,marginInlineEnd:O,padding:T,paddingTop:T,paddingBottom:T,paddingRight:T,paddingLeft:T,paddingInline:T,paddingInlineStart:T,paddingInlineEnd:T,borderColor:x,borderWidth:r.default.oneOfType([r.default.number,r.default.arrayOf(r.default.number)]),borderRadius:r.default.oneOfType([r.default.oneOf(Object.values(s.BorderRadius)),r.default.arrayOf(r.default.oneOf(Object.values(s.BorderRadius)))]),borderStyle:r.default.oneOfType([r.default.oneOf(Object.values(s.BorderStyle)),r.default.arrayOf(r.default.oneOf(Object.values(s.BorderStyle)))]),alignItems:D,justifyContent:R,textAlign:r.default.oneOfType([r.default.oneOf(Object.values(s.TextAlign)),r.default.arrayOf(r.default.oneOf(Object.values(s.TextAlign)))]),display:r.default.oneOfType([r.default.oneOf(Object.values(s.Display)),r.default.arrayOf(r.default.oneOf(Object.values(s.Display)))]),width:E,height:E,backgroundColor:P,className:r.default.string,style:r.default.object,as:r.default.string,color:S,ariaLabel:r.default.string,"aria-label":r.default.string};n.default=V}}},{package:"$root$",file:"ui/components/ui/box/box.js"}],[5194,{"./box":5193},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"MultipleSizes",{enumerable:!0,get:function(){return a.MultipleSizes}}),Object.defineProperty(n,"MultipleSizesAndAuto",{enumerable:!0,get:function(){return a.MultipleSizesAndAuto}}),Object.defineProperty(n,"ValidBackgroundColor",{enumerable:!0,get:function(){return a.ValidBackgroundColor}}),Object.defineProperty(n,"ValidBorderColors",{enumerable:!0,get:function(){return a.ValidBorderColors}}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return a.default}});var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=r(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var s=o?Object.getOwnPropertyDescriptor(e,i):null;s&&(s.get||s.set)?Object.defineProperty(a,i,s):a[i]=e[i]}return a.default=e,n&&n.set(e,a),a}(e("./box"));function r(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(r=function(e){return e?n:t})(e)}}}},{package:"$root$",file:"ui/components/ui/box/index.js"}],[5195,{classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=s(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=i(e("prop-types")),o=i(e("classnames"));function i(e){return e&&e.__esModule?e:{default:e}}function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(s=function(e){return e?n:t})(e)}function l(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class c extends a.PureComponent{constructor(...e){super(...e),l(this,"state",{activeButtonIndex:this.props.noButtonActiveByDefault?null:this.props.defaultActiveButtonIndex})}componentDidUpdate(e,t){"number"==typeof this.props.newActiveButtonIndex&&t.activeButtonIndex!==this.props.newActiveButtonIndex&&this.setState({activeButtonIndex:this.props.newActiveButtonIndex})}handleButtonClick(e){this.setState({activeButtonIndex:e})}renderButtons(){const{children:e,disabled:t,variant:n}=this.props;return a.default.Children.map(e,((e,r)=>e&&a.default.createElement("button",{role:"radiogroup"===n?"radio":undefined,"aria-checked":r===this.state.activeButtonIndex,className:(0,o.default)("button-group__button",e.props.className,{"radio-button":"radiogroup"===n,"button-group__button--active":r===this.state.activeButtonIndex,"radio-button--active":"radiogroup"===n&&r===this.state.activeButtonIndex}),"data-testid":`button-group__button${r}`,onClick:()=>{var t,n;this.handleButtonClick(r),null===(t=(n=e.props).onClick)||void 0===t||t.call(n)},disabled:t||e.props.disabled,key:r},e.props.children)))}render(){const{className:e,style:t,variant:n}=this.props;return a.default.createElement("div",{className:(0,o.default)(e,{"radio-button-group":"radiogroup"===n}),role:"radiogroup"===n?"radiogroup":undefined,style:t},this.renderButtons())}}n.default=c,l(c,"propTypes",{defaultActiveButtonIndex:r.default.number,noButtonActiveByDefault:r.default.bool,disabled:r.default.bool,children:r.default.array,className:r.default.string,style:r.default.object,newActiveButtonIndex:r.default.number,variant:r.default.oneOf(["radiogroup","default"])}),l(c,"defaultProps",{className:"button-group",defaultActiveButtonIndex:0,variant:"default"})}}},{package:"$root$",file:"ui/components/ui/button-group/button-group.component.js"}],[5196,{"./button-group.component":5195},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./button-group.component"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/ui/button-group/index.js"}],[5197,{classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=i(e("react")),r=i(e("prop-types")),o=i(e("classnames"));function i(e){return e&&e.__esModule?e:{default:e}}function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const p=d&&"link"!==e&&"inline"!==e;let m="button";return"link"===e?m="a":t&&(f.type="submit"),"link"===e&&"function"==typeof f.onClick&&(f.onKeyUp??(f.onKeyUp=e=>{"Enter"===e.key&&f.onClick()}),f.role??(f.role="button"),f.tabIndex??(f.tabIndex=0)),a.default.createElement(m,s({className:(0,o.default)("button",p&&"btn--rounded",c[e]||l,n&&"btn--large",u)},f),i?a.default.createElement("span",{className:"button__icon"},i):null,r)};u.propTypes={type:r.default.string,submit:r.default.bool,large:r.default.bool,className:r.default.string,children:r.default.node,icon:r.default.node,rounded:r.default.bool};n.default=u}}},{package:"$root$",file:"ui/components/ui/button/button.component.js"}],[5198,{"./button.component":5197},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=(a=e("./button.component"))&&a.__esModule?a:{default:a};n.default=r.default}}},{package:"$root$",file:"ui/components/ui/button/index.js"}],[5199,{"../../../../shared/constants/time":4518,"../../../helpers/constants/design-system":5355,"../../component-library":4955,"../icon/info-icon-inverted.component":5237,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=f;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=d(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=u(e("prop-types")),o=u(e("classnames")),i=u(e("../icon/info-icon-inverted.component")),s=e("../../../helpers/constants/design-system"),l=e("../../../../shared/constants/time"),c=e("../../component-library");function u(e){return e&&e.__esModule?e:{default:e}}function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(d=function(e){return e?n:t})(e)}function f({severity:e,children:t,dismiss:n,isFirst:r,isLast:u,isMultiple:d}){const[f,p]=(0,a.useState)(!1),m=(0,o.default)("callout",`callout--${e}`,{"callout--dismissed":!0===f,"callout--multiple":!0===d,"callout--dismissible":Boolean(n),"callout--first":!0===r||!0!==d,"callout--last":!0===u||!0!==d});return(0,a.useEffect)((()=>{f&&setTimeout((()=>{n()}),500*l.MILLISECOND)}),[f,n]),a.default.createElement("div",{className:m},a.default.createElement(i.default,{severity:e}),a.default.createElement(c.Text,{color:s.TextColor.textDefault,className:"callout__content"},t),n&&a.default.createElement(c.ButtonIcon,{iconName:c.IconName.Close,size:c.IconSize.Sm,className:"callout__close-button",onClick:()=>{p(!0)},onKeyUp:e=>{"Enter"===e.key&&p(!0)}}))}f.propTypes={severity:r.default.oneOf(Object.values(s.Severity)).isRequired,children:r.default.node.isRequired,dismiss:r.default.func,isFirst:r.default.bool,isLast:r.default.bool,isMultiple:r.default.bool}}}},{package:"$root$",file:"ui/components/ui/callout/callout.js"}],[5200,{"./callout":5199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./callout"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/ui/callout/index.js"}],[5201,{classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=n.UNCHECKED=n.INDETERMINATE=n.CHECKED=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=s(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=i(e("prop-types")),o=i(e("classnames"));function i(e){return e&&e.__esModule?e:{default:e}}function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(s=function(e){return e?n:t})(e)}const l={CHECKED:"CHECKED",INDETERMINATE:"INDETERMINATE",UNCHECKED:"UNCHECKED"},{CHECKED:c,INDETERMINATE:u,UNCHECKED:d}=l;n.UNCHECKED=d,n.INDETERMINATE=u,n.CHECKED=c;const f=({className:e,disabled:t,id:n,onClick:r,checked:i,title:s,dataTestId:c})=>{"boolean"==typeof i&&(i=i?l.CHECKED:l.UNCHECKED);const u=(0,a.useRef)(null);return(0,a.useLayoutEffect)((()=>{u.current.indeterminate=i===l.INDETERMINATE}),[i]),a.default.createElement("input",{checked:i===l.CHECKED,className:(0,o.default)("check-box",e,{"far fa-square":i===l.UNCHECKED,"fa fa-check-square check-box__checked":i===l.CHECKED,"fa fa-minus-square check-box__indeterminate":i===l.INDETERMINATE}),disabled:t,id:n,onClick:r?e=>{e.preventDefault(),r()}:null,readOnly:!0,ref:u,title:s,"data-testid":c,type:"checkbox"})};f.propTypes={className:r.default.string,disabled:r.default.bool,id:r.default.string,onClick:r.default.func,checked:r.default.oneOf([...Object.keys(l),!0,!1]).isRequired,title:r.default.string,dataTestId:r.default.string},f.defaultProps={className:undefined,disabled:!1,id:undefined};n.default=f}}},{package:"$root$",file:"ui/components/ui/check-box/check-box.component.js"}],[5202,{"./check-box.component":5201},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"CHECKED",{enumerable:!0,get:function(){return a.CHECKED}}),Object.defineProperty(n,"INDETERMINATE",{enumerable:!0,get:function(){return a.INDETERMINATE}}),Object.defineProperty(n,"UNCHECKED",{enumerable:!0,get:function(){return a.UNCHECKED}}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return a.default}});var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=r(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var s=o?Object.getOwnPropertyDescriptor(e,i):null;s&&(s.get||s.set)?Object.defineProperty(a,i,s):a[i]=e[i]}return a.default=e,n&&n.set(e,a),a}(e("./check-box.component"));function r(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(r=function(e){return e?n:t})(e)}}}},{package:"$root$",file:"ui/components/ui/check-box/index.js"}],[5203,{".":5205,"../../../helpers/constants/design-system":5355,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.ChipWithInput=c;var a=l(e("react")),r=l(e("prop-types")),o=l(e("classnames")),i=e("../../../helpers/constants/design-system"),s=l(e("."));function l(e){return e&&e.__esModule?e:{default:e}}function c({dataTestId:e,className:t,borderColor:n=i.BorderColor.borderDefault,inputValue:r,setInputValue:l}){return a.default.createElement(s.default,{className:(0,o.default)(t,"chip--with-input"),borderColor:n},l&&a.default.createElement("input",{"data-testid":e,type:"text",className:"chip__input",onChange:e=>{l(e.target.value)},value:r}))}c.propTypes={dataTestId:r.default.string,borderColor:r.default.oneOf(Object.values(i.BorderColor)),className:r.default.string,inputValue:r.default.string,setInputValue:r.default.func}}}},{package:"$root$",file:"ui/components/ui/chip/chip-with-input.js"}],[5204,{"../../../helpers/constants/design-system":5355,"../typography":5314,"../url-icon":5319,classnames:3049,lodash:3836,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=f;var a=u(e("react")),r=u(e("prop-types")),o=u(e("classnames")),i=e("lodash"),s=u(e("../typography")),l=u(e("../url-icon")),c=e("../../../helpers/constants/design-system");function u(e){return e&&e.__esModule?e:{default:e}}function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"Enter"===e.key&&g&&g(e)},className:(0,o.default)(t,"chip",{"chip--with-left-icon":Boolean(p),"chip--with-right-icon":Boolean(h),[`chip--border-color-${r}`]:!0,[`chip--background-color-${i}`]:!0,"chip--max-content":y,"chip--display-inline-block":b}),role:v?"button":undefined,tabIndex:v?0:undefined},p&&!m?a.default.createElement("div",{className:"chip__left-icon"},p):null,m?a.default.createElement(l.default,{className:"chip__left-url-icon",url:m}):null,n??a.default.createElement(s.default,d({className:"chip__label",variant:c.TypographyVariant.H6,as:"span",color:c.TextColor.textAlternative},f),u),h?a.default.createElement("div",{className:"chip__right-icon"},h):null)}f.propTypes={dataTestId:r.default.string,borderColor:r.default.oneOf(Object.values(c.BorderColor)),backgroundColor:r.default.oneOf(Object.values(c.BackgroundColor)),label:r.default.string,labelProps:r.default.shape({...(0,i.omit)(c.TypographyVariant.propTypes,["children","className"])}),children:r.default.node,leftIcon:r.default.node,rightIcon:r.default.node,className:r.default.string,onClick:r.default.func,maxContent:r.default.bool,leftIconUrl:r.default.string,displayInlineBlock:r.default.bool}}}},{package:"$root$",file:"ui/components/ui/chip/chip.js"}],[5205,{"./chip":5204},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./chip"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/ui/chip/index.js"}],[5206,{"../../../hooks/useI18nContext":5427,"../tooltip":5310,"prop-types":3997,react:4243,"unicode-confusables":4388},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=l(e("prop-types")),o=e("unicode-confusables"),i=l(e("../tooltip")),s=e("../../../hooks/useI18nContext");function l(e){return e&&e.__esModule?e:{default:e}}function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}const u=({input:e})=>{const t=(0,s.useI18nContext)();return(0,a.useMemo)((()=>(0,o.confusables)(e)),[e]).map((({point:e,similarTo:n},r)=>{const o=""===n;return n===undefined?e:a.default.createElement(i.default,{key:r.toString(),tag:"span",position:"top",title:o?t("confusableZeroWidthUnicode"):t("confusableUnicode",[e,n])},a.default.createElement("span",{className:"confusable__point"},o?"?":e))}))};u.propTypes={input:r.default.string.isRequired};n.default=u}}},{package:"$root$",file:"ui/components/ui/confusable/confusable.component.js"}],[5207,{"./confusable.component":5206},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./confusable.component"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/ui/confusable/index.js"}],[5208,{"../../../../shared/constants/common":4495,"../../../helpers/constants/design-system":5355,"../../../hooks/useCurrencyDisplay":5418,"../../component-library":4955,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=f;var a=u(e("react")),r=u(e("prop-types")),o=u(e("classnames")),i=e("../../../hooks/useCurrencyDisplay"),s=e("../../../../shared/constants/common"),l=e("../../component-library"),c=e("../../../helpers/constants/design-system");function u(e){return e&&e.__esModule?e:{default:e}}function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;ta.default.createElement(a.default.Fragment,{key:`definition-for-${e}`},a.default.createElement(i.default,d({variant:s.TypographyVariant.H6,fontWeight:s.FONT_WEIGHT.BOLD},t,{boxProps:{marginTop:0,marginBottom:1},className:"definition-list__term",as:"dt"}),e,r[e]&&a.default.createElement(l.default,{title:r[e],position:"top",containerClassName:"definition-list__tooltip-wrapper"},a.default.createElement(c.Icon,{name:c.IconName.Info,size:c.IconSize.Sm,marginLeft:1,color:s.IconColor.iconDefault}))),a.default.createElement(i.default,d({variant:s.TypographyVariant.H6,color:s.TextColor.textAlternative},n,{boxProps:{marginTop:0,marginBottom:f[u]},className:"definition-list__definition",overflowWrap:s.OVERFLOW_WRAP.BREAK_WORD,as:"dd"}),p),o[e]&&a.default.createElement(c.Text,{variant:s.TextVariant.bodySm,color:s.TextColor.warningDefault},o[e])))))}p.propTypes={gapSize:r.default.oneOf(Object.values(s.Size)),dictionary:r.default.objectOf(r.default.oneOfType([r.default.string,r.default.number])),tooltips:r.default.objectOf(r.default.string),warnings:r.default.objectOf(r.default.string),termTypography:r.default.shape({...(0,o.omit)(s.TypographyVariant.propTypes,["tag","className","boxProps"])}),definitionTypography:r.default.shape({...(0,o.omit)(s.TypographyVariant.propTypes,["tag","className","boxProps"])})}}}},{package:"$root$",file:"ui/components/ui/definition-list/definition-list.js"}],[5211,{"./definition-list":5210},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./definition-list"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/ui/definition-list/index.js"}],[5212,{"../../../../shared/constants/metametrics":4505,"../../../../shared/constants/network":4507,"../../../ducks/metamask/metamask":5346,"../../../helpers/constants/design-system":5355,"../../../hooks/useI18nContext":5427,"../../../selectors":5987,"../../../store/actions":5998,"../../component-library":4955,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(){const{id:e,chainId:t,rpcUrl:n}=(0,r.useSelector)(s.getCurrentNetwork)??{},[p,h]=(0,a.useState)(!1),g=(0,r.useSelector)(l.getCompletedOnboarding),y=(0,o.useI18nContext)(),b=(0,r.useDispatch)();if(!g||p)return null;let v;t===u.CHAIN_IDS.GOERLI||t===u.CHAIN_IDS.LINEA_GOERLI||t===u.CHAIN_IDS.ARBITRUM_GOERLI||t===u.CHAIN_IDS.OPTIMISM_GOERLI?v={description:y("deprecatedGoerliNtwrkMsg"),actionButtonLabel:y("learnMoreUpperCase"),actionButtonProps:{href:"https://github.com/eth-clients/goerli#goerli-goerlitzer-testnet",externalLink:!0}}:u.DEPRECATED_NETWORKS.includes(t)?v={description:y("deprecatedNetwork")}:t===u.CHAIN_IDS.AURORA&&n.startsWith("https://aurora-mainnet.infura.io/")&&(v={description:y("auroraRpcDeprecationMessage"),actionButtonLabel:y("switchToNetwork",["mainnet.aurora.dev"]),actionButtonOnClick:async()=>{h(!0),await b((0,d.editAndSetNetworkConfiguration)({networkConfigurationId:e,chainId:u.CHAIN_IDS.AURORA,nickname:u.AURORA_DISPLAY_NAME,rpcUrl:"https://mainnet.aurora.dev",ticker:u.CURRENCY_SYMBOLS.ETH,rpcPrefs:{imageUrl:u.NEAR_AURORA_MAINNET_IMAGE_URL,blockExplorerUrl:"https://aurorascan.dev"}},{source:f.MetaMetricsNetworkEventSource.DeprecatedNetworkModal}))}});return v?a.default.createElement(c.Box,{className:"deprecated-networks",backgroundColor:i.BackgroundColor.backgroundDefault,padding:4,borderRadius:i.BorderRadius.SM},a.default.createElement(c.BannerAlert,m({severity:i.Severity.Warning,onClose:()=>h(!0)},v))):null};var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=p(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=e("react-redux"),o=e("../../../hooks/useI18nContext"),i=e("../../../helpers/constants/design-system"),s=e("../../../selectors"),l=e("../../../ducks/metamask/metamask"),c=e("../../component-library"),u=e("../../../../shared/constants/network"),d=e("../../../store/actions"),f=e("../../../../shared/constants/metametrics");function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(p=function(e){return e?n:t})(e)}function m(){return m=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const u=(0,a.useRef)(null),[d,f]=(0,a.useState)(!1);return(0,a.useEffect)((()=>{var e;t&&d&&(null==u||null===(e=u.current)||void 0===e||e.scrollIntoView({behavior:"smooth"}))}),[t,d]),a.default.createElement("div",{className:"disclosure","data-testid":"disclosure",onClick:()=>f((e=>!e))},n?a.default.createElement("details",null,((e,t,n)=>{if(e===l.DisclosureVariant.Arrow){const e="small"===n?s.TextVariant.bodySm:s.TextVariant.bodyMd;return a.default.createElement("summary",{className:"disclosure__summary is-arrow"},a.default.createElement(i.Text,{color:s.Color.primaryDefault,variant:e},t),a.default.createElement(i.Icon,{className:"disclosure__summary--icon",color:s.Color.primaryDefault,name:i.IconName.ArrowUp,size:i.IconSize.Sm,marginInlineStart:2}))}return a.default.createElement("summary",{className:"disclosure__summary"},a.default.createElement(i.Icon,{className:"disclosure__summary--icon",name:i.IconName.Add,size:i.IconSize.Sm,marginInlineEnd:2}),t)})(c,n),a.default.createElement("div",{className:(0,o.default)("disclosure__content",r)},e),a.default.createElement("div",{ref:u,className:"disclosure__footer"})):e)};d.propTypes={children:r.default.node.isRequired,isScrollToBottomOnOpen:r.default.bool,size:r.default.string,title:r.default.string,variant:r.default.string},d.defaultProps={isScrollToBottomOnOpen:!1,size:"normal",title:null,variant:l.DisclosureVariant.Default};n.default=d}}},{package:"$root$",file:"ui/components/ui/disclosure/disclosure.js"}],[5216,{"./disclosure":5215},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./disclosure"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/ui/disclosure/index.js"}],[5217,{"../../component-library":4955,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=l(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=s(e("prop-types")),o=s(e("classnames")),i=e("../../component-library");function s(e){return e&&e.__esModule?e:{default:e}}function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(l=function(e){return e?n:t})(e)}const c=({className:e,disabled:t=!1,onChange:n,options:r,selectedOption:s="",style:l,title:c,"data-testid":u})=>{const d=(0,a.useCallback)((e=>{e.preventDefault(),e.stopPropagation(),n(e.target.value)}),[n]);return a.default.createElement("div",{className:(0,o.default)("dropdown",e)},a.default.createElement("select",{className:"dropdown__select","data-testid":u,disabled:t,title:c,onChange:d,style:l,value:s},r.map((e=>a.default.createElement("option",{key:e.value,value:e.value},e.name||e.value)))),a.default.createElement(i.Icon,{name:i.IconName.ArrowDown,size:i.IconSize.Sm,className:"dropdown__icon-caret-down"}))};c.propTypes={className:r.default.string,disabled:r.default.bool,title:r.default.string,onChange:r.default.func.isRequired,options:r.default.arrayOf(r.default.exact({name:r.default.string,value:r.default.string.isRequired})).isRequired,selectedOption:r.default.string,style:r.default.object,"data-testid":r.default.string};n.default=c}}},{package:"$root$",file:"ui/components/ui/dropdown/dropdown.js"}],[5218,{"./dropdown":5217},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./dropdown"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/ui/dropdown/index.js"}],[5219,{"../../../helpers/constants/design-system":5355,"../../../helpers/utils/accounts":5378,"../../component-library":4955,"../../component-library/form-text-field/deprecated":4943,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=d(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=u(e("classnames")),o=u(e("prop-types")),i=e("../../../helpers/constants/design-system"),s=e("../../../helpers/utils/accounts"),l=e("../../component-library"),c=e("../../component-library/form-text-field/deprecated");function u(e){return e&&e.__esModule?e:{default:e}}function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(d=function(e){return e?n:t})(e)}function f(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class p extends a.Component{constructor(...e){super(...e),f(this,"state",{isEditing:!1,value:this.props.defaultValue||""})}async handleSubmit(e){e&&(await this.props.onSubmit(this.state.value.trim()),this.setState({isEditing:!1}))}renderEditing(){const{isValidAccountName:e,errorMessage:t}=(0,s.getAccountNameErrorMessage)(this.props.accounts,this.context,this.state.value,this.props.defaultValue);return a.default.createElement(l.Box,{className:(0,r.default)("editable-label",this.props.className),display:i.Display.Flex,gap:3},a.default.createElement(c.FormTextField,{required:!0,value:this.state.value,onKeyPress:t=>{"Enter"===t.key&&this.handleSubmit(e)},onChange:e=>{this.setState({value:e.target.value})},"data-testid":"editable-input",error:!e,helpText:t,autoFocus:!0,placeholder:this.context.t("accountName")}),a.default.createElement(l.ButtonIcon,{iconName:l.IconName.Check,onClick:()=>this.handleSubmit(e),"data-testid":"save-account-label-input"}))}renderReadonly(){return a.default.createElement(l.Box,{display:i.Display.Flex,alignItems:i.AlignItems.center,gap:3},a.default.createElement(l.Text,{variant:i.TextVariant.bodyLgMedium,style:{wordBreak:"break-word"}},this.state.value),a.default.createElement(l.ButtonIcon,{iconName:l.IconName.Edit,ariaLabel:this.context.t("edit"),"data-testid":"editable-label-button",onClick:()=>this.setState({isEditing:!0}),color:i.Color.iconDefault}))}render(){return this.state.isEditing?this.renderEditing():this.renderReadonly()}}n.default=p,f(p,"propTypes",{onSubmit:o.default.func.isRequired,defaultValue:o.default.string,className:o.default.string,accounts:o.default.array}),f(p,"contextTypes",{t:o.default.func})}}},{package:"$root$",file:"ui/components/ui/editable-label/editable-label.js"}],[5220,{"../../../helpers/constants/design-system":5355,"../../component-library":4955,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=s(e("react")),r=s(e("prop-types")),o=e("../../component-library"),i=e("../../../helpers/constants/design-system");function s(e){return e&&e.__esModule?e:{default:e}}const l=(e,t)=>{const{errorMessage:n,errorKey:r}=e,s=r?t.t(r):n;return a.default.createElement("div",{className:"error-message"},a.default.createElement(o.Icon,{className:"error-message__icon",name:o.IconName.Warning,size:o.IconSize.Sm,color:i.IconColor.errorDefault,marginRight:2}),a.default.createElement("div",{className:"error-message__text"},s))};l.propTypes={errorMessage:r.default.string,errorKey:r.default.string},l.contextTypes={t:r.default.func};n.default=l}}},{package:"$root$",file:"ui/components/ui/error-message/error-message.component.js"}],[5221,{"./error-message.component":5220},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./error-message.component"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/ui/error-message/index.js"}],[5222,{"../../../helpers/constants/design-system":5355,"../../../hooks/useCopyToClipboard":5417,"../../../hooks/useI18nContext":5427,"../../component-library":4955,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=c(e("react")),r=c(e("prop-types")),o=e("../../../hooks/useI18nContext"),i=e("../../../hooks/useCopyToClipboard"),s=e("../../../helpers/constants/design-system"),l=e("../../component-library");function c(e){return e&&e.__esModule?e:{default:e}}function u({text:e="",onClickCopy:t=null}){const n=(0,o.useI18nContext)(),[r,c]=(0,i.useCopyToClipboard)(6e4);return a.default.createElement(l.Box,{display:s.Display.Flex,justifyContent:s.JustifyContent.center,flexDirection:s.FlexDirection.Column,alignItems:s.AlignItems.center,borderColor:s.BorderColor.borderDefault,borderRadius:s.BorderRadius.MD,padding:4,gap:4},a.default.createElement(l.Text,{display:s.Display.Flex,justifyContent:s.JustifyContent.center,className:"notranslate",variant:s.TextVariant.bodyLgMedium,"data-testid":"srp_text"},e),a.default.createElement(l.ButtonSecondary,{className:"export-text-container__button",block:!0,onClick:()=>{t&&t(),c(e)}},n(r?"copiedExclamation":"copyToClipboard")))}u.propTypes={text:r.default.string,onClickCopy:r.default.func};n.default=a.default.memo(u)}}},{package:"$root$",file:"ui/components/ui/export-text-container/export-text-container.component.js"}],[5223,{"./export-text-container.component":5222},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=(a=e("./export-text-container.component"))&&a.__esModule?a:{default:a};n.default=r.default}}},{package:"$root$",file:"ui/components/ui/export-text-container/index.js"}],[5224,{"../../../contexts/i18n":5324,"../../../helpers/constants/design-system":5355,"../../component-library":4955,"../../component-library/form-text-field/deprecated":4943,classnames:3049,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function({hideDropdownIfNoOptions:e=!1,maxDropdownHeight:t,noOptionsText:n,onChange:a,onOptionClick:u,options:d,placeholder:p,value:m}){const[h,g]=(0,r.useState)(!1),y=(0,r.useRef)(),[b,v]=(0,r.useState)(0),_=(0,r.useRef)(null),C=(0,r.useContext)(l.I18nContext);(0,r.useEffect)((()=>{var e;v(null===(e=y.current)||void 0===e?void 0:e.offsetWidth)}));const T=(0,r.useCallback)((e=>{var t;"form-combo-field__option"!==(null==e||null===(t=e.relatedTarget)||void 0===t?void 0:t.className)&&g(!1)}),[g]),w=(0,r.useCallback)((e=>{null==a||a(e.target.value)}),[a]),E=(0,r.useCallback)((e=>{var t;g(!1),e&&(w({target:{value:e.value}}),null==u||u(e)),null===(t=_.current)||void 0===t||t.focus()}),[g,w]),k=(0,r.useCallback)((()=>{var e;w({target:{value:""}}),null===(e=_.current)||void 0===e||e.focus()}),[w]);return r.default.createElement("div",{className:"form-combo-field",ref:y},r.default.createElement("div",{onClick:()=>{g(!0)}},r.default.createElement(s.FormTextField,{autoFocus:!0,inputRef:_,placeholder:p,onBlur:T,onKeyUp:e=>{"Enter"===e.key&&T()},value:m,onChange:w,className:(0,o.default)({"form-combo-field__value":!0,"form-combo-field__value-dropdown-visible":h}),endAccessory:r.default.createElement(i.ButtonIcon,{display:c.Display.Flex,iconName:i.IconName.Close,size:i.ButtonIconSize.Sm,onClick:()=>k(),color:c.IconColor.iconMuted,ariaLabel:C("clear")})})),h&&r.default.createElement(f,{hideDropdownIfNoOptions:e,maxDropdownHeight:t,noOptionsText:n,onOptionClick:E,options:d,width:b}))};var a,r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=u(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=(a=e("classnames"))&&a.__esModule?a:{default:a},i=e("../../component-library"),s=e("../../component-library/form-text-field/deprecated"),l=e("../../../contexts/i18n"),c=e("../../../helpers/constants/design-system");function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(u=function(e){return e?n:t})(e)}function d({option:e,onClick:t}){const n=(0,r.useCallback)((n=>{n.preventDefault(),n.stopPropagation(),n.nativeEvent.stopImmediatePropagation(),t(e)}),[t,e]),{primaryLabel:a,secondaryLabel:o,value:i}=e;return r.default.createElement("div",{tabIndex:0,className:"form-combo-field__option",onClick:n},r.default.createElement("span",{className:"form-combo-field__option-primary"},a??i),o?r.default.createElement("span",{className:"form-combo-field__option-secondary"},o):null)}function f({hideDropdownIfNoOptions:e,maxDropdownHeight:t,noOptionsText:n,onOptionClick:a,options:i,width:s}){const c=(0,r.useContext)(l.I18nContext),u=(0,r.useRef)(),f=t??179,[p,m]=(0,r.useState)(0);return(0,r.useEffect)((()=>{var e;m((null===(e=u.current)||void 0===e?void 0:e.scrollHeight)??0)})),r.default.createElement("div",{ref:u,style:{width:s,maxHeight:f},className:(0,o.default)({"form-combo-field__dropdown":!0,"form-combo-field__dropdown__scroll":p>f})},0===i.length&&!e&&r.default.createElement(d,{option:{primaryLabel:n??c("comboNoOptions"),value:""},onClick:()=>a(undefined)}),i.map(((e,t)=>r.default.createElement(d,{key:t,option:e,onClick:()=>{a(e)}}))))}}}},{package:"$root$",file:"ui/components/ui/form-combo-field/form-combo-field.tsx"}],[5225,{"../../../helpers/constants/design-system":5355,"../../component-library":4955,"../info-tooltip/info-tooltip":5250,"../numeric-input/numeric-input.component":5274,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=f;var a=u(e("react")),r=u(e("prop-types")),o=u(e("classnames")),i=e("../../../helpers/constants/design-system"),s=u(e("../numeric-input/numeric-input.component")),l=u(e("../info-tooltip/info-tooltip")),c=e("../../component-library");function u(e){return e&&e.__esModule?e:{default:e}}function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;tb(e.target.value),value:v,type:w?"password":"text",autoFocus:T,disabled:k,"data-testid":e,placeholder:O,id:j,ref:A},I)),y&&a.default.createElement(c.Text,{color:i.TextColor.errorDefault,variant:i.TextVariant.bodySm,as:"h6",className:"form-field__error"},y),M&&a.default.createElement(c.Text,d({color:i.TextColor.textAlternative,variant:i.TextVariant.bodySm,as:"h6",className:"form-field__warning"},x),M),N&&a.default.createElement(c.Text,{color:i.TextColor.textDefault,variant:i.TextVariant.bodySm,as:"h6",className:"form-field__password-strength"},N),P&&a.default.createElement(c.Text,{color:i.TextColor.textAlternative,variant:i.TextVariant.bodyXs,as:"h6",className:"form-field__password-strength-text"},P)))}f.propTypes={dataTestId:r.default.string,titleText:r.default.oneOfType([r.default.string,r.default.node]),TitleTextCustomComponent:r.default.node,titleUnit:r.default.string,TitleUnitCustomComponent:r.default.node,tooltipText:r.default.oneOfType([r.default.string,r.default.node]),TooltipCustomComponent:r.default.node,titleDetail:r.default.oneOfType([r.default.string,r.default.node]),titleDetailWrapperProps:r.default.shape({...c.Box.propTypes}),titleHeadingWrapperProps:r.default.shape({...c.Box.propTypes}),error:r.default.string,warning:r.default.string,warningProps:r.default.shape({...c.Text.propTypes}),onChange:r.default.func,value:r.default.oneOfType([r.default.number,r.default.string]),detailText:r.default.string,autoFocus:r.default.bool,numeric:r.default.bool,password:r.default.bool,allowDecimals:r.default.bool,disabled:r.default.bool,placeholder:r.default.string,passwordStrength:r.default.oneOfType([r.default.string,r.default.node]),passwordStrengthText:r.default.string,id:r.default.string,inputProps:r.default.object,wrappingLabelProps:r.default.object,inputRef:r.default.object}}}},{package:"$root$",file:"ui/components/ui/form-field/form-field.js"}],[5226,{"./form-field":5225},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./form-field"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/ui/form-field/index.js"}],[5227,{"../../../../shared/modules/conversion.utils":4537,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=s(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=(a=e("prop-types"))&&a.__esModule?a:{default:a},i=e("../../../../shared/modules/conversion.utils");function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(s=function(e){return e?n:t})(e)}class l extends r.PureComponent{render(){const{className:e,value:t}=this.props,n=(0,i.hexToDecimal)(t);return r.default.createElement("div",{className:e},n)}}n.default=l,function(e,t,n){(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(l,"propTypes",{className:o.default.string,value:o.default.string})}}},{package:"$root$",file:"ui/components/ui/hex-to-decimal/hex-to-decimal.component.js"}],[5228,{"./hex-to-decimal.component":5227},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./hex-to-decimal.component"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/ui/hex-to-decimal/index.js"}],[5229,{"../../../helpers/constants/design-system":5355,"../../component-library":4955,"../tooltip/tooltip":5311,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=d;var a=c(e("react")),r=c(e("prop-types")),o=c(e("classnames")),i=e("../../component-library"),s=e("../../../helpers/constants/design-system"),l=c(e("../tooltip/tooltip"));function c(e){return e&&e.__esModule?e:{default:e}}const u=e=>e;function d({onClick:e,Icon:t,disabled:n,label:r,tooltipRender:c,className:d,...f}){const p=c??u;return a.default.createElement("button",{className:(0,o.default)("icon-button",d,{"icon-button--disabled":n}),"data-testid":f["data-testid"]??undefined,onClick:e,disabled:n},p(a.default.createElement(a.default.Fragment,null,a.default.createElement("div",{className:"icon-button__circle"},t),r.length>10?a.default.createElement(l.default,{title:r,position:"bottom"},a.default.createElement(i.Text,{className:"icon-button__label-large",ellipsis:!0,variant:s.TextVariant.bodySm},r)):a.default.createElement(i.Text,{className:"icon-button__label",ellipsis:!0,variant:s.TextVariant.bodySm},r))))}d.propTypes={onClick:r.default.func.isRequired,Icon:r.default.object.isRequired,disabled:r.default.bool,label:r.default.string.isRequired,tooltipRender:r.default.func,className:r.default.string,"data-testid":r.default.string}}}},{package:"$root$",file:"ui/components/ui/icon-button/icon-button.js"}],[5230,{"./icon-button":5229},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./icon-button"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/ui/icon-button/index.js"}],[5231,{classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=s(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=i(e("prop-types")),o=i(e("classnames"));function i(e){return e&&e.__esModule?e:{default:e}}function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(s=function(e){return e?n:t})(e)}function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const[u,d]=(0,a.useState)(!1),f=n?{height:`${n}px`,width:`${n}px`}:{};return a.default.createElement("div",{className:(0,o.default)(s),style:f},!u&&t?a.default.createElement("img",l({onError:()=>{d(!0)},src:t,style:f,className:r,alt:e||"icon"},c)):a.default.createElement("span",{className:(0,o.default)("icon-with-fallback__fallback",i)},(null==e?void 0:e.charAt(0).toUpperCase())||""))};c.propTypes={icon:r.default.string,name:r.default.string,size:r.default.number,className:r.default.string,wrapperClassName:r.default.string,fallbackClassName:r.default.string};n.default=c}}},{package:"$root$",file:"ui/components/ui/icon-with-fallback/icon-with-fallback.component.js"}],[5232,{"./icon-with-fallback.component":5231},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./icon-with-fallback.component"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/ui/icon-with-fallback/index.js"}],[5233,{"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=o(e("react")),r=o(e("prop-types"));function o(e){return e&&e.__esModule?e:{default:e}}const i=({size:e=64,color:t="currentColor",ariaLabel:n,className:r,onClick:o})=>a.default.createElement("svg",{width:e,height:e,fill:t,className:r,"aria-label":n,onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 64 39"},a.default.createElement("path",{d:"M2.05588 38.7539L2.05764 38.7541H40.952H40.9539C40.9557 38.7541 40.9573 38.7536 40.9591 38.7536C42.0608 38.7497 43.0116 37.8498 43.0116 36.6965C43.0112 35.5025 43.0127 41.0218 43.0084 25.0192H41.7318V32.2147H1.27784V8.06471H41.7318V13.7349H43.0084C43.0088 12.6803 43.0073 17.5546 43.0116 3.42458C43.0116 2.33886 42.1096 1.3715 40.9592 1.36749C40.9574 1.36749 40.9557 1.36694 40.9539 1.36694H40.952H2.05826L2.05592 1.3671C0.938953 1.36848 0 2.2928 0 3.42458C0.00118187 40.1604 0.00115779 35.5443 0.00151939 36.7115C0.00442983 37.7954 0.916013 38.7525 2.05588 38.7539ZM40.952 2.64354C40.9545 2.64354 40.9568 2.64459 40.9593 2.64463C41.3592 2.6475 41.7318 2.97087 41.7318 3.42396V6.78811H1.27784V3.42396C1.27784 3.4215 1.27776 3.42143 1.27773 3.41905C1.28066 3.03143 1.60496 2.64481 2.05596 2.64389L2.05826 2.64354H40.952ZM41.7318 33.4913V36.6971C41.7318 37.1484 41.3421 37.4739 40.959 37.4765C40.9566 37.4765 40.9545 37.4775 40.952 37.4775H2.05826L2.05588 37.4772C1.67874 37.4762 1.2822 37.1511 1.278 36.7035C1.278 36.7013 1.27784 36.6993 1.27784 36.6971V33.4913H41.7318Z",fill:"black"}),a.default.createElement("path",{d:"M8.2473 4.07751H3.19141V5.35411H8.2473V4.07751Z",fill:"black"}),a.default.createElement("path",{d:"M23.5665 34.8462H18.5106V36.1228H23.5665V34.8462Z",fill:"black"}),a.default.createElement("path",{d:"M36.5719 5.16847C36.8185 4.92251 36.8186 4.50823 36.5719 4.26214C36.3294 4.0259 35.9018 4.03244 35.6656 4.26214C35.4197 4.52205 35.4195 4.90836 35.6656 5.16847C35.9317 5.42024 36.3318 5.40917 36.5719 5.16847Z",fill:"black"}),a.default.createElement("path",{d:"M58.7234 1.98595V5.13942H44.305V6.41602H58.7234V29.2623H44.305V30.5389H58.7234V33.544C58.7234 33.9351 58.408 34.2533 58.0203 34.2533H44.305V35.5299H58.0203C59.1117 35.5299 60 34.6392 60 33.544C60 26.776 60 9.50087 60 1.98595V1.97972C60 0.888256 59.1117 0 58.0203 0H42.8152V1.2766H58.0203C58.408 1.2766 58.7234 1.59481 58.7234 1.98595Z",fill:"black"}),a.default.createElement("path",{d:"M51.0488 2.56812H46.2522V3.84471H51.0488V2.56812Z",fill:"black"}),a.default.createElement("path",{d:"M51.0488 31.7573H46.2522V33.0339H51.0488V31.7573Z",fill:"black"}),a.default.createElement("path",{d:"M53.8826 3.65558C54.1329 3.4194 54.1259 2.98539 53.8826 2.7558C53.6463 2.51955 53.2125 2.51955 52.9762 2.7558C52.7244 3.02196 52.7345 3.41386 52.9762 3.65558C53.236 3.91538 53.6465 3.90578 53.8826 3.65558Z",fill:"black"}),a.default.createElement("path",{d:"M37.2794 13.3285L34.9387 15.6694L37.2794 18.0101L38.1819 17.1075L37.3822 16.3077H48.899V15.0311H37.382L38.1819 14.2311L37.2794 13.3285Z",fill:"black"}),a.default.createElement("path",{d:"M46.5582 24.5231L47.4608 25.4257L49.8015 23.0848L47.4608 20.7441L46.5582 21.6467L47.358 22.4465H35.8412V23.7231H47.3581L46.5582 24.5231Z",fill:"black"}),a.default.createElement("path",{d:"M33.8298 12.7659H8.29785V14.0425H33.8298V12.7659Z",fill:"black"}),a.default.createElement("path",{d:"M33.8298 15.9574H8.29785V17.234H33.8298V15.9574Z",fill:"black"}),a.default.createElement("path",{d:"M33.8298 19.7874H8.29785V21.0639H33.8298V19.7874Z",fill:"black"}),a.default.createElement("path",{d:"M33.8298 22.9788H8.29785V24.2554H33.8298V22.9788Z",fill:"black"}),a.default.createElement("path",{d:"M57.0254 12.6194H51.0127V13.896H57.0254V12.6194Z",fill:"black"}),a.default.createElement("path",{d:"M57.0254 16.0691H51.0127V17.3457H57.0254V16.0691Z",fill:"black"}),a.default.createElement("path",{d:"M57.0254 19.5188H51.0127V20.7954H57.0254V19.5188Z",fill:"black"}),a.default.createElement("path",{d:"M57.0254 22.9688H51.0127V24.2453H57.0254V22.9688Z",fill:"black"}));i.propTypes={size:r.default.number,color:r.default.string,className:r.default.string,onClick:r.default.func,ariaLabel:r.default.string};n.default=i}}},{package:"$root$",file:"ui/components/ui/icon/icon-desktop-pairing.js"}],[5234,{"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=o(e("react")),r=o(e("prop-types"));function o(e){return e&&e.__esModule?e:{default:e}}const i=({size:e=24,color:t="currentColor",ariaLabel:n,className:r})=>a.default.createElement("svg",{width:e,height:e,fill:t,className:r,"aria-label":n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 512"},a.default.createElement("path",{d:"M634 471L36 3.51A16 16 0 0 0 13.51 6l-10 12.49A16 16 0 0 0 6 41l598 467.49a16 16 0 0 0 22.49-2.49l10-12.49A16 16 0 0 0 634 471zM296.79 146.47l134.79 105.38C429.36 191.91 380.48 144 320 144a112.26 112.26 0 0 0-23.21 2.47zm46.42 219.07L208.42 260.16C210.65 320.09 259.53 368 320 368a113 113 0 0 0 23.21-2.46zM320 112c98.65 0 189.09 55 237.93 144a285.53 285.53 0 0 1-44 60.2l37.74 29.5a333.7 333.7 0 0 0 52.9-75.11 32.35 32.35 0 0 0 0-29.19C550.29 135.59 442.93 64 320 64c-36.7 0-71.71 7-104.63 18.81l46.41 36.29c18.94-4.3 38.34-7.1 58.22-7.1zm0 288c-98.65 0-189.08-55-237.93-144a285.47 285.47 0 0 1 44.05-60.19l-37.74-29.5a333.6 333.6 0 0 0-52.89 75.1 32.35 32.35 0 0 0 0 29.19C89.72 376.41 197.08 448 320 448c36.7 0 71.71-7.05 104.63-18.81l-46.41-36.28C359.28 397.2 339.89 400 320 400z"}));i.propTypes={size:r.default.number,color:r.default.string,className:r.default.string,ariaLabel:r.default.string};n.default=i}}},{package:"$root$",file:"ui/components/ui/icon/icon-eye-slash.js"}],[5235,{"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=o(e("react")),r=o(e("prop-types"));function o(e){return e&&e.__esModule?e:{default:e}}const i=({size:e=24,color:t="currentColor",ariaLabel:n,className:r})=>a.default.createElement("svg",{width:e,height:e,fill:t,className:r,"aria-label":n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512"},a.default.createElement("path",{d:"M288 144a110.94 110.94 0 0 0-31.24 5 55.4 55.4 0 0 1 7.24 27 56 56 0 0 1-56 56 55.4 55.4 0 0 1-27-7.24A111.71 111.71 0 1 0 288 144zm284.52 97.4C518.29 135.59 410.93 64 288 64S57.68 135.64 3.48 241.41a32.35 32.35 0 0 0 0 29.19C57.71 376.41 165.07 448 288 448s230.32-71.64 284.52-177.41a32.35 32.35 0 0 0 0-29.19zM288 400c-98.65 0-189.09-55-237.93-144C98.91 167 189.34 112 288 112s189.09 55 237.93 144C477.1 345 386.66 400 288 400z"}));i.propTypes={size:r.default.number,color:r.default.string,className:r.default.string,ariaLabel:r.default.string};n.default=i}}},{package:"$root$",file:"ui/components/ui/icon/icon-eye.js"}],[5236,{"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=o(e("react")),r=o(e("prop-types"));function o(e){return e&&e.__esModule?e:{default:e}}const i=({size:e=24,color:t="currentColor",ariaLabel:n,className:r,onClick:o})=>a.default.createElement("svg",{width:e,height:e,fill:t,className:r,"aria-label":n,onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 352 512"},a.default.createElement("path",{d:"M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"}));i.propTypes={size:r.default.number,color:r.default.string,className:r.default.string,onClick:r.default.func,ariaLabel:r.default.string};n.default=i}}},{package:"$root$",file:"ui/components/ui/icon/icon-times.js"}],[5237,{"../../../helpers/constants/design-system":5355,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=l;var a=s(e("react")),r=s(e("classnames")),o=s(e("prop-types")),i=e("../../../helpers/constants/design-system");function s(e){return e&&e.__esModule?e:{default:e}}function l({severity:e}){const t=(0,r.default)("info-icon",{"info-icon--success":e===i.SEVERITIES.SUCCESS,"info-icon--warning":e===i.SEVERITIES.WARNING,"info-icon--danger":e===i.SEVERITIES.DANGER,"info-icon--info":e===i.SEVERITIES.INFO});return a.default.createElement("svg",{className:t,width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.default.createElement("path",{d:"M15.75 8C15.75 3.75 12.25 0.25 8 0.25C3.71875 0.25 0.25 3.75 0.25 8C0.25 12.2812 3.71875 15.75 8 15.75C12.25 15.75 15.75 12.2812 15.75 8ZM8 9.5625C8.78125 9.5625 9.4375 10.2188 9.4375 11C9.4375 11.8125 8.78125 12.4375 8 12.4375C7.1875 12.4375 6.5625 11.8125 6.5625 11C6.5625 10.2188 7.1875 9.5625 8 9.5625ZM6.625 4.40625C6.59375 4.1875 6.78125 4 7 4H8.96875C9.1875 4 9.375 4.1875 9.34375 4.40625L9.125 8.65625C9.09375 8.875 8.9375 9 8.75 9H7.21875C7.03125 9 6.875 8.875 6.84375 8.65625L6.625 4.40625Z"}))}l.propTypes={severity:o.default.oneOf(Object.values(i.SEVERITIES))}}}},{package:"$root$",file:"ui/components/ui/icon/info-icon-inverted.component.js"}],[5238,{"../../../helpers/constants/design-system":5355,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=l;var a=s(e("react")),r=s(e("classnames")),o=s(e("prop-types")),i=e("../../../helpers/constants/design-system");function s(e){return e&&e.__esModule?e:{default:e}}function l({severity:e}){const t=(0,r.default)("info-icon",{"info-icon--success":e===i.SEVERITIES.SUCCESS,"info-icon--warning":e===i.SEVERITIES.WARNING,"info-icon--danger":e===i.SEVERITIES.DANGER,"info-icon--info":e===i.SEVERITIES.INFO});return a.default.createElement("svg",{className:t,width:"16",height:"16",viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"},a.default.createElement("path",{d:"M7.2 5.6H8.8V4H7.2V5.6ZM8 14.4C4.472 14.4 1.6 11.528 1.6 8C1.6 4.472 4.472 1.6 8 1.6C11.528 1.6 14.4 4.472 14.4 8C14.4 11.528 11.528 14.4 8 14.4ZM8 0C6.94943 0 5.90914 0.206926 4.93853 0.608964C3.96793 1.011 3.08601 1.60028 2.34315 2.34315C0.842855 3.84344 0 5.87827 0 8C0 10.1217 0.842855 12.1566 2.34315 13.6569C3.08601 14.3997 3.96793 14.989 4.93853 15.391C5.90914 15.7931 6.94943 16 8 16C10.1217 16 12.1566 15.1571 13.6569 13.6569C15.1571 12.1566 16 10.1217 16 8C16 6.94943 15.7931 5.90914 15.391 4.93853C14.989 3.96793 14.3997 3.08601 13.6569 2.34315C12.914 1.60028 12.0321 1.011 11.0615 0.608964C10.0909 0.206926 9.05058 0 8 0ZM7.2 12H8.8V7.2H7.2V12Z"}))}l.propTypes={severity:o.default.oneOf(Object.values(i.SEVERITIES))}}}},{package:"$root$",file:"ui/components/ui/icon/info-icon.component.js"}],[5239,{"./preloader-icon.component":5240},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./preloader-icon.component"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/ui/icon/preloader/index.js"}],[5240,{classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=i(e("react")),r=i(e("prop-types")),o=i(e("classnames"));function i(e){return e&&e.__esModule?e:{default:e}}const s=({className:e,size:t})=>a.default.createElement("svg",{className:(0,o.default)("preloader__icon",e),width:t,height:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 13.7143C4.84409 13.7143 2.28571 11.1559 2.28571 8C2.28571 4.84409 4.84409 2.28571 8 2.28571C11.1559 2.28571 13.7143 4.84409 13.7143 8C13.7143 11.1559 11.1559 13.7143 8 13.7143ZM8 16C3.58172 16 0 12.4183 0 8C0 3.58172 3.58172 0 8 0C12.4183 0 16 3.58172 16 8C16 12.4183 12.4183 16 8 16Z",fill:"var(--color-primary-muted)"}),a.default.createElement("mask",{id:"mask0","mask-type":"alpha",maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"16",height:"16"},a.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 13.7143C4.84409 13.7143 2.28571 11.1559 2.28571 8C2.28571 4.84409 4.84409 2.28571 8 2.28571C11.1559 2.28571 13.7143 4.84409 13.7143 8C13.7143 11.1559 11.1559 13.7143 8 13.7143ZM8 16C3.58172 16 0 12.4183 0 8C0 3.58172 3.58172 0 8 0C12.4183 0 16 3.58172 16 8C16 12.4183 12.4183 16 8 16Z",fill:"var(--color-primary-default)"})),a.default.createElement("g",{mask:"url(#mask0)"},a.default.createElement("path",{d:"M6.85718 17.9999V11.4285V8.28564H-4.85711V17.9999H6.85718Z",fill:"var(--color-primary-default)"})));s.defaultProps={className:undefined},s.propTypes={className:r.default.string,size:r.default.number.isRequired};n.default=s}}},{package:"$root$",file:"ui/components/ui/icon/preloader/preloader-icon.component.js"}],[5241,{"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=o(e("react")),r=o(e("prop-types"));function o(e){return e&&e.__esModule?e:{default:e}}const i=({size:e=24,color:t="currentColor",ariaLabel:n,className:r})=>a.default.createElement("svg",{width:e,height:e,fill:t,className:r,"aria-label":n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},a.default.createElement("path",{d:"m235 427c-51 0-100-21-136-57-36-36-56-84-56-135 0-26 5-51 14-74 10-23 24-44 42-62 18-18 39-32 62-42 23-9 48-14 74-14 25 0 50 5 73 14 23 10 45 24 62 42 18 18 32 39 42 62 10 23 15 48 15 74 0 43-15 86-42 119l78 79c2 2 4 4 5 7 1 2 1 5 1 8 0 3 0 6-1 8-1 3-3 5-5 7-2 2-4 4-7 5-2 1-5 1-8 1-3 0-6 0-8-1-3-1-5-3-7-5l-79-78c-33 27-76 42-119 42z m0-43c82 0 149-67 149-149 0-83-67-150-149-150-83 0-150 67-150 150 0 82 67 149 150 149z"}));i.propTypes={size:r.default.number,color:r.default.string,className:r.default.string,ariaLabel:r.default.string};n.default=i}}},{package:"$root$",file:"ui/components/ui/icon/search-icon.js"}],[5242,{"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=i;var a=o(e("react")),r=o(e("prop-types"));function o(e){return e&&e.__esModule?e:{default:e}}function i({reverseColors:e}){const t=e?"var(--color-primary-default)":"var(--color-primary-inverse)",n=e?"var(--color-primary-inverse)":"var(--color-primary-default)";return a.default.createElement("svg",{width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.default.createElement("path",{d:"M13.2148 9.05384C13.432 8.40203 14.8878 7.92403 14.8878 7.20703C14.8878 6.49003 13.432 6.01204 13.2148 5.36022C12.9975 4.68668 13.8883 3.44823 13.4755 2.88332C13.0627 2.31842 11.607 2.77469 11.0421 2.3836C10.4771 1.97078 10.4771 0.449879 9.80361 0.232608C9.15179 0.0153358 8.26098 1.25378 7.54398 1.25378C6.82698 1.25378 5.91444 0.0153358 5.28435 0.232608C4.61081 0.449879 4.61081 1.99251 4.04591 2.3836C3.481 2.79641 2.02528 2.31842 1.61246 2.88332C1.19965 3.44823 2.09046 4.68668 1.87319 5.36022C1.65592 6.01204 0.200195 6.49003 0.200195 7.20703C0.200195 7.92403 1.65592 8.40203 1.87319 9.05384C2.09046 9.72738 1.19965 10.9658 1.61246 11.5307C2.02528 12.0956 3.481 11.6394 4.04591 12.0305C4.61081 12.4433 4.61081 13.9642 5.28435 14.1815C5.93617 14.3987 6.82698 13.1603 7.54398 13.1603C8.26098 13.1603 9.17352 14.3987 9.80361 14.1815C10.4771 13.9642 10.4771 12.4216 11.0421 12.0305C11.607 11.6176 13.0627 12.0956 13.4755 11.5307C13.8883 10.9658 12.9975 9.70566 13.2148 9.05384Z",fill:t}),a.default.createElement("path",{d:"M6.42285 10.084L4.13965 7.81445C4.07585 7.75065 4.04395 7.66862 4.04395 7.56836C4.04395 7.4681 4.07585 7.38607 4.13965 7.32227L4.64551 6.83008C4.70931 6.75716 4.78678 6.7207 4.87793 6.7207C4.97819 6.7207 5.06478 6.75716 5.1377 6.83008L6.66895 8.36133L9.9502 5.08008C10.0231 5.00716 10.1051 4.9707 10.1963 4.9707C10.2965 4.9707 10.3786 5.00716 10.4424 5.08008L10.9482 5.57227C11.012 5.63607 11.0439 5.7181 11.0439 5.81836C11.0439 5.91862 11.012 6.00065 10.9482 6.06445L6.91504 10.084C6.85124 10.1569 6.76921 10.1934 6.66895 10.1934C6.56868 10.1934 6.48665 10.1569 6.42285 10.084Z",fill:n}))}i.propTypes={reverseColors:r.default.bool}}}},{package:"$root$",file:"ui/components/ui/icon/sun-check-icon.component.js"}],[5244,{"./blockieIdenticon.component":5243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./blockieIdenticon.component"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/ui/identicon/blockieIdenticon/index.js"}],[5245,{"../../../helpers/utils/util":5399,"../jazzicon":5251,"./blockieIdenticon":5244,classnames:3049,lodash:3836,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=d(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=u(e("prop-types")),o=u(e("classnames")),i=e("lodash"),s=u(e("../jazzicon")),l=e("../../../helpers/utils/util"),c=u(e("./blockieIdenticon"));function u(e){return e&&e.__esModule?e:{default:e}}function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(d=function(e){return e?n:t})(e)}function f(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const p=e=>({height:e,width:e,borderRadius:e/2});class m extends a.Component{constructor(...e){super(...e),f(this,"state",{imageLoadingError:!1})}renderImage(){const{className:e,diameter:t,alt:n,imageBorder:r,ipfsGateway:i}=this.props;let{image:s}=this.props;return Array.isArray(s)&&s.length&&(s=s[0]),"string"==typeof s&&s.toLowerCase().startsWith("ipfs://")&&(s=(0,l.getAssetImageURL)(s,i)),a.default.createElement("img",{className:(0,o.default)("identicon",e,{"identicon__image-border":r}),src:s,style:p(t),alt:n,onError:()=>{this.setState({imageLoadingError:!0})}})}renderJazzicon(){const{address:e,className:t,diameter:n,alt:r}=this.props,i=this.getTokenList();return a.default.createElement(s.default,{address:e,diameter:n,className:(0,o.default)("identicon",t),style:p(n),alt:r,tokenList:i})}renderBlockie(){const{address:e,className:t,diameter:n,alt:r}=this.props;return a.default.createElement("div",{className:(0,o.default)("identicon",t),style:p(n)},a.default.createElement(c.default,{address:e,diameter:n,alt:r}))}renderBlockieOrJazzIcon(){const{useBlockie:e}=this.props;return e?this.renderBlockie():this.renderJazzicon()}shouldComponentUpdate(e,t){return!(0,i.isEqual)(e,this.props)||!(0,i.isEqual)(t,this.state)}getTokenImage(){var e;const{address:t,tokenList:n}=this.props;return null===(e=n[null==t?void 0:t.toLowerCase()])||void 0===e?void 0:e.iconUrl}getNftImage(){var e;const{address:t,watchedNftContracts:n}=this.props;return null===(e=n[null==t?void 0:t.toLowerCase()])||void 0===e?void 0:e.logo}getTokenList(){const{address:e}=this.props,t=this.getTokenImage(),n=this.getNftImage(),a=t||n;return a?{[e.toLowerCase()]:{iconUrl:a}}:{}}render(){const{address:e,image:t,addBorder:n,diameter:r}=this.props,{imageLoadingError:i}=this.state,s=r+8;return i?this.renderBlockieOrJazzIcon():t?this.renderImage():e?this.getTokenImage()||this.getNftImage()?this.renderJazzicon():a.default.createElement("div",{className:(0,o.default)({"identicon__address-wrapper":n}),style:n?p(s):null},this.renderBlockieOrJazzIcon()):a.default.createElement("div",{style:p(r),className:"identicon__image-border"})}}n.default=m,f(m,"propTypes",{addBorder:r.default.bool,address:r.default.string,className:r.default.string,diameter:r.default.number,image:r.default.oneOfType([r.default.string,r.default.array]),useBlockie:r.default.bool,alt:r.default.string,imageBorder:r.default.bool,tokenList:r.default.object,ipfsGateway:r.default.string,watchedNftContracts:r.default.object}),f(m,"defaultProps",{addBorder:!1,address:undefined,className:undefined,diameter:46,image:undefined,useBlockie:!1,alt:"",tokenList:{},watchedNftContracts:{}})}}},{package:"$root$",file:"ui/components/ui/identicon/identicon.component.js"}],[5246,{"../../../selectors":5987,"../../../selectors/nft":5992,"./identicon.component":5245,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=e("react-redux"),o=e("../../../selectors"),i=e("../../../selectors/nft"),s=(a=e("./identicon.component"))&&a.__esModule?a:{default:a};n.default=(0,r.connect)((e=>{const{metamask:{useBlockie:t,ipfsGateway:n}}=e;return{useBlockie:t,tokenList:(0,o.getTokenList)(e),ipfsGateway:n,watchedNftContracts:(0,i.getNftContractsByAddressOnCurrentChain)(e)}}))(s.default)}}},{package:"$root$",file:"ui/components/ui/identicon/identicon.container.js"}],[5247,{"./identicon.container":5246},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./identicon.container"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/ui/identicon/index.js"}],[5248,{"./info-tooltip":5250},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./info-tooltip"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/ui/info-tooltip/index.js"}],[5249,{"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=i;var a=o(e("react")),r=o(e("prop-types"));function o(e){return e&&e.__esModule?e:{default:e}}function i({fillColor:e="var(--color-icon-default)"}){return a.default.createElement("svg",{viewBox:"0 0 10 10",xmlns:"http://www.w3.org/2000/svg"},a.default.createElement("path",{d:"M5 0C2.2 0 0 2.2 0 5s2.2 5 5 5 5-2.2 5-5-2.2-5-5-5zm0 2c.4 0 .7.3.7.7s-.3.7-.7.7-.7-.2-.7-.6.3-.8.7-.8zm.7 6H4.3V4.3h1.5V8z",fill:e}))}i.propTypes={fillColor:r.default.string}}}},{package:"$root$",file:"ui/components/ui/info-tooltip/info-tooltip-icon.js"}],[5250,{"../tooltip":5310,"./info-tooltip-icon":5249,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=u;var a=l(e("react")),r=l(e("prop-types")),o=l(e("classnames")),i=l(e("../tooltip")),s=l(e("./info-tooltip-icon"));function l(e){return e&&e.__esModule?e:{default:e}}const c={top:"info-tooltip__top-tooltip-arrow",bottom:"info-tooltip__bottom-tooltip-arrow",left:"info-tooltip__left-tooltip-arrow",right:"info-tooltip__right-tooltip-arrow"};function u({contentText:e="",position:t="",containerClassName:n,wrapperClassName:r,iconFillColor:l="var(--color-icon-alternative)"}){return a.default.createElement("div",{className:"info-tooltip","data-testid":"info-tooltip"},a.default.createElement(i.default,{interactive:!0,position:t,containerClassName:(0,o.default)("info-tooltip__tooltip-container",n),wrapperClassName:r,tooltipInnerClassName:"info-tooltip__tooltip-content",tooltipArrowClassName:c[t],html:e,theme:"tippy-tooltip-info"},a.default.createElement(s.default,{fillColor:l})))}u.propTypes={contentText:r.default.oneOf([r.default.string,r.default.node]),position:r.default.oneOf(["top","left","bottom","right"]),containerClassName:r.default.string,wrapperClassName:r.default.string,iconFillColor:r.default.string}}}},{package:"$root$",file:"ui/components/ui/info-tooltip/info-tooltip.js"}],[5251,{"./jazzicon.component":5252},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./jazzicon.component"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/ui/jazzicon/index.js"}],[5253,{"../../../ducks/app/app":5336,"../../../helpers/utils/gas":5384,"../../../hooks/useShouldAnimateGasEstimations":5439,classnames:3049,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=f;var a=e("react-redux"),r=u(e("classnames")),o=u(e("prop-types")),i=u(e("react")),s=e("../../../helpers/utils/gas"),l=e("../../../ducks/app/app"),c=e("../../../hooks/useShouldAnimateGasEstimations");function u(e){return e&&e.__esModule?e:{default:e}}const d="loading-heartbeat--active";function f({estimateUsed:e,backgroundColor:t="var(--color-background-default)"}){(0,c.useShouldAnimateGasEstimations)();const n=(0,a.useSelector)(l.getGasLoadingAnimationIsShowing);return e&&!(0,s.isMetamaskSuggestedGasEstimate)(e)?null:i.default.createElement("div",{className:(0,r.default)("loading-heartbeat",{[d]:n}),onClick:e=>{e.preventDefault(),e.stopPropagation()},style:{backgroundColor:t}})}f.propTypes={backgroundColor:o.default.string,estimateUsed:o.default.string}}}},{package:"$root$",file:"ui/components/ui/loading-heartbeat/index.js"}],[5254,{"./loading-indicator":5255},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./loading-indicator"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/ui/loading-indicator/index.js"}],[5255,{"../../component-library":4955,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=l;var a=i(e("react")),r=i(e("prop-types")),o=e("../../component-library");function i(e){return e&&e.__esModule?e:{default:e}}function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;ta.default.createElement(i.Box,{className:"loading-overlay"},e,a.default.createElement(i.Box,{className:"loading-overlay__container",marginBottom:3},n&&a.default.createElement(o.default,{color:"var(--color-warning-default)",className:"loading-overlay__spinner"})),a.default.createElement(i.Box,{display:s.Display.Flex,flexDirection:s.FlexDirection.Row,justifyContent:s.JustifyContent.center,alignItems:s.AlignItems.center},t?(0,a.isValidElement)(t)?t:a.default.createElement("span",{style:{textAlign:"center"}},t):null));u.propTypes={header:r.default.element,loadingMessage:r.default.oneOfType([r.default.string,r.default.element]),showLoadingSpinner:r.default.bool};n.default=a.default.memo(u)}}},{package:"$root$",file:"ui/components/ui/loading-screen/loading-screen.component.js"}],[5258,{"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=o(e("react")),r=o(e("prop-types"));function o(e){return e&&e.__esModule?e:{default:e}}const i=({width:e="100%",color:t="var(--color-text-default)",className:n,ariaLabel:r})=>a.default.createElement("svg",{width:e,fill:t,className:n,"aria-label":r,viewBox:"0 0 2546 491",xmlns:"http://www.w3.org/2000/svg"},a.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2460 15V30H2488H2516V140V250H2531H2546V125V0H2503H2460V15ZM1861 116.038C1796.99 123.881 1741.39 163.865 1712.97 222.5C1680.8 288.855 1690.83 365.835 1739.17 423.5C1778.97 470.987 1839.99 496.383 1898.79 489.935C1937.49 485.692 1976.26 467.949 2005.03 441.315L2010.98 435.803L1997.36 421.444L1983.74 407.085L1974.62 415.109C1953.06 434.078 1931.7 444.965 1904.88 450.669C1893.48 453.093 1867.95 453.103 1855.82 450.689C1837.26 446.995 1819.5 439.522 1802.54 428.264C1790.63 420.354 1773.3 403.429 1764.69 391.295C1752.74 374.459 1743.39 352.909 1738.81 331.648C1735.63 316.902 1735.66 289.005 1738.87 274C1751.85 213.28 1797.55 166.907 1855.82 155.311C1867.95 152.897 1893.48 152.907 1904.88 155.331C1931.7 161.035 1953.06 171.922 1974.62 190.891L1983.74 198.915L1997.38 184.534L2011.02 170.153L2003.26 163.053C1977.39 139.393 1945.42 123.844 1909.5 117.465C1898.75 115.555 1871.49 114.753 1861 116.038ZM0 303V485H120H240V465.5V446H140.5H41V283.5V121H20.5H0V303ZM407.496 297.75C364.676 394.963 328.599 476.871 327.325 479.769L325.009 485.038L347.632 484.769L370.256 484.5L386.106 448.5C394.823 428.7 403.087 410.135 404.469 407.245L406.983 401.99L508.152 402.245L609.321 402.5L627.41 443.719L645.5 484.938L668.135 484.969L690.769 485L655.85 405.75C636.645 362.163 600.584 280.269 575.716 223.763L530.5 121.027L507.925 121.013L485.35 121L407.496 297.75ZM749 140.5V160H810H871V322.5V485H891.5H912V322.5V160H973H1034V140.5V121H891.5H749V140.5ZM1133 140.5V160H1194H1255V322.5V485H1275.5H1296V322.5V160H1357H1418V140.5V121H1275.5H1133V140.5ZM1534 303V485H1554.5H1575V303V121H1554.5H1534V303ZM2120 303V485H2250.5H2381V465.5V446H2271.5H2162V382.5V319H2260.5H2359V299.5V280H2260.5H2162V220V160H2271.5H2381V140.5V121H2250.5H2120V303ZM550.073 267.125C572.858 318.894 591.65 361.644 591.833 362.125C592.022 362.621 555.677 363 507.976 363C428.21 363 423.821 362.908 424.447 361.25C426.983 354.537 507.62 173.036 508.073 173.02C508.388 173.009 527.288 215.356 550.073 267.125Z"}));i.propTypes={width:r.default.string,color:r.default.string,className:r.default.string,ariaLabel:r.default.string};n.default=i}}},{package:"$root$",file:"ui/components/ui/logo/logo-lattice.js"}],[5259,{"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=o(e("react")),r=o(e("prop-types"));function o(e){return e&&e.__esModule?e:{default:e}}const i=({width:e="100%",color:t="var(--color-text-default)",className:n,ariaLabel:r})=>a.default.createElement("svg",{width:e,fill:t,className:n,"aria-label":r,viewBox:"0 0 2000.58 669.35",xmlns:"http://www.w3.org/2000/svg"},a.default.createElement("path",{d:"m1711.35 627.2v42.14h289.22v-190.05h-42.14v147.91zm0-627.2v42.14h247.08v147.92h42.14v-190.06zm-149.15 326v-97.92h66.11c32.23 0 43.8 10.74 43.8 40.08v17.35c0 30.16-11.16 40.49-43.8 40.49zm104.94 17.35c30.16-7.85 51.23-35.95 51.23-69.41 0-21.07-8.26-40.08-23.96-55.37-19.83-19.01-46.28-28.51-80.57-28.51h-92.96v289.22h41.32v-115.27h61.98c31.81 0 44.62 13.22 44.62 46.28v69h42.14v-62.39c0-45.45-10.74-62.8-43.8-67.76zm-347.88 9.5h127.26v-38.01h-127.26v-86.77h139.65v-38.01h-181.8v289.22h188v-38.01h-145.85zm-138.42 15.29v19.83c0 41.73-15.29 55.37-53.71 55.37h-9.09c-38.43 0-57.02-12.4-57.02-69.83v-77.68c0-57.84 19.42-69.83 57.84-69.83h8.26c37.6 0 49.58 14.05 49.99 52.89h45.45c-4.13-57.02-42.14-92.96-99.16-92.96-27.68 0-50.82 8.68-68.17 25.2-26.03 24.38-40.49 65.7-40.49 123.54 0 55.78 12.4 97.1 38.01 122.71 17.35 16.94 41.32 26.03 64.87 26.03 24.79 0 47.52-9.92 59.08-31.4h5.78v27.27h38.01v-149.15h-111.97v38.01zm-364.41-140.07h45.04c42.56 0 65.7 10.74 65.7 68.59v76.02c0 57.84-23.14 68.59-65.7 68.59h-45.04zm48.75 251.22c78.92 0 108.25-59.91 108.25-144.61 0-85.94-31.4-144.61-109.08-144.61h-89.25v289.22zm-289.63-126.44h127.26v-38.01h-127.26v-86.77h139.65v-38.01h-181.8v289.22h188v-38.01h-145.85zm-243.77-162.79h-42.14v289.22h190.06v-38.01h-147.92zm-331.78 289.23v190.06h289.22v-42.15h-247.08v-147.91zm0-479.29v190.06h42.14v-147.92h247.08v-42.14z"}));i.propTypes={width:r.default.string,color:r.default.string,className:r.default.string,ariaLabel:r.default.string};n.default=i}}},{package:"$root$",file:"ui/components/ui/logo/logo-ledger.js"}],[5260,{"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=o(e("react")),r=o(e("prop-types"));function o(e){return e&&e.__esModule?e:{default:e}}const i=({width:e="100%",color:t="var(--color-text-default)",className:n,ariaLabel:r})=>a.default.createElement("svg",{width:e,fill:t,className:n,"aria-label":r,viewBox:"0 0 107 24",xmlns:"http://www.w3.org/2000/svg"},a.default.createElement("path",{d:"M1.3333 8H6.6667C7.403 8 8 7.403 8 6.6667V1.3333C8 0.597002 7.403 0 6.6667 0H1.3333C0.597 0 0 0.597002 0 1.3333V6.6667C0 7.403 0.597 8 1.3333 8ZM2.6667 2.6667H5.3333V5.3333H2.6667V2.6667ZM0.6667 13.3333H2C2.3682 13.3333 2.6667 13.0349 2.6667 12.6667V11.3333C2.6667 10.9651 2.3682 10.6667 2 10.6667H0.6667C0.2985 10.6667 0 10.9651 0 11.3333V12.6667C0 13.0349 0.2985 13.3333 0.6667 13.3333ZM6.6667 16H1.3333C0.597 16 0 16.597 0 17.3333V22.6667C0 23.403 0.597 24 1.3333 24H6.6667C7.403 24 8 23.403 8 22.6667V17.3333C8 16.597 7.403 16 6.6667 16ZM5.3333 21.3333H2.6667V18.6667H5.3333V21.3333ZM19.3333 24H23.3333C23.7015 24 24 23.7015 24 23.3333V19.3333C24 18.9651 23.7015 18.6667 23.3333 18.6667H22C21.6318 18.6667 21.3333 18.9651 21.3333 19.3333V21.3333H18.6667V23.3333C18.6667 23.7015 18.9651 24 19.3333 24ZM22.6667 0H17.3333C16.597 0 16 0.597002 16 1.3333V6.6667C16 7.403 16.597 8 17.3333 8H22.6667C23.403 8 24 7.403 24 6.6667V1.3333C24 0.597002 23.403 0 22.6667 0ZM21.3333 5.3333H18.6667V2.6667H21.3333V5.3333ZM6 10.6667C5.6318 10.6667 5.3333 10.9651 5.3333 11.3333V12.6667C5.3333 13.0349 5.6318 13.3333 6 13.3333H10.6667V10.6667H6ZM10.6667 15.3333C10.6667 15.7015 10.9651 16 11.3333 16H13.3333V18C13.3333 18.3682 13.6318 18.6667 14 18.6667H16V13.3333H10.6667V15.3333ZM10.6667 22V23.3333C10.6667 23.7015 10.9651 24 11.3333 24H15.3333C15.7015 24 16 23.7015 16 23.3333V21.3333H11.3333C10.9651 21.3333 10.6667 21.6318 10.6667 22ZM23.3333 10.6667H16.6667C16.2985 10.6667 16 10.9651 16 11.3333V13.3333H18.6667V15.3333C18.6667 15.7015 18.9651 16 19.3333 16H20.6667C21.0349 16 21.3333 15.7015 21.3333 15.3333V13.3333H23.3333C23.7015 13.3333 24 13.0349 24 12.6667V11.3333C24 10.9651 23.7015 10.6667 23.3333 10.6667ZM18.6667 21.3333V18.6667H16V21.3333H18.6667ZM11.3333 5.3333H12.6667C13.0349 5.3333 13.3333 5.0349 13.3333 4.6667V0.666698C13.3333 0.298498 13.0349 0 12.6667 0H11.3333C10.9651 0 10.6667 0.298498 10.6667 0.666698V4.6667C10.6667 5.0349 10.9651 5.3333 11.3333 5.3333ZM13.3333 10V8.6667C13.3333 8.2985 13.0349 8 12.6667 8H11.3333C10.9651 8 10.6667 8.2985 10.6667 8.6667V10.6667H12.6667C13.0349 10.6667 13.3333 10.3682 13.3333 10Z"}),a.default.createElement("path",{d:"M38.592 18.192C37.7707 18.192 37.0027 18.0427 36.288 17.744C35.584 17.4347 34.9653 17.0187 34.432 16.496C33.8987 15.9627 33.4773 15.3387 33.168 14.624C32.8693 13.9093 32.72 13.1413 32.72 12.32C32.72 11.4987 32.8693 10.7307 33.168 10.016C33.4773 9.3013 33.8987 8.6827 34.432 8.16C34.9653 7.6267 35.584 7.2107 36.288 6.912C37.0027 6.6027 37.7707 6.448 38.592 6.448C39.4133 6.448 40.1813 6.6027 40.896 6.912C41.6107 7.2107 42.2293 7.6267 42.752 8.16C43.2853 8.6827 43.7013 9.3013 44 10.016C44.3093 10.7307 44.464 11.4987 44.464 12.32C44.464 13.0347 44.3467 13.7067 44.112 14.336C43.888 14.9653 43.5733 15.536 43.168 16.048L45.28 18H43.248L42.16 17.008C41.6693 17.3813 41.12 17.6747 40.512 17.888C39.904 18.0907 39.264 18.192 38.592 18.192ZM38.592 16.784C39.5413 16.784 40.3787 16.528 41.104 16.016L39.296 14.336L40.208 13.312L42.08 15.056C42.3573 14.6827 42.576 14.2667 42.736 13.808C42.896 13.3387 42.976 12.8427 42.976 12.32C42.976 11.7013 42.864 11.12 42.64 10.576C42.416 10.032 42.1067 9.5573 41.712 9.152C41.328 8.7467 40.864 8.432 40.32 8.208C39.7867 7.9733 39.2107 7.856 38.592 7.856C37.9733 7.856 37.3973 7.9733 36.864 8.208C36.3307 8.432 35.8667 8.7467 35.472 9.152C35.088 9.5573 34.784 10.032 34.56 10.576C34.336 11.12 34.224 11.7013 34.224 12.32C34.224 12.9493 34.336 13.536 34.56 14.08C34.784 14.6133 35.088 15.0827 35.472 15.488C35.8667 15.8933 36.3307 16.2133 36.864 16.448C37.3973 16.672 37.9733 16.784 38.592 16.784ZM46.9259 6.64H50.7979C51.3205 6.64 51.7899 6.7147 52.2059 6.864C52.6325 7.0133 52.9899 7.2267 53.2779 7.504C53.5765 7.7813 53.8005 8.112 53.9499 8.496C54.1099 8.88 54.1899 9.3067 54.1899 9.776C54.1899 10.608 53.9392 11.2907 53.4379 11.824C52.9472 12.3573 52.2592 12.688 51.3739 12.816L55.7579 18H53.8859L49.5179 12.832H48.4139V18H46.9259V6.64ZM50.6219 11.504C51.2725 11.504 51.7792 11.36 52.1419 11.072C52.5152 10.784 52.7019 10.352 52.7019 9.776C52.7019 9.2 52.5152 8.7627 52.1419 8.464C51.7792 8.1653 51.2725 8.016 50.6219 8.016H48.4139V11.504H50.6219ZM55.8681 12.832H59.948V14.208H55.8681V12.832ZM66.488 18.16C65.88 18.16 65.325 18.0267 64.824 17.76C64.323 17.4827 63.939 17.152 63.672 16.768V18H62.296V6H63.672V11.232C63.939 10.848 64.323 10.5227 64.824 10.256C65.325 9.9787 65.88 9.84 66.488 9.84C67.043 9.84 67.56 9.952 68.04 10.176C68.52 10.3893 68.936 10.688 69.288 11.072C69.64 11.4453 69.912 11.8827 70.104 12.384C70.307 12.8853 70.408 13.424 70.408 14C70.408 14.576 70.307 15.1147 70.104 15.616C69.912 16.1173 69.64 16.56 69.288 16.944C68.936 17.3173 68.52 17.616 68.04 17.84C67.56 18.0533 67.043 18.16 66.488 18.16ZM66.28 16.896C66.685 16.896 67.053 16.8213 67.384 16.672C67.715 16.5227 67.997 16.32 68.232 16.064C68.477 15.7973 68.664 15.488 68.792 15.136C68.931 14.784 69 14.4053 69 14C69 13.5947 68.931 13.216 68.792 12.864C68.664 12.512 68.477 12.208 68.232 11.952C67.997 11.6853 67.715 11.4773 67.384 11.328C67.053 11.1787 66.685 11.104 66.28 11.104C65.875 11.104 65.507 11.1787 65.176 11.328C64.845 11.4773 64.557 11.6853 64.312 11.952C64.077 12.208 63.891 12.512 63.752 12.864C63.624 13.216 63.56 13.5947 63.56 14C63.56 14.4053 63.624 14.784 63.752 15.136C63.891 15.488 64.077 15.7973 64.312 16.064C64.557 16.32 64.845 16.5227 65.176 16.672C65.507 16.8213 65.875 16.896 66.28 16.896ZM75.67 18.16C75.105 18.16 74.582 18.0533 74.102 17.84C73.633 17.616 73.222 17.3173 72.87 16.944C72.518 16.56 72.241 16.1173 72.038 15.616C71.846 15.1147 71.75 14.576 71.75 14C71.75 13.424 71.846 12.8853 72.038 12.384C72.241 11.8827 72.518 11.4453 72.87 11.072C73.222 10.688 73.633 10.3893 74.102 10.176C74.582 9.952 75.105 9.84 75.67 9.84C76.278 9.84 76.833 9.9787 77.334 10.256C77.835 10.5227 78.219 10.848 78.486 11.232V10H79.862V18H78.486V16.768C78.219 17.152 77.835 17.4827 77.334 17.76C76.833 18.0267 76.278 18.16 75.67 18.16ZM75.878 16.896C76.283 16.896 76.651 16.8213 76.982 16.672C77.313 16.5227 77.595 16.32 77.83 16.064C78.075 15.7973 78.262 15.488 78.39 15.136C78.529 14.784 78.598 14.4053 78.598 14C78.598 13.5947 78.529 13.216 78.39 12.864C78.262 12.512 78.075 12.208 77.83 11.952C77.595 11.6853 77.313 11.4773 76.982 11.328C76.651 11.1787 76.283 11.104 75.878 11.104C75.473 11.104 75.099 11.1787 74.758 11.328C74.427 11.4773 74.139 11.6853 73.894 11.952C73.659 12.208 73.473 12.512 73.334 12.864C73.206 13.216 73.142 13.5947 73.142 14C73.142 14.4053 73.206 14.784 73.334 15.136C73.473 15.488 73.659 15.7973 73.894 16.064C74.139 16.32 74.427 16.5227 74.758 16.672C75.099 16.8213 75.473 16.896 75.878 16.896ZM85.028 18.16C84.602 18.16 84.196 18.1067 83.812 18C83.428 17.8933 83.092 17.7387 82.804 17.536C82.516 17.3227 82.282 17.0613 82.1 16.752C81.919 16.4427 81.812 16.0853 81.78 15.68H83.188C83.231 15.9253 83.311 16.1333 83.428 16.304C83.556 16.464 83.706 16.5973 83.876 16.704C84.047 16.8107 84.228 16.8853 84.42 16.928C84.623 16.9707 84.831 16.992 85.044 16.992C85.482 16.992 85.844 16.9067 86.132 16.736C86.431 16.5547 86.58 16.288 86.58 15.936C86.58 15.616 86.479 15.3547 86.276 15.152C86.074 14.9493 85.732 14.784 85.252 14.656L84.1 14.352C83.407 14.1707 82.89 13.8773 82.548 13.472C82.207 13.0667 82.036 12.576 82.036 12C82.036 11.6693 82.106 11.3707 82.244 11.104C82.383 10.8373 82.575 10.6133 82.82 10.432C83.066 10.24 83.354 10.096 83.684 10C84.026 9.8933 84.399 9.84 84.804 9.84C85.231 9.84 85.615 9.8987 85.956 10.016C86.298 10.1333 86.591 10.2987 86.836 10.512C87.092 10.7147 87.295 10.9547 87.444 11.232C87.594 11.5093 87.684 11.808 87.716 12.128H86.34C86.234 11.776 86.042 11.4987 85.764 11.296C85.498 11.0933 85.178 10.992 84.804 10.992C84.42 10.992 84.095 11.0827 83.828 11.264C83.562 11.4347 83.428 11.6747 83.428 11.984C83.428 12.2827 83.524 12.5227 83.716 12.704C83.908 12.8747 84.218 13.0187 84.644 13.136L85.924 13.472C86.596 13.6427 87.103 13.9307 87.444 14.336C87.796 14.7307 87.972 15.232 87.972 15.84C87.972 16.2347 87.898 16.5813 87.748 16.88C87.599 17.168 87.391 17.408 87.124 17.6C86.858 17.792 86.543 17.9307 86.18 18.016C85.828 18.112 85.444 18.16 85.028 18.16ZM93.329 18.16C92.742 18.16 92.204 18.0587 91.713 17.856C91.222 17.6427 90.796 17.3493 90.433 16.976C90.081 16.6027 89.804 16.1653 89.601 15.664C89.398 15.152 89.297 14.5973 89.297 14C89.297 13.4133 89.388 12.8693 89.569 12.368C89.761 11.856 90.033 11.4133 90.385 11.04C90.737 10.6667 91.164 10.3733 91.665 10.16C92.166 9.9467 92.732 9.84 93.361 9.84C93.99 9.84 94.55 9.9627 95.041 10.208C95.542 10.4427 95.958 10.768 96.289 11.184C96.63 11.5893 96.876 12.0693 97.025 12.624C97.185 13.168 97.244 13.7493 97.201 14.368H90.689C90.7 14.7307 90.774 15.0667 90.913 15.376C91.062 15.6853 91.254 15.9573 91.489 16.192C91.724 16.416 92.001 16.592 92.321 16.72C92.641 16.848 92.982 16.912 93.345 16.912C93.846 16.912 94.294 16.8107 94.689 16.608C95.094 16.3947 95.42 16.048 95.665 15.568H97.073C96.977 15.92 96.822 16.256 96.609 16.576C96.396 16.8853 96.129 17.1573 95.809 17.392C95.5 17.6267 95.137 17.8133 94.721 17.952C94.305 18.0907 93.841 18.16 93.329 18.16ZM93.313 11.056C93.025 11.056 92.742 11.0987 92.465 11.184C92.188 11.2693 91.932 11.4027 91.697 11.584C91.473 11.7653 91.276 11.9947 91.105 12.272C90.934 12.5493 90.817 12.8853 90.753 13.28H95.745C95.617 12.5333 95.329 11.9787 94.881 11.616C94.433 11.2427 93.91 11.056 93.313 11.056ZM102.483 18.16C101.917 18.16 101.395 18.0533 100.915 17.84C100.445 17.616 100.035 17.3173 99.683 16.944C99.331 16.56 99.053 16.1173 98.851 15.616C98.659 15.1147 98.563 14.576 98.563 14C98.563 13.424 98.659 12.8853 98.851 12.384C99.053 11.8827 99.331 11.4453 99.683 11.072C100.035 10.688 100.445 10.3893 100.915 10.176C101.395 9.952 101.917 9.84 102.483 9.84C103.091 9.84 103.645 9.9787 104.147 10.256C104.648 10.5227 105.032 10.848 105.299 11.232V6H106.675V18H105.299V16.768C105.032 17.152 104.648 17.4827 104.147 17.76C103.645 18.0267 103.091 18.16 102.483 18.16ZM102.691 16.896C103.096 16.896 103.464 16.8213 103.795 16.672C104.125 16.5227 104.408 16.32 104.643 16.064C104.888 15.7973 105.075 15.488 105.203 15.136C105.341 14.784 105.411 14.4053 105.411 14C105.411 13.5947 105.341 13.216 105.203 12.864C105.075 12.512 104.888 12.208 104.643 11.952C104.408 11.6853 104.125 11.4773 103.795 11.328C103.464 11.1787 103.096 11.104 102.691 11.104C102.285 11.104 101.912 11.1787 101.571 11.328C101.24 11.4773 100.952 11.6853 100.707 11.952C100.472 12.208 100.285 12.512 100.147 12.864C100.019 13.216 99.955 13.5947 99.955 14C99.955 14.4053 100.019 14.784 100.147 15.136C100.285 15.488 100.472 15.7973 100.707 16.064C100.952 16.32 101.24 16.5227 101.571 16.672C101.912 16.8213 102.285 16.896 102.691 16.896Z"}));i.propTypes={width:r.default.string,color:r.default.string,className:r.default.string,ariaLabel:r.default.string};n.default=i}}},{package:"$root$",file:"ui/components/ui/logo/logo-qr-based.js"}],[5261,{"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=o(e("react")),r=o(e("prop-types"));function o(e){return e&&e.__esModule?e:{default:e}}const i=({width:e="100%",color:t="var(--color-text-default)",className:n,ariaLabel:r})=>a.default.createElement("svg",{width:e,fill:t,className:n,"aria-label":r,viewBox:"0 0 1482 378",xmlns:"http://www.w3.org/2000/svg"},a.default.createElement("path",{d:"m915.31 115.89h154.82v40.74l-84.2 114.08h84.2v47.98h-154.82v-40.74l84.2-114.08h-84.2z"}),a.default.createElement("path",{d:"m1437.7101 243.55c19-7.25 38.9301-26.26 38.9301-59.76 0-40.74-28.0601-67-69.71-67h-95.0601v201.9h52.51v-67.9h19.9199l37.12 67.9h60.66l-44.37-75.14zm-37.12-39.84h-36.21v-40.74h36.21c13.58 0 22.64 8.15 22.64 19.92 0 12.67-9.0601 20.82-22.64 20.82z"}),a.default.createElement("path",{d:"m1184.2101 113.17c-61.5699 0-105 44.36-105 104.12s44.34 104.12 105 104.12 105.9301-44.37 105.9301-104.12-44.3701-104.12-105.9301-104.12zm0 161.16c-30.78 0-51.61-23.54-51.61-57 0-34.4 20.83-57 51.61-57s52.51 23.54 52.51 57-21.7301 56.9999-52.51 56.9999z"}),a.default.createElement("path",{d:"m743.29 115.89h146.6701v47.08h-94.1601v29.87h91.44v46.18h-91.44v32.59h94.1601v47.08h-146.6701z"}),a.default.createElement("path",{d:"m222.7 87.82c0-48-41.65-87.82-92.35-87.82s-92.35 39.84-92.35 87.82v28.07h-38v201.9l130.35 60.62 130.38-60.66v-201h-38zm-137.62 0c0-22.63 19.92-40.74 45.27-40.74s45.27 18.11 45.27 40.74v28.07h-90.54zm123.13 197.37-77.86 36.22-77.86-36.22v-121.32h155.72z"}),a.default.createElement("path",{d:"m718.85 183.79c0-40.74-28.07-67-69.72-67h-95.0599v201.9h52.51v-67.9h19.92l37.12 67.9h60.68l-44.37-75.14c19-7.25 38.92-26.26 38.92-59.76zm-76.06 19.92h-36.21v-40.74h36.21c13.58 0 22.64 8.15 22.64 19.92 0 12.67-9.0601 20.82-22.6401 20.82z"}),a.default.createElement("path",{d:"m366.66 115.89h163.87v47.98h-56.13v154.82h-52.52v-154.82h-55.22z"}));i.propTypes={width:r.default.string,color:r.default.string,className:r.default.string,ariaLabel:r.default.string};n.default=i}}},{package:"$root$",file:"ui/components/ui/logo/logo-trezor.js"}],[5262,{"./mascot.component":5263},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./mascot.component"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/ui/mascot/index.js"}],[5263,{"../../../helpers/utils/build-types":5379,"@metamask/logo":1497,lodash:3836,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=c(e("prop-types")),r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=l(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=c(e("@metamask/logo")),i=e("lodash"),s=e("../../../helpers/utils/build-types");function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(l=function(e){return e?n:t})(e)}function c(e){return e&&e.__esModule?e:{default:e}}function u(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class d extends r.Component{constructor(e){super(e);const{width:t,height:n,followMouse:a}=e;this.logo=(0,o.default)({followMouse:a,pxNotRatio:!0,width:t,height:n,meshJson:(0,s.getBuildSpecificAsset)("foxMeshJson")}),this.mascotContainer=(0,r.createRef)(),this.refollowMouse=(0,i.debounce)(this.logo.setFollowMouse.bind(this.logo,!0),1e3),this.unfollowMouse=this.logo.setFollowMouse.bind(this.logo,!1)}handleAnimationEvents(){this.animations||(this.animations=this.props.animationEventEmitter,this.animations.on("point",this.lookAt.bind(this)),this.animations.on("setFollowMouse",this.logo.setFollowMouse.bind(this.logo)))}lookAt(e){this.unfollowMouse(),this.logo.lookAtAndRender(e),this.refollowMouse()}componentDidMount(){this.mascotContainer.current.appendChild(this.logo.container),this.directionTargetMap=(({top:e,left:t,height:n,width:a})=>{const r=t+a/2,o=e+n/2;return{up:{x:r,y:e-n},down:{x:r,y:e+2*n},left:{x:t-a,y:o},right:{x:t+2*a,y:o},middle:{x:r,y:o}}})(this.mascotContainer.current.getBoundingClientRect());const{lookAtTarget:e,lookAtDirection:t}=this.props;null!=e&&e.x&&null!=e&&e.y?this.logo.lookAtAndRender(e):t&&this.logo.lookAtAndRender(this.directionTargetMap[t])}componentDidUpdate(e){const{lookAtTarget:t={},lookAtDirection:n=null,followMouse:a}=e,{lookAtTarget:r={},followMouse:o,lookAtDirection:i}=this.props;i&&n!==i?this.logo.lookAtAndRender(this.directionTargetMap[i]):(null==r?void 0:r.x)===(null==t?void 0:t.x)&&(null==r?void 0:r.y)===(null==t?void 0:t.y)||this.logo.lookAtAndRender(r),a!==o&&(this.unfollowMouse(),o&&this.refollowMouse())}componentWillUnmount(){this.animations=this.props.animationEventEmitter,this.animations.removeAllListeners(),this.logo.container.remove(),this.logo.stopAnimation()}render(){return this.handleAnimationEvents(),r.default.createElement("div",{ref:this.mascotContainer,style:{zIndex:0}})}}n.default=d,u(d,"propTypes",{animationEventEmitter:a.default.object.isRequired,width:a.default.string,height:a.default.string,followMouse:a.default.bool,lookAtTarget:a.default.object,lookAtDirection:a.default.oneOf(["up","down","left","right","middle"])}),u(d,"defaultProps",{width:"200",height:"200",followMouse:!0,lookAtTarget:{},lookAtDirection:null})}}},{package:"$root$",file:"ui/components/ui/mascot/mascot.component.js"}],[5264,{"./menu":5266,"./menu-item":5265},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"Menu",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(n,"MenuItem",{enumerable:!0,get:function(){return r.default}});var a=o(e("./menu")),r=o(e("./menu-item"));function o(e){return e&&e.__esModule?e:{default:e}}}}},{package:"$root$",file:"ui/components/ui/menu/index.js"}],[5265,{"../../../helpers/constants/design-system":5355,"../../component-library":4955,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=l(e("react")),r=l(e("prop-types")),o=l(e("classnames")),i=e("../../component-library"),s=e("../../../helpers/constants/design-system");function l(e){return e&&e.__esModule?e:{default:e}}const c=a.default.forwardRef((({children:e,className:t,"data-testid":n,iconName:r,iconColor:l,onClick:c,subtitle:u,disabled:d=!1,showInfoDot:f},p)=>a.default.createElement("button",{className:(0,o.default)("menu-item",t),"data-testid":n,onClick:c,ref:p,disabled:d},r&&f&&a.default.createElement(i.BadgeWrapper,{anchorElementShape:i.BadgeWrapperAnchorElementShape.circular,display:s.Display.Block,position:i.BadgeWrapperPosition.topRight,positionObj:{top:-6,right:4},badge:a.default.createElement(i.Icon,{name:i.IconName.FullCircle,size:i.IconSize.Xs,color:s.IconColor.primaryDefault,style:{"--size":"10px"}})},a.default.createElement(i.Icon,{name:r,size:i.IconSize.Sm,marginRight:2})),r&&!f&&a.default.createElement(i.Icon,{name:r,size:i.IconSize.Sm,marginRight:2,color:l}),a.default.createElement("div",null,a.default.createElement("div",null,e),u?a.default.createElement(i.Text,{variant:s.TextVariant.bodyXs},u):null))));c.propTypes={children:r.default.node.isRequired,className:r.default.string,"data-testid":r.default.string,iconName:r.default.string,onClick:r.default.func,subtitle:r.default.node,disabled:r.default.bool,showInfoDot:r.default.bool,iconColor:r.default.string},c.displayName="MenuItem";n.default=c}}},{package:"$root$",file:"ui/components/ui/menu/menu-item.js"}],[5266,{classnames:3049,"prop-types":3997,react:4243,"react-dom":4074,"react-popper":4181},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=c(e("prop-types")),r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=l(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=e("react-dom"),i=e("react-popper"),s=c(e("classnames"));function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(l=function(e){return e?n:t})(e)}function c(e){return e&&e.__esModule?e:{default:e}}function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const[d,f]=(0,r.useState)(null),p=(0,r.useRef)(document.getElementById("popover-content")),{attributes:m,styles:h}=(0,i.usePopper)(e,d,c);return(0,o.createPortal)(r.default.createElement(r.default.Fragment,null,r.default.createElement("div",{className:"menu__background","data-testid":a,onClick:l}),r.default.createElement("div",u({className:(0,s.default)("menu__container",n),"data-testid":n,ref:f,style:h.popper},m.popper),t)),p.current)};d.propTypes={anchorElement:a.default.instanceOf(window.Element),children:a.default.node.isRequired,className:a.default.string,onHide:a.default.func.isRequired,popperOptions:a.default.object,dataTestId:a.default.string},d.defaultProps={anchorElement:undefined,className:undefined,popperOptions:undefined};n.default=d}}},{package:"$root$",file:"ui/components/ui/menu/menu.js"}],[5267,{"../../../../shared/constants/preferences":4512,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=p;var a,r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=s(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=(a=e("prop-types"))&&a.__esModule?a:{default:a},i=e("../../../../shared/constants/preferences");function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(s=function(e){return e?n:t})(e)}const l=162,c=30,u="var(--color-text-default)",d="var(--color-overlay-alternative)",f="var(--color-overlay-inverse)";function p({theme:e,className:t}){const[n,a]=(0,r.useState)((()=>e===undefined?document.documentElement.getAttribute("data-theme"):e));(0,r.useEffect)((()=>{e!==undefined&&a(e)}),[e]);return r.default.createElement("svg",{width:l,height:c,viewBox:"0 0 1532 247",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:t},r.default.createElement("g",{clipPath:"url(#clip0)"},r.default.createElement("path",{d:"M148.354 134.603L152.72 74.4431L170.498 31.5908H94.5015L112.279 74.4431L116.645 134.603L117.997 153.579L118.101 200.289H146.898L147.002 153.579L148.354 134.603Z",fill:"url(#paint0_linear)"}),r.default.createElement("path",{d:"M244.727 123.029L190.355 107.077L206.781 131.996L182.246 179.957L214.682 179.54H262.92L244.727 123.029Z",fill:"url(#paint1_linear)"}),r.default.createElement("path",{d:"M74.6449 107.077L20.2726 123.029L2.18311 179.54H50.4216L82.7539 179.957L58.2188 131.996L74.6449 107.077Z",fill:"url(#paint2_linear)"}),r.default.createElement("path",{d:"M153.76 164.735L146.899 200.289L151.889 203.729L182.246 179.957L183.182 156.081L153.76 164.735Z",fill:"#ACACAC"}),r.default.createElement("path",{d:"M81.9224 156.081L82.7541 179.957L113.111 203.729L118.101 200.289L111.24 164.735L81.9224 156.081Z",fill:"#ACACAC"}),r.default.createElement("path",{d:"M256.267 82.0553L265 39.5158L251.9 0L151.889 74.4441L189.211 108.017L244.727 123.031L256.683 108.955L251.485 105.202L259.802 97.5906L253.46 92.5859L261.777 86.2258L256.267 82.0553Z",fill:"url(#paint3_linear)"}),r.default.createElement("path",{d:"M8.73266 82.0553L-0.000171178 39.5158L13.0991 0L113.111 74.4441L75.7884 108.017L20.2725 123.031L8.31682 108.955L13.5149 105.202L5.19795 97.5906L11.5396 92.5859L3.22265 86.2258L8.73266 82.0553Z",fill:"url(#paint4_linear)"}),r.default.createElement("path",{d:"M58.2188 131.997L81.9222 156.082L82.7539 179.958L58.2188 131.997Z",fill:"#8D8D8D"}),r.default.createElement("path",{d:"M206.781 131.997L182.246 179.958L183.181 156.082L206.781 131.997Z",fill:"#8D8D8D"}),r.default.createElement("path",{d:"M187.132 220.935L151.889 203.731L154.696 226.774L154.384 236.47L187.132 220.935Z",fill:"#FF9F5A"}),r.default.createElement("path",{d:"M77.8677 220.934L110.616 236.469L110.408 226.773L113.111 203.73L77.8677 220.934Z",fill:"#FF9F5A"}),r.default.createElement("path",{d:"M214.682 179.542L187.132 220.935L246.079 237.2L262.921 179.542H214.682Z",fill:"url(#paint5_linear)"}),r.default.createElement("path",{d:"M2.18311 179.542L18.921 237.2L77.8677 220.935L50.4216 179.542H2.18311Z",fill:"url(#paint6_linear)"}),r.default.createElement("path",{d:"M13.0991 0L113.111 74.4441L97.4126 31.5918L13.0991 0Z",fill:"#757575"}),r.default.createElement("path",{d:"M167.587 31.5918L151.889 74.4441L251.9 0L167.587 31.5918Z",fill:"#757575"}),r.default.createElement("path",{d:"M74.6448 107.079L58.2188 131.998L116.646 134.604L113.111 74.4443L74.6448 107.079Z",fill:"url(#paint7_linear)"}),r.default.createElement("path",{d:"M190.355 107.079L151.889 74.4443L148.354 134.604L206.781 131.998L190.355 107.079Z",fill:"url(#paint8_linear)"}),r.default.createElement("path",{d:"M77.8677 220.934L113.111 203.731L82.7539 179.959L77.8677 220.934Z",fill:"url(#paint9_linear)"}),r.default.createElement("path",{d:"M151.889 203.731L187.132 220.934L182.246 179.959L151.889 203.731Z",fill:"url(#paint10_linear)"}),r.default.createElement("path",{d:"M182.246 179.958L187.132 220.934L214.682 179.541L182.246 179.958Z",fill:"url(#paint11_linear)"}),r.default.createElement("path",{d:"M82.7539 179.958L77.8677 220.934L50.3177 179.541L82.7539 179.958Z",fill:"url(#paint12_linear)"}),r.default.createElement("path",{d:"M206.781 131.997L148.354 134.604L153.761 164.736L162.389 146.594L183.182 156.082L206.781 131.997Z",fill:"#666666"}),r.default.createElement("path",{d:"M81.9222 156.082L102.611 146.594L111.24 164.736L116.646 134.604L58.2188 131.997L81.9222 156.082Z",fill:"#666666"}),r.default.createElement("path",{d:"M153.76 164.736L147.002 153.579L148.354 134.604L153.76 164.736Z",fill:"#8D8D8D"}),r.default.createElement("path",{d:"M111.24 164.736L116.646 134.604L117.997 153.579L111.24 164.736Z",fill:"#8D8D8D"}),r.default.createElement("path",{d:"M147.003 153.58L153.76 164.736L146.899 200.29L147.003 153.58Z",fill:"#8D8D8D"}),r.default.createElement("path",{d:"M117.997 153.58L118.101 200.29L111.24 164.736L117.997 153.58Z",fill:"#8D8D8D"}),r.default.createElement("path",{d:"M154.571 236.345L154.696 226.773L152.097 224.48H112.903L110.408 226.773L110.616 236.47L77.8677 220.935L89.3035 230.318L112.591 246.479H152.409L175.696 230.318L187.132 220.935L154.571 236.345Z",fill:"#DF7554"}),r.default.createElement("path",{d:"M151.889 203.731L146.899 200.29H118.101L113.111 203.731L110.408 226.773L112.903 224.479H152.097L154.696 226.773L151.889 203.731Z",fill:"#161616",stroke:"#161616",strokeWidth:"0.0657594",strokeMiterlimit:"10",strokeLinejoin:"round"}),r.default.createElement("path",{d:"M162.389 146.594L153.76 164.736L183.182 156.082L162.389 146.594Z",fill:"#161616"}),r.default.createElement("path",{d:"M102.611 146.594L111.24 164.736L81.9224 156.082L102.611 146.594Z",fill:"#161616"}),r.default.createElement("path",{d:"M256.683 108.955L251.485 105.202L259.802 97.5905L253.46 92.5859L261.777 86.2258L256.267 82.0553L265 39.5158L251.901 0L167.587 31.5918H97.4127L13.0993 0L0 39.5158L8.8368 82.0553L3.22283 86.2258L11.5398 92.5859L5.19812 97.5905L13.5151 105.202L8.31699 108.955L20.2727 123.031L2.18321 179.542L18.9211 237.199L77.8678 220.934L113.111 203.731L110.231 227.044L112.903 224.583L152.097 224.479L154.696 226.773L151.889 203.731L187.132 220.934L246.079 237.199L262.921 179.542L244.727 123.031L256.683 108.955Z",fill:"url(#paint13_linear)",fillOpacity:"0.1",style:{mixBlendMode:"color-dodge"}}),r.default.createElement("path",{d:"M256.683 108.955L251.485 105.202L259.802 97.5905L253.46 92.5859L261.777 86.2258L256.267 82.0553L265 39.5158L251.901 0L167.587 31.5918H97.4127L13.0993 0L0 39.5158L8.8368 82.0553L3.22283 86.2258L11.5398 92.5859L5.19812 97.5905L13.5151 105.202L8.31699 108.955L20.2727 123.031L2.18321 179.542L18.9211 237.199L77.8678 220.934L113.111 203.731L117.997 200.186H125.275H139.829H147.107L151.889 203.731L187.132 220.934L246.079 237.199L262.921 179.542L244.727 123.031L256.683 108.955Z",fill:"url(#paint14_radial)",style:{mixBlendMode:"overlay"}})),r.default.createElement("path",{d:"M1166.17 120.732C1159.42 116.127 1151.72 112.742 1144.35 108.759C1139.75 106.295 1134.84 103.855 1130.83 100.47C1124.08 94.944 1125.3 83.5933 1132.67 78.6647C1143.11 71.9189 1160.02 75.603 1161.86 89.7167C1161.86 90.0154 1162.16 90.339 1162.48 90.339H1178.15C1178.44 90.339 1178.77 90.0403 1178.77 89.7167C1177.85 79.8844 1174.16 71.9189 1167.41 66.6916C1160.94 61.763 1153.27 59 1145.27 59C1104.11 59 1100.42 102.611 1122.54 116.426C1125 117.969 1146.82 129.021 1154.49 133.626C1162.16 138.53 1164.62 147.143 1161.24 153.888C1158.17 160.335 1150.18 164.318 1142.48 164.019C1133.89 163.721 1127.12 158.792 1124.98 151.424C1124.68 150.204 1124.36 147.74 1124.36 146.52C1124.36 146.222 1124.06 145.898 1123.73 145.898H1106.85C1106.55 145.898 1106.23 146.197 1106.23 146.52C1106.23 158.792 1109.29 165.563 1117.58 171.711C1125.25 177.536 1133.87 180 1142.78 180C1165.82 180 1177.8 166.807 1180.26 153.291C1182.13 140.372 1178.14 128.399 1166.17 120.732Z",fill:u}),r.default.createElement("path",{d:"M433.192 61.4634H425.522H417.229C416.931 61.4634 416.607 61.7621 416.607 61.7621L402.786 107.514C402.487 108.136 401.865 108.136 401.566 107.514L388.044 61.7621C388.044 61.4634 387.745 61.4634 387.421 61.4634H379.129H371.758H361.623C361.299 61.4634 361 61.7621 361 62.0608V178.754C361 179.053 361.299 179.377 361.623 179.377H378.506C378.805 179.377 379.129 179.078 379.129 178.754V90.0145C379.129 89.3922 380.05 89.0935 380.349 89.7158L394.469 135.766L395.39 138.828C395.39 139.126 395.689 139.126 396.013 139.126H408.912C409.211 139.126 409.535 138.828 409.535 138.828L410.456 135.766L424.576 89.7158C424.576 89.0935 425.497 89.4171 425.497 90.0145V178.754C425.497 179.053 425.796 179.377 426.12 179.377H443.003C443.302 179.377 443.626 179.078 443.626 178.754V62.0608C443.626 61.7621 443.327 61.4385 443.003 61.4385L433.192 61.4634Z",fill:u}),r.default.createElement("path",{d:"M907.506 61.4634C907.207 61.4634 906.883 61.7621 906.883 61.7621L893.063 107.514C892.764 108.136 892.141 108.136 891.842 107.514L878.022 61.7621C878.022 61.4634 877.723 61.4634 877.399 61.4634H851.6C851.301 61.4634 850.978 61.7621 850.978 62.0857V178.779C850.978 179.078 851.276 179.402 851.6 179.402H868.484C868.783 179.402 869.106 179.103 869.106 178.779V90.0145C869.106 89.3922 870.028 89.0935 870.327 89.7158L884.446 135.766L885.368 138.828C885.368 139.126 885.667 139.126 885.99 139.126H898.89C899.189 139.126 899.512 138.828 899.512 138.828L900.434 135.766L914.553 89.7158C914.852 89.0935 915.773 89.0935 915.773 90.0145V178.754C915.773 179.053 916.072 179.377 916.396 179.377H933.28C933.579 179.377 933.902 179.078 933.902 178.754V62.0608C933.902 61.7621 933.604 61.4385 933.28 61.4385L907.506 61.4634Z",fill:u}),r.default.createElement("path",{d:"M690.01 61.4648H658.359H641.475H610.148C609.849 61.4648 609.525 61.7635 609.525 62.0871V76.5245C609.525 76.8232 609.824 77.1468 610.148 77.1468H640.877V178.482C640.877 178.781 641.176 179.104 641.5 179.104H658.384C658.683 179.104 659.006 178.806 659.006 178.482V77.1219H689.711C690.01 77.1219 690.333 76.8232 690.333 76.4996V62.0623C690.632 61.7635 690.309 61.4648 690.01 61.4648Z",fill:u}),r.default.createElement("path",{d:"M789.545 179.377H804.91C805.208 179.377 805.532 179.078 805.532 178.456L773.582 61.4637C773.582 61.165 773.284 61.165 772.96 61.165H767.133H756.699H751.17C750.872 61.165 750.548 61.4637 750.548 61.4637L718.897 178.456C718.897 178.755 719.196 179.377 719.52 179.377H734.884C735.183 179.377 735.507 179.078 735.507 179.078L744.721 145.001C744.721 144.703 745.02 144.703 745.343 144.703H779.435C779.733 144.703 780.057 145.001 780.057 145.001L789.271 179.078C788.922 179.054 789.246 179.377 789.545 179.377ZM749.004 127.776L761.281 82.3232C761.58 81.7009 762.202 81.7009 762.501 82.3232L774.778 127.776C774.778 128.075 774.479 128.697 774.155 128.697H749.577C749.303 128.398 749.004 128.1 749.004 127.776Z",fill:u}),r.default.createElement("path",{d:"M1051.59 179.377H1066.96C1067.26 179.377 1067.58 179.078 1067.58 178.456L1035.63 61.4637C1035.63 61.165 1035.33 61.165 1035.01 61.165H1029.18H1018.75H1012.92C1012.62 61.165 1012.3 61.4637 1012.3 61.4637L980.646 178.456C980.646 178.755 980.944 179.377 981.268 179.377H996.633C996.932 179.377 997.255 179.078 997.255 179.078L1006.47 145.001C1006.47 144.703 1006.77 144.703 1007.09 144.703H1041.18C1041.48 144.703 1041.81 145.001 1041.81 145.001L1051.02 179.078C1050.97 179.054 1051.27 179.377 1051.59 179.377ZM1011.03 127.776L1023.3 82.3232C1023.6 81.7009 1024.22 81.7009 1024.52 82.3232L1036.8 127.776C1036.8 128.075 1036.5 128.697 1036.18 128.697H1011.6C1011.35 128.398 1011.03 128.1 1011.03 127.776Z",fill:u}),r.default.createElement("path",{d:"M512.132 162.176V125.934C512.132 125.635 512.431 125.311 512.755 125.311H557.604C557.903 125.311 558.227 125.013 558.227 124.689V110.252C558.227 109.953 557.928 109.629 557.604 109.629H512.755C512.456 109.629 512.132 109.331 512.132 109.007V77.7427C512.132 77.444 512.431 77.1204 512.755 77.1204H563.755C564.054 77.1204 564.377 76.8217 564.377 76.4981V62.0608C564.377 61.7621 564.079 61.4385 563.755 61.4385H512.132H494.626C494.327 61.4385 494.003 61.7372 494.003 62.0608V77.0955V109.331V124.988V162.45V178.406C494.003 178.705 494.302 179.028 494.626 179.028H512.132H566.195C566.494 179.028 566.818 178.73 566.818 178.406V163.048C566.818 162.749 566.519 162.425 566.195 162.425H512.755C512.456 162.799 512.132 162.475 512.132 162.176Z",fill:u}),r.default.createElement("path",{d:"M1320.39 178.132L1262.02 117.645C1261.72 117.346 1261.72 117.022 1262.02 116.724L1314.54 62.3844C1314.83 62.0857 1314.54 61.4634 1314.24 61.4634H1292.72C1292.42 61.4634 1292.42 61.4634 1292.42 61.7621L1247.87 108.136C1247.57 108.435 1246.95 108.136 1246.95 107.837V62.0608C1246.95 61.7621 1246.65 61.4385 1246.33 61.4385H1229.44C1229.15 61.4385 1228.82 61.7372 1228.82 62.0608V178.754C1228.82 179.053 1229.12 179.377 1229.44 179.377H1246.33C1246.63 179.377 1246.95 179.078 1246.95 178.754V127.178C1246.95 126.556 1247.57 126.257 1247.87 126.88L1298.25 179.078L1298.55 179.377H1320.06C1320.69 179.377 1320.99 178.754 1320.39 178.132Z",fill:u}),r.default.createElement("rect",{x:"1338",y:"27",width:"194",height:"84",rx:"12",fill:d}),r.default.createElement("path",{d:"M1358 50.6376H1380.89V58.7139H1366.33V65.515H1377.7V73.5913H1366.33V88.3624H1358V50.6376Z",fill:f}),r.default.createElement("path",{d:"M1386.55 50.6376H1394.87V80.2861H1410.28V88.3624H1386.55V50.6376Z",fill:f}),r.default.createElement("path",{d:"M1427.39 50.6376H1434.94L1450.86 88.3624H1442.17L1438.87 80.3924H1423.46L1420.16 88.3624H1411.47L1427.39 50.6376ZM1426.45 73.0599H1435.83L1431.16 61.7425L1426.45 73.0599Z",fill:f}),r.default.createElement("path",{d:"M1464.82 89C1461.85 89 1459.18 88.4155 1456.81 87.2466C1454.43 86.0422 1452.51 84.3774 1451.04 82.252L1457.43 76.7793C1458.34 78.1253 1459.51 79.188 1460.94 79.9673C1462.38 80.7112 1463.77 81.0831 1465.13 81.0831C1466.53 81.0831 1467.63 80.7997 1468.43 80.233C1469.24 79.6308 1469.64 78.8692 1469.64 77.9482C1469.64 76.9918 1469.24 76.1594 1468.43 75.451C1467.67 74.7425 1466.34 74.0695 1464.45 73.4319L1461.83 72.5286C1458.8 71.5014 1456.47 70.0845 1454.87 68.2779C1453.26 66.436 1452.46 64.2221 1452.46 61.6362C1452.46 59.7943 1452.77 58.1649 1453.4 56.748C1454.06 55.2956 1454.95 54.0736 1456.07 53.0817C1457.22 52.0899 1458.59 51.3283 1460.16 50.797C1461.73 50.2657 1463.44 50 1465.29 50C1467.56 50 1469.69 50.3896 1471.68 51.1689C1473.67 51.9482 1475.54 53.2943 1477.29 55.2071L1471.84 61.0518C1470.97 59.9891 1469.97 59.2098 1468.85 58.7139C1467.74 58.1826 1466.58 57.9169 1465.4 57.9169C1464.84 57.9169 1464.28 57.97 1463.72 58.0763C1463.2 58.1826 1462.73 58.3597 1462.31 58.6076C1461.89 58.8556 1461.54 59.1567 1461.26 59.5109C1461.01 59.8651 1460.89 60.2902 1460.89 60.7861C1460.89 61.8134 1461.35 62.6281 1462.25 63.2302C1463.2 63.797 1464.66 64.4346 1466.65 65.1431L1469.27 66.0995C1471.96 67.0913 1474.11 68.5082 1475.72 70.3501C1477.36 72.1921 1478.16 74.53 1478.13 77.3638C1478.13 79.064 1477.79 80.6403 1477.13 82.0926C1476.47 83.5095 1475.54 84.7316 1474.35 85.7589C1473.2 86.7861 1471.81 87.5831 1470.16 88.1499C1468.56 88.7166 1466.78 89 1464.82 89Z",fill:f}),r.default.createElement("path",{d:"M1492.17 71.4659V88.3624H1483.9V50.6376H1492.17V66.4183L1504.8 50.6376H1515.01L1500.35 68.7561L1518 88.3624H1507.31L1492.17 71.4659Z",fill:f}),r.default.createElement("defs",null,r.default.createElement("linearGradient",{id:"paint0_linear",x1:"132.5",y1:"31.5908",x2:"132.5",y2:"200.289",gradientUnits:"userSpaceOnUse"},r.default.createElement("stop",{stopColor:"#8F8F8F"}),r.default.createElement("stop",{offset:"1",stopColor:"#AEAEAE"})),r.default.createElement("linearGradient",{id:"paint1_linear",x1:"222.583",y1:"107.077",x2:"222.583",y2:"179.957",gradientUnits:"userSpaceOnUse"},r.default.createElement("stop",{stopColor:"#696969"}),r.default.createElement("stop",{offset:"1",stopColor:"#A6A6A6"})),r.default.createElement("linearGradient",{id:"paint2_linear",x1:"42.4685",y1:"107.077",x2:"42.4685",y2:"179.957",gradientUnits:"userSpaceOnUse"},r.default.createElement("stop",{stopColor:"#696969"}),r.default.createElement("stop",{offset:"1",stopColor:"#A6A6A6"})),r.default.createElement("linearGradient",{id:"paint3_linear",x1:"184.533",y1:"102.178",x2:"279.867",y2:"27.8973",gradientUnits:"userSpaceOnUse"},r.default.createElement("stop",{stopColor:"#1B1B1B"}),r.default.createElement("stop",{offset:"1",stopColor:"#565656"})),r.default.createElement("linearGradient",{id:"paint4_linear",x1:"80.4668",y1:"102.178",x2:"-14.8672",y2:"27.8973",gradientUnits:"userSpaceOnUse"},r.default.createElement("stop",{stopColor:"#1B1B1B"}),r.default.createElement("stop",{offset:"1",stopColor:"#565656"})),r.default.createElement("linearGradient",{id:"paint5_linear",x1:"225.027",y1:"179.542",x2:"225.027",y2:"237.2",gradientUnits:"userSpaceOnUse"},r.default.createElement("stop",{stopColor:"#787878"}),r.default.createElement("stop",{offset:"1",stopColor:"#5E5E5E"})),r.default.createElement("linearGradient",{id:"paint6_linear",x1:"40.0254",y1:"179.542",x2:"40.0254",y2:"237.2",gradientUnits:"userSpaceOnUse"},r.default.createElement("stop",{stopColor:"#787878"}),r.default.createElement("stop",{offset:"1",stopColor:"#5E5E5E"})),r.default.createElement("linearGradient",{id:"paint7_linear",x1:"87.4322",y1:"74.4443",x2:"87.4322",y2:"134.604",gradientUnits:"userSpaceOnUse"},r.default.createElement("stop",{stopColor:"#7A7A7A"}),r.default.createElement("stop",{offset:"1",stopColor:"#949494"})),r.default.createElement("linearGradient",{id:"paint8_linear",x1:"177.568",y1:"74.4443",x2:"177.568",y2:"134.604",gradientUnits:"userSpaceOnUse"},r.default.createElement("stop",{stopColor:"#7A7A7A"}),r.default.createElement("stop",{offset:"1",stopColor:"#949494"})),r.default.createElement("linearGradient",{id:"paint9_linear",x1:"95.4893",y1:"245.645",x2:"95.4893",y2:"-25.2885",gradientUnits:"userSpaceOnUse"},r.default.createElement("stop",{stopColor:"#7A7C7D"}),r.default.createElement("stop",{offset:"1",stopColor:"#CECECF"})),r.default.createElement("linearGradient",{id:"paint10_linear",x1:"169.51",y1:"245.645",x2:"169.51",y2:"-25.2885",gradientUnits:"userSpaceOnUse"},r.default.createElement("stop",{stopColor:"#7A7C7D"}),r.default.createElement("stop",{offset:"1",stopColor:"#CECECF"})),r.default.createElement("linearGradient",{id:"paint11_linear",x1:"198.464",y1:"126.784",x2:"198.464",y2:"234.065",gradientUnits:"userSpaceOnUse"},r.default.createElement("stop",{stopColor:"#3E3E3E"}),r.default.createElement("stop",{offset:"1",stopColor:"#616161"})),r.default.createElement("linearGradient",{id:"paint12_linear",x1:"66.5358",y1:"126.784",x2:"66.5358",y2:"234.065",gradientUnits:"userSpaceOnUse"},r.default.createElement("stop",{stopColor:"#3E3E3E"}),r.default.createElement("stop",{offset:"1",stopColor:"#616161"})),r.default.createElement("linearGradient",{id:"paint13_linear",x1:"132.032",y1:"31.279",x2:"132.032",y2:"258.573",gradientUnits:"userSpaceOnUse"},r.default.createElement("stop",{stopColor:"#FF60DC"}),r.default.createElement("stop",{offset:"1",stopColor:"#6B71FF"})),r.default.createElement("radialGradient",{id:"paint14_radial",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(132.032 26.5872) rotate(90) scale(218.953 244.615)"},r.default.createElement("stop",{stopColor:"#FF60DC"}),r.default.createElement("stop",{offset:"1",stopColor:"#6B71FF"})),r.default.createElement("clipPath",{id:"clip0"},r.default.createElement("rect",{width:"265",height:"247",fill:"white"}))))}p.propTypes={theme:o.default.oneOf([i.ThemeType.light,i.ThemeType.dark,i.ThemeType.os]),className:o.default.string}}}},{package:"$root$",file:"ui/components/ui/metafox-logo/horizontal-logo.js"}],[5268,{"./metafox-logo.component":5269},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./metafox-logo.component"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/ui/metafox-logo/index.js"}],[5269,{"../../../helpers/constants/design-system":5355,"../../component-library":4955,"./horizontal-logo":5267,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=u(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=c(e("prop-types")),o=c(e("classnames")),i=e("../../component-library"),s=e("../../../helpers/constants/design-system"),l=c(e("./horizontal-logo"));function c(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(u=function(e){return e?n:t})(e)}function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;ta.default.createElement(l.default,{className:(0,o.default)({"app-header__metafox-logo--horizontal":!n,"onboarding-app-header__metafox-logo--horizontal":n})}),f="./images/logo/metamask-fox.svg";return r&&(u=()=>a.default.createElement("img",d({},c,{src:r,className:(0,o.default)({"app-header__metafox-logo--horizontal":!n,"onboarding-app-header__metafox-logo--horizontal":n}),alt:""})),f=r),a.default.createElement(i.Box,{as:"button",onClick:e,className:(0,o.default)({"app-header__logo-container":!n,"onboarding-app-header__logo-container":n,"app-header__logo-container--clickable":Boolean(e)}),backgroundColor:s.BackgroundColor.transparent,"data-testid":"app-header-logo"},u(),a.default.createElement("img",d({},c,{src:f,className:(0,o.default)({"app-header__metafox-logo--icon":!n,"onboarding-app-header__metafox-logo--icon":n}),alt:""})))}}n.default=p,f(p,"propTypes",{onClick:r.default.func,unsetIconHeight:r.default.bool,isOnboarding:r.default.bool,src:r.default.string}),f(p,"defaultProps",{onClick:undefined})}}},{package:"$root$",file:"ui/components/ui/metafox-logo/metafox-logo.component.js"}],[5270,{"../../../../shared/constants/tokens":4519,"../../../../shared/lib/fetch-with-cache":4525,"../../../contexts/i18n":5324,"../../../ducks/metamask/metamask":5346,"../../../helpers/constants/design-system":5355,"../../../helpers/constants/zendesk-url":5368,"../../../helpers/utils/portfolio":5394,"../../../selectors":5987,"../../../store/actions":5998,"../../component-library":4955,"../popover":5281,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(){var e;const t=(0,a.useContext)(s.I18nContext),[n,g]=(0,a.useState)(!1),[y,b]=(0,a.useState)(!0),[v,_]=(0,a.useState)(!0),C=(0,r.useSelector)(u.getUseTokenDetection),T=(0,r.useSelector)(u.getUseExternalServices),w=(0,r.useSelector)(l.getProviderConfig),E=(0,r.useSelector)(u.getCurrentNetwork),k=(0,r.useSelector)(u.getMetaMetricsId),O=(0,r.useSelector)(u.getIsBridgeChain),M=()=>{b(!1),(0,d.setFirstTimeUsedNetwork)(w.chainId)},x=(0,a.useCallback)((async()=>{_(!0);const e=await(0,i.default)({url:`${o.TOKEN_API_METASWAP_CODEFI_URL}${w.chainId}?occurrenceFloor=100&includeNativeAssets=false`,functionName:"getIsTokenDetectionSupported"}),t=!(null!=e&&e.error);g(t),_(!1)}),[w.chainId]);return(0,a.useEffect)((()=>{T&&x()}),[]),!v&&y&&a.default.createElement(p.default,{title:t("switchedTo"),centerTitle:!0,onClose:M,className:"new-network-info__wrapper",headerProps:{marginLeft:6},footer:a.default.createElement(a.default.Fragment,null,a.default.createElement(f.Button,{variant:"secondary",href:h.default.USER_GUIDE_CUSTOM_NETWORKS,externalLink:!0,rel:"noreferrer",size:f.ButtonPrimarySize.Md,className:"footer__button"},a.default.createElement(f.Text,{variant:c.TextVariant.bodySm,as:"h6",color:c.Color.inherit},t("learnToBridge"))),a.default.createElement(f.Button,{variant:"primary",onClick:M,size:f.ButtonPrimarySize.Md,className:"footer__button"},a.default.createElement(f.Text,{variant:c.TextVariant.bodySm,as:"h6",color:c.Color.inherit},t("recoveryPhraseReminderConfirm"))))},a.default.createElement(f.Box,{"data-testid":"new-network-info__wrapper",display:c.Display.Flex,flexDirection:c.FlexDirection.Column},a.default.createElement(f.PickerNetwork,{label:null==E?void 0:E.nickname,src:null==E||null===(e=E.rpcPrefs)||void 0===e?void 0:e.imageUrl,marginLeft:"auto",marginRight:"auto",marginBottom:4,iconProps:{display:"none"},avatarNetworkProps:{size:f.AvatarNetworkSize.Sm},as:"div",backgroundColor:c.BackgroundColor.transparent,borderWidth:1,borderColor:c.BorderColor.borderMuted}),a.default.createElement(f.Text,{variant:c.TextVariant.bodySm,as:"h6",color:c.Color.textDefault,align:c.TextAlign.Start,marginLeft:4,marginTop:2},t("thingsToKeep")),a.default.createElement(f.Box,{marginRight:4,marginLeft:4,marginTop:5},w.ticker&&a.default.createElement(f.Box,{display:c.Display.Flex,alignItems:c.AlignItems.flexStart,marginBottom:2,paddingBottom:2,"data-testid":"new-network-info__bullet-paragraph",gap:3},a.default.createElement(f.Box,{className:"new-network-info__bullet-icon-container"},a.default.createElement(f.Icon,{name:f.IconName.Gas,size:f.IconSize.Sm})),a.default.createElement(f.Box,{flexDirection:c.FlexDirection.Column},a.default.createElement(f.Text,{variant:c.TextVariant.bodySmBold,as:"h6",color:c.TextColor.textDefault},t("gasIsETH",[w.ticker])),a.default.createElement(f.Text,{variant:c.TextVariant.bodySm,as:"h6",color:c.TextColor.textDefault,display:c.Display.InlineBlock,key:"nativeTokenInfo"},t("nativeToken",[w.ticker])))),a.default.createElement(f.Box,{display:c.Display.Flex,alignItems:c.AlignItems.flexStart,marginBottom:2,paddingBottom:2,gap:3},a.default.createElement(f.Box,{className:"new-network-info__bullet-icon-container"},a.default.createElement(f.Icon,{name:f.IconName.Bridge,size:f.IconSize.Sm})),a.default.createElement(f.Box,{flexDirection:c.FlexDirection.Column},a.default.createElement(f.Text,{variant:c.TextVariant.bodySmBold,as:"h6",color:c.TextColor.textDefault},t("bridgeDontSend")),a.default.createElement(f.Text,{variant:c.TextVariant.bodySm,as:"h6",color:c.TextColor.textDefault,display:c.Display.InlineBlock},O?t("attemptSendingAssetsWithPortfolio",[a.default.createElement("a",{href:`${(0,m.getPortfolioUrl)("bridge","ext_bridge_new_network_info_link",k)}&destChain=${null==E?void 0:E.chainId}`,target:"_blank",rel:"noreferrer",key:"bridge-link"},a.default.createElement(f.Text,{variant:c.TextVariant.bodySm,as:"h6",color:c.TextColor.infoDefault,className:"new-network-info__button"},t("metamaskPortfolio")))]):t("attemptSendingAssets")))),C&&n?null:a.default.createElement(f.Box,{display:c.Display.Flex,alignItems:c.AlignItems.flexStart,marginBottom:2,paddingBottom:2,"data-testid":"new-network-info__add-token-manually",gap:3},a.default.createElement(f.Box,{className:"new-network-info__bullet-icon-container"},a.default.createElement(f.Icon,{name:f.IconName.Coin,size:f.IconSize.Sm})),a.default.createElement(f.Box,{flexDirection:c.FlexDirection.Column},a.default.createElement(f.Text,{variant:c.TextVariant.bodySmBold,as:"h6",color:c.TextColor.textDefault},t("addingTokens")),a.default.createElement(f.Text,{variant:c.TextVariant.bodySm,as:"h6",color:c.Color.textDefault,display:c.Display.InlineBlock},t("tokenShowUp"),t("clickToManuallyAdd")))))))};var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=y(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=e("react-redux"),o=e("../../../../shared/constants/tokens"),i=g(e("../../../../shared/lib/fetch-with-cache")),s=e("../../../contexts/i18n"),l=e("../../../ducks/metamask/metamask"),c=e("../../../helpers/constants/design-system"),u=e("../../../selectors"),d=e("../../../store/actions"),f=e("../../component-library"),p=g(e("../popover")),m=e("../../../helpers/utils/portfolio"),h=g(e("../../../helpers/constants/zendesk-url"));function g(e){return e&&e.__esModule?e:{default:e}}function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(y=function(e){return e?n:t})(e)}}}},{package:"$root$",file:"ui/components/ui/new-network-info/new-network-info.js"}],[5271,{"../../../helpers/constants/design-system":5355,"../../../hooks/useNftsCollections":5432,"../../../selectors":5987,"../box":5194,"../identicon":5247,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=f;var a=d(e("react")),r=d(e("prop-types")),o=e("react-redux"),i=d(e("../box")),s=e("../../../helpers/constants/design-system"),l=d(e("../identicon")),c=e("../../../selectors"),u=e("../../../hooks/useNftsCollections");function d(e){return e&&e.__esModule?e:{default:e}}function f({assetName:e,tokenAddress:t}){var n;const{collections:r}=(0,u.useNftsCollections)(),d=null===(n=(0,o.useSelector)(c.getTokenList)[t.toLowerCase()])||void 0===n?void 0:n.iconUrl;return a.default.createElement(i.default,null,(()=>{var t;const n=Object.values(r).find((({collectionName:t})=>t===e));return null!=n&&n.collectionImage||d?a.default.createElement(l.default,{diameter:24,image:(null==n?void 0:n.collectionImage)||d}):a.default.createElement(i.default,{color:s.Color.overlayInverse,textAlign:s.TextAlign.Center,className:"collection-image-alt"},(null==e||null===(t=e[0])||void 0===t?void 0:t.toUpperCase())??null)})())}f.propTypes={assetName:r.default.string,tokenAddress:r.default.string}}}},{package:"$root$",file:"ui/components/ui/nft-collection-image/nft-collection-image.js"}],[5272,{"./nickname-popover.component":5273},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./nickname-popover.component"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/ui/nickname-popover/index.js"}],[5273,{"../../../contexts/i18n":5324,"../../../helpers/constants/routes":5361,"../../../helpers/utils/util":5399,"../../../hooks/useCopyToClipboard":5417,"../../../selectors":5987,"../../component-library":4955,"../button":5198,"../identicon":5247,"../popover":5281,"../tooltip":5310,"prop-types":3997,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=b(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=e("react-redux"),o=y(e("prop-types")),i=e("react-router-dom"),s=e("../../../contexts/i18n"),l=y(e("../tooltip")),c=y(e("../popover")),u=y(e("../button")),d=y(e("../identicon")),f=e("../../../helpers/utils/util"),p=e("../../../hooks/useCopyToClipboard"),m=e("../../../selectors"),h=e("../../../helpers/constants/routes"),g=e("../../component-library");function y(e){return e&&e.__esModule?e:{default:e}}function b(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(b=function(e){return e?n:t})(e)}const v=({address:e,nickname:t,onClose:n=null,onAdd:o=null,explorerLink:y})=>{var b;const v=(0,a.useContext)(s.I18nContext),_=(0,i.useHistory)(),C=(0,a.useCallback)((()=>{o()}),[o]),[T,w]=(0,p.useCopyToClipboard)(),E=(0,r.useSelector)(m.getTokenList),k=(0,r.useSelector)(m.getBlockExplorerLinkText);return a.default.createElement("div",{className:"nickname-popover"},a.default.createElement(c.default,{onClose:n,className:"nickname-popover__popover-wrap"},a.default.createElement(d.default,{address:e,diameter:36,className:"nickname-popover__identicon",image:null===(b=E[e.toLowerCase()])||void 0===b?void 0:b.iconUrl}),a.default.createElement("div",{className:"nickname-popover__address"},t||(0,f.shortenAddress)(e)),a.default.createElement("div",{className:"nickname-popover__public-address"},a.default.createElement("div",{className:"nickname-popover__public-address__constant"},e),a.default.createElement(l.default,{position:"bottom",title:v(T?"copiedExclamation":"copyToClipboard")},a.default.createElement(g.ButtonIcon,{iconName:T?g.IconName.CopySuccess:g.IconName.Copy,size:g.IconSize.Sm,onClick:()=>w(e)}))),a.default.createElement("div",{className:"nickname-popover__view-on-block-explorer"},a.default.createElement(u.default,{type:"link",className:"nickname-popover__etherscan-link",onClick:"addBlockExplorer"===k.firstPart?()=>{_.push(`${h.NETWORKS_ROUTE}#blockExplorerUrl`)}:()=>{global.platform.openTab({url:y})},target:"_blank",rel:"noopener noreferrer",title:"addBlockExplorer"===k.firstPart?v("addBlockExplorer"):v("etherscanView")},"addBlockExplorer"===k.firstPart?v("addBlockExplorer"):v("viewOnBlockExplorer"))),a.default.createElement(u.default,{type:"primary",className:"nickname-popover__footer-button",onClick:C},v(t?"editANickname":"addANickname"))))};v.propTypes={address:o.default.string,nickname:o.default.string,onClose:o.default.func,onAdd:o.default.func,explorerLink:o.default.string};n.default=v}}},{package:"$root$",file:"ui/components/ui/nickname-popover/nickname-popover.component.js"}],[5274,{"../../../../shared/constants/tokens":4519,"../../../helpers/constants/design-system":5355,"../../component-library":4955,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=u;var a=c(e("react")),r=c(e("classnames")),o=c(e("prop-types")),i=e("../../../helpers/constants/design-system"),s=e("../../../../shared/constants/tokens"),l=e("../../component-library");function c(e){return e&&e.__esModule?e:{default:e}}function u({detailText:e="",value:t=0,onChange:n,error:o="",autoFocus:c=!1,allowDecimals:u=!0,disabled:d=!1,dataTestId:f,placeholder:p,id:m,name:h,inputRef:g}){return a.default.createElement("div",{className:(0,r.default)("numeric-input",{"numeric-input--error":o})},a.default.createElement("input",{type:"number",value:t,onKeyDown:e=>{u||"."!==e.key||e.preventDefault()},onChange:e=>{var t;const a=e.target.value,r=s.DECIMAL_REGEX.exec(a);(null==r||null===(t=r[1])||void 0===t?void 0:t.length)>=15||null==n||n(parseFloat(a||0,10))},min:"0",autoFocus:c,disabled:d,"data-testid":f,placeholder:p,id:m,name:h,ref:g}),e&&a.default.createElement(l.Text,{color:i.TextColor.textAlternative,variant:i.TextVariant.bodySm,as:"span"},e))}u.propTypes={value:o.default.oneOfType([o.default.number,o.default.string]),detailText:o.default.string,onChange:o.default.func,error:o.default.string,autoFocus:o.default.bool,allowDecimals:o.default.bool,disabled:o.default.bool,dataTestId:o.default.string,placeholder:o.default.string,name:o.default.string,id:o.default.string,inputRef:o.default.object}}}},{package:"$root$",file:"ui/components/ui/numeric-input/numeric-input.component.js"}],[5275,{"./page-container-footer":5276,"./page-container-header":5278,"./page-container.component":5280},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"PageContainerFooter",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(n,"PageContainerHeader",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return o.default}});var a=i(e("./page-container-header")),r=i(e("./page-container-footer")),o=i(e("./page-container.component"));function i(e){return e&&e.__esModule?e:{default:e}}}}},{package:"$root$",file:"ui/components/ui/page-container/index.js"}],[5276,{"./page-container-footer.component":5277},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./page-container-footer.component"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/ui/page-container/page-container-footer/index.js"}],[5277,{"../../button":5198,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=l(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=s(e("prop-types")),o=s(e("classnames")),i=s(e("../../button"));function s(e){return e&&e.__esModule?e:{default:e}}function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(l=function(e){return e?n:t})(e)}function c(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class u extends a.Component{render(){const{children:e,onCancel:t,cancelText:n,onSubmit:r,submitText:s,disabled:l,submitButtonType:c,hideCancel:u,cancelButtonType:d,buttonSizeLarge:f=!1,footerClassName:p,footerButtonClassName:m}=this.props;return a.default.createElement("div",{className:(0,o.default)("page-container__footer",p)},a.default.createElement("footer",null,!u&&a.default.createElement(i.default,{type:d||"secondary",large:f,className:(0,o.default)("page-container__footer-button","page-container__footer-button__cancel",m),onClick:e=>t(e),"data-testid":"page-container-footer-cancel"},n||this.context.t("cancel")),a.default.createElement(i.default,{type:c||"primary",large:f,className:(0,o.default)("page-container__footer-button",m),disabled:l,onClick:e=>r(e),"data-testid":"page-container-footer-next"},s||this.context.t("next"))),e&&a.default.createElement("div",{className:"page-container__footer-secondary"},e))}}n.default=u,c(u,"propTypes",{children:r.default.node,onCancel:r.default.func,cancelText:r.default.string,cancelButtonType:r.default.string,onSubmit:r.default.func,submitText:r.default.string,disabled:r.default.bool,submitButtonType:r.default.string,hideCancel:r.default.bool,buttonSizeLarge:r.default.bool,footerClassName:r.default.string,footerButtonClassName:r.default.string}),c(u,"contextTypes",{t:r.default.func})}}},{package:"$root$",file:"ui/components/ui/page-container/page-container-footer/page-container-footer.component.js"}],[5278,{"./page-container-header.component":5279},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./page-container-header.component"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/ui/page-container/page-container-header/index.js"}],[5279,{"../../button":5198,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r,o,i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=d(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),s=u(e("prop-types")),l=u(e("classnames")),c=u(e("../../button"));function u(e){return e&&e.__esModule?e:{default:e}}function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(d=function(e){return e?n:t})(e)}class f extends i.Component{renderTabs(){const{tabs:e}=this.props;return e?i.default.createElement("ul",{className:"page-container__tabs"},e):null}renderCloseAction(){const{hideClose:e,onClose:t,headerCloseText:n}=this.props;return e?null:n?t&&i.default.createElement(c.default,{type:"link",className:"page-container__header-close-text",onClick:()=>t()},n):t&&i.default.createElement("button",{className:"page-container__header-close",onClick:()=>t(),"aria-label":"close"})}renderHeaderRow(){const{showBackButton:e,onBackButtonClick:t,backButtonStyles:n,backButtonString:a}=this.props;return e&&i.default.createElement("div",{className:"page-container__header-row"},i.default.createElement("span",{className:"page-container__back-button",onClick:t,style:n},a||"Back"))}render(){const{title:e,subtitle:t,tabs:n,className:a,hideClose:r}=this.props;return i.default.createElement("div",{className:(0,l.default)("page-container__header",a,{"page-container__header--no-padding-bottom":Boolean(n)}),"data-testid":"page-container__header"},this.renderHeaderRow(),e&&i.default.createElement("div",{className:(0,l.default)("page-container__title",{"page-container__title--no-margin-right":r})},e),t?i.default.createElement("div",{className:"page-container__subtitle"},t):null,this.renderCloseAction(),this.renderTabs())}}n.default=f,a=f,r="propTypes",o={title:s.default.string,subtitle:s.default.string,onClose:s.default.func,showBackButton:s.default.bool,onBackButtonClick:s.default.func,backButtonStyles:s.default.object,backButtonString:s.default.string,tabs:s.default.node,headerCloseText:s.default.string,className:s.default.string,hideClose:s.default.bool},(r=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(r))in a?Object.defineProperty(a,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):a[r]=o}}},{package:"$root$",file:"ui/components/ui/page-container/page-container-header/page-container-header.component.js"}],[5280,{"./page-container-footer":5276,"./page-container-header":5278,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=l(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=s(e("prop-types")),o=s(e("./page-container-header")),i=s(e("./page-container-footer"));function s(e){return e&&e.__esModule?e:{default:e}}function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(l=function(e){return e?n:t})(e)}function c(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class u extends a.PureComponent{constructor(...e){super(...e),c(this,"state",{activeTabIndex:this.props.defaultActiveTabIndex||0})}handleTabClick(e){this.setState({activeTabIndex:e})}renderTabs(){const{tabsComponent:e}=this.props;if(!e)return null;const t=a.default.Children.count(e.props.children);return a.default.Children.map(e.props.children,((e,n)=>e&&a.default.cloneElement(e,{onClick:e=>this.handleTabClick(e),tabIndex:n,isActive:t>1&&n===this.state.activeTabIndex,key:n,className:"page-container__tab"})))}renderActiveTabContent(){const{tabsComponent:e}=this.props;let{children:t}=e.props;t=t.filter(Boolean);const{activeTabIndex:n}=this.state;return(t[n]||t[0]).props.children}renderContent(){const{contentComponent:e,tabsComponent:t}=this.props;return e||(t?this.renderActiveTabContent():null)}render(){const{title:e,subtitle:t,onClose:n,showBackButton:r,onBackButtonClick:s,backButtonStyles:l,backButtonString:c,onCancel:u,cancelText:d,onSubmit:f,submitText:p,disabled:m,headerCloseText:h,hideCancel:g}=this.props;return a.default.createElement("div",{className:"page-container"},a.default.createElement(o.default,{title:e,subtitle:t,onClose:n,showBackButton:r,onBackButtonClick:s,backButtonStyles:l,backButtonString:c,tabs:this.renderTabs(),headerCloseText:h}),a.default.createElement("div",{className:"page-container__bottom"},a.default.createElement("div",{className:"page-container__content"},this.renderContent()),a.default.createElement(i.default,{onCancel:u,cancelText:d,hideCancel:g,onSubmit:f,submitText:p,disabled:m})))}}n.default=u,c(u,"contextTypes",{t:r.default.func}),c(u,"propTypes",{backButtonString:r.default.string,backButtonStyles:r.default.object,headerCloseText:r.default.string,onBackButtonClick:r.default.func,onClose:r.default.func,showBackButton:r.default.bool,subtitle:r.default.string,title:r.default.string.isRequired,defaultActiveTabIndex:r.default.number,tabsComponent:r.default.node,contentComponent:r.default.node,cancelText:r.default.string,disabled:r.default.bool,hideCancel:r.default.bool,onCancel:r.default.func,onSubmit:r.default.func,submitText:r.default.string})}}},{package:"$root$",file:"ui/components/ui/page-container/page-container.component.js"}],[5281,{"./popover.component":5282},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./popover.component"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/ui/popover/index.js"}],[5282,{"../../../helpers/constants/design-system":5355,"../../../hooks/useI18nContext":5427,"../../component-library":4955,"../box":5194,classnames:3049,"prop-types":3997,react:4243,"react-dom":4074},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=d(e("react-dom")),o=d(e("prop-types")),i=d(e("classnames")),s=e("../../../hooks/useI18nContext"),l=d(e("../box")),c=e("../../../helpers/constants/design-system"),u=e("../../component-library");function d(e){return e&&e.__esModule?e:{default:e}}function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}function p(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function m(){return m=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const P=(0,s.useI18nContext)(),j=e||d||t||f,I=()=>a.default.createElement(l.default,m({},h,M,{className:"popover-header"}),a.default.createElement(l.default,{display:c.DISPLAY.FLEX,alignItems:c.AlignItems.center,justifyContent:k?null:c.JustifyContent.spaceBetween,className:(0,i.default)("popover-header__title",{"popover-header__title--center":k}),marginBottom:2},d?a.default.createElement(u.ButtonIcon,{iconName:u.IconName.ArrowLeft,ariaLabel:P("back"),onClick:d,color:c.Color.iconDefault,size:c.Size.SM}):null,a.default.createElement(u.Text,{textAlign:k?c.TextAlign.Center:c.TextAlign.Start,className:O?"popover-header__title-wrap":null,ellipsis:!0,variant:c.TextVariant.headingSm,as:"h2",width:c.BLOCK_SIZES.FULL},e),f?a.default.createElement(u.ButtonIcon,{iconName:u.IconName.Close,ariaLabel:P("close"),"data-testid":"popover-close",onClick:f,size:c.Size.SM}):null),t?a.default.createElement(u.Text,{variant:c.TextVariant.bodySm},t):null);return a.default.createElement("div",{className:"popover-container"},C?a.default.createElement(C,{onClose:f}):a.default.createElement("div",{className:"popover-bg",onClick:f}),a.default.createElement("section",{className:(0,i.default)("popover-wrap",b),ref:T},_?a.default.createElement("div",{className:"popover-arrow"}):null,j&&a.default.createElement(I,null),n?a.default.createElement(l.default,m({className:(0,i.default)("popover-content",v),onScroll:p},g,x),n):null,w?a.default.createElement(l.default,{display:c.DISPLAY.FLEX,alignItems:c.AlignItems.center,justifyContent:c.JustifyContent.center,borderColor:c.BorderColor.borderDefault,backgroundColor:c.BackgroundColor.backgroundDefault,color:c.Color.iconDefault,onClick:E,className:"popover-scroll-button",style:{bottom:r?"140px":"12px"},"data-testid":"popover-scroll-button"},a.default.createElement(u.Icon,{name:u.IconName.ArrowDown,color:c.IconColor.primaryDefault,size:u.IconSize.Md,"aria-label":P("scrollDown")})):null,r?a.default.createElement(l.default,m({className:(0,i.default)("popover-footer",o)},y,N),r):null))};b.propTypes={wrapTitle:o.default.bool,title:o.default.node,subtitle:o.default.string,children:o.default.node,footer:o.default.node,footerClassName:o.default.string,onBack:o.default.func,onClose:o.default.func,onScroll:o.default.func,CustomBackground:o.default.func,contentClassName:o.default.string,className:o.default.string,showArrow:o.default.bool,popoverRef:o.default.shape({current:o.default.instanceOf(window.Element)}),showScrollDown:o.default.bool,onScrollDownButtonClick:o.default.func,centerTitle:o.default.bool,headerProps:o.default.shape({...l.default.propTypes}),contentProps:o.default.shape({...l.default.propTypes}),footerProps:o.default.shape({...l.default.propTypes})};class v extends a.PureComponent{constructor(...e){super(...e),p(this,"rootNode",document.getElementById("popover-content")),p(this,"instanceNode",document.createElement("div"))}componentDidMount(){this.rootNode&&this.rootNode.appendChild(this.instanceNode)}componentWillUnmount(){this.rootNode&&this.rootNode.removeChild(this.instanceNode)}render(){const e=a.default.createElement(b,this.props);return this.rootNode?r.default.createPortal(e,this.instanceNode):e}}n.default=v,p(v,"propTypes",b.propTypes)}}},{package:"$root$",file:"ui/components/ui/popover/popover.component.js"}],[5283,{"./pulse-loader":5284},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./pulse-loader"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/ui/pulse-loader/index.js"}],[5284,{react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(){return r.default.createElement("div",{className:"pulse-loader","data-testid":"pulse-loader"},r.default.createElement("div",{className:"pulse-loader__loading-dot-one"}),r.default.createElement("div",{className:"pulse-loader__loading-dot-two"}),r.default.createElement("div",{className:"pulse-loader__loading-dot-three"}))};var a,r=(a=e("react"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/ui/pulse-loader/pulse-loader.js"}],[5285,{"./qr-code-view":5286},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./qr-code-view"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/ui/qr-code-view/index.js"}],[5286,{"../../../../shared/constants/metametrics":4505,"../../../../shared/modules/hexstring-utils":4544,"../../../contexts/metametrics":5327,"../../multichain":5092,"../box/box":5193,"ethereumjs-util":3288,"prop-types":3997,"qrcode-generator":4056,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=m(e("prop-types")),r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=p(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=m(e("qrcode-generator")),i=e("react-redux"),s=e("ethereumjs-util"),l=e("../../../../shared/modules/hexstring-utils"),c=e("../../multichain"),u=m(e("../box/box")),d=e("../../../contexts/metametrics"),f=e("../../../../shared/constants/metametrics");function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(p=function(e){return e?n:t})(e)}function m(e){return e&&e.__esModule?e:{default:e}}n.default=(0,i.connect)((function(e){const{buyView:t,warning:n}=e.appState;return{buyView:t,warning:n}}))(h);function h({Qr:e,warning:t}){const n=(0,r.useContext)(d.MetaMetricsContext),{message:a,data:i}=e,p=`${(0,s.isHexPrefixed)(i)?"ethereum:":""}${(0,l.toChecksumHexAddress)(i)}`,m=(0,o.default)(4,"M");m.addData(p),m.make();const h=a?r.default.createElement("div",{className:"qr-code__header"},a):null;return r.default.createElement("div",{className:"qr-code"},Array.isArray(a)?r.default.createElement("div",{className:"qr-code__message-container"},a.map(((e,t)=>r.default.createElement("div",{className:"qr_code__message",key:t},e)))):h,t?r.default.createElement("span",{className:"qr-code__error"},t):null,r.default.createElement("div",{className:"qr-code__wrapper",dangerouslySetInnerHTML:{__html:m.createTableTag(5,24)}}),r.default.createElement(u.default,{marginBottom:6},r.default.createElement(c.AddressCopyButton,{wrap:!0,address:i,onClick:()=>{n({category:f.MetaMetricsEventCategory.Accounts,event:f.MetaMetricsEventName.PublicAddressCopied,properties:{location:"Account Details Modal"}})}})))}h.propTypes={warning:a.default.node,Qr:a.default.shape({message:a.default.oneOfType([a.default.arrayOf(a.default.node),a.default.node]),data:a.default.string.isRequired}).isRequired}}}},{package:"$root$",file:"ui/components/ui/qr-code-view/qr-code-view.js"}],[5287,{"./sender-to-recipient.component":5288},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./sender-to-recipient.component"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/ui/sender-to-recipient/index.js"}],[5288,{"../../../../shared/constants/copy":4496,"../../../../shared/modules/hexstring-utils":4544,"../../../helpers/utils/util":5399,"../../../hooks/useI18nContext":5427,"../../../hooks/usePetnamesEnabled":5434,"../../app/modals/nickname-popovers":4692,"../../app/name/name":4711,"../../component-library":4955,"../account-mismatch-warning/account-mismatch-warning.component":5189,"../identicon":5247,"../tooltip":5310,"./sender-to-recipient.constants":5289,"@metamask/name-controller":1529,classnames:3049,"copy-to-clipboard":3087,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.RecipientWithAddress=E,n.default=O;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=C(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=_(e("prop-types")),o=_(e("classnames")),i=_(e("copy-to-clipboard")),s=e("@metamask/name-controller"),l=_(e("../tooltip")),c=_(e("../identicon")),u=e("../../../helpers/utils/util"),d=_(e("../account-mismatch-warning/account-mismatch-warning.component")),f=e("../../../hooks/useI18nContext"),p=e("../../../../shared/modules/hexstring-utils"),m=_(e("../../app/name/name")),h=e("../../../../shared/constants/copy"),g=_(e("../../app/modals/nickname-popovers")),y=e("../../component-library"),b=e("../../../hooks/usePetnamesEnabled"),v=e("./sender-to-recipient.constants");function _(e){return e&&e.__esModule?e:{default:e}}function C(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(C=function(e){return e?n:t})(e)}const T={[v.DEFAULT_VARIANT]:"sender-to-recipient--default",[v.CARDS_VARIANT]:"sender-to-recipient--cards",[v.FLAT_VARIANT]:"sender-to-recipient--flat"};function w({addressOnly:e,checksummedSenderAddress:t,senderName:n,onSenderClick:r,senderAddress:s,warnUserOnAccountMismatch:m}){const g=(0,f.useI18nContext)(),[y,b]=(0,a.useState)(!1);let v=a.default.createElement("p",null,g("copiedExclamation"));return y||(v=e?a.default.createElement("p",null,g("copyAddress")):a.default.createElement("p",null,(0,u.shortenAddress)(t),a.default.createElement("br",null),g("copyAddress"))),a.default.createElement("div",{className:(0,o.default)("sender-to-recipient__party sender-to-recipient__party--sender"),onClick:()=>{b(!0),(0,i.default)(t,h.COPY_OPTIONS),r&&r()}},a.default.createElement("div",{className:"sender-to-recipient__sender-icon"},a.default.createElement(c.default,{address:(0,p.toChecksumHexAddress)(s),diameter:24})),a.default.createElement(l.default,{position:"bottom",html:v,wrapperClassName:"sender-to-recipient__tooltip-wrapper",containerClassName:"sender-to-recipient__tooltip-container",onHidden:()=>b(!1)},a.default.createElement("div",{className:"sender-to-recipient__name"},e?a.default.createElement("span",null,`${n||(0,u.shortenAddress)(t)}`):n)),m&&a.default.createElement(d.default,{address:s}))}function E({checksummedRecipientAddress:e,onRecipientClick:t,addressOnly:n,recipientNickname:r,recipientEns:o,recipientName:d,recipientMetadataName:p,recipientIsOwnedAccount:y}){const v=(0,f.useI18nContext)(),[_,C]=(0,a.useState)(!1),[T,w]=(0,a.useState)(!1),E=(0,b.usePetnamesEnabled)();let k=a.default.createElement("p",null,v("copiedExclamation"));T||(k=n?a.default.createElement("p",null,v("copyAddress")):a.default.createElement("p",null,(0,u.shortenAddress)(e),a.default.createElement("br",null),v("copyAddress")));const O=(d||r||p||o||(0,u.shortenAddress)(e))??(!n&&v("newContract"));return a.default.createElement(a.default.Fragment,null,a.default.createElement("div",{className:"sender-to-recipient__party sender-to-recipient__party--recipient sender-to-recipient__party--recipient-with-address",onClick:()=>{y?(w(!0),(0,i.default)(e,h.COPY_OPTIONS)):(C(!0),t&&t())}},!E&&a.default.createElement("div",{className:"sender-to-recipient__sender-icon"},a.default.createElement(c.default,{address:e,diameter:24})),a.default.createElement(l.default,{position:"bottom",disabled:!d,html:k,wrapperClassName:"sender-to-recipient__tooltip-wrapper",containerClassName:"sender-to-recipient__tooltip-container",onHidden:()=>w(!1)},E?a.default.createElement(m.default,{value:e,type:s.NameType.ETHEREUM_ADDRESS}):a.default.createElement("div",{className:"sender-to-recipient__name","data-testid":"sender-to-recipient__name"},O))),_&&!E?a.default.createElement(g.default,{onClose:()=>C(!1),address:e}):null)}function k({variant:e}){return e===v.DEFAULT_VARIANT?a.default.createElement("div",{className:"sender-to-recipient__arrow-container"},a.default.createElement("div",{className:"sender-to-recipient__arrow-circle"},a.default.createElement("i",{className:"fa fa-arrow-right sender-to-recipient__arrow-circle__icon"}))):a.default.createElement("div",{className:"sender-to-recipient__arrow-container"},a.default.createElement(y.Icon,{name:y.IconName.ArrowRight}))}function O({senderAddress:e,addressOnly:t,senderName:n,recipientNickname:r,recipientName:i,recipientMetadataName:s,recipientEns:l,onRecipientClick:c,onSenderClick:u,recipientAddress:d,variant:m,warnUserOnAccountMismatch:h,recipientIsOwnedAccount:g}){const y=(0,f.useI18nContext)(),b=(0,p.toChecksumHexAddress)(e),v=(0,p.toChecksumHexAddress)(d);return a.default.createElement("div",{className:(0,o.default)("sender-to-recipient",T[m]),"data-testid":"sender-to-recipient"},a.default.createElement(w,{checksummedSenderAddress:b,addressOnly:t,senderName:n,onSenderClick:u,senderAddress:e,warnUserOnAccountMismatch:h}),a.default.createElement(k,{variant:m}),d?a.default.createElement(E,{checksummedRecipientAddress:v,onRecipientClick:c,addressOnly:t,recipientNickname:r,recipientEns:l,recipientName:i,recipientMetadataName:s,recipientIsOwnedAccount:g}):a.default.createElement("div",{className:"sender-to-recipient__party sender-to-recipient__party--recipient"},a.default.createElement("i",{className:"fa fa-file-text-o"}),a.default.createElement("div",{className:"sender-to-recipient__name"},y("newContract"))))}w.propTypes={senderName:r.default.string,checksummedSenderAddress:r.default.string,addressOnly:r.default.bool,senderAddress:r.default.string,onSenderClick:r.default.func,warnUserOnAccountMismatch:r.default.bool},E.propTypes={checksummedRecipientAddress:r.default.string,recipientName:r.default.string,recipientMetadataName:r.default.string,recipientEns:r.default.string,recipientNickname:r.default.string,addressOnly:r.default.bool,onRecipientClick:r.default.func,recipientIsOwnedAccount:r.default.bool},k.propTypes={variant:r.default.oneOf([v.DEFAULT_VARIANT,v.CARDS_VARIANT,v.FLAT_VARIANT])},O.defaultProps={variant:v.DEFAULT_VARIANT,warnUserOnAccountMismatch:!0},O.propTypes={senderName:r.default.string,senderAddress:r.default.string,recipientName:r.default.string,recipientMetadataName:r.default.string,recipientEns:r.default.string,recipientAddress:r.default.string,recipientNickname:r.default.string,variant:r.default.oneOf([v.DEFAULT_VARIANT,v.CARDS_VARIANT,v.FLAT_VARIANT]),addressOnly:r.default.bool,onRecipientClick:r.default.func,onSenderClick:r.default.func,warnUserOnAccountMismatch:r.default.bool,recipientIsOwnedAccount:r.default.bool}}}},{package:"$root$",file:"ui/components/ui/sender-to-recipient/sender-to-recipient.component.js"}],[5289,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.FLAT_VARIANT=n.DEFAULT_VARIANT=n.CARDS_VARIANT=void 0;n.DEFAULT_VARIANT="DEFAULT_VARIANT",n.CARDS_VARIANT="CARDS_VARIANT",n.FLAT_VARIANT="FLAT_VARIANT"}}},{package:"$root$",file:"ui/components/ui/sender-to-recipient/sender-to-recipient.constants.js"}],[5290,{"./show-hide-toggle":5291},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./show-hide-toggle"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/ui/show-hide-toggle/index.js"}],[5291,{"../icon/icon-eye":5235,"../icon/icon-eye-slash":5234,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=l(e("react")),r=l(e("prop-types")),o=l(e("classnames")),i=l(e("../icon/icon-eye")),s=l(e("../icon/icon-eye-slash"));function l(e){return e&&e.__esModule?e:{default:e}}const c=({id:e,shown:t,onChange:n,ariaLabelHidden:r,ariaLabelShown:l,className:c,"data-testid":u,disabled:d,title:f})=>a.default.createElement("div",{className:(0,o.default)("show-hide-toggle",c)},a.default.createElement("input",{className:"show-hide-toggle__input",id:e,type:"checkbox",checked:t,onChange:n,"data-testid":u,disabled:d}),a.default.createElement("label",{htmlFor:e,className:"show-hide-toggle__label",title:f},t?a.default.createElement(i.default,{ariaLabel:l,className:"show-hide-toggle__icon"}):a.default.createElement(s.default,{ariaLabel:r,className:"show-hide-toggle__icon"})));c.propTypes={id:r.default.string.isRequired,shown:r.default.bool.isRequired,onChange:r.default.func.isRequired,ariaLabelHidden:r.default.string.isRequired,ariaLabelShown:r.default.string.isRequired,className:r.default.string,"data-testid":r.default.string,disabled:r.default.bool,title:r.default.string};n.default=c}}},{package:"$root$",file:"ui/components/ui/show-hide-toggle/show-hide-toggle.js"}],[5292,{"./site-origin":5293},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./site-origin"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/ui/site-origin/index.js"}],[5293,{"../../../helpers/constants/design-system":5355,"../chip":5205,"../icon-with-fallback":5232,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=u;var a=c(e("react")),r=c(e("prop-types")),o=c(e("classnames")),i=c(e("../chip")),s=c(e("../icon-with-fallback")),l=e("../../../helpers/constants/design-system");function c(e){return e&&e.__esModule?e:{default:e}}function u({siteOrigin:e,iconSrc:t,iconName:n,chip:r,className:c,title:u,leftIcon:d,rightIcon:f}){return a.default.createElement("div",{className:(0,o.default)("site-origin",c),title:u},r?a.default.createElement(i.default,{borderColor:l.BorderColor.borderMuted,label:e,maxContent:!1,leftIcon:d||a.default.createElement(s.default,{icon:t,name:n,size:24}),rightIcon:f}):a.default.createElement("bdi",{dir:"ltr"},e))}u.propTypes={siteOrigin:r.default.string.isRequired,iconName:r.default.string,iconSrc:r.default.string,className:r.default.string,title:r.default.string,chip:r.default.bool,leftIcon:r.default.node,rightIcon:r.default.node}}}},{package:"$root$",file:"ui/components/ui/site-origin/site-origin.js"}],[5294,{"./spinner.component":5295},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=(a=e("./spinner.component"))&&a.__esModule?a:{default:a};n.default=r.default}}},{package:"$root$",file:"ui/components/ui/spinner/index.js"}],[5295,{"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=o(e("react")),r=o(e("prop-types"));function o(e){return e&&e.__esModule?e:{default:e}}const i=({className:e="",color:t="var(--color-text-default)"})=>a.default.createElement("div",{className:`spinner ${e}`},a.default.createElement("svg",{className:"lds-spinner",width:"100%",height:"100%",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",viewBox:"0 0 100 100",preserveAspectRatio:"xMidYMid",style:{background:"none"}},a.default.createElement("g",{transform:"rotate(0 50 50)"},a.default.createElement("rect",{x:45,y:0,rx:0,ry:0,width:10,height:30,fill:t},a.default.createElement("animate",{attributeName:"opacity",values:"1;0",dur:"1s",begin:"-0.9166666666666666s",repeatCount:"indefinite"}))),a.default.createElement("g",{transform:"rotate(30 50 50)"},a.default.createElement("rect",{x:45,y:0,rx:0,ry:0,width:10,height:30,fill:t},a.default.createElement("animate",{attributeName:"opacity",values:"1;0",dur:"1s",begin:"-0.8333333333333334s",repeatCount:"indefinite"}))),a.default.createElement("g",{transform:"rotate(60 50 50)"},a.default.createElement("rect",{x:45,y:0,rx:0,ry:0,width:10,height:30,fill:t},a.default.createElement("animate",{attributeName:"opacity",values:"1;0",dur:"1s",begin:"-0.75s",repeatCount:"indefinite"}))),a.default.createElement("g",{transform:"rotate(90 50 50)"},a.default.createElement("rect",{x:45,y:0,rx:0,ry:0,width:10,height:30,fill:t},a.default.createElement("animate",{attributeName:"opacity",values:"1;0",dur:"1s",begin:"-0.6666666666666666s",repeatCount:"indefinite"}))),a.default.createElement("g",{transform:"rotate(120 50 50)"},a.default.createElement("rect",{x:45,y:0,rx:0,ry:0,width:10,height:30,fill:t},a.default.createElement("animate",{attributeName:"opacity",values:"1;0",dur:"1s",begin:"-0.5833333333333334s",repeatCount:"indefinite"}))),a.default.createElement("g",{transform:"rotate(150 50 50)"},a.default.createElement("rect",{x:45,y:0,rx:0,ry:0,width:10,height:30,fill:t},a.default.createElement("animate",{attributeName:"opacity",values:"1;0",dur:"1s",begin:"-0.5s",repeatCount:"indefinite"}))),a.default.createElement("g",{transform:"rotate(180 50 50)"},a.default.createElement("rect",{x:45,y:0,rx:0,ry:0,width:10,height:30,fill:t},a.default.createElement("animate",{attributeName:"opacity",values:"1;0",dur:"1s",begin:"-0.4166666666666667s",repeatCount:"indefinite"}))),a.default.createElement("g",{transform:"rotate(210 50 50)"},a.default.createElement("rect",{x:45,y:0,rx:0,ry:0,width:10,height:30,fill:t},a.default.createElement("animate",{attributeName:"opacity",values:"1;0",dur:"1s",begin:"-0.3333333333333333s",repeatCount:"indefinite"}))),a.default.createElement("g",{transform:"rotate(240 50 50)"},a.default.createElement("rect",{x:45,y:0,rx:0,ry:0,width:10,height:30,fill:t},a.default.createElement("animate",{attributeName:"opacity",values:"1;0",dur:"1s",begin:"-0.25s",repeatCount:"indefinite"}))),a.default.createElement("g",{transform:"rotate(270 50 50)"},a.default.createElement("rect",{x:45,y:0,rx:0,ry:0,width:10,height:30,fill:t},a.default.createElement("animate",{attributeName:"opacity",values:"1;0",dur:"1s",begin:"-0.16666666666666666s",repeatCount:"indefinite"}))),a.default.createElement("g",{transform:"rotate(300 50 50)"},a.default.createElement("rect",{x:45,y:0,rx:0,ry:0,width:10,height:30,fill:t},a.default.createElement("animate",{attributeName:"opacity",values:"1;0",dur:"1s",begin:"-0.08333333333333333s",repeatCount:"indefinite"}))),a.default.createElement("g",{transform:"rotate(330 50 50)"},a.default.createElement("rect",{x:45,y:0,rx:0,ry:0,width:10,height:30,fill:t},a.default.createElement("animate",{attributeName:"opacity",values:"1;0",dur:"1s",begin:"0s",repeatCount:"indefinite"})))));i.propTypes={className:r.default.string,color:r.default.string};n.default=i}}},{package:"$root$",file:"ui/components/ui/spinner/spinner.component.js"}],[5296,{"./tab":5299,"./tabs.component":5301},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"Tab",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(n,"Tabs",{enumerable:!0,get:function(){return a.default}});var a=o(e("./tabs.component")),r=o(e("./tab"));function o(e){return e&&e.__esModule?e:{default:e}}}}},{package:"$root$",file:"ui/components/ui/tabs/index.js"}],[5297,{"../../../../../helpers/constants/design-system":5355,"../../../../component-library":4955,"../../../dropdown":5218,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.DropdownTab=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=u(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=c(e("prop-types")),o=c(e("classnames")),i=e("../../../../../helpers/constants/design-system"),s=e("../../../../component-library"),l=c(e("../../../dropdown"));function c(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(u=function(e){return e?n:t})(e)}const d=({activeClassName:e,className:t,"data-testid":n,isActive:r,onClick:c,onChange:u,tabIndex:d,options:f,selectedOption:p})=>{var m;const[h,g]=(0,a.useState)(!1),y=(0,a.useRef)(null),b=(0,a.useCallback)((e=>{u(e)}),[u]),v=null===(m=f.find((e=>e.value===p)))||void 0===m?void 0:m.name;return(0,a.useEffect)((()=>{function e(e){y.current&&!y.current.contains(e.target)&&h&&g(!1)}return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}}),[y,h]),a.default.createElement(s.Box,{as:"li",className:(0,o.default)("tab",t,"transaction-insight-dropdown-wrapper",{"tab--active":r,[e]:e&&r}),"data-testid":n,onClick:e=>{e.preventDefault(),c(d)},dataTestId:n,flexDirection:i.FlexDirection.Row,flexWrap:i.FlexWrap.NoWrap,height:i.BlockSize.Full,style:{cursor:"pointer",position:"relative",overflow:"visible"},title:v},a.default.createElement(l.default,{className:"transaction-insight-dropdown",onChange:e=>b(e),options:f,selectedOption:p,title:"Transaction Insights",style:{pointerEvents:r?"auto":"none",fontFamily:"var(--typography-s-body-md-font-family)",fontWeight:"var(--typography-s-body-md-font-weight)",fontSize:"var(--typography-s-body-md-font-size)",lineHeight:"var(--typography-s-body-md-line-height)",letterSpacing:"var(--typography-s-body-md-letter-spacing)"}}))};n.DropdownTab=d,d.propTypes={activeClassName:r.default.string,className:r.default.string,"data-testid":r.default.string,isActive:r.default.bool,options:r.default.arrayOf(r.default.exact({name:r.default.string,value:r.default.string.isRequired})).isRequired,selectedOption:r.default.string,onChange:r.default.func,onClick:r.default.func,tabIndex:r.default.number},d.defaultProps={activeClassName:undefined,className:undefined,onChange:undefined,onClick:undefined,selectedOption:undefined}}}},{package:"$root$",file:"ui/components/ui/tabs/snaps/dropdown-tab/dropdown-tab.js"}],[5298,{"./dropdown-tab":5297},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=e("./dropdown-tab");n.default=a.DropdownTab}}},{package:"$root$",file:"ui/components/ui/tabs/snaps/dropdown-tab/index.js"}],[5299,{"./tab.component":5300},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=(a=e("./tab.component"))&&a.__esModule?a:{default:a};n.default=r.default}}},{package:"$root$",file:"ui/components/ui/tabs/tab/index.js"}],[5300,{"../../../../helpers/constants/design-system":5355,"../../../component-library":4955,"../../box":5194,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=c(e("react")),r=c(e("prop-types")),o=c(e("classnames")),i=e("../../../../helpers/constants/design-system"),s=c(e("../../box")),l=e("../../../component-library");function c(e){return e&&e.__esModule?e:{default:e}}const u=e=>{const{buttonClassName:t,activeClassName:n,className:r,"data-testid":c,isActive:u,name:d,onClick:f,tabIndex:p,tabKey:m,children:h}=e;return a.default.createElement(s.default,{as:"li",className:(0,o.default)("tab",r,{"tab--active":u,[n]:n&&u}),"data-testid":c,onClick:e=>{e.preventDefault(),f(p)},key:m},a.default.createElement(l.Text,{as:"button",padding:2,textAlign:i.TextAlign.Center,display:i.DISPLAY.BLOCK,width:i.BLOCK_SIZES.FULL,className:t,variant:i.TextVariant.bodyMd,color:i.TextColor.inherit},d))};u.propTypes={activeClassName:r.default.string,buttonClassName:r.default.string,className:r.default.string,"data-testid":r.default.string,isActive:r.default.bool,name:r.default.node.isRequired,tabKey:r.default.string.isRequired,onClick:r.default.func,tabIndex:r.default.number,children:r.default.node},u.defaultProps={activeClassName:undefined,buttonClassName:undefined,className:undefined,onClick:undefined,"data-testid":undefined};n.default=u}}},{package:"$root$",file:"ui/components/ui/tabs/tab/tab.component.js"}],[5301,{"../../../helpers/constants/design-system":5355,"../box":5194,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=l(e("prop-types")),o=l(e("classnames")),i=l(e("../box")),s=e("../../../helpers/constants/design-system");function l(e){return e&&e.__esModule?e:{default:e}}function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}const u=({defaultActiveTabKey:e,onTabClick:t,children:n,tabsClassName:r,subHeader:l})=>{const c=()=>a.default.Children.toArray(n).filter(Boolean),[u,d]=(0,a.useState)((()=>{return Math.max((t=e,c().findIndex((e=>(null==e?void 0:e.props.tabKey)===t))),0);var t}));return a.default.createElement(i.default,{className:"tabs"},a.default.createElement(i.default,{as:"ul",display:s.DISPLAY.FLEX,justifyContent:s.JustifyContent.flexStart,backgroundColor:s.BackgroundColor.backgroundDefault,className:(0,o.default)("tabs__list",r),gap:1},(()=>{const e=a.default.Children.count(c());return a.default.Children.map(c(),((n,r)=>{const o=null==n?void 0:n.props.tabKey;return n&&a.default.cloneElement(n,{onClick:e=>((e,n)=>{e!==u&&(d(e),null==t||t(n))})(e,o),tabIndex:r,isActive:e>1&&r===u})}))})()),l,a.default.createElement(i.default,{className:"tabs__content"},(()=>{const e=c();if(Array.isArray(e)&&!e[u]||!Array.isArray(e)&&0!==u)throw new Error(`Tab at index '${u}' does not exist`);return e[u]?e[u].props.children:e.props.children})()))};n.default=u;u.propTypes={defaultActiveTabKey:r.default.string,onTabClick:r.default.func,children:r.default.node.isRequired,tabsClassName:r.default.string,subHeader:r.default.node}}}},{package:"$root$",file:"ui/components/ui/tabs/tabs.component.js"}],[5302,{"./text-field.component":5303},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=(a=e("./text-field.component"))&&a.__esModule?a:{default:a};n.default=r.default}}},{package:"$root$",file:"ui/components/ui/text-field/index.js"}],[5303,{"@material-ui/core/TextField":881,"@material-ui/core/styles":954,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=s(e("react")),r=s(e("prop-types")),o=e("@material-ui/core/styles"),i=s(e("@material-ui/core/TextField"));function s(e){return e&&e.__esModule?e:{default:e}}function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t({InputLabelProps:{classes:{root:t,focused:n,error:a}},InputProps:{startAdornment:o,endAdornment:i,classes:{underline:r},inputProps:{dir:e,min:s,max:l,autoComplete:c}}}),bordered:({dir:e,classes:{formLabel:t,formLabelFocused:n,materialError:a,largeInputLabel:r,inputLabel:o,inputRoot:i,input:s,inputFocused:l},largeLabel:c,startAdornment:u,endAdornment:d,min:f,max:p,autoComplete:m})=>({InputLabelProps:{shrink:!0,className:c?r:o,classes:{root:t,focused:n,error:a}},InputProps:{startAdornment:u,endAdornment:d,classes:{root:i,input:s,focused:l},inputProps:{dir:e,min:f,max:p,autoComplete:m}}}),"material-white-padded":({dir:e,classes:{materialWhitePaddedRoot:t,materialWhitePaddedFocused:n,materialWhitePaddedInput:a,materialWhitePaddedUnderline:r},startAdornment:o,endAdornment:i,min:s,max:l,autoComplete:c})=>({InputProps:{startAdornment:o,endAdornment:i,classes:{root:t,focused:n,input:a,underline:r},inputProps:{dir:e,min:s,max:l,autoComplete:c}}})},f=({"data-testid":e,error:t,classes:n,theme:r,startAdornment:o,endAdornment:s,largeLabel:c,dir:u,min:f,max:p,autoComplete:m,onPaste:h,...g})=>{const y=d[r]({classes:n,startAdornment:o,endAdornment:s,largeLabel:c,dir:u,min:f,max:p,autoComplete:m});return(h||e)&&(y.InputProps||(y.InputProps={}),y.InputProps.inputProps||(y.InputProps.inputProps={}),y.InputProps.inputProps.onPaste=h,y.InputProps.inputProps["data-testid"]=e),a.default.createElement(i.default,l({error:Boolean(t),helperText:t},y,g))};f.defaultProps={error:null,dir:"auto",theme:"bordered"},f.propTypes={"data-testid":r.default.string,error:r.default.oneOfType([r.default.string,r.default.element]),classes:r.default.object,dir:r.default.string,theme:r.default.oneOf(["bordered","material","material-white-padded"]),startAdornment:r.default.element,endAdornment:r.default.element,largeLabel:r.default.bool,min:r.default.number,max:r.default.number,autoComplete:r.default.string,onPaste:r.default.func};n.default=(0,o.withStyles)(u)(f)}}},{package:"$root$",file:"ui/components/ui/text-field/text-field.component.js"}],[5304,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.RESIZE=void 0;n.RESIZE={NONE:"none",BOTH:"both",HORIZONTAL:"horizontal",VERTICAL:"vertical",INITIAL:"initial",INHERIT:"inherit"}}}},{package:"$root$",file:"ui/components/ui/textarea/textarea.constants.js"}],[5305,{"../../../helpers/constants/design-system":5355,"../box":5194,"./textarea.constants":5304,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=c(e("react")),r=c(e("prop-types")),o=c(e("classnames")),i=e("../../../helpers/constants/design-system"),s=c(e("../box")),l=e("./textarea.constants");function c(e){return e&&e.__esModule?e:{default:e}}function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const m=(0,o.default)("textarea",e,`textarea--resize-${r}`,{"textarea--scrollable":c,"textarea--not-scrollable":!c});return a.default.createElement(s.default,u({backgroundColor:i.BackgroundColor.backgroundDefault,borderColor:i.BorderColor.borderDefault,borderRadius:i.Size.SM,borderStyle:i.BorderStyle.solid,padding:4,width:i.BlockSize.Full},f),(e=>a.default.createElement("textarea",u({required:!0,style:{height:d},className:(0,o.default)(e,m),value:t,onChange:n},p))))};d.propTypes={height:r.default.oneOfType([r.default.string,r.default.number]),className:r.default.string,value:r.default.string,onChange:r.default.func,resize:r.default.oneOf(Object.values(l.RESIZE)),scrollable:r.default.bool,boxProps:r.default.shape({...s.default.propTypes})};n.default=d}}},{package:"$root$",file:"ui/components/ui/textarea/textarea.js"}],[5306,{"./toggle-button.component":5307},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=(a=e("./toggle-button.component"))&&a.__esModule?a:{default:a};n.default=r.default}}},{package:"$root$",file:"ui/components/ui/toggle-button/index.js"}],[5307,{"../../../hooks/useTheme":5442,"@metamask/design-tokens":1185,classnames:3049,"prop-types":3997,react:4243,"react-toggle-button":4240},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=c(e("react")),r=c(e("prop-types")),o=c(e("react-toggle-button")),i=c(e("classnames")),s=e("@metamask/design-tokens"),l=e("../../../hooks/useTheme");function c(e){return e&&e.__esModule?e:{default:e}}const u={width:"40px",height:"24px",padding:"0px",borderRadius:"26px",border:"none",display:"flex",alignItems:"center",justifyContent:"center"},d={...u,border:"none"},f={width:"18px",height:"18px",display:"flex",boxShadow:"var(--shadow-size-xs) var(--color-shadow-default)",alignSelf:"center",borderRadius:"50%",position:"relative"},p={activeThumb:{base:s.lightTheme.colors.primary.inverse},inactiveThumb:{base:s.lightTheme.colors.primary.inverse},active:{base:s.lightTheme.colors.primary.default,hover:s.lightTheme.colors.primary.defaultHover},inactive:{base:s.lightTheme.colors.icon.muted,hover:s.lightTheme.colors.icon.muted}},m={activeThumb:{base:s.lightTheme.colors.primary.inverse},inactiveThumb:{base:s.lightTheme.colors.primary.inverse},active:{base:s.darkTheme.colors.primary.default,hover:s.darkTheme.colors.primary.defaultHover},inactive:{base:s.darkTheme.colors.icon.muted,hover:s.darkTheme.colors.icon.muted}},h=e=>{const{value:t,onToggle:n,offLabel:r,onLabel:s,disabled:c,className:h,dataTestId:g}=e,y=t?"on":"off",b=(0,l.useTheme)();return a.default.createElement("label",{tabIndex:"0",onKeyDown:e=>{"Enter"===e.key&&n(t)},className:(0,i.default)("toggle-button",`toggle-button--${y}`,{"toggle-button--disabled":c},h)},a.default.createElement(o.default,{value:t,onToggle:c?undefined:n,activeLabel:"",inactiveLabel:"",trackStyle:t?u:d,thumbStyle:f,thumbAnimateRange:[3,18],colors:"light"===b?p:m,passThroughInputProps:{"data-testid":g}}),a.default.createElement("div",{className:"toggle-button__status"},a.default.createElement("span",{className:"toggle-button__label-off"},r),a.default.createElement("span",{className:"toggle-button__label-on"},s)))};h.propTypes={value:r.default.bool,onToggle:r.default.func,offLabel:r.default.string,onLabel:r.default.string,disabled:r.default.bool,className:r.default.string,dataTestId:r.default.string};n.default=h}}},{package:"$root$",file:"ui/components/ui/toggle-button/toggle-button.component.js"}],[5308,{"./token-balance":5309},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./token-balance"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/ui/token-balance/index.js"}],[5309,{"../../../helpers/constants/design-system":5355,"../../../hooks/useIsOriginalTokenSymbol":5429,"../../../hooks/useTokenFiatAmount":5446,"../../../hooks/useTokenTracker":5447,"../../component-library":4955,"../currency-display":5209,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=p;var a=d(e("react")),r=d(e("prop-types")),o=d(e("../currency-display")),i=e("../../../hooks/useTokenTracker"),s=e("../../../hooks/useTokenFiatAmount"),l=e("../../../hooks/useIsOriginalTokenSymbol"),c=e("../../component-library"),u=e("../../../helpers/constants/design-system");function d(e){return e&&e.__esModule?e:{default:e}}function f(){return f=Object.assign?Object.assign.bind():function(e){for(var t=1;tm(!0)},h("viewAllDetails"))),p&&r.default.createElement(u.default,{title:f,open:p,onClose:()=>m(!1),footer:r.default.createElement(r.default.Fragment,null,r.default.createElement("div",null),r.default.createElement(l.default,{type:"primary",style:{width:"50%"},onClick:()=>m(!1)},"Close"))},r.default.createElement(s.default,{padding:6,paddingTop:0},r.default.createElement(c.default,{gap:i.Size.MD,tooltips:t,warnings:n,dictionary:e}))))}m.propTypes={dictionary:c.default.propTypes.dictionary,tooltips:c.default.propTypes.dictionary,warnings:c.default.propTypes.dictionary,title:o.default.string,prefaceKeys:o.default.arrayOf(o.default.string)}}}},{package:"$root$",file:"ui/components/ui/truncated-definition-list/truncated-definition-list.js"}],[5314,{"./typography":5315},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./typography"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/ui/typography/index.js"}],[5315,{"../../../helpers/constants/design-system":5355,"../box":5194,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.ValidTags=n.ValidColors=void 0,n.default=y;var a=c(e("react")),r=c(e("classnames")),o=c(e("prop-types")),i=e("../../../helpers/constants/design-system"),s=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=l(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("../box"));function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(l=function(e){return e?n:t})(e)}function c(e){return e&&e.__esModule?e:{default:e}}function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;ta.default.createElement(M,{className:(0,r.default)(e,x),title:h,"data-testid":E},k)))}y.propTypes={variant:o.default.oneOf(Object.values(i.TypographyVariant)),color:o.default.oneOf(h),fontWeight:o.default.oneOf(Object.values(i.FONT_WEIGHT)),fontStyle:o.default.oneOf(Object.values(i.FONT_STYLE)),align:o.default.oneOf(Object.values(i.TextAlign)),overflowWrap:o.default.oneOf(Object.values(i.OVERFLOW_WRAP)),as:o.default.oneOf(g),margin:s.MultipleSizesAndAuto,marginTop:s.MultipleSizesAndAuto,marginBottom:s.MultipleSizesAndAuto,marginRight:s.MultipleSizesAndAuto,marginLeft:s.MultipleSizesAndAuto,boxProps:o.default.shape({...s.default.propTypes}),className:o.default.string,title:o.default.string,testId:o.default.string,children:o.default.node.isRequired}}}},{package:"$root$",file:"ui/components/ui/typography/typography.js"}],[5316,{"./unit-input.component":5317},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./unit-input.component"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/ui/unit-input/index.js"}],[5317,{classnames:3049,"prop-types":3997,react:4243,"react-tippy":4239},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=l(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=e("react-tippy"),o=s(e("prop-types")),i=s(e("classnames"));function s(e){return e&&e.__esModule?e:{default:e}}function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(l=function(e){return e?n:t})(e)}function c(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const u=/^\d*(\.|,)?\d*$/u;class d extends a.PureComponent{constructor(...e){super(...e),c(this,"state",{value:this.props.value,isOverflowing:!1}),c(this,"handleFocus",(()=>{["INPUT","TEXTAREA"].includes(document.activeElement.tagName)||this.unitInput.focus()})),c(this,"handleInputFocus",(({target:{value:e}})=>{"0"===e&&this.setState({...this.state,isOverflowing:!1,value:""})})),c(this,"handleInputBlur",(({target:{value:e}})=>{""===e&&this.setState({...this.state,isOverflowing:!1,value:"0"}),this.props.onBlur&&this.props.onBlur(e),this.unitInput.scrollTo&&this.unitInput.scrollTo(0,0)})),c(this,"handleChange",(e=>{const{value:t}=e.target;let n=t;t.length&&t.length>1&&(n=t.replace(/^0*(?=\d)/u,"")),this.props.keyPressRegex.test(n)?(this.setState({...this.state,isOverflowing:this.getIsOverflowing(),value:n}),this.props.onChange(n)):e.preventDefault()})),c(this,"handleOnKeyPress",(e=>{u.test(e.key)||e.preventDefault()})),c(this,"updateIsOverflowing",(()=>{this.setState({...this.state,isOverflowing:this.getIsOverflowing()})}))}componentDidUpdate(e){const{value:t}=e,{value:n}=this.props,{value:a}=this.state;t!==n&&Number(n)!==Number(a)&&this.setState({...this.state,value:n})}componentDidMount(){this.props.isFocusOnInput&&document.addEventListener("keypress",this.handleFocus)}componentWillUnmount(){document.removeEventListener("keypress",this.handleFocus)}getInputWidth(e){const t=String(e);return`${(t.length||1)+(t.match(/\./u)?-.5:0)+.5}ch`}getIsOverflowing(){let e=!1;if(this.unitInput){const{offsetWidth:t,scrollWidth:n}=this.unitInput;e=n-t>4}return e}render(){const{className:e,error:t,placeholder:n,hideSuffix:o,suffix:s,actionComponent:l,children:c,dataTestId:u,isDisabled:d}=this.props,{value:f,isOverflowing:p}=this.state;return a.default.createElement("div",{className:(0,i.default)("unit-input",{"unit-input--error":t},e),onClick:this.handleFocus},a.default.createElement("div",{className:"unit-input__inputs"},a.default.createElement(r.Tooltip,{title:f,disabled:!p||!f,arrow:!0,hideOnClick:!1,className:"unit-input__input-container",style:{display:"inherit"}},a.default.createElement("input",{disabled:d,"data-testid":u,type:"number",dir:"ltr",className:(0,i.default)("unit-input__input"),value:f,placeholder:n,onChange:this.handleChange,onBlur:this.handleInputBlur,onFocus:this.handleInputFocus,onKeyPress:this.handleOnKeyPress,min:0,step:"any",style:{width:this.getInputWidth(f)},ref:e=>{this.unitInput=e},autoFocus:!0}),s&&!o?a.default.createElement("div",{className:"unit-input__suffix"},s):null),c),l)}}n.default=d,c(d,"propTypes",{className:o.default.string,dataTestId:o.default.string,children:o.default.node,actionComponent:o.default.node,error:o.default.bool,onChange:o.default.func,onBlur:o.default.func,placeholder:o.default.string,suffix:o.default.string,hideSuffix:o.default.bool,value:o.default.oneOfType([o.default.string,o.default.number]),keyPressRegex:o.default.instanceOf(RegExp),isDisabled:o.default.bool,isFocusOnInput:o.default.bool}),c(d,"defaultProps",{value:"",placeholder:"0",keyPressRegex:u})}}},{package:"$root$",file:"ui/components/ui/unit-input/unit-input.component.js"}],[5318,{"../../../contexts/i18n":5324,"../../../selectors":5987,"../button":5198,"../identicon":5247,"../popover":5281,"../text-field":5302,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=m;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=p(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=e("react-redux"),o=f(e("prop-types")),i=f(e("../popover")),s=f(e("../button")),l=f(e("../text-field")),c=e("../../../contexts/i18n"),u=f(e("../identicon")),d=e("../../../selectors");function f(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(p=function(e){return e?n:t})(e)}function m({address:e,nickname:t="",memo:n="",onAdd:o,onClose:f}){var p;const m=(0,a.useContext)(c.I18nContext),[h,g]=(0,a.useState)(null===t?"":t),[y,b]=(0,a.useState)(null===n?"":n),v=(0,a.useCallback)((()=>{f()}),[f]),_=(0,r.useSelector)(d.getTokenList);return a.default.createElement(i.default,{title:m(t?"editAddressNickname":"addANickname"),onClose:v,className:"update-nickname__wrapper",footer:a.default.createElement(a.default.Fragment,null,a.default.createElement(s.default,{className:"update-nickname__cancel",type:"secondary",onClick:()=>{f()}},m("cancel")),a.default.createElement(s.default,{className:"update-nickname__save",type:"primary",onClick:()=>{o(e,h,y),f()},disabled:!h},m("save")))},a.default.createElement("div",{className:"update-nickname__content"},a.default.createElement(u.default,{className:"update-nickname__content__indenticon",address:e,diameter:36,image:null===(p=_[e.toLowerCase()])||void 0===p?void 0:p.iconUrl}),a.default.createElement("label",{className:"update-nickname__content__label--capitalized"},m("address")),a.default.createElement("div",{className:"update-nickname__content__address"},e),a.default.createElement("div",{className:"update-nickname__content__nickname-label"},m("nickname")),a.default.createElement(l.default,{className:"update-nickname__content__text-field",value:h,onChange:e=>{g(e.target.value)},placeholder:m("addANickname"),fullWidth:!0}),a.default.createElement("div",{className:"update-nickname__content__label--capitalized"},m("memo")),a.default.createElement(l.default,{type:"text",id:"memo",value:y,onChange:e=>{b(e.target.value)},placeholder:m("addMemo"),fullWidth:!0,margin:"dense",multiline:!0,rows:3,classes:{inputMultiline:"update-nickname__content__text-area",inputRoot:"update-nickname__content__text-area-wrapper"}})))}m.propTypes={nickname:o.default.string,address:o.default.string,memo:o.default.string,onAdd:o.default.func,onClose:o.default.func}}}},{package:"$root$",file:"ui/components/ui/update-nickname-popover/update-nickname-popover.js"}],[5319,{"./url-icon":5320},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./url-icon"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/ui/url-icon/index.js"}],[5320,{"../icon-with-fallback":5232,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=l;var a=s(e("react")),r=s(e("prop-types")),o=s(e("classnames")),i=s(e("../icon-with-fallback"));function s(e){return e&&e.__esModule?e:{default:e}}function l({url:e,className:t,name:n,fallbackClassName:r}){return a.default.createElement(i.default,{className:(0,o.default)("url-icon",t),icon:e,name:n,fallbackClassName:(0,o.default)("url-icon__fallback",r)})}l.propTypes={url:r.default.string,className:r.default.string,name:r.default.string,fallbackClassName:r.default.string}}}},{package:"$root$",file:"ui/components/ui/url-icon/url-icon.js"}],[5321,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.ETH_DEFAULT_DECIMALS=void 0;n.ETH_DEFAULT_DECIMALS=8}}},{package:"$root$",file:"ui/constants/index.js"}],[5322,{"../hooks/useCurrencyRatePolling":5419,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.CurrencyRateProvider=void 0;var a=i(e("react")),r=i(e("prop-types")),o=i(e("../hooks/useCurrencyRatePolling"));function i(e){return e&&e.__esModule?e:{default:e}}const s=({children:e})=>((0,o.default)(),a.default.createElement(a.default.Fragment,null,e));n.CurrencyRateProvider=s,s.propTypes={children:r.default.node}}}},{package:"$root$",file:"ui/contexts/currencyRate.js"}],[5323,{"../pages/confirmations/hooks/useGasFeeInputs":5702,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.GasFeeContextProvider=n.GasFeeContext=void 0,n.useGasFeeContext=function(){return(0,r.useContext)(l)};var a,r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=s(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=(a=e("prop-types"))&&a.__esModule?a:{default:a},i=e("../pages/confirmations/hooks/useGasFeeInputs");function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(s=function(e){return e?n:t})(e)}const l=n.GasFeeContext=(0,r.createContext)({}),c=({children:e,defaultEstimateToUse:t,transaction:n,minimumGasLimit:a,editGasMode:o})=>{const s=(0,i.useGasFeeInputs)(t,n,a,o);return r.default.createElement(l.Provider,{value:s},e)};n.GasFeeContextProvider=c,c.propTypes={children:o.default.node.isRequired,defaultEstimateToUse:o.default.string,transaction:o.default.object,minimumGasLimit:o.default.string,editGasMode:o.default.string}}}},{package:"$root$",file:"ui/contexts/gasFee.js"}],[5325,{"./metamask-notifications":5326},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"MetamaskNotificationsProvider",{enumerable:!0,get:function(){return a.MetamaskNotificationsProvider}});var a=e("./metamask-notifications")}}},{package:"$root$",file:"ui/contexts/metamask-notifications/index.tsx"}],[5326,{"../../hooks/metamask-notifications/useNotifications":5406,"../../selectors":5987,"../../selectors/metamask-notifications/metamask-notifications":5989,"../../selectors/metamask-notifications/profile-syncing":5990,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useMetamaskNotificationsContext=n.MetamaskNotificationsProvider=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=e("react-redux"),o=e("../../hooks/metamask-notifications/useNotifications"),i=e("../../selectors/metamask-notifications/profile-syncing"),s=e("../../selectors/metamask-notifications/metamask-notifications"),l=e("../../selectors");function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}const u=(0,a.createContext)(undefined);n.useMetamaskNotificationsContext=()=>{const e=(0,a.useContext)(u);if(!e)throw new Error("useNotificationsContext must be used within a MetamaskNotificationsProvider");return e};n.MetamaskNotificationsProvider=({children:e})=>{const t=(0,r.useSelector)(i.selectIsProfileSyncingEnabled),n=(0,r.useSelector)(s.selectIsMetamaskNotificationsEnabled),c=(0,r.useSelector)(l.getUseExternalServices),{listNotifications:d,notificationsData:f,isLoading:p,error:m}=(0,o.useListNotifications)(),h=(0,a.useMemo)((()=>t&&n),[t,n]);return(0,a.useEffect)((()=>{c&&h&&d()}),[h,d,c]),a.default.createElement(u.Provider,{value:{listNotifications:d,notificationsData:f,isLoading:p,error:m}},e)}}}},{package:"$root$",file:"ui/contexts/metamask-notifications/metamask-notifications.tsx"}],[5327,{"../../app/scripts/lib/util":120,"../../shared/constants/metametrics":4505,"../helpers/constants/routes":5361,"../hooks/useSegmentContext":5438,"../store/actions":5998,"@sentry/browser":2409,lodash:3836,"prop-types":3997,react:4243,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.MetaMetricsContext=n.LegacyMetaMetricsProvider=void 0,n.MetaMetricsProvider=b;var a,r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=m(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=(a=e("prop-types"))&&a.__esModule?a:{default:a},i=e("react-router-dom"),s=e("@sentry/browser"),l=e("lodash"),c=e("../../app/scripts/lib/util"),u=e("../helpers/constants/routes"),d=e("../../shared/constants/metametrics"),f=e("../hooks/useSegmentContext"),p=e("../store/actions");function m(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(m=function(e){return e?n:t})(e)}function h(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const g=n.MetaMetricsContext=(0,r.createContext)((()=>{(0,s.captureException)(Error("MetaMetrics context function was called from a react node that is not a descendant of a MetaMetrics context provider"))})),y=Object.keys(u.PATH_NAME_MAP);function b({children:e}){var t;const n=(0,i.useLocation)(),a=(0,f.useSegmentContext)(),o=(0,r.useCallback)(((e,t)=>{const n=null==t?void 0:t.contextPropsIntoEventProperties;var r;n&&0!==n.length&&(e.properties||(e.properties={}),n.includes(d.MetaMetricsContextProp.PageTitle)&&(e.properties[d.MetaMetricsContextProp.PageTitle]=null===(r=a.page)||void 0===r?void 0:r.title))}),[null===(t=a.page)||void 0===t?void 0:t.title]),m=(0,r.useCallback)(((e,t)=>{o(e,t),(0,p.trackMetaMetricsEvent)({...e,environmentType:(0,c.getEnvironmentType)(),...a},t)}),[o,a]),h=(0,r.useRef)();return(0,r.useEffect)((()=>{const e=(0,c.getEnvironmentType)(),t=(0,i.matchPath)(n.pathname,{path:y,exact:!0,strict:!0});if(t){if(h.current!==t.path&&("notification"!==e||"/"!==t.path||h.current!==undefined)){const{path:r,params:o}=t,i=u.PATH_NAME_MAP[r];(0,p.trackMetaMetricsPage)({name:i,params:(0,l.omit)(o,["account","address"]),environmentType:e,page:a.page,referrer:a.referrer},{isOptInPath:n.pathname.startsWith("/initialize")})}}else(0,s.captureMessage)("Segment page tracking found unmatched route",{extra:{previousMatch:h,currentPath:n.pathname}});h.current=null==t?void 0:t.path}),[n,a]),r.default.createElement(g.Provider,{value:m},e)}b.propTypes={children:o.default.node};class v extends r.Component{getChildContext(){return{trackEvent:this.context}}render(){return this.props.children}}n.LegacyMetaMetricsProvider=v,h(v,"propTypes",{children:o.default.node}),h(v,"defaultProps",{children:undefined}),h(v,"contextType",g),h(v,"childContextTypes",{trackEvent:o.default.func})}}},{package:"$root$",file:"ui/contexts/metametrics.js"}],[5328,{"./snap-interface":5329},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var a=e("./snap-interface");Object.keys(a).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in n&&n[e]===a[e]||Object.defineProperty(n,e,{enumerable:!0,get:function(){return a[e]}}))}))}}},{package:"$root$",file:"ui/contexts/snaps/index.ts"}],[5329,{"../../store/actions":5998,"./utils":5330,"@metamask/snaps-sdk":2122,lodash:3836,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.SnapInterfaceContextProvider=n.SnapInterfaceContext=void 0,n.useSnapInterfaceContext=function(){return(0,o.useContext)(u)};var a=e("@metamask/snaps-sdk"),r=e("lodash"),o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),i=e("react-redux"),s=e("../../store/actions"),l=e("./utils");function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}const u=n.SnapInterfaceContext=(0,o.createContext)(null),d=[a.UserInputEventType.ButtonClickEvent,a.UserInputEventType.FormSubmitEvent];n.SnapInterfaceContextProvider=({children:e,interfaceId:t,snapId:n,initialState:c,context:f})=>{const p=(0,i.useDispatch)(),m=(0,o.useRef)(c??{});(0,o.useEffect)((()=>{m.current=c}),[c]);const h=(e,a,r)=>(0,s.handleSnapRequest)({snapId:n,origin:"",handler:"onUserInput",request:{jsonrpc:"2.0",method:" ",params:{event:{type:e,...a!==undefined&&null!==a?{name:a}:{},...r!==undefined&&null!==r?{value:r}:{}},id:t,context:f}}}).then((()=>(0,s.forceUpdateMetamaskState)(p))),g=(0,r.debounce)(h,200),y=(0,r.throttle)(h,200),b=(0,r.debounce)((e=>p((0,s.updateInterfaceState)(t,e))),200),v=({event:e,name:t,value:n=m.current[t],flush:a=!1})=>{b.flush();const r=d.includes(e)?y:g;r(e,t,n),a&&r.flush()},_=(0,r.debounce)(((e,t)=>v({event:a.UserInputEventType.InputChangeEvent,name:e,value:t,flush:!0})),300);return o.default.createElement(u.Provider,{value:{handleEvent:v,getValue:(e,t)=>{var n;const a=t?null===(n=c[t])||void 0===n?void 0:n[e]:null==c?void 0:c[e];return a||undefined},handleInputChange:(e,t,n)=>{const a=(0,l.mergeValue)(m.current,e,t,n);m.current=a,b(a),_(e,t??"")}}},e)}}}},{package:"$root$",file:"ui/contexts/snaps/snap-interface.tsx"}],[5330,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.mergeValue=void 0;n.mergeValue=(e,t,n,a)=>a?{...e,[a]:{...e[a],[t]:n}}:{...e,[t]:n}}}},{package:"$root$",file:"ui/contexts/snaps/utils.ts"}],[5331,{"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.TransactionModalContextProvider=n.TransactionModalContext=void 0,n.useTransactionModalContext=function(){return(0,r.useContext)(s)};var a,r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=i(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=(a=e("prop-types"))&&a.__esModule?a:{default:a};function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(i=function(e){return e?n:t})(e)}const s=n.TransactionModalContext=(0,r.createContext)({}),l=({children:e})=>{const[t,n]=(0,r.useState)([]);return r.default.createElement(s.Provider,{value:{closeModal:e=>{if(t<0)return;const a=[...t];e.forEach((e=>{const n=t.indexOf(e);a.splice(n,1)})),n(a)},closeAllModals:()=>{n([])},currentModal:t[t.length-1],openModal:e=>{if(t.includes(e))return;const a=[...t];a.push(e),n(a)},openModalCount:t.length}},e)};n.TransactionModalContextProvider=l,l.propTypes={children:o.default.node.isRequired}}}},{package:"$root$",file:"ui/contexts/transaction-modal.js"}],[5333,{"./enums":5332,"./invalid-custom-network":5334,"./unconnected-account":5335},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"ALERT_STATE",{enumerable:!0,get:function(){return o.ALERT_STATE}}),Object.defineProperty(n,"invalidCustomNetwork",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(n,"unconnectedAccount",{enumerable:!0,get:function(){return a.default}});var a=i(e("./unconnected-account")),r=i(e("./invalid-custom-network")),o=e("./enums");function i(e){return e&&e.__esModule?e:{default:e}}}}},{package:"$root$",file:"ui/ducks/alerts/index.js"}],[5334,{"../../../shared/constants/alerts":4492,"./enums":5332,"@reduxjs/toolkit":2354},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.openAlert=n.getNetworkName=n.getAlertState=n.dismissAlert=n.default=n.alertIsOpen=void 0;var a=e("@reduxjs/toolkit"),r=e("../../../shared/constants/alerts"),o=e("./enums");const i=r.AlertTypes.invalidCustomNetwork,s={state:o.ALERT_STATE.CLOSED,networkName:""},l=(0,a.createSlice)({name:i,initialState:s,reducers:{openAlert:(e,t)=>{e.state=o.ALERT_STATE.OPEN,e.networkName=t.payload},dismissAlert:e=>{e.state=o.ALERT_STATE.CLOSED,e.networkName=""}}}),{actions:c,reducer:u}=l;n.default=u;n.getAlertState=e=>e[i].state;n.getNetworkName=e=>e[i].networkName;n.alertIsOpen=e=>e[i].state!==o.ALERT_STATE.CLOSED;const{openAlert:d,dismissAlert:f}=c;n.dismissAlert=f,n.openAlert=d}}},{package:"$root$",file:"ui/ducks/alerts/invalid-custom-network.js"}],[5337,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.clearAlerts=function(e){return{type:"CLEAR_ALERTS",ownerId:e}},n.default=function(e=a,t){switch(t.type){case"UPDATE_ALERTS":return{...e,alerts:{...e.alerts,[t.ownerId]:t.alerts}};case"SET_ALERT_CONFIRMED":return{...e,confirmed:{...e.confirmed,[t.ownerId]:{...e.confirmed[t.ownerId],[t.alertKey]:t.isConfirmed}}};case"CLEAR_ALERTS":return{...e,alerts:{...e.alerts,[t.ownerId]:[]},confirmed:{...e.confirmed,[t.ownerId]:{}}};default:return e}},n.setAlertConfirmed=function(e,t,n){return{type:"SET_ALERT_CONFIRMED",ownerId:e,alertKey:t,isConfirmed:n}},n.updateAlerts=function(e,t){return{type:"UPDATE_ALERTS",alerts:t,ownerId:e}};const a={alerts:{},confirmed:{}}}}},{package:"$root$",file:"ui/ducks/confirm-alerts/confirm-alerts.ts"}],[5339,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.UPDATE_CURRENT_CONFIRMATION=n.UPDATE_CONFIRM=void 0,n.default=function(e=i,t){switch(t.type){case"metamask/confirm/UPDATE_CONFIRM":return{...e,...t.payload};case"metamask/confirm/UPDATE_CURRENT_CONFIRMATION":return{...e,currentConfirmation:t.currentConfirmation};default:return e}},n.updateConfirm=function(e){return{type:r,payload:e||i}},n.updateCurrentConfirmation=function(e){return{type:o,currentConfirmation:e}};const a=e=>`metamask/confirm/${e}`,r=n.UPDATE_CONFIRM=a("UPDATE_CONFIRM"),o=n.UPDATE_CURRENT_CONFIRMATION=a("UPDATE_CURRENT_CONFIRMATION"),i={currentConfirmation:undefined}}}},{package:"$root$",file:"ui/ducks/confirm/confirm.ts"}],[5343,{"../../helpers/constants/routes":5361,"@reduxjs/toolkit":2354},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.pageChanged=n.getMostRecentOverviewPage=n.default=void 0;var a=e("@reduxjs/toolkit"),r=e("../../helpers/constants/routes");const o={mostRecentOverviewPage:r.DEFAULT_ROUTE},i="history",s=(0,a.createSlice)({name:i,initialState:o,reducers:{pageChanged:(e,t)=>{const n=t.payload;(n===r.DEFAULT_ROUTE||n.startsWith(r.ASSET_ROUTE))&&(e.mostRecentOverviewPage=n)}}}),{actions:l,reducer:c}=s;n.default=c;n.getMostRecentOverviewPage=e=>e[i].mostRecentOverviewPage;const{pageChanged:u}=l;n.pageChanged=u}}},{package:"$root$",file:"ui/ducks/history/history.js"}],[5344,{"../../shared/constants/alerts":4492,"./alerts":5333,"./app/app":5336,"./confirm-alerts/confirm-alerts":5337,"./confirm-transaction/confirm-transaction.duck":5338,"./confirm/confirm":5339,"./domains":5340,"./gas/gas.duck":5342,"./history/history":5343,"./locale/locale":5345,"./metamask/metamask":5346,"./send/send":5349,"./swaps/swaps":5351,redux:4261},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=e("redux"),r=e("../../shared/constants/alerts"),o=y(e("./confirm/confirm")),i=y(e("./metamask/metamask")),s=y(e("./locale/locale")),l=y(e("./send/send")),c=y(e("./domains")),u=y(e("./app/app")),d=y(e("./confirm-transaction/confirm-transaction.duck")),f=y(e("./gas/gas.duck")),p=e("./alerts"),m=y(e("./swaps/swaps")),h=y(e("./history/history")),g=y(e("./confirm-alerts/confirm-alerts"));function y(e){return e&&e.__esModule?e:{default:e}}n.default=(0,a.combineReducers)({[r.AlertTypes.invalidCustomNetwork]:p.invalidCustomNetwork,[r.AlertTypes.unconnectedAccount]:p.unconnectedAccount,activeTab:e=>e===undefined?null:e,metamask:i.default,appState:u.default,DNS:c.default,history:h.default,send:l.default,confirm:o.default,confirmAlerts:g.default,confirmTransaction:d.default,swaps:m.default,gas:f.default,localeMessages:s.default})}}},{package:"$root$",file:"ui/ducks/index.js"}],[5352,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){t.exports=[{code:"aud",name:"Australian Dollar"},{code:"hkd",name:"Hong Kong Dollar"},{code:"sgd",name:"Singapore Dollar"},{code:"idr",name:"Indonesian Rupiah"},{code:"inr",name:"Indian Rupee"},{code:"nzd",name:"New Zealand Dollar"},{code:"php",name:"Philippine Peso"},{code:"adt",name:"adToken"},{code:"adx",name:"AdEx"},{code:"ant",name:"Aragon"},{code:"bat",name:"Basic Attention Token"},{code:"bnt",name:"Bancor"},{code:"btc",name:"Bitcoin"},{code:"cad",name:"Canadian Dollar"},{code:"crb",name:"CreditBit"},{code:"cvc",name:"Civic"},{code:"dash",name:"Dash"},{code:"dgd",name:"DigixDAO"},{code:"etc",name:"Ethereum Classic"},{code:"eur",name:"Euro"},{code:"fun",name:"FunFair"},{code:"gbp",name:"Pound Sterling"},{code:"gno",name:"Gnosis"},{code:"gnt",name:"Golem"},{code:"hmq",name:"Humaniq"},{code:"jpy",name:"Japanese Yen"},{code:"lsk",name:"Lisk"},{code:"ltc",name:"Litecoin"},{code:"lun",name:"Lunyr"},{code:"mco",name:"Monaco"},{code:"mtl",name:"Metal"},{code:"myst",name:"Mysterium"},{code:"nmr",name:"Numeraire"},{code:"omg",name:"OmiseGO"},{code:"pay",name:"TenX"},{code:"ptoy",name:"Patientory"},{code:"qrl",name:"Quantum-Resistant Ledger"},{code:"qtum",name:"Qtum"},{code:"rep",name:"Augur"},{code:"rlc",name:"iEx.ec"},{code:"rub",name:"Russian Ruble"},{code:"sc",name:"Siacoin"},{code:"sngls",name:"SingularDTV"},{code:"snt",name:"Status"},{code:"steem",name:"Steem"},{code:"storj",name:"Storj"},{code:"time",name:"ChronoBank"},{code:"tkn",name:"TokenCard"},{code:"uah",name:"Ukrainian Hryvnia"},{code:"usd",name:"United States Dollar"},{code:"wings",name:"Wings"},{code:"xem",name:"NEM"},{code:"xlm",name:"Stellar Lumen"},{code:"xmr",name:"Monero"},{code:"xrp",name:"Ripple"},{code:"zec",name:"Zcash"},{code:"dai",name:"DAI"},{code:"sek",name:"Swedish Krona"}]}}},{package:"$root$",file:"ui/helpers/constants/available-conversions.json"}],[5354,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.STATUS_NOT_CONNECTED=n.STATUS_CONNECTED_TO_SNAP=n.STATUS_CONNECTED_TO_ANOTHER_ACCOUNT=n.STATUS_CONNECTED=void 0;n.STATUS_CONNECTED="STATUS_CONNECTED",n.STATUS_CONNECTED_TO_ANOTHER_ACCOUNT="STATUS_CONNECTED_TO_ANOTHER_ACCOUNT",n.STATUS_NOT_CONNECTED="STATUS_NOT_CONNECTED",n.STATUS_CONNECTED_TO_SNAP="STATUS_CONNECTED_TO_SNAP"}}},{package:"$root$",file:"ui/helpers/constants/connected-sites.js"}],[5357,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.PRIORITY_LEVEL_ICON_MAP=n.GAS_FORM_ERRORS=void 0,n.getGasFormErrorText=function(e,t,{minimumGasLimit:n}={}){switch(e){case a.GAS_LIMIT_OUT_OF_BOUNDS:return t("editGasLimitOutOfBounds",[n]);case a.MAX_PRIORITY_FEE_TOO_LOW:return t("editGasMaxPriorityFeeLow");case a.MAX_FEE_TOO_LOW:return t("editGasMaxFeeLow");case a.MAX_PRIORITY_FEE_BELOW_MINIMUM:return t("editGasMaxPriorityFeeBelowMinimum");case a.MAX_PRIORITY_FEE_HIGH_WARNING:return t("editGasMaxPriorityFeeHigh");case a.MAX_FEE_HIGH_WARNING:return t("editGasMaxFeeHigh");case a.MAX_FEE_IMBALANCE:return t("editGasMaxFeePriorityImbalance");case a.GAS_PRICE_TOO_LOW:return t("editGasPriceTooLow");default:return""}};const a=n.GAS_FORM_ERRORS={GAS_LIMIT_OUT_OF_BOUNDS:"editGasLimitOutOfBounds",MAX_PRIORITY_FEE_TOO_LOW:"editGasMaxPriorityFeeLow",MAX_FEE_TOO_LOW:"editGasMaxFeeLow",MAX_PRIORITY_FEE_BELOW_MINIMUM:"editGasMaxPriorityFeeBelowMinimum",MAX_PRIORITY_FEE_HIGH_WARNING:"editGasMaxPriorityFeeHigh",MAX_FEE_HIGH_WARNING:"editGasMaxFeeHigh",MAX_FEE_IMBALANCE:"editGasMaxFeeImbalance",GAS_PRICE_TOO_LOW:"editGasPriceTooLow"};n.PRIORITY_LEVEL_ICON_MAP={low:"🐢",medium:"🦊",high:"🦍",dappSuggested:"🌐",dappSuggestedHigh:"🌐",swapSuggested:"🔄",custom:"⚙️"}}}},{package:"$root$",file:"ui/helpers/constants/gas.js"}],[5358,{"../../../../shared/constants/network":4507},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.SUPPORTED_NOTIFICATION_BLOCK_EXPLORERS=void 0;var a=e("../../../../shared/constants/network");n.SUPPORTED_NOTIFICATION_BLOCK_EXPLORERS={[a.CHAIN_IDS.MAINNET]:{url:"https://etherscan.io",name:"Etherscan"},[a.CHAIN_IDS.OPTIMISM]:{url:"https://optimistic.etherscan.io",name:"Optimistic Etherscan"},[a.CHAIN_IDS.BSC]:{url:"https://bscscan.com",name:"BscScan"},[a.CHAIN_IDS.POLYGON]:{url:"https://polygonscan.com",name:"PolygonScan"},[a.CHAIN_IDS.ARBITRUM]:{url:"https://arbiscan.io",name:"Arbiscan"},[a.CHAIN_IDS.AVALANCHE]:{url:"https://snowtrace.io",name:"Snowtrace"},[a.CHAIN_IDS.LINEA_MAINNET]:{url:"https://lineascan.build",name:"LineaScan"}}}}},{package:"$root$",file:"ui/helpers/constants/metamask-notifications/metamask-notifications.ts"}],[5362,{"../../components/component-library":4955,"./routes":5361},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=e("../../components/component-library"),r=e("./routes");const o=[{tabMessage:e=>e("general"),sectionMessage:e=>e("currencyConversion"),descriptionMessage:e=>e("currencyConversion"),route:`${r.GENERAL_ROUTE}#currency-conversion`,iconName:a.IconName.Setting},{tabMessage:e=>e("general"),sectionMessage:e=>e("primaryCurrencySetting"),descriptionMessage:e=>e("primaryCurrencySettingDescription"),route:`${r.GENERAL_ROUTE}#primary-currency`,iconName:a.IconName.Setting},{tabMessage:e=>e("general"),sectionMessage:e=>e("currentLanguage"),descriptionMessage:e=>e("currentLanguage"),route:`${r.GENERAL_ROUTE}#current-language`,iconName:a.IconName.Setting},{tabMessage:e=>e("general"),sectionMessage:e=>e("theme"),descriptionMessage:e=>e("themeDescription"),route:`${r.GENERAL_ROUTE}#theme`,icon:"fa fa-flask"},{tabMessage:e=>e("general"),sectionMessage:e=>e("accountIdenticon"),descriptionMessage:e=>e("accountIdenticon"),route:`${r.GENERAL_ROUTE}#account-identicon`,iconName:a.IconName.Setting},{tabMessage:e=>e("general"),sectionMessage:e=>e("hideZeroBalanceTokens"),descriptionMessage:e=>e("hideZeroBalanceTokens"),route:`${r.GENERAL_ROUTE}#zero-balancetokens`,iconName:a.IconName.Setting},{tabMessage:e=>e("advanced"),sectionMessage:e=>e("stateLogs"),descriptionMessage:e=>e("stateLogsDescription"),route:`${r.ADVANCED_ROUTE}#state-logs`,icon:"fas fa-sliders-h"},{tabMessage:e=>e("advanced"),sectionMessage:e=>e("clearActivity"),descriptionMessage:e=>e("clearActivityDescription"),route:`${r.ADVANCED_ROUTE}#clear-activity`,icon:"fas fa-sliders-h"},{tabMessage:e=>e("advanced"),sectionMessage:e=>e("smartTransactions"),descriptionMessage:e=>e("stxOptInDescription"),route:`${r.ADVANCED_ROUTE}#smart-transactions`,icon:"fas fa-upload"},{tabMessage:e=>e("advanced"),sectionMessage:e=>e("showHexData"),descriptionMessage:e=>e("showHexDataDescription"),route:`${r.ADVANCED_ROUTE}#show-hexdata`,icon:"fas fa-sliders-h"},{tabMessage:e=>e("advanced"),sectionMessage:e=>e("showFiatConversionInTestnets"),descriptionMessage:e=>e("showFiatConversionInTestnetsDescription"),route:`${r.ADVANCED_ROUTE}#conversion-testnetworks`,icon:"fas fa-sliders-h"},{tabMessage:e=>e("advanced"),sectionMessage:e=>e("showTestnetNetworks"),descriptionMessage:e=>e("showTestnetNetworksDescription"),route:`${r.ADVANCED_ROUTE}#show-testnets`,icon:"fas fa-sliders-h"},{tabMessage:e=>e("advanced"),sectionMessage:e=>e("nonceField"),descriptionMessage:e=>e("nonceFieldDescription"),route:`${r.ADVANCED_ROUTE}#customize-nonce`,icon:"fas fa-sliders-h"},{tabMessage:e=>e("advanced"),sectionMessage:e=>e("autoLockTimeLimit"),descriptionMessage:e=>e("autoLockTimeLimitDescription"),route:`${r.ADVANCED_ROUTE}#autolock-timer`,icon:"fas fa-sliders-h"},{tabMessage:e=>e("advanced"),sectionMessage:e=>e("showExtensionInFullSizeView"),descriptionMessage:e=>e("showExtensionInFullSizeViewDescription"),route:`${r.ADVANCED_ROUTE}#extension-full-size-view`,icon:"fas fa-sliders-h"},{tabMessage:e=>e("advanced"),sectionMessage:e=>e("dismissReminderField"),descriptionMessage:e=>e("dismissReminderDescriptionField"),route:`${r.ADVANCED_ROUTE}#dismiss-secretrecovery`,icon:"fas fa-sliders-h"},{tabMessage:e=>e("advanced"),sectionMessage:e=>e("toggleEthSignField"),descriptionMessage:e=>e("toggleEthSignDescriptionField"),route:`${r.ADVANCED_ROUTE}#toggle-ethsign`,icon:"fas fa-sliders-h"},{tabMessage:e=>e("contacts"),sectionMessage:e=>e("contacts"),descriptionMessage:e=>e("contacts"),route:r.CONTACT_LIST_ROUTE,iconName:a.IconName.Book},{tabMessage:e=>e("securityAndPrivacy"),sectionMessage:e=>e("revealSeedWords"),descriptionMessage:e=>e("revealSeedWords"),route:`${r.SECURITY_ROUTE}#reveal-secretrecovery`,icon:"fa fa-lock"},{tabMessage:e=>e("securityAndPrivacy"),sectionMessage:e=>e("showIncomingTransactions"),descriptionMessage:e=>e("showIncomingTransactionsDescription"),route:`${r.SECURITY_ROUTE}#incoming-transaction`,icon:"fa fa-lock"},{tabMessage:e=>e("securityAndPrivacy"),sectionMessage:e=>e("usePhishingDetection"),descriptionMessage:e=>e("usePhishingDetectionDescription"),route:`${r.SECURITY_ROUTE}#phishing-detection`,icon:"fa fa-lock"},{tabMessage:e=>e("securityAndPrivacy"),sectionMessage:e=>e("use4ByteResolution"),descriptionMessage:e=>e("use4ByteResolutionDescription"),route:`${r.SECURITY_ROUTE}#decode-smart-contracts`,icon:"fa fa-lock"},{tabMessage:e=>e("securityAndPrivacy"),sectionMessage:e=>e("participateInMetaMetrics"),descriptionMessage:e=>e("participateInMetaMetricsDescription"),route:`${r.SECURITY_ROUTE}#metametrics`,icon:"fa fa-lock"},{tabMessage:e=>e("securityAndPrivacy"),sectionMessage:e=>e("networkProvider"),descriptionMessage:e=>`${e("chooseYourNetwork")} ${e("chooseYourNetworkDescription")}`,route:`${r.SECURITY_ROUTE}#network-provider`,icon:"fa fa-lock"},{tabMessage:e=>e("securityAndPrivacy"),sectionMessage:e=>e("ipfsGateway"),descriptionMessage:e=>e("ipfsGatewayDescription"),route:`${r.SECURITY_ROUTE}#add-custom-ipfs-gateway`,icon:"fa fa-lock"},{tabMessage:e=>e("securityAndPrivacy"),sectionMessage:e=>e("autoDetectTokens"),descriptionMessage:e=>e("autoDetectTokensDescription"),route:`${r.SECURITY_ROUTE}#auto-detect-tokens`,icon:"fa fa-lock"},{tabMessage:e=>e("securityAndPrivacy"),sectionMessage:e=>e("useMultiAccountBalanceChecker"),descriptionMessage:e=>e("useMultiAccountBalanceCheckerSettingDescription"),route:`${r.SECURITY_ROUTE}#batch-account-balance-requests`,icon:"fa fa-lock"},{tabMessage:e=>e("securityAndPrivacy"),sectionMessage:e=>e("currencyRateCheckToggle"),descriptionMessage:e=>e("currencyRateCheckToggleDescription"),route:`${r.SECURITY_ROUTE}#price-checker`,icon:"fa fa-lock"},{tabMessage:e=>e("securityAndPrivacy"),sectionMessage:e=>e("ensDomainsSettingTitle"),descriptionMessage:e=>e("ensDomainsSettingDescriptionIntroduction"),route:`${r.SECURITY_ROUTE}#ens-domains`,icon:"fa fa-lock"},{tabMessage:e=>e("securityAndPrivacy"),sectionMessage:e=>e("displayNftMedia"),descriptionMessage:e=>e("displayNftMediaDescription"),route:`${r.SECURITY_ROUTE}#display-nft-media`,icon:"fa fa-lock"},{tabMessage:e=>e("securityAndPrivacy"),sectionMessage:e=>e("useNftDetection"),descriptionMessage:e=>e("useNftDetectionDescriptionText"),route:`${r.SECURITY_ROUTE}#autodetect-nfts`,icon:"fa fa-lock"},{tabMessage:e=>e("securityAndPrivacy"),sectionMessage:e=>e("useSafeChainsListValidation"),descriptionMessage:e=>e("useSafeChainsListValidationDescription"),route:`${r.SECURITY_ROUTE}#network-details-check`,icon:"fa fa-lock"},{tabMessage:e=>e("securityAndPrivacy"),sectionMessage:e=>e("externalNameSourcesSetting"),descriptionMessage:e=>e("externalNameSourcesSettingDescription"),route:`${r.SECURITY_ROUTE}#proposed-nicknames`,icon:"fa fa-lock"},{tabMessage:e=>e("securityAndPrivacy"),sectionMessage:e=>e("securityAlerts"),descriptionMessage:e=>e("securityAlertsDescription"),route:`${r.SECURITY_ROUTE}#security-alerts`,icon:"fa fa-lock"},{tabMessage:e=>e("securityAndPrivacy"),sectionMessage:e=>e("blockaid"),descriptionMessage:e=>e("blockaidMessage"),route:`${r.SECURITY_ROUTE}#security-alerts-blockaid`,icon:"fa fa-lock"},{tabMessage:e=>e("securityAndPrivacy"),sectionMessage:e=>e("simulationsSettingSubHeader"),descriptionMessage:e=>e("simulationsSettingDescription"),route:`${r.SECURITY_ROUTE}#transaction-simulations`,icon:"fa fa-lock"},{tabMessage:e=>e("alerts"),sectionMessage:e=>e("alertSettingsUnconnectedAccount"),descriptionMessage:e=>e("alertSettingsUnconnectedAccount"),route:`${r.ALERTS_ROUTE}#unconnected-account`,iconName:a.IconName.Notification},{tabMessage:e=>e("alerts"),sectionMessage:e=>e("alertSettingsWeb3ShimUsage"),descriptionMessage:e=>e("alertSettingsWeb3ShimUsage"),route:`${r.ALERTS_ROUTE}#web3-shimusage`,icon:"fa fa-bell"},{tabMessage:e=>e("networks"),sectionMessage:e=>e("mainnet"),descriptionMessage:e=>e("mainnet"),route:`${r.NETWORKS_ROUTE}#networks-mainnet`,icon:"fa fa-plug"},{tabMessage:e=>e("networks"),sectionMessage:e=>e("lineaMainnet"),descriptionMessage:e=>e("lineaMainnet"),route:`${r.NETWORKS_ROUTE}#networks-linea-mainnet`,icon:"fa fa-plug"},{tabMessage:e=>e("networks"),sectionMessage:e=>e("goerli"),descriptionMessage:e=>e("goerli"),route:`${r.NETWORKS_ROUTE}#networks-goerli`,icon:"fa fa-plug"},{tabMessage:e=>e("networks"),sectionMessage:e=>e("sepolia"),descriptionMessage:e=>e("sepolia"),route:`${r.NETWORKS_ROUTE}#networks-sepolia`,icon:"fa fa-plug"},{tabMessage:e=>e("networks"),sectionMessage:e=>e("lineaGoerli"),descriptionMessage:e=>e("lineaGoerli"),route:`${r.NETWORKS_ROUTE}#networks-linea-goerli`,icon:"fa fa-plug"},{tabMessage:e=>e("networks"),sectionMessage:e=>e("lineaSepolia"),descriptionMessage:e=>e("lineaSepolia"),route:`${r.NETWORKS_ROUTE}#networks-linea-sepolia`,icon:"fa fa-plug"},{tabMessage:e=>e("networks"),sectionMessage:e=>e("localhost"),descriptionMessage:e=>e("localhost"),route:`${r.NETWORKS_ROUTE}#networks-localhost`,icon:"fa fa-plug"},{tabMessage:e=>e("about"),sectionMessage:e=>e("metamaskVersion"),descriptionMessage:e=>e("builtAroundTheWorld"),route:`${r.ABOUT_US_ROUTE}#version`,iconName:a.IconName.Info},{tabMessage:e=>e("about"),sectionMessage:e=>e("links"),descriptionMessage:e=>e("links"),route:`${r.ABOUT_US_ROUTE}#links`,iconName:a.IconName.Info},{tabMessage:e=>e("about"),sectionMessage:e=>e("privacyMsg"),descriptionMessage:e=>e("privacyMsg"),route:`${r.ABOUT_US_ROUTE}#privacy-policy`,iconName:a.IconName.Info},{tabMessage:e=>e("about"),sectionMessage:e=>e("terms"),descriptionMessage:e=>e("terms"),route:`${r.ABOUT_US_ROUTE}#terms`,iconName:a.IconName.Info},{tabMessage:e=>e("about"),sectionMessage:e=>e("attributions"),descriptionMessage:e=>e("attributions"),route:`${r.ABOUT_US_ROUTE}#attributions`,iconName:a.IconName.Info},{tabMessage:e=>e("about"),sectionMessage:e=>e("supportCenter"),descriptionMessage:e=>e("supportCenter"),route:`${r.ABOUT_US_ROUTE}#supportcenter`,iconName:a.IconName.Info},{tabMessage:e=>e("about"),sectionMessage:e=>e("visitWebSite"),descriptionMessage:e=>e("visitWebSite"),route:`${r.ABOUT_US_ROUTE}#visitwebsite`,iconName:a.IconName.Info},{tabMessage:e=>e("about"),sectionMessage:e=>e("contactUs"),descriptionMessage:e=>e("contactUs"),route:`${r.ABOUT_US_ROUTE}#contactus`,iconName:a.IconName.Info},{tabMessage:e=>e("about"),sectionMessage:e=>e("betaTerms"),descriptionMessage:e=>e("betaTerms"),route:`${r.ABOUT_US_ROUTE}#beta-terms`,iconName:a.IconName.Info},{tabMessage:e=>e("advanced"),sectionMessage:e=>e("backupUserData"),descriptionMessage:e=>e("backupUserDataDescription"),route:`${r.ADVANCED_ROUTE}#backup-userdata`,icon:"fas fa-download"},{tabMessage:e=>e("advanced"),sectionMessage:e=>e("restoreUserData"),descriptionMessage:e=>e("restoreUserDataDescription"),route:`${r.ADVANCED_ROUTE}#restore-userdata`,icon:"fas fa-upload"},{tabMessage:e=>e("experimental"),sectionMessage:e=>e("petnamesEnabledToggle"),descriptionMessage:e=>e("petnamesEnabledToggleDescription"),route:`${r.EXPERIMENTAL_ROUTE}#nicknames`,icon:"fas fa-flask"},{tabMessage:e=>e("experimental"),sectionMessage:e=>e("notificationsFeatureToggle"),descriptionMessage:e=>e("notificationsFeatureToggleDescription"),route:`${r.EXPERIMENTAL_ROUTE}#notifications`,icon:"fas fa-flask"},{tabMessage:e=>e("experimental"),sectionMessage:e=>e("snaps"),descriptionMessage:e=>e("addSnapAccountToggle"),route:`${r.EXPERIMENTAL_ROUTE}#snaps`,icon:"fas fa-flask"},{featureFlag:"ENABLE_SETTINGS_PAGE_DEV_OPTIONS",tabMessage:e=>e("developerOptions"),sectionMessage:e=>e("resetStates"),descriptionMessage:e=>e("resetStates"),route:`${r.DEVELOPER_OPTIONS_ROUTE}#reset-states`,icon:a.IconName.CodeCircle},{featureFlag:"ENABLE_SETTINGS_PAGE_DEV_OPTIONS",tabMessage:e=>e("developerOptions"),sectionMessage:e=>e("announcements"),descriptionMessage:e=>e("developerOptionsResetStatesAnnouncementsDescription"),route:`${r.DEVELOPER_OPTIONS_ROUTE}#reset-states-announcements`,icon:a.IconName.CodeCircle},{featureFlag:"ENABLE_SETTINGS_PAGE_DEV_OPTIONS",tabMessage:e=>e("developerOptions"),sectionMessage:e=>e("serviceWorkerKeepAlive"),descriptionMessage:e=>e("developerOptionsResetStatesOnboarding"),route:`${r.DEVELOPER_OPTIONS_ROUTE}#reset-states-onboarding`,icon:a.IconName.CodeCircle},{featureFlag:"ENABLE_SETTINGS_PAGE_DEV_OPTIONS",tabMessage:e=>e("developerOptions"),sectionMessage:e=>e("serviceWorkerKeepAlive"),descriptionMessage:e=>e("developerOptionsServiceWorkerKeepAlive"),route:`${r.DEVELOPER_OPTIONS_ROUTE}#service-worker-keep-alive`,icon:a.IconName.CodeCircle},{tabMessage:e=>e("experimental"),sectionMessage:e=>e("redesignedConfirmationsEnabledToggle"),descriptionMessage:e=>e("redesignedConfirmationsToggleDescription"),route:`${r.EXPERIMENTAL_ROUTE}#redesigned-confirmations`,icon:"fas fa-flask"}];n.default=o}}},{package:"$root$",file:"ui/helpers/constants/settings.js"}],[5363,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.getDelineatorTitle=n.DelineatorType=void 0;let a=n.DelineatorType=function(e){return e.Content="content",e.Error="error",e.Insights="insights",e.Description="description",e.Warning="warning",e}({});n.getDelineatorTitle=e=>{switch(e){case a.Error:return"errorWithSnap";case a.Insights:return"insightsFromSnap";case a.Description:return"descriptionFromSnap";case a.Warning:return"warningFromSnap";default:return"contentFromSnap"}}}}},{package:"$root$",file:"ui/helpers/constants/snaps/delineator.ts"}],[5364,{"./delineator":5363,"./insights":5365},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var a=e("./delineator");Object.keys(a).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in n&&n[e]===a[e]||Object.defineProperty(n,e,{enumerable:!0,get:function(){return a[e]}}))}));var r=e("./insights");Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in n&&n[e]===r[e]||Object.defineProperty(n,e,{enumerable:!0,get:function(){return r[e]}}))}))}}},{package:"$root$",file:"ui/helpers/constants/snaps/index.js"}],[5365,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.InsightWarningLanguage=void 0;n.InsightWarningLanguage={confirming:{noun:"transaction",imperative:"confirm"},signing:{noun:"signature",imperative:"sign"}}}}},{package:"$root$",file:"ui/helpers/constants/snaps/insights.ts"}],[5369,{"../../constants/routes":5361,"prop-types":3997,react:4243,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=l;var a=s(e("react")),r=s(e("prop-types")),o=e("react-router-dom"),i=e("../../constants/routes");function s(e){return e&&e.__esModule?e:{default:e}}function l(e){const{isUnlocked:t,completedOnboarding:n}=e;switch(!0){case t&&n:return a.default.createElement(o.Route,e);case!n:return a.default.createElement(o.Redirect,{to:{pathname:i.ONBOARDING_ROUTE}});default:return a.default.createElement(o.Redirect,{to:{pathname:i.UNLOCK_ROUTE}})}}l.propTypes={isUnlocked:r.default.bool,completedOnboarding:r.default.bool}}}},{package:"$root$",file:"ui/helpers/higher-order-components/authenticated/authenticated.component.js"}],[5370,{"./authenticated.component":5369,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=e("react-redux"),o=(a=e("./authenticated.component"))&&a.__esModule?a:{default:a};n.default=(0,r.connect)((e=>{const{metamask:{isUnlocked:t,completedOnboarding:n}}=e;return{isUnlocked:t,completedOnboarding:n}}))(o.default)}}},{package:"$root$",file:"ui/helpers/higher-order-components/authenticated/authenticated.container.js"}],[5371,{"./authenticated.container":5370},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./authenticated.container"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/helpers/higher-order-components/authenticated/index.js"}],[5372,{"prop-types":3997,react:4243,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=s;var a=i(e("react")),r=i(e("prop-types")),o=e("react-router-dom");function i(e){return e&&e.__esModule?e:{default:e}}function s({flag:e,redirectRoute:t,...n}){return e?a.default.createElement(o.Route,n):a.default.createElement(o.Redirect,{to:{pathname:t}})}s.propTypes={flag:r.default.bool.isRequired,redirectRoute:r.default.string.isRequired}}}},{package:"$root$",file:"ui/helpers/higher-order-components/feature-toggled-route.js"}],[5373,{"./initialized.container":5375},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./initialized.container"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/helpers/higher-order-components/initialized/index.js"}],[5374,{"../../constants/routes":5361,"prop-types":3997,react:4243,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=l;var a=s(e("react")),r=s(e("prop-types")),o=e("react-router-dom"),i=e("../../constants/routes");function s(e){return e&&e.__esModule?e:{default:e}}function l(e){return e.completedOnboarding?a.default.createElement(o.Route,e):a.default.createElement(o.Redirect,{to:{pathname:i.ONBOARDING_ROUTE}})}l.propTypes={completedOnboarding:r.default.bool}}}},{package:"$root$",file:"ui/helpers/higher-order-components/initialized/initialized.component.js"}],[5375,{"./initialized.component":5374,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=e("react-redux"),o=(a=e("./initialized.component"))&&a.__esModule?a:{default:a};n.default=(0,r.connect)((e=>{const{metamask:{completedOnboarding:t}}=e;return{completedOnboarding:t}}))(o.default)}}},{package:"$root$",file:"ui/helpers/higher-order-components/initialized/initialized.container.js"}],[5376,{"./with-modal-props":5377},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./with-modal-props"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/helpers/higher-order-components/with-modal-props/index.js"}],[5377,{"../../../store/actions":5998,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e){return(0,a.connect)(o,i)(e)};var a=e("react-redux"),r=e("../../../store/actions");const o=e=>{const{appState:t}=e,{props:n}=t.modal.modalState;return{...n}},i=e=>({hideModal:()=>e((0,r.hideModal)())})}}},{package:"$root$",file:"ui/helpers/higher-order-components/with-modal-props/with-modal-props.js"}],[5378,{"../../../app/scripts/translate":255,"../../../shared/constants/hardware-wallets":4501,"../../../shared/constants/keyring":4502,"../../../shared/constants/network":4507,"../../components/component-library":4955,"../constants/design-system":5355},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.getAccountLabel=function(e,t){var n;if(!t)return null;switch(e){case i.KeyringType.hdKeyTree:return null;case i.KeyringType.imported:return(0,l.t)("imported");case i.KeyringType.qr:return s.HardwareKeyringNames.qr;case i.KeyringType.trezor:return s.HardwareKeyringNames.trezor;case i.KeyringType.ledger:return s.HardwareKeyringNames.ledger;case i.KeyringType.lattice:return s.HardwareKeyringNames.lattice;case i.KeyringType.snap:var a;return null!==(n=t.metadata.snap)&&void 0!==n&&n.name?`${null===(a=t.metadata.snap)||void 0===a?void 0:a.name} (${(0,l.t)("beta")})`:`${(0,l.t)("snaps")} (${(0,l.t)("beta")})`;default:return null}},n.getAccountNameErrorMessage=function(e,t,n,r){const o=e.some((e=>e.metadata.name.toLowerCase()===n.toLowerCase())),i=""===n,s=t.t("newAccountNumberName").replace(" $1",""),l=new RegExp(`^\\s*${s} \\d+\\s*$`,"iu").test(n),c=n.toLowerCase()===r.toLowerCase()||!o&&!l&&!i;let u;c?u=a.InvisibleCharacter:o?u=t.t("accountNameDuplicate"):l?u=t.t("accountNameReserved"):i&&(u=t.t("required"));return{isValidAccountName:c,errorMessage:u}},n.getAvatarNetworkColor=function(e){switch(e){case r.GOERLI_DISPLAY_NAME:return o.BackgroundColor.goerli;case r.LINEA_GOERLI_DISPLAY_NAME:return o.BackgroundColor.lineaGoerli;case r.LINEA_SEPOLIA_DISPLAY_NAME:return o.BackgroundColor.lineaSepolia;case r.SEPOLIA_DISPLAY_NAME:return o.BackgroundColor.sepolia;default:return undefined}};var a=e("../../components/component-library"),r=e("../../../shared/constants/network"),o=e("../constants/design-system"),i=e("../../../shared/constants/keyring"),s=e("../../../shared/constants/hardware-wallets"),l=e("../../../app/scripts/translate")}}},{package:"$root$",file:"ui/helpers/utils/accounts.js"}],[5380,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.camelCaseToCapitalize=function(e=""){return e.replace(/([A-Z])/gu," $1").replace(/^./u,(e=>e.toUpperCase()))}}}},{package:"$root$",file:"ui/helpers/utils/common.util.js"}],[5382,{buffer:3028},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){(function(e){(function(){Object.defineProperty(n,"__esModule",{value:!0}),n.ExportableContentType=void 0,n.exportAsFile=async function(t,n,r){if(!a[r])throw new Error(`Unsupported file type: ${r}`);"undefined"!=typeof window&&void 0!==window.showSaveFilePicker&&void 0!==window.Blob?await async function(e,t,n){const r=new window.Blob([t],{contentType:n}),o=a[n],i=await window.showSaveFilePicker({suggestedName:e,types:[{description:e,accept:{[n]:[o]}}]}),s=await i.createWritable();await s.write(r),await s.close()}(t,n,r):function(t,n,a){const r=e.from(n,"utf8").toString("base64"),o=document.createElement("a");o.href=`data:${a};Base64,${r}`,o.download=t,document.body.appendChild(o),o.click(),document.body.removeChild(o)}(t,n,r)};const t=n.ExportableContentType={JSON:"application/json",TXT:"text/plain"},a={[t.JSON]:".json",[t.TXT]:".txt"}}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"$root$",file:"ui/helpers/utils/export-utils.js"}],[5384,{"../../../shared/constants/gas":4500,"../../../shared/modules/Numeric":4533,"../../../shared/modules/conversion.utils":4537,"./util":5399,"bignumber.js":2933,lodash:3836},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.addTenPercentAndRound=d,n.editGasModeIsSpeedUpOrCancel=function(e){return e===i.EditGasModes.cancel||e===i.EditGasModes.speedUp},n.formatGasFeeOrFeeRange=function(e,{precision:t=2}={}){if((0,c.isNullish)(e)||Array.isArray(e)&&0===e.length)return null;const n=Array.isArray(e)?e.slice(0,2):[e],a=Array.isArray(t)?t.slice(0,2):(0,r.times)(n.length,(0,r.constant)(t));return`${(0,r.uniq)((0,r.zip)(n,a).map((([e,t])=>t===undefined?e:(0,c.roundToDecimalPlacesRemovingExtraZeroes)(e,t)))).join(" - ")} GWEI`},n.gasEstimateGreaterThanGasUsedPlusTenPercent=void 0,n.isMetamaskSuggestedGasEstimate=function(e){return[i.GasRecommendations.high,i.GasRecommendations.medium,i.GasRecommendations.low].includes(e)};var a,r=e("lodash"),o=(a=e("bignumber.js"))&&a.__esModule?a:{default:a},i=e("../../../shared/constants/gas"),s=e("../../../shared/modules/conversion.utils"),l=e("../../../shared/modules/Numeric"),c=e("./util");const u=new l.Numeric(1.1,10);function d(e){return e===undefined?undefined:new l.Numeric(e,16).times(u).round(0).toPrefixedHexString()}n.gasEstimateGreaterThanGasUsedPlusTenPercent=(e,t,n)=>{var a;let{maxFeePerGas:r}=e;r=new o.default((0,s.hexWEIToDecGWEI)(d(r)));const i=null==t||null===(a=t[n])||void 0===a?void 0:a.suggestedMaxFeePerGas;return(0,c.bnGreaterThan)(i,r)}}}},{package:"$root$",file:"ui/helpers/utils/gas.js"}],[5385,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.isHardwareKeyring=function(e=""){return e.includes("Hardware")}}}},{package:"$root$",file:"ui/helpers/utils/hardware.js"}],[5388,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;n.default=()=>window.matchMedia("screen and (max-width: 575px)").matches}}},{package:"$root$",file:"ui/helpers/utils/is-mobile-view.js"}],[5390,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.getMatchedSymbols=n.getMatchedChain=void 0;n.getMatchedChain=(e,t)=>t.find((t=>t.chainId.toString()===e));n.getMatchedSymbols=(e,t)=>t.reduce(((t,n)=>{var a;n.chainId.toString()===e&&t.push(null===(a=n.nativeCurrency)||void 0===a?void 0:a.symbol);return t}),[])}}},{package:"$root$",file:"ui/helpers/utils/network-helper.ts"}],[5391,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.getNftImageAlt=void 0;n.getNftImageAlt=({name:e,tokenId:t,description:n})=>n??`${e} ${t}`}}},{package:"$root$",file:"ui/helpers/utils/nfts.js"}],[5392,{"../../../shared/constants/network":4507,"../../../shared/lib/transactions-controller-utils":4531,"../../../shared/modules/conversion.utils":4537,"../constants/metamask-notifications/metamask-notifications":5358,"@ethersproject/providers":521,"bignumber.js":2933},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.formatAmount=n.createTextItems=void 0,n.formatIsoDateString=function(e){const t=new Date(e);return new Intl.DateTimeFormat("en-US",{year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric",hour12:!0}).format(t)},n.formatMenuItemDate=function(e){const t=new Date;if(c(t,e))return new Intl.DateTimeFormat("en",{hour:"numeric",minute:"numeric",hour12:!1}).format(e);if(u(t,e))return new Intl.RelativeTimeFormat("en",{numeric:"auto"}).format(-1,"day");if(d(t,e))return new Intl.DateTimeFormat("en",{month:"short",day:"numeric"}).format(e);return new Intl.DateTimeFormat("en",{year:"numeric",month:"short",day:"numeric"}).format(e)},n.getLeadingZeroCount=n.getAmount=void 0,n.getNetworkDetailsByChainId=function(e){const t=(o.NETWORK_TO_NAME_MAP[e]??"").split(" ")[0]??"",n=o.CHAIN_ID_TO_CURRENCY_SYMBOL_MAP[e],a=o.CHAIN_ID_TO_NETWORK_IMAGE_URL_MAP[e],r=e&&(s=i.SUPPORTED_NOTIFICATION_BLOCK_EXPLORERS,l=e,l in s)?i.SUPPORTED_NOTIFICATION_BLOCK_EXPLORERS[e]:undefined;var s,l;return{nativeCurrencyName:t,nativeCurrencySymbol:n,nativeCurrencyLogo:a,nativeCurrencyAddress:"0x0000000000000000000000000000000000000000",blockExplorerConfig:r}},n.getRandomKey=n.getNetworkNameByChainId=n.getNetworkFees=void 0,n.getRpcUrlByChainId=h,n.getUsdAmount=void 0,n.hasNetworkFeeFields=g,n.isIpfsURL=void 0;var a=e("bignumber.js"),r=e("@ethersproject/providers"),o=e("../../../shared/constants/network"),i=e("../constants/metamask-notifications/metamask-notifications"),s=e("../../../shared/lib/transactions-controller-utils"),l=e("../../../shared/modules/conversion.utils");const c=(e,t)=>e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()&&e.getDate()===t.getDate(),u=(e,t)=>{const n=new Date(e);return n.setDate(e.getDate()-1),c(n,t)},d=(e,t)=>e.getFullYear()===t.getFullYear();const f={decimalPlaces:4},p=e=>{var t;return(null===(t=(new a.BigNumber(e,10).toString(10).split(".")[1]??"").match(/^0*/u))||void 0===t||null===(t=t[0])||void 0===t?void 0:t.length)||0};n.getLeadingZeroCount=p;const m=(e,t)=>{const n={...f,...t},a=p(e),r=e.toString().includes(".")||a>0||e.toString().includes("e-");if(e>999)return Intl.NumberFormat("en-US",{notation:"compact",compactDisplay:"short",maximumFractionDigits:2}).format(e);if(r){const t=(o=n.decimalPlaces,Boolean(null==n?void 0:n.shouldEllipse)&&a>=o),r=Intl.NumberFormat("en-US",{minimumFractionDigits:t?n.decimalPlaces:undefined,maximumFractionDigits:n.decimalPlaces}).format(e);return t?`${r}...`:r}var o;return e.toString()};n.formatAmount=m;n.getRandomKey=(e,t)=>`${e.replace(/\s+/gu,"_").replace(/[^\w-]/gu,"")}-${t}-${Math.random().toString(36).substring(2,15)}`;n.createTextItems=(e,t)=>({items:e.map(((e,t)=>({text:e,highlighted:t%2==1}))),variant:t});n.getAmount=(e,t,n)=>{if(!e||!t)return"";const a=(0,s.calcTokenAmount)(e,parseFloat(t)).toNumber();return m(a,n)};n.getUsdAmount=(e,t,n)=>{if(!e||!t||!n)return"";const a=(0,s.calcTokenAmount)(e,parseFloat(t)).toNumber(),r=parseFloat(`${a}`)*parseFloat(n);return m(r)};function h(e){const t=o.FEATURED_RPCS.find((t=>t.chainId===e));if(t)return t.rpcUrl;switch(e){case o.CHAIN_IDS.MAINNET:return o.MAINNET_RPC_URL;case o.CHAIN_IDS.GOERLI:return o.GOERLI_RPC_URL;case o.CHAIN_IDS.SEPOLIA:return o.SEPOLIA_RPC_URL;case o.CHAIN_IDS.LINEA_GOERLI:return o.LINEA_GOERLI_RPC_URL;case o.CHAIN_IDS.LINEA_SEPOLIA:return o.LINEA_SEPOLIA_RPC_URL;case o.CHAIN_IDS.LINEA_MAINNET:return o.LINEA_MAINNET_RPC_URL;case o.CHAIN_IDS.LOCALHOST:return o.LOCALHOST_RPC_URL;default:return o.MAINNET_RPC_URL}}function g(e){return"network_fee"in e.data}n.getNetworkNameByChainId=e=>o.NETWORK_TO_NAME_MAP[e];n.getNetworkFees=async e=>{if(!g(e))throw new Error("Invalid notification type");const t=(0,l.decimalToHex)(e.chain_id),n={url:h(`0x${t}`),headers:{"Infura-Source":"metamask/metamask"}},a=new r.JsonRpcProvider(n);if(!a)throw new Error(`No provider found for chainId ${t}`);try{const t=await a.getTransactionReceipt(e.tx_hash),n=await a.getTransaction(e.tx_hash),r=await a.getBlock(e.block_number),o=(t,n)=>m(parseFloat(t)*parseFloat(e.data.network_fee.native_token_price_in_usd),{decimalPlaces:n||4}),i=(0,l.hexWEIToDecETH)(t.gasUsed.mul(t.effectiveGasPrice)._hex),s=o(i),c=n.gasLimit.toNumber(),u=t.gasUsed.toNumber(),d=r.baseFeePerGas?(0,l.hexWEIToDecGWEI)(r.baseFeePerGas._hex):null,f=r.baseFeePerGas?(0,l.hexWEIToDecGWEI)(t.effectiveGasPrice.sub(r.baseFeePerGas)._hex):null;return{transactionFeeInEth:i,transactionFeeInUsd:s,gasLimit:c,gasUsed:u,baseFee:d,priorityFee:f,maxFeePerGas:n.maxFeePerGas?(0,l.hexWEIToDecGWEI)(n.maxFeePerGas._hex):null}}catch(e){throw new Error(`Error fetching network fees for chainId ${t}: ${e}`)}};n.isIpfsURL=e=>e.startsWith("ipfs://")}}},{package:"$root$",file:"ui/helpers/utils/notification.util.ts"}],[5393,{"../../../app/scripts/controllers/permissions":31,"../../../shared/constants/permissions":4511,"../../components/component-library":4955,"../../components/ui/tooltip":5310,"../constants/design-system":5355,"./util":5399,"@metamask/controller-utils":1163,"@metamask/snaps-rpc-methods":2086,"@metamask/snaps-utils":2163,classnames:3049,"deep-freeze-strict":3173,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.getPermissionDescription=n.PERMISSION_DESCRIPTIONS=void 0,n.getRightIcon=function({rightIcon:e,description:t,weight:n}){if(e&&t)return r.default.createElement(u.default,{wrapperClassName:(0,l.default)("permission__tooltip-icon",1===n&&"permission__tooltip-icon__warning"),html:r.default.createElement("div",null,t),position:"bottom"},"string"==typeof e?r.default.createElement("i",{className:e}):e);if(e)return"string"==typeof e?r.default.createElement("i",{className:(0,l.default)(e,"permission__tooltip-icon")}):e;return null},n.getWeightedPermissions=function({t:e,permissions:t,getSubjectName:n,subjectName:a}){return Object.entries(t).reduce(((t,[r,o])=>t.concat(_({t:e,permissionName:r,permissionValue:o,subjectName:a,getSubjectName:n}))),[]).sort(((e,t)=>e.weight-t.weight))};var a=h(e("deep-freeze-strict")),r=h(e("react")),o=e("@metamask/snaps-rpc-methods"),i=e("@metamask/snaps-utils"),s=e("@metamask/controller-utils"),l=h(e("classnames")),c=e("../../../shared/constants/permissions"),u=h(e("../../components/ui/tooltip")),d=e("../../components/component-library"),f=e("../constants/design-system"),p=e("../../../app/scripts/controllers/permissions"),m=e("./util");function h(e){return e&&e.__esModule?e:{default:e}}const g=Symbol("unknown"),y=r.default.createElement(d.Icon,{name:d.IconName.Info,size:d.IconSize.Sm,color:f.IconColor.iconMuted});function b(e){return r.default.createElement(d.Text,{fontWeight:f.FontWeight.Medium,variant:f.TextVariant.inherit,color:f.TextColor.inherit},e)}const v=n.PERMISSION_DESCRIPTIONS=(0,a.default)({[c.RestrictedMethods.eth_accounts]:({t:e})=>({label:e("permission_ethereumAccounts"),leftIcon:d.IconName.Eye,weight:3}),[p.PermissionNames.permittedChains]:({t:e})=>({label:e("permission_walletSwitchEthereumChain"),leftIcon:d.IconName.Wifi,weight:3}),[c.RestrictedMethods.snap_dialog]:({t:e,subjectName:t})=>({label:e("permission_dialog"),description:e("permission_dialogDescription",[b(t)]),leftIcon:d.IconName.Messages,weight:4}),[c.RestrictedMethods.snap_notify]:({t:e,subjectName:t})=>({label:e("permission_notifications"),description:e("permission_notificationsDescription",[b(t)]),leftIcon:d.IconName.Notification,weight:4}),[c.RestrictedMethods.snap_getBip32PublicKey]:({t:e,permissionValue:t,subjectName:n})=>t.caveats[0].value.map((({path:t,curve:a},o)=>{var s;const l={leftIcon:d.IconName.SecuritySearch,weight:2,id:`public-key-access-bip32-${null===(s=t.join("-"))||void 0===s?void 0:s.replace(/'/gu,"h")}-${a}-${o}`,warningMessageSubject:(0,i.getSnapDerivationPathName)(t,a)??`${e("unknownNetworkForKeyEntropy")} ${t.join("/")} (${a})`},c=(0,i.getSnapDerivationPathName)(t,a);return c?{...l,label:e("permission_viewNamedBip32PublicKeys",[r.default.createElement(d.Text,{color:f.TextColor.inherit,variant:f.TextVariant.inherit,fontWeight:f.FontWeight.Medium,key:t.join("/")},c)]),description:e("permission_viewBip32PublicKeysDescription",[r.default.createElement(d.Text,{color:f.TextColor.inherit,variant:f.TextVariant.inherit,fontWeight:f.FontWeight.Medium,key:`description-${t.join("/")}`},c),b(n)])}:{...l,label:e("permission_viewBip32PublicKeys",[r.default.createElement(d.Text,{color:f.TextColor.inherit,variant:f.TextVariant.inherit,fontWeight:f.FontWeight.Medium,key:t.join("/")},`${e("unknownNetworkForKeyEntropy")} `," ",t.join("/")),a]),description:e("permission_viewBip32PublicKeysDescription",[r.default.createElement(d.Text,{color:f.TextColor.inherit,variant:f.TextVariant.inherit,fontWeight:f.FontWeight.Medium,key:`description-${t.join("/")}`},t.join("/")),b(n)])}})),[c.RestrictedMethods.snap_getBip32Entropy]:({t:e,permissionValue:t,subjectName:n})=>t.caveats[0].value.map((({path:t,curve:a},o)=>{var s;const l={leftIcon:d.IconName.Key,weight:1,id:`key-access-bip32-${null===(s=t.join("-"))||void 0===s?void 0:s.replace(/'/gu,"h")}-${a}-${o}`,warningMessageSubject:(0,i.getSnapDerivationPathName)(t,a)??`${e("unknownNetworkForKeyEntropy")} ${t.join("/")} (${a})`},c=(0,i.getSnapDerivationPathName)(t,a);return c?{...l,label:e("permission_manageBip32Keys",[r.default.createElement(d.Text,{color:f.TextColor.inherit,variant:f.TextVariant.inherit,fontWeight:f.FontWeight.Medium,key:t.join("/")},c)]),description:e("permission_manageBip44AndBip32KeysDescription",[b(n)])}:{...l,label:e("permission_manageBip32Keys",[r.default.createElement(d.Text,{color:f.TextColor.inherit,variant:f.TextVariant.inherit,fontWeight:f.FontWeight.Medium,key:t.join("/")},`${e("unknownNetworkForKeyEntropy")} ${t.join("/")} (${a})`)]),description:e("permission_manageBip44AndBip32KeysDescription",[b(n)])}})),[c.RestrictedMethods.snap_getBip44Entropy]:({t:e,permissionValue:t,subjectName:n})=>t.caveats[0].value.map((({coinType:t},a)=>({label:e("permission_manageBip44Keys",[r.default.createElement(d.Text,{color:f.TextColor.inherit,variant:f.TextVariant.inherit,fontWeight:f.FontWeight.Medium,key:`coin-type-${t}`},(0,i.getSlip44ProtocolName)(t)??`${e("unknownNetworkForKeyEntropy")} m/44'/${t}'`)]),description:e("permission_manageBip44AndBip32KeysDescription",[b(n)]),leftIcon:d.IconName.Key,weight:1,id:`key-access-bip44-${t}-${a}`,warningMessageSubject:(0,i.getSlip44ProtocolName)(t)??`${e("unknownNetworkForKeyEntropy")} m/44'/${t}'`}))),[c.RestrictedMethods.snap_getEntropy]:({t:e,subjectName:t})=>({label:e("permission_getEntropy",[b(t)]),description:e("permission_getEntropyDescription",[b(t)]),leftIcon:d.IconName.SecurityKey,weight:4}),[c.RestrictedMethods.snap_manageState]:({t:e,subjectName:t})=>({label:e("permission_manageState"),description:e("permission_manageStateDescription",[b(t)]),leftIcon:d.IconName.AddSquare,weight:4}),[c.RestrictedMethods.snap_getLocale]:({t:e,subjectName:t})=>({label:e("permission_getLocale"),description:e("permission_getLocaleDescription",[b(t)]),leftIcon:d.IconName.Global,weight:4}),[c.RestrictedMethods.wallet_snap]:({t:e,permissionValue:t,getSubjectName:n})=>{const a=t.caveats[0].value,o={leftIcon:d.IconName.Flash,rightIcon:y};return Object.keys(a).map((t=>{const a=n(t);return a?{...o,label:e("permission_accessNamedSnap",[r.default.createElement(d.Text,{color:f.TextColor.inherit,variant:f.TextVariant.inherit,fontWeight:f.FontWeight.Medium,key:t},a)]),description:e("permission_accessSnapDescription",[a])}:{...o,label:e("permission_accessSnap",[t]),description:e("permission_accessSnapDescription",[t])}}))},[c.EndowmentPermissions["endowment:network-access"]]:({t:e,subjectName:t})=>({label:e("permission_accessNetwork"),description:e("permission_accessNetworkDescription",[b(t)]),leftIcon:d.IconName.Wifi,weight:3}),[c.EndowmentPermissions["endowment:webassembly"]]:({t:e,subjectName:t})=>({label:e("permission_webAssembly"),description:e("permission_webAssemblyDescription",[b(t)]),leftIcon:d.IconName.DocumentCode,rightIcon:null,weight:3}),[c.EndowmentPermissions["endowment:transaction-insight"]]:({t:e,permissionValue:t,subjectName:n})=>{const a={leftIcon:d.IconName.Speedometer,weight:4},r=[{...a,label:e("permission_transactionInsight"),description:e("permission_transactionInsightDescription",[b(n)])}];return(0,s.isNonEmptyArray)(t.caveats)&&t.caveats[0].type===i.SnapCaveatType.TransactionOrigin&&t.caveats[0].value&&r.push({...a,label:e("permission_transactionInsightOrigin"),description:e("permission_transactionInsightOriginDescription",[b(n)]),leftIcon:d.IconName.Explore}),r},[c.EndowmentPermissions["endowment:cronjob"]]:({t:e,subjectName:t})=>({label:e("permission_cronjob"),description:e("permission_cronjobDescription",[b(t)]),leftIcon:d.IconName.Clock,weight:3}),[c.EndowmentPermissions["endowment:ethereum-provider"]]:({t:e,subjectName:t})=>({label:e("permission_ethereumProvider"),description:e("permission_ethereumProviderDescription",[b(t)]),leftIcon:d.IconName.Ethereum,weight:3,id:"ethereum-provider-access",message:e("ethereumProviderAccess",[b(t)])}),[c.EndowmentPermissions["endowment:rpc"]]:({t:e,permissionValue:t,subjectName:n})=>{const a={leftIcon:d.IconName.Hierarchy,weight:3},{snaps:i,dapps:s,allowedOrigins:l}=(0,o.getRpcCaveatOrigins)(t),c=[];if(i&&c.push({...a,label:e("permission_rpc",[e("otherSnaps"),b(n)]),description:e("permission_rpcDescription",[e("otherSnaps"),b(n)])}),s&&c.push({...a,label:e("permission_rpc",[e("websites"),b(n)]),description:e("permission_rpcDescription",[e("websites"),b(n)])}),(null==l?void 0:l.length)>0){let t;if(1===l.length)t=r.default.createElement(d.Text,{color:f.TextColor.inherit,variant:f.TextVariant.inherit,fontWeight:f.FontWeight.Medium},l[0]);else{const n=l.slice(-1);t=e("permission_rpcDescriptionOriginList",[l.slice(0,-1).map((e=>r.default.createElement(r.default.Fragment,null,r.default.createElement(d.Text,{color:f.TextColor.inherit,variant:f.TextVariant.inherit,fontWeight:f.FontWeight.Medium},e),", "))),r.default.createElement(d.Text,{color:f.TextColor.inherit,variant:f.TextVariant.inherit,fontWeight:f.FontWeight.Medium,key:"2"},n)])}c.push({...a,label:e("permission_rpc",[t,b(n)]),description:e("permission_rpcDescription",[t,b(n)])})}return c},[c.EndowmentPermissions["endowment:lifecycle-hooks"]]:({t:e,subjectName:t})=>({label:e("permission_lifecycleHooks"),description:e("permission_lifecycleHooksDescription",[b(t)]),leftIcon:d.IconName.Hierarchy,weight:4}),[c.EndowmentPermissions["endowment:page-home"]]:({t:e,subjectName:t})=>({label:e("permission_homePage"),description:e("permission_homePageDescription",[b(t)]),leftIcon:d.IconName.Home,weight:4}),[c.RestrictedMethods.snap_manageAccounts]:({t:e,subjectName:t})=>({label:e("permission_manageAccounts"),description:e("permission_manageAccountsDescription",[b(t)]),leftIcon:d.IconName.UserCircleAdd,rightIcon:null,weight:3}),[c.EndowmentPermissions["endowment:keyring"]]:({t:e,subjectName:t})=>({label:e("permission_keyring"),description:e("permission_keyringDescription",[b(t)]),leftIcon:d.IconName.UserCircleAdd,rightIcon:null,weight:3}),[c.EndowmentPermissions["endowment:name-lookup"]]:({t:e})=>({label:e("permission_nameLookup"),description:e("permission_nameLookupDescription"),leftIcon:d.IconName.Search,weight:4}),[c.EndowmentPermissions["endowment:signature-insight"]]:({t:e,permissionValue:t,subjectName:n})=>{const a={leftIcon:d.IconName.Warning,weight:3},r=[{...a,label:e("permission_signatureInsight"),description:e("permission_signatureInsightDescription",[b(n)])}];return(0,s.isNonEmptyArray)(t.caveats)&&t.caveats.find((e=>e.type===i.SnapCaveatType.SignatureOrigin&&e.value))&&r.push({...a,label:e("permission_signatureInsightOrigin"),description:e("permission_signatureInsightOriginDescription",[b(n)]),leftIcon:d.IconName.Explore}),r},[c.ConnectionPermission.connection_permission]:({t:e,permissionValue:t,subjectName:n})=>Object.keys(t).map((t=>{let a=(0,m.getURLHost)(t);return a||(a=t.replace("npm:","")),{label:e("snapConnectTo",[r.default.createElement(d.Text,{key:"connectToMain",fontWeight:f.FontWeight.Medium,variant:f.TextVariant.inherit,color:f.TextColor.inherit},a)]),description:e("snapConnectionPermissionDescription",[b(n),r.default.createElement(d.Text,{key:"connectToDescription",fontWeight:f.FontWeight.Medium,variant:f.TextVariant.inherit,color:f.TextColor.inherit},a)]),leftIcon:undefined,connection:t,connectionName:a,subjectName:n,weight:3}})),[g]:({t:e,permissionName:t})=>({label:e("permission_unknown",[t??"undefined"]),leftIcon:d.IconName.Question,rightIcon:null,weight:5})}),_=({t:e,permissionName:t,permissionValue:n,subjectName:a,getSubjectName:r})=>{let o=v[g];Object.hasOwnProperty.call(v,t)&&(o=v[t]);const i=o({t:e,permissionName:t,permissionValue:n,subjectName:a,getSubjectName:r});return Array.isArray(i)?i.map((e=>({...e,permissionName:t,permissionValue:n}))):[{...i,permissionName:t,permissionValue:n}]};n.getPermissionDescription=_}}},{package:"$root$",file:"ui/helpers/utils/permission.js"}],[5394,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.getPortfolioUrl=function(e="",t="",n=""){return`https://portfolio.metamask.io/${e}?metamaskEntry=${t}&metametricsId=${n}`}}}},{package:"$root$",file:"ui/helpers/utils/portfolio.js"}],[5395,{"../constants/settings":5362,_process:3992},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){(function(t){(function(){Object.defineProperty(n,"__esModule",{value:!0}),n.getNumberOfSettingRoutesInTab=function(e,t){return s(e,t).length},n.getSettingsRoutes=i,n.handleSettingsRefs=function(e,t,n){const a=s(e,t),r=a.findIndex((e=>e.route.substring(1)===window.location.hash.substring(1)));if(-1===r)return;const o=1===a.length?n:n[r];if(null!=o&&o.current){o.current.scrollIntoView({behavior:"smooth"}),o.current.focus();const e=window.location.hash.split("#")[1];window.location.hash=e}},n.highlightSearchedText=function(){const e=document.getElementById("search-settings"),t=new RegExp(e.value,"gi");[...document.querySelectorAll(".settings-page__header__search__list__item")].forEach((e=>{const n=e.querySelector(".settings-page__header__search__list__item__tab"),a=e.querySelector(".settings-page__header__search__list__item__section");l(n,t),l(a,t)}))};var a,r=(a=e("../constants/settings"))&&a.__esModule?a:{default:a};let o;function i(){return o||(o=r.default.filter((e=>!e.featureFlag||t.env[e.featureFlag])),o)}function s(e,t){return i().filter((n=>n.tabMessage(e)===t))}function l(e,t){if(null!==e){let n=e.innerHTML;n=n.replace("&","&"),n=n.replace(/(|<\/span>)/gim,""),e.innerHTML=n.replace(t,'$&')}}}).call(this)}).call(this,e("_process"))}}},{package:"$root$",file:"ui/helpers/utils/settings-search.js"}],[5400,{"../../../app/scripts/lib/util":120,"../../../shared/constants/app":4493},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=e("../../../shared/constants/app"),r=e("../../../app/scripts/lib/util");n.default=class{static async checkStatus(){const e=(0,r.getEnvironmentType)()===a.ENVIRONMENT_TYPE_POPUP,t=(0,r.getPlatform)()===(a.PLATFORM_FIREFOX||a.PLATFORM_BRAVE),n=(await window.navigator.mediaDevices.enumerateDevices()).filter((e=>"videoinput"===e.kind)),o=n.length>0,i=n.some((e=>e.label&&e.label.length>0));if(o){let n=!0;return(t&&e||e&&!i)&&(n=!1),{permissions:i,environmentReady:n}}const s=new Error("No webcam found");throw s.type="NO_WEBCAM_FOUND",s}}}}},{package:"$root$",file:"ui/helpers/utils/webcam-utils.js"}],[5401,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.openWindow=void 0;n.openWindow=(e,t)=>{window.open(e,t||"_blank","noopener")}}}},{package:"$root$",file:"ui/helpers/utils/window.ts"}],[5402,{"../../shared/constants/desktop":4497,"../helpers/constants/routes":5361,"@metamask/desktop/dist/constants":1188},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.registerOnDesktopDisconnect=void 0;var a=e("@metamask/desktop/dist/constants"),r=e("../helpers/constants/routes"),o=e("../../shared/constants/desktop");n.registerOnDesktopDisconnect=e=>t=>{if(t.type===a.DESKTOP_HOOK_TYPES.DISCONNECT){const t=`${r.DESKTOP_ERROR_ROUTE}/${o.EXTENSION_ERROR_PAGE_TYPES.CONNECTION_LOST}`;e.push(t)}}}}},{package:"$root$",file:"ui/hooks/desktopHooks.js"}],[5403,{"../../selectors":5987,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=n.RampsMetaMaskEntry=void 0;var a=e("react"),r=e("react-redux"),o=e("../../selectors");let i=n.RampsMetaMaskEntry=function(e){return e.BuySellButton="ext_buy_sell_button",e.NftBanner="ext_buy_banner_nfts",e.TokensBanner="ext_buy_banner_tokens",e.ActivityBanner="ext_buy_banner_activity",e}({});n.default=(e=i.BuySellButton)=>{const t=(0,r.useSelector)(o.getCurrentChainId),n=(0,r.useSelector)(o.getMetaMetricsId),s=(0,a.useCallback)((t=>{const a=new URLSearchParams;return a.set("metamaskEntry",e),a.set("chainId",t),n&&a.set("metametricsId",n),`https://portfolio.metamask.io/buy?${a.toString()}`}),[n]);return{openBuyCryptoInPdapp:(0,a.useCallback)((()=>{const e=s(t);global.platform.openTab({url:e})}),[t]),getBuyURI:s}}}}},{package:"$root$",file:"ui/hooks/experiences/useRamps.ts"}],[5404,{"../../selectors":5987,"../../selectors/metamask-notifications/metamask-notifications":5989,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useCounter=function(){const e=i(),t=s(),n=l();return{notificationsCount:e+t+n}};var a=e("react-redux"),r=e("../../selectors/metamask-notifications/metamask-notifications"),o=e("../../selectors");const i=()=>(0,a.useSelector)(o.getUnreadNotificationsCount),s=()=>{const e=(0,a.useSelector)(r.selectIsFeatureAnnouncementsEnabled),t=(0,a.useSelector)(r.getFeatureAnnouncementsUnreadCount);return e?t:0},l=()=>{const e=(0,a.useSelector)(r.selectIsMetamaskNotificationsEnabled),t=(0,a.useSelector)(r.getOnChainMetamaskNotificationsUnreadCount);return e?t:0}}}},{package:"$root$",file:"ui/hooks/metamask-notifications/useCounter.tsx"}],[5405,{"../../selectors/metamask-notifications/authentication":5988,"../../selectors/metamask-notifications/profile-syncing":5990,"../../store/actions":5998,loglevel:3842,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useCreateSession=function(){const e=(0,o.useDispatch)(),t=(0,o.useSelector)(s.selectIsSignedIn),n=(0,o.useSelector)(l.selectIsProfileSyncingEnabled),a=(0,o.useSelector)(s.selectParticipateInMetaMetrics);return{createSession:(0,r.useCallback)((async()=>{if(!t&&(n||a)&&(n||a))try{await e((0,c.performSignIn)())}catch(t){await e((0,c.disableProfileSyncing)());const n=t instanceof Error?t.message:JSON.stringify(t??"");i.default.error(n)}}),[e,t,n,a])}};var a,r=e("react"),o=e("react-redux"),i=(a=e("loglevel"))&&a.__esModule?a:{default:a},s=e("../../selectors/metamask-notifications/authentication"),l=e("../../selectors/metamask-notifications/profile-syncing"),c=e("../../store/actions")}}},{package:"$root$",file:"ui/hooks/metamask-notifications/useCreateSession.ts"}]],[],{}); \ No newline at end of file +LavaPack.loadBundle([[5169,{".":5160,"../../../../../../shared/constants/metametrics":4505,"../../../../../contexts/i18n":5324,"../../../../../contexts/metametrics":5327,"../../../../../ducks/domains":5340,"../../../../../ducks/send":5348,"../../../../../selectors":5987,"../../../../component-library":4955,"../../../../ui/tabs":5296,"../../../address-list-item":5040,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.SendPageRecipient=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=h(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=e("react-redux"),o=e("../../../../../contexts/i18n"),i=e("../../../../../ducks/send"),s=e("../../../../../ducks/domains"),l=e("../../../../component-library"),c=e("../../../../../selectors"),u=e("../../../../ui/tabs"),d=e("../../../address-list-item"),f=e("../../../../../../shared/constants/metametrics"),p=e("../../../../../contexts/metametrics"),m=e(".");function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(h=function(e){return e?n:t})(e)}const g="contacts",y="accounts",b="ENS resolution",v=(e,t,n,r,o)=>a.default.createElement(d.AddressListItem,{address:e,label:t,useConfusable:n===b,onClick:()=>{r((0,i.addHistoryEntry)(`sendFlow - User clicked recipient from ${n}. address: ${e}, nickname ${t}`)),o({event:f.MetaMetricsEventName.sendRecipientSelected,category:f.MetaMetricsEventCategory.Send,properties:{location:"send page recipient screen",inputType:n}}),r((0,i.updateRecipient)({address:e,nickname:t})),r((0,i.updateRecipientUserInput)(e))}});n.SendPageRecipient=()=>{const e=(0,a.useContext)(o.I18nContext),t=(0,r.useDispatch)(),n=(0,a.useContext)(p.MetaMetricsContext),d=(0,r.useSelector)(i.getRecipient),f=(0,r.useSelector)(i.getRecipientUserInput)||"",h=(0,r.useSelector)(s.getDomainResolution),_=(0,r.useSelector)(s.getDomainError),C=(0,r.useSelector)(s.getDomainWarning);let T="";const w=(0,r.useSelector)((e=>(0,c.getAddressBookEntry)(e,h)));h&&null!=w&&w.name&&(T=w.name);const E=_||d.error&&"required"!==d.error,k=!E&&(C||d.warning);let O;return O=d.address?v(d.address,d.nickname,"validated user input",t,n):h&&!d.error?v(h,T||f,b,t,n):a.default.createElement(u.Tabs,{defaultActiveTabKey:f?g:y},a.default.createElement(u.Tab,{tabKey:y,name:e("yourAccounts")},a.default.createElement(m.SendPageYourAccounts,null)),a.default.createElement(u.Tab,{tabKey:g,name:e("contacts"),"data-testid":"send-contacts-tab"},a.default.createElement(m.SendPageAddressBook,null))),a.default.createElement(a.default.Fragment,null,E?a.default.createElement(m.SendPageRow,null,a.default.createElement(l.BannerAlert,{severity:l.BannerAlertSeverity.Danger,"data-testid":"send-recipient-error"},e(_??d.error))):null,k?a.default.createElement(m.SendPageRow,null,a.default.createElement(l.BannerAlert,{severity:l.BannerAlertSeverity.Warning,"data-testid":"send-recipient-warning"},e(C??d.warning))):null,a.default.createElement(l.Box,{className:"multichain-send-page__recipient"},O))}}}},{package:"$root$",file:"ui/components/multichain/pages/send/components/recipient.tsx"}],[5170,{"../../../../../helpers/constants/design-system":5355,"../../../../component-library":4955,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.SendPageRow=void 0;var a,r=(a=e("react"))&&a.__esModule?a:{default:a},o=e("../../../../component-library"),i=e("../../../../../helpers/constants/design-system");n.SendPageRow=({children:e})=>r.default.createElement(o.Box,{display:i.Display.Flex,paddingBottom:4,flexDirection:i.FlexDirection.Column},e)}}},{package:"$root$",file:"ui/components/multichain/pages/send/components/send-page-row.tsx"}],[5171,{".":5160,"../../..":5092,"../../../../../../shared/constants/metametrics":4505,"../../../../../contexts/metametrics":5327,"../../../../../ducks/send":5348,"../../../../../selectors":5987,"../../../account-list-menu/account-list-menu":5024,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.SendPageYourAccounts=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=e("react-redux"),o=e("../../../../../selectors"),i=e("../../.."),s=e("../../../../../ducks/send"),l=e("../../../account-list-menu/account-list-menu"),c=e("../../../../../contexts/metametrics"),u=e("../../../../../../shared/constants/metametrics"),d=e(".");function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}n.SendPageYourAccounts=()=>{const e=(0,r.useDispatch)(),t=(0,a.useContext)(c.MetaMetricsContext),n=(0,r.useSelector)(o.getUpdatedAndSortedAccounts),f=(0,r.useSelector)(o.getInternalAccounts),p=(0,l.mergeAccounts)(n,f);return a.default.createElement(d.SendPageRow,null,p.map((n=>a.default.createElement(i.AccountListItem,{account:n,key:n.address,isPinned:Boolean(n.pinned),onClick:()=>{e((0,s.addHistoryEntry)(`sendFlow - User clicked recipient from my accounts. address: ${n.address}, nickname ${n.name}`)),t({event:u.MetaMetricsEventName.sendRecipientSelected,category:u.MetaMetricsEventCategory.Send,properties:{location:"my accounts",inputType:"click"}}),e((0,s.updateRecipient)({address:n.address,nickname:n.name})),e((0,s.updateRecipientUserInput)(n.address))}}))))}}}},{package:"$root$",file:"ui/components/multichain/pages/send/components/your-accounts.tsx"}],[5172,{"./send":5173},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"SendPage",{enumerable:!0,get:function(){return a.SendPage}});var a=e("./send")}}},{package:"$root$",file:"ui/components/multichain/pages/send/index.js"}],[5173,{"../..":5092,"../../../../../shared/constants/metametrics":4505,"../../../../../shared/constants/transaction":4520,"../../../../contexts/i18n":5324,"../../../../contexts/metametrics":5327,"../../../../ducks/history/history":5343,"../../../../ducks/send":5348,"../../../../ducks/send/helpers":5347,"../../../../helpers/constants/routes":5361,"../../../../hooks/useUpdateSwapsState":5451,"../../../../pages/confirmations/send/send.constants":5721,"../../../../selectors":5987,"../../../../store/actions":5998,"../../../component-library":4955,"../page":5152,"./components":5160,react:4243,"react-redux":4199,"react-router-dom":4228,"react-tippy":4239},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.SendPage=void 0;var a,r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=E(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=e("react-redux"),i=e("react-router-dom"),s=e("react-tippy"),l=e("../../../../contexts/i18n"),c=e("../../../component-library"),u=e("../page"),d=e("../../../../ducks/send"),f=e("../../../../../shared/constants/transaction"),p=e("../../../../contexts/metametrics"),m=e("../../../../pages/confirmations/send/send.constants"),h=e("../../../../store/actions"),g=e("../../../../helpers/constants/routes"),y=e("../../../../../shared/constants/metametrics"),b=e("../../../../ducks/history/history"),v=e("../.."),_=(a=e("../../../../hooks/useUpdateSwapsState"))&&a.__esModule?a:{default:a},C=e("../../../../ducks/send/helpers"),T=e("../../../../selectors"),w=e("./components");function E(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(E=function(e){return e?n:t})(e)}n.SendPage=()=>{const e=(0,r.useContext)(l.I18nContext),t=(0,o.useDispatch)(),n=(0,r.useRef)(!1),a=(0,o.useSelector)(d.getDraftTransactionExists),E=(0,o.useSelector)(d.getCurrentDraftTransaction),{sendAsset:k,amount:O,swapQuotesError:M}=E,x=(0,o.useSelector)(d.getDraftTransactionID),N=(0,o.useSelector)(b.getMostRecentOverviewPage),P=(0,o.useSelector)(d.getSendStage),j=(0,C.getIsDraftSwapAndSend)(E),I=(0,i.useHistory)(),S=(0,i.useLocation)(),A=(0,r.useContext)(p.MetaMetricsContext),D=(0,o.useSelector)(d.getSendAnalyticProperties),[L,R]=(0,r.useState)(!1),$=(0,r.useCallback)(((e,n)=>{const a=e.type.toUpperCase();switch(a){case f.TokenStandard.ERC20:case"TOKEN":e.type=f.AssetType.token,e.standard=f.TokenStandard.ERC20;break;case f.TokenStandard.ERC721:e.type=f.AssetType.NFT,e.standard=f.TokenStandard.ERC721,e.isERC721=!0;break;case f.TokenStandard.ERC1155:e.type=f.AssetType.NFT,e.standard=f.TokenStandard.ERC1155;break;default:if("NATIVE"===a)break;e.type=f.AssetType.unknown,e.standard=f.TokenStandard.none}e.image=e.image??e.iconUrl,e.type===f.AssetType.native?t((0,d.updateSendAsset)({type:e.type,details:e,skipComputeEstimatedGasLimit:!1,isReceived:n})):t((0,d.updateSendAsset)({type:e.type??f.AssetType.token,details:{...e,standard:e.standard??f.TokenStandard.ERC20},skipComputeEstimatedGasLimit:!1,isReceived:n})),I.push(g.SEND_ROUTE)}),[t,I]),B=(0,r.useCallback)((()=>{t((0,d.resetSendState)()),R(!1)}),[t]);(0,r.useEffect)((()=>{!1===a&&!1===n.current&&(n.current=!0,t((0,d.startNewDraftTransaction)({type:f.AssetType.native})))}),[a,t]),(0,r.useEffect)((()=>{window.addEventListener("beforeunload",B)}),[B]),(0,r.useEffect)((()=>{if("?scan=true"===S.search){t((0,h.showQrScanner)());const[e]=window.location.href.split("?");window.history.pushState({},null,`${e}`),window.location.hash="#send"}}),[S,t]),(0,r.useEffect)((()=>()=>{t((0,d.resetSendState)()),window.removeEventListener("beforeunload",B)}),[t,B]);const H=()=>{x&&t((0,h.cancelTx)({id:x})),t((0,d.resetSendState)()),A({event:y.MetaMetricsEventName.sendFlowExited,category:y.MetaMetricsEventCategory.Send,properties:{...D}});const e=P===d.SEND_STAGES.EDIT?g.DEFAULT_ROUTE:N;I.push(e)};(0,r.useEffect)((()=>{M&&A({event:y.MetaMetricsEventName.sendSwapQuoteError,category:y.MetaMetricsEventCategory.Send,properties:{...D}})}),[A,M]);const V="knownAddressRecipient"===(0,o.useSelector)(d.getRecipient).warning,F=(0,o.useSelector)(d.getRecipientWarningAcknowledgement),U=V&&!F,W=(0,o.useSelector)(d.getSendErrors),z=(0,o.useSelector)(d.isSendFormInvalid),G=(0,o.useSelector)(T.smartTransactionsListSelector),Z=null==G?void 0:G.find((({status:e})=>e===f.SmartTransactionStatus.pending)),K=W.gasFee===m.INSUFFICIENT_FUNDS_ERROR&&W.amount!==m.INSUFFICIENT_FUNDS_ERROR,q=z&&!K||U||j&&Z,Y=a&&[d.SEND_STAGES.EDIT,d.SEND_STAGES.DRAFT].includes(P),X=(0,r.useCallback)((e=>$(e,!1)),[$]);(0,_.default)();const J=(0,r.useCallback)(((e,n)=>t((0,d.updateSendAmount)(e,n))),[t]);let Q="";return j&&(Q=e(Z?"isSigningOrSubmitting":"sendSwapSubmissionWarning")),r.default.createElement(u.Page,{className:"multichain-send-page"},r.default.createElement(u.Header,{startAccessory:r.default.createElement(c.ButtonIcon,{size:c.ButtonIconSize.Sm,ariaLabel:e("back"),iconName:c.IconName.ArrowLeft,onClick:H})},e("sendAToken")),r.default.createElement(u.Content,null,r.default.createElement(w.SendPageAccountPicker,null),Y&&r.default.createElement(v.AssetPickerAmount,{asset:k,amount:O,onAssetChange:X,onAmountChange:J}),r.default.createElement(c.Box,{marginTop:6},r.default.createElement(w.SendPageRecipientInput,null),Y?r.default.createElement(w.SendPageRecipientContent,{requireContractAddressAcknowledgement:U,onAssetChange:$}):r.default.createElement(w.SendPageRecipient,null))),r.default.createElement(u.Footer,null,r.default.createElement(c.ButtonSecondary,{className:"multichain-send-page__nav-button",onClick:H,size:c.ButtonSecondarySize.Lg,block:!0},P===d.SEND_STAGES.EDIT?e("reject"):e("cancel")),r.default.createElement(s.Tooltip,{key:Q,className:"multichain-send-page__nav-button",title:Q,disabled:!j,arrow:!0,hideOnClick:!1,style:{display:"inline-flex"}},r.default.createElement(c.ButtonPrimary,{onClick:async e=>{e.preventDefault(),R(!0),await t((0,d.signTransaction)(I)),L&&R(!1),A({category:y.MetaMetricsEventCategory.Transactions,event:"Complete",properties:{...D,action:j?"Submit Immediately":"Edit Screen",legacy_event:!0}})},loading:L,size:c.ButtonPrimarySize.Lg,disabled:q||L,block:!0},e(j?"confirm":"continue")))))}}}},{package:"$root$",file:"ui/components/multichain/pages/send/send.js"}],[5174,{"./permission-details-modal":5175},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"PermissionDetailsModal",{enumerable:!0,get:function(){return a.PermissionDetailsModal}});var a=e("./permission-details-modal")}}},{package:"$root$",file:"ui/components/multichain/permission-details-modal/hybrid-compute-sdk.ts"}],[5175,{"../../../helpers/constants/design-system":5355,"../../../helpers/utils/permission":5393,"../../../helpers/utils/util":5399,"../../../hooks/useI18nContext":5427,"../../../selectors":5987,"../../app/permission-cell":4726,"../../component-library":4955,lodash:3836,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.PermissionDetailsModal=void 0;var a=p(e("react")),r=e("lodash"),o=e("react-redux"),i=e("../../component-library"),s=e("../../../selectors"),l=e("../../../helpers/utils/util"),c=e("../../../hooks/useI18nContext"),u=e("../../../helpers/utils/permission"),d=p(e("../../app/permission-cell")),f=e("../../../helpers/constants/design-system");function p(e){return e&&e.__esModule?e:{default:e}}n.PermissionDetailsModal=({onClose:e,onClick:t,isOpen:n,account:p,permissions:m})=>{const h=(0,c.useI18nContext)(),g=(0,o.useSelector)(s.getUseBlockie),y=(0,r.flatten)(m.map((({key:e,value:t})=>(0,u.getPermissionDescription)({t:h,permissionName:e,permissionValue:t,subjectName:"",getSubjectName:()=>""}))));return a.default.createElement(i.Modal,{isOpen:n,"data-testid":"permission-details-modal",onClose:e},a.default.createElement(i.ModalOverlay,null),a.default.createElement(i.ModalContent,null,a.default.createElement(i.ModalHeader,{onClose:e},a.default.createElement(i.Box,{display:f.Display.Flex,alignItems:f.AlignItems.center,justifyContent:f.JustifyContent.center,gap:2},a.default.createElement(i.AvatarAccount,{size:i.AvatarAccountSize.Sm,address:p.address,variant:g?i.AvatarAccountVariant.Blockies:i.AvatarAccountVariant.Jazzicon}),a.default.createElement(i.Text,{variant:f.TextVariant.headingSm},p.metadata.name?p.metadata.name:(0,l.shortenAddress)(p.address)))),a.default.createElement(i.ModalBody,null,y.map(((e,t)=>a.default.createElement(d.default,{permissionName:e.permissionName,title:e.label,description:e.description,weight:e.weight,avatarIcon:e.leftIcon,dateApproved:(null==e?void 0:e.permissionValue).date,key:`${e.permissionName}-${t}`})))),a.default.createElement(i.ModalFooter,null,a.default.createElement(i.Button,{startIconName:i.IconName.Logout,variant:i.ButtonVariant.Secondary,onClick:t,size:i.ButtonSize.Lg,danger:!0,block:!0,"data-testid":"disconnect"},h("disconnect")))))}}}},{package:"$root$",file:"ui/components/multichain/permission-details-modal/permission-details-modal.tsx"}],[5176,{"./product-tour-popover":5177},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"ProductTour",{enumerable:!0,get:function(){return a.ProductTour}});var a=e("./product-tour-popover")}}},{package:"$root$",file:"ui/components/multichain/product-tour-popover/index.js"}],[5177,{"../../../helpers/constants/design-system":5355,"../../../hooks/useI18nContext":5427,"../../component-library":4955,"../../ui/menu":5264,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.ProductTour=void 0;var a=u(e("react")),r=u(e("classnames")),o=u(e("prop-types")),i=e("../../../helpers/constants/design-system"),s=e("../../component-library"),l=e("../../../hooks/useI18nContext"),c=e("../../ui/menu");function u(e){return e&&e.__esModule?e:{default:e}}function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const _=(0,l.useI18nContext)();return a.default.createElement(c.Menu,d({className:(0,r.default)("multichain-product-tour-menu",{"multichain-product-tour-menu--rtl":"rtl"===b},e),anchorElement:h,onHide:m,"data-testid":"multichain-product-tour-menu-popover"},v),a.default.createElement(s.Box,{className:"multichain-product-tour-menu__container",backgroundColor:i.BackgroundColor.infoDefault,borderRadius:i.BorderRadius.LG,padding:4},a.default.createElement(s.Box,{borderWidth:1,className:"multichain-product-tour-menu__arrow",display:i.Display.Flex,justifyContent:i.JustifyContent.center,alignItems:i.AlignItems.center,style:{right:p}}),a.default.createElement(s.Box,{display:i.Display.Flex,alignItems:i.AlignItems.center,className:"multichain-product-tour-menu__header"},t?a.default.createElement(s.ButtonIcon,{iconName:s.IconName.ArrowLeft,size:i.Size.SM,color:i.IconColor.infoInverse,onClick:y,className:"multichain-product-tour-menu__previous-icon","data-testid":"multichain-product-tour-menu-popover-prevIcon"}):null,a.default.createElement(s.Text,{textAlign:i.TextAlign.Center,variant:i.TextVariant.headingSm,width:i.BlockSize.Full,color:i.TextColor.infoInverse},n)),a.default.createElement(s.Text,{paddingBottom:2,paddingTop:2,color:i.TextColor.infoInverse,variant:i.TextVariant.bodyMd},o),a.default.createElement(s.Box,{display:i.Display.Flex,alignItems:i.AlignItems.center,justifyContent:i.JustifyContent.spaceBetween},a.default.createElement(s.Text,{paddingBottom:2,paddingTop:2,color:i.TextColor.infoInverse,variant:i.TextVariant.bodyMd,"data-testid":"multichain-product-tour-menu-popover-step-counter"},u&&f?`${u} / ${f}`:null),a.default.createElement(s.ButtonBase,{backgroundColor:i.BackgroundColor.primaryInverse,color:i.TextColor.primaryDefault,className:"multichain-product-tour-menu__button",onClick:g},_("recoveryPhraseReminderConfirm")))))};n.ProductTour=f,f.propTypes={anchorElement:o.default.instanceOf(window.Element),closeMenu:o.default.func.isRequired,className:o.default.string,prevIcon:o.default.bool,title:o.default.string,description:o.default.string,currentStep:o.default.string,totalSteps:o.default.string,positionObj:o.default.string,onClick:o.default.func,prevClick:o.default.func,productTourDirection:o.default.string}}}},{package:"$root$",file:"ui/components/multichain/product-tour-popover/product-tour-popover.js"}],[5178,{"../../../../shared/constants/app":4493,"../../../../shared/constants/metametrics":4505,"../../../contexts/metametrics":5327,"../../../ducks/locale/locale":5345,"../../../helpers/constants/design-system":5355,"../../../hooks/experiences/useRamps":5403,"../../../hooks/useI18nContext":5427,"../../../selectors":5987,"../../component-library":4955,classnames:3049,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.RampsCard=n.RAMPS_CARD_VARIANT_TYPES=n.RAMPS_CARD_VARIANTS=void 0;var a=b(e("react")),r=g(e("prop-types")),o=e("react-redux"),i=g(e("classnames")),s=e("../../component-library"),l=e("../../../helpers/constants/design-system"),c=e("../../../hooks/useI18nContext"),u=e("../../../selectors"),d=e("../../../../shared/constants/metametrics"),f=e("../../../contexts/metametrics"),p=b(e("../../../hooks/experiences/useRamps")),m=e("../../../../shared/constants/app"),h=e("../../../ducks/locale/locale");function g(e){return e&&e.__esModule?e:{default:e}}function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(y=function(e){return e?n:t})(e)}function b(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=y(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}const v=n.RAMPS_CARD_VARIANT_TYPES={TOKEN:"token",NFT:"nft",ACTIVITY:"activity"},_=n.RAMPS_CARD_VARIANTS={[v.TOKEN]:{illustrationSrc:"./images/ramps-card-token-illustration.png",gradient:"linear-gradient(90deg, #0189EC 0%, #4B7AED 35%, #6774EE 58%, #706AF4 80.5%, #7C5BFC 100%)",title:"fundYourWallet",body:"fundYourWalletDescription"},[v.NFT]:{illustrationSrc:"./images/ramps-card-nft-illustration.png",gradient:"linear-gradient(90deg, #F6822D 0%, #F894A7 52%, #ED94FB 92.5%)",title:"getStartedWithNFTs",body:"getStartedWithNFTsDescription"},[v.ACTIVITY]:{illustrationSrc:"./images/ramps-card-activity-illustration.png",gradient:"linear-gradient(90deg, #57C5DC 0%, #06BFDD 49.39%, #35A9C7 100%)",title:"startYourJourney",body:"startYourJourneyDescription"}},C={[v.TOKEN]:p.RampsMetaMaskEntry.TokensBanner,[v.NFT]:p.RampsMetaMaskEntry.NftBanner,[v.ACTIVITY]:p.RampsMetaMaskEntry.ActivityBanner},T=({variant:e})=>{const t=(0,c.useI18nContext)(),{gradient:n,illustrationSrc:r,title:g,body:y}=_[e],{openBuyCryptoInPdapp:b}=(0,p.default)(C[e]),v=(0,a.useContext)(f.MetaMetricsContext),T=(0,o.useSelector)(h.getCurrentLocale),{chainId:w,nickname:E}=(0,o.useSelector)(u.getCurrentNetwork),{symbol:k="ETH"}=(0,o.useSelector)(u.getSwapsDefaultToken);(0,a.useEffect)((()=>{v({event:d.MetaMetricsEventName.EmptyBuyBannerDisplayed,category:d.MetaMetricsEventCategory.Navigation,properties:{chain_id:w,locale:T,network:E,referrer:m.ORIGIN_METAMASK}})}),[T,w,E,v]);const O=(0,a.useCallback)((()=>{b(),v({event:d.MetaMetricsEventName.NavBuyButtonClicked,category:d.MetaMetricsEventCategory.Navigation,properties:{location:`${e} tab`,text:`Buy ${k}`,chain_id:w,token_symbol:k}})}),[w,b,k,v,e]);return a.default.createElement(s.Box,{className:(0,i.default)("ramps-card",`ramps-card-${e}`),display:l.Display.Flex,flexDirection:l.FlexDirection.Column,gap:2,borderRadius:l.BorderRadius.LG,margin:2,style:{background:`url(${r}) no-repeat right bottom / contain,\n linear-gradient(rgba(0, 0, 0, 0.12),rgba(0, 0, 0, 0.12)), ${n}`}},a.default.createElement(s.Text,{className:"ramps-card__title",variant:l.TextVariant.headingSm},t(g,[k])),a.default.createElement(s.Text,{className:"ramps-card__body"},t(y,[k])),a.default.createElement(s.ButtonBase,{className:"ramps-card__cta-button",onClick:O},t("buyToken",[k])))};n.RampsCard=T,T.propTypes={variant:r.default.oneOf(Object.values(v))}}}},{package:"$root$",file:"ui/components/multichain/ramps-card/ramps-card.js"}],[5179,{"./receive-modal":5180},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"ReceiveModal",{enumerable:!0,get:function(){return a.ReceiveModal}});var a=e("./receive-modal")}}},{package:"$root$",file:"ui/components/multichain/receive-modal/index.js"}],[5180,{"../../../helpers/constants/design-system":5355,"../../../hooks/useI18nContext":5427,"../../../selectors":5987,"../../component-library":4955,"../../ui/qr-code-view":5285,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.ReceiveModal=void 0;var a=d(e("react")),r=e("react-redux"),o=d(e("prop-types")),i=e("../../component-library"),s=d(e("../../ui/qr-code-view")),l=e("../../../hooks/useI18nContext"),c=e("../../../selectors"),u=e("../../../helpers/constants/design-system");function d(e){return e&&e.__esModule?e:{default:e}}const f=({address:e,onClose:t})=>{const n=(0,l.useI18nContext)(),o=(0,r.useSelector)(c.getUseBlockie),{metadata:{name:d}}=(0,r.useSelector)((t=>(0,c.getInternalAccountByAddress)(t,e)));return a.default.createElement(i.Modal,{isOpen:!0,onClose:t},a.default.createElement(i.ModalOverlay,null),a.default.createElement(i.ModalContent,null,a.default.createElement(i.ModalHeader,{marginBottom:4,onClose:t},n("receive")),a.default.createElement(i.Box,{display:u.Display.Flex,width:u.BlockSize.Full,justifyContent:u.JustifyContent.center},a.default.createElement(i.AvatarAccount,{variant:o?i.AvatarAccountVariant.Blockies:i.AvatarAccountVariant.Jazzicon,address:e,size:i.AvatarAccountSize.Lg})),a.default.createElement(i.Text,{marginTop:4,variant:u.TextVariant.bodyLgMedium,textAlign:u.TextAlign.Center},d),a.default.createElement(i.Box,{display:u.Display.Flex,alignItems:u.AlignItems.center,flexDirection:u.FlexDirection.Column,paddingInlineEnd:4,paddingInlineStart:4},a.default.createElement(s.default,{Qr:{data:e}}))))};n.ReceiveModal=f,f.propTypes={address:o.default.string.isRequired,onClose:o.default.func.isRequired}}}},{package:"$root$",file:"ui/components/multichain/receive-modal/receive-modal.js"}],[5181,{"./receive-token-link":5182},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"ReceiveTokenLink",{enumerable:!0,get:function(){return a.ReceiveTokenLink}});var a=e("./receive-token-link")}}},{package:"$root$",file:"ui/components/multichain/receive-token-link/hybrid-compute-sdk.ts"}],[5182,{"../../../../shared/constants/app":4493,"../../../../shared/constants/metametrics":4505,"../../../contexts/metametrics":5327,"../../../ducks/locale/locale":5345,"../../../helpers/constants/design-system":5355,"../../../hooks/useI18nContext":5427,"../../../selectors":5987,"../../component-library":4955,"../receive-modal":5179,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.ReceiveTokenLink=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=m(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=e("react-redux"),o=e("../../component-library"),i=e("../../../helpers/constants/design-system"),s=e("../../../hooks/useI18nContext"),l=e("../../../contexts/metametrics"),c=e("../../../../shared/constants/metametrics"),u=e("../../../selectors"),d=e("../receive-modal"),f=e("../../../../shared/constants/app"),p=e("../../../ducks/locale/locale");function m(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(m=function(e){return e?n:t})(e)}function h(){return h=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const t=(0,a.useContext)(l.MetaMetricsContext),n=(0,s.useI18nContext)(),m=(0,r.useSelector)(u.getCurrentNetwork),g=(0,r.useSelector)(p.getCurrentLocale),{address:y}=(0,r.useSelector)(u.getSelectedAccount),[b,v]=(0,a.useState)(!1);return(0,a.useEffect)((()=>{t({event:c.MetaMetricsEventName.EmptyReceiveBannerDisplayed,category:c.MetaMetricsEventCategory.Navigation,properties:{chain_id:m.chainId,locale:g,network:m.nickname,referrer:f.ORIGIN_METAMASK}})}),[]),a.default.createElement(a.default.Fragment,null,b&&a.default.createElement(d.ReceiveModal,{address:y,onClose:()=>v(!1)}),a.default.createElement(o.Box,h({display:i.Display.Flex,alignItems:i.AlignItems.center},e),a.default.createElement(o.ButtonLink,{size:o.ButtonLinkSize.Md,startIconName:o.IconName.Add,onClick:()=>{v(!0)}},n("receiveTokensCamelCase"))))}}}},{package:"$root$",file:"ui/components/multichain/receive-token-link/receive-token-link.tsx"}],[5183,{"./toast":5184},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"Toast",{enumerable:!0,get:function(){return a.Toast}}),Object.defineProperty(n,"ToastContainer",{enumerable:!0,get:function(){return a.ToastContainer}});var a=e("./toast")}}},{package:"$root$",file:"ui/components/multichain/toast/hybrid-compute-sdk.ts"}],[5184,{"../../../../shared/constants/preferences":4512,"../../../helpers/constants/design-system":5355,"../../component-library":4955,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.ToastContainer=n.Toast=void 0;var a,r=(a=e("react"))&&a.__esModule?a:{default:a},o=e("../../../../shared/constants/preferences"),i=e("../../component-library"),s=e("../../../helpers/constants/design-system");n.ToastContainer=({children:e})=>r.default.createElement(i.Box,{className:"toasts-container"},e);n.Toast=({startAdornment:e,text:t,actionText:n,onActionClick:a,onClose:l})=>{const{theme:c}=document.documentElement.dataset;return r.default.createElement(i.BannerBase,{"data-theme":c===o.ThemeType.light?o.ThemeType.dark:o.ThemeType.light,onClose:l},r.default.createElement(i.Box,{display:s.Display.Flex,gap:4},e,r.default.createElement(i.Box,null,r.default.createElement(i.Text,{className:"toast-text"},t),n&&a?r.default.createElement(i.ButtonLink,{onClick:a},n):null)))}}}},{package:"$root$",file:"ui/components/multichain/toast/toast.tsx"}],[5185,{"./token-list-item":5186},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"TokenListItem",{enumerable:!0,get:function(){return a.TokenListItem}});var a=e("./token-list-item")}}},{package:"$root$",file:"ui/components/multichain/token-list-item/index.js"}],[5186,{"../../../../app/scripts/lib/util":120,"../../../../shared/constants/app":4493,"../../../../shared/constants/metametrics":4505,"../../../../shared/constants/network":4507,"../../../contexts/metametrics":5327,"../../../ducks/metamask/metamask":5346,"../../../helpers/constants/design-system":5355,"../../../helpers/constants/routes":5361,"../../../helpers/utils/portfolio":5394,"../../../hooks/useI18nContext":5427,"../../../selectors":5987,"../../../store/actions":5998,"../../component-library":4955,"../../component-library/modal-content/deprecated":4963,"../../component-library/modal-header/deprecated":4972,"../../ui/tooltip":5310,classnames:3049,"prop-types":3997,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.TokenListItem=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=k(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=E(e("prop-types")),o=e("react-redux"),i=e("react-router-dom"),s=E(e("classnames")),l=e("../../../helpers/constants/design-system"),c=e("../../component-library"),u=e("../../component-library/modal-content/deprecated"),d=e("../../component-library/modal-header/deprecated"),f=e("../../../selectors"),p=E(e("../../ui/tooltip")),m=e("../../../hooks/useI18nContext"),h=e("../../../contexts/metametrics"),g=e("../../../../shared/constants/metametrics"),y=e("../../../../shared/constants/network"),b=e("../../../helpers/constants/routes"),v=e("../../../store/actions"),_=e("../../../../shared/constants/app"),C=e("../../../../app/scripts/lib/util"),T=e("../../../ducks/metamask/metamask"),w=e("../../../helpers/utils/portfolio");function E(e){return e&&e.__esModule?e:{default:e}}function k(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(k=function(e){return e?n:t})(e)}const O=({className:e,onClick:t,tokenSymbol:n,tokenImage:r,primary:E,secondary:k,title:O,tooltipText:M,isOriginalTokenSymbol:x,isNativeCurrency:N=!1,isStakeable:P=!1})=>{var j;const I=(0,m.useI18nContext)(),S=(0,o.useSelector)(f.getNativeCurrencyImage),A=(0,a.useContext)(h.MetaMetricsContext),D=(0,o.useSelector)(f.getMetaMetricsId),L=(0,o.useSelector)(f.getCurrentChainId),R=N&&!x,$=(0,o.useDispatch)(),[B,H]=(0,a.useState)(!1),V=(0,C.getEnvironmentType)(),F=(0,o.useSelector)(T.getProviderConfig),{useNativeCurrencyAsPrimaryCurrency:U}=(0,o.useSelector)(f.getPreferences),W=V===_.ENVIRONMENT_TYPE_FULLSCREEN,z=(0,i.useHistory)(),G=O===y.CURRENCY_SYMBOLS.ETH&&x?I("networkNameEthereum"):O,Z=a.default.createElement(c.Box,{as:"button",backgroundColor:l.BackgroundColor.transparent,"data-testid":`staking-entrypoint-${L}`,display:l.Display.InlineFlex,flexDirection:l.FlexDirection.Row,alignItems:l.AlignItems.center,gap:1,paddingInline:0,tabIndex:"0",onClick:e=>{e.preventDefault(),e.stopPropagation();const t=(0,w.getPortfolioUrl)("stake","ext_stake_button",D);global.platform.openTab({url:t}),A({event:g.MetaMetricsEventName.StakingEntryPointClicked,category:g.MetaMetricsEventCategory.Tokens,properties:{location:"Token List Item",text:"Stake",chain_id:L,token_symbol:n}})}},a.default.createElement(c.Text,{as:"span"},"•"),a.default.createElement(c.Text,{as:"span",color:l.TextColor.primaryDefault},I("stake")),a.default.createElement(c.Icon,{name:c.IconName.Stake,size:c.IconSize.Sm,color:l.IconColor.primaryDefault})),K=(0,o.useSelector)(f.getCurrentNetwork),q=(0,o.useSelector)(f.getTestNetworkBackgroundColor);return a.default.createElement(c.Box,{className:(0,s.default)("multichain-token-list-item",e),display:l.Display.Flex,flexDirection:l.FlexDirection.Column,gap:4,"data-testid":"multichain-token-list-item",title:M?I(M):undefined},a.default.createElement(c.Box,{className:"multichain-token-list-item__container-cell",display:l.Display.Flex,flexDirection:l.FlexDirection.Row,padding:4,as:"a","data-testid":"multichain-token-list-button",href:"#",onClick:e=>{e.preventDefault(),B||(t&&t(),A({category:g.MetaMetricsEventCategory.Tokens,event:g.MetaMetricsEventName.TokenDetailsOpened,properties:{location:"Home",chain_id:L,token_symbol:n}}))}},a.default.createElement(c.BadgeWrapper,{badge:a.default.createElement(c.AvatarNetwork,{size:c.AvatarNetworkSize.Xs,name:null==K?void 0:K.nickname,src:null==K||null===(j=K.rpcPrefs)||void 0===j?void 0:j.imageUrl,backgroundColor:q,borderColor:S?l.BorderColor.borderMuted:l.BorderColor.borderDefault}),marginRight:3},a.default.createElement(c.AvatarToken,{name:n,src:r,showHalo:!0,borderColor:r?undefined:l.BorderColor.borderDefault})),a.default.createElement(c.Box,{className:"multichain-token-list-item__container-cell--text-container",display:l.Display.Flex,flexDirection:l.FlexDirection.Column,width:l.BlockSize.Full,style:{flexGrow:1,overflow:"hidden"}},a.default.createElement(c.Box,{display:l.Display.Flex,flexDirection:l.FlexDirection.Row,justifyContent:l.JustifyContent.spaceBetween,gap:1},a.default.createElement(c.Box,{width:P?l.BlockSize.Half:l.BlockSize.OneThird,display:l.Display.InlineBlock},(null==O?void 0:O.length)>12?a.default.createElement(p.default,{position:"bottom",html:O,tooltipInnerClassName:"multichain-token-list-item__tooltip"},a.default.createElement(c.Text,{as:"span",fontWeight:l.FontWeight.Medium,variant:l.TextVariant.bodyMd,ellipsis:!0},P?a.default.createElement(a.default.Fragment,null,n," ",Z):n)):a.default.createElement(c.Text,{as:"span",fontWeight:l.FontWeight.Medium,variant:l.TextVariant.bodyMd,ellipsis:!0},P?a.default.createElement(c.Box,{display:l.Display.InlineBlock},n," ",Z):n),a.default.createElement(c.Text,{variant:l.TextVariant.bodyMd,color:l.TextColor.textAlternative,"data-testid":"multichain-token-list-item-token-name",ellipsis:!0},G)),R?a.default.createElement(c.Box,{display:l.Display.Flex,flexDirection:l.FlexDirection.Column,width:P?l.BlockSize.Half:l.BlockSize.TwoThirds,alignItems:l.AlignItems.flexEnd},a.default.createElement(c.ButtonIcon,{iconName:c.IconName.Danger,onClick:e=>{e.preventDefault(),e.stopPropagation(),H(!0)},color:l.IconColor.errorDefault,size:c.IconSize.Md,backgroundColor:l.BackgroundColor.transparent,"data-testid":"scam-warning"}),U?a.default.createElement(c.Text,{fontWeight:l.FontWeight.Medium,variant:l.TextVariant.bodyMd,width:P?l.BlockSize.Half:l.BlockSize.TwoThirds,textAlign:l.TextAlign.End,"data-testid":"multichain-token-list-item-secondary-value",ellipsis:P},k):a.default.createElement(c.Text,{"data-testid":"multichain-token-list-item-value",color:l.TextColor.textAlternative,variant:l.TextVariant.bodyMd,textAlign:l.TextAlign.End},E," ",N?"":n)):a.default.createElement(c.Box,{display:l.Display.Flex,flexDirection:l.FlexDirection.Column,width:P?l.BlockSize.Half:l.BlockSize.TwoThirds,alignItems:l.AlignItems.flexEnd},a.default.createElement(c.Text,{fontWeight:l.FontWeight.Medium,variant:l.TextVariant.bodyMd,width:P?l.BlockSize.Half:l.BlockSize.TwoThirds,textAlign:l.TextAlign.End,"data-testid":"multichain-token-list-item-secondary-value",ellipsis:P},k),a.default.createElement(c.Text,{"data-testid":"multichain-token-list-item-value",color:l.TextColor.textAlternative,variant:l.TextVariant.bodyMd,textAlign:l.TextAlign.End},E," ",N?"":n))),a.default.createElement(c.Box,{display:l.Display.Flex,flexDirection:l.FlexDirection.Row,justifyContent:l.JustifyContent.spaceBetween,gap:1}))),B?a.default.createElement(c.Modal,{isOpen:!0},a.default.createElement(c.ModalOverlay,null),a.default.createElement(u.ModalContent,null,a.default.createElement(d.ModalHeader,{onClose:()=>H(!1)},I("nativeTokenScamWarningTitle")),a.default.createElement(c.Box,{marginTop:4,marginBottom:4},I("nativeTokenScamWarningDescription",[n])),a.default.createElement(c.Box,null,a.default.createElement(c.ButtonSecondary,{onClick:()=>{$((0,v.setSelectedNetworkConfigurationId)(F.id)),W?z.push(b.NETWORKS_ROUTE):global.platform.openExtensionInBrowser(b.NETWORKS_ROUTE)},block:!0},I("nativeTokenScamWarningConversion"))))):null)};n.TokenListItem=O,O.propTypes={className:r.default.string,onClick:r.default.func,tokenSymbol:r.default.string,title:r.default.string,tooltipText:r.default.string,tokenImage:r.default.string,primary:r.default.string,secondary:r.default.string,isOriginalTokenSymbol:r.default.bool,isNativeCurrency:r.default.bool,isStakeable:r.default.bool}}}},{package:"$root$",file:"ui/components/multichain/token-list-item/token-list-item.js"}],[5187,{"../../../helpers/constants/common":5353,"../../../helpers/constants/design-system":5355,"../../../hooks/useI18nContext":5427,"../../app/user-preferenced-currency-display":4880,"../../component-library":4955,"../identicon":5247,"../tooltip":5310,classnames:3049,lodash:3836,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=h(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=m(e("prop-types")),o=m(e("classnames")),i=e("lodash"),s=e("../../../hooks/useI18nContext"),l=m(e("../identicon")),c=m(e("../../app/user-preferenced-currency-display")),u=e("../../../helpers/constants/common"),d=m(e("../tooltip")),f=e("../../component-library"),p=e("../../../helpers/constants/design-system");function m(e){return e&&e.__esModule?e:{default:e}}function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(h=function(e){return e?n:t})(e)}const g=({selectNewAccountViaModal:e,accounts:t,addressLastConnectedMap:n,selectedAccounts:r,nativeCurrency:i,allAreSelected:m,deselectAll:h,selectAll:g,handleAccountClick:y})=>{const b=(0,s.useI18nContext)(),v=(0,a.useRef)(null);(0,a.useLayoutEffect)((()=>{var e;null===(e=v.current)||void 0===e||e.scrollIntoView({behavior:"smooth"})}),[]);const[_]=r,C=()=>{let n=!1,i=!1;return m()?n=!0:0===r.size?n=!1:i=!0,a.default.createElement("div",{className:(0,o.default)({"choose-account-list__header--one-item":1===t.length,"choose-account-list__header--multiple-items":t.length>1})},t.length>1?a.default.createElement("div",{className:"choose-account-list__select-all"},a.default.createElement(f.Checkbox,{className:"choose-account-list__header-check-box","data-testid":"choose-account-list-operate-all-check-box",isChecked:n,isIndeterminate:i,onClick:()=>m()?h():g()}),a.default.createElement(f.Text,{as:"div",className:"choose-account-list__text-grey",color:p.TextColor.textAlternative},b("selectAll")),a.default.createElement(d.default,{position:"bottom",html:a.default.createElement("div",{style:{width:200,padding:4}},b("selectingAllWillAllow"))},a.default.createElement(f.Icon,{name:f.IconName.Info,color:p.IconColor.iconMuted,className:"info-circle",marginInlineStart:2}))):null,a.default.createElement(f.ButtonLink,{color:p.TextColor.infoDefault,variant:p.TextVariant.bodyMdMedium,style:{cursor:"pointer"},onClick:()=>e(y)},b("newAccount")))};return a.default.createElement("div",{className:"choose-account-list"},a.default.createElement(C,null),a.default.createElement("div",{className:"choose-account-list__wrapper"},a.default.createElement(f.Box,{className:"choose-account-list__list",style:{overflowX:"hidden"}},t.map(((e,t)=>{const{address:o,addressLabel:s,balance:m}=e,h=r.has(o);return a.default.createElement(f.Box,{display:p.Display.Flex,width:p.BlockSize.Full,key:`choose-account-list-${t}`,onClick:()=>y(o),className:"choose-account-list__account",ref:h&&o===_?v:null,backgroundColor:h?p.Color.primaryMuted:p.BackgroundColor.backgroundDefault},a.default.createElement(f.Box,{display:p.Display.Flex,width:p.BlockSize.Full,alignItems:p.AlignItems.center},a.default.createElement(f.Checkbox,{isChecked:h}),a.default.createElement(f.Box,{marginLeft:2},a.default.createElement(l.default,{diameter:34,address:o})),a.default.createElement(f.Box,{display:p.Display.Flex,justifyContent:p.JustifyContent.spaceBetween,width:p.BlockSize.Full,paddingLeft:3,style:{minWidth:0}},a.default.createElement(f.Box,{display:p.Display.Flex,flexDirection:p.FlexDirection.Column,width:p.BlockSize.Full},a.default.createElement(f.Text,{variant:p.TextVariant.bodyMdMedium,style:{textWrap:"nowrap"},ellipsis:!0},s),a.default.createElement(f.Box,{display:p.Display.Flex},a.default.createElement(c.default,{type:u.PRIMARY,value:m,style:{color:"var(--color-text-alternative)",flexWrap:"nowrap"},suffix:i,numberOfDecimals:2,ethNumberOfDecimals:5,textProps:{color:p.TextColor.textAlternative,variant:p.TextVariant.bodySm},suffixProps:{color:p.TextColor.textAlternative,variant:p.TextVariant.bodySm}})))),n[o]?a.default.createElement(d.default,{title:`${b("lastConnected")} ${n[o]}`},a.default.createElement(f.Icon,{name:f.IconName.Info,color:p.IconColor.iconMuted,className:"info-circle",marginInlineStart:2})):null))})))))};g.propTypes={accounts:r.default.arrayOf(r.default.shape({address:r.default.string,addressLabel:r.default.string,lastConnectedDate:r.default.string,balance:r.default.string})).isRequired,selectNewAccountViaModal:r.default.func.isRequired,addressLastConnectedMap:r.default.object,nativeCurrency:r.default.string.isRequired,selectedAccounts:r.default.object.isRequired,allAreSelected:r.default.func.isRequired,deselectAll:r.default.func.isRequired,selectAll:r.default.func.isRequired,handleAccountClick:r.default.func.isRequired};n.default=(0,a.memo)(g,((e,t)=>(0,i.isEqual)(e.selectedAccounts,t.selectedAccounts)))}}},{package:"$root$",file:"ui/components/ui/account-list/account-list.js"}],[5188,{"./account-list":5187},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./account-list"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/ui/account-list/index.js"}],[5189,{"../../../helpers/constants/design-system":5355,"../../../hooks/useI18nContext":5427,"../../../selectors":5987,"../icon/info-icon.component":5238,"../tooltip":5310,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=f;var a=d(e("react")),r=e("react-redux"),o=d(e("prop-types")),i=d(e("../tooltip")),s=e("../../../selectors"),l=d(e("../icon/info-icon.component")),c=e("../../../hooks/useI18nContext"),u=e("../../../helpers/constants/design-system");function d(e){return e&&e.__esModule?e:{default:e}}function f({address:e}){const t=(0,r.useSelector)(s.getSelectedAccount),n=(0,c.useI18nContext)();return t.address===e?null:a.default.createElement(i.default,{position:"bottom",html:a.default.createElement("p",null,n("notCurrentAccount")),wrapperClassName:"account-mismatch-warning__tooltip-wrapper",containerClassName:"account-mismatch-warning__tooltip-container"},a.default.createElement("div",{className:"account-mismatch-warning__tooltip-container-icon","data-testid":"account-mismatch-warning-tooltip"},a.default.createElement(l.default,{severity:u.Severity.Warning})))}f.propTypes={address:o.default.string.isRequired}}}},{package:"$root$",file:"ui/components/ui/account-mismatch-warning/account-mismatch-warning.component.js"}],[5190,{"../info-tooltip":5248,"../info-tooltip/info-tooltip-icon":5249,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=f,n.typeHash=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=l(e("prop-types")),o=l(e("classnames")),i=l(e("../info-tooltip")),s=l(e("../info-tooltip/info-tooltip-icon"));function l(e){return e&&e.__esModule?e:{default:e}}function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}const u="actionable-message--with-right-button",d=n.typeHash={warning:"actionable-message--warning",danger:"actionable-message--danger",success:"actionable-message--success",default:""};function f({message:e="",primaryAction:t=null,primaryActionV2:n=null,secondaryAction:r=null,className:l="",infoTooltipText:c="",withRightButton:f=!1,type:p="default",useIcon:m=!1,icon:h,iconFillColor:g="",roundedButtons:y,dataTestId:b,autoHideTime:v=0,onAutoHide:_}){const[C,T]=(0,a.useState)(!0);(0,a.useEffect)((function(){if(0===v)return undefined;const e=setTimeout((()=>{null==_||_(),T(!1)}),v);return function(){clearTimeout(e)}}),[v,_]);const w=(0,o.default)("actionable-message",d[p],f?u:null,l,{"actionable-message--with-icon":m}),E=t&&!r||r&&!t;return C?a.default.createElement("div",{className:w,"data-testid":b},m?h||a.default.createElement(s.default,{fillColor:g}):null,c&&a.default.createElement(i.default,{position:"left",contentText:c,wrapperClassName:"actionable-message__info-tooltip-wrapper"}),a.default.createElement("div",{className:"actionable-message__message"},e),n&&a.default.createElement("button",{className:"actionable-message__action-v2",onClick:n.onClick},n.label),(t||r)&&a.default.createElement("div",{className:(0,o.default)("actionable-message__actions",{"actionable-message__actions--single":E})},t&&a.default.createElement("button",{className:(0,o.default)("actionable-message__action","actionable-message__action--primary",`actionable-message__action-${p}`,{"actionable-message__action--rounded":y}),onClick:t.onClick},t.label),r&&a.default.createElement("button",{className:(0,o.default)("actionable-message__action","actionable-message__action--secondary",`actionable-message__action-${p}`,{"actionable-message__action--rounded":y}),onClick:r.onClick},r.label))):null}f.propTypes={message:r.default.node.isRequired,primaryAction:r.default.shape({label:r.default.string,onClick:r.default.func}),primaryActionV2:r.default.shape({label:r.default.string,onClick:r.default.func}),secondaryAction:r.default.shape({label:r.default.string,onClick:r.default.func}),className:r.default.string,type:r.default.oneOf(Object.keys(d)),withRightButton:r.default.bool,infoTooltipText:r.default.string,useIcon:r.default.bool,icon:r.default.node,iconFillColor:r.default.string,roundedButtons:r.default.bool,dataTestId:r.default.string,autoHideTime:r.default.number,onAutoHide:r.default.func}}}},{package:"$root$",file:"ui/components/ui/actionable-message/actionable-message.js"}],[5191,{"./actionable-message":5190},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./actionable-message"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/ui/actionable-message/index.js"}],[5192,{"../../../../shared/constants/time":4518,"../../../hooks/usePrevious":5436,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=c(e("classnames")),r=c(e("prop-types")),o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=l(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),i=e("../../../hooks/usePrevious"),s=e("../../../../shared/constants/time");function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(l=function(e){return e?n:t})(e)}function c(e){return e&&e.__esModule?e:{default:e}}function u(e){const[t,n]=(0,o.useState)(!1),[r,l]=(0,o.useState)(""),c=(0,i.usePrevious)(e.visible);return(0,o.useEffect)((()=>{!c&&e.visible?(e.msg,l("visible"),n(!0)):c&&!e.visible&&(l("hidden"),setTimeout((e=>{n(!1)}),500*s.MILLISECOND))}),[c,e.msg,e.visible]),t?o.default.createElement("div",{className:(0,a.default)("global-alert",r)},o.default.createElement("a",{className:"msg"},e.msg)):null}u.propTypes={visible:r.default.bool.isRequired,msg:r.default.string};n.default=u}}},{package:"$root$",file:"ui/components/ui/alert/index.js"}],[5193,{"../../../helpers/constants/design-system":5355,classnames:3049,lodash:3836,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=n.ValidTextColors=n.ValidIconColors=n.ValidBorderColors=n.ValidBackgroundColor=n.MultipleTextColors=n.MultipleSizesAndAuto=n.MultipleSizes=n.MultipleJustifyContents=n.MultipleBorderColors=n.MultipleBlockSizes=n.MultipleBackgroundColor=n.MultipleAlignItems=void 0;var a=l(e("react")),r=l(e("prop-types")),o=l(e("classnames")),i=e("lodash"),s=e("../../../helpers/constants/design-system");function l(e){return e&&e.__esModule?e:{default:e}}function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t{if(!t)return null;const a={},r=Array.isArray(t)&&1===t.length?t[0]:undefined,o=(!Array.isArray(t)&&"string"==typeof t||"number"==typeof t?t:undefined)||r;if(o||0===o)a[`${u}--${e}-${o}`]=n(e,o);else switch(t.length){case 4:a[`${u}--${e}-${t[0]}`]=t[0]&&n(e,t[0]),a[`${u}--${s.BREAKPOINTS[1]}:${e}-${t[1]}`]=t[1]&&n(e,t[1]),a[`${u}--${s.BREAKPOINTS[2]}:${e}-${t[2]}`]=t[2]&&n(e,t[2]),a[`${u}--${s.BREAKPOINTS[3]}:${e}-${t[3]}`]=t[3]&&n(e,t[3]);break;case 3:a[`${u}--${e}-${t[0]}`]=t[0]&&n(e,t[0]),a[`${u}--${s.BREAKPOINTS[1]}:${e}-${t[1]}`]=t[1]&&n(e,t[1]),a[`${u}--${s.BREAKPOINTS[2]}:${e}-${t[2]}`]=t[2]&&n(e,t[2]);break;case 2:a[`${u}--${e}-${t[0]}`]=t[0]&&n(e,t[0]),a[`${u}--${s.BREAKPOINTS[1]}:${e}-${t[1]}`]=t[1]&&n(e,t[1]);break;default:console.log(`Invalid array prop length: ${t.length}`)}return a}),((e,t)=>`${e}${t}`)),V=a.default.forwardRef((function({padding:e,paddingTop:t,paddingRight:n,paddingBottom:r,paddingLeft:i,paddingInline:l,paddingInlineStart:d,paddingInlineEnd:f,margin:p,marginTop:m,marginRight:h,marginBottom:g,marginLeft:y,marginInline:b,marginInlineStart:v,marginInlineEnd:_,borderColor:C,borderWidth:T,borderRadius:w,borderStyle:E,alignItems:k,justifyContent:O,textAlign:M,flexDirection:x=s.FlexDirection.Row,flexWrap:N,gap:P,display:j,width:I,height:S,children:A,className:D,backgroundColor:L,color:R,ariaLabel:V,as:F="div",...U},W){const z=(0,o.default)(u,D,p&&H("margin",p,$),m&&H("margin-top",m,$),h&&H("margin-right",h,$),g&&H("margin-bottom",g,$),y&&H("margin-left",y,$),b&&H("margin-inline",b,$),v&&H("margin-inline-start",v,$),_&&H("margin-inline-end",_,$),e&&H("padding",e,$),t&&H("padding-top",t,$),n&&H("padding-right",n,$),r&&H("padding-bottom",r,$),i&&H("padding-left",i,$),l&&H("padding-inline",l,$),d&&H("padding-inline-start",d,$),f&&H("padding-inline-end",f,$),j&&H("display",j,B),P&&H("gap",P,$),x&&H("flex-direction",x,B),N&&H("flex-wrap",N,B),O&&H("justify-content",O,B),k&&H("align-items",k,B),M&&H("text-align",M,B),I&&H("width",I,B),S&&H("height",S,B),R&&H("color",R,B),L&&H("background-color",L,B),w&&H("rounded",w,B),E&&H("border-style",E,B),C&&H("border-color",C,B),T&&H("border-width",T,$),{"box--border-style-solid":!E&&(Boolean(T)||Boolean(C)),"box--border-width-1":!T&&Boolean(C),"box--display-flex":!j&&(Boolean(O)||Boolean(k))});if("function"==typeof A)return A(z);const G=F,Z={};return"function"==typeof G.type?Z.ariaLabel=V:Z["aria-label"]=V,U["aria-label"]&&(Z["aria-label"]=U["aria-label"]),a.default.createElement(G,c({className:z,ref:W},U,Z),A)}));V.propTypes={children:r.default.oneOfType([r.default.node,r.default.func]),flexDirection:r.default.oneOfType([r.default.oneOf(Object.values(s.FlexDirection)),r.default.arrayOf(r.default.oneOf(Object.values(s.FlexDirection)))]),flexWrap:r.default.oneOfType([r.default.oneOf(Object.values(s.FlexWrap)),r.default.arrayOf(r.default.oneOf(Object.values(s.FlexWrap)))]),gap:T,margin:O,marginTop:O,marginBottom:O,marginRight:O,marginLeft:O,marginInline:O,marginInlineStart:O,marginInlineEnd:O,padding:T,paddingTop:T,paddingBottom:T,paddingRight:T,paddingLeft:T,paddingInline:T,paddingInlineStart:T,paddingInlineEnd:T,borderColor:x,borderWidth:r.default.oneOfType([r.default.number,r.default.arrayOf(r.default.number)]),borderRadius:r.default.oneOfType([r.default.oneOf(Object.values(s.BorderRadius)),r.default.arrayOf(r.default.oneOf(Object.values(s.BorderRadius)))]),borderStyle:r.default.oneOfType([r.default.oneOf(Object.values(s.BorderStyle)),r.default.arrayOf(r.default.oneOf(Object.values(s.BorderStyle)))]),alignItems:D,justifyContent:R,textAlign:r.default.oneOfType([r.default.oneOf(Object.values(s.TextAlign)),r.default.arrayOf(r.default.oneOf(Object.values(s.TextAlign)))]),display:r.default.oneOfType([r.default.oneOf(Object.values(s.Display)),r.default.arrayOf(r.default.oneOf(Object.values(s.Display)))]),width:E,height:E,backgroundColor:P,className:r.default.string,style:r.default.object,as:r.default.string,color:S,ariaLabel:r.default.string,"aria-label":r.default.string};n.default=V}}},{package:"$root$",file:"ui/components/ui/box/box.js"}],[5194,{"./box":5193},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"MultipleSizes",{enumerable:!0,get:function(){return a.MultipleSizes}}),Object.defineProperty(n,"MultipleSizesAndAuto",{enumerable:!0,get:function(){return a.MultipleSizesAndAuto}}),Object.defineProperty(n,"ValidBackgroundColor",{enumerable:!0,get:function(){return a.ValidBackgroundColor}}),Object.defineProperty(n,"ValidBorderColors",{enumerable:!0,get:function(){return a.ValidBorderColors}}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return a.default}});var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=r(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var s=o?Object.getOwnPropertyDescriptor(e,i):null;s&&(s.get||s.set)?Object.defineProperty(a,i,s):a[i]=e[i]}return a.default=e,n&&n.set(e,a),a}(e("./box"));function r(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(r=function(e){return e?n:t})(e)}}}},{package:"$root$",file:"ui/components/ui/box/index.js"}],[5195,{classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=s(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=i(e("prop-types")),o=i(e("classnames"));function i(e){return e&&e.__esModule?e:{default:e}}function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(s=function(e){return e?n:t})(e)}function l(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class c extends a.PureComponent{constructor(...e){super(...e),l(this,"state",{activeButtonIndex:this.props.noButtonActiveByDefault?null:this.props.defaultActiveButtonIndex})}componentDidUpdate(e,t){"number"==typeof this.props.newActiveButtonIndex&&t.activeButtonIndex!==this.props.newActiveButtonIndex&&this.setState({activeButtonIndex:this.props.newActiveButtonIndex})}handleButtonClick(e){this.setState({activeButtonIndex:e})}renderButtons(){const{children:e,disabled:t,variant:n}=this.props;return a.default.Children.map(e,((e,r)=>e&&a.default.createElement("button",{role:"radiogroup"===n?"radio":undefined,"aria-checked":r===this.state.activeButtonIndex,className:(0,o.default)("button-group__button",e.props.className,{"radio-button":"radiogroup"===n,"button-group__button--active":r===this.state.activeButtonIndex,"radio-button--active":"radiogroup"===n&&r===this.state.activeButtonIndex}),"data-testid":`button-group__button${r}`,onClick:()=>{var t,n;this.handleButtonClick(r),null===(t=(n=e.props).onClick)||void 0===t||t.call(n)},disabled:t||e.props.disabled,key:r},e.props.children)))}render(){const{className:e,style:t,variant:n}=this.props;return a.default.createElement("div",{className:(0,o.default)(e,{"radio-button-group":"radiogroup"===n}),role:"radiogroup"===n?"radiogroup":undefined,style:t},this.renderButtons())}}n.default=c,l(c,"propTypes",{defaultActiveButtonIndex:r.default.number,noButtonActiveByDefault:r.default.bool,disabled:r.default.bool,children:r.default.array,className:r.default.string,style:r.default.object,newActiveButtonIndex:r.default.number,variant:r.default.oneOf(["radiogroup","default"])}),l(c,"defaultProps",{className:"button-group",defaultActiveButtonIndex:0,variant:"default"})}}},{package:"$root$",file:"ui/components/ui/button-group/button-group.component.js"}],[5196,{"./button-group.component":5195},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./button-group.component"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/ui/button-group/index.js"}],[5197,{classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=i(e("react")),r=i(e("prop-types")),o=i(e("classnames"));function i(e){return e&&e.__esModule?e:{default:e}}function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const p=d&&"link"!==e&&"inline"!==e;let m="button";return"link"===e?m="a":t&&(f.type="submit"),"link"===e&&"function"==typeof f.onClick&&(f.onKeyUp??(f.onKeyUp=e=>{"Enter"===e.key&&f.onClick()}),f.role??(f.role="button"),f.tabIndex??(f.tabIndex=0)),a.default.createElement(m,s({className:(0,o.default)("button",p&&"btn--rounded",c[e]||l,n&&"btn--large",u)},f),i?a.default.createElement("span",{className:"button__icon"},i):null,r)};u.propTypes={type:r.default.string,submit:r.default.bool,large:r.default.bool,className:r.default.string,children:r.default.node,icon:r.default.node,rounded:r.default.bool};n.default=u}}},{package:"$root$",file:"ui/components/ui/button/button.component.js"}],[5198,{"./button.component":5197},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=(a=e("./button.component"))&&a.__esModule?a:{default:a};n.default=r.default}}},{package:"$root$",file:"ui/components/ui/button/index.js"}],[5199,{"../../../../shared/constants/time":4518,"../../../helpers/constants/design-system":5355,"../../component-library":4955,"../icon/info-icon-inverted.component":5237,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=f;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=d(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=u(e("prop-types")),o=u(e("classnames")),i=u(e("../icon/info-icon-inverted.component")),s=e("../../../helpers/constants/design-system"),l=e("../../../../shared/constants/time"),c=e("../../component-library");function u(e){return e&&e.__esModule?e:{default:e}}function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(d=function(e){return e?n:t})(e)}function f({severity:e,children:t,dismiss:n,isFirst:r,isLast:u,isMultiple:d}){const[f,p]=(0,a.useState)(!1),m=(0,o.default)("callout",`callout--${e}`,{"callout--dismissed":!0===f,"callout--multiple":!0===d,"callout--dismissible":Boolean(n),"callout--first":!0===r||!0!==d,"callout--last":!0===u||!0!==d});return(0,a.useEffect)((()=>{f&&setTimeout((()=>{n()}),500*l.MILLISECOND)}),[f,n]),a.default.createElement("div",{className:m},a.default.createElement(i.default,{severity:e}),a.default.createElement(c.Text,{color:s.TextColor.textDefault,className:"callout__content"},t),n&&a.default.createElement(c.ButtonIcon,{iconName:c.IconName.Close,size:c.IconSize.Sm,className:"callout__close-button",onClick:()=>{p(!0)},onKeyUp:e=>{"Enter"===e.key&&p(!0)}}))}f.propTypes={severity:r.default.oneOf(Object.values(s.Severity)).isRequired,children:r.default.node.isRequired,dismiss:r.default.func,isFirst:r.default.bool,isLast:r.default.bool,isMultiple:r.default.bool}}}},{package:"$root$",file:"ui/components/ui/callout/callout.js"}],[5200,{"./callout":5199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./callout"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/ui/callout/index.js"}],[5201,{classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=n.UNCHECKED=n.INDETERMINATE=n.CHECKED=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=s(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=i(e("prop-types")),o=i(e("classnames"));function i(e){return e&&e.__esModule?e:{default:e}}function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(s=function(e){return e?n:t})(e)}const l={CHECKED:"CHECKED",INDETERMINATE:"INDETERMINATE",UNCHECKED:"UNCHECKED"},{CHECKED:c,INDETERMINATE:u,UNCHECKED:d}=l;n.UNCHECKED=d,n.INDETERMINATE=u,n.CHECKED=c;const f=({className:e,disabled:t,id:n,onClick:r,checked:i,title:s,dataTestId:c})=>{"boolean"==typeof i&&(i=i?l.CHECKED:l.UNCHECKED);const u=(0,a.useRef)(null);return(0,a.useLayoutEffect)((()=>{u.current.indeterminate=i===l.INDETERMINATE}),[i]),a.default.createElement("input",{checked:i===l.CHECKED,className:(0,o.default)("check-box",e,{"far fa-square":i===l.UNCHECKED,"fa fa-check-square check-box__checked":i===l.CHECKED,"fa fa-minus-square check-box__indeterminate":i===l.INDETERMINATE}),disabled:t,id:n,onClick:r?e=>{e.preventDefault(),r()}:null,readOnly:!0,ref:u,title:s,"data-testid":c,type:"checkbox"})};f.propTypes={className:r.default.string,disabled:r.default.bool,id:r.default.string,onClick:r.default.func,checked:r.default.oneOf([...Object.keys(l),!0,!1]).isRequired,title:r.default.string,dataTestId:r.default.string},f.defaultProps={className:undefined,disabled:!1,id:undefined};n.default=f}}},{package:"$root$",file:"ui/components/ui/check-box/check-box.component.js"}],[5202,{"./check-box.component":5201},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"CHECKED",{enumerable:!0,get:function(){return a.CHECKED}}),Object.defineProperty(n,"INDETERMINATE",{enumerable:!0,get:function(){return a.INDETERMINATE}}),Object.defineProperty(n,"UNCHECKED",{enumerable:!0,get:function(){return a.UNCHECKED}}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return a.default}});var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=r(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var s=o?Object.getOwnPropertyDescriptor(e,i):null;s&&(s.get||s.set)?Object.defineProperty(a,i,s):a[i]=e[i]}return a.default=e,n&&n.set(e,a),a}(e("./check-box.component"));function r(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(r=function(e){return e?n:t})(e)}}}},{package:"$root$",file:"ui/components/ui/check-box/index.js"}],[5203,{".":5205,"../../../helpers/constants/design-system":5355,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.ChipWithInput=c;var a=l(e("react")),r=l(e("prop-types")),o=l(e("classnames")),i=e("../../../helpers/constants/design-system"),s=l(e("."));function l(e){return e&&e.__esModule?e:{default:e}}function c({dataTestId:e,className:t,borderColor:n=i.BorderColor.borderDefault,inputValue:r,setInputValue:l}){return a.default.createElement(s.default,{className:(0,o.default)(t,"chip--with-input"),borderColor:n},l&&a.default.createElement("input",{"data-testid":e,type:"text",className:"chip__input",onChange:e=>{l(e.target.value)},value:r}))}c.propTypes={dataTestId:r.default.string,borderColor:r.default.oneOf(Object.values(i.BorderColor)),className:r.default.string,inputValue:r.default.string,setInputValue:r.default.func}}}},{package:"$root$",file:"ui/components/ui/chip/chip-with-input.js"}],[5204,{"../../../helpers/constants/design-system":5355,"../typography":5314,"../url-icon":5319,classnames:3049,lodash:3836,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=f;var a=u(e("react")),r=u(e("prop-types")),o=u(e("classnames")),i=e("lodash"),s=u(e("../typography")),l=u(e("../url-icon")),c=e("../../../helpers/constants/design-system");function u(e){return e&&e.__esModule?e:{default:e}}function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"Enter"===e.key&&g&&g(e)},className:(0,o.default)(t,"chip",{"chip--with-left-icon":Boolean(p),"chip--with-right-icon":Boolean(h),[`chip--border-color-${r}`]:!0,[`chip--background-color-${i}`]:!0,"chip--max-content":y,"chip--display-inline-block":b}),role:v?"button":undefined,tabIndex:v?0:undefined},p&&!m?a.default.createElement("div",{className:"chip__left-icon"},p):null,m?a.default.createElement(l.default,{className:"chip__left-url-icon",url:m}):null,n??a.default.createElement(s.default,d({className:"chip__label",variant:c.TypographyVariant.H6,as:"span",color:c.TextColor.textAlternative},f),u),h?a.default.createElement("div",{className:"chip__right-icon"},h):null)}f.propTypes={dataTestId:r.default.string,borderColor:r.default.oneOf(Object.values(c.BorderColor)),backgroundColor:r.default.oneOf(Object.values(c.BackgroundColor)),label:r.default.string,labelProps:r.default.shape({...(0,i.omit)(c.TypographyVariant.propTypes,["children","className"])}),children:r.default.node,leftIcon:r.default.node,rightIcon:r.default.node,className:r.default.string,onClick:r.default.func,maxContent:r.default.bool,leftIconUrl:r.default.string,displayInlineBlock:r.default.bool}}}},{package:"$root$",file:"ui/components/ui/chip/chip.js"}],[5205,{"./chip":5204},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./chip"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/ui/chip/index.js"}],[5206,{"../../../hooks/useI18nContext":5427,"../tooltip":5310,"prop-types":3997,react:4243,"unicode-confusables":4388},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=l(e("prop-types")),o=e("unicode-confusables"),i=l(e("../tooltip")),s=e("../../../hooks/useI18nContext");function l(e){return e&&e.__esModule?e:{default:e}}function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}const u=({input:e})=>{const t=(0,s.useI18nContext)();return(0,a.useMemo)((()=>(0,o.confusables)(e)),[e]).map((({point:e,similarTo:n},r)=>{const o=""===n;return n===undefined?e:a.default.createElement(i.default,{key:r.toString(),tag:"span",position:"top",title:o?t("confusableZeroWidthUnicode"):t("confusableUnicode",[e,n])},a.default.createElement("span",{className:"confusable__point"},o?"?":e))}))};u.propTypes={input:r.default.string.isRequired};n.default=u}}},{package:"$root$",file:"ui/components/ui/confusable/confusable.component.js"}],[5207,{"./confusable.component":5206},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./confusable.component"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/ui/confusable/index.js"}],[5208,{"../../../../shared/constants/common":4495,"../../../helpers/constants/design-system":5355,"../../../hooks/useCurrencyDisplay":5418,"../../component-library":4955,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=f;var a=u(e("react")),r=u(e("prop-types")),o=u(e("classnames")),i=e("../../../hooks/useCurrencyDisplay"),s=e("../../../../shared/constants/common"),l=e("../../component-library"),c=e("../../../helpers/constants/design-system");function u(e){return e&&e.__esModule?e:{default:e}}function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;ta.default.createElement(a.default.Fragment,{key:`definition-for-${e}`},a.default.createElement(i.default,d({variant:s.TypographyVariant.H6,fontWeight:s.FONT_WEIGHT.BOLD},t,{boxProps:{marginTop:0,marginBottom:1},className:"definition-list__term",as:"dt"}),e,r[e]&&a.default.createElement(l.default,{title:r[e],position:"top",containerClassName:"definition-list__tooltip-wrapper"},a.default.createElement(c.Icon,{name:c.IconName.Info,size:c.IconSize.Sm,marginLeft:1,color:s.IconColor.iconDefault}))),a.default.createElement(i.default,d({variant:s.TypographyVariant.H6,color:s.TextColor.textAlternative},n,{boxProps:{marginTop:0,marginBottom:f[u]},className:"definition-list__definition",overflowWrap:s.OVERFLOW_WRAP.BREAK_WORD,as:"dd"}),p),o[e]&&a.default.createElement(c.Text,{variant:s.TextVariant.bodySm,color:s.TextColor.warningDefault},o[e])))))}p.propTypes={gapSize:r.default.oneOf(Object.values(s.Size)),dictionary:r.default.objectOf(r.default.oneOfType([r.default.string,r.default.number])),tooltips:r.default.objectOf(r.default.string),warnings:r.default.objectOf(r.default.string),termTypography:r.default.shape({...(0,o.omit)(s.TypographyVariant.propTypes,["tag","className","boxProps"])}),definitionTypography:r.default.shape({...(0,o.omit)(s.TypographyVariant.propTypes,["tag","className","boxProps"])})}}}},{package:"$root$",file:"ui/components/ui/definition-list/definition-list.js"}],[5211,{"./definition-list":5210},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./definition-list"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/ui/definition-list/index.js"}],[5212,{"../../../../shared/constants/metametrics":4505,"../../../../shared/constants/network":4507,"../../../ducks/metamask/metamask":5346,"../../../helpers/constants/design-system":5355,"../../../hooks/useI18nContext":5427,"../../../selectors":5987,"../../../store/actions":5998,"../../component-library":4955,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(){const{id:e,chainId:t,rpcUrl:n}=(0,r.useSelector)(s.getCurrentNetwork)??{},[p,h]=(0,a.useState)(!1),g=(0,r.useSelector)(l.getCompletedOnboarding),y=(0,o.useI18nContext)(),b=(0,r.useDispatch)();if(!g||p)return null;let v;t===u.CHAIN_IDS.GOERLI||t===u.CHAIN_IDS.LINEA_GOERLI||t===u.CHAIN_IDS.ARBITRUM_GOERLI||t===u.CHAIN_IDS.OPTIMISM_GOERLI?v={description:y("deprecatedGoerliNtwrkMsg"),actionButtonLabel:y("learnMoreUpperCase"),actionButtonProps:{href:"https://github.com/eth-clients/goerli#goerli-goerlitzer-testnet",externalLink:!0}}:u.DEPRECATED_NETWORKS.includes(t)?v={description:y("deprecatedNetwork")}:t===u.CHAIN_IDS.AURORA&&n.startsWith("https://aurora-mainnet.infura.io/")&&(v={description:y("auroraRpcDeprecationMessage"),actionButtonLabel:y("switchToNetwork",["mainnet.aurora.dev"]),actionButtonOnClick:async()=>{h(!0),await b((0,d.editAndSetNetworkConfiguration)({networkConfigurationId:e,chainId:u.CHAIN_IDS.AURORA,nickname:u.AURORA_DISPLAY_NAME,rpcUrl:"https://mainnet.aurora.dev",ticker:u.CURRENCY_SYMBOLS.ETH,rpcPrefs:{imageUrl:u.NEAR_AURORA_MAINNET_IMAGE_URL,blockExplorerUrl:"https://aurorascan.dev"}},{source:f.MetaMetricsNetworkEventSource.DeprecatedNetworkModal}))}});return v?a.default.createElement(c.Box,{className:"deprecated-networks",backgroundColor:i.BackgroundColor.backgroundDefault,padding:4,borderRadius:i.BorderRadius.SM},a.default.createElement(c.BannerAlert,m({severity:i.Severity.Warning,onClose:()=>h(!0)},v))):null};var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=p(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=e("react-redux"),o=e("../../../hooks/useI18nContext"),i=e("../../../helpers/constants/design-system"),s=e("../../../selectors"),l=e("../../../ducks/metamask/metamask"),c=e("../../component-library"),u=e("../../../../shared/constants/network"),d=e("../../../store/actions"),f=e("../../../../shared/constants/metametrics");function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(p=function(e){return e?n:t})(e)}function m(){return m=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const u=(0,a.useRef)(null),[d,f]=(0,a.useState)(!1);return(0,a.useEffect)((()=>{var e;t&&d&&(null==u||null===(e=u.current)||void 0===e||e.scrollIntoView({behavior:"smooth"}))}),[t,d]),a.default.createElement("div",{className:"disclosure","data-testid":"disclosure",onClick:()=>f((e=>!e))},n?a.default.createElement("details",null,((e,t,n)=>{if(e===l.DisclosureVariant.Arrow){const e="small"===n?s.TextVariant.bodySm:s.TextVariant.bodyMd;return a.default.createElement("summary",{className:"disclosure__summary is-arrow"},a.default.createElement(i.Text,{color:s.Color.primaryDefault,variant:e},t),a.default.createElement(i.Icon,{className:"disclosure__summary--icon",color:s.Color.primaryDefault,name:i.IconName.ArrowUp,size:i.IconSize.Sm,marginInlineStart:2}))}return a.default.createElement("summary",{className:"disclosure__summary"},a.default.createElement(i.Icon,{className:"disclosure__summary--icon",name:i.IconName.Add,size:i.IconSize.Sm,marginInlineEnd:2}),t)})(c,n),a.default.createElement("div",{className:(0,o.default)("disclosure__content",r)},e),a.default.createElement("div",{ref:u,className:"disclosure__footer"})):e)};d.propTypes={children:r.default.node.isRequired,isScrollToBottomOnOpen:r.default.bool,size:r.default.string,title:r.default.string,variant:r.default.string},d.defaultProps={isScrollToBottomOnOpen:!1,size:"normal",title:null,variant:l.DisclosureVariant.Default};n.default=d}}},{package:"$root$",file:"ui/components/ui/disclosure/disclosure.js"}],[5216,{"./disclosure":5215},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./disclosure"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/ui/disclosure/index.js"}],[5217,{"../../component-library":4955,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=l(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=s(e("prop-types")),o=s(e("classnames")),i=e("../../component-library");function s(e){return e&&e.__esModule?e:{default:e}}function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(l=function(e){return e?n:t})(e)}const c=({className:e,disabled:t=!1,onChange:n,options:r,selectedOption:s="",style:l,title:c,"data-testid":u})=>{const d=(0,a.useCallback)((e=>{e.preventDefault(),e.stopPropagation(),n(e.target.value)}),[n]);return a.default.createElement("div",{className:(0,o.default)("dropdown",e)},a.default.createElement("select",{className:"dropdown__select","data-testid":u,disabled:t,title:c,onChange:d,style:l,value:s},r.map((e=>a.default.createElement("option",{key:e.value,value:e.value},e.name||e.value)))),a.default.createElement(i.Icon,{name:i.IconName.ArrowDown,size:i.IconSize.Sm,className:"dropdown__icon-caret-down"}))};c.propTypes={className:r.default.string,disabled:r.default.bool,title:r.default.string,onChange:r.default.func.isRequired,options:r.default.arrayOf(r.default.exact({name:r.default.string,value:r.default.string.isRequired})).isRequired,selectedOption:r.default.string,style:r.default.object,"data-testid":r.default.string};n.default=c}}},{package:"$root$",file:"ui/components/ui/dropdown/dropdown.js"}],[5218,{"./dropdown":5217},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./dropdown"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/ui/dropdown/index.js"}],[5219,{"../../../helpers/constants/design-system":5355,"../../../helpers/utils/accounts":5378,"../../component-library":4955,"../../component-library/form-text-field/deprecated":4943,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=d(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=u(e("classnames")),o=u(e("prop-types")),i=e("../../../helpers/constants/design-system"),s=e("../../../helpers/utils/accounts"),l=e("../../component-library"),c=e("../../component-library/form-text-field/deprecated");function u(e){return e&&e.__esModule?e:{default:e}}function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(d=function(e){return e?n:t})(e)}function f(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class p extends a.Component{constructor(...e){super(...e),f(this,"state",{isEditing:!1,value:this.props.defaultValue||""})}async handleSubmit(e){e&&(await this.props.onSubmit(this.state.value.trim()),this.setState({isEditing:!1}))}renderEditing(){const{isValidAccountName:e,errorMessage:t}=(0,s.getAccountNameErrorMessage)(this.props.accounts,this.context,this.state.value,this.props.defaultValue);return a.default.createElement(l.Box,{className:(0,r.default)("editable-label",this.props.className),display:i.Display.Flex,gap:3},a.default.createElement(c.FormTextField,{required:!0,value:this.state.value,onKeyPress:t=>{"Enter"===t.key&&this.handleSubmit(e)},onChange:e=>{this.setState({value:e.target.value})},"data-testid":"editable-input",error:!e,helpText:t,autoFocus:!0,placeholder:this.context.t("accountName")}),a.default.createElement(l.ButtonIcon,{iconName:l.IconName.Check,onClick:()=>this.handleSubmit(e),"data-testid":"save-account-label-input"}))}renderReadonly(){return a.default.createElement(l.Box,{display:i.Display.Flex,alignItems:i.AlignItems.center,gap:3},a.default.createElement(l.Text,{variant:i.TextVariant.bodyLgMedium,style:{wordBreak:"break-word"}},this.state.value),a.default.createElement(l.ButtonIcon,{iconName:l.IconName.Edit,ariaLabel:this.context.t("edit"),"data-testid":"editable-label-button",onClick:()=>this.setState({isEditing:!0}),color:i.Color.iconDefault}))}render(){return this.state.isEditing?this.renderEditing():this.renderReadonly()}}n.default=p,f(p,"propTypes",{onSubmit:o.default.func.isRequired,defaultValue:o.default.string,className:o.default.string,accounts:o.default.array}),f(p,"contextTypes",{t:o.default.func})}}},{package:"$root$",file:"ui/components/ui/editable-label/editable-label.js"}],[5220,{"../../../helpers/constants/design-system":5355,"../../component-library":4955,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=s(e("react")),r=s(e("prop-types")),o=e("../../component-library"),i=e("../../../helpers/constants/design-system");function s(e){return e&&e.__esModule?e:{default:e}}const l=(e,t)=>{const{errorMessage:n,errorKey:r}=e,s=r?t.t(r):n;return a.default.createElement("div",{className:"error-message"},a.default.createElement(o.Icon,{className:"error-message__icon",name:o.IconName.Warning,size:o.IconSize.Sm,color:i.IconColor.errorDefault,marginRight:2}),a.default.createElement("div",{className:"error-message__text"},s))};l.propTypes={errorMessage:r.default.string,errorKey:r.default.string},l.contextTypes={t:r.default.func};n.default=l}}},{package:"$root$",file:"ui/components/ui/error-message/error-message.component.js"}],[5221,{"./error-message.component":5220},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./error-message.component"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/ui/error-message/index.js"}],[5222,{"../../../helpers/constants/design-system":5355,"../../../hooks/useCopyToClipboard":5417,"../../../hooks/useI18nContext":5427,"../../component-library":4955,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=c(e("react")),r=c(e("prop-types")),o=e("../../../hooks/useI18nContext"),i=e("../../../hooks/useCopyToClipboard"),s=e("../../../helpers/constants/design-system"),l=e("../../component-library");function c(e){return e&&e.__esModule?e:{default:e}}function u({text:e="",onClickCopy:t=null}){const n=(0,o.useI18nContext)(),[r,c]=(0,i.useCopyToClipboard)(6e4);return a.default.createElement(l.Box,{display:s.Display.Flex,justifyContent:s.JustifyContent.center,flexDirection:s.FlexDirection.Column,alignItems:s.AlignItems.center,borderColor:s.BorderColor.borderDefault,borderRadius:s.BorderRadius.MD,padding:4,gap:4},a.default.createElement(l.Text,{display:s.Display.Flex,justifyContent:s.JustifyContent.center,className:"notranslate",variant:s.TextVariant.bodyLgMedium,"data-testid":"srp_text"},e),a.default.createElement(l.ButtonSecondary,{className:"export-text-container__button",block:!0,onClick:()=>{t&&t(),c(e)}},n(r?"copiedExclamation":"copyToClipboard")))}u.propTypes={text:r.default.string,onClickCopy:r.default.func};n.default=a.default.memo(u)}}},{package:"$root$",file:"ui/components/ui/export-text-container/export-text-container.component.js"}],[5223,{"./export-text-container.component":5222},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=(a=e("./export-text-container.component"))&&a.__esModule?a:{default:a};n.default=r.default}}},{package:"$root$",file:"ui/components/ui/export-text-container/index.js"}],[5224,{"../../../contexts/i18n":5324,"../../../helpers/constants/design-system":5355,"../../component-library":4955,"../../component-library/form-text-field/deprecated":4943,classnames:3049,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function({hideDropdownIfNoOptions:e=!1,maxDropdownHeight:t,noOptionsText:n,onChange:a,onOptionClick:u,options:d,placeholder:p,value:m}){const[h,g]=(0,r.useState)(!1),y=(0,r.useRef)(),[b,v]=(0,r.useState)(0),_=(0,r.useRef)(null),C=(0,r.useContext)(l.I18nContext);(0,r.useEffect)((()=>{var e;v(null===(e=y.current)||void 0===e?void 0:e.offsetWidth)}));const T=(0,r.useCallback)((e=>{var t;"form-combo-field__option"!==(null==e||null===(t=e.relatedTarget)||void 0===t?void 0:t.className)&&g(!1)}),[g]),w=(0,r.useCallback)((e=>{null==a||a(e.target.value)}),[a]),E=(0,r.useCallback)((e=>{var t;g(!1),e&&(w({target:{value:e.value}}),null==u||u(e)),null===(t=_.current)||void 0===t||t.focus()}),[g,w]),k=(0,r.useCallback)((()=>{var e;w({target:{value:""}}),null===(e=_.current)||void 0===e||e.focus()}),[w]);return r.default.createElement("div",{className:"form-combo-field",ref:y},r.default.createElement("div",{onClick:()=>{g(!0)}},r.default.createElement(s.FormTextField,{autoFocus:!0,inputRef:_,placeholder:p,onBlur:T,onKeyUp:e=>{"Enter"===e.key&&T()},value:m,onChange:w,className:(0,o.default)({"form-combo-field__value":!0,"form-combo-field__value-dropdown-visible":h}),endAccessory:r.default.createElement(i.ButtonIcon,{display:c.Display.Flex,iconName:i.IconName.Close,size:i.ButtonIconSize.Sm,onClick:()=>k(),color:c.IconColor.iconMuted,ariaLabel:C("clear")})})),h&&r.default.createElement(f,{hideDropdownIfNoOptions:e,maxDropdownHeight:t,noOptionsText:n,onOptionClick:E,options:d,width:b}))};var a,r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=u(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=(a=e("classnames"))&&a.__esModule?a:{default:a},i=e("../../component-library"),s=e("../../component-library/form-text-field/deprecated"),l=e("../../../contexts/i18n"),c=e("../../../helpers/constants/design-system");function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(u=function(e){return e?n:t})(e)}function d({option:e,onClick:t}){const n=(0,r.useCallback)((n=>{n.preventDefault(),n.stopPropagation(),n.nativeEvent.stopImmediatePropagation(),t(e)}),[t,e]),{primaryLabel:a,secondaryLabel:o,value:i}=e;return r.default.createElement("div",{tabIndex:0,className:"form-combo-field__option",onClick:n},r.default.createElement("span",{className:"form-combo-field__option-primary"},a??i),o?r.default.createElement("span",{className:"form-combo-field__option-secondary"},o):null)}function f({hideDropdownIfNoOptions:e,maxDropdownHeight:t,noOptionsText:n,onOptionClick:a,options:i,width:s}){const c=(0,r.useContext)(l.I18nContext),u=(0,r.useRef)(),f=t??179,[p,m]=(0,r.useState)(0);return(0,r.useEffect)((()=>{var e;m((null===(e=u.current)||void 0===e?void 0:e.scrollHeight)??0)})),r.default.createElement("div",{ref:u,style:{width:s,maxHeight:f},className:(0,o.default)({"form-combo-field__dropdown":!0,"form-combo-field__dropdown__scroll":p>f})},0===i.length&&!e&&r.default.createElement(d,{option:{primaryLabel:n??c("comboNoOptions"),value:""},onClick:()=>a(undefined)}),i.map(((e,t)=>r.default.createElement(d,{key:t,option:e,onClick:()=>{a(e)}}))))}}}},{package:"$root$",file:"ui/components/ui/form-combo-field/form-combo-field.tsx"}],[5225,{"../../../helpers/constants/design-system":5355,"../../component-library":4955,"../info-tooltip/info-tooltip":5250,"../numeric-input/numeric-input.component":5274,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=f;var a=u(e("react")),r=u(e("prop-types")),o=u(e("classnames")),i=e("../../../helpers/constants/design-system"),s=u(e("../numeric-input/numeric-input.component")),l=u(e("../info-tooltip/info-tooltip")),c=e("../../component-library");function u(e){return e&&e.__esModule?e:{default:e}}function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;tb(e.target.value),value:v,type:w?"password":"text",autoFocus:T,disabled:k,"data-testid":e,placeholder:O,id:j,ref:A},I)),y&&a.default.createElement(c.Text,{color:i.TextColor.errorDefault,variant:i.TextVariant.bodySm,as:"h6",className:"form-field__error"},y),M&&a.default.createElement(c.Text,d({color:i.TextColor.textAlternative,variant:i.TextVariant.bodySm,as:"h6",className:"form-field__warning"},x),M),N&&a.default.createElement(c.Text,{color:i.TextColor.textDefault,variant:i.TextVariant.bodySm,as:"h6",className:"form-field__password-strength"},N),P&&a.default.createElement(c.Text,{color:i.TextColor.textAlternative,variant:i.TextVariant.bodyXs,as:"h6",className:"form-field__password-strength-text"},P)))}f.propTypes={dataTestId:r.default.string,titleText:r.default.oneOfType([r.default.string,r.default.node]),TitleTextCustomComponent:r.default.node,titleUnit:r.default.string,TitleUnitCustomComponent:r.default.node,tooltipText:r.default.oneOfType([r.default.string,r.default.node]),TooltipCustomComponent:r.default.node,titleDetail:r.default.oneOfType([r.default.string,r.default.node]),titleDetailWrapperProps:r.default.shape({...c.Box.propTypes}),titleHeadingWrapperProps:r.default.shape({...c.Box.propTypes}),error:r.default.string,warning:r.default.string,warningProps:r.default.shape({...c.Text.propTypes}),onChange:r.default.func,value:r.default.oneOfType([r.default.number,r.default.string]),detailText:r.default.string,autoFocus:r.default.bool,numeric:r.default.bool,password:r.default.bool,allowDecimals:r.default.bool,disabled:r.default.bool,placeholder:r.default.string,passwordStrength:r.default.oneOfType([r.default.string,r.default.node]),passwordStrengthText:r.default.string,id:r.default.string,inputProps:r.default.object,wrappingLabelProps:r.default.object,inputRef:r.default.object}}}},{package:"$root$",file:"ui/components/ui/form-field/form-field.js"}],[5226,{"./form-field":5225},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./form-field"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/ui/form-field/index.js"}],[5227,{"../../../../shared/modules/conversion.utils":4537,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=s(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=(a=e("prop-types"))&&a.__esModule?a:{default:a},i=e("../../../../shared/modules/conversion.utils");function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(s=function(e){return e?n:t})(e)}class l extends r.PureComponent{render(){const{className:e,value:t}=this.props,n=(0,i.hexToDecimal)(t);return r.default.createElement("div",{className:e},n)}}n.default=l,function(e,t,n){(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(l,"propTypes",{className:o.default.string,value:o.default.string})}}},{package:"$root$",file:"ui/components/ui/hex-to-decimal/hex-to-decimal.component.js"}],[5228,{"./hex-to-decimal.component":5227},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./hex-to-decimal.component"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/ui/hex-to-decimal/index.js"}],[5229,{"../../../helpers/constants/design-system":5355,"../../component-library":4955,"../tooltip/tooltip":5311,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=d;var a=c(e("react")),r=c(e("prop-types")),o=c(e("classnames")),i=e("../../component-library"),s=e("../../../helpers/constants/design-system"),l=c(e("../tooltip/tooltip"));function c(e){return e&&e.__esModule?e:{default:e}}const u=e=>e;function d({onClick:e,Icon:t,disabled:n,label:r,tooltipRender:c,className:d,...f}){const p=c??u;return a.default.createElement("button",{className:(0,o.default)("icon-button",d,{"icon-button--disabled":n}),"data-testid":f["data-testid"]??undefined,onClick:e,disabled:n},p(a.default.createElement(a.default.Fragment,null,a.default.createElement("div",{className:"icon-button__circle"},t),r.length>10?a.default.createElement(l.default,{title:r,position:"bottom"},a.default.createElement(i.Text,{className:"icon-button__label-large",ellipsis:!0,variant:s.TextVariant.bodySm},r)):a.default.createElement(i.Text,{className:"icon-button__label",ellipsis:!0,variant:s.TextVariant.bodySm},r))))}d.propTypes={onClick:r.default.func.isRequired,Icon:r.default.object.isRequired,disabled:r.default.bool,label:r.default.string.isRequired,tooltipRender:r.default.func,className:r.default.string,"data-testid":r.default.string}}}},{package:"$root$",file:"ui/components/ui/icon-button/icon-button.js"}],[5230,{"./icon-button":5229},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./icon-button"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/ui/icon-button/index.js"}],[5231,{classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=s(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=i(e("prop-types")),o=i(e("classnames"));function i(e){return e&&e.__esModule?e:{default:e}}function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(s=function(e){return e?n:t})(e)}function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const[u,d]=(0,a.useState)(!1),f=n?{height:`${n}px`,width:`${n}px`}:{};return a.default.createElement("div",{className:(0,o.default)(s),style:f},!u&&t?a.default.createElement("img",l({onError:()=>{d(!0)},src:t,style:f,className:r,alt:e||"icon"},c)):a.default.createElement("span",{className:(0,o.default)("icon-with-fallback__fallback",i)},(null==e?void 0:e.charAt(0).toUpperCase())||""))};c.propTypes={icon:r.default.string,name:r.default.string,size:r.default.number,className:r.default.string,wrapperClassName:r.default.string,fallbackClassName:r.default.string};n.default=c}}},{package:"$root$",file:"ui/components/ui/icon-with-fallback/icon-with-fallback.component.js"}],[5232,{"./icon-with-fallback.component":5231},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./icon-with-fallback.component"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/ui/icon-with-fallback/index.js"}],[5233,{"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=o(e("react")),r=o(e("prop-types"));function o(e){return e&&e.__esModule?e:{default:e}}const i=({size:e=64,color:t="currentColor",ariaLabel:n,className:r,onClick:o})=>a.default.createElement("svg",{width:e,height:e,fill:t,className:r,"aria-label":n,onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 64 39"},a.default.createElement("path",{d:"M2.05588 38.7539L2.05764 38.7541H40.952H40.9539C40.9557 38.7541 40.9573 38.7536 40.9591 38.7536C42.0608 38.7497 43.0116 37.8498 43.0116 36.6965C43.0112 35.5025 43.0127 41.0218 43.0084 25.0192H41.7318V32.2147H1.27784V8.06471H41.7318V13.7349H43.0084C43.0088 12.6803 43.0073 17.5546 43.0116 3.42458C43.0116 2.33886 42.1096 1.3715 40.9592 1.36749C40.9574 1.36749 40.9557 1.36694 40.9539 1.36694H40.952H2.05826L2.05592 1.3671C0.938953 1.36848 0 2.2928 0 3.42458C0.00118187 40.1604 0.00115779 35.5443 0.00151939 36.7115C0.00442983 37.7954 0.916013 38.7525 2.05588 38.7539ZM40.952 2.64354C40.9545 2.64354 40.9568 2.64459 40.9593 2.64463C41.3592 2.6475 41.7318 2.97087 41.7318 3.42396V6.78811H1.27784V3.42396C1.27784 3.4215 1.27776 3.42143 1.27773 3.41905C1.28066 3.03143 1.60496 2.64481 2.05596 2.64389L2.05826 2.64354H40.952ZM41.7318 33.4913V36.6971C41.7318 37.1484 41.3421 37.4739 40.959 37.4765C40.9566 37.4765 40.9545 37.4775 40.952 37.4775H2.05826L2.05588 37.4772C1.67874 37.4762 1.2822 37.1511 1.278 36.7035C1.278 36.7013 1.27784 36.6993 1.27784 36.6971V33.4913H41.7318Z",fill:"black"}),a.default.createElement("path",{d:"M8.2473 4.07751H3.19141V5.35411H8.2473V4.07751Z",fill:"black"}),a.default.createElement("path",{d:"M23.5665 34.8462H18.5106V36.1228H23.5665V34.8462Z",fill:"black"}),a.default.createElement("path",{d:"M36.5719 5.16847C36.8185 4.92251 36.8186 4.50823 36.5719 4.26214C36.3294 4.0259 35.9018 4.03244 35.6656 4.26214C35.4197 4.52205 35.4195 4.90836 35.6656 5.16847C35.9317 5.42024 36.3318 5.40917 36.5719 5.16847Z",fill:"black"}),a.default.createElement("path",{d:"M58.7234 1.98595V5.13942H44.305V6.41602H58.7234V29.2623H44.305V30.5389H58.7234V33.544C58.7234 33.9351 58.408 34.2533 58.0203 34.2533H44.305V35.5299H58.0203C59.1117 35.5299 60 34.6392 60 33.544C60 26.776 60 9.50087 60 1.98595V1.97972C60 0.888256 59.1117 0 58.0203 0H42.8152V1.2766H58.0203C58.408 1.2766 58.7234 1.59481 58.7234 1.98595Z",fill:"black"}),a.default.createElement("path",{d:"M51.0488 2.56812H46.2522V3.84471H51.0488V2.56812Z",fill:"black"}),a.default.createElement("path",{d:"M51.0488 31.7573H46.2522V33.0339H51.0488V31.7573Z",fill:"black"}),a.default.createElement("path",{d:"M53.8826 3.65558C54.1329 3.4194 54.1259 2.98539 53.8826 2.7558C53.6463 2.51955 53.2125 2.51955 52.9762 2.7558C52.7244 3.02196 52.7345 3.41386 52.9762 3.65558C53.236 3.91538 53.6465 3.90578 53.8826 3.65558Z",fill:"black"}),a.default.createElement("path",{d:"M37.2794 13.3285L34.9387 15.6694L37.2794 18.0101L38.1819 17.1075L37.3822 16.3077H48.899V15.0311H37.382L38.1819 14.2311L37.2794 13.3285Z",fill:"black"}),a.default.createElement("path",{d:"M46.5582 24.5231L47.4608 25.4257L49.8015 23.0848L47.4608 20.7441L46.5582 21.6467L47.358 22.4465H35.8412V23.7231H47.3581L46.5582 24.5231Z",fill:"black"}),a.default.createElement("path",{d:"M33.8298 12.7659H8.29785V14.0425H33.8298V12.7659Z",fill:"black"}),a.default.createElement("path",{d:"M33.8298 15.9574H8.29785V17.234H33.8298V15.9574Z",fill:"black"}),a.default.createElement("path",{d:"M33.8298 19.7874H8.29785V21.0639H33.8298V19.7874Z",fill:"black"}),a.default.createElement("path",{d:"M33.8298 22.9788H8.29785V24.2554H33.8298V22.9788Z",fill:"black"}),a.default.createElement("path",{d:"M57.0254 12.6194H51.0127V13.896H57.0254V12.6194Z",fill:"black"}),a.default.createElement("path",{d:"M57.0254 16.0691H51.0127V17.3457H57.0254V16.0691Z",fill:"black"}),a.default.createElement("path",{d:"M57.0254 19.5188H51.0127V20.7954H57.0254V19.5188Z",fill:"black"}),a.default.createElement("path",{d:"M57.0254 22.9688H51.0127V24.2453H57.0254V22.9688Z",fill:"black"}));i.propTypes={size:r.default.number,color:r.default.string,className:r.default.string,onClick:r.default.func,ariaLabel:r.default.string};n.default=i}}},{package:"$root$",file:"ui/components/ui/icon/icon-desktop-pairing.js"}],[5234,{"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=o(e("react")),r=o(e("prop-types"));function o(e){return e&&e.__esModule?e:{default:e}}const i=({size:e=24,color:t="currentColor",ariaLabel:n,className:r})=>a.default.createElement("svg",{width:e,height:e,fill:t,className:r,"aria-label":n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 512"},a.default.createElement("path",{d:"M634 471L36 3.51A16 16 0 0 0 13.51 6l-10 12.49A16 16 0 0 0 6 41l598 467.49a16 16 0 0 0 22.49-2.49l10-12.49A16 16 0 0 0 634 471zM296.79 146.47l134.79 105.38C429.36 191.91 380.48 144 320 144a112.26 112.26 0 0 0-23.21 2.47zm46.42 219.07L208.42 260.16C210.65 320.09 259.53 368 320 368a113 113 0 0 0 23.21-2.46zM320 112c98.65 0 189.09 55 237.93 144a285.53 285.53 0 0 1-44 60.2l37.74 29.5a333.7 333.7 0 0 0 52.9-75.11 32.35 32.35 0 0 0 0-29.19C550.29 135.59 442.93 64 320 64c-36.7 0-71.71 7-104.63 18.81l46.41 36.29c18.94-4.3 38.34-7.1 58.22-7.1zm0 288c-98.65 0-189.08-55-237.93-144a285.47 285.47 0 0 1 44.05-60.19l-37.74-29.5a333.6 333.6 0 0 0-52.89 75.1 32.35 32.35 0 0 0 0 29.19C89.72 376.41 197.08 448 320 448c36.7 0 71.71-7.05 104.63-18.81l-46.41-36.28C359.28 397.2 339.89 400 320 400z"}));i.propTypes={size:r.default.number,color:r.default.string,className:r.default.string,ariaLabel:r.default.string};n.default=i}}},{package:"$root$",file:"ui/components/ui/icon/icon-eye-slash.js"}],[5235,{"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=o(e("react")),r=o(e("prop-types"));function o(e){return e&&e.__esModule?e:{default:e}}const i=({size:e=24,color:t="currentColor",ariaLabel:n,className:r})=>a.default.createElement("svg",{width:e,height:e,fill:t,className:r,"aria-label":n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512"},a.default.createElement("path",{d:"M288 144a110.94 110.94 0 0 0-31.24 5 55.4 55.4 0 0 1 7.24 27 56 56 0 0 1-56 56 55.4 55.4 0 0 1-27-7.24A111.71 111.71 0 1 0 288 144zm284.52 97.4C518.29 135.59 410.93 64 288 64S57.68 135.64 3.48 241.41a32.35 32.35 0 0 0 0 29.19C57.71 376.41 165.07 448 288 448s230.32-71.64 284.52-177.41a32.35 32.35 0 0 0 0-29.19zM288 400c-98.65 0-189.09-55-237.93-144C98.91 167 189.34 112 288 112s189.09 55 237.93 144C477.1 345 386.66 400 288 400z"}));i.propTypes={size:r.default.number,color:r.default.string,className:r.default.string,ariaLabel:r.default.string};n.default=i}}},{package:"$root$",file:"ui/components/ui/icon/icon-eye.js"}],[5236,{"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=o(e("react")),r=o(e("prop-types"));function o(e){return e&&e.__esModule?e:{default:e}}const i=({size:e=24,color:t="currentColor",ariaLabel:n,className:r,onClick:o})=>a.default.createElement("svg",{width:e,height:e,fill:t,className:r,"aria-label":n,onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 352 512"},a.default.createElement("path",{d:"M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"}));i.propTypes={size:r.default.number,color:r.default.string,className:r.default.string,onClick:r.default.func,ariaLabel:r.default.string};n.default=i}}},{package:"$root$",file:"ui/components/ui/icon/icon-times.js"}],[5237,{"../../../helpers/constants/design-system":5355,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=l;var a=s(e("react")),r=s(e("classnames")),o=s(e("prop-types")),i=e("../../../helpers/constants/design-system");function s(e){return e&&e.__esModule?e:{default:e}}function l({severity:e}){const t=(0,r.default)("info-icon",{"info-icon--success":e===i.SEVERITIES.SUCCESS,"info-icon--warning":e===i.SEVERITIES.WARNING,"info-icon--danger":e===i.SEVERITIES.DANGER,"info-icon--info":e===i.SEVERITIES.INFO});return a.default.createElement("svg",{className:t,width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.default.createElement("path",{d:"M15.75 8C15.75 3.75 12.25 0.25 8 0.25C3.71875 0.25 0.25 3.75 0.25 8C0.25 12.2812 3.71875 15.75 8 15.75C12.25 15.75 15.75 12.2812 15.75 8ZM8 9.5625C8.78125 9.5625 9.4375 10.2188 9.4375 11C9.4375 11.8125 8.78125 12.4375 8 12.4375C7.1875 12.4375 6.5625 11.8125 6.5625 11C6.5625 10.2188 7.1875 9.5625 8 9.5625ZM6.625 4.40625C6.59375 4.1875 6.78125 4 7 4H8.96875C9.1875 4 9.375 4.1875 9.34375 4.40625L9.125 8.65625C9.09375 8.875 8.9375 9 8.75 9H7.21875C7.03125 9 6.875 8.875 6.84375 8.65625L6.625 4.40625Z"}))}l.propTypes={severity:o.default.oneOf(Object.values(i.SEVERITIES))}}}},{package:"$root$",file:"ui/components/ui/icon/info-icon-inverted.component.js"}],[5238,{"../../../helpers/constants/design-system":5355,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=l;var a=s(e("react")),r=s(e("classnames")),o=s(e("prop-types")),i=e("../../../helpers/constants/design-system");function s(e){return e&&e.__esModule?e:{default:e}}function l({severity:e}){const t=(0,r.default)("info-icon",{"info-icon--success":e===i.SEVERITIES.SUCCESS,"info-icon--warning":e===i.SEVERITIES.WARNING,"info-icon--danger":e===i.SEVERITIES.DANGER,"info-icon--info":e===i.SEVERITIES.INFO});return a.default.createElement("svg",{className:t,width:"16",height:"16",viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"},a.default.createElement("path",{d:"M7.2 5.6H8.8V4H7.2V5.6ZM8 14.4C4.472 14.4 1.6 11.528 1.6 8C1.6 4.472 4.472 1.6 8 1.6C11.528 1.6 14.4 4.472 14.4 8C14.4 11.528 11.528 14.4 8 14.4ZM8 0C6.94943 0 5.90914 0.206926 4.93853 0.608964C3.96793 1.011 3.08601 1.60028 2.34315 2.34315C0.842855 3.84344 0 5.87827 0 8C0 10.1217 0.842855 12.1566 2.34315 13.6569C3.08601 14.3997 3.96793 14.989 4.93853 15.391C5.90914 15.7931 6.94943 16 8 16C10.1217 16 12.1566 15.1571 13.6569 13.6569C15.1571 12.1566 16 10.1217 16 8C16 6.94943 15.7931 5.90914 15.391 4.93853C14.989 3.96793 14.3997 3.08601 13.6569 2.34315C12.914 1.60028 12.0321 1.011 11.0615 0.608964C10.0909 0.206926 9.05058 0 8 0ZM7.2 12H8.8V7.2H7.2V12Z"}))}l.propTypes={severity:o.default.oneOf(Object.values(i.SEVERITIES))}}}},{package:"$root$",file:"ui/components/ui/icon/info-icon.component.js"}],[5239,{"./preloader-icon.component":5240},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./preloader-icon.component"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/ui/icon/preloader/index.js"}],[5240,{classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=i(e("react")),r=i(e("prop-types")),o=i(e("classnames"));function i(e){return e&&e.__esModule?e:{default:e}}const s=({className:e,size:t})=>a.default.createElement("svg",{className:(0,o.default)("preloader__icon",e),width:t,height:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 13.7143C4.84409 13.7143 2.28571 11.1559 2.28571 8C2.28571 4.84409 4.84409 2.28571 8 2.28571C11.1559 2.28571 13.7143 4.84409 13.7143 8C13.7143 11.1559 11.1559 13.7143 8 13.7143ZM8 16C3.58172 16 0 12.4183 0 8C0 3.58172 3.58172 0 8 0C12.4183 0 16 3.58172 16 8C16 12.4183 12.4183 16 8 16Z",fill:"var(--color-primary-muted)"}),a.default.createElement("mask",{id:"mask0","mask-type":"alpha",maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"16",height:"16"},a.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 13.7143C4.84409 13.7143 2.28571 11.1559 2.28571 8C2.28571 4.84409 4.84409 2.28571 8 2.28571C11.1559 2.28571 13.7143 4.84409 13.7143 8C13.7143 11.1559 11.1559 13.7143 8 13.7143ZM8 16C3.58172 16 0 12.4183 0 8C0 3.58172 3.58172 0 8 0C12.4183 0 16 3.58172 16 8C16 12.4183 12.4183 16 8 16Z",fill:"var(--color-primary-default)"})),a.default.createElement("g",{mask:"url(#mask0)"},a.default.createElement("path",{d:"M6.85718 17.9999V11.4285V8.28564H-4.85711V17.9999H6.85718Z",fill:"var(--color-primary-default)"})));s.defaultProps={className:undefined},s.propTypes={className:r.default.string,size:r.default.number.isRequired};n.default=s}}},{package:"$root$",file:"ui/components/ui/icon/preloader/preloader-icon.component.js"}],[5241,{"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=o(e("react")),r=o(e("prop-types"));function o(e){return e&&e.__esModule?e:{default:e}}const i=({size:e=24,color:t="currentColor",ariaLabel:n,className:r})=>a.default.createElement("svg",{width:e,height:e,fill:t,className:r,"aria-label":n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},a.default.createElement("path",{d:"m235 427c-51 0-100-21-136-57-36-36-56-84-56-135 0-26 5-51 14-74 10-23 24-44 42-62 18-18 39-32 62-42 23-9 48-14 74-14 25 0 50 5 73 14 23 10 45 24 62 42 18 18 32 39 42 62 10 23 15 48 15 74 0 43-15 86-42 119l78 79c2 2 4 4 5 7 1 2 1 5 1 8 0 3 0 6-1 8-1 3-3 5-5 7-2 2-4 4-7 5-2 1-5 1-8 1-3 0-6 0-8-1-3-1-5-3-7-5l-79-78c-33 27-76 42-119 42z m0-43c82 0 149-67 149-149 0-83-67-150-149-150-83 0-150 67-150 150 0 82 67 149 150 149z"}));i.propTypes={size:r.default.number,color:r.default.string,className:r.default.string,ariaLabel:r.default.string};n.default=i}}},{package:"$root$",file:"ui/components/ui/icon/search-icon.js"}],[5242,{"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=i;var a=o(e("react")),r=o(e("prop-types"));function o(e){return e&&e.__esModule?e:{default:e}}function i({reverseColors:e}){const t=e?"var(--color-primary-default)":"var(--color-primary-inverse)",n=e?"var(--color-primary-inverse)":"var(--color-primary-default)";return a.default.createElement("svg",{width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.default.createElement("path",{d:"M13.2148 9.05384C13.432 8.40203 14.8878 7.92403 14.8878 7.20703C14.8878 6.49003 13.432 6.01204 13.2148 5.36022C12.9975 4.68668 13.8883 3.44823 13.4755 2.88332C13.0627 2.31842 11.607 2.77469 11.0421 2.3836C10.4771 1.97078 10.4771 0.449879 9.80361 0.232608C9.15179 0.0153358 8.26098 1.25378 7.54398 1.25378C6.82698 1.25378 5.91444 0.0153358 5.28435 0.232608C4.61081 0.449879 4.61081 1.99251 4.04591 2.3836C3.481 2.79641 2.02528 2.31842 1.61246 2.88332C1.19965 3.44823 2.09046 4.68668 1.87319 5.36022C1.65592 6.01204 0.200195 6.49003 0.200195 7.20703C0.200195 7.92403 1.65592 8.40203 1.87319 9.05384C2.09046 9.72738 1.19965 10.9658 1.61246 11.5307C2.02528 12.0956 3.481 11.6394 4.04591 12.0305C4.61081 12.4433 4.61081 13.9642 5.28435 14.1815C5.93617 14.3987 6.82698 13.1603 7.54398 13.1603C8.26098 13.1603 9.17352 14.3987 9.80361 14.1815C10.4771 13.9642 10.4771 12.4216 11.0421 12.0305C11.607 11.6176 13.0627 12.0956 13.4755 11.5307C13.8883 10.9658 12.9975 9.70566 13.2148 9.05384Z",fill:t}),a.default.createElement("path",{d:"M6.42285 10.084L4.13965 7.81445C4.07585 7.75065 4.04395 7.66862 4.04395 7.56836C4.04395 7.4681 4.07585 7.38607 4.13965 7.32227L4.64551 6.83008C4.70931 6.75716 4.78678 6.7207 4.87793 6.7207C4.97819 6.7207 5.06478 6.75716 5.1377 6.83008L6.66895 8.36133L9.9502 5.08008C10.0231 5.00716 10.1051 4.9707 10.1963 4.9707C10.2965 4.9707 10.3786 5.00716 10.4424 5.08008L10.9482 5.57227C11.012 5.63607 11.0439 5.7181 11.0439 5.81836C11.0439 5.91862 11.012 6.00065 10.9482 6.06445L6.91504 10.084C6.85124 10.1569 6.76921 10.1934 6.66895 10.1934C6.56868 10.1934 6.48665 10.1569 6.42285 10.084Z",fill:n}))}i.propTypes={reverseColors:r.default.bool}}}},{package:"$root$",file:"ui/components/ui/icon/sun-check-icon.component.js"}],[5244,{"./blockieIdenticon.component":5243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./blockieIdenticon.component"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/ui/identicon/blockieIdenticon/index.js"}],[5245,{"../../../helpers/utils/util":5399,"../jazzicon":5251,"./blockieIdenticon":5244,classnames:3049,lodash:3836,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=d(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=u(e("prop-types")),o=u(e("classnames")),i=e("lodash"),s=u(e("../jazzicon")),l=e("../../../helpers/utils/util"),c=u(e("./blockieIdenticon"));function u(e){return e&&e.__esModule?e:{default:e}}function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(d=function(e){return e?n:t})(e)}function f(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const p=e=>({height:e,width:e,borderRadius:e/2});class m extends a.Component{constructor(...e){super(...e),f(this,"state",{imageLoadingError:!1})}renderImage(){const{className:e,diameter:t,alt:n,imageBorder:r,ipfsGateway:i}=this.props;let{image:s}=this.props;return Array.isArray(s)&&s.length&&(s=s[0]),"string"==typeof s&&s.toLowerCase().startsWith("ipfs://")&&(s=(0,l.getAssetImageURL)(s,i)),a.default.createElement("img",{className:(0,o.default)("identicon",e,{"identicon__image-border":r}),src:s,style:p(t),alt:n,onError:()=>{this.setState({imageLoadingError:!0})}})}renderJazzicon(){const{address:e,className:t,diameter:n,alt:r}=this.props,i=this.getTokenList();return a.default.createElement(s.default,{address:e,diameter:n,className:(0,o.default)("identicon",t),style:p(n),alt:r,tokenList:i})}renderBlockie(){const{address:e,className:t,diameter:n,alt:r}=this.props;return a.default.createElement("div",{className:(0,o.default)("identicon",t),style:p(n)},a.default.createElement(c.default,{address:e,diameter:n,alt:r}))}renderBlockieOrJazzIcon(){const{useBlockie:e}=this.props;return e?this.renderBlockie():this.renderJazzicon()}shouldComponentUpdate(e,t){return!(0,i.isEqual)(e,this.props)||!(0,i.isEqual)(t,this.state)}getTokenImage(){var e;const{address:t,tokenList:n}=this.props;return null===(e=n[null==t?void 0:t.toLowerCase()])||void 0===e?void 0:e.iconUrl}getNftImage(){var e;const{address:t,watchedNftContracts:n}=this.props;return null===(e=n[null==t?void 0:t.toLowerCase()])||void 0===e?void 0:e.logo}getTokenList(){const{address:e}=this.props,t=this.getTokenImage(),n=this.getNftImage(),a=t||n;return a?{[e.toLowerCase()]:{iconUrl:a}}:{}}render(){const{address:e,image:t,addBorder:n,diameter:r}=this.props,{imageLoadingError:i}=this.state,s=r+8;return i?this.renderBlockieOrJazzIcon():t?this.renderImage():e?this.getTokenImage()||this.getNftImage()?this.renderJazzicon():a.default.createElement("div",{className:(0,o.default)({"identicon__address-wrapper":n}),style:n?p(s):null},this.renderBlockieOrJazzIcon()):a.default.createElement("div",{style:p(r),className:"identicon__image-border"})}}n.default=m,f(m,"propTypes",{addBorder:r.default.bool,address:r.default.string,className:r.default.string,diameter:r.default.number,image:r.default.oneOfType([r.default.string,r.default.array]),useBlockie:r.default.bool,alt:r.default.string,imageBorder:r.default.bool,tokenList:r.default.object,ipfsGateway:r.default.string,watchedNftContracts:r.default.object}),f(m,"defaultProps",{addBorder:!1,address:undefined,className:undefined,diameter:46,image:undefined,useBlockie:!1,alt:"",tokenList:{},watchedNftContracts:{}})}}},{package:"$root$",file:"ui/components/ui/identicon/identicon.component.js"}],[5246,{"../../../selectors":5987,"../../../selectors/nft":5992,"./identicon.component":5245,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=e("react-redux"),o=e("../../../selectors"),i=e("../../../selectors/nft"),s=(a=e("./identicon.component"))&&a.__esModule?a:{default:a};n.default=(0,r.connect)((e=>{const{metamask:{useBlockie:t,ipfsGateway:n}}=e;return{useBlockie:t,tokenList:(0,o.getTokenList)(e),ipfsGateway:n,watchedNftContracts:(0,i.getNftContractsByAddressOnCurrentChain)(e)}}))(s.default)}}},{package:"$root$",file:"ui/components/ui/identicon/identicon.container.js"}],[5247,{"./identicon.container":5246},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./identicon.container"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/ui/identicon/index.js"}],[5248,{"./info-tooltip":5250},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./info-tooltip"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/ui/info-tooltip/index.js"}],[5249,{"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=i;var a=o(e("react")),r=o(e("prop-types"));function o(e){return e&&e.__esModule?e:{default:e}}function i({fillColor:e="var(--color-icon-default)"}){return a.default.createElement("svg",{viewBox:"0 0 10 10",xmlns:"http://www.w3.org/2000/svg"},a.default.createElement("path",{d:"M5 0C2.2 0 0 2.2 0 5s2.2 5 5 5 5-2.2 5-5-2.2-5-5-5zm0 2c.4 0 .7.3.7.7s-.3.7-.7.7-.7-.2-.7-.6.3-.8.7-.8zm.7 6H4.3V4.3h1.5V8z",fill:e}))}i.propTypes={fillColor:r.default.string}}}},{package:"$root$",file:"ui/components/ui/info-tooltip/info-tooltip-icon.js"}],[5250,{"../tooltip":5310,"./info-tooltip-icon":5249,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=u;var a=l(e("react")),r=l(e("prop-types")),o=l(e("classnames")),i=l(e("../tooltip")),s=l(e("./info-tooltip-icon"));function l(e){return e&&e.__esModule?e:{default:e}}const c={top:"info-tooltip__top-tooltip-arrow",bottom:"info-tooltip__bottom-tooltip-arrow",left:"info-tooltip__left-tooltip-arrow",right:"info-tooltip__right-tooltip-arrow"};function u({contentText:e="",position:t="",containerClassName:n,wrapperClassName:r,iconFillColor:l="var(--color-icon-alternative)"}){return a.default.createElement("div",{className:"info-tooltip","data-testid":"info-tooltip"},a.default.createElement(i.default,{interactive:!0,position:t,containerClassName:(0,o.default)("info-tooltip__tooltip-container",n),wrapperClassName:r,tooltipInnerClassName:"info-tooltip__tooltip-content",tooltipArrowClassName:c[t],html:e,theme:"tippy-tooltip-info"},a.default.createElement(s.default,{fillColor:l})))}u.propTypes={contentText:r.default.oneOf([r.default.string,r.default.node]),position:r.default.oneOf(["top","left","bottom","right"]),containerClassName:r.default.string,wrapperClassName:r.default.string,iconFillColor:r.default.string}}}},{package:"$root$",file:"ui/components/ui/info-tooltip/info-tooltip.js"}],[5251,{"./jazzicon.component":5252},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./jazzicon.component"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/ui/jazzicon/index.js"}],[5253,{"../../../ducks/app/app":5336,"../../../helpers/utils/gas":5384,"../../../hooks/useShouldAnimateGasEstimations":5439,classnames:3049,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=f;var a=e("react-redux"),r=u(e("classnames")),o=u(e("prop-types")),i=u(e("react")),s=e("../../../helpers/utils/gas"),l=e("../../../ducks/app/app"),c=e("../../../hooks/useShouldAnimateGasEstimations");function u(e){return e&&e.__esModule?e:{default:e}}const d="loading-heartbeat--active";function f({estimateUsed:e,backgroundColor:t="var(--color-background-default)"}){(0,c.useShouldAnimateGasEstimations)();const n=(0,a.useSelector)(l.getGasLoadingAnimationIsShowing);return e&&!(0,s.isMetamaskSuggestedGasEstimate)(e)?null:i.default.createElement("div",{className:(0,r.default)("loading-heartbeat",{[d]:n}),onClick:e=>{e.preventDefault(),e.stopPropagation()},style:{backgroundColor:t}})}f.propTypes={backgroundColor:o.default.string,estimateUsed:o.default.string}}}},{package:"$root$",file:"ui/components/ui/loading-heartbeat/index.js"}],[5254,{"./loading-indicator":5255},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./loading-indicator"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/ui/loading-indicator/index.js"}],[5255,{"../../component-library":4955,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=l;var a=i(e("react")),r=i(e("prop-types")),o=e("../../component-library");function i(e){return e&&e.__esModule?e:{default:e}}function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;ta.default.createElement(i.Box,{className:"loading-overlay"},e,a.default.createElement(i.Box,{className:"loading-overlay__container",marginBottom:3},n&&a.default.createElement(o.default,{color:"var(--color-warning-default)",className:"loading-overlay__spinner"})),a.default.createElement(i.Box,{display:s.Display.Flex,flexDirection:s.FlexDirection.Row,justifyContent:s.JustifyContent.center,alignItems:s.AlignItems.center},t?(0,a.isValidElement)(t)?t:a.default.createElement("span",{style:{textAlign:"center"}},t):null));u.propTypes={header:r.default.element,loadingMessage:r.default.oneOfType([r.default.string,r.default.element]),showLoadingSpinner:r.default.bool};n.default=a.default.memo(u)}}},{package:"$root$",file:"ui/components/ui/loading-screen/loading-screen.component.js"}],[5258,{"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=o(e("react")),r=o(e("prop-types"));function o(e){return e&&e.__esModule?e:{default:e}}const i=({width:e="100%",color:t="var(--color-text-default)",className:n,ariaLabel:r})=>a.default.createElement("svg",{width:e,fill:t,className:n,"aria-label":r,viewBox:"0 0 2546 491",xmlns:"http://www.w3.org/2000/svg"},a.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2460 15V30H2488H2516V140V250H2531H2546V125V0H2503H2460V15ZM1861 116.038C1796.99 123.881 1741.39 163.865 1712.97 222.5C1680.8 288.855 1690.83 365.835 1739.17 423.5C1778.97 470.987 1839.99 496.383 1898.79 489.935C1937.49 485.692 1976.26 467.949 2005.03 441.315L2010.98 435.803L1997.36 421.444L1983.74 407.085L1974.62 415.109C1953.06 434.078 1931.7 444.965 1904.88 450.669C1893.48 453.093 1867.95 453.103 1855.82 450.689C1837.26 446.995 1819.5 439.522 1802.54 428.264C1790.63 420.354 1773.3 403.429 1764.69 391.295C1752.74 374.459 1743.39 352.909 1738.81 331.648C1735.63 316.902 1735.66 289.005 1738.87 274C1751.85 213.28 1797.55 166.907 1855.82 155.311C1867.95 152.897 1893.48 152.907 1904.88 155.331C1931.7 161.035 1953.06 171.922 1974.62 190.891L1983.74 198.915L1997.38 184.534L2011.02 170.153L2003.26 163.053C1977.39 139.393 1945.42 123.844 1909.5 117.465C1898.75 115.555 1871.49 114.753 1861 116.038ZM0 303V485H120H240V465.5V446H140.5H41V283.5V121H20.5H0V303ZM407.496 297.75C364.676 394.963 328.599 476.871 327.325 479.769L325.009 485.038L347.632 484.769L370.256 484.5L386.106 448.5C394.823 428.7 403.087 410.135 404.469 407.245L406.983 401.99L508.152 402.245L609.321 402.5L627.41 443.719L645.5 484.938L668.135 484.969L690.769 485L655.85 405.75C636.645 362.163 600.584 280.269 575.716 223.763L530.5 121.027L507.925 121.013L485.35 121L407.496 297.75ZM749 140.5V160H810H871V322.5V485H891.5H912V322.5V160H973H1034V140.5V121H891.5H749V140.5ZM1133 140.5V160H1194H1255V322.5V485H1275.5H1296V322.5V160H1357H1418V140.5V121H1275.5H1133V140.5ZM1534 303V485H1554.5H1575V303V121H1554.5H1534V303ZM2120 303V485H2250.5H2381V465.5V446H2271.5H2162V382.5V319H2260.5H2359V299.5V280H2260.5H2162V220V160H2271.5H2381V140.5V121H2250.5H2120V303ZM550.073 267.125C572.858 318.894 591.65 361.644 591.833 362.125C592.022 362.621 555.677 363 507.976 363C428.21 363 423.821 362.908 424.447 361.25C426.983 354.537 507.62 173.036 508.073 173.02C508.388 173.009 527.288 215.356 550.073 267.125Z"}));i.propTypes={width:r.default.string,color:r.default.string,className:r.default.string,ariaLabel:r.default.string};n.default=i}}},{package:"$root$",file:"ui/components/ui/logo/logo-lattice.js"}],[5259,{"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=o(e("react")),r=o(e("prop-types"));function o(e){return e&&e.__esModule?e:{default:e}}const i=({width:e="100%",color:t="var(--color-text-default)",className:n,ariaLabel:r})=>a.default.createElement("svg",{width:e,fill:t,className:n,"aria-label":r,viewBox:"0 0 2000.58 669.35",xmlns:"http://www.w3.org/2000/svg"},a.default.createElement("path",{d:"m1711.35 627.2v42.14h289.22v-190.05h-42.14v147.91zm0-627.2v42.14h247.08v147.92h42.14v-190.06zm-149.15 326v-97.92h66.11c32.23 0 43.8 10.74 43.8 40.08v17.35c0 30.16-11.16 40.49-43.8 40.49zm104.94 17.35c30.16-7.85 51.23-35.95 51.23-69.41 0-21.07-8.26-40.08-23.96-55.37-19.83-19.01-46.28-28.51-80.57-28.51h-92.96v289.22h41.32v-115.27h61.98c31.81 0 44.62 13.22 44.62 46.28v69h42.14v-62.39c0-45.45-10.74-62.8-43.8-67.76zm-347.88 9.5h127.26v-38.01h-127.26v-86.77h139.65v-38.01h-181.8v289.22h188v-38.01h-145.85zm-138.42 15.29v19.83c0 41.73-15.29 55.37-53.71 55.37h-9.09c-38.43 0-57.02-12.4-57.02-69.83v-77.68c0-57.84 19.42-69.83 57.84-69.83h8.26c37.6 0 49.58 14.05 49.99 52.89h45.45c-4.13-57.02-42.14-92.96-99.16-92.96-27.68 0-50.82 8.68-68.17 25.2-26.03 24.38-40.49 65.7-40.49 123.54 0 55.78 12.4 97.1 38.01 122.71 17.35 16.94 41.32 26.03 64.87 26.03 24.79 0 47.52-9.92 59.08-31.4h5.78v27.27h38.01v-149.15h-111.97v38.01zm-364.41-140.07h45.04c42.56 0 65.7 10.74 65.7 68.59v76.02c0 57.84-23.14 68.59-65.7 68.59h-45.04zm48.75 251.22c78.92 0 108.25-59.91 108.25-144.61 0-85.94-31.4-144.61-109.08-144.61h-89.25v289.22zm-289.63-126.44h127.26v-38.01h-127.26v-86.77h139.65v-38.01h-181.8v289.22h188v-38.01h-145.85zm-243.77-162.79h-42.14v289.22h190.06v-38.01h-147.92zm-331.78 289.23v190.06h289.22v-42.15h-247.08v-147.91zm0-479.29v190.06h42.14v-147.92h247.08v-42.14z"}));i.propTypes={width:r.default.string,color:r.default.string,className:r.default.string,ariaLabel:r.default.string};n.default=i}}},{package:"$root$",file:"ui/components/ui/logo/logo-ledger.js"}],[5260,{"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=o(e("react")),r=o(e("prop-types"));function o(e){return e&&e.__esModule?e:{default:e}}const i=({width:e="100%",color:t="var(--color-text-default)",className:n,ariaLabel:r})=>a.default.createElement("svg",{width:e,fill:t,className:n,"aria-label":r,viewBox:"0 0 107 24",xmlns:"http://www.w3.org/2000/svg"},a.default.createElement("path",{d:"M1.3333 8H6.6667C7.403 8 8 7.403 8 6.6667V1.3333C8 0.597002 7.403 0 6.6667 0H1.3333C0.597 0 0 0.597002 0 1.3333V6.6667C0 7.403 0.597 8 1.3333 8ZM2.6667 2.6667H5.3333V5.3333H2.6667V2.6667ZM0.6667 13.3333H2C2.3682 13.3333 2.6667 13.0349 2.6667 12.6667V11.3333C2.6667 10.9651 2.3682 10.6667 2 10.6667H0.6667C0.2985 10.6667 0 10.9651 0 11.3333V12.6667C0 13.0349 0.2985 13.3333 0.6667 13.3333ZM6.6667 16H1.3333C0.597 16 0 16.597 0 17.3333V22.6667C0 23.403 0.597 24 1.3333 24H6.6667C7.403 24 8 23.403 8 22.6667V17.3333C8 16.597 7.403 16 6.6667 16ZM5.3333 21.3333H2.6667V18.6667H5.3333V21.3333ZM19.3333 24H23.3333C23.7015 24 24 23.7015 24 23.3333V19.3333C24 18.9651 23.7015 18.6667 23.3333 18.6667H22C21.6318 18.6667 21.3333 18.9651 21.3333 19.3333V21.3333H18.6667V23.3333C18.6667 23.7015 18.9651 24 19.3333 24ZM22.6667 0H17.3333C16.597 0 16 0.597002 16 1.3333V6.6667C16 7.403 16.597 8 17.3333 8H22.6667C23.403 8 24 7.403 24 6.6667V1.3333C24 0.597002 23.403 0 22.6667 0ZM21.3333 5.3333H18.6667V2.6667H21.3333V5.3333ZM6 10.6667C5.6318 10.6667 5.3333 10.9651 5.3333 11.3333V12.6667C5.3333 13.0349 5.6318 13.3333 6 13.3333H10.6667V10.6667H6ZM10.6667 15.3333C10.6667 15.7015 10.9651 16 11.3333 16H13.3333V18C13.3333 18.3682 13.6318 18.6667 14 18.6667H16V13.3333H10.6667V15.3333ZM10.6667 22V23.3333C10.6667 23.7015 10.9651 24 11.3333 24H15.3333C15.7015 24 16 23.7015 16 23.3333V21.3333H11.3333C10.9651 21.3333 10.6667 21.6318 10.6667 22ZM23.3333 10.6667H16.6667C16.2985 10.6667 16 10.9651 16 11.3333V13.3333H18.6667V15.3333C18.6667 15.7015 18.9651 16 19.3333 16H20.6667C21.0349 16 21.3333 15.7015 21.3333 15.3333V13.3333H23.3333C23.7015 13.3333 24 13.0349 24 12.6667V11.3333C24 10.9651 23.7015 10.6667 23.3333 10.6667ZM18.6667 21.3333V18.6667H16V21.3333H18.6667ZM11.3333 5.3333H12.6667C13.0349 5.3333 13.3333 5.0349 13.3333 4.6667V0.666698C13.3333 0.298498 13.0349 0 12.6667 0H11.3333C10.9651 0 10.6667 0.298498 10.6667 0.666698V4.6667C10.6667 5.0349 10.9651 5.3333 11.3333 5.3333ZM13.3333 10V8.6667C13.3333 8.2985 13.0349 8 12.6667 8H11.3333C10.9651 8 10.6667 8.2985 10.6667 8.6667V10.6667H12.6667C13.0349 10.6667 13.3333 10.3682 13.3333 10Z"}),a.default.createElement("path",{d:"M38.592 18.192C37.7707 18.192 37.0027 18.0427 36.288 17.744C35.584 17.4347 34.9653 17.0187 34.432 16.496C33.8987 15.9627 33.4773 15.3387 33.168 14.624C32.8693 13.9093 32.72 13.1413 32.72 12.32C32.72 11.4987 32.8693 10.7307 33.168 10.016C33.4773 9.3013 33.8987 8.6827 34.432 8.16C34.9653 7.6267 35.584 7.2107 36.288 6.912C37.0027 6.6027 37.7707 6.448 38.592 6.448C39.4133 6.448 40.1813 6.6027 40.896 6.912C41.6107 7.2107 42.2293 7.6267 42.752 8.16C43.2853 8.6827 43.7013 9.3013 44 10.016C44.3093 10.7307 44.464 11.4987 44.464 12.32C44.464 13.0347 44.3467 13.7067 44.112 14.336C43.888 14.9653 43.5733 15.536 43.168 16.048L45.28 18H43.248L42.16 17.008C41.6693 17.3813 41.12 17.6747 40.512 17.888C39.904 18.0907 39.264 18.192 38.592 18.192ZM38.592 16.784C39.5413 16.784 40.3787 16.528 41.104 16.016L39.296 14.336L40.208 13.312L42.08 15.056C42.3573 14.6827 42.576 14.2667 42.736 13.808C42.896 13.3387 42.976 12.8427 42.976 12.32C42.976 11.7013 42.864 11.12 42.64 10.576C42.416 10.032 42.1067 9.5573 41.712 9.152C41.328 8.7467 40.864 8.432 40.32 8.208C39.7867 7.9733 39.2107 7.856 38.592 7.856C37.9733 7.856 37.3973 7.9733 36.864 8.208C36.3307 8.432 35.8667 8.7467 35.472 9.152C35.088 9.5573 34.784 10.032 34.56 10.576C34.336 11.12 34.224 11.7013 34.224 12.32C34.224 12.9493 34.336 13.536 34.56 14.08C34.784 14.6133 35.088 15.0827 35.472 15.488C35.8667 15.8933 36.3307 16.2133 36.864 16.448C37.3973 16.672 37.9733 16.784 38.592 16.784ZM46.9259 6.64H50.7979C51.3205 6.64 51.7899 6.7147 52.2059 6.864C52.6325 7.0133 52.9899 7.2267 53.2779 7.504C53.5765 7.7813 53.8005 8.112 53.9499 8.496C54.1099 8.88 54.1899 9.3067 54.1899 9.776C54.1899 10.608 53.9392 11.2907 53.4379 11.824C52.9472 12.3573 52.2592 12.688 51.3739 12.816L55.7579 18H53.8859L49.5179 12.832H48.4139V18H46.9259V6.64ZM50.6219 11.504C51.2725 11.504 51.7792 11.36 52.1419 11.072C52.5152 10.784 52.7019 10.352 52.7019 9.776C52.7019 9.2 52.5152 8.7627 52.1419 8.464C51.7792 8.1653 51.2725 8.016 50.6219 8.016H48.4139V11.504H50.6219ZM55.8681 12.832H59.948V14.208H55.8681V12.832ZM66.488 18.16C65.88 18.16 65.325 18.0267 64.824 17.76C64.323 17.4827 63.939 17.152 63.672 16.768V18H62.296V6H63.672V11.232C63.939 10.848 64.323 10.5227 64.824 10.256C65.325 9.9787 65.88 9.84 66.488 9.84C67.043 9.84 67.56 9.952 68.04 10.176C68.52 10.3893 68.936 10.688 69.288 11.072C69.64 11.4453 69.912 11.8827 70.104 12.384C70.307 12.8853 70.408 13.424 70.408 14C70.408 14.576 70.307 15.1147 70.104 15.616C69.912 16.1173 69.64 16.56 69.288 16.944C68.936 17.3173 68.52 17.616 68.04 17.84C67.56 18.0533 67.043 18.16 66.488 18.16ZM66.28 16.896C66.685 16.896 67.053 16.8213 67.384 16.672C67.715 16.5227 67.997 16.32 68.232 16.064C68.477 15.7973 68.664 15.488 68.792 15.136C68.931 14.784 69 14.4053 69 14C69 13.5947 68.931 13.216 68.792 12.864C68.664 12.512 68.477 12.208 68.232 11.952C67.997 11.6853 67.715 11.4773 67.384 11.328C67.053 11.1787 66.685 11.104 66.28 11.104C65.875 11.104 65.507 11.1787 65.176 11.328C64.845 11.4773 64.557 11.6853 64.312 11.952C64.077 12.208 63.891 12.512 63.752 12.864C63.624 13.216 63.56 13.5947 63.56 14C63.56 14.4053 63.624 14.784 63.752 15.136C63.891 15.488 64.077 15.7973 64.312 16.064C64.557 16.32 64.845 16.5227 65.176 16.672C65.507 16.8213 65.875 16.896 66.28 16.896ZM75.67 18.16C75.105 18.16 74.582 18.0533 74.102 17.84C73.633 17.616 73.222 17.3173 72.87 16.944C72.518 16.56 72.241 16.1173 72.038 15.616C71.846 15.1147 71.75 14.576 71.75 14C71.75 13.424 71.846 12.8853 72.038 12.384C72.241 11.8827 72.518 11.4453 72.87 11.072C73.222 10.688 73.633 10.3893 74.102 10.176C74.582 9.952 75.105 9.84 75.67 9.84C76.278 9.84 76.833 9.9787 77.334 10.256C77.835 10.5227 78.219 10.848 78.486 11.232V10H79.862V18H78.486V16.768C78.219 17.152 77.835 17.4827 77.334 17.76C76.833 18.0267 76.278 18.16 75.67 18.16ZM75.878 16.896C76.283 16.896 76.651 16.8213 76.982 16.672C77.313 16.5227 77.595 16.32 77.83 16.064C78.075 15.7973 78.262 15.488 78.39 15.136C78.529 14.784 78.598 14.4053 78.598 14C78.598 13.5947 78.529 13.216 78.39 12.864C78.262 12.512 78.075 12.208 77.83 11.952C77.595 11.6853 77.313 11.4773 76.982 11.328C76.651 11.1787 76.283 11.104 75.878 11.104C75.473 11.104 75.099 11.1787 74.758 11.328C74.427 11.4773 74.139 11.6853 73.894 11.952C73.659 12.208 73.473 12.512 73.334 12.864C73.206 13.216 73.142 13.5947 73.142 14C73.142 14.4053 73.206 14.784 73.334 15.136C73.473 15.488 73.659 15.7973 73.894 16.064C74.139 16.32 74.427 16.5227 74.758 16.672C75.099 16.8213 75.473 16.896 75.878 16.896ZM85.028 18.16C84.602 18.16 84.196 18.1067 83.812 18C83.428 17.8933 83.092 17.7387 82.804 17.536C82.516 17.3227 82.282 17.0613 82.1 16.752C81.919 16.4427 81.812 16.0853 81.78 15.68H83.188C83.231 15.9253 83.311 16.1333 83.428 16.304C83.556 16.464 83.706 16.5973 83.876 16.704C84.047 16.8107 84.228 16.8853 84.42 16.928C84.623 16.9707 84.831 16.992 85.044 16.992C85.482 16.992 85.844 16.9067 86.132 16.736C86.431 16.5547 86.58 16.288 86.58 15.936C86.58 15.616 86.479 15.3547 86.276 15.152C86.074 14.9493 85.732 14.784 85.252 14.656L84.1 14.352C83.407 14.1707 82.89 13.8773 82.548 13.472C82.207 13.0667 82.036 12.576 82.036 12C82.036 11.6693 82.106 11.3707 82.244 11.104C82.383 10.8373 82.575 10.6133 82.82 10.432C83.066 10.24 83.354 10.096 83.684 10C84.026 9.8933 84.399 9.84 84.804 9.84C85.231 9.84 85.615 9.8987 85.956 10.016C86.298 10.1333 86.591 10.2987 86.836 10.512C87.092 10.7147 87.295 10.9547 87.444 11.232C87.594 11.5093 87.684 11.808 87.716 12.128H86.34C86.234 11.776 86.042 11.4987 85.764 11.296C85.498 11.0933 85.178 10.992 84.804 10.992C84.42 10.992 84.095 11.0827 83.828 11.264C83.562 11.4347 83.428 11.6747 83.428 11.984C83.428 12.2827 83.524 12.5227 83.716 12.704C83.908 12.8747 84.218 13.0187 84.644 13.136L85.924 13.472C86.596 13.6427 87.103 13.9307 87.444 14.336C87.796 14.7307 87.972 15.232 87.972 15.84C87.972 16.2347 87.898 16.5813 87.748 16.88C87.599 17.168 87.391 17.408 87.124 17.6C86.858 17.792 86.543 17.9307 86.18 18.016C85.828 18.112 85.444 18.16 85.028 18.16ZM93.329 18.16C92.742 18.16 92.204 18.0587 91.713 17.856C91.222 17.6427 90.796 17.3493 90.433 16.976C90.081 16.6027 89.804 16.1653 89.601 15.664C89.398 15.152 89.297 14.5973 89.297 14C89.297 13.4133 89.388 12.8693 89.569 12.368C89.761 11.856 90.033 11.4133 90.385 11.04C90.737 10.6667 91.164 10.3733 91.665 10.16C92.166 9.9467 92.732 9.84 93.361 9.84C93.99 9.84 94.55 9.9627 95.041 10.208C95.542 10.4427 95.958 10.768 96.289 11.184C96.63 11.5893 96.876 12.0693 97.025 12.624C97.185 13.168 97.244 13.7493 97.201 14.368H90.689C90.7 14.7307 90.774 15.0667 90.913 15.376C91.062 15.6853 91.254 15.9573 91.489 16.192C91.724 16.416 92.001 16.592 92.321 16.72C92.641 16.848 92.982 16.912 93.345 16.912C93.846 16.912 94.294 16.8107 94.689 16.608C95.094 16.3947 95.42 16.048 95.665 15.568H97.073C96.977 15.92 96.822 16.256 96.609 16.576C96.396 16.8853 96.129 17.1573 95.809 17.392C95.5 17.6267 95.137 17.8133 94.721 17.952C94.305 18.0907 93.841 18.16 93.329 18.16ZM93.313 11.056C93.025 11.056 92.742 11.0987 92.465 11.184C92.188 11.2693 91.932 11.4027 91.697 11.584C91.473 11.7653 91.276 11.9947 91.105 12.272C90.934 12.5493 90.817 12.8853 90.753 13.28H95.745C95.617 12.5333 95.329 11.9787 94.881 11.616C94.433 11.2427 93.91 11.056 93.313 11.056ZM102.483 18.16C101.917 18.16 101.395 18.0533 100.915 17.84C100.445 17.616 100.035 17.3173 99.683 16.944C99.331 16.56 99.053 16.1173 98.851 15.616C98.659 15.1147 98.563 14.576 98.563 14C98.563 13.424 98.659 12.8853 98.851 12.384C99.053 11.8827 99.331 11.4453 99.683 11.072C100.035 10.688 100.445 10.3893 100.915 10.176C101.395 9.952 101.917 9.84 102.483 9.84C103.091 9.84 103.645 9.9787 104.147 10.256C104.648 10.5227 105.032 10.848 105.299 11.232V6H106.675V18H105.299V16.768C105.032 17.152 104.648 17.4827 104.147 17.76C103.645 18.0267 103.091 18.16 102.483 18.16ZM102.691 16.896C103.096 16.896 103.464 16.8213 103.795 16.672C104.125 16.5227 104.408 16.32 104.643 16.064C104.888 15.7973 105.075 15.488 105.203 15.136C105.341 14.784 105.411 14.4053 105.411 14C105.411 13.5947 105.341 13.216 105.203 12.864C105.075 12.512 104.888 12.208 104.643 11.952C104.408 11.6853 104.125 11.4773 103.795 11.328C103.464 11.1787 103.096 11.104 102.691 11.104C102.285 11.104 101.912 11.1787 101.571 11.328C101.24 11.4773 100.952 11.6853 100.707 11.952C100.472 12.208 100.285 12.512 100.147 12.864C100.019 13.216 99.955 13.5947 99.955 14C99.955 14.4053 100.019 14.784 100.147 15.136C100.285 15.488 100.472 15.7973 100.707 16.064C100.952 16.32 101.24 16.5227 101.571 16.672C101.912 16.8213 102.285 16.896 102.691 16.896Z"}));i.propTypes={width:r.default.string,color:r.default.string,className:r.default.string,ariaLabel:r.default.string};n.default=i}}},{package:"$root$",file:"ui/components/ui/logo/logo-qr-based.js"}],[5261,{"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=o(e("react")),r=o(e("prop-types"));function o(e){return e&&e.__esModule?e:{default:e}}const i=({width:e="100%",color:t="var(--color-text-default)",className:n,ariaLabel:r})=>a.default.createElement("svg",{width:e,fill:t,className:n,"aria-label":r,viewBox:"0 0 1482 378",xmlns:"http://www.w3.org/2000/svg"},a.default.createElement("path",{d:"m915.31 115.89h154.82v40.74l-84.2 114.08h84.2v47.98h-154.82v-40.74l84.2-114.08h-84.2z"}),a.default.createElement("path",{d:"m1437.7101 243.55c19-7.25 38.9301-26.26 38.9301-59.76 0-40.74-28.0601-67-69.71-67h-95.0601v201.9h52.51v-67.9h19.9199l37.12 67.9h60.66l-44.37-75.14zm-37.12-39.84h-36.21v-40.74h36.21c13.58 0 22.64 8.15 22.64 19.92 0 12.67-9.0601 20.82-22.64 20.82z"}),a.default.createElement("path",{d:"m1184.2101 113.17c-61.5699 0-105 44.36-105 104.12s44.34 104.12 105 104.12 105.9301-44.37 105.9301-104.12-44.3701-104.12-105.9301-104.12zm0 161.16c-30.78 0-51.61-23.54-51.61-57 0-34.4 20.83-57 51.61-57s52.51 23.54 52.51 57-21.7301 56.9999-52.51 56.9999z"}),a.default.createElement("path",{d:"m743.29 115.89h146.6701v47.08h-94.1601v29.87h91.44v46.18h-91.44v32.59h94.1601v47.08h-146.6701z"}),a.default.createElement("path",{d:"m222.7 87.82c0-48-41.65-87.82-92.35-87.82s-92.35 39.84-92.35 87.82v28.07h-38v201.9l130.35 60.62 130.38-60.66v-201h-38zm-137.62 0c0-22.63 19.92-40.74 45.27-40.74s45.27 18.11 45.27 40.74v28.07h-90.54zm123.13 197.37-77.86 36.22-77.86-36.22v-121.32h155.72z"}),a.default.createElement("path",{d:"m718.85 183.79c0-40.74-28.07-67-69.72-67h-95.0599v201.9h52.51v-67.9h19.92l37.12 67.9h60.68l-44.37-75.14c19-7.25 38.92-26.26 38.92-59.76zm-76.06 19.92h-36.21v-40.74h36.21c13.58 0 22.64 8.15 22.64 19.92 0 12.67-9.0601 20.82-22.6401 20.82z"}),a.default.createElement("path",{d:"m366.66 115.89h163.87v47.98h-56.13v154.82h-52.52v-154.82h-55.22z"}));i.propTypes={width:r.default.string,color:r.default.string,className:r.default.string,ariaLabel:r.default.string};n.default=i}}},{package:"$root$",file:"ui/components/ui/logo/logo-trezor.js"}],[5262,{"./mascot.component":5263},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./mascot.component"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/ui/mascot/index.js"}],[5263,{"../../../helpers/utils/build-types":5379,"@metamask/logo":1497,lodash:3836,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=c(e("prop-types")),r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=l(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=c(e("@metamask/logo")),i=e("lodash"),s=e("../../../helpers/utils/build-types");function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(l=function(e){return e?n:t})(e)}function c(e){return e&&e.__esModule?e:{default:e}}function u(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class d extends r.Component{constructor(e){super(e);const{width:t,height:n,followMouse:a}=e;this.logo=(0,o.default)({followMouse:a,pxNotRatio:!0,width:t,height:n,meshJson:(0,s.getBuildSpecificAsset)("foxMeshJson")}),this.mascotContainer=(0,r.createRef)(),this.refollowMouse=(0,i.debounce)(this.logo.setFollowMouse.bind(this.logo,!0),1e3),this.unfollowMouse=this.logo.setFollowMouse.bind(this.logo,!1)}handleAnimationEvents(){this.animations||(this.animations=this.props.animationEventEmitter,this.animations.on("point",this.lookAt.bind(this)),this.animations.on("setFollowMouse",this.logo.setFollowMouse.bind(this.logo)))}lookAt(e){this.unfollowMouse(),this.logo.lookAtAndRender(e),this.refollowMouse()}componentDidMount(){this.mascotContainer.current.appendChild(this.logo.container),this.directionTargetMap=(({top:e,left:t,height:n,width:a})=>{const r=t+a/2,o=e+n/2;return{up:{x:r,y:e-n},down:{x:r,y:e+2*n},left:{x:t-a,y:o},right:{x:t+2*a,y:o},middle:{x:r,y:o}}})(this.mascotContainer.current.getBoundingClientRect());const{lookAtTarget:e,lookAtDirection:t}=this.props;null!=e&&e.x&&null!=e&&e.y?this.logo.lookAtAndRender(e):t&&this.logo.lookAtAndRender(this.directionTargetMap[t])}componentDidUpdate(e){const{lookAtTarget:t={},lookAtDirection:n=null,followMouse:a}=e,{lookAtTarget:r={},followMouse:o,lookAtDirection:i}=this.props;i&&n!==i?this.logo.lookAtAndRender(this.directionTargetMap[i]):(null==r?void 0:r.x)===(null==t?void 0:t.x)&&(null==r?void 0:r.y)===(null==t?void 0:t.y)||this.logo.lookAtAndRender(r),a!==o&&(this.unfollowMouse(),o&&this.refollowMouse())}componentWillUnmount(){this.animations=this.props.animationEventEmitter,this.animations.removeAllListeners(),this.logo.container.remove(),this.logo.stopAnimation()}render(){return this.handleAnimationEvents(),r.default.createElement("div",{ref:this.mascotContainer,style:{zIndex:0}})}}n.default=d,u(d,"propTypes",{animationEventEmitter:a.default.object.isRequired,width:a.default.string,height:a.default.string,followMouse:a.default.bool,lookAtTarget:a.default.object,lookAtDirection:a.default.oneOf(["up","down","left","right","middle"])}),u(d,"defaultProps",{width:"200",height:"200",followMouse:!0,lookAtTarget:{},lookAtDirection:null})}}},{package:"$root$",file:"ui/components/ui/mascot/mascot.component.js"}],[5264,{"./menu":5266,"./menu-item":5265},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"Menu",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(n,"MenuItem",{enumerable:!0,get:function(){return r.default}});var a=o(e("./menu")),r=o(e("./menu-item"));function o(e){return e&&e.__esModule?e:{default:e}}}}},{package:"$root$",file:"ui/components/ui/menu/index.js"}],[5265,{"../../../helpers/constants/design-system":5355,"../../component-library":4955,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=l(e("react")),r=l(e("prop-types")),o=l(e("classnames")),i=e("../../component-library"),s=e("../../../helpers/constants/design-system");function l(e){return e&&e.__esModule?e:{default:e}}const c=a.default.forwardRef((({children:e,className:t,"data-testid":n,iconName:r,iconColor:l,onClick:c,subtitle:u,disabled:d=!1,showInfoDot:f},p)=>a.default.createElement("button",{className:(0,o.default)("menu-item",t),"data-testid":n,onClick:c,ref:p,disabled:d},r&&f&&a.default.createElement(i.BadgeWrapper,{anchorElementShape:i.BadgeWrapperAnchorElementShape.circular,display:s.Display.Block,position:i.BadgeWrapperPosition.topRight,positionObj:{top:-6,right:4},badge:a.default.createElement(i.Icon,{name:i.IconName.FullCircle,size:i.IconSize.Xs,color:s.IconColor.primaryDefault,style:{"--size":"10px"}})},a.default.createElement(i.Icon,{name:r,size:i.IconSize.Sm,marginRight:2})),r&&!f&&a.default.createElement(i.Icon,{name:r,size:i.IconSize.Sm,marginRight:2,color:l}),a.default.createElement("div",null,a.default.createElement("div",null,e),u?a.default.createElement(i.Text,{variant:s.TextVariant.bodyXs},u):null))));c.propTypes={children:r.default.node.isRequired,className:r.default.string,"data-testid":r.default.string,iconName:r.default.string,onClick:r.default.func,subtitle:r.default.node,disabled:r.default.bool,showInfoDot:r.default.bool,iconColor:r.default.string},c.displayName="MenuItem";n.default=c}}},{package:"$root$",file:"ui/components/ui/menu/menu-item.js"}],[5266,{classnames:3049,"prop-types":3997,react:4243,"react-dom":4074,"react-popper":4181},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=c(e("prop-types")),r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=l(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=e("react-dom"),i=e("react-popper"),s=c(e("classnames"));function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(l=function(e){return e?n:t})(e)}function c(e){return e&&e.__esModule?e:{default:e}}function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const[d,f]=(0,r.useState)(null),p=(0,r.useRef)(document.getElementById("popover-content")),{attributes:m,styles:h}=(0,i.usePopper)(e,d,c);return(0,o.createPortal)(r.default.createElement(r.default.Fragment,null,r.default.createElement("div",{className:"menu__background","data-testid":a,onClick:l}),r.default.createElement("div",u({className:(0,s.default)("menu__container",n),"data-testid":n,ref:f,style:h.popper},m.popper),t)),p.current)};d.propTypes={anchorElement:a.default.instanceOf(window.Element),children:a.default.node.isRequired,className:a.default.string,onHide:a.default.func.isRequired,popperOptions:a.default.object,dataTestId:a.default.string},d.defaultProps={anchorElement:undefined,className:undefined,popperOptions:undefined};n.default=d}}},{package:"$root$",file:"ui/components/ui/menu/menu.js"}],[5267,{"../../../../shared/constants/preferences":4512,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=p;var a,r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=s(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=(a=e("prop-types"))&&a.__esModule?a:{default:a},i=e("../../../../shared/constants/preferences");function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(s=function(e){return e?n:t})(e)}const l=162,c=30,u="var(--color-text-default)",d="var(--color-overlay-alternative)",f="var(--color-overlay-inverse)";function p({theme:e,className:t}){const[n,a]=(0,r.useState)((()=>e===undefined?document.documentElement.getAttribute("data-theme"):e));(0,r.useEffect)((()=>{e!==undefined&&a(e)}),[e]);return r.default.createElement("svg",{width:l,height:c,viewBox:"0 0 1532 247",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:t},r.default.createElement("g",{clipPath:"url(#clip0)"},r.default.createElement("path",{d:"M148.354 134.603L152.72 74.4431L170.498 31.5908H94.5015L112.279 74.4431L116.645 134.603L117.997 153.579L118.101 200.289H146.898L147.002 153.579L148.354 134.603Z",fill:"url(#paint0_linear)"}),r.default.createElement("path",{d:"M244.727 123.029L190.355 107.077L206.781 131.996L182.246 179.957L214.682 179.54H262.92L244.727 123.029Z",fill:"url(#paint1_linear)"}),r.default.createElement("path",{d:"M74.6449 107.077L20.2726 123.029L2.18311 179.54H50.4216L82.7539 179.957L58.2188 131.996L74.6449 107.077Z",fill:"url(#paint2_linear)"}),r.default.createElement("path",{d:"M153.76 164.735L146.899 200.289L151.889 203.729L182.246 179.957L183.182 156.081L153.76 164.735Z",fill:"#ACACAC"}),r.default.createElement("path",{d:"M81.9224 156.081L82.7541 179.957L113.111 203.729L118.101 200.289L111.24 164.735L81.9224 156.081Z",fill:"#ACACAC"}),r.default.createElement("path",{d:"M256.267 82.0553L265 39.5158L251.9 0L151.889 74.4441L189.211 108.017L244.727 123.031L256.683 108.955L251.485 105.202L259.802 97.5906L253.46 92.5859L261.777 86.2258L256.267 82.0553Z",fill:"url(#paint3_linear)"}),r.default.createElement("path",{d:"M8.73266 82.0553L-0.000171178 39.5158L13.0991 0L113.111 74.4441L75.7884 108.017L20.2725 123.031L8.31682 108.955L13.5149 105.202L5.19795 97.5906L11.5396 92.5859L3.22265 86.2258L8.73266 82.0553Z",fill:"url(#paint4_linear)"}),r.default.createElement("path",{d:"M58.2188 131.997L81.9222 156.082L82.7539 179.958L58.2188 131.997Z",fill:"#8D8D8D"}),r.default.createElement("path",{d:"M206.781 131.997L182.246 179.958L183.181 156.082L206.781 131.997Z",fill:"#8D8D8D"}),r.default.createElement("path",{d:"M187.132 220.935L151.889 203.731L154.696 226.774L154.384 236.47L187.132 220.935Z",fill:"#FF9F5A"}),r.default.createElement("path",{d:"M77.8677 220.934L110.616 236.469L110.408 226.773L113.111 203.73L77.8677 220.934Z",fill:"#FF9F5A"}),r.default.createElement("path",{d:"M214.682 179.542L187.132 220.935L246.079 237.2L262.921 179.542H214.682Z",fill:"url(#paint5_linear)"}),r.default.createElement("path",{d:"M2.18311 179.542L18.921 237.2L77.8677 220.935L50.4216 179.542H2.18311Z",fill:"url(#paint6_linear)"}),r.default.createElement("path",{d:"M13.0991 0L113.111 74.4441L97.4126 31.5918L13.0991 0Z",fill:"#757575"}),r.default.createElement("path",{d:"M167.587 31.5918L151.889 74.4441L251.9 0L167.587 31.5918Z",fill:"#757575"}),r.default.createElement("path",{d:"M74.6448 107.079L58.2188 131.998L116.646 134.604L113.111 74.4443L74.6448 107.079Z",fill:"url(#paint7_linear)"}),r.default.createElement("path",{d:"M190.355 107.079L151.889 74.4443L148.354 134.604L206.781 131.998L190.355 107.079Z",fill:"url(#paint8_linear)"}),r.default.createElement("path",{d:"M77.8677 220.934L113.111 203.731L82.7539 179.959L77.8677 220.934Z",fill:"url(#paint9_linear)"}),r.default.createElement("path",{d:"M151.889 203.731L187.132 220.934L182.246 179.959L151.889 203.731Z",fill:"url(#paint10_linear)"}),r.default.createElement("path",{d:"M182.246 179.958L187.132 220.934L214.682 179.541L182.246 179.958Z",fill:"url(#paint11_linear)"}),r.default.createElement("path",{d:"M82.7539 179.958L77.8677 220.934L50.3177 179.541L82.7539 179.958Z",fill:"url(#paint12_linear)"}),r.default.createElement("path",{d:"M206.781 131.997L148.354 134.604L153.761 164.736L162.389 146.594L183.182 156.082L206.781 131.997Z",fill:"#666666"}),r.default.createElement("path",{d:"M81.9222 156.082L102.611 146.594L111.24 164.736L116.646 134.604L58.2188 131.997L81.9222 156.082Z",fill:"#666666"}),r.default.createElement("path",{d:"M153.76 164.736L147.002 153.579L148.354 134.604L153.76 164.736Z",fill:"#8D8D8D"}),r.default.createElement("path",{d:"M111.24 164.736L116.646 134.604L117.997 153.579L111.24 164.736Z",fill:"#8D8D8D"}),r.default.createElement("path",{d:"M147.003 153.58L153.76 164.736L146.899 200.29L147.003 153.58Z",fill:"#8D8D8D"}),r.default.createElement("path",{d:"M117.997 153.58L118.101 200.29L111.24 164.736L117.997 153.58Z",fill:"#8D8D8D"}),r.default.createElement("path",{d:"M154.571 236.345L154.696 226.773L152.097 224.48H112.903L110.408 226.773L110.616 236.47L77.8677 220.935L89.3035 230.318L112.591 246.479H152.409L175.696 230.318L187.132 220.935L154.571 236.345Z",fill:"#DF7554"}),r.default.createElement("path",{d:"M151.889 203.731L146.899 200.29H118.101L113.111 203.731L110.408 226.773L112.903 224.479H152.097L154.696 226.773L151.889 203.731Z",fill:"#161616",stroke:"#161616",strokeWidth:"0.0657594",strokeMiterlimit:"10",strokeLinejoin:"round"}),r.default.createElement("path",{d:"M162.389 146.594L153.76 164.736L183.182 156.082L162.389 146.594Z",fill:"#161616"}),r.default.createElement("path",{d:"M102.611 146.594L111.24 164.736L81.9224 156.082L102.611 146.594Z",fill:"#161616"}),r.default.createElement("path",{d:"M256.683 108.955L251.485 105.202L259.802 97.5905L253.46 92.5859L261.777 86.2258L256.267 82.0553L265 39.5158L251.901 0L167.587 31.5918H97.4127L13.0993 0L0 39.5158L8.8368 82.0553L3.22283 86.2258L11.5398 92.5859L5.19812 97.5905L13.5151 105.202L8.31699 108.955L20.2727 123.031L2.18321 179.542L18.9211 237.199L77.8678 220.934L113.111 203.731L110.231 227.044L112.903 224.583L152.097 224.479L154.696 226.773L151.889 203.731L187.132 220.934L246.079 237.199L262.921 179.542L244.727 123.031L256.683 108.955Z",fill:"url(#paint13_linear)",fillOpacity:"0.1",style:{mixBlendMode:"color-dodge"}}),r.default.createElement("path",{d:"M256.683 108.955L251.485 105.202L259.802 97.5905L253.46 92.5859L261.777 86.2258L256.267 82.0553L265 39.5158L251.901 0L167.587 31.5918H97.4127L13.0993 0L0 39.5158L8.8368 82.0553L3.22283 86.2258L11.5398 92.5859L5.19812 97.5905L13.5151 105.202L8.31699 108.955L20.2727 123.031L2.18321 179.542L18.9211 237.199L77.8678 220.934L113.111 203.731L117.997 200.186H125.275H139.829H147.107L151.889 203.731L187.132 220.934L246.079 237.199L262.921 179.542L244.727 123.031L256.683 108.955Z",fill:"url(#paint14_radial)",style:{mixBlendMode:"overlay"}})),r.default.createElement("path",{d:"M1166.17 120.732C1159.42 116.127 1151.72 112.742 1144.35 108.759C1139.75 106.295 1134.84 103.855 1130.83 100.47C1124.08 94.944 1125.3 83.5933 1132.67 78.6647C1143.11 71.9189 1160.02 75.603 1161.86 89.7167C1161.86 90.0154 1162.16 90.339 1162.48 90.339H1178.15C1178.44 90.339 1178.77 90.0403 1178.77 89.7167C1177.85 79.8844 1174.16 71.9189 1167.41 66.6916C1160.94 61.763 1153.27 59 1145.27 59C1104.11 59 1100.42 102.611 1122.54 116.426C1125 117.969 1146.82 129.021 1154.49 133.626C1162.16 138.53 1164.62 147.143 1161.24 153.888C1158.17 160.335 1150.18 164.318 1142.48 164.019C1133.89 163.721 1127.12 158.792 1124.98 151.424C1124.68 150.204 1124.36 147.74 1124.36 146.52C1124.36 146.222 1124.06 145.898 1123.73 145.898H1106.85C1106.55 145.898 1106.23 146.197 1106.23 146.52C1106.23 158.792 1109.29 165.563 1117.58 171.711C1125.25 177.536 1133.87 180 1142.78 180C1165.82 180 1177.8 166.807 1180.26 153.291C1182.13 140.372 1178.14 128.399 1166.17 120.732Z",fill:u}),r.default.createElement("path",{d:"M433.192 61.4634H425.522H417.229C416.931 61.4634 416.607 61.7621 416.607 61.7621L402.786 107.514C402.487 108.136 401.865 108.136 401.566 107.514L388.044 61.7621C388.044 61.4634 387.745 61.4634 387.421 61.4634H379.129H371.758H361.623C361.299 61.4634 361 61.7621 361 62.0608V178.754C361 179.053 361.299 179.377 361.623 179.377H378.506C378.805 179.377 379.129 179.078 379.129 178.754V90.0145C379.129 89.3922 380.05 89.0935 380.349 89.7158L394.469 135.766L395.39 138.828C395.39 139.126 395.689 139.126 396.013 139.126H408.912C409.211 139.126 409.535 138.828 409.535 138.828L410.456 135.766L424.576 89.7158C424.576 89.0935 425.497 89.4171 425.497 90.0145V178.754C425.497 179.053 425.796 179.377 426.12 179.377H443.003C443.302 179.377 443.626 179.078 443.626 178.754V62.0608C443.626 61.7621 443.327 61.4385 443.003 61.4385L433.192 61.4634Z",fill:u}),r.default.createElement("path",{d:"M907.506 61.4634C907.207 61.4634 906.883 61.7621 906.883 61.7621L893.063 107.514C892.764 108.136 892.141 108.136 891.842 107.514L878.022 61.7621C878.022 61.4634 877.723 61.4634 877.399 61.4634H851.6C851.301 61.4634 850.978 61.7621 850.978 62.0857V178.779C850.978 179.078 851.276 179.402 851.6 179.402H868.484C868.783 179.402 869.106 179.103 869.106 178.779V90.0145C869.106 89.3922 870.028 89.0935 870.327 89.7158L884.446 135.766L885.368 138.828C885.368 139.126 885.667 139.126 885.99 139.126H898.89C899.189 139.126 899.512 138.828 899.512 138.828L900.434 135.766L914.553 89.7158C914.852 89.0935 915.773 89.0935 915.773 90.0145V178.754C915.773 179.053 916.072 179.377 916.396 179.377H933.28C933.579 179.377 933.902 179.078 933.902 178.754V62.0608C933.902 61.7621 933.604 61.4385 933.28 61.4385L907.506 61.4634Z",fill:u}),r.default.createElement("path",{d:"M690.01 61.4648H658.359H641.475H610.148C609.849 61.4648 609.525 61.7635 609.525 62.0871V76.5245C609.525 76.8232 609.824 77.1468 610.148 77.1468H640.877V178.482C640.877 178.781 641.176 179.104 641.5 179.104H658.384C658.683 179.104 659.006 178.806 659.006 178.482V77.1219H689.711C690.01 77.1219 690.333 76.8232 690.333 76.4996V62.0623C690.632 61.7635 690.309 61.4648 690.01 61.4648Z",fill:u}),r.default.createElement("path",{d:"M789.545 179.377H804.91C805.208 179.377 805.532 179.078 805.532 178.456L773.582 61.4637C773.582 61.165 773.284 61.165 772.96 61.165H767.133H756.699H751.17C750.872 61.165 750.548 61.4637 750.548 61.4637L718.897 178.456C718.897 178.755 719.196 179.377 719.52 179.377H734.884C735.183 179.377 735.507 179.078 735.507 179.078L744.721 145.001C744.721 144.703 745.02 144.703 745.343 144.703H779.435C779.733 144.703 780.057 145.001 780.057 145.001L789.271 179.078C788.922 179.054 789.246 179.377 789.545 179.377ZM749.004 127.776L761.281 82.3232C761.58 81.7009 762.202 81.7009 762.501 82.3232L774.778 127.776C774.778 128.075 774.479 128.697 774.155 128.697H749.577C749.303 128.398 749.004 128.1 749.004 127.776Z",fill:u}),r.default.createElement("path",{d:"M1051.59 179.377H1066.96C1067.26 179.377 1067.58 179.078 1067.58 178.456L1035.63 61.4637C1035.63 61.165 1035.33 61.165 1035.01 61.165H1029.18H1018.75H1012.92C1012.62 61.165 1012.3 61.4637 1012.3 61.4637L980.646 178.456C980.646 178.755 980.944 179.377 981.268 179.377H996.633C996.932 179.377 997.255 179.078 997.255 179.078L1006.47 145.001C1006.47 144.703 1006.77 144.703 1007.09 144.703H1041.18C1041.48 144.703 1041.81 145.001 1041.81 145.001L1051.02 179.078C1050.97 179.054 1051.27 179.377 1051.59 179.377ZM1011.03 127.776L1023.3 82.3232C1023.6 81.7009 1024.22 81.7009 1024.52 82.3232L1036.8 127.776C1036.8 128.075 1036.5 128.697 1036.18 128.697H1011.6C1011.35 128.398 1011.03 128.1 1011.03 127.776Z",fill:u}),r.default.createElement("path",{d:"M512.132 162.176V125.934C512.132 125.635 512.431 125.311 512.755 125.311H557.604C557.903 125.311 558.227 125.013 558.227 124.689V110.252C558.227 109.953 557.928 109.629 557.604 109.629H512.755C512.456 109.629 512.132 109.331 512.132 109.007V77.7427C512.132 77.444 512.431 77.1204 512.755 77.1204H563.755C564.054 77.1204 564.377 76.8217 564.377 76.4981V62.0608C564.377 61.7621 564.079 61.4385 563.755 61.4385H512.132H494.626C494.327 61.4385 494.003 61.7372 494.003 62.0608V77.0955V109.331V124.988V162.45V178.406C494.003 178.705 494.302 179.028 494.626 179.028H512.132H566.195C566.494 179.028 566.818 178.73 566.818 178.406V163.048C566.818 162.749 566.519 162.425 566.195 162.425H512.755C512.456 162.799 512.132 162.475 512.132 162.176Z",fill:u}),r.default.createElement("path",{d:"M1320.39 178.132L1262.02 117.645C1261.72 117.346 1261.72 117.022 1262.02 116.724L1314.54 62.3844C1314.83 62.0857 1314.54 61.4634 1314.24 61.4634H1292.72C1292.42 61.4634 1292.42 61.4634 1292.42 61.7621L1247.87 108.136C1247.57 108.435 1246.95 108.136 1246.95 107.837V62.0608C1246.95 61.7621 1246.65 61.4385 1246.33 61.4385H1229.44C1229.15 61.4385 1228.82 61.7372 1228.82 62.0608V178.754C1228.82 179.053 1229.12 179.377 1229.44 179.377H1246.33C1246.63 179.377 1246.95 179.078 1246.95 178.754V127.178C1246.95 126.556 1247.57 126.257 1247.87 126.88L1298.25 179.078L1298.55 179.377H1320.06C1320.69 179.377 1320.99 178.754 1320.39 178.132Z",fill:u}),r.default.createElement("rect",{x:"1338",y:"27",width:"194",height:"84",rx:"12",fill:d}),r.default.createElement("path",{d:"M1358 50.6376H1380.89V58.7139H1366.33V65.515H1377.7V73.5913H1366.33V88.3624H1358V50.6376Z",fill:f}),r.default.createElement("path",{d:"M1386.55 50.6376H1394.87V80.2861H1410.28V88.3624H1386.55V50.6376Z",fill:f}),r.default.createElement("path",{d:"M1427.39 50.6376H1434.94L1450.86 88.3624H1442.17L1438.87 80.3924H1423.46L1420.16 88.3624H1411.47L1427.39 50.6376ZM1426.45 73.0599H1435.83L1431.16 61.7425L1426.45 73.0599Z",fill:f}),r.default.createElement("path",{d:"M1464.82 89C1461.85 89 1459.18 88.4155 1456.81 87.2466C1454.43 86.0422 1452.51 84.3774 1451.04 82.252L1457.43 76.7793C1458.34 78.1253 1459.51 79.188 1460.94 79.9673C1462.38 80.7112 1463.77 81.0831 1465.13 81.0831C1466.53 81.0831 1467.63 80.7997 1468.43 80.233C1469.24 79.6308 1469.64 78.8692 1469.64 77.9482C1469.64 76.9918 1469.24 76.1594 1468.43 75.451C1467.67 74.7425 1466.34 74.0695 1464.45 73.4319L1461.83 72.5286C1458.8 71.5014 1456.47 70.0845 1454.87 68.2779C1453.26 66.436 1452.46 64.2221 1452.46 61.6362C1452.46 59.7943 1452.77 58.1649 1453.4 56.748C1454.06 55.2956 1454.95 54.0736 1456.07 53.0817C1457.22 52.0899 1458.59 51.3283 1460.16 50.797C1461.73 50.2657 1463.44 50 1465.29 50C1467.56 50 1469.69 50.3896 1471.68 51.1689C1473.67 51.9482 1475.54 53.2943 1477.29 55.2071L1471.84 61.0518C1470.97 59.9891 1469.97 59.2098 1468.85 58.7139C1467.74 58.1826 1466.58 57.9169 1465.4 57.9169C1464.84 57.9169 1464.28 57.97 1463.72 58.0763C1463.2 58.1826 1462.73 58.3597 1462.31 58.6076C1461.89 58.8556 1461.54 59.1567 1461.26 59.5109C1461.01 59.8651 1460.89 60.2902 1460.89 60.7861C1460.89 61.8134 1461.35 62.6281 1462.25 63.2302C1463.2 63.797 1464.66 64.4346 1466.65 65.1431L1469.27 66.0995C1471.96 67.0913 1474.11 68.5082 1475.72 70.3501C1477.36 72.1921 1478.16 74.53 1478.13 77.3638C1478.13 79.064 1477.79 80.6403 1477.13 82.0926C1476.47 83.5095 1475.54 84.7316 1474.35 85.7589C1473.2 86.7861 1471.81 87.5831 1470.16 88.1499C1468.56 88.7166 1466.78 89 1464.82 89Z",fill:f}),r.default.createElement("path",{d:"M1492.17 71.4659V88.3624H1483.9V50.6376H1492.17V66.4183L1504.8 50.6376H1515.01L1500.35 68.7561L1518 88.3624H1507.31L1492.17 71.4659Z",fill:f}),r.default.createElement("defs",null,r.default.createElement("linearGradient",{id:"paint0_linear",x1:"132.5",y1:"31.5908",x2:"132.5",y2:"200.289",gradientUnits:"userSpaceOnUse"},r.default.createElement("stop",{stopColor:"#8F8F8F"}),r.default.createElement("stop",{offset:"1",stopColor:"#AEAEAE"})),r.default.createElement("linearGradient",{id:"paint1_linear",x1:"222.583",y1:"107.077",x2:"222.583",y2:"179.957",gradientUnits:"userSpaceOnUse"},r.default.createElement("stop",{stopColor:"#696969"}),r.default.createElement("stop",{offset:"1",stopColor:"#A6A6A6"})),r.default.createElement("linearGradient",{id:"paint2_linear",x1:"42.4685",y1:"107.077",x2:"42.4685",y2:"179.957",gradientUnits:"userSpaceOnUse"},r.default.createElement("stop",{stopColor:"#696969"}),r.default.createElement("stop",{offset:"1",stopColor:"#A6A6A6"})),r.default.createElement("linearGradient",{id:"paint3_linear",x1:"184.533",y1:"102.178",x2:"279.867",y2:"27.8973",gradientUnits:"userSpaceOnUse"},r.default.createElement("stop",{stopColor:"#1B1B1B"}),r.default.createElement("stop",{offset:"1",stopColor:"#565656"})),r.default.createElement("linearGradient",{id:"paint4_linear",x1:"80.4668",y1:"102.178",x2:"-14.8672",y2:"27.8973",gradientUnits:"userSpaceOnUse"},r.default.createElement("stop",{stopColor:"#1B1B1B"}),r.default.createElement("stop",{offset:"1",stopColor:"#565656"})),r.default.createElement("linearGradient",{id:"paint5_linear",x1:"225.027",y1:"179.542",x2:"225.027",y2:"237.2",gradientUnits:"userSpaceOnUse"},r.default.createElement("stop",{stopColor:"#787878"}),r.default.createElement("stop",{offset:"1",stopColor:"#5E5E5E"})),r.default.createElement("linearGradient",{id:"paint6_linear",x1:"40.0254",y1:"179.542",x2:"40.0254",y2:"237.2",gradientUnits:"userSpaceOnUse"},r.default.createElement("stop",{stopColor:"#787878"}),r.default.createElement("stop",{offset:"1",stopColor:"#5E5E5E"})),r.default.createElement("linearGradient",{id:"paint7_linear",x1:"87.4322",y1:"74.4443",x2:"87.4322",y2:"134.604",gradientUnits:"userSpaceOnUse"},r.default.createElement("stop",{stopColor:"#7A7A7A"}),r.default.createElement("stop",{offset:"1",stopColor:"#949494"})),r.default.createElement("linearGradient",{id:"paint8_linear",x1:"177.568",y1:"74.4443",x2:"177.568",y2:"134.604",gradientUnits:"userSpaceOnUse"},r.default.createElement("stop",{stopColor:"#7A7A7A"}),r.default.createElement("stop",{offset:"1",stopColor:"#949494"})),r.default.createElement("linearGradient",{id:"paint9_linear",x1:"95.4893",y1:"245.645",x2:"95.4893",y2:"-25.2885",gradientUnits:"userSpaceOnUse"},r.default.createElement("stop",{stopColor:"#7A7C7D"}),r.default.createElement("stop",{offset:"1",stopColor:"#CECECF"})),r.default.createElement("linearGradient",{id:"paint10_linear",x1:"169.51",y1:"245.645",x2:"169.51",y2:"-25.2885",gradientUnits:"userSpaceOnUse"},r.default.createElement("stop",{stopColor:"#7A7C7D"}),r.default.createElement("stop",{offset:"1",stopColor:"#CECECF"})),r.default.createElement("linearGradient",{id:"paint11_linear",x1:"198.464",y1:"126.784",x2:"198.464",y2:"234.065",gradientUnits:"userSpaceOnUse"},r.default.createElement("stop",{stopColor:"#3E3E3E"}),r.default.createElement("stop",{offset:"1",stopColor:"#616161"})),r.default.createElement("linearGradient",{id:"paint12_linear",x1:"66.5358",y1:"126.784",x2:"66.5358",y2:"234.065",gradientUnits:"userSpaceOnUse"},r.default.createElement("stop",{stopColor:"#3E3E3E"}),r.default.createElement("stop",{offset:"1",stopColor:"#616161"})),r.default.createElement("linearGradient",{id:"paint13_linear",x1:"132.032",y1:"31.279",x2:"132.032",y2:"258.573",gradientUnits:"userSpaceOnUse"},r.default.createElement("stop",{stopColor:"#FF60DC"}),r.default.createElement("stop",{offset:"1",stopColor:"#6B71FF"})),r.default.createElement("radialGradient",{id:"paint14_radial",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(132.032 26.5872) rotate(90) scale(218.953 244.615)"},r.default.createElement("stop",{stopColor:"#FF60DC"}),r.default.createElement("stop",{offset:"1",stopColor:"#6B71FF"})),r.default.createElement("clipPath",{id:"clip0"},r.default.createElement("rect",{width:"265",height:"247",fill:"white"}))))}p.propTypes={theme:o.default.oneOf([i.ThemeType.light,i.ThemeType.dark,i.ThemeType.os]),className:o.default.string}}}},{package:"$root$",file:"ui/components/ui/metafox-logo/horizontal-logo.js"}],[5268,{"./metafox-logo.component":5269},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./metafox-logo.component"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/ui/metafox-logo/index.js"}],[5269,{"../../../helpers/constants/design-system":5355,"../../component-library":4955,"./horizontal-logo":5267,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=u(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=c(e("prop-types")),o=c(e("classnames")),i=e("../../component-library"),s=e("../../../helpers/constants/design-system"),l=c(e("./horizontal-logo"));function c(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(u=function(e){return e?n:t})(e)}function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;ta.default.createElement(l.default,{className:(0,o.default)({"app-header__metafox-logo--horizontal":!n,"onboarding-app-header__metafox-logo--horizontal":n})}),f="./images/logo/metamask-fox.svg";return r&&(u=()=>a.default.createElement("img",d({},c,{src:r,className:(0,o.default)({"app-header__metafox-logo--horizontal":!n,"onboarding-app-header__metafox-logo--horizontal":n}),alt:""})),f=r),a.default.createElement(i.Box,{as:"button",onClick:e,className:(0,o.default)({"app-header__logo-container":!n,"onboarding-app-header__logo-container":n,"app-header__logo-container--clickable":Boolean(e)}),backgroundColor:s.BackgroundColor.transparent,"data-testid":"app-header-logo"},u(),a.default.createElement("img",d({},c,{src:f,className:(0,o.default)({"app-header__metafox-logo--icon":!n,"onboarding-app-header__metafox-logo--icon":n}),alt:""})))}}n.default=p,f(p,"propTypes",{onClick:r.default.func,unsetIconHeight:r.default.bool,isOnboarding:r.default.bool,src:r.default.string}),f(p,"defaultProps",{onClick:undefined})}}},{package:"$root$",file:"ui/components/ui/metafox-logo/metafox-logo.component.js"}],[5270,{"../../../../shared/constants/tokens":4519,"../../../../shared/lib/fetch-with-cache":4525,"../../../contexts/i18n":5324,"../../../ducks/metamask/metamask":5346,"../../../helpers/constants/design-system":5355,"../../../helpers/constants/zendesk-url":5368,"../../../helpers/utils/portfolio":5394,"../../../selectors":5987,"../../../store/actions":5998,"../../component-library":4955,"../popover":5281,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(){var e;const t=(0,a.useContext)(s.I18nContext),[n,g]=(0,a.useState)(!1),[y,b]=(0,a.useState)(!0),[v,_]=(0,a.useState)(!0),C=(0,r.useSelector)(u.getUseTokenDetection),T=(0,r.useSelector)(u.getUseExternalServices),w=(0,r.useSelector)(l.getProviderConfig),E=(0,r.useSelector)(u.getCurrentNetwork),k=(0,r.useSelector)(u.getMetaMetricsId),O=(0,r.useSelector)(u.getIsBridgeChain),M=()=>{b(!1),(0,d.setFirstTimeUsedNetwork)(w.chainId)},x=(0,a.useCallback)((async()=>{_(!0);const e=await(0,i.default)({url:`${o.TOKEN_API_METASWAP_CODEFI_URL}${w.chainId}?occurrenceFloor=100&includeNativeAssets=false`,functionName:"getIsTokenDetectionSupported"}),t=!(null!=e&&e.error);g(t),_(!1)}),[w.chainId]);return(0,a.useEffect)((()=>{T&&x()}),[]),!v&&y&&a.default.createElement(p.default,{title:t("switchedTo"),centerTitle:!0,onClose:M,className:"new-network-info__wrapper",headerProps:{marginLeft:6},footer:a.default.createElement(a.default.Fragment,null,a.default.createElement(f.Button,{variant:"secondary",href:h.default.USER_GUIDE_CUSTOM_NETWORKS,externalLink:!0,rel:"noreferrer",size:f.ButtonPrimarySize.Md,className:"footer__button"},a.default.createElement(f.Text,{variant:c.TextVariant.bodySm,as:"h6",color:c.Color.inherit},t("learnToBridge"))),a.default.createElement(f.Button,{variant:"primary",onClick:M,size:f.ButtonPrimarySize.Md,className:"footer__button"},a.default.createElement(f.Text,{variant:c.TextVariant.bodySm,as:"h6",color:c.Color.inherit},t("recoveryPhraseReminderConfirm"))))},a.default.createElement(f.Box,{"data-testid":"new-network-info__wrapper",display:c.Display.Flex,flexDirection:c.FlexDirection.Column},a.default.createElement(f.PickerNetwork,{label:null==E?void 0:E.nickname,src:null==E||null===(e=E.rpcPrefs)||void 0===e?void 0:e.imageUrl,marginLeft:"auto",marginRight:"auto",marginBottom:4,iconProps:{display:"none"},avatarNetworkProps:{size:f.AvatarNetworkSize.Sm},as:"div",backgroundColor:c.BackgroundColor.transparent,borderWidth:1,borderColor:c.BorderColor.borderMuted}),a.default.createElement(f.Text,{variant:c.TextVariant.bodySm,as:"h6",color:c.Color.textDefault,align:c.TextAlign.Start,marginLeft:4,marginTop:2},t("thingsToKeep")),a.default.createElement(f.Box,{marginRight:4,marginLeft:4,marginTop:5},w.ticker&&a.default.createElement(f.Box,{display:c.Display.Flex,alignItems:c.AlignItems.flexStart,marginBottom:2,paddingBottom:2,"data-testid":"new-network-info__bullet-paragraph",gap:3},a.default.createElement(f.Box,{className:"new-network-info__bullet-icon-container"},a.default.createElement(f.Icon,{name:f.IconName.Gas,size:f.IconSize.Sm})),a.default.createElement(f.Box,{flexDirection:c.FlexDirection.Column},a.default.createElement(f.Text,{variant:c.TextVariant.bodySmBold,as:"h6",color:c.TextColor.textDefault},t("gasIsETH",[w.ticker])),a.default.createElement(f.Text,{variant:c.TextVariant.bodySm,as:"h6",color:c.TextColor.textDefault,display:c.Display.InlineBlock,key:"nativeTokenInfo"},t("nativeToken",[w.ticker])))),a.default.createElement(f.Box,{display:c.Display.Flex,alignItems:c.AlignItems.flexStart,marginBottom:2,paddingBottom:2,gap:3},a.default.createElement(f.Box,{className:"new-network-info__bullet-icon-container"},a.default.createElement(f.Icon,{name:f.IconName.Bridge,size:f.IconSize.Sm})),a.default.createElement(f.Box,{flexDirection:c.FlexDirection.Column},a.default.createElement(f.Text,{variant:c.TextVariant.bodySmBold,as:"h6",color:c.TextColor.textDefault},t("bridgeDontSend")),a.default.createElement(f.Text,{variant:c.TextVariant.bodySm,as:"h6",color:c.TextColor.textDefault,display:c.Display.InlineBlock},O?t("attemptSendingAssetsWithPortfolio",[a.default.createElement("a",{href:`${(0,m.getPortfolioUrl)("bridge","ext_bridge_new_network_info_link",k)}&destChain=${null==E?void 0:E.chainId}`,target:"_blank",rel:"noreferrer",key:"bridge-link"},a.default.createElement(f.Text,{variant:c.TextVariant.bodySm,as:"h6",color:c.TextColor.infoDefault,className:"new-network-info__button"},t("metamaskPortfolio")))]):t("attemptSendingAssets")))),C&&n?null:a.default.createElement(f.Box,{display:c.Display.Flex,alignItems:c.AlignItems.flexStart,marginBottom:2,paddingBottom:2,"data-testid":"new-network-info__add-token-manually",gap:3},a.default.createElement(f.Box,{className:"new-network-info__bullet-icon-container"},a.default.createElement(f.Icon,{name:f.IconName.Coin,size:f.IconSize.Sm})),a.default.createElement(f.Box,{flexDirection:c.FlexDirection.Column},a.default.createElement(f.Text,{variant:c.TextVariant.bodySmBold,as:"h6",color:c.TextColor.textDefault},t("addingTokens")),a.default.createElement(f.Text,{variant:c.TextVariant.bodySm,as:"h6",color:c.Color.textDefault,display:c.Display.InlineBlock},t("tokenShowUp"),t("clickToManuallyAdd")))))))};var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=y(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=e("react-redux"),o=e("../../../../shared/constants/tokens"),i=g(e("../../../../shared/lib/fetch-with-cache")),s=e("../../../contexts/i18n"),l=e("../../../ducks/metamask/metamask"),c=e("../../../helpers/constants/design-system"),u=e("../../../selectors"),d=e("../../../store/actions"),f=e("../../component-library"),p=g(e("../popover")),m=e("../../../helpers/utils/portfolio"),h=g(e("../../../helpers/constants/zendesk-url"));function g(e){return e&&e.__esModule?e:{default:e}}function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(y=function(e){return e?n:t})(e)}}}},{package:"$root$",file:"ui/components/ui/new-network-info/new-network-info.js"}],[5271,{"../../../helpers/constants/design-system":5355,"../../../hooks/useNftsCollections":5432,"../../../selectors":5987,"../box":5194,"../identicon":5247,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=f;var a=d(e("react")),r=d(e("prop-types")),o=e("react-redux"),i=d(e("../box")),s=e("../../../helpers/constants/design-system"),l=d(e("../identicon")),c=e("../../../selectors"),u=e("../../../hooks/useNftsCollections");function d(e){return e&&e.__esModule?e:{default:e}}function f({assetName:e,tokenAddress:t}){var n;const{collections:r}=(0,u.useNftsCollections)(),d=null===(n=(0,o.useSelector)(c.getTokenList)[t.toLowerCase()])||void 0===n?void 0:n.iconUrl;return a.default.createElement(i.default,null,(()=>{var t;const n=Object.values(r).find((({collectionName:t})=>t===e));return null!=n&&n.collectionImage||d?a.default.createElement(l.default,{diameter:24,image:(null==n?void 0:n.collectionImage)||d}):a.default.createElement(i.default,{color:s.Color.overlayInverse,textAlign:s.TextAlign.Center,className:"collection-image-alt"},(null==e||null===(t=e[0])||void 0===t?void 0:t.toUpperCase())??null)})())}f.propTypes={assetName:r.default.string,tokenAddress:r.default.string}}}},{package:"$root$",file:"ui/components/ui/nft-collection-image/nft-collection-image.js"}],[5272,{"./nickname-popover.component":5273},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./nickname-popover.component"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/ui/nickname-popover/index.js"}],[5273,{"../../../contexts/i18n":5324,"../../../helpers/constants/routes":5361,"../../../helpers/utils/util":5399,"../../../hooks/useCopyToClipboard":5417,"../../../selectors":5987,"../../component-library":4955,"../button":5198,"../identicon":5247,"../popover":5281,"../tooltip":5310,"prop-types":3997,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=b(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=e("react-redux"),o=y(e("prop-types")),i=e("react-router-dom"),s=e("../../../contexts/i18n"),l=y(e("../tooltip")),c=y(e("../popover")),u=y(e("../button")),d=y(e("../identicon")),f=e("../../../helpers/utils/util"),p=e("../../../hooks/useCopyToClipboard"),m=e("../../../selectors"),h=e("../../../helpers/constants/routes"),g=e("../../component-library");function y(e){return e&&e.__esModule?e:{default:e}}function b(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(b=function(e){return e?n:t})(e)}const v=({address:e,nickname:t,onClose:n=null,onAdd:o=null,explorerLink:y})=>{var b;const v=(0,a.useContext)(s.I18nContext),_=(0,i.useHistory)(),C=(0,a.useCallback)((()=>{o()}),[o]),[T,w]=(0,p.useCopyToClipboard)(),E=(0,r.useSelector)(m.getTokenList),k=(0,r.useSelector)(m.getBlockExplorerLinkText);return a.default.createElement("div",{className:"nickname-popover"},a.default.createElement(c.default,{onClose:n,className:"nickname-popover__popover-wrap"},a.default.createElement(d.default,{address:e,diameter:36,className:"nickname-popover__identicon",image:null===(b=E[e.toLowerCase()])||void 0===b?void 0:b.iconUrl}),a.default.createElement("div",{className:"nickname-popover__address"},t||(0,f.shortenAddress)(e)),a.default.createElement("div",{className:"nickname-popover__public-address"},a.default.createElement("div",{className:"nickname-popover__public-address__constant"},e),a.default.createElement(l.default,{position:"bottom",title:v(T?"copiedExclamation":"copyToClipboard")},a.default.createElement(g.ButtonIcon,{iconName:T?g.IconName.CopySuccess:g.IconName.Copy,size:g.IconSize.Sm,onClick:()=>w(e)}))),a.default.createElement("div",{className:"nickname-popover__view-on-block-explorer"},a.default.createElement(u.default,{type:"link",className:"nickname-popover__etherscan-link",onClick:"addBlockExplorer"===k.firstPart?()=>{_.push(`${h.NETWORKS_ROUTE}#blockExplorerUrl`)}:()=>{global.platform.openTab({url:y})},target:"_blank",rel:"noopener noreferrer",title:"addBlockExplorer"===k.firstPart?v("addBlockExplorer"):v("etherscanView")},"addBlockExplorer"===k.firstPart?v("addBlockExplorer"):v("viewOnBlockExplorer"))),a.default.createElement(u.default,{type:"primary",className:"nickname-popover__footer-button",onClick:C},v(t?"editANickname":"addANickname"))))};v.propTypes={address:o.default.string,nickname:o.default.string,onClose:o.default.func,onAdd:o.default.func,explorerLink:o.default.string};n.default=v}}},{package:"$root$",file:"ui/components/ui/nickname-popover/nickname-popover.component.js"}],[5274,{"../../../../shared/constants/tokens":4519,"../../../helpers/constants/design-system":5355,"../../component-library":4955,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=u;var a=c(e("react")),r=c(e("classnames")),o=c(e("prop-types")),i=e("../../../helpers/constants/design-system"),s=e("../../../../shared/constants/tokens"),l=e("../../component-library");function c(e){return e&&e.__esModule?e:{default:e}}function u({detailText:e="",value:t=0,onChange:n,error:o="",autoFocus:c=!1,allowDecimals:u=!0,disabled:d=!1,dataTestId:f,placeholder:p,id:m,name:h,inputRef:g}){return a.default.createElement("div",{className:(0,r.default)("numeric-input",{"numeric-input--error":o})},a.default.createElement("input",{type:"number",value:t,onKeyDown:e=>{u||"."!==e.key||e.preventDefault()},onChange:e=>{var t;const a=e.target.value,r=s.DECIMAL_REGEX.exec(a);(null==r||null===(t=r[1])||void 0===t?void 0:t.length)>=15||null==n||n(parseFloat(a||0,10))},min:"0",autoFocus:c,disabled:d,"data-testid":f,placeholder:p,id:m,name:h,ref:g}),e&&a.default.createElement(l.Text,{color:i.TextColor.textAlternative,variant:i.TextVariant.bodySm,as:"span"},e))}u.propTypes={value:o.default.oneOfType([o.default.number,o.default.string]),detailText:o.default.string,onChange:o.default.func,error:o.default.string,autoFocus:o.default.bool,allowDecimals:o.default.bool,disabled:o.default.bool,dataTestId:o.default.string,placeholder:o.default.string,name:o.default.string,id:o.default.string,inputRef:o.default.object}}}},{package:"$root$",file:"ui/components/ui/numeric-input/numeric-input.component.js"}],[5275,{"./page-container-footer":5276,"./page-container-header":5278,"./page-container.component":5280},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"PageContainerFooter",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(n,"PageContainerHeader",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return o.default}});var a=i(e("./page-container-header")),r=i(e("./page-container-footer")),o=i(e("./page-container.component"));function i(e){return e&&e.__esModule?e:{default:e}}}}},{package:"$root$",file:"ui/components/ui/page-container/index.js"}],[5276,{"./page-container-footer.component":5277},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./page-container-footer.component"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/ui/page-container/page-container-footer/index.js"}],[5277,{"../../button":5198,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=l(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=s(e("prop-types")),o=s(e("classnames")),i=s(e("../../button"));function s(e){return e&&e.__esModule?e:{default:e}}function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(l=function(e){return e?n:t})(e)}function c(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class u extends a.Component{render(){const{children:e,onCancel:t,cancelText:n,onSubmit:r,submitText:s,disabled:l,submitButtonType:c,hideCancel:u,cancelButtonType:d,buttonSizeLarge:f=!1,footerClassName:p,footerButtonClassName:m}=this.props;return a.default.createElement("div",{className:(0,o.default)("page-container__footer",p)},a.default.createElement("footer",null,!u&&a.default.createElement(i.default,{type:d||"secondary",large:f,className:(0,o.default)("page-container__footer-button","page-container__footer-button__cancel",m),onClick:e=>t(e),"data-testid":"page-container-footer-cancel"},n||this.context.t("cancel")),a.default.createElement(i.default,{type:c||"primary",large:f,className:(0,o.default)("page-container__footer-button",m),disabled:l,onClick:e=>r(e),"data-testid":"page-container-footer-next"},s||this.context.t("next"))),e&&a.default.createElement("div",{className:"page-container__footer-secondary"},e))}}n.default=u,c(u,"propTypes",{children:r.default.node,onCancel:r.default.func,cancelText:r.default.string,cancelButtonType:r.default.string,onSubmit:r.default.func,submitText:r.default.string,disabled:r.default.bool,submitButtonType:r.default.string,hideCancel:r.default.bool,buttonSizeLarge:r.default.bool,footerClassName:r.default.string,footerButtonClassName:r.default.string}),c(u,"contextTypes",{t:r.default.func})}}},{package:"$root$",file:"ui/components/ui/page-container/page-container-footer/page-container-footer.component.js"}],[5278,{"./page-container-header.component":5279},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./page-container-header.component"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/ui/page-container/page-container-header/index.js"}],[5279,{"../../button":5198,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r,o,i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=d(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),s=u(e("prop-types")),l=u(e("classnames")),c=u(e("../../button"));function u(e){return e&&e.__esModule?e:{default:e}}function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(d=function(e){return e?n:t})(e)}class f extends i.Component{renderTabs(){const{tabs:e}=this.props;return e?i.default.createElement("ul",{className:"page-container__tabs"},e):null}renderCloseAction(){const{hideClose:e,onClose:t,headerCloseText:n}=this.props;return e?null:n?t&&i.default.createElement(c.default,{type:"link",className:"page-container__header-close-text",onClick:()=>t()},n):t&&i.default.createElement("button",{className:"page-container__header-close",onClick:()=>t(),"aria-label":"close"})}renderHeaderRow(){const{showBackButton:e,onBackButtonClick:t,backButtonStyles:n,backButtonString:a}=this.props;return e&&i.default.createElement("div",{className:"page-container__header-row"},i.default.createElement("span",{className:"page-container__back-button",onClick:t,style:n},a||"Back"))}render(){const{title:e,subtitle:t,tabs:n,className:a,hideClose:r}=this.props;return i.default.createElement("div",{className:(0,l.default)("page-container__header",a,{"page-container__header--no-padding-bottom":Boolean(n)}),"data-testid":"page-container__header"},this.renderHeaderRow(),e&&i.default.createElement("div",{className:(0,l.default)("page-container__title",{"page-container__title--no-margin-right":r})},e),t?i.default.createElement("div",{className:"page-container__subtitle"},t):null,this.renderCloseAction(),this.renderTabs())}}n.default=f,a=f,r="propTypes",o={title:s.default.string,subtitle:s.default.string,onClose:s.default.func,showBackButton:s.default.bool,onBackButtonClick:s.default.func,backButtonStyles:s.default.object,backButtonString:s.default.string,tabs:s.default.node,headerCloseText:s.default.string,className:s.default.string,hideClose:s.default.bool},(r=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(r))in a?Object.defineProperty(a,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):a[r]=o}}},{package:"$root$",file:"ui/components/ui/page-container/page-container-header/page-container-header.component.js"}],[5280,{"./page-container-footer":5276,"./page-container-header":5278,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=l(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=s(e("prop-types")),o=s(e("./page-container-header")),i=s(e("./page-container-footer"));function s(e){return e&&e.__esModule?e:{default:e}}function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(l=function(e){return e?n:t})(e)}function c(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class u extends a.PureComponent{constructor(...e){super(...e),c(this,"state",{activeTabIndex:this.props.defaultActiveTabIndex||0})}handleTabClick(e){this.setState({activeTabIndex:e})}renderTabs(){const{tabsComponent:e}=this.props;if(!e)return null;const t=a.default.Children.count(e.props.children);return a.default.Children.map(e.props.children,((e,n)=>e&&a.default.cloneElement(e,{onClick:e=>this.handleTabClick(e),tabIndex:n,isActive:t>1&&n===this.state.activeTabIndex,key:n,className:"page-container__tab"})))}renderActiveTabContent(){const{tabsComponent:e}=this.props;let{children:t}=e.props;t=t.filter(Boolean);const{activeTabIndex:n}=this.state;return(t[n]||t[0]).props.children}renderContent(){const{contentComponent:e,tabsComponent:t}=this.props;return e||(t?this.renderActiveTabContent():null)}render(){const{title:e,subtitle:t,onClose:n,showBackButton:r,onBackButtonClick:s,backButtonStyles:l,backButtonString:c,onCancel:u,cancelText:d,onSubmit:f,submitText:p,disabled:m,headerCloseText:h,hideCancel:g}=this.props;return a.default.createElement("div",{className:"page-container"},a.default.createElement(o.default,{title:e,subtitle:t,onClose:n,showBackButton:r,onBackButtonClick:s,backButtonStyles:l,backButtonString:c,tabs:this.renderTabs(),headerCloseText:h}),a.default.createElement("div",{className:"page-container__bottom"},a.default.createElement("div",{className:"page-container__content"},this.renderContent()),a.default.createElement(i.default,{onCancel:u,cancelText:d,hideCancel:g,onSubmit:f,submitText:p,disabled:m})))}}n.default=u,c(u,"contextTypes",{t:r.default.func}),c(u,"propTypes",{backButtonString:r.default.string,backButtonStyles:r.default.object,headerCloseText:r.default.string,onBackButtonClick:r.default.func,onClose:r.default.func,showBackButton:r.default.bool,subtitle:r.default.string,title:r.default.string.isRequired,defaultActiveTabIndex:r.default.number,tabsComponent:r.default.node,contentComponent:r.default.node,cancelText:r.default.string,disabled:r.default.bool,hideCancel:r.default.bool,onCancel:r.default.func,onSubmit:r.default.func,submitText:r.default.string})}}},{package:"$root$",file:"ui/components/ui/page-container/page-container.component.js"}],[5281,{"./popover.component":5282},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./popover.component"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/ui/popover/index.js"}],[5282,{"../../../helpers/constants/design-system":5355,"../../../hooks/useI18nContext":5427,"../../component-library":4955,"../box":5194,classnames:3049,"prop-types":3997,react:4243,"react-dom":4074},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=d(e("react-dom")),o=d(e("prop-types")),i=d(e("classnames")),s=e("../../../hooks/useI18nContext"),l=d(e("../box")),c=e("../../../helpers/constants/design-system"),u=e("../../component-library");function d(e){return e&&e.__esModule?e:{default:e}}function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}function p(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function m(){return m=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const P=(0,s.useI18nContext)(),j=e||d||t||f,I=()=>a.default.createElement(l.default,m({},h,M,{className:"popover-header"}),a.default.createElement(l.default,{display:c.DISPLAY.FLEX,alignItems:c.AlignItems.center,justifyContent:k?null:c.JustifyContent.spaceBetween,className:(0,i.default)("popover-header__title",{"popover-header__title--center":k}),marginBottom:2},d?a.default.createElement(u.ButtonIcon,{iconName:u.IconName.ArrowLeft,ariaLabel:P("back"),onClick:d,color:c.Color.iconDefault,size:c.Size.SM}):null,a.default.createElement(u.Text,{textAlign:k?c.TextAlign.Center:c.TextAlign.Start,className:O?"popover-header__title-wrap":null,ellipsis:!0,variant:c.TextVariant.headingSm,as:"h2",width:c.BLOCK_SIZES.FULL},e),f?a.default.createElement(u.ButtonIcon,{iconName:u.IconName.Close,ariaLabel:P("close"),"data-testid":"popover-close",onClick:f,size:c.Size.SM}):null),t?a.default.createElement(u.Text,{variant:c.TextVariant.bodySm},t):null);return a.default.createElement("div",{className:"popover-container"},C?a.default.createElement(C,{onClose:f}):a.default.createElement("div",{className:"popover-bg",onClick:f}),a.default.createElement("section",{className:(0,i.default)("popover-wrap",b),ref:T},_?a.default.createElement("div",{className:"popover-arrow"}):null,j&&a.default.createElement(I,null),n?a.default.createElement(l.default,m({className:(0,i.default)("popover-content",v),onScroll:p},g,x),n):null,w?a.default.createElement(l.default,{display:c.DISPLAY.FLEX,alignItems:c.AlignItems.center,justifyContent:c.JustifyContent.center,borderColor:c.BorderColor.borderDefault,backgroundColor:c.BackgroundColor.backgroundDefault,color:c.Color.iconDefault,onClick:E,className:"popover-scroll-button",style:{bottom:r?"140px":"12px"},"data-testid":"popover-scroll-button"},a.default.createElement(u.Icon,{name:u.IconName.ArrowDown,color:c.IconColor.primaryDefault,size:u.IconSize.Md,"aria-label":P("scrollDown")})):null,r?a.default.createElement(l.default,m({className:(0,i.default)("popover-footer",o)},y,N),r):null))};b.propTypes={wrapTitle:o.default.bool,title:o.default.node,subtitle:o.default.string,children:o.default.node,footer:o.default.node,footerClassName:o.default.string,onBack:o.default.func,onClose:o.default.func,onScroll:o.default.func,CustomBackground:o.default.func,contentClassName:o.default.string,className:o.default.string,showArrow:o.default.bool,popoverRef:o.default.shape({current:o.default.instanceOf(window.Element)}),showScrollDown:o.default.bool,onScrollDownButtonClick:o.default.func,centerTitle:o.default.bool,headerProps:o.default.shape({...l.default.propTypes}),contentProps:o.default.shape({...l.default.propTypes}),footerProps:o.default.shape({...l.default.propTypes})};class v extends a.PureComponent{constructor(...e){super(...e),p(this,"rootNode",document.getElementById("popover-content")),p(this,"instanceNode",document.createElement("div"))}componentDidMount(){this.rootNode&&this.rootNode.appendChild(this.instanceNode)}componentWillUnmount(){this.rootNode&&this.rootNode.removeChild(this.instanceNode)}render(){const e=a.default.createElement(b,this.props);return this.rootNode?r.default.createPortal(e,this.instanceNode):e}}n.default=v,p(v,"propTypes",b.propTypes)}}},{package:"$root$",file:"ui/components/ui/popover/popover.component.js"}],[5283,{"./pulse-loader":5284},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./pulse-loader"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/ui/pulse-loader/index.js"}],[5284,{react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(){return r.default.createElement("div",{className:"pulse-loader","data-testid":"pulse-loader"},r.default.createElement("div",{className:"pulse-loader__loading-dot-one"}),r.default.createElement("div",{className:"pulse-loader__loading-dot-two"}),r.default.createElement("div",{className:"pulse-loader__loading-dot-three"}))};var a,r=(a=e("react"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/ui/pulse-loader/pulse-loader.js"}],[5285,{"./qr-code-view":5286},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./qr-code-view"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/ui/qr-code-view/index.js"}],[5286,{"../../../../shared/constants/metametrics":4505,"../../../../shared/modules/hexstring-utils":4544,"../../../contexts/metametrics":5327,"../../multichain":5092,"../box/box":5193,"ethereumjs-util":3288,"prop-types":3997,"qrcode-generator":4056,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=m(e("prop-types")),r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=p(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=m(e("qrcode-generator")),i=e("react-redux"),s=e("ethereumjs-util"),l=e("../../../../shared/modules/hexstring-utils"),c=e("../../multichain"),u=m(e("../box/box")),d=e("../../../contexts/metametrics"),f=e("../../../../shared/constants/metametrics");function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(p=function(e){return e?n:t})(e)}function m(e){return e&&e.__esModule?e:{default:e}}n.default=(0,i.connect)((function(e){const{buyView:t,warning:n}=e.appState;return{buyView:t,warning:n}}))(h);function h({Qr:e,warning:t}){const n=(0,r.useContext)(d.MetaMetricsContext),{message:a,data:i}=e,p=`${(0,s.isHexPrefixed)(i)?"ethereum:":""}${(0,l.toChecksumHexAddress)(i)}`,m=(0,o.default)(4,"M");m.addData(p),m.make();const h=a?r.default.createElement("div",{className:"qr-code__header"},a):null;return r.default.createElement("div",{className:"qr-code"},Array.isArray(a)?r.default.createElement("div",{className:"qr-code__message-container"},a.map(((e,t)=>r.default.createElement("div",{className:"qr_code__message",key:t},e)))):h,t?r.default.createElement("span",{className:"qr-code__error"},t):null,r.default.createElement("div",{className:"qr-code__wrapper",dangerouslySetInnerHTML:{__html:m.createTableTag(5,24)}}),r.default.createElement(u.default,{marginBottom:6},r.default.createElement(c.AddressCopyButton,{wrap:!0,address:i,onClick:()=>{n({category:f.MetaMetricsEventCategory.Accounts,event:f.MetaMetricsEventName.PublicAddressCopied,properties:{location:"Account Details Modal"}})}})))}h.propTypes={warning:a.default.node,Qr:a.default.shape({message:a.default.oneOfType([a.default.arrayOf(a.default.node),a.default.node]),data:a.default.string.isRequired}).isRequired}}}},{package:"$root$",file:"ui/components/ui/qr-code-view/qr-code-view.js"}],[5287,{"./sender-to-recipient.component":5288},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./sender-to-recipient.component"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/ui/sender-to-recipient/index.js"}],[5288,{"../../../../shared/constants/copy":4496,"../../../../shared/modules/hexstring-utils":4544,"../../../helpers/utils/util":5399,"../../../hooks/useI18nContext":5427,"../../../hooks/usePetnamesEnabled":5434,"../../app/modals/nickname-popovers":4692,"../../app/name/name":4711,"../../component-library":4955,"../account-mismatch-warning/account-mismatch-warning.component":5189,"../identicon":5247,"../tooltip":5310,"./sender-to-recipient.constants":5289,"@metamask/name-controller":1529,classnames:3049,"copy-to-clipboard":3087,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.RecipientWithAddress=E,n.default=O;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=C(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=_(e("prop-types")),o=_(e("classnames")),i=_(e("copy-to-clipboard")),s=e("@metamask/name-controller"),l=_(e("../tooltip")),c=_(e("../identicon")),u=e("../../../helpers/utils/util"),d=_(e("../account-mismatch-warning/account-mismatch-warning.component")),f=e("../../../hooks/useI18nContext"),p=e("../../../../shared/modules/hexstring-utils"),m=_(e("../../app/name/name")),h=e("../../../../shared/constants/copy"),g=_(e("../../app/modals/nickname-popovers")),y=e("../../component-library"),b=e("../../../hooks/usePetnamesEnabled"),v=e("./sender-to-recipient.constants");function _(e){return e&&e.__esModule?e:{default:e}}function C(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(C=function(e){return e?n:t})(e)}const T={[v.DEFAULT_VARIANT]:"sender-to-recipient--default",[v.CARDS_VARIANT]:"sender-to-recipient--cards",[v.FLAT_VARIANT]:"sender-to-recipient--flat"};function w({addressOnly:e,checksummedSenderAddress:t,senderName:n,onSenderClick:r,senderAddress:s,warnUserOnAccountMismatch:m}){const g=(0,f.useI18nContext)(),[y,b]=(0,a.useState)(!1);let v=a.default.createElement("p",null,g("copiedExclamation"));return y||(v=e?a.default.createElement("p",null,g("copyAddress")):a.default.createElement("p",null,(0,u.shortenAddress)(t),a.default.createElement("br",null),g("copyAddress"))),a.default.createElement("div",{className:(0,o.default)("sender-to-recipient__party sender-to-recipient__party--sender"),onClick:()=>{b(!0),(0,i.default)(t,h.COPY_OPTIONS),r&&r()}},a.default.createElement("div",{className:"sender-to-recipient__sender-icon"},a.default.createElement(c.default,{address:(0,p.toChecksumHexAddress)(s),diameter:24})),a.default.createElement(l.default,{position:"bottom",html:v,wrapperClassName:"sender-to-recipient__tooltip-wrapper",containerClassName:"sender-to-recipient__tooltip-container",onHidden:()=>b(!1)},a.default.createElement("div",{className:"sender-to-recipient__name"},e?a.default.createElement("span",null,`${n||(0,u.shortenAddress)(t)}`):n)),m&&a.default.createElement(d.default,{address:s}))}function E({checksummedRecipientAddress:e,onRecipientClick:t,addressOnly:n,recipientNickname:r,recipientEns:o,recipientName:d,recipientMetadataName:p,recipientIsOwnedAccount:y}){const v=(0,f.useI18nContext)(),[_,C]=(0,a.useState)(!1),[T,w]=(0,a.useState)(!1),E=(0,b.usePetnamesEnabled)();let k=a.default.createElement("p",null,v("copiedExclamation"));T||(k=n?a.default.createElement("p",null,v("copyAddress")):a.default.createElement("p",null,(0,u.shortenAddress)(e),a.default.createElement("br",null),v("copyAddress")));const O=(d||r||p||o||(0,u.shortenAddress)(e))??(!n&&v("newContract"));return a.default.createElement(a.default.Fragment,null,a.default.createElement("div",{className:"sender-to-recipient__party sender-to-recipient__party--recipient sender-to-recipient__party--recipient-with-address",onClick:()=>{y?(w(!0),(0,i.default)(e,h.COPY_OPTIONS)):(C(!0),t&&t())}},!E&&a.default.createElement("div",{className:"sender-to-recipient__sender-icon"},a.default.createElement(c.default,{address:e,diameter:24})),a.default.createElement(l.default,{position:"bottom",disabled:!d,html:k,wrapperClassName:"sender-to-recipient__tooltip-wrapper",containerClassName:"sender-to-recipient__tooltip-container",onHidden:()=>w(!1)},E?a.default.createElement(m.default,{value:e,type:s.NameType.ETHEREUM_ADDRESS}):a.default.createElement("div",{className:"sender-to-recipient__name","data-testid":"sender-to-recipient__name"},O))),_&&!E?a.default.createElement(g.default,{onClose:()=>C(!1),address:e}):null)}function k({variant:e}){return e===v.DEFAULT_VARIANT?a.default.createElement("div",{className:"sender-to-recipient__arrow-container"},a.default.createElement("div",{className:"sender-to-recipient__arrow-circle"},a.default.createElement("i",{className:"fa fa-arrow-right sender-to-recipient__arrow-circle__icon"}))):a.default.createElement("div",{className:"sender-to-recipient__arrow-container"},a.default.createElement(y.Icon,{name:y.IconName.ArrowRight}))}function O({senderAddress:e,addressOnly:t,senderName:n,recipientNickname:r,recipientName:i,recipientMetadataName:s,recipientEns:l,onRecipientClick:c,onSenderClick:u,recipientAddress:d,variant:m,warnUserOnAccountMismatch:h,recipientIsOwnedAccount:g}){const y=(0,f.useI18nContext)(),b=(0,p.toChecksumHexAddress)(e),v=(0,p.toChecksumHexAddress)(d);return a.default.createElement("div",{className:(0,o.default)("sender-to-recipient",T[m]),"data-testid":"sender-to-recipient"},a.default.createElement(w,{checksummedSenderAddress:b,addressOnly:t,senderName:n,onSenderClick:u,senderAddress:e,warnUserOnAccountMismatch:h}),a.default.createElement(k,{variant:m}),d?a.default.createElement(E,{checksummedRecipientAddress:v,onRecipientClick:c,addressOnly:t,recipientNickname:r,recipientEns:l,recipientName:i,recipientMetadataName:s,recipientIsOwnedAccount:g}):a.default.createElement("div",{className:"sender-to-recipient__party sender-to-recipient__party--recipient"},a.default.createElement("i",{className:"fa fa-file-text-o"}),a.default.createElement("div",{className:"sender-to-recipient__name"},y("newContract"))))}w.propTypes={senderName:r.default.string,checksummedSenderAddress:r.default.string,addressOnly:r.default.bool,senderAddress:r.default.string,onSenderClick:r.default.func,warnUserOnAccountMismatch:r.default.bool},E.propTypes={checksummedRecipientAddress:r.default.string,recipientName:r.default.string,recipientMetadataName:r.default.string,recipientEns:r.default.string,recipientNickname:r.default.string,addressOnly:r.default.bool,onRecipientClick:r.default.func,recipientIsOwnedAccount:r.default.bool},k.propTypes={variant:r.default.oneOf([v.DEFAULT_VARIANT,v.CARDS_VARIANT,v.FLAT_VARIANT])},O.defaultProps={variant:v.DEFAULT_VARIANT,warnUserOnAccountMismatch:!0},O.propTypes={senderName:r.default.string,senderAddress:r.default.string,recipientName:r.default.string,recipientMetadataName:r.default.string,recipientEns:r.default.string,recipientAddress:r.default.string,recipientNickname:r.default.string,variant:r.default.oneOf([v.DEFAULT_VARIANT,v.CARDS_VARIANT,v.FLAT_VARIANT]),addressOnly:r.default.bool,onRecipientClick:r.default.func,onSenderClick:r.default.func,warnUserOnAccountMismatch:r.default.bool,recipientIsOwnedAccount:r.default.bool}}}},{package:"$root$",file:"ui/components/ui/sender-to-recipient/sender-to-recipient.component.js"}],[5289,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.FLAT_VARIANT=n.DEFAULT_VARIANT=n.CARDS_VARIANT=void 0;n.DEFAULT_VARIANT="DEFAULT_VARIANT",n.CARDS_VARIANT="CARDS_VARIANT",n.FLAT_VARIANT="FLAT_VARIANT"}}},{package:"$root$",file:"ui/components/ui/sender-to-recipient/sender-to-recipient.constants.js"}],[5290,{"./show-hide-toggle":5291},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./show-hide-toggle"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/ui/show-hide-toggle/index.js"}],[5291,{"../icon/icon-eye":5235,"../icon/icon-eye-slash":5234,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=l(e("react")),r=l(e("prop-types")),o=l(e("classnames")),i=l(e("../icon/icon-eye")),s=l(e("../icon/icon-eye-slash"));function l(e){return e&&e.__esModule?e:{default:e}}const c=({id:e,shown:t,onChange:n,ariaLabelHidden:r,ariaLabelShown:l,className:c,"data-testid":u,disabled:d,title:f})=>a.default.createElement("div",{className:(0,o.default)("show-hide-toggle",c)},a.default.createElement("input",{className:"show-hide-toggle__input",id:e,type:"checkbox",checked:t,onChange:n,"data-testid":u,disabled:d}),a.default.createElement("label",{htmlFor:e,className:"show-hide-toggle__label",title:f},t?a.default.createElement(i.default,{ariaLabel:l,className:"show-hide-toggle__icon"}):a.default.createElement(s.default,{ariaLabel:r,className:"show-hide-toggle__icon"})));c.propTypes={id:r.default.string.isRequired,shown:r.default.bool.isRequired,onChange:r.default.func.isRequired,ariaLabelHidden:r.default.string.isRequired,ariaLabelShown:r.default.string.isRequired,className:r.default.string,"data-testid":r.default.string,disabled:r.default.bool,title:r.default.string};n.default=c}}},{package:"$root$",file:"ui/components/ui/show-hide-toggle/show-hide-toggle.js"}],[5292,{"./site-origin":5293},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./site-origin"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/ui/site-origin/index.js"}],[5293,{"../../../helpers/constants/design-system":5355,"../chip":5205,"../icon-with-fallback":5232,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=u;var a=c(e("react")),r=c(e("prop-types")),o=c(e("classnames")),i=c(e("../chip")),s=c(e("../icon-with-fallback")),l=e("../../../helpers/constants/design-system");function c(e){return e&&e.__esModule?e:{default:e}}function u({siteOrigin:e,iconSrc:t,iconName:n,chip:r,className:c,title:u,leftIcon:d,rightIcon:f}){return a.default.createElement("div",{className:(0,o.default)("site-origin",c),title:u},r?a.default.createElement(i.default,{borderColor:l.BorderColor.borderMuted,label:e,maxContent:!1,leftIcon:d||a.default.createElement(s.default,{icon:t,name:n,size:24}),rightIcon:f}):a.default.createElement("bdi",{dir:"ltr"},e))}u.propTypes={siteOrigin:r.default.string.isRequired,iconName:r.default.string,iconSrc:r.default.string,className:r.default.string,title:r.default.string,chip:r.default.bool,leftIcon:r.default.node,rightIcon:r.default.node}}}},{package:"$root$",file:"ui/components/ui/site-origin/site-origin.js"}],[5294,{"./spinner.component":5295},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=(a=e("./spinner.component"))&&a.__esModule?a:{default:a};n.default=r.default}}},{package:"$root$",file:"ui/components/ui/spinner/index.js"}],[5295,{"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=o(e("react")),r=o(e("prop-types"));function o(e){return e&&e.__esModule?e:{default:e}}const i=({className:e="",color:t="var(--color-text-default)"})=>a.default.createElement("div",{className:`spinner ${e}`},a.default.createElement("svg",{className:"lds-spinner",width:"100%",height:"100%",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",viewBox:"0 0 100 100",preserveAspectRatio:"xMidYMid",style:{background:"none"}},a.default.createElement("g",{transform:"rotate(0 50 50)"},a.default.createElement("rect",{x:45,y:0,rx:0,ry:0,width:10,height:30,fill:t},a.default.createElement("animate",{attributeName:"opacity",values:"1;0",dur:"1s",begin:"-0.9166666666666666s",repeatCount:"indefinite"}))),a.default.createElement("g",{transform:"rotate(30 50 50)"},a.default.createElement("rect",{x:45,y:0,rx:0,ry:0,width:10,height:30,fill:t},a.default.createElement("animate",{attributeName:"opacity",values:"1;0",dur:"1s",begin:"-0.8333333333333334s",repeatCount:"indefinite"}))),a.default.createElement("g",{transform:"rotate(60 50 50)"},a.default.createElement("rect",{x:45,y:0,rx:0,ry:0,width:10,height:30,fill:t},a.default.createElement("animate",{attributeName:"opacity",values:"1;0",dur:"1s",begin:"-0.75s",repeatCount:"indefinite"}))),a.default.createElement("g",{transform:"rotate(90 50 50)"},a.default.createElement("rect",{x:45,y:0,rx:0,ry:0,width:10,height:30,fill:t},a.default.createElement("animate",{attributeName:"opacity",values:"1;0",dur:"1s",begin:"-0.6666666666666666s",repeatCount:"indefinite"}))),a.default.createElement("g",{transform:"rotate(120 50 50)"},a.default.createElement("rect",{x:45,y:0,rx:0,ry:0,width:10,height:30,fill:t},a.default.createElement("animate",{attributeName:"opacity",values:"1;0",dur:"1s",begin:"-0.5833333333333334s",repeatCount:"indefinite"}))),a.default.createElement("g",{transform:"rotate(150 50 50)"},a.default.createElement("rect",{x:45,y:0,rx:0,ry:0,width:10,height:30,fill:t},a.default.createElement("animate",{attributeName:"opacity",values:"1;0",dur:"1s",begin:"-0.5s",repeatCount:"indefinite"}))),a.default.createElement("g",{transform:"rotate(180 50 50)"},a.default.createElement("rect",{x:45,y:0,rx:0,ry:0,width:10,height:30,fill:t},a.default.createElement("animate",{attributeName:"opacity",values:"1;0",dur:"1s",begin:"-0.4166666666666667s",repeatCount:"indefinite"}))),a.default.createElement("g",{transform:"rotate(210 50 50)"},a.default.createElement("rect",{x:45,y:0,rx:0,ry:0,width:10,height:30,fill:t},a.default.createElement("animate",{attributeName:"opacity",values:"1;0",dur:"1s",begin:"-0.3333333333333333s",repeatCount:"indefinite"}))),a.default.createElement("g",{transform:"rotate(240 50 50)"},a.default.createElement("rect",{x:45,y:0,rx:0,ry:0,width:10,height:30,fill:t},a.default.createElement("animate",{attributeName:"opacity",values:"1;0",dur:"1s",begin:"-0.25s",repeatCount:"indefinite"}))),a.default.createElement("g",{transform:"rotate(270 50 50)"},a.default.createElement("rect",{x:45,y:0,rx:0,ry:0,width:10,height:30,fill:t},a.default.createElement("animate",{attributeName:"opacity",values:"1;0",dur:"1s",begin:"-0.16666666666666666s",repeatCount:"indefinite"}))),a.default.createElement("g",{transform:"rotate(300 50 50)"},a.default.createElement("rect",{x:45,y:0,rx:0,ry:0,width:10,height:30,fill:t},a.default.createElement("animate",{attributeName:"opacity",values:"1;0",dur:"1s",begin:"-0.08333333333333333s",repeatCount:"indefinite"}))),a.default.createElement("g",{transform:"rotate(330 50 50)"},a.default.createElement("rect",{x:45,y:0,rx:0,ry:0,width:10,height:30,fill:t},a.default.createElement("animate",{attributeName:"opacity",values:"1;0",dur:"1s",begin:"0s",repeatCount:"indefinite"})))));i.propTypes={className:r.default.string,color:r.default.string};n.default=i}}},{package:"$root$",file:"ui/components/ui/spinner/spinner.component.js"}],[5296,{"./tab":5299,"./tabs.component":5301},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"Tab",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(n,"Tabs",{enumerable:!0,get:function(){return a.default}});var a=o(e("./tabs.component")),r=o(e("./tab"));function o(e){return e&&e.__esModule?e:{default:e}}}}},{package:"$root$",file:"ui/components/ui/tabs/index.js"}],[5297,{"../../../../../helpers/constants/design-system":5355,"../../../../component-library":4955,"../../../dropdown":5218,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.DropdownTab=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=u(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=c(e("prop-types")),o=c(e("classnames")),i=e("../../../../../helpers/constants/design-system"),s=e("../../../../component-library"),l=c(e("../../../dropdown"));function c(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(u=function(e){return e?n:t})(e)}const d=({activeClassName:e,className:t,"data-testid":n,isActive:r,onClick:c,onChange:u,tabIndex:d,options:f,selectedOption:p})=>{var m;const[h,g]=(0,a.useState)(!1),y=(0,a.useRef)(null),b=(0,a.useCallback)((e=>{u(e)}),[u]),v=null===(m=f.find((e=>e.value===p)))||void 0===m?void 0:m.name;return(0,a.useEffect)((()=>{function e(e){y.current&&!y.current.contains(e.target)&&h&&g(!1)}return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}}),[y,h]),a.default.createElement(s.Box,{as:"li",className:(0,o.default)("tab",t,"transaction-insight-dropdown-wrapper",{"tab--active":r,[e]:e&&r}),"data-testid":n,onClick:e=>{e.preventDefault(),c(d)},dataTestId:n,flexDirection:i.FlexDirection.Row,flexWrap:i.FlexWrap.NoWrap,height:i.BlockSize.Full,style:{cursor:"pointer",position:"relative",overflow:"visible"},title:v},a.default.createElement(l.default,{className:"transaction-insight-dropdown",onChange:e=>b(e),options:f,selectedOption:p,title:"Transaction Insights",style:{pointerEvents:r?"auto":"none",fontFamily:"var(--typography-s-body-md-font-family)",fontWeight:"var(--typography-s-body-md-font-weight)",fontSize:"var(--typography-s-body-md-font-size)",lineHeight:"var(--typography-s-body-md-line-height)",letterSpacing:"var(--typography-s-body-md-letter-spacing)"}}))};n.DropdownTab=d,d.propTypes={activeClassName:r.default.string,className:r.default.string,"data-testid":r.default.string,isActive:r.default.bool,options:r.default.arrayOf(r.default.exact({name:r.default.string,value:r.default.string.isRequired})).isRequired,selectedOption:r.default.string,onChange:r.default.func,onClick:r.default.func,tabIndex:r.default.number},d.defaultProps={activeClassName:undefined,className:undefined,onChange:undefined,onClick:undefined,selectedOption:undefined}}}},{package:"$root$",file:"ui/components/ui/tabs/snaps/dropdown-tab/dropdown-tab.js"}],[5298,{"./dropdown-tab":5297},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=e("./dropdown-tab");n.default=a.DropdownTab}}},{package:"$root$",file:"ui/components/ui/tabs/snaps/dropdown-tab/index.js"}],[5299,{"./tab.component":5300},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=(a=e("./tab.component"))&&a.__esModule?a:{default:a};n.default=r.default}}},{package:"$root$",file:"ui/components/ui/tabs/tab/index.js"}],[5300,{"../../../../helpers/constants/design-system":5355,"../../../component-library":4955,"../../box":5194,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=c(e("react")),r=c(e("prop-types")),o=c(e("classnames")),i=e("../../../../helpers/constants/design-system"),s=c(e("../../box")),l=e("../../../component-library");function c(e){return e&&e.__esModule?e:{default:e}}const u=e=>{const{buttonClassName:t,activeClassName:n,className:r,"data-testid":c,isActive:u,name:d,onClick:f,tabIndex:p,tabKey:m,children:h}=e;return a.default.createElement(s.default,{as:"li",className:(0,o.default)("tab",r,{"tab--active":u,[n]:n&&u}),"data-testid":c,onClick:e=>{e.preventDefault(),f(p)},key:m},a.default.createElement(l.Text,{as:"button",padding:2,textAlign:i.TextAlign.Center,display:i.DISPLAY.BLOCK,width:i.BLOCK_SIZES.FULL,className:t,variant:i.TextVariant.bodyMd,color:i.TextColor.inherit},d))};u.propTypes={activeClassName:r.default.string,buttonClassName:r.default.string,className:r.default.string,"data-testid":r.default.string,isActive:r.default.bool,name:r.default.node.isRequired,tabKey:r.default.string.isRequired,onClick:r.default.func,tabIndex:r.default.number,children:r.default.node},u.defaultProps={activeClassName:undefined,buttonClassName:undefined,className:undefined,onClick:undefined,"data-testid":undefined};n.default=u}}},{package:"$root$",file:"ui/components/ui/tabs/tab/tab.component.js"}],[5301,{"../../../helpers/constants/design-system":5355,"../box":5194,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=l(e("prop-types")),o=l(e("classnames")),i=l(e("../box")),s=e("../../../helpers/constants/design-system");function l(e){return e&&e.__esModule?e:{default:e}}function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}const u=({defaultActiveTabKey:e,onTabClick:t,children:n,tabsClassName:r,subHeader:l})=>{const c=()=>a.default.Children.toArray(n).filter(Boolean),[u,d]=(0,a.useState)((()=>{return Math.max((t=e,c().findIndex((e=>(null==e?void 0:e.props.tabKey)===t))),0);var t}));return a.default.createElement(i.default,{className:"tabs"},a.default.createElement(i.default,{as:"ul",display:s.DISPLAY.FLEX,justifyContent:s.JustifyContent.flexStart,backgroundColor:s.BackgroundColor.backgroundDefault,className:(0,o.default)("tabs__list",r),gap:1},(()=>{const e=a.default.Children.count(c());return a.default.Children.map(c(),((n,r)=>{const o=null==n?void 0:n.props.tabKey;return n&&a.default.cloneElement(n,{onClick:e=>((e,n)=>{e!==u&&(d(e),null==t||t(n))})(e,o),tabIndex:r,isActive:e>1&&r===u})}))})()),l,a.default.createElement(i.default,{className:"tabs__content"},(()=>{const e=c();if(Array.isArray(e)&&!e[u]||!Array.isArray(e)&&0!==u)throw new Error(`Tab at index '${u}' does not exist`);return e[u]?e[u].props.children:e.props.children})()))};n.default=u;u.propTypes={defaultActiveTabKey:r.default.string,onTabClick:r.default.func,children:r.default.node.isRequired,tabsClassName:r.default.string,subHeader:r.default.node}}}},{package:"$root$",file:"ui/components/ui/tabs/tabs.component.js"}],[5302,{"./text-field.component":5303},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=(a=e("./text-field.component"))&&a.__esModule?a:{default:a};n.default=r.default}}},{package:"$root$",file:"ui/components/ui/text-field/index.js"}],[5303,{"@material-ui/core/TextField":881,"@material-ui/core/styles":954,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=s(e("react")),r=s(e("prop-types")),o=e("@material-ui/core/styles"),i=s(e("@material-ui/core/TextField"));function s(e){return e&&e.__esModule?e:{default:e}}function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t({InputLabelProps:{classes:{root:t,focused:n,error:a}},InputProps:{startAdornment:o,endAdornment:i,classes:{underline:r},inputProps:{dir:e,min:s,max:l,autoComplete:c}}}),bordered:({dir:e,classes:{formLabel:t,formLabelFocused:n,materialError:a,largeInputLabel:r,inputLabel:o,inputRoot:i,input:s,inputFocused:l},largeLabel:c,startAdornment:u,endAdornment:d,min:f,max:p,autoComplete:m})=>({InputLabelProps:{shrink:!0,className:c?r:o,classes:{root:t,focused:n,error:a}},InputProps:{startAdornment:u,endAdornment:d,classes:{root:i,input:s,focused:l},inputProps:{dir:e,min:f,max:p,autoComplete:m}}}),"material-white-padded":({dir:e,classes:{materialWhitePaddedRoot:t,materialWhitePaddedFocused:n,materialWhitePaddedInput:a,materialWhitePaddedUnderline:r},startAdornment:o,endAdornment:i,min:s,max:l,autoComplete:c})=>({InputProps:{startAdornment:o,endAdornment:i,classes:{root:t,focused:n,input:a,underline:r},inputProps:{dir:e,min:s,max:l,autoComplete:c}}})},f=({"data-testid":e,error:t,classes:n,theme:r,startAdornment:o,endAdornment:s,largeLabel:c,dir:u,min:f,max:p,autoComplete:m,onPaste:h,...g})=>{const y=d[r]({classes:n,startAdornment:o,endAdornment:s,largeLabel:c,dir:u,min:f,max:p,autoComplete:m});return(h||e)&&(y.InputProps||(y.InputProps={}),y.InputProps.inputProps||(y.InputProps.inputProps={}),y.InputProps.inputProps.onPaste=h,y.InputProps.inputProps["data-testid"]=e),a.default.createElement(i.default,l({error:Boolean(t),helperText:t},y,g))};f.defaultProps={error:null,dir:"auto",theme:"bordered"},f.propTypes={"data-testid":r.default.string,error:r.default.oneOfType([r.default.string,r.default.element]),classes:r.default.object,dir:r.default.string,theme:r.default.oneOf(["bordered","material","material-white-padded"]),startAdornment:r.default.element,endAdornment:r.default.element,largeLabel:r.default.bool,min:r.default.number,max:r.default.number,autoComplete:r.default.string,onPaste:r.default.func};n.default=(0,o.withStyles)(u)(f)}}},{package:"$root$",file:"ui/components/ui/text-field/text-field.component.js"}],[5304,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.RESIZE=void 0;n.RESIZE={NONE:"none",BOTH:"both",HORIZONTAL:"horizontal",VERTICAL:"vertical",INITIAL:"initial",INHERIT:"inherit"}}}},{package:"$root$",file:"ui/components/ui/textarea/textarea.constants.js"}],[5305,{"../../../helpers/constants/design-system":5355,"../box":5194,"./textarea.constants":5304,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=c(e("react")),r=c(e("prop-types")),o=c(e("classnames")),i=e("../../../helpers/constants/design-system"),s=c(e("../box")),l=e("./textarea.constants");function c(e){return e&&e.__esModule?e:{default:e}}function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const m=(0,o.default)("textarea",e,`textarea--resize-${r}`,{"textarea--scrollable":c,"textarea--not-scrollable":!c});return a.default.createElement(s.default,u({backgroundColor:i.BackgroundColor.backgroundDefault,borderColor:i.BorderColor.borderDefault,borderRadius:i.Size.SM,borderStyle:i.BorderStyle.solid,padding:4,width:i.BlockSize.Full},f),(e=>a.default.createElement("textarea",u({required:!0,style:{height:d},className:(0,o.default)(e,m),value:t,onChange:n},p))))};d.propTypes={height:r.default.oneOfType([r.default.string,r.default.number]),className:r.default.string,value:r.default.string,onChange:r.default.func,resize:r.default.oneOf(Object.values(l.RESIZE)),scrollable:r.default.bool,boxProps:r.default.shape({...s.default.propTypes})};n.default=d}}},{package:"$root$",file:"ui/components/ui/textarea/textarea.js"}],[5306,{"./toggle-button.component":5307},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=(a=e("./toggle-button.component"))&&a.__esModule?a:{default:a};n.default=r.default}}},{package:"$root$",file:"ui/components/ui/toggle-button/index.js"}],[5307,{"../../../hooks/useTheme":5442,"@metamask/design-tokens":1185,classnames:3049,"prop-types":3997,react:4243,"react-toggle-button":4240},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=c(e("react")),r=c(e("prop-types")),o=c(e("react-toggle-button")),i=c(e("classnames")),s=e("@metamask/design-tokens"),l=e("../../../hooks/useTheme");function c(e){return e&&e.__esModule?e:{default:e}}const u={width:"40px",height:"24px",padding:"0px",borderRadius:"26px",border:"none",display:"flex",alignItems:"center",justifyContent:"center"},d={...u,border:"none"},f={width:"18px",height:"18px",display:"flex",boxShadow:"var(--shadow-size-xs) var(--color-shadow-default)",alignSelf:"center",borderRadius:"50%",position:"relative"},p={activeThumb:{base:s.lightTheme.colors.primary.inverse},inactiveThumb:{base:s.lightTheme.colors.primary.inverse},active:{base:s.lightTheme.colors.primary.default,hover:s.lightTheme.colors.primary.defaultHover},inactive:{base:s.lightTheme.colors.icon.muted,hover:s.lightTheme.colors.icon.muted}},m={activeThumb:{base:s.lightTheme.colors.primary.inverse},inactiveThumb:{base:s.lightTheme.colors.primary.inverse},active:{base:s.darkTheme.colors.primary.default,hover:s.darkTheme.colors.primary.defaultHover},inactive:{base:s.darkTheme.colors.icon.muted,hover:s.darkTheme.colors.icon.muted}},h=e=>{const{value:t,onToggle:n,offLabel:r,onLabel:s,disabled:c,className:h,dataTestId:g}=e,y=t?"on":"off",b=(0,l.useTheme)();return a.default.createElement("label",{tabIndex:"0",onKeyDown:e=>{"Enter"===e.key&&n(t)},className:(0,i.default)("toggle-button",`toggle-button--${y}`,{"toggle-button--disabled":c},h)},a.default.createElement(o.default,{value:t,onToggle:c?undefined:n,activeLabel:"",inactiveLabel:"",trackStyle:t?u:d,thumbStyle:f,thumbAnimateRange:[3,18],colors:"light"===b?p:m,passThroughInputProps:{"data-testid":g}}),a.default.createElement("div",{className:"toggle-button__status"},a.default.createElement("span",{className:"toggle-button__label-off"},r),a.default.createElement("span",{className:"toggle-button__label-on"},s)))};h.propTypes={value:r.default.bool,onToggle:r.default.func,offLabel:r.default.string,onLabel:r.default.string,disabled:r.default.bool,className:r.default.string,dataTestId:r.default.string};n.default=h}}},{package:"$root$",file:"ui/components/ui/toggle-button/toggle-button.component.js"}],[5308,{"./token-balance":5309},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./token-balance"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/ui/token-balance/index.js"}],[5309,{"../../../helpers/constants/design-system":5355,"../../../hooks/useIsOriginalTokenSymbol":5429,"../../../hooks/useTokenFiatAmount":5446,"../../../hooks/useTokenTracker":5447,"../../component-library":4955,"../currency-display":5209,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=p;var a=d(e("react")),r=d(e("prop-types")),o=d(e("../currency-display")),i=e("../../../hooks/useTokenTracker"),s=e("../../../hooks/useTokenFiatAmount"),l=e("../../../hooks/useIsOriginalTokenSymbol"),c=e("../../component-library"),u=e("../../../helpers/constants/design-system");function d(e){return e&&e.__esModule?e:{default:e}}function f(){return f=Object.assign?Object.assign.bind():function(e){for(var t=1;tm(!0)},h("viewAllDetails"))),p&&r.default.createElement(u.default,{title:f,open:p,onClose:()=>m(!1),footer:r.default.createElement(r.default.Fragment,null,r.default.createElement("div",null),r.default.createElement(l.default,{type:"primary",style:{width:"50%"},onClick:()=>m(!1)},"Close"))},r.default.createElement(s.default,{padding:6,paddingTop:0},r.default.createElement(c.default,{gap:i.Size.MD,tooltips:t,warnings:n,dictionary:e}))))}m.propTypes={dictionary:c.default.propTypes.dictionary,tooltips:c.default.propTypes.dictionary,warnings:c.default.propTypes.dictionary,title:o.default.string,prefaceKeys:o.default.arrayOf(o.default.string)}}}},{package:"$root$",file:"ui/components/ui/truncated-definition-list/truncated-definition-list.js"}],[5314,{"./typography":5315},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./typography"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/ui/typography/index.js"}],[5315,{"../../../helpers/constants/design-system":5355,"../box":5194,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.ValidTags=n.ValidColors=void 0,n.default=y;var a=c(e("react")),r=c(e("classnames")),o=c(e("prop-types")),i=e("../../../helpers/constants/design-system"),s=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=l(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("../box"));function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(l=function(e){return e?n:t})(e)}function c(e){return e&&e.__esModule?e:{default:e}}function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;ta.default.createElement(M,{className:(0,r.default)(e,x),title:h,"data-testid":E},k)))}y.propTypes={variant:o.default.oneOf(Object.values(i.TypographyVariant)),color:o.default.oneOf(h),fontWeight:o.default.oneOf(Object.values(i.FONT_WEIGHT)),fontStyle:o.default.oneOf(Object.values(i.FONT_STYLE)),align:o.default.oneOf(Object.values(i.TextAlign)),overflowWrap:o.default.oneOf(Object.values(i.OVERFLOW_WRAP)),as:o.default.oneOf(g),margin:s.MultipleSizesAndAuto,marginTop:s.MultipleSizesAndAuto,marginBottom:s.MultipleSizesAndAuto,marginRight:s.MultipleSizesAndAuto,marginLeft:s.MultipleSizesAndAuto,boxProps:o.default.shape({...s.default.propTypes}),className:o.default.string,title:o.default.string,testId:o.default.string,children:o.default.node.isRequired}}}},{package:"$root$",file:"ui/components/ui/typography/typography.js"}],[5316,{"./unit-input.component":5317},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./unit-input.component"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/ui/unit-input/index.js"}],[5317,{classnames:3049,"prop-types":3997,react:4243,"react-tippy":4239},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=l(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=e("react-tippy"),o=s(e("prop-types")),i=s(e("classnames"));function s(e){return e&&e.__esModule?e:{default:e}}function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(l=function(e){return e?n:t})(e)}function c(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const u=/^\d*(\.|,)?\d*$/u;class d extends a.PureComponent{constructor(...e){super(...e),c(this,"state",{value:this.props.value,isOverflowing:!1}),c(this,"handleFocus",(()=>{["INPUT","TEXTAREA"].includes(document.activeElement.tagName)||this.unitInput.focus()})),c(this,"handleInputFocus",(({target:{value:e}})=>{"0"===e&&this.setState({...this.state,isOverflowing:!1,value:""})})),c(this,"handleInputBlur",(({target:{value:e}})=>{""===e&&this.setState({...this.state,isOverflowing:!1,value:"0"}),this.props.onBlur&&this.props.onBlur(e),this.unitInput.scrollTo&&this.unitInput.scrollTo(0,0)})),c(this,"handleChange",(e=>{const{value:t}=e.target;let n=t;t.length&&t.length>1&&(n=t.replace(/^0*(?=\d)/u,"")),this.props.keyPressRegex.test(n)?(this.setState({...this.state,isOverflowing:this.getIsOverflowing(),value:n}),this.props.onChange(n)):e.preventDefault()})),c(this,"handleOnKeyPress",(e=>{u.test(e.key)||e.preventDefault()})),c(this,"updateIsOverflowing",(()=>{this.setState({...this.state,isOverflowing:this.getIsOverflowing()})}))}componentDidUpdate(e){const{value:t}=e,{value:n}=this.props,{value:a}=this.state;t!==n&&Number(n)!==Number(a)&&this.setState({...this.state,value:n})}componentDidMount(){this.props.isFocusOnInput&&document.addEventListener("keypress",this.handleFocus)}componentWillUnmount(){document.removeEventListener("keypress",this.handleFocus)}getInputWidth(e){const t=String(e);return`${(t.length||1)+(t.match(/\./u)?-.5:0)+.5}ch`}getIsOverflowing(){let e=!1;if(this.unitInput){const{offsetWidth:t,scrollWidth:n}=this.unitInput;e=n-t>4}return e}render(){const{className:e,error:t,placeholder:n,hideSuffix:o,suffix:s,actionComponent:l,children:c,dataTestId:u,isDisabled:d}=this.props,{value:f,isOverflowing:p}=this.state;return a.default.createElement("div",{className:(0,i.default)("unit-input",{"unit-input--error":t},e),onClick:this.handleFocus},a.default.createElement("div",{className:"unit-input__inputs"},a.default.createElement(r.Tooltip,{title:f,disabled:!p||!f,arrow:!0,hideOnClick:!1,className:"unit-input__input-container",style:{display:"inherit"}},a.default.createElement("input",{disabled:d,"data-testid":u,type:"number",dir:"ltr",className:(0,i.default)("unit-input__input"),value:f,placeholder:n,onChange:this.handleChange,onBlur:this.handleInputBlur,onFocus:this.handleInputFocus,onKeyPress:this.handleOnKeyPress,min:0,step:"any",style:{width:this.getInputWidth(f)},ref:e=>{this.unitInput=e},autoFocus:!0}),s&&!o?a.default.createElement("div",{className:"unit-input__suffix"},s):null),c),l)}}n.default=d,c(d,"propTypes",{className:o.default.string,dataTestId:o.default.string,children:o.default.node,actionComponent:o.default.node,error:o.default.bool,onChange:o.default.func,onBlur:o.default.func,placeholder:o.default.string,suffix:o.default.string,hideSuffix:o.default.bool,value:o.default.oneOfType([o.default.string,o.default.number]),keyPressRegex:o.default.instanceOf(RegExp),isDisabled:o.default.bool,isFocusOnInput:o.default.bool}),c(d,"defaultProps",{value:"",placeholder:"0",keyPressRegex:u})}}},{package:"$root$",file:"ui/components/ui/unit-input/unit-input.component.js"}],[5318,{"../../../contexts/i18n":5324,"../../../selectors":5987,"../button":5198,"../identicon":5247,"../popover":5281,"../text-field":5302,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=m;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=p(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=e("react-redux"),o=f(e("prop-types")),i=f(e("../popover")),s=f(e("../button")),l=f(e("../text-field")),c=e("../../../contexts/i18n"),u=f(e("../identicon")),d=e("../../../selectors");function f(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(p=function(e){return e?n:t})(e)}function m({address:e,nickname:t="",memo:n="",onAdd:o,onClose:f}){var p;const m=(0,a.useContext)(c.I18nContext),[h,g]=(0,a.useState)(null===t?"":t),[y,b]=(0,a.useState)(null===n?"":n),v=(0,a.useCallback)((()=>{f()}),[f]),_=(0,r.useSelector)(d.getTokenList);return a.default.createElement(i.default,{title:m(t?"editAddressNickname":"addANickname"),onClose:v,className:"update-nickname__wrapper",footer:a.default.createElement(a.default.Fragment,null,a.default.createElement(s.default,{className:"update-nickname__cancel",type:"secondary",onClick:()=>{f()}},m("cancel")),a.default.createElement(s.default,{className:"update-nickname__save",type:"primary",onClick:()=>{o(e,h,y),f()},disabled:!h},m("save")))},a.default.createElement("div",{className:"update-nickname__content"},a.default.createElement(u.default,{className:"update-nickname__content__indenticon",address:e,diameter:36,image:null===(p=_[e.toLowerCase()])||void 0===p?void 0:p.iconUrl}),a.default.createElement("label",{className:"update-nickname__content__label--capitalized"},m("address")),a.default.createElement("div",{className:"update-nickname__content__address"},e),a.default.createElement("div",{className:"update-nickname__content__nickname-label"},m("nickname")),a.default.createElement(l.default,{className:"update-nickname__content__text-field",value:h,onChange:e=>{g(e.target.value)},placeholder:m("addANickname"),fullWidth:!0}),a.default.createElement("div",{className:"update-nickname__content__label--capitalized"},m("memo")),a.default.createElement(l.default,{type:"text",id:"memo",value:y,onChange:e=>{b(e.target.value)},placeholder:m("addMemo"),fullWidth:!0,margin:"dense",multiline:!0,rows:3,classes:{inputMultiline:"update-nickname__content__text-area",inputRoot:"update-nickname__content__text-area-wrapper"}})))}m.propTypes={nickname:o.default.string,address:o.default.string,memo:o.default.string,onAdd:o.default.func,onClose:o.default.func}}}},{package:"$root$",file:"ui/components/ui/update-nickname-popover/update-nickname-popover.js"}],[5319,{"./url-icon":5320},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./url-icon"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/components/ui/url-icon/index.js"}],[5320,{"../icon-with-fallback":5232,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=l;var a=s(e("react")),r=s(e("prop-types")),o=s(e("classnames")),i=s(e("../icon-with-fallback"));function s(e){return e&&e.__esModule?e:{default:e}}function l({url:e,className:t,name:n,fallbackClassName:r}){return a.default.createElement(i.default,{className:(0,o.default)("url-icon",t),icon:e,name:n,fallbackClassName:(0,o.default)("url-icon__fallback",r)})}l.propTypes={url:r.default.string,className:r.default.string,name:r.default.string,fallbackClassName:r.default.string}}}},{package:"$root$",file:"ui/components/ui/url-icon/url-icon.js"}],[5321,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.ETH_DEFAULT_DECIMALS=void 0;n.ETH_DEFAULT_DECIMALS=8}}},{package:"$root$",file:"ui/constants/index.js"}],[5322,{"../hooks/useCurrencyRatePolling":5419,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.CurrencyRateProvider=void 0;var a=i(e("react")),r=i(e("prop-types")),o=i(e("../hooks/useCurrencyRatePolling"));function i(e){return e&&e.__esModule?e:{default:e}}const s=({children:e})=>((0,o.default)(),a.default.createElement(a.default.Fragment,null,e));n.CurrencyRateProvider=s,s.propTypes={children:r.default.node}}}},{package:"$root$",file:"ui/contexts/currencyRate.js"}],[5323,{"../pages/confirmations/hooks/useGasFeeInputs":5702,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.GasFeeContextProvider=n.GasFeeContext=void 0,n.useGasFeeContext=function(){return(0,r.useContext)(l)};var a,r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=s(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=(a=e("prop-types"))&&a.__esModule?a:{default:a},i=e("../pages/confirmations/hooks/useGasFeeInputs");function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(s=function(e){return e?n:t})(e)}const l=n.GasFeeContext=(0,r.createContext)({}),c=({children:e,defaultEstimateToUse:t,transaction:n,minimumGasLimit:a,editGasMode:o})=>{const s=(0,i.useGasFeeInputs)(t,n,a,o);return r.default.createElement(l.Provider,{value:s},e)};n.GasFeeContextProvider=c,c.propTypes={children:o.default.node.isRequired,defaultEstimateToUse:o.default.string,transaction:o.default.object,minimumGasLimit:o.default.string,editGasMode:o.default.string}}}},{package:"$root$",file:"ui/contexts/gasFee.js"}],[5325,{"./metamask-notifications":5326},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"MetamaskNotificationsProvider",{enumerable:!0,get:function(){return a.MetamaskNotificationsProvider}});var a=e("./metamask-notifications")}}},{package:"$root$",file:"ui/contexts/metamask-notifications/index.tsx"}],[5326,{"../../hooks/metamask-notifications/useNotifications":5406,"../../selectors":5987,"../../selectors/metamask-notifications/metamask-notifications":5989,"../../selectors/metamask-notifications/profile-syncing":5990,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useMetamaskNotificationsContext=n.MetamaskNotificationsProvider=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=e("react-redux"),o=e("../../hooks/metamask-notifications/useNotifications"),i=e("../../selectors/metamask-notifications/profile-syncing"),s=e("../../selectors/metamask-notifications/metamask-notifications"),l=e("../../selectors");function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}const u=(0,a.createContext)(undefined);n.useMetamaskNotificationsContext=()=>{const e=(0,a.useContext)(u);if(!e)throw new Error("useNotificationsContext must be used within a MetamaskNotificationsProvider");return e};n.MetamaskNotificationsProvider=({children:e})=>{const t=(0,r.useSelector)(i.selectIsProfileSyncingEnabled),n=(0,r.useSelector)(s.selectIsMetamaskNotificationsEnabled),c=(0,r.useSelector)(l.getUseExternalServices),{listNotifications:d,notificationsData:f,isLoading:p,error:m}=(0,o.useListNotifications)(),h=(0,a.useMemo)((()=>t&&n),[t,n]);return(0,a.useEffect)((()=>{c&&h&&d()}),[h,d,c]),a.default.createElement(u.Provider,{value:{listNotifications:d,notificationsData:f,isLoading:p,error:m}},e)}}}},{package:"$root$",file:"ui/contexts/metamask-notifications/metamask-notifications.tsx"}],[5327,{"../../app/scripts/lib/util":120,"../../shared/constants/metametrics":4505,"../helpers/constants/routes":5361,"../hooks/useSegmentContext":5438,"../store/actions":5998,"@sentry/browser":2409,lodash:3836,"prop-types":3997,react:4243,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.MetaMetricsContext=n.LegacyMetaMetricsProvider=void 0,n.MetaMetricsProvider=b;var a,r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=m(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=(a=e("prop-types"))&&a.__esModule?a:{default:a},i=e("react-router-dom"),s=e("@sentry/browser"),l=e("lodash"),c=e("../../app/scripts/lib/util"),u=e("../helpers/constants/routes"),d=e("../../shared/constants/metametrics"),f=e("../hooks/useSegmentContext"),p=e("../store/actions");function m(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(m=function(e){return e?n:t})(e)}function h(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const g=n.MetaMetricsContext=(0,r.createContext)((()=>{(0,s.captureException)(Error("MetaMetrics context function was called from a react node that is not a descendant of a MetaMetrics context provider"))})),y=Object.keys(u.PATH_NAME_MAP);function b({children:e}){var t;const n=(0,i.useLocation)(),a=(0,f.useSegmentContext)(),o=(0,r.useCallback)(((e,t)=>{const n=null==t?void 0:t.contextPropsIntoEventProperties;var r;n&&0!==n.length&&(e.properties||(e.properties={}),n.includes(d.MetaMetricsContextProp.PageTitle)&&(e.properties[d.MetaMetricsContextProp.PageTitle]=null===(r=a.page)||void 0===r?void 0:r.title))}),[null===(t=a.page)||void 0===t?void 0:t.title]),m=(0,r.useCallback)(((e,t)=>{o(e,t),(0,p.trackMetaMetricsEvent)({...e,environmentType:(0,c.getEnvironmentType)(),...a},t)}),[o,a]),h=(0,r.useRef)();return(0,r.useEffect)((()=>{const e=(0,c.getEnvironmentType)(),t=(0,i.matchPath)(n.pathname,{path:y,exact:!0,strict:!0});if(t){if(h.current!==t.path&&("notification"!==e||"/"!==t.path||h.current!==undefined)){const{path:r,params:o}=t,i=u.PATH_NAME_MAP[r];(0,p.trackMetaMetricsPage)({name:i,params:(0,l.omit)(o,["account","address"]),environmentType:e,page:a.page,referrer:a.referrer},{isOptInPath:n.pathname.startsWith("/initialize")})}}else(0,s.captureMessage)("Segment page tracking found unmatched route",{extra:{previousMatch:h,currentPath:n.pathname}});h.current=null==t?void 0:t.path}),[n,a]),r.default.createElement(g.Provider,{value:m},e)}b.propTypes={children:o.default.node};class v extends r.Component{getChildContext(){return{trackEvent:this.context}}render(){return this.props.children}}n.LegacyMetaMetricsProvider=v,h(v,"propTypes",{children:o.default.node}),h(v,"defaultProps",{children:undefined}),h(v,"contextType",g),h(v,"childContextTypes",{trackEvent:o.default.func})}}},{package:"$root$",file:"ui/contexts/metametrics.js"}],[5328,{"./snap-interface":5329},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var a=e("./snap-interface");Object.keys(a).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in n&&n[e]===a[e]||Object.defineProperty(n,e,{enumerable:!0,get:function(){return a[e]}}))}))}}},{package:"$root$",file:"ui/contexts/snaps/hybrid-compute-sdk.ts"}],[5329,{"../../store/actions":5998,"./utils":5330,"@metamask/snaps-sdk":2122,lodash:3836,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.SnapInterfaceContextProvider=n.SnapInterfaceContext=void 0,n.useSnapInterfaceContext=function(){return(0,o.useContext)(u)};var a=e("@metamask/snaps-sdk"),r=e("lodash"),o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),i=e("react-redux"),s=e("../../store/actions"),l=e("./utils");function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}const u=n.SnapInterfaceContext=(0,o.createContext)(null),d=[a.UserInputEventType.ButtonClickEvent,a.UserInputEventType.FormSubmitEvent];n.SnapInterfaceContextProvider=({children:e,interfaceId:t,snapId:n,initialState:c,context:f})=>{const p=(0,i.useDispatch)(),m=(0,o.useRef)(c??{});(0,o.useEffect)((()=>{m.current=c}),[c]);const h=(e,a,r)=>(0,s.handleSnapRequest)({snapId:n,origin:"",handler:"onUserInput",request:{jsonrpc:"2.0",method:" ",params:{event:{type:e,...a!==undefined&&null!==a?{name:a}:{},...r!==undefined&&null!==r?{value:r}:{}},id:t,context:f}}}).then((()=>(0,s.forceUpdateMetamaskState)(p))),g=(0,r.debounce)(h,200),y=(0,r.throttle)(h,200),b=(0,r.debounce)((e=>p((0,s.updateInterfaceState)(t,e))),200),v=({event:e,name:t,value:n=m.current[t],flush:a=!1})=>{b.flush();const r=d.includes(e)?y:g;r(e,t,n),a&&r.flush()},_=(0,r.debounce)(((e,t)=>v({event:a.UserInputEventType.InputChangeEvent,name:e,value:t,flush:!0})),300);return o.default.createElement(u.Provider,{value:{handleEvent:v,getValue:(e,t)=>{var n;const a=t?null===(n=c[t])||void 0===n?void 0:n[e]:null==c?void 0:c[e];return a||undefined},handleInputChange:(e,t,n)=>{const a=(0,l.mergeValue)(m.current,e,t,n);m.current=a,b(a),_(e,t??"")}}},e)}}}},{package:"$root$",file:"ui/contexts/snaps/snap-interface.tsx"}],[5330,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.mergeValue=void 0;n.mergeValue=(e,t,n,a)=>a?{...e,[a]:{...e[a],[t]:n}}:{...e,[t]:n}}}},{package:"$root$",file:"ui/contexts/snaps/utils.ts"}],[5331,{"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.TransactionModalContextProvider=n.TransactionModalContext=void 0,n.useTransactionModalContext=function(){return(0,r.useContext)(s)};var a,r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=i(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=(a=e("prop-types"))&&a.__esModule?a:{default:a};function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(i=function(e){return e?n:t})(e)}const s=n.TransactionModalContext=(0,r.createContext)({}),l=({children:e})=>{const[t,n]=(0,r.useState)([]);return r.default.createElement(s.Provider,{value:{closeModal:e=>{if(t<0)return;const a=[...t];e.forEach((e=>{const n=t.indexOf(e);a.splice(n,1)})),n(a)},closeAllModals:()=>{n([])},currentModal:t[t.length-1],openModal:e=>{if(t.includes(e))return;const a=[...t];a.push(e),n(a)},openModalCount:t.length}},e)};n.TransactionModalContextProvider=l,l.propTypes={children:o.default.node.isRequired}}}},{package:"$root$",file:"ui/contexts/transaction-modal.js"}],[5333,{"./enums":5332,"./invalid-custom-network":5334,"./unconnected-account":5335},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"ALERT_STATE",{enumerable:!0,get:function(){return o.ALERT_STATE}}),Object.defineProperty(n,"invalidCustomNetwork",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(n,"unconnectedAccount",{enumerable:!0,get:function(){return a.default}});var a=i(e("./unconnected-account")),r=i(e("./invalid-custom-network")),o=e("./enums");function i(e){return e&&e.__esModule?e:{default:e}}}}},{package:"$root$",file:"ui/ducks/alerts/index.js"}],[5334,{"../../../shared/constants/alerts":4492,"./enums":5332,"@reduxjs/toolkit":2354},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.openAlert=n.getNetworkName=n.getAlertState=n.dismissAlert=n.default=n.alertIsOpen=void 0;var a=e("@reduxjs/toolkit"),r=e("../../../shared/constants/alerts"),o=e("./enums");const i=r.AlertTypes.invalidCustomNetwork,s={state:o.ALERT_STATE.CLOSED,networkName:""},l=(0,a.createSlice)({name:i,initialState:s,reducers:{openAlert:(e,t)=>{e.state=o.ALERT_STATE.OPEN,e.networkName=t.payload},dismissAlert:e=>{e.state=o.ALERT_STATE.CLOSED,e.networkName=""}}}),{actions:c,reducer:u}=l;n.default=u;n.getAlertState=e=>e[i].state;n.getNetworkName=e=>e[i].networkName;n.alertIsOpen=e=>e[i].state!==o.ALERT_STATE.CLOSED;const{openAlert:d,dismissAlert:f}=c;n.dismissAlert=f,n.openAlert=d}}},{package:"$root$",file:"ui/ducks/alerts/invalid-custom-network.js"}],[5337,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.clearAlerts=function(e){return{type:"CLEAR_ALERTS",ownerId:e}},n.default=function(e=a,t){switch(t.type){case"UPDATE_ALERTS":return{...e,alerts:{...e.alerts,[t.ownerId]:t.alerts}};case"SET_ALERT_CONFIRMED":return{...e,confirmed:{...e.confirmed,[t.ownerId]:{...e.confirmed[t.ownerId],[t.alertKey]:t.isConfirmed}}};case"CLEAR_ALERTS":return{...e,alerts:{...e.alerts,[t.ownerId]:[]},confirmed:{...e.confirmed,[t.ownerId]:{}}};default:return e}},n.setAlertConfirmed=function(e,t,n){return{type:"SET_ALERT_CONFIRMED",ownerId:e,alertKey:t,isConfirmed:n}},n.updateAlerts=function(e,t){return{type:"UPDATE_ALERTS",alerts:t,ownerId:e}};const a={alerts:{},confirmed:{}}}}},{package:"$root$",file:"ui/ducks/confirm-alerts/confirm-alerts.ts"}],[5339,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.UPDATE_CURRENT_CONFIRMATION=n.UPDATE_CONFIRM=void 0,n.default=function(e=i,t){switch(t.type){case"metamask/confirm/UPDATE_CONFIRM":return{...e,...t.payload};case"metamask/confirm/UPDATE_CURRENT_CONFIRMATION":return{...e,currentConfirmation:t.currentConfirmation};default:return e}},n.updateConfirm=function(e){return{type:r,payload:e||i}},n.updateCurrentConfirmation=function(e){return{type:o,currentConfirmation:e}};const a=e=>`metamask/confirm/${e}`,r=n.UPDATE_CONFIRM=a("UPDATE_CONFIRM"),o=n.UPDATE_CURRENT_CONFIRMATION=a("UPDATE_CURRENT_CONFIRMATION"),i={currentConfirmation:undefined}}}},{package:"$root$",file:"ui/ducks/confirm/confirm.ts"}],[5343,{"../../helpers/constants/routes":5361,"@reduxjs/toolkit":2354},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.pageChanged=n.getMostRecentOverviewPage=n.default=void 0;var a=e("@reduxjs/toolkit"),r=e("../../helpers/constants/routes");const o={mostRecentOverviewPage:r.DEFAULT_ROUTE},i="history",s=(0,a.createSlice)({name:i,initialState:o,reducers:{pageChanged:(e,t)=>{const n=t.payload;(n===r.DEFAULT_ROUTE||n.startsWith(r.ASSET_ROUTE))&&(e.mostRecentOverviewPage=n)}}}),{actions:l,reducer:c}=s;n.default=c;n.getMostRecentOverviewPage=e=>e[i].mostRecentOverviewPage;const{pageChanged:u}=l;n.pageChanged=u}}},{package:"$root$",file:"ui/ducks/history/history.js"}],[5344,{"../../shared/constants/alerts":4492,"./alerts":5333,"./app/app":5336,"./confirm-alerts/confirm-alerts":5337,"./confirm-transaction/confirm-transaction.duck":5338,"./confirm/confirm":5339,"./domains":5340,"./gas/gas.duck":5342,"./history/history":5343,"./locale/locale":5345,"./metamask/metamask":5346,"./send/send":5349,"./swaps/swaps":5351,redux:4261},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=e("redux"),r=e("../../shared/constants/alerts"),o=y(e("./confirm/confirm")),i=y(e("./metamask/metamask")),s=y(e("./locale/locale")),l=y(e("./send/send")),c=y(e("./domains")),u=y(e("./app/app")),d=y(e("./confirm-transaction/confirm-transaction.duck")),f=y(e("./gas/gas.duck")),p=e("./alerts"),m=y(e("./swaps/swaps")),h=y(e("./history/history")),g=y(e("./confirm-alerts/confirm-alerts"));function y(e){return e&&e.__esModule?e:{default:e}}n.default=(0,a.combineReducers)({[r.AlertTypes.invalidCustomNetwork]:p.invalidCustomNetwork,[r.AlertTypes.unconnectedAccount]:p.unconnectedAccount,activeTab:e=>e===undefined?null:e,metamask:i.default,appState:u.default,DNS:c.default,history:h.default,send:l.default,confirm:o.default,confirmAlerts:g.default,confirmTransaction:d.default,swaps:m.default,gas:f.default,localeMessages:s.default})}}},{package:"$root$",file:"ui/ducks/index.js"}],[5352,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){t.exports=[{code:"aud",name:"Australian Dollar"},{code:"hkd",name:"Hong Kong Dollar"},{code:"sgd",name:"Singapore Dollar"},{code:"idr",name:"Indonesian Rupiah"},{code:"inr",name:"Indian Rupee"},{code:"nzd",name:"New Zealand Dollar"},{code:"php",name:"Philippine Peso"},{code:"adt",name:"adToken"},{code:"adx",name:"AdEx"},{code:"ant",name:"Aragon"},{code:"bat",name:"Basic Attention Token"},{code:"bnt",name:"Bancor"},{code:"btc",name:"Bitcoin"},{code:"cad",name:"Canadian Dollar"},{code:"crb",name:"CreditBit"},{code:"cvc",name:"Civic"},{code:"dash",name:"Dash"},{code:"dgd",name:"DigixDAO"},{code:"etc",name:"Ethereum Classic"},{code:"eur",name:"Euro"},{code:"fun",name:"FunFair"},{code:"gbp",name:"Pound Sterling"},{code:"gno",name:"Gnosis"},{code:"gnt",name:"Golem"},{code:"hmq",name:"Humaniq"},{code:"jpy",name:"Japanese Yen"},{code:"lsk",name:"Lisk"},{code:"ltc",name:"Litecoin"},{code:"lun",name:"Lunyr"},{code:"mco",name:"Monaco"},{code:"mtl",name:"Metal"},{code:"myst",name:"Mysterium"},{code:"nmr",name:"Numeraire"},{code:"omg",name:"OmiseGO"},{code:"pay",name:"TenX"},{code:"ptoy",name:"Patientory"},{code:"qrl",name:"Quantum-Resistant Ledger"},{code:"qtum",name:"Qtum"},{code:"rep",name:"Augur"},{code:"rlc",name:"iEx.ec"},{code:"rub",name:"Russian Ruble"},{code:"sc",name:"Siacoin"},{code:"sngls",name:"SingularDTV"},{code:"snt",name:"Status"},{code:"steem",name:"Steem"},{code:"storj",name:"Storj"},{code:"time",name:"ChronoBank"},{code:"tkn",name:"TokenCard"},{code:"uah",name:"Ukrainian Hryvnia"},{code:"usd",name:"United States Dollar"},{code:"wings",name:"Wings"},{code:"xem",name:"NEM"},{code:"xlm",name:"Stellar Lumen"},{code:"xmr",name:"Monero"},{code:"xrp",name:"Ripple"},{code:"zec",name:"Zcash"},{code:"dai",name:"DAI"},{code:"sek",name:"Swedish Krona"}]}}},{package:"$root$",file:"ui/helpers/constants/available-conversions.json"}],[5354,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.STATUS_NOT_CONNECTED=n.STATUS_CONNECTED_TO_SNAP=n.STATUS_CONNECTED_TO_ANOTHER_ACCOUNT=n.STATUS_CONNECTED=void 0;n.STATUS_CONNECTED="STATUS_CONNECTED",n.STATUS_CONNECTED_TO_ANOTHER_ACCOUNT="STATUS_CONNECTED_TO_ANOTHER_ACCOUNT",n.STATUS_NOT_CONNECTED="STATUS_NOT_CONNECTED",n.STATUS_CONNECTED_TO_SNAP="STATUS_CONNECTED_TO_SNAP"}}},{package:"$root$",file:"ui/helpers/constants/connected-sites.js"}],[5357,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.PRIORITY_LEVEL_ICON_MAP=n.GAS_FORM_ERRORS=void 0,n.getGasFormErrorText=function(e,t,{minimumGasLimit:n}={}){switch(e){case a.GAS_LIMIT_OUT_OF_BOUNDS:return t("editGasLimitOutOfBounds",[n]);case a.MAX_PRIORITY_FEE_TOO_LOW:return t("editGasMaxPriorityFeeLow");case a.MAX_FEE_TOO_LOW:return t("editGasMaxFeeLow");case a.MAX_PRIORITY_FEE_BELOW_MINIMUM:return t("editGasMaxPriorityFeeBelowMinimum");case a.MAX_PRIORITY_FEE_HIGH_WARNING:return t("editGasMaxPriorityFeeHigh");case a.MAX_FEE_HIGH_WARNING:return t("editGasMaxFeeHigh");case a.MAX_FEE_IMBALANCE:return t("editGasMaxFeePriorityImbalance");case a.GAS_PRICE_TOO_LOW:return t("editGasPriceTooLow");default:return""}};const a=n.GAS_FORM_ERRORS={GAS_LIMIT_OUT_OF_BOUNDS:"editGasLimitOutOfBounds",MAX_PRIORITY_FEE_TOO_LOW:"editGasMaxPriorityFeeLow",MAX_FEE_TOO_LOW:"editGasMaxFeeLow",MAX_PRIORITY_FEE_BELOW_MINIMUM:"editGasMaxPriorityFeeBelowMinimum",MAX_PRIORITY_FEE_HIGH_WARNING:"editGasMaxPriorityFeeHigh",MAX_FEE_HIGH_WARNING:"editGasMaxFeeHigh",MAX_FEE_IMBALANCE:"editGasMaxFeeImbalance",GAS_PRICE_TOO_LOW:"editGasPriceTooLow"};n.PRIORITY_LEVEL_ICON_MAP={low:"🐢",medium:"🦊",high:"🦍",dappSuggested:"🌐",dappSuggestedHigh:"🌐",swapSuggested:"🔄",custom:"⚙️"}}}},{package:"$root$",file:"ui/helpers/constants/gas.js"}],[5358,{"../../../../shared/constants/network":4507},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.SUPPORTED_NOTIFICATION_BLOCK_EXPLORERS=void 0;var a=e("../../../../shared/constants/network");n.SUPPORTED_NOTIFICATION_BLOCK_EXPLORERS={[a.CHAIN_IDS.MAINNET]:{url:"https://etherscan.io",name:"Etherscan"},[a.CHAIN_IDS.OPTIMISM]:{url:"https://optimistic.etherscan.io",name:"Optimistic Etherscan"},[a.CHAIN_IDS.BSC]:{url:"https://bscscan.com",name:"BscScan"},[a.CHAIN_IDS.POLYGON]:{url:"https://polygonscan.com",name:"PolygonScan"},[a.CHAIN_IDS.ARBITRUM]:{url:"https://arbiscan.io",name:"Arbiscan"},[a.CHAIN_IDS.AVALANCHE]:{url:"https://snowtrace.io",name:"Snowtrace"},[a.CHAIN_IDS.LINEA_MAINNET]:{url:"https://lineascan.build",name:"LineaScan"}}}}},{package:"$root$",file:"ui/helpers/constants/metamask-notifications/metamask-notifications.ts"}],[5362,{"../../components/component-library":4955,"./routes":5361},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=e("../../components/component-library"),r=e("./routes");const o=[{tabMessage:e=>e("general"),sectionMessage:e=>e("currencyConversion"),descriptionMessage:e=>e("currencyConversion"),route:`${r.GENERAL_ROUTE}#currency-conversion`,iconName:a.IconName.Setting},{tabMessage:e=>e("general"),sectionMessage:e=>e("primaryCurrencySetting"),descriptionMessage:e=>e("primaryCurrencySettingDescription"),route:`${r.GENERAL_ROUTE}#primary-currency`,iconName:a.IconName.Setting},{tabMessage:e=>e("general"),sectionMessage:e=>e("currentLanguage"),descriptionMessage:e=>e("currentLanguage"),route:`${r.GENERAL_ROUTE}#current-language`,iconName:a.IconName.Setting},{tabMessage:e=>e("general"),sectionMessage:e=>e("theme"),descriptionMessage:e=>e("themeDescription"),route:`${r.GENERAL_ROUTE}#theme`,icon:"fa fa-flask"},{tabMessage:e=>e("general"),sectionMessage:e=>e("accountIdenticon"),descriptionMessage:e=>e("accountIdenticon"),route:`${r.GENERAL_ROUTE}#account-identicon`,iconName:a.IconName.Setting},{tabMessage:e=>e("general"),sectionMessage:e=>e("hideZeroBalanceTokens"),descriptionMessage:e=>e("hideZeroBalanceTokens"),route:`${r.GENERAL_ROUTE}#zero-balancetokens`,iconName:a.IconName.Setting},{tabMessage:e=>e("advanced"),sectionMessage:e=>e("stateLogs"),descriptionMessage:e=>e("stateLogsDescription"),route:`${r.ADVANCED_ROUTE}#state-logs`,icon:"fas fa-sliders-h"},{tabMessage:e=>e("advanced"),sectionMessage:e=>e("clearActivity"),descriptionMessage:e=>e("clearActivityDescription"),route:`${r.ADVANCED_ROUTE}#clear-activity`,icon:"fas fa-sliders-h"},{tabMessage:e=>e("advanced"),sectionMessage:e=>e("smartTransactions"),descriptionMessage:e=>e("stxOptInDescription"),route:`${r.ADVANCED_ROUTE}#smart-transactions`,icon:"fas fa-upload"},{tabMessage:e=>e("advanced"),sectionMessage:e=>e("showHexData"),descriptionMessage:e=>e("showHexDataDescription"),route:`${r.ADVANCED_ROUTE}#show-hexdata`,icon:"fas fa-sliders-h"},{tabMessage:e=>e("advanced"),sectionMessage:e=>e("showFiatConversionInTestnets"),descriptionMessage:e=>e("showFiatConversionInTestnetsDescription"),route:`${r.ADVANCED_ROUTE}#conversion-testnetworks`,icon:"fas fa-sliders-h"},{tabMessage:e=>e("advanced"),sectionMessage:e=>e("showTestnetNetworks"),descriptionMessage:e=>e("showTestnetNetworksDescription"),route:`${r.ADVANCED_ROUTE}#show-testnets`,icon:"fas fa-sliders-h"},{tabMessage:e=>e("advanced"),sectionMessage:e=>e("nonceField"),descriptionMessage:e=>e("nonceFieldDescription"),route:`${r.ADVANCED_ROUTE}#customize-nonce`,icon:"fas fa-sliders-h"},{tabMessage:e=>e("advanced"),sectionMessage:e=>e("autoLockTimeLimit"),descriptionMessage:e=>e("autoLockTimeLimitDescription"),route:`${r.ADVANCED_ROUTE}#autolock-timer`,icon:"fas fa-sliders-h"},{tabMessage:e=>e("advanced"),sectionMessage:e=>e("showExtensionInFullSizeView"),descriptionMessage:e=>e("showExtensionInFullSizeViewDescription"),route:`${r.ADVANCED_ROUTE}#extension-full-size-view`,icon:"fas fa-sliders-h"},{tabMessage:e=>e("advanced"),sectionMessage:e=>e("dismissReminderField"),descriptionMessage:e=>e("dismissReminderDescriptionField"),route:`${r.ADVANCED_ROUTE}#dismiss-secretrecovery`,icon:"fas fa-sliders-h"},{tabMessage:e=>e("advanced"),sectionMessage:e=>e("toggleEthSignField"),descriptionMessage:e=>e("toggleEthSignDescriptionField"),route:`${r.ADVANCED_ROUTE}#toggle-ethsign`,icon:"fas fa-sliders-h"},{tabMessage:e=>e("contacts"),sectionMessage:e=>e("contacts"),descriptionMessage:e=>e("contacts"),route:r.CONTACT_LIST_ROUTE,iconName:a.IconName.Book},{tabMessage:e=>e("securityAndPrivacy"),sectionMessage:e=>e("revealSeedWords"),descriptionMessage:e=>e("revealSeedWords"),route:`${r.SECURITY_ROUTE}#reveal-secretrecovery`,icon:"fa fa-lock"},{tabMessage:e=>e("securityAndPrivacy"),sectionMessage:e=>e("showIncomingTransactions"),descriptionMessage:e=>e("showIncomingTransactionsDescription"),route:`${r.SECURITY_ROUTE}#incoming-transaction`,icon:"fa fa-lock"},{tabMessage:e=>e("securityAndPrivacy"),sectionMessage:e=>e("usePhishingDetection"),descriptionMessage:e=>e("usePhishingDetectionDescription"),route:`${r.SECURITY_ROUTE}#phishing-detection`,icon:"fa fa-lock"},{tabMessage:e=>e("securityAndPrivacy"),sectionMessage:e=>e("use4ByteResolution"),descriptionMessage:e=>e("use4ByteResolutionDescription"),route:`${r.SECURITY_ROUTE}#decode-smart-contracts`,icon:"fa fa-lock"},{tabMessage:e=>e("securityAndPrivacy"),sectionMessage:e=>e("participateInMetaMetrics"),descriptionMessage:e=>e("participateInMetaMetricsDescription"),route:`${r.SECURITY_ROUTE}#metametrics`,icon:"fa fa-lock"},{tabMessage:e=>e("securityAndPrivacy"),sectionMessage:e=>e("networkProvider"),descriptionMessage:e=>`${e("chooseYourNetwork")} ${e("chooseYourNetworkDescription")}`,route:`${r.SECURITY_ROUTE}#network-provider`,icon:"fa fa-lock"},{tabMessage:e=>e("securityAndPrivacy"),sectionMessage:e=>e("ipfsGateway"),descriptionMessage:e=>e("ipfsGatewayDescription"),route:`${r.SECURITY_ROUTE}#add-custom-ipfs-gateway`,icon:"fa fa-lock"},{tabMessage:e=>e("securityAndPrivacy"),sectionMessage:e=>e("autoDetectTokens"),descriptionMessage:e=>e("autoDetectTokensDescription"),route:`${r.SECURITY_ROUTE}#auto-detect-tokens`,icon:"fa fa-lock"},{tabMessage:e=>e("securityAndPrivacy"),sectionMessage:e=>e("useMultiAccountBalanceChecker"),descriptionMessage:e=>e("useMultiAccountBalanceCheckerSettingDescription"),route:`${r.SECURITY_ROUTE}#batch-account-balance-requests`,icon:"fa fa-lock"},{tabMessage:e=>e("securityAndPrivacy"),sectionMessage:e=>e("currencyRateCheckToggle"),descriptionMessage:e=>e("currencyRateCheckToggleDescription"),route:`${r.SECURITY_ROUTE}#price-checker`,icon:"fa fa-lock"},{tabMessage:e=>e("securityAndPrivacy"),sectionMessage:e=>e("ensDomainsSettingTitle"),descriptionMessage:e=>e("ensDomainsSettingDescriptionIntroduction"),route:`${r.SECURITY_ROUTE}#ens-domains`,icon:"fa fa-lock"},{tabMessage:e=>e("securityAndPrivacy"),sectionMessage:e=>e("displayNftMedia"),descriptionMessage:e=>e("displayNftMediaDescription"),route:`${r.SECURITY_ROUTE}#display-nft-media`,icon:"fa fa-lock"},{tabMessage:e=>e("securityAndPrivacy"),sectionMessage:e=>e("useNftDetection"),descriptionMessage:e=>e("useNftDetectionDescriptionText"),route:`${r.SECURITY_ROUTE}#autodetect-nfts`,icon:"fa fa-lock"},{tabMessage:e=>e("securityAndPrivacy"),sectionMessage:e=>e("useSafeChainsListValidation"),descriptionMessage:e=>e("useSafeChainsListValidationDescription"),route:`${r.SECURITY_ROUTE}#network-details-check`,icon:"fa fa-lock"},{tabMessage:e=>e("securityAndPrivacy"),sectionMessage:e=>e("externalNameSourcesSetting"),descriptionMessage:e=>e("externalNameSourcesSettingDescription"),route:`${r.SECURITY_ROUTE}#proposed-nicknames`,icon:"fa fa-lock"},{tabMessage:e=>e("securityAndPrivacy"),sectionMessage:e=>e("securityAlerts"),descriptionMessage:e=>e("securityAlertsDescription"),route:`${r.SECURITY_ROUTE}#security-alerts`,icon:"fa fa-lock"},{tabMessage:e=>e("securityAndPrivacy"),sectionMessage:e=>e("blockaid"),descriptionMessage:e=>e("blockaidMessage"),route:`${r.SECURITY_ROUTE}#security-alerts-blockaid`,icon:"fa fa-lock"},{tabMessage:e=>e("securityAndPrivacy"),sectionMessage:e=>e("simulationsSettingSubHeader"),descriptionMessage:e=>e("simulationsSettingDescription"),route:`${r.SECURITY_ROUTE}#transaction-simulations`,icon:"fa fa-lock"},{tabMessage:e=>e("alerts"),sectionMessage:e=>e("alertSettingsUnconnectedAccount"),descriptionMessage:e=>e("alertSettingsUnconnectedAccount"),route:`${r.ALERTS_ROUTE}#unconnected-account`,iconName:a.IconName.Notification},{tabMessage:e=>e("alerts"),sectionMessage:e=>e("alertSettingsWeb3ShimUsage"),descriptionMessage:e=>e("alertSettingsWeb3ShimUsage"),route:`${r.ALERTS_ROUTE}#web3-shimusage`,icon:"fa fa-bell"},{tabMessage:e=>e("networks"),sectionMessage:e=>e("mainnet"),descriptionMessage:e=>e("mainnet"),route:`${r.NETWORKS_ROUTE}#networks-mainnet`,icon:"fa fa-plug"},{tabMessage:e=>e("networks"),sectionMessage:e=>e("lineaMainnet"),descriptionMessage:e=>e("lineaMainnet"),route:`${r.NETWORKS_ROUTE}#networks-linea-mainnet`,icon:"fa fa-plug"},{tabMessage:e=>e("networks"),sectionMessage:e=>e("goerli"),descriptionMessage:e=>e("goerli"),route:`${r.NETWORKS_ROUTE}#networks-goerli`,icon:"fa fa-plug"},{tabMessage:e=>e("networks"),sectionMessage:e=>e("sepolia"),descriptionMessage:e=>e("sepolia"),route:`${r.NETWORKS_ROUTE}#networks-sepolia`,icon:"fa fa-plug"},{tabMessage:e=>e("networks"),sectionMessage:e=>e("lineaGoerli"),descriptionMessage:e=>e("lineaGoerli"),route:`${r.NETWORKS_ROUTE}#networks-linea-goerli`,icon:"fa fa-plug"},{tabMessage:e=>e("networks"),sectionMessage:e=>e("lineaSepolia"),descriptionMessage:e=>e("lineaSepolia"),route:`${r.NETWORKS_ROUTE}#networks-linea-sepolia`,icon:"fa fa-plug"},{tabMessage:e=>e("networks"),sectionMessage:e=>e("localhost"),descriptionMessage:e=>e("localhost"),route:`${r.NETWORKS_ROUTE}#networks-localhost`,icon:"fa fa-plug"},{tabMessage:e=>e("about"),sectionMessage:e=>e("metamaskVersion"),descriptionMessage:e=>e("builtAroundTheWorld"),route:`${r.ABOUT_US_ROUTE}#version`,iconName:a.IconName.Info},{tabMessage:e=>e("about"),sectionMessage:e=>e("links"),descriptionMessage:e=>e("links"),route:`${r.ABOUT_US_ROUTE}#links`,iconName:a.IconName.Info},{tabMessage:e=>e("about"),sectionMessage:e=>e("privacyMsg"),descriptionMessage:e=>e("privacyMsg"),route:`${r.ABOUT_US_ROUTE}#privacy-policy`,iconName:a.IconName.Info},{tabMessage:e=>e("about"),sectionMessage:e=>e("terms"),descriptionMessage:e=>e("terms"),route:`${r.ABOUT_US_ROUTE}#terms`,iconName:a.IconName.Info},{tabMessage:e=>e("about"),sectionMessage:e=>e("attributions"),descriptionMessage:e=>e("attributions"),route:`${r.ABOUT_US_ROUTE}#attributions`,iconName:a.IconName.Info},{tabMessage:e=>e("about"),sectionMessage:e=>e("supportCenter"),descriptionMessage:e=>e("supportCenter"),route:`${r.ABOUT_US_ROUTE}#supportcenter`,iconName:a.IconName.Info},{tabMessage:e=>e("about"),sectionMessage:e=>e("visitWebSite"),descriptionMessage:e=>e("visitWebSite"),route:`${r.ABOUT_US_ROUTE}#visitwebsite`,iconName:a.IconName.Info},{tabMessage:e=>e("about"),sectionMessage:e=>e("contactUs"),descriptionMessage:e=>e("contactUs"),route:`${r.ABOUT_US_ROUTE}#contactus`,iconName:a.IconName.Info},{tabMessage:e=>e("about"),sectionMessage:e=>e("betaTerms"),descriptionMessage:e=>e("betaTerms"),route:`${r.ABOUT_US_ROUTE}#beta-terms`,iconName:a.IconName.Info},{tabMessage:e=>e("advanced"),sectionMessage:e=>e("backupUserData"),descriptionMessage:e=>e("backupUserDataDescription"),route:`${r.ADVANCED_ROUTE}#backup-userdata`,icon:"fas fa-download"},{tabMessage:e=>e("advanced"),sectionMessage:e=>e("restoreUserData"),descriptionMessage:e=>e("restoreUserDataDescription"),route:`${r.ADVANCED_ROUTE}#restore-userdata`,icon:"fas fa-upload"},{tabMessage:e=>e("experimental"),sectionMessage:e=>e("petnamesEnabledToggle"),descriptionMessage:e=>e("petnamesEnabledToggleDescription"),route:`${r.EXPERIMENTAL_ROUTE}#nicknames`,icon:"fas fa-flask"},{tabMessage:e=>e("experimental"),sectionMessage:e=>e("notificationsFeatureToggle"),descriptionMessage:e=>e("notificationsFeatureToggleDescription"),route:`${r.EXPERIMENTAL_ROUTE}#notifications`,icon:"fas fa-flask"},{tabMessage:e=>e("experimental"),sectionMessage:e=>e("snaps"),descriptionMessage:e=>e("addSnapAccountToggle"),route:`${r.EXPERIMENTAL_ROUTE}#snaps`,icon:"fas fa-flask"},{featureFlag:"ENABLE_SETTINGS_PAGE_DEV_OPTIONS",tabMessage:e=>e("developerOptions"),sectionMessage:e=>e("resetStates"),descriptionMessage:e=>e("resetStates"),route:`${r.DEVELOPER_OPTIONS_ROUTE}#reset-states`,icon:a.IconName.CodeCircle},{featureFlag:"ENABLE_SETTINGS_PAGE_DEV_OPTIONS",tabMessage:e=>e("developerOptions"),sectionMessage:e=>e("announcements"),descriptionMessage:e=>e("developerOptionsResetStatesAnnouncementsDescription"),route:`${r.DEVELOPER_OPTIONS_ROUTE}#reset-states-announcements`,icon:a.IconName.CodeCircle},{featureFlag:"ENABLE_SETTINGS_PAGE_DEV_OPTIONS",tabMessage:e=>e("developerOptions"),sectionMessage:e=>e("serviceWorkerKeepAlive"),descriptionMessage:e=>e("developerOptionsResetStatesOnboarding"),route:`${r.DEVELOPER_OPTIONS_ROUTE}#reset-states-onboarding`,icon:a.IconName.CodeCircle},{featureFlag:"ENABLE_SETTINGS_PAGE_DEV_OPTIONS",tabMessage:e=>e("developerOptions"),sectionMessage:e=>e("serviceWorkerKeepAlive"),descriptionMessage:e=>e("developerOptionsServiceWorkerKeepAlive"),route:`${r.DEVELOPER_OPTIONS_ROUTE}#service-worker-keep-alive`,icon:a.IconName.CodeCircle},{tabMessage:e=>e("experimental"),sectionMessage:e=>e("redesignedConfirmationsEnabledToggle"),descriptionMessage:e=>e("redesignedConfirmationsToggleDescription"),route:`${r.EXPERIMENTAL_ROUTE}#redesigned-confirmations`,icon:"fas fa-flask"}];n.default=o}}},{package:"$root$",file:"ui/helpers/constants/settings.js"}],[5363,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.getDelineatorTitle=n.DelineatorType=void 0;let a=n.DelineatorType=function(e){return e.Content="content",e.Error="error",e.Insights="insights",e.Description="description",e.Warning="warning",e}({});n.getDelineatorTitle=e=>{switch(e){case a.Error:return"errorWithSnap";case a.Insights:return"insightsFromSnap";case a.Description:return"descriptionFromSnap";case a.Warning:return"warningFromSnap";default:return"contentFromSnap"}}}}},{package:"$root$",file:"ui/helpers/constants/snaps/delineator.ts"}],[5364,{"./delineator":5363,"./insights":5365},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var a=e("./delineator");Object.keys(a).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in n&&n[e]===a[e]||Object.defineProperty(n,e,{enumerable:!0,get:function(){return a[e]}}))}));var r=e("./insights");Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in n&&n[e]===r[e]||Object.defineProperty(n,e,{enumerable:!0,get:function(){return r[e]}}))}))}}},{package:"$root$",file:"ui/helpers/constants/snaps/index.js"}],[5365,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.InsightWarningLanguage=void 0;n.InsightWarningLanguage={confirming:{noun:"transaction",imperative:"confirm"},signing:{noun:"signature",imperative:"sign"}}}}},{package:"$root$",file:"ui/helpers/constants/snaps/insights.ts"}],[5369,{"../../constants/routes":5361,"prop-types":3997,react:4243,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=l;var a=s(e("react")),r=s(e("prop-types")),o=e("react-router-dom"),i=e("../../constants/routes");function s(e){return e&&e.__esModule?e:{default:e}}function l(e){const{isUnlocked:t,completedOnboarding:n}=e;switch(!0){case t&&n:return a.default.createElement(o.Route,e);case!n:return a.default.createElement(o.Redirect,{to:{pathname:i.ONBOARDING_ROUTE}});default:return a.default.createElement(o.Redirect,{to:{pathname:i.UNLOCK_ROUTE}})}}l.propTypes={isUnlocked:r.default.bool,completedOnboarding:r.default.bool}}}},{package:"$root$",file:"ui/helpers/higher-order-components/authenticated/authenticated.component.js"}],[5370,{"./authenticated.component":5369,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=e("react-redux"),o=(a=e("./authenticated.component"))&&a.__esModule?a:{default:a};n.default=(0,r.connect)((e=>{const{metamask:{isUnlocked:t,completedOnboarding:n}}=e;return{isUnlocked:t,completedOnboarding:n}}))(o.default)}}},{package:"$root$",file:"ui/helpers/higher-order-components/authenticated/authenticated.container.js"}],[5371,{"./authenticated.container":5370},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./authenticated.container"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/helpers/higher-order-components/authenticated/index.js"}],[5372,{"prop-types":3997,react:4243,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=s;var a=i(e("react")),r=i(e("prop-types")),o=e("react-router-dom");function i(e){return e&&e.__esModule?e:{default:e}}function s({flag:e,redirectRoute:t,...n}){return e?a.default.createElement(o.Route,n):a.default.createElement(o.Redirect,{to:{pathname:t}})}s.propTypes={flag:r.default.bool.isRequired,redirectRoute:r.default.string.isRequired}}}},{package:"$root$",file:"ui/helpers/higher-order-components/feature-toggled-route.js"}],[5373,{"./initialized.container":5375},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./initialized.container"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/helpers/higher-order-components/initialized/index.js"}],[5374,{"../../constants/routes":5361,"prop-types":3997,react:4243,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=l;var a=s(e("react")),r=s(e("prop-types")),o=e("react-router-dom"),i=e("../../constants/routes");function s(e){return e&&e.__esModule?e:{default:e}}function l(e){return e.completedOnboarding?a.default.createElement(o.Route,e):a.default.createElement(o.Redirect,{to:{pathname:i.ONBOARDING_ROUTE}})}l.propTypes={completedOnboarding:r.default.bool}}}},{package:"$root$",file:"ui/helpers/higher-order-components/initialized/initialized.component.js"}],[5375,{"./initialized.component":5374,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=e("react-redux"),o=(a=e("./initialized.component"))&&a.__esModule?a:{default:a};n.default=(0,r.connect)((e=>{const{metamask:{completedOnboarding:t}}=e;return{completedOnboarding:t}}))(o.default)}}},{package:"$root$",file:"ui/helpers/higher-order-components/initialized/initialized.container.js"}],[5376,{"./with-modal-props":5377},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./with-modal-props"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/helpers/higher-order-components/with-modal-props/index.js"}],[5377,{"../../../store/actions":5998,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e){return(0,a.connect)(o,i)(e)};var a=e("react-redux"),r=e("../../../store/actions");const o=e=>{const{appState:t}=e,{props:n}=t.modal.modalState;return{...n}},i=e=>({hideModal:()=>e((0,r.hideModal)())})}}},{package:"$root$",file:"ui/helpers/higher-order-components/with-modal-props/with-modal-props.js"}],[5378,{"../../../app/scripts/translate":255,"../../../shared/constants/hardware-wallets":4501,"../../../shared/constants/keyring":4502,"../../../shared/constants/network":4507,"../../components/component-library":4955,"../constants/design-system":5355},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.getAccountLabel=function(e,t){var n;if(!t)return null;switch(e){case i.KeyringType.hdKeyTree:return null;case i.KeyringType.imported:return(0,l.t)("imported");case i.KeyringType.qr:return s.HardwareKeyringNames.qr;case i.KeyringType.trezor:return s.HardwareKeyringNames.trezor;case i.KeyringType.ledger:return s.HardwareKeyringNames.ledger;case i.KeyringType.lattice:return s.HardwareKeyringNames.lattice;case i.KeyringType.snap:var a;return null!==(n=t.metadata.snap)&&void 0!==n&&n.name?`${null===(a=t.metadata.snap)||void 0===a?void 0:a.name} (${(0,l.t)("beta")})`:`${(0,l.t)("snaps")} (${(0,l.t)("beta")})`;default:return null}},n.getAccountNameErrorMessage=function(e,t,n,r){const o=e.some((e=>e.metadata.name.toLowerCase()===n.toLowerCase())),i=""===n,s=t.t("newAccountNumberName").replace(" $1",""),l=new RegExp(`^\\s*${s} \\d+\\s*$`,"iu").test(n),c=n.toLowerCase()===r.toLowerCase()||!o&&!l&&!i;let u;c?u=a.InvisibleCharacter:o?u=t.t("accountNameDuplicate"):l?u=t.t("accountNameReserved"):i&&(u=t.t("required"));return{isValidAccountName:c,errorMessage:u}},n.getAvatarNetworkColor=function(e){switch(e){case r.GOERLI_DISPLAY_NAME:return o.BackgroundColor.goerli;case r.LINEA_GOERLI_DISPLAY_NAME:return o.BackgroundColor.lineaGoerli;case r.LINEA_SEPOLIA_DISPLAY_NAME:return o.BackgroundColor.lineaSepolia;case r.SEPOLIA_DISPLAY_NAME:return o.BackgroundColor.sepolia;default:return undefined}};var a=e("../../components/component-library"),r=e("../../../shared/constants/network"),o=e("../constants/design-system"),i=e("../../../shared/constants/keyring"),s=e("../../../shared/constants/hardware-wallets"),l=e("../../../app/scripts/translate")}}},{package:"$root$",file:"ui/helpers/utils/accounts.js"}],[5380,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.camelCaseToCapitalize=function(e=""){return e.replace(/([A-Z])/gu," $1").replace(/^./u,(e=>e.toUpperCase()))}}}},{package:"$root$",file:"ui/helpers/utils/common.util.js"}],[5382,{buffer:3028},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){(function(e){(function(){Object.defineProperty(n,"__esModule",{value:!0}),n.ExportableContentType=void 0,n.exportAsFile=async function(t,n,r){if(!a[r])throw new Error(`Unsupported file type: ${r}`);"undefined"!=typeof window&&void 0!==window.showSaveFilePicker&&void 0!==window.Blob?await async function(e,t,n){const r=new window.Blob([t],{contentType:n}),o=a[n],i=await window.showSaveFilePicker({suggestedName:e,types:[{description:e,accept:{[n]:[o]}}]}),s=await i.createWritable();await s.write(r),await s.close()}(t,n,r):function(t,n,a){const r=e.from(n,"utf8").toString("base64"),o=document.createElement("a");o.href=`data:${a};Base64,${r}`,o.download=t,document.body.appendChild(o),o.click(),document.body.removeChild(o)}(t,n,r)};const t=n.ExportableContentType={JSON:"application/json",TXT:"text/plain"},a={[t.JSON]:".json",[t.TXT]:".txt"}}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"$root$",file:"ui/helpers/utils/export-utils.js"}],[5384,{"../../../shared/constants/gas":4500,"../../../shared/modules/Numeric":4533,"../../../shared/modules/conversion.utils":4537,"./util":5399,"bignumber.js":2933,lodash:3836},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.addTenPercentAndRound=d,n.editGasModeIsSpeedUpOrCancel=function(e){return e===i.EditGasModes.cancel||e===i.EditGasModes.speedUp},n.formatGasFeeOrFeeRange=function(e,{precision:t=2}={}){if((0,c.isNullish)(e)||Array.isArray(e)&&0===e.length)return null;const n=Array.isArray(e)?e.slice(0,2):[e],a=Array.isArray(t)?t.slice(0,2):(0,r.times)(n.length,(0,r.constant)(t));return`${(0,r.uniq)((0,r.zip)(n,a).map((([e,t])=>t===undefined?e:(0,c.roundToDecimalPlacesRemovingExtraZeroes)(e,t)))).join(" - ")} GWEI`},n.gasEstimateGreaterThanGasUsedPlusTenPercent=void 0,n.isMetamaskSuggestedGasEstimate=function(e){return[i.GasRecommendations.high,i.GasRecommendations.medium,i.GasRecommendations.low].includes(e)};var a,r=e("lodash"),o=(a=e("bignumber.js"))&&a.__esModule?a:{default:a},i=e("../../../shared/constants/gas"),s=e("../../../shared/modules/conversion.utils"),l=e("../../../shared/modules/Numeric"),c=e("./util");const u=new l.Numeric(1.1,10);function d(e){return e===undefined?undefined:new l.Numeric(e,16).times(u).round(0).toPrefixedHexString()}n.gasEstimateGreaterThanGasUsedPlusTenPercent=(e,t,n)=>{var a;let{maxFeePerGas:r}=e;r=new o.default((0,s.hexWEIToDecGWEI)(d(r)));const i=null==t||null===(a=t[n])||void 0===a?void 0:a.suggestedMaxFeePerGas;return(0,c.bnGreaterThan)(i,r)}}}},{package:"$root$",file:"ui/helpers/utils/gas.js"}],[5385,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.isHardwareKeyring=function(e=""){return e.includes("Hardware")}}}},{package:"$root$",file:"ui/helpers/utils/hardware.js"}],[5388,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;n.default=()=>window.matchMedia("screen and (max-width: 575px)").matches}}},{package:"$root$",file:"ui/helpers/utils/is-mobile-view.js"}],[5390,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.getMatchedSymbols=n.getMatchedChain=void 0;n.getMatchedChain=(e,t)=>t.find((t=>t.chainId.toString()===e));n.getMatchedSymbols=(e,t)=>t.reduce(((t,n)=>{var a;n.chainId.toString()===e&&t.push(null===(a=n.nativeCurrency)||void 0===a?void 0:a.symbol);return t}),[])}}},{package:"$root$",file:"ui/helpers/utils/network-helper.ts"}],[5391,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.getNftImageAlt=void 0;n.getNftImageAlt=({name:e,tokenId:t,description:n})=>n??`${e} ${t}`}}},{package:"$root$",file:"ui/helpers/utils/nfts.js"}],[5392,{"../../../shared/constants/network":4507,"../../../shared/lib/transactions-controller-utils":4531,"../../../shared/modules/conversion.utils":4537,"../constants/metamask-notifications/metamask-notifications":5358,"@ethersproject/providers":521,"bignumber.js":2933},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.formatAmount=n.createTextItems=void 0,n.formatIsoDateString=function(e){const t=new Date(e);return new Intl.DateTimeFormat("en-US",{year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric",hour12:!0}).format(t)},n.formatMenuItemDate=function(e){const t=new Date;if(c(t,e))return new Intl.DateTimeFormat("en",{hour:"numeric",minute:"numeric",hour12:!1}).format(e);if(u(t,e))return new Intl.RelativeTimeFormat("en",{numeric:"auto"}).format(-1,"day");if(d(t,e))return new Intl.DateTimeFormat("en",{month:"short",day:"numeric"}).format(e);return new Intl.DateTimeFormat("en",{year:"numeric",month:"short",day:"numeric"}).format(e)},n.getLeadingZeroCount=n.getAmount=void 0,n.getNetworkDetailsByChainId=function(e){const t=(o.NETWORK_TO_NAME_MAP[e]??"").split(" ")[0]??"",n=o.CHAIN_ID_TO_CURRENCY_SYMBOL_MAP[e],a=o.CHAIN_ID_TO_NETWORK_IMAGE_URL_MAP[e],r=e&&(s=i.SUPPORTED_NOTIFICATION_BLOCK_EXPLORERS,l=e,l in s)?i.SUPPORTED_NOTIFICATION_BLOCK_EXPLORERS[e]:undefined;var s,l;return{nativeCurrencyName:t,nativeCurrencySymbol:n,nativeCurrencyLogo:a,nativeCurrencyAddress:"0x0000000000000000000000000000000000000000",blockExplorerConfig:r}},n.getRandomKey=n.getNetworkNameByChainId=n.getNetworkFees=void 0,n.getRpcUrlByChainId=h,n.getUsdAmount=void 0,n.hasNetworkFeeFields=g,n.isIpfsURL=void 0;var a=e("bignumber.js"),r=e("@ethersproject/providers"),o=e("../../../shared/constants/network"),i=e("../constants/metamask-notifications/metamask-notifications"),s=e("../../../shared/lib/transactions-controller-utils"),l=e("../../../shared/modules/conversion.utils");const c=(e,t)=>e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()&&e.getDate()===t.getDate(),u=(e,t)=>{const n=new Date(e);return n.setDate(e.getDate()-1),c(n,t)},d=(e,t)=>e.getFullYear()===t.getFullYear();const f={decimalPlaces:4},p=e=>{var t;return(null===(t=(new a.BigNumber(e,10).toString(10).split(".")[1]??"").match(/^0*/u))||void 0===t||null===(t=t[0])||void 0===t?void 0:t.length)||0};n.getLeadingZeroCount=p;const m=(e,t)=>{const n={...f,...t},a=p(e),r=e.toString().includes(".")||a>0||e.toString().includes("e-");if(e>999)return Intl.NumberFormat("en-US",{notation:"compact",compactDisplay:"short",maximumFractionDigits:2}).format(e);if(r){const t=(o=n.decimalPlaces,Boolean(null==n?void 0:n.shouldEllipse)&&a>=o),r=Intl.NumberFormat("en-US",{minimumFractionDigits:t?n.decimalPlaces:undefined,maximumFractionDigits:n.decimalPlaces}).format(e);return t?`${r}...`:r}var o;return e.toString()};n.formatAmount=m;n.getRandomKey=(e,t)=>`${e.replace(/\s+/gu,"_").replace(/[^\w-]/gu,"")}-${t}-${Math.random().toString(36).substring(2,15)}`;n.createTextItems=(e,t)=>({items:e.map(((e,t)=>({text:e,highlighted:t%2==1}))),variant:t});n.getAmount=(e,t,n)=>{if(!e||!t)return"";const a=(0,s.calcTokenAmount)(e,parseFloat(t)).toNumber();return m(a,n)};n.getUsdAmount=(e,t,n)=>{if(!e||!t||!n)return"";const a=(0,s.calcTokenAmount)(e,parseFloat(t)).toNumber(),r=parseFloat(`${a}`)*parseFloat(n);return m(r)};function h(e){const t=o.FEATURED_RPCS.find((t=>t.chainId===e));if(t)return t.rpcUrl;switch(e){case o.CHAIN_IDS.MAINNET:return o.MAINNET_RPC_URL;case o.CHAIN_IDS.GOERLI:return o.GOERLI_RPC_URL;case o.CHAIN_IDS.SEPOLIA:return o.SEPOLIA_RPC_URL;case o.CHAIN_IDS.LINEA_GOERLI:return o.LINEA_GOERLI_RPC_URL;case o.CHAIN_IDS.LINEA_SEPOLIA:return o.LINEA_SEPOLIA_RPC_URL;case o.CHAIN_IDS.LINEA_MAINNET:return o.LINEA_MAINNET_RPC_URL;case o.CHAIN_IDS.LOCALHOST:return o.LOCALHOST_RPC_URL;default:return o.MAINNET_RPC_URL}}function g(e){return"network_fee"in e.data}n.getNetworkNameByChainId=e=>o.NETWORK_TO_NAME_MAP[e];n.getNetworkFees=async e=>{if(!g(e))throw new Error("Invalid notification type");const t=(0,l.decimalToHex)(e.chain_id),n={url:h(`0x${t}`),headers:{"Infura-Source":"metamask/metamask"}},a=new r.JsonRpcProvider(n);if(!a)throw new Error(`No provider found for chainId ${t}`);try{const t=await a.getTransactionReceipt(e.tx_hash),n=await a.getTransaction(e.tx_hash),r=await a.getBlock(e.block_number),o=(t,n)=>m(parseFloat(t)*parseFloat(e.data.network_fee.native_token_price_in_usd),{decimalPlaces:n||4}),i=(0,l.hexWEIToDecETH)(t.gasUsed.mul(t.effectiveGasPrice)._hex),s=o(i),c=n.gasLimit.toNumber(),u=t.gasUsed.toNumber(),d=r.baseFeePerGas?(0,l.hexWEIToDecGWEI)(r.baseFeePerGas._hex):null,f=r.baseFeePerGas?(0,l.hexWEIToDecGWEI)(t.effectiveGasPrice.sub(r.baseFeePerGas)._hex):null;return{transactionFeeInEth:i,transactionFeeInUsd:s,gasLimit:c,gasUsed:u,baseFee:d,priorityFee:f,maxFeePerGas:n.maxFeePerGas?(0,l.hexWEIToDecGWEI)(n.maxFeePerGas._hex):null}}catch(e){throw new Error(`Error fetching network fees for chainId ${t}: ${e}`)}};n.isIpfsURL=e=>e.startsWith("ipfs://")}}},{package:"$root$",file:"ui/helpers/utils/notification.util.ts"}],[5393,{"../../../app/scripts/controllers/permissions":31,"../../../shared/constants/permissions":4511,"../../components/component-library":4955,"../../components/ui/tooltip":5310,"../constants/design-system":5355,"./util":5399,"@metamask/controller-utils":1163,"@metamask/snaps-rpc-methods":2086,"@metamask/snaps-utils":2163,classnames:3049,"deep-freeze-strict":3173,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.getPermissionDescription=n.PERMISSION_DESCRIPTIONS=void 0,n.getRightIcon=function({rightIcon:e,description:t,weight:n}){if(e&&t)return r.default.createElement(u.default,{wrapperClassName:(0,l.default)("permission__tooltip-icon",1===n&&"permission__tooltip-icon__warning"),html:r.default.createElement("div",null,t),position:"bottom"},"string"==typeof e?r.default.createElement("i",{className:e}):e);if(e)return"string"==typeof e?r.default.createElement("i",{className:(0,l.default)(e,"permission__tooltip-icon")}):e;return null},n.getWeightedPermissions=function({t:e,permissions:t,getSubjectName:n,subjectName:a}){return Object.entries(t).reduce(((t,[r,o])=>t.concat(_({t:e,permissionName:r,permissionValue:o,subjectName:a,getSubjectName:n}))),[]).sort(((e,t)=>e.weight-t.weight))};var a=h(e("deep-freeze-strict")),r=h(e("react")),o=e("@metamask/snaps-rpc-methods"),i=e("@metamask/snaps-utils"),s=e("@metamask/controller-utils"),l=h(e("classnames")),c=e("../../../shared/constants/permissions"),u=h(e("../../components/ui/tooltip")),d=e("../../components/component-library"),f=e("../constants/design-system"),p=e("../../../app/scripts/controllers/permissions"),m=e("./util");function h(e){return e&&e.__esModule?e:{default:e}}const g=Symbol("unknown"),y=r.default.createElement(d.Icon,{name:d.IconName.Info,size:d.IconSize.Sm,color:f.IconColor.iconMuted});function b(e){return r.default.createElement(d.Text,{fontWeight:f.FontWeight.Medium,variant:f.TextVariant.inherit,color:f.TextColor.inherit},e)}const v=n.PERMISSION_DESCRIPTIONS=(0,a.default)({[c.RestrictedMethods.eth_accounts]:({t:e})=>({label:e("permission_ethereumAccounts"),leftIcon:d.IconName.Eye,weight:3}),[p.PermissionNames.permittedChains]:({t:e})=>({label:e("permission_walletSwitchEthereumChain"),leftIcon:d.IconName.Wifi,weight:3}),[c.RestrictedMethods.snap_dialog]:({t:e,subjectName:t})=>({label:e("permission_dialog"),description:e("permission_dialogDescription",[b(t)]),leftIcon:d.IconName.Messages,weight:4}),[c.RestrictedMethods.snap_notify]:({t:e,subjectName:t})=>({label:e("permission_notifications"),description:e("permission_notificationsDescription",[b(t)]),leftIcon:d.IconName.Notification,weight:4}),[c.RestrictedMethods.snap_getBip32PublicKey]:({t:e,permissionValue:t,subjectName:n})=>t.caveats[0].value.map((({path:t,curve:a},o)=>{var s;const l={leftIcon:d.IconName.SecuritySearch,weight:2,id:`public-key-access-bip32-${null===(s=t.join("-"))||void 0===s?void 0:s.replace(/'/gu,"h")}-${a}-${o}`,warningMessageSubject:(0,i.getSnapDerivationPathName)(t,a)??`${e("unknownNetworkForKeyEntropy")} ${t.join("/")} (${a})`},c=(0,i.getSnapDerivationPathName)(t,a);return c?{...l,label:e("permission_viewNamedBip32PublicKeys",[r.default.createElement(d.Text,{color:f.TextColor.inherit,variant:f.TextVariant.inherit,fontWeight:f.FontWeight.Medium,key:t.join("/")},c)]),description:e("permission_viewBip32PublicKeysDescription",[r.default.createElement(d.Text,{color:f.TextColor.inherit,variant:f.TextVariant.inherit,fontWeight:f.FontWeight.Medium,key:`description-${t.join("/")}`},c),b(n)])}:{...l,label:e("permission_viewBip32PublicKeys",[r.default.createElement(d.Text,{color:f.TextColor.inherit,variant:f.TextVariant.inherit,fontWeight:f.FontWeight.Medium,key:t.join("/")},`${e("unknownNetworkForKeyEntropy")} `," ",t.join("/")),a]),description:e("permission_viewBip32PublicKeysDescription",[r.default.createElement(d.Text,{color:f.TextColor.inherit,variant:f.TextVariant.inherit,fontWeight:f.FontWeight.Medium,key:`description-${t.join("/")}`},t.join("/")),b(n)])}})),[c.RestrictedMethods.snap_getBip32Entropy]:({t:e,permissionValue:t,subjectName:n})=>t.caveats[0].value.map((({path:t,curve:a},o)=>{var s;const l={leftIcon:d.IconName.Key,weight:1,id:`key-access-bip32-${null===(s=t.join("-"))||void 0===s?void 0:s.replace(/'/gu,"h")}-${a}-${o}`,warningMessageSubject:(0,i.getSnapDerivationPathName)(t,a)??`${e("unknownNetworkForKeyEntropy")} ${t.join("/")} (${a})`},c=(0,i.getSnapDerivationPathName)(t,a);return c?{...l,label:e("permission_manageBip32Keys",[r.default.createElement(d.Text,{color:f.TextColor.inherit,variant:f.TextVariant.inherit,fontWeight:f.FontWeight.Medium,key:t.join("/")},c)]),description:e("permission_manageBip44AndBip32KeysDescription",[b(n)])}:{...l,label:e("permission_manageBip32Keys",[r.default.createElement(d.Text,{color:f.TextColor.inherit,variant:f.TextVariant.inherit,fontWeight:f.FontWeight.Medium,key:t.join("/")},`${e("unknownNetworkForKeyEntropy")} ${t.join("/")} (${a})`)]),description:e("permission_manageBip44AndBip32KeysDescription",[b(n)])}})),[c.RestrictedMethods.snap_getBip44Entropy]:({t:e,permissionValue:t,subjectName:n})=>t.caveats[0].value.map((({coinType:t},a)=>({label:e("permission_manageBip44Keys",[r.default.createElement(d.Text,{color:f.TextColor.inherit,variant:f.TextVariant.inherit,fontWeight:f.FontWeight.Medium,key:`coin-type-${t}`},(0,i.getSlip44ProtocolName)(t)??`${e("unknownNetworkForKeyEntropy")} m/44'/${t}'`)]),description:e("permission_manageBip44AndBip32KeysDescription",[b(n)]),leftIcon:d.IconName.Key,weight:1,id:`key-access-bip44-${t}-${a}`,warningMessageSubject:(0,i.getSlip44ProtocolName)(t)??`${e("unknownNetworkForKeyEntropy")} m/44'/${t}'`}))),[c.RestrictedMethods.snap_getEntropy]:({t:e,subjectName:t})=>({label:e("permission_getEntropy",[b(t)]),description:e("permission_getEntropyDescription",[b(t)]),leftIcon:d.IconName.SecurityKey,weight:4}),[c.RestrictedMethods.snap_manageState]:({t:e,subjectName:t})=>({label:e("permission_manageState"),description:e("permission_manageStateDescription",[b(t)]),leftIcon:d.IconName.AddSquare,weight:4}),[c.RestrictedMethods.snap_getLocale]:({t:e,subjectName:t})=>({label:e("permission_getLocale"),description:e("permission_getLocaleDescription",[b(t)]),leftIcon:d.IconName.Global,weight:4}),[c.RestrictedMethods.wallet_snap]:({t:e,permissionValue:t,getSubjectName:n})=>{const a=t.caveats[0].value,o={leftIcon:d.IconName.Flash,rightIcon:y};return Object.keys(a).map((t=>{const a=n(t);return a?{...o,label:e("permission_accessNamedSnap",[r.default.createElement(d.Text,{color:f.TextColor.inherit,variant:f.TextVariant.inherit,fontWeight:f.FontWeight.Medium,key:t},a)]),description:e("permission_accessSnapDescription",[a])}:{...o,label:e("permission_accessSnap",[t]),description:e("permission_accessSnapDescription",[t])}}))},[c.EndowmentPermissions["endowment:network-access"]]:({t:e,subjectName:t})=>({label:e("permission_accessNetwork"),description:e("permission_accessNetworkDescription",[b(t)]),leftIcon:d.IconName.Wifi,weight:3}),[c.EndowmentPermissions["endowment:webassembly"]]:({t:e,subjectName:t})=>({label:e("permission_webAssembly"),description:e("permission_webAssemblyDescription",[b(t)]),leftIcon:d.IconName.DocumentCode,rightIcon:null,weight:3}),[c.EndowmentPermissions["endowment:transaction-insight"]]:({t:e,permissionValue:t,subjectName:n})=>{const a={leftIcon:d.IconName.Speedometer,weight:4},r=[{...a,label:e("permission_transactionInsight"),description:e("permission_transactionInsightDescription",[b(n)])}];return(0,s.isNonEmptyArray)(t.caveats)&&t.caveats[0].type===i.SnapCaveatType.TransactionOrigin&&t.caveats[0].value&&r.push({...a,label:e("permission_transactionInsightOrigin"),description:e("permission_transactionInsightOriginDescription",[b(n)]),leftIcon:d.IconName.Explore}),r},[c.EndowmentPermissions["endowment:cronjob"]]:({t:e,subjectName:t})=>({label:e("permission_cronjob"),description:e("permission_cronjobDescription",[b(t)]),leftIcon:d.IconName.Clock,weight:3}),[c.EndowmentPermissions["endowment:ethereum-provider"]]:({t:e,subjectName:t})=>({label:e("permission_ethereumProvider"),description:e("permission_ethereumProviderDescription",[b(t)]),leftIcon:d.IconName.Ethereum,weight:3,id:"ethereum-provider-access",message:e("ethereumProviderAccess",[b(t)])}),[c.EndowmentPermissions["endowment:rpc"]]:({t:e,permissionValue:t,subjectName:n})=>{const a={leftIcon:d.IconName.Hierarchy,weight:3},{snaps:i,dapps:s,allowedOrigins:l}=(0,o.getRpcCaveatOrigins)(t),c=[];if(i&&c.push({...a,label:e("permission_rpc",[e("otherSnaps"),b(n)]),description:e("permission_rpcDescription",[e("otherSnaps"),b(n)])}),s&&c.push({...a,label:e("permission_rpc",[e("websites"),b(n)]),description:e("permission_rpcDescription",[e("websites"),b(n)])}),(null==l?void 0:l.length)>0){let t;if(1===l.length)t=r.default.createElement(d.Text,{color:f.TextColor.inherit,variant:f.TextVariant.inherit,fontWeight:f.FontWeight.Medium},l[0]);else{const n=l.slice(-1);t=e("permission_rpcDescriptionOriginList",[l.slice(0,-1).map((e=>r.default.createElement(r.default.Fragment,null,r.default.createElement(d.Text,{color:f.TextColor.inherit,variant:f.TextVariant.inherit,fontWeight:f.FontWeight.Medium},e),", "))),r.default.createElement(d.Text,{color:f.TextColor.inherit,variant:f.TextVariant.inherit,fontWeight:f.FontWeight.Medium,key:"2"},n)])}c.push({...a,label:e("permission_rpc",[t,b(n)]),description:e("permission_rpcDescription",[t,b(n)])})}return c},[c.EndowmentPermissions["endowment:lifecycle-hooks"]]:({t:e,subjectName:t})=>({label:e("permission_lifecycleHooks"),description:e("permission_lifecycleHooksDescription",[b(t)]),leftIcon:d.IconName.Hierarchy,weight:4}),[c.EndowmentPermissions["endowment:page-home"]]:({t:e,subjectName:t})=>({label:e("permission_homePage"),description:e("permission_homePageDescription",[b(t)]),leftIcon:d.IconName.Home,weight:4}),[c.RestrictedMethods.snap_manageAccounts]:({t:e,subjectName:t})=>({label:e("permission_manageAccounts"),description:e("permission_manageAccountsDescription",[b(t)]),leftIcon:d.IconName.UserCircleAdd,rightIcon:null,weight:3}),[c.EndowmentPermissions["endowment:keyring"]]:({t:e,subjectName:t})=>({label:e("permission_keyring"),description:e("permission_keyringDescription",[b(t)]),leftIcon:d.IconName.UserCircleAdd,rightIcon:null,weight:3}),[c.EndowmentPermissions["endowment:name-lookup"]]:({t:e})=>({label:e("permission_nameLookup"),description:e("permission_nameLookupDescription"),leftIcon:d.IconName.Search,weight:4}),[c.EndowmentPermissions["endowment:signature-insight"]]:({t:e,permissionValue:t,subjectName:n})=>{const a={leftIcon:d.IconName.Warning,weight:3},r=[{...a,label:e("permission_signatureInsight"),description:e("permission_signatureInsightDescription",[b(n)])}];return(0,s.isNonEmptyArray)(t.caveats)&&t.caveats.find((e=>e.type===i.SnapCaveatType.SignatureOrigin&&e.value))&&r.push({...a,label:e("permission_signatureInsightOrigin"),description:e("permission_signatureInsightOriginDescription",[b(n)]),leftIcon:d.IconName.Explore}),r},[c.ConnectionPermission.connection_permission]:({t:e,permissionValue:t,subjectName:n})=>Object.keys(t).map((t=>{let a=(0,m.getURLHost)(t);return a||(a=t.replace("npm:","")),{label:e("snapConnectTo",[r.default.createElement(d.Text,{key:"connectToMain",fontWeight:f.FontWeight.Medium,variant:f.TextVariant.inherit,color:f.TextColor.inherit},a)]),description:e("snapConnectionPermissionDescription",[b(n),r.default.createElement(d.Text,{key:"connectToDescription",fontWeight:f.FontWeight.Medium,variant:f.TextVariant.inherit,color:f.TextColor.inherit},a)]),leftIcon:undefined,connection:t,connectionName:a,subjectName:n,weight:3}})),[g]:({t:e,permissionName:t})=>({label:e("permission_unknown",[t??"undefined"]),leftIcon:d.IconName.Question,rightIcon:null,weight:5})}),_=({t:e,permissionName:t,permissionValue:n,subjectName:a,getSubjectName:r})=>{let o=v[g];Object.hasOwnProperty.call(v,t)&&(o=v[t]);const i=o({t:e,permissionName:t,permissionValue:n,subjectName:a,getSubjectName:r});return Array.isArray(i)?i.map((e=>({...e,permissionName:t,permissionValue:n}))):[{...i,permissionName:t,permissionValue:n}]};n.getPermissionDescription=_}}},{package:"$root$",file:"ui/helpers/utils/permission.js"}],[5394,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.getPortfolioUrl=function(e="",t="",n=""){return`https://portfolio.metamask.io/${e}?metamaskEntry=${t}&metametricsId=${n}`}}}},{package:"$root$",file:"ui/helpers/utils/portfolio.js"}],[5395,{"../constants/settings":5362,_process:3992},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){(function(t){(function(){Object.defineProperty(n,"__esModule",{value:!0}),n.getNumberOfSettingRoutesInTab=function(e,t){return s(e,t).length},n.getSettingsRoutes=i,n.handleSettingsRefs=function(e,t,n){const a=s(e,t),r=a.findIndex((e=>e.route.substring(1)===window.location.hash.substring(1)));if(-1===r)return;const o=1===a.length?n:n[r];if(null!=o&&o.current){o.current.scrollIntoView({behavior:"smooth"}),o.current.focus();const e=window.location.hash.split("#")[1];window.location.hash=e}},n.highlightSearchedText=function(){const e=document.getElementById("search-settings"),t=new RegExp(e.value,"gi");[...document.querySelectorAll(".settings-page__header__search__list__item")].forEach((e=>{const n=e.querySelector(".settings-page__header__search__list__item__tab"),a=e.querySelector(".settings-page__header__search__list__item__section");l(n,t),l(a,t)}))};var a,r=(a=e("../constants/settings"))&&a.__esModule?a:{default:a};let o;function i(){return o||(o=r.default.filter((e=>!e.featureFlag||t.env[e.featureFlag])),o)}function s(e,t){return i().filter((n=>n.tabMessage(e)===t))}function l(e,t){if(null!==e){let n=e.innerHTML;n=n.replace("&","&"),n=n.replace(/(|<\/span>)/gim,""),e.innerHTML=n.replace(t,'$&')}}}).call(this)}).call(this,e("_process"))}}},{package:"$root$",file:"ui/helpers/utils/settings-search.js"}],[5400,{"../../../app/scripts/lib/util":120,"../../../shared/constants/app":4493},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=e("../../../shared/constants/app"),r=e("../../../app/scripts/lib/util");n.default=class{static async checkStatus(){const e=(0,r.getEnvironmentType)()===a.ENVIRONMENT_TYPE_POPUP,t=(0,r.getPlatform)()===(a.PLATFORM_FIREFOX||a.PLATFORM_BRAVE),n=(await window.navigator.mediaDevices.enumerateDevices()).filter((e=>"videoinput"===e.kind)),o=n.length>0,i=n.some((e=>e.label&&e.label.length>0));if(o){let n=!0;return(t&&e||e&&!i)&&(n=!1),{permissions:i,environmentReady:n}}const s=new Error("No webcam found");throw s.type="NO_WEBCAM_FOUND",s}}}}},{package:"$root$",file:"ui/helpers/utils/webcam-utils.js"}],[5401,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.openWindow=void 0;n.openWindow=(e,t)=>{window.open(e,t||"_blank","noopener")}}}},{package:"$root$",file:"ui/helpers/utils/window.ts"}],[5402,{"../../shared/constants/desktop":4497,"../helpers/constants/routes":5361,"@metamask/desktop/dist/constants":1188},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.registerOnDesktopDisconnect=void 0;var a=e("@metamask/desktop/dist/constants"),r=e("../helpers/constants/routes"),o=e("../../shared/constants/desktop");n.registerOnDesktopDisconnect=e=>t=>{if(t.type===a.DESKTOP_HOOK_TYPES.DISCONNECT){const t=`${r.DESKTOP_ERROR_ROUTE}/${o.EXTENSION_ERROR_PAGE_TYPES.CONNECTION_LOST}`;e.push(t)}}}}},{package:"$root$",file:"ui/hooks/desktopHooks.js"}],[5403,{"../../selectors":5987,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=n.RampsMetaMaskEntry=void 0;var a=e("react"),r=e("react-redux"),o=e("../../selectors");let i=n.RampsMetaMaskEntry=function(e){return e.BuySellButton="ext_buy_sell_button",e.NftBanner="ext_buy_banner_nfts",e.TokensBanner="ext_buy_banner_tokens",e.ActivityBanner="ext_buy_banner_activity",e}({});n.default=(e=i.BuySellButton)=>{const t=(0,r.useSelector)(o.getCurrentChainId),n=(0,r.useSelector)(o.getMetaMetricsId),s=(0,a.useCallback)((t=>{const a=new URLSearchParams;return a.set("metamaskEntry",e),a.set("chainId",t),n&&a.set("metametricsId",n),`https://portfolio.metamask.io/buy?${a.toString()}`}),[n]);return{openBuyCryptoInPdapp:(0,a.useCallback)((()=>{const e=s(t);global.platform.openTab({url:e})}),[t]),getBuyURI:s}}}}},{package:"$root$",file:"ui/hooks/experiences/useRamps.ts"}],[5404,{"../../selectors":5987,"../../selectors/metamask-notifications/metamask-notifications":5989,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useCounter=function(){const e=i(),t=s(),n=l();return{notificationsCount:e+t+n}};var a=e("react-redux"),r=e("../../selectors/metamask-notifications/metamask-notifications"),o=e("../../selectors");const i=()=>(0,a.useSelector)(o.getUnreadNotificationsCount),s=()=>{const e=(0,a.useSelector)(r.selectIsFeatureAnnouncementsEnabled),t=(0,a.useSelector)(r.getFeatureAnnouncementsUnreadCount);return e?t:0},l=()=>{const e=(0,a.useSelector)(r.selectIsMetamaskNotificationsEnabled),t=(0,a.useSelector)(r.getOnChainMetamaskNotificationsUnreadCount);return e?t:0}}}},{package:"$root$",file:"ui/hooks/metamask-notifications/useCounter.tsx"}],[5405,{"../../selectors/metamask-notifications/authentication":5988,"../../selectors/metamask-notifications/profile-syncing":5990,"../../store/actions":5998,loglevel:3842,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useCreateSession=function(){const e=(0,o.useDispatch)(),t=(0,o.useSelector)(s.selectIsSignedIn),n=(0,o.useSelector)(l.selectIsProfileSyncingEnabled),a=(0,o.useSelector)(s.selectParticipateInMetaMetrics);return{createSession:(0,r.useCallback)((async()=>{if(!t&&(n||a)&&(n||a))try{await e((0,c.performSignIn)())}catch(t){await e((0,c.disableProfileSyncing)());const n=t instanceof Error?t.message:JSON.stringify(t??"");i.default.error(n)}}),[e,t,n,a])}};var a,r=e("react"),o=e("react-redux"),i=(a=e("loglevel"))&&a.__esModule?a:{default:a},s=e("../../selectors/metamask-notifications/authentication"),l=e("../../selectors/metamask-notifications/profile-syncing"),c=e("../../store/actions")}}},{package:"$root$",file:"ui/hooks/metamask-notifications/useCreateSession.ts"}]],[],{}); \ No newline at end of file diff --git a/contracts/test/e2e/metamask-flask-unpacked/ui-6.js b/contracts/test/e2e/metamask-flask-unpacked/ui-6.js index fcec55e..8efd275 100644 --- a/contracts/test/e2e/metamask-flask-unpacked/ui-6.js +++ b/contracts/test/e2e/metamask-flask-unpacked/ui-6.js @@ -1 +1 @@ -LavaPack.loadBundle([[5406,{"../../store/actions":5998,loglevel:3842,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useCreateNotifications=function(){const e=(0,o.useDispatch)(),[t,n]=(0,r.useState)(null);return{createNotifications:(0,r.useCallback)((async()=>{n(null);try{await e((0,i.createOnChainTriggers)())}catch(e){throw n(e instanceof Error?e.message:"An unexpected error occurred"),s.default.error(e),e}}),[e]),error:t}},n.useDisableNotifications=function(){const e=(0,o.useDispatch)(),[t,n]=(0,r.useState)(null);return{disableNotifications:(0,r.useCallback)((async()=>{n(null);try{await e((0,i.disableMetamaskNotifications)())}catch(e){throw n(e instanceof Error?e.message:"An unexpected error occurred"),s.default.error(e),e}}),[e]),error:t}},n.useEnableNotifications=function(){const e=(0,o.useDispatch)(),[t,n]=(0,r.useState)(null);return{enableNotifications:(0,r.useCallback)((async()=>{n(null);try{await e((0,i.enableMetamaskNotifications)())}catch(e){throw n(e instanceof Error?e.message:"An unexpected error occurred"),s.default.error(e),e}}),[e]),error:t}},n.useListNotifications=function(){const e=(0,o.useDispatch)(),[t,n]=(0,r.useState)(!1),[a,l]=(0,r.useState)(null),[c,u]=(0,r.useState)(undefined);return{listNotifications:(0,r.useCallback)((async()=>{n(!0),l(null);try{const t=await e((0,i.fetchAndUpdateMetamaskNotifications)());return u(t),t}catch(e){throw s.default.error(e),l(e instanceof Error?e.message:"An unexpected error occurred"),e}finally{n(!1)}}),[e]),notificationsData:c,isLoading:t,error:a}},n.useMarkNotificationAsRead=function(){const e=(0,o.useDispatch)();return{markNotificationAsRead:(0,r.useCallback)((async t=>{try{e((0,i.markMetamaskNotificationsAsRead)(t))}catch(e){throw s.default.error(e),e}}),[e])}};var a,r=e("react"),o=e("react-redux"),s=(a=e("loglevel"))&&a.__esModule?a:{default:a},i=e("../../store/actions")}}},{package:"$root$",file:"ui/hooks/metamask-notifications/useNotifications.ts"}],[5407,{"../../store/actions":5998,loglevel:3842,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useDisableProfileSyncing=function(){const e=(0,o.useDispatch)(),[t,n]=(0,r.useState)(null);return{disableProfileSyncing:(0,r.useCallback)((async()=>{n(null);try{await e((0,i.disableProfileSyncing)())}catch(e){const t=e instanceof Error?e.message:JSON.stringify(e??"");n(t),s.default.error(t)}finally{e((0,i.hideLoadingIndication)())}}),[e]),error:t}},n.useEnableProfileSyncing=function(){const e=(0,o.useDispatch)(),[t,n]=(0,r.useState)(null);return{enableProfileSyncing:(0,r.useCallback)((async()=>{n(null);try{await e((0,i.enableProfileSyncing)())}catch(e){const t=e instanceof Error?e.message:JSON.stringify(e??"");s.default.error(t),n(t)}}),[e]),error:t}},n.useSetIsProfileSyncingEnabled=function(){const e=(0,o.useDispatch)(),[t,n]=(0,r.useState)(null);return{setIsProfileSyncingEnabled:(0,r.useCallback)((async t=>{n(null);try{await e((0,i.setIsProfileSyncingEnabled)(t))}catch(e){const t=e instanceof Error?e.message:JSON.stringify(e??"");n(t),s.default.error(t)}}),[e]),error:t}};var a,r=e("react"),o=e("react-redux"),s=(a=e("loglevel"))&&a.__esModule?a:{default:a},i=e("../../store/actions")}}},{package:"$root$",file:"ui/hooks/metamask-notifications/useProfileSyncing.ts"}],[5408,{"../../selectors/metamask-notifications/metamask-notifications":5989,"../../store/actions":5998,loglevel:3842,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useAccountSettingsProps=function(e){const t=(0,o.useSelector)(l.getIsUpdatingMetamaskNotificationsAccount),n=function(){const e=(0,o.useDispatch)(),t=(0,r.useCallback)((async t=>{try{return await e((0,i.checkAccountsPresence)(t))}catch{return{}}}),[]);return t}(),[a,s]=(0,r.useState)({}),[c,u]=(0,r.useState)(!1),[d,p]=(0,r.useState)(null),f=(0,r.useMemo)((()=>JSON.stringify(e)),[e]),m=(0,r.useCallback)((async e=>{try{u(!0),p(null);const t=await n(e);s(t)}catch{p("Failed to get account settings")}finally{u(!1)}}),[]);return(0,r.useEffect)((()=>{try{const e=JSON.parse(f);m(e)}catch{p("Failed to get account settings")}finally{u(!1)}}),[f,n]),{data:a,initialLoading:c,error:d,accountsBeingUpdated:t,update:m}},n.useSwitchAccountNotifications=function(){const e=(0,o.useDispatch)(),[t,n]=(0,r.useState)(!1),[a,l]=(0,r.useState)(null);return{switchAccountNotifications:(0,r.useCallback)((async t=>{n(!0),l(null);try{return await e((0,i.checkAccountsPresence)(t))}catch(e){const t=e instanceof Error?e.message:JSON.stringify(e??"");throw l(t),s.default.error(t),e}finally{n(!1)}}),[e]),isLoading:t,error:a}},n.useSwitchAccountNotificationsChange=function(){const e=(0,o.useDispatch)(),[t,n]=(0,r.useState)(null);return{onChange:(0,r.useCallback)((async(t,a)=>{n(null);try{a?await e((0,i.updateOnChainTriggersByAccount)(t)):await e((0,i.deleteOnChainTriggersByAccount)(t))}catch(e){const t=e instanceof Error?e.message:JSON.stringify(e??"");throw s.default.error(t),n(t),e}e((0,i.hideLoadingIndication)())}),[e]),error:t}},n.useSwitchFeatureAnnouncementsChange=function(){const e=(0,o.useDispatch)(),[t,n]=(0,r.useState)(null);return{onChange:(0,r.useCallback)((async t=>{n(null);try{await e((0,i.setFeatureAnnouncementsEnabled)(t))}catch(e){const t=e instanceof Error?e.message:JSON.stringify(e??"");throw n(t),e}}),[e]),error:t}};var a,r=e("react"),o=e("react-redux"),s=(a=e("loglevel"))&&a.__esModule?a:{default:a},i=e("../../store/actions"),l=e("../../selectors/metamask-notifications/metamask-notifications")}}},{package:"$root$",file:"ui/hooks/metamask-notifications/useSwitchNotifications.ts"}],[5409,{react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=e("react");n.default=()=>{const e=(0,a.useRef)(null),[t,n]=(0,a.useState)(!1);return(0,a.useEffect)((()=>{n(e.current&&e.current.offsetHeight{const[t,n]=(0,a.useState)();return(0,a.useEffect)((()=>{e&&(async()=>{(await(0,r.getPhishingResult)(e)).result||n(new URL(e))})()}),[e]),t}}}},{package:"$root$",file:"ui/hooks/snaps/useSafeWebsite.ts"}],[5411,{"../../selectors":5987,"../../store/actions":5998,"@metamask/snaps-rpc-methods":2086,"@metamask/snaps-sdk":2122,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useSignatureInsights=function({txData:e}){const t=(0,r.useDispatch)(),n=(0,r.useSelector)(l.getPermissionSubjectsDeepEqual),u=(0,r.useSelector)(l.getSignatureInsightSnapIds),[d,p]=(0,a.useState)(!0),[f,m]=(0,a.useState)(undefined),[g,h]=(0,a.useState)([]);return(0,a.useEffect)((()=>{let a=!1;return Object.keys(e).length>0&&async function(){p(!0);const{msgParams:{from:r,data:l,signatureMethod:d,origin:f}}=e,g={from:r,data:"eth_signTypedData_v3"===d||"eth_signTypedData_v4"===d?JSON.parse(l):l,signatureMethod:d},y=(await Promise.allSettled(u.map((e=>{var t;const a=null===(t=n[e])||void 0===t?void 0:t.permissions[c];if(!a)return Promise.reject(new Error("This Snap does not have the signature insight endowment."));const r=(0,o.getSignatureOriginCaveat)(a)?f:null;return(0,i.handleSnapRequest)({snapId:e,origin:"",handler:"onSignature",request:{jsonrpc:"2.0",method:"",params:{signature:g,signatureOrigin:r}}})})))).map(((e,t)=>{const n=u[t];return"rejected"===e.status?{error:e.reason,snapId:n}:{snapId:n,response:e.value}})),v=y.reduce(((e,t)=>{var n;if((null===(n=t.response)||void 0===n?void 0:n.severity)===s.SeverityLevel.Critical){const{snapId:n,response:{id:a}}=t;e.push({snapId:n,id:a})}return e}),[]);a||(m(y),h(v),p(!1),y.length>0&&(0,i.forceUpdateMetamaskState)(t))}(),()=>{a=!0}}),[e,JSON.stringify(u),n]),(0,a.useEffect)((()=>()=>{null==f||f.map((({response:e})=>(null==e?void 0:e.id)&&t((0,i.deleteInterface)(e.id))))}),[f]),{data:f,loading:d,warnings:g}};var a=e("react"),r=e("react-redux"),o=e("@metamask/snaps-rpc-methods"),s=e("@metamask/snaps-sdk"),i=e("../../store/actions"),l=e("../../selectors");const c="endowment:signature-insight"}}},{package:"$root$",file:"ui/hooks/snaps/useSignatureInsights.js"}],[5412,{"../../selectors":5987,"../../store/actions":5998,"@metamask/snaps-rpc-methods":2086,"@metamask/snaps-sdk":2122,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useTransactionInsightSnaps=function({transaction:e,chainId:t,origin:n,insightSnaps:u}){const d=(0,r.useDispatch)(),p=(0,r.useSelector)(l.getPermissionSubjectsDeepEqual),[f,m]=(0,a.useState)(!0),[g,h]=(0,a.useState)(undefined),[y,v]=(0,a.useState)(!1);(0,a.useEffect)((()=>{let a=!1;return e&&Object.keys(e).length>0&&async function(){if(y)return void m(!1);m(!0);const r=(await Promise.allSettled(u.map((a=>{var r;const s=null===(r=p[a])||void 0===r?void 0:r.permissions[c];if(!s)return Promise.reject(new Error("This Snap does not have the transaction insight endowment."));const l=(0,o.getTransactionOriginCaveat)(s)?n:null;return(0,i.handleSnapRequest)({snapId:a,origin:"",handler:"onTransaction",request:{jsonrpc:"2.0",method:"",params:{transaction:e,chainId:t,transactionOrigin:l}}})})))).map(((e,t)=>{const n=u[t];return"rejected"===e.status?{error:e.reason,snapId:n}:{snapId:n,response:e.value}}));a||(h(r),m(!1),v(!0),r.length>0&&(0,i.forceUpdateMetamaskState)(d))}(),()=>{a=!0}}),[e,t,n,p,JSON.stringify(u),y]);const b=null==g?void 0:g.reduce(((e,t)=>{var n;if((null===(n=t.response)||void 0===n?void 0:n.severity)===s.SeverityLevel.Critical){const{snapId:n,response:{id:a}}=t;e.push({snapId:n,id:a})}return e}),[]);return{data:g,loading:f,warnings:b}};var a=e("react"),r=e("react-redux"),o=e("@metamask/snaps-rpc-methods"),s=e("@metamask/snaps-sdk"),i=e("../../store/actions"),l=e("../../selectors");const c="endowment:transaction-insight"}}},{package:"$root$",file:"ui/hooks/snaps/useTransactionInsightSnaps.js"}],[5413,{"../../shared/modules/conversion.utils":4537,"../../shared/modules/string-utils":4558,"../ducks/metamask/metamask":5346,"../helpers/utils/confirm-tx.util":5381,"../helpers/utils/token-util":5396,"../selectors":5987,"./useTokenTracker":5447,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useAccountTotalFiatBalance=void 0;var a=e("react-redux"),r=e("../selectors"),o=e("../../shared/modules/conversion.utils"),s=e("../ducks/metamask/metamask"),i=e("../helpers/utils/confirm-tx.util"),l=e("../helpers/utils/token-util"),c=e("../../shared/modules/string-utils"),u=e("./useTokenTracker");n.useAccountTotalFiatBalance=(e,t)=>{var n;const d=(0,a.useSelector)(r.getCurrentChainId),p=(0,a.useSelector)(s.getConversionRate),f=(0,a.useSelector)(r.getCurrentCurrency),m=(0,a.useSelector)(r.getTokenExchangeRates,a.shallowEqual),g=(0,a.useSelector)(r.getMetaMaskCachedBalances),h=(null==g?void 0:g[e])??0,y=(0,o.getValueFromWeiHex)({value:h,toCurrency:f,conversionRate:p,numberOfDecimals:2}),v=(0,a.useSelector)(r.getAllTokens),b=(null==v||null===(n=v[d])||void 0===n?void 0:n[e])??[],T=(0,a.useSelector)(r.getTokenList),_=Object.values(T),k=(0,a.useSelector)(r.getNativeCurrencyImage),x=(0,a.useSelector)(s.getNativeCurrency),{loading:E,tokensWithBalances:w}=(0,u.useTokenTracker)({tokens:b,address:e,includeFailedTokens:!0,hideZeroBalanceTokens:t}),C=w.map((e=>{const t=Object.keys(m).find((t=>(0,c.isEqualCaseInsensitive)(t,e.address))),n=(t&&m[t])??0;return(0,l.getTokenFiatAmount)(n,p,f,e.string,e.symbol,!1,!1)})),S=[{iconUrl:k,symbol:x,fiatBalance:y},...((e,t)=>{const n=[];return t.forEach((t=>{const a=e.find((e=>e.symbol===t.symbol));a&&n.push({...a,balance:t.balance,string:t.string,balanceError:t.balanceError})})),n})(_,w).map(((e,t)=>({...e,fiatBalance:C[t]})))].sort(((e,t)=>parseFloat(t.fiatBalance)-parseFloat(e.fiatBalance))),P=(0,o.sumDecimals)(y,...C).toString(10),M=(0,i.formatCurrency)(P,f);let I=(0,o.getWeiHexFromDecimalValue)({value:P,fromCurrency:f,conversionRate:p,invertConversionRate:!0});return"NaN"===I&&(I="0x0"),{formattedFiat:M,totalWeiBalance:I,totalFiatBalance:P,tokensWithBalances:w,loading:E,orderedTokenList:S}}}}},{package:"$root$",file:"ui/hooks/useAccountTotalFiatBalance.js"}],[5414,{"../../shared/modules/hexstring-utils":4544,"../helpers/utils/util":5399,"../selectors":5987,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=e("react-redux"),r=e("../../shared/modules/hexstring-utils"),o=e("../selectors"),s=e("../helpers/utils/util");n.default=e=>{var t;const n=(0,a.useSelector)(o.getAddressBook),i=(0,a.useSelector)(o.getInternalAccounts),l=(0,a.useSelector)(o.getTokenList),c=(0,r.toChecksumHexAddress)(e);if(!e)return{};const u=i.find((e=>(0,r.toChecksumHexAddress)(e.address)===c)),d=n.find((e=>e.address===c));return null!=d&&d.name?{toName:d.name,isTrusted:!0}:u?{toName:u.metadata.name,isTrusted:!0}:null!==(t=l[null==e?void 0:e.toLowerCase()])&&void 0!==t&&t.name?{toName:l[null==e?void 0:e.toLowerCase()].name,isTrusted:!0}:{toName:(0,s.shortenAddress)(c),isTrusted:!1}}}}},{package:"$root$",file:"ui/hooks/useAddressDetails.js"}],[5415,{"../ducks/confirm-alerts/confirm-alerts":5337,"../helpers/constants/design-system":5355,"../selectors/alerts":5982,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=e("react-redux"),r=e("react"),o=e("../selectors/alerts"),s=e("../ducks/confirm-alerts/confirm-alerts"),i=e("../helpers/constants/design-system");n.default=e=>{const t=(0,a.useDispatch)(),n=(0,a.useSelector)((t=>(0,o.selectAlerts)(t,e))),l=(0,a.useSelector)((t=>(0,o.selectConfirmedAlertKeys)(t,e))),c=(0,a.useSelector)((t=>(0,o.selectGeneralAlerts)(t,e))),u=(0,a.useSelector)((t=>(0,o.selectFieldAlerts)(t,e))),d=(0,r.useCallback)((e=>e?n.filter((t=>t.field===e)):[]),[n]),p=(0,r.useCallback)(((n,a)=>{t((0,s.setAlertConfirmed)(e,n,a))}),[t,s.setAlertConfirmed,e]),f=(0,r.useCallback)((e=>l.includes(e)),[l]),m=n.filter((e=>!f(e.key)&&e.severity===i.Severity.Danger)),g=n.length>0,h=n.filter((e=>e.severity===i.Severity.Danger)),y=m.length>0;return{alerts:n,fieldAlerts:u,generalAlerts:c,getFieldAlerts:d,hasAlerts:g,dangerAlerts:h,hasDangerAlerts:(null==h?void 0:h.length)>0,hasUnconfirmedDangerAlerts:y,isAlertConfirmed:f,setAlertConfirmed:p,unconfirmedDangerAlerts:m}}}}},{package:"$root$",file:"ui/hooks/useAlerts.ts"}],[5416,{react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useAsyncResult=r,n.useAsyncResultOrThrow=function(e,t=[]){const n=r(e,t);if(n.error)throw n.error;return n};var a=e("react");function r(e,t=[]){const[n,r]=(0,a.useState)({pending:!0});return(0,a.useEffect)((()=>{r({pending:!0});let t=!1;return e().then((e=>{t||r({pending:!1,value:e})})).catch((e=>{t||r({pending:!1,error:e})})),()=>{t=!0}}),t),n}}}},{package:"$root$",file:"ui/hooks/useAsyncResult.ts"}],[5417,{"../../shared/constants/copy":4496,"../../shared/constants/time":4518,"./useTimeout":5443,"copy-to-clipboard":3087,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useCopyToClipboard=function(e=c){const[t,n]=(0,r.useState)(!1),a=(0,l.useTimeout)((()=>{(0,o.default)(" ",i.COPY_OPTIONS),n(!1)}),e,!1),s=(0,r.useCallback)((e=>{n(!0),a(),(0,o.default)(e,i.COPY_OPTIONS)}),[a]);return[t,s]};var a,r=e("react"),o=(a=e("copy-to-clipboard"))&&a.__esModule?a:{default:a},s=e("../../shared/constants/time"),i=e("../../shared/constants/copy"),l=e("./useTimeout");const c=s.MINUTE}}},{package:"$root$",file:"ui/hooks/useCopyToClipboard.js"}],[5418,{"../../shared/constants/common":4495,"../../shared/constants/network":4507,"../../shared/modules/Numeric":4533,"../../shared/modules/conversion.utils":4537,"../ducks/metamask/metamask":5346,"../helpers/utils/confirm-tx.util":5381,"../selectors":5987,"bignumber.js":2933,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.MIN_AMOUNT=n.DEFAULT_PRECISION=void 0,n.useCurrencyDisplay=function(e,{displayValue:t,prefix:n,numberOfDecimals:a,denomination:s,currency:m,...y}){const v=(0,o.useSelector)(l.getCurrentCurrency),b=(0,o.useSelector)(c.getNativeCurrency),T=(0,o.useSelector)(c.getConversionRate),_=m===v,k=(0,r.useMemo)((()=>{if(t)return t;if(m===b||!_&&!b){const t=new p.Numeric(e,16,f.EtherDenomination.WEI).toDenomination(s||f.EtherDenomination.ETH).round(a||h).toBase(10).toString();return"0"===t&&e&&0!==Number(e)?g:t}return _&&T?(0,i.formatCurrency)((0,u.getValueFromWeiHex)({value:e,fromCurrency:b,toCurrency:m,conversionRate:T,numberOfDecimals:a||2,toDenomination:s}),m):null}),[e,b,T,t,a,s,m,_]);let x;if(!y.hideLabel){const e=Object.values(d.TEST_NETWORK_TICKER_MAP).includes(m)?m:null==m?void 0:m.toUpperCase();x=y.suffix||e}return[`${n||""}${k}${x?` ${x}`:""}`,{prefix:n,value:k,suffix:x}]};var a,r=e("react"),o=e("react-redux"),s=(a=e("bignumber.js"))&&a.__esModule?a:{default:a},i=e("../helpers/utils/confirm-tx.util"),l=e("../selectors"),c=e("../ducks/metamask/metamask"),u=e("../../shared/modules/conversion.utils"),d=e("../../shared/constants/network"),p=e("../../shared/modules/Numeric"),f=e("../../shared/constants/common");const m=n.MIN_AMOUNT=1e-6,g=`<${m}`,h=n.DEFAULT_PRECISION=new s.default(m).decimalPlaces()}}},{package:"$root$",file:"ui/hooks/useCurrencyDisplay.js"}],[5419,{"../ducks/metamask/metamask":5346,"../selectors":5987,"../store/actions":5998,"./usePolling":5435,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=e("react-redux"),o=e("../selectors"),s=e("../store/actions"),i=e("../ducks/metamask/metamask"),l=(a=e("./usePolling"))&&a.__esModule?a:{default:a};n.default=e=>{const t=(0,r.useSelector)(o.getUseCurrencyRateCheck),n=(0,r.useSelector)(i.getCompletedOnboarding),a=(0,r.useSelector)(o.getSelectedNetworkClientId);(0,l.default)({startPollingByNetworkClientId:s.currencyRateStartPollingByNetworkClientId,stopPollingByPollingToken:s.currencyRateStopPollingByPollingToken,networkClientId:e??a,enabled:t&&n})}}}},{package:"$root$",file:"ui/hooks/useCurrencyRatePolling.ts"}],[5420,{"../../shared/constants/swaps":4516,"../../shared/modules/string-utils":4558,"../ducks/metamask/metamask":5346,"../helpers/constants/routes":5361,"../selectors":5987,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useCurrentAsset=function(){var e;const t=(0,r.useRouteMatch)({path:`${i.ASSET_ROUTE}/:asset`,exact:!0,strict:!0}),n=null==t||null===(e=t.params)||void 0===e?void 0:e.asset,u=(0,a.useSelector)(o.getTokens),d=n&&u.find((({address:e})=>(0,c.isEqualCaseInsensitive)(e,n))),p=(0,a.useSelector)(s.getCurrentChainId);return d??(l.SWAPS_CHAINID_DEFAULT_TOKEN_MAP[p]||l.ETH_SWAPS_TOKEN_OBJECT)};var a=e("react-redux"),r=e("react-router-dom"),o=e("../ducks/metamask/metamask"),s=e("../selectors"),i=e("../helpers/constants/routes"),l=e("../../shared/constants/swaps"),c=e("../../shared/modules/string-utils")}}},{package:"$root$",file:"ui/hooks/useCurrentAsset.js"}],[5421,{"../selectors":5987,"../selectors/nft":5992,"./useFirstPartyContractName":5425,"./useName":5431,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useDisplayName=function(e,t,n=!1){return l([{value:e,type:t,preferContractSymbol:n}])[0]},n.useDisplayNames=l;var a=e("react-redux"),r=e("../selectors"),o=e("../selectors/nft"),s=e("./useName"),i=e("./useFirstPartyContractName");function l(e){const t=e.map((({value:e,type:t})=>({value:e,type:t}))),n=(0,s.useNames)(t),l=(0,i.useFirstPartyContractNames)(t),c=e.map((({value:e})=>e)),u=(0,a.useSelector)((e=>(0,r.getMemoizedMetadataContracts)(e,c,!0))),d=(0,a.useSelector)(o.getNftContractsByAddressOnCurrentChain);return e.map((({value:e,preferContractSymbol:t},a)=>{var r;const o=n[a],s=l[a],i=u[a],c=null===(r=d[e.toLowerCase()])||void 0===r?void 0:r.name,p=t&&null!=i&&i.symbol?i.symbol:null==i?void 0:i.name;return{name:(null==o?void 0:o.name)||s||p||c||null,hasPetname:Boolean(null==o?void 0:o.name),contractDisplayName:p}}))}}}},{package:"$root$",file:"ui/hooks/useDisplayName.ts"}],[5422,{lodash:3836,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useEqualityCheck=function(e,t=r.isEqual){const[n,o]=(0,a.useState)(e);return(0,a.useLayoutEffect)((()=>{t(e,n)||o(e)}),[e,t,n]),n};var a=e("react"),r=e("lodash")}}},{package:"$root$",file:"ui/hooks/useEqualityCheck.js"}],[5423,{"../../shared/modules/conversion.utils":4537,"../ducks/metamask/metamask":5346,"../helpers/utils/confirm-tx.util":5381,"../selectors":5987,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useEthFiatAmount=function(e,t={},n){const c=(0,r.useSelector)(i.getConversionRate),u=(0,r.useSelector)(o.getCurrentCurrency),d=(0,r.useSelector)(o.getShouldShowFiat),p=t.showFiat??d,f=(0,a.useMemo)((()=>(0,l.decEthToConvertedCurrency)(e,u,c)),[c,u,e]);if(!p||"ETH"===u.toUpperCase()||c<=0||e===undefined)return undefined;return n?(0,s.formatCurrency)(f,u):`${(0,s.formatCurrency)(f,u)} ${u.toUpperCase()}`};var a=e("react"),r=e("react-redux"),o=e("../selectors"),s=e("../helpers/utils/confirm-tx.util"),i=e("../ducks/metamask/metamask"),l=e("../../shared/modules/conversion.utils")}}},{package:"$root$",file:"ui/hooks/useEthFiatAmount.js"}],[5424,{"../ducks/locale/locale":5345,"../selectors":5987,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useFiatFormatter=void 0;var a=e("react-redux"),r=e("../ducks/locale/locale"),o=e("../selectors");n.useFiatFormatter=()=>{const e=(0,a.useSelector)(r.getIntlLocale),t=(0,a.useSelector)(o.getCurrentCurrency);return n=>{try{return new Intl.NumberFormat(e,{style:"currency",currency:t}).format(n)}catch(e){return`${n} ${t}`}}}}}},{package:"$root$",file:"ui/hooks/useFiatFormatter.ts"}],[5425,{"../../shared/constants/first-party-contracts":4499,"../selectors":5987,"@metamask/name-controller":1529,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useFirstPartyContractName=function(e,t,n){return i([{value:e,type:t,variation:n}])[0]},n.useFirstPartyContractNames=i;var a=e("@metamask/name-controller"),r=e("react-redux"),o=e("../selectors"),s=e("../../shared/constants/first-party-contracts");function i(e){const t=(0,r.useSelector)(o.getCurrentChainId);return e.map((({type:e,value:n,variation:r})=>{if(e!==a.NameType.ETHEREUM_ADDRESS)return null;const o=r??t,i=n.toLowerCase();return Object.keys(s.FIRST_PARTY_CONTRACT_NAMES).find((e=>{var t;return(null===(t=s.FIRST_PARTY_CONTRACT_NAMES[e])||void 0===t||null===(t=t[o])||void 0===t?void 0:t.toLowerCase())===i}))??null}))}}}},{package:"$root$",file:"ui/hooks/useFirstPartyContractName.ts"}],[5426,{"../ducks/metamask/metamask":5346,"../selectors":5987,"../store/actions":5998,"./usePolling":5435,"lodash/isEqual":3824,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useGasFeeEstimates=function(e){const t=(0,r.useSelector)(l.getSelectedNetworkClientId),n=e??t,[u,d]=(0,o.useState)(""),p=(0,r.useSelector)((e=>(0,s.getGasEstimateTypeByChainId)(e,u))),f=(0,r.useSelector)((e=>(0,s.getGasFeeEstimatesByChainId)(e,u)),a.default),m=(0,r.useSelector)((e=>(0,s.getIsGasEstimatesLoadingByChainId)(e,{chainId:u,networkClientId:n}))),g=(0,r.useSelector)((e=>(0,s.getIsNetworkBusyByChainId)(e,u)));return(0,o.useEffect)((()=>{let e=!0;return(0,i.getNetworkConfigurationByNetworkClientId)(n).then((t=>{t&&e&&d(t.chainId)})),()=>{e=!1}}),[n]),(0,c.default)({startPollingByNetworkClientId:i.gasFeeStartPollingByNetworkClientId,stopPollingByPollingToken:i.gasFeeStopPollingByPollingToken,networkClientId:n}),{gasFeeEstimates:f,gasEstimateType:p,isGasEstimatesLoading:m,isNetworkBusy:g}};var a=u(e("lodash/isEqual")),r=e("react-redux"),o=e("react"),s=e("../ducks/metamask/metamask"),i=e("../store/actions"),l=e("../selectors"),c=u(e("./usePolling"));function u(e){return e&&e.__esModule?e:{default:e}}}}},{package:"$root$",file:"ui/hooks/useGasFeeEstimates.js"}],[5428,{"../../app/scripts/lib/util":120,"../../shared/constants/network":4507,"../../shared/constants/time":4518,"../../shared/lib/fetch-with-cache":4525,"../selectors":5987,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useIsOriginalNativeTokenSymbol=function(e,t,n,a=null){const[d,p]=(0,r.useState)(null),f=(0,o.useSelector)(c.useSafeChainsListValidationSelector);return(0,r.useEffect)((()=>{!async function(n){try{var r;if(!f)return void p(!0);if((e=>{const t=(0,u.getValidUrl)(e);return null!==t&&("localhost"===t.hostname||"127.0.0.1"===t.hostname)})(a))return void p(!0);const o=i.CHAIN_ID_TO_CURRENCY_SYMBOL_MAP[e];if(o)return void p(o===t);const c=i.CHAIN_ID_TO_CURRENCY_SYMBOL_MAP_NETWORK_COLLISION[e];if(c&&c.some((e=>e.currencySymbol===t)))return void p(!0);const d=(await(0,s.default)({url:"https://chainid.network/chains.json",cacheOptions:{cacheRefreshTime:l.DAY},functionName:"getSafeChainsList"})).find((e=>e.chainId===parseInt(n,16))),m=(null==d||null===(r=d.nativeCurrency)||void 0===r?void 0:r.symbol)??null;p(m===t)}catch(e){p(!1)}}(e)}),[d,e,t,n,a,f]),d};var a,r=e("react"),o=e("react-redux"),s=(a=e("../../shared/lib/fetch-with-cache"))&&a.__esModule?a:{default:a},i=e("../../shared/constants/network"),l=e("../../shared/constants/time"),c=e("../selectors"),u=e("../../app/scripts/lib/util")}}},{package:"$root$",file:"ui/hooks/useIsOriginalNativeTokenSymbol.js"}],[5429,{"../store/actions":5998,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useIsOriginalTokenSymbol=function(e,t){const[n,o]=(0,a.useState)(null);return(0,a.useEffect)((()=>{!async function(e){const n=await(0,r.getTokenSymbol)(e);o((null==n?void 0:n.toLowerCase())===(null==t?void 0:t.toLowerCase()))}(e)}),[e,t]),n};var a=e("react"),r=e("../store/actions")}}},{package:"$root$",file:"ui/hooks/useIsOriginalTokenSymbol.js"}],[5430,{"../store/actions":5998,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useModalProps=function(){const e=(0,a.useSelector)((e=>{var t;return null===(t=e.appState.modal.modalState)||void 0===t?void 0:t.props})),t=(0,a.useDispatch)();return{props:e,hideModal:()=>t((0,r.hideModal)())}};var a=e("react-redux"),r=e("../store/actions")}}},{package:"$root$",file:"ui/hooks/useModalProps.ts"}],[5431,{"../selectors":5987,"@metamask/name-controller":1529,lodash:3836,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useName=function(e,t,n){return i([{value:e,type:t,variation:n}])[0]},n.useNames=i;var a=e("@metamask/name-controller"),r=e("react-redux"),o=e("lodash"),s=e("../selectors");function i(e){const t=(0,r.useSelector)(s.getNames,o.isEqual),n=(0,r.useSelector)(s.getCurrentChainId);return e.map((({value:e,type:r,variation:o})=>{var s;const i=function(e,t){if(t===a.NameType.ETHEREUM_ADDRESS)return e.toLowerCase();return e}(e,r),l=function(e,t){if(e===a.NameType.ETHEREUM_ADDRESS)return t;return""}(r,n),c=o??l,u=(null===(s=t[r])||void 0===s?void 0:s[i])??{},d=u[c],p=u[a.FALLBACK_VARIATION],f=null!=d&&d.name||!p?d??{}:p,{name:m=null,sourceId:g=null,origin:h=null,proposedNames:y={}}=f;return{name:m,sourceId:g,proposedNames:y,origin:h}}))}}}},{package:"$root$",file:"ui/hooks/useName.ts"}],[5432,{"../ducks/metamask/metamask":5346,"../selectors":5987,"./useI18nContext":5427,"./usePrevious":5436,lodash:3836,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useNftsCollections=function(){const e=(0,c.useI18nContext)(),t=e("nftsPreviouslyOwned"),n=e("unknownCollection"),[u,d]=(0,a.useState)({}),[p,f]=(0,a.useState)({collectionName:t,nfts:[]}),m=(0,r.useSelector)(s.getNfts),[g,h]=(0,a.useState)((()=>(null==m?void 0:m.length)>=0)),{address:y}=(0,r.useSelector)(i.getSelectedInternalAccount),v=(0,r.useSelector)(i.getCurrentChainId),b=(0,r.useSelector)(s.getNftContracts),T=(0,l.usePrevious)(m),_=(0,l.usePrevious)(v),k=(0,l.usePrevious)(y);return(0,a.useEffect)((()=>{(0,o.isEqual)(T,m)&&(0,o.isEqual)(k,y)&&(0,o.isEqual)(_,v)||(()=>{if(h(!0),y===undefined||v===undefined)return;const e={},a={collectionName:t,nfts:[]};m.forEach((t=>{if(!1===(null==t?void 0:t.isCurrentlyOwned))a.nfts.push(t);else if(e[t.address])e[t.address].nfts.push(t);else{const a=b.find((({address:e})=>e===t.address));e[t.address]={collectionName:(null==a?void 0:a.name)||n,collectionImage:(null==a?void 0:a.logo)||t.image,nfts:[t]}}})),d(e),f(a),h(!1)})()}),[m,T,b,h,v,_,y,k,t,n]),{nftsLoading:g,collections:u,previouslyOwnedCollection:p}};var a=e("react"),r=e("react-redux"),o=e("lodash"),s=e("../ducks/metamask/metamask"),i=e("../selectors"),l=e("./usePrevious"),c=e("./useI18nContext")}}},{package:"$root$",file:"ui/hooks/useNftsCollections.js"}],[5433,{"../selectors":5987,"@metamask/permission-controller":1624,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useOriginMetadata=function(e){const t=(0,r.useSelector)((t=>(0,o.getTargetSubjectMetadata)(t,e)));if(!e)return null;let n=null;try{const t=new URL(e);n={host:t.host,hostname:t.hostname,origin:e,subjectType:a.SubjectType.Unknown}}catch(e){}if(t&&n)return{...n,...t};if(t)return t;return n};var a=e("@metamask/permission-controller"),r=e("react-redux"),o=e("../selectors")}}},{package:"$root$",file:"ui/hooks/useOriginMetadata.js"}],[5434,{"../selectors":5987,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.usePetnamesEnabled=function(){return(0,r.getPetnamesEnabled)((0,a.useStore)().getState())};var a=e("react-redux"),r=e("../selectors")}}},{package:"$root$",file:"ui/hooks/usePetnamesEnabled.ts"}],[5435,{react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=e("react");n.default=e=>{const t=(0,a.useRef)(null),n=(0,a.useRef)(null);let r=!1;(0,a.useEffect)((()=>{if(!1===e.enabled)return()=>{};r=!0;const a=()=>{var a;t.current&&(e.stopPollingByPollingToken(t.current),null===(a=n.current)||void 0===a||a.call(n,t.current))};return e.startPollingByNetworkClientId(e.networkClientId,e.options).then((o=>{var s;t.current=o,n.current=(null===(s=e.callback)||void 0===s?void 0:s.call(e,o))||null,r||a()})),()=>{r=!1,a()}}),[e.networkClientId,e.options&&JSON.stringify(e.options,Object.keys(e.options).sort()),e.enabled])}}}},{package:"$root$",file:"ui/hooks/usePolling.ts"}],[5436,{react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.usePrevious=function(e){const t=(0,a.useRef)();return(0,a.useEffect)((()=>{t.current=e}),[e]),t.current};var a=e("react")}}},{package:"$root$",file:"ui/hooks/usePrevious.ts"}],[5437,{lodash:3836,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useScrollRequired=void 0;var a=e("react"),r=e("lodash");n.useScrollRequired=(e=[],{offsetPxFromBottom:t=16}={})=>{const n=(0,a.useRef)(null),[o,s]=(0,a.useState)(!1),[i,l]=(0,a.useState)(!1),[c,u]=(0,a.useState)(!1),d=()=>{if(!n.current)return;const e=n.current&&n.current.scrollHeight>n.current.clientHeight,a=e&&Math.round(n.current.scrollTop)+n.current.offsetHeight+t>=n.current.scrollHeight;l(e),u(!e||a),e&&!a||s(!0)};(0,a.useEffect)(d,[n,...e]);return{isScrollable:i,isScrolledToBottom:c,hasScrolledToBottom:o,scrollToBottom:()=>{u(!0),s(!0),n.current&&n.current.scrollTo({top:n.current.scrollHeight,behavior:"smooth"})},setHasScrolledToBottom:s,ref:n,onScroll:(0,r.debounce)(d,25)}}}}},{package:"$root$",file:"ui/hooks/useScrollRequired.js"}],[5438,{"../helpers/constants/routes":5361,"../selectors":5987,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useSegmentContext=function(){const e=(0,r.useRouteMatch)({path:i,exact:!0,strict:!0}),t=((0,a.useSelector)(s.txDataSelector)||{}).origin,n=t?{url:t}:undefined;return{page:e?{path:e.path,title:o.PATH_NAME_MAP[e.path],url:e.path}:undefined,referrer:n}};var a=e("react-redux"),r=e("react-router-dom"),o=e("../helpers/constants/routes"),s=e("../selectors");const i=Object.keys(o.PATH_NAME_MAP)}}},{package:"$root$",file:"ui/hooks/useSegmentContext.js"}],[5439,{"../ducks/app/app":5336,"./useGasFeeEstimates":5426,lodash:3836,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useShouldAnimateGasEstimations=function(){const{isGasEstimatesLoading:e,gasFeeEstimates:t}=(0,i.useGasFeeEstimates)(),n=(0,r.useDispatch)(),l=(0,r.useSelector)(s.getGasLoadingAnimationIsShowing),c=(0,a.useRef)(t),u=!(0,o.isEqual)(c.current,t),d=(0,o.isEqual)(c.current,{});u&&(c.current=t);const p=e||u&&!d;(0,a.useEffect)((()=>{!1===l&&!0===p&&n((0,s.toggleGasLoadingAnimation)(!0))}),[n,l,p]),(0,a.useEffect)((()=>{let e;return l&&!p&&(e=setTimeout((()=>{n((0,s.toggleGasLoadingAnimation)(!1))}),2e3)),()=>{e&&clearTimeout(e)}}),[n,l,p])};var a=e("react"),r=e("react-redux"),o=e("lodash"),s=e("../ducks/app/app"),i=e("./useGasFeeEstimates")}}},{package:"$root$",file:"ui/hooks/useShouldAnimateGasEstimations.js"}],[5440,{"../../shared/constants/time":4518,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useShouldShowSpeedUp=function(e,t){const{transactions:n,hasRetried:o}=e,[s={}]=n,{submittedTime:i}=s,[l,c]=(0,a.useState)((()=>Date.now()-i>5e3&&t&&!o));return(0,a.useEffect)((()=>{let e;return o||!t||l||(Date.now()-i>5*r.SECOND?c(!0):e=setTimeout((()=>{c(!0),clearTimeout(e)}),5001-(Date.now()-i))),()=>{e&&clearTimeout(e)}}),[i,l,o,t]),l};var a=e("react"),r=e("../../shared/constants/time")}}},{package:"$root$",file:"ui/hooks/useShouldShowSpeedUp.js"}],[5441,{"../../shared/lib/transactions-controller-utils":4531,"../../shared/modules/swaps.utils":4559,"../selectors":5987,"./useTokenFiatAmount":5446,"@metamask/transaction-controller":2234,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useSwappedTokenValue=function(e,t){const{symbol:n,decimals:c,address:u}=t,{primaryTransaction:d,initialTransaction:p}=e,{type:f}=p,{from:m}=p.txParams||{},g=(0,a.useSelector)(i.getCurrentChainId),h=f===r.TransactionType.swap&&((null==t?void 0:t.symbol)===d.destinationTokenSymbol||(0,s.isSwapsDefaultTokenAddress)(t.address,g)&&(0,s.isSwapsDefaultTokenSymbol)(d.destinationTokenSymbol,g)),y=[r.TransactionType.swap].includes(f)&&h?(0,o.getSwapsTokensReceivedFromTxMeta)(d.destinationTokenSymbol,p,u,m,c,null,g):[r.TransactionType.swap,r.TransactionType.swapAndSend].includes(f)&&d.swapTokenValue,v="string"==typeof y&&-1===Math.sign(y),b=(0,l.useTokenFiatAmount)(u,y||"",n),T=(0,l.useTokenFiatAmount)(d.sourceTokenAddress,y,d.sourceTokenSymbol);let _;y&&(h?_=b:f===r.TransactionType.swapAndSend&&(_=T));return{swapTokenValue:y,swapTokenFiatAmount:_,isViewingReceivedTokenFromSwap:h,isNegative:v}};var a=e("react-redux"),r=e("@metamask/transaction-controller"),o=e("../../shared/lib/transactions-controller-utils"),s=e("../../shared/modules/swaps.utils"),i=e("../selectors"),l=e("./useTokenFiatAmount")}}},{package:"$root$",file:"ui/hooks/useSwappedTokenValue.js"}],[5442,{"../../shared/constants/preferences":4512,"../selectors":5987,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useTheme=function(){const e=(0,r.useSelector)(o.getTheme),[t,n]=(0,a.useState)(e);return(0,a.useEffect)((()=>{const t=e&&e!==s.ThemeType.os?e:document.documentElement.getAttribute("data-theme");i.includes(t)||(console.warn(`useTheme: Invalid theme resolved to "${t}". Defaulting to "${s.ThemeType.light}".`),n(s.ThemeType.light)),n(t)}),[e]),t};var a=e("react"),r=e("react-redux"),o=e("../selectors"),s=e("../../shared/constants/preferences");const i=Object.values(s.ThemeType).filter((e=>e!==s.ThemeType.os))}}},{package:"$root$",file:"ui/hooks/useTheme.ts"}],[5443,{react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useTimeout=function(e,t,n=!0){const r=(0,a.useRef)(),[o,s]=(0,a.useState)(null);(0,a.useEffect)((()=>{r.current=e}),[e]),(0,a.useEffect)((()=>{if("start"!==o)return undefined;const e=setTimeout((()=>{r.current()}),t);return s(e),()=>{clearTimeout(o)}}),[t,o]);const i=(0,a.useCallback)((()=>{clearTimeout(o),s("start")}),[o]);n&&i();return i};var a=e("react")}}},{package:"$root$",file:"ui/hooks/useTimeout.js"}],[5444,{"../../shared/modules/transaction.utils":4560,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useTokenData=function(e,t=!0){return(0,a.useMemo)((()=>t&&e?(0,r.parseStandardTokenTransactionData)(e):null),[t,e])};var a=e("react"),r=e("../../shared/modules/transaction.utils")}}},{package:"$root$",file:"ui/hooks/useTokenData.js"}],[5445,{"../../shared/lib/metamask-controller-utils":4526,"../../shared/lib/transactions-controller-utils":4531,"./useTokenData":5444,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useTokenDisplayValue=function(e,t,n=!0){const i=(0,s.useTokenData)(e,n),l=(0,r.getTokenValueParam)(i),c=Boolean(n&&e&&t&&null!==t.decimals&&t.decimals!==undefined&&l);return(0,a.useMemo)((()=>c?(0,o.calcTokenAmount)(l,t.decimals).toString(10):null),[c,l,t])};var a=e("react"),r=e("../../shared/lib/metamask-controller-utils"),o=e("../../shared/lib/transactions-controller-utils"),s=e("./useTokenData")}}},{package:"$root$",file:"ui/hooks/useTokenDisplayValue.js"}],[5446,{"../../shared/modules/string-utils":4558,"../ducks/metamask/metamask":5346,"../helpers/utils/token-util":5396,"../selectors":5987,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useTokenFiatAmount=function(e,t,n,c={},u){const d=(0,r.useSelector)(o.getTokenExchangeRates,r.shallowEqual),p=(0,r.useSelector)(o.getConfirmationExchangeRates),f={...d,...p},m=(0,r.useSelector)(i.getConversionRate),g=(0,r.useSelector)(o.getCurrentCurrency),h=(0,r.useSelector)(o.getShouldShowFiat),y=c.showFiat??h,v=Object.keys(f).find((t=>(0,l.isEqualCaseInsensitive)(t,e))),b=c.exchangeRate??(v&&f[v]),T=(0,a.useMemo)((()=>(0,s.getTokenFiatAmount)(b,m,g,t,n,!0,u)),[b,m,g,t,n,u]);if(!y||g.toUpperCase()===n)return undefined;return T};var a=e("react"),r=e("react-redux"),o=e("../selectors"),s=e("../helpers/utils/token-util"),i=e("../ducks/metamask/metamask"),l=e("../../shared/modules/string-utils")}}},{package:"$root$",file:"ui/hooks/useTokenFiatAmount.js"}],[5447,{"../../shared/constants/time":4518,"../../shared/modules/string-utils":4558,"../selectors":5987,"./useEqualityCheck":5422,"@metamask/eth-token-tracker":1349,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useTokenTracker=function({tokens:e,address:t,includeFailedTokens:n=!1,hideZeroBalanceTokens:a=!1}){const d=(0,s.useSelector)(i.getCurrentChainId),{address:p}=(0,s.useSelector)(i.getSelectedInternalAccount,s.shallowEqual),f=t??p,[m,g]=(0,r.useState)((()=>(null==e?void 0:e.length)>=0)),[h,y]=(0,r.useState)([]),[v,b]=(0,r.useState)(null),T=(0,r.useRef)(null),_=(0,u.useEqualityCheck)(e),k=(0,r.useCallback)((e=>{const t=(a?e.filter((e=>Number(e.balance)>0)):e).map((e=>{const t=_.find((t=>(0,c.isEqualCaseInsensitive)(t.address,e.address)));return{...e,isERC721:null==t?void 0:t.isERC721,image:null==t?void 0:t.image}}));y(t),g(!1),b(null)}),[a,_]),x=(0,r.useCallback)((e=>{b(e),g(!1)}),[]),E=(0,r.useCallback)((()=>{T.current&&(T.current.stop(),T.current.removeAllListeners("update"),T.current.removeAllListeners("error"),T.current=null)}),[]),w=(0,r.useCallback)(((e,t)=>{E(),T.current=new o.default({userAddress:e,provider:global.ethereumProvider,tokens:t,includeFailedTokens:n,pollingInterval:8*l.SECOND,balanceDecimals:5}),T.current.on("update",k),T.current.on("error",x),T.current.updateBalances()}),[k,n,x,E]);return(0,r.useEffect)((()=>E),[E]),(0,r.useEffect)((()=>{g(!0),f&&d!==undefined&&global.ethereumProvider?(0===_.length&&k([]),w(f,_)):E()}),[f,E,d,_,k,w]),{loading:m,tokensWithBalances:h,error:v}};var a,r=e("react"),o=(a=e("@metamask/eth-token-tracker"))&&a.__esModule?a:{default:a},s=e("react-redux"),i=e("../selectors"),l=e("../../shared/constants/time"),c=e("../../shared/modules/string-utils"),u=e("./useEqualityCheck")}}},{package:"$root$",file:"ui/hooks/useTokenTracker.js"}],[5448,{"../../shared/constants/network":4507,"../../shared/constants/swaps":4516,"../../shared/modules/hexstring-utils":4544,"../../shared/modules/swaps.utils":4559,"../ducks/metamask/metamask":5346,"../ducks/swaps/swaps":5351,"../helpers/utils/token-util":5396,"../selectors":5987,"./useEqualityCheck":5422,"@metamask/assets-controllers":1143,"bignumber.js":2933,lodash:3836,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.getRenderableTokenData=v,n.useTokensToSearch=function({usersTokens:e=[],topTokens:t={},shuffledTokensList:n,tokenBucketPriority:a=g.TokenBucketPriority.owned}){const l=(0,o.useSelector)(u.getCurrentChainId),c=(0,o.useSelector)(u.getTokenExchangeRates,i.isEqual),m=(0,o.useSelector)(d.getConversionRate),h=(0,o.useSelector)(u.getCurrentCurrency),b=(0,o.useSelector)(u.getSwapsDefaultToken,o.shallowEqual),T=(0,o.useSelector)(u.getTokenList,i.isEqual),_=(0,y.useEqualityCheck)(t),k=(0,y.useEqualityCheck)(e),x=v(b,c,m,h,l,T),E=(0,y.useEqualityCheck)(x),w=(0,o.useSelector)(p.getSwapsTokens,i.isEqual)||[],C=w.length?w:[E,...n.filter((e=>e.symbol!==E.symbol))],S=(0,y.useEqualityCheck)(C);return(0,r.useMemo)((()=>{const e=k.reduce(((e,t)=>({...e,[t.address.toLowerCase()]:t})),{}),t={owned:[],top:[],others:[]};return(0,i.uniqBy)([E,...S,...k],(e=>e.address.toLowerCase())).forEach((n=>{const r=v({...e[n.address.toLowerCase()],...n},c,m,h,l,T);a===g.TokenBucketPriority.owned?(0,f.isSwapsDefaultTokenSymbol)(r.symbol,l)||e[n.address.toLowerCase()]?t.owned.push(r):_[n.address.toLowerCase()]?t.top[_[n.address.toLowerCase()].index]=r:t.others.push(r):_[n.address.toLowerCase()]?t.top[_[n.address.toLowerCase()].index]=r:(0,f.isSwapsDefaultTokenSymbol)(r.symbol,l)||e[n.address.toLowerCase()]?t.owned.push(r):t.others.push(r)})),t.owned=t.owned.sort((({rawFiat:e},{rawFiat:t})=>new s.default(e||0).gt(t||0)?-1:1)),t.top=t.top.filter(Boolean),a===g.TokenBucketPriority.owned?[...t.owned,...t.top,...t.others]:[...t.top,...t.owned,...t.others]}),[S,k,_,c,m,h,E,l,T,a])};var a,r=e("react"),o=e("react-redux"),s=(a=e("bignumber.js"))&&a.__esModule?a:{default:a},i=e("lodash"),l=e("@metamask/assets-controllers"),c=e("../helpers/utils/token-util"),u=e("../selectors"),d=e("../ducks/metamask/metamask"),p=e("../ducks/swaps/swaps"),f=e("../../shared/modules/swaps.utils"),m=e("../../shared/modules/hexstring-utils"),g=e("../../shared/constants/swaps"),h=e("../../shared/constants/network"),y=e("./useEqualityCheck");function v(e,t,n,a,r,o){var i,u;const{symbol:d,name:p,address:g,iconUrl:y,string:v,balance:b,decimals:T}=e;let _;(0,f.isSwapsDefaultTokenSymbol)(d,r)?_=1:v&&n>0&&(_=t[(0,m.toChecksumHexAddress)(g)]);const k=(0,c.getTokenFiatAmount)(_,n,a,v,d,!0)||"",x=k?(0,c.getTokenFiatAmount)(_,n,a,v,d,!1):"",E=r===h.CHAIN_IDS.SEPOLIA?h.CHAIN_IDS.MAINNET:r,w=(d===h.CURRENCY_SYMBOLS.ETH&&r===h.CHAIN_IDS.MAINNET||d===h.CURRENCY_SYMBOLS.ETH&&r===h.CHAIN_IDS.SEPOLIA||d===h.CURRENCY_SYMBOLS.BNB&&r===h.CHAIN_IDS.BSC||d===h.CURRENCY_SYMBOLS.MATIC&&r===h.CHAIN_IDS.POLYGON||d===h.CURRENCY_SYMBOLS.AVALANCHE&&r===h.CHAIN_IDS.AVALANCHE||d===h.CURRENCY_SYMBOLS.ETH&&r===h.CHAIN_IDS.OPTIMISM||d===h.CURRENCY_SYMBOLS.ETH&&r===h.CHAIN_IDS.ARBITRUM||d===h.CURRENCY_SYMBOLS.ETH&&r===h.CHAIN_IDS.LINEA_MAINNET||d===h.CURRENCY_SYMBOLS.ETH&&r===h.CHAIN_IDS.ZKSYNC_ERA||d===h.CURRENCY_SYMBOLS.ETH&&r===h.CHAIN_IDS.BASE?y:(0,l.formatIconUrlWithProxy)({chainId:E,tokenAddress:g||""}))||(null==e?void 0:e.image);return{...e,primaryLabel:d,secondaryLabel:p||(null===(i=o[null==g?void 0:g.toLowerCase()])||void 0===i?void 0:i.name),rightPrimaryLabel:v&&`${new s.default(v).round(6).toString()} ${d}`,rightSecondaryLabel:k,iconUrl:w,identiconAddress:w?null:g,balance:b,decimals:T,name:p||(null===(u=o[null==g?void 0:g.toLowerCase()])||void 0===u?void 0:u.name),rawFiat:x}}}}},{package:"$root$",file:"ui/hooks/useTokensToSearch.js"}],[5449,{"../../shared/constants/transaction":4520,"../../shared/lib/metamask-controller-utils":4526,"../../shared/modules/string-utils":4558,"../ducks/metamask/metamask":5346,"../helpers/constants/common":5353,"../helpers/constants/transactions":5367,"../helpers/utils/common.util":5380,"../helpers/utils/token-util":5396,"../helpers/utils/transactions.util":5397,"../helpers/utils/util":5399,"../selectors/selectors":5994,"../store/actions":5998,"./useCurrencyDisplay":5418,"./useCurrentAsset":5420,"./useI18nContext":5427,"./useSwappedTokenValue":5441,"./useTokenData":5444,"./useTokenDisplayValue":5445,"./useTokenFiatAmount":5446,"./useUserPreferencedCurrency":5452,"@metamask/transaction-controller":2234,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useTransactionDisplayData=function(e){var t,n,S,P,M,I,O,N;const j=(0,a.useDispatch)(),D=(0,w.useCurrentAsset)(),A=(0,a.useSelector)(f.getTokens),F=(0,a.useSelector)(f.getNfts),R=(0,a.useSelector)(s.getDetectedTokensInCurrentNetwork)||[],B=(0,a.useSelector)(s.getTokenList),L=(0,v.useI18nContext)(),{initialTransaction:$,primaryTransaction:G}=e,{type:W}=$,{from:q,to:U}=$.txParams||{},V=(0,a.useSelector)((e=>{var t;return(0,s.getKnownMethodData)(e,null==$||null===(t=$.txParams)||void 0===t?void 0:t.data)}))||{},H=(0,i.getStatusKey)(G),z=H in p.PENDING_STATUS_HASH,Y=H===o.TransactionStatus.submitted,K=(0,r.useRef)(!0),J=null===(t=G.txParams)||void 0===t?void 0:t.value,X=(0,d.formatDateWithYearContext)($.time);let Z,Q="-",ee=!1,te=U;const ne=p.TOKEN_CATEGORY_HASH[W];let ae=null;const[re,oe]=(0,r.useState)(null);ne&&(ae=A.find((({address:e})=>(0,h.isEqualCaseInsensitive)(e,te)))||R.find((({address:e})=>(0,h.isEqualCaseInsensitive)(e,te)))||B[te.toLowerCase()]);(0,r.useEffect)((()=>()=>{K.current=!1}),[]),(0,r.useEffect)((()=>{!async function(){if(ne&&!ae){var e;const t=await(0,u.getAssetDetails)(U,q,null==$||null===(e=$.txParams)||void 0===e?void 0:e.data,F);!0===K.current&&oe(t)}}()}),[ne,ae,te,q,null==$||null===(n=$.txParams)||void 0===n?void 0:n.data,F,U,K]),re&&(ae={address:re.toAddress,symbol:re.symbol,decimals:re.decimals});const se=(0,x.useTokenData)(null==$||null===(S=$.txParams)||void 0===S?void 0:S.data,ne),ie=(0,u.getTokenIdParam)(se)??(0,y.getTokenValueParam)(se),le=ne&&F.find((({address:e,tokenId:t})=>(0,h.isEqualCaseInsensitive)(e,te)&&t===ie)),ce=(0,k.useTokenDisplayValue)(null==G||null===(P=G.txParams)||void 0===P?void 0:P.data,ae,ne),ue=(0,b.useTokenFiatAmount)(null===(M=ae)||void 0===M?void 0:M.address,ce,null===(I=ae)||void 0===I?void 0:I.symbol),de=(0,d.stripHttpSchemes)($.origin||(null===(O=$.msgParams)||void 0===O?void 0:O.origin)||"");let pe,fe,me=ne?null===(N=ae)||void 0===N?void 0:N.symbol:undefined,ge=ne?ce:undefined,he=ne?ue:undefined;const{swapTokenValue:ye,isNegative:ve,swapTokenFiatAmount:be,isViewingReceivedTokenFromSwap:Te}=(0,E.useSwappedTokenValue)(e,D);if(C.includes(W))pe=m.TransactionGroupCategory.signatureRequest,fe=L("signatureRequest"),Z=de,ee=!0;else if(W===o.TransactionType.swap)pe=m.TransactionGroupCategory.swap,fe=L("swapTokenToToken",[$.sourceTokenSymbol,$.destinationTokenSymbol]),Z=de,ee=!0,me=Te?D.symbol:$.sourceTokenSymbol,ge=ye,he=be,Q=ve?"":Te?"+":"-";else if(W===o.TransactionType.swapAndSend){const e=$.swapAndSendRecipient===q;te=$.swapAndSendRecipient,pe=m.TransactionGroupCategory.swapAndSend,fe=L("sendTokenAsToken",[$.sourceTokenSymbol,$.destinationTokenSymbol]),Z=de,ee=!0,me=Te&&e?D.symbol:$.sourceTokenSymbol,ge=ye,he=be,Q=ve?"":Te&&e?"+":"-"}else if(W===o.TransactionType.swapApproval)pe=m.TransactionGroupCategory.approval,fe=L("swapApproval",[G.sourceTokenSymbol]),Z=de,ee=!0,me=G.sourceTokenSymbol;else if(W===o.TransactionType.tokenMethodApprove){var _e;pe=m.TransactionGroupCategory.approval,Q="",fe=L("approveSpendingCap",[(null===(_e=ae)||void 0===_e?void 0:_e.symbol)||L("token").toLowerCase()]),Z=de,ee=!0}else if(W===o.TransactionType.tokenMethodSetApprovalForAll){var ke;pe=m.TransactionGroupCategory.approval,Q="",fe=L("setApprovalForAllTitle",[(null===(ke=ae)||void 0===ke?void 0:ke.symbol)||L("token")]),Z=de,ee=!0}else if(W===o.TransactionType.tokenMethodIncreaseAllowance){var xe;pe=m.TransactionGroupCategory.approval,Q="",fe=L("approveIncreaseAllowance",[(null===(xe=ae)||void 0===xe?void 0:xe.symbol)||L("token")]),Z=de,ee=!0}else if(W===o.TransactionType.contractInteraction){pe=m.TransactionGroupCategory.interaction;const e=(0,i.getTransactionTypeTitle)(L,W);fe=(null==V?void 0:V.name)&&(0,l.camelCaseToCapitalize)(V.name)||e,Z=de,ee=!0}else if(W===o.TransactionType.deployContract)pe=m.TransactionGroupCategory.interaction,fe=(0,i.getTransactionTypeTitle)(L,W),Z=de,ee=!0;else if(W===o.TransactionType.incoming)pe=m.TransactionGroupCategory.receive,fe=L("receive"),Q="",Z=L("fromAddress",[(0,d.shortenAddress)(q)]);else if(W===o.TransactionType.tokenMethodTransferFrom||W===o.TransactionType.tokenMethodTransfer){var Ee;pe=m.TransactionGroupCategory.send,fe=L("sendSpecifiedTokens",[(null===(Ee=ae)||void 0===Ee?void 0:Ee.symbol)||(null==le?void 0:le.name)||L("token")]),te=(0,u.getTokenAddressParam)(se),Z=L("toAddress",[(0,d.shortenAddress)(te)])}else W===o.TransactionType.tokenMethodSafeTransferFrom?(pe=m.TransactionGroupCategory.send,fe=L("safeTransferFrom"),te=(0,u.getTokenAddressParam)(se),Z=L("toAddress",[(0,d.shortenAddress)(te)])):W===o.TransactionType.simpleSend?(pe=m.TransactionGroupCategory.send,fe=L("send"),Z=L("toAddress",[(0,d.shortenAddress)(te)])):j((0,g.captureSingleException)(`useTransactionDisplayData does not recognize transaction type. Type received is: ${W}`));const we=(0,T.useUserPreferencedCurrency)(c.PRIMARY),Ce=(0,T.useUserPreferencedCurrency)(c.SECONDARY),[Se]=(0,_.useCurrencyDisplay)(J,{prefix:Q,displayValue:ge,suffix:me,...we}),[Pe]=(0,_.useCurrencyDisplay)(J,{prefix:Q,displayValue:he,hideLabel:ne||Boolean(ye),...Ce});return{title:fe,category:pe,date:X,subtitle:Z,subtitleContainsOrigin:ee,primaryCurrency:W===o.TransactionType.swap&&z?"":Se,senderAddress:q,recipientAddress:te,secondaryCurrency:ne&&!ue||[o.TransactionType.swap,o.TransactionType.swapAndSend].includes(W)&&!be?undefined:Pe,displayedStatusKey:H,isPending:z,isSubmitted:Y}};var a=e("react-redux"),r=e("react"),o=e("@metamask/transaction-controller"),s=e("../selectors/selectors"),i=e("../helpers/utils/transactions.util"),l=e("../helpers/utils/common.util"),c=e("../helpers/constants/common"),u=e("../helpers/utils/token-util"),d=e("../helpers/utils/util"),p=e("../helpers/constants/transactions"),f=e("../ducks/metamask/metamask"),m=e("../../shared/constants/transaction"),g=e("../store/actions"),h=e("../../shared/modules/string-utils"),y=e("../../shared/lib/metamask-controller-utils"),v=e("./useI18nContext"),b=e("./useTokenFiatAmount"),T=e("./useUserPreferencedCurrency"),_=e("./useCurrencyDisplay"),k=e("./useTokenDisplayValue"),x=e("./useTokenData"),E=e("./useSwappedTokenValue"),w=e("./useCurrentAsset");const C=[null,undefined,o.TransactionType.sign,o.TransactionType.personalSign,o.TransactionType.signTypedData,o.TransactionType.ethDecrypt,o.TransactionType.ethGetEncryptionPublicKey]}}},{package:"$root$",file:"ui/hooks/useTransactionDisplayData.js"}],[5450,{"../../shared/modules/hexstring-utils":4544,"../components/app/snaps/snap-insight/snap-insight":4779,"../components/ui/tabs":5296,"../components/ui/tabs/snaps/dropdown-tab":5298,"../helpers/utils/util":5399,"../selectors":5987,"../store/actions":5998,"./snaps/useTransactionInsightSnaps":5412,"@metamask/transaction-controller":2234,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=g(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=e("react-redux"),s=e("@metamask/transaction-controller"),i=e("../../shared/modules/hexstring-utils"),l=e("../components/ui/tabs"),c=(a=e("../components/ui/tabs/snaps/dropdown-tab"))&&a.__esModule?a:{default:a},u=e("../components/app/snaps/snap-insight/snap-insight"),d=e("../selectors"),p=e("../store/actions"),f=e("../helpers/utils/util"),m=e("./snaps/useTransactionInsightSnaps");function g(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(g=function(e){return e?n:t})(e)}n.default=({txData:e})=>{var t;const n=(0,o.useDispatch)(),{txParams:a,chainId:g,origin:h}=e,y=`eip155:${(0,i.stripHexPrefix)(g)}`,v=(0,o.useSelector)(d.getInsightSnaps),b=(0,o.useSelector)(d.getInsightSnapIds),T=(0,o.useSelector)(d.getSnapsMetadata),_=(0,f.getSnapName)(T),[k,x]=(0,r.useState)(null===(t=v[0])||void 0===t?void 0:t.id),E={transaction:a,chainId:y,origin:h,insightSnaps:b},{data:w,loading:C,warnings:S}=(0,m.useTransactionInsightSnaps)(E);if((0,r.useEffect)((()=>{b.length>0&&!k&&x(b[0])}),[b,k,x]),(0,r.useEffect)((()=>()=>{null==w||w.map((({response:e})=>(null==e?void 0:e.id)&&n((0,p.deleteInterface)(e.id))))}),[w]),(P=e.type)!==s.TransactionType.contractInteraction&&P!==s.TransactionType.simpleSend&&P!==s.TransactionType.tokenMethodSafeTransferFrom&&P!==s.TransactionType.tokenMethodTransferFrom&&P!==s.TransactionType.tokenMethodTransfer||!v.length)return null;var P;const M=v.find((({id:e})=>e===k));let I;if(1===v.length)I=r.default.createElement(l.Tab,{className:"confirm-page-container-content__tab",name:_(M.id)},r.default.createElement(u.SnapInsight,{snapId:k,data:null==w?void 0:w[0],loading:C}));else if(v.length>1){const e=null==v?void 0:v.map((({id:e})=>({value:e,name:_(e)}))),t=null==w?void 0:w.find((e=>(null==e?void 0:e.snapId)===k));I=r.default.createElement(c.default,{className:"confirm-page-container-content__tab",options:e,selectedOption:k,onChange:e=>x(e)},r.default.createElement(u.SnapInsight,{snapId:k,loading:C,data:t}))}return{insightComponent:I,warnings:S}}}}},{package:"$root$",file:"ui/hooks/useTransactionInsights.js"}],[5451,{"../ducks/swaps/swaps":5351,"../pages/swaps/swaps.util":5967,"../selectors":5987,"../store/actions":5998,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(){const e=(0,r.useDispatch)(),t=(0,r.useSelector)(l.getCurrentChainId),n=(0,r.useSelector)(l.getIsSwapsChain),c=(0,r.useSelector)(l.checkNetworkAndAccountSupports1559),u=(0,r.useSelector)(l.getUseExternalServices);(0,a.useEffect)((()=>n&&u?((0,o.fetchTokens)(t).then((t=>{e((0,i.setSwapsTokens)(t))})).catch((e=>console.error(e))),(0,o.fetchTopAssets)(t).then((t=>{e((0,s.setTopAssets)(t))})),(0,o.fetchAggregatorMetadata)(t).then((t=>{e((0,s.setAggregatorMetadata)(t))})),c||e((0,s.fetchAndSetSwapsGasPriceInfo)()),()=>{e((0,s.prepareToLeaveSwaps)())}):undefined),[e,t,c,n,u])};var a=e("react"),r=e("react-redux"),o=e("../pages/swaps/swaps.util"),s=e("../ducks/swaps/swaps"),i=e("../store/actions"),l=e("../selectors")}}},{package:"$root$",file:"ui/hooks/useUpdateSwapsState.ts"}],[5452,{"../../shared/constants/common":4495,"../constants":5321,"../ducks/metamask/metamask":5346,"../helpers/constants/common":5353,"../selectors":5987,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useUserPreferencedCurrency=function(e,t={}){const n=(0,a.useSelector)(o.getNativeCurrency),{useNativeCurrencyAsPrimaryCurrency:c}=(0,a.useSelector)(r.getPreferences,a.shallowEqual),u=(0,a.useSelector)(r.getShouldShowFiat),d={currency:(0,a.useSelector)(r.getCurrentCurrency),numberOfDecimals:t.numberOfDecimals||t.fiatNumberOfDecimals||2},p={currency:n||i.EtherDenomination.ETH,numberOfDecimals:t.numberOfDecimals||t.ethNumberOfDecimals||l.ETH_DEFAULT_DECIMALS};if(t.showNativeOverride)return p;if(t.showFiatOverride)return d;if(!u||e===s.PRIMARY&&c||e===s.SECONDARY&&!c)return p;return d};var a=e("react-redux"),r=e("../selectors"),o=e("../ducks/metamask/metamask"),s=e("../helpers/constants/common"),i=e("../../shared/constants/common"),l=e("../constants")}}},{package:"$root$",file:"ui/hooks/useUserPreferencedCurrency.js"}],[5453,{"../app/scripts/lib/setupSentry":109,"../app/scripts/lib/util":120,"../shared/constants/alerts":4492,"../shared/constants/app":4493,"../shared/constants/copy":4496,"../shared/lib/error-utils":4524,"../shared/lib/switch-direction":4529,"../shared/modules/object.utils":4549,"./ducks/alerts":5333,"./ducks/metamask/metamask":5346,"./helpers/utils/tx-helper":5398,"./pages":5751,"./selectors":5987,"./store/actions":5998,"./store/background-connection":5999,"./store/store":6e3,"copy-to-clipboard":3087,lodash:3836,loglevel:3842,react:4243,"react-dom":4074,"webextension-polyfill":4472},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e,t){const{backgroundConnection:n}=e;let a=!1;n.getDesktopEnabled((function(e,t){e||(a=t)})),n.getState((function(r,l){r?t(r,{...l,desktopEnabled:a},n):async function(e,t,n){e.featureFlags||(e.featureFlags={});const{currentLocaleMessages:a,enLocaleMessages:r}=await(0,h.setupLocale)(e.currentLocale);"rtl"===e.textDirection&&(0,g.default)("rtl");const o={activeTab:n.activeTab,metamask:e,appState:{},localeMessages:{currentLocale:e.currentLocale,current:a,en:r}};if(P(t),(0,c.getEnvironmentType)()===f.ENVIRONMENT_TYPE_POPUP){var l;const{origin:e}=o.activeTab,t=(0,b.getPermittedAccountsForCurrentTab)(o),n=(null===(l=(0,b.getSelectedInternalAccount)(o))||void 0===l?void 0:l.address)??"",a=(0,_.getUnconnectedAccountAlertShown)(o),r=(0,_.getUnconnectedAccountAlertEnabledness)(o);e&&r&&!a[e]&&t.length>0&&!t.includes(n)&&(o[u.AlertTypes.unconnectedAccount]={state:T.ALERT_STATE.OPEN},y.setUnconnectedAccountAlertShown(e))}const d=(0,v.default)(o);S=d;const p=(0,b.getUnapprovedTransactions)(e),m=(0,x.default)(p,e.unapprovedMsgs,e.unapprovedPersonalMsgs,e.unapprovedDecryptMsgs,e.unapprovedEncryptionPublicKeyMsgs,e.unapprovedTypedMessages,e.networkId,e.providerConfig.chainId);m.length>0&&d.dispatch(y.showConfTxPage({id:m[0].id}));global.metamask={updateCurrentLocale:e=>{d.dispatch(y.updateCurrentLocale(e))},setProviderType:e=>{d.dispatch(y.setProviderType(e))},setFeatureFlag:(e,t)=>{d.dispatch(y.setFeatureFlag(e,t))}};const E=d.getState(),w=(0,b.getNetworkToAutomaticallySwitchTo)(E);w?await d.dispatch(y.automaticallySwitchNetwork(w,(0,b.getOriginOfCurrentTab)(E))):(0,b.getSwitchedNetworkDetails)(E)&&await d.dispatch(y.clearSwitchedNetworkDetails());if((0,b.getUseRequestQueue)(E)&&(0,c.getEnvironmentType)()===f.ENVIRONMENT_TYPE_POPUP){const e=Date.now();global.metamask.id=e,await d.dispatch(y.setCurrentExtensionPopupId(e))}return(0,i.render)(s.default.createElement(k.default,{store:d}),n.container),d}(l,n,e).then((e=>{!function(e){0;window.stateHooks.getCleanAppState=async function(){const t=(0,o.clone)(e.getState());return t.version=global.platform.getVersion(),t.browser=window.navigator.userAgent,t.completeTxList=await y.getTransactions({filterToCurrentNetwork:!1}),t},window.stateHooks.getSentryAppState=function(){const t=e.getState();return(0,d.maskObject)(t,p.SENTRY_UI_STATE)},window.stateHooks.getLogs=function(){const t=e.getState(),{logs:n}=t.metamask;return Object.values(n).sort(((e,t)=>e.timestamp-t.timestamp))}}(e),t(null,e,n)}))}))},n.updateBackgroundConnection=void 0;var a=C(e("copy-to-clipboard")),r=C(e("loglevel")),o=e("lodash"),s=C(e("react")),i=e("react-dom"),l=C(e("webextension-polyfill")),c=e("../app/scripts/lib/util"),u=e("../shared/constants/alerts"),d=e("../shared/modules/object.utils"),p=e("../app/scripts/lib/setupSentry"),f=e("../shared/constants/app"),m=e("../shared/constants/copy"),g=C(e("../shared/lib/switch-direction")),h=e("../shared/lib/error-utils"),y=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=w(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("./store/actions")),v=C(e("./store/store")),b=e("./selectors"),T=e("./ducks/alerts"),_=e("./ducks/metamask/metamask"),k=C(e("./pages")),x=C(e("./helpers/utils/tx-helper")),E=e("./store/background-connection");function w(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(w=function(e){return e?n:t})(e)}function C(e){return e&&e.__esModule?e:{default:e}}let S;r.default.setLevel(global.METAMASK_DEBUG?"debug":"warn",!1);const P=e=>{(0,E.setBackgroundConnection)(e),e.onNotification((e=>{if("sendUpdate"!==e.method)throw new Error(`Internal JSON-RPC Notification Not Handled:\n\n ${JSON.stringify(e)}`);S.dispatch(y.updateMetamaskState(e.params[0]))}))};n.updateBackgroundConnection=P,window.logStateString=async function(e){const t=await window.stateHooks.getCleanAppState(),n=window.stateHooks.getLogs();l.default.runtime.getPlatformInfo().then((a=>{t.platform=a,t.logs=n;const r=JSON.stringify(t,null,2);e(null,r)})).catch((t=>{e(t)}))},window.logState=function(e){return window.logStateString(((t,n)=>{t?console.error(t.message):e?((0,a.default)(n,m.COPY_OPTIONS),console.log("State log copied")):console.log(n)}))}}}},{package:"$root$",file:"ui/index.js"}],[5454,{"../../../shared/modules/string-utils":4558,"../../components/app/nft-details/nft-details":4718,"../../ducks/metamask/metamask":5346,"../../helpers/constants/routes":5361,"./components/native-asset":5458,"./components/token-asset":5459,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=e("react-redux"),o=e("react-router-dom"),s=e("../../../shared/modules/string-utils"),i=p(e("../../components/app/nft-details/nft-details")),l=e("../../ducks/metamask/metamask"),c=e("../../helpers/constants/routes"),u=p(e("./components/native-asset")),d=p(e("./components/token-asset"));function p(e){return e&&e.__esModule?e:{default:e}}function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}n.default=()=>{const e=(0,r.useSelector)(l.getNativeCurrency),t=(0,r.useSelector)(l.getTokens),n=(0,r.useSelector)(l.getNfts),{asset:p,id:f}=(0,o.useParams)(),m=t.find((({address:e})=>(0,s.isEqualCaseInsensitive)(e,p))),g=n.find((({address:e,tokenId:t})=>(0,s.isEqualCaseInsensitive)(e,p)&&f===t.toString()));let h;return(0,a.useEffect)((()=>{document.querySelector(".app").scroll(0,0)}),[]),h=g?a.default.createElement(i.default,{nft:g}):m?a.default.createElement(d.default,{token:m}):p===e?a.default.createElement(u.default,{nativeCurrency:e}):a.default.createElement(o.Redirect,{to:{pathname:c.DEFAULT_ROUTE}}),a.default.createElement("div",{className:"main-container asset__container"},h)}}}},{package:"$root$",file:"ui/pages/asset/asset.js"}],[5455,{"../../../components/component-library":4955,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=s(e("react")),r=s(e("prop-types")),o=e("../../../components/component-library");function s(e){return e&&e.__esModule?e:{default:e}}const i=({accountName:e,assetName:t,onBack:n})=>a.default.createElement("button",{className:"asset-breadcrumb",onClick:n},a.default.createElement(o.Icon,{name:o.IconName.ArrowLeft,"data-testid":"asset__back",marginInlineEnd:3,size:o.IconSize.Xs}),a.default.createElement("span",null,e)," / ",a.default.createElement("span",{className:"asset-breadcrumb__asset"},t));i.propTypes={accountName:r.default.string.isRequired,assetName:r.default.string.isRequired,onBack:r.default.func.isRequired};n.default=i}}},{package:"$root$",file:"ui/pages/asset/components/asset-breadcrumb.js"}],[5456,{"./asset-breadcrumb":5455,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=s(e("react")),r=s(e("prop-types")),o=s(e("./asset-breadcrumb"));function s(e){return e&&e.__esModule?e:{default:e}}const i=({accountName:e,assetName:t,onBack:n,optionsButton:r})=>a.default.createElement("div",{className:"asset-navigation"},a.default.createElement(o.default,{accountName:e,assetName:t,onBack:n}),r);i.propTypes={accountName:r.default.string.isRequired,assetName:r.default.string.isRequired,onBack:r.default.func.isRequired,optionsButton:r.default.element};n.default=i}}},{package:"$root$",file:"ui/pages/asset/components/asset-navigation.js"}],[5457,{"../../../components/component-library":4955,"../../../components/ui/menu":5264,"../../../contexts/i18n":5324,"../../../helpers/constants/design-system":5355,"../../../helpers/constants/routes":5361,"../../../selectors":5987,"prop-types":3997,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=m(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=(a=e("prop-types"))&&a.__esModule?a:{default:a},s=e("react-router-dom"),i=e("react-redux"),l=e("../../../contexts/i18n"),c=e("../../../components/ui/menu"),u=e("../../../selectors"),d=e("../../../helpers/constants/routes"),p=e("../../../components/component-library"),f=e("../../../helpers/constants/design-system");function m(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(m=function(e){return e?n:t})(e)}const g=({onRemove:e,onClickBlockExplorer:t,onViewTokenDetails:n,tokenSymbol:a,isNativeAsset:o})=>{const m=(0,r.useContext)(l.I18nContext),[g,h]=(0,r.useState)(!1),y=(0,s.useHistory)(),v=(0,i.useSelector)(u.getBlockExplorerLinkText),b=(0,r.useRef)(!1);return r.default.createElement("div",{ref:b},r.default.createElement(p.ButtonIcon,{className:"asset-options__button","data-testid":"asset-options__button",onClick:()=>h(!0),ariaLabel:m("assetOptions"),iconName:p.IconName.MoreVertical,color:f.Color.textDefault,size:p.ButtonIconSize.Sm}),g?r.default.createElement(c.Menu,{anchorElement:b.current,onHide:()=>h(!1)},r.default.createElement(c.MenuItem,{iconName:p.IconName.Export,"data-testid":"asset-options__etherscan",onClick:"addBlockExplorer"===v.firstPart?()=>{y.push(`${d.NETWORKS_ROUTE}#blockExplorerUrl`)}:()=>{h(!1),t()}},m(v.firstPart,""===v.secondPart?null:[m("blockExplorerAssetAction")])),o?null:r.default.createElement(c.MenuItem,{iconName:p.IconName.Trash,"data-testid":"asset-options__hide",onClick:()=>{h(!1),e()}},m("hideTokenSymbol",[a])),o?null:r.default.createElement(c.MenuItem,{iconName:p.IconName.Info,"data-testid":"asset-options__token-details",onClick:()=>{h(!1),n()}},m("tokenDetails"))):null)},h=e=>"function"!=typeof e;g.propTypes={isNativeAsset:o.default.bool,onClickBlockExplorer:o.default.func.isRequired,onRemove:e=>{if(!1===e.isNativeAsset&&h(e.onRemove))throw new Error("When isNativeAsset is true, onRemove is a required prop")},onViewTokenDetails:e=>{if(!1===e.isNativeAsset&&h(e.onViewTokenDetails))throw new Error("When isNativeAsset is true, onViewTokenDetails is a required prop")},tokenSymbol:e=>{if(!1===e.isNativeAsset&&"string"!=typeof e.tokenSymbol)throw new Error("When isNativeAsset is true, tokenSymbol is a required prop")}};n.default=g}}},{package:"$root$",file:"ui/pages/asset/components/asset-options.js"}],[5458,{"../../../../shared/constants/metametrics":4505,"../../../components/app/transaction-list":4877,"../../../components/app/wallet-overview":4883,"../../../contexts/metametrics":5327,"../../../helpers/constants/routes":5361,"../../../helpers/utils/util":5399,"../../../selectors/selectors":5994,"./asset-navigation":5456,"./asset-options":5457,"@metamask/etherscan-link":1369,"prop-types":3997,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=b;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=v(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=y(e("prop-types")),o=e("react-redux"),s=e("react-router-dom"),i=e("@metamask/etherscan-link"),l=y(e("../../../components/app/transaction-list")),c=e("../../../components/app/wallet-overview"),u=e("../../../selectors/selectors"),d=e("../../../helpers/constants/routes"),p=e("../../../helpers/utils/util"),f=e("../../../contexts/metametrics"),m=e("../../../../shared/constants/metametrics"),g=y(e("./asset-navigation")),h=y(e("./asset-options"));function y(e){return e&&e.__esModule?e:{default:e}}function v(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(v=function(e){return e?n:t})(e)}function b({nativeCurrency:e}){const{name:t,address:n}=(0,o.useSelector)(u.getSelectedInternalAccount),r=(0,o.useSelector)(u.getCurrentChainId),y=(0,o.useSelector)(u.getRpcPrefsForCurrentProvider),v=(0,s.useHistory)(),b=(0,i.getAccountLink)(n,r,y),T=(0,a.useContext)(f.MetaMetricsContext),_=(0,o.useSelector)(u.getIsCustomNetwork);return a.default.createElement(a.default.Fragment,null,a.default.createElement(g.default,{accountName:t,assetName:e,onBack:()=>v.push(d.DEFAULT_ROUTE),optionsButton:a.default.createElement(h.default,{isNativeAsset:!0,onClickBlockExplorer:()=>{T({event:"Clicked Block Explorer Link",category:m.MetaMetricsEventCategory.Navigation,properties:{link_type:"Account Tracker",action:"Asset Options",block_explorer_domain:(0,p.getURLHostName)(b)}}),global.platform.openTab({url:b})},isCustomNetwork:_})}),a.default.createElement(c.EthOverview,{className:"asset__overview",showAddress:!1}),a.default.createElement(l.default,{hideTokenTransactions:!0}))}b.propTypes={nativeCurrency:r.default.string.isRequired}}}},{package:"$root$",file:"ui/pages/asset/components/native-asset.js"}],[5459,{"../../../../shared/constants/metametrics":4505,"../../../components/app/transaction-list":4877,"../../../components/app/wallet-overview":4883,"../../../contexts/metametrics":5327,"../../../helpers/constants/routes":5361,"../../../helpers/utils/util":5399,"../../../selectors/selectors":5994,"../../../store/actions":5998,"./asset-navigation":5456,"./asset-options":5457,"@metamask/etherscan-link":1369,"prop-types":3997,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=T;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=b(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=v(e("prop-types")),o=e("react-redux"),s=e("react-router-dom"),i=e("@metamask/etherscan-link"),l=v(e("../../../components/app/transaction-list")),c=e("../../../components/app/wallet-overview"),u=e("../../../selectors/selectors"),d=e("../../../helpers/constants/routes"),p=e("../../../helpers/utils/util"),f=e("../../../store/actions"),m=e("../../../contexts/metametrics"),g=e("../../../../shared/constants/metametrics"),h=v(e("./asset-navigation")),y=v(e("./asset-options"));function v(e){return e&&e.__esModule?e:{default:e}}function b(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(b=function(e){return e?n:t})(e)}function T({token:e}){const t=(0,o.useDispatch)(),n=(0,o.useSelector)(u.getCurrentChainId),r=(0,o.useSelector)(u.getRpcPrefsForCurrentProvider),v=(0,o.useSelector)(u.getSelectedInternalAccount),b=v.metadata.name,T=v.address,_=(0,s.useHistory)(),k=(0,i.getTokenTrackerLink)(e.address,n,null,T,r),x=(0,a.useContext)(m.MetaMetricsContext),E=(0,o.useSelector)(u.getIsCustomNetwork);return a.default.createElement(a.default.Fragment,null,a.default.createElement(h.default,{accountName:b,assetName:e.symbol,onBack:()=>_.push(d.DEFAULT_ROUTE),optionsButton:a.default.createElement(y.default,{onRemove:()=>t((0,f.showModal)({name:"HIDE_TOKEN_CONFIRMATION",token:e,history:_})),isCustomNetwork:E,onClickBlockExplorer:()=>{x({event:"Clicked Block Explorer Link",category:g.MetaMetricsEventCategory.Navigation,properties:{link_type:"Token Tracker",action:"Token Options",block_explorer_domain:(0,p.getURLHostName)(k)}}),global.platform.openTab({url:k})},onViewTokenDetails:()=>{_.push(`${d.TOKEN_DETAILS}/${e.address}`)},tokenSymbol:e.symbol})}),a.default.createElement(c.TokenOverview,{className:"asset__overview",token:e}),a.default.createElement(l.default,{tokenAddress:e.address}))}T.propTypes={token:r.default.shape({address:r.default.string.isRequired,decimals:r.default.number,symbol:r.default.string}).isRequired}}}},{package:"$root$",file:"ui/pages/asset/components/token-asset.js"}],[5460,{"./asset":5454},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./asset"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/asset/index.js"}],[5461,{"../../../shared/constants/metametrics":4505,"../../../shared/constants/network":4507,"../../../shared/constants/transaction":4520,"../../components/app/network-account-balance-header/network-account-balance-header":4713,"../../components/app/nft-default-image/nft-default-image":4716,"../../components/component-library":4955,"../../components/ui/page-container":5275,"../../components/ui/site-origin/site-origin":5293,"../../contexts/i18n":5324,"../../contexts/metametrics":5327,"../../ducks/history/history":5343,"../../helpers/constants/common":5353,"../../helpers/constants/design-system":5355,"../../helpers/utils/util":5399,"../../hooks/useCurrencyDisplay":5418,"../../hooks/useOriginMetadata":5433,"../../hooks/useUserPreferencedCurrency":5452,"../../selectors":5987,"../../store/actions":5998,"@metamask/etherscan-link":1369,classnames:3049,"eth-rpc-errors":3257,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=M(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=e("react-redux"),o=e("react-router-dom"),s=e("eth-rpc-errors"),i=e("@metamask/etherscan-link"),l=P(e("classnames")),c=e("../../components/ui/page-container"),u=e("../../contexts/i18n"),d=e("../../contexts/metametrics"),p=e("../../ducks/history/history"),f=e("../../store/actions"),m=e("../../../shared/constants/metametrics"),g=e("../../../shared/constants/transaction"),h=e("../../components/component-library"),y=e("../../selectors"),v=P(e("../../components/app/nft-default-image/nft-default-image")),b=e("../../helpers/utils/util"),T=e("../../helpers/constants/design-system"),_=P(e("../../components/app/network-account-balance-header/network-account-balance-header")),k=e("../../../shared/constants/network"),x=P(e("../../components/ui/site-origin/site-origin")),E=e("../../helpers/constants/common"),w=e("../../hooks/useUserPreferencedCurrency"),C=e("../../hooks/useCurrencyDisplay"),S=e("../../hooks/useOriginMetadata");function P(e){return e&&e.__esModule?e:{default:e}}function M(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(M=function(e){return e?n:t})(e)}n.default=()=>{var e;const t=(0,a.useContext)(u.I18nContext),n=(0,r.useDispatch)(),P=(0,o.useHistory)(),M=(0,r.useSelector)(p.getMostRecentOverviewPage),I=(0,r.useSelector)(y.getSuggestedNfts).sort(((e,t)=>e.requestData.asset.tokenId-t.requestData.asset.tokenId)),O=(0,r.useSelector)(y.getRpcPrefsForCurrentProvider),N=(0,r.useSelector)(y.getCurrentChainId),j=(0,r.useSelector)(y.getIpfsGateway),D=(0,a.useContext)(d.MetaMetricsContext),A=(0,r.useSelector)(y.getNetworkIdentifier),{address:F}=(0,r.useSelector)(y.getSelectedInternalAccount),R=(0,r.useSelector)(y.getSelectedAccountCachedBalance),B=(0,r.useSelector)((e=>(0,y.getAddressBookEntryOrAccountName)(e,F))),L=k.NETWORK_TO_NAME_MAP[N]||A,{currency:$,numberOfDecimals:G}=(0,w.useUserPreferencedCurrency)(E.PRIMARY,{ethNumberOfDecimals:4}),[W]=(0,C.useCurrencyDisplay)(R,{numberOfDecimals:G,currency:$}),q=(0,S.useOriginMetadata)(null===(e=I[0])||void 0===e?void 0:e.origin)||{},U=(0,a.useCallback)((async()=>{await Promise.all(I.map((async({requestData:{asset:e},id:t})=>{await n((0,f.resolvePendingApproval)(t,null)),D({event:m.MetaMetricsEventName.NftAdded,category:m.MetaMetricsEventCategory.Wallet,sensitiveProperties:{token_contract_address:e.address,token_symbol:e.symbol,token_id:e.tokenId,token_standard:e.standard,asset_type:g.AssetType.NFT,source:m.MetaMetricsTokenEventSource.Dapp}})}))),P.push(M)}),[n,P,D,M,I]),V=(0,a.useCallback)((async()=>{await Promise.all(I.map((async({id:e})=>n((0,f.rejectPendingApproval)(e,(0,s.serializeError)(s.ethErrors.provider.userRejectedRequest())))))),P.push(M)}),[n,P,M,I]);let H,z;if((0,a.useEffect)((()=>{I.length||P.push(M)}),[P,M,I]),I.length)try{const e=new URL(I[0].origin);H=e.host,z=e.href}catch{H="dapp"}return a.default.createElement(h.Box,{height:T.BlockSize.Full,width:T.BlockSize.Full,display:T.Display.Flex,flexDirection:T.FlexDirection.Column},a.default.createElement(h.Box,{paddingBottom:2,className:"confirm-add-suggested-nft__header"},a.default.createElement(_.default,{accountName:B,accountBalance:W,accountAddress:F,networkName:L,chainId:N}),a.default.createElement(h.Box,{paddingTop:4,paddingRight:4,paddingLeft:4,display:T.Display.Flex,justifyContent:T.JustifyContent.center},a.default.createElement(x.default,{chip:!0,siteOrigin:q.origin,title:q.origin,iconSrc:q.iconUrl,iconName:q.hostname})),a.default.createElement(h.Text,{variant:T.TextVariant.headingLg,textAlign:T.TextAlign.Center,margin:2},t("addSuggestedNFTs")),a.default.createElement(h.Text,{variant:T.TextVariant.bodyMd,textAlign:T.TextAlign.Center},t("wantsToAddThisAsset",["dapp"===H?a.default.createElement(h.Text,{key:H,variant:T.TextVariant.bodyMd,fontWeight:"bold"},H):a.default.createElement(h.ButtonLink,{key:H,size:h.BUTTON_SIZES.INHERIT,href:z,target:"_blank"},H)]))),a.default.createElement(h.Box,{className:"confirm-add-suggested-nft__content"},a.default.createElement(h.Box,{className:"confirm-add-suggested-nft__card",padding:2,borderRadius:T.BorderRadius.MD},a.default.createElement(h.Box,{className:(0,l.default)({"confirm-add-suggested-nft__nft-list":I.length>1})},I.map((({id:e,requestData:{asset:{address:t,tokenId:r,symbol:o,image:l,name:c}}})=>{const u=(0,b.getAssetImageURL)(l,j),d=(0,i.getTokenTrackerLink)(t,N,null,null,{blockExplorerUrl:(null==O?void 0:O.blockExplorerUrl)??null});return 1===I.length?a.default.createElement(h.Box,{className:"confirm-add-suggested-nft__nft-single",key:`confirm-add-suggested-nft__nft-single-${e}`,borderRadius:T.BorderRadius.MD,margin:0,padding:0},u?a.default.createElement("img",{className:"confirm-add-suggested-nft__nft-single-image",src:u,alt:c||r}):a.default.createElement(v.default,{className:"confirm-add-suggested-nft__nft-single-image-default",tokenId:r,name:c||o||(0,b.shortenAddress)(t)}),a.default.createElement(h.Box,{padding:1,display:T.Display.Flex,flexDirection:T.FlexDirection.Row,justifyContent:T.JustifyContent.spaceBetween,alignItems:T.AlignItems.Center},a.default.createElement(h.Box,{display:T.Display.Flex,flexDirection:T.FlexDirection.Column,justifyContent:T.JustifyContent.spaceEvenly,flexWrap:T.FlexWrap.NoWrap,width:T.BlockSize.Full,className:"confirm-add-suggested-nft__nft-single-sub-details"},O.blockExplorerUrl?a.default.createElement(h.ButtonLink,{className:"confirm-add-suggested-nft__nft-name",href:d,title:t,target:"_blank",size:h.BUTTON_SIZES.INHERIT},c||o||(0,b.shortenAddress)(t)):a.default.createElement(h.Text,{variant:T.TextVariant.bodyMd,className:"confirm-add-suggested-nft__nft-name",title:t},c||o||(0,b.shortenAddress)(t)),a.default.createElement(h.Text,{variant:T.TextVariant.bodyMd,color:T.TextColor.textAlternative,className:"confirm-add-suggested-nft__nft-tokenId"},"#",r)))):a.default.createElement(h.Box,{display:T.Display.Flex,flexDirection:T.FlexDirection.Row,flexWrap:T.FlexWrap.NoWrap,alignItems:T.AlignItems.Center,justifyContent:T.JustifyContent.spaceBetween,marginBottom:4,className:"confirm-add-suggested-nft__nft-list-item",key:`${t}-${r}`},a.default.createElement(h.Box,{display:T.Display.Flex,flexDirection:T.FlexDirection.Row,flexWrap:T.FlexWrap.NoWrap,alignItems:T.AlignItems.Center,justifyContent:T.JustifyContent.spaceBetween},u?a.default.createElement("img",{className:"confirm-add-suggested-nft__nft-image",src:u,alt:c||r}):a.default.createElement(v.default,{className:"confirm-add-suggested-nft__nft-image-default"}),a.default.createElement(h.Box,{display:T.Display.Flex,flexDirection:T.FlexDirection.Column,justifyContent:T.JustifyContent.spaceEvenly,flexWrap:T.FlexWrap.NoWrap,width:T.BlockSize.Full,className:"confirm-add-suggested-nft__nft-sub-details"},O.blockExplorerUrl?a.default.createElement(h.ButtonLink,{className:"confirm-add-suggested-nft__nft-name",href:d,title:t,target:"_blank",size:h.BUTTON_SIZES.INHERIT},c||o||(0,b.shortenAddress)(t)):a.default.createElement(h.Text,{variant:T.TextVariant.bodySm,className:"confirm-add-suggested-nft__nft-name",title:t},c||o||(0,b.shortenAddress)(t)),a.default.createElement(h.Text,{variant:T.TextVariant.bodySm,color:T.TextColor.textAlternative,className:"confirm-add-suggested-nft__nft-tokenId"},"#",r))),a.default.createElement(h.ButtonIcon,{className:"confirm-add-suggested-nft__nft-remove","data-testid":`confirm-add-suggested-nft__nft-remove-${e}`,iconName:h.IconName.Close,size:h.ButtonIconSize.Sm,color:T.IconColor.iconMuted,onClick:t=>{t.preventDefault(),t.stopPropagation(),n((0,f.rejectPendingApproval)(e,(0,s.serializeError)(s.ethErrors.provider.userRejectedRequest())))}}))}))))),a.default.createElement(c.PageContainerFooter,{cancelText:t("cancel"),submitText:1===I.length?t("addNft"):t("addNfts"),onCancel:V,onSubmit:U}))}}}},{package:"$root$",file:"ui/pages/confirm-add-suggested-nft/confirm-add-suggested-nft.js"}],[5462,{"./confirm-add-suggested-nft":5461},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./confirm-add-suggested-nft"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirm-add-suggested-nft/index.js"}],[5463,{"../../../shared/constants/metametrics":4505,"../../../shared/constants/transaction":4520,"../../../shared/modules/string-utils":4558,"../../components/component-library":4955,"../../components/ui/identicon":5247,"../../components/ui/page-container":5275,"../../components/ui/token-balance":5308,"../../contexts/i18n":5324,"../../contexts/metametrics":5327,"../../ducks/history/history":5343,"../../ducks/metamask/metamask":5346,"../../helpers/constants/design-system":5355,"../../helpers/constants/zendesk-url":5368,"../../selectors":5987,"../../store/actions":5998,"eth-rpc-errors":3257,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=x(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=e("react-redux"),o=e("react-router-dom"),s=e("eth-rpc-errors"),i=e("../../components/component-library"),l=k(e("../../components/ui/identicon")),c=k(e("../../components/ui/token-balance")),u=e("../../components/ui/page-container"),d=e("../../contexts/i18n"),p=e("../../contexts/metametrics"),f=e("../../ducks/history/history"),m=e("../../ducks/metamask/metamask"),g=k(e("../../helpers/constants/zendesk-url")),h=e("../../../shared/modules/string-utils"),y=e("../../store/actions"),v=e("../../../shared/constants/metametrics"),b=e("../../../shared/constants/transaction"),T=e("../../selectors"),_=e("../../helpers/constants/design-system");function k(e){return e&&e.__esModule?e:{default:e}}function x(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(x=function(e){return e?n:t})(e)}n.default=()=>{const e=(0,a.useContext)(d.I18nContext),t=(0,r.useDispatch)(),n=(0,o.useHistory)(),k=(0,r.useSelector)(f.getMostRecentOverviewPage),x=(0,r.useSelector)(T.getSuggestedTokens),E=(0,r.useSelector)(m.getTokens),w=(0,a.useContext)(p.MetaMetricsContext),C=(0,a.useMemo)((()=>function(e,t){const n=e.find((({requestData:{asset:e}})=>{const n=t.find((({address:t})=>(0,h.isEqualCaseInsensitive)(t,null==e?void 0:e.address)));return Boolean(n)}));return Boolean(n)}(x,E)&&a.default.createElement(i.BannerAlert,{severity:_.Severity.Warning,marginTop:4},e("knownTokenWarning",[a.default.createElement(i.Button,{variant:i.ButtonVariant.Link,key:"confirm-add-suggested-token-duplicate-warning",className:"confirm-add-suggested-token__link",externalLink:!0,size:i.ButtonLinkSize.Inherit,href:g.default.TOKEN_SAFETY_PRACTICES},e("learnScamRisk"))]))),[x,E,e]),S=(0,a.useMemo)((()=>function(e,t){const n=e.find((({requestData:{asset:e}})=>{const n=t.find((t=>(0,h.isEqualCaseInsensitive)(t.symbol,null==e?void 0:e.symbol)&&!(0,h.isEqualCaseInsensitive)(t.address,null==e?void 0:e.address)));return Boolean(n)}));return Boolean(n)}(x,E)&&a.default.createElement(i.BannerAlert,{marginTop:4,severity:_.Severity.Warning,description:e("reusedTokenNameWarning")})),[x,E,e]),P=(0,a.useCallback)((async()=>{await Promise.all(x.map((async({requestData:{asset:e},id:n})=>{await t((0,y.resolvePendingApproval)(n,null)),w({event:v.MetaMetricsEventName.TokenAdded,category:v.MetaMetricsEventCategory.Wallet,sensitiveProperties:{token_symbol:e.symbol,token_contract_address:e.address,token_decimal_precision:e.decimals,unlisted:e.unlisted,source:v.MetaMetricsTokenEventSource.Dapp,token_standard:b.TokenStandard.ERC20,asset_type:b.AssetType.token}})}))),n.push(k)}),[t,n,w,k,x]),M=(0,a.useCallback)((async()=>{await Promise.all(x.map((({id:e})=>t((0,y.rejectPendingApproval)(e,(0,s.serializeError)(s.ethErrors.provider.userRejectedRequest())))))),n.push(k)}),[t,n,k,x]);return(0,a.useEffect)((()=>{x.length||n.push(k)}),[]),a.default.createElement("div",{className:"page-container"},a.default.createElement("div",{className:"page-container__header"},a.default.createElement("div",{className:"page-container__title"},e("addSuggestedTokens")),a.default.createElement("div",{className:"page-container__subtitle"},e("likeToImportTokens")),C,S),a.default.createElement("div",{className:"page-container__content"},a.default.createElement("div",{className:"confirm-add-suggested-token"},a.default.createElement("div",{className:"confirm-add-suggested-token__header"},a.default.createElement("div",{className:"confirm-add-suggested-token__token"},e("token")),a.default.createElement("div",{className:"confirm-add-suggested-token__balance"},e("balance"))),a.default.createElement("div",{className:"confirm-add-suggested-token__token-list"},x.map((({requestData:{asset:e}})=>{return a.default.createElement("div",{className:"confirm-add-suggested-token__token-list-item",key:e.address},a.default.createElement("div",{className:"confirm-add-suggested-token__token confirm-add-suggested-token__data"},a.default.createElement(l.default,{className:"confirm-add-suggested-token__token-icon",diameter:48,address:e.address,image:e.image}),a.default.createElement("div",{className:"confirm-add-suggested-token__name"},(t=e.name,n=e.symbol,t===undefined?n:`${t} (${n})`))),a.default.createElement("div",{className:"confirm-add-suggested-token__balance"},a.default.createElement(c.default,{token:e})));var t,n}))))),a.default.createElement(u.PageContainerFooter,{cancelText:e("cancel"),submitText:e("addToken"),onCancel:M,onSubmit:P,disabled:0===x.length}))}}}},{package:"$root$",file:"ui/pages/confirm-add-suggested-token/confirm-add-suggested-token.js"}],[5464,{"./confirm-add-suggested-token":5463},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./confirm-add-suggested-token"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirm-add-suggested-token/index.js"}],[5465,{"../../../shared/constants/common":4495,"../../../shared/constants/copy":4496,"../../../shared/constants/metametrics":4505,"../../../shared/constants/time":4518,"../../../shared/modules/Numeric":4533,"../../../shared/modules/conversion.utils":4537,"../../components/app/account-list-item":4565,"../../components/component-library":4955,"../../components/ui/identicon":5247,"../../components/ui/page-container":5275,"../../components/ui/tooltip":5310,"../../helpers/constants/design-system":5355,"../../helpers/utils/confirm-tx.util":5381,classnames:3049,"copy-to-clipboard":3087,loglevel:3842,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=k(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=_(e("prop-types")),o=_(e("copy-to-clipboard")),s=_(e("classnames")),i=_(e("loglevel")),l=_(e("../../components/app/account-list-item")),c=_(e("../../components/ui/identicon")),u=_(e("../../components/ui/tooltip")),d=e("../../components/ui/page-container"),p=e("../../../shared/constants/metametrics"),f=e("../../../shared/constants/time"),m=e("../../../shared/modules/Numeric"),g=e("../../../shared/constants/common"),h=e("../../components/component-library"),y=e("../../helpers/constants/design-system"),v=e("../../helpers/utils/confirm-tx.util"),b=e("../../../shared/modules/conversion.utils"),T=e("../../../shared/constants/copy");function _(e){return e&&e.__esModule?e:{default:e}}function k(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(k=function(e){return e?n:t})(e)}function x(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class E extends a.Component{constructor(...e){super(...e),x(this,"state",{copyToClipboardPressed:!1,hasCopied:!1}),x(this,"copyMessage",(()=>{(0,o.default)(this.state.rawMessage,T.COPY_OPTIONS),this.context.trackEvent({category:p.MetaMetricsEventCategory.Messages,event:"Copy",properties:{action:"Decrypt Message Copy",legacy_event:!0}}),this.setState({hasCopied:!0}),setTimeout((()=>this.setState({hasCopied:!1})),3*f.SECOND)})),x(this,"renderHeader",(()=>a.default.createElement("div",{className:"request-decrypt-message__header"},a.default.createElement("div",{className:"request-decrypt-message__header-background"}),a.default.createElement("div",{className:"request-decrypt-message__header__text"},this.context.t("decryptRequest")),a.default.createElement("div",{className:"request-decrypt-message__header__tip-container"},a.default.createElement("div",{className:"request-decrypt-message__header__tip"}))))),x(this,"renderAccount",(()=>{const{fromAccount:e}=this.props,{t:t}=this.context;return a.default.createElement("div",{className:"request-decrypt-message__account"},a.default.createElement("div",{className:"request-decrypt-message__account-text"},`${t("account")}:`),a.default.createElement("div",{className:"request-decrypt-message__account-item"},a.default.createElement(l.default,{account:e})))})),x(this,"renderBalance",(()=>{const{conversionRate:e,nativeCurrency:t,currentCurrency:n,fromAccount:{balance:r}}=this.props,{t:o}=this.context,s=e?(0,v.formatCurrency)((0,b.getValueFromWeiHex)({value:r,fromCurrency:t,toCurrency:n,conversionRate:e,numberOfDecimals:6,toDenomination:g.EtherDenomination.ETH}),n):new m.Numeric(r,16,g.EtherDenomination.WEI).toDenomination(g.EtherDenomination.ETH).round(6).toBase(10).toString();return a.default.createElement("div",{className:"request-decrypt-message__balance"},a.default.createElement("div",{className:"request-decrypt-message__balance-text"},`${o("balance")}:`),a.default.createElement("div",{className:"request-decrypt-message__balance-value"},`${s} ${e?null==n?void 0:n.toUpperCase():t}`))})),x(this,"renderRequestIcon",(()=>{const{requesterAddress:e}=this.props;return a.default.createElement("div",{className:"request-decrypt-message__request-icon"},a.default.createElement(c.default,{diameter:40,address:e}))})),x(this,"renderAccountInfo",(()=>a.default.createElement("div",{className:"request-decrypt-message__account-info"},this.renderAccount(),this.renderRequestIcon(),this.renderBalance()))),x(this,"renderBody",(()=>{const{decryptMessageInline:e,subjectMetadata:t,txData:n}=this.props,{t:r}=this.context,o=t[n.msgParams.origin],i=(null==o?void 0:o.name)||n.msgParams.origin,l=r("decryptMessageNotice",[n.msgParams.origin]),{hasCopied:c,hasDecrypted:d,hasError:p,rawMessage:f,errorMessage:m,copyToClipboardPressed:g}=this.state;return a.default.createElement("div",{className:"request-decrypt-message__body"},this.renderAccountInfo(),a.default.createElement("div",{className:"request-decrypt-message__visual"},a.default.createElement("section",null,null!=o&&o.iconUrl?a.default.createElement("img",{className:"request-decrypt-message__visual-identicon",src:o.iconUrl,alt:""}):a.default.createElement("i",{className:"request-decrypt-message__visual-identicon--default"},i.charAt(0).toUpperCase()),a.default.createElement("div",{className:"request-decrypt-message__notice"},l))),a.default.createElement("div",{className:"request-decrypt-message__message"},a.default.createElement("div",{className:"request-decrypt-message__message-text"},d||p?f:n.msgParams.data,p?m:""),a.default.createElement("div",{className:(0,s.default)("request-decrypt-message__message-cover",{"request-decrypt-message__message-lock--pressed":d||p})}),a.default.createElement("div",{className:(0,s.default)("request-decrypt-message__message-lock",{"request-decrypt-message__message-lock--pressed":d||p}),onClick:t=>{e(n,t).then((e=>{e.error?this.setState({hasError:!0,errorMessage:this.context.t("decryptInlineError",[e.error])}):this.setState({hasDecrypted:!0,rawMessage:e.rawSig})}))}},a.default.createElement("div",{className:"request-decrypt-message__message-lock__container"},a.default.createElement("i",{className:"fa fa-lock fa-lg request-decrypt-message__message-lock__container__icon"}),a.default.createElement("div",{className:"request-decrypt-message__message-lock__container__text"},r("decryptMetamask"))))),d?a.default.createElement("div",{className:(0,s.default)({"request-decrypt-message__message-copy":!0,"request-decrypt-message__message-copy--pressed":g}),onClick:()=>this.copyMessage(),onMouseDown:()=>this.setState({copyToClipboardPressed:!0}),onMouseUp:()=>this.setState({copyToClipboardPressed:!1})},a.default.createElement(u.default,{position:"bottom",title:r(c?"copiedExclamation":"copyToClipboard"),wrapperClassName:"request-decrypt-message__message-copy-tooltip",style:{display:"flex",alignItems:"center"}},a.default.createElement("div",{className:"request-decrypt-message__message-copy-text"},r("decryptCopy")),a.default.createElement(h.Icon,{name:c?h.IconName.CopySuccess:h.IconName.Copy,color:y.IconColor.primaryDefault}))):a.default.createElement("div",null))})),x(this,"renderFooter",(()=>{const{cancelDecryptMessage:e,clearConfirmTransaction:t,decryptMessage:n,history:r,mostRecentOverviewPage:o,txData:s}=this.props,{trackEvent:i,t:l}=this.context;return a.default.createElement(d.PageContainerFooter,{cancelText:l("cancel"),submitText:l("decrypt"),onCancel:async n=>{await e(s,n),i({category:p.MetaMetricsEventCategory.Messages,event:"Cancel",properties:{action:"Decrypt Message Request",legacy_event:!0}}),t(),r.push(o)},onSubmit:async e=>{await n(s,e),i({category:p.MetaMetricsEventCategory.Messages,event:"Confirm",properties:{action:"Decrypt Message Request",legacy_event:!0}}),t(),r.push(o)}})})),x(this,"render",(()=>this.props.txData?a.default.createElement("div",{className:"request-decrypt-message__container"},this.renderHeader(),this.renderBody(),this.renderFooter()):(i.default.warn("ConfirmDecryptMessage Page: Missing txData prop."),null)))}}n.default=E,x(E,"contextTypes",{t:r.default.func.isRequired,trackEvent:r.default.func.isRequired}),x(E,"propTypes",{fromAccount:r.default.shape({address:r.default.string.isRequired,balance:r.default.string,name:r.default.string}).isRequired,clearConfirmTransaction:r.default.func.isRequired,cancelDecryptMessage:r.default.func.isRequired,decryptMessage:r.default.func.isRequired,decryptMessageInline:r.default.func.isRequired,history:r.default.object.isRequired,mostRecentOverviewPage:r.default.string.isRequired,requesterAddress:r.default.string,txData:r.default.object,subjectMetadata:r.default.object,nativeCurrency:r.default.string.isRequired,currentCurrency:r.default.string.isRequired,conversionRate:r.default.number})}}},{package:"$root$",file:"ui/pages/confirm-decrypt-message/confirm-decrypt-message.component.js"}],[5466,{"../../ducks/confirm-transaction/confirm-transaction.duck":5338,"../../ducks/history/history":5343,"../../ducks/metamask/metamask":5346,"../../selectors":5987,"../../store/actions":5998,"./confirm-decrypt-message.component":5465,lodash:3836,"react-redux":4199,"react-router-dom":4228,redux:4261},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=e("react-redux"),o=e("redux"),s=e("react-router-dom"),i=e("lodash"),l=e("../../store/actions"),c=e("../../selectors"),u=e("../../ducks/confirm-transaction/confirm-transaction.duck"),d=e("../../ducks/history/history"),p=e("../../ducks/metamask/metamask"),f=(a=e("./confirm-decrypt-message.component"))&&a.__esModule?a:{default:a};n.default=(0,o.compose)(s.withRouter,(0,r.connect)((function(e){var t;const{metamask:{subjectMetadata:n={}}}=e,{useNativeCurrencyAsPrimaryCurrency:a}=(0,c.getPreferences)(e),r=(0,c.unconfirmedTransactionsListSelector)(e),o=(0,i.cloneDeep)(r[0]);return{txData:o,subjectMetadata:n,fromAccount:(0,c.getTargetAccountWithSendEtherInfo)(e,null==o||null===(t=o.msgParams)||void 0===t?void 0:t.from),requester:null,requesterAddress:null,conversionRate:a?null:(0,c.conversionRateSelector)(e),mostRecentOverviewPage:(0,d.getMostRecentOverviewPage)(e),nativeCurrency:(0,p.getNativeCurrency)(e),currentCurrency:(0,c.getCurrentCurrency)(e)}}),(function(e){return{goHome:()=>e((0,l.goHome)()),clearConfirmTransaction:()=>e((0,u.clearConfirmTransaction)()),decryptMessage:(t,n)=>{const a=t.msgParams;return a.metamaskId=t.id,n.stopPropagation(n),e((0,l.decryptMsg)(a))},cancelDecryptMessage:(t,n)=>(n.stopPropagation(n),e((0,l.cancelDecryptMsg)(t))),decryptMessageInline:(t,n)=>{const a=t.msgParams;return a.metamaskId=t.id,n.stopPropagation(n),e((0,l.decryptMsgInline)(a))}}})))(f.default)}}},{package:"$root$",file:"ui/pages/confirm-decrypt-message/confirm-decrypt-message.container.js"}],[5467,{"./confirm-decrypt-message.container":5466},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./confirm-decrypt-message.container"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirm-decrypt-message/index.js"}],[5468,{"../../../shared/constants/common":4495,"../../../shared/constants/metametrics":4505,"../../../shared/modules/Numeric":4533,"../../../shared/modules/conversion.utils":4537,"../../components/app/account-list-item":4565,"../../components/ui/identicon":5247,"../../components/ui/page-container":5275,"../../components/ui/site-origin":5292,"../../helpers/utils/confirm-tx.util":5381,loglevel:3842,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=h(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=g(e("prop-types")),o=g(e("loglevel")),s=g(e("../../components/app/account-list-item")),i=g(e("../../components/ui/identicon")),l=e("../../components/ui/page-container"),c=e("../../../shared/constants/metametrics"),u=g(e("../../components/ui/site-origin")),d=e("../../../shared/modules/Numeric"),p=e("../../../shared/constants/common"),f=e("../../helpers/utils/confirm-tx.util"),m=e("../../../shared/modules/conversion.utils");function g(e){return e&&e.__esModule?e:{default:e}}function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(h=function(e){return e?n:t})(e)}function y(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class v extends a.Component{constructor(...e){super(...e),y(this,"renderHeader",(()=>a.default.createElement("div",{className:"request-encryption-public-key__header"},a.default.createElement("div",{className:"request-encryption-public-key__header-background"}),a.default.createElement("div",{className:"request-encryption-public-key__header__text"},this.context.t("encryptionPublicKeyRequest")),a.default.createElement("div",{className:"request-encryption-public-key__header__tip-container"},a.default.createElement("div",{className:"request-encryption-public-key__header__tip"}))))),y(this,"renderAccount",(()=>{const{fromAccount:e}=this.props,{t:t}=this.context;return a.default.createElement("div",{className:"request-encryption-public-key__account"},a.default.createElement("div",{className:"request-encryption-public-key__account-text"},`${t("account")}:`),a.default.createElement("div",{className:"request-encryption-public-key__account-item"},a.default.createElement(s.default,{account:e})))})),y(this,"renderBalance",(()=>{const{conversionRate:e,nativeCurrency:t,currentCurrency:n,fromAccount:{balance:r}}=this.props,{t:o}=this.context,s=e?(0,f.formatCurrency)((0,m.getValueFromWeiHex)({value:r,fromCurrency:t,toCurrency:n,conversionRate:e,numberOfDecimals:6,toDenomination:p.EtherDenomination.ETH}),n):new d.Numeric(r,16,p.EtherDenomination.WEI).toDenomination(p.EtherDenomination.ETH).round(6).toBase(10).toString();return a.default.createElement("div",{className:"request-encryption-public-key__balance"},a.default.createElement("div",{className:"request-encryption-public-key__balance-text"},`${o("balance")}:`),a.default.createElement("div",{className:"request-encryption-public-key__balance-value"},`${s} ${e?null==n?void 0:n.toUpperCase():t}`))})),y(this,"renderRequestIcon",(()=>{const{requesterAddress:e}=this.props;return a.default.createElement("div",{className:"request-encryption-public-key__request-icon"},a.default.createElement(i.default,{diameter:40,address:e}))})),y(this,"renderAccountInfo",(()=>a.default.createElement("div",{className:"request-encryption-public-key__account-info"},this.renderAccount(),this.renderRequestIcon(),this.renderBalance()))),y(this,"renderBody",(()=>{const{subjectMetadata:e,txData:t}=this.props,{t:n}=this.context,r=e[t.origin],o=n("encryptionPublicKeyNotice",[a.default.createElement(u.default,{siteOrigin:t.origin,key:t.origin})]),s=(null==r?void 0:r.hostname)||t.origin;return a.default.createElement("div",{className:"request-encryption-public-key__body"},this.renderAccountInfo(),a.default.createElement("div",{className:"request-encryption-public-key__visual"},a.default.createElement("section",null,null!=r&&r.iconUrl?a.default.createElement("img",{className:"request-encryption-public-key__visual-identicon",src:r.iconUrl,alt:""}):a.default.createElement("i",{className:"request-encryption-public-key__visual-identicon--default"},s.charAt(0).toUpperCase()),a.default.createElement("div",{className:"request-encryption-public-key__notice"},o))))})),y(this,"renderFooter",(()=>{const{cancelEncryptionPublicKey:e,clearConfirmTransaction:t,encryptionPublicKey:n,history:r,mostRecentOverviewPage:o,txData:s}=this.props,{t:i,trackEvent:u}=this.context;return a.default.createElement(l.PageContainerFooter,{cancelText:i("cancel"),submitText:i("provide"),onCancel:async n=>{await e(s,n),u({category:c.MetaMetricsEventCategory.Messages,event:"Cancel",properties:{action:"Encryption public key Request",legacy_event:!0}}),t(),r.push(o)},onSubmit:async e=>{await n(s,e),this.context.trackEvent({category:c.MetaMetricsEventCategory.Messages,event:"Confirm",properties:{action:"Encryption public key Request",legacy_event:!0}}),t(),r.push(o)}})})),y(this,"render",(()=>this.props.txData?a.default.createElement("div",{className:"request-encryption-public-key__container"},this.renderHeader(),this.renderBody(),this.renderFooter()):(o.default.warn("ConfirmEncryptionPublicKey Page: Missing txData prop."),null)))}}n.default=v,y(v,"contextTypes",{t:r.default.func.isRequired,trackEvent:r.default.func.isRequired}),y(v,"propTypes",{fromAccount:r.default.shape({address:r.default.string.isRequired,balance:r.default.string,name:r.default.string}).isRequired,clearConfirmTransaction:r.default.func.isRequired,cancelEncryptionPublicKey:r.default.func.isRequired,encryptionPublicKey:r.default.func.isRequired,history:r.default.object.isRequired,requesterAddress:r.default.string,txData:r.default.object,subjectMetadata:r.default.object,mostRecentOverviewPage:r.default.string.isRequired,nativeCurrency:r.default.string.isRequired,currentCurrency:r.default.string.isRequired,conversionRate:r.default.number})}}},{package:"$root$",file:"ui/pages/confirm-encryption-public-key/confirm-encryption-public-key.component.js"}],[5469,{"../../ducks/confirm-transaction/confirm-transaction.duck":5338,"../../ducks/history/history":5343,"../../ducks/metamask/metamask":5346,"../../selectors":5987,"../../store/actions":5998,"./confirm-encryption-public-key.component":5468,"react-redux":4199,"react-router-dom":4228,redux:4261},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=e("react-redux"),o=e("redux"),s=e("react-router-dom"),i=e("../../store/actions"),l=e("../../selectors"),c=e("../../ducks/confirm-transaction/confirm-transaction.duck"),u=e("../../ducks/history/history"),d=e("../../ducks/metamask/metamask"),p=(a=e("./confirm-encryption-public-key.component"))&&a.__esModule?a:{default:a};n.default=(0,o.compose)(s.withRouter,(0,r.connect)((function(e){const{metamask:{subjectMetadata:t={}}}=e,{useNativeCurrencyAsPrimaryCurrency:n}=(0,l.getPreferences)(e),a=(0,l.unconfirmedTransactionsListSelector)(e)[0];return{txData:a,subjectMetadata:t,fromAccount:(0,l.getTargetAccountWithSendEtherInfo)(e,null==a?void 0:a.msgParams),requester:null,requesterAddress:null,conversionRate:n?null:(0,l.conversionRateSelector)(e),mostRecentOverviewPage:(0,u.getMostRecentOverviewPage)(e),nativeCurrency:(0,d.getNativeCurrency)(e),currentCurrency:(0,l.getCurrentCurrency)(e)}}),(function(e){return{goHome:()=>e((0,i.goHome)()),clearConfirmTransaction:()=>e((0,c.clearConfirmTransaction)()),encryptionPublicKey:(t,n)=>{const a={data:t.msgParams,metamaskId:t.id};return n.stopPropagation(),e((0,i.encryptionPublicKeyMsg)(a))},cancelEncryptionPublicKey:(t,n)=>(n.stopPropagation(),e((0,i.cancelEncryptionPublicKeyMsg)(t)))}})))(p.default)}}},{package:"$root$",file:"ui/pages/confirm-encryption-public-key/confirm-encryption-public-key.container.js"}],[5470,{"./confirm-encryption-public-key.container":5469},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./confirm-encryption-public-key.container"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirm-encryption-public-key/index.js"}],[5471,{"../../../../components/ui/form-field":5226,"../../../../contexts/i18n":5324,"../../../../helpers/constants/gas":5357,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=u;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=l(e("prop-types")),o=e("../../../../contexts/i18n"),s=l(e("../../../../components/ui/form-field")),i=e("../../../../helpers/constants/gas");function l(e){return e&&e.__esModule?e:{default:e}}function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}function u({onManualChange:e,gasLimit:t,setGasLimit:n,gasPrice:r,setGasPrice:l,gasErrors:c,minimumGasLimit:u}){const d=(0,a.useContext)(o.I18nContext);return a.default.createElement("div",{className:"advanced-gas-controls"},a.default.createElement(s.default,{titleText:d("gasLimit"),error:null!=c&&c.gasLimit?(0,i.getGasFormErrorText)(c.gasLimit,d,{minimumGasLimit:u}):null,onChange:t=>{null==e||e(),n(t)},tooltipText:d("editGasLimitTooltip"),value:t,allowDecimals:!1,numeric:!0}),a.default.createElement(a.default.Fragment,null,a.default.createElement(s.default,{titleText:d("advancedGasPriceTitle"),titleUnit:"(GWEI)",onChange:t=>{null==e||e(),l(t)},tooltipText:d("editGasPriceTooltip"),value:r,numeric:!0,allowDecimals:!0,error:null!=c&&c.gasPrice?(0,i.getGasFormErrorText)(c.gasPrice,d):null})))}u.propTypes={onManualChange:r.default.func,gasLimit:r.default.number,setGasLimit:r.default.func,gasPrice:r.default.string,setGasPrice:r.default.func,minimumGasLimit:r.default.string,gasErrors:r.default.object}}}},{package:"$root$",file:"ui/pages/confirmations/components/advanced-gas-controls/advanced-gas-controls.component.js"}],[5472,{"../../../../../../shared/constants/gas":4500,"../../../../../../shared/modules/Numeric":4533,"../../../../../components/component-library":4955,"../../../../../contexts/gasFee":5323,"../../../../../helpers/constants/design-system":5355,"../../../../../hooks/useI18nContext":5427,"../../../../../selectors":5987,"../../../../../store/actions":5998,"../../../hooks/useTransactionEventFragment":5711,"../context":5488,lodash:3836,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=h(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=e("react-redux"),o=e("lodash"),s=e("../../../hooks/useTransactionEventFragment"),i=e("../../../../../../shared/constants/gas"),l=e("../../../../../helpers/constants/design-system"),c=e("../../../../../selectors"),u=e("../../../../../store/actions"),d=e("../../../../../contexts/gasFee"),p=e("../context"),f=e("../../../../../hooks/useI18nContext"),m=e("../../../../../components/component-library"),g=e("../../../../../../shared/modules/Numeric");function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(h=function(e){return e?n:t})(e)}n.default=()=>{const e=(0,f.useI18nContext)(),t=(0,r.useDispatch)(),{gasErrors:n,maxBaseFee:h,maxPriorityFeePerGas:y}=(0,p.useAdvancedGasFeePopoverContext)(),v=new g.Numeric(h,10).toString(),b=new g.Numeric(y,10).toString(),T=(0,r.useSelector)(c.getAdvancedGasFeeValues),_=(0,r.useSelector)(c.getCurrentChainId),k=(0,r.useSelector)(c.getNetworkIdentifier),{updateTransactionEventFragment:x}=(0,s.useTransactionEventFragment)(),{editGasMode:E}=(0,d.useGasFeeContext)(),[w,C]=(0,a.useState)(Boolean(T)&&T.maxBaseFee===v&&T.priorityFee===b);(0,a.useEffect)((()=>{C(Boolean(T)&&T.maxBaseFee===v&&T.priorityFee===b)}),[T,v,b]);return E===i.EditGasModes.swaps?null:a.default.createElement(m.Box,{display:l.Display.Flex,flexDirection:l.FlexDirection.Row,marginTop:4,marginLeft:2,marginRight:2,paddingTop:4,paddingBottom:4,className:"advanced-gas-fee-defaults"},a.default.createElement(m.Checkbox,{isChecked:w,onChange:()=>{w?(t((0,u.setAdvancedGasFee)({chainId:_,gasFeePreferences:undefined})),C(!1),x({properties:{advanced_gas_defaults_updated_maxbasefee:null,advanced_gas_defaults_updated_priorityfee:null}})):(t((0,u.setAdvancedGasFee)({chainId:_,gasFeePreferences:{maxBaseFee:v,priorityFee:b}})),x({properties:{advanced_gas_defaults_updated_maxbasefee:v,advanced_gas_defaults_updated_priorityfee:b}}))},isDisabled:n.maxFeePerGas||n.maxPriorityFeePerGas,label:e("advancedGasFeeDefaultOptIn",[(0,o.capitalize)(k)])}))}}}},{package:"$root$",file:"ui/pages/confirmations/components/advanced-gas-fee-popover/advanced-gas-fee-defaults/advanced-gas-fee-defaults.js"}],[5473,{"./advanced-gas-fee-defaults":5472},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./advanced-gas-fee-defaults"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/advanced-gas-fee-popover/advanced-gas-fee-defaults/index.js"}],[5474,{"../../../../../components/component-library":4955,"../../../../../components/ui/button":5198,"../../../../../components/ui/form-field":5226,"../../../../../contexts/gasFee":5323,"../../../../../helpers/constants/design-system":5355,"../../../../../helpers/utils/util":5399,"../../../../../hooks/useI18nContext":5427,"../../../constants":5685,"../../../send/send.constants":5721,"../context":5488,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=g(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=e("../../../../../contexts/gasFee"),o=e("../../../../../helpers/utils/util"),s=e("../../../../../helpers/constants/design-system"),i=e("../../../../../hooks/useI18nContext"),l=e("../../../send/send.constants"),c=m(e("../../../../../components/ui/button")),u=m(e("../../../../../components/ui/form-field")),d=e("../context"),p=e("../../../../../components/component-library"),f=e("../../../constants");function m(e){return e&&e.__esModule?e:{default:e}}function g(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(g=function(e){return e?n:t})(e)}n.default=()=>{const e=(0,i.useI18nContext)(),{setGasLimit:t,setErrorValue:n}=(0,d.useAdvancedGasFeePopoverContext)(),{gasLimit:m,minimumGasLimitDec:g,transaction:{chainId:h}}=(0,r.useGasFeeContext)(),[y,v]=(0,a.useState)(!1),[b,T]=(0,a.useState)(m),[_,k]=(0,a.useState)(),x=e=>{T(e)};return(0,a.useEffect)((()=>{if(t(b),f.IGNORE_GAS_LIMIT_CHAIN_IDS.includes(h))return;const e=((e,t)=>(0,o.bnLessThan)(e,t)||(0,o.bnGreaterThan)(e,l.MAX_GAS_LIMIT_DEC)?"editGasLimitOutOfBoundsV2":null)(b,g);k(e),n("gasLimit","editGasLimitOutOfBoundsV2"===e)}),[h,b,g,t,n]),y?a.default.createElement(u.default,{dataTestId:"gas-limit-input",error:_?e(_,[g-1,l.MAX_GAS_LIMIT_DEC]):"",onChange:x,titleText:e("gasLimitV2"),value:b,allowDecimals:!1,numeric:!0}):a.default.createElement(p.Text,{tag:s.TextVariant.bodyMd,variant:s.TextVariant.bodySm,as:"h6",className:"advanced-gas-fee-gas-limit",marginTop:4,marginLeft:2,marginRight:2},a.default.createElement("strong",null,e("gasLimitV2")),a.default.createElement("span",null,b),a.default.createElement(c.default,{"data-testid":"advanced-gas-fee-edit",className:"advanced-gas-fee-gas-limit__edit-link",onClick:()=>v(!0),type:"link"},e("edit")))}}}},{package:"$root$",file:"ui/pages/confirmations/components/advanced-gas-fee-popover/advanced-gas-fee-gas-limit/advanced-gas-fee-gas-limit.js"}],[5475,{"./advanced-gas-fee-gas-limit":5474},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./advanced-gas-fee-gas-limit"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/advanced-gas-fee-popover/advanced-gas-fee-gas-limit/index.js"}],[5476,{"../../../../../components/ui/box":5194,"../../../../../components/ui/loading-heartbeat":5253,"../../../../../contexts/i18n":5324,"../../../../../helpers/utils/gas":5384,"../../../../../helpers/utils/util":5399,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=p(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=d(e("prop-types")),o=d(e("classnames")),s=e("../../../../../helpers/utils/util"),i=e("../../../../../helpers/utils/gas"),l=e("../../../../../contexts/i18n"),c=d(e("../../../../../components/ui/box")),u=d(e("../../../../../components/ui/loading-heartbeat"));function d(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(p=function(e){return e?n:t})(e)}const f=({latest:e,historical:t,trend:n})=>{const r=(0,a.useContext)(l.I18nContext),d=function(e,t){switch(e){case"up":return{className:"fa-arrow-up advanced-gas-fee-input-subtext__up",color:"var(--color-success-default)",title:t("upArrow")};case"down":return{className:"fa-arrow-down advanced-gas-fee-input-subtext__down",color:"var(--color-error-default)",title:t("downArrow")};case"level":return{className:"fa-arrow-right advanced-gas-fee-input-subtext__level",color:"var(--color-icon-alternative)",title:t("levelArrow")};default:return null}}(n,r);return a.default.createElement(c.default,{display:"flex",alignItems:"center",gap:4,className:"advanced-gas-fee-input-subtext"},(0,s.isNullish)(e)?null:a.default.createElement(c.default,{display:"flex",alignItems:"center","data-testid":"latest"},a.default.createElement("span",{className:"advanced-gas-fee-input-subtext__label"},r("currentTitle")),a.default.createElement("span",{className:"advanced-gas-fee-input-subtext__value"},a.default.createElement(u.default,null),(0,i.formatGasFeeOrFeeRange)(e)),null===d?null:a.default.createElement("span",{className:"advanced-gas-fee-input-subtext__icon"},a.default.createElement("i",{className:(0,o.default)("fa",d.className),style:{color:d.color},title:d.title,"data-testid":"fee-arrow"}))),(0,s.isNullish)(t)?null:a.default.createElement(c.default,null,a.default.createElement("span",{className:"advanced-gas-fee-input-subtext__label","data-testid":"historical"},r("twelveHrTitle")),a.default.createElement("span",{className:"advanced-gas-fee-input-subtext__value"},a.default.createElement(u.default,null),(0,i.formatGasFeeOrFeeRange)(t))))};f.propTypes={latest:r.default.oneOfType([r.default.string,r.default.arrayOf(r.default.string)]),historical:r.default.oneOfType([r.default.string,r.default.arrayOf(r.default.string)]),trend:r.default.oneOf(["up","down","level"])};n.default=f}}},{package:"$root$",file:"ui/pages/confirmations/components/advanced-gas-fee-popover/advanced-gas-fee-input-subtext/advanced-gas-fee-input-subtext.js"}],[5477,{"./advanced-gas-fee-input-subtext":5476},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./advanced-gas-fee-input-subtext"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/advanced-gas-fee-popover/advanced-gas-fee-input-subtext/index.js"}],[5478,{"../../../../../components/ui/box":5194,"./base-fee-input":5480,"./priority-fee-input":5482,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=i(e("react")),r=i(e("../../../../../components/ui/box")),o=i(e("./base-fee-input")),s=i(e("./priority-fee-input"));function i(e){return e&&e.__esModule?e:{default:e}}n.default=()=>a.default.createElement(r.default,{className:"advanced-gas-fee-inputs"},a.default.createElement(o.default,null),a.default.createElement(s.default,null))}}},{package:"$root$",file:"ui/pages/confirmations/components/advanced-gas-fee-popover/advanced-gas-fee-inputs/advanced-gas-fee-inputs.js"}],[5479,{"../../../../../../../shared/constants/gas":4500,"../../../../../../../shared/modules/Numeric":4533,"../../../../../../../shared/modules/conversion.utils":4537,"../../../../../../components/ui/box":5194,"../../../../../../components/ui/form-field":5226,"../../../../../../contexts/gasFee":5323,"../../../../../../helpers/constants/common":5353,"../../../../../../hooks/useCurrencyDisplay":5418,"../../../../../../hooks/useI18nContext":5427,"../../../../../../hooks/useUserPreferencedCurrency":5452,"../../../../../../selectors":5987,"../../../../constants":5685,"../../../../send/send.constants":5721,"../../advanced-gas-fee-input-subtext":5477,"../../context":5488,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=_(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=e("react-redux"),o=e("../../../../send/send.constants"),s=e("../../../../../../../shared/constants/gas"),i=e("../../../../../../helpers/constants/common"),l=e("../../../../../../selectors"),c=e("../../../../../../contexts/gasFee"),u=e("../../../../../../hooks/useI18nContext"),d=e("../../../../../../hooks/useUserPreferencedCurrency"),p=e("../../../../../../hooks/useCurrencyDisplay"),f=T(e("../../../../../../components/ui/box")),m=T(e("../../../../../../components/ui/form-field")),g=e("../../context"),h=T(e("../../advanced-gas-fee-input-subtext")),y=e("../../../../../../../shared/modules/conversion.utils"),v=e("../../../../../../../shared/modules/Numeric"),b=e("../../../../constants");function T(e){return e&&e.__esModule?e:{default:e}}function _(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(_=function(e){return e?n:t})(e)}n.default=()=>{const e=(0,u.useI18nContext)(),{gasFeeEstimates:t,estimateUsed:n,maxFeePerGas:T,editGasMode:_,transaction:{chainId:k}}=(0,c.useGasFeeContext)(),x=new v.Numeric(T,10).toString(),{gasLimit:E,maxPriorityFeePerGas:w,setErrorValue:C,setMaxFeePerGas:S,setMaxBaseFee:P}=(0,g.useAdvancedGasFeePopoverContext)(),{estimatedBaseFee:M,historicalBaseFeeRange:I,baseFeeTrend:O}=t??{},[N,j]=(0,a.useState)(),{currency:D,numberOfDecimals:A}=(0,d.useUserPreferencedCurrency)(i.PRIMARY),F=(0,r.useSelector)(l.getAdvancedGasFeeValues),R=n!==s.PriorityLevels.custom&&null!=F&&F.maxBaseFee&&_!==s.EditGasModes.swaps?F.maxBaseFee:x,[B,L]=(0,a.useState)(R>0?R:undefined);(0,a.useEffect)((()=>{B===undefined&&R>0&&L(R)}),[B,R,L]);const[$]=(0,p.useCurrencyDisplay)((0,y.decGWEIToHexWEI)(B*E),{currency:D,numberOfDecimals:A}),G=(0,a.useCallback)((e=>{L(e)}),[L]);return(0,a.useEffect)((()=>{S(B);const e=((e,t,n,a)=>{const r=new v.Numeric(e,10);return new v.Numeric(n,10).greaterThan(r)?"editGasMaxBaseFeeGWEIImbalance":null!=t&&t.low&&r.lessThan(t.low.suggestedMaxFeePerGas,10)&&b.IGNORE_GAS_LIMIT_CHAIN_IDS.includes(a)?"editGasMaxBaseFeeLow":null!=t&&t.high&&r.greaterThan(t.high.suggestedMaxFeePerGas*o.HIGH_FEE_WARNING_MULTIPLIER,10)?"editGasMaxBaseFeeHigh":null})(B,t,w,k);j(e),C("maxFeePerGas","editGasMaxBaseFeeGWEIImbalance"===e),P(B)}),[B,k,t,w,j,C,S,P]),a.default.createElement(f.default,{className:"base-fee-input",marginLeft:2,marginRight:2},a.default.createElement(m.default,{dataTestId:"base-fee-input",error:N?e(N):"",onChange:G,titleText:e("maxBaseFee"),titleUnit:`(${e("gwei")})`,tooltipText:e("advancedBaseGasFeeToolTip"),value:B,detailText:`≈ ${$}`,allowDecimals:!0,numeric:!0}),a.default.createElement(h.default,{latest:M,historical:I,trend:O}))}}}},{package:"$root$",file:"ui/pages/confirmations/components/advanced-gas-fee-popover/advanced-gas-fee-inputs/base-fee-input/base-fee-input.js"}],[5480,{"./base-fee-input":5479},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./base-fee-input"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/advanced-gas-fee-popover/advanced-gas-fee-inputs/base-fee-input/index.js"}],[5481,{"./advanced-gas-fee-inputs":5478},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./advanced-gas-fee-inputs"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/advanced-gas-fee-popover/advanced-gas-fee-inputs/index.js"}],[5482,{"./priority-fee-input":5483},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./priority-fee-input"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/advanced-gas-fee-popover/advanced-gas-fee-inputs/priority-fee-input/index.js"}],[5483,{"../../../../../../../shared/constants/gas":4500,"../../../../../../../shared/modules/Numeric":4533,"../../../../../../../shared/modules/conversion.utils":4537,"../../../../../../components/ui/box":5194,"../../../../../../components/ui/form-field":5226,"../../../../../../contexts/gasFee":5323,"../../../../../../helpers/constants/common":5353,"../../../../../../hooks/useCurrencyDisplay":5418,"../../../../../../hooks/useI18nContext":5427,"../../../../../../hooks/useUserPreferencedCurrency":5452,"../../../../../../selectors":5987,"../../../../constants":5685,"../../../../send/send.constants":5721,"../../advanced-gas-fee-input-subtext":5477,"../../context":5488,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=_(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=e("react-redux"),o=e("../../../../send/send.constants"),s=e("../../../../../../../shared/constants/gas"),i=e("../../../../../../helpers/constants/common"),l=e("../../../../../../selectors"),c=e("../../../../../../hooks/useCurrencyDisplay"),u=e("../../../../../../contexts/gasFee"),d=e("../../../../../../hooks/useI18nContext"),p=e("../../../../../../hooks/useUserPreferencedCurrency"),f=T(e("../../../../../../components/ui/form-field")),m=T(e("../../../../../../components/ui/box")),g=e("../../context"),h=T(e("../../advanced-gas-fee-input-subtext")),y=e("../../../../../../../shared/modules/conversion.utils"),v=e("../../../../../../../shared/modules/Numeric"),b=e("../../../../constants");function T(e){return e&&e.__esModule?e:{default:e}}function _(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(_=function(e){return e?n:t})(e)}n.default=()=>{const e=(0,d.useI18nContext)(),t=(0,r.useSelector)(l.getAdvancedGasFeeValues),{gasLimit:n,setErrorValue:T,setMaxPriorityFeePerGas:_}=(0,g.useAdvancedGasFeePopoverContext)(),{editGasMode:k,estimateUsed:x,gasFeeEstimates:E,maxPriorityFeePerGas:w,transaction:{chainId:C}}=(0,u.useGasFeeContext)(),S=new v.Numeric(w,10).toString(),{latestPriorityFeeRange:P,historicalPriorityFeeRange:M,priorityFeeTrend:I}=E??{},[O,N]=(0,a.useState)(),j=x!==s.PriorityLevels.custom&&null!=t&&t.priorityFee&&k!==s.EditGasModes.swaps?t.priorityFee:S,[D,A]=(0,a.useState)(j>0?j:undefined);(0,a.useEffect)((()=>{D===undefined&&j>0&&A(j)}),[D,j,A]);const{currency:F,numberOfDecimals:R}=(0,p.useUserPreferencedCurrency)(i.PRIMARY),[B]=(0,c.useCurrencyDisplay)((0,y.decGWEIToHexWEI)(D*n),{currency:F,numberOfDecimals:R});return(0,a.useEffect)((()=>{_(D);const e=((e,t,n)=>{const a=new v.Numeric(e,10);return a.lessThan(0,10)?"editGasMaxPriorityFeeBelowMinimumV2":null!=t&&t.low&&a.lessThan(t.low.suggestedMaxPriorityFeePerGas,10)&&b.IGNORE_GAS_LIMIT_CHAIN_IDS.includes(n)?"editGasMaxPriorityFeeLowV2":null!=t&&t.high&&a.greaterThan(t.high.suggestedMaxPriorityFeePerGas*o.HIGH_FEE_WARNING_MULTIPLIER,10)?"editGasMaxPriorityFeeHighV2":null})(D,E,C);T("maxPriorityFeePerGas","editGasMaxPriorityFeeBelowMinimumV2"===e),N(e)}),[C,E,D,T,_,N]),a.default.createElement(m.default,{marginTop:4,marginLeft:2,marginRight:2,className:"priority-fee-input"},a.default.createElement(f.default,{dataTestId:"priority-fee-input",error:O?e(O):"",onChange:e=>{A(e)},titleText:e("priorityFeeProperCase"),titleUnit:`(${e("gwei")})`,tooltipText:e("advancedPriorityFeeToolTip"),value:D,detailText:`≈ ${B}`,allowDecimals:!0,numeric:!0}),a.default.createElement(h.default,{latest:P,historical:M,trend:I}))}}}},{package:"$root$",file:"ui/pages/confirmations/components/advanced-gas-fee-popover/advanced-gas-fee-inputs/priority-fee-input/priority-fee-input.js"}],[5484,{"../../../../components/ui/box":5194,"../../../../components/ui/popover":5281,"../../../../contexts/transaction-modal":5331,"../../../../hooks/useI18nContext":5427,"./advanced-gas-fee-defaults":5473,"./advanced-gas-fee-gas-limit":5475,"./advanced-gas-fee-inputs":5481,"./advanced-gas-fee-save":5486,"./context":5488,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=f(e("react")),r=e("../../../../hooks/useI18nContext"),o=e("../../../../contexts/transaction-modal"),s=f(e("../../../../components/ui/box")),i=f(e("../../../../components/ui/popover")),l=e("./context"),c=f(e("./advanced-gas-fee-inputs")),u=f(e("./advanced-gas-fee-gas-limit")),d=f(e("./advanced-gas-fee-save")),p=f(e("./advanced-gas-fee-defaults"));function f(e){return e&&e.__esModule?e:{default:e}}n.default=()=>{const e=(0,r.useI18nContext)(),{closeAllModals:t,currentModal:n}=(0,o.useTransactionModalContext)();return"advancedGasFee"!==n?null:a.default.createElement(l.AdvancedGasFeePopoverContextProvider,null,a.default.createElement(i.default,{className:"advanced-gas-fee-popover",title:e("advancedGasFeeModalTitle"),onClose:t,footer:a.default.createElement(d.default,null)},a.default.createElement(s.default,{margin:4},a.default.createElement(c.default,null),a.default.createElement(p.default,null),a.default.createElement(u.default,null))))}}}},{package:"$root$",file:"ui/pages/confirmations/components/advanced-gas-fee-popover/advanced-gas-fee-popover.js"}],[5485,{"../../../../../../shared/constants/gas":4500,"../../../../../../shared/modules/conversion.utils":4537,"../../../../../components/ui/button":5198,"../../../../../contexts/gasFee":5323,"../../../../../contexts/transaction-modal":5331,"../../../../../hooks/useI18nContext":5427,"../../../hooks/useTransactionEventFragment":5711,"../context":5488,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=p(e("react")),r=e("../../../../../../shared/constants/gas"),o=e("../../../../../../shared/modules/conversion.utils"),s=e("../../../../../contexts/transaction-modal"),i=e("../../../../../contexts/gasFee"),l=e("../../../hooks/useTransactionEventFragment"),c=e("../../../../../hooks/useI18nContext"),u=p(e("../../../../../components/ui/button")),d=e("../context");function p(e){return e&&e.__esModule?e:{default:e}}n.default=()=>{const{closeModal:e}=(0,s.useTransactionModalContext)(),{updateTransactionEventFragment:t}=(0,l.useTransactionEventFragment)(),{updateTransaction:n}=(0,i.useGasFeeContext)(),p=(0,c.useI18nContext)(),{gasLimit:f,hasErrors:m,maxFeePerGas:g,maxPriorityFeePerGas:h}=(0,d.useAdvancedGasFeePopoverContext)();return a.default.createElement(u.default,{type:"primary",disabled:m,onClick:()=>{n({estimateUsed:r.PriorityLevels.custom,maxFeePerGas:(0,o.decGWEIToHexWEI)(g),maxPriorityFeePerGas:(0,o.decGWEIToHexWEI)(h),gasLimit:f}),t({properties:{gas_edit_type:"advanced"}}),e(["advancedGasFee","editGasFee"])}},p("save"))}}}},{package:"$root$",file:"ui/pages/confirmations/components/advanced-gas-fee-popover/advanced-gas-fee-save/advanced-gas-fee-save.js"}],[5486,{"./advanced-gas-fee-save":5485},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./advanced-gas-fee-save"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/advanced-gas-fee-popover/advanced-gas-fee-save/index.js"}],[5487,{"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.AdvancedGasFeePopoverContextProvider=n.AdvancedGasFeePopoverContext=void 0,n.useAdvancedGasFeePopoverContext=function(){return(0,r.useContext)(i)};var a,r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=s(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=(a=e("prop-types"))&&a.__esModule?a:{default:a};function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(s=function(e){return e?n:t})(e)}const i=n.AdvancedGasFeePopoverContext=(0,r.createContext)({}),l=({children:e})=>{const[t,n]=(0,r.useState)(),[a,o]=(0,r.useState)(),[s,l]=(0,r.useState)(),[c,u]=(0,r.useState)({maxFeePerGas:!1,maxPriorityFeePerGas:!1,gasLimit:!1}),d=(0,r.useCallback)(((e,t)=>{c[e]!==t&&u({...c,[e]:t})}),[c,u]),[p,f]=(0,r.useState)();return r.default.createElement(i.Provider,{value:{gasLimit:t,hasErrors:c.maxFeePerGas||c.maxPriorityFeePerGas||c.gasLimit,gasErrors:c,maxFeePerGas:a,maxPriorityFeePerGas:s,setErrorValue:d,maxBaseFee:p,setGasLimit:n,setMaxPriorityFeePerGas:l,setMaxFeePerGas:o,setMaxBaseFee:f}},e)};n.AdvancedGasFeePopoverContextProvider=l,l.propTypes={children:o.default.node.isRequired}}}},{package:"$root$",file:"ui/pages/confirmations/components/advanced-gas-fee-popover/context/advancedGasFeePopover.js"}],[5488,{"./advancedGasFeePopover":5487},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var a=e("./advancedGasFeePopover");Object.keys(a).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in n&&n[e]===a[e]||Object.defineProperty(n,e,{enumerable:!0,get:function(){return a[e]}}))}))}}},{package:"$root$",file:"ui/pages/confirmations/components/advanced-gas-fee-popover/context/index.js"}],[5489,{"./advanced-gas-fee-popover":5484},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./advanced-gas-fee-popover"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/advanced-gas-fee-popover/index.js"}],[5490,{"../../../../../shared/modules/transaction.utils":4560,"../../../../components/component-library":4955,"../../../../components/ui/box/box":5193,"../../../../components/ui/button":5198,"../../../../contexts/i18n":5324,"../../../../helpers/constants/design-system":5355,"../../../../helpers/utils/confirm-tx.util":5381,"../confirm-gas-display":5495,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=h;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=g(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=m(e("prop-types")),o=m(e("classnames")),s=m(e("../../../../components/ui/box/box")),i=m(e("../../../../components/ui/button")),l=e("../../../../components/component-library"),c=e("../../../../helpers/constants/design-system"),u=e("../../../../contexts/i18n"),d=e("../confirm-gas-display"),p=e("../../../../helpers/utils/confirm-tx.util"),f=e("../../../../../shared/modules/transaction.utils");function m(e){return e&&e.__esModule?e:{default:e}}function g(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(g=function(e){return e?n:t})(e)}function h({showHeader:e=!0,symbol:t,title:n,showEdit:r,showAdvanceGasFeeOptions:m=!1,onEditClick:g,footer:h,noBorder:y,supportsEIP1559:v,renderTransactionDetailsContent:b,renderDataContent:T,ethTransactionTotal:_,nativeCurrency:k,fiatTransactionTotal:x,currentCurrency:E,isSetApproveForAll:w,isApprovalOrRejection:C,data:S,userAcknowledgedGasMissing:P,renderSimulationFailureWarning:M,useCurrencyRateCheck:I}){const O=(0,a.useContext)(u.I18nContext),N=(0,f.parseStandardTokenTransactionData)(S),j=null==N?void 0:N.name,D=(null==j?void 0:j.charAt(0).toUpperCase())+(null==j?void 0:j.slice(1));return a.default.createElement(s.default,{className:(0,o.default)({"approve-content-card-container__card":!y,"approve-content-card-container__card--no-border":y})},e&&a.default.createElement(s.default,{display:c.Display.Flex,flexDirection:c.FlexDirection.Row,alignItems:c.AlignItems.center,justifyContent:c.JustifyContent.flexEnd,className:"approve-content-card-container__card-header"},v&&n===O("transactionFee")?null:a.default.createElement(a.default.Fragment,null,a.default.createElement(s.default,{className:"approve-content-card-container__card-header__symbol"},t),a.default.createElement(s.default,{marginLeft:4,className:"approve-content-card-container__card-header__title"},a.default.createElement(l.Text,{variant:c.TextVariant.bodySmBold,as:"h6"},n))),r&&(!m||!v)&&a.default.createElement(s.default,{width:c.BlockSize.OneSixth},a.default.createElement(i.default,{type:"link",onClick:()=>g()},a.default.createElement(l.Text,{variant:c.TextVariant.bodySm,color:c.TextColor.primaryDefault,as:"h6"},O("edit"))))),a.default.createElement(s.default,{marginTop:1,marginBottom:3,className:"approve-content-card-container__card-content"},b&&(v&&!M?a.default.createElement(d.ConfirmGasDisplay,{userAcknowledgedGasMissing:P}):a.default.createElement(s.default,{display:c.Display.Flex,flexDirection:c.FlexDirection.Row,justifyContent:c.JustifyContent.spaceBetween},a.default.createElement(s.default,null,a.default.createElement(l.Text,{variant:c.TextVariant.bodySm,color:c.TextColor.textAlternative,as:"h6"},O("feeAssociatedRequest"))),a.default.createElement(s.default,{display:c.Display.Flex,flexDirection:c.FlexDirection.Column,alignItems:c.AlignItems.flexEnd,textAlign:c.TextAlign.Right},I&&a.default.createElement(s.default,null,a.default.createElement(l.Text,{variant:c.TextVariant.headingSm,fontWeight:c.FontWeight.Bold,color:c.TextColor.textDefault,as:"h4"},(0,p.formatCurrency)(x,E))),a.default.createElement(s.default,null,a.default.createElement(l.Text,{variant:c.TextVariant.bodySm,fontWeight:c.FontWeight.Normal,color:c.TextColor.textMuted,as:"h6"},`${_} ${k}`))))),T&&a.default.createElement(s.default,{display:c.Display.Flex,flexDirection:c.FlexDirection.Column},a.default.createElement(s.default,null,a.default.createElement(l.Text,{variant:c.TextVariant.bodySm,color:c.TextColor.textAlternative,as:"h6"},`${O("function",[D])}`)),w&&C!==undefined?a.default.createElement(s.default,null,a.default.createElement(l.Text,{variant:c.TextVariant.bodySm,color:c.TextColor.textAlternative,as:"h6"},`${O("parameters")}: ${C}`)):null,a.default.createElement(s.default,{marginRight:4,className:"approve-content-card-container__data__data-block"},a.default.createElement(l.Text,{variant:c.TextVariant.bodySm,color:c.TextColor.textAlternative,as:"h6"},S)))),h)}h.propTypes={showHeader:r.default.bool,symbol:r.default.node,title:r.default.string,showEdit:r.default.bool,showAdvanceGasFeeOptions:r.default.bool,onEditClick:r.default.func,footer:r.default.node,noBorder:r.default.bool,supportsEIP1559:r.default.bool,renderTransactionDetailsContent:r.default.bool,renderDataContent:r.default.bool,ethTransactionTotal:r.default.string,nativeCurrency:r.default.string,fiatTransactionTotal:r.default.string,currentCurrency:r.default.string,isSetApproveForAll:r.default.bool,isApprovalOrRejection:r.default.bool,data:r.default.string,userAcknowledgedGasMissing:r.default.bool,renderSimulationFailureWarning:r.default.bool,useCurrencyRateCheck:r.default.bool}}}},{package:"$root$",file:"ui/pages/confirmations/components/approve-content-card/approve-content-card.js"}],[5491,{"../../../../components/component-library":4955,"../../../../hooks/useI18nContext":5427,"../../../../selectors":5987,"../../../../store/actions":5998,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.BlockaidUnavailableBannerAlert=void 0;var a,r=(a=e("react"))&&a.__esModule?a:{default:a},o=e("react-redux"),s=e("../../../../components/component-library"),i=e("../../../../hooks/useI18nContext"),l=e("../../../../selectors"),c=e("../../../../store/actions");n.BlockaidUnavailableBannerAlert=()=>{const e=(0,o.useDispatch)(),t=(0,i.useI18nContext)(),n=(0,o.useSelector)(l.getHasMigratedFromOpenSeaToBlockaid),a=(0,o.useSelector)(l.getIsNetworkSupportedByBlockaid),u=(0,o.useSelector)(l.getHasDismissedOpenSeaToBlockaidBanner);return n&&!a&&!u?r.default.createElement(s.BannerAlert,{severity:s.BannerAlertSeverity.Info,title:t("openSeaToBlockaidTitle"),description:t("openSeaToBlockaidDescription"),actionButtonLabel:t("openSeaToBlockaidBtnLabel"),actionButtonProps:{href:"https://snaps.metamask.io/transaction-insights",externalLink:!0},margin:4,onClose:()=>{e((0,c.dismissOpenSeaToBlockaidBanner)())}}):null}}}},{package:"$root$",file:"ui/pages/confirmations/components/blockaid-unavailable-banner-alert/blockaid-unavailable-banner-alert.tsx"}],[5492,{"../../../../ducks/send":5348,"../../../../helpers/utils/transactions.util":5397,"../../../../selectors":5987,"../gas-details-item":5573,"./confirm-legacy-gas-display":5494,"@metamask/transaction-controller":2234,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=p(e("react")),r=p(e("prop-types")),o=e("react-redux"),s=e("@metamask/transaction-controller"),i=e("../../../../selectors"),l=e("../../../../helpers/utils/transactions.util"),c=p(e("../gas-details-item")),u=e("../../../../ducks/send"),d=e("./confirm-legacy-gas-display");function p(e){return e&&e.__esModule?e:{default:e}}const f=({userAcknowledgedGasMissing:e=!1})=>{const{txParams:t}=(0,o.useSelector)((e=>(0,i.txDataSelector)(e))),n=(0,o.useSelector)(u.getCurrentDraftTransaction),r=null==n?void 0:n.transactionType;let p;p=r?r===s.TransactionEnvelopeType.legacy:(0,l.isLegacyTransaction)(t);const f="confirm-gas-display";return(0,o.useSelector)(i.checkNetworkAndAccountSupports1559)&&!p?a.default.createElement(c.default,{"data-testid":f,userAcknowledgedGasMissing:e}):a.default.createElement(d.ConfirmLegacyGasDisplay,{"data-testid":f})};f.propTypes={userAcknowledgedGasMissing:r.default.bool};n.default=f}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm-gas-display/confirm-gas-display.js"}],[5493,{"../../../../../../shared/modules/conversion.utils":4537,"../../../../../components/app/user-preferenced-currency-display":4880,"../../../../../components/component-library":4955,"../../../../../components/ui/info-tooltip":5248,"../../../../../components/ui/loading-heartbeat":5253,"../../../../../helpers/constants/common":5353,"../../../../../helpers/constants/design-system":5355,"../../../../../hooks/useI18nContext":5427,"../../../../../selectors":5987,"../../../hooks/useDraftTransactionWithTxParams":5699,"../../transaction-detail-item":5635,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=y(e("react")),r=y(e("prop-types")),o=e("react-redux"),s=e("../../../../../hooks/useI18nContext"),i=e("../../../../../selectors"),l=e("../../../../../helpers/constants/common"),c=y(e("../../transaction-detail-item")),u=y(e("../../../../../components/app/user-preferenced-currency-display")),d=y(e("../../../../../components/ui/info-tooltip")),p=y(e("../../../../../components/ui/loading-heartbeat")),f=e("../../../../../helpers/constants/design-system"),m=e("../../../hooks/useDraftTransactionWithTxParams"),g=e("../../../../../components/component-library"),h=e("../../../../../../shared/modules/conversion.utils");function y(e){return e&&e.__esModule?e:{default:e}}const v=()=>a.default.createElement(p.default,null),b=({"data-testid":e}={})=>{const t=(0,s.useI18nContext)(),n=(0,o.useSelector)(i.getIsMainnet),r=(0,o.useSelector)(i.getUseCurrencyRateCheck),{useNativeCurrencyAsPrimaryCurrency:p}=(0,o.useSelector)(i.getPreferences),y=(0,o.useSelector)(i.getUnapprovedTransactions),b=(0,m.useDraftTransactionWithTxParams)(),T=(0,o.useSelector)((e=>(0,i.txDataSelector)(e))),{id:_,dappSuggestedGasFees:k,layer1GasFee:x}=T,E=Object.keys(b).length?b:y[_]||{},{hexMinimumTransactionFee:w,hexMaximumTransactionFee:C}=(0,o.useSelector)((e=>(0,i.transactionFeeSelector)(e,E))),S=(0,h.addHexes)(w,x??"0x0"),P=(0,h.addHexes)(C,x??"0x0");return a.default.createElement(c.default,{key:"legacy-gas-details","data-testid":e,detailTitle:k?a.default.createElement(a.default.Fragment,null,t("transactionDetailGasHeading"),a.default.createElement(d.default,{contentText:t("transactionDetailDappGasTooltip"),position:"top"},a.default.createElement(g.Icon,{name:g.IconName.Info}))):a.default.createElement(a.default.Fragment,null,t("transactionDetailGasHeading"),a.default.createElement(d.default,{contentText:a.default.createElement(a.default.Fragment,null,a.default.createElement("p",null,t("transactionDetailGasTooltipIntro",[n?t("networkNameEthereum"):""])),a.default.createElement("p",null,t("transactionDetailGasTooltipExplanation")),a.default.createElement("p",null,a.default.createElement("a",{href:"https://community.metamask.io/t/what-is-gas-why-do-transactions-take-so-long/3172",target:"_blank",rel:"noopener noreferrer"},t("transactionDetailGasTooltipConversion")))),position:"top"},a.default.createElement(g.Icon,{name:g.IconName.Info}))),detailText:r&&a.default.createElement("div",null,v(),a.default.createElement(u.default,{type:l.SECONDARY,value:S,hideLabel:Boolean(p)})),detailTotal:a.default.createElement("div",null,v(),a.default.createElement(u.default,{type:l.PRIMARY,value:S,hideLabel:!p,suffixProps:{color:f.TextColor.textDefault,variant:f.TextVariant.bodyMdBold},textProps:{color:f.TextColor.textDefault,variant:f.TextVariant.bodyMdBold},numberOfDecimals:6})),subText:a.default.createElement(a.default.Fragment,null,a.default.createElement("strong",{key:"editGasSubTextFeeLabel"},t("editGasSubTextFeeLabel")),a.default.createElement("div",{key:"editGasSubTextFeeValue"},v(),a.default.createElement(u.default,{key:"editGasSubTextFeeAmount",type:l.PRIMARY,value:P,hideLabel:!p}))),subTitle:k&&t("transactionDetailDappGasMoreInfo")})};b.propTypes={"data-testid":r.default.string};n.default=b}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm-gas-display/confirm-legacy-gas-display/confirm-legacy-gas-display.js"}],[5494,{"./confirm-legacy-gas-display":5493},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"ConfirmLegacyGasDisplay",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./confirm-legacy-gas-display"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm-gas-display/confirm-legacy-gas-display/index.js"}],[5495,{"./confirm-gas-display":5492},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"ConfirmGasDisplay",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./confirm-gas-display"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm-gas-display/index.js"}],[5496,{"../../../../../shared/modules/buffer-utils":4535,"../../../../components/component-library":4955,"../../../../components/ui/box":5194,"../../../../helpers/constants/design-system":5355,"../../../../hooks/useI18nContext":5427,"../../../../selectors":5987,"../../hooks/useTransactionFunctionType":5712,"../transaction-decoding/components/ui/copy-raw-data":5634,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=m(e("react")),r=m(e("prop-types")),o=e("react-redux"),s=e("../../../../../shared/modules/buffer-utils"),i=e("../../../../selectors"),l=e("../../../../hooks/useI18nContext"),c=e("../../hooks/useTransactionFunctionType"),u=e("../../../../helpers/constants/design-system"),d=m(e("../../../../components/ui/box")),p=e("../../../../components/component-library"),f=m(e("../transaction-decoding/components/ui/copy-raw-data"));function m(e){return e&&e.__esModule?e:{default:e}}const g=({txData:e,dataHexComponent:t})=>{const n=(0,l.useI18nContext)(),{txParams:r={}}=e,m=(0,o.useSelector)((e=>(0,i.getKnownMethodData)(e,r.data)||{})),{functionType:g}=(0,c.useTransactionFunctionType)(e);if(t)return t;if(!r.data||!r.to)return null;const{params:h}=m,y=null!=h&&h.length?`(${h.map((({type:e})=>e)).join(", ")})`:"";return a.default.createElement(d.default,{padding:4},a.default.createElement(d.default,{paddingBottom:3,paddingTop:2},a.default.createElement(p.Text,{as:"span",textTransform:u.TextTransform.Uppercase,variant:u.TextVariant.bodySm},`${n("functionType")}:`),a.default.createElement(p.Text,{as:"span",color:u.Color.textDefault,paddingLeft:1,textTransform:u.TextTransform.Capitalize,variant:u.TextVariant.bodySmBold},`${g} ${y}`)),h&&a.default.createElement(d.default,{backgroundColor:u.Color.backgroundAlternative,padding:4},a.default.createElement(p.Text,{as:"h3",paddingBottom:3,paddingTop:2,textTransform:u.TextTransform.Uppercase,variant:u.TextVariant.bodySm},`${n("parameters")}:`),a.default.createElement(p.Text,{overflowWrap:u.OverflowWrap.BreakWord,variant:u.TextVariant.bodySm},a.default.createElement("pre",null,JSON.stringify(h,null,2)))),a.default.createElement(p.Text,{as:"h3",paddingBottom:3,paddingTop:2,textTransform:u.TextTransform.Uppercase,variant:u.TextVariant.bodySm},`${n("hexData")}: ${(0,s.toBuffer)(null==r?void 0:r.data).length} bytes`),a.default.createElement(p.Text,{backgroundColor:u.Color.backgroundAlternative,overflowWrap:u.OverflowWrap.BreakWord,padding:4,variant:u.TextVariant.bodySm},null==r?void 0:r.data),a.default.createElement(f.default,{data:null==r?void 0:r.data}))};g.propTypes={txData:r.default.object,dataHexComponent:r.default.element};n.default=g}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm-hexdata/confirm-hexdata.js"}],[5497,{"./confirm-hexdata":5496},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"ConfirmHexData",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./confirm-hexdata"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm-hexdata/index.js"}],[5498,{"../../../../../components/app/user-preferenced-currency-display":4880,"../../../../../helpers/constants/common":5353,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=l(e("react")),r=l(e("prop-types")),o=l(e("classnames")),s=l(e("../../../../../components/app/user-preferenced-currency-display")),i=e("../../../../../helpers/constants/common");function l(e){return e&&e.__esModule?e:{default:e}}const c=e=>{const{label:t,primaryText:n,secondaryText:r,onHeaderClick:l,primaryValueTextColor:c,headerText:u,headerTextClassName:d,value:p}=e;return a.default.createElement("div",{className:"confirm-detail-row"},a.default.createElement("div",{className:"confirm-detail-row__label"},t),a.default.createElement("div",{className:"confirm-detail-row__details"},u&&a.default.createElement("div",{className:(0,o.default)("confirm-detail-row__header-text",d),onClick:()=>null==l?void 0:l()},u),n?a.default.createElement("div",{className:"confirm-detail-row__primary",style:{color:c}},n):a.default.createElement(s.default,{className:"confirm-detail-row__primary",type:i.PRIMARY,value:p,showEthLogo:!0,ethLogoHeight:18,style:{color:c},hideLabel:!0}),r?a.default.createElement("div",{className:"confirm-detail-row__secondary"},r):a.default.createElement(s.default,{className:"confirm-detail-row__secondary",type:i.SECONDARY,value:p,showEthLogo:!0,hideLabel:!0})))};c.propTypes={headerText:r.default.string,headerTextClassName:r.default.string,label:r.default.string,onHeaderClick:r.default.func,primaryValueTextColor:r.default.string,primaryText:r.default.oneOfType([r.default.string,r.default.node]),secondaryText:r.default.string,value:r.default.string};n.default=c}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm-page-container/confirm-detail-row/confirm-detail-row.component.js"}],[5499,{"./confirm-detail-row.component":5498},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./confirm-detail-row.component"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm-page-container/confirm-detail-row/index.js"}],[5500,{".":5505,"../../../../../../shared/constants/security-provider":4513,"../../../../../components/component-library":4955,"../../../../../components/ui/page-container":5275,"../../../../../components/ui/tabs":5296,"../../../../../helpers/constants/design-system":5355,"../../../../../helpers/constants/error-keys":5356,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=m(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=f(e("prop-types")),o=f(e("classnames")),s=e("../../../../../components/ui/tabs"),i=e("../../../../../components/component-library"),l=e("../../../../../components/ui/page-container"),c=e("../../../../../helpers/constants/error-keys"),u=e("../../../../../helpers/constants/design-system"),d=e("../../../../../../shared/constants/security-provider"),p=e(".");function f(e){return e&&e.__esModule?e:{default:e}}function m(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(m=function(e){return e?n:t})(e)}function g(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class h extends a.Component{renderContent(){const{detailsComponent:e,dataHexComponent:t,insightComponent:n}=this.props;return n&&(e||t)||e&&t?this.renderTabs():e||n}renderTabs(){const{t:e}=this.context,{detailsComponent:t,dataHexComponent:n,insightComponent:r}=this.props;return a.default.createElement(s.Tabs,{defaultActiveTabKey:"details"},a.default.createElement(s.Tab,{className:"confirm-page-container-content__tab",name:e("details"),tabKey:"details"},t),n&&a.default.createElement(s.Tab,{className:"confirm-page-container-content__tab",name:e("dataHex"),tabKey:"dataHex"},n),r)}render(){var e;const{action:t,errorKey:n,errorMessage:r,image:s,titleComponent:f,subtitleComponent:m,tokenAddress:g,nonce:h,detailsComponent:y,warning:v,onCancelAll:b,onCancel:T,cancelText:_,onSubmit:k,submitText:x,disabled:E,unapprovedTxCount:w,rejectNText:C,origin:S,ethGasPriceWarning:P,supportsEIP1559:M,hasTopBorder:I,nativeCurrency:O,networkName:N,toAddress:j,transactionType:D,isBuyableChain:A,openBuyCryptoInPdapp:F,txData:R}=this.props,{t:B}=this.context,L=(n||r)&&n===c.INSUFFICIENT_FUNDS_ERROR_KEY,$=n===c.IS_SIGNING_OR_SUBMITTING,G=n===c.USER_OP_CONTRACT_DEPLOY_ERROR_KEY,W=(null==R||null===(e=R.securityAlertResponse)||void 0===e?void 0:e.result_type)===d.BlockaidResultType.Malicious?"danger-primary":"primary";return a.default.createElement("div",{className:(0,o.default)("confirm-page-container-content",{"confirm-page-container-content--with-top-border":I})},v?a.default.createElement(p.ConfirmPageContainerWarning,{warning:v}):null,P&&a.default.createElement(p.ConfirmPageContainerWarning,{warning:P}),a.default.createElement(p.ConfirmPageContainerSummary,{className:(0,o.default)({"confirm-page-container-summary--border":!y}),action:t,image:s,titleComponent:f,subtitleComponent:m,tokenAddress:g,nonce:h,origin:S,toAddress:j,transactionType:D}),this.renderContent(),!M&&!L&&!$&&!G&&(n||r)&&a.default.createElement(i.BannerAlert,{severity:u.Severity.Danger,description:n?B(n):r,marginBottom:4,marginLeft:4,marginRight:4}),L&&a.default.createElement(i.BannerAlert,{severity:u.Severity.Danger,marginBottom:4,marginLeft:4,marginRight:4,description:A?B("insufficientCurrencyBuyOrDeposit",[O,N,a.default.createElement(i.Button,{variant:i.BUTTON_VARIANT.LINK,size:i.BUTTON_SIZES.INHERIT,onClick:F,key:`${O}-buy-button`},B("buyAsset",[O]))]):B("insufficientCurrencyDeposit",[O,N])}),($||G)&&a.default.createElement(i.BannerAlert,{"data-testid":"confirm-page-container-content-error-banner-2",severity:u.Severity.Danger,description:B(n),marginBottom:4,marginLeft:4,marginRight:4}),a.default.createElement(l.PageContainerFooter,{onCancel:T,cancelText:_,onSubmit:k,submitText:x,disabled:E,submitButtonType:W},w>1?a.default.createElement("a",{onClick:b},C):null))}}n.default=h,g(h,"contextTypes",{t:r.default.func.isRequired}),g(h,"propTypes",{action:r.default.string,dataHexComponent:r.default.node,detailsComponent:r.default.node,insightComponent:r.default.node,errorKey:r.default.string,errorMessage:r.default.string,tokenAddress:r.default.string,nonce:r.default.string,subtitleComponent:r.default.node,image:r.default.string,titleComponent:r.default.node,warning:r.default.string,origin:r.default.string.isRequired,ethGasPriceWarning:r.default.string,onCancelAll:r.default.func,onCancel:r.default.func,cancelText:r.default.string,onSubmit:r.default.func,submitText:r.default.string,disabled:r.default.bool,unapprovedTxCount:r.default.number,rejectNText:r.default.string,supportsEIP1559:r.default.bool,hasTopBorder:r.default.bool,nativeCurrency:r.default.string,networkName:r.default.string,toAddress:r.default.string,transactionType:r.default.string,isBuyableChain:r.default.bool,openBuyCryptoInPdapp:r.default.func,txData:r.default.object})}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm-page-container/confirm-page-container-content/confirm-page-container-content.component.js"}],[5501,{"../../../../../../../shared/constants/app":4493,"../../../../../../../shared/modules/hexstring-utils":4544,"../../../../../../components/app/modals/nickname-popovers":4692,"../../../../../../components/ui/identicon":5247,"../../../../../../components/ui/info-tooltip":5248,"../../../../../../components/ui/site-origin":5292,"../../../../../../helpers/utils/util":5399,"../../../../../../hooks/useAddressDetails":5414,"../../../../../../hooks/useI18nContext":5427,"../../../../../../selectors":5987,"@metamask/transaction-controller":2234,classnames:3049,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=b(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=e("react-redux"),o=v(e("prop-types")),s=v(e("classnames")),i=e("@metamask/transaction-controller"),l=e("../../../../../../../shared/modules/hexstring-utils"),c=e("../../../../../../hooks/useI18nContext"),u=v(e("../../../../../../hooks/useAddressDetails")),d=e("../../../../../../selectors"),p=v(e("../../../../../../components/ui/identicon")),f=v(e("../../../../../../components/ui/info-tooltip")),m=v(e("../../../../../../components/app/modals/nickname-popovers")),g=e("../../../../../../../shared/constants/app"),h=v(e("../../../../../../components/ui/site-origin")),y=e("../../../../../../helpers/utils/util");function v(e){return e&&e.__esModule?e:{default:e}}function b(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(b=function(e){return e?n:t})(e)}const T=e=>{const{action:t,titleComponent:n,subtitleComponent:o,className:v,tokenAddress:b,nonce:T,origin:_,image:k,transactionType:x}=e,[E,w]=(0,a.useState)(!1),C=(0,c.useI18nContext)(),S=(0,r.useSelector)(d.getIpfsGateway),P=(0,r.useSelector)(d.txDataSelector),{txParams:M={}}=P,{to:I}=M,O=[i.TransactionType.contractInteraction,i.TransactionType.tokenMethodTransfer,i.TransactionType.tokenMethodTransferFrom,i.TransactionType.tokenMethodSafeTransferFrom].includes(x);let N;O&&(N=x===i.TransactionType.tokenMethodTransfer||x===i.TransactionType.tokenMethodTransferFrom||x===i.TransactionType.tokenMethodSafeTransferFrom||x===i.TransactionType.tokenMethodSetApprovalForAll?b:I);const{toName:j,isTrusted:D}=(0,u.default)(N),A=(0,l.toChecksumHexAddress)(N);return a.default.createElement("div",{className:(0,s.default)("confirm-page-container-summary",v)},_===g.ORIGIN_METAMASK?null:a.default.createElement(h.default,{className:"confirm-page-container-summary__origin",siteOrigin:_}),a.default.createElement("div",{className:"confirm-page-container-summary__action-row"},a.default.createElement("div",{className:"confirm-page-container-summary__action"},O&&j&&a.default.createElement("span",{className:"confirm-page-container-summary__action__contract-address"},a.default.createElement("button",{className:"confirm-page-container-summary__action__contract-address-btn",onClick:()=>w(!0),role:"button"},j),":"),a.default.createElement("span",{className:"confirm-page-container-summary__action__name"},t),O&&!1===D&&a.default.createElement(f.default,{position:"top",contentText:C("unverifiedContractAddressMessage")})),T&&a.default.createElement("div",{className:"confirm-page-container-summary__nonce"},`#${T}`)),a.default.createElement(a.default.Fragment,null,a.default.createElement("div",{className:"confirm-page-container-summary__title"},(()=>{const e=(0,y.getAssetImageURL)(k,S);return k?a.default.createElement("img",{className:"confirm-page-container-summary__icon",width:36,src:e}):N?a.default.createElement(p.default,{className:"confirm-page-container-summary__icon",diameter:36,address:N}):null})(),n),o),E&&a.default.createElement(m.default,{onClose:()=>w(!1),address:A}))};T.propTypes={action:o.default.string,image:o.default.string,titleComponent:o.default.node,subtitleComponent:o.default.node,className:o.default.string,tokenAddress:o.default.string,nonce:o.default.string,origin:o.default.string.isRequired,transactionType:o.default.string};n.default=T}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm-page-container/confirm-page-container-content/confirm-page-container-summary/confirm-page-container-summary.component.js"}],[5502,{"./confirm-page-container-summary.component":5501},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./confirm-page-container-summary.component"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm-page-container/confirm-page-container-content/confirm-page-container-summary/index.js"}],[5503,{"../../../../../../components/component-library":4955,"../../../../../../helpers/constants/design-system":5355,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=i(e("react")),r=i(e("prop-types")),o=e("../../../../../../components/component-library"),s=e("../../../../../../helpers/constants/design-system");function i(e){return e&&e.__esModule?e:{default:e}}const l=e=>a.default.createElement("div",{className:"confirm-page-container-warning"},a.default.createElement(o.Icon,{name:o.IconName.Info,color:s.IconColor.warningDefault,className:"confirm-page-container-warning__icon"}),a.default.createElement("div",{className:"confirm-page-container-warning__warning"},e.warning));l.propTypes={warning:r.default.string};n.default=l}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm-page-container/confirm-page-container-content/confirm-page-container-warning/confirm-page-container-warning.component.js"}],[5504,{"./confirm-page-container-warning.component":5503},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./confirm-page-container-warning.component"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm-page-container/confirm-page-container-content/confirm-page-container-warning/index.js"}],[5505,{"./confirm-page-container-content.component":5500,"./confirm-page-container-summary":5502,"./confirm-page-container-warning":5504},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"ConfirmPageContainerSummary",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(n,"ConfirmPageContainerWarning",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return a.default}});var a=s(e("./confirm-page-container-content.component")),r=s(e("./confirm-page-container-summary")),o=s(e("./confirm-page-container-warning"));function s(e){return e&&e.__esModule?e:{default:e}}}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm-page-container/confirm-page-container-content/index.js"}],[5506,{"../../../../../../app/scripts/lib/util":120,"../../../../../../shared/constants/app":4493,"../../../../../components/app/network-display":4714,"../../../../../components/component-library":4955,"../../../../../components/ui/account-mismatch-warning/account-mismatch-warning.component":5189,"../../../../../components/ui/identicon":5247,"../../../../../helpers/utils/util":5399,"../../../../../hooks/useI18nContext":5427,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=m;var a=f(e("react")),r=f(e("prop-types")),o=e("../../../../../../shared/constants/app"),s=e("../../../../../../app/scripts/lib/util"),i=f(e("../../../../../components/app/network-display")),l=f(e("../../../../../components/ui/identicon")),c=e("../../../../../helpers/utils/util"),u=f(e("../../../../../components/ui/account-mismatch-warning/account-mismatch-warning.component")),d=e("../../../../../hooks/useI18nContext"),p=e("../../../../../components/component-library");function f(e){return e&&e.__esModule?e:{default:e}}function m({onEdit:e,showEdit:t,accountAddress:n,showAccountInHeader:r,children:f,origin:m}){const g=(0,d.useI18nContext)(),h=(0,s.getEnvironmentType)(),y=h!==o.ENVIRONMENT_TYPE_NOTIFICATION&&h!==o.ENVIRONMENT_TYPE_POPUP;return!t&&y?f:a.default.createElement("div",{className:"confirm-page-container-header","data-testid":"header-container"},a.default.createElement("div",{className:"confirm-page-container-header__row"},r?a.default.createElement("div",{className:"confirm-page-container-header__address-container"},a.default.createElement("div",{className:"confirm-page-container-header__address-identicon"},a.default.createElement(l.default,{address:n,diameter:24})),a.default.createElement("div",{className:"confirm-page-container-header__address","data-testid":"header-address"},(0,c.shortenAddress)(n)),a.default.createElement(u.default,{address:n})):m===o.ORIGIN_METAMASK&&a.default.createElement("div",{className:"confirm-page-container-header__back-button-container",style:{visibility:t?"initial":"hidden"}},a.default.createElement(p.Icon,{name:p.IconName.ArrowLeft}),a.default.createElement("span",{"data-testid":"confirm-page-back-edit-button",className:"confirm-page-container-header__back-button",onClick:()=>e()},g("edit"))),a.default.createElement(i.default,null)),f)}m.propTypes={accountAddress:r.default.string,showAccountInHeader:r.default.bool,showEdit:r.default.bool,onEdit:r.default.func,children:r.default.node,origin:r.default.string}}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm-page-container/confirm-page-container-header/confirm-page-container-header.component.js"}],[5507,{"./confirm-page-container-header.component":5506},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./confirm-page-container-header.component"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm-page-container/confirm-page-container-header/index.js"}],[5508,{"../../../../../contexts/i18n":5324,"../../../../../ducks/confirm-transaction/confirm-transaction.duck":5338,"../../../../../helpers/constants/routes":5361,"../../../../../selectors":5987,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=u(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=e("react-redux"),o=e("react-router-dom"),s=e("../../../../../selectors"),i=e("../../../../../contexts/i18n"),l=e("../../../../../helpers/constants/routes"),c=e("../../../../../ducks/confirm-transaction/confirm-transaction.duck");function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(u=function(e){return e?n:t})(e)}n.default=()=>{const e=(0,a.useContext)(i.I18nContext),t=(0,r.useDispatch)(),n=(0,o.useHistory)(),{id:u}=(0,o.useParams)(),d=(0,r.useSelector)(s.unapprovedDecryptMsgsSelector),p=(0,r.useSelector)(s.unapprovedEncryptionPublicKeyMsgsSelector),f=(0,r.useSelector)(s.unconfirmedTransactionsListSelector)??[],m=[...Object.keys(d||{}),...Object.keys(p||{})],g=f.map((e=>e.id)).filter((e=>!1===m.includes(e))),h=g.indexOf(u),y=g.length,v=h+1,b=g[h+1],T=g[h-1],_=g.length>1,k=g[0],x=g[g.length-1],E=e=>{if(e){var a;t((0,c.clearConfirmTransaction)());const r=g.indexOf(e);n.push(null!==(a=f[r])&&void 0!==a&&a.msgParams?`${l.CONFIRM_TRANSACTION_ROUTE}/${e}${l.SIGNATURE_REQUEST_PATH}`:`${l.CONFIRM_TRANSACTION_ROUTE}/${e}`)}};return a.default.createElement("div",{className:"confirm-page-container-navigation",style:{display:_?"flex":"none"}},a.default.createElement("div",{className:"confirm-page-container-navigation__container","data-testid":"navigation-container",style:{visibility:T?"initial":"hidden"}},a.default.createElement("button",{className:"confirm-page-container-navigation__arrow","data-testid":"first-page",onClick:()=>E(k)},a.default.createElement("i",{className:"fa fa-angle-double-left fa-2x"})),a.default.createElement("button",{className:"confirm-page-container-navigation__arrow","data-testid":"previous-page",onClick:()=>E(T)},a.default.createElement("i",{className:"fa fa-angle-left fa-2x"}))),a.default.createElement("div",{className:"confirm-page-container-navigation__textcontainer"},a.default.createElement("div",{className:"confirm-page-container-navigation__navtext"},v," ",e("ofTextNofM")," ",y),a.default.createElement("div",{className:"confirm-page-container-navigation__longtext"},e("requestsAwaitingAcknowledgement"))),a.default.createElement("div",{className:"confirm-page-container-navigation__container",style:{visibility:b?"initial":"hidden"}},a.default.createElement("button",{className:"confirm-page-container-navigation__arrow","data-testid":"next-page",onClick:()=>E(b)},a.default.createElement("i",{className:"fa fa-angle-right fa-2x"})),a.default.createElement("button",{className:"confirm-page-container-navigation__arrow","data-testid":"last-page",onClick:()=>E(x)},a.default.createElement("i",{className:"fa fa-angle-double-right fa-2x"}))))}}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm-page-container/confirm-page-container-navigation/confirm-page-container-navigation.component.js"}],[5509,{"./confirm-page-container-navigation.component":5508},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./confirm-page-container-navigation.component"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm-page-container/confirm-page-container-navigation/index.js"}],[5510,{".":5511,"../../../../../shared/constants/gas":4500,"../../../../../shared/constants/metametrics":4505,"../../../../../shared/constants/network":4507,"../../../../../shared/constants/security-provider":4513,"../../../../../shared/constants/transaction":4520,"../../../../../shared/lib/token-util":4530,"../../../../components/app/network-account-balance-header/network-account-balance-header":4713,"../../../../components/app/snaps/insight-warnings":4760,"../../../../components/component-library":4955,"../../../../components/ui/actionable-message/actionable-message":5190,"../../../../components/ui/button":5198,"../../../../components/ui/error-message":5221,"../../../../components/ui/page-container":5275,"../../../../components/ui/sender-to-recipient":5287,"../../../../contexts/gasFee":5323,"../../../../contexts/metametrics":5327,"../../../../helpers/constants/design-system":5355,"../../../../helpers/constants/error-keys":5356,"../../../../hooks/experiences/useRamps":5403,"../../../../hooks/useI18nContext":5427,"../../../../hooks/useTransactionInsights":5450,"../../../../selectors":5987,"../advanced-gas-fee-popover":5489,"../edit-gas-fee-popover/edit-gas-fee-popover":5557,"../edit-gas-popover":5570,"../set-approval-for-all-warning":5585,"@metamask/transaction-controller":2234,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=A(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=D(e("prop-types")),o=e("react-redux"),s=e("@metamask/transaction-controller"),i=e("../../../../../shared/constants/gas"),l=e("../../../../contexts/gasFee"),c=e("../../../../../shared/constants/transaction"),u=e("../../../../../shared/constants/network"),d=e("../../../../components/ui/page-container"),p=D(e("../../../../components/ui/button")),f=D(e("../../../../components/ui/actionable-message/actionable-message")),m=D(e("../../../../components/ui/sender-to-recipient")),g=e("../../../../../shared/lib/token-util"),h=D(e("../advanced-gas-fee-popover")),y=D(e("../edit-gas-fee-popover/edit-gas-fee-popover")),v=D(e("../edit-gas-popover")),b=D(e("../../../../components/ui/error-message")),T=e("../../../../helpers/constants/error-keys"),_=e("../../../../components/component-library"),k=e("../../../../helpers/constants/design-system"),x=D(e("../../../../components/app/network-account-balance-header/network-account-balance-header")),E=D(e("../set-approval-for-all-warning")),w=e("../../../../hooks/useI18nContext"),C=D(e("../../../../hooks/useTransactionInsights")),S=D(e("../../../../components/app/snaps/insight-warnings")),P=e("../../../../selectors"),M=D(e("../../../../hooks/experiences/useRamps")),I=e("../../../../contexts/metametrics"),O=e("../../../../../shared/constants/metametrics"),N=e("../../../../../shared/constants/security-provider"),j=e(".");function D(e){return e&&e.__esModule?e:{default:e}}function A(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(A=function(e){return e?n:t})(e)}const F=e=>{var t;const{showEdit:n,onEdit:r,fromName:D,fromAddress:A,toEns:F,toNickname:R,toAddress:B,disabled:L,errorKey:$,errorMessage:G,contentComponent:W,action:q,title:U,image:V,titleComponent:H,subtitleComponent:z,detailsComponent:Y,dataHexComponent:K,onCancelAll:J,onCancel:X,onSubmit:Z,onSetApprovalForAll:Q,showWarningModal:ee,tokenAddress:te,nonce:ne,unapprovedTxCount:ae,warning:re,hideSenderToRecipient:oe,showAccountInHeader:se,origin:ie,ethGasPriceWarning:le,editingGas:ce,handleCloseEditGas:ue,currentTransaction:de,supportsEIP1559:pe,nativeCurrency:fe,txData:me,assetStandard:ge,isApprovalOrRejection:he,displayAccountBalanceHeader:ye}=e,ve=(0,w.useI18nContext)(),be=(0,a.useContext)(I.MetaMetricsContext),[Te,_e]=(0,a.useState)("0"),[ke,xe]=(0,a.useState)(!1),Ee=(0,o.useSelector)(P.getIsBuyableChain),we=(0,o.useSelector)((e=>(0,P.getAddressBookEntry)(e,B))),Ce=(0,o.useSelector)(P.getNetworkIdentifier),Se=(0,o.useSelector)(P.getSwapsDefaultToken).string,Pe=(0,o.useSelector)(P.getInternalAccounts),Me=(0,P.getAccountName)(Pe,B),Ie=Me||(null==we?void 0:we.name),Oe=Boolean(Me),Ne=(0,o.useSelector)((e=>(0,P.getMetadataContractName)(e,B))),{openBuyCryptoInPdapp:je}=(0,M.default)(),De=de.type===s.TransactionType.tokenMethodSetApprovalForAll,Ae=W&&L&&($||G),Fe=u.NETWORK_TO_NAME_MAP[de.chainId]||Ce,Re=(0,a.useCallback)((async()=>{const e=await(0,g.fetchTokenBalance)(te,A,global.ethereumProvider);_e(e.toString()||"0")}),[A,te]),Be=(0,C.default)({txData:me}),Le=null==Be?void 0:Be.insightComponent,$e=()=>De&&he?Q():Z(),Ge=()=>{var e;return(null==Be||null===(e=Be.warnings)||void 0===e?void 0:e.length)>0?xe(!0):$e()};(0,a.useEffect)((()=>{De&&ge===c.TokenStandard.ERC721&&Re()}),[de,ge,De,Re,Te]);const We=(null===(t=me.securityAlertResponse)||void 0===t?void 0:t.result_type)===N.BlockaidResultType.Malicious;return a.default.createElement(l.GasFeeContextProvider,{transaction:de},a.default.createElement("div",{className:"page-container","data-testid":"page-container"},a.default.createElement(j.ConfirmPageContainerNavigation,null),ye?a.default.createElement(x.default,{accountName:D,accountBalance:Se,tokenName:fe,accountAddress:A,networkName:Fe,chainId:de.chainId}):a.default.createElement(j.ConfirmPageContainerHeader,{showEdit:n,onEdit:()=>r(),showAccountInHeader:se,accountAddress:A,origin:ie},oe?null:a.default.createElement(m.default,{senderName:D,senderAddress:A,recipientName:Ie,recipientMetadataName:Ne,recipientAddress:B,recipientEns:F,recipientNickname:R,recipientIsOwnedAccount:Oe})),W||a.default.createElement(j.ConfirmPageContainerContent,{action:q,title:U,image:V,titleComponent:H,subtitleComponent:z,detailsComponent:Y,dataHexComponent:K,insightComponent:Le,errorMessage:G,errorKey:$,tokenAddress:te,nonce:ne,warning:re,onCancelAll:J,onCancel:X,cancelText:ve("reject"),onSubmit:Ge,submitText:ve("confirm"),disabled:L,unapprovedTxCount:ae,rejectNText:ve("rejectTxsN",[ae]),origin:ie,ethGasPriceWarning:le,supportsEIP1559:pe,currentTransaction:de,nativeCurrency:fe,networkName:Fe,toAddress:B,transactionType:de.type,isBuyableChain:Ee,openBuyCryptoInPdapp:je,txData:me}),Ae&&$===T.INSUFFICIENT_FUNDS_ERROR_KEY&&a.default.createElement("div",{className:"confirm-approve-content__warning"},a.default.createElement(f.default,{message:Ee?a.default.createElement(_.Text,{variant:k.TextVariant.bodySm,textAlign:k.TextAlign.Left,as:"h6"},ve("insufficientCurrencyBuyOrDeposit",[fe,Fe,a.default.createElement(p.default,{type:"inline",className:"confirm-page-container-content__link",onClick:()=>{je(),be({event:O.MetaMetricsEventName.NavBuyButtonClicked,category:O.MetaMetricsEventCategory.Navigation,properties:{location:"Transaction Confirmation",text:"Buy"}})},key:`${fe}-buy-button`},ve("buyAsset",[fe]))])):a.default.createElement(_.Text,{variant:k.TextVariant.bodySm,textAlign:k.TextAlign.Left,as:"h6"},ve("insufficientCurrencyDeposit",[fe,Fe])),useIcon:!0,iconFillColor:"var(--color-error-default)",type:"danger"})),Ae&&$!==T.INSUFFICIENT_FUNDS_ERROR_KEY&&a.default.createElement("div",{className:"confirm-approve-content__warning"},a.default.createElement(b.default,{errorKey:$})),ee&&a.default.createElement(E.default,{collectionName:U,senderAddress:A,name:D,isERC721:ge===c.TokenStandard.ERC721,total:Te,onSubmit:Z,onCancel:X}),W&&a.default.createElement(d.PageContainerFooter,{onCancel:X,cancelText:ve("reject"),onSubmit:Ge,submitText:ve("confirm"),submitButtonType:De&&he||We?"danger-primary":"primary",disabled:L},ae>1&&a.default.createElement("a",{onClick:J},ve("rejectTxsN",[ae]))),ce&&!pe&&a.default.createElement(v.default,{mode:i.EditGasModes.modifyInPlace,onClose:ue,transaction:de}),pe&&a.default.createElement(a.default.Fragment,null,a.default.createElement(y.default,null),a.default.createElement(h.default,null)),ke&&a.default.createElement(S.default,{warnings:Be.warnings,origin:ie,onCancel:()=>xe(!1),onSubmit:()=>{$e(),xe(!1)}})))};F.propTypes={action:r.default.string,onEdit:r.default.func,showEdit:r.default.bool,subtitleComponent:r.default.node,title:r.default.string,image:r.default.string,titleComponent:r.default.node,hideSenderToRecipient:r.default.bool,showAccountInHeader:r.default.bool,assetStandard:r.default.string,fromAddress:r.default.string,fromName:r.default.string,toAddress:r.default.string,toEns:r.default.string,toNickname:r.default.string,contentComponent:r.default.node,errorKey:r.default.string,errorMessage:r.default.string,dataHexComponent:r.default.node,detailsComponent:r.default.node,txData:r.default.object,tokenAddress:r.default.string,nonce:r.default.string,warning:r.default.string,unapprovedTxCount:r.default.number,origin:r.default.string.isRequired,ethGasPriceWarning:r.default.string,onCancelAll:r.default.func,onCancel:r.default.func,onSubmit:r.default.func,onSetApprovalForAll:r.default.func,showWarningModal:r.default.bool,disabled:r.default.bool,editingGas:r.default.bool,handleCloseEditGas:r.default.func,currentTransaction:r.default.object.isRequired,supportsEIP1559:r.default.bool,nativeCurrency:r.default.string,isApprovalOrRejection:r.default.bool,displayAccountBalanceHeader:r.default.bool};n.default=F}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm-page-container/confirm-page-container.component.js"}],[5511,{"../../../../components/app/snaps/snap-insight/snap-insight":4779,"./confirm-detail-row":5499,"./confirm-page-container-content":5505,"./confirm-page-container-header":5507,"./confirm-page-container-navigation":5509,"./confirm-page-container.component":5510},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"ConfirmDetailRow",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(n,"ConfirmPageContainerContent",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(n,"ConfirmPageContainerHeader",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(n,"ConfirmPageContainerNavigation",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(n,"ConfirmPageContainerSummary",{enumerable:!0,get:function(){return i.ConfirmPageContainerSummary}}),Object.defineProperty(n,"SnapInsight",{enumerable:!0,get:function(){return l.SnapInsight}}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return a.default}});var a=u(e("./confirm-page-container.component")),r=u(e("./confirm-page-container-header")),o=u(e("./confirm-detail-row")),s=u(e("./confirm-page-container-navigation")),i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("./confirm-page-container-content")),l=e("../../../../components/app/snaps/snap-insight/snap-insight");function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}function u(e){return e&&e.__esModule?e:{default:e}}}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm-page-container/index.js"}],[5512,{"../../../../components/app/user-preferenced-currency-display":4880,"../../../../components/component-library":4955,"../../../../helpers/constants/common":5353,"../../../../helpers/constants/design-system":5355,"../../../../helpers/utils/transactions.util":5397,"../../../../selectors":5987,"../../hooks/useTransactionInfo":5714,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=f(e("react")),r=f(e("prop-types")),o=e("react-redux"),s=e("../../../../helpers/constants/common"),i=e("../../../../helpers/constants/design-system"),l=e("../../../../helpers/utils/transactions.util"),c=e("../../../../selectors"),u=e("../../hooks/useTransactionInfo"),d=e("../../../../components/component-library"),p=f(e("../../../../components/app/user-preferenced-currency-display"));function f(e){return e&&e.__esModule?e:{default:e}}const m=({txData:e,hexTransactionAmount:t,subtitleComponent:n,assetStandard:r})=>{const f=(0,o.useSelector)(c.getShouldShowFiat),{isNftTransfer:m}=(0,u.useTransactionInfo)(e);return f||m||(0,l.isNFTAssetStandard)(r)?n||a.default.createElement(d.Text,{as:"h5",ellipsis:!0,variant:i.TextVariant.bodyMd,color:i.Color.textAlternative},a.default.createElement(p.default,{value:t,type:s.SECONDARY,showEthLogo:!0,hideLabel:!0})):null};m.propTypes={assetStandard:r.default.string,hexTransactionAmount:r.default.string,subtitleComponent:r.default.element,txData:r.default.object.isRequired};n.default=m}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm-subtitle/confirm-subtitle.js"}],[5513,{"./confirm-subtitle":5512},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"ConfirmSubTitle",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./confirm-subtitle"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm-subtitle/index.js"}],[5514,{"../../../../components/app/user-preferenced-currency-display":4880,"../../../../components/component-library":4955,"../../../../helpers/constants/common":5353,"../../../../helpers/constants/design-system":5355,"@metamask/transaction-controller":2234,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=u(e("react")),r=u(e("prop-types")),o=e("@metamask/transaction-controller"),s=e("../../../../helpers/constants/common"),i=e("../../../../components/component-library"),l=e("../../../../helpers/constants/design-system"),c=u(e("../../../../components/app/user-preferenced-currency-display"));function u(e){return e&&e.__esModule?e:{default:e}}const d=({title:e,hexTransactionAmount:t,txData:n})=>{var r;const u=n.type===o.TransactionType.contractInteraction;return(u||n.type===o.TransactionType.deployContract)&&"0x0"===(null===(r=n.txParams)||void 0===r?void 0:r.value)?null:e?a.default.createElement(i.Text,{as:e&&e.length<10?"h1":"h3",ellipsis:!0,title:e,variant:e&&e.length<10?l.TextVariant.displayMd:l.TextVariant.headingMd,fontWeight:l.FONT_WEIGHT.NORMAL},e):a.default.createElement(i.Text,{as:"h3",ellipsis:!0,fontWeight:l.FONT_WEIGHT.NORMAL,variant:l.TextVariant.headingMd},a.default.createElement(c.default,{ethLogoHeight:24,hideLabel:!u,showCurrencySuffix:u,showEthLogo:!0,type:s.PRIMARY,value:t}))};d.propTypes={txData:r.default.object.isRequired,title:r.default.oneOfType([r.default.string,r.default.number]),hexTransactionAmount:r.default.string};n.default=d}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm-title/confirm-title.js"}],[5515,{"./confirm-title":5514},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"ConfirmTitle",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./confirm-title"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm-title/index.js"}],[5516,{"../../../../../../shared/constants/security-provider":4513,"../../../../../components/component-library":4955,"../../../../../components/ui/icon/preloader":5239,"../../../selectors":5717,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=c(e("react")),r=e("react-redux"),o=c(e("../../../../../components/ui/icon/preloader")),s=e("../../../../../../shared/constants/security-provider"),i=e("../../../../../components/component-library"),l=e("../../../selectors");function c(e){return e&&e.__esModule?e:{default:e}}n.default=()=>{const e=(0,r.useSelector)(l.currentSignatureRequestSecurityResponseSelector);return(null==e?void 0:e.result_type)!==s.BlockaidResultType.Loading?null:a.default.createElement(i.Box,{marginInline:"auto",marginTop:4},a.default.createElement(o.default,{size:18}))}}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm/blockaid-loading-indicator/blockaid-loading-indicator.tsx"}],[5517,{"./blockaid-loading-indicator":5516},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"BlockaidLoadingIndicator",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./blockaid-loading-indicator"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm/blockaid-loading-indicator/index.ts"}],[5518,{"../../../../../components/app/alert-system/confirm-alert-modal":4572,"../../../../../components/component-library":4955,"../../../../../components/multichain/pages/page":5152,"../../../../../hooks/useAlerts":5415,"../../../../../hooks/useI18nContext":5427,"../../../../../selectors":5987,"../../../../../store/actions":5998,"../../../selectors":5717,"../utils":5542,"eth-rpc-errors":3257,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=e("eth-rpc-errors"),o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=h(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),s=e("react-redux"),i=e("../../../../../components/component-library"),l=e("../../../../../components/app/alert-system/confirm-alert-modal"),c=e("../../../../../components/multichain/pages/page"),u=e("../../../../../selectors"),d=e("../../../../../hooks/useI18nContext"),p=e("../../../../../store/actions"),f=(a=e("../../../../../hooks/useAlerts"))&&a.__esModule?a:{default:a},m=e("../../../selectors"),g=e("../utils");function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(h=function(e){return e?n:t})(e)}const y=({alertOwnerId:e="",disabled:t,onSubmit:n,onCancel:a})=>{var r;const s=(0,d.useI18nContext)(),[c,u]=(0,o.useState)(!1),{alerts:p,dangerAlerts:m,hasDangerAlerts:g,hasUnconfirmedDangerAlerts:h}=(0,f.default)(e),y=(0,o.useCallback)((()=>{u(!1)}),[]),v=(0,o.useCallback)((()=>{u(!0)}),[]);return o.default.createElement(o.default.Fragment,null,c&&o.default.createElement(l.ConfirmAlertModal,{alertKey:null===(r=p[0])||void 0===r?void 0:r.key,ownerId:e,onClose:y,onCancel:a,onSubmit:n}),o.default.createElement(i.Button,{block:!0,"data-testid":"confirm-footer-button",startIconName:g?(b=h,b?i.IconName.SecuritySearch:i.IconName.Danger):undefined,onClick:g?v:n,danger:g,size:i.ButtonSize.Lg,disabled:!h&&t},(null==m?void 0:m.length)>1?s("reviewAlerts"):s("confirm")));var b};n.default=()=>{const e=(0,s.useDispatch)(),t=(0,d.useI18nContext)(),n=(0,s.useSelector)(m.confirmSelector),{currentConfirmation:a,isScrollToBottomNeeded:l}=n,{from:f}=(0,g.getConfirmationSender)(a),h=(0,s.useSelector)((e=>!!f&&(0,u.doesAddressRequireLedgerHidConnection)(e,f))),v=(0,o.useCallback)((()=>{a&&e((0,p.rejectPendingApproval)(a.id,(0,r.serializeError)(r.ethErrors.provider.userRejectedRequest())))}),[a]),b=(0,o.useCallback)((()=>{a&&e((0,p.resolvePendingApproval)(a.id,undefined))}),[a]);return o.default.createElement(c.Footer,{className:"confirm-footer_page-footer"},o.default.createElement(i.Button,{block:!0,"data-testid":"confirm-footer-cancel-button",onClick:v,size:i.ButtonSize.Lg,variant:i.ButtonVariant.Secondary},t("cancel")),o.default.createElement(y,{alertOwnerId:null==a?void 0:a.id,onSubmit:b,disabled:l||h,onCancel:v}))}}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm/footer/footer.tsx"}],[5519,{"./footer":5518},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"Footer",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./footer"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm/footer/index.tsx"}],[5520,{"../../../../../../shared/constants/metametrics":4505,"../../../../../components/app/confirm/info/row":4599,"../../../../../components/app/confirm/info/row/currency":4596,"../../../../../components/component-library":4955,"../../../../../components/multichain":5092,"../../../../../components/ui/tooltip/tooltip":5311,"../../../../../contexts/metametrics":5327,"../../../../../helpers/constants/design-system":5355,"../../../../../hooks/useI18nContext":5427,"../../../../../selectors":5987,"../../../hooks/useBalance":5693,"../../../hooks/useConfirmationRecipientInfo":5697,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=v(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=e("react-redux"),o=e("../../../../../../shared/constants/metametrics"),s=e("../../../../../components/app/confirm/info/row"),i=e("../../../../../components/app/confirm/info/row/currency"),l=e("../../../../../components/component-library"),c=e("../../../../../components/multichain"),u=y(e("../../../../../components/ui/tooltip/tooltip")),d=e("../../../../../contexts/metametrics"),p=e("../../../../../helpers/constants/design-system"),f=e("../../../../../hooks/useI18nContext"),m=e("../../../../../selectors"),g=e("../../../hooks/useBalance"),h=y(e("../../../hooks/useConfirmationRecipientInfo"));function y(e){return e&&e.__esModule?e:{default:e}}function v(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(v=function(e){return e?n:t})(e)}n.default=()=>{const e=(0,r.useSelector)(m.getUseBlockie),[t,n]=a.default.useState(!1),y=(0,r.useSelector)(m.currentConfirmationSelector),{senderAddress:v,senderName:b}=(0,h.default)(),T=(0,f.useI18nContext)(),_=(0,a.useContext)(d.MetaMetricsContext),{balance:k}=(0,g.useBalance)(v);return a.default.createElement(a.default.Fragment,null,a.default.createElement(l.Box,{display:p.Display.Flex,justifyContent:p.JustifyContent.flexEnd,style:{alignSelf:"flex-end"}},a.default.createElement(u.default,{position:"bottom",title:T("accountDetails"),interactive:!0},a.default.createElement(l.ButtonIcon,{ariaLabel:T("accountDetails"),color:p.IconColor.iconDefault,iconName:l.IconName.Info,"data-testid":"header-info-button",size:l.ButtonIconSize.Md,onClick:()=>{_({category:o.MetaMetricsEventCategory.Transactions,event:o.MetaMetricsEventName.AccountDetailsOpened,properties:{action:"Confirm Screen",location:o.MetaMetricsEventLocation.SignatureConfirmation,signature_type:null==y?void 0:y.type}}),n(!0)}}))),a.default.createElement(l.Modal,{isOpen:t,onClose:()=>n(!1),"data-testid":"account-details-modal",isClosedOnEscapeKey:!1,isClosedOnOutsideClick:!1},a.default.createElement(l.ModalOverlay,null),a.default.createElement(l.ModalContent,null,a.default.createElement(l.ModalHeader,null,a.default.createElement(l.Box,{display:p.Display.Flex,justifyContent:p.JustifyContent.center,style:{position:"relative"}},a.default.createElement(l.Box,{style:{margin:"0 auto"},display:p.Display.Flex,justifyContent:p.JustifyContent.center,flexDirection:p.FlexDirection.Column,alignItems:p.AlignItems.center},a.default.createElement(l.AvatarAccount,{variant:e?l.AvatarAccountVariant.Blockies:l.AvatarAccountVariant.Jazzicon,address:v,size:l.AvatarAccountSize.Lg}),a.default.createElement(l.Text,{fontWeight:p.FontWeight.Bold,variant:p.TextVariant.bodyMd,color:p.TextColor.textDefault,marginTop:2},b)),a.default.createElement(l.Box,{style:{position:"absolute",right:0}},a.default.createElement(l.ButtonIcon,{ariaLabel:T("close"),iconName:l.IconName.Close,size:l.ButtonIconSize.Sm,className:"confirm_header__close-button",onClick:()=>n(!1)})))),a.default.createElement(l.ModalBody,null,a.default.createElement(s.ConfirmInfoRow,{label:"Account address"},a.default.createElement(c.AddressCopyButton,{address:v,shorten:!0})),a.default.createElement(s.ConfirmInfoRow,{label:"Balance"},a.default.createElement(i.ConfirmInfoRowCurrency,{value:k??0,dataTestId:"header-balance"}))))))}}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm/header/header-info.tsx"}],[5521,{"../../../../../components/component-library":4955,"../../../../../components/ui/identicon":5247,"../../../../../helpers/constants/design-system":5355,"../../../../../helpers/utils/accounts":5378,"../../../hooks/useConfirmationNetworkInfo":5696,"../../../hooks/useConfirmationRecipientInfo":5697,"./header-info":5520,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=d(e("react")),r=e("../../../../../components/component-library"),o=d(e("../../../../../components/ui/identicon")),s=e("../../../../../helpers/constants/design-system"),i=e("../../../../../helpers/utils/accounts"),l=d(e("../../../hooks/useConfirmationNetworkInfo")),c=d(e("../../../hooks/useConfirmationRecipientInfo")),u=d(e("./header-info"));function d(e){return e&&e.__esModule?e:{default:e}}n.default=()=>{const{networkImageUrl:e,networkDisplayName:t}=(0,l.default)(),{senderAddress:n,senderName:d}=(0,c.default)();return a.default.createElement(r.Box,{display:s.Display.Flex,className:"confirm_header__wrapper",alignItems:s.AlignItems.center,justifyContent:s.JustifyContent.spaceBetween},a.default.createElement(r.Box,{alignItems:s.AlignItems.flexStart,display:s.Display.Flex,padding:4},a.default.createElement(r.Box,{display:s.Display.Flex,marginTop:2},a.default.createElement(o.default,{address:n,diameter:32}),a.default.createElement(r.AvatarNetwork,{src:e,name:t,size:r.AvatarNetworkSize.Xs,backgroundColor:(0,i.getAvatarNetworkColor)(t),className:"confirm_header__avatar-network"})),a.default.createElement(r.Box,{marginInlineStart:4},a.default.createElement(r.Text,{color:s.TextColor.textDefault,variant:s.TextVariant.bodyMdMedium},d),a.default.createElement(r.Text,{color:s.TextColor.textAlternative},t))),a.default.createElement(r.Box,{alignItems:s.AlignItems.flexEnd,display:s.Display.Flex,padding:4},a.default.createElement(u.default,null)))}}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm/header/header.tsx"}],[5522,{"./header":5521},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"Header",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./header"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm/header/index.tsx"}],[5523,{"../../../../../../components/component-library":4955,"../../../../../../helpers/constants/design-system":5355,"../../../../../../selectors":5987,"../../../simulation-details":5616,"../shared/transaction-details":5528,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=(a=e("react"))&&a.__esModule?a:{default:a},o=e("react-redux"),s=e("../../../../../../components/component-library"),i=e("../../../../../../helpers/constants/design-system"),l=e("../../../../../../selectors"),c=e("../../../simulation-details"),u=e("../shared/transaction-details");n.default=()=>{const e=(0,o.useSelector)(l.currentConfirmationSelector);return null!=e&&e.txParams?r.default.createElement(r.default.Fragment,null,r.default.createElement(s.Box,{backgroundColor:i.BackgroundColor.backgroundDefault,borderRadius:i.BorderRadius.MD,marginBottom:4},r.default.createElement(c.SimulationDetails,{simulationData:e.simulationData,transactionId:e.id,isTransactionsRedesign:!0})),r.default.createElement(s.Box,{backgroundColor:i.BackgroundColor.backgroundDefault,borderRadius:i.BorderRadius.MD,padding:2,marginBottom:4},r.default.createElement(u.TransactionDetails,null))):null}}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm/info/contract-interaction/contract-interaction.tsx"}],[5524,{"../../../../../../selectors":5987,"../../../../../../store/actions":5998,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useKnownMethodDataInTransaction=void 0;var a=e("react-redux"),r=e("../../../../../../selectors"),o=e("../../../../../../store/actions");n.useKnownMethodDataInTransaction=e=>{var t;const n=(0,a.useDispatch)(),s=(0,a.useSelector)(r.use4ByteResolutionSelector),i=null==e||null===(t=e.txParams)||void 0===t?void 0:t.data;s&&i&&n((0,o.getContractMethodData)(e.txParams.data));return{knownMethodData:(0,a.useSelector)((e=>(0,r.getKnownMethodData)(e,i)))||{}}}}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm/info/hooks/known-method-data-in-transaction.ts"}],[5525,{"./info":5526},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"Info",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./info"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm/info/index.ts"}],[5526,{"../../../../../selectors":5987,"./contract-interaction/contract-interaction":5523,"./personal-sign/personal-sign":5527,"./typed-sign-v1/typed-sign-v1":5529,"./typed-sign/typed-sign":5530,"@metamask/transaction-controller":2234,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=e("@metamask/transaction-controller"),r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=p(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=e("react-redux"),s=e("../../../../../selectors"),i=d(e("./contract-interaction/contract-interaction")),l=d(e("./personal-sign/personal-sign")),c=d(e("./typed-sign-v1/typed-sign-v1")),u=d(e("./typed-sign/typed-sign"));function d(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(p=function(e){return e?n:t})(e)}n.default=()=>{const e=(0,o.useSelector)(s.currentConfirmationSelector),t=(0,r.useMemo)((()=>({[a.TransactionType.personalSign]:()=>l.default,[a.TransactionType.signTypedData]:()=>{const{version:t}=(null==e?void 0:e.msgParams)??{};return"V1"===t?c.default:u.default},[a.TransactionType.contractInteraction]:()=>i.default})),[e]);if(null==e||!e.type)return null;const n=t[null==e?void 0:e.type]();return r.default.createElement(n,null)}}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm/info/info.tsx"}],[5527,{"../../../../../../components/app/confirm/info/row":4599,"../../../../../../components/app/confirm/info/row/alert-row/alert-row":4595,"../../../../../../components/component-library":4955,"../../../../../../helpers/constants/design-system":5355,"../../../../../../helpers/utils/util":5399,"../../../../../../hooks/useI18nContext":5427,"../../../../../../selectors":5987,"../../../../utils":5725,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=(a=e("react"))&&a.__esModule?a:{default:a},o=e("react-redux"),s=e("../../../../../../components/app/confirm/info/row"),i=e("../../../../../../hooks/useI18nContext"),l=e("../../../../../../selectors"),c=e("../../../../../../components/component-library"),u=e("../../../../../../helpers/constants/design-system"),d=e("../../../../../../helpers/utils/util"),p=e("../../../../utils"),f=e("../../../../../../components/app/confirm/info/row/alert-row/alert-row");n.default=()=>{var e;const t=(0,i.useI18nContext)(),n=(0,o.useSelector)(l.currentConfirmationSelector);if(null==n||!n.msgParams)return null;const{from:a}=n.msgParams,m=(0,p.isSIWESignatureRequest)(n);return r.default.createElement(r.default.Fragment,null,m&&r.default.createElement(c.Box,{backgroundColor:u.BackgroundColor.backgroundDefault,borderRadius:u.BorderRadius.MD,padding:2,marginBottom:4},r.default.createElement(s.ConfirmInfoRow,{label:t("simulationDetailsTitle"),tooltip:t("simulationDetailsTitleTooltip")},r.default.createElement(s.ConfirmInfoRowText,{text:t("siweSignatureSimulationDetailInfo")}))),r.default.createElement(c.Box,{backgroundColor:u.BackgroundColor.backgroundDefault,borderRadius:u.BorderRadius.MD,padding:2,marginBottom:4},r.default.createElement(f.AlertRow,{alertKey:"requestFrom",ownerId:n.id,label:t("requestFrom"),tooltip:t("requestFromInfo")},r.default.createElement(s.ConfirmInfoRowUrl,{url:n.msgParams.origin})),m&&r.default.createElement(s.ConfirmInfoRow,{label:t("signingInWith")},r.default.createElement(s.ConfirmInfoRowAddress,{address:a}))),r.default.createElement(c.Box,{backgroundColor:u.BackgroundColor.backgroundDefault,borderRadius:u.BorderRadius.MD,padding:2,marginBottom:4},r.default.createElement(f.AlertRow,{alertKey:"message",ownerId:n.id,label:t("message")},r.default.createElement(s.ConfirmInfoRowText,{text:(0,d.sanitizeString)((0,d.hexToText)(null===(e=n.msgParams)||void 0===e?void 0:e.data))}))))}}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm/info/personal-sign/personal-sign.tsx"}],[5528,{"../../../../../../components/app/confirm/info/row":4599,"../../../../../../hooks/useI18nContext":5427,"../../../../selectors":5717,"../hooks/known-method-data-in-transaction":5524,"ethereumjs-util":3288,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.TransactionDetails=void 0;var a,r=e("ethereumjs-util"),o=(a=e("react"))&&a.__esModule?a:{default:a},s=e("react-redux"),i=e("../../../../../../components/app/confirm/info/row"),l=e("../../../../../../hooks/useI18nContext"),c=e("../../../../selectors"),u=e("../hooks/known-method-data-in-transaction");const d=()=>{const e=(0,l.useI18nContext)(),t=(0,s.useSelector)(c.currentConfirmationSelector),n=null==t?void 0:t.origin;return n?o.default.createElement(i.ConfirmInfoRow,{label:e("requestFrom"),tooltip:e("requestFromTransactionDescription")},o.default.createElement(i.ConfirmInfoRowUrl,{url:n})):null},p=()=>{var e,t;const n=(0,l.useI18nContext)(),a=(0,s.useSelector)(c.currentConfirmationSelector);return null!=a&&null!==(e=a.txParams)&&void 0!==e&&e.to&&(0,r.isValidAddress)((null==a||null===(t=a.txParams)||void 0===t?void 0:t.to)??"")?o.default.createElement(i.ConfirmInfoRow,{label:n("interactingWith"),tooltip:n("interactingWithTransactionDescription")},o.default.createElement(i.ConfirmInfoRowAddress,{address:a.txParams.to})):null},f=()=>{const e=(0,l.useI18nContext)(),t=(0,s.useSelector)(c.currentConfirmationSelector),{knownMethodData:n}=(0,u.useKnownMethodDataInTransaction)(t);return null!=n&&n.name?o.default.createElement(i.ConfirmInfoRow,{label:e("methodData"),tooltip:e("methodDataTransactionDescription")},o.default.createElement(i.ConfirmInfoRowText,{text:n.name})):null};n.TransactionDetails=()=>o.default.createElement(o.default.Fragment,null,o.default.createElement(d,null),o.default.createElement(p,null),o.default.createElement(f,null))}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm/info/shared/transaction-details.tsx"}],[5529,{"../../../../../../components/app/confirm/info/row":4599,"../../../../../../components/component-library":4955,"../../../../../../helpers/constants/design-system":5355,"../../../../../../hooks/useI18nContext":5427,"../../../../../../selectors":5987,"../../row/typed-sign-data-v1/typedSignDataV1":5536,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=(a=e("react"))&&a.__esModule?a:{default:a},o=e("react-redux"),s=e("../../../../../../components/app/confirm/info/row"),i=e("../../../../../../hooks/useI18nContext"),l=e("../../../../../../selectors"),c=e("../../../../../../components/component-library"),u=e("../../../../../../helpers/constants/design-system"),d=e("../../row/typed-sign-data-v1/typedSignDataV1");n.default=()=>{var e;const t=(0,i.useI18nContext)(),n=(0,o.useSelector)(l.currentConfirmationSelector);return null!=n&&n.msgParams?r.default.createElement(r.default.Fragment,null,r.default.createElement(c.Box,{backgroundColor:u.BackgroundColor.backgroundDefault,borderRadius:u.BorderRadius.MD,padding:2,marginBottom:4},r.default.createElement(s.ConfirmInfoRow,{label:t("requestFrom"),tooltip:t("requestFromInfo")},r.default.createElement(s.ConfirmInfoRowUrl,{url:n.msgParams.origin}))),r.default.createElement(c.Box,{backgroundColor:u.BackgroundColor.backgroundDefault,borderRadius:u.BorderRadius.MD,padding:2,marginBottom:4},r.default.createElement(s.ConfirmInfoRow,{label:t("message")},r.default.createElement(d.ConfirmInfoRowTypedSignDataV1,{data:null===(e=n.msgParams)||void 0===e?void 0:e.data})))):null}}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm/info/typed-sign-v1/typed-sign-v1.tsx"}],[5530,{"../../../../../../components/app/confirm/info/row":4599,"../../../../../../components/component-library":4955,"../../../../../../helpers/constants/design-system":5355,"../../../../../../hooks/useI18nContext":5427,"../../../../../../selectors":5987,"../../../../utils":5725,"../../row/typed-sign-data/typedSignData":5537,"ethereumjs-util":3288,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=(a=e("react"))&&a.__esModule?a:{default:a},o=e("react-redux"),s=e("ethereumjs-util"),i=e("../../../../../../components/app/confirm/info/row"),l=e("../../../../../../hooks/useI18nContext"),c=e("../../../../../../selectors"),u=e("../../../../../../components/component-library"),d=e("../../../../../../helpers/constants/design-system"),p=e("../../../../utils"),f=e("../../row/typed-sign-data/typedSignData");n.default=()=>{var e;const t=(0,l.useI18nContext)(),n=(0,o.useSelector)(c.currentConfirmationSelector);if(null==n||!n.msgParams)return null;const{domain:a}=(0,p.parseTypedDataMessage)(n.msgParams.data);return r.default.createElement(r.default.Fragment,null,r.default.createElement(u.Box,{backgroundColor:d.BackgroundColor.backgroundDefault,borderRadius:d.BorderRadius.MD,marginBottom:4,padding:0},r.default.createElement(u.Box,{padding:2},r.default.createElement(i.ConfirmInfoRow,{label:t("requestFrom"),tooltip:t("requestFromInfo")},r.default.createElement(i.ConfirmInfoRowUrl,{url:n.msgParams.origin}))),(0,s.isValidAddress)(a.verifyingContract)&&r.default.createElement(u.Box,{padding:2},r.default.createElement(i.ConfirmInfoRow,{label:t("interactingWith")},r.default.createElement(i.ConfirmInfoRowAddress,{address:a.verifyingContract})))),r.default.createElement(u.Box,{backgroundColor:d.BackgroundColor.backgroundDefault,borderRadius:d.BorderRadius.MD,padding:2,marginBottom:4},r.default.createElement(i.ConfirmInfoRow,{label:t("message")},r.default.createElement(f.ConfirmInfoRowTypedSignData,{data:null===(e=n.msgParams)||void 0===e?void 0:e.data}))))}}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm/info/typed-sign/typed-sign.tsx"}],[5531,{"./ledger-info":5532},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"LedgerInfo",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./ledger-info"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm/ledger-info/index.ts"}],[5532,{"../../../../../../app/scripts/lib/util":120,"../../../../../../shared/constants/app":4493,"../../../../../../shared/constants/hardware-wallets":4501,"../../../../../components/component-library":4955,"../../../../../ducks/app/app":5336,"../../../../../ducks/metamask/metamask":5346,"../../../../../helpers/constants/design-system":5355,"../../../../../hooks/useI18nContext":5427,"../../../hooks/useLedgerConnection":5705,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=m(e("react")),r=e("react-redux"),o=e("../../../../../../app/scripts/lib/util"),s=e("../../../../../../shared/constants/app"),i=e("../../../../../../shared/constants/hardware-wallets"),l=e("../../../../../components/component-library"),c=e("../../../../../ducks/app/app"),u=e("../../../../../ducks/metamask/metamask"),d=e("../../../../../helpers/constants/design-system"),p=e("../../../../../hooks/useI18nContext"),f=m(e("../../../hooks/useLedgerConnection"));function m(e){return e&&e.__esModule?e:{default:e}}n.default=()=>{const{isLedgerWallet:e}=(0,f.default)(),t=(0,p.useI18nContext)(),n=(0,r.useDispatch)(),m=(0,r.useSelector)(c.getLedgerWebHidConnectedStatus),g=(0,r.useSelector)(u.getLedgerTransportType),h=(0,r.useSelector)(c.getLedgerTransportStatus),y=(0,o.getEnvironmentType)()===s.ENVIRONMENT_TYPE_FULLSCREEN;if(!e)return null;const v=g===i.LedgerTransportTypes.webhid;return a.default.createElement(l.BannerAlert,{severity:l.BannerAlertSeverity.Info,style:{marginTop:16}},a.default.createElement(l.Text,{variant:d.TextVariant.headingSm,fontWeight:d.FontWeight.Medium},t("ledgerConnectionInstructionHeader")),a.default.createElement("ul",{style:{listStyle:"disc"}},a.default.createElement("li",null,a.default.createElement(l.Text,{variant:d.TextVariant.bodyMd},t("ledgerConnectionInstructionStepThree"))),a.default.createElement("li",null,a.default.createElement(l.Text,{variant:d.TextVariant.bodyMd},t("ledgerConnectionInstructionStepFour")))),h===i.HardwareTransportStates.deviceOpenFailure&&a.default.createElement(l.Button,{variant:l.ButtonVariant.Link,textAlign:d.TextAlign.Left,fontWeight:d.FontWeight.Normal,onClick:async()=>{var e,t;y?window.location.reload():null===(e=(t=global.platform).openExtensionInBrowser)||void 0===e||e.call(t,null,null,!0)}},t("ledgerConnectionInstructionCloseOtherApps")),v&&m===i.WebHIDConnectedStatuses.notConnected&&a.default.createElement(l.Button,{variant:l.ButtonVariant.Link,textAlign:d.TextAlign.Left,fontWeight:d.FontWeight.Normal,onClick:async()=>{if(y){const e=(await window.navigator.hid.requestDevice({filters:[{vendorId:Number(i.LEDGER_USB_VENDOR_ID)}]})).some((e=>e.vendorId===Number(i.LEDGER_USB_VENDOR_ID)));n((0,c.setLedgerWebHidConnectedStatus)(e?i.WebHIDConnectedStatuses.connected:i.WebHIDConnectedStatuses.notConnected))}else{var e,t;null===(e=(t=global.platform).openExtensionInBrowser)||void 0===e||e.call(t,null,null,!0)}}},t(y?"clickToConnectLedgerViaWebHID":"openFullScreenForLedgerWebHid")))}}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm/ledger-info/ledger-info.tsx"}],[5533,{"./nav":5534},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"Nav",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./nav"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm/nav/index.tsx"}],[5534,{"../../../../../components/component-library":4955,"../../../../../helpers/constants/design-system":5355,"../../../../../helpers/constants/routes":5361,"../../../../../hooks/useI18nContext":5427,"../../../../../selectors":5987,"../../../../../store/actions":5998,"../../../utils":5725,"eth-rpc-errors":3257,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=e("eth-rpc-errors"),r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=m(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=e("react-redux"),s=e("react-router-dom"),i=e("../../../../../components/component-library"),l=e("../../../../../helpers/constants/design-system"),c=e("../../../../../helpers/constants/routes"),u=e("../../../../../hooks/useI18nContext"),d=e("../../../../../selectors"),p=e("../../../../../store/actions"),f=e("../../../utils");function m(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(m=function(e){return e?n:t})(e)}n.default=()=>{const e=(0,s.useHistory)(),t=(0,u.useI18nContext)(),n=(0,o.useSelector)(d.currentConfirmationSelector),m=(0,o.useSelector)(d.pendingConfirmationsSortedSelector),g=(0,o.useDispatch)(),h=(0,r.useMemo)((()=>(null==m?void 0:m.length)<=0||!n?0:m.findIndex((({id:e})=>e===n.id))),[n,m]),y=(0,r.useCallback)((t=>{const n=m[h+t];e.replace(`${c.CONFIRM_TRANSACTION_ROUTE}/${n.id}${(0,f.isSignatureApprovalRequest)(n)?c.SIGNATURE_REQUEST_PATH:""}`)}),[h,m]),v=(0,r.useCallback)((()=>{m.forEach((e=>{g((0,p.rejectPendingApproval)(e.id,(0,a.serializeError)(a.ethErrors.provider.userRejectedRequest())))}))}),[m]);return m.length<=1?null:r.default.createElement(i.Box,{alignItems:l.AlignItems.center,backgroundColor:l.BackgroundColor.backgroundDefault,display:l.Display.Flex,flexDirection:l.FlexDirection.Row,justifyContent:l.JustifyContent.spaceBetween,padding:3,style:{zIndex:2}},r.default.createElement(i.Box,{alignItems:l.AlignItems.center,display:l.Display.Flex},r.default.createElement(i.ButtonIcon,{ariaLabel:"Previous Confirmation",backgroundColor:l.BackgroundColor.backgroundAlternative,borderRadius:l.BorderRadius.full,className:"confirm_nav__left_btn",color:l.IconColor.iconAlternative,disabled:0===h,iconName:i.IconName.ArrowLeft,onClick:()=>y(-1),size:i.ButtonIconSize.Sm}),r.default.createElement(i.Text,{color:l.TextColor.textAlternative,marginInline:2,variant:l.TextVariant.bodySm},h+1," of ",m.length),r.default.createElement(i.ButtonIcon,{ariaLabel:"Next Confirmation",backgroundColor:l.BackgroundColor.backgroundAlternative,borderRadius:l.BorderRadius.full,className:"confirm_nav__right_btn",color:l.IconColor.iconAlternative,disabled:h===m.length-1,iconName:i.IconName.ArrowRight,onClick:()=>y(1),size:i.ButtonIconSize.Sm})),r.default.createElement(i.Button,{borderRadius:l.BorderRadius.XL,className:"confirm_nav__reject_all",fontWeight:l.FontWeight.Normal,onClick:v,paddingLeft:3,paddingRight:3,startIconName:i.IconName.Close,type:i.ButtonVariant.Secondary},t("rejectAll")))}}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm/nav/nav.tsx"}],[5535,{"../../../../../../shared/modules/hexstring-utils":4544,"../../../../../components/app/confirm/info/row":4599,"../../../../../components/component-library":4955,"../../../../../helpers/constants/design-system":5355,"../../../../../helpers/utils/util":5399,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.DataTree=void 0;var a,r=(a=e("react"))&&a.__esModule?a:{default:a},o=e("../../../../../../shared/modules/hexstring-utils"),s=e("../../../../../helpers/utils/util"),i=e("../../../../../components/component-library"),l=e("../../../../../helpers/constants/design-system"),c=e("../../../../../components/app/confirm/info/row");const u=({data:e})=>r.default.createElement(i.Box,{width:l.BlockSize.Full},Object.entries(e).map((([e,{value:t,type:n}],a)=>r.default.createElement(c.ConfirmInfoRow,{label:`${(0,s.sanitizeString)(e.charAt(0).toUpperCase()+e.slice(1))}:`,style:{paddingRight:0},key:`tree-data-${e}-index-${a}`},r.default.createElement(d,{value:t,type:n})))));n.DataTree=u;const d=({value:e,type:t})=>"object"==typeof e&&null!==e?r.default.createElement(u,{data:e}):"address"===t&&(0,o.isValidHexAddress)(e,{mixedCaseUseChecksum:!0})?r.default.createElement(c.ConfirmInfoRowAddress,{address:e}):r.default.createElement(c.ConfirmInfoRowText,{text:(0,s.sanitizeString)(e)})}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm/row/dataTree.tsx"}],[5536,{"../../../../../../components/component-library":4955,"../../../../../../helpers/constants/design-system":5355,"../dataTree":5535,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.ConfirmInfoRowTypedSignDataV1=void 0;var a,r=(a=e("react"))&&a.__esModule?a:{default:a},o=e("../../../../../../components/component-library"),s=e("../../../../../../helpers/constants/design-system"),i=e("../dataTree");n.ConfirmInfoRowTypedSignDataV1=({data:e})=>{if(!e)return null;const t=e.reduce(((e,{name:t,value:n,type:a})=>({...e,[t]:{type:a,value:n}})),{});return r.default.createElement(o.Box,{width:s.BlockSize.Full},r.default.createElement(o.Box,{style:{marginLeft:-8}},r.default.createElement(i.DataTree,{data:t})))}}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm/row/typed-sign-data-v1/typedSignDataV1.tsx"}],[5537,{"../../../../../../components/app/confirm/info/row":4599,"../../../../../../components/component-library":4955,"../../../../../../helpers/constants/design-system":5355,"../../../../../../hooks/useI18nContext":5427,"../../../../utils":5725,"../dataTree":5535,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.ConfirmInfoRowTypedSignData=void 0;var a,r=(a=e("react"))&&a.__esModule?a:{default:a},o=e("../../../../../../hooks/useI18nContext"),s=e("../../../../../../components/component-library"),i=e("../../../../../../helpers/constants/design-system"),l=e("../../../../../../components/app/confirm/info/row"),c=e("../dataTree"),u=e("../../../../utils");n.ConfirmInfoRowTypedSignData=({data:e})=>{const t=(0,o.useI18nContext)();if(!e)return null;const{sanitizedMessage:n,primaryType:a}=(0,u.parseSanitizeTypedDataMessage)(e);return r.default.createElement(s.Box,{width:i.BlockSize.Full},r.default.createElement(l.ConfirmInfoRow,{label:`${t("primaryType")}:`,style:{paddingLeft:0,paddingRight:0}},r.default.createElement(l.ConfirmInfoRowText,{text:a})),r.default.createElement(s.Box,{style:{marginLeft:-8}},r.default.createElement(c.DataTree,{data:n.value})))}}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm/row/typed-sign-data/typedSignData.tsx"}],[5538,{"./scroll-to-bottom":5539},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./scroll-to-bottom"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm/scroll-to-bottom/index.ts"}],[5539,{"../../../../../components/component-library":4955,"../../../../../contexts/i18n":5324,"../../../../../ducks/confirm/confirm":5339,"../../../../../helpers/constants/design-system":5355,"../../../../../hooks/usePrevious":5436,"../../../../../hooks/useScrollRequired":5437,"../../../selectors":5717,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=p(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=e("react-redux"),o=e("../../../../../contexts/i18n"),s=e("../../../../../components/component-library"),i=e("../../../../../helpers/constants/design-system"),l=e("../../../../../hooks/usePrevious"),c=e("../../../../../hooks/useScrollRequired"),u=e("../../../../../ducks/confirm/confirm"),d=e("../../../selectors");function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(p=function(e){return e?n:t})(e)}n.default=({children:e})=>{const t=(0,a.useContext)(o.I18nContext),n=(0,r.useDispatch)(),p=(0,r.useSelector)(d.currentConfirmationSelector),f=(0,l.usePrevious)(null==p?void 0:p.id),{hasScrolledToBottom:m,isScrollable:g,isScrolledToBottom:h,onScroll:y,scrollToBottom:v,setHasScrolledToBottom:b,ref:T}=(0,c.useScrollRequired)([null==p?void 0:p.id],{offsetPxFromBottom:0});return(0,a.useEffect)((()=>{if(f===(null==p?void 0:p.id))return;const e=null==T?void 0:T.current;e&&("function"==typeof e.scrollTo&&e.scrollTo(0,0),b(!1))}),[null==p?void 0:p.id,f,null==T?void 0:T.current]),(0,a.useEffect)((()=>{n((0,u.updateConfirm)({isScrollToBottomNeeded:g&&!m}))}),[g,m]),a.default.createElement(s.Box,{backgroundColor:i.BackgroundColor.backgroundAlternative,width:i.BlockSize.Full,height:i.BlockSize.Full,style:{minHeight:"0",overflow:"hidden",position:"relative"}},a.default.createElement(s.Box,{display:i.Display.Flex,flexDirection:i.FlexDirection.Column,width:i.BlockSize.Full,height:i.BlockSize.Full,paddingLeft:4,paddingRight:4,onScroll:y,ref:T,style:{overflow:"auto"}},e,g&&!h&&a.default.createElement(s.ButtonIcon,{className:"confirm-scroll-to-bottom__button",onClick:v,iconName:s.IconName.Arrow2Down,ariaLabel:t("scrollDown"),backgroundColor:i.BackgroundColor.backgroundDefault,borderRadius:i.BorderRadius.full,color:i.IconColor.primaryDefault,display:i.Display.Flex,size:s.ButtonIconSize.Md})))}}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm/scroll-to-bottom/scroll-to-bottom.tsx"}],[5540,{"./title":5541},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"Title",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./title"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm/title/index.ts"}],[5541,{"../../../../../components/app/alert-system/general-alert/general-alert":4574,"../../../../../components/app/alert-system/utils":4578,"../../../../../components/component-library":4955,"../../../../../helpers/constants/design-system":5355,"../../../../../hooks/useAlerts":5415,"../../../../../hooks/useI18nContext":5427,"../../../../../selectors":5987,"@metamask/transaction-controller":2234,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=e("@metamask/transaction-controller"),r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=m(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=e("react-redux"),s=e("../../../../../components/component-library"),i=e("../../../../../helpers/constants/design-system"),l=e("../../../../../hooks/useI18nContext"),c=e("../../../../../selectors"),u=f(e("../../../../../hooks/useAlerts")),d=e("../../../../../components/app/alert-system/utils"),p=f(e("../../../../../components/app/alert-system/general-alert/general-alert"));function f(e){return e&&e.__esModule?e:{default:e}}function m(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(m=function(e){return e?n:t})(e)}function g({ownerId:e}){const t=(0,l.useI18nContext)(),{generalAlerts:n}=(0,u.default)(e);if(0===n.length)return null;const a=n.length>1,o=n[0],i=a?(0,d.getHighestSeverity)(n):o.severity;return r.default.createElement(s.Box,{marginTop:4},r.default.createElement(p.default,{"data-testid":"confirm-banner-alert",title:a?t("alertBannerMultipleAlertsTitle"):o.reason,description:a?t("alertBannerMultipleAlertsDescription"):o.message,severity:i,provider:a?undefined:o.provider,details:a?undefined:o.alertDetails,reportUrl:o.reportUrl}))}const h=(0,r.memo)((()=>{const e=(0,l.useI18nContext)(),t=(0,o.useSelector)(c.currentConfirmationSelector),n=(0,r.useMemo)((()=>({[a.TransactionType.personalSign]:e("confirmTitleSignature"),[a.TransactionType.signTypedData]:e("confirmTitleSignature"),[a.TransactionType.contractInteraction]:e("confirmTitleTransaction")})),[]),u=(0,r.useMemo)((()=>({[a.TransactionType.personalSign]:e("confirmTitleDescSignature"),[a.TransactionType.signTypedData]:e("confirmTitleDescSignature"),[a.TransactionType.contractInteraction]:e("confirmTitleDescContractInteractionTransaction")})),[]);if(!t)return null;const d=n[t.type||a.TransactionType.contractInteraction],p=u[t.type||a.TransactionType.contractInteraction];return r.default.createElement(r.default.Fragment,null,r.default.createElement(g,{ownerId:t.id}),r.default.createElement(s.Text,{variant:i.TextVariant.headingLg,paddingTop:4,paddingBottom:2,textAlign:i.TextAlign.Center},d),r.default.createElement(s.Text,{paddingBottom:4,color:i.TextColor.textAlternative,textAlign:i.TextAlign.Center},p))}));n.default=h}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm/title/title.tsx"}],[5542,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.getConfirmationSender=void 0;n.getConfirmationSender=e=>{const t=null==e?void 0:e.msgParams,n=null==e?void 0:e.txParams;let a;return t&&(a=t.from),n&&(a=n.from),{from:a}}}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm/utils.ts"}],[5543,{"../../../../components/component-library":4955,"../../../../components/component-library/modal-content/deprecated":4963,"../../../../components/component-library/modal-header/deprecated":4972,"../../../../helpers/constants/design-system":5355,"../../../../hooks/useI18nContext":5427,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=u(e("react")),r=u(e("prop-types")),o=e("../../../../hooks/useI18nContext"),s=e("../../../../helpers/constants/design-system"),i=e("../../../../components/component-library"),l=e("../../../../components/component-library/modal-content/deprecated"),c=e("../../../../components/component-library/modal-header/deprecated");function u(e){return e&&e.__esModule?e:{default:e}}const d=({onSubmit:e,onCancel:t})=>{const n=(0,o.useI18nContext)();return a.default.createElement(i.Modal,{isOpen:!0,onClose:t,className:"confirmation-warning-modal__content"},a.default.createElement(i.ModalOverlay,null),a.default.createElement(l.ModalContent,null,a.default.createElement(c.ModalHeader,{childrenWrapperProps:{display:s.Display.Flex,flexDirection:s.FlexDirection.Column,alignItems:s.AlignItems.center,gap:4}},a.default.createElement(i.Icon,{name:i.IconName.Danger,color:s.IconColor.errorDefault,size:i.IconSize.Xl}),a.default.createElement(i.Text,{variant:s.TextVariant.headingSm,as:"h4",fontWeight:s.FontWeight.Bold,textAlign:s.TextAlign.Center},n("addEthereumChainWarningModalTitle"))),a.default.createElement(i.Box,{marginBottom:4},a.default.createElement(i.Text,{marginTop:4,variant:s.TextVariant.bodySm},n("addEthereumChainWarningModalHeader",[a.default.createElement("strong",{key:"part-2"},n("addEthereumChainWarningModalHeaderPartTwo"))])),a.default.createElement(i.Text,{marginTop:4,variant:s.TextVariant.bodySm},n("addEthereumChainWarningModalListHeader")),a.default.createElement("ul",null,a.default.createElement(i.Text,{as:"li",marginTop:2,variant:s.TextVariant.bodySm},n("addEthereumChainWarningModalListPointOne")),a.default.createElement(i.Text,{as:"li",marginTop:2,variant:s.TextVariant.bodySm},n("addEthereumChainWarningModalListPointTwo")),a.default.createElement(i.Text,{as:"li",marginTop:2,variant:s.TextVariant.bodySm},n("addEthereumChainWarningModalListPointThree")))),a.default.createElement(i.Box,{display:s.Display.Flex,gap:4},a.default.createElement(i.Button,{variant:i.BUTTON_VARIANT.SECONDARY,onClick:t,block:!0,size:i.BUTTON_SIZES.LG},n("reject")),a.default.createElement(i.Button,{variant:i.BUTTON_VARIANT.PRIMARY,onClick:e,danger:!0,block:!0,size:i.BUTTON_SIZES.LG},n("approveButtonText")))))};d.propTypes={onSubmit:r.default.func,onCancel:r.default.func};n.default=d}}},{package:"$root$",file:"ui/pages/confirmations/components/confirmation-warning-modal/confirmation-warning-modal.js"}],[5544,{"./confirmation-warning-modal":5543},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./confirmation-warning-modal"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/confirmation-warning-modal/index.js"}],[5545,{"../../../../../shared/constants/transaction":4520,"../../../../components/app/name/name":4711,"../../../../components/component-library":4955,"../../../../components/ui/box":5194,"../../../../components/ui/button/button.component":5197,"../../../../components/ui/identicon":5247,"../../../../components/ui/nft-collection-image/nft-collection-image":5271,"../../../../components/ui/popover":5281,"../../../../components/ui/tooltip/tooltip":5311,"../../../../helpers/constants/design-system":5355,"../../../../hooks/useCopyToClipboard":5417,"../../../../hooks/useI18nContext":5427,"../../../../hooks/usePetnamesEnabled":5434,"../../../../selectors":5987,"../../send/send.utils":5722,"@metamask/etherscan-link":1369,"@metamask/name-controller":1529,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=E;var a=x(e("react")),r=x(e("prop-types")),o=e("@metamask/etherscan-link"),s=e("react-redux"),i=e("@metamask/name-controller"),l=x(e("../../../../components/ui/box")),c=x(e("../../../../components/ui/button/button.component")),u=x(e("../../../../components/ui/tooltip/tooltip")),d=e("../../../../hooks/useI18nContext"),p=x(e("../../../../components/ui/identicon")),f=e("../../send/send.utils"),m=x(e("../../../../components/ui/popover")),g=e("../../../../helpers/constants/design-system"),h=e("../../../../hooks/useCopyToClipboard"),y=e("../../../../selectors"),v=e("../../../../../shared/constants/transaction"),b=x(e("../../../../components/ui/nft-collection-image/nft-collection-image")),T=e("../../../../components/component-library"),_=x(e("../../../../components/app/name/name")),k=e("../../../../hooks/usePetnamesEnabled");function x(e){return e&&e.__esModule?e:{default:e}}function E({onClose:e,tokenName:t,tokenAddress:n,toAddress:r,chainId:x,rpcPrefs:E,tokenId:w,assetName:C,assetStandard:S,isContractRequestingSignature:P}){var M,I;const O=(0,d.useI18nContext)(),[N,j]=(0,h.useCopyToClipboard)(),[D,A]=(0,h.useCopyToClipboard)(),F=(0,k.usePetnamesEnabled)(),R=(0,s.useSelector)((e=>({data:(0,y.getAddressBookEntry)(e,r)}))),B=S===v.TokenStandard.ERC721||S===v.TokenStandard.ERC1155||C&&w||t&&w;return a.default.createElement(m.default,{className:"contract-details-modal"},a.default.createElement(l.default,{paddingTop:6,paddingRight:4,paddingBottom:8,paddingLeft:4,className:"contract-details-modal__content"},a.default.createElement(T.Text,{fontWeight:g.FontWeight.Bold,variant:g.TextVariant.bodyMd,as:"h5",display:g.Display.Flex},O("contractTitle")),a.default.createElement(T.Text,{variant:g.TextVariant.bodySm,as:"h6",display:g.Display.Flex,color:g.TextColor.textAlternative,marginTop:2},O("contractDescription")),!P&&a.default.createElement(a.default.Fragment,null,a.default.createElement(T.Text,{variant:g.TextVariant.bodySm,as:"h6",display:g.Display.Flex,marginTop:4,marginBottom:2},O(B?"contractNFT":"contractToken")),a.default.createElement(l.default,{display:g.Display.Flex,borderRadius:g.Size.SM,borderStyle:g.BorderStyle.solid,borderColor:g.BorderColor.borderDefault,className:"contract-details-modal__content__contract"},B?a.default.createElement(l.default,{margin:4},a.default.createElement(b.default,{assetName:C,tokenAddress:n})):a.default.createElement(p.default,{className:"contract-details-modal__content__contract__identicon",address:n,diameter:24}),a.default.createElement(l.default,{"data-testid":"recipient"},a.default.createElement(T.Text,{fontWeight:g.FontWeight.Bold,variant:g.TextVariant.bodyMd,as:"h5",marginTop:4},t||(0,f.ellipsify)(n)),t&&a.default.createElement(T.Text,{variant:g.TextVariant.bodySm,as:"h6",display:g.Display.Flex,color:g.TextColor.textAlternative,marginBottom:4},(0,f.ellipsify)(n))),a.default.createElement(l.default,{alignItems:g.AlignItems.center,marginLeft:"auto",marginRight:4,gap:2},a.default.createElement(u.default,{position:"top",title:O(N?"copiedExclamation":"copyToClipboard")},a.default.createElement(T.ButtonIcon,{display:g.Display.Flex,iconName:N?T.IconName.CopySuccess:T.IconName.Copy,onClick:()=>j(n),color:g.Color.iconMuted,ariaLabel:O(N?"copiedExclamation":"copyToClipboard")})),a.default.createElement(u.default,{position:"top",title:O("openInBlockExplorer")},a.default.createElement(T.ButtonIcon,{display:g.Display.Flex,iconName:T.IconName.Export,color:g.Color.iconMuted,onClick:()=>{const e=(0,o.getAccountLink)(n,x,{blockExplorerUrl:(null==E?void 0:E.blockExplorerUrl)??null},null);global.platform.openTab({url:e})},ariaLabel:O("openInBlockExplorer")}))))),a.default.createElement(T.Text,{variant:g.TextVariant.bodySm,as:"h6",display:g.Display.Flex,marginTop:4,marginBottom:2},B&&O("contractRequestingAccess"),P&&O("contractRequestingSignature"),!B&&!P&&O("contractRequestingSpendingCap")),a.default.createElement(l.default,{display:g.Display.Flex,borderRadius:g.Size.SM,borderStyle:g.BorderStyle.solid,borderColor:g.BorderColor.borderDefault,alignItems:g.AlignItems.center,className:"contract-details-modal__content__contract"},!F&&a.default.createElement(p.default,{className:"contract-details-modal__content__contract__identicon",diameter:24,address:r}),a.default.createElement(l.default,{"data-testid":"recipient"},F?a.default.createElement(T.Text,{variant:g.TextVariant.bodyMd,as:"h5"},a.default.createElement(_.default,{value:r,type:i.NameType.ETHEREUM_ADDRESS})):a.default.createElement(T.Text,{fontWeight:g.FontWeight.Bold,variant:g.TextVariant.bodyMd,as:"h5"},(null==R||null===(M=R.data)||void 0===M?void 0:M.name)||(0,f.ellipsify)(r)),!F&&(null==R||null===(I=R.data)||void 0===I?void 0:I.name)&&a.default.createElement(T.Text,{variant:g.TextVariant.bodySm,as:"h6",display:g.Display.Flex,color:g.TextColor.textAlternative,marginBottom:4},(0,f.ellipsify)(r))),a.default.createElement(l.default,{alignItems:g.AlignItems.center,marginLeft:"auto",marginRight:4,gap:2},a.default.createElement(u.default,{position:"top",title:O(D?"copiedExclamation":"copyToClipboard")},a.default.createElement(T.ButtonIcon,{display:g.Display.Flex,iconName:D?T.IconName.CopySuccess:T.IconName.Copy,onClick:()=>A(r),color:g.Color.iconMuted,ariaLabel:O(N?"copiedExclamation":"copyToClipboard")})),a.default.createElement(u.default,{position:"top",title:O("openInBlockExplorer")},a.default.createElement(T.ButtonIcon,{display:g.Display.Flex,iconName:T.IconName.Export,color:g.Color.iconMuted,onClick:()=>{const e=(0,o.getAccountLink)(r,x,{blockExplorerUrl:(null==E?void 0:E.blockExplorerUrl)??null},null);global.platform.openTab({url:e})},ariaLabel:O("openInBlockExplorer")}))))),a.default.createElement(l.default,{display:g.Display.Flex,paddingTop:6,paddingRight:4,paddingBottom:6,paddingLeft:4},a.default.createElement(c.default,{type:"primary",onClick:()=>e()},O("recoveryPhraseReminderConfirm"))))}E.propTypes={onClose:r.default.func,tokenName:r.default.string,tokenAddress:r.default.string,toAddress:r.default.string,chainId:r.default.string,rpcPrefs:r.default.object,tokenId:r.default.string,assetStandard:r.default.string,assetName:r.default.string,isContractRequestingSignature:r.default.bool}}}},{package:"$root$",file:"ui/pages/confirmations/components/contract-details-modal/contract-details-modal.js"}],[5546,{"./contract-details-modal":5545},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./contract-details-modal"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/contract-details-modal/index.js"}],[5547,{"../../../../components/component-library":4955,"../../../../components/ui/box/box":5193,"../../../../components/ui/identicon":5247,"../../../../components/ui/tooltip/tooltip":5311,"../../../../components/ui/typography/typography":5315,"../../../../helpers/constants/design-system":5355,"../../../../hooks/useCopyToClipboard":5417,"../../../../hooks/useI18nContext":5427,"@metamask/etherscan-link":1369,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=g;var a=m(e("react")),r=m(e("prop-types")),o=e("@metamask/etherscan-link"),s=m(e("../../../../components/ui/box/box")),i=m(e("../../../../components/ui/tooltip/tooltip")),l=e("../../../../hooks/useI18nContext"),c=m(e("../../../../components/ui/identicon")),u=m(e("../../../../components/ui/typography/typography")),d=e("../../../../helpers/constants/design-system"),p=e("../../../../hooks/useCopyToClipboard"),f=e("../../../../components/component-library");function m(e){return e&&e.__esModule?e:{default:e}}function g({address:e,tokenName:t,chainId:n,rpcPrefs:r}){const m=(0,l.useI18nContext)(),[g,h]=(0,p.useCopyToClipboard)();return a.default.createElement(s.default,{className:"contract-token-values",display:d.DISPLAY.FLEX,alignItems:d.AlignItems.center,justifyContent:d.JustifyContent.center,gap:2},a.default.createElement(c.default,{address:e,diameter:24}),a.default.createElement(u.default,{variant:d.TypographyVariant.H2,fontWeight:d.FONT_WEIGHT.BOLD,color:d.TextColor.textAlternative,marginTop:0,marginBottom:0},t),a.default.createElement(i.default,{position:"top",title:m(g?"copiedExclamation":"copyToClipboard")},a.default.createElement(f.ButtonIcon,{iconName:g?f.IconName.CopySuccess:f.IconName.Copy,color:d.Color.iconMuted,onClick:()=>h(e),ariaLabel:m(g?"copiedExclamation":"copyToClipboard")})),a.default.createElement(i.default,{position:"top",title:m("openInBlockExplorer")},a.default.createElement(f.ButtonIcon,{display:d.DISPLAY.FLEX,iconName:f.IconName.Export,color:d.Color.iconMuted,onClick:()=>{const t=(0,o.getAccountLink)(e,n,{blockExplorerUrl:(null==r?void 0:r.blockExplorerUrl)??null},null);global.platform.openTab({url:t})},ariaLabel:m("openInBlockExplorer")})))}g.propTypes={address:r.default.string,tokenName:r.default.string,chainId:r.default.string,rpcPrefs:r.default.object}}}},{package:"$root$",file:"ui/pages/confirmations/components/contract-token-values/contract-token-values.js"}],[5548,{"../../../../../.storybook/i18n":1,"../../../../components/component-library":4955,"../../../../helpers/constants/design-system":5355,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=u;var a,r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=(a=e("prop-types"))&&a.__esModule?a:{default:a},s=e("../../../../../.storybook/i18n"),i=e("../../../../components/component-library"),l=e("../../../../helpers/constants/design-system");function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}function u({nextNonce:e,customNonceValue:t,showCustomizeNonceModal:n}){const a=(0,r.useContext)(s.I18nContext);return r.default.createElement(i.Box,{display:l.Display.Flex,marginBottom:4,paddingTop:3,paddingRight:3,paddingBottom:4,paddingLeft:3,borderRadius:l.BorderRadius.MD,alignItems:l.AlignItems.center,className:"custom-nonce__content"},r.default.createElement(i.Box,{className:"custom-nonce__header",display:l.Display.InlineFlex,justifyContent:l.JustifyContent.flexStart,alignItems:l.AlignItems.center},r.default.createElement(i.Text,{variant:l.TextVariant.bodySm,as:"h6"},a("nonce")),r.default.createElement(i.ButtonLink,{key:"editCustomNonce",size:l.Size.auto,marginLeft:3,onClick:()=>n()},a("edit"))),r.default.createElement(i.Text,{className:"custom-nonce__value",variant:l.TextVariant.bodySmBold,as:"h6"},t||e))}u.propTypes={nextNonce:o.default.number,customNonceValue:o.default.string,showCustomizeNonceModal:o.default.func}}}},{package:"$root$",file:"ui/pages/confirmations/components/custom-nonce/custom-nonce.js"}],[5549,{"./custom-nonce":5548},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./custom-nonce"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/custom-nonce/index.js"}],[5550,{"../../../../components/component-library":4955,"../../../../components/ui/tooltip":5310,"../../../../helpers/constants/design-system":5355,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.CustomSpendingCapTooltip=void 0;var a=l(e("react")),r=l(e("prop-types")),o=l(e("../../../../components/ui/tooltip")),s=e("../../../../helpers/constants/design-system"),i=e("../../../../components/component-library");function l(e){return e&&e.__esModule?e:{default:e}}const c=({tooltipContentText:e,tooltipIcon:t})=>a.default.createElement(i.Box,{display:s.Display.InlineFlex,alignItems:s.AlignItems.center},a.default.createElement(o.default,{interactive:!0,position:"top",html:a.default.createElement(i.Text,{variant:s.TextVariant.bodySm,color:s.TextColor.textAlternative},e)},t?a.default.createElement(i.Icon,{name:i.IconName.Danger,size:i.IconSize.Inherit,color:s.IconColor.errorDefault}):""!==t&&a.default.createElement(i.Icon,{name:i.IconName.Question,size:i.IconSize.Inherit,color:s.IconColor.iconAlternative})));n.CustomSpendingCapTooltip=c,c.propTypes={tooltipContentText:r.default.oneOfType([r.default.string,r.default.node]),tooltipIcon:r.default.oneOfType([r.default.string,r.default.bool])}}}},{package:"$root$",file:"ui/pages/confirmations/components/custom-spending-cap/custom-spending-cap-tooltip.js"}],[5551,{"../../../../../shared/constants/tokens":4519,"../../../../../shared/lib/transactions-controller-utils":4531,"../../../../../shared/modules/Numeric":4533,"../../../../../shared/modules/conversion.utils":4537,"../../../../components/component-library":4955,"../../../../contexts/gasFee":5323,"../../../../contexts/i18n":5324,"../../../../ducks/app/app":5336,"../../../../helpers/constants/design-system":5355,"../../../../helpers/constants/zendesk-url":5368,"../../../../store/actions":5998,"../../confirm-approve/confirm-approve.util":5641,"./custom-spending-cap-tooltip":5550,"bignumber.js":2933,"ethereumjs-util":3288,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=x;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=k(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=e("react-redux"),o=_(e("prop-types")),s=_(e("bignumber.js")),i=e("ethereumjs-util"),l=e("../../../../contexts/i18n"),c=e("../../../../helpers/constants/design-system"),u=e("../../../../components/component-library"),d=e("../../../../ducks/app/app"),p=e("../../../../../shared/lib/transactions-controller-utils"),f=e("../../../../../shared/modules/conversion.utils"),m=e("../../../../../shared/constants/tokens"),g=e("../../../../../shared/modules/Numeric"),h=e("../../../../store/actions"),y=e("../../confirm-approve/confirm-approve.util"),v=e("../../../../contexts/gasFee"),b=_(e("../../../../helpers/constants/zendesk-url")),T=e("./custom-spending-cap-tooltip");function _(e){return e&&e.__esModule?e:{default:e}}function k(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(k=function(e){return e?n:t})(e)}function x({txParams:e,tokenName:t,currentTokenBalance:n,dappProposedValue:o,siteOrigin:_,passTheErrorText:k,decimals:x,setInputChangeInProgress:E,customSpendingCap:w,setCustomSpendingCap:C}){const S=(0,a.useContext)(l.I18nContext),P=(0,r.useDispatch)(),{updateTransaction:M}=(0,v.useGasFeeContext)(),I=(0,a.useRef)(null),[O,N]=(0,a.useState)(""),[j,D]=(0,a.useState)(w!==String(o)&&!0),A=S("inputLogicEmptyState"),F=e=>e.replace(/,/gu,"."),R=(e,t)=>new g.Numeric(Number(F(e)),10).greaterThan(Number(t),10),B=e=>new g.Numeric(Number(F(e)),10).lessThanOrEqualTo(new g.Numeric(Number(n),10))?{className:"custom-spending-cap__lowerValue",description:S("inputLogicEqualOrSmallerNumber",[a.default.createElement(u.Text,{key:"custom-spending-cap",variant:c.TextVariant.bodySmBold,as:"span"},F(e)," ",t)])}:R(e,n)?{className:"custom-spending-cap__higherValue",description:S("inputLogicHigherNumber")}:{className:"custom-spending-cap__emptyState",description:S("inputLogicEmptyState")},[L,$]=(0,a.useState)(B(w).description),G=async t=>{var n;if(!e)return;E(!0);let a="";const r=B(t).description,o=m.DECIMAL_REGEX.exec(F(t));if((null==o||null===(n=o[1])||void 0===n?void 0:n.length)>x)return void E(!1);t&&!m.NUM_W_OPT_DECIMAL_COMMA_OR_DOT_REGEX.test(t)?(a=S("spendingCapError"),$(S("spendingCapErrorDescription",[_])),N(a)):($(r),N(""));const l=(0,p.calcTokenAmount)(m.MAX_TOKEN_ALLOWANCE_AMOUNT,x);if(Number(t.length)>1&&Number(t)){new s.default(t).greaterThan(l)&&(a=S("spendLimitTooLarge"),N(a))}if(C(String(t)),P((0,d.setCustomTokenAmount)(String(t))),""!==String(t))try{const n=(0,y.getCustomTxParamsData)(e.data,{customPermissionAmount:t,decimals:x}),{from:a,to:r,value:o}=e,s=await(0,h.estimateGas)({from:a,to:r,value:o,data:n});s&&await M({gasLimit:(0,f.hexToDecimal)((0,i.addHexPrefix)(s))})}catch(e){console.error("Error in trying to update gas limit",e)}E(!1)};(0,a.useEffect)((()=>{w===String(o)?D(!1):D(!0)}),[w,o]),(0,a.useEffect)((()=>{k(O)}),[O,k]),(0,a.useEffect)((()=>{I.current&&I.current.focus({preventScroll:!0})}),[I.current]);const W=R(w,n)?S("warningTooltipText",[a.default.createElement(u.Text,{key:"tooltip-text",variant:c.TextVariant.bodySmBold,as:"span",color:c.TextColor.errorDefault},a.default.createElement(u.Icon,{name:u.IconName.Danger,size:u.IconSize.Inherit})," ",S("beCareful"))]):S("inputLogicEmptyState");return a.default.createElement(a.default.Fragment,null,a.default.createElement(u.Box,{className:"custom-spending-cap",display:c.Display.Flex,alignItems:c.AlignItems.flexStart,flexDirection:c.FlexDirection.Column,gap:2,padding:4,backgroundColor:c.BackgroundColor.backgroundAlternative,borderRadius:c.Size.SM},a.default.createElement(u.Box,{display:c.Display.Flex,alignItems:c.AlignItems.center,gap:1,width:c.BlockSize.Full},a.default.createElement("div",null,a.default.createElement(u.Label,{htmlFor:"custom-spending-cap",display:c.Display.Inline,marginRight:1},S("customSpendingCap")),a.default.createElement(T.CustomSpendingCapTooltip,{tooltipContentText:F(w)?W:"",tooltipIcon:F(w)?R(w,n):""})),j&&a.default.createElement(u.ButtonLink,{marginLeft:"auto",size:c.Size.auto,onClick:e=>{e.preventDefault(),D(!1),G(o)}},S("useSiteSuggestion"))),a.default.createElement(u.TextField,{inputRef:I,inputProps:{"data-testid":"custom-spending-cap-input",color:R(w,n)?c.TextColor.errorDefault:c.TextColor.textDefault,paddingInlineEnd:4},id:"custom-spending-cap",onChange:e=>G(e.target.value),placeholder:S("enterANumber"),value:w,endAccessory:a.default.createElement(u.ButtonLink,{onClick:e=>{e.preventDefault(),G(n)},"data-testid":"custom-spending-cap-max-button"},S("max")),width:c.BlockSize.Full}),a.default.createElement(u.HelpText,{color:O?c.TextColor.errorDefault:c.TextColor.textDefault,variant:c.TextVariant.bodySm},O||(F(w)?L:A)),a.default.createElement(u.ButtonLink,{size:c.Size.SM,href:b.default.TOKEN_ALLOWANCE_WITH_SPENDING_CAP,externalLink:!0},S("learnMoreUpperCase"))))}x.propTypes={txParams:o.default.object.isRequired,tokenName:o.default.string,currentTokenBalance:o.default.string,dappProposedValue:o.default.string,siteOrigin:o.default.string,passTheErrorText:o.default.func,decimals:o.default.string,setInputChangeInProgress:o.default.func.isRequired,customSpendingCap:o.default.string,setCustomSpendingCap:o.default.func.isRequired}}}},{package:"$root$",file:"ui/pages/confirmations/components/custom-spending-cap/custom-spending-cap.js"}],[5552,{"../../../../../shared/constants/gas":4500,"../../../../components/component-library":4955,"../../../../components/ui/button":5198,"../../../../components/ui/info-tooltip":5248,"../../../../contexts/i18n":5324,"../../../../helpers/constants/design-system":5355,"../../../../helpers/utils/confirm-tx.util":5381,"../advanced-gas-controls/advanced-gas-controls.component":5471,"bignumber.js":2933,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=h;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=g(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=m(e("prop-types")),o=m(e("bignumber.js")),s=e("../../../../../shared/constants/gas"),i=m(e("../../../../components/ui/button")),l=e("../../../../helpers/constants/design-system"),c=e("../../../../components/component-library"),u=e("../../../../helpers/utils/confirm-tx.util"),d=m(e("../../../../components/ui/info-tooltip")),p=m(e("../advanced-gas-controls/advanced-gas-controls.component")),f=e("../../../../contexts/i18n");function m(e){return e&&e.__esModule?e:{default:e}}function g(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(g=function(e){return e?n:t})(e)}function h({mode:e=s.EditGasModes.modifyInPlace,estimatedMinimumNative:t,transaction:n,gasPrice:r,setGasPrice:m,gasLimit:g,setGasLimit:h,properGasLimit:y,dappSuggestedGasFeeAcknowledged:v,setDappSuggestedGasFeeAcknowledged:b,onManualChange:T,minimumGasLimit:_,balanceError:k,gasErrors:x,txParamsHaveBeenCustomized:E}){const w=(0,a.useContext)(f.I18nContext),C=(0,a.useRef)(null),S=(0,u.areDappSuggestedAndTxParamGasFeesTheSame)(n),P=Boolean((null==n?void 0:n.dappSuggestedGasFees)&&!v&&S);let M;g!==undefined&&y!==undefined&&new o.default(g).lessThan(new o.default(y))&&(M=w("gasLimitRecommended",[y]));const I=k&&E;return a.default.createElement("div",{className:"edit-gas-display"},a.default.createElement("div",{className:"edit-gas-display__content"},I&&a.default.createElement(c.BannerAlert,{severity:l.Severity.Danger,description:w("insufficientFunds"),marginBottom:6}),M&&a.default.createElement(c.BannerAlert,{severity:l.Severity.Warning,description:M,marginBottom:6}),P&&a.default.createElement(c.BannerAlert,{severity:l.Severity.Warning,className:"banner-alert--warning",description:w("gasDisplayDappWarning",[n.origin]),marginBottom:6}),e===s.EditGasModes.speedUp&&a.default.createElement("div",{className:"edit-gas-display__top-tooltip"},a.default.createElement(c.Text,{color:l.TextColor.textDefault,variant:l.TextVariant.bodySm,as:"h6",fontWeight:l.FontWeight.Bold},w("speedUpTooltipText")," ",a.default.createElement(d.default,{position:"top",contentText:w("speedUpExplanation")}))),a.default.createElement(c.Text,{color:l.TextColor.textDefault,variant:l.TextVariant.headingLg,as:"h1",textAlign:l.TextAlign.Center},t),P&&a.default.createElement(i.default,{className:"edit-gas-display__dapp-acknowledgement-button",onClick:()=>b(!0)},w("gasDisplayAcknowledgeDappButtonText")),!P&&a.default.createElement(p.default,{gasLimit:g,setGasLimit:h,gasPrice:r,setGasPrice:m,onManualChange:T,minimumGasLimit:_,gasErrors:x})),a.default.createElement("div",{ref:C,className:"edit-gas-display__scroll-bottom"}))}h.propTypes={mode:r.default.oneOf(Object.values(s.EditGasModes)),estimatedMinimumNative:r.default.string,gasPrice:r.default.string,setGasPrice:r.default.func,gasLimit:r.default.number,setGasLimit:r.default.func,properGasLimit:r.default.number,dappSuggestedGasFeeAcknowledged:r.default.bool,setDappSuggestedGasFeeAcknowledged:r.default.func,transaction:r.default.object,onManualChange:r.default.func,minimumGasLimit:r.default.string,balanceError:r.default.bool,gasErrors:r.default.object,txParamsHaveBeenCustomized:r.default.bool}}}},{package:"$root$",file:"ui/pages/confirmations/components/edit-gas-display/edit-gas-display.component.js"}],[5553,{"./edit-gas-display.component":5552},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./edit-gas-display.component"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/edit-gas-display/index.js"}],[5554,{"../../../../../shared/constants/gas":4500,"../../../../components/component-library":4955,"../../../../components/ui/info-tooltip/info-tooltip":5250,"../../../../contexts/gasFee":5323,"../../../../contexts/transaction-modal":5331,"../../../../helpers/constants/design-system":5355,"../../../../helpers/constants/gas":5357,"../../../../hooks/useI18nContext":5427,"../../hooks/useTransactionEventFragment":5711,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=g;var a=m(e("react")),r=m(e("prop-types")),o=e("../../../../../shared/constants/gas"),s=e("../../../../helpers/constants/design-system"),i=e("../../../../helpers/constants/gas"),l=e("../../../../contexts/gasFee"),c=e("../../../../hooks/useI18nContext"),u=e("../../hooks/useTransactionEventFragment"),d=e("../../../../contexts/transaction-modal"),p=m(e("../../../../components/ui/info-tooltip/info-tooltip")),f=e("../../../../components/component-library");function m(e){return e&&e.__esModule?e:{default:e}}function g({userAcknowledgedGasMissing:e}){const t=(0,c.useI18nContext)(),{editGasMode:n,gasLimit:r,hasSimulationError:m,estimateUsed:g,maxFeePerGas:h,maxPriorityFeePerGas:y,supportsEIP1559:v,transaction:b}=(0,l.useGasFeeContext)(),{updateTransactionEventFragment:T}=(0,u.useTransactionEventFragment)(),{openModal:_}=(0,d.useTransactionModalContext)();if(!v||!g||!(!m||!0===e))return null;let k=g,x=g;g===o.PriorityLevels.high&&n===o.EditGasModes.swaps?(k="swapSuggested",x="swapSuggested"):g===o.PriorityLevels.tenPercentIncreased&&(k=undefined,x="tenPercentIncreased");return a.default.createElement("div",{className:"edit-gas-fee-button"},a.default.createElement("button",{onClick:()=>{T({gas_edit_attempted:"basic"}),_("editGasFee")},"data-testid":"edit-gas-fee-button"},k&&a.default.createElement("span",{className:"edit-gas-fee-button__icon"},i.PRIORITY_LEVEL_ICON_MAP[k]),a.default.createElement("span",{className:"edit-gas-fee-button__label"},t(x)),a.default.createElement(f.Icon,{name:f.IconName.ArrowRight,color:s.Color.primaryDefault,size:f.IconSize.Xs})),"custom"===g&&a.default.createElement("button",{onClick:()=>{T({gas_edit_attempted:"advanced"}),_("advancedGasFee")}},t("edit")),"dappSuggested"===g&&a.default.createElement(p.default,{contentText:a.default.createElement("div",{className:"edit-gas-fee-button__tooltip"},(null==b?void 0:b.origin)&&a.default.createElement(f.Text,{variant:s.TextVariant.bodySm,as:"h6",color:s.TextColor.textAlternative},t("dappSuggestedTooltip",[b.origin])),a.default.createElement(f.Text,{variant:s.TextVariant.bodySm,as:"h6"},a.default.createElement("b",null,t("maxFee"))," ",h),a.default.createElement(f.Text,{variant:s.TextVariant.bodySm,as:"h6"},a.default.createElement("b",null,t("maxPriorityFee"))," ",y),a.default.createElement(f.Text,{variant:s.TextVariant.bodySm,as:"h6"},a.default.createElement("b",null,t("gasLimit"))," ",r)),position:"top"}))}g.propTypes={userAcknowledgedGasMissing:r.default.bool}}}},{package:"$root$",file:"ui/pages/confirmations/components/edit-gas-fee-button/edit-gas-fee-button.js"}],[5555,{"./edit-gas-fee-button":5554},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./edit-gas-fee-button"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/edit-gas-fee-button/index.js"}],[5556,{"../../../../components/component-library":4955,"../../../../contexts/gasFee":5323,"../../../../contexts/transaction-modal":5331,"../../../../helpers/constants/design-system":5355,"../../hooks/useTransactionEventFragment":5711,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=d;var a=u(e("react")),r=u(e("prop-types")),o=e("../../../../contexts/gasFee"),s=e("../../hooks/useTransactionEventFragment"),i=e("../../../../contexts/transaction-modal"),l=e("../../../../components/component-library"),c=e("../../../../helpers/constants/design-system");function u(e){return e&&e.__esModule?e:{default:e}}function d({userAcknowledgedGasMissing:e=!1}){const{hasSimulationError:t,estimateUsed:n,supportsEIP1559:r}=(0,o.useGasFeeContext)(),{updateTransactionEventFragment:u}=(0,s.useTransactionEventFragment)(),{openModal:d}=(0,i.useTransactionModalContext)();if(!r||!n||!(!t||e))return null;return a.default.createElement(l.Button,{style:{textDecoration:"none",height:"var(--typography-l-body-md-medium-line-height)"},size:c.Size.SM,variant:l.ButtonVariant.Link,startIconName:l.IconName.Edit,color:c.IconColor.primaryDefault,alignItems:c.AlignItems.baseline,paddingTop:1,"data-testid":"edit-gas-fee-icon",onClick:()=>{u({gas_edit_attempted:"basic"}),d("editGasFee")}})}d.propTypes={userAcknowledgedGasMissing:r.default.bool}}}},{package:"$root$",file:"ui/pages/confirmations/components/edit-gas-fee-icon/edit-gas-fee-icon.js"}],[5557,{"../../../../../shared/constants/gas":4500,"../../../../components/app/app-loading-spinner":4584,"../../../../components/component-library":4955,"../../../../components/ui/box":5194,"../../../../components/ui/error-message":5221,"../../../../components/ui/popover":5281,"../../../../contexts/gasFee":5323,"../../../../contexts/transaction-modal":5331,"../../../../helpers/constants/design-system":5355,"../../../../helpers/constants/error-keys":5356,"../../../../helpers/constants/zendesk-url":5368,"../../../../hooks/useI18nContext":5427,"./edit-gas-item":5559,"./network-statistics":5564,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=v(e("react")),r=e("../../../../../shared/constants/gas"),o=e("../../../../hooks/useI18nContext"),s=e("../../../../contexts/transaction-modal"),i=v(e("../../../../components/ui/box")),l=v(e("../../../../components/ui/error-message")),c=v(e("../../../../components/ui/popover")),u=e("../../../../helpers/constants/design-system"),d=e("../../../../helpers/constants/error-keys"),p=e("../../../../contexts/gasFee"),f=v(e("../../../../components/app/app-loading-spinner")),m=v(e("../../../../helpers/constants/zendesk-url")),g=e("../../../../components/component-library"),h=v(e("./edit-gas-item")),y=v(e("./network-statistics"));function v(e){return e&&e.__esModule?e:{default:e}}n.default=()=>{const{balanceError:e,editGasMode:t}=(0,p.useGasFeeContext)(),n=(0,o.useI18nContext)(),{closeAllModals:v,closeModal:b,currentModal:T,openModalCount:_}=(0,s.useTransactionModalContext)();if("editGasFee"!==T)return null;let k="editGasFeeModalTitle";return t===r.EditGasModes.cancel?k="editCancellationGasFeeModalTitle":t===r.EditGasModes.speedUp&&(k="editSpeedUpEditGasFeeModalTitle"),a.default.createElement(c.default,{title:n(k),onBack:1===_?undefined:()=>b(["editGasFee"]),onClose:v,className:"edit-gas-fee-popover"},a.default.createElement(a.default.Fragment,null,a.default.createElement(f.default,null),a.default.createElement("div",{className:"edit-gas-fee-popover__wrapper"},a.default.createElement("div",{className:"edit-gas-fee-popover__content"},a.default.createElement(i.default,null,e&&a.default.createElement(l.default,{errorKey:d.INSUFFICIENT_FUNDS_ERROR_KEY}),a.default.createElement("div",{className:"edit-gas-fee-popover__content__header"},a.default.createElement("span",{className:"edit-gas-fee-popover__content__header-option"},n("gasOption")),a.default.createElement("span",{className:"edit-gas-fee-popover__content__header-time"},t!==r.EditGasModes.swaps&&n("time")),a.default.createElement("span",{className:"edit-gas-fee-popover__content__header-max-fee"},n("maxFee"))),(t===r.EditGasModes.cancel||t===r.EditGasModes.speedUp)&&a.default.createElement(h.default,{priorityLevel:r.PriorityLevels.tenPercentIncreased}),t===r.EditGasModes.modifyInPlace&&a.default.createElement(h.default,{priorityLevel:r.PriorityLevels.low}),a.default.createElement(h.default,{priorityLevel:r.PriorityLevels.medium}),a.default.createElement(h.default,{priorityLevel:r.PriorityLevels.high}),a.default.createElement("div",{className:"edit-gas-fee-popover__content__separator"}),t===r.EditGasModes.modifyInPlace&&a.default.createElement(h.default,{priorityLevel:r.PriorityLevels.dAppSuggested}),a.default.createElement(h.default,{priorityLevel:r.PriorityLevels.custom})),a.default.createElement(i.default,null,a.default.createElement(y.default,null),a.default.createElement(g.Text,{className:"edit-gas-fee-popover__know-more",align:"center",color:u.TextColor.textAlternative,tag:u.TextVariant.bodyMd,variant:u.TextVariant.bodySm,as:"h6"},n("learnMoreAboutGas",[a.default.createElement("a",{key:"learnMoreLink",target:"_blank",rel:"noopener noreferrer",href:m.default.USER_GUIDE_GAS},n("learnMore"))])))))))}}}},{package:"$root$",file:"ui/pages/confirmations/components/edit-gas-fee-popover/edit-gas-fee-popover.js"}],[5558,{"../../../../../../shared/constants/gas":4500,"../../../../../components/app/user-preferenced-currency-display":4880,"../../../../../components/ui/info-tooltip":5248,"../../../../../components/ui/loading-heartbeat":5253,"../../../../../contexts/gasFee":5323,"../../../../../contexts/transaction-modal":5331,"../../../../../helpers/constants/common":5353,"../../../../../helpers/constants/gas":5357,"../../../../../helpers/utils/util":5399,"../../../../../hooks/useI18nContext":5427,"../../../hooks/useTransactionEventFragment":5711,"../edit-gas-tooltip/edit-gas-tooltip":5562,"./useGasItemFeeDetails":5561,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=b(e("classnames")),r=b(e("prop-types")),o=b(e("react")),s=e("../../../../../../shared/constants/gas"),i=e("../../../../../helpers/constants/gas"),l=e("../../../../../helpers/constants/common"),c=e("../../../../../helpers/utils/util"),u=e("../../../../../contexts/gasFee"),d=e("../../../../../hooks/useI18nContext"),p=e("../../../hooks/useTransactionEventFragment"),f=e("../../../../../contexts/transaction-modal"),m=b(e("../../../../../components/ui/info-tooltip")),g=b(e("../../../../../components/ui/loading-heartbeat")),h=b(e("../../../../../components/app/user-preferenced-currency-display")),y=b(e("../edit-gas-tooltip/edit-gas-tooltip")),v=e("./useGasItemFeeDetails");function b(e){return e&&e.__esModule?e:{default:e}}const T=({priorityLevel:e})=>{const{editGasMode:t,estimateUsed:n,gasLimit:r,updateTransactionToTenPercentIncreasedGasFee:b,updateTransactionUsingDAPPSuggestedValues:T,updateTransactionUsingEstimate:_,transaction:k}=(0,u.useGasFeeContext)(),{updateTransactionEventFragment:x}=(0,p.useTransactionEventFragment)(),E=(0,d.useI18nContext)(),{closeModal:w,openModal:C}=(0,f.useTransactionModalContext)(),{dappSuggestedGasFees:S}=k,{estimateGreaterThanGasUse:P,hexMaximumTransactionFee:M,maxFeePerGas:I,maxPriorityFeePerGas:O,minWaitTime:N}=(0,v.useGasItemFeeDetails)(e);if(!(e!==s.PriorityLevels.dAppSuggested||null!=S&&S.maxFeePerGas||null!=S&&S.gasPrice))return null;const{title:j,icon:D}=((e,t)=>{let n=e,a=e;return e===s.PriorityLevels.dAppSuggested?a="dappSuggestedShortLabel":e===s.PriorityLevels.dappSuggestedHigh?a="dappSuggestedHighShortLabel":e===s.PriorityLevels.tenPercentIncreased?(n=null,a="tenPercentIncreased"):e===s.PriorityLevels.high&&t===s.EditGasModes.swaps&&(n="swapSuggested",a="swapSuggested"),{title:a,icon:n}})(e,t);return o.default.createElement("button",{className:(0,a.default)("edit-gas-item",{"edit-gas-item--selected":e===n,"edit-gas-item--disabled":P}),onClick:()=>{e===s.PriorityLevels.custom?(x({properties:{gas_edit_attempted:"advanced"}}),C("advancedGasFee")):(x({properties:{gas_edit_type:"basic"}}),w(["editGasFee"]),e===s.PriorityLevels.tenPercentIncreased?b():e===s.PriorityLevels.dAppSuggested?T():_(e))},"aria-label":e,autoFocus:e===n,disabled:P,"data-testid":`edit-gas-fee-item-${e}`},o.default.createElement("span",{className:"edit-gas-item__name"},D&&o.default.createElement("span",{className:`edit-gas-item__icon edit-gas-item__icon-${e}`},i.PRIORITY_LEVEL_ICON_MAP[D]),E(j)),o.default.createElement("span",{className:`edit-gas-item__time-estimate edit-gas-item__time-estimate-${e}`},t!==s.EditGasModes.swaps&&(N?(0,c.toHumanReadableTime)(E,N):"--")),o.default.createElement("span",{className:`edit-gas-item__fee-estimate edit-gas-item__fee-estimate-${e}`},M?o.default.createElement("div",{className:"edit-gas-item__maxfee"},o.default.createElement(g.default,{backgroundColor:e===n?"var(--color-background-alternative)":"var(--color-background-default)",estimateUsed:e}),o.default.createElement(h.default,{key:"editGasSubTextFeeAmount",type:l.PRIMARY,value:M})):"--"),o.default.createElement("span",{className:"edit-gas-item__tooltip","data-testid":"gas-tooltip"},o.default.createElement(m.default,{contentText:o.default.createElement(y.default,{t:E,priorityLevel:e,maxFeePerGas:I,maxPriorityFeePerGas:O,editGasMode:t,gasLimit:r,transaction:k,estimateGreaterThanGasUse:P}),position:"top"})))};T.propTypes={priorityLevel:r.default.string};n.default=T}}},{package:"$root$",file:"ui/pages/confirmations/components/edit-gas-fee-popover/edit-gas-item/edit-gas-item.js"}],[5559,{"./edit-gas-item":5558},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./edit-gas-item"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/edit-gas-fee-popover/edit-gas-item/index.js"}],[5560,{"../../../../../../shared/constants/gas":4500,"../../../../../ducks/metamask/metamask":5346,"../../../../../store/actions":5998,"bignumber.js":2933,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useCustomTimeEstimate=void 0;var a,r=e("react"),o=e("react-redux"),s=(a=e("bignumber.js"))&&a.__esModule?a:{default:a},i=e("../../../../../../shared/constants/gas"),l=e("../../../../../ducks/metamask/metamask"),c=e("../../../../../store/actions");n.useCustomTimeEstimate=({gasFeeEstimates:e,maxFeePerGas:t,maxPriorityFeePerGas:n})=>{var a;const u=(0,o.useSelector)(l.getGasEstimateType),d=(0,o.useSelector)(l.getIsGasEstimatesLoading),[p,f]=(0,r.useState)(null),m=d||u!==i.GasEstimateTypes.feeMarket||!n,g=(null==e?void 0:e.low)&&Number(n){!d&&u===i.GasEstimateTypes.feeMarket&&n&&g&&(0,c.getGasFeeTimeEstimate)(new s.default(n,10).toString(10),new s.default(t,10).toString(10)).then((e=>{f(e)}))}),[u,g,d,t,n,m]),m)return{};let h="";if(g&&p&&"unknown"!==p&&"unknown"!==(null==p?void 0:p.upperTimeBound))h=Number(null==p?void 0:p.upperTimeBound);else if(Number(n)>=Number(null==e||null===(a=e.medium)||void 0===a?void 0:a.suggestedMaxPriorityFeePerGas)){var y;h=null==e||null===(y=e.high)||void 0===y?void 0:y.minWaitTimeEstimate}else{var v;h=null==e||null===(v=e.low)||void 0===v?void 0:v.maxWaitTimeEstimate}return{waitTimeEstimate:h}}}}},{package:"$root$",file:"ui/pages/confirmations/components/edit-gas-fee-popover/edit-gas-item/useCustomTimeEstimate.js"}],[5561,{"../../../../../../shared/constants/gas":4500,"../../../../../../shared/modules/conversion.utils":4537,"../../../../../../shared/modules/gas.utils":4543,"../../../../../contexts/gasFee":5323,"../../../../../helpers/utils/gas":5384,"../../../../../selectors":5987,"./useCustomTimeEstimate":5560,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useGasItemFeeDetails=void 0;var a=e("react"),r=e("react-redux"),o=e("../../../../../../shared/constants/gas"),s=e("../../../../../../shared/modules/gas.utils"),i=e("../../../../../helpers/utils/gas"),l=e("../../../../../selectors"),c=e("../../../../../contexts/gasFee"),u=e("../../../../../../shared/modules/conversion.utils"),d=e("./useCustomTimeEstimate");n.useGasItemFeeDetails=e=>{const{editGasMode:t,estimateUsed:n,gasFeeEstimates:p,gasLimit:f,maxFeePerGas:m,maxPriorityFeePerGas:g,transaction:h}=(0,c.useGasFeeContext)(),[y,v]=(0,a.useState)(!1),b=(0,r.useSelector)(l.getAdvancedGasFeeValues);let T,_,k;const{dappSuggestedGasFees:x}=h;if(null!=p&&p[e])T=p[e].suggestedMaxFeePerGas,_=p[e].suggestedMaxPriorityFeePerGas;else if(e===o.PriorityLevels.dAppSuggested&&x)T=(0,u.hexWEIToDecGWEI)(x.maxFeePerGas||x.gasPrice),_=(0,u.hexWEIToDecGWEI)(x.maxPriorityFeePerGas||T);else if(e===o.PriorityLevels.custom)n===o.PriorityLevels.custom?(T=m,_=g):b&&t!==o.EditGasModes.swaps&&(T=b.maxBaseFee,_=b.priorityFee);else if(e===o.PriorityLevels.tenPercentIncreased&&h.previousGas){var E,w;T=(0,u.hexWEIToDecGWEI)((0,i.addTenPercentAndRound)(null===(E=h.previousGas)||void 0===E?void 0:E.maxFeePerGas)),_=(0,u.hexWEIToDecGWEI)((0,i.addTenPercentAndRound)(null===(w=h.previousGas)||void 0===w?void 0:w.maxPriorityFeePerGas))}const{waitTimeEstimate:C}=(0,d.useCustomTimeEstimate)({gasFeeEstimates:p,maxFeePerGas:T,maxPriorityFeePerGas:_});k=null!=p&&p[e]?e===o.PriorityLevels.high?null==p?void 0:p.high.minWaitTimeEstimate:null==p?void 0:p.low.maxWaitTimeEstimate:C;const S=T?(0,s.getMaximumGasTotalInHexWei)({gasLimit:(0,u.decimalToHex)(f),maxFeePerGas:(0,u.decGWEIToHexWEI)(T)}):null;return(0,a.useEffect)((()=>{if(!(t!==o.EditGasModes.cancel&&t!==o.EditGasModes.speedUp||e!==o.PriorityLevels.medium&&e!==o.PriorityLevels.high)){const t=!(0,i.gasEstimateGreaterThanGasUsedPlusTenPercent)(h.previousGas||h.txParams,p,e);v(t)}}),[t,p,e,h]),{estimateGreaterThanGasUse:y,maxFeePerGas:T,maxPriorityFeePerGas:_,minWaitTime:k,hexMaximumTransactionFee:S}}}}},{package:"$root$",file:"ui/pages/confirmations/components/edit-gas-fee-popover/edit-gas-item/useGasItemFeeDetails.js"}],[5562,{"../../../../../../shared/constants/gas":4500,"../../../../../components/component-library":4955,"../../../../../helpers/constants/design-system":5355,"../../../../../helpers/utils/gas":5384,"../../../../../helpers/utils/util":5399,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=d(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=(a=e("prop-types"))&&a.__esModule?a:{default:a},s=e("../../../../../../shared/constants/gas"),i=e("../../../../../helpers/constants/design-system"),l=e("../../../../../helpers/utils/gas"),c=e("../../../../../helpers/utils/util"),u=e("../../../../../components/component-library");function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(d=function(e){return e?n:t})(e)}const p=({editGasMode:e,estimateGreaterThanGasUse:t,gasLimit:n,priorityLevel:a,maxFeePerGas:o,maxPriorityFeePerGas:d,transaction:p,t:f})=>{const m=(0,r.useMemo)((()=>{switch(a){case s.PriorityLevels.low:return f("lowGasSettingToolTipMessage",[r.default.createElement("span",{key:a},r.default.createElement("b",null,f("low")))]);case s.PriorityLevels.medium:return t?f("disabledGasOptionToolTipMessage",[r.default.createElement("span",{key:`disabled-priority-level-${a}`},f(a))]):f("mediumGasSettingToolTipMessage",[r.default.createElement("span",{key:a},r.default.createElement("b",null,f("medium")))]);case s.PriorityLevels.high:return t?f("disabledGasOptionToolTipMessage",[r.default.createElement("span",{key:`disabled-priority-level-${a}`},f(a))]):e===s.EditGasModes.swaps?f("swapSuggestedGasSettingToolTipMessage"):f("highGasSettingToolTipMessage",[r.default.createElement("span",{key:a},r.default.createElement("b",null,f("high")))]);case s.PriorityLevels.custom:return f("customGasSettingToolTipMessage",[r.default.createElement("span",{key:a},r.default.createElement("b",null,f("custom")))]);case s.PriorityLevels.dAppSuggested:return null!=p&&p.origin?f("dappSuggestedGasSettingToolTipMessage",[r.default.createElement("span",{key:null==p?void 0:p.origin},null==p?void 0:p.origin)]):null;default:return""}}),[e,t,a,p,f]);let g;a===s.PriorityLevels.low?g=f("curveLowGasEstimate"):a===s.PriorityLevels.medium?g=f("curveMediumGasEstimate"):a===s.PriorityLevels.high&&(g=f("curveHighGasEstimate"));const h=(0,l.isMetamaskSuggestedGasEstimate)(a)&&!(a===s.PriorityLevels.high&&e===s.EditGasModes.swaps)&&!t;return r.default.createElement("div",{className:"edit-gas-tooltip__container"},h?r.default.createElement("img",{alt:g,src:`./images/curve-${a}.svg`}):null,m&&r.default.createElement("div",{className:"edit-gas-tooltip__container__message"},r.default.createElement(u.Text,{variant:i.TextVariant.bodySm,as:"h6"},m)),a===s.PriorityLevels.custom||t?null:r.default.createElement("div",{className:"edit-gas-tooltip__container__values"},r.default.createElement("div",null,r.default.createElement(u.Text,{variant:i.TextVariant.bodySm,as:"h6",fontWeight:i.FontWeight.Bold,className:"edit-gas-tooltip__container__label"},f("maxBaseFee")),o&&r.default.createElement(u.Text,{variant:i.TextVariant.bodySm,as:"h6",color:i.TextColor.textAlternative,className:"edit-gas-tooltip__container__value"},(0,c.roundToDecimalPlacesRemovingExtraZeroes)(o,4))),r.default.createElement("div",null,r.default.createElement(u.Text,{variant:i.TextVariant.bodySm,as:"h6",fontWeight:i.FontWeight.Bold,className:"edit-gas-tooltip__container__label"},f("priorityFeeProperCase")),d&&r.default.createElement(u.Text,{variant:i.TextVariant.bodySm,as:"h6",color:i.TextColor.textAlternative,className:"edit-gas-tooltip__container__value"},(0,c.roundToDecimalPlacesRemovingExtraZeroes)(d,4))),r.default.createElement("div",null,r.default.createElement(u.Text,{variant:i.TextVariant.bodySm,as:"h6",fontWeight:i.FontWeight.Bold,className:"edit-gas-tooltip__container__label"},f("gasLimit")),n&&r.default.createElement(u.Text,{variant:i.TextVariant.bodySm,as:"h6",color:i.TextColor.textAlternative,className:"edit-gas-tooltip__container__value"},(0,c.roundToDecimalPlacesRemovingExtraZeroes)(n,4)))))};p.propTypes={estimateGreaterThanGasUse:o.default.bool,priorityLevel:o.default.string,maxFeePerGas:o.default.oneOfType([o.default.number,o.default.string]),maxPriorityFeePerGas:o.default.oneOfType([o.default.number,o.default.string]),t:o.default.func,editGasMode:o.default.string,gasLimit:o.default.number,transaction:o.default.object};n.default=p}}},{package:"$root$",file:"ui/pages/confirmations/components/edit-gas-fee-popover/edit-gas-tooltip/edit-gas-tooltip.js"}],[5563,{"./edit-gas-fee-popover":5557},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./edit-gas-fee-popover"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/edit-gas-fee-popover/index.js"}],[5564,{"./network-statistics":5565},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./network-statistics"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/edit-gas-fee-popover/network-statistics/index.js"}],[5565,{"../../../../../components/component-library":4955,"../../../../../contexts/gasFee":5323,"../../../../../contexts/i18n":5324,"../../../../../helpers/constants/design-system":5355,"../../../../../helpers/utils/gas":5384,"../../../../../helpers/utils/util":5399,"./status-slider":5566,"./tooltips":5568,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=e("../../../../../helpers/constants/design-system"),s=e("../../../../../helpers/utils/util"),i=e("../../../../../helpers/utils/gas"),l=e("../../../../../contexts/i18n"),c=e("../../../../../contexts/gasFee"),u=e("../../../../../components/component-library"),d=e("./tooltips"),p=(a=e("./status-slider"))&&a.__esModule?a:{default:a};function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}n.default=()=>{const e=(0,r.useContext)(l.I18nContext),{gasFeeEstimates:t}=(0,c.useGasFeeContext)(),n=(0,i.formatGasFeeOrFeeRange)(null==t?void 0:t.estimatedBaseFee,{precision:0}),a=(0,i.formatGasFeeOrFeeRange)(null==t?void 0:t.latestPriorityFeeRange,{precision:[1,0]}),f=null==t?void 0:t.networkCongestion;return r.default.createElement("div",{className:"network-statistics"},r.default.createElement(u.Text,{color:o.TextColor.textAlternative,fontWeight:o.FontWeight.Bold,marginTop:3,marginBottom:3,variant:o.TextVariant.bodyXs,as:"h6"},e("networkStatus")),r.default.createElement("div",{className:"network-statistics__info"},(0,s.isNullish)(n)?null:r.default.createElement("div",{className:"network-statistics__field","data-testid":"formatted-latest-base-fee"},r.default.createElement(d.BaseFeeTooltip,null,r.default.createElement("span",{className:"network-statistics__field-data"},n),r.default.createElement("span",{className:"network-statistics__field-label"},e("baseFee")))),(0,s.isNullish)(a)?null:r.default.createElement("div",{className:"network-statistics__field","data-testid":"formatted-latest-priority-fee-range"},r.default.createElement(d.PriorityFeeTooltip,null,r.default.createElement("span",{className:"network-statistics__field-data"},a),r.default.createElement("span",{className:"network-statistics__field-label"},e("priorityFee")))),(0,s.isNullish)(f)?null:r.default.createElement("div",{className:"network-statistics__field"},r.default.createElement(p.default,null))))}}}},{package:"$root$",file:"ui/pages/confirmations/components/edit-gas-fee-popover/network-statistics/network-statistics.js"}],[5566,{"./status-slider":5567},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./status-slider"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/edit-gas-fee-popover/network-statistics/status-slider/index.js"}],[5567,{"../../../../../../../shared/constants/gas":4500,"../../../../../../contexts/gasFee":5323,"../../../../../../hooks/useI18nContext":5427,"../tooltips":5568,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=(a=e("react"))&&a.__esModule?a:{default:a},o=e("../../../../../../../shared/constants/gas"),s=e("../../../../../../contexts/gasFee"),i=e("../../../../../../hooks/useI18nContext"),l=e("../tooltips");const c=["#037DD6","#1876C8","#2D70BA","#4369AB","#57629E","#6A5D92","#805683","#9A4D71","#B44561","#C54055","#D73A49"];n.default=()=>{const e=(0,i.useI18nContext)(),{gasFeeEstimates:t}=(0,s.useGasFeeContext)(),n=(e=>{const t=e??.5,n=Math.round(10*t),a=c[n],r=10*n;return t>=o.NetworkCongestionThresholds.busy?{statusLabel:"busy",tooltipLabel:"highLowercase",color:a,sliderTickValue:r}:t>=o.NetworkCongestionThresholds.stable?{statusLabel:"stable",tooltipLabel:"stableLowercase",color:a,sliderTickValue:r}:{statusLabel:"notBusy",tooltipLabel:"lowLowercase",color:a,sliderTickValue:r}})(t.networkCongestion);return r.default.createElement(l.NetworkStabilityTooltip,{color:n.color,tooltipLabel:n.tooltipLabel},r.default.createElement("div",{className:"status-slider"},r.default.createElement("div",{className:"status-slider__arrow-container"},r.default.createElement("div",{className:"status-slider__arrow-border",style:{marginLeft:`${n.sliderTickValue}%`},"data-testid":"status-slider-arrow-border"},r.default.createElement("div",{className:"status-slider__arrow",style:{borderTopColor:n.color},"data-testid":"status-slider-arrow"}))),r.default.createElement("div",{className:"status-slider__line"}),r.default.createElement("div",{className:"status-slider__label",style:{color:n.color},"data-testid":"status-slider-label"},e(n.statusLabel))))}}}},{package:"$root$",file:"ui/pages/confirmations/components/edit-gas-fee-popover/network-statistics/status-slider/status-slider.js"}],[5568,{"../../../../../components/ui/box":5194,"../../../../../components/ui/tooltip":5310,"../../../../../helpers/constants/design-system":5355,"../../../../../hooks/useI18nContext":5427,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.PriorityFeeTooltip=n.NetworkStabilityTooltip=n.BaseFeeTooltip=void 0;var a=c(e("react")),r=c(e("prop-types")),o=e("../../../../../hooks/useI18nContext"),s=c(e("../../../../../components/ui/box")),i=c(e("../../../../../components/ui/tooltip")),l=e("../../../../../helpers/constants/design-system");function c(e){return e&&e.__esModule?e:{default:e}}const u=({children:e,html:t,title:n})=>a.default.createElement(i.default,{position:"top",html:t,title:n},a.default.createElement(s.default,{display:l.DISPLAY.FLEX,flexDirection:l.FLEX_DIRECTION.COLUMN},e));u.propTypes={children:r.default.node.isRequired,html:r.default.node,title:r.default.string};const d=({children:e})=>{const t=(0,o.useI18nContext)();return a.default.createElement(u,{html:t("networkStatusBaseFeeTooltip",[a.default.createElement("strong",{key:"base_fee_medium_estimate",className:"network-status__tooltip-label"},t("medium")),a.default.createElement("strong",{key:"base_fee_high_estimate",className:"network-status__tooltip-label"},t("high"))])},e)};n.BaseFeeTooltip=d,d.propTypes={children:r.default.node.isRequired};const p=({children:e})=>{const t=(0,o.useI18nContext)();return a.default.createElement(u,{title:t("networkStatusPriorityFeeTooltip")},e)};n.PriorityFeeTooltip=p,p.propTypes={children:r.default.node.isRequired};const f=({children:e,color:t,tooltipLabel:n})=>{const r=(0,o.useI18nContext)();return a.default.createElement(u,{html:r("networkStatusStabilityFeeTooltip",[a.default.createElement("strong",{key:"network-status__tooltip",className:"network-status__tooltip-label",style:{color:t}},r(n))])},e)};n.NetworkStabilityTooltip=f,f.propTypes={children:r.default.node.isRequired,color:r.default.string.isRequired,tooltipLabel:r.default.string.isRequired}}}},{package:"$root$",file:"ui/pages/confirmations/components/edit-gas-fee-popover/network-statistics/tooltips.js"}],[5569,{"../../../../../shared/constants/gas":4500,"../../../../../shared/modules/conversion.utils":4537,"../../../../../shared/modules/transaction.utils":4560,"../../../../components/component-library":4955,"../../../../components/component-library/modal-content/deprecated":4963,"../../../../components/component-library/modal-header/deprecated":4972,"../../../../components/ui/loading-heartbeat":5253,"../../../../contexts/i18n":5324,"../../../../store/actions":5998,"../../hooks/useGasFeeInputs":5702,"../../hooks/useIncrementedGasFees":5704,"../edit-gas-display":5553,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=_;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=b(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=v(e("prop-types")),o=e("react-redux"),s=e("../../hooks/useGasFeeInputs"),i=e("../../../../../shared/modules/transaction.utils"),l=e("../../../../../shared/constants/gas"),c=e("../../../../components/component-library"),u=e("../../../../components/component-library/modal-content/deprecated"),d=e("../../../../components/component-library/modal-header/deprecated"),p=v(e("../edit-gas-display")),f=e("../../../../contexts/i18n"),m=e("../../../../store/actions"),g=v(e("../../../../components/ui/loading-heartbeat")),h=e("../../hooks/useIncrementedGasFees"),y=e("../../../../../shared/modules/conversion.utils");function v(e){return e&&e.__esModule?e:{default:e}}function b(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(b=function(e){return e?n:t})(e)}function T(){return T=Object.assign?Object.assign.bind():function(e){for(var t=1;t{b?b():x((0,m.hideModal)())}),[b,x]),W=(0,a.useCallback)((async()=>{P&&v||G();const e={gas:(0,y.decimalToHex)(N),gasLimit:(0,y.decimalToHex)(N),estimateUsed:A,gasPrice:(0,y.decGWEIToHexWEI)(I)},t={...P.txParams},n={...P,userEditedGasLimit:N!==Number(r.originalGasEstimate),userFeeLevel:A||l.CUSTOM_GAS_ESTIMATE,txParams:{...t,...e}};switch(v){case l.EditGasModes.cancel:x((0,m.createCancelTransaction)(P.id,e));break;case l.EditGasModes.speedUp:x((0,m.createSpeedUpTransaction)(P.id,e));break;case l.EditGasModes.modifyInPlace:e.userEditedGasLimit=n.userEditedGasLimit,e.userFeeLevel=n.userFeeLevel,x((0,m.showLoadingIndication)()),await x((0,m.updateTransactionGasFees)(n.id,e)),x((0,m.hideLoadingIndication)())}G()}),[P,v,x,G,N,I,r.originalGasEstimate,A]);let q=k("editGasTitle");e?q=e:v===l.EditGasModes.speedUp?q=k("speedUpPopoverTitle"):v===l.EditGasModes.cancel&&(q=k("cancelPopoverTitle"));const U=t||k("save");return a.default.createElement(c.Modal,{isOpen:!0,onClose:G},a.default.createElement(c.ModalOverlay,null),a.default.createElement(u.ModalContent,{autoFocus:!1,className:"edit-gas-popover"},a.default.createElement(d.ModalHeader,{onClose:G,marginBottom:4},q),a.default.createElement("div",{className:"edit-gas-popover__edit-gas-display"},a.default.createElement(g.default,null),a.default.createElement(p.default,T({dappSuggestedGasFeeAcknowledged:E,setDappSuggestedGasFeeAcknowledged:w,estimatedMinimumNative:M,gasPrice:I,setGasPrice:O,gasLimit:N,setGasLimit:j,properGasLimit:D,mode:v,transaction:P,onManualChange:B,minimumGasLimit:C,balanceError:L,txParamsHaveBeenCustomized:$,gasErrors:R},n))),a.default.createElement(c.Button,{block:!0,variant:c.ButtonVariant.Primary,size:c.ButtonSize.LG,marginTop:4,onClick:W,disabled:F||L||!$},U)))}_.propTypes={popoverTitle:r.default.string,editGasDisplayProps:r.default.object,confirmButtonText:r.default.string,onClose:r.default.func,transaction:r.default.object,mode:r.default.oneOf(Object.values(l.EditGasModes)),minimumGasLimit:r.default.string}}}},{package:"$root$",file:"ui/pages/confirmations/components/edit-gas-popover/edit-gas-popover.component.js"}],[5570,{"./edit-gas-popover.component":5569},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./edit-gas-popover.component"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/edit-gas-popover/index.js"}],[5571,{"../../../../../shared/modules/conversion.utils":4537,"../../../../components/app/user-preferenced-currency-display/user-preferenced-currency-display.component":4881,"../../../../components/component-library":4955,"../../../../components/ui/loading-heartbeat":5253,"../../../../contexts/gasFee":5323,"../../../../helpers/constants/common":5353,"../../../../helpers/constants/design-system":5355,"../../../../hooks/useI18nContext":5427,"../../../../selectors":5987,"../transaction-detail-item/transaction-detail-item.component":5636,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=v;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=y(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=e("react-redux"),o=h(e("prop-types")),s=e("../../../../helpers/constants/design-system"),i=e("../../../../components/component-library"),l=h(e("../transaction-detail-item/transaction-detail-item.component")),c=e("../../../../selectors"),u=e("../../../../hooks/useI18nContext"),d=h(e("../../../../components/ui/loading-heartbeat")),p=h(e("../../../../components/app/user-preferenced-currency-display/user-preferenced-currency-display.component")),f=e("../../../../helpers/constants/common"),m=e("../../../../../shared/modules/conversion.utils"),g=e("../../../../contexts/gasFee");function h(e){return e&&e.__esModule?e:{default:e}}function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(y=function(e){return e?n:t})(e)}function v({txData:e,useCurrencyRateCheck:t,hideGasDetails:n=!1}){const o=(null==e?void 0:e.layer1GasFee)??null,[h,y]=(0,a.useState)(!1),{useNativeCurrencyAsPrimaryCurrency:v}=(0,r.useSelector)(c.getPreferences),b=(0,u.useI18nContext)(),{minimumCostInHexWei:T}=(0,g.useGasFeeContext)(),_=(0,a.useMemo)((()=>(0,m.addHexes)(T,o??0)),[T,o]),k=(0,a.useCallback)((t=>a.default.createElement("div",{className:"confirm-page-container-content__total-value"},a.default.createElement(d.default,{estimateUsed:null==e?void 0:e.userFeeLevel}),a.default.createElement(p.default,{type:f.SECONDARY,key:"total-detail-text",value:t,suffixProps:{color:s.TextColor.textAlternative,variant:s.TextVariant.bodySmBold},textProps:{color:s.TextColor.textAlternative,variant:s.TextVariant.bodySmBold},hideLabel:Boolean(v)}))),[e,v]),x=(0,a.useCallback)((t=>a.default.createElement(i.Box,{className:"confirm-page-container-content__total-value"},a.default.createElement(d.default,{estimateUsed:null==e?void 0:e.userFeeLevel}),a.default.createElement(p.default,{type:f.PRIMARY,key:"total-detail-value",value:t,suffixProps:{color:s.TextColor.textAlternative,variant:s.TextVariant.bodySm},textProps:{color:s.TextColor.textAlternative,variant:s.TextVariant.bodySm},hideLabel:!v}))),[e,v]),E=null!==o;return a.default.createElement(a.default.Fragment,null,a.default.createElement(i.Box,{display:s.Display.Flex,alignItems:s.AlignItems.center,justifyContent:s.JustifyContent.center,flexDirection:s.FlexDirection.Column},!n&&E&&a.default.createElement(i.Box,{paddingTop:4,display:s.Display.Flex,alignItems:s.AlignItems.center,justifyContent:s.JustifyContent.center},a.default.createElement(i.Button,{style:{textDecoration:"none"},size:s.Size.Xs,variant:i.ButtonVariant.Link,endIconName:h?i.IconName.ArrowUp:i.IconName.ArrowDown,color:s.IconColor.iconAlternative,"data-testid":"expand-fee-details-button",onClick:()=>y(!h)},a.default.createElement(i.Text,{variant:s.TextVariant.bodyMdMedium,color:s.TextColor.textAlternative,paddingInlineEnd:1},b("feeDetails"))))),!n&&h&&a.default.createElement(i.Box,{display:s.Display.Flex,flexDirection:s.FlexDirection.Column,paddingTop:4},E&&a.default.createElement(l.default,{detailTitle:a.default.createElement(i.Text,{color:s.TextColor.textAlternative,variant:s.TextVariant.bodySmMedium},b("layer2Fees")),detailText:t&&k(T),detailTotal:x(T)}),o&&a.default.createElement(l.default,{detailTitle:a.default.createElement(i.Text,{color:s.TextColor.textAlternative,variant:s.TextVariant.bodySmMedium},b("layer1Fees")),detailText:t&&k(o),detailTotal:x(o)}),!E&&a.default.createElement(l.default,{detailTitle:b("total"),detailText:t&&k(_),detailTotal:x(_)})))}v.propTypes={txData:o.default.object,useCurrencyRateCheck:o.default.bool,hideGasDetails:o.default.bool}}}},{package:"$root$",file:"ui/pages/confirmations/components/fee-details-component/fee-details-component.js"}],[5572,{"../../../../../shared/constants/gas":4500,"../../../../../shared/modules/conversion.utils":4537,"../../../../components/app/user-preferenced-currency-display":4880,"../../../../components/component-library":4955,"../../../../components/ui/box":5194,"../../../../components/ui/loading-heartbeat":5253,"../../../../components/ui/tooltip":5310,"../../../../contexts/gasFee":5323,"../../../../ducks/send":5348,"../../../../helpers/constants/common":5353,"../../../../helpers/constants/design-system":5355,"../../../../hooks/useI18nContext":5427,"../../../../selectors":5987,"../../hooks/useDraftTransactionWithTxParams":5699,"../edit-gas-fee-icon/edit-gas-fee-icon":5556,"../gas-timing/gas-timing.component":5574,"../transaction-detail-item/transaction-detail-item.component":5636,classnames:3049,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=w(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=E(e("prop-types")),o=E(e("classnames")),s=e("react-redux"),i=e("../../../../components/component-library"),l=e("../../../../helpers/constants/design-system"),c=e("../../../../helpers/constants/common"),u=e("../../../../../shared/constants/gas"),d=e("../../../../selectors"),p=e("../../../../ducks/send"),f=e("../../../../../shared/modules/conversion.utils"),m=e("../../hooks/useDraftTransactionWithTxParams"),g=e("../../../../contexts/gasFee"),h=e("../../../../hooks/useI18nContext"),y=E(e("../../../../components/ui/box")),v=E(e("../../../../components/ui/loading-heartbeat")),b=E(e("../edit-gas-fee-icon/edit-gas-fee-icon")),T=E(e("../gas-timing/gas-timing.component")),_=E(e("../transaction-detail-item/transaction-detail-item.component")),k=E(e("../../../../components/app/user-preferenced-currency-display")),x=E(e("../../../../components/ui/tooltip"));function E(e){return e&&e.__esModule?e:{default:e}}function w(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(w=function(e){return e?n:t})(e)}const C=({"data-testid":e,userAcknowledgedGasMissing:t=!1})=>{var n,r;const E=(0,h.useI18nContext)(),w=(0,s.useSelector)(d.getTxData),{layer1GasFee:C}=w,S=(0,s.useSelector)(p.getCurrentDraftTransaction),P=(0,m.useDraftTransactionWithTxParams)(),{hexMinimumTransactionFee:M,hexMaximumTransactionFee:I}=(0,s.useSelector)((e=>(0,d.transactionFeeSelector)(e,P))),{estimateUsed:O,hasSimulationError:N,isNetworkBusy:j,maximumCostInHexWei:D,minimumCostInHexWei:A,maxPriorityFeePerGas:F,maxFeePerGas:R,supportsEIP1559:B}=(0,g.useGasFeeContext)(),{useNativeCurrencyAsPrimaryCurrency:L}=(0,s.useSelector)(d.getPreferences),$=(0,s.useSelector)(d.getUseCurrencyRateCheck),G=(0,a.useMemo)((()=>C?(0,f.sumHexes)(A,C):A),[A,C]),W=(0,a.useMemo)((()=>C?(0,f.sumHexes)(D,C):D),[D,C]);if(N&&!t)return null;const q=(F??(0,f.hexWEIToDecGWEI)((null===(n=P.txParams)||void 0===n?void 0:n.maxPriorityFeePerGas)??"0x0")).toString(),U=(R??(0,f.hexWEIToDecGWEI)((null===(r=P.txParams)||void 0===r?void 0:r.maxFeePerGas)??"0x0")).toString();return a.default.createElement(_.default,{key:"gas-details-item","data-testid":e,detailTitle:B&&j?a.default.createElement(a.default.Fragment,null,E("estimatedFee"),a.default.createElement(x.default,{wrapperClassName:"gas-details-item__dangerTooltip",interactive:!0,position:"top",html:E("networkIsBusy")},a.default.createElement(i.Icon,{"data-testid":"network-busy-tooltip",name:i.IconName.Danger,size:i.IconSize.Sm,color:l.IconColor.errorDefault}))):a.default.createElement(a.default.Fragment,null,E("estimatedFee")),detailText:0===Object.keys(S).length&&a.default.createElement("div",{className:"gas-details-item__currency-container",style:{width:"100%"}},a.default.createElement(v.default,{estimateUsed:O}),a.default.createElement(b.default,{userAcknowledgedGasMissing:t}),$&&a.default.createElement(k.default,{paddingInlineStart:1,suffixProps:{variant:l.TextVariant.bodyMdBold},textProps:{variant:l.TextVariant.bodyMdBold},type:c.SECONDARY,value:G,hideLabel:Boolean(L)})),detailTotal:a.default.createElement("div",{className:"gas-details-item__currency-container"},a.default.createElement(v.default,{estimateUsed:O}),a.default.createElement(k.default,{suffixProps:{variant:l.TextVariant.bodyMd,color:l.TextColor.textAlternative},textProps:{variant:l.TextVariant.bodyMd,color:l.TextColor.textAlternative},type:c.PRIMARY,value:G||M,hideLabel:!L})),hasDetailTextInSeparateRow:!0,subText:a.default.createElement(a.default.Fragment,null,a.default.createElement(y.default,{key:"editGasSubTextFeeLabel",display:"inline-flex",className:(0,o.default)("gas-details-item__gasfee-label",{"gas-details-item__gas-fee-warning":O===u.PriorityLevels.high||O===u.PriorityLevels.dappSuggestedHigh})},a.default.createElement(v.default,{estimateUsed:O}),a.default.createElement(y.default,null,a.default.createElement(i.Text,{color:l.TextColor.textAlternative,variant:l.TextVariant.bodySmMedium},(O===u.PriorityLevels.high||O===u.PriorityLevels.dappSuggestedHigh)&&"⚠ ",E("editGasSubTextFeeLabel"))),a.default.createElement("div",{key:"editGasSubTextFeeValue",className:"gas-details-item__currency-container",paddingStart:1},a.default.createElement(v.default,{estimateUsed:O}),a.default.createElement(k.default,{key:"editGasSubTextFeeAmount",suffixProps:{color:l.TextColor.textAlternative,variant:l.TextVariant.bodySm},textProps:{color:l.TextColor.textAlternative,variant:l.TextVariant.bodySm},type:c.PRIMARY,value:W||I,hideLabel:!L})))),subTitle:a.default.createElement(T.default,{maxPriorityFeePerGas:q,maxFeePerGas:U})})};C.propTypes={"data-testid":r.default.string,userAcknowledgedGasMissing:r.default.bool};n.default=C}}},{package:"$root$",file:"ui/pages/confirmations/components/gas-details-item/gas-details-item.js"}],[5573,{"./gas-details-item":5572},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./gas-details-item"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/gas-details-item/index.js"}],[5574,{"../../../../../shared/constants/gas":4500,"../../../../components/component-library":4955,"../../../../components/ui/typography/typography":5315,"../../../../contexts/gasFee":5323,"../../../../contexts/i18n":5324,"../../../../ducks/metamask/metamask":5346,"../../../../helpers/constants/design-system":5355,"../../../../helpers/constants/gas":5357,"../../../../hooks/usePrevious":5436,"../../../../store/actions":5998,"../../hooks/useDraftTransactionWithTxParams":5699,"bignumber.js":2933,classnames:3049,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=k;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=T(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=b(e("bignumber.js")),o=b(e("prop-types")),s=b(e("classnames")),i=e("react-redux"),l=e("../../../../components/component-library"),c=e("../../../../helpers/constants/design-system"),u=e("../../../../ducks/metamask/metamask"),d=e("../../../../helpers/constants/gas"),p=e("../../../../../shared/constants/gas"),f=e("../../../../contexts/i18n"),m=b(e("../../../../components/ui/typography/typography")),g=e("../../../../store/actions"),h=e("../../../../contexts/gasFee"),y=e("../../../../hooks/usePrevious"),v=e("../../hooks/useDraftTransactionWithTxParams");function b(e){return e&&e.__esModule?e:{default:e}}function T(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(T=function(e){return e?n:t})(e)}const _=(e=1,t)=>{const n=Math.ceil(e/1e3);return n<=90?t("gasTimingSecondsShort",[n]):t("gasTimingMinutesShort",[Math.ceil(n/60)])};function k({maxFeePerGas:e=0,maxPriorityFeePerGas:t=0,gasWarnings:n}){const o=(0,i.useSelector)(u.getGasEstimateType),b=(0,i.useSelector)(u.getGasFeeEstimates),T=(0,i.useSelector)(u.getIsGasEstimatesLoading),[k,x]=(0,a.useState)(null),E=(0,a.useContext)(f.I18nContext),{estimateUsed:w}=(0,h.useGasFeeContext)(),C=(0,v.useDraftTransactionWithTxParams)(),S=(null==b?void 0:b.low)&&Number(t){let n=!0;const a=t,o=e;return(S||a&&a!==M||o&&o!==P)&&(0,g.getGasFeeTimeEstimate)(new r.default(a,10).toString(10),new r.default(o,10).toString(10)).then((r=>{e===o&&t===a&&n&&x(r)})),!1!==S&&!0===I&&x(null),()=>{n=!1}}),[t,e,S,P,M,I]),(null==n?void 0:n.maxPriorityFee)===d.GAS_FORM_ERRORS.MAX_PRIORITY_FEE_TOO_LOW||(null==n?void 0:n.maxFee)===d.GAS_FORM_ERRORS.MAX_FEE_TOO_LOW)return a.default.createElement(m.default,{variant:c.TypographyVariant.H7,fontWeight:c.FontWeight.Bold,className:(0,s.default)("gas-timing","gas-timing--negative")},E("editGasTooLow"));if(T||o!==p.GasEstimateTypes.feeMarket)return null;const{low:O={},medium:N={},high:j={}}=b,D=w||C.userFeeLevel||"medium";let A=E(D),F="",R="positive";"low"===D&&(A=E("gasTimingLow")),Number(t)>=Number(N.suggestedMaxPriorityFeePerGas)?F=Number(t){switch(R){case"positive":default:return c.TextColor.successDefault;case"warning":return c.TextColor.warningDefault;case"negative":return c.TextColor.errorDefault}})()},a.default.createElement("span",{"data-testid":"gas-timing-time"},"~",F)))}k.propTypes={maxPriorityFeePerGas:o.default.string,maxFeePerGas:o.default.string,gasWarnings:o.default.object}}}},{package:"$root$",file:"ui/pages/confirmations/components/gas-timing/gas-timing.component.js"}],[5575,{"./ledger-instruction-field":5576},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./ledger-instruction-field"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/ledger-instruction-field/index.js"}],[5576,{"../../../../../app/scripts/lib/util":120,"../../../../../shared/constants/app":4493,"../../../../../shared/constants/hardware-wallets":4501,"../../../../components/component-library":4955,"../../../../ducks/app/app":5336,"../../../../ducks/metamask/metamask":5346,"../../../../helpers/constants/design-system":5355,"../../../../hooks/useI18nContext":5427,"../../../../store/actions":5998,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=v;var a,r=(a=e("prop-types"))&&a.__esModule?a:{default:a},o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=h(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),s=e("react-redux"),i=e("../../../../../app/scripts/lib/util"),l=e("../../../../../shared/constants/app"),c=e("../../../../../shared/constants/hardware-wallets"),u=e("../../../../ducks/app/app"),d=e("../../../../ducks/metamask/metamask"),p=e("../../../../helpers/constants/design-system"),f=e("../../../../hooks/useI18nContext"),m=e("../../../../store/actions"),g=e("../../../../components/component-library");function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(h=function(e){return e?n:t})(e)}const y=(e,t=!0,n=p.TextColor.textDefault)=>t&&o.default.createElement(g.Text,{color:n,as:"h6"},e);function v({showDataInstruction:e}){const t=(0,f.useI18nContext)(),n=(0,s.useDispatch)(),a=(0,s.useSelector)(u.getLedgerWebHidConnectedStatus),r=(0,s.useSelector)(d.getLedgerTransportType),h=(0,s.useSelector)(u.getLedgerTransportStatus),v=(0,i.getEnvironmentType)()===l.ENVIRONMENT_TYPE_FULLSCREEN;(0,o.useEffect)((()=>{(async()=>{if(r===c.LedgerTransportTypes.webhid&&a===c.WebHIDConnectedStatuses.connected&&h===c.HardwareTransportStates.none)try{const e=await(0,m.attemptLedgerTransportCreation)();n((0,u.setLedgerTransportStatus)(e?c.HardwareTransportStates.verified:c.HardwareTransportStates.unknownFailure))}catch(e){e.message.match("Failed to open the device")?n((0,u.setLedgerTransportStatus)(c.HardwareTransportStates.deviceOpenFailure)):e.message.match("the device is already open")?n((0,u.setLedgerTransportStatus)(c.HardwareTransportStates.verified)):n((0,u.setLedgerTransportStatus)(c.HardwareTransportStates.unknownFailure))}})(),(async()=>{if(r===c.LedgerTransportTypes.webhid&&a!==c.WebHIDConnectedStatuses.connected){var e;const t=await(null===(e=window.navigator)||void 0===e||null===(e=e.hid)||void 0===e?void 0:e.getDevices()),a=null==t?void 0:t.some((e=>e.vendorId===Number(c.LEDGER_USB_VENDOR_ID)));n((0,u.setLedgerWebHidConnectedStatus)(a?c.WebHIDConnectedStatuses.connected:c.WebHIDConnectedStatuses.notConnected))}})()}),[n,r,a,h]),(0,o.useEffect)((()=>()=>{n((0,u.setLedgerTransportStatus)(c.HardwareTransportStates.none))}),[n]);const b=r===c.LedgerTransportTypes.webhid;return o.default.createElement("div",null,o.default.createElement("div",{className:"confirm-detail-row"},o.default.createElement(g.BannerAlert,{severity:p.SEVERITIES.INFO},o.default.createElement("div",{className:"ledger-live-dialog"},y(t("ledgerConnectionInstructionHeader")),y(`• ${t("ledgerConnectionInstructionStepThree")}`),y(`• ${t("ledgerConnectionInstructionStepFour")}`,e),y(o.default.createElement("span",null,o.default.createElement(g.ButtonLink,{textAlign:p.TextAlign.Left,onClick:async()=>{v?window.location.reload():global.platform.openExtensionInBrowser(null,null,!0)}},t("ledgerConnectionInstructionCloseOtherApps"))),h===c.HardwareTransportStates.deviceOpenFailure),y(o.default.createElement("span",null,o.default.createElement(g.ButtonLink,{textAlign:p.TextAlign.Left,onClick:async()=>{if(v){const e=(await window.navigator.hid.requestDevice({filters:[{vendorId:c.LEDGER_USB_VENDOR_ID}]})).some((e=>e.vendorId===Number(c.LEDGER_USB_VENDOR_ID)));n((0,u.setLedgerWebHidConnectedStatus)({webHidConnectedStatus:e?c.WebHIDConnectedStatuses.connected:c.WebHIDConnectedStatuses.notConnected}))}else global.platform.openExtensionInBrowser(null,null,!0)}},t(v?"clickToConnectLedgerViaWebHID":"openFullScreenForLedgerWebHid"))),b&&a===c.WebHIDConnectedStatuses.notConnected,p.TextColor.warningDefault)))))}v.propTypes={showDataInstruction:r.default.bool}}}},{package:"$root$",file:"ui/pages/confirmations/components/ledger-instruction-field/ledger-instruction-field.js"}],[5577,{"./multi-layer-fee-message":5578},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./multi-layer-fee-message"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/multilayer-fee-message/index.js"}],[5578,{"../../../../../shared/constants/common":4495,"../../../../../shared/modules/Numeric":4533,"../../../../../shared/modules/conversion.utils":4537,"../../../../components/app/user-preferenced-currency-display":4880,"../../../../contexts/i18n":5324,"../../../../helpers/constants/common":5353,"../../../../selectors":5987,"../transaction-detail-item/transaction-detail-item.component":5636,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=h;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=g(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=e("react-redux"),o=m(e("prop-types")),s=m(e("../transaction-detail-item/transaction-detail-item.component")),i=m(e("../../../../components/app/user-preferenced-currency-display")),l=e("../../../../helpers/constants/common"),c=e("../../../../contexts/i18n"),u=e("../../../../../shared/modules/conversion.utils"),d=e("../../../../../shared/constants/common"),p=e("../../../../../shared/modules/Numeric"),f=e("../../../../selectors");function m(e){return e&&e.__esModule?e:{default:e}}function g(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(g=function(e){return e?n:t})(e)}function h({transaction:e,layer2fee:t,nativeCurrency:n,plainStyle:o}){var m;const g=(0,a.useContext)(c.I18nContext),{layer1GasFee:h}=e,y=(0,r.useSelector)(f.getUseCurrencyRateCheck);if(null==e||!e.txParams)return null;let v=g("unknown"),b=g("unknown");if(h){v=`${new p.Numeric(h,16,d.EtherDenomination.WEI).toDenomination(d.EtherDenomination.ETH).toFixed(12)} ${n}`,b=y?a.default.createElement(i.default,{type:l.SECONDARY,value:h,showFiat:!0,hideLabel:!0}):null}const T=(0,u.sumHexes)(t||"0x0",h||"0x0",(null==e||null===(m=e.txParams)||void 0===m?void 0:m.value)||"0x0"),_=`${new p.Numeric(T,16,d.EtherDenomination.WEI).toDenomination(d.EtherDenomination.ETH).toFixed(12)} ${n}`,k=y?a.default.createElement(i.default,{type:l.SECONDARY,value:T,showFiat:!0,hideLabel:!0}):null;return a.default.createElement("div",{className:"multi-layer-fee-message"},a.default.createElement(s.default,{key:"multi-layer-fee-message-total-item-gas-fee",detailTitle:g("layer1Fees"),detailTotal:v,detailText:y&&b,noBold:o,flexWidthValues:o}),a.default.createElement(s.default,{className:"multi-layer-fee-message__transaction-detail-item__total-item",key:"multi-layer-fee-message-total-item-total",detailTitle:g("total"),detailTotal:_,detailText:k,subTitle:g("transactionDetailMultiLayerTotalSubtitle"),noBold:o,flexWidthValues:o}))}h.propTypes={transaction:o.default.object,layer2fee:o.default.string,nativeCurrency:o.default.string,plainStyle:o.default.bool}}}},{package:"$root$",file:"ui/pages/confirmations/components/multilayer-fee-message/multi-layer-fee-message.js"}],[5579,{"../../../../../shared/modules/Numeric":4533,"../../../../components/component-library":4955,"../../../../components/ui/tooltip":5310,"../../../../contexts/i18n":5324,"../../../../helpers/constants/design-system":5355,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=p;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=d(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=u(e("prop-types")),o=e("../../../../contexts/i18n"),s=u(e("../../../../components/ui/tooltip")),i=e("../../../../components/component-library"),l=e("../../../../helpers/constants/design-system"),c=e("../../../../../shared/modules/Numeric");function u(e){return e&&e.__esModule?e:{default:e}}function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(d=function(e){return e?n:t})(e)}function p({tokenName:e,currentTokenBalance:t,tokenValue:n,onEdit:r}){const u=(0,a.useContext)(o.I18nContext),d=new c.Numeric(Number(n),10).greaterThan(Number(t),10);return a.default.createElement(i.Box,{className:"review-spending-cap",borderRadius:l.Size.SM,paddingTop:4,paddingRight:4,paddingLeft:4,display:l.Display.Flex,alignItems:l.AlignItems.flexStart,flexDirection:l.FlexDirection.Column,backgroundColor:l.BackgroundColor.backgroundAlternative,gap:1},a.default.createElement(i.Box,{flexDirection:l.FlexDirection.Row,display:l.Display.Flex,alignItems:l.AlignItems.center,className:"review-spending-cap__heading"},a.default.createElement(i.Box,{flexDirection:l.FlexDirection.Row,className:"review-spending-cap__heading-title"},a.default.createElement(i.Text,{variant:l.TextVariant.bodySmBold,as:"h6",display:l.Display.InlineBlock},u("dappRequestedSpendingCap")),a.default.createElement(i.Box,{marginLeft:2,display:l.Display.InlineBlock},a.default.createElement(s.default,{interactive:!0,position:"top",html:a.default.createElement(i.Text,{variant:l.TextVariant.bodySmBold,as:"h6",color:l.TextColor.textAlternative,className:"review-spending-cap__heading-title__tooltip"},d&&u("warningTooltipText",[a.default.createElement(i.Text,{key:"tooltip-text",variant:l.TextVariant.bodySmBold,as:"h6",color:l.TextColor.errorDefault},a.default.createElement(i.Icon,{name:i.IconName.Warning,style:{verticalAlign:"middle"}}),u("beCareful"))]),0===Number(n)&&u("revokeSpendingCapTooltipText"))},d&&a.default.createElement(i.Icon,{className:"review-spending-cap__heading-title__tooltip__warning-icon",name:i.IconName.Danger,color:l.IconColor.errorDefault,size:i.IconSize.Sm,style:{verticalAlign:"middle"}}),0===Number(n)&&a.default.createElement(i.Icon,{className:"review-spending-cap__heading-title__tooltip__question-icon",name:i.IconName.Question,color:l.IconColor.iconDefault})))),a.default.createElement(i.Box,{className:"review-spending-cap__heading-detail",textAlign:l.TextAlign.End},a.default.createElement(i.ButtonLink,{size:l.Size.auto,onClick:e=>{e.preventDefault(),r()}},u("edit")))),a.default.createElement(i.Box,{className:"review-spending-cap__value"},a.default.createElement(i.Text,{color:d?l.TextColor.errorDefault:l.TextColor.textDefault,variant:l.TextVariant.bodySmBold,as:"h6",marginBottom:3},n," ",e)))}p.propTypes={tokenName:r.default.string,currentTokenBalance:r.default.string,tokenValue:r.default.string,onEdit:r.default.func}}}},{package:"$root$",file:"ui/pages/confirmations/components/review-spending-cap/review-spending-cap.js"}],[5580,{"../../../../../../shared/constants/network":4507,"../../../../../../shared/constants/security-provider":4513,"../../../../../components/component-library":4955,"../../../../../components/ui/loading-indicator":5254,"../../../../../contexts/i18n":5324,"../../../../../helpers/constants/design-system":5355,"../../../../../selectors":5987,"../../../hooks/useTransactionEventFragment":5711,"../security-provider-banner-alert":5582,"./blockaid-banner-utils":5581,"@blockaid/ppom_release/package.json":291,"@sentry/browser":2409,"prop-types":3997,react:4243,"react-redux":4199,zlib:3022},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=n.REASON_TO_TITLE_TKEY=n.REASON_TO_DESCRIPTION_TKEY=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=b(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=v(e("prop-types")),o=e("@sentry/browser"),s=v(e("@blockaid/ppom_release/package.json")),i=e("react-redux"),l=e("../../../../../../shared/constants/network"),c=e("../../../../../helpers/constants/design-system"),u=e("../../../../../contexts/i18n"),d=e("../../../../../../shared/constants/security-provider"),p=e("../../../../../components/component-library"),f=e("../../../hooks/useTransactionEventFragment"),m=v(e("../security-provider-banner-alert")),g=v(e("../../../../../components/ui/loading-indicator")),h=e("../../../../../selectors"),y=e("./blockaid-banner-utils");function v(e){return e&&e.__esModule?e:{default:e}}function b(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(b=function(e){return e?n:t})(e)}function T(){return T=Object.assign?Object.assign.bind():function(e){for(var t=1;ta.default.createElement("li",{key:`blockaid-detail-${t}`},"• ",e)))):null,F=N===d.BlockaidResultType.Errored,R=N===d.BlockaidResultType.Malicious?p.BannerAlertSeverity.Danger:p.BannerAlertSeverity.Warning,B=(e=>{const t={blockNumber:M,blockaidVersion:s.default.version,chain:l.NETWORK_TO_NAME_MAP[w??C],classification:F?"error":O,domain:r??(null==v?void 0:v.origin)??(null==E?void 0:E.origin),jsonRpcMethod:b,jsonRpcParams:JSON.stringify(E??v),resultType:F?d.BlockaidResultType.Errored:N,reproduce:JSON.stringify(I)},n=JSON.stringify(t),a=(null==_||null===(e=_.gzipSync)||void 0===e?void 0:e.call(_,n))??n;return(0,y.getReportUrl)(a)})();return a.default.createElement(m.default,T({description:D,details:A,provider:d.SecurityProvider.Blockaid,reportUrl:B,severity:R,title:j,onClickSupportLink:()=>{P({properties:{external_link_clicked:"security_alert_support_link"}},e.id)}},t))}E.propTypes={txData:r.default.object};n.default=E}}},{package:"$root$",file:"ui/pages/confirmations/components/security-provider-banner-alert/blockaid-banner-alert/blockaid-banner-alert.js"}],[5581,{"../../../../../../shared/constants/security-provider":4513},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.getReportUrl=void 0;var a=e("../../../../../../shared/constants/security-provider");n.getReportUrl=e=>`${a.FALSE_POSITIVE_REPORT_BASE_URL}?data=${encodeURIComponent(e.toString("base64"))}&utm_source=${a.SECURITY_PROVIDER_UTM_SOURCE}`}}},{package:"$root$",file:"ui/pages/confirmations/components/security-provider-banner-alert/blockaid-banner-alert/blockaid-banner-utils.js"}],[5582,{"../../../../../shared/constants/security-provider":4513,"../../../../components/component-library":4955,"../../../../components/ui/disclosure":5216,"../../../../components/ui/disclosure/disclosure.constants":5214,"../../../../contexts/i18n":5324,"../../../../helpers/constants/design-system":5355,"../../../../helpers/constants/zendesk-url":5368,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=p(e("prop-types")),o=e("../../../../components/component-library"),s=p(e("../../../../components/ui/disclosure")),i=e("../../../../components/ui/disclosure/disclosure.constants"),l=e("../../../../contexts/i18n"),c=e("../../../../helpers/constants/design-system"),u=e("../../../../../shared/constants/security-provider"),d=p(e("../../../../helpers/constants/zendesk-url"));function p(e){return e&&e.__esModule?e:{default:e}}function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}function m(){return m=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const g=(0,o.useI18nContext)(),h=a.default.createElement(i.default,{display:l.DISPLAY.FLEX,flexDirection:l.FLEX_DIRECTION.COLUMN,justifyContent:l.JustifyContent.SPACE_BETWEEN,className:"set-approval-for-all-warning__footer",gap:4},a.default.createElement(d.Button,{className:"set-approval-for-all-warning__footer__approve-button",variant:d.BUTTON_VARIANT.PRIMARY,danger:!0,onClick:f},g("approveButtonText")),a.default.createElement(d.Button,{className:"set-approval-for-all-warning__footer__cancel-button",variant:d.BUTTON_VARIANT.SECONDARY,onClick:m},g("reject")));return a.default.createElement(s.default,{className:"set-approval-for-all-warning__content",footer:h},a.default.createElement(i.default,{display:l.DISPLAY.FLEX,flexDirection:l.FLEX_DIRECTION.ROW,padding:4,className:"set-approval-for-all-warning__content__header"},a.default.createElement(d.Icon,{name:d.IconName.Danger,className:"set-approval-for-all-warning__content__header__warning-icon"}),a.default.createElement(d.Text,{variant:l.TextVariant.headingSm,as:"h4"},g("yourNFTmayBeAtRisk"))),a.default.createElement(i.default,{display:l.DISPLAY.FLEX,padding:4,justifyContent:l.JustifyContent.spaceBetween,className:"set-approval-for-all-warning__content__account"},a.default.createElement(i.default,{display:l.DISPLAY.FLEX},a.default.createElement(c.default,{address:t,diameter:32}),a.default.createElement(d.Text,{variant:l.TextVariant.bodyMd,as:"h5",marginLeft:2,className:"set-approval-for-all-warning__content__account-name"},a.default.createElement("strong",null,n)," ",` (${(0,u.shortenAddress)(t)})`)),p&&r&&a.default.createElement(d.Text,null,`${g("total")}: ${r}`)),a.default.createElement(d.Text,{margin:4,marginTop:4,marginBottom:4,variant:l.TextVariant.bodySm,as:"h6"},g("nftWarningContent",[a.default.createElement("strong",{key:"non_custodial_bold"},g("nftWarningContentBold",[e||""])),a.default.createElement("strong",{key:"non_custodial_grey"},g("nftWarningContentGrey"))])))};f.propTypes={collectionName:r.default.string,senderAddress:r.default.string,name:r.default.string,total:r.default.string,isERC721:r.default.bool,onSubmit:r.default.func,onCancel:r.default.func};n.default=f}}},{package:"$root$",file:"ui/pages/confirmations/components/set-approval-for-all-warning/set-approval-for-all-warning.js"}],[5587,{"./signature-request-header":5588},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./signature-request-header"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/signature-request-header/index.js"}],[5588,{"../../../../../shared/constants/common":4495,"../../../../../shared/modules/Numeric":4533,"../../../../../shared/modules/conversion.utils":4537,"../../../../components/app/network-account-balance-header":4712,"../../../../ducks/metamask/metamask":5346,"../../../../helpers/utils/confirm-tx.util":5381,"../../../../helpers/utils/util":5399,"../../../../hooks/useI18nContext":5427,"../../../../selectors":5987,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=g(e("react")),r=g(e("prop-types")),o=e("react-redux"),s=e("../../../../hooks/useI18nContext"),i=e("../../../../ducks/metamask/metamask"),l=e("../../../../selectors"),c=e("../../../../helpers/utils/confirm-tx.util"),u=e("../../../../helpers/utils/util"),d=e("../../../../../shared/constants/common"),p=e("../../../../../shared/modules/conversion.utils"),f=e("../../../../../shared/modules/Numeric"),m=g(e("../../../../components/app/network-account-balance-header"));function g(e){return e&&e.__esModule?e:{default:e}}const h=({txData:e})=>{const t=(0,s.useI18nContext)(),{msgParams:{from:n}}=e,r=(0,o.useSelector)(l.accountsWithSendEtherInfoSelector),g=(0,u.getAccountByAddress)(r,n),h=(0,o.useSelector)(i.getNativeCurrency),y=(0,o.useSelector)(l.getCurrentCurrency),v=(0,o.useSelector)(l.getCurrentChainId),b=(0,o.useSelector)(i.getProviderConfig),T=(0,u.getNetworkNameFromProviderType)(b.type),{useNativeCurrencyAsPrimaryCurrency:_}=(0,o.useSelector)(l.getPreferences),k=(0,o.useSelector)(l.conversionRateSelector),x=_?null:k,E=""===T?b.nickname||t("unknownNetwork"):t(T),w=x?(0,c.formatCurrency)((0,p.getValueFromWeiHex)({value:g.balance,fromCurrency:h,toCurrency:y,conversionRate:x,numberOfDecimals:6,toDenomination:d.EtherDenomination.ETH}),y):new f.Numeric(g.balance,16,d.EtherDenomination.WEI).toDenomination(d.EtherDenomination.ETH).round(6).toBase(10).toString();return a.default.createElement(m.default,{networkName:E,accountName:g.metadata.name,accountBalance:w,tokenName:x?null==y?void 0:y.toUpperCase():h,accountAddress:g.address,chainId:v})};h.propTypes={txData:r.default.object.isRequired};n.default=h}}},{package:"$root$",file:"ui/pages/confirmations/components/signature-request-header/signature-request-header.js"}],[5589,{"./signature-request-original.container":5593},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./signature-request-original.container"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/signature-request-original/index.js"}],[5590,{"./signature-request-original-warning":5591},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./signature-request-original-warning"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/signature-request-original/signature-request-original-warning/index.js"}],[5591,{"../../../../../components/component-library":4955,"../../../../../helpers/constants/design-system":5355,"../../../../../helpers/utils/util":5399,"../../../../../hooks/useI18nContext":5427,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=c(e("react")),r=c(e("prop-types")),o=e("../../../../../hooks/useI18nContext"),s=e("../../../../../helpers/constants/design-system"),i=e("../../../../../helpers/utils/util"),l=e("../../../../../components/component-library");function c(e){return e&&e.__esModule?e:{default:e}}const u=({senderAddress:e,name:t,onSubmit:n,onCancel:r})=>{const c=(0,o.useI18nContext)();return a.default.createElement(l.Modal,{isOpen:!0,className:"signature-request-warning__content"},a.default.createElement(l.ModalOverlay,null),a.default.createElement(l.ModalContent,null,a.default.createElement(l.ModalHeader,{display:s.Display.Flex,childrenWrapperProps:{display:s.Display.Flex,alignItems:s.AlignItems.center,justifyContent:s.JustifyContent.center,flexDirection:s.FlexDirection.Column,gap:4,width:s.BlockSize.Full}},a.default.createElement(l.Icon,{name:l.IconName.Danger,color:s.IconColor.errorDefault,size:l.IconSize.Xl}),a.default.createElement(l.Text,{variant:s.TextVariant.headingSm,textAlign:s.TextAlign.Center},c("yourFundsMayBeAtRisk"))),a.default.createElement(l.ModalBody,{display:s.Display.Flex,flexDirection:s.FlexDirection.Column,gap:4},a.default.createElement(l.Box,{display:s.Display.Flex,gap:4,alignItems:s.AlignItems.center,justifyContent:s.JustifyContent.center},a.default.createElement(l.AvatarAccount,{address:e,size:l.AvatarAccountSize.Lg}),a.default.createElement(l.Text,{variant:s.TextVariant.bodyMd,className:"signature-request-warning__content__account-name"},a.default.createElement("b",null,t)," ",` (${(0,i.shortenAddress)(e)})`)),a.default.createElement(l.Text,{color:s.TextColor.textAlternative},c("signatureRequestWarning",[a.default.createElement("a",{href:"https://consensys.io/blog/the-seal-of-approval-know-what-youre-consenting-to-with-permissions-and-approvals-in-metamask",target:"_blank",type:"link",key:"non_custodial_link",rel:"noopener noreferrer",style:{color:"var(--color-primary-default)"}},c("learnMoreUpperCase"))]))),a.default.createElement(l.ModalFooter,{onSubmit:n,submitButtonProps:{danger:!0,children:c("sign"),"data-testid":"signature-warning-sign-button"},onCancel:r,cancelButtonProps:{variant:l.ButtonVariant.Secondary,children:c("reject")}})))};u.propTypes={senderAddress:r.default.string,name:r.default.string,onSubmit:r.default.func,onCancel:r.default.func};n.default=u}}},{package:"$root$",file:"ui/pages/confirmations/components/signature-request-original/signature-request-original-warning/signature-request-original-warning.js"}]],[],{}); \ No newline at end of file +LavaPack.loadBundle([[5406,{"../../store/actions":5998,loglevel:3842,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useCreateNotifications=function(){const e=(0,o.useDispatch)(),[t,n]=(0,r.useState)(null);return{createNotifications:(0,r.useCallback)((async()=>{n(null);try{await e((0,i.createOnChainTriggers)())}catch(e){throw n(e instanceof Error?e.message:"An unexpected error occurred"),s.default.error(e),e}}),[e]),error:t}},n.useDisableNotifications=function(){const e=(0,o.useDispatch)(),[t,n]=(0,r.useState)(null);return{disableNotifications:(0,r.useCallback)((async()=>{n(null);try{await e((0,i.disableMetamaskNotifications)())}catch(e){throw n(e instanceof Error?e.message:"An unexpected error occurred"),s.default.error(e),e}}),[e]),error:t}},n.useEnableNotifications=function(){const e=(0,o.useDispatch)(),[t,n]=(0,r.useState)(null);return{enableNotifications:(0,r.useCallback)((async()=>{n(null);try{await e((0,i.enableMetamaskNotifications)())}catch(e){throw n(e instanceof Error?e.message:"An unexpected error occurred"),s.default.error(e),e}}),[e]),error:t}},n.useListNotifications=function(){const e=(0,o.useDispatch)(),[t,n]=(0,r.useState)(!1),[a,l]=(0,r.useState)(null),[c,u]=(0,r.useState)(undefined);return{listNotifications:(0,r.useCallback)((async()=>{n(!0),l(null);try{const t=await e((0,i.fetchAndUpdateMetamaskNotifications)());return u(t),t}catch(e){throw s.default.error(e),l(e instanceof Error?e.message:"An unexpected error occurred"),e}finally{n(!1)}}),[e]),notificationsData:c,isLoading:t,error:a}},n.useMarkNotificationAsRead=function(){const e=(0,o.useDispatch)();return{markNotificationAsRead:(0,r.useCallback)((async t=>{try{e((0,i.markMetamaskNotificationsAsRead)(t))}catch(e){throw s.default.error(e),e}}),[e])}};var a,r=e("react"),o=e("react-redux"),s=(a=e("loglevel"))&&a.__esModule?a:{default:a},i=e("../../store/actions")}}},{package:"$root$",file:"ui/hooks/metamask-notifications/useNotifications.ts"}],[5407,{"../../store/actions":5998,loglevel:3842,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useDisableProfileSyncing=function(){const e=(0,o.useDispatch)(),[t,n]=(0,r.useState)(null);return{disableProfileSyncing:(0,r.useCallback)((async()=>{n(null);try{await e((0,i.disableProfileSyncing)())}catch(e){const t=e instanceof Error?e.message:JSON.stringify(e??"");n(t),s.default.error(t)}finally{e((0,i.hideLoadingIndication)())}}),[e]),error:t}},n.useEnableProfileSyncing=function(){const e=(0,o.useDispatch)(),[t,n]=(0,r.useState)(null);return{enableProfileSyncing:(0,r.useCallback)((async()=>{n(null);try{await e((0,i.enableProfileSyncing)())}catch(e){const t=e instanceof Error?e.message:JSON.stringify(e??"");s.default.error(t),n(t)}}),[e]),error:t}},n.useSetIsProfileSyncingEnabled=function(){const e=(0,o.useDispatch)(),[t,n]=(0,r.useState)(null);return{setIsProfileSyncingEnabled:(0,r.useCallback)((async t=>{n(null);try{await e((0,i.setIsProfileSyncingEnabled)(t))}catch(e){const t=e instanceof Error?e.message:JSON.stringify(e??"");n(t),s.default.error(t)}}),[e]),error:t}};var a,r=e("react"),o=e("react-redux"),s=(a=e("loglevel"))&&a.__esModule?a:{default:a},i=e("../../store/actions")}}},{package:"$root$",file:"ui/hooks/metamask-notifications/useProfileSyncing.ts"}],[5408,{"../../selectors/metamask-notifications/metamask-notifications":5989,"../../store/actions":5998,loglevel:3842,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useAccountSettingsProps=function(e){const t=(0,o.useSelector)(l.getIsUpdatingMetamaskNotificationsAccount),n=function(){const e=(0,o.useDispatch)(),t=(0,r.useCallback)((async t=>{try{return await e((0,i.checkAccountsPresence)(t))}catch{return{}}}),[]);return t}(),[a,s]=(0,r.useState)({}),[c,u]=(0,r.useState)(!1),[d,p]=(0,r.useState)(null),f=(0,r.useMemo)((()=>JSON.stringify(e)),[e]),m=(0,r.useCallback)((async e=>{try{u(!0),p(null);const t=await n(e);s(t)}catch{p("Failed to get account settings")}finally{u(!1)}}),[]);return(0,r.useEffect)((()=>{try{const e=JSON.parse(f);m(e)}catch{p("Failed to get account settings")}finally{u(!1)}}),[f,n]),{data:a,initialLoading:c,error:d,accountsBeingUpdated:t,update:m}},n.useSwitchAccountNotifications=function(){const e=(0,o.useDispatch)(),[t,n]=(0,r.useState)(!1),[a,l]=(0,r.useState)(null);return{switchAccountNotifications:(0,r.useCallback)((async t=>{n(!0),l(null);try{return await e((0,i.checkAccountsPresence)(t))}catch(e){const t=e instanceof Error?e.message:JSON.stringify(e??"");throw l(t),s.default.error(t),e}finally{n(!1)}}),[e]),isLoading:t,error:a}},n.useSwitchAccountNotificationsChange=function(){const e=(0,o.useDispatch)(),[t,n]=(0,r.useState)(null);return{onChange:(0,r.useCallback)((async(t,a)=>{n(null);try{a?await e((0,i.updateOnChainTriggersByAccount)(t)):await e((0,i.deleteOnChainTriggersByAccount)(t))}catch(e){const t=e instanceof Error?e.message:JSON.stringify(e??"");throw s.default.error(t),n(t),e}e((0,i.hideLoadingIndication)())}),[e]),error:t}},n.useSwitchFeatureAnnouncementsChange=function(){const e=(0,o.useDispatch)(),[t,n]=(0,r.useState)(null);return{onChange:(0,r.useCallback)((async t=>{n(null);try{await e((0,i.setFeatureAnnouncementsEnabled)(t))}catch(e){const t=e instanceof Error?e.message:JSON.stringify(e??"");throw n(t),e}}),[e]),error:t}};var a,r=e("react"),o=e("react-redux"),s=(a=e("loglevel"))&&a.__esModule?a:{default:a},i=e("../../store/actions"),l=e("../../selectors/metamask-notifications/metamask-notifications")}}},{package:"$root$",file:"ui/hooks/metamask-notifications/useSwitchNotifications.ts"}],[5409,{react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=e("react");n.default=()=>{const e=(0,a.useRef)(null),[t,n]=(0,a.useState)(!1);return(0,a.useEffect)((()=>{n(e.current&&e.current.offsetHeight{const[t,n]=(0,a.useState)();return(0,a.useEffect)((()=>{e&&(async()=>{(await(0,r.getPhishingResult)(e)).result||n(new URL(e))})()}),[e]),t}}}},{package:"$root$",file:"ui/hooks/snaps/useSafeWebsite.ts"}],[5411,{"../../selectors":5987,"../../store/actions":5998,"@metamask/snaps-rpc-methods":2086,"@metamask/snaps-sdk":2122,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useSignatureInsights=function({txData:e}){const t=(0,r.useDispatch)(),n=(0,r.useSelector)(l.getPermissionSubjectsDeepEqual),u=(0,r.useSelector)(l.getSignatureInsightSnapIds),[d,p]=(0,a.useState)(!0),[f,m]=(0,a.useState)(undefined),[g,h]=(0,a.useState)([]);return(0,a.useEffect)((()=>{let a=!1;return Object.keys(e).length>0&&async function(){p(!0);const{msgParams:{from:r,data:l,signatureMethod:d,origin:f}}=e,g={from:r,data:"eth_signTypedData_v3"===d||"eth_signTypedData_v4"===d?JSON.parse(l):l,signatureMethod:d},y=(await Promise.allSettled(u.map((e=>{var t;const a=null===(t=n[e])||void 0===t?void 0:t.permissions[c];if(!a)return Promise.reject(new Error("This Snap does not have the signature insight endowment."));const r=(0,o.getSignatureOriginCaveat)(a)?f:null;return(0,i.handleSnapRequest)({snapId:e,origin:"",handler:"onSignature",request:{jsonrpc:"2.0",method:"",params:{signature:g,signatureOrigin:r}}})})))).map(((e,t)=>{const n=u[t];return"rejected"===e.status?{error:e.reason,snapId:n}:{snapId:n,response:e.value}})),v=y.reduce(((e,t)=>{var n;if((null===(n=t.response)||void 0===n?void 0:n.severity)===s.SeverityLevel.Critical){const{snapId:n,response:{id:a}}=t;e.push({snapId:n,id:a})}return e}),[]);a||(m(y),h(v),p(!1),y.length>0&&(0,i.forceUpdateMetamaskState)(t))}(),()=>{a=!0}}),[e,JSON.stringify(u),n]),(0,a.useEffect)((()=>()=>{null==f||f.map((({response:e})=>(null==e?void 0:e.id)&&t((0,i.deleteInterface)(e.id))))}),[f]),{data:f,loading:d,warnings:g}};var a=e("react"),r=e("react-redux"),o=e("@metamask/snaps-rpc-methods"),s=e("@metamask/snaps-sdk"),i=e("../../store/actions"),l=e("../../selectors");const c="endowment:signature-insight"}}},{package:"$root$",file:"ui/hooks/snaps/useSignatureInsights.js"}],[5412,{"../../selectors":5987,"../../store/actions":5998,"@metamask/snaps-rpc-methods":2086,"@metamask/snaps-sdk":2122,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useTransactionInsightSnaps=function({transaction:e,chainId:t,origin:n,insightSnaps:u}){const d=(0,r.useDispatch)(),p=(0,r.useSelector)(l.getPermissionSubjectsDeepEqual),[f,m]=(0,a.useState)(!0),[g,h]=(0,a.useState)(undefined),[y,v]=(0,a.useState)(!1);(0,a.useEffect)((()=>{let a=!1;return e&&Object.keys(e).length>0&&async function(){if(y)return void m(!1);m(!0);const r=(await Promise.allSettled(u.map((a=>{var r;const s=null===(r=p[a])||void 0===r?void 0:r.permissions[c];if(!s)return Promise.reject(new Error("This Snap does not have the transaction insight endowment."));const l=(0,o.getTransactionOriginCaveat)(s)?n:null;return(0,i.handleSnapRequest)({snapId:a,origin:"",handler:"onTransaction",request:{jsonrpc:"2.0",method:"",params:{transaction:e,chainId:t,transactionOrigin:l}}})})))).map(((e,t)=>{const n=u[t];return"rejected"===e.status?{error:e.reason,snapId:n}:{snapId:n,response:e.value}}));a||(h(r),m(!1),v(!0),r.length>0&&(0,i.forceUpdateMetamaskState)(d))}(),()=>{a=!0}}),[e,t,n,p,JSON.stringify(u),y]);const b=null==g?void 0:g.reduce(((e,t)=>{var n;if((null===(n=t.response)||void 0===n?void 0:n.severity)===s.SeverityLevel.Critical){const{snapId:n,response:{id:a}}=t;e.push({snapId:n,id:a})}return e}),[]);return{data:g,loading:f,warnings:b}};var a=e("react"),r=e("react-redux"),o=e("@metamask/snaps-rpc-methods"),s=e("@metamask/snaps-sdk"),i=e("../../store/actions"),l=e("../../selectors");const c="endowment:transaction-insight"}}},{package:"$root$",file:"ui/hooks/snaps/useTransactionInsightSnaps.js"}],[5413,{"../../shared/modules/conversion.utils":4537,"../../shared/modules/string-utils":4558,"../ducks/metamask/metamask":5346,"../helpers/utils/confirm-tx.util":5381,"../helpers/utils/token-util":5396,"../selectors":5987,"./useTokenTracker":5447,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useAccountTotalFiatBalance=void 0;var a=e("react-redux"),r=e("../selectors"),o=e("../../shared/modules/conversion.utils"),s=e("../ducks/metamask/metamask"),i=e("../helpers/utils/confirm-tx.util"),l=e("../helpers/utils/token-util"),c=e("../../shared/modules/string-utils"),u=e("./useTokenTracker");n.useAccountTotalFiatBalance=(e,t)=>{var n;const d=(0,a.useSelector)(r.getCurrentChainId),p=(0,a.useSelector)(s.getConversionRate),f=(0,a.useSelector)(r.getCurrentCurrency),m=(0,a.useSelector)(r.getTokenExchangeRates,a.shallowEqual),g=(0,a.useSelector)(r.getMetaMaskCachedBalances),h=(null==g?void 0:g[e])??0,y=(0,o.getValueFromWeiHex)({value:h,toCurrency:f,conversionRate:p,numberOfDecimals:2}),v=(0,a.useSelector)(r.getAllTokens),b=(null==v||null===(n=v[d])||void 0===n?void 0:n[e])??[],T=(0,a.useSelector)(r.getTokenList),_=Object.values(T),k=(0,a.useSelector)(r.getNativeCurrencyImage),x=(0,a.useSelector)(s.getNativeCurrency),{loading:E,tokensWithBalances:w}=(0,u.useTokenTracker)({tokens:b,address:e,includeFailedTokens:!0,hideZeroBalanceTokens:t}),C=w.map((e=>{const t=Object.keys(m).find((t=>(0,c.isEqualCaseInsensitive)(t,e.address))),n=(t&&m[t])??0;return(0,l.getTokenFiatAmount)(n,p,f,e.string,e.symbol,!1,!1)})),S=[{iconUrl:k,symbol:x,fiatBalance:y},...((e,t)=>{const n=[];return t.forEach((t=>{const a=e.find((e=>e.symbol===t.symbol));a&&n.push({...a,balance:t.balance,string:t.string,balanceError:t.balanceError})})),n})(_,w).map(((e,t)=>({...e,fiatBalance:C[t]})))].sort(((e,t)=>parseFloat(t.fiatBalance)-parseFloat(e.fiatBalance))),P=(0,o.sumDecimals)(y,...C).toString(10),M=(0,i.formatCurrency)(P,f);let I=(0,o.getWeiHexFromDecimalValue)({value:P,fromCurrency:f,conversionRate:p,invertConversionRate:!0});return"NaN"===I&&(I="0x0"),{formattedFiat:M,totalWeiBalance:I,totalFiatBalance:P,tokensWithBalances:w,loading:E,orderedTokenList:S}}}}},{package:"$root$",file:"ui/hooks/useAccountTotalFiatBalance.js"}],[5414,{"../../shared/modules/hexstring-utils":4544,"../helpers/utils/util":5399,"../selectors":5987,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=e("react-redux"),r=e("../../shared/modules/hexstring-utils"),o=e("../selectors"),s=e("../helpers/utils/util");n.default=e=>{var t;const n=(0,a.useSelector)(o.getAddressBook),i=(0,a.useSelector)(o.getInternalAccounts),l=(0,a.useSelector)(o.getTokenList),c=(0,r.toChecksumHexAddress)(e);if(!e)return{};const u=i.find((e=>(0,r.toChecksumHexAddress)(e.address)===c)),d=n.find((e=>e.address===c));return null!=d&&d.name?{toName:d.name,isTrusted:!0}:u?{toName:u.metadata.name,isTrusted:!0}:null!==(t=l[null==e?void 0:e.toLowerCase()])&&void 0!==t&&t.name?{toName:l[null==e?void 0:e.toLowerCase()].name,isTrusted:!0}:{toName:(0,s.shortenAddress)(c),isTrusted:!1}}}}},{package:"$root$",file:"ui/hooks/useAddressDetails.js"}],[5415,{"../ducks/confirm-alerts/confirm-alerts":5337,"../helpers/constants/design-system":5355,"../selectors/alerts":5982,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=e("react-redux"),r=e("react"),o=e("../selectors/alerts"),s=e("../ducks/confirm-alerts/confirm-alerts"),i=e("../helpers/constants/design-system");n.default=e=>{const t=(0,a.useDispatch)(),n=(0,a.useSelector)((t=>(0,o.selectAlerts)(t,e))),l=(0,a.useSelector)((t=>(0,o.selectConfirmedAlertKeys)(t,e))),c=(0,a.useSelector)((t=>(0,o.selectGeneralAlerts)(t,e))),u=(0,a.useSelector)((t=>(0,o.selectFieldAlerts)(t,e))),d=(0,r.useCallback)((e=>e?n.filter((t=>t.field===e)):[]),[n]),p=(0,r.useCallback)(((n,a)=>{t((0,s.setAlertConfirmed)(e,n,a))}),[t,s.setAlertConfirmed,e]),f=(0,r.useCallback)((e=>l.includes(e)),[l]),m=n.filter((e=>!f(e.key)&&e.severity===i.Severity.Danger)),g=n.length>0,h=n.filter((e=>e.severity===i.Severity.Danger)),y=m.length>0;return{alerts:n,fieldAlerts:u,generalAlerts:c,getFieldAlerts:d,hasAlerts:g,dangerAlerts:h,hasDangerAlerts:(null==h?void 0:h.length)>0,hasUnconfirmedDangerAlerts:y,isAlertConfirmed:f,setAlertConfirmed:p,unconfirmedDangerAlerts:m}}}}},{package:"$root$",file:"ui/hooks/useAlerts.ts"}],[5416,{react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useAsyncResult=r,n.useAsyncResultOrThrow=function(e,t=[]){const n=r(e,t);if(n.error)throw n.error;return n};var a=e("react");function r(e,t=[]){const[n,r]=(0,a.useState)({pending:!0});return(0,a.useEffect)((()=>{r({pending:!0});let t=!1;return e().then((e=>{t||r({pending:!1,value:e})})).catch((e=>{t||r({pending:!1,error:e})})),()=>{t=!0}}),t),n}}}},{package:"$root$",file:"ui/hooks/useAsyncResult.ts"}],[5417,{"../../shared/constants/copy":4496,"../../shared/constants/time":4518,"./useTimeout":5443,"copy-to-clipboard":3087,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useCopyToClipboard=function(e=c){const[t,n]=(0,r.useState)(!1),a=(0,l.useTimeout)((()=>{(0,o.default)(" ",i.COPY_OPTIONS),n(!1)}),e,!1),s=(0,r.useCallback)((e=>{n(!0),a(),(0,o.default)(e,i.COPY_OPTIONS)}),[a]);return[t,s]};var a,r=e("react"),o=(a=e("copy-to-clipboard"))&&a.__esModule?a:{default:a},s=e("../../shared/constants/time"),i=e("../../shared/constants/copy"),l=e("./useTimeout");const c=s.MINUTE}}},{package:"$root$",file:"ui/hooks/useCopyToClipboard.js"}],[5418,{"../../shared/constants/common":4495,"../../shared/constants/network":4507,"../../shared/modules/Numeric":4533,"../../shared/modules/conversion.utils":4537,"../ducks/metamask/metamask":5346,"../helpers/utils/confirm-tx.util":5381,"../selectors":5987,"bignumber.js":2933,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.MIN_AMOUNT=n.DEFAULT_PRECISION=void 0,n.useCurrencyDisplay=function(e,{displayValue:t,prefix:n,numberOfDecimals:a,denomination:s,currency:m,...y}){const v=(0,o.useSelector)(l.getCurrentCurrency),b=(0,o.useSelector)(c.getNativeCurrency),T=(0,o.useSelector)(c.getConversionRate),_=m===v,k=(0,r.useMemo)((()=>{if(t)return t;if(m===b||!_&&!b){const t=new p.Numeric(e,16,f.EtherDenomination.WEI).toDenomination(s||f.EtherDenomination.ETH).round(a||h).toBase(10).toString();return"0"===t&&e&&0!==Number(e)?g:t}return _&&T?(0,i.formatCurrency)((0,u.getValueFromWeiHex)({value:e,fromCurrency:b,toCurrency:m,conversionRate:T,numberOfDecimals:a||2,toDenomination:s}),m):null}),[e,b,T,t,a,s,m,_]);let x;if(!y.hideLabel){const e=Object.values(d.TEST_NETWORK_TICKER_MAP).includes(m)?m:null==m?void 0:m.toUpperCase();x=y.suffix||e}return[`${n||""}${k}${x?` ${x}`:""}`,{prefix:n,value:k,suffix:x}]};var a,r=e("react"),o=e("react-redux"),s=(a=e("bignumber.js"))&&a.__esModule?a:{default:a},i=e("../helpers/utils/confirm-tx.util"),l=e("../selectors"),c=e("../ducks/metamask/metamask"),u=e("../../shared/modules/conversion.utils"),d=e("../../shared/constants/network"),p=e("../../shared/modules/Numeric"),f=e("../../shared/constants/common");const m=n.MIN_AMOUNT=1e-6,g=`<${m}`,h=n.DEFAULT_PRECISION=new s.default(m).decimalPlaces()}}},{package:"$root$",file:"ui/hooks/useCurrencyDisplay.js"}],[5419,{"../ducks/metamask/metamask":5346,"../selectors":5987,"../store/actions":5998,"./usePolling":5435,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=e("react-redux"),o=e("../selectors"),s=e("../store/actions"),i=e("../ducks/metamask/metamask"),l=(a=e("./usePolling"))&&a.__esModule?a:{default:a};n.default=e=>{const t=(0,r.useSelector)(o.getUseCurrencyRateCheck),n=(0,r.useSelector)(i.getCompletedOnboarding),a=(0,r.useSelector)(o.getSelectedNetworkClientId);(0,l.default)({startPollingByNetworkClientId:s.currencyRateStartPollingByNetworkClientId,stopPollingByPollingToken:s.currencyRateStopPollingByPollingToken,networkClientId:e??a,enabled:t&&n})}}}},{package:"$root$",file:"ui/hooks/useCurrencyRatePolling.ts"}],[5420,{"../../shared/constants/swaps":4516,"../../shared/modules/string-utils":4558,"../ducks/metamask/metamask":5346,"../helpers/constants/routes":5361,"../selectors":5987,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useCurrentAsset=function(){var e;const t=(0,r.useRouteMatch)({path:`${i.ASSET_ROUTE}/:asset`,exact:!0,strict:!0}),n=null==t||null===(e=t.params)||void 0===e?void 0:e.asset,u=(0,a.useSelector)(o.getTokens),d=n&&u.find((({address:e})=>(0,c.isEqualCaseInsensitive)(e,n))),p=(0,a.useSelector)(s.getCurrentChainId);return d??(l.SWAPS_CHAINID_DEFAULT_TOKEN_MAP[p]||l.ETH_SWAPS_TOKEN_OBJECT)};var a=e("react-redux"),r=e("react-router-dom"),o=e("../ducks/metamask/metamask"),s=e("../selectors"),i=e("../helpers/constants/routes"),l=e("../../shared/constants/swaps"),c=e("../../shared/modules/string-utils")}}},{package:"$root$",file:"ui/hooks/useCurrentAsset.js"}],[5421,{"../selectors":5987,"../selectors/nft":5992,"./useFirstPartyContractName":5425,"./useName":5431,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useDisplayName=function(e,t,n=!1){return l([{value:e,type:t,preferContractSymbol:n}])[0]},n.useDisplayNames=l;var a=e("react-redux"),r=e("../selectors"),o=e("../selectors/nft"),s=e("./useName"),i=e("./useFirstPartyContractName");function l(e){const t=e.map((({value:e,type:t})=>({value:e,type:t}))),n=(0,s.useNames)(t),l=(0,i.useFirstPartyContractNames)(t),c=e.map((({value:e})=>e)),u=(0,a.useSelector)((e=>(0,r.getMemoizedMetadataContracts)(e,c,!0))),d=(0,a.useSelector)(o.getNftContractsByAddressOnCurrentChain);return e.map((({value:e,preferContractSymbol:t},a)=>{var r;const o=n[a],s=l[a],i=u[a],c=null===(r=d[e.toLowerCase()])||void 0===r?void 0:r.name,p=t&&null!=i&&i.symbol?i.symbol:null==i?void 0:i.name;return{name:(null==o?void 0:o.name)||s||p||c||null,hasPetname:Boolean(null==o?void 0:o.name),contractDisplayName:p}}))}}}},{package:"$root$",file:"ui/hooks/useDisplayName.ts"}],[5422,{lodash:3836,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useEqualityCheck=function(e,t=r.isEqual){const[n,o]=(0,a.useState)(e);return(0,a.useLayoutEffect)((()=>{t(e,n)||o(e)}),[e,t,n]),n};var a=e("react"),r=e("lodash")}}},{package:"$root$",file:"ui/hooks/useEqualityCheck.js"}],[5423,{"../../shared/modules/conversion.utils":4537,"../ducks/metamask/metamask":5346,"../helpers/utils/confirm-tx.util":5381,"../selectors":5987,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useEthFiatAmount=function(e,t={},n){const c=(0,r.useSelector)(i.getConversionRate),u=(0,r.useSelector)(o.getCurrentCurrency),d=(0,r.useSelector)(o.getShouldShowFiat),p=t.showFiat??d,f=(0,a.useMemo)((()=>(0,l.decEthToConvertedCurrency)(e,u,c)),[c,u,e]);if(!p||"ETH"===u.toUpperCase()||c<=0||e===undefined)return undefined;return n?(0,s.formatCurrency)(f,u):`${(0,s.formatCurrency)(f,u)} ${u.toUpperCase()}`};var a=e("react"),r=e("react-redux"),o=e("../selectors"),s=e("../helpers/utils/confirm-tx.util"),i=e("../ducks/metamask/metamask"),l=e("../../shared/modules/conversion.utils")}}},{package:"$root$",file:"ui/hooks/useEthFiatAmount.js"}],[5424,{"../ducks/locale/locale":5345,"../selectors":5987,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useFiatFormatter=void 0;var a=e("react-redux"),r=e("../ducks/locale/locale"),o=e("../selectors");n.useFiatFormatter=()=>{const e=(0,a.useSelector)(r.getIntlLocale),t=(0,a.useSelector)(o.getCurrentCurrency);return n=>{try{return new Intl.NumberFormat(e,{style:"currency",currency:t}).format(n)}catch(e){return`${n} ${t}`}}}}}},{package:"$root$",file:"ui/hooks/useFiatFormatter.ts"}],[5425,{"../../shared/constants/first-party-contracts":4499,"../selectors":5987,"@metamask/name-controller":1529,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useFirstPartyContractName=function(e,t,n){return i([{value:e,type:t,variation:n}])[0]},n.useFirstPartyContractNames=i;var a=e("@metamask/name-controller"),r=e("react-redux"),o=e("../selectors"),s=e("../../shared/constants/first-party-contracts");function i(e){const t=(0,r.useSelector)(o.getCurrentChainId);return e.map((({type:e,value:n,variation:r})=>{if(e!==a.NameType.ETHEREUM_ADDRESS)return null;const o=r??t,i=n.toLowerCase();return Object.keys(s.FIRST_PARTY_CONTRACT_NAMES).find((e=>{var t;return(null===(t=s.FIRST_PARTY_CONTRACT_NAMES[e])||void 0===t||null===(t=t[o])||void 0===t?void 0:t.toLowerCase())===i}))??null}))}}}},{package:"$root$",file:"ui/hooks/useFirstPartyContractName.ts"}],[5426,{"../ducks/metamask/metamask":5346,"../selectors":5987,"../store/actions":5998,"./usePolling":5435,"lodash/isEqual":3824,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useGasFeeEstimates=function(e){const t=(0,r.useSelector)(l.getSelectedNetworkClientId),n=e??t,[u,d]=(0,o.useState)(""),p=(0,r.useSelector)((e=>(0,s.getGasEstimateTypeByChainId)(e,u))),f=(0,r.useSelector)((e=>(0,s.getGasFeeEstimatesByChainId)(e,u)),a.default),m=(0,r.useSelector)((e=>(0,s.getIsGasEstimatesLoadingByChainId)(e,{chainId:u,networkClientId:n}))),g=(0,r.useSelector)((e=>(0,s.getIsNetworkBusyByChainId)(e,u)));return(0,o.useEffect)((()=>{let e=!0;return(0,i.getNetworkConfigurationByNetworkClientId)(n).then((t=>{t&&e&&d(t.chainId)})),()=>{e=!1}}),[n]),(0,c.default)({startPollingByNetworkClientId:i.gasFeeStartPollingByNetworkClientId,stopPollingByPollingToken:i.gasFeeStopPollingByPollingToken,networkClientId:n}),{gasFeeEstimates:f,gasEstimateType:p,isGasEstimatesLoading:m,isNetworkBusy:g}};var a=u(e("lodash/isEqual")),r=e("react-redux"),o=e("react"),s=e("../ducks/metamask/metamask"),i=e("../store/actions"),l=e("../selectors"),c=u(e("./usePolling"));function u(e){return e&&e.__esModule?e:{default:e}}}}},{package:"$root$",file:"ui/hooks/useGasFeeEstimates.js"}],[5428,{"../../app/scripts/lib/util":120,"../../shared/constants/network":4507,"../../shared/constants/time":4518,"../../shared/lib/fetch-with-cache":4525,"../selectors":5987,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useIsOriginalNativeTokenSymbol=function(e,t,n,a=null){const[d,p]=(0,r.useState)(null),f=(0,o.useSelector)(c.useSafeChainsListValidationSelector);return(0,r.useEffect)((()=>{!async function(n){try{var r;if(!f)return void p(!0);if((e=>{const t=(0,u.getValidUrl)(e);return null!==t&&("localhost"===t.hostname||"127.0.0.1"===t.hostname)})(a))return void p(!0);const o=i.CHAIN_ID_TO_CURRENCY_SYMBOL_MAP[e];if(o)return void p(o===t);const c=i.CHAIN_ID_TO_CURRENCY_SYMBOL_MAP_NETWORK_COLLISION[e];if(c&&c.some((e=>e.currencySymbol===t)))return void p(!0);const d=(await(0,s.default)({url:"https://chainid.network/chains.json",cacheOptions:{cacheRefreshTime:l.DAY},functionName:"getSafeChainsList"})).find((e=>e.chainId===parseInt(n,16))),m=(null==d||null===(r=d.nativeCurrency)||void 0===r?void 0:r.symbol)??null;p(m===t)}catch(e){p(!1)}}(e)}),[d,e,t,n,a,f]),d};var a,r=e("react"),o=e("react-redux"),s=(a=e("../../shared/lib/fetch-with-cache"))&&a.__esModule?a:{default:a},i=e("../../shared/constants/network"),l=e("../../shared/constants/time"),c=e("../selectors"),u=e("../../app/scripts/lib/util")}}},{package:"$root$",file:"ui/hooks/useIsOriginalNativeTokenSymbol.js"}],[5429,{"../store/actions":5998,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useIsOriginalTokenSymbol=function(e,t){const[n,o]=(0,a.useState)(null);return(0,a.useEffect)((()=>{!async function(e){const n=await(0,r.getTokenSymbol)(e);o((null==n?void 0:n.toLowerCase())===(null==t?void 0:t.toLowerCase()))}(e)}),[e,t]),n};var a=e("react"),r=e("../store/actions")}}},{package:"$root$",file:"ui/hooks/useIsOriginalTokenSymbol.js"}],[5430,{"../store/actions":5998,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useModalProps=function(){const e=(0,a.useSelector)((e=>{var t;return null===(t=e.appState.modal.modalState)||void 0===t?void 0:t.props})),t=(0,a.useDispatch)();return{props:e,hideModal:()=>t((0,r.hideModal)())}};var a=e("react-redux"),r=e("../store/actions")}}},{package:"$root$",file:"ui/hooks/useModalProps.ts"}],[5431,{"../selectors":5987,"@metamask/name-controller":1529,lodash:3836,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useName=function(e,t,n){return i([{value:e,type:t,variation:n}])[0]},n.useNames=i;var a=e("@metamask/name-controller"),r=e("react-redux"),o=e("lodash"),s=e("../selectors");function i(e){const t=(0,r.useSelector)(s.getNames,o.isEqual),n=(0,r.useSelector)(s.getCurrentChainId);return e.map((({value:e,type:r,variation:o})=>{var s;const i=function(e,t){if(t===a.NameType.ETHEREUM_ADDRESS)return e.toLowerCase();return e}(e,r),l=function(e,t){if(e===a.NameType.ETHEREUM_ADDRESS)return t;return""}(r,n),c=o??l,u=(null===(s=t[r])||void 0===s?void 0:s[i])??{},d=u[c],p=u[a.FALLBACK_VARIATION],f=null!=d&&d.name||!p?d??{}:p,{name:m=null,sourceId:g=null,origin:h=null,proposedNames:y={}}=f;return{name:m,sourceId:g,proposedNames:y,origin:h}}))}}}},{package:"$root$",file:"ui/hooks/useName.ts"}],[5432,{"../ducks/metamask/metamask":5346,"../selectors":5987,"./useI18nContext":5427,"./usePrevious":5436,lodash:3836,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useNftsCollections=function(){const e=(0,c.useI18nContext)(),t=e("nftsPreviouslyOwned"),n=e("unknownCollection"),[u,d]=(0,a.useState)({}),[p,f]=(0,a.useState)({collectionName:t,nfts:[]}),m=(0,r.useSelector)(s.getNfts),[g,h]=(0,a.useState)((()=>(null==m?void 0:m.length)>=0)),{address:y}=(0,r.useSelector)(i.getSelectedInternalAccount),v=(0,r.useSelector)(i.getCurrentChainId),b=(0,r.useSelector)(s.getNftContracts),T=(0,l.usePrevious)(m),_=(0,l.usePrevious)(v),k=(0,l.usePrevious)(y);return(0,a.useEffect)((()=>{(0,o.isEqual)(T,m)&&(0,o.isEqual)(k,y)&&(0,o.isEqual)(_,v)||(()=>{if(h(!0),y===undefined||v===undefined)return;const e={},a={collectionName:t,nfts:[]};m.forEach((t=>{if(!1===(null==t?void 0:t.isCurrentlyOwned))a.nfts.push(t);else if(e[t.address])e[t.address].nfts.push(t);else{const a=b.find((({address:e})=>e===t.address));e[t.address]={collectionName:(null==a?void 0:a.name)||n,collectionImage:(null==a?void 0:a.logo)||t.image,nfts:[t]}}})),d(e),f(a),h(!1)})()}),[m,T,b,h,v,_,y,k,t,n]),{nftsLoading:g,collections:u,previouslyOwnedCollection:p}};var a=e("react"),r=e("react-redux"),o=e("lodash"),s=e("../ducks/metamask/metamask"),i=e("../selectors"),l=e("./usePrevious"),c=e("./useI18nContext")}}},{package:"$root$",file:"ui/hooks/useNftsCollections.js"}],[5433,{"../selectors":5987,"@metamask/permission-controller":1624,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useOriginMetadata=function(e){const t=(0,r.useSelector)((t=>(0,o.getTargetSubjectMetadata)(t,e)));if(!e)return null;let n=null;try{const t=new URL(e);n={host:t.host,hostname:t.hostname,origin:e,subjectType:a.SubjectType.Unknown}}catch(e){}if(t&&n)return{...n,...t};if(t)return t;return n};var a=e("@metamask/permission-controller"),r=e("react-redux"),o=e("../selectors")}}},{package:"$root$",file:"ui/hooks/useOriginMetadata.js"}],[5434,{"../selectors":5987,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.usePetnamesEnabled=function(){return(0,r.getPetnamesEnabled)((0,a.useStore)().getState())};var a=e("react-redux"),r=e("../selectors")}}},{package:"$root$",file:"ui/hooks/usePetnamesEnabled.ts"}],[5435,{react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=e("react");n.default=e=>{const t=(0,a.useRef)(null),n=(0,a.useRef)(null);let r=!1;(0,a.useEffect)((()=>{if(!1===e.enabled)return()=>{};r=!0;const a=()=>{var a;t.current&&(e.stopPollingByPollingToken(t.current),null===(a=n.current)||void 0===a||a.call(n,t.current))};return e.startPollingByNetworkClientId(e.networkClientId,e.options).then((o=>{var s;t.current=o,n.current=(null===(s=e.callback)||void 0===s?void 0:s.call(e,o))||null,r||a()})),()=>{r=!1,a()}}),[e.networkClientId,e.options&&JSON.stringify(e.options,Object.keys(e.options).sort()),e.enabled])}}}},{package:"$root$",file:"ui/hooks/usePolling.ts"}],[5436,{react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.usePrevious=function(e){const t=(0,a.useRef)();return(0,a.useEffect)((()=>{t.current=e}),[e]),t.current};var a=e("react")}}},{package:"$root$",file:"ui/hooks/usePrevious.ts"}],[5437,{lodash:3836,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useScrollRequired=void 0;var a=e("react"),r=e("lodash");n.useScrollRequired=(e=[],{offsetPxFromBottom:t=16}={})=>{const n=(0,a.useRef)(null),[o,s]=(0,a.useState)(!1),[i,l]=(0,a.useState)(!1),[c,u]=(0,a.useState)(!1),d=()=>{if(!n.current)return;const e=n.current&&n.current.scrollHeight>n.current.clientHeight,a=e&&Math.round(n.current.scrollTop)+n.current.offsetHeight+t>=n.current.scrollHeight;l(e),u(!e||a),e&&!a||s(!0)};(0,a.useEffect)(d,[n,...e]);return{isScrollable:i,isScrolledToBottom:c,hasScrolledToBottom:o,scrollToBottom:()=>{u(!0),s(!0),n.current&&n.current.scrollTo({top:n.current.scrollHeight,behavior:"smooth"})},setHasScrolledToBottom:s,ref:n,onScroll:(0,r.debounce)(d,25)}}}}},{package:"$root$",file:"ui/hooks/useScrollRequired.js"}],[5438,{"../helpers/constants/routes":5361,"../selectors":5987,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useSegmentContext=function(){const e=(0,r.useRouteMatch)({path:i,exact:!0,strict:!0}),t=((0,a.useSelector)(s.txDataSelector)||{}).origin,n=t?{url:t}:undefined;return{page:e?{path:e.path,title:o.PATH_NAME_MAP[e.path],url:e.path}:undefined,referrer:n}};var a=e("react-redux"),r=e("react-router-dom"),o=e("../helpers/constants/routes"),s=e("../selectors");const i=Object.keys(o.PATH_NAME_MAP)}}},{package:"$root$",file:"ui/hooks/useSegmentContext.js"}],[5439,{"../ducks/app/app":5336,"./useGasFeeEstimates":5426,lodash:3836,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useShouldAnimateGasEstimations=function(){const{isGasEstimatesLoading:e,gasFeeEstimates:t}=(0,i.useGasFeeEstimates)(),n=(0,r.useDispatch)(),l=(0,r.useSelector)(s.getGasLoadingAnimationIsShowing),c=(0,a.useRef)(t),u=!(0,o.isEqual)(c.current,t),d=(0,o.isEqual)(c.current,{});u&&(c.current=t);const p=e||u&&!d;(0,a.useEffect)((()=>{!1===l&&!0===p&&n((0,s.toggleGasLoadingAnimation)(!0))}),[n,l,p]),(0,a.useEffect)((()=>{let e;return l&&!p&&(e=setTimeout((()=>{n((0,s.toggleGasLoadingAnimation)(!1))}),2e3)),()=>{e&&clearTimeout(e)}}),[n,l,p])};var a=e("react"),r=e("react-redux"),o=e("lodash"),s=e("../ducks/app/app"),i=e("./useGasFeeEstimates")}}},{package:"$root$",file:"ui/hooks/useShouldAnimateGasEstimations.js"}],[5440,{"../../shared/constants/time":4518,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useShouldShowSpeedUp=function(e,t){const{transactions:n,hasRetried:o}=e,[s={}]=n,{submittedTime:i}=s,[l,c]=(0,a.useState)((()=>Date.now()-i>5e3&&t&&!o));return(0,a.useEffect)((()=>{let e;return o||!t||l||(Date.now()-i>5*r.SECOND?c(!0):e=setTimeout((()=>{c(!0),clearTimeout(e)}),5001-(Date.now()-i))),()=>{e&&clearTimeout(e)}}),[i,l,o,t]),l};var a=e("react"),r=e("../../shared/constants/time")}}},{package:"$root$",file:"ui/hooks/useShouldShowSpeedUp.js"}],[5441,{"../../shared/lib/transactions-controller-utils":4531,"../../shared/modules/swaps.utils":4559,"../selectors":5987,"./useTokenFiatAmount":5446,"@metamask/transaction-controller":2234,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useSwappedTokenValue=function(e,t){const{symbol:n,decimals:c,address:u}=t,{primaryTransaction:d,initialTransaction:p}=e,{type:f}=p,{from:m}=p.txParams||{},g=(0,a.useSelector)(i.getCurrentChainId),h=f===r.TransactionType.swap&&((null==t?void 0:t.symbol)===d.destinationTokenSymbol||(0,s.isSwapsDefaultTokenAddress)(t.address,g)&&(0,s.isSwapsDefaultTokenSymbol)(d.destinationTokenSymbol,g)),y=[r.TransactionType.swap].includes(f)&&h?(0,o.getSwapsTokensReceivedFromTxMeta)(d.destinationTokenSymbol,p,u,m,c,null,g):[r.TransactionType.swap,r.TransactionType.swapAndSend].includes(f)&&d.swapTokenValue,v="string"==typeof y&&-1===Math.sign(y),b=(0,l.useTokenFiatAmount)(u,y||"",n),T=(0,l.useTokenFiatAmount)(d.sourceTokenAddress,y,d.sourceTokenSymbol);let _;y&&(h?_=b:f===r.TransactionType.swapAndSend&&(_=T));return{swapTokenValue:y,swapTokenFiatAmount:_,isViewingReceivedTokenFromSwap:h,isNegative:v}};var a=e("react-redux"),r=e("@metamask/transaction-controller"),o=e("../../shared/lib/transactions-controller-utils"),s=e("../../shared/modules/swaps.utils"),i=e("../selectors"),l=e("./useTokenFiatAmount")}}},{package:"$root$",file:"ui/hooks/useSwappedTokenValue.js"}],[5442,{"../../shared/constants/preferences":4512,"../selectors":5987,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useTheme=function(){const e=(0,r.useSelector)(o.getTheme),[t,n]=(0,a.useState)(e);return(0,a.useEffect)((()=>{const t=e&&e!==s.ThemeType.os?e:document.documentElement.getAttribute("data-theme");i.includes(t)||(console.warn(`useTheme: Invalid theme resolved to "${t}". Defaulting to "${s.ThemeType.light}".`),n(s.ThemeType.light)),n(t)}),[e]),t};var a=e("react"),r=e("react-redux"),o=e("../selectors"),s=e("../../shared/constants/preferences");const i=Object.values(s.ThemeType).filter((e=>e!==s.ThemeType.os))}}},{package:"$root$",file:"ui/hooks/useTheme.ts"}],[5443,{react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useTimeout=function(e,t,n=!0){const r=(0,a.useRef)(),[o,s]=(0,a.useState)(null);(0,a.useEffect)((()=>{r.current=e}),[e]),(0,a.useEffect)((()=>{if("start"!==o)return undefined;const e=setTimeout((()=>{r.current()}),t);return s(e),()=>{clearTimeout(o)}}),[t,o]);const i=(0,a.useCallback)((()=>{clearTimeout(o),s("start")}),[o]);n&&i();return i};var a=e("react")}}},{package:"$root$",file:"ui/hooks/useTimeout.js"}],[5444,{"../../shared/modules/transaction.utils":4560,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useTokenData=function(e,t=!0){return(0,a.useMemo)((()=>t&&e?(0,r.parseStandardTokenTransactionData)(e):null),[t,e])};var a=e("react"),r=e("../../shared/modules/transaction.utils")}}},{package:"$root$",file:"ui/hooks/useTokenData.js"}],[5445,{"../../shared/lib/metamask-controller-utils":4526,"../../shared/lib/transactions-controller-utils":4531,"./useTokenData":5444,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useTokenDisplayValue=function(e,t,n=!0){const i=(0,s.useTokenData)(e,n),l=(0,r.getTokenValueParam)(i),c=Boolean(n&&e&&t&&null!==t.decimals&&t.decimals!==undefined&&l);return(0,a.useMemo)((()=>c?(0,o.calcTokenAmount)(l,t.decimals).toString(10):null),[c,l,t])};var a=e("react"),r=e("../../shared/lib/metamask-controller-utils"),o=e("../../shared/lib/transactions-controller-utils"),s=e("./useTokenData")}}},{package:"$root$",file:"ui/hooks/useTokenDisplayValue.js"}],[5446,{"../../shared/modules/string-utils":4558,"../ducks/metamask/metamask":5346,"../helpers/utils/token-util":5396,"../selectors":5987,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useTokenFiatAmount=function(e,t,n,c={},u){const d=(0,r.useSelector)(o.getTokenExchangeRates,r.shallowEqual),p=(0,r.useSelector)(o.getConfirmationExchangeRates),f={...d,...p},m=(0,r.useSelector)(i.getConversionRate),g=(0,r.useSelector)(o.getCurrentCurrency),h=(0,r.useSelector)(o.getShouldShowFiat),y=c.showFiat??h,v=Object.keys(f).find((t=>(0,l.isEqualCaseInsensitive)(t,e))),b=c.exchangeRate??(v&&f[v]),T=(0,a.useMemo)((()=>(0,s.getTokenFiatAmount)(b,m,g,t,n,!0,u)),[b,m,g,t,n,u]);if(!y||g.toUpperCase()===n)return undefined;return T};var a=e("react"),r=e("react-redux"),o=e("../selectors"),s=e("../helpers/utils/token-util"),i=e("../ducks/metamask/metamask"),l=e("../../shared/modules/string-utils")}}},{package:"$root$",file:"ui/hooks/useTokenFiatAmount.js"}],[5447,{"../../shared/constants/time":4518,"../../shared/modules/string-utils":4558,"../selectors":5987,"./useEqualityCheck":5422,"@metamask/eth-token-tracker":1349,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useTokenTracker=function({tokens:e,address:t,includeFailedTokens:n=!1,hideZeroBalanceTokens:a=!1}){const d=(0,s.useSelector)(i.getCurrentChainId),{address:p}=(0,s.useSelector)(i.getSelectedInternalAccount,s.shallowEqual),f=t??p,[m,g]=(0,r.useState)((()=>(null==e?void 0:e.length)>=0)),[h,y]=(0,r.useState)([]),[v,b]=(0,r.useState)(null),T=(0,r.useRef)(null),_=(0,u.useEqualityCheck)(e),k=(0,r.useCallback)((e=>{const t=(a?e.filter((e=>Number(e.balance)>0)):e).map((e=>{const t=_.find((t=>(0,c.isEqualCaseInsensitive)(t.address,e.address)));return{...e,isERC721:null==t?void 0:t.isERC721,image:null==t?void 0:t.image}}));y(t),g(!1),b(null)}),[a,_]),x=(0,r.useCallback)((e=>{b(e),g(!1)}),[]),E=(0,r.useCallback)((()=>{T.current&&(T.current.stop(),T.current.removeAllListeners("update"),T.current.removeAllListeners("error"),T.current=null)}),[]),w=(0,r.useCallback)(((e,t)=>{E(),T.current=new o.default({userAddress:e,provider:global.ethereumProvider,tokens:t,includeFailedTokens:n,pollingInterval:8*l.SECOND,balanceDecimals:5}),T.current.on("update",k),T.current.on("error",x),T.current.updateBalances()}),[k,n,x,E]);return(0,r.useEffect)((()=>E),[E]),(0,r.useEffect)((()=>{g(!0),f&&d!==undefined&&global.ethereumProvider?(0===_.length&&k([]),w(f,_)):E()}),[f,E,d,_,k,w]),{loading:m,tokensWithBalances:h,error:v}};var a,r=e("react"),o=(a=e("@metamask/eth-token-tracker"))&&a.__esModule?a:{default:a},s=e("react-redux"),i=e("../selectors"),l=e("../../shared/constants/time"),c=e("../../shared/modules/string-utils"),u=e("./useEqualityCheck")}}},{package:"$root$",file:"ui/hooks/useTokenTracker.js"}],[5448,{"../../shared/constants/network":4507,"../../shared/constants/swaps":4516,"../../shared/modules/hexstring-utils":4544,"../../shared/modules/swaps.utils":4559,"../ducks/metamask/metamask":5346,"../ducks/swaps/swaps":5351,"../helpers/utils/token-util":5396,"../selectors":5987,"./useEqualityCheck":5422,"@metamask/assets-controllers":1143,"bignumber.js":2933,lodash:3836,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.getRenderableTokenData=v,n.useTokensToSearch=function({usersTokens:e=[],topTokens:t={},shuffledTokensList:n,tokenBucketPriority:a=g.TokenBucketPriority.owned}){const l=(0,o.useSelector)(u.getCurrentChainId),c=(0,o.useSelector)(u.getTokenExchangeRates,i.isEqual),m=(0,o.useSelector)(d.getConversionRate),h=(0,o.useSelector)(u.getCurrentCurrency),b=(0,o.useSelector)(u.getSwapsDefaultToken,o.shallowEqual),T=(0,o.useSelector)(u.getTokenList,i.isEqual),_=(0,y.useEqualityCheck)(t),k=(0,y.useEqualityCheck)(e),x=v(b,c,m,h,l,T),E=(0,y.useEqualityCheck)(x),w=(0,o.useSelector)(p.getSwapsTokens,i.isEqual)||[],C=w.length?w:[E,...n.filter((e=>e.symbol!==E.symbol))],S=(0,y.useEqualityCheck)(C);return(0,r.useMemo)((()=>{const e=k.reduce(((e,t)=>({...e,[t.address.toLowerCase()]:t})),{}),t={owned:[],top:[],others:[]};return(0,i.uniqBy)([E,...S,...k],(e=>e.address.toLowerCase())).forEach((n=>{const r=v({...e[n.address.toLowerCase()],...n},c,m,h,l,T);a===g.TokenBucketPriority.owned?(0,f.isSwapsDefaultTokenSymbol)(r.symbol,l)||e[n.address.toLowerCase()]?t.owned.push(r):_[n.address.toLowerCase()]?t.top[_[n.address.toLowerCase()].index]=r:t.others.push(r):_[n.address.toLowerCase()]?t.top[_[n.address.toLowerCase()].index]=r:(0,f.isSwapsDefaultTokenSymbol)(r.symbol,l)||e[n.address.toLowerCase()]?t.owned.push(r):t.others.push(r)})),t.owned=t.owned.sort((({rawFiat:e},{rawFiat:t})=>new s.default(e||0).gt(t||0)?-1:1)),t.top=t.top.filter(Boolean),a===g.TokenBucketPriority.owned?[...t.owned,...t.top,...t.others]:[...t.top,...t.owned,...t.others]}),[S,k,_,c,m,h,E,l,T,a])};var a,r=e("react"),o=e("react-redux"),s=(a=e("bignumber.js"))&&a.__esModule?a:{default:a},i=e("lodash"),l=e("@metamask/assets-controllers"),c=e("../helpers/utils/token-util"),u=e("../selectors"),d=e("../ducks/metamask/metamask"),p=e("../ducks/swaps/swaps"),f=e("../../shared/modules/swaps.utils"),m=e("../../shared/modules/hexstring-utils"),g=e("../../shared/constants/swaps"),h=e("../../shared/constants/network"),y=e("./useEqualityCheck");function v(e,t,n,a,r,o){var i,u;const{symbol:d,name:p,address:g,iconUrl:y,string:v,balance:b,decimals:T}=e;let _;(0,f.isSwapsDefaultTokenSymbol)(d,r)?_=1:v&&n>0&&(_=t[(0,m.toChecksumHexAddress)(g)]);const k=(0,c.getTokenFiatAmount)(_,n,a,v,d,!0)||"",x=k?(0,c.getTokenFiatAmount)(_,n,a,v,d,!1):"",E=r===h.CHAIN_IDS.SEPOLIA?h.CHAIN_IDS.MAINNET:r,w=(d===h.CURRENCY_SYMBOLS.ETH&&r===h.CHAIN_IDS.MAINNET||d===h.CURRENCY_SYMBOLS.ETH&&r===h.CHAIN_IDS.SEPOLIA||d===h.CURRENCY_SYMBOLS.BNB&&r===h.CHAIN_IDS.BSC||d===h.CURRENCY_SYMBOLS.MATIC&&r===h.CHAIN_IDS.POLYGON||d===h.CURRENCY_SYMBOLS.AVALANCHE&&r===h.CHAIN_IDS.AVALANCHE||d===h.CURRENCY_SYMBOLS.ETH&&r===h.CHAIN_IDS.OPTIMISM||d===h.CURRENCY_SYMBOLS.ETH&&r===h.CHAIN_IDS.ARBITRUM||d===h.CURRENCY_SYMBOLS.ETH&&r===h.CHAIN_IDS.LINEA_MAINNET||d===h.CURRENCY_SYMBOLS.ETH&&r===h.CHAIN_IDS.ZKSYNC_ERA||d===h.CURRENCY_SYMBOLS.ETH&&r===h.CHAIN_IDS.BASE?y:(0,l.formatIconUrlWithProxy)({chainId:E,tokenAddress:g||""}))||(null==e?void 0:e.image);return{...e,primaryLabel:d,secondaryLabel:p||(null===(i=o[null==g?void 0:g.toLowerCase()])||void 0===i?void 0:i.name),rightPrimaryLabel:v&&`${new s.default(v).round(6).toString()} ${d}`,rightSecondaryLabel:k,iconUrl:w,identiconAddress:w?null:g,balance:b,decimals:T,name:p||(null===(u=o[null==g?void 0:g.toLowerCase()])||void 0===u?void 0:u.name),rawFiat:x}}}}},{package:"$root$",file:"ui/hooks/useTokensToSearch.js"}],[5449,{"../../shared/constants/transaction":4520,"../../shared/lib/metamask-controller-utils":4526,"../../shared/modules/string-utils":4558,"../ducks/metamask/metamask":5346,"../helpers/constants/common":5353,"../helpers/constants/transactions":5367,"../helpers/utils/common.util":5380,"../helpers/utils/token-util":5396,"../helpers/utils/transactions.util":5397,"../helpers/utils/util":5399,"../selectors/selectors":5994,"../store/actions":5998,"./useCurrencyDisplay":5418,"./useCurrentAsset":5420,"./useI18nContext":5427,"./useSwappedTokenValue":5441,"./useTokenData":5444,"./useTokenDisplayValue":5445,"./useTokenFiatAmount":5446,"./useUserPreferencedCurrency":5452,"@metamask/transaction-controller":2234,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useTransactionDisplayData=function(e){var t,n,S,P,M,I,O,N;const j=(0,a.useDispatch)(),D=(0,w.useCurrentAsset)(),A=(0,a.useSelector)(f.getTokens),F=(0,a.useSelector)(f.getNfts),R=(0,a.useSelector)(s.getDetectedTokensInCurrentNetwork)||[],B=(0,a.useSelector)(s.getTokenList),L=(0,v.useI18nContext)(),{initialTransaction:$,primaryTransaction:G}=e,{type:W}=$,{from:q,to:U}=$.txParams||{},V=(0,a.useSelector)((e=>{var t;return(0,s.getKnownMethodData)(e,null==$||null===(t=$.txParams)||void 0===t?void 0:t.data)}))||{},H=(0,i.getStatusKey)(G),z=H in p.PENDING_STATUS_HASH,Y=H===o.TransactionStatus.submitted,K=(0,r.useRef)(!0),J=null===(t=G.txParams)||void 0===t?void 0:t.value,X=(0,d.formatDateWithYearContext)($.time);let Z,Q="-",ee=!1,te=U;const ne=p.TOKEN_CATEGORY_HASH[W];let ae=null;const[re,oe]=(0,r.useState)(null);ne&&(ae=A.find((({address:e})=>(0,h.isEqualCaseInsensitive)(e,te)))||R.find((({address:e})=>(0,h.isEqualCaseInsensitive)(e,te)))||B[te.toLowerCase()]);(0,r.useEffect)((()=>()=>{K.current=!1}),[]),(0,r.useEffect)((()=>{!async function(){if(ne&&!ae){var e;const t=await(0,u.getAssetDetails)(U,q,null==$||null===(e=$.txParams)||void 0===e?void 0:e.data,F);!0===K.current&&oe(t)}}()}),[ne,ae,te,q,null==$||null===(n=$.txParams)||void 0===n?void 0:n.data,F,U,K]),re&&(ae={address:re.toAddress,symbol:re.symbol,decimals:re.decimals});const se=(0,x.useTokenData)(null==$||null===(S=$.txParams)||void 0===S?void 0:S.data,ne),ie=(0,u.getTokenIdParam)(se)??(0,y.getTokenValueParam)(se),le=ne&&F.find((({address:e,tokenId:t})=>(0,h.isEqualCaseInsensitive)(e,te)&&t===ie)),ce=(0,k.useTokenDisplayValue)(null==G||null===(P=G.txParams)||void 0===P?void 0:P.data,ae,ne),ue=(0,b.useTokenFiatAmount)(null===(M=ae)||void 0===M?void 0:M.address,ce,null===(I=ae)||void 0===I?void 0:I.symbol),de=(0,d.stripHttpSchemes)($.origin||(null===(O=$.msgParams)||void 0===O?void 0:O.origin)||"");let pe,fe,me=ne?null===(N=ae)||void 0===N?void 0:N.symbol:undefined,ge=ne?ce:undefined,he=ne?ue:undefined;const{swapTokenValue:ye,isNegative:ve,swapTokenFiatAmount:be,isViewingReceivedTokenFromSwap:Te}=(0,E.useSwappedTokenValue)(e,D);if(C.includes(W))pe=m.TransactionGroupCategory.signatureRequest,fe=L("signatureRequest"),Z=de,ee=!0;else if(W===o.TransactionType.swap)pe=m.TransactionGroupCategory.swap,fe=L("swapTokenToToken",[$.sourceTokenSymbol,$.destinationTokenSymbol]),Z=de,ee=!0,me=Te?D.symbol:$.sourceTokenSymbol,ge=ye,he=be,Q=ve?"":Te?"+":"-";else if(W===o.TransactionType.swapAndSend){const e=$.swapAndSendRecipient===q;te=$.swapAndSendRecipient,pe=m.TransactionGroupCategory.swapAndSend,fe=L("sendTokenAsToken",[$.sourceTokenSymbol,$.destinationTokenSymbol]),Z=de,ee=!0,me=Te&&e?D.symbol:$.sourceTokenSymbol,ge=ye,he=be,Q=ve?"":Te&&e?"+":"-"}else if(W===o.TransactionType.swapApproval)pe=m.TransactionGroupCategory.approval,fe=L("swapApproval",[G.sourceTokenSymbol]),Z=de,ee=!0,me=G.sourceTokenSymbol;else if(W===o.TransactionType.tokenMethodApprove){var _e;pe=m.TransactionGroupCategory.approval,Q="",fe=L("approveSpendingCap",[(null===(_e=ae)||void 0===_e?void 0:_e.symbol)||L("token").toLowerCase()]),Z=de,ee=!0}else if(W===o.TransactionType.tokenMethodSetApprovalForAll){var ke;pe=m.TransactionGroupCategory.approval,Q="",fe=L("setApprovalForAllTitle",[(null===(ke=ae)||void 0===ke?void 0:ke.symbol)||L("token")]),Z=de,ee=!0}else if(W===o.TransactionType.tokenMethodIncreaseAllowance){var xe;pe=m.TransactionGroupCategory.approval,Q="",fe=L("approveIncreaseAllowance",[(null===(xe=ae)||void 0===xe?void 0:xe.symbol)||L("token")]),Z=de,ee=!0}else if(W===o.TransactionType.contractInteraction){pe=m.TransactionGroupCategory.interaction;const e=(0,i.getTransactionTypeTitle)(L,W);fe=(null==V?void 0:V.name)&&(0,l.camelCaseToCapitalize)(V.name)||e,Z=de,ee=!0}else if(W===o.TransactionType.deployContract)pe=m.TransactionGroupCategory.interaction,fe=(0,i.getTransactionTypeTitle)(L,W),Z=de,ee=!0;else if(W===o.TransactionType.incoming)pe=m.TransactionGroupCategory.receive,fe=L("receive"),Q="",Z=L("fromAddress",[(0,d.shortenAddress)(q)]);else if(W===o.TransactionType.tokenMethodTransferFrom||W===o.TransactionType.tokenMethodTransfer){var Ee;pe=m.TransactionGroupCategory.send,fe=L("sendSpecifiedTokens",[(null===(Ee=ae)||void 0===Ee?void 0:Ee.symbol)||(null==le?void 0:le.name)||L("token")]),te=(0,u.getTokenAddressParam)(se),Z=L("toAddress",[(0,d.shortenAddress)(te)])}else W===o.TransactionType.tokenMethodSafeTransferFrom?(pe=m.TransactionGroupCategory.send,fe=L("safeTransferFrom"),te=(0,u.getTokenAddressParam)(se),Z=L("toAddress",[(0,d.shortenAddress)(te)])):W===o.TransactionType.simpleSend?(pe=m.TransactionGroupCategory.send,fe=L("send"),Z=L("toAddress",[(0,d.shortenAddress)(te)])):j((0,g.captureSingleException)(`useTransactionDisplayData does not recognize transaction type. Type received is: ${W}`));const we=(0,T.useUserPreferencedCurrency)(c.PRIMARY),Ce=(0,T.useUserPreferencedCurrency)(c.SECONDARY),[Se]=(0,_.useCurrencyDisplay)(J,{prefix:Q,displayValue:ge,suffix:me,...we}),[Pe]=(0,_.useCurrencyDisplay)(J,{prefix:Q,displayValue:he,hideLabel:ne||Boolean(ye),...Ce});return{title:fe,category:pe,date:X,subtitle:Z,subtitleContainsOrigin:ee,primaryCurrency:W===o.TransactionType.swap&&z?"":Se,senderAddress:q,recipientAddress:te,secondaryCurrency:ne&&!ue||[o.TransactionType.swap,o.TransactionType.swapAndSend].includes(W)&&!be?undefined:Pe,displayedStatusKey:H,isPending:z,isSubmitted:Y}};var a=e("react-redux"),r=e("react"),o=e("@metamask/transaction-controller"),s=e("../selectors/selectors"),i=e("../helpers/utils/transactions.util"),l=e("../helpers/utils/common.util"),c=e("../helpers/constants/common"),u=e("../helpers/utils/token-util"),d=e("../helpers/utils/util"),p=e("../helpers/constants/transactions"),f=e("../ducks/metamask/metamask"),m=e("../../shared/constants/transaction"),g=e("../store/actions"),h=e("../../shared/modules/string-utils"),y=e("../../shared/lib/metamask-controller-utils"),v=e("./useI18nContext"),b=e("./useTokenFiatAmount"),T=e("./useUserPreferencedCurrency"),_=e("./useCurrencyDisplay"),k=e("./useTokenDisplayValue"),x=e("./useTokenData"),E=e("./useSwappedTokenValue"),w=e("./useCurrentAsset");const C=[null,undefined,o.TransactionType.sign,o.TransactionType.personalSign,o.TransactionType.signTypedData,o.TransactionType.ethDecrypt,o.TransactionType.ethGetEncryptionPublicKey]}}},{package:"$root$",file:"ui/hooks/useTransactionDisplayData.js"}],[5450,{"../../shared/modules/hexstring-utils":4544,"../components/app/snaps/snap-insight/snap-insight":4779,"../components/ui/tabs":5296,"../components/ui/tabs/snaps/dropdown-tab":5298,"../helpers/utils/util":5399,"../selectors":5987,"../store/actions":5998,"./snaps/useTransactionInsightSnaps":5412,"@metamask/transaction-controller":2234,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=g(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=e("react-redux"),s=e("@metamask/transaction-controller"),i=e("../../shared/modules/hexstring-utils"),l=e("../components/ui/tabs"),c=(a=e("../components/ui/tabs/snaps/dropdown-tab"))&&a.__esModule?a:{default:a},u=e("../components/app/snaps/snap-insight/snap-insight"),d=e("../selectors"),p=e("../store/actions"),f=e("../helpers/utils/util"),m=e("./snaps/useTransactionInsightSnaps");function g(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(g=function(e){return e?n:t})(e)}n.default=({txData:e})=>{var t;const n=(0,o.useDispatch)(),{txParams:a,chainId:g,origin:h}=e,y=`eip155:${(0,i.stripHexPrefix)(g)}`,v=(0,o.useSelector)(d.getInsightSnaps),b=(0,o.useSelector)(d.getInsightSnapIds),T=(0,o.useSelector)(d.getSnapsMetadata),_=(0,f.getSnapName)(T),[k,x]=(0,r.useState)(null===(t=v[0])||void 0===t?void 0:t.id),E={transaction:a,chainId:y,origin:h,insightSnaps:b},{data:w,loading:C,warnings:S}=(0,m.useTransactionInsightSnaps)(E);if((0,r.useEffect)((()=>{b.length>0&&!k&&x(b[0])}),[b,k,x]),(0,r.useEffect)((()=>()=>{null==w||w.map((({response:e})=>(null==e?void 0:e.id)&&n((0,p.deleteInterface)(e.id))))}),[w]),(P=e.type)!==s.TransactionType.contractInteraction&&P!==s.TransactionType.simpleSend&&P!==s.TransactionType.tokenMethodSafeTransferFrom&&P!==s.TransactionType.tokenMethodTransferFrom&&P!==s.TransactionType.tokenMethodTransfer||!v.length)return null;var P;const M=v.find((({id:e})=>e===k));let I;if(1===v.length)I=r.default.createElement(l.Tab,{className:"confirm-page-container-content__tab",name:_(M.id)},r.default.createElement(u.SnapInsight,{snapId:k,data:null==w?void 0:w[0],loading:C}));else if(v.length>1){const e=null==v?void 0:v.map((({id:e})=>({value:e,name:_(e)}))),t=null==w?void 0:w.find((e=>(null==e?void 0:e.snapId)===k));I=r.default.createElement(c.default,{className:"confirm-page-container-content__tab",options:e,selectedOption:k,onChange:e=>x(e)},r.default.createElement(u.SnapInsight,{snapId:k,loading:C,data:t}))}return{insightComponent:I,warnings:S}}}}},{package:"$root$",file:"ui/hooks/useTransactionInsights.js"}],[5451,{"../ducks/swaps/swaps":5351,"../pages/swaps/swaps.util":5967,"../selectors":5987,"../store/actions":5998,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(){const e=(0,r.useDispatch)(),t=(0,r.useSelector)(l.getCurrentChainId),n=(0,r.useSelector)(l.getIsSwapsChain),c=(0,r.useSelector)(l.checkNetworkAndAccountSupports1559),u=(0,r.useSelector)(l.getUseExternalServices);(0,a.useEffect)((()=>n&&u?((0,o.fetchTokens)(t).then((t=>{e((0,i.setSwapsTokens)(t))})).catch((e=>console.error(e))),(0,o.fetchTopAssets)(t).then((t=>{e((0,s.setTopAssets)(t))})),(0,o.fetchAggregatorMetadata)(t).then((t=>{e((0,s.setAggregatorMetadata)(t))})),c||e((0,s.fetchAndSetSwapsGasPriceInfo)()),()=>{e((0,s.prepareToLeaveSwaps)())}):undefined),[e,t,c,n,u])};var a=e("react"),r=e("react-redux"),o=e("../pages/swaps/swaps.util"),s=e("../ducks/swaps/swaps"),i=e("../store/actions"),l=e("../selectors")}}},{package:"$root$",file:"ui/hooks/useUpdateSwapsState.ts"}],[5452,{"../../shared/constants/common":4495,"../constants":5321,"../ducks/metamask/metamask":5346,"../helpers/constants/common":5353,"../selectors":5987,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useUserPreferencedCurrency=function(e,t={}){const n=(0,a.useSelector)(o.getNativeCurrency),{useNativeCurrencyAsPrimaryCurrency:c}=(0,a.useSelector)(r.getPreferences,a.shallowEqual),u=(0,a.useSelector)(r.getShouldShowFiat),d={currency:(0,a.useSelector)(r.getCurrentCurrency),numberOfDecimals:t.numberOfDecimals||t.fiatNumberOfDecimals||2},p={currency:n||i.EtherDenomination.ETH,numberOfDecimals:t.numberOfDecimals||t.ethNumberOfDecimals||l.ETH_DEFAULT_DECIMALS};if(t.showNativeOverride)return p;if(t.showFiatOverride)return d;if(!u||e===s.PRIMARY&&c||e===s.SECONDARY&&!c)return p;return d};var a=e("react-redux"),r=e("../selectors"),o=e("../ducks/metamask/metamask"),s=e("../helpers/constants/common"),i=e("../../shared/constants/common"),l=e("../constants")}}},{package:"$root$",file:"ui/hooks/useUserPreferencedCurrency.js"}],[5453,{"../app/scripts/lib/setupSentry":109,"../app/scripts/lib/util":120,"../shared/constants/alerts":4492,"../shared/constants/app":4493,"../shared/constants/copy":4496,"../shared/lib/error-utils":4524,"../shared/lib/switch-direction":4529,"../shared/modules/object.utils":4549,"./ducks/alerts":5333,"./ducks/metamask/metamask":5346,"./helpers/utils/tx-helper":5398,"./pages":5751,"./selectors":5987,"./store/actions":5998,"./store/background-connection":5999,"./store/store":6e3,"copy-to-clipboard":3087,lodash:3836,loglevel:3842,react:4243,"react-dom":4074,"webextension-polyfill":4472},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e,t){const{backgroundConnection:n}=e;let a=!1;n.getDesktopEnabled((function(e,t){e||(a=t)})),n.getState((function(r,l){r?t(r,{...l,desktopEnabled:a},n):async function(e,t,n){e.featureFlags||(e.featureFlags={});const{currentLocaleMessages:a,enLocaleMessages:r}=await(0,h.setupLocale)(e.currentLocale);"rtl"===e.textDirection&&(0,g.default)("rtl");const o={activeTab:n.activeTab,metamask:e,appState:{},localeMessages:{currentLocale:e.currentLocale,current:a,en:r}};if(P(t),(0,c.getEnvironmentType)()===f.ENVIRONMENT_TYPE_POPUP){var l;const{origin:e}=o.activeTab,t=(0,b.getPermittedAccountsForCurrentTab)(o),n=(null===(l=(0,b.getSelectedInternalAccount)(o))||void 0===l?void 0:l.address)??"",a=(0,_.getUnconnectedAccountAlertShown)(o),r=(0,_.getUnconnectedAccountAlertEnabledness)(o);e&&r&&!a[e]&&t.length>0&&!t.includes(n)&&(o[u.AlertTypes.unconnectedAccount]={state:T.ALERT_STATE.OPEN},y.setUnconnectedAccountAlertShown(e))}const d=(0,v.default)(o);S=d;const p=(0,b.getUnapprovedTransactions)(e),m=(0,x.default)(p,e.unapprovedMsgs,e.unapprovedPersonalMsgs,e.unapprovedDecryptMsgs,e.unapprovedEncryptionPublicKeyMsgs,e.unapprovedTypedMessages,e.networkId,e.providerConfig.chainId);m.length>0&&d.dispatch(y.showConfTxPage({id:m[0].id}));global.metamask={updateCurrentLocale:e=>{d.dispatch(y.updateCurrentLocale(e))},setProviderType:e=>{d.dispatch(y.setProviderType(e))},setFeatureFlag:(e,t)=>{d.dispatch(y.setFeatureFlag(e,t))}};const E=d.getState(),w=(0,b.getNetworkToAutomaticallySwitchTo)(E);w?await d.dispatch(y.automaticallySwitchNetwork(w,(0,b.getOriginOfCurrentTab)(E))):(0,b.getSwitchedNetworkDetails)(E)&&await d.dispatch(y.clearSwitchedNetworkDetails());if((0,b.getUseRequestQueue)(E)&&(0,c.getEnvironmentType)()===f.ENVIRONMENT_TYPE_POPUP){const e=Date.now();global.metamask.id=e,await d.dispatch(y.setCurrentExtensionPopupId(e))}return(0,i.render)(s.default.createElement(k.default,{store:d}),n.container),d}(l,n,e).then((e=>{!function(e){0;window.stateHooks.getCleanAppState=async function(){const t=(0,o.clone)(e.getState());return t.version=global.platform.getVersion(),t.browser=window.navigator.userAgent,t.completeTxList=await y.getTransactions({filterToCurrentNetwork:!1}),t},window.stateHooks.getSentryAppState=function(){const t=e.getState();return(0,d.maskObject)(t,p.SENTRY_UI_STATE)},window.stateHooks.getLogs=function(){const t=e.getState(),{logs:n}=t.metamask;return Object.values(n).sort(((e,t)=>e.timestamp-t.timestamp))}}(e),t(null,e,n)}))}))},n.updateBackgroundConnection=void 0;var a=C(e("copy-to-clipboard")),r=C(e("loglevel")),o=e("lodash"),s=C(e("react")),i=e("react-dom"),l=C(e("webextension-polyfill")),c=e("../app/scripts/lib/util"),u=e("../shared/constants/alerts"),d=e("../shared/modules/object.utils"),p=e("../app/scripts/lib/setupSentry"),f=e("../shared/constants/app"),m=e("../shared/constants/copy"),g=C(e("../shared/lib/switch-direction")),h=e("../shared/lib/error-utils"),y=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=w(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("./store/actions")),v=C(e("./store/store")),b=e("./selectors"),T=e("./ducks/alerts"),_=e("./ducks/metamask/metamask"),k=C(e("./pages")),x=C(e("./helpers/utils/tx-helper")),E=e("./store/background-connection");function w(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(w=function(e){return e?n:t})(e)}function C(e){return e&&e.__esModule?e:{default:e}}let S;r.default.setLevel(global.METAMASK_DEBUG?"debug":"warn",!1);const P=e=>{(0,E.setBackgroundConnection)(e),e.onNotification((e=>{if("sendUpdate"!==e.method)throw new Error(`Internal JSON-RPC Notification Not Handled:\n\n ${JSON.stringify(e)}`);S.dispatch(y.updateMetamaskState(e.params[0]))}))};n.updateBackgroundConnection=P,window.logStateString=async function(e){const t=await window.stateHooks.getCleanAppState(),n=window.stateHooks.getLogs();l.default.runtime.getPlatformInfo().then((a=>{t.platform=a,t.logs=n;const r=JSON.stringify(t,null,2);e(null,r)})).catch((t=>{e(t)}))},window.logState=function(e){return window.logStateString(((t,n)=>{t?console.error(t.message):e?((0,a.default)(n,m.COPY_OPTIONS),console.log("State log copied")):console.log(n)}))}}}},{package:"$root$",file:"ui/index.js"}],[5454,{"../../../shared/modules/string-utils":4558,"../../components/app/nft-details/nft-details":4718,"../../ducks/metamask/metamask":5346,"../../helpers/constants/routes":5361,"./components/native-asset":5458,"./components/token-asset":5459,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=e("react-redux"),o=e("react-router-dom"),s=e("../../../shared/modules/string-utils"),i=p(e("../../components/app/nft-details/nft-details")),l=e("../../ducks/metamask/metamask"),c=e("../../helpers/constants/routes"),u=p(e("./components/native-asset")),d=p(e("./components/token-asset"));function p(e){return e&&e.__esModule?e:{default:e}}function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}n.default=()=>{const e=(0,r.useSelector)(l.getNativeCurrency),t=(0,r.useSelector)(l.getTokens),n=(0,r.useSelector)(l.getNfts),{asset:p,id:f}=(0,o.useParams)(),m=t.find((({address:e})=>(0,s.isEqualCaseInsensitive)(e,p))),g=n.find((({address:e,tokenId:t})=>(0,s.isEqualCaseInsensitive)(e,p)&&f===t.toString()));let h;return(0,a.useEffect)((()=>{document.querySelector(".app").scroll(0,0)}),[]),h=g?a.default.createElement(i.default,{nft:g}):m?a.default.createElement(d.default,{token:m}):p===e?a.default.createElement(u.default,{nativeCurrency:e}):a.default.createElement(o.Redirect,{to:{pathname:c.DEFAULT_ROUTE}}),a.default.createElement("div",{className:"main-container asset__container"},h)}}}},{package:"$root$",file:"ui/pages/asset/asset.js"}],[5455,{"../../../components/component-library":4955,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=s(e("react")),r=s(e("prop-types")),o=e("../../../components/component-library");function s(e){return e&&e.__esModule?e:{default:e}}const i=({accountName:e,assetName:t,onBack:n})=>a.default.createElement("button",{className:"asset-breadcrumb",onClick:n},a.default.createElement(o.Icon,{name:o.IconName.ArrowLeft,"data-testid":"asset__back",marginInlineEnd:3,size:o.IconSize.Xs}),a.default.createElement("span",null,e)," / ",a.default.createElement("span",{className:"asset-breadcrumb__asset"},t));i.propTypes={accountName:r.default.string.isRequired,assetName:r.default.string.isRequired,onBack:r.default.func.isRequired};n.default=i}}},{package:"$root$",file:"ui/pages/asset/components/asset-breadcrumb.js"}],[5456,{"./asset-breadcrumb":5455,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=s(e("react")),r=s(e("prop-types")),o=s(e("./asset-breadcrumb"));function s(e){return e&&e.__esModule?e:{default:e}}const i=({accountName:e,assetName:t,onBack:n,optionsButton:r})=>a.default.createElement("div",{className:"asset-navigation"},a.default.createElement(o.default,{accountName:e,assetName:t,onBack:n}),r);i.propTypes={accountName:r.default.string.isRequired,assetName:r.default.string.isRequired,onBack:r.default.func.isRequired,optionsButton:r.default.element};n.default=i}}},{package:"$root$",file:"ui/pages/asset/components/asset-navigation.js"}],[5457,{"../../../components/component-library":4955,"../../../components/ui/menu":5264,"../../../contexts/i18n":5324,"../../../helpers/constants/design-system":5355,"../../../helpers/constants/routes":5361,"../../../selectors":5987,"prop-types":3997,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=m(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=(a=e("prop-types"))&&a.__esModule?a:{default:a},s=e("react-router-dom"),i=e("react-redux"),l=e("../../../contexts/i18n"),c=e("../../../components/ui/menu"),u=e("../../../selectors"),d=e("../../../helpers/constants/routes"),p=e("../../../components/component-library"),f=e("../../../helpers/constants/design-system");function m(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(m=function(e){return e?n:t})(e)}const g=({onRemove:e,onClickBlockExplorer:t,onViewTokenDetails:n,tokenSymbol:a,isNativeAsset:o})=>{const m=(0,r.useContext)(l.I18nContext),[g,h]=(0,r.useState)(!1),y=(0,s.useHistory)(),v=(0,i.useSelector)(u.getBlockExplorerLinkText),b=(0,r.useRef)(!1);return r.default.createElement("div",{ref:b},r.default.createElement(p.ButtonIcon,{className:"asset-options__button","data-testid":"asset-options__button",onClick:()=>h(!0),ariaLabel:m("assetOptions"),iconName:p.IconName.MoreVertical,color:f.Color.textDefault,size:p.ButtonIconSize.Sm}),g?r.default.createElement(c.Menu,{anchorElement:b.current,onHide:()=>h(!1)},r.default.createElement(c.MenuItem,{iconName:p.IconName.Export,"data-testid":"asset-options__etherscan",onClick:"addBlockExplorer"===v.firstPart?()=>{y.push(`${d.NETWORKS_ROUTE}#blockExplorerUrl`)}:()=>{h(!1),t()}},m(v.firstPart,""===v.secondPart?null:[m("blockExplorerAssetAction")])),o?null:r.default.createElement(c.MenuItem,{iconName:p.IconName.Trash,"data-testid":"asset-options__hide",onClick:()=>{h(!1),e()}},m("hideTokenSymbol",[a])),o?null:r.default.createElement(c.MenuItem,{iconName:p.IconName.Info,"data-testid":"asset-options__token-details",onClick:()=>{h(!1),n()}},m("tokenDetails"))):null)},h=e=>"function"!=typeof e;g.propTypes={isNativeAsset:o.default.bool,onClickBlockExplorer:o.default.func.isRequired,onRemove:e=>{if(!1===e.isNativeAsset&&h(e.onRemove))throw new Error("When isNativeAsset is true, onRemove is a required prop")},onViewTokenDetails:e=>{if(!1===e.isNativeAsset&&h(e.onViewTokenDetails))throw new Error("When isNativeAsset is true, onViewTokenDetails is a required prop")},tokenSymbol:e=>{if(!1===e.isNativeAsset&&"string"!=typeof e.tokenSymbol)throw new Error("When isNativeAsset is true, tokenSymbol is a required prop")}};n.default=g}}},{package:"$root$",file:"ui/pages/asset/components/asset-options.js"}],[5458,{"../../../../shared/constants/metametrics":4505,"../../../components/app/transaction-list":4877,"../../../components/app/wallet-overview":4883,"../../../contexts/metametrics":5327,"../../../helpers/constants/routes":5361,"../../../helpers/utils/util":5399,"../../../selectors/selectors":5994,"./asset-navigation":5456,"./asset-options":5457,"@metamask/etherscan-link":1369,"prop-types":3997,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=b;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=v(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=y(e("prop-types")),o=e("react-redux"),s=e("react-router-dom"),i=e("@metamask/etherscan-link"),l=y(e("../../../components/app/transaction-list")),c=e("../../../components/app/wallet-overview"),u=e("../../../selectors/selectors"),d=e("../../../helpers/constants/routes"),p=e("../../../helpers/utils/util"),f=e("../../../contexts/metametrics"),m=e("../../../../shared/constants/metametrics"),g=y(e("./asset-navigation")),h=y(e("./asset-options"));function y(e){return e&&e.__esModule?e:{default:e}}function v(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(v=function(e){return e?n:t})(e)}function b({nativeCurrency:e}){const{name:t,address:n}=(0,o.useSelector)(u.getSelectedInternalAccount),r=(0,o.useSelector)(u.getCurrentChainId),y=(0,o.useSelector)(u.getRpcPrefsForCurrentProvider),v=(0,s.useHistory)(),b=(0,i.getAccountLink)(n,r,y),T=(0,a.useContext)(f.MetaMetricsContext),_=(0,o.useSelector)(u.getIsCustomNetwork);return a.default.createElement(a.default.Fragment,null,a.default.createElement(g.default,{accountName:t,assetName:e,onBack:()=>v.push(d.DEFAULT_ROUTE),optionsButton:a.default.createElement(h.default,{isNativeAsset:!0,onClickBlockExplorer:()=>{T({event:"Clicked Block Explorer Link",category:m.MetaMetricsEventCategory.Navigation,properties:{link_type:"Account Tracker",action:"Asset Options",block_explorer_domain:(0,p.getURLHostName)(b)}}),global.platform.openTab({url:b})},isCustomNetwork:_})}),a.default.createElement(c.EthOverview,{className:"asset__overview",showAddress:!1}),a.default.createElement(l.default,{hideTokenTransactions:!0}))}b.propTypes={nativeCurrency:r.default.string.isRequired}}}},{package:"$root$",file:"ui/pages/asset/components/native-asset.js"}],[5459,{"../../../../shared/constants/metametrics":4505,"../../../components/app/transaction-list":4877,"../../../components/app/wallet-overview":4883,"../../../contexts/metametrics":5327,"../../../helpers/constants/routes":5361,"../../../helpers/utils/util":5399,"../../../selectors/selectors":5994,"../../../store/actions":5998,"./asset-navigation":5456,"./asset-options":5457,"@metamask/etherscan-link":1369,"prop-types":3997,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=T;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=b(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=v(e("prop-types")),o=e("react-redux"),s=e("react-router-dom"),i=e("@metamask/etherscan-link"),l=v(e("../../../components/app/transaction-list")),c=e("../../../components/app/wallet-overview"),u=e("../../../selectors/selectors"),d=e("../../../helpers/constants/routes"),p=e("../../../helpers/utils/util"),f=e("../../../store/actions"),m=e("../../../contexts/metametrics"),g=e("../../../../shared/constants/metametrics"),h=v(e("./asset-navigation")),y=v(e("./asset-options"));function v(e){return e&&e.__esModule?e:{default:e}}function b(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(b=function(e){return e?n:t})(e)}function T({token:e}){const t=(0,o.useDispatch)(),n=(0,o.useSelector)(u.getCurrentChainId),r=(0,o.useSelector)(u.getRpcPrefsForCurrentProvider),v=(0,o.useSelector)(u.getSelectedInternalAccount),b=v.metadata.name,T=v.address,_=(0,s.useHistory)(),k=(0,i.getTokenTrackerLink)(e.address,n,null,T,r),x=(0,a.useContext)(m.MetaMetricsContext),E=(0,o.useSelector)(u.getIsCustomNetwork);return a.default.createElement(a.default.Fragment,null,a.default.createElement(h.default,{accountName:b,assetName:e.symbol,onBack:()=>_.push(d.DEFAULT_ROUTE),optionsButton:a.default.createElement(y.default,{onRemove:()=>t((0,f.showModal)({name:"HIDE_TOKEN_CONFIRMATION",token:e,history:_})),isCustomNetwork:E,onClickBlockExplorer:()=>{x({event:"Clicked Block Explorer Link",category:g.MetaMetricsEventCategory.Navigation,properties:{link_type:"Token Tracker",action:"Token Options",block_explorer_domain:(0,p.getURLHostName)(k)}}),global.platform.openTab({url:k})},onViewTokenDetails:()=>{_.push(`${d.TOKEN_DETAILS}/${e.address}`)},tokenSymbol:e.symbol})}),a.default.createElement(c.TokenOverview,{className:"asset__overview",token:e}),a.default.createElement(l.default,{tokenAddress:e.address}))}T.propTypes={token:r.default.shape({address:r.default.string.isRequired,decimals:r.default.number,symbol:r.default.string}).isRequired}}}},{package:"$root$",file:"ui/pages/asset/components/token-asset.js"}],[5460,{"./asset":5454},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./asset"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/asset/index.js"}],[5461,{"../../../shared/constants/metametrics":4505,"../../../shared/constants/network":4507,"../../../shared/constants/transaction":4520,"../../components/app/network-account-balance-header/network-account-balance-header":4713,"../../components/app/nft-default-image/nft-default-image":4716,"../../components/component-library":4955,"../../components/ui/page-container":5275,"../../components/ui/site-origin/site-origin":5293,"../../contexts/i18n":5324,"../../contexts/metametrics":5327,"../../ducks/history/history":5343,"../../helpers/constants/common":5353,"../../helpers/constants/design-system":5355,"../../helpers/utils/util":5399,"../../hooks/useCurrencyDisplay":5418,"../../hooks/useOriginMetadata":5433,"../../hooks/useUserPreferencedCurrency":5452,"../../selectors":5987,"../../store/actions":5998,"@metamask/etherscan-link":1369,classnames:3049,"eth-rpc-errors":3257,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=M(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=e("react-redux"),o=e("react-router-dom"),s=e("eth-rpc-errors"),i=e("@metamask/etherscan-link"),l=P(e("classnames")),c=e("../../components/ui/page-container"),u=e("../../contexts/i18n"),d=e("../../contexts/metametrics"),p=e("../../ducks/history/history"),f=e("../../store/actions"),m=e("../../../shared/constants/metametrics"),g=e("../../../shared/constants/transaction"),h=e("../../components/component-library"),y=e("../../selectors"),v=P(e("../../components/app/nft-default-image/nft-default-image")),b=e("../../helpers/utils/util"),T=e("../../helpers/constants/design-system"),_=P(e("../../components/app/network-account-balance-header/network-account-balance-header")),k=e("../../../shared/constants/network"),x=P(e("../../components/ui/site-origin/site-origin")),E=e("../../helpers/constants/common"),w=e("../../hooks/useUserPreferencedCurrency"),C=e("../../hooks/useCurrencyDisplay"),S=e("../../hooks/useOriginMetadata");function P(e){return e&&e.__esModule?e:{default:e}}function M(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(M=function(e){return e?n:t})(e)}n.default=()=>{var e;const t=(0,a.useContext)(u.I18nContext),n=(0,r.useDispatch)(),P=(0,o.useHistory)(),M=(0,r.useSelector)(p.getMostRecentOverviewPage),I=(0,r.useSelector)(y.getSuggestedNfts).sort(((e,t)=>e.requestData.asset.tokenId-t.requestData.asset.tokenId)),O=(0,r.useSelector)(y.getRpcPrefsForCurrentProvider),N=(0,r.useSelector)(y.getCurrentChainId),j=(0,r.useSelector)(y.getIpfsGateway),D=(0,a.useContext)(d.MetaMetricsContext),A=(0,r.useSelector)(y.getNetworkIdentifier),{address:F}=(0,r.useSelector)(y.getSelectedInternalAccount),R=(0,r.useSelector)(y.getSelectedAccountCachedBalance),B=(0,r.useSelector)((e=>(0,y.getAddressBookEntryOrAccountName)(e,F))),L=k.NETWORK_TO_NAME_MAP[N]||A,{currency:$,numberOfDecimals:G}=(0,w.useUserPreferencedCurrency)(E.PRIMARY,{ethNumberOfDecimals:4}),[W]=(0,C.useCurrencyDisplay)(R,{numberOfDecimals:G,currency:$}),q=(0,S.useOriginMetadata)(null===(e=I[0])||void 0===e?void 0:e.origin)||{},U=(0,a.useCallback)((async()=>{await Promise.all(I.map((async({requestData:{asset:e},id:t})=>{await n((0,f.resolvePendingApproval)(t,null)),D({event:m.MetaMetricsEventName.NftAdded,category:m.MetaMetricsEventCategory.Wallet,sensitiveProperties:{token_contract_address:e.address,token_symbol:e.symbol,token_id:e.tokenId,token_standard:e.standard,asset_type:g.AssetType.NFT,source:m.MetaMetricsTokenEventSource.Dapp}})}))),P.push(M)}),[n,P,D,M,I]),V=(0,a.useCallback)((async()=>{await Promise.all(I.map((async({id:e})=>n((0,f.rejectPendingApproval)(e,(0,s.serializeError)(s.ethErrors.provider.userRejectedRequest())))))),P.push(M)}),[n,P,M,I]);let H,z;if((0,a.useEffect)((()=>{I.length||P.push(M)}),[P,M,I]),I.length)try{const e=new URL(I[0].origin);H=e.host,z=e.href}catch{H="dapp"}return a.default.createElement(h.Box,{height:T.BlockSize.Full,width:T.BlockSize.Full,display:T.Display.Flex,flexDirection:T.FlexDirection.Column},a.default.createElement(h.Box,{paddingBottom:2,className:"confirm-add-suggested-nft__header"},a.default.createElement(_.default,{accountName:B,accountBalance:W,accountAddress:F,networkName:L,chainId:N}),a.default.createElement(h.Box,{paddingTop:4,paddingRight:4,paddingLeft:4,display:T.Display.Flex,justifyContent:T.JustifyContent.center},a.default.createElement(x.default,{chip:!0,siteOrigin:q.origin,title:q.origin,iconSrc:q.iconUrl,iconName:q.hostname})),a.default.createElement(h.Text,{variant:T.TextVariant.headingLg,textAlign:T.TextAlign.Center,margin:2},t("addSuggestedNFTs")),a.default.createElement(h.Text,{variant:T.TextVariant.bodyMd,textAlign:T.TextAlign.Center},t("wantsToAddThisAsset",["dapp"===H?a.default.createElement(h.Text,{key:H,variant:T.TextVariant.bodyMd,fontWeight:"bold"},H):a.default.createElement(h.ButtonLink,{key:H,size:h.BUTTON_SIZES.INHERIT,href:z,target:"_blank"},H)]))),a.default.createElement(h.Box,{className:"confirm-add-suggested-nft__content"},a.default.createElement(h.Box,{className:"confirm-add-suggested-nft__card",padding:2,borderRadius:T.BorderRadius.MD},a.default.createElement(h.Box,{className:(0,l.default)({"confirm-add-suggested-nft__nft-list":I.length>1})},I.map((({id:e,requestData:{asset:{address:t,tokenId:r,symbol:o,image:l,name:c}}})=>{const u=(0,b.getAssetImageURL)(l,j),d=(0,i.getTokenTrackerLink)(t,N,null,null,{blockExplorerUrl:(null==O?void 0:O.blockExplorerUrl)??null});return 1===I.length?a.default.createElement(h.Box,{className:"confirm-add-suggested-nft__nft-single",key:`confirm-add-suggested-nft__nft-single-${e}`,borderRadius:T.BorderRadius.MD,margin:0,padding:0},u?a.default.createElement("img",{className:"confirm-add-suggested-nft__nft-single-image",src:u,alt:c||r}):a.default.createElement(v.default,{className:"confirm-add-suggested-nft__nft-single-image-default",tokenId:r,name:c||o||(0,b.shortenAddress)(t)}),a.default.createElement(h.Box,{padding:1,display:T.Display.Flex,flexDirection:T.FlexDirection.Row,justifyContent:T.JustifyContent.spaceBetween,alignItems:T.AlignItems.Center},a.default.createElement(h.Box,{display:T.Display.Flex,flexDirection:T.FlexDirection.Column,justifyContent:T.JustifyContent.spaceEvenly,flexWrap:T.FlexWrap.NoWrap,width:T.BlockSize.Full,className:"confirm-add-suggested-nft__nft-single-sub-details"},O.blockExplorerUrl?a.default.createElement(h.ButtonLink,{className:"confirm-add-suggested-nft__nft-name",href:d,title:t,target:"_blank",size:h.BUTTON_SIZES.INHERIT},c||o||(0,b.shortenAddress)(t)):a.default.createElement(h.Text,{variant:T.TextVariant.bodyMd,className:"confirm-add-suggested-nft__nft-name",title:t},c||o||(0,b.shortenAddress)(t)),a.default.createElement(h.Text,{variant:T.TextVariant.bodyMd,color:T.TextColor.textAlternative,className:"confirm-add-suggested-nft__nft-tokenId"},"#",r)))):a.default.createElement(h.Box,{display:T.Display.Flex,flexDirection:T.FlexDirection.Row,flexWrap:T.FlexWrap.NoWrap,alignItems:T.AlignItems.Center,justifyContent:T.JustifyContent.spaceBetween,marginBottom:4,className:"confirm-add-suggested-nft__nft-list-item",key:`${t}-${r}`},a.default.createElement(h.Box,{display:T.Display.Flex,flexDirection:T.FlexDirection.Row,flexWrap:T.FlexWrap.NoWrap,alignItems:T.AlignItems.Center,justifyContent:T.JustifyContent.spaceBetween},u?a.default.createElement("img",{className:"confirm-add-suggested-nft__nft-image",src:u,alt:c||r}):a.default.createElement(v.default,{className:"confirm-add-suggested-nft__nft-image-default"}),a.default.createElement(h.Box,{display:T.Display.Flex,flexDirection:T.FlexDirection.Column,justifyContent:T.JustifyContent.spaceEvenly,flexWrap:T.FlexWrap.NoWrap,width:T.BlockSize.Full,className:"confirm-add-suggested-nft__nft-sub-details"},O.blockExplorerUrl?a.default.createElement(h.ButtonLink,{className:"confirm-add-suggested-nft__nft-name",href:d,title:t,target:"_blank",size:h.BUTTON_SIZES.INHERIT},c||o||(0,b.shortenAddress)(t)):a.default.createElement(h.Text,{variant:T.TextVariant.bodySm,className:"confirm-add-suggested-nft__nft-name",title:t},c||o||(0,b.shortenAddress)(t)),a.default.createElement(h.Text,{variant:T.TextVariant.bodySm,color:T.TextColor.textAlternative,className:"confirm-add-suggested-nft__nft-tokenId"},"#",r))),a.default.createElement(h.ButtonIcon,{className:"confirm-add-suggested-nft__nft-remove","data-testid":`confirm-add-suggested-nft__nft-remove-${e}`,iconName:h.IconName.Close,size:h.ButtonIconSize.Sm,color:T.IconColor.iconMuted,onClick:t=>{t.preventDefault(),t.stopPropagation(),n((0,f.rejectPendingApproval)(e,(0,s.serializeError)(s.ethErrors.provider.userRejectedRequest())))}}))}))))),a.default.createElement(c.PageContainerFooter,{cancelText:t("cancel"),submitText:1===I.length?t("addNft"):t("addNfts"),onCancel:V,onSubmit:U}))}}}},{package:"$root$",file:"ui/pages/confirm-add-suggested-nft/confirm-add-suggested-nft.js"}],[5462,{"./confirm-add-suggested-nft":5461},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./confirm-add-suggested-nft"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirm-add-suggested-nft/index.js"}],[5463,{"../../../shared/constants/metametrics":4505,"../../../shared/constants/transaction":4520,"../../../shared/modules/string-utils":4558,"../../components/component-library":4955,"../../components/ui/identicon":5247,"../../components/ui/page-container":5275,"../../components/ui/token-balance":5308,"../../contexts/i18n":5324,"../../contexts/metametrics":5327,"../../ducks/history/history":5343,"../../ducks/metamask/metamask":5346,"../../helpers/constants/design-system":5355,"../../helpers/constants/zendesk-url":5368,"../../selectors":5987,"../../store/actions":5998,"eth-rpc-errors":3257,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=x(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=e("react-redux"),o=e("react-router-dom"),s=e("eth-rpc-errors"),i=e("../../components/component-library"),l=k(e("../../components/ui/identicon")),c=k(e("../../components/ui/token-balance")),u=e("../../components/ui/page-container"),d=e("../../contexts/i18n"),p=e("../../contexts/metametrics"),f=e("../../ducks/history/history"),m=e("../../ducks/metamask/metamask"),g=k(e("../../helpers/constants/zendesk-url")),h=e("../../../shared/modules/string-utils"),y=e("../../store/actions"),v=e("../../../shared/constants/metametrics"),b=e("../../../shared/constants/transaction"),T=e("../../selectors"),_=e("../../helpers/constants/design-system");function k(e){return e&&e.__esModule?e:{default:e}}function x(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(x=function(e){return e?n:t})(e)}n.default=()=>{const e=(0,a.useContext)(d.I18nContext),t=(0,r.useDispatch)(),n=(0,o.useHistory)(),k=(0,r.useSelector)(f.getMostRecentOverviewPage),x=(0,r.useSelector)(T.getSuggestedTokens),E=(0,r.useSelector)(m.getTokens),w=(0,a.useContext)(p.MetaMetricsContext),C=(0,a.useMemo)((()=>function(e,t){const n=e.find((({requestData:{asset:e}})=>{const n=t.find((({address:t})=>(0,h.isEqualCaseInsensitive)(t,null==e?void 0:e.address)));return Boolean(n)}));return Boolean(n)}(x,E)&&a.default.createElement(i.BannerAlert,{severity:_.Severity.Warning,marginTop:4},e("knownTokenWarning",[a.default.createElement(i.Button,{variant:i.ButtonVariant.Link,key:"confirm-add-suggested-token-duplicate-warning",className:"confirm-add-suggested-token__link",externalLink:!0,size:i.ButtonLinkSize.Inherit,href:g.default.TOKEN_SAFETY_PRACTICES},e("learnScamRisk"))]))),[x,E,e]),S=(0,a.useMemo)((()=>function(e,t){const n=e.find((({requestData:{asset:e}})=>{const n=t.find((t=>(0,h.isEqualCaseInsensitive)(t.symbol,null==e?void 0:e.symbol)&&!(0,h.isEqualCaseInsensitive)(t.address,null==e?void 0:e.address)));return Boolean(n)}));return Boolean(n)}(x,E)&&a.default.createElement(i.BannerAlert,{marginTop:4,severity:_.Severity.Warning,description:e("reusedTokenNameWarning")})),[x,E,e]),P=(0,a.useCallback)((async()=>{await Promise.all(x.map((async({requestData:{asset:e},id:n})=>{await t((0,y.resolvePendingApproval)(n,null)),w({event:v.MetaMetricsEventName.TokenAdded,category:v.MetaMetricsEventCategory.Wallet,sensitiveProperties:{token_symbol:e.symbol,token_contract_address:e.address,token_decimal_precision:e.decimals,unlisted:e.unlisted,source:v.MetaMetricsTokenEventSource.Dapp,token_standard:b.TokenStandard.ERC20,asset_type:b.AssetType.token}})}))),n.push(k)}),[t,n,w,k,x]),M=(0,a.useCallback)((async()=>{await Promise.all(x.map((({id:e})=>t((0,y.rejectPendingApproval)(e,(0,s.serializeError)(s.ethErrors.provider.userRejectedRequest())))))),n.push(k)}),[t,n,k,x]);return(0,a.useEffect)((()=>{x.length||n.push(k)}),[]),a.default.createElement("div",{className:"page-container"},a.default.createElement("div",{className:"page-container__header"},a.default.createElement("div",{className:"page-container__title"},e("addSuggestedTokens")),a.default.createElement("div",{className:"page-container__subtitle"},e("likeToImportTokens")),C,S),a.default.createElement("div",{className:"page-container__content"},a.default.createElement("div",{className:"confirm-add-suggested-token"},a.default.createElement("div",{className:"confirm-add-suggested-token__header"},a.default.createElement("div",{className:"confirm-add-suggested-token__token"},e("token")),a.default.createElement("div",{className:"confirm-add-suggested-token__balance"},e("balance"))),a.default.createElement("div",{className:"confirm-add-suggested-token__token-list"},x.map((({requestData:{asset:e}})=>{return a.default.createElement("div",{className:"confirm-add-suggested-token__token-list-item",key:e.address},a.default.createElement("div",{className:"confirm-add-suggested-token__token confirm-add-suggested-token__data"},a.default.createElement(l.default,{className:"confirm-add-suggested-token__token-icon",diameter:48,address:e.address,image:e.image}),a.default.createElement("div",{className:"confirm-add-suggested-token__name"},(t=e.name,n=e.symbol,t===undefined?n:`${t} (${n})`))),a.default.createElement("div",{className:"confirm-add-suggested-token__balance"},a.default.createElement(c.default,{token:e})));var t,n}))))),a.default.createElement(u.PageContainerFooter,{cancelText:e("cancel"),submitText:e("addToken"),onCancel:M,onSubmit:P,disabled:0===x.length}))}}}},{package:"$root$",file:"ui/pages/confirm-add-suggested-token/confirm-add-suggested-token.js"}],[5464,{"./confirm-add-suggested-token":5463},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./confirm-add-suggested-token"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirm-add-suggested-token/index.js"}],[5465,{"../../../shared/constants/common":4495,"../../../shared/constants/copy":4496,"../../../shared/constants/metametrics":4505,"../../../shared/constants/time":4518,"../../../shared/modules/Numeric":4533,"../../../shared/modules/conversion.utils":4537,"../../components/app/account-list-item":4565,"../../components/component-library":4955,"../../components/ui/identicon":5247,"../../components/ui/page-container":5275,"../../components/ui/tooltip":5310,"../../helpers/constants/design-system":5355,"../../helpers/utils/confirm-tx.util":5381,classnames:3049,"copy-to-clipboard":3087,loglevel:3842,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=k(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=_(e("prop-types")),o=_(e("copy-to-clipboard")),s=_(e("classnames")),i=_(e("loglevel")),l=_(e("../../components/app/account-list-item")),c=_(e("../../components/ui/identicon")),u=_(e("../../components/ui/tooltip")),d=e("../../components/ui/page-container"),p=e("../../../shared/constants/metametrics"),f=e("../../../shared/constants/time"),m=e("../../../shared/modules/Numeric"),g=e("../../../shared/constants/common"),h=e("../../components/component-library"),y=e("../../helpers/constants/design-system"),v=e("../../helpers/utils/confirm-tx.util"),b=e("../../../shared/modules/conversion.utils"),T=e("../../../shared/constants/copy");function _(e){return e&&e.__esModule?e:{default:e}}function k(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(k=function(e){return e?n:t})(e)}function x(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class E extends a.Component{constructor(...e){super(...e),x(this,"state",{copyToClipboardPressed:!1,hasCopied:!1}),x(this,"copyMessage",(()=>{(0,o.default)(this.state.rawMessage,T.COPY_OPTIONS),this.context.trackEvent({category:p.MetaMetricsEventCategory.Messages,event:"Copy",properties:{action:"Decrypt Message Copy",legacy_event:!0}}),this.setState({hasCopied:!0}),setTimeout((()=>this.setState({hasCopied:!1})),3*f.SECOND)})),x(this,"renderHeader",(()=>a.default.createElement("div",{className:"request-decrypt-message__header"},a.default.createElement("div",{className:"request-decrypt-message__header-background"}),a.default.createElement("div",{className:"request-decrypt-message__header__text"},this.context.t("decryptRequest")),a.default.createElement("div",{className:"request-decrypt-message__header__tip-container"},a.default.createElement("div",{className:"request-decrypt-message__header__tip"}))))),x(this,"renderAccount",(()=>{const{fromAccount:e}=this.props,{t:t}=this.context;return a.default.createElement("div",{className:"request-decrypt-message__account"},a.default.createElement("div",{className:"request-decrypt-message__account-text"},`${t("account")}:`),a.default.createElement("div",{className:"request-decrypt-message__account-item"},a.default.createElement(l.default,{account:e})))})),x(this,"renderBalance",(()=>{const{conversionRate:e,nativeCurrency:t,currentCurrency:n,fromAccount:{balance:r}}=this.props,{t:o}=this.context,s=e?(0,v.formatCurrency)((0,b.getValueFromWeiHex)({value:r,fromCurrency:t,toCurrency:n,conversionRate:e,numberOfDecimals:6,toDenomination:g.EtherDenomination.ETH}),n):new m.Numeric(r,16,g.EtherDenomination.WEI).toDenomination(g.EtherDenomination.ETH).round(6).toBase(10).toString();return a.default.createElement("div",{className:"request-decrypt-message__balance"},a.default.createElement("div",{className:"request-decrypt-message__balance-text"},`${o("balance")}:`),a.default.createElement("div",{className:"request-decrypt-message__balance-value"},`${s} ${e?null==n?void 0:n.toUpperCase():t}`))})),x(this,"renderRequestIcon",(()=>{const{requesterAddress:e}=this.props;return a.default.createElement("div",{className:"request-decrypt-message__request-icon"},a.default.createElement(c.default,{diameter:40,address:e}))})),x(this,"renderAccountInfo",(()=>a.default.createElement("div",{className:"request-decrypt-message__account-info"},this.renderAccount(),this.renderRequestIcon(),this.renderBalance()))),x(this,"renderBody",(()=>{const{decryptMessageInline:e,subjectMetadata:t,txData:n}=this.props,{t:r}=this.context,o=t[n.msgParams.origin],i=(null==o?void 0:o.name)||n.msgParams.origin,l=r("decryptMessageNotice",[n.msgParams.origin]),{hasCopied:c,hasDecrypted:d,hasError:p,rawMessage:f,errorMessage:m,copyToClipboardPressed:g}=this.state;return a.default.createElement("div",{className:"request-decrypt-message__body"},this.renderAccountInfo(),a.default.createElement("div",{className:"request-decrypt-message__visual"},a.default.createElement("section",null,null!=o&&o.iconUrl?a.default.createElement("img",{className:"request-decrypt-message__visual-identicon",src:o.iconUrl,alt:""}):a.default.createElement("i",{className:"request-decrypt-message__visual-identicon--default"},i.charAt(0).toUpperCase()),a.default.createElement("div",{className:"request-decrypt-message__notice"},l))),a.default.createElement("div",{className:"request-decrypt-message__message"},a.default.createElement("div",{className:"request-decrypt-message__message-text"},d||p?f:n.msgParams.data,p?m:""),a.default.createElement("div",{className:(0,s.default)("request-decrypt-message__message-cover",{"request-decrypt-message__message-lock--pressed":d||p})}),a.default.createElement("div",{className:(0,s.default)("request-decrypt-message__message-lock",{"request-decrypt-message__message-lock--pressed":d||p}),onClick:t=>{e(n,t).then((e=>{e.error?this.setState({hasError:!0,errorMessage:this.context.t("decryptInlineError",[e.error])}):this.setState({hasDecrypted:!0,rawMessage:e.rawSig})}))}},a.default.createElement("div",{className:"request-decrypt-message__message-lock__container"},a.default.createElement("i",{className:"fa fa-lock fa-lg request-decrypt-message__message-lock__container__icon"}),a.default.createElement("div",{className:"request-decrypt-message__message-lock__container__text"},r("decryptMetamask"))))),d?a.default.createElement("div",{className:(0,s.default)({"request-decrypt-message__message-copy":!0,"request-decrypt-message__message-copy--pressed":g}),onClick:()=>this.copyMessage(),onMouseDown:()=>this.setState({copyToClipboardPressed:!0}),onMouseUp:()=>this.setState({copyToClipboardPressed:!1})},a.default.createElement(u.default,{position:"bottom",title:r(c?"copiedExclamation":"copyToClipboard"),wrapperClassName:"request-decrypt-message__message-copy-tooltip",style:{display:"flex",alignItems:"center"}},a.default.createElement("div",{className:"request-decrypt-message__message-copy-text"},r("decryptCopy")),a.default.createElement(h.Icon,{name:c?h.IconName.CopySuccess:h.IconName.Copy,color:y.IconColor.primaryDefault}))):a.default.createElement("div",null))})),x(this,"renderFooter",(()=>{const{cancelDecryptMessage:e,clearConfirmTransaction:t,decryptMessage:n,history:r,mostRecentOverviewPage:o,txData:s}=this.props,{trackEvent:i,t:l}=this.context;return a.default.createElement(d.PageContainerFooter,{cancelText:l("cancel"),submitText:l("decrypt"),onCancel:async n=>{await e(s,n),i({category:p.MetaMetricsEventCategory.Messages,event:"Cancel",properties:{action:"Decrypt Message Request",legacy_event:!0}}),t(),r.push(o)},onSubmit:async e=>{await n(s,e),i({category:p.MetaMetricsEventCategory.Messages,event:"Confirm",properties:{action:"Decrypt Message Request",legacy_event:!0}}),t(),r.push(o)}})})),x(this,"render",(()=>this.props.txData?a.default.createElement("div",{className:"request-decrypt-message__container"},this.renderHeader(),this.renderBody(),this.renderFooter()):(i.default.warn("ConfirmDecryptMessage Page: Missing txData prop."),null)))}}n.default=E,x(E,"contextTypes",{t:r.default.func.isRequired,trackEvent:r.default.func.isRequired}),x(E,"propTypes",{fromAccount:r.default.shape({address:r.default.string.isRequired,balance:r.default.string,name:r.default.string}).isRequired,clearConfirmTransaction:r.default.func.isRequired,cancelDecryptMessage:r.default.func.isRequired,decryptMessage:r.default.func.isRequired,decryptMessageInline:r.default.func.isRequired,history:r.default.object.isRequired,mostRecentOverviewPage:r.default.string.isRequired,requesterAddress:r.default.string,txData:r.default.object,subjectMetadata:r.default.object,nativeCurrency:r.default.string.isRequired,currentCurrency:r.default.string.isRequired,conversionRate:r.default.number})}}},{package:"$root$",file:"ui/pages/confirm-decrypt-message/confirm-decrypt-message.component.js"}],[5466,{"../../ducks/confirm-transaction/confirm-transaction.duck":5338,"../../ducks/history/history":5343,"../../ducks/metamask/metamask":5346,"../../selectors":5987,"../../store/actions":5998,"./confirm-decrypt-message.component":5465,lodash:3836,"react-redux":4199,"react-router-dom":4228,redux:4261},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=e("react-redux"),o=e("redux"),s=e("react-router-dom"),i=e("lodash"),l=e("../../store/actions"),c=e("../../selectors"),u=e("../../ducks/confirm-transaction/confirm-transaction.duck"),d=e("../../ducks/history/history"),p=e("../../ducks/metamask/metamask"),f=(a=e("./confirm-decrypt-message.component"))&&a.__esModule?a:{default:a};n.default=(0,o.compose)(s.withRouter,(0,r.connect)((function(e){var t;const{metamask:{subjectMetadata:n={}}}=e,{useNativeCurrencyAsPrimaryCurrency:a}=(0,c.getPreferences)(e),r=(0,c.unconfirmedTransactionsListSelector)(e),o=(0,i.cloneDeep)(r[0]);return{txData:o,subjectMetadata:n,fromAccount:(0,c.getTargetAccountWithSendEtherInfo)(e,null==o||null===(t=o.msgParams)||void 0===t?void 0:t.from),requester:null,requesterAddress:null,conversionRate:a?null:(0,c.conversionRateSelector)(e),mostRecentOverviewPage:(0,d.getMostRecentOverviewPage)(e),nativeCurrency:(0,p.getNativeCurrency)(e),currentCurrency:(0,c.getCurrentCurrency)(e)}}),(function(e){return{goHome:()=>e((0,l.goHome)()),clearConfirmTransaction:()=>e((0,u.clearConfirmTransaction)()),decryptMessage:(t,n)=>{const a=t.msgParams;return a.metamaskId=t.id,n.stopPropagation(n),e((0,l.decryptMsg)(a))},cancelDecryptMessage:(t,n)=>(n.stopPropagation(n),e((0,l.cancelDecryptMsg)(t))),decryptMessageInline:(t,n)=>{const a=t.msgParams;return a.metamaskId=t.id,n.stopPropagation(n),e((0,l.decryptMsgInline)(a))}}})))(f.default)}}},{package:"$root$",file:"ui/pages/confirm-decrypt-message/confirm-decrypt-message.container.js"}],[5467,{"./confirm-decrypt-message.container":5466},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./confirm-decrypt-message.container"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirm-decrypt-message/index.js"}],[5468,{"../../../shared/constants/common":4495,"../../../shared/constants/metametrics":4505,"../../../shared/modules/Numeric":4533,"../../../shared/modules/conversion.utils":4537,"../../components/app/account-list-item":4565,"../../components/ui/identicon":5247,"../../components/ui/page-container":5275,"../../components/ui/site-origin":5292,"../../helpers/utils/confirm-tx.util":5381,loglevel:3842,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=h(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=g(e("prop-types")),o=g(e("loglevel")),s=g(e("../../components/app/account-list-item")),i=g(e("../../components/ui/identicon")),l=e("../../components/ui/page-container"),c=e("../../../shared/constants/metametrics"),u=g(e("../../components/ui/site-origin")),d=e("../../../shared/modules/Numeric"),p=e("../../../shared/constants/common"),f=e("../../helpers/utils/confirm-tx.util"),m=e("../../../shared/modules/conversion.utils");function g(e){return e&&e.__esModule?e:{default:e}}function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(h=function(e){return e?n:t})(e)}function y(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class v extends a.Component{constructor(...e){super(...e),y(this,"renderHeader",(()=>a.default.createElement("div",{className:"request-encryption-public-key__header"},a.default.createElement("div",{className:"request-encryption-public-key__header-background"}),a.default.createElement("div",{className:"request-encryption-public-key__header__text"},this.context.t("encryptionPublicKeyRequest")),a.default.createElement("div",{className:"request-encryption-public-key__header__tip-container"},a.default.createElement("div",{className:"request-encryption-public-key__header__tip"}))))),y(this,"renderAccount",(()=>{const{fromAccount:e}=this.props,{t:t}=this.context;return a.default.createElement("div",{className:"request-encryption-public-key__account"},a.default.createElement("div",{className:"request-encryption-public-key__account-text"},`${t("account")}:`),a.default.createElement("div",{className:"request-encryption-public-key__account-item"},a.default.createElement(s.default,{account:e})))})),y(this,"renderBalance",(()=>{const{conversionRate:e,nativeCurrency:t,currentCurrency:n,fromAccount:{balance:r}}=this.props,{t:o}=this.context,s=e?(0,f.formatCurrency)((0,m.getValueFromWeiHex)({value:r,fromCurrency:t,toCurrency:n,conversionRate:e,numberOfDecimals:6,toDenomination:p.EtherDenomination.ETH}),n):new d.Numeric(r,16,p.EtherDenomination.WEI).toDenomination(p.EtherDenomination.ETH).round(6).toBase(10).toString();return a.default.createElement("div",{className:"request-encryption-public-key__balance"},a.default.createElement("div",{className:"request-encryption-public-key__balance-text"},`${o("balance")}:`),a.default.createElement("div",{className:"request-encryption-public-key__balance-value"},`${s} ${e?null==n?void 0:n.toUpperCase():t}`))})),y(this,"renderRequestIcon",(()=>{const{requesterAddress:e}=this.props;return a.default.createElement("div",{className:"request-encryption-public-key__request-icon"},a.default.createElement(i.default,{diameter:40,address:e}))})),y(this,"renderAccountInfo",(()=>a.default.createElement("div",{className:"request-encryption-public-key__account-info"},this.renderAccount(),this.renderRequestIcon(),this.renderBalance()))),y(this,"renderBody",(()=>{const{subjectMetadata:e,txData:t}=this.props,{t:n}=this.context,r=e[t.origin],o=n("encryptionPublicKeyNotice",[a.default.createElement(u.default,{siteOrigin:t.origin,key:t.origin})]),s=(null==r?void 0:r.hostname)||t.origin;return a.default.createElement("div",{className:"request-encryption-public-key__body"},this.renderAccountInfo(),a.default.createElement("div",{className:"request-encryption-public-key__visual"},a.default.createElement("section",null,null!=r&&r.iconUrl?a.default.createElement("img",{className:"request-encryption-public-key__visual-identicon",src:r.iconUrl,alt:""}):a.default.createElement("i",{className:"request-encryption-public-key__visual-identicon--default"},s.charAt(0).toUpperCase()),a.default.createElement("div",{className:"request-encryption-public-key__notice"},o))))})),y(this,"renderFooter",(()=>{const{cancelEncryptionPublicKey:e,clearConfirmTransaction:t,encryptionPublicKey:n,history:r,mostRecentOverviewPage:o,txData:s}=this.props,{t:i,trackEvent:u}=this.context;return a.default.createElement(l.PageContainerFooter,{cancelText:i("cancel"),submitText:i("provide"),onCancel:async n=>{await e(s,n),u({category:c.MetaMetricsEventCategory.Messages,event:"Cancel",properties:{action:"Encryption public key Request",legacy_event:!0}}),t(),r.push(o)},onSubmit:async e=>{await n(s,e),this.context.trackEvent({category:c.MetaMetricsEventCategory.Messages,event:"Confirm",properties:{action:"Encryption public key Request",legacy_event:!0}}),t(),r.push(o)}})})),y(this,"render",(()=>this.props.txData?a.default.createElement("div",{className:"request-encryption-public-key__container"},this.renderHeader(),this.renderBody(),this.renderFooter()):(o.default.warn("ConfirmEncryptionPublicKey Page: Missing txData prop."),null)))}}n.default=v,y(v,"contextTypes",{t:r.default.func.isRequired,trackEvent:r.default.func.isRequired}),y(v,"propTypes",{fromAccount:r.default.shape({address:r.default.string.isRequired,balance:r.default.string,name:r.default.string}).isRequired,clearConfirmTransaction:r.default.func.isRequired,cancelEncryptionPublicKey:r.default.func.isRequired,encryptionPublicKey:r.default.func.isRequired,history:r.default.object.isRequired,requesterAddress:r.default.string,txData:r.default.object,subjectMetadata:r.default.object,mostRecentOverviewPage:r.default.string.isRequired,nativeCurrency:r.default.string.isRequired,currentCurrency:r.default.string.isRequired,conversionRate:r.default.number})}}},{package:"$root$",file:"ui/pages/confirm-encryption-public-key/confirm-encryption-public-key.component.js"}],[5469,{"../../ducks/confirm-transaction/confirm-transaction.duck":5338,"../../ducks/history/history":5343,"../../ducks/metamask/metamask":5346,"../../selectors":5987,"../../store/actions":5998,"./confirm-encryption-public-key.component":5468,"react-redux":4199,"react-router-dom":4228,redux:4261},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=e("react-redux"),o=e("redux"),s=e("react-router-dom"),i=e("../../store/actions"),l=e("../../selectors"),c=e("../../ducks/confirm-transaction/confirm-transaction.duck"),u=e("../../ducks/history/history"),d=e("../../ducks/metamask/metamask"),p=(a=e("./confirm-encryption-public-key.component"))&&a.__esModule?a:{default:a};n.default=(0,o.compose)(s.withRouter,(0,r.connect)((function(e){const{metamask:{subjectMetadata:t={}}}=e,{useNativeCurrencyAsPrimaryCurrency:n}=(0,l.getPreferences)(e),a=(0,l.unconfirmedTransactionsListSelector)(e)[0];return{txData:a,subjectMetadata:t,fromAccount:(0,l.getTargetAccountWithSendEtherInfo)(e,null==a?void 0:a.msgParams),requester:null,requesterAddress:null,conversionRate:n?null:(0,l.conversionRateSelector)(e),mostRecentOverviewPage:(0,u.getMostRecentOverviewPage)(e),nativeCurrency:(0,d.getNativeCurrency)(e),currentCurrency:(0,l.getCurrentCurrency)(e)}}),(function(e){return{goHome:()=>e((0,i.goHome)()),clearConfirmTransaction:()=>e((0,c.clearConfirmTransaction)()),encryptionPublicKey:(t,n)=>{const a={data:t.msgParams,metamaskId:t.id};return n.stopPropagation(),e((0,i.encryptionPublicKeyMsg)(a))},cancelEncryptionPublicKey:(t,n)=>(n.stopPropagation(),e((0,i.cancelEncryptionPublicKeyMsg)(t)))}})))(p.default)}}},{package:"$root$",file:"ui/pages/confirm-encryption-public-key/confirm-encryption-public-key.container.js"}],[5470,{"./confirm-encryption-public-key.container":5469},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./confirm-encryption-public-key.container"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirm-encryption-public-key/index.js"}],[5471,{"../../../../components/ui/form-field":5226,"../../../../contexts/i18n":5324,"../../../../helpers/constants/gas":5357,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=u;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=l(e("prop-types")),o=e("../../../../contexts/i18n"),s=l(e("../../../../components/ui/form-field")),i=e("../../../../helpers/constants/gas");function l(e){return e&&e.__esModule?e:{default:e}}function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}function u({onManualChange:e,gasLimit:t,setGasLimit:n,gasPrice:r,setGasPrice:l,gasErrors:c,minimumGasLimit:u}){const d=(0,a.useContext)(o.I18nContext);return a.default.createElement("div",{className:"advanced-gas-controls"},a.default.createElement(s.default,{titleText:d("gasLimit"),error:null!=c&&c.gasLimit?(0,i.getGasFormErrorText)(c.gasLimit,d,{minimumGasLimit:u}):null,onChange:t=>{null==e||e(),n(t)},tooltipText:d("editGasLimitTooltip"),value:t,allowDecimals:!1,numeric:!0}),a.default.createElement(a.default.Fragment,null,a.default.createElement(s.default,{titleText:d("advancedGasPriceTitle"),titleUnit:"(GWEI)",onChange:t=>{null==e||e(),l(t)},tooltipText:d("editGasPriceTooltip"),value:r,numeric:!0,allowDecimals:!0,error:null!=c&&c.gasPrice?(0,i.getGasFormErrorText)(c.gasPrice,d):null})))}u.propTypes={onManualChange:r.default.func,gasLimit:r.default.number,setGasLimit:r.default.func,gasPrice:r.default.string,setGasPrice:r.default.func,minimumGasLimit:r.default.string,gasErrors:r.default.object}}}},{package:"$root$",file:"ui/pages/confirmations/components/advanced-gas-controls/advanced-gas-controls.component.js"}],[5472,{"../../../../../../shared/constants/gas":4500,"../../../../../../shared/modules/Numeric":4533,"../../../../../components/component-library":4955,"../../../../../contexts/gasFee":5323,"../../../../../helpers/constants/design-system":5355,"../../../../../hooks/useI18nContext":5427,"../../../../../selectors":5987,"../../../../../store/actions":5998,"../../../hooks/useTransactionEventFragment":5711,"../context":5488,lodash:3836,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=h(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=e("react-redux"),o=e("lodash"),s=e("../../../hooks/useTransactionEventFragment"),i=e("../../../../../../shared/constants/gas"),l=e("../../../../../helpers/constants/design-system"),c=e("../../../../../selectors"),u=e("../../../../../store/actions"),d=e("../../../../../contexts/gasFee"),p=e("../context"),f=e("../../../../../hooks/useI18nContext"),m=e("../../../../../components/component-library"),g=e("../../../../../../shared/modules/Numeric");function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(h=function(e){return e?n:t})(e)}n.default=()=>{const e=(0,f.useI18nContext)(),t=(0,r.useDispatch)(),{gasErrors:n,maxBaseFee:h,maxPriorityFeePerGas:y}=(0,p.useAdvancedGasFeePopoverContext)(),v=new g.Numeric(h,10).toString(),b=new g.Numeric(y,10).toString(),T=(0,r.useSelector)(c.getAdvancedGasFeeValues),_=(0,r.useSelector)(c.getCurrentChainId),k=(0,r.useSelector)(c.getNetworkIdentifier),{updateTransactionEventFragment:x}=(0,s.useTransactionEventFragment)(),{editGasMode:E}=(0,d.useGasFeeContext)(),[w,C]=(0,a.useState)(Boolean(T)&&T.maxBaseFee===v&&T.priorityFee===b);(0,a.useEffect)((()=>{C(Boolean(T)&&T.maxBaseFee===v&&T.priorityFee===b)}),[T,v,b]);return E===i.EditGasModes.swaps?null:a.default.createElement(m.Box,{display:l.Display.Flex,flexDirection:l.FlexDirection.Row,marginTop:4,marginLeft:2,marginRight:2,paddingTop:4,paddingBottom:4,className:"advanced-gas-fee-defaults"},a.default.createElement(m.Checkbox,{isChecked:w,onChange:()=>{w?(t((0,u.setAdvancedGasFee)({chainId:_,gasFeePreferences:undefined})),C(!1),x({properties:{advanced_gas_defaults_updated_maxbasefee:null,advanced_gas_defaults_updated_priorityfee:null}})):(t((0,u.setAdvancedGasFee)({chainId:_,gasFeePreferences:{maxBaseFee:v,priorityFee:b}})),x({properties:{advanced_gas_defaults_updated_maxbasefee:v,advanced_gas_defaults_updated_priorityfee:b}}))},isDisabled:n.maxFeePerGas||n.maxPriorityFeePerGas,label:e("advancedGasFeeDefaultOptIn",[(0,o.capitalize)(k)])}))}}}},{package:"$root$",file:"ui/pages/confirmations/components/advanced-gas-fee-popover/advanced-gas-fee-defaults/advanced-gas-fee-defaults.js"}],[5473,{"./advanced-gas-fee-defaults":5472},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./advanced-gas-fee-defaults"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/advanced-gas-fee-popover/advanced-gas-fee-defaults/index.js"}],[5474,{"../../../../../components/component-library":4955,"../../../../../components/ui/button":5198,"../../../../../components/ui/form-field":5226,"../../../../../contexts/gasFee":5323,"../../../../../helpers/constants/design-system":5355,"../../../../../helpers/utils/util":5399,"../../../../../hooks/useI18nContext":5427,"../../../constants":5685,"../../../send/send.constants":5721,"../context":5488,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=g(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=e("../../../../../contexts/gasFee"),o=e("../../../../../helpers/utils/util"),s=e("../../../../../helpers/constants/design-system"),i=e("../../../../../hooks/useI18nContext"),l=e("../../../send/send.constants"),c=m(e("../../../../../components/ui/button")),u=m(e("../../../../../components/ui/form-field")),d=e("../context"),p=e("../../../../../components/component-library"),f=e("../../../constants");function m(e){return e&&e.__esModule?e:{default:e}}function g(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(g=function(e){return e?n:t})(e)}n.default=()=>{const e=(0,i.useI18nContext)(),{setGasLimit:t,setErrorValue:n}=(0,d.useAdvancedGasFeePopoverContext)(),{gasLimit:m,minimumGasLimitDec:g,transaction:{chainId:h}}=(0,r.useGasFeeContext)(),[y,v]=(0,a.useState)(!1),[b,T]=(0,a.useState)(m),[_,k]=(0,a.useState)(),x=e=>{T(e)};return(0,a.useEffect)((()=>{if(t(b),f.IGNORE_GAS_LIMIT_CHAIN_IDS.includes(h))return;const e=((e,t)=>(0,o.bnLessThan)(e,t)||(0,o.bnGreaterThan)(e,l.MAX_GAS_LIMIT_DEC)?"editGasLimitOutOfBoundsV2":null)(b,g);k(e),n("gasLimit","editGasLimitOutOfBoundsV2"===e)}),[h,b,g,t,n]),y?a.default.createElement(u.default,{dataTestId:"gas-limit-input",error:_?e(_,[g-1,l.MAX_GAS_LIMIT_DEC]):"",onChange:x,titleText:e("gasLimitV2"),value:b,allowDecimals:!1,numeric:!0}):a.default.createElement(p.Text,{tag:s.TextVariant.bodyMd,variant:s.TextVariant.bodySm,as:"h6",className:"advanced-gas-fee-gas-limit",marginTop:4,marginLeft:2,marginRight:2},a.default.createElement("strong",null,e("gasLimitV2")),a.default.createElement("span",null,b),a.default.createElement(c.default,{"data-testid":"advanced-gas-fee-edit",className:"advanced-gas-fee-gas-limit__edit-link",onClick:()=>v(!0),type:"link"},e("edit")))}}}},{package:"$root$",file:"ui/pages/confirmations/components/advanced-gas-fee-popover/advanced-gas-fee-gas-limit/advanced-gas-fee-gas-limit.js"}],[5475,{"./advanced-gas-fee-gas-limit":5474},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./advanced-gas-fee-gas-limit"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/advanced-gas-fee-popover/advanced-gas-fee-gas-limit/index.js"}],[5476,{"../../../../../components/ui/box":5194,"../../../../../components/ui/loading-heartbeat":5253,"../../../../../contexts/i18n":5324,"../../../../../helpers/utils/gas":5384,"../../../../../helpers/utils/util":5399,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=p(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=d(e("prop-types")),o=d(e("classnames")),s=e("../../../../../helpers/utils/util"),i=e("../../../../../helpers/utils/gas"),l=e("../../../../../contexts/i18n"),c=d(e("../../../../../components/ui/box")),u=d(e("../../../../../components/ui/loading-heartbeat"));function d(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(p=function(e){return e?n:t})(e)}const f=({latest:e,historical:t,trend:n})=>{const r=(0,a.useContext)(l.I18nContext),d=function(e,t){switch(e){case"up":return{className:"fa-arrow-up advanced-gas-fee-input-subtext__up",color:"var(--color-success-default)",title:t("upArrow")};case"down":return{className:"fa-arrow-down advanced-gas-fee-input-subtext__down",color:"var(--color-error-default)",title:t("downArrow")};case"level":return{className:"fa-arrow-right advanced-gas-fee-input-subtext__level",color:"var(--color-icon-alternative)",title:t("levelArrow")};default:return null}}(n,r);return a.default.createElement(c.default,{display:"flex",alignItems:"center",gap:4,className:"advanced-gas-fee-input-subtext"},(0,s.isNullish)(e)?null:a.default.createElement(c.default,{display:"flex",alignItems:"center","data-testid":"latest"},a.default.createElement("span",{className:"advanced-gas-fee-input-subtext__label"},r("currentTitle")),a.default.createElement("span",{className:"advanced-gas-fee-input-subtext__value"},a.default.createElement(u.default,null),(0,i.formatGasFeeOrFeeRange)(e)),null===d?null:a.default.createElement("span",{className:"advanced-gas-fee-input-subtext__icon"},a.default.createElement("i",{className:(0,o.default)("fa",d.className),style:{color:d.color},title:d.title,"data-testid":"fee-arrow"}))),(0,s.isNullish)(t)?null:a.default.createElement(c.default,null,a.default.createElement("span",{className:"advanced-gas-fee-input-subtext__label","data-testid":"historical"},r("twelveHrTitle")),a.default.createElement("span",{className:"advanced-gas-fee-input-subtext__value"},a.default.createElement(u.default,null),(0,i.formatGasFeeOrFeeRange)(t))))};f.propTypes={latest:r.default.oneOfType([r.default.string,r.default.arrayOf(r.default.string)]),historical:r.default.oneOfType([r.default.string,r.default.arrayOf(r.default.string)]),trend:r.default.oneOf(["up","down","level"])};n.default=f}}},{package:"$root$",file:"ui/pages/confirmations/components/advanced-gas-fee-popover/advanced-gas-fee-input-subtext/advanced-gas-fee-input-subtext.js"}],[5477,{"./advanced-gas-fee-input-subtext":5476},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./advanced-gas-fee-input-subtext"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/advanced-gas-fee-popover/advanced-gas-fee-input-subtext/index.js"}],[5478,{"../../../../../components/ui/box":5194,"./base-fee-input":5480,"./priority-fee-input":5482,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=i(e("react")),r=i(e("../../../../../components/ui/box")),o=i(e("./base-fee-input")),s=i(e("./priority-fee-input"));function i(e){return e&&e.__esModule?e:{default:e}}n.default=()=>a.default.createElement(r.default,{className:"advanced-gas-fee-inputs"},a.default.createElement(o.default,null),a.default.createElement(s.default,null))}}},{package:"$root$",file:"ui/pages/confirmations/components/advanced-gas-fee-popover/advanced-gas-fee-inputs/advanced-gas-fee-inputs.js"}],[5479,{"../../../../../../../shared/constants/gas":4500,"../../../../../../../shared/modules/Numeric":4533,"../../../../../../../shared/modules/conversion.utils":4537,"../../../../../../components/ui/box":5194,"../../../../../../components/ui/form-field":5226,"../../../../../../contexts/gasFee":5323,"../../../../../../helpers/constants/common":5353,"../../../../../../hooks/useCurrencyDisplay":5418,"../../../../../../hooks/useI18nContext":5427,"../../../../../../hooks/useUserPreferencedCurrency":5452,"../../../../../../selectors":5987,"../../../../constants":5685,"../../../../send/send.constants":5721,"../../advanced-gas-fee-input-subtext":5477,"../../context":5488,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=_(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=e("react-redux"),o=e("../../../../send/send.constants"),s=e("../../../../../../../shared/constants/gas"),i=e("../../../../../../helpers/constants/common"),l=e("../../../../../../selectors"),c=e("../../../../../../contexts/gasFee"),u=e("../../../../../../hooks/useI18nContext"),d=e("../../../../../../hooks/useUserPreferencedCurrency"),p=e("../../../../../../hooks/useCurrencyDisplay"),f=T(e("../../../../../../components/ui/box")),m=T(e("../../../../../../components/ui/form-field")),g=e("../../context"),h=T(e("../../advanced-gas-fee-input-subtext")),y=e("../../../../../../../shared/modules/conversion.utils"),v=e("../../../../../../../shared/modules/Numeric"),b=e("../../../../constants");function T(e){return e&&e.__esModule?e:{default:e}}function _(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(_=function(e){return e?n:t})(e)}n.default=()=>{const e=(0,u.useI18nContext)(),{gasFeeEstimates:t,estimateUsed:n,maxFeePerGas:T,editGasMode:_,transaction:{chainId:k}}=(0,c.useGasFeeContext)(),x=new v.Numeric(T,10).toString(),{gasLimit:E,maxPriorityFeePerGas:w,setErrorValue:C,setMaxFeePerGas:S,setMaxBaseFee:P}=(0,g.useAdvancedGasFeePopoverContext)(),{estimatedBaseFee:M,historicalBaseFeeRange:I,baseFeeTrend:O}=t??{},[N,j]=(0,a.useState)(),{currency:D,numberOfDecimals:A}=(0,d.useUserPreferencedCurrency)(i.PRIMARY),F=(0,r.useSelector)(l.getAdvancedGasFeeValues),R=n!==s.PriorityLevels.custom&&null!=F&&F.maxBaseFee&&_!==s.EditGasModes.swaps?F.maxBaseFee:x,[B,L]=(0,a.useState)(R>0?R:undefined);(0,a.useEffect)((()=>{B===undefined&&R>0&&L(R)}),[B,R,L]);const[$]=(0,p.useCurrencyDisplay)((0,y.decGWEIToHexWEI)(B*E),{currency:D,numberOfDecimals:A}),G=(0,a.useCallback)((e=>{L(e)}),[L]);return(0,a.useEffect)((()=>{S(B);const e=((e,t,n,a)=>{const r=new v.Numeric(e,10);return new v.Numeric(n,10).greaterThan(r)?"editGasMaxBaseFeeGWEIImbalance":null!=t&&t.low&&r.lessThan(t.low.suggestedMaxFeePerGas,10)&&b.IGNORE_GAS_LIMIT_CHAIN_IDS.includes(a)?"editGasMaxBaseFeeLow":null!=t&&t.high&&r.greaterThan(t.high.suggestedMaxFeePerGas*o.HIGH_FEE_WARNING_MULTIPLIER,10)?"editGasMaxBaseFeeHigh":null})(B,t,w,k);j(e),C("maxFeePerGas","editGasMaxBaseFeeGWEIImbalance"===e),P(B)}),[B,k,t,w,j,C,S,P]),a.default.createElement(f.default,{className:"base-fee-input",marginLeft:2,marginRight:2},a.default.createElement(m.default,{dataTestId:"base-fee-input",error:N?e(N):"",onChange:G,titleText:e("maxBaseFee"),titleUnit:`(${e("gwei")})`,tooltipText:e("advancedBaseGasFeeToolTip"),value:B,detailText:`≈ ${$}`,allowDecimals:!0,numeric:!0}),a.default.createElement(h.default,{latest:M,historical:I,trend:O}))}}}},{package:"$root$",file:"ui/pages/confirmations/components/advanced-gas-fee-popover/advanced-gas-fee-inputs/base-fee-input/base-fee-input.js"}],[5480,{"./base-fee-input":5479},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./base-fee-input"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/advanced-gas-fee-popover/advanced-gas-fee-inputs/base-fee-input/index.js"}],[5481,{"./advanced-gas-fee-inputs":5478},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./advanced-gas-fee-inputs"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/advanced-gas-fee-popover/advanced-gas-fee-inputs/index.js"}],[5482,{"./priority-fee-input":5483},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./priority-fee-input"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/advanced-gas-fee-popover/advanced-gas-fee-inputs/priority-fee-input/index.js"}],[5483,{"../../../../../../../shared/constants/gas":4500,"../../../../../../../shared/modules/Numeric":4533,"../../../../../../../shared/modules/conversion.utils":4537,"../../../../../../components/ui/box":5194,"../../../../../../components/ui/form-field":5226,"../../../../../../contexts/gasFee":5323,"../../../../../../helpers/constants/common":5353,"../../../../../../hooks/useCurrencyDisplay":5418,"../../../../../../hooks/useI18nContext":5427,"../../../../../../hooks/useUserPreferencedCurrency":5452,"../../../../../../selectors":5987,"../../../../constants":5685,"../../../../send/send.constants":5721,"../../advanced-gas-fee-input-subtext":5477,"../../context":5488,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=_(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=e("react-redux"),o=e("../../../../send/send.constants"),s=e("../../../../../../../shared/constants/gas"),i=e("../../../../../../helpers/constants/common"),l=e("../../../../../../selectors"),c=e("../../../../../../hooks/useCurrencyDisplay"),u=e("../../../../../../contexts/gasFee"),d=e("../../../../../../hooks/useI18nContext"),p=e("../../../../../../hooks/useUserPreferencedCurrency"),f=T(e("../../../../../../components/ui/form-field")),m=T(e("../../../../../../components/ui/box")),g=e("../../context"),h=T(e("../../advanced-gas-fee-input-subtext")),y=e("../../../../../../../shared/modules/conversion.utils"),v=e("../../../../../../../shared/modules/Numeric"),b=e("../../../../constants");function T(e){return e&&e.__esModule?e:{default:e}}function _(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(_=function(e){return e?n:t})(e)}n.default=()=>{const e=(0,d.useI18nContext)(),t=(0,r.useSelector)(l.getAdvancedGasFeeValues),{gasLimit:n,setErrorValue:T,setMaxPriorityFeePerGas:_}=(0,g.useAdvancedGasFeePopoverContext)(),{editGasMode:k,estimateUsed:x,gasFeeEstimates:E,maxPriorityFeePerGas:w,transaction:{chainId:C}}=(0,u.useGasFeeContext)(),S=new v.Numeric(w,10).toString(),{latestPriorityFeeRange:P,historicalPriorityFeeRange:M,priorityFeeTrend:I}=E??{},[O,N]=(0,a.useState)(),j=x!==s.PriorityLevels.custom&&null!=t&&t.priorityFee&&k!==s.EditGasModes.swaps?t.priorityFee:S,[D,A]=(0,a.useState)(j>0?j:undefined);(0,a.useEffect)((()=>{D===undefined&&j>0&&A(j)}),[D,j,A]);const{currency:F,numberOfDecimals:R}=(0,p.useUserPreferencedCurrency)(i.PRIMARY),[B]=(0,c.useCurrencyDisplay)((0,y.decGWEIToHexWEI)(D*n),{currency:F,numberOfDecimals:R});return(0,a.useEffect)((()=>{_(D);const e=((e,t,n)=>{const a=new v.Numeric(e,10);return a.lessThan(0,10)?"editGasMaxPriorityFeeBelowMinimumV2":null!=t&&t.low&&a.lessThan(t.low.suggestedMaxPriorityFeePerGas,10)&&b.IGNORE_GAS_LIMIT_CHAIN_IDS.includes(n)?"editGasMaxPriorityFeeLowV2":null!=t&&t.high&&a.greaterThan(t.high.suggestedMaxPriorityFeePerGas*o.HIGH_FEE_WARNING_MULTIPLIER,10)?"editGasMaxPriorityFeeHighV2":null})(D,E,C);T("maxPriorityFeePerGas","editGasMaxPriorityFeeBelowMinimumV2"===e),N(e)}),[C,E,D,T,_,N]),a.default.createElement(m.default,{marginTop:4,marginLeft:2,marginRight:2,className:"priority-fee-input"},a.default.createElement(f.default,{dataTestId:"priority-fee-input",error:O?e(O):"",onChange:e=>{A(e)},titleText:e("priorityFeeProperCase"),titleUnit:`(${e("gwei")})`,tooltipText:e("advancedPriorityFeeToolTip"),value:D,detailText:`≈ ${B}`,allowDecimals:!0,numeric:!0}),a.default.createElement(h.default,{latest:P,historical:M,trend:I}))}}}},{package:"$root$",file:"ui/pages/confirmations/components/advanced-gas-fee-popover/advanced-gas-fee-inputs/priority-fee-input/priority-fee-input.js"}],[5484,{"../../../../components/ui/box":5194,"../../../../components/ui/popover":5281,"../../../../contexts/transaction-modal":5331,"../../../../hooks/useI18nContext":5427,"./advanced-gas-fee-defaults":5473,"./advanced-gas-fee-gas-limit":5475,"./advanced-gas-fee-inputs":5481,"./advanced-gas-fee-save":5486,"./context":5488,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=f(e("react")),r=e("../../../../hooks/useI18nContext"),o=e("../../../../contexts/transaction-modal"),s=f(e("../../../../components/ui/box")),i=f(e("../../../../components/ui/popover")),l=e("./context"),c=f(e("./advanced-gas-fee-inputs")),u=f(e("./advanced-gas-fee-gas-limit")),d=f(e("./advanced-gas-fee-save")),p=f(e("./advanced-gas-fee-defaults"));function f(e){return e&&e.__esModule?e:{default:e}}n.default=()=>{const e=(0,r.useI18nContext)(),{closeAllModals:t,currentModal:n}=(0,o.useTransactionModalContext)();return"advancedGasFee"!==n?null:a.default.createElement(l.AdvancedGasFeePopoverContextProvider,null,a.default.createElement(i.default,{className:"advanced-gas-fee-popover",title:e("advancedGasFeeModalTitle"),onClose:t,footer:a.default.createElement(d.default,null)},a.default.createElement(s.default,{margin:4},a.default.createElement(c.default,null),a.default.createElement(p.default,null),a.default.createElement(u.default,null))))}}}},{package:"$root$",file:"ui/pages/confirmations/components/advanced-gas-fee-popover/advanced-gas-fee-popover.js"}],[5485,{"../../../../../../shared/constants/gas":4500,"../../../../../../shared/modules/conversion.utils":4537,"../../../../../components/ui/button":5198,"../../../../../contexts/gasFee":5323,"../../../../../contexts/transaction-modal":5331,"../../../../../hooks/useI18nContext":5427,"../../../hooks/useTransactionEventFragment":5711,"../context":5488,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=p(e("react")),r=e("../../../../../../shared/constants/gas"),o=e("../../../../../../shared/modules/conversion.utils"),s=e("../../../../../contexts/transaction-modal"),i=e("../../../../../contexts/gasFee"),l=e("../../../hooks/useTransactionEventFragment"),c=e("../../../../../hooks/useI18nContext"),u=p(e("../../../../../components/ui/button")),d=e("../context");function p(e){return e&&e.__esModule?e:{default:e}}n.default=()=>{const{closeModal:e}=(0,s.useTransactionModalContext)(),{updateTransactionEventFragment:t}=(0,l.useTransactionEventFragment)(),{updateTransaction:n}=(0,i.useGasFeeContext)(),p=(0,c.useI18nContext)(),{gasLimit:f,hasErrors:m,maxFeePerGas:g,maxPriorityFeePerGas:h}=(0,d.useAdvancedGasFeePopoverContext)();return a.default.createElement(u.default,{type:"primary",disabled:m,onClick:()=>{n({estimateUsed:r.PriorityLevels.custom,maxFeePerGas:(0,o.decGWEIToHexWEI)(g),maxPriorityFeePerGas:(0,o.decGWEIToHexWEI)(h),gasLimit:f}),t({properties:{gas_edit_type:"advanced"}}),e(["advancedGasFee","editGasFee"])}},p("save"))}}}},{package:"$root$",file:"ui/pages/confirmations/components/advanced-gas-fee-popover/advanced-gas-fee-save/advanced-gas-fee-save.js"}],[5486,{"./advanced-gas-fee-save":5485},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./advanced-gas-fee-save"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/advanced-gas-fee-popover/advanced-gas-fee-save/index.js"}],[5487,{"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.AdvancedGasFeePopoverContextProvider=n.AdvancedGasFeePopoverContext=void 0,n.useAdvancedGasFeePopoverContext=function(){return(0,r.useContext)(i)};var a,r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=s(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=(a=e("prop-types"))&&a.__esModule?a:{default:a};function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(s=function(e){return e?n:t})(e)}const i=n.AdvancedGasFeePopoverContext=(0,r.createContext)({}),l=({children:e})=>{const[t,n]=(0,r.useState)(),[a,o]=(0,r.useState)(),[s,l]=(0,r.useState)(),[c,u]=(0,r.useState)({maxFeePerGas:!1,maxPriorityFeePerGas:!1,gasLimit:!1}),d=(0,r.useCallback)(((e,t)=>{c[e]!==t&&u({...c,[e]:t})}),[c,u]),[p,f]=(0,r.useState)();return r.default.createElement(i.Provider,{value:{gasLimit:t,hasErrors:c.maxFeePerGas||c.maxPriorityFeePerGas||c.gasLimit,gasErrors:c,maxFeePerGas:a,maxPriorityFeePerGas:s,setErrorValue:d,maxBaseFee:p,setGasLimit:n,setMaxPriorityFeePerGas:l,setMaxFeePerGas:o,setMaxBaseFee:f}},e)};n.AdvancedGasFeePopoverContextProvider=l,l.propTypes={children:o.default.node.isRequired}}}},{package:"$root$",file:"ui/pages/confirmations/components/advanced-gas-fee-popover/context/advancedGasFeePopover.js"}],[5488,{"./advancedGasFeePopover":5487},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var a=e("./advancedGasFeePopover");Object.keys(a).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in n&&n[e]===a[e]||Object.defineProperty(n,e,{enumerable:!0,get:function(){return a[e]}}))}))}}},{package:"$root$",file:"ui/pages/confirmations/components/advanced-gas-fee-popover/context/index.js"}],[5489,{"./advanced-gas-fee-popover":5484},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./advanced-gas-fee-popover"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/advanced-gas-fee-popover/index.js"}],[5490,{"../../../../../shared/modules/transaction.utils":4560,"../../../../components/component-library":4955,"../../../../components/ui/box/box":5193,"../../../../components/ui/button":5198,"../../../../contexts/i18n":5324,"../../../../helpers/constants/design-system":5355,"../../../../helpers/utils/confirm-tx.util":5381,"../confirm-gas-display":5495,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=h;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=g(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=m(e("prop-types")),o=m(e("classnames")),s=m(e("../../../../components/ui/box/box")),i=m(e("../../../../components/ui/button")),l=e("../../../../components/component-library"),c=e("../../../../helpers/constants/design-system"),u=e("../../../../contexts/i18n"),d=e("../confirm-gas-display"),p=e("../../../../helpers/utils/confirm-tx.util"),f=e("../../../../../shared/modules/transaction.utils");function m(e){return e&&e.__esModule?e:{default:e}}function g(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(g=function(e){return e?n:t})(e)}function h({showHeader:e=!0,symbol:t,title:n,showEdit:r,showAdvanceGasFeeOptions:m=!1,onEditClick:g,footer:h,noBorder:y,supportsEIP1559:v,renderTransactionDetailsContent:b,renderDataContent:T,ethTransactionTotal:_,nativeCurrency:k,fiatTransactionTotal:x,currentCurrency:E,isSetApproveForAll:w,isApprovalOrRejection:C,data:S,userAcknowledgedGasMissing:P,renderSimulationFailureWarning:M,useCurrencyRateCheck:I}){const O=(0,a.useContext)(u.I18nContext),N=(0,f.parseStandardTokenTransactionData)(S),j=null==N?void 0:N.name,D=(null==j?void 0:j.charAt(0).toUpperCase())+(null==j?void 0:j.slice(1));return a.default.createElement(s.default,{className:(0,o.default)({"approve-content-card-container__card":!y,"approve-content-card-container__card--no-border":y})},e&&a.default.createElement(s.default,{display:c.Display.Flex,flexDirection:c.FlexDirection.Row,alignItems:c.AlignItems.center,justifyContent:c.JustifyContent.flexEnd,className:"approve-content-card-container__card-header"},v&&n===O("transactionFee")?null:a.default.createElement(a.default.Fragment,null,a.default.createElement(s.default,{className:"approve-content-card-container__card-header__symbol"},t),a.default.createElement(s.default,{marginLeft:4,className:"approve-content-card-container__card-header__title"},a.default.createElement(l.Text,{variant:c.TextVariant.bodySmBold,as:"h6"},n))),r&&(!m||!v)&&a.default.createElement(s.default,{width:c.BlockSize.OneSixth},a.default.createElement(i.default,{type:"link",onClick:()=>g()},a.default.createElement(l.Text,{variant:c.TextVariant.bodySm,color:c.TextColor.primaryDefault,as:"h6"},O("edit"))))),a.default.createElement(s.default,{marginTop:1,marginBottom:3,className:"approve-content-card-container__card-content"},b&&(v&&!M?a.default.createElement(d.ConfirmGasDisplay,{userAcknowledgedGasMissing:P}):a.default.createElement(s.default,{display:c.Display.Flex,flexDirection:c.FlexDirection.Row,justifyContent:c.JustifyContent.spaceBetween},a.default.createElement(s.default,null,a.default.createElement(l.Text,{variant:c.TextVariant.bodySm,color:c.TextColor.textAlternative,as:"h6"},O("feeAssociatedRequest"))),a.default.createElement(s.default,{display:c.Display.Flex,flexDirection:c.FlexDirection.Column,alignItems:c.AlignItems.flexEnd,textAlign:c.TextAlign.Right},I&&a.default.createElement(s.default,null,a.default.createElement(l.Text,{variant:c.TextVariant.headingSm,fontWeight:c.FontWeight.Bold,color:c.TextColor.textDefault,as:"h4"},(0,p.formatCurrency)(x,E))),a.default.createElement(s.default,null,a.default.createElement(l.Text,{variant:c.TextVariant.bodySm,fontWeight:c.FontWeight.Normal,color:c.TextColor.textMuted,as:"h6"},`${_} ${k}`))))),T&&a.default.createElement(s.default,{display:c.Display.Flex,flexDirection:c.FlexDirection.Column},a.default.createElement(s.default,null,a.default.createElement(l.Text,{variant:c.TextVariant.bodySm,color:c.TextColor.textAlternative,as:"h6"},`${O("function",[D])}`)),w&&C!==undefined?a.default.createElement(s.default,null,a.default.createElement(l.Text,{variant:c.TextVariant.bodySm,color:c.TextColor.textAlternative,as:"h6"},`${O("parameters")}: ${C}`)):null,a.default.createElement(s.default,{marginRight:4,className:"approve-content-card-container__data__data-block"},a.default.createElement(l.Text,{variant:c.TextVariant.bodySm,color:c.TextColor.textAlternative,as:"h6"},S)))),h)}h.propTypes={showHeader:r.default.bool,symbol:r.default.node,title:r.default.string,showEdit:r.default.bool,showAdvanceGasFeeOptions:r.default.bool,onEditClick:r.default.func,footer:r.default.node,noBorder:r.default.bool,supportsEIP1559:r.default.bool,renderTransactionDetailsContent:r.default.bool,renderDataContent:r.default.bool,ethTransactionTotal:r.default.string,nativeCurrency:r.default.string,fiatTransactionTotal:r.default.string,currentCurrency:r.default.string,isSetApproveForAll:r.default.bool,isApprovalOrRejection:r.default.bool,data:r.default.string,userAcknowledgedGasMissing:r.default.bool,renderSimulationFailureWarning:r.default.bool,useCurrencyRateCheck:r.default.bool}}}},{package:"$root$",file:"ui/pages/confirmations/components/approve-content-card/approve-content-card.js"}],[5491,{"../../../../components/component-library":4955,"../../../../hooks/useI18nContext":5427,"../../../../selectors":5987,"../../../../store/actions":5998,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.BlockaidUnavailableBannerAlert=void 0;var a,r=(a=e("react"))&&a.__esModule?a:{default:a},o=e("react-redux"),s=e("../../../../components/component-library"),i=e("../../../../hooks/useI18nContext"),l=e("../../../../selectors"),c=e("../../../../store/actions");n.BlockaidUnavailableBannerAlert=()=>{const e=(0,o.useDispatch)(),t=(0,i.useI18nContext)(),n=(0,o.useSelector)(l.getHasMigratedFromOpenSeaToBlockaid),a=(0,o.useSelector)(l.getIsNetworkSupportedByBlockaid),u=(0,o.useSelector)(l.getHasDismissedOpenSeaToBlockaidBanner);return n&&!a&&!u?r.default.createElement(s.BannerAlert,{severity:s.BannerAlertSeverity.Info,title:t("openSeaToBlockaidTitle"),description:t("openSeaToBlockaidDescription"),actionButtonLabel:t("openSeaToBlockaidBtnLabel"),actionButtonProps:{href:"https://snaps.metamask.io/transaction-insights",externalLink:!0},margin:4,onClose:()=>{e((0,c.dismissOpenSeaToBlockaidBanner)())}}):null}}}},{package:"$root$",file:"ui/pages/confirmations/components/blockaid-unavailable-banner-alert/blockaid-unavailable-banner-alert.tsx"}],[5492,{"../../../../ducks/send":5348,"../../../../helpers/utils/transactions.util":5397,"../../../../selectors":5987,"../gas-details-item":5573,"./confirm-legacy-gas-display":5494,"@metamask/transaction-controller":2234,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=p(e("react")),r=p(e("prop-types")),o=e("react-redux"),s=e("@metamask/transaction-controller"),i=e("../../../../selectors"),l=e("../../../../helpers/utils/transactions.util"),c=p(e("../gas-details-item")),u=e("../../../../ducks/send"),d=e("./confirm-legacy-gas-display");function p(e){return e&&e.__esModule?e:{default:e}}const f=({userAcknowledgedGasMissing:e=!1})=>{const{txParams:t}=(0,o.useSelector)((e=>(0,i.txDataSelector)(e))),n=(0,o.useSelector)(u.getCurrentDraftTransaction),r=null==n?void 0:n.transactionType;let p;p=r?r===s.TransactionEnvelopeType.legacy:(0,l.isLegacyTransaction)(t);const f="confirm-gas-display";return(0,o.useSelector)(i.checkNetworkAndAccountSupports1559)&&!p?a.default.createElement(c.default,{"data-testid":f,userAcknowledgedGasMissing:e}):a.default.createElement(d.ConfirmLegacyGasDisplay,{"data-testid":f})};f.propTypes={userAcknowledgedGasMissing:r.default.bool};n.default=f}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm-gas-display/confirm-gas-display.js"}],[5493,{"../../../../../../shared/modules/conversion.utils":4537,"../../../../../components/app/user-preferenced-currency-display":4880,"../../../../../components/component-library":4955,"../../../../../components/ui/info-tooltip":5248,"../../../../../components/ui/loading-heartbeat":5253,"../../../../../helpers/constants/common":5353,"../../../../../helpers/constants/design-system":5355,"../../../../../hooks/useI18nContext":5427,"../../../../../selectors":5987,"../../../hooks/useDraftTransactionWithTxParams":5699,"../../transaction-detail-item":5635,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=y(e("react")),r=y(e("prop-types")),o=e("react-redux"),s=e("../../../../../hooks/useI18nContext"),i=e("../../../../../selectors"),l=e("../../../../../helpers/constants/common"),c=y(e("../../transaction-detail-item")),u=y(e("../../../../../components/app/user-preferenced-currency-display")),d=y(e("../../../../../components/ui/info-tooltip")),p=y(e("../../../../../components/ui/loading-heartbeat")),f=e("../../../../../helpers/constants/design-system"),m=e("../../../hooks/useDraftTransactionWithTxParams"),g=e("../../../../../components/component-library"),h=e("../../../../../../shared/modules/conversion.utils");function y(e){return e&&e.__esModule?e:{default:e}}const v=()=>a.default.createElement(p.default,null),b=({"data-testid":e}={})=>{const t=(0,s.useI18nContext)(),n=(0,o.useSelector)(i.getIsMainnet),r=(0,o.useSelector)(i.getUseCurrencyRateCheck),{useNativeCurrencyAsPrimaryCurrency:p}=(0,o.useSelector)(i.getPreferences),y=(0,o.useSelector)(i.getUnapprovedTransactions),b=(0,m.useDraftTransactionWithTxParams)(),T=(0,o.useSelector)((e=>(0,i.txDataSelector)(e))),{id:_,dappSuggestedGasFees:k,layer1GasFee:x}=T,E=Object.keys(b).length?b:y[_]||{},{hexMinimumTransactionFee:w,hexMaximumTransactionFee:C}=(0,o.useSelector)((e=>(0,i.transactionFeeSelector)(e,E))),S=(0,h.addHexes)(w,x??"0x0"),P=(0,h.addHexes)(C,x??"0x0");return a.default.createElement(c.default,{key:"legacy-gas-details","data-testid":e,detailTitle:k?a.default.createElement(a.default.Fragment,null,t("transactionDetailGasHeading"),a.default.createElement(d.default,{contentText:t("transactionDetailDappGasTooltip"),position:"top"},a.default.createElement(g.Icon,{name:g.IconName.Info}))):a.default.createElement(a.default.Fragment,null,t("transactionDetailGasHeading"),a.default.createElement(d.default,{contentText:a.default.createElement(a.default.Fragment,null,a.default.createElement("p",null,t("transactionDetailGasTooltipIntro",[n?t("networkNameEthereum"):""])),a.default.createElement("p",null,t("transactionDetailGasTooltipExplanation")),a.default.createElement("p",null,a.default.createElement("a",{href:"https://community.metamask.io/t/what-is-gas-why-do-transactions-take-so-long/3172",target:"_blank",rel:"noopener noreferrer"},t("transactionDetailGasTooltipConversion")))),position:"top"},a.default.createElement(g.Icon,{name:g.IconName.Info}))),detailText:r&&a.default.createElement("div",null,v(),a.default.createElement(u.default,{type:l.SECONDARY,value:S,hideLabel:Boolean(p)})),detailTotal:a.default.createElement("div",null,v(),a.default.createElement(u.default,{type:l.PRIMARY,value:S,hideLabel:!p,suffixProps:{color:f.TextColor.textDefault,variant:f.TextVariant.bodyMdBold},textProps:{color:f.TextColor.textDefault,variant:f.TextVariant.bodyMdBold},numberOfDecimals:6})),subText:a.default.createElement(a.default.Fragment,null,a.default.createElement("strong",{key:"editGasSubTextFeeLabel"},t("editGasSubTextFeeLabel")),a.default.createElement("div",{key:"editGasSubTextFeeValue"},v(),a.default.createElement(u.default,{key:"editGasSubTextFeeAmount",type:l.PRIMARY,value:P,hideLabel:!p}))),subTitle:k&&t("transactionDetailDappGasMoreInfo")})};b.propTypes={"data-testid":r.default.string};n.default=b}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm-gas-display/confirm-legacy-gas-display/confirm-legacy-gas-display.js"}],[5494,{"./confirm-legacy-gas-display":5493},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"ConfirmLegacyGasDisplay",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./confirm-legacy-gas-display"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm-gas-display/confirm-legacy-gas-display/index.js"}],[5495,{"./confirm-gas-display":5492},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"ConfirmGasDisplay",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./confirm-gas-display"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm-gas-display/index.js"}],[5496,{"../../../../../shared/modules/buffer-utils":4535,"../../../../components/component-library":4955,"../../../../components/ui/box":5194,"../../../../helpers/constants/design-system":5355,"../../../../hooks/useI18nContext":5427,"../../../../selectors":5987,"../../hooks/useTransactionFunctionType":5712,"../transaction-decoding/components/ui/copy-raw-data":5634,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=m(e("react")),r=m(e("prop-types")),o=e("react-redux"),s=e("../../../../../shared/modules/buffer-utils"),i=e("../../../../selectors"),l=e("../../../../hooks/useI18nContext"),c=e("../../hooks/useTransactionFunctionType"),u=e("../../../../helpers/constants/design-system"),d=m(e("../../../../components/ui/box")),p=e("../../../../components/component-library"),f=m(e("../transaction-decoding/components/ui/copy-raw-data"));function m(e){return e&&e.__esModule?e:{default:e}}const g=({txData:e,dataHexComponent:t})=>{const n=(0,l.useI18nContext)(),{txParams:r={}}=e,m=(0,o.useSelector)((e=>(0,i.getKnownMethodData)(e,r.data)||{})),{functionType:g}=(0,c.useTransactionFunctionType)(e);if(t)return t;if(!r.data||!r.to)return null;const{params:h}=m,y=null!=h&&h.length?`(${h.map((({type:e})=>e)).join(", ")})`:"";return a.default.createElement(d.default,{padding:4},a.default.createElement(d.default,{paddingBottom:3,paddingTop:2},a.default.createElement(p.Text,{as:"span",textTransform:u.TextTransform.Uppercase,variant:u.TextVariant.bodySm},`${n("functionType")}:`),a.default.createElement(p.Text,{as:"span",color:u.Color.textDefault,paddingLeft:1,textTransform:u.TextTransform.Capitalize,variant:u.TextVariant.bodySmBold},`${g} ${y}`)),h&&a.default.createElement(d.default,{backgroundColor:u.Color.backgroundAlternative,padding:4},a.default.createElement(p.Text,{as:"h3",paddingBottom:3,paddingTop:2,textTransform:u.TextTransform.Uppercase,variant:u.TextVariant.bodySm},`${n("parameters")}:`),a.default.createElement(p.Text,{overflowWrap:u.OverflowWrap.BreakWord,variant:u.TextVariant.bodySm},a.default.createElement("pre",null,JSON.stringify(h,null,2)))),a.default.createElement(p.Text,{as:"h3",paddingBottom:3,paddingTop:2,textTransform:u.TextTransform.Uppercase,variant:u.TextVariant.bodySm},`${n("hexData")}: ${(0,s.toBuffer)(null==r?void 0:r.data).length} bytes`),a.default.createElement(p.Text,{backgroundColor:u.Color.backgroundAlternative,overflowWrap:u.OverflowWrap.BreakWord,padding:4,variant:u.TextVariant.bodySm},null==r?void 0:r.data),a.default.createElement(f.default,{data:null==r?void 0:r.data}))};g.propTypes={txData:r.default.object,dataHexComponent:r.default.element};n.default=g}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm-hexdata/confirm-hexdata.js"}],[5497,{"./confirm-hexdata":5496},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"ConfirmHexData",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./confirm-hexdata"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm-hexdata/index.js"}],[5498,{"../../../../../components/app/user-preferenced-currency-display":4880,"../../../../../helpers/constants/common":5353,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=l(e("react")),r=l(e("prop-types")),o=l(e("classnames")),s=l(e("../../../../../components/app/user-preferenced-currency-display")),i=e("../../../../../helpers/constants/common");function l(e){return e&&e.__esModule?e:{default:e}}const c=e=>{const{label:t,primaryText:n,secondaryText:r,onHeaderClick:l,primaryValueTextColor:c,headerText:u,headerTextClassName:d,value:p}=e;return a.default.createElement("div",{className:"confirm-detail-row"},a.default.createElement("div",{className:"confirm-detail-row__label"},t),a.default.createElement("div",{className:"confirm-detail-row__details"},u&&a.default.createElement("div",{className:(0,o.default)("confirm-detail-row__header-text",d),onClick:()=>null==l?void 0:l()},u),n?a.default.createElement("div",{className:"confirm-detail-row__primary",style:{color:c}},n):a.default.createElement(s.default,{className:"confirm-detail-row__primary",type:i.PRIMARY,value:p,showEthLogo:!0,ethLogoHeight:18,style:{color:c},hideLabel:!0}),r?a.default.createElement("div",{className:"confirm-detail-row__secondary"},r):a.default.createElement(s.default,{className:"confirm-detail-row__secondary",type:i.SECONDARY,value:p,showEthLogo:!0,hideLabel:!0})))};c.propTypes={headerText:r.default.string,headerTextClassName:r.default.string,label:r.default.string,onHeaderClick:r.default.func,primaryValueTextColor:r.default.string,primaryText:r.default.oneOfType([r.default.string,r.default.node]),secondaryText:r.default.string,value:r.default.string};n.default=c}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm-page-container/confirm-detail-row/confirm-detail-row.component.js"}],[5499,{"./confirm-detail-row.component":5498},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./confirm-detail-row.component"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm-page-container/confirm-detail-row/index.js"}],[5500,{".":5505,"../../../../../../shared/constants/security-provider":4513,"../../../../../components/component-library":4955,"../../../../../components/ui/page-container":5275,"../../../../../components/ui/tabs":5296,"../../../../../helpers/constants/design-system":5355,"../../../../../helpers/constants/error-keys":5356,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=m(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=f(e("prop-types")),o=f(e("classnames")),s=e("../../../../../components/ui/tabs"),i=e("../../../../../components/component-library"),l=e("../../../../../components/ui/page-container"),c=e("../../../../../helpers/constants/error-keys"),u=e("../../../../../helpers/constants/design-system"),d=e("../../../../../../shared/constants/security-provider"),p=e(".");function f(e){return e&&e.__esModule?e:{default:e}}function m(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(m=function(e){return e?n:t})(e)}function g(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class h extends a.Component{renderContent(){const{detailsComponent:e,dataHexComponent:t,insightComponent:n}=this.props;return n&&(e||t)||e&&t?this.renderTabs():e||n}renderTabs(){const{t:e}=this.context,{detailsComponent:t,dataHexComponent:n,insightComponent:r}=this.props;return a.default.createElement(s.Tabs,{defaultActiveTabKey:"details"},a.default.createElement(s.Tab,{className:"confirm-page-container-content__tab",name:e("details"),tabKey:"details"},t),n&&a.default.createElement(s.Tab,{className:"confirm-page-container-content__tab",name:e("dataHex"),tabKey:"dataHex"},n),r)}render(){var e;const{action:t,errorKey:n,errorMessage:r,image:s,titleComponent:f,subtitleComponent:m,tokenAddress:g,nonce:h,detailsComponent:y,warning:v,onCancelAll:b,onCancel:T,cancelText:_,onSubmit:k,submitText:x,disabled:E,unapprovedTxCount:w,rejectNText:C,origin:S,ethGasPriceWarning:P,supportsEIP1559:M,hasTopBorder:I,nativeCurrency:O,networkName:N,toAddress:j,transactionType:D,isBuyableChain:A,openBuyCryptoInPdapp:F,txData:R}=this.props,{t:B}=this.context,L=(n||r)&&n===c.INSUFFICIENT_FUNDS_ERROR_KEY,$=n===c.IS_SIGNING_OR_SUBMITTING,G=n===c.USER_OP_CONTRACT_DEPLOY_ERROR_KEY,W=(null==R||null===(e=R.securityAlertResponse)||void 0===e?void 0:e.result_type)===d.BlockaidResultType.Malicious?"danger-primary":"primary";return a.default.createElement("div",{className:(0,o.default)("confirm-page-container-content",{"confirm-page-container-content--with-top-border":I})},v?a.default.createElement(p.ConfirmPageContainerWarning,{warning:v}):null,P&&a.default.createElement(p.ConfirmPageContainerWarning,{warning:P}),a.default.createElement(p.ConfirmPageContainerSummary,{className:(0,o.default)({"confirm-page-container-summary--border":!y}),action:t,image:s,titleComponent:f,subtitleComponent:m,tokenAddress:g,nonce:h,origin:S,toAddress:j,transactionType:D}),this.renderContent(),!M&&!L&&!$&&!G&&(n||r)&&a.default.createElement(i.BannerAlert,{severity:u.Severity.Danger,description:n?B(n):r,marginBottom:4,marginLeft:4,marginRight:4}),L&&a.default.createElement(i.BannerAlert,{severity:u.Severity.Danger,marginBottom:4,marginLeft:4,marginRight:4,description:A?B("insufficientCurrencyBuyOrDeposit",[O,N,a.default.createElement(i.Button,{variant:i.BUTTON_VARIANT.LINK,size:i.BUTTON_SIZES.INHERIT,onClick:F,key:`${O}-buy-button`},B("buyAsset",[O]))]):B("insufficientCurrencyDeposit",[O,N])}),($||G)&&a.default.createElement(i.BannerAlert,{"data-testid":"confirm-page-container-content-error-banner-2",severity:u.Severity.Danger,description:B(n),marginBottom:4,marginLeft:4,marginRight:4}),a.default.createElement(l.PageContainerFooter,{onCancel:T,cancelText:_,onSubmit:k,submitText:x,disabled:E,submitButtonType:W},w>1?a.default.createElement("a",{onClick:b},C):null))}}n.default=h,g(h,"contextTypes",{t:r.default.func.isRequired}),g(h,"propTypes",{action:r.default.string,dataHexComponent:r.default.node,detailsComponent:r.default.node,insightComponent:r.default.node,errorKey:r.default.string,errorMessage:r.default.string,tokenAddress:r.default.string,nonce:r.default.string,subtitleComponent:r.default.node,image:r.default.string,titleComponent:r.default.node,warning:r.default.string,origin:r.default.string.isRequired,ethGasPriceWarning:r.default.string,onCancelAll:r.default.func,onCancel:r.default.func,cancelText:r.default.string,onSubmit:r.default.func,submitText:r.default.string,disabled:r.default.bool,unapprovedTxCount:r.default.number,rejectNText:r.default.string,supportsEIP1559:r.default.bool,hasTopBorder:r.default.bool,nativeCurrency:r.default.string,networkName:r.default.string,toAddress:r.default.string,transactionType:r.default.string,isBuyableChain:r.default.bool,openBuyCryptoInPdapp:r.default.func,txData:r.default.object})}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm-page-container/confirm-page-container-content/confirm-page-container-content.component.js"}],[5501,{"../../../../../../../shared/constants/app":4493,"../../../../../../../shared/modules/hexstring-utils":4544,"../../../../../../components/app/modals/nickname-popovers":4692,"../../../../../../components/ui/identicon":5247,"../../../../../../components/ui/info-tooltip":5248,"../../../../../../components/ui/site-origin":5292,"../../../../../../helpers/utils/util":5399,"../../../../../../hooks/useAddressDetails":5414,"../../../../../../hooks/useI18nContext":5427,"../../../../../../selectors":5987,"@metamask/transaction-controller":2234,classnames:3049,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=b(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=e("react-redux"),o=v(e("prop-types")),s=v(e("classnames")),i=e("@metamask/transaction-controller"),l=e("../../../../../../../shared/modules/hexstring-utils"),c=e("../../../../../../hooks/useI18nContext"),u=v(e("../../../../../../hooks/useAddressDetails")),d=e("../../../../../../selectors"),p=v(e("../../../../../../components/ui/identicon")),f=v(e("../../../../../../components/ui/info-tooltip")),m=v(e("../../../../../../components/app/modals/nickname-popovers")),g=e("../../../../../../../shared/constants/app"),h=v(e("../../../../../../components/ui/site-origin")),y=e("../../../../../../helpers/utils/util");function v(e){return e&&e.__esModule?e:{default:e}}function b(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(b=function(e){return e?n:t})(e)}const T=e=>{const{action:t,titleComponent:n,subtitleComponent:o,className:v,tokenAddress:b,nonce:T,origin:_,image:k,transactionType:x}=e,[E,w]=(0,a.useState)(!1),C=(0,c.useI18nContext)(),S=(0,r.useSelector)(d.getIpfsGateway),P=(0,r.useSelector)(d.txDataSelector),{txParams:M={}}=P,{to:I}=M,O=[i.TransactionType.contractInteraction,i.TransactionType.tokenMethodTransfer,i.TransactionType.tokenMethodTransferFrom,i.TransactionType.tokenMethodSafeTransferFrom].includes(x);let N;O&&(N=x===i.TransactionType.tokenMethodTransfer||x===i.TransactionType.tokenMethodTransferFrom||x===i.TransactionType.tokenMethodSafeTransferFrom||x===i.TransactionType.tokenMethodSetApprovalForAll?b:I);const{toName:j,isTrusted:D}=(0,u.default)(N),A=(0,l.toChecksumHexAddress)(N);return a.default.createElement("div",{className:(0,s.default)("confirm-page-container-summary",v)},_===g.ORIGIN_METAMASK?null:a.default.createElement(h.default,{className:"confirm-page-container-summary__origin",siteOrigin:_}),a.default.createElement("div",{className:"confirm-page-container-summary__action-row"},a.default.createElement("div",{className:"confirm-page-container-summary__action"},O&&j&&a.default.createElement("span",{className:"confirm-page-container-summary__action__contract-address"},a.default.createElement("button",{className:"confirm-page-container-summary__action__contract-address-btn",onClick:()=>w(!0),role:"button"},j),":"),a.default.createElement("span",{className:"confirm-page-container-summary__action__name"},t),O&&!1===D&&a.default.createElement(f.default,{position:"top",contentText:C("unverifiedContractAddressMessage")})),T&&a.default.createElement("div",{className:"confirm-page-container-summary__nonce"},`#${T}`)),a.default.createElement(a.default.Fragment,null,a.default.createElement("div",{className:"confirm-page-container-summary__title"},(()=>{const e=(0,y.getAssetImageURL)(k,S);return k?a.default.createElement("img",{className:"confirm-page-container-summary__icon",width:36,src:e}):N?a.default.createElement(p.default,{className:"confirm-page-container-summary__icon",diameter:36,address:N}):null})(),n),o),E&&a.default.createElement(m.default,{onClose:()=>w(!1),address:A}))};T.propTypes={action:o.default.string,image:o.default.string,titleComponent:o.default.node,subtitleComponent:o.default.node,className:o.default.string,tokenAddress:o.default.string,nonce:o.default.string,origin:o.default.string.isRequired,transactionType:o.default.string};n.default=T}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm-page-container/confirm-page-container-content/confirm-page-container-summary/confirm-page-container-summary.component.js"}],[5502,{"./confirm-page-container-summary.component":5501},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./confirm-page-container-summary.component"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm-page-container/confirm-page-container-content/confirm-page-container-summary/index.js"}],[5503,{"../../../../../../components/component-library":4955,"../../../../../../helpers/constants/design-system":5355,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=i(e("react")),r=i(e("prop-types")),o=e("../../../../../../components/component-library"),s=e("../../../../../../helpers/constants/design-system");function i(e){return e&&e.__esModule?e:{default:e}}const l=e=>a.default.createElement("div",{className:"confirm-page-container-warning"},a.default.createElement(o.Icon,{name:o.IconName.Info,color:s.IconColor.warningDefault,className:"confirm-page-container-warning__icon"}),a.default.createElement("div",{className:"confirm-page-container-warning__warning"},e.warning));l.propTypes={warning:r.default.string};n.default=l}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm-page-container/confirm-page-container-content/confirm-page-container-warning/confirm-page-container-warning.component.js"}],[5504,{"./confirm-page-container-warning.component":5503},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./confirm-page-container-warning.component"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm-page-container/confirm-page-container-content/confirm-page-container-warning/index.js"}],[5505,{"./confirm-page-container-content.component":5500,"./confirm-page-container-summary":5502,"./confirm-page-container-warning":5504},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"ConfirmPageContainerSummary",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(n,"ConfirmPageContainerWarning",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return a.default}});var a=s(e("./confirm-page-container-content.component")),r=s(e("./confirm-page-container-summary")),o=s(e("./confirm-page-container-warning"));function s(e){return e&&e.__esModule?e:{default:e}}}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm-page-container/confirm-page-container-content/index.js"}],[5506,{"../../../../../../app/scripts/lib/util":120,"../../../../../../shared/constants/app":4493,"../../../../../components/app/network-display":4714,"../../../../../components/component-library":4955,"../../../../../components/ui/account-mismatch-warning/account-mismatch-warning.component":5189,"../../../../../components/ui/identicon":5247,"../../../../../helpers/utils/util":5399,"../../../../../hooks/useI18nContext":5427,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=m;var a=f(e("react")),r=f(e("prop-types")),o=e("../../../../../../shared/constants/app"),s=e("../../../../../../app/scripts/lib/util"),i=f(e("../../../../../components/app/network-display")),l=f(e("../../../../../components/ui/identicon")),c=e("../../../../../helpers/utils/util"),u=f(e("../../../../../components/ui/account-mismatch-warning/account-mismatch-warning.component")),d=e("../../../../../hooks/useI18nContext"),p=e("../../../../../components/component-library");function f(e){return e&&e.__esModule?e:{default:e}}function m({onEdit:e,showEdit:t,accountAddress:n,showAccountInHeader:r,children:f,origin:m}){const g=(0,d.useI18nContext)(),h=(0,s.getEnvironmentType)(),y=h!==o.ENVIRONMENT_TYPE_NOTIFICATION&&h!==o.ENVIRONMENT_TYPE_POPUP;return!t&&y?f:a.default.createElement("div",{className:"confirm-page-container-header","data-testid":"header-container"},a.default.createElement("div",{className:"confirm-page-container-header__row"},r?a.default.createElement("div",{className:"confirm-page-container-header__address-container"},a.default.createElement("div",{className:"confirm-page-container-header__address-identicon"},a.default.createElement(l.default,{address:n,diameter:24})),a.default.createElement("div",{className:"confirm-page-container-header__address","data-testid":"header-address"},(0,c.shortenAddress)(n)),a.default.createElement(u.default,{address:n})):m===o.ORIGIN_METAMASK&&a.default.createElement("div",{className:"confirm-page-container-header__back-button-container",style:{visibility:t?"initial":"hidden"}},a.default.createElement(p.Icon,{name:p.IconName.ArrowLeft}),a.default.createElement("span",{"data-testid":"confirm-page-back-edit-button",className:"confirm-page-container-header__back-button",onClick:()=>e()},g("edit"))),a.default.createElement(i.default,null)),f)}m.propTypes={accountAddress:r.default.string,showAccountInHeader:r.default.bool,showEdit:r.default.bool,onEdit:r.default.func,children:r.default.node,origin:r.default.string}}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm-page-container/confirm-page-container-header/confirm-page-container-header.component.js"}],[5507,{"./confirm-page-container-header.component":5506},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./confirm-page-container-header.component"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm-page-container/confirm-page-container-header/index.js"}],[5508,{"../../../../../contexts/i18n":5324,"../../../../../ducks/confirm-transaction/confirm-transaction.duck":5338,"../../../../../helpers/constants/routes":5361,"../../../../../selectors":5987,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=u(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=e("react-redux"),o=e("react-router-dom"),s=e("../../../../../selectors"),i=e("../../../../../contexts/i18n"),l=e("../../../../../helpers/constants/routes"),c=e("../../../../../ducks/confirm-transaction/confirm-transaction.duck");function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(u=function(e){return e?n:t})(e)}n.default=()=>{const e=(0,a.useContext)(i.I18nContext),t=(0,r.useDispatch)(),n=(0,o.useHistory)(),{id:u}=(0,o.useParams)(),d=(0,r.useSelector)(s.unapprovedDecryptMsgsSelector),p=(0,r.useSelector)(s.unapprovedEncryptionPublicKeyMsgsSelector),f=(0,r.useSelector)(s.unconfirmedTransactionsListSelector)??[],m=[...Object.keys(d||{}),...Object.keys(p||{})],g=f.map((e=>e.id)).filter((e=>!1===m.includes(e))),h=g.indexOf(u),y=g.length,v=h+1,b=g[h+1],T=g[h-1],_=g.length>1,k=g[0],x=g[g.length-1],E=e=>{if(e){var a;t((0,c.clearConfirmTransaction)());const r=g.indexOf(e);n.push(null!==(a=f[r])&&void 0!==a&&a.msgParams?`${l.CONFIRM_TRANSACTION_ROUTE}/${e}${l.SIGNATURE_REQUEST_PATH}`:`${l.CONFIRM_TRANSACTION_ROUTE}/${e}`)}};return a.default.createElement("div",{className:"confirm-page-container-navigation",style:{display:_?"flex":"none"}},a.default.createElement("div",{className:"confirm-page-container-navigation__container","data-testid":"navigation-container",style:{visibility:T?"initial":"hidden"}},a.default.createElement("button",{className:"confirm-page-container-navigation__arrow","data-testid":"first-page",onClick:()=>E(k)},a.default.createElement("i",{className:"fa fa-angle-double-left fa-2x"})),a.default.createElement("button",{className:"confirm-page-container-navigation__arrow","data-testid":"previous-page",onClick:()=>E(T)},a.default.createElement("i",{className:"fa fa-angle-left fa-2x"}))),a.default.createElement("div",{className:"confirm-page-container-navigation__textcontainer"},a.default.createElement("div",{className:"confirm-page-container-navigation__navtext"},v," ",e("ofTextNofM")," ",y),a.default.createElement("div",{className:"confirm-page-container-navigation__longtext"},e("requestsAwaitingAcknowledgement"))),a.default.createElement("div",{className:"confirm-page-container-navigation__container",style:{visibility:b?"initial":"hidden"}},a.default.createElement("button",{className:"confirm-page-container-navigation__arrow","data-testid":"next-page",onClick:()=>E(b)},a.default.createElement("i",{className:"fa fa-angle-right fa-2x"})),a.default.createElement("button",{className:"confirm-page-container-navigation__arrow","data-testid":"last-page",onClick:()=>E(x)},a.default.createElement("i",{className:"fa fa-angle-double-right fa-2x"}))))}}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm-page-container/confirm-page-container-navigation/confirm-page-container-navigation.component.js"}],[5509,{"./confirm-page-container-navigation.component":5508},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./confirm-page-container-navigation.component"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm-page-container/confirm-page-container-navigation/index.js"}],[5510,{".":5511,"../../../../../shared/constants/gas":4500,"../../../../../shared/constants/metametrics":4505,"../../../../../shared/constants/network":4507,"../../../../../shared/constants/security-provider":4513,"../../../../../shared/constants/transaction":4520,"../../../../../shared/lib/token-util":4530,"../../../../components/app/network-account-balance-header/network-account-balance-header":4713,"../../../../components/app/snaps/insight-warnings":4760,"../../../../components/component-library":4955,"../../../../components/ui/actionable-message/actionable-message":5190,"../../../../components/ui/button":5198,"../../../../components/ui/error-message":5221,"../../../../components/ui/page-container":5275,"../../../../components/ui/sender-to-recipient":5287,"../../../../contexts/gasFee":5323,"../../../../contexts/metametrics":5327,"../../../../helpers/constants/design-system":5355,"../../../../helpers/constants/error-keys":5356,"../../../../hooks/experiences/useRamps":5403,"../../../../hooks/useI18nContext":5427,"../../../../hooks/useTransactionInsights":5450,"../../../../selectors":5987,"../advanced-gas-fee-popover":5489,"../edit-gas-fee-popover/edit-gas-fee-popover":5557,"../edit-gas-popover":5570,"../set-approval-for-all-warning":5585,"@metamask/transaction-controller":2234,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=A(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=D(e("prop-types")),o=e("react-redux"),s=e("@metamask/transaction-controller"),i=e("../../../../../shared/constants/gas"),l=e("../../../../contexts/gasFee"),c=e("../../../../../shared/constants/transaction"),u=e("../../../../../shared/constants/network"),d=e("../../../../components/ui/page-container"),p=D(e("../../../../components/ui/button")),f=D(e("../../../../components/ui/actionable-message/actionable-message")),m=D(e("../../../../components/ui/sender-to-recipient")),g=e("../../../../../shared/lib/token-util"),h=D(e("../advanced-gas-fee-popover")),y=D(e("../edit-gas-fee-popover/edit-gas-fee-popover")),v=D(e("../edit-gas-popover")),b=D(e("../../../../components/ui/error-message")),T=e("../../../../helpers/constants/error-keys"),_=e("../../../../components/component-library"),k=e("../../../../helpers/constants/design-system"),x=D(e("../../../../components/app/network-account-balance-header/network-account-balance-header")),E=D(e("../set-approval-for-all-warning")),w=e("../../../../hooks/useI18nContext"),C=D(e("../../../../hooks/useTransactionInsights")),S=D(e("../../../../components/app/snaps/insight-warnings")),P=e("../../../../selectors"),M=D(e("../../../../hooks/experiences/useRamps")),I=e("../../../../contexts/metametrics"),O=e("../../../../../shared/constants/metametrics"),N=e("../../../../../shared/constants/security-provider"),j=e(".");function D(e){return e&&e.__esModule?e:{default:e}}function A(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(A=function(e){return e?n:t})(e)}const F=e=>{var t;const{showEdit:n,onEdit:r,fromName:D,fromAddress:A,toEns:F,toNickname:R,toAddress:B,disabled:L,errorKey:$,errorMessage:G,contentComponent:W,action:q,title:U,image:V,titleComponent:H,subtitleComponent:z,detailsComponent:Y,dataHexComponent:K,onCancelAll:J,onCancel:X,onSubmit:Z,onSetApprovalForAll:Q,showWarningModal:ee,tokenAddress:te,nonce:ne,unapprovedTxCount:ae,warning:re,hideSenderToRecipient:oe,showAccountInHeader:se,origin:ie,ethGasPriceWarning:le,editingGas:ce,handleCloseEditGas:ue,currentTransaction:de,supportsEIP1559:pe,nativeCurrency:fe,txData:me,assetStandard:ge,isApprovalOrRejection:he,displayAccountBalanceHeader:ye}=e,ve=(0,w.useI18nContext)(),be=(0,a.useContext)(I.MetaMetricsContext),[Te,_e]=(0,a.useState)("0"),[ke,xe]=(0,a.useState)(!1),Ee=(0,o.useSelector)(P.getIsBuyableChain),we=(0,o.useSelector)((e=>(0,P.getAddressBookEntry)(e,B))),Ce=(0,o.useSelector)(P.getNetworkIdentifier),Se=(0,o.useSelector)(P.getSwapsDefaultToken).string,Pe=(0,o.useSelector)(P.getInternalAccounts),Me=(0,P.getAccountName)(Pe,B),Ie=Me||(null==we?void 0:we.name),Oe=Boolean(Me),Ne=(0,o.useSelector)((e=>(0,P.getMetadataContractName)(e,B))),{openBuyCryptoInPdapp:je}=(0,M.default)(),De=de.type===s.TransactionType.tokenMethodSetApprovalForAll,Ae=W&&L&&($||G),Fe=u.NETWORK_TO_NAME_MAP[de.chainId]||Ce,Re=(0,a.useCallback)((async()=>{const e=await(0,g.fetchTokenBalance)(te,A,global.ethereumProvider);_e(e.toString()||"0")}),[A,te]),Be=(0,C.default)({txData:me}),Le=null==Be?void 0:Be.insightComponent,$e=()=>De&&he?Q():Z(),Ge=()=>{var e;return(null==Be||null===(e=Be.warnings)||void 0===e?void 0:e.length)>0?xe(!0):$e()};(0,a.useEffect)((()=>{De&&ge===c.TokenStandard.ERC721&&Re()}),[de,ge,De,Re,Te]);const We=(null===(t=me.securityAlertResponse)||void 0===t?void 0:t.result_type)===N.BlockaidResultType.Malicious;return a.default.createElement(l.GasFeeContextProvider,{transaction:de},a.default.createElement("div",{className:"page-container","data-testid":"page-container"},a.default.createElement(j.ConfirmPageContainerNavigation,null),ye?a.default.createElement(x.default,{accountName:D,accountBalance:Se,tokenName:fe,accountAddress:A,networkName:Fe,chainId:de.chainId}):a.default.createElement(j.ConfirmPageContainerHeader,{showEdit:n,onEdit:()=>r(),showAccountInHeader:se,accountAddress:A,origin:ie},oe?null:a.default.createElement(m.default,{senderName:D,senderAddress:A,recipientName:Ie,recipientMetadataName:Ne,recipientAddress:B,recipientEns:F,recipientNickname:R,recipientIsOwnedAccount:Oe})),W||a.default.createElement(j.ConfirmPageContainerContent,{action:q,title:U,image:V,titleComponent:H,subtitleComponent:z,detailsComponent:Y,dataHexComponent:K,insightComponent:Le,errorMessage:G,errorKey:$,tokenAddress:te,nonce:ne,warning:re,onCancelAll:J,onCancel:X,cancelText:ve("reject"),onSubmit:Ge,submitText:ve("confirm"),disabled:L,unapprovedTxCount:ae,rejectNText:ve("rejectTxsN",[ae]),origin:ie,ethGasPriceWarning:le,supportsEIP1559:pe,currentTransaction:de,nativeCurrency:fe,networkName:Fe,toAddress:B,transactionType:de.type,isBuyableChain:Ee,openBuyCryptoInPdapp:je,txData:me}),Ae&&$===T.INSUFFICIENT_FUNDS_ERROR_KEY&&a.default.createElement("div",{className:"confirm-approve-content__warning"},a.default.createElement(f.default,{message:Ee?a.default.createElement(_.Text,{variant:k.TextVariant.bodySm,textAlign:k.TextAlign.Left,as:"h6"},ve("insufficientCurrencyBuyOrDeposit",[fe,Fe,a.default.createElement(p.default,{type:"inline",className:"confirm-page-container-content__link",onClick:()=>{je(),be({event:O.MetaMetricsEventName.NavBuyButtonClicked,category:O.MetaMetricsEventCategory.Navigation,properties:{location:"Transaction Confirmation",text:"Buy"}})},key:`${fe}-buy-button`},ve("buyAsset",[fe]))])):a.default.createElement(_.Text,{variant:k.TextVariant.bodySm,textAlign:k.TextAlign.Left,as:"h6"},ve("insufficientCurrencyDeposit",[fe,Fe])),useIcon:!0,iconFillColor:"var(--color-error-default)",type:"danger"})),Ae&&$!==T.INSUFFICIENT_FUNDS_ERROR_KEY&&a.default.createElement("div",{className:"confirm-approve-content__warning"},a.default.createElement(b.default,{errorKey:$})),ee&&a.default.createElement(E.default,{collectionName:U,senderAddress:A,name:D,isERC721:ge===c.TokenStandard.ERC721,total:Te,onSubmit:Z,onCancel:X}),W&&a.default.createElement(d.PageContainerFooter,{onCancel:X,cancelText:ve("reject"),onSubmit:Ge,submitText:ve("confirm"),submitButtonType:De&&he||We?"danger-primary":"primary",disabled:L},ae>1&&a.default.createElement("a",{onClick:J},ve("rejectTxsN",[ae]))),ce&&!pe&&a.default.createElement(v.default,{mode:i.EditGasModes.modifyInPlace,onClose:ue,transaction:de}),pe&&a.default.createElement(a.default.Fragment,null,a.default.createElement(y.default,null),a.default.createElement(h.default,null)),ke&&a.default.createElement(S.default,{warnings:Be.warnings,origin:ie,onCancel:()=>xe(!1),onSubmit:()=>{$e(),xe(!1)}})))};F.propTypes={action:r.default.string,onEdit:r.default.func,showEdit:r.default.bool,subtitleComponent:r.default.node,title:r.default.string,image:r.default.string,titleComponent:r.default.node,hideSenderToRecipient:r.default.bool,showAccountInHeader:r.default.bool,assetStandard:r.default.string,fromAddress:r.default.string,fromName:r.default.string,toAddress:r.default.string,toEns:r.default.string,toNickname:r.default.string,contentComponent:r.default.node,errorKey:r.default.string,errorMessage:r.default.string,dataHexComponent:r.default.node,detailsComponent:r.default.node,txData:r.default.object,tokenAddress:r.default.string,nonce:r.default.string,warning:r.default.string,unapprovedTxCount:r.default.number,origin:r.default.string.isRequired,ethGasPriceWarning:r.default.string,onCancelAll:r.default.func,onCancel:r.default.func,onSubmit:r.default.func,onSetApprovalForAll:r.default.func,showWarningModal:r.default.bool,disabled:r.default.bool,editingGas:r.default.bool,handleCloseEditGas:r.default.func,currentTransaction:r.default.object.isRequired,supportsEIP1559:r.default.bool,nativeCurrency:r.default.string,isApprovalOrRejection:r.default.bool,displayAccountBalanceHeader:r.default.bool};n.default=F}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm-page-container/confirm-page-container.component.js"}],[5511,{"../../../../components/app/snaps/snap-insight/snap-insight":4779,"./confirm-detail-row":5499,"./confirm-page-container-content":5505,"./confirm-page-container-header":5507,"./confirm-page-container-navigation":5509,"./confirm-page-container.component":5510},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"ConfirmDetailRow",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(n,"ConfirmPageContainerContent",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(n,"ConfirmPageContainerHeader",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(n,"ConfirmPageContainerNavigation",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(n,"ConfirmPageContainerSummary",{enumerable:!0,get:function(){return i.ConfirmPageContainerSummary}}),Object.defineProperty(n,"SnapInsight",{enumerable:!0,get:function(){return l.SnapInsight}}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return a.default}});var a=u(e("./confirm-page-container.component")),r=u(e("./confirm-page-container-header")),o=u(e("./confirm-detail-row")),s=u(e("./confirm-page-container-navigation")),i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("./confirm-page-container-content")),l=e("../../../../components/app/snaps/snap-insight/snap-insight");function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}function u(e){return e&&e.__esModule?e:{default:e}}}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm-page-container/index.js"}],[5512,{"../../../../components/app/user-preferenced-currency-display":4880,"../../../../components/component-library":4955,"../../../../helpers/constants/common":5353,"../../../../helpers/constants/design-system":5355,"../../../../helpers/utils/transactions.util":5397,"../../../../selectors":5987,"../../hooks/useTransactionInfo":5714,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=f(e("react")),r=f(e("prop-types")),o=e("react-redux"),s=e("../../../../helpers/constants/common"),i=e("../../../../helpers/constants/design-system"),l=e("../../../../helpers/utils/transactions.util"),c=e("../../../../selectors"),u=e("../../hooks/useTransactionInfo"),d=e("../../../../components/component-library"),p=f(e("../../../../components/app/user-preferenced-currency-display"));function f(e){return e&&e.__esModule?e:{default:e}}const m=({txData:e,hexTransactionAmount:t,subtitleComponent:n,assetStandard:r})=>{const f=(0,o.useSelector)(c.getShouldShowFiat),{isNftTransfer:m}=(0,u.useTransactionInfo)(e);return f||m||(0,l.isNFTAssetStandard)(r)?n||a.default.createElement(d.Text,{as:"h5",ellipsis:!0,variant:i.TextVariant.bodyMd,color:i.Color.textAlternative},a.default.createElement(p.default,{value:t,type:s.SECONDARY,showEthLogo:!0,hideLabel:!0})):null};m.propTypes={assetStandard:r.default.string,hexTransactionAmount:r.default.string,subtitleComponent:r.default.element,txData:r.default.object.isRequired};n.default=m}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm-subtitle/confirm-subtitle.js"}],[5513,{"./confirm-subtitle":5512},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"ConfirmSubTitle",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./confirm-subtitle"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm-subtitle/index.js"}],[5514,{"../../../../components/app/user-preferenced-currency-display":4880,"../../../../components/component-library":4955,"../../../../helpers/constants/common":5353,"../../../../helpers/constants/design-system":5355,"@metamask/transaction-controller":2234,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=u(e("react")),r=u(e("prop-types")),o=e("@metamask/transaction-controller"),s=e("../../../../helpers/constants/common"),i=e("../../../../components/component-library"),l=e("../../../../helpers/constants/design-system"),c=u(e("../../../../components/app/user-preferenced-currency-display"));function u(e){return e&&e.__esModule?e:{default:e}}const d=({title:e,hexTransactionAmount:t,txData:n})=>{var r;const u=n.type===o.TransactionType.contractInteraction;return(u||n.type===o.TransactionType.deployContract)&&"0x0"===(null===(r=n.txParams)||void 0===r?void 0:r.value)?null:e?a.default.createElement(i.Text,{as:e&&e.length<10?"h1":"h3",ellipsis:!0,title:e,variant:e&&e.length<10?l.TextVariant.displayMd:l.TextVariant.headingMd,fontWeight:l.FONT_WEIGHT.NORMAL},e):a.default.createElement(i.Text,{as:"h3",ellipsis:!0,fontWeight:l.FONT_WEIGHT.NORMAL,variant:l.TextVariant.headingMd},a.default.createElement(c.default,{ethLogoHeight:24,hideLabel:!u,showCurrencySuffix:u,showEthLogo:!0,type:s.PRIMARY,value:t}))};d.propTypes={txData:r.default.object.isRequired,title:r.default.oneOfType([r.default.string,r.default.number]),hexTransactionAmount:r.default.string};n.default=d}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm-title/confirm-title.js"}],[5515,{"./confirm-title":5514},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"ConfirmTitle",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./confirm-title"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm-title/index.js"}],[5516,{"../../../../../../shared/constants/security-provider":4513,"../../../../../components/component-library":4955,"../../../../../components/ui/icon/preloader":5239,"../../../selectors":5717,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=c(e("react")),r=e("react-redux"),o=c(e("../../../../../components/ui/icon/preloader")),s=e("../../../../../../shared/constants/security-provider"),i=e("../../../../../components/component-library"),l=e("../../../selectors");function c(e){return e&&e.__esModule?e:{default:e}}n.default=()=>{const e=(0,r.useSelector)(l.currentSignatureRequestSecurityResponseSelector);return(null==e?void 0:e.result_type)!==s.BlockaidResultType.Loading?null:a.default.createElement(i.Box,{marginInline:"auto",marginTop:4},a.default.createElement(o.default,{size:18}))}}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm/blockaid-loading-indicator/blockaid-loading-indicator.tsx"}],[5517,{"./blockaid-loading-indicator":5516},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"BlockaidLoadingIndicator",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./blockaid-loading-indicator"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm/blockaid-loading-indicator/hybrid-compute-sdk.ts"}],[5518,{"../../../../../components/app/alert-system/confirm-alert-modal":4572,"../../../../../components/component-library":4955,"../../../../../components/multichain/pages/page":5152,"../../../../../hooks/useAlerts":5415,"../../../../../hooks/useI18nContext":5427,"../../../../../selectors":5987,"../../../../../store/actions":5998,"../../../selectors":5717,"../utils":5542,"eth-rpc-errors":3257,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=e("eth-rpc-errors"),o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=h(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),s=e("react-redux"),i=e("../../../../../components/component-library"),l=e("../../../../../components/app/alert-system/confirm-alert-modal"),c=e("../../../../../components/multichain/pages/page"),u=e("../../../../../selectors"),d=e("../../../../../hooks/useI18nContext"),p=e("../../../../../store/actions"),f=(a=e("../../../../../hooks/useAlerts"))&&a.__esModule?a:{default:a},m=e("../../../selectors"),g=e("../utils");function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(h=function(e){return e?n:t})(e)}const y=({alertOwnerId:e="",disabled:t,onSubmit:n,onCancel:a})=>{var r;const s=(0,d.useI18nContext)(),[c,u]=(0,o.useState)(!1),{alerts:p,dangerAlerts:m,hasDangerAlerts:g,hasUnconfirmedDangerAlerts:h}=(0,f.default)(e),y=(0,o.useCallback)((()=>{u(!1)}),[]),v=(0,o.useCallback)((()=>{u(!0)}),[]);return o.default.createElement(o.default.Fragment,null,c&&o.default.createElement(l.ConfirmAlertModal,{alertKey:null===(r=p[0])||void 0===r?void 0:r.key,ownerId:e,onClose:y,onCancel:a,onSubmit:n}),o.default.createElement(i.Button,{block:!0,"data-testid":"confirm-footer-button",startIconName:g?(b=h,b?i.IconName.SecuritySearch:i.IconName.Danger):undefined,onClick:g?v:n,danger:g,size:i.ButtonSize.Lg,disabled:!h&&t},(null==m?void 0:m.length)>1?s("reviewAlerts"):s("confirm")));var b};n.default=()=>{const e=(0,s.useDispatch)(),t=(0,d.useI18nContext)(),n=(0,s.useSelector)(m.confirmSelector),{currentConfirmation:a,isScrollToBottomNeeded:l}=n,{from:f}=(0,g.getConfirmationSender)(a),h=(0,s.useSelector)((e=>!!f&&(0,u.doesAddressRequireLedgerHidConnection)(e,f))),v=(0,o.useCallback)((()=>{a&&e((0,p.rejectPendingApproval)(a.id,(0,r.serializeError)(r.ethErrors.provider.userRejectedRequest())))}),[a]),b=(0,o.useCallback)((()=>{a&&e((0,p.resolvePendingApproval)(a.id,undefined))}),[a]);return o.default.createElement(c.Footer,{className:"confirm-footer_page-footer"},o.default.createElement(i.Button,{block:!0,"data-testid":"confirm-footer-cancel-button",onClick:v,size:i.ButtonSize.Lg,variant:i.ButtonVariant.Secondary},t("cancel")),o.default.createElement(y,{alertOwnerId:null==a?void 0:a.id,onSubmit:b,disabled:l||h,onCancel:v}))}}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm/footer/footer.tsx"}],[5519,{"./footer":5518},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"Footer",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./footer"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm/footer/index.tsx"}],[5520,{"../../../../../../shared/constants/metametrics":4505,"../../../../../components/app/confirm/info/row":4599,"../../../../../components/app/confirm/info/row/currency":4596,"../../../../../components/component-library":4955,"../../../../../components/multichain":5092,"../../../../../components/ui/tooltip/tooltip":5311,"../../../../../contexts/metametrics":5327,"../../../../../helpers/constants/design-system":5355,"../../../../../hooks/useI18nContext":5427,"../../../../../selectors":5987,"../../../hooks/useBalance":5693,"../../../hooks/useConfirmationRecipientInfo":5697,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=v(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=e("react-redux"),o=e("../../../../../../shared/constants/metametrics"),s=e("../../../../../components/app/confirm/info/row"),i=e("../../../../../components/app/confirm/info/row/currency"),l=e("../../../../../components/component-library"),c=e("../../../../../components/multichain"),u=y(e("../../../../../components/ui/tooltip/tooltip")),d=e("../../../../../contexts/metametrics"),p=e("../../../../../helpers/constants/design-system"),f=e("../../../../../hooks/useI18nContext"),m=e("../../../../../selectors"),g=e("../../../hooks/useBalance"),h=y(e("../../../hooks/useConfirmationRecipientInfo"));function y(e){return e&&e.__esModule?e:{default:e}}function v(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(v=function(e){return e?n:t})(e)}n.default=()=>{const e=(0,r.useSelector)(m.getUseBlockie),[t,n]=a.default.useState(!1),y=(0,r.useSelector)(m.currentConfirmationSelector),{senderAddress:v,senderName:b}=(0,h.default)(),T=(0,f.useI18nContext)(),_=(0,a.useContext)(d.MetaMetricsContext),{balance:k}=(0,g.useBalance)(v);return a.default.createElement(a.default.Fragment,null,a.default.createElement(l.Box,{display:p.Display.Flex,justifyContent:p.JustifyContent.flexEnd,style:{alignSelf:"flex-end"}},a.default.createElement(u.default,{position:"bottom",title:T("accountDetails"),interactive:!0},a.default.createElement(l.ButtonIcon,{ariaLabel:T("accountDetails"),color:p.IconColor.iconDefault,iconName:l.IconName.Info,"data-testid":"header-info-button",size:l.ButtonIconSize.Md,onClick:()=>{_({category:o.MetaMetricsEventCategory.Transactions,event:o.MetaMetricsEventName.AccountDetailsOpened,properties:{action:"Confirm Screen",location:o.MetaMetricsEventLocation.SignatureConfirmation,signature_type:null==y?void 0:y.type}}),n(!0)}}))),a.default.createElement(l.Modal,{isOpen:t,onClose:()=>n(!1),"data-testid":"account-details-modal",isClosedOnEscapeKey:!1,isClosedOnOutsideClick:!1},a.default.createElement(l.ModalOverlay,null),a.default.createElement(l.ModalContent,null,a.default.createElement(l.ModalHeader,null,a.default.createElement(l.Box,{display:p.Display.Flex,justifyContent:p.JustifyContent.center,style:{position:"relative"}},a.default.createElement(l.Box,{style:{margin:"0 auto"},display:p.Display.Flex,justifyContent:p.JustifyContent.center,flexDirection:p.FlexDirection.Column,alignItems:p.AlignItems.center},a.default.createElement(l.AvatarAccount,{variant:e?l.AvatarAccountVariant.Blockies:l.AvatarAccountVariant.Jazzicon,address:v,size:l.AvatarAccountSize.Lg}),a.default.createElement(l.Text,{fontWeight:p.FontWeight.Bold,variant:p.TextVariant.bodyMd,color:p.TextColor.textDefault,marginTop:2},b)),a.default.createElement(l.Box,{style:{position:"absolute",right:0}},a.default.createElement(l.ButtonIcon,{ariaLabel:T("close"),iconName:l.IconName.Close,size:l.ButtonIconSize.Sm,className:"confirm_header__close-button",onClick:()=>n(!1)})))),a.default.createElement(l.ModalBody,null,a.default.createElement(s.ConfirmInfoRow,{label:"Account address"},a.default.createElement(c.AddressCopyButton,{address:v,shorten:!0})),a.default.createElement(s.ConfirmInfoRow,{label:"Balance"},a.default.createElement(i.ConfirmInfoRowCurrency,{value:k??0,dataTestId:"header-balance"}))))))}}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm/header/header-info.tsx"}],[5521,{"../../../../../components/component-library":4955,"../../../../../components/ui/identicon":5247,"../../../../../helpers/constants/design-system":5355,"../../../../../helpers/utils/accounts":5378,"../../../hooks/useConfirmationNetworkInfo":5696,"../../../hooks/useConfirmationRecipientInfo":5697,"./header-info":5520,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=d(e("react")),r=e("../../../../../components/component-library"),o=d(e("../../../../../components/ui/identicon")),s=e("../../../../../helpers/constants/design-system"),i=e("../../../../../helpers/utils/accounts"),l=d(e("../../../hooks/useConfirmationNetworkInfo")),c=d(e("../../../hooks/useConfirmationRecipientInfo")),u=d(e("./header-info"));function d(e){return e&&e.__esModule?e:{default:e}}n.default=()=>{const{networkImageUrl:e,networkDisplayName:t}=(0,l.default)(),{senderAddress:n,senderName:d}=(0,c.default)();return a.default.createElement(r.Box,{display:s.Display.Flex,className:"confirm_header__wrapper",alignItems:s.AlignItems.center,justifyContent:s.JustifyContent.spaceBetween},a.default.createElement(r.Box,{alignItems:s.AlignItems.flexStart,display:s.Display.Flex,padding:4},a.default.createElement(r.Box,{display:s.Display.Flex,marginTop:2},a.default.createElement(o.default,{address:n,diameter:32}),a.default.createElement(r.AvatarNetwork,{src:e,name:t,size:r.AvatarNetworkSize.Xs,backgroundColor:(0,i.getAvatarNetworkColor)(t),className:"confirm_header__avatar-network"})),a.default.createElement(r.Box,{marginInlineStart:4},a.default.createElement(r.Text,{color:s.TextColor.textDefault,variant:s.TextVariant.bodyMdMedium},d),a.default.createElement(r.Text,{color:s.TextColor.textAlternative},t))),a.default.createElement(r.Box,{alignItems:s.AlignItems.flexEnd,display:s.Display.Flex,padding:4},a.default.createElement(u.default,null)))}}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm/header/header.tsx"}],[5522,{"./header":5521},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"Header",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./header"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm/header/index.tsx"}],[5523,{"../../../../../../components/component-library":4955,"../../../../../../helpers/constants/design-system":5355,"../../../../../../selectors":5987,"../../../simulation-details":5616,"../shared/transaction-details":5528,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=(a=e("react"))&&a.__esModule?a:{default:a},o=e("react-redux"),s=e("../../../../../../components/component-library"),i=e("../../../../../../helpers/constants/design-system"),l=e("../../../../../../selectors"),c=e("../../../simulation-details"),u=e("../shared/transaction-details");n.default=()=>{const e=(0,o.useSelector)(l.currentConfirmationSelector);return null!=e&&e.txParams?r.default.createElement(r.default.Fragment,null,r.default.createElement(s.Box,{backgroundColor:i.BackgroundColor.backgroundDefault,borderRadius:i.BorderRadius.MD,marginBottom:4},r.default.createElement(c.SimulationDetails,{simulationData:e.simulationData,transactionId:e.id,isTransactionsRedesign:!0})),r.default.createElement(s.Box,{backgroundColor:i.BackgroundColor.backgroundDefault,borderRadius:i.BorderRadius.MD,padding:2,marginBottom:4},r.default.createElement(u.TransactionDetails,null))):null}}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm/info/contract-interaction/contract-interaction.tsx"}],[5524,{"../../../../../../selectors":5987,"../../../../../../store/actions":5998,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useKnownMethodDataInTransaction=void 0;var a=e("react-redux"),r=e("../../../../../../selectors"),o=e("../../../../../../store/actions");n.useKnownMethodDataInTransaction=e=>{var t;const n=(0,a.useDispatch)(),s=(0,a.useSelector)(r.use4ByteResolutionSelector),i=null==e||null===(t=e.txParams)||void 0===t?void 0:t.data;s&&i&&n((0,o.getContractMethodData)(e.txParams.data));return{knownMethodData:(0,a.useSelector)((e=>(0,r.getKnownMethodData)(e,i)))||{}}}}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm/info/hooks/known-method-data-in-transaction.ts"}],[5525,{"./info":5526},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"Info",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./info"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm/info/hybrid-compute-sdk.ts"}],[5526,{"../../../../../selectors":5987,"./contract-interaction/contract-interaction":5523,"./personal-sign/personal-sign":5527,"./typed-sign-v1/typed-sign-v1":5529,"./typed-sign/typed-sign":5530,"@metamask/transaction-controller":2234,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=e("@metamask/transaction-controller"),r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=p(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=e("react-redux"),s=e("../../../../../selectors"),i=d(e("./contract-interaction/contract-interaction")),l=d(e("./personal-sign/personal-sign")),c=d(e("./typed-sign-v1/typed-sign-v1")),u=d(e("./typed-sign/typed-sign"));function d(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(p=function(e){return e?n:t})(e)}n.default=()=>{const e=(0,o.useSelector)(s.currentConfirmationSelector),t=(0,r.useMemo)((()=>({[a.TransactionType.personalSign]:()=>l.default,[a.TransactionType.signTypedData]:()=>{const{version:t}=(null==e?void 0:e.msgParams)??{};return"V1"===t?c.default:u.default},[a.TransactionType.contractInteraction]:()=>i.default})),[e]);if(null==e||!e.type)return null;const n=t[null==e?void 0:e.type]();return r.default.createElement(n,null)}}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm/info/info.tsx"}],[5527,{"../../../../../../components/app/confirm/info/row":4599,"../../../../../../components/app/confirm/info/row/alert-row/alert-row":4595,"../../../../../../components/component-library":4955,"../../../../../../helpers/constants/design-system":5355,"../../../../../../helpers/utils/util":5399,"../../../../../../hooks/useI18nContext":5427,"../../../../../../selectors":5987,"../../../../utils":5725,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=(a=e("react"))&&a.__esModule?a:{default:a},o=e("react-redux"),s=e("../../../../../../components/app/confirm/info/row"),i=e("../../../../../../hooks/useI18nContext"),l=e("../../../../../../selectors"),c=e("../../../../../../components/component-library"),u=e("../../../../../../helpers/constants/design-system"),d=e("../../../../../../helpers/utils/util"),p=e("../../../../utils"),f=e("../../../../../../components/app/confirm/info/row/alert-row/alert-row");n.default=()=>{var e;const t=(0,i.useI18nContext)(),n=(0,o.useSelector)(l.currentConfirmationSelector);if(null==n||!n.msgParams)return null;const{from:a}=n.msgParams,m=(0,p.isSIWESignatureRequest)(n);return r.default.createElement(r.default.Fragment,null,m&&r.default.createElement(c.Box,{backgroundColor:u.BackgroundColor.backgroundDefault,borderRadius:u.BorderRadius.MD,padding:2,marginBottom:4},r.default.createElement(s.ConfirmInfoRow,{label:t("simulationDetailsTitle"),tooltip:t("simulationDetailsTitleTooltip")},r.default.createElement(s.ConfirmInfoRowText,{text:t("siweSignatureSimulationDetailInfo")}))),r.default.createElement(c.Box,{backgroundColor:u.BackgroundColor.backgroundDefault,borderRadius:u.BorderRadius.MD,padding:2,marginBottom:4},r.default.createElement(f.AlertRow,{alertKey:"requestFrom",ownerId:n.id,label:t("requestFrom"),tooltip:t("requestFromInfo")},r.default.createElement(s.ConfirmInfoRowUrl,{url:n.msgParams.origin})),m&&r.default.createElement(s.ConfirmInfoRow,{label:t("signingInWith")},r.default.createElement(s.ConfirmInfoRowAddress,{address:a}))),r.default.createElement(c.Box,{backgroundColor:u.BackgroundColor.backgroundDefault,borderRadius:u.BorderRadius.MD,padding:2,marginBottom:4},r.default.createElement(f.AlertRow,{alertKey:"message",ownerId:n.id,label:t("message")},r.default.createElement(s.ConfirmInfoRowText,{text:(0,d.sanitizeString)((0,d.hexToText)(null===(e=n.msgParams)||void 0===e?void 0:e.data))}))))}}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm/info/personal-sign/personal-sign.tsx"}],[5528,{"../../../../../../components/app/confirm/info/row":4599,"../../../../../../hooks/useI18nContext":5427,"../../../../selectors":5717,"../hooks/known-method-data-in-transaction":5524,"ethereumjs-util":3288,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.TransactionDetails=void 0;var a,r=e("ethereumjs-util"),o=(a=e("react"))&&a.__esModule?a:{default:a},s=e("react-redux"),i=e("../../../../../../components/app/confirm/info/row"),l=e("../../../../../../hooks/useI18nContext"),c=e("../../../../selectors"),u=e("../hooks/known-method-data-in-transaction");const d=()=>{const e=(0,l.useI18nContext)(),t=(0,s.useSelector)(c.currentConfirmationSelector),n=null==t?void 0:t.origin;return n?o.default.createElement(i.ConfirmInfoRow,{label:e("requestFrom"),tooltip:e("requestFromTransactionDescription")},o.default.createElement(i.ConfirmInfoRowUrl,{url:n})):null},p=()=>{var e,t;const n=(0,l.useI18nContext)(),a=(0,s.useSelector)(c.currentConfirmationSelector);return null!=a&&null!==(e=a.txParams)&&void 0!==e&&e.to&&(0,r.isValidAddress)((null==a||null===(t=a.txParams)||void 0===t?void 0:t.to)??"")?o.default.createElement(i.ConfirmInfoRow,{label:n("interactingWith"),tooltip:n("interactingWithTransactionDescription")},o.default.createElement(i.ConfirmInfoRowAddress,{address:a.txParams.to})):null},f=()=>{const e=(0,l.useI18nContext)(),t=(0,s.useSelector)(c.currentConfirmationSelector),{knownMethodData:n}=(0,u.useKnownMethodDataInTransaction)(t);return null!=n&&n.name?o.default.createElement(i.ConfirmInfoRow,{label:e("methodData"),tooltip:e("methodDataTransactionDescription")},o.default.createElement(i.ConfirmInfoRowText,{text:n.name})):null};n.TransactionDetails=()=>o.default.createElement(o.default.Fragment,null,o.default.createElement(d,null),o.default.createElement(p,null),o.default.createElement(f,null))}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm/info/shared/transaction-details.tsx"}],[5529,{"../../../../../../components/app/confirm/info/row":4599,"../../../../../../components/component-library":4955,"../../../../../../helpers/constants/design-system":5355,"../../../../../../hooks/useI18nContext":5427,"../../../../../../selectors":5987,"../../row/typed-sign-data-v1/typedSignDataV1":5536,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=(a=e("react"))&&a.__esModule?a:{default:a},o=e("react-redux"),s=e("../../../../../../components/app/confirm/info/row"),i=e("../../../../../../hooks/useI18nContext"),l=e("../../../../../../selectors"),c=e("../../../../../../components/component-library"),u=e("../../../../../../helpers/constants/design-system"),d=e("../../row/typed-sign-data-v1/typedSignDataV1");n.default=()=>{var e;const t=(0,i.useI18nContext)(),n=(0,o.useSelector)(l.currentConfirmationSelector);return null!=n&&n.msgParams?r.default.createElement(r.default.Fragment,null,r.default.createElement(c.Box,{backgroundColor:u.BackgroundColor.backgroundDefault,borderRadius:u.BorderRadius.MD,padding:2,marginBottom:4},r.default.createElement(s.ConfirmInfoRow,{label:t("requestFrom"),tooltip:t("requestFromInfo")},r.default.createElement(s.ConfirmInfoRowUrl,{url:n.msgParams.origin}))),r.default.createElement(c.Box,{backgroundColor:u.BackgroundColor.backgroundDefault,borderRadius:u.BorderRadius.MD,padding:2,marginBottom:4},r.default.createElement(s.ConfirmInfoRow,{label:t("message")},r.default.createElement(d.ConfirmInfoRowTypedSignDataV1,{data:null===(e=n.msgParams)||void 0===e?void 0:e.data})))):null}}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm/info/typed-sign-v1/typed-sign-v1.tsx"}],[5530,{"../../../../../../components/app/confirm/info/row":4599,"../../../../../../components/component-library":4955,"../../../../../../helpers/constants/design-system":5355,"../../../../../../hooks/useI18nContext":5427,"../../../../../../selectors":5987,"../../../../utils":5725,"../../row/typed-sign-data/typedSignData":5537,"ethereumjs-util":3288,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=(a=e("react"))&&a.__esModule?a:{default:a},o=e("react-redux"),s=e("ethereumjs-util"),i=e("../../../../../../components/app/confirm/info/row"),l=e("../../../../../../hooks/useI18nContext"),c=e("../../../../../../selectors"),u=e("../../../../../../components/component-library"),d=e("../../../../../../helpers/constants/design-system"),p=e("../../../../utils"),f=e("../../row/typed-sign-data/typedSignData");n.default=()=>{var e;const t=(0,l.useI18nContext)(),n=(0,o.useSelector)(c.currentConfirmationSelector);if(null==n||!n.msgParams)return null;const{domain:a}=(0,p.parseTypedDataMessage)(n.msgParams.data);return r.default.createElement(r.default.Fragment,null,r.default.createElement(u.Box,{backgroundColor:d.BackgroundColor.backgroundDefault,borderRadius:d.BorderRadius.MD,marginBottom:4,padding:0},r.default.createElement(u.Box,{padding:2},r.default.createElement(i.ConfirmInfoRow,{label:t("requestFrom"),tooltip:t("requestFromInfo")},r.default.createElement(i.ConfirmInfoRowUrl,{url:n.msgParams.origin}))),(0,s.isValidAddress)(a.verifyingContract)&&r.default.createElement(u.Box,{padding:2},r.default.createElement(i.ConfirmInfoRow,{label:t("interactingWith")},r.default.createElement(i.ConfirmInfoRowAddress,{address:a.verifyingContract})))),r.default.createElement(u.Box,{backgroundColor:d.BackgroundColor.backgroundDefault,borderRadius:d.BorderRadius.MD,padding:2,marginBottom:4},r.default.createElement(i.ConfirmInfoRow,{label:t("message")},r.default.createElement(f.ConfirmInfoRowTypedSignData,{data:null===(e=n.msgParams)||void 0===e?void 0:e.data}))))}}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm/info/typed-sign/typed-sign.tsx"}],[5531,{"./ledger-info":5532},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"LedgerInfo",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./ledger-info"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm/ledger-info/hybrid-compute-sdk.ts"}],[5532,{"../../../../../../app/scripts/lib/util":120,"../../../../../../shared/constants/app":4493,"../../../../../../shared/constants/hardware-wallets":4501,"../../../../../components/component-library":4955,"../../../../../ducks/app/app":5336,"../../../../../ducks/metamask/metamask":5346,"../../../../../helpers/constants/design-system":5355,"../../../../../hooks/useI18nContext":5427,"../../../hooks/useLedgerConnection":5705,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=m(e("react")),r=e("react-redux"),o=e("../../../../../../app/scripts/lib/util"),s=e("../../../../../../shared/constants/app"),i=e("../../../../../../shared/constants/hardware-wallets"),l=e("../../../../../components/component-library"),c=e("../../../../../ducks/app/app"),u=e("../../../../../ducks/metamask/metamask"),d=e("../../../../../helpers/constants/design-system"),p=e("../../../../../hooks/useI18nContext"),f=m(e("../../../hooks/useLedgerConnection"));function m(e){return e&&e.__esModule?e:{default:e}}n.default=()=>{const{isLedgerWallet:e}=(0,f.default)(),t=(0,p.useI18nContext)(),n=(0,r.useDispatch)(),m=(0,r.useSelector)(c.getLedgerWebHidConnectedStatus),g=(0,r.useSelector)(u.getLedgerTransportType),h=(0,r.useSelector)(c.getLedgerTransportStatus),y=(0,o.getEnvironmentType)()===s.ENVIRONMENT_TYPE_FULLSCREEN;if(!e)return null;const v=g===i.LedgerTransportTypes.webhid;return a.default.createElement(l.BannerAlert,{severity:l.BannerAlertSeverity.Info,style:{marginTop:16}},a.default.createElement(l.Text,{variant:d.TextVariant.headingSm,fontWeight:d.FontWeight.Medium},t("ledgerConnectionInstructionHeader")),a.default.createElement("ul",{style:{listStyle:"disc"}},a.default.createElement("li",null,a.default.createElement(l.Text,{variant:d.TextVariant.bodyMd},t("ledgerConnectionInstructionStepThree"))),a.default.createElement("li",null,a.default.createElement(l.Text,{variant:d.TextVariant.bodyMd},t("ledgerConnectionInstructionStepFour")))),h===i.HardwareTransportStates.deviceOpenFailure&&a.default.createElement(l.Button,{variant:l.ButtonVariant.Link,textAlign:d.TextAlign.Left,fontWeight:d.FontWeight.Normal,onClick:async()=>{var e,t;y?window.location.reload():null===(e=(t=global.platform).openExtensionInBrowser)||void 0===e||e.call(t,null,null,!0)}},t("ledgerConnectionInstructionCloseOtherApps")),v&&m===i.WebHIDConnectedStatuses.notConnected&&a.default.createElement(l.Button,{variant:l.ButtonVariant.Link,textAlign:d.TextAlign.Left,fontWeight:d.FontWeight.Normal,onClick:async()=>{if(y){const e=(await window.navigator.hid.requestDevice({filters:[{vendorId:Number(i.LEDGER_USB_VENDOR_ID)}]})).some((e=>e.vendorId===Number(i.LEDGER_USB_VENDOR_ID)));n((0,c.setLedgerWebHidConnectedStatus)(e?i.WebHIDConnectedStatuses.connected:i.WebHIDConnectedStatuses.notConnected))}else{var e,t;null===(e=(t=global.platform).openExtensionInBrowser)||void 0===e||e.call(t,null,null,!0)}}},t(y?"clickToConnectLedgerViaWebHID":"openFullScreenForLedgerWebHid")))}}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm/ledger-info/ledger-info.tsx"}],[5533,{"./nav":5534},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"Nav",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./nav"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm/nav/index.tsx"}],[5534,{"../../../../../components/component-library":4955,"../../../../../helpers/constants/design-system":5355,"../../../../../helpers/constants/routes":5361,"../../../../../hooks/useI18nContext":5427,"../../../../../selectors":5987,"../../../../../store/actions":5998,"../../../utils":5725,"eth-rpc-errors":3257,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=e("eth-rpc-errors"),r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=m(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=e("react-redux"),s=e("react-router-dom"),i=e("../../../../../components/component-library"),l=e("../../../../../helpers/constants/design-system"),c=e("../../../../../helpers/constants/routes"),u=e("../../../../../hooks/useI18nContext"),d=e("../../../../../selectors"),p=e("../../../../../store/actions"),f=e("../../../utils");function m(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(m=function(e){return e?n:t})(e)}n.default=()=>{const e=(0,s.useHistory)(),t=(0,u.useI18nContext)(),n=(0,o.useSelector)(d.currentConfirmationSelector),m=(0,o.useSelector)(d.pendingConfirmationsSortedSelector),g=(0,o.useDispatch)(),h=(0,r.useMemo)((()=>(null==m?void 0:m.length)<=0||!n?0:m.findIndex((({id:e})=>e===n.id))),[n,m]),y=(0,r.useCallback)((t=>{const n=m[h+t];e.replace(`${c.CONFIRM_TRANSACTION_ROUTE}/${n.id}${(0,f.isSignatureApprovalRequest)(n)?c.SIGNATURE_REQUEST_PATH:""}`)}),[h,m]),v=(0,r.useCallback)((()=>{m.forEach((e=>{g((0,p.rejectPendingApproval)(e.id,(0,a.serializeError)(a.ethErrors.provider.userRejectedRequest())))}))}),[m]);return m.length<=1?null:r.default.createElement(i.Box,{alignItems:l.AlignItems.center,backgroundColor:l.BackgroundColor.backgroundDefault,display:l.Display.Flex,flexDirection:l.FlexDirection.Row,justifyContent:l.JustifyContent.spaceBetween,padding:3,style:{zIndex:2}},r.default.createElement(i.Box,{alignItems:l.AlignItems.center,display:l.Display.Flex},r.default.createElement(i.ButtonIcon,{ariaLabel:"Previous Confirmation",backgroundColor:l.BackgroundColor.backgroundAlternative,borderRadius:l.BorderRadius.full,className:"confirm_nav__left_btn",color:l.IconColor.iconAlternative,disabled:0===h,iconName:i.IconName.ArrowLeft,onClick:()=>y(-1),size:i.ButtonIconSize.Sm}),r.default.createElement(i.Text,{color:l.TextColor.textAlternative,marginInline:2,variant:l.TextVariant.bodySm},h+1," of ",m.length),r.default.createElement(i.ButtonIcon,{ariaLabel:"Next Confirmation",backgroundColor:l.BackgroundColor.backgroundAlternative,borderRadius:l.BorderRadius.full,className:"confirm_nav__right_btn",color:l.IconColor.iconAlternative,disabled:h===m.length-1,iconName:i.IconName.ArrowRight,onClick:()=>y(1),size:i.ButtonIconSize.Sm})),r.default.createElement(i.Button,{borderRadius:l.BorderRadius.XL,className:"confirm_nav__reject_all",fontWeight:l.FontWeight.Normal,onClick:v,paddingLeft:3,paddingRight:3,startIconName:i.IconName.Close,type:i.ButtonVariant.Secondary},t("rejectAll")))}}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm/nav/nav.tsx"}],[5535,{"../../../../../../shared/modules/hexstring-utils":4544,"../../../../../components/app/confirm/info/row":4599,"../../../../../components/component-library":4955,"../../../../../helpers/constants/design-system":5355,"../../../../../helpers/utils/util":5399,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.DataTree=void 0;var a,r=(a=e("react"))&&a.__esModule?a:{default:a},o=e("../../../../../../shared/modules/hexstring-utils"),s=e("../../../../../helpers/utils/util"),i=e("../../../../../components/component-library"),l=e("../../../../../helpers/constants/design-system"),c=e("../../../../../components/app/confirm/info/row");const u=({data:e})=>r.default.createElement(i.Box,{width:l.BlockSize.Full},Object.entries(e).map((([e,{value:t,type:n}],a)=>r.default.createElement(c.ConfirmInfoRow,{label:`${(0,s.sanitizeString)(e.charAt(0).toUpperCase()+e.slice(1))}:`,style:{paddingRight:0},key:`tree-data-${e}-index-${a}`},r.default.createElement(d,{value:t,type:n})))));n.DataTree=u;const d=({value:e,type:t})=>"object"==typeof e&&null!==e?r.default.createElement(u,{data:e}):"address"===t&&(0,o.isValidHexAddress)(e,{mixedCaseUseChecksum:!0})?r.default.createElement(c.ConfirmInfoRowAddress,{address:e}):r.default.createElement(c.ConfirmInfoRowText,{text:(0,s.sanitizeString)(e)})}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm/row/dataTree.tsx"}],[5536,{"../../../../../../components/component-library":4955,"../../../../../../helpers/constants/design-system":5355,"../dataTree":5535,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.ConfirmInfoRowTypedSignDataV1=void 0;var a,r=(a=e("react"))&&a.__esModule?a:{default:a},o=e("../../../../../../components/component-library"),s=e("../../../../../../helpers/constants/design-system"),i=e("../dataTree");n.ConfirmInfoRowTypedSignDataV1=({data:e})=>{if(!e)return null;const t=e.reduce(((e,{name:t,value:n,type:a})=>({...e,[t]:{type:a,value:n}})),{});return r.default.createElement(o.Box,{width:s.BlockSize.Full},r.default.createElement(o.Box,{style:{marginLeft:-8}},r.default.createElement(i.DataTree,{data:t})))}}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm/row/typed-sign-data-v1/typedSignDataV1.tsx"}],[5537,{"../../../../../../components/app/confirm/info/row":4599,"../../../../../../components/component-library":4955,"../../../../../../helpers/constants/design-system":5355,"../../../../../../hooks/useI18nContext":5427,"../../../../utils":5725,"../dataTree":5535,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.ConfirmInfoRowTypedSignData=void 0;var a,r=(a=e("react"))&&a.__esModule?a:{default:a},o=e("../../../../../../hooks/useI18nContext"),s=e("../../../../../../components/component-library"),i=e("../../../../../../helpers/constants/design-system"),l=e("../../../../../../components/app/confirm/info/row"),c=e("../dataTree"),u=e("../../../../utils");n.ConfirmInfoRowTypedSignData=({data:e})=>{const t=(0,o.useI18nContext)();if(!e)return null;const{sanitizedMessage:n,primaryType:a}=(0,u.parseSanitizeTypedDataMessage)(e);return r.default.createElement(s.Box,{width:i.BlockSize.Full},r.default.createElement(l.ConfirmInfoRow,{label:`${t("primaryType")}:`,style:{paddingLeft:0,paddingRight:0}},r.default.createElement(l.ConfirmInfoRowText,{text:a})),r.default.createElement(s.Box,{style:{marginLeft:-8}},r.default.createElement(c.DataTree,{data:n.value})))}}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm/row/typed-sign-data/typedSignData.tsx"}],[5538,{"./scroll-to-bottom":5539},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./scroll-to-bottom"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm/scroll-to-bottom/hybrid-compute-sdk.ts"}],[5539,{"../../../../../components/component-library":4955,"../../../../../contexts/i18n":5324,"../../../../../ducks/confirm/confirm":5339,"../../../../../helpers/constants/design-system":5355,"../../../../../hooks/usePrevious":5436,"../../../../../hooks/useScrollRequired":5437,"../../../selectors":5717,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=p(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=e("react-redux"),o=e("../../../../../contexts/i18n"),s=e("../../../../../components/component-library"),i=e("../../../../../helpers/constants/design-system"),l=e("../../../../../hooks/usePrevious"),c=e("../../../../../hooks/useScrollRequired"),u=e("../../../../../ducks/confirm/confirm"),d=e("../../../selectors");function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(p=function(e){return e?n:t})(e)}n.default=({children:e})=>{const t=(0,a.useContext)(o.I18nContext),n=(0,r.useDispatch)(),p=(0,r.useSelector)(d.currentConfirmationSelector),f=(0,l.usePrevious)(null==p?void 0:p.id),{hasScrolledToBottom:m,isScrollable:g,isScrolledToBottom:h,onScroll:y,scrollToBottom:v,setHasScrolledToBottom:b,ref:T}=(0,c.useScrollRequired)([null==p?void 0:p.id],{offsetPxFromBottom:0});return(0,a.useEffect)((()=>{if(f===(null==p?void 0:p.id))return;const e=null==T?void 0:T.current;e&&("function"==typeof e.scrollTo&&e.scrollTo(0,0),b(!1))}),[null==p?void 0:p.id,f,null==T?void 0:T.current]),(0,a.useEffect)((()=>{n((0,u.updateConfirm)({isScrollToBottomNeeded:g&&!m}))}),[g,m]),a.default.createElement(s.Box,{backgroundColor:i.BackgroundColor.backgroundAlternative,width:i.BlockSize.Full,height:i.BlockSize.Full,style:{minHeight:"0",overflow:"hidden",position:"relative"}},a.default.createElement(s.Box,{display:i.Display.Flex,flexDirection:i.FlexDirection.Column,width:i.BlockSize.Full,height:i.BlockSize.Full,paddingLeft:4,paddingRight:4,onScroll:y,ref:T,style:{overflow:"auto"}},e,g&&!h&&a.default.createElement(s.ButtonIcon,{className:"confirm-scroll-to-bottom__button",onClick:v,iconName:s.IconName.Arrow2Down,ariaLabel:t("scrollDown"),backgroundColor:i.BackgroundColor.backgroundDefault,borderRadius:i.BorderRadius.full,color:i.IconColor.primaryDefault,display:i.Display.Flex,size:s.ButtonIconSize.Md})))}}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm/scroll-to-bottom/scroll-to-bottom.tsx"}],[5540,{"./title":5541},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"Title",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./title"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm/title/hybrid-compute-sdk.ts"}],[5541,{"../../../../../components/app/alert-system/general-alert/general-alert":4574,"../../../../../components/app/alert-system/utils":4578,"../../../../../components/component-library":4955,"../../../../../helpers/constants/design-system":5355,"../../../../../hooks/useAlerts":5415,"../../../../../hooks/useI18nContext":5427,"../../../../../selectors":5987,"@metamask/transaction-controller":2234,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=e("@metamask/transaction-controller"),r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=m(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=e("react-redux"),s=e("../../../../../components/component-library"),i=e("../../../../../helpers/constants/design-system"),l=e("../../../../../hooks/useI18nContext"),c=e("../../../../../selectors"),u=f(e("../../../../../hooks/useAlerts")),d=e("../../../../../components/app/alert-system/utils"),p=f(e("../../../../../components/app/alert-system/general-alert/general-alert"));function f(e){return e&&e.__esModule?e:{default:e}}function m(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(m=function(e){return e?n:t})(e)}function g({ownerId:e}){const t=(0,l.useI18nContext)(),{generalAlerts:n}=(0,u.default)(e);if(0===n.length)return null;const a=n.length>1,o=n[0],i=a?(0,d.getHighestSeverity)(n):o.severity;return r.default.createElement(s.Box,{marginTop:4},r.default.createElement(p.default,{"data-testid":"confirm-banner-alert",title:a?t("alertBannerMultipleAlertsTitle"):o.reason,description:a?t("alertBannerMultipleAlertsDescription"):o.message,severity:i,provider:a?undefined:o.provider,details:a?undefined:o.alertDetails,reportUrl:o.reportUrl}))}const h=(0,r.memo)((()=>{const e=(0,l.useI18nContext)(),t=(0,o.useSelector)(c.currentConfirmationSelector),n=(0,r.useMemo)((()=>({[a.TransactionType.personalSign]:e("confirmTitleSignature"),[a.TransactionType.signTypedData]:e("confirmTitleSignature"),[a.TransactionType.contractInteraction]:e("confirmTitleTransaction")})),[]),u=(0,r.useMemo)((()=>({[a.TransactionType.personalSign]:e("confirmTitleDescSignature"),[a.TransactionType.signTypedData]:e("confirmTitleDescSignature"),[a.TransactionType.contractInteraction]:e("confirmTitleDescContractInteractionTransaction")})),[]);if(!t)return null;const d=n[t.type||a.TransactionType.contractInteraction],p=u[t.type||a.TransactionType.contractInteraction];return r.default.createElement(r.default.Fragment,null,r.default.createElement(g,{ownerId:t.id}),r.default.createElement(s.Text,{variant:i.TextVariant.headingLg,paddingTop:4,paddingBottom:2,textAlign:i.TextAlign.Center},d),r.default.createElement(s.Text,{paddingBottom:4,color:i.TextColor.textAlternative,textAlign:i.TextAlign.Center},p))}));n.default=h}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm/title/title.tsx"}],[5542,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.getConfirmationSender=void 0;n.getConfirmationSender=e=>{const t=null==e?void 0:e.msgParams,n=null==e?void 0:e.txParams;let a;return t&&(a=t.from),n&&(a=n.from),{from:a}}}}},{package:"$root$",file:"ui/pages/confirmations/components/confirm/utils.ts"}],[5543,{"../../../../components/component-library":4955,"../../../../components/component-library/modal-content/deprecated":4963,"../../../../components/component-library/modal-header/deprecated":4972,"../../../../helpers/constants/design-system":5355,"../../../../hooks/useI18nContext":5427,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=u(e("react")),r=u(e("prop-types")),o=e("../../../../hooks/useI18nContext"),s=e("../../../../helpers/constants/design-system"),i=e("../../../../components/component-library"),l=e("../../../../components/component-library/modal-content/deprecated"),c=e("../../../../components/component-library/modal-header/deprecated");function u(e){return e&&e.__esModule?e:{default:e}}const d=({onSubmit:e,onCancel:t})=>{const n=(0,o.useI18nContext)();return a.default.createElement(i.Modal,{isOpen:!0,onClose:t,className:"confirmation-warning-modal__content"},a.default.createElement(i.ModalOverlay,null),a.default.createElement(l.ModalContent,null,a.default.createElement(c.ModalHeader,{childrenWrapperProps:{display:s.Display.Flex,flexDirection:s.FlexDirection.Column,alignItems:s.AlignItems.center,gap:4}},a.default.createElement(i.Icon,{name:i.IconName.Danger,color:s.IconColor.errorDefault,size:i.IconSize.Xl}),a.default.createElement(i.Text,{variant:s.TextVariant.headingSm,as:"h4",fontWeight:s.FontWeight.Bold,textAlign:s.TextAlign.Center},n("addEthereumChainWarningModalTitle"))),a.default.createElement(i.Box,{marginBottom:4},a.default.createElement(i.Text,{marginTop:4,variant:s.TextVariant.bodySm},n("addEthereumChainWarningModalHeader",[a.default.createElement("strong",{key:"part-2"},n("addEthereumChainWarningModalHeaderPartTwo"))])),a.default.createElement(i.Text,{marginTop:4,variant:s.TextVariant.bodySm},n("addEthereumChainWarningModalListHeader")),a.default.createElement("ul",null,a.default.createElement(i.Text,{as:"li",marginTop:2,variant:s.TextVariant.bodySm},n("addEthereumChainWarningModalListPointOne")),a.default.createElement(i.Text,{as:"li",marginTop:2,variant:s.TextVariant.bodySm},n("addEthereumChainWarningModalListPointTwo")),a.default.createElement(i.Text,{as:"li",marginTop:2,variant:s.TextVariant.bodySm},n("addEthereumChainWarningModalListPointThree")))),a.default.createElement(i.Box,{display:s.Display.Flex,gap:4},a.default.createElement(i.Button,{variant:i.BUTTON_VARIANT.SECONDARY,onClick:t,block:!0,size:i.BUTTON_SIZES.LG},n("reject")),a.default.createElement(i.Button,{variant:i.BUTTON_VARIANT.PRIMARY,onClick:e,danger:!0,block:!0,size:i.BUTTON_SIZES.LG},n("approveButtonText")))))};d.propTypes={onSubmit:r.default.func,onCancel:r.default.func};n.default=d}}},{package:"$root$",file:"ui/pages/confirmations/components/confirmation-warning-modal/confirmation-warning-modal.js"}],[5544,{"./confirmation-warning-modal":5543},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./confirmation-warning-modal"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/confirmation-warning-modal/index.js"}],[5545,{"../../../../../shared/constants/transaction":4520,"../../../../components/app/name/name":4711,"../../../../components/component-library":4955,"../../../../components/ui/box":5194,"../../../../components/ui/button/button.component":5197,"../../../../components/ui/identicon":5247,"../../../../components/ui/nft-collection-image/nft-collection-image":5271,"../../../../components/ui/popover":5281,"../../../../components/ui/tooltip/tooltip":5311,"../../../../helpers/constants/design-system":5355,"../../../../hooks/useCopyToClipboard":5417,"../../../../hooks/useI18nContext":5427,"../../../../hooks/usePetnamesEnabled":5434,"../../../../selectors":5987,"../../send/send.utils":5722,"@metamask/etherscan-link":1369,"@metamask/name-controller":1529,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=E;var a=x(e("react")),r=x(e("prop-types")),o=e("@metamask/etherscan-link"),s=e("react-redux"),i=e("@metamask/name-controller"),l=x(e("../../../../components/ui/box")),c=x(e("../../../../components/ui/button/button.component")),u=x(e("../../../../components/ui/tooltip/tooltip")),d=e("../../../../hooks/useI18nContext"),p=x(e("../../../../components/ui/identicon")),f=e("../../send/send.utils"),m=x(e("../../../../components/ui/popover")),g=e("../../../../helpers/constants/design-system"),h=e("../../../../hooks/useCopyToClipboard"),y=e("../../../../selectors"),v=e("../../../../../shared/constants/transaction"),b=x(e("../../../../components/ui/nft-collection-image/nft-collection-image")),T=e("../../../../components/component-library"),_=x(e("../../../../components/app/name/name")),k=e("../../../../hooks/usePetnamesEnabled");function x(e){return e&&e.__esModule?e:{default:e}}function E({onClose:e,tokenName:t,tokenAddress:n,toAddress:r,chainId:x,rpcPrefs:E,tokenId:w,assetName:C,assetStandard:S,isContractRequestingSignature:P}){var M,I;const O=(0,d.useI18nContext)(),[N,j]=(0,h.useCopyToClipboard)(),[D,A]=(0,h.useCopyToClipboard)(),F=(0,k.usePetnamesEnabled)(),R=(0,s.useSelector)((e=>({data:(0,y.getAddressBookEntry)(e,r)}))),B=S===v.TokenStandard.ERC721||S===v.TokenStandard.ERC1155||C&&w||t&&w;return a.default.createElement(m.default,{className:"contract-details-modal"},a.default.createElement(l.default,{paddingTop:6,paddingRight:4,paddingBottom:8,paddingLeft:4,className:"contract-details-modal__content"},a.default.createElement(T.Text,{fontWeight:g.FontWeight.Bold,variant:g.TextVariant.bodyMd,as:"h5",display:g.Display.Flex},O("contractTitle")),a.default.createElement(T.Text,{variant:g.TextVariant.bodySm,as:"h6",display:g.Display.Flex,color:g.TextColor.textAlternative,marginTop:2},O("contractDescription")),!P&&a.default.createElement(a.default.Fragment,null,a.default.createElement(T.Text,{variant:g.TextVariant.bodySm,as:"h6",display:g.Display.Flex,marginTop:4,marginBottom:2},O(B?"contractNFT":"contractToken")),a.default.createElement(l.default,{display:g.Display.Flex,borderRadius:g.Size.SM,borderStyle:g.BorderStyle.solid,borderColor:g.BorderColor.borderDefault,className:"contract-details-modal__content__contract"},B?a.default.createElement(l.default,{margin:4},a.default.createElement(b.default,{assetName:C,tokenAddress:n})):a.default.createElement(p.default,{className:"contract-details-modal__content__contract__identicon",address:n,diameter:24}),a.default.createElement(l.default,{"data-testid":"recipient"},a.default.createElement(T.Text,{fontWeight:g.FontWeight.Bold,variant:g.TextVariant.bodyMd,as:"h5",marginTop:4},t||(0,f.ellipsify)(n)),t&&a.default.createElement(T.Text,{variant:g.TextVariant.bodySm,as:"h6",display:g.Display.Flex,color:g.TextColor.textAlternative,marginBottom:4},(0,f.ellipsify)(n))),a.default.createElement(l.default,{alignItems:g.AlignItems.center,marginLeft:"auto",marginRight:4,gap:2},a.default.createElement(u.default,{position:"top",title:O(N?"copiedExclamation":"copyToClipboard")},a.default.createElement(T.ButtonIcon,{display:g.Display.Flex,iconName:N?T.IconName.CopySuccess:T.IconName.Copy,onClick:()=>j(n),color:g.Color.iconMuted,ariaLabel:O(N?"copiedExclamation":"copyToClipboard")})),a.default.createElement(u.default,{position:"top",title:O("openInBlockExplorer")},a.default.createElement(T.ButtonIcon,{display:g.Display.Flex,iconName:T.IconName.Export,color:g.Color.iconMuted,onClick:()=>{const e=(0,o.getAccountLink)(n,x,{blockExplorerUrl:(null==E?void 0:E.blockExplorerUrl)??null},null);global.platform.openTab({url:e})},ariaLabel:O("openInBlockExplorer")}))))),a.default.createElement(T.Text,{variant:g.TextVariant.bodySm,as:"h6",display:g.Display.Flex,marginTop:4,marginBottom:2},B&&O("contractRequestingAccess"),P&&O("contractRequestingSignature"),!B&&!P&&O("contractRequestingSpendingCap")),a.default.createElement(l.default,{display:g.Display.Flex,borderRadius:g.Size.SM,borderStyle:g.BorderStyle.solid,borderColor:g.BorderColor.borderDefault,alignItems:g.AlignItems.center,className:"contract-details-modal__content__contract"},!F&&a.default.createElement(p.default,{className:"contract-details-modal__content__contract__identicon",diameter:24,address:r}),a.default.createElement(l.default,{"data-testid":"recipient"},F?a.default.createElement(T.Text,{variant:g.TextVariant.bodyMd,as:"h5"},a.default.createElement(_.default,{value:r,type:i.NameType.ETHEREUM_ADDRESS})):a.default.createElement(T.Text,{fontWeight:g.FontWeight.Bold,variant:g.TextVariant.bodyMd,as:"h5"},(null==R||null===(M=R.data)||void 0===M?void 0:M.name)||(0,f.ellipsify)(r)),!F&&(null==R||null===(I=R.data)||void 0===I?void 0:I.name)&&a.default.createElement(T.Text,{variant:g.TextVariant.bodySm,as:"h6",display:g.Display.Flex,color:g.TextColor.textAlternative,marginBottom:4},(0,f.ellipsify)(r))),a.default.createElement(l.default,{alignItems:g.AlignItems.center,marginLeft:"auto",marginRight:4,gap:2},a.default.createElement(u.default,{position:"top",title:O(D?"copiedExclamation":"copyToClipboard")},a.default.createElement(T.ButtonIcon,{display:g.Display.Flex,iconName:D?T.IconName.CopySuccess:T.IconName.Copy,onClick:()=>A(r),color:g.Color.iconMuted,ariaLabel:O(N?"copiedExclamation":"copyToClipboard")})),a.default.createElement(u.default,{position:"top",title:O("openInBlockExplorer")},a.default.createElement(T.ButtonIcon,{display:g.Display.Flex,iconName:T.IconName.Export,color:g.Color.iconMuted,onClick:()=>{const e=(0,o.getAccountLink)(r,x,{blockExplorerUrl:(null==E?void 0:E.blockExplorerUrl)??null},null);global.platform.openTab({url:e})},ariaLabel:O("openInBlockExplorer")}))))),a.default.createElement(l.default,{display:g.Display.Flex,paddingTop:6,paddingRight:4,paddingBottom:6,paddingLeft:4},a.default.createElement(c.default,{type:"primary",onClick:()=>e()},O("recoveryPhraseReminderConfirm"))))}E.propTypes={onClose:r.default.func,tokenName:r.default.string,tokenAddress:r.default.string,toAddress:r.default.string,chainId:r.default.string,rpcPrefs:r.default.object,tokenId:r.default.string,assetStandard:r.default.string,assetName:r.default.string,isContractRequestingSignature:r.default.bool}}}},{package:"$root$",file:"ui/pages/confirmations/components/contract-details-modal/contract-details-modal.js"}],[5546,{"./contract-details-modal":5545},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./contract-details-modal"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/contract-details-modal/index.js"}],[5547,{"../../../../components/component-library":4955,"../../../../components/ui/box/box":5193,"../../../../components/ui/identicon":5247,"../../../../components/ui/tooltip/tooltip":5311,"../../../../components/ui/typography/typography":5315,"../../../../helpers/constants/design-system":5355,"../../../../hooks/useCopyToClipboard":5417,"../../../../hooks/useI18nContext":5427,"@metamask/etherscan-link":1369,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=g;var a=m(e("react")),r=m(e("prop-types")),o=e("@metamask/etherscan-link"),s=m(e("../../../../components/ui/box/box")),i=m(e("../../../../components/ui/tooltip/tooltip")),l=e("../../../../hooks/useI18nContext"),c=m(e("../../../../components/ui/identicon")),u=m(e("../../../../components/ui/typography/typography")),d=e("../../../../helpers/constants/design-system"),p=e("../../../../hooks/useCopyToClipboard"),f=e("../../../../components/component-library");function m(e){return e&&e.__esModule?e:{default:e}}function g({address:e,tokenName:t,chainId:n,rpcPrefs:r}){const m=(0,l.useI18nContext)(),[g,h]=(0,p.useCopyToClipboard)();return a.default.createElement(s.default,{className:"contract-token-values",display:d.DISPLAY.FLEX,alignItems:d.AlignItems.center,justifyContent:d.JustifyContent.center,gap:2},a.default.createElement(c.default,{address:e,diameter:24}),a.default.createElement(u.default,{variant:d.TypographyVariant.H2,fontWeight:d.FONT_WEIGHT.BOLD,color:d.TextColor.textAlternative,marginTop:0,marginBottom:0},t),a.default.createElement(i.default,{position:"top",title:m(g?"copiedExclamation":"copyToClipboard")},a.default.createElement(f.ButtonIcon,{iconName:g?f.IconName.CopySuccess:f.IconName.Copy,color:d.Color.iconMuted,onClick:()=>h(e),ariaLabel:m(g?"copiedExclamation":"copyToClipboard")})),a.default.createElement(i.default,{position:"top",title:m("openInBlockExplorer")},a.default.createElement(f.ButtonIcon,{display:d.DISPLAY.FLEX,iconName:f.IconName.Export,color:d.Color.iconMuted,onClick:()=>{const t=(0,o.getAccountLink)(e,n,{blockExplorerUrl:(null==r?void 0:r.blockExplorerUrl)??null},null);global.platform.openTab({url:t})},ariaLabel:m("openInBlockExplorer")})))}g.propTypes={address:r.default.string,tokenName:r.default.string,chainId:r.default.string,rpcPrefs:r.default.object}}}},{package:"$root$",file:"ui/pages/confirmations/components/contract-token-values/contract-token-values.js"}],[5548,{"../../../../../.storybook/i18n":1,"../../../../components/component-library":4955,"../../../../helpers/constants/design-system":5355,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=u;var a,r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=(a=e("prop-types"))&&a.__esModule?a:{default:a},s=e("../../../../../.storybook/i18n"),i=e("../../../../components/component-library"),l=e("../../../../helpers/constants/design-system");function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}function u({nextNonce:e,customNonceValue:t,showCustomizeNonceModal:n}){const a=(0,r.useContext)(s.I18nContext);return r.default.createElement(i.Box,{display:l.Display.Flex,marginBottom:4,paddingTop:3,paddingRight:3,paddingBottom:4,paddingLeft:3,borderRadius:l.BorderRadius.MD,alignItems:l.AlignItems.center,className:"custom-nonce__content"},r.default.createElement(i.Box,{className:"custom-nonce__header",display:l.Display.InlineFlex,justifyContent:l.JustifyContent.flexStart,alignItems:l.AlignItems.center},r.default.createElement(i.Text,{variant:l.TextVariant.bodySm,as:"h6"},a("nonce")),r.default.createElement(i.ButtonLink,{key:"editCustomNonce",size:l.Size.auto,marginLeft:3,onClick:()=>n()},a("edit"))),r.default.createElement(i.Text,{className:"custom-nonce__value",variant:l.TextVariant.bodySmBold,as:"h6"},t||e))}u.propTypes={nextNonce:o.default.number,customNonceValue:o.default.string,showCustomizeNonceModal:o.default.func}}}},{package:"$root$",file:"ui/pages/confirmations/components/custom-nonce/custom-nonce.js"}],[5549,{"./custom-nonce":5548},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./custom-nonce"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/custom-nonce/index.js"}],[5550,{"../../../../components/component-library":4955,"../../../../components/ui/tooltip":5310,"../../../../helpers/constants/design-system":5355,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.CustomSpendingCapTooltip=void 0;var a=l(e("react")),r=l(e("prop-types")),o=l(e("../../../../components/ui/tooltip")),s=e("../../../../helpers/constants/design-system"),i=e("../../../../components/component-library");function l(e){return e&&e.__esModule?e:{default:e}}const c=({tooltipContentText:e,tooltipIcon:t})=>a.default.createElement(i.Box,{display:s.Display.InlineFlex,alignItems:s.AlignItems.center},a.default.createElement(o.default,{interactive:!0,position:"top",html:a.default.createElement(i.Text,{variant:s.TextVariant.bodySm,color:s.TextColor.textAlternative},e)},t?a.default.createElement(i.Icon,{name:i.IconName.Danger,size:i.IconSize.Inherit,color:s.IconColor.errorDefault}):""!==t&&a.default.createElement(i.Icon,{name:i.IconName.Question,size:i.IconSize.Inherit,color:s.IconColor.iconAlternative})));n.CustomSpendingCapTooltip=c,c.propTypes={tooltipContentText:r.default.oneOfType([r.default.string,r.default.node]),tooltipIcon:r.default.oneOfType([r.default.string,r.default.bool])}}}},{package:"$root$",file:"ui/pages/confirmations/components/custom-spending-cap/custom-spending-cap-tooltip.js"}],[5551,{"../../../../../shared/constants/tokens":4519,"../../../../../shared/lib/transactions-controller-utils":4531,"../../../../../shared/modules/Numeric":4533,"../../../../../shared/modules/conversion.utils":4537,"../../../../components/component-library":4955,"../../../../contexts/gasFee":5323,"../../../../contexts/i18n":5324,"../../../../ducks/app/app":5336,"../../../../helpers/constants/design-system":5355,"../../../../helpers/constants/zendesk-url":5368,"../../../../store/actions":5998,"../../confirm-approve/confirm-approve.util":5641,"./custom-spending-cap-tooltip":5550,"bignumber.js":2933,"ethereumjs-util":3288,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=x;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=k(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=e("react-redux"),o=_(e("prop-types")),s=_(e("bignumber.js")),i=e("ethereumjs-util"),l=e("../../../../contexts/i18n"),c=e("../../../../helpers/constants/design-system"),u=e("../../../../components/component-library"),d=e("../../../../ducks/app/app"),p=e("../../../../../shared/lib/transactions-controller-utils"),f=e("../../../../../shared/modules/conversion.utils"),m=e("../../../../../shared/constants/tokens"),g=e("../../../../../shared/modules/Numeric"),h=e("../../../../store/actions"),y=e("../../confirm-approve/confirm-approve.util"),v=e("../../../../contexts/gasFee"),b=_(e("../../../../helpers/constants/zendesk-url")),T=e("./custom-spending-cap-tooltip");function _(e){return e&&e.__esModule?e:{default:e}}function k(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(k=function(e){return e?n:t})(e)}function x({txParams:e,tokenName:t,currentTokenBalance:n,dappProposedValue:o,siteOrigin:_,passTheErrorText:k,decimals:x,setInputChangeInProgress:E,customSpendingCap:w,setCustomSpendingCap:C}){const S=(0,a.useContext)(l.I18nContext),P=(0,r.useDispatch)(),{updateTransaction:M}=(0,v.useGasFeeContext)(),I=(0,a.useRef)(null),[O,N]=(0,a.useState)(""),[j,D]=(0,a.useState)(w!==String(o)&&!0),A=S("inputLogicEmptyState"),F=e=>e.replace(/,/gu,"."),R=(e,t)=>new g.Numeric(Number(F(e)),10).greaterThan(Number(t),10),B=e=>new g.Numeric(Number(F(e)),10).lessThanOrEqualTo(new g.Numeric(Number(n),10))?{className:"custom-spending-cap__lowerValue",description:S("inputLogicEqualOrSmallerNumber",[a.default.createElement(u.Text,{key:"custom-spending-cap",variant:c.TextVariant.bodySmBold,as:"span"},F(e)," ",t)])}:R(e,n)?{className:"custom-spending-cap__higherValue",description:S("inputLogicHigherNumber")}:{className:"custom-spending-cap__emptyState",description:S("inputLogicEmptyState")},[L,$]=(0,a.useState)(B(w).description),G=async t=>{var n;if(!e)return;E(!0);let a="";const r=B(t).description,o=m.DECIMAL_REGEX.exec(F(t));if((null==o||null===(n=o[1])||void 0===n?void 0:n.length)>x)return void E(!1);t&&!m.NUM_W_OPT_DECIMAL_COMMA_OR_DOT_REGEX.test(t)?(a=S("spendingCapError"),$(S("spendingCapErrorDescription",[_])),N(a)):($(r),N(""));const l=(0,p.calcTokenAmount)(m.MAX_TOKEN_ALLOWANCE_AMOUNT,x);if(Number(t.length)>1&&Number(t)){new s.default(t).greaterThan(l)&&(a=S("spendLimitTooLarge"),N(a))}if(C(String(t)),P((0,d.setCustomTokenAmount)(String(t))),""!==String(t))try{const n=(0,y.getCustomTxParamsData)(e.data,{customPermissionAmount:t,decimals:x}),{from:a,to:r,value:o}=e,s=await(0,h.estimateGas)({from:a,to:r,value:o,data:n});s&&await M({gasLimit:(0,f.hexToDecimal)((0,i.addHexPrefix)(s))})}catch(e){console.error("Error in trying to update gas limit",e)}E(!1)};(0,a.useEffect)((()=>{w===String(o)?D(!1):D(!0)}),[w,o]),(0,a.useEffect)((()=>{k(O)}),[O,k]),(0,a.useEffect)((()=>{I.current&&I.current.focus({preventScroll:!0})}),[I.current]);const W=R(w,n)?S("warningTooltipText",[a.default.createElement(u.Text,{key:"tooltip-text",variant:c.TextVariant.bodySmBold,as:"span",color:c.TextColor.errorDefault},a.default.createElement(u.Icon,{name:u.IconName.Danger,size:u.IconSize.Inherit})," ",S("beCareful"))]):S("inputLogicEmptyState");return a.default.createElement(a.default.Fragment,null,a.default.createElement(u.Box,{className:"custom-spending-cap",display:c.Display.Flex,alignItems:c.AlignItems.flexStart,flexDirection:c.FlexDirection.Column,gap:2,padding:4,backgroundColor:c.BackgroundColor.backgroundAlternative,borderRadius:c.Size.SM},a.default.createElement(u.Box,{display:c.Display.Flex,alignItems:c.AlignItems.center,gap:1,width:c.BlockSize.Full},a.default.createElement("div",null,a.default.createElement(u.Label,{htmlFor:"custom-spending-cap",display:c.Display.Inline,marginRight:1},S("customSpendingCap")),a.default.createElement(T.CustomSpendingCapTooltip,{tooltipContentText:F(w)?W:"",tooltipIcon:F(w)?R(w,n):""})),j&&a.default.createElement(u.ButtonLink,{marginLeft:"auto",size:c.Size.auto,onClick:e=>{e.preventDefault(),D(!1),G(o)}},S("useSiteSuggestion"))),a.default.createElement(u.TextField,{inputRef:I,inputProps:{"data-testid":"custom-spending-cap-input",color:R(w,n)?c.TextColor.errorDefault:c.TextColor.textDefault,paddingInlineEnd:4},id:"custom-spending-cap",onChange:e=>G(e.target.value),placeholder:S("enterANumber"),value:w,endAccessory:a.default.createElement(u.ButtonLink,{onClick:e=>{e.preventDefault(),G(n)},"data-testid":"custom-spending-cap-max-button"},S("max")),width:c.BlockSize.Full}),a.default.createElement(u.HelpText,{color:O?c.TextColor.errorDefault:c.TextColor.textDefault,variant:c.TextVariant.bodySm},O||(F(w)?L:A)),a.default.createElement(u.ButtonLink,{size:c.Size.SM,href:b.default.TOKEN_ALLOWANCE_WITH_SPENDING_CAP,externalLink:!0},S("learnMoreUpperCase"))))}x.propTypes={txParams:o.default.object.isRequired,tokenName:o.default.string,currentTokenBalance:o.default.string,dappProposedValue:o.default.string,siteOrigin:o.default.string,passTheErrorText:o.default.func,decimals:o.default.string,setInputChangeInProgress:o.default.func.isRequired,customSpendingCap:o.default.string,setCustomSpendingCap:o.default.func.isRequired}}}},{package:"$root$",file:"ui/pages/confirmations/components/custom-spending-cap/custom-spending-cap.js"}],[5552,{"../../../../../shared/constants/gas":4500,"../../../../components/component-library":4955,"../../../../components/ui/button":5198,"../../../../components/ui/info-tooltip":5248,"../../../../contexts/i18n":5324,"../../../../helpers/constants/design-system":5355,"../../../../helpers/utils/confirm-tx.util":5381,"../advanced-gas-controls/advanced-gas-controls.component":5471,"bignumber.js":2933,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=h;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=g(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=m(e("prop-types")),o=m(e("bignumber.js")),s=e("../../../../../shared/constants/gas"),i=m(e("../../../../components/ui/button")),l=e("../../../../helpers/constants/design-system"),c=e("../../../../components/component-library"),u=e("../../../../helpers/utils/confirm-tx.util"),d=m(e("../../../../components/ui/info-tooltip")),p=m(e("../advanced-gas-controls/advanced-gas-controls.component")),f=e("../../../../contexts/i18n");function m(e){return e&&e.__esModule?e:{default:e}}function g(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(g=function(e){return e?n:t})(e)}function h({mode:e=s.EditGasModes.modifyInPlace,estimatedMinimumNative:t,transaction:n,gasPrice:r,setGasPrice:m,gasLimit:g,setGasLimit:h,properGasLimit:y,dappSuggestedGasFeeAcknowledged:v,setDappSuggestedGasFeeAcknowledged:b,onManualChange:T,minimumGasLimit:_,balanceError:k,gasErrors:x,txParamsHaveBeenCustomized:E}){const w=(0,a.useContext)(f.I18nContext),C=(0,a.useRef)(null),S=(0,u.areDappSuggestedAndTxParamGasFeesTheSame)(n),P=Boolean((null==n?void 0:n.dappSuggestedGasFees)&&!v&&S);let M;g!==undefined&&y!==undefined&&new o.default(g).lessThan(new o.default(y))&&(M=w("gasLimitRecommended",[y]));const I=k&&E;return a.default.createElement("div",{className:"edit-gas-display"},a.default.createElement("div",{className:"edit-gas-display__content"},I&&a.default.createElement(c.BannerAlert,{severity:l.Severity.Danger,description:w("insufficientFunds"),marginBottom:6}),M&&a.default.createElement(c.BannerAlert,{severity:l.Severity.Warning,description:M,marginBottom:6}),P&&a.default.createElement(c.BannerAlert,{severity:l.Severity.Warning,className:"banner-alert--warning",description:w("gasDisplayDappWarning",[n.origin]),marginBottom:6}),e===s.EditGasModes.speedUp&&a.default.createElement("div",{className:"edit-gas-display__top-tooltip"},a.default.createElement(c.Text,{color:l.TextColor.textDefault,variant:l.TextVariant.bodySm,as:"h6",fontWeight:l.FontWeight.Bold},w("speedUpTooltipText")," ",a.default.createElement(d.default,{position:"top",contentText:w("speedUpExplanation")}))),a.default.createElement(c.Text,{color:l.TextColor.textDefault,variant:l.TextVariant.headingLg,as:"h1",textAlign:l.TextAlign.Center},t),P&&a.default.createElement(i.default,{className:"edit-gas-display__dapp-acknowledgement-button",onClick:()=>b(!0)},w("gasDisplayAcknowledgeDappButtonText")),!P&&a.default.createElement(p.default,{gasLimit:g,setGasLimit:h,gasPrice:r,setGasPrice:m,onManualChange:T,minimumGasLimit:_,gasErrors:x})),a.default.createElement("div",{ref:C,className:"edit-gas-display__scroll-bottom"}))}h.propTypes={mode:r.default.oneOf(Object.values(s.EditGasModes)),estimatedMinimumNative:r.default.string,gasPrice:r.default.string,setGasPrice:r.default.func,gasLimit:r.default.number,setGasLimit:r.default.func,properGasLimit:r.default.number,dappSuggestedGasFeeAcknowledged:r.default.bool,setDappSuggestedGasFeeAcknowledged:r.default.func,transaction:r.default.object,onManualChange:r.default.func,minimumGasLimit:r.default.string,balanceError:r.default.bool,gasErrors:r.default.object,txParamsHaveBeenCustomized:r.default.bool}}}},{package:"$root$",file:"ui/pages/confirmations/components/edit-gas-display/edit-gas-display.component.js"}],[5553,{"./edit-gas-display.component":5552},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./edit-gas-display.component"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/edit-gas-display/index.js"}],[5554,{"../../../../../shared/constants/gas":4500,"../../../../components/component-library":4955,"../../../../components/ui/info-tooltip/info-tooltip":5250,"../../../../contexts/gasFee":5323,"../../../../contexts/transaction-modal":5331,"../../../../helpers/constants/design-system":5355,"../../../../helpers/constants/gas":5357,"../../../../hooks/useI18nContext":5427,"../../hooks/useTransactionEventFragment":5711,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=g;var a=m(e("react")),r=m(e("prop-types")),o=e("../../../../../shared/constants/gas"),s=e("../../../../helpers/constants/design-system"),i=e("../../../../helpers/constants/gas"),l=e("../../../../contexts/gasFee"),c=e("../../../../hooks/useI18nContext"),u=e("../../hooks/useTransactionEventFragment"),d=e("../../../../contexts/transaction-modal"),p=m(e("../../../../components/ui/info-tooltip/info-tooltip")),f=e("../../../../components/component-library");function m(e){return e&&e.__esModule?e:{default:e}}function g({userAcknowledgedGasMissing:e}){const t=(0,c.useI18nContext)(),{editGasMode:n,gasLimit:r,hasSimulationError:m,estimateUsed:g,maxFeePerGas:h,maxPriorityFeePerGas:y,supportsEIP1559:v,transaction:b}=(0,l.useGasFeeContext)(),{updateTransactionEventFragment:T}=(0,u.useTransactionEventFragment)(),{openModal:_}=(0,d.useTransactionModalContext)();if(!v||!g||!(!m||!0===e))return null;let k=g,x=g;g===o.PriorityLevels.high&&n===o.EditGasModes.swaps?(k="swapSuggested",x="swapSuggested"):g===o.PriorityLevels.tenPercentIncreased&&(k=undefined,x="tenPercentIncreased");return a.default.createElement("div",{className:"edit-gas-fee-button"},a.default.createElement("button",{onClick:()=>{T({gas_edit_attempted:"basic"}),_("editGasFee")},"data-testid":"edit-gas-fee-button"},k&&a.default.createElement("span",{className:"edit-gas-fee-button__icon"},i.PRIORITY_LEVEL_ICON_MAP[k]),a.default.createElement("span",{className:"edit-gas-fee-button__label"},t(x)),a.default.createElement(f.Icon,{name:f.IconName.ArrowRight,color:s.Color.primaryDefault,size:f.IconSize.Xs})),"custom"===g&&a.default.createElement("button",{onClick:()=>{T({gas_edit_attempted:"advanced"}),_("advancedGasFee")}},t("edit")),"dappSuggested"===g&&a.default.createElement(p.default,{contentText:a.default.createElement("div",{className:"edit-gas-fee-button__tooltip"},(null==b?void 0:b.origin)&&a.default.createElement(f.Text,{variant:s.TextVariant.bodySm,as:"h6",color:s.TextColor.textAlternative},t("dappSuggestedTooltip",[b.origin])),a.default.createElement(f.Text,{variant:s.TextVariant.bodySm,as:"h6"},a.default.createElement("b",null,t("maxFee"))," ",h),a.default.createElement(f.Text,{variant:s.TextVariant.bodySm,as:"h6"},a.default.createElement("b",null,t("maxPriorityFee"))," ",y),a.default.createElement(f.Text,{variant:s.TextVariant.bodySm,as:"h6"},a.default.createElement("b",null,t("gasLimit"))," ",r)),position:"top"}))}g.propTypes={userAcknowledgedGasMissing:r.default.bool}}}},{package:"$root$",file:"ui/pages/confirmations/components/edit-gas-fee-button/edit-gas-fee-button.js"}],[5555,{"./edit-gas-fee-button":5554},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./edit-gas-fee-button"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/edit-gas-fee-button/index.js"}],[5556,{"../../../../components/component-library":4955,"../../../../contexts/gasFee":5323,"../../../../contexts/transaction-modal":5331,"../../../../helpers/constants/design-system":5355,"../../hooks/useTransactionEventFragment":5711,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=d;var a=u(e("react")),r=u(e("prop-types")),o=e("../../../../contexts/gasFee"),s=e("../../hooks/useTransactionEventFragment"),i=e("../../../../contexts/transaction-modal"),l=e("../../../../components/component-library"),c=e("../../../../helpers/constants/design-system");function u(e){return e&&e.__esModule?e:{default:e}}function d({userAcknowledgedGasMissing:e=!1}){const{hasSimulationError:t,estimateUsed:n,supportsEIP1559:r}=(0,o.useGasFeeContext)(),{updateTransactionEventFragment:u}=(0,s.useTransactionEventFragment)(),{openModal:d}=(0,i.useTransactionModalContext)();if(!r||!n||!(!t||e))return null;return a.default.createElement(l.Button,{style:{textDecoration:"none",height:"var(--typography-l-body-md-medium-line-height)"},size:c.Size.SM,variant:l.ButtonVariant.Link,startIconName:l.IconName.Edit,color:c.IconColor.primaryDefault,alignItems:c.AlignItems.baseline,paddingTop:1,"data-testid":"edit-gas-fee-icon",onClick:()=>{u({gas_edit_attempted:"basic"}),d("editGasFee")}})}d.propTypes={userAcknowledgedGasMissing:r.default.bool}}}},{package:"$root$",file:"ui/pages/confirmations/components/edit-gas-fee-icon/edit-gas-fee-icon.js"}],[5557,{"../../../../../shared/constants/gas":4500,"../../../../components/app/app-loading-spinner":4584,"../../../../components/component-library":4955,"../../../../components/ui/box":5194,"../../../../components/ui/error-message":5221,"../../../../components/ui/popover":5281,"../../../../contexts/gasFee":5323,"../../../../contexts/transaction-modal":5331,"../../../../helpers/constants/design-system":5355,"../../../../helpers/constants/error-keys":5356,"../../../../helpers/constants/zendesk-url":5368,"../../../../hooks/useI18nContext":5427,"./edit-gas-item":5559,"./network-statistics":5564,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=v(e("react")),r=e("../../../../../shared/constants/gas"),o=e("../../../../hooks/useI18nContext"),s=e("../../../../contexts/transaction-modal"),i=v(e("../../../../components/ui/box")),l=v(e("../../../../components/ui/error-message")),c=v(e("../../../../components/ui/popover")),u=e("../../../../helpers/constants/design-system"),d=e("../../../../helpers/constants/error-keys"),p=e("../../../../contexts/gasFee"),f=v(e("../../../../components/app/app-loading-spinner")),m=v(e("../../../../helpers/constants/zendesk-url")),g=e("../../../../components/component-library"),h=v(e("./edit-gas-item")),y=v(e("./network-statistics"));function v(e){return e&&e.__esModule?e:{default:e}}n.default=()=>{const{balanceError:e,editGasMode:t}=(0,p.useGasFeeContext)(),n=(0,o.useI18nContext)(),{closeAllModals:v,closeModal:b,currentModal:T,openModalCount:_}=(0,s.useTransactionModalContext)();if("editGasFee"!==T)return null;let k="editGasFeeModalTitle";return t===r.EditGasModes.cancel?k="editCancellationGasFeeModalTitle":t===r.EditGasModes.speedUp&&(k="editSpeedUpEditGasFeeModalTitle"),a.default.createElement(c.default,{title:n(k),onBack:1===_?undefined:()=>b(["editGasFee"]),onClose:v,className:"edit-gas-fee-popover"},a.default.createElement(a.default.Fragment,null,a.default.createElement(f.default,null),a.default.createElement("div",{className:"edit-gas-fee-popover__wrapper"},a.default.createElement("div",{className:"edit-gas-fee-popover__content"},a.default.createElement(i.default,null,e&&a.default.createElement(l.default,{errorKey:d.INSUFFICIENT_FUNDS_ERROR_KEY}),a.default.createElement("div",{className:"edit-gas-fee-popover__content__header"},a.default.createElement("span",{className:"edit-gas-fee-popover__content__header-option"},n("gasOption")),a.default.createElement("span",{className:"edit-gas-fee-popover__content__header-time"},t!==r.EditGasModes.swaps&&n("time")),a.default.createElement("span",{className:"edit-gas-fee-popover__content__header-max-fee"},n("maxFee"))),(t===r.EditGasModes.cancel||t===r.EditGasModes.speedUp)&&a.default.createElement(h.default,{priorityLevel:r.PriorityLevels.tenPercentIncreased}),t===r.EditGasModes.modifyInPlace&&a.default.createElement(h.default,{priorityLevel:r.PriorityLevels.low}),a.default.createElement(h.default,{priorityLevel:r.PriorityLevels.medium}),a.default.createElement(h.default,{priorityLevel:r.PriorityLevels.high}),a.default.createElement("div",{className:"edit-gas-fee-popover__content__separator"}),t===r.EditGasModes.modifyInPlace&&a.default.createElement(h.default,{priorityLevel:r.PriorityLevels.dAppSuggested}),a.default.createElement(h.default,{priorityLevel:r.PriorityLevels.custom})),a.default.createElement(i.default,null,a.default.createElement(y.default,null),a.default.createElement(g.Text,{className:"edit-gas-fee-popover__know-more",align:"center",color:u.TextColor.textAlternative,tag:u.TextVariant.bodyMd,variant:u.TextVariant.bodySm,as:"h6"},n("learnMoreAboutGas",[a.default.createElement("a",{key:"learnMoreLink",target:"_blank",rel:"noopener noreferrer",href:m.default.USER_GUIDE_GAS},n("learnMore"))])))))))}}}},{package:"$root$",file:"ui/pages/confirmations/components/edit-gas-fee-popover/edit-gas-fee-popover.js"}],[5558,{"../../../../../../shared/constants/gas":4500,"../../../../../components/app/user-preferenced-currency-display":4880,"../../../../../components/ui/info-tooltip":5248,"../../../../../components/ui/loading-heartbeat":5253,"../../../../../contexts/gasFee":5323,"../../../../../contexts/transaction-modal":5331,"../../../../../helpers/constants/common":5353,"../../../../../helpers/constants/gas":5357,"../../../../../helpers/utils/util":5399,"../../../../../hooks/useI18nContext":5427,"../../../hooks/useTransactionEventFragment":5711,"../edit-gas-tooltip/edit-gas-tooltip":5562,"./useGasItemFeeDetails":5561,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=b(e("classnames")),r=b(e("prop-types")),o=b(e("react")),s=e("../../../../../../shared/constants/gas"),i=e("../../../../../helpers/constants/gas"),l=e("../../../../../helpers/constants/common"),c=e("../../../../../helpers/utils/util"),u=e("../../../../../contexts/gasFee"),d=e("../../../../../hooks/useI18nContext"),p=e("../../../hooks/useTransactionEventFragment"),f=e("../../../../../contexts/transaction-modal"),m=b(e("../../../../../components/ui/info-tooltip")),g=b(e("../../../../../components/ui/loading-heartbeat")),h=b(e("../../../../../components/app/user-preferenced-currency-display")),y=b(e("../edit-gas-tooltip/edit-gas-tooltip")),v=e("./useGasItemFeeDetails");function b(e){return e&&e.__esModule?e:{default:e}}const T=({priorityLevel:e})=>{const{editGasMode:t,estimateUsed:n,gasLimit:r,updateTransactionToTenPercentIncreasedGasFee:b,updateTransactionUsingDAPPSuggestedValues:T,updateTransactionUsingEstimate:_,transaction:k}=(0,u.useGasFeeContext)(),{updateTransactionEventFragment:x}=(0,p.useTransactionEventFragment)(),E=(0,d.useI18nContext)(),{closeModal:w,openModal:C}=(0,f.useTransactionModalContext)(),{dappSuggestedGasFees:S}=k,{estimateGreaterThanGasUse:P,hexMaximumTransactionFee:M,maxFeePerGas:I,maxPriorityFeePerGas:O,minWaitTime:N}=(0,v.useGasItemFeeDetails)(e);if(!(e!==s.PriorityLevels.dAppSuggested||null!=S&&S.maxFeePerGas||null!=S&&S.gasPrice))return null;const{title:j,icon:D}=((e,t)=>{let n=e,a=e;return e===s.PriorityLevels.dAppSuggested?a="dappSuggestedShortLabel":e===s.PriorityLevels.dappSuggestedHigh?a="dappSuggestedHighShortLabel":e===s.PriorityLevels.tenPercentIncreased?(n=null,a="tenPercentIncreased"):e===s.PriorityLevels.high&&t===s.EditGasModes.swaps&&(n="swapSuggested",a="swapSuggested"),{title:a,icon:n}})(e,t);return o.default.createElement("button",{className:(0,a.default)("edit-gas-item",{"edit-gas-item--selected":e===n,"edit-gas-item--disabled":P}),onClick:()=>{e===s.PriorityLevels.custom?(x({properties:{gas_edit_attempted:"advanced"}}),C("advancedGasFee")):(x({properties:{gas_edit_type:"basic"}}),w(["editGasFee"]),e===s.PriorityLevels.tenPercentIncreased?b():e===s.PriorityLevels.dAppSuggested?T():_(e))},"aria-label":e,autoFocus:e===n,disabled:P,"data-testid":`edit-gas-fee-item-${e}`},o.default.createElement("span",{className:"edit-gas-item__name"},D&&o.default.createElement("span",{className:`edit-gas-item__icon edit-gas-item__icon-${e}`},i.PRIORITY_LEVEL_ICON_MAP[D]),E(j)),o.default.createElement("span",{className:`edit-gas-item__time-estimate edit-gas-item__time-estimate-${e}`},t!==s.EditGasModes.swaps&&(N?(0,c.toHumanReadableTime)(E,N):"--")),o.default.createElement("span",{className:`edit-gas-item__fee-estimate edit-gas-item__fee-estimate-${e}`},M?o.default.createElement("div",{className:"edit-gas-item__maxfee"},o.default.createElement(g.default,{backgroundColor:e===n?"var(--color-background-alternative)":"var(--color-background-default)",estimateUsed:e}),o.default.createElement(h.default,{key:"editGasSubTextFeeAmount",type:l.PRIMARY,value:M})):"--"),o.default.createElement("span",{className:"edit-gas-item__tooltip","data-testid":"gas-tooltip"},o.default.createElement(m.default,{contentText:o.default.createElement(y.default,{t:E,priorityLevel:e,maxFeePerGas:I,maxPriorityFeePerGas:O,editGasMode:t,gasLimit:r,transaction:k,estimateGreaterThanGasUse:P}),position:"top"})))};T.propTypes={priorityLevel:r.default.string};n.default=T}}},{package:"$root$",file:"ui/pages/confirmations/components/edit-gas-fee-popover/edit-gas-item/edit-gas-item.js"}],[5559,{"./edit-gas-item":5558},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./edit-gas-item"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/edit-gas-fee-popover/edit-gas-item/index.js"}],[5560,{"../../../../../../shared/constants/gas":4500,"../../../../../ducks/metamask/metamask":5346,"../../../../../store/actions":5998,"bignumber.js":2933,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useCustomTimeEstimate=void 0;var a,r=e("react"),o=e("react-redux"),s=(a=e("bignumber.js"))&&a.__esModule?a:{default:a},i=e("../../../../../../shared/constants/gas"),l=e("../../../../../ducks/metamask/metamask"),c=e("../../../../../store/actions");n.useCustomTimeEstimate=({gasFeeEstimates:e,maxFeePerGas:t,maxPriorityFeePerGas:n})=>{var a;const u=(0,o.useSelector)(l.getGasEstimateType),d=(0,o.useSelector)(l.getIsGasEstimatesLoading),[p,f]=(0,r.useState)(null),m=d||u!==i.GasEstimateTypes.feeMarket||!n,g=(null==e?void 0:e.low)&&Number(n){!d&&u===i.GasEstimateTypes.feeMarket&&n&&g&&(0,c.getGasFeeTimeEstimate)(new s.default(n,10).toString(10),new s.default(t,10).toString(10)).then((e=>{f(e)}))}),[u,g,d,t,n,m]),m)return{};let h="";if(g&&p&&"unknown"!==p&&"unknown"!==(null==p?void 0:p.upperTimeBound))h=Number(null==p?void 0:p.upperTimeBound);else if(Number(n)>=Number(null==e||null===(a=e.medium)||void 0===a?void 0:a.suggestedMaxPriorityFeePerGas)){var y;h=null==e||null===(y=e.high)||void 0===y?void 0:y.minWaitTimeEstimate}else{var v;h=null==e||null===(v=e.low)||void 0===v?void 0:v.maxWaitTimeEstimate}return{waitTimeEstimate:h}}}}},{package:"$root$",file:"ui/pages/confirmations/components/edit-gas-fee-popover/edit-gas-item/useCustomTimeEstimate.js"}],[5561,{"../../../../../../shared/constants/gas":4500,"../../../../../../shared/modules/conversion.utils":4537,"../../../../../../shared/modules/gas.utils":4543,"../../../../../contexts/gasFee":5323,"../../../../../helpers/utils/gas":5384,"../../../../../selectors":5987,"./useCustomTimeEstimate":5560,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useGasItemFeeDetails=void 0;var a=e("react"),r=e("react-redux"),o=e("../../../../../../shared/constants/gas"),s=e("../../../../../../shared/modules/gas.utils"),i=e("../../../../../helpers/utils/gas"),l=e("../../../../../selectors"),c=e("../../../../../contexts/gasFee"),u=e("../../../../../../shared/modules/conversion.utils"),d=e("./useCustomTimeEstimate");n.useGasItemFeeDetails=e=>{const{editGasMode:t,estimateUsed:n,gasFeeEstimates:p,gasLimit:f,maxFeePerGas:m,maxPriorityFeePerGas:g,transaction:h}=(0,c.useGasFeeContext)(),[y,v]=(0,a.useState)(!1),b=(0,r.useSelector)(l.getAdvancedGasFeeValues);let T,_,k;const{dappSuggestedGasFees:x}=h;if(null!=p&&p[e])T=p[e].suggestedMaxFeePerGas,_=p[e].suggestedMaxPriorityFeePerGas;else if(e===o.PriorityLevels.dAppSuggested&&x)T=(0,u.hexWEIToDecGWEI)(x.maxFeePerGas||x.gasPrice),_=(0,u.hexWEIToDecGWEI)(x.maxPriorityFeePerGas||T);else if(e===o.PriorityLevels.custom)n===o.PriorityLevels.custom?(T=m,_=g):b&&t!==o.EditGasModes.swaps&&(T=b.maxBaseFee,_=b.priorityFee);else if(e===o.PriorityLevels.tenPercentIncreased&&h.previousGas){var E,w;T=(0,u.hexWEIToDecGWEI)((0,i.addTenPercentAndRound)(null===(E=h.previousGas)||void 0===E?void 0:E.maxFeePerGas)),_=(0,u.hexWEIToDecGWEI)((0,i.addTenPercentAndRound)(null===(w=h.previousGas)||void 0===w?void 0:w.maxPriorityFeePerGas))}const{waitTimeEstimate:C}=(0,d.useCustomTimeEstimate)({gasFeeEstimates:p,maxFeePerGas:T,maxPriorityFeePerGas:_});k=null!=p&&p[e]?e===o.PriorityLevels.high?null==p?void 0:p.high.minWaitTimeEstimate:null==p?void 0:p.low.maxWaitTimeEstimate:C;const S=T?(0,s.getMaximumGasTotalInHexWei)({gasLimit:(0,u.decimalToHex)(f),maxFeePerGas:(0,u.decGWEIToHexWEI)(T)}):null;return(0,a.useEffect)((()=>{if(!(t!==o.EditGasModes.cancel&&t!==o.EditGasModes.speedUp||e!==o.PriorityLevels.medium&&e!==o.PriorityLevels.high)){const t=!(0,i.gasEstimateGreaterThanGasUsedPlusTenPercent)(h.previousGas||h.txParams,p,e);v(t)}}),[t,p,e,h]),{estimateGreaterThanGasUse:y,maxFeePerGas:T,maxPriorityFeePerGas:_,minWaitTime:k,hexMaximumTransactionFee:S}}}}},{package:"$root$",file:"ui/pages/confirmations/components/edit-gas-fee-popover/edit-gas-item/useGasItemFeeDetails.js"}],[5562,{"../../../../../../shared/constants/gas":4500,"../../../../../components/component-library":4955,"../../../../../helpers/constants/design-system":5355,"../../../../../helpers/utils/gas":5384,"../../../../../helpers/utils/util":5399,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=d(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=(a=e("prop-types"))&&a.__esModule?a:{default:a},s=e("../../../../../../shared/constants/gas"),i=e("../../../../../helpers/constants/design-system"),l=e("../../../../../helpers/utils/gas"),c=e("../../../../../helpers/utils/util"),u=e("../../../../../components/component-library");function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(d=function(e){return e?n:t})(e)}const p=({editGasMode:e,estimateGreaterThanGasUse:t,gasLimit:n,priorityLevel:a,maxFeePerGas:o,maxPriorityFeePerGas:d,transaction:p,t:f})=>{const m=(0,r.useMemo)((()=>{switch(a){case s.PriorityLevels.low:return f("lowGasSettingToolTipMessage",[r.default.createElement("span",{key:a},r.default.createElement("b",null,f("low")))]);case s.PriorityLevels.medium:return t?f("disabledGasOptionToolTipMessage",[r.default.createElement("span",{key:`disabled-priority-level-${a}`},f(a))]):f("mediumGasSettingToolTipMessage",[r.default.createElement("span",{key:a},r.default.createElement("b",null,f("medium")))]);case s.PriorityLevels.high:return t?f("disabledGasOptionToolTipMessage",[r.default.createElement("span",{key:`disabled-priority-level-${a}`},f(a))]):e===s.EditGasModes.swaps?f("swapSuggestedGasSettingToolTipMessage"):f("highGasSettingToolTipMessage",[r.default.createElement("span",{key:a},r.default.createElement("b",null,f("high")))]);case s.PriorityLevels.custom:return f("customGasSettingToolTipMessage",[r.default.createElement("span",{key:a},r.default.createElement("b",null,f("custom")))]);case s.PriorityLevels.dAppSuggested:return null!=p&&p.origin?f("dappSuggestedGasSettingToolTipMessage",[r.default.createElement("span",{key:null==p?void 0:p.origin},null==p?void 0:p.origin)]):null;default:return""}}),[e,t,a,p,f]);let g;a===s.PriorityLevels.low?g=f("curveLowGasEstimate"):a===s.PriorityLevels.medium?g=f("curveMediumGasEstimate"):a===s.PriorityLevels.high&&(g=f("curveHighGasEstimate"));const h=(0,l.isMetamaskSuggestedGasEstimate)(a)&&!(a===s.PriorityLevels.high&&e===s.EditGasModes.swaps)&&!t;return r.default.createElement("div",{className:"edit-gas-tooltip__container"},h?r.default.createElement("img",{alt:g,src:`./images/curve-${a}.svg`}):null,m&&r.default.createElement("div",{className:"edit-gas-tooltip__container__message"},r.default.createElement(u.Text,{variant:i.TextVariant.bodySm,as:"h6"},m)),a===s.PriorityLevels.custom||t?null:r.default.createElement("div",{className:"edit-gas-tooltip__container__values"},r.default.createElement("div",null,r.default.createElement(u.Text,{variant:i.TextVariant.bodySm,as:"h6",fontWeight:i.FontWeight.Bold,className:"edit-gas-tooltip__container__label"},f("maxBaseFee")),o&&r.default.createElement(u.Text,{variant:i.TextVariant.bodySm,as:"h6",color:i.TextColor.textAlternative,className:"edit-gas-tooltip__container__value"},(0,c.roundToDecimalPlacesRemovingExtraZeroes)(o,4))),r.default.createElement("div",null,r.default.createElement(u.Text,{variant:i.TextVariant.bodySm,as:"h6",fontWeight:i.FontWeight.Bold,className:"edit-gas-tooltip__container__label"},f("priorityFeeProperCase")),d&&r.default.createElement(u.Text,{variant:i.TextVariant.bodySm,as:"h6",color:i.TextColor.textAlternative,className:"edit-gas-tooltip__container__value"},(0,c.roundToDecimalPlacesRemovingExtraZeroes)(d,4))),r.default.createElement("div",null,r.default.createElement(u.Text,{variant:i.TextVariant.bodySm,as:"h6",fontWeight:i.FontWeight.Bold,className:"edit-gas-tooltip__container__label"},f("gasLimit")),n&&r.default.createElement(u.Text,{variant:i.TextVariant.bodySm,as:"h6",color:i.TextColor.textAlternative,className:"edit-gas-tooltip__container__value"},(0,c.roundToDecimalPlacesRemovingExtraZeroes)(n,4)))))};p.propTypes={estimateGreaterThanGasUse:o.default.bool,priorityLevel:o.default.string,maxFeePerGas:o.default.oneOfType([o.default.number,o.default.string]),maxPriorityFeePerGas:o.default.oneOfType([o.default.number,o.default.string]),t:o.default.func,editGasMode:o.default.string,gasLimit:o.default.number,transaction:o.default.object};n.default=p}}},{package:"$root$",file:"ui/pages/confirmations/components/edit-gas-fee-popover/edit-gas-tooltip/edit-gas-tooltip.js"}],[5563,{"./edit-gas-fee-popover":5557},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./edit-gas-fee-popover"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/edit-gas-fee-popover/index.js"}],[5564,{"./network-statistics":5565},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./network-statistics"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/edit-gas-fee-popover/network-statistics/index.js"}],[5565,{"../../../../../components/component-library":4955,"../../../../../contexts/gasFee":5323,"../../../../../contexts/i18n":5324,"../../../../../helpers/constants/design-system":5355,"../../../../../helpers/utils/gas":5384,"../../../../../helpers/utils/util":5399,"./status-slider":5566,"./tooltips":5568,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=e("../../../../../helpers/constants/design-system"),s=e("../../../../../helpers/utils/util"),i=e("../../../../../helpers/utils/gas"),l=e("../../../../../contexts/i18n"),c=e("../../../../../contexts/gasFee"),u=e("../../../../../components/component-library"),d=e("./tooltips"),p=(a=e("./status-slider"))&&a.__esModule?a:{default:a};function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}n.default=()=>{const e=(0,r.useContext)(l.I18nContext),{gasFeeEstimates:t}=(0,c.useGasFeeContext)(),n=(0,i.formatGasFeeOrFeeRange)(null==t?void 0:t.estimatedBaseFee,{precision:0}),a=(0,i.formatGasFeeOrFeeRange)(null==t?void 0:t.latestPriorityFeeRange,{precision:[1,0]}),f=null==t?void 0:t.networkCongestion;return r.default.createElement("div",{className:"network-statistics"},r.default.createElement(u.Text,{color:o.TextColor.textAlternative,fontWeight:o.FontWeight.Bold,marginTop:3,marginBottom:3,variant:o.TextVariant.bodyXs,as:"h6"},e("networkStatus")),r.default.createElement("div",{className:"network-statistics__info"},(0,s.isNullish)(n)?null:r.default.createElement("div",{className:"network-statistics__field","data-testid":"formatted-latest-base-fee"},r.default.createElement(d.BaseFeeTooltip,null,r.default.createElement("span",{className:"network-statistics__field-data"},n),r.default.createElement("span",{className:"network-statistics__field-label"},e("baseFee")))),(0,s.isNullish)(a)?null:r.default.createElement("div",{className:"network-statistics__field","data-testid":"formatted-latest-priority-fee-range"},r.default.createElement(d.PriorityFeeTooltip,null,r.default.createElement("span",{className:"network-statistics__field-data"},a),r.default.createElement("span",{className:"network-statistics__field-label"},e("priorityFee")))),(0,s.isNullish)(f)?null:r.default.createElement("div",{className:"network-statistics__field"},r.default.createElement(p.default,null))))}}}},{package:"$root$",file:"ui/pages/confirmations/components/edit-gas-fee-popover/network-statistics/network-statistics.js"}],[5566,{"./status-slider":5567},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./status-slider"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/edit-gas-fee-popover/network-statistics/status-slider/index.js"}],[5567,{"../../../../../../../shared/constants/gas":4500,"../../../../../../contexts/gasFee":5323,"../../../../../../hooks/useI18nContext":5427,"../tooltips":5568,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=(a=e("react"))&&a.__esModule?a:{default:a},o=e("../../../../../../../shared/constants/gas"),s=e("../../../../../../contexts/gasFee"),i=e("../../../../../../hooks/useI18nContext"),l=e("../tooltips");const c=["#037DD6","#1876C8","#2D70BA","#4369AB","#57629E","#6A5D92","#805683","#9A4D71","#B44561","#C54055","#D73A49"];n.default=()=>{const e=(0,i.useI18nContext)(),{gasFeeEstimates:t}=(0,s.useGasFeeContext)(),n=(e=>{const t=e??.5,n=Math.round(10*t),a=c[n],r=10*n;return t>=o.NetworkCongestionThresholds.busy?{statusLabel:"busy",tooltipLabel:"highLowercase",color:a,sliderTickValue:r}:t>=o.NetworkCongestionThresholds.stable?{statusLabel:"stable",tooltipLabel:"stableLowercase",color:a,sliderTickValue:r}:{statusLabel:"notBusy",tooltipLabel:"lowLowercase",color:a,sliderTickValue:r}})(t.networkCongestion);return r.default.createElement(l.NetworkStabilityTooltip,{color:n.color,tooltipLabel:n.tooltipLabel},r.default.createElement("div",{className:"status-slider"},r.default.createElement("div",{className:"status-slider__arrow-container"},r.default.createElement("div",{className:"status-slider__arrow-border",style:{marginLeft:`${n.sliderTickValue}%`},"data-testid":"status-slider-arrow-border"},r.default.createElement("div",{className:"status-slider__arrow",style:{borderTopColor:n.color},"data-testid":"status-slider-arrow"}))),r.default.createElement("div",{className:"status-slider__line"}),r.default.createElement("div",{className:"status-slider__label",style:{color:n.color},"data-testid":"status-slider-label"},e(n.statusLabel))))}}}},{package:"$root$",file:"ui/pages/confirmations/components/edit-gas-fee-popover/network-statistics/status-slider/status-slider.js"}],[5568,{"../../../../../components/ui/box":5194,"../../../../../components/ui/tooltip":5310,"../../../../../helpers/constants/design-system":5355,"../../../../../hooks/useI18nContext":5427,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.PriorityFeeTooltip=n.NetworkStabilityTooltip=n.BaseFeeTooltip=void 0;var a=c(e("react")),r=c(e("prop-types")),o=e("../../../../../hooks/useI18nContext"),s=c(e("../../../../../components/ui/box")),i=c(e("../../../../../components/ui/tooltip")),l=e("../../../../../helpers/constants/design-system");function c(e){return e&&e.__esModule?e:{default:e}}const u=({children:e,html:t,title:n})=>a.default.createElement(i.default,{position:"top",html:t,title:n},a.default.createElement(s.default,{display:l.DISPLAY.FLEX,flexDirection:l.FLEX_DIRECTION.COLUMN},e));u.propTypes={children:r.default.node.isRequired,html:r.default.node,title:r.default.string};const d=({children:e})=>{const t=(0,o.useI18nContext)();return a.default.createElement(u,{html:t("networkStatusBaseFeeTooltip",[a.default.createElement("strong",{key:"base_fee_medium_estimate",className:"network-status__tooltip-label"},t("medium")),a.default.createElement("strong",{key:"base_fee_high_estimate",className:"network-status__tooltip-label"},t("high"))])},e)};n.BaseFeeTooltip=d,d.propTypes={children:r.default.node.isRequired};const p=({children:e})=>{const t=(0,o.useI18nContext)();return a.default.createElement(u,{title:t("networkStatusPriorityFeeTooltip")},e)};n.PriorityFeeTooltip=p,p.propTypes={children:r.default.node.isRequired};const f=({children:e,color:t,tooltipLabel:n})=>{const r=(0,o.useI18nContext)();return a.default.createElement(u,{html:r("networkStatusStabilityFeeTooltip",[a.default.createElement("strong",{key:"network-status__tooltip",className:"network-status__tooltip-label",style:{color:t}},r(n))])},e)};n.NetworkStabilityTooltip=f,f.propTypes={children:r.default.node.isRequired,color:r.default.string.isRequired,tooltipLabel:r.default.string.isRequired}}}},{package:"$root$",file:"ui/pages/confirmations/components/edit-gas-fee-popover/network-statistics/tooltips.js"}],[5569,{"../../../../../shared/constants/gas":4500,"../../../../../shared/modules/conversion.utils":4537,"../../../../../shared/modules/transaction.utils":4560,"../../../../components/component-library":4955,"../../../../components/component-library/modal-content/deprecated":4963,"../../../../components/component-library/modal-header/deprecated":4972,"../../../../components/ui/loading-heartbeat":5253,"../../../../contexts/i18n":5324,"../../../../store/actions":5998,"../../hooks/useGasFeeInputs":5702,"../../hooks/useIncrementedGasFees":5704,"../edit-gas-display":5553,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=_;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=b(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=v(e("prop-types")),o=e("react-redux"),s=e("../../hooks/useGasFeeInputs"),i=e("../../../../../shared/modules/transaction.utils"),l=e("../../../../../shared/constants/gas"),c=e("../../../../components/component-library"),u=e("../../../../components/component-library/modal-content/deprecated"),d=e("../../../../components/component-library/modal-header/deprecated"),p=v(e("../edit-gas-display")),f=e("../../../../contexts/i18n"),m=e("../../../../store/actions"),g=v(e("../../../../components/ui/loading-heartbeat")),h=e("../../hooks/useIncrementedGasFees"),y=e("../../../../../shared/modules/conversion.utils");function v(e){return e&&e.__esModule?e:{default:e}}function b(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(b=function(e){return e?n:t})(e)}function T(){return T=Object.assign?Object.assign.bind():function(e){for(var t=1;t{b?b():x((0,m.hideModal)())}),[b,x]),W=(0,a.useCallback)((async()=>{P&&v||G();const e={gas:(0,y.decimalToHex)(N),gasLimit:(0,y.decimalToHex)(N),estimateUsed:A,gasPrice:(0,y.decGWEIToHexWEI)(I)},t={...P.txParams},n={...P,userEditedGasLimit:N!==Number(r.originalGasEstimate),userFeeLevel:A||l.CUSTOM_GAS_ESTIMATE,txParams:{...t,...e}};switch(v){case l.EditGasModes.cancel:x((0,m.createCancelTransaction)(P.id,e));break;case l.EditGasModes.speedUp:x((0,m.createSpeedUpTransaction)(P.id,e));break;case l.EditGasModes.modifyInPlace:e.userEditedGasLimit=n.userEditedGasLimit,e.userFeeLevel=n.userFeeLevel,x((0,m.showLoadingIndication)()),await x((0,m.updateTransactionGasFees)(n.id,e)),x((0,m.hideLoadingIndication)())}G()}),[P,v,x,G,N,I,r.originalGasEstimate,A]);let q=k("editGasTitle");e?q=e:v===l.EditGasModes.speedUp?q=k("speedUpPopoverTitle"):v===l.EditGasModes.cancel&&(q=k("cancelPopoverTitle"));const U=t||k("save");return a.default.createElement(c.Modal,{isOpen:!0,onClose:G},a.default.createElement(c.ModalOverlay,null),a.default.createElement(u.ModalContent,{autoFocus:!1,className:"edit-gas-popover"},a.default.createElement(d.ModalHeader,{onClose:G,marginBottom:4},q),a.default.createElement("div",{className:"edit-gas-popover__edit-gas-display"},a.default.createElement(g.default,null),a.default.createElement(p.default,T({dappSuggestedGasFeeAcknowledged:E,setDappSuggestedGasFeeAcknowledged:w,estimatedMinimumNative:M,gasPrice:I,setGasPrice:O,gasLimit:N,setGasLimit:j,properGasLimit:D,mode:v,transaction:P,onManualChange:B,minimumGasLimit:C,balanceError:L,txParamsHaveBeenCustomized:$,gasErrors:R},n))),a.default.createElement(c.Button,{block:!0,variant:c.ButtonVariant.Primary,size:c.ButtonSize.LG,marginTop:4,onClick:W,disabled:F||L||!$},U)))}_.propTypes={popoverTitle:r.default.string,editGasDisplayProps:r.default.object,confirmButtonText:r.default.string,onClose:r.default.func,transaction:r.default.object,mode:r.default.oneOf(Object.values(l.EditGasModes)),minimumGasLimit:r.default.string}}}},{package:"$root$",file:"ui/pages/confirmations/components/edit-gas-popover/edit-gas-popover.component.js"}],[5570,{"./edit-gas-popover.component":5569},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./edit-gas-popover.component"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/edit-gas-popover/index.js"}],[5571,{"../../../../../shared/modules/conversion.utils":4537,"../../../../components/app/user-preferenced-currency-display/user-preferenced-currency-display.component":4881,"../../../../components/component-library":4955,"../../../../components/ui/loading-heartbeat":5253,"../../../../contexts/gasFee":5323,"../../../../helpers/constants/common":5353,"../../../../helpers/constants/design-system":5355,"../../../../hooks/useI18nContext":5427,"../../../../selectors":5987,"../transaction-detail-item/transaction-detail-item.component":5636,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=v;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=y(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=e("react-redux"),o=h(e("prop-types")),s=e("../../../../helpers/constants/design-system"),i=e("../../../../components/component-library"),l=h(e("../transaction-detail-item/transaction-detail-item.component")),c=e("../../../../selectors"),u=e("../../../../hooks/useI18nContext"),d=h(e("../../../../components/ui/loading-heartbeat")),p=h(e("../../../../components/app/user-preferenced-currency-display/user-preferenced-currency-display.component")),f=e("../../../../helpers/constants/common"),m=e("../../../../../shared/modules/conversion.utils"),g=e("../../../../contexts/gasFee");function h(e){return e&&e.__esModule?e:{default:e}}function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(y=function(e){return e?n:t})(e)}function v({txData:e,useCurrencyRateCheck:t,hideGasDetails:n=!1}){const o=(null==e?void 0:e.layer1GasFee)??null,[h,y]=(0,a.useState)(!1),{useNativeCurrencyAsPrimaryCurrency:v}=(0,r.useSelector)(c.getPreferences),b=(0,u.useI18nContext)(),{minimumCostInHexWei:T}=(0,g.useGasFeeContext)(),_=(0,a.useMemo)((()=>(0,m.addHexes)(T,o??0)),[T,o]),k=(0,a.useCallback)((t=>a.default.createElement("div",{className:"confirm-page-container-content__total-value"},a.default.createElement(d.default,{estimateUsed:null==e?void 0:e.userFeeLevel}),a.default.createElement(p.default,{type:f.SECONDARY,key:"total-detail-text",value:t,suffixProps:{color:s.TextColor.textAlternative,variant:s.TextVariant.bodySmBold},textProps:{color:s.TextColor.textAlternative,variant:s.TextVariant.bodySmBold},hideLabel:Boolean(v)}))),[e,v]),x=(0,a.useCallback)((t=>a.default.createElement(i.Box,{className:"confirm-page-container-content__total-value"},a.default.createElement(d.default,{estimateUsed:null==e?void 0:e.userFeeLevel}),a.default.createElement(p.default,{type:f.PRIMARY,key:"total-detail-value",value:t,suffixProps:{color:s.TextColor.textAlternative,variant:s.TextVariant.bodySm},textProps:{color:s.TextColor.textAlternative,variant:s.TextVariant.bodySm},hideLabel:!v}))),[e,v]),E=null!==o;return a.default.createElement(a.default.Fragment,null,a.default.createElement(i.Box,{display:s.Display.Flex,alignItems:s.AlignItems.center,justifyContent:s.JustifyContent.center,flexDirection:s.FlexDirection.Column},!n&&E&&a.default.createElement(i.Box,{paddingTop:4,display:s.Display.Flex,alignItems:s.AlignItems.center,justifyContent:s.JustifyContent.center},a.default.createElement(i.Button,{style:{textDecoration:"none"},size:s.Size.Xs,variant:i.ButtonVariant.Link,endIconName:h?i.IconName.ArrowUp:i.IconName.ArrowDown,color:s.IconColor.iconAlternative,"data-testid":"expand-fee-details-button",onClick:()=>y(!h)},a.default.createElement(i.Text,{variant:s.TextVariant.bodyMdMedium,color:s.TextColor.textAlternative,paddingInlineEnd:1},b("feeDetails"))))),!n&&h&&a.default.createElement(i.Box,{display:s.Display.Flex,flexDirection:s.FlexDirection.Column,paddingTop:4},E&&a.default.createElement(l.default,{detailTitle:a.default.createElement(i.Text,{color:s.TextColor.textAlternative,variant:s.TextVariant.bodySmMedium},b("layer2Fees")),detailText:t&&k(T),detailTotal:x(T)}),o&&a.default.createElement(l.default,{detailTitle:a.default.createElement(i.Text,{color:s.TextColor.textAlternative,variant:s.TextVariant.bodySmMedium},b("layer1Fees")),detailText:t&&k(o),detailTotal:x(o)}),!E&&a.default.createElement(l.default,{detailTitle:b("total"),detailText:t&&k(_),detailTotal:x(_)})))}v.propTypes={txData:o.default.object,useCurrencyRateCheck:o.default.bool,hideGasDetails:o.default.bool}}}},{package:"$root$",file:"ui/pages/confirmations/components/fee-details-component/fee-details-component.js"}],[5572,{"../../../../../shared/constants/gas":4500,"../../../../../shared/modules/conversion.utils":4537,"../../../../components/app/user-preferenced-currency-display":4880,"../../../../components/component-library":4955,"../../../../components/ui/box":5194,"../../../../components/ui/loading-heartbeat":5253,"../../../../components/ui/tooltip":5310,"../../../../contexts/gasFee":5323,"../../../../ducks/send":5348,"../../../../helpers/constants/common":5353,"../../../../helpers/constants/design-system":5355,"../../../../hooks/useI18nContext":5427,"../../../../selectors":5987,"../../hooks/useDraftTransactionWithTxParams":5699,"../edit-gas-fee-icon/edit-gas-fee-icon":5556,"../gas-timing/gas-timing.component":5574,"../transaction-detail-item/transaction-detail-item.component":5636,classnames:3049,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=w(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=E(e("prop-types")),o=E(e("classnames")),s=e("react-redux"),i=e("../../../../components/component-library"),l=e("../../../../helpers/constants/design-system"),c=e("../../../../helpers/constants/common"),u=e("../../../../../shared/constants/gas"),d=e("../../../../selectors"),p=e("../../../../ducks/send"),f=e("../../../../../shared/modules/conversion.utils"),m=e("../../hooks/useDraftTransactionWithTxParams"),g=e("../../../../contexts/gasFee"),h=e("../../../../hooks/useI18nContext"),y=E(e("../../../../components/ui/box")),v=E(e("../../../../components/ui/loading-heartbeat")),b=E(e("../edit-gas-fee-icon/edit-gas-fee-icon")),T=E(e("../gas-timing/gas-timing.component")),_=E(e("../transaction-detail-item/transaction-detail-item.component")),k=E(e("../../../../components/app/user-preferenced-currency-display")),x=E(e("../../../../components/ui/tooltip"));function E(e){return e&&e.__esModule?e:{default:e}}function w(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(w=function(e){return e?n:t})(e)}const C=({"data-testid":e,userAcknowledgedGasMissing:t=!1})=>{var n,r;const E=(0,h.useI18nContext)(),w=(0,s.useSelector)(d.getTxData),{layer1GasFee:C}=w,S=(0,s.useSelector)(p.getCurrentDraftTransaction),P=(0,m.useDraftTransactionWithTxParams)(),{hexMinimumTransactionFee:M,hexMaximumTransactionFee:I}=(0,s.useSelector)((e=>(0,d.transactionFeeSelector)(e,P))),{estimateUsed:O,hasSimulationError:N,isNetworkBusy:j,maximumCostInHexWei:D,minimumCostInHexWei:A,maxPriorityFeePerGas:F,maxFeePerGas:R,supportsEIP1559:B}=(0,g.useGasFeeContext)(),{useNativeCurrencyAsPrimaryCurrency:L}=(0,s.useSelector)(d.getPreferences),$=(0,s.useSelector)(d.getUseCurrencyRateCheck),G=(0,a.useMemo)((()=>C?(0,f.sumHexes)(A,C):A),[A,C]),W=(0,a.useMemo)((()=>C?(0,f.sumHexes)(D,C):D),[D,C]);if(N&&!t)return null;const q=(F??(0,f.hexWEIToDecGWEI)((null===(n=P.txParams)||void 0===n?void 0:n.maxPriorityFeePerGas)??"0x0")).toString(),U=(R??(0,f.hexWEIToDecGWEI)((null===(r=P.txParams)||void 0===r?void 0:r.maxFeePerGas)??"0x0")).toString();return a.default.createElement(_.default,{key:"gas-details-item","data-testid":e,detailTitle:B&&j?a.default.createElement(a.default.Fragment,null,E("estimatedFee"),a.default.createElement(x.default,{wrapperClassName:"gas-details-item__dangerTooltip",interactive:!0,position:"top",html:E("networkIsBusy")},a.default.createElement(i.Icon,{"data-testid":"network-busy-tooltip",name:i.IconName.Danger,size:i.IconSize.Sm,color:l.IconColor.errorDefault}))):a.default.createElement(a.default.Fragment,null,E("estimatedFee")),detailText:0===Object.keys(S).length&&a.default.createElement("div",{className:"gas-details-item__currency-container",style:{width:"100%"}},a.default.createElement(v.default,{estimateUsed:O}),a.default.createElement(b.default,{userAcknowledgedGasMissing:t}),$&&a.default.createElement(k.default,{paddingInlineStart:1,suffixProps:{variant:l.TextVariant.bodyMdBold},textProps:{variant:l.TextVariant.bodyMdBold},type:c.SECONDARY,value:G,hideLabel:Boolean(L)})),detailTotal:a.default.createElement("div",{className:"gas-details-item__currency-container"},a.default.createElement(v.default,{estimateUsed:O}),a.default.createElement(k.default,{suffixProps:{variant:l.TextVariant.bodyMd,color:l.TextColor.textAlternative},textProps:{variant:l.TextVariant.bodyMd,color:l.TextColor.textAlternative},type:c.PRIMARY,value:G||M,hideLabel:!L})),hasDetailTextInSeparateRow:!0,subText:a.default.createElement(a.default.Fragment,null,a.default.createElement(y.default,{key:"editGasSubTextFeeLabel",display:"inline-flex",className:(0,o.default)("gas-details-item__gasfee-label",{"gas-details-item__gas-fee-warning":O===u.PriorityLevels.high||O===u.PriorityLevels.dappSuggestedHigh})},a.default.createElement(v.default,{estimateUsed:O}),a.default.createElement(y.default,null,a.default.createElement(i.Text,{color:l.TextColor.textAlternative,variant:l.TextVariant.bodySmMedium},(O===u.PriorityLevels.high||O===u.PriorityLevels.dappSuggestedHigh)&&"⚠ ",E("editGasSubTextFeeLabel"))),a.default.createElement("div",{key:"editGasSubTextFeeValue",className:"gas-details-item__currency-container",paddingStart:1},a.default.createElement(v.default,{estimateUsed:O}),a.default.createElement(k.default,{key:"editGasSubTextFeeAmount",suffixProps:{color:l.TextColor.textAlternative,variant:l.TextVariant.bodySm},textProps:{color:l.TextColor.textAlternative,variant:l.TextVariant.bodySm},type:c.PRIMARY,value:W||I,hideLabel:!L})))),subTitle:a.default.createElement(T.default,{maxPriorityFeePerGas:q,maxFeePerGas:U})})};C.propTypes={"data-testid":r.default.string,userAcknowledgedGasMissing:r.default.bool};n.default=C}}},{package:"$root$",file:"ui/pages/confirmations/components/gas-details-item/gas-details-item.js"}],[5573,{"./gas-details-item":5572},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./gas-details-item"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/gas-details-item/index.js"}],[5574,{"../../../../../shared/constants/gas":4500,"../../../../components/component-library":4955,"../../../../components/ui/typography/typography":5315,"../../../../contexts/gasFee":5323,"../../../../contexts/i18n":5324,"../../../../ducks/metamask/metamask":5346,"../../../../helpers/constants/design-system":5355,"../../../../helpers/constants/gas":5357,"../../../../hooks/usePrevious":5436,"../../../../store/actions":5998,"../../hooks/useDraftTransactionWithTxParams":5699,"bignumber.js":2933,classnames:3049,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=k;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=T(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=b(e("bignumber.js")),o=b(e("prop-types")),s=b(e("classnames")),i=e("react-redux"),l=e("../../../../components/component-library"),c=e("../../../../helpers/constants/design-system"),u=e("../../../../ducks/metamask/metamask"),d=e("../../../../helpers/constants/gas"),p=e("../../../../../shared/constants/gas"),f=e("../../../../contexts/i18n"),m=b(e("../../../../components/ui/typography/typography")),g=e("../../../../store/actions"),h=e("../../../../contexts/gasFee"),y=e("../../../../hooks/usePrevious"),v=e("../../hooks/useDraftTransactionWithTxParams");function b(e){return e&&e.__esModule?e:{default:e}}function T(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(T=function(e){return e?n:t})(e)}const _=(e=1,t)=>{const n=Math.ceil(e/1e3);return n<=90?t("gasTimingSecondsShort",[n]):t("gasTimingMinutesShort",[Math.ceil(n/60)])};function k({maxFeePerGas:e=0,maxPriorityFeePerGas:t=0,gasWarnings:n}){const o=(0,i.useSelector)(u.getGasEstimateType),b=(0,i.useSelector)(u.getGasFeeEstimates),T=(0,i.useSelector)(u.getIsGasEstimatesLoading),[k,x]=(0,a.useState)(null),E=(0,a.useContext)(f.I18nContext),{estimateUsed:w}=(0,h.useGasFeeContext)(),C=(0,v.useDraftTransactionWithTxParams)(),S=(null==b?void 0:b.low)&&Number(t){let n=!0;const a=t,o=e;return(S||a&&a!==M||o&&o!==P)&&(0,g.getGasFeeTimeEstimate)(new r.default(a,10).toString(10),new r.default(o,10).toString(10)).then((r=>{e===o&&t===a&&n&&x(r)})),!1!==S&&!0===I&&x(null),()=>{n=!1}}),[t,e,S,P,M,I]),(null==n?void 0:n.maxPriorityFee)===d.GAS_FORM_ERRORS.MAX_PRIORITY_FEE_TOO_LOW||(null==n?void 0:n.maxFee)===d.GAS_FORM_ERRORS.MAX_FEE_TOO_LOW)return a.default.createElement(m.default,{variant:c.TypographyVariant.H7,fontWeight:c.FontWeight.Bold,className:(0,s.default)("gas-timing","gas-timing--negative")},E("editGasTooLow"));if(T||o!==p.GasEstimateTypes.feeMarket)return null;const{low:O={},medium:N={},high:j={}}=b,D=w||C.userFeeLevel||"medium";let A=E(D),F="",R="positive";"low"===D&&(A=E("gasTimingLow")),Number(t)>=Number(N.suggestedMaxPriorityFeePerGas)?F=Number(t){switch(R){case"positive":default:return c.TextColor.successDefault;case"warning":return c.TextColor.warningDefault;case"negative":return c.TextColor.errorDefault}})()},a.default.createElement("span",{"data-testid":"gas-timing-time"},"~",F)))}k.propTypes={maxPriorityFeePerGas:o.default.string,maxFeePerGas:o.default.string,gasWarnings:o.default.object}}}},{package:"$root$",file:"ui/pages/confirmations/components/gas-timing/gas-timing.component.js"}],[5575,{"./ledger-instruction-field":5576},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./ledger-instruction-field"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/ledger-instruction-field/index.js"}],[5576,{"../../../../../app/scripts/lib/util":120,"../../../../../shared/constants/app":4493,"../../../../../shared/constants/hardware-wallets":4501,"../../../../components/component-library":4955,"../../../../ducks/app/app":5336,"../../../../ducks/metamask/metamask":5346,"../../../../helpers/constants/design-system":5355,"../../../../hooks/useI18nContext":5427,"../../../../store/actions":5998,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=v;var a,r=(a=e("prop-types"))&&a.__esModule?a:{default:a},o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=h(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),s=e("react-redux"),i=e("../../../../../app/scripts/lib/util"),l=e("../../../../../shared/constants/app"),c=e("../../../../../shared/constants/hardware-wallets"),u=e("../../../../ducks/app/app"),d=e("../../../../ducks/metamask/metamask"),p=e("../../../../helpers/constants/design-system"),f=e("../../../../hooks/useI18nContext"),m=e("../../../../store/actions"),g=e("../../../../components/component-library");function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(h=function(e){return e?n:t})(e)}const y=(e,t=!0,n=p.TextColor.textDefault)=>t&&o.default.createElement(g.Text,{color:n,as:"h6"},e);function v({showDataInstruction:e}){const t=(0,f.useI18nContext)(),n=(0,s.useDispatch)(),a=(0,s.useSelector)(u.getLedgerWebHidConnectedStatus),r=(0,s.useSelector)(d.getLedgerTransportType),h=(0,s.useSelector)(u.getLedgerTransportStatus),v=(0,i.getEnvironmentType)()===l.ENVIRONMENT_TYPE_FULLSCREEN;(0,o.useEffect)((()=>{(async()=>{if(r===c.LedgerTransportTypes.webhid&&a===c.WebHIDConnectedStatuses.connected&&h===c.HardwareTransportStates.none)try{const e=await(0,m.attemptLedgerTransportCreation)();n((0,u.setLedgerTransportStatus)(e?c.HardwareTransportStates.verified:c.HardwareTransportStates.unknownFailure))}catch(e){e.message.match("Failed to open the device")?n((0,u.setLedgerTransportStatus)(c.HardwareTransportStates.deviceOpenFailure)):e.message.match("the device is already open")?n((0,u.setLedgerTransportStatus)(c.HardwareTransportStates.verified)):n((0,u.setLedgerTransportStatus)(c.HardwareTransportStates.unknownFailure))}})(),(async()=>{if(r===c.LedgerTransportTypes.webhid&&a!==c.WebHIDConnectedStatuses.connected){var e;const t=await(null===(e=window.navigator)||void 0===e||null===(e=e.hid)||void 0===e?void 0:e.getDevices()),a=null==t?void 0:t.some((e=>e.vendorId===Number(c.LEDGER_USB_VENDOR_ID)));n((0,u.setLedgerWebHidConnectedStatus)(a?c.WebHIDConnectedStatuses.connected:c.WebHIDConnectedStatuses.notConnected))}})()}),[n,r,a,h]),(0,o.useEffect)((()=>()=>{n((0,u.setLedgerTransportStatus)(c.HardwareTransportStates.none))}),[n]);const b=r===c.LedgerTransportTypes.webhid;return o.default.createElement("div",null,o.default.createElement("div",{className:"confirm-detail-row"},o.default.createElement(g.BannerAlert,{severity:p.SEVERITIES.INFO},o.default.createElement("div",{className:"ledger-live-dialog"},y(t("ledgerConnectionInstructionHeader")),y(`• ${t("ledgerConnectionInstructionStepThree")}`),y(`• ${t("ledgerConnectionInstructionStepFour")}`,e),y(o.default.createElement("span",null,o.default.createElement(g.ButtonLink,{textAlign:p.TextAlign.Left,onClick:async()=>{v?window.location.reload():global.platform.openExtensionInBrowser(null,null,!0)}},t("ledgerConnectionInstructionCloseOtherApps"))),h===c.HardwareTransportStates.deviceOpenFailure),y(o.default.createElement("span",null,o.default.createElement(g.ButtonLink,{textAlign:p.TextAlign.Left,onClick:async()=>{if(v){const e=(await window.navigator.hid.requestDevice({filters:[{vendorId:c.LEDGER_USB_VENDOR_ID}]})).some((e=>e.vendorId===Number(c.LEDGER_USB_VENDOR_ID)));n((0,u.setLedgerWebHidConnectedStatus)({webHidConnectedStatus:e?c.WebHIDConnectedStatuses.connected:c.WebHIDConnectedStatuses.notConnected}))}else global.platform.openExtensionInBrowser(null,null,!0)}},t(v?"clickToConnectLedgerViaWebHID":"openFullScreenForLedgerWebHid"))),b&&a===c.WebHIDConnectedStatuses.notConnected,p.TextColor.warningDefault)))))}v.propTypes={showDataInstruction:r.default.bool}}}},{package:"$root$",file:"ui/pages/confirmations/components/ledger-instruction-field/ledger-instruction-field.js"}],[5577,{"./multi-layer-fee-message":5578},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./multi-layer-fee-message"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/multilayer-fee-message/index.js"}],[5578,{"../../../../../shared/constants/common":4495,"../../../../../shared/modules/Numeric":4533,"../../../../../shared/modules/conversion.utils":4537,"../../../../components/app/user-preferenced-currency-display":4880,"../../../../contexts/i18n":5324,"../../../../helpers/constants/common":5353,"../../../../selectors":5987,"../transaction-detail-item/transaction-detail-item.component":5636,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=h;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=g(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=e("react-redux"),o=m(e("prop-types")),s=m(e("../transaction-detail-item/transaction-detail-item.component")),i=m(e("../../../../components/app/user-preferenced-currency-display")),l=e("../../../../helpers/constants/common"),c=e("../../../../contexts/i18n"),u=e("../../../../../shared/modules/conversion.utils"),d=e("../../../../../shared/constants/common"),p=e("../../../../../shared/modules/Numeric"),f=e("../../../../selectors");function m(e){return e&&e.__esModule?e:{default:e}}function g(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(g=function(e){return e?n:t})(e)}function h({transaction:e,layer2fee:t,nativeCurrency:n,plainStyle:o}){var m;const g=(0,a.useContext)(c.I18nContext),{layer1GasFee:h}=e,y=(0,r.useSelector)(f.getUseCurrencyRateCheck);if(null==e||!e.txParams)return null;let v=g("unknown"),b=g("unknown");if(h){v=`${new p.Numeric(h,16,d.EtherDenomination.WEI).toDenomination(d.EtherDenomination.ETH).toFixed(12)} ${n}`,b=y?a.default.createElement(i.default,{type:l.SECONDARY,value:h,showFiat:!0,hideLabel:!0}):null}const T=(0,u.sumHexes)(t||"0x0",h||"0x0",(null==e||null===(m=e.txParams)||void 0===m?void 0:m.value)||"0x0"),_=`${new p.Numeric(T,16,d.EtherDenomination.WEI).toDenomination(d.EtherDenomination.ETH).toFixed(12)} ${n}`,k=y?a.default.createElement(i.default,{type:l.SECONDARY,value:T,showFiat:!0,hideLabel:!0}):null;return a.default.createElement("div",{className:"multi-layer-fee-message"},a.default.createElement(s.default,{key:"multi-layer-fee-message-total-item-gas-fee",detailTitle:g("layer1Fees"),detailTotal:v,detailText:y&&b,noBold:o,flexWidthValues:o}),a.default.createElement(s.default,{className:"multi-layer-fee-message__transaction-detail-item__total-item",key:"multi-layer-fee-message-total-item-total",detailTitle:g("total"),detailTotal:_,detailText:k,subTitle:g("transactionDetailMultiLayerTotalSubtitle"),noBold:o,flexWidthValues:o}))}h.propTypes={transaction:o.default.object,layer2fee:o.default.string,nativeCurrency:o.default.string,plainStyle:o.default.bool}}}},{package:"$root$",file:"ui/pages/confirmations/components/multilayer-fee-message/multi-layer-fee-message.js"}],[5579,{"../../../../../shared/modules/Numeric":4533,"../../../../components/component-library":4955,"../../../../components/ui/tooltip":5310,"../../../../contexts/i18n":5324,"../../../../helpers/constants/design-system":5355,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=p;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=d(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=u(e("prop-types")),o=e("../../../../contexts/i18n"),s=u(e("../../../../components/ui/tooltip")),i=e("../../../../components/component-library"),l=e("../../../../helpers/constants/design-system"),c=e("../../../../../shared/modules/Numeric");function u(e){return e&&e.__esModule?e:{default:e}}function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(d=function(e){return e?n:t})(e)}function p({tokenName:e,currentTokenBalance:t,tokenValue:n,onEdit:r}){const u=(0,a.useContext)(o.I18nContext),d=new c.Numeric(Number(n),10).greaterThan(Number(t),10);return a.default.createElement(i.Box,{className:"review-spending-cap",borderRadius:l.Size.SM,paddingTop:4,paddingRight:4,paddingLeft:4,display:l.Display.Flex,alignItems:l.AlignItems.flexStart,flexDirection:l.FlexDirection.Column,backgroundColor:l.BackgroundColor.backgroundAlternative,gap:1},a.default.createElement(i.Box,{flexDirection:l.FlexDirection.Row,display:l.Display.Flex,alignItems:l.AlignItems.center,className:"review-spending-cap__heading"},a.default.createElement(i.Box,{flexDirection:l.FlexDirection.Row,className:"review-spending-cap__heading-title"},a.default.createElement(i.Text,{variant:l.TextVariant.bodySmBold,as:"h6",display:l.Display.InlineBlock},u("dappRequestedSpendingCap")),a.default.createElement(i.Box,{marginLeft:2,display:l.Display.InlineBlock},a.default.createElement(s.default,{interactive:!0,position:"top",html:a.default.createElement(i.Text,{variant:l.TextVariant.bodySmBold,as:"h6",color:l.TextColor.textAlternative,className:"review-spending-cap__heading-title__tooltip"},d&&u("warningTooltipText",[a.default.createElement(i.Text,{key:"tooltip-text",variant:l.TextVariant.bodySmBold,as:"h6",color:l.TextColor.errorDefault},a.default.createElement(i.Icon,{name:i.IconName.Warning,style:{verticalAlign:"middle"}}),u("beCareful"))]),0===Number(n)&&u("revokeSpendingCapTooltipText"))},d&&a.default.createElement(i.Icon,{className:"review-spending-cap__heading-title__tooltip__warning-icon",name:i.IconName.Danger,color:l.IconColor.errorDefault,size:i.IconSize.Sm,style:{verticalAlign:"middle"}}),0===Number(n)&&a.default.createElement(i.Icon,{className:"review-spending-cap__heading-title__tooltip__question-icon",name:i.IconName.Question,color:l.IconColor.iconDefault})))),a.default.createElement(i.Box,{className:"review-spending-cap__heading-detail",textAlign:l.TextAlign.End},a.default.createElement(i.ButtonLink,{size:l.Size.auto,onClick:e=>{e.preventDefault(),r()}},u("edit")))),a.default.createElement(i.Box,{className:"review-spending-cap__value"},a.default.createElement(i.Text,{color:d?l.TextColor.errorDefault:l.TextColor.textDefault,variant:l.TextVariant.bodySmBold,as:"h6",marginBottom:3},n," ",e)))}p.propTypes={tokenName:r.default.string,currentTokenBalance:r.default.string,tokenValue:r.default.string,onEdit:r.default.func}}}},{package:"$root$",file:"ui/pages/confirmations/components/review-spending-cap/review-spending-cap.js"}],[5580,{"../../../../../../shared/constants/network":4507,"../../../../../../shared/constants/security-provider":4513,"../../../../../components/component-library":4955,"../../../../../components/ui/loading-indicator":5254,"../../../../../contexts/i18n":5324,"../../../../../helpers/constants/design-system":5355,"../../../../../selectors":5987,"../../../hooks/useTransactionEventFragment":5711,"../security-provider-banner-alert":5582,"./blockaid-banner-utils":5581,"@blockaid/ppom_release/package.json":291,"@sentry/browser":2409,"prop-types":3997,react:4243,"react-redux":4199,zlib:3022},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=n.REASON_TO_TITLE_TKEY=n.REASON_TO_DESCRIPTION_TKEY=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=b(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=v(e("prop-types")),o=e("@sentry/browser"),s=v(e("@blockaid/ppom_release/package.json")),i=e("react-redux"),l=e("../../../../../../shared/constants/network"),c=e("../../../../../helpers/constants/design-system"),u=e("../../../../../contexts/i18n"),d=e("../../../../../../shared/constants/security-provider"),p=e("../../../../../components/component-library"),f=e("../../../hooks/useTransactionEventFragment"),m=v(e("../security-provider-banner-alert")),g=v(e("../../../../../components/ui/loading-indicator")),h=e("../../../../../selectors"),y=e("./blockaid-banner-utils");function v(e){return e&&e.__esModule?e:{default:e}}function b(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(b=function(e){return e?n:t})(e)}function T(){return T=Object.assign?Object.assign.bind():function(e){for(var t=1;ta.default.createElement("li",{key:`blockaid-detail-${t}`},"• ",e)))):null,F=N===d.BlockaidResultType.Errored,R=N===d.BlockaidResultType.Malicious?p.BannerAlertSeverity.Danger:p.BannerAlertSeverity.Warning,B=(e=>{const t={blockNumber:M,blockaidVersion:s.default.version,chain:l.NETWORK_TO_NAME_MAP[w??C],classification:F?"error":O,domain:r??(null==v?void 0:v.origin)??(null==E?void 0:E.origin),jsonRpcMethod:b,jsonRpcParams:JSON.stringify(E??v),resultType:F?d.BlockaidResultType.Errored:N,reproduce:JSON.stringify(I)},n=JSON.stringify(t),a=(null==_||null===(e=_.gzipSync)||void 0===e?void 0:e.call(_,n))??n;return(0,y.getReportUrl)(a)})();return a.default.createElement(m.default,T({description:D,details:A,provider:d.SecurityProvider.Blockaid,reportUrl:B,severity:R,title:j,onClickSupportLink:()=>{P({properties:{external_link_clicked:"security_alert_support_link"}},e.id)}},t))}E.propTypes={txData:r.default.object};n.default=E}}},{package:"$root$",file:"ui/pages/confirmations/components/security-provider-banner-alert/blockaid-banner-alert/blockaid-banner-alert.js"}],[5581,{"../../../../../../shared/constants/security-provider":4513},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.getReportUrl=void 0;var a=e("../../../../../../shared/constants/security-provider");n.getReportUrl=e=>`${a.FALSE_POSITIVE_REPORT_BASE_URL}?data=${encodeURIComponent(e.toString("base64"))}&utm_source=${a.SECURITY_PROVIDER_UTM_SOURCE}`}}},{package:"$root$",file:"ui/pages/confirmations/components/security-provider-banner-alert/blockaid-banner-alert/blockaid-banner-utils.js"}],[5582,{"../../../../../shared/constants/security-provider":4513,"../../../../components/component-library":4955,"../../../../components/ui/disclosure":5216,"../../../../components/ui/disclosure/disclosure.constants":5214,"../../../../contexts/i18n":5324,"../../../../helpers/constants/design-system":5355,"../../../../helpers/constants/zendesk-url":5368,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=p(e("prop-types")),o=e("../../../../components/component-library"),s=p(e("../../../../components/ui/disclosure")),i=e("../../../../components/ui/disclosure/disclosure.constants"),l=e("../../../../contexts/i18n"),c=e("../../../../helpers/constants/design-system"),u=e("../../../../../shared/constants/security-provider"),d=p(e("../../../../helpers/constants/zendesk-url"));function p(e){return e&&e.__esModule?e:{default:e}}function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}function m(){return m=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const g=(0,o.useI18nContext)(),h=a.default.createElement(i.default,{display:l.DISPLAY.FLEX,flexDirection:l.FLEX_DIRECTION.COLUMN,justifyContent:l.JustifyContent.SPACE_BETWEEN,className:"set-approval-for-all-warning__footer",gap:4},a.default.createElement(d.Button,{className:"set-approval-for-all-warning__footer__approve-button",variant:d.BUTTON_VARIANT.PRIMARY,danger:!0,onClick:f},g("approveButtonText")),a.default.createElement(d.Button,{className:"set-approval-for-all-warning__footer__cancel-button",variant:d.BUTTON_VARIANT.SECONDARY,onClick:m},g("reject")));return a.default.createElement(s.default,{className:"set-approval-for-all-warning__content",footer:h},a.default.createElement(i.default,{display:l.DISPLAY.FLEX,flexDirection:l.FLEX_DIRECTION.ROW,padding:4,className:"set-approval-for-all-warning__content__header"},a.default.createElement(d.Icon,{name:d.IconName.Danger,className:"set-approval-for-all-warning__content__header__warning-icon"}),a.default.createElement(d.Text,{variant:l.TextVariant.headingSm,as:"h4"},g("yourNFTmayBeAtRisk"))),a.default.createElement(i.default,{display:l.DISPLAY.FLEX,padding:4,justifyContent:l.JustifyContent.spaceBetween,className:"set-approval-for-all-warning__content__account"},a.default.createElement(i.default,{display:l.DISPLAY.FLEX},a.default.createElement(c.default,{address:t,diameter:32}),a.default.createElement(d.Text,{variant:l.TextVariant.bodyMd,as:"h5",marginLeft:2,className:"set-approval-for-all-warning__content__account-name"},a.default.createElement("strong",null,n)," ",` (${(0,u.shortenAddress)(t)})`)),p&&r&&a.default.createElement(d.Text,null,`${g("total")}: ${r}`)),a.default.createElement(d.Text,{margin:4,marginTop:4,marginBottom:4,variant:l.TextVariant.bodySm,as:"h6"},g("nftWarningContent",[a.default.createElement("strong",{key:"non_custodial_bold"},g("nftWarningContentBold",[e||""])),a.default.createElement("strong",{key:"non_custodial_grey"},g("nftWarningContentGrey"))])))};f.propTypes={collectionName:r.default.string,senderAddress:r.default.string,name:r.default.string,total:r.default.string,isERC721:r.default.bool,onSubmit:r.default.func,onCancel:r.default.func};n.default=f}}},{package:"$root$",file:"ui/pages/confirmations/components/set-approval-for-all-warning/set-approval-for-all-warning.js"}],[5587,{"./signature-request-header":5588},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./signature-request-header"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/signature-request-header/index.js"}],[5588,{"../../../../../shared/constants/common":4495,"../../../../../shared/modules/Numeric":4533,"../../../../../shared/modules/conversion.utils":4537,"../../../../components/app/network-account-balance-header":4712,"../../../../ducks/metamask/metamask":5346,"../../../../helpers/utils/confirm-tx.util":5381,"../../../../helpers/utils/util":5399,"../../../../hooks/useI18nContext":5427,"../../../../selectors":5987,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=g(e("react")),r=g(e("prop-types")),o=e("react-redux"),s=e("../../../../hooks/useI18nContext"),i=e("../../../../ducks/metamask/metamask"),l=e("../../../../selectors"),c=e("../../../../helpers/utils/confirm-tx.util"),u=e("../../../../helpers/utils/util"),d=e("../../../../../shared/constants/common"),p=e("../../../../../shared/modules/conversion.utils"),f=e("../../../../../shared/modules/Numeric"),m=g(e("../../../../components/app/network-account-balance-header"));function g(e){return e&&e.__esModule?e:{default:e}}const h=({txData:e})=>{const t=(0,s.useI18nContext)(),{msgParams:{from:n}}=e,r=(0,o.useSelector)(l.accountsWithSendEtherInfoSelector),g=(0,u.getAccountByAddress)(r,n),h=(0,o.useSelector)(i.getNativeCurrency),y=(0,o.useSelector)(l.getCurrentCurrency),v=(0,o.useSelector)(l.getCurrentChainId),b=(0,o.useSelector)(i.getProviderConfig),T=(0,u.getNetworkNameFromProviderType)(b.type),{useNativeCurrencyAsPrimaryCurrency:_}=(0,o.useSelector)(l.getPreferences),k=(0,o.useSelector)(l.conversionRateSelector),x=_?null:k,E=""===T?b.nickname||t("unknownNetwork"):t(T),w=x?(0,c.formatCurrency)((0,p.getValueFromWeiHex)({value:g.balance,fromCurrency:h,toCurrency:y,conversionRate:x,numberOfDecimals:6,toDenomination:d.EtherDenomination.ETH}),y):new f.Numeric(g.balance,16,d.EtherDenomination.WEI).toDenomination(d.EtherDenomination.ETH).round(6).toBase(10).toString();return a.default.createElement(m.default,{networkName:E,accountName:g.metadata.name,accountBalance:w,tokenName:x?null==y?void 0:y.toUpperCase():h,accountAddress:g.address,chainId:v})};h.propTypes={txData:r.default.object.isRequired};n.default=h}}},{package:"$root$",file:"ui/pages/confirmations/components/signature-request-header/signature-request-header.js"}],[5589,{"./signature-request-original.container":5593},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./signature-request-original.container"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/signature-request-original/index.js"}],[5590,{"./signature-request-original-warning":5591},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./signature-request-original-warning"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/signature-request-original/signature-request-original-warning/index.js"}],[5591,{"../../../../../components/component-library":4955,"../../../../../helpers/constants/design-system":5355,"../../../../../helpers/utils/util":5399,"../../../../../hooks/useI18nContext":5427,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=c(e("react")),r=c(e("prop-types")),o=e("../../../../../hooks/useI18nContext"),s=e("../../../../../helpers/constants/design-system"),i=e("../../../../../helpers/utils/util"),l=e("../../../../../components/component-library");function c(e){return e&&e.__esModule?e:{default:e}}const u=({senderAddress:e,name:t,onSubmit:n,onCancel:r})=>{const c=(0,o.useI18nContext)();return a.default.createElement(l.Modal,{isOpen:!0,className:"signature-request-warning__content"},a.default.createElement(l.ModalOverlay,null),a.default.createElement(l.ModalContent,null,a.default.createElement(l.ModalHeader,{display:s.Display.Flex,childrenWrapperProps:{display:s.Display.Flex,alignItems:s.AlignItems.center,justifyContent:s.JustifyContent.center,flexDirection:s.FlexDirection.Column,gap:4,width:s.BlockSize.Full}},a.default.createElement(l.Icon,{name:l.IconName.Danger,color:s.IconColor.errorDefault,size:l.IconSize.Xl}),a.default.createElement(l.Text,{variant:s.TextVariant.headingSm,textAlign:s.TextAlign.Center},c("yourFundsMayBeAtRisk"))),a.default.createElement(l.ModalBody,{display:s.Display.Flex,flexDirection:s.FlexDirection.Column,gap:4},a.default.createElement(l.Box,{display:s.Display.Flex,gap:4,alignItems:s.AlignItems.center,justifyContent:s.JustifyContent.center},a.default.createElement(l.AvatarAccount,{address:e,size:l.AvatarAccountSize.Lg}),a.default.createElement(l.Text,{variant:s.TextVariant.bodyMd,className:"signature-request-warning__content__account-name"},a.default.createElement("b",null,t)," ",` (${(0,i.shortenAddress)(e)})`)),a.default.createElement(l.Text,{color:s.TextColor.textAlternative},c("signatureRequestWarning",[a.default.createElement("a",{href:"https://consensys.io/blog/the-seal-of-approval-know-what-youre-consenting-to-with-permissions-and-approvals-in-metamask",target:"_blank",type:"link",key:"non_custodial_link",rel:"noopener noreferrer",style:{color:"var(--color-primary-default)"}},c("learnMoreUpperCase"))]))),a.default.createElement(l.ModalFooter,{onSubmit:n,submitButtonProps:{danger:!0,children:c("sign"),"data-testid":"signature-warning-sign-button"},onCancel:r,cancelButtonProps:{variant:l.ButtonVariant.Secondary,children:c("reject")}})))};u.propTypes={senderAddress:r.default.string,name:r.default.string,onSubmit:r.default.func,onCancel:r.default.func};n.default=u}}},{package:"$root$",file:"ui/pages/confirmations/components/signature-request-original/signature-request-original-warning/signature-request-original-warning.js"}]],[],{}); \ No newline at end of file diff --git a/contracts/test/e2e/metamask-flask-unpacked/ui-7.js b/contracts/test/e2e/metamask-flask-unpacked/ui-7.js index 1375aa0..c1a5eca 100644 --- a/contracts/test/e2e/metamask-flask-unpacked/ui-7.js +++ b/contracts/test/e2e/metamask-flask-unpacked/ui-7.js @@ -1 +1 @@ -LavaPack.loadBundle([[5592,{"../../../../../shared/constants/app":4493,"../../../../../shared/constants/security-provider":4513,"../../../../../shared/modules/security-provider.utils":4552,"../../../../components/app/snaps/insight-warnings":4760,"../../../../components/app/snaps/snap-legacy-authorship-header":4782,"../../../../components/component-library":4955,"../../../../components/ui/page-container":5275,"../../../../components/ui/site-origin":5292,"../../../../components/ui/typography/typography":5315,"../../../../helpers/constants/design-system":5355,"../../../../helpers/utils/util":5399,"../blockaid-unavailable-banner-alert/blockaid-unavailable-banner-alert":5491,"../confirm-page-container/confirm-page-container-navigation":5509,"../ledger-instruction-field":5575,"../security-provider-banner-alert/blockaid-banner-alert/blockaid-banner-alert":5580,"../security-provider-banner-message/security-provider-banner-message":5584,"../signature-request-header":5587,"./signature-request-original-warning":5590,"@metamask/permission-controller":1624,classnames:3049,"eth-rpc-errors":3257,"prop-types":3997,react:4243,"react-inspector":4091},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=S(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=A(e("prop-types")),o=A(e("classnames")),s=e("react-inspector"),i=e("eth-rpc-errors"),c=e("@metamask/permission-controller"),l=A(e("../ledger-instruction-field")),u=e("../../../../../shared/constants/app"),d=e("../../../../helpers/utils/util"),m=e("../../../../../shared/modules/security-provider.utils"),p=A(e("../../../../components/ui/site-origin")),f=A(e("../../../../components/ui/typography/typography")),g=e("../../../../components/ui/page-container"),h=e("../../../../helpers/constants/design-system"),v=e("../../../../components/component-library"),T=A(e("../security-provider-banner-alert/blockaid-banner-alert/blockaid-banner-alert")),y=A(e("../confirm-page-container/confirm-page-container-navigation")),b=A(e("../security-provider-banner-message/security-provider-banner-message")),_=A(e("../signature-request-header")),E=A(e("../../../../components/app/snaps/snap-legacy-authorship-header")),k=A(e("../../../../components/app/snaps/insight-warnings")),x=e("../../../../../shared/constants/security-provider"),w=e("../blockaid-unavailable-banner-alert/blockaid-unavailable-banner-alert"),C=A(e("./signature-request-original-warning"));function A(e){return e&&e.__esModule?e:{default:e}}function S(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(S=function(e){return e?n:t})(e)}function P(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class N extends a.Component{constructor(...e){super(...e),P(this,"state",{showSignatureRequestWarning:!1,showSignatureInsights:!1}),P(this,"renderTypedData",(e=>{const{t:t}=this.context,{domain:n,message:r}=JSON.parse(e);return a.default.createElement("div",{className:"request-signature__typed-container"},n?a.default.createElement("div",null,a.default.createElement("h1",null,t("domain")),a.default.createElement(s.ObjectInspector,{data:n,expandLevel:1,name:"domain"})):"",r?a.default.createElement("div",null,a.default.createElement("h1",null,t("message")),a.default.createElement(s.ObjectInspector,{data:r,expandLevel:1,name:"message"})):"")})),P(this,"renderBody",(()=>{let e;const t=`${this.context.t("youSign")}:`,{txData:n,subjectMetadata:r}=this.props,{type:s,msgParams:{data:i}}=n;s===u.MESSAGE_TYPE.PERSONAL_SIGN?e=[{name:this.context.t("message"),value:(0,d.hexToText)(i)}]:s===u.MESSAGE_TYPE.ETH_SIGN_TYPED_DATA?e=i:s===u.MESSAGE_TYPE.ETH_SIGN&&(e=[{name:this.context.t("message"),value:i}]);const l=n.msgParams.origin?null==r?void 0:r[n.msgParams.origin]:null;return a.default.createElement("div",{className:"request-signature__body"},a.default.createElement(T.default,{txData:n,marginTop:4,marginLeft:4,marginRight:4}),(0,m.isSuspiciousResponse)(null==n?void 0:n.securityProviderResponse)&&a.default.createElement(b.default,{securityProviderResponse:n.securityProviderResponse}),a.default.createElement(w.BlockaidUnavailableBannerAlert,null),a.default.createElement("div",{className:"request-signature__origin"},(null==l?void 0:l.subjectType)===c.SubjectType.Snap?a.default.createElement(E.default,{snapId:l.origin,marginLeft:4,marginRight:4}):a.default.createElement(p.default,{title:n.msgParams.origin,siteOrigin:n.msgParams.origin,iconSrc:null==l?void 0:l.iconUrl,iconName:(0,d.getURLHostName)(null==l?void 0:l.origin)||(null==l?void 0:l.origin),chip:!0})),a.default.createElement(f.default,{className:"request-signature__content__title",variant:h.TypographyVariant.H3,fontWeight:h.FontWeight.Bold},this.context.t("sigRequest")),a.default.createElement(f.default,{className:"request-signature__content__subtitle",variant:h.TypographyVariant.H7,color:h.TextColor.textAlternative,align:h.TextAlign.Center,margin:12,marginTop:3},this.context.t("signatureRequestGuidance")),a.default.createElement("div",{className:(0,o.default)("request-signature__notice")},t),a.default.createElement("div",{className:"request-signature__rows"},e.map((({name:e,value:t},n)=>("boolean"==typeof t&&(t=t.toString()),a.default.createElement("div",{className:"request-signature__row",key:`request-signature-row-${n}`},a.default.createElement("div",{className:"request-signature__row-title"},(0,d.sanitizeString)(`${e}:`)),a.default.createElement("div",{className:"request-signature__row-value"},(0,d.sanitizeString)(t))))))))})),P(this,"onSubmit",(async()=>{const{resolvePendingApproval:e,completedTx:t,clearConfirmTransaction:n,history:a,mostRecentOverviewPage:r,txData:o}=this.props;await e(o.id),t(o.id),n(),a.push(r)})),P(this,"onCancel",(async()=>{const{clearConfirmTransaction:e,history:t,mostRecentOverviewPage:n,rejectPendingApproval:a,txData:{id:r}}=this.props;await a(r,(0,i.serializeError)(i.ethErrors.provider.userRejectedRequest())),e(),t.push(n)})),P(this,"renderFooter",(()=>{var e;const{clearConfirmTransaction:t,history:n,mostRecentOverviewPage:r,txData:o,hardwareWalletRequiresConnection:s,rejectPendingApproval:c,warnings:l}=this.props,{t:d}=this.context,m=(null===(e=o.securityAlertResponse)||void 0===e?void 0:e.result_type)===x.BlockaidResultType.Malicious?"danger-primary":"primary";return a.default.createElement(g.PageContainerFooter,{cancelText:d("reject"),submitText:d("sign"),onCancel:async()=>{await c(o.id,(0,i.serializeError)(i.ethErrors.provider.userRejectedRequest())),t(),n.push(r)},onSubmit:async()=>o.type===u.MESSAGE_TYPE.ETH_SIGN?this.setState({showSignatureRequestWarning:!0}):(null==l?void 0:l.length)>=1?this.setState({showSignatureInsights:!0}):await this.onSubmit(),disabled:s,submitButtonType:m})})),P(this,"handleCancelAll",(()=>{const{clearConfirmTransaction:e,history:t,mostRecentOverviewPage:n,showRejectTransactionsConfirmationModal:a,messagesCount:r,cancelAllApprovals:o}=this.props;a({unapprovedTxCount:r,onSubmit:async()=>{await o(),e(),t.push(n)}})})),P(this,"render",(()=>{const{messagesCount:e,fromAccount:{address:t,name:n},txData:r,warnings:o}=this.props,{showSignatureRequestWarning:s}=this.state,{t:i}=this.context,c=i("rejectRequestsN",[e]);return a.default.createElement("div",{className:"request-signature__container"},a.default.createElement("div",{className:"request-signature__navigation"},a.default.createElement(y.default,null)),a.default.createElement("div",{className:"request-signature__account"},a.default.createElement(_.default,{txData:r})),this.renderBody(),this.props.isLedgerWallet?a.default.createElement("div",{className:"confirm-approve-content__ledger-instruction-wrapper"},a.default.createElement(l.default,{showDataInstruction:!0})):null,s&&a.default.createElement(C.default,{senderAddress:t,name:n,onSubmit:async()=>(null==o?void 0:o.length)>=1?this.setState({showSignatureInsights:!0,showSignatureRequestWarning:!1}):await this.onSubmit(),onCancel:async e=>await this.onCancel(e)}),this.state.showSignatureInsights&&a.default.createElement(k.default,{warnings:o,action:"signing",origin:r.msgParams.origin,onCancel:()=>{this.setState({showSignatureInsights:!1})},onSubmit:async()=>{await this.onSubmit(),this.setState({showSignatureInsights:!1})}}),this.renderFooter(),e>1?a.default.createElement(v.ButtonLink,{size:h.Size.inherit,className:"request-signature__container__reject",onClick:()=>this.handleCancelAll()},c):null)}))}}n.default=N,P(N,"contextTypes",{t:r.default.func.isRequired,trackEvent:r.default.func}),P(N,"propTypes",{fromAccount:r.default.shape({address:r.default.string.isRequired,name:r.default.string}).isRequired,txData:r.default.object.isRequired,subjectMetadata:r.default.object,hardwareWalletRequiresConnection:r.default.bool,isLedgerWallet:r.default.bool,messagesCount:r.default.number,showRejectTransactionsConfirmationModal:r.default.func.isRequired,cancelAllApprovals:r.default.func.isRequired,rejectPendingApproval:r.default.func.isRequired,clearConfirmTransaction:r.default.func.isRequired,history:r.default.object.isRequired,mostRecentOverviewPage:r.default.string.isRequired,resolvePendingApproval:r.default.func.isRequired,completedTx:r.default.func.isRequired,warnings:r.default.array})}}},{package:"$root$",file:"ui/pages/confirmations/components/signature-request-original/signature-request-original.component.js"}],[5593,{"../../../../ducks/confirm-transaction/confirm-transaction.duck":5338,"../../../../ducks/history/history":5343,"../../../../ducks/metamask/metamask":5346,"../../../../helpers/utils/util":5399,"../../../../selectors":5987,"../../../../store/actions":5998,"./signature-request-original.component":5592,"react-redux":4199,"react-router-dom":4228,redux:4261},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=e("react-redux"),o=e("redux"),s=e("react-router-dom"),i=e("../../../../store/actions"),c=e("../../../../selectors"),l=e("../../../../helpers/utils/util"),u=e("../../../../ducks/confirm-transaction/confirm-transaction.duck"),d=e("../../../../ducks/history/history"),m=e("../../../../ducks/metamask/metamask"),p=(a=e("./signature-request-original.component"))&&a.__esModule?a:{default:a};let f=null;f=function(e){return{goHome:()=>e((0,i.goHome)()),clearConfirmTransaction:()=>e((0,u.clearConfirmTransaction)()),showRejectTransactionsConfirmationModal:({onSubmit:t,unapprovedTxCount:n})=>e((0,i.showModal)({name:"REJECT_TRANSACTIONS",onSubmit:t,unapprovedTxCount:n,isRequestType:!0})),completedTx:t=>e((0,i.completedTx)(t)),resolvePendingApproval:t=>{e((0,i.resolvePendingApproval)(t))},rejectPendingApproval:(t,n)=>e((0,i.rejectPendingApproval)(t,n)),cancelAllApprovals:t=>{e((0,i.rejectAllMessages)(t))}}};n.default=(0,o.compose)(s.withRouter,(0,r.connect)((function(e,t){const{msgParams:{from:n}}=t.txData,a=(0,c.doesAddressRequireLedgerHidConnection)(e,n),r=(0,m.isAddressLedger)(e,n),o=(0,c.unconfirmedMessagesHashSelector)(e),s=(0,c.getTotalUnapprovedMessagesCount)(e);return{requester:null,requesterAddress:null,mostRecentOverviewPage:(0,d.getMostRecentOverviewPage)(e),hardwareWalletRequiresConnection:a,isLedgerWallet:r,allAccounts:(0,c.accountsWithSendEtherInfoSelector)(e),subjectMetadata:(0,c.getSubjectMetadata)(e),messagesList:o,messagesCount:s}}),f,(function(e,t,n){const{txData:a}=n,{allAccounts:r,messagesList:o,...s}=e,{msgParams:{from:i}}=a,c=(0,l.getAccountByAddress)(r,i),{cancelAllApprovals:u}=t;return{...n,...s,...t,fromAccount:c,txData:a,cancelAllApprovals:()=>u((0,l.valuesFor)(o))}})))(p.default)}}},{package:"$root$",file:"ui/pages/confirmations/components/signature-request-original/signature-request-original.container.js"}],[5594,{"./signature-request-siwe":5601},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./signature-request-siwe"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/signature-request-siwe/index.js"}],[5595,{"./signature-request-siwe-header":5596},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./signature-request-siwe-header"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/signature-request-siwe/signature-request-siwe-header/index.js"}],[5596,{"../../../../../components/app/account-list-item":4565,"../../../../../components/app/permissions-connect-header":4739,"../../../../../components/ui/tooltip":5310,"../../../../../contexts/i18n":5324,"../signature-request-siwe-icon":5597,"../signature-request-siwe-tag":5600,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=p;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=m(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=d(e("prop-types")),o=d(e("../../../../../components/app/account-list-item")),s=e("../../../../../contexts/i18n"),i=d(e("../../../../../components/app/permissions-connect-header")),c=d(e("../signature-request-siwe-icon")),l=d(e("../signature-request-siwe-tag")),u=d(e("../../../../../components/ui/tooltip"));function d(e){return e&&e.__esModule?e:{default:e}}function m(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(m=function(e){return e?n:t})(e)}function p({fromAccount:e,domain:t,isSIWEDomainValid:n,subjectMetadata:r}){const d=(0,a.useContext)(s.I18nContext);return a.default.createElement("div",{className:"signature-request-siwe-header"},a.default.createElement(i.default,{iconUrl:r.iconUrl,iconName:r.name,headerTitle:d("SIWESiteRequestTitle"),headerText:d("SIWESiteRequestSubtitle"),siteOrigin:t,className:n?"":"bad-domain",leftIcon:!n&&a.default.createElement(u.default,{position:"bottom",html:a.default.createElement("p",null,d("SIWEDomainWarningBody",[t]))},a.default.createElement(c.default,null)),rightIcon:!n&&a.default.createElement(u.default,{position:"bottom",html:a.default.createElement("p",null,d("SIWEDomainWarningBody",[t]))},a.default.createElement(l.default,{text:d("SIWEDomainWarningLabel")}))}),e&&a.default.createElement(o.default,{account:e,hideDefaultMismatchWarning:!0,className:"signature-request-siwe-header__account-list-item"}))}p.propTypes={fromAccount:r.default.object,domain:r.default.string,isSIWEDomainValid:r.default.bool,subjectMetadata:r.default.object}}}},{package:"$root$",file:"ui/pages/confirmations/components/signature-request-siwe/signature-request-siwe-header/signature-request-siwe-header.js"}],[5597,{"../../../../../components/component-library":4955,"../../../../../helpers/constants/design-system":5355,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=(a=e("react"))&&a.__esModule?a:{default:a},o=e("../../../../../helpers/constants/design-system"),s=e("../../../../../components/component-library");n.default=()=>r.default.createElement(s.Box,{className:"signature-request-siwe-icon",display:o.Display.InlineFlex,alignItems:o.AlignItems.center,backgroundColor:o.Color.errorDefault,justifyContent:o.JustifyContent.center},r.default.createElement(s.Icon,{name:s.IconName.Danger,color:o.Color.errorInverse}))}}},{package:"$root$",file:"ui/pages/confirmations/components/signature-request-siwe/signature-request-siwe-icon/index.js"}],[5598,{"./signature-request-siwe-message":5599},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./signature-request-siwe-message"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/signature-request-siwe/signature-request-siwe-message/index.js"}],[5599,{"../../../../../components/component-library":4955,"../../../../../components/ui/box":5194,"../../../../../helpers/constants/design-system":5355,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=c(e("react")),r=c(e("prop-types")),o=c(e("../../../../../components/ui/box")),s=e("../../../../../components/component-library"),i=e("../../../../../helpers/constants/design-system");function c(e){return e&&e.__esModule?e:{default:e}}const l=({data:e})=>a.default.createElement(o.default,{className:"signature-request-siwe-message"},a.default.createElement(o.default,{flexDirection:i.FLEX_DIRECTION.COLUMN},e.map((({label:e,value:t},n)=>a.default.createElement(o.default,{key:n.toString(),marginTop:2,marginBottom:2},a.default.createElement(s.Text,{as:"h4",variant:i.TextVariant.bodyLgMedium,marginTop:2,marginBottom:2},e),a.default.createElement(s.Text,{className:"signature-request-siwe-message__sub-text",overflowWrap:i.OVERFLOW_WRAP.BREAK_WORD,marginTop:2,marginBottom:2},t))))));l.propTypes={data:r.default.arrayOf(r.default.shape({label:r.default.string,value:r.default.oneOfType([r.default.string,r.default.number])}))};n.default=a.default.memo(l)}}},{package:"$root$",file:"ui/pages/confirmations/components/signature-request-siwe/signature-request-siwe-message/signature-request-siwe-message.js"}],[5600,{"../../../../../components/component-library":4955,"../../../../../components/ui/box":5194,"../../../../../helpers/constants/design-system":5355,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=c(e("react")),r=c(e("prop-types")),o=e("../../../../../helpers/constants/design-system"),s=c(e("../../../../../components/ui/box")),i=e("../../../../../components/component-library");function c(e){return e&&e.__esModule?e:{default:e}}const l=({text:e})=>a.default.createElement(s.default,{className:"signature-request-siwe-tag",marginRight:1,display:o.Display.InlineFlex,alignItems:o.AlignItems.center,backgroundColor:o.BackgroundColor.errorDefault,borderRadius:o.Size.XL,paddingLeft:4,paddingRight:4},a.default.createElement(i.Text,{margin:0,variant:o.TextVariant.bodySmBold,as:"h6",color:o.TextColor.errorInverse},e));n.default=l;l.propTypes={text:r.default.string}}}},{package:"$root$",file:"ui/pages/confirmations/components/signature-request-siwe/signature-request-siwe-tag/index.js"}],[5601,{"../../../../../shared/constants/security-provider":4513,"../../../../../shared/modules/security-provider.utils":4552,"../../../../../shared/modules/siwe":4557,"../../../../components/app/snaps/insight-warnings":4760,"../../../../components/component-library":4955,"../../../../components/ui/button":5198,"../../../../components/ui/check-box":5202,"../../../../components/ui/page-container":5275,"../../../../components/ui/popover":5281,"../../../../contexts/i18n":5324,"../../../../ducks/confirm-transaction/confirm-transaction.duck":5338,"../../../../ducks/history/history":5343,"../../../../ducks/metamask/metamask":5346,"../../../../helpers/constants/design-system":5355,"../../../../helpers/utils/util":5399,"../../../../selectors":5987,"../../../../store/actions":5998,"../confirm-page-container/confirm-page-container-navigation":5509,"../ledger-instruction-field":5575,"../security-provider-banner-alert/blockaid-banner-alert/blockaid-banner-alert":5580,"../security-provider-banner-message/security-provider-banner-message":5584,"../signature-request-header":5587,"./signature-request-siwe-header":5595,"./signature-request-siwe-message":5598,"@metamask/controller-utils":1163,"eth-rpc-errors":3257,loglevel:3842,"prop-types":3997,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=F;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=D(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=I(e("prop-types")),o=e("react-redux"),s=e("react-router-dom"),i=I(e("loglevel")),c=e("@metamask/controller-utils"),l=e("eth-rpc-errors"),u=e("../../../../components/component-library"),d=I(e("../../../../components/ui/popover")),m=I(e("../../../../components/ui/check-box")),p=I(e("../../../../components/ui/button")),f=e("../../../../contexts/i18n"),g=e("../../../../components/ui/page-container"),h=e("../../../../ducks/metamask/metamask"),v=e("../../../../selectors"),T=e("../../../../helpers/utils/util"),y=e("../../../../../shared/modules/security-provider.utils"),b=e("../../../../../shared/modules/siwe"),_=e("../../../../ducks/confirm-transaction/confirm-transaction.duck"),E=e("../../../../helpers/constants/design-system"),k=e("../../../../store/actions"),x=I(e("../security-provider-banner-message/security-provider-banner-message")),w=I(e("../confirm-page-container/confirm-page-container-navigation")),C=e("../../../../ducks/history/history"),A=I(e("../security-provider-banner-alert/blockaid-banner-alert/blockaid-banner-alert")),S=I(e("../ledger-instruction-field")),P=I(e("../signature-request-header")),N=I(e("../../../../components/app/snaps/insight-warnings")),M=e("../../../../../shared/constants/security-provider"),O=I(e("./signature-request-siwe-header")),R=I(e("./signature-request-siwe-message"));function I(e){return e&&e.__esModule?e:{default:e}}function D(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(D=function(e){return e?n:t})(e)}function F({txData:e,warnings:t}){var n;const r=(0,o.useDispatch)(),I=(0,s.useHistory)(),D=(0,a.useContext)(f.I18nContext),F=(0,o.useSelector)(v.accountsWithSendEtherInfoSelector),j=(0,o.useSelector)(v.getSubjectMetadata),L=(0,o.useSelector)(v.getTotalUnapprovedMessagesCount),B=(0,o.useSelector)(v.unconfirmedMessagesHashSelector),G=(0,o.useSelector)(C.getMostRecentOverviewPage),{msgParams:{from:$,origin:W,siwe:{parsedMessage:U}},id:H}=e,q=(0,o.useSelector)((e=>(0,h.isAddressLedger)(e,$))),V=(0,T.getAccountByAddress)(F,$),z=j[W],Y=$.toLowerCase()===U.address.toLowerCase(),K=(0,c.isValidSIWEOrigin)(e.msgParams),[X,J]=(0,a.useState)(!1),[Q,Z]=(0,a.useState)(!1),ee=(0,y.isSuspiciousResponse)(null==e?void 0:e.securityProviderResponse),[te,ne]=(0,a.useState)(!1),ae=(0,a.useCallback)((async()=>{try{await r((0,k.resolvePendingApproval)(H,null)),r((0,k.completedTx)(H))}catch(e){i.default.error(e)}}),[H,r]),re=(0,a.useCallback)((async()=>{try{await r((0,k.rejectPendingApproval)(H,(0,l.serializeError)(l.ethErrors.provider.userRejectedRequest())))}catch(e){i.default.error(e)}}),[r,H]),oe=D("rejectRequestsN",[L]),se=(null===(n=e.securityAlertResponse)||void 0===n?void 0:n.result_type)!==M.BlockaidResultType.Malicious&&K?"primary":"danger-primary";return a.default.createElement(a.default.Fragment,null,a.default.createElement("div",{className:"signature-request-siwe"},a.default.createElement("div",{className:"request-signature__navigation"},a.default.createElement(w.default,null)),a.default.createElement(P.default,{txData:e}),a.default.createElement(A.default,{txData:e,marginTop:4,marginLeft:4,marginRight:4}),ee&&a.default.createElement(x.default,{securityProviderResponse:e.securityProviderResponse}),a.default.createElement(O.default,{fromAccount:V,domain:W,isSIWEDomainValid:K,subjectMetadata:z}),a.default.createElement(R.default,{data:(0,b.formatMessageParams)(U,D)}),!Y&&a.default.createElement(u.BannerAlert,{severity:E.SEVERITIES.WARNING,marginLeft:4,marginRight:4,marginBottom:4},D("SIWEAddressInvalid",[U.address,V.address])),q&&a.default.createElement("div",{className:"confirm-approve-content__ledger-instruction-wrapper"},a.default.createElement(S.default,{showDataInstruction:!0})),!K&&a.default.createElement(u.BannerAlert,{severity:E.SEVERITIES.DANGER,marginLeft:4,marginRight:4,marginBottom:4},a.default.createElement(u.Text,{variant:E.TextVariant.bodyMdBold},D("SIWEDomainInvalidTitle"))," ",a.default.createElement(u.Text,null,D("SIWEDomainInvalidText"))),a.default.createElement(g.PageContainerFooter,{footerClassName:"signature-request-siwe__page-container-footer",onCancel:re,onSubmit:()=>(null==t?void 0:t.length)>=1?K?ne(!0):J(!0):K?ae():J(!0),cancelText:D("cancel"),submitText:D("signin"),submitButtonType:se}),L>1?a.default.createElement(p.default,{type:"link",className:"request-signature__container__reject",onClick:e=>{e.preventDefault(),(()=>{const e=L;r((0,k.showModal)({name:"REJECT_TRANSACTIONS",unapprovedTxCount:e,onSubmit:async()=>{await r((0,k.rejectAllMessages)((0,T.valuesFor)(B))),r((0,_.clearConfirmTransaction)()),I.push(G)}}))})()}},oe):null,X&&a.default.createElement(d.default,{onClose:()=>J(!1),title:D("SIWEWarningTitle"),subtitle:D("SIWEWarningSubtitle"),className:"signature-request-siwe__warning-popover",footerClassName:"signature-request-siwe__warning-popover__footer",footer:a.default.createElement(g.PageContainerFooter,{footerClassName:"signature-request-siwe__warning-popover__footer__warning-footer",onCancel:()=>J(!1),cancelText:D("cancel"),cancelButtonType:"default",onSubmit:()=>(null==t?void 0:t.length)>=1?ne(!0):(ae(),J(!1)),submitText:D("confirm"),submitButtonType:"danger-primary",disabled:!Q})},a.default.createElement("div",{className:"signature-request-siwe__warning-popover__checkbox-wrapper"},a.default.createElement(m.default,{id:"signature-request-siwe_domain-checkbox",checked:Q,className:"signature-request-siwe__warning-popover__checkbox-wrapper__checkbox",onClick:()=>Z((e=>!e))}),a.default.createElement("label",{className:"signature-request-siwe__warning-popover__checkbox-wrapper__label",htmlFor:"signature-request-siwe_domain-checkbox"},D("SIWEDomainWarningBody",[U.domain]))))),te&&a.default.createElement(N.default,{warnings:t,action:"signing",origin:W,onCancel:()=>ne(!1),onSubmit:()=>{ae(),ne(!1)}}))}F.propTypes={txData:r.default.object.isRequired,warnings:r.default.array}}}},{package:"$root$",file:"ui/pages/confirmations/components/signature-request-siwe/signature-request-siwe.js"}],[5602,{"./signature-request":5609},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./signature-request"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/signature-request/index.js"}],[5603,{"./signature-request-data":5604},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./signature-request-data"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/signature-request/signature-request-data/index.js"}],[5604,{"../../../../../../shared/modules/hexstring-utils":4544,"../../../../../components/app/name/name":4711,"../../../../../components/component-library":4955,"../../../../../helpers/constants/design-system":5355,"../../../../../helpers/utils/util":5399,"../../../../../hooks/usePetnamesEnabled":5434,"../../../../../selectors":5987,"../../transaction-decoding/components/decoding/address":5632,"@metamask/name-controller":1529,lodash:3836,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=v(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=e("react-redux"),o=e("lodash"),s=h(e("prop-types")),i=e("@metamask/name-controller"),c=e("../../../../../selectors"),l=h(e("../../transaction-decoding/components/decoding/address")),u=e("../../../../../../shared/modules/hexstring-utils"),d=e("../../../../../helpers/constants/design-system"),m=e("../../../../../helpers/utils/util"),p=e("../../../../../components/component-library"),f=e("../../../../../hooks/usePetnamesEnabled"),g=h(e("../../../../../components/app/name/name"));function h(e){return e&&e.__esModule?e:{default:e}}function v(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(v=function(e){return e?n:t})(e)}function T({data:e}){const t=(0,r.useSelector)(c.getMemoizedMetaMaskInternalAccounts),n=(0,f.usePetnamesEnabled)();return a.default.createElement(p.Box,{as:"ul",className:"signature-request-data__node"},Object.entries(e).map((([e,{value:r,type:o}],s)=>a.default.createElement(p.Box,{as:"li",className:"signature-request-data__node",marginBottom:2,key:`${e}-${s}`,paddingLeft:2,display:"object"!=typeof r||null===r?d.Display.Flex:null},a.default.createElement(p.Text,{as:"div",color:d.TextColor.textDefault,marginLeft:4,fontWeight:"object"==typeof r?d.FontWeight.Bold:d.FontWeight.Normal},(0,m.sanitizeString)(e.charAt(0).toUpperCase()+e.slice(1)),":"," "),"object"==typeof r&&null!==r?a.default.createElement(T,{data:r}):a.default.createElement(p.Text,{as:"div",color:d.TextColor.textDefault,marginLeft:4,className:"signature-request-data__node__value"},"address"===o&&(0,u.isValidHexAddress)(r,{mixedCaseUseChecksum:!0})?a.default.createElement(p.Text,{variant:d.TextVariant.bodySm,as:"div",color:d.TextColor.infoDefault,className:"signature-request-data__node__value__address"},n?a.default.createElement(g.default,{value:r,type:i.NameType.ETHEREUM_ADDRESS}):a.default.createElement(l.default,{addressOnly:!0,checksummedRecipientAddress:(0,u.toChecksumHexAddress)(r),recipientName:(0,c.getAccountName)(t,r)})):(0,m.sanitizeString)(`${r}`))))))}T.propTypes={data:s.default.oneOfType([s.default.object,s.default.array]).isRequired};n.default=(0,a.memo)(T,((e,t)=>(0,o.isEqual)(e.data,t.data)))}}},{package:"$root$",file:"ui/pages/confirmations/components/signature-request/signature-request-data/signature-request-data.js"}],[5605,{"./signature-request-footer.component":5606},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./signature-request-footer.component"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/signature-request/signature-request-footer/index.js"}],[5606,{"../../../../../components/ui/page-container":5275,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=i(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=(a=e("prop-types"))&&a.__esModule?a:{default:a},s=e("../../../../../components/ui/page-container");function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(i=function(e){return e?n:t})(e)}function c(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class l extends r.PureComponent{render(){const{submitButtonType:e,cancelAction:t,signAction:n,disabled:a=!1}=this.props;return r.default.createElement(s.PageContainerFooter,{cancelText:this.context.t("reject"),submitText:this.context.t("sign"),onCancel:t,onSubmit:n,disabled:a,submitButtonType:e})}}n.default=l,c(l,"propTypes",{cancelAction:o.default.func.isRequired,signAction:o.default.func.isRequired,disabled:o.default.bool,submitButtonType:o.default.string}),c(l,"contextTypes",{t:o.default.func})}}},{package:"$root$",file:"ui/pages/confirmations/components/signature-request/signature-request-footer/signature-request-footer.component.js"}],[5607,{"./signature-request-message":5608},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./signature-request-message"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/signature-request/signature-request-message/index.js"}],[5608,{"../../../../../components/component-library":4955,"../../../../../components/ui/box":5194,"../../../../../contexts/i18n":5324,"../../../../../helpers/constants/design-system":5355,"../signature-request-data":5603,lodash:3836,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=p;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=m(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=d(e("prop-types")),o=e("lodash"),s=e("../../../../../contexts/i18n"),i=d(e("../../../../../components/ui/box")),c=e("../../../../../components/component-library"),l=e("../../../../../helpers/constants/design-system"),u=d(e("../signature-request-data"));function d(e){return e&&e.__esModule?e:{default:e}}function m(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(m=function(e){return e?n:t})(e)}function p({data:e,onMessageScrolled:t,setMessageRootRef:n,messageRootRef:r,messageIsScrollable:d,primaryType:m}){const p=(0,a.useContext)(s.I18nContext),[f,g]=(0,a.useState)(!1);return a.default.createElement(i.default,{display:l.Display.Flex,flexDirection:l.FlexDirection.Column,onScroll:(0,o.debounce)((()=>{if(!r||f)return;const{scrollTop:e,offsetHeight:n,scrollHeight:a}=r;Math.round(e)+n>=a&&(g(!0),t())}),25),className:"signature-request-message"},d?a.default.createElement(i.default,{display:l.Display.Flex,alignItems:l.AlignItems.center,justifyContent:l.JustifyContent.center,borderColor:l.BorderColor.borderDefault,backgroundColor:l.BackgroundColor.backgroundDefault,color:l.Color.iconDefault,onClick:()=>{g(!0),t(),null==r||r.scrollTo(0,null==r?void 0:r.scrollHeight)},className:"signature-request-message__scroll-button","data-testid":"signature-request-scroll-button"},a.default.createElement("i",{className:"fa fa-arrow-down","aria-label":p("scrollDown")})):null,a.default.createElement(i.default,{backgroundColor:l.BackgroundColor.backgroundDefault,paddingBottom:3,paddingTop:3,paddingRight:3,margin:2,borderRadius:l.BorderRadius.XL,borderColor:l.BorderColor.borderMuted,className:"signature-request-message__root",ref:n},a.default.createElement(c.Text,{fontWeight:l.FontWeight.Bold,color:l.TextColor.textDefault,marginLeft:4},m),a.default.createElement(u.default,{data:e.value})))}p.propTypes={data:r.default.object.isRequired,onMessageScrolled:r.default.func,setMessageRootRef:r.default.func,messageRootRef:r.default.object,messageIsScrollable:r.default.bool,primaryType:r.default.string}}}},{package:"$root$",file:"ui/pages/confirmations/components/signature-request/signature-request-message/signature-request-message.js"}],[5609,{"../../../../../shared/constants/metametrics":4505,"../../../../../shared/constants/security-provider":4513,"../../../../components/app/snaps/insight-warnings":4760,"../../../../components/component-library":4955,"../../../../contexts/metametrics":5327,"../../../../ducks/metamask/metamask":5346,"../../../../helpers/constants/design-system":5355,"../../../../helpers/utils/util":5399,"../../../../hooks/useI18nContext":5427,"../../../../selectors":5987,"../../../../store/actions":5998,"../../hooks/useRejectTransactionModal":5708,"../blockaid-unavailable-banner-alert/blockaid-unavailable-banner-alert":5491,"../confirm-page-container":5511,"../contract-details-modal":5546,"../ledger-instruction-field":5575,"../security-provider-banner-alert/blockaid-banner-alert/blockaid-banner-alert":5580,"../security-provider-banner-message":5583,"../signature-request-header/signature-request-header":5588,"./signature-request-footer":5605,"./signature-request-message":5607,"eth-rpc-errors":3257,lodash:3836,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=N(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=e("react-redux"),o=P(e("prop-types")),s=e("lodash"),i=e("eth-rpc-errors"),c=e("../../../../store/actions"),l=e("../../../../selectors"),u=e("../../../../ducks/metamask/metamask"),d=e("../../../../helpers/utils/util"),m=e("../../../../hooks/useI18nContext"),p=e("../../hooks/useRejectTransactionModal"),f=e("../confirm-page-container"),g=P(e("../signature-request-header/signature-request-header")),h=P(e("../security-provider-banner-message")),v=P(e("../ledger-instruction-field")),T=P(e("../contract-details-modal")),y=e("../../../../contexts/metametrics"),b=e("../../../../../shared/constants/metametrics"),_=e("../../../../../shared/constants/security-provider"),E=e("../../../../helpers/constants/design-system"),k=e("../../../../components/component-library"),x=P(e("../security-provider-banner-alert/blockaid-banner-alert/blockaid-banner-alert")),w=P(e("../../../../components/app/snaps/insight-warnings")),C=e("../blockaid-unavailable-banner-alert/blockaid-unavailable-banner-alert"),A=P(e("./signature-request-message")),S=P(e("./signature-request-footer"));function P(e){return e&&e.__esModule?e:{default:e}}function N(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(N=function(e){return e?n:t})(e)}const M=({txData:e,warnings:t})=>{var n,o,P;const N=(0,a.useContext)(y.MetaMetricsContext),M=(0,r.useDispatch)(),O=(0,m.useI18nContext)(),[R,I]=(0,a.useState)(!1),[D,F]=(0,a.useState)(!1),[j,L]=(0,a.useState)(null),[B,G]=(0,a.useState)(!1),{id:$,type:W,msgParams:{from:U,data:H,origin:q,version:V}}=e,z=(0,r.useSelector)((e=>(0,l.doesAddressRequireLedgerHidConnection)(e,U))),{chainId:Y,rpcPrefs:K}=(0,r.useSelector)(u.getProviderConfig),X=(0,r.useSelector)(l.getTotalUnapprovedMessagesCount),J=(0,r.useSelector)(l.getSubjectMetadata),Q=(0,r.useSelector)((e=>(0,u.isAddressLedger)(e,U))),{handleCancelAll:Z}=(0,p.useRejectTransactionModal)(),[ee,te]=(0,a.useState)(!1);(0,a.useEffect)((()=>{G((null==j?void 0:j.scrollHeight)>(null==j?void 0:j.clientHeight))}),[j]);const ne=(null==J?void 0:J[q])||null,ae=(0,s.memoize)((e=>{const{message:t,domain:n={},primaryType:a,types:r}=JSON.parse(e);return{sanitizedMessage:(0,d.sanitizeMessage)(t,a,r),domain:n,primaryType:a}})),re=(null===(n=e.securityAlertResponse)||void 0===n?void 0:n.result_type)===_.BlockaidResultType.Malicious?"danger-primary":"primary",oe=async()=>{await M((0,c.resolvePendingApproval)($)),(0,c.completedTx)($),N({category:b.MetaMetricsEventCategory.Transactions,event:"Confirm",properties:{action:"Sign Request",legacy_event:!0,type:W,version:V}})},{sanitizedMessage:se,domain:{verifyingContract:ie},primaryType:ce}=ae(H);return a.default.createElement(a.default.Fragment,null,a.default.createElement("div",{className:"signature-request"},a.default.createElement(f.ConfirmPageContainerNavigation,null),a.default.createElement("div",{className:"request-signature__account","data-testid":"request-signature-account"},a.default.createElement(g.default,{txData:e})),a.default.createElement("div",{className:"signature-request-content"},a.default.createElement(x.default,{txData:e,marginLeft:4,marginRight:4,marginBottom:4}),a.default.createElement(C.BlockaidUnavailableBannerAlert,null),(null==e||null===(o=e.securityProviderResponse)||void 0===o?void 0:o.flagAsDangerous)!==undefined&&(null==e||null===(P=e.securityProviderResponse)||void 0===P?void 0:P.flagAsDangerous)!==_.SECURITY_PROVIDER_MESSAGE_SEVERITY.NOT_MALICIOUS||null!=e&&e.securityProviderResponse&&0===Object.keys(e.securityProviderResponse).length?a.default.createElement(h.default,{securityProviderResponse:e.securityProviderResponse}):null,a.default.createElement("div",{className:"signature-request__origin"},a.default.createElement(k.TagUrl,{label:q,labelProps:{color:E.TextColor.textAlternative},src:null==ne?void 0:ne.iconUrl})),a.default.createElement(k.Text,{className:"signature-request__content__title",variant:E.TextVariant.headingLg,marginTop:4},O("sigRequest")),a.default.createElement(k.Text,{className:"request-signature__content__subtitle",variant:E.TextVariant.bodySm,color:E.TextColor.textAlternative,textAlign:E.TextAlign.Center,marginLeft:12,marginRight:12,marginTop:4,as:"h6"},O("signatureRequestGuidance")),ie?a.default.createElement("div",null,a.default.createElement(k.Button,{variant:k.ButtonVariant.Link,onClick:()=>F(!0),className:"signature-request-content__verify-contract-details","data-testid":"verify-contract-details"},a.default.createElement(k.Text,{variant:E.TextVariant.bodySm,color:E.TextColor.primaryDefault,as:"h6"},O("verifyContractDetails")))):null),Q?a.default.createElement("div",{className:"confirm-approve-content__ledger-instruction-wrapper"},a.default.createElement(v.default,{showDataInstruction:!0})):null,a.default.createElement(A.default,{data:se,onMessageScrolled:()=>I(!0),setMessageRootRef:L,messageRootRef:j,messageIsScrollable:B,primaryType:ce}),a.default.createElement(S.default,{cancelAction:async()=>{await M((0,c.rejectPendingApproval)($,(0,i.serializeError)(i.ethErrors.provider.userRejectedRequest()))),N({category:b.MetaMetricsEventCategory.Transactions,event:"Cancel",properties:{action:"Sign Request",legacy_event:!0,type:W,version:V}})},signAction:()=>(null==t?void 0:t.length)>=1?te(!0):oe(),disabled:z||B&&!R,submitButtonType:re}),D&&a.default.createElement(T.default,{toAddress:ie,chainId:Y,rpcPrefs:K,onClose:()=>F(!1),isContractRequestingSignature:!0}),X>1?a.default.createElement(k.ButtonLink,{size:E.Size.inherit,className:"signature-request__reject-all-button","data-testid":"signature-request-reject-all",onClick:Z},O("rejectRequestsN",[X])):null),ee&&a.default.createElement(w.default,{warnings:t,action:"signing",origin:q,onCancel:()=>te(!1),onSubmit:()=>{oe(),te(!1)}}))};M.propTypes={txData:o.default.object,warnings:o.default.array};n.default=M}}},{package:"$root$",file:"ui/pages/confirmations/components/signature-request/signature-request.js"}],[5610,{"../../../../../shared/constants/transaction":4520,"../../../../../shared/modules/conversion.utils":4537,"../../../../components/component-library":4955,"../../../../components/ui/tooltip":5310,"../../../../ducks/locale/locale":5345,"../../../../helpers/constants/design-system":5355,"./formatAmount":5615,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.AmountPill=void 0;var a=m(e("react")),r=e("react-redux"),o=e("../../../../components/component-library"),s=e("../../../../helpers/constants/design-system"),i=e("../../../../../shared/modules/conversion.utils"),c=e("../../../../../shared/constants/transaction"),l=m(e("../../../../components/ui/tooltip")),u=e("../../../../ducks/locale/locale"),d=e("./formatAmount");function m(e){return e&&e.__esModule?e:{default:e}}n.AmountPill=({asset:e,amount:t})=>{const n=(0,r.useSelector)(u.getIntlLocale),m=t.isNegative()?s.BackgroundColor.errorMuted:s.BackgroundColor.successMuted,p=t.isNegative()?s.TextColor.errorAlternative:s.TextColor.successDefault,f=[t.isNegative()?"-":"+"],g=[];if(e.standard!==c.TokenStandard.ERC721){const e=(0,d.formatAmount)(n,t.abs()),a=(0,d.formatAmountMaxPrecision)(n,t.abs());f.push(e),g.push(a)}if(e.tokenId){const t=`#${(0,i.hexToDecimal)(e.tokenId)}`;f.push(t),g.push(t)}return a.default.createElement(o.Box,{"data-testid":"simulation-details-amount-pill",display:s.Display.Flex,flexDirection:s.FlexDirection.Row,backgroundColor:m,alignItems:s.AlignItems.center,borderRadius:s.BorderRadius.pill,style:{padding:"0px 8px",flexShrink:1,flexBasis:"auto",minWidth:0}},a.default.createElement(l.default,{position:"bottom",title:g.join(" "),wrapperStyle:{minWidth:0},interactive:!0},a.default.createElement(o.Text,{ellipsis:!0,variant:s.TextVariant.bodyMd,color:p},f.join(" "))))}}}},{package:"$root$",file:"ui/pages/confirmations/components/simulation-details/amount-pill.tsx"}],[5611,{"../../../../../shared/constants/transaction":4520,"../../../../components/app/name":4708,"../../../../components/component-library":4955,"../../../../ducks/metamask/metamask":5346,"../../../../helpers/constants/design-system":5355,"../../../../selectors":5987,"@metamask/name-controller":1529,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.AssetPill=void 0;var a=m(e("react")),r=e("@metamask/name-controller"),o=e("react-redux"),s=e("../../../../components/component-library"),i=e("../../../../helpers/constants/design-system"),c=m(e("../../../../components/app/name")),l=e("../../../../../shared/constants/transaction"),u=e("../../../../selectors"),d=e("../../../../ducks/metamask/metamask");function m(e){return e&&e.__esModule?e:{default:e}}const p=()=>{const e=(0,o.useSelector)(d.getNativeCurrency),t=(0,o.useSelector)(u.getNativeCurrencyImage);return a.default.createElement(s.Box,{display:i.Display.Flex,flexDirection:i.FlexDirection.Row,borderRadius:i.BorderRadius.pill,alignItems:i.AlignItems.center,backgroundColor:i.BackgroundColor.backgroundAlternative,gap:1,style:{padding:"1px 8px 1px 4px"}},a.default.createElement(s.AvatarNetwork,{name:e,size:s.AvatarNetworkSize.Xs,src:t,borderColor:i.BorderColor.borderDefault}),a.default.createElement(s.Text,{ellipsis:!0,variant:i.TextVariant.bodyMd},e))};n.AssetPill=({asset:e})=>a.default.createElement(s.Box,{"data-testid":"simulation-details-asset-pill",style:{flexShrink:1,flexBasis:"auto",minWidth:0}},e.standard===l.TokenStandard.none?a.default.createElement(p,null):a.default.createElement(c.default,{type:r.NameType.ETHEREUM_ADDRESS,value:e.address,preferContractSymbol:!0}))}}},{package:"$root$",file:"ui/pages/confirmations/components/simulation-details/asset-pill.tsx"}],[5612,{"../../../../components/component-library":4955,"../../../../helpers/constants/design-system":5355,"./balance-change-row":5613,"./fiat-display":5614,"./sortBalanceChanges":5618,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.BalanceChangeList=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=l(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=e("../../../../components/component-library"),o=e("../../../../helpers/constants/design-system"),s=e("./balance-change-row"),i=e("./fiat-display"),c=e("./sortBalanceChanges");function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(l=function(e){return e?n:t})(e)}n.BalanceChangeList=({heading:e,balanceChanges:t,testId:n})=>{const l=(0,a.useMemo)((()=>(0,c.sortBalanceChanges)(t)),[t]),u=(0,a.useMemo)((()=>l.map((e=>e.fiatAmount))),[l]);if(0===l.length)return null;const d=l.length>1;return a.default.createElement(r.Box,null,a.default.createElement(r.Box,{"data-testid":n,display:o.Display.Flex,flexDirection:o.FlexDirection.Column,gap:3},l.map(((t,n)=>a.default.createElement(s.BalanceChangeRow,{key:n,label:0===n?e:undefined,balanceChange:t,showFiat:!d})))),d&&a.default.createElement(r.Box,{display:o.Display.Flex,flexDirection:o.FlexDirection.RowReverse},a.default.createElement(i.TotalFiatDisplay,{fiatAmounts:u})))}}}},{package:"$root$",file:"ui/pages/confirmations/components/simulation-details/balance-change-list.tsx"}],[5613,{"../../../../components/component-library":4955,"../../../../helpers/constants/design-system":5355,"./amount-pill":5610,"./asset-pill":5611,"./fiat-display":5614,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.BalanceChangeRow=void 0;var a,r=(a=e("react"))&&a.__esModule?a:{default:a},o=e("../../../../helpers/constants/design-system"),s=e("../../../../components/component-library"),i=e("./asset-pill"),c=e("./amount-pill"),l=e("./fiat-display");n.BalanceChangeRow=({label:e,showFiat:t,balanceChange:n})=>{const{asset:a,amount:u,fiatAmount:d}=n;return r.default.createElement(s.Box,{"data-testid":"simulation-details-balance-change-row",display:o.Display.Flex,flexDirection:o.FlexDirection.Row,alignItems:o.AlignItems.flexStart,gap:1,flexWrap:o.FlexWrap.Wrap},e&&r.default.createElement(s.Text,{style:{whiteSpace:"nowrap"},variant:o.TextVariant.bodyMd},e),r.default.createElement(s.Box,{display:o.Display.Flex,flexDirection:o.FlexDirection.Column,gap:1,marginLeft:"auto",style:{minWidth:0}},r.default.createElement(s.Box,{display:o.Display.Flex,flexDirection:o.FlexDirection.Row,gap:1},r.default.createElement(c.AmountPill,{asset:a,amount:u}),r.default.createElement(i.AssetPill,{asset:a})),t&&r.default.createElement(l.IndividualFiatDisplay,{fiatAmount:d})))}}}},{package:"$root$",file:"ui/pages/confirmations/components/simulation-details/balance-change-row.tsx"}],[5614,{"../../../../components/component-library":4955,"../../../../helpers/constants/design-system":5355,"../../../../hooks/useFiatFormatter":5424,"../../../../hooks/useI18nContext":5427,"./types":5619,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.TotalFiatDisplay=n.IndividualFiatDisplay=void 0,n.calculateTotalFiat=m;var a,r=(a=e("react"))&&a.__esModule?a:{default:a},o=e("../../../../helpers/constants/design-system"),s=e("../../../../hooks/useI18nContext"),i=e("../../../../components/component-library"),c=e("../../../../hooks/useFiatFormatter"),l=e("./types");const u={color:o.TextColor.textAlternative,variant:o.TextVariant.bodySm,paddingRight:2,textAlign:"right"},d=()=>{const e=(0,s.useI18nContext)();return r.default.createElement(i.Text,u,e("simulationDetailsFiatNotAvailable"))};function m(e){return e.reduce(((e,t)=>e+(t===l.FIAT_UNAVAILABLE?0:t)),0)}n.IndividualFiatDisplay=({fiatAmount:e})=>{const t=(0,c.useFiatFormatter)();if(e===l.FIAT_UNAVAILABLE)return r.default.createElement(d,null);const n=Math.abs(e);return r.default.createElement(i.Text,u,t(n))};n.TotalFiatDisplay=({fiatAmounts:e})=>{const t=(0,s.useI18nContext)(),n=(0,c.useFiatFormatter)(),a=m(e);return 0===a?r.default.createElement(d,null):r.default.createElement(i.Text,u,t("simulationDetailsTotalFiat",[n(Math.abs(a))]))}}}},{package:"$root$",file:"ui/pages/confirmations/components/simulation-details/fiat-display.tsx"}],[5615,{"../../../../hooks/useCurrencyDisplay":5418,"bignumber.js":2933},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.formatAmount=function(e,t){if(t.isZero())return s;if(t.abs().lessThan(r.MIN_AMOUNT))return`<${i(e,r.MIN_AMOUNT)}`;if(t.abs().lessThan(1))return new Intl.NumberFormat(e,{maximumSignificantDigits:o}).format(t.round(r.DEFAULT_PRECISION).toNumber());const n=t.abs().truncated().toString().length,a=Math.max(0,o-n+1);return new Intl.NumberFormat(e,{maximumFractionDigits:a}).format(t.toNumber())},n.formatAmountMaxPrecision=i;var a=e("bignumber.js"),r=e("../../../../hooks/useCurrencyDisplay");const o=3,s="0";function i(e,t){return new Intl.NumberFormat(e,{minimumSignificantDigits:1}).format(new a.BigNumber(t.toString()).toNumber())}}}},{package:"$root$",file:"ui/pages/confirmations/components/simulation-details/formatAmount.ts"}],[5616,{"./simulation-details":5617},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"SimulationDetails",{enumerable:!0,get:function(){return a.SimulationDetails}});var a=e("./simulation-details")}}},{package:"$root$",file:"ui/pages/confirmations/components/simulation-details/index.ts"}],[5617,{"../../../../components/component-library":4955,"../../../../components/ui/icon/preloader/preloader-icon.component":5240,"../../../../components/ui/info-tooltip/info-tooltip":5250,"../../../../helpers/constants/design-system":5355,"../../../../hooks/useI18nContext":5427,"./balance-change-list":5612,"./useBalanceChanges":5620,"./useSimulationMetrics":5622,"@metamask/transaction-controller":2234,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.SimulationDetails=void 0;var a=p(e("react")),r=e("@metamask/transaction-controller"),o=e("../../../../components/component-library"),s=e("../../../../helpers/constants/design-system"),i=p(e("../../../../components/ui/info-tooltip/info-tooltip")),c=e("../../../../hooks/useI18nContext"),l=p(e("../../../../components/ui/icon/preloader/preloader-icon.component")),u=e("./balance-change-list"),d=e("./useBalanceChanges"),m=e("./useSimulationMetrics");function p(e){return e&&e.__esModule?e:{default:e}}const f=()=>a.default.createElement("div",{role:"progressbar"},a.default.createElement(l.default,{size:20})),g=({error:e})=>{const t=(0,c.useI18nContext)();return a.default.createElement(o.Text,{color:s.TextColor.warningDefault,variant:s.TextVariant.bodyMd,display:s.Display.Flex,alignItems:s.AlignItems.center},a.default.createElement(o.Icon,{name:o.IconName.Warning,marginInlineEnd:1}),e.code===r.SimulationErrorCode.Reverted?t("simulationDetailsTransactionReverted"):t("simulationDetailsFailed"))},h=()=>{const e=(0,c.useI18nContext)();return a.default.createElement(o.Text,{color:s.TextColor.textAlternative,variant:s.TextVariant.bodyMd},e("simulationDetailsNoBalanceChanges"))},v=({children:e})=>{const t=(0,c.useI18nContext)();return a.default.createElement(o.Box,{display:s.Display.Flex,flexDirection:s.FlexDirection.Row,alignItems:s.AlignItems.center,justifyContent:s.JustifyContent.spaceBetween},a.default.createElement(o.Box,{display:s.Display.Flex,flexDirection:s.FlexDirection.Row,alignItems:s.AlignItems.center,gap:1},a.default.createElement(o.Text,{variant:s.TextVariant.bodyMdMedium},t("simulationDetailsTitle")),a.default.createElement(i.default,{position:"top",contentText:t("simulationDetailsTitleTooltip")})),e)},T=({inHeader:e,isTransactionsRedesign:t,children:n})=>a.default.createElement(o.Box,{"data-testid":"simulation-details-layout",className:"simulation-details-layout",display:s.Display.Flex,flexDirection:s.FlexDirection.Column,borderRadius:s.BorderRadius.LG,borderColor:t?s.BorderColor.transparent:s.BorderColor.borderDefault,padding:3,margin:t?null:4,gap:3},a.default.createElement(v,null,e),n);n.SimulationDetails=({simulationData:e,transactionId:t,enableMetrics:n=!1,isTransactionsRedesign:i=!1})=>{const l=(0,c.useI18nContext)(),p=(0,d.useBalanceChanges)(e),v=!e||p.pending;if((0,m.useSimulationMetrics)({enableMetrics:n,balanceChanges:p.value,loading:v,simulationData:e,transactionId:t}),v)return a.default.createElement(T,{inHeader:a.default.createElement(f,null),isTransactionsRedesign:i});const{error:y}=e;if([r.SimulationErrorCode.ChainNotSupported,r.SimulationErrorCode.Disabled].includes(null==y?void 0:y.code))return null;if(y)return a.default.createElement(T,{isTransactionsRedesign:i},a.default.createElement(g,{error:y}));const b=p.value;if(0===b.length)return a.default.createElement(T,{isTransactionsRedesign:i},a.default.createElement(h,null));const _=b.filter((e=>e.amount.isNegative())),E=b.filter((e=>!e.amount.isNegative()));return a.default.createElement(T,{isTransactionsRedesign:i},a.default.createElement(o.Box,{display:s.Display.Flex,flexDirection:s.FlexDirection.Column,gap:3},a.default.createElement(u.BalanceChangeList,{heading:l("simulationDetailsOutgoingHeading"),balanceChanges:_,testId:"simulation-rows-outgoing"}),a.default.createElement(u.BalanceChangeList,{heading:l("simulationDetailsIncomingHeading"),balanceChanges:E,testId:"simulation-rows-incoming"})))}}}},{package:"$root$",file:"ui/pages/confirmations/components/simulation-details/simulation-details.tsx"}],[5618,{"../../../../../shared/constants/transaction":4520,"./types":5619},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.sortBalanceChanges=n.compareBalanceChanges=void 0;var a=e("../../../../../shared/constants/transaction"),r=e("./types");const o=[a.TokenStandard.none,a.TokenStandard.ERC20,a.TokenStandard.ERC721,a.TokenStandard.ERC1155],s=[(e,t)=>e.fiatAmount===t.fiatAmount?0:e.fiatAmount===r.FIAT_UNAVAILABLE?1:t.fiatAmount===r.FIAT_UNAVAILABLE?-1:t.fiatAmount-e.fiatAmount,(e,t)=>o.indexOf(e.asset.standard)-o.indexOf(t.asset.standard)],i=(e,t)=>{for(const n of s){const a=n(e,t);if(0!==a)return a}return 0};n.compareBalanceChanges=i;n.sortBalanceChanges=e=>[...e].sort(i)}}},{package:"$root$",file:"ui/pages/confirmations/components/simulation-details/sortBalanceChanges.ts"}],[5619,{"../../../../../shared/constants/transaction":4520},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.NATIVE_ASSET_IDENTIFIER=n.FIAT_UNAVAILABLE=void 0;var a=e("../../../../../shared/constants/transaction");n.NATIVE_ASSET_IDENTIFIER={standard:a.TokenStandard.none},n.FIAT_UNAVAILABLE=null}}},{package:"$root$",file:"ui/pages/confirmations/components/simulation-details/types.ts"}],[5620,{"../../../../../shared/constants/transaction":4520,"../../../../ducks/metamask/metamask":5346,"../../../../helpers/utils/util":5399,"../../../../hooks/useAsyncResult":5416,"../../../../selectors":5987,"../../../../store/actions":5998,"./types":5619,"@metamask/transaction-controller":2234,"bignumber.js":2933,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useBalanceChanges=void 0;var a=e("react-redux"),r=e("@metamask/transaction-controller"),o=e("bignumber.js"),s=e("../../../../hooks/useAsyncResult"),i=e("../../../../store/actions"),c=e("../../../../../shared/constants/transaction"),l=e("../../../../ducks/metamask/metamask"),u=e("../../../../selectors"),d=e("../../../../helpers/utils/util"),m=e("./types");const p=18;function f(e){return String(e)}function g(e){switch(e){case r.SimulationTokenStandard.erc20:return c.TokenStandard.ERC20;case r.SimulationTokenStandard.erc721:return c.TokenStandard.ERC721;case r.SimulationTokenStandard.erc1155:return c.TokenStandard.ERC1155;default:throw new Error(`Unknown token standard: ${e}`)}}function h({isDecrease:e,difference:t},n){return new o.BigNumber(t,16).times(e?-1:1).shift(-n)}async function v(e){try{const{decimals:t}=await(0,i.getTokenStandardAndDetails)(e);if(!t)return p;for(const e of[10,16]){const n=parseInt(t,e);if(isFinite(n))return n}return p}catch{return p}}n.useBalanceChanges=e=>{const t=(0,a.useSelector)(u.getCurrentChainId),n=(0,a.useSelector)(u.getCurrentCurrency),o=(0,a.useSelector)(l.getConversionRate),{nativeBalanceChange:i,tokenBalanceChanges:T=[]}=e??{},y=T.filter((e=>e.standard===r.SimulationTokenStandard.erc20)).map((e=>e.address)),b=(0,s.useAsyncResultOrThrow)((()=>async function(e){const t=[...new Set(e.map((e=>e.toLowerCase())))],n=await Promise.all(t.map(v));return Object.fromEntries(n.map(((e,n)=>[t[n],e])))}(y)),[JSON.stringify(y)]),_=(0,s.useAsyncResultOrThrow)((()=>async function(e,t,n){const a=await(0,d.fetchTokenExchangeRates)(e,t,n);return Object.fromEntries(Object.entries(a).map((([e,t])=>[e.toLowerCase(),t])))}(n,y,t)),[JSON.stringify(y),t,n]);if(b.pending||_.pending||!e)return{pending:!0,value:[]};const E=function(e,t){if(!e)return undefined;const n=m.NATIVE_ASSET_IDENTIFIER,a=h(e,18),r=t?a.times(f(t)).toNumber():m.FIAT_UNAVAILABLE;return{asset:n,amount:a,fiatAmount:r}}(i,o),k=function(e,t,n){return e.map((e=>{const a={standard:g(e.standard),address:e.address.toLowerCase(),tokenId:e.id},r=h(e,a.standard===c.TokenStandard.ERC20?t[a.address]??p:0),o=n[e.address],s=o?r.times(f(o)).toNumber():m.FIAT_UNAVAILABLE;return{asset:a,amount:r,fiatAmount:s}}))}(T,b.value,_.value);return{pending:!1,value:[...E?[E]:[],...k]}}}}},{package:"$root$",file:"ui/pages/confirmations/components/simulation-details/useBalanceChanges.ts"}],[5621,{react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useLoadingTime=function(){const[e]=(0,a.useState)(Date.now()),[t,n]=(0,a.useState)();return{loadingTime:t,setLoadingComplete:()=>{t===undefined&&n((Date.now()-e)/1e3)}}};var a=e("react")}}},{package:"$root$",file:"ui/pages/confirmations/components/simulation-details/useLoadingTime.ts"}],[5622,{"../../../../../shared/constants/metametrics":4505,"../../../../../shared/constants/transaction":4520,"../../../../contexts/metametrics":5327,"../../../../hooks/useDisplayName":5421,"../../hooks/useTransactionEventFragment":5711,"./fiat-display":5614,"./useLoadingTime":5621,"@metamask/name-controller":1529,"@metamask/transaction-controller":2234,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.SimulationResponseType=n.PetnameType=n.FiatType=n.AssetType=void 0,n.useSimulationMetrics=function({balanceChanges:e,loading:t,simulationData:n,transactionId:c,enableMetrics:d}){var f;const{loadingTime:y,setLoadingComplete:E}=(0,m.useLoadingTime)();t||E();const k=e.map((({asset:e})=>({value:e.address??"",type:o.NameType.ETHEREUM_ADDRESS,preferContractSymbol:!0}))),x=(0,i.useDisplayNames)(k).reduce(((t,n,a)=>({...t,[e[a].asset.address??""]:n})),{}),{updateTransactionEventFragment:w}=(0,s.useTransactionEventFragment)();!function(e,t){const n=(0,r.useContext)(l.MetaMetricsContext),[a,o]=(0,r.useState)([]);for(const r of e){const e=r.asset.address??"",s=t[e],i=r.asset.address&&!r.fiatAmount||_(r,s)===h.Unknown,c=a.includes(e);i&&!c&&(n({event:u.MetaMetricsEventName.SimulationIncompleteAssetDisplayed,category:u.MetaMetricsEventCategory.Transactions,properties:{asset_address:r.asset.address,asset_petname:_(r,s),asset_symbol:s.contractDisplayName,asset_type:b(r.asset.standard),fiat_conversion_available:r.fiatAmount?g.Available:g.NotAvailable,location:"confirmation"}}),o([...a,e]))}}(e,x);const C=e.filter((e=>!e.amount.isNegative())),A=e.filter((e=>e.amount.isNegative())),S=function(e){var t;if(!e)return p.InProgress;if((null===(t=e.error)||void 0===t?void 0:t.code)===a.SimulationErrorCode.Reverted)return p.Reverted;if(e.error)return p.Failed;if(!(null!=e&&e.nativeBalanceChange||null!=e&&e.tokenBalanceChanges.length))return p.NoChanges;return p.Changes}(n),P={simulation_response:S,simulation_latency:y,...v(C,"simulation_receiving_assets_",x),...v(A,"simulation_sending_assets_",x)},N={...T(C,"simulation_receiving_assets_"),...T(A,"simulation_sending_assets_")},M={properties:P,sensitiveProperties:N},O=!d||[a.SimulationErrorCode.ChainNotSupported,a.SimulationErrorCode.Disabled].includes(null==n||null===(f=n.error)||void 0===f?void 0:f.code);(0,r.useEffect)((()=>{O||w(M,c)}),[O,w,c,JSON.stringify(M)])};var a=e("@metamask/transaction-controller"),r=e("react"),o=e("@metamask/name-controller"),s=e("../../hooks/useTransactionEventFragment"),i=e("../../../../hooks/useDisplayName"),c=e("../../../../../shared/constants/transaction"),l=e("../../../../contexts/metametrics"),u=e("../../../../../shared/constants/metametrics"),d=e("./fiat-display"),m=e("./useLoadingTime");let p=n.SimulationResponseType=function(e){return e.Failed="failed",e.Reverted="transaction_revert",e.NoChanges="no_balance_change",e.Changes="balance_change",e.InProgress="simulation_in_progress",e}({}),f=n.AssetType=function(e){return e.Native="native",e.ERC20="erc20",e.ERC721="erc721",e.ERC1155="erc1155",e}({}),g=n.FiatType=function(e){return e.Available="available",e.NotAvailable="not_available",e}({}),h=n.PetnameType=function(e){return e.Saved="saved",e.Default="default",e.Unknown="unknown",e}({});function v(e,t,n){const a=e.length,r=E(e.map((e=>b(e.asset.standard)))),o=E(e.map((e=>e.fiatAmount?g.Available:g.NotAvailable)));return y({petname:E(e.map((e=>_(e,n[e.asset.address??""])))),quantity:a,type:r,value:o},t)}function T(e,t){const n=e.map((e=>e.fiatAmount)),a=(0,d.calculateTotalFiat)(n);return y({total_value:a?Math.abs(a):undefined},t)}function y(e,t){return Object.entries(e).reduce(((e,[n,a])=>({...e,[`${t}${n}`]:a})),{})}function b(e){switch(e){case c.TokenStandard.ERC20:return f.ERC20;case c.TokenStandard.ERC721:return f.ERC721;case c.TokenStandard.ERC1155:return f.ERC1155;default:return f.Native}}function _(e,t){return e.asset.standard===c.TokenStandard.none?h.Default:t.hasPetname?h.Saved:t.name?h.Default:h.Unknown}function E(e){return Array.from(new Set(e))}}}},{package:"$root$",file:"ui/pages/confirmations/components/simulation-details/useSimulationMetrics.ts"}],[5623,{"./simulation-error-message":5624},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./simulation-error-message"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/simulation-error-message/index.js"}],[5624,{"../../../../../.storybook/i18n":1,"../../../../../shared/constants/metametrics":4505,"../../../../components/component-library":4955,"../../../../contexts/metametrics":5327,"../../../../helpers/constants/design-system":5355,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=m;var a,r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=d(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=(a=e("prop-types"))&&a.__esModule?a:{default:a},s=e("../../../../components/component-library"),i=e("../../../../helpers/constants/design-system"),c=e("../../../../../.storybook/i18n"),l=e("../../../../../shared/constants/metametrics"),u=e("../../../../contexts/metametrics");function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(d=function(e){return e?n:t})(e)}function m({userAcknowledgedGasMissing:e=!1,setUserAcknowledgedGasMissing:t}){const n=(0,r.useContext)(c.I18nContext),a=(0,r.useContext)(u.MetaMetricsContext);return(0,r.useEffect)((()=>{a({category:l.MetaMetricsEventCategory.Transactions,event:l.MetaMetricsEventName.SimulationFails,properties:{ui_customizations:[l.MetaMetricsEventUiCustomization.GasEstimationFailed]}})}),[]),!0===e?r.default.createElement(s.BannerAlert,{severity:i.Severity.Danger},n("simulationErrorMessageV2")):r.default.createElement(s.BannerAlert,{severity:i.Severity.Danger,actionButtonLabel:n("proceedWithTransaction"),actionButtonOnClick:t},n("simulationErrorMessageV2"))}m.propTypes={userAcknowledgedGasMissing:o.default.bool,setUserAcknowledgedGasMissing:o.default.func}}}},{package:"$root$",file:"ui/pages/confirmations/components/simulation-error-message/simulation-error-message.js"}],[5625,{"../../../../components/component-library":4955,"../../../../components/ui/actionable-message":5191,"../../../../hooks/useI18nContext":5427,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=i(e("react")),r=i(e("../../../../components/ui/actionable-message")),o=e("../../../../components/component-library"),s=e("../../../../hooks/useI18nContext");function i(e){return e&&e.__esModule?e:{default:e}}n.default=({message:e,learnMoreLink:t,error:n})=>{const i=(0,s.useI18nContext)();return a.default.createElement(a.default.Fragment,null,a.default.createElement(o.Text,{"data-testid":"snap-account-error-message-text",style:n?{marginBottom:2}:{}},e,Boolean(t)&&a.default.createElement(a.default.Fragment,null," ",a.default.createElement("a",{"data-testid":"snap-account-error-message-learn-more-link",href:t,rel:"noopener noreferrer",target:"_blank"},i("learnMoreUpperCase")))),Boolean(n)&&a.default.createElement(r.default,{type:"danger",message:n,dataTestId:"snap-account-error-message-error"}))}}}},{package:"$root$",file:"ui/pages/confirmations/components/snap-account-error-message/SnapAccountErrorMessage.tsx"}],[5626,{"./SnapAccountErrorMessage":5625},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"SnapAccountErrorMessage",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./SnapAccountErrorMessage"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/snap-account-error-message/index.tsx"}],[5627,{"../../../../components/component-library":4955,"../../../../hooks/useI18nContext":5427,"../../../remove-snap-account":5824,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=(a=e("react"))&&a.__esModule?a:{default:a},o=e("../../../../components/component-library"),s=e("../../../../hooks/useI18nContext"),i=e("../../../remove-snap-account");n.default=({message:e,address:t,learnMoreLink:n})=>{const a=(0,s.useI18nContext)();return r.default.createElement(r.default.Fragment,null,r.default.createElement(i.SnapAccountCard,{address:t}),r.default.createElement(o.Text,{"data-testid":"snap-account-success-message-text"},e,Boolean(n)&&r.default.createElement(r.default.Fragment,null," ",r.default.createElement("a",{"data-testid":"snap-account-success-message-learn-more-link",href:n,rel:"noopener noreferrer",target:"_blank"},a("learnMoreUpperCase")))))}}}},{package:"$root$",file:"ui/pages/confirmations/components/snap-account-success-message/SnapAccountSuccessMessage.tsx"}],[5628,{"./SnapAccountSuccessMessage":5627},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"SnapAccountSuccessMessage",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./SnapAccountSuccessMessage"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/snap-account-success-message/index.tsx"}],[5629,{"./transaction-alerts":5630},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./transaction-alerts"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/transaction-alerts/index.js"}],[5630,{"../../../../../shared/constants/gas":4500,"../../../../../shared/lib/metamask-controller-utils":4526,"../../../../../shared/modules/security-provider.utils":4552,"../../../../../shared/modules/transaction.utils":4560,"../../../../components/component-library":4955,"../../../../contexts/gasFee":5323,"../../../../ducks/metamask/metamask":5346,"../../../../helpers/constants/design-system":5355,"../../../../helpers/constants/zendesk-url":5368,"../../../../hooks/useI18nContext":5427,"../../../../selectors":5987,"../security-provider-banner-alert/blockaid-banner-alert/blockaid-banner-alert":5580,"../security-provider-banner-message/security-provider-banner-message":5584,"../simulation-error-message":5623,"@metamask/transaction-controller":2234,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=_(e("react")),r=_(e("prop-types")),o=e("react-redux"),s=e("@metamask/transaction-controller"),i=e("../../../../../shared/constants/gas"),c=e("../../../../contexts/gasFee"),l=e("../../../../hooks/useI18nContext"),u=e("../../../../components/component-library"),d=_(e("../simulation-error-message")),m=e("../../../../helpers/constants/design-system"),p=e("../../../../selectors"),f=_(e("../../../../helpers/constants/zendesk-url")),g=e("../../../../../shared/modules/security-provider.utils"),h=_(e("../security-provider-banner-alert/blockaid-banner-alert/blockaid-banner-alert")),v=_(e("../security-provider-banner-message/security-provider-banner-message")),T=e("../../../../ducks/metamask/metamask"),y=e("../../../../../shared/modules/transaction.utils"),b=e("../../../../../shared/lib/metamask-controller-utils");function _(e){return e&&e.__esModule?e:{default:e}}const E=({userAcknowledgedGasMissing:e,setUserAcknowledgedGasMissing:t,tokenSymbol:n,txData:r,isUsingPaymaster:_})=>{const{estimateUsed:E,hasSimulationError:k,supportsEIP1559:x}=(0,c.useGasFeeContext)(),w=(0,o.useSelector)(p.submittedPendingTransactionsSelector),C=(0,l.useI18nContext)(),A=(0,o.useSelector)(T.getNativeCurrency),S=r.txParams.data,P=n||A;let N;if(r.type===s.TransactionType.simpleSend&&(N=r.txParams.value),r.type===s.TransactionType.tokenMethodTransfer){const e=(0,y.parseStandardTokenTransactionData)(S);N=(0,b.getTokenValueParam)(e)}const M=(r.type===s.TransactionType.simpleSend||r.type===s.TransactionType.tokenMethodTransfer)&&("0x0"===N||"0"===N);return a.default.createElement("div",{className:"transaction-alerts"},a.default.createElement(h.default,{txData:r}),(0,g.isSuspiciousResponse)(null==r?void 0:r.securityProviderResponse)&&a.default.createElement(v.default,{securityProviderResponse:r.securityProviderResponse}),k&&a.default.createElement(d.default,{userAcknowledgedGasMissing:e,setUserAcknowledgedGasMissing:t}),x&&(null==w?void 0:w.length)>0&&a.default.createElement(u.BannerAlert,{severity:m.SEVERITIES.WARNING},a.default.createElement(u.Text,{as:"p"},a.default.createElement("strong",null,1===(null==w?void 0:w.length)?C("pendingTransactionSingle",[null==w?void 0:w.length]):C("pendingTransactionMultiple",[null==w?void 0:w.length]))," ",C("pendingTransactionInfo"),C("learnCancelSpeeedup",[a.default.createElement(u.ButtonLink,{key:"cancelSpeedUpInfo",href:f.default.SPEEDUP_CANCEL,rel:"noopener noreferrer",target:"_blank"},C("cancelSpeedUp"))]))),E===i.PriorityLevels.low&&a.default.createElement(u.BannerAlert,{"data-testid":"low-gas-fee-alert",severity:m.SEVERITIES.WARNING},C("lowPriorityMessage")),M&&a.default.createElement(u.BannerAlert,{severity:m.SEVERITIES.WARNING},C("sendingZeroAmount",[P])),_&&a.default.createElement(u.BannerAlert,{"data-testid":"paymaster-alert",severity:m.SEVERITIES.INFO},C("paymasterInUse")))};E.propTypes={userAcknowledgedGasMissing:r.default.bool,setUserAcknowledgedGasMissing:r.default.func,tokenSymbol:r.default.string,txData:r.default.object,isUsingPaymaster:r.default.bool};n.default=E}}},{package:"$root$",file:"ui/pages/confirmations/components/transaction-alerts/transaction-alerts.js"}],[5631,{"../../../../../../../../shared/constants/copy":4496,"../../../../../../../components/app/modals/nickname-popovers":4692,"../../../../../../../components/ui/identicon":5247,"../../../../../../../helpers/utils/util":5399,"../../../../../../../hooks/useI18nContext":5427,"../../../../../../../selectors":5987,"copy-to-clipboard":3087,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=e("react-redux"),o=p(e("prop-types")),s=p(e("copy-to-clipboard")),i=e("../../../../../../../helpers/utils/util"),c=p(e("../../../../../../../components/ui/identicon")),l=e("../../../../../../../hooks/useI18nContext"),u=e("../../../../../../../selectors"),d=p(e("../../../../../../../components/app/modals/nickname-popovers")),m=e("../../../../../../../../shared/constants/copy");function p(e){return e&&e.__esModule?e:{default:e}}function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}const g=({checksummedRecipientAddress:e,onRecipientClick:t,addressOnly:n,recipientEns:o,recipientName:p})=>{const f=(0,l.useI18nContext)(),[g,h]=(0,a.useState)(!1),v=(0,r.useSelector)(u.getMemoizedAddressBook).find((t=>t.address.toLowerCase()===e.toLowerCase())),T=null==v?void 0:v.name,y=(0,r.useSelector)((t=>(0,u.getMemoizedMetadataContractName)(t,e))),b=n?p||T||y||o||(0,i.shortenAddress)(e):p||T||y||o||f("newContract");return a.default.createElement("div",{className:"tx-insight tx-insight-component tx-insight-component-address",onClick:()=>{(0,s.default)(e,m.COPY_OPTIONS),t&&t()}},a.default.createElement("div",{className:"tx-insight-component-address__sender-icon"},a.default.createElement(c.default,{address:e,diameter:18})),a.default.createElement("div",{className:"tx-insight-component-address__name",onClick:()=>h(!0)},b),g?a.default.createElement(d.default,{onClose:()=>h(!1),address:e}):null)};g.propTypes={checksummedRecipientAddress:o.default.string,recipientName:o.default.string,recipientEns:o.default.string,addressOnly:o.default.bool,onRecipientClick:o.default.func};n.default=g}}},{package:"$root$",file:"ui/pages/confirmations/components/transaction-decoding/components/decoding/address/address.component.js"}],[5632,{"./address.component":5631},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./address.component"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/transaction-decoding/components/decoding/address/index.js"}],[5633,{"../../../../../../../components/component-library":4955,"../../../../../../../components/ui/tooltip/tooltip":5311,"../../../../../../../contexts/i18n":5324,"../../../../../../../helpers/constants/design-system":5355,"../../../../../../../hooks/useCopyToClipboard":5417,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=d(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=u(e("prop-types")),o=u(e("../../../../../../../components/ui/tooltip/tooltip")),s=e("../../../../../../../contexts/i18n"),i=e("../../../../../../../hooks/useCopyToClipboard"),c=e("../../../../../../../components/component-library"),l=e("../../../../../../../helpers/constants/design-system");function u(e){return e&&e.__esModule?e:{default:e}}function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(d=function(e){return e?n:t})(e)}const m=({data:e})=>{const t=(0,a.useContext)(s.I18nContext),[n,r]=(0,i.useCopyToClipboard)();return a.default.createElement("div",{className:"copy-raw-data"},a.default.createElement(o.default,{position:"right",title:n?t("copiedExclamation"):""},a.default.createElement("button",{onClick:()=>{r(e)},className:"copy-raw-data__button"},a.default.createElement("div",{className:"copy-raw-data__icon"},a.default.createElement(c.Icon,{name:n?c.IconName.CopySuccess:c.IconName.Copy,color:l.IconColor.iconDefault})),a.default.createElement("div",{className:"copy-raw-data__label"},t("copyRawTransactionData")))))};m.propTypes={data:r.default.string.isRequired};n.default=m}}},{package:"$root$",file:"ui/pages/confirmations/components/transaction-decoding/components/ui/copy-raw-data/copy-raw-data.component.js"}],[5634,{"./copy-raw-data.component":5633},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./copy-raw-data.component"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/transaction-decoding/components/ui/copy-raw-data/index.js"}],[5635,{"./transaction-detail-item.component":5636},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./transaction-detail-item.component"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/transaction-detail-item/index.js"}],[5636,{"../../../../components/component-library":4955,"../../../../helpers/constants/design-system":5355,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=u;var a=c(e("react")),r=c(e("prop-types")),o=c(e("classnames")),s=e("../../../../helpers/constants/design-system"),i=e("../../../../components/component-library");function c(e){return e&&e.__esModule?e:{default:e}}function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t(0,s.default)(n,P.COPY_OPTIONS),color:g.IconColor.iconDefault,iconName:this.state.copied?k.IconName.CopySuccess:k.IconName.Copy,title:this.state.copied?e("copiedExclamation"):e("copyToClipboard")}))))}renderDataContent(){const{t:e}=this.context,{data:t,isSetApproveForAll:n,isApprovalOrRejection:r}=this.props;return a.default.createElement(k.Box,{className:"flex-column"},a.default.createElement(k.Text,{className:"confirm-approve-content__small-text"},e(n?"functionSetApprovalForAll":"functionApprove")),n&&r!==undefined?a.default.createElement(a.default.Fragment,null,a.default.createElement(k.Text,{className:"confirm-approve-content__small-text"},`${e("parameters")}: ${r}`)):null,a.default.createElement(k.Text,{className:"confirm-approve-content__small-text confirm-approve-content__data__data-block"},t))}renderFullDetails(){const{t:e}=this.context,{assetStandard:t}=this.props;return t===b.TokenStandard.ERC721||t===b.TokenStandard.ERC1155?a.default.createElement("div",{className:"confirm-approve-content__full-tx-content"},a.default.createElement("div",{className:"confirm-approve-content__permission"},this.renderApproveContentCard({symbol:a.default.createElement("i",{className:"fas fa-user-check"}),title:e("permissionRequest"),content:this.renderERC721OrERC1155PermissionContent(),showEdit:!1})),a.default.createElement("div",{className:"confirm-approve-content__data"},this.renderApproveContentCard({symbol:a.default.createElement("i",{className:"fa fa-file"}),title:e("data"),content:this.renderDataContent(),noBorder:!0}))):null}getTokenName(){const{tokenId:e,assetName:t,assetStandard:n,tokenSymbol:a}=this.props,{t:r}=this.context;let o=r("token");return(n===b.TokenStandard.ERC721||n===b.TokenStandard.ERC1155||t&&e||a&&e)&&(o=t||a?`${t??a}`:r("thisCollection")),o}getTitleTokenDescription(){const{tokenId:e,tokenAddress:t,rpcPrefs:n,chainId:r,userAddress:o}=this.props,c=(null==n?void 0:n.blockExplorerUrl)||[..._.TEST_CHAINS,_.CHAIN_IDS.MAINNET,_.CHAIN_IDS.LINEA_MAINNET].includes(r),l=this.getTokenName(),u=e?` (#${e})`:"";if(c){const e=(0,i.getTokenTrackerLink)(t,r,null,o,{blockExplorerUrl:(null==n?void 0:n.blockExplorerUrl)??null});return a.default.createElement(a.default.Fragment,null,a.default.createElement("a",{href:e,target:"_blank",rel:"noopener noreferrer",title:t,className:"confirm-approve-content__approval-asset-link"},l),u&&a.default.createElement("span",null,u))}return a.default.createElement(a.default.Fragment,null,a.default.createElement("span",{className:"confirm-approve-content__approval-asset-title",onClick:()=>{(0,s.default)(t,P.COPY_OPTIONS)},title:t},l),u&&a.default.createElement("span",null,u))}renderTitle(){const{t:e}=this.context,{assetName:t,tokenId:n,tokenSymbol:a,assetStandard:r,isSetApproveForAll:o,isApprovalOrRejection:s}=this.props,i=this.getTitleTokenDescription();let c;return o?a?(c=e("approveAllTokensTitle",[i]),!1===s&&(c=e("revokeAllTokensTitle",[i]))):(c=e("approveAllTokensTitleWithoutSymbol",[i]),!1===s&&(c=e("revokeAllTokensTitleWithoutSymbol",[i]))):(r===b.TokenStandard.ERC721||r===b.TokenStandard.ERC1155||t&&n||a&&n)&&(c=e("approveTokenTitle",[i])),c||e("allowSpendToken",[i])}renderDescription(){const{t:e}=this.context,{assetStandard:t,assetName:n,tokenId:a,tokenSymbol:r,isContract:o,isSetApproveForAll:s,isApprovalOrRejection:i}=this.props,c=o?e("contract").toLowerCase():e("account").toLowerCase();let l=e("trustSiteApprovePermission",[c]);return s&&!1===i?l=e(r?"revokeApproveForAllDescription":"revokeApproveForAllDescriptionWithoutSymbol",[this.getTitleTokenDescription()]):(s||t===b.TokenStandard.ERC721||t===b.TokenStandard.ERC1155||n&&a||r&&a)&&(l=r?e("approveTokenDescription"):e("approveTokenDescriptionWithoutSymbol",[this.getTitleTokenDescription()])),l}render(){var e;const{t:t}=this.context,{siteImage:n,origin:r,tokenSymbol:s,useNonceField:i,warning:l,txData:u,fromAddressIsLedger:p,toAddress:b,chainId:_,rpcPrefs:x,assetStandard:w,tokenId:C,tokenAddress:A,assetName:P,userAcknowledgedGasMissing:N,setUserAcknowledgedGasMissing:M,renderSimulationFailureWarning:O,nextNonce:R,getNextNonce:I,customNonceValue:D,updateCustomNonce:F,showCustomizeNonceModal:j}=this.props,{showFullTxDetails:L,setShowContractDetails:B}=this.state;return a.default.createElement("div",{className:(0,o.default)("confirm-approve-content",{"confirm-approve-content--full":L})},a.default.createElement(T.default,{txData:u,marginTop:4,marginLeft:4,marginRight:4}),(0,y.isSuspiciousResponse)(null==u?void 0:u.securityProviderResponse)&&a.default.createElement(f.default,{securityProviderResponse:u.securityProviderResponse}),l&&a.default.createElement("div",{className:"confirm-approve-content__custom-nonce-warning"},a.default.createElement(h.ConfirmPageContainerWarning,{warning:l})),a.default.createElement(k.Box,{display:g.DISPLAY.FLEX,className:"confirm-approve-content__icon-display-content"},a.default.createElement(k.Box,{display:g.DISPLAY.FLEX,alignItems:g.AlignItems.center},a.default.createElement(c.default,{className:"confirm-approve-content__siteimage-identicon",fallbackClassName:"confirm-approve-content__siteimage-identicon",name:r,url:n}),a.default.createElement(k.Text,{variant:g.TextVariant.bodySm,as:"h6",color:g.TextColor.textAlternative,marginLeft:1},r))),a.default.createElement("div",{className:"confirm-approve-content__title","data-testid":"confirm-approve-title"},this.renderTitle()),a.default.createElement("div",{className:"confirm-approve-content__description"},this.renderDescription()),a.default.createElement(k.Box,{marginBottom:4,marginTop:2},a.default.createElement(d.default,{type:"link",className:"confirm-approve-content__verify-contract-details",onClick:()=>this.setState({setShowContractDetails:!0})},t("verifyContractDetails")),B&&a.default.createElement(E.default,{onClose:()=>this.setState({setShowContractDetails:!1}),tokenName:s,tokenAddress:A,toAddress:b,chainId:_,rpcPrefs:x,tokenId:C,assetName:P,assetStandard:w})),a.default.createElement("div",{className:"confirm-approve-content__card-wrapper"},O&&a.default.createElement(k.Box,{paddingTop:0,paddingRight:6,paddingBottom:4,paddingLeft:6},a.default.createElement(m.default,{userAcknowledgedGasMissing:N,setUserAcknowledgedGasMissing:()=>M(!0)})),this.renderApproveContentCard({symbol:a.default.createElement(k.Icon,{name:k.IconName.Tag}),title:t("transactionFee"),showEdit:!0,showAdvanceGasFeeOptions:!0,showFeeDetails:!0,content:this.renderTransactionDetailsContent(),noBorder:i||!L,footer:!i&&a.default.createElement("div",{className:"confirm-approve-content__view-full-tx-button-wrapper",onClick:()=>this.setState({showFullTxDetails:!this.state.showFullTxDetails})},a.default.createElement("div",{className:"confirm-approve-content__view-full-tx-button cursor-pointer"},a.default.createElement("div",{className:"confirm-approve-content__small-blue-text"},this.state.showFullTxDetails?t("hideFullTransactionDetails"):t("viewFullTransactionDetails")),a.default.createElement("i",{className:(0,o.default)({"fa fa-caret-up":L,"fa fa-caret-down":!L})})))}),i&&this.renderApproveContentCard({showHeader:!1,content:a.default.createElement(S.default,{nextNonce:R,customNonceValue:D,showCustomizeNonceModal:()=>{j({nextNonce:R,customNonceValue:D,updateCustomNonce:F,getNextNonce:I})}}),useNonceField:i,noBorder:!L,footer:a.default.createElement("div",{className:"confirm-approve-content__view-full-tx-button-wrapper",onClick:()=>this.setState({showFullTxDetails:!this.state.showFullTxDetails})},a.default.createElement("div",{className:"confirm-approve-content__view-full-tx-button cursor-pointer"},a.default.createElement("div",{className:"confirm-approve-content__small-blue-text"},this.state.showFullTxDetails?t("hideFullTransactionDetails"):t("viewFullTransactionDetails")),a.default.createElement("i",{className:(0,o.default)({"fa fa-caret-up":L,"fa fa-caret-down":!L})})))})),p?a.default.createElement("div",{className:"confirm-approve-content__ledger-instruction-wrapper"},a.default.createElement(v.default,{showDataInstruction:Boolean(null===(e=u.txParams)||void 0===e?void 0:e.data)})):null,L?this.renderFullDetails():null)}}n.default=I,R(I,"contextTypes",{t:r.default.func,trackEvent:r.default.func}),R(I,"propTypes",{tokenSymbol:r.default.string,siteImage:r.default.string,origin:r.default.string,data:r.default.string,toAddress:r.default.string,currentCurrency:r.default.string,nativeCurrency:r.default.string,fiatTransactionTotal:r.default.string,ethTransactionTotal:r.default.string,useNonceField:r.default.bool,customNonceValue:r.default.string,updateCustomNonce:r.default.func,getNextNonce:r.default.func,nextNonce:r.default.number,showCustomizeNonceModal:r.default.func,warning:r.default.string,txData:r.default.object,fromAddressIsLedger:r.default.bool,chainId:r.default.string,tokenAddress:r.default.string,rpcPrefs:r.default.object,isContract:r.default.bool,hexTransactionTotal:r.default.string,hexMinimumTransactionFee:r.default.string,hasLayer1GasFee:r.default.bool,supportsEIP1559:r.default.bool,assetName:r.default.string,tokenId:r.default.string,assetStandard:r.default.string,isSetApproveForAll:r.default.bool,isApprovalOrRejection:r.default.bool,userAddress:r.default.string,userAcknowledgedGasMissing:r.default.bool,setUserAcknowledgedGasMissing:r.default.func,renderSimulationFailureWarning:r.default.bool,useCurrencyRateCheck:r.default.bool,useNativeCurrencyAsPrimaryCurrency:r.default.bool})}}},{package:"$root$",file:"ui/pages/confirmations/confirm-approve/confirm-approve-content/confirm-approve-content.component.js"}],[5639,{"./confirm-approve-content.component":5638},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./confirm-approve-content.component"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/confirm-approve/confirm-approve-content/index.js"}],[5640,{"../../../../shared/constants/gas":4500,"../../../../shared/constants/transaction":4520,"../../../../shared/lib/transactions-controller-utils":4531,"../../../../shared/modules/contract-utils":4536,"../../../../shared/modules/transaction.utils":4560,"../../../components/ui/loading-screen":5256,"../../../contexts/gasFee":5323,"../../../contexts/transaction-modal":5331,"../../../ducks/metamask/metamask":5346,"../../../helpers/utils/token-util":5396,"../../../selectors":5987,"../../../store/actions":5998,"../components/advanced-gas-fee-popover":5489,"../components/edit-gas-fee-popover":5563,"../components/edit-gas-popover/edit-gas-popover.component":5569,"../confirm-contract-interaction":5644,"../confirm-transaction-base":5657,"../hooks/useApproveTransaction":5691,"../hooks/useSimulationFailureWarning":5710,"../token-allowance/token-allowance":5723,"./confirm-approve-content":5639,"./confirm-approve.util":5641,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=M;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=P(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=S(e("prop-types")),o=e("react-redux"),s=S(e("../confirm-transaction-base")),i=e("../../../../shared/constants/gas"),c=e("../../../store/actions"),l=e("../../../helpers/utils/token-util"),u=e("../../../../shared/modules/contract-utils"),d=e("../../../contexts/gasFee"),m=e("../../../contexts/transaction-modal"),p=e("../../../ducks/metamask/metamask"),f=S(e("../confirm-contract-interaction")),g=e("../../../selectors"),h=e("../hooks/useApproveTransaction"),v=e("../hooks/useSimulationFailureWarning"),T=S(e("../components/advanced-gas-fee-popover")),y=S(e("../components/edit-gas-fee-popover")),b=S(e("../components/edit-gas-popover/edit-gas-popover.component")),_=S(e("../../../components/ui/loading-screen")),E=e("../../../../shared/modules/transaction.utils"),k=e("../../../../shared/constants/transaction"),x=e("../../../../shared/lib/transactions-controller-utils"),w=S(e("../token-allowance/token-allowance")),C=e("./confirm-approve.util"),A=S(e("./confirm-approve-content"));function S(e){return e&&e.__esModule?e:{default:e}}function P(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(P=function(e){return e?n:t})(e)}const N=e=>t=>(0,p.isAddressLedger)(t,e);function M({assetStandard:e,assetName:t,userBalance:n,tokenSymbol:r,decimals:S,tokenImage:P,tokenAmount:M,tokenId:O,userAddress:R,toAddress:I,tokenAddress:D,transaction:F,ethTransactionTotal:j,fiatTransactionTotal:L,hexTransactionTotal:B,hexMinimumTransactionFee:G,isSetApproveForAll:$}){const W=(0,o.useDispatch)(),{txParams:{data:U}={}}=F,H=(0,o.useSelector)(g.getCurrentCurrency),q=(0,o.useSelector)(p.getNativeCurrency),V=(0,o.useSelector)(g.getSubjectMetadata),z=(0,o.useSelector)(g.getUseNonceField),Y=(0,o.useSelector)(g.getNextSuggestedNonce),K=(0,o.useSelector)(g.getCustomNonceValue),X=(0,o.useSelector)(g.getCurrentChainId),J=(0,o.useSelector)(g.getRpcPrefsForCurrentProvider),Q=(0,o.useSelector)(g.checkNetworkAndAccountSupports1559),Z=(0,o.useSelector)(N(R)),ee=(0,o.useSelector)(g.getUseCurrencyRateCheck),{useNativeCurrencyAsPrimaryCurrency:te}=(0,o.useSelector)(g.getPreferences),[ne,ae]=(0,a.useState)(""),[re,oe]=(0,a.useState)(""),[se,ie]=(0,a.useState)(!1),[ce,le]=(0,a.useState)(!1),ue=Q,de=(0,a.useRef)(M),{approveTransaction:me,showCustomizeGasPopover:pe,closeCustomizeGasPopover:fe}=(0,h.useApproveTransaction)(),ge=(0,v.useSimulationFailureWarning)(ce);(0,a.useEffect)((()=>{ne&&de.current!==M&&ae(M),de.current=M}),[ne,M]);const he=(0,a.useRef)(Y),ve=(0,a.useRef)(K);(0,a.useEffect)((()=>{he.current===Y&&ve.current===K||oe(null!==Y&&K>Y?`Nonce is higher than suggested nonce of ${Y}`:""),ve.current=K,he.current=Y}),[K,Y]);const Te=(0,a.useCallback)((async()=>{const{isContractAddress:e}=await(0,u.readAddressAsContract)(global.eth,I);ie(e)}),[ie,I]);(0,a.useEffect)((()=>{Te()}),[Te]);const{origin:ye,layer1GasFee:be}=F,_e=ye||"",{iconUrl:Ee=""}=V[ye]||{};let ke;e!==k.TokenStandard.ERC721&&e!==k.TokenStandard.ERC1155||(ke=t);const xe=n?(0,x.calcTokenAmount)(n,S).toString(10):"",we=ne?(0,C.getCustomTxParamsData)(U,{customPermissionAmount:ne,decimals:S}):null,Ce=(0,E.parseStandardTokenTransactionData)(U),Ae=(0,l.getTokenApprovedParam)(Ce);if(r===undefined&&t===undefined)return a.default.createElement(_.default,null);if(e===undefined)return a.default.createElement(f.default,null);return e!==k.TokenStandard.ERC20||$?a.default.createElement(d.GasFeeContextProvider,{transaction:F},a.default.createElement(s.default,{toAddress:I,identiconAddress:I,showAccountInHeader:!0,title:ke,tokenAddress:D,customTokenAmount:String(ne),dappProposedTokenAmount:M,currentTokenBalance:xe,isApprovalOrRejection:Ae,contentComponent:a.default.createElement(m.TransactionModalContextProvider,null,a.default.createElement(A.default,{userAddress:R,isSetApproveForAll:$,isApprovalOrRejection:Ae,siteImage:Ee,origin:_e,tokenSymbol:r,tokenImage:P,tokenId:O,assetName:t,assetStandard:e,tokenAddress:D,data:we||U,toAddress:I,currentCurrency:H,nativeCurrency:q,ethTransactionTotal:j,fiatTransactionTotal:L,hexTransactionTotal:B,hexMinimumTransactionFee:G,useNonceField:z,nextNonce:Y,customNonceValue:K,userAcknowledgedGasMissing:ce,setUserAcknowledgedGasMissing:le,renderSimulationFailureWarning:ge,updateCustomNonce:e=>{W((0,c.updateCustomNonce)(e))},getNextNonce:()=>W((0,c.getNextNonce)()),showCustomizeNonceModal:({useNonceField:e,nextNonce:t,customNonceValue:n,updateCustomNonce:a,getNextNonce:r})=>W((0,c.showModal)({name:"CUSTOMIZE_NONCE",useNonceField:e,nextNonce:t,customNonceValue:n,updateCustomNonce:a,getNextNonce:r})),warning:re,txData:F,fromAddressIsLedger:Z,chainId:X,rpcPrefs:J,isContract:se,hasLayer1GasFee:be!==undefined,supportsEIP1559:ue,useCurrencyRateCheck:ee,useNativeCurrencyAsPrimaryCurrency:te}),pe&&!ue&&a.default.createElement(b.default,{onClose:fe,mode:i.EditGasModes.modifyInPlace,transaction:F}),ue&&a.default.createElement(a.default.Fragment,null,a.default.createElement(y.default,null),a.default.createElement(T.default,null))),hideSenderToRecipient:!0,customTxParamsData:we,assetStandard:e,displayAccountBalanceHeader:!0})):a.default.createElement(d.GasFeeContextProvider,{transaction:F},a.default.createElement(m.TransactionModalContextProvider,null,a.default.createElement(w.default,{origin:_e,siteImage:Ee,showCustomizeGasModal:me,useNonceField:z,currentCurrency:H,nativeCurrency:q,ethTransactionTotal:j,fiatTransactionTotal:L,hexTransactionTotal:B,hexMinimumTransactionFee:G,txData:F,supportsEIP1559:ue,userAddress:R,tokenAddress:D,data:U,isSetApproveForAll:$,isApprovalOrRejection:Ae,dappProposedTokenAmount:M,currentTokenBalance:xe,toAddress:I,tokenSymbol:r,decimals:S,fromAddressIsLedger:Z,warning:re}),pe&&!ue&&a.default.createElement(b.default,{onClose:fe,mode:i.EditGasModes.modifyInPlace,transaction:F}),ue&&a.default.createElement(a.default.Fragment,null,a.default.createElement(y.default,null),a.default.createElement(T.default,null))))}M.propTypes={assetStandard:r.default.string,assetName:r.default.string,tokenAddress:r.default.string,userBalance:r.default.string,tokenSymbol:r.default.string,decimals:r.default.string,tokenImage:r.default.string,tokenAmount:r.default.string,tokenId:r.default.string,userAddress:r.default.string,toAddress:r.default.string,transaction:r.default.shape({layer1GasFee:r.default.string,origin:r.default.string,txParams:r.default.shape({data:r.default.string,to:r.default.string,from:r.default.string})}),ethTransactionTotal:r.default.string,fiatTransactionTotal:r.default.string,hexTransactionTotal:r.default.string,hexMinimumTransactionFee:r.default.string,isSetApproveForAll:r.default.bool}}}},{package:"$root$",file:"ui/pages/confirmations/confirm-approve/confirm-approve.js"}],[5641,{"../../../../shared/lib/swaps-utils":4528,"../../../../shared/modules/conversion.utils":4537,"../../../../shared/modules/transaction.utils":4560,"../../../helpers/utils/token-util":5396,"@metamask/transaction-controller":2234},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.getCustomTxParamsData=function(e,{customPermissionAmount:t,decimals:n}){const c=(0,o.parseStandardTokenTransactionData)(e),l=[a.TransactionType.tokenMethodApprove,a.TransactionType.tokenMethodIncreaseAllowance];if(!c)throw new Error("Invalid data");if(!l.includes(c.name))throw new Error(`Invalid data; should be ${l.map((e=>`'${e}'`)).join(" or ")} method, but instead is '${c.name}'`);let u=(0,s.getTokenAddressParam)(c);u.startsWith("0x")&&(u=u.substring(2));const[d,m]=e.split(u);if(!d||!m)throw new Error("Invalid data");if(m.length<64)throw new Error("Invalid calldata value; must be at least 64 hex digits long");const p=m.substring(0,64),f=m.substring(64);let g=(0,i.decimalToHex)((0,r.calcTokenValue)(t,n));if(g.length>64)throw new Error("Custom value is larger than u256");g=g.padStart(p.length,"0");return`${d}${u}${g}${f}`};var a=e("@metamask/transaction-controller"),r=e("../../../../shared/lib/swaps-utils"),o=e("../../../../shared/modules/transaction.utils"),s=e("../../../helpers/utils/token-util"),i=e("../../../../shared/modules/conversion.utils")}}},{package:"$root$",file:"ui/pages/confirmations/confirm-approve/confirm-approve.util.js"}],[5642,{"./confirm-approve":5640},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./confirm-approve"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/confirm-approve/index.js"}],[5643,{"../../../../shared/constants/transaction":4520,"../../../ducks/confirm-transaction/confirm-transaction.duck":5338,"../../../ducks/send":5348,"../../../helpers/constants/routes":5361,"../confirm-transaction-base":5657,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(){const e=(0,r.useDispatch)(),t=(0,o.useHistory)(),n=n=>{(async({txData:t})=>{const{id:n}=t;await e((0,c.editExistingTransaction)(u.AssetType.native,n.toString())),e((0,l.clearConfirmTransaction)())})(n).then((()=>{t.push(i.SEND_ROUTE)}))};return a.default.createElement(s.default,{actionKey:"confirm",onEdit:e=>n(e)})};var a=d(e("react")),r=e("react-redux"),o=e("react-router-dom"),s=d(e("../confirm-transaction-base")),i=e("../../../helpers/constants/routes"),c=e("../../../ducks/send"),l=e("../../../ducks/confirm-transaction/confirm-transaction.duck"),u=e("../../../../shared/constants/transaction");function d(e){return e&&e.__esModule?e:{default:e}}}}},{package:"$root$",file:"ui/pages/confirmations/confirm-contract-interaction/confirm-contract-interaction.js"}],[5644,{"./confirm-contract-interaction":5643},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./confirm-contract-interaction"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/confirm-contract-interaction/index.js"}],[5645,{"../../../../shared/modules/buffer-utils":4535,"../../../components/component-library":4955,"../../../components/ui/box":5194,"../../../helpers/constants/design-system":5355,"../confirm-transaction-base":5657,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=d(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=u(e("prop-types")),o=u(e("../confirm-transaction-base")),s=e("../../../../shared/modules/buffer-utils"),i=u(e("../../../components/ui/box")),c=e("../../../components/component-library"),l=e("../../../helpers/constants/design-system");function u(e){return e&&e.__esModule?e:{default:e}}function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(d=function(e){return e?n:t})(e)}function m(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class p extends a.Component{renderData(){const{t:e}=this.context,{txData:{origin:t,txParams:{data:n}={}}={}}=this.props;return a.default.createElement(i.default,{color:l.Color.textAlternative,padding:4},a.default.createElement(i.default,{backgroundColor:l.Color.backgroundAlternative,padding:4,variant:l.TextVariant.bodySm},a.default.createElement(i.default,{display:l.DISPLAY.FLEX},a.default.createElement(c.Text,{backgroundColor:l.Color.backgroundAlternative,marginBottom:1,paddingRight:4,variant:l.TextVariant.bodySmBold},`${e("origin")}:`),a.default.createElement(c.Text,{overflowWrap:l.OVERFLOW_WRAP.BREAK_WORD,variant:l.TextVariant.bodySm},t)),a.default.createElement(i.default,{display:l.DISPLAY.FLEX},a.default.createElement(c.Text,{backgroundColor:l.Color.backgroundAlternative,paddingRight:4,variant:l.TextVariant.bodySmBold},`${e("bytes")}:`),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm},(0,s.toBuffer)(n).length))),a.default.createElement(c.Text,{as:"h3",paddingBottom:3,paddingTop:2,textTransform:l.TEXT_TRANSFORM.UPPERCASE,variant:l.TextVariant.bodySm},`${e("hexData")}:`),a.default.createElement(c.Text,{backgroundColor:l.Color.backgroundAlternative,overflowWrap:l.OVERFLOW_WRAP.BREAK_WORD,padding:4,variant:l.TextVariant.bodySm},n))}render(){return a.default.createElement(o.default,{actionKey:"contractDeployment",dataHexComponent:this.renderData()})}}n.default=p,m(p,"contextTypes",{t:r.default.func}),m(p,"propTypes",{txData:r.default.object})}}},{package:"$root$",file:"ui/pages/confirmations/confirm-deploy-contract/confirm-deploy-contract.component.js"}],[5646,{"./confirm-deploy-contract.component":5645,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=e("react-redux"),o=(a=e("./confirm-deploy-contract.component"))&&a.__esModule?a:{default:a};n.default=(0,r.connect)((e=>{const{confirmTransaction:{txData:t}={}}=e;return{txData:t}}))(o.default)}}},{package:"$root$",file:"ui/pages/confirmations/confirm-deploy-contract/confirm-deploy-contract.container.js"}],[5647,{"./confirm-deploy-contract.container":5646},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./confirm-deploy-contract.container"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/confirm-deploy-contract/index.js"}],[5648,{"../../../../shared/constants/transaction":4520,"../../../ducks/confirm-transaction/confirm-transaction.duck":5338,"../../../ducks/send":5348,"../../../helpers/constants/routes":5361,"../confirm-transaction-base":5657,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=d(e("react")),r=e("react-redux"),o=e("react-router-dom"),s=e("../../../../shared/constants/transaction"),i=e("../../../ducks/confirm-transaction/confirm-transaction.duck"),c=e("../../../ducks/send"),l=e("../../../helpers/constants/routes"),u=d(e("../confirm-transaction-base"));function d(e){return e&&e.__esModule?e:{default:e}}n.default=()=>{const e=(0,r.useDispatch)(),t=(0,o.useHistory)(),n=({txData:n})=>{(async t=>{const{id:n}=t;await e((0,c.editExistingTransaction)(s.AssetType.native,n.toString())),e((0,i.clearConfirmTransaction)())})(n).then((()=>{t.push(l.SEND_ROUTE)}))};return a.default.createElement(u.default,{actionKey:"confirm",onEdit:e=>n(e)})}}}},{package:"$root$",file:"ui/pages/confirmations/confirm-send-ether/confirm-send-ether.js"}],[5649,{"./confirm-send-ether":5648},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./confirm-send-ether"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/confirm-send-ether/index.js"}],[5650,{"../../../../shared/constants/transaction":4520,"../../../ducks/confirm-transaction/confirm-transaction.duck":5338,"../../../ducks/metamask/metamask":5346,"../../../ducks/send":5348,"../../../helpers/constants/routes":5361,"../../../selectors":5987,"../../../store/actions":5998,"../confirm-token-transaction-base/confirm-token-transaction-base":5653,"prop-types":3997,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=h;var a=g(e("react")),r=g(e("prop-types")),o=e("react-redux"),s=e("react-router-dom"),i=g(e("../confirm-token-transaction-base/confirm-token-transaction-base")),c=e("../../../helpers/constants/routes"),l=e("../../../ducks/send"),u=e("../../../selectors"),d=e("../../../ducks/metamask/metamask"),m=e("../../../ducks/confirm-transaction/confirm-transaction.duck"),p=e("../../../store/actions"),f=e("../../../../shared/constants/transaction");function g(e){return e&&e.__esModule?e:{default:e}}function h({assetStandard:e,toAddress:t,tokenAddress:n,assetName:r,tokenSymbol:g,tokenAmount:h,tokenId:v,transaction:T,image:y,ethTransactionTotal:b,fiatTransactionTotal:_,hexMaximumTransactionFee:E}){const k=(0,o.useDispatch)(),x=(0,s.useHistory)(),w=(0,o.useSelector)(d.getConversionRate),C=(0,o.useSelector)(d.getNativeCurrency),A=(0,o.useSelector)(u.getCurrentCurrency),S=(0,o.useSelector)(u.contractExchangeRateSelector);let P,N;return e===f.TokenStandard.ERC721?(P=r,N=`#${v}`):e===f.TokenStandard.ERC20&&(P=`${h} ${g}`),a.default.createElement(i.default,{onEdit:e=>{(async({txData:e})=>{const{id:t}=e;await k((0,l.editExistingTransaction)(f.AssetType.token,t.toString())),k((0,m.clearConfirmTransaction)()),k((0,p.showSendTokenPage)())})(e).then((()=>{x.push(c.SEND_ROUTE)}))},conversionRate:w,currentCurrency:A,nativeCurrency:C,contractExchangeRate:S,title:P,subtitle:N,assetStandard:e,assetName:r,tokenSymbol:g,tokenAmount:h,tokenId:v,transaction:T,image:y,toAddress:t,tokenAddress:n,ethTransactionTotal:b,fiatTransactionTotal:_,hexMaximumTransactionFee:E})}h.propTypes={tokenAmount:r.default.string,assetStandard:r.default.string,assetName:r.default.string,tokenSymbol:r.default.string,image:r.default.string,tokenId:r.default.string,toAddress:r.default.string,tokenAddress:r.default.string,transaction:r.default.shape({origin:r.default.string,txParams:r.default.shape({data:r.default.string,to:r.default.string,from:r.default.string})}),ethTransactionTotal:r.default.string,fiatTransactionTotal:r.default.string,hexMaximumTransactionFee:r.default.string}}}},{package:"$root$",file:"ui/pages/confirmations/confirm-send-token/confirm-send-token.js"}],[5651,{"./confirm-send-token":5650},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./confirm-send-token"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/confirm-send-token/index.js"}],[5652,{"../../../../shared/constants/app":4493,"../../../components/ui/loading-screen":5256,"../../../ducks/send":5348,"../../../helpers/utils/tx-helper":5398,"../../../hooks/snaps/useSignatureInsights":5411,"../../../selectors":5987,"../../../store/actions":5998,"../components/signature-request":5602,"../components/signature-request-original":5589,"../components/signature-request-siwe":5594,"../hooks/useRouting":5709,"@metamask/permission-controller":1624,"@metamask/transaction-controller":2234,lodash:3836,loglevel:3842,"prop-types":3997,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=x(e("prop-types")),r=k(e("react")),o=e("react-redux"),s=e("react-router-dom"),i=x(e("loglevel")),c=e("lodash"),l=e("@metamask/permission-controller"),u=e("@metamask/transaction-controller"),d=k(e("../../../store/actions")),m=x(e("../../../helpers/utils/tx-helper")),p=x(e("../components/signature-request")),f=x(e("../components/signature-request-siwe")),g=x(e("../components/signature-request-original")),h=x(e("../../../components/ui/loading-screen")),v=e("../hooks/useRouting"),T=e("../../../selectors"),y=e("../../../hooks/snaps/useSignatureInsights"),b=e("../../../../shared/constants/app"),_=e("../../../ducks/send");function E(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(E=function(e){return e?n:t})(e)}function k(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=E(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}function x(e){return e&&e.__esModule?e:{default:e}}const w=({match:e})=>{var t;const n=(0,o.useDispatch)(),{navigateToMostRecentOverviewPage:a}=(0,v.useRouting)(),E=(0,o.useSelector)(T.getTotalUnapprovedSignatureRequestCount),k=(0,o.useSelector)(_.getSendTo),x=(0,o.useSelector)(T.getInternalAccounts),{currentCurrency:w,blockGasLimit:C,signatureSecurityAlertResponses:A}=(0,o.useSelector)((e=>e.metamask)),S=(0,o.useSelector)(T.getMemoizedUnapprovedMessages),P=(0,o.useSelector)(T.getMemoizedUnapprovedPersonalMessages),N=(0,o.useSelector)(T.getMemoizedUnapprovedTypedMessages),M=(0,o.useSelector)(T.getUnapprovedTransactions),O=(0,o.useSelector)(T.getCurrentNetworkTransactions),R=(0,o.useSelector)(T.getMemoizedCurrentChainId),I=(0,o.useSelector)(T.getMemoizedTxId),[D,F]=(0,r.useState)(),j=(0,s.useHistory)();(0,r.useEffect)((()=>{0!==(0,m.default)(M||{},{},{},{},{},{},R).length||k||0!==E||a()}),[R,a,k,E,M]),(0,r.useEffect)((()=>{if(!D)return void F({index:I,unapprovedTxs:M});let t;const{params:{id:r}={}}=e;if(r)t=O.find((({id:e})=>`${e}`===r));else{const{index:e,unapprovedTxs:n}=D,a=(0,m.default)(n,{},{},{},{},{},R)[e]||{};t=O.find((({id:e})=>e===a.id))||{}}const o=(0,m.default)(M||{},{},{},{},{},{},R);t&&t.status===u.TransactionStatus.dropped?n(d.showModal({name:"TRANSACTION_CONFIRMED",onSubmit:()=>a()})):(0!==o.length||k||0!==E||a(),F({index:I,unapprovedTxs:M}))}),[]);const{params:{id:L}={}}=e,B=(0,r.useMemo)((()=>{const e=(0,m.default)(M||{},S,P,{},{},N,R);i.default.info(`rendering a combined ${e.length} unconf msgs & txs`);const t=L?e.find((({id:e})=>`${e}`===L)):e[I];return t?(0,c.cloneDeep)(t):{}}),[R,I,L,S,P,M,N]),{warnings:G}=(0,y.useSignatureInsights)({txData:B}),$=null==A?void 0:A[null===(t=B.securityAlertResponse)||void 0===t?void 0:t.securityAlertId];$&&(B.securityAlertResponse=$);const W=(0,o.useSelector)((e=>{var t;return(0,T.getTargetSubjectMetadata)(e,null===(t=B.msgParams)||void 0===t?void 0:t.origin)}));if(!B.msgParams)return r.default.createElement(h.default,null);const U=((e,t)=>{const{type:n,msgParams:{version:a,siwe:r}}=e;return n!==b.MESSAGE_TYPE.ETH_SIGN_TYPED_DATA||"V3"!==a&&"V4"!==a?null!=r&&r.isSIWEMessage&&t!==l.SubjectType.Snap?f.default:g.default:p.default})(B,W);return r.default.createElement(U,{history:j,txData:B,key:B.id,accounts:x,currentCurrency:w,blockGasLimit:C,warnings:G})};w.propTypes={match:a.default.shape({params:a.default.shape({id:a.default.string})})};n.default=(0,s.withRouter)(w)}}},{package:"$root$",file:"ui/pages/confirmations/confirm-signature-request/index.js"}],[5653,{"../../../../shared/constants/common":4495,"../../../../shared/constants/network":4507,"../../../../shared/constants/transaction":4520,"../../../../shared/modules/conversion.utils":4537,"../../../components/app/user-preferenced-currency-display":4880,"../../../constants":5321,"../../../contexts/i18n":5324,"../../../ducks/metamask/metamask":5346,"../../../helpers/constants/common":5353,"../../../helpers/utils/confirm-tx.util":5381,"../../../selectors":5987,"../confirm-transaction-base":5657,"@metamask/etherscan-link":1369,"bignumber.js":2933,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=E;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=_(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=b(e("prop-types")),o=b(e("bignumber.js")),s=e("react-redux"),i=e("@metamask/etherscan-link"),c=e("../../../contexts/i18n"),l=b(e("../confirm-transaction-base")),u=b(e("../../../components/app/user-preferenced-currency-display")),d=e("../../../helpers/utils/confirm-tx.util"),m=e("../../../helpers/constants/common"),p=e("../../../selectors"),f=e("../../../ducks/metamask/metamask"),g=e("../../../../shared/constants/transaction"),h=e("../../../../shared/modules/conversion.utils"),v=e("../../../../shared/constants/common"),T=e("../../../../shared/constants/network"),y=e("../../../constants");function b(e){return e&&e.__esModule?e:{default:e}}function _(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(_=function(e){return e?n:t})(e)}function E({image:e="",assetName:t,toAddress:n,tokenAddress:r,tokenAmount:b="0",tokenSymbol:_,tokenId:E,assetStandard:k,onEdit:x,ethTransactionTotal:w,fiatTransactionTotal:C,hexMaximumTransactionFee:A}){const S=(0,a.useContext)(c.I18nContext),P=(0,s.useSelector)(p.contractExchangeRateSelector),N=(0,s.useSelector)(f.getNativeCurrency),M=(0,s.useSelector)(p.getCurrentCurrency),O=(0,s.useSelector)(f.getConversionRate),R=(0,s.useSelector)(p.getRpcPrefsForCurrentProvider),I=(0,s.useSelector)(p.getCurrentChainId),{address:D}=(0,s.useSelector)(p.getSelectedInternalAccount),F=(0,s.useSelector)(f.getNftContracts),j=Number((0,h.hexWEIToDecETH)(A)).toFixed(y.ETH_DEFAULT_DECIMALS),L=e=>{const t=(null==R?void 0:R.blockExplorerUrl)||[...T.TEST_CHAINS,T.CHAIN_IDS.MAINNET,T.CHAIN_IDS.LINEA_MAINNET].includes(I),n=F.find((e=>e.address.toLowerCase()===r.toLowerCase())),o=_||(null==n?void 0:n.name)||S("unknownCollection");if("text"===e)return o;if(t){const e=(0,i.getTokenTrackerLink)(r,I,null,D,{blockExplorerUrl:(null==R?void 0:R.blockExplorerUrl)??null});return a.default.createElement(a.default.Fragment,null,a.default.createElement("a",{href:e,target:"_blank",rel:"noopener noreferrer",title:r,className:"confirm-approve-content__approval-asset-link"},o))}return a.default.createElement(a.default.Fragment,null,a.default.createElement("span",{className:"confirm-approve-content__approval-asset-title",title:r},o))},B=e;let G,$,W;k===g.TokenStandard.ERC721||k===g.TokenStandard.ERC1155?(G=t||L(),$=`#${E}`,W=t||`${L("text")} #${E}`):k===g.TokenStandard.ERC20&&(G=`${b} ${_}`,W=`${b} ${_}`);const U=(0,a.useMemo)((()=>{if("0"===b||!P)return"0";const e=new o.default(b).times(new o.default(P?String(P):0)).toFixed();return(0,h.getWeiHexFromDecimalValue)({value:e,fromCurrency:v.EtherDenomination.ETH,fromDenomination:v.EtherDenomination.ETH})}),[b,P]),H=(0,a.useMemo)((()=>{if(void 0===P)return(0,d.formatCurrency)(C,M);const e=(0,d.convertTokenToFiat)({value:b,toCurrency:M,conversionRate:O,contractExchangeRate:P}),t=(0,d.addFiat)(e,C),n=(0,d.roundExponential)(t);return(0,d.formatCurrency)(n,M)}),[M,O,P,C,b]);return a.default.createElement(l.default,{assetStandard:k,toAddress:n,image:B,onEdit:x,tokenAddress:r,title:G,subtitleComponent:P===undefined&&$===undefined?a.default.createElement("span",null,S("noConversionRateAvailable")):$?a.default.createElement("span",null,$):a.default.createElement(u.default,{value:U,type:m.PRIMARY,showEthLogo:!0,hideLabel:!0}),primaryTotalTextOverride:`${W} + ${w} ${N}`,primaryTotalTextOverrideMaxAmount:`${W} + ${j} ${N}`,secondaryTotalTextOverride:H,tokenSymbol:_})}E.propTypes={image:r.default.string,assetName:r.default.string,toAddress:r.default.string,tokenAddress:r.default.string,tokenAmount:r.default.string,tokenSymbol:r.default.string,tokenId:r.default.string,assetStandard:r.default.string,onEdit:r.default.func,ethTransactionTotal:r.default.string,fiatTransactionTotal:r.default.string,hexMaximumTransactionFee:r.default.string}}}},{package:"$root$",file:"ui/pages/confirmations/confirm-token-transaction-base/confirm-token-transaction-base.js"}],[5654,{"./confirm-token-transaction-base":5653},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./confirm-token-transaction-base"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/confirm-token-transaction-base/index.js"}],[5655,{"../../../../shared/constants/keyring":4502,"../../../../shared/constants/metametrics":4505,"../../../../shared/constants/network":4507,"../../../../shared/modules/conversion.utils":4537,"../../../../shared/modules/updateTxData":4561,"../../../components/app/user-preferenced-currency-display":4880,"../../../components/component-library":4955,"../../../components/ui/loading-heartbeat":5253,"../../../components/ui/text-field":5302,"../../../contexts/transaction-modal":5331,"../../../helpers/constants/common":5353,"../../../helpers/constants/design-system":5355,"../../../helpers/constants/error-keys":5356,"../../../helpers/constants/routes":5361,"../../../helpers/utils/hardware":5385,"../../../helpers/utils/metrics":5389,"../../../helpers/utils/transactions.util":5397,"../../../store/actions":5998,"../../snap-account-transaction-loading-screen/snap-account-transaction-loading-screen":5894,"../../swaps/swaps.util":5967,"../components/blockaid-unavailable-banner-alert/blockaid-unavailable-banner-alert":5491,"../components/confirm-gas-display":5495,"../components/confirm-hexdata":5497,"../components/confirm-page-container":5511,"../components/confirm-subtitle":5513,"../components/confirm-title":5515,"../components/fee-details-component/fee-details-component":5571,"../components/ledger-instruction-field":5575,"../components/simulation-details":5616,"../components/transaction-alerts":5629,"../components/transaction-detail-item/transaction-detail-item.component":5636,"../components/transaction-detail/transaction-detail.component":5637,"../send/send.constants":5721,"../send/send.utils":5722,"@metamask/transaction-controller":2234,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=$(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=G(e("prop-types")),o=e("@metamask/transaction-controller"),s=G(e("../components/confirm-page-container")),i=e("../send/send.utils"),c=e("../../../helpers/constants/routes"),l=e("../../../helpers/constants/design-system"),u=e("../../../helpers/constants/error-keys"),d=G(e("../../../components/app/user-preferenced-currency-display")),m=e("../../../helpers/constants/common"),p=G(e("../../../components/ui/text-field")),f=e("../../../../shared/constants/metametrics"),g=e("../../../helpers/utils/metrics"),h=e("../../../helpers/utils/transactions.util"),v=e("../../../contexts/transaction-modal"),T=G(e("../components/transaction-detail/transaction-detail.component")),y=G(e("../components/transaction-detail-item/transaction-detail-item.component")),b=e("../../../components/component-library"),_=G(e("../../../components/ui/loading-heartbeat")),E=G(e("../components/ledger-instruction-field")),k=e("../../../store/actions"),x=e("../send/send.constants"),w=e("../../../../shared/constants/network"),C=e("../../../../shared/modules/conversion.utils"),A=G(e("../components/transaction-alerts")),S=e("../components/confirm-hexdata"),P=e("../components/confirm-title"),N=e("../components/confirm-subtitle"),M=e("../components/confirm-gas-display"),O=G(e("../../../../shared/modules/updateTxData")),R=e("../../../../shared/constants/keyring"),I=G(e("../../snap-account-transaction-loading-screen/snap-account-transaction-loading-screen")),D=e("../../../helpers/utils/hardware"),F=G(e("../components/fee-details-component/fee-details-component")),j=e("../components/simulation-details"),L=e("../../swaps/swaps.util"),B=e("../components/blockaid-unavailable-banner-alert/blockaid-unavailable-banner-alert");function G(e){return e&&e.__esModule?e:{default:e}}function $(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return($=function(e){return e?n:t})(e)}function W(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class U extends a.Component{constructor(...e){super(...e),W(this,"state",{submitting:!1,submitError:null,submitWarning:"",ethGasPriceWarning:"",editingGas:!1,userAcknowledgedGasMissing:!1,showWarningModal:!1}),W(this,"_beforeUnloadForGasPolling",(()=>{this._isMounted=!1,this.state.pollingToken&&((0,k.gasFeeStopPollingByPollingToken)(this.state.pollingToken),(0,k.removePollingTokenFromAppState)(this.state.pollingToken))})),W(this,"_removeBeforeUnload",(()=>{window.removeEventListener("beforeunload",this._beforeUnloadForGasPolling)})),W(this,"supportsEIP1559",this.props.supportsEIP1559&&!(0,h.isLegacyTransaction)(this.props.txData))}componentDidUpdate(e){const{transactionStatus:t,showTransactionConfirmedModal:n,history:a,clearConfirmTransaction:r,nextNonce:s,customNonceValue:i,toAddress:l,tryReverseResolveAddress:d,isEthGasPriceFetched:m,setDefaultHomeActiveTabName:p,hexMaximumTransactionFee:f,useMaxValue:g,hasPriorityApprovalRequest:h,mostRecentOverviewPage:v}=this.props,{customNonceValue:T,nextNonce:y,toAddress:b,transactionStatus:_,isEthGasPriceFetched:E,hexMaximumTransactionFee:k,hasPriorityApprovalRequest:x}=e,w=t!==_,C=t===o.TransactionStatus.dropped||t===o.TransactionStatus.confirmed;s===y&&i===T||(null!==s&&i>s?this.setState({submitWarning:this.context.t("nextNonceWarning",[s])}):this.setState({submitWarning:""})),w&&C&&n({onSubmit:()=>{r(),p("activity").then((()=>{a.push(c.DEFAULT_ROUTE)}))}}),l&&l!==b&&d(l),m!==E&&(m?this.setState({ethGasPriceWarning:this.context.t(u.ETH_GAS_PRICE_FETCH_WARNING_KEY)}):this.setState({ethGasPriceWarning:""})),f!==k&&g&&this.updateValueToMax(),h&&!x&&a.push(v)}getErrorKey(){const{balance:e,conversionRate:t,hexMaximumTransactionFee:n,txData:{txParams:{value:a}={}}={},customGas:r,noGasPrice:o,gasFeeIsCustom:s,isSigningOrSubmitting:c,isUserOpContractDeployError:l}=this.props;if(l)return{valid:!1,errorKey:u.USER_OP_CONTRACT_DEPLOY_ERROR_KEY};return e&&!(0,i.isBalanceSufficient)({amount:a,gasTotal:n||"0x0",balance:e,conversionRate:t})?{valid:!1,errorKey:u.INSUFFICIENT_FUNDS_ERROR_KEY}:(0,C.hexToDecimal)(r.gasLimit)!L&&!G,W=Boolean(h.simulationFails)&&!L,U=w.NETWORK_TO_NAME_MAP[h.chainId],H=e=>(0,C.sumHexes)(h.txParams.value,e?o:s,h.layer1GasFee??0),q=({useMaxFee:e,isBoldTextAndNotOverridden:t=!1}={})=>{if(k===undefined&&r===undefined)return a.default.createElement(d.default,{type:m.PRIMARY,key:"total-max-amount",value:H(e),hideLabel:!v});const o=v?e?k:n:r;return t?a.default.createElement(b.Text,{variant:l.TextVariant.bodyMdBold},o):o},V=i&&!I?a.default.createElement("div",null,a.default.createElement("div",{className:"confirm-detail-row"},a.default.createElement("div",{className:"confirm-detail-row__label"},D("nonceFieldHeading")),a.default.createElement("div",{className:"custom-nonce-input"},a.default.createElement(p.default,{type:"number",min:0,placeholder:"number"==typeof f?f.toString():null,onChange:({target:{value:e}})=>{!e.length||Number(e)<0?u(""):u(String(Math.floor(e))),g()},fullWidth:!0,margin:"dense",value:c||""})))):null,{simulationData:z}=h,Y=a.default.createElement(j.SimulationDetails,{simulationData:z,transactionId:h.id,enableMetrics:!0}),K=Boolean(null==z?void 0:z.error);return a.default.createElement("div",{className:"confirm-page-container-content__details"},a.default.createElement(B.BlockaidUnavailableBannerAlert,null),a.default.createElement(A.default,{txData:h,setUserAcknowledgedGasMissing:()=>this.setUserAcknowledgedGasMissing(),userAcknowledgedGasMissing:L,nativeCurrency:S,networkName:U,type:h.type,isBuyableChain:P,tokenSymbol:O,isUsingPaymaster:R}),Y,!W&&a.default.createElement(T.default,{disableEditGasFeeButton:!0,disabled:$(),userAcknowledgedGasMissing:L,onEdit:()=>this.handleEditGas(),rows:[a.default.createElement("div",{key:"confirm-transaction-base_confirm-gas-display"},a.default.createElement(M.ConfirmGasDisplay,{userAcknowledgedGasMissing:L}),a.default.createElement(F.default,{useCurrencyRateCheck:N,txData:h}))]}),K&&a.default.createElement(T.default,{disableEditGasFeeButton:!0,disabled:$(),userAcknowledgedGasMissing:L,rows:[a.default.createElement(y.default,{key:"confirm-transaction-base-total-item",detailTitle:D("total"),detailText:N&&(e=>{var t;return n===undefined&&r===undefined||"0x0"===e?a.default.createElement("div",{className:"confirm-page-container-content__total-value"},a.default.createElement(_.default,{estimateUsed:null===(t=this.props.txData)||void 0===t?void 0:t.userFeeLevel}),a.default.createElement(d.default,{type:m.SECONDARY,key:"total-detail-text",value:e,suffixProps:{color:l.TextColor.textDefault,variant:l.TextVariant.bodyMdBold},textProps:{color:l.TextColor.textDefault,variant:l.TextVariant.bodyMdBold},hideLabel:Boolean(v)})):v?r:n})(H()),detailTotal:q({useMaxFee:!1,isBoldTextAndNotOverridden:!0}),subTitle:D("transactionDetailGasTotalSubtitle"),subText:a.default.createElement("div",{className:"confirm-page-container-content__total-amount"},a.default.createElement(_.default,{estimateUsed:null===(e=this.props.txData)||void 0===e?void 0:e.userFeeLevel}),a.default.createElement(b.Text,{color:l.TextColor.textAlternative,variant:l.TextVariant.bodySmMedium},D("editGasSubTextAmountLabel"))," ",q({useMaxFee:!0}))})]}),V,x?a.default.createElement(E.default,{showDataInstruction:Boolean(null===(t=h.txParams)||void 0===t?void 0:t.data)}):null)}renderDataHex(){const{txData:e,dataHexComponent:t}=this.props,{txParams:{data:n}}=e;return n?a.default.createElement(S.ConfirmHexData,{txData:e,dataHexComponent:t}):null}handleEdit(){const{txData:e,tokenData:t,tokenProps:n,onEdit:a,actionKey:r,txData:{origin:s},methodData:i={}}=this.props;this.context.trackEvent({category:f.MetaMetricsEventCategory.Transactions,event:"Edit Transaction",properties:{action:"Confirm Screen",legacy_event:!0,recipientKnown:null,functionType:r||(0,g.getMethodName)(i.name)||o.TransactionType.contractInteraction,origin:s}}),a({txData:e,tokenData:t,tokenProps:n})}handleCancelAll(){const{cancelAllTransactions:e,clearConfirmTransaction:t,history:n,mostRecentOverviewPage:a,showRejectTransactionsConfirmationModal:r,unapprovedTxCount:o}=this.props;r({unapprovedTxCount:o,onSubmit:async()=>{this._removeBeforeUnload(),await e(),t(),n.push(a)}})}async handleCancel(){const{txData:e,cancelTransaction:t,history:n,mostRecentOverviewPage:a,updateCustomNonce:r}=this.props;this._removeBeforeUnload(),r(""),await t(e),n.push(a)}handleSubmit(){const{submitting:e}=this.state;e||(this.props.isMainBetaFlask?this.handleMainSubmit():this.handleMMISubmit())}handleMainSubmit(){const{sendTransaction:e,txData:t,history:n,mostRecentOverviewPage:r,updateCustomNonce:o,methodData:s,maxFeePerGas:i,customTokenAmount:c,dappProposedTokenAmount:l,currentTokenBalance:u,maxPriorityFeePerGas:d,baseFeePerGas:m,addToAddressBookIfNew:p,toAccounts:f,toAddress:g,keyringForAccount:h,fromInternalAccount:v}=this.props;let T;if((null==h?void 0:h.type)===R.KeyringType.snap)T=a.default.createElement(I.default,{internalAccount:v});else T=(0,D.isHardwareKeyring)(null==h?void 0:h.type)?this.context.t("loadingScreenHardwareWalletMessage"):null;(0,O.default)({txData:t,maxFeePerGas:i,customTokenAmount:c,dappProposedTokenAmount:l,currentTokenBalance:u,maxPriorityFeePerGas:d,baseFeePerGas:m,addToAddressBookIfNew:p,toAccounts:f,toAddress:g,name:s.name}),this.setState({submitting:!0,submitError:null},(()=>{this._removeBeforeUnload(),e(t,!1,T).then((()=>{this._isMounted&&this.setState({submitting:!1},(()=>{n.push(r),o("")}))})).catch((e=>{this._isMounted&&(this.setState({submitting:!1,submitError:e.message}),o(""))}))}))}async handleMMISubmit(){const{sendTransaction:e,updateTransaction:t,txData:n,history:a,mostRecentOverviewPage:r,updateCustomNonce:o,unapprovedTxCount:s,accountType:i,isNotification:c,setWaitForConfirmDeepLinkDialog:l,showTransactionsFailedModal:u,fromAddress:d,isNoteToTraderSupported:m,custodianPublishesTransaction:p,rpcUrl:f,methodData:g,maxFeePerGas:h,customTokenAmount:v,dappProposedTokenAmount:T,currentTokenBalance:y,maxPriorityFeePerGas:b,baseFeePerGas:_,addToAddressBookIfNew:E,toAccounts:k,toAddress:x,showCustodianDeepLink:w,clearConfirmTransaction:C}=this.props,{noteText:A}=this.state;"custody"===i&&(n.custodyStatus="created",n.metadata=n.metadata||{},m&&(n.metadata.note=A),n.metadata.custodianPublishesTransaction=p,n.metadata.rpcUrl=f,await t(n)),(0,O.default)({txData:n,maxFeePerGas:h,customTokenAmount:v,dappProposedTokenAmount:T,currentTokenBalance:y,maxPriorityFeePerGas:b,baseFeePerGas:_,addToAddressBookIfNew:E,toAccounts:k,toAddress:x,name:g.name}),this.setState({submitting:!0,submitError:null},(()=>{this._removeBeforeUnload(),n.custodyStatus&&l(!0),e(n).then((()=>{if(n.custodyStatus)w({fromAddress:d,closeNotification:c&&1===s,txId:n.id,onDeepLinkFetched:()=>{this.context.trackEvent({category:"MMI",event:"Show deeplink for transaction"})},onDeepLinkShown:()=>{C(),this._isMounted&&this.setState({submitting:!1},(()=>{a.push(r),o("")}))}});else{if(!this._isMounted)return;this.setState({submitting:!1},(()=>{a.push(r),o("")}))}})).catch((e=>{this._isMounted&&(u(e.message,c),this.setState({submitting:!1,submitError:e.message}),l(!0),o(""))}))}))}handleSetApprovalForAll(){this.setState({showWarningModal:!0})}renderTitleComponent(){const{title:e,hexTransactionAmount:t,txData:n}=this.props;return a.default.createElement(P.ConfirmTitle,{title:e,hexTransactionAmount:t,txData:n})}renderSubtitleComponent(){const{assetStandard:e,subtitleComponent:t,hexTransactionAmount:n,txData:r}=this.props;return a.default.createElement(N.ConfirmSubTitle,{hexTransactionAmount:n,subtitleComponent:t,txData:r,assetStandard:e})}componentDidMount(){this._isMounted=!0;const{toAddress:e,txData:{origin:t,chainId:n}={},getNextNonce:a,tryReverseResolveAddress:r,smartTransactionsOptInStatus:o,currentChainSupportsSmartTransactions:s,setSwapsFeatureFlags:i,fetchSmartTransactionsLiveness:c,chainId:l}=this.props;if(n===undefined||n!==l)throw new Error(`Currently selected chainId (${l}) does not match chainId (${n}) on which the transaction was proposed.`);const{trackEvent:u}=this.context;u({category:f.MetaMetricsEventCategory.Transactions,event:"Confirm: Started",properties:{action:"Confirm Screen",legacy_event:!0,origin:t}}),a(),e&&r(e),(0,k.gasFeeStartPollingByNetworkClientId)(this.props.selectedNetworkClientId).then((e=>{this._isMounted?((0,k.addPollingTokenToAppState)(e),this.setState({pollingToken:e})):((0,k.gasFeeStopPollingByPollingToken)(e),(0,k.removePollingTokenFromAppState)(this.state.pollingToken))})),window.addEventListener("beforeunload",this._beforeUnloadForGasPolling),o&&s&&Promise.all([(0,L.fetchSwapsFeatureFlags)(),c()]).then((([e])=>i(e)))}componentWillUnmount(){this._beforeUnloadForGasPolling(),this._removeBeforeUnload(),this.props.clearConfirmTransaction()}render(){const{t:e}=this.context,{fromName:t,fromAddress:n,toName:r,toAddress:i,toEns:c,toNickname:l,methodData:u,tokenAddress:d,contentComponent:m,onEdit:p,nonce:f,customNonceValue:T,unapprovedTxCount:y,type:b,hideSenderToRecipient:_,showAccountInHeader:E,txData:k,gasIsLoading:x,gasFeeIsCustom:w,nativeCurrency:C,hardwareWalletRequiresConnection:A,image:S,isApprovalOrRejection:P,assetStandard:N,displayAccountBalanceHeader:M,title:O,isSigningOrSubmitting:R}=this.props,{submitting:I,submitError:D,submitWarning:F,ethGasPriceWarning:j,editingGas:L,userAcknowledgedGasMissing:B,showWarningModal:G}=this.state,{name:$}=u,{valid:W,errorKey:U}=this.getErrorKey(),H=Boolean(k.simulationFails),q=H&&!B,V=k.type===o.TransactionType.tokenMethodSetApprovalForAll||k.type===o.TransactionType.tokenMethodApprove||k.type===o.TransactionType.tokenMethodIncreaseAllowance,z=k.type===o.TransactionType.contractInteraction,Y=(V||z)&&"metamask"!==k.origin;let K;return Y&&(K=(0,g.getMethodName)($)),K||(K=b?(0,h.getTransactionTypeTitle)(e,b,C):e("contractInteraction")),a.default.createElement(v.TransactionModalContextProvider,null,a.default.createElement(s.default,{fromName:t,fromAddress:n,showAccountInHeader:E,toName:r,toAddress:i,toEns:c,toNickname:l,showEdit:!Y&&Boolean(p),action:K,image:S,title:O,titleComponent:this.renderTitleComponent(),subtitleComponent:this.renderSubtitleComponent(),detailsComponent:this.renderDetails(),dataHexComponent:this.renderDataHex(K),contentComponent:m,nonce:T||f,unapprovedTxCount:y,tokenAddress:d,errorMessage:D,errorKey:U,hasSimulationError:H,warning:F,disabled:q||!W||I||A||x&&!w||R,onEdit:()=>this.handleEdit(),onCancelAll:()=>this.handleCancelAll(),onCancel:()=>this.handleCancel(),onSubmit:()=>this.handleSubmit(),onSetApprovalForAll:()=>this.handleSetApprovalForAll(),showWarningModal:G,hideSenderToRecipient:_,origin:k.origin,ethGasPriceWarning:j,editingGas:L,handleCloseEditGas:()=>this.handleCloseEditGas(),currentTransaction:k,supportsEIP1559:this.supportsEIP1559,nativeCurrency:C,isApprovalOrRejection:P,assetStandard:N,txData:k,displayAccountBalanceHeader:M}))}}n.default=U,W(U,"contextTypes",{t:r.default.func,trackEvent:r.default.func}),W(U,"propTypes",{history:r.default.object,balance:r.default.string,cancelTransaction:r.default.func,cancelAllTransactions:r.default.func,clearConfirmTransaction:r.default.func,conversionRate:r.default.number,fromAddress:r.default.string,fromName:r.default.string,hexTransactionAmount:r.default.string,hexMaximumTransactionFee:r.default.string,hexMinimumTransactionFee:r.default.string,methodData:r.default.object,nonce:r.default.string,useNonceField:r.default.bool,customNonceValue:r.default.string,updateCustomNonce:r.default.func,sendTransaction:r.default.func,showTransactionConfirmedModal:r.default.func,showRejectTransactionsConfirmationModal:r.default.func,toAccounts:r.default.array,toAddress:r.default.string,tokenData:r.default.object,tokenProps:r.default.object,toName:r.default.string,toEns:r.default.string,toNickname:r.default.string,transactionStatus:r.default.string,txData:r.default.object,unapprovedTxCount:r.default.number,customGas:r.default.object,addToAddressBookIfNew:r.default.func,fromInternalAccount:r.default.object,keyringForAccount:r.default.object,actionKey:r.default.string,contentComponent:r.default.node,dataHexComponent:r.default.node,tokenAddress:r.default.string,customTokenAmount:r.default.string,dappProposedTokenAmount:r.default.string,currentTokenBalance:r.default.string,onEdit:r.default.func,subtitleComponent:r.default.node,title:r.default.string,image:r.default.string,type:r.default.string,getNextNonce:r.default.func,nextNonce:r.default.number,tryReverseResolveAddress:r.default.func.isRequired,hideSenderToRecipient:r.default.bool,showAccountInHeader:r.default.bool,mostRecentOverviewPage:r.default.string.isRequired,isEthGasPriceFetched:r.default.bool,noGasPrice:r.default.bool,setDefaultHomeActiveTabName:r.default.func,primaryTotalTextOverride:r.default.string,secondaryTotalTextOverride:r.default.string,gasIsLoading:r.default.bool,primaryTotalTextOverrideMaxAmount:r.default.string,useNativeCurrencyAsPrimaryCurrency:r.default.bool,maxFeePerGas:r.default.string,maxPriorityFeePerGas:r.default.string,baseFeePerGas:r.default.string,gasFeeIsCustom:r.default.bool,showLedgerSteps:r.default.bool.isRequired,nativeCurrency:r.default.string,supportsEIP1559:r.default.bool,hardwareWalletRequiresConnection:r.default.bool,isBuyableChain:r.default.bool,isApprovalOrRejection:r.default.bool,assetStandard:r.default.string,useCurrencyRateCheck:r.default.bool,isNotification:r.default.bool,accountType:r.default.string,setWaitForConfirmDeepLinkDialog:r.default.func,showTransactionsFailedModal:r.default.func,showCustodianDeepLink:r.default.func,isNoteToTraderSupported:r.default.bool,custodianPublishesTransaction:r.default.bool,rpcUrl:r.default.string,isMainBetaFlask:r.default.bool,displayAccountBalanceHeader:r.default.bool,tokenSymbol:r.default.string,updateTransaction:r.default.func,updateTransactionValue:r.default.func,setSwapsFeatureFlags:r.default.func,fetchSmartTransactionsLiveness:r.default.func,isUsingPaymaster:r.default.bool,isSigningOrSubmitting:r.default.bool,isUserOpContractDeployError:r.default.bool,useMaxValue:r.default.bool,maxValue:r.default.string,smartTransactionsOptInStatus:r.default.bool,currentChainSupportsSmartTransactions:r.default.bool,selectedNetworkClientId:r.default.string,hasPriorityApprovalRequest:r.default.bool,chainId:r.default.string})}}},{package:"$root$",file:"ui/pages/confirmations/confirm-transaction-base/confirm-transaction-base.component.js"}],[5656,{"../../../../app/scripts/lib/util":120,"../../../../shared/constants/gas":4500,"../../../../shared/lib/transactions-controller-utils":4531,"../../../../shared/modules/conversion.utils":4537,"../../../../shared/modules/hexstring-utils":4544,"../../../../shared/modules/selectors":4554,"../../../../shared/modules/transaction.utils":4560,"../../../ducks/app/app":5336,"../../../ducks/confirm-transaction/confirm-transaction.duck":5338,"../../../ducks/history/history":5343,"../../../ducks/metamask/metamask":5346,"../../../helpers/utils/token-util":5396,"../../../helpers/utils/transactions.util":5397,"../../../helpers/utils/util":5399,"../../../selectors":5987,"../../../selectors/account-abstraction":5980,"../../../store/actions":5998,"../send/send.utils":5722,"./confirm-transaction-base.component":5655,"@metamask/transaction-controller":2234,"@sentry/browser":2409,"react-redux":4199,"react-router-dom":4228,redux:4261},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.mapDispatchToProps=n.default=void 0;var a,r=e("react-redux"),o=e("redux"),s=e("react-router-dom"),i=e("@metamask/transaction-controller"),c=e("@sentry/browser"),l=e("../../../ducks/confirm-transaction/confirm-transaction.duck"),u=e("../../../store/actions"),d=e("../send/send.utils"),m=e("../../../helpers/utils/util"),p=e("../../../selectors"),f=e("../../../../shared/modules/selectors"),g=e("../../../ducks/history/history"),h=e("../../../ducks/metamask/metamask"),v=e("../../../../app/scripts/lib/util"),T=e("../../../../shared/modules/transaction.utils"),y=e("../../../../shared/modules/hexstring-utils"),b=e("../../../ducks/app/app"),_=e("../../../helpers/utils/transactions.util"),E=e("../../../../shared/constants/gas"),k=e("../../../selectors/account-abstraction"),x=e("../../../helpers/utils/token-util"),w=e("../../../../shared/lib/transactions-controller-utils"),C=e("../../../../shared/modules/conversion.utils"),A=(a=e("./confirm-transaction-base.component"))&&a.__esModule?a:{default:a};let S="";const P=e=>({tryReverseResolveAddress:t=>e((0,u.tryReverseResolveAddress)(t)),updateCustomNonce:t=>{S=t,e((0,u.updateCustomNonce)(t))},clearConfirmTransaction:()=>e((0,l.clearConfirmTransaction)()),showTransactionConfirmedModal:({onSubmit:t})=>e((0,u.showModal)({name:"TRANSACTION_CONFIRMED",onSubmit:t})),showRejectTransactionsConfirmationModal:({onSubmit:t,unapprovedTxCount:n})=>e((0,u.showModal)({name:"REJECT_TRANSACTIONS",onSubmit:t,unapprovedTxCount:n})),cancelTransaction:({id:t})=>e((0,u.cancelTx)({id:t})),cancelAllTransactions:t=>e((0,u.cancelTxs)(t)),sendTransaction:(t,n,a)=>e((0,u.updateAndApproveTx)((e=>S?{...e,customNonceValue:S}:e)(t),n,a)),updateTransaction:t=>{e((0,u.updateTransaction)(t,!0))},updateTransactionValue:(t,n)=>{e((0,u.updateEditableParams)(t,{value:n}))},setSwapsFeatureFlags:t=>{e((0,u.setSwapsFeatureFlags)(t))},fetchSmartTransactionsLiveness:()=>{e((0,u.fetchSmartTransactionsLiveness)())},getNextNonce:()=>e((0,u.getNextNonce)()),setDefaultHomeActiveTabName:t=>e((0,u.setDefaultHomeActiveTabName)(t)),updateTransactionGasFees:t=>{e((0,h.updateGasFees)({...t,expectHexWei:!0}))},addToAddressBookIfNew:(t,n,a="")=>{const r=(0,v.addHexPrefix)(t);(function(e,t){const n=t.toLowerCase();return!e.some((({address:e})=>e.toLowerCase()===n))})(n,r)&&e((0,u.addToAddressBook)(r,a))}});n.mapDispatchToProps=P;n.default=(0,o.compose)(s.withRouter,(0,r.connect)(((e,t)=>{var n,a,r;const{toAddress:o,customTxParamsData:s,match:{params:l={}}}=t,{id:u}=l,v=(0,p.getIsMainnet)(e),A=(0,p.getSelectedNetworkClientId)(e),P=(0,h.getIsGasEstimatesLoading)(e),N=(0,b.getGasLoadingAnimationIsShowing)(e),M=(0,p.getIsBuyableChain)(e),{confirmTransaction:O,metamask:R}=e,I=(0,h.getConversionRate)(e),{addressBook:D,nextNonce:F}=R,j=(0,p.getUnapprovedTransactions)(e),{chainId:L}=(0,h.getProviderConfig)(e),{tokenData:B,txData:G,tokenProps:$,nonce:W}=O,{txParams:U={},id:H,type:q}=G,V=H||u,z=(0,p.getUnapprovedTransaction)(e,V),{from:Y,to:K,gasPrice:X,gas:J,value:Q,data:Z}=z&&z.txParams||U,ee=(0,p.getMetaMaskAccounts)(e),te=(0,f.getSmartTransactionsOptInStatus)(e),ne=(0,f.getCurrentChainSupportsSmartTransactions)(e),ae=(0,T.parseStandardTokenTransactionData)(Z),re=(0,x.getTokenAddressParam)(ae);ee[Y]||(0,c.captureException)(new Error(`ConfirmTransactionBase: Unexpected state - No account found for sender address. chainId: ${L}. fromAddress?: ${Boolean(Y)}`));const{balance:oe}=ee[Y]||{balance:"0x0"},se=(0,p.getInternalAccountByAddress)(e,Y),ie=null==se?void 0:se.metadata.name,ce=(0,h.findKeyringForAddress)(e,Y),le=q===i.TransactionType.simpleSend||!(0,y.isEmptyHexString)(Q)?K:o||re||K,ue=(0,h.getSendToAccounts)(e),de=(0,p.getTokenList)(e),me=(null===(n=(0,p.getInternalAccountByAddress)(e,le))||void 0===n?void 0:n.metadata.name)||(null===(a=de[null==le?void 0:le.toLowerCase()])||void 0===a?void 0:a.name)||(0,m.shortenAddress)((0,y.toChecksumHexAddress)(le)),pe=(0,y.toChecksumHexAddress)(le),fe=D&&D[L]&&D[L][pe],ge=(0,p.getEnsResolutionByAddress)(e,pe),he=fe?fe.name:"",ve=z?z.status:"",Te=(0,p.checkNetworkAndAccountSupports1559)(e)&&!(0,_.isLegacyTransaction)(U),{hexTransactionAmount:ye,hexMaximumTransactionFee:be,hexMinimumTransactionFee:_e,gasEstimationObject:Ee}=(0,p.transactionFeeSelector)(e,z),ke=(null===(r=e.confirmTransaction.maxValueMode)||void 0===r?void 0:r[V])??!1,xe=(0,C.subtractHexes)(oe,be),we=ke?xe:ye,Ce=Object.keys(j).filter((e=>j[e].chainId===L)).reduce(((e,t)=>({...e,[t]:j[t]})),{}),Ae=(0,m.valuesFor)(Ce).length,Se=!(0,d.isBalanceSufficient)({hexTransactionAmount:we,gasTotal:(0,w.calcGasTotal)(J,X),balance:oe,conversionRate:I}),Pe=(0,p.getKnownMethodData)(e,Z)||{},Ne=(0,p.getFullTxData)(e,V,i.TransactionStatus.unapproved,s,we);S=(0,p.getCustomNonceValue)(e);const Me=(0,p.getIsEthGasPriceFetched)(e),Oe=!Te&&(0,p.getNoGasPriceFetched)(e),{useNativeCurrencyAsPrimaryCurrency:Re}=(0,p.getPreferences)(e),Ie=Ne.userFeeLevel===E.CUSTOM_GAS_ESTIMATE||(0,T.txParamsAreDappSuggested)(Ne),De=(0,h.isAddressLedger)(e,Y),Fe=(0,h.getNativeCurrency)(e),je=(0,p.doesAddressRequireLedgerHidConnection)(e,Y),Le=(0,k.getIsUsingPaymaster)(e);let Be=Boolean((0,p.getApprovedAndSignedTransactions)(e).length);const Ge=Ne.isUserOperation&&q===i.TransactionType.deployContract,$e=Boolean((0,p.getPrioritizedUnapprovedTemplatedConfirmations)(e).length);return{balance:oe,fromAddress:Y,fromName:ie,toAccounts:ue,toAddress:le,toEns:ge,toName:me,toNickname:he,hexTransactionAmount:we,hexMaximumTransactionFee:be,hexMinimumTransactionFee:_e,txData:Ne,tokenData:B,methodData:Pe,tokenProps:$,conversionRate:I,transactionStatus:ve,nonce:W,unapprovedTxs:j,unapprovedTxCount:Ae,customGas:{gasLimit:J,gasPrice:X},advancedInlineGasShown:(0,p.getAdvancedInlineGasShown)(e),useNonceField:(0,p.getUseNonceField)(e),customNonceValue:S,insufficientBalance:Se,hideFiatConversion:!(0,p.getShouldShowFiat)(e),type:q,nextNonce:F,mostRecentOverviewPage:(0,g.getMostRecentOverviewPage)(e),isMainnet:v,selectedNetworkClientId:A,isEthGasPriceFetched:Me,noGasPrice:Oe,supportsEIP1559:Te,gasIsLoading:P||N,useNativeCurrencyAsPrimaryCurrency:Re,maxFeePerGas:Ee.maxFeePerGas,maxPriorityFeePerGas:Ee.maxPriorityFeePerGas,baseFeePerGas:Ee.baseFeePerGas,gasFeeIsCustom:Ie,showLedgerSteps:De,nativeCurrency:Fe,hardwareWalletRequiresConnection:je,chainId:L,isBuyableChain:M,useCurrencyRateCheck:(0,p.getUseCurrencyRateCheck)(e),keyringForAccount:ce,fromInternalAccount:se,isUsingPaymaster:Le,isSigningOrSubmitting:Be,isUserOpContractDeployError:Ge,useMaxValue:ke,maxValue:xe,smartTransactionsOptInStatus:te,currentChainSupportsSmartTransactions:ne,hasPriorityApprovalRequest:$e}}),P,((e,t,n)=>{const{txData:a,unapprovedTxs:r}=e,{cancelAllTransactions:o,updateTransactionGasFees:s,...i}=t;let c=n.isMainBetaFlask||!1;return n.isMainBetaFlask===undefined&&(c=!0),{...e,...i,...n,cancelAllTransactions:()=>o((0,m.valuesFor)(r)),updateGasAndCalculate:({gasLimit:e,gasPrice:t})=>{s({gasLimit:e,gasPrice:t,transaction:a})},isMainBetaFlask:c}})))(A.default)}}},{package:"$root$",file:"ui/pages/confirmations/confirm-transaction-base/confirm-transaction-base.container.js"}],[5657,{"./confirm-transaction-base.container":5656},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./confirm-transaction-base.container"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/confirm-transaction-base/index.js"}],[5658,{"../../../../shared/constants/app":4493,"../../../components/ui/loading-screen":5256,"../../../helpers/constants/routes":5361,"@metamask/transaction-controller":2234,"prop-types":3997,react:4243,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r,o,s=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),i=p(e("prop-types")),c=e("react-router-dom"),l=e("@metamask/transaction-controller"),u=p(e("../../../components/ui/loading-screen")),d=e("../../../helpers/constants/routes"),m=e("../../../../shared/constants/app");function p(e){return e&&e.__esModule?e:{default:e}}function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}class g extends s.Component{redirectToTransaction(){const{txData:e}=this.props,{id:t,txParams:{data:n}={},type:a}=e;if(a===l.TransactionType.deployContract){const e=`${d.CONFIRM_TRANSACTION_ROUTE}/${t}${d.CONFIRM_DEPLOY_CONTRACT_PATH}`;return s.default.createElement(c.Redirect,{to:{pathname:e}})}if(a===l.TransactionType.simpleSend){const e=`${d.CONFIRM_TRANSACTION_ROUTE}/${t}${d.CONFIRM_SEND_ETHER_PATH}`;return s.default.createElement(c.Redirect,{to:{pathname:e}})}if(n)switch(a){case l.TransactionType.tokenMethodTransfer:{const e=`${d.CONFIRM_TRANSACTION_ROUTE}/${t}${d.CONFIRM_SEND_TOKEN_PATH}`;return s.default.createElement(c.Redirect,{to:{pathname:e}})}case l.TransactionType.tokenMethodApprove:{const e=`${d.CONFIRM_TRANSACTION_ROUTE}/${t}${d.CONFIRM_APPROVE_PATH}`;return s.default.createElement(c.Redirect,{to:{pathname:e}})}case l.TransactionType.tokenMethodSetApprovalForAll:{const e=`${d.CONFIRM_TRANSACTION_ROUTE}/${t}${d.CONFIRM_SET_APPROVAL_FOR_ALL_PATH}`;return s.default.createElement(c.Redirect,{to:{pathname:e}})}case l.TransactionType.tokenMethodTransferFrom:{const e=`${d.CONFIRM_TRANSACTION_ROUTE}/${t}${d.CONFIRM_TRANSFER_FROM_PATH}`;return s.default.createElement(c.Redirect,{to:{pathname:e}})}case l.TransactionType.tokenMethodSafeTransferFrom:{const e=`${d.CONFIRM_TRANSACTION_ROUTE}/${t}${d.CONFIRM_SAFE_TRANSFER_FROM_PATH}`;return s.default.createElement(c.Redirect,{to:{pathname:e}})}case l.TransactionType.tokenMethodIncreaseAllowance:{const e=`${d.CONFIRM_TRANSACTION_ROUTE}/${t}${d.CONFIRM_INCREASE_ALLOWANCE_PATH}`;return s.default.createElement(c.Redirect,{to:{pathname:e}})}default:{const e=`${d.CONFIRM_TRANSACTION_ROUTE}/${t}${d.CONFIRM_TOKEN_METHOD_PATH}`;return s.default.createElement(c.Redirect,{to:{pathname:e}})}}const r=`${d.CONFIRM_TRANSACTION_ROUTE}/${t}${d.CONFIRM_SEND_ETHER_PATH}`;return s.default.createElement(c.Redirect,{to:{pathname:r}})}render(){const{txData:e}=this.props;if(e.txParams)return this.redirectToTransaction();if(e.msgParams){let t=`${d.CONFIRM_TRANSACTION_ROUTE}/${e.id}${d.SIGNATURE_REQUEST_PATH}`;return e.type===m.MESSAGE_TYPE.ETH_DECRYPT?t=`${d.CONFIRM_TRANSACTION_ROUTE}/${e.id}${d.DECRYPT_MESSAGE_REQUEST_PATH}`:e.type===m.MESSAGE_TYPE.ETH_GET_ENCRYPTION_PUBLIC_KEY&&(t=`${d.CONFIRM_TRANSACTION_ROUTE}/${e.id}${d.ENCRYPTION_PUBLIC_KEY_REQUEST_PATH}`),s.default.createElement(c.Redirect,{to:{pathname:t}})}return s.default.createElement(u.default,null)}}n.default=g,a=g,r="propTypes",o={txData:i.default.object},(r=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(r))in a?Object.defineProperty(a,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):a[r]=o}}},{package:"$root$",file:"ui/pages/confirmations/confirm-transaction-switch/confirm-transaction-switch.component.js"}],[5659,{"../../../helpers/constants/routes":5361,"../../../selectors":5987,"./confirm-transaction-switch.component":5658,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=e("react-redux"),o=e("../../../selectors"),s=e("../../../helpers/constants/routes"),i=(a=e("./confirm-transaction-switch.component"))&&a.__esModule?a:{default:a};n.default=(0,r.connect)(((e,t)=>{const n=(0,o.getUnapprovedTransactions)(e),{match:{params:a={},url:r}}=t,i=`${s.CONFIRM_TRANSACTION_ROUTE}/`,c=r.includes(i)?r.split(i)[1]:null,{id:l}=a,u=l||c,d=(0,o.unconfirmedTransactionsListSelector)(e);return{txData:d.length?n[u]||d[0]:{}}}))(i.default)}}},{package:"$root$",file:"ui/pages/confirmations/confirm-transaction-switch/confirm-transaction-switch.container.js"}],[5660,{"./confirm-transaction-switch.container":5659},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=(a=e("./confirm-transaction-switch.container"))&&a.__esModule?a:{default:a};n.default=r.default}}},{package:"$root$",file:"ui/pages/confirmations/confirm-transaction-switch/index.js"}],[5661,{"../../../../shared/constants/transaction":4520,"../../../../shared/modules/conversion.utils":4537,"../../../ducks/confirm-transaction/confirm-transaction.duck":5338,"../../../ducks/send":5348,"../../../helpers/constants/routes":5361,"../../../selectors":5987,"../confirm-approve":5642,"../confirm-send-token":5651,"../confirm-token-transaction-base":5654,"../confirm-transaction-switch":5660,"../hooks/useAssetDetails":5692,"prop-types":3997,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=y;var a=T(e("react")),r=T(e("prop-types")),o=e("react-redux"),s=e("react-router-dom"),i=e("../../../../shared/modules/conversion.utils"),c=e("../../../helpers/constants/routes"),l=e("../../../selectors"),u=T(e("../confirm-approve")),d=T(e("../confirm-send-token")),m=T(e("../confirm-token-transaction-base")),p=T(e("../confirm-transaction-switch")),f=e("../../../ducks/send"),g=e("../../../../shared/constants/transaction"),h=e("../../../ducks/confirm-transaction/confirm-transaction.duck"),v=e("../hooks/useAssetDetails");function T(e){return e&&e.__esModule?e:{default:e}}function y({transaction:e}){const{txParams:{data:t,to:n,from:r}={},layer1GasFee:T}=e,y=(0,o.useDispatch)(),b=(0,s.useHistory)(),{assetStandard:_,assetName:E,userBalance:k,tokenSymbol:x,decimals:w,tokenImage:C,tokenAmount:A,tokenId:S,toAddress:P}=(0,v.useAssetDetails)(n,r,t),{ethTransactionTotal:N,fiatTransactionTotal:M,hexTransactionTotal:O,hexMaximumTransactionFee:R,hexMinimumTransactionFee:I}=(0,o.useSelector)((t=>(0,l.transactionFeeSelector)(t,e)));return a.default.createElement(s.Switch,null,a.default.createElement(s.Route,{exact:!0,path:`${c.CONFIRM_TRANSACTION_ROUTE}/:id?${c.CONFIRM_APPROVE_PATH}`,render:()=>a.default.createElement(u.default,{assetStandard:_,assetName:E,userBalance:k,tokenSymbol:x,decimals:w,tokenImage:C,tokenAmount:A,tokenId:S,userAddress:r,tokenAddress:n,toAddress:P,transaction:e,ethTransactionTotal:N,fiatTransactionTotal:M,hexTransactionTotal:O,hexMinimumTransactionFee:I})}),a.default.createElement(s.Route,{exact:!0,path:`${c.CONFIRM_TRANSACTION_ROUTE}/:id?${c.CONFIRM_SET_APPROVAL_FOR_ALL_PATH}`,render:()=>a.default.createElement(u.default,{isSetApproveForAll:!0,assetStandard:_,assetName:E,userBalance:k,tokenSymbol:x,decimals:w,tokenImage:C,tokenAmount:A,tokenId:S,userAddress:r,tokenAddress:n,toAddress:P,transaction:e,ethTransactionTotal:N,fiatTransactionTotal:M,hexTransactionTotal:O,hexMinimumTransactionFee:I})}),a.default.createElement(s.Route,{exact:!0,path:`${c.CONFIRM_TRANSACTION_ROUTE}/:id?${c.CONFIRM_TRANSFER_FROM_PATH}`,render:()=>a.default.createElement(m.default,{assetStandard:_,assetName:E,userBalance:k,tokenSymbol:x,decimals:w,image:C,tokenAddress:n,onEdit:async({txData:e})=>{const{id:t}=e;await y((0,f.editExistingTransaction)(g.AssetType.NFT,t.toString())),y((0,h.clearConfirmTransaction)()),b.push(c.SEND_ROUTE)},toAddress:P,tokenAmount:A,tokenId:S,userAddress:r,transaction:e,ethTransactionTotal:N,fiatTransactionTotal:M,hexMaximumTransactionFee:R})}),a.default.createElement(s.Route,{exact:!0,path:`${c.CONFIRM_TRANSACTION_ROUTE}/:id?${c.CONFIRM_SAFE_TRANSFER_FROM_PATH}`,render:()=>a.default.createElement(m.default,{assetStandard:_,assetName:E,userBalance:k,tokenSymbol:x,decimals:w,image:C,tokenAddress:n,toAddress:P,tokenAmount:A,tokenId:S,userAddress:r,transaction:e,ethTransactionTotal:N,fiatTransactionTotal:M,hexMaximumTransactionFee:R})}),a.default.createElement(s.Route,{exact:!0,path:`${c.CONFIRM_TRANSACTION_ROUTE}/:id?${c.CONFIRM_SEND_TOKEN_PATH}`,render:()=>a.default.createElement(d.default,{assetStandard:_,assetName:E,tokenSymbol:x,image:C,tokenAddress:n,toAddress:P,tokenAmount:A,tokenId:S,transaction:e,ethTransactionTotal:N,fiatTransactionTotal:M,hexMaximumTransactionFee:(0,i.sumHexes)(R,T??0)})}),a.default.createElement(s.Route,{exact:!0,path:`${c.CONFIRM_TRANSACTION_ROUTE}/:id?${c.CONFIRM_INCREASE_ALLOWANCE_PATH}`,render:()=>a.default.createElement(u.default,{assetStandard:_,assetName:E,userBalance:k,tokenSymbol:x,decimals:w,tokenImage:C,tokenAmount:A,tokenId:S,userAddress:r,tokenAddress:n,toAddress:P,transaction:e,ethTransactionTotal:N,fiatTransactionTotal:M,hexTransactionTotal:O,hexMinimumTransactionFee:I})}),a.default.createElement(s.Route,{path:"*",component:p.default}))}y.propTypes={transaction:r.default.shape({origin:r.default.string,txParams:r.default.shape({data:r.default.string,to:r.default.string,from:r.default.string}),layer1GasFee:r.default.number})}}}},{package:"$root$",file:"ui/pages/confirmations/confirm-transaction/confirm-token-transaction-switch.js"}],[5662,{"../../../../shared/constants/app":4493,"../../../components/ui/loading-screen":5256,"../../../ducks/confirm-transaction/confirm-transaction.duck":5338,"../../../ducks/history/history":5343,"../../../ducks/send":5348,"../../../helpers/constants/routes":5361,"../../../helpers/utils/transactions.util":5397,"../../../hooks/usePolling":5435,"../../../hooks/usePrevious":5436,"../../../selectors":5987,"../../../store/actions":5998,"../../confirm-decrypt-message":5467,"../../confirm-encryption-public-key":5470,"../confirm-contract-interaction":5644,"../confirm-deploy-contract":5647,"../confirm-send-ether":5649,"../confirm-signature-request":5652,"../confirm-transaction-switch":5660,"../confirm/confirm":5664,"../hooks/useCurrentConfirmation":5698,"./confirm-token-transaction-switch":5661,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=S(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=e("react-redux"),o=e("react-router-dom"),s=e("../../../../shared/constants/app"),i=A(e("../../../components/ui/loading-screen")),c=e("../../../ducks/confirm-transaction/confirm-transaction.duck"),l=e("../../../ducks/history/history"),u=e("../../../ducks/send"),d=e("../../../helpers/constants/routes"),m=e("../../../helpers/utils/transactions.util"),p=A(e("../../../hooks/usePolling")),f=e("../../../hooks/usePrevious"),g=e("../../../selectors"),h=e("../../../store/actions"),v=A(e("../../confirm-decrypt-message")),T=A(e("../../confirm-encryption-public-key")),y=A(e("../confirm-contract-interaction")),b=A(e("../confirm-deploy-contract")),_=A(e("../confirm-send-ether")),E=A(e("../confirm-signature-request")),k=A(e("../confirm-transaction-switch")),x=A(e("../confirm/confirm")),w=A(e("../hooks/useCurrentConfirmation")),C=A(e("./confirm-token-transaction-switch"));function A(e){return e&&e.__esModule?e:{default:e}}function S(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(S=function(e){return e?n:t})(e)}n.default=()=>{const e=(0,r.useDispatch)(),t=(0,o.useHistory)(),{id:n}=(0,o.useParams)(),A=(0,r.useSelector)(l.getMostRecentOverviewPage),S=(0,r.useSelector)(u.getSendTo),P=(0,r.useSelector)(g.unconfirmedTransactionsListSelector),N=(0,r.useSelector)(g.unconfirmedTransactionsHashSelector),M=(0,r.useSelector)(g.getSelectedNetworkClientId),O=P.length||0,R=(0,a.useCallback)((()=>O?N[n]||P[0]:{}),[n,O,N,P]),[I,D]=(0,a.useState)(R),F=(0,r.useSelector)(g.use4ByteResolutionSelector),{currentConfirmation:j}=(0,w.default)();(0,a.useEffect)((()=>{const t=R();D(t),null!=t&&t.id&&e((0,c.setTransactionToConfirm)(t.id))}),[e,R,n,O,N,P]);const{id:L,type:B}=I,G=L,$=(0,m.isTokenMethodAction)(B),W=G&&(!n||n===G),U=(0,f.usePrevious)(n),H=(0,f.usePrevious)(G);return(0,p.default)({startPollingByNetworkClientId:h.gasFeeStartPollingByNetworkClientId,stopPollingByPollingToken:h.gasFeeStopPollingByPollingToken,networkClientId:I.networkClientId??M}),(0,a.useEffect)((()=>{if(O||S){const{txParams:{data:t}={},origin:a}=I;a!==s.ORIGIN_METAMASK&&e((0,h.getContractMethodData)(t,F));const r=G||n;r&&e((0,c.setTransactionToConfirm)(r))}else t.replace(A)}),[]),(0,a.useEffect)((()=>{if(n&&G&&U!==n){const{txData:{txParams:{data:t}={},origin:a}={}}=I;e((0,c.clearConfirmTransaction)()),e((0,c.setTransactionToConfirm)(n)),a!==s.ORIGIN_METAMASK&&e((0,h.getContractMethodData)(t,F))}else!H||G||O?H&&G&&H!==G&&n!==G&&t.replace(A):e((0,h.setDefaultHomeActiveTabName)("activity")).then((()=>{t.replace(d.DEFAULT_ROUTE)}))}),[e,t,A,n,U,H,O,I,G,F]),j?a.default.createElement(x.default,null):$&&W?a.default.createElement(C.default,{transaction:I}):W?a.default.createElement(o.Switch,null,a.default.createElement(o.Route,{exact:!0,path:`${d.CONFIRM_TRANSACTION_ROUTE}/:id?${d.CONFIRM_DEPLOY_CONTRACT_PATH}`,component:b.default}),a.default.createElement(o.Route,{exact:!0,path:`${d.CONFIRM_TRANSACTION_ROUTE}/:id?${d.CONFIRM_SEND_ETHER_PATH}`,component:_.default}),a.default.createElement(o.Route,{exact:!0,path:`${d.CONFIRM_TRANSACTION_ROUTE}/:id?${d.CONFIRM_TOKEN_METHOD_PATH}`,component:y.default}),a.default.createElement(o.Route,{exact:!0,path:`${d.CONFIRM_TRANSACTION_ROUTE}/:id?${d.SIGNATURE_REQUEST_PATH}`,component:E.default}),a.default.createElement(o.Route,{exact:!0,path:`${d.CONFIRM_TRANSACTION_ROUTE}/:id?${d.DECRYPT_MESSAGE_REQUEST_PATH}`,component:v.default}),a.default.createElement(o.Route,{exact:!0,path:`${d.CONFIRM_TRANSACTION_ROUTE}/:id?${d.ENCRYPTION_PUBLIC_KEY_REQUEST_PATH}`,component:T.default}),a.default.createElement(o.Route,{path:"*",component:k.default})):a.default.createElement(i.default,null)}}}},{package:"$root$",file:"ui/pages/confirmations/confirm-transaction/confirm-transaction.component.js"}],[5663,{"./confirm-transaction.component":5662},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=(a=e("./confirm-transaction.component"))&&a.__esModule?a:{default:a};n.default=r.default}}},{package:"$root$",file:"ui/pages/confirmations/confirm-transaction/index.js"}],[5664,{"../../../components/app/alert-system/contexts/alertActionHandler":4573,"../../../components/multichain/pages/page":5152,"../components/confirm/blockaid-loading-indicator":5517,"../components/confirm/footer":5519,"../components/confirm/header":5522,"../components/confirm/info":5525,"../components/confirm/ledger-info":5531,"../components/confirm/nav":5533,"../components/confirm/scroll-to-bottom":5538,"../components/confirm/title":5540,"../hooks/setConfirmationAlerts":5688,"../hooks/setCurrentConfirmation":5689,"../hooks/syncConfirmPath":5690,"../hooks/useConfirmationAlertActions":5694,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=T(e("react")),r=e("../../../components/app/alert-system/contexts/alertActionHandler"),o=e("../components/confirm/blockaid-loading-indicator"),s=T(e("../components/confirm/scroll-to-bottom")),i=e("../components/confirm/footer"),c=e("../components/confirm/header"),l=e("../components/confirm/info"),u=e("../components/confirm/nav"),d=e("../components/confirm/title"),m=e("../../../components/multichain/pages/page"),p=T(e("../hooks/setCurrentConfirmation")),f=T(e("../hooks/syncConfirmPath")),g=e("../components/confirm/ledger-info"),h=T(e("../hooks/setConfirmationAlerts")),v=T(e("../hooks/useConfirmationAlertActions"));function T(e){return e&&e.__esModule?e:{default:e}}n.default=()=>{(0,p.default)(),(0,f.default)(),(0,h.default)();const e=(0,v.default)();return a.default.createElement(r.AlertActionHandlerProvider,{onProcessAction:e},a.default.createElement(m.Page,{className:"confirm_wrapper"},a.default.createElement(u.Nav,null),a.default.createElement(c.Header,null),a.default.createElement(s.default,null,a.default.createElement(o.BlockaidLoadingIndicator,null),a.default.createElement(g.LedgerInfo,null),a.default.createElement(d.Title,null),a.default.createElement(l.Info,null)),a.default.createElement(i.Footer,null)))}}}},{package:"$root$",file:"ui/pages/confirmations/confirm/confirm.tsx"}],[5666,{"../../../../../components/ui/button":5198,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=c;var a=i(e("react")),r=i(e("prop-types")),o=i(e("classnames")),s=i(e("../../../../../components/ui/button"));function i(e){return e&&e.__esModule?e:{default:e}}function c({onSubmit:e,onCancel:t,submitText:n,cancelText:r,loadingText:i,alerts:c,loading:l,submitAlerts:u,actionsStyle:d,style:m}){const p=Boolean(t||e);return a.default.createElement("div",{className:"confirmation-footer",style:m},c,u,p&&a.default.createElement("div",{className:"confirmation-footer__actions",style:d},t?a.default.createElement(s.default,{"data-testid":"confirmation-cancel-button",type:"secondary",onClick:t},r):null,e&&n?a.default.createElement(s.default,{"data-testid":"confirmation-submit-button",disabled:Boolean(l),type:"primary",onClick:e,className:(0,o.default)({centered:!t})},l?i:n):null))}c.propTypes={alerts:r.default.node,onCancel:r.default.func,cancelText:r.default.string,onSubmit:r.default.func.isRequired,submitText:r.default.string.isRequired,loadingText:r.default.string,loading:r.default.bool,submitAlerts:r.default.node,style:r.default.object,actionsStyle:r.default.object}}}},{package:"$root$",file:"ui/pages/confirmations/confirmation/components/confirmation-footer/confirmation-footer.js"}],[5667,{"./confirmation-footer":5666},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./confirmation-footer"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/confirmation/components/confirmation-footer/index.js"}],[5668,{"../../../../../../shared/constants/network":4507,"../../../../../components/component-library":4955,"../../../../../helpers/constants/design-system":5355,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=u;var a=c(e("react")),r=c(e("prop-types")),o=e("../../../../../components/component-library"),s=e("../../../../../helpers/constants/design-system"),i=e("../../../../../../shared/constants/network");function c(e){return e&&e.__esModule?e:{default:e}}const l=e=>({...e,nickname:e.nickname??i.NETWORK_TO_NAME_MAP[e.chainId],iconUrl:e.iconUrl??i.CHAIN_ID_TO_NETWORK_IMAGE_URL_MAP[e.chainId]});function u({toNetwork:e,fromNetwork:t}){const n=l(t),r=l(e);return a.default.createElement(o.Box,{className:"confirmation-network-switch",display:s.Display.Flex,height:s.BlockSize.Full,justifyContent:s.JustifyContent.center,marginTop:8},a.default.createElement(o.Box,{className:"confirmation-network-switch__icon",display:s.Display.Block},a.default.createElement(o.AvatarNetwork,{src:n.iconUrl,name:n.nickname,size:o.AvatarNetworkSize.Xl,marginBottom:2}),a.default.createElement(o.Text,{display:s.Display.Flex,justifyContent:s.JustifyContent.center,"data-testid":"network-switch-from-network"},n.nickname)),a.default.createElement(o.Box,{className:"confirmation-network-switch__center-icon",display:s.Display.Flex,alignItems:s.AlignItems.center,justifyContent:s.JustifyContent.center},a.default.createElement("i",{className:"fa fa-angle-right fa-lg confirmation-network-switch__check"}),a.default.createElement("div",{className:"confirmation-network-switch__dashed-line"})),a.default.createElement(o.Box,{className:"confirmation-network-switch__icon",display:s.Display.Block},a.default.createElement(o.AvatarNetwork,{src:r.iconUrl,name:r.nickname,size:o.AvatarNetworkSize.Xl,marginBottom:2}),a.default.createElement(o.Text,{display:s.Display.Flex,justifyContent:s.JustifyContent.center,"data-testid":"network-switch-to-network"},r.nickname)))}u.propTypes={toNetwork:r.default.shape({chainId:r.default.string.isRequired,nickname:r.default.string.isRequired,type:r.default.string}),fromNetwork:r.default.shape({chainId:r.default.string.isRequired,nickname:r.default.string.isRequired,type:r.default.string})}}}},{package:"$root$",file:"ui/pages/confirmations/confirmation/components/confirmation-network-switch/confirmation-network-switch.js"}],[5669,{"./confirmation-network-switch":5668},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./confirmation-network-switch"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/confirmation/components/confirmation-network-switch/index.js"}],[5670,{"../../../../shared/constants/app":4493,"../../../../shared/constants/metametrics":4505,"../../../../shared/constants/time":4518,"../../../../shared/lib/fetch-with-cache":4525,"../../../components/app/metamask-template-renderer":4653,"../../../components/app/network-display/network-display":4715,"../../../components/app/snaps/snap-authorship-header":4770,"../../../components/app/snaps/snap-ui-renderer":4831,"../../../components/component-library":4955,"../../../components/ui/box":5194,"../../../components/ui/callout":5200,"../../../components/ui/loading-screen":5256,"../../../contexts/metametrics":5327,"../../../helpers/constants/routes":5361,"../../../hooks/useI18nContext":5427,"../../../selectors":5987,"../components/confirmation-warning-modal":5544,"./components/confirmation-footer":5667,"./templates":5675,"@metamask/controller-utils":1163,immer:3640,lodash:3836,loglevel:3842,"prop-types":3997,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=R;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=M(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=N(e("prop-types")),o=e("react-redux"),s=e("react-router-dom"),i=e("lodash"),c=e("immer"),l=N(e("loglevel")),u=e("@metamask/controller-utils"),d=N(e("../../../../shared/lib/fetch-with-cache")),m=N(e("../../../components/ui/box")),p=e("../../../../shared/constants/metametrics"),f=N(e("../../../components/app/metamask-template-renderer")),g=N(e("../components/confirmation-warning-modal")),h=e("../../../helpers/constants/routes"),v=e("../../../hooks/useI18nContext"),T=e("../../../contexts/metametrics"),y=e("../../../selectors"),b=N(e("../../../components/app/network-display/network-display")),_=N(e("../../../components/ui/callout")),E=e("../../../components/component-library"),k=N(e("../../../components/ui/loading-screen")),x=N(e("../../../components/app/snaps/snap-authorship-header")),w=e("../../../components/app/snaps/snap-ui-renderer"),C=e("../../../../shared/constants/app"),A=e("../../../../shared/constants/time"),S=N(e("./components/confirmation-footer")),P=e("./templates");function N(e){return e&&e.__esModule?e:{default:e}}function M(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(M=function(e){return e?n:t})(e)}const O=(0,c.produce)(((e,t)=>{var n;switch(t.type){case"dismiss":null!=e&&null!==(n=e[t.confirmationId])&&void 0!==n&&n[t.alertId]&&(e[t.confirmationId][t.alertId].dismissed=!0);break;case"set":e[t.confirmationId]||(e[t.confirmationId]={}),t.alerts.forEach((n=>{e[t.confirmationId][n.id]={...n,dismissed:!1}}));break;default:throw new Error("You must provide a type when dispatching an action for alertState")}}));function R({redirectToHomeOnZeroConfirmations:e=!0}){var t;const n=(0,v.useI18nContext)(),r=(0,a.useContext)(T.MetaMetricsContext),c=(0,o.useDispatch)(),N=(0,s.useHistory)(),M=(0,o.useSelector)(y.getMemoizedUnapprovedTemplatedConfirmations),R=(0,o.useSelector)(y.getUnapprovedTxCount),I=(0,o.useSelector)(y.getApprovalFlows,i.isEqual),D=(0,o.useSelector)(y.getTotalUnapprovedCount),F=(0,o.useSelector)(y.useSafeChainsListValidationSelector),[j,L]=(0,a.useState)(null),[B,G]=(0,a.useState)(0),{id:$}=(0,s.useParams)(),W=M.find((e=>e.id===$))??M[B],[U,H]=(0,a.useState)({}),[q,V]=(0,a.useState)(!1),z=(null==W?void 0:W.type)===u.ApprovalType.AddEthereumChain&&!q,[Y,K]=(0,a.useState)(null),[X,J]=(0,a.useState)(null),[Q,Z]=function(e,{unapprovedTxsCount:t,useSafeChainsListValidation:n,matchedChain:r,providerError:o,preventAlertsForAddChainValidation:s=!1}={}){const[i,c]=(0,a.useReducer)(O,{});return(0,a.useEffect)((()=>{let a=!0;return e&&!s&&(0,P.getTemplateAlerts)(e,{unapprovedTxsCount:t,useSafeChainsListValidation:n,matchedChain:r,providerError:o}).then((t=>{a&&t.length>0&&c({type:"set",confirmationId:e.id,alerts:t})})),()=>{a=!1}}),[e,t,n,r,o,s]),[i,(0,a.useCallback)((t=>{c({type:"dismiss",confirmationId:e.id,alertId:t})}),[e])]}(W,{unapprovedTxsCount:R,useSafeChainsListValidation:F,matchedChain:U,providerError:X,preventAlertsForAddChainValidation:z}),[ee]=function(e){const[t,n]=(0,a.useState)({});return(0,a.useEffect)((()=>{let t=!0;return e&&(0,P.getTemplateState)(e).then((a=>{t&&Object.values(a).length>0&&n((t=>({...t,[e.id]:a})))})),()=>{t=!1}}),[e]),[t]}(W),[te,ne]=(0,a.useState)(!1),[ae,re]=(0,a.useState)({}),[oe,se]=(0,a.useState)(!1),[ie,ce]=(0,a.useState)(),[le,ue]=(0,a.useState)([]),de=null===(t=(0,o.useSelector)(y.getSnapsMetadata)[null==W?void 0:W.origin])||void 0===t?void 0:t.name,me=[u.ApprovalType.SnapDialogAlert,u.ApprovalType.SnapDialogConfirmation,u.ApprovalType.SnapDialogPrompt],pe=[u.ApprovalType.SnapDialogAlert,u.ApprovalType.SnapDialogConfirmation,u.ApprovalType.SnapDialogPrompt];me.push(...Object.values(C.SNAP_MANAGE_ACCOUNTS_CONFIRMATION_TYPES));const fe=me.includes(null==W?void 0:W.type),ge=pe.includes(null==W?void 0:W.type),he=(null==W?void 0:W.type)===u.ApprovalType.SnapDialogPrompt;let ve=fe;const Te=fe&&de,ye=[u.ApprovalType.SnapDialogPrompt];Object.values(C.SNAP_MANAGE_ACCOUNTS_CONFIRMATION_TYPES).includes(null==W?void 0:W.type)&&(ve=!1);const be=(0,a.useMemo)((()=>W?(0,P.getTemplateValues)({snapName:fe&&Te,...W},n,c,N,{matchedChain:U,currencySymbolWarning:Y},{t:n,trackEvent:r}):{}),[W,n,c,N,U,Y,r,fe,Te]);if((0,a.useEffect)((()=>{be.onLoad&&be.onLoad()}),[be]),(0,a.useEffect)((()=>{0!==M.length||0!==I.length&&0===D||!e?M.length&&M.length<=B&&G(M.length-1):N.push(h.DEFAULT_ROUTE)}),[M,I,D,N,B,e]),(0,a.useEffect)((()=>{const e=I[I.length-1];L((null==e?void 0:e.loadingText)??null)}),[I]),(0,a.useEffect)((()=>{(null==W?void 0:W.type)===u.ApprovalType.AddEthereumChain&&async function(e){try{if(F){var t,a;const o=(await(0,d.default)({url:"https://chainid.network/chains.json",cacheOptions:{cacheRefreshTime:A.DAY},functionName:"getSafeChainsList"})).find((t=>t.chainId===parseInt(e.requestData.chainId,16)));var r;H(o),V(!0),J(null),(null==o||null===(t=o.nativeCurrency)||void 0===t||null===(t=t.symbol)||void 0===t?void 0:t.toLowerCase())===(null===(a=e.requestData.ticker)||void 0===a?void 0:a.toLowerCase())?K(null):K(n("chainListReturnedDifferentTickerSymbol",[null==o||null===(r=o.nativeCurrency)||void 0===r?void 0:r.symbol]))}}catch(e){l.default.warn("Failed to fetch the chainList from chainid.network",e),J(e),H(null),K(null),V(!0)}}(W)}),[W,n,F,V]),!W)return I.length>0?a.default.createElement(k.default,{loadingMessage:j}):null;const _e=e=>{(null==e?void 0:e.length)>0?(ce(be.submitText),ue(e),se(!0)):se(!1)};return a.default.createElement("div",{className:"confirmation-page"},M.length>1&&a.default.createElement("div",{className:"confirmation-page__navigation"},a.default.createElement("p",null,n("xOfYPending",[B+1,M.length])),B>0&&a.default.createElement("button",{className:"confirmation-page__navigation-button",onClick:()=>G(B-1)},a.default.createElement(E.Icon,{name:E.IconName.ArrowLeft})),a.default.createElement("button",{className:"confirmation-page__navigation-button",disabled:B+1===M.length,onClick:()=>G(B+1)},a.default.createElement(E.Icon,{name:E.IconName.ArrowRight}))),a.default.createElement("div",{className:"confirmation-page__content"},be.networkDisplay?a.default.createElement(m.default,{justifyContent:"center",marginTop:2},a.default.createElement(b.default,null)):null,ve&&a.default.createElement(x.default,{snapId:null==W?void 0:W.origin}),ge?a.default.createElement(m.default,{marginRight:4,marginLeft:4,marginTop:4,key:"snap-dialog-content-wrapper"},a.default.createElement(w.SnapUIRenderer,{snapId:null==W?void 0:W.origin,interfaceId:null==W?void 0:W.requestData.id,isPrompt:he,inputValue:he&&ae[null==W?void 0:W.type],onInputChange:he&&(e=>{return t=null==W?void 0:W.type,n=e.target.value??"",void re((e=>({...e,[t]:n})));var t,n}),placeholder:he&&(null==W?void 0:W.requestData.placeholder)})):a.default.createElement(f.default,{sections:be.content}),te&&a.default.createElement(g.default,{onSubmit:async()=>{const e=await be.onSubmit();await _e(e),ne(!1)},onCancel:be.onCancel})),a.default.createElement(S.default,{alerts:Q[W.id]&&Object.values(Q[W.id]).filter((e=>!1===e.dismissed)).map(((e,t,n)=>a.default.createElement(_.default,{key:e.id,severity:e.severity,dismiss:()=>Z(e.id),isFirst:0===t,isLast:t===n.length-1,isMultiple:n.length>1},a.default.createElement(f.default,{sections:e.content})))),style:fe?{boxShadow:"var(--shadow-size-lg) var(--color-shadow-default)"}:{},actionsStyle:fe?{borderTop:0}:{},onSubmit:!be.hideSubmitButton&&(async()=>{var e,t,n,a;if(se(!0),null!=W&&null!==(e=W.requestData)&&void 0!==e&&null!==(e=e.fromNetworkConfiguration)&&void 0!==e&&e.chainId&&null!=W&&null!==(t=W.requestData)&&void 0!==t&&null!==(t=t.toNetworkConfiguration)&&void 0!==t&&t.chainId&&r({category:p.MetaMetricsEventCategory.Network,event:p.MetaMetricsEventName.NavNetworkSwitched,properties:{location:"Switch Modal",from_network:W.requestData.fromNetworkConfiguration.chainId,to_network:W.requestData.toNetworkConfiguration.chainId,referrer:{url:window.location.origin}}}),null!==(n=ee[W.id])&&void 0!==n&&n.useWarningModal)ne(!0);else{const e=(a=W.type,ye.includes(a)?(e=>ae[e]??"")(W.type):null),t=await be.onSubmit(e);_e(t)}}),onCancel:be.onCancel,submitText:be.submitText,cancelText:be.cancelText,loadingText:ie||be.loadingText,loading:oe,submitAlerts:le.map(((e,t)=>a.default.createElement(_.default,{key:e.id,severity:e.severity,isFirst:0===t},a.default.createElement(f.default,{sections:e.content}))))}))}R.propTypes={redirectToHomeOnZeroConfirmations:r.default.bool}}}},{package:"$root$",file:"ui/pages/confirmations/confirmation/confirmation.js"}],[5671,{"./confirmation":5670},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./confirmation"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/confirmation/index.js"}],[5685,{"../../../../shared/constants/network":4507},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.IGNORE_GAS_LIMIT_CHAIN_IDS=n.EIP712_PRIMARY_TYPE_PERMIT=void 0;var a=e("../../../../shared/constants/network");n.EIP712_PRIMARY_TYPE_PERMIT="Permit",n.IGNORE_GAS_LIMIT_CHAIN_IDS=[a.CHAINLIST_CHAIN_IDS_MAP.MANTLE]}}},{package:"$root$",file:"ui/pages/confirmations/constants/index.ts"}],[5686,{"../../../../../shared/constants/network":4507,"../../../../../shared/constants/security-provider":4513,"../../../../helpers/constants/zendesk-url":5368,"../../../../hooks/useI18nContext":5427,"../../../../selectors":5987,"../../utils":5725,"../useCurrentConfirmation":5698,"./utils":5687,"@blockaid/ppom_release/package.json":291,react:4243,"react-redux":4199,zlib:3022},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=e("react"),r=e("react-redux"),o=f(e("@blockaid/ppom_release/package.json")),s=e("../../../../../shared/constants/security-provider"),i=f(e("../../../../helpers/constants/zendesk-url")),c=e("../../../../../shared/constants/network"),l=e("../../../../selectors"),u=e("../../../../hooks/useI18nContext"),d=e("../../utils"),m=f(e("../useCurrentConfirmation")),p=e("./utils");function f(e){return e&&e.__esModule?e:{default:e}}const g=e("zlib");n.default=()=>{const{currentConfirmation:e}=(0,m.default)(),t=(0,u.useI18nContext)(),n=null==e?void 0:e.securityAlertResponse,f=(0,r.useSelector)(l.getCurrentChainId),h=(0,r.useSelector)((e=>{var t;return null===(t=e.metamask.signatureSecurityAlertResponses)||void 0===t?void 0:t[null==n?void 0:n.securityAlertId]}));let v;if(h&&e){const{block:t,features:n,reason:a,result_type:r}=h,{chainId:i,msgParams:l,origin:u,type:d,txParams:m}=e,p=r===s.BlockaidResultType.Errored,g={blockNumber:t,blockaidVersion:o.default.version,chain:c.NETWORK_TO_NAME_MAP[i??f],classification:p?"error":a,domain:u??(null==l?void 0:l.origin)??(null==m?void 0:m.origin),jsonRpcMethod:d,jsonRpcParams:JSON.stringify(m??l),resultType:p?s.BlockaidResultType.Errored:r,reproduce:JSON.stringify(n)};v=JSON.stringify(g)}return(0,a.useMemo)((()=>{if(!(0,d.isSignatureTransactionType)(e))return[];if(!h||[s.BlockaidResultType.Benign,s.BlockaidResultType.Loading].includes(null==h?void 0:h.result_type))return[];let n=i.default.SUPPORT_URL;if(v){var a;const e=(null==g||null===(a=g.gzipSync)||void 0===a?void 0:a.call(g,v))??v;n=`${s.FALSE_POSITIVE_REPORT_BASE_URL}?data=${encodeURIComponent(e.toString("base64"))}&utm_source=${s.SECURITY_PROVIDER_UTM_SOURCE}`}return[(0,p.normalizeProviderAlert)(h,t,n)]}),[e,h])}}}},{package:"$root$",file:"ui/pages/confirmations/hooks/alerts/useBlockaidAlert.ts"}],[5687,{"../../../../../shared/constants/security-provider":4513,"../../../../helpers/constants/design-system":5355,"../../components/security-provider-banner-alert/blockaid-banner-alert/blockaid-banner-alert":5580},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.getProviderAlertSeverity=s,n.normalizeProviderAlert=function(e,t,n){return{key:e.securityAlertId||"",reason:t(o.REASON_TO_TITLE_TKEY[e.reason]||"blockaidTitleDeceptive"),severity:s(e.result_type),alertDetails:e.features,message:t(o.REASON_TO_DESCRIPTION_TKEY[e.reason]||o.REASON_TO_DESCRIPTION_TKEY.other),provider:a.SecurityProvider.Blockaid,reportUrl:n}};var a=e("../../../../../shared/constants/security-provider"),r=e("../../../../helpers/constants/design-system"),o=e("../../components/security-provider-banner-alert/blockaid-banner-alert/blockaid-banner-alert");function s(e){switch(e){case a.BlockaidResultType.Malicious:return r.Severity.Danger;case a.BlockaidResultType.Warning:return r.Severity.Warning;default:return r.Severity.Info}}}}},{package:"$root$",file:"ui/pages/confirmations/hooks/alerts/utils.ts"}],[5688,{"../../../ducks/confirm-alerts/confirm-alerts":5337,"../../../selectors":5987,"./useConfirmationAlerts":5695,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=e("react"),o=e("react-redux"),s=e("../../../ducks/confirm-alerts/confirm-alerts"),i=e("../../../selectors"),c=(a=e("./useConfirmationAlerts"))&&a.__esModule?a:{default:a};n.default=()=>{const e=(0,o.useDispatch)(),t=(0,o.useSelector)(i.currentConfirmationSelector),n=(0,c.default)(),a=null==t?void 0:t.id;(0,r.useEffect)((()=>{e((0,s.updateAlerts)(a,n))}),[n,a]),(0,r.useEffect)((()=>()=>{e((0,s.clearAlerts)(a))}),[])}}}},{package:"$root$",file:"ui/pages/confirmations/hooks/setConfirmationAlerts.ts"}],[5689,{"../../../ducks/confirm/confirm":5339,"./useCurrentConfirmation":5698,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=e("react"),o=e("react-redux"),s=e("../../../ducks/confirm/confirm"),i=(a=e("./useCurrentConfirmation"))&&a.__esModule?a:{default:a};n.default=()=>{const e=(0,o.useDispatch)(),{currentConfirmation:t}=(0,i.default)();(0,r.useEffect)((()=>{t&&e((0,s.updateCurrentConfirmation)(t))}),[t]),(0,r.useEffect)((()=>()=>{e((0,s.updateCurrentConfirmation)(undefined))}),[])}}}},{package:"$root$",file:"ui/pages/confirmations/hooks/setCurrentConfirmation.ts"}],[5690,{"../../../helpers/constants/routes":5361,"../selectors/confirm":5716,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=e("react"),r=e("react-redux"),o=e("react-router-dom"),s=e("../../../helpers/constants/routes"),i=e("../selectors/confirm");n.default=()=>{const e=(0,o.useHistory)(),{id:t}=(0,o.useParams)(),n=(0,r.useSelector)(i.currentConfirmationSelector);(0,a.useEffect)((()=>{n&&(t||e.replace(`${s.CONFIRM_TRANSACTION_ROUTE}/${n.id}`))}),[n,t])}}}},{package:"$root$",file:"ui/pages/confirmations/hooks/syncConfirmPath.ts"}],[5691,{react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useApproveTransaction=function(){const[e,t]=(0,a.useState)(!1);return{approveTransaction:(0,a.useCallback)((()=>t(!0)),[]),showCustomizeGasPopover:e,closeCustomizeGasPopover:()=>t(!1)}};var a=e("react")}}},{package:"$root$",file:"ui/pages/confirmations/hooks/useApproveTransaction.js"}],[5692,{"../../../../shared/modules/string-utils":4558,"../../../ducks/metamask/metamask":5346,"../../../helpers/utils/token-util":5396,"../../../hooks/usePrevious":5436,"../../../hooks/useTokenTracker":5447,"../../../store/actions":5998,lodash:3836,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useAssetDetails=function(e,t,n){const m=(0,o.useDispatch)(),p=(0,o.useSelector)(s.getNfts),f=(0,o.useSelector)(s.getTokens,a.isEqual).find((t=>(0,l.isEqualCaseInsensitive)(t.address,e))),[g,h]=(0,r.useState)(null),{tokensWithBalances:v}=(0,d.useTokenTracker)({tokens:f?[f]:[]}),T=(0,u.usePrevious)(e),y=(0,u.usePrevious)(t),b=(0,u.usePrevious)(n),_=(0,u.usePrevious)(v);if((0,r.useEffect)((()=>{(e!==T||t!==y||n!==b||_&&_!==v)&&async function(){m((0,c.showLoadingIndication)());const a=await(0,i.getAssetDetails)(e,t,n,p);h(a),m((0,c.hideLoadingIndication)())}()}),[m,T,b,y,e,t,n,p,v,_]),g){const{standard:t,symbol:n,image:a,name:r,balance:o,tokenId:s,toAddress:i,tokenAmount:c,decimals:l}=g;return{toAddress:i,tokenId:s,decimals:l,tokenAmount:c,assetAddress:e,assetStandard:t,tokenSymbol:n??"",tokenImage:a,userBalance:o,assetName:r}}return{}};var a=e("lodash"),r=e("react"),o=e("react-redux"),s=e("../../../ducks/metamask/metamask"),i=e("../../../helpers/utils/token-util"),c=e("../../../store/actions"),l=e("../../../../shared/modules/string-utils"),u=e("../../../hooks/usePrevious"),d=e("../../../hooks/useTokenTracker")}}},{package:"$root$",file:"ui/pages/confirmations/hooks/useAssetDetails.js"}],[5693,{"../../../../shared/constants/network":4507,"../../../hooks/useAccountTotalFiatBalance":5413,"../../../selectors":5987,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useBalance=void 0;var a=e("react-redux"),r=e("../../../selectors"),o=e("../../../../shared/constants/network"),s=e("../../../hooks/useAccountTotalFiatBalance");n.useBalance=e=>{const t=(0,a.useSelector)(r.getShouldHideZeroBalanceTokens),{totalWeiBalance:n}=(0,s.useAccountTotalFiatBalance)(e,t),i=(0,a.useSelector)(r.getCurrentNetwork),c=(0,a.useSelector)(r.getShowFiatInTestnets),l=o.TEST_NETWORKS.includes(null==i?void 0:i.nickname)&&!c;let u=n;const d=(0,a.useSelector)(r.getSelectedAccountCachedBalance);return e?(l&&(u=d),{balance:u}):{}}}}},{package:"$root$",file:"ui/pages/confirmations/hooks/useBalance.js"}],[5694,{react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=e("react");n.default=()=>(0,a.useCallback)((e=>{}),[])}}},{package:"$root$",file:"ui/pages/confirmations/hooks/useConfirmationAlertActions.ts"}],[5695,{"./alerts/useBlockaidAlert":5686,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=e("react"),o=(a=e("./alerts/useBlockaidAlert"))&&a.__esModule?a:{default:a};n.default=()=>{const e=(0,o.default)();return(0,r.useMemo)((()=>[...e]),[e])}}}},{package:"$root$",file:"ui/pages/confirmations/hooks/useConfirmationAlerts.ts"}],[5696,{"../../../../shared/constants/network":4507,"../../../ducks/metamask/metamask":5346,"../../../hooks/useI18nContext":5427,"../../../selectors":5987,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=e("react-redux"),r=e("../../../../shared/constants/network"),o=e("../../../selectors"),s=e("../../../ducks/metamask/metamask"),i=e("../../../hooks/useI18nContext");n.default=function(){var e;const t=(0,i.useI18nContext)(),n=(0,a.useSelector)(o.currentConfirmationSelector),c=(0,a.useSelector)(o.getAllNetworks),l=(0,a.useSelector)(s.getProviderConfig);let u,d="";if(n){const e=(null==n?void 0:n.chainId)??l.chainId;if(u=c.find((({id:t,chainId:n})=>n===e&&(l.type===r.NETWORK_TYPES.RPC?t===l.id:t===l.type))),u){const{nickname:e}=u;var m;if(l.type===r.NETWORK_TYPES.RPC)d=e??t("privateNetwork");else d=r.NETWORK_TO_NAME_MAP[null===(m=u)||void 0===m?void 0:m.chainId]}}return{networkImageUrl:(null===(e=u)||void 0===e||null===(e=e.rpcPrefs)||void 0===e?void 0:e.imageUrl)??"",networkDisplayName:d}}}}},{package:"$root$",file:"ui/pages/confirmations/hooks/useConfirmationNetworkInfo.ts"}],[5697,{"../../../helpers/utils/util":5399,"../../../selectors":5987,"../components/confirm/utils":5542,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=e("react-redux"),r=e("../../../helpers/utils/util"),o=e("../../../selectors"),s=e("../components/confirm/utils");n.default=function(){const e=(0,a.useSelector)(o.currentConfirmationSelector),t=(0,a.useSelector)(o.accountsWithSendEtherInfoSelector);let n,i;if(e){var c;const{from:a}=(0,s.getConfirmationSender)(e),o=(0,r.getAccountByAddress)(t,a);n=a,i=null==o||null===(c=o.metadata)||void 0===c?void 0:c.name}return{senderAddress:n||"",senderName:i||""}}}}},{package:"$root$",file:"ui/pages/confirmations/hooks/useConfirmationRecipientInfo.ts"}],[5698,{"../../../selectors":5987,"../utils":5725,"@metamask/controller-utils":1163,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=e("@metamask/controller-utils"),r=e("react"),o=e("react-redux"),s=e("react-router-dom"),i=e("../../../selectors"),c=e("../utils");n.default=()=>{const{id:e}=(0,s.useParams)(),t=(0,o.useSelector)(i.unconfirmedTransactionsHashSelector),n=(0,o.useSelector)(i.latestPendingConfirmationSelector),l=(0,o.useSelector)(i.pendingConfirmationsSelector),[u,d]=(0,r.useState)(),m=(0,o.useSelector)(i.getRedesignedConfirmationsEnabled);return(0,r.useEffect)((()=>{if(!m)return;let r;if(e){if(e===(null==u?void 0:u.id))return;r=l.find((({id:t})=>t===e))}if(!r){if(!n)return void d(undefined);r=n}if(r.id!==(null==u?void 0:u.id)){var o;const e=t[r.id];if(!t)return void d(undefined);if(!(c.REDESIGN_APPROVAL_TYPES.find((e=>{var t;return e===(null===(t=r)||void 0===t?void 0:t.type)}))||c.REDESIGN_TRANSACTION_TYPES.find((t=>t===(null==e?void 0:e.type)))))return void d(undefined);if((null===(o=r)||void 0===o?void 0:o.type)===a.ApprovalType.PersonalSign){const{siwe:t}=e.msgParams;if(null!=t&&t.isSIWEMessage)return void d(undefined)}d(e)}}),[n,e,t]),{currentConfirmation:u}}}}},{package:"$root$",file:"ui/pages/confirmations/hooks/useCurrentConfirmation.ts"}],[5699,{"../../../ducks/send":5348,"../../../selectors":5987,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useDraftTransactionWithTxParams=void 0;var a=e("react-redux"),r=e("../../../ducks/send"),o=e("../../../selectors");n.useDraftTransactionWithTxParams=()=>{const e=(0,a.useSelector)(r.getCurrentDraftTransaction),t=(0,a.useSelector)(o.getUnapprovedTransactions);let n={};if(0!==Object.keys(e).length){var s,i,c,l,u,d,m,p,f,g;const a=t[e.id];n={txParams:{gasPrice:null===(s=e.gas)||void 0===s?void 0:s.gasPrice,gas:null!=a&&a.userEditedGasLimit?null==a||null===(i=a.txParams)||void 0===i?void 0:i.gas:null===(c=e.gas)||void 0===c?void 0:c.gasLimit,maxFeePerGas:null!=a&&null!==(l=a.txParams)&&void 0!==l&&l.maxFeePerGas?null==a||null===(u=a.txParams)||void 0===u?void 0:u.maxFeePerGas:null===(d=e.gas)||void 0===d?void 0:d.maxFeePerGas,maxPriorityFeePerGas:null!=a&&null!==(m=a.txParams)&&void 0!==m&&m.maxPriorityFeePerGas?null==a||null===(p=a.txParams)||void 0===p?void 0:p.maxPriorityFeePerGas:null===(f=e.gas)||void 0===f?void 0:f.maxPriorityFeePerGas,value:null===(g=e.amount)||void 0===g?void 0:g.value,type:e.transactionType},userFeeLevel:null==a?void 0:a.userFeeLevel}}return n}}}},{package:"$root$",file:"ui/pages/confirmations/hooks/useDraftTransactionWithTxParams.js"}],[5700,{"../../../../shared/constants/gas":4500,"../../../../shared/modules/conversion.utils":4537,"../../../../shared/modules/gas.utils":4543,"../../../helpers/constants/common":5353,"../../../helpers/utils/transactions.util":5397,"../../../hooks/useCurrencyDisplay":5418,"../../../hooks/useUserPreferencedCurrency":5452,"../../../selectors":5987,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useGasEstimates=function({editGasMode:e,gasEstimateType:t,gasFeeEstimates:n,gasLimit:m,gasPrice:p,maxFeePerGas:f,maxPriorityFeePerGas:g,minimumGasLimit:h,transaction:v}){const T=(0,a.useSelector)((e=>(0,i.checkNetworkAndAccountSupports1559)(e,null==v?void 0:v.networkClientId)))&&!(0,c.isLegacyTransaction)(null==v?void 0:v.txParams),{currency:y,numberOfDecimals:b}=(0,u.useUserPreferencedCurrency)(s.PRIMARY);let _={gasLimit:(0,d.decimalToHex)(m)};_=T?{..._,maxFeePerGas:(0,d.decGWEIToHexWEI)(f||p||"0"),maxPriorityFeePerGas:(0,d.decGWEIToHexWEI)(g||f||p||"0"),baseFeePerGas:(0,d.decGWEIToHexWEI)((null==n?void 0:n.estimatedBaseFee)??"0")}:{..._,gasPrice:t===r.GasEstimateTypes.none?"0x0":(0,d.decGWEIToHexWEI)(p)};const E=(0,o.getMaximumGasTotalInHexWei)(_);e===r.EditGasModes.swaps&&(_={..._,gasLimit:h});const k=(0,o.getMinimumGasTotalInHexWei)(_),[x]=(0,l.useCurrencyDisplay)(k,{numberOfDecimals:b,currency:y});return{estimatedMinimumNative:x,maximumCostInHexWei:E,minimumCostInHexWei:k}};var a=e("react-redux"),r=e("../../../../shared/constants/gas"),o=e("../../../../shared/modules/gas.utils"),s=e("../../../helpers/constants/common"),i=e("../../../selectors"),c=e("../../../helpers/utils/transactions.util"),l=e("../../../hooks/useCurrencyDisplay"),u=e("../../../hooks/useUserPreferencedCurrency"),d=e("../../../../shared/modules/conversion.utils")}}},{package:"$root$",file:"ui/pages/confirmations/hooks/useGasEstimates.js"}],[5701,{"../../../../shared/constants/gas":4500,"../../../../shared/modules/Numeric":4533,"../../../helpers/constants/gas":5357,"../../../helpers/constants/transactions":5367,"../../../helpers/utils/transactions.util":5397,"../../../helpers/utils/util":5399,"../../../selectors":5987,"@metamask/transaction-controller":2234,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useGasFeeErrors=function({gasEstimateType:e,gasFeeEstimates:t,isGasEstimatesLoading:n,gasLimit:l,gasPrice:u,maxPriorityFeePerGas:d,maxFeePerGas:b,minimumCostInHexWei:_,minimumGasLimit:E,transaction:k}){const x=(0,r.useSelector)(i.checkNetworkAndAccountSupports1559)&&!(0,c.isLegacyTransaction)(null==k?void 0:k.txParams),w=e===s.GasEstimateTypes.feeMarket,C=p(l,E),A=f(d,x),S=g(b,A,d,x),P=h(w,u,x,k),N=v(t,w,n,d,x),M=T(t,n,w,S,A,b,x),O=(0,a.useMemo)((()=>{const e={};return C&&(e.gasLimit=C),A&&(e.maxPriorityFee=A),S&&(e.maxFee=S),P&&(e.gasPrice=P),e}),[C,A,S,P]),R=(0,a.useMemo)((()=>{const e={};return N&&(e.maxPriorityFee=N),M&&(e.maxFee=M),e}),[N,M]),I=Boolean(Object.keys(O).length),D=(0,a.useMemo)((()=>({...R,...O})),[O,R]),F=(0,r.useSelector)((e=>{var t;return(0,i.getTargetAccount)(e,null==k||null===(t=k.txParams)||void 0===t?void 0:t.from)}),r.shallowEqual),j=F!==undefined&&(null==k?void 0:k.type)!==o.TransactionType.incoming&&(null==k?void 0:k.status)in m.PENDING_STATUS_HASH&&y(_,k,F.balance);return{gasErrors:D,hasGasErrors:I,balanceError:j,hasSimulationError:Boolean(null==k?void 0:k.simulationFails)}};var a=e("react"),r=e("react-redux"),o=e("@metamask/transaction-controller"),s=e("../../../../shared/constants/gas"),i=e("../../../selectors"),c=e("../../../helpers/utils/transactions.util"),l=e("../../../helpers/utils/util"),u=e("../../../helpers/constants/gas"),d=e("../../../../shared/modules/Numeric"),m=e("../../../helpers/constants/transactions");const p=(e,t)=>new d.Numeric(e,10).lessThan(new d.Numeric(t||s.GAS_LIMITS.SIMPLE,16))?u.GAS_FORM_ERRORS.GAS_LIMIT_OUT_OF_BOUNDS:undefined,f=(e,t)=>t&&(0,l.bnLessThan)(e,0)?u.GAS_FORM_ERRORS.MAX_PRIORITY_FEE_BELOW_MINIMUM:undefined,g=(e,t,n,a)=>t||!a?undefined:(0,l.bnGreaterThan)(n,e)?u.GAS_FORM_ERRORS.MAX_FEE_IMBALANCE:undefined,h=(e,t,n,a)=>{var r;return n&&e?undefined:(!n||null!=a&&null!==(r=a.txParams)&&void 0!==r&&r.gasPrice)&&(0,l.bnLessThan)(t,0)?u.GAS_FORM_ERRORS.GAS_PRICE_TOO_LOW:undefined},v=(e,t,n,a,r)=>{var o;return r&&t&&!n?(0,l.bnLessThan)(a,null==e||null===(o=e.low)||void 0===o?void 0:o.suggestedMaxPriorityFeePerGas)?u.GAS_FORM_ERRORS.MAX_PRIORITY_FEE_TOO_LOW:null!=e&&e.high&&(0,l.bnGreaterThan)(a,1.5*e.high.suggestedMaxPriorityFeePerGas)?u.GAS_FORM_ERRORS.MAX_PRIORITY_FEE_HIGH_WARNING:undefined:undefined},T=(e,t,n,a,r,o,s)=>{var i;return r||a||!n||!s||t?undefined:(0,l.bnLessThan)(o,null==e||null===(i=e.low)||void 0===i?void 0:i.suggestedMaxFeePerGas)?u.GAS_FORM_ERRORS.MAX_FEE_TOO_LOW:null!=e&&e.high&&(0,l.bnGreaterThan)(o,1.5*e.high.suggestedMaxFeePerGas)?u.GAS_FORM_ERRORS.MAX_FEE_HIGH_WARNING:undefined},y=(e,t,n)=>{var a;if(e===undefined||n===undefined)return!1;const r=new d.Numeric(e,16).add(new d.Numeric((null==t||null===(a=t.txParams)||void 0===a?void 0:a.value)||"0x0",16)),o=new d.Numeric(n,16);return r.greaterThan(o)}}}},{package:"$root$",file:"ui/pages/confirmations/hooks/useGasFeeErrors.js"}],[5702,{"../../../../shared/constants/common":4495,"../../../../shared/constants/gas":4500,"../../../../shared/modules/Numeric":4533,"../../../../shared/modules/conversion.utils":4537,"../../../helpers/constants/gas":5357,"../../../helpers/utils/gas":5384,"../../../helpers/utils/transactions.util":5397,"../../../hooks/useGasFeeEstimates":5426,"../../../selectors":5987,"./useGasEstimates":5700,"./useGasFeeErrors":5701,"./useGasPriceInput":5703,"./useMaxFeePerGasInput":5706,"./useMaxPriorityFeePerGasInput":5707,"./useTransactionFunctions":5713,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useGasFeeInputs=function(e=o.GasRecommendations.medium,t,n="0x5208",_=o.EditGasModes.modifyInPlace){const E={txParams:null==t?void 0:t.txParams,id:null==t?void 0:t.id,userFeeLevel:null==t?void 0:t.userFeeLevel,originalGasEstimate:null==t?void 0:t.originalGasEstimate,userEditedGasLimit:null==t?void 0:t.userEditedGasLimit};null!=t&&t.previousGas&&(E.previousGas=null==t?void 0:t.previousGas);const[k,x]=(0,a.useState)(E),w=(0,u.editGasModeIsSpeedUpOrCancel)(_)?k:t,C=(0,r.useSelector)(i.checkNetworkAndAccountSupports1559)&&!(0,c.isLegacyTransaction)(null==w?void 0:w.txParams),{gasEstimateType:A,gasFeeEstimates:S,isGasEstimatesLoading:P,isNetworkBusy:N}=(0,l.useGasFeeEstimates)(null==w?void 0:w.networkClientId),M=(0,r.useSelector)(i.getAdvancedInlineGasShown),[O,R]=(0,a.useState)((()=>{var t,n;return M&&null!=w&&null!==(t=w.txParams)&&void 0!==t&&t.maxPriorityFeePerGas&&null!=w&&null!==(n=w.txParams)&&void 0!==n&&n.maxFeePerGas?null:w?(null==w?void 0:w.userFeeLevel)||null:e})),[I,D]=(0,a.useState)((()=>O||o.PriorityLevels.custom)),[F,j]=(0,a.useState)((()=>{var e;return Number((0,d.hexToDecimal)((null==w||null===(e=w.txParams)||void 0===e?void 0:e.gas)??"0x0"))})),L=Number((0,d.hexToDecimal)(null==w?void 0:w.originalGasEstimate));(0,a.useEffect)((()=>{if(C){var e,t,n;null!=w&&w.userFeeLevel&&R(null==w?void 0:w.userFeeLevel);const a=new m.Numeric((null==w||null===(e=w.txParams)||void 0===e?void 0:e.gas)??"0x0",16).times(new m.Numeric((null==w||null===(t=w.txParams)||void 0===t?void 0:t.maxFeePerGas)??"0x0",16)).toPrefixedHexString(),r=new m.Numeric(a,16,p.EtherDenomination.WEI).toDenomination(p.EtherDenomination.ETH).toBase(10).toString();Number(r)>Number(b)?D(o.PriorityLevels.dappSuggestedHigh):null!=w&&w.userFeeLevel&&D(null==w?void 0:w.userFeeLevel),j(Number((0,d.hexToDecimal)((null==w||null===(n=w.txParams)||void 0===n?void 0:n.gas)??"0x0")))}}),[D,j,R,C,w]);const{gasPrice:B,setGasPrice:G,setGasPriceHasBeenManuallySet:$}=(0,g.useGasPriceInput)({estimateToUse:O,gasEstimateType:A,gasFeeEstimates:S,transaction:w}),{maxFeePerGas:W,setMaxFeePerGas:U}=(0,h.useMaxFeePerGasInput)({estimateToUse:O,gasEstimateType:A,gasFeeEstimates:S,transaction:w}),{maxPriorityFeePerGas:H,setMaxPriorityFeePerGas:q}=(0,v.useMaxPriorityFeePerGasInput)({estimateToUse:O,gasEstimateType:A,gasFeeEstimates:S,transaction:w}),{estimatedMinimumNative:V,maximumCostInHexWei:z,minimumCostInHexWei:Y}=(0,T.useGasEstimates)({editGasMode:_,gasEstimateType:A,gasFeeEstimates:S,gasLimit:F,gasPrice:B,maxFeePerGas:W,maxPriorityFeePerGas:H,minimumGasLimit:n,transaction:w}),{balanceError:K,gasErrors:X,hasGasErrors:J,hasSimulationError:Q}=(0,f.useGasFeeErrors)({gasEstimateType:A,gasFeeEstimates:S,isGasEstimatesLoading:P,gasLimit:F,gasPrice:B,maxPriorityFeePerGas:H,maxFeePerGas:W,minimumCostInHexWei:Y,minimumGasLimit:n,transaction:w}),Z=(0,a.useCallback)((()=>{if(X.gasLimit===s.GAS_FORM_ERRORS.GAS_LIMIT_OUT_OF_BOUNDS){var e;const t=(0,d.hexToDecimal)(null==w||null===(e=w.txParams)||void 0===e?void 0:e.gas),a=(0,d.hexToDecimal)(n);j(t>a?t:a)}}),[n,X.gasLimit,w]),{cancelTransaction:ee,speedUpTransaction:te,updateTransaction:ne,updateTransactionToTenPercentIncreasedGasFee:ae,updateTransactionUsingDAPPSuggestedValues:re,updateTransactionUsingEstimate:oe}=(0,y.useTransactionFunctions)({defaultEstimateToUse:e,editGasMode:_,gasFeeEstimates:S,gasLimit:F,maxPriorityFeePerGas:H,minimumGasLimit:n,transaction:w,setRetryTxMeta:x}),se=(0,a.useCallback)((()=>{R(o.CUSTOM_GAS_ESTIMATE),Z(),G(B),j(F),U(W),q(H),$(!0),D("custom")}),[R,Z,G,B,j,F,U,W,q,H,$]);return{transaction:w,maxFeePerGas:W,maxPriorityFeePerGas:H,gasPrice:B,setGasPrice:G,gasLimit:F,setGasLimit:j,properGasLimit:L,editGasMode:_,estimateToUse:O,estimatedMinimumNative:V,maximumCostInHexWei:z,minimumCostInHexWei:Y,estimateUsed:I,gasFeeEstimates:S,isNetworkBusy:N,onManualChange:se,balanceError:K,gasErrors:X,hasGasErrors:J,hasSimulationError:Q,minimumGasLimitDec:(0,d.hexToDecimal)(n),supportsEIP1559:C,cancelTransaction:ee,speedUpTransaction:te,updateTransaction:ne,updateTransactionToTenPercentIncreasedGasFee:ae,updateTransactionUsingDAPPSuggestedValues:re,updateTransactionUsingEstimate:oe}};var a=e("react"),r=e("react-redux"),o=e("../../../../shared/constants/gas"),s=e("../../../helpers/constants/gas"),i=e("../../../selectors"),c=e("../../../helpers/utils/transactions.util"),l=e("../../../hooks/useGasFeeEstimates"),u=e("../../../helpers/utils/gas"),d=e("../../../../shared/modules/conversion.utils"),m=e("../../../../shared/modules/Numeric"),p=e("../../../../shared/constants/common"),f=e("./useGasFeeErrors"),g=e("./useGasPriceInput"),h=e("./useMaxFeePerGasInput"),v=e("./useMaxPriorityFeePerGasInput"),T=e("./useGasEstimates"),y=e("./useTransactionFunctions");const b="1"}}},{package:"$root$",file:"ui/pages/confirmations/hooks/useGasFeeInputs.js"}],[5703,{"../../../../shared/constants/gas":4500,"../../../../shared/modules/conversion.utils":4537,"../../../helpers/utils/transactions.util":5397,"./utils":5715,lodash:3836,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useGasPriceInput=function({estimateToUse:e,gasEstimateType:t,gasFeeEstimates:n,transaction:u}){const[d,m]=(0,a.useState)((null==u?void 0:u.userFeeLevel)===o.CUSTOM_GAS_ESTIMATE),[p,f]=(0,a.useState)((()=>{const{gasPrice:e}=(null==u?void 0:u.txParams)||{};return e&&(0,c.feeParamsAreCustom)(u)?Number((0,i.hexWEIToDecGWEI)(e)):null})),[g]=(0,a.useState)(n),h=(0,r.isEqual)(g,n);return{gasPrice:null!==p&&(d||h||(0,s.isLegacyTransaction)(null==u?void 0:u.txParams))?p:l(n,t,e),setGasPrice:f,setGasPriceHasBeenManuallySet:m}};var a=e("react"),r=e("lodash"),o=e("../../../../shared/constants/gas"),s=e("../../../helpers/utils/transactions.util"),i=e("../../../../shared/modules/conversion.utils"),c=e("./utils");function l(e,t,n){return t===o.GasEstimateTypes.legacy?(null==e?void 0:e[n])??"0":t===o.GasEstimateTypes.ethGasPrice?(null==e?void 0:e.gasPrice)??"0":"0"}}}},{package:"$root$",file:"ui/pages/confirmations/hooks/useGasPriceInput.js"}],[5704,{"../../../../shared/modules/conversion.utils":4537,"../../../../shared/modules/transaction.utils":4560,"../../../helpers/utils/gas":5384,"../../../hooks/useGasFeeEstimates":5426,"bignumber.js":2933,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useIncrementedGasFees=function(e){const{gasFeeEstimates:t={}}=(0,l.useGasFeeEstimates)(e.networkClientId);return(0,o.useMemo)((()=>{var n,a,r,o;const s={gasLimit:null===(n=e.txParams)||void 0===n?void 0:n.gas,gas:null===(a=e.txParams)||void 0===a?void 0:a.gas},c=(null==t||null===(r=t.medium)||void 0===r?void 0:r.suggestedMaxFeePerGas)??"0",l=(null==t||null===(o=t.medium)||void 0===o?void 0:o.suggestedMaxPriorityFeePerGas)??"0";if((0,i.isEIP1559Transaction)(e)){var d,m;const t=null===(d=e.txParams)||void 0===d?void 0:d.maxFeePerGas,n=null===(m=e.txParams)||void 0===m?void 0:m.maxPriorityFeePerGas;s.maxFeePerGas=t===undefined||t.startsWith("-")?"0x0":u(t,c),s.maxPriorityFeePerGas=n===undefined||n.startsWith("-")?"0x0":u(n,l)}else{var p;const t=null===(p=e.txParams)||void 0===p?void 0:p.gasPrice;s.gasPrice=t===undefined||t.startsWith("-")?"0x0":u(t,c)}return s}),[e,t])};var a,r=(a=e("bignumber.js"))&&a.__esModule?a:{default:a},o=e("react"),s=e("../../../../shared/modules/conversion.utils"),i=e("../../../../shared/modules/transaction.utils"),c=e("../../../helpers/utils/gas"),l=e("../../../hooks/useGasFeeEstimates");function u(e,t){const n=(0,c.addTenPercentAndRound)(e),a=(0,s.decGWEIToHexWEI)(t);return new r.default(n,16).greaterThan(new r.default(a,16))?n:a}}}},{package:"$root$",file:"ui/pages/confirmations/hooks/useIncrementedGasFees.js"}],[5705,{"../../../../shared/constants/hardware-wallets":4501,"../../../ducks/app/app":5336,"../../../ducks/metamask/metamask":5346,"../../../store/actions":5998,"../selectors":5717,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=e("react"),r=e("react-redux"),o=e("../../../../shared/constants/hardware-wallets"),s=e("../../../ducks/app/app"),i=e("../../../ducks/metamask/metamask"),c=e("../../../store/actions"),l=e("../selectors");n.default=()=>{const e=(0,r.useDispatch)(),t=(0,r.useSelector)(l.currentConfirmationSelector),n=(0,r.useSelector)(i.getLedgerTransportType),u=(0,r.useSelector)(s.getLedgerTransportStatus),d=(0,r.useSelector)(s.getLedgerWebHidConnectedStatus);let m;null!=t&&t.msgParams&&(m=t.msgParams.from);const p=(0,r.useSelector)((e=>m&&(0,i.isAddressLedger)(e,m)));return(0,a.useEffect)((()=>{if(!p)return;(async()=>{if(n===o.LedgerTransportTypes.webhid&&d===o.WebHIDConnectedStatuses.connected&&u===o.HardwareTransportStates.none)try{const t=await(0,c.attemptLedgerTransportCreation)();e((0,s.setLedgerTransportStatus)(t?o.HardwareTransportStates.verified:o.HardwareTransportStates.unknownFailure))}catch(t){t.message.match("Failed to open the device")?e((0,s.setLedgerTransportStatus)(o.HardwareTransportStates.deviceOpenFailure)):t.message.match("the device is already open")?e((0,s.setLedgerTransportStatus)(o.HardwareTransportStates.verified)):e((0,s.setLedgerTransportStatus)(o.HardwareTransportStates.unknownFailure))}})(),(async()=>{if(n===o.LedgerTransportTypes.webhid&&d!==o.WebHIDConnectedStatuses.connected){var t;const n=await(null===(t=window.navigator)||void 0===t||null===(t=t.hid)||void 0===t?void 0:t.getDevices()),a=null==n?void 0:n.some((e=>e.vendorId===Number(o.LEDGER_USB_VENDOR_ID)));e((0,s.setLedgerWebHidConnectedStatus)(a?o.WebHIDConnectedStatuses.connected:o.WebHIDConnectedStatuses.notConnected))}})()}),[e,n,p,d,u]),(0,a.useEffect)((()=>p?()=>{e((0,s.setLedgerTransportStatus)(o.HardwareTransportStates.none))}:undefined),[e]),{isLedgerWallet:p}}}}},{package:"$root$",file:"ui/pages/confirmations/hooks/useLedgerConnection.ts"}],[5706,{"../../../../shared/modules/conversion.utils":4537,"../../../helpers/utils/transactions.util":5397,"../../../selectors":5987,"./utils":5715,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useMaxFeePerGasInput=function({estimateToUse:e,gasEstimateType:t,gasFeeEstimates:n,transaction:i}){const u=(0,r.useSelector)(o.checkNetworkAndAccountSupports1559)&&!(0,s.isLegacyTransaction)(null==i?void 0:i.txParams),d=u?l(i,n):0,[m,p]=(0,a.useState)((()=>d&&(0,c.feeParamsAreCustom)(i)?d:null));(0,a.useEffect)((()=>{u&&d&&p(d)}),[d,p,u]);return{maxFeePerGas:m??(0,c.getGasFeeEstimate)("suggestedMaxFeePerGas",n,t,e,d||0),setMaxFeePerGas:p}};var a=e("react"),r=e("react-redux"),o=e("../../../selectors"),s=e("../../../helpers/utils/transactions.util"),i=e("../../../../shared/modules/conversion.utils"),c=e("./utils");const l=(e,t)=>{if(null!=t&&t[null==e?void 0:e.userFeeLevel])return t[e.userFeeLevel].suggestedMaxFeePerGas;const{maxFeePerGas:n,gasPrice:a}=(null==e?void 0:e.txParams)||{};return Number((0,i.hexWEIToDecGWEI)(n||a))}}}},{package:"$root$",file:"ui/pages/confirmations/hooks/useMaxFeePerGasInput.js"}],[5707,{"../../../../shared/modules/conversion.utils":4537,"../../../helpers/utils/transactions.util":5397,"../../../selectors":5987,"./utils":5715,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useMaxPriorityFeePerGasInput=function({estimateToUse:e,gasEstimateType:t,gasFeeEstimates:n,transaction:i}){const d=(0,a.useSelector)(o.checkNetworkAndAccountSupports1559)&&!(0,s.isLegacyTransaction)(null==i?void 0:i.txParams),m=d?u(i,n):null,[p,f]=(0,r.useState)((()=>!l(m)&&(0,c.feeParamsAreCustom)(i)?m:null));(0,r.useEffect)((()=>{d&&!l(m)&&f(m)}),[m,f,d]);return{maxPriorityFeePerGas:p??(0,c.getGasFeeEstimate)("suggestedMaxPriorityFeePerGas",n,t,e,m||0),setMaxPriorityFeePerGas:f}};var a=e("react-redux"),r=e("react"),o=e("../../../selectors"),s=e("../../../helpers/utils/transactions.util"),i=e("../../../../shared/modules/conversion.utils"),c=e("./utils");const l=e=>null===e||e===undefined,u=(e,t)=>{if(null!=t&&t[null==e?void 0:e.userFeeLevel])return t[e.userFeeLevel].suggestedMaxPriorityFeePerGas;const{maxPriorityFeePerGas:n,maxFeePerGas:a,gasPrice:r}=(null==e?void 0:e.txParams)||{},o=n||a||r;return o?Number((0,i.hexWEIToDecGWEI)(o)):null}}}},{package:"$root$",file:"ui/pages/confirmations/hooks/useMaxPriorityFeePerGasInput.js"}],[5708,{"../../../ducks/confirm-transaction/confirm-transaction.duck":5338,"../../../ducks/history/history":5343,"../../../helpers/utils/util":5399,"../../../selectors":5987,"../../../store/actions":5998,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useRejectTransactionModal=function(){const e=(0,a.useDispatch)(),t=(0,r.useHistory)(),n=(0,a.useSelector)(c.getMostRecentOverviewPage),u=(0,a.useSelector)(l.getTotalUnapprovedMessagesCount),d=(0,a.useSelector)(l.unconfirmedMessagesHashSelector);return{handleCancelAll:()=>{e((0,s.showModal)({name:"REJECT_TRANSACTIONS",onSubmit:async()=>{await e((0,s.rejectAllMessages)((0,o.valuesFor)(d))),e((0,i.clearConfirmTransaction)()),t.push(n)},unapprovedTxCount:u,isRequestType:!0}))}}};var a=e("react-redux"),r=e("react-router-dom"),o=e("../../../helpers/utils/util"),s=e("../../../store/actions"),i=e("../../../ducks/confirm-transaction/confirm-transaction.duck"),c=e("../../../ducks/history/history"),l=e("../../../selectors")}}},{package:"$root$",file:"ui/pages/confirmations/hooks/useRejectTransactionModal.js"}],[5709,{"../../../ducks/history/history":5343,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useRouting=function(){const e=(0,r.useHistory)(),t=(0,o.useSelector)(s.getMostRecentOverviewPage);return{navigateToMostRecentOverviewPage:(0,a.useCallback)((()=>{e.push(t)}),[e,t])}};var a=e("react"),r=e("react-router-dom"),o=e("react-redux"),s=e("../../../ducks/history/history")}}},{package:"$root$",file:"ui/pages/confirmations/hooks/useRouting.js"}],[5710,{"../../../selectors":5987,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useSimulationFailureWarning=function(e){const t=(0,a.useSelector)(r.txDataSelector)||{},n=Boolean(t.simulationFails);return n&&!e};var a=e("react-redux"),r=e("../../../selectors")}}},{package:"$root$",file:"ui/pages/confirmations/hooks/useSimulationFailureWarning.js"}],[5711,{"../../../contexts/gasFee":5323,"../../../selectors":5987,"../../../store/actions":5998,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useTransactionEventFragment=void 0;var a=e("react"),r=e("react-redux"),o=e("../../../contexts/gasFee"),s=e("../../../store/actions"),i=e("../../../selectors");n.useTransactionEventFragment=()=>{const{transaction:e}=(0,o.useGasFeeContext)(),t=(0,r.useSelector)((t=>(0,i.selectMatchingFragment)(t,{fragmentOptions:{},existingId:`transaction-added-${null==e?void 0:e.id}`}))),n=Boolean(t),c=null==e?void 0:e.id;return{updateTransactionEventFragment:(0,a.useCallback)((async(e,t)=>{const a=t||c;a&&(n||await(0,s.createTransactionEventFragment)(a),(0,s.updateEventFragment)(`transaction-added-${a}`,e))}),[n,c])}}}}},{package:"$root$",file:"ui/pages/confirmations/hooks/useTransactionEventFragment.js"}],[5712,{"../../../../shared/constants/app":4493,"../../../ducks/metamask/metamask":5346,"../../../helpers/utils/metrics":5389,"../../../helpers/utils/transactions.util":5397,"../../../hooks/useI18nContext":5427,"../../../selectors":5987,"@metamask/transaction-controller":2234,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useTransactionFunctionType=void 0;var a=e("react-redux"),r=e("@metamask/transaction-controller"),o=e("../../../../shared/constants/app"),s=e("../../../selectors"),i=e("../../../ducks/metamask/metamask"),c=e("../../../helpers/utils/transactions.util"),l=e("../../../helpers/utils/metrics"),u=e("../../../hooks/useI18nContext");n.useTransactionFunctionType=(e={})=>{const t=(0,u.useI18nContext)(),n=(0,a.useSelector)(i.getNativeCurrency),{txParams:d}=e,m=(0,a.useSelector)((e=>(0,s.getKnownMethodData)(e,null==d?void 0:d.data)||{}));if(!d)return{};const p=e.type===r.TransactionType.tokenMethodSetApprovalForAll||e.type===r.TransactionType.tokenMethodApprove||e.type===r.TransactionType.tokenMethodIncreaseAllowance,f=e.type===r.TransactionType.contractInteraction;let g=(p||f)&&e.origin!==o.ORIGIN_METAMASK?(0,l.getMethodName)(null==m?void 0:m.name):undefined;return g||(g=e.type?(0,c.getTransactionTypeTitle)(t,e.type,n):t("contractInteraction")),{functionType:g}}}}},{package:"$root$",file:"ui/pages/confirmations/hooks/useTransactionFunctionType.js"}],[5713,{"../../../../shared/constants/gas":4500,"../../../../shared/modules/conversion.utils":4537,"../../../helpers/utils/gas":5384,"../../../store/actions":5998,"bignumber.js":2933,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useTransactionFunctions=void 0;var a,r=e("react"),o=e("react-redux"),s=(a=e("bignumber.js"))&&a.__esModule?a:{default:a},i=e("../../../../shared/constants/gas"),c=e("../../../helpers/utils/gas"),l=e("../../../store/actions"),u=e("../../../../shared/modules/conversion.utils");n.useTransactionFunctions=({defaultEstimateToUse:e,editGasMode:t,estimatedBaseFee:n,gasFeeEstimates:a,gasLimit:d,maxPriorityFeePerGas:m,transaction:p,setRetryTxMeta:f})=>{const g=(0,o.useDispatch)(),h=(0,r.useCallback)((()=>{if(t!==i.EditGasModes.cancel&&t!==i.EditGasModes.speedUp||p.previousGas)return{};const{maxFeePerGas:e,maxPriorityFeePerGas:n,gasLimit:a}=(null==p?void 0:p.txParams)??{};return{previousGas:{maxFeePerGas:e,maxPriorityFeePerGas:n,gasLimit:a}}}),[t,null==p?void 0:p.previousGas,null==p?void 0:p.txParams]),v=(0,r.useCallback)((async({estimateUsed:n,gasLimit:a,maxFeePerGas:r,maxPriorityFeePerGas:o,estimateSuggested:s})=>{const v={gas:(0,u.decimalToHex)(a||d),gasLimit:(0,u.decimalToHex)(a||d),estimateSuggested:s||e,estimateUsed:n};r&&(v.maxFeePerGas=r),o&&(v.maxPriorityFeePerGas=o||(0,u.decGWEIToHexWEI)(m));const T=h(),y={...p,userFeeLevel:n||i.PriorityLevels.custom,txParams:{...p.txParams,...v},...T};t===i.EditGasModes.swaps?(g((0,l.updateSwapsUserFeeLevel)(n||i.PriorityLevels.custom)),g((0,l.updateCustomSwapsEIP1559GasParams)(v))):(0,c.editGasModeIsSpeedUpOrCancel)(t)?f(y):(v.userEditedGasLimit=y.userEditedGasLimit,v.userFeeLevel=y.userFeeLevel,T&&T.previousGas&&await g((0,l.updatePreviousGasParams)(y.id,T.previousGas)),await g((0,l.updateTransactionGasFees)(y.id,v)))}),[e,g,t,d,h,m,p,f]),T=(0,r.useCallback)((()=>{g((0,l.createCancelTransaction)(p.id,p.txParams,{estimatedBaseFee:n}))}),[g,n,p]),y=(0,r.useCallback)((()=>{g((0,l.createSpeedUpTransaction)(p.id,p.txParams,{estimatedBaseFee:n}))}),[g,n,p]),b=(0,r.useCallback)(((t=!1)=>{const{gas:n,maxFeePerGas:r,maxPriorityFeePerGas:o}=p.previousGas||p.txParams,l=new s.default(o,16).isZero()?(0,u.decGWEIToHexWEI)(a[e].suggestedMaxPriorityFeePerGas):o,d="0x0"===o?i.CUSTOM_GAS_ESTIMATE:i.PriorityLevels.tenPercentIncreased;a&&v({estimateSuggested:t?e:i.PriorityLevels.tenPercentIncreased,estimateUsed:d,gasLimit:n,maxFeePerGas:(0,c.addTenPercentAndRound)(r),maxPriorityFeePerGas:(0,c.addTenPercentAndRound)(l)})}),[e,a,p,v]),_=(0,r.useCallback)((e=>{if(!a[e])return;const{suggestedMaxFeePerGas:t,suggestedMaxPriorityFeePerGas:n}=a[e];v({estimateUsed:e,maxFeePerGas:(0,u.decGWEIToHexWEI)(t),maxPriorityFeePerGas:(0,u.decGWEIToHexWEI)(n)})}),[a,v]),E=(0,r.useCallback)((()=>{const{maxFeePerGas:e,maxPriorityFeePerGas:t}=(null==p?void 0:p.dappSuggestedGasFees)??{};v({estimateUsed:i.PriorityLevels.dAppSuggested,maxFeePerGas:e,maxPriorityFeePerGas:t})}),[p,v]);return{cancelTransaction:T,speedUpTransaction:y,updateTransaction:v,updateTransactionToTenPercentIncreasedGasFee:b,updateTransactionUsingDAPPSuggestedValues:E,updateTransactionUsingEstimate:_}}}}},{package:"$root$",file:"ui/pages/confirmations/hooks/useTransactionFunctions.js"}],[5714,{"../../../../shared/modules/string-utils":4558,"../../../ducks/metamask/metamask":5346,"../../../selectors":5987,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useTransactionInfo=void 0;var a=e("react-redux"),r=e("../../../ducks/metamask/metamask"),o=e("../../../../shared/modules/string-utils"),s=e("../../../selectors");n.useTransactionInfo=(e={})=>{var t;const{allNftContracts:n}=(0,a.useSelector)((e=>e.metamask)),i=(0,a.useSelector)(s.getSelectedInternalAccount),{chainId:c}=(0,a.useSelector)(r.getProviderConfig);return{isNftTransfer:Boolean(null==n||null===(t=n[i.address])||void 0===t||null===(t=t[c])||void 0===t?void 0:t.find((t=>(0,o.isEqualCaseInsensitive)(t.address,e.txParams.to))))}}}}},{package:"$root$",file:"ui/pages/confirmations/hooks/useTransactionInfo.js"}],[5715,{"../../../../shared/constants/gas":4500},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.feeParamsAreCustom=void 0,n.getGasFeeEstimate=function(e,t,n,r,o="0"){var s;return n===a.GasEstimateTypes.feeMarket?(null==t||null===(s=t[r])||void 0===s?void 0:s[e])??String(o):String(o)};var a=e("../../../../shared/constants/gas");n.feeParamsAreCustom=e=>!(null!=e&&e.userFeeLevel)||(null==e?void 0:e.userFeeLevel)===a.CUSTOM_GAS_ESTIMATE}}},{package:"$root$",file:"ui/pages/confirmations/hooks/utils.js"}],[5717,{"./confirm":5716},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var a=e("./confirm");Object.keys(a).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in n&&n[e]===a[e]||Object.defineProperty(n,e,{enumerable:!0,get:function(){return a[e]}}))}))}}},{package:"$root$",file:"ui/pages/confirmations/selectors/index.ts"}],[5718,{"../../../../../../app/scripts/lib/util":120,"../../../../../../shared/modules/hexstring-utils":4544,"../../../../../components/component-library":4955,"../../../../../helpers/constants/design-system":5355,"../../../../../helpers/utils/util":5399,"@metamask/utils":2300,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=p(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=m(e("prop-types")),o=m(e("classnames")),s=e("@metamask/utils"),i=e("../../../../../../app/scripts/lib/util"),c=e("../../../../../helpers/utils/util"),l=e("../../../../../../shared/modules/hexstring-utils"),u=e("../../../../../components/component-library"),d=e("../../../../../helpers/constants/design-system");function m(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(p=function(e){return e?n:t})(e)}function f(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class g extends a.Component{constructor(...e){super(...e),f(this,"onPaste",(e=>{var t;if(null!==(t=e.clipboardData.items)&&void 0!==t&&t.length){const t=e.clipboardData.items[0];null==t||t.getAsString((e=>{const t=e.trim();!(0,l.isBurnAddress)(t)&&(0,l.isValidHexAddress)(t,{mixedCaseUseChecksum:!0})&&this.props.onPaste((0,i.addHexPrefix)(t))}))}})),f(this,"onChange",(({target:{value:e}})=>{const{onValidAddressTyped:t,internalSearch:n,onChange:a,lookupDomainName:r,resetDomainResolution:o}=this.props,u=e.trim();return a(u),n||(c.IS_FLASK&&!(0,s.isHexString)(u)||(0,c.isValidDomainName)(u)?r(u):(o(),t&&!(0,l.isBurnAddress)(u)&&(0,l.isValidHexAddress)(u,{mixedCaseUseChecksum:!0})&&t((0,i.addHexPrefix)(u)))),null}))}componentDidMount(){this.props.initializeDomainSlice()}render(){const{t:e}=this.context,{className:t,selectedAddress:n,selectedName:r,userInput:s,useBlockie:i}=this.props,m=Boolean(n),p=r&&n?(0,c.shortenAddress)((0,l.toChecksumHexAddress)(n)):undefined;return a.default.createElement("div",{className:(0,o.default)("ens-input",t)},a.default.createElement("div",{className:(0,o.default)("ens-input__wrapper",{"ens-input__wrapper__status-icon--error":!1,"ens-input__wrapper__status-icon--valid":!1,"ens-input__wrapper--valid":m})},m?a.default.createElement(a.default.Fragment,null,a.default.createElement("div",{className:"ens-input__wrapper__input ens-input__wrapper__input--selected"},a.default.createElement(u.AvatarAccount,{variant:i?u.AvatarAccountVariant.Blockies:u.AvatarAccountVariant.Jazzicon,address:n,size:d.Size.MD,borderColor:d.BackgroundColor.backgroundDefault}),a.default.createElement("div",{className:"ens-input__selected-input__title"},r||n,p?a.default.createElement(u.Text,{color:d.TextColor.textAlternative,variant:d.TextVariant.bodySm,ellipsis:!0},p):null)),a.default.createElement(u.ButtonIcon,{iconName:u.IconName.Close,ariaLabel:e("close"),onClick:this.props.onReset,className:"ens-input__wrapper__action-icon-button",size:u.IconSize.Sm})):a.default.createElement(a.default.Fragment,null,a.default.createElement("input",{className:"ens-input__wrapper__input",type:"text",dir:"auto",placeholder:c.IS_FLASK?e("recipientAddressPlaceholderFlask"):e("recipientAddressPlaceholder"),onChange:this.onChange,onPaste:this.onPaste,spellCheck:"false",value:n||s,autoFocus:!0,"data-testid":"ens-input"}),a.default.createElement(u.ButtonIcon,{className:"ens-input__wrapper__action-icon-button",onClick:()=>{s?this.props.onReset():this.props.scanQrCode()},iconName:s?u.IconName.Close:u.IconName.Scan,ariaLabel:e(s?"close":"scanQrCode"),color:s?d.IconColor.iconDefault:d.IconColor.primaryDefault,"data-testid":"ens-qr-scan-button"}))))}}n.default=g,f(g,"contextTypes",{t:r.default.func,metricsEvent:r.default.func}),f(g,"propTypes",{className:r.default.string,useBlockie:r.default.bool,selectedAddress:r.default.string,selectedName:r.default.string,scanQrCode:r.default.func,onPaste:r.default.func,onValidAddressTyped:r.default.func,internalSearch:r.default.bool,userInput:r.default.string,onChange:r.default.func.isRequired,onReset:r.default.func.isRequired,lookupDomainName:r.default.func.isRequired,initializeDomainSlice:r.default.func.isRequired,resetDomainResolution:r.default.func.isRequired})}}},{package:"$root$",file:"ui/pages/confirmations/send/send-content/add-recipient/domain-input.component.js"}],[5719,{"../../../../../ducks/domains":5340,"../../../../../selectors":5987,"./domain-input.component":5718,lodash:3836,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=e("lodash"),o=e("react-redux"),s=e("../../../../../ducks/domains"),i=e("../../../../../selectors"),c=(a=e("./domain-input.component"))&&a.__esModule?a:{default:a};n.default=(0,o.connect)((function(e){return{useBlockie:(0,i.getUseBlockie)(e)}}),(function(e){return{lookupDomainName:(0,r.debounce)((t=>e((0,s.lookupDomainName)(t))),150),initializeDomainSlice:()=>e((0,s.initializeDomainSlice)()),resetDomainResolution:(0,r.debounce)((()=>e((0,s.resetDomainResolution)())),300)}}))(c.default)}}},{package:"$root$",file:"ui/pages/confirmations/send/send-content/add-recipient/domain-input.container.js"}],[5720,{"./domain-input.container":5719},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./domain-input.container"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/send/send-content/add-recipient/domain-input.js"}],[5723,{"../../../../shared/constants/network":4507,"../../../../shared/constants/security-provider":4513,"../../../../shared/constants/tokens":4519,"../../../../shared/lib/transactions-controller-utils":4531,"../../../../shared/modules/security-provider.utils":4552,"../../../components/app/network-account-balance-header/network-account-balance-header":4713,"../../../components/component-library":4955,"../../../components/ui/box/box":5193,"../../../components/ui/button":5198,"../../../components/ui/dialog":5213,"../../../components/ui/page-container":5275,"../../../components/ui/url-icon/url-icon":5320,"../../../contexts/gasFee":5323,"../../../contexts/i18n":5324,"../../../ducks/app/app":5336,"../../../ducks/confirm-transaction/confirm-transaction.duck":5338,"../../../ducks/history/history":5343,"../../../helpers/constants/design-system":5355,"../../../helpers/utils/util":5399,"../../../selectors":5987,"../../../store/actions":5998,"../components/approve-content-card/approve-content-card":5490,"../components/blockaid-unavailable-banner-alert/blockaid-unavailable-banner-alert":5491,"../components/confirm-page-container":5511,"../components/confirm-page-container/confirm-page-container-content":5505,"../components/contract-details-modal/contract-details-modal":5545,"../components/contract-token-values/contract-token-values":5547,"../components/custom-nonce":5549,"../components/custom-spending-cap/custom-spending-cap":5551,"../components/fee-details-component/fee-details-component":5571,"../components/ledger-instruction-field/ledger-instruction-field":5576,"../components/review-spending-cap/review-spending-cap":5579,"../components/security-provider-banner-alert/blockaid-banner-alert/blockaid-banner-alert":5580,"../components/security-provider-banner-message/security-provider-banner-message":5584,"../components/simulation-error-message":5623,"../confirm-approve/confirm-approve.util":5641,"../hooks/useSimulationFailureWarning":5710,"bignumber.js":2933,"prop-types":3997,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=Y;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=V(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=e("react-redux"),o=e("react-router-dom"),s=q(e("prop-types")),i=q(e("bignumber.js")),c=q(e("../../../components/ui/box/box")),l=q(e("../../../components/app/network-account-balance-header/network-account-balance-header")),u=q(e("../../../components/ui/url-icon/url-icon")),d=e("../../../helpers/constants/design-system"),m=e("../../../contexts/i18n"),p=q(e("../components/contract-token-values/contract-token-values")),f=q(e("../../../components/ui/button")),g=q(e("../components/review-spending-cap/review-spending-cap")),h=e("../../../components/ui/page-container"),v=q(e("../components/contract-details-modal/contract-details-modal")),T=e("../../../selectors"),y=e("../../../../shared/constants/network"),b=e("../../../store/actions"),_=e("../../../ducks/confirm-transaction/confirm-transaction.duck"),E=e("../../../ducks/history/history"),k=q(e("../components/approve-content-card/approve-content-card")),x=q(e("../components/custom-spending-cap/custom-spending-cap")),w=q(e("../../../components/ui/dialog")),C=e("../../../contexts/gasFee"),A=e("../confirm-approve/confirm-approve.util"),S=e("../../../ducks/app/app"),P=e("../../../helpers/utils/util"),N=e("../../../../shared/lib/transactions-controller-utils"),M=e("../../../../shared/constants/tokens"),O=e("../../../../shared/modules/security-provider.utils"),R=q(e("../components/security-provider-banner-alert/blockaid-banner-alert/blockaid-banner-alert")),I=e("../components/confirm-page-container"),D=e("../hooks/useSimulationFailureWarning"),F=q(e("../components/simulation-error-message")),j=q(e("../components/ledger-instruction-field/ledger-instruction-field")),L=q(e("../components/security-provider-banner-message/security-provider-banner-message")),B=e("../../../components/component-library"),G=e("../components/confirm-page-container/confirm-page-container-content"),$=q(e("../components/custom-nonce")),W=q(e("../components/fee-details-component/fee-details-component")),U=e("../../../../shared/constants/security-provider"),H=e("../components/blockaid-unavailable-banner-alert/blockaid-unavailable-banner-alert");function q(e){return e&&e.__esModule?e:{default:e}}function V(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(V=function(e){return e?n:t})(e)}const z=["portfolio.metamask.io"];function Y({origin:e,siteImage:t,showCustomizeGasModal:n,useNonceField:s,currentCurrency:q,nativeCurrency:V,ethTransactionTotal:Y,fiatTransactionTotal:K,hexTransactionTotal:X,hexMinimumTransactionFee:J,txData:Q,supportsEIP1559:Z,userAddress:ee,tokenAddress:te,data:ne,isSetApproveForAll:ae,isApprovalOrRejection:re,decimals:oe,dappProposedTokenAmount:se,currentTokenBalance:ie,toAddress:ce,tokenSymbol:le,fromAddressIsLedger:ue,warning:de}){var me;const pe=(0,a.useContext)(m.I18nContext),fe=(0,r.useDispatch)(),ge=(0,o.useHistory)(),he=(0,r.useSelector)(E.getMostRecentOverviewPage),{hostname:ve}=new URL(e),Te=z.includes(ve),ye=(0,r.useSelector)(T.getCustomTokenAmount),[be,_e]=(0,a.useState)(ye),[Ee,ke]=(0,a.useState)(!1),[xe,we]=(0,a.useState)(!1),[Ce,Ae]=(0,a.useState)(!1),[Se,Pe]=(0,a.useState)("0"!==se&&!Te),[Ne,Me]=(0,a.useState)(""),[Oe,Re]=(0,a.useState)(!1),Ie=(0,D.useSimulationFailureWarning)(Oe),De=(0,r.useSelector)((e=>(0,T.getTargetAccountWithSendEtherInfo)(e,ee))),Fe=(0,r.useSelector)(T.getNetworkIdentifier),je=(0,r.useSelector)(T.getRpcPrefsForCurrentProvider),Le=(0,r.useSelector)(T.getUnapprovedTxCount),Be=(0,r.useSelector)(T.getUnapprovedTransactions),Ge=(0,r.useSelector)(T.getUseCurrencyRateCheck),$e=(0,r.useSelector)(T.getNextSuggestedNonce),We=(0,r.useSelector)(T.getCustomNonceValue);(0,a.useEffect)((()=>{be&&""!==be||!se||_e(se)}),[]);const Ue=e=>e.replace(/,/gu,".");let He=M.NUM_W_OPT_DECIMAL_COMMA_OR_DOT_REGEX.test(be)?Ue(be).toString():"0";const qe=(0,N.calcTokenAmount)(M.MAX_TOKEN_ALLOWANCE_AMOUNT,oe);if(be.length>1&&Number(be)){new i.default(be).greaterThan(qe)&&(He=0)}const Ve=He?(0,A.getCustomTxParamsData)(ne,{customPermissionAmount:He,decimals:oe}):null;let ze={...Q};Ve&&(ze={...ze,txParams:{...ze.txParams,data:Ve}});const Ye=(0,r.useSelector)((e=>(0,T.transactionFeeSelector)(e,ze))),Ke=(0,r.useSelector)((e=>(0,T.getKnownMethodData)(e,ne))),{balanceError:Xe}=(0,C.useGasFeeContext)(),Je=Se&&(""===be||""!==Ne),Qe=!Se&&Xe,Ze=y.NETWORK_TO_NAME_MAP[ze.chainId]||Fe,et=()=>{const{name:e}=Ke;var t;Ye.gasEstimationObject.baseFeePerGas&&(ze.estimatedBaseFee=Ye.gasEstimationObject.baseFeePerGas),e&&(ze.contractMethodName=e),se&&(ze.dappProposedTokenAmount=se,ze.originalApprovalAmount=se),be?(ze.customTokenAmount=be,ze.finalApprovalAmount=be):se!==undefined&&(ze.finalApprovalAmount=se),ie&&(ze.currentTokenBalance=ie),fe((0,b.updateCustomNonce)("")),fe((0,b.updateAndApproveTx)((t=ze,We?{...t,customNonceValue:We}:t))).then((()=>{fe((0,_.clearConfirmTransaction)()),ge.push(he)}))},tt=()=>{Ae(!1),Pe(!0)},nt=(0,a.useCallback)((()=>{fe((0,b.getNextNonce)())}),[b.getNextNonce,fe]);(0,a.useEffect)((()=>{fe((0,b.getNextNonce)())}),[b.getNextNonce,fe]);const at=e=>{fe((0,b.updateCustomNonce)(e))},rt=""===be,ot=a.default.createElement(c.default,{marginTop:4,key:te},a.default.createElement(p.default,{tokenName:le,address:te,chainId:ze.chainId,rpcPrefs:je})),st=(null===(me=Q.securityAlertResponse)||void 0===me?void 0:me.result_type)===U.BlockaidResultType.Malicious?"danger-primary":"primary";return a.default.createElement(c.default,{className:"token-allowance-container page-container"},a.default.createElement(c.default,null,a.default.createElement(I.ConfirmPageContainerNavigation,null)),a.default.createElement(c.default,{paddingLeft:4,paddingRight:4,alignItems:d.AlignItems.center,display:d.DISPLAY.FLEX,flexDirection:d.FLEX_DIRECTION.ROW,justifyContent:d.JustifyContent.spaceBetween},a.default.createElement(c.default,null,!Se&&a.default.createElement(f.default,{type:"inline",onClick:()=>tt()},a.default.createElement(B.Text,{variant:d.TextVariant.bodySm,as:"h6",color:d.TextColor.textMuted,fontWeight:d.FontWeight.Bold},"<"," ",pe("back")))),a.default.createElement(c.default,{textAlign:d.TextAlign.End},a.default.createElement(B.Text,{variant:d.TextVariant.bodySm,as:"h6",color:d.TextColor.textMuted,fontWeight:d.FontWeight.Bold},Se?1:2," ",pe("ofTextNofM")," 2"))),a.default.createElement(l.default,{networkName:Ze,accountName:De.metadata.name,accountBalance:ie,tokenName:le,accountAddress:ee,chainId:ze.chainId}),a.default.createElement(R.default,{txData:Q,marginTop:4,marginLeft:4,marginRight:4}),a.default.createElement(H.BlockaidUnavailableBannerAlert,null),(0,O.isSuspiciousResponse)(null==Q?void 0:Q.securityProviderResponse)&&a.default.createElement(L.default,{securityProviderResponse:Q.securityProviderResponse}),de&&a.default.createElement(c.default,{className:"token-allowance-container__custom-nonce-warning"},a.default.createElement(G.ConfirmPageContainerWarning,{warning:de})),a.default.createElement(c.default,{display:d.DISPLAY.FLEX,flexDirection:d.FLEX_DIRECTION.ROW,justifyContent:d.JustifyContent.center},a.default.createElement(c.default,{display:d.DISPLAY.FLEX,alignItems:d.AlignItems.center,marginTop:6,marginRight:12,marginBottom:8,marginLeft:12,paddingTop:2,paddingRight:4,paddingBottom:2,paddingLeft:2,borderColor:d.Color.borderMuted,borderStyle:d.BorderStyle.solid,borderWidth:1,className:"token-allowance-container__icon-display-content"},a.default.createElement(u.default,{className:"token-allowance-container__icon-display-content__siteimage-identicon",fallbackClassName:"token-allowance-container__icon-display-content__siteimage-identicon",name:e,url:t}),a.default.createElement(B.Text,{variant:d.TextVariant.bodySm,as:"h6",color:d.TextColor.textAlternative,marginLeft:1},e))),a.default.createElement(c.default,{marginLeft:4,marginRight:4},a.default.createElement(B.Text,{variant:d.TextVariant.headingMd,align:d.TextAlign.Center},Se?pe("spendingCapRequest",[ot]):a.default.createElement(c.default,null,pe("0"===be||rt?"revokeSpendingCap":"spendingCapRequest",[ot])))),a.default.createElement(c.default,{marginTop:1,display:d.DISPLAY.FLEX,flexDirection:d.FLEX_DIRECTION.ROW,justifyContent:d.JustifyContent.center},a.default.createElement(f.default,{type:"link",onClick:()=>ke(!0),className:"token-allowance-container__verify-link"},a.default.createElement(B.Text,{variant:d.TextVariant.bodySm,as:"h6",color:d.Color.primaryDefault},pe("verifyContractDetails")))),a.default.createElement(c.default,{margin:[4,4,3,4]},Se?a.default.createElement(x.default,{txParams:null==Q?void 0:Q.txParams,tokenName:le,currentTokenBalance:ie,dappProposedValue:se,siteOrigin:e,passTheErrorText:e=>Me(e),decimals:oe,setInputChangeInProgress:we,customSpendingCap:be,setCustomSpendingCap:_e}):a.default.createElement(g.default,{tokenName:le,currentTokenBalance:ie,tokenValue:isNaN(parseFloat(be))?se:Ue(be),onEdit:()=>tt()})),!Se&&Xe&&a.default.createElement(w.default,{type:"error",className:"send__error-dialog"},pe("insufficientFundsForGas")),!Se&&a.default.createElement(c.default,{className:"token-allowance-container__card-wrapper"},Ie&&a.default.createElement(c.default,{paddingTop:0,paddingRight:4,paddingBottom:4,paddingLeft:4},a.default.createElement(F.default,{userAcknowledgedGasMissing:Oe,setUserAcknowledgedGasMissing:()=>Re(!0)})),a.default.createElement(k.default,{symbol:a.default.createElement(B.Icon,{name:B.IconName.Tag}),title:pe("transactionFee"),showEdit:!0,showAdvanceGasFeeOptions:!0,onEditClick:n,renderTransactionDetailsContent:!0,noBorder:s||!Ce,supportsEIP1559:Z,ethTransactionTotal:Y,nativeCurrency:V,fullTxData:ze,userAcknowledgedGasMissing:Oe,renderSimulationFailureWarning:Ie,hexTransactionTotal:X,hexMinimumTransactionFee:J,fiatTransactionTotal:K,currentCurrency:q,useCurrencyRateCheck:Ge})),a.default.createElement(c.default,{marginRight:4,marginLeft:4},a.default.createElement(W.default,{useCurrencyRateCheck:Ge,txData:Q,hideGasDetails:Se})),s&&a.default.createElement(c.default,{marginTop:4,marginRight:4,marginLeft:4},a.default.createElement($.default,{nextNonce:$e,customNonceValue:We,showCustomizeNonceModal:()=>((e,t,n,a,r)=>{fe((0,b.showModal)({name:"CUSTOMIZE_NONCE",useNonceField:e,nextNonce:t,customNonceValue:n,updateCustomNonce:a,getNextNonce:r}))})(s,$e,We,at,nt)})),a.default.createElement(c.default,{display:d.DISPLAY.FLEX,flexDirection:d.FLEX_DIRECTION.ROW,justifyContent:d.JustifyContent.center},a.default.createElement(f.default,{type:"link",onClick:()=>Ae(!Ce),className:"token-allowance-container__view-details"},a.default.createElement(B.Text,{variant:d.TextVariant.bodySm,as:"h6",color:d.TextColor.primaryDefault,marginRight:1},pe("viewDetails")),Ce?a.default.createElement("i",{className:"fa fa-sm fa-angle-up"}):a.default.createElement("i",{className:"fa fa-sm fa-angle-down"}))),Ce?a.default.createElement(c.default,{display:d.DISPLAY.FLEX,flexDirection:d.FLEX_DIRECTION.COLUMN,alignItems:d.AlignItems.center,className:"token-allowance-container__full-tx-content"},a.default.createElement(c.default,{className:"token-allowance-container__data"},a.default.createElement(k.default,{symbol:a.default.createElement("i",{className:"fa fa-file"}),title:pe("data"),renderDataContent:!0,noBorder:!0,supportsEIP1559:Z,isSetApproveForAll:ae,fullTxData:ze,userAcknowledgedGasMissing:Oe,renderSimulationFailureWarning:Ie,isApprovalOrRejection:re,data:Ve||ne,useCurrencyRateCheck:Ge,hexMinimumTransactionFee:J}))):null,!Se&&ue&&a.default.createElement(c.default,{paddingLeft:2,paddingRight:2},a.default.createElement(j.default,{showDataInstruction:!0})),a.default.createElement(h.PageContainerFooter,{cancelText:pe("reject"),submitText:pe(Se?"next":"approveButtonText"),onCancel:()=>(fe((0,b.updateCustomNonce)("")),fe((0,S.setCustomTokenAmount)("")),void fe((0,b.cancelTx)(ze)).then((()=>{fe((0,_.clearConfirmTransaction)()),ge.push(he)}))),onSubmit:()=>Se?(Ae(!1),void Pe(!1)):et(),disabled:xe||Je||Qe,submitButtonType:st},Le>1&&a.default.createElement(f.default,{type:"link",onClick:e=>{e.preventDefault(),fe((0,b.showModal)({name:"REJECT_TRANSACTIONS",unapprovedTxCount:Le,onSubmit:async()=>{await fe((0,b.cancelTxs)((0,P.valuesFor)(Be))),fe((0,_.clearConfirmTransaction)()),ge.push(he)}}))}},pe("rejectTxsN",[Le]))),Ee&&a.default.createElement(v.default,{tokenName:le,onClose:()=>ke(!1),tokenAddress:te,toAddress:ce,chainId:ze.chainId,rpcPrefs:je}))}Y.propTypes={origin:s.default.string,siteImage:s.default.string,showCustomizeGasModal:s.default.func,useNonceField:s.default.bool,currentCurrency:s.default.string,nativeCurrency:s.default.string,ethTransactionTotal:s.default.string,fiatTransactionTotal:s.default.string,hexTransactionTotal:s.default.string,hexMinimumTransactionFee:s.default.string,txData:s.default.object,supportsEIP1559:s.default.bool,userAddress:s.default.string,tokenAddress:s.default.string,data:s.default.string,isSetApproveForAll:s.default.bool,isApprovalOrRejection:s.default.bool,decimals:s.default.string,dappProposedTokenAmount:s.default.string,currentTokenBalance:s.default.string,toAddress:s.default.string,tokenSymbol:s.default.string,fromAddressIsLedger:s.default.bool,warning:s.default.string}}}},{package:"$root$",file:"ui/pages/confirmations/token-allowance/token-allowance.js"}],[5726,{"../../components/app/connected-accounts-list":4609,"../../components/app/connected-accounts-permissions":4611,"../../components/app/connected-sites-list/connected-snaps":4613,"../../components/component-library":4955,"../../components/ui/popover":5281,"../../helpers/constants/design-system":5355,"../../helpers/utils/util":5399,"../../hooks/useI18nContext":5427,"../../selectors":5987,"@metamask/snaps-utils":2163,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=v;var a=h(e("prop-types")),r=h(e("react")),o=e("react-redux"),s=e("@metamask/snaps-utils"),i=h(e("../../components/ui/popover")),c=h(e("../../components/app/connected-accounts-list")),l=h(e("../../components/app/connected-accounts-permissions")),u=e("../../helpers/utils/util"),d=e("../../hooks/useI18nContext"),m=h(e("../../components/app/connected-sites-list/connected-snaps")),p=e("../../helpers/constants/design-system"),f=e("../../components/component-library"),g=e("../../selectors");function h(e){return e&&e.__esModule?e:{default:e}}function v({accountToConnect:e=null,activeTabOrigin:t,isActiveTabExtension:n,connectAccount:a,connectedAccounts:h,history:v,mostRecentOverviewPage:T,permissions:y=undefined,selectedAddress:b,removePermittedAccount:_,setSelectedAccount:E,subjectMetadata:k,originOfActiveTab:x,permissionSubjects:w}){var C,A,S;const P=(0,d.useI18nContext)(),N=(0,o.useSelector)(g.getInternalAccounts),M=k[x],O=(null===(C=w[x])||void 0===C?void 0:C.origin)===(null==M?void 0:M.origin)&&(null===(A=w[x])||void 0===A?void 0:A.permissions[s.WALLET_SNAP_PERMISSION_KEY]),R=O&&Object.keys(null===(S=w[x])||void 0===S||null===(S=S.permissions)||void 0===S||null===(S=S.wallet_snap)||void 0===S||null===(S=S.caveats[0])||void 0===S?void 0:S.value),I=O&&(null==R?void 0:R.map((e=>k[e]))),D=h.length>0?P("connectedAccountsDescriptionPlural",[h.length]):P("connectedAccountsDescriptionSingular");let F;return F=h.length&&!O?D:O&&!h.length?P("connectedSnapAndNoAccountDescription"):h&&O?null:P("connectedAccountsEmptyDescription"),r.default.createElement(i.default,{title:n?P("currentExtension"):(0,u.getURLHost)(t),headerProps:{paddingLeft:4,paddingRight:4},subtitle:F,onClose:()=>v.push(T),footerClassName:"connected-accounts__footer",ConnectedAccountsPermissions:{},footer:h.length>0&&r.default.createElement(l.default,{permissions:y})},r.default.createElement(f.Box,null,h.length>0?r.default.createElement(f.Box,{marginLeft:4},r.default.createElement(f.Text,{variant:p.TextVariant.bodyMdMedium,color:p.TextColor.textAlternative},P("accountsConnected")," (",h.length,")")):null,r.default.createElement(c.default,{accountToConnect:e,connectAccount:a,connectedAccounts:h,selectedAddress:b,removePermittedAccount:_,setSelectedAddress:e=>{const{id:t}=N.find((t=>t.address===e));E(t)},shouldRenderListOptions:!0})),O&&I.length>0&&r.default.createElement(r.default.Fragment,null,r.default.createElement(f.Box,{marginLeft:4},r.default.createElement(f.Text,{variant:p.TextVariant.bodyMdMedium,color:p.TextColor.textAlternative},P("snapsConnected")," (",R.length,")")),r.default.createElement(m.default,{connectedSubjects:I})))}v.propTypes={accountToConnect:a.default.object,activeTabOrigin:a.default.string.isRequired,connectAccount:a.default.func.isRequired,connectedAccounts:a.default.array.isRequired,mostRecentOverviewPage:a.default.string.isRequired,permissions:a.default.array,isActiveTabExtension:a.default.bool.isRequired,selectedAddress:a.default.string.isRequired,removePermittedAccount:a.default.func.isRequired,setSelectedAccount:a.default.func.isRequired,history:a.default.object.isRequired,subjectMetadata:a.default.arrayOf(a.default.object).isRequired,originOfActiveTab:a.default.string,permissionSubjects:a.default.object}}}},{package:"$root$",file:"ui/pages/connected-accounts/connected-accounts.component.js"}],[5727,{"../../ducks/history/history":5343,"../../helpers/utils/util":5399,"../../selectors":5987,"../../store/actions":5998,"./connected-accounts.component":5726,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=e("react-redux"),o=e("../../selectors"),s=e("../../helpers/utils/util"),i=e("../../store/actions"),c=e("../../ducks/history/history"),l=(a=e("./connected-accounts.component"))&&a.__esModule?a:{default:a};n.default=(0,r.connect)((e=>{var t;const{activeTab:n}=e,a=(0,o.getAccountToConnectToActiveTab)(e),r=(0,o.getOrderedConnectedAccountsForActiveTab)(e),i=(0,o.getInternalAccounts)(e),l=new Map(i.map((e=>[e.address,e]))),u=r.map((e=>{var t;return{...e,name:null===(t=l.get(e.address))||void 0===t?void 0:t.metadata.name}})),d=a&&{...a,name:null===(t=i.find((e=>e.address===(null==a?void 0:a.address))))||void 0===t?void 0:t.metadata.name},m=(0,o.getPermissionsForActiveTab)(e),{address:p}=(0,o.getSelectedInternalAccount)(e),f=(0,o.getSubjectMetadata)(e),g=(0,o.getOriginOfCurrentTab)(e),h=(0,o.getPermissionSubjects)(e);return{accountToConnect:d,isActiveTabExtension:(0,s.isExtensionUrl)(n),activeTabOrigin:n.origin,connectedAccounts:u,mostRecentOverviewPage:(0,c.getMostRecentOverviewPage)(e),permissions:m,selectedAddress:p,subjectMetadata:f,originOfActiveTab:g,permissionSubjects:h}}),(e=>({addPermittedAccount:(t,n)=>e((0,i.addPermittedAccount)(t,n)),removePermittedAccount:(t,n)=>e((0,i.removePermittedAccount)(t,n)),setSelectedAccount:t=>e((0,i.setSelectedInternalAccount)(t))})),((e,t,n)=>{const{activeTabOrigin:a}=e;return{...n,...e,...t,connectAccount:e=>t.addPermittedAccount(a,e),removePermittedAccount:e=>t.removePermittedAccount(a,e)}}))(l.default)}}},{package:"$root$",file:"ui/pages/connected-accounts/connected-accounts.container.js"}],[5728,{"./connected-accounts.container":5727},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./connected-accounts.container"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/connected-accounts/index.js"}],[5729,{"../../components/app/connected-sites-list":4614,"../../components/ui/button":5198,"../../components/ui/popover/popover.component":5282,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=l(e("prop-types")),r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=l(e("../../components/app/connected-sites-list")),s=l(e("../../components/ui/popover/popover.component")),i=l(e("../../components/ui/button"));function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class d extends r.Component{constructor(...e){super(...e),u(this,"state",{sitePendingDisconnect:null}),u(this,"setPendingDisconnect",(e=>{this.setState({sitePendingDisconnect:{subjectKey:e}})})),u(this,"clearPendingDisconnect",(()=>{this.setState({sitePendingDisconnect:null})})),u(this,"disconnectAccount",(()=>{const{disconnectAccount:e}=this.props,{sitePendingDisconnect:t}=this.state;e(t.subjectKey),this.clearPendingDisconnect()})),u(this,"disconnectAllAccounts",(()=>{const{disconnectAllAccounts:e}=this.props,{sitePendingDisconnect:t}=this.state;e(t.subjectKey),this.clearPendingDisconnect()}))}componentDidMount(){const{getOpenMetamaskTabsIds:e}=this.props;e()}renderConnectedSitesList(){return r.default.createElement(o.default,{connectedSubjects:this.props.connectedSubjects,onDisconnect:this.setPendingDisconnect})}renderConnectedSitesPopover(){const{accountLabel:e,closePopover:t,connectedSubjects:n,tabToConnect:a,requestAccountsPermission:o}=this.props,{t:i}=this.context;return r.default.createElement(s.default,{className:"connected-sites",title:i("connectedSites"),subtitle:n.length?i("connectedSitesDescription",[e]):i("connectedSitesEmptyDescription",[e]),onClose:t,footer:a?r.default.createElement("a",{className:"connected-sites__text-button",onClick:o},i("connectManually")):null,footerClassName:"connected-sites__add-site-manually"},this.renderConnectedSitesList())}renderDisconnectPopover(){const{closePopover:e,permittedAccountsByOrigin:t}=this.props,{t:n}=this.context,{sitePendingDisconnect:{subjectKey:a}}=this.state,o=t[a].length;return r.default.createElement(s.default,{className:"connected-sites",title:n("disconnectPrompt",[a]),subtitle:n("disconnectAllAccountsConfirmationDescription"),onClose:e,footer:r.default.createElement(r.default.Fragment,null,r.default.createElement("div",{className:"connected-sites__footer-row"},r.default.createElement(i.default,{type:"secondary",onClick:this.clearPendingDisconnect},n("cancel")),r.default.createElement(i.default,{type:"primary",onClick:this.disconnectAccount},n("disconnect"))),o>1?r.default.createElement("div",{className:"connected-sites__footer-row"},r.default.createElement("a",{className:"connected-sites__text-button",onClick:this.disconnectAllAccounts},n("disconnectAllAccounts"))):null),footerClassName:"connected-sites__confirmation"})}render(){const{sitePendingDisconnect:e}=this.state;return e?this.renderDisconnectPopover():this.renderConnectedSitesPopover()}}n.default=d,u(d,"contextTypes",{t:a.default.func}),u(d,"defaultProps",{tabToConnect:null}),u(d,"propTypes",{accountLabel:a.default.string.isRequired,closePopover:a.default.func.isRequired,connectedSubjects:a.default.arrayOf(a.default.object).isRequired,disconnectAllAccounts:a.default.func.isRequired,disconnectAccount:a.default.func.isRequired,getOpenMetamaskTabsIds:a.default.func.isRequired,permittedAccountsByOrigin:a.default.objectOf(a.default.arrayOf(a.default.string)).isRequired,tabToConnect:a.default.object,requestAccountsPermission:a.default.func.isRequired})}}},{package:"$root$",file:"ui/pages/connected-sites/connected-sites.component.js"}],[5730,{"../../ducks/history/history":5343,"../../helpers/constants/routes":5361,"../../selectors":5987,"../../store/actions":5998,"./connected-sites.component":5729,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=e("react-redux"),o=e("../../store/actions"),s=e("../../selectors"),i=e("../../helpers/constants/routes"),c=e("../../ducks/history/history"),l=(a=e("./connected-sites.component"))&&a.__esModule?a:{default:a};n.default=(0,r.connect)((e=>{var t;const{openMetaMaskTabs:n}=e.appState,{id:a}=e.activeTab,r=(0,s.getConnectedSubjectsForSelectedAddress)(e),o=(0,s.getOriginOfCurrentTab)(e),i=(0,s.getPermittedAccountsByOrigin)(e),{address:l}=(0,s.getSelectedInternalAccount)(e),u=!(null!==(t=i[o])&&void 0!==t&&t.length);let d;return o&&u&&!n[a]&&(d={origin:o}),{accountLabel:(0,s.getSelectedInternalAccount)(e).metadata.name,connectedSubjects:r,subjects:(0,s.getPermissionSubjects)(e),mostRecentOverviewPage:(0,c.getMostRecentOverviewPage)(e),permittedAccountsByOrigin:i,selectedAddress:l,tabToConnect:d}}),(e=>({getOpenMetamaskTabsIds:()=>e((0,o.getOpenMetamaskTabsIds)()),disconnectAccount:(t,n)=>{e((0,o.removePermittedAccount)(t,n))},disconnectAllAccounts:(t,n)=>{const a=Object.values(n.permissions).map((({parentCapability:e})=>e));e((0,o.removePermissionsFor)({[t]:a}))},requestAccountsPermissionWithId:t=>e((0,o.requestAccountsPermissionWithId)(t))})),((e,t,n)=>{const{connectedSubjects:a,subjects:r,mostRecentOverviewPage:o,selectedAddress:s,tabToConnect:c}=e,{disconnectAccount:l,disconnectAllAccounts:u,requestAccountsPermissionWithId:d}=t,{history:m}=n,p=()=>m.push(o);return{...n,...e,...t,closePopover:p,disconnectAccount:e=>{l(e,s),1===a.length&&p()},disconnectAllAccounts:e=>{u(e,r[e]),1===a.length&&p()},requestAccountsPermission:async()=>{const e=await d(c.origin);m.push(`${i.CONNECT_ROUTE}/${e}`)}}}))(l.default)}}},{package:"$root$",file:"ui/pages/connected-sites/connected-sites.container.js"}],[5731,{"./connected-sites.container":5730},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./connected-sites.container"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/connected-sites/index.js"}],[5732,{"../../../../shared/constants/hardware-wallets":4501,"../../../../shared/constants/metametrics":4505,"../../../components/ui/button":5198,"../../../components/ui/check-box":5202,"../../../components/ui/dropdown":5218,"../../../helpers/utils/util":5399,"@metamask/etherscan-link":1369,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=p(e("prop-types")),r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=m(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=e("@metamask/etherscan-link"),s=p(e("../../../components/ui/button")),i=p(e("../../../components/ui/check-box")),c=p(e("../../../components/ui/dropdown")),l=e("../../../helpers/utils/util"),u=e("../../../../shared/constants/hardware-wallets"),d=e("../../../../shared/constants/metametrics");function m(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(m=function(e){return e?n:t})(e)}function p(e){return e&&e.__esModule?e:{default:e}}function f(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class g extends r.Component{constructor(...e){super(...e),f(this,"state",{pathValue:null}),f(this,"goToNextPage",(()=>{5===this.props.accounts.length?this.props.getPage(this.props.device,1,this.props.selectedPath):this.props.onAccountRestriction()})),f(this,"goToPreviousPage",(()=>{this.props.getPage(this.props.device,-1,this.props.selectedPath)}))}setPath(e){this.setState({pathValue:e})}isFirstPage(){var e;return 0===(null===(e=this.props.accounts[0])||void 0===e?void 0:e.index)}renderHdPathSelector(){const{device:e,selectedPath:t,hdPaths:n,onPathChange:a}=this.props,{pathValue:o}=this.state;return r.default.createElement("div",null,r.default.createElement("h3",{className:"hw-connect__hdPath__title"},this.context.t("selectHdPath")),r.default.createElement("p",{className:"hw-connect__msg"},this.context.t("selectPathHelp")),r.default.createElement("div",{className:"hw-connect__hdPath"},r.default.createElement(c.default,{className:"hw-connect__hdPath__select",options:n[e.toLowerCase()],selectedOption:o||t,onChange:e=>{this.setPath(e),a(e)}})))}capitalizeDevice(e){return e.slice(0,1).toUpperCase()+e.slice(1)}renderHeader(){const{device:e}=this.props,t=[u.HardwareDeviceNames.ledger,u.HardwareDeviceNames.lattice,u.HardwareDeviceNames.trezor].includes(e.toLowerCase());return r.default.createElement("div",{className:"hw-connect"},r.default.createElement("h3",{className:"hw-connect__unlock-title"},this.context.t("selectAnAccount")),t?this.renderHdPathSelector():null,r.default.createElement("h3",{className:"hw-connect__hdPath__title"},this.context.t("selectAnAccount")))}renderAccounts(){const{accounts:e,connectedAccounts:t,rpcPrefs:n,chainId:a}=this.props;return r.default.createElement("div",{className:"hw-account-list"},e.map(((e,s)=>{const c=t.includes(e.address.toLowerCase()),u=e.index,m=this.props.selectedAccounts.includes(e.index)||c,p=(0,o.getAccountLink)(e.address,a,n),f=(0,l.getURLHostName)(p);return r.default.createElement("div",{className:"hw-account-list__item",key:e.address,"data-testid":"hw-account-list__item",title:c?this.context.t("selectAnAccountAlreadyConnected"):""},r.default.createElement("div",{className:"hw-account-list__item__checkbox"},r.default.createElement(i.default,{id:`address-${s}`,checked:m,disabled:c,onClick:()=>{this.props.onAccountChange(u)}}),r.default.createElement("label",{className:"hw-account-list__item__label",htmlFor:`address-${s}`},r.default.createElement("span",{className:"hw-account-list__item__index"},e.index+1),`${e.address.slice(0,4)}...${e.address.slice(-4)}`,r.default.createElement("span",{className:"hw-account-list__item__balance"},`${e.balance}`))),r.default.createElement("a",{className:"hw-account-list__item__link",onClick:()=>{this.context.trackEvent({category:d.MetaMetricsEventCategory.Accounts,event:"Clicked Block Explorer Link",properties:{actions:"Hardware Connect",link_type:"Account Tracker",block_explorer_domain:f}}),global.platform.openTab({url:p})},target:"_blank",rel:"noopener noreferrer",title:this.context.t("genericExplorerView",[f])},r.default.createElement("i",{className:"fa fa-share-square",style:{color:"var(--color-icon-default)"}})))})))}renderPagination(){return r.default.createElement("div",{className:"hw-list-pagination"},r.default.createElement("button",{className:"hw-list-pagination__button",disabled:this.isFirstPage(),onClick:this.goToPreviousPage,"data-testid":"hw-list-pagination__prev-button"},`< ${this.context.t("prev")}`),r.default.createElement("button",{className:"hw-list-pagination__button",onClick:this.goToNextPage},`${this.context.t("next")} >`))}renderButtons(){const e=0===this.props.selectedAccounts.length;return e&&({}.disabled=!0),r.default.createElement("div",{className:"new-external-account-form__buttons"},r.default.createElement(s.default,{type:"secondary",large:!0,className:"new-external-account-form__button",onClick:this.props.onCancel.bind(this)},this.context.t("cancel")),r.default.createElement(s.default,{type:"primary",large:!0,className:"new-external-account-form__button unlock",disabled:e,onClick:this.props.onUnlockAccounts.bind(this,this.props.device,this.props.selectedPath)},this.context.t("unlock")))}renderForgetDevice(){return r.default.createElement("div",{className:"hw-forget-device-container"},r.default.createElement("a",{onClick:this.props.onForgetDevice.bind(this,this.props.device)},this.context.t("forgetDevice")))}render(){return r.default.createElement("div",{className:"new-external-account-form account-list"},this.renderHeader(),this.renderAccounts(),this.renderPagination(),this.renderButtons(),this.renderForgetDevice())}}g.propTypes={onPathChange:a.default.func.isRequired,selectedPath:a.default.string.isRequired,device:a.default.string.isRequired,accounts:a.default.array.isRequired,connectedAccounts:a.default.array.isRequired,onAccountChange:a.default.func.isRequired,onForgetDevice:a.default.func.isRequired,getPage:a.default.func.isRequired,chainId:a.default.string,rpcPrefs:a.default.object,selectedAccounts:a.default.array.isRequired,onUnlockAccounts:a.default.func,onCancel:a.default.func,onAccountRestriction:a.default.func,hdPaths:a.default.object.isRequired},g.contextTypes={t:a.default.func,trackEvent:a.default.func};n.default=g}}},{package:"$root$",file:"ui/pages/create-account/connect-hardware/account-list.js"}],[5733,{"../../../../shared/constants/hardware-wallets":4501,"../../../../shared/constants/metametrics":4505,"../../../../shared/constants/time":4518,"../../../components/component-library":4955,"../../../ducks/history/history":5343,"../../../helpers/constants/design-system":5355,"../../../helpers/constants/zendesk-url":5368,"../../../helpers/utils/util":5399,"../../../selectors":5987,"../../../store/actions":5998,"./account-list":5732,"./select-hardware":5734,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=n.TREZOR_HD_PATHS=n.LEDGER_HD_PATHS=n.LATTICE_HD_PATHS=void 0;var a=b(e("react")),r=T(e("prop-types")),o=e("react-redux"),s=b(e("../../../store/actions")),i=e("../../../selectors"),c=e("../../../helpers/utils/util"),l=e("../../../ducks/history/history"),u=e("../../../../shared/constants/metametrics"),d=e("../../../../shared/constants/time"),m=e("../../../../shared/constants/hardware-wallets"),p=e("../../../components/component-library"),f=T(e("../../../helpers/constants/zendesk-url")),g=e("../../../helpers/constants/design-system"),h=T(e("./select-hardware")),v=T(e("./account-list"));function T(e){return e&&e.__esModule?e:{default:e}}function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(y=function(e){return e?n:t})(e)}function b(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=y(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}function _(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const E="U2F",k={"0x650f":"ledgerErrorConnectionIssue","0x5515":"ledgerErrorDevicedLocked","0x6501":"ledgerErrorEthAppNotOpen","0x6a80":"ledgerErrorTransactionDataNotPadded"},x="m/44'/60'/0'",w="m/44'/60'/0'/0",C="m/44'/60'/0'/0/x",A="m/44'/60'/x'/0/0",S="m/44'/60'/0'/x",P={ledger:n.LEDGER_HD_PATHS=[{name:"Ledger Live",value:"m/44'/60'/0'/0/0"},{name:"Legacy (MEW / MyCrypto)",value:x},{name:"BIP44 Standard (e.g. MetaMask, Trezor)",value:w}],lattice:n.LATTICE_HD_PATHS=[{name:`Standard (${C})`,value:C},{name:`Ledger Live (${A})`,value:A},{name:`Ledger Legacy (${S})`,value:S}],trezor:n.TREZOR_HD_PATHS=[{name:"BIP44 Standard (e.g. MetaMask, Trezor)",value:w},{name:"Legacy (Ledger / MEW / MyCrypto)",value:x},{name:"Trezor Testnets",value:"m/44'/1'/0'/0"}]},N=(e,t)=>{switch(e){case"0x650f":return t("ledgerErrorConnectionIssue");case"0x5515":return t("ledgerErrorDevicedLocked");case"0x6501":return t("ledgerErrorEthAppNotOpen");case"0x6a80":return t("ledgerErrorTransactionDataNotPadded");default:return e}};class M extends a.Component{constructor(...e){super(...e),_(this,"state",{error:null,selectedAccounts:[],accounts:[],browserSupported:!0,unlocked:!1,device:null,isFirefox:!1}),_(this,"connectToHardwareWallet",(e=>{this.setState({device:e}),this.state.accounts.length||this.getPage(e,0,this.props.defaultHdPaths[e])})),_(this,"onPathChange",(e=>{this.props.setHardwareWalletDefaultHdPath({device:this.state.device,path:e}),this.setState({selectedAccounts:[]}),this.getPage(this.state.device,0,e)})),_(this,"onAccountChange",(e=>{let{selectedAccounts:t}=this.state;t.includes(e)?t=t.filter((t=>e!==t)):t.push(e),this.setState({selectedAccounts:t,error:null})})),_(this,"onAccountRestriction",(()=>{this.setState({error:this.context.t("ledgerAccountRestriction")})})),_(this,"getPage",((e,t,n)=>{this.props.connectHardware(e,t,n,this.context.t).then((t=>{if(t.length){0!==this.state.accounts.length||this.state.unlocked||this.showTemporaryAlert();const n=t.map((e=>{var t;const n=e.address.toLowerCase(),a=(null===(t=this.props.accounts[n])||void 0===t?void 0:t.balance)||null;return e.balance=a?(0,c.formatBalance)(a,6):"...",e}));this.setState({accounts:n,unlocked:!0,device:e,error:null})}})).catch((e=>{const t="string"==typeof e?e:e.message,n=Object.keys(k).find((e=>t.includes(e)));"Window blocked"===t?this.setState({browserSupported:!1,error:null}):t.includes(E)?this.setState({error:E}):"LEDGER_LOCKED"===t||"LEDGER_WRONG_APP"===t?this.setState({error:this.context.t("ledgerLocked")}):t.includes("timeout")?this.setState({error:this.context.t("ledgerTimeout")}):n?this.setState({error:`${t} - ${N(n)}`}):t.toLowerCase().includes("KeystoneError#pubkey_account.no_expected_account".toLowerCase())?this.setState({error:this.context.t("QRHardwarePubkeyAccountOutOfRange")}):"Window closed"!==t&&"Popup closed"!==t&&!1===t.toLowerCase().includes("KeystoneError#sync_cancel".toLowerCase())&&this.setState({error:t})}))})),_(this,"onForgetDevice",(e=>{this.props.forgetDevice(e).then((e=>{this.setState({error:null,selectedAccounts:[],accounts:[],unlocked:!1})})).catch((e=>{this.setState({error:e.message})}))})),_(this,"onUnlockAccounts",((e,t)=>{const{history:n,mostRecentOverviewPage:a,unlockHardwareWalletAccounts:r}=this.props,{selectedAccounts:o}=this.state;0===o.length&&this.setState({error:this.context.t("accountSelectionRequired")});const s=x===t?this.context.t("hardwareWalletLegacyDescription"):"";return r(o,e,t||null,s).then((t=>{this.context.trackEvent({category:u.MetaMetricsEventCategory.Accounts,event:u.MetaMetricsEventName.AccountAdded,properties:{account_type:u.MetaMetricsEventAccountType.Hardware,account_hardware_type:e}}),n.push(a)})).catch((t=>{this.context.trackEvent({category:u.MetaMetricsEventCategory.Accounts,event:u.MetaMetricsEventName.AccountAddFailed,properties:{account_type:u.MetaMetricsEventAccountType.Hardware,account_hardware_type:e,error:t.message}}),this.setState({error:t.message})}))})),_(this,"onCancel",(()=>{const{history:e,mostRecentOverviewPage:t}=this.props;e.push(t)}))}UNSAFE_componentWillReceiveProps(e){const{accounts:t}=e,n=this.state.accounts.map((e=>{var n;const a=e.address.toLowerCase(),r=(null===(n=t[a])||void 0===n?void 0:n.balance)||null;return e.balance=r?(0,c.formatBalance)(r,6):"...",e}));this.setState({accounts:n})}componentDidMount(){this.checkIfUnlocked();const e=window.navigator.userAgent;/Firefox/u.test(e)&&this.setState({isFirefox:!0})}async checkIfUnlocked(){for(const e of[m.HardwareDeviceNames.trezor,m.HardwareDeviceNames.ledger,m.HardwareDeviceNames.lattice]){const t=this.props.defaultHdPaths[e];await this.props.checkHardwareStatus(e,t)&&(this.setState({unlocked:!0}),this.getPage(e,0,t))}}showTemporaryAlert(){this.props.showAlert(this.context.t("hardwareWalletConnected")),setTimeout((e=>{this.props.hideAlert()}),5*d.SECOND)}renderError(){return this.state.error===E?"ledger"===this.state.device&&this.state.isFirefox?a.default.createElement(a.default.Fragment,null,a.default.createElement(p.Text,{color:g.TextColor.warningDefault,margin:[5,5,2]},this.context.t("troubleConnectingToLedgerU2FOnFirefox",[a.default.createElement(p.Button,{variant:p.BUTTON_VARIANT.LINK,href:f.default.HARDWARE_CONNECTION,size:p.BUTTON_SIZES.INHERIT,key:"u2f-error-1",as:"a",block:!1,target:"_blank",rel:"noopener noreferrer"},this.context.t("troubleConnectingToLedgerU2FOnFirefox2"))])),a.default.createElement(p.Text,{color:g.TextColor.warningDefault,margin:[5,5,2]},this.context.t("troubleConnectingToLedgerU2FOnFirefoxLedgerSolution",[a.default.createElement(p.Button,{variant:p.BUTTON_VARIANT.LINK,href:f.default.LEDGER_FIREFOX_U2F_GUIDE,size:p.BUTTON_SIZES.INHERIT,key:"u2f-error-1",as:"a",target:"_blank",rel:"noopener noreferrer"},this.context.t("troubleConnectingToLedgerU2FOnFirefoxLedgerSolution2"))]))):a.default.createElement(p.Text,{color:g.TextColor.warningDefault,margin:[5,5,2]},this.context.t("troubleConnectingToWallet",[this.state.device,a.default.createElement(p.Button,{variant:p.BUTTON_VARIANT.LINK,href:f.default.HARDWARE_CONNECTION,key:"u2f-error-1"},this.context.t("walletConnectionGuide"))])):this.state.error?a.default.createElement("span",{className:"hw-connect__error"},this.state.error):null}renderContent(){return this.state.accounts.length?a.default.createElement(v.default,{onPathChange:this.onPathChange,selectedPath:this.props.defaultHdPaths[this.state.device],device:this.state.device,accounts:this.state.accounts,connectedAccounts:this.props.connectedAccounts,selectedAccounts:this.state.selectedAccounts,onAccountChange:this.onAccountChange,chainId:this.props.chainId,rpcPrefs:this.props.rpcPrefs,getPage:this.getPage,onUnlockAccounts:this.onUnlockAccounts,onForgetDevice:this.onForgetDevice,onCancel:this.onCancel,onAccountRestriction:this.onAccountRestriction,hdPaths:P}):a.default.createElement(h.default,{connectToHardwareWallet:this.connectToHardwareWallet,browserSupported:this.state.browserSupported,ledgerTransportType:this.props.ledgerTransportType,onCancel:this.onCancel})}render(){return a.default.createElement(a.default.Fragment,null,this.renderError(),this.renderContent())}}_(M,"contextTypes",{t:r.default.func}),M.propTypes={connectHardware:r.default.func,checkHardwareStatus:r.default.func,forgetDevice:r.default.func,showAlert:r.default.func,hideAlert:r.default.func,unlockHardwareWalletAccounts:r.default.func,setHardwareWalletDefaultHdPath:r.default.func,history:r.default.object,chainId:r.default.string,rpcPrefs:r.default.object,accounts:r.default.object,connectedAccounts:r.default.array.isRequired,defaultHdPaths:r.default.object,mostRecentOverviewPage:r.default.string.isRequired,ledgerTransportType:r.default.oneOf(Object.values(m.LedgerTransportTypes))};M.contextTypes={t:r.default.func,trackEvent:r.default.func};n.default=(0,o.connect)((e=>({chainId:(0,i.getCurrentChainId)(e),rpcPrefs:(0,i.getRpcPrefsForCurrentProvider)(e),accounts:(0,i.getMetaMaskAccounts)(e),connectedAccounts:(0,i.getMetaMaskAccountsConnected)(e),defaultHdPaths:e.appState.defaultHdPaths,mostRecentOverviewPage:(0,l.getMostRecentOverviewPage)(e),ledgerTransportType:e.metamask.ledgerTransportType})),(e=>({setHardwareWalletDefaultHdPath:({device:t,path:n})=>e(s.setHardwareWalletDefaultHdPath({device:t,path:n})),connectHardware:(t,n,a,r)=>e(s.connectHardware(t,n,a,r)),checkHardwareStatus:(t,n)=>e(s.checkHardwareStatus(t,n)),forgetDevice:t=>e(s.forgetDevice(t)),unlockHardwareWalletAccounts:(t,n,a,r)=>e(s.unlockHardwareWalletAccounts(t,n,a,r)),showAlert:t=>e(s.showAlert(t)),hideAlert:()=>e(s.hideAlert())})))(M)}}},{package:"$root$",file:"ui/pages/create-account/connect-hardware/index.js"}],[5734,{"../../../../shared/constants/hardware-wallets":4501,"../../../../shared/constants/metametrics":4505,"../../../components/component-library":4955,"../../../components/ui/logo/logo-lattice":5258,"../../../components/ui/logo/logo-ledger":5259,"../../../components/ui/logo/logo-qr-based":5260,"../../../components/ui/logo/logo-trezor":5261,"../../../helpers/constants/design-system":5355,"../../../helpers/constants/zendesk-url":5368,"../../../helpers/utils/window":5401,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=v(e("classnames")),r=v(e("prop-types")),o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=h(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),s=e("../../../components/component-library"),i=v(e("../../../components/ui/logo/logo-ledger")),c=v(e("../../../components/ui/logo/logo-qr-based")),l=v(e("../../../components/ui/logo/logo-trezor")),u=v(e("../../../components/ui/logo/logo-lattice")),d=e("../../../../shared/constants/hardware-wallets"),m=v(e("../../../helpers/constants/zendesk-url")),p=e("../../../../shared/constants/metametrics"),f=e("../../../helpers/utils/window"),g=e("../../../helpers/constants/design-system");function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(h=function(e){return e?n:t})(e)}function v(e){return e&&e.__esModule?e:{default:e}}function T(){return T=Object.assign?Object.assign.bind():function(e){for(var t=1;t{if(this.state.selectedDevice){if("trezor"===this.state.selectedDevice&&window.navigator.usb){this.setState({trezorRequestDevicePending:!0});try{await window.navigator.usb.requestDevice({filters:[{vendorId:21324,productId:1},{vendorId:4617,productId:21440},{vendorId:4617,productId:21441}]})}catch(e){if(!e.message.match("No device selected"))throw e}finally{this.setState({trezorRequestDevicePending:!1})}}this.props.connectToHardwareWallet(this.state.selectedDevice)}return null}))}renderConnectToTrezorButton(){return o.default.createElement("button",{"data-testid":"connect-trezor-btn",className:(0,a.default)("hw-connect__btn",{selected:this.state.selectedDevice===d.HardwareDeviceNames.trezor}),onClick:e=>this.setState({selectedDevice:d.HardwareDeviceNames.trezor})},o.default.createElement(l.default,{className:"hw-connect__btn__img",ariaLabel:"Trezor"}))}renderConnectToLatticeButton(){return o.default.createElement("button",{"data-testid":"connect-lattice-btn",className:(0,a.default)("hw-connect__btn",{selected:this.state.selectedDevice===d.HardwareDeviceNames.lattice}),onClick:e=>this.setState({selectedDevice:d.HardwareDeviceNames.lattice})},o.default.createElement(u.default,{className:"hw-connect__btn__img",ariaLabel:"Lattice"}))}renderConnectToLedgerButton(){return o.default.createElement("button",{"data-testid":"connect-ledger-btn",className:(0,a.default)("hw-connect__btn",{selected:this.state.selectedDevice===d.HardwareDeviceNames.ledger}),onClick:e=>this.setState({selectedDevice:d.HardwareDeviceNames.ledger})},o.default.createElement(i.default,{className:"hw-connect__btn__img",ariaLabel:"Ledger"}))}renderConnectToQRButton(){return o.default.createElement("button",{"data-testid":"connect-qr-btn",className:(0,a.default)("hw-connect__btn",{selected:this.state.selectedDevice===d.HardwareDeviceNames.qr}),onClick:e=>this.setState({selectedDevice:d.HardwareDeviceNames.qr})},o.default.createElement(c.default,{className:"hw-connect__btn__img",ariaLabel:"QRCode"}))}renderButtons(){return o.default.createElement(o.default.Fragment,null,o.default.createElement("div",{className:"hw-connect__btn-wrapper"},this.renderConnectToLedgerButton(),this.renderConnectToTrezorButton()),o.default.createElement("div",{className:"hw-connect__btn-wrapper",style:{margin:"10px 0 0 0"}},this.renderConnectToLatticeButton(),this.renderConnectToQRButton()))}renderContinueButton(){return o.default.createElement(s.Button,{variant:s.BUTTON_VARIANT.PRIMARY,size:s.BUTTON_SIZES.LG,className:"hw-connect__connect-btn",onClick:this.connect,disabled:!this.state.selectedDevice||this.state.trezorRequestDevicePending},this.context.t("continue"))}renderFooter(){return o.default.createElement(s.Text,{color:g.TextColor.textAlternative,variant:g.TextVariant.bodySm,textAlign:g.TextAlign.Center,as:"h6",marginTop:4,className:"new-external-account-form footer"},this.context.t("hardwareWalletsInfo"))}renderUnsupportedBrowser(){return o.default.createElement(s.Box,{display:g.Display.Flex,flexDirection:g.FlexDirection.Column,justifyContent:g.JustifyContent.center,alignItems:g.AlignItems.center,className:"new-external-account-form unsupported-browser"},o.default.createElement(s.Box,{className:"hw-connect",display:g.Display.Flex,flexDirection:g.FlexDirection.Column,alignItems:g.AlignItems.center},o.default.createElement(s.Text,{className:"hw-connect__title",variant:g.TextVariant.headingMd,as:"h3",fontWeight:g.FontWeight.Bold,marginTop:6,marginBottom:3},this.context.t("browserNotSupported")),o.default.createElement(s.Text,{className:"hw-connect__msg",variant:g.TextVariant.bodyMd,as:"h5",marginTop:3,marginBottom:5},this.context.t("chromeRequiredForHardwareWallets"))),o.default.createElement(s.Button,{variant:s.BUTTON_VARIANT.PRIMARY,size:s.BUTTON_SIZES.LG,onClick:()=>global.platform.openTab({url:"https://google.com/chrome"})},this.context.t("downloadGoogleChrome")))}renderHeader(){return o.default.createElement(s.Box,{className:"hw-connect__header",display:g.Display.Flex,flexDirection:g.FlexDirection.Column,alignItems:g.AlignItems.center},o.default.createElement(s.Box,{display:g.Display.Flex,flexDirection:g.FlexDirection.Row,justifyContent:g.JustifyContent.center,alignItems:g.AlignItems.center,className:"hw-connect__header__title-wrapper",marginTop:6},o.default.createElement(s.Text,{variant:g.TextVariant.headingMd,as:"h3",fontWeight:g.FontWeight.Bold,marginLeft:"auto"},this.context.t("hardwareWallets")),o.default.createElement(s.ButtonIcon,{iconName:s.IconName.Close,ariaLabel:this.context.t("close"),onClick:this.props.onCancel,size:s.ButtonIconSize.Sm,marginLeft:"auto","data-testid":"hardware-connect-close-btn"})),o.default.createElement(s.Text,{className:"hw-connect__header__msg",variant:g.TextVariant.bodyMd,as:"h5",marginTop:5,marginBottom:3},this.context.t("hardwareWalletsMsg")))}renderTutorialSteps(){switch(this.state.selectedDevice){case d.HardwareDeviceNames.ledger:return this.renderLedgerTutorialSteps();case d.HardwareDeviceNames.trezor:return this.renderTrezorTutorialSteps();case d.HardwareDeviceNames.lattice:return this.renderLatticeTutorialSteps();case d.HardwareDeviceNames.qr:return this.renderQRHardwareWalletSteps();default:return""}}renderLedgerTutorialSteps(){const e=[];return this.props.ledgerTransportType===d.LedgerTransportTypes.live&&e.push({renderButtons:!1,title:this.context.t("step1LedgerWallet"),message:this.context.t("step1LedgerWalletMsg",[o.default.createElement("a",{className:"hw-connect__msg-link",href:"https://www.ledger.com/ledger-live",rel:"noopener noreferrer",target:"_blank",key:"ledger-live-app-link"},this.context.t("ledgerLiveApp"))])}),e.push({renderButtons:!0,asset:"plug-in-wallet",dimensions:{width:"225px",height:"75px"},title:this.context.t("step2LedgerWallet"),message:this.context.t("step2LedgerWalletMsg",[o.default.createElement("a",{className:"hw-connect__msg-link",href:m.default.HARDWARE_CONNECTION,rel:"noopener noreferrer",target:"_blank",key:"ledger-support-link"},this.context.t("hardwareWalletSupportLinkConversion"))])}),o.default.createElement("div",{className:"hw-tutorial"},e.map(((e,t)=>o.default.createElement(s.Box,{display:g.Display.Flex,flexDirection:g.FlexDirection.Column,alignItems:g.AlignItems.center,className:"hw-connect",key:t},o.default.createElement("h3",{className:"hw-connect__title"},e.title),e.renderButtons?o.default.createElement(s.Box,{display:g.Display.Flex,flexDirection:g.FlexDirection.Row,justifyContent:g.JustifyContent.center,marginBottom:2},o.default.createElement(s.Button,{className:"hw-connect__external-btn-first",variant:s.BUTTON_VARIANT.SECONDARY,onClick:()=>{this.context.trackEvent({category:p.MetaMetricsEventCategory.Navigation,event:"Clicked Ledger Buy Now"}),(0,f.openWindow)(d.HardwareAffiliateLinks.ledger)}},this.context.t("buyNow")),o.default.createElement(s.Button,{className:"hw-connect__external-btn",variant:s.BUTTON_VARIANT.SECONDARY,onClick:()=>{this.context.trackEvent({category:p.MetaMetricsEventCategory.Navigation,event:"Clicked Ledger Tutorial"}),(0,f.openWindow)(d.HardwareAffiliateTutorialLinks.ledger)}},this.context.t("tutorial"))):null,o.default.createElement("p",{className:"hw-connect__msg"},e.message),e.asset&&o.default.createElement("img",T({className:"hw-connect__step-asset",src:`images/${e.asset}.svg`},e.dimensions,{alt:""}))))))}renderLatticeTutorialSteps(){const e=[{asset:"connect-lattice",dimensions:{width:"225px",height:"75px"},title:this.context.t("step1LatticeWallet"),message:this.context.t("step1LatticeWalletMsg",[o.default.createElement("a",{className:"hw-connect__msg-link",href:m.default.HARDWARE_CONNECTION,rel:"noopener noreferrer",target:"_blank",key:"lattice-setup-link"},this.context.t("hardwareWalletSupportLinkConversion"))])}];return o.default.createElement("div",{className:"hw-tutorial"},e.map(((e,t)=>o.default.createElement(s.Box,{display:g.Display.Flex,flexDirection:g.FlexDirection.Column,alignItems:g.AlignItems.center,className:"hw-connect",key:t},o.default.createElement("h3",{className:"hw-connect__title"},e.title),o.default.createElement(s.Box,{display:g.Display.Flex,flexDirection:g.FlexDirection.Row,justifyContent:g.JustifyContent.center,marginBottom:2},o.default.createElement(s.Button,{className:"hw-connect__external-btn-first",variant:s.BUTTON_VARIANT.SECONDARY,onClick:()=>{this.context.trackEvent({category:p.MetaMetricsEventCategory.Navigation,event:"Clicked GridPlus Buy Now"}),(0,f.openWindow)(d.HardwareAffiliateLinks.gridplus)}},this.context.t("buyNow")),o.default.createElement(s.Button,{className:"hw-connect__external-btn",variant:s.BUTTON_VARIANT.SECONDARY,onClick:()=>{this.context.trackEvent({category:p.MetaMetricsEventCategory.Navigation,event:"Clicked GidPlus Tutorial"}),(0,f.openWindow)(d.HardwareAffiliateTutorialLinks.gridplus)}},this.context.t("tutorial"))),o.default.createElement("p",{className:"hw-connect__msg"},e.message),e.asset&&o.default.createElement("img",T({className:"hw-connect__step-asset",src:`images/${e.asset}.svg`},e.dimensions,{alt:""}))))))}renderTrezorTutorialSteps(){const e=[{asset:"plug-in-wallet",dimensions:{width:"225px",height:"75px"},title:this.context.t("step1TrezorWallet"),message:this.context.t("step1TrezorWalletMsg",[o.default.createElement("a",{className:"hw-connect__msg-link",href:m.default.HARDWARE_CONNECTION,rel:"noopener noreferrer",target:"_blank",key:"trezor-support-link"},this.context.t("hardwareWalletSupportLinkConversion"))])}];return o.default.createElement("div",{className:"hw-tutorial"},e.map(((e,t)=>o.default.createElement(s.Box,{display:g.Display.Flex,flexDirection:g.FlexDirection.Column,alignItems:g.AlignItems.center,className:"hw-connect",key:t},o.default.createElement("h3",{className:"hw-connect__title"},e.title),o.default.createElement(s.Box,{display:g.Display.Flex,flexDirection:g.FlexDirection.Row,justifyContent:g.JustifyContent.center,marginBottom:2},o.default.createElement(s.Button,{className:"hw-connect__external-btn-first",variant:s.BUTTON_VARIANT.SECONDARY,onClick:()=>{this.context.trackEvent({category:p.MetaMetricsEventCategory.Navigation,event:"Clicked Trezor Buy Now"}),(0,f.openWindow)(d.HardwareAffiliateLinks.trezor)}},this.context.t("buyNow")),o.default.createElement(s.Button,{className:"hw-connect__external-btn",variant:s.BUTTON_VARIANT.SECONDARY,onClick:()=>{this.context.trackEvent({category:p.MetaMetricsEventCategory.Navigation,event:"Clicked Trezor Tutorial"}),(0,f.openWindow)(d.HardwareAffiliateTutorialLinks.trezor)}},this.context.t("tutorial"))),o.default.createElement("p",{className:"hw-connect__msg"},e.message),e.asset&&o.default.createElement("img",T({className:"hw-connect__step-asset",src:`images/${e.asset}.svg`},e.dimensions,{alt:""}))))))}renderQRHardwareWalletSteps(){const e=[];return e.push({title:this.context.t("QRHardwareWalletSteps1Title"),message:this.context.t("QRHardwareWalletSteps1Description")},{message:o.default.createElement(o.default.Fragment,null,o.default.createElement("p",{className:"hw-connect__QR-subtitle"},this.context.t("keystone")),o.default.createElement(s.Button,{className:"hw-connect__external-btn-first",variant:s.BUTTON_VARIANT.SECONDARY,onClick:()=>{this.context.trackEvent({category:p.MetaMetricsEventCategory.Navigation,event:"Clicked Keystone Learn More"}),(0,f.openWindow)(d.HardwareAffiliateLinks.keystone)}},this.context.t("learnMoreKeystone")),o.default.createElement(s.Button,{className:"hw-connect__external-btn",variant:s.BUTTON_VARIANT.SECONDARY,onClick:()=>{this.context.trackEvent({category:p.MetaMetricsEventCategory.Navigation,event:"Clicked Keystone Tutorial"}),(0,f.openWindow)(d.HardwareAffiliateTutorialLinks.keystone)}},this.context.t("tutorial")))},{message:o.default.createElement(o.default.Fragment,null,o.default.createElement("p",{className:"hw-connect__QR-subtitle"},this.context.t("airgapVault")),o.default.createElement(s.Button,{className:"hw-connect__external-btn-first",variant:s.BUTTON_VARIANT.SECONDARY,onClick:()=>{this.context.trackEvent({category:p.MetaMetricsEventCategory.Navigation,event:"Clicked AirGap Vault Buy Now"}),(0,f.openWindow)(d.HardwareAffiliateLinks.airgap)}},this.context.t("downloadNow")),o.default.createElement(s.Button,{className:"hw-connect__external-btn",variant:s.BUTTON_VARIANT.SECONDARY,onClick:()=>{this.context.trackEvent({category:p.MetaMetricsEventCategory.Navigation,event:"Clicked AirGap Vault Tutorial"}),(0,f.openWindow)(d.HardwareAffiliateTutorialLinks.airgap)}},this.context.t("tutorial")))},{message:o.default.createElement(o.default.Fragment,null,o.default.createElement("p",{className:"hw-connect__QR-subtitle"},this.context.t("coolWallet")),o.default.createElement(s.Button,{className:"hw-connect__external-btn-first",variant:s.BUTTON_VARIANT.SECONDARY,onClick:()=>{this.context.trackEvent({category:p.MetaMetricsEventCategory.Navigation,event:"Clicked CoolWallet Buy Now"}),(0,f.openWindow)(d.HardwareAffiliateLinks.coolwallet)}},this.context.t("buyNow")),o.default.createElement(s.Button,{className:"hw-connect__external-btn",variant:s.BUTTON_VARIANT.SECONDARY,onClick:()=>{this.context.trackEvent({category:p.MetaMetricsEventCategory.Navigation,event:"Clicked CoolWallet Tutorial"}),(0,f.openWindow)(d.HardwareAffiliateTutorialLinks.coolwallet)}},this.context.t("tutorial")))},{message:o.default.createElement(o.default.Fragment,null,o.default.createElement("p",{className:"hw-connect__QR-subtitle"},this.context.t("dcent")),o.default.createElement(s.Button,{className:"hw-connect__external-btn-first",variant:s.BUTTON_VARIANT.SECONDARY,onClick:()=>{this.context.trackEvent({category:p.MetaMetricsEventCategory.Navigation,event:"Clicked DCent Buy Now"}),(0,f.openWindow)(d.HardwareAffiliateLinks.dcent)}},this.context.t("buyNow")),o.default.createElement(s.Button,{className:"hw-connect__external-btn",variant:s.BUTTON_VARIANT.SECONDARY,onClick:()=>{this.context.trackEvent({category:p.MetaMetricsEventCategory.Navigation,event:"Clicked DCent Tutorial"}),(0,f.openWindow)(d.HardwareAffiliateTutorialLinks.dcent)}},this.context.t("tutorial")))},{message:o.default.createElement(o.default.Fragment,null,o.default.createElement("p",{className:"hw-connect__QR-subtitle"},this.context.t("imToken")),o.default.createElement(s.Button,{className:"hw-connect__external-btn-first",variant:s.BUTTON_VARIANT.SECONDARY,onClick:()=>{this.context.trackEvent({category:p.MetaMetricsEventCategory.Navigation,event:"Clicked imToken Learn More"}),(0,f.openWindow)(d.HardwareAffiliateLinks.imtoken)}},this.context.t("downloadNow")),o.default.createElement(s.Button,{className:"hw-connect__external-btn",variant:s.BUTTON_VARIANT.SECONDARY,onClick:()=>{this.context.trackEvent({category:p.MetaMetricsEventCategory.Navigation,event:"Clicked imToken Tutorial"}),(0,f.openWindow)(d.HardwareAffiliateTutorialLinks.imtoken)}},this.context.t("tutorial")))},{message:o.default.createElement(o.default.Fragment,null,o.default.createElement("p",{className:"hw-connect__QR-subtitle"},this.context.t("onekey")),o.default.createElement(s.Button,{className:"hw-connect__external-btn-first",variant:s.BUTTON_VARIANT.SECONDARY,onClick:()=>{this.context.trackEvent({category:p.MetaMetricsEventCategory.Navigation,event:"Clicked OneKey Learn More"}),(0,f.openWindow)(d.HardwareAffiliateLinks.onekey)}},this.context.t("buyNow")),o.default.createElement(s.Button,{className:"hw-connect__external-btn",variant:s.BUTTON_VARIANT.SECONDARY,onClick:()=>{this.context.trackEvent({category:p.MetaMetricsEventCategory.Navigation,event:"Clicked OneKey Tutorial"}),(0,f.openWindow)(d.HardwareAffiliateTutorialLinks.onekey)}},this.context.t("tutorial")))},{message:this.context.t("QRHardwareWalletSteps2Description")},{asset:"qrcode-wallet-demo",dimensions:{width:"225px",height:"75px"}}),o.default.createElement("div",{className:"hw-tutorial"},e.map(((e,t)=>o.default.createElement("div",{className:"hw-connect",key:t},e.title&&o.default.createElement("h3",{className:"hw-connect__title"},e.title),o.default.createElement("div",{className:"hw-connect__msg"},e.message),e.asset&&o.default.createElement("img",T({className:"hw-connect__step-asset",src:`images/${e.asset}.svg`},e.dimensions,{alt:""}))))))}renderConnectScreen(){return o.default.createElement(s.Box,{className:"new-external-account-form",display:g.Display.Flex,flexDirection:g.FlexDirection.Column,alignItems:g.AlignItems.center,justifyContent:g.JustifyContent.center},this.renderHeader(),this.renderButtons(),this.state.selectedDevice?this.renderTutorialSteps():null,this.renderContinueButton(),this.renderFooter())}render(){return this.props.browserSupported?this.renderConnectScreen():this.renderUnsupportedBrowser()}}n.default=b,y(b,"contextTypes",{t:r.default.func,trackEvent:r.default.func}),y(b,"propTypes",{onCancel:r.default.func.isRequired,connectToHardwareWallet:r.default.func.isRequired,browserSupported:r.default.bool.isRequired,ledgerTransportType:r.default.oneOf(Object.values(d.LedgerTransportTypes))})}}},{package:"$root$",file:"ui/pages/create-account/connect-hardware/select-hardware.js"}],[5735,{"../../components/component-library":4955,"../../helpers/constants/routes":5361,"./connect-hardware":5733,react:4243,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(){return a.default.createElement(o.Box,{className:"new-account-wrapper"},a.default.createElement(r.Switch,null,a.default.createElement(r.Route,{exact:!0,path:s.CONNECT_HARDWARE_ROUTE,component:i.default})))};var a=c(e("react")),r=e("react-router-dom"),o=e("../../components/component-library"),s=e("../../helpers/constants/routes"),i=c(e("./connect-hardware"));function c(e){return e&&e.__esModule?e:{default:e}}}}},{package:"$root$",file:"ui/pages/create-account/create-account.component.js"}],[5736,{"../../components/app/snaps/snap-authorship-header":4770,"../../components/component-library":4955,"../../helpers/constants/design-system":5355,"../../hooks/useI18nContext":5427,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=c(e("react")),r=e("../../components/component-library"),o=e("../../helpers/constants/design-system"),s=c(e("../../components/app/snaps/snap-authorship-header")),i=e("../../hooks/useI18nContext");function c(e){return e&&e.__esModule?e:{default:e}}n.default=({snapId:e,snapName:t})=>{const n=(0,i.useI18nContext)();return a.default.createElement(r.Box,{className:"create-snap-account-page",height:o.BlockSize.Full,width:o.BlockSize.Full,display:o.Display.Flex,borderStyle:o.BorderStyle.none,flexDirection:o.FlexDirection.Column,alignItems:o.AlignItems.center,marginBottom:0},a.default.createElement(s.default,{snapId:e}),a.default.createElement(r.Box,{display:o.Display.Flex,flexDirection:o.FlexDirection.Column,alignItems:o.AlignItems.center,justifyContent:o.JustifyContent.center,paddingLeft:4,paddingRight:4,style:{flexGrow:1}},a.default.createElement(r.Box,{display:o.Display.Flex,flexDirection:o.FlexDirection.Column,alignItems:o.AlignItems.center},a.default.createElement(r.Box,{paddingBottom:4},a.default.createElement(r.AvatarIcon,{iconName:r.IconName.UserCircleAdd,size:r.AvatarIconSize.Xl})),a.default.createElement(r.Text,{"data-testid":"create-snap-account-content-title",textAlign:o.TextAlign.Center,variant:o.TextVariant.headingLg},n("createSnapAccountTitle")),a.default.createElement(r.Text,{variant:o.TextVariant.bodyMd,textAlign:o.TextAlign.Center,overflowWrap:o.OverflowWrap.Anywhere,"data-testid":"create-snap-account-content-description"},n("createSnapAccountDescription",[a.default.createElement(r.Text,{color:o.TextColor.inherit,variant:o.TextVariant.inherit,fontWeight:o.FontWeight.Medium,key:"1"},t)])))))}}}},{package:"$root$",file:"ui/pages/create-snap-account/create-snap-account.tsx"}],[5737,{"./create-snap-account":5736},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"CreateSnapAccount",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./create-snap-account"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/create-snap-account/index.ts"}],[5738,{"../../../shared/lib/error-utils":4524,"../../contexts/metametrics":5327,"../../helpers/constants/routes":5361,"../../hooks/useI18nContext":5427,"./render-desktop-error":5741,react:4243,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function({forceDisableDesktop:e}){const t=(0,o.useI18nContext)(),{errorType:n}=(0,a.useParams)(),u=(0,a.useHistory)(),d=(0,r.useContext)(c.MetaMetricsContext);return(0,l.renderDesktopError)({type:n,t:t,isHtmlError:!1,history:u,disableDesktop:()=>{e(),u.push(i.DEFAULT_ROUTE)},downloadDesktopApp:s.downloadDesktopApp,downloadExtension:s.downloadExtension,restartExtension:s.restartExtension,trackEvent:d})};var a=e("react-router-dom"),r=e("react"),o=e("../../hooks/useI18nContext"),s=e("../../../shared/lib/error-utils"),i=e("../../helpers/constants/routes"),c=e("../../contexts/metametrics"),l=e("./render-desktop-error")}}},{package:"$root$",file:"ui/pages/desktop-error/desktop-error.component.js"}],[5739,{"../../store/actionConstants":5997,"./desktop-error.component":5738,"react-redux":4199,"react-router-dom":4228,redux:4261},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=e("react-redux"),o=e("redux"),s=e("react-router-dom"),i=e("../../store/actionConstants"),c=(a=e("./desktop-error.component"))&&a.__esModule?a:{default:a};n.default=(0,o.compose)(s.withRouter,(0,r.connect)((()=>({})),(e=>({forceDisableDesktop:async()=>{e({type:i.FORCE_DISABLE_DESKTOP})}}))))(c.default)}}},{package:"$root$",file:"ui/pages/desktop-error/desktop-error.container.js"}],[5740,{"./desktop-error.container":5739},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./desktop-error.container"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/desktop-error/index.js"}],[5741,{"../../../shared/constants/desktop":4497,"../../../shared/constants/metametrics":4505,"../../../shared/lib/deep-linking":4523,"../../components/ui/box":5194,"../../components/ui/button":5198,"../../components/ui/icon/icon-times":5236,"../../components/ui/typography":5314,"../../helpers/constants/design-system":5355,"../../helpers/constants/routes":5361,react:4243,"react-dom/server":4075},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.renderDesktopError=function({type:e,t:t,isHtmlError:n,history:f,disableDesktop:g,downloadExtension:h,downloadDesktopApp:v,restartExtension:T,openOrDownloadDesktopApp:y,trackEvent:b}){let _;const E={DOWNLOAD_METAMASK_DESKTOP:"Download MetaMask Desktop",OPEN_METAMASK_DESKTOP:"Open MetaMask Desktop",DISABLE_METAMASK_DESKTOP:"Disable MetaMask Desktop",UPDATE_METAMASK_DESKTOP:"Update MetaMask Desktop",RETURN_SETTINGS_PAGE:"Return to Settings Page",UPDATE_METAMASK_EXTENSION:"Update MetaMask Extension",RESTART_METAMASK:"Restart MetaMask",RETURN_METAMASK_HOME:"Return MetaMask Home"},k=()=>{null==f||f.push(c.DEFAULT_ROUTE)},x=()=>{null==f||f.push(c.SETTINGS_ROUTE)},w=e=>a.default.createElement(l.default,{variant:i.TypographyVariant.H4,fontWeight:i.FONT_WEIGHT.BOLD,marginTop:6,marginBottom:6},e),C=e=>a.default.createElement(l.default,{variant:i.TypographyVariant.Paragraph},e),A=(e,t,n,r)=>a.default.createElement(d.default,{marginTop:6},a.default.createElement(u.default,{type:"primary",onClick:()=>{n&&(n(),"function"==typeof b&&b({category:p.MetaMetricsEventCategory.Desktop,event:"Desktop Button Clicked",properties:{button_action:r}}))},id:e},t));switch(e){case s.EXTENSION_ERROR_PAGE_TYPES.NOT_FOUND:_=a.default.createElement(a.default.Fragment,null,w(t("desktopNotFoundErrorTitle")),C(t("desktopNotFoundErrorDescription1")),C(t("desktopNotFoundErrorDescription2")),A("desktop-error-button-download-mmd",t("desktopNotFoundErrorCTA"),v,E.DOWNLOAD_METAMASK_DESKTOP));break;case s.EXTENSION_ERROR_PAGE_TYPES.CONNECTION_LOST:_=a.default.createElement(a.default.Fragment,null,w(t("desktopConnectionLostErrorTitle")),C(t("desktopConnectionLostErrorDescription")),A("desktop-error-button-open-or-download-mmd",t("desktopOpenOrDownloadCTA"),y),A("desktop-error-button-disable-mmd",t("desktopDisableErrorCTA"),g,E.DISABLE_METAMASK_DESKTOP));break;case s.EXTENSION_ERROR_PAGE_TYPES.DESKTOP_OUTDATED:_=a.default.createElement(a.default.Fragment,null,w(t("desktopOutdatedErrorTitle")),C(t("desktopOutdatedErrorDescription")),A("desktop-error-button-update-mmd",t("desktopOutdatedErrorCTA"),v,E.UPDATE_METAMASK_DESKTOP));break;case s.EXTENSION_ERROR_PAGE_TYPES.EXTENSION_OUTDATED:_=a.default.createElement(a.default.Fragment,null,w(t("desktopOutdatedExtensionErrorTitle")),C(t("desktopOutdatedExtensionErrorDescription")),A("desktop-error-button-update-extension",t("desktopOutdatedExtensionErrorCTA"),h,E.UPDATE_METAMASK_EXTENSION));break;case s.EXTENSION_ERROR_PAGE_TYPES.CRITICAL_ERROR:_=a.default.createElement(a.default.Fragment,null,w(t("desktopConnectionCriticalErrorTitle")),C(t("desktopConnectionCriticalErrorDescription")),A("desktop-error-button-restart-mm",t("desktopErrorRestartMMCTA"),T,E.RESTART_METAMASK),A("desktop-error-button-disable-mmd",t("desktopDisableErrorCTA"),g,E.DISABLE_METAMASK_DESKTOP));break;case s.EXTENSION_ERROR_PAGE_TYPES.ROUTE_NOT_FOUND:_=a.default.createElement(a.default.Fragment,null,w(t("desktopRouteNotFoundErrorTitle")),C(t("desktopRouteNotFoundErrorDescription")),A("desktop-error-button-navigate-settings",t("desktopErrorNavigateSettingsCTA"),x,E.RETURN_SETTINGS_PAGE));break;case s.EXTENSION_ERROR_PAGE_TYPES.PAIRING_KEY_NOT_MATCH:_=a.default.createElement(a.default.Fragment,null,w(t("desktopPairedWarningTitle")),C(t("desktopPairedWarningDescription")),a.default.createElement(u.default,{type:"link",onClick:()=>{(0,m.openCustomProtocol)("metamask-desktop://pair").catch((()=>{window.open("https://metamask.io/download.html","_blank").focus()}))},className:"desktop-pairing-warning__link"},t("desktopPairedWarningDeepLink")),A("desktop-error-button-navigate-settings",t("desktopErrorNavigateSettingsCTA"),x,E.RETURN_SETTINGS_PAGE));break;default:_=a.default.createElement(a.default.Fragment,null,w(t("desktopUnexpectedErrorTitle")),C(t("desktopUnexpectedErrorDescription")),A("desktop-error-button-return-mm-home",t("desktopUnexpectedErrorCTA"),k,E.RETURN_METAMASK_HOME))}const S=a.default.createElement(d.default,{display:i.DISPLAY.FLEX,alignItems:i.AlignItems.center,textAlign:i.TEXT_ALIGN.CENTER,flexDirection:i.FLEX_DIRECTION.COLUMN,marginLeft:6,marginRight:6,marginTop:n?8:6},a.default.createElement(o.default,{size:64,color:"var(--color-error-default"}),_);if(n)return r.default.renderToStaticMarkup(S);return S};var a=f(e("react")),r=f(e("react-dom/server")),o=f(e("../../components/ui/icon/icon-times")),s=e("../../../shared/constants/desktop"),i=e("../../helpers/constants/design-system"),c=e("../../helpers/constants/routes"),l=f(e("../../components/ui/typography")),u=f(e("../../components/ui/button")),d=f(e("../../components/ui/box")),m=e("../../../shared/lib/deep-linking"),p=e("../../../shared/constants/metametrics");function f(e){return e&&e.__esModule?e:{default:e}}}}},{package:"$root$",file:"ui/pages/desktop-error/render-desktop-error.js"}],[5742,{"../../../shared/constants/time":4518,"../../components/component-library":4955,"../../components/ui/box/box":5193,"../../components/ui/icon/icon-desktop-pairing":5233,"../../components/ui/tooltip":5310,"../../contexts/i18n":5324,"../../helpers/constants/design-system":5355,"../../hooks/useCopyToClipboard":5417,"prop-types":3997,react:4243,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=h;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=g(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=e("react-router-dom"),o=f(e("prop-types")),s=e("../../../shared/constants/time"),i=e("../../contexts/i18n"),c=f(e("../../components/ui/icon/icon-desktop-pairing")),l=e("../../helpers/constants/design-system"),u=f(e("../../components/ui/box/box")),d=e("../../hooks/useCopyToClipboard"),m=f(e("../../components/ui/tooltip")),p=e("../../components/component-library");function f(e){return e&&e.__esModule?e:{default:e}}function g(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(g=function(e){return e?n:t})(e)}function h({generateDesktopOtp:e,mostRecentOverviewPage:t,showLoadingIndication:n,hideLoadingIndication:o}){const f=(0,a.useContext)(i.I18nContext),g=(0,r.useHistory)(),h=30*s.SECOND,v=s.SECOND,T=(new Date).getTime(),[y,b]=(0,a.useState)(),[_,E]=(0,a.useState)(T),[k,x]=(0,a.useState)(T),[w,C]=(0,d.useCopyToClipboard)(),A=(0,a.useRef)(),S=(0,a.useRef)(),P=()=>{x((new Date).getTime())},N=()=>{const e=h-(k-_);return Math.round(e/s.SECOND)};(0,a.useEffect)((()=>{const t=async()=>{E((new Date).getTime());const t=await e();b(t)};return t(),P(),A.current=setInterval((()=>t()),h),S.current=setInterval((()=>P()),v),function(){clearInterval(A.current),clearInterval(S.current)}}),[h,v,e]);return a.default.createElement(u.default,{display:l.DISPLAY.FLEX,flexDirection:"column",alignItems:l.AlignItems.center,marginLeft:2,marginRight:2},a.default.createElement(u.default,{display:l.DISPLAY.FLEX,justifyContent:l.JustifyContent.center,marginTop:8,marginBottom:8},a.default.createElement(c.default,{className:"desktop-pairing__icon",size:64})),y?(o(),a.default.createElement(a.default.Fragment,null,a.default.createElement(p.Text,{variant:l.TextVariant.headingMd,align:l.TEXT_ALIGN.CENTER},f("desktopPageTitle")),a.default.createElement(p.Text,{marginTop:2,align:l.TEXT_ALIGN.CENTER},f("desktopPageSubTitle")),a.default.createElement(u.default,{marginBottom:6,marginTop:6,className:"desktop-pairing__clickable",onClick:()=>{C(y)},"data-testid":"desktop-pairing-otp-content"},a.default.createElement(m.default,{wrapperClassName:"desktop-pairing__tooltip-wrapper",position:"top",title:f(w?"copiedExclamation":"copyToClipboard")},a.default.createElement(p.Text,{align:l.TEXT_ALIGN.CENTER,variant:l.TextVariant.displayMd,className:"desktop-pairing__otp"},y)),a.default.createElement(u.default,{display:l.DISPLAY.FLEX,alignItems:l.AlignItems.center,justifyContent:l.JustifyContent.center,marginTop:4,marginBottom:6},a.default.createElement(p.Text,{className:"desktop-pairing__countdown-timer",variant:l.TextVariant.paragraph,align:l.TEXT_ALIGN.CENTER,backgroundColor:l.BackgroundColor.backgroundDefault,borderRadius:l.BorderRadius.XL,padding:2},f("desktopPairingExpireMessage",[a.default.createElement("span",{className:"desktop-pairing__countdown-timer-seconds",key:1},N())]))),a.default.createElement(p.Text,{align:l.TEXT_ALIGN.CENTER,variant:l.TextVariant.bodySm},f("desktopPageDescription"))))):(n(),null),a.default.createElement(u.default,null,a.default.createElement(p.Button,{onClick:()=>{null==g||g.push(t)}},f("done"))))}h.propTypes={mostRecentOverviewPage:o.default.string,showLoadingIndication:o.default.func,hideLoadingIndication:o.default.func,generateDesktopOtp:o.default.func}}}},{package:"$root$",file:"ui/pages/desktop-pairing/desktop-pairing.component.js"}],[5743,{"../../ducks/history/history":5343,"../../store/actions":5998,"./desktop-pairing.component":5742,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=e("react-redux"),o=e("../../store/actions"),s=e("../../ducks/history/history"),i=(a=e("./desktop-pairing.component"))&&a.__esModule?a:{default:a};n.default=(0,r.connect)((e=>({mostRecentOverviewPage:(0,s.getMostRecentOverviewPage)(e)})),(e=>({generateDesktopOtp:()=>(0,o.generateDesktopOtp)(),showLoadingIndication:()=>e((0,o.showLoadingIndication)()),hideLoadingIndication:()=>e((0,o.hideLoadingIndication)())})))(i.default)}}},{package:"$root$",file:"ui/pages/desktop-pairing/desktop-pairing.container.js"}],[5744,{"./desktop-pairing.container":5743},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./desktop-pairing.container"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/desktop-pairing/index.js"}],[5745,{"../../../app/scripts/lib/util":120,"../../../shared/constants/app":4493,"../../../shared/constants/metametrics":4505,"../../helpers/constants/common":5353,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=u(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=(a=e("prop-types"))&&a.__esModule?a:{default:a},s=e("../../../app/scripts/lib/util"),i=e("../../../shared/constants/app"),c=e("../../helpers/constants/common"),l=e("../../../shared/constants/metametrics");function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(u=function(e){return e?n:t})(e)}function d(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class m extends r.PureComponent{renderErrorDetail(e){return r.default.createElement("li",null,r.default.createElement("p",null,e))}renderErrorStack(e,t){return r.default.createElement("li",null,r.default.createElement("span",null,e),r.default.createElement("pre",{className:"error-page__stack"},t))}render(){const{error:e}=this.props,{t:t}=this.context,n=(0,s.getEnvironmentType)()===i.ENVIRONMENT_TYPE_POPUP,a=r.default.createElement("a",{target:"_blank",key:"metamaskSupportLink",rel:"noopener noreferrer",href:c.SUPPORT_REQUEST_LINK,onClick:()=>{this.context.trackEvent({category:l.MetaMetricsEventCategory.Error,event:l.MetaMetricsEventName.SupportLinkClicked,properties:{url:c.SUPPORT_REQUEST_LINK}},{contextPropsIntoEventProperties:[l.MetaMetricsContextProp.PageTitle]})}},r.default.createElement("span",{className:"error-page__link-text"},this.context.t("here"))),o=t(n?"errorPagePopupMessage":"errorPageMessage",[a]);return r.default.createElement("section",{className:"error-page"},r.default.createElement("h1",{className:"error-page__header"},t("errorPageTitle")),r.default.createElement("h2",{className:"error-page__subheader"},o),r.default.createElement("section",{className:"error-page__details"},r.default.createElement("details",null,r.default.createElement("summary",null,t("errorDetails")),r.default.createElement("ul",null,e.message?this.renderErrorDetail(t("errorMessage",[e.message])):null,e.code?this.renderErrorDetail(t("errorCode",[e.code])):null,e.name?this.renderErrorDetail(t("errorName",[e.name])):null,e.stack?this.renderErrorStack(t("errorStack"),e.stack):null))))}}d(m,"contextTypes",{t:o.default.func.isRequired,trackEvent:o.default.func}),d(m,"propTypes",{error:o.default.object.isRequired});n.default=m}}},{package:"$root$",file:"ui/pages/error/error.component.js"}],[5746,{"./error.component":5745},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./error.component"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/error/index.js"}],[5747,{"../../../../shared/constants/metametrics":4505,"../../../contexts/metametrics":5327,"../../../helpers/constants/common":5353,"../../../hooks/useI18nContext":5427,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=e("../../../helpers/constants/common"),o=e("../../../hooks/useI18nContext"),s=e("../../../../shared/constants/metametrics"),i=e("../../../contexts/metametrics");function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}n.default=()=>{const e=(0,o.useI18nContext)(),t=(0,a.useContext)(i.MetaMetricsContext);return a.default.createElement(a.default.Fragment,null,a.default.createElement("a",{target:"_blank",rel:"noopener noreferrer",href:r.SUPPORT_REQUEST_LINK,onClick:()=>{t({category:s.MetaMetricsEventCategory.Footer,event:s.MetaMetricsEventName.SupportLinkClicked,properties:{url:r.SUPPORT_REQUEST_LINK}},{contextPropsIntoEventProperties:[s.MetaMetricsContextProp.PageTitle]})}},e("needHelpSubmitTicket"))," ","|"," ",a.default.createElement("a",{href:"https://community.metamask.io/c/developer-discussion/11",target:"_blank",rel:"noopener noreferrer"},e("needHelpFeedback")))}}}},{package:"$root$",file:"ui/pages/home/flask/flask-home-footer.component.js"}]],[],{}); \ No newline at end of file +LavaPack.loadBundle([[5592,{"../../../../../shared/constants/app":4493,"../../../../../shared/constants/security-provider":4513,"../../../../../shared/modules/security-provider.utils":4552,"../../../../components/app/snaps/insight-warnings":4760,"../../../../components/app/snaps/snap-legacy-authorship-header":4782,"../../../../components/component-library":4955,"../../../../components/ui/page-container":5275,"../../../../components/ui/site-origin":5292,"../../../../components/ui/typography/typography":5315,"../../../../helpers/constants/design-system":5355,"../../../../helpers/utils/util":5399,"../blockaid-unavailable-banner-alert/blockaid-unavailable-banner-alert":5491,"../confirm-page-container/confirm-page-container-navigation":5509,"../ledger-instruction-field":5575,"../security-provider-banner-alert/blockaid-banner-alert/blockaid-banner-alert":5580,"../security-provider-banner-message/security-provider-banner-message":5584,"../signature-request-header":5587,"./signature-request-original-warning":5590,"@metamask/permission-controller":1624,classnames:3049,"eth-rpc-errors":3257,"prop-types":3997,react:4243,"react-inspector":4091},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=S(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=A(e("prop-types")),o=A(e("classnames")),s=e("react-inspector"),i=e("eth-rpc-errors"),c=e("@metamask/permission-controller"),l=A(e("../ledger-instruction-field")),u=e("../../../../../shared/constants/app"),d=e("../../../../helpers/utils/util"),m=e("../../../../../shared/modules/security-provider.utils"),p=A(e("../../../../components/ui/site-origin")),f=A(e("../../../../components/ui/typography/typography")),g=e("../../../../components/ui/page-container"),h=e("../../../../helpers/constants/design-system"),v=e("../../../../components/component-library"),T=A(e("../security-provider-banner-alert/blockaid-banner-alert/blockaid-banner-alert")),y=A(e("../confirm-page-container/confirm-page-container-navigation")),b=A(e("../security-provider-banner-message/security-provider-banner-message")),_=A(e("../signature-request-header")),E=A(e("../../../../components/app/snaps/snap-legacy-authorship-header")),k=A(e("../../../../components/app/snaps/insight-warnings")),x=e("../../../../../shared/constants/security-provider"),w=e("../blockaid-unavailable-banner-alert/blockaid-unavailable-banner-alert"),C=A(e("./signature-request-original-warning"));function A(e){return e&&e.__esModule?e:{default:e}}function S(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(S=function(e){return e?n:t})(e)}function P(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class N extends a.Component{constructor(...e){super(...e),P(this,"state",{showSignatureRequestWarning:!1,showSignatureInsights:!1}),P(this,"renderTypedData",(e=>{const{t:t}=this.context,{domain:n,message:r}=JSON.parse(e);return a.default.createElement("div",{className:"request-signature__typed-container"},n?a.default.createElement("div",null,a.default.createElement("h1",null,t("domain")),a.default.createElement(s.ObjectInspector,{data:n,expandLevel:1,name:"domain"})):"",r?a.default.createElement("div",null,a.default.createElement("h1",null,t("message")),a.default.createElement(s.ObjectInspector,{data:r,expandLevel:1,name:"message"})):"")})),P(this,"renderBody",(()=>{let e;const t=`${this.context.t("youSign")}:`,{txData:n,subjectMetadata:r}=this.props,{type:s,msgParams:{data:i}}=n;s===u.MESSAGE_TYPE.PERSONAL_SIGN?e=[{name:this.context.t("message"),value:(0,d.hexToText)(i)}]:s===u.MESSAGE_TYPE.ETH_SIGN_TYPED_DATA?e=i:s===u.MESSAGE_TYPE.ETH_SIGN&&(e=[{name:this.context.t("message"),value:i}]);const l=n.msgParams.origin?null==r?void 0:r[n.msgParams.origin]:null;return a.default.createElement("div",{className:"request-signature__body"},a.default.createElement(T.default,{txData:n,marginTop:4,marginLeft:4,marginRight:4}),(0,m.isSuspiciousResponse)(null==n?void 0:n.securityProviderResponse)&&a.default.createElement(b.default,{securityProviderResponse:n.securityProviderResponse}),a.default.createElement(w.BlockaidUnavailableBannerAlert,null),a.default.createElement("div",{className:"request-signature__origin"},(null==l?void 0:l.subjectType)===c.SubjectType.Snap?a.default.createElement(E.default,{snapId:l.origin,marginLeft:4,marginRight:4}):a.default.createElement(p.default,{title:n.msgParams.origin,siteOrigin:n.msgParams.origin,iconSrc:null==l?void 0:l.iconUrl,iconName:(0,d.getURLHostName)(null==l?void 0:l.origin)||(null==l?void 0:l.origin),chip:!0})),a.default.createElement(f.default,{className:"request-signature__content__title",variant:h.TypographyVariant.H3,fontWeight:h.FontWeight.Bold},this.context.t("sigRequest")),a.default.createElement(f.default,{className:"request-signature__content__subtitle",variant:h.TypographyVariant.H7,color:h.TextColor.textAlternative,align:h.TextAlign.Center,margin:12,marginTop:3},this.context.t("signatureRequestGuidance")),a.default.createElement("div",{className:(0,o.default)("request-signature__notice")},t),a.default.createElement("div",{className:"request-signature__rows"},e.map((({name:e,value:t},n)=>("boolean"==typeof t&&(t=t.toString()),a.default.createElement("div",{className:"request-signature__row",key:`request-signature-row-${n}`},a.default.createElement("div",{className:"request-signature__row-title"},(0,d.sanitizeString)(`${e}:`)),a.default.createElement("div",{className:"request-signature__row-value"},(0,d.sanitizeString)(t))))))))})),P(this,"onSubmit",(async()=>{const{resolvePendingApproval:e,completedTx:t,clearConfirmTransaction:n,history:a,mostRecentOverviewPage:r,txData:o}=this.props;await e(o.id),t(o.id),n(),a.push(r)})),P(this,"onCancel",(async()=>{const{clearConfirmTransaction:e,history:t,mostRecentOverviewPage:n,rejectPendingApproval:a,txData:{id:r}}=this.props;await a(r,(0,i.serializeError)(i.ethErrors.provider.userRejectedRequest())),e(),t.push(n)})),P(this,"renderFooter",(()=>{var e;const{clearConfirmTransaction:t,history:n,mostRecentOverviewPage:r,txData:o,hardwareWalletRequiresConnection:s,rejectPendingApproval:c,warnings:l}=this.props,{t:d}=this.context,m=(null===(e=o.securityAlertResponse)||void 0===e?void 0:e.result_type)===x.BlockaidResultType.Malicious?"danger-primary":"primary";return a.default.createElement(g.PageContainerFooter,{cancelText:d("reject"),submitText:d("sign"),onCancel:async()=>{await c(o.id,(0,i.serializeError)(i.ethErrors.provider.userRejectedRequest())),t(),n.push(r)},onSubmit:async()=>o.type===u.MESSAGE_TYPE.ETH_SIGN?this.setState({showSignatureRequestWarning:!0}):(null==l?void 0:l.length)>=1?this.setState({showSignatureInsights:!0}):await this.onSubmit(),disabled:s,submitButtonType:m})})),P(this,"handleCancelAll",(()=>{const{clearConfirmTransaction:e,history:t,mostRecentOverviewPage:n,showRejectTransactionsConfirmationModal:a,messagesCount:r,cancelAllApprovals:o}=this.props;a({unapprovedTxCount:r,onSubmit:async()=>{await o(),e(),t.push(n)}})})),P(this,"render",(()=>{const{messagesCount:e,fromAccount:{address:t,name:n},txData:r,warnings:o}=this.props,{showSignatureRequestWarning:s}=this.state,{t:i}=this.context,c=i("rejectRequestsN",[e]);return a.default.createElement("div",{className:"request-signature__container"},a.default.createElement("div",{className:"request-signature__navigation"},a.default.createElement(y.default,null)),a.default.createElement("div",{className:"request-signature__account"},a.default.createElement(_.default,{txData:r})),this.renderBody(),this.props.isLedgerWallet?a.default.createElement("div",{className:"confirm-approve-content__ledger-instruction-wrapper"},a.default.createElement(l.default,{showDataInstruction:!0})):null,s&&a.default.createElement(C.default,{senderAddress:t,name:n,onSubmit:async()=>(null==o?void 0:o.length)>=1?this.setState({showSignatureInsights:!0,showSignatureRequestWarning:!1}):await this.onSubmit(),onCancel:async e=>await this.onCancel(e)}),this.state.showSignatureInsights&&a.default.createElement(k.default,{warnings:o,action:"signing",origin:r.msgParams.origin,onCancel:()=>{this.setState({showSignatureInsights:!1})},onSubmit:async()=>{await this.onSubmit(),this.setState({showSignatureInsights:!1})}}),this.renderFooter(),e>1?a.default.createElement(v.ButtonLink,{size:h.Size.inherit,className:"request-signature__container__reject",onClick:()=>this.handleCancelAll()},c):null)}))}}n.default=N,P(N,"contextTypes",{t:r.default.func.isRequired,trackEvent:r.default.func}),P(N,"propTypes",{fromAccount:r.default.shape({address:r.default.string.isRequired,name:r.default.string}).isRequired,txData:r.default.object.isRequired,subjectMetadata:r.default.object,hardwareWalletRequiresConnection:r.default.bool,isLedgerWallet:r.default.bool,messagesCount:r.default.number,showRejectTransactionsConfirmationModal:r.default.func.isRequired,cancelAllApprovals:r.default.func.isRequired,rejectPendingApproval:r.default.func.isRequired,clearConfirmTransaction:r.default.func.isRequired,history:r.default.object.isRequired,mostRecentOverviewPage:r.default.string.isRequired,resolvePendingApproval:r.default.func.isRequired,completedTx:r.default.func.isRequired,warnings:r.default.array})}}},{package:"$root$",file:"ui/pages/confirmations/components/signature-request-original/signature-request-original.component.js"}],[5593,{"../../../../ducks/confirm-transaction/confirm-transaction.duck":5338,"../../../../ducks/history/history":5343,"../../../../ducks/metamask/metamask":5346,"../../../../helpers/utils/util":5399,"../../../../selectors":5987,"../../../../store/actions":5998,"./signature-request-original.component":5592,"react-redux":4199,"react-router-dom":4228,redux:4261},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=e("react-redux"),o=e("redux"),s=e("react-router-dom"),i=e("../../../../store/actions"),c=e("../../../../selectors"),l=e("../../../../helpers/utils/util"),u=e("../../../../ducks/confirm-transaction/confirm-transaction.duck"),d=e("../../../../ducks/history/history"),m=e("../../../../ducks/metamask/metamask"),p=(a=e("./signature-request-original.component"))&&a.__esModule?a:{default:a};let f=null;f=function(e){return{goHome:()=>e((0,i.goHome)()),clearConfirmTransaction:()=>e((0,u.clearConfirmTransaction)()),showRejectTransactionsConfirmationModal:({onSubmit:t,unapprovedTxCount:n})=>e((0,i.showModal)({name:"REJECT_TRANSACTIONS",onSubmit:t,unapprovedTxCount:n,isRequestType:!0})),completedTx:t=>e((0,i.completedTx)(t)),resolvePendingApproval:t=>{e((0,i.resolvePendingApproval)(t))},rejectPendingApproval:(t,n)=>e((0,i.rejectPendingApproval)(t,n)),cancelAllApprovals:t=>{e((0,i.rejectAllMessages)(t))}}};n.default=(0,o.compose)(s.withRouter,(0,r.connect)((function(e,t){const{msgParams:{from:n}}=t.txData,a=(0,c.doesAddressRequireLedgerHidConnection)(e,n),r=(0,m.isAddressLedger)(e,n),o=(0,c.unconfirmedMessagesHashSelector)(e),s=(0,c.getTotalUnapprovedMessagesCount)(e);return{requester:null,requesterAddress:null,mostRecentOverviewPage:(0,d.getMostRecentOverviewPage)(e),hardwareWalletRequiresConnection:a,isLedgerWallet:r,allAccounts:(0,c.accountsWithSendEtherInfoSelector)(e),subjectMetadata:(0,c.getSubjectMetadata)(e),messagesList:o,messagesCount:s}}),f,(function(e,t,n){const{txData:a}=n,{allAccounts:r,messagesList:o,...s}=e,{msgParams:{from:i}}=a,c=(0,l.getAccountByAddress)(r,i),{cancelAllApprovals:u}=t;return{...n,...s,...t,fromAccount:c,txData:a,cancelAllApprovals:()=>u((0,l.valuesFor)(o))}})))(p.default)}}},{package:"$root$",file:"ui/pages/confirmations/components/signature-request-original/signature-request-original.container.js"}],[5594,{"./signature-request-siwe":5601},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./signature-request-siwe"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/signature-request-siwe/index.js"}],[5595,{"./signature-request-siwe-header":5596},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./signature-request-siwe-header"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/signature-request-siwe/signature-request-siwe-header/index.js"}],[5596,{"../../../../../components/app/account-list-item":4565,"../../../../../components/app/permissions-connect-header":4739,"../../../../../components/ui/tooltip":5310,"../../../../../contexts/i18n":5324,"../signature-request-siwe-icon":5597,"../signature-request-siwe-tag":5600,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=p;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=m(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=d(e("prop-types")),o=d(e("../../../../../components/app/account-list-item")),s=e("../../../../../contexts/i18n"),i=d(e("../../../../../components/app/permissions-connect-header")),c=d(e("../signature-request-siwe-icon")),l=d(e("../signature-request-siwe-tag")),u=d(e("../../../../../components/ui/tooltip"));function d(e){return e&&e.__esModule?e:{default:e}}function m(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(m=function(e){return e?n:t})(e)}function p({fromAccount:e,domain:t,isSIWEDomainValid:n,subjectMetadata:r}){const d=(0,a.useContext)(s.I18nContext);return a.default.createElement("div",{className:"signature-request-siwe-header"},a.default.createElement(i.default,{iconUrl:r.iconUrl,iconName:r.name,headerTitle:d("SIWESiteRequestTitle"),headerText:d("SIWESiteRequestSubtitle"),siteOrigin:t,className:n?"":"bad-domain",leftIcon:!n&&a.default.createElement(u.default,{position:"bottom",html:a.default.createElement("p",null,d("SIWEDomainWarningBody",[t]))},a.default.createElement(c.default,null)),rightIcon:!n&&a.default.createElement(u.default,{position:"bottom",html:a.default.createElement("p",null,d("SIWEDomainWarningBody",[t]))},a.default.createElement(l.default,{text:d("SIWEDomainWarningLabel")}))}),e&&a.default.createElement(o.default,{account:e,hideDefaultMismatchWarning:!0,className:"signature-request-siwe-header__account-list-item"}))}p.propTypes={fromAccount:r.default.object,domain:r.default.string,isSIWEDomainValid:r.default.bool,subjectMetadata:r.default.object}}}},{package:"$root$",file:"ui/pages/confirmations/components/signature-request-siwe/signature-request-siwe-header/signature-request-siwe-header.js"}],[5597,{"../../../../../components/component-library":4955,"../../../../../helpers/constants/design-system":5355,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=(a=e("react"))&&a.__esModule?a:{default:a},o=e("../../../../../helpers/constants/design-system"),s=e("../../../../../components/component-library");n.default=()=>r.default.createElement(s.Box,{className:"signature-request-siwe-icon",display:o.Display.InlineFlex,alignItems:o.AlignItems.center,backgroundColor:o.Color.errorDefault,justifyContent:o.JustifyContent.center},r.default.createElement(s.Icon,{name:s.IconName.Danger,color:o.Color.errorInverse}))}}},{package:"$root$",file:"ui/pages/confirmations/components/signature-request-siwe/signature-request-siwe-icon/index.js"}],[5598,{"./signature-request-siwe-message":5599},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./signature-request-siwe-message"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/signature-request-siwe/signature-request-siwe-message/index.js"}],[5599,{"../../../../../components/component-library":4955,"../../../../../components/ui/box":5194,"../../../../../helpers/constants/design-system":5355,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=c(e("react")),r=c(e("prop-types")),o=c(e("../../../../../components/ui/box")),s=e("../../../../../components/component-library"),i=e("../../../../../helpers/constants/design-system");function c(e){return e&&e.__esModule?e:{default:e}}const l=({data:e})=>a.default.createElement(o.default,{className:"signature-request-siwe-message"},a.default.createElement(o.default,{flexDirection:i.FLEX_DIRECTION.COLUMN},e.map((({label:e,value:t},n)=>a.default.createElement(o.default,{key:n.toString(),marginTop:2,marginBottom:2},a.default.createElement(s.Text,{as:"h4",variant:i.TextVariant.bodyLgMedium,marginTop:2,marginBottom:2},e),a.default.createElement(s.Text,{className:"signature-request-siwe-message__sub-text",overflowWrap:i.OVERFLOW_WRAP.BREAK_WORD,marginTop:2,marginBottom:2},t))))));l.propTypes={data:r.default.arrayOf(r.default.shape({label:r.default.string,value:r.default.oneOfType([r.default.string,r.default.number])}))};n.default=a.default.memo(l)}}},{package:"$root$",file:"ui/pages/confirmations/components/signature-request-siwe/signature-request-siwe-message/signature-request-siwe-message.js"}],[5600,{"../../../../../components/component-library":4955,"../../../../../components/ui/box":5194,"../../../../../helpers/constants/design-system":5355,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=c(e("react")),r=c(e("prop-types")),o=e("../../../../../helpers/constants/design-system"),s=c(e("../../../../../components/ui/box")),i=e("../../../../../components/component-library");function c(e){return e&&e.__esModule?e:{default:e}}const l=({text:e})=>a.default.createElement(s.default,{className:"signature-request-siwe-tag",marginRight:1,display:o.Display.InlineFlex,alignItems:o.AlignItems.center,backgroundColor:o.BackgroundColor.errorDefault,borderRadius:o.Size.XL,paddingLeft:4,paddingRight:4},a.default.createElement(i.Text,{margin:0,variant:o.TextVariant.bodySmBold,as:"h6",color:o.TextColor.errorInverse},e));n.default=l;l.propTypes={text:r.default.string}}}},{package:"$root$",file:"ui/pages/confirmations/components/signature-request-siwe/signature-request-siwe-tag/index.js"}],[5601,{"../../../../../shared/constants/security-provider":4513,"../../../../../shared/modules/security-provider.utils":4552,"../../../../../shared/modules/siwe":4557,"../../../../components/app/snaps/insight-warnings":4760,"../../../../components/component-library":4955,"../../../../components/ui/button":5198,"../../../../components/ui/check-box":5202,"../../../../components/ui/page-container":5275,"../../../../components/ui/popover":5281,"../../../../contexts/i18n":5324,"../../../../ducks/confirm-transaction/confirm-transaction.duck":5338,"../../../../ducks/history/history":5343,"../../../../ducks/metamask/metamask":5346,"../../../../helpers/constants/design-system":5355,"../../../../helpers/utils/util":5399,"../../../../selectors":5987,"../../../../store/actions":5998,"../confirm-page-container/confirm-page-container-navigation":5509,"../ledger-instruction-field":5575,"../security-provider-banner-alert/blockaid-banner-alert/blockaid-banner-alert":5580,"../security-provider-banner-message/security-provider-banner-message":5584,"../signature-request-header":5587,"./signature-request-siwe-header":5595,"./signature-request-siwe-message":5598,"@metamask/controller-utils":1163,"eth-rpc-errors":3257,loglevel:3842,"prop-types":3997,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=F;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=D(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=I(e("prop-types")),o=e("react-redux"),s=e("react-router-dom"),i=I(e("loglevel")),c=e("@metamask/controller-utils"),l=e("eth-rpc-errors"),u=e("../../../../components/component-library"),d=I(e("../../../../components/ui/popover")),m=I(e("../../../../components/ui/check-box")),p=I(e("../../../../components/ui/button")),f=e("../../../../contexts/i18n"),g=e("../../../../components/ui/page-container"),h=e("../../../../ducks/metamask/metamask"),v=e("../../../../selectors"),T=e("../../../../helpers/utils/util"),y=e("../../../../../shared/modules/security-provider.utils"),b=e("../../../../../shared/modules/siwe"),_=e("../../../../ducks/confirm-transaction/confirm-transaction.duck"),E=e("../../../../helpers/constants/design-system"),k=e("../../../../store/actions"),x=I(e("../security-provider-banner-message/security-provider-banner-message")),w=I(e("../confirm-page-container/confirm-page-container-navigation")),C=e("../../../../ducks/history/history"),A=I(e("../security-provider-banner-alert/blockaid-banner-alert/blockaid-banner-alert")),S=I(e("../ledger-instruction-field")),P=I(e("../signature-request-header")),N=I(e("../../../../components/app/snaps/insight-warnings")),M=e("../../../../../shared/constants/security-provider"),O=I(e("./signature-request-siwe-header")),R=I(e("./signature-request-siwe-message"));function I(e){return e&&e.__esModule?e:{default:e}}function D(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(D=function(e){return e?n:t})(e)}function F({txData:e,warnings:t}){var n;const r=(0,o.useDispatch)(),I=(0,s.useHistory)(),D=(0,a.useContext)(f.I18nContext),F=(0,o.useSelector)(v.accountsWithSendEtherInfoSelector),j=(0,o.useSelector)(v.getSubjectMetadata),L=(0,o.useSelector)(v.getTotalUnapprovedMessagesCount),B=(0,o.useSelector)(v.unconfirmedMessagesHashSelector),G=(0,o.useSelector)(C.getMostRecentOverviewPage),{msgParams:{from:$,origin:W,siwe:{parsedMessage:U}},id:H}=e,q=(0,o.useSelector)((e=>(0,h.isAddressLedger)(e,$))),V=(0,T.getAccountByAddress)(F,$),z=j[W],Y=$.toLowerCase()===U.address.toLowerCase(),K=(0,c.isValidSIWEOrigin)(e.msgParams),[X,J]=(0,a.useState)(!1),[Q,Z]=(0,a.useState)(!1),ee=(0,y.isSuspiciousResponse)(null==e?void 0:e.securityProviderResponse),[te,ne]=(0,a.useState)(!1),ae=(0,a.useCallback)((async()=>{try{await r((0,k.resolvePendingApproval)(H,null)),r((0,k.completedTx)(H))}catch(e){i.default.error(e)}}),[H,r]),re=(0,a.useCallback)((async()=>{try{await r((0,k.rejectPendingApproval)(H,(0,l.serializeError)(l.ethErrors.provider.userRejectedRequest())))}catch(e){i.default.error(e)}}),[r,H]),oe=D("rejectRequestsN",[L]),se=(null===(n=e.securityAlertResponse)||void 0===n?void 0:n.result_type)!==M.BlockaidResultType.Malicious&&K?"primary":"danger-primary";return a.default.createElement(a.default.Fragment,null,a.default.createElement("div",{className:"signature-request-siwe"},a.default.createElement("div",{className:"request-signature__navigation"},a.default.createElement(w.default,null)),a.default.createElement(P.default,{txData:e}),a.default.createElement(A.default,{txData:e,marginTop:4,marginLeft:4,marginRight:4}),ee&&a.default.createElement(x.default,{securityProviderResponse:e.securityProviderResponse}),a.default.createElement(O.default,{fromAccount:V,domain:W,isSIWEDomainValid:K,subjectMetadata:z}),a.default.createElement(R.default,{data:(0,b.formatMessageParams)(U,D)}),!Y&&a.default.createElement(u.BannerAlert,{severity:E.SEVERITIES.WARNING,marginLeft:4,marginRight:4,marginBottom:4},D("SIWEAddressInvalid",[U.address,V.address])),q&&a.default.createElement("div",{className:"confirm-approve-content__ledger-instruction-wrapper"},a.default.createElement(S.default,{showDataInstruction:!0})),!K&&a.default.createElement(u.BannerAlert,{severity:E.SEVERITIES.DANGER,marginLeft:4,marginRight:4,marginBottom:4},a.default.createElement(u.Text,{variant:E.TextVariant.bodyMdBold},D("SIWEDomainInvalidTitle"))," ",a.default.createElement(u.Text,null,D("SIWEDomainInvalidText"))),a.default.createElement(g.PageContainerFooter,{footerClassName:"signature-request-siwe__page-container-footer",onCancel:re,onSubmit:()=>(null==t?void 0:t.length)>=1?K?ne(!0):J(!0):K?ae():J(!0),cancelText:D("cancel"),submitText:D("signin"),submitButtonType:se}),L>1?a.default.createElement(p.default,{type:"link",className:"request-signature__container__reject",onClick:e=>{e.preventDefault(),(()=>{const e=L;r((0,k.showModal)({name:"REJECT_TRANSACTIONS",unapprovedTxCount:e,onSubmit:async()=>{await r((0,k.rejectAllMessages)((0,T.valuesFor)(B))),r((0,_.clearConfirmTransaction)()),I.push(G)}}))})()}},oe):null,X&&a.default.createElement(d.default,{onClose:()=>J(!1),title:D("SIWEWarningTitle"),subtitle:D("SIWEWarningSubtitle"),className:"signature-request-siwe__warning-popover",footerClassName:"signature-request-siwe__warning-popover__footer",footer:a.default.createElement(g.PageContainerFooter,{footerClassName:"signature-request-siwe__warning-popover__footer__warning-footer",onCancel:()=>J(!1),cancelText:D("cancel"),cancelButtonType:"default",onSubmit:()=>(null==t?void 0:t.length)>=1?ne(!0):(ae(),J(!1)),submitText:D("confirm"),submitButtonType:"danger-primary",disabled:!Q})},a.default.createElement("div",{className:"signature-request-siwe__warning-popover__checkbox-wrapper"},a.default.createElement(m.default,{id:"signature-request-siwe_domain-checkbox",checked:Q,className:"signature-request-siwe__warning-popover__checkbox-wrapper__checkbox",onClick:()=>Z((e=>!e))}),a.default.createElement("label",{className:"signature-request-siwe__warning-popover__checkbox-wrapper__label",htmlFor:"signature-request-siwe_domain-checkbox"},D("SIWEDomainWarningBody",[U.domain]))))),te&&a.default.createElement(N.default,{warnings:t,action:"signing",origin:W,onCancel:()=>ne(!1),onSubmit:()=>{ae(),ne(!1)}}))}F.propTypes={txData:r.default.object.isRequired,warnings:r.default.array}}}},{package:"$root$",file:"ui/pages/confirmations/components/signature-request-siwe/signature-request-siwe.js"}],[5602,{"./signature-request":5609},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./signature-request"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/signature-request/index.js"}],[5603,{"./signature-request-data":5604},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./signature-request-data"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/signature-request/signature-request-data/index.js"}],[5604,{"../../../../../../shared/modules/hexstring-utils":4544,"../../../../../components/app/name/name":4711,"../../../../../components/component-library":4955,"../../../../../helpers/constants/design-system":5355,"../../../../../helpers/utils/util":5399,"../../../../../hooks/usePetnamesEnabled":5434,"../../../../../selectors":5987,"../../transaction-decoding/components/decoding/address":5632,"@metamask/name-controller":1529,lodash:3836,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=v(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=e("react-redux"),o=e("lodash"),s=h(e("prop-types")),i=e("@metamask/name-controller"),c=e("../../../../../selectors"),l=h(e("../../transaction-decoding/components/decoding/address")),u=e("../../../../../../shared/modules/hexstring-utils"),d=e("../../../../../helpers/constants/design-system"),m=e("../../../../../helpers/utils/util"),p=e("../../../../../components/component-library"),f=e("../../../../../hooks/usePetnamesEnabled"),g=h(e("../../../../../components/app/name/name"));function h(e){return e&&e.__esModule?e:{default:e}}function v(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(v=function(e){return e?n:t})(e)}function T({data:e}){const t=(0,r.useSelector)(c.getMemoizedMetaMaskInternalAccounts),n=(0,f.usePetnamesEnabled)();return a.default.createElement(p.Box,{as:"ul",className:"signature-request-data__node"},Object.entries(e).map((([e,{value:r,type:o}],s)=>a.default.createElement(p.Box,{as:"li",className:"signature-request-data__node",marginBottom:2,key:`${e}-${s}`,paddingLeft:2,display:"object"!=typeof r||null===r?d.Display.Flex:null},a.default.createElement(p.Text,{as:"div",color:d.TextColor.textDefault,marginLeft:4,fontWeight:"object"==typeof r?d.FontWeight.Bold:d.FontWeight.Normal},(0,m.sanitizeString)(e.charAt(0).toUpperCase()+e.slice(1)),":"," "),"object"==typeof r&&null!==r?a.default.createElement(T,{data:r}):a.default.createElement(p.Text,{as:"div",color:d.TextColor.textDefault,marginLeft:4,className:"signature-request-data__node__value"},"address"===o&&(0,u.isValidHexAddress)(r,{mixedCaseUseChecksum:!0})?a.default.createElement(p.Text,{variant:d.TextVariant.bodySm,as:"div",color:d.TextColor.infoDefault,className:"signature-request-data__node__value__address"},n?a.default.createElement(g.default,{value:r,type:i.NameType.ETHEREUM_ADDRESS}):a.default.createElement(l.default,{addressOnly:!0,checksummedRecipientAddress:(0,u.toChecksumHexAddress)(r),recipientName:(0,c.getAccountName)(t,r)})):(0,m.sanitizeString)(`${r}`))))))}T.propTypes={data:s.default.oneOfType([s.default.object,s.default.array]).isRequired};n.default=(0,a.memo)(T,((e,t)=>(0,o.isEqual)(e.data,t.data)))}}},{package:"$root$",file:"ui/pages/confirmations/components/signature-request/signature-request-data/signature-request-data.js"}],[5605,{"./signature-request-footer.component":5606},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./signature-request-footer.component"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/signature-request/signature-request-footer/index.js"}],[5606,{"../../../../../components/ui/page-container":5275,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=i(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=(a=e("prop-types"))&&a.__esModule?a:{default:a},s=e("../../../../../components/ui/page-container");function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(i=function(e){return e?n:t})(e)}function c(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class l extends r.PureComponent{render(){const{submitButtonType:e,cancelAction:t,signAction:n,disabled:a=!1}=this.props;return r.default.createElement(s.PageContainerFooter,{cancelText:this.context.t("reject"),submitText:this.context.t("sign"),onCancel:t,onSubmit:n,disabled:a,submitButtonType:e})}}n.default=l,c(l,"propTypes",{cancelAction:o.default.func.isRequired,signAction:o.default.func.isRequired,disabled:o.default.bool,submitButtonType:o.default.string}),c(l,"contextTypes",{t:o.default.func})}}},{package:"$root$",file:"ui/pages/confirmations/components/signature-request/signature-request-footer/signature-request-footer.component.js"}],[5607,{"./signature-request-message":5608},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./signature-request-message"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/signature-request/signature-request-message/index.js"}],[5608,{"../../../../../components/component-library":4955,"../../../../../components/ui/box":5194,"../../../../../contexts/i18n":5324,"../../../../../helpers/constants/design-system":5355,"../signature-request-data":5603,lodash:3836,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=p;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=m(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=d(e("prop-types")),o=e("lodash"),s=e("../../../../../contexts/i18n"),i=d(e("../../../../../components/ui/box")),c=e("../../../../../components/component-library"),l=e("../../../../../helpers/constants/design-system"),u=d(e("../signature-request-data"));function d(e){return e&&e.__esModule?e:{default:e}}function m(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(m=function(e){return e?n:t})(e)}function p({data:e,onMessageScrolled:t,setMessageRootRef:n,messageRootRef:r,messageIsScrollable:d,primaryType:m}){const p=(0,a.useContext)(s.I18nContext),[f,g]=(0,a.useState)(!1);return a.default.createElement(i.default,{display:l.Display.Flex,flexDirection:l.FlexDirection.Column,onScroll:(0,o.debounce)((()=>{if(!r||f)return;const{scrollTop:e,offsetHeight:n,scrollHeight:a}=r;Math.round(e)+n>=a&&(g(!0),t())}),25),className:"signature-request-message"},d?a.default.createElement(i.default,{display:l.Display.Flex,alignItems:l.AlignItems.center,justifyContent:l.JustifyContent.center,borderColor:l.BorderColor.borderDefault,backgroundColor:l.BackgroundColor.backgroundDefault,color:l.Color.iconDefault,onClick:()=>{g(!0),t(),null==r||r.scrollTo(0,null==r?void 0:r.scrollHeight)},className:"signature-request-message__scroll-button","data-testid":"signature-request-scroll-button"},a.default.createElement("i",{className:"fa fa-arrow-down","aria-label":p("scrollDown")})):null,a.default.createElement(i.default,{backgroundColor:l.BackgroundColor.backgroundDefault,paddingBottom:3,paddingTop:3,paddingRight:3,margin:2,borderRadius:l.BorderRadius.XL,borderColor:l.BorderColor.borderMuted,className:"signature-request-message__root",ref:n},a.default.createElement(c.Text,{fontWeight:l.FontWeight.Bold,color:l.TextColor.textDefault,marginLeft:4},m),a.default.createElement(u.default,{data:e.value})))}p.propTypes={data:r.default.object.isRequired,onMessageScrolled:r.default.func,setMessageRootRef:r.default.func,messageRootRef:r.default.object,messageIsScrollable:r.default.bool,primaryType:r.default.string}}}},{package:"$root$",file:"ui/pages/confirmations/components/signature-request/signature-request-message/signature-request-message.js"}],[5609,{"../../../../../shared/constants/metametrics":4505,"../../../../../shared/constants/security-provider":4513,"../../../../components/app/snaps/insight-warnings":4760,"../../../../components/component-library":4955,"../../../../contexts/metametrics":5327,"../../../../ducks/metamask/metamask":5346,"../../../../helpers/constants/design-system":5355,"../../../../helpers/utils/util":5399,"../../../../hooks/useI18nContext":5427,"../../../../selectors":5987,"../../../../store/actions":5998,"../../hooks/useRejectTransactionModal":5708,"../blockaid-unavailable-banner-alert/blockaid-unavailable-banner-alert":5491,"../confirm-page-container":5511,"../contract-details-modal":5546,"../ledger-instruction-field":5575,"../security-provider-banner-alert/blockaid-banner-alert/blockaid-banner-alert":5580,"../security-provider-banner-message":5583,"../signature-request-header/signature-request-header":5588,"./signature-request-footer":5605,"./signature-request-message":5607,"eth-rpc-errors":3257,lodash:3836,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=N(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=e("react-redux"),o=P(e("prop-types")),s=e("lodash"),i=e("eth-rpc-errors"),c=e("../../../../store/actions"),l=e("../../../../selectors"),u=e("../../../../ducks/metamask/metamask"),d=e("../../../../helpers/utils/util"),m=e("../../../../hooks/useI18nContext"),p=e("../../hooks/useRejectTransactionModal"),f=e("../confirm-page-container"),g=P(e("../signature-request-header/signature-request-header")),h=P(e("../security-provider-banner-message")),v=P(e("../ledger-instruction-field")),T=P(e("../contract-details-modal")),y=e("../../../../contexts/metametrics"),b=e("../../../../../shared/constants/metametrics"),_=e("../../../../../shared/constants/security-provider"),E=e("../../../../helpers/constants/design-system"),k=e("../../../../components/component-library"),x=P(e("../security-provider-banner-alert/blockaid-banner-alert/blockaid-banner-alert")),w=P(e("../../../../components/app/snaps/insight-warnings")),C=e("../blockaid-unavailable-banner-alert/blockaid-unavailable-banner-alert"),A=P(e("./signature-request-message")),S=P(e("./signature-request-footer"));function P(e){return e&&e.__esModule?e:{default:e}}function N(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(N=function(e){return e?n:t})(e)}const M=({txData:e,warnings:t})=>{var n,o,P;const N=(0,a.useContext)(y.MetaMetricsContext),M=(0,r.useDispatch)(),O=(0,m.useI18nContext)(),[R,I]=(0,a.useState)(!1),[D,F]=(0,a.useState)(!1),[j,L]=(0,a.useState)(null),[B,G]=(0,a.useState)(!1),{id:$,type:W,msgParams:{from:U,data:H,origin:q,version:V}}=e,z=(0,r.useSelector)((e=>(0,l.doesAddressRequireLedgerHidConnection)(e,U))),{chainId:Y,rpcPrefs:K}=(0,r.useSelector)(u.getProviderConfig),X=(0,r.useSelector)(l.getTotalUnapprovedMessagesCount),J=(0,r.useSelector)(l.getSubjectMetadata),Q=(0,r.useSelector)((e=>(0,u.isAddressLedger)(e,U))),{handleCancelAll:Z}=(0,p.useRejectTransactionModal)(),[ee,te]=(0,a.useState)(!1);(0,a.useEffect)((()=>{G((null==j?void 0:j.scrollHeight)>(null==j?void 0:j.clientHeight))}),[j]);const ne=(null==J?void 0:J[q])||null,ae=(0,s.memoize)((e=>{const{message:t,domain:n={},primaryType:a,types:r}=JSON.parse(e);return{sanitizedMessage:(0,d.sanitizeMessage)(t,a,r),domain:n,primaryType:a}})),re=(null===(n=e.securityAlertResponse)||void 0===n?void 0:n.result_type)===_.BlockaidResultType.Malicious?"danger-primary":"primary",oe=async()=>{await M((0,c.resolvePendingApproval)($)),(0,c.completedTx)($),N({category:b.MetaMetricsEventCategory.Transactions,event:"Confirm",properties:{action:"Sign Request",legacy_event:!0,type:W,version:V}})},{sanitizedMessage:se,domain:{verifyingContract:ie},primaryType:ce}=ae(H);return a.default.createElement(a.default.Fragment,null,a.default.createElement("div",{className:"signature-request"},a.default.createElement(f.ConfirmPageContainerNavigation,null),a.default.createElement("div",{className:"request-signature__account","data-testid":"request-signature-account"},a.default.createElement(g.default,{txData:e})),a.default.createElement("div",{className:"signature-request-content"},a.default.createElement(x.default,{txData:e,marginLeft:4,marginRight:4,marginBottom:4}),a.default.createElement(C.BlockaidUnavailableBannerAlert,null),(null==e||null===(o=e.securityProviderResponse)||void 0===o?void 0:o.flagAsDangerous)!==undefined&&(null==e||null===(P=e.securityProviderResponse)||void 0===P?void 0:P.flagAsDangerous)!==_.SECURITY_PROVIDER_MESSAGE_SEVERITY.NOT_MALICIOUS||null!=e&&e.securityProviderResponse&&0===Object.keys(e.securityProviderResponse).length?a.default.createElement(h.default,{securityProviderResponse:e.securityProviderResponse}):null,a.default.createElement("div",{className:"signature-request__origin"},a.default.createElement(k.TagUrl,{label:q,labelProps:{color:E.TextColor.textAlternative},src:null==ne?void 0:ne.iconUrl})),a.default.createElement(k.Text,{className:"signature-request__content__title",variant:E.TextVariant.headingLg,marginTop:4},O("sigRequest")),a.default.createElement(k.Text,{className:"request-signature__content__subtitle",variant:E.TextVariant.bodySm,color:E.TextColor.textAlternative,textAlign:E.TextAlign.Center,marginLeft:12,marginRight:12,marginTop:4,as:"h6"},O("signatureRequestGuidance")),ie?a.default.createElement("div",null,a.default.createElement(k.Button,{variant:k.ButtonVariant.Link,onClick:()=>F(!0),className:"signature-request-content__verify-contract-details","data-testid":"verify-contract-details"},a.default.createElement(k.Text,{variant:E.TextVariant.bodySm,color:E.TextColor.primaryDefault,as:"h6"},O("verifyContractDetails")))):null),Q?a.default.createElement("div",{className:"confirm-approve-content__ledger-instruction-wrapper"},a.default.createElement(v.default,{showDataInstruction:!0})):null,a.default.createElement(A.default,{data:se,onMessageScrolled:()=>I(!0),setMessageRootRef:L,messageRootRef:j,messageIsScrollable:B,primaryType:ce}),a.default.createElement(S.default,{cancelAction:async()=>{await M((0,c.rejectPendingApproval)($,(0,i.serializeError)(i.ethErrors.provider.userRejectedRequest()))),N({category:b.MetaMetricsEventCategory.Transactions,event:"Cancel",properties:{action:"Sign Request",legacy_event:!0,type:W,version:V}})},signAction:()=>(null==t?void 0:t.length)>=1?te(!0):oe(),disabled:z||B&&!R,submitButtonType:re}),D&&a.default.createElement(T.default,{toAddress:ie,chainId:Y,rpcPrefs:K,onClose:()=>F(!1),isContractRequestingSignature:!0}),X>1?a.default.createElement(k.ButtonLink,{size:E.Size.inherit,className:"signature-request__reject-all-button","data-testid":"signature-request-reject-all",onClick:Z},O("rejectRequestsN",[X])):null),ee&&a.default.createElement(w.default,{warnings:t,action:"signing",origin:q,onCancel:()=>te(!1),onSubmit:()=>{oe(),te(!1)}}))};M.propTypes={txData:o.default.object,warnings:o.default.array};n.default=M}}},{package:"$root$",file:"ui/pages/confirmations/components/signature-request/signature-request.js"}],[5610,{"../../../../../shared/constants/transaction":4520,"../../../../../shared/modules/conversion.utils":4537,"../../../../components/component-library":4955,"../../../../components/ui/tooltip":5310,"../../../../ducks/locale/locale":5345,"../../../../helpers/constants/design-system":5355,"./formatAmount":5615,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.AmountPill=void 0;var a=m(e("react")),r=e("react-redux"),o=e("../../../../components/component-library"),s=e("../../../../helpers/constants/design-system"),i=e("../../../../../shared/modules/conversion.utils"),c=e("../../../../../shared/constants/transaction"),l=m(e("../../../../components/ui/tooltip")),u=e("../../../../ducks/locale/locale"),d=e("./formatAmount");function m(e){return e&&e.__esModule?e:{default:e}}n.AmountPill=({asset:e,amount:t})=>{const n=(0,r.useSelector)(u.getIntlLocale),m=t.isNegative()?s.BackgroundColor.errorMuted:s.BackgroundColor.successMuted,p=t.isNegative()?s.TextColor.errorAlternative:s.TextColor.successDefault,f=[t.isNegative()?"-":"+"],g=[];if(e.standard!==c.TokenStandard.ERC721){const e=(0,d.formatAmount)(n,t.abs()),a=(0,d.formatAmountMaxPrecision)(n,t.abs());f.push(e),g.push(a)}if(e.tokenId){const t=`#${(0,i.hexToDecimal)(e.tokenId)}`;f.push(t),g.push(t)}return a.default.createElement(o.Box,{"data-testid":"simulation-details-amount-pill",display:s.Display.Flex,flexDirection:s.FlexDirection.Row,backgroundColor:m,alignItems:s.AlignItems.center,borderRadius:s.BorderRadius.pill,style:{padding:"0px 8px",flexShrink:1,flexBasis:"auto",minWidth:0}},a.default.createElement(l.default,{position:"bottom",title:g.join(" "),wrapperStyle:{minWidth:0},interactive:!0},a.default.createElement(o.Text,{ellipsis:!0,variant:s.TextVariant.bodyMd,color:p},f.join(" "))))}}}},{package:"$root$",file:"ui/pages/confirmations/components/simulation-details/amount-pill.tsx"}],[5611,{"../../../../../shared/constants/transaction":4520,"../../../../components/app/name":4708,"../../../../components/component-library":4955,"../../../../ducks/metamask/metamask":5346,"../../../../helpers/constants/design-system":5355,"../../../../selectors":5987,"@metamask/name-controller":1529,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.AssetPill=void 0;var a=m(e("react")),r=e("@metamask/name-controller"),o=e("react-redux"),s=e("../../../../components/component-library"),i=e("../../../../helpers/constants/design-system"),c=m(e("../../../../components/app/name")),l=e("../../../../../shared/constants/transaction"),u=e("../../../../selectors"),d=e("../../../../ducks/metamask/metamask");function m(e){return e&&e.__esModule?e:{default:e}}const p=()=>{const e=(0,o.useSelector)(d.getNativeCurrency),t=(0,o.useSelector)(u.getNativeCurrencyImage);return a.default.createElement(s.Box,{display:i.Display.Flex,flexDirection:i.FlexDirection.Row,borderRadius:i.BorderRadius.pill,alignItems:i.AlignItems.center,backgroundColor:i.BackgroundColor.backgroundAlternative,gap:1,style:{padding:"1px 8px 1px 4px"}},a.default.createElement(s.AvatarNetwork,{name:e,size:s.AvatarNetworkSize.Xs,src:t,borderColor:i.BorderColor.borderDefault}),a.default.createElement(s.Text,{ellipsis:!0,variant:i.TextVariant.bodyMd},e))};n.AssetPill=({asset:e})=>a.default.createElement(s.Box,{"data-testid":"simulation-details-asset-pill",style:{flexShrink:1,flexBasis:"auto",minWidth:0}},e.standard===l.TokenStandard.none?a.default.createElement(p,null):a.default.createElement(c.default,{type:r.NameType.ETHEREUM_ADDRESS,value:e.address,preferContractSymbol:!0}))}}},{package:"$root$",file:"ui/pages/confirmations/components/simulation-details/asset-pill.tsx"}],[5612,{"../../../../components/component-library":4955,"../../../../helpers/constants/design-system":5355,"./balance-change-row":5613,"./fiat-display":5614,"./sortBalanceChanges":5618,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.BalanceChangeList=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=l(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=e("../../../../components/component-library"),o=e("../../../../helpers/constants/design-system"),s=e("./balance-change-row"),i=e("./fiat-display"),c=e("./sortBalanceChanges");function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(l=function(e){return e?n:t})(e)}n.BalanceChangeList=({heading:e,balanceChanges:t,testId:n})=>{const l=(0,a.useMemo)((()=>(0,c.sortBalanceChanges)(t)),[t]),u=(0,a.useMemo)((()=>l.map((e=>e.fiatAmount))),[l]);if(0===l.length)return null;const d=l.length>1;return a.default.createElement(r.Box,null,a.default.createElement(r.Box,{"data-testid":n,display:o.Display.Flex,flexDirection:o.FlexDirection.Column,gap:3},l.map(((t,n)=>a.default.createElement(s.BalanceChangeRow,{key:n,label:0===n?e:undefined,balanceChange:t,showFiat:!d})))),d&&a.default.createElement(r.Box,{display:o.Display.Flex,flexDirection:o.FlexDirection.RowReverse},a.default.createElement(i.TotalFiatDisplay,{fiatAmounts:u})))}}}},{package:"$root$",file:"ui/pages/confirmations/components/simulation-details/balance-change-list.tsx"}],[5613,{"../../../../components/component-library":4955,"../../../../helpers/constants/design-system":5355,"./amount-pill":5610,"./asset-pill":5611,"./fiat-display":5614,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.BalanceChangeRow=void 0;var a,r=(a=e("react"))&&a.__esModule?a:{default:a},o=e("../../../../helpers/constants/design-system"),s=e("../../../../components/component-library"),i=e("./asset-pill"),c=e("./amount-pill"),l=e("./fiat-display");n.BalanceChangeRow=({label:e,showFiat:t,balanceChange:n})=>{const{asset:a,amount:u,fiatAmount:d}=n;return r.default.createElement(s.Box,{"data-testid":"simulation-details-balance-change-row",display:o.Display.Flex,flexDirection:o.FlexDirection.Row,alignItems:o.AlignItems.flexStart,gap:1,flexWrap:o.FlexWrap.Wrap},e&&r.default.createElement(s.Text,{style:{whiteSpace:"nowrap"},variant:o.TextVariant.bodyMd},e),r.default.createElement(s.Box,{display:o.Display.Flex,flexDirection:o.FlexDirection.Column,gap:1,marginLeft:"auto",style:{minWidth:0}},r.default.createElement(s.Box,{display:o.Display.Flex,flexDirection:o.FlexDirection.Row,gap:1},r.default.createElement(c.AmountPill,{asset:a,amount:u}),r.default.createElement(i.AssetPill,{asset:a})),t&&r.default.createElement(l.IndividualFiatDisplay,{fiatAmount:d})))}}}},{package:"$root$",file:"ui/pages/confirmations/components/simulation-details/balance-change-row.tsx"}],[5614,{"../../../../components/component-library":4955,"../../../../helpers/constants/design-system":5355,"../../../../hooks/useFiatFormatter":5424,"../../../../hooks/useI18nContext":5427,"./types":5619,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.TotalFiatDisplay=n.IndividualFiatDisplay=void 0,n.calculateTotalFiat=m;var a,r=(a=e("react"))&&a.__esModule?a:{default:a},o=e("../../../../helpers/constants/design-system"),s=e("../../../../hooks/useI18nContext"),i=e("../../../../components/component-library"),c=e("../../../../hooks/useFiatFormatter"),l=e("./types");const u={color:o.TextColor.textAlternative,variant:o.TextVariant.bodySm,paddingRight:2,textAlign:"right"},d=()=>{const e=(0,s.useI18nContext)();return r.default.createElement(i.Text,u,e("simulationDetailsFiatNotAvailable"))};function m(e){return e.reduce(((e,t)=>e+(t===l.FIAT_UNAVAILABLE?0:t)),0)}n.IndividualFiatDisplay=({fiatAmount:e})=>{const t=(0,c.useFiatFormatter)();if(e===l.FIAT_UNAVAILABLE)return r.default.createElement(d,null);const n=Math.abs(e);return r.default.createElement(i.Text,u,t(n))};n.TotalFiatDisplay=({fiatAmounts:e})=>{const t=(0,s.useI18nContext)(),n=(0,c.useFiatFormatter)(),a=m(e);return 0===a?r.default.createElement(d,null):r.default.createElement(i.Text,u,t("simulationDetailsTotalFiat",[n(Math.abs(a))]))}}}},{package:"$root$",file:"ui/pages/confirmations/components/simulation-details/fiat-display.tsx"}],[5615,{"../../../../hooks/useCurrencyDisplay":5418,"bignumber.js":2933},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.formatAmount=function(e,t){if(t.isZero())return s;if(t.abs().lessThan(r.MIN_AMOUNT))return`<${i(e,r.MIN_AMOUNT)}`;if(t.abs().lessThan(1))return new Intl.NumberFormat(e,{maximumSignificantDigits:o}).format(t.round(r.DEFAULT_PRECISION).toNumber());const n=t.abs().truncated().toString().length,a=Math.max(0,o-n+1);return new Intl.NumberFormat(e,{maximumFractionDigits:a}).format(t.toNumber())},n.formatAmountMaxPrecision=i;var a=e("bignumber.js"),r=e("../../../../hooks/useCurrencyDisplay");const o=3,s="0";function i(e,t){return new Intl.NumberFormat(e,{minimumSignificantDigits:1}).format(new a.BigNumber(t.toString()).toNumber())}}}},{package:"$root$",file:"ui/pages/confirmations/components/simulation-details/formatAmount.ts"}],[5616,{"./simulation-details":5617},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"SimulationDetails",{enumerable:!0,get:function(){return a.SimulationDetails}});var a=e("./simulation-details")}}},{package:"$root$",file:"ui/pages/confirmations/components/simulation-details/hybrid-compute-sdk.ts"}],[5617,{"../../../../components/component-library":4955,"../../../../components/ui/icon/preloader/preloader-icon.component":5240,"../../../../components/ui/info-tooltip/info-tooltip":5250,"../../../../helpers/constants/design-system":5355,"../../../../hooks/useI18nContext":5427,"./balance-change-list":5612,"./useBalanceChanges":5620,"./useSimulationMetrics":5622,"@metamask/transaction-controller":2234,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.SimulationDetails=void 0;var a=p(e("react")),r=e("@metamask/transaction-controller"),o=e("../../../../components/component-library"),s=e("../../../../helpers/constants/design-system"),i=p(e("../../../../components/ui/info-tooltip/info-tooltip")),c=e("../../../../hooks/useI18nContext"),l=p(e("../../../../components/ui/icon/preloader/preloader-icon.component")),u=e("./balance-change-list"),d=e("./useBalanceChanges"),m=e("./useSimulationMetrics");function p(e){return e&&e.__esModule?e:{default:e}}const f=()=>a.default.createElement("div",{role:"progressbar"},a.default.createElement(l.default,{size:20})),g=({error:e})=>{const t=(0,c.useI18nContext)();return a.default.createElement(o.Text,{color:s.TextColor.warningDefault,variant:s.TextVariant.bodyMd,display:s.Display.Flex,alignItems:s.AlignItems.center},a.default.createElement(o.Icon,{name:o.IconName.Warning,marginInlineEnd:1}),e.code===r.SimulationErrorCode.Reverted?t("simulationDetailsTransactionReverted"):t("simulationDetailsFailed"))},h=()=>{const e=(0,c.useI18nContext)();return a.default.createElement(o.Text,{color:s.TextColor.textAlternative,variant:s.TextVariant.bodyMd},e("simulationDetailsNoBalanceChanges"))},v=({children:e})=>{const t=(0,c.useI18nContext)();return a.default.createElement(o.Box,{display:s.Display.Flex,flexDirection:s.FlexDirection.Row,alignItems:s.AlignItems.center,justifyContent:s.JustifyContent.spaceBetween},a.default.createElement(o.Box,{display:s.Display.Flex,flexDirection:s.FlexDirection.Row,alignItems:s.AlignItems.center,gap:1},a.default.createElement(o.Text,{variant:s.TextVariant.bodyMdMedium},t("simulationDetailsTitle")),a.default.createElement(i.default,{position:"top",contentText:t("simulationDetailsTitleTooltip")})),e)},T=({inHeader:e,isTransactionsRedesign:t,children:n})=>a.default.createElement(o.Box,{"data-testid":"simulation-details-layout",className:"simulation-details-layout",display:s.Display.Flex,flexDirection:s.FlexDirection.Column,borderRadius:s.BorderRadius.LG,borderColor:t?s.BorderColor.transparent:s.BorderColor.borderDefault,padding:3,margin:t?null:4,gap:3},a.default.createElement(v,null,e),n);n.SimulationDetails=({simulationData:e,transactionId:t,enableMetrics:n=!1,isTransactionsRedesign:i=!1})=>{const l=(0,c.useI18nContext)(),p=(0,d.useBalanceChanges)(e),v=!e||p.pending;if((0,m.useSimulationMetrics)({enableMetrics:n,balanceChanges:p.value,loading:v,simulationData:e,transactionId:t}),v)return a.default.createElement(T,{inHeader:a.default.createElement(f,null),isTransactionsRedesign:i});const{error:y}=e;if([r.SimulationErrorCode.ChainNotSupported,r.SimulationErrorCode.Disabled].includes(null==y?void 0:y.code))return null;if(y)return a.default.createElement(T,{isTransactionsRedesign:i},a.default.createElement(g,{error:y}));const b=p.value;if(0===b.length)return a.default.createElement(T,{isTransactionsRedesign:i},a.default.createElement(h,null));const _=b.filter((e=>e.amount.isNegative())),E=b.filter((e=>!e.amount.isNegative()));return a.default.createElement(T,{isTransactionsRedesign:i},a.default.createElement(o.Box,{display:s.Display.Flex,flexDirection:s.FlexDirection.Column,gap:3},a.default.createElement(u.BalanceChangeList,{heading:l("simulationDetailsOutgoingHeading"),balanceChanges:_,testId:"simulation-rows-outgoing"}),a.default.createElement(u.BalanceChangeList,{heading:l("simulationDetailsIncomingHeading"),balanceChanges:E,testId:"simulation-rows-incoming"})))}}}},{package:"$root$",file:"ui/pages/confirmations/components/simulation-details/simulation-details.tsx"}],[5618,{"../../../../../shared/constants/transaction":4520,"./types":5619},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.sortBalanceChanges=n.compareBalanceChanges=void 0;var a=e("../../../../../shared/constants/transaction"),r=e("./types");const o=[a.TokenStandard.none,a.TokenStandard.ERC20,a.TokenStandard.ERC721,a.TokenStandard.ERC1155],s=[(e,t)=>e.fiatAmount===t.fiatAmount?0:e.fiatAmount===r.FIAT_UNAVAILABLE?1:t.fiatAmount===r.FIAT_UNAVAILABLE?-1:t.fiatAmount-e.fiatAmount,(e,t)=>o.indexOf(e.asset.standard)-o.indexOf(t.asset.standard)],i=(e,t)=>{for(const n of s){const a=n(e,t);if(0!==a)return a}return 0};n.compareBalanceChanges=i;n.sortBalanceChanges=e=>[...e].sort(i)}}},{package:"$root$",file:"ui/pages/confirmations/components/simulation-details/sortBalanceChanges.ts"}],[5619,{"../../../../../shared/constants/transaction":4520},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.NATIVE_ASSET_IDENTIFIER=n.FIAT_UNAVAILABLE=void 0;var a=e("../../../../../shared/constants/transaction");n.NATIVE_ASSET_IDENTIFIER={standard:a.TokenStandard.none},n.FIAT_UNAVAILABLE=null}}},{package:"$root$",file:"ui/pages/confirmations/components/simulation-details/types.ts"}],[5620,{"../../../../../shared/constants/transaction":4520,"../../../../ducks/metamask/metamask":5346,"../../../../helpers/utils/util":5399,"../../../../hooks/useAsyncResult":5416,"../../../../selectors":5987,"../../../../store/actions":5998,"./types":5619,"@metamask/transaction-controller":2234,"bignumber.js":2933,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useBalanceChanges=void 0;var a=e("react-redux"),r=e("@metamask/transaction-controller"),o=e("bignumber.js"),s=e("../../../../hooks/useAsyncResult"),i=e("../../../../store/actions"),c=e("../../../../../shared/constants/transaction"),l=e("../../../../ducks/metamask/metamask"),u=e("../../../../selectors"),d=e("../../../../helpers/utils/util"),m=e("./types");const p=18;function f(e){return String(e)}function g(e){switch(e){case r.SimulationTokenStandard.erc20:return c.TokenStandard.ERC20;case r.SimulationTokenStandard.erc721:return c.TokenStandard.ERC721;case r.SimulationTokenStandard.erc1155:return c.TokenStandard.ERC1155;default:throw new Error(`Unknown token standard: ${e}`)}}function h({isDecrease:e,difference:t},n){return new o.BigNumber(t,16).times(e?-1:1).shift(-n)}async function v(e){try{const{decimals:t}=await(0,i.getTokenStandardAndDetails)(e);if(!t)return p;for(const e of[10,16]){const n=parseInt(t,e);if(isFinite(n))return n}return p}catch{return p}}n.useBalanceChanges=e=>{const t=(0,a.useSelector)(u.getCurrentChainId),n=(0,a.useSelector)(u.getCurrentCurrency),o=(0,a.useSelector)(l.getConversionRate),{nativeBalanceChange:i,tokenBalanceChanges:T=[]}=e??{},y=T.filter((e=>e.standard===r.SimulationTokenStandard.erc20)).map((e=>e.address)),b=(0,s.useAsyncResultOrThrow)((()=>async function(e){const t=[...new Set(e.map((e=>e.toLowerCase())))],n=await Promise.all(t.map(v));return Object.fromEntries(n.map(((e,n)=>[t[n],e])))}(y)),[JSON.stringify(y)]),_=(0,s.useAsyncResultOrThrow)((()=>async function(e,t,n){const a=await(0,d.fetchTokenExchangeRates)(e,t,n);return Object.fromEntries(Object.entries(a).map((([e,t])=>[e.toLowerCase(),t])))}(n,y,t)),[JSON.stringify(y),t,n]);if(b.pending||_.pending||!e)return{pending:!0,value:[]};const E=function(e,t){if(!e)return undefined;const n=m.NATIVE_ASSET_IDENTIFIER,a=h(e,18),r=t?a.times(f(t)).toNumber():m.FIAT_UNAVAILABLE;return{asset:n,amount:a,fiatAmount:r}}(i,o),k=function(e,t,n){return e.map((e=>{const a={standard:g(e.standard),address:e.address.toLowerCase(),tokenId:e.id},r=h(e,a.standard===c.TokenStandard.ERC20?t[a.address]??p:0),o=n[e.address],s=o?r.times(f(o)).toNumber():m.FIAT_UNAVAILABLE;return{asset:a,amount:r,fiatAmount:s}}))}(T,b.value,_.value);return{pending:!1,value:[...E?[E]:[],...k]}}}}},{package:"$root$",file:"ui/pages/confirmations/components/simulation-details/useBalanceChanges.ts"}],[5621,{react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useLoadingTime=function(){const[e]=(0,a.useState)(Date.now()),[t,n]=(0,a.useState)();return{loadingTime:t,setLoadingComplete:()=>{t===undefined&&n((Date.now()-e)/1e3)}}};var a=e("react")}}},{package:"$root$",file:"ui/pages/confirmations/components/simulation-details/useLoadingTime.ts"}],[5622,{"../../../../../shared/constants/metametrics":4505,"../../../../../shared/constants/transaction":4520,"../../../../contexts/metametrics":5327,"../../../../hooks/useDisplayName":5421,"../../hooks/useTransactionEventFragment":5711,"./fiat-display":5614,"./useLoadingTime":5621,"@metamask/name-controller":1529,"@metamask/transaction-controller":2234,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.SimulationResponseType=n.PetnameType=n.FiatType=n.AssetType=void 0,n.useSimulationMetrics=function({balanceChanges:e,loading:t,simulationData:n,transactionId:c,enableMetrics:d}){var f;const{loadingTime:y,setLoadingComplete:E}=(0,m.useLoadingTime)();t||E();const k=e.map((({asset:e})=>({value:e.address??"",type:o.NameType.ETHEREUM_ADDRESS,preferContractSymbol:!0}))),x=(0,i.useDisplayNames)(k).reduce(((t,n,a)=>({...t,[e[a].asset.address??""]:n})),{}),{updateTransactionEventFragment:w}=(0,s.useTransactionEventFragment)();!function(e,t){const n=(0,r.useContext)(l.MetaMetricsContext),[a,o]=(0,r.useState)([]);for(const r of e){const e=r.asset.address??"",s=t[e],i=r.asset.address&&!r.fiatAmount||_(r,s)===h.Unknown,c=a.includes(e);i&&!c&&(n({event:u.MetaMetricsEventName.SimulationIncompleteAssetDisplayed,category:u.MetaMetricsEventCategory.Transactions,properties:{asset_address:r.asset.address,asset_petname:_(r,s),asset_symbol:s.contractDisplayName,asset_type:b(r.asset.standard),fiat_conversion_available:r.fiatAmount?g.Available:g.NotAvailable,location:"confirmation"}}),o([...a,e]))}}(e,x);const C=e.filter((e=>!e.amount.isNegative())),A=e.filter((e=>e.amount.isNegative())),S=function(e){var t;if(!e)return p.InProgress;if((null===(t=e.error)||void 0===t?void 0:t.code)===a.SimulationErrorCode.Reverted)return p.Reverted;if(e.error)return p.Failed;if(!(null!=e&&e.nativeBalanceChange||null!=e&&e.tokenBalanceChanges.length))return p.NoChanges;return p.Changes}(n),P={simulation_response:S,simulation_latency:y,...v(C,"simulation_receiving_assets_",x),...v(A,"simulation_sending_assets_",x)},N={...T(C,"simulation_receiving_assets_"),...T(A,"simulation_sending_assets_")},M={properties:P,sensitiveProperties:N},O=!d||[a.SimulationErrorCode.ChainNotSupported,a.SimulationErrorCode.Disabled].includes(null==n||null===(f=n.error)||void 0===f?void 0:f.code);(0,r.useEffect)((()=>{O||w(M,c)}),[O,w,c,JSON.stringify(M)])};var a=e("@metamask/transaction-controller"),r=e("react"),o=e("@metamask/name-controller"),s=e("../../hooks/useTransactionEventFragment"),i=e("../../../../hooks/useDisplayName"),c=e("../../../../../shared/constants/transaction"),l=e("../../../../contexts/metametrics"),u=e("../../../../../shared/constants/metametrics"),d=e("./fiat-display"),m=e("./useLoadingTime");let p=n.SimulationResponseType=function(e){return e.Failed="failed",e.Reverted="transaction_revert",e.NoChanges="no_balance_change",e.Changes="balance_change",e.InProgress="simulation_in_progress",e}({}),f=n.AssetType=function(e){return e.Native="native",e.ERC20="erc20",e.ERC721="erc721",e.ERC1155="erc1155",e}({}),g=n.FiatType=function(e){return e.Available="available",e.NotAvailable="not_available",e}({}),h=n.PetnameType=function(e){return e.Saved="saved",e.Default="default",e.Unknown="unknown",e}({});function v(e,t,n){const a=e.length,r=E(e.map((e=>b(e.asset.standard)))),o=E(e.map((e=>e.fiatAmount?g.Available:g.NotAvailable)));return y({petname:E(e.map((e=>_(e,n[e.asset.address??""])))),quantity:a,type:r,value:o},t)}function T(e,t){const n=e.map((e=>e.fiatAmount)),a=(0,d.calculateTotalFiat)(n);return y({total_value:a?Math.abs(a):undefined},t)}function y(e,t){return Object.entries(e).reduce(((e,[n,a])=>({...e,[`${t}${n}`]:a})),{})}function b(e){switch(e){case c.TokenStandard.ERC20:return f.ERC20;case c.TokenStandard.ERC721:return f.ERC721;case c.TokenStandard.ERC1155:return f.ERC1155;default:return f.Native}}function _(e,t){return e.asset.standard===c.TokenStandard.none?h.Default:t.hasPetname?h.Saved:t.name?h.Default:h.Unknown}function E(e){return Array.from(new Set(e))}}}},{package:"$root$",file:"ui/pages/confirmations/components/simulation-details/useSimulationMetrics.ts"}],[5623,{"./simulation-error-message":5624},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./simulation-error-message"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/simulation-error-message/index.js"}],[5624,{"../../../../../.storybook/i18n":1,"../../../../../shared/constants/metametrics":4505,"../../../../components/component-library":4955,"../../../../contexts/metametrics":5327,"../../../../helpers/constants/design-system":5355,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=m;var a,r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=d(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=(a=e("prop-types"))&&a.__esModule?a:{default:a},s=e("../../../../components/component-library"),i=e("../../../../helpers/constants/design-system"),c=e("../../../../../.storybook/i18n"),l=e("../../../../../shared/constants/metametrics"),u=e("../../../../contexts/metametrics");function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(d=function(e){return e?n:t})(e)}function m({userAcknowledgedGasMissing:e=!1,setUserAcknowledgedGasMissing:t}){const n=(0,r.useContext)(c.I18nContext),a=(0,r.useContext)(u.MetaMetricsContext);return(0,r.useEffect)((()=>{a({category:l.MetaMetricsEventCategory.Transactions,event:l.MetaMetricsEventName.SimulationFails,properties:{ui_customizations:[l.MetaMetricsEventUiCustomization.GasEstimationFailed]}})}),[]),!0===e?r.default.createElement(s.BannerAlert,{severity:i.Severity.Danger},n("simulationErrorMessageV2")):r.default.createElement(s.BannerAlert,{severity:i.Severity.Danger,actionButtonLabel:n("proceedWithTransaction"),actionButtonOnClick:t},n("simulationErrorMessageV2"))}m.propTypes={userAcknowledgedGasMissing:o.default.bool,setUserAcknowledgedGasMissing:o.default.func}}}},{package:"$root$",file:"ui/pages/confirmations/components/simulation-error-message/simulation-error-message.js"}],[5625,{"../../../../components/component-library":4955,"../../../../components/ui/actionable-message":5191,"../../../../hooks/useI18nContext":5427,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=i(e("react")),r=i(e("../../../../components/ui/actionable-message")),o=e("../../../../components/component-library"),s=e("../../../../hooks/useI18nContext");function i(e){return e&&e.__esModule?e:{default:e}}n.default=({message:e,learnMoreLink:t,error:n})=>{const i=(0,s.useI18nContext)();return a.default.createElement(a.default.Fragment,null,a.default.createElement(o.Text,{"data-testid":"snap-account-error-message-text",style:n?{marginBottom:2}:{}},e,Boolean(t)&&a.default.createElement(a.default.Fragment,null," ",a.default.createElement("a",{"data-testid":"snap-account-error-message-learn-more-link",href:t,rel:"noopener noreferrer",target:"_blank"},i("learnMoreUpperCase")))),Boolean(n)&&a.default.createElement(r.default,{type:"danger",message:n,dataTestId:"snap-account-error-message-error"}))}}}},{package:"$root$",file:"ui/pages/confirmations/components/snap-account-error-message/SnapAccountErrorMessage.tsx"}],[5626,{"./SnapAccountErrorMessage":5625},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"SnapAccountErrorMessage",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./SnapAccountErrorMessage"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/snap-account-error-message/index.tsx"}],[5627,{"../../../../components/component-library":4955,"../../../../hooks/useI18nContext":5427,"../../../remove-snap-account":5824,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=(a=e("react"))&&a.__esModule?a:{default:a},o=e("../../../../components/component-library"),s=e("../../../../hooks/useI18nContext"),i=e("../../../remove-snap-account");n.default=({message:e,address:t,learnMoreLink:n})=>{const a=(0,s.useI18nContext)();return r.default.createElement(r.default.Fragment,null,r.default.createElement(i.SnapAccountCard,{address:t}),r.default.createElement(o.Text,{"data-testid":"snap-account-success-message-text"},e,Boolean(n)&&r.default.createElement(r.default.Fragment,null," ",r.default.createElement("a",{"data-testid":"snap-account-success-message-learn-more-link",href:n,rel:"noopener noreferrer",target:"_blank"},a("learnMoreUpperCase")))))}}}},{package:"$root$",file:"ui/pages/confirmations/components/snap-account-success-message/SnapAccountSuccessMessage.tsx"}],[5628,{"./SnapAccountSuccessMessage":5627},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"SnapAccountSuccessMessage",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./SnapAccountSuccessMessage"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/snap-account-success-message/index.tsx"}],[5629,{"./transaction-alerts":5630},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./transaction-alerts"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/transaction-alerts/index.js"}],[5630,{"../../../../../shared/constants/gas":4500,"../../../../../shared/lib/metamask-controller-utils":4526,"../../../../../shared/modules/security-provider.utils":4552,"../../../../../shared/modules/transaction.utils":4560,"../../../../components/component-library":4955,"../../../../contexts/gasFee":5323,"../../../../ducks/metamask/metamask":5346,"../../../../helpers/constants/design-system":5355,"../../../../helpers/constants/zendesk-url":5368,"../../../../hooks/useI18nContext":5427,"../../../../selectors":5987,"../security-provider-banner-alert/blockaid-banner-alert/blockaid-banner-alert":5580,"../security-provider-banner-message/security-provider-banner-message":5584,"../simulation-error-message":5623,"@metamask/transaction-controller":2234,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=_(e("react")),r=_(e("prop-types")),o=e("react-redux"),s=e("@metamask/transaction-controller"),i=e("../../../../../shared/constants/gas"),c=e("../../../../contexts/gasFee"),l=e("../../../../hooks/useI18nContext"),u=e("../../../../components/component-library"),d=_(e("../simulation-error-message")),m=e("../../../../helpers/constants/design-system"),p=e("../../../../selectors"),f=_(e("../../../../helpers/constants/zendesk-url")),g=e("../../../../../shared/modules/security-provider.utils"),h=_(e("../security-provider-banner-alert/blockaid-banner-alert/blockaid-banner-alert")),v=_(e("../security-provider-banner-message/security-provider-banner-message")),T=e("../../../../ducks/metamask/metamask"),y=e("../../../../../shared/modules/transaction.utils"),b=e("../../../../../shared/lib/metamask-controller-utils");function _(e){return e&&e.__esModule?e:{default:e}}const E=({userAcknowledgedGasMissing:e,setUserAcknowledgedGasMissing:t,tokenSymbol:n,txData:r,isUsingPaymaster:_})=>{const{estimateUsed:E,hasSimulationError:k,supportsEIP1559:x}=(0,c.useGasFeeContext)(),w=(0,o.useSelector)(p.submittedPendingTransactionsSelector),C=(0,l.useI18nContext)(),A=(0,o.useSelector)(T.getNativeCurrency),S=r.txParams.data,P=n||A;let N;if(r.type===s.TransactionType.simpleSend&&(N=r.txParams.value),r.type===s.TransactionType.tokenMethodTransfer){const e=(0,y.parseStandardTokenTransactionData)(S);N=(0,b.getTokenValueParam)(e)}const M=(r.type===s.TransactionType.simpleSend||r.type===s.TransactionType.tokenMethodTransfer)&&("0x0"===N||"0"===N);return a.default.createElement("div",{className:"transaction-alerts"},a.default.createElement(h.default,{txData:r}),(0,g.isSuspiciousResponse)(null==r?void 0:r.securityProviderResponse)&&a.default.createElement(v.default,{securityProviderResponse:r.securityProviderResponse}),k&&a.default.createElement(d.default,{userAcknowledgedGasMissing:e,setUserAcknowledgedGasMissing:t}),x&&(null==w?void 0:w.length)>0&&a.default.createElement(u.BannerAlert,{severity:m.SEVERITIES.WARNING},a.default.createElement(u.Text,{as:"p"},a.default.createElement("strong",null,1===(null==w?void 0:w.length)?C("pendingTransactionSingle",[null==w?void 0:w.length]):C("pendingTransactionMultiple",[null==w?void 0:w.length]))," ",C("pendingTransactionInfo"),C("learnCancelSpeeedup",[a.default.createElement(u.ButtonLink,{key:"cancelSpeedUpInfo",href:f.default.SPEEDUP_CANCEL,rel:"noopener noreferrer",target:"_blank"},C("cancelSpeedUp"))]))),E===i.PriorityLevels.low&&a.default.createElement(u.BannerAlert,{"data-testid":"low-gas-fee-alert",severity:m.SEVERITIES.WARNING},C("lowPriorityMessage")),M&&a.default.createElement(u.BannerAlert,{severity:m.SEVERITIES.WARNING},C("sendingZeroAmount",[P])),_&&a.default.createElement(u.BannerAlert,{"data-testid":"paymaster-alert",severity:m.SEVERITIES.INFO},C("paymasterInUse")))};E.propTypes={userAcknowledgedGasMissing:r.default.bool,setUserAcknowledgedGasMissing:r.default.func,tokenSymbol:r.default.string,txData:r.default.object,isUsingPaymaster:r.default.bool};n.default=E}}},{package:"$root$",file:"ui/pages/confirmations/components/transaction-alerts/transaction-alerts.js"}],[5631,{"../../../../../../../../shared/constants/copy":4496,"../../../../../../../components/app/modals/nickname-popovers":4692,"../../../../../../../components/ui/identicon":5247,"../../../../../../../helpers/utils/util":5399,"../../../../../../../hooks/useI18nContext":5427,"../../../../../../../selectors":5987,"copy-to-clipboard":3087,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=e("react-redux"),o=p(e("prop-types")),s=p(e("copy-to-clipboard")),i=e("../../../../../../../helpers/utils/util"),c=p(e("../../../../../../../components/ui/identicon")),l=e("../../../../../../../hooks/useI18nContext"),u=e("../../../../../../../selectors"),d=p(e("../../../../../../../components/app/modals/nickname-popovers")),m=e("../../../../../../../../shared/constants/copy");function p(e){return e&&e.__esModule?e:{default:e}}function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}const g=({checksummedRecipientAddress:e,onRecipientClick:t,addressOnly:n,recipientEns:o,recipientName:p})=>{const f=(0,l.useI18nContext)(),[g,h]=(0,a.useState)(!1),v=(0,r.useSelector)(u.getMemoizedAddressBook).find((t=>t.address.toLowerCase()===e.toLowerCase())),T=null==v?void 0:v.name,y=(0,r.useSelector)((t=>(0,u.getMemoizedMetadataContractName)(t,e))),b=n?p||T||y||o||(0,i.shortenAddress)(e):p||T||y||o||f("newContract");return a.default.createElement("div",{className:"tx-insight tx-insight-component tx-insight-component-address",onClick:()=>{(0,s.default)(e,m.COPY_OPTIONS),t&&t()}},a.default.createElement("div",{className:"tx-insight-component-address__sender-icon"},a.default.createElement(c.default,{address:e,diameter:18})),a.default.createElement("div",{className:"tx-insight-component-address__name",onClick:()=>h(!0)},b),g?a.default.createElement(d.default,{onClose:()=>h(!1),address:e}):null)};g.propTypes={checksummedRecipientAddress:o.default.string,recipientName:o.default.string,recipientEns:o.default.string,addressOnly:o.default.bool,onRecipientClick:o.default.func};n.default=g}}},{package:"$root$",file:"ui/pages/confirmations/components/transaction-decoding/components/decoding/address/address.component.js"}],[5632,{"./address.component":5631},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./address.component"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/transaction-decoding/components/decoding/address/index.js"}],[5633,{"../../../../../../../components/component-library":4955,"../../../../../../../components/ui/tooltip/tooltip":5311,"../../../../../../../contexts/i18n":5324,"../../../../../../../helpers/constants/design-system":5355,"../../../../../../../hooks/useCopyToClipboard":5417,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=d(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=u(e("prop-types")),o=u(e("../../../../../../../components/ui/tooltip/tooltip")),s=e("../../../../../../../contexts/i18n"),i=e("../../../../../../../hooks/useCopyToClipboard"),c=e("../../../../../../../components/component-library"),l=e("../../../../../../../helpers/constants/design-system");function u(e){return e&&e.__esModule?e:{default:e}}function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(d=function(e){return e?n:t})(e)}const m=({data:e})=>{const t=(0,a.useContext)(s.I18nContext),[n,r]=(0,i.useCopyToClipboard)();return a.default.createElement("div",{className:"copy-raw-data"},a.default.createElement(o.default,{position:"right",title:n?t("copiedExclamation"):""},a.default.createElement("button",{onClick:()=>{r(e)},className:"copy-raw-data__button"},a.default.createElement("div",{className:"copy-raw-data__icon"},a.default.createElement(c.Icon,{name:n?c.IconName.CopySuccess:c.IconName.Copy,color:l.IconColor.iconDefault})),a.default.createElement("div",{className:"copy-raw-data__label"},t("copyRawTransactionData")))))};m.propTypes={data:r.default.string.isRequired};n.default=m}}},{package:"$root$",file:"ui/pages/confirmations/components/transaction-decoding/components/ui/copy-raw-data/copy-raw-data.component.js"}],[5634,{"./copy-raw-data.component":5633},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./copy-raw-data.component"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/transaction-decoding/components/ui/copy-raw-data/index.js"}],[5635,{"./transaction-detail-item.component":5636},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./transaction-detail-item.component"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/components/transaction-detail-item/index.js"}],[5636,{"../../../../components/component-library":4955,"../../../../helpers/constants/design-system":5355,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=u;var a=c(e("react")),r=c(e("prop-types")),o=c(e("classnames")),s=e("../../../../helpers/constants/design-system"),i=e("../../../../components/component-library");function c(e){return e&&e.__esModule?e:{default:e}}function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t(0,s.default)(n,P.COPY_OPTIONS),color:g.IconColor.iconDefault,iconName:this.state.copied?k.IconName.CopySuccess:k.IconName.Copy,title:this.state.copied?e("copiedExclamation"):e("copyToClipboard")}))))}renderDataContent(){const{t:e}=this.context,{data:t,isSetApproveForAll:n,isApprovalOrRejection:r}=this.props;return a.default.createElement(k.Box,{className:"flex-column"},a.default.createElement(k.Text,{className:"confirm-approve-content__small-text"},e(n?"functionSetApprovalForAll":"functionApprove")),n&&r!==undefined?a.default.createElement(a.default.Fragment,null,a.default.createElement(k.Text,{className:"confirm-approve-content__small-text"},`${e("parameters")}: ${r}`)):null,a.default.createElement(k.Text,{className:"confirm-approve-content__small-text confirm-approve-content__data__data-block"},t))}renderFullDetails(){const{t:e}=this.context,{assetStandard:t}=this.props;return t===b.TokenStandard.ERC721||t===b.TokenStandard.ERC1155?a.default.createElement("div",{className:"confirm-approve-content__full-tx-content"},a.default.createElement("div",{className:"confirm-approve-content__permission"},this.renderApproveContentCard({symbol:a.default.createElement("i",{className:"fas fa-user-check"}),title:e("permissionRequest"),content:this.renderERC721OrERC1155PermissionContent(),showEdit:!1})),a.default.createElement("div",{className:"confirm-approve-content__data"},this.renderApproveContentCard({symbol:a.default.createElement("i",{className:"fa fa-file"}),title:e("data"),content:this.renderDataContent(),noBorder:!0}))):null}getTokenName(){const{tokenId:e,assetName:t,assetStandard:n,tokenSymbol:a}=this.props,{t:r}=this.context;let o=r("token");return(n===b.TokenStandard.ERC721||n===b.TokenStandard.ERC1155||t&&e||a&&e)&&(o=t||a?`${t??a}`:r("thisCollection")),o}getTitleTokenDescription(){const{tokenId:e,tokenAddress:t,rpcPrefs:n,chainId:r,userAddress:o}=this.props,c=(null==n?void 0:n.blockExplorerUrl)||[..._.TEST_CHAINS,_.CHAIN_IDS.MAINNET,_.CHAIN_IDS.LINEA_MAINNET].includes(r),l=this.getTokenName(),u=e?` (#${e})`:"";if(c){const e=(0,i.getTokenTrackerLink)(t,r,null,o,{blockExplorerUrl:(null==n?void 0:n.blockExplorerUrl)??null});return a.default.createElement(a.default.Fragment,null,a.default.createElement("a",{href:e,target:"_blank",rel:"noopener noreferrer",title:t,className:"confirm-approve-content__approval-asset-link"},l),u&&a.default.createElement("span",null,u))}return a.default.createElement(a.default.Fragment,null,a.default.createElement("span",{className:"confirm-approve-content__approval-asset-title",onClick:()=>{(0,s.default)(t,P.COPY_OPTIONS)},title:t},l),u&&a.default.createElement("span",null,u))}renderTitle(){const{t:e}=this.context,{assetName:t,tokenId:n,tokenSymbol:a,assetStandard:r,isSetApproveForAll:o,isApprovalOrRejection:s}=this.props,i=this.getTitleTokenDescription();let c;return o?a?(c=e("approveAllTokensTitle",[i]),!1===s&&(c=e("revokeAllTokensTitle",[i]))):(c=e("approveAllTokensTitleWithoutSymbol",[i]),!1===s&&(c=e("revokeAllTokensTitleWithoutSymbol",[i]))):(r===b.TokenStandard.ERC721||r===b.TokenStandard.ERC1155||t&&n||a&&n)&&(c=e("approveTokenTitle",[i])),c||e("allowSpendToken",[i])}renderDescription(){const{t:e}=this.context,{assetStandard:t,assetName:n,tokenId:a,tokenSymbol:r,isContract:o,isSetApproveForAll:s,isApprovalOrRejection:i}=this.props,c=o?e("contract").toLowerCase():e("account").toLowerCase();let l=e("trustSiteApprovePermission",[c]);return s&&!1===i?l=e(r?"revokeApproveForAllDescription":"revokeApproveForAllDescriptionWithoutSymbol",[this.getTitleTokenDescription()]):(s||t===b.TokenStandard.ERC721||t===b.TokenStandard.ERC1155||n&&a||r&&a)&&(l=r?e("approveTokenDescription"):e("approveTokenDescriptionWithoutSymbol",[this.getTitleTokenDescription()])),l}render(){var e;const{t:t}=this.context,{siteImage:n,origin:r,tokenSymbol:s,useNonceField:i,warning:l,txData:u,fromAddressIsLedger:p,toAddress:b,chainId:_,rpcPrefs:x,assetStandard:w,tokenId:C,tokenAddress:A,assetName:P,userAcknowledgedGasMissing:N,setUserAcknowledgedGasMissing:M,renderSimulationFailureWarning:O,nextNonce:R,getNextNonce:I,customNonceValue:D,updateCustomNonce:F,showCustomizeNonceModal:j}=this.props,{showFullTxDetails:L,setShowContractDetails:B}=this.state;return a.default.createElement("div",{className:(0,o.default)("confirm-approve-content",{"confirm-approve-content--full":L})},a.default.createElement(T.default,{txData:u,marginTop:4,marginLeft:4,marginRight:4}),(0,y.isSuspiciousResponse)(null==u?void 0:u.securityProviderResponse)&&a.default.createElement(f.default,{securityProviderResponse:u.securityProviderResponse}),l&&a.default.createElement("div",{className:"confirm-approve-content__custom-nonce-warning"},a.default.createElement(h.ConfirmPageContainerWarning,{warning:l})),a.default.createElement(k.Box,{display:g.DISPLAY.FLEX,className:"confirm-approve-content__icon-display-content"},a.default.createElement(k.Box,{display:g.DISPLAY.FLEX,alignItems:g.AlignItems.center},a.default.createElement(c.default,{className:"confirm-approve-content__siteimage-identicon",fallbackClassName:"confirm-approve-content__siteimage-identicon",name:r,url:n}),a.default.createElement(k.Text,{variant:g.TextVariant.bodySm,as:"h6",color:g.TextColor.textAlternative,marginLeft:1},r))),a.default.createElement("div",{className:"confirm-approve-content__title","data-testid":"confirm-approve-title"},this.renderTitle()),a.default.createElement("div",{className:"confirm-approve-content__description"},this.renderDescription()),a.default.createElement(k.Box,{marginBottom:4,marginTop:2},a.default.createElement(d.default,{type:"link",className:"confirm-approve-content__verify-contract-details",onClick:()=>this.setState({setShowContractDetails:!0})},t("verifyContractDetails")),B&&a.default.createElement(E.default,{onClose:()=>this.setState({setShowContractDetails:!1}),tokenName:s,tokenAddress:A,toAddress:b,chainId:_,rpcPrefs:x,tokenId:C,assetName:P,assetStandard:w})),a.default.createElement("div",{className:"confirm-approve-content__card-wrapper"},O&&a.default.createElement(k.Box,{paddingTop:0,paddingRight:6,paddingBottom:4,paddingLeft:6},a.default.createElement(m.default,{userAcknowledgedGasMissing:N,setUserAcknowledgedGasMissing:()=>M(!0)})),this.renderApproveContentCard({symbol:a.default.createElement(k.Icon,{name:k.IconName.Tag}),title:t("transactionFee"),showEdit:!0,showAdvanceGasFeeOptions:!0,showFeeDetails:!0,content:this.renderTransactionDetailsContent(),noBorder:i||!L,footer:!i&&a.default.createElement("div",{className:"confirm-approve-content__view-full-tx-button-wrapper",onClick:()=>this.setState({showFullTxDetails:!this.state.showFullTxDetails})},a.default.createElement("div",{className:"confirm-approve-content__view-full-tx-button cursor-pointer"},a.default.createElement("div",{className:"confirm-approve-content__small-blue-text"},this.state.showFullTxDetails?t("hideFullTransactionDetails"):t("viewFullTransactionDetails")),a.default.createElement("i",{className:(0,o.default)({"fa fa-caret-up":L,"fa fa-caret-down":!L})})))}),i&&this.renderApproveContentCard({showHeader:!1,content:a.default.createElement(S.default,{nextNonce:R,customNonceValue:D,showCustomizeNonceModal:()=>{j({nextNonce:R,customNonceValue:D,updateCustomNonce:F,getNextNonce:I})}}),useNonceField:i,noBorder:!L,footer:a.default.createElement("div",{className:"confirm-approve-content__view-full-tx-button-wrapper",onClick:()=>this.setState({showFullTxDetails:!this.state.showFullTxDetails})},a.default.createElement("div",{className:"confirm-approve-content__view-full-tx-button cursor-pointer"},a.default.createElement("div",{className:"confirm-approve-content__small-blue-text"},this.state.showFullTxDetails?t("hideFullTransactionDetails"):t("viewFullTransactionDetails")),a.default.createElement("i",{className:(0,o.default)({"fa fa-caret-up":L,"fa fa-caret-down":!L})})))})),p?a.default.createElement("div",{className:"confirm-approve-content__ledger-instruction-wrapper"},a.default.createElement(v.default,{showDataInstruction:Boolean(null===(e=u.txParams)||void 0===e?void 0:e.data)})):null,L?this.renderFullDetails():null)}}n.default=I,R(I,"contextTypes",{t:r.default.func,trackEvent:r.default.func}),R(I,"propTypes",{tokenSymbol:r.default.string,siteImage:r.default.string,origin:r.default.string,data:r.default.string,toAddress:r.default.string,currentCurrency:r.default.string,nativeCurrency:r.default.string,fiatTransactionTotal:r.default.string,ethTransactionTotal:r.default.string,useNonceField:r.default.bool,customNonceValue:r.default.string,updateCustomNonce:r.default.func,getNextNonce:r.default.func,nextNonce:r.default.number,showCustomizeNonceModal:r.default.func,warning:r.default.string,txData:r.default.object,fromAddressIsLedger:r.default.bool,chainId:r.default.string,tokenAddress:r.default.string,rpcPrefs:r.default.object,isContract:r.default.bool,hexTransactionTotal:r.default.string,hexMinimumTransactionFee:r.default.string,hasLayer1GasFee:r.default.bool,supportsEIP1559:r.default.bool,assetName:r.default.string,tokenId:r.default.string,assetStandard:r.default.string,isSetApproveForAll:r.default.bool,isApprovalOrRejection:r.default.bool,userAddress:r.default.string,userAcknowledgedGasMissing:r.default.bool,setUserAcknowledgedGasMissing:r.default.func,renderSimulationFailureWarning:r.default.bool,useCurrencyRateCheck:r.default.bool,useNativeCurrencyAsPrimaryCurrency:r.default.bool})}}},{package:"$root$",file:"ui/pages/confirmations/confirm-approve/confirm-approve-content/confirm-approve-content.component.js"}],[5639,{"./confirm-approve-content.component":5638},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./confirm-approve-content.component"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/confirm-approve/confirm-approve-content/index.js"}],[5640,{"../../../../shared/constants/gas":4500,"../../../../shared/constants/transaction":4520,"../../../../shared/lib/transactions-controller-utils":4531,"../../../../shared/modules/contract-utils":4536,"../../../../shared/modules/transaction.utils":4560,"../../../components/ui/loading-screen":5256,"../../../contexts/gasFee":5323,"../../../contexts/transaction-modal":5331,"../../../ducks/metamask/metamask":5346,"../../../helpers/utils/token-util":5396,"../../../selectors":5987,"../../../store/actions":5998,"../components/advanced-gas-fee-popover":5489,"../components/edit-gas-fee-popover":5563,"../components/edit-gas-popover/edit-gas-popover.component":5569,"../confirm-contract-interaction":5644,"../confirm-transaction-base":5657,"../hooks/useApproveTransaction":5691,"../hooks/useSimulationFailureWarning":5710,"../token-allowance/token-allowance":5723,"./confirm-approve-content":5639,"./confirm-approve.util":5641,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=M;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=P(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=S(e("prop-types")),o=e("react-redux"),s=S(e("../confirm-transaction-base")),i=e("../../../../shared/constants/gas"),c=e("../../../store/actions"),l=e("../../../helpers/utils/token-util"),u=e("../../../../shared/modules/contract-utils"),d=e("../../../contexts/gasFee"),m=e("../../../contexts/transaction-modal"),p=e("../../../ducks/metamask/metamask"),f=S(e("../confirm-contract-interaction")),g=e("../../../selectors"),h=e("../hooks/useApproveTransaction"),v=e("../hooks/useSimulationFailureWarning"),T=S(e("../components/advanced-gas-fee-popover")),y=S(e("../components/edit-gas-fee-popover")),b=S(e("../components/edit-gas-popover/edit-gas-popover.component")),_=S(e("../../../components/ui/loading-screen")),E=e("../../../../shared/modules/transaction.utils"),k=e("../../../../shared/constants/transaction"),x=e("../../../../shared/lib/transactions-controller-utils"),w=S(e("../token-allowance/token-allowance")),C=e("./confirm-approve.util"),A=S(e("./confirm-approve-content"));function S(e){return e&&e.__esModule?e:{default:e}}function P(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(P=function(e){return e?n:t})(e)}const N=e=>t=>(0,p.isAddressLedger)(t,e);function M({assetStandard:e,assetName:t,userBalance:n,tokenSymbol:r,decimals:S,tokenImage:P,tokenAmount:M,tokenId:O,userAddress:R,toAddress:I,tokenAddress:D,transaction:F,ethTransactionTotal:j,fiatTransactionTotal:L,hexTransactionTotal:B,hexMinimumTransactionFee:G,isSetApproveForAll:$}){const W=(0,o.useDispatch)(),{txParams:{data:U}={}}=F,H=(0,o.useSelector)(g.getCurrentCurrency),q=(0,o.useSelector)(p.getNativeCurrency),V=(0,o.useSelector)(g.getSubjectMetadata),z=(0,o.useSelector)(g.getUseNonceField),Y=(0,o.useSelector)(g.getNextSuggestedNonce),K=(0,o.useSelector)(g.getCustomNonceValue),X=(0,o.useSelector)(g.getCurrentChainId),J=(0,o.useSelector)(g.getRpcPrefsForCurrentProvider),Q=(0,o.useSelector)(g.checkNetworkAndAccountSupports1559),Z=(0,o.useSelector)(N(R)),ee=(0,o.useSelector)(g.getUseCurrencyRateCheck),{useNativeCurrencyAsPrimaryCurrency:te}=(0,o.useSelector)(g.getPreferences),[ne,ae]=(0,a.useState)(""),[re,oe]=(0,a.useState)(""),[se,ie]=(0,a.useState)(!1),[ce,le]=(0,a.useState)(!1),ue=Q,de=(0,a.useRef)(M),{approveTransaction:me,showCustomizeGasPopover:pe,closeCustomizeGasPopover:fe}=(0,h.useApproveTransaction)(),ge=(0,v.useSimulationFailureWarning)(ce);(0,a.useEffect)((()=>{ne&&de.current!==M&&ae(M),de.current=M}),[ne,M]);const he=(0,a.useRef)(Y),ve=(0,a.useRef)(K);(0,a.useEffect)((()=>{he.current===Y&&ve.current===K||oe(null!==Y&&K>Y?`Nonce is higher than suggested nonce of ${Y}`:""),ve.current=K,he.current=Y}),[K,Y]);const Te=(0,a.useCallback)((async()=>{const{isContractAddress:e}=await(0,u.readAddressAsContract)(global.eth,I);ie(e)}),[ie,I]);(0,a.useEffect)((()=>{Te()}),[Te]);const{origin:ye,layer1GasFee:be}=F,_e=ye||"",{iconUrl:Ee=""}=V[ye]||{};let ke;e!==k.TokenStandard.ERC721&&e!==k.TokenStandard.ERC1155||(ke=t);const xe=n?(0,x.calcTokenAmount)(n,S).toString(10):"",we=ne?(0,C.getCustomTxParamsData)(U,{customPermissionAmount:ne,decimals:S}):null,Ce=(0,E.parseStandardTokenTransactionData)(U),Ae=(0,l.getTokenApprovedParam)(Ce);if(r===undefined&&t===undefined)return a.default.createElement(_.default,null);if(e===undefined)return a.default.createElement(f.default,null);return e!==k.TokenStandard.ERC20||$?a.default.createElement(d.GasFeeContextProvider,{transaction:F},a.default.createElement(s.default,{toAddress:I,identiconAddress:I,showAccountInHeader:!0,title:ke,tokenAddress:D,customTokenAmount:String(ne),dappProposedTokenAmount:M,currentTokenBalance:xe,isApprovalOrRejection:Ae,contentComponent:a.default.createElement(m.TransactionModalContextProvider,null,a.default.createElement(A.default,{userAddress:R,isSetApproveForAll:$,isApprovalOrRejection:Ae,siteImage:Ee,origin:_e,tokenSymbol:r,tokenImage:P,tokenId:O,assetName:t,assetStandard:e,tokenAddress:D,data:we||U,toAddress:I,currentCurrency:H,nativeCurrency:q,ethTransactionTotal:j,fiatTransactionTotal:L,hexTransactionTotal:B,hexMinimumTransactionFee:G,useNonceField:z,nextNonce:Y,customNonceValue:K,userAcknowledgedGasMissing:ce,setUserAcknowledgedGasMissing:le,renderSimulationFailureWarning:ge,updateCustomNonce:e=>{W((0,c.updateCustomNonce)(e))},getNextNonce:()=>W((0,c.getNextNonce)()),showCustomizeNonceModal:({useNonceField:e,nextNonce:t,customNonceValue:n,updateCustomNonce:a,getNextNonce:r})=>W((0,c.showModal)({name:"CUSTOMIZE_NONCE",useNonceField:e,nextNonce:t,customNonceValue:n,updateCustomNonce:a,getNextNonce:r})),warning:re,txData:F,fromAddressIsLedger:Z,chainId:X,rpcPrefs:J,isContract:se,hasLayer1GasFee:be!==undefined,supportsEIP1559:ue,useCurrencyRateCheck:ee,useNativeCurrencyAsPrimaryCurrency:te}),pe&&!ue&&a.default.createElement(b.default,{onClose:fe,mode:i.EditGasModes.modifyInPlace,transaction:F}),ue&&a.default.createElement(a.default.Fragment,null,a.default.createElement(y.default,null),a.default.createElement(T.default,null))),hideSenderToRecipient:!0,customTxParamsData:we,assetStandard:e,displayAccountBalanceHeader:!0})):a.default.createElement(d.GasFeeContextProvider,{transaction:F},a.default.createElement(m.TransactionModalContextProvider,null,a.default.createElement(w.default,{origin:_e,siteImage:Ee,showCustomizeGasModal:me,useNonceField:z,currentCurrency:H,nativeCurrency:q,ethTransactionTotal:j,fiatTransactionTotal:L,hexTransactionTotal:B,hexMinimumTransactionFee:G,txData:F,supportsEIP1559:ue,userAddress:R,tokenAddress:D,data:U,isSetApproveForAll:$,isApprovalOrRejection:Ae,dappProposedTokenAmount:M,currentTokenBalance:xe,toAddress:I,tokenSymbol:r,decimals:S,fromAddressIsLedger:Z,warning:re}),pe&&!ue&&a.default.createElement(b.default,{onClose:fe,mode:i.EditGasModes.modifyInPlace,transaction:F}),ue&&a.default.createElement(a.default.Fragment,null,a.default.createElement(y.default,null),a.default.createElement(T.default,null))))}M.propTypes={assetStandard:r.default.string,assetName:r.default.string,tokenAddress:r.default.string,userBalance:r.default.string,tokenSymbol:r.default.string,decimals:r.default.string,tokenImage:r.default.string,tokenAmount:r.default.string,tokenId:r.default.string,userAddress:r.default.string,toAddress:r.default.string,transaction:r.default.shape({layer1GasFee:r.default.string,origin:r.default.string,txParams:r.default.shape({data:r.default.string,to:r.default.string,from:r.default.string})}),ethTransactionTotal:r.default.string,fiatTransactionTotal:r.default.string,hexTransactionTotal:r.default.string,hexMinimumTransactionFee:r.default.string,isSetApproveForAll:r.default.bool}}}},{package:"$root$",file:"ui/pages/confirmations/confirm-approve/confirm-approve.js"}],[5641,{"../../../../shared/lib/swaps-utils":4528,"../../../../shared/modules/conversion.utils":4537,"../../../../shared/modules/transaction.utils":4560,"../../../helpers/utils/token-util":5396,"@metamask/transaction-controller":2234},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.getCustomTxParamsData=function(e,{customPermissionAmount:t,decimals:n}){const c=(0,o.parseStandardTokenTransactionData)(e),l=[a.TransactionType.tokenMethodApprove,a.TransactionType.tokenMethodIncreaseAllowance];if(!c)throw new Error("Invalid data");if(!l.includes(c.name))throw new Error(`Invalid data; should be ${l.map((e=>`'${e}'`)).join(" or ")} method, but instead is '${c.name}'`);let u=(0,s.getTokenAddressParam)(c);u.startsWith("0x")&&(u=u.substring(2));const[d,m]=e.split(u);if(!d||!m)throw new Error("Invalid data");if(m.length<64)throw new Error("Invalid calldata value; must be at least 64 hex digits long");const p=m.substring(0,64),f=m.substring(64);let g=(0,i.decimalToHex)((0,r.calcTokenValue)(t,n));if(g.length>64)throw new Error("Custom value is larger than u256");g=g.padStart(p.length,"0");return`${d}${u}${g}${f}`};var a=e("@metamask/transaction-controller"),r=e("../../../../shared/lib/swaps-utils"),o=e("../../../../shared/modules/transaction.utils"),s=e("../../../helpers/utils/token-util"),i=e("../../../../shared/modules/conversion.utils")}}},{package:"$root$",file:"ui/pages/confirmations/confirm-approve/confirm-approve.util.js"}],[5642,{"./confirm-approve":5640},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./confirm-approve"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/confirm-approve/index.js"}],[5643,{"../../../../shared/constants/transaction":4520,"../../../ducks/confirm-transaction/confirm-transaction.duck":5338,"../../../ducks/send":5348,"../../../helpers/constants/routes":5361,"../confirm-transaction-base":5657,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(){const e=(0,r.useDispatch)(),t=(0,o.useHistory)(),n=n=>{(async({txData:t})=>{const{id:n}=t;await e((0,c.editExistingTransaction)(u.AssetType.native,n.toString())),e((0,l.clearConfirmTransaction)())})(n).then((()=>{t.push(i.SEND_ROUTE)}))};return a.default.createElement(s.default,{actionKey:"confirm",onEdit:e=>n(e)})};var a=d(e("react")),r=e("react-redux"),o=e("react-router-dom"),s=d(e("../confirm-transaction-base")),i=e("../../../helpers/constants/routes"),c=e("../../../ducks/send"),l=e("../../../ducks/confirm-transaction/confirm-transaction.duck"),u=e("../../../../shared/constants/transaction");function d(e){return e&&e.__esModule?e:{default:e}}}}},{package:"$root$",file:"ui/pages/confirmations/confirm-contract-interaction/confirm-contract-interaction.js"}],[5644,{"./confirm-contract-interaction":5643},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./confirm-contract-interaction"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/confirm-contract-interaction/index.js"}],[5645,{"../../../../shared/modules/buffer-utils":4535,"../../../components/component-library":4955,"../../../components/ui/box":5194,"../../../helpers/constants/design-system":5355,"../confirm-transaction-base":5657,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=d(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=u(e("prop-types")),o=u(e("../confirm-transaction-base")),s=e("../../../../shared/modules/buffer-utils"),i=u(e("../../../components/ui/box")),c=e("../../../components/component-library"),l=e("../../../helpers/constants/design-system");function u(e){return e&&e.__esModule?e:{default:e}}function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(d=function(e){return e?n:t})(e)}function m(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class p extends a.Component{renderData(){const{t:e}=this.context,{txData:{origin:t,txParams:{data:n}={}}={}}=this.props;return a.default.createElement(i.default,{color:l.Color.textAlternative,padding:4},a.default.createElement(i.default,{backgroundColor:l.Color.backgroundAlternative,padding:4,variant:l.TextVariant.bodySm},a.default.createElement(i.default,{display:l.DISPLAY.FLEX},a.default.createElement(c.Text,{backgroundColor:l.Color.backgroundAlternative,marginBottom:1,paddingRight:4,variant:l.TextVariant.bodySmBold},`${e("origin")}:`),a.default.createElement(c.Text,{overflowWrap:l.OVERFLOW_WRAP.BREAK_WORD,variant:l.TextVariant.bodySm},t)),a.default.createElement(i.default,{display:l.DISPLAY.FLEX},a.default.createElement(c.Text,{backgroundColor:l.Color.backgroundAlternative,paddingRight:4,variant:l.TextVariant.bodySmBold},`${e("bytes")}:`),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm},(0,s.toBuffer)(n).length))),a.default.createElement(c.Text,{as:"h3",paddingBottom:3,paddingTop:2,textTransform:l.TEXT_TRANSFORM.UPPERCASE,variant:l.TextVariant.bodySm},`${e("hexData")}:`),a.default.createElement(c.Text,{backgroundColor:l.Color.backgroundAlternative,overflowWrap:l.OVERFLOW_WRAP.BREAK_WORD,padding:4,variant:l.TextVariant.bodySm},n))}render(){return a.default.createElement(o.default,{actionKey:"contractDeployment",dataHexComponent:this.renderData()})}}n.default=p,m(p,"contextTypes",{t:r.default.func}),m(p,"propTypes",{txData:r.default.object})}}},{package:"$root$",file:"ui/pages/confirmations/confirm-deploy-contract/confirm-deploy-contract.component.js"}],[5646,{"./confirm-deploy-contract.component":5645,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=e("react-redux"),o=(a=e("./confirm-deploy-contract.component"))&&a.__esModule?a:{default:a};n.default=(0,r.connect)((e=>{const{confirmTransaction:{txData:t}={}}=e;return{txData:t}}))(o.default)}}},{package:"$root$",file:"ui/pages/confirmations/confirm-deploy-contract/confirm-deploy-contract.container.js"}],[5647,{"./confirm-deploy-contract.container":5646},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./confirm-deploy-contract.container"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/confirm-deploy-contract/index.js"}],[5648,{"../../../../shared/constants/transaction":4520,"../../../ducks/confirm-transaction/confirm-transaction.duck":5338,"../../../ducks/send":5348,"../../../helpers/constants/routes":5361,"../confirm-transaction-base":5657,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=d(e("react")),r=e("react-redux"),o=e("react-router-dom"),s=e("../../../../shared/constants/transaction"),i=e("../../../ducks/confirm-transaction/confirm-transaction.duck"),c=e("../../../ducks/send"),l=e("../../../helpers/constants/routes"),u=d(e("../confirm-transaction-base"));function d(e){return e&&e.__esModule?e:{default:e}}n.default=()=>{const e=(0,r.useDispatch)(),t=(0,o.useHistory)(),n=({txData:n})=>{(async t=>{const{id:n}=t;await e((0,c.editExistingTransaction)(s.AssetType.native,n.toString())),e((0,i.clearConfirmTransaction)())})(n).then((()=>{t.push(l.SEND_ROUTE)}))};return a.default.createElement(u.default,{actionKey:"confirm",onEdit:e=>n(e)})}}}},{package:"$root$",file:"ui/pages/confirmations/confirm-send-ether/confirm-send-ether.js"}],[5649,{"./confirm-send-ether":5648},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./confirm-send-ether"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/confirm-send-ether/index.js"}],[5650,{"../../../../shared/constants/transaction":4520,"../../../ducks/confirm-transaction/confirm-transaction.duck":5338,"../../../ducks/metamask/metamask":5346,"../../../ducks/send":5348,"../../../helpers/constants/routes":5361,"../../../selectors":5987,"../../../store/actions":5998,"../confirm-token-transaction-base/confirm-token-transaction-base":5653,"prop-types":3997,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=h;var a=g(e("react")),r=g(e("prop-types")),o=e("react-redux"),s=e("react-router-dom"),i=g(e("../confirm-token-transaction-base/confirm-token-transaction-base")),c=e("../../../helpers/constants/routes"),l=e("../../../ducks/send"),u=e("../../../selectors"),d=e("../../../ducks/metamask/metamask"),m=e("../../../ducks/confirm-transaction/confirm-transaction.duck"),p=e("../../../store/actions"),f=e("../../../../shared/constants/transaction");function g(e){return e&&e.__esModule?e:{default:e}}function h({assetStandard:e,toAddress:t,tokenAddress:n,assetName:r,tokenSymbol:g,tokenAmount:h,tokenId:v,transaction:T,image:y,ethTransactionTotal:b,fiatTransactionTotal:_,hexMaximumTransactionFee:E}){const k=(0,o.useDispatch)(),x=(0,s.useHistory)(),w=(0,o.useSelector)(d.getConversionRate),C=(0,o.useSelector)(d.getNativeCurrency),A=(0,o.useSelector)(u.getCurrentCurrency),S=(0,o.useSelector)(u.contractExchangeRateSelector);let P,N;return e===f.TokenStandard.ERC721?(P=r,N=`#${v}`):e===f.TokenStandard.ERC20&&(P=`${h} ${g}`),a.default.createElement(i.default,{onEdit:e=>{(async({txData:e})=>{const{id:t}=e;await k((0,l.editExistingTransaction)(f.AssetType.token,t.toString())),k((0,m.clearConfirmTransaction)()),k((0,p.showSendTokenPage)())})(e).then((()=>{x.push(c.SEND_ROUTE)}))},conversionRate:w,currentCurrency:A,nativeCurrency:C,contractExchangeRate:S,title:P,subtitle:N,assetStandard:e,assetName:r,tokenSymbol:g,tokenAmount:h,tokenId:v,transaction:T,image:y,toAddress:t,tokenAddress:n,ethTransactionTotal:b,fiatTransactionTotal:_,hexMaximumTransactionFee:E})}h.propTypes={tokenAmount:r.default.string,assetStandard:r.default.string,assetName:r.default.string,tokenSymbol:r.default.string,image:r.default.string,tokenId:r.default.string,toAddress:r.default.string,tokenAddress:r.default.string,transaction:r.default.shape({origin:r.default.string,txParams:r.default.shape({data:r.default.string,to:r.default.string,from:r.default.string})}),ethTransactionTotal:r.default.string,fiatTransactionTotal:r.default.string,hexMaximumTransactionFee:r.default.string}}}},{package:"$root$",file:"ui/pages/confirmations/confirm-send-token/confirm-send-token.js"}],[5651,{"./confirm-send-token":5650},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./confirm-send-token"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/confirm-send-token/index.js"}],[5652,{"../../../../shared/constants/app":4493,"../../../components/ui/loading-screen":5256,"../../../ducks/send":5348,"../../../helpers/utils/tx-helper":5398,"../../../hooks/snaps/useSignatureInsights":5411,"../../../selectors":5987,"../../../store/actions":5998,"../components/signature-request":5602,"../components/signature-request-original":5589,"../components/signature-request-siwe":5594,"../hooks/useRouting":5709,"@metamask/permission-controller":1624,"@metamask/transaction-controller":2234,lodash:3836,loglevel:3842,"prop-types":3997,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=x(e("prop-types")),r=k(e("react")),o=e("react-redux"),s=e("react-router-dom"),i=x(e("loglevel")),c=e("lodash"),l=e("@metamask/permission-controller"),u=e("@metamask/transaction-controller"),d=k(e("../../../store/actions")),m=x(e("../../../helpers/utils/tx-helper")),p=x(e("../components/signature-request")),f=x(e("../components/signature-request-siwe")),g=x(e("../components/signature-request-original")),h=x(e("../../../components/ui/loading-screen")),v=e("../hooks/useRouting"),T=e("../../../selectors"),y=e("../../../hooks/snaps/useSignatureInsights"),b=e("../../../../shared/constants/app"),_=e("../../../ducks/send");function E(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(E=function(e){return e?n:t})(e)}function k(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=E(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}function x(e){return e&&e.__esModule?e:{default:e}}const w=({match:e})=>{var t;const n=(0,o.useDispatch)(),{navigateToMostRecentOverviewPage:a}=(0,v.useRouting)(),E=(0,o.useSelector)(T.getTotalUnapprovedSignatureRequestCount),k=(0,o.useSelector)(_.getSendTo),x=(0,o.useSelector)(T.getInternalAccounts),{currentCurrency:w,blockGasLimit:C,signatureSecurityAlertResponses:A}=(0,o.useSelector)((e=>e.metamask)),S=(0,o.useSelector)(T.getMemoizedUnapprovedMessages),P=(0,o.useSelector)(T.getMemoizedUnapprovedPersonalMessages),N=(0,o.useSelector)(T.getMemoizedUnapprovedTypedMessages),M=(0,o.useSelector)(T.getUnapprovedTransactions),O=(0,o.useSelector)(T.getCurrentNetworkTransactions),R=(0,o.useSelector)(T.getMemoizedCurrentChainId),I=(0,o.useSelector)(T.getMemoizedTxId),[D,F]=(0,r.useState)(),j=(0,s.useHistory)();(0,r.useEffect)((()=>{0!==(0,m.default)(M||{},{},{},{},{},{},R).length||k||0!==E||a()}),[R,a,k,E,M]),(0,r.useEffect)((()=>{if(!D)return void F({index:I,unapprovedTxs:M});let t;const{params:{id:r}={}}=e;if(r)t=O.find((({id:e})=>`${e}`===r));else{const{index:e,unapprovedTxs:n}=D,a=(0,m.default)(n,{},{},{},{},{},R)[e]||{};t=O.find((({id:e})=>e===a.id))||{}}const o=(0,m.default)(M||{},{},{},{},{},{},R);t&&t.status===u.TransactionStatus.dropped?n(d.showModal({name:"TRANSACTION_CONFIRMED",onSubmit:()=>a()})):(0!==o.length||k||0!==E||a(),F({index:I,unapprovedTxs:M}))}),[]);const{params:{id:L}={}}=e,B=(0,r.useMemo)((()=>{const e=(0,m.default)(M||{},S,P,{},{},N,R);i.default.info(`rendering a combined ${e.length} unconf msgs & txs`);const t=L?e.find((({id:e})=>`${e}`===L)):e[I];return t?(0,c.cloneDeep)(t):{}}),[R,I,L,S,P,M,N]),{warnings:G}=(0,y.useSignatureInsights)({txData:B}),$=null==A?void 0:A[null===(t=B.securityAlertResponse)||void 0===t?void 0:t.securityAlertId];$&&(B.securityAlertResponse=$);const W=(0,o.useSelector)((e=>{var t;return(0,T.getTargetSubjectMetadata)(e,null===(t=B.msgParams)||void 0===t?void 0:t.origin)}));if(!B.msgParams)return r.default.createElement(h.default,null);const U=((e,t)=>{const{type:n,msgParams:{version:a,siwe:r}}=e;return n!==b.MESSAGE_TYPE.ETH_SIGN_TYPED_DATA||"V3"!==a&&"V4"!==a?null!=r&&r.isSIWEMessage&&t!==l.SubjectType.Snap?f.default:g.default:p.default})(B,W);return r.default.createElement(U,{history:j,txData:B,key:B.id,accounts:x,currentCurrency:w,blockGasLimit:C,warnings:G})};w.propTypes={match:a.default.shape({params:a.default.shape({id:a.default.string})})};n.default=(0,s.withRouter)(w)}}},{package:"$root$",file:"ui/pages/confirmations/confirm-signature-request/index.js"}],[5653,{"../../../../shared/constants/common":4495,"../../../../shared/constants/network":4507,"../../../../shared/constants/transaction":4520,"../../../../shared/modules/conversion.utils":4537,"../../../components/app/user-preferenced-currency-display":4880,"../../../constants":5321,"../../../contexts/i18n":5324,"../../../ducks/metamask/metamask":5346,"../../../helpers/constants/common":5353,"../../../helpers/utils/confirm-tx.util":5381,"../../../selectors":5987,"../confirm-transaction-base":5657,"@metamask/etherscan-link":1369,"bignumber.js":2933,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=E;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=_(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=b(e("prop-types")),o=b(e("bignumber.js")),s=e("react-redux"),i=e("@metamask/etherscan-link"),c=e("../../../contexts/i18n"),l=b(e("../confirm-transaction-base")),u=b(e("../../../components/app/user-preferenced-currency-display")),d=e("../../../helpers/utils/confirm-tx.util"),m=e("../../../helpers/constants/common"),p=e("../../../selectors"),f=e("../../../ducks/metamask/metamask"),g=e("../../../../shared/constants/transaction"),h=e("../../../../shared/modules/conversion.utils"),v=e("../../../../shared/constants/common"),T=e("../../../../shared/constants/network"),y=e("../../../constants");function b(e){return e&&e.__esModule?e:{default:e}}function _(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(_=function(e){return e?n:t})(e)}function E({image:e="",assetName:t,toAddress:n,tokenAddress:r,tokenAmount:b="0",tokenSymbol:_,tokenId:E,assetStandard:k,onEdit:x,ethTransactionTotal:w,fiatTransactionTotal:C,hexMaximumTransactionFee:A}){const S=(0,a.useContext)(c.I18nContext),P=(0,s.useSelector)(p.contractExchangeRateSelector),N=(0,s.useSelector)(f.getNativeCurrency),M=(0,s.useSelector)(p.getCurrentCurrency),O=(0,s.useSelector)(f.getConversionRate),R=(0,s.useSelector)(p.getRpcPrefsForCurrentProvider),I=(0,s.useSelector)(p.getCurrentChainId),{address:D}=(0,s.useSelector)(p.getSelectedInternalAccount),F=(0,s.useSelector)(f.getNftContracts),j=Number((0,h.hexWEIToDecETH)(A)).toFixed(y.ETH_DEFAULT_DECIMALS),L=e=>{const t=(null==R?void 0:R.blockExplorerUrl)||[...T.TEST_CHAINS,T.CHAIN_IDS.MAINNET,T.CHAIN_IDS.LINEA_MAINNET].includes(I),n=F.find((e=>e.address.toLowerCase()===r.toLowerCase())),o=_||(null==n?void 0:n.name)||S("unknownCollection");if("text"===e)return o;if(t){const e=(0,i.getTokenTrackerLink)(r,I,null,D,{blockExplorerUrl:(null==R?void 0:R.blockExplorerUrl)??null});return a.default.createElement(a.default.Fragment,null,a.default.createElement("a",{href:e,target:"_blank",rel:"noopener noreferrer",title:r,className:"confirm-approve-content__approval-asset-link"},o))}return a.default.createElement(a.default.Fragment,null,a.default.createElement("span",{className:"confirm-approve-content__approval-asset-title",title:r},o))},B=e;let G,$,W;k===g.TokenStandard.ERC721||k===g.TokenStandard.ERC1155?(G=t||L(),$=`#${E}`,W=t||`${L("text")} #${E}`):k===g.TokenStandard.ERC20&&(G=`${b} ${_}`,W=`${b} ${_}`);const U=(0,a.useMemo)((()=>{if("0"===b||!P)return"0";const e=new o.default(b).times(new o.default(P?String(P):0)).toFixed();return(0,h.getWeiHexFromDecimalValue)({value:e,fromCurrency:v.EtherDenomination.ETH,fromDenomination:v.EtherDenomination.ETH})}),[b,P]),H=(0,a.useMemo)((()=>{if(void 0===P)return(0,d.formatCurrency)(C,M);const e=(0,d.convertTokenToFiat)({value:b,toCurrency:M,conversionRate:O,contractExchangeRate:P}),t=(0,d.addFiat)(e,C),n=(0,d.roundExponential)(t);return(0,d.formatCurrency)(n,M)}),[M,O,P,C,b]);return a.default.createElement(l.default,{assetStandard:k,toAddress:n,image:B,onEdit:x,tokenAddress:r,title:G,subtitleComponent:P===undefined&&$===undefined?a.default.createElement("span",null,S("noConversionRateAvailable")):$?a.default.createElement("span",null,$):a.default.createElement(u.default,{value:U,type:m.PRIMARY,showEthLogo:!0,hideLabel:!0}),primaryTotalTextOverride:`${W} + ${w} ${N}`,primaryTotalTextOverrideMaxAmount:`${W} + ${j} ${N}`,secondaryTotalTextOverride:H,tokenSymbol:_})}E.propTypes={image:r.default.string,assetName:r.default.string,toAddress:r.default.string,tokenAddress:r.default.string,tokenAmount:r.default.string,tokenSymbol:r.default.string,tokenId:r.default.string,assetStandard:r.default.string,onEdit:r.default.func,ethTransactionTotal:r.default.string,fiatTransactionTotal:r.default.string,hexMaximumTransactionFee:r.default.string}}}},{package:"$root$",file:"ui/pages/confirmations/confirm-token-transaction-base/confirm-token-transaction-base.js"}],[5654,{"./confirm-token-transaction-base":5653},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./confirm-token-transaction-base"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/confirm-token-transaction-base/index.js"}],[5655,{"../../../../shared/constants/keyring":4502,"../../../../shared/constants/metametrics":4505,"../../../../shared/constants/network":4507,"../../../../shared/modules/conversion.utils":4537,"../../../../shared/modules/updateTxData":4561,"../../../components/app/user-preferenced-currency-display":4880,"../../../components/component-library":4955,"../../../components/ui/loading-heartbeat":5253,"../../../components/ui/text-field":5302,"../../../contexts/transaction-modal":5331,"../../../helpers/constants/common":5353,"../../../helpers/constants/design-system":5355,"../../../helpers/constants/error-keys":5356,"../../../helpers/constants/routes":5361,"../../../helpers/utils/hardware":5385,"../../../helpers/utils/metrics":5389,"../../../helpers/utils/transactions.util":5397,"../../../store/actions":5998,"../../snap-account-transaction-loading-screen/snap-account-transaction-loading-screen":5894,"../../swaps/swaps.util":5967,"../components/blockaid-unavailable-banner-alert/blockaid-unavailable-banner-alert":5491,"../components/confirm-gas-display":5495,"../components/confirm-hexdata":5497,"../components/confirm-page-container":5511,"../components/confirm-subtitle":5513,"../components/confirm-title":5515,"../components/fee-details-component/fee-details-component":5571,"../components/ledger-instruction-field":5575,"../components/simulation-details":5616,"../components/transaction-alerts":5629,"../components/transaction-detail-item/transaction-detail-item.component":5636,"../components/transaction-detail/transaction-detail.component":5637,"../send/send.constants":5721,"../send/send.utils":5722,"@metamask/transaction-controller":2234,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=$(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=G(e("prop-types")),o=e("@metamask/transaction-controller"),s=G(e("../components/confirm-page-container")),i=e("../send/send.utils"),c=e("../../../helpers/constants/routes"),l=e("../../../helpers/constants/design-system"),u=e("../../../helpers/constants/error-keys"),d=G(e("../../../components/app/user-preferenced-currency-display")),m=e("../../../helpers/constants/common"),p=G(e("../../../components/ui/text-field")),f=e("../../../../shared/constants/metametrics"),g=e("../../../helpers/utils/metrics"),h=e("../../../helpers/utils/transactions.util"),v=e("../../../contexts/transaction-modal"),T=G(e("../components/transaction-detail/transaction-detail.component")),y=G(e("../components/transaction-detail-item/transaction-detail-item.component")),b=e("../../../components/component-library"),_=G(e("../../../components/ui/loading-heartbeat")),E=G(e("../components/ledger-instruction-field")),k=e("../../../store/actions"),x=e("../send/send.constants"),w=e("../../../../shared/constants/network"),C=e("../../../../shared/modules/conversion.utils"),A=G(e("../components/transaction-alerts")),S=e("../components/confirm-hexdata"),P=e("../components/confirm-title"),N=e("../components/confirm-subtitle"),M=e("../components/confirm-gas-display"),O=G(e("../../../../shared/modules/updateTxData")),R=e("../../../../shared/constants/keyring"),I=G(e("../../snap-account-transaction-loading-screen/snap-account-transaction-loading-screen")),D=e("../../../helpers/utils/hardware"),F=G(e("../components/fee-details-component/fee-details-component")),j=e("../components/simulation-details"),L=e("../../swaps/swaps.util"),B=e("../components/blockaid-unavailable-banner-alert/blockaid-unavailable-banner-alert");function G(e){return e&&e.__esModule?e:{default:e}}function $(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return($=function(e){return e?n:t})(e)}function W(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class U extends a.Component{constructor(...e){super(...e),W(this,"state",{submitting:!1,submitError:null,submitWarning:"",ethGasPriceWarning:"",editingGas:!1,userAcknowledgedGasMissing:!1,showWarningModal:!1}),W(this,"_beforeUnloadForGasPolling",(()=>{this._isMounted=!1,this.state.pollingToken&&((0,k.gasFeeStopPollingByPollingToken)(this.state.pollingToken),(0,k.removePollingTokenFromAppState)(this.state.pollingToken))})),W(this,"_removeBeforeUnload",(()=>{window.removeEventListener("beforeunload",this._beforeUnloadForGasPolling)})),W(this,"supportsEIP1559",this.props.supportsEIP1559&&!(0,h.isLegacyTransaction)(this.props.txData))}componentDidUpdate(e){const{transactionStatus:t,showTransactionConfirmedModal:n,history:a,clearConfirmTransaction:r,nextNonce:s,customNonceValue:i,toAddress:l,tryReverseResolveAddress:d,isEthGasPriceFetched:m,setDefaultHomeActiveTabName:p,hexMaximumTransactionFee:f,useMaxValue:g,hasPriorityApprovalRequest:h,mostRecentOverviewPage:v}=this.props,{customNonceValue:T,nextNonce:y,toAddress:b,transactionStatus:_,isEthGasPriceFetched:E,hexMaximumTransactionFee:k,hasPriorityApprovalRequest:x}=e,w=t!==_,C=t===o.TransactionStatus.dropped||t===o.TransactionStatus.confirmed;s===y&&i===T||(null!==s&&i>s?this.setState({submitWarning:this.context.t("nextNonceWarning",[s])}):this.setState({submitWarning:""})),w&&C&&n({onSubmit:()=>{r(),p("activity").then((()=>{a.push(c.DEFAULT_ROUTE)}))}}),l&&l!==b&&d(l),m!==E&&(m?this.setState({ethGasPriceWarning:this.context.t(u.ETH_GAS_PRICE_FETCH_WARNING_KEY)}):this.setState({ethGasPriceWarning:""})),f!==k&&g&&this.updateValueToMax(),h&&!x&&a.push(v)}getErrorKey(){const{balance:e,conversionRate:t,hexMaximumTransactionFee:n,txData:{txParams:{value:a}={}}={},customGas:r,noGasPrice:o,gasFeeIsCustom:s,isSigningOrSubmitting:c,isUserOpContractDeployError:l}=this.props;if(l)return{valid:!1,errorKey:u.USER_OP_CONTRACT_DEPLOY_ERROR_KEY};return e&&!(0,i.isBalanceSufficient)({amount:a,gasTotal:n||"0x0",balance:e,conversionRate:t})?{valid:!1,errorKey:u.INSUFFICIENT_FUNDS_ERROR_KEY}:(0,C.hexToDecimal)(r.gasLimit)!L&&!G,W=Boolean(h.simulationFails)&&!L,U=w.NETWORK_TO_NAME_MAP[h.chainId],H=e=>(0,C.sumHexes)(h.txParams.value,e?o:s,h.layer1GasFee??0),q=({useMaxFee:e,isBoldTextAndNotOverridden:t=!1}={})=>{if(k===undefined&&r===undefined)return a.default.createElement(d.default,{type:m.PRIMARY,key:"total-max-amount",value:H(e),hideLabel:!v});const o=v?e?k:n:r;return t?a.default.createElement(b.Text,{variant:l.TextVariant.bodyMdBold},o):o},V=i&&!I?a.default.createElement("div",null,a.default.createElement("div",{className:"confirm-detail-row"},a.default.createElement("div",{className:"confirm-detail-row__label"},D("nonceFieldHeading")),a.default.createElement("div",{className:"custom-nonce-input"},a.default.createElement(p.default,{type:"number",min:0,placeholder:"number"==typeof f?f.toString():null,onChange:({target:{value:e}})=>{!e.length||Number(e)<0?u(""):u(String(Math.floor(e))),g()},fullWidth:!0,margin:"dense",value:c||""})))):null,{simulationData:z}=h,Y=a.default.createElement(j.SimulationDetails,{simulationData:z,transactionId:h.id,enableMetrics:!0}),K=Boolean(null==z?void 0:z.error);return a.default.createElement("div",{className:"confirm-page-container-content__details"},a.default.createElement(B.BlockaidUnavailableBannerAlert,null),a.default.createElement(A.default,{txData:h,setUserAcknowledgedGasMissing:()=>this.setUserAcknowledgedGasMissing(),userAcknowledgedGasMissing:L,nativeCurrency:S,networkName:U,type:h.type,isBuyableChain:P,tokenSymbol:O,isUsingPaymaster:R}),Y,!W&&a.default.createElement(T.default,{disableEditGasFeeButton:!0,disabled:$(),userAcknowledgedGasMissing:L,onEdit:()=>this.handleEditGas(),rows:[a.default.createElement("div",{key:"confirm-transaction-base_confirm-gas-display"},a.default.createElement(M.ConfirmGasDisplay,{userAcknowledgedGasMissing:L}),a.default.createElement(F.default,{useCurrencyRateCheck:N,txData:h}))]}),K&&a.default.createElement(T.default,{disableEditGasFeeButton:!0,disabled:$(),userAcknowledgedGasMissing:L,rows:[a.default.createElement(y.default,{key:"confirm-transaction-base-total-item",detailTitle:D("total"),detailText:N&&(e=>{var t;return n===undefined&&r===undefined||"0x0"===e?a.default.createElement("div",{className:"confirm-page-container-content__total-value"},a.default.createElement(_.default,{estimateUsed:null===(t=this.props.txData)||void 0===t?void 0:t.userFeeLevel}),a.default.createElement(d.default,{type:m.SECONDARY,key:"total-detail-text",value:e,suffixProps:{color:l.TextColor.textDefault,variant:l.TextVariant.bodyMdBold},textProps:{color:l.TextColor.textDefault,variant:l.TextVariant.bodyMdBold},hideLabel:Boolean(v)})):v?r:n})(H()),detailTotal:q({useMaxFee:!1,isBoldTextAndNotOverridden:!0}),subTitle:D("transactionDetailGasTotalSubtitle"),subText:a.default.createElement("div",{className:"confirm-page-container-content__total-amount"},a.default.createElement(_.default,{estimateUsed:null===(e=this.props.txData)||void 0===e?void 0:e.userFeeLevel}),a.default.createElement(b.Text,{color:l.TextColor.textAlternative,variant:l.TextVariant.bodySmMedium},D("editGasSubTextAmountLabel"))," ",q({useMaxFee:!0}))})]}),V,x?a.default.createElement(E.default,{showDataInstruction:Boolean(null===(t=h.txParams)||void 0===t?void 0:t.data)}):null)}renderDataHex(){const{txData:e,dataHexComponent:t}=this.props,{txParams:{data:n}}=e;return n?a.default.createElement(S.ConfirmHexData,{txData:e,dataHexComponent:t}):null}handleEdit(){const{txData:e,tokenData:t,tokenProps:n,onEdit:a,actionKey:r,txData:{origin:s},methodData:i={}}=this.props;this.context.trackEvent({category:f.MetaMetricsEventCategory.Transactions,event:"Edit Transaction",properties:{action:"Confirm Screen",legacy_event:!0,recipientKnown:null,functionType:r||(0,g.getMethodName)(i.name)||o.TransactionType.contractInteraction,origin:s}}),a({txData:e,tokenData:t,tokenProps:n})}handleCancelAll(){const{cancelAllTransactions:e,clearConfirmTransaction:t,history:n,mostRecentOverviewPage:a,showRejectTransactionsConfirmationModal:r,unapprovedTxCount:o}=this.props;r({unapprovedTxCount:o,onSubmit:async()=>{this._removeBeforeUnload(),await e(),t(),n.push(a)}})}async handleCancel(){const{txData:e,cancelTransaction:t,history:n,mostRecentOverviewPage:a,updateCustomNonce:r}=this.props;this._removeBeforeUnload(),r(""),await t(e),n.push(a)}handleSubmit(){const{submitting:e}=this.state;e||(this.props.isMainBetaFlask?this.handleMainSubmit():this.handleMMISubmit())}handleMainSubmit(){const{sendTransaction:e,txData:t,history:n,mostRecentOverviewPage:r,updateCustomNonce:o,methodData:s,maxFeePerGas:i,customTokenAmount:c,dappProposedTokenAmount:l,currentTokenBalance:u,maxPriorityFeePerGas:d,baseFeePerGas:m,addToAddressBookIfNew:p,toAccounts:f,toAddress:g,keyringForAccount:h,fromInternalAccount:v}=this.props;let T;if((null==h?void 0:h.type)===R.KeyringType.snap)T=a.default.createElement(I.default,{internalAccount:v});else T=(0,D.isHardwareKeyring)(null==h?void 0:h.type)?this.context.t("loadingScreenHardwareWalletMessage"):null;(0,O.default)({txData:t,maxFeePerGas:i,customTokenAmount:c,dappProposedTokenAmount:l,currentTokenBalance:u,maxPriorityFeePerGas:d,baseFeePerGas:m,addToAddressBookIfNew:p,toAccounts:f,toAddress:g,name:s.name}),this.setState({submitting:!0,submitError:null},(()=>{this._removeBeforeUnload(),e(t,!1,T).then((()=>{this._isMounted&&this.setState({submitting:!1},(()=>{n.push(r),o("")}))})).catch((e=>{this._isMounted&&(this.setState({submitting:!1,submitError:e.message}),o(""))}))}))}async handleMMISubmit(){const{sendTransaction:e,updateTransaction:t,txData:n,history:a,mostRecentOverviewPage:r,updateCustomNonce:o,unapprovedTxCount:s,accountType:i,isNotification:c,setWaitForConfirmDeepLinkDialog:l,showTransactionsFailedModal:u,fromAddress:d,isNoteToTraderSupported:m,custodianPublishesTransaction:p,rpcUrl:f,methodData:g,maxFeePerGas:h,customTokenAmount:v,dappProposedTokenAmount:T,currentTokenBalance:y,maxPriorityFeePerGas:b,baseFeePerGas:_,addToAddressBookIfNew:E,toAccounts:k,toAddress:x,showCustodianDeepLink:w,clearConfirmTransaction:C}=this.props,{noteText:A}=this.state;"custody"===i&&(n.custodyStatus="created",n.metadata=n.metadata||{},m&&(n.metadata.note=A),n.metadata.custodianPublishesTransaction=p,n.metadata.rpcUrl=f,await t(n)),(0,O.default)({txData:n,maxFeePerGas:h,customTokenAmount:v,dappProposedTokenAmount:T,currentTokenBalance:y,maxPriorityFeePerGas:b,baseFeePerGas:_,addToAddressBookIfNew:E,toAccounts:k,toAddress:x,name:g.name}),this.setState({submitting:!0,submitError:null},(()=>{this._removeBeforeUnload(),n.custodyStatus&&l(!0),e(n).then((()=>{if(n.custodyStatus)w({fromAddress:d,closeNotification:c&&1===s,txId:n.id,onDeepLinkFetched:()=>{this.context.trackEvent({category:"MMI",event:"Show deeplink for transaction"})},onDeepLinkShown:()=>{C(),this._isMounted&&this.setState({submitting:!1},(()=>{a.push(r),o("")}))}});else{if(!this._isMounted)return;this.setState({submitting:!1},(()=>{a.push(r),o("")}))}})).catch((e=>{this._isMounted&&(u(e.message,c),this.setState({submitting:!1,submitError:e.message}),l(!0),o(""))}))}))}handleSetApprovalForAll(){this.setState({showWarningModal:!0})}renderTitleComponent(){const{title:e,hexTransactionAmount:t,txData:n}=this.props;return a.default.createElement(P.ConfirmTitle,{title:e,hexTransactionAmount:t,txData:n})}renderSubtitleComponent(){const{assetStandard:e,subtitleComponent:t,hexTransactionAmount:n,txData:r}=this.props;return a.default.createElement(N.ConfirmSubTitle,{hexTransactionAmount:n,subtitleComponent:t,txData:r,assetStandard:e})}componentDidMount(){this._isMounted=!0;const{toAddress:e,txData:{origin:t,chainId:n}={},getNextNonce:a,tryReverseResolveAddress:r,smartTransactionsOptInStatus:o,currentChainSupportsSmartTransactions:s,setSwapsFeatureFlags:i,fetchSmartTransactionsLiveness:c,chainId:l}=this.props;if(n===undefined||n!==l)throw new Error(`Currently selected chainId (${l}) does not match chainId (${n}) on which the transaction was proposed.`);const{trackEvent:u}=this.context;u({category:f.MetaMetricsEventCategory.Transactions,event:"Confirm: Started",properties:{action:"Confirm Screen",legacy_event:!0,origin:t}}),a(),e&&r(e),(0,k.gasFeeStartPollingByNetworkClientId)(this.props.selectedNetworkClientId).then((e=>{this._isMounted?((0,k.addPollingTokenToAppState)(e),this.setState({pollingToken:e})):((0,k.gasFeeStopPollingByPollingToken)(e),(0,k.removePollingTokenFromAppState)(this.state.pollingToken))})),window.addEventListener("beforeunload",this._beforeUnloadForGasPolling),o&&s&&Promise.all([(0,L.fetchSwapsFeatureFlags)(),c()]).then((([e])=>i(e)))}componentWillUnmount(){this._beforeUnloadForGasPolling(),this._removeBeforeUnload(),this.props.clearConfirmTransaction()}render(){const{t:e}=this.context,{fromName:t,fromAddress:n,toName:r,toAddress:i,toEns:c,toNickname:l,methodData:u,tokenAddress:d,contentComponent:m,onEdit:p,nonce:f,customNonceValue:T,unapprovedTxCount:y,type:b,hideSenderToRecipient:_,showAccountInHeader:E,txData:k,gasIsLoading:x,gasFeeIsCustom:w,nativeCurrency:C,hardwareWalletRequiresConnection:A,image:S,isApprovalOrRejection:P,assetStandard:N,displayAccountBalanceHeader:M,title:O,isSigningOrSubmitting:R}=this.props,{submitting:I,submitError:D,submitWarning:F,ethGasPriceWarning:j,editingGas:L,userAcknowledgedGasMissing:B,showWarningModal:G}=this.state,{name:$}=u,{valid:W,errorKey:U}=this.getErrorKey(),H=Boolean(k.simulationFails),q=H&&!B,V=k.type===o.TransactionType.tokenMethodSetApprovalForAll||k.type===o.TransactionType.tokenMethodApprove||k.type===o.TransactionType.tokenMethodIncreaseAllowance,z=k.type===o.TransactionType.contractInteraction,Y=(V||z)&&"metamask"!==k.origin;let K;return Y&&(K=(0,g.getMethodName)($)),K||(K=b?(0,h.getTransactionTypeTitle)(e,b,C):e("contractInteraction")),a.default.createElement(v.TransactionModalContextProvider,null,a.default.createElement(s.default,{fromName:t,fromAddress:n,showAccountInHeader:E,toName:r,toAddress:i,toEns:c,toNickname:l,showEdit:!Y&&Boolean(p),action:K,image:S,title:O,titleComponent:this.renderTitleComponent(),subtitleComponent:this.renderSubtitleComponent(),detailsComponent:this.renderDetails(),dataHexComponent:this.renderDataHex(K),contentComponent:m,nonce:T||f,unapprovedTxCount:y,tokenAddress:d,errorMessage:D,errorKey:U,hasSimulationError:H,warning:F,disabled:q||!W||I||A||x&&!w||R,onEdit:()=>this.handleEdit(),onCancelAll:()=>this.handleCancelAll(),onCancel:()=>this.handleCancel(),onSubmit:()=>this.handleSubmit(),onSetApprovalForAll:()=>this.handleSetApprovalForAll(),showWarningModal:G,hideSenderToRecipient:_,origin:k.origin,ethGasPriceWarning:j,editingGas:L,handleCloseEditGas:()=>this.handleCloseEditGas(),currentTransaction:k,supportsEIP1559:this.supportsEIP1559,nativeCurrency:C,isApprovalOrRejection:P,assetStandard:N,txData:k,displayAccountBalanceHeader:M}))}}n.default=U,W(U,"contextTypes",{t:r.default.func,trackEvent:r.default.func}),W(U,"propTypes",{history:r.default.object,balance:r.default.string,cancelTransaction:r.default.func,cancelAllTransactions:r.default.func,clearConfirmTransaction:r.default.func,conversionRate:r.default.number,fromAddress:r.default.string,fromName:r.default.string,hexTransactionAmount:r.default.string,hexMaximumTransactionFee:r.default.string,hexMinimumTransactionFee:r.default.string,methodData:r.default.object,nonce:r.default.string,useNonceField:r.default.bool,customNonceValue:r.default.string,updateCustomNonce:r.default.func,sendTransaction:r.default.func,showTransactionConfirmedModal:r.default.func,showRejectTransactionsConfirmationModal:r.default.func,toAccounts:r.default.array,toAddress:r.default.string,tokenData:r.default.object,tokenProps:r.default.object,toName:r.default.string,toEns:r.default.string,toNickname:r.default.string,transactionStatus:r.default.string,txData:r.default.object,unapprovedTxCount:r.default.number,customGas:r.default.object,addToAddressBookIfNew:r.default.func,fromInternalAccount:r.default.object,keyringForAccount:r.default.object,actionKey:r.default.string,contentComponent:r.default.node,dataHexComponent:r.default.node,tokenAddress:r.default.string,customTokenAmount:r.default.string,dappProposedTokenAmount:r.default.string,currentTokenBalance:r.default.string,onEdit:r.default.func,subtitleComponent:r.default.node,title:r.default.string,image:r.default.string,type:r.default.string,getNextNonce:r.default.func,nextNonce:r.default.number,tryReverseResolveAddress:r.default.func.isRequired,hideSenderToRecipient:r.default.bool,showAccountInHeader:r.default.bool,mostRecentOverviewPage:r.default.string.isRequired,isEthGasPriceFetched:r.default.bool,noGasPrice:r.default.bool,setDefaultHomeActiveTabName:r.default.func,primaryTotalTextOverride:r.default.string,secondaryTotalTextOverride:r.default.string,gasIsLoading:r.default.bool,primaryTotalTextOverrideMaxAmount:r.default.string,useNativeCurrencyAsPrimaryCurrency:r.default.bool,maxFeePerGas:r.default.string,maxPriorityFeePerGas:r.default.string,baseFeePerGas:r.default.string,gasFeeIsCustom:r.default.bool,showLedgerSteps:r.default.bool.isRequired,nativeCurrency:r.default.string,supportsEIP1559:r.default.bool,hardwareWalletRequiresConnection:r.default.bool,isBuyableChain:r.default.bool,isApprovalOrRejection:r.default.bool,assetStandard:r.default.string,useCurrencyRateCheck:r.default.bool,isNotification:r.default.bool,accountType:r.default.string,setWaitForConfirmDeepLinkDialog:r.default.func,showTransactionsFailedModal:r.default.func,showCustodianDeepLink:r.default.func,isNoteToTraderSupported:r.default.bool,custodianPublishesTransaction:r.default.bool,rpcUrl:r.default.string,isMainBetaFlask:r.default.bool,displayAccountBalanceHeader:r.default.bool,tokenSymbol:r.default.string,updateTransaction:r.default.func,updateTransactionValue:r.default.func,setSwapsFeatureFlags:r.default.func,fetchSmartTransactionsLiveness:r.default.func,isUsingPaymaster:r.default.bool,isSigningOrSubmitting:r.default.bool,isUserOpContractDeployError:r.default.bool,useMaxValue:r.default.bool,maxValue:r.default.string,smartTransactionsOptInStatus:r.default.bool,currentChainSupportsSmartTransactions:r.default.bool,selectedNetworkClientId:r.default.string,hasPriorityApprovalRequest:r.default.bool,chainId:r.default.string})}}},{package:"$root$",file:"ui/pages/confirmations/confirm-transaction-base/confirm-transaction-base.component.js"}],[5656,{"../../../../app/scripts/lib/util":120,"../../../../shared/constants/gas":4500,"../../../../shared/lib/transactions-controller-utils":4531,"../../../../shared/modules/conversion.utils":4537,"../../../../shared/modules/hexstring-utils":4544,"../../../../shared/modules/selectors":4554,"../../../../shared/modules/transaction.utils":4560,"../../../ducks/app/app":5336,"../../../ducks/confirm-transaction/confirm-transaction.duck":5338,"../../../ducks/history/history":5343,"../../../ducks/metamask/metamask":5346,"../../../helpers/utils/token-util":5396,"../../../helpers/utils/transactions.util":5397,"../../../helpers/utils/util":5399,"../../../selectors":5987,"../../../selectors/account-abstraction":5980,"../../../store/actions":5998,"../send/send.utils":5722,"./confirm-transaction-base.component":5655,"@metamask/transaction-controller":2234,"@sentry/browser":2409,"react-redux":4199,"react-router-dom":4228,redux:4261},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.mapDispatchToProps=n.default=void 0;var a,r=e("react-redux"),o=e("redux"),s=e("react-router-dom"),i=e("@metamask/transaction-controller"),c=e("@sentry/browser"),l=e("../../../ducks/confirm-transaction/confirm-transaction.duck"),u=e("../../../store/actions"),d=e("../send/send.utils"),m=e("../../../helpers/utils/util"),p=e("../../../selectors"),f=e("../../../../shared/modules/selectors"),g=e("../../../ducks/history/history"),h=e("../../../ducks/metamask/metamask"),v=e("../../../../app/scripts/lib/util"),T=e("../../../../shared/modules/transaction.utils"),y=e("../../../../shared/modules/hexstring-utils"),b=e("../../../ducks/app/app"),_=e("../../../helpers/utils/transactions.util"),E=e("../../../../shared/constants/gas"),k=e("../../../selectors/account-abstraction"),x=e("../../../helpers/utils/token-util"),w=e("../../../../shared/lib/transactions-controller-utils"),C=e("../../../../shared/modules/conversion.utils"),A=(a=e("./confirm-transaction-base.component"))&&a.__esModule?a:{default:a};let S="";const P=e=>({tryReverseResolveAddress:t=>e((0,u.tryReverseResolveAddress)(t)),updateCustomNonce:t=>{S=t,e((0,u.updateCustomNonce)(t))},clearConfirmTransaction:()=>e((0,l.clearConfirmTransaction)()),showTransactionConfirmedModal:({onSubmit:t})=>e((0,u.showModal)({name:"TRANSACTION_CONFIRMED",onSubmit:t})),showRejectTransactionsConfirmationModal:({onSubmit:t,unapprovedTxCount:n})=>e((0,u.showModal)({name:"REJECT_TRANSACTIONS",onSubmit:t,unapprovedTxCount:n})),cancelTransaction:({id:t})=>e((0,u.cancelTx)({id:t})),cancelAllTransactions:t=>e((0,u.cancelTxs)(t)),sendTransaction:(t,n,a)=>e((0,u.updateAndApproveTx)((e=>S?{...e,customNonceValue:S}:e)(t),n,a)),updateTransaction:t=>{e((0,u.updateTransaction)(t,!0))},updateTransactionValue:(t,n)=>{e((0,u.updateEditableParams)(t,{value:n}))},setSwapsFeatureFlags:t=>{e((0,u.setSwapsFeatureFlags)(t))},fetchSmartTransactionsLiveness:()=>{e((0,u.fetchSmartTransactionsLiveness)())},getNextNonce:()=>e((0,u.getNextNonce)()),setDefaultHomeActiveTabName:t=>e((0,u.setDefaultHomeActiveTabName)(t)),updateTransactionGasFees:t=>{e((0,h.updateGasFees)({...t,expectHexWei:!0}))},addToAddressBookIfNew:(t,n,a="")=>{const r=(0,v.addHexPrefix)(t);(function(e,t){const n=t.toLowerCase();return!e.some((({address:e})=>e.toLowerCase()===n))})(n,r)&&e((0,u.addToAddressBook)(r,a))}});n.mapDispatchToProps=P;n.default=(0,o.compose)(s.withRouter,(0,r.connect)(((e,t)=>{var n,a,r;const{toAddress:o,customTxParamsData:s,match:{params:l={}}}=t,{id:u}=l,v=(0,p.getIsMainnet)(e),A=(0,p.getSelectedNetworkClientId)(e),P=(0,h.getIsGasEstimatesLoading)(e),N=(0,b.getGasLoadingAnimationIsShowing)(e),M=(0,p.getIsBuyableChain)(e),{confirmTransaction:O,metamask:R}=e,I=(0,h.getConversionRate)(e),{addressBook:D,nextNonce:F}=R,j=(0,p.getUnapprovedTransactions)(e),{chainId:L}=(0,h.getProviderConfig)(e),{tokenData:B,txData:G,tokenProps:$,nonce:W}=O,{txParams:U={},id:H,type:q}=G,V=H||u,z=(0,p.getUnapprovedTransaction)(e,V),{from:Y,to:K,gasPrice:X,gas:J,value:Q,data:Z}=z&&z.txParams||U,ee=(0,p.getMetaMaskAccounts)(e),te=(0,f.getSmartTransactionsOptInStatus)(e),ne=(0,f.getCurrentChainSupportsSmartTransactions)(e),ae=(0,T.parseStandardTokenTransactionData)(Z),re=(0,x.getTokenAddressParam)(ae);ee[Y]||(0,c.captureException)(new Error(`ConfirmTransactionBase: Unexpected state - No account found for sender address. chainId: ${L}. fromAddress?: ${Boolean(Y)}`));const{balance:oe}=ee[Y]||{balance:"0x0"},se=(0,p.getInternalAccountByAddress)(e,Y),ie=null==se?void 0:se.metadata.name,ce=(0,h.findKeyringForAddress)(e,Y),le=q===i.TransactionType.simpleSend||!(0,y.isEmptyHexString)(Q)?K:o||re||K,ue=(0,h.getSendToAccounts)(e),de=(0,p.getTokenList)(e),me=(null===(n=(0,p.getInternalAccountByAddress)(e,le))||void 0===n?void 0:n.metadata.name)||(null===(a=de[null==le?void 0:le.toLowerCase()])||void 0===a?void 0:a.name)||(0,m.shortenAddress)((0,y.toChecksumHexAddress)(le)),pe=(0,y.toChecksumHexAddress)(le),fe=D&&D[L]&&D[L][pe],ge=(0,p.getEnsResolutionByAddress)(e,pe),he=fe?fe.name:"",ve=z?z.status:"",Te=(0,p.checkNetworkAndAccountSupports1559)(e)&&!(0,_.isLegacyTransaction)(U),{hexTransactionAmount:ye,hexMaximumTransactionFee:be,hexMinimumTransactionFee:_e,gasEstimationObject:Ee}=(0,p.transactionFeeSelector)(e,z),ke=(null===(r=e.confirmTransaction.maxValueMode)||void 0===r?void 0:r[V])??!1,xe=(0,C.subtractHexes)(oe,be),we=ke?xe:ye,Ce=Object.keys(j).filter((e=>j[e].chainId===L)).reduce(((e,t)=>({...e,[t]:j[t]})),{}),Ae=(0,m.valuesFor)(Ce).length,Se=!(0,d.isBalanceSufficient)({hexTransactionAmount:we,gasTotal:(0,w.calcGasTotal)(J,X),balance:oe,conversionRate:I}),Pe=(0,p.getKnownMethodData)(e,Z)||{},Ne=(0,p.getFullTxData)(e,V,i.TransactionStatus.unapproved,s,we);S=(0,p.getCustomNonceValue)(e);const Me=(0,p.getIsEthGasPriceFetched)(e),Oe=!Te&&(0,p.getNoGasPriceFetched)(e),{useNativeCurrencyAsPrimaryCurrency:Re}=(0,p.getPreferences)(e),Ie=Ne.userFeeLevel===E.CUSTOM_GAS_ESTIMATE||(0,T.txParamsAreDappSuggested)(Ne),De=(0,h.isAddressLedger)(e,Y),Fe=(0,h.getNativeCurrency)(e),je=(0,p.doesAddressRequireLedgerHidConnection)(e,Y),Le=(0,k.getIsUsingPaymaster)(e);let Be=Boolean((0,p.getApprovedAndSignedTransactions)(e).length);const Ge=Ne.isUserOperation&&q===i.TransactionType.deployContract,$e=Boolean((0,p.getPrioritizedUnapprovedTemplatedConfirmations)(e).length);return{balance:oe,fromAddress:Y,fromName:ie,toAccounts:ue,toAddress:le,toEns:ge,toName:me,toNickname:he,hexTransactionAmount:we,hexMaximumTransactionFee:be,hexMinimumTransactionFee:_e,txData:Ne,tokenData:B,methodData:Pe,tokenProps:$,conversionRate:I,transactionStatus:ve,nonce:W,unapprovedTxs:j,unapprovedTxCount:Ae,customGas:{gasLimit:J,gasPrice:X},advancedInlineGasShown:(0,p.getAdvancedInlineGasShown)(e),useNonceField:(0,p.getUseNonceField)(e),customNonceValue:S,insufficientBalance:Se,hideFiatConversion:!(0,p.getShouldShowFiat)(e),type:q,nextNonce:F,mostRecentOverviewPage:(0,g.getMostRecentOverviewPage)(e),isMainnet:v,selectedNetworkClientId:A,isEthGasPriceFetched:Me,noGasPrice:Oe,supportsEIP1559:Te,gasIsLoading:P||N,useNativeCurrencyAsPrimaryCurrency:Re,maxFeePerGas:Ee.maxFeePerGas,maxPriorityFeePerGas:Ee.maxPriorityFeePerGas,baseFeePerGas:Ee.baseFeePerGas,gasFeeIsCustom:Ie,showLedgerSteps:De,nativeCurrency:Fe,hardwareWalletRequiresConnection:je,chainId:L,isBuyableChain:M,useCurrencyRateCheck:(0,p.getUseCurrencyRateCheck)(e),keyringForAccount:ce,fromInternalAccount:se,isUsingPaymaster:Le,isSigningOrSubmitting:Be,isUserOpContractDeployError:Ge,useMaxValue:ke,maxValue:xe,smartTransactionsOptInStatus:te,currentChainSupportsSmartTransactions:ne,hasPriorityApprovalRequest:$e}}),P,((e,t,n)=>{const{txData:a,unapprovedTxs:r}=e,{cancelAllTransactions:o,updateTransactionGasFees:s,...i}=t;let c=n.isMainBetaFlask||!1;return n.isMainBetaFlask===undefined&&(c=!0),{...e,...i,...n,cancelAllTransactions:()=>o((0,m.valuesFor)(r)),updateGasAndCalculate:({gasLimit:e,gasPrice:t})=>{s({gasLimit:e,gasPrice:t,transaction:a})},isMainBetaFlask:c}})))(A.default)}}},{package:"$root$",file:"ui/pages/confirmations/confirm-transaction-base/confirm-transaction-base.container.js"}],[5657,{"./confirm-transaction-base.container":5656},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./confirm-transaction-base.container"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/confirm-transaction-base/index.js"}],[5658,{"../../../../shared/constants/app":4493,"../../../components/ui/loading-screen":5256,"../../../helpers/constants/routes":5361,"@metamask/transaction-controller":2234,"prop-types":3997,react:4243,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r,o,s=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),i=p(e("prop-types")),c=e("react-router-dom"),l=e("@metamask/transaction-controller"),u=p(e("../../../components/ui/loading-screen")),d=e("../../../helpers/constants/routes"),m=e("../../../../shared/constants/app");function p(e){return e&&e.__esModule?e:{default:e}}function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}class g extends s.Component{redirectToTransaction(){const{txData:e}=this.props,{id:t,txParams:{data:n}={},type:a}=e;if(a===l.TransactionType.deployContract){const e=`${d.CONFIRM_TRANSACTION_ROUTE}/${t}${d.CONFIRM_DEPLOY_CONTRACT_PATH}`;return s.default.createElement(c.Redirect,{to:{pathname:e}})}if(a===l.TransactionType.simpleSend){const e=`${d.CONFIRM_TRANSACTION_ROUTE}/${t}${d.CONFIRM_SEND_ETHER_PATH}`;return s.default.createElement(c.Redirect,{to:{pathname:e}})}if(n)switch(a){case l.TransactionType.tokenMethodTransfer:{const e=`${d.CONFIRM_TRANSACTION_ROUTE}/${t}${d.CONFIRM_SEND_TOKEN_PATH}`;return s.default.createElement(c.Redirect,{to:{pathname:e}})}case l.TransactionType.tokenMethodApprove:{const e=`${d.CONFIRM_TRANSACTION_ROUTE}/${t}${d.CONFIRM_APPROVE_PATH}`;return s.default.createElement(c.Redirect,{to:{pathname:e}})}case l.TransactionType.tokenMethodSetApprovalForAll:{const e=`${d.CONFIRM_TRANSACTION_ROUTE}/${t}${d.CONFIRM_SET_APPROVAL_FOR_ALL_PATH}`;return s.default.createElement(c.Redirect,{to:{pathname:e}})}case l.TransactionType.tokenMethodTransferFrom:{const e=`${d.CONFIRM_TRANSACTION_ROUTE}/${t}${d.CONFIRM_TRANSFER_FROM_PATH}`;return s.default.createElement(c.Redirect,{to:{pathname:e}})}case l.TransactionType.tokenMethodSafeTransferFrom:{const e=`${d.CONFIRM_TRANSACTION_ROUTE}/${t}${d.CONFIRM_SAFE_TRANSFER_FROM_PATH}`;return s.default.createElement(c.Redirect,{to:{pathname:e}})}case l.TransactionType.tokenMethodIncreaseAllowance:{const e=`${d.CONFIRM_TRANSACTION_ROUTE}/${t}${d.CONFIRM_INCREASE_ALLOWANCE_PATH}`;return s.default.createElement(c.Redirect,{to:{pathname:e}})}default:{const e=`${d.CONFIRM_TRANSACTION_ROUTE}/${t}${d.CONFIRM_TOKEN_METHOD_PATH}`;return s.default.createElement(c.Redirect,{to:{pathname:e}})}}const r=`${d.CONFIRM_TRANSACTION_ROUTE}/${t}${d.CONFIRM_SEND_ETHER_PATH}`;return s.default.createElement(c.Redirect,{to:{pathname:r}})}render(){const{txData:e}=this.props;if(e.txParams)return this.redirectToTransaction();if(e.msgParams){let t=`${d.CONFIRM_TRANSACTION_ROUTE}/${e.id}${d.SIGNATURE_REQUEST_PATH}`;return e.type===m.MESSAGE_TYPE.ETH_DECRYPT?t=`${d.CONFIRM_TRANSACTION_ROUTE}/${e.id}${d.DECRYPT_MESSAGE_REQUEST_PATH}`:e.type===m.MESSAGE_TYPE.ETH_GET_ENCRYPTION_PUBLIC_KEY&&(t=`${d.CONFIRM_TRANSACTION_ROUTE}/${e.id}${d.ENCRYPTION_PUBLIC_KEY_REQUEST_PATH}`),s.default.createElement(c.Redirect,{to:{pathname:t}})}return s.default.createElement(u.default,null)}}n.default=g,a=g,r="propTypes",o={txData:i.default.object},(r=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(r))in a?Object.defineProperty(a,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):a[r]=o}}},{package:"$root$",file:"ui/pages/confirmations/confirm-transaction-switch/confirm-transaction-switch.component.js"}],[5659,{"../../../helpers/constants/routes":5361,"../../../selectors":5987,"./confirm-transaction-switch.component":5658,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=e("react-redux"),o=e("../../../selectors"),s=e("../../../helpers/constants/routes"),i=(a=e("./confirm-transaction-switch.component"))&&a.__esModule?a:{default:a};n.default=(0,r.connect)(((e,t)=>{const n=(0,o.getUnapprovedTransactions)(e),{match:{params:a={},url:r}}=t,i=`${s.CONFIRM_TRANSACTION_ROUTE}/`,c=r.includes(i)?r.split(i)[1]:null,{id:l}=a,u=l||c,d=(0,o.unconfirmedTransactionsListSelector)(e);return{txData:d.length?n[u]||d[0]:{}}}))(i.default)}}},{package:"$root$",file:"ui/pages/confirmations/confirm-transaction-switch/confirm-transaction-switch.container.js"}],[5660,{"./confirm-transaction-switch.container":5659},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=(a=e("./confirm-transaction-switch.container"))&&a.__esModule?a:{default:a};n.default=r.default}}},{package:"$root$",file:"ui/pages/confirmations/confirm-transaction-switch/index.js"}],[5661,{"../../../../shared/constants/transaction":4520,"../../../../shared/modules/conversion.utils":4537,"../../../ducks/confirm-transaction/confirm-transaction.duck":5338,"../../../ducks/send":5348,"../../../helpers/constants/routes":5361,"../../../selectors":5987,"../confirm-approve":5642,"../confirm-send-token":5651,"../confirm-token-transaction-base":5654,"../confirm-transaction-switch":5660,"../hooks/useAssetDetails":5692,"prop-types":3997,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=y;var a=T(e("react")),r=T(e("prop-types")),o=e("react-redux"),s=e("react-router-dom"),i=e("../../../../shared/modules/conversion.utils"),c=e("../../../helpers/constants/routes"),l=e("../../../selectors"),u=T(e("../confirm-approve")),d=T(e("../confirm-send-token")),m=T(e("../confirm-token-transaction-base")),p=T(e("../confirm-transaction-switch")),f=e("../../../ducks/send"),g=e("../../../../shared/constants/transaction"),h=e("../../../ducks/confirm-transaction/confirm-transaction.duck"),v=e("../hooks/useAssetDetails");function T(e){return e&&e.__esModule?e:{default:e}}function y({transaction:e}){const{txParams:{data:t,to:n,from:r}={},layer1GasFee:T}=e,y=(0,o.useDispatch)(),b=(0,s.useHistory)(),{assetStandard:_,assetName:E,userBalance:k,tokenSymbol:x,decimals:w,tokenImage:C,tokenAmount:A,tokenId:S,toAddress:P}=(0,v.useAssetDetails)(n,r,t),{ethTransactionTotal:N,fiatTransactionTotal:M,hexTransactionTotal:O,hexMaximumTransactionFee:R,hexMinimumTransactionFee:I}=(0,o.useSelector)((t=>(0,l.transactionFeeSelector)(t,e)));return a.default.createElement(s.Switch,null,a.default.createElement(s.Route,{exact:!0,path:`${c.CONFIRM_TRANSACTION_ROUTE}/:id?${c.CONFIRM_APPROVE_PATH}`,render:()=>a.default.createElement(u.default,{assetStandard:_,assetName:E,userBalance:k,tokenSymbol:x,decimals:w,tokenImage:C,tokenAmount:A,tokenId:S,userAddress:r,tokenAddress:n,toAddress:P,transaction:e,ethTransactionTotal:N,fiatTransactionTotal:M,hexTransactionTotal:O,hexMinimumTransactionFee:I})}),a.default.createElement(s.Route,{exact:!0,path:`${c.CONFIRM_TRANSACTION_ROUTE}/:id?${c.CONFIRM_SET_APPROVAL_FOR_ALL_PATH}`,render:()=>a.default.createElement(u.default,{isSetApproveForAll:!0,assetStandard:_,assetName:E,userBalance:k,tokenSymbol:x,decimals:w,tokenImage:C,tokenAmount:A,tokenId:S,userAddress:r,tokenAddress:n,toAddress:P,transaction:e,ethTransactionTotal:N,fiatTransactionTotal:M,hexTransactionTotal:O,hexMinimumTransactionFee:I})}),a.default.createElement(s.Route,{exact:!0,path:`${c.CONFIRM_TRANSACTION_ROUTE}/:id?${c.CONFIRM_TRANSFER_FROM_PATH}`,render:()=>a.default.createElement(m.default,{assetStandard:_,assetName:E,userBalance:k,tokenSymbol:x,decimals:w,image:C,tokenAddress:n,onEdit:async({txData:e})=>{const{id:t}=e;await y((0,f.editExistingTransaction)(g.AssetType.NFT,t.toString())),y((0,h.clearConfirmTransaction)()),b.push(c.SEND_ROUTE)},toAddress:P,tokenAmount:A,tokenId:S,userAddress:r,transaction:e,ethTransactionTotal:N,fiatTransactionTotal:M,hexMaximumTransactionFee:R})}),a.default.createElement(s.Route,{exact:!0,path:`${c.CONFIRM_TRANSACTION_ROUTE}/:id?${c.CONFIRM_SAFE_TRANSFER_FROM_PATH}`,render:()=>a.default.createElement(m.default,{assetStandard:_,assetName:E,userBalance:k,tokenSymbol:x,decimals:w,image:C,tokenAddress:n,toAddress:P,tokenAmount:A,tokenId:S,userAddress:r,transaction:e,ethTransactionTotal:N,fiatTransactionTotal:M,hexMaximumTransactionFee:R})}),a.default.createElement(s.Route,{exact:!0,path:`${c.CONFIRM_TRANSACTION_ROUTE}/:id?${c.CONFIRM_SEND_TOKEN_PATH}`,render:()=>a.default.createElement(d.default,{assetStandard:_,assetName:E,tokenSymbol:x,image:C,tokenAddress:n,toAddress:P,tokenAmount:A,tokenId:S,transaction:e,ethTransactionTotal:N,fiatTransactionTotal:M,hexMaximumTransactionFee:(0,i.sumHexes)(R,T??0)})}),a.default.createElement(s.Route,{exact:!0,path:`${c.CONFIRM_TRANSACTION_ROUTE}/:id?${c.CONFIRM_INCREASE_ALLOWANCE_PATH}`,render:()=>a.default.createElement(u.default,{assetStandard:_,assetName:E,userBalance:k,tokenSymbol:x,decimals:w,tokenImage:C,tokenAmount:A,tokenId:S,userAddress:r,tokenAddress:n,toAddress:P,transaction:e,ethTransactionTotal:N,fiatTransactionTotal:M,hexTransactionTotal:O,hexMinimumTransactionFee:I})}),a.default.createElement(s.Route,{path:"*",component:p.default}))}y.propTypes={transaction:r.default.shape({origin:r.default.string,txParams:r.default.shape({data:r.default.string,to:r.default.string,from:r.default.string}),layer1GasFee:r.default.number})}}}},{package:"$root$",file:"ui/pages/confirmations/confirm-transaction/confirm-token-transaction-switch.js"}],[5662,{"../../../../shared/constants/app":4493,"../../../components/ui/loading-screen":5256,"../../../ducks/confirm-transaction/confirm-transaction.duck":5338,"../../../ducks/history/history":5343,"../../../ducks/send":5348,"../../../helpers/constants/routes":5361,"../../../helpers/utils/transactions.util":5397,"../../../hooks/usePolling":5435,"../../../hooks/usePrevious":5436,"../../../selectors":5987,"../../../store/actions":5998,"../../confirm-decrypt-message":5467,"../../confirm-encryption-public-key":5470,"../confirm-contract-interaction":5644,"../confirm-deploy-contract":5647,"../confirm-send-ether":5649,"../confirm-signature-request":5652,"../confirm-transaction-switch":5660,"../confirm/confirm":5664,"../hooks/useCurrentConfirmation":5698,"./confirm-token-transaction-switch":5661,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=S(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=e("react-redux"),o=e("react-router-dom"),s=e("../../../../shared/constants/app"),i=A(e("../../../components/ui/loading-screen")),c=e("../../../ducks/confirm-transaction/confirm-transaction.duck"),l=e("../../../ducks/history/history"),u=e("../../../ducks/send"),d=e("../../../helpers/constants/routes"),m=e("../../../helpers/utils/transactions.util"),p=A(e("../../../hooks/usePolling")),f=e("../../../hooks/usePrevious"),g=e("../../../selectors"),h=e("../../../store/actions"),v=A(e("../../confirm-decrypt-message")),T=A(e("../../confirm-encryption-public-key")),y=A(e("../confirm-contract-interaction")),b=A(e("../confirm-deploy-contract")),_=A(e("../confirm-send-ether")),E=A(e("../confirm-signature-request")),k=A(e("../confirm-transaction-switch")),x=A(e("../confirm/confirm")),w=A(e("../hooks/useCurrentConfirmation")),C=A(e("./confirm-token-transaction-switch"));function A(e){return e&&e.__esModule?e:{default:e}}function S(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(S=function(e){return e?n:t})(e)}n.default=()=>{const e=(0,r.useDispatch)(),t=(0,o.useHistory)(),{id:n}=(0,o.useParams)(),A=(0,r.useSelector)(l.getMostRecentOverviewPage),S=(0,r.useSelector)(u.getSendTo),P=(0,r.useSelector)(g.unconfirmedTransactionsListSelector),N=(0,r.useSelector)(g.unconfirmedTransactionsHashSelector),M=(0,r.useSelector)(g.getSelectedNetworkClientId),O=P.length||0,R=(0,a.useCallback)((()=>O?N[n]||P[0]:{}),[n,O,N,P]),[I,D]=(0,a.useState)(R),F=(0,r.useSelector)(g.use4ByteResolutionSelector),{currentConfirmation:j}=(0,w.default)();(0,a.useEffect)((()=>{const t=R();D(t),null!=t&&t.id&&e((0,c.setTransactionToConfirm)(t.id))}),[e,R,n,O,N,P]);const{id:L,type:B}=I,G=L,$=(0,m.isTokenMethodAction)(B),W=G&&(!n||n===G),U=(0,f.usePrevious)(n),H=(0,f.usePrevious)(G);return(0,p.default)({startPollingByNetworkClientId:h.gasFeeStartPollingByNetworkClientId,stopPollingByPollingToken:h.gasFeeStopPollingByPollingToken,networkClientId:I.networkClientId??M}),(0,a.useEffect)((()=>{if(O||S){const{txParams:{data:t}={},origin:a}=I;a!==s.ORIGIN_METAMASK&&e((0,h.getContractMethodData)(t,F));const r=G||n;r&&e((0,c.setTransactionToConfirm)(r))}else t.replace(A)}),[]),(0,a.useEffect)((()=>{if(n&&G&&U!==n){const{txData:{txParams:{data:t}={},origin:a}={}}=I;e((0,c.clearConfirmTransaction)()),e((0,c.setTransactionToConfirm)(n)),a!==s.ORIGIN_METAMASK&&e((0,h.getContractMethodData)(t,F))}else!H||G||O?H&&G&&H!==G&&n!==G&&t.replace(A):e((0,h.setDefaultHomeActiveTabName)("activity")).then((()=>{t.replace(d.DEFAULT_ROUTE)}))}),[e,t,A,n,U,H,O,I,G,F]),j?a.default.createElement(x.default,null):$&&W?a.default.createElement(C.default,{transaction:I}):W?a.default.createElement(o.Switch,null,a.default.createElement(o.Route,{exact:!0,path:`${d.CONFIRM_TRANSACTION_ROUTE}/:id?${d.CONFIRM_DEPLOY_CONTRACT_PATH}`,component:b.default}),a.default.createElement(o.Route,{exact:!0,path:`${d.CONFIRM_TRANSACTION_ROUTE}/:id?${d.CONFIRM_SEND_ETHER_PATH}`,component:_.default}),a.default.createElement(o.Route,{exact:!0,path:`${d.CONFIRM_TRANSACTION_ROUTE}/:id?${d.CONFIRM_TOKEN_METHOD_PATH}`,component:y.default}),a.default.createElement(o.Route,{exact:!0,path:`${d.CONFIRM_TRANSACTION_ROUTE}/:id?${d.SIGNATURE_REQUEST_PATH}`,component:E.default}),a.default.createElement(o.Route,{exact:!0,path:`${d.CONFIRM_TRANSACTION_ROUTE}/:id?${d.DECRYPT_MESSAGE_REQUEST_PATH}`,component:v.default}),a.default.createElement(o.Route,{exact:!0,path:`${d.CONFIRM_TRANSACTION_ROUTE}/:id?${d.ENCRYPTION_PUBLIC_KEY_REQUEST_PATH}`,component:T.default}),a.default.createElement(o.Route,{path:"*",component:k.default})):a.default.createElement(i.default,null)}}}},{package:"$root$",file:"ui/pages/confirmations/confirm-transaction/confirm-transaction.component.js"}],[5663,{"./confirm-transaction.component":5662},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=(a=e("./confirm-transaction.component"))&&a.__esModule?a:{default:a};n.default=r.default}}},{package:"$root$",file:"ui/pages/confirmations/confirm-transaction/index.js"}],[5664,{"../../../components/app/alert-system/contexts/alertActionHandler":4573,"../../../components/multichain/pages/page":5152,"../components/confirm/blockaid-loading-indicator":5517,"../components/confirm/footer":5519,"../components/confirm/header":5522,"../components/confirm/info":5525,"../components/confirm/ledger-info":5531,"../components/confirm/nav":5533,"../components/confirm/scroll-to-bottom":5538,"../components/confirm/title":5540,"../hooks/setConfirmationAlerts":5688,"../hooks/setCurrentConfirmation":5689,"../hooks/syncConfirmPath":5690,"../hooks/useConfirmationAlertActions":5694,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=T(e("react")),r=e("../../../components/app/alert-system/contexts/alertActionHandler"),o=e("../components/confirm/blockaid-loading-indicator"),s=T(e("../components/confirm/scroll-to-bottom")),i=e("../components/confirm/footer"),c=e("../components/confirm/header"),l=e("../components/confirm/info"),u=e("../components/confirm/nav"),d=e("../components/confirm/title"),m=e("../../../components/multichain/pages/page"),p=T(e("../hooks/setCurrentConfirmation")),f=T(e("../hooks/syncConfirmPath")),g=e("../components/confirm/ledger-info"),h=T(e("../hooks/setConfirmationAlerts")),v=T(e("../hooks/useConfirmationAlertActions"));function T(e){return e&&e.__esModule?e:{default:e}}n.default=()=>{(0,p.default)(),(0,f.default)(),(0,h.default)();const e=(0,v.default)();return a.default.createElement(r.AlertActionHandlerProvider,{onProcessAction:e},a.default.createElement(m.Page,{className:"confirm_wrapper"},a.default.createElement(u.Nav,null),a.default.createElement(c.Header,null),a.default.createElement(s.default,null,a.default.createElement(o.BlockaidLoadingIndicator,null),a.default.createElement(g.LedgerInfo,null),a.default.createElement(d.Title,null),a.default.createElement(l.Info,null)),a.default.createElement(i.Footer,null)))}}}},{package:"$root$",file:"ui/pages/confirmations/confirm/confirm.tsx"}],[5666,{"../../../../../components/ui/button":5198,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=c;var a=i(e("react")),r=i(e("prop-types")),o=i(e("classnames")),s=i(e("../../../../../components/ui/button"));function i(e){return e&&e.__esModule?e:{default:e}}function c({onSubmit:e,onCancel:t,submitText:n,cancelText:r,loadingText:i,alerts:c,loading:l,submitAlerts:u,actionsStyle:d,style:m}){const p=Boolean(t||e);return a.default.createElement("div",{className:"confirmation-footer",style:m},c,u,p&&a.default.createElement("div",{className:"confirmation-footer__actions",style:d},t?a.default.createElement(s.default,{"data-testid":"confirmation-cancel-button",type:"secondary",onClick:t},r):null,e&&n?a.default.createElement(s.default,{"data-testid":"confirmation-submit-button",disabled:Boolean(l),type:"primary",onClick:e,className:(0,o.default)({centered:!t})},l?i:n):null))}c.propTypes={alerts:r.default.node,onCancel:r.default.func,cancelText:r.default.string,onSubmit:r.default.func.isRequired,submitText:r.default.string.isRequired,loadingText:r.default.string,loading:r.default.bool,submitAlerts:r.default.node,style:r.default.object,actionsStyle:r.default.object}}}},{package:"$root$",file:"ui/pages/confirmations/confirmation/components/confirmation-footer/confirmation-footer.js"}],[5667,{"./confirmation-footer":5666},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./confirmation-footer"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/confirmation/components/confirmation-footer/index.js"}],[5668,{"../../../../../../shared/constants/network":4507,"../../../../../components/component-library":4955,"../../../../../helpers/constants/design-system":5355,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=u;var a=c(e("react")),r=c(e("prop-types")),o=e("../../../../../components/component-library"),s=e("../../../../../helpers/constants/design-system"),i=e("../../../../../../shared/constants/network");function c(e){return e&&e.__esModule?e:{default:e}}const l=e=>({...e,nickname:e.nickname??i.NETWORK_TO_NAME_MAP[e.chainId],iconUrl:e.iconUrl??i.CHAIN_ID_TO_NETWORK_IMAGE_URL_MAP[e.chainId]});function u({toNetwork:e,fromNetwork:t}){const n=l(t),r=l(e);return a.default.createElement(o.Box,{className:"confirmation-network-switch",display:s.Display.Flex,height:s.BlockSize.Full,justifyContent:s.JustifyContent.center,marginTop:8},a.default.createElement(o.Box,{className:"confirmation-network-switch__icon",display:s.Display.Block},a.default.createElement(o.AvatarNetwork,{src:n.iconUrl,name:n.nickname,size:o.AvatarNetworkSize.Xl,marginBottom:2}),a.default.createElement(o.Text,{display:s.Display.Flex,justifyContent:s.JustifyContent.center,"data-testid":"network-switch-from-network"},n.nickname)),a.default.createElement(o.Box,{className:"confirmation-network-switch__center-icon",display:s.Display.Flex,alignItems:s.AlignItems.center,justifyContent:s.JustifyContent.center},a.default.createElement("i",{className:"fa fa-angle-right fa-lg confirmation-network-switch__check"}),a.default.createElement("div",{className:"confirmation-network-switch__dashed-line"})),a.default.createElement(o.Box,{className:"confirmation-network-switch__icon",display:s.Display.Block},a.default.createElement(o.AvatarNetwork,{src:r.iconUrl,name:r.nickname,size:o.AvatarNetworkSize.Xl,marginBottom:2}),a.default.createElement(o.Text,{display:s.Display.Flex,justifyContent:s.JustifyContent.center,"data-testid":"network-switch-to-network"},r.nickname)))}u.propTypes={toNetwork:r.default.shape({chainId:r.default.string.isRequired,nickname:r.default.string.isRequired,type:r.default.string}),fromNetwork:r.default.shape({chainId:r.default.string.isRequired,nickname:r.default.string.isRequired,type:r.default.string})}}}},{package:"$root$",file:"ui/pages/confirmations/confirmation/components/confirmation-network-switch/confirmation-network-switch.js"}],[5669,{"./confirmation-network-switch":5668},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./confirmation-network-switch"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/confirmation/components/confirmation-network-switch/index.js"}],[5670,{"../../../../shared/constants/app":4493,"../../../../shared/constants/metametrics":4505,"../../../../shared/constants/time":4518,"../../../../shared/lib/fetch-with-cache":4525,"../../../components/app/metamask-template-renderer":4653,"../../../components/app/network-display/network-display":4715,"../../../components/app/snaps/snap-authorship-header":4770,"../../../components/app/snaps/snap-ui-renderer":4831,"../../../components/component-library":4955,"../../../components/ui/box":5194,"../../../components/ui/callout":5200,"../../../components/ui/loading-screen":5256,"../../../contexts/metametrics":5327,"../../../helpers/constants/routes":5361,"../../../hooks/useI18nContext":5427,"../../../selectors":5987,"../components/confirmation-warning-modal":5544,"./components/confirmation-footer":5667,"./templates":5675,"@metamask/controller-utils":1163,immer:3640,lodash:3836,loglevel:3842,"prop-types":3997,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=R;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=M(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=N(e("prop-types")),o=e("react-redux"),s=e("react-router-dom"),i=e("lodash"),c=e("immer"),l=N(e("loglevel")),u=e("@metamask/controller-utils"),d=N(e("../../../../shared/lib/fetch-with-cache")),m=N(e("../../../components/ui/box")),p=e("../../../../shared/constants/metametrics"),f=N(e("../../../components/app/metamask-template-renderer")),g=N(e("../components/confirmation-warning-modal")),h=e("../../../helpers/constants/routes"),v=e("../../../hooks/useI18nContext"),T=e("../../../contexts/metametrics"),y=e("../../../selectors"),b=N(e("../../../components/app/network-display/network-display")),_=N(e("../../../components/ui/callout")),E=e("../../../components/component-library"),k=N(e("../../../components/ui/loading-screen")),x=N(e("../../../components/app/snaps/snap-authorship-header")),w=e("../../../components/app/snaps/snap-ui-renderer"),C=e("../../../../shared/constants/app"),A=e("../../../../shared/constants/time"),S=N(e("./components/confirmation-footer")),P=e("./templates");function N(e){return e&&e.__esModule?e:{default:e}}function M(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(M=function(e){return e?n:t})(e)}const O=(0,c.produce)(((e,t)=>{var n;switch(t.type){case"dismiss":null!=e&&null!==(n=e[t.confirmationId])&&void 0!==n&&n[t.alertId]&&(e[t.confirmationId][t.alertId].dismissed=!0);break;case"set":e[t.confirmationId]||(e[t.confirmationId]={}),t.alerts.forEach((n=>{e[t.confirmationId][n.id]={...n,dismissed:!1}}));break;default:throw new Error("You must provide a type when dispatching an action for alertState")}}));function R({redirectToHomeOnZeroConfirmations:e=!0}){var t;const n=(0,v.useI18nContext)(),r=(0,a.useContext)(T.MetaMetricsContext),c=(0,o.useDispatch)(),N=(0,s.useHistory)(),M=(0,o.useSelector)(y.getMemoizedUnapprovedTemplatedConfirmations),R=(0,o.useSelector)(y.getUnapprovedTxCount),I=(0,o.useSelector)(y.getApprovalFlows,i.isEqual),D=(0,o.useSelector)(y.getTotalUnapprovedCount),F=(0,o.useSelector)(y.useSafeChainsListValidationSelector),[j,L]=(0,a.useState)(null),[B,G]=(0,a.useState)(0),{id:$}=(0,s.useParams)(),W=M.find((e=>e.id===$))??M[B],[U,H]=(0,a.useState)({}),[q,V]=(0,a.useState)(!1),z=(null==W?void 0:W.type)===u.ApprovalType.AddEthereumChain&&!q,[Y,K]=(0,a.useState)(null),[X,J]=(0,a.useState)(null),[Q,Z]=function(e,{unapprovedTxsCount:t,useSafeChainsListValidation:n,matchedChain:r,providerError:o,preventAlertsForAddChainValidation:s=!1}={}){const[i,c]=(0,a.useReducer)(O,{});return(0,a.useEffect)((()=>{let a=!0;return e&&!s&&(0,P.getTemplateAlerts)(e,{unapprovedTxsCount:t,useSafeChainsListValidation:n,matchedChain:r,providerError:o}).then((t=>{a&&t.length>0&&c({type:"set",confirmationId:e.id,alerts:t})})),()=>{a=!1}}),[e,t,n,r,o,s]),[i,(0,a.useCallback)((t=>{c({type:"dismiss",confirmationId:e.id,alertId:t})}),[e])]}(W,{unapprovedTxsCount:R,useSafeChainsListValidation:F,matchedChain:U,providerError:X,preventAlertsForAddChainValidation:z}),[ee]=function(e){const[t,n]=(0,a.useState)({});return(0,a.useEffect)((()=>{let t=!0;return e&&(0,P.getTemplateState)(e).then((a=>{t&&Object.values(a).length>0&&n((t=>({...t,[e.id]:a})))})),()=>{t=!1}}),[e]),[t]}(W),[te,ne]=(0,a.useState)(!1),[ae,re]=(0,a.useState)({}),[oe,se]=(0,a.useState)(!1),[ie,ce]=(0,a.useState)(),[le,ue]=(0,a.useState)([]),de=null===(t=(0,o.useSelector)(y.getSnapsMetadata)[null==W?void 0:W.origin])||void 0===t?void 0:t.name,me=[u.ApprovalType.SnapDialogAlert,u.ApprovalType.SnapDialogConfirmation,u.ApprovalType.SnapDialogPrompt],pe=[u.ApprovalType.SnapDialogAlert,u.ApprovalType.SnapDialogConfirmation,u.ApprovalType.SnapDialogPrompt];me.push(...Object.values(C.SNAP_MANAGE_ACCOUNTS_CONFIRMATION_TYPES));const fe=me.includes(null==W?void 0:W.type),ge=pe.includes(null==W?void 0:W.type),he=(null==W?void 0:W.type)===u.ApprovalType.SnapDialogPrompt;let ve=fe;const Te=fe&&de,ye=[u.ApprovalType.SnapDialogPrompt];Object.values(C.SNAP_MANAGE_ACCOUNTS_CONFIRMATION_TYPES).includes(null==W?void 0:W.type)&&(ve=!1);const be=(0,a.useMemo)((()=>W?(0,P.getTemplateValues)({snapName:fe&&Te,...W},n,c,N,{matchedChain:U,currencySymbolWarning:Y},{t:n,trackEvent:r}):{}),[W,n,c,N,U,Y,r,fe,Te]);if((0,a.useEffect)((()=>{be.onLoad&&be.onLoad()}),[be]),(0,a.useEffect)((()=>{0!==M.length||0!==I.length&&0===D||!e?M.length&&M.length<=B&&G(M.length-1):N.push(h.DEFAULT_ROUTE)}),[M,I,D,N,B,e]),(0,a.useEffect)((()=>{const e=I[I.length-1];L((null==e?void 0:e.loadingText)??null)}),[I]),(0,a.useEffect)((()=>{(null==W?void 0:W.type)===u.ApprovalType.AddEthereumChain&&async function(e){try{if(F){var t,a;const o=(await(0,d.default)({url:"https://chainid.network/chains.json",cacheOptions:{cacheRefreshTime:A.DAY},functionName:"getSafeChainsList"})).find((t=>t.chainId===parseInt(e.requestData.chainId,16)));var r;H(o),V(!0),J(null),(null==o||null===(t=o.nativeCurrency)||void 0===t||null===(t=t.symbol)||void 0===t?void 0:t.toLowerCase())===(null===(a=e.requestData.ticker)||void 0===a?void 0:a.toLowerCase())?K(null):K(n("chainListReturnedDifferentTickerSymbol",[null==o||null===(r=o.nativeCurrency)||void 0===r?void 0:r.symbol]))}}catch(e){l.default.warn("Failed to fetch the chainList from chainid.network",e),J(e),H(null),K(null),V(!0)}}(W)}),[W,n,F,V]),!W)return I.length>0?a.default.createElement(k.default,{loadingMessage:j}):null;const _e=e=>{(null==e?void 0:e.length)>0?(ce(be.submitText),ue(e),se(!0)):se(!1)};return a.default.createElement("div",{className:"confirmation-page"},M.length>1&&a.default.createElement("div",{className:"confirmation-page__navigation"},a.default.createElement("p",null,n("xOfYPending",[B+1,M.length])),B>0&&a.default.createElement("button",{className:"confirmation-page__navigation-button",onClick:()=>G(B-1)},a.default.createElement(E.Icon,{name:E.IconName.ArrowLeft})),a.default.createElement("button",{className:"confirmation-page__navigation-button",disabled:B+1===M.length,onClick:()=>G(B+1)},a.default.createElement(E.Icon,{name:E.IconName.ArrowRight}))),a.default.createElement("div",{className:"confirmation-page__content"},be.networkDisplay?a.default.createElement(m.default,{justifyContent:"center",marginTop:2},a.default.createElement(b.default,null)):null,ve&&a.default.createElement(x.default,{snapId:null==W?void 0:W.origin}),ge?a.default.createElement(m.default,{marginRight:4,marginLeft:4,marginTop:4,key:"snap-dialog-content-wrapper"},a.default.createElement(w.SnapUIRenderer,{snapId:null==W?void 0:W.origin,interfaceId:null==W?void 0:W.requestData.id,isPrompt:he,inputValue:he&&ae[null==W?void 0:W.type],onInputChange:he&&(e=>{return t=null==W?void 0:W.type,n=e.target.value??"",void re((e=>({...e,[t]:n})));var t,n}),placeholder:he&&(null==W?void 0:W.requestData.placeholder)})):a.default.createElement(f.default,{sections:be.content}),te&&a.default.createElement(g.default,{onSubmit:async()=>{const e=await be.onSubmit();await _e(e),ne(!1)},onCancel:be.onCancel})),a.default.createElement(S.default,{alerts:Q[W.id]&&Object.values(Q[W.id]).filter((e=>!1===e.dismissed)).map(((e,t,n)=>a.default.createElement(_.default,{key:e.id,severity:e.severity,dismiss:()=>Z(e.id),isFirst:0===t,isLast:t===n.length-1,isMultiple:n.length>1},a.default.createElement(f.default,{sections:e.content})))),style:fe?{boxShadow:"var(--shadow-size-lg) var(--color-shadow-default)"}:{},actionsStyle:fe?{borderTop:0}:{},onSubmit:!be.hideSubmitButton&&(async()=>{var e,t,n,a;if(se(!0),null!=W&&null!==(e=W.requestData)&&void 0!==e&&null!==(e=e.fromNetworkConfiguration)&&void 0!==e&&e.chainId&&null!=W&&null!==(t=W.requestData)&&void 0!==t&&null!==(t=t.toNetworkConfiguration)&&void 0!==t&&t.chainId&&r({category:p.MetaMetricsEventCategory.Network,event:p.MetaMetricsEventName.NavNetworkSwitched,properties:{location:"Switch Modal",from_network:W.requestData.fromNetworkConfiguration.chainId,to_network:W.requestData.toNetworkConfiguration.chainId,referrer:{url:window.location.origin}}}),null!==(n=ee[W.id])&&void 0!==n&&n.useWarningModal)ne(!0);else{const e=(a=W.type,ye.includes(a)?(e=>ae[e]??"")(W.type):null),t=await be.onSubmit(e);_e(t)}}),onCancel:be.onCancel,submitText:be.submitText,cancelText:be.cancelText,loadingText:ie||be.loadingText,loading:oe,submitAlerts:le.map(((e,t)=>a.default.createElement(_.default,{key:e.id,severity:e.severity,isFirst:0===t},a.default.createElement(f.default,{sections:e.content}))))}))}R.propTypes={redirectToHomeOnZeroConfirmations:r.default.bool}}}},{package:"$root$",file:"ui/pages/confirmations/confirmation/confirmation.js"}],[5671,{"./confirmation":5670},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./confirmation"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/confirmation/index.js"}],[5685,{"../../../../shared/constants/network":4507},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.IGNORE_GAS_LIMIT_CHAIN_IDS=n.EIP712_PRIMARY_TYPE_PERMIT=void 0;var a=e("../../../../shared/constants/network");n.EIP712_PRIMARY_TYPE_PERMIT="Permit",n.IGNORE_GAS_LIMIT_CHAIN_IDS=[a.CHAINLIST_CHAIN_IDS_MAP.MANTLE]}}},{package:"$root$",file:"ui/pages/confirmations/constants/hybrid-compute-sdk.ts"}],[5686,{"../../../../../shared/constants/network":4507,"../../../../../shared/constants/security-provider":4513,"../../../../helpers/constants/zendesk-url":5368,"../../../../hooks/useI18nContext":5427,"../../../../selectors":5987,"../../utils":5725,"../useCurrentConfirmation":5698,"./utils":5687,"@blockaid/ppom_release/package.json":291,react:4243,"react-redux":4199,zlib:3022},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=e("react"),r=e("react-redux"),o=f(e("@blockaid/ppom_release/package.json")),s=e("../../../../../shared/constants/security-provider"),i=f(e("../../../../helpers/constants/zendesk-url")),c=e("../../../../../shared/constants/network"),l=e("../../../../selectors"),u=e("../../../../hooks/useI18nContext"),d=e("../../utils"),m=f(e("../useCurrentConfirmation")),p=e("./utils");function f(e){return e&&e.__esModule?e:{default:e}}const g=e("zlib");n.default=()=>{const{currentConfirmation:e}=(0,m.default)(),t=(0,u.useI18nContext)(),n=null==e?void 0:e.securityAlertResponse,f=(0,r.useSelector)(l.getCurrentChainId),h=(0,r.useSelector)((e=>{var t;return null===(t=e.metamask.signatureSecurityAlertResponses)||void 0===t?void 0:t[null==n?void 0:n.securityAlertId]}));let v;if(h&&e){const{block:t,features:n,reason:a,result_type:r}=h,{chainId:i,msgParams:l,origin:u,type:d,txParams:m}=e,p=r===s.BlockaidResultType.Errored,g={blockNumber:t,blockaidVersion:o.default.version,chain:c.NETWORK_TO_NAME_MAP[i??f],classification:p?"error":a,domain:u??(null==l?void 0:l.origin)??(null==m?void 0:m.origin),jsonRpcMethod:d,jsonRpcParams:JSON.stringify(m??l),resultType:p?s.BlockaidResultType.Errored:r,reproduce:JSON.stringify(n)};v=JSON.stringify(g)}return(0,a.useMemo)((()=>{if(!(0,d.isSignatureTransactionType)(e))return[];if(!h||[s.BlockaidResultType.Benign,s.BlockaidResultType.Loading].includes(null==h?void 0:h.result_type))return[];let n=i.default.SUPPORT_URL;if(v){var a;const e=(null==g||null===(a=g.gzipSync)||void 0===a?void 0:a.call(g,v))??v;n=`${s.FALSE_POSITIVE_REPORT_BASE_URL}?data=${encodeURIComponent(e.toString("base64"))}&utm_source=${s.SECURITY_PROVIDER_UTM_SOURCE}`}return[(0,p.normalizeProviderAlert)(h,t,n)]}),[e,h])}}}},{package:"$root$",file:"ui/pages/confirmations/hooks/alerts/useBlockaidAlert.ts"}],[5687,{"../../../../../shared/constants/security-provider":4513,"../../../../helpers/constants/design-system":5355,"../../components/security-provider-banner-alert/blockaid-banner-alert/blockaid-banner-alert":5580},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.getProviderAlertSeverity=s,n.normalizeProviderAlert=function(e,t,n){return{key:e.securityAlertId||"",reason:t(o.REASON_TO_TITLE_TKEY[e.reason]||"blockaidTitleDeceptive"),severity:s(e.result_type),alertDetails:e.features,message:t(o.REASON_TO_DESCRIPTION_TKEY[e.reason]||o.REASON_TO_DESCRIPTION_TKEY.other),provider:a.SecurityProvider.Blockaid,reportUrl:n}};var a=e("../../../../../shared/constants/security-provider"),r=e("../../../../helpers/constants/design-system"),o=e("../../components/security-provider-banner-alert/blockaid-banner-alert/blockaid-banner-alert");function s(e){switch(e){case a.BlockaidResultType.Malicious:return r.Severity.Danger;case a.BlockaidResultType.Warning:return r.Severity.Warning;default:return r.Severity.Info}}}}},{package:"$root$",file:"ui/pages/confirmations/hooks/alerts/utils.ts"}],[5688,{"../../../ducks/confirm-alerts/confirm-alerts":5337,"../../../selectors":5987,"./useConfirmationAlerts":5695,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=e("react"),o=e("react-redux"),s=e("../../../ducks/confirm-alerts/confirm-alerts"),i=e("../../../selectors"),c=(a=e("./useConfirmationAlerts"))&&a.__esModule?a:{default:a};n.default=()=>{const e=(0,o.useDispatch)(),t=(0,o.useSelector)(i.currentConfirmationSelector),n=(0,c.default)(),a=null==t?void 0:t.id;(0,r.useEffect)((()=>{e((0,s.updateAlerts)(a,n))}),[n,a]),(0,r.useEffect)((()=>()=>{e((0,s.clearAlerts)(a))}),[])}}}},{package:"$root$",file:"ui/pages/confirmations/hooks/setConfirmationAlerts.ts"}],[5689,{"../../../ducks/confirm/confirm":5339,"./useCurrentConfirmation":5698,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=e("react"),o=e("react-redux"),s=e("../../../ducks/confirm/confirm"),i=(a=e("./useCurrentConfirmation"))&&a.__esModule?a:{default:a};n.default=()=>{const e=(0,o.useDispatch)(),{currentConfirmation:t}=(0,i.default)();(0,r.useEffect)((()=>{t&&e((0,s.updateCurrentConfirmation)(t))}),[t]),(0,r.useEffect)((()=>()=>{e((0,s.updateCurrentConfirmation)(undefined))}),[])}}}},{package:"$root$",file:"ui/pages/confirmations/hooks/setCurrentConfirmation.ts"}],[5690,{"../../../helpers/constants/routes":5361,"../selectors/confirm":5716,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=e("react"),r=e("react-redux"),o=e("react-router-dom"),s=e("../../../helpers/constants/routes"),i=e("../selectors/confirm");n.default=()=>{const e=(0,o.useHistory)(),{id:t}=(0,o.useParams)(),n=(0,r.useSelector)(i.currentConfirmationSelector);(0,a.useEffect)((()=>{n&&(t||e.replace(`${s.CONFIRM_TRANSACTION_ROUTE}/${n.id}`))}),[n,t])}}}},{package:"$root$",file:"ui/pages/confirmations/hooks/syncConfirmPath.ts"}],[5691,{react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useApproveTransaction=function(){const[e,t]=(0,a.useState)(!1);return{approveTransaction:(0,a.useCallback)((()=>t(!0)),[]),showCustomizeGasPopover:e,closeCustomizeGasPopover:()=>t(!1)}};var a=e("react")}}},{package:"$root$",file:"ui/pages/confirmations/hooks/useApproveTransaction.js"}],[5692,{"../../../../shared/modules/string-utils":4558,"../../../ducks/metamask/metamask":5346,"../../../helpers/utils/token-util":5396,"../../../hooks/usePrevious":5436,"../../../hooks/useTokenTracker":5447,"../../../store/actions":5998,lodash:3836,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useAssetDetails=function(e,t,n){const m=(0,o.useDispatch)(),p=(0,o.useSelector)(s.getNfts),f=(0,o.useSelector)(s.getTokens,a.isEqual).find((t=>(0,l.isEqualCaseInsensitive)(t.address,e))),[g,h]=(0,r.useState)(null),{tokensWithBalances:v}=(0,d.useTokenTracker)({tokens:f?[f]:[]}),T=(0,u.usePrevious)(e),y=(0,u.usePrevious)(t),b=(0,u.usePrevious)(n),_=(0,u.usePrevious)(v);if((0,r.useEffect)((()=>{(e!==T||t!==y||n!==b||_&&_!==v)&&async function(){m((0,c.showLoadingIndication)());const a=await(0,i.getAssetDetails)(e,t,n,p);h(a),m((0,c.hideLoadingIndication)())}()}),[m,T,b,y,e,t,n,p,v,_]),g){const{standard:t,symbol:n,image:a,name:r,balance:o,tokenId:s,toAddress:i,tokenAmount:c,decimals:l}=g;return{toAddress:i,tokenId:s,decimals:l,tokenAmount:c,assetAddress:e,assetStandard:t,tokenSymbol:n??"",tokenImage:a,userBalance:o,assetName:r}}return{}};var a=e("lodash"),r=e("react"),o=e("react-redux"),s=e("../../../ducks/metamask/metamask"),i=e("../../../helpers/utils/token-util"),c=e("../../../store/actions"),l=e("../../../../shared/modules/string-utils"),u=e("../../../hooks/usePrevious"),d=e("../../../hooks/useTokenTracker")}}},{package:"$root$",file:"ui/pages/confirmations/hooks/useAssetDetails.js"}],[5693,{"../../../../shared/constants/network":4507,"../../../hooks/useAccountTotalFiatBalance":5413,"../../../selectors":5987,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useBalance=void 0;var a=e("react-redux"),r=e("../../../selectors"),o=e("../../../../shared/constants/network"),s=e("../../../hooks/useAccountTotalFiatBalance");n.useBalance=e=>{const t=(0,a.useSelector)(r.getShouldHideZeroBalanceTokens),{totalWeiBalance:n}=(0,s.useAccountTotalFiatBalance)(e,t),i=(0,a.useSelector)(r.getCurrentNetwork),c=(0,a.useSelector)(r.getShowFiatInTestnets),l=o.TEST_NETWORKS.includes(null==i?void 0:i.nickname)&&!c;let u=n;const d=(0,a.useSelector)(r.getSelectedAccountCachedBalance);return e?(l&&(u=d),{balance:u}):{}}}}},{package:"$root$",file:"ui/pages/confirmations/hooks/useBalance.js"}],[5694,{react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=e("react");n.default=()=>(0,a.useCallback)((e=>{}),[])}}},{package:"$root$",file:"ui/pages/confirmations/hooks/useConfirmationAlertActions.ts"}],[5695,{"./alerts/useBlockaidAlert":5686,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=e("react"),o=(a=e("./alerts/useBlockaidAlert"))&&a.__esModule?a:{default:a};n.default=()=>{const e=(0,o.default)();return(0,r.useMemo)((()=>[...e]),[e])}}}},{package:"$root$",file:"ui/pages/confirmations/hooks/useConfirmationAlerts.ts"}],[5696,{"../../../../shared/constants/network":4507,"../../../ducks/metamask/metamask":5346,"../../../hooks/useI18nContext":5427,"../../../selectors":5987,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=e("react-redux"),r=e("../../../../shared/constants/network"),o=e("../../../selectors"),s=e("../../../ducks/metamask/metamask"),i=e("../../../hooks/useI18nContext");n.default=function(){var e;const t=(0,i.useI18nContext)(),n=(0,a.useSelector)(o.currentConfirmationSelector),c=(0,a.useSelector)(o.getAllNetworks),l=(0,a.useSelector)(s.getProviderConfig);let u,d="";if(n){const e=(null==n?void 0:n.chainId)??l.chainId;if(u=c.find((({id:t,chainId:n})=>n===e&&(l.type===r.NETWORK_TYPES.RPC?t===l.id:t===l.type))),u){const{nickname:e}=u;var m;if(l.type===r.NETWORK_TYPES.RPC)d=e??t("privateNetwork");else d=r.NETWORK_TO_NAME_MAP[null===(m=u)||void 0===m?void 0:m.chainId]}}return{networkImageUrl:(null===(e=u)||void 0===e||null===(e=e.rpcPrefs)||void 0===e?void 0:e.imageUrl)??"",networkDisplayName:d}}}}},{package:"$root$",file:"ui/pages/confirmations/hooks/useConfirmationNetworkInfo.ts"}],[5697,{"../../../helpers/utils/util":5399,"../../../selectors":5987,"../components/confirm/utils":5542,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=e("react-redux"),r=e("../../../helpers/utils/util"),o=e("../../../selectors"),s=e("../components/confirm/utils");n.default=function(){const e=(0,a.useSelector)(o.currentConfirmationSelector),t=(0,a.useSelector)(o.accountsWithSendEtherInfoSelector);let n,i;if(e){var c;const{from:a}=(0,s.getConfirmationSender)(e),o=(0,r.getAccountByAddress)(t,a);n=a,i=null==o||null===(c=o.metadata)||void 0===c?void 0:c.name}return{senderAddress:n||"",senderName:i||""}}}}},{package:"$root$",file:"ui/pages/confirmations/hooks/useConfirmationRecipientInfo.ts"}],[5698,{"../../../selectors":5987,"../utils":5725,"@metamask/controller-utils":1163,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=e("@metamask/controller-utils"),r=e("react"),o=e("react-redux"),s=e("react-router-dom"),i=e("../../../selectors"),c=e("../utils");n.default=()=>{const{id:e}=(0,s.useParams)(),t=(0,o.useSelector)(i.unconfirmedTransactionsHashSelector),n=(0,o.useSelector)(i.latestPendingConfirmationSelector),l=(0,o.useSelector)(i.pendingConfirmationsSelector),[u,d]=(0,r.useState)(),m=(0,o.useSelector)(i.getRedesignedConfirmationsEnabled);return(0,r.useEffect)((()=>{if(!m)return;let r;if(e){if(e===(null==u?void 0:u.id))return;r=l.find((({id:t})=>t===e))}if(!r){if(!n)return void d(undefined);r=n}if(r.id!==(null==u?void 0:u.id)){var o;const e=t[r.id];if(!t)return void d(undefined);if(!(c.REDESIGN_APPROVAL_TYPES.find((e=>{var t;return e===(null===(t=r)||void 0===t?void 0:t.type)}))||c.REDESIGN_TRANSACTION_TYPES.find((t=>t===(null==e?void 0:e.type)))))return void d(undefined);if((null===(o=r)||void 0===o?void 0:o.type)===a.ApprovalType.PersonalSign){const{siwe:t}=e.msgParams;if(null!=t&&t.isSIWEMessage)return void d(undefined)}d(e)}}),[n,e,t]),{currentConfirmation:u}}}}},{package:"$root$",file:"ui/pages/confirmations/hooks/useCurrentConfirmation.ts"}],[5699,{"../../../ducks/send":5348,"../../../selectors":5987,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useDraftTransactionWithTxParams=void 0;var a=e("react-redux"),r=e("../../../ducks/send"),o=e("../../../selectors");n.useDraftTransactionWithTxParams=()=>{const e=(0,a.useSelector)(r.getCurrentDraftTransaction),t=(0,a.useSelector)(o.getUnapprovedTransactions);let n={};if(0!==Object.keys(e).length){var s,i,c,l,u,d,m,p,f,g;const a=t[e.id];n={txParams:{gasPrice:null===(s=e.gas)||void 0===s?void 0:s.gasPrice,gas:null!=a&&a.userEditedGasLimit?null==a||null===(i=a.txParams)||void 0===i?void 0:i.gas:null===(c=e.gas)||void 0===c?void 0:c.gasLimit,maxFeePerGas:null!=a&&null!==(l=a.txParams)&&void 0!==l&&l.maxFeePerGas?null==a||null===(u=a.txParams)||void 0===u?void 0:u.maxFeePerGas:null===(d=e.gas)||void 0===d?void 0:d.maxFeePerGas,maxPriorityFeePerGas:null!=a&&null!==(m=a.txParams)&&void 0!==m&&m.maxPriorityFeePerGas?null==a||null===(p=a.txParams)||void 0===p?void 0:p.maxPriorityFeePerGas:null===(f=e.gas)||void 0===f?void 0:f.maxPriorityFeePerGas,value:null===(g=e.amount)||void 0===g?void 0:g.value,type:e.transactionType},userFeeLevel:null==a?void 0:a.userFeeLevel}}return n}}}},{package:"$root$",file:"ui/pages/confirmations/hooks/useDraftTransactionWithTxParams.js"}],[5700,{"../../../../shared/constants/gas":4500,"../../../../shared/modules/conversion.utils":4537,"../../../../shared/modules/gas.utils":4543,"../../../helpers/constants/common":5353,"../../../helpers/utils/transactions.util":5397,"../../../hooks/useCurrencyDisplay":5418,"../../../hooks/useUserPreferencedCurrency":5452,"../../../selectors":5987,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useGasEstimates=function({editGasMode:e,gasEstimateType:t,gasFeeEstimates:n,gasLimit:m,gasPrice:p,maxFeePerGas:f,maxPriorityFeePerGas:g,minimumGasLimit:h,transaction:v}){const T=(0,a.useSelector)((e=>(0,i.checkNetworkAndAccountSupports1559)(e,null==v?void 0:v.networkClientId)))&&!(0,c.isLegacyTransaction)(null==v?void 0:v.txParams),{currency:y,numberOfDecimals:b}=(0,u.useUserPreferencedCurrency)(s.PRIMARY);let _={gasLimit:(0,d.decimalToHex)(m)};_=T?{..._,maxFeePerGas:(0,d.decGWEIToHexWEI)(f||p||"0"),maxPriorityFeePerGas:(0,d.decGWEIToHexWEI)(g||f||p||"0"),baseFeePerGas:(0,d.decGWEIToHexWEI)((null==n?void 0:n.estimatedBaseFee)??"0")}:{..._,gasPrice:t===r.GasEstimateTypes.none?"0x0":(0,d.decGWEIToHexWEI)(p)};const E=(0,o.getMaximumGasTotalInHexWei)(_);e===r.EditGasModes.swaps&&(_={..._,gasLimit:h});const k=(0,o.getMinimumGasTotalInHexWei)(_),[x]=(0,l.useCurrencyDisplay)(k,{numberOfDecimals:b,currency:y});return{estimatedMinimumNative:x,maximumCostInHexWei:E,minimumCostInHexWei:k}};var a=e("react-redux"),r=e("../../../../shared/constants/gas"),o=e("../../../../shared/modules/gas.utils"),s=e("../../../helpers/constants/common"),i=e("../../../selectors"),c=e("../../../helpers/utils/transactions.util"),l=e("../../../hooks/useCurrencyDisplay"),u=e("../../../hooks/useUserPreferencedCurrency"),d=e("../../../../shared/modules/conversion.utils")}}},{package:"$root$",file:"ui/pages/confirmations/hooks/useGasEstimates.js"}],[5701,{"../../../../shared/constants/gas":4500,"../../../../shared/modules/Numeric":4533,"../../../helpers/constants/gas":5357,"../../../helpers/constants/transactions":5367,"../../../helpers/utils/transactions.util":5397,"../../../helpers/utils/util":5399,"../../../selectors":5987,"@metamask/transaction-controller":2234,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useGasFeeErrors=function({gasEstimateType:e,gasFeeEstimates:t,isGasEstimatesLoading:n,gasLimit:l,gasPrice:u,maxPriorityFeePerGas:d,maxFeePerGas:b,minimumCostInHexWei:_,minimumGasLimit:E,transaction:k}){const x=(0,r.useSelector)(i.checkNetworkAndAccountSupports1559)&&!(0,c.isLegacyTransaction)(null==k?void 0:k.txParams),w=e===s.GasEstimateTypes.feeMarket,C=p(l,E),A=f(d,x),S=g(b,A,d,x),P=h(w,u,x,k),N=v(t,w,n,d,x),M=T(t,n,w,S,A,b,x),O=(0,a.useMemo)((()=>{const e={};return C&&(e.gasLimit=C),A&&(e.maxPriorityFee=A),S&&(e.maxFee=S),P&&(e.gasPrice=P),e}),[C,A,S,P]),R=(0,a.useMemo)((()=>{const e={};return N&&(e.maxPriorityFee=N),M&&(e.maxFee=M),e}),[N,M]),I=Boolean(Object.keys(O).length),D=(0,a.useMemo)((()=>({...R,...O})),[O,R]),F=(0,r.useSelector)((e=>{var t;return(0,i.getTargetAccount)(e,null==k||null===(t=k.txParams)||void 0===t?void 0:t.from)}),r.shallowEqual),j=F!==undefined&&(null==k?void 0:k.type)!==o.TransactionType.incoming&&(null==k?void 0:k.status)in m.PENDING_STATUS_HASH&&y(_,k,F.balance);return{gasErrors:D,hasGasErrors:I,balanceError:j,hasSimulationError:Boolean(null==k?void 0:k.simulationFails)}};var a=e("react"),r=e("react-redux"),o=e("@metamask/transaction-controller"),s=e("../../../../shared/constants/gas"),i=e("../../../selectors"),c=e("../../../helpers/utils/transactions.util"),l=e("../../../helpers/utils/util"),u=e("../../../helpers/constants/gas"),d=e("../../../../shared/modules/Numeric"),m=e("../../../helpers/constants/transactions");const p=(e,t)=>new d.Numeric(e,10).lessThan(new d.Numeric(t||s.GAS_LIMITS.SIMPLE,16))?u.GAS_FORM_ERRORS.GAS_LIMIT_OUT_OF_BOUNDS:undefined,f=(e,t)=>t&&(0,l.bnLessThan)(e,0)?u.GAS_FORM_ERRORS.MAX_PRIORITY_FEE_BELOW_MINIMUM:undefined,g=(e,t,n,a)=>t||!a?undefined:(0,l.bnGreaterThan)(n,e)?u.GAS_FORM_ERRORS.MAX_FEE_IMBALANCE:undefined,h=(e,t,n,a)=>{var r;return n&&e?undefined:(!n||null!=a&&null!==(r=a.txParams)&&void 0!==r&&r.gasPrice)&&(0,l.bnLessThan)(t,0)?u.GAS_FORM_ERRORS.GAS_PRICE_TOO_LOW:undefined},v=(e,t,n,a,r)=>{var o;return r&&t&&!n?(0,l.bnLessThan)(a,null==e||null===(o=e.low)||void 0===o?void 0:o.suggestedMaxPriorityFeePerGas)?u.GAS_FORM_ERRORS.MAX_PRIORITY_FEE_TOO_LOW:null!=e&&e.high&&(0,l.bnGreaterThan)(a,1.5*e.high.suggestedMaxPriorityFeePerGas)?u.GAS_FORM_ERRORS.MAX_PRIORITY_FEE_HIGH_WARNING:undefined:undefined},T=(e,t,n,a,r,o,s)=>{var i;return r||a||!n||!s||t?undefined:(0,l.bnLessThan)(o,null==e||null===(i=e.low)||void 0===i?void 0:i.suggestedMaxFeePerGas)?u.GAS_FORM_ERRORS.MAX_FEE_TOO_LOW:null!=e&&e.high&&(0,l.bnGreaterThan)(o,1.5*e.high.suggestedMaxFeePerGas)?u.GAS_FORM_ERRORS.MAX_FEE_HIGH_WARNING:undefined},y=(e,t,n)=>{var a;if(e===undefined||n===undefined)return!1;const r=new d.Numeric(e,16).add(new d.Numeric((null==t||null===(a=t.txParams)||void 0===a?void 0:a.value)||"0x0",16)),o=new d.Numeric(n,16);return r.greaterThan(o)}}}},{package:"$root$",file:"ui/pages/confirmations/hooks/useGasFeeErrors.js"}],[5702,{"../../../../shared/constants/common":4495,"../../../../shared/constants/gas":4500,"../../../../shared/modules/Numeric":4533,"../../../../shared/modules/conversion.utils":4537,"../../../helpers/constants/gas":5357,"../../../helpers/utils/gas":5384,"../../../helpers/utils/transactions.util":5397,"../../../hooks/useGasFeeEstimates":5426,"../../../selectors":5987,"./useGasEstimates":5700,"./useGasFeeErrors":5701,"./useGasPriceInput":5703,"./useMaxFeePerGasInput":5706,"./useMaxPriorityFeePerGasInput":5707,"./useTransactionFunctions":5713,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useGasFeeInputs=function(e=o.GasRecommendations.medium,t,n="0x5208",_=o.EditGasModes.modifyInPlace){const E={txParams:null==t?void 0:t.txParams,id:null==t?void 0:t.id,userFeeLevel:null==t?void 0:t.userFeeLevel,originalGasEstimate:null==t?void 0:t.originalGasEstimate,userEditedGasLimit:null==t?void 0:t.userEditedGasLimit};null!=t&&t.previousGas&&(E.previousGas=null==t?void 0:t.previousGas);const[k,x]=(0,a.useState)(E),w=(0,u.editGasModeIsSpeedUpOrCancel)(_)?k:t,C=(0,r.useSelector)(i.checkNetworkAndAccountSupports1559)&&!(0,c.isLegacyTransaction)(null==w?void 0:w.txParams),{gasEstimateType:A,gasFeeEstimates:S,isGasEstimatesLoading:P,isNetworkBusy:N}=(0,l.useGasFeeEstimates)(null==w?void 0:w.networkClientId),M=(0,r.useSelector)(i.getAdvancedInlineGasShown),[O,R]=(0,a.useState)((()=>{var t,n;return M&&null!=w&&null!==(t=w.txParams)&&void 0!==t&&t.maxPriorityFeePerGas&&null!=w&&null!==(n=w.txParams)&&void 0!==n&&n.maxFeePerGas?null:w?(null==w?void 0:w.userFeeLevel)||null:e})),[I,D]=(0,a.useState)((()=>O||o.PriorityLevels.custom)),[F,j]=(0,a.useState)((()=>{var e;return Number((0,d.hexToDecimal)((null==w||null===(e=w.txParams)||void 0===e?void 0:e.gas)??"0x0"))})),L=Number((0,d.hexToDecimal)(null==w?void 0:w.originalGasEstimate));(0,a.useEffect)((()=>{if(C){var e,t,n;null!=w&&w.userFeeLevel&&R(null==w?void 0:w.userFeeLevel);const a=new m.Numeric((null==w||null===(e=w.txParams)||void 0===e?void 0:e.gas)??"0x0",16).times(new m.Numeric((null==w||null===(t=w.txParams)||void 0===t?void 0:t.maxFeePerGas)??"0x0",16)).toPrefixedHexString(),r=new m.Numeric(a,16,p.EtherDenomination.WEI).toDenomination(p.EtherDenomination.ETH).toBase(10).toString();Number(r)>Number(b)?D(o.PriorityLevels.dappSuggestedHigh):null!=w&&w.userFeeLevel&&D(null==w?void 0:w.userFeeLevel),j(Number((0,d.hexToDecimal)((null==w||null===(n=w.txParams)||void 0===n?void 0:n.gas)??"0x0")))}}),[D,j,R,C,w]);const{gasPrice:B,setGasPrice:G,setGasPriceHasBeenManuallySet:$}=(0,g.useGasPriceInput)({estimateToUse:O,gasEstimateType:A,gasFeeEstimates:S,transaction:w}),{maxFeePerGas:W,setMaxFeePerGas:U}=(0,h.useMaxFeePerGasInput)({estimateToUse:O,gasEstimateType:A,gasFeeEstimates:S,transaction:w}),{maxPriorityFeePerGas:H,setMaxPriorityFeePerGas:q}=(0,v.useMaxPriorityFeePerGasInput)({estimateToUse:O,gasEstimateType:A,gasFeeEstimates:S,transaction:w}),{estimatedMinimumNative:V,maximumCostInHexWei:z,minimumCostInHexWei:Y}=(0,T.useGasEstimates)({editGasMode:_,gasEstimateType:A,gasFeeEstimates:S,gasLimit:F,gasPrice:B,maxFeePerGas:W,maxPriorityFeePerGas:H,minimumGasLimit:n,transaction:w}),{balanceError:K,gasErrors:X,hasGasErrors:J,hasSimulationError:Q}=(0,f.useGasFeeErrors)({gasEstimateType:A,gasFeeEstimates:S,isGasEstimatesLoading:P,gasLimit:F,gasPrice:B,maxPriorityFeePerGas:H,maxFeePerGas:W,minimumCostInHexWei:Y,minimumGasLimit:n,transaction:w}),Z=(0,a.useCallback)((()=>{if(X.gasLimit===s.GAS_FORM_ERRORS.GAS_LIMIT_OUT_OF_BOUNDS){var e;const t=(0,d.hexToDecimal)(null==w||null===(e=w.txParams)||void 0===e?void 0:e.gas),a=(0,d.hexToDecimal)(n);j(t>a?t:a)}}),[n,X.gasLimit,w]),{cancelTransaction:ee,speedUpTransaction:te,updateTransaction:ne,updateTransactionToTenPercentIncreasedGasFee:ae,updateTransactionUsingDAPPSuggestedValues:re,updateTransactionUsingEstimate:oe}=(0,y.useTransactionFunctions)({defaultEstimateToUse:e,editGasMode:_,gasFeeEstimates:S,gasLimit:F,maxPriorityFeePerGas:H,minimumGasLimit:n,transaction:w,setRetryTxMeta:x}),se=(0,a.useCallback)((()=>{R(o.CUSTOM_GAS_ESTIMATE),Z(),G(B),j(F),U(W),q(H),$(!0),D("custom")}),[R,Z,G,B,j,F,U,W,q,H,$]);return{transaction:w,maxFeePerGas:W,maxPriorityFeePerGas:H,gasPrice:B,setGasPrice:G,gasLimit:F,setGasLimit:j,properGasLimit:L,editGasMode:_,estimateToUse:O,estimatedMinimumNative:V,maximumCostInHexWei:z,minimumCostInHexWei:Y,estimateUsed:I,gasFeeEstimates:S,isNetworkBusy:N,onManualChange:se,balanceError:K,gasErrors:X,hasGasErrors:J,hasSimulationError:Q,minimumGasLimitDec:(0,d.hexToDecimal)(n),supportsEIP1559:C,cancelTransaction:ee,speedUpTransaction:te,updateTransaction:ne,updateTransactionToTenPercentIncreasedGasFee:ae,updateTransactionUsingDAPPSuggestedValues:re,updateTransactionUsingEstimate:oe}};var a=e("react"),r=e("react-redux"),o=e("../../../../shared/constants/gas"),s=e("../../../helpers/constants/gas"),i=e("../../../selectors"),c=e("../../../helpers/utils/transactions.util"),l=e("../../../hooks/useGasFeeEstimates"),u=e("../../../helpers/utils/gas"),d=e("../../../../shared/modules/conversion.utils"),m=e("../../../../shared/modules/Numeric"),p=e("../../../../shared/constants/common"),f=e("./useGasFeeErrors"),g=e("./useGasPriceInput"),h=e("./useMaxFeePerGasInput"),v=e("./useMaxPriorityFeePerGasInput"),T=e("./useGasEstimates"),y=e("./useTransactionFunctions");const b="1"}}},{package:"$root$",file:"ui/pages/confirmations/hooks/useGasFeeInputs.js"}],[5703,{"../../../../shared/constants/gas":4500,"../../../../shared/modules/conversion.utils":4537,"../../../helpers/utils/transactions.util":5397,"./utils":5715,lodash:3836,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useGasPriceInput=function({estimateToUse:e,gasEstimateType:t,gasFeeEstimates:n,transaction:u}){const[d,m]=(0,a.useState)((null==u?void 0:u.userFeeLevel)===o.CUSTOM_GAS_ESTIMATE),[p,f]=(0,a.useState)((()=>{const{gasPrice:e}=(null==u?void 0:u.txParams)||{};return e&&(0,c.feeParamsAreCustom)(u)?Number((0,i.hexWEIToDecGWEI)(e)):null})),[g]=(0,a.useState)(n),h=(0,r.isEqual)(g,n);return{gasPrice:null!==p&&(d||h||(0,s.isLegacyTransaction)(null==u?void 0:u.txParams))?p:l(n,t,e),setGasPrice:f,setGasPriceHasBeenManuallySet:m}};var a=e("react"),r=e("lodash"),o=e("../../../../shared/constants/gas"),s=e("../../../helpers/utils/transactions.util"),i=e("../../../../shared/modules/conversion.utils"),c=e("./utils");function l(e,t,n){return t===o.GasEstimateTypes.legacy?(null==e?void 0:e[n])??"0":t===o.GasEstimateTypes.ethGasPrice?(null==e?void 0:e.gasPrice)??"0":"0"}}}},{package:"$root$",file:"ui/pages/confirmations/hooks/useGasPriceInput.js"}],[5704,{"../../../../shared/modules/conversion.utils":4537,"../../../../shared/modules/transaction.utils":4560,"../../../helpers/utils/gas":5384,"../../../hooks/useGasFeeEstimates":5426,"bignumber.js":2933,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useIncrementedGasFees=function(e){const{gasFeeEstimates:t={}}=(0,l.useGasFeeEstimates)(e.networkClientId);return(0,o.useMemo)((()=>{var n,a,r,o;const s={gasLimit:null===(n=e.txParams)||void 0===n?void 0:n.gas,gas:null===(a=e.txParams)||void 0===a?void 0:a.gas},c=(null==t||null===(r=t.medium)||void 0===r?void 0:r.suggestedMaxFeePerGas)??"0",l=(null==t||null===(o=t.medium)||void 0===o?void 0:o.suggestedMaxPriorityFeePerGas)??"0";if((0,i.isEIP1559Transaction)(e)){var d,m;const t=null===(d=e.txParams)||void 0===d?void 0:d.maxFeePerGas,n=null===(m=e.txParams)||void 0===m?void 0:m.maxPriorityFeePerGas;s.maxFeePerGas=t===undefined||t.startsWith("-")?"0x0":u(t,c),s.maxPriorityFeePerGas=n===undefined||n.startsWith("-")?"0x0":u(n,l)}else{var p;const t=null===(p=e.txParams)||void 0===p?void 0:p.gasPrice;s.gasPrice=t===undefined||t.startsWith("-")?"0x0":u(t,c)}return s}),[e,t])};var a,r=(a=e("bignumber.js"))&&a.__esModule?a:{default:a},o=e("react"),s=e("../../../../shared/modules/conversion.utils"),i=e("../../../../shared/modules/transaction.utils"),c=e("../../../helpers/utils/gas"),l=e("../../../hooks/useGasFeeEstimates");function u(e,t){const n=(0,c.addTenPercentAndRound)(e),a=(0,s.decGWEIToHexWEI)(t);return new r.default(n,16).greaterThan(new r.default(a,16))?n:a}}}},{package:"$root$",file:"ui/pages/confirmations/hooks/useIncrementedGasFees.js"}],[5705,{"../../../../shared/constants/hardware-wallets":4501,"../../../ducks/app/app":5336,"../../../ducks/metamask/metamask":5346,"../../../store/actions":5998,"../selectors":5717,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=e("react"),r=e("react-redux"),o=e("../../../../shared/constants/hardware-wallets"),s=e("../../../ducks/app/app"),i=e("../../../ducks/metamask/metamask"),c=e("../../../store/actions"),l=e("../selectors");n.default=()=>{const e=(0,r.useDispatch)(),t=(0,r.useSelector)(l.currentConfirmationSelector),n=(0,r.useSelector)(i.getLedgerTransportType),u=(0,r.useSelector)(s.getLedgerTransportStatus),d=(0,r.useSelector)(s.getLedgerWebHidConnectedStatus);let m;null!=t&&t.msgParams&&(m=t.msgParams.from);const p=(0,r.useSelector)((e=>m&&(0,i.isAddressLedger)(e,m)));return(0,a.useEffect)((()=>{if(!p)return;(async()=>{if(n===o.LedgerTransportTypes.webhid&&d===o.WebHIDConnectedStatuses.connected&&u===o.HardwareTransportStates.none)try{const t=await(0,c.attemptLedgerTransportCreation)();e((0,s.setLedgerTransportStatus)(t?o.HardwareTransportStates.verified:o.HardwareTransportStates.unknownFailure))}catch(t){t.message.match("Failed to open the device")?e((0,s.setLedgerTransportStatus)(o.HardwareTransportStates.deviceOpenFailure)):t.message.match("the device is already open")?e((0,s.setLedgerTransportStatus)(o.HardwareTransportStates.verified)):e((0,s.setLedgerTransportStatus)(o.HardwareTransportStates.unknownFailure))}})(),(async()=>{if(n===o.LedgerTransportTypes.webhid&&d!==o.WebHIDConnectedStatuses.connected){var t;const n=await(null===(t=window.navigator)||void 0===t||null===(t=t.hid)||void 0===t?void 0:t.getDevices()),a=null==n?void 0:n.some((e=>e.vendorId===Number(o.LEDGER_USB_VENDOR_ID)));e((0,s.setLedgerWebHidConnectedStatus)(a?o.WebHIDConnectedStatuses.connected:o.WebHIDConnectedStatuses.notConnected))}})()}),[e,n,p,d,u]),(0,a.useEffect)((()=>p?()=>{e((0,s.setLedgerTransportStatus)(o.HardwareTransportStates.none))}:undefined),[e]),{isLedgerWallet:p}}}}},{package:"$root$",file:"ui/pages/confirmations/hooks/useLedgerConnection.ts"}],[5706,{"../../../../shared/modules/conversion.utils":4537,"../../../helpers/utils/transactions.util":5397,"../../../selectors":5987,"./utils":5715,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useMaxFeePerGasInput=function({estimateToUse:e,gasEstimateType:t,gasFeeEstimates:n,transaction:i}){const u=(0,r.useSelector)(o.checkNetworkAndAccountSupports1559)&&!(0,s.isLegacyTransaction)(null==i?void 0:i.txParams),d=u?l(i,n):0,[m,p]=(0,a.useState)((()=>d&&(0,c.feeParamsAreCustom)(i)?d:null));(0,a.useEffect)((()=>{u&&d&&p(d)}),[d,p,u]);return{maxFeePerGas:m??(0,c.getGasFeeEstimate)("suggestedMaxFeePerGas",n,t,e,d||0),setMaxFeePerGas:p}};var a=e("react"),r=e("react-redux"),o=e("../../../selectors"),s=e("../../../helpers/utils/transactions.util"),i=e("../../../../shared/modules/conversion.utils"),c=e("./utils");const l=(e,t)=>{if(null!=t&&t[null==e?void 0:e.userFeeLevel])return t[e.userFeeLevel].suggestedMaxFeePerGas;const{maxFeePerGas:n,gasPrice:a}=(null==e?void 0:e.txParams)||{};return Number((0,i.hexWEIToDecGWEI)(n||a))}}}},{package:"$root$",file:"ui/pages/confirmations/hooks/useMaxFeePerGasInput.js"}],[5707,{"../../../../shared/modules/conversion.utils":4537,"../../../helpers/utils/transactions.util":5397,"../../../selectors":5987,"./utils":5715,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useMaxPriorityFeePerGasInput=function({estimateToUse:e,gasEstimateType:t,gasFeeEstimates:n,transaction:i}){const d=(0,a.useSelector)(o.checkNetworkAndAccountSupports1559)&&!(0,s.isLegacyTransaction)(null==i?void 0:i.txParams),m=d?u(i,n):null,[p,f]=(0,r.useState)((()=>!l(m)&&(0,c.feeParamsAreCustom)(i)?m:null));(0,r.useEffect)((()=>{d&&!l(m)&&f(m)}),[m,f,d]);return{maxPriorityFeePerGas:p??(0,c.getGasFeeEstimate)("suggestedMaxPriorityFeePerGas",n,t,e,m||0),setMaxPriorityFeePerGas:f}};var a=e("react-redux"),r=e("react"),o=e("../../../selectors"),s=e("../../../helpers/utils/transactions.util"),i=e("../../../../shared/modules/conversion.utils"),c=e("./utils");const l=e=>null===e||e===undefined,u=(e,t)=>{if(null!=t&&t[null==e?void 0:e.userFeeLevel])return t[e.userFeeLevel].suggestedMaxPriorityFeePerGas;const{maxPriorityFeePerGas:n,maxFeePerGas:a,gasPrice:r}=(null==e?void 0:e.txParams)||{},o=n||a||r;return o?Number((0,i.hexWEIToDecGWEI)(o)):null}}}},{package:"$root$",file:"ui/pages/confirmations/hooks/useMaxPriorityFeePerGasInput.js"}],[5708,{"../../../ducks/confirm-transaction/confirm-transaction.duck":5338,"../../../ducks/history/history":5343,"../../../helpers/utils/util":5399,"../../../selectors":5987,"../../../store/actions":5998,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useRejectTransactionModal=function(){const e=(0,a.useDispatch)(),t=(0,r.useHistory)(),n=(0,a.useSelector)(c.getMostRecentOverviewPage),u=(0,a.useSelector)(l.getTotalUnapprovedMessagesCount),d=(0,a.useSelector)(l.unconfirmedMessagesHashSelector);return{handleCancelAll:()=>{e((0,s.showModal)({name:"REJECT_TRANSACTIONS",onSubmit:async()=>{await e((0,s.rejectAllMessages)((0,o.valuesFor)(d))),e((0,i.clearConfirmTransaction)()),t.push(n)},unapprovedTxCount:u,isRequestType:!0}))}}};var a=e("react-redux"),r=e("react-router-dom"),o=e("../../../helpers/utils/util"),s=e("../../../store/actions"),i=e("../../../ducks/confirm-transaction/confirm-transaction.duck"),c=e("../../../ducks/history/history"),l=e("../../../selectors")}}},{package:"$root$",file:"ui/pages/confirmations/hooks/useRejectTransactionModal.js"}],[5709,{"../../../ducks/history/history":5343,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useRouting=function(){const e=(0,r.useHistory)(),t=(0,o.useSelector)(s.getMostRecentOverviewPage);return{navigateToMostRecentOverviewPage:(0,a.useCallback)((()=>{e.push(t)}),[e,t])}};var a=e("react"),r=e("react-router-dom"),o=e("react-redux"),s=e("../../../ducks/history/history")}}},{package:"$root$",file:"ui/pages/confirmations/hooks/useRouting.js"}],[5710,{"../../../selectors":5987,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useSimulationFailureWarning=function(e){const t=(0,a.useSelector)(r.txDataSelector)||{},n=Boolean(t.simulationFails);return n&&!e};var a=e("react-redux"),r=e("../../../selectors")}}},{package:"$root$",file:"ui/pages/confirmations/hooks/useSimulationFailureWarning.js"}],[5711,{"../../../contexts/gasFee":5323,"../../../selectors":5987,"../../../store/actions":5998,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useTransactionEventFragment=void 0;var a=e("react"),r=e("react-redux"),o=e("../../../contexts/gasFee"),s=e("../../../store/actions"),i=e("../../../selectors");n.useTransactionEventFragment=()=>{const{transaction:e}=(0,o.useGasFeeContext)(),t=(0,r.useSelector)((t=>(0,i.selectMatchingFragment)(t,{fragmentOptions:{},existingId:`transaction-added-${null==e?void 0:e.id}`}))),n=Boolean(t),c=null==e?void 0:e.id;return{updateTransactionEventFragment:(0,a.useCallback)((async(e,t)=>{const a=t||c;a&&(n||await(0,s.createTransactionEventFragment)(a),(0,s.updateEventFragment)(`transaction-added-${a}`,e))}),[n,c])}}}}},{package:"$root$",file:"ui/pages/confirmations/hooks/useTransactionEventFragment.js"}],[5712,{"../../../../shared/constants/app":4493,"../../../ducks/metamask/metamask":5346,"../../../helpers/utils/metrics":5389,"../../../helpers/utils/transactions.util":5397,"../../../hooks/useI18nContext":5427,"../../../selectors":5987,"@metamask/transaction-controller":2234,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useTransactionFunctionType=void 0;var a=e("react-redux"),r=e("@metamask/transaction-controller"),o=e("../../../../shared/constants/app"),s=e("../../../selectors"),i=e("../../../ducks/metamask/metamask"),c=e("../../../helpers/utils/transactions.util"),l=e("../../../helpers/utils/metrics"),u=e("../../../hooks/useI18nContext");n.useTransactionFunctionType=(e={})=>{const t=(0,u.useI18nContext)(),n=(0,a.useSelector)(i.getNativeCurrency),{txParams:d}=e,m=(0,a.useSelector)((e=>(0,s.getKnownMethodData)(e,null==d?void 0:d.data)||{}));if(!d)return{};const p=e.type===r.TransactionType.tokenMethodSetApprovalForAll||e.type===r.TransactionType.tokenMethodApprove||e.type===r.TransactionType.tokenMethodIncreaseAllowance,f=e.type===r.TransactionType.contractInteraction;let g=(p||f)&&e.origin!==o.ORIGIN_METAMASK?(0,l.getMethodName)(null==m?void 0:m.name):undefined;return g||(g=e.type?(0,c.getTransactionTypeTitle)(t,e.type,n):t("contractInteraction")),{functionType:g}}}}},{package:"$root$",file:"ui/pages/confirmations/hooks/useTransactionFunctionType.js"}],[5713,{"../../../../shared/constants/gas":4500,"../../../../shared/modules/conversion.utils":4537,"../../../helpers/utils/gas":5384,"../../../store/actions":5998,"bignumber.js":2933,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useTransactionFunctions=void 0;var a,r=e("react"),o=e("react-redux"),s=(a=e("bignumber.js"))&&a.__esModule?a:{default:a},i=e("../../../../shared/constants/gas"),c=e("../../../helpers/utils/gas"),l=e("../../../store/actions"),u=e("../../../../shared/modules/conversion.utils");n.useTransactionFunctions=({defaultEstimateToUse:e,editGasMode:t,estimatedBaseFee:n,gasFeeEstimates:a,gasLimit:d,maxPriorityFeePerGas:m,transaction:p,setRetryTxMeta:f})=>{const g=(0,o.useDispatch)(),h=(0,r.useCallback)((()=>{if(t!==i.EditGasModes.cancel&&t!==i.EditGasModes.speedUp||p.previousGas)return{};const{maxFeePerGas:e,maxPriorityFeePerGas:n,gasLimit:a}=(null==p?void 0:p.txParams)??{};return{previousGas:{maxFeePerGas:e,maxPriorityFeePerGas:n,gasLimit:a}}}),[t,null==p?void 0:p.previousGas,null==p?void 0:p.txParams]),v=(0,r.useCallback)((async({estimateUsed:n,gasLimit:a,maxFeePerGas:r,maxPriorityFeePerGas:o,estimateSuggested:s})=>{const v={gas:(0,u.decimalToHex)(a||d),gasLimit:(0,u.decimalToHex)(a||d),estimateSuggested:s||e,estimateUsed:n};r&&(v.maxFeePerGas=r),o&&(v.maxPriorityFeePerGas=o||(0,u.decGWEIToHexWEI)(m));const T=h(),y={...p,userFeeLevel:n||i.PriorityLevels.custom,txParams:{...p.txParams,...v},...T};t===i.EditGasModes.swaps?(g((0,l.updateSwapsUserFeeLevel)(n||i.PriorityLevels.custom)),g((0,l.updateCustomSwapsEIP1559GasParams)(v))):(0,c.editGasModeIsSpeedUpOrCancel)(t)?f(y):(v.userEditedGasLimit=y.userEditedGasLimit,v.userFeeLevel=y.userFeeLevel,T&&T.previousGas&&await g((0,l.updatePreviousGasParams)(y.id,T.previousGas)),await g((0,l.updateTransactionGasFees)(y.id,v)))}),[e,g,t,d,h,m,p,f]),T=(0,r.useCallback)((()=>{g((0,l.createCancelTransaction)(p.id,p.txParams,{estimatedBaseFee:n}))}),[g,n,p]),y=(0,r.useCallback)((()=>{g((0,l.createSpeedUpTransaction)(p.id,p.txParams,{estimatedBaseFee:n}))}),[g,n,p]),b=(0,r.useCallback)(((t=!1)=>{const{gas:n,maxFeePerGas:r,maxPriorityFeePerGas:o}=p.previousGas||p.txParams,l=new s.default(o,16).isZero()?(0,u.decGWEIToHexWEI)(a[e].suggestedMaxPriorityFeePerGas):o,d="0x0"===o?i.CUSTOM_GAS_ESTIMATE:i.PriorityLevels.tenPercentIncreased;a&&v({estimateSuggested:t?e:i.PriorityLevels.tenPercentIncreased,estimateUsed:d,gasLimit:n,maxFeePerGas:(0,c.addTenPercentAndRound)(r),maxPriorityFeePerGas:(0,c.addTenPercentAndRound)(l)})}),[e,a,p,v]),_=(0,r.useCallback)((e=>{if(!a[e])return;const{suggestedMaxFeePerGas:t,suggestedMaxPriorityFeePerGas:n}=a[e];v({estimateUsed:e,maxFeePerGas:(0,u.decGWEIToHexWEI)(t),maxPriorityFeePerGas:(0,u.decGWEIToHexWEI)(n)})}),[a,v]),E=(0,r.useCallback)((()=>{const{maxFeePerGas:e,maxPriorityFeePerGas:t}=(null==p?void 0:p.dappSuggestedGasFees)??{};v({estimateUsed:i.PriorityLevels.dAppSuggested,maxFeePerGas:e,maxPriorityFeePerGas:t})}),[p,v]);return{cancelTransaction:T,speedUpTransaction:y,updateTransaction:v,updateTransactionToTenPercentIncreasedGasFee:b,updateTransactionUsingDAPPSuggestedValues:E,updateTransactionUsingEstimate:_}}}}},{package:"$root$",file:"ui/pages/confirmations/hooks/useTransactionFunctions.js"}],[5714,{"../../../../shared/modules/string-utils":4558,"../../../ducks/metamask/metamask":5346,"../../../selectors":5987,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.useTransactionInfo=void 0;var a=e("react-redux"),r=e("../../../ducks/metamask/metamask"),o=e("../../../../shared/modules/string-utils"),s=e("../../../selectors");n.useTransactionInfo=(e={})=>{var t;const{allNftContracts:n}=(0,a.useSelector)((e=>e.metamask)),i=(0,a.useSelector)(s.getSelectedInternalAccount),{chainId:c}=(0,a.useSelector)(r.getProviderConfig);return{isNftTransfer:Boolean(null==n||null===(t=n[i.address])||void 0===t||null===(t=t[c])||void 0===t?void 0:t.find((t=>(0,o.isEqualCaseInsensitive)(t.address,e.txParams.to))))}}}}},{package:"$root$",file:"ui/pages/confirmations/hooks/useTransactionInfo.js"}],[5715,{"../../../../shared/constants/gas":4500},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.feeParamsAreCustom=void 0,n.getGasFeeEstimate=function(e,t,n,r,o="0"){var s;return n===a.GasEstimateTypes.feeMarket?(null==t||null===(s=t[r])||void 0===s?void 0:s[e])??String(o):String(o)};var a=e("../../../../shared/constants/gas");n.feeParamsAreCustom=e=>!(null!=e&&e.userFeeLevel)||(null==e?void 0:e.userFeeLevel)===a.CUSTOM_GAS_ESTIMATE}}},{package:"$root$",file:"ui/pages/confirmations/hooks/utils.js"}],[5717,{"./confirm":5716},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var a=e("./confirm");Object.keys(a).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in n&&n[e]===a[e]||Object.defineProperty(n,e,{enumerable:!0,get:function(){return a[e]}}))}))}}},{package:"$root$",file:"ui/pages/confirmations/selectors/hybrid-compute-sdk.ts"}],[5718,{"../../../../../../app/scripts/lib/util":120,"../../../../../../shared/modules/hexstring-utils":4544,"../../../../../components/component-library":4955,"../../../../../helpers/constants/design-system":5355,"../../../../../helpers/utils/util":5399,"@metamask/utils":2300,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=p(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=m(e("prop-types")),o=m(e("classnames")),s=e("@metamask/utils"),i=e("../../../../../../app/scripts/lib/util"),c=e("../../../../../helpers/utils/util"),l=e("../../../../../../shared/modules/hexstring-utils"),u=e("../../../../../components/component-library"),d=e("../../../../../helpers/constants/design-system");function m(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(p=function(e){return e?n:t})(e)}function f(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class g extends a.Component{constructor(...e){super(...e),f(this,"onPaste",(e=>{var t;if(null!==(t=e.clipboardData.items)&&void 0!==t&&t.length){const t=e.clipboardData.items[0];null==t||t.getAsString((e=>{const t=e.trim();!(0,l.isBurnAddress)(t)&&(0,l.isValidHexAddress)(t,{mixedCaseUseChecksum:!0})&&this.props.onPaste((0,i.addHexPrefix)(t))}))}})),f(this,"onChange",(({target:{value:e}})=>{const{onValidAddressTyped:t,internalSearch:n,onChange:a,lookupDomainName:r,resetDomainResolution:o}=this.props,u=e.trim();return a(u),n||(c.IS_FLASK&&!(0,s.isHexString)(u)||(0,c.isValidDomainName)(u)?r(u):(o(),t&&!(0,l.isBurnAddress)(u)&&(0,l.isValidHexAddress)(u,{mixedCaseUseChecksum:!0})&&t((0,i.addHexPrefix)(u)))),null}))}componentDidMount(){this.props.initializeDomainSlice()}render(){const{t:e}=this.context,{className:t,selectedAddress:n,selectedName:r,userInput:s,useBlockie:i}=this.props,m=Boolean(n),p=r&&n?(0,c.shortenAddress)((0,l.toChecksumHexAddress)(n)):undefined;return a.default.createElement("div",{className:(0,o.default)("ens-input",t)},a.default.createElement("div",{className:(0,o.default)("ens-input__wrapper",{"ens-input__wrapper__status-icon--error":!1,"ens-input__wrapper__status-icon--valid":!1,"ens-input__wrapper--valid":m})},m?a.default.createElement(a.default.Fragment,null,a.default.createElement("div",{className:"ens-input__wrapper__input ens-input__wrapper__input--selected"},a.default.createElement(u.AvatarAccount,{variant:i?u.AvatarAccountVariant.Blockies:u.AvatarAccountVariant.Jazzicon,address:n,size:d.Size.MD,borderColor:d.BackgroundColor.backgroundDefault}),a.default.createElement("div",{className:"ens-input__selected-input__title"},r||n,p?a.default.createElement(u.Text,{color:d.TextColor.textAlternative,variant:d.TextVariant.bodySm,ellipsis:!0},p):null)),a.default.createElement(u.ButtonIcon,{iconName:u.IconName.Close,ariaLabel:e("close"),onClick:this.props.onReset,className:"ens-input__wrapper__action-icon-button",size:u.IconSize.Sm})):a.default.createElement(a.default.Fragment,null,a.default.createElement("input",{className:"ens-input__wrapper__input",type:"text",dir:"auto",placeholder:c.IS_FLASK?e("recipientAddressPlaceholderFlask"):e("recipientAddressPlaceholder"),onChange:this.onChange,onPaste:this.onPaste,spellCheck:"false",value:n||s,autoFocus:!0,"data-testid":"ens-input"}),a.default.createElement(u.ButtonIcon,{className:"ens-input__wrapper__action-icon-button",onClick:()=>{s?this.props.onReset():this.props.scanQrCode()},iconName:s?u.IconName.Close:u.IconName.Scan,ariaLabel:e(s?"close":"scanQrCode"),color:s?d.IconColor.iconDefault:d.IconColor.primaryDefault,"data-testid":"ens-qr-scan-button"}))))}}n.default=g,f(g,"contextTypes",{t:r.default.func,metricsEvent:r.default.func}),f(g,"propTypes",{className:r.default.string,useBlockie:r.default.bool,selectedAddress:r.default.string,selectedName:r.default.string,scanQrCode:r.default.func,onPaste:r.default.func,onValidAddressTyped:r.default.func,internalSearch:r.default.bool,userInput:r.default.string,onChange:r.default.func.isRequired,onReset:r.default.func.isRequired,lookupDomainName:r.default.func.isRequired,initializeDomainSlice:r.default.func.isRequired,resetDomainResolution:r.default.func.isRequired})}}},{package:"$root$",file:"ui/pages/confirmations/send/send-content/add-recipient/domain-input.component.js"}],[5719,{"../../../../../ducks/domains":5340,"../../../../../selectors":5987,"./domain-input.component":5718,lodash:3836,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=e("lodash"),o=e("react-redux"),s=e("../../../../../ducks/domains"),i=e("../../../../../selectors"),c=(a=e("./domain-input.component"))&&a.__esModule?a:{default:a};n.default=(0,o.connect)((function(e){return{useBlockie:(0,i.getUseBlockie)(e)}}),(function(e){return{lookupDomainName:(0,r.debounce)((t=>e((0,s.lookupDomainName)(t))),150),initializeDomainSlice:()=>e((0,s.initializeDomainSlice)()),resetDomainResolution:(0,r.debounce)((()=>e((0,s.resetDomainResolution)())),300)}}))(c.default)}}},{package:"$root$",file:"ui/pages/confirmations/send/send-content/add-recipient/domain-input.container.js"}],[5720,{"./domain-input.container":5719},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./domain-input.container"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/confirmations/send/send-content/add-recipient/domain-input.js"}],[5723,{"../../../../shared/constants/network":4507,"../../../../shared/constants/security-provider":4513,"../../../../shared/constants/tokens":4519,"../../../../shared/lib/transactions-controller-utils":4531,"../../../../shared/modules/security-provider.utils":4552,"../../../components/app/network-account-balance-header/network-account-balance-header":4713,"../../../components/component-library":4955,"../../../components/ui/box/box":5193,"../../../components/ui/button":5198,"../../../components/ui/dialog":5213,"../../../components/ui/page-container":5275,"../../../components/ui/url-icon/url-icon":5320,"../../../contexts/gasFee":5323,"../../../contexts/i18n":5324,"../../../ducks/app/app":5336,"../../../ducks/confirm-transaction/confirm-transaction.duck":5338,"../../../ducks/history/history":5343,"../../../helpers/constants/design-system":5355,"../../../helpers/utils/util":5399,"../../../selectors":5987,"../../../store/actions":5998,"../components/approve-content-card/approve-content-card":5490,"../components/blockaid-unavailable-banner-alert/blockaid-unavailable-banner-alert":5491,"../components/confirm-page-container":5511,"../components/confirm-page-container/confirm-page-container-content":5505,"../components/contract-details-modal/contract-details-modal":5545,"../components/contract-token-values/contract-token-values":5547,"../components/custom-nonce":5549,"../components/custom-spending-cap/custom-spending-cap":5551,"../components/fee-details-component/fee-details-component":5571,"../components/ledger-instruction-field/ledger-instruction-field":5576,"../components/review-spending-cap/review-spending-cap":5579,"../components/security-provider-banner-alert/blockaid-banner-alert/blockaid-banner-alert":5580,"../components/security-provider-banner-message/security-provider-banner-message":5584,"../components/simulation-error-message":5623,"../confirm-approve/confirm-approve.util":5641,"../hooks/useSimulationFailureWarning":5710,"bignumber.js":2933,"prop-types":3997,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=Y;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=V(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=e("react-redux"),o=e("react-router-dom"),s=q(e("prop-types")),i=q(e("bignumber.js")),c=q(e("../../../components/ui/box/box")),l=q(e("../../../components/app/network-account-balance-header/network-account-balance-header")),u=q(e("../../../components/ui/url-icon/url-icon")),d=e("../../../helpers/constants/design-system"),m=e("../../../contexts/i18n"),p=q(e("../components/contract-token-values/contract-token-values")),f=q(e("../../../components/ui/button")),g=q(e("../components/review-spending-cap/review-spending-cap")),h=e("../../../components/ui/page-container"),v=q(e("../components/contract-details-modal/contract-details-modal")),T=e("../../../selectors"),y=e("../../../../shared/constants/network"),b=e("../../../store/actions"),_=e("../../../ducks/confirm-transaction/confirm-transaction.duck"),E=e("../../../ducks/history/history"),k=q(e("../components/approve-content-card/approve-content-card")),x=q(e("../components/custom-spending-cap/custom-spending-cap")),w=q(e("../../../components/ui/dialog")),C=e("../../../contexts/gasFee"),A=e("../confirm-approve/confirm-approve.util"),S=e("../../../ducks/app/app"),P=e("../../../helpers/utils/util"),N=e("../../../../shared/lib/transactions-controller-utils"),M=e("../../../../shared/constants/tokens"),O=e("../../../../shared/modules/security-provider.utils"),R=q(e("../components/security-provider-banner-alert/blockaid-banner-alert/blockaid-banner-alert")),I=e("../components/confirm-page-container"),D=e("../hooks/useSimulationFailureWarning"),F=q(e("../components/simulation-error-message")),j=q(e("../components/ledger-instruction-field/ledger-instruction-field")),L=q(e("../components/security-provider-banner-message/security-provider-banner-message")),B=e("../../../components/component-library"),G=e("../components/confirm-page-container/confirm-page-container-content"),$=q(e("../components/custom-nonce")),W=q(e("../components/fee-details-component/fee-details-component")),U=e("../../../../shared/constants/security-provider"),H=e("../components/blockaid-unavailable-banner-alert/blockaid-unavailable-banner-alert");function q(e){return e&&e.__esModule?e:{default:e}}function V(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(V=function(e){return e?n:t})(e)}const z=["portfolio.metamask.io"];function Y({origin:e,siteImage:t,showCustomizeGasModal:n,useNonceField:s,currentCurrency:q,nativeCurrency:V,ethTransactionTotal:Y,fiatTransactionTotal:K,hexTransactionTotal:X,hexMinimumTransactionFee:J,txData:Q,supportsEIP1559:Z,userAddress:ee,tokenAddress:te,data:ne,isSetApproveForAll:ae,isApprovalOrRejection:re,decimals:oe,dappProposedTokenAmount:se,currentTokenBalance:ie,toAddress:ce,tokenSymbol:le,fromAddressIsLedger:ue,warning:de}){var me;const pe=(0,a.useContext)(m.I18nContext),fe=(0,r.useDispatch)(),ge=(0,o.useHistory)(),he=(0,r.useSelector)(E.getMostRecentOverviewPage),{hostname:ve}=new URL(e),Te=z.includes(ve),ye=(0,r.useSelector)(T.getCustomTokenAmount),[be,_e]=(0,a.useState)(ye),[Ee,ke]=(0,a.useState)(!1),[xe,we]=(0,a.useState)(!1),[Ce,Ae]=(0,a.useState)(!1),[Se,Pe]=(0,a.useState)("0"!==se&&!Te),[Ne,Me]=(0,a.useState)(""),[Oe,Re]=(0,a.useState)(!1),Ie=(0,D.useSimulationFailureWarning)(Oe),De=(0,r.useSelector)((e=>(0,T.getTargetAccountWithSendEtherInfo)(e,ee))),Fe=(0,r.useSelector)(T.getNetworkIdentifier),je=(0,r.useSelector)(T.getRpcPrefsForCurrentProvider),Le=(0,r.useSelector)(T.getUnapprovedTxCount),Be=(0,r.useSelector)(T.getUnapprovedTransactions),Ge=(0,r.useSelector)(T.getUseCurrencyRateCheck),$e=(0,r.useSelector)(T.getNextSuggestedNonce),We=(0,r.useSelector)(T.getCustomNonceValue);(0,a.useEffect)((()=>{be&&""!==be||!se||_e(se)}),[]);const Ue=e=>e.replace(/,/gu,".");let He=M.NUM_W_OPT_DECIMAL_COMMA_OR_DOT_REGEX.test(be)?Ue(be).toString():"0";const qe=(0,N.calcTokenAmount)(M.MAX_TOKEN_ALLOWANCE_AMOUNT,oe);if(be.length>1&&Number(be)){new i.default(be).greaterThan(qe)&&(He=0)}const Ve=He?(0,A.getCustomTxParamsData)(ne,{customPermissionAmount:He,decimals:oe}):null;let ze={...Q};Ve&&(ze={...ze,txParams:{...ze.txParams,data:Ve}});const Ye=(0,r.useSelector)((e=>(0,T.transactionFeeSelector)(e,ze))),Ke=(0,r.useSelector)((e=>(0,T.getKnownMethodData)(e,ne))),{balanceError:Xe}=(0,C.useGasFeeContext)(),Je=Se&&(""===be||""!==Ne),Qe=!Se&&Xe,Ze=y.NETWORK_TO_NAME_MAP[ze.chainId]||Fe,et=()=>{const{name:e}=Ke;var t;Ye.gasEstimationObject.baseFeePerGas&&(ze.estimatedBaseFee=Ye.gasEstimationObject.baseFeePerGas),e&&(ze.contractMethodName=e),se&&(ze.dappProposedTokenAmount=se,ze.originalApprovalAmount=se),be?(ze.customTokenAmount=be,ze.finalApprovalAmount=be):se!==undefined&&(ze.finalApprovalAmount=se),ie&&(ze.currentTokenBalance=ie),fe((0,b.updateCustomNonce)("")),fe((0,b.updateAndApproveTx)((t=ze,We?{...t,customNonceValue:We}:t))).then((()=>{fe((0,_.clearConfirmTransaction)()),ge.push(he)}))},tt=()=>{Ae(!1),Pe(!0)},nt=(0,a.useCallback)((()=>{fe((0,b.getNextNonce)())}),[b.getNextNonce,fe]);(0,a.useEffect)((()=>{fe((0,b.getNextNonce)())}),[b.getNextNonce,fe]);const at=e=>{fe((0,b.updateCustomNonce)(e))},rt=""===be,ot=a.default.createElement(c.default,{marginTop:4,key:te},a.default.createElement(p.default,{tokenName:le,address:te,chainId:ze.chainId,rpcPrefs:je})),st=(null===(me=Q.securityAlertResponse)||void 0===me?void 0:me.result_type)===U.BlockaidResultType.Malicious?"danger-primary":"primary";return a.default.createElement(c.default,{className:"token-allowance-container page-container"},a.default.createElement(c.default,null,a.default.createElement(I.ConfirmPageContainerNavigation,null)),a.default.createElement(c.default,{paddingLeft:4,paddingRight:4,alignItems:d.AlignItems.center,display:d.DISPLAY.FLEX,flexDirection:d.FLEX_DIRECTION.ROW,justifyContent:d.JustifyContent.spaceBetween},a.default.createElement(c.default,null,!Se&&a.default.createElement(f.default,{type:"inline",onClick:()=>tt()},a.default.createElement(B.Text,{variant:d.TextVariant.bodySm,as:"h6",color:d.TextColor.textMuted,fontWeight:d.FontWeight.Bold},"<"," ",pe("back")))),a.default.createElement(c.default,{textAlign:d.TextAlign.End},a.default.createElement(B.Text,{variant:d.TextVariant.bodySm,as:"h6",color:d.TextColor.textMuted,fontWeight:d.FontWeight.Bold},Se?1:2," ",pe("ofTextNofM")," 2"))),a.default.createElement(l.default,{networkName:Ze,accountName:De.metadata.name,accountBalance:ie,tokenName:le,accountAddress:ee,chainId:ze.chainId}),a.default.createElement(R.default,{txData:Q,marginTop:4,marginLeft:4,marginRight:4}),a.default.createElement(H.BlockaidUnavailableBannerAlert,null),(0,O.isSuspiciousResponse)(null==Q?void 0:Q.securityProviderResponse)&&a.default.createElement(L.default,{securityProviderResponse:Q.securityProviderResponse}),de&&a.default.createElement(c.default,{className:"token-allowance-container__custom-nonce-warning"},a.default.createElement(G.ConfirmPageContainerWarning,{warning:de})),a.default.createElement(c.default,{display:d.DISPLAY.FLEX,flexDirection:d.FLEX_DIRECTION.ROW,justifyContent:d.JustifyContent.center},a.default.createElement(c.default,{display:d.DISPLAY.FLEX,alignItems:d.AlignItems.center,marginTop:6,marginRight:12,marginBottom:8,marginLeft:12,paddingTop:2,paddingRight:4,paddingBottom:2,paddingLeft:2,borderColor:d.Color.borderMuted,borderStyle:d.BorderStyle.solid,borderWidth:1,className:"token-allowance-container__icon-display-content"},a.default.createElement(u.default,{className:"token-allowance-container__icon-display-content__siteimage-identicon",fallbackClassName:"token-allowance-container__icon-display-content__siteimage-identicon",name:e,url:t}),a.default.createElement(B.Text,{variant:d.TextVariant.bodySm,as:"h6",color:d.TextColor.textAlternative,marginLeft:1},e))),a.default.createElement(c.default,{marginLeft:4,marginRight:4},a.default.createElement(B.Text,{variant:d.TextVariant.headingMd,align:d.TextAlign.Center},Se?pe("spendingCapRequest",[ot]):a.default.createElement(c.default,null,pe("0"===be||rt?"revokeSpendingCap":"spendingCapRequest",[ot])))),a.default.createElement(c.default,{marginTop:1,display:d.DISPLAY.FLEX,flexDirection:d.FLEX_DIRECTION.ROW,justifyContent:d.JustifyContent.center},a.default.createElement(f.default,{type:"link",onClick:()=>ke(!0),className:"token-allowance-container__verify-link"},a.default.createElement(B.Text,{variant:d.TextVariant.bodySm,as:"h6",color:d.Color.primaryDefault},pe("verifyContractDetails")))),a.default.createElement(c.default,{margin:[4,4,3,4]},Se?a.default.createElement(x.default,{txParams:null==Q?void 0:Q.txParams,tokenName:le,currentTokenBalance:ie,dappProposedValue:se,siteOrigin:e,passTheErrorText:e=>Me(e),decimals:oe,setInputChangeInProgress:we,customSpendingCap:be,setCustomSpendingCap:_e}):a.default.createElement(g.default,{tokenName:le,currentTokenBalance:ie,tokenValue:isNaN(parseFloat(be))?se:Ue(be),onEdit:()=>tt()})),!Se&&Xe&&a.default.createElement(w.default,{type:"error",className:"send__error-dialog"},pe("insufficientFundsForGas")),!Se&&a.default.createElement(c.default,{className:"token-allowance-container__card-wrapper"},Ie&&a.default.createElement(c.default,{paddingTop:0,paddingRight:4,paddingBottom:4,paddingLeft:4},a.default.createElement(F.default,{userAcknowledgedGasMissing:Oe,setUserAcknowledgedGasMissing:()=>Re(!0)})),a.default.createElement(k.default,{symbol:a.default.createElement(B.Icon,{name:B.IconName.Tag}),title:pe("transactionFee"),showEdit:!0,showAdvanceGasFeeOptions:!0,onEditClick:n,renderTransactionDetailsContent:!0,noBorder:s||!Ce,supportsEIP1559:Z,ethTransactionTotal:Y,nativeCurrency:V,fullTxData:ze,userAcknowledgedGasMissing:Oe,renderSimulationFailureWarning:Ie,hexTransactionTotal:X,hexMinimumTransactionFee:J,fiatTransactionTotal:K,currentCurrency:q,useCurrencyRateCheck:Ge})),a.default.createElement(c.default,{marginRight:4,marginLeft:4},a.default.createElement(W.default,{useCurrencyRateCheck:Ge,txData:Q,hideGasDetails:Se})),s&&a.default.createElement(c.default,{marginTop:4,marginRight:4,marginLeft:4},a.default.createElement($.default,{nextNonce:$e,customNonceValue:We,showCustomizeNonceModal:()=>((e,t,n,a,r)=>{fe((0,b.showModal)({name:"CUSTOMIZE_NONCE",useNonceField:e,nextNonce:t,customNonceValue:n,updateCustomNonce:a,getNextNonce:r}))})(s,$e,We,at,nt)})),a.default.createElement(c.default,{display:d.DISPLAY.FLEX,flexDirection:d.FLEX_DIRECTION.ROW,justifyContent:d.JustifyContent.center},a.default.createElement(f.default,{type:"link",onClick:()=>Ae(!Ce),className:"token-allowance-container__view-details"},a.default.createElement(B.Text,{variant:d.TextVariant.bodySm,as:"h6",color:d.TextColor.primaryDefault,marginRight:1},pe("viewDetails")),Ce?a.default.createElement("i",{className:"fa fa-sm fa-angle-up"}):a.default.createElement("i",{className:"fa fa-sm fa-angle-down"}))),Ce?a.default.createElement(c.default,{display:d.DISPLAY.FLEX,flexDirection:d.FLEX_DIRECTION.COLUMN,alignItems:d.AlignItems.center,className:"token-allowance-container__full-tx-content"},a.default.createElement(c.default,{className:"token-allowance-container__data"},a.default.createElement(k.default,{symbol:a.default.createElement("i",{className:"fa fa-file"}),title:pe("data"),renderDataContent:!0,noBorder:!0,supportsEIP1559:Z,isSetApproveForAll:ae,fullTxData:ze,userAcknowledgedGasMissing:Oe,renderSimulationFailureWarning:Ie,isApprovalOrRejection:re,data:Ve||ne,useCurrencyRateCheck:Ge,hexMinimumTransactionFee:J}))):null,!Se&&ue&&a.default.createElement(c.default,{paddingLeft:2,paddingRight:2},a.default.createElement(j.default,{showDataInstruction:!0})),a.default.createElement(h.PageContainerFooter,{cancelText:pe("reject"),submitText:pe(Se?"next":"approveButtonText"),onCancel:()=>(fe((0,b.updateCustomNonce)("")),fe((0,S.setCustomTokenAmount)("")),void fe((0,b.cancelTx)(ze)).then((()=>{fe((0,_.clearConfirmTransaction)()),ge.push(he)}))),onSubmit:()=>Se?(Ae(!1),void Pe(!1)):et(),disabled:xe||Je||Qe,submitButtonType:st},Le>1&&a.default.createElement(f.default,{type:"link",onClick:e=>{e.preventDefault(),fe((0,b.showModal)({name:"REJECT_TRANSACTIONS",unapprovedTxCount:Le,onSubmit:async()=>{await fe((0,b.cancelTxs)((0,P.valuesFor)(Be))),fe((0,_.clearConfirmTransaction)()),ge.push(he)}}))}},pe("rejectTxsN",[Le]))),Ee&&a.default.createElement(v.default,{tokenName:le,onClose:()=>ke(!1),tokenAddress:te,toAddress:ce,chainId:ze.chainId,rpcPrefs:je}))}Y.propTypes={origin:s.default.string,siteImage:s.default.string,showCustomizeGasModal:s.default.func,useNonceField:s.default.bool,currentCurrency:s.default.string,nativeCurrency:s.default.string,ethTransactionTotal:s.default.string,fiatTransactionTotal:s.default.string,hexTransactionTotal:s.default.string,hexMinimumTransactionFee:s.default.string,txData:s.default.object,supportsEIP1559:s.default.bool,userAddress:s.default.string,tokenAddress:s.default.string,data:s.default.string,isSetApproveForAll:s.default.bool,isApprovalOrRejection:s.default.bool,decimals:s.default.string,dappProposedTokenAmount:s.default.string,currentTokenBalance:s.default.string,toAddress:s.default.string,tokenSymbol:s.default.string,fromAddressIsLedger:s.default.bool,warning:s.default.string}}}},{package:"$root$",file:"ui/pages/confirmations/token-allowance/token-allowance.js"}],[5726,{"../../components/app/connected-accounts-list":4609,"../../components/app/connected-accounts-permissions":4611,"../../components/app/connected-sites-list/connected-snaps":4613,"../../components/component-library":4955,"../../components/ui/popover":5281,"../../helpers/constants/design-system":5355,"../../helpers/utils/util":5399,"../../hooks/useI18nContext":5427,"../../selectors":5987,"@metamask/snaps-utils":2163,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=v;var a=h(e("prop-types")),r=h(e("react")),o=e("react-redux"),s=e("@metamask/snaps-utils"),i=h(e("../../components/ui/popover")),c=h(e("../../components/app/connected-accounts-list")),l=h(e("../../components/app/connected-accounts-permissions")),u=e("../../helpers/utils/util"),d=e("../../hooks/useI18nContext"),m=h(e("../../components/app/connected-sites-list/connected-snaps")),p=e("../../helpers/constants/design-system"),f=e("../../components/component-library"),g=e("../../selectors");function h(e){return e&&e.__esModule?e:{default:e}}function v({accountToConnect:e=null,activeTabOrigin:t,isActiveTabExtension:n,connectAccount:a,connectedAccounts:h,history:v,mostRecentOverviewPage:T,permissions:y=undefined,selectedAddress:b,removePermittedAccount:_,setSelectedAccount:E,subjectMetadata:k,originOfActiveTab:x,permissionSubjects:w}){var C,A,S;const P=(0,d.useI18nContext)(),N=(0,o.useSelector)(g.getInternalAccounts),M=k[x],O=(null===(C=w[x])||void 0===C?void 0:C.origin)===(null==M?void 0:M.origin)&&(null===(A=w[x])||void 0===A?void 0:A.permissions[s.WALLET_SNAP_PERMISSION_KEY]),R=O&&Object.keys(null===(S=w[x])||void 0===S||null===(S=S.permissions)||void 0===S||null===(S=S.wallet_snap)||void 0===S||null===(S=S.caveats[0])||void 0===S?void 0:S.value),I=O&&(null==R?void 0:R.map((e=>k[e]))),D=h.length>0?P("connectedAccountsDescriptionPlural",[h.length]):P("connectedAccountsDescriptionSingular");let F;return F=h.length&&!O?D:O&&!h.length?P("connectedSnapAndNoAccountDescription"):h&&O?null:P("connectedAccountsEmptyDescription"),r.default.createElement(i.default,{title:n?P("currentExtension"):(0,u.getURLHost)(t),headerProps:{paddingLeft:4,paddingRight:4},subtitle:F,onClose:()=>v.push(T),footerClassName:"connected-accounts__footer",ConnectedAccountsPermissions:{},footer:h.length>0&&r.default.createElement(l.default,{permissions:y})},r.default.createElement(f.Box,null,h.length>0?r.default.createElement(f.Box,{marginLeft:4},r.default.createElement(f.Text,{variant:p.TextVariant.bodyMdMedium,color:p.TextColor.textAlternative},P("accountsConnected")," (",h.length,")")):null,r.default.createElement(c.default,{accountToConnect:e,connectAccount:a,connectedAccounts:h,selectedAddress:b,removePermittedAccount:_,setSelectedAddress:e=>{const{id:t}=N.find((t=>t.address===e));E(t)},shouldRenderListOptions:!0})),O&&I.length>0&&r.default.createElement(r.default.Fragment,null,r.default.createElement(f.Box,{marginLeft:4},r.default.createElement(f.Text,{variant:p.TextVariant.bodyMdMedium,color:p.TextColor.textAlternative},P("snapsConnected")," (",R.length,")")),r.default.createElement(m.default,{connectedSubjects:I})))}v.propTypes={accountToConnect:a.default.object,activeTabOrigin:a.default.string.isRequired,connectAccount:a.default.func.isRequired,connectedAccounts:a.default.array.isRequired,mostRecentOverviewPage:a.default.string.isRequired,permissions:a.default.array,isActiveTabExtension:a.default.bool.isRequired,selectedAddress:a.default.string.isRequired,removePermittedAccount:a.default.func.isRequired,setSelectedAccount:a.default.func.isRequired,history:a.default.object.isRequired,subjectMetadata:a.default.arrayOf(a.default.object).isRequired,originOfActiveTab:a.default.string,permissionSubjects:a.default.object}}}},{package:"$root$",file:"ui/pages/connected-accounts/connected-accounts.component.js"}],[5727,{"../../ducks/history/history":5343,"../../helpers/utils/util":5399,"../../selectors":5987,"../../store/actions":5998,"./connected-accounts.component":5726,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=e("react-redux"),o=e("../../selectors"),s=e("../../helpers/utils/util"),i=e("../../store/actions"),c=e("../../ducks/history/history"),l=(a=e("./connected-accounts.component"))&&a.__esModule?a:{default:a};n.default=(0,r.connect)((e=>{var t;const{activeTab:n}=e,a=(0,o.getAccountToConnectToActiveTab)(e),r=(0,o.getOrderedConnectedAccountsForActiveTab)(e),i=(0,o.getInternalAccounts)(e),l=new Map(i.map((e=>[e.address,e]))),u=r.map((e=>{var t;return{...e,name:null===(t=l.get(e.address))||void 0===t?void 0:t.metadata.name}})),d=a&&{...a,name:null===(t=i.find((e=>e.address===(null==a?void 0:a.address))))||void 0===t?void 0:t.metadata.name},m=(0,o.getPermissionsForActiveTab)(e),{address:p}=(0,o.getSelectedInternalAccount)(e),f=(0,o.getSubjectMetadata)(e),g=(0,o.getOriginOfCurrentTab)(e),h=(0,o.getPermissionSubjects)(e);return{accountToConnect:d,isActiveTabExtension:(0,s.isExtensionUrl)(n),activeTabOrigin:n.origin,connectedAccounts:u,mostRecentOverviewPage:(0,c.getMostRecentOverviewPage)(e),permissions:m,selectedAddress:p,subjectMetadata:f,originOfActiveTab:g,permissionSubjects:h}}),(e=>({addPermittedAccount:(t,n)=>e((0,i.addPermittedAccount)(t,n)),removePermittedAccount:(t,n)=>e((0,i.removePermittedAccount)(t,n)),setSelectedAccount:t=>e((0,i.setSelectedInternalAccount)(t))})),((e,t,n)=>{const{activeTabOrigin:a}=e;return{...n,...e,...t,connectAccount:e=>t.addPermittedAccount(a,e),removePermittedAccount:e=>t.removePermittedAccount(a,e)}}))(l.default)}}},{package:"$root$",file:"ui/pages/connected-accounts/connected-accounts.container.js"}],[5728,{"./connected-accounts.container":5727},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./connected-accounts.container"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/connected-accounts/index.js"}],[5729,{"../../components/app/connected-sites-list":4614,"../../components/ui/button":5198,"../../components/ui/popover/popover.component":5282,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=l(e("prop-types")),r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=l(e("../../components/app/connected-sites-list")),s=l(e("../../components/ui/popover/popover.component")),i=l(e("../../components/ui/button"));function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class d extends r.Component{constructor(...e){super(...e),u(this,"state",{sitePendingDisconnect:null}),u(this,"setPendingDisconnect",(e=>{this.setState({sitePendingDisconnect:{subjectKey:e}})})),u(this,"clearPendingDisconnect",(()=>{this.setState({sitePendingDisconnect:null})})),u(this,"disconnectAccount",(()=>{const{disconnectAccount:e}=this.props,{sitePendingDisconnect:t}=this.state;e(t.subjectKey),this.clearPendingDisconnect()})),u(this,"disconnectAllAccounts",(()=>{const{disconnectAllAccounts:e}=this.props,{sitePendingDisconnect:t}=this.state;e(t.subjectKey),this.clearPendingDisconnect()}))}componentDidMount(){const{getOpenMetamaskTabsIds:e}=this.props;e()}renderConnectedSitesList(){return r.default.createElement(o.default,{connectedSubjects:this.props.connectedSubjects,onDisconnect:this.setPendingDisconnect})}renderConnectedSitesPopover(){const{accountLabel:e,closePopover:t,connectedSubjects:n,tabToConnect:a,requestAccountsPermission:o}=this.props,{t:i}=this.context;return r.default.createElement(s.default,{className:"connected-sites",title:i("connectedSites"),subtitle:n.length?i("connectedSitesDescription",[e]):i("connectedSitesEmptyDescription",[e]),onClose:t,footer:a?r.default.createElement("a",{className:"connected-sites__text-button",onClick:o},i("connectManually")):null,footerClassName:"connected-sites__add-site-manually"},this.renderConnectedSitesList())}renderDisconnectPopover(){const{closePopover:e,permittedAccountsByOrigin:t}=this.props,{t:n}=this.context,{sitePendingDisconnect:{subjectKey:a}}=this.state,o=t[a].length;return r.default.createElement(s.default,{className:"connected-sites",title:n("disconnectPrompt",[a]),subtitle:n("disconnectAllAccountsConfirmationDescription"),onClose:e,footer:r.default.createElement(r.default.Fragment,null,r.default.createElement("div",{className:"connected-sites__footer-row"},r.default.createElement(i.default,{type:"secondary",onClick:this.clearPendingDisconnect},n("cancel")),r.default.createElement(i.default,{type:"primary",onClick:this.disconnectAccount},n("disconnect"))),o>1?r.default.createElement("div",{className:"connected-sites__footer-row"},r.default.createElement("a",{className:"connected-sites__text-button",onClick:this.disconnectAllAccounts},n("disconnectAllAccounts"))):null),footerClassName:"connected-sites__confirmation"})}render(){const{sitePendingDisconnect:e}=this.state;return e?this.renderDisconnectPopover():this.renderConnectedSitesPopover()}}n.default=d,u(d,"contextTypes",{t:a.default.func}),u(d,"defaultProps",{tabToConnect:null}),u(d,"propTypes",{accountLabel:a.default.string.isRequired,closePopover:a.default.func.isRequired,connectedSubjects:a.default.arrayOf(a.default.object).isRequired,disconnectAllAccounts:a.default.func.isRequired,disconnectAccount:a.default.func.isRequired,getOpenMetamaskTabsIds:a.default.func.isRequired,permittedAccountsByOrigin:a.default.objectOf(a.default.arrayOf(a.default.string)).isRequired,tabToConnect:a.default.object,requestAccountsPermission:a.default.func.isRequired})}}},{package:"$root$",file:"ui/pages/connected-sites/connected-sites.component.js"}],[5730,{"../../ducks/history/history":5343,"../../helpers/constants/routes":5361,"../../selectors":5987,"../../store/actions":5998,"./connected-sites.component":5729,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=e("react-redux"),o=e("../../store/actions"),s=e("../../selectors"),i=e("../../helpers/constants/routes"),c=e("../../ducks/history/history"),l=(a=e("./connected-sites.component"))&&a.__esModule?a:{default:a};n.default=(0,r.connect)((e=>{var t;const{openMetaMaskTabs:n}=e.appState,{id:a}=e.activeTab,r=(0,s.getConnectedSubjectsForSelectedAddress)(e),o=(0,s.getOriginOfCurrentTab)(e),i=(0,s.getPermittedAccountsByOrigin)(e),{address:l}=(0,s.getSelectedInternalAccount)(e),u=!(null!==(t=i[o])&&void 0!==t&&t.length);let d;return o&&u&&!n[a]&&(d={origin:o}),{accountLabel:(0,s.getSelectedInternalAccount)(e).metadata.name,connectedSubjects:r,subjects:(0,s.getPermissionSubjects)(e),mostRecentOverviewPage:(0,c.getMostRecentOverviewPage)(e),permittedAccountsByOrigin:i,selectedAddress:l,tabToConnect:d}}),(e=>({getOpenMetamaskTabsIds:()=>e((0,o.getOpenMetamaskTabsIds)()),disconnectAccount:(t,n)=>{e((0,o.removePermittedAccount)(t,n))},disconnectAllAccounts:(t,n)=>{const a=Object.values(n.permissions).map((({parentCapability:e})=>e));e((0,o.removePermissionsFor)({[t]:a}))},requestAccountsPermissionWithId:t=>e((0,o.requestAccountsPermissionWithId)(t))})),((e,t,n)=>{const{connectedSubjects:a,subjects:r,mostRecentOverviewPage:o,selectedAddress:s,tabToConnect:c}=e,{disconnectAccount:l,disconnectAllAccounts:u,requestAccountsPermissionWithId:d}=t,{history:m}=n,p=()=>m.push(o);return{...n,...e,...t,closePopover:p,disconnectAccount:e=>{l(e,s),1===a.length&&p()},disconnectAllAccounts:e=>{u(e,r[e]),1===a.length&&p()},requestAccountsPermission:async()=>{const e=await d(c.origin);m.push(`${i.CONNECT_ROUTE}/${e}`)}}}))(l.default)}}},{package:"$root$",file:"ui/pages/connected-sites/connected-sites.container.js"}],[5731,{"./connected-sites.container":5730},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./connected-sites.container"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/connected-sites/index.js"}],[5732,{"../../../../shared/constants/hardware-wallets":4501,"../../../../shared/constants/metametrics":4505,"../../../components/ui/button":5198,"../../../components/ui/check-box":5202,"../../../components/ui/dropdown":5218,"../../../helpers/utils/util":5399,"@metamask/etherscan-link":1369,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=p(e("prop-types")),r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=m(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=e("@metamask/etherscan-link"),s=p(e("../../../components/ui/button")),i=p(e("../../../components/ui/check-box")),c=p(e("../../../components/ui/dropdown")),l=e("../../../helpers/utils/util"),u=e("../../../../shared/constants/hardware-wallets"),d=e("../../../../shared/constants/metametrics");function m(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(m=function(e){return e?n:t})(e)}function p(e){return e&&e.__esModule?e:{default:e}}function f(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class g extends r.Component{constructor(...e){super(...e),f(this,"state",{pathValue:null}),f(this,"goToNextPage",(()=>{5===this.props.accounts.length?this.props.getPage(this.props.device,1,this.props.selectedPath):this.props.onAccountRestriction()})),f(this,"goToPreviousPage",(()=>{this.props.getPage(this.props.device,-1,this.props.selectedPath)}))}setPath(e){this.setState({pathValue:e})}isFirstPage(){var e;return 0===(null===(e=this.props.accounts[0])||void 0===e?void 0:e.index)}renderHdPathSelector(){const{device:e,selectedPath:t,hdPaths:n,onPathChange:a}=this.props,{pathValue:o}=this.state;return r.default.createElement("div",null,r.default.createElement("h3",{className:"hw-connect__hdPath__title"},this.context.t("selectHdPath")),r.default.createElement("p",{className:"hw-connect__msg"},this.context.t("selectPathHelp")),r.default.createElement("div",{className:"hw-connect__hdPath"},r.default.createElement(c.default,{className:"hw-connect__hdPath__select",options:n[e.toLowerCase()],selectedOption:o||t,onChange:e=>{this.setPath(e),a(e)}})))}capitalizeDevice(e){return e.slice(0,1).toUpperCase()+e.slice(1)}renderHeader(){const{device:e}=this.props,t=[u.HardwareDeviceNames.ledger,u.HardwareDeviceNames.lattice,u.HardwareDeviceNames.trezor].includes(e.toLowerCase());return r.default.createElement("div",{className:"hw-connect"},r.default.createElement("h3",{className:"hw-connect__unlock-title"},this.context.t("selectAnAccount")),t?this.renderHdPathSelector():null,r.default.createElement("h3",{className:"hw-connect__hdPath__title"},this.context.t("selectAnAccount")))}renderAccounts(){const{accounts:e,connectedAccounts:t,rpcPrefs:n,chainId:a}=this.props;return r.default.createElement("div",{className:"hw-account-list"},e.map(((e,s)=>{const c=t.includes(e.address.toLowerCase()),u=e.index,m=this.props.selectedAccounts.includes(e.index)||c,p=(0,o.getAccountLink)(e.address,a,n),f=(0,l.getURLHostName)(p);return r.default.createElement("div",{className:"hw-account-list__item",key:e.address,"data-testid":"hw-account-list__item",title:c?this.context.t("selectAnAccountAlreadyConnected"):""},r.default.createElement("div",{className:"hw-account-list__item__checkbox"},r.default.createElement(i.default,{id:`address-${s}`,checked:m,disabled:c,onClick:()=>{this.props.onAccountChange(u)}}),r.default.createElement("label",{className:"hw-account-list__item__label",htmlFor:`address-${s}`},r.default.createElement("span",{className:"hw-account-list__item__index"},e.index+1),`${e.address.slice(0,4)}...${e.address.slice(-4)}`,r.default.createElement("span",{className:"hw-account-list__item__balance"},`${e.balance}`))),r.default.createElement("a",{className:"hw-account-list__item__link",onClick:()=>{this.context.trackEvent({category:d.MetaMetricsEventCategory.Accounts,event:"Clicked Block Explorer Link",properties:{actions:"Hardware Connect",link_type:"Account Tracker",block_explorer_domain:f}}),global.platform.openTab({url:p})},target:"_blank",rel:"noopener noreferrer",title:this.context.t("genericExplorerView",[f])},r.default.createElement("i",{className:"fa fa-share-square",style:{color:"var(--color-icon-default)"}})))})))}renderPagination(){return r.default.createElement("div",{className:"hw-list-pagination"},r.default.createElement("button",{className:"hw-list-pagination__button",disabled:this.isFirstPage(),onClick:this.goToPreviousPage,"data-testid":"hw-list-pagination__prev-button"},`< ${this.context.t("prev")}`),r.default.createElement("button",{className:"hw-list-pagination__button",onClick:this.goToNextPage},`${this.context.t("next")} >`))}renderButtons(){const e=0===this.props.selectedAccounts.length;return e&&({}.disabled=!0),r.default.createElement("div",{className:"new-external-account-form__buttons"},r.default.createElement(s.default,{type:"secondary",large:!0,className:"new-external-account-form__button",onClick:this.props.onCancel.bind(this)},this.context.t("cancel")),r.default.createElement(s.default,{type:"primary",large:!0,className:"new-external-account-form__button unlock",disabled:e,onClick:this.props.onUnlockAccounts.bind(this,this.props.device,this.props.selectedPath)},this.context.t("unlock")))}renderForgetDevice(){return r.default.createElement("div",{className:"hw-forget-device-container"},r.default.createElement("a",{onClick:this.props.onForgetDevice.bind(this,this.props.device)},this.context.t("forgetDevice")))}render(){return r.default.createElement("div",{className:"new-external-account-form account-list"},this.renderHeader(),this.renderAccounts(),this.renderPagination(),this.renderButtons(),this.renderForgetDevice())}}g.propTypes={onPathChange:a.default.func.isRequired,selectedPath:a.default.string.isRequired,device:a.default.string.isRequired,accounts:a.default.array.isRequired,connectedAccounts:a.default.array.isRequired,onAccountChange:a.default.func.isRequired,onForgetDevice:a.default.func.isRequired,getPage:a.default.func.isRequired,chainId:a.default.string,rpcPrefs:a.default.object,selectedAccounts:a.default.array.isRequired,onUnlockAccounts:a.default.func,onCancel:a.default.func,onAccountRestriction:a.default.func,hdPaths:a.default.object.isRequired},g.contextTypes={t:a.default.func,trackEvent:a.default.func};n.default=g}}},{package:"$root$",file:"ui/pages/create-account/connect-hardware/account-list.js"}],[5733,{"../../../../shared/constants/hardware-wallets":4501,"../../../../shared/constants/metametrics":4505,"../../../../shared/constants/time":4518,"../../../components/component-library":4955,"../../../ducks/history/history":5343,"../../../helpers/constants/design-system":5355,"../../../helpers/constants/zendesk-url":5368,"../../../helpers/utils/util":5399,"../../../selectors":5987,"../../../store/actions":5998,"./account-list":5732,"./select-hardware":5734,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=n.TREZOR_HD_PATHS=n.LEDGER_HD_PATHS=n.LATTICE_HD_PATHS=void 0;var a=b(e("react")),r=T(e("prop-types")),o=e("react-redux"),s=b(e("../../../store/actions")),i=e("../../../selectors"),c=e("../../../helpers/utils/util"),l=e("../../../ducks/history/history"),u=e("../../../../shared/constants/metametrics"),d=e("../../../../shared/constants/time"),m=e("../../../../shared/constants/hardware-wallets"),p=e("../../../components/component-library"),f=T(e("../../../helpers/constants/zendesk-url")),g=e("../../../helpers/constants/design-system"),h=T(e("./select-hardware")),v=T(e("./account-list"));function T(e){return e&&e.__esModule?e:{default:e}}function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(y=function(e){return e?n:t})(e)}function b(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=y(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}function _(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const E="U2F",k={"0x650f":"ledgerErrorConnectionIssue","0x5515":"ledgerErrorDevicedLocked","0x6501":"ledgerErrorEthAppNotOpen","0x6a80":"ledgerErrorTransactionDataNotPadded"},x="m/44'/60'/0'",w="m/44'/60'/0'/0",C="m/44'/60'/0'/0/x",A="m/44'/60'/x'/0/0",S="m/44'/60'/0'/x",P={ledger:n.LEDGER_HD_PATHS=[{name:"Ledger Live",value:"m/44'/60'/0'/0/0"},{name:"Legacy (MEW / MyCrypto)",value:x},{name:"BIP44 Standard (e.g. MetaMask, Trezor)",value:w}],lattice:n.LATTICE_HD_PATHS=[{name:`Standard (${C})`,value:C},{name:`Ledger Live (${A})`,value:A},{name:`Ledger Legacy (${S})`,value:S}],trezor:n.TREZOR_HD_PATHS=[{name:"BIP44 Standard (e.g. MetaMask, Trezor)",value:w},{name:"Legacy (Ledger / MEW / MyCrypto)",value:x},{name:"Trezor Testnets",value:"m/44'/1'/0'/0"}]},N=(e,t)=>{switch(e){case"0x650f":return t("ledgerErrorConnectionIssue");case"0x5515":return t("ledgerErrorDevicedLocked");case"0x6501":return t("ledgerErrorEthAppNotOpen");case"0x6a80":return t("ledgerErrorTransactionDataNotPadded");default:return e}};class M extends a.Component{constructor(...e){super(...e),_(this,"state",{error:null,selectedAccounts:[],accounts:[],browserSupported:!0,unlocked:!1,device:null,isFirefox:!1}),_(this,"connectToHardwareWallet",(e=>{this.setState({device:e}),this.state.accounts.length||this.getPage(e,0,this.props.defaultHdPaths[e])})),_(this,"onPathChange",(e=>{this.props.setHardwareWalletDefaultHdPath({device:this.state.device,path:e}),this.setState({selectedAccounts:[]}),this.getPage(this.state.device,0,e)})),_(this,"onAccountChange",(e=>{let{selectedAccounts:t}=this.state;t.includes(e)?t=t.filter((t=>e!==t)):t.push(e),this.setState({selectedAccounts:t,error:null})})),_(this,"onAccountRestriction",(()=>{this.setState({error:this.context.t("ledgerAccountRestriction")})})),_(this,"getPage",((e,t,n)=>{this.props.connectHardware(e,t,n,this.context.t).then((t=>{if(t.length){0!==this.state.accounts.length||this.state.unlocked||this.showTemporaryAlert();const n=t.map((e=>{var t;const n=e.address.toLowerCase(),a=(null===(t=this.props.accounts[n])||void 0===t?void 0:t.balance)||null;return e.balance=a?(0,c.formatBalance)(a,6):"...",e}));this.setState({accounts:n,unlocked:!0,device:e,error:null})}})).catch((e=>{const t="string"==typeof e?e:e.message,n=Object.keys(k).find((e=>t.includes(e)));"Window blocked"===t?this.setState({browserSupported:!1,error:null}):t.includes(E)?this.setState({error:E}):"LEDGER_LOCKED"===t||"LEDGER_WRONG_APP"===t?this.setState({error:this.context.t("ledgerLocked")}):t.includes("timeout")?this.setState({error:this.context.t("ledgerTimeout")}):n?this.setState({error:`${t} - ${N(n)}`}):t.toLowerCase().includes("KeystoneError#pubkey_account.no_expected_account".toLowerCase())?this.setState({error:this.context.t("QRHardwarePubkeyAccountOutOfRange")}):"Window closed"!==t&&"Popup closed"!==t&&!1===t.toLowerCase().includes("KeystoneError#sync_cancel".toLowerCase())&&this.setState({error:t})}))})),_(this,"onForgetDevice",(e=>{this.props.forgetDevice(e).then((e=>{this.setState({error:null,selectedAccounts:[],accounts:[],unlocked:!1})})).catch((e=>{this.setState({error:e.message})}))})),_(this,"onUnlockAccounts",((e,t)=>{const{history:n,mostRecentOverviewPage:a,unlockHardwareWalletAccounts:r}=this.props,{selectedAccounts:o}=this.state;0===o.length&&this.setState({error:this.context.t("accountSelectionRequired")});const s=x===t?this.context.t("hardwareWalletLegacyDescription"):"";return r(o,e,t||null,s).then((t=>{this.context.trackEvent({category:u.MetaMetricsEventCategory.Accounts,event:u.MetaMetricsEventName.AccountAdded,properties:{account_type:u.MetaMetricsEventAccountType.Hardware,account_hardware_type:e}}),n.push(a)})).catch((t=>{this.context.trackEvent({category:u.MetaMetricsEventCategory.Accounts,event:u.MetaMetricsEventName.AccountAddFailed,properties:{account_type:u.MetaMetricsEventAccountType.Hardware,account_hardware_type:e,error:t.message}}),this.setState({error:t.message})}))})),_(this,"onCancel",(()=>{const{history:e,mostRecentOverviewPage:t}=this.props;e.push(t)}))}UNSAFE_componentWillReceiveProps(e){const{accounts:t}=e,n=this.state.accounts.map((e=>{var n;const a=e.address.toLowerCase(),r=(null===(n=t[a])||void 0===n?void 0:n.balance)||null;return e.balance=r?(0,c.formatBalance)(r,6):"...",e}));this.setState({accounts:n})}componentDidMount(){this.checkIfUnlocked();const e=window.navigator.userAgent;/Firefox/u.test(e)&&this.setState({isFirefox:!0})}async checkIfUnlocked(){for(const e of[m.HardwareDeviceNames.trezor,m.HardwareDeviceNames.ledger,m.HardwareDeviceNames.lattice]){const t=this.props.defaultHdPaths[e];await this.props.checkHardwareStatus(e,t)&&(this.setState({unlocked:!0}),this.getPage(e,0,t))}}showTemporaryAlert(){this.props.showAlert(this.context.t("hardwareWalletConnected")),setTimeout((e=>{this.props.hideAlert()}),5*d.SECOND)}renderError(){return this.state.error===E?"ledger"===this.state.device&&this.state.isFirefox?a.default.createElement(a.default.Fragment,null,a.default.createElement(p.Text,{color:g.TextColor.warningDefault,margin:[5,5,2]},this.context.t("troubleConnectingToLedgerU2FOnFirefox",[a.default.createElement(p.Button,{variant:p.BUTTON_VARIANT.LINK,href:f.default.HARDWARE_CONNECTION,size:p.BUTTON_SIZES.INHERIT,key:"u2f-error-1",as:"a",block:!1,target:"_blank",rel:"noopener noreferrer"},this.context.t("troubleConnectingToLedgerU2FOnFirefox2"))])),a.default.createElement(p.Text,{color:g.TextColor.warningDefault,margin:[5,5,2]},this.context.t("troubleConnectingToLedgerU2FOnFirefoxLedgerSolution",[a.default.createElement(p.Button,{variant:p.BUTTON_VARIANT.LINK,href:f.default.LEDGER_FIREFOX_U2F_GUIDE,size:p.BUTTON_SIZES.INHERIT,key:"u2f-error-1",as:"a",target:"_blank",rel:"noopener noreferrer"},this.context.t("troubleConnectingToLedgerU2FOnFirefoxLedgerSolution2"))]))):a.default.createElement(p.Text,{color:g.TextColor.warningDefault,margin:[5,5,2]},this.context.t("troubleConnectingToWallet",[this.state.device,a.default.createElement(p.Button,{variant:p.BUTTON_VARIANT.LINK,href:f.default.HARDWARE_CONNECTION,key:"u2f-error-1"},this.context.t("walletConnectionGuide"))])):this.state.error?a.default.createElement("span",{className:"hw-connect__error"},this.state.error):null}renderContent(){return this.state.accounts.length?a.default.createElement(v.default,{onPathChange:this.onPathChange,selectedPath:this.props.defaultHdPaths[this.state.device],device:this.state.device,accounts:this.state.accounts,connectedAccounts:this.props.connectedAccounts,selectedAccounts:this.state.selectedAccounts,onAccountChange:this.onAccountChange,chainId:this.props.chainId,rpcPrefs:this.props.rpcPrefs,getPage:this.getPage,onUnlockAccounts:this.onUnlockAccounts,onForgetDevice:this.onForgetDevice,onCancel:this.onCancel,onAccountRestriction:this.onAccountRestriction,hdPaths:P}):a.default.createElement(h.default,{connectToHardwareWallet:this.connectToHardwareWallet,browserSupported:this.state.browserSupported,ledgerTransportType:this.props.ledgerTransportType,onCancel:this.onCancel})}render(){return a.default.createElement(a.default.Fragment,null,this.renderError(),this.renderContent())}}_(M,"contextTypes",{t:r.default.func}),M.propTypes={connectHardware:r.default.func,checkHardwareStatus:r.default.func,forgetDevice:r.default.func,showAlert:r.default.func,hideAlert:r.default.func,unlockHardwareWalletAccounts:r.default.func,setHardwareWalletDefaultHdPath:r.default.func,history:r.default.object,chainId:r.default.string,rpcPrefs:r.default.object,accounts:r.default.object,connectedAccounts:r.default.array.isRequired,defaultHdPaths:r.default.object,mostRecentOverviewPage:r.default.string.isRequired,ledgerTransportType:r.default.oneOf(Object.values(m.LedgerTransportTypes))};M.contextTypes={t:r.default.func,trackEvent:r.default.func};n.default=(0,o.connect)((e=>({chainId:(0,i.getCurrentChainId)(e),rpcPrefs:(0,i.getRpcPrefsForCurrentProvider)(e),accounts:(0,i.getMetaMaskAccounts)(e),connectedAccounts:(0,i.getMetaMaskAccountsConnected)(e),defaultHdPaths:e.appState.defaultHdPaths,mostRecentOverviewPage:(0,l.getMostRecentOverviewPage)(e),ledgerTransportType:e.metamask.ledgerTransportType})),(e=>({setHardwareWalletDefaultHdPath:({device:t,path:n})=>e(s.setHardwareWalletDefaultHdPath({device:t,path:n})),connectHardware:(t,n,a,r)=>e(s.connectHardware(t,n,a,r)),checkHardwareStatus:(t,n)=>e(s.checkHardwareStatus(t,n)),forgetDevice:t=>e(s.forgetDevice(t)),unlockHardwareWalletAccounts:(t,n,a,r)=>e(s.unlockHardwareWalletAccounts(t,n,a,r)),showAlert:t=>e(s.showAlert(t)),hideAlert:()=>e(s.hideAlert())})))(M)}}},{package:"$root$",file:"ui/pages/create-account/connect-hardware/index.js"}],[5734,{"../../../../shared/constants/hardware-wallets":4501,"../../../../shared/constants/metametrics":4505,"../../../components/component-library":4955,"../../../components/ui/logo/logo-lattice":5258,"../../../components/ui/logo/logo-ledger":5259,"../../../components/ui/logo/logo-qr-based":5260,"../../../components/ui/logo/logo-trezor":5261,"../../../helpers/constants/design-system":5355,"../../../helpers/constants/zendesk-url":5368,"../../../helpers/utils/window":5401,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=v(e("classnames")),r=v(e("prop-types")),o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=h(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),s=e("../../../components/component-library"),i=v(e("../../../components/ui/logo/logo-ledger")),c=v(e("../../../components/ui/logo/logo-qr-based")),l=v(e("../../../components/ui/logo/logo-trezor")),u=v(e("../../../components/ui/logo/logo-lattice")),d=e("../../../../shared/constants/hardware-wallets"),m=v(e("../../../helpers/constants/zendesk-url")),p=e("../../../../shared/constants/metametrics"),f=e("../../../helpers/utils/window"),g=e("../../../helpers/constants/design-system");function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(h=function(e){return e?n:t})(e)}function v(e){return e&&e.__esModule?e:{default:e}}function T(){return T=Object.assign?Object.assign.bind():function(e){for(var t=1;t{if(this.state.selectedDevice){if("trezor"===this.state.selectedDevice&&window.navigator.usb){this.setState({trezorRequestDevicePending:!0});try{await window.navigator.usb.requestDevice({filters:[{vendorId:21324,productId:1},{vendorId:4617,productId:21440},{vendorId:4617,productId:21441}]})}catch(e){if(!e.message.match("No device selected"))throw e}finally{this.setState({trezorRequestDevicePending:!1})}}this.props.connectToHardwareWallet(this.state.selectedDevice)}return null}))}renderConnectToTrezorButton(){return o.default.createElement("button",{"data-testid":"connect-trezor-btn",className:(0,a.default)("hw-connect__btn",{selected:this.state.selectedDevice===d.HardwareDeviceNames.trezor}),onClick:e=>this.setState({selectedDevice:d.HardwareDeviceNames.trezor})},o.default.createElement(l.default,{className:"hw-connect__btn__img",ariaLabel:"Trezor"}))}renderConnectToLatticeButton(){return o.default.createElement("button",{"data-testid":"connect-lattice-btn",className:(0,a.default)("hw-connect__btn",{selected:this.state.selectedDevice===d.HardwareDeviceNames.lattice}),onClick:e=>this.setState({selectedDevice:d.HardwareDeviceNames.lattice})},o.default.createElement(u.default,{className:"hw-connect__btn__img",ariaLabel:"Lattice"}))}renderConnectToLedgerButton(){return o.default.createElement("button",{"data-testid":"connect-ledger-btn",className:(0,a.default)("hw-connect__btn",{selected:this.state.selectedDevice===d.HardwareDeviceNames.ledger}),onClick:e=>this.setState({selectedDevice:d.HardwareDeviceNames.ledger})},o.default.createElement(i.default,{className:"hw-connect__btn__img",ariaLabel:"Ledger"}))}renderConnectToQRButton(){return o.default.createElement("button",{"data-testid":"connect-qr-btn",className:(0,a.default)("hw-connect__btn",{selected:this.state.selectedDevice===d.HardwareDeviceNames.qr}),onClick:e=>this.setState({selectedDevice:d.HardwareDeviceNames.qr})},o.default.createElement(c.default,{className:"hw-connect__btn__img",ariaLabel:"QRCode"}))}renderButtons(){return o.default.createElement(o.default.Fragment,null,o.default.createElement("div",{className:"hw-connect__btn-wrapper"},this.renderConnectToLedgerButton(),this.renderConnectToTrezorButton()),o.default.createElement("div",{className:"hw-connect__btn-wrapper",style:{margin:"10px 0 0 0"}},this.renderConnectToLatticeButton(),this.renderConnectToQRButton()))}renderContinueButton(){return o.default.createElement(s.Button,{variant:s.BUTTON_VARIANT.PRIMARY,size:s.BUTTON_SIZES.LG,className:"hw-connect__connect-btn",onClick:this.connect,disabled:!this.state.selectedDevice||this.state.trezorRequestDevicePending},this.context.t("continue"))}renderFooter(){return o.default.createElement(s.Text,{color:g.TextColor.textAlternative,variant:g.TextVariant.bodySm,textAlign:g.TextAlign.Center,as:"h6",marginTop:4,className:"new-external-account-form footer"},this.context.t("hardwareWalletsInfo"))}renderUnsupportedBrowser(){return o.default.createElement(s.Box,{display:g.Display.Flex,flexDirection:g.FlexDirection.Column,justifyContent:g.JustifyContent.center,alignItems:g.AlignItems.center,className:"new-external-account-form unsupported-browser"},o.default.createElement(s.Box,{className:"hw-connect",display:g.Display.Flex,flexDirection:g.FlexDirection.Column,alignItems:g.AlignItems.center},o.default.createElement(s.Text,{className:"hw-connect__title",variant:g.TextVariant.headingMd,as:"h3",fontWeight:g.FontWeight.Bold,marginTop:6,marginBottom:3},this.context.t("browserNotSupported")),o.default.createElement(s.Text,{className:"hw-connect__msg",variant:g.TextVariant.bodyMd,as:"h5",marginTop:3,marginBottom:5},this.context.t("chromeRequiredForHardwareWallets"))),o.default.createElement(s.Button,{variant:s.BUTTON_VARIANT.PRIMARY,size:s.BUTTON_SIZES.LG,onClick:()=>global.platform.openTab({url:"https://google.com/chrome"})},this.context.t("downloadGoogleChrome")))}renderHeader(){return o.default.createElement(s.Box,{className:"hw-connect__header",display:g.Display.Flex,flexDirection:g.FlexDirection.Column,alignItems:g.AlignItems.center},o.default.createElement(s.Box,{display:g.Display.Flex,flexDirection:g.FlexDirection.Row,justifyContent:g.JustifyContent.center,alignItems:g.AlignItems.center,className:"hw-connect__header__title-wrapper",marginTop:6},o.default.createElement(s.Text,{variant:g.TextVariant.headingMd,as:"h3",fontWeight:g.FontWeight.Bold,marginLeft:"auto"},this.context.t("hardwareWallets")),o.default.createElement(s.ButtonIcon,{iconName:s.IconName.Close,ariaLabel:this.context.t("close"),onClick:this.props.onCancel,size:s.ButtonIconSize.Sm,marginLeft:"auto","data-testid":"hardware-connect-close-btn"})),o.default.createElement(s.Text,{className:"hw-connect__header__msg",variant:g.TextVariant.bodyMd,as:"h5",marginTop:5,marginBottom:3},this.context.t("hardwareWalletsMsg")))}renderTutorialSteps(){switch(this.state.selectedDevice){case d.HardwareDeviceNames.ledger:return this.renderLedgerTutorialSteps();case d.HardwareDeviceNames.trezor:return this.renderTrezorTutorialSteps();case d.HardwareDeviceNames.lattice:return this.renderLatticeTutorialSteps();case d.HardwareDeviceNames.qr:return this.renderQRHardwareWalletSteps();default:return""}}renderLedgerTutorialSteps(){const e=[];return this.props.ledgerTransportType===d.LedgerTransportTypes.live&&e.push({renderButtons:!1,title:this.context.t("step1LedgerWallet"),message:this.context.t("step1LedgerWalletMsg",[o.default.createElement("a",{className:"hw-connect__msg-link",href:"https://www.ledger.com/ledger-live",rel:"noopener noreferrer",target:"_blank",key:"ledger-live-app-link"},this.context.t("ledgerLiveApp"))])}),e.push({renderButtons:!0,asset:"plug-in-wallet",dimensions:{width:"225px",height:"75px"},title:this.context.t("step2LedgerWallet"),message:this.context.t("step2LedgerWalletMsg",[o.default.createElement("a",{className:"hw-connect__msg-link",href:m.default.HARDWARE_CONNECTION,rel:"noopener noreferrer",target:"_blank",key:"ledger-support-link"},this.context.t("hardwareWalletSupportLinkConversion"))])}),o.default.createElement("div",{className:"hw-tutorial"},e.map(((e,t)=>o.default.createElement(s.Box,{display:g.Display.Flex,flexDirection:g.FlexDirection.Column,alignItems:g.AlignItems.center,className:"hw-connect",key:t},o.default.createElement("h3",{className:"hw-connect__title"},e.title),e.renderButtons?o.default.createElement(s.Box,{display:g.Display.Flex,flexDirection:g.FlexDirection.Row,justifyContent:g.JustifyContent.center,marginBottom:2},o.default.createElement(s.Button,{className:"hw-connect__external-btn-first",variant:s.BUTTON_VARIANT.SECONDARY,onClick:()=>{this.context.trackEvent({category:p.MetaMetricsEventCategory.Navigation,event:"Clicked Ledger Buy Now"}),(0,f.openWindow)(d.HardwareAffiliateLinks.ledger)}},this.context.t("buyNow")),o.default.createElement(s.Button,{className:"hw-connect__external-btn",variant:s.BUTTON_VARIANT.SECONDARY,onClick:()=>{this.context.trackEvent({category:p.MetaMetricsEventCategory.Navigation,event:"Clicked Ledger Tutorial"}),(0,f.openWindow)(d.HardwareAffiliateTutorialLinks.ledger)}},this.context.t("tutorial"))):null,o.default.createElement("p",{className:"hw-connect__msg"},e.message),e.asset&&o.default.createElement("img",T({className:"hw-connect__step-asset",src:`images/${e.asset}.svg`},e.dimensions,{alt:""}))))))}renderLatticeTutorialSteps(){const e=[{asset:"connect-lattice",dimensions:{width:"225px",height:"75px"},title:this.context.t("step1LatticeWallet"),message:this.context.t("step1LatticeWalletMsg",[o.default.createElement("a",{className:"hw-connect__msg-link",href:m.default.HARDWARE_CONNECTION,rel:"noopener noreferrer",target:"_blank",key:"lattice-setup-link"},this.context.t("hardwareWalletSupportLinkConversion"))])}];return o.default.createElement("div",{className:"hw-tutorial"},e.map(((e,t)=>o.default.createElement(s.Box,{display:g.Display.Flex,flexDirection:g.FlexDirection.Column,alignItems:g.AlignItems.center,className:"hw-connect",key:t},o.default.createElement("h3",{className:"hw-connect__title"},e.title),o.default.createElement(s.Box,{display:g.Display.Flex,flexDirection:g.FlexDirection.Row,justifyContent:g.JustifyContent.center,marginBottom:2},o.default.createElement(s.Button,{className:"hw-connect__external-btn-first",variant:s.BUTTON_VARIANT.SECONDARY,onClick:()=>{this.context.trackEvent({category:p.MetaMetricsEventCategory.Navigation,event:"Clicked GridPlus Buy Now"}),(0,f.openWindow)(d.HardwareAffiliateLinks.gridplus)}},this.context.t("buyNow")),o.default.createElement(s.Button,{className:"hw-connect__external-btn",variant:s.BUTTON_VARIANT.SECONDARY,onClick:()=>{this.context.trackEvent({category:p.MetaMetricsEventCategory.Navigation,event:"Clicked GidPlus Tutorial"}),(0,f.openWindow)(d.HardwareAffiliateTutorialLinks.gridplus)}},this.context.t("tutorial"))),o.default.createElement("p",{className:"hw-connect__msg"},e.message),e.asset&&o.default.createElement("img",T({className:"hw-connect__step-asset",src:`images/${e.asset}.svg`},e.dimensions,{alt:""}))))))}renderTrezorTutorialSteps(){const e=[{asset:"plug-in-wallet",dimensions:{width:"225px",height:"75px"},title:this.context.t("step1TrezorWallet"),message:this.context.t("step1TrezorWalletMsg",[o.default.createElement("a",{className:"hw-connect__msg-link",href:m.default.HARDWARE_CONNECTION,rel:"noopener noreferrer",target:"_blank",key:"trezor-support-link"},this.context.t("hardwareWalletSupportLinkConversion"))])}];return o.default.createElement("div",{className:"hw-tutorial"},e.map(((e,t)=>o.default.createElement(s.Box,{display:g.Display.Flex,flexDirection:g.FlexDirection.Column,alignItems:g.AlignItems.center,className:"hw-connect",key:t},o.default.createElement("h3",{className:"hw-connect__title"},e.title),o.default.createElement(s.Box,{display:g.Display.Flex,flexDirection:g.FlexDirection.Row,justifyContent:g.JustifyContent.center,marginBottom:2},o.default.createElement(s.Button,{className:"hw-connect__external-btn-first",variant:s.BUTTON_VARIANT.SECONDARY,onClick:()=>{this.context.trackEvent({category:p.MetaMetricsEventCategory.Navigation,event:"Clicked Trezor Buy Now"}),(0,f.openWindow)(d.HardwareAffiliateLinks.trezor)}},this.context.t("buyNow")),o.default.createElement(s.Button,{className:"hw-connect__external-btn",variant:s.BUTTON_VARIANT.SECONDARY,onClick:()=>{this.context.trackEvent({category:p.MetaMetricsEventCategory.Navigation,event:"Clicked Trezor Tutorial"}),(0,f.openWindow)(d.HardwareAffiliateTutorialLinks.trezor)}},this.context.t("tutorial"))),o.default.createElement("p",{className:"hw-connect__msg"},e.message),e.asset&&o.default.createElement("img",T({className:"hw-connect__step-asset",src:`images/${e.asset}.svg`},e.dimensions,{alt:""}))))))}renderQRHardwareWalletSteps(){const e=[];return e.push({title:this.context.t("QRHardwareWalletSteps1Title"),message:this.context.t("QRHardwareWalletSteps1Description")},{message:o.default.createElement(o.default.Fragment,null,o.default.createElement("p",{className:"hw-connect__QR-subtitle"},this.context.t("keystone")),o.default.createElement(s.Button,{className:"hw-connect__external-btn-first",variant:s.BUTTON_VARIANT.SECONDARY,onClick:()=>{this.context.trackEvent({category:p.MetaMetricsEventCategory.Navigation,event:"Clicked Keystone Learn More"}),(0,f.openWindow)(d.HardwareAffiliateLinks.keystone)}},this.context.t("learnMoreKeystone")),o.default.createElement(s.Button,{className:"hw-connect__external-btn",variant:s.BUTTON_VARIANT.SECONDARY,onClick:()=>{this.context.trackEvent({category:p.MetaMetricsEventCategory.Navigation,event:"Clicked Keystone Tutorial"}),(0,f.openWindow)(d.HardwareAffiliateTutorialLinks.keystone)}},this.context.t("tutorial")))},{message:o.default.createElement(o.default.Fragment,null,o.default.createElement("p",{className:"hw-connect__QR-subtitle"},this.context.t("airgapVault")),o.default.createElement(s.Button,{className:"hw-connect__external-btn-first",variant:s.BUTTON_VARIANT.SECONDARY,onClick:()=>{this.context.trackEvent({category:p.MetaMetricsEventCategory.Navigation,event:"Clicked AirGap Vault Buy Now"}),(0,f.openWindow)(d.HardwareAffiliateLinks.airgap)}},this.context.t("downloadNow")),o.default.createElement(s.Button,{className:"hw-connect__external-btn",variant:s.BUTTON_VARIANT.SECONDARY,onClick:()=>{this.context.trackEvent({category:p.MetaMetricsEventCategory.Navigation,event:"Clicked AirGap Vault Tutorial"}),(0,f.openWindow)(d.HardwareAffiliateTutorialLinks.airgap)}},this.context.t("tutorial")))},{message:o.default.createElement(o.default.Fragment,null,o.default.createElement("p",{className:"hw-connect__QR-subtitle"},this.context.t("coolWallet")),o.default.createElement(s.Button,{className:"hw-connect__external-btn-first",variant:s.BUTTON_VARIANT.SECONDARY,onClick:()=>{this.context.trackEvent({category:p.MetaMetricsEventCategory.Navigation,event:"Clicked CoolWallet Buy Now"}),(0,f.openWindow)(d.HardwareAffiliateLinks.coolwallet)}},this.context.t("buyNow")),o.default.createElement(s.Button,{className:"hw-connect__external-btn",variant:s.BUTTON_VARIANT.SECONDARY,onClick:()=>{this.context.trackEvent({category:p.MetaMetricsEventCategory.Navigation,event:"Clicked CoolWallet Tutorial"}),(0,f.openWindow)(d.HardwareAffiliateTutorialLinks.coolwallet)}},this.context.t("tutorial")))},{message:o.default.createElement(o.default.Fragment,null,o.default.createElement("p",{className:"hw-connect__QR-subtitle"},this.context.t("dcent")),o.default.createElement(s.Button,{className:"hw-connect__external-btn-first",variant:s.BUTTON_VARIANT.SECONDARY,onClick:()=>{this.context.trackEvent({category:p.MetaMetricsEventCategory.Navigation,event:"Clicked DCent Buy Now"}),(0,f.openWindow)(d.HardwareAffiliateLinks.dcent)}},this.context.t("buyNow")),o.default.createElement(s.Button,{className:"hw-connect__external-btn",variant:s.BUTTON_VARIANT.SECONDARY,onClick:()=>{this.context.trackEvent({category:p.MetaMetricsEventCategory.Navigation,event:"Clicked DCent Tutorial"}),(0,f.openWindow)(d.HardwareAffiliateTutorialLinks.dcent)}},this.context.t("tutorial")))},{message:o.default.createElement(o.default.Fragment,null,o.default.createElement("p",{className:"hw-connect__QR-subtitle"},this.context.t("imToken")),o.default.createElement(s.Button,{className:"hw-connect__external-btn-first",variant:s.BUTTON_VARIANT.SECONDARY,onClick:()=>{this.context.trackEvent({category:p.MetaMetricsEventCategory.Navigation,event:"Clicked imToken Learn More"}),(0,f.openWindow)(d.HardwareAffiliateLinks.imtoken)}},this.context.t("downloadNow")),o.default.createElement(s.Button,{className:"hw-connect__external-btn",variant:s.BUTTON_VARIANT.SECONDARY,onClick:()=>{this.context.trackEvent({category:p.MetaMetricsEventCategory.Navigation,event:"Clicked imToken Tutorial"}),(0,f.openWindow)(d.HardwareAffiliateTutorialLinks.imtoken)}},this.context.t("tutorial")))},{message:o.default.createElement(o.default.Fragment,null,o.default.createElement("p",{className:"hw-connect__QR-subtitle"},this.context.t("onekey")),o.default.createElement(s.Button,{className:"hw-connect__external-btn-first",variant:s.BUTTON_VARIANT.SECONDARY,onClick:()=>{this.context.trackEvent({category:p.MetaMetricsEventCategory.Navigation,event:"Clicked OneKey Learn More"}),(0,f.openWindow)(d.HardwareAffiliateLinks.onekey)}},this.context.t("buyNow")),o.default.createElement(s.Button,{className:"hw-connect__external-btn",variant:s.BUTTON_VARIANT.SECONDARY,onClick:()=>{this.context.trackEvent({category:p.MetaMetricsEventCategory.Navigation,event:"Clicked OneKey Tutorial"}),(0,f.openWindow)(d.HardwareAffiliateTutorialLinks.onekey)}},this.context.t("tutorial")))},{message:this.context.t("QRHardwareWalletSteps2Description")},{asset:"qrcode-wallet-demo",dimensions:{width:"225px",height:"75px"}}),o.default.createElement("div",{className:"hw-tutorial"},e.map(((e,t)=>o.default.createElement("div",{className:"hw-connect",key:t},e.title&&o.default.createElement("h3",{className:"hw-connect__title"},e.title),o.default.createElement("div",{className:"hw-connect__msg"},e.message),e.asset&&o.default.createElement("img",T({className:"hw-connect__step-asset",src:`images/${e.asset}.svg`},e.dimensions,{alt:""}))))))}renderConnectScreen(){return o.default.createElement(s.Box,{className:"new-external-account-form",display:g.Display.Flex,flexDirection:g.FlexDirection.Column,alignItems:g.AlignItems.center,justifyContent:g.JustifyContent.center},this.renderHeader(),this.renderButtons(),this.state.selectedDevice?this.renderTutorialSteps():null,this.renderContinueButton(),this.renderFooter())}render(){return this.props.browserSupported?this.renderConnectScreen():this.renderUnsupportedBrowser()}}n.default=b,y(b,"contextTypes",{t:r.default.func,trackEvent:r.default.func}),y(b,"propTypes",{onCancel:r.default.func.isRequired,connectToHardwareWallet:r.default.func.isRequired,browserSupported:r.default.bool.isRequired,ledgerTransportType:r.default.oneOf(Object.values(d.LedgerTransportTypes))})}}},{package:"$root$",file:"ui/pages/create-account/connect-hardware/select-hardware.js"}],[5735,{"../../components/component-library":4955,"../../helpers/constants/routes":5361,"./connect-hardware":5733,react:4243,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(){return a.default.createElement(o.Box,{className:"new-account-wrapper"},a.default.createElement(r.Switch,null,a.default.createElement(r.Route,{exact:!0,path:s.CONNECT_HARDWARE_ROUTE,component:i.default})))};var a=c(e("react")),r=e("react-router-dom"),o=e("../../components/component-library"),s=e("../../helpers/constants/routes"),i=c(e("./connect-hardware"));function c(e){return e&&e.__esModule?e:{default:e}}}}},{package:"$root$",file:"ui/pages/create-account/create-account.component.js"}],[5736,{"../../components/app/snaps/snap-authorship-header":4770,"../../components/component-library":4955,"../../helpers/constants/design-system":5355,"../../hooks/useI18nContext":5427,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=c(e("react")),r=e("../../components/component-library"),o=e("../../helpers/constants/design-system"),s=c(e("../../components/app/snaps/snap-authorship-header")),i=e("../../hooks/useI18nContext");function c(e){return e&&e.__esModule?e:{default:e}}n.default=({snapId:e,snapName:t})=>{const n=(0,i.useI18nContext)();return a.default.createElement(r.Box,{className:"create-snap-account-page",height:o.BlockSize.Full,width:o.BlockSize.Full,display:o.Display.Flex,borderStyle:o.BorderStyle.none,flexDirection:o.FlexDirection.Column,alignItems:o.AlignItems.center,marginBottom:0},a.default.createElement(s.default,{snapId:e}),a.default.createElement(r.Box,{display:o.Display.Flex,flexDirection:o.FlexDirection.Column,alignItems:o.AlignItems.center,justifyContent:o.JustifyContent.center,paddingLeft:4,paddingRight:4,style:{flexGrow:1}},a.default.createElement(r.Box,{display:o.Display.Flex,flexDirection:o.FlexDirection.Column,alignItems:o.AlignItems.center},a.default.createElement(r.Box,{paddingBottom:4},a.default.createElement(r.AvatarIcon,{iconName:r.IconName.UserCircleAdd,size:r.AvatarIconSize.Xl})),a.default.createElement(r.Text,{"data-testid":"create-snap-account-content-title",textAlign:o.TextAlign.Center,variant:o.TextVariant.headingLg},n("createSnapAccountTitle")),a.default.createElement(r.Text,{variant:o.TextVariant.bodyMd,textAlign:o.TextAlign.Center,overflowWrap:o.OverflowWrap.Anywhere,"data-testid":"create-snap-account-content-description"},n("createSnapAccountDescription",[a.default.createElement(r.Text,{color:o.TextColor.inherit,variant:o.TextVariant.inherit,fontWeight:o.FontWeight.Medium,key:"1"},t)])))))}}}},{package:"$root$",file:"ui/pages/create-snap-account/create-snap-account.tsx"}],[5737,{"./create-snap-account":5736},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"CreateSnapAccount",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./create-snap-account"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/create-snap-account/hybrid-compute-sdk.ts"}],[5738,{"../../../shared/lib/error-utils":4524,"../../contexts/metametrics":5327,"../../helpers/constants/routes":5361,"../../hooks/useI18nContext":5427,"./render-desktop-error":5741,react:4243,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function({forceDisableDesktop:e}){const t=(0,o.useI18nContext)(),{errorType:n}=(0,a.useParams)(),u=(0,a.useHistory)(),d=(0,r.useContext)(c.MetaMetricsContext);return(0,l.renderDesktopError)({type:n,t:t,isHtmlError:!1,history:u,disableDesktop:()=>{e(),u.push(i.DEFAULT_ROUTE)},downloadDesktopApp:s.downloadDesktopApp,downloadExtension:s.downloadExtension,restartExtension:s.restartExtension,trackEvent:d})};var a=e("react-router-dom"),r=e("react"),o=e("../../hooks/useI18nContext"),s=e("../../../shared/lib/error-utils"),i=e("../../helpers/constants/routes"),c=e("../../contexts/metametrics"),l=e("./render-desktop-error")}}},{package:"$root$",file:"ui/pages/desktop-error/desktop-error.component.js"}],[5739,{"../../store/actionConstants":5997,"./desktop-error.component":5738,"react-redux":4199,"react-router-dom":4228,redux:4261},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=e("react-redux"),o=e("redux"),s=e("react-router-dom"),i=e("../../store/actionConstants"),c=(a=e("./desktop-error.component"))&&a.__esModule?a:{default:a};n.default=(0,o.compose)(s.withRouter,(0,r.connect)((()=>({})),(e=>({forceDisableDesktop:async()=>{e({type:i.FORCE_DISABLE_DESKTOP})}}))))(c.default)}}},{package:"$root$",file:"ui/pages/desktop-error/desktop-error.container.js"}],[5740,{"./desktop-error.container":5739},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./desktop-error.container"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/desktop-error/index.js"}],[5741,{"../../../shared/constants/desktop":4497,"../../../shared/constants/metametrics":4505,"../../../shared/lib/deep-linking":4523,"../../components/ui/box":5194,"../../components/ui/button":5198,"../../components/ui/icon/icon-times":5236,"../../components/ui/typography":5314,"../../helpers/constants/design-system":5355,"../../helpers/constants/routes":5361,react:4243,"react-dom/server":4075},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.renderDesktopError=function({type:e,t:t,isHtmlError:n,history:f,disableDesktop:g,downloadExtension:h,downloadDesktopApp:v,restartExtension:T,openOrDownloadDesktopApp:y,trackEvent:b}){let _;const E={DOWNLOAD_METAMASK_DESKTOP:"Download MetaMask Desktop",OPEN_METAMASK_DESKTOP:"Open MetaMask Desktop",DISABLE_METAMASK_DESKTOP:"Disable MetaMask Desktop",UPDATE_METAMASK_DESKTOP:"Update MetaMask Desktop",RETURN_SETTINGS_PAGE:"Return to Settings Page",UPDATE_METAMASK_EXTENSION:"Update MetaMask Extension",RESTART_METAMASK:"Restart MetaMask",RETURN_METAMASK_HOME:"Return MetaMask Home"},k=()=>{null==f||f.push(c.DEFAULT_ROUTE)},x=()=>{null==f||f.push(c.SETTINGS_ROUTE)},w=e=>a.default.createElement(l.default,{variant:i.TypographyVariant.H4,fontWeight:i.FONT_WEIGHT.BOLD,marginTop:6,marginBottom:6},e),C=e=>a.default.createElement(l.default,{variant:i.TypographyVariant.Paragraph},e),A=(e,t,n,r)=>a.default.createElement(d.default,{marginTop:6},a.default.createElement(u.default,{type:"primary",onClick:()=>{n&&(n(),"function"==typeof b&&b({category:p.MetaMetricsEventCategory.Desktop,event:"Desktop Button Clicked",properties:{button_action:r}}))},id:e},t));switch(e){case s.EXTENSION_ERROR_PAGE_TYPES.NOT_FOUND:_=a.default.createElement(a.default.Fragment,null,w(t("desktopNotFoundErrorTitle")),C(t("desktopNotFoundErrorDescription1")),C(t("desktopNotFoundErrorDescription2")),A("desktop-error-button-download-mmd",t("desktopNotFoundErrorCTA"),v,E.DOWNLOAD_METAMASK_DESKTOP));break;case s.EXTENSION_ERROR_PAGE_TYPES.CONNECTION_LOST:_=a.default.createElement(a.default.Fragment,null,w(t("desktopConnectionLostErrorTitle")),C(t("desktopConnectionLostErrorDescription")),A("desktop-error-button-open-or-download-mmd",t("desktopOpenOrDownloadCTA"),y),A("desktop-error-button-disable-mmd",t("desktopDisableErrorCTA"),g,E.DISABLE_METAMASK_DESKTOP));break;case s.EXTENSION_ERROR_PAGE_TYPES.DESKTOP_OUTDATED:_=a.default.createElement(a.default.Fragment,null,w(t("desktopOutdatedErrorTitle")),C(t("desktopOutdatedErrorDescription")),A("desktop-error-button-update-mmd",t("desktopOutdatedErrorCTA"),v,E.UPDATE_METAMASK_DESKTOP));break;case s.EXTENSION_ERROR_PAGE_TYPES.EXTENSION_OUTDATED:_=a.default.createElement(a.default.Fragment,null,w(t("desktopOutdatedExtensionErrorTitle")),C(t("desktopOutdatedExtensionErrorDescription")),A("desktop-error-button-update-extension",t("desktopOutdatedExtensionErrorCTA"),h,E.UPDATE_METAMASK_EXTENSION));break;case s.EXTENSION_ERROR_PAGE_TYPES.CRITICAL_ERROR:_=a.default.createElement(a.default.Fragment,null,w(t("desktopConnectionCriticalErrorTitle")),C(t("desktopConnectionCriticalErrorDescription")),A("desktop-error-button-restart-mm",t("desktopErrorRestartMMCTA"),T,E.RESTART_METAMASK),A("desktop-error-button-disable-mmd",t("desktopDisableErrorCTA"),g,E.DISABLE_METAMASK_DESKTOP));break;case s.EXTENSION_ERROR_PAGE_TYPES.ROUTE_NOT_FOUND:_=a.default.createElement(a.default.Fragment,null,w(t("desktopRouteNotFoundErrorTitle")),C(t("desktopRouteNotFoundErrorDescription")),A("desktop-error-button-navigate-settings",t("desktopErrorNavigateSettingsCTA"),x,E.RETURN_SETTINGS_PAGE));break;case s.EXTENSION_ERROR_PAGE_TYPES.PAIRING_KEY_NOT_MATCH:_=a.default.createElement(a.default.Fragment,null,w(t("desktopPairedWarningTitle")),C(t("desktopPairedWarningDescription")),a.default.createElement(u.default,{type:"link",onClick:()=>{(0,m.openCustomProtocol)("metamask-desktop://pair").catch((()=>{window.open("https://metamask.io/download.html","_blank").focus()}))},className:"desktop-pairing-warning__link"},t("desktopPairedWarningDeepLink")),A("desktop-error-button-navigate-settings",t("desktopErrorNavigateSettingsCTA"),x,E.RETURN_SETTINGS_PAGE));break;default:_=a.default.createElement(a.default.Fragment,null,w(t("desktopUnexpectedErrorTitle")),C(t("desktopUnexpectedErrorDescription")),A("desktop-error-button-return-mm-home",t("desktopUnexpectedErrorCTA"),k,E.RETURN_METAMASK_HOME))}const S=a.default.createElement(d.default,{display:i.DISPLAY.FLEX,alignItems:i.AlignItems.center,textAlign:i.TEXT_ALIGN.CENTER,flexDirection:i.FLEX_DIRECTION.COLUMN,marginLeft:6,marginRight:6,marginTop:n?8:6},a.default.createElement(o.default,{size:64,color:"var(--color-error-default"}),_);if(n)return r.default.renderToStaticMarkup(S);return S};var a=f(e("react")),r=f(e("react-dom/server")),o=f(e("../../components/ui/icon/icon-times")),s=e("../../../shared/constants/desktop"),i=e("../../helpers/constants/design-system"),c=e("../../helpers/constants/routes"),l=f(e("../../components/ui/typography")),u=f(e("../../components/ui/button")),d=f(e("../../components/ui/box")),m=e("../../../shared/lib/deep-linking"),p=e("../../../shared/constants/metametrics");function f(e){return e&&e.__esModule?e:{default:e}}}}},{package:"$root$",file:"ui/pages/desktop-error/render-desktop-error.js"}],[5742,{"../../../shared/constants/time":4518,"../../components/component-library":4955,"../../components/ui/box/box":5193,"../../components/ui/icon/icon-desktop-pairing":5233,"../../components/ui/tooltip":5310,"../../contexts/i18n":5324,"../../helpers/constants/design-system":5355,"../../hooks/useCopyToClipboard":5417,"prop-types":3997,react:4243,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=h;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=g(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=e("react-router-dom"),o=f(e("prop-types")),s=e("../../../shared/constants/time"),i=e("../../contexts/i18n"),c=f(e("../../components/ui/icon/icon-desktop-pairing")),l=e("../../helpers/constants/design-system"),u=f(e("../../components/ui/box/box")),d=e("../../hooks/useCopyToClipboard"),m=f(e("../../components/ui/tooltip")),p=e("../../components/component-library");function f(e){return e&&e.__esModule?e:{default:e}}function g(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(g=function(e){return e?n:t})(e)}function h({generateDesktopOtp:e,mostRecentOverviewPage:t,showLoadingIndication:n,hideLoadingIndication:o}){const f=(0,a.useContext)(i.I18nContext),g=(0,r.useHistory)(),h=30*s.SECOND,v=s.SECOND,T=(new Date).getTime(),[y,b]=(0,a.useState)(),[_,E]=(0,a.useState)(T),[k,x]=(0,a.useState)(T),[w,C]=(0,d.useCopyToClipboard)(),A=(0,a.useRef)(),S=(0,a.useRef)(),P=()=>{x((new Date).getTime())},N=()=>{const e=h-(k-_);return Math.round(e/s.SECOND)};(0,a.useEffect)((()=>{const t=async()=>{E((new Date).getTime());const t=await e();b(t)};return t(),P(),A.current=setInterval((()=>t()),h),S.current=setInterval((()=>P()),v),function(){clearInterval(A.current),clearInterval(S.current)}}),[h,v,e]);return a.default.createElement(u.default,{display:l.DISPLAY.FLEX,flexDirection:"column",alignItems:l.AlignItems.center,marginLeft:2,marginRight:2},a.default.createElement(u.default,{display:l.DISPLAY.FLEX,justifyContent:l.JustifyContent.center,marginTop:8,marginBottom:8},a.default.createElement(c.default,{className:"desktop-pairing__icon",size:64})),y?(o(),a.default.createElement(a.default.Fragment,null,a.default.createElement(p.Text,{variant:l.TextVariant.headingMd,align:l.TEXT_ALIGN.CENTER},f("desktopPageTitle")),a.default.createElement(p.Text,{marginTop:2,align:l.TEXT_ALIGN.CENTER},f("desktopPageSubTitle")),a.default.createElement(u.default,{marginBottom:6,marginTop:6,className:"desktop-pairing__clickable",onClick:()=>{C(y)},"data-testid":"desktop-pairing-otp-content"},a.default.createElement(m.default,{wrapperClassName:"desktop-pairing__tooltip-wrapper",position:"top",title:f(w?"copiedExclamation":"copyToClipboard")},a.default.createElement(p.Text,{align:l.TEXT_ALIGN.CENTER,variant:l.TextVariant.displayMd,className:"desktop-pairing__otp"},y)),a.default.createElement(u.default,{display:l.DISPLAY.FLEX,alignItems:l.AlignItems.center,justifyContent:l.JustifyContent.center,marginTop:4,marginBottom:6},a.default.createElement(p.Text,{className:"desktop-pairing__countdown-timer",variant:l.TextVariant.paragraph,align:l.TEXT_ALIGN.CENTER,backgroundColor:l.BackgroundColor.backgroundDefault,borderRadius:l.BorderRadius.XL,padding:2},f("desktopPairingExpireMessage",[a.default.createElement("span",{className:"desktop-pairing__countdown-timer-seconds",key:1},N())]))),a.default.createElement(p.Text,{align:l.TEXT_ALIGN.CENTER,variant:l.TextVariant.bodySm},f("desktopPageDescription"))))):(n(),null),a.default.createElement(u.default,null,a.default.createElement(p.Button,{onClick:()=>{null==g||g.push(t)}},f("done"))))}h.propTypes={mostRecentOverviewPage:o.default.string,showLoadingIndication:o.default.func,hideLoadingIndication:o.default.func,generateDesktopOtp:o.default.func}}}},{package:"$root$",file:"ui/pages/desktop-pairing/desktop-pairing.component.js"}],[5743,{"../../ducks/history/history":5343,"../../store/actions":5998,"./desktop-pairing.component":5742,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=e("react-redux"),o=e("../../store/actions"),s=e("../../ducks/history/history"),i=(a=e("./desktop-pairing.component"))&&a.__esModule?a:{default:a};n.default=(0,r.connect)((e=>({mostRecentOverviewPage:(0,s.getMostRecentOverviewPage)(e)})),(e=>({generateDesktopOtp:()=>(0,o.generateDesktopOtp)(),showLoadingIndication:()=>e((0,o.showLoadingIndication)()),hideLoadingIndication:()=>e((0,o.hideLoadingIndication)())})))(i.default)}}},{package:"$root$",file:"ui/pages/desktop-pairing/desktop-pairing.container.js"}],[5744,{"./desktop-pairing.container":5743},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./desktop-pairing.container"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/desktop-pairing/index.js"}],[5745,{"../../../app/scripts/lib/util":120,"../../../shared/constants/app":4493,"../../../shared/constants/metametrics":4505,"../../helpers/constants/common":5353,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=u(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=(a=e("prop-types"))&&a.__esModule?a:{default:a},s=e("../../../app/scripts/lib/util"),i=e("../../../shared/constants/app"),c=e("../../helpers/constants/common"),l=e("../../../shared/constants/metametrics");function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(u=function(e){return e?n:t})(e)}function d(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class m extends r.PureComponent{renderErrorDetail(e){return r.default.createElement("li",null,r.default.createElement("p",null,e))}renderErrorStack(e,t){return r.default.createElement("li",null,r.default.createElement("span",null,e),r.default.createElement("pre",{className:"error-page__stack"},t))}render(){const{error:e}=this.props,{t:t}=this.context,n=(0,s.getEnvironmentType)()===i.ENVIRONMENT_TYPE_POPUP,a=r.default.createElement("a",{target:"_blank",key:"metamaskSupportLink",rel:"noopener noreferrer",href:c.SUPPORT_REQUEST_LINK,onClick:()=>{this.context.trackEvent({category:l.MetaMetricsEventCategory.Error,event:l.MetaMetricsEventName.SupportLinkClicked,properties:{url:c.SUPPORT_REQUEST_LINK}},{contextPropsIntoEventProperties:[l.MetaMetricsContextProp.PageTitle]})}},r.default.createElement("span",{className:"error-page__link-text"},this.context.t("here"))),o=t(n?"errorPagePopupMessage":"errorPageMessage",[a]);return r.default.createElement("section",{className:"error-page"},r.default.createElement("h1",{className:"error-page__header"},t("errorPageTitle")),r.default.createElement("h2",{className:"error-page__subheader"},o),r.default.createElement("section",{className:"error-page__details"},r.default.createElement("details",null,r.default.createElement("summary",null,t("errorDetails")),r.default.createElement("ul",null,e.message?this.renderErrorDetail(t("errorMessage",[e.message])):null,e.code?this.renderErrorDetail(t("errorCode",[e.code])):null,e.name?this.renderErrorDetail(t("errorName",[e.name])):null,e.stack?this.renderErrorStack(t("errorStack"),e.stack):null))))}}d(m,"contextTypes",{t:o.default.func.isRequired,trackEvent:o.default.func}),d(m,"propTypes",{error:o.default.object.isRequired});n.default=m}}},{package:"$root$",file:"ui/pages/error/error.component.js"}],[5746,{"./error.component":5745},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.default}});var a,r=(a=e("./error.component"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/error/index.js"}],[5747,{"../../../../shared/constants/metametrics":4505,"../../../contexts/metametrics":5327,"../../../helpers/constants/common":5353,"../../../hooks/useI18nContext":5427,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(a,o,s):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=e("../../../helpers/constants/common"),o=e("../../../hooks/useI18nContext"),s=e("../../../../shared/constants/metametrics"),i=e("../../../contexts/metametrics");function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}n.default=()=>{const e=(0,o.useI18nContext)(),t=(0,a.useContext)(i.MetaMetricsContext);return a.default.createElement(a.default.Fragment,null,a.default.createElement("a",{target:"_blank",rel:"noopener noreferrer",href:r.SUPPORT_REQUEST_LINK,onClick:()=>{t({category:s.MetaMetricsEventCategory.Footer,event:s.MetaMetricsEventName.SupportLinkClicked,properties:{url:r.SUPPORT_REQUEST_LINK}},{contextPropsIntoEventProperties:[s.MetaMetricsContextProp.PageTitle]})}},e("needHelpSubmitTicket"))," ","|"," ",a.default.createElement("a",{href:"https://community.metamask.io/c/developer-discussion/11",target:"_blank",rel:"noopener noreferrer"},e("needHelpFeedback")))}}}},{package:"$root$",file:"ui/pages/home/flask/flask-home-footer.component.js"}]],[],{}); \ No newline at end of file diff --git a/contracts/test/e2e/metamask-flask-unpacked/ui-8.js b/contracts/test/e2e/metamask-flask-unpacked/ui-8.js index 6927f74..d18107d 100644 --- a/contracts/test/e2e/metamask-flask-unpacked/ui-8.js +++ b/contracts/test/e2e/metamask-flask-unpacked/ui-8.js @@ -1 +1 @@ -LavaPack.loadBundle([[5748,{"../../../shared/constants/metametrics":4505,"../../../shared/constants/onboarding":4510,"../../../shared/constants/time":4518,"../../../shared/lib/ui-utils":4532,"../../../shared/modules/mv3.utils":4547,"../../components/app/auto-detect-token/auto-detect-token-modal":4587,"../../components/app/home-notification":4640,"../../components/app/multiple-notifications":4706,"../../components/app/recovery-phrase-reminder":4753,"../../components/app/smart-transactions/smart-transactions-opt-in-modal":4757,"../../components/app/terms-of-use-popup":4851,"../../components/app/whats-new-popup":4886,"../../components/component-library":4955,"../../components/multichain/account-overview":5032,"../../components/ui/actionable-message/actionable-message":5190,"../../components/ui/button":5198,"../../components/ui/popover":5281,"../../components/ui/typography/typography":5315,"../../helpers/constants/common":5353,"../../helpers/constants/design-system":5355,"../../helpers/constants/routes":5361,"../../helpers/constants/zendesk-url":5368,"../connected-accounts":5728,"../connected-sites":5731,"./flask/flask-home-footer.component":5747,"prop-types":3997,react:4243,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=P(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var r=o?Object.getOwnPropertyDescriptor(e,i):null;r&&(r.get||r.set)?Object.defineProperty(a,i,r):a[i]=e[i]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=O(e("prop-types")),i=e("react-router-dom"),r=e("../../../shared/constants/metametrics"),s=O(e("../../components/app/terms-of-use-popup")),c=O(e("../../components/app/recovery-phrase-reminder")),l=O(e("../../components/app/whats-new-popup")),u=e("../../../shared/constants/onboarding"),d=O(e("../../components/app/smart-transactions/smart-transactions-opt-in-modal")),p=O(e("../../components/app/auto-detect-token/auto-detect-token-modal")),f=O(e("../../components/app/home-notification")),m=O(e("../../components/app/multiple-notifications")),g=O(e("../../components/ui/popover")),h=O(e("../../components/ui/typography/typography")),E=O(e("../../components/ui/button")),y=O(e("../connected-sites")),A=O(e("../connected-accounts")),T=e("../../../shared/modules/mv3.utils"),k=O(e("../../components/ui/actionable-message/actionable-message")),b=e("../../helpers/constants/design-system"),v=e("../../../shared/constants/time"),w=e("../../components/component-library"),C=e("../../helpers/constants/routes"),I=O(e("../../helpers/constants/zendesk-url")),S=e("../../helpers/constants/common");e("../../../shared/lib/ui-utils");var N=e("../../components/multichain/account-overview"),x=O(e("./flask/flask-home-footer.component"));function O(e){return e&&e.__esModule?e:{default:e}}function P(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(P=function(e){return e?n:t})(e)}function M(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function R({isNotification:e,totalUnapprovedAndQueuedRequestCount:t,hasApprovalFlows:n,isSigningQRHardwareTransaction:a}){return e&&0===t&&!n&&!a}class B extends a.PureComponent{constructor(e){var t;super(e),M(this,"state",{canShowBlockageNotification:!0,notificationClosing:!1,redirecting:!1}),M(this,"onRecoveryPhraseReminderClose",(()=>{const{setRecoveryPhraseReminderHasBeenShown:e,setRecoveryPhraseReminderLastShown:t}=this.props;e(!0),t((new Date).getTime())})),M(this,"onAcceptTermsOfUse",(()=>{const{setTermsOfUseLastAgreed:e}=this.props;e((new Date).getTime()),this.context.trackEvent({category:r.MetaMetricsEventCategory.Onboarding,event:r.MetaMetricsEventName.TermsOfUseAccepted,properties:{location:"Terms Of Use Popover"}})})),M(this,"onOutdatedBrowserWarningClose",(()=>{const{setOutdatedBrowserWarningLastShown:e}=this.props;e((new Date).getTime())})),M(this,"renderOnboardingPopover",(()=>{const{t:e}=this.context,{setDataCollectionForMarketing:t}=this.props,n=()=>{t(!1),this.context.trackEvent({category:r.MetaMetricsEventCategory.Home,event:r.MetaMetricsEventName.AnalyticsPreferenceSelected,properties:{has_marketing_consent:!1,location:"marketing_consent_modal"}})},o=e=>{t(e),this.context.trackEvent({category:r.MetaMetricsEventCategory.Home,event:r.MetaMetricsEventName.AnalyticsPreferenceSelected,properties:{has_marketing_consent:e,location:"marketing_consent_modal"}})};return a.default.createElement(w.Modal,{isOpen:!0,onClose:n},a.default.createElement(w.ModalOverlay,null),a.default.createElement(w.ModalContent,null,a.default.createElement(w.ModalHeader,{onClose:n,display:b.Display.Flex,flexDirection:b.FlexDirection.Row,fontWeight:b.FontWeight.Bold,alignItems:b.AlignItems.center,justifyContent:b.JustifyContent.center,gap:4,size:18,paddingBottom:0},e("onboardedMetametricsTitle")),a.default.createElement(w.ModalBody,null,a.default.createElement(w.Box,{display:b.Display.Flex,flexDirection:b.FlexDirection.Column,gap:2,margin:4},a.default.createElement(h.default,null,e("onboardedMetametricsParagraph1",[a.default.createElement("a",{href:S.METAMETRICS_SETTINGS_LINK,target:"_blank",rel:"noopener noreferrer",key:"retention-link"},e("onboardedMetametricsLink"))])),a.default.createElement(h.default,null,e("onboardedMetametricsParagraph2")),a.default.createElement("ul",{className:"home__onboarding_list"},a.default.createElement("li",null,e("onboardedMetametricsKey1")),a.default.createElement("li",null,e("onboardedMetametricsKey2")),a.default.createElement("li",null,e("onboardedMetametricsKey3"))),a.default.createElement(h.default,null,e("onboardedMetametricsParagraph3")))),a.default.createElement(w.ModalFooter,null,a.default.createElement(w.Box,{display:b.Display.Flex,flexDirection:b.FlexDirection.Row,gap:2,width:b.BlockSize.Full},a.default.createElement(E.default,{type:"secondary",onClick:()=>o(!1)},e("onboardedMetametricsDisagree")),a.default.createElement(E.default,{type:"primary",onClick:()=>o(!0)},e("onboardedMetametricsAccept"))))))})),M(this,"renderPopover",(()=>{const{setConnectedStatusPopoverHasBeenShown:e}=this.props,{t:t}=this.context;return a.default.createElement(g.default,{title:t("whatsThis"),onClose:e,className:"home__connected-status-popover",showArrow:!0,CustomBackground:({onClose:e})=>a.default.createElement("div",{className:"home__connected-status-popover-bg-container",onClick:e},a.default.createElement("div",{className:"home__connected-status-popover-bg"})),footer:a.default.createElement(a.default.Fragment,null,a.default.createElement("a",{href:I.default.USER_GUIDE_DAPPS,target:"_blank",rel:"noopener noreferrer"},t("learnMoreUpperCase")),a.default.createElement(E.default,{type:"primary",onClick:e},t("dismiss")))},a.default.createElement("main",{className:"home__connect-status-text"},a.default.createElement("div",null,t("metaMaskConnectStatusParagraphOne")),a.default.createElement("div",null,t("metaMaskConnectStatusParagraphTwo")),a.default.createElement("div",null,t("metaMaskConnectStatusParagraphThree"))))}));const{closeNotificationPopup:n,firstPermissionsRequestId:o,haveSwapsQuotes:i,isNotification:s,showAwaitingSwapScreen:c,hasWatchTokenPendingApprovals:l,hasWatchNftPendingApprovals:u,swapsFetchParams:d,hasTransactionPendingApprovals:p,location:f}=this.props,m=Boolean(null==f||null===(t=f.state)||void 0===t?void 0:t.stayOnHomePage);R(e)?(this.state.notificationClosing=!0,n()):(o||p||l||u||!s&&!m&&(c||i||d))&&(this.state.redirecting=!0)}checkStatusAndNavigate(){var e;const{firstPermissionsRequestId:t,history:n,isNotification:a,hasTransactionPendingApprovals:o,hasWatchTokenPendingApprovals:i,hasWatchNftPendingApprovals:r,haveSwapsQuotes:s,showAwaitingSwapScreen:c,swapsFetchParams:l,location:u,pendingConfirmations:d,pendingConfirmationsPrioritized:p,hasApprovalFlows:f}=this.props,m=Boolean(null==u||null===(e=u.state)||void 0===e?void 0:e.stayOnHomePage),g=!a&&!m;g&&c?n.push(C.AWAITING_SWAP_ROUTE):g&&s?n.push(C.VIEW_QUOTE_ROUTE):g&&l?n.push(C.BUILD_QUOTE_ROUTE):t?n.push(`${C.CONNECT_ROUTE}/${t}`):p.length>0?n.push(C.CONFIRMATION_V_NEXT_ROUTE):o?n.push(C.CONFIRM_TRANSACTION_ROUTE):i?n.push(C.CONFIRM_ADD_SUGGESTED_TOKEN_ROUTE):r?n.push(C.CONFIRM_ADD_SUGGESTED_NFT_ROUTE):(d.length>0||f)&&n.push(C.CONFIRMATION_V_NEXT_ROUTE)}componentDidMount(){this.checkStatusAndNavigate()}static getDerivedStateFromProps(e){return R(e)?{notificationClosing:!0}:null}componentDidUpdate(e,t){const{closeNotificationPopup:n,isNotification:a,hasAllowedPopupRedirectApprovals:o}=this.props,{notificationClosing:i}=this.state;i&&!t.notificationClosing?n():(a||o)&&this.checkStatusAndNavigate()}renderNotifications(){const{t:e}=this.context,{history:t,shouldShowSeedPhraseReminder:n,isPopup:o,shouldShowWeb3ShimUsageNotification:i,setWeb3ShimUsageAlertDismissed:r,originOfCurrentTab:s,disableWeb3ShimUsageAlert:c,infuraBlocked:l,showOutdatedBrowserWarning:u,newNftAddedMessage:d,setNewNftAddedMessage:p,newNetworkAddedName:h,removeNftMessage:y,setRemoveNftMessage:A,newTokensImported:S,newTokensImportedError:N,setNewTokensImported:x,setNewTokensImportedError:O,newNetworkAddedConfigurationId:P,clearNewNetworkAdded:M,setActiveNetwork:R}=this.props,B=()=>{p(""),A(""),x(""),O("")},D=5*v.SECOND,j=T.isMv3ButOffscreenDocIsMissing?a.default.createElement("div",null,a.default.createElement(w.Text,null,e("outdatedBrowserNotification")),a.default.createElement("br",null),a.default.createElement(w.Text,{fontWeight:b.FontWeight.Bold,color:b.TextColor.warningDefault},e("noHardwareWalletOrSnapsSupport"))):e("outdatedBrowserNotification");return a.default.createElement(m.default,null,"success"===d?a.default.createElement(k.default,{type:"success",className:"home__new-network-notification",autoHideTime:D,onAutoHide:B,message:a.default.createElement(w.Box,{display:b.Display.InlineFlex},a.default.createElement("i",{className:"fa fa-check-circle home__new-nft-notification-icon"}),a.default.createElement(w.Text,{variant:b.TextVariant.bodySm,as:"h6"},e("newNftAddedMessage")),a.default.createElement(w.ButtonIcon,{iconName:w.IconName.Close,size:w.ButtonIconSize.Sm,ariaLabel:e("close"),onClick:B}))}):null,"success"===y?a.default.createElement(k.default,{type:"success",className:"home__new-network-notification",autoHideTime:D,onAutoHide:B,message:a.default.createElement(w.Box,{display:b.Display.InlineFlex},a.default.createElement("i",{className:"fa fa-check-circle home__new-nft-notification-icon"}),a.default.createElement(w.Text,{variant:b.TextVariant.bodySm,as:"h6"},e("removeNftMessage")),a.default.createElement(w.ButtonIcon,{iconName:w.IconName.Close,size:w.ButtonIconSize.Sm,ariaLabel:e("close"),onClick:B}))}):null,"error"===y?a.default.createElement(k.default,{type:"danger",className:"home__new-network-notification",autoHideTime:D,onAutoHide:B,message:a.default.createElement(w.Box,{display:b.Display.InlineFlex},a.default.createElement("i",{className:"fa fa-check-circle home__new-nft-notification-icon"}),a.default.createElement(w.Text,{variant:b.TextVariant.bodySm,as:"h6"},e("removeNftErrorMessage")),a.default.createElement(w.ButtonIcon,{iconName:w.IconName.Close,size:w.ButtonIconSize.Sm,ariaLabel:e("close"),onClick:B}))}):null,h?a.default.createElement(k.default,{type:"success",className:"home__new-network-notification",message:a.default.createElement(w.Box,{display:b.Display.InlineFlex},a.default.createElement("i",{className:"fa fa-check-circle home__new-network-notification-icon"}),a.default.createElement(w.Text,{variant:b.TextVariant.bodySm,as:"h6"},e("newNetworkAdded",[h])),a.default.createElement(w.ButtonIcon,{iconName:w.IconName.Close,size:w.ButtonIconSize.Sm,ariaLabel:e("close"),onClick:()=>M(),className:"home__new-network-notification-close"}))}):null,S?a.default.createElement(k.default,{type:"success",autoHideTime:D,onAutoHide:B,className:"home__new-tokens-imported-notification",message:a.default.createElement(w.Box,{display:b.Display.InlineFlex},a.default.createElement("i",{className:"fa fa-check-circle home__new-tokens-imported-notification-icon"}),a.default.createElement(w.Box,null,a.default.createElement(w.Text,{className:"home__new-tokens-imported-notification-title",variant:b.TextVariant.bodySmBold,as:"h6"},e("newTokensImportedTitle")),a.default.createElement(w.Text,{className:"home__new-tokens-imported-notification-message",variant:b.TextVariant.bodySm,as:"h6"},e("newTokensImportedMessage",[S]))),a.default.createElement(w.ButtonIcon,{iconName:w.IconName.Close,size:w.ButtonIconSize.Sm,ariaLabel:e("close"),onClick:()=>x(""),className:"home__new-tokens-imported-notification-close"}))}):null,N?a.default.createElement(k.default,{type:"danger",className:"home__new-tokens-imported-notification",autoHideTime:D,onAutoHide:B,message:a.default.createElement(w.Box,{display:b.Display.InlineFlex},a.default.createElement(w.Icon,{name:w.IconName.Danger}),a.default.createElement(w.Text,{variant:b.TextVariant.bodySm,as:"h6"},e("importTokensError")),a.default.createElement(w.ButtonIcon,{iconName:w.IconName.Close,size:w.ButtonIconSize.Sm,ariaLabel:e("close"),onClick:B}))}):null,i?a.default.createElement(f.default,{descriptionText:e("web3ShimUsageNotification",[a.default.createElement("span",{key:"web3ShimUsageNotificationLink",className:"home-notification__text-link",onClick:()=>global.platform.openTab({url:I.default.LEGACY_WEB3})},e("here"))]),ignoreText:e("dismiss"),onIgnore:e=>{r(s),e&&c()},checkboxText:e("dontShowThisAgain"),checkboxTooltipText:e("canToggleInSettings"),key:"home-web3ShimUsageNotification"}):null,n?a.default.createElement(f.default,{descriptionText:e("backupApprovalNotice"),acceptText:e("backupNow"),onAccept:()=>{const e=`${C.ONBOARDING_SECURE_YOUR_WALLET_ROUTE}/?isFromReminder=true`;o?global.platform.openExtensionInBrowser(e):t.push(e)},infoText:e("backupApprovalInfo"),key:"home-backupApprovalNotice"}):null,l&&this.state.canShowBlockageNotification?a.default.createElement(f.default,{descriptionText:e("infuraBlockedNotification",[a.default.createElement("span",{key:"infuraBlockedNotificationLink",className:"home-notification__text-link",onClick:()=>global.platform.openTab({url:I.default.INFURA_BLOCKAGE})},e("here"))]),ignoreText:e("dismiss"),onIgnore:()=>{this.setState({canShowBlockageNotification:!1})},key:"home-infuraBlockedNotification"}):null,u?a.default.createElement(f.default,{descriptionText:j,acceptText:e("gotIt"),onAccept:this.onOutdatedBrowserWarningClose,key:"home-outdatedBrowserNotification"}):null,P&&a.default.createElement(g.default,{className:"home__new-network-added",onClose:()=>M()},a.default.createElement("i",{className:"fa fa-check-circle fa-2x home__new-network-added__check-circle"}),a.default.createElement(w.Text,{variant:b.TextVariant.headingSm,as:"h4",marginTop:5,marginRight:9,marginLeft:9,marginBottom:0,fontWeight:b.FontWeight.Bold},e("networkAddedSuccessfully")),a.default.createElement(w.Box,{marginTop:8,marginRight:8,marginLeft:8,marginBottom:5},a.default.createElement(E.default,{type:"primary",className:"home__new-network-added__switch-to-button",onClick:()=>{R(P),M()}},a.default.createElement(w.Text,{variant:b.TextVariant.bodySm,as:"h6",color:b.TextColor.primaryInverse},e("switchToNetwork",[h]))),a.default.createElement(E.default,{type:"secondary",onClick:()=>M()},a.default.createElement(w.Text,{variant:b.TextVariant.bodySm,as:"h6",color:b.TextColor.primaryDefault},e("dismiss"))))))}render(){const{defaultHomeActiveTabName:e,onTabClick:t,useExternalServices:n,setBasicFunctionalityModalOpen:o,forgottenPassword:r,participateInMetaMetrics:f,dataCollectionForMarketing:m,connectedStatusPopoverHasBeenShown:g,isPopup:h,seedPhraseBackedUp:E,showRecoveryPhraseReminder:T,showTermsOfUsePopup:k,showWhatsNewPopup:b,hideWhatsNewPopup:v,completedOnboarding:w,onboardedInThisUISession:I,announcementsToShow:S,firstTimeFlowType:O,newNetworkAddedConfigurationId:P,isSmartTransactionsOptInModalAvailable:M,isShowTokenAutodetectModal:R,setTokenAutodetectModal:B,setShowTokenAutodetectModalOnUpgrade:D}=this.props;if(r)return a.default.createElement(i.Redirect,{to:{pathname:C.RESTORE_VAULT_ROUTE}});if(this.state.notificationClosing||this.state.redirecting)return null;const j=w&&(!I||O===u.FirstTimeFlowType.import)&&!P,L=j&&M,F=j&&S&&b&&!L,U=j&&R&&!L&&!F,G=w&&!I&&k;return a.default.createElement("div",{className:"main-container"},a.default.createElement(i.Route,{path:C.CONNECTED_ROUTE,component:y.default,exact:!0}),a.default.createElement(i.Route,{path:C.CONNECTED_ACCOUNTS_ROUTE,component:A.default,exact:!0}),a.default.createElement("div",{className:"home__container"},null===m&&!0===f?this.renderOnboardingPopover():null,a.default.createElement(d.default,{isOpen:L,hideWhatsNewPopup:v}),a.default.createElement(p.default,{isOpen:U,onClose:B,setShowTokenAutodetectModalOnUpgrade:D}),F?a.default.createElement(l.default,{onClose:v}):null,!F&&T?a.default.createElement(c.default,{hasBackedUp:E,onConfirm:this.onRecoveryPhraseReminderClose}):null,G?a.default.createElement(s.default,{onAccept:this.onAcceptTermsOfUse}):null,h&&!g?this.renderPopover():null,a.default.createElement("div",{className:"home__main-view"},a.default.createElement(N.AccountOverview,{onTabClick:t,defaultHomeActiveTabName:e,useExternalServices:n,setBasicFunctionalityModalOpen:o}),a.default.createElement("div",{className:"home__support"},a.default.createElement(x.default,null))),this.renderNotifications()))}}n.default=B,M(B,"contextTypes",{t:o.default.func,trackEvent:o.default.func}),M(B,"propTypes",{history:o.default.object,forgottenPassword:o.default.bool,hasTransactionPendingApprovals:o.default.bool.isRequired,hasWatchTokenPendingApprovals:o.default.bool,hasWatchNftPendingApprovals:o.default.bool,setConnectedStatusPopoverHasBeenShown:o.default.func,shouldShowSeedPhraseReminder:o.default.bool.isRequired,isPopup:o.default.bool,connectedStatusPopoverHasBeenShown:o.default.bool,showRecoveryPhraseReminder:o.default.bool.isRequired,showTermsOfUsePopup:o.default.bool.isRequired,seedPhraseBackedUp:e=>{if(null!==e.seedPhraseBackedUp&&"boolean"!=typeof e.seedPhraseBackedUp)throw new Error(`seedPhraseBackedUp is required to be null or boolean. Received ${e.seedPhraseBackedUp}`)},firstTimeFlowType:o.default.string,completedOnboarding:o.default.bool,showWhatsNewPopup:o.default.bool.isRequired,hideWhatsNewPopup:o.default.func.isRequired,announcementsToShow:o.default.bool.isRequired,onboardedInThisUISession:o.default.bool,isSmartTransactionsOptInModalAvailable:o.default.bool.isRequired,isShowTokenAutodetectModal:o.default.bool.isRequired,newNetworkAddedConfigurationId:o.default.string,isNotification:o.default.bool.isRequired,firstPermissionsRequestId:o.default.string,totalUnapprovedCount:o.default.number.isRequired,defaultHomeActiveTabName:o.default.string,participateInMetaMetrics:o.default.bool.isRequired,onTabClick:o.default.func.isRequired,haveSwapsQuotes:o.default.bool.isRequired,showAwaitingSwapScreen:o.default.bool.isRequired,setDataCollectionForMarketing:o.default.func.isRequired,dataCollectionForMarketing:o.default.bool,swapsFetchParams:o.default.object,location:o.default.object,shouldShowWeb3ShimUsageNotification:o.default.bool.isRequired,setWeb3ShimUsageAlertDismissed:o.default.func.isRequired,originOfCurrentTab:o.default.string,disableWeb3ShimUsageAlert:o.default.func.isRequired,pendingConfirmations:o.default.arrayOf(o.default.object).isRequired,pendingConfirmationsPrioritized:o.default.arrayOf(o.default.object).isRequired,hasApprovalFlows:o.default.bool.isRequired,infuraBlocked:o.default.bool.isRequired,setRecoveryPhraseReminderHasBeenShown:o.default.func.isRequired,setRecoveryPhraseReminderLastShown:o.default.func.isRequired,setTermsOfUseLastAgreed:o.default.func.isRequired,showOutdatedBrowserWarning:o.default.bool.isRequired,setOutdatedBrowserWarningLastShown:o.default.func.isRequired,newNetworkAddedName:o.default.string,isSigningQRHardwareTransaction:o.default.bool.isRequired,newNftAddedMessage:o.default.string,setNewNftAddedMessage:o.default.func.isRequired,removeNftMessage:o.default.string,setRemoveNftMessage:o.default.func.isRequired,closeNotificationPopup:o.default.func.isRequired,newTokensImported:o.default.string,newTokensImportedError:o.default.string,setNewTokensImported:o.default.func.isRequired,setNewTokensImportedError:o.default.func.isRequired,clearNewNetworkAdded:o.default.func,setActiveNetwork:o.default.func,setTokenAutodetectModal:o.default.func,setShowTokenAutodetectModalOnUpgrade:o.default.func,hasAllowedPopupRedirectApprovals:o.default.bool.isRequired,useExternalServices:o.default.bool,setBasicFunctionalityModalOpen:o.default.func})}}},{package:"$root$",file:"ui/pages/home/home.component.js"}],[5749,{"../../../app/scripts/lib/util":120,"../../../shared/constants/alerts":4492,"../../../shared/constants/app":4493,"../../../shared/modules/selectors":4554,"../../ducks/app/app":5336,"../../ducks/metamask/metamask":5346,"../../ducks/swaps/swaps":5351,"../../helpers/utils/util":5399,"../../selectors":5987,"../../selectors/transactions":5995,"../../store/actions":5998,"./home.component":5748,"react-redux":4199,"react-router-dom":4228,redux:4261},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,o=e("redux"),i=e("react-redux"),r=e("react-router-dom"),s=e("../../selectors"),c=e("../../../shared/modules/selectors"),l=e("../../store/actions"),u=e("../../ducks/app/app"),d=e("../../ducks/metamask/metamask"),p=e("../../ducks/swaps/swaps"),f=e("../../../app/scripts/lib/util"),m=e("../../helpers/utils/util"),g=e("../../../shared/constants/app"),h=e("../../../shared/constants/alerts"),E=e("../../selectors/transactions"),y=(a=e("./home.component"))&&a.__esModule?a:{default:a};n.default=(0,o.compose)(r.withRouter,(0,i.connect)((e=>{var t,n;const{metamask:a,appState:o}=e,{seedPhraseBackedUp:i,connectedStatusPopoverHasBeenShown:r,defaultHomeActiveTabName:l,swapsState:u,dataCollectionForMarketing:y,participateInMetaMetrics:A,firstTimeFlowType:T,completedOnboarding:k}=a,{address:b}=(0,s.getSelectedInternalAccount)(e),{forgottenPassword:v}=a,w=(0,s.getTotalUnapprovedCount)(e),C=w+(0,s.getQueuedRequestCount)(e),I=(0,p.getSwapsFeatureIsLive)(e),S=(0,s.getUnapprovedTemplatedConfirmations)(e),N=(0,s.getPrioritizedUnapprovedTemplatedConfirmations)(e),x=(0,f.getEnvironmentType)(),O=x===g.ENVIRONMENT_TYPE_POPUP,P=x===g.ENVIRONMENT_TYPE_NOTIFICATION;let M,R;var B;(M=(0,s.getFirstPermissionRequest)(e),R=(null===(t=M)||void 0===t?void 0:t.metadata.id)||null,M)||(M=(0,s.getFirstSnapInstallOrUpdateRequest)(e),R=(null===(B=M)||void 0===B?void 0:B.metadata.id)||null);const D=(0,s.getOriginOfCurrentTab)(e),j=O&&(0,d.getWeb3ShimUsageAlertEnabledness)(e)&&(0,s.activeTabHasPermissions)(e)&&(0,s.getWeb3ShimUsageStateForOrigin)(e,D)===h.Web3ShimUsageAlertStates.recorded,L=(0,s.getSuggestedTokens)(e).length>0,F=(0,s.getSuggestedNfts)(e).length>0,U=(0,s.hasPendingApprovals)(e,[g.SNAP_MANAGE_ACCOUNTS_CONFIRMATION_TYPES.showSnapAccountRedirect]);return{useExternalServices:(0,s.getUseExternalServices)(e),isBasicConfigurationModalOpen:o.showBasicFunctionalityModal,forgottenPassword:v,hasWatchTokenPendingApprovals:L,hasWatchNftPendingApprovals:F,swapsEnabled:I,hasTransactionPendingApprovals:(0,E.hasTransactionPendingApprovals)(e),shouldShowSeedPhraseReminder:(0,s.getShouldShowSeedPhraseReminder)(e),isPopup:O,isNotification:P,dataCollectionForMarketing:y,selectedAddress:b,firstPermissionsRequestId:R,totalUnapprovedCount:w,totalUnapprovedAndQueuedRequestCount:C,participateInMetaMetrics:A,hasApprovalFlows:(null===(n=(0,s.getApprovalFlows)(e))||void 0===n?void 0:n.length)>0,connectedStatusPopoverHasBeenShown:r,defaultHomeActiveTabName:l,firstTimeFlowType:T,completedOnboarding:k,haveSwapsQuotes:Boolean(Object.values(u.quotes||{}).length),swapsFetchParams:u.fetchParams,showAwaitingSwapScreen:"awaiting"===u.routeState,isMainnet:(0,s.getIsMainnet)(e),originOfCurrentTab:D,shouldShowWeb3ShimUsageNotification:j,pendingConfirmations:S,pendingConfirmationsPrioritized:N,infuraBlocked:(0,s.getInfuraBlocked)(e),announcementsToShow:(0,s.getSortedAnnouncementsToShow)(e).length>0,showWhatsNewPopup:false,showRecoveryPhraseReminder:(0,s.getShowRecoveryPhraseReminder)(e),showTermsOfUsePopup:(0,s.getShowTermsOfUse)(e),showOutdatedBrowserWarning:(0,m.getIsBrowserDeprecated)()&&(0,s.getShowOutdatedBrowserWarning)(e),seedPhraseBackedUp:i,newNetworkAddedName:(0,s.getNewNetworkAdded)(e),isSigningQRHardwareTransaction:(0,s.getIsSigningQRHardwareTransaction)(e),newNftAddedMessage:(0,s.getNewNftAddedMessage)(e),removeNftMessage:(0,s.getRemoveNftMessage)(e),newTokensImported:(0,s.getNewTokensImported)(e),newTokensImportedError:(0,s.getNewTokensImportedError)(e),newNetworkAddedConfigurationId:o.newNetworkAddedConfigurationId,onboardedInThisUISession:o.onboardedInThisUISession,hasAllowedPopupRedirectApprovals:U,isSmartTransactionsOptInModalAvailable:(0,c.getIsSmartTransactionsOptInModalAvailable)(e),isShowTokenAutodetectModal:(0,c.getIsShowTokenAutodetectModal)(e)}}),(e=>({setDataCollectionForMarketing:t=>e((0,l.setDataCollectionForMarketing)(t)),closeNotificationPopup:()=>(0,l.closeNotificationPopup)(),setConnectedStatusPopoverHasBeenShown:()=>e((0,l.setConnectedStatusPopoverHasBeenShown)()),onTabClick:t=>e((0,l.setDefaultHomeActiveTabName)(t)),setWeb3ShimUsageAlertDismissed:e=>(0,l.setWeb3ShimUsageAlertDismissed)(e),disableWeb3ShimUsageAlert:()=>(0,l.setAlertEnabledness)(h.AlertTypes.web3ShimUsage,!1),hideWhatsNewPopup:()=>e((0,u.hideWhatsNewPopup)()),setRecoveryPhraseReminderHasBeenShown:()=>e((0,l.setRecoveryPhraseReminderHasBeenShown)()),setRecoveryPhraseReminderLastShown:t=>e((0,l.setRecoveryPhraseReminderLastShown)(t)),setTermsOfUseLastAgreed:t=>{e((0,l.setTermsOfUseLastAgreed)(t))},setOutdatedBrowserWarningLastShown:t=>{e((0,l.setOutdatedBrowserWarningLastShown)(t))},setNewNftAddedMessage:t=>{e((0,l.setRemoveNftMessage)("")),e((0,l.setNewNftAddedMessage)(t))},setRemoveNftMessage:t=>{e((0,l.setNewNftAddedMessage)("")),e((0,l.setRemoveNftMessage)(t))},setNewTokensImported:t=>{e((0,l.setNewTokensImported)(t))},setNewTokensImportedError:t=>{e((0,l.setNewTokensImportedError)(t))},clearNewNetworkAdded:()=>{e((0,l.setNewNetworkAdded)({}))},setActiveNetwork:t=>{e((0,l.setActiveNetwork)(t))},setTokenAutodetectModal:t=>{e((0,l.setShowTokenAutodetectModal)(t))},setShowTokenAutodetectModalOnUpgrade:t=>{e((0,l.setShowTokenAutodetectModalOnUpgrade)(t))},setBasicFunctionalityModalOpen:()=>e((0,u.openBasicFunctionalityModal)())}))))(y.default)}}},{package:"$root$",file:"ui/pages/home/home.container.js"}],[5750,{"./home.container":5749},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return o.default}});var a,o=(a=e("./home.container"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/home/index.js"}],[5751,{"../contexts/currencyRate":5322,"../contexts/i18n":5324,"../contexts/metamask-notifications":5325,"../contexts/metametrics":5327,"./error":5746,"./routes":5827,"@sentry/browser":2409,"prop-types":3997,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=h(e("react")),o=m(e("prop-types")),i=e("react-redux"),r=e("react-router-dom"),s=h(e("@sentry/browser")),c=e("../contexts/i18n"),l=e("../contexts/metametrics"),u=e("../contexts/metamask-notifications"),d=e("../contexts/currencyRate"),p=m(e("./error")),f=m(e("./routes"));function m(e){return e&&e.__esModule?e:{default:e}}function g(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(g=function(e){return e?n:t})(e)}function h(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=g(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var r=o?Object.getOwnPropertyDescriptor(e,i):null;r&&(r.get||r.set)?Object.defineProperty(a,i,r):a[i]=e[i]}return a.default=e,n&&n.set(e,a),a}function E(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class y extends a.PureComponent{constructor(...e){super(...e),E(this,"state",{})}static getDerivedStateFromError(e){return{error:e}}componentDidCatch(e){s.captureException(e)}render(){const{error:e,errorId:t}=this.state,{store:n}=this.props;return e?a.default.createElement(i.Provider,{store:n},a.default.createElement(c.I18nProvider,null,a.default.createElement(c.LegacyI18nProvider,null,a.default.createElement(p.default,{error:e,errorId:t})))):a.default.createElement(i.Provider,{store:n},a.default.createElement(r.HashRouter,{hashType:"noslash"},a.default.createElement(l.MetaMetricsProvider,null,a.default.createElement(l.LegacyMetaMetricsProvider,null,a.default.createElement(c.I18nProvider,null,a.default.createElement(c.LegacyI18nProvider,null,a.default.createElement(d.CurrencyRateProvider,null,a.default.createElement(u.MetamaskNotificationsProvider,null,a.default.createElement(f.default,null)))))))))}}y.propTypes={store:o.default.object};n.default=y}}},{package:"$root$",file:"ui/pages/index.js"}],[5752,{"../../../shared/constants/metametrics":4505,"../../components/app/create-new-vault":4621,"../../components/ui/box":5194,"../../components/ui/button":5198,"../../components/ui/typography":5314,"../../helpers/constants/design-system":5355,"../../helpers/constants/routes":5361,"../../helpers/constants/zendesk-url":5368,"../../store/actions":5998,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=h(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var r=o?Object.getOwnPropertyDescriptor(e,i):null;r&&(r.get||r.set)?Object.defineProperty(a,i,r):a[i]=e[i]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=g(e("prop-types")),i=e("react-redux"),r=e("../../store/actions"),s=e("../../helpers/constants/routes"),c=g(e("../../components/app/create-new-vault")),l=g(e("../../components/ui/button")),u=g(e("../../components/ui/box")),d=g(e("../../components/ui/typography")),p=g(e("../../helpers/constants/zendesk-url")),f=e("../../helpers/constants/design-system"),m=e("../../../shared/constants/metametrics");function g(e){return e&&e.__esModule?e:{default:e}}function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(h=function(e){return e?n:t})(e)}function E(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class y extends a.Component{constructor(...e){super(...e),E(this,"handleImport",(async(e,t)=>{const{createNewVaultAndRestore:n,leaveImportSeedScreenState:a,history:o}=this.props;a(),await n(e,t),this.context.trackEvent({category:m.MetaMetricsEventCategory.Retention,event:"onboardingRestoredVault",properties:{action:"userEntersSeedPhrase",legacy_event:!0}}),o.push(s.DEFAULT_ROUTE)}))}render(){const{t:e}=this.context,{isLoading:t}=this.props;return a.default.createElement(u.default,{className:"first-view-main-wrapper"},a.default.createElement(u.default,{className:"first-view-main"},a.default.createElement(u.default,{className:"import-account"},a.default.createElement("a",{className:"import-account__back-button",onClick:e=>{e.preventDefault(),this.props.leaveImportSeedScreenState(),this.props.history.push(s.DEFAULT_ROUTE)},href:"#"},`< ${e("back")}`),a.default.createElement(d.default,{variant:f.TypographyVariant.H1,color:f.TextColor.textDefault},e("resetWallet")),a.default.createElement(d.default,{color:f.TextColor.textDefault},e("resetWalletSubHeader")),a.default.createElement(d.default,{color:f.TextColor.textDefault,marginTop:4,marginBottom:4},e("resetWalletUsingSRP",[a.default.createElement(l.default,{type:"link",target:"_blank",rel:"noopener noreferrer",href:p.default.ADD_MISSING_ACCOUNTS,key:"import-account-secretphase",className:"import-account__link"},e("reAddAccounts")),a.default.createElement(l.default,{type:"link",target:"_blank",rel:"noopener noreferrer",href:p.default.IMPORT_ACCOUNTS,key:"import-account-reimport-accounts",className:"import-account__link"},e("reAdded")),a.default.createElement(l.default,{type:"link",target:"_blank",rel:"noopener noreferrer",href:p.default.ADD_CUSTOM_TOKENS,key:"import-account-readd-tokens",className:"import-account__link"},e("reAdded"))])),a.default.createElement(d.default,{color:f.TextColor.textDefault,margin:0,marginBottom:4},e("resetWalletWarning")),a.default.createElement(c.default,{disabled:t,onSubmit:this.handleImport,submitText:e("restore")}))))}}E(y,"contextTypes",{t:o.default.func,trackEvent:o.default.func}),E(y,"propTypes",{createNewVaultAndRestore:o.default.func.isRequired,leaveImportSeedScreenState:o.default.func,history:o.default.object,isLoading:o.default.bool});n.default=(0,i.connect)((({appState:{isLoading:e}})=>({isLoading:e})),(e=>({leaveImportSeedScreenState:()=>{e((0,r.unMarkPasswordForgotten)())},createNewVaultAndRestore:(t,n)=>e((0,r.createNewVaultAndRestore)(t,n))})))(y)}}},{package:"$root$",file:"ui/pages/keychains/restore-vault.js"}],[5753,{"../../../shared/constants/metametrics":4505,"../../components/app/modals/hold-to-reveal-modal/hold-to-reveal-modal":4684,"../../components/component-library":4955,"../../components/ui/box":5194,"../../components/ui/export-text-container":5223,"../../components/ui/tabs":5296,"../../contexts/metametrics":5327,"../../ducks/history/history":5343,"../../helpers/constants/design-system":5355,"../../helpers/constants/zendesk-url":5368,"../../hooks/useI18nContext":5427,"../../store/actions":5998,"qrcode-generator":4056,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(){const e=(0,r.useHistory)(),t=(0,i.useDispatch)(),n=(0,E.useI18nContext)(),A=(0,o.useContext)(f.MetaMetricsContext),[T,v]=(0,o.useState)(k),[w,C]=(0,o.useState)(""),[I,S]=(0,o.useState)(null),[N,x]=(0,o.useState)(!1),[O,P]=(0,o.useState)(null),M=(0,i.useSelector)(m.getMostRecentOverviewPage),[R,B]=(0,o.useState)(!1);(0,o.useEffect)((()=>{const e=document.getElementById("password-box");e&&e.focus()}),[]);const D=()=>{const e=(0,a.default)(0,"L");return e.addData(I),e.make(),e},j=e=>{e.preventDefault(),S(null),x(!1),P(null),t((0,y.requestRevealSeedWords)(w)).then((e=>{A({category:s.MetaMetricsEventCategory.Keys,event:s.MetaMetricsEventName.KeyExportRevealed,properties:{key_type:s.MetaMetricsEventKeyType.Srp}}),S(e),B(!0)})).catch((e=>{A({category:s.MetaMetricsEventCategory.Keys,event:s.MetaMetricsEventName.KeyExportFailed,properties:{key_type:s.MetaMetricsEventKeyType.Srp,reason:e.message}}),P(e.message)}))};return o.default.createElement(u.default,{className:"page-container",paddingTop:8,paddingBottom:8,paddingLeft:4,paddingRight:4,gap:4},o.default.createElement(l.Text,{variant:g.TextVariant.headingLg},n("secretRecoveryPhrase")),o.default.createElement(l.Text,{variant:g.TextVariant.bodyMd},n("revealSeedWordsDescription1",[o.default.createElement(l.Button,{key:"srp-learn-srp",variant:l.BUTTON_VARIANT.LINK,size:l.BUTTON_SIZES.INHERIT,as:"a",href:h.default.SECRET_RECOVERY_PHRASE,target:"_blank",rel:"noopener noreferrer"},n("revealSeedWordsSRPName")),o.default.createElement(l.Text,{key:"reveal-seed-word-part-3",variant:g.TextVariant.bodyMdBold,as:"strong"},n("revealSeedWordsDescription3"))])),o.default.createElement(l.Text,{variant:g.TextVariant.bodyMd},n("revealSeedWordsDescription2",[o.default.createElement(l.Button,{key:"srp-learn-more-non-custodial",variant:l.BUTTON_VARIANT.LINK,size:l.BUTTON_SIZES.INHERIT,as:"a",href:h.default.NON_CUSTODIAL_WALLET,target:"_blank",rel:"noopener noreferrer"},n("revealSeedWordsNonCustodialWallet"))])),o.default.createElement(l.BannerAlert,{severity:g.Severity.Danger},o.default.createElement(l.Text,{variant:g.TextVariant.bodyMd},n("revealSeedWordsWarning",[o.default.createElement(l.Text,{key:"reveal-seed-words-warning-2",variant:g.TextVariant.bodyMdBold,as:"strong"},n("revealSeedWordsWarning2"))]))),T!==k&&N?(A({category:s.MetaMetricsEventCategory.Keys,event:s.MetaMetricsEventName.SrpViewSrpText,properties:{key_type:s.MetaMetricsEventKeyType.Srp}}),o.default.createElement("div",null,o.default.createElement(p.Tabs,{defaultActiveTabName:n("revealSeedWordsText"),onTabClick:e=>{"text-seed"===e?A({category:s.MetaMetricsEventCategory.Keys,event:s.MetaMetricsEventName.SrpViewSrpText,properties:{key_type:s.MetaMetricsEventKeyType.Srp}}):"qr-srp"===e&&A({category:s.MetaMetricsEventCategory.Keys,event:s.MetaMetricsEventName.SrpViewsSrpQR,properties:{key_type:s.MetaMetricsEventKeyType.Srp}})}},o.default.createElement(p.Tab,{name:n("revealSeedWordsText"),className:"reveal-seed__tab",activeClassName:"reveal-seed__active-tab",tabKey:"text-seed"},o.default.createElement(l.Label,{marginTop:4},n("yourPrivateSeedPhrase")),o.default.createElement(d.default,{text:I,onClickCopy:()=>{A({category:s.MetaMetricsEventCategory.Keys,event:s.MetaMetricsEventName.KeyExportCopied,properties:{key_type:s.MetaMetricsEventKeyType.Srp,copy_method:"clipboard"}}),A({category:s.MetaMetricsEventCategory.Keys,event:s.MetaMetricsEventName.SrpCopiedToClipboard,properties:{key_type:s.MetaMetricsEventKeyType.Srp,copy_method:"clipboard"}})}})),o.default.createElement(p.Tab,{name:n("revealSeedWordsQR"),className:"reveal-seed__tab",activeClassName:"reveal-seed__active-tab",tabKey:"qr-srp"},o.default.createElement(u.default,{display:g.Display.Flex,justifyContent:g.JustifyContent.center,alignItems:g.AlignItems.center,paddingTop:4,"data-testid":"qr-srp"},o.default.createElement("div",{dangerouslySetInnerHTML:{__html:D().createTableTag(5,15)}})))))):o.default.createElement("form",{onSubmit:j},o.default.createElement(l.Label,{htmlFor:"password-box"},n("enterPasswordContinue")),o.default.createElement(l.TextField,{inputProps:{"data-testid":"input-password"},type:l.TextFieldType.Password,placeholder:n("makeSureNoOneWatching"),id:"password-box",size:l.TextFieldSize.Large,value:w,onChange:e=>C(e.target.value),error:Boolean(O),width:g.BlockSize.Full}),O&&o.default.createElement(l.HelpText,{severity:l.HelpTextSeverity.Danger},O)),T!==k&&N?o.default.createElement(u.default,{marginTop:"auto"},o.default.createElement(l.Button,{variant:l.BUTTON_VARIANT.SECONDARY,width:g.BlockSize.Full,size:g.Size.LG,onClick:()=>{A({category:s.MetaMetricsEventCategory.Keys,event:s.MetaMetricsEventName.SrpRevealCloseClicked,properties:{key_type:s.MetaMetricsEventKeyType.Srp}}),e.push(M)}},n("close"))):o.default.createElement(u.default,{display:g.Display.Flex,marginTop:"auto",gap:4},o.default.createElement(l.Button,{width:g.BlockSize.Full,size:g.Size.LG,variant:l.BUTTON_VARIANT.SECONDARY,onClick:()=>{A({category:s.MetaMetricsEventCategory.Keys,event:s.MetaMetricsEventName.KeyExportCanceled,properties:{key_type:s.MetaMetricsEventKeyType.Srp}}),A({category:s.MetaMetricsEventCategory.Keys,event:s.MetaMetricsEventName.SrpRevealCancelled,properties:{key_type:s.MetaMetricsEventKeyType.Srp}}),e.push(M)}},n("cancel")),o.default.createElement(l.Button,{width:g.BlockSize.Full,size:g.Size.LG,onClick:e=>{A({category:s.MetaMetricsEventCategory.Keys,event:s.MetaMetricsEventName.KeyExportRequested,properties:{key_type:s.MetaMetricsEventKeyType.Srp}}),A({category:s.MetaMetricsEventCategory.Keys,event:s.MetaMetricsEventName.SrpRevealNextClicked,properties:{key_type:s.MetaMetricsEventKeyType.Srp}}),j(e)},disabled:""===w},n("next"))),o.default.createElement(c.default,{isOpen:R,onClose:()=>{A({category:s.MetaMetricsEventCategory.Keys,event:s.MetaMetricsEventName.SrpHoldToRevealCloseClicked,properties:{key_type:s.MetaMetricsEventKeyType.Srp}}),B(!1)},onLongPressed:()=>{x(!0),B(!1),v(b)},holdToRevealType:"SRP"}))};var a=T(e("qrcode-generator")),o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=A(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var r=o?Object.getOwnPropertyDescriptor(e,i):null;r&&(r.get||r.set)?Object.defineProperty(a,i,r):a[i]=e[i]}return a.default=e,n&&n.set(e,a),a}(e("react")),i=e("react-redux"),r=e("react-router-dom"),s=e("../../../shared/constants/metametrics"),c=T(e("../../components/app/modals/hold-to-reveal-modal/hold-to-reveal-modal")),l=e("../../components/component-library"),u=T(e("../../components/ui/box")),d=T(e("../../components/ui/export-text-container")),p=e("../../components/ui/tabs"),f=e("../../contexts/metametrics"),m=e("../../ducks/history/history"),g=e("../../helpers/constants/design-system"),h=T(e("../../helpers/constants/zendesk-url")),E=e("../../hooks/useI18nContext"),y=e("../../store/actions");function A(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(A=function(e){return e?n:t})(e)}function T(e){return e&&e.__esModule?e:{default:e}}const k="PASSWORD_PROMPT_SCREEN",b="REVEAL_SEED_SCREEN"}}},{package:"$root$",file:"ui/pages/keychains/reveal-seed.js"}],[5754,{"./lock.container":5756},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return o.default}});var a,o=(a=e("./lock.container"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/lock/index.js"}],[5755,{"../../components/ui/loading-screen":5256,"../../helpers/constants/routes":5361,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,o,i,r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=d(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var r=o?Object.getOwnPropertyDescriptor(e,i):null;r&&(r.get||r.set)?Object.defineProperty(a,i,r):a[i]=e[i]}return a.default=e,n&&n.set(e,a),a}(e("react")),s=u(e("prop-types")),c=u(e("../../components/ui/loading-screen")),l=e("../../helpers/constants/routes");function u(e){return e&&e.__esModule?e:{default:e}}function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(d=function(e){return e?n:t})(e)}class p extends r.PureComponent{componentDidMount(){const{lockMetamask:e,isUnlocked:t,history:n}=this.props;t?e().then((()=>n.push(l.DEFAULT_ROUTE))):n.replace(l.DEFAULT_ROUTE)}render(){return r.default.createElement(c.default,null)}}n.default=p,a=p,o="propTypes",i={history:s.default.object,isUnlocked:s.default.bool,lockMetamask:s.default.func},(o=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(o))in a?Object.defineProperty(a,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):a[o]=i}}},{package:"$root$",file:"ui/pages/lock/lock.component.js"}],[5756,{"../../store/actions":5998,"./lock.component":5755,"react-redux":4199,"react-router-dom":4228,redux:4261},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,o=e("redux"),i=e("react-redux"),r=e("react-router-dom"),s=e("../../store/actions"),c=(a=e("./lock.component"))&&a.__esModule?a:{default:a};n.default=(0,o.compose)(r.withRouter,(0,i.connect)((e=>{const{metamask:{isUnlocked:t}}=e;return{isUnlocked:t}}),(e=>({lockMetamask:()=>e((0,s.lockMetamask)())}))))(c.default)}}},{package:"$root$",file:"ui/pages/lock/lock.container.js"}],[5757,{"./notification-details":5761},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return o.default}});var a,o=(a=e("./notification-details"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/notification-details/index.js"}],[5758,{"../../../components/component-library":4955,"../../../helpers/constants/design-system":5355,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.NotificationDetailsBody=void 0;var a,o=(a=e("react"))&&a.__esModule?a:{default:a},i=e("../../../components/component-library"),r=e("../../../helpers/constants/design-system");n.NotificationDetailsBody=({body:e,notification:t})=>o.default.createElement(i.Box,{display:r.Display.Flex,flexDirection:r.FlexDirection.Column,padding:0},"body_feature_announcement"===e.type&&o.default.createElement(o.default.Fragment,null,o.default.createElement(e.Image,{notification:t}),o.default.createElement(e.Description,{notification:t})),"body_onchain_notification"===e.type&&o.default.createElement(o.default.Fragment,null,e.Image&&o.default.createElement(e.Image,{notification:t}),e.From&&o.default.createElement(e.From,{notification:t}),e.To&&o.default.createElement(e.To,{notification:t}),e.Account&&o.default.createElement(e.Account,{notification:t}),e.Asset&&o.default.createElement(e.Asset,{notification:t}),e.AssetReceived&&o.default.createElement(e.AssetReceived,{notification:t}),e.Status&&o.default.createElement(e.Status,{notification:t}),e.Network&&o.default.createElement(e.Network,{notification:t}),e.Rate&&o.default.createElement(e.Rate,{notification:t}),e.Provider&&o.default.createElement(e.Provider,{notification:t}),e.NetworkFee&&o.default.createElement(e.NetworkFee,{notification:t})))}}},{package:"$root$",file:"ui/pages/notification-details/notification-details-body/notification-details-body.tsx"}],[5759,{"../../../components/component-library":4955,"../../../helpers/constants/design-system":5355,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.NotificationDetailsFooter=void 0;var a,o=(a=e("react"))&&a.__esModule?a:{default:a},i=e("../../../components/component-library"),r=e("../../../helpers/constants/design-system");n.NotificationDetailsFooter=({footer:e,notification:t})=>o.default.createElement(i.Box,{width:r.BlockSize.Full,display:r.Display.Flex,flexDirection:r.FlexDirection.Row,justifyContent:r.JustifyContent.spaceBetween,padding:4,gap:4},"footer_onchain_notification"===e.type&&o.default.createElement(o.default.Fragment,null,o.default.createElement(e.ScanLink,{notification:t})),"footer_feature_announcement"===e.type&&o.default.createElement(o.default.Fragment,null,o.default.createElement(e.ExtensionLink,{notification:t})))}}},{package:"$root$",file:"ui/pages/notification-details/notification-details-footer/notification-details-footer.tsx"}],[5760,{"../../../components/component-library":4955,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.NotificationDetailsHeader=void 0;var a,o=(a=e("react"))&&a.__esModule?a:{default:a},i=e("../../../components/component-library");n.NotificationDetailsHeader=({children:e,onClickBack:t})=>o.default.createElement(i.HeaderBase,{padding:4,startAccessory:o.default.createElement(i.ButtonIcon,{ariaLabel:"Back",iconName:i.IconName.ArrowLeft,size:i.ButtonIconSize.Sm,onClick:t}),endAccessory:null},e)}}},{package:"$root$",file:"ui/pages/notification-details/notification-details-header/notification-details-header.tsx"}],[5761,{"../../components/component-library":4955,"../../components/multichain":5092,"../../components/multichain/pages/page":5152,"../../helpers/constants/design-system":5355,"../../helpers/constants/routes":5361,"../../hooks/metamask-notifications/useNotifications":5406,"../../selectors/metamask-notifications/metamask-notifications":5989,"../notifications/notification-components":5775,"./notification-details-body/notification-details-body":5758,"./notification-details-footer/notification-details-footer":5759,"./notification-details-header/notification-details-header":5760,"./utils/utils":5762,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(){const{redirectToNotifications:e}=function(){const e=(0,i.useHistory)(),t=(0,a.useCallback)((()=>{e.push(c.NOTIFICATIONS_ROUTE)}),[e]);return{redirectToNotifications:t}}(),{notification:t}=function(){const{pathname:e}=(0,i.useLocation)(),t=(0,m.getExtractIdentifier)(e),n=(0,o.useSelector)((0,p.getMetamaskNotificationById)(t));return{notification:n}}();if(function(e){const{markNotificationAsRead:t}=(0,d.useMarkNotificationAsRead)();(0,a.useEffect)((()=>{e&&t([{id:e.id,type:e.type,isRead:e.isRead}])}),[t,e])}(t),!t)return e(),null;if(!(0,f.hasNotificationComponents)(t.type))return e(),null;const n=f.NotificationComponents[t.type];return a.default.createElement(l.NotificationsPage,null,a.default.createElement(g.NotificationDetailsHeader,{onClickBack:e},a.default.createElement(n.details.title,{notification:t})),a.default.createElement(u.Content,{padding:0},a.default.createElement(r.Box,{display:s.Display.Flex,flexDirection:s.FlexDirection.Column,gap:2,width:s.BlockSize.Full,height:s.BlockSize.Full,justifyContent:s.JustifyContent.spaceBetween},a.default.createElement(h.NotificationDetailsBody,{body:n.details.body,notification:t}),a.default.createElement(E.NotificationDetailsFooter,{footer:n.footer,notification:t}))))};var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=y(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var r=o?Object.getOwnPropertyDescriptor(e,i):null;r&&(r.get||r.set)?Object.defineProperty(a,i,r):a[i]=e[i]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=e("react-redux"),i=e("react-router-dom"),r=e("../../components/component-library"),s=e("../../helpers/constants/design-system"),c=e("../../helpers/constants/routes"),l=e("../../components/multichain"),u=e("../../components/multichain/pages/page"),d=e("../../hooks/metamask-notifications/useNotifications"),p=e("../../selectors/metamask-notifications/metamask-notifications"),f=e("../notifications/notification-components"),m=e("./utils/utils"),g=e("./notification-details-header/notification-details-header"),h=e("./notification-details-body/notification-details-body"),E=e("./notification-details-footer/notification-details-footer");function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(y=function(e){return e?n:t})(e)}}}},{package:"$root$",file:"ui/pages/notification-details/notification-details.tsx"}],[5762,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.getExtractIdentifier=function(e){if("string"!=typeof e)return"";const t=e.split("/");return t.length>2?t[2]:""}}}},{package:"$root$",file:"ui/pages/notification-details/utils/utils.ts"}],[5763,{"./notifications-settings":5767},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return o.default}});var a,o=(a=e("./notifications-settings"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/notifications-settings/index.js"}],[5764,{"../../../shared/constants/metametrics":4505,"../../components/component-library":4955,"../../components/multichain":5092,"../../contexts/metamask-notifications/metamask-notifications":5326,"../../contexts/metametrics":5327,"../../helpers/constants/design-system":5355,"../../hooks/metamask-notifications/useNotifications":5406,"../../hooks/useI18nContext":5427,"../../selectors/metamask-notifications/metamask-notifications":5989,"../../selectors/metamask-notifications/profile-syncing":5990,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.NotificationsSettingsAllowNotifications=function({loading:e,setLoading:t,disabled:n}){const g=(0,i.useI18nContext)(),h=(0,a.useContext)(r.MetaMetricsContext),{listNotifications:E}=(0,d.useMetamaskNotificationsContext)(),y=(0,o.useSelector)(l.selectIsMetamaskNotificationsEnabled),[A,T]=(0,a.useState)(y),k=(0,o.useSelector)(l.getIsUpdatingMetamaskNotifications),b=(0,o.useSelector)(u.selectIsProfileSyncingEnabled),{enableNotifications:v,error:w}=(0,c.useEnableNotifications)(),{disableNotifications:C,error:I}=(0,c.useDisableNotifications)(),S=w||I;(0,a.useEffect)((()=>{t(k)}),[k,t]),(0,a.useEffect)((()=>{T(y)}),[y]),(0,a.useEffect)((()=>{y&&!S&&E()}),[y,S,E]);const N=(0,a.useCallback)((async()=>{t(!0),y?(await C(),h({category:s.MetaMetricsEventCategory.NotificationSettings,event:s.MetaMetricsEventName.DisablingNotifications})):(await v(),h({category:s.MetaMetricsEventCategory.NotificationSettings,event:s.MetaMetricsEventName.EnablingNotifications,properties:{isProfileSyncingEnabled:b}})),t(!1),T(!A)}),[t,y,C,v,A]),x=(0,a.useMemo)((()=>a.default.createElement(p.Text,{as:"a",href:"https://support.metamask.io/privacy-and-security/profile-privacy",target:"_blank",rel:"noopener noreferrer",key:"privacy-link",color:f.TextColor.infoDefault},g("notificationsSettingsPageAllowNotificationsLink"))),[g]);return a.default.createElement(p.Box,{display:f.Display.Flex,justifyContent:f.JustifyContent.flexStart,flexDirection:f.FlexDirection.Column,alignItems:f.AlignItems.flexStart,gap:4,paddingLeft:8,paddingRight:8,paddingBottom:8,"data-testid":"notifications-settings-allow-notifications"},a.default.createElement(m.NotificationsSettingsBox,{value:A,onToggle:N,disabled:n,loading:e},a.default.createElement(m.NotificationsSettingsType,{title:g("allowNotifications")})),a.default.createElement(p.Text,{variant:f.TextVariant.bodyMd,color:f.TextColor.textAlternative},g("notificationsSettingsPageAllowNotifications",[x])),S&&a.default.createElement(p.Box,null,a.default.createElement(p.Text,{as:"p",color:f.TextColor.errorDefault},g(y?"turnOffMetamaskNotificationsError":"turnOnMetamaskNotificationsError"))))};var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=g(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var r=o?Object.getOwnPropertyDescriptor(e,i):null;r&&(r.get||r.set)?Object.defineProperty(a,i,r):a[i]=e[i]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=e("react-redux"),i=e("../../hooks/useI18nContext"),r=e("../../contexts/metametrics"),s=e("../../../shared/constants/metametrics"),c=e("../../hooks/metamask-notifications/useNotifications"),l=e("../../selectors/metamask-notifications/metamask-notifications"),u=e("../../selectors/metamask-notifications/profile-syncing"),d=e("../../contexts/metamask-notifications/metamask-notifications"),p=e("../../components/component-library"),f=e("../../helpers/constants/design-system"),m=e("../../components/multichain");function g(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(g=function(e){return e?n:t})(e)}}}},{package:"$root$",file:"ui/pages/notifications-settings/notifications-settings-allow-notifications.tsx"}],[5765,{"../../../shared/constants/metametrics":4505,"../../components/multichain":5092,"../../contexts/metametrics":5327,"../../hooks/metamask-notifications/useNotifications":5406,"../../hooks/metamask-notifications/useSwitchNotifications":5408,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.NotificationsSettingsPerAccount=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=l(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var r=o?Object.getOwnPropertyDescriptor(e,i):null;r&&(r.get||r.set)?Object.defineProperty(a,i,r):a[i]=e[i]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=e("../../contexts/metametrics"),i=e("../../../shared/constants/metametrics"),r=e("../../hooks/metamask-notifications/useSwitchNotifications"),s=e("../../components/multichain"),c=e("../../hooks/metamask-notifications/useNotifications");function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(l=function(e){return e?n:t})(e)}n.NotificationsSettingsPerAccount=({address:e,name:t,isEnabled:n,isLoading:l,disabledSwitch:u,refetchAccountSettings:d})=>{const p=(0,a.useContext)(o.MetaMetricsContext),{toggleAccount:f,loading:m,error:g}=function(e,t){const{onChange:n,error:o}=(0,r.useSwitchAccountNotificationsChange)(),{listNotifications:i}=(0,c.useListNotifications)(),[s,l]=(0,a.useState)(!1);return{toggleAccount:(0,a.useCallback)((async a=>{l(!0);try{await n([e],a),await t(),i()}catch{}l(!1)}),[e,i,t,n]),loading:s,error:o}}(e,d),h=l||m,E=g,y=(0,a.useCallback)((async()=>{p({category:i.MetaMetricsEventCategory.NotificationSettings,event:n?i.MetaMetricsEventName.DisablingAccountNotifications:i.MetaMetricsEventName.EnablingAccountNotifications,properties:{address:e}}),await f(!n)}),[e,n,f,p]);return a.default.createElement(a.default.Fragment,null,a.default.createElement(s.NotificationsSettingsBox,{value:n??!1,onToggle:y,key:e,disabled:u,loading:h,error:E},a.default.createElement(s.NotificationsSettingsAccount,{address:e,name:t})))}}}},{package:"$root$",file:"ui/pages/notifications-settings/notifications-settings-per-account.tsx"}],[5766,{"../../../shared/constants/metametrics":4505,"../../components/component-library":4955,"../../components/multichain":5092,"../../contexts/metamask-notifications/metamask-notifications":5326,"../../contexts/metametrics":5327,"../../helpers/constants/design-system":5355,"../../hooks/metamask-notifications/useSwitchNotifications":5408,"../../hooks/useI18nContext":5427,"../../selectors/metamask-notifications/metamask-notifications":5989,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.NotificationsSettingsTypes=function({disabled:e}){const t=(0,s.useI18nContext)(),{listNotifications:n}=(0,c.useMetamaskNotificationsContext)(),m=(0,a.useContext)(i.MetaMetricsContext),g=(0,o.useSelector)(f.selectIsFeatureAnnouncementsEnabled),{onChange:h,error:E}=(0,l.useSwitchFeatureAnnouncementsChange)(),[y,A]=(0,a.useState)(g);return a.default.createElement(a.default.Fragment,null,a.default.createElement(u.Box,{paddingLeft:8,paddingRight:8,paddingBottom:4,paddingTop:4,"data-testid":"notifications-settings-per-types"},a.default.createElement(u.Text,{variant:d.TextVariant.bodyMd,color:d.TextColor.textDefault},t("customizeYourNotifications")),a.default.createElement(u.Text,{variant:d.TextVariant.bodySm,color:d.TextColor.textAlternative},t("customizeYourNotificationsText"))),a.default.createElement(u.Box,{display:d.Display.Flex,justifyContent:d.JustifyContent.flexStart,flexDirection:d.FlexDirection.Column,alignItems:d.AlignItems.flexStart,gap:6,paddingLeft:8,paddingRight:8,paddingBottom:4},a.default.createElement(p.NotificationsSettingsBox,{value:y,onToggle:async()=>{A(!y);try{h(!y),m({category:r.MetaMetricsEventCategory.NotificationInteraction,event:y?r.MetaMetricsEventName.FeatureAnnouncementDisabled:r.MetaMetricsEventName.FeatureAnnouncementEnabled}),n()}catch(e){A(y)}},error:E,disabled:e},a.default.createElement(p.NotificationsSettingsType,{icon:u.IconName.Star,title:t("productAnnouncements")}))),a.default.createElement(u.Box,{borderColor:d.BorderColor.borderMuted,width:d.BlockSize.Full,style:{height:"1px",borderBottomWidth:0}}))};var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=m(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var r=o?Object.getOwnPropertyDescriptor(e,i):null;r&&(r.get||r.set)?Object.defineProperty(a,i,r):a[i]=e[i]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=e("react-redux"),i=e("../../contexts/metametrics"),r=e("../../../shared/constants/metametrics"),s=e("../../hooks/useI18nContext"),c=e("../../contexts/metamask-notifications/metamask-notifications"),l=e("../../hooks/metamask-notifications/useSwitchNotifications"),u=e("../../components/component-library"),d=e("../../helpers/constants/design-system"),p=e("../../components/multichain"),f=e("../../selectors/metamask-notifications/metamask-notifications");function m(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(m=function(e){return e?n:t})(e)}}}},{package:"$root$",file:"ui/pages/notifications-settings/notifications-settings-types.tsx"}],[5767,{"../../components/component-library":4955,"../../components/multichain":5092,"../../components/multichain/pages/page":5152,"../../helpers/constants/design-system":5355,"../../helpers/constants/routes":5361,"../../hooks/metamask-notifications/useSwitchNotifications":5408,"../../hooks/useI18nContext":5427,"../../selectors":5987,"../../selectors/metamask-notifications/metamask-notifications":5989,"./notifications-settings-allow-notifications":5764,"./notifications-settings-per-account":5765,"./notifications-settings-types":5766,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(){const e=(0,i.useHistory)(),t=(0,r.useI18nContext)(),n=(0,o.useSelector)(p.selectIsMetamaskNotificationsEnabled),y=(0,o.useSelector)(p.getIsUpdatingMetamaskNotifications),A=(0,o.useSelector)(f.getInternalAccounts),[T,k]=(0,a.useState)(y),b=(0,a.useMemo)((()=>A.map((e=>e.address))),[A]),v=(0,m.useAccountSettingsProps)(b),w=v.accountsBeingUpdated.length>0,C=async()=>{await v.update(b)};return a.default.createElement(u.NotificationsPage,null,a.default.createElement(d.Header,{startAccessory:a.default.createElement(c.ButtonIcon,{ariaLabel:"Back",iconName:c.IconName.ArrowLeft,size:c.ButtonIconSize.Sm,onClick:()=>e.push(s.NOTIFICATIONS_ROUTE)}),endAccessory:null},t("notifications")),a.default.createElement(d.Content,{padding:0},a.default.createElement(g.NotificationsSettingsAllowNotifications,{loading:T,setLoading:k,"data-testid":"notifications-settings-allow-notifications",disabled:w}),a.default.createElement(c.Box,{borderColor:l.BorderColor.borderMuted,width:l.BlockSize.Full,style:{height:"1px",borderBottomWidth:0}}),n&&a.default.createElement(a.default.Fragment,null,a.default.createElement(h.NotificationsSettingsTypes,{disabled:T||w}),a.default.createElement(a.default.Fragment,null,a.default.createElement(c.Box,{paddingLeft:8,paddingRight:8,paddingBottom:4,paddingTop:4,"data-testid":"notifications-settings-per-account"},a.default.createElement(c.Text,{variant:l.TextVariant.bodyMd,color:l.TextColor.textDefault},t("accountActivity")),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,color:l.TextColor.textAlternative},t("accountActivityText"))),a.default.createElement(c.Box,{display:l.Display.Flex,justifyContent:l.JustifyContent.flexStart,flexDirection:l.FlexDirection.Column,alignItems:l.AlignItems.flexStart,gap:6,paddingLeft:8,paddingRight:8,paddingBottom:4},A.map((e=>{var t;return a.default.createElement(E.NotificationsSettingsPerAccount,{key:e.id,address:e.address,name:e.metadata.name,disabledSwitch:v.initialLoading||w,isLoading:v.accountsBeingUpdated.includes(e.address),isEnabled:(null===(t=v.data)||void 0===t?void 0:t[e.address.toLowerCase()])??!1,refetchAccountSettings:C})})))))))};var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=y(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var r=o?Object.getOwnPropertyDescriptor(e,i):null;r&&(r.get||r.set)?Object.defineProperty(a,i,r):a[i]=e[i]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=e("react-redux"),i=e("react-router-dom"),r=e("../../hooks/useI18nContext"),s=e("../../helpers/constants/routes"),c=e("../../components/component-library"),l=e("../../helpers/constants/design-system"),u=e("../../components/multichain"),d=e("../../components/multichain/pages/page"),p=e("../../selectors/metamask-notifications/metamask-notifications"),f=e("../../selectors"),m=e("../../hooks/metamask-notifications/useSwitchNotifications"),g=e("./notifications-settings-allow-notifications"),h=e("./notifications-settings-types"),E=e("./notifications-settings-per-account");function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(y=function(e){return e?n:t})(e)}}}},{package:"$root$",file:"ui/pages/notifications-settings/notifications-settings.tsx"}],[5768,{"../../components/component-library":4955,"../../helpers/constants/design-system":5355,"../../hooks/useI18nContext":5427,"../../selectors/metamask-notifications/metamask-notifications":5989,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.NewFeatureTag=function(){const e=(0,l.useI18nContext)();if((0,i.useSelector)(r.selectIsMetamaskNotificationsFeatureSeen))return null;return o.default.createElement(s.Tag,{backgroundColor:c.BackgroundColor.infoMuted,borderStyle:c.BorderStyle.none,borderRadius:c.BorderRadius.MD,label:e("new"),labelProps:{color:c.TextColor.primaryDefault,variant:c.TextVariant.bodySm},paddingLeft:2,paddingRight:2})};var a,o=(a=e("react"))&&a.__esModule?a:{default:a},i=e("react-redux"),r=e("../../selectors/metamask-notifications/metamask-notifications"),s=e("../../components/component-library"),c=e("../../helpers/constants/design-system"),l=e("../../hooks/useI18nContext")}}},{package:"$root$",file:"ui/pages/notifications/NewFeatureTag.tsx"}],[5769,{"./notifications":5787},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return o.default}});var a,o=(a=e("./notifications"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/notifications/index.js"}],[5770,{"../../../../../app/scripts/controllers/metamask-notifications/constants/notification-schema":17,"../../../../../app/scripts/translate":255,"../../../../../shared/modules/conversion.utils":4537,"../../../../components/component-library":4955,"../../../../components/multichain":5092,"../../../../components/multichain/notification-list-item-icon/notification-list-item-icon":5125,"../../../../helpers/constants/design-system":5355,"../../../../helpers/utils/notification.util":5392,"../../../../helpers/utils/util":5399,"../node-guard":5778,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.components=void 0;var a,o=(a=e("react"))&&a.__esModule?a:{default:a},i=e("../../../../../app/scripts/controllers/metamask-notifications/constants/notification-schema"),r=e("../../../../../app/scripts/translate"),s=e("../node-guard"),c=e("../../../../helpers/utils/util"),l=e("../../../../../shared/modules/conversion.utils"),u=e("../../../../helpers/utils/notification.util"),d=e("../../../../helpers/constants/design-system"),p=e("../../../../components/multichain"),f=e("../../../../components/multichain/notification-list-item-icon/notification-list-item-icon"),m=e("../../../../components/component-library");const g=(0,s.isOfTypeNodeGuard)([i.TRIGGER_TYPES.ERC1155_RECEIVED,i.TRIGGER_TYPES.ERC1155_SENT]),h=e=>e.type===i.TRIGGER_TYPES.ERC1155_SENT,E=e=>h(e)?(0,r.t)("notificationItemNFTSentTo"):(0,r.t)("notificationItemNFTReceivedFrom"),y=e=>{const t=(0,c.shortenAddress)(h(e)?e.data.to:e.data.from);return(0,u.createTextItems)([E(e)||"",t],d.TextVariant.bodySm)};n.components={guardFn:g,item:({notification:e,onClick:t})=>{var n,a,i,r,s;return o.default.createElement(p.NotificationListItem,{id:e.id,isRead:e.isRead,icon:{type:null!==(n=e.data.nft)&&void 0!==n&&n.image?f.NotificationListItemIconType.Nft:f.NotificationListItemIconType.Token,value:(null===(a=e.data.nft)||void 0===a?void 0:a.image)||"http://foo.com/bar.png",badge:{icon:h(e)?m.IconName.Arrow2UpRight:m.IconName.Received,position:m.BadgeWrapperPosition.bottomRight}},title:y(e),description:(r=e,(0,u.createTextItems)([(null===(s=r.data.nft)||void 0===s?void 0:s.collection.name)||""],d.TextVariant.bodyMd)),createdAt:new Date(e.createdAt),amount:(null===(i=e.data.nft)||void 0===i?void 0:i.token_id)||"",onClick:t})},details:{title:({notification:e})=>o.default.createElement(p.NotificationDetailTitle,{title:`${h(e)?(0,r.t)("notificationItemSent"):(0,r.t)("notificationItemReceived")} NFT`,date:(0,u.formatIsoDateString)(e.createdAt)}),body:{type:"body_onchain_notification",Image:({notification:e})=>{var t,n,a;const i=(0,l.decimalToHex)(e.chain_id),{nativeCurrencyLogo:r,nativeCurrencyName:s}=(0,u.getNetworkDetailsByChainId)(`0x${i}`);return o.default.createElement(p.NotificationDetailNft,{networkSrc:r,tokenId:(null===(t=e.data.nft)||void 0===t?void 0:t.token_id)||"",tokenName:(null===(n=e.data.nft)||void 0===n?void 0:n.name)||"",tokenSrc:(null===(a=e.data.nft)||void 0===a?void 0:a.image)||"",networkName:s})},From:({notification:e})=>o.default.createElement(p.NotificationDetailAddress,{side:`${(0,r.t)("notificationItemFrom")}${h(e)?` (${(0,r.t)("you")})`:""}`,address:e.data.from}),To:({notification:e})=>o.default.createElement(p.NotificationDetailAddress,{side:`${(0,r.t)("notificationItemTo")}${h(e)?"":` (${(0,r.t)("you")})`}`,address:e.data.to}),Status:()=>o.default.createElement(p.NotificationDetailInfo,{icon:{iconName:m.IconName.Check,color:d.TextColor.successDefault,backgroundColor:d.BackgroundColor.successMuted},label:(0,r.t)("notificationItemStatus")||"",detail:(0,r.t)("notificationItemConfirmed")||""}),Asset:({notification:e})=>{var t,n,a;const i=(0,l.decimalToHex)(e.chain_id),{nativeCurrencyLogo:s}=(0,u.getNetworkDetailsByChainId)(`0x${i}`);return o.default.createElement(p.NotificationDetailCollection,{icon:{src:(null===(t=e.data.nft)||void 0===t?void 0:t.image)||"",badgeSrc:s},label:(0,r.t)("notificationItemCollection")||"",collection:`${null===(n=e.data.nft)||void 0===n?void 0:n.collection.name} (${null===(a=e.data.nft)||void 0===a?void 0:a.token_id})`})},Network:({notification:e})=>{const t=(0,l.decimalToHex)(e.chain_id),{nativeCurrencyLogo:n,nativeCurrencyName:a}=(0,u.getNetworkDetailsByChainId)(`0x${t}`);return o.default.createElement(p.NotificationDetailAsset,{icon:{src:n},label:(0,r.t)("notificationDetailNetwork")||"",detail:a})},NetworkFee:({notification:e})=>o.default.createElement(p.NotificationDetailNetworkFee,{notification:e})}},footer:{type:"footer_onchain_notification",ScanLink:({notification:e})=>o.default.createElement(p.NotificationDetailBlockExplorerButton,{notification:e,chainId:e.chain_id,txHash:e.tx_hash,id:e.id})}}}}},{package:"$root$",file:"ui/pages/notifications/notification-components/erc1155-sent-received/erc1155-sent-received.tsx"}],[5771,{"../../../../../app/scripts/controllers/metamask-notifications/constants/notification-schema":17,"../../../../../app/scripts/translate":255,"../../../../../shared/modules/conversion.utils":4537,"../../../../components/component-library":4955,"../../../../components/multichain":5092,"../../../../components/multichain/notification-list-item-icon/notification-list-item-icon":5125,"../../../../helpers/constants/design-system":5355,"../../../../helpers/utils/notification.util":5392,"../../../../helpers/utils/util":5399,"../node-guard":5778,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.components=void 0;var a,o=(a=e("react"))&&a.__esModule?a:{default:a},i=e("../../../../../app/scripts/translate"),r=e("../../../../../app/scripts/controllers/metamask-notifications/constants/notification-schema"),s=e("../node-guard"),c=e("../../../../components/multichain/notification-list-item-icon/notification-list-item-icon"),l=e("../../../../helpers/utils/util"),u=e("../../../../../shared/modules/conversion.utils"),d=e("../../../../helpers/utils/notification.util"),p=e("../../../../components/multichain"),f=e("../../../../helpers/constants/design-system"),m=e("../../../../components/component-library");const g=(0,s.isOfTypeNodeGuard)([r.TRIGGER_TYPES.ERC20_RECEIVED,r.TRIGGER_TYPES.ERC20_SENT]),h=e=>e.type===r.TRIGGER_TYPES.ERC20_SENT,E=e=>h(e)?(0,i.t)("notificationItemSentTo"):(0,i.t)("notificationItemReceivedFrom"),y=e=>{const t=(0,l.shortenAddress)(h(e)?e.data.to:e.data.from);return(0,d.createTextItems)([E(e)||"",t],f.TextVariant.bodySm)};n.components={guardFn:g,item:({notification:e,onClick:t})=>{return o.default.createElement(p.NotificationListItem,{id:e.id,isRead:e.isRead,icon:{type:c.NotificationListItemIconType.Token,value:e.data.token.image,badge:{icon:h(e)?m.IconName.Arrow2UpRight:m.IconName.Received,position:m.BadgeWrapperPosition.bottomRight}},title:y(e),description:(n=e,(0,d.createTextItems)([n.data.token.name],f.TextVariant.bodyMd)),createdAt:new Date(e.createdAt),amount:`${(0,d.getAmount)(e.data.token.amount,e.data.token.decimals,{shouldEllipse:!0})} ${e.data.token.symbol}`,onClick:t});var n},details:{title:({notification:e})=>o.default.createElement(p.NotificationDetailTitle,{title:`${h(e)?(0,i.t)("notificationItemSent"):(0,i.t)("notificationItemReceived")} ${e.data.token.symbol}`,date:(0,d.formatIsoDateString)(e.createdAt)}),body:{type:"body_onchain_notification",From:({notification:e})=>o.default.createElement(p.NotificationDetailAddress,{side:`${(0,i.t)("notificationItemFrom")}${h(e)?` (${(0,i.t)("you")})`:""}`,address:e.data.from}),To:({notification:e})=>o.default.createElement(p.NotificationDetailAddress,{side:`${(0,i.t)("notificationItemTo")}${h(e)?"":` (${(0,i.t)("you")})`}`,address:e.data.to}),Status:({notification:e})=>o.default.createElement(p.NotificationDetailInfo,{icon:{iconName:m.IconName.Check,color:f.TextColor.successDefault,backgroundColor:f.BackgroundColor.successMuted},label:(0,i.t)("notificationItemStatus")||"",detail:(0,i.t)("notificationItemConfirmed")||"",action:o.default.createElement(p.NotificationDetailCopyButton,{text:e.tx_hash,displayText:(0,i.t)("notificationItemTransactionId")||""})}),Asset:({notification:e})=>{const t=(0,u.decimalToHex)(e.chain_id),{nativeCurrencyLogo:n}=(0,d.getNetworkDetailsByChainId)(`0x${t}`);return o.default.createElement(p.NotificationDetailAsset,{icon:{src:e.data.token.image,badge:{src:n,position:m.BadgeWrapperPosition.topRight}},label:(0,i.t)("asset")||"",detail:e.data.token.symbol,fiatValue:`$${(0,d.getUsdAmount)(e.data.token.amount,e.data.token.decimals,e.data.token.usd)}`,value:`${(0,d.getAmount)(e.data.token.amount,e.data.token.decimals,{shouldEllipse:!0})} ${e.data.token.symbol}`})},Network:({notification:e})=>{const t=(0,u.decimalToHex)(e.chain_id),{nativeCurrencyLogo:n,nativeCurrencyName:a}=(0,d.getNetworkDetailsByChainId)(`0x${t}`);return o.default.createElement(p.NotificationDetailAsset,{icon:{src:n},label:(0,i.t)("notificationDetailNetwork")||"",detail:a})},NetworkFee:({notification:e})=>o.default.createElement(p.NotificationDetailNetworkFee,{notification:e})}},footer:{type:"footer_onchain_notification",ScanLink:({notification:e})=>o.default.createElement(p.NotificationDetailBlockExplorerButton,{notification:e,chainId:e.chain_id,txHash:e.tx_hash,id:e.id})}}}}},{package:"$root$",file:"ui/pages/notifications/notification-components/erc20-sent-received/erc20-sent-received.tsx"}],[5772,{"../../../../../app/scripts/controllers/metamask-notifications/constants/notification-schema":17,"../../../../../app/scripts/translate":255,"../../../../../shared/modules/conversion.utils":4537,"../../../../components/component-library":4955,"../../../../components/multichain":5092,"../../../../components/multichain/notification-list-item-icon/notification-list-item-icon":5125,"../../../../helpers/constants/design-system":5355,"../../../../helpers/utils/notification.util":5392,"../../../../helpers/utils/util":5399,"../node-guard":5778,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.components=void 0;var a,o=(a=e("react"))&&a.__esModule?a:{default:a},i=e("../../../../../app/scripts/controllers/metamask-notifications/constants/notification-schema"),r=e("../../../../../app/scripts/translate"),s=e("../node-guard"),c=e("../../../../helpers/utils/util"),l=e("../../../../../shared/modules/conversion.utils"),u=e("../../../../helpers/utils/notification.util"),d=e("../../../../helpers/constants/design-system"),p=e("../../../../components/multichain"),f=e("../../../../components/multichain/notification-list-item-icon/notification-list-item-icon"),m=e("../../../../components/component-library");const g=(0,s.isOfTypeNodeGuard)([i.TRIGGER_TYPES.ERC721_RECEIVED,i.TRIGGER_TYPES.ERC721_SENT]),h=e=>e.type===i.TRIGGER_TYPES.ERC721_SENT,E=e=>h(e)?(0,r.t)("notificationItemNFTSentTo"):(0,r.t)("notificationItemNFTReceivedFrom"),y=e=>{const t=(0,c.shortenAddress)(h(e)?e.data.to:e.data.from);return(0,u.createTextItems)([E(e)||"",t],d.TextVariant.bodySm)};n.components={guardFn:g,item:({notification:e,onClick:t})=>{return o.default.createElement(p.NotificationListItem,{id:e.id,isRead:e.isRead,icon:{type:f.NotificationListItemIconType.Nft,value:e.data.nft.image,badge:{icon:h(e)?m.IconName.Arrow2UpRight:m.IconName.Received,position:m.BadgeWrapperPosition.bottomRight}},title:y(e),description:(n=e,(0,u.createTextItems)([n.data.nft.collection.name],d.TextVariant.bodyMd)),createdAt:new Date(e.createdAt),amount:`#${e.data.nft.token_id}`,onClick:t});var n},details:{title:({notification:e})=>o.default.createElement(p.NotificationDetailTitle,{title:`${h(e)?(0,r.t)("notificationItemSent"):(0,r.t)("notificationItemReceived")} NFT`,date:(0,u.formatIsoDateString)(e.createdAt)}),body:{type:"body_onchain_notification",Image:({notification:e})=>{const t=(0,l.decimalToHex)(e.chain_id),{nativeCurrencyLogo:n,nativeCurrencyName:a}=(0,u.getNetworkDetailsByChainId)(`0x${t}`);return o.default.createElement(p.NotificationDetailNft,{networkSrc:n,tokenId:e.data.nft.token_id,tokenName:e.data.nft.name,tokenSrc:e.data.nft.image,networkName:a})},From:({notification:e})=>o.default.createElement(p.NotificationDetailAddress,{side:`${(0,r.t)("notificationItemFrom")}${h(e)?` (${(0,r.t)("you")})`:""}`,address:e.data.from}),To:({notification:e})=>o.default.createElement(p.NotificationDetailAddress,{side:`${(0,r.t)("notificationItemTo")}${h(e)?"":` (${(0,r.t)("you")})`}`,address:e.data.to}),Status:()=>o.default.createElement(p.NotificationDetailInfo,{icon:{iconName:m.IconName.Check,color:d.TextColor.successDefault,backgroundColor:d.BackgroundColor.successMuted},label:(0,r.t)("notificationItemStatus")||"",detail:(0,r.t)("notificationItemConfirmed")||""}),Asset:({notification:e})=>{const t=(0,l.decimalToHex)(e.chain_id),{nativeCurrencyLogo:n}=(0,u.getNetworkDetailsByChainId)(`0x${t}`);return o.default.createElement(p.NotificationDetailCollection,{icon:{src:e.data.nft.image,badgeSrc:n},label:(0,r.t)("notificationItemCollection")||"",collection:`${e.data.nft.collection.name} (${e.data.nft.token_id})`})},Network:({notification:e})=>{const t=(0,l.decimalToHex)(e.chain_id),{nativeCurrencyLogo:n,nativeCurrencyName:a}=(0,u.getNetworkDetailsByChainId)(`0x${t}`);return o.default.createElement(p.NotificationDetailAsset,{icon:{src:n},label:(0,r.t)("notificationDetailNetwork")||"",detail:a})},NetworkFee:({notification:e})=>o.default.createElement(p.NotificationDetailNetworkFee,{notification:e})}},footer:{type:"footer_onchain_notification",ScanLink:({notification:e})=>o.default.createElement(p.NotificationDetailBlockExplorerButton,{notification:e,chainId:e.chain_id,txHash:e.tx_hash,id:e.id})}}}}},{package:"$root$",file:"ui/pages/notifications/notification-components/erc721-sent-received/erc721-sent-received.tsx"}],[5773,{"../../../../../app/scripts/controllers/metamask-notifications/constants/notification-schema":17,"../../../../../app/scripts/translate":255,"../../../../../shared/modules/conversion.utils":4537,"../../../../components/component-library":4955,"../../../../components/multichain":5092,"../../../../components/multichain/notification-list-item-icon/notification-list-item-icon":5125,"../../../../helpers/constants/design-system":5355,"../../../../helpers/utils/notification.util":5392,"../../../../helpers/utils/util":5399,"../node-guard":5778,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.components=void 0;var a,o=(a=e("react"))&&a.__esModule?a:{default:a},i=e("../../../../../app/scripts/translate"),r=e("../../../../../app/scripts/controllers/metamask-notifications/constants/notification-schema"),s=e("../node-guard"),c=e("../../../../../shared/modules/conversion.utils"),l=e("../../../../helpers/utils/util"),u=e("../../../../helpers/utils/notification.util"),d=e("../../../../helpers/constants/design-system"),p=e("../../../../components/multichain"),f=e("../../../../components/multichain/notification-list-item-icon/notification-list-item-icon"),m=e("../../../../components/component-library");const g=(0,s.isOfTypeNodeGuard)([r.TRIGGER_TYPES.ETH_RECEIVED,r.TRIGGER_TYPES.ETH_SENT]),h=e=>e.type===r.TRIGGER_TYPES.ETH_SENT,E=e=>h(e)?(0,i.t)("notificationItemSentTo"):(0,i.t)("notificationItemReceivedFrom"),y=e=>{const t=(0,c.decimalToHex)(e.chain_id);return(0,u.getNetworkDetailsByChainId)(`0x${t}`)},A=e=>{const t=(0,l.shortenAddress)(h(e)?e.data.to:e.data.from);return(0,u.createTextItems)([E(e)||"",t],d.TextVariant.bodySm)},T=e=>{const{nativeCurrencySymbol:t}=y(e);return(0,u.createTextItems)([t],d.TextVariant.bodyMd)};n.components={guardFn:g,item:({notification:e,onClick:t})=>{const{nativeCurrencySymbol:n,nativeCurrencyLogo:a}=y(e);return o.default.createElement(p.NotificationListItem,{id:e.id,isRead:e.isRead,icon:{type:f.NotificationListItemIconType.Token,value:a,badge:{icon:h(e)?m.IconName.Arrow2UpRight:m.IconName.Received,position:m.BadgeWrapperPosition.bottomRight}},title:A(e),description:T(e),createdAt:new Date(e.createdAt),amount:`${(0,u.formatAmount)(parseFloat(e.data.amount.eth),{shouldEllipse:!0})} ${n}`,onClick:t})},details:{title:({notification:e})=>{const t=(0,c.decimalToHex)(e.chain_id),{nativeCurrencySymbol:n}=(0,u.getNetworkDetailsByChainId)(`0x${t}`);return o.default.createElement(p.NotificationDetailTitle,{title:`${h(e)?(0,i.t)("notificationItemSent"):(0,i.t)("notificationItemReceived")} ${n}`,date:(0,u.formatIsoDateString)(e.createdAt)})},body:{type:"body_onchain_notification",From:({notification:e})=>o.default.createElement(p.NotificationDetailAddress,{side:`${(0,i.t)("notificationItemFrom")}${h(e)?` (${(0,i.t)("you")})`:""}`,address:e.data.from}),To:({notification:e})=>o.default.createElement(p.NotificationDetailAddress,{side:`${(0,i.t)("notificationItemTo")}${h(e)?"":` (${(0,i.t)("you")})`}`,address:e.data.to}),Status:({notification:e})=>o.default.createElement(p.NotificationDetailInfo,{icon:{iconName:m.IconName.Check,color:d.TextColor.successDefault,backgroundColor:d.BackgroundColor.successMuted},label:(0,i.t)("notificationItemStatus")||"",detail:(0,i.t)("notificationItemConfirmed")||"",action:o.default.createElement(p.NotificationDetailCopyButton,{text:e.tx_hash,displayText:(0,i.t)("notificationItemTransactionId")||""})}),Asset:({notification:e})=>{const t=(0,c.decimalToHex)(e.chain_id),{nativeCurrencyLogo:n,nativeCurrencySymbol:a}=(0,u.getNetworkDetailsByChainId)(`0x${t}`);return o.default.createElement(p.NotificationDetailAsset,{icon:{src:n,badge:{src:n,position:m.BadgeWrapperPosition.topRight}},label:(0,i.t)("asset")||"",detail:a,fiatValue:`$${(0,u.formatAmount)(parseFloat(e.data.amount.usd),{shouldEllipse:!0})}`,value:`${(0,u.formatAmount)(parseFloat(e.data.amount.eth),{shouldEllipse:!0})} ${a}`})},Network:({notification:e})=>{const t=(0,c.decimalToHex)(e.chain_id),{nativeCurrencyLogo:n,nativeCurrencyName:a}=(0,u.getNetworkDetailsByChainId)(`0x${t}`);return o.default.createElement(p.NotificationDetailAsset,{icon:{src:n},label:(0,i.t)("notificationDetailNetwork")||"",detail:a})},NetworkFee:({notification:e})=>o.default.createElement(p.NotificationDetailNetworkFee,{notification:e})}},footer:{type:"footer_onchain_notification",ScanLink:({notification:e})=>o.default.createElement(p.NotificationDetailBlockExplorerButton,{notification:e,chainId:e.chain_id,txHash:e.tx_hash,id:e.id})}}}}},{package:"$root$",file:"ui/pages/notifications/notification-components/eth-sent-received/eth-sent-received.tsx"}],[5774,{"../../../../../app/scripts/controllers/metamask-notifications/constants/notification-schema":17,"../../../../components/component-library":4955,"../../../../components/multichain":5092,"../../../../components/multichain/notification-list-item-icon/notification-list-item-icon":5125,"../../../../helpers/constants/design-system":5355,"../../../../helpers/utils/notification.util":5392,"../node-guard":5778,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.components=void 0;var a,o=(a=e("react"))&&a.__esModule?a:{default:a},i=e("../../../../../app/scripts/controllers/metamask-notifications/constants/notification-schema"),r=e("../node-guard"),s=e("../../../../components/multichain/notification-list-item-icon/notification-list-item-icon"),c=e("../../../../helpers/utils/notification.util"),l=e("../../../../components/component-library"),u=e("../../../../components/multichain"),d=e("../../../../helpers/constants/design-system");const p=(0,r.isOfTypeNodeGuard)([i.TRIGGER_TYPES.FEATURES_ANNOUNCEMENT]),f=e=>(0,c.createTextItems)([e.data.shortDescription],d.TextVariant.bodyMd);n.components={guardFn:p,item:({notification:e,onClick:t})=>{return o.default.createElement(u.NotificationListItem,{id:e.id,isRead:e.isRead,icon:{type:s.NotificationListItemIconType.Token,value:"./images/product-announcement-logo.svg"},title:(n=e,(0,c.createTextItems)([n.data.title],d.TextVariant.bodySm)),description:f(e),createdAt:new Date(e.createdAt),onClick:t});var n},details:{title:({notification:e})=>o.default.createElement(u.NotificationDetailTitle,{title:e.data.title,date:(0,c.formatIsoDateString)(e.createdAt)}),body:{type:"body_feature_announcement",Image:({notification:e})=>o.default.createElement(l.Box,{display:d.Display.Block,width:d.BlockSize.Full,paddingLeft:4,paddingRight:4,paddingBottom:4},o.default.createElement(l.Box,{as:"img",src:`https:${e.data.image.url}?fm=jpg&fl=progressive&w=1000&q=80`,alt:e.data.title,title:e.data.title,display:d.Display.Block,justifyContent:d.JustifyContent.center,borderRadius:d.BorderRadius.XL,width:d.BlockSize.Full})),Description:({notification:e})=>o.default.createElement(l.Box,{paddingLeft:4,paddingRight:4},o.default.createElement(l.Text,{variant:d.TextVariant.bodyMd,dangerouslySetInnerHTML:{__html:e.data.longDescription}}))}},footer:{type:"footer_feature_announcement",ExtensionLink:({notification:e})=>e.data.extensionLink?o.default.createElement(u.NotificationDetailButton,{notification:e,variant:l.ButtonVariant.Primary,text:e.data.extensionLink.extensionLinkText,href:`/${e.data.extensionLink.extensionLinkRoute}`,id:e.id,endIconName:!1,isExternal:!0}):null}}}}},{package:"$root$",file:"ui/pages/notifications/notification-components/feature-announcement/feature-announcement.tsx"}],[5775,{"../../../../app/scripts/controllers/metamask-notifications/constants/notification-schema":17,"./erc1155-sent-received/erc1155-sent-received":5770,"./erc20-sent-received/erc20-sent-received":5771,"./erc721-sent-received/erc721-sent-received":5772,"./eth-sent-received/eth-sent-received":5773,"./feature-announcement/feature-announcement":5774,"./lido-stake-ready-to-be-withdrawn/lido-stake-ready-to-be-withdrawn":5776,"./lido-withdrawal-requested/lido-withdrawal-requested":5777,"./stake/stake":5780,"./swap-completed/swap-completed":5781},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.hasNotificationComponents=n.NotificationComponents=void 0;var a=e("../../../../app/scripts/controllers/metamask-notifications/constants/notification-schema"),o=e("./erc20-sent-received/erc20-sent-received"),i=e("./erc721-sent-received/erc721-sent-received"),r=e("./erc1155-sent-received/erc1155-sent-received"),s=e("./eth-sent-received/eth-sent-received"),c=e("./feature-announcement/feature-announcement"),l=e("./stake/stake"),u=e("./swap-completed/swap-completed"),d=e("./lido-withdrawal-requested/lido-withdrawal-requested"),p=e("./lido-stake-ready-to-be-withdrawn/lido-stake-ready-to-be-withdrawn");const f=n.NotificationComponents={[a.TRIGGER_TYPES.ERC20_SENT]:o.components,[a.TRIGGER_TYPES.ERC20_RECEIVED]:o.components,[a.TRIGGER_TYPES.ERC721_SENT]:i.components,[a.TRIGGER_TYPES.ERC721_RECEIVED]:i.components,[a.TRIGGER_TYPES.ERC1155_SENT]:r.components,[a.TRIGGER_TYPES.ERC1155_RECEIVED]:r.components,[a.TRIGGER_TYPES.ETH_SENT]:s.components,[a.TRIGGER_TYPES.ETH_RECEIVED]:s.components,[a.TRIGGER_TYPES.FEATURES_ANNOUNCEMENT]:c.components,[a.TRIGGER_TYPES.ROCKETPOOL_STAKE_COMPLETED]:l.components,[a.TRIGGER_TYPES.ROCKETPOOL_UNSTAKE_COMPLETED]:l.components,[a.TRIGGER_TYPES.LIDO_STAKE_COMPLETED]:l.components,[a.TRIGGER_TYPES.LIDO_WITHDRAWAL_COMPLETED]:l.components,[a.TRIGGER_TYPES.LIDO_WITHDRAWAL_REQUESTED]:d.components,[a.TRIGGER_TYPES.METAMASK_SWAP_COMPLETED]:u.components,[a.TRIGGER_TYPES.LIDO_STAKE_READY_TO_BE_WITHDRAWN]:p.components};n.hasNotificationComponents=e=>e in f}}},{package:"$root$",file:"ui/pages/notifications/notification-components/index.ts"}],[5776,{"../../../../../app/scripts/controllers/metamask-notifications/constants/notification-schema":17,"../../../../../app/scripts/translate":255,"../../../../../shared/modules/conversion.utils":4537,"../../../../components/component-library":4955,"../../../../components/multichain":5092,"../../../../components/multichain/notification-list-item-icon/notification-list-item-icon":5125,"../../../../helpers/constants/design-system":5355,"../../../../helpers/utils/notification.util":5392,"../node-guard":5778,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.components=void 0;var a,o=(a=e("react"))&&a.__esModule?a:{default:a},i=e("../../../../../app/scripts/controllers/metamask-notifications/constants/notification-schema"),r=e("../node-guard"),s=e("../../../../components/multichain"),c=e("../../../../../app/scripts/translate"),l=e("../../../../helpers/utils/notification.util"),u=e("../../../../helpers/constants/design-system"),d=e("../../../../components/multichain/notification-list-item-icon/notification-list-item-icon"),p=e("../../../../components/component-library"),f=e("../../../../../shared/modules/conversion.utils");const m=(0,r.isOfTypeNodeGuard)([i.TRIGGER_TYPES.LIDO_STAKE_READY_TO_BE_WITHDRAWN]),g=e=>{const t=(0,l.formatAmount)(parseFloat(e.data.staked_eth.amount),{shouldEllipse:!0}),n=(0,c.t)("notificationItemLidoStakeReadyToBeWithdrawnMessage",[`${t} ${e.data.staked_eth.symbol}`])||"";return(0,l.createTextItems)([n],u.TextVariant.bodyMd)};n.components={guardFn:m,item:({notification:e,onClick:t})=>o.default.createElement(s.NotificationListItem,{id:e.trigger_id,isRead:e.isRead,icon:{type:d.NotificationListItemIconType.Token,value:e.data.staked_eth.image,badge:{icon:p.IconName.Stake,position:p.BadgeWrapperPosition.bottomRight}},title:(0,l.createTextItems)([(0,c.t)("notificationItemLidoStakeReadyToBeWithdrawn")||""],u.TextVariant.bodySm),description:g(e),createdAt:new Date(e.createdAt),onClick:t}),details:{title:({notification:e})=>o.default.createElement(s.NotificationDetailTitle,{title:(0,c.t)("notificationItemLidoStakeReadyToBeWithdrawn")||"",date:(0,l.formatIsoDateString)(e.createdAt)}),body:{type:"body_onchain_notification",Account:({notification:e})=>e.address?o.default.createElement(s.NotificationDetailAddress,{side:(0,c.t)("account")||"",address:e.address}):null,Status:()=>o.default.createElement(s.NotificationDetailInfo,{icon:{iconName:p.IconName.Check,color:u.TextColor.successDefault,backgroundColor:u.BackgroundColor.successMuted},label:(0,c.t)("notificationItemStatus")||"",detail:(0,c.t)("notificationItemConfirmed")||""}),Asset:({notification:e})=>{const t=(0,f.decimalToHex)(e.chain_id),{nativeCurrencyLogo:n}=(0,l.getNetworkDetailsByChainId)(`0x${t}`);return o.default.createElement(s.NotificationDetailAsset,{icon:{src:e.data.staked_eth.image,badge:{src:n,position:p.BadgeWrapperPosition.topRight}},label:(0,c.t)("notificationItemLidoStakeReadyToBeWithdrawn")||"",detail:e.data.staked_eth.symbol,fiatValue:`$${(0,l.formatAmount)(parseFloat(e.data.staked_eth.usd),{shouldEllipse:!0})}`,value:`${(0,l.formatAmount)(parseFloat(e.data.staked_eth.amount),{shouldEllipse:!0})} ${e.data.staked_eth.symbol}`})},AssetReceived:({notification:e})=>{const t=(0,f.decimalToHex)(e.chain_id),{nativeCurrencyLogo:n}=(0,l.getNetworkDetailsByChainId)(`0x${t}`);return o.default.createElement(s.NotificationDetailAsset,{icon:{src:e.data.staked_eth.image,badge:{src:n,position:p.BadgeWrapperPosition.topRight}},label:(0,c.t)("notificationItemStakingProvider")||"",detail:e.data.staked_eth.symbol})}}},footer:{type:"footer_onchain_notification",ScanLink:({notification:e})=>o.default.createElement(s.NotificationDetailBlockExplorerButton,{notification:e,chainId:e.chain_id,txHash:e.tx_hash,id:e.id})}}}}},{package:"$root$",file:"ui/pages/notifications/notification-components/lido-stake-ready-to-be-withdrawn/lido-stake-ready-to-be-withdrawn.tsx"}],[5777,{"../../../../../app/scripts/controllers/metamask-notifications/constants/notification-schema":17,"../../../../../app/scripts/translate":255,"../../../../../shared/modules/conversion.utils":4537,"../../../../components/component-library":4955,"../../../../components/multichain":5092,"../../../../components/multichain/notification-list-item-icon/notification-list-item-icon":5125,"../../../../helpers/constants/design-system":5355,"../../../../helpers/utils/notification.util":5392,"../node-guard":5778,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.components=void 0;var a,o=(a=e("react"))&&a.__esModule?a:{default:a},i=e("../../../../../app/scripts/controllers/metamask-notifications/constants/notification-schema"),r=e("../node-guard"),s=e("../../../../components/multichain/notification-list-item-icon/notification-list-item-icon"),c=e("../../../../components/multichain"),l=e("../../../../helpers/utils/notification.util"),u=e("../../../../../app/scripts/translate"),d=e("../../../../helpers/constants/design-system"),p=e("../../../../components/component-library"),f=e("../../../../../shared/modules/conversion.utils");const m=(0,r.isOfTypeNodeGuard)([i.TRIGGER_TYPES.LIDO_WITHDRAWAL_REQUESTED]),g=e=>{const t=(0,l.getAmount)(e.data.stake_in.amount,e.data.stake_in.decimals,{shouldEllipse:!0}),n=(0,u.t)("notificationItemLidoWithdrawalRequestedMessage",[`${t} ${e.data.stake_in.symbol}`])||"";return(0,l.createTextItems)([n],d.TextVariant.bodyMd)};n.components={guardFn:m,item:({notification:e,onClick:t})=>o.default.createElement(c.NotificationListItem,{id:e.id,isRead:e.isRead,icon:{type:s.NotificationListItemIconType.Token,value:e.data.stake_in.image,badge:{icon:p.IconName.Stake,position:p.BadgeWrapperPosition.bottomRight}},title:(0,l.createTextItems)([(0,u.t)("notificationItemUnStakingRequested")||""],d.TextVariant.bodySm),description:g(e),createdAt:new Date(e.createdAt),amount:`${(0,l.getAmount)(e.data.stake_in.amount,e.data.stake_in.decimals,{shouldEllipse:!0})} ${e.data.stake_in.symbol}`,onClick:t}),details:{title:({notification:e})=>o.default.createElement(c.NotificationDetailTitle,{title:(0,u.t)("notificationItemUnStakingRequested")||"",date:(0,l.formatIsoDateString)(e.createdAt)}),body:{type:"body_onchain_notification",Account:({notification:e})=>e.address?o.default.createElement(c.NotificationDetailAddress,{side:(0,u.t)("account")||"",address:e.address}):null,Status:({notification:e})=>o.default.createElement(c.NotificationDetailInfo,{icon:{iconName:p.IconName.Check,color:d.TextColor.successDefault,backgroundColor:d.BackgroundColor.successMuted},label:(0,u.t)("notificationItemStatus")||"",detail:(0,u.t)("notificationItemConfirmed")||"",action:o.default.createElement(c.NotificationDetailCopyButton,{text:e.tx_hash,displayText:(0,u.t)("notificationItemTransactionId")||""})}),Asset:({notification:e})=>{const t=(0,f.decimalToHex)(e.chain_id),{nativeCurrencyLogo:n}=(0,l.getNetworkDetailsByChainId)(`0x${t}`);return o.default.createElement(c.NotificationDetailAsset,{icon:{src:e.data.stake_in.image,badge:{src:n,position:p.BadgeWrapperPosition.topRight}},label:(0,u.t)("notificationItemUnStakingRequested")||"",detail:e.data.stake_in.symbol,fiatValue:`$${(0,l.getUsdAmount)(e.data.stake_in.amount,e.data.stake_in.decimals,e.data.stake_in.usd)}`,value:`${(0,l.getAmount)(e.data.stake_in.amount,e.data.stake_in.decimals,{shouldEllipse:!0})} ${e.data.stake_in.symbol}`})},AssetReceived:({notification:e})=>{const t=(0,f.decimalToHex)(e.chain_id),{nativeCurrencyLogo:n}=(0,l.getNetworkDetailsByChainId)(`0x${t}`);return o.default.createElement(c.NotificationDetailAsset,{icon:{src:e.data.stake_in.image,badge:{src:n,position:p.BadgeWrapperPosition.topRight}},label:(0,u.t)("notificationItemStakingProvider")||"",detail:"Lido-staked ETH"})}}},footer:{type:"footer_onchain_notification",ScanLink:({notification:e})=>o.default.createElement(c.NotificationDetailBlockExplorerButton,{notification:e,chainId:e.chain_id,txHash:e.tx_hash,id:e.id})}}}}},{package:"$root$",file:"ui/pages/notifications/notification-components/lido-withdrawal-requested/lido-withdrawal-requested.tsx"}],[5778,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.isOfTypeNodeGuard=void 0;n.isOfTypeNodeGuard=e=>t=>e.includes(t.type)}}},{package:"$root$",file:"ui/pages/notifications/notification-components/node-guard.ts"}],[5779,{"../../../../../shared/constants/metametrics":4505,"../../../../components/multichain":5092,"../../../../contexts/metametrics":5327,"../../../../helpers/utils/util":5399,"../../../../selectors":5987,"../../../../store/actions":5998,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.SnapComponent=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=p(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var r=o?Object.getOwnPropertyDescriptor(e,i):null;r&&(r.get||r.set)?Object.defineProperty(a,i,r):a[i]=e[i]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=e("react-redux"),i=e("react-router-dom"),r=e("../../../../../shared/constants/metametrics"),s=e("../../../../contexts/metametrics"),c=e("../../../../components/multichain"),l=e("../../../../selectors"),u=e("../../../../store/actions"),d=e("../../../../helpers/utils/util");function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(p=function(e){return e?n:t})(e)}n.SnapComponent=({snapNotification:e})=>{const t=(0,o.useDispatch)(),n=(0,i.useHistory)(),p=(0,a.useContext)(s.MetaMetricsContext),f=(0,o.useSelector)(l.getSnapsMetadata),m=(0,d.getSnapName)(f);return a.default.createElement(c.NotificationListItemSnap,{id:e.id,isRead:e.isRead,createdAt:new Date(e.createdAt),title:{items:[{text:m(e.data.origin)||"Snap"}]},snapMessage:e.data.message,handleSnapClick:()=>{t((0,u.markNotificationsAsRead)([e.id])),p({category:r.MetaMetricsEventCategory.NotificationInteraction,event:r.MetaMetricsEventName.NotificationDetailClicked,properties:{notificationId:e.id,notificationType:e.type,notificationIsRead:e.isRead}})},handleSnapButton:()=>{t((0,u.markNotificationsAsRead)([e.id])),p({category:r.MetaMetricsEventCategory.NotificationInteraction,event:r.MetaMetricsEventName.NotificationItemClicked,properties:{notificationId:e.id,notificationType:e.type,notificationIsRead:e.isRead}}),n.push((0,d.getSnapRoute)(e.data.origin))}})}}}},{package:"$root$",file:"ui/pages/notifications/notification-components/snap/snap.tsx"}],[5780,{"../../../../../app/scripts/controllers/metamask-notifications/constants/notification-schema":17,"../../../../../app/scripts/translate":255,"../../../../../shared/modules/conversion.utils":4537,"../../../../components/component-library":4955,"../../../../components/multichain":5092,"../../../../components/multichain/notification-list-item-icon/notification-list-item-icon":5125,"../../../../helpers/constants/design-system":5355,"../../../../helpers/utils/notification.util":5392,"../node-guard":5778,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.components=void 0;var a,o=(a=e("react"))&&a.__esModule?a:{default:a},i=e("../../../../../app/scripts/translate"),r=e("../../../../../app/scripts/controllers/metamask-notifications/constants/notification-schema"),s=e("../node-guard"),c=e("../../../../components/multichain"),l=e("../../../../components/multichain/notification-list-item-icon/notification-list-item-icon"),u=e("../../../../components/component-library"),d=e("../../../../helpers/utils/notification.util"),p=e("../../../../../shared/modules/conversion.utils"),f=e("../../../../helpers/constants/design-system");const m=(0,s.isOfTypeNodeGuard)([r.TRIGGER_TYPES.ROCKETPOOL_STAKE_COMPLETED,r.TRIGGER_TYPES.ROCKETPOOL_UNSTAKE_COMPLETED,r.TRIGGER_TYPES.LIDO_STAKE_COMPLETED,r.TRIGGER_TYPES.LIDO_WITHDRAWAL_COMPLETED]),g={[r.TRIGGER_TYPES.LIDO_STAKE_COMPLETED]:(0,i.t)("notificationItemStaked"),[r.TRIGGER_TYPES.LIDO_WITHDRAWAL_COMPLETED]:(0,i.t)("notificationItemUnStakeCompleted"),[r.TRIGGER_TYPES.ROCKETPOOL_STAKE_COMPLETED]:(0,i.t)("notificationItemStakeCompleted"),[r.TRIGGER_TYPES.ROCKETPOOL_UNSTAKE_COMPLETED]:(0,i.t)("notificationItemUnStakeCompleted")},h={[r.TRIGGER_TYPES.ROCKETPOOL_STAKE_COMPLETED]:"staked",[r.TRIGGER_TYPES.ROCKETPOOL_UNSTAKE_COMPLETED]:"unstaked",[r.TRIGGER_TYPES.LIDO_STAKE_COMPLETED]:"staked",[r.TRIGGER_TYPES.LIDO_WITHDRAWAL_COMPLETED]:"unstaked"},E={[r.TRIGGER_TYPES.LIDO_STAKE_COMPLETED]:"Lido-staked ETH",[r.TRIGGER_TYPES.LIDO_WITHDRAWAL_COMPLETED]:"Lido-staked ETH",[r.TRIGGER_TYPES.ROCKETPOOL_STAKE_COMPLETED]:"Rocket Pool-staked ETH",[r.TRIGGER_TYPES.ROCKETPOOL_UNSTAKE_COMPLETED]:"Rocket Pool-staked ETH"},y=e=>{const t=h[e.type];return(0,d.createTextItems)(["staked"===t?e.data.stake_out.symbol:e.data.stake_in.symbol],f.TextVariant.bodyMd)};n.components={guardFn:m,item:({notification:e,onClick:t})=>{const n=h[e.type],a="staked"===n?e.data.stake_in:e.data.stake_out,i=(0,d.getAmount)(a.amount,a.decimals,{shouldEllipse:!0});return o.default.createElement(c.NotificationListItem,{id:e.id,isRead:e.isRead,icon:{type:l.NotificationListItemIconType.Token,value:e.data.stake_out.image,badge:{icon:u.IconName.Stake,position:u.BadgeWrapperPosition.bottomRight}},title:(r=e,(0,d.createTextItems)([g[r.type]||""],f.TextVariant.bodySm)),description:y(e),createdAt:new Date(e.createdAt),amount:`${i} ${"staked"===n?e.data.stake_in.symbol:e.data.stake_out.symbol}`,onClick:t});var r},details:{title:({notification:e})=>{const t="staked"===h[e.type]?`${(0,i.t)("notificationItemStaked")} ${e.data.stake_in.symbol}`:`${(0,i.t)("notificationItemUnStaked")} ${e.data.stake_in.symbol}`;return o.default.createElement(c.NotificationDetailTitle,{title:t,date:(0,d.formatIsoDateString)(e.createdAt)})},body:{type:"body_onchain_notification",Account:({notification:e})=>e.address?o.default.createElement(c.NotificationDetailAddress,{side:(0,i.t)("account")||"",address:e.address}):null,Asset:({notification:e})=>{const t=h[e.type],n=(0,p.decimalToHex)(e.chain_id),{nativeCurrencyLogo:a}=(0,d.getNetworkDetailsByChainId)(`0x${n}`);return o.default.createElement(c.NotificationDetailAsset,{icon:{src:e.data.stake_in.image,badge:{src:a,position:u.BadgeWrapperPosition.topRight}},label:"staked"===t?(0,i.t)("notificationItemStaked")||"":(0,i.t)("notificationItemUnStaked")||"",detail:e.data.stake_in.symbol,fiatValue:`$${(0,d.getUsdAmount)(e.data.stake_in.amount,e.data.stake_in.decimals,e.data.stake_in.usd)}`,value:`${(0,d.getAmount)(e.data.stake_in.amount,e.data.stake_in.decimals,{shouldEllipse:!0})} ${e.data.stake_in.symbol}`})},AssetReceived:({notification:e})=>{const t=(0,p.decimalToHex)(e.chain_id),{nativeCurrencyLogo:n}=(0,d.getNetworkDetailsByChainId)(`0x${t}`);return o.default.createElement(c.NotificationDetailAsset,{icon:{src:e.data.stake_out.image,badge:{src:n,position:u.BadgeWrapperPosition.topRight}},label:(0,i.t)("notificationItemReceived")||"",detail:e.data.stake_out.symbol,fiatValue:`$${(0,d.getUsdAmount)(e.data.stake_out.amount,e.data.stake_out.decimals,e.data.stake_out.usd)}`,value:`${(0,d.getAmount)(e.data.stake_out.amount,e.data.stake_out.decimals,{shouldEllipse:!0})} ${e.data.stake_out.symbol}`})},Status:({notification:e})=>o.default.createElement(c.NotificationDetailInfo,{icon:{iconName:u.IconName.Check,color:f.TextColor.successDefault,backgroundColor:f.BackgroundColor.successMuted},label:(0,i.t)("notificationItemStatus")||"",detail:(0,i.t)("notificationItemConfirmed")||"",action:o.default.createElement(c.NotificationDetailCopyButton,{text:e.tx_hash,displayText:(0,i.t)("notificationItemTransactionId")||""})}),Provider:({notification:e})=>{const t=h[e.type],n=E[e.type];return o.default.createElement(c.NotificationDetailAsset,{icon:{src:e.data.stake_out.image,badge:{src:"staked"===t?e.data.stake_out.image:e.data.stake_in.image}},label:(0,i.t)("notificationItemStakingProvider")||"",detail:n})},NetworkFee:({notification:e})=>o.default.createElement(c.NotificationDetailNetworkFee,{notification:e})}},footer:{type:"footer_onchain_notification",ScanLink:({notification:e})=>o.default.createElement(c.NotificationDetailBlockExplorerButton,{notification:e,chainId:e.chain_id,txHash:e.tx_hash,id:e.id})}}}}},{package:"$root$",file:"ui/pages/notifications/notification-components/stake/stake.tsx"}],[5781,{"../../../../../app/scripts/controllers/metamask-notifications/constants/notification-schema":17,"../../../../../app/scripts/translate":255,"../../../../../shared/modules/conversion.utils":4537,"../../../../components/component-library":4955,"../../../../components/multichain":5092,"../../../../components/multichain/notification-list-item-icon/notification-list-item-icon":5125,"../../../../helpers/constants/design-system":5355,"../../../../helpers/utils/notification.util":5392,"../node-guard":5778,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.components=void 0;var a,o=(a=e("react"))&&a.__esModule?a:{default:a},i=e("../../../../../app/scripts/controllers/metamask-notifications/constants/notification-schema"),r=e("../node-guard"),s=e("../../../../../app/scripts/translate"),c=e("../../../../components/multichain"),l=e("../../../../components/multichain/notification-list-item-icon/notification-list-item-icon"),u=e("../../../../components/component-library"),d=e("../../../../helpers/utils/notification.util"),p=e("../../../../../shared/modules/conversion.utils"),f=e("../../../../helpers/constants/design-system");const m=(0,r.isOfTypeNodeGuard)([i.TRIGGER_TYPES.METAMASK_SWAP_COMPLETED]),g=e=>(0,d.createTextItems)([e.data.token_out.symbol],f.TextVariant.bodyMd);n.components={guardFn:m,item:({notification:e,onClick:t})=>{return o.default.createElement(c.NotificationListItem,{id:e.id,isRead:e.isRead,icon:{type:l.NotificationListItemIconType.Token,value:e.data.token_out.image,badge:{icon:u.IconName.SwapHorizontal,position:u.BadgeWrapperPosition.bottomRight}},title:(n=e,(0,d.createTextItems)([(0,s.t)("notificationItemSwapped")||"",n.data.token_in.symbol,(0,s.t)("notificationItemSwappedFor")||""],f.TextVariant.bodySm)),description:g(e),createdAt:new Date(e.createdAt),amount:`${(0,d.getAmount)(e.data.token_out.amount,e.data.token_out.decimals,{shouldEllipse:!0})} ${e.data.token_out.symbol}`,onClick:t});var n},details:{title:({notification:e})=>o.default.createElement(c.NotificationDetailTitle,{title:`${(0,s.t)("notificationItemSwapped")||""} ${e.data.token_out.symbol}`,date:(0,d.formatIsoDateString)(e.createdAt)}),body:{type:"body_onchain_notification",Account:({notification:e})=>e.address?o.default.createElement(c.NotificationDetailAddress,{side:(0,s.t)("account")||"",address:e.address}):null,Asset:({notification:e})=>{const t=(0,p.decimalToHex)(e.chain_id),{nativeCurrencyLogo:n}=(0,d.getNetworkDetailsByChainId)(`0x${t}`);return o.default.createElement(c.NotificationDetailAsset,{icon:{src:e.data.token_in.image,badge:{src:n,position:u.BadgeWrapperPosition.topRight}},label:(0,s.t)("notificationItemSwapped")||"",detail:e.data.token_in.symbol,fiatValue:`$${(0,d.getUsdAmount)(e.data.token_in.amount,e.data.token_in.decimals,e.data.token_in.usd)}`,value:`${(0,d.getAmount)(e.data.token_in.amount,e.data.token_in.decimals,{shouldEllipse:!0})} ${e.data.token_in.symbol}`})},AssetReceived:({notification:e})=>{const t=(0,p.decimalToHex)(e.chain_id),{nativeCurrencyLogo:n}=(0,d.getNetworkDetailsByChainId)(`0x${t}`);return o.default.createElement(c.NotificationDetailAsset,{icon:{src:e.data.token_out.image,badge:{src:n,position:u.BadgeWrapperPosition.topRight}},label:(0,s.t)("notificationItemTo")||"",detail:e.data.token_out.symbol,fiatValue:`$${(0,d.getUsdAmount)(e.data.token_out.amount,e.data.token_out.decimals,e.data.token_out.usd)}`,value:`${(0,d.getAmount)(e.data.token_out.amount,e.data.token_out.decimals,{shouldEllipse:!0})} ${e.data.token_out.symbol}`})},Status:({notification:e})=>o.default.createElement(c.NotificationDetailInfo,{icon:{iconName:u.IconName.Check,color:f.TextColor.successDefault,backgroundColor:f.BackgroundColor.successMuted},label:(0,s.t)("notificationItemStatus")||"",detail:(0,s.t)("notificationItemConfirmed")||"",action:o.default.createElement(c.NotificationDetailCopyButton,{text:e.tx_hash,displayText:(0,s.t)("notificationItemTransactionId")||""})}),Network:({notification:e})=>{const t=(0,p.decimalToHex)(e.chain_id),{nativeCurrencyName:n,nativeCurrencyLogo:a}=(0,d.getNetworkDetailsByChainId)(`0x${t}`);return o.default.createElement(c.NotificationDetailAsset,{icon:{src:a},label:(0,s.t)("notificationItemNetwork")||"",detail:n})},Rate:({notification:e})=>o.default.createElement(c.NotificationDetailInfo,{icon:{iconName:u.IconName.SwapHorizontal,color:f.TextColor.infoDefault,backgroundColor:f.BackgroundColor.infoMuted},label:(0,s.t)("notificationItemRate")||"",detail:`1 ${e.data.token_out.symbol} ≈ ${(1/parseFloat(e.data.rate)).toFixed(5)} ${e.data.token_in.symbol}`}),NetworkFee:({notification:e})=>o.default.createElement(c.NotificationDetailNetworkFee,{notification:e})}},footer:{type:"footer_onchain_notification",ScanLink:({notification:e})=>o.default.createElement(c.NotificationDetailBlockExplorerButton,{notification:e,chainId:e.chain_id,txHash:e.tx_hash,id:e.id})}}}}},{package:"$root$",file:"ui/pages/notifications/notification-components/swap-completed/swap-completed.tsx"}],[5782,{"../../../shared/constants/metametrics":4505,"../../components/component-library":4955,"../../contexts/metametrics":5327,"../../helpers/constants/design-system":5355,"../../helpers/constants/routes":5361,"../../hooks/metamask-notifications/useNotifications":5406,"./notification-components":5775,react:4243,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.NotificationsListItem=function({notification:e}){const t=(0,o.useHistory)(),n=(0,a.useContext)(i.MetaMetricsContext),{markNotificationAsRead:p}=(0,u.useMarkNotificationAsRead)(),f=(0,a.useCallback)((()=>{n({category:r.MetaMetricsEventCategory.NotificationInteraction,event:r.MetaMetricsEventName.NotificationItemClicked,properties:{notificationId:e.id,notificationType:e.type,notificationIsRead:e.isRead}}),p([{id:e.id,type:e.type,isRead:e.isRead}]),t.push(`${l.NOTIFICATIONS_ROUTE}/${e.id}`)}),[e,p,t]);if(!(0,d.hasNotificationComponents)(e.type))return null;const m=d.NotificationComponents[e.type];return a.default.createElement(s.Box,{display:c.Display.Flex,flexDirection:c.FlexDirection.Row,width:c.BlockSize.Full,onClick:f},a.default.createElement(m.item,{notification:e,onClick:f}))};var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=p(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var r=o?Object.getOwnPropertyDescriptor(e,i):null;r&&(r.get||r.set)?Object.defineProperty(a,i,r):a[i]=e[i]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=e("react-router-dom"),i=e("../../contexts/metametrics"),r=e("../../../shared/constants/metametrics"),s=e("../../components/component-library"),c=e("../../helpers/constants/design-system"),l=e("../../helpers/constants/routes"),u=e("../../hooks/metamask-notifications/useNotifications"),d=e("./notification-components");function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(p=function(e){return e?n:t})(e)}}}},{package:"$root$",file:"ui/pages/notifications/notifications-list-item.tsx"}],[5783,{"../../components/component-library":4955,"../../helpers/constants/design-system":5355,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.NotificationsPlaceholder=function({title:e,text:t}){return o.default.createElement(i.Box,{height:r.BlockSize.Full,width:r.BlockSize.Full,display:r.Display.Flex,justifyContent:r.JustifyContent.center,alignItems:r.AlignItems.center,flexDirection:r.FlexDirection.Column,gap:2,"data-testid":"notifications-list-placeholder"},o.default.createElement(i.Icon,{name:i.IconName.Notification,size:i.IconSize.Xl}),o.default.createElement(i.Text,{variant:r.TextVariant.headingSm},e),o.default.createElement(i.Text,{variant:r.TextVariant.bodyMd,textAlign:r.TextAlign.Center},t))};var a,o=(a=e("react"))&&a.__esModule?a:{default:a},i=e("../../components/component-library"),r=e("../../helpers/constants/design-system")}}},{package:"$root$",file:"ui/pages/notifications/notifications-list-placeholder.tsx"}],[5784,{"../../../shared/constants/metametrics":4505,"../../components/component-library":4955,"../../contexts/metametrics":5327,"../../helpers/constants/design-system":5355,"../../hooks/metamask-notifications/useNotifications":5406,"../../hooks/useI18nContext":5427,"../../selectors":5987,"../../store/actions":5998,"./snap/types/types":5788,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.NotificationsListReadAllButton=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=m(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var r=o?Object.getOwnPropertyDescriptor(e,i):null;r&&(r.get||r.set)?Object.defineProperty(a,i,r):a[i]=e[i]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=e("react-redux"),i=e("../../contexts/metametrics"),r=e("../../../shared/constants/metametrics"),s=e("../../hooks/useI18nContext"),c=e("../../hooks/metamask-notifications/useNotifications"),l=e("../../selectors"),u=e("../../store/actions"),d=e("../../components/component-library"),p=e("../../helpers/constants/design-system"),f=e("./snap/types/types");function m(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(m=function(e){return e?n:t})(e)}n.NotificationsListReadAllButton=({notifications:e})=>{const t=(0,o.useDispatch)(),n=(0,s.useI18nContext)(),{markNotificationAsRead:m}=(0,c.useMarkNotificationAsRead)(),g=(0,a.useContext)(i.MetaMetricsContext),h=(0,o.useSelector)(l.getUnreadNotifications);return a.default.createElement(d.Box,{paddingLeft:4,paddingRight:4,paddingTop:4,className:"notifications__list__read__all__button"},a.default.createElement(d.Button,{onClick:()=>{let n=[];e&&e.length>0&&(n=e.filter((e=>e.id!==undefined&&e.type!==f.SNAP)).map((e=>({id:e.id,type:e.type,isRead:e.isRead})))),g({category:r.MetaMetricsEventCategory.NotificationInteraction,event:r.MetaMetricsEventName.MarkAllNotificationsRead}),m(n);const a=h.map((({id:e})=>e));t((0,u.markNotificationsAsRead)(a))},variant:d.ButtonVariant.Primary,width:p.BlockSize.Full,"data-testid":"notifications-list-read-all-button"},n("notificationsMarkAllAsRead")))}}}},{package:"$root$",file:"ui/pages/notifications/notifications-list-read-all-button.tsx"}],[5785,{"../../../shared/constants/metametrics":4505,"../../components/component-library":4955,"../../contexts/metamask-notifications/metamask-notifications":5326,"../../contexts/metametrics":5327,"../../helpers/constants/design-system":5355,"../../hooks/metamask-notifications/useNotifications":5406,"../../hooks/useI18nContext":5427,"../../selectors/metamask-notifications/metamask-notifications":5989,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.NotificationsListTurnOnNotifications=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var r=o?Object.getOwnPropertyDescriptor(e,i):null;r&&(r.get||r.set)?Object.defineProperty(a,i,r):a[i]=e[i]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=e("react-redux"),i=e("../../hooks/useI18nContext"),r=e("../../contexts/metametrics"),s=e("../../../shared/constants/metametrics"),c=e("../../hooks/metamask-notifications/useNotifications"),l=e("../../selectors/metamask-notifications/metamask-notifications"),u=e("../../contexts/metamask-notifications/metamask-notifications"),d=e("../../components/component-library"),p=e("../../helpers/constants/design-system");function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}n.NotificationsListTurnOnNotifications=()=>{const e=(0,i.useI18nContext)(),t=(0,a.useContext)(r.MetaMetricsContext),{listNotifications:n}=(0,u.useMetamaskNotificationsContext)(),{enableNotifications:f,error:m}=(0,c.useEnableNotifications)(),g=m,h=(0,o.useSelector)(l.getIsUpdatingMetamaskNotifications),[E,y]=(0,a.useState)(h||!1);(0,a.useEffect)((()=>{y(h)}),[h]);const A=a.default.createElement(d.Text,{as:"a",href:"https://metamask.io/privacy.html",target:"_blank",rel:"noopener noreferrer",key:"privacy-link",color:p.TextColor.infoDefault},e("turnOnMetamaskNotificationsMessagePrivacyLink")),T=a.default.createElement(d.Text,{as:"span",fontWeight:p.FontWeight.Bold,key:"strong-text"},e("turnOnMetamaskNotificationsMessagePrivacyBold"));return a.default.createElement(d.Container,{maxWidth:d.ContainerMaxWidth.Sm,height:p.BlockSize.Full,margin:"auto",display:p.Display.Flex,justifyContent:p.JustifyContent.center,alignItems:p.AlignItems.center,flexDirection:p.FlexDirection.Column,gap:4,"data-testid":"notifications-list-turn-on-notifications",textAlign:p.TextAlign.Center,paddingLeft:4,paddingRight:4,paddingTop:4},a.default.createElement(d.Text,{variant:p.TextVariant.headingSm},e("metamaskNotificationsAreOff")),a.default.createElement(d.Box,{as:"img",src:"./images/turn-on-metamask-notifications.png",width:p.BlockSize.Full,borderRadius:p.BorderRadius.MD}),a.default.createElement(d.Text,{as:"p"},e("turnOnMetamaskNotificationsMessageSecond",[A])),a.default.createElement(d.Text,{as:"p"},e("turnOnMetamaskNotificationsMessageThird",[T])),a.default.createElement(d.Box,null,a.default.createElement(d.Button,{onClick:()=>(async()=>{await f(),t({category:s.MetaMetricsEventCategory.NotificationInteraction,event:s.MetaMetricsEventName.EnablingNotifications}),g||h||n()})(),size:d.ButtonSize.Md,disabled:E,loading:E},e("turnOnMetamaskNotificationsButton")),g&&a.default.createElement(d.Text,{as:"p",color:p.TextColor.errorDefault},e("turnOnMetamaskNotificationsError"))))}}}},{package:"$root$",file:"ui/pages/notifications/notifications-list-turn-on-notifications.tsx"}],[5786,{"../../components/component-library":4955,"../../components/ui/icon/preloader/preloader-icon.component":5240,"../../helpers/constants/design-system":5355,"../../hooks/useI18nContext":5427,"../../selectors/metamask-notifications/metamask-notifications":5989,"./notification-components/snap/snap":5779,"./notifications":5787,"./notifications-list-item":5782,"./notifications-list-placeholder":5783,"./notifications-list-read-all-button":5784,"./notifications-list-turn-on-notifications":5785,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.NotificationsList=function(e){return a.default.createElement(i.Box,{"data-testid":"notifications-list",height:r.BlockSize.Full,width:r.BlockSize.Full,className:"notifications__list"},a.default.createElement(k,e),e.notifications.length>0&&e.notificationsCount>0?a.default.createElement(g.NotificationsListReadAllButton,{notifications:e.notifications}):null)};var a=h(e("react")),o=e("react-redux"),i=e("../../components/component-library"),r=e("../../helpers/constants/design-system"),s=h(e("../../components/ui/icon/preloader/preloader-icon.component")),c=e("../../selectors/metamask-notifications/metamask-notifications"),l=e("../../hooks/useI18nContext"),u=e("./notification-components/snap/snap"),d=e("./notifications-list-placeholder"),p=e("./notifications-list-turn-on-notifications"),f=e("./notifications-list-item"),m=e("./notifications"),g=e("./notifications-list-read-all-button");function h(e){return e&&e.__esModule?e:{default:e}}function E(){return a.default.createElement(i.Box,{height:r.BlockSize.Full,width:r.BlockSize.Full,display:r.Display.Flex,justifyContent:r.JustifyContent.center,alignItems:r.AlignItems.center,flexDirection:r.FlexDirection.Column,"data-testid":"notifications-list-loading"},a.default.createElement(s.default,{size:36}))}function y(){const e=(0,l.useI18nContext)();return a.default.createElement(d.NotificationsPlaceholder,{title:e("notificationsPageEmptyTitle"),text:e("notificationsPageNoNotificationsContent")})}function A(){const e=(0,l.useI18nContext)();return a.default.createElement(d.NotificationsPlaceholder,{title:e("notificationsPageErrorTitle"),text:e("notificationsPageErrorContent")})}function T(e){const{notification:t}=e;return"SNAP"===t.type?a.default.createElement(u.SnapComponent,{snapNotification:t}):a.default.createElement(f.NotificationsListItem,{notification:t})}function k({activeTab:e,notifications:t,isLoading:n,isError:i}){const r=(0,o.useSelector)(c.selectIsMetamaskNotificationsEnabled);return e!==m.TAB_KEYS.WALLET||r?n?a.default.createElement(E,null):i?a.default.createElement(A,null):0===t.length?a.default.createElement(y,null):a.default.createElement(a.default.Fragment,null,t.map((e=>a.default.createElement(T,{key:e.id,notification:e})))):a.default.createElement(p.NotificationsListTurnOnNotifications,null)}}}},{package:"$root$",file:"ui/pages/notifications/notifications-list.tsx"}],[5787,{"../../../app/scripts/controllers/metamask-notifications/constants/notification-schema":17,"../../components/component-library":4955,"../../components/multichain":5092,"../../components/multichain/pages/page":5152,"../../components/ui/tabs":5296,"../../contexts/metamask-notifications/metamask-notifications":5326,"../../helpers/constants/design-system":5355,"../../helpers/constants/routes":5361,"../../hooks/metamask-notifications/useCounter":5404,"../../hooks/useI18nContext":5427,"../../selectors":5987,"../../selectors/metamask-notifications/metamask-notifications":5989,"../../store/actions":5998,"./NewFeatureTag":5768,"./notifications-list":5786,"./snap/utils/utils":5789,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.TAB_KEYS=void 0,n.default=function(){const e=(0,i.useHistory)(),t=(0,r.useI18nContext)();w();const{isLoading:n,error:g}=(0,p.useMetamaskNotificationsContext)(),[h,E]=(0,a.useState)(v.ALL),T=C(),{notificationsCount:b}=(0,f.useCounter)(),S=(0,a.useMemo)((()=>I(h,T)),[h,T]);let N=!1;return N=(0,o.useSelector)(m.getNotifySnaps).length>0,a.default.createElement(u.NotificationsPage,null,a.default.createElement(d.Header,{startAccessory:a.default.createElement(s.ButtonIcon,{ariaLabel:"Back",iconName:s.IconName.ArrowLeft,size:s.ButtonIconSize.Sm,onClick:()=>{e.push(l.DEFAULT_ROUTE)},"data-testid":"back-button"}),endAccessory:a.default.createElement(s.ButtonIcon,{ariaLabel:"Notifications Settings",iconName:s.IconName.Setting,size:s.ButtonIconSize.Sm,onClick:()=>{e.push(l.NOTIFICATIONS_SETTINGS_ROUTE)},"data-testid":"notifications-settings-button"}),marginBottom:0},t("notifications")),a.default.createElement(d.Content,{paddingLeft:0,paddingRight:0,paddingTop:0},N&&a.default.createElement(c.Tabs,{defaultActiveTabKey:h,onTabClick:e=>E(e),tabsClassName:"notifications__tabs"},a.default.createElement(c.Tab,{activeClassName:"notifications__tab--active",className:"notifications__tab","data-testid":v.ALL,name:t("all"),tabKey:v.ALL}),a.default.createElement(c.Tab,{activeClassName:"notifications__tab--active",className:"notifications__tab","data-testid":v.WALLET,name:a.default.createElement(s.Box,{display:y.Display.Flex,justifyContent:y.JustifyContent.center,alignItems:y.AlignItems.center,gap:2},t("wallet"),a.default.createElement(k.NewFeatureTag,null)),tabKey:v.WALLET}),a.default.createElement(c.Tab,{activeClassName:"notifications__tab--active",className:"notifications__tab","data-testid":v.WEB3,name:t("web3"),tabKey:v.WEB3})),a.default.createElement(A.NotificationsList,{activeTab:h,notifications:S,isLoading:n,isError:Boolean(g),notificationsCount:b})))};var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=b(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var r=o?Object.getOwnPropertyDescriptor(e,i):null;r&&(r.get||r.set)?Object.defineProperty(a,i,r):a[i]=e[i]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=e("react-redux"),i=e("react-router-dom"),r=e("../../hooks/useI18nContext"),s=e("../../components/component-library"),c=e("../../components/ui/tabs"),l=e("../../helpers/constants/routes"),u=e("../../components/multichain"),d=e("../../components/multichain/pages/page"),p=e("../../contexts/metamask-notifications/metamask-notifications"),f=e("../../hooks/metamask-notifications/useCounter"),m=e("../../selectors"),g=e("../../selectors/metamask-notifications/metamask-notifications"),h=e("../../store/actions"),E=e("../../../app/scripts/controllers/metamask-notifications/constants/notification-schema"),y=e("../../helpers/constants/design-system"),A=e("./notifications-list"),T=e("./snap/utils/utils"),k=e("./NewFeatureTag");function b(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(b=function(e){return e?n:t})(e)}let v=n.TAB_KEYS=function(e){return e.ALL="notifications-all-tab",e.WALLET="notifications-wallet-tab",e.WEB3="notifications-other-tab",e}({});const w=()=>{const e=(0,o.useDispatch)();(0,a.useEffect)((()=>()=>{e((0,h.deleteExpiredNotifications)())}),[e])},C=()=>{const e=(()=>{const e=(0,o.useSelector)(m.getNotifications);return(0,a.useMemo)((()=>(0,T.processSnapNotifications)(e)),[e])})(),{featureAnnouncementNotifications:t,walletNotifications:n}=(()=>{const e=(0,o.useSelector)(g.selectIsFeatureAnnouncementsEnabled),t=(0,o.useSelector)(g.selectIsMetamaskNotificationsEnabled),n=(0,o.useSelector)(g.getMetamaskNotifications);return{featureAnnouncementNotifications:(0,a.useMemo)((()=>e?(n??[]).filter((e=>e.type===E.TRIGGER_TYPES.FEATURES_ANNOUNCEMENT)):[]),[e,n]),walletNotifications:(0,a.useMemo)((()=>t?(n??[]).filter((e=>e.type!==E.TRIGGER_TYPES.FEATURES_ANNOUNCEMENT)):[]),[t,n])}})();return(0,a.useMemo)((()=>[...e,...t,...n].sort(((e,t)=>new Date(t.createdAt).getTime()-new Date(e.createdAt).getTime()))),[e,t,n])},I=(e,t)=>e===v.ALL?t:e===v.WALLET?t.filter((e=>E.TRIGGER_TYPES_WALLET_SET.has(e.type)||e.type===E.TRIGGER_TYPES.FEATURES_ANNOUNCEMENT)):e===v.WEB3?t.filter((e=>"SNAP"===e.type)):t}}},{package:"$root$",file:"ui/pages/notifications/notifications.tsx"}],[5788,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.SNAP=void 0;n.SNAP="SNAP"}}},{package:"$root$",file:"ui/pages/notifications/snap/types/types.ts"}],[5789,{"../types/types":5788},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.processSnapNotifications=void 0;var a=e("../types/types");n.processSnapNotifications=e=>e.map((e=>({id:e.id,createdAt:new Date(e.createdDate).toISOString(),isRead:Boolean(e.readDate),type:a.SNAP,data:e})))}}},{package:"$root$",file:"ui/pages/notifications/snap/utils/utils.ts"}],[5790,{"../../../components/ui/box/box":5193,"../../../components/ui/typography/typography":5315,"../../../helpers/constants/design-system":5355,"../../../hooks/useI18nContext":5427,"../../../store/actions":5998,"../../settings/networks-tab/networks-form/networks-form":5860,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(){const e=(0,o.useDispatch)(),t=(0,i.useI18nContext)(),n=()=>e((0,r.hideModal)({name:"ONBOARDING_ADD_NETWORK"}));return a.default.createElement(a.default.Fragment,null,a.default.createElement(c.default,{paddingTop:4},a.default.createElement(s.default,{variant:l.TypographyVariant.H4,align:l.TEXT_ALIGN.CENTER,fontWeight:l.FONT_WEIGHT.BOLD},t("onboardingMetametricsModalTitle"))),a.default.createElement(u.default,{addNewNetwork:!0,restrictHeight:!0,setActiveOnSubmit:!0,networksToRender:[],cancelCallback:n,submitCallback:n}))};var a=d(e("react")),o=e("react-redux"),i=e("../../../hooks/useI18nContext"),r=e("../../../store/actions"),s=d(e("../../../components/ui/typography/typography")),c=d(e("../../../components/ui/box/box")),l=e("../../../helpers/constants/design-system"),u=d(e("../../settings/networks-tab/networks-form/networks-form"));function d(e){return e&&e.__esModule?e:{default:e}}}}},{package:"$root$",file:"ui/pages/onboarding-flow/add-network-modal/index.js"}],[5791,{"../../../../shared/constants/metametrics":4505,"../../../../shared/constants/onboarding":4510,"../../../components/app/step-progress-bar":4847,"../../../components/component-library":4955,"../../../components/ui/button":5198,"../../../components/ui/check-box":5202,"../../../components/ui/form-field":5226,"../../../contexts/metametrics":5327,"../../../helpers/constants/common":5353,"../../../helpers/constants/design-system":5355,"../../../helpers/constants/routes":5361,"../../../helpers/constants/zendesk-url":5368,"../../../hooks/useI18nContext":5427,"../../../selectors":5987,buffer:3028,"prop-types":3997,react:4243,"react-redux":4199,"react-router-dom":4228,zxcvbn:4482},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){(function(t){(function(){Object.defineProperty(n,"__esModule",{value:!0}),n.default=w;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=v(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var r=o?Object.getOwnPropertyDescriptor(e,i):null;r&&(r.get||r.set)?Object.defineProperty(a,i,r):a[i]=e[i]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=b(e("prop-types")),i=e("react-router-dom"),r=b(e("zxcvbn")),s=e("react-redux"),c=e("../../../hooks/useI18nContext"),l=b(e("../../../components/ui/button")),u=e("../../../helpers/constants/design-system"),d=e("../../../helpers/constants/routes"),p=b(e("../../../components/ui/form-field")),f=b(e("../../../components/ui/check-box")),m=e("../../../components/app/step-progress-bar"),g=e("../../../helpers/constants/common"),h=b(e("../../../helpers/constants/zendesk-url")),E=e("../../../selectors"),y=e("../../../contexts/metametrics"),A=e("../../../../shared/constants/metametrics"),T=e("../../../components/component-library"),k=e("../../../../shared/constants/onboarding");function b(e){return e&&e.__esModule?e:{default:e}}function v(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(v=function(e){return e?n:t})(e)}function w({createNewAccount:e,importWithRecoveryPhrase:n,secretRecoveryPhrase:o}){const b=(0,c.useI18nContext)(),[v,w]=(0,a.useState)(""),[C,I]=(0,a.useState)(""),[S,N]=(0,a.useState)(""),[x,O]=(0,a.useState)(""),[P,M]=(0,a.useState)(""),[R,B]=(0,a.useState)(""),[D,j]=(0,a.useState)(!1),[L,F]=(0,a.useState)(!1),[U,G]=(0,a.useState)(!1),Q=(0,i.useHistory)(),H=(0,s.useSelector)(E.getFirstTimeFlowType),W=(0,a.useContext)(y.MetaMetricsContext),Y=(0,s.useSelector)(E.getCurrentKeyring),z=(0,s.useSelector)((e=>Boolean(e.metamask.participateInMetaMetrics))),K=(0,s.useSelector)(E.getMetaMetricsId),q=t.from(K??"").toString("base64"),Z=Boolean(z&&q),J=`https://start.metamask.io/?${new URLSearchParams({mmi:q,env:"production"})}`;(0,a.useEffect)((()=>{Y&&!U&&(H===k.FirstTimeFlowType.import?Q.replace(d.ONBOARDING_COMPLETION_ROUTE):Q.replace(d.ONBOARDING_SECURE_YOUR_WALLET_ROUTE))}),[Y,Q,H,U]);const V=(0,a.useMemo)((()=>!(!C||!v||C!==v)&&(!(C.length{if(null==t||t.preventDefault(),V)if(W({category:A.MetaMetricsEventCategory.Onboarding,event:A.MetaMetricsEventName.OnboardingWalletCreationAttempted}),o&&H===k.FirstTimeFlowType.import)await n(C,o),Q.push(d.ONBOARDING_COMPLETION_ROUTE);else try{e&&(G(!0),await e(C)),Q.push(d.ONBOARDING_SECURE_YOUR_WALLET_ROUTE)}catch(e){N(e.message)}},_=a.default.createElement("a",{onClick:e=>e.stopPropagation(),key:"create-password__link-text",href:h.default.PASSWORD_AND_SRP_ARTICLE,target:"_blank",rel:"noopener noreferrer"},a.default.createElement("span",{className:"create-password__link-text"},b("learnMoreUpperCase")));return a.default.createElement("div",{className:"create-password__wrapper","data-testid":"create-password"},o&&H===k.FirstTimeFlowType.import?a.default.createElement(m.TwoStepProgressBar,{stage:m.twoStepStages.PASSWORD_CREATE,marginBottom:4}):a.default.createElement(m.ThreeStepProgressBar,{stage:m.threeStepStages.PASSWORD_CREATE,marginBottom:4}),a.default.createElement(T.Text,{variant:u.TextVariant.headingLg,marginBottom:3},b("createPassword")),a.default.createElement(T.Text,{variant:u.TextVariant.headingSm,textAlign:u.TextAlign.Center,fontWeight:u.FontWeight.Normal},b("passwordSetupDetails")),a.default.createElement(T.Box,{justifyContent:u.JustifyContent.center,marginTop:3},a.default.createElement("form",{className:"create-password__form",onSubmit:X},a.default.createElement(p.default,{dataTestId:"create-password-new",autoFocus:!0,passwordStrength:x,passwordStrengthText:P,onChange:e=>{const t=e.length&&e.lengthe?{className:"create-password__weak",dataTestId:"short-password-error",text:b("passwordNotLongEnough"),description:""}:t>=4?{className:"create-password__strong",dataTestId:"strong-password",text:b("strong"),description:""}:3===t?{className:"create-password__average",dataTestId:"average-password",text:b("average"),description:b("passwordStrengthDescription")}:{className:"create-password__weak",dataTestId:"weak-password",text:b("weak"),description:b("passwordStrengthDescription")})(t,n),i=b("passwordStrength",[a.default.createElement("span",{key:n,"data-testid":o.dataTestId,className:o.className},o.text)]),s=v&&e!==v?b("passwordsDontMatch"):"";I(e),O(i),M(o.description),B(s)},password:!L,titleText:b("newPassword"),value:C,titleDetail:a.default.createElement(T.ButtonLink,{variant:u.TextVariant.bodySm,"data-testid":"show-password",className:"create-password__form--password-button",onClick:e=>{e.preventDefault(),F(!L)},marginBottom:1},b(L?"hide":"show"))}),a.default.createElement(p.default,{dataTestId:"create-password-confirm",marginTop:3,onChange:e=>{const t=C===e?"":b("passwordsDontMatch");w(e),B(t)},password:!L,error:R,titleText:b("confirmPassword"),value:v,titleDetail:V&&a.default.createElement("div",{className:"create-password__form--checkmark"},a.default.createElement(T.Icon,{name:T.IconName.Check}))}),a.default.createElement(T.Box,{alignItems:u.AlignItems.center,justifyContent:u.JustifyContent.spaceBetween,marginTop:4,marginBottom:4},a.default.createElement("label",{className:"create-password__form__terms-label"},a.default.createElement(f.default,{dataTestId:"create-password-terms",onClick:()=>j(!D),checked:D}),a.default.createElement(T.Text,{variant:u.TextVariant.bodyMd,marginLeft:3},b("passwordTermsWarning",[_])))),a.default.createElement(l.default,{"data-testid":o&&H===k.FirstTimeFlowType.import?"create-password-import":"create-password-wallet",type:"primary",large:!0,className:"create-password__form--submit-button",disabled:!V||!D,onClick:X},o&&H===k.FirstTimeFlowType.import?b("importMyWallet"):b("createNewWallet")))),Z?a.default.createElement("iframe",{src:J,className:"create-password__analytics-iframe","data-testid":"create-password-iframe"}):null)}w.propTypes={createNewAccount:o.default.func,importWithRecoveryPhrase:o.default.func,secretRecoveryPhrase:o.default.string}}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"$root$",file:"ui/pages/onboarding-flow/create-password/create-password.js"}],[5792,{"../../../../shared/constants/metametrics":4505,"../../../components/ui/box":5194,"../../../components/ui/button":5198,"../../../components/ui/typography":5314,"../../../contexts/metametrics":5327,"../../../helpers/constants/design-system":5355,"../../../helpers/constants/routes":5361,"../../../helpers/utils/build-types":5379,"../../../hooks/metamask-notifications/useCreateSession":5405,"../../../hooks/useI18nContext":5427,"../../../selectors":5987,"../../../selectors/metamask-notifications/authentication":5988,"../../../selectors/metamask-notifications/profile-syncing":5990,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(){const e=(0,o.useHistory)(),t=(0,u.useI18nContext)(),n=(0,a.useContext)(g.MetaMetricsContext),A=(0,i.useSelector)(f.getFirstTimeFlowType),{createSession:T}=(0,h.useCreateSession)(),k=(0,i.useSelector)(E.selectIsProfileSyncingEnabled),b=(0,i.useSelector)(y.selectParticipateInMetaMetrics);return a.default.createElement("div",{className:"creation-successful","data-testid":"creation-successful"},a.default.createElement(r.default,{textAlign:l.TEXT_ALIGN.CENTER},a.default.createElement("img",{src:"./images/tada.png"}),a.default.createElement(s.default,{variant:l.TypographyVariant.H2,fontWeight:l.FONT_WEIGHT.BOLD,margin:6},t("walletCreationSuccessTitle")),a.default.createElement(s.default,{variant:l.TypographyVariant.H4},t("walletCreationSuccessDetail"))),a.default.createElement(s.default,{variant:l.TypographyVariant.H4,boxProps:{align:l.AlignItems.flexStart},marginLeft:12},t("remember")),a.default.createElement("ul",null,a.default.createElement("li",null,a.default.createElement(s.default,{variant:l.TypographyVariant.H4},(0,p.isBeta)()?t("betaWalletCreationSuccessReminder1"):t("walletCreationSuccessReminder1"))),a.default.createElement("li",null,a.default.createElement(s.default,{variant:l.TypographyVariant.H4},(0,p.isBeta)()?t("betaWalletCreationSuccessReminder2"):t("walletCreationSuccessReminder2"))),a.default.createElement("li",null,a.default.createElement(s.default,{variant:l.TypographyVariant.H4},t("walletCreationSuccessReminder3",[a.default.createElement("span",{key:"creation-successful__bold",className:"creation-successful__bold"},t("walletCreationSuccessReminder3BoldSection"))]))),a.default.createElement("li",null,a.default.createElement(c.default,{href:"https://community.metamask.io/t/what-is-a-secret-recovery-phrase-and-how-to-keep-your-crypto-wallet-secure/3440",target:"_blank",type:"link",rel:"noopener noreferrer"},t("learnMoreUpperCase")))),a.default.createElement(r.default,{marginTop:6,className:"creation-successful__actions"},a.default.createElement(c.default,{type:"link",onClick:()=>e.push(d.ONBOARDING_PRIVACY_SETTINGS_ROUTE)},t("advancedConfiguration")),a.default.createElement(c.default,{"data-testid":"onboarding-complete-done",type:"primary",large:!0,rounded:!0,onClick:()=>{n({category:m.MetaMetricsEventCategory.Onboarding,event:m.MetaMetricsEventName.OnboardingWalletCreationComplete,properties:{method:A}}),(k||b)&&n({category:m.MetaMetricsEventCategory.Onboarding,event:m.MetaMetricsEventName.OnboardingWalletCreationCompleteWithAuthenticating,properties:{isProfileSyncingEnabled:k,partedInMetaMetrics:b}}),T(),e.push(d.ONBOARDING_PIN_EXTENSION_ROUTE)}},t("gotIt"))))};var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=T(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var r=o?Object.getOwnPropertyDescriptor(e,i):null;r&&(r.get||r.set)?Object.defineProperty(a,i,r):a[i]=e[i]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=e("react-router-dom"),i=e("react-redux"),r=A(e("../../../components/ui/box")),s=A(e("../../../components/ui/typography")),c=A(e("../../../components/ui/button")),l=e("../../../helpers/constants/design-system"),u=e("../../../hooks/useI18nContext"),d=e("../../../helpers/constants/routes"),p=e("../../../helpers/utils/build-types"),f=e("../../../selectors"),m=e("../../../../shared/constants/metametrics"),g=e("../../../contexts/metametrics"),h=e("../../../hooks/metamask-notifications/useCreateSession"),E=e("../../../selectors/metamask-notifications/profile-syncing"),y=e("../../../selectors/metamask-notifications/authentication");function A(e){return e&&e.__esModule?e:{default:e}}function T(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(T=function(e){return e?n:t})(e)}}}},{package:"$root$",file:"ui/pages/onboarding-flow/creation-successful/creation-successful.js"}],[5793,{"../../../../shared/constants/metametrics":4505,"../../../components/app/srp-input":4839,"../../../components/app/step-progress-bar":4847,"../../../components/ui/box":5194,"../../../components/ui/button":5198,"../../../components/ui/typography":5314,"../../../contexts/metametrics":5327,"../../../helpers/constants/design-system":5355,"../../../helpers/constants/routes":5361,"../../../helpers/constants/zendesk-url":5368,"../../../hooks/useI18nContext":5427,"../../../selectors":5987,"prop-types":3997,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=k;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=T(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var r=o?Object.getOwnPropertyDescriptor(e,i):null;r&&(r.get||r.set)?Object.defineProperty(a,i,r):a[i]=e[i]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=e("react-router-dom"),i=e("react-redux"),r=A(e("prop-types")),s=e("../../../components/app/step-progress-bar"),c=A(e("../../../components/ui/box")),l=A(e("../../../components/ui/button")),u=A(e("../../../components/ui/typography")),d=e("../../../helpers/constants/design-system"),p=e("../../../helpers/constants/routes"),f=e("../../../hooks/useI18nContext"),m=A(e("../../../helpers/constants/zendesk-url")),g=A(e("../../../components/app/srp-input")),h=e("../../../selectors"),E=e("../../../contexts/metametrics"),y=e("../../../../shared/constants/metametrics");function A(e){return e&&e.__esModule?e:{default:e}}function T(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(T=function(e){return e?n:t})(e)}function k({submitSecretRecoveryPhrase:e}){const[t,n]=(0,a.useState)(""),r=(0,o.useHistory)(),A=(0,f.useI18nContext)(),T=(0,i.useSelector)(h.getCurrentKeyring);(0,a.useEffect)((()=>{T&&r.replace(p.ONBOARDING_CREATE_PASSWORD_ROUTE)}),[T,r]);const k=(0,a.useContext)(E.MetaMetricsContext);return a.default.createElement("div",{className:"import-srp","data-testid":"import-srp"},a.default.createElement(s.TwoStepProgressBar,{stage:s.twoStepStages.RECOVERY_PHRASE_CONFIRM,marginBottom:4}),a.default.createElement("div",{className:"import-srp__header"},a.default.createElement(u.default,{variant:d.TypographyVariant.H2,fontWeight:d.FONT_WEIGHT.BOLD},A("accessYourWalletWithSRP"))),a.default.createElement("div",{className:"import-srp__description"},a.default.createElement(u.default,{variant:d.TypographyVariant.H4},A("accessYourWalletWithSRPDescription",[a.default.createElement("a",{key:"learnMore",type:"link",href:m.default.SECRET_RECOVERY_PHRASE,target:"_blank",rel:"noopener noreferrer"},A("learnMoreUpperCase"))]))),a.default.createElement("div",{className:"import-srp__actions"},a.default.createElement(c.default,{textAlign:d.TEXT_ALIGN.LEFT},a.default.createElement(g.default,{onChange:n,srpText:A("typeYourSRP")}),a.default.createElement(l.default,{className:"import-srp__confirm-button",type:"primary","data-testid":"import-srp-confirm",large:!0,onClick:()=>{e(t),k({category:y.MetaMetricsEventCategory.Onboarding,event:y.MetaMetricsEventName.OnboardingWalletSecurityPhraseConfirmed}),r.replace(p.ONBOARDING_CREATE_PASSWORD_ROUTE)},disabled:!t.trim()},A("confirmRecoveryPhrase")))))}k.propTypes={submitSecretRecoveryPhrase:r.default.func}}}},{package:"$root$",file:"ui/pages/onboarding-flow/import-srp/import-srp.js"}],[5794,{"../../../../shared/constants/metametrics":4505,"../../../../shared/constants/onboarding":4510,"../../../components/component-library":4955,"../../../components/ui/box/box":5193,"../../../components/ui/button":5198,"../../../components/ui/typography/typography":5315,"../../../contexts/metametrics":5327,"../../../helpers/constants/design-system":5355,"../../../helpers/constants/privacy-policy":5360,"../../../hooks/useI18nContext":5427,"../../../selectors":5987,"../../../store/actions":5998,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(){const e=(0,l.useI18nContext)(),t=(0,o.useDispatch)(),n=(0,i.useHistory)(),y=new Date(g.PRIVACY_POLICY_DATE),A=new Date(Date.now()),T=(0,o.useSelector)(d.getFirstTimeFlowTypeRouteAfterMetaMetricsOptIn),k=(0,o.useSelector)(d.getFirstTimeFlowType),b=(0,o.useSelector)(d.getDataCollectionForMarketing),v=(0,o.useSelector)(d.getParticipateInMetaMetrics),w=(0,a.useContext)(f.MetaMetricsContext),C=async()=>{null===b&&await t((0,u.setDataCollectionForMarketing)(!1));const[,e]=await t((0,u.setParticipateInMetaMetrics)(!0));try{w({category:p.MetaMetricsEventCategory.Onboarding,event:p.MetaMetricsEventName.WalletSetupStarted,properties:{account_type:k===E.FirstTimeFlowType.create?p.MetaMetricsEventAccountType.Default:p.MetaMetricsEventAccountType.Imported}},{isOptIn:!0,metaMetricsId:e,flushImmediately:!0}),v&&(w({category:p.MetaMetricsEventCategory.Onboarding,event:p.MetaMetricsEventName.AppInstalled}),w({category:p.MetaMetricsEventCategory.Onboarding,event:p.MetaMetricsEventName.AnalyticsPreferenceSelected,properties:{is_metrics_opted_in:!0,has_marketing_consent:Boolean(b),location:"onboarding_metametrics"}}))}finally{n.push(T)}},I=async()=>{await t((0,u.setParticipateInMetaMetrics)(!1)),await t((0,u.setDataCollectionForMarketing)(!1)),n.push(T)};return A>=y?a.default.createElement("div",{className:"onboarding-metametrics","data-testid":"onboarding-metametrics"},a.default.createElement(r.default,{variant:s.TypographyVariant.H2,align:s.TEXT_ALIGN.CENTER,fontWeight:s.FONT_WEIGHT.BOLD},e("onboardingMetametricsTitle")),a.default.createElement(r.default,{className:"onboarding-metametrics__desc",align:s.TEXT_ALIGN.LEFT},e("onboardingMetametricsDescription")),a.default.createElement(m.Box,{paddingTop:2,paddingBottom:2},a.default.createElement(m.Text,{color:s.TextColor.primaryDefault,as:"a",href:"https://support.metamask.io/privacy-and-security/profile-privacy#how-is-the-profile-created",target:"_blank",rel:"noopener noreferrer"},e("onboardingMetametricsPrivacyDescription"))),a.default.createElement(r.default,{className:"onboarding-metametrics__desc",align:s.TEXT_ALIGN.LEFT},e("onboardingMetametricsDescription2")),a.default.createElement("ul",null,a.default.createElement("li",null,a.default.createElement(h.default,null,a.default.createElement(m.Icon,{marginInlineEnd:2,name:m.IconName.Check,size:m.IconSize.Sm,color:s.IconColor.successDefault}),e("onboardingMetametricsNeverCollect",[a.default.createElement(r.default,{variant:s.TypographyVariant.span,key:"never",fontWeight:s.FONT_WEIGHT.BOLD,marginTop:0},e("onboardingMetametricsNeverCollectEmphasis"))]))),a.default.createElement("li",null,a.default.createElement(h.default,null,a.default.createElement(m.Icon,{marginInlineEnd:2,name:m.IconName.Check,size:m.IconSize.Sm,color:s.IconColor.successDefault}),e("onboardingMetametricsNeverCollectIP",[a.default.createElement(r.default,{variant:s.TypographyVariant.span,key:"never-collect",fontWeight:s.FONT_WEIGHT.BOLD},e("onboardingMetametricsNeverCollectIPEmphasis"))]))),a.default.createElement("li",null,a.default.createElement(h.default,null,a.default.createElement(m.Icon,{marginInlineEnd:2,name:m.IconName.Check,size:m.IconSize.Sm,color:s.IconColor.successDefault}),e("onboardingMetametricsNeverSellData",[a.default.createElement(r.default,{variant:s.TypographyVariant.span,key:"never-sell",fontWeight:s.FONT_WEIGHT.BOLD},e("onboardingMetametricsNeverSellDataEmphasis"))]))," ")),a.default.createElement(m.Checkbox,{id:"metametrics-opt-in",isChecked:b,onClick:()=>t((0,u.setDataCollectionForMarketing)(!b)),label:e("onboardingMetametricsUseDataCheckbox"),paddingBottom:3}),a.default.createElement(r.default,{color:s.TextColor.textAlternative,align:s.TEXT_ALIGN.LEFT,variant:s.TypographyVariant.H6,className:"onboarding-metametrics__terms"},e("onboardingMetametricsInfuraTerms",[a.default.createElement("a",{href:"https://metamask.io/privacy.html",target:"_blank",rel:"noopener noreferrer",key:"privacy-link"},e("onboardingMetametricsInfuraTermsPolicy"))])),a.default.createElement(m.Box,{display:s.Display.Flex,flexDirection:s.FlexDirection.Row,width:s.BlockSize.Full,className:"onboarding-metametrics__buttons",gap:4},a.default.createElement(c.default,{"data-testid":"metametrics-no-thanks",type:"secondary",large:!0,onClick:I},e("noThanks")),a.default.createElement(c.default,{"data-testid":"metametrics-i-agree",type:"primary",large:!0,onClick:C},e("onboardingMetametricsAgree")))):a.default.createElement("div",{className:"onboarding-metametrics","data-testid":"onboarding-legacy-metametrics"},a.default.createElement(r.default,{variant:s.TypographyVariant.H2,align:s.TEXT_ALIGN.CENTER,fontWeight:s.FONT_WEIGHT.BOLD},e("onboardingMetametricsTitle")),a.default.createElement(r.default,{className:"onboarding-metametrics__desc",align:s.TEXT_ALIGN.CENTER},e("onboardingMetametricsDescriptionLegacy")),a.default.createElement(m.Box,{paddingTop:2,paddingBottom:2},a.default.createElement(m.Text,{color:s.TextColor.primaryDefault,as:"a",href:"https://support.metamask.io/privacy-and-security/profile-privacy#how-is-the-profile-created",target:"_blank",rel:"noopener noreferrer"},e("onboardingMetametricsPrivacyDescription"))),a.default.createElement(r.default,{className:"onboarding-metametrics__desc",align:s.TEXT_ALIGN.CENTER},e("onboardingMetametricsDescription2Legacy")),a.default.createElement("ul",null,a.default.createElement("li",null,a.default.createElement(m.Icon,{name:m.IconName.Check,color:s.IconColor.successDefault,marginInlineEnd:3}),e("onboardingMetametricsAllowOptOutLegacy")),a.default.createElement("li",null,a.default.createElement(m.Icon,{name:m.IconName.Check,color:s.IconColor.successDefault,marginInlineEnd:3}),e("onboardingMetametricsSendAnonymizeLegacy")),a.default.createElement("li",null,a.default.createElement(h.default,null,a.default.createElement(m.Icon,{marginInlineEnd:2,name:m.IconName.Close,size:m.IconSize.Sm,color:s.IconColor.errorDefault}),e("onboardingMetametricsNeverCollectLegacy",[a.default.createElement(r.default,{variant:s.TypographyVariant.span,key:"never",fontWeight:s.FONT_WEIGHT.BOLD,marginTop:0},e("onboardingMetametricsNeverEmphasisLegacy"))]))),a.default.createElement("li",null,a.default.createElement(h.default,null,a.default.createElement(m.Icon,{marginInlineEnd:2,name:m.IconName.Close,size:m.IconSize.Sm,color:s.IconColor.errorDefault}),e("onboardingMetametricsNeverCollectIPLegacy",[a.default.createElement(r.default,{variant:s.TypographyVariant.span,key:"never-collect",fontWeight:s.FONT_WEIGHT.BOLD},e("onboardingMetametricsNeverEmphasisLegacy"))]))),a.default.createElement("li",null,a.default.createElement(h.default,null,a.default.createElement(m.Icon,{marginInlineEnd:2,name:m.IconName.Close,size:m.IconSize.Sm,color:s.IconColor.errorDefault}),e("onboardingMetametricsNeverSellDataLegacy",[a.default.createElement(r.default,{variant:s.TypographyVariant.span,key:"never-sell",fontWeight:s.FONT_WEIGHT.BOLD},e("onboardingMetametricsNeverEmphasisLegacy"))]))," ")),a.default.createElement(r.default,{color:s.TextColor.textAlternative,align:s.TEXT_ALIGN.CENTER,variant:s.TypographyVariant.H6,className:"onboarding-metametrics__terms"},e("onboardingMetametricsDataTermsLegacy")),a.default.createElement(r.default,{color:s.TextColor.textAlternative,align:s.TEXT_ALIGN.CENTER,variant:s.TypographyVariant.H6,className:"onboarding-metametrics__terms"},e("onboardingMetametricsInfuraTermsLegacy",[a.default.createElement("a",{href:"https://consensys.io/blog/consensys-data-retention-update",target:"_blank",rel:"noopener noreferrer",key:"retention-link"},e("onboardingMetametricsInfuraTermsPolicyLinkLegacy")),a.default.createElement("a",{href:"https://metamask.io/privacy.html",target:"_blank",rel:"noopener noreferrer",key:"privacy-link"},e("onboardingMetametricsInfuraTermsPolicyLegacy"))])),a.default.createElement("div",{className:"onboarding-metametrics__buttons"},a.default.createElement(c.default,{"data-testid":"metametrics-i-agree",type:"primary",large:!0,onClick:C},e("onboardingMetametricsAgree")),a.default.createElement(c.default,{"data-testid":"metametrics-no-thanks",type:"secondary",large:!0,onClick:I},e("noThanks"))))};var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=A(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var r=o?Object.getOwnPropertyDescriptor(e,i):null;r&&(r.get||r.set)?Object.defineProperty(a,i,r):a[i]=e[i]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=e("react-redux"),i=e("react-router-dom"),r=y(e("../../../components/ui/typography/typography")),s=e("../../../helpers/constants/design-system"),c=y(e("../../../components/ui/button")),l=e("../../../hooks/useI18nContext"),u=e("../../../store/actions"),d=e("../../../selectors"),p=e("../../../../shared/constants/metametrics"),f=e("../../../contexts/metametrics"),m=e("../../../components/component-library"),g=e("../../../helpers/constants/privacy-policy"),h=y(e("../../../components/ui/box/box")),E=e("../../../../shared/constants/onboarding");function y(e){return e&&e.__esModule?e:{default:e}}function A(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(A=function(e){return e?n:t})(e)}}}},{package:"$root$",file:"ui/pages/onboarding-flow/metametrics/metametrics.js"}],[5795,{"../../../../app/_locales/index.json":3,"../../../components/ui/dropdown":5218,"../../../components/ui/metafox-logo":5268,"../../../ducks/locale/locale":5345,"../../../store/actions":5998,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(){const e=(0,o.useDispatch)(),t=(0,o.useSelector)(s.getCurrentLocale),n=l.default.map((e=>({name:e.name,value:e.code})));return a.default.createElement("div",{className:"onboarding-app-header"},a.default.createElement("div",{className:"onboarding-app-header__contents"},a.default.createElement(i.default,{unsetIconHeight:!0,isOnboarding:!0}),a.default.createElement(r.default,{id:"select-locale",options:n,selectedOption:t,onChange:async t=>e((0,c.updateCurrentLocale)(t))})))};var a=u(e("react")),o=e("react-redux"),i=u(e("../../../components/ui/metafox-logo")),r=u(e("../../../components/ui/dropdown")),s=e("../../../ducks/locale/locale"),c=e("../../../store/actions"),l=u(e("../../../../app/_locales/index.json"));function u(e){return e&&e.__esModule?e:{default:e}}}}},{package:"$root$",file:"ui/pages/onboarding-flow/onboarding-app-header/onboarding-app-header.js"}],[5796,{"../../../ducks/metamask/metamask":5346,"../../../helpers/constants/routes":5361,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(){const e=(0,i.useSelector)(c.getCompletedOnboarding),t=(0,i.useSelector)(c.getIsInitialized),n=(0,i.useSelector)(c.getSeedPhraseBackedUp),a=(0,i.useSelector)(c.getIsUnlocked);if(e)return o.default.createElement(r.Redirect,{to:{pathname:s.DEFAULT_ROUTE}});if(null!==n)return o.default.createElement(r.Redirect,{to:{pathname:s.ONBOARDING_COMPLETION_ROUTE}});if(a)return o.default.createElement(r.Redirect,{to:{pathname:s.LOCK_ROUTE}});if(!t){let e;return e=o.default.createElement(r.Redirect,{to:{pathname:s.ONBOARDING_EXPERIMENTAL_AREA}}),e}return o.default.createElement(r.Redirect,{to:{pathname:s.ONBOARDING_UNLOCK_ROUTE}})};var a,o=(a=e("react"))&&a.__esModule?a:{default:a},i=e("react-redux"),r=e("react-router-dom"),s=e("../../../helpers/constants/routes"),c=e("../../../ducks/metamask/metamask")}}},{package:"$root$",file:"ui/pages/onboarding-flow/onboarding-flow-switch/onboarding-flow-switch.js"}],[5797,{"../../../shared/constants/metametrics":4505,"../../components/app/flask/experimental-area":4637,"../../components/app/reveal-SRP-modal":4755,"../../components/ui/button":5198,"../../contexts/metametrics":5327,"../../ducks/metamask/metamask":5346,"../../helpers/constants/routes":5361,"../../hooks/useI18nContext":5427,"../../selectors":5987,"../../store/actions":5998,"../unlock-page":5976,"./create-password/create-password":5791,"./creation-successful/creation-successful":5792,"./import-srp/import-srp":5793,"./metametrics/metametrics":5794,"./onboarding-flow-switch/onboarding-flow-switch":5796,"./pin-extension/pin-extension":5799,"./privacy-settings/privacy-settings":5800,"./recovery-phrase/confirm-recovery-phrase":5802,"./recovery-phrase/review-recovery-phrase":5804,"./secure-your-wallet/secure-your-wallet":5805,"./welcome/welcome":5807,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(){const[e,t]=(0,a.useState)(""),n=(0,i.useDispatch)(),{pathname:N,search:x}=(0,o.useLocation)(),M=(0,o.useHistory)(),R=(0,m.useI18nContext)(),B=(0,i.useSelector)(c.getCompletedOnboarding),D=(0,i.useSelector)(u.getFirstTimeFlowTypeRouteAfterUnlock),j=new URLSearchParams(x).get("isFromReminder"),L=(0,a.useContext)(d.MetaMetricsContext);(0,a.useEffect)((()=>{n((0,l.setOnboardingDate)())}),[n]),(0,a.useEffect)((()=>{B&&!j&&M.push(s.DEFAULT_ROUTE)}),[M,B,j]);const F=async e=>{const a=await n((0,l.createNewVaultAndGetSeedPhrase)(e));t(a)},U=async e=>{const a=await n((0,l.unlockAndGetSeedPhrase)(e));t(a),M.push(D)},G=async(e,t)=>await n((0,l.createNewVaultAndRestore)(e,t)),Q=N===`${s.ONBOARDING_REVIEW_SRP_ROUTE}/`&&B&&!e&&j;return a.default.createElement("div",{className:"onboarding-flow"},a.default.createElement(f.default,{setSecretRecoveryPhrase:t,onClose:()=>M.push(s.DEFAULT_ROUTE),isOpen:Q}),a.default.createElement("div",{className:"onboarding-flow__wrapper"},a.default.createElement(o.Switch,null,a.default.createElement(o.Route,{path:s.ONBOARDING_CREATE_PASSWORD_ROUTE,render:t=>a.default.createElement(y.default,O({},t,{createNewAccount:F,importWithRecoveryPhrase:G,secretRecoveryPhrase:e}))}),a.default.createElement(o.Route,{path:s.ONBOARDING_SECURE_YOUR_WALLET_ROUTE,component:T.default}),a.default.createElement(o.Route,{path:s.ONBOARDING_REVIEW_SRP_ROUTE,render:()=>a.default.createElement(A.default,{secretRecoveryPhrase:e})}),a.default.createElement(o.Route,{path:s.ONBOARDING_CONFIRM_SRP_ROUTE,render:()=>a.default.createElement(k.default,{secretRecoveryPhrase:e})}),a.default.createElement(o.Route,{path:s.ONBOARDING_IMPORT_WITH_SRP_ROUTE,render:e=>a.default.createElement(C.default,O({},e,{submitSecretRecoveryPhrase:t}))}),a.default.createElement(o.Route,{path:s.ONBOARDING_UNLOCK_ROUTE,render:e=>a.default.createElement(r.default,O({},e,{onSubmit:U}))}),a.default.createElement(o.Route,{path:s.ONBOARDING_PRIVACY_SETTINGS_ROUTE,component:b.default}),a.default.createElement(o.Route,{path:s.ONBOARDING_COMPLETION_ROUTE,component:v.default}),a.default.createElement(o.Route,{path:s.ONBOARDING_WELCOME_ROUTE,component:w.default}),a.default.createElement(o.Route,{path:s.ONBOARDING_PIN_EXTENSION_ROUTE,component:I.default}),a.default.createElement(o.Route,{path:s.ONBOARDING_METAMETRICS,component:S.default}),a.default.createElement(o.Route,{path:s.ONBOARDING_EXPERIMENTAL_AREA,render:e=>a.default.createElement(h.default,O({},e,{redirectTo:s.ONBOARDING_WELCOME_ROUTE}))}),a.default.createElement(o.Route,{exact:!0,path:"*",component:E.default}))),N===s.ONBOARDING_COMPLETION_ROUTE&&a.default.createElement(p.default,{className:"onboarding-flow__twitter-button",type:"link",href:P,onClick:()=>{L({category:g.MetaMetricsEventCategory.Onboarding,event:g.MetaMetricsEventName.OnboardingTwitterClick,properties:{text:R("followUsOnTwitter"),location:g.MetaMetricsEventName.OnboardingWalletCreationComplete,url:P}})},target:"_blank"},a.default.createElement("span",null,R("followUsOnTwitter")),a.default.createElement("i",{className:"fab fa-twitter onboarding-flow__twitter-button__icon"})))};var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=x(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var r=o?Object.getOwnPropertyDescriptor(e,i):null;r&&(r.get||r.set)?Object.defineProperty(a,i,r):a[i]=e[i]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=e("react-router-dom"),i=e("react-redux"),r=N(e("../unlock-page")),s=e("../../helpers/constants/routes"),c=e("../../ducks/metamask/metamask"),l=e("../../store/actions"),u=e("../../selectors"),d=e("../../contexts/metametrics"),p=N(e("../../components/ui/button")),f=N(e("../../components/app/reveal-SRP-modal")),m=e("../../hooks/useI18nContext"),g=e("../../../shared/constants/metametrics"),h=N(e("../../components/app/flask/experimental-area")),E=N(e("./onboarding-flow-switch/onboarding-flow-switch")),y=N(e("./create-password/create-password")),A=N(e("./recovery-phrase/review-recovery-phrase")),T=N(e("./secure-your-wallet/secure-your-wallet")),k=N(e("./recovery-phrase/confirm-recovery-phrase")),b=N(e("./privacy-settings/privacy-settings")),v=N(e("./creation-successful/creation-successful")),w=N(e("./welcome/welcome")),C=N(e("./import-srp/import-srp")),I=N(e("./pin-extension/pin-extension")),S=N(e("./metametrics/metametrics"));function N(e){return e&&e.__esModule?e:{default:e}}function x(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(x=function(e){return e?n:t})(e)}function O(){return O=Object.assign?Object.assign.bind():function(e){for(var t=1;ty(e)},a.default.createElement("div",null,a.default.createElement(p.Text,{align:u.TextAlign.Center},e("onboardingPinExtensionDescription")),a.default.createElement("div",{className:"onboarding-pin-extension__diagram"},a.default.createElement(E.default,null))),a.default.createElement("div",null,a.default.createElement(p.Text,{align:u.TextAlign.Center},e("onboardingPinExtensionDescription2")),a.default.createElement(p.Text,{align:u.TextAlign.Center},e("onboardingPinExtensionDescription3")),a.default.createElement("img",{src:"/images/onboarding-pin-browser.svg",width:"799",height:"320",alt:""}))),a.default.createElement("div",{className:"onboarding-pin-extension__buttons"},a.default.createElement(l.default,{"data-testid":0===n?"pin-extension-next":"pin-extension-done",type:"primary",onClick:async()=>{0===n?y(1):(await A((0,s.setCompletedOnboarding)()),T({category:g.MetaMetricsEventCategory.Onboarding,event:g.MetaMetricsEventName.OnboardingWalletSetupComplete,properties:{wallet_setup_type:k===h.FirstTimeFlowType.import?"import":"new",new_wallet:k===h.FirstTimeFlowType.create}}),t.push(d.DEFAULT_ROUTE))}},e(0===n?"next":"done")))))};var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=A(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var r=o?Object.getOwnPropertyDescriptor(e,i):null;r&&(r.get||r.set)?Object.defineProperty(a,i,r):a[i]=e[i]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=e("react-router-dom"),i=e("react-redux"),r=e("react-responsive-carousel"),s=e("../../../store/actions"),c=e("../../../hooks/useI18nContext"),l=y(e("../../../components/ui/button")),u=e("../../../helpers/constants/design-system"),d=e("../../../helpers/constants/routes"),p=e("../../../components/component-library"),f=e("../../../contexts/metametrics"),m=e("../../../selectors"),g=e("../../../../shared/constants/metametrics"),h=e("../../../../shared/constants/onboarding"),E=y(e("./pin-billboard"));function y(e){return e&&e.__esModule?e:{default:e}}function A(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(A=function(e){return e?n:t})(e)}}}},{package:"$root$",file:"ui/pages/onboarding-flow/pin-extension/pin-extension.js"}],[5800,{"../../../../app/scripts/lib/util":120,"../../../../shared/constants/metametrics":4505,"../../../../shared/lib/ui-utils":4532,"../../../components/app/incoming-trasaction-toggle/incoming-transaction-toggle":4648,"../../../components/component-library":4955,"../../../contexts/metametrics":5327,"../../../ducks/app/app":5336,"../../../helpers/constants/design-system":5355,"../../../helpers/constants/routes":5361,"../../../hooks/metamask-notifications/useProfileSyncing":5407,"../../../hooks/useI18nContext":5427,"../../../selectors":5987,"../../../selectors/metamask-notifications/authentication":5988,"../../../selectors/metamask-notifications/profile-syncing":5990,"../../../store/actions":5998,"./setting":5801,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(){var e;const t=(0,g.useI18nContext)(),n=(0,i.useDispatch)(),a=(0,r.useHistory)(),v=(0,i.useSelector)((e=>e.metamask)),{incomingTransactionsPreferences:w,use4ByteResolution:C,useTokenDetection:I,useCurrencyRateCheck:S,useMultiAccountBalanceChecker:N,ipfsGateway:x,useAddressBarEnsResolution:O,useTransactionSimulations:P}=v,M=(0,i.useSelector)(h.getPetnamesEnabled),R=(0,i.useSelector)(y.selectParticipateInMetaMetrics),[B,D]=(0,o.useState)(null),[j,L]=(0,o.useState)(C),[F,U]=(0,o.useState)(I),[G,Q]=(0,o.useState)(S),[H,W]=(0,o.useState)(N),[Y,z]=(0,o.useState)(P),[K,q]=(0,o.useState)(x),[Z,J]=(0,o.useState)(null),[V,X]=(0,o.useState)(O),[_,$]=(0,o.useState)(M),ee=(0,o.useContext)(p.MetaMetricsContext),te=(0,i.useSelector)(h.getCurrentNetwork),ne=(0,i.useSelector)(h.getAllNetworks),ae=(0,i.useSelector)(h.getExternalServicesOnboardingToggleState),oe=function(e){const{setIsProfileSyncingEnabled:t,error:n}=(0,c.useSetIsProfileSyncingEnabled)(),{enableProfileSyncing:a,error:r}=(0,c.useEnableProfileSyncing)(),s=n||r,l=(0,i.useSelector)(E.selectIsProfileSyncingEnabled);return(0,o.useEffect)((()=>{t(!0===e)}),[e,t]),{setIsProfileSyncingEnabled:t,enableProfileSyncing:a,profileSyncingError:s,isProfileSyncingEnabled:l}}(ae),ie=null===B?ae:B;return o.default.createElement(o.default.Fragment,null,o.default.createElement("div",{className:"privacy-settings","data-testid":"privacy-settings"},o.default.createElement("div",{className:"privacy-settings__header"},o.default.createElement(d.Text,{variant:f.TextVariant.headingLg,as:"h2"},t("advancedConfiguration")),o.default.createElement(d.Text,{variant:f.TextVariant.headingSm,as:"h4"},t("setAdvancedPrivacySettingsDetails"))),o.default.createElement("div",{className:"privacy-settings__settings","data-testid":"privacy-settings-settings"},o.default.createElement(b.Setting,{dataTestId:"basic-functionality-toggle",value:ae,setValue:e=>{n(!1===e?(0,T.openBasicFunctionalityModal)():(0,T.onboardingToggleBasicFunctionalityOn)())},title:t("basicConfigurationLabel"),description:t("basicConfigurationDescription",[o.default.createElement("a",{href:"https://consensys.io/privacy-policy",key:"link",target:"_blank",rel:"noreferrer noopener"},t("privacyMsg"))])}),o.default.createElement(k.default,{allNetworks:ne,setIncomingTransactionsPreferences:(e,t)=>n((0,A.setIncomingTransactionsPreferences)(e,t)),incomingTransactionsPreferences:w}),o.default.createElement(b.Setting,{dataTestId:"profile-sync-toggle",disabled:!ae,value:oe.isProfileSyncingEnabled,setValue:async()=>{oe.isProfileSyncingEnabled?n((0,A.showModal)({name:"CONFIRM_TURN_OFF_PROFILE_SYNCING",turnOffProfileSyncing:()=>{oe.setIsProfileSyncingEnabled(!1),ee({category:l.MetaMetricsEventCategory.Onboarding,event:l.MetaMetricsEventName.OnboardingWalletAdvancedSettingsTurnOffProfileSyncing,properties:{participateInMetaMetrics:R}})}})):oe.setIsProfileSyncingEnabled(!0)},title:t("profileSync"),description:t("profileSyncDescription",[o.default.createElement("a",{href:"https://support.metamask.io/privacy-and-security/profile-privacy",key:"link",target:"_blank",rel:"noopener noreferrer"},t("profileSyncPrivacyLink"))])}),oe.profileSyncingError&&o.default.createElement(d.Box,{paddingBottom:4},o.default.createElement(d.Text,{as:"p",color:f.TextColor.errorDefault,variant:f.TextVariant.bodySm},t("notificationsSettingsBoxError"))),o.default.createElement(b.Setting,{value:ie,setValue:D,title:t("usePhishingDetection"),description:t("onboardingUsePhishingDetectionDescription",[o.default.createElement("a",{href:"https://www.jsdelivr.com",target:"_blank",rel:"noreferrer",key:"jsDeliver"},t("jsDeliver")),o.default.createElement("a",{href:"https://www.jsdelivr.com/terms/privacy-policy-jsdelivr-com",target:"_blank",rel:"noreferrer",key:"privacyMsg"},t("privacyMsg"))])}),o.default.createElement(b.Setting,{value:j,setValue:L,title:t("use4ByteResolution"),description:t("use4ByteResolutionDescription")}),o.default.createElement(b.Setting,{value:F,setValue:U,title:t("turnOnTokenDetection"),description:t("useTokenDetectionPrivacyDesc")}),o.default.createElement(b.Setting,{value:H,setValue:W,title:t("useMultiAccountBalanceChecker"),description:t("useMultiAccountBalanceCheckerSettingDescription")}),o.default.createElement(b.Setting,{title:t("onboardingAdvancedPrivacyNetworkTitle"),showToggle:!1,description:o.default.createElement(o.default.Fragment,null,t("onboardingAdvancedPrivacyNetworkDescription",[o.default.createElement("a",{href:"https://consensys.io/privacy-policy/",key:"link",target:"_blank",rel:"noopener noreferrer"},t("privacyMsg"))]),o.default.createElement(d.Box,{paddingTop:2},te?o.default.createElement("div",{className:"privacy-settings__network"},o.default.createElement(o.default.Fragment,null,o.default.createElement(d.PickerNetwork,{label:null==te?void 0:te.nickname,src:null==te||null===(e=te.rpcPrefs)||void 0===e?void 0:e.imageUrl,onClick:()=>n((0,A.toggleNetworkMenu)())}))):o.default.createElement(d.ButtonSecondary,{size:d.ButtonSecondarySize.Lg,onClick:e=>{e.preventDefault(),n((0,A.showModal)({name:"ONBOARDING_ADD_NETWORK"}))}},t("onboardingAdvancedPrivacyNetworkButton"))))}),o.default.createElement(b.Setting,{title:t("onboardingAdvancedPrivacyIPFSTitle"),showToggle:!1,description:o.default.createElement(o.default.Fragment,null,t("onboardingAdvancedPrivacyIPFSDescription"),o.default.createElement(d.Box,{paddingTop:2},o.default.createElement(d.TextField,{value:K,style:{width:"100%"},inputProps:{"data-testid":"ipfs-input"},onChange:e=>{(e=>{q(e);try{const{host:t}=new URL((0,s.addUrlProtocolPrefix)(e));if(!t||"gateway.ipfs.io"===t)throw new Error;J(null)}catch(e){J(t("onboardingAdvancedPrivacyIPFSInvalid"))}})(e.target.value)}}),K?o.default.createElement(d.Text,{variant:f.TextVariant.bodySm,color:Z?f.TextColor.errorDefault:f.TextColor.successDefault},Z||t("onboardingAdvancedPrivacyIPFSValid")):null))}),o.default.createElement(b.Setting,{value:Y,setValue:z,title:t("simulationsSettingSubHeader"),description:t("simulationsSettingDescription",[o.default.createElement("a",{key:"learn_more_link",href:u.TRANSACTION_SIMULATIONS_LEARN_MORE_LINK,rel:"noreferrer",target:"_blank"},t("learnMoreUpperCase"))])}),o.default.createElement(b.Setting,{value:V,setValue:X,title:t("ensDomainsSettingTitle"),description:o.default.createElement(o.default.Fragment,null,o.default.createElement(d.Text,{variant:f.TextVariant.inherit},t("ensDomainsSettingDescriptionIntroduction")),o.default.createElement(d.Box,{as:"ul",marginTop:4,marginBottom:4,paddingInlineStart:4,style:{listStyleType:"circle"}},o.default.createElement(d.Text,{variant:f.TextVariant.inherit,as:"li"},t("ensDomainsSettingDescriptionPart1")),o.default.createElement(d.Text,{variant:f.TextVariant.inherit,as:"li"},t("ensDomainsSettingDescriptionPart2"))),o.default.createElement(d.Text,{variant:f.TextVariant.inherit},t("ensDomainsSettingDescriptionOutroduction")))}),o.default.createElement(b.Setting,{value:G,setValue:Q,title:t("currencyRateCheckToggle"),dataTestId:"currency-rate-check-toggle",description:t("currencyRateCheckToggleDescription",[o.default.createElement("a",{key:"coingecko_link",href:u.COINGECKO_LINK,rel:"noreferrer",target:"_blank"},t("coingecko")),o.default.createElement("a",{key:"cryptocompare_link",href:u.CRYPTOCOMPARE_LINK,rel:"noreferrer",target:"_blank"},t("cryptoCompare")),o.default.createElement("a",{key:"privacy_policy_link",href:u.PRIVACY_POLICY_LINK,rel:"noreferrer",target:"_blank"},t("privacyMsg"))])}),o.default.createElement(b.Setting,{value:_,setValue:$,title:t("petnamesEnabledToggle"),description:t("petnamesEnabledToggleDescription")}),o.default.createElement(d.ButtonPrimary,{size:d.ButtonPrimarySize.Lg,onClick:()=>{if(n((0,A.toggleExternalServices)(ae)),n((0,A.setUsePhishDetect)(ie)),n((0,A.setUse4ByteResolution)(j)),n((0,A.setUseTokenDetection)(F)),n((0,A.setUseMultiAccountBalanceChecker)(H)),n((0,A.setUseCurrencyRateCheck)(G)),n((0,A.setCompletedOnboarding)()),n((0,A.setUseAddressBarEnsResolution)(V)),(0,A.setUseTransactionSimulations)(Y),n((0,A.setPetnamesEnabled)(_)),ae?(oe.isProfileSyncingEnabled||R)&&n((0,A.performSignIn)()):oe.setIsProfileSyncingEnabled(!1),K&&!Z){const{host:e}=new URL((0,s.addUrlProtocolPrefix)(K));n((0,A.setIpfsGateway)(e))}ee({category:l.MetaMetricsEventCategory.Onboarding,event:l.MetaMetricsEventName.OnboardingWalletAdvancedSettings,properties:{show_incoming_tx:w,use_phising_detection:B,turnon_token_detection:F}});const e=oe.isProfileSyncingEnabled||R?l.MetaMetricsEventName.OnboardingWalletAdvancedSettingsWithAuthenticating:l.MetaMetricsEventName.OnboardingWalletAdvancedSettingsWithoutAuthenticating;ee({category:l.MetaMetricsEventCategory.Onboarding,event:e,properties:{isProfileSyncingEnabled:oe.isProfileSyncingEnabled,participateInMetaMetrics:R}}),a.push(m.ONBOARDING_PIN_EXTENSION_ROUTE)},block:!0,marginTop:6},t("done")))))};var a,o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=v(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var r=o?Object.getOwnPropertyDescriptor(e,i):null;r&&(r.get||r.set)?Object.defineProperty(a,i,r):a[i]=e[i]}return a.default=e,n&&n.set(e,a),a}(e("react")),i=e("react-redux"),r=e("react-router-dom"),s=e("../../../../app/scripts/lib/util"),c=e("../../../hooks/metamask-notifications/useProfileSyncing"),l=e("../../../../shared/constants/metametrics"),u=e("../../../../shared/lib/ui-utils"),d=e("../../../components/component-library"),p=e("../../../contexts/metametrics"),f=e("../../../helpers/constants/design-system"),m=e("../../../helpers/constants/routes"),g=e("../../../hooks/useI18nContext"),h=e("../../../selectors"),E=e("../../../selectors/metamask-notifications/profile-syncing"),y=e("../../../selectors/metamask-notifications/authentication"),A=e("../../../store/actions"),T=e("../../../ducks/app/app"),k=(a=e("../../../components/app/incoming-trasaction-toggle/incoming-transaction-toggle"))&&a.__esModule?a:{default:a},b=e("./setting");function v(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(v=function(e){return e?n:t})(e)}}}},{package:"$root$",file:"ui/pages/onboarding-flow/privacy-settings/privacy-settings.js"}],[5801,{"../../../components/component-library":4955,"../../../components/ui/toggle-button":5306,"../../../helpers/constants/design-system":5355,"../../../hooks/useI18nContext":5427,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.Setting=void 0;var a=l(e("react")),o=l(e("prop-types")),i=e("../../../components/component-library"),r=l(e("../../../components/ui/toggle-button")),s=e("../../../helpers/constants/design-system"),c=e("../../../hooks/useI18nContext");function l(e){return e&&e.__esModule?e:{default:e}}const u=({value:e,setValue:t,title:n,description:o,showToggle:l=!0,dataTestId:u,disabled:d=!1})=>{const p=(0,c.useI18nContext)();return a.default.createElement(i.Box,{display:s.Display.Flex,justifyContent:s.JustifyContent.spaceBetween,alignItems:s.AlignItems.center,marginTop:3,marginBottom:3,className:"privacy-settings__setting__wrapper","data-testid":u},a.default.createElement("div",{className:"privacy-settings__setting"},a.default.createElement(i.Text,{variant:s.TextVariant.bodyMdMedium},n),a.default.createElement(i.Text,{variant:s.TextVariant.bodySm,as:"div"},o)),l?a.default.createElement("div",{className:"privacy-settings__setting__toggle"},a.default.createElement(r.default,{value:e,onToggle:e=>t(!e),offLabel:p("off"),onLabel:p("on"),disabled:d})):null)};n.Setting=u,u.propTypes={value:o.default.bool,setValue:o.default.func,title:o.default.string,description:o.default.oneOfType([o.default.object,o.default.string]),showToggle:o.default.bool,dataTestId:o.default.string,disabled:o.default.bool}}}},{package:"$root$",file:"ui/pages/onboarding-flow/privacy-settings/setting.js"}],[5802,{"../../../../shared/constants/metametrics":4505,"../../../components/app/step-progress-bar":4847,"../../../components/ui/box":5194,"../../../components/ui/button":5198,"../../../components/ui/typography":5314,"../../../contexts/metametrics":5327,"../../../helpers/constants/design-system":5355,"../../../helpers/constants/routes":5361,"../../../hooks/useI18nContext":5427,"../../../store/actions":5998,"./recovery-phrase-chips":5803,lodash:3836,"prop-types":3997,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=k;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=T(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var r=o?Object.getOwnPropertyDescriptor(e,i):null;r&&(r.get||r.set)?Object.defineProperty(a,i,r):a[i]=e[i]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=e("react-router-dom"),i=e("react-redux"),r=e("lodash"),s=A(e("prop-types")),c=A(e("../../../components/ui/box")),l=A(e("../../../components/ui/button")),u=A(e("../../../components/ui/typography")),d=e("../../../helpers/constants/design-system"),p=e("../../../components/app/step-progress-bar"),f=e("../../../helpers/constants/routes"),m=e("../../../hooks/useI18nContext"),g=e("../../../store/actions"),h=e("../../../contexts/metametrics"),E=e("../../../../shared/constants/metametrics"),y=A(e("./recovery-phrase-chips"));function A(e){return e&&e.__esModule?e:{default:e}}function T(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(T=function(e){return e?n:t})(e)}function k({secretRecoveryPhrase:e=""}){const t=(0,o.useHistory)(),n=(0,m.useI18nContext)(),s=(0,i.useDispatch)(),A=e.split(" "),T=[2,3,7],[k,b]=(0,a.useState)(!1),v=(0,a.useContext)(h.MetaMetricsContext),[w,C]=(0,a.useState)((()=>{const e={...A};return T.forEach((t=>{e[t]=""})),e})()),I=(0,a.useMemo)((()=>(0,r.debounce)((t=>{b(Object.values(t).join(" ")===e)}),500)),[b,e]);return a.default.createElement("div",{className:"recovery-phrase__confirm","data-testid":"confirm-recovery-phrase"},a.default.createElement(p.ThreeStepProgressBar,{stage:p.threeStepStages.RECOVERY_PHRASE_CONFIRM,marginBottom:4}),a.default.createElement(c.default,{justifyContent:d.JustifyContent.center,textAlign:d.TEXT_ALIGN.CENTER,marginBottom:4},a.default.createElement(u.default,{variant:d.TypographyVariant.H2,fontWeight:d.FONT_WEIGHT.BOLD},n("seedPhraseConfirm"))),a.default.createElement(c.default,{justifyContent:d.JustifyContent.center,textAlign:d.TEXT_ALIGN.CENTER,marginBottom:4},a.default.createElement(u.default,{variant:d.TypographyVariant.H4},n("seedPhraseEnterMissingWords"))),a.default.createElement(y.default,{secretRecoveryPhrase:A,confirmPhase:!0,setInputValue:e=>{C(e),I(e)},inputValue:w,indicesToCheck:T}),a.default.createElement("div",{className:"recovery-phrase__footer__confirm"},a.default.createElement(l.default,{"data-testid":"recovery-phrase-confirm",type:"primary",large:!0,className:"recovery-phrase__footer__confirm--button",onClick:async()=>{await s((0,g.setSeedPhraseBackedUp)(!0)),v({category:E.MetaMetricsEventCategory.Onboarding,event:E.MetaMetricsEventName.OnboardingWalletSecurityPhraseConfirmed}),t.push(f.ONBOARDING_COMPLETION_ROUTE)},disabled:!k},n("confirm"))))}k.propTypes={secretRecoveryPhrase:s.default.string}}}},{package:"$root$",file:"ui/pages/onboarding-flow/recovery-phrase/confirm-recovery-phrase.js"}],[5803,{"../../../components/ui/box":5194,"../../../components/ui/chip":5205,"../../../components/ui/chip/chip-with-input":5203,"../../../components/ui/typography":5314,"../../../helpers/constants/design-system":5355,"../../../hooks/useI18nContext":5427,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=f;var a=p(e("react")),o=p(e("classnames")),i=p(e("prop-types")),r=p(e("../../../components/ui/chip")),s=p(e("../../../components/ui/box")),c=p(e("../../../components/ui/typography")),l=e("../../../components/ui/chip/chip-with-input"),u=e("../../../hooks/useI18nContext"),d=e("../../../helpers/constants/design-system");function p(e){return e&&e.__esModule?e:{default:e}}function f({secretRecoveryPhrase:e,phraseRevealed:t,confirmPhase:n,setInputValue:i,inputValue:p,indicesToCheck:f,hiddenPhrase:m}){const g=(0,u.useI18nContext)(),h=!1===t;return a.default.createElement(s.default,{borderColor:d.BorderColor.borderMuted,borderStyle:d.BorderStyle.solid,padding:4,borderWidth:1,borderRadius:d.Size.MD,display:d.DISPLAY.GRID,marginBottom:4,className:"recovery-phrase__secret"},a.default.createElement("div",{"data-testid":"recovery-phrase-chips",className:(0,o.default)("recovery-phrase__chips",{"recovery-phrase__chips--hidden":h})},e.map(((e,t)=>n&&f&&f.includes(t)?a.default.createElement("div",{className:"recovery-phrase__chip-item",key:t},a.default.createElement("div",{className:"recovery-phrase__chip-item__number"},`${t+1}.`),a.default.createElement(l.ChipWithInput,{dataTestId:`recovery-phrase-input-${t}`,borderColor:d.BorderColor.primaryDefault,className:"recovery-phrase__chip--with-input",inputValue:p[t],setInputValue:e=>{i({...p,[t]:e})}})):a.default.createElement("div",{className:"recovery-phrase__chip-item",key:t},a.default.createElement("div",{className:"recovery-phrase__chip-item__number"},`${t+1}.`),a.default.createElement(r.default,{dataTestId:`recovery-phrase-chip-${t}`,className:"recovery-phrase__chip",borderColor:d.BorderColor.borderDefault},e))))),h&&a.default.createElement("div",{className:"recovery-phrase__secret-blocker"},!m&&a.default.createElement(a.default.Fragment,null,a.default.createElement("i",{className:"far fa-eye",color:"white"}),a.default.createElement(c.default,{variant:d.TypographyVariant.H6,color:d.Color.overlayInverse,className:"recovery-phrase__secret-blocker--text"},g("makeSureNoOneWatching")))))}f.propTypes={secretRecoveryPhrase:i.default.array,phraseRevealed:i.default.bool,confirmPhase:i.default.bool,setInputValue:i.default.func,inputValue:i.default.object,indicesToCheck:i.default.array,hiddenPhrase:i.default.bool}}}},{package:"$root$",file:"ui/pages/onboarding-flow/recovery-phrase/recovery-phrase-chips.js"}],[5804,{"../../../../shared/constants/metametrics":4505,"../../../components/app/step-progress-bar":4847,"../../../components/component-library":4955,"../../../components/ui/box":5194,"../../../components/ui/button":5198,"../../../components/ui/typography":5314,"../../../contexts/metametrics":5327,"../../../helpers/constants/design-system":5355,"../../../helpers/constants/routes":5361,"../../../hooks/useCopyToClipboard":5417,"../../../hooks/useI18nContext":5427,"./recovery-phrase-chips":5803,"prop-types":3997,react:4243,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=T;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=A(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var r=o?Object.getOwnPropertyDescriptor(e,i):null;r&&(r.get||r.set)?Object.defineProperty(a,i,r):a[i]=e[i]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=e("react-router-dom"),i=y(e("prop-types")),r=y(e("../../../components/ui/box")),s=y(e("../../../components/ui/button")),c=y(e("../../../components/ui/typography")),l=e("../../../hooks/useCopyToClipboard"),u=e("../../../hooks/useI18nContext"),d=e("../../../helpers/constants/routes"),p=e("../../../helpers/constants/design-system"),f=e("../../../components/app/step-progress-bar"),m=e("../../../../shared/constants/metametrics"),g=e("../../../contexts/metametrics"),h=e("../../../components/component-library"),E=y(e("./recovery-phrase-chips"));function y(e){return e&&e.__esModule?e:{default:e}}function A(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(A=function(e){return e?n:t})(e)}function T({secretRecoveryPhrase:e}){const t=(0,o.useHistory)(),n=(0,u.useI18nContext)(),{search:i}=(0,o.useLocation)(),[y,A]=(0,l.useCopyToClipboard)(),[T,k]=(0,a.useState)(!1),[b,v]=(0,a.useState)(!1),w=new URLSearchParams(i).get("isFromReminder")?"/?isFromReminder=true":"",C=(0,a.useContext)(g.MetaMetricsContext);return a.default.createElement("div",{className:"recovery-phrase","data-testid":"recovery-phrase"},a.default.createElement(f.ThreeStepProgressBar,{stage:f.threeStepStages.RECOVERY_PHRASE_REVIEW}),a.default.createElement(r.default,{justifyContent:p.JustifyContent.center,textAlign:p.TEXT_ALIGN.CENTER,marginBottom:4},a.default.createElement(c.default,{variant:p.TypographyVariant.H2,fontWeight:p.FONT_WEIGHT.BOLD,className:"recovery-phrase__header"},n("seedPhraseWriteDownHeader"))),a.default.createElement(r.default,{justifyContent:p.JustifyContent.center,textAlign:p.TEXT_ALIGN.CENTER,marginBottom:4},a.default.createElement(c.default,{variant:p.TypographyVariant.H4},n("seedPhraseWriteDownDetails"))),a.default.createElement(r.default,{textAlign:p.TEXT_ALIGN.LEFT,marginBottom:4,className:"recovery-phrase__tips"},a.default.createElement(c.default,{variant:p.TypographyVariant.H4,fontWeight:p.FONT_WEIGHT.BOLD},n("tips"),":"),a.default.createElement("ul",null,a.default.createElement("li",null,a.default.createElement(c.default,{variant:p.TypographyVariant.H4},n("seedPhraseIntroSidebarBulletOne"))),a.default.createElement("li",null,a.default.createElement(c.default,{variant:p.TypographyVariant.H4},n("seedPhraseIntroSidebarBulletThree"))),a.default.createElement("li",null,a.default.createElement(c.default,{variant:p.TypographyVariant.H4},n("seedPhraseIntroSidebarBulletFour"))))),a.default.createElement(E.default,{secretRecoveryPhrase:e.split(" "),phraseRevealed:T&&!b,hiddenPhrase:b}),a.default.createElement("div",{className:"recovery-phrase__footer"},T?a.default.createElement("div",{className:"recovery-phrase__footer__copy-and-hide"},a.default.createElement("div",{className:"recovery-phrase__footer__copy-and-hide__area"},a.default.createElement(s.default,{type:"link",icon:a.default.createElement("i",{className:"far fa-eye"+(b?"":"-slash"),color:"var(--color-primary-default)"}),className:"recovery-phrase__footer__copy-and-hide__button recovery-phrase__footer__copy-and-hide__button__hide-seed",onClick:()=>{v(!b)}},n(b?"revealTheSeedPhrase":"hideSeedPhrase")),a.default.createElement(s.default,{onClick:()=>{A(e)},icon:a.default.createElement(h.Icon,{name:y?h.IconName.CopySuccess:h.IconName.Copy,color:p.IconColor.primaryDefault}),className:"recovery-phrase__footer__copy-and-hide__button recovery-phrase__footer__copy-and-hide__button__copy-to-clipboard",type:"link"},n(y?"copiedExclamation":"copyToClipboard"))),a.default.createElement(s.default,{"data-testid":"recovery-phrase-next",type:"primary",className:"recovery-phrase__footer--button",onClick:()=>{C({category:m.MetaMetricsEventCategory.Onboarding,event:m.MetaMetricsEventName.OnboardingWalletSecurityPhraseWrittenDown}),t.push(`${d.ONBOARDING_CONFIRM_SRP_ROUTE}${w}`)}},n("next"))):a.default.createElement(s.default,{"data-testid":"recovery-phrase-reveal",type:"primary",className:"recovery-phrase__footer--button",onClick:()=>{C({category:m.MetaMetricsEventCategory.Onboarding,event:m.MetaMetricsEventName.OnboardingWalletSecurityPhraseRevealed}),k(!0)}},n("revealSeedWords"))))}T.propTypes={secretRecoveryPhrase:i.default.string}}}},{package:"$root$",file:"ui/pages/onboarding-flow/recovery-phrase/review-recovery-phrase.js"}],[5805,{"../../../../shared/constants/metametrics":4505,"../../../components/app/step-progress-bar":4847,"../../../components/component-library":4955,"../../../contexts/metametrics":5327,"../../../ducks/locale/locale":5345,"../../../helpers/constants/design-system":5355,"../../../helpers/constants/routes":5361,"../../../hooks/useI18nContext":5427,"./skip-srp-backup-popover":5806,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(){const e=(0,i.useHistory)(),t=(0,l.useI18nContext)(),{search:n}=(0,i.useLocation)(),a=(0,r.useSelector)(p.getCurrentLocale),[h,E]=(0,o.useState)(!1),y=new URLSearchParams(n).get("isFromReminder")?"/?isFromReminder=true":"",A=(0,o.useContext)(u.MetaMetricsContext),T={en:"English",es:"Spanish",hi:"Hindi",id:"Indonesian",ja:"Japanese",ko:"Korean",pt:"Portuguese",ru:"Russian",tl:"Tagalog",vi:"Vietnamese",de:"German",el:"Greek",fr:"French",tr:"Turkish",zh:"Chinese - China"},k=T[a]?a:"en";return o.default.createElement(m.Box,{display:s.Display.Flex,justifyContent:s.JustifyContent.center,alignItems:s.AlignItems.center,flexDirection:s.FlexDirection.Column,className:"secure-your-wallet","data-testid":"secure-your-wallet"},h&&o.default.createElement(g.default,{handleClose:()=>E(!1)}),o.default.createElement(c.ThreeStepProgressBar,{stage:c.threeStepStages.RECOVERY_PHRASE_VIDEO,marginBottom:4}),o.default.createElement(m.Text,{variant:s.TextVariant.headingLg,as:"h2",marginBottom:4,textAlign:s.TextAlign.Center},t("seedPhraseIntroTitle")),o.default.createElement(m.Text,{variant:s.TextVariant.bodyLgMedium,marginBottom:6,className:"secure-your-wallet__details"},t("seedPhraseIntroTitleCopy")),o.default.createElement(m.Box,{as:"video",borderRadius:s.BorderRadius.LG,marginBottom:8,className:"secure-your-wallet__video",onPlay:()=>{A({category:f.MetaMetricsEventCategory.Onboarding,event:f.MetaMetricsEventName.OnboardingWalletVideoPlay})},controls:!0},o.default.createElement("source",{type:"video/webm",src:"./images/videos/recovery-onboarding/video.webm"}),Object.keys(T).map((e=>o.default.createElement("track",{default:Boolean(e===k),srcLang:e,label:T[e],key:`${e}-subtitles`,kind:"subtitles",src:`./images/videos/recovery-onboarding/subtitles/${e}.vtt`})))),o.default.createElement(m.Box,{className:"secure-your-wallet__actions",marginBottom:8,width:s.BlockSize.Full,display:s.Display.Flex,flexDirection:[s.FlexDirection.Column,s.FlexDirection.Row],justifyContent:s.JustifyContent.spaceBetween,gap:4},o.default.createElement(m.Button,{"data-testid":"secure-wallet-later",variant:m.BUTTON_VARIANT.SECONDARY,size:m.BUTTON_SIZES.LG,block:!0,onClick:()=>{A({category:f.MetaMetricsEventCategory.Onboarding,event:f.MetaMetricsEventName.OnboardingWalletSecuritySkipInitiated}),E(!0)}},t("seedPhraseIntroNotRecommendedButtonCopy")),o.default.createElement(m.Button,{"data-testid":"secure-wallet-recommended",size:m.BUTTON_SIZES.LG,block:!0,onClick:()=>{A({category:f.MetaMetricsEventCategory.Onboarding,event:f.MetaMetricsEventName.OnboardingWalletSecurityStarted}),e.push(`${d.ONBOARDING_REVIEW_SRP_ROUTE}${y}`)}},t("seedPhraseIntroRecommendedButtonCopy"))),o.default.createElement(m.Box,{className:"secure-your-wallet__desc"},o.default.createElement(m.Text,{as:"h3",variant:s.TextVariant.headingSm},t("seedPhraseIntroSidebarTitleOne")),o.default.createElement(m.Text,{marginBottom:4},t("seedPhraseIntroSidebarCopyOne")),o.default.createElement(m.Text,{as:"h3",variant:s.TextVariant.headingSm},t("seedPhraseIntroSidebarTitleTwo")),o.default.createElement(m.Box,{as:"ul",className:"secure-your-wallet__list",marginBottom:4},o.default.createElement(m.Text,{as:"li"},t("seedPhraseIntroSidebarBulletOne")),o.default.createElement(m.Text,{as:"li"},t("seedPhraseIntroSidebarBulletThree")),o.default.createElement(m.Text,{as:"li"},t("seedPhraseIntroSidebarBulletFour"))),o.default.createElement(m.Text,{as:"h3",variant:s.TextVariant.headingSm},t("seedPhraseIntroSidebarTitleThree")),o.default.createElement(m.Text,{as:"p",marginBottom:4},t("seedPhraseIntroSidebarCopyTwo")),o.default.createElement(m.Text,{as:"h3",variant:s.TextVariant.headingSm,backgroundColor:s.BackgroundColor.primaryMuted,padding:4,borderRadius:s.BorderRadius.LG},t("seedPhraseIntroSidebarCopyThree"))))};var a,o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=h(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var r=o?Object.getOwnPropertyDescriptor(e,i):null;r&&(r.get||r.set)?Object.defineProperty(a,i,r):a[i]=e[i]}return a.default=e,n&&n.set(e,a),a}(e("react")),i=e("react-router-dom"),r=e("react-redux"),s=e("../../../helpers/constants/design-system"),c=e("../../../components/app/step-progress-bar"),l=e("../../../hooks/useI18nContext"),u=e("../../../contexts/metametrics"),d=e("../../../helpers/constants/routes"),p=e("../../../ducks/locale/locale"),f=e("../../../../shared/constants/metametrics"),m=e("../../../components/component-library"),g=(a=e("./skip-srp-backup-popover"))&&a.__esModule?a:{default:a};function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(h=function(e){return e?n:t})(e)}}}},{package:"$root$",file:"ui/pages/onboarding-flow/secure-your-wallet/secure-your-wallet.js"}],[5806,{"../../../../shared/constants/metametrics":4505,"../../../components/component-library":4955,"../../../components/ui/box":5194,"../../../components/ui/button":5198,"../../../components/ui/check-box":5202,"../../../components/ui/popover":5281,"../../../components/ui/typography":5314,"../../../contexts/metametrics":5327,"../../../helpers/constants/design-system":5355,"../../../helpers/constants/routes":5361,"../../../hooks/useI18nContext":5427,"../../../store/actions":5998,"prop-types":3997,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=k;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=T(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var r=o?Object.getOwnPropertyDescriptor(e,i):null;r&&(r.get||r.set)?Object.defineProperty(a,i,r):a[i]=e[i]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=A(e("prop-types")),i=e("react-router-dom"),r=e("react-redux"),s=e("../../../hooks/useI18nContext"),c=A(e("../../../components/ui/button")),l=A(e("../../../components/ui/popover")),u=A(e("../../../components/ui/box")),d=A(e("../../../components/ui/typography")),p=e("../../../helpers/constants/design-system"),f=e("../../../store/actions"),m=A(e("../../../components/ui/check-box")),g=e("../../../helpers/constants/routes"),h=e("../../../../shared/constants/metametrics"),E=e("../../../contexts/metametrics"),y=e("../../../components/component-library");function A(e){return e&&e.__esModule?e:{default:e}}function T(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(T=function(e){return e?n:t})(e)}function k({handleClose:e}){const[t,n]=(0,a.useState)(!1),o=(0,s.useI18nContext)(),A=(0,i.useHistory)(),T=(0,r.useDispatch)(),k=(0,a.useContext)(E.MetaMetricsContext);return a.default.createElement(l.default,{className:"skip-srp-backup-popover",footer:a.default.createElement(u.default,{className:"skip-srp-backup-popover__footer",justifyContent:p.JustifyContent.center,alignItems:p.AlignItems.center},a.default.createElement(c.default,{onClick:()=>{k({category:h.MetaMetricsEventCategory.Onboarding,event:h.MetaMetricsEventName.OnboardingWalletSecuritySkipCanceled}),e()},type:"secondary",rounded:!0},o("goBack")),a.default.createElement(c.default,{"data-testid":"skip-srp-backup",disabled:!t,type:"primary",rounded:!0,onClick:async()=>{await T((0,f.setSeedPhraseBackedUp)(!1)),k({category:h.MetaMetricsEventCategory.Onboarding,event:h.MetaMetricsEventName.OnboardingWalletSecuritySkipConfirmed}),A.push(g.ONBOARDING_COMPLETION_ROUTE)}},o("skip")))},a.default.createElement(u.default,{flexDirection:p.FLEX_DIRECTION.COLUMN,alignItems:p.AlignItems.center,justifyContent:p.JustifyContent.center,margin:4},a.default.createElement(y.Icon,{name:y.IconName.Danger,size:y.IconSize.Xl,className:"skip-srp-backup-popover__icon",color:p.IconColor.errorDefault}),a.default.createElement(d.default,{variant:p.TypographyVariant.H3,fontWeight:p.FONT_WEIGHT.BOLD},o("skipAccountSecurity")),a.default.createElement(u.default,{justifyContent:p.JustifyContent.center,margin:3},a.default.createElement("label",{className:"skip-srp-backup-popover__label"},a.default.createElement(m.default,{className:"skip-srp-backup-popover__checkbox",onClick:()=>n(!t),checked:t,dataTestId:"skip-srp-backup-popover-checkbox"}),a.default.createElement(d.default,{className:"skip-srp-backup-popover__details",variant:p.TypographyVariant.H7},o("skipAccountSecurityDetails"))))))}k.propTypes={handleClose:o.default.func}}}},{package:"$root$",file:"ui/pages/onboarding-flow/secure-your-wallet/skip-srp-backup-popover.js"}],[5807,{"../../../../shared/constants/metametrics":4505,"../../../../shared/constants/onboarding":4510,"../../../components/component-library":4955,"../../../components/ui/box":5194,"../../../components/ui/button":5198,"../../../components/ui/check-box":5202,"../../../components/ui/mascot":5262,"../../../contexts/metametrics":5327,"../../../helpers/constants/design-system":5355,"../../../helpers/constants/routes":5361,"../../../hooks/useI18nContext":5427,"../../../selectors":5987,"../../../store/actions":5998,events:3328,react:4243,"react-redux":4199,"react-responsive-carousel":4223,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(){const e=(0,m.useI18nContext)(),t=(0,i.useDispatch)(),n=(0,r.useHistory)(),[k]=(0,o.useState)(new a.default),b=(0,i.useSelector)(A.getCurrentKeyring),v=(0,i.useSelector)(A.getFirstTimeFlowType),[w,C]=(0,o.useState)(!1);(0,o.useEffect)((()=>{b&&(v===T.FirstTimeFlowType.import&&n.replace(y.ONBOARDING_COMPLETION_ROUTE),v===T.FirstTimeFlowType.restore?n.replace(y.ONBOARDING_COMPLETION_ROUTE):n.replace(y.ONBOARDING_SECURE_YOUR_WALLET_ROUTE))}),[b,n,v]);const I=(0,o.useContext)(g.MetaMetricsContext),S=e("agreeTermsOfUse",[o.default.createElement("a",{className:"create-new-vault__terms-link",key:"create-new-vault__link-text",href:"https://metamask.io/terms.html",target:"_blank",rel:"noopener noreferrer"},e("terms"))]);return o.default.createElement("div",{className:"onboarding-welcome","data-testid":"onboarding-welcome"},o.default.createElement(s.Carousel,{showThumbs:!1,showStatus:!1,showArrows:!0},o.default.createElement("div",null,o.default.createElement(u.Text,{variant:f.TextVariant.headingLg,as:"h2",textAlign:f.TextAlign.Center,fontWeight:f.FontWeight.Bold},e("welcomeToMetaMask")),o.default.createElement(u.Text,{textAlign:f.TextAlign.Center,marginLeft:6,marginRight:6},e("welcomeToMetaMaskIntro")),o.default.createElement("div",{className:"onboarding-welcome__mascot"},o.default.createElement(c.default,{animationEventEmitter:k,width:"250",height:"250"}))),o.default.createElement("div",null,o.default.createElement(u.Text,{variant:f.TextVariant.headingLg,as:"h2",textAlign:f.TextAlign.Center,fontWeight:f.FontWeight.Bold},e("welcomeExploreTitle")),o.default.createElement(u.Text,{textAlign:f.TextAlign.Center},e("welcomeExploreDescription")),o.default.createElement("div",{className:"onboarding-welcome__image"},o.default.createElement("img",{src:"/images/onboarding-welcome-say-hello.svg",width:"169",height:"237",alt:""}))),o.default.createElement("div",null,o.default.createElement(u.Text,{variant:f.TextVariant.headingLg,as:"h2",textAlign:f.TextAlign.Center,fontWeight:f.FontWeight.Bold},e("welcomeLoginTitle")),o.default.createElement(u.Text,{textAlign:f.TextAlign.Center},e("welcomeLoginDescription")),o.default.createElement("div",{className:"onboarding-welcome__image"},o.default.createElement("img",{src:"/images/onboarding-welcome-decentralised-apps.svg",width:"327",height:"256",alt:""})))),o.default.createElement("ul",{className:"onboarding-welcome__buttons"},o.default.createElement("li",null,o.default.createElement(p.default,{alignItems:f.AlignItems.center,className:"onboarding__terms-of-use"},o.default.createElement(d.default,{id:"onboarding__terms-checkbox",className:"onboarding__terms-checkbox",dataTestId:"onboarding-terms-checkbox",checked:w,onClick:()=>{C((e=>!e))}}),o.default.createElement("label",{className:"onboarding__terms-label",htmlFor:"onboarding__terms-checkbox"},o.default.createElement(u.Text,{variant:f.TextVariant.bodyMd,marginLeft:2,as:"span"},S)))),o.default.createElement("li",null,o.default.createElement(l.default,{"data-testid":"onboarding-create-wallet",type:"primary",onClick:async()=>{t((0,E.setFirstTimeFlowType)(T.FirstTimeFlowType.create)),I({category:h.MetaMetricsEventCategory.Onboarding,event:h.MetaMetricsEventName.OnboardingWalletCreationStarted,properties:{account_type:"metamask"}}),t((0,E.setTermsOfUseLastAgreed)((new Date).getTime())),n.push(y.ONBOARDING_METAMETRICS)},disabled:!w},e("onboardingCreateWallet"))),o.default.createElement("li",null,o.default.createElement(l.default,{"data-testid":"onboarding-import-wallet",type:"secondary",onClick:async()=>{t((0,E.setFirstTimeFlowType)(T.FirstTimeFlowType.import)),I({category:h.MetaMetricsEventCategory.Onboarding,event:h.MetaMetricsEventName.OnboardingWalletImportStarted,properties:{account_type:"imported"}}),t((0,E.setTermsOfUseLastAgreed)((new Date).getTime())),n.push(y.ONBOARDING_METAMETRICS)},disabled:!w},e("onboardingImportWallet")))))};var a=b(e("events")),o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=k(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var r=o?Object.getOwnPropertyDescriptor(e,i):null;r&&(r.get||r.set)?Object.defineProperty(a,i,r):a[i]=e[i]}return a.default=e,n&&n.set(e,a),a}(e("react")),i=e("react-redux"),r=e("react-router-dom"),s=e("react-responsive-carousel"),c=b(e("../../../components/ui/mascot")),l=b(e("../../../components/ui/button")),u=e("../../../components/component-library"),d=b(e("../../../components/ui/check-box")),p=b(e("../../../components/ui/box")),f=e("../../../helpers/constants/design-system"),m=e("../../../hooks/useI18nContext"),g=e("../../../contexts/metametrics"),h=e("../../../../shared/constants/metametrics"),E=e("../../../store/actions"),y=e("../../../helpers/constants/routes"),A=e("../../../selectors"),T=e("../../../../shared/constants/onboarding");function k(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(k=function(e){return e?n:t})(e)}function b(e){return e&&e.__esModule?e:{default:e}}}}},{package:"$root$",file:"ui/pages/onboarding-flow/welcome/welcome.js"}],[5808,{"../../../components/app/permissions-connect-footer":4737,"../../../components/component-library":4955,"../../../components/ui/account-list":5188,"../../../components/ui/page-container":5275,"../../../helpers/constants/design-system":5355,"../../../hooks/useI18nContext":5427,"@metamask/permission-controller":1624,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=f(e("prop-types")),o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=p(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var r=o?Object.getOwnPropertyDescriptor(e,i):null;r&&(r.get||r.set)?Object.defineProperty(a,i,r):a[i]=e[i]}return a.default=e,n&&n.set(e,a),a}(e("react")),i=e("@metamask/permission-controller"),r=e("../../../hooks/useI18nContext"),s=f(e("../../../components/app/permissions-connect-footer")),c=f(e("../../../components/ui/account-list")),l=e("../../../components/ui/page-container"),u=e("../../../helpers/constants/design-system"),d=e("../../../components/component-library");function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(p=function(e){return e?n:t})(e)}function f(e){return e&&e.__esModule?e:{default:e}}const m=({selectedAccountAddresses:e,addressLastConnectedMap:t={},accounts:n,selectAccounts:a,selectNewAccountViaModal:p,cancelPermissionsRequest:f,permissionsRequestId:m,targetSubjectMetadata:g,nativeCurrency:h})=>{const[E,y]=(0,o.useState)(e),A=(0,r.useI18nContext)(),T=0===n.length?A("connectAccountOrCreate"):(null==g?void 0:g.subjectType)===i.SubjectType.Snap?A("selectAccountsForSnap"):A("selectAccounts");return o.default.createElement(o.default.Fragment,null,o.default.createElement(d.Box,{className:"permissions-connect-choose-account__content",display:u.Display.Flex,flexDirection:u.FlexDirection.Column,backgroundColor:u.BackgroundColor.backgroundAlternative,width:u.BlockSize.Full,height:u.BlockSize.Full,paddingLeft:6,paddingRight:6},o.default.createElement(d.Box,{display:u.Display.Flex,flexDirection:u.FlexDirection.Column,justifyContent:u.JustifyContent.center,alignItems:u.AlignItems.center,paddingTop:4,paddingBottom:4},o.default.createElement(d.Text,{variant:u.TextVariant.headingMd},A("connectWithMetaMask")),o.default.createElement(d.Text,{variant:u.TextVariant.bodyMd},T)),o.default.createElement(c.default,{accounts:n,selectNewAccountViaModal:p,addressLastConnectedMap:t,nativeCurrency:h,selectedAccounts:E,allAreSelected:()=>n.length===E.size,deselectAll:()=>{y(new Set)},selectAll:()=>{const e=new Set(n.map((e=>e.address)));y(e)},handleAccountClick:e=>{const t=new Set(E);t.has(e)?t.delete(e):t.add(e),y(t)}})),o.default.createElement(d.Box,{backgroundColor:u.BackgroundColor.backgroundAlternative,className:"permissions-connect-choose-account__footer",paddingTop:4},(null==g?void 0:g.subjectType)!==i.SubjectType.Snap&&o.default.createElement(s.default,null),o.default.createElement(l.PageContainerFooter,{cancelButtonType:"default",onCancel:()=>f(m),cancelText:A("cancel"),onSubmit:()=>a(E),submitText:A("next"),disabled:0===E.size})))};m.propTypes={accounts:a.default.arrayOf(a.default.shape({address:a.default.string,addressLabel:a.default.string,lastConnectedDate:a.default.string,balance:a.default.string})).isRequired,selectAccounts:a.default.func.isRequired,selectNewAccountViaModal:a.default.func.isRequired,nativeCurrency:a.default.string.isRequired,addressLastConnectedMap:a.default.object,cancelPermissionsRequest:a.default.func.isRequired,permissionsRequestId:a.default.string.isRequired,selectedAccountAddresses:a.default.object.isRequired,targetSubjectMetadata:a.default.shape({extensionId:a.default.string,iconUrl:a.default.string,name:a.default.string,origin:a.default.string.isRequired,subjectType:a.default.string})};n.default=m}}},{package:"$root$",file:"ui/pages/permissions-connect/choose-account/choose-account.js"}],[5809,{"./choose-account":5808},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return o.default}});var a,o=(a=e("./choose-account"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/permissions-connect/choose-account/index.js"}],[5810,{"./permissions-connect.container":5812},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return o.default}});var a,o=(a=e("./permissions-connect.container"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/permissions-connect/index.js"}],[5811,{"../../../shared/constants/permissions":4511,"../../../shared/constants/time":4518,"../../components/app/permission-connect-header":4730,"../../components/app/permission-page-container":4732,"../../components/app/snaps/snap-authorship-header/snap-authorship-header":4771,"../../components/component-library":4955,"../../helpers/constants/routes":5361,"./choose-account":5809,"./redirect":5813,"./snaps/snap-install":5815,"./snaps/snap-result":5817,"./snaps/snap-update":5819,"./snaps/snaps-connect":5821,"@metamask/permission-controller":1624,"eth-rpc-errors":3257,"prop-types":3997,react:4243,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=b(e("prop-types")),o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=k(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var r=o?Object.getOwnPropertyDescriptor(e,i):null;r&&(r.get||r.set)?Object.defineProperty(a,i,r):a[i]=e[i]}return a.default=e,n&&n.set(e,a),a}(e("react")),i=e("react-router-dom"),r=e("eth-rpc-errors"),s=e("@metamask/permission-controller"),c=e("../../../shared/constants/time"),l=e("../../helpers/constants/routes"),u=b(e("../../components/app/permission-page-container")),d=e("../../components/component-library"),p=b(e("../../components/app/snaps/snap-authorship-header/snap-authorship-header")),f=b(e("../../components/app/permission-connect-header")),m=e("../../../shared/constants/permissions"),g=b(e("./choose-account")),h=b(e("./redirect")),E=b(e("./snaps/snaps-connect")),y=b(e("./snaps/snap-install")),A=b(e("./snaps/snap-update")),T=b(e("./snaps/snap-result"));function k(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(k=function(e){return e?n:t})(e)}function b(e){return e&&e.__esModule?e:{default:e}}function v(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const w=1200*c.MILLISECOND;function C(e,t){var n,a;const o=null===(n=t.permissions)||void 0===n?void 0:n[m.RestrictedMethods.eth_accounts],i=null==o||null===(a=o.caveats)||void 0===a||null===(a=a.find((e=>e.type===m.CaveatTypes.restrictReturnedAccounts)))||void 0===a?void 0:a.value;return i?new Set(i.map((e=>e.toLowerCase()))):new Set([e])}class I extends o.Component{constructor(...e){super(...e),v(this,"state",{redirecting:!1,selectedAccountAddresses:C(this.props.currentAddress,this.props.permissionsRequest),permissionsApproved:null,origin:this.props.origin,targetSubjectMetadata:this.props.targetSubjectMetadata||{},snapsInstallPrivacyWarningShown:this.props.snapsInstallPrivacyWarningShown}),v(this,"selectAccounts",(e=>{const{confirmPermissionPath:t,requestType:n,snapsConnectPath:a,snapInstallPath:o,snapUpdatePath:i,snapResultPath:r}=this.props;this.setState({selectedAccountAddresses:e},(()=>{switch(n){case"wallet_installSnap":this.props.history.push(o);break;case"wallet_updateSnap":this.props.history.push(i);break;case"wallet_installSnapResult":this.props.history.push(r);break;case"wallet_connectSnaps":this.props.history.replace(a);break;default:this.props.history.push(t)}}))})),v(this,"cancelPermissionsRequest",(async e=>{const{rejectPermissionsRequest:t}=this.props;e&&(await t(e),this.redirect(!1))}))}componentDidMount(){const{connectPath:e,confirmPermissionPath:t,snapsConnectPath:n,snapInstallPath:a,snapUpdatePath:o,snapResultPath:i,requestType:r,getRequestAccountTabIds:s,permissionsRequest:c,history:u,isRequestingAccounts:d}=this.props;if(s(),c){if(u.location.pathname===e&&!d)switch(r){case"wallet_installSnap":u.replace(a);break;case"wallet_updateSnap":u.replace(o);break;case"wallet_installSnapResult":u.replace(i);break;case"wallet_connectSnaps":u.replace(n);break;default:u.replace(t)}}else u.replace(l.DEFAULT_ROUTE)}componentDidUpdate(e){const{permissionsRequest:t,lastConnectedInfo:n}=this.props,{redirecting:a,origin:o}=this.state;if(!t&&e.permissionsRequest&&!a){var i,r;const t=((null===(i=n[o])||void 0===i?void 0:i.lastApproved)||0)>((null===(r=e.lastConnectedInfo[o])||void 0===r?void 0:r.lastApproved)||0);this.redirect(t)}}redirect(e){const{history:t,permissionsRequest:n}=this.props;let a=!0;a=!((null==n?void 0:n.permissions)&&Object.keys(n.permissions).includes("wallet_snap")),this.setState({redirecting:a,permissionsApproved:e}),a&&e?setTimeout((()=>t.push(l.DEFAULT_ROUTE)),w):t.push(l.DEFAULT_ROUTE)}goBack(){const{history:e,connectPath:t}=this.props;e.push(t)}renderTopBar(){const{targetSubjectMetadata:e}=this.state;return o.default.createElement(d.Box,{style:{boxShadow:e.subjectType===s.SubjectType.Snap&&"var(--shadow-size-lg) var(--color-shadow-default)"}},e.subjectType===s.SubjectType.Snap?o.default.createElement(p.default,{snapId:e.origin,boxShadow:"none"}):o.default.createElement(f.default,{origin:e.origin,iconUrl:e.iconUrl}))}render(){const{approvePermissionsRequest:e,accounts:t,showNewAccountModal:n,newAccountNumber:a,nativeCurrency:s,permissionsRequest:c,addressLastConnectedMap:l,permissionsRequestId:d,connectPath:p,confirmPermissionPath:f,hideTopBar:m,targetSubjectMetadata:k,snapsConnectPath:b,snapInstallPath:v,snapUpdatePath:w,snapResultPath:C,requestState:I,approvePendingApproval:S,rejectPendingApproval:N,setSnapsInstallPrivacyWarningShownStatus:x}=this.props,{selectedAccountAddresses:O,permissionsApproved:P,redirecting:M,snapsInstallPrivacyWarningShown:R}=this.state;return o.default.createElement("div",{className:"permissions-connect"},!m&&this.renderTopBar(),M&&P?o.default.createElement(h.default,{subjectMetadata:k}):o.default.createElement(i.Switch,null,o.default.createElement(i.Route,{path:p,exact:!0,render:()=>o.default.createElement(g.default,{accounts:t,nativeCurrency:s,selectAccounts:e=>this.selectAccounts(e),selectNewAccountViaModal:e=>{n({onCreateNewAccount:t=>e(t),newAccountNumber:a})},addressLastConnectedMap:l,cancelPermissionsRequest:e=>this.cancelPermissionsRequest(e),permissionsRequestId:d,selectedAccountAddresses:O,targetSubjectMetadata:k})}),o.default.createElement(i.Route,{path:f,exact:!0,render:()=>o.default.createElement(u.default,{request:c||{},approvePermissionsRequest:(...t)=>{e(...t),this.redirect(!0)},rejectPermissionsRequest:e=>this.cancelPermissionsRequest(e),selectedAccounts:t.filter((e=>O.has(e.address))),targetSubjectMetadata:k,history:this.props.history,connectPath:p,snapsInstallPrivacyWarningShown:R,setSnapsInstallPrivacyWarningShownStatus:x})}),o.default.createElement(i.Route,{path:b,exact:!0,render:()=>o.default.createElement(E.default,{request:c||{},approveConnection:(...t)=>{e(...t),this.redirect(!0)},rejectConnection:e=>this.cancelPermissionsRequest(e),targetSubjectMetadata:k,snapsInstallPrivacyWarningShown:R,setSnapsInstallPrivacyWarningShownStatus:x})}),o.default.createElement(i.Route,{path:v,exact:!0,render:()=>o.default.createElement(y.default,{request:c||{},requestState:I||{},approveSnapInstall:e=>{S(e,{...c,permissions:I.permissions,approvedAccounts:[...O]}),this.setState({permissionsApproved:!0})},rejectSnapInstall:e=>{N(e,(0,r.serializeError)(r.ethErrors.provider.userRejectedRequest())),this.setState({permissionsApproved:!0})},targetSubjectMetadata:k})}),o.default.createElement(i.Route,{path:w,exact:!0,render:()=>o.default.createElement(A.default,{request:c||{},requestState:I||{},approveSnapUpdate:e=>{S(e,{...c,permissions:I.permissions,approvedAccounts:[...O]}),this.setState({permissionsApproved:!0})},rejectSnapUpdate:e=>{N(e,(0,r.serializeError)(r.ethErrors.provider.userRejectedRequest())),this.setState({permissionsApproved:!1})},targetSubjectMetadata:k})}),o.default.createElement(i.Route,{path:C,exact:!0,render:()=>o.default.createElement(T.default,{request:c||{},requestState:I||{},approveSnapResult:e=>{S(e),this.setState({permissionsApproved:!0})},targetSubjectMetadata:k})})))}}n.default=I,v(I,"propTypes",{approvePermissionsRequest:a.default.func.isRequired,rejectPermissionsRequest:a.default.func.isRequired,getRequestAccountTabIds:a.default.func.isRequired,accounts:a.default.arrayOf(a.default.shape({id:a.default.string.isRequired,address:a.default.string.isRequired,metadata:a.default.shape({name:a.default.string.isRequired,snap:a.default.shape({id:a.default.string.isRequired,name:a.default.string,enabled:a.default.bool}),keyring:a.default.shape({type:a.default.string.isRequired}).isRequired}).isRequired,addressLabel:a.default.string.isRequired,label:a.default.string.isRequired,balance:a.default.string.isRequired})).isRequired,currentAddress:a.default.string.isRequired,origin:a.default.string,showNewAccountModal:a.default.func.isRequired,newAccountNumber:a.default.number.isRequired,nativeCurrency:a.default.string,permissionsRequest:a.default.object,addressLastConnectedMap:a.default.object.isRequired,lastConnectedInfo:a.default.object.isRequired,permissionsRequestId:a.default.string,history:a.default.object.isRequired,connectPath:a.default.string.isRequired,confirmPermissionPath:a.default.string.isRequired,requestType:a.default.string.isRequired,snapsConnectPath:a.default.string.isRequired,snapInstallPath:a.default.string.isRequired,snapUpdatePath:a.default.string.isRequired,snapResultPath:a.default.string.isRequired,requestState:a.default.object.isRequired,approvePendingApproval:a.default.func.isRequired,rejectPendingApproval:a.default.func.isRequired,setSnapsInstallPrivacyWarningShownStatus:a.default.func.isRequired,snapsInstallPrivacyWarningShown:a.default.bool.isRequired,hideTopBar:a.default.bool,targetSubjectMetadata:a.default.shape({extensionId:a.default.string,iconUrl:a.default.string,name:a.default.string,origin:a.default.string,subjectType:a.default.string}),isRequestingAccounts:a.default.bool.isRequired}),v(I,"defaultProps",{origin:"",nativeCurrency:"",permissionsRequest:undefined,permissionsRequestId:""}),v(I,"contextTypes",{t:a.default.func})}}},{package:"$root$",file:"ui/pages/permissions-connect/permissions-connect.component.js"}],[5812,{"../../ducks/metamask/metamask":5346,"../../helpers/constants/routes":5361,"../../helpers/utils/util":5399,"../../selectors":5987,"../../store/actions":5998,"./permissions-connect.component":5811,"@metamask/permission-controller":1624,"@metamask/snaps-rpc-methods":2086,"prop-types":3997,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=e("@metamask/permission-controller"),o=e("@metamask/snaps-rpc-methods"),i=e("react-redux"),r=f(e("prop-types")),s=e("../../selectors"),c=e("../../ducks/metamask/metamask"),l=e("../../helpers/utils/util"),u=e("../../store/actions"),d=e("../../helpers/constants/routes"),p=f(e("./permissions-connect.component"));function f(e){return e&&e.__esModule?e:{default:e}}const m=(0,i.connect)(((e,t)=>{var n,i,r;const{match:{params:{id:u}},location:{pathname:p}}=t;let f=(0,s.getPermissionsRequests)(e);f=[...f,...(0,s.getSnapInstallOrUpdateRequests)(e)];const{address:m}=(0,s.getSelectedInternalAccount)(e),g=f.find((e=>e.metadata.id===u)),h=Boolean(null==g||null===(n=g.permissions)||void 0===n?void 0:n.eth_accounts),{metadata:E={}}=g||{},{origin:y}=E,A=(0,c.getNativeCurrency)(e),T=(0,s.getTargetSubjectMetadata)(e,y)??{name:(0,l.getURLHostName)(y)||y,origin:y,iconUrl:null,extensionId:null,subjectType:a.SubjectType.Unknown};let k=(0,s.getRequestType)(e,u);g&&1===Object.keys(g.permissions||{}).length&&null!==(i=g.permissions)&&void 0!==i&&i[o.WALLET_SNAP_PERMISSION_KEY]&&(k="wallet_connectSnaps");const b=(0,s.getRequestState)(e,u)||{},v=(0,s.getAccountsWithLabels)(e),w=(0,s.getLastConnectedInfo)(e)||{},C=(null===(r=w[y])||void 0===r?void 0:r.accounts)||{};Object.keys(C).forEach((e=>{C[e]=(0,l.formatDate)(C[e],"yyyy-MM-dd")}));const I=`${d.CONNECT_ROUTE}/${u}`,S=`${d.CONNECT_ROUTE}/${u}${d.CONNECT_CONFIRM_PERMISSIONS_ROUTE}`,N=`${d.CONNECT_ROUTE}/${u}${d.CONNECT_SNAPS_CONNECT_ROUTE}`,x=`${d.CONNECT_ROUTE}/${u}${d.CONNECT_SNAP_INSTALL_ROUTE}`,O=`${d.CONNECT_ROUTE}/${u}${d.CONNECT_SNAP_UPDATE_ROUTE}`,P=`${d.CONNECT_ROUTE}/${u}${d.CONNECT_SNAP_RESULT_ROUTE}`,M=p===x||p===O||p===P;let R=1+h;R+=M,R=R.toString();let B="";if(p===I)B="1";else if(p===S)B=h?"2":"1";else if(M)B=h?"3":"2";else{if(p!==N)throw new Error("Incorrect path for permissions-connect component");B=1}return{isRequestingAccounts:h,requestType:k,snapsConnectPath:N,snapInstallPath:x,snapUpdatePath:O,snapResultPath:P,requestState:b,hideTopBar:M,snapsInstallPrivacyWarningShown:(0,s.getSnapsInstallPrivacyWarningShown)(e),permissionsRequest:g,permissionsRequestId:u,accounts:v,currentAddress:m,origin:y,newAccountNumber:v.length+1,nativeCurrency:A,addressLastConnectedMap:C,lastConnectedInfo:w,connectPath:I,confirmPermissionPath:S,totalPages:R,page:B,targetSubjectMetadata:T}}),(e=>({approvePermissionsRequest:t=>e((0,u.approvePermissionsRequest)(t)),rejectPermissionsRequest:t=>e((0,u.rejectPermissionsRequest)(t)),approvePendingApproval:(t,n)=>e((0,u.resolvePendingApproval)(t,n)),rejectPendingApproval:(t,n)=>e((0,u.rejectPendingApproval)(t,n)),setSnapsInstallPrivacyWarningShownStatus:t=>{e((0,u.setSnapsInstallPrivacyWarningShownStatus)(t))},showNewAccountModal:({onCreateNewAccount:t,newAccountNumber:n})=>e((0,u.showModal)({name:"NEW_ACCOUNT",onCreateNewAccount:t,newAccountNumber:n})),getRequestAccountTabIds:()=>e((0,u.getRequestAccountTabIds)())})))(p.default);m.propTypes={history:r.default.object.isRequired,match:r.default.shape({params:r.default.shape({id:r.default.string}).isRequired}).isRequired};n.default=m}}},{package:"$root$",file:"ui/pages/permissions-connect/permissions-connect.container.js"}],[5813,{"./permissions-redirect.component":5814},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return o.default}});var a,o=(a=e("./permissions-redirect.component"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/permissions-connect/redirect/index.js"}],[5814,{"../../../components/app/permissions-connect-footer":4737,"../../../components/component-library":4955,"../../../contexts/i18n":5324,"../../../helpers/constants/design-system":5355,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=d;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=u(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var r=o?Object.getOwnPropertyDescriptor(e,i):null;r&&(r.get||r.set)?Object.defineProperty(a,i,r):a[i]=e[i]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=l(e("prop-types")),i=e("../../../helpers/constants/design-system"),r=e("../../../contexts/i18n"),s=e("../../../components/component-library"),c=l(e("../../../components/app/permissions-connect-footer"));function l(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(u=function(e){return e?n:t})(e)}function d({subjectMetadata:e}){const t=(0,a.useContext)(r.I18nContext),[n,o]=(0,a.useState)(e);return(0,a.useEffect)((()=>{e&&e.origin&&o(e)}),[e]),a.default.createElement(s.Box,{display:i.Display.Flex,flexDirection:i.FlexDirection.Column,width:i.BlockSize.Full,height:i.BlockSize.Full,justifyContent:i.JustifyContent.spaceBetween},a.default.createElement(s.Box,{display:i.Display.Flex,flexDirection:i.FlexDirection.Column,alignItems:i.AlignItems.center,justifyContent:i.JustifyContent.center,width:i.BlockSize.Full,height:i.BlockSize.Full,backgroundColor:i.BackgroundColor.backgroundAlternative},a.default.createElement(s.Box,{display:i.Display.Flex,marginBottom:4},a.default.createElement(s.Text,{variant:i.TextVariant.headingMd},t("connecting"))),a.default.createElement(s.Box,{display:i.Display.Flex,backgroundColor:i.BackgroundColor.infoMuted,borderRadius:i.BorderRadius.pill,padding:2},a.default.createElement(s.AvatarToken,{src:n.iconUrl,name:n.name,size:s.AvatarTokenSize.Lg}),a.default.createElement(s.Box,{display:i.Display.Flex,alignItems:i.AlignItems.center,justifyContent:i.JustifyContent.center,paddingLeft:4,paddingRight:4},a.default.createElement(s.Icon,{name:s.IconName.Confirmation,size:s.IconSize.Xl,color:i.IconColor.infoDefault})),a.default.createElement(s.AvatarToken,{src:"/images/logo/metamask-fox.svg",size:s.AvatarTokenSize.Lg,name:"metamask-fox"}))),a.default.createElement(s.Box,{backgroundColor:i.BackgroundColor.backgroundAlternative,padding:4},a.default.createElement(s.Box,{display:i.Display.Flex,flexDirection:i.FlexDirection.Column},a.default.createElement(c.default,null),a.default.createElement(s.Box,{display:i.Display.Flex,paddingTop:4,width:i.BlockSize.Full,justifyContent:i.JustifyContent.center,alignItems:i.AlignItems.center},a.default.createElement(s.Button,{variant:s.ButtonVariant.Secondary,size:s.ButtonSize.Lg,width:i.BlockSize.Full,marginRight:2,disabled:!0},t("back")),a.default.createElement(s.Button,{variant:s.ButtonVariant.Primary,size:s.ButtonSize.Lg,width:i.BlockSize.Full,marginLeft:2,disabled:!0,loading:!0},a.default.createElement(s.Icon,{name:s.IconName.Loading,size:s.IconSize.Lg,color:i.IconColor.infoDefault}))))))}d.propTypes={subjectMetadata:o.default.shape({extensionId:o.default.string,iconUrl:o.default.string,subjectType:o.default.string,name:o.default.string.isRequired,origin:o.default.string.isRequired})}}}},{package:"$root$",file:"ui/pages/permissions-connect/redirect/permissions-redirect.component.js"}],[5815,{"./snap-install":5816},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return o.default}});var a,o=(a=e("./snap-install"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/permissions-connect/snaps/snap-install/index.js"}],[5816,{"../../../../components/app/permission-connect-header":4730,"../../../../components/app/snaps/install-error/install-error":4762,"../../../../components/app/snaps/snap-authorship-header":4770,"../../../../components/app/snaps/snap-install-warning":4780,"../../../../components/app/snaps/snap-permissions-list":4792,"../../../../components/component-library":4955,"../../../../components/ui/page-container":5275,"../../../../components/ui/pulse-loader/pulse-loader":5284,"../../../../helpers/constants/design-system":5355,"../../../../helpers/utils/util":5399,"../../../../hooks/useI18nContext":5427,"../../../../hooks/useOriginMetadata":5433,"../../../../hooks/useScrollRequired":5437,"../../../../selectors":5987,"../util":5823,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=v;var a=b(e("prop-types")),o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=k(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var r=o?Object.getOwnPropertyDescriptor(e,i):null;r&&(r.get||r.set)?Object.defineProperty(a,i,r):a[i]=e[i]}return a.default=e,n&&n.set(e,a),a}(e("react")),i=e("react-redux"),r=e("../../../../components/ui/page-container"),s=e("../../../../hooks/useI18nContext"),c=b(e("../../../../components/app/snaps/snap-install-warning")),l=e("../../../../helpers/constants/design-system"),u=e("../util"),d=b(e("../../../../components/ui/pulse-loader/pulse-loader")),p=b(e("../../../../components/app/snaps/snap-authorship-header")),f=e("../../../../components/component-library"),m=b(e("../../../../components/app/snaps/snap-permissions-list")),g=e("../../../../hooks/useScrollRequired"),h=b(e("../../../../components/app/snaps/install-error/install-error")),E=e("../../../../hooks/useOriginMetadata"),y=e("../../../../selectors"),A=e("../../../../helpers/utils/util"),T=b(e("../../../../components/app/permission-connect-header"));function k(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(k=function(e){return e?n:t})(e)}function b(e){return e&&e.__esModule?e:{default:e}}function v({request:e,requestState:t,approveSnapInstall:n,rejectSnapInstall:a,targetSubjectMetadata:k}){var b;const v=(0,s.useI18nContext)(),w=(0,E.useOriginMetadata)(null==e||null===(b=e.metadata)||void 0===b?void 0:b.dappOrigin)||{},{origin:C,iconUrl:I}=w,[S,N]=(0,o.useState)(!1),x=(0,i.useSelector)(y.getSnapsMetadata),{isScrollable:O,isScrolledToBottom:P,scrollToBottom:M,ref:R,onScroll:B}=(0,g.useScrollRequired)([t]),D=(0,o.useCallback)((()=>a(e.metadata.id)),[e,a]),j=(0,o.useCallback)((()=>n(e.metadata.id)),[e,n]),{name:L}=(0,i.useSelector)((e=>(0,y.getSnapMetadata)(e,k.origin))),F=!t.loading&&t.error,U=t.loading,G=(0,u.getSnapInstallWarnings)((null==t?void 0:t.permissions)??{},v,L,(0,A.getSnapName)(x)),Q=G.length>0;return o.default.createElement(f.Box,{className:"snap-install",display:l.Display.Flex,justifyContent:l.JustifyContent.spaceBetween,height:l.BlockSize.Full,borderStyle:l.BorderStyle.none,flexDirection:l.FlexDirection.Column,backgroundColor:l.BackgroundColor.backgroundAlternative},U||F?o.default.createElement(T.default,{origin:C,iconUrl:I}):o.default.createElement(p.default,{snapId:k.origin}),o.default.createElement(f.Box,{ref:U||F?undefined:R,onScroll:B,className:"snap-install__content",style:{overflowY:"auto",flex:!U&&!F&&"1"},paddingLeft:4,paddingRight:4},U&&o.default.createElement(f.Box,{display:l.Display.Flex,className:"snap-install__content__loader-container",flexDirection:l.FlexDirection.Column,alignItems:l.AlignItems.center,justifyContent:l.JustifyContent.center},o.default.createElement(d.default,null)),F&&o.default.createElement(h.default,{iconName:f.IconName.Warning,title:v("connectionFailed"),description:v("connectionFailedDescription",[o.default.createElement(f.Text,{as:"span",key:"1",fontWeight:l.FontWeight.Medium},L)]),error:t.error}),!F&&!U&&o.default.createElement(o.default.Fragment,null,o.default.createElement(f.Text,{variant:l.TextVariant.headingMd,paddingTop:4,paddingBottom:2,textAlign:"center"},v("installRequest")),o.default.createElement(f.Text,{className:"snap-install__content__permission-description",paddingBottom:4,paddingLeft:4,paddingRight:4,textAlign:l.TextAlign.Center},v("snapInstallRequest",[o.default.createElement(f.Text,{as:"span",key:"2",variant:l.TextVariant.bodyMd,fontWeight:l.FontWeight.Medium},L)])),o.default.createElement(f.Box,{display:l.Display.Flex,backgroundColor:l.BackgroundColor.backgroundDefault,paddingLeft:4,paddingRight:4,paddingTop:2,paddingBottom:2,borderRadius:l.BorderRadius.XL},o.default.createElement(m.default,{snapId:k.origin,snapName:L,permissions:t.permissions||{},connections:t.connections||{}})),O&&!P?o.default.createElement(f.Box,{className:"snap-install__scroll-button-area"},o.default.createElement(f.AvatarIcon,{className:"snap-install__scroll-button","data-testid":"snap-install-scroll",iconName:f.IconName.Arrow2Down,backgroundColor:l.BackgroundColor.infoDefault,color:l.IconColor.primaryInverse,onClick:M,style:{cursor:"pointer"}})):null)),o.default.createElement(f.Box,{className:"snap-install__footer",display:l.Display.Flex,alignItems:l.AlignItems.center,flexDirection:l.FlexDirection.Column,backgroundColor:l.BackgroundColor.backgroundAlternative},o.default.createElement(r.PageContainerFooter,{cancelButtonType:"default",hideCancel:F,disabled:U||!F&&O&&!P,onCancel:D,cancelText:v("cancel"),onSubmit:()=>{!F&&Q?N(!0):F?D():j()},submitText:v(F?"ok":U?"connect":"confirm")})),S&&o.default.createElement(c.default,{onCancel:()=>N(!1),onSubmit:j,warnings:G,snapName:L}))}v.propTypes={request:a.default.object.isRequired,requestState:a.default.object.isRequired,approveSnapInstall:a.default.func.isRequired,rejectSnapInstall:a.default.func.isRequired,targetSubjectMetadata:a.default.shape({iconUrl:a.default.string,name:a.default.string,origin:a.default.string.isRequired,sourceCode:a.default.string,version:a.default.string}).isRequired}}}},{package:"$root$",file:"ui/pages/permissions-connect/snaps/snap-install/snap-install.js"}],[5817,{"./snap-result":5818},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return o.default}});var a,o=(a=e("./snap-result"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/permissions-connect/snaps/snap-result/index.js"}],[5818,{"../../../../components/app/snaps/install-error/install-error":4762,"../../../../components/app/snaps/snap-authorship-header":4770,"../../../../components/component-library":4955,"../../../../components/ui/box/box":5193,"../../../../components/ui/page-container":5275,"../../../../components/ui/pulse-loader/pulse-loader":5284,"../../../../helpers/constants/design-system":5355,"../../../../hooks/useI18nContext":5427,"../../../../selectors":5987,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=E;var a=h(e("prop-types")),o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=g(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var r=o?Object.getOwnPropertyDescriptor(e,i):null;r&&(r.get||r.set)?Object.defineProperty(a,i,r):a[i]=e[i]}return a.default=e,n&&n.set(e,a),a}(e("react")),i=e("react-redux"),r=e("../../../../components/ui/page-container"),s=e("../../../../hooks/useI18nContext"),c=h(e("../../../../components/ui/box/box")),l=e("../../../../helpers/constants/design-system"),u=e("../../../../components/component-library"),d=h(e("../../../../components/ui/pulse-loader/pulse-loader")),p=h(e("../../../../components/app/snaps/install-error/install-error")),f=h(e("../../../../components/app/snaps/snap-authorship-header")),m=e("../../../../selectors");function g(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(g=function(e){return e?n:t})(e)}function h(e){return e&&e.__esModule?e:{default:e}}function E({request:e,requestState:t,approveSnapResult:n,targetSubjectMetadata:a}){const g=(0,s.useI18nContext)(),h=(0,o.useCallback)((()=>n(e.metadata.id)),[e,n]),E=!t.loading&&t.error,y=t.loading,{name:A}=(0,i.useSelector)((e=>(0,m.getSnapMetadata)(e,a.origin)));return o.default.createElement(c.default,{className:"page-container snap-result",justifyContent:l.JustifyContent.spaceBetween,height:l.BlockSize.Full,borderStyle:l.BorderStyle.none,flexDirection:l.FlexDirection.Column,backgroundColor:l.BackgroundColor.backgroundAlternative},o.default.createElement(f.default,{snapId:a.origin}),o.default.createElement(c.default,{className:"snap-result__content",paddingLeft:4,paddingRight:4,alignItems:l.AlignItems.center,flexDirection:l.FlexDirection.Column,style:{overflowY:"auto"},backgroundColor:l.BackgroundColor.backgroundAlternative,height:l.BlockSize.Full},y&&o.default.createElement(c.default,{className:"snap-result__content__loader-container",display:l.Display.Flex,flexDirection:l.FlexDirection.Column,alignItems:l.AlignItems.center,justifyContent:l.JustifyContent.center,height:l.BlockSize.Full},o.default.createElement(d.default,null)),!y&&!E&&function(e,t){let n;switch(e){case"wallet_installSnap":n=g("snapInstallSuccess");break;case"wallet_updateSnap":n=g("snapUpdateSuccess");break;default:n=g("snapResultSuccess")}return o.default.createElement(c.default,{flexDirection:l.FlexDirection.Column,alignItems:l.AlignItems.center,justifyContent:l.JustifyContent.center,height:l.BlockSize.Full,paddingTop:2,paddingBottom:2,backgroundColor:l.BackgroundColor.backgroundAlternative},o.default.createElement(u.AvatarIcon,{className:"snap-result__header__icon",iconName:u.IconName.Confirmation,size:u.AvatarIconSize.Xl,color:l.IconColor.successDefault,backgroundColor:l.BackgroundColor.successMuted}),o.default.createElement(u.Text,{fontWeight:l.FontWeight.Bold,variant:l.TextVariant.headingLg,paddingBottom:2,marginTop:4},n),o.default.createElement(u.Text,{textAlign:l.TextAlign.Center},g("snapResultSuccessDescription",[o.default.createElement(u.Text,{as:"span",key:"1",fontWeight:l.FontWeight.Medium},t)])))}(t.type,A),E&&function(e,n){let a,i;switch(e){case"wallet_installSnap":a=g("snapInstallationErrorTitle"),i=g("snapInstallationErrorDescription",[o.default.createElement(u.Text,{as:"span",key:"1",fontWeight:l.FontWeight.Medium},n)]);break;case"wallet_updateSnap":a=g("snapUpdateErrorTitle"),i=g("snapUpdateErrorDescription",[o.default.createElement(u.Text,{as:"span",key:"1",fontWeight:l.FontWeight.Medium},n)]);break;default:a=g("snapResultError")}return o.default.createElement(p.default,{error:t.error,title:a,description:i,iconName:u.IconName.Warning})}(t.type,A)),o.default.createElement(c.default,{className:"snap-result__footer",alignItems:l.AlignItems.center,flexDirection:l.FlexDirection.Column,backgroundColor:l.BackgroundColor.backgroundAlternative},o.default.createElement(r.PageContainerFooter,{hideCancel:!0,disabled:y,onSubmit:h,submitText:g("ok").toUpperCase()})))}E.propTypes={request:a.default.object.isRequired,requestState:a.default.object.isRequired,approveSnapResult:a.default.func.isRequired,targetSubjectMetadata:a.default.shape({iconUrl:a.default.string,name:a.default.string,origin:a.default.string.isRequired,sourceCode:a.default.string,version:a.default.string}).isRequired}}}},{package:"$root$",file:"ui/pages/permissions-connect/snaps/snap-result/snap-result.js"}],[5819,{"./snap-update":5820},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return o.default}});var a,o=(a=e("./snap-update"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/permissions-connect/snaps/snap-update/index.js"}],[5820,{"../../../../components/app/snaps/install-error/install-error":4762,"../../../../components/app/snaps/snap-authorship-header":4770,"../../../../components/app/snaps/snap-install-warning":4780,"../../../../components/app/snaps/update-snap-permission-list":4837,"../../../../components/component-library":4955,"../../../../components/ui/page-container":5275,"../../../../components/ui/pulse-loader/pulse-loader":5284,"../../../../helpers/constants/design-system":5355,"../../../../helpers/utils/util":5399,"../../../../hooks/useI18nContext":5427,"../../../../hooks/useScrollRequired":5437,"../../../../selectors":5987,"../util":5823,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=k;var a=T(e("prop-types")),o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=A(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var r=o?Object.getOwnPropertyDescriptor(e,i):null;r&&(r.get||r.set)?Object.defineProperty(a,i,r):a[i]=e[i]}return a.default=e,n&&n.set(e,a),a}(e("react")),i=e("react-redux"),r=e("../../../../components/ui/page-container"),s=e("../../../../hooks/useI18nContext"),c=T(e("../../../../components/app/snaps/snap-install-warning")),l=e("../../../../helpers/constants/design-system"),u=T(e("../../../../components/app/snaps/update-snap-permission-list")),d=e("../util"),p=T(e("../../../../components/ui/pulse-loader/pulse-loader")),f=T(e("../../../../components/app/snaps/install-error/install-error")),m=T(e("../../../../components/app/snaps/snap-authorship-header")),g=e("../../../../components/component-library"),h=e("../../../../hooks/useScrollRequired"),E=e("../../../../selectors"),y=e("../../../../helpers/utils/util");function A(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(A=function(e){return e?n:t})(e)}function T(e){return e&&e.__esModule?e:{default:e}}function k({request:e,requestState:t,approveSnapUpdate:n,rejectSnapUpdate:a,targetSubjectMetadata:A}){const T=(0,s.useI18nContext)(),[k,b]=(0,o.useState)(!1),{isScrollable:v,isScrolledToBottom:w,scrollToBottom:C,ref:I,onScroll:S}=(0,h.useScrollRequired)([t]),N=(0,i.useSelector)(E.getSnapsMetadata),x=(0,o.useCallback)((()=>a(e.metadata.id)),[e,a]),O=(0,o.useCallback)((()=>n(e.metadata.id)),[e,n]),{name:P}=(0,i.useSelector)((e=>(0,E.getSnapMetadata)(e,A.origin))),M=t.approvedPermissions??{},R=t.unusedPermissions??{},B=t.newPermissions??{},D=t.approvedConnections??{},j=t.unusedConnections??{},L=t.newConnections??{},{newVersion:F}=t,U=t.loading,G=!U&&t.error,Q=(0,d.getSnapInstallWarnings)(B,T,P,(0,y.getSnapName)(N)),H=Q.length>0;return o.default.createElement(g.Box,{className:"snap-update",display:l.Display.Flex,justifyContent:l.JustifyContent.spaceBetween,height:l.BlockSize.Full,borderStyle:l.BorderStyle.none,flexDirection:l.FlexDirection.Column,backgroundColor:l.BackgroundColor.backgroundAlternative},o.default.createElement(m.default,{snapId:A.origin}),o.default.createElement(g.Box,{ref:I,onScroll:S,className:"snap-update__content",style:{overflowY:"auto",flex:!U&&"1"},paddingLeft:4,paddingRight:4},!U&&!G&&o.default.createElement(g.Text,{paddingTop:4,paddingBottom:2,variant:l.TextVariant.headingMd,textAlign:"center"},T("updateRequest")),U&&o.default.createElement(g.Box,{className:"snap-update__content__loader-container",display:l.Display.Flex,flexDirection:l.FlexDirection.Column,alignItems:l.AlignItems.center,justifyContent:l.JustifyContent.center},o.default.createElement(p.default,null)),G&&o.default.createElement(f.default,{iconName:g.IconName.Warning,error:t.error,title:T("snapUpdateErrorTitle"),description:T("snapUpdateErrorDescription",[o.default.createElement(g.Text,{as:"span",key:"1",fontWeight:l.FontWeight.Medium},P)])}),!G&&!U&&o.default.createElement(o.default.Fragment,null,o.default.createElement(g.Text,{className:"snap-update__content__permission-description",paddingBottom:4,paddingLeft:4,paddingRight:4,textAlign:l.TextAlign.Center},T("snapUpdateRequest",[o.default.createElement(g.Text,{as:"span",key:"2",variant:l.TextVariant.bodyMd,fontWeight:l.FontWeight.Medium},P),o.default.createElement(g.Text,{as:"span",key:"3",variant:l.TextVariant.bodyMd,fontWeight:l.FontWeight.Medium},F)])),o.default.createElement(g.Box,{display:l.Display.Flex,backgroundColor:l.BackgroundColor.backgroundDefault,paddingLeft:4,paddingRight:4,paddingTop:2,paddingBottom:2,borderRadius:l.BorderRadius.XL},o.default.createElement(u.default,{approvedPermissions:M,revokedPermissions:R,newPermissions:B,approvedConnections:D,revokedConnections:j,newConnections:L,targetSubjectMetadata:A})),v&&!w?o.default.createElement(g.Box,{className:"snap-update__scroll-button-area"},o.default.createElement(g.AvatarIcon,{className:"snap-install__scroll-button","data-testid":"snap-update-scroll",iconName:g.IconName.Arrow2Down,backgroundColor:l.BackgroundColor.infoDefault,color:l.IconColor.primaryInverse,onClick:C,style:{cursor:"pointer"}})):null)),o.default.createElement(g.Box,{className:"snap-update__footer",display:l.Display.Flex,alignItems:l.AlignItems.center,flexDirection:l.FlexDirection.Column,backgroundColor:l.BackgroundColor.backgroundAlternative},o.default.createElement(r.PageContainerFooter,{cancelButtonType:"default",hideCancel:G,disabled:U||!G&&v&&!w,onCancel:x,cancelText:T("cancel"),onSubmit:()=>{!G&&H?b(!0):G?x():O()},submitText:T(G?"ok":"confirm")})),k&&o.default.createElement(c.default,{onCancel:()=>b(!1),onSubmit:O,snapName:P,warnings:Q}))}k.propTypes={request:a.default.object.isRequired,requestState:a.default.object.isRequired,approveSnapUpdate:a.default.func.isRequired,rejectSnapUpdate:a.default.func.isRequired,targetSubjectMetadata:a.default.shape({iconUrl:a.default.string,name:a.default.string,origin:a.default.string.isRequired,sourceCode:a.default.string,version:a.default.string}).isRequired}}}},{package:"$root$",file:"ui/pages/permissions-connect/snaps/snap-update/snap-update.js"}],[5821,{"./snaps-connect":5822},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return o.default}});var a,o=(a=e("./snaps-connect"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/permissions-connect/snaps/snaps-connect/index.js"}],[5822,{"../../../../components/app/snaps/snap-avatar/snap-avatar":4773,"../../../../components/app/snaps/snap-connect-cell/snap-connect-cell":4774,"../../../../components/app/snaps/snap-privacy-warning/snap-privacy-warning":4795,"../../../../components/component-library":4955,"../../../../components/ui/page-container":5275,"../../../../components/ui/pulse-loader/pulse-loader":5284,"../../../../helpers/constants/design-system":5355,"../../../../helpers/utils/util":5399,"../../../../hooks/useI18nContext":5427,"../../../../hooks/useOriginMetadata":5433,"../../../../selectors":5987,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=A;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=y(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var r=o?Object.getOwnPropertyDescriptor(e,i):null;r&&(r.get||r.set)?Object.defineProperty(a,i,r):a[i]=e[i]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=e("react-redux"),i=E(e("prop-types")),r=e("../../../../hooks/useI18nContext"),s=e("../../../../components/component-library"),c=e("../../../../helpers/constants/design-system"),l=e("../../../../components/ui/page-container"),u=E(e("../../../../components/app/snaps/snap-connect-cell/snap-connect-cell")),d=e("../../../../helpers/utils/util"),p=E(e("../../../../components/ui/pulse-loader/pulse-loader")),f=E(e("../../../../components/app/snaps/snap-privacy-warning/snap-privacy-warning")),m=e("../../../../selectors"),g=E(e("../../../../components/app/snaps/snap-avatar/snap-avatar")),h=e("../../../../hooks/useOriginMetadata");function E(e){return e&&e.__esModule?e:{default:e}}function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(y=function(e){return e?n:t})(e)}function A({request:e,approveConnection:t,rejectConnection:n,targetSubjectMetadata:i,snapsInstallPrivacyWarningShown:E,setSnapsInstallPrivacyWarningShownStatus:y}){const A=(0,r.useI18nContext)(),{origin:T}=i,[k,b]=(0,a.useState)(!1),[v,w]=(0,a.useState)(!E),C=(0,o.useSelector)((t=>{var n;return(0,m.getPermissions)(t,null==e||null===(n=e.metadata)||void 0===n?void 0:n.origin)})),I=(0,a.useCallback)((()=>{n(e.metadata.id)}),[e,n]),S=(0,a.useCallback)((()=>{try{b(!0),t(e)}finally{b(!1)}}),[e,t]),N=(0,d.getDedupedSnaps)(e,C),x=()=>{const{hostname:e}=(0,h.useOriginMetadata)(T)||{},t=N[0],{name:n}=(0,o.useSelector)((e=>(0,m.getSnapMetadata)(e,t)));return k?a.default.createElement(s.Box,{display:c.Display.Flex,flexDirection:c.FlexDirection.Column,alignItems:c.AlignItems.center,justifyContent:c.JustifyContent.center,width:c.BlockSize.Full,height:c.BlockSize.Full},a.default.createElement(p.default,null)):(null==N?void 0:N.length)>1?a.default.createElement(s.Box,{flexDirection:c.FlexDirection.Column,justifyContent:c.JustifyContent.center,alignItems:c.AlignItems.center,paddingTop:4,width:c.BlockSize.Full,style:{overflowY:"hidden"},backgroundColor:c.BackgroundColor.backgroundAlternative},a.default.createElement(s.Text,{paddingBottom:2,variant:c.TextVariant.headingMd,textAlign:c.TextAlign.Center},A("connectionRequest")),a.default.createElement(s.Text,{variant:c.TextVariant.bodyMd,textAlign:c.TextAlign.Center},A("multipleSnapConnectionWarning",[a.default.createElement(s.Text,{as:"span",key:"1",variant:c.TextVariant.bodyMd,fontWeight:c.FontWeight.Medium},e),a.default.createElement(s.Text,{as:"span",key:"2",variant:c.TextVariant.bodyMd,fontWeight:c.FontWeight.Medium},null==N?void 0:N.length)])),a.default.createElement(s.Box,{flexDirection:c.FlexDirection.Column,display:c.Display.Flex,marginTop:4,width:c.BlockSize.Full,style:{overflowY:"auto",flex:1}},N.map((t=>a.default.createElement(u.default,{key:`snaps-connect-${t}`,snapId:t,origin:e}))))):1===(null==N?void 0:N.length)?a.default.createElement(s.Box,{display:c.Display.Flex,flexDirection:c.FlexDirection.Column,justifyContent:c.JustifyContent.center,alignItems:c.AlignItems.center,width:c.BlockSize.Full,height:c.BlockSize.Full,paddingLeft:4,paddingRight:4,backgroundColor:c.BackgroundColor.backgroundAlternative},a.default.createElement(s.Box,{paddingBottom:2},a.default.createElement(g.default,{snapId:N[0],badgeSize:s.IconSize.Md,avatarSize:s.IconSize.Xl,borderWidth:3})),a.default.createElement(s.Text,{paddingBottom:2,variant:c.TextVariant.headingMd},A("connectionRequest")),a.default.createElement(s.Text,{variant:c.TextVariant.bodyMd,textAlign:c.TextAlign.Center,padding:[0,4],overflowWrap:c.OverflowWrap.Anywhere},A("snapConnectionWarning",[a.default.createElement(s.Text,{as:"span",key:"1",variant:c.TextVariant.bodyMd,fontWeight:c.FontWeight.Medium},e),a.default.createElement(s.Text,{as:"span",key:"2",variant:c.TextVariant.bodyMd,fontWeight:c.FontWeight.Medium},n)]))):null};return a.default.createElement(s.Box,{className:"snaps-connect",display:c.Display.Flex,flexDirection:c.FlexDirection.Column,alignItems:c.AlignItems.center,height:c.BlockSize.Full,width:c.BlockSize.Full,backgroundColor:c.BackgroundColor.backgroundAlternative},v&&a.default.createElement(f.default,{onAccepted:()=>{w(!1),y(!0)},onCanceled:I}),a.default.createElement(s.Box,{display:c.Display.Flex,height:c.BlockSize.Full,width:c.BlockSize.Full,paddingLeft:4,paddingRight:4},a.default.createElement(x,null)),a.default.createElement(l.PageContainerFooter,{cancelButtonType:"default",hideCancel:!1,disabled:k,onCancel:I,cancelText:A("cancel"),onSubmit:S,submitText:A("connect")}))}A.propTypes={request:i.default.object.isRequired,approveConnection:i.default.func.isRequired,rejectConnection:i.default.func.isRequired,targetSubjectMetadata:i.default.shape({extensionId:i.default.string,iconUrl:i.default.string,name:i.default.string,origin:i.default.string,subjectType:i.default.string}),snapsInstallPrivacyWarningShown:i.default.bool.isRequired,setSnapsInstallPrivacyWarningShownStatus:i.default.func}}}},{package:"$root$",file:"ui/pages/permissions-connect/snaps/snaps-connect/snaps-connect.js"}],[5823,{"../../../helpers/utils/permission":5393},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.getSnapInstallWarnings=function(e,t,n,o){return Object.entries(e).reduce(((e,[i,r])=>{const s=(0,a.getPermissionDescription)({t:t,permissionName:i,permissionValue:r,subjectName:n,getSubjectName:o});return e.concat(s.filter((e=>e.weight<=2)))}),[])};var a=e("../../../helpers/utils/permission")}}},{package:"$root$",file:"ui/pages/permissions-connect/snaps/util.js"}],[5824,{"./remove-snap-account":5825,"./snap-account-card":5826},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var a={RemoveSnapAccount:!0};Object.defineProperty(n,"RemoveSnapAccount",{enumerable:!0,get:function(){return i.default}});var o,i=(o=e("./remove-snap-account"))&&o.__esModule?o:{default:o},r=e("./snap-account-card");Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(a,e)||e in n&&n[e]===r[e]||Object.defineProperty(n,e,{enumerable:!0,get:function(){return r[e]}}))}))}}},{package:"$root$",file:"ui/pages/remove-snap-account/index.ts"}],[5825,{"../../components/app/snaps/snap-authorship-header":4770,"../../components/component-library":4955,"../../helpers/constants/design-system":5355,"../../hooks/useI18nContext":5427,"./snap-account-card":5826,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=l(e("react")),o=e("../../components/component-library"),i=e("../../helpers/constants/design-system"),r=e("../../hooks/useI18nContext"),s=l(e("../../components/app/snaps/snap-authorship-header")),c=e("./snap-account-card");function l(e){return e&&e.__esModule?e:{default:e}}n.default=({snapId:e,publicAddress:t})=>{const n=(0,r.useI18nContext)();return a.default.createElement(o.Box,{className:"remove-snap-account-page",height:i.BlockSize.Full,width:i.BlockSize.Full,display:i.Display.Flex,borderStyle:i.BorderStyle.none,flexDirection:i.FlexDirection.Column,alignItems:i.AlignItems.center,marginBottom:0},a.default.createElement(s.default,{snapId:e}),a.default.createElement(o.Box,{display:i.Display.Flex,flexDirection:i.FlexDirection.Column,alignItems:i.AlignItems.center,justifyContent:i.JustifyContent.center,paddingLeft:4,paddingRight:4,style:{flexGrow:1}},a.default.createElement(o.Box,{display:i.Display.Flex,flexDirection:i.FlexDirection.Row,justifyContent:i.JustifyContent.spaceBetween},a.default.createElement(o.Box,{display:i.Display.Flex,flexDirection:i.FlexDirection.Column,alignItems:i.AlignItems.center},a.default.createElement(o.Box,{paddingBottom:2},a.default.createElement(o.AvatarIcon,{iconName:o.IconName.UserCircleRemove,color:i.IconColor.errorDefault,backgroundColor:i.BackgroundColor.errorMuted,size:o.AvatarIconSize.Xl})),a.default.createElement(o.Text,{textAlign:i.TextAlign.Center,variant:i.TextVariant.headingLg},n("removeSnapAccountTitle")),a.default.createElement(c.SnapAccountCard,{address:t,remove:!0}),a.default.createElement(o.Text,{variant:i.TextVariant.bodyMd,textAlign:i.TextAlign.Center,overflowWrap:i.OverflowWrap.Anywhere},n("removeSnapAccountDescription"))))))}}}},{package:"$root$",file:"ui/pages/remove-snap-account/remove-snap-account.tsx"}],[5826,{"../../components/component-library":4955,"../../components/multichain":5092,"../../components/multichain/account-list-menu/account-list-menu":5024,"../../helpers/constants/design-system":5355,"../../selectors":5987,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.SnapAccountCard=void 0;var a,o=(a=e("react"))&&a.__esModule?a:{default:a},i=e("react-redux"),r=e("../../selectors"),s=e("../../helpers/constants/design-system"),c=e("../../components/component-library"),l=e("../../components/multichain"),u=e("../../components/multichain/account-list-menu/account-list-menu");n.SnapAccountCard=({address:e,remove:t})=>{const n=(0,i.useSelector)(r.getMetaMaskAccountsOrdered),a=(0,i.useSelector)(r.getInternalAccounts),d=(0,u.mergeAccounts)(n,a).find((t=>t.address===e));return o.default.createElement(c.Box,{className:t?"snap-account-card-remove":"snap-account-card",borderRadius:s.BorderRadius.LG,marginTop:4,marginBottom:4,width:s.BlockSize.Full,style:{boxShadow:"var(--shadow-size-lg) var(--color-shadow-default)"}},o.default.createElement(l.AccountListItem,{account:d,selected:t}))}}}},{package:"$root$",file:"ui/pages/remove-snap-account/snap-account-card.tsx"}],[5827,{"./routes.container":5829},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return o.default}});var a,o=(a=e("./routes.container"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/routes/index.js"}],[5828,{"../../../app/scripts/lib/util":120,"../../../shared/constants/app":4493,"../../../shared/constants/desktop":4497,"../../../shared/constants/network":4507,"../../../shared/constants/preferences":4512,"../../../shared/constants/time":4518,"../../../shared/lib/ui-utils":4532,"../../components/app/alerts":4580,"../../components/app/basic-configuration-modal":4589,"../../components/app/loading-network-screen":4650,"../../components/app/modals":4685,"../../components/app/modals/keyring-snap-removal-modal":4686,"../../components/app/nft-default-image/toggle-ipfs-modal":4717,"../../components/app/qr-hardware-popover":4745,"../../components/component-library":4955,"../../components/multichain":5092,"../../components/multichain/app-header/multichain-meta-fox-logo":5043,"../../components/multichain/pages":5145,"../../components/multichain/pages/send":5172,"../../components/ui/alert":5192,"../../components/ui/deprecated-networks/deprecated-networks":5212,"../../components/ui/loading-screen":5256,"../../components/ui/new-network-info/new-network-info":5270,"../../ducks/send":5348,"../../helpers/constants/design-system":5355,"../../helpers/constants/routes":5361,"../../helpers/higher-order-components/authenticated":5371,"../../helpers/higher-order-components/initialized":5373,"../../helpers/utils/util":5399,"../../hooks/desktopHooks":5402,"../asset":5460,"../confirm-add-suggested-nft":5462,"../confirm-add-suggested-token":5464,"../confirmations/confirm-transaction":5663,"../confirmations/confirmation":5671,"../create-account/create-account.component":5735,"../desktop-error":5740,"../desktop-pairing":5744,"../home":5750,"../keychains/restore-vault":5752,"../keychains/reveal-seed":5753,"../lock":5754,"../notification-details":5757,"../notifications":5769,"../notifications-settings":5763,"../onboarding-flow/onboarding-app-header/onboarding-app-header":5795,"../onboarding-flow/onboarding-flow":5797,"../permissions-connect":5810,"../settings":5853,"../settings/deprecated-network-modal/DeprecatedNetworkModal":5847,"../snaps/snap-view":5896,"../snaps/snaps-list":5900,"../swaps":5926,"../token-details":5974,"../unlock-page":5976,classnames:3049,"prop-types":3997,react:4243,"react-idle-timer":4090,"react-router-dom":4228,"webextension-polyfill":4472},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=de(e("classnames")),o=de(e("prop-types")),i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=ue(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var r=o?Object.getOwnPropertyDescriptor(e,i):null;r&&(r.get||r.set)?Object.defineProperty(a,i,r):a[i]=e[i]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=e("react-router-dom"),s=de(e("react-idle-timer")),c=de(e("webextension-polyfill")),l=de(e("../swaps")),u=de(e("../confirmations/confirm-transaction")),d=de(e("../home")),p=e("../../components/multichain/pages"),f=de(e("../settings")),m=de(e("../../helpers/higher-order-components/authenticated")),g=de(e("../../helpers/higher-order-components/initialized")),h=de(e("../lock")),E=de(e("../permissions-connect")),y=de(e("../keychains/restore-vault")),A=de(e("../keychains/reveal-seed")),T=de(e("../confirm-add-suggested-token")),k=de(e("../create-account/create-account.component")),b=de(e("../confirm-add-suggested-nft")),v=de(e("../../components/ui/loading-screen")),w=de(e("../../components/app/loading-network-screen")),C=e("../../components/app/modals"),I=de(e("../../components/ui/alert")),S=e("../../../shared/lib/ui-utils"),N=e("../../components/multichain"),x=de(e("../unlock-page")),O=de(e("../../components/app/alerts")),P=de(e("../asset")),M=de(e("../onboarding-flow/onboarding-app-header/onboarding-app-header")),R=de(e("../token-details")),B=de(e("../notifications")),D=de(e("../notifications-settings")),j=de(e("../notification-details")),L=de(e("../snaps/snaps-list")),F=de(e("../snaps/snap-view")),U=e("../../hooks/desktopHooks"),G=de(e("../desktop-error")),Q=de(e("../desktop-pairing")),H=e("../../helpers/constants/routes"),W=e("../../../shared/constants/desktop"),Y=e("../../../shared/constants/app"),z=e("../../../shared/constants/network"),K=e("../../../app/scripts/lib/util"),q=de(e("../confirmations/confirmation")),Z=de(e("../onboarding-flow/onboarding-flow")),J=de(e("../../components/app/qr-hardware-popover")),V=e("../../ducks/send"),X=de(e("../../components/ui/deprecated-networks/deprecated-networks")),_=de(e("../../components/ui/new-network-info/new-network-info")),$=e("../../../shared/constants/preferences"),ee=e("../../components/component-library"),te=e("../../components/app/nft-default-image/toggle-ipfs-modal"),ne=e("../../components/app/basic-configuration-modal"),ae=de(e("../../components/app/modals/keyring-snap-removal-modal")),oe=e("../../components/multichain/pages/send"),ie=e("../settings/deprecated-network-modal/DeprecatedNetworkModal"),re=e("../../helpers/utils/util"),se=e("../../helpers/constants/design-system"),ce=e("../../../shared/constants/time"),le=e("../../components/multichain/app-header/multichain-meta-fox-logo");function ue(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(ue=function(e){return e?n:t})(e)}function de(e){return e&&e.__esModule?e:{default:e}}function pe(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const fe=e=>Boolean((0,r.matchPath)(e,{path:H.CONFIRM_TRANSACTION_ROUTE,exact:!1}));class me extends i.Component{constructor(...e){super(...e),pe(this,"state",{hideConnectAccountToast:!1}),pe(this,"onAppHeaderClick",(async()=>{const{prepareToLeaveSwaps:e}=this.props;this.onSwapsPage()&&await e()}))}getTheme(){const{theme:e}=this.props;var t;return e===$.ThemeType.os?null!==(t=window)&&void 0!==t&&null!==(t=t.matchMedia("(prefers-color-scheme: dark)"))&&void 0!==t&&t.matches?$.ThemeType.dark:$.ThemeType.light:e}setTheme(){const e=this.getTheme();document.documentElement.setAttribute("data-theme",e)}componentDidMount(){this.updateNewPrivacyPolicyToastDate();const{history:e}=this.props;c.default.runtime.onMessage.addListener((0,U.registerOnDesktopDisconnect)(e))}componentWillUnmount(){const{history:e}=this.props;c.default.runtime.onMessage.removeListener((0,U.registerOnDesktopDisconnect)(e))}componentDidUpdate(e){var t;const{theme:n,account:a,networkToAutomaticallySwitchTo:o,activeTabOrigin:i,totalUnapprovedConfirmationCount:r,isUnlocked:s,useRequestQueue:c,currentExtensionPopupId:l}=this.props;n!==e.theme&&this.setTheme(),(null===(t=e.account)||void 0===t?void 0:t.address)!==(null==a?void 0:a.address)&&this.setState({hideConnectAccountToast:!1}),o&&0===r&&(e.totalUnapprovedConfirmationCount>0||!1===e.isUnlocked&&s)&&this.props.automaticallySwitchNetwork(o,i),c&&l!==undefined&&global.metamask.id!==undefined&&l!==global.metamask.id&&window.close()}UNSAFE_componentWillMount(){const{currentCurrency:e,pageChanged:t,setCurrentCurrencyToUSD:n,history:a,showExtensionInFullSizeView:o}=this.props,i=(0,K.getEnvironmentType)();o&&i===Y.ENVIRONMENT_TYPE_POPUP&&global.platform.openExtensionInBrowser(),e||n(),a.listen(((e,n)=>{"PUSH"===n&&t(e.pathname)})),this.setTheme()}renderRoutes(){const{autoLockTimeLimit:e,setLastActiveTime:t,forgottenPassword:n}=this.props,a=n?r.Route:g.default,o=i.default.createElement(r.Switch,null,i.default.createElement(r.Route,{path:H.ONBOARDING_ROUTE,component:Z.default}),i.default.createElement(r.Route,{path:H.LOCK_ROUTE,component:h.default,exact:!0}),i.default.createElement(r.Route,{path:`${H.DESKTOP_ERROR_ROUTE}/:errorType`,component:G.default,exact:!0}),i.default.createElement(g.default,{path:H.UNLOCK_ROUTE,component:x.default,exact:!0}),i.default.createElement(a,{path:H.RESTORE_VAULT_ROUTE,component:y.default,exact:!0}),i.default.createElement(m.default,{path:H.REVEAL_SEED_ROUTE,component:A.default,exact:!0}),i.default.createElement(m.default,{path:H.SETTINGS_ROUTE,component:f.default}),i.default.createElement(m.default,{path:H.NOTIFICATIONS_SETTINGS_ROUTE,component:D.default}),i.default.createElement(m.default,{path:`${H.NOTIFICATIONS_ROUTE}/:uuid`,component:j.default}),i.default.createElement(m.default,{path:H.NOTIFICATIONS_ROUTE,component:B.default}),i.default.createElement(m.default,{exact:!0,path:H.SNAPS_ROUTE,component:L.default}),i.default.createElement(m.default,{path:H.SNAPS_VIEW_ROUTE,component:F.default}),i.default.createElement(m.default,{path:`${H.CONFIRM_TRANSACTION_ROUTE}/:id?`,component:u.default}),i.default.createElement(m.default,{path:H.SEND_ROUTE,component:oe.SendPage,exact:!0}),i.default.createElement(m.default,{path:`${H.TOKEN_DETAILS}/:address/`,component:R.default,exact:!0}),i.default.createElement(m.default,{path:H.SWAPS_ROUTE,component:l.default}),i.default.createElement(m.default,{path:H.CONFIRM_ADD_SUGGESTED_TOKEN_ROUTE,component:T.default,exact:!0}),i.default.createElement(m.default,{path:H.CONFIRM_ADD_SUGGESTED_NFT_ROUTE,component:b.default,exact:!0}),i.default.createElement(m.default,{path:`${H.CONFIRMATION_V_NEXT_ROUTE}/:id?`,component:q.default}),i.default.createElement(m.default,{path:H.NEW_ACCOUNT_ROUTE,component:k.default}),i.default.createElement(m.default,{path:`${H.CONNECT_ROUTE}/:id`,component:E.default}),i.default.createElement(m.default,{path:`${H.ASSET_ROUTE}/:asset/:id`,component:P.default}),i.default.createElement(m.default,{path:`${H.ASSET_ROUTE}/:asset/`,component:P.default}),i.default.createElement(m.default,{path:H.DESKTOP_PAIRING_ROUTE,component:Q.default,exact:!0}),i.default.createElement(m.default,{path:`${H.CONNECTIONS}/:origin`,component:p.Connections}),i.default.createElement(m.default,{path:H.PERMISSIONS,component:p.PermissionsPage,exact:!0}),i.default.createElement(m.default,{path:H.DEFAULT_ROUTE,component:d.default}));return e>0?i.default.createElement(s.default,{onAction:t,throttle:1e3},o):o}onInitializationUnlockPage(){const{location:e}=this.props;return Boolean((0,r.matchPath)(e.pathname,{path:H.ONBOARDING_UNLOCK_ROUTE,exact:!0}))}onConfirmPage(){const{location:e}=this.props;return Boolean((0,r.matchPath)(e.pathname,{path:H.CONFIRM_TRANSACTION_ROUTE,exact:!1}))}onEditTransactionPage(){return this.props.sendStage===V.SEND_STAGES.EDIT||this.props.sendStage===V.SEND_STAGES.DRAFT||this.props.sendStage===V.SEND_STAGES.ADD_RECIPIENT}onSwapsPage(){const{location:e}=this.props;return Boolean((0,r.matchPath)(e.pathname,{path:H.SWAPS_ROUTE,exact:!1}))}onSwapsBuildQuotePage(){const{location:e}=this.props;return Boolean((0,r.matchPath)(e.pathname,{path:H.BUILD_QUOTE_ROUTE,exact:!1}))}onHomeScreen(){const{location:e}=this.props;return e.pathname===H.DEFAULT_ROUTE}hideAppHeader(){const{location:e}=this.props;if(Boolean((0,r.matchPath)(e.pathname,{path:`${H.DESKTOP_ERROR_ROUTE}/${W.EXTENSION_ERROR_PAGE_TYPES.CONNECTION_LOST}`,exact:!0})))return!0;if(Boolean((0,r.matchPath)(e.pathname,{path:`${H.NOTIFICATIONS_ROUTE}`,exact:!1})))return!0;if(Boolean((0,r.matchPath)(e.pathname,{path:H.ONBOARDING_ROUTE,exact:!1}))&&!this.onInitializationUnlockPage())return!0;const t=(0,K.getEnvironmentType)();if(t===Y.ENVIRONMENT_TYPE_NOTIFICATION)return!0;if(Boolean((0,r.matchPath)(e.pathname,{path:H.PERMISSIONS,exact:!1})))return!0;if(Boolean((0,r.matchPath)(e.pathname,{path:H.CONNECTIONS,exact:!1})))return!0;if(t===Y.ENVIRONMENT_TYPE_POPUP&&this.onConfirmPage())return!0;const n=Boolean((0,r.matchPath)(e.pathname,{path:H.CONNECT_ROUTE,exact:!1}));if(Boolean((0,r.matchPath)(e.pathname,{path:H.SEND_ROUTE,exact:!1})))return!0;const a=Boolean((0,r.matchPath)(e.pathname,{path:H.CONFIRMATION_V_NEXT_ROUTE,exact:!1}));return n||a||fe(this.pathname)}showOnboardingHeader(){const{location:e}=this.props;return Boolean((0,r.matchPath)(e.pathname,{path:H.ONBOARDING_ROUTE,exact:!1}))}renderToasts(){var e;const{t:t}=this.context,{account:n,activeTabOrigin:a,addPermittedAccount:o,showSurveyToast:r,showConnectAccountToast:s,showPrivacyPolicyToast:c,newPrivacyPolicyToastShownDate:l,clearSwitchedNetworkDetails:u,setSurveyLinkLastClickedOrClosed:d,setNewPrivacyPolicyToastClickedOrClosed:p,setSwitchedNetworkNeverShowMessage:f,switchedNetworkDetails:m}=this.props,g=this.getShowAutoNetworkSwitchTest(),h=this.getIsPrivacyToastRecent(),E=!l;return this.onHomeScreen()?i.default.createElement(N.ToastContainer,null,s&&!this.state.hideConnectAccountToast?i.default.createElement(N.Toast,{key:"connect-account-toast",startAdornment:i.default.createElement(ee.AvatarAccount,{address:n.address,size:ee.AvatarAccountSize.Md,borderColor:se.BorderColor.transparent}),text:this.context.t("accountIsntConnectedToastText",[null==n||null===(e=n.metadata)||void 0===e?void 0:e.name,(0,re.getURLHost)(a)]),actionText:this.context.t("connectAccount"),onActionClick:()=>{o(a,n.address),setTimeout((()=>{var e;null===(e=document.querySelector('[data-testid="connection-menu"] [data-tooltipped]'))||void 0===e||e.dispatchEvent(new CustomEvent("mouseenter",{}))}),250*ce.MILLISECOND)},onClose:()=>this.setState({hideConnectAccountToast:!0})}):null,r&&i.default.createElement(N.Toast,{key:"survey-toast",startAdornment:i.default.createElement(ee.Icon,{name:ee.IconName.Heart,color:se.IconColor.errorDefault}),text:t("surveyTitle"),actionText:t("surveyConversion"),onActionClick:()=>{global.platform.openTab({url:S.SURVEY_LINK}),d(Date.now())},onClose:()=>{d(Date.now())}}),c&&(h||E)&&i.default.createElement(N.Toast,{key:"privacy-policy-toast",startAdornment:i.default.createElement(ee.Icon,{name:ee.IconName.Info,color:se.IconColor.iconDefault}),text:t("newPrivacyPolicyTitle"),actionText:t("newPrivacyPolicyActionButton"),onActionClick:()=>{global.platform.openTab({url:S.PRIVACY_POLICY_LINK}),p()},onClose:()=>{p()}}),g?i.default.createElement(N.Toast,{key:"switched-network-toast",startAdornment:i.default.createElement(ee.AvatarNetwork,{size:ee.AvatarAccountSize.Md,borderColor:se.BorderColor.transparent,src:null==m?void 0:m.imageUrl,name:null==m?void 0:m.nickname}),text:this.context.t("switchedNetworkToastMessage",[m.nickname,(0,re.getURLHost)(m.origin)]),actionText:this.context.t("switchedNetworkToastDecline"),onActionClick:()=>f(),onClose:()=>u()}):null):null}updateNewPrivacyPolicyToastDate(){const{showPrivacyPolicyToast:e,newPrivacyPolicyToastShownDate:t,setNewPrivacyPolicyToastShownDate:n}=this.props;e&&!t&&n(Date.now())}getIsPrivacyToastRecent(){const{newPrivacyPolicyToastShownDate:e}=this.props;return new Date-new Date(e)<864e5}getShowAutoNetworkSwitchTest(){return this.props.switchedNetworkDetails&&!this.props.neverShowSwitchedNetworkMessage}render(){const{isLoading:e,isUnlocked:t,alertMessage:n,textDirection:o,loadingMessage:s,isNetworkLoading:c,browserEnvironmentOs:l,browserEnvironmentBrowser:u,isNetworkUsed:d,allAccountsOnNetworkAreEmpty:p,isTestNet:f,currentChainId:m,shouldShowSeedPhraseReminder:g,isCurrentProviderCustom:h,completedOnboarding:E,isAccountMenuOpen:y,toggleAccountMenu:A,isNetworkMenuOpen:T,toggleNetworkMenu:k,accountDetailsAddress:b,isImportTokensModalOpen:S,isDeprecatedNetworkModalOpen:x,location:P,isImportNftsModalOpen:R,hideImportNftsModal:B,isIpfsModalOpen:D,isBasicConfigurationModalOpen:j,hideIpfsModal:L,hideImportTokensModal:F,hideDeprecatedNetworkModal:U,switchedNetworkDetails:G,clearSwitchedNetworkDetails:Q,isShowKeyringSnapRemovalResultModal:W,hideShowKeyringSnapRemovalResultModal:z,pendingConfirmations:q}=this.props,Z=s||c?this.getConnectingLabel(s):null,V=(0,r.matchPath)(P.pathname,{path:H.SEND_ROUTE,exact:!1}),$=t&&m&&!f&&!V&&!d&&!h&&E&&p&&null===G,oe=(0,K.getEnvironmentType)()!==Y.ENVIRONMENT_TYPE_NOTIFICATION&&t&&!g;let re=e&&E;re=e&&E&&!q.some((e=>e.type===Y.SNAP_MANAGE_ACCOUNTS_CONFIRMATION_TYPES.showSnapAccountRedirect));const se=this.getShowAutoNetworkSwitchTest();return i.default.createElement("div",{className:(0,a.default)("app",{[`os-${l}`]:l,[`browser-${u}`]:u}),dir:o,onMouseUp:se?()=>Q():undefined},oe?i.default.createElement(X.default,null):null,P.pathname===H.DEFAULT_ROUTE&&$?i.default.createElement(_.default,null):null,i.default.createElement(J.default,null),i.default.createElement(C.Modal,null),i.default.createElement(I.default,{visible:this.props.alertOpen,msg:n}),!this.hideAppHeader()&&i.default.createElement(N.AppHeader,{location:P}),fe(this.pathname)&&i.default.createElement(le.MultichainMetaFoxLogo,null),this.showOnboardingHeader()&&i.default.createElement(M.default,null),y?i.default.createElement(N.AccountListMenu,{onClose:()=>A()}):null,T?i.default.createElement(N.NetworkListMenu,{onClose:()=>k()}):null,b?i.default.createElement(N.AccountDetails,{address:b}):null,R?i.default.createElement(N.ImportNftsModal,{onClose:()=>B()}):null,D?i.default.createElement(te.ToggleIpfsModal,{onClose:()=>L()}):null,j?i.default.createElement(ne.BasicConfigurationModal,null):null,S?i.default.createElement(N.ImportTokensModal,{onClose:()=>F()}):null,x?i.default.createElement(ie.DeprecatedNetworkModal,{onClose:()=>U()}):null,W&&i.default.createElement(ae.default,{isOpen:W,onClose:()=>z()}),i.default.createElement(ee.Box,{className:"main-container-wrapper"},re?i.default.createElement(v.default,{loadingMessage:Z}):null,!e&&c&&E?i.default.createElement(w.default,null):null,this.renderRoutes()),t?i.default.createElement(O.default,{history:this.props.history}):null,this.renderToasts())}toggleMetamaskActive(){if(this.props.isUnlocked)this.props.lockMetaMask();else{const e=document.querySelector("input[type=password]");if(!e)return;e.focus()}}getConnectingLabel(e){if(e)return e;const{providerType:t,providerId:n}=this.props,{t:a}=this.context;switch(t){case z.NETWORK_TYPES.MAINNET:return a("connectingToMainnet");case z.NETWORK_TYPES.GOERLI:return a("connectingToGoerli");case z.NETWORK_TYPES.SEPOLIA:return a("connectingToSepolia");case z.NETWORK_TYPES.LINEA_GOERLI:return a("connectingToLineaGoerli");case z.NETWORK_TYPES.LINEA_SEPOLIA:return a("connectingToLineaSepolia");case z.NETWORK_TYPES.LINEA_MAINNET:return a("connectingToLineaMainnet");default:return a("connectingTo",[n])}}}n.default=me,pe(me,"propTypes",{currentCurrency:o.default.string,account:o.default.object,activeTabOrigin:o.default.string,showConnectAccountToast:o.default.bool.isRequired,setCurrentCurrencyToUSD:o.default.func,isLoading:o.default.bool,loadingMessage:o.default.string,alertMessage:o.default.string,textDirection:o.default.string,isNetworkLoading:o.default.bool,alertOpen:o.default.bool,isUnlocked:o.default.bool,setLastActiveTime:o.default.func,history:o.default.object,location:o.default.object,lockMetaMask:o.default.func,providerId:o.default.string,providerType:o.default.string,autoLockTimeLimit:o.default.number,pageChanged:o.default.func.isRequired,prepareToLeaveSwaps:o.default.func,browserEnvironmentOs:o.default.string,browserEnvironmentBrowser:o.default.string,theme:o.default.string,sendStage:o.default.string,isNetworkUsed:o.default.bool,allAccountsOnNetworkAreEmpty:o.default.bool,isTestNet:o.default.bool,showExtensionInFullSizeView:o.default.bool,currentChainId:o.default.string,shouldShowSeedPhraseReminder:o.default.bool,forgottenPassword:o.default.bool,isCurrentProviderCustom:o.default.bool,completedOnboarding:o.default.bool,isAccountMenuOpen:o.default.bool,toggleAccountMenu:o.default.func,isNetworkMenuOpen:o.default.bool,toggleNetworkMenu:o.default.func,accountDetailsAddress:o.default.string,isImportNftsModalOpen:o.default.bool.isRequired,hideImportNftsModal:o.default.func.isRequired,isIpfsModalOpen:o.default.bool.isRequired,isBasicConfigurationModalOpen:o.default.bool.isRequired,hideIpfsModal:o.default.func.isRequired,isImportTokensModalOpen:o.default.bool.isRequired,hideImportTokensModal:o.default.func.isRequired,isDeprecatedNetworkModalOpen:o.default.bool.isRequired,hideDeprecatedNetworkModal:o.default.func.isRequired,addPermittedAccount:o.default.func.isRequired,switchedNetworkDetails:o.default.object,clearSwitchedNetworkDetails:o.default.func.isRequired,setSwitchedNetworkNeverShowMessage:o.default.func.isRequired,networkToAutomaticallySwitchTo:o.default.object,neverShowSwitchedNetworkMessage:o.default.bool.isRequired,automaticallySwitchNetwork:o.default.func.isRequired,totalUnapprovedConfirmationCount:o.default.number.isRequired,currentExtensionPopupId:o.default.number,useRequestQueue:o.default.bool,showSurveyToast:o.default.bool.isRequired,showPrivacyPolicyToast:o.default.bool.isRequired,newPrivacyPolicyToastShownDate:o.default.number,setSurveyLinkLastClickedOrClosed:o.default.func.isRequired,setNewPrivacyPolicyToastShownDate:o.default.func.isRequired,setNewPrivacyPolicyToastClickedOrClosed:o.default.func.isRequired,isShowKeyringSnapRemovalResultModal:o.default.bool.isRequired,hideShowKeyringSnapRemovalResultModal:o.default.func.isRequired,pendingConfirmations:o.default.array.isRequired}),pe(me,"contextTypes",{t:o.default.func,metricsEvent:o.default.func})}}},{package:"$root$",file:"ui/pages/routes/routes.component.js"}],[5829,{"../../../shared/constants/preferences":4512,"../../../shared/modules/selectors":4554,"../../ducks/history/history":5343,"../../ducks/metamask/metamask":5346,"../../ducks/send":5348,"../../ducks/swaps/swaps":5351,"../../selectors":5987,"../../store/actions":5998,"./routes.component":5828,"react-redux":4199,"react-router-dom":4228,redux:4261},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,o=e("react-redux"),i=e("react-router-dom"),r=e("redux"),s=e("../../selectors"),c=e("../../../shared/modules/selectors"),l=e("../../store/actions"),u=e("../../ducks/history/history"),d=e("../../ducks/swaps/swaps"),p=e("../../ducks/send"),f=e("../../ducks/metamask/metamask"),m=e("../../../shared/constants/preferences"),g=(a=e("./routes.component"))&&a.__esModule?a:{default:a};n.default=(0,r.compose)(i.withRouter,(0,o.connect)((function(e){var t,n;const{activeTab:a,appState:o}=e,{alertOpen:i,alertMessage:r,isLoading:l,loadingMessage:u}=o,{autoLockTimeLimit:d=m.DEFAULT_AUTO_LOCK_TIME_LIMIT}=(0,s.getPreferences)(e),{completedOnboarding:g}=e.metamask,h=(0,f.getAlertEnabledness)(e).unconnectedAccount,E=(0,s.getSelectedAccount)(e),y=null==a?void 0:a.origin,A=(0,s.getPermittedAccountsForCurrentTab)(e),T=Boolean(h&&E&&y&&A.length>0&&!A.find((e=>e===E.address))),k=(0,s.getNetworkToAutomaticallySwitchTo)(e),b=(0,s.getSwitchedNetworkDetails)(e);return{alertOpen:i,alertMessage:r,account:E,showConnectAccountToast:T,activeTabOrigin:y,textDirection:e.metamask.textDirection,isLoading:l,loadingMessage:u,isUnlocked:(0,f.getIsUnlocked)(e),isNetworkLoading:(0,s.isNetworkLoading)(e),currentCurrency:e.metamask.currentCurrency,autoLockTimeLimit:d,browserEnvironmentOs:null===(t=e.metamask.browserEnvironment)||void 0===t?void 0:t.os,browserEnvironmentContainter:null===(n=e.metamask.browserEnvironment)||void 0===n?void 0:n.browser,providerId:(0,s.getNetworkIdentifier)(e),providerType:(0,f.getProviderConfig)(e).type,theme:(0,s.getTheme)(e),sendStage:(0,p.getSendStage)(e),isNetworkUsed:(0,s.getIsNetworkUsed)(e),allAccountsOnNetworkAreEmpty:(0,s.getAllAccountsOnNetworkAreEmpty)(e),isTestNet:(0,s.getIsTestnet)(e),showExtensionInFullSizeView:(0,s.getShowExtensionInFullSizeView)(e),smartTransactionsOptInStatus:(0,c.getSmartTransactionsOptInStatus)(e),currentChainId:(0,s.getCurrentChainId)(e),shouldShowSeedPhraseReminder:(0,s.getShouldShowSeedPhraseReminder)(e),forgottenPassword:e.metamask.forgottenPassword,isCurrentProviderCustom:(0,s.isCurrentProviderCustom)(e),completedOnboarding:g,isAccountMenuOpen:e.metamask.isAccountMenuOpen,isNetworkMenuOpen:e.metamask.isNetworkMenuOpen,isImportTokensModalOpen:e.appState.importTokensModalOpen,isBasicConfigurationModalOpen:e.appState.showBasicFunctionalityModal,isDeprecatedNetworkModalOpen:e.appState.deprecatedNetworkModalOpen,accountDetailsAddress:e.appState.accountDetailsAddress,isImportNftsModalOpen:e.appState.importNftsModal.open,isIpfsModalOpen:e.appState.showIpfsModalOpen,switchedNetworkDetails:b,networkToAutomaticallySwitchTo:k,totalUnapprovedConfirmationCount:(0,s.getNumberOfAllUnapprovedTransactionsAndMessages)(e),neverShowSwitchedNetworkMessage:(0,s.getNeverShowSwitchedNetworkMessage)(e),currentExtensionPopupId:e.metamask.currentExtensionPopupId,useRequestQueue:(0,s.getUseRequestQueue)(e),newPrivacyPolicyToastShownDate:(0,s.getNewPrivacyPolicyToastShownDate)(e),showPrivacyPolicyToast:(0,s.getShowPrivacyPolicyToast)(e),showSurveyToast:(0,s.getShowSurveyToast)(e),isShowKeyringSnapRemovalResultModal:e.appState.showKeyringRemovalSnapModal,pendingConfirmations:(0,s.getUnapprovedConfirmations)(e)}}),(function(e){return{lockMetaMask:()=>e((0,l.lockMetamask)(!1)),setCurrentCurrencyToUSD:()=>e((0,l.setCurrentCurrency)("usd")),setLastActiveTime:()=>e((0,l.setLastActiveTime)()),pageChanged:t=>e((0,u.pageChanged)(t)),prepareToLeaveSwaps:()=>e((0,d.prepareToLeaveSwaps)()),toggleAccountMenu:()=>e((0,l.toggleAccountMenu)()),toggleNetworkMenu:()=>e((0,l.toggleNetworkMenu)()),hideImportNftsModal:()=>e((0,l.hideImportNftsModal)()),hideIpfsModal:()=>e((0,l.hideIpfsModal)()),hideImportTokensModal:()=>e((0,l.hideImportTokensModal)()),hideDeprecatedNetworkModal:()=>e((0,l.hideDeprecatedNetworkModal)()),addPermittedAccount:(t,n)=>e((0,l.addPermittedAccount)(t,n)),clearSwitchedNetworkDetails:()=>e((0,l.clearSwitchedNetworkDetails)()),setSwitchedNetworkNeverShowMessage:()=>e((0,l.neverShowSwitchedNetworkMessage)()),automaticallySwitchNetwork:(t,n)=>e((0,l.automaticallySwitchNetwork)(t,n)),setSurveyLinkLastClickedOrClosed:t=>e((0,l.setSurveyLinkLastClickedOrClosed)(t)),setNewPrivacyPolicyToastClickedOrClosed:()=>e((0,l.setNewPrivacyPolicyToastClickedOrClosed)()),setNewPrivacyPolicyToastShownDate:t=>e((0,l.setNewPrivacyPolicyToastShownDate)(t)),hideShowKeyringSnapRemovalResultModal:()=>e((0,l.hideKeyringRemovalResultModal)())}})))(g.default)}}},{package:"$root$",file:"ui/pages/routes/routes.container.js"}]],[],{}); \ No newline at end of file +LavaPack.loadBundle([[5748,{"../../../shared/constants/metametrics":4505,"../../../shared/constants/onboarding":4510,"../../../shared/constants/time":4518,"../../../shared/lib/ui-utils":4532,"../../../shared/modules/mv3.utils":4547,"../../components/app/auto-detect-token/auto-detect-token-modal":4587,"../../components/app/home-notification":4640,"../../components/app/multiple-notifications":4706,"../../components/app/recovery-phrase-reminder":4753,"../../components/app/smart-transactions/smart-transactions-opt-in-modal":4757,"../../components/app/terms-of-use-popup":4851,"../../components/app/whats-new-popup":4886,"../../components/component-library":4955,"../../components/multichain/account-overview":5032,"../../components/ui/actionable-message/actionable-message":5190,"../../components/ui/button":5198,"../../components/ui/popover":5281,"../../components/ui/typography/typography":5315,"../../helpers/constants/common":5353,"../../helpers/constants/design-system":5355,"../../helpers/constants/routes":5361,"../../helpers/constants/zendesk-url":5368,"../connected-accounts":5728,"../connected-sites":5731,"./flask/flask-home-footer.component":5747,"prop-types":3997,react:4243,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=P(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var r=o?Object.getOwnPropertyDescriptor(e,i):null;r&&(r.get||r.set)?Object.defineProperty(a,i,r):a[i]=e[i]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=O(e("prop-types")),i=e("react-router-dom"),r=e("../../../shared/constants/metametrics"),s=O(e("../../components/app/terms-of-use-popup")),c=O(e("../../components/app/recovery-phrase-reminder")),l=O(e("../../components/app/whats-new-popup")),u=e("../../../shared/constants/onboarding"),d=O(e("../../components/app/smart-transactions/smart-transactions-opt-in-modal")),p=O(e("../../components/app/auto-detect-token/auto-detect-token-modal")),f=O(e("../../components/app/home-notification")),m=O(e("../../components/app/multiple-notifications")),g=O(e("../../components/ui/popover")),h=O(e("../../components/ui/typography/typography")),E=O(e("../../components/ui/button")),y=O(e("../connected-sites")),A=O(e("../connected-accounts")),T=e("../../../shared/modules/mv3.utils"),k=O(e("../../components/ui/actionable-message/actionable-message")),b=e("../../helpers/constants/design-system"),v=e("../../../shared/constants/time"),w=e("../../components/component-library"),C=e("../../helpers/constants/routes"),I=O(e("../../helpers/constants/zendesk-url")),S=e("../../helpers/constants/common");e("../../../shared/lib/ui-utils");var N=e("../../components/multichain/account-overview"),x=O(e("./flask/flask-home-footer.component"));function O(e){return e&&e.__esModule?e:{default:e}}function P(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(P=function(e){return e?n:t})(e)}function M(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function R({isNotification:e,totalUnapprovedAndQueuedRequestCount:t,hasApprovalFlows:n,isSigningQRHardwareTransaction:a}){return e&&0===t&&!n&&!a}class B extends a.PureComponent{constructor(e){var t;super(e),M(this,"state",{canShowBlockageNotification:!0,notificationClosing:!1,redirecting:!1}),M(this,"onRecoveryPhraseReminderClose",(()=>{const{setRecoveryPhraseReminderHasBeenShown:e,setRecoveryPhraseReminderLastShown:t}=this.props;e(!0),t((new Date).getTime())})),M(this,"onAcceptTermsOfUse",(()=>{const{setTermsOfUseLastAgreed:e}=this.props;e((new Date).getTime()),this.context.trackEvent({category:r.MetaMetricsEventCategory.Onboarding,event:r.MetaMetricsEventName.TermsOfUseAccepted,properties:{location:"Terms Of Use Popover"}})})),M(this,"onOutdatedBrowserWarningClose",(()=>{const{setOutdatedBrowserWarningLastShown:e}=this.props;e((new Date).getTime())})),M(this,"renderOnboardingPopover",(()=>{const{t:e}=this.context,{setDataCollectionForMarketing:t}=this.props,n=()=>{t(!1),this.context.trackEvent({category:r.MetaMetricsEventCategory.Home,event:r.MetaMetricsEventName.AnalyticsPreferenceSelected,properties:{has_marketing_consent:!1,location:"marketing_consent_modal"}})},o=e=>{t(e),this.context.trackEvent({category:r.MetaMetricsEventCategory.Home,event:r.MetaMetricsEventName.AnalyticsPreferenceSelected,properties:{has_marketing_consent:e,location:"marketing_consent_modal"}})};return a.default.createElement(w.Modal,{isOpen:!0,onClose:n},a.default.createElement(w.ModalOverlay,null),a.default.createElement(w.ModalContent,null,a.default.createElement(w.ModalHeader,{onClose:n,display:b.Display.Flex,flexDirection:b.FlexDirection.Row,fontWeight:b.FontWeight.Bold,alignItems:b.AlignItems.center,justifyContent:b.JustifyContent.center,gap:4,size:18,paddingBottom:0},e("onboardedMetametricsTitle")),a.default.createElement(w.ModalBody,null,a.default.createElement(w.Box,{display:b.Display.Flex,flexDirection:b.FlexDirection.Column,gap:2,margin:4},a.default.createElement(h.default,null,e("onboardedMetametricsParagraph1",[a.default.createElement("a",{href:S.METAMETRICS_SETTINGS_LINK,target:"_blank",rel:"noopener noreferrer",key:"retention-link"},e("onboardedMetametricsLink"))])),a.default.createElement(h.default,null,e("onboardedMetametricsParagraph2")),a.default.createElement("ul",{className:"home__onboarding_list"},a.default.createElement("li",null,e("onboardedMetametricsKey1")),a.default.createElement("li",null,e("onboardedMetametricsKey2")),a.default.createElement("li",null,e("onboardedMetametricsKey3"))),a.default.createElement(h.default,null,e("onboardedMetametricsParagraph3")))),a.default.createElement(w.ModalFooter,null,a.default.createElement(w.Box,{display:b.Display.Flex,flexDirection:b.FlexDirection.Row,gap:2,width:b.BlockSize.Full},a.default.createElement(E.default,{type:"secondary",onClick:()=>o(!1)},e("onboardedMetametricsDisagree")),a.default.createElement(E.default,{type:"primary",onClick:()=>o(!0)},e("onboardedMetametricsAccept"))))))})),M(this,"renderPopover",(()=>{const{setConnectedStatusPopoverHasBeenShown:e}=this.props,{t:t}=this.context;return a.default.createElement(g.default,{title:t("whatsThis"),onClose:e,className:"home__connected-status-popover",showArrow:!0,CustomBackground:({onClose:e})=>a.default.createElement("div",{className:"home__connected-status-popover-bg-container",onClick:e},a.default.createElement("div",{className:"home__connected-status-popover-bg"})),footer:a.default.createElement(a.default.Fragment,null,a.default.createElement("a",{href:I.default.USER_GUIDE_DAPPS,target:"_blank",rel:"noopener noreferrer"},t("learnMoreUpperCase")),a.default.createElement(E.default,{type:"primary",onClick:e},t("dismiss")))},a.default.createElement("main",{className:"home__connect-status-text"},a.default.createElement("div",null,t("metaMaskConnectStatusParagraphOne")),a.default.createElement("div",null,t("metaMaskConnectStatusParagraphTwo")),a.default.createElement("div",null,t("metaMaskConnectStatusParagraphThree"))))}));const{closeNotificationPopup:n,firstPermissionsRequestId:o,haveSwapsQuotes:i,isNotification:s,showAwaitingSwapScreen:c,hasWatchTokenPendingApprovals:l,hasWatchNftPendingApprovals:u,swapsFetchParams:d,hasTransactionPendingApprovals:p,location:f}=this.props,m=Boolean(null==f||null===(t=f.state)||void 0===t?void 0:t.stayOnHomePage);R(e)?(this.state.notificationClosing=!0,n()):(o||p||l||u||!s&&!m&&(c||i||d))&&(this.state.redirecting=!0)}checkStatusAndNavigate(){var e;const{firstPermissionsRequestId:t,history:n,isNotification:a,hasTransactionPendingApprovals:o,hasWatchTokenPendingApprovals:i,hasWatchNftPendingApprovals:r,haveSwapsQuotes:s,showAwaitingSwapScreen:c,swapsFetchParams:l,location:u,pendingConfirmations:d,pendingConfirmationsPrioritized:p,hasApprovalFlows:f}=this.props,m=Boolean(null==u||null===(e=u.state)||void 0===e?void 0:e.stayOnHomePage),g=!a&&!m;g&&c?n.push(C.AWAITING_SWAP_ROUTE):g&&s?n.push(C.VIEW_QUOTE_ROUTE):g&&l?n.push(C.BUILD_QUOTE_ROUTE):t?n.push(`${C.CONNECT_ROUTE}/${t}`):p.length>0?n.push(C.CONFIRMATION_V_NEXT_ROUTE):o?n.push(C.CONFIRM_TRANSACTION_ROUTE):i?n.push(C.CONFIRM_ADD_SUGGESTED_TOKEN_ROUTE):r?n.push(C.CONFIRM_ADD_SUGGESTED_NFT_ROUTE):(d.length>0||f)&&n.push(C.CONFIRMATION_V_NEXT_ROUTE)}componentDidMount(){this.checkStatusAndNavigate()}static getDerivedStateFromProps(e){return R(e)?{notificationClosing:!0}:null}componentDidUpdate(e,t){const{closeNotificationPopup:n,isNotification:a,hasAllowedPopupRedirectApprovals:o}=this.props,{notificationClosing:i}=this.state;i&&!t.notificationClosing?n():(a||o)&&this.checkStatusAndNavigate()}renderNotifications(){const{t:e}=this.context,{history:t,shouldShowSeedPhraseReminder:n,isPopup:o,shouldShowWeb3ShimUsageNotification:i,setWeb3ShimUsageAlertDismissed:r,originOfCurrentTab:s,disableWeb3ShimUsageAlert:c,infuraBlocked:l,showOutdatedBrowserWarning:u,newNftAddedMessage:d,setNewNftAddedMessage:p,newNetworkAddedName:h,removeNftMessage:y,setRemoveNftMessage:A,newTokensImported:S,newTokensImportedError:N,setNewTokensImported:x,setNewTokensImportedError:O,newNetworkAddedConfigurationId:P,clearNewNetworkAdded:M,setActiveNetwork:R}=this.props,B=()=>{p(""),A(""),x(""),O("")},D=5*v.SECOND,j=T.isMv3ButOffscreenDocIsMissing?a.default.createElement("div",null,a.default.createElement(w.Text,null,e("outdatedBrowserNotification")),a.default.createElement("br",null),a.default.createElement(w.Text,{fontWeight:b.FontWeight.Bold,color:b.TextColor.warningDefault},e("noHardwareWalletOrSnapsSupport"))):e("outdatedBrowserNotification");return a.default.createElement(m.default,null,"success"===d?a.default.createElement(k.default,{type:"success",className:"home__new-network-notification",autoHideTime:D,onAutoHide:B,message:a.default.createElement(w.Box,{display:b.Display.InlineFlex},a.default.createElement("i",{className:"fa fa-check-circle home__new-nft-notification-icon"}),a.default.createElement(w.Text,{variant:b.TextVariant.bodySm,as:"h6"},e("newNftAddedMessage")),a.default.createElement(w.ButtonIcon,{iconName:w.IconName.Close,size:w.ButtonIconSize.Sm,ariaLabel:e("close"),onClick:B}))}):null,"success"===y?a.default.createElement(k.default,{type:"success",className:"home__new-network-notification",autoHideTime:D,onAutoHide:B,message:a.default.createElement(w.Box,{display:b.Display.InlineFlex},a.default.createElement("i",{className:"fa fa-check-circle home__new-nft-notification-icon"}),a.default.createElement(w.Text,{variant:b.TextVariant.bodySm,as:"h6"},e("removeNftMessage")),a.default.createElement(w.ButtonIcon,{iconName:w.IconName.Close,size:w.ButtonIconSize.Sm,ariaLabel:e("close"),onClick:B}))}):null,"error"===y?a.default.createElement(k.default,{type:"danger",className:"home__new-network-notification",autoHideTime:D,onAutoHide:B,message:a.default.createElement(w.Box,{display:b.Display.InlineFlex},a.default.createElement("i",{className:"fa fa-check-circle home__new-nft-notification-icon"}),a.default.createElement(w.Text,{variant:b.TextVariant.bodySm,as:"h6"},e("removeNftErrorMessage")),a.default.createElement(w.ButtonIcon,{iconName:w.IconName.Close,size:w.ButtonIconSize.Sm,ariaLabel:e("close"),onClick:B}))}):null,h?a.default.createElement(k.default,{type:"success",className:"home__new-network-notification",message:a.default.createElement(w.Box,{display:b.Display.InlineFlex},a.default.createElement("i",{className:"fa fa-check-circle home__new-network-notification-icon"}),a.default.createElement(w.Text,{variant:b.TextVariant.bodySm,as:"h6"},e("newNetworkAdded",[h])),a.default.createElement(w.ButtonIcon,{iconName:w.IconName.Close,size:w.ButtonIconSize.Sm,ariaLabel:e("close"),onClick:()=>M(),className:"home__new-network-notification-close"}))}):null,S?a.default.createElement(k.default,{type:"success",autoHideTime:D,onAutoHide:B,className:"home__new-tokens-imported-notification",message:a.default.createElement(w.Box,{display:b.Display.InlineFlex},a.default.createElement("i",{className:"fa fa-check-circle home__new-tokens-imported-notification-icon"}),a.default.createElement(w.Box,null,a.default.createElement(w.Text,{className:"home__new-tokens-imported-notification-title",variant:b.TextVariant.bodySmBold,as:"h6"},e("newTokensImportedTitle")),a.default.createElement(w.Text,{className:"home__new-tokens-imported-notification-message",variant:b.TextVariant.bodySm,as:"h6"},e("newTokensImportedMessage",[S]))),a.default.createElement(w.ButtonIcon,{iconName:w.IconName.Close,size:w.ButtonIconSize.Sm,ariaLabel:e("close"),onClick:()=>x(""),className:"home__new-tokens-imported-notification-close"}))}):null,N?a.default.createElement(k.default,{type:"danger",className:"home__new-tokens-imported-notification",autoHideTime:D,onAutoHide:B,message:a.default.createElement(w.Box,{display:b.Display.InlineFlex},a.default.createElement(w.Icon,{name:w.IconName.Danger}),a.default.createElement(w.Text,{variant:b.TextVariant.bodySm,as:"h6"},e("importTokensError")),a.default.createElement(w.ButtonIcon,{iconName:w.IconName.Close,size:w.ButtonIconSize.Sm,ariaLabel:e("close"),onClick:B}))}):null,i?a.default.createElement(f.default,{descriptionText:e("web3ShimUsageNotification",[a.default.createElement("span",{key:"web3ShimUsageNotificationLink",className:"home-notification__text-link",onClick:()=>global.platform.openTab({url:I.default.LEGACY_WEB3})},e("here"))]),ignoreText:e("dismiss"),onIgnore:e=>{r(s),e&&c()},checkboxText:e("dontShowThisAgain"),checkboxTooltipText:e("canToggleInSettings"),key:"home-web3ShimUsageNotification"}):null,n?a.default.createElement(f.default,{descriptionText:e("backupApprovalNotice"),acceptText:e("backupNow"),onAccept:()=>{const e=`${C.ONBOARDING_SECURE_YOUR_WALLET_ROUTE}/?isFromReminder=true`;o?global.platform.openExtensionInBrowser(e):t.push(e)},infoText:e("backupApprovalInfo"),key:"home-backupApprovalNotice"}):null,l&&this.state.canShowBlockageNotification?a.default.createElement(f.default,{descriptionText:e("infuraBlockedNotification",[a.default.createElement("span",{key:"infuraBlockedNotificationLink",className:"home-notification__text-link",onClick:()=>global.platform.openTab({url:I.default.INFURA_BLOCKAGE})},e("here"))]),ignoreText:e("dismiss"),onIgnore:()=>{this.setState({canShowBlockageNotification:!1})},key:"home-infuraBlockedNotification"}):null,u?a.default.createElement(f.default,{descriptionText:j,acceptText:e("gotIt"),onAccept:this.onOutdatedBrowserWarningClose,key:"home-outdatedBrowserNotification"}):null,P&&a.default.createElement(g.default,{className:"home__new-network-added",onClose:()=>M()},a.default.createElement("i",{className:"fa fa-check-circle fa-2x home__new-network-added__check-circle"}),a.default.createElement(w.Text,{variant:b.TextVariant.headingSm,as:"h4",marginTop:5,marginRight:9,marginLeft:9,marginBottom:0,fontWeight:b.FontWeight.Bold},e("networkAddedSuccessfully")),a.default.createElement(w.Box,{marginTop:8,marginRight:8,marginLeft:8,marginBottom:5},a.default.createElement(E.default,{type:"primary",className:"home__new-network-added__switch-to-button",onClick:()=>{R(P),M()}},a.default.createElement(w.Text,{variant:b.TextVariant.bodySm,as:"h6",color:b.TextColor.primaryInverse},e("switchToNetwork",[h]))),a.default.createElement(E.default,{type:"secondary",onClick:()=>M()},a.default.createElement(w.Text,{variant:b.TextVariant.bodySm,as:"h6",color:b.TextColor.primaryDefault},e("dismiss"))))))}render(){const{defaultHomeActiveTabName:e,onTabClick:t,useExternalServices:n,setBasicFunctionalityModalOpen:o,forgottenPassword:r,participateInMetaMetrics:f,dataCollectionForMarketing:m,connectedStatusPopoverHasBeenShown:g,isPopup:h,seedPhraseBackedUp:E,showRecoveryPhraseReminder:T,showTermsOfUsePopup:k,showWhatsNewPopup:b,hideWhatsNewPopup:v,completedOnboarding:w,onboardedInThisUISession:I,announcementsToShow:S,firstTimeFlowType:O,newNetworkAddedConfigurationId:P,isSmartTransactionsOptInModalAvailable:M,isShowTokenAutodetectModal:R,setTokenAutodetectModal:B,setShowTokenAutodetectModalOnUpgrade:D}=this.props;if(r)return a.default.createElement(i.Redirect,{to:{pathname:C.RESTORE_VAULT_ROUTE}});if(this.state.notificationClosing||this.state.redirecting)return null;const j=w&&(!I||O===u.FirstTimeFlowType.import)&&!P,L=j&&M,F=j&&S&&b&&!L,U=j&&R&&!L&&!F,G=w&&!I&&k;return a.default.createElement("div",{className:"main-container"},a.default.createElement(i.Route,{path:C.CONNECTED_ROUTE,component:y.default,exact:!0}),a.default.createElement(i.Route,{path:C.CONNECTED_ACCOUNTS_ROUTE,component:A.default,exact:!0}),a.default.createElement("div",{className:"home__container"},null===m&&!0===f?this.renderOnboardingPopover():null,a.default.createElement(d.default,{isOpen:L,hideWhatsNewPopup:v}),a.default.createElement(p.default,{isOpen:U,onClose:B,setShowTokenAutodetectModalOnUpgrade:D}),F?a.default.createElement(l.default,{onClose:v}):null,!F&&T?a.default.createElement(c.default,{hasBackedUp:E,onConfirm:this.onRecoveryPhraseReminderClose}):null,G?a.default.createElement(s.default,{onAccept:this.onAcceptTermsOfUse}):null,h&&!g?this.renderPopover():null,a.default.createElement("div",{className:"home__main-view"},a.default.createElement(N.AccountOverview,{onTabClick:t,defaultHomeActiveTabName:e,useExternalServices:n,setBasicFunctionalityModalOpen:o}),a.default.createElement("div",{className:"home__support"},a.default.createElement(x.default,null))),this.renderNotifications()))}}n.default=B,M(B,"contextTypes",{t:o.default.func,trackEvent:o.default.func}),M(B,"propTypes",{history:o.default.object,forgottenPassword:o.default.bool,hasTransactionPendingApprovals:o.default.bool.isRequired,hasWatchTokenPendingApprovals:o.default.bool,hasWatchNftPendingApprovals:o.default.bool,setConnectedStatusPopoverHasBeenShown:o.default.func,shouldShowSeedPhraseReminder:o.default.bool.isRequired,isPopup:o.default.bool,connectedStatusPopoverHasBeenShown:o.default.bool,showRecoveryPhraseReminder:o.default.bool.isRequired,showTermsOfUsePopup:o.default.bool.isRequired,seedPhraseBackedUp:e=>{if(null!==e.seedPhraseBackedUp&&"boolean"!=typeof e.seedPhraseBackedUp)throw new Error(`seedPhraseBackedUp is required to be null or boolean. Received ${e.seedPhraseBackedUp}`)},firstTimeFlowType:o.default.string,completedOnboarding:o.default.bool,showWhatsNewPopup:o.default.bool.isRequired,hideWhatsNewPopup:o.default.func.isRequired,announcementsToShow:o.default.bool.isRequired,onboardedInThisUISession:o.default.bool,isSmartTransactionsOptInModalAvailable:o.default.bool.isRequired,isShowTokenAutodetectModal:o.default.bool.isRequired,newNetworkAddedConfigurationId:o.default.string,isNotification:o.default.bool.isRequired,firstPermissionsRequestId:o.default.string,totalUnapprovedCount:o.default.number.isRequired,defaultHomeActiveTabName:o.default.string,participateInMetaMetrics:o.default.bool.isRequired,onTabClick:o.default.func.isRequired,haveSwapsQuotes:o.default.bool.isRequired,showAwaitingSwapScreen:o.default.bool.isRequired,setDataCollectionForMarketing:o.default.func.isRequired,dataCollectionForMarketing:o.default.bool,swapsFetchParams:o.default.object,location:o.default.object,shouldShowWeb3ShimUsageNotification:o.default.bool.isRequired,setWeb3ShimUsageAlertDismissed:o.default.func.isRequired,originOfCurrentTab:o.default.string,disableWeb3ShimUsageAlert:o.default.func.isRequired,pendingConfirmations:o.default.arrayOf(o.default.object).isRequired,pendingConfirmationsPrioritized:o.default.arrayOf(o.default.object).isRequired,hasApprovalFlows:o.default.bool.isRequired,infuraBlocked:o.default.bool.isRequired,setRecoveryPhraseReminderHasBeenShown:o.default.func.isRequired,setRecoveryPhraseReminderLastShown:o.default.func.isRequired,setTermsOfUseLastAgreed:o.default.func.isRequired,showOutdatedBrowserWarning:o.default.bool.isRequired,setOutdatedBrowserWarningLastShown:o.default.func.isRequired,newNetworkAddedName:o.default.string,isSigningQRHardwareTransaction:o.default.bool.isRequired,newNftAddedMessage:o.default.string,setNewNftAddedMessage:o.default.func.isRequired,removeNftMessage:o.default.string,setRemoveNftMessage:o.default.func.isRequired,closeNotificationPopup:o.default.func.isRequired,newTokensImported:o.default.string,newTokensImportedError:o.default.string,setNewTokensImported:o.default.func.isRequired,setNewTokensImportedError:o.default.func.isRequired,clearNewNetworkAdded:o.default.func,setActiveNetwork:o.default.func,setTokenAutodetectModal:o.default.func,setShowTokenAutodetectModalOnUpgrade:o.default.func,hasAllowedPopupRedirectApprovals:o.default.bool.isRequired,useExternalServices:o.default.bool,setBasicFunctionalityModalOpen:o.default.func})}}},{package:"$root$",file:"ui/pages/home/home.component.js"}],[5749,{"../../../app/scripts/lib/util":120,"../../../shared/constants/alerts":4492,"../../../shared/constants/app":4493,"../../../shared/modules/selectors":4554,"../../ducks/app/app":5336,"../../ducks/metamask/metamask":5346,"../../ducks/swaps/swaps":5351,"../../helpers/utils/util":5399,"../../selectors":5987,"../../selectors/transactions":5995,"../../store/actions":5998,"./home.component":5748,"react-redux":4199,"react-router-dom":4228,redux:4261},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,o=e("redux"),i=e("react-redux"),r=e("react-router-dom"),s=e("../../selectors"),c=e("../../../shared/modules/selectors"),l=e("../../store/actions"),u=e("../../ducks/app/app"),d=e("../../ducks/metamask/metamask"),p=e("../../ducks/swaps/swaps"),f=e("../../../app/scripts/lib/util"),m=e("../../helpers/utils/util"),g=e("../../../shared/constants/app"),h=e("../../../shared/constants/alerts"),E=e("../../selectors/transactions"),y=(a=e("./home.component"))&&a.__esModule?a:{default:a};n.default=(0,o.compose)(r.withRouter,(0,i.connect)((e=>{var t,n;const{metamask:a,appState:o}=e,{seedPhraseBackedUp:i,connectedStatusPopoverHasBeenShown:r,defaultHomeActiveTabName:l,swapsState:u,dataCollectionForMarketing:y,participateInMetaMetrics:A,firstTimeFlowType:T,completedOnboarding:k}=a,{address:b}=(0,s.getSelectedInternalAccount)(e),{forgottenPassword:v}=a,w=(0,s.getTotalUnapprovedCount)(e),C=w+(0,s.getQueuedRequestCount)(e),I=(0,p.getSwapsFeatureIsLive)(e),S=(0,s.getUnapprovedTemplatedConfirmations)(e),N=(0,s.getPrioritizedUnapprovedTemplatedConfirmations)(e),x=(0,f.getEnvironmentType)(),O=x===g.ENVIRONMENT_TYPE_POPUP,P=x===g.ENVIRONMENT_TYPE_NOTIFICATION;let M,R;var B;(M=(0,s.getFirstPermissionRequest)(e),R=(null===(t=M)||void 0===t?void 0:t.metadata.id)||null,M)||(M=(0,s.getFirstSnapInstallOrUpdateRequest)(e),R=(null===(B=M)||void 0===B?void 0:B.metadata.id)||null);const D=(0,s.getOriginOfCurrentTab)(e),j=O&&(0,d.getWeb3ShimUsageAlertEnabledness)(e)&&(0,s.activeTabHasPermissions)(e)&&(0,s.getWeb3ShimUsageStateForOrigin)(e,D)===h.Web3ShimUsageAlertStates.recorded,L=(0,s.getSuggestedTokens)(e).length>0,F=(0,s.getSuggestedNfts)(e).length>0,U=(0,s.hasPendingApprovals)(e,[g.SNAP_MANAGE_ACCOUNTS_CONFIRMATION_TYPES.showSnapAccountRedirect]);return{useExternalServices:(0,s.getUseExternalServices)(e),isBasicConfigurationModalOpen:o.showBasicFunctionalityModal,forgottenPassword:v,hasWatchTokenPendingApprovals:L,hasWatchNftPendingApprovals:F,swapsEnabled:I,hasTransactionPendingApprovals:(0,E.hasTransactionPendingApprovals)(e),shouldShowSeedPhraseReminder:(0,s.getShouldShowSeedPhraseReminder)(e),isPopup:O,isNotification:P,dataCollectionForMarketing:y,selectedAddress:b,firstPermissionsRequestId:R,totalUnapprovedCount:w,totalUnapprovedAndQueuedRequestCount:C,participateInMetaMetrics:A,hasApprovalFlows:(null===(n=(0,s.getApprovalFlows)(e))||void 0===n?void 0:n.length)>0,connectedStatusPopoverHasBeenShown:r,defaultHomeActiveTabName:l,firstTimeFlowType:T,completedOnboarding:k,haveSwapsQuotes:Boolean(Object.values(u.quotes||{}).length),swapsFetchParams:u.fetchParams,showAwaitingSwapScreen:"awaiting"===u.routeState,isMainnet:(0,s.getIsMainnet)(e),originOfCurrentTab:D,shouldShowWeb3ShimUsageNotification:j,pendingConfirmations:S,pendingConfirmationsPrioritized:N,infuraBlocked:(0,s.getInfuraBlocked)(e),announcementsToShow:(0,s.getSortedAnnouncementsToShow)(e).length>0,showWhatsNewPopup:false,showRecoveryPhraseReminder:(0,s.getShowRecoveryPhraseReminder)(e),showTermsOfUsePopup:(0,s.getShowTermsOfUse)(e),showOutdatedBrowserWarning:(0,m.getIsBrowserDeprecated)()&&(0,s.getShowOutdatedBrowserWarning)(e),seedPhraseBackedUp:i,newNetworkAddedName:(0,s.getNewNetworkAdded)(e),isSigningQRHardwareTransaction:(0,s.getIsSigningQRHardwareTransaction)(e),newNftAddedMessage:(0,s.getNewNftAddedMessage)(e),removeNftMessage:(0,s.getRemoveNftMessage)(e),newTokensImported:(0,s.getNewTokensImported)(e),newTokensImportedError:(0,s.getNewTokensImportedError)(e),newNetworkAddedConfigurationId:o.newNetworkAddedConfigurationId,onboardedInThisUISession:o.onboardedInThisUISession,hasAllowedPopupRedirectApprovals:U,isSmartTransactionsOptInModalAvailable:(0,c.getIsSmartTransactionsOptInModalAvailable)(e),isShowTokenAutodetectModal:(0,c.getIsShowTokenAutodetectModal)(e)}}),(e=>({setDataCollectionForMarketing:t=>e((0,l.setDataCollectionForMarketing)(t)),closeNotificationPopup:()=>(0,l.closeNotificationPopup)(),setConnectedStatusPopoverHasBeenShown:()=>e((0,l.setConnectedStatusPopoverHasBeenShown)()),onTabClick:t=>e((0,l.setDefaultHomeActiveTabName)(t)),setWeb3ShimUsageAlertDismissed:e=>(0,l.setWeb3ShimUsageAlertDismissed)(e),disableWeb3ShimUsageAlert:()=>(0,l.setAlertEnabledness)(h.AlertTypes.web3ShimUsage,!1),hideWhatsNewPopup:()=>e((0,u.hideWhatsNewPopup)()),setRecoveryPhraseReminderHasBeenShown:()=>e((0,l.setRecoveryPhraseReminderHasBeenShown)()),setRecoveryPhraseReminderLastShown:t=>e((0,l.setRecoveryPhraseReminderLastShown)(t)),setTermsOfUseLastAgreed:t=>{e((0,l.setTermsOfUseLastAgreed)(t))},setOutdatedBrowserWarningLastShown:t=>{e((0,l.setOutdatedBrowserWarningLastShown)(t))},setNewNftAddedMessage:t=>{e((0,l.setRemoveNftMessage)("")),e((0,l.setNewNftAddedMessage)(t))},setRemoveNftMessage:t=>{e((0,l.setNewNftAddedMessage)("")),e((0,l.setRemoveNftMessage)(t))},setNewTokensImported:t=>{e((0,l.setNewTokensImported)(t))},setNewTokensImportedError:t=>{e((0,l.setNewTokensImportedError)(t))},clearNewNetworkAdded:()=>{e((0,l.setNewNetworkAdded)({}))},setActiveNetwork:t=>{e((0,l.setActiveNetwork)(t))},setTokenAutodetectModal:t=>{e((0,l.setShowTokenAutodetectModal)(t))},setShowTokenAutodetectModalOnUpgrade:t=>{e((0,l.setShowTokenAutodetectModalOnUpgrade)(t))},setBasicFunctionalityModalOpen:()=>e((0,u.openBasicFunctionalityModal)())}))))(y.default)}}},{package:"$root$",file:"ui/pages/home/home.container.js"}],[5750,{"./home.container":5749},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return o.default}});var a,o=(a=e("./home.container"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/home/index.js"}],[5751,{"../contexts/currencyRate":5322,"../contexts/i18n":5324,"../contexts/metamask-notifications":5325,"../contexts/metametrics":5327,"./error":5746,"./routes":5827,"@sentry/browser":2409,"prop-types":3997,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=h(e("react")),o=m(e("prop-types")),i=e("react-redux"),r=e("react-router-dom"),s=h(e("@sentry/browser")),c=e("../contexts/i18n"),l=e("../contexts/metametrics"),u=e("../contexts/metamask-notifications"),d=e("../contexts/currencyRate"),p=m(e("./error")),f=m(e("./routes"));function m(e){return e&&e.__esModule?e:{default:e}}function g(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(g=function(e){return e?n:t})(e)}function h(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=g(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var r=o?Object.getOwnPropertyDescriptor(e,i):null;r&&(r.get||r.set)?Object.defineProperty(a,i,r):a[i]=e[i]}return a.default=e,n&&n.set(e,a),a}function E(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class y extends a.PureComponent{constructor(...e){super(...e),E(this,"state",{})}static getDerivedStateFromError(e){return{error:e}}componentDidCatch(e){s.captureException(e)}render(){const{error:e,errorId:t}=this.state,{store:n}=this.props;return e?a.default.createElement(i.Provider,{store:n},a.default.createElement(c.I18nProvider,null,a.default.createElement(c.LegacyI18nProvider,null,a.default.createElement(p.default,{error:e,errorId:t})))):a.default.createElement(i.Provider,{store:n},a.default.createElement(r.HashRouter,{hashType:"noslash"},a.default.createElement(l.MetaMetricsProvider,null,a.default.createElement(l.LegacyMetaMetricsProvider,null,a.default.createElement(c.I18nProvider,null,a.default.createElement(c.LegacyI18nProvider,null,a.default.createElement(d.CurrencyRateProvider,null,a.default.createElement(u.MetamaskNotificationsProvider,null,a.default.createElement(f.default,null)))))))))}}y.propTypes={store:o.default.object};n.default=y}}},{package:"$root$",file:"ui/pages/index.js"}],[5752,{"../../../shared/constants/metametrics":4505,"../../components/app/create-new-vault":4621,"../../components/ui/box":5194,"../../components/ui/button":5198,"../../components/ui/typography":5314,"../../helpers/constants/design-system":5355,"../../helpers/constants/routes":5361,"../../helpers/constants/zendesk-url":5368,"../../store/actions":5998,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=h(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var r=o?Object.getOwnPropertyDescriptor(e,i):null;r&&(r.get||r.set)?Object.defineProperty(a,i,r):a[i]=e[i]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=g(e("prop-types")),i=e("react-redux"),r=e("../../store/actions"),s=e("../../helpers/constants/routes"),c=g(e("../../components/app/create-new-vault")),l=g(e("../../components/ui/button")),u=g(e("../../components/ui/box")),d=g(e("../../components/ui/typography")),p=g(e("../../helpers/constants/zendesk-url")),f=e("../../helpers/constants/design-system"),m=e("../../../shared/constants/metametrics");function g(e){return e&&e.__esModule?e:{default:e}}function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(h=function(e){return e?n:t})(e)}function E(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class y extends a.Component{constructor(...e){super(...e),E(this,"handleImport",(async(e,t)=>{const{createNewVaultAndRestore:n,leaveImportSeedScreenState:a,history:o}=this.props;a(),await n(e,t),this.context.trackEvent({category:m.MetaMetricsEventCategory.Retention,event:"onboardingRestoredVault",properties:{action:"userEntersSeedPhrase",legacy_event:!0}}),o.push(s.DEFAULT_ROUTE)}))}render(){const{t:e}=this.context,{isLoading:t}=this.props;return a.default.createElement(u.default,{className:"first-view-main-wrapper"},a.default.createElement(u.default,{className:"first-view-main"},a.default.createElement(u.default,{className:"import-account"},a.default.createElement("a",{className:"import-account__back-button",onClick:e=>{e.preventDefault(),this.props.leaveImportSeedScreenState(),this.props.history.push(s.DEFAULT_ROUTE)},href:"#"},`< ${e("back")}`),a.default.createElement(d.default,{variant:f.TypographyVariant.H1,color:f.TextColor.textDefault},e("resetWallet")),a.default.createElement(d.default,{color:f.TextColor.textDefault},e("resetWalletSubHeader")),a.default.createElement(d.default,{color:f.TextColor.textDefault,marginTop:4,marginBottom:4},e("resetWalletUsingSRP",[a.default.createElement(l.default,{type:"link",target:"_blank",rel:"noopener noreferrer",href:p.default.ADD_MISSING_ACCOUNTS,key:"import-account-secretphase",className:"import-account__link"},e("reAddAccounts")),a.default.createElement(l.default,{type:"link",target:"_blank",rel:"noopener noreferrer",href:p.default.IMPORT_ACCOUNTS,key:"import-account-reimport-accounts",className:"import-account__link"},e("reAdded")),a.default.createElement(l.default,{type:"link",target:"_blank",rel:"noopener noreferrer",href:p.default.ADD_CUSTOM_TOKENS,key:"import-account-readd-tokens",className:"import-account__link"},e("reAdded"))])),a.default.createElement(d.default,{color:f.TextColor.textDefault,margin:0,marginBottom:4},e("resetWalletWarning")),a.default.createElement(c.default,{disabled:t,onSubmit:this.handleImport,submitText:e("restore")}))))}}E(y,"contextTypes",{t:o.default.func,trackEvent:o.default.func}),E(y,"propTypes",{createNewVaultAndRestore:o.default.func.isRequired,leaveImportSeedScreenState:o.default.func,history:o.default.object,isLoading:o.default.bool});n.default=(0,i.connect)((({appState:{isLoading:e}})=>({isLoading:e})),(e=>({leaveImportSeedScreenState:()=>{e((0,r.unMarkPasswordForgotten)())},createNewVaultAndRestore:(t,n)=>e((0,r.createNewVaultAndRestore)(t,n))})))(y)}}},{package:"$root$",file:"ui/pages/keychains/restore-vault.js"}],[5753,{"../../../shared/constants/metametrics":4505,"../../components/app/modals/hold-to-reveal-modal/hold-to-reveal-modal":4684,"../../components/component-library":4955,"../../components/ui/box":5194,"../../components/ui/export-text-container":5223,"../../components/ui/tabs":5296,"../../contexts/metametrics":5327,"../../ducks/history/history":5343,"../../helpers/constants/design-system":5355,"../../helpers/constants/zendesk-url":5368,"../../hooks/useI18nContext":5427,"../../store/actions":5998,"qrcode-generator":4056,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(){const e=(0,r.useHistory)(),t=(0,i.useDispatch)(),n=(0,E.useI18nContext)(),A=(0,o.useContext)(f.MetaMetricsContext),[T,v]=(0,o.useState)(k),[w,C]=(0,o.useState)(""),[I,S]=(0,o.useState)(null),[N,x]=(0,o.useState)(!1),[O,P]=(0,o.useState)(null),M=(0,i.useSelector)(m.getMostRecentOverviewPage),[R,B]=(0,o.useState)(!1);(0,o.useEffect)((()=>{const e=document.getElementById("password-box");e&&e.focus()}),[]);const D=()=>{const e=(0,a.default)(0,"L");return e.addData(I),e.make(),e},j=e=>{e.preventDefault(),S(null),x(!1),P(null),t((0,y.requestRevealSeedWords)(w)).then((e=>{A({category:s.MetaMetricsEventCategory.Keys,event:s.MetaMetricsEventName.KeyExportRevealed,properties:{key_type:s.MetaMetricsEventKeyType.Srp}}),S(e),B(!0)})).catch((e=>{A({category:s.MetaMetricsEventCategory.Keys,event:s.MetaMetricsEventName.KeyExportFailed,properties:{key_type:s.MetaMetricsEventKeyType.Srp,reason:e.message}}),P(e.message)}))};return o.default.createElement(u.default,{className:"page-container",paddingTop:8,paddingBottom:8,paddingLeft:4,paddingRight:4,gap:4},o.default.createElement(l.Text,{variant:g.TextVariant.headingLg},n("secretRecoveryPhrase")),o.default.createElement(l.Text,{variant:g.TextVariant.bodyMd},n("revealSeedWordsDescription1",[o.default.createElement(l.Button,{key:"srp-learn-srp",variant:l.BUTTON_VARIANT.LINK,size:l.BUTTON_SIZES.INHERIT,as:"a",href:h.default.SECRET_RECOVERY_PHRASE,target:"_blank",rel:"noopener noreferrer"},n("revealSeedWordsSRPName")),o.default.createElement(l.Text,{key:"reveal-seed-word-part-3",variant:g.TextVariant.bodyMdBold,as:"strong"},n("revealSeedWordsDescription3"))])),o.default.createElement(l.Text,{variant:g.TextVariant.bodyMd},n("revealSeedWordsDescription2",[o.default.createElement(l.Button,{key:"srp-learn-more-non-custodial",variant:l.BUTTON_VARIANT.LINK,size:l.BUTTON_SIZES.INHERIT,as:"a",href:h.default.NON_CUSTODIAL_WALLET,target:"_blank",rel:"noopener noreferrer"},n("revealSeedWordsNonCustodialWallet"))])),o.default.createElement(l.BannerAlert,{severity:g.Severity.Danger},o.default.createElement(l.Text,{variant:g.TextVariant.bodyMd},n("revealSeedWordsWarning",[o.default.createElement(l.Text,{key:"reveal-seed-words-warning-2",variant:g.TextVariant.bodyMdBold,as:"strong"},n("revealSeedWordsWarning2"))]))),T!==k&&N?(A({category:s.MetaMetricsEventCategory.Keys,event:s.MetaMetricsEventName.SrpViewSrpText,properties:{key_type:s.MetaMetricsEventKeyType.Srp}}),o.default.createElement("div",null,o.default.createElement(p.Tabs,{defaultActiveTabName:n("revealSeedWordsText"),onTabClick:e=>{"text-seed"===e?A({category:s.MetaMetricsEventCategory.Keys,event:s.MetaMetricsEventName.SrpViewSrpText,properties:{key_type:s.MetaMetricsEventKeyType.Srp}}):"qr-srp"===e&&A({category:s.MetaMetricsEventCategory.Keys,event:s.MetaMetricsEventName.SrpViewsSrpQR,properties:{key_type:s.MetaMetricsEventKeyType.Srp}})}},o.default.createElement(p.Tab,{name:n("revealSeedWordsText"),className:"reveal-seed__tab",activeClassName:"reveal-seed__active-tab",tabKey:"text-seed"},o.default.createElement(l.Label,{marginTop:4},n("yourPrivateSeedPhrase")),o.default.createElement(d.default,{text:I,onClickCopy:()=>{A({category:s.MetaMetricsEventCategory.Keys,event:s.MetaMetricsEventName.KeyExportCopied,properties:{key_type:s.MetaMetricsEventKeyType.Srp,copy_method:"clipboard"}}),A({category:s.MetaMetricsEventCategory.Keys,event:s.MetaMetricsEventName.SrpCopiedToClipboard,properties:{key_type:s.MetaMetricsEventKeyType.Srp,copy_method:"clipboard"}})}})),o.default.createElement(p.Tab,{name:n("revealSeedWordsQR"),className:"reveal-seed__tab",activeClassName:"reveal-seed__active-tab",tabKey:"qr-srp"},o.default.createElement(u.default,{display:g.Display.Flex,justifyContent:g.JustifyContent.center,alignItems:g.AlignItems.center,paddingTop:4,"data-testid":"qr-srp"},o.default.createElement("div",{dangerouslySetInnerHTML:{__html:D().createTableTag(5,15)}})))))):o.default.createElement("form",{onSubmit:j},o.default.createElement(l.Label,{htmlFor:"password-box"},n("enterPasswordContinue")),o.default.createElement(l.TextField,{inputProps:{"data-testid":"input-password"},type:l.TextFieldType.Password,placeholder:n("makeSureNoOneWatching"),id:"password-box",size:l.TextFieldSize.Large,value:w,onChange:e=>C(e.target.value),error:Boolean(O),width:g.BlockSize.Full}),O&&o.default.createElement(l.HelpText,{severity:l.HelpTextSeverity.Danger},O)),T!==k&&N?o.default.createElement(u.default,{marginTop:"auto"},o.default.createElement(l.Button,{variant:l.BUTTON_VARIANT.SECONDARY,width:g.BlockSize.Full,size:g.Size.LG,onClick:()=>{A({category:s.MetaMetricsEventCategory.Keys,event:s.MetaMetricsEventName.SrpRevealCloseClicked,properties:{key_type:s.MetaMetricsEventKeyType.Srp}}),e.push(M)}},n("close"))):o.default.createElement(u.default,{display:g.Display.Flex,marginTop:"auto",gap:4},o.default.createElement(l.Button,{width:g.BlockSize.Full,size:g.Size.LG,variant:l.BUTTON_VARIANT.SECONDARY,onClick:()=>{A({category:s.MetaMetricsEventCategory.Keys,event:s.MetaMetricsEventName.KeyExportCanceled,properties:{key_type:s.MetaMetricsEventKeyType.Srp}}),A({category:s.MetaMetricsEventCategory.Keys,event:s.MetaMetricsEventName.SrpRevealCancelled,properties:{key_type:s.MetaMetricsEventKeyType.Srp}}),e.push(M)}},n("cancel")),o.default.createElement(l.Button,{width:g.BlockSize.Full,size:g.Size.LG,onClick:e=>{A({category:s.MetaMetricsEventCategory.Keys,event:s.MetaMetricsEventName.KeyExportRequested,properties:{key_type:s.MetaMetricsEventKeyType.Srp}}),A({category:s.MetaMetricsEventCategory.Keys,event:s.MetaMetricsEventName.SrpRevealNextClicked,properties:{key_type:s.MetaMetricsEventKeyType.Srp}}),j(e)},disabled:""===w},n("next"))),o.default.createElement(c.default,{isOpen:R,onClose:()=>{A({category:s.MetaMetricsEventCategory.Keys,event:s.MetaMetricsEventName.SrpHoldToRevealCloseClicked,properties:{key_type:s.MetaMetricsEventKeyType.Srp}}),B(!1)},onLongPressed:()=>{x(!0),B(!1),v(b)},holdToRevealType:"SRP"}))};var a=T(e("qrcode-generator")),o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=A(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var r=o?Object.getOwnPropertyDescriptor(e,i):null;r&&(r.get||r.set)?Object.defineProperty(a,i,r):a[i]=e[i]}return a.default=e,n&&n.set(e,a),a}(e("react")),i=e("react-redux"),r=e("react-router-dom"),s=e("../../../shared/constants/metametrics"),c=T(e("../../components/app/modals/hold-to-reveal-modal/hold-to-reveal-modal")),l=e("../../components/component-library"),u=T(e("../../components/ui/box")),d=T(e("../../components/ui/export-text-container")),p=e("../../components/ui/tabs"),f=e("../../contexts/metametrics"),m=e("../../ducks/history/history"),g=e("../../helpers/constants/design-system"),h=T(e("../../helpers/constants/zendesk-url")),E=e("../../hooks/useI18nContext"),y=e("../../store/actions");function A(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(A=function(e){return e?n:t})(e)}function T(e){return e&&e.__esModule?e:{default:e}}const k="PASSWORD_PROMPT_SCREEN",b="REVEAL_SEED_SCREEN"}}},{package:"$root$",file:"ui/pages/keychains/reveal-seed.js"}],[5754,{"./lock.container":5756},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return o.default}});var a,o=(a=e("./lock.container"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/lock/index.js"}],[5755,{"../../components/ui/loading-screen":5256,"../../helpers/constants/routes":5361,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,o,i,r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=d(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var r=o?Object.getOwnPropertyDescriptor(e,i):null;r&&(r.get||r.set)?Object.defineProperty(a,i,r):a[i]=e[i]}return a.default=e,n&&n.set(e,a),a}(e("react")),s=u(e("prop-types")),c=u(e("../../components/ui/loading-screen")),l=e("../../helpers/constants/routes");function u(e){return e&&e.__esModule?e:{default:e}}function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(d=function(e){return e?n:t})(e)}class p extends r.PureComponent{componentDidMount(){const{lockMetamask:e,isUnlocked:t,history:n}=this.props;t?e().then((()=>n.push(l.DEFAULT_ROUTE))):n.replace(l.DEFAULT_ROUTE)}render(){return r.default.createElement(c.default,null)}}n.default=p,a=p,o="propTypes",i={history:s.default.object,isUnlocked:s.default.bool,lockMetamask:s.default.func},(o=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(o))in a?Object.defineProperty(a,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):a[o]=i}}},{package:"$root$",file:"ui/pages/lock/lock.component.js"}],[5756,{"../../store/actions":5998,"./lock.component":5755,"react-redux":4199,"react-router-dom":4228,redux:4261},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,o=e("redux"),i=e("react-redux"),r=e("react-router-dom"),s=e("../../store/actions"),c=(a=e("./lock.component"))&&a.__esModule?a:{default:a};n.default=(0,o.compose)(r.withRouter,(0,i.connect)((e=>{const{metamask:{isUnlocked:t}}=e;return{isUnlocked:t}}),(e=>({lockMetamask:()=>e((0,s.lockMetamask)())}))))(c.default)}}},{package:"$root$",file:"ui/pages/lock/lock.container.js"}],[5757,{"./notification-details":5761},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return o.default}});var a,o=(a=e("./notification-details"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/notification-details/index.js"}],[5758,{"../../../components/component-library":4955,"../../../helpers/constants/design-system":5355,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.NotificationDetailsBody=void 0;var a,o=(a=e("react"))&&a.__esModule?a:{default:a},i=e("../../../components/component-library"),r=e("../../../helpers/constants/design-system");n.NotificationDetailsBody=({body:e,notification:t})=>o.default.createElement(i.Box,{display:r.Display.Flex,flexDirection:r.FlexDirection.Column,padding:0},"body_feature_announcement"===e.type&&o.default.createElement(o.default.Fragment,null,o.default.createElement(e.Image,{notification:t}),o.default.createElement(e.Description,{notification:t})),"body_onchain_notification"===e.type&&o.default.createElement(o.default.Fragment,null,e.Image&&o.default.createElement(e.Image,{notification:t}),e.From&&o.default.createElement(e.From,{notification:t}),e.To&&o.default.createElement(e.To,{notification:t}),e.Account&&o.default.createElement(e.Account,{notification:t}),e.Asset&&o.default.createElement(e.Asset,{notification:t}),e.AssetReceived&&o.default.createElement(e.AssetReceived,{notification:t}),e.Status&&o.default.createElement(e.Status,{notification:t}),e.Network&&o.default.createElement(e.Network,{notification:t}),e.Rate&&o.default.createElement(e.Rate,{notification:t}),e.Provider&&o.default.createElement(e.Provider,{notification:t}),e.NetworkFee&&o.default.createElement(e.NetworkFee,{notification:t})))}}},{package:"$root$",file:"ui/pages/notification-details/notification-details-body/notification-details-body.tsx"}],[5759,{"../../../components/component-library":4955,"../../../helpers/constants/design-system":5355,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.NotificationDetailsFooter=void 0;var a,o=(a=e("react"))&&a.__esModule?a:{default:a},i=e("../../../components/component-library"),r=e("../../../helpers/constants/design-system");n.NotificationDetailsFooter=({footer:e,notification:t})=>o.default.createElement(i.Box,{width:r.BlockSize.Full,display:r.Display.Flex,flexDirection:r.FlexDirection.Row,justifyContent:r.JustifyContent.spaceBetween,padding:4,gap:4},"footer_onchain_notification"===e.type&&o.default.createElement(o.default.Fragment,null,o.default.createElement(e.ScanLink,{notification:t})),"footer_feature_announcement"===e.type&&o.default.createElement(o.default.Fragment,null,o.default.createElement(e.ExtensionLink,{notification:t})))}}},{package:"$root$",file:"ui/pages/notification-details/notification-details-footer/notification-details-footer.tsx"}],[5760,{"../../../components/component-library":4955,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.NotificationDetailsHeader=void 0;var a,o=(a=e("react"))&&a.__esModule?a:{default:a},i=e("../../../components/component-library");n.NotificationDetailsHeader=({children:e,onClickBack:t})=>o.default.createElement(i.HeaderBase,{padding:4,startAccessory:o.default.createElement(i.ButtonIcon,{ariaLabel:"Back",iconName:i.IconName.ArrowLeft,size:i.ButtonIconSize.Sm,onClick:t}),endAccessory:null},e)}}},{package:"$root$",file:"ui/pages/notification-details/notification-details-header/notification-details-header.tsx"}],[5761,{"../../components/component-library":4955,"../../components/multichain":5092,"../../components/multichain/pages/page":5152,"../../helpers/constants/design-system":5355,"../../helpers/constants/routes":5361,"../../hooks/metamask-notifications/useNotifications":5406,"../../selectors/metamask-notifications/metamask-notifications":5989,"../notifications/notification-components":5775,"./notification-details-body/notification-details-body":5758,"./notification-details-footer/notification-details-footer":5759,"./notification-details-header/notification-details-header":5760,"./utils/utils":5762,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(){const{redirectToNotifications:e}=function(){const e=(0,i.useHistory)(),t=(0,a.useCallback)((()=>{e.push(c.NOTIFICATIONS_ROUTE)}),[e]);return{redirectToNotifications:t}}(),{notification:t}=function(){const{pathname:e}=(0,i.useLocation)(),t=(0,m.getExtractIdentifier)(e),n=(0,o.useSelector)((0,p.getMetamaskNotificationById)(t));return{notification:n}}();if(function(e){const{markNotificationAsRead:t}=(0,d.useMarkNotificationAsRead)();(0,a.useEffect)((()=>{e&&t([{id:e.id,type:e.type,isRead:e.isRead}])}),[t,e])}(t),!t)return e(),null;if(!(0,f.hasNotificationComponents)(t.type))return e(),null;const n=f.NotificationComponents[t.type];return a.default.createElement(l.NotificationsPage,null,a.default.createElement(g.NotificationDetailsHeader,{onClickBack:e},a.default.createElement(n.details.title,{notification:t})),a.default.createElement(u.Content,{padding:0},a.default.createElement(r.Box,{display:s.Display.Flex,flexDirection:s.FlexDirection.Column,gap:2,width:s.BlockSize.Full,height:s.BlockSize.Full,justifyContent:s.JustifyContent.spaceBetween},a.default.createElement(h.NotificationDetailsBody,{body:n.details.body,notification:t}),a.default.createElement(E.NotificationDetailsFooter,{footer:n.footer,notification:t}))))};var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=y(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var r=o?Object.getOwnPropertyDescriptor(e,i):null;r&&(r.get||r.set)?Object.defineProperty(a,i,r):a[i]=e[i]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=e("react-redux"),i=e("react-router-dom"),r=e("../../components/component-library"),s=e("../../helpers/constants/design-system"),c=e("../../helpers/constants/routes"),l=e("../../components/multichain"),u=e("../../components/multichain/pages/page"),d=e("../../hooks/metamask-notifications/useNotifications"),p=e("../../selectors/metamask-notifications/metamask-notifications"),f=e("../notifications/notification-components"),m=e("./utils/utils"),g=e("./notification-details-header/notification-details-header"),h=e("./notification-details-body/notification-details-body"),E=e("./notification-details-footer/notification-details-footer");function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(y=function(e){return e?n:t})(e)}}}},{package:"$root$",file:"ui/pages/notification-details/notification-details.tsx"}],[5762,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.getExtractIdentifier=function(e){if("string"!=typeof e)return"";const t=e.split("/");return t.length>2?t[2]:""}}}},{package:"$root$",file:"ui/pages/notification-details/utils/utils.ts"}],[5763,{"./notifications-settings":5767},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return o.default}});var a,o=(a=e("./notifications-settings"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/notifications-settings/index.js"}],[5764,{"../../../shared/constants/metametrics":4505,"../../components/component-library":4955,"../../components/multichain":5092,"../../contexts/metamask-notifications/metamask-notifications":5326,"../../contexts/metametrics":5327,"../../helpers/constants/design-system":5355,"../../hooks/metamask-notifications/useNotifications":5406,"../../hooks/useI18nContext":5427,"../../selectors/metamask-notifications/metamask-notifications":5989,"../../selectors/metamask-notifications/profile-syncing":5990,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.NotificationsSettingsAllowNotifications=function({loading:e,setLoading:t,disabled:n}){const g=(0,i.useI18nContext)(),h=(0,a.useContext)(r.MetaMetricsContext),{listNotifications:E}=(0,d.useMetamaskNotificationsContext)(),y=(0,o.useSelector)(l.selectIsMetamaskNotificationsEnabled),[A,T]=(0,a.useState)(y),k=(0,o.useSelector)(l.getIsUpdatingMetamaskNotifications),b=(0,o.useSelector)(u.selectIsProfileSyncingEnabled),{enableNotifications:v,error:w}=(0,c.useEnableNotifications)(),{disableNotifications:C,error:I}=(0,c.useDisableNotifications)(),S=w||I;(0,a.useEffect)((()=>{t(k)}),[k,t]),(0,a.useEffect)((()=>{T(y)}),[y]),(0,a.useEffect)((()=>{y&&!S&&E()}),[y,S,E]);const N=(0,a.useCallback)((async()=>{t(!0),y?(await C(),h({category:s.MetaMetricsEventCategory.NotificationSettings,event:s.MetaMetricsEventName.DisablingNotifications})):(await v(),h({category:s.MetaMetricsEventCategory.NotificationSettings,event:s.MetaMetricsEventName.EnablingNotifications,properties:{isProfileSyncingEnabled:b}})),t(!1),T(!A)}),[t,y,C,v,A]),x=(0,a.useMemo)((()=>a.default.createElement(p.Text,{as:"a",href:"https://support.metamask.io/privacy-and-security/profile-privacy",target:"_blank",rel:"noopener noreferrer",key:"privacy-link",color:f.TextColor.infoDefault},g("notificationsSettingsPageAllowNotificationsLink"))),[g]);return a.default.createElement(p.Box,{display:f.Display.Flex,justifyContent:f.JustifyContent.flexStart,flexDirection:f.FlexDirection.Column,alignItems:f.AlignItems.flexStart,gap:4,paddingLeft:8,paddingRight:8,paddingBottom:8,"data-testid":"notifications-settings-allow-notifications"},a.default.createElement(m.NotificationsSettingsBox,{value:A,onToggle:N,disabled:n,loading:e},a.default.createElement(m.NotificationsSettingsType,{title:g("allowNotifications")})),a.default.createElement(p.Text,{variant:f.TextVariant.bodyMd,color:f.TextColor.textAlternative},g("notificationsSettingsPageAllowNotifications",[x])),S&&a.default.createElement(p.Box,null,a.default.createElement(p.Text,{as:"p",color:f.TextColor.errorDefault},g(y?"turnOffMetamaskNotificationsError":"turnOnMetamaskNotificationsError"))))};var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=g(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var r=o?Object.getOwnPropertyDescriptor(e,i):null;r&&(r.get||r.set)?Object.defineProperty(a,i,r):a[i]=e[i]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=e("react-redux"),i=e("../../hooks/useI18nContext"),r=e("../../contexts/metametrics"),s=e("../../../shared/constants/metametrics"),c=e("../../hooks/metamask-notifications/useNotifications"),l=e("../../selectors/metamask-notifications/metamask-notifications"),u=e("../../selectors/metamask-notifications/profile-syncing"),d=e("../../contexts/metamask-notifications/metamask-notifications"),p=e("../../components/component-library"),f=e("../../helpers/constants/design-system"),m=e("../../components/multichain");function g(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(g=function(e){return e?n:t})(e)}}}},{package:"$root$",file:"ui/pages/notifications-settings/notifications-settings-allow-notifications.tsx"}],[5765,{"../../../shared/constants/metametrics":4505,"../../components/multichain":5092,"../../contexts/metametrics":5327,"../../hooks/metamask-notifications/useNotifications":5406,"../../hooks/metamask-notifications/useSwitchNotifications":5408,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.NotificationsSettingsPerAccount=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=l(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var r=o?Object.getOwnPropertyDescriptor(e,i):null;r&&(r.get||r.set)?Object.defineProperty(a,i,r):a[i]=e[i]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=e("../../contexts/metametrics"),i=e("../../../shared/constants/metametrics"),r=e("../../hooks/metamask-notifications/useSwitchNotifications"),s=e("../../components/multichain"),c=e("../../hooks/metamask-notifications/useNotifications");function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(l=function(e){return e?n:t})(e)}n.NotificationsSettingsPerAccount=({address:e,name:t,isEnabled:n,isLoading:l,disabledSwitch:u,refetchAccountSettings:d})=>{const p=(0,a.useContext)(o.MetaMetricsContext),{toggleAccount:f,loading:m,error:g}=function(e,t){const{onChange:n,error:o}=(0,r.useSwitchAccountNotificationsChange)(),{listNotifications:i}=(0,c.useListNotifications)(),[s,l]=(0,a.useState)(!1);return{toggleAccount:(0,a.useCallback)((async a=>{l(!0);try{await n([e],a),await t(),i()}catch{}l(!1)}),[e,i,t,n]),loading:s,error:o}}(e,d),h=l||m,E=g,y=(0,a.useCallback)((async()=>{p({category:i.MetaMetricsEventCategory.NotificationSettings,event:n?i.MetaMetricsEventName.DisablingAccountNotifications:i.MetaMetricsEventName.EnablingAccountNotifications,properties:{address:e}}),await f(!n)}),[e,n,f,p]);return a.default.createElement(a.default.Fragment,null,a.default.createElement(s.NotificationsSettingsBox,{value:n??!1,onToggle:y,key:e,disabled:u,loading:h,error:E},a.default.createElement(s.NotificationsSettingsAccount,{address:e,name:t})))}}}},{package:"$root$",file:"ui/pages/notifications-settings/notifications-settings-per-account.tsx"}],[5766,{"../../../shared/constants/metametrics":4505,"../../components/component-library":4955,"../../components/multichain":5092,"../../contexts/metamask-notifications/metamask-notifications":5326,"../../contexts/metametrics":5327,"../../helpers/constants/design-system":5355,"../../hooks/metamask-notifications/useSwitchNotifications":5408,"../../hooks/useI18nContext":5427,"../../selectors/metamask-notifications/metamask-notifications":5989,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.NotificationsSettingsTypes=function({disabled:e}){const t=(0,s.useI18nContext)(),{listNotifications:n}=(0,c.useMetamaskNotificationsContext)(),m=(0,a.useContext)(i.MetaMetricsContext),g=(0,o.useSelector)(f.selectIsFeatureAnnouncementsEnabled),{onChange:h,error:E}=(0,l.useSwitchFeatureAnnouncementsChange)(),[y,A]=(0,a.useState)(g);return a.default.createElement(a.default.Fragment,null,a.default.createElement(u.Box,{paddingLeft:8,paddingRight:8,paddingBottom:4,paddingTop:4,"data-testid":"notifications-settings-per-types"},a.default.createElement(u.Text,{variant:d.TextVariant.bodyMd,color:d.TextColor.textDefault},t("customizeYourNotifications")),a.default.createElement(u.Text,{variant:d.TextVariant.bodySm,color:d.TextColor.textAlternative},t("customizeYourNotificationsText"))),a.default.createElement(u.Box,{display:d.Display.Flex,justifyContent:d.JustifyContent.flexStart,flexDirection:d.FlexDirection.Column,alignItems:d.AlignItems.flexStart,gap:6,paddingLeft:8,paddingRight:8,paddingBottom:4},a.default.createElement(p.NotificationsSettingsBox,{value:y,onToggle:async()=>{A(!y);try{h(!y),m({category:r.MetaMetricsEventCategory.NotificationInteraction,event:y?r.MetaMetricsEventName.FeatureAnnouncementDisabled:r.MetaMetricsEventName.FeatureAnnouncementEnabled}),n()}catch(e){A(y)}},error:E,disabled:e},a.default.createElement(p.NotificationsSettingsType,{icon:u.IconName.Star,title:t("productAnnouncements")}))),a.default.createElement(u.Box,{borderColor:d.BorderColor.borderMuted,width:d.BlockSize.Full,style:{height:"1px",borderBottomWidth:0}}))};var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=m(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var r=o?Object.getOwnPropertyDescriptor(e,i):null;r&&(r.get||r.set)?Object.defineProperty(a,i,r):a[i]=e[i]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=e("react-redux"),i=e("../../contexts/metametrics"),r=e("../../../shared/constants/metametrics"),s=e("../../hooks/useI18nContext"),c=e("../../contexts/metamask-notifications/metamask-notifications"),l=e("../../hooks/metamask-notifications/useSwitchNotifications"),u=e("../../components/component-library"),d=e("../../helpers/constants/design-system"),p=e("../../components/multichain"),f=e("../../selectors/metamask-notifications/metamask-notifications");function m(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(m=function(e){return e?n:t})(e)}}}},{package:"$root$",file:"ui/pages/notifications-settings/notifications-settings-types.tsx"}],[5767,{"../../components/component-library":4955,"../../components/multichain":5092,"../../components/multichain/pages/page":5152,"../../helpers/constants/design-system":5355,"../../helpers/constants/routes":5361,"../../hooks/metamask-notifications/useSwitchNotifications":5408,"../../hooks/useI18nContext":5427,"../../selectors":5987,"../../selectors/metamask-notifications/metamask-notifications":5989,"./notifications-settings-allow-notifications":5764,"./notifications-settings-per-account":5765,"./notifications-settings-types":5766,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(){const e=(0,i.useHistory)(),t=(0,r.useI18nContext)(),n=(0,o.useSelector)(p.selectIsMetamaskNotificationsEnabled),y=(0,o.useSelector)(p.getIsUpdatingMetamaskNotifications),A=(0,o.useSelector)(f.getInternalAccounts),[T,k]=(0,a.useState)(y),b=(0,a.useMemo)((()=>A.map((e=>e.address))),[A]),v=(0,m.useAccountSettingsProps)(b),w=v.accountsBeingUpdated.length>0,C=async()=>{await v.update(b)};return a.default.createElement(u.NotificationsPage,null,a.default.createElement(d.Header,{startAccessory:a.default.createElement(c.ButtonIcon,{ariaLabel:"Back",iconName:c.IconName.ArrowLeft,size:c.ButtonIconSize.Sm,onClick:()=>e.push(s.NOTIFICATIONS_ROUTE)}),endAccessory:null},t("notifications")),a.default.createElement(d.Content,{padding:0},a.default.createElement(g.NotificationsSettingsAllowNotifications,{loading:T,setLoading:k,"data-testid":"notifications-settings-allow-notifications",disabled:w}),a.default.createElement(c.Box,{borderColor:l.BorderColor.borderMuted,width:l.BlockSize.Full,style:{height:"1px",borderBottomWidth:0}}),n&&a.default.createElement(a.default.Fragment,null,a.default.createElement(h.NotificationsSettingsTypes,{disabled:T||w}),a.default.createElement(a.default.Fragment,null,a.default.createElement(c.Box,{paddingLeft:8,paddingRight:8,paddingBottom:4,paddingTop:4,"data-testid":"notifications-settings-per-account"},a.default.createElement(c.Text,{variant:l.TextVariant.bodyMd,color:l.TextColor.textDefault},t("accountActivity")),a.default.createElement(c.Text,{variant:l.TextVariant.bodySm,color:l.TextColor.textAlternative},t("accountActivityText"))),a.default.createElement(c.Box,{display:l.Display.Flex,justifyContent:l.JustifyContent.flexStart,flexDirection:l.FlexDirection.Column,alignItems:l.AlignItems.flexStart,gap:6,paddingLeft:8,paddingRight:8,paddingBottom:4},A.map((e=>{var t;return a.default.createElement(E.NotificationsSettingsPerAccount,{key:e.id,address:e.address,name:e.metadata.name,disabledSwitch:v.initialLoading||w,isLoading:v.accountsBeingUpdated.includes(e.address),isEnabled:(null===(t=v.data)||void 0===t?void 0:t[e.address.toLowerCase()])??!1,refetchAccountSettings:C})})))))))};var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=y(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var r=o?Object.getOwnPropertyDescriptor(e,i):null;r&&(r.get||r.set)?Object.defineProperty(a,i,r):a[i]=e[i]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=e("react-redux"),i=e("react-router-dom"),r=e("../../hooks/useI18nContext"),s=e("../../helpers/constants/routes"),c=e("../../components/component-library"),l=e("../../helpers/constants/design-system"),u=e("../../components/multichain"),d=e("../../components/multichain/pages/page"),p=e("../../selectors/metamask-notifications/metamask-notifications"),f=e("../../selectors"),m=e("../../hooks/metamask-notifications/useSwitchNotifications"),g=e("./notifications-settings-allow-notifications"),h=e("./notifications-settings-types"),E=e("./notifications-settings-per-account");function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(y=function(e){return e?n:t})(e)}}}},{package:"$root$",file:"ui/pages/notifications-settings/notifications-settings.tsx"}],[5768,{"../../components/component-library":4955,"../../helpers/constants/design-system":5355,"../../hooks/useI18nContext":5427,"../../selectors/metamask-notifications/metamask-notifications":5989,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.NewFeatureTag=function(){const e=(0,l.useI18nContext)();if((0,i.useSelector)(r.selectIsMetamaskNotificationsFeatureSeen))return null;return o.default.createElement(s.Tag,{backgroundColor:c.BackgroundColor.infoMuted,borderStyle:c.BorderStyle.none,borderRadius:c.BorderRadius.MD,label:e("new"),labelProps:{color:c.TextColor.primaryDefault,variant:c.TextVariant.bodySm},paddingLeft:2,paddingRight:2})};var a,o=(a=e("react"))&&a.__esModule?a:{default:a},i=e("react-redux"),r=e("../../selectors/metamask-notifications/metamask-notifications"),s=e("../../components/component-library"),c=e("../../helpers/constants/design-system"),l=e("../../hooks/useI18nContext")}}},{package:"$root$",file:"ui/pages/notifications/NewFeatureTag.tsx"}],[5769,{"./notifications":5787},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return o.default}});var a,o=(a=e("./notifications"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/notifications/index.js"}],[5770,{"../../../../../app/scripts/controllers/metamask-notifications/constants/notification-schema":17,"../../../../../app/scripts/translate":255,"../../../../../shared/modules/conversion.utils":4537,"../../../../components/component-library":4955,"../../../../components/multichain":5092,"../../../../components/multichain/notification-list-item-icon/notification-list-item-icon":5125,"../../../../helpers/constants/design-system":5355,"../../../../helpers/utils/notification.util":5392,"../../../../helpers/utils/util":5399,"../node-guard":5778,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.components=void 0;var a,o=(a=e("react"))&&a.__esModule?a:{default:a},i=e("../../../../../app/scripts/controllers/metamask-notifications/constants/notification-schema"),r=e("../../../../../app/scripts/translate"),s=e("../node-guard"),c=e("../../../../helpers/utils/util"),l=e("../../../../../shared/modules/conversion.utils"),u=e("../../../../helpers/utils/notification.util"),d=e("../../../../helpers/constants/design-system"),p=e("../../../../components/multichain"),f=e("../../../../components/multichain/notification-list-item-icon/notification-list-item-icon"),m=e("../../../../components/component-library");const g=(0,s.isOfTypeNodeGuard)([i.TRIGGER_TYPES.ERC1155_RECEIVED,i.TRIGGER_TYPES.ERC1155_SENT]),h=e=>e.type===i.TRIGGER_TYPES.ERC1155_SENT,E=e=>h(e)?(0,r.t)("notificationItemNFTSentTo"):(0,r.t)("notificationItemNFTReceivedFrom"),y=e=>{const t=(0,c.shortenAddress)(h(e)?e.data.to:e.data.from);return(0,u.createTextItems)([E(e)||"",t],d.TextVariant.bodySm)};n.components={guardFn:g,item:({notification:e,onClick:t})=>{var n,a,i,r,s;return o.default.createElement(p.NotificationListItem,{id:e.id,isRead:e.isRead,icon:{type:null!==(n=e.data.nft)&&void 0!==n&&n.image?f.NotificationListItemIconType.Nft:f.NotificationListItemIconType.Token,value:(null===(a=e.data.nft)||void 0===a?void 0:a.image)||"http://foo.com/bar.png",badge:{icon:h(e)?m.IconName.Arrow2UpRight:m.IconName.Received,position:m.BadgeWrapperPosition.bottomRight}},title:y(e),description:(r=e,(0,u.createTextItems)([(null===(s=r.data.nft)||void 0===s?void 0:s.collection.name)||""],d.TextVariant.bodyMd)),createdAt:new Date(e.createdAt),amount:(null===(i=e.data.nft)||void 0===i?void 0:i.token_id)||"",onClick:t})},details:{title:({notification:e})=>o.default.createElement(p.NotificationDetailTitle,{title:`${h(e)?(0,r.t)("notificationItemSent"):(0,r.t)("notificationItemReceived")} NFT`,date:(0,u.formatIsoDateString)(e.createdAt)}),body:{type:"body_onchain_notification",Image:({notification:e})=>{var t,n,a;const i=(0,l.decimalToHex)(e.chain_id),{nativeCurrencyLogo:r,nativeCurrencyName:s}=(0,u.getNetworkDetailsByChainId)(`0x${i}`);return o.default.createElement(p.NotificationDetailNft,{networkSrc:r,tokenId:(null===(t=e.data.nft)||void 0===t?void 0:t.token_id)||"",tokenName:(null===(n=e.data.nft)||void 0===n?void 0:n.name)||"",tokenSrc:(null===(a=e.data.nft)||void 0===a?void 0:a.image)||"",networkName:s})},From:({notification:e})=>o.default.createElement(p.NotificationDetailAddress,{side:`${(0,r.t)("notificationItemFrom")}${h(e)?` (${(0,r.t)("you")})`:""}`,address:e.data.from}),To:({notification:e})=>o.default.createElement(p.NotificationDetailAddress,{side:`${(0,r.t)("notificationItemTo")}${h(e)?"":` (${(0,r.t)("you")})`}`,address:e.data.to}),Status:()=>o.default.createElement(p.NotificationDetailInfo,{icon:{iconName:m.IconName.Check,color:d.TextColor.successDefault,backgroundColor:d.BackgroundColor.successMuted},label:(0,r.t)("notificationItemStatus")||"",detail:(0,r.t)("notificationItemConfirmed")||""}),Asset:({notification:e})=>{var t,n,a;const i=(0,l.decimalToHex)(e.chain_id),{nativeCurrencyLogo:s}=(0,u.getNetworkDetailsByChainId)(`0x${i}`);return o.default.createElement(p.NotificationDetailCollection,{icon:{src:(null===(t=e.data.nft)||void 0===t?void 0:t.image)||"",badgeSrc:s},label:(0,r.t)("notificationItemCollection")||"",collection:`${null===(n=e.data.nft)||void 0===n?void 0:n.collection.name} (${null===(a=e.data.nft)||void 0===a?void 0:a.token_id})`})},Network:({notification:e})=>{const t=(0,l.decimalToHex)(e.chain_id),{nativeCurrencyLogo:n,nativeCurrencyName:a}=(0,u.getNetworkDetailsByChainId)(`0x${t}`);return o.default.createElement(p.NotificationDetailAsset,{icon:{src:n},label:(0,r.t)("notificationDetailNetwork")||"",detail:a})},NetworkFee:({notification:e})=>o.default.createElement(p.NotificationDetailNetworkFee,{notification:e})}},footer:{type:"footer_onchain_notification",ScanLink:({notification:e})=>o.default.createElement(p.NotificationDetailBlockExplorerButton,{notification:e,chainId:e.chain_id,txHash:e.tx_hash,id:e.id})}}}}},{package:"$root$",file:"ui/pages/notifications/notification-components/erc1155-sent-received/erc1155-sent-received.tsx"}],[5771,{"../../../../../app/scripts/controllers/metamask-notifications/constants/notification-schema":17,"../../../../../app/scripts/translate":255,"../../../../../shared/modules/conversion.utils":4537,"../../../../components/component-library":4955,"../../../../components/multichain":5092,"../../../../components/multichain/notification-list-item-icon/notification-list-item-icon":5125,"../../../../helpers/constants/design-system":5355,"../../../../helpers/utils/notification.util":5392,"../../../../helpers/utils/util":5399,"../node-guard":5778,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.components=void 0;var a,o=(a=e("react"))&&a.__esModule?a:{default:a},i=e("../../../../../app/scripts/translate"),r=e("../../../../../app/scripts/controllers/metamask-notifications/constants/notification-schema"),s=e("../node-guard"),c=e("../../../../components/multichain/notification-list-item-icon/notification-list-item-icon"),l=e("../../../../helpers/utils/util"),u=e("../../../../../shared/modules/conversion.utils"),d=e("../../../../helpers/utils/notification.util"),p=e("../../../../components/multichain"),f=e("../../../../helpers/constants/design-system"),m=e("../../../../components/component-library");const g=(0,s.isOfTypeNodeGuard)([r.TRIGGER_TYPES.ERC20_RECEIVED,r.TRIGGER_TYPES.ERC20_SENT]),h=e=>e.type===r.TRIGGER_TYPES.ERC20_SENT,E=e=>h(e)?(0,i.t)("notificationItemSentTo"):(0,i.t)("notificationItemReceivedFrom"),y=e=>{const t=(0,l.shortenAddress)(h(e)?e.data.to:e.data.from);return(0,d.createTextItems)([E(e)||"",t],f.TextVariant.bodySm)};n.components={guardFn:g,item:({notification:e,onClick:t})=>{return o.default.createElement(p.NotificationListItem,{id:e.id,isRead:e.isRead,icon:{type:c.NotificationListItemIconType.Token,value:e.data.token.image,badge:{icon:h(e)?m.IconName.Arrow2UpRight:m.IconName.Received,position:m.BadgeWrapperPosition.bottomRight}},title:y(e),description:(n=e,(0,d.createTextItems)([n.data.token.name],f.TextVariant.bodyMd)),createdAt:new Date(e.createdAt),amount:`${(0,d.getAmount)(e.data.token.amount,e.data.token.decimals,{shouldEllipse:!0})} ${e.data.token.symbol}`,onClick:t});var n},details:{title:({notification:e})=>o.default.createElement(p.NotificationDetailTitle,{title:`${h(e)?(0,i.t)("notificationItemSent"):(0,i.t)("notificationItemReceived")} ${e.data.token.symbol}`,date:(0,d.formatIsoDateString)(e.createdAt)}),body:{type:"body_onchain_notification",From:({notification:e})=>o.default.createElement(p.NotificationDetailAddress,{side:`${(0,i.t)("notificationItemFrom")}${h(e)?` (${(0,i.t)("you")})`:""}`,address:e.data.from}),To:({notification:e})=>o.default.createElement(p.NotificationDetailAddress,{side:`${(0,i.t)("notificationItemTo")}${h(e)?"":` (${(0,i.t)("you")})`}`,address:e.data.to}),Status:({notification:e})=>o.default.createElement(p.NotificationDetailInfo,{icon:{iconName:m.IconName.Check,color:f.TextColor.successDefault,backgroundColor:f.BackgroundColor.successMuted},label:(0,i.t)("notificationItemStatus")||"",detail:(0,i.t)("notificationItemConfirmed")||"",action:o.default.createElement(p.NotificationDetailCopyButton,{text:e.tx_hash,displayText:(0,i.t)("notificationItemTransactionId")||""})}),Asset:({notification:e})=>{const t=(0,u.decimalToHex)(e.chain_id),{nativeCurrencyLogo:n}=(0,d.getNetworkDetailsByChainId)(`0x${t}`);return o.default.createElement(p.NotificationDetailAsset,{icon:{src:e.data.token.image,badge:{src:n,position:m.BadgeWrapperPosition.topRight}},label:(0,i.t)("asset")||"",detail:e.data.token.symbol,fiatValue:`$${(0,d.getUsdAmount)(e.data.token.amount,e.data.token.decimals,e.data.token.usd)}`,value:`${(0,d.getAmount)(e.data.token.amount,e.data.token.decimals,{shouldEllipse:!0})} ${e.data.token.symbol}`})},Network:({notification:e})=>{const t=(0,u.decimalToHex)(e.chain_id),{nativeCurrencyLogo:n,nativeCurrencyName:a}=(0,d.getNetworkDetailsByChainId)(`0x${t}`);return o.default.createElement(p.NotificationDetailAsset,{icon:{src:n},label:(0,i.t)("notificationDetailNetwork")||"",detail:a})},NetworkFee:({notification:e})=>o.default.createElement(p.NotificationDetailNetworkFee,{notification:e})}},footer:{type:"footer_onchain_notification",ScanLink:({notification:e})=>o.default.createElement(p.NotificationDetailBlockExplorerButton,{notification:e,chainId:e.chain_id,txHash:e.tx_hash,id:e.id})}}}}},{package:"$root$",file:"ui/pages/notifications/notification-components/erc20-sent-received/erc20-sent-received.tsx"}],[5772,{"../../../../../app/scripts/controllers/metamask-notifications/constants/notification-schema":17,"../../../../../app/scripts/translate":255,"../../../../../shared/modules/conversion.utils":4537,"../../../../components/component-library":4955,"../../../../components/multichain":5092,"../../../../components/multichain/notification-list-item-icon/notification-list-item-icon":5125,"../../../../helpers/constants/design-system":5355,"../../../../helpers/utils/notification.util":5392,"../../../../helpers/utils/util":5399,"../node-guard":5778,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.components=void 0;var a,o=(a=e("react"))&&a.__esModule?a:{default:a},i=e("../../../../../app/scripts/controllers/metamask-notifications/constants/notification-schema"),r=e("../../../../../app/scripts/translate"),s=e("../node-guard"),c=e("../../../../helpers/utils/util"),l=e("../../../../../shared/modules/conversion.utils"),u=e("../../../../helpers/utils/notification.util"),d=e("../../../../helpers/constants/design-system"),p=e("../../../../components/multichain"),f=e("../../../../components/multichain/notification-list-item-icon/notification-list-item-icon"),m=e("../../../../components/component-library");const g=(0,s.isOfTypeNodeGuard)([i.TRIGGER_TYPES.ERC721_RECEIVED,i.TRIGGER_TYPES.ERC721_SENT]),h=e=>e.type===i.TRIGGER_TYPES.ERC721_SENT,E=e=>h(e)?(0,r.t)("notificationItemNFTSentTo"):(0,r.t)("notificationItemNFTReceivedFrom"),y=e=>{const t=(0,c.shortenAddress)(h(e)?e.data.to:e.data.from);return(0,u.createTextItems)([E(e)||"",t],d.TextVariant.bodySm)};n.components={guardFn:g,item:({notification:e,onClick:t})=>{return o.default.createElement(p.NotificationListItem,{id:e.id,isRead:e.isRead,icon:{type:f.NotificationListItemIconType.Nft,value:e.data.nft.image,badge:{icon:h(e)?m.IconName.Arrow2UpRight:m.IconName.Received,position:m.BadgeWrapperPosition.bottomRight}},title:y(e),description:(n=e,(0,u.createTextItems)([n.data.nft.collection.name],d.TextVariant.bodyMd)),createdAt:new Date(e.createdAt),amount:`#${e.data.nft.token_id}`,onClick:t});var n},details:{title:({notification:e})=>o.default.createElement(p.NotificationDetailTitle,{title:`${h(e)?(0,r.t)("notificationItemSent"):(0,r.t)("notificationItemReceived")} NFT`,date:(0,u.formatIsoDateString)(e.createdAt)}),body:{type:"body_onchain_notification",Image:({notification:e})=>{const t=(0,l.decimalToHex)(e.chain_id),{nativeCurrencyLogo:n,nativeCurrencyName:a}=(0,u.getNetworkDetailsByChainId)(`0x${t}`);return o.default.createElement(p.NotificationDetailNft,{networkSrc:n,tokenId:e.data.nft.token_id,tokenName:e.data.nft.name,tokenSrc:e.data.nft.image,networkName:a})},From:({notification:e})=>o.default.createElement(p.NotificationDetailAddress,{side:`${(0,r.t)("notificationItemFrom")}${h(e)?` (${(0,r.t)("you")})`:""}`,address:e.data.from}),To:({notification:e})=>o.default.createElement(p.NotificationDetailAddress,{side:`${(0,r.t)("notificationItemTo")}${h(e)?"":` (${(0,r.t)("you")})`}`,address:e.data.to}),Status:()=>o.default.createElement(p.NotificationDetailInfo,{icon:{iconName:m.IconName.Check,color:d.TextColor.successDefault,backgroundColor:d.BackgroundColor.successMuted},label:(0,r.t)("notificationItemStatus")||"",detail:(0,r.t)("notificationItemConfirmed")||""}),Asset:({notification:e})=>{const t=(0,l.decimalToHex)(e.chain_id),{nativeCurrencyLogo:n}=(0,u.getNetworkDetailsByChainId)(`0x${t}`);return o.default.createElement(p.NotificationDetailCollection,{icon:{src:e.data.nft.image,badgeSrc:n},label:(0,r.t)("notificationItemCollection")||"",collection:`${e.data.nft.collection.name} (${e.data.nft.token_id})`})},Network:({notification:e})=>{const t=(0,l.decimalToHex)(e.chain_id),{nativeCurrencyLogo:n,nativeCurrencyName:a}=(0,u.getNetworkDetailsByChainId)(`0x${t}`);return o.default.createElement(p.NotificationDetailAsset,{icon:{src:n},label:(0,r.t)("notificationDetailNetwork")||"",detail:a})},NetworkFee:({notification:e})=>o.default.createElement(p.NotificationDetailNetworkFee,{notification:e})}},footer:{type:"footer_onchain_notification",ScanLink:({notification:e})=>o.default.createElement(p.NotificationDetailBlockExplorerButton,{notification:e,chainId:e.chain_id,txHash:e.tx_hash,id:e.id})}}}}},{package:"$root$",file:"ui/pages/notifications/notification-components/erc721-sent-received/erc721-sent-received.tsx"}],[5773,{"../../../../../app/scripts/controllers/metamask-notifications/constants/notification-schema":17,"../../../../../app/scripts/translate":255,"../../../../../shared/modules/conversion.utils":4537,"../../../../components/component-library":4955,"../../../../components/multichain":5092,"../../../../components/multichain/notification-list-item-icon/notification-list-item-icon":5125,"../../../../helpers/constants/design-system":5355,"../../../../helpers/utils/notification.util":5392,"../../../../helpers/utils/util":5399,"../node-guard":5778,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.components=void 0;var a,o=(a=e("react"))&&a.__esModule?a:{default:a},i=e("../../../../../app/scripts/translate"),r=e("../../../../../app/scripts/controllers/metamask-notifications/constants/notification-schema"),s=e("../node-guard"),c=e("../../../../../shared/modules/conversion.utils"),l=e("../../../../helpers/utils/util"),u=e("../../../../helpers/utils/notification.util"),d=e("../../../../helpers/constants/design-system"),p=e("../../../../components/multichain"),f=e("../../../../components/multichain/notification-list-item-icon/notification-list-item-icon"),m=e("../../../../components/component-library");const g=(0,s.isOfTypeNodeGuard)([r.TRIGGER_TYPES.ETH_RECEIVED,r.TRIGGER_TYPES.ETH_SENT]),h=e=>e.type===r.TRIGGER_TYPES.ETH_SENT,E=e=>h(e)?(0,i.t)("notificationItemSentTo"):(0,i.t)("notificationItemReceivedFrom"),y=e=>{const t=(0,c.decimalToHex)(e.chain_id);return(0,u.getNetworkDetailsByChainId)(`0x${t}`)},A=e=>{const t=(0,l.shortenAddress)(h(e)?e.data.to:e.data.from);return(0,u.createTextItems)([E(e)||"",t],d.TextVariant.bodySm)},T=e=>{const{nativeCurrencySymbol:t}=y(e);return(0,u.createTextItems)([t],d.TextVariant.bodyMd)};n.components={guardFn:g,item:({notification:e,onClick:t})=>{const{nativeCurrencySymbol:n,nativeCurrencyLogo:a}=y(e);return o.default.createElement(p.NotificationListItem,{id:e.id,isRead:e.isRead,icon:{type:f.NotificationListItemIconType.Token,value:a,badge:{icon:h(e)?m.IconName.Arrow2UpRight:m.IconName.Received,position:m.BadgeWrapperPosition.bottomRight}},title:A(e),description:T(e),createdAt:new Date(e.createdAt),amount:`${(0,u.formatAmount)(parseFloat(e.data.amount.eth),{shouldEllipse:!0})} ${n}`,onClick:t})},details:{title:({notification:e})=>{const t=(0,c.decimalToHex)(e.chain_id),{nativeCurrencySymbol:n}=(0,u.getNetworkDetailsByChainId)(`0x${t}`);return o.default.createElement(p.NotificationDetailTitle,{title:`${h(e)?(0,i.t)("notificationItemSent"):(0,i.t)("notificationItemReceived")} ${n}`,date:(0,u.formatIsoDateString)(e.createdAt)})},body:{type:"body_onchain_notification",From:({notification:e})=>o.default.createElement(p.NotificationDetailAddress,{side:`${(0,i.t)("notificationItemFrom")}${h(e)?` (${(0,i.t)("you")})`:""}`,address:e.data.from}),To:({notification:e})=>o.default.createElement(p.NotificationDetailAddress,{side:`${(0,i.t)("notificationItemTo")}${h(e)?"":` (${(0,i.t)("you")})`}`,address:e.data.to}),Status:({notification:e})=>o.default.createElement(p.NotificationDetailInfo,{icon:{iconName:m.IconName.Check,color:d.TextColor.successDefault,backgroundColor:d.BackgroundColor.successMuted},label:(0,i.t)("notificationItemStatus")||"",detail:(0,i.t)("notificationItemConfirmed")||"",action:o.default.createElement(p.NotificationDetailCopyButton,{text:e.tx_hash,displayText:(0,i.t)("notificationItemTransactionId")||""})}),Asset:({notification:e})=>{const t=(0,c.decimalToHex)(e.chain_id),{nativeCurrencyLogo:n,nativeCurrencySymbol:a}=(0,u.getNetworkDetailsByChainId)(`0x${t}`);return o.default.createElement(p.NotificationDetailAsset,{icon:{src:n,badge:{src:n,position:m.BadgeWrapperPosition.topRight}},label:(0,i.t)("asset")||"",detail:a,fiatValue:`$${(0,u.formatAmount)(parseFloat(e.data.amount.usd),{shouldEllipse:!0})}`,value:`${(0,u.formatAmount)(parseFloat(e.data.amount.eth),{shouldEllipse:!0})} ${a}`})},Network:({notification:e})=>{const t=(0,c.decimalToHex)(e.chain_id),{nativeCurrencyLogo:n,nativeCurrencyName:a}=(0,u.getNetworkDetailsByChainId)(`0x${t}`);return o.default.createElement(p.NotificationDetailAsset,{icon:{src:n},label:(0,i.t)("notificationDetailNetwork")||"",detail:a})},NetworkFee:({notification:e})=>o.default.createElement(p.NotificationDetailNetworkFee,{notification:e})}},footer:{type:"footer_onchain_notification",ScanLink:({notification:e})=>o.default.createElement(p.NotificationDetailBlockExplorerButton,{notification:e,chainId:e.chain_id,txHash:e.tx_hash,id:e.id})}}}}},{package:"$root$",file:"ui/pages/notifications/notification-components/eth-sent-received/eth-sent-received.tsx"}],[5774,{"../../../../../app/scripts/controllers/metamask-notifications/constants/notification-schema":17,"../../../../components/component-library":4955,"../../../../components/multichain":5092,"../../../../components/multichain/notification-list-item-icon/notification-list-item-icon":5125,"../../../../helpers/constants/design-system":5355,"../../../../helpers/utils/notification.util":5392,"../node-guard":5778,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.components=void 0;var a,o=(a=e("react"))&&a.__esModule?a:{default:a},i=e("../../../../../app/scripts/controllers/metamask-notifications/constants/notification-schema"),r=e("../node-guard"),s=e("../../../../components/multichain/notification-list-item-icon/notification-list-item-icon"),c=e("../../../../helpers/utils/notification.util"),l=e("../../../../components/component-library"),u=e("../../../../components/multichain"),d=e("../../../../helpers/constants/design-system");const p=(0,r.isOfTypeNodeGuard)([i.TRIGGER_TYPES.FEATURES_ANNOUNCEMENT]),f=e=>(0,c.createTextItems)([e.data.shortDescription],d.TextVariant.bodyMd);n.components={guardFn:p,item:({notification:e,onClick:t})=>{return o.default.createElement(u.NotificationListItem,{id:e.id,isRead:e.isRead,icon:{type:s.NotificationListItemIconType.Token,value:"./images/product-announcement-logo.svg"},title:(n=e,(0,c.createTextItems)([n.data.title],d.TextVariant.bodySm)),description:f(e),createdAt:new Date(e.createdAt),onClick:t});var n},details:{title:({notification:e})=>o.default.createElement(u.NotificationDetailTitle,{title:e.data.title,date:(0,c.formatIsoDateString)(e.createdAt)}),body:{type:"body_feature_announcement",Image:({notification:e})=>o.default.createElement(l.Box,{display:d.Display.Block,width:d.BlockSize.Full,paddingLeft:4,paddingRight:4,paddingBottom:4},o.default.createElement(l.Box,{as:"img",src:`https:${e.data.image.url}?fm=jpg&fl=progressive&w=1000&q=80`,alt:e.data.title,title:e.data.title,display:d.Display.Block,justifyContent:d.JustifyContent.center,borderRadius:d.BorderRadius.XL,width:d.BlockSize.Full})),Description:({notification:e})=>o.default.createElement(l.Box,{paddingLeft:4,paddingRight:4},o.default.createElement(l.Text,{variant:d.TextVariant.bodyMd,dangerouslySetInnerHTML:{__html:e.data.longDescription}}))}},footer:{type:"footer_feature_announcement",ExtensionLink:({notification:e})=>e.data.extensionLink?o.default.createElement(u.NotificationDetailButton,{notification:e,variant:l.ButtonVariant.Primary,text:e.data.extensionLink.extensionLinkText,href:`/${e.data.extensionLink.extensionLinkRoute}`,id:e.id,endIconName:!1,isExternal:!0}):null}}}}},{package:"$root$",file:"ui/pages/notifications/notification-components/feature-announcement/feature-announcement.tsx"}],[5775,{"../../../../app/scripts/controllers/metamask-notifications/constants/notification-schema":17,"./erc1155-sent-received/erc1155-sent-received":5770,"./erc20-sent-received/erc20-sent-received":5771,"./erc721-sent-received/erc721-sent-received":5772,"./eth-sent-received/eth-sent-received":5773,"./feature-announcement/feature-announcement":5774,"./lido-stake-ready-to-be-withdrawn/lido-stake-ready-to-be-withdrawn":5776,"./lido-withdrawal-requested/lido-withdrawal-requested":5777,"./stake/stake":5780,"./swap-completed/swap-completed":5781},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.hasNotificationComponents=n.NotificationComponents=void 0;var a=e("../../../../app/scripts/controllers/metamask-notifications/constants/notification-schema"),o=e("./erc20-sent-received/erc20-sent-received"),i=e("./erc721-sent-received/erc721-sent-received"),r=e("./erc1155-sent-received/erc1155-sent-received"),s=e("./eth-sent-received/eth-sent-received"),c=e("./feature-announcement/feature-announcement"),l=e("./stake/stake"),u=e("./swap-completed/swap-completed"),d=e("./lido-withdrawal-requested/lido-withdrawal-requested"),p=e("./lido-stake-ready-to-be-withdrawn/lido-stake-ready-to-be-withdrawn");const f=n.NotificationComponents={[a.TRIGGER_TYPES.ERC20_SENT]:o.components,[a.TRIGGER_TYPES.ERC20_RECEIVED]:o.components,[a.TRIGGER_TYPES.ERC721_SENT]:i.components,[a.TRIGGER_TYPES.ERC721_RECEIVED]:i.components,[a.TRIGGER_TYPES.ERC1155_SENT]:r.components,[a.TRIGGER_TYPES.ERC1155_RECEIVED]:r.components,[a.TRIGGER_TYPES.ETH_SENT]:s.components,[a.TRIGGER_TYPES.ETH_RECEIVED]:s.components,[a.TRIGGER_TYPES.FEATURES_ANNOUNCEMENT]:c.components,[a.TRIGGER_TYPES.ROCKETPOOL_STAKE_COMPLETED]:l.components,[a.TRIGGER_TYPES.ROCKETPOOL_UNSTAKE_COMPLETED]:l.components,[a.TRIGGER_TYPES.LIDO_STAKE_COMPLETED]:l.components,[a.TRIGGER_TYPES.LIDO_WITHDRAWAL_COMPLETED]:l.components,[a.TRIGGER_TYPES.LIDO_WITHDRAWAL_REQUESTED]:d.components,[a.TRIGGER_TYPES.METAMASK_SWAP_COMPLETED]:u.components,[a.TRIGGER_TYPES.LIDO_STAKE_READY_TO_BE_WITHDRAWN]:p.components};n.hasNotificationComponents=e=>e in f}}},{package:"$root$",file:"ui/pages/notifications/notification-components/hybrid-compute-sdk.ts"}],[5776,{"../../../../../app/scripts/controllers/metamask-notifications/constants/notification-schema":17,"../../../../../app/scripts/translate":255,"../../../../../shared/modules/conversion.utils":4537,"../../../../components/component-library":4955,"../../../../components/multichain":5092,"../../../../components/multichain/notification-list-item-icon/notification-list-item-icon":5125,"../../../../helpers/constants/design-system":5355,"../../../../helpers/utils/notification.util":5392,"../node-guard":5778,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.components=void 0;var a,o=(a=e("react"))&&a.__esModule?a:{default:a},i=e("../../../../../app/scripts/controllers/metamask-notifications/constants/notification-schema"),r=e("../node-guard"),s=e("../../../../components/multichain"),c=e("../../../../../app/scripts/translate"),l=e("../../../../helpers/utils/notification.util"),u=e("../../../../helpers/constants/design-system"),d=e("../../../../components/multichain/notification-list-item-icon/notification-list-item-icon"),p=e("../../../../components/component-library"),f=e("../../../../../shared/modules/conversion.utils");const m=(0,r.isOfTypeNodeGuard)([i.TRIGGER_TYPES.LIDO_STAKE_READY_TO_BE_WITHDRAWN]),g=e=>{const t=(0,l.formatAmount)(parseFloat(e.data.staked_eth.amount),{shouldEllipse:!0}),n=(0,c.t)("notificationItemLidoStakeReadyToBeWithdrawnMessage",[`${t} ${e.data.staked_eth.symbol}`])||"";return(0,l.createTextItems)([n],u.TextVariant.bodyMd)};n.components={guardFn:m,item:({notification:e,onClick:t})=>o.default.createElement(s.NotificationListItem,{id:e.trigger_id,isRead:e.isRead,icon:{type:d.NotificationListItemIconType.Token,value:e.data.staked_eth.image,badge:{icon:p.IconName.Stake,position:p.BadgeWrapperPosition.bottomRight}},title:(0,l.createTextItems)([(0,c.t)("notificationItemLidoStakeReadyToBeWithdrawn")||""],u.TextVariant.bodySm),description:g(e),createdAt:new Date(e.createdAt),onClick:t}),details:{title:({notification:e})=>o.default.createElement(s.NotificationDetailTitle,{title:(0,c.t)("notificationItemLidoStakeReadyToBeWithdrawn")||"",date:(0,l.formatIsoDateString)(e.createdAt)}),body:{type:"body_onchain_notification",Account:({notification:e})=>e.address?o.default.createElement(s.NotificationDetailAddress,{side:(0,c.t)("account")||"",address:e.address}):null,Status:()=>o.default.createElement(s.NotificationDetailInfo,{icon:{iconName:p.IconName.Check,color:u.TextColor.successDefault,backgroundColor:u.BackgroundColor.successMuted},label:(0,c.t)("notificationItemStatus")||"",detail:(0,c.t)("notificationItemConfirmed")||""}),Asset:({notification:e})=>{const t=(0,f.decimalToHex)(e.chain_id),{nativeCurrencyLogo:n}=(0,l.getNetworkDetailsByChainId)(`0x${t}`);return o.default.createElement(s.NotificationDetailAsset,{icon:{src:e.data.staked_eth.image,badge:{src:n,position:p.BadgeWrapperPosition.topRight}},label:(0,c.t)("notificationItemLidoStakeReadyToBeWithdrawn")||"",detail:e.data.staked_eth.symbol,fiatValue:`$${(0,l.formatAmount)(parseFloat(e.data.staked_eth.usd),{shouldEllipse:!0})}`,value:`${(0,l.formatAmount)(parseFloat(e.data.staked_eth.amount),{shouldEllipse:!0})} ${e.data.staked_eth.symbol}`})},AssetReceived:({notification:e})=>{const t=(0,f.decimalToHex)(e.chain_id),{nativeCurrencyLogo:n}=(0,l.getNetworkDetailsByChainId)(`0x${t}`);return o.default.createElement(s.NotificationDetailAsset,{icon:{src:e.data.staked_eth.image,badge:{src:n,position:p.BadgeWrapperPosition.topRight}},label:(0,c.t)("notificationItemStakingProvider")||"",detail:e.data.staked_eth.symbol})}}},footer:{type:"footer_onchain_notification",ScanLink:({notification:e})=>o.default.createElement(s.NotificationDetailBlockExplorerButton,{notification:e,chainId:e.chain_id,txHash:e.tx_hash,id:e.id})}}}}},{package:"$root$",file:"ui/pages/notifications/notification-components/lido-stake-ready-to-be-withdrawn/lido-stake-ready-to-be-withdrawn.tsx"}],[5777,{"../../../../../app/scripts/controllers/metamask-notifications/constants/notification-schema":17,"../../../../../app/scripts/translate":255,"../../../../../shared/modules/conversion.utils":4537,"../../../../components/component-library":4955,"../../../../components/multichain":5092,"../../../../components/multichain/notification-list-item-icon/notification-list-item-icon":5125,"../../../../helpers/constants/design-system":5355,"../../../../helpers/utils/notification.util":5392,"../node-guard":5778,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.components=void 0;var a,o=(a=e("react"))&&a.__esModule?a:{default:a},i=e("../../../../../app/scripts/controllers/metamask-notifications/constants/notification-schema"),r=e("../node-guard"),s=e("../../../../components/multichain/notification-list-item-icon/notification-list-item-icon"),c=e("../../../../components/multichain"),l=e("../../../../helpers/utils/notification.util"),u=e("../../../../../app/scripts/translate"),d=e("../../../../helpers/constants/design-system"),p=e("../../../../components/component-library"),f=e("../../../../../shared/modules/conversion.utils");const m=(0,r.isOfTypeNodeGuard)([i.TRIGGER_TYPES.LIDO_WITHDRAWAL_REQUESTED]),g=e=>{const t=(0,l.getAmount)(e.data.stake_in.amount,e.data.stake_in.decimals,{shouldEllipse:!0}),n=(0,u.t)("notificationItemLidoWithdrawalRequestedMessage",[`${t} ${e.data.stake_in.symbol}`])||"";return(0,l.createTextItems)([n],d.TextVariant.bodyMd)};n.components={guardFn:m,item:({notification:e,onClick:t})=>o.default.createElement(c.NotificationListItem,{id:e.id,isRead:e.isRead,icon:{type:s.NotificationListItemIconType.Token,value:e.data.stake_in.image,badge:{icon:p.IconName.Stake,position:p.BadgeWrapperPosition.bottomRight}},title:(0,l.createTextItems)([(0,u.t)("notificationItemUnStakingRequested")||""],d.TextVariant.bodySm),description:g(e),createdAt:new Date(e.createdAt),amount:`${(0,l.getAmount)(e.data.stake_in.amount,e.data.stake_in.decimals,{shouldEllipse:!0})} ${e.data.stake_in.symbol}`,onClick:t}),details:{title:({notification:e})=>o.default.createElement(c.NotificationDetailTitle,{title:(0,u.t)("notificationItemUnStakingRequested")||"",date:(0,l.formatIsoDateString)(e.createdAt)}),body:{type:"body_onchain_notification",Account:({notification:e})=>e.address?o.default.createElement(c.NotificationDetailAddress,{side:(0,u.t)("account")||"",address:e.address}):null,Status:({notification:e})=>o.default.createElement(c.NotificationDetailInfo,{icon:{iconName:p.IconName.Check,color:d.TextColor.successDefault,backgroundColor:d.BackgroundColor.successMuted},label:(0,u.t)("notificationItemStatus")||"",detail:(0,u.t)("notificationItemConfirmed")||"",action:o.default.createElement(c.NotificationDetailCopyButton,{text:e.tx_hash,displayText:(0,u.t)("notificationItemTransactionId")||""})}),Asset:({notification:e})=>{const t=(0,f.decimalToHex)(e.chain_id),{nativeCurrencyLogo:n}=(0,l.getNetworkDetailsByChainId)(`0x${t}`);return o.default.createElement(c.NotificationDetailAsset,{icon:{src:e.data.stake_in.image,badge:{src:n,position:p.BadgeWrapperPosition.topRight}},label:(0,u.t)("notificationItemUnStakingRequested")||"",detail:e.data.stake_in.symbol,fiatValue:`$${(0,l.getUsdAmount)(e.data.stake_in.amount,e.data.stake_in.decimals,e.data.stake_in.usd)}`,value:`${(0,l.getAmount)(e.data.stake_in.amount,e.data.stake_in.decimals,{shouldEllipse:!0})} ${e.data.stake_in.symbol}`})},AssetReceived:({notification:e})=>{const t=(0,f.decimalToHex)(e.chain_id),{nativeCurrencyLogo:n}=(0,l.getNetworkDetailsByChainId)(`0x${t}`);return o.default.createElement(c.NotificationDetailAsset,{icon:{src:e.data.stake_in.image,badge:{src:n,position:p.BadgeWrapperPosition.topRight}},label:(0,u.t)("notificationItemStakingProvider")||"",detail:"Lido-staked ETH"})}}},footer:{type:"footer_onchain_notification",ScanLink:({notification:e})=>o.default.createElement(c.NotificationDetailBlockExplorerButton,{notification:e,chainId:e.chain_id,txHash:e.tx_hash,id:e.id})}}}}},{package:"$root$",file:"ui/pages/notifications/notification-components/lido-withdrawal-requested/lido-withdrawal-requested.tsx"}],[5778,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.isOfTypeNodeGuard=void 0;n.isOfTypeNodeGuard=e=>t=>e.includes(t.type)}}},{package:"$root$",file:"ui/pages/notifications/notification-components/node-guard.ts"}],[5779,{"../../../../../shared/constants/metametrics":4505,"../../../../components/multichain":5092,"../../../../contexts/metametrics":5327,"../../../../helpers/utils/util":5399,"../../../../selectors":5987,"../../../../store/actions":5998,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.SnapComponent=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=p(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var r=o?Object.getOwnPropertyDescriptor(e,i):null;r&&(r.get||r.set)?Object.defineProperty(a,i,r):a[i]=e[i]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=e("react-redux"),i=e("react-router-dom"),r=e("../../../../../shared/constants/metametrics"),s=e("../../../../contexts/metametrics"),c=e("../../../../components/multichain"),l=e("../../../../selectors"),u=e("../../../../store/actions"),d=e("../../../../helpers/utils/util");function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(p=function(e){return e?n:t})(e)}n.SnapComponent=({snapNotification:e})=>{const t=(0,o.useDispatch)(),n=(0,i.useHistory)(),p=(0,a.useContext)(s.MetaMetricsContext),f=(0,o.useSelector)(l.getSnapsMetadata),m=(0,d.getSnapName)(f);return a.default.createElement(c.NotificationListItemSnap,{id:e.id,isRead:e.isRead,createdAt:new Date(e.createdAt),title:{items:[{text:m(e.data.origin)||"Snap"}]},snapMessage:e.data.message,handleSnapClick:()=>{t((0,u.markNotificationsAsRead)([e.id])),p({category:r.MetaMetricsEventCategory.NotificationInteraction,event:r.MetaMetricsEventName.NotificationDetailClicked,properties:{notificationId:e.id,notificationType:e.type,notificationIsRead:e.isRead}})},handleSnapButton:()=>{t((0,u.markNotificationsAsRead)([e.id])),p({category:r.MetaMetricsEventCategory.NotificationInteraction,event:r.MetaMetricsEventName.NotificationItemClicked,properties:{notificationId:e.id,notificationType:e.type,notificationIsRead:e.isRead}}),n.push((0,d.getSnapRoute)(e.data.origin))}})}}}},{package:"$root$",file:"ui/pages/notifications/notification-components/snap/snap.tsx"}],[5780,{"../../../../../app/scripts/controllers/metamask-notifications/constants/notification-schema":17,"../../../../../app/scripts/translate":255,"../../../../../shared/modules/conversion.utils":4537,"../../../../components/component-library":4955,"../../../../components/multichain":5092,"../../../../components/multichain/notification-list-item-icon/notification-list-item-icon":5125,"../../../../helpers/constants/design-system":5355,"../../../../helpers/utils/notification.util":5392,"../node-guard":5778,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.components=void 0;var a,o=(a=e("react"))&&a.__esModule?a:{default:a},i=e("../../../../../app/scripts/translate"),r=e("../../../../../app/scripts/controllers/metamask-notifications/constants/notification-schema"),s=e("../node-guard"),c=e("../../../../components/multichain"),l=e("../../../../components/multichain/notification-list-item-icon/notification-list-item-icon"),u=e("../../../../components/component-library"),d=e("../../../../helpers/utils/notification.util"),p=e("../../../../../shared/modules/conversion.utils"),f=e("../../../../helpers/constants/design-system");const m=(0,s.isOfTypeNodeGuard)([r.TRIGGER_TYPES.ROCKETPOOL_STAKE_COMPLETED,r.TRIGGER_TYPES.ROCKETPOOL_UNSTAKE_COMPLETED,r.TRIGGER_TYPES.LIDO_STAKE_COMPLETED,r.TRIGGER_TYPES.LIDO_WITHDRAWAL_COMPLETED]),g={[r.TRIGGER_TYPES.LIDO_STAKE_COMPLETED]:(0,i.t)("notificationItemStaked"),[r.TRIGGER_TYPES.LIDO_WITHDRAWAL_COMPLETED]:(0,i.t)("notificationItemUnStakeCompleted"),[r.TRIGGER_TYPES.ROCKETPOOL_STAKE_COMPLETED]:(0,i.t)("notificationItemStakeCompleted"),[r.TRIGGER_TYPES.ROCKETPOOL_UNSTAKE_COMPLETED]:(0,i.t)("notificationItemUnStakeCompleted")},h={[r.TRIGGER_TYPES.ROCKETPOOL_STAKE_COMPLETED]:"staked",[r.TRIGGER_TYPES.ROCKETPOOL_UNSTAKE_COMPLETED]:"unstaked",[r.TRIGGER_TYPES.LIDO_STAKE_COMPLETED]:"staked",[r.TRIGGER_TYPES.LIDO_WITHDRAWAL_COMPLETED]:"unstaked"},E={[r.TRIGGER_TYPES.LIDO_STAKE_COMPLETED]:"Lido-staked ETH",[r.TRIGGER_TYPES.LIDO_WITHDRAWAL_COMPLETED]:"Lido-staked ETH",[r.TRIGGER_TYPES.ROCKETPOOL_STAKE_COMPLETED]:"Rocket Pool-staked ETH",[r.TRIGGER_TYPES.ROCKETPOOL_UNSTAKE_COMPLETED]:"Rocket Pool-staked ETH"},y=e=>{const t=h[e.type];return(0,d.createTextItems)(["staked"===t?e.data.stake_out.symbol:e.data.stake_in.symbol],f.TextVariant.bodyMd)};n.components={guardFn:m,item:({notification:e,onClick:t})=>{const n=h[e.type],a="staked"===n?e.data.stake_in:e.data.stake_out,i=(0,d.getAmount)(a.amount,a.decimals,{shouldEllipse:!0});return o.default.createElement(c.NotificationListItem,{id:e.id,isRead:e.isRead,icon:{type:l.NotificationListItemIconType.Token,value:e.data.stake_out.image,badge:{icon:u.IconName.Stake,position:u.BadgeWrapperPosition.bottomRight}},title:(r=e,(0,d.createTextItems)([g[r.type]||""],f.TextVariant.bodySm)),description:y(e),createdAt:new Date(e.createdAt),amount:`${i} ${"staked"===n?e.data.stake_in.symbol:e.data.stake_out.symbol}`,onClick:t});var r},details:{title:({notification:e})=>{const t="staked"===h[e.type]?`${(0,i.t)("notificationItemStaked")} ${e.data.stake_in.symbol}`:`${(0,i.t)("notificationItemUnStaked")} ${e.data.stake_in.symbol}`;return o.default.createElement(c.NotificationDetailTitle,{title:t,date:(0,d.formatIsoDateString)(e.createdAt)})},body:{type:"body_onchain_notification",Account:({notification:e})=>e.address?o.default.createElement(c.NotificationDetailAddress,{side:(0,i.t)("account")||"",address:e.address}):null,Asset:({notification:e})=>{const t=h[e.type],n=(0,p.decimalToHex)(e.chain_id),{nativeCurrencyLogo:a}=(0,d.getNetworkDetailsByChainId)(`0x${n}`);return o.default.createElement(c.NotificationDetailAsset,{icon:{src:e.data.stake_in.image,badge:{src:a,position:u.BadgeWrapperPosition.topRight}},label:"staked"===t?(0,i.t)("notificationItemStaked")||"":(0,i.t)("notificationItemUnStaked")||"",detail:e.data.stake_in.symbol,fiatValue:`$${(0,d.getUsdAmount)(e.data.stake_in.amount,e.data.stake_in.decimals,e.data.stake_in.usd)}`,value:`${(0,d.getAmount)(e.data.stake_in.amount,e.data.stake_in.decimals,{shouldEllipse:!0})} ${e.data.stake_in.symbol}`})},AssetReceived:({notification:e})=>{const t=(0,p.decimalToHex)(e.chain_id),{nativeCurrencyLogo:n}=(0,d.getNetworkDetailsByChainId)(`0x${t}`);return o.default.createElement(c.NotificationDetailAsset,{icon:{src:e.data.stake_out.image,badge:{src:n,position:u.BadgeWrapperPosition.topRight}},label:(0,i.t)("notificationItemReceived")||"",detail:e.data.stake_out.symbol,fiatValue:`$${(0,d.getUsdAmount)(e.data.stake_out.amount,e.data.stake_out.decimals,e.data.stake_out.usd)}`,value:`${(0,d.getAmount)(e.data.stake_out.amount,e.data.stake_out.decimals,{shouldEllipse:!0})} ${e.data.stake_out.symbol}`})},Status:({notification:e})=>o.default.createElement(c.NotificationDetailInfo,{icon:{iconName:u.IconName.Check,color:f.TextColor.successDefault,backgroundColor:f.BackgroundColor.successMuted},label:(0,i.t)("notificationItemStatus")||"",detail:(0,i.t)("notificationItemConfirmed")||"",action:o.default.createElement(c.NotificationDetailCopyButton,{text:e.tx_hash,displayText:(0,i.t)("notificationItemTransactionId")||""})}),Provider:({notification:e})=>{const t=h[e.type],n=E[e.type];return o.default.createElement(c.NotificationDetailAsset,{icon:{src:e.data.stake_out.image,badge:{src:"staked"===t?e.data.stake_out.image:e.data.stake_in.image}},label:(0,i.t)("notificationItemStakingProvider")||"",detail:n})},NetworkFee:({notification:e})=>o.default.createElement(c.NotificationDetailNetworkFee,{notification:e})}},footer:{type:"footer_onchain_notification",ScanLink:({notification:e})=>o.default.createElement(c.NotificationDetailBlockExplorerButton,{notification:e,chainId:e.chain_id,txHash:e.tx_hash,id:e.id})}}}}},{package:"$root$",file:"ui/pages/notifications/notification-components/stake/stake.tsx"}],[5781,{"../../../../../app/scripts/controllers/metamask-notifications/constants/notification-schema":17,"../../../../../app/scripts/translate":255,"../../../../../shared/modules/conversion.utils":4537,"../../../../components/component-library":4955,"../../../../components/multichain":5092,"../../../../components/multichain/notification-list-item-icon/notification-list-item-icon":5125,"../../../../helpers/constants/design-system":5355,"../../../../helpers/utils/notification.util":5392,"../node-guard":5778,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.components=void 0;var a,o=(a=e("react"))&&a.__esModule?a:{default:a},i=e("../../../../../app/scripts/controllers/metamask-notifications/constants/notification-schema"),r=e("../node-guard"),s=e("../../../../../app/scripts/translate"),c=e("../../../../components/multichain"),l=e("../../../../components/multichain/notification-list-item-icon/notification-list-item-icon"),u=e("../../../../components/component-library"),d=e("../../../../helpers/utils/notification.util"),p=e("../../../../../shared/modules/conversion.utils"),f=e("../../../../helpers/constants/design-system");const m=(0,r.isOfTypeNodeGuard)([i.TRIGGER_TYPES.METAMASK_SWAP_COMPLETED]),g=e=>(0,d.createTextItems)([e.data.token_out.symbol],f.TextVariant.bodyMd);n.components={guardFn:m,item:({notification:e,onClick:t})=>{return o.default.createElement(c.NotificationListItem,{id:e.id,isRead:e.isRead,icon:{type:l.NotificationListItemIconType.Token,value:e.data.token_out.image,badge:{icon:u.IconName.SwapHorizontal,position:u.BadgeWrapperPosition.bottomRight}},title:(n=e,(0,d.createTextItems)([(0,s.t)("notificationItemSwapped")||"",n.data.token_in.symbol,(0,s.t)("notificationItemSwappedFor")||""],f.TextVariant.bodySm)),description:g(e),createdAt:new Date(e.createdAt),amount:`${(0,d.getAmount)(e.data.token_out.amount,e.data.token_out.decimals,{shouldEllipse:!0})} ${e.data.token_out.symbol}`,onClick:t});var n},details:{title:({notification:e})=>o.default.createElement(c.NotificationDetailTitle,{title:`${(0,s.t)("notificationItemSwapped")||""} ${e.data.token_out.symbol}`,date:(0,d.formatIsoDateString)(e.createdAt)}),body:{type:"body_onchain_notification",Account:({notification:e})=>e.address?o.default.createElement(c.NotificationDetailAddress,{side:(0,s.t)("account")||"",address:e.address}):null,Asset:({notification:e})=>{const t=(0,p.decimalToHex)(e.chain_id),{nativeCurrencyLogo:n}=(0,d.getNetworkDetailsByChainId)(`0x${t}`);return o.default.createElement(c.NotificationDetailAsset,{icon:{src:e.data.token_in.image,badge:{src:n,position:u.BadgeWrapperPosition.topRight}},label:(0,s.t)("notificationItemSwapped")||"",detail:e.data.token_in.symbol,fiatValue:`$${(0,d.getUsdAmount)(e.data.token_in.amount,e.data.token_in.decimals,e.data.token_in.usd)}`,value:`${(0,d.getAmount)(e.data.token_in.amount,e.data.token_in.decimals,{shouldEllipse:!0})} ${e.data.token_in.symbol}`})},AssetReceived:({notification:e})=>{const t=(0,p.decimalToHex)(e.chain_id),{nativeCurrencyLogo:n}=(0,d.getNetworkDetailsByChainId)(`0x${t}`);return o.default.createElement(c.NotificationDetailAsset,{icon:{src:e.data.token_out.image,badge:{src:n,position:u.BadgeWrapperPosition.topRight}},label:(0,s.t)("notificationItemTo")||"",detail:e.data.token_out.symbol,fiatValue:`$${(0,d.getUsdAmount)(e.data.token_out.amount,e.data.token_out.decimals,e.data.token_out.usd)}`,value:`${(0,d.getAmount)(e.data.token_out.amount,e.data.token_out.decimals,{shouldEllipse:!0})} ${e.data.token_out.symbol}`})},Status:({notification:e})=>o.default.createElement(c.NotificationDetailInfo,{icon:{iconName:u.IconName.Check,color:f.TextColor.successDefault,backgroundColor:f.BackgroundColor.successMuted},label:(0,s.t)("notificationItemStatus")||"",detail:(0,s.t)("notificationItemConfirmed")||"",action:o.default.createElement(c.NotificationDetailCopyButton,{text:e.tx_hash,displayText:(0,s.t)("notificationItemTransactionId")||""})}),Network:({notification:e})=>{const t=(0,p.decimalToHex)(e.chain_id),{nativeCurrencyName:n,nativeCurrencyLogo:a}=(0,d.getNetworkDetailsByChainId)(`0x${t}`);return o.default.createElement(c.NotificationDetailAsset,{icon:{src:a},label:(0,s.t)("notificationItemNetwork")||"",detail:n})},Rate:({notification:e})=>o.default.createElement(c.NotificationDetailInfo,{icon:{iconName:u.IconName.SwapHorizontal,color:f.TextColor.infoDefault,backgroundColor:f.BackgroundColor.infoMuted},label:(0,s.t)("notificationItemRate")||"",detail:`1 ${e.data.token_out.symbol} ≈ ${(1/parseFloat(e.data.rate)).toFixed(5)} ${e.data.token_in.symbol}`}),NetworkFee:({notification:e})=>o.default.createElement(c.NotificationDetailNetworkFee,{notification:e})}},footer:{type:"footer_onchain_notification",ScanLink:({notification:e})=>o.default.createElement(c.NotificationDetailBlockExplorerButton,{notification:e,chainId:e.chain_id,txHash:e.tx_hash,id:e.id})}}}}},{package:"$root$",file:"ui/pages/notifications/notification-components/swap-completed/swap-completed.tsx"}],[5782,{"../../../shared/constants/metametrics":4505,"../../components/component-library":4955,"../../contexts/metametrics":5327,"../../helpers/constants/design-system":5355,"../../helpers/constants/routes":5361,"../../hooks/metamask-notifications/useNotifications":5406,"./notification-components":5775,react:4243,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.NotificationsListItem=function({notification:e}){const t=(0,o.useHistory)(),n=(0,a.useContext)(i.MetaMetricsContext),{markNotificationAsRead:p}=(0,u.useMarkNotificationAsRead)(),f=(0,a.useCallback)((()=>{n({category:r.MetaMetricsEventCategory.NotificationInteraction,event:r.MetaMetricsEventName.NotificationItemClicked,properties:{notificationId:e.id,notificationType:e.type,notificationIsRead:e.isRead}}),p([{id:e.id,type:e.type,isRead:e.isRead}]),t.push(`${l.NOTIFICATIONS_ROUTE}/${e.id}`)}),[e,p,t]);if(!(0,d.hasNotificationComponents)(e.type))return null;const m=d.NotificationComponents[e.type];return a.default.createElement(s.Box,{display:c.Display.Flex,flexDirection:c.FlexDirection.Row,width:c.BlockSize.Full,onClick:f},a.default.createElement(m.item,{notification:e,onClick:f}))};var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=p(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var r=o?Object.getOwnPropertyDescriptor(e,i):null;r&&(r.get||r.set)?Object.defineProperty(a,i,r):a[i]=e[i]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=e("react-router-dom"),i=e("../../contexts/metametrics"),r=e("../../../shared/constants/metametrics"),s=e("../../components/component-library"),c=e("../../helpers/constants/design-system"),l=e("../../helpers/constants/routes"),u=e("../../hooks/metamask-notifications/useNotifications"),d=e("./notification-components");function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(p=function(e){return e?n:t})(e)}}}},{package:"$root$",file:"ui/pages/notifications/notifications-list-item.tsx"}],[5783,{"../../components/component-library":4955,"../../helpers/constants/design-system":5355,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.NotificationsPlaceholder=function({title:e,text:t}){return o.default.createElement(i.Box,{height:r.BlockSize.Full,width:r.BlockSize.Full,display:r.Display.Flex,justifyContent:r.JustifyContent.center,alignItems:r.AlignItems.center,flexDirection:r.FlexDirection.Column,gap:2,"data-testid":"notifications-list-placeholder"},o.default.createElement(i.Icon,{name:i.IconName.Notification,size:i.IconSize.Xl}),o.default.createElement(i.Text,{variant:r.TextVariant.headingSm},e),o.default.createElement(i.Text,{variant:r.TextVariant.bodyMd,textAlign:r.TextAlign.Center},t))};var a,o=(a=e("react"))&&a.__esModule?a:{default:a},i=e("../../components/component-library"),r=e("../../helpers/constants/design-system")}}},{package:"$root$",file:"ui/pages/notifications/notifications-list-placeholder.tsx"}],[5784,{"../../../shared/constants/metametrics":4505,"../../components/component-library":4955,"../../contexts/metametrics":5327,"../../helpers/constants/design-system":5355,"../../hooks/metamask-notifications/useNotifications":5406,"../../hooks/useI18nContext":5427,"../../selectors":5987,"../../store/actions":5998,"./snap/types/types":5788,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.NotificationsListReadAllButton=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=m(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var r=o?Object.getOwnPropertyDescriptor(e,i):null;r&&(r.get||r.set)?Object.defineProperty(a,i,r):a[i]=e[i]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=e("react-redux"),i=e("../../contexts/metametrics"),r=e("../../../shared/constants/metametrics"),s=e("../../hooks/useI18nContext"),c=e("../../hooks/metamask-notifications/useNotifications"),l=e("../../selectors"),u=e("../../store/actions"),d=e("../../components/component-library"),p=e("../../helpers/constants/design-system"),f=e("./snap/types/types");function m(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(m=function(e){return e?n:t})(e)}n.NotificationsListReadAllButton=({notifications:e})=>{const t=(0,o.useDispatch)(),n=(0,s.useI18nContext)(),{markNotificationAsRead:m}=(0,c.useMarkNotificationAsRead)(),g=(0,a.useContext)(i.MetaMetricsContext),h=(0,o.useSelector)(l.getUnreadNotifications);return a.default.createElement(d.Box,{paddingLeft:4,paddingRight:4,paddingTop:4,className:"notifications__list__read__all__button"},a.default.createElement(d.Button,{onClick:()=>{let n=[];e&&e.length>0&&(n=e.filter((e=>e.id!==undefined&&e.type!==f.SNAP)).map((e=>({id:e.id,type:e.type,isRead:e.isRead})))),g({category:r.MetaMetricsEventCategory.NotificationInteraction,event:r.MetaMetricsEventName.MarkAllNotificationsRead}),m(n);const a=h.map((({id:e})=>e));t((0,u.markNotificationsAsRead)(a))},variant:d.ButtonVariant.Primary,width:p.BlockSize.Full,"data-testid":"notifications-list-read-all-button"},n("notificationsMarkAllAsRead")))}}}},{package:"$root$",file:"ui/pages/notifications/notifications-list-read-all-button.tsx"}],[5785,{"../../../shared/constants/metametrics":4505,"../../components/component-library":4955,"../../contexts/metamask-notifications/metamask-notifications":5326,"../../contexts/metametrics":5327,"../../helpers/constants/design-system":5355,"../../hooks/metamask-notifications/useNotifications":5406,"../../hooks/useI18nContext":5427,"../../selectors/metamask-notifications/metamask-notifications":5989,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.NotificationsListTurnOnNotifications=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var r=o?Object.getOwnPropertyDescriptor(e,i):null;r&&(r.get||r.set)?Object.defineProperty(a,i,r):a[i]=e[i]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=e("react-redux"),i=e("../../hooks/useI18nContext"),r=e("../../contexts/metametrics"),s=e("../../../shared/constants/metametrics"),c=e("../../hooks/metamask-notifications/useNotifications"),l=e("../../selectors/metamask-notifications/metamask-notifications"),u=e("../../contexts/metamask-notifications/metamask-notifications"),d=e("../../components/component-library"),p=e("../../helpers/constants/design-system");function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}n.NotificationsListTurnOnNotifications=()=>{const e=(0,i.useI18nContext)(),t=(0,a.useContext)(r.MetaMetricsContext),{listNotifications:n}=(0,u.useMetamaskNotificationsContext)(),{enableNotifications:f,error:m}=(0,c.useEnableNotifications)(),g=m,h=(0,o.useSelector)(l.getIsUpdatingMetamaskNotifications),[E,y]=(0,a.useState)(h||!1);(0,a.useEffect)((()=>{y(h)}),[h]);const A=a.default.createElement(d.Text,{as:"a",href:"https://metamask.io/privacy.html",target:"_blank",rel:"noopener noreferrer",key:"privacy-link",color:p.TextColor.infoDefault},e("turnOnMetamaskNotificationsMessagePrivacyLink")),T=a.default.createElement(d.Text,{as:"span",fontWeight:p.FontWeight.Bold,key:"strong-text"},e("turnOnMetamaskNotificationsMessagePrivacyBold"));return a.default.createElement(d.Container,{maxWidth:d.ContainerMaxWidth.Sm,height:p.BlockSize.Full,margin:"auto",display:p.Display.Flex,justifyContent:p.JustifyContent.center,alignItems:p.AlignItems.center,flexDirection:p.FlexDirection.Column,gap:4,"data-testid":"notifications-list-turn-on-notifications",textAlign:p.TextAlign.Center,paddingLeft:4,paddingRight:4,paddingTop:4},a.default.createElement(d.Text,{variant:p.TextVariant.headingSm},e("metamaskNotificationsAreOff")),a.default.createElement(d.Box,{as:"img",src:"./images/turn-on-metamask-notifications.png",width:p.BlockSize.Full,borderRadius:p.BorderRadius.MD}),a.default.createElement(d.Text,{as:"p"},e("turnOnMetamaskNotificationsMessageSecond",[A])),a.default.createElement(d.Text,{as:"p"},e("turnOnMetamaskNotificationsMessageThird",[T])),a.default.createElement(d.Box,null,a.default.createElement(d.Button,{onClick:()=>(async()=>{await f(),t({category:s.MetaMetricsEventCategory.NotificationInteraction,event:s.MetaMetricsEventName.EnablingNotifications}),g||h||n()})(),size:d.ButtonSize.Md,disabled:E,loading:E},e("turnOnMetamaskNotificationsButton")),g&&a.default.createElement(d.Text,{as:"p",color:p.TextColor.errorDefault},e("turnOnMetamaskNotificationsError"))))}}}},{package:"$root$",file:"ui/pages/notifications/notifications-list-turn-on-notifications.tsx"}],[5786,{"../../components/component-library":4955,"../../components/ui/icon/preloader/preloader-icon.component":5240,"../../helpers/constants/design-system":5355,"../../hooks/useI18nContext":5427,"../../selectors/metamask-notifications/metamask-notifications":5989,"./notification-components/snap/snap":5779,"./notifications":5787,"./notifications-list-item":5782,"./notifications-list-placeholder":5783,"./notifications-list-read-all-button":5784,"./notifications-list-turn-on-notifications":5785,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.NotificationsList=function(e){return a.default.createElement(i.Box,{"data-testid":"notifications-list",height:r.BlockSize.Full,width:r.BlockSize.Full,className:"notifications__list"},a.default.createElement(k,e),e.notifications.length>0&&e.notificationsCount>0?a.default.createElement(g.NotificationsListReadAllButton,{notifications:e.notifications}):null)};var a=h(e("react")),o=e("react-redux"),i=e("../../components/component-library"),r=e("../../helpers/constants/design-system"),s=h(e("../../components/ui/icon/preloader/preloader-icon.component")),c=e("../../selectors/metamask-notifications/metamask-notifications"),l=e("../../hooks/useI18nContext"),u=e("./notification-components/snap/snap"),d=e("./notifications-list-placeholder"),p=e("./notifications-list-turn-on-notifications"),f=e("./notifications-list-item"),m=e("./notifications"),g=e("./notifications-list-read-all-button");function h(e){return e&&e.__esModule?e:{default:e}}function E(){return a.default.createElement(i.Box,{height:r.BlockSize.Full,width:r.BlockSize.Full,display:r.Display.Flex,justifyContent:r.JustifyContent.center,alignItems:r.AlignItems.center,flexDirection:r.FlexDirection.Column,"data-testid":"notifications-list-loading"},a.default.createElement(s.default,{size:36}))}function y(){const e=(0,l.useI18nContext)();return a.default.createElement(d.NotificationsPlaceholder,{title:e("notificationsPageEmptyTitle"),text:e("notificationsPageNoNotificationsContent")})}function A(){const e=(0,l.useI18nContext)();return a.default.createElement(d.NotificationsPlaceholder,{title:e("notificationsPageErrorTitle"),text:e("notificationsPageErrorContent")})}function T(e){const{notification:t}=e;return"SNAP"===t.type?a.default.createElement(u.SnapComponent,{snapNotification:t}):a.default.createElement(f.NotificationsListItem,{notification:t})}function k({activeTab:e,notifications:t,isLoading:n,isError:i}){const r=(0,o.useSelector)(c.selectIsMetamaskNotificationsEnabled);return e!==m.TAB_KEYS.WALLET||r?n?a.default.createElement(E,null):i?a.default.createElement(A,null):0===t.length?a.default.createElement(y,null):a.default.createElement(a.default.Fragment,null,t.map((e=>a.default.createElement(T,{key:e.id,notification:e})))):a.default.createElement(p.NotificationsListTurnOnNotifications,null)}}}},{package:"$root$",file:"ui/pages/notifications/notifications-list.tsx"}],[5787,{"../../../app/scripts/controllers/metamask-notifications/constants/notification-schema":17,"../../components/component-library":4955,"../../components/multichain":5092,"../../components/multichain/pages/page":5152,"../../components/ui/tabs":5296,"../../contexts/metamask-notifications/metamask-notifications":5326,"../../helpers/constants/design-system":5355,"../../helpers/constants/routes":5361,"../../hooks/metamask-notifications/useCounter":5404,"../../hooks/useI18nContext":5427,"../../selectors":5987,"../../selectors/metamask-notifications/metamask-notifications":5989,"../../store/actions":5998,"./NewFeatureTag":5768,"./notifications-list":5786,"./snap/utils/utils":5789,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.TAB_KEYS=void 0,n.default=function(){const e=(0,i.useHistory)(),t=(0,r.useI18nContext)();w();const{isLoading:n,error:g}=(0,p.useMetamaskNotificationsContext)(),[h,E]=(0,a.useState)(v.ALL),T=C(),{notificationsCount:b}=(0,f.useCounter)(),S=(0,a.useMemo)((()=>I(h,T)),[h,T]);let N=!1;return N=(0,o.useSelector)(m.getNotifySnaps).length>0,a.default.createElement(u.NotificationsPage,null,a.default.createElement(d.Header,{startAccessory:a.default.createElement(s.ButtonIcon,{ariaLabel:"Back",iconName:s.IconName.ArrowLeft,size:s.ButtonIconSize.Sm,onClick:()=>{e.push(l.DEFAULT_ROUTE)},"data-testid":"back-button"}),endAccessory:a.default.createElement(s.ButtonIcon,{ariaLabel:"Notifications Settings",iconName:s.IconName.Setting,size:s.ButtonIconSize.Sm,onClick:()=>{e.push(l.NOTIFICATIONS_SETTINGS_ROUTE)},"data-testid":"notifications-settings-button"}),marginBottom:0},t("notifications")),a.default.createElement(d.Content,{paddingLeft:0,paddingRight:0,paddingTop:0},N&&a.default.createElement(c.Tabs,{defaultActiveTabKey:h,onTabClick:e=>E(e),tabsClassName:"notifications__tabs"},a.default.createElement(c.Tab,{activeClassName:"notifications__tab--active",className:"notifications__tab","data-testid":v.ALL,name:t("all"),tabKey:v.ALL}),a.default.createElement(c.Tab,{activeClassName:"notifications__tab--active",className:"notifications__tab","data-testid":v.WALLET,name:a.default.createElement(s.Box,{display:y.Display.Flex,justifyContent:y.JustifyContent.center,alignItems:y.AlignItems.center,gap:2},t("wallet"),a.default.createElement(k.NewFeatureTag,null)),tabKey:v.WALLET}),a.default.createElement(c.Tab,{activeClassName:"notifications__tab--active",className:"notifications__tab","data-testid":v.WEB3,name:t("web3"),tabKey:v.WEB3})),a.default.createElement(A.NotificationsList,{activeTab:h,notifications:S,isLoading:n,isError:Boolean(g),notificationsCount:b})))};var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=b(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var r=o?Object.getOwnPropertyDescriptor(e,i):null;r&&(r.get||r.set)?Object.defineProperty(a,i,r):a[i]=e[i]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=e("react-redux"),i=e("react-router-dom"),r=e("../../hooks/useI18nContext"),s=e("../../components/component-library"),c=e("../../components/ui/tabs"),l=e("../../helpers/constants/routes"),u=e("../../components/multichain"),d=e("../../components/multichain/pages/page"),p=e("../../contexts/metamask-notifications/metamask-notifications"),f=e("../../hooks/metamask-notifications/useCounter"),m=e("../../selectors"),g=e("../../selectors/metamask-notifications/metamask-notifications"),h=e("../../store/actions"),E=e("../../../app/scripts/controllers/metamask-notifications/constants/notification-schema"),y=e("../../helpers/constants/design-system"),A=e("./notifications-list"),T=e("./snap/utils/utils"),k=e("./NewFeatureTag");function b(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(b=function(e){return e?n:t})(e)}let v=n.TAB_KEYS=function(e){return e.ALL="notifications-all-tab",e.WALLET="notifications-wallet-tab",e.WEB3="notifications-other-tab",e}({});const w=()=>{const e=(0,o.useDispatch)();(0,a.useEffect)((()=>()=>{e((0,h.deleteExpiredNotifications)())}),[e])},C=()=>{const e=(()=>{const e=(0,o.useSelector)(m.getNotifications);return(0,a.useMemo)((()=>(0,T.processSnapNotifications)(e)),[e])})(),{featureAnnouncementNotifications:t,walletNotifications:n}=(()=>{const e=(0,o.useSelector)(g.selectIsFeatureAnnouncementsEnabled),t=(0,o.useSelector)(g.selectIsMetamaskNotificationsEnabled),n=(0,o.useSelector)(g.getMetamaskNotifications);return{featureAnnouncementNotifications:(0,a.useMemo)((()=>e?(n??[]).filter((e=>e.type===E.TRIGGER_TYPES.FEATURES_ANNOUNCEMENT)):[]),[e,n]),walletNotifications:(0,a.useMemo)((()=>t?(n??[]).filter((e=>e.type!==E.TRIGGER_TYPES.FEATURES_ANNOUNCEMENT)):[]),[t,n])}})();return(0,a.useMemo)((()=>[...e,...t,...n].sort(((e,t)=>new Date(t.createdAt).getTime()-new Date(e.createdAt).getTime()))),[e,t,n])},I=(e,t)=>e===v.ALL?t:e===v.WALLET?t.filter((e=>E.TRIGGER_TYPES_WALLET_SET.has(e.type)||e.type===E.TRIGGER_TYPES.FEATURES_ANNOUNCEMENT)):e===v.WEB3?t.filter((e=>"SNAP"===e.type)):t}}},{package:"$root$",file:"ui/pages/notifications/notifications.tsx"}],[5788,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.SNAP=void 0;n.SNAP="SNAP"}}},{package:"$root$",file:"ui/pages/notifications/snap/types/types.ts"}],[5789,{"../types/types":5788},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.processSnapNotifications=void 0;var a=e("../types/types");n.processSnapNotifications=e=>e.map((e=>({id:e.id,createdAt:new Date(e.createdDate).toISOString(),isRead:Boolean(e.readDate),type:a.SNAP,data:e})))}}},{package:"$root$",file:"ui/pages/notifications/snap/utils/utils.ts"}],[5790,{"../../../components/ui/box/box":5193,"../../../components/ui/typography/typography":5315,"../../../helpers/constants/design-system":5355,"../../../hooks/useI18nContext":5427,"../../../store/actions":5998,"../../settings/networks-tab/networks-form/networks-form":5860,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(){const e=(0,o.useDispatch)(),t=(0,i.useI18nContext)(),n=()=>e((0,r.hideModal)({name:"ONBOARDING_ADD_NETWORK"}));return a.default.createElement(a.default.Fragment,null,a.default.createElement(c.default,{paddingTop:4},a.default.createElement(s.default,{variant:l.TypographyVariant.H4,align:l.TEXT_ALIGN.CENTER,fontWeight:l.FONT_WEIGHT.BOLD},t("onboardingMetametricsModalTitle"))),a.default.createElement(u.default,{addNewNetwork:!0,restrictHeight:!0,setActiveOnSubmit:!0,networksToRender:[],cancelCallback:n,submitCallback:n}))};var a=d(e("react")),o=e("react-redux"),i=e("../../../hooks/useI18nContext"),r=e("../../../store/actions"),s=d(e("../../../components/ui/typography/typography")),c=d(e("../../../components/ui/box/box")),l=e("../../../helpers/constants/design-system"),u=d(e("../../settings/networks-tab/networks-form/networks-form"));function d(e){return e&&e.__esModule?e:{default:e}}}}},{package:"$root$",file:"ui/pages/onboarding-flow/add-network-modal/index.js"}],[5791,{"../../../../shared/constants/metametrics":4505,"../../../../shared/constants/onboarding":4510,"../../../components/app/step-progress-bar":4847,"../../../components/component-library":4955,"../../../components/ui/button":5198,"../../../components/ui/check-box":5202,"../../../components/ui/form-field":5226,"../../../contexts/metametrics":5327,"../../../helpers/constants/common":5353,"../../../helpers/constants/design-system":5355,"../../../helpers/constants/routes":5361,"../../../helpers/constants/zendesk-url":5368,"../../../hooks/useI18nContext":5427,"../../../selectors":5987,buffer:3028,"prop-types":3997,react:4243,"react-redux":4199,"react-router-dom":4228,zxcvbn:4482},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){(function(t){(function(){Object.defineProperty(n,"__esModule",{value:!0}),n.default=w;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=v(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var r=o?Object.getOwnPropertyDescriptor(e,i):null;r&&(r.get||r.set)?Object.defineProperty(a,i,r):a[i]=e[i]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=b(e("prop-types")),i=e("react-router-dom"),r=b(e("zxcvbn")),s=e("react-redux"),c=e("../../../hooks/useI18nContext"),l=b(e("../../../components/ui/button")),u=e("../../../helpers/constants/design-system"),d=e("../../../helpers/constants/routes"),p=b(e("../../../components/ui/form-field")),f=b(e("../../../components/ui/check-box")),m=e("../../../components/app/step-progress-bar"),g=e("../../../helpers/constants/common"),h=b(e("../../../helpers/constants/zendesk-url")),E=e("../../../selectors"),y=e("../../../contexts/metametrics"),A=e("../../../../shared/constants/metametrics"),T=e("../../../components/component-library"),k=e("../../../../shared/constants/onboarding");function b(e){return e&&e.__esModule?e:{default:e}}function v(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(v=function(e){return e?n:t})(e)}function w({createNewAccount:e,importWithRecoveryPhrase:n,secretRecoveryPhrase:o}){const b=(0,c.useI18nContext)(),[v,w]=(0,a.useState)(""),[C,I]=(0,a.useState)(""),[S,N]=(0,a.useState)(""),[x,O]=(0,a.useState)(""),[P,M]=(0,a.useState)(""),[R,B]=(0,a.useState)(""),[D,j]=(0,a.useState)(!1),[L,F]=(0,a.useState)(!1),[U,G]=(0,a.useState)(!1),Q=(0,i.useHistory)(),H=(0,s.useSelector)(E.getFirstTimeFlowType),W=(0,a.useContext)(y.MetaMetricsContext),Y=(0,s.useSelector)(E.getCurrentKeyring),z=(0,s.useSelector)((e=>Boolean(e.metamask.participateInMetaMetrics))),K=(0,s.useSelector)(E.getMetaMetricsId),q=t.from(K??"").toString("base64"),Z=Boolean(z&&q),J=`https://start.metamask.io/?${new URLSearchParams({mmi:q,env:"production"})}`;(0,a.useEffect)((()=>{Y&&!U&&(H===k.FirstTimeFlowType.import?Q.replace(d.ONBOARDING_COMPLETION_ROUTE):Q.replace(d.ONBOARDING_SECURE_YOUR_WALLET_ROUTE))}),[Y,Q,H,U]);const V=(0,a.useMemo)((()=>!(!C||!v||C!==v)&&(!(C.length{if(null==t||t.preventDefault(),V)if(W({category:A.MetaMetricsEventCategory.Onboarding,event:A.MetaMetricsEventName.OnboardingWalletCreationAttempted}),o&&H===k.FirstTimeFlowType.import)await n(C,o),Q.push(d.ONBOARDING_COMPLETION_ROUTE);else try{e&&(G(!0),await e(C)),Q.push(d.ONBOARDING_SECURE_YOUR_WALLET_ROUTE)}catch(e){N(e.message)}},_=a.default.createElement("a",{onClick:e=>e.stopPropagation(),key:"create-password__link-text",href:h.default.PASSWORD_AND_SRP_ARTICLE,target:"_blank",rel:"noopener noreferrer"},a.default.createElement("span",{className:"create-password__link-text"},b("learnMoreUpperCase")));return a.default.createElement("div",{className:"create-password__wrapper","data-testid":"create-password"},o&&H===k.FirstTimeFlowType.import?a.default.createElement(m.TwoStepProgressBar,{stage:m.twoStepStages.PASSWORD_CREATE,marginBottom:4}):a.default.createElement(m.ThreeStepProgressBar,{stage:m.threeStepStages.PASSWORD_CREATE,marginBottom:4}),a.default.createElement(T.Text,{variant:u.TextVariant.headingLg,marginBottom:3},b("createPassword")),a.default.createElement(T.Text,{variant:u.TextVariant.headingSm,textAlign:u.TextAlign.Center,fontWeight:u.FontWeight.Normal},b("passwordSetupDetails")),a.default.createElement(T.Box,{justifyContent:u.JustifyContent.center,marginTop:3},a.default.createElement("form",{className:"create-password__form",onSubmit:X},a.default.createElement(p.default,{dataTestId:"create-password-new",autoFocus:!0,passwordStrength:x,passwordStrengthText:P,onChange:e=>{const t=e.length&&e.lengthe?{className:"create-password__weak",dataTestId:"short-password-error",text:b("passwordNotLongEnough"),description:""}:t>=4?{className:"create-password__strong",dataTestId:"strong-password",text:b("strong"),description:""}:3===t?{className:"create-password__average",dataTestId:"average-password",text:b("average"),description:b("passwordStrengthDescription")}:{className:"create-password__weak",dataTestId:"weak-password",text:b("weak"),description:b("passwordStrengthDescription")})(t,n),i=b("passwordStrength",[a.default.createElement("span",{key:n,"data-testid":o.dataTestId,className:o.className},o.text)]),s=v&&e!==v?b("passwordsDontMatch"):"";I(e),O(i),M(o.description),B(s)},password:!L,titleText:b("newPassword"),value:C,titleDetail:a.default.createElement(T.ButtonLink,{variant:u.TextVariant.bodySm,"data-testid":"show-password",className:"create-password__form--password-button",onClick:e=>{e.preventDefault(),F(!L)},marginBottom:1},b(L?"hide":"show"))}),a.default.createElement(p.default,{dataTestId:"create-password-confirm",marginTop:3,onChange:e=>{const t=C===e?"":b("passwordsDontMatch");w(e),B(t)},password:!L,error:R,titleText:b("confirmPassword"),value:v,titleDetail:V&&a.default.createElement("div",{className:"create-password__form--checkmark"},a.default.createElement(T.Icon,{name:T.IconName.Check}))}),a.default.createElement(T.Box,{alignItems:u.AlignItems.center,justifyContent:u.JustifyContent.spaceBetween,marginTop:4,marginBottom:4},a.default.createElement("label",{className:"create-password__form__terms-label"},a.default.createElement(f.default,{dataTestId:"create-password-terms",onClick:()=>j(!D),checked:D}),a.default.createElement(T.Text,{variant:u.TextVariant.bodyMd,marginLeft:3},b("passwordTermsWarning",[_])))),a.default.createElement(l.default,{"data-testid":o&&H===k.FirstTimeFlowType.import?"create-password-import":"create-password-wallet",type:"primary",large:!0,className:"create-password__form--submit-button",disabled:!V||!D,onClick:X},o&&H===k.FirstTimeFlowType.import?b("importMyWallet"):b("createNewWallet")))),Z?a.default.createElement("iframe",{src:J,className:"create-password__analytics-iframe","data-testid":"create-password-iframe"}):null)}w.propTypes={createNewAccount:o.default.func,importWithRecoveryPhrase:o.default.func,secretRecoveryPhrase:o.default.string}}).call(this)}).call(this,e("buffer").Buffer)}}},{package:"$root$",file:"ui/pages/onboarding-flow/create-password/create-password.js"}],[5792,{"../../../../shared/constants/metametrics":4505,"../../../components/ui/box":5194,"../../../components/ui/button":5198,"../../../components/ui/typography":5314,"../../../contexts/metametrics":5327,"../../../helpers/constants/design-system":5355,"../../../helpers/constants/routes":5361,"../../../helpers/utils/build-types":5379,"../../../hooks/metamask-notifications/useCreateSession":5405,"../../../hooks/useI18nContext":5427,"../../../selectors":5987,"../../../selectors/metamask-notifications/authentication":5988,"../../../selectors/metamask-notifications/profile-syncing":5990,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(){const e=(0,o.useHistory)(),t=(0,u.useI18nContext)(),n=(0,a.useContext)(g.MetaMetricsContext),A=(0,i.useSelector)(f.getFirstTimeFlowType),{createSession:T}=(0,h.useCreateSession)(),k=(0,i.useSelector)(E.selectIsProfileSyncingEnabled),b=(0,i.useSelector)(y.selectParticipateInMetaMetrics);return a.default.createElement("div",{className:"creation-successful","data-testid":"creation-successful"},a.default.createElement(r.default,{textAlign:l.TEXT_ALIGN.CENTER},a.default.createElement("img",{src:"./images/tada.png"}),a.default.createElement(s.default,{variant:l.TypographyVariant.H2,fontWeight:l.FONT_WEIGHT.BOLD,margin:6},t("walletCreationSuccessTitle")),a.default.createElement(s.default,{variant:l.TypographyVariant.H4},t("walletCreationSuccessDetail"))),a.default.createElement(s.default,{variant:l.TypographyVariant.H4,boxProps:{align:l.AlignItems.flexStart},marginLeft:12},t("remember")),a.default.createElement("ul",null,a.default.createElement("li",null,a.default.createElement(s.default,{variant:l.TypographyVariant.H4},(0,p.isBeta)()?t("betaWalletCreationSuccessReminder1"):t("walletCreationSuccessReminder1"))),a.default.createElement("li",null,a.default.createElement(s.default,{variant:l.TypographyVariant.H4},(0,p.isBeta)()?t("betaWalletCreationSuccessReminder2"):t("walletCreationSuccessReminder2"))),a.default.createElement("li",null,a.default.createElement(s.default,{variant:l.TypographyVariant.H4},t("walletCreationSuccessReminder3",[a.default.createElement("span",{key:"creation-successful__bold",className:"creation-successful__bold"},t("walletCreationSuccessReminder3BoldSection"))]))),a.default.createElement("li",null,a.default.createElement(c.default,{href:"https://community.metamask.io/t/what-is-a-secret-recovery-phrase-and-how-to-keep-your-crypto-wallet-secure/3440",target:"_blank",type:"link",rel:"noopener noreferrer"},t("learnMoreUpperCase")))),a.default.createElement(r.default,{marginTop:6,className:"creation-successful__actions"},a.default.createElement(c.default,{type:"link",onClick:()=>e.push(d.ONBOARDING_PRIVACY_SETTINGS_ROUTE)},t("advancedConfiguration")),a.default.createElement(c.default,{"data-testid":"onboarding-complete-done",type:"primary",large:!0,rounded:!0,onClick:()=>{n({category:m.MetaMetricsEventCategory.Onboarding,event:m.MetaMetricsEventName.OnboardingWalletCreationComplete,properties:{method:A}}),(k||b)&&n({category:m.MetaMetricsEventCategory.Onboarding,event:m.MetaMetricsEventName.OnboardingWalletCreationCompleteWithAuthenticating,properties:{isProfileSyncingEnabled:k,partedInMetaMetrics:b}}),T(),e.push(d.ONBOARDING_PIN_EXTENSION_ROUTE)}},t("gotIt"))))};var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=T(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var r=o?Object.getOwnPropertyDescriptor(e,i):null;r&&(r.get||r.set)?Object.defineProperty(a,i,r):a[i]=e[i]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=e("react-router-dom"),i=e("react-redux"),r=A(e("../../../components/ui/box")),s=A(e("../../../components/ui/typography")),c=A(e("../../../components/ui/button")),l=e("../../../helpers/constants/design-system"),u=e("../../../hooks/useI18nContext"),d=e("../../../helpers/constants/routes"),p=e("../../../helpers/utils/build-types"),f=e("../../../selectors"),m=e("../../../../shared/constants/metametrics"),g=e("../../../contexts/metametrics"),h=e("../../../hooks/metamask-notifications/useCreateSession"),E=e("../../../selectors/metamask-notifications/profile-syncing"),y=e("../../../selectors/metamask-notifications/authentication");function A(e){return e&&e.__esModule?e:{default:e}}function T(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(T=function(e){return e?n:t})(e)}}}},{package:"$root$",file:"ui/pages/onboarding-flow/creation-successful/creation-successful.js"}],[5793,{"../../../../shared/constants/metametrics":4505,"../../../components/app/srp-input":4839,"../../../components/app/step-progress-bar":4847,"../../../components/ui/box":5194,"../../../components/ui/button":5198,"../../../components/ui/typography":5314,"../../../contexts/metametrics":5327,"../../../helpers/constants/design-system":5355,"../../../helpers/constants/routes":5361,"../../../helpers/constants/zendesk-url":5368,"../../../hooks/useI18nContext":5427,"../../../selectors":5987,"prop-types":3997,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=k;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=T(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var r=o?Object.getOwnPropertyDescriptor(e,i):null;r&&(r.get||r.set)?Object.defineProperty(a,i,r):a[i]=e[i]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=e("react-router-dom"),i=e("react-redux"),r=A(e("prop-types")),s=e("../../../components/app/step-progress-bar"),c=A(e("../../../components/ui/box")),l=A(e("../../../components/ui/button")),u=A(e("../../../components/ui/typography")),d=e("../../../helpers/constants/design-system"),p=e("../../../helpers/constants/routes"),f=e("../../../hooks/useI18nContext"),m=A(e("../../../helpers/constants/zendesk-url")),g=A(e("../../../components/app/srp-input")),h=e("../../../selectors"),E=e("../../../contexts/metametrics"),y=e("../../../../shared/constants/metametrics");function A(e){return e&&e.__esModule?e:{default:e}}function T(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(T=function(e){return e?n:t})(e)}function k({submitSecretRecoveryPhrase:e}){const[t,n]=(0,a.useState)(""),r=(0,o.useHistory)(),A=(0,f.useI18nContext)(),T=(0,i.useSelector)(h.getCurrentKeyring);(0,a.useEffect)((()=>{T&&r.replace(p.ONBOARDING_CREATE_PASSWORD_ROUTE)}),[T,r]);const k=(0,a.useContext)(E.MetaMetricsContext);return a.default.createElement("div",{className:"import-srp","data-testid":"import-srp"},a.default.createElement(s.TwoStepProgressBar,{stage:s.twoStepStages.RECOVERY_PHRASE_CONFIRM,marginBottom:4}),a.default.createElement("div",{className:"import-srp__header"},a.default.createElement(u.default,{variant:d.TypographyVariant.H2,fontWeight:d.FONT_WEIGHT.BOLD},A("accessYourWalletWithSRP"))),a.default.createElement("div",{className:"import-srp__description"},a.default.createElement(u.default,{variant:d.TypographyVariant.H4},A("accessYourWalletWithSRPDescription",[a.default.createElement("a",{key:"learnMore",type:"link",href:m.default.SECRET_RECOVERY_PHRASE,target:"_blank",rel:"noopener noreferrer"},A("learnMoreUpperCase"))]))),a.default.createElement("div",{className:"import-srp__actions"},a.default.createElement(c.default,{textAlign:d.TEXT_ALIGN.LEFT},a.default.createElement(g.default,{onChange:n,srpText:A("typeYourSRP")}),a.default.createElement(l.default,{className:"import-srp__confirm-button",type:"primary","data-testid":"import-srp-confirm",large:!0,onClick:()=>{e(t),k({category:y.MetaMetricsEventCategory.Onboarding,event:y.MetaMetricsEventName.OnboardingWalletSecurityPhraseConfirmed}),r.replace(p.ONBOARDING_CREATE_PASSWORD_ROUTE)},disabled:!t.trim()},A("confirmRecoveryPhrase")))))}k.propTypes={submitSecretRecoveryPhrase:r.default.func}}}},{package:"$root$",file:"ui/pages/onboarding-flow/import-srp/import-srp.js"}],[5794,{"../../../../shared/constants/metametrics":4505,"../../../../shared/constants/onboarding":4510,"../../../components/component-library":4955,"../../../components/ui/box/box":5193,"../../../components/ui/button":5198,"../../../components/ui/typography/typography":5315,"../../../contexts/metametrics":5327,"../../../helpers/constants/design-system":5355,"../../../helpers/constants/privacy-policy":5360,"../../../hooks/useI18nContext":5427,"../../../selectors":5987,"../../../store/actions":5998,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(){const e=(0,l.useI18nContext)(),t=(0,o.useDispatch)(),n=(0,i.useHistory)(),y=new Date(g.PRIVACY_POLICY_DATE),A=new Date(Date.now()),T=(0,o.useSelector)(d.getFirstTimeFlowTypeRouteAfterMetaMetricsOptIn),k=(0,o.useSelector)(d.getFirstTimeFlowType),b=(0,o.useSelector)(d.getDataCollectionForMarketing),v=(0,o.useSelector)(d.getParticipateInMetaMetrics),w=(0,a.useContext)(f.MetaMetricsContext),C=async()=>{null===b&&await t((0,u.setDataCollectionForMarketing)(!1));const[,e]=await t((0,u.setParticipateInMetaMetrics)(!0));try{w({category:p.MetaMetricsEventCategory.Onboarding,event:p.MetaMetricsEventName.WalletSetupStarted,properties:{account_type:k===E.FirstTimeFlowType.create?p.MetaMetricsEventAccountType.Default:p.MetaMetricsEventAccountType.Imported}},{isOptIn:!0,metaMetricsId:e,flushImmediately:!0}),v&&(w({category:p.MetaMetricsEventCategory.Onboarding,event:p.MetaMetricsEventName.AppInstalled}),w({category:p.MetaMetricsEventCategory.Onboarding,event:p.MetaMetricsEventName.AnalyticsPreferenceSelected,properties:{is_metrics_opted_in:!0,has_marketing_consent:Boolean(b),location:"onboarding_metametrics"}}))}finally{n.push(T)}},I=async()=>{await t((0,u.setParticipateInMetaMetrics)(!1)),await t((0,u.setDataCollectionForMarketing)(!1)),n.push(T)};return A>=y?a.default.createElement("div",{className:"onboarding-metametrics","data-testid":"onboarding-metametrics"},a.default.createElement(r.default,{variant:s.TypographyVariant.H2,align:s.TEXT_ALIGN.CENTER,fontWeight:s.FONT_WEIGHT.BOLD},e("onboardingMetametricsTitle")),a.default.createElement(r.default,{className:"onboarding-metametrics__desc",align:s.TEXT_ALIGN.LEFT},e("onboardingMetametricsDescription")),a.default.createElement(m.Box,{paddingTop:2,paddingBottom:2},a.default.createElement(m.Text,{color:s.TextColor.primaryDefault,as:"a",href:"https://support.metamask.io/privacy-and-security/profile-privacy#how-is-the-profile-created",target:"_blank",rel:"noopener noreferrer"},e("onboardingMetametricsPrivacyDescription"))),a.default.createElement(r.default,{className:"onboarding-metametrics__desc",align:s.TEXT_ALIGN.LEFT},e("onboardingMetametricsDescription2")),a.default.createElement("ul",null,a.default.createElement("li",null,a.default.createElement(h.default,null,a.default.createElement(m.Icon,{marginInlineEnd:2,name:m.IconName.Check,size:m.IconSize.Sm,color:s.IconColor.successDefault}),e("onboardingMetametricsNeverCollect",[a.default.createElement(r.default,{variant:s.TypographyVariant.span,key:"never",fontWeight:s.FONT_WEIGHT.BOLD,marginTop:0},e("onboardingMetametricsNeverCollectEmphasis"))]))),a.default.createElement("li",null,a.default.createElement(h.default,null,a.default.createElement(m.Icon,{marginInlineEnd:2,name:m.IconName.Check,size:m.IconSize.Sm,color:s.IconColor.successDefault}),e("onboardingMetametricsNeverCollectIP",[a.default.createElement(r.default,{variant:s.TypographyVariant.span,key:"never-collect",fontWeight:s.FONT_WEIGHT.BOLD},e("onboardingMetametricsNeverCollectIPEmphasis"))]))),a.default.createElement("li",null,a.default.createElement(h.default,null,a.default.createElement(m.Icon,{marginInlineEnd:2,name:m.IconName.Check,size:m.IconSize.Sm,color:s.IconColor.successDefault}),e("onboardingMetametricsNeverSellData",[a.default.createElement(r.default,{variant:s.TypographyVariant.span,key:"never-sell",fontWeight:s.FONT_WEIGHT.BOLD},e("onboardingMetametricsNeverSellDataEmphasis"))]))," ")),a.default.createElement(m.Checkbox,{id:"metametrics-opt-in",isChecked:b,onClick:()=>t((0,u.setDataCollectionForMarketing)(!b)),label:e("onboardingMetametricsUseDataCheckbox"),paddingBottom:3}),a.default.createElement(r.default,{color:s.TextColor.textAlternative,align:s.TEXT_ALIGN.LEFT,variant:s.TypographyVariant.H6,className:"onboarding-metametrics__terms"},e("onboardingMetametricsInfuraTerms",[a.default.createElement("a",{href:"https://metamask.io/privacy.html",target:"_blank",rel:"noopener noreferrer",key:"privacy-link"},e("onboardingMetametricsInfuraTermsPolicy"))])),a.default.createElement(m.Box,{display:s.Display.Flex,flexDirection:s.FlexDirection.Row,width:s.BlockSize.Full,className:"onboarding-metametrics__buttons",gap:4},a.default.createElement(c.default,{"data-testid":"metametrics-no-thanks",type:"secondary",large:!0,onClick:I},e("noThanks")),a.default.createElement(c.default,{"data-testid":"metametrics-i-agree",type:"primary",large:!0,onClick:C},e("onboardingMetametricsAgree")))):a.default.createElement("div",{className:"onboarding-metametrics","data-testid":"onboarding-legacy-metametrics"},a.default.createElement(r.default,{variant:s.TypographyVariant.H2,align:s.TEXT_ALIGN.CENTER,fontWeight:s.FONT_WEIGHT.BOLD},e("onboardingMetametricsTitle")),a.default.createElement(r.default,{className:"onboarding-metametrics__desc",align:s.TEXT_ALIGN.CENTER},e("onboardingMetametricsDescriptionLegacy")),a.default.createElement(m.Box,{paddingTop:2,paddingBottom:2},a.default.createElement(m.Text,{color:s.TextColor.primaryDefault,as:"a",href:"https://support.metamask.io/privacy-and-security/profile-privacy#how-is-the-profile-created",target:"_blank",rel:"noopener noreferrer"},e("onboardingMetametricsPrivacyDescription"))),a.default.createElement(r.default,{className:"onboarding-metametrics__desc",align:s.TEXT_ALIGN.CENTER},e("onboardingMetametricsDescription2Legacy")),a.default.createElement("ul",null,a.default.createElement("li",null,a.default.createElement(m.Icon,{name:m.IconName.Check,color:s.IconColor.successDefault,marginInlineEnd:3}),e("onboardingMetametricsAllowOptOutLegacy")),a.default.createElement("li",null,a.default.createElement(m.Icon,{name:m.IconName.Check,color:s.IconColor.successDefault,marginInlineEnd:3}),e("onboardingMetametricsSendAnonymizeLegacy")),a.default.createElement("li",null,a.default.createElement(h.default,null,a.default.createElement(m.Icon,{marginInlineEnd:2,name:m.IconName.Close,size:m.IconSize.Sm,color:s.IconColor.errorDefault}),e("onboardingMetametricsNeverCollectLegacy",[a.default.createElement(r.default,{variant:s.TypographyVariant.span,key:"never",fontWeight:s.FONT_WEIGHT.BOLD,marginTop:0},e("onboardingMetametricsNeverEmphasisLegacy"))]))),a.default.createElement("li",null,a.default.createElement(h.default,null,a.default.createElement(m.Icon,{marginInlineEnd:2,name:m.IconName.Close,size:m.IconSize.Sm,color:s.IconColor.errorDefault}),e("onboardingMetametricsNeverCollectIPLegacy",[a.default.createElement(r.default,{variant:s.TypographyVariant.span,key:"never-collect",fontWeight:s.FONT_WEIGHT.BOLD},e("onboardingMetametricsNeverEmphasisLegacy"))]))),a.default.createElement("li",null,a.default.createElement(h.default,null,a.default.createElement(m.Icon,{marginInlineEnd:2,name:m.IconName.Close,size:m.IconSize.Sm,color:s.IconColor.errorDefault}),e("onboardingMetametricsNeverSellDataLegacy",[a.default.createElement(r.default,{variant:s.TypographyVariant.span,key:"never-sell",fontWeight:s.FONT_WEIGHT.BOLD},e("onboardingMetametricsNeverEmphasisLegacy"))]))," ")),a.default.createElement(r.default,{color:s.TextColor.textAlternative,align:s.TEXT_ALIGN.CENTER,variant:s.TypographyVariant.H6,className:"onboarding-metametrics__terms"},e("onboardingMetametricsDataTermsLegacy")),a.default.createElement(r.default,{color:s.TextColor.textAlternative,align:s.TEXT_ALIGN.CENTER,variant:s.TypographyVariant.H6,className:"onboarding-metametrics__terms"},e("onboardingMetametricsInfuraTermsLegacy",[a.default.createElement("a",{href:"https://consensys.io/blog/consensys-data-retention-update",target:"_blank",rel:"noopener noreferrer",key:"retention-link"},e("onboardingMetametricsInfuraTermsPolicyLinkLegacy")),a.default.createElement("a",{href:"https://metamask.io/privacy.html",target:"_blank",rel:"noopener noreferrer",key:"privacy-link"},e("onboardingMetametricsInfuraTermsPolicyLegacy"))])),a.default.createElement("div",{className:"onboarding-metametrics__buttons"},a.default.createElement(c.default,{"data-testid":"metametrics-i-agree",type:"primary",large:!0,onClick:C},e("onboardingMetametricsAgree")),a.default.createElement(c.default,{"data-testid":"metametrics-no-thanks",type:"secondary",large:!0,onClick:I},e("noThanks"))))};var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=A(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var r=o?Object.getOwnPropertyDescriptor(e,i):null;r&&(r.get||r.set)?Object.defineProperty(a,i,r):a[i]=e[i]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=e("react-redux"),i=e("react-router-dom"),r=y(e("../../../components/ui/typography/typography")),s=e("../../../helpers/constants/design-system"),c=y(e("../../../components/ui/button")),l=e("../../../hooks/useI18nContext"),u=e("../../../store/actions"),d=e("../../../selectors"),p=e("../../../../shared/constants/metametrics"),f=e("../../../contexts/metametrics"),m=e("../../../components/component-library"),g=e("../../../helpers/constants/privacy-policy"),h=y(e("../../../components/ui/box/box")),E=e("../../../../shared/constants/onboarding");function y(e){return e&&e.__esModule?e:{default:e}}function A(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(A=function(e){return e?n:t})(e)}}}},{package:"$root$",file:"ui/pages/onboarding-flow/metametrics/metametrics.js"}],[5795,{"../../../../app/_locales/index.json":3,"../../../components/ui/dropdown":5218,"../../../components/ui/metafox-logo":5268,"../../../ducks/locale/locale":5345,"../../../store/actions":5998,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(){const e=(0,o.useDispatch)(),t=(0,o.useSelector)(s.getCurrentLocale),n=l.default.map((e=>({name:e.name,value:e.code})));return a.default.createElement("div",{className:"onboarding-app-header"},a.default.createElement("div",{className:"onboarding-app-header__contents"},a.default.createElement(i.default,{unsetIconHeight:!0,isOnboarding:!0}),a.default.createElement(r.default,{id:"select-locale",options:n,selectedOption:t,onChange:async t=>e((0,c.updateCurrentLocale)(t))})))};var a=u(e("react")),o=e("react-redux"),i=u(e("../../../components/ui/metafox-logo")),r=u(e("../../../components/ui/dropdown")),s=e("../../../ducks/locale/locale"),c=e("../../../store/actions"),l=u(e("../../../../app/_locales/index.json"));function u(e){return e&&e.__esModule?e:{default:e}}}}},{package:"$root$",file:"ui/pages/onboarding-flow/onboarding-app-header/onboarding-app-header.js"}],[5796,{"../../../ducks/metamask/metamask":5346,"../../../helpers/constants/routes":5361,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(){const e=(0,i.useSelector)(c.getCompletedOnboarding),t=(0,i.useSelector)(c.getIsInitialized),n=(0,i.useSelector)(c.getSeedPhraseBackedUp),a=(0,i.useSelector)(c.getIsUnlocked);if(e)return o.default.createElement(r.Redirect,{to:{pathname:s.DEFAULT_ROUTE}});if(null!==n)return o.default.createElement(r.Redirect,{to:{pathname:s.ONBOARDING_COMPLETION_ROUTE}});if(a)return o.default.createElement(r.Redirect,{to:{pathname:s.LOCK_ROUTE}});if(!t){let e;return e=o.default.createElement(r.Redirect,{to:{pathname:s.ONBOARDING_EXPERIMENTAL_AREA}}),e}return o.default.createElement(r.Redirect,{to:{pathname:s.ONBOARDING_UNLOCK_ROUTE}})};var a,o=(a=e("react"))&&a.__esModule?a:{default:a},i=e("react-redux"),r=e("react-router-dom"),s=e("../../../helpers/constants/routes"),c=e("../../../ducks/metamask/metamask")}}},{package:"$root$",file:"ui/pages/onboarding-flow/onboarding-flow-switch/onboarding-flow-switch.js"}],[5797,{"../../../shared/constants/metametrics":4505,"../../components/app/flask/experimental-area":4637,"../../components/app/reveal-SRP-modal":4755,"../../components/ui/button":5198,"../../contexts/metametrics":5327,"../../ducks/metamask/metamask":5346,"../../helpers/constants/routes":5361,"../../hooks/useI18nContext":5427,"../../selectors":5987,"../../store/actions":5998,"../unlock-page":5976,"./create-password/create-password":5791,"./creation-successful/creation-successful":5792,"./import-srp/import-srp":5793,"./metametrics/metametrics":5794,"./onboarding-flow-switch/onboarding-flow-switch":5796,"./pin-extension/pin-extension":5799,"./privacy-settings/privacy-settings":5800,"./recovery-phrase/confirm-recovery-phrase":5802,"./recovery-phrase/review-recovery-phrase":5804,"./secure-your-wallet/secure-your-wallet":5805,"./welcome/welcome":5807,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(){const[e,t]=(0,a.useState)(""),n=(0,i.useDispatch)(),{pathname:N,search:x}=(0,o.useLocation)(),M=(0,o.useHistory)(),R=(0,m.useI18nContext)(),B=(0,i.useSelector)(c.getCompletedOnboarding),D=(0,i.useSelector)(u.getFirstTimeFlowTypeRouteAfterUnlock),j=new URLSearchParams(x).get("isFromReminder"),L=(0,a.useContext)(d.MetaMetricsContext);(0,a.useEffect)((()=>{n((0,l.setOnboardingDate)())}),[n]),(0,a.useEffect)((()=>{B&&!j&&M.push(s.DEFAULT_ROUTE)}),[M,B,j]);const F=async e=>{const a=await n((0,l.createNewVaultAndGetSeedPhrase)(e));t(a)},U=async e=>{const a=await n((0,l.unlockAndGetSeedPhrase)(e));t(a),M.push(D)},G=async(e,t)=>await n((0,l.createNewVaultAndRestore)(e,t)),Q=N===`${s.ONBOARDING_REVIEW_SRP_ROUTE}/`&&B&&!e&&j;return a.default.createElement("div",{className:"onboarding-flow"},a.default.createElement(f.default,{setSecretRecoveryPhrase:t,onClose:()=>M.push(s.DEFAULT_ROUTE),isOpen:Q}),a.default.createElement("div",{className:"onboarding-flow__wrapper"},a.default.createElement(o.Switch,null,a.default.createElement(o.Route,{path:s.ONBOARDING_CREATE_PASSWORD_ROUTE,render:t=>a.default.createElement(y.default,O({},t,{createNewAccount:F,importWithRecoveryPhrase:G,secretRecoveryPhrase:e}))}),a.default.createElement(o.Route,{path:s.ONBOARDING_SECURE_YOUR_WALLET_ROUTE,component:T.default}),a.default.createElement(o.Route,{path:s.ONBOARDING_REVIEW_SRP_ROUTE,render:()=>a.default.createElement(A.default,{secretRecoveryPhrase:e})}),a.default.createElement(o.Route,{path:s.ONBOARDING_CONFIRM_SRP_ROUTE,render:()=>a.default.createElement(k.default,{secretRecoveryPhrase:e})}),a.default.createElement(o.Route,{path:s.ONBOARDING_IMPORT_WITH_SRP_ROUTE,render:e=>a.default.createElement(C.default,O({},e,{submitSecretRecoveryPhrase:t}))}),a.default.createElement(o.Route,{path:s.ONBOARDING_UNLOCK_ROUTE,render:e=>a.default.createElement(r.default,O({},e,{onSubmit:U}))}),a.default.createElement(o.Route,{path:s.ONBOARDING_PRIVACY_SETTINGS_ROUTE,component:b.default}),a.default.createElement(o.Route,{path:s.ONBOARDING_COMPLETION_ROUTE,component:v.default}),a.default.createElement(o.Route,{path:s.ONBOARDING_WELCOME_ROUTE,component:w.default}),a.default.createElement(o.Route,{path:s.ONBOARDING_PIN_EXTENSION_ROUTE,component:I.default}),a.default.createElement(o.Route,{path:s.ONBOARDING_METAMETRICS,component:S.default}),a.default.createElement(o.Route,{path:s.ONBOARDING_EXPERIMENTAL_AREA,render:e=>a.default.createElement(h.default,O({},e,{redirectTo:s.ONBOARDING_WELCOME_ROUTE}))}),a.default.createElement(o.Route,{exact:!0,path:"*",component:E.default}))),N===s.ONBOARDING_COMPLETION_ROUTE&&a.default.createElement(p.default,{className:"onboarding-flow__twitter-button",type:"link",href:P,onClick:()=>{L({category:g.MetaMetricsEventCategory.Onboarding,event:g.MetaMetricsEventName.OnboardingTwitterClick,properties:{text:R("followUsOnTwitter"),location:g.MetaMetricsEventName.OnboardingWalletCreationComplete,url:P}})},target:"_blank"},a.default.createElement("span",null,R("followUsOnTwitter")),a.default.createElement("i",{className:"fab fa-twitter onboarding-flow__twitter-button__icon"})))};var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=x(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var r=o?Object.getOwnPropertyDescriptor(e,i):null;r&&(r.get||r.set)?Object.defineProperty(a,i,r):a[i]=e[i]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=e("react-router-dom"),i=e("react-redux"),r=N(e("../unlock-page")),s=e("../../helpers/constants/routes"),c=e("../../ducks/metamask/metamask"),l=e("../../store/actions"),u=e("../../selectors"),d=e("../../contexts/metametrics"),p=N(e("../../components/ui/button")),f=N(e("../../components/app/reveal-SRP-modal")),m=e("../../hooks/useI18nContext"),g=e("../../../shared/constants/metametrics"),h=N(e("../../components/app/flask/experimental-area")),E=N(e("./onboarding-flow-switch/onboarding-flow-switch")),y=N(e("./create-password/create-password")),A=N(e("./recovery-phrase/review-recovery-phrase")),T=N(e("./secure-your-wallet/secure-your-wallet")),k=N(e("./recovery-phrase/confirm-recovery-phrase")),b=N(e("./privacy-settings/privacy-settings")),v=N(e("./creation-successful/creation-successful")),w=N(e("./welcome/welcome")),C=N(e("./import-srp/import-srp")),I=N(e("./pin-extension/pin-extension")),S=N(e("./metametrics/metametrics"));function N(e){return e&&e.__esModule?e:{default:e}}function x(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(x=function(e){return e?n:t})(e)}function O(){return O=Object.assign?Object.assign.bind():function(e){for(var t=1;ty(e)},a.default.createElement("div",null,a.default.createElement(p.Text,{align:u.TextAlign.Center},e("onboardingPinExtensionDescription")),a.default.createElement("div",{className:"onboarding-pin-extension__diagram"},a.default.createElement(E.default,null))),a.default.createElement("div",null,a.default.createElement(p.Text,{align:u.TextAlign.Center},e("onboardingPinExtensionDescription2")),a.default.createElement(p.Text,{align:u.TextAlign.Center},e("onboardingPinExtensionDescription3")),a.default.createElement("img",{src:"/images/onboarding-pin-browser.svg",width:"799",height:"320",alt:""}))),a.default.createElement("div",{className:"onboarding-pin-extension__buttons"},a.default.createElement(l.default,{"data-testid":0===n?"pin-extension-next":"pin-extension-done",type:"primary",onClick:async()=>{0===n?y(1):(await A((0,s.setCompletedOnboarding)()),T({category:g.MetaMetricsEventCategory.Onboarding,event:g.MetaMetricsEventName.OnboardingWalletSetupComplete,properties:{wallet_setup_type:k===h.FirstTimeFlowType.import?"import":"new",new_wallet:k===h.FirstTimeFlowType.create}}),t.push(d.DEFAULT_ROUTE))}},e(0===n?"next":"done")))))};var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=A(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var r=o?Object.getOwnPropertyDescriptor(e,i):null;r&&(r.get||r.set)?Object.defineProperty(a,i,r):a[i]=e[i]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=e("react-router-dom"),i=e("react-redux"),r=e("react-responsive-carousel"),s=e("../../../store/actions"),c=e("../../../hooks/useI18nContext"),l=y(e("../../../components/ui/button")),u=e("../../../helpers/constants/design-system"),d=e("../../../helpers/constants/routes"),p=e("../../../components/component-library"),f=e("../../../contexts/metametrics"),m=e("../../../selectors"),g=e("../../../../shared/constants/metametrics"),h=e("../../../../shared/constants/onboarding"),E=y(e("./pin-billboard"));function y(e){return e&&e.__esModule?e:{default:e}}function A(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(A=function(e){return e?n:t})(e)}}}},{package:"$root$",file:"ui/pages/onboarding-flow/pin-extension/pin-extension.js"}],[5800,{"../../../../app/scripts/lib/util":120,"../../../../shared/constants/metametrics":4505,"../../../../shared/lib/ui-utils":4532,"../../../components/app/incoming-trasaction-toggle/incoming-transaction-toggle":4648,"../../../components/component-library":4955,"../../../contexts/metametrics":5327,"../../../ducks/app/app":5336,"../../../helpers/constants/design-system":5355,"../../../helpers/constants/routes":5361,"../../../hooks/metamask-notifications/useProfileSyncing":5407,"../../../hooks/useI18nContext":5427,"../../../selectors":5987,"../../../selectors/metamask-notifications/authentication":5988,"../../../selectors/metamask-notifications/profile-syncing":5990,"../../../store/actions":5998,"./setting":5801,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(){var e;const t=(0,g.useI18nContext)(),n=(0,i.useDispatch)(),a=(0,r.useHistory)(),v=(0,i.useSelector)((e=>e.metamask)),{incomingTransactionsPreferences:w,use4ByteResolution:C,useTokenDetection:I,useCurrencyRateCheck:S,useMultiAccountBalanceChecker:N,ipfsGateway:x,useAddressBarEnsResolution:O,useTransactionSimulations:P}=v,M=(0,i.useSelector)(h.getPetnamesEnabled),R=(0,i.useSelector)(y.selectParticipateInMetaMetrics),[B,D]=(0,o.useState)(null),[j,L]=(0,o.useState)(C),[F,U]=(0,o.useState)(I),[G,Q]=(0,o.useState)(S),[H,W]=(0,o.useState)(N),[Y,z]=(0,o.useState)(P),[K,q]=(0,o.useState)(x),[Z,J]=(0,o.useState)(null),[V,X]=(0,o.useState)(O),[_,$]=(0,o.useState)(M),ee=(0,o.useContext)(p.MetaMetricsContext),te=(0,i.useSelector)(h.getCurrentNetwork),ne=(0,i.useSelector)(h.getAllNetworks),ae=(0,i.useSelector)(h.getExternalServicesOnboardingToggleState),oe=function(e){const{setIsProfileSyncingEnabled:t,error:n}=(0,c.useSetIsProfileSyncingEnabled)(),{enableProfileSyncing:a,error:r}=(0,c.useEnableProfileSyncing)(),s=n||r,l=(0,i.useSelector)(E.selectIsProfileSyncingEnabled);return(0,o.useEffect)((()=>{t(!0===e)}),[e,t]),{setIsProfileSyncingEnabled:t,enableProfileSyncing:a,profileSyncingError:s,isProfileSyncingEnabled:l}}(ae),ie=null===B?ae:B;return o.default.createElement(o.default.Fragment,null,o.default.createElement("div",{className:"privacy-settings","data-testid":"privacy-settings"},o.default.createElement("div",{className:"privacy-settings__header"},o.default.createElement(d.Text,{variant:f.TextVariant.headingLg,as:"h2"},t("advancedConfiguration")),o.default.createElement(d.Text,{variant:f.TextVariant.headingSm,as:"h4"},t("setAdvancedPrivacySettingsDetails"))),o.default.createElement("div",{className:"privacy-settings__settings","data-testid":"privacy-settings-settings"},o.default.createElement(b.Setting,{dataTestId:"basic-functionality-toggle",value:ae,setValue:e=>{n(!1===e?(0,T.openBasicFunctionalityModal)():(0,T.onboardingToggleBasicFunctionalityOn)())},title:t("basicConfigurationLabel"),description:t("basicConfigurationDescription",[o.default.createElement("a",{href:"https://consensys.io/privacy-policy",key:"link",target:"_blank",rel:"noreferrer noopener"},t("privacyMsg"))])}),o.default.createElement(k.default,{allNetworks:ne,setIncomingTransactionsPreferences:(e,t)=>n((0,A.setIncomingTransactionsPreferences)(e,t)),incomingTransactionsPreferences:w}),o.default.createElement(b.Setting,{dataTestId:"profile-sync-toggle",disabled:!ae,value:oe.isProfileSyncingEnabled,setValue:async()=>{oe.isProfileSyncingEnabled?n((0,A.showModal)({name:"CONFIRM_TURN_OFF_PROFILE_SYNCING",turnOffProfileSyncing:()=>{oe.setIsProfileSyncingEnabled(!1),ee({category:l.MetaMetricsEventCategory.Onboarding,event:l.MetaMetricsEventName.OnboardingWalletAdvancedSettingsTurnOffProfileSyncing,properties:{participateInMetaMetrics:R}})}})):oe.setIsProfileSyncingEnabled(!0)},title:t("profileSync"),description:t("profileSyncDescription",[o.default.createElement("a",{href:"https://support.metamask.io/privacy-and-security/profile-privacy",key:"link",target:"_blank",rel:"noopener noreferrer"},t("profileSyncPrivacyLink"))])}),oe.profileSyncingError&&o.default.createElement(d.Box,{paddingBottom:4},o.default.createElement(d.Text,{as:"p",color:f.TextColor.errorDefault,variant:f.TextVariant.bodySm},t("notificationsSettingsBoxError"))),o.default.createElement(b.Setting,{value:ie,setValue:D,title:t("usePhishingDetection"),description:t("onboardingUsePhishingDetectionDescription",[o.default.createElement("a",{href:"https://www.jsdelivr.com",target:"_blank",rel:"noreferrer",key:"jsDeliver"},t("jsDeliver")),o.default.createElement("a",{href:"https://www.jsdelivr.com/terms/privacy-policy-jsdelivr-com",target:"_blank",rel:"noreferrer",key:"privacyMsg"},t("privacyMsg"))])}),o.default.createElement(b.Setting,{value:j,setValue:L,title:t("use4ByteResolution"),description:t("use4ByteResolutionDescription")}),o.default.createElement(b.Setting,{value:F,setValue:U,title:t("turnOnTokenDetection"),description:t("useTokenDetectionPrivacyDesc")}),o.default.createElement(b.Setting,{value:H,setValue:W,title:t("useMultiAccountBalanceChecker"),description:t("useMultiAccountBalanceCheckerSettingDescription")}),o.default.createElement(b.Setting,{title:t("onboardingAdvancedPrivacyNetworkTitle"),showToggle:!1,description:o.default.createElement(o.default.Fragment,null,t("onboardingAdvancedPrivacyNetworkDescription",[o.default.createElement("a",{href:"https://consensys.io/privacy-policy/",key:"link",target:"_blank",rel:"noopener noreferrer"},t("privacyMsg"))]),o.default.createElement(d.Box,{paddingTop:2},te?o.default.createElement("div",{className:"privacy-settings__network"},o.default.createElement(o.default.Fragment,null,o.default.createElement(d.PickerNetwork,{label:null==te?void 0:te.nickname,src:null==te||null===(e=te.rpcPrefs)||void 0===e?void 0:e.imageUrl,onClick:()=>n((0,A.toggleNetworkMenu)())}))):o.default.createElement(d.ButtonSecondary,{size:d.ButtonSecondarySize.Lg,onClick:e=>{e.preventDefault(),n((0,A.showModal)({name:"ONBOARDING_ADD_NETWORK"}))}},t("onboardingAdvancedPrivacyNetworkButton"))))}),o.default.createElement(b.Setting,{title:t("onboardingAdvancedPrivacyIPFSTitle"),showToggle:!1,description:o.default.createElement(o.default.Fragment,null,t("onboardingAdvancedPrivacyIPFSDescription"),o.default.createElement(d.Box,{paddingTop:2},o.default.createElement(d.TextField,{value:K,style:{width:"100%"},inputProps:{"data-testid":"ipfs-input"},onChange:e=>{(e=>{q(e);try{const{host:t}=new URL((0,s.addUrlProtocolPrefix)(e));if(!t||"gateway.ipfs.io"===t)throw new Error;J(null)}catch(e){J(t("onboardingAdvancedPrivacyIPFSInvalid"))}})(e.target.value)}}),K?o.default.createElement(d.Text,{variant:f.TextVariant.bodySm,color:Z?f.TextColor.errorDefault:f.TextColor.successDefault},Z||t("onboardingAdvancedPrivacyIPFSValid")):null))}),o.default.createElement(b.Setting,{value:Y,setValue:z,title:t("simulationsSettingSubHeader"),description:t("simulationsSettingDescription",[o.default.createElement("a",{key:"learn_more_link",href:u.TRANSACTION_SIMULATIONS_LEARN_MORE_LINK,rel:"noreferrer",target:"_blank"},t("learnMoreUpperCase"))])}),o.default.createElement(b.Setting,{value:V,setValue:X,title:t("ensDomainsSettingTitle"),description:o.default.createElement(o.default.Fragment,null,o.default.createElement(d.Text,{variant:f.TextVariant.inherit},t("ensDomainsSettingDescriptionIntroduction")),o.default.createElement(d.Box,{as:"ul",marginTop:4,marginBottom:4,paddingInlineStart:4,style:{listStyleType:"circle"}},o.default.createElement(d.Text,{variant:f.TextVariant.inherit,as:"li"},t("ensDomainsSettingDescriptionPart1")),o.default.createElement(d.Text,{variant:f.TextVariant.inherit,as:"li"},t("ensDomainsSettingDescriptionPart2"))),o.default.createElement(d.Text,{variant:f.TextVariant.inherit},t("ensDomainsSettingDescriptionOutroduction")))}),o.default.createElement(b.Setting,{value:G,setValue:Q,title:t("currencyRateCheckToggle"),dataTestId:"currency-rate-check-toggle",description:t("currencyRateCheckToggleDescription",[o.default.createElement("a",{key:"coingecko_link",href:u.COINGECKO_LINK,rel:"noreferrer",target:"_blank"},t("coingecko")),o.default.createElement("a",{key:"cryptocompare_link",href:u.CRYPTOCOMPARE_LINK,rel:"noreferrer",target:"_blank"},t("cryptoCompare")),o.default.createElement("a",{key:"privacy_policy_link",href:u.PRIVACY_POLICY_LINK,rel:"noreferrer",target:"_blank"},t("privacyMsg"))])}),o.default.createElement(b.Setting,{value:_,setValue:$,title:t("petnamesEnabledToggle"),description:t("petnamesEnabledToggleDescription")}),o.default.createElement(d.ButtonPrimary,{size:d.ButtonPrimarySize.Lg,onClick:()=>{if(n((0,A.toggleExternalServices)(ae)),n((0,A.setUsePhishDetect)(ie)),n((0,A.setUse4ByteResolution)(j)),n((0,A.setUseTokenDetection)(F)),n((0,A.setUseMultiAccountBalanceChecker)(H)),n((0,A.setUseCurrencyRateCheck)(G)),n((0,A.setCompletedOnboarding)()),n((0,A.setUseAddressBarEnsResolution)(V)),(0,A.setUseTransactionSimulations)(Y),n((0,A.setPetnamesEnabled)(_)),ae?(oe.isProfileSyncingEnabled||R)&&n((0,A.performSignIn)()):oe.setIsProfileSyncingEnabled(!1),K&&!Z){const{host:e}=new URL((0,s.addUrlProtocolPrefix)(K));n((0,A.setIpfsGateway)(e))}ee({category:l.MetaMetricsEventCategory.Onboarding,event:l.MetaMetricsEventName.OnboardingWalletAdvancedSettings,properties:{show_incoming_tx:w,use_phising_detection:B,turnon_token_detection:F}});const e=oe.isProfileSyncingEnabled||R?l.MetaMetricsEventName.OnboardingWalletAdvancedSettingsWithAuthenticating:l.MetaMetricsEventName.OnboardingWalletAdvancedSettingsWithoutAuthenticating;ee({category:l.MetaMetricsEventCategory.Onboarding,event:e,properties:{isProfileSyncingEnabled:oe.isProfileSyncingEnabled,participateInMetaMetrics:R}}),a.push(m.ONBOARDING_PIN_EXTENSION_ROUTE)},block:!0,marginTop:6},t("done")))))};var a,o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=v(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var r=o?Object.getOwnPropertyDescriptor(e,i):null;r&&(r.get||r.set)?Object.defineProperty(a,i,r):a[i]=e[i]}return a.default=e,n&&n.set(e,a),a}(e("react")),i=e("react-redux"),r=e("react-router-dom"),s=e("../../../../app/scripts/lib/util"),c=e("../../../hooks/metamask-notifications/useProfileSyncing"),l=e("../../../../shared/constants/metametrics"),u=e("../../../../shared/lib/ui-utils"),d=e("../../../components/component-library"),p=e("../../../contexts/metametrics"),f=e("../../../helpers/constants/design-system"),m=e("../../../helpers/constants/routes"),g=e("../../../hooks/useI18nContext"),h=e("../../../selectors"),E=e("../../../selectors/metamask-notifications/profile-syncing"),y=e("../../../selectors/metamask-notifications/authentication"),A=e("../../../store/actions"),T=e("../../../ducks/app/app"),k=(a=e("../../../components/app/incoming-trasaction-toggle/incoming-transaction-toggle"))&&a.__esModule?a:{default:a},b=e("./setting");function v(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(v=function(e){return e?n:t})(e)}}}},{package:"$root$",file:"ui/pages/onboarding-flow/privacy-settings/privacy-settings.js"}],[5801,{"../../../components/component-library":4955,"../../../components/ui/toggle-button":5306,"../../../helpers/constants/design-system":5355,"../../../hooks/useI18nContext":5427,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.Setting=void 0;var a=l(e("react")),o=l(e("prop-types")),i=e("../../../components/component-library"),r=l(e("../../../components/ui/toggle-button")),s=e("../../../helpers/constants/design-system"),c=e("../../../hooks/useI18nContext");function l(e){return e&&e.__esModule?e:{default:e}}const u=({value:e,setValue:t,title:n,description:o,showToggle:l=!0,dataTestId:u,disabled:d=!1})=>{const p=(0,c.useI18nContext)();return a.default.createElement(i.Box,{display:s.Display.Flex,justifyContent:s.JustifyContent.spaceBetween,alignItems:s.AlignItems.center,marginTop:3,marginBottom:3,className:"privacy-settings__setting__wrapper","data-testid":u},a.default.createElement("div",{className:"privacy-settings__setting"},a.default.createElement(i.Text,{variant:s.TextVariant.bodyMdMedium},n),a.default.createElement(i.Text,{variant:s.TextVariant.bodySm,as:"div"},o)),l?a.default.createElement("div",{className:"privacy-settings__setting__toggle"},a.default.createElement(r.default,{value:e,onToggle:e=>t(!e),offLabel:p("off"),onLabel:p("on"),disabled:d})):null)};n.Setting=u,u.propTypes={value:o.default.bool,setValue:o.default.func,title:o.default.string,description:o.default.oneOfType([o.default.object,o.default.string]),showToggle:o.default.bool,dataTestId:o.default.string,disabled:o.default.bool}}}},{package:"$root$",file:"ui/pages/onboarding-flow/privacy-settings/setting.js"}],[5802,{"../../../../shared/constants/metametrics":4505,"../../../components/app/step-progress-bar":4847,"../../../components/ui/box":5194,"../../../components/ui/button":5198,"../../../components/ui/typography":5314,"../../../contexts/metametrics":5327,"../../../helpers/constants/design-system":5355,"../../../helpers/constants/routes":5361,"../../../hooks/useI18nContext":5427,"../../../store/actions":5998,"./recovery-phrase-chips":5803,lodash:3836,"prop-types":3997,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=k;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=T(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var r=o?Object.getOwnPropertyDescriptor(e,i):null;r&&(r.get||r.set)?Object.defineProperty(a,i,r):a[i]=e[i]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=e("react-router-dom"),i=e("react-redux"),r=e("lodash"),s=A(e("prop-types")),c=A(e("../../../components/ui/box")),l=A(e("../../../components/ui/button")),u=A(e("../../../components/ui/typography")),d=e("../../../helpers/constants/design-system"),p=e("../../../components/app/step-progress-bar"),f=e("../../../helpers/constants/routes"),m=e("../../../hooks/useI18nContext"),g=e("../../../store/actions"),h=e("../../../contexts/metametrics"),E=e("../../../../shared/constants/metametrics"),y=A(e("./recovery-phrase-chips"));function A(e){return e&&e.__esModule?e:{default:e}}function T(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(T=function(e){return e?n:t})(e)}function k({secretRecoveryPhrase:e=""}){const t=(0,o.useHistory)(),n=(0,m.useI18nContext)(),s=(0,i.useDispatch)(),A=e.split(" "),T=[2,3,7],[k,b]=(0,a.useState)(!1),v=(0,a.useContext)(h.MetaMetricsContext),[w,C]=(0,a.useState)((()=>{const e={...A};return T.forEach((t=>{e[t]=""})),e})()),I=(0,a.useMemo)((()=>(0,r.debounce)((t=>{b(Object.values(t).join(" ")===e)}),500)),[b,e]);return a.default.createElement("div",{className:"recovery-phrase__confirm","data-testid":"confirm-recovery-phrase"},a.default.createElement(p.ThreeStepProgressBar,{stage:p.threeStepStages.RECOVERY_PHRASE_CONFIRM,marginBottom:4}),a.default.createElement(c.default,{justifyContent:d.JustifyContent.center,textAlign:d.TEXT_ALIGN.CENTER,marginBottom:4},a.default.createElement(u.default,{variant:d.TypographyVariant.H2,fontWeight:d.FONT_WEIGHT.BOLD},n("seedPhraseConfirm"))),a.default.createElement(c.default,{justifyContent:d.JustifyContent.center,textAlign:d.TEXT_ALIGN.CENTER,marginBottom:4},a.default.createElement(u.default,{variant:d.TypographyVariant.H4},n("seedPhraseEnterMissingWords"))),a.default.createElement(y.default,{secretRecoveryPhrase:A,confirmPhase:!0,setInputValue:e=>{C(e),I(e)},inputValue:w,indicesToCheck:T}),a.default.createElement("div",{className:"recovery-phrase__footer__confirm"},a.default.createElement(l.default,{"data-testid":"recovery-phrase-confirm",type:"primary",large:!0,className:"recovery-phrase__footer__confirm--button",onClick:async()=>{await s((0,g.setSeedPhraseBackedUp)(!0)),v({category:E.MetaMetricsEventCategory.Onboarding,event:E.MetaMetricsEventName.OnboardingWalletSecurityPhraseConfirmed}),t.push(f.ONBOARDING_COMPLETION_ROUTE)},disabled:!k},n("confirm"))))}k.propTypes={secretRecoveryPhrase:s.default.string}}}},{package:"$root$",file:"ui/pages/onboarding-flow/recovery-phrase/confirm-recovery-phrase.js"}],[5803,{"../../../components/ui/box":5194,"../../../components/ui/chip":5205,"../../../components/ui/chip/chip-with-input":5203,"../../../components/ui/typography":5314,"../../../helpers/constants/design-system":5355,"../../../hooks/useI18nContext":5427,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=f;var a=p(e("react")),o=p(e("classnames")),i=p(e("prop-types")),r=p(e("../../../components/ui/chip")),s=p(e("../../../components/ui/box")),c=p(e("../../../components/ui/typography")),l=e("../../../components/ui/chip/chip-with-input"),u=e("../../../hooks/useI18nContext"),d=e("../../../helpers/constants/design-system");function p(e){return e&&e.__esModule?e:{default:e}}function f({secretRecoveryPhrase:e,phraseRevealed:t,confirmPhase:n,setInputValue:i,inputValue:p,indicesToCheck:f,hiddenPhrase:m}){const g=(0,u.useI18nContext)(),h=!1===t;return a.default.createElement(s.default,{borderColor:d.BorderColor.borderMuted,borderStyle:d.BorderStyle.solid,padding:4,borderWidth:1,borderRadius:d.Size.MD,display:d.DISPLAY.GRID,marginBottom:4,className:"recovery-phrase__secret"},a.default.createElement("div",{"data-testid":"recovery-phrase-chips",className:(0,o.default)("recovery-phrase__chips",{"recovery-phrase__chips--hidden":h})},e.map(((e,t)=>n&&f&&f.includes(t)?a.default.createElement("div",{className:"recovery-phrase__chip-item",key:t},a.default.createElement("div",{className:"recovery-phrase__chip-item__number"},`${t+1}.`),a.default.createElement(l.ChipWithInput,{dataTestId:`recovery-phrase-input-${t}`,borderColor:d.BorderColor.primaryDefault,className:"recovery-phrase__chip--with-input",inputValue:p[t],setInputValue:e=>{i({...p,[t]:e})}})):a.default.createElement("div",{className:"recovery-phrase__chip-item",key:t},a.default.createElement("div",{className:"recovery-phrase__chip-item__number"},`${t+1}.`),a.default.createElement(r.default,{dataTestId:`recovery-phrase-chip-${t}`,className:"recovery-phrase__chip",borderColor:d.BorderColor.borderDefault},e))))),h&&a.default.createElement("div",{className:"recovery-phrase__secret-blocker"},!m&&a.default.createElement(a.default.Fragment,null,a.default.createElement("i",{className:"far fa-eye",color:"white"}),a.default.createElement(c.default,{variant:d.TypographyVariant.H6,color:d.Color.overlayInverse,className:"recovery-phrase__secret-blocker--text"},g("makeSureNoOneWatching")))))}f.propTypes={secretRecoveryPhrase:i.default.array,phraseRevealed:i.default.bool,confirmPhase:i.default.bool,setInputValue:i.default.func,inputValue:i.default.object,indicesToCheck:i.default.array,hiddenPhrase:i.default.bool}}}},{package:"$root$",file:"ui/pages/onboarding-flow/recovery-phrase/recovery-phrase-chips.js"}],[5804,{"../../../../shared/constants/metametrics":4505,"../../../components/app/step-progress-bar":4847,"../../../components/component-library":4955,"../../../components/ui/box":5194,"../../../components/ui/button":5198,"../../../components/ui/typography":5314,"../../../contexts/metametrics":5327,"../../../helpers/constants/design-system":5355,"../../../helpers/constants/routes":5361,"../../../hooks/useCopyToClipboard":5417,"../../../hooks/useI18nContext":5427,"./recovery-phrase-chips":5803,"prop-types":3997,react:4243,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=T;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=A(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var r=o?Object.getOwnPropertyDescriptor(e,i):null;r&&(r.get||r.set)?Object.defineProperty(a,i,r):a[i]=e[i]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=e("react-router-dom"),i=y(e("prop-types")),r=y(e("../../../components/ui/box")),s=y(e("../../../components/ui/button")),c=y(e("../../../components/ui/typography")),l=e("../../../hooks/useCopyToClipboard"),u=e("../../../hooks/useI18nContext"),d=e("../../../helpers/constants/routes"),p=e("../../../helpers/constants/design-system"),f=e("../../../components/app/step-progress-bar"),m=e("../../../../shared/constants/metametrics"),g=e("../../../contexts/metametrics"),h=e("../../../components/component-library"),E=y(e("./recovery-phrase-chips"));function y(e){return e&&e.__esModule?e:{default:e}}function A(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(A=function(e){return e?n:t})(e)}function T({secretRecoveryPhrase:e}){const t=(0,o.useHistory)(),n=(0,u.useI18nContext)(),{search:i}=(0,o.useLocation)(),[y,A]=(0,l.useCopyToClipboard)(),[T,k]=(0,a.useState)(!1),[b,v]=(0,a.useState)(!1),w=new URLSearchParams(i).get("isFromReminder")?"/?isFromReminder=true":"",C=(0,a.useContext)(g.MetaMetricsContext);return a.default.createElement("div",{className:"recovery-phrase","data-testid":"recovery-phrase"},a.default.createElement(f.ThreeStepProgressBar,{stage:f.threeStepStages.RECOVERY_PHRASE_REVIEW}),a.default.createElement(r.default,{justifyContent:p.JustifyContent.center,textAlign:p.TEXT_ALIGN.CENTER,marginBottom:4},a.default.createElement(c.default,{variant:p.TypographyVariant.H2,fontWeight:p.FONT_WEIGHT.BOLD,className:"recovery-phrase__header"},n("seedPhraseWriteDownHeader"))),a.default.createElement(r.default,{justifyContent:p.JustifyContent.center,textAlign:p.TEXT_ALIGN.CENTER,marginBottom:4},a.default.createElement(c.default,{variant:p.TypographyVariant.H4},n("seedPhraseWriteDownDetails"))),a.default.createElement(r.default,{textAlign:p.TEXT_ALIGN.LEFT,marginBottom:4,className:"recovery-phrase__tips"},a.default.createElement(c.default,{variant:p.TypographyVariant.H4,fontWeight:p.FONT_WEIGHT.BOLD},n("tips"),":"),a.default.createElement("ul",null,a.default.createElement("li",null,a.default.createElement(c.default,{variant:p.TypographyVariant.H4},n("seedPhraseIntroSidebarBulletOne"))),a.default.createElement("li",null,a.default.createElement(c.default,{variant:p.TypographyVariant.H4},n("seedPhraseIntroSidebarBulletThree"))),a.default.createElement("li",null,a.default.createElement(c.default,{variant:p.TypographyVariant.H4},n("seedPhraseIntroSidebarBulletFour"))))),a.default.createElement(E.default,{secretRecoveryPhrase:e.split(" "),phraseRevealed:T&&!b,hiddenPhrase:b}),a.default.createElement("div",{className:"recovery-phrase__footer"},T?a.default.createElement("div",{className:"recovery-phrase__footer__copy-and-hide"},a.default.createElement("div",{className:"recovery-phrase__footer__copy-and-hide__area"},a.default.createElement(s.default,{type:"link",icon:a.default.createElement("i",{className:"far fa-eye"+(b?"":"-slash"),color:"var(--color-primary-default)"}),className:"recovery-phrase__footer__copy-and-hide__button recovery-phrase__footer__copy-and-hide__button__hide-seed",onClick:()=>{v(!b)}},n(b?"revealTheSeedPhrase":"hideSeedPhrase")),a.default.createElement(s.default,{onClick:()=>{A(e)},icon:a.default.createElement(h.Icon,{name:y?h.IconName.CopySuccess:h.IconName.Copy,color:p.IconColor.primaryDefault}),className:"recovery-phrase__footer__copy-and-hide__button recovery-phrase__footer__copy-and-hide__button__copy-to-clipboard",type:"link"},n(y?"copiedExclamation":"copyToClipboard"))),a.default.createElement(s.default,{"data-testid":"recovery-phrase-next",type:"primary",className:"recovery-phrase__footer--button",onClick:()=>{C({category:m.MetaMetricsEventCategory.Onboarding,event:m.MetaMetricsEventName.OnboardingWalletSecurityPhraseWrittenDown}),t.push(`${d.ONBOARDING_CONFIRM_SRP_ROUTE}${w}`)}},n("next"))):a.default.createElement(s.default,{"data-testid":"recovery-phrase-reveal",type:"primary",className:"recovery-phrase__footer--button",onClick:()=>{C({category:m.MetaMetricsEventCategory.Onboarding,event:m.MetaMetricsEventName.OnboardingWalletSecurityPhraseRevealed}),k(!0)}},n("revealSeedWords"))))}T.propTypes={secretRecoveryPhrase:i.default.string}}}},{package:"$root$",file:"ui/pages/onboarding-flow/recovery-phrase/review-recovery-phrase.js"}],[5805,{"../../../../shared/constants/metametrics":4505,"../../../components/app/step-progress-bar":4847,"../../../components/component-library":4955,"../../../contexts/metametrics":5327,"../../../ducks/locale/locale":5345,"../../../helpers/constants/design-system":5355,"../../../helpers/constants/routes":5361,"../../../hooks/useI18nContext":5427,"./skip-srp-backup-popover":5806,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(){const e=(0,i.useHistory)(),t=(0,l.useI18nContext)(),{search:n}=(0,i.useLocation)(),a=(0,r.useSelector)(p.getCurrentLocale),[h,E]=(0,o.useState)(!1),y=new URLSearchParams(n).get("isFromReminder")?"/?isFromReminder=true":"",A=(0,o.useContext)(u.MetaMetricsContext),T={en:"English",es:"Spanish",hi:"Hindi",id:"Indonesian",ja:"Japanese",ko:"Korean",pt:"Portuguese",ru:"Russian",tl:"Tagalog",vi:"Vietnamese",de:"German",el:"Greek",fr:"French",tr:"Turkish",zh:"Chinese - China"},k=T[a]?a:"en";return o.default.createElement(m.Box,{display:s.Display.Flex,justifyContent:s.JustifyContent.center,alignItems:s.AlignItems.center,flexDirection:s.FlexDirection.Column,className:"secure-your-wallet","data-testid":"secure-your-wallet"},h&&o.default.createElement(g.default,{handleClose:()=>E(!1)}),o.default.createElement(c.ThreeStepProgressBar,{stage:c.threeStepStages.RECOVERY_PHRASE_VIDEO,marginBottom:4}),o.default.createElement(m.Text,{variant:s.TextVariant.headingLg,as:"h2",marginBottom:4,textAlign:s.TextAlign.Center},t("seedPhraseIntroTitle")),o.default.createElement(m.Text,{variant:s.TextVariant.bodyLgMedium,marginBottom:6,className:"secure-your-wallet__details"},t("seedPhraseIntroTitleCopy")),o.default.createElement(m.Box,{as:"video",borderRadius:s.BorderRadius.LG,marginBottom:8,className:"secure-your-wallet__video",onPlay:()=>{A({category:f.MetaMetricsEventCategory.Onboarding,event:f.MetaMetricsEventName.OnboardingWalletVideoPlay})},controls:!0},o.default.createElement("source",{type:"video/webm",src:"./images/videos/recovery-onboarding/video.webm"}),Object.keys(T).map((e=>o.default.createElement("track",{default:Boolean(e===k),srcLang:e,label:T[e],key:`${e}-subtitles`,kind:"subtitles",src:`./images/videos/recovery-onboarding/subtitles/${e}.vtt`})))),o.default.createElement(m.Box,{className:"secure-your-wallet__actions",marginBottom:8,width:s.BlockSize.Full,display:s.Display.Flex,flexDirection:[s.FlexDirection.Column,s.FlexDirection.Row],justifyContent:s.JustifyContent.spaceBetween,gap:4},o.default.createElement(m.Button,{"data-testid":"secure-wallet-later",variant:m.BUTTON_VARIANT.SECONDARY,size:m.BUTTON_SIZES.LG,block:!0,onClick:()=>{A({category:f.MetaMetricsEventCategory.Onboarding,event:f.MetaMetricsEventName.OnboardingWalletSecuritySkipInitiated}),E(!0)}},t("seedPhraseIntroNotRecommendedButtonCopy")),o.default.createElement(m.Button,{"data-testid":"secure-wallet-recommended",size:m.BUTTON_SIZES.LG,block:!0,onClick:()=>{A({category:f.MetaMetricsEventCategory.Onboarding,event:f.MetaMetricsEventName.OnboardingWalletSecurityStarted}),e.push(`${d.ONBOARDING_REVIEW_SRP_ROUTE}${y}`)}},t("seedPhraseIntroRecommendedButtonCopy"))),o.default.createElement(m.Box,{className:"secure-your-wallet__desc"},o.default.createElement(m.Text,{as:"h3",variant:s.TextVariant.headingSm},t("seedPhraseIntroSidebarTitleOne")),o.default.createElement(m.Text,{marginBottom:4},t("seedPhraseIntroSidebarCopyOne")),o.default.createElement(m.Text,{as:"h3",variant:s.TextVariant.headingSm},t("seedPhraseIntroSidebarTitleTwo")),o.default.createElement(m.Box,{as:"ul",className:"secure-your-wallet__list",marginBottom:4},o.default.createElement(m.Text,{as:"li"},t("seedPhraseIntroSidebarBulletOne")),o.default.createElement(m.Text,{as:"li"},t("seedPhraseIntroSidebarBulletThree")),o.default.createElement(m.Text,{as:"li"},t("seedPhraseIntroSidebarBulletFour"))),o.default.createElement(m.Text,{as:"h3",variant:s.TextVariant.headingSm},t("seedPhraseIntroSidebarTitleThree")),o.default.createElement(m.Text,{as:"p",marginBottom:4},t("seedPhraseIntroSidebarCopyTwo")),o.default.createElement(m.Text,{as:"h3",variant:s.TextVariant.headingSm,backgroundColor:s.BackgroundColor.primaryMuted,padding:4,borderRadius:s.BorderRadius.LG},t("seedPhraseIntroSidebarCopyThree"))))};var a,o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=h(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var r=o?Object.getOwnPropertyDescriptor(e,i):null;r&&(r.get||r.set)?Object.defineProperty(a,i,r):a[i]=e[i]}return a.default=e,n&&n.set(e,a),a}(e("react")),i=e("react-router-dom"),r=e("react-redux"),s=e("../../../helpers/constants/design-system"),c=e("../../../components/app/step-progress-bar"),l=e("../../../hooks/useI18nContext"),u=e("../../../contexts/metametrics"),d=e("../../../helpers/constants/routes"),p=e("../../../ducks/locale/locale"),f=e("../../../../shared/constants/metametrics"),m=e("../../../components/component-library"),g=(a=e("./skip-srp-backup-popover"))&&a.__esModule?a:{default:a};function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(h=function(e){return e?n:t})(e)}}}},{package:"$root$",file:"ui/pages/onboarding-flow/secure-your-wallet/secure-your-wallet.js"}],[5806,{"../../../../shared/constants/metametrics":4505,"../../../components/component-library":4955,"../../../components/ui/box":5194,"../../../components/ui/button":5198,"../../../components/ui/check-box":5202,"../../../components/ui/popover":5281,"../../../components/ui/typography":5314,"../../../contexts/metametrics":5327,"../../../helpers/constants/design-system":5355,"../../../helpers/constants/routes":5361,"../../../hooks/useI18nContext":5427,"../../../store/actions":5998,"prop-types":3997,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=k;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=T(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var r=o?Object.getOwnPropertyDescriptor(e,i):null;r&&(r.get||r.set)?Object.defineProperty(a,i,r):a[i]=e[i]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=A(e("prop-types")),i=e("react-router-dom"),r=e("react-redux"),s=e("../../../hooks/useI18nContext"),c=A(e("../../../components/ui/button")),l=A(e("../../../components/ui/popover")),u=A(e("../../../components/ui/box")),d=A(e("../../../components/ui/typography")),p=e("../../../helpers/constants/design-system"),f=e("../../../store/actions"),m=A(e("../../../components/ui/check-box")),g=e("../../../helpers/constants/routes"),h=e("../../../../shared/constants/metametrics"),E=e("../../../contexts/metametrics"),y=e("../../../components/component-library");function A(e){return e&&e.__esModule?e:{default:e}}function T(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(T=function(e){return e?n:t})(e)}function k({handleClose:e}){const[t,n]=(0,a.useState)(!1),o=(0,s.useI18nContext)(),A=(0,i.useHistory)(),T=(0,r.useDispatch)(),k=(0,a.useContext)(E.MetaMetricsContext);return a.default.createElement(l.default,{className:"skip-srp-backup-popover",footer:a.default.createElement(u.default,{className:"skip-srp-backup-popover__footer",justifyContent:p.JustifyContent.center,alignItems:p.AlignItems.center},a.default.createElement(c.default,{onClick:()=>{k({category:h.MetaMetricsEventCategory.Onboarding,event:h.MetaMetricsEventName.OnboardingWalletSecuritySkipCanceled}),e()},type:"secondary",rounded:!0},o("goBack")),a.default.createElement(c.default,{"data-testid":"skip-srp-backup",disabled:!t,type:"primary",rounded:!0,onClick:async()=>{await T((0,f.setSeedPhraseBackedUp)(!1)),k({category:h.MetaMetricsEventCategory.Onboarding,event:h.MetaMetricsEventName.OnboardingWalletSecuritySkipConfirmed}),A.push(g.ONBOARDING_COMPLETION_ROUTE)}},o("skip")))},a.default.createElement(u.default,{flexDirection:p.FLEX_DIRECTION.COLUMN,alignItems:p.AlignItems.center,justifyContent:p.JustifyContent.center,margin:4},a.default.createElement(y.Icon,{name:y.IconName.Danger,size:y.IconSize.Xl,className:"skip-srp-backup-popover__icon",color:p.IconColor.errorDefault}),a.default.createElement(d.default,{variant:p.TypographyVariant.H3,fontWeight:p.FONT_WEIGHT.BOLD},o("skipAccountSecurity")),a.default.createElement(u.default,{justifyContent:p.JustifyContent.center,margin:3},a.default.createElement("label",{className:"skip-srp-backup-popover__label"},a.default.createElement(m.default,{className:"skip-srp-backup-popover__checkbox",onClick:()=>n(!t),checked:t,dataTestId:"skip-srp-backup-popover-checkbox"}),a.default.createElement(d.default,{className:"skip-srp-backup-popover__details",variant:p.TypographyVariant.H7},o("skipAccountSecurityDetails"))))))}k.propTypes={handleClose:o.default.func}}}},{package:"$root$",file:"ui/pages/onboarding-flow/secure-your-wallet/skip-srp-backup-popover.js"}],[5807,{"../../../../shared/constants/metametrics":4505,"../../../../shared/constants/onboarding":4510,"../../../components/component-library":4955,"../../../components/ui/box":5194,"../../../components/ui/button":5198,"../../../components/ui/check-box":5202,"../../../components/ui/mascot":5262,"../../../contexts/metametrics":5327,"../../../helpers/constants/design-system":5355,"../../../helpers/constants/routes":5361,"../../../hooks/useI18nContext":5427,"../../../selectors":5987,"../../../store/actions":5998,events:3328,react:4243,"react-redux":4199,"react-responsive-carousel":4223,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(){const e=(0,m.useI18nContext)(),t=(0,i.useDispatch)(),n=(0,r.useHistory)(),[k]=(0,o.useState)(new a.default),b=(0,i.useSelector)(A.getCurrentKeyring),v=(0,i.useSelector)(A.getFirstTimeFlowType),[w,C]=(0,o.useState)(!1);(0,o.useEffect)((()=>{b&&(v===T.FirstTimeFlowType.import&&n.replace(y.ONBOARDING_COMPLETION_ROUTE),v===T.FirstTimeFlowType.restore?n.replace(y.ONBOARDING_COMPLETION_ROUTE):n.replace(y.ONBOARDING_SECURE_YOUR_WALLET_ROUTE))}),[b,n,v]);const I=(0,o.useContext)(g.MetaMetricsContext),S=e("agreeTermsOfUse",[o.default.createElement("a",{className:"create-new-vault__terms-link",key:"create-new-vault__link-text",href:"https://metamask.io/terms.html",target:"_blank",rel:"noopener noreferrer"},e("terms"))]);return o.default.createElement("div",{className:"onboarding-welcome","data-testid":"onboarding-welcome"},o.default.createElement(s.Carousel,{showThumbs:!1,showStatus:!1,showArrows:!0},o.default.createElement("div",null,o.default.createElement(u.Text,{variant:f.TextVariant.headingLg,as:"h2",textAlign:f.TextAlign.Center,fontWeight:f.FontWeight.Bold},e("welcomeToMetaMask")),o.default.createElement(u.Text,{textAlign:f.TextAlign.Center,marginLeft:6,marginRight:6},e("welcomeToMetaMaskIntro")),o.default.createElement("div",{className:"onboarding-welcome__mascot"},o.default.createElement(c.default,{animationEventEmitter:k,width:"250",height:"250"}))),o.default.createElement("div",null,o.default.createElement(u.Text,{variant:f.TextVariant.headingLg,as:"h2",textAlign:f.TextAlign.Center,fontWeight:f.FontWeight.Bold},e("welcomeExploreTitle")),o.default.createElement(u.Text,{textAlign:f.TextAlign.Center},e("welcomeExploreDescription")),o.default.createElement("div",{className:"onboarding-welcome__image"},o.default.createElement("img",{src:"/images/onboarding-welcome-say-hello.svg",width:"169",height:"237",alt:""}))),o.default.createElement("div",null,o.default.createElement(u.Text,{variant:f.TextVariant.headingLg,as:"h2",textAlign:f.TextAlign.Center,fontWeight:f.FontWeight.Bold},e("welcomeLoginTitle")),o.default.createElement(u.Text,{textAlign:f.TextAlign.Center},e("welcomeLoginDescription")),o.default.createElement("div",{className:"onboarding-welcome__image"},o.default.createElement("img",{src:"/images/onboarding-welcome-decentralised-apps.svg",width:"327",height:"256",alt:""})))),o.default.createElement("ul",{className:"onboarding-welcome__buttons"},o.default.createElement("li",null,o.default.createElement(p.default,{alignItems:f.AlignItems.center,className:"onboarding__terms-of-use"},o.default.createElement(d.default,{id:"onboarding__terms-checkbox",className:"onboarding__terms-checkbox",dataTestId:"onboarding-terms-checkbox",checked:w,onClick:()=>{C((e=>!e))}}),o.default.createElement("label",{className:"onboarding__terms-label",htmlFor:"onboarding__terms-checkbox"},o.default.createElement(u.Text,{variant:f.TextVariant.bodyMd,marginLeft:2,as:"span"},S)))),o.default.createElement("li",null,o.default.createElement(l.default,{"data-testid":"onboarding-create-wallet",type:"primary",onClick:async()=>{t((0,E.setFirstTimeFlowType)(T.FirstTimeFlowType.create)),I({category:h.MetaMetricsEventCategory.Onboarding,event:h.MetaMetricsEventName.OnboardingWalletCreationStarted,properties:{account_type:"metamask"}}),t((0,E.setTermsOfUseLastAgreed)((new Date).getTime())),n.push(y.ONBOARDING_METAMETRICS)},disabled:!w},e("onboardingCreateWallet"))),o.default.createElement("li",null,o.default.createElement(l.default,{"data-testid":"onboarding-import-wallet",type:"secondary",onClick:async()=>{t((0,E.setFirstTimeFlowType)(T.FirstTimeFlowType.import)),I({category:h.MetaMetricsEventCategory.Onboarding,event:h.MetaMetricsEventName.OnboardingWalletImportStarted,properties:{account_type:"imported"}}),t((0,E.setTermsOfUseLastAgreed)((new Date).getTime())),n.push(y.ONBOARDING_METAMETRICS)},disabled:!w},e("onboardingImportWallet")))))};var a=b(e("events")),o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=k(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var r=o?Object.getOwnPropertyDescriptor(e,i):null;r&&(r.get||r.set)?Object.defineProperty(a,i,r):a[i]=e[i]}return a.default=e,n&&n.set(e,a),a}(e("react")),i=e("react-redux"),r=e("react-router-dom"),s=e("react-responsive-carousel"),c=b(e("../../../components/ui/mascot")),l=b(e("../../../components/ui/button")),u=e("../../../components/component-library"),d=b(e("../../../components/ui/check-box")),p=b(e("../../../components/ui/box")),f=e("../../../helpers/constants/design-system"),m=e("../../../hooks/useI18nContext"),g=e("../../../contexts/metametrics"),h=e("../../../../shared/constants/metametrics"),E=e("../../../store/actions"),y=e("../../../helpers/constants/routes"),A=e("../../../selectors"),T=e("../../../../shared/constants/onboarding");function k(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(k=function(e){return e?n:t})(e)}function b(e){return e&&e.__esModule?e:{default:e}}}}},{package:"$root$",file:"ui/pages/onboarding-flow/welcome/welcome.js"}],[5808,{"../../../components/app/permissions-connect-footer":4737,"../../../components/component-library":4955,"../../../components/ui/account-list":5188,"../../../components/ui/page-container":5275,"../../../helpers/constants/design-system":5355,"../../../hooks/useI18nContext":5427,"@metamask/permission-controller":1624,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=f(e("prop-types")),o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=p(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var r=o?Object.getOwnPropertyDescriptor(e,i):null;r&&(r.get||r.set)?Object.defineProperty(a,i,r):a[i]=e[i]}return a.default=e,n&&n.set(e,a),a}(e("react")),i=e("@metamask/permission-controller"),r=e("../../../hooks/useI18nContext"),s=f(e("../../../components/app/permissions-connect-footer")),c=f(e("../../../components/ui/account-list")),l=e("../../../components/ui/page-container"),u=e("../../../helpers/constants/design-system"),d=e("../../../components/component-library");function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(p=function(e){return e?n:t})(e)}function f(e){return e&&e.__esModule?e:{default:e}}const m=({selectedAccountAddresses:e,addressLastConnectedMap:t={},accounts:n,selectAccounts:a,selectNewAccountViaModal:p,cancelPermissionsRequest:f,permissionsRequestId:m,targetSubjectMetadata:g,nativeCurrency:h})=>{const[E,y]=(0,o.useState)(e),A=(0,r.useI18nContext)(),T=0===n.length?A("connectAccountOrCreate"):(null==g?void 0:g.subjectType)===i.SubjectType.Snap?A("selectAccountsForSnap"):A("selectAccounts");return o.default.createElement(o.default.Fragment,null,o.default.createElement(d.Box,{className:"permissions-connect-choose-account__content",display:u.Display.Flex,flexDirection:u.FlexDirection.Column,backgroundColor:u.BackgroundColor.backgroundAlternative,width:u.BlockSize.Full,height:u.BlockSize.Full,paddingLeft:6,paddingRight:6},o.default.createElement(d.Box,{display:u.Display.Flex,flexDirection:u.FlexDirection.Column,justifyContent:u.JustifyContent.center,alignItems:u.AlignItems.center,paddingTop:4,paddingBottom:4},o.default.createElement(d.Text,{variant:u.TextVariant.headingMd},A("connectWithMetaMask")),o.default.createElement(d.Text,{variant:u.TextVariant.bodyMd},T)),o.default.createElement(c.default,{accounts:n,selectNewAccountViaModal:p,addressLastConnectedMap:t,nativeCurrency:h,selectedAccounts:E,allAreSelected:()=>n.length===E.size,deselectAll:()=>{y(new Set)},selectAll:()=>{const e=new Set(n.map((e=>e.address)));y(e)},handleAccountClick:e=>{const t=new Set(E);t.has(e)?t.delete(e):t.add(e),y(t)}})),o.default.createElement(d.Box,{backgroundColor:u.BackgroundColor.backgroundAlternative,className:"permissions-connect-choose-account__footer",paddingTop:4},(null==g?void 0:g.subjectType)!==i.SubjectType.Snap&&o.default.createElement(s.default,null),o.default.createElement(l.PageContainerFooter,{cancelButtonType:"default",onCancel:()=>f(m),cancelText:A("cancel"),onSubmit:()=>a(E),submitText:A("next"),disabled:0===E.size})))};m.propTypes={accounts:a.default.arrayOf(a.default.shape({address:a.default.string,addressLabel:a.default.string,lastConnectedDate:a.default.string,balance:a.default.string})).isRequired,selectAccounts:a.default.func.isRequired,selectNewAccountViaModal:a.default.func.isRequired,nativeCurrency:a.default.string.isRequired,addressLastConnectedMap:a.default.object,cancelPermissionsRequest:a.default.func.isRequired,permissionsRequestId:a.default.string.isRequired,selectedAccountAddresses:a.default.object.isRequired,targetSubjectMetadata:a.default.shape({extensionId:a.default.string,iconUrl:a.default.string,name:a.default.string,origin:a.default.string.isRequired,subjectType:a.default.string})};n.default=m}}},{package:"$root$",file:"ui/pages/permissions-connect/choose-account/choose-account.js"}],[5809,{"./choose-account":5808},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return o.default}});var a,o=(a=e("./choose-account"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/permissions-connect/choose-account/index.js"}],[5810,{"./permissions-connect.container":5812},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return o.default}});var a,o=(a=e("./permissions-connect.container"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/permissions-connect/index.js"}],[5811,{"../../../shared/constants/permissions":4511,"../../../shared/constants/time":4518,"../../components/app/permission-connect-header":4730,"../../components/app/permission-page-container":4732,"../../components/app/snaps/snap-authorship-header/snap-authorship-header":4771,"../../components/component-library":4955,"../../helpers/constants/routes":5361,"./choose-account":5809,"./redirect":5813,"./snaps/snap-install":5815,"./snaps/snap-result":5817,"./snaps/snap-update":5819,"./snaps/snaps-connect":5821,"@metamask/permission-controller":1624,"eth-rpc-errors":3257,"prop-types":3997,react:4243,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=b(e("prop-types")),o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=k(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var r=o?Object.getOwnPropertyDescriptor(e,i):null;r&&(r.get||r.set)?Object.defineProperty(a,i,r):a[i]=e[i]}return a.default=e,n&&n.set(e,a),a}(e("react")),i=e("react-router-dom"),r=e("eth-rpc-errors"),s=e("@metamask/permission-controller"),c=e("../../../shared/constants/time"),l=e("../../helpers/constants/routes"),u=b(e("../../components/app/permission-page-container")),d=e("../../components/component-library"),p=b(e("../../components/app/snaps/snap-authorship-header/snap-authorship-header")),f=b(e("../../components/app/permission-connect-header")),m=e("../../../shared/constants/permissions"),g=b(e("./choose-account")),h=b(e("./redirect")),E=b(e("./snaps/snaps-connect")),y=b(e("./snaps/snap-install")),A=b(e("./snaps/snap-update")),T=b(e("./snaps/snap-result"));function k(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(k=function(e){return e?n:t})(e)}function b(e){return e&&e.__esModule?e:{default:e}}function v(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const w=1200*c.MILLISECOND;function C(e,t){var n,a;const o=null===(n=t.permissions)||void 0===n?void 0:n[m.RestrictedMethods.eth_accounts],i=null==o||null===(a=o.caveats)||void 0===a||null===(a=a.find((e=>e.type===m.CaveatTypes.restrictReturnedAccounts)))||void 0===a?void 0:a.value;return i?new Set(i.map((e=>e.toLowerCase()))):new Set([e])}class I extends o.Component{constructor(...e){super(...e),v(this,"state",{redirecting:!1,selectedAccountAddresses:C(this.props.currentAddress,this.props.permissionsRequest),permissionsApproved:null,origin:this.props.origin,targetSubjectMetadata:this.props.targetSubjectMetadata||{},snapsInstallPrivacyWarningShown:this.props.snapsInstallPrivacyWarningShown}),v(this,"selectAccounts",(e=>{const{confirmPermissionPath:t,requestType:n,snapsConnectPath:a,snapInstallPath:o,snapUpdatePath:i,snapResultPath:r}=this.props;this.setState({selectedAccountAddresses:e},(()=>{switch(n){case"wallet_installSnap":this.props.history.push(o);break;case"wallet_updateSnap":this.props.history.push(i);break;case"wallet_installSnapResult":this.props.history.push(r);break;case"wallet_connectSnaps":this.props.history.replace(a);break;default:this.props.history.push(t)}}))})),v(this,"cancelPermissionsRequest",(async e=>{const{rejectPermissionsRequest:t}=this.props;e&&(await t(e),this.redirect(!1))}))}componentDidMount(){const{connectPath:e,confirmPermissionPath:t,snapsConnectPath:n,snapInstallPath:a,snapUpdatePath:o,snapResultPath:i,requestType:r,getRequestAccountTabIds:s,permissionsRequest:c,history:u,isRequestingAccounts:d}=this.props;if(s(),c){if(u.location.pathname===e&&!d)switch(r){case"wallet_installSnap":u.replace(a);break;case"wallet_updateSnap":u.replace(o);break;case"wallet_installSnapResult":u.replace(i);break;case"wallet_connectSnaps":u.replace(n);break;default:u.replace(t)}}else u.replace(l.DEFAULT_ROUTE)}componentDidUpdate(e){const{permissionsRequest:t,lastConnectedInfo:n}=this.props,{redirecting:a,origin:o}=this.state;if(!t&&e.permissionsRequest&&!a){var i,r;const t=((null===(i=n[o])||void 0===i?void 0:i.lastApproved)||0)>((null===(r=e.lastConnectedInfo[o])||void 0===r?void 0:r.lastApproved)||0);this.redirect(t)}}redirect(e){const{history:t,permissionsRequest:n}=this.props;let a=!0;a=!((null==n?void 0:n.permissions)&&Object.keys(n.permissions).includes("wallet_snap")),this.setState({redirecting:a,permissionsApproved:e}),a&&e?setTimeout((()=>t.push(l.DEFAULT_ROUTE)),w):t.push(l.DEFAULT_ROUTE)}goBack(){const{history:e,connectPath:t}=this.props;e.push(t)}renderTopBar(){const{targetSubjectMetadata:e}=this.state;return o.default.createElement(d.Box,{style:{boxShadow:e.subjectType===s.SubjectType.Snap&&"var(--shadow-size-lg) var(--color-shadow-default)"}},e.subjectType===s.SubjectType.Snap?o.default.createElement(p.default,{snapId:e.origin,boxShadow:"none"}):o.default.createElement(f.default,{origin:e.origin,iconUrl:e.iconUrl}))}render(){const{approvePermissionsRequest:e,accounts:t,showNewAccountModal:n,newAccountNumber:a,nativeCurrency:s,permissionsRequest:c,addressLastConnectedMap:l,permissionsRequestId:d,connectPath:p,confirmPermissionPath:f,hideTopBar:m,targetSubjectMetadata:k,snapsConnectPath:b,snapInstallPath:v,snapUpdatePath:w,snapResultPath:C,requestState:I,approvePendingApproval:S,rejectPendingApproval:N,setSnapsInstallPrivacyWarningShownStatus:x}=this.props,{selectedAccountAddresses:O,permissionsApproved:P,redirecting:M,snapsInstallPrivacyWarningShown:R}=this.state;return o.default.createElement("div",{className:"permissions-connect"},!m&&this.renderTopBar(),M&&P?o.default.createElement(h.default,{subjectMetadata:k}):o.default.createElement(i.Switch,null,o.default.createElement(i.Route,{path:p,exact:!0,render:()=>o.default.createElement(g.default,{accounts:t,nativeCurrency:s,selectAccounts:e=>this.selectAccounts(e),selectNewAccountViaModal:e=>{n({onCreateNewAccount:t=>e(t),newAccountNumber:a})},addressLastConnectedMap:l,cancelPermissionsRequest:e=>this.cancelPermissionsRequest(e),permissionsRequestId:d,selectedAccountAddresses:O,targetSubjectMetadata:k})}),o.default.createElement(i.Route,{path:f,exact:!0,render:()=>o.default.createElement(u.default,{request:c||{},approvePermissionsRequest:(...t)=>{e(...t),this.redirect(!0)},rejectPermissionsRequest:e=>this.cancelPermissionsRequest(e),selectedAccounts:t.filter((e=>O.has(e.address))),targetSubjectMetadata:k,history:this.props.history,connectPath:p,snapsInstallPrivacyWarningShown:R,setSnapsInstallPrivacyWarningShownStatus:x})}),o.default.createElement(i.Route,{path:b,exact:!0,render:()=>o.default.createElement(E.default,{request:c||{},approveConnection:(...t)=>{e(...t),this.redirect(!0)},rejectConnection:e=>this.cancelPermissionsRequest(e),targetSubjectMetadata:k,snapsInstallPrivacyWarningShown:R,setSnapsInstallPrivacyWarningShownStatus:x})}),o.default.createElement(i.Route,{path:v,exact:!0,render:()=>o.default.createElement(y.default,{request:c||{},requestState:I||{},approveSnapInstall:e=>{S(e,{...c,permissions:I.permissions,approvedAccounts:[...O]}),this.setState({permissionsApproved:!0})},rejectSnapInstall:e=>{N(e,(0,r.serializeError)(r.ethErrors.provider.userRejectedRequest())),this.setState({permissionsApproved:!0})},targetSubjectMetadata:k})}),o.default.createElement(i.Route,{path:w,exact:!0,render:()=>o.default.createElement(A.default,{request:c||{},requestState:I||{},approveSnapUpdate:e=>{S(e,{...c,permissions:I.permissions,approvedAccounts:[...O]}),this.setState({permissionsApproved:!0})},rejectSnapUpdate:e=>{N(e,(0,r.serializeError)(r.ethErrors.provider.userRejectedRequest())),this.setState({permissionsApproved:!1})},targetSubjectMetadata:k})}),o.default.createElement(i.Route,{path:C,exact:!0,render:()=>o.default.createElement(T.default,{request:c||{},requestState:I||{},approveSnapResult:e=>{S(e),this.setState({permissionsApproved:!0})},targetSubjectMetadata:k})})))}}n.default=I,v(I,"propTypes",{approvePermissionsRequest:a.default.func.isRequired,rejectPermissionsRequest:a.default.func.isRequired,getRequestAccountTabIds:a.default.func.isRequired,accounts:a.default.arrayOf(a.default.shape({id:a.default.string.isRequired,address:a.default.string.isRequired,metadata:a.default.shape({name:a.default.string.isRequired,snap:a.default.shape({id:a.default.string.isRequired,name:a.default.string,enabled:a.default.bool}),keyring:a.default.shape({type:a.default.string.isRequired}).isRequired}).isRequired,addressLabel:a.default.string.isRequired,label:a.default.string.isRequired,balance:a.default.string.isRequired})).isRequired,currentAddress:a.default.string.isRequired,origin:a.default.string,showNewAccountModal:a.default.func.isRequired,newAccountNumber:a.default.number.isRequired,nativeCurrency:a.default.string,permissionsRequest:a.default.object,addressLastConnectedMap:a.default.object.isRequired,lastConnectedInfo:a.default.object.isRequired,permissionsRequestId:a.default.string,history:a.default.object.isRequired,connectPath:a.default.string.isRequired,confirmPermissionPath:a.default.string.isRequired,requestType:a.default.string.isRequired,snapsConnectPath:a.default.string.isRequired,snapInstallPath:a.default.string.isRequired,snapUpdatePath:a.default.string.isRequired,snapResultPath:a.default.string.isRequired,requestState:a.default.object.isRequired,approvePendingApproval:a.default.func.isRequired,rejectPendingApproval:a.default.func.isRequired,setSnapsInstallPrivacyWarningShownStatus:a.default.func.isRequired,snapsInstallPrivacyWarningShown:a.default.bool.isRequired,hideTopBar:a.default.bool,targetSubjectMetadata:a.default.shape({extensionId:a.default.string,iconUrl:a.default.string,name:a.default.string,origin:a.default.string,subjectType:a.default.string}),isRequestingAccounts:a.default.bool.isRequired}),v(I,"defaultProps",{origin:"",nativeCurrency:"",permissionsRequest:undefined,permissionsRequestId:""}),v(I,"contextTypes",{t:a.default.func})}}},{package:"$root$",file:"ui/pages/permissions-connect/permissions-connect.component.js"}],[5812,{"../../ducks/metamask/metamask":5346,"../../helpers/constants/routes":5361,"../../helpers/utils/util":5399,"../../selectors":5987,"../../store/actions":5998,"./permissions-connect.component":5811,"@metamask/permission-controller":1624,"@metamask/snaps-rpc-methods":2086,"prop-types":3997,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=e("@metamask/permission-controller"),o=e("@metamask/snaps-rpc-methods"),i=e("react-redux"),r=f(e("prop-types")),s=e("../../selectors"),c=e("../../ducks/metamask/metamask"),l=e("../../helpers/utils/util"),u=e("../../store/actions"),d=e("../../helpers/constants/routes"),p=f(e("./permissions-connect.component"));function f(e){return e&&e.__esModule?e:{default:e}}const m=(0,i.connect)(((e,t)=>{var n,i,r;const{match:{params:{id:u}},location:{pathname:p}}=t;let f=(0,s.getPermissionsRequests)(e);f=[...f,...(0,s.getSnapInstallOrUpdateRequests)(e)];const{address:m}=(0,s.getSelectedInternalAccount)(e),g=f.find((e=>e.metadata.id===u)),h=Boolean(null==g||null===(n=g.permissions)||void 0===n?void 0:n.eth_accounts),{metadata:E={}}=g||{},{origin:y}=E,A=(0,c.getNativeCurrency)(e),T=(0,s.getTargetSubjectMetadata)(e,y)??{name:(0,l.getURLHostName)(y)||y,origin:y,iconUrl:null,extensionId:null,subjectType:a.SubjectType.Unknown};let k=(0,s.getRequestType)(e,u);g&&1===Object.keys(g.permissions||{}).length&&null!==(i=g.permissions)&&void 0!==i&&i[o.WALLET_SNAP_PERMISSION_KEY]&&(k="wallet_connectSnaps");const b=(0,s.getRequestState)(e,u)||{},v=(0,s.getAccountsWithLabels)(e),w=(0,s.getLastConnectedInfo)(e)||{},C=(null===(r=w[y])||void 0===r?void 0:r.accounts)||{};Object.keys(C).forEach((e=>{C[e]=(0,l.formatDate)(C[e],"yyyy-MM-dd")}));const I=`${d.CONNECT_ROUTE}/${u}`,S=`${d.CONNECT_ROUTE}/${u}${d.CONNECT_CONFIRM_PERMISSIONS_ROUTE}`,N=`${d.CONNECT_ROUTE}/${u}${d.CONNECT_SNAPS_CONNECT_ROUTE}`,x=`${d.CONNECT_ROUTE}/${u}${d.CONNECT_SNAP_INSTALL_ROUTE}`,O=`${d.CONNECT_ROUTE}/${u}${d.CONNECT_SNAP_UPDATE_ROUTE}`,P=`${d.CONNECT_ROUTE}/${u}${d.CONNECT_SNAP_RESULT_ROUTE}`,M=p===x||p===O||p===P;let R=1+h;R+=M,R=R.toString();let B="";if(p===I)B="1";else if(p===S)B=h?"2":"1";else if(M)B=h?"3":"2";else{if(p!==N)throw new Error("Incorrect path for permissions-connect component");B=1}return{isRequestingAccounts:h,requestType:k,snapsConnectPath:N,snapInstallPath:x,snapUpdatePath:O,snapResultPath:P,requestState:b,hideTopBar:M,snapsInstallPrivacyWarningShown:(0,s.getSnapsInstallPrivacyWarningShown)(e),permissionsRequest:g,permissionsRequestId:u,accounts:v,currentAddress:m,origin:y,newAccountNumber:v.length+1,nativeCurrency:A,addressLastConnectedMap:C,lastConnectedInfo:w,connectPath:I,confirmPermissionPath:S,totalPages:R,page:B,targetSubjectMetadata:T}}),(e=>({approvePermissionsRequest:t=>e((0,u.approvePermissionsRequest)(t)),rejectPermissionsRequest:t=>e((0,u.rejectPermissionsRequest)(t)),approvePendingApproval:(t,n)=>e((0,u.resolvePendingApproval)(t,n)),rejectPendingApproval:(t,n)=>e((0,u.rejectPendingApproval)(t,n)),setSnapsInstallPrivacyWarningShownStatus:t=>{e((0,u.setSnapsInstallPrivacyWarningShownStatus)(t))},showNewAccountModal:({onCreateNewAccount:t,newAccountNumber:n})=>e((0,u.showModal)({name:"NEW_ACCOUNT",onCreateNewAccount:t,newAccountNumber:n})),getRequestAccountTabIds:()=>e((0,u.getRequestAccountTabIds)())})))(p.default);m.propTypes={history:r.default.object.isRequired,match:r.default.shape({params:r.default.shape({id:r.default.string}).isRequired}).isRequired};n.default=m}}},{package:"$root$",file:"ui/pages/permissions-connect/permissions-connect.container.js"}],[5813,{"./permissions-redirect.component":5814},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return o.default}});var a,o=(a=e("./permissions-redirect.component"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/permissions-connect/redirect/index.js"}],[5814,{"../../../components/app/permissions-connect-footer":4737,"../../../components/component-library":4955,"../../../contexts/i18n":5324,"../../../helpers/constants/design-system":5355,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=d;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=u(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var r=o?Object.getOwnPropertyDescriptor(e,i):null;r&&(r.get||r.set)?Object.defineProperty(a,i,r):a[i]=e[i]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=l(e("prop-types")),i=e("../../../helpers/constants/design-system"),r=e("../../../contexts/i18n"),s=e("../../../components/component-library"),c=l(e("../../../components/app/permissions-connect-footer"));function l(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(u=function(e){return e?n:t})(e)}function d({subjectMetadata:e}){const t=(0,a.useContext)(r.I18nContext),[n,o]=(0,a.useState)(e);return(0,a.useEffect)((()=>{e&&e.origin&&o(e)}),[e]),a.default.createElement(s.Box,{display:i.Display.Flex,flexDirection:i.FlexDirection.Column,width:i.BlockSize.Full,height:i.BlockSize.Full,justifyContent:i.JustifyContent.spaceBetween},a.default.createElement(s.Box,{display:i.Display.Flex,flexDirection:i.FlexDirection.Column,alignItems:i.AlignItems.center,justifyContent:i.JustifyContent.center,width:i.BlockSize.Full,height:i.BlockSize.Full,backgroundColor:i.BackgroundColor.backgroundAlternative},a.default.createElement(s.Box,{display:i.Display.Flex,marginBottom:4},a.default.createElement(s.Text,{variant:i.TextVariant.headingMd},t("connecting"))),a.default.createElement(s.Box,{display:i.Display.Flex,backgroundColor:i.BackgroundColor.infoMuted,borderRadius:i.BorderRadius.pill,padding:2},a.default.createElement(s.AvatarToken,{src:n.iconUrl,name:n.name,size:s.AvatarTokenSize.Lg}),a.default.createElement(s.Box,{display:i.Display.Flex,alignItems:i.AlignItems.center,justifyContent:i.JustifyContent.center,paddingLeft:4,paddingRight:4},a.default.createElement(s.Icon,{name:s.IconName.Confirmation,size:s.IconSize.Xl,color:i.IconColor.infoDefault})),a.default.createElement(s.AvatarToken,{src:"/images/logo/metamask-fox.svg",size:s.AvatarTokenSize.Lg,name:"metamask-fox"}))),a.default.createElement(s.Box,{backgroundColor:i.BackgroundColor.backgroundAlternative,padding:4},a.default.createElement(s.Box,{display:i.Display.Flex,flexDirection:i.FlexDirection.Column},a.default.createElement(c.default,null),a.default.createElement(s.Box,{display:i.Display.Flex,paddingTop:4,width:i.BlockSize.Full,justifyContent:i.JustifyContent.center,alignItems:i.AlignItems.center},a.default.createElement(s.Button,{variant:s.ButtonVariant.Secondary,size:s.ButtonSize.Lg,width:i.BlockSize.Full,marginRight:2,disabled:!0},t("back")),a.default.createElement(s.Button,{variant:s.ButtonVariant.Primary,size:s.ButtonSize.Lg,width:i.BlockSize.Full,marginLeft:2,disabled:!0,loading:!0},a.default.createElement(s.Icon,{name:s.IconName.Loading,size:s.IconSize.Lg,color:i.IconColor.infoDefault}))))))}d.propTypes={subjectMetadata:o.default.shape({extensionId:o.default.string,iconUrl:o.default.string,subjectType:o.default.string,name:o.default.string.isRequired,origin:o.default.string.isRequired})}}}},{package:"$root$",file:"ui/pages/permissions-connect/redirect/permissions-redirect.component.js"}],[5815,{"./snap-install":5816},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return o.default}});var a,o=(a=e("./snap-install"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/permissions-connect/snaps/snap-install/index.js"}],[5816,{"../../../../components/app/permission-connect-header":4730,"../../../../components/app/snaps/install-error/install-error":4762,"../../../../components/app/snaps/snap-authorship-header":4770,"../../../../components/app/snaps/snap-install-warning":4780,"../../../../components/app/snaps/snap-permissions-list":4792,"../../../../components/component-library":4955,"../../../../components/ui/page-container":5275,"../../../../components/ui/pulse-loader/pulse-loader":5284,"../../../../helpers/constants/design-system":5355,"../../../../helpers/utils/util":5399,"../../../../hooks/useI18nContext":5427,"../../../../hooks/useOriginMetadata":5433,"../../../../hooks/useScrollRequired":5437,"../../../../selectors":5987,"../util":5823,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=v;var a=b(e("prop-types")),o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=k(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var r=o?Object.getOwnPropertyDescriptor(e,i):null;r&&(r.get||r.set)?Object.defineProperty(a,i,r):a[i]=e[i]}return a.default=e,n&&n.set(e,a),a}(e("react")),i=e("react-redux"),r=e("../../../../components/ui/page-container"),s=e("../../../../hooks/useI18nContext"),c=b(e("../../../../components/app/snaps/snap-install-warning")),l=e("../../../../helpers/constants/design-system"),u=e("../util"),d=b(e("../../../../components/ui/pulse-loader/pulse-loader")),p=b(e("../../../../components/app/snaps/snap-authorship-header")),f=e("../../../../components/component-library"),m=b(e("../../../../components/app/snaps/snap-permissions-list")),g=e("../../../../hooks/useScrollRequired"),h=b(e("../../../../components/app/snaps/install-error/install-error")),E=e("../../../../hooks/useOriginMetadata"),y=e("../../../../selectors"),A=e("../../../../helpers/utils/util"),T=b(e("../../../../components/app/permission-connect-header"));function k(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(k=function(e){return e?n:t})(e)}function b(e){return e&&e.__esModule?e:{default:e}}function v({request:e,requestState:t,approveSnapInstall:n,rejectSnapInstall:a,targetSubjectMetadata:k}){var b;const v=(0,s.useI18nContext)(),w=(0,E.useOriginMetadata)(null==e||null===(b=e.metadata)||void 0===b?void 0:b.dappOrigin)||{},{origin:C,iconUrl:I}=w,[S,N]=(0,o.useState)(!1),x=(0,i.useSelector)(y.getSnapsMetadata),{isScrollable:O,isScrolledToBottom:P,scrollToBottom:M,ref:R,onScroll:B}=(0,g.useScrollRequired)([t]),D=(0,o.useCallback)((()=>a(e.metadata.id)),[e,a]),j=(0,o.useCallback)((()=>n(e.metadata.id)),[e,n]),{name:L}=(0,i.useSelector)((e=>(0,y.getSnapMetadata)(e,k.origin))),F=!t.loading&&t.error,U=t.loading,G=(0,u.getSnapInstallWarnings)((null==t?void 0:t.permissions)??{},v,L,(0,A.getSnapName)(x)),Q=G.length>0;return o.default.createElement(f.Box,{className:"snap-install",display:l.Display.Flex,justifyContent:l.JustifyContent.spaceBetween,height:l.BlockSize.Full,borderStyle:l.BorderStyle.none,flexDirection:l.FlexDirection.Column,backgroundColor:l.BackgroundColor.backgroundAlternative},U||F?o.default.createElement(T.default,{origin:C,iconUrl:I}):o.default.createElement(p.default,{snapId:k.origin}),o.default.createElement(f.Box,{ref:U||F?undefined:R,onScroll:B,className:"snap-install__content",style:{overflowY:"auto",flex:!U&&!F&&"1"},paddingLeft:4,paddingRight:4},U&&o.default.createElement(f.Box,{display:l.Display.Flex,className:"snap-install__content__loader-container",flexDirection:l.FlexDirection.Column,alignItems:l.AlignItems.center,justifyContent:l.JustifyContent.center},o.default.createElement(d.default,null)),F&&o.default.createElement(h.default,{iconName:f.IconName.Warning,title:v("connectionFailed"),description:v("connectionFailedDescription",[o.default.createElement(f.Text,{as:"span",key:"1",fontWeight:l.FontWeight.Medium},L)]),error:t.error}),!F&&!U&&o.default.createElement(o.default.Fragment,null,o.default.createElement(f.Text,{variant:l.TextVariant.headingMd,paddingTop:4,paddingBottom:2,textAlign:"center"},v("installRequest")),o.default.createElement(f.Text,{className:"snap-install__content__permission-description",paddingBottom:4,paddingLeft:4,paddingRight:4,textAlign:l.TextAlign.Center},v("snapInstallRequest",[o.default.createElement(f.Text,{as:"span",key:"2",variant:l.TextVariant.bodyMd,fontWeight:l.FontWeight.Medium},L)])),o.default.createElement(f.Box,{display:l.Display.Flex,backgroundColor:l.BackgroundColor.backgroundDefault,paddingLeft:4,paddingRight:4,paddingTop:2,paddingBottom:2,borderRadius:l.BorderRadius.XL},o.default.createElement(m.default,{snapId:k.origin,snapName:L,permissions:t.permissions||{},connections:t.connections||{}})),O&&!P?o.default.createElement(f.Box,{className:"snap-install__scroll-button-area"},o.default.createElement(f.AvatarIcon,{className:"snap-install__scroll-button","data-testid":"snap-install-scroll",iconName:f.IconName.Arrow2Down,backgroundColor:l.BackgroundColor.infoDefault,color:l.IconColor.primaryInverse,onClick:M,style:{cursor:"pointer"}})):null)),o.default.createElement(f.Box,{className:"snap-install__footer",display:l.Display.Flex,alignItems:l.AlignItems.center,flexDirection:l.FlexDirection.Column,backgroundColor:l.BackgroundColor.backgroundAlternative},o.default.createElement(r.PageContainerFooter,{cancelButtonType:"default",hideCancel:F,disabled:U||!F&&O&&!P,onCancel:D,cancelText:v("cancel"),onSubmit:()=>{!F&&Q?N(!0):F?D():j()},submitText:v(F?"ok":U?"connect":"confirm")})),S&&o.default.createElement(c.default,{onCancel:()=>N(!1),onSubmit:j,warnings:G,snapName:L}))}v.propTypes={request:a.default.object.isRequired,requestState:a.default.object.isRequired,approveSnapInstall:a.default.func.isRequired,rejectSnapInstall:a.default.func.isRequired,targetSubjectMetadata:a.default.shape({iconUrl:a.default.string,name:a.default.string,origin:a.default.string.isRequired,sourceCode:a.default.string,version:a.default.string}).isRequired}}}},{package:"$root$",file:"ui/pages/permissions-connect/snaps/snap-install/snap-install.js"}],[5817,{"./snap-result":5818},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return o.default}});var a,o=(a=e("./snap-result"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/permissions-connect/snaps/snap-result/index.js"}],[5818,{"../../../../components/app/snaps/install-error/install-error":4762,"../../../../components/app/snaps/snap-authorship-header":4770,"../../../../components/component-library":4955,"../../../../components/ui/box/box":5193,"../../../../components/ui/page-container":5275,"../../../../components/ui/pulse-loader/pulse-loader":5284,"../../../../helpers/constants/design-system":5355,"../../../../hooks/useI18nContext":5427,"../../../../selectors":5987,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=E;var a=h(e("prop-types")),o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=g(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var r=o?Object.getOwnPropertyDescriptor(e,i):null;r&&(r.get||r.set)?Object.defineProperty(a,i,r):a[i]=e[i]}return a.default=e,n&&n.set(e,a),a}(e("react")),i=e("react-redux"),r=e("../../../../components/ui/page-container"),s=e("../../../../hooks/useI18nContext"),c=h(e("../../../../components/ui/box/box")),l=e("../../../../helpers/constants/design-system"),u=e("../../../../components/component-library"),d=h(e("../../../../components/ui/pulse-loader/pulse-loader")),p=h(e("../../../../components/app/snaps/install-error/install-error")),f=h(e("../../../../components/app/snaps/snap-authorship-header")),m=e("../../../../selectors");function g(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(g=function(e){return e?n:t})(e)}function h(e){return e&&e.__esModule?e:{default:e}}function E({request:e,requestState:t,approveSnapResult:n,targetSubjectMetadata:a}){const g=(0,s.useI18nContext)(),h=(0,o.useCallback)((()=>n(e.metadata.id)),[e,n]),E=!t.loading&&t.error,y=t.loading,{name:A}=(0,i.useSelector)((e=>(0,m.getSnapMetadata)(e,a.origin)));return o.default.createElement(c.default,{className:"page-container snap-result",justifyContent:l.JustifyContent.spaceBetween,height:l.BlockSize.Full,borderStyle:l.BorderStyle.none,flexDirection:l.FlexDirection.Column,backgroundColor:l.BackgroundColor.backgroundAlternative},o.default.createElement(f.default,{snapId:a.origin}),o.default.createElement(c.default,{className:"snap-result__content",paddingLeft:4,paddingRight:4,alignItems:l.AlignItems.center,flexDirection:l.FlexDirection.Column,style:{overflowY:"auto"},backgroundColor:l.BackgroundColor.backgroundAlternative,height:l.BlockSize.Full},y&&o.default.createElement(c.default,{className:"snap-result__content__loader-container",display:l.Display.Flex,flexDirection:l.FlexDirection.Column,alignItems:l.AlignItems.center,justifyContent:l.JustifyContent.center,height:l.BlockSize.Full},o.default.createElement(d.default,null)),!y&&!E&&function(e,t){let n;switch(e){case"wallet_installSnap":n=g("snapInstallSuccess");break;case"wallet_updateSnap":n=g("snapUpdateSuccess");break;default:n=g("snapResultSuccess")}return o.default.createElement(c.default,{flexDirection:l.FlexDirection.Column,alignItems:l.AlignItems.center,justifyContent:l.JustifyContent.center,height:l.BlockSize.Full,paddingTop:2,paddingBottom:2,backgroundColor:l.BackgroundColor.backgroundAlternative},o.default.createElement(u.AvatarIcon,{className:"snap-result__header__icon",iconName:u.IconName.Confirmation,size:u.AvatarIconSize.Xl,color:l.IconColor.successDefault,backgroundColor:l.BackgroundColor.successMuted}),o.default.createElement(u.Text,{fontWeight:l.FontWeight.Bold,variant:l.TextVariant.headingLg,paddingBottom:2,marginTop:4},n),o.default.createElement(u.Text,{textAlign:l.TextAlign.Center},g("snapResultSuccessDescription",[o.default.createElement(u.Text,{as:"span",key:"1",fontWeight:l.FontWeight.Medium},t)])))}(t.type,A),E&&function(e,n){let a,i;switch(e){case"wallet_installSnap":a=g("snapInstallationErrorTitle"),i=g("snapInstallationErrorDescription",[o.default.createElement(u.Text,{as:"span",key:"1",fontWeight:l.FontWeight.Medium},n)]);break;case"wallet_updateSnap":a=g("snapUpdateErrorTitle"),i=g("snapUpdateErrorDescription",[o.default.createElement(u.Text,{as:"span",key:"1",fontWeight:l.FontWeight.Medium},n)]);break;default:a=g("snapResultError")}return o.default.createElement(p.default,{error:t.error,title:a,description:i,iconName:u.IconName.Warning})}(t.type,A)),o.default.createElement(c.default,{className:"snap-result__footer",alignItems:l.AlignItems.center,flexDirection:l.FlexDirection.Column,backgroundColor:l.BackgroundColor.backgroundAlternative},o.default.createElement(r.PageContainerFooter,{hideCancel:!0,disabled:y,onSubmit:h,submitText:g("ok").toUpperCase()})))}E.propTypes={request:a.default.object.isRequired,requestState:a.default.object.isRequired,approveSnapResult:a.default.func.isRequired,targetSubjectMetadata:a.default.shape({iconUrl:a.default.string,name:a.default.string,origin:a.default.string.isRequired,sourceCode:a.default.string,version:a.default.string}).isRequired}}}},{package:"$root$",file:"ui/pages/permissions-connect/snaps/snap-result/snap-result.js"}],[5819,{"./snap-update":5820},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return o.default}});var a,o=(a=e("./snap-update"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/permissions-connect/snaps/snap-update/index.js"}],[5820,{"../../../../components/app/snaps/install-error/install-error":4762,"../../../../components/app/snaps/snap-authorship-header":4770,"../../../../components/app/snaps/snap-install-warning":4780,"../../../../components/app/snaps/update-snap-permission-list":4837,"../../../../components/component-library":4955,"../../../../components/ui/page-container":5275,"../../../../components/ui/pulse-loader/pulse-loader":5284,"../../../../helpers/constants/design-system":5355,"../../../../helpers/utils/util":5399,"../../../../hooks/useI18nContext":5427,"../../../../hooks/useScrollRequired":5437,"../../../../selectors":5987,"../util":5823,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=k;var a=T(e("prop-types")),o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=A(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var r=o?Object.getOwnPropertyDescriptor(e,i):null;r&&(r.get||r.set)?Object.defineProperty(a,i,r):a[i]=e[i]}return a.default=e,n&&n.set(e,a),a}(e("react")),i=e("react-redux"),r=e("../../../../components/ui/page-container"),s=e("../../../../hooks/useI18nContext"),c=T(e("../../../../components/app/snaps/snap-install-warning")),l=e("../../../../helpers/constants/design-system"),u=T(e("../../../../components/app/snaps/update-snap-permission-list")),d=e("../util"),p=T(e("../../../../components/ui/pulse-loader/pulse-loader")),f=T(e("../../../../components/app/snaps/install-error/install-error")),m=T(e("../../../../components/app/snaps/snap-authorship-header")),g=e("../../../../components/component-library"),h=e("../../../../hooks/useScrollRequired"),E=e("../../../../selectors"),y=e("../../../../helpers/utils/util");function A(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(A=function(e){return e?n:t})(e)}function T(e){return e&&e.__esModule?e:{default:e}}function k({request:e,requestState:t,approveSnapUpdate:n,rejectSnapUpdate:a,targetSubjectMetadata:A}){const T=(0,s.useI18nContext)(),[k,b]=(0,o.useState)(!1),{isScrollable:v,isScrolledToBottom:w,scrollToBottom:C,ref:I,onScroll:S}=(0,h.useScrollRequired)([t]),N=(0,i.useSelector)(E.getSnapsMetadata),x=(0,o.useCallback)((()=>a(e.metadata.id)),[e,a]),O=(0,o.useCallback)((()=>n(e.metadata.id)),[e,n]),{name:P}=(0,i.useSelector)((e=>(0,E.getSnapMetadata)(e,A.origin))),M=t.approvedPermissions??{},R=t.unusedPermissions??{},B=t.newPermissions??{},D=t.approvedConnections??{},j=t.unusedConnections??{},L=t.newConnections??{},{newVersion:F}=t,U=t.loading,G=!U&&t.error,Q=(0,d.getSnapInstallWarnings)(B,T,P,(0,y.getSnapName)(N)),H=Q.length>0;return o.default.createElement(g.Box,{className:"snap-update",display:l.Display.Flex,justifyContent:l.JustifyContent.spaceBetween,height:l.BlockSize.Full,borderStyle:l.BorderStyle.none,flexDirection:l.FlexDirection.Column,backgroundColor:l.BackgroundColor.backgroundAlternative},o.default.createElement(m.default,{snapId:A.origin}),o.default.createElement(g.Box,{ref:I,onScroll:S,className:"snap-update__content",style:{overflowY:"auto",flex:!U&&"1"},paddingLeft:4,paddingRight:4},!U&&!G&&o.default.createElement(g.Text,{paddingTop:4,paddingBottom:2,variant:l.TextVariant.headingMd,textAlign:"center"},T("updateRequest")),U&&o.default.createElement(g.Box,{className:"snap-update__content__loader-container",display:l.Display.Flex,flexDirection:l.FlexDirection.Column,alignItems:l.AlignItems.center,justifyContent:l.JustifyContent.center},o.default.createElement(p.default,null)),G&&o.default.createElement(f.default,{iconName:g.IconName.Warning,error:t.error,title:T("snapUpdateErrorTitle"),description:T("snapUpdateErrorDescription",[o.default.createElement(g.Text,{as:"span",key:"1",fontWeight:l.FontWeight.Medium},P)])}),!G&&!U&&o.default.createElement(o.default.Fragment,null,o.default.createElement(g.Text,{className:"snap-update__content__permission-description",paddingBottom:4,paddingLeft:4,paddingRight:4,textAlign:l.TextAlign.Center},T("snapUpdateRequest",[o.default.createElement(g.Text,{as:"span",key:"2",variant:l.TextVariant.bodyMd,fontWeight:l.FontWeight.Medium},P),o.default.createElement(g.Text,{as:"span",key:"3",variant:l.TextVariant.bodyMd,fontWeight:l.FontWeight.Medium},F)])),o.default.createElement(g.Box,{display:l.Display.Flex,backgroundColor:l.BackgroundColor.backgroundDefault,paddingLeft:4,paddingRight:4,paddingTop:2,paddingBottom:2,borderRadius:l.BorderRadius.XL},o.default.createElement(u.default,{approvedPermissions:M,revokedPermissions:R,newPermissions:B,approvedConnections:D,revokedConnections:j,newConnections:L,targetSubjectMetadata:A})),v&&!w?o.default.createElement(g.Box,{className:"snap-update__scroll-button-area"},o.default.createElement(g.AvatarIcon,{className:"snap-install__scroll-button","data-testid":"snap-update-scroll",iconName:g.IconName.Arrow2Down,backgroundColor:l.BackgroundColor.infoDefault,color:l.IconColor.primaryInverse,onClick:C,style:{cursor:"pointer"}})):null)),o.default.createElement(g.Box,{className:"snap-update__footer",display:l.Display.Flex,alignItems:l.AlignItems.center,flexDirection:l.FlexDirection.Column,backgroundColor:l.BackgroundColor.backgroundAlternative},o.default.createElement(r.PageContainerFooter,{cancelButtonType:"default",hideCancel:G,disabled:U||!G&&v&&!w,onCancel:x,cancelText:T("cancel"),onSubmit:()=>{!G&&H?b(!0):G?x():O()},submitText:T(G?"ok":"confirm")})),k&&o.default.createElement(c.default,{onCancel:()=>b(!1),onSubmit:O,snapName:P,warnings:Q}))}k.propTypes={request:a.default.object.isRequired,requestState:a.default.object.isRequired,approveSnapUpdate:a.default.func.isRequired,rejectSnapUpdate:a.default.func.isRequired,targetSubjectMetadata:a.default.shape({iconUrl:a.default.string,name:a.default.string,origin:a.default.string.isRequired,sourceCode:a.default.string,version:a.default.string}).isRequired}}}},{package:"$root$",file:"ui/pages/permissions-connect/snaps/snap-update/snap-update.js"}],[5821,{"./snaps-connect":5822},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return o.default}});var a,o=(a=e("./snaps-connect"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/permissions-connect/snaps/snaps-connect/index.js"}],[5822,{"../../../../components/app/snaps/snap-avatar/snap-avatar":4773,"../../../../components/app/snaps/snap-connect-cell/snap-connect-cell":4774,"../../../../components/app/snaps/snap-privacy-warning/snap-privacy-warning":4795,"../../../../components/component-library":4955,"../../../../components/ui/page-container":5275,"../../../../components/ui/pulse-loader/pulse-loader":5284,"../../../../helpers/constants/design-system":5355,"../../../../helpers/utils/util":5399,"../../../../hooks/useI18nContext":5427,"../../../../hooks/useOriginMetadata":5433,"../../../../selectors":5987,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=A;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=y(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var r=o?Object.getOwnPropertyDescriptor(e,i):null;r&&(r.get||r.set)?Object.defineProperty(a,i,r):a[i]=e[i]}return a.default=e,n&&n.set(e,a),a}(e("react")),o=e("react-redux"),i=E(e("prop-types")),r=e("../../../../hooks/useI18nContext"),s=e("../../../../components/component-library"),c=e("../../../../helpers/constants/design-system"),l=e("../../../../components/ui/page-container"),u=E(e("../../../../components/app/snaps/snap-connect-cell/snap-connect-cell")),d=e("../../../../helpers/utils/util"),p=E(e("../../../../components/ui/pulse-loader/pulse-loader")),f=E(e("../../../../components/app/snaps/snap-privacy-warning/snap-privacy-warning")),m=e("../../../../selectors"),g=E(e("../../../../components/app/snaps/snap-avatar/snap-avatar")),h=e("../../../../hooks/useOriginMetadata");function E(e){return e&&e.__esModule?e:{default:e}}function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(y=function(e){return e?n:t})(e)}function A({request:e,approveConnection:t,rejectConnection:n,targetSubjectMetadata:i,snapsInstallPrivacyWarningShown:E,setSnapsInstallPrivacyWarningShownStatus:y}){const A=(0,r.useI18nContext)(),{origin:T}=i,[k,b]=(0,a.useState)(!1),[v,w]=(0,a.useState)(!E),C=(0,o.useSelector)((t=>{var n;return(0,m.getPermissions)(t,null==e||null===(n=e.metadata)||void 0===n?void 0:n.origin)})),I=(0,a.useCallback)((()=>{n(e.metadata.id)}),[e,n]),S=(0,a.useCallback)((()=>{try{b(!0),t(e)}finally{b(!1)}}),[e,t]),N=(0,d.getDedupedSnaps)(e,C),x=()=>{const{hostname:e}=(0,h.useOriginMetadata)(T)||{},t=N[0],{name:n}=(0,o.useSelector)((e=>(0,m.getSnapMetadata)(e,t)));return k?a.default.createElement(s.Box,{display:c.Display.Flex,flexDirection:c.FlexDirection.Column,alignItems:c.AlignItems.center,justifyContent:c.JustifyContent.center,width:c.BlockSize.Full,height:c.BlockSize.Full},a.default.createElement(p.default,null)):(null==N?void 0:N.length)>1?a.default.createElement(s.Box,{flexDirection:c.FlexDirection.Column,justifyContent:c.JustifyContent.center,alignItems:c.AlignItems.center,paddingTop:4,width:c.BlockSize.Full,style:{overflowY:"hidden"},backgroundColor:c.BackgroundColor.backgroundAlternative},a.default.createElement(s.Text,{paddingBottom:2,variant:c.TextVariant.headingMd,textAlign:c.TextAlign.Center},A("connectionRequest")),a.default.createElement(s.Text,{variant:c.TextVariant.bodyMd,textAlign:c.TextAlign.Center},A("multipleSnapConnectionWarning",[a.default.createElement(s.Text,{as:"span",key:"1",variant:c.TextVariant.bodyMd,fontWeight:c.FontWeight.Medium},e),a.default.createElement(s.Text,{as:"span",key:"2",variant:c.TextVariant.bodyMd,fontWeight:c.FontWeight.Medium},null==N?void 0:N.length)])),a.default.createElement(s.Box,{flexDirection:c.FlexDirection.Column,display:c.Display.Flex,marginTop:4,width:c.BlockSize.Full,style:{overflowY:"auto",flex:1}},N.map((t=>a.default.createElement(u.default,{key:`snaps-connect-${t}`,snapId:t,origin:e}))))):1===(null==N?void 0:N.length)?a.default.createElement(s.Box,{display:c.Display.Flex,flexDirection:c.FlexDirection.Column,justifyContent:c.JustifyContent.center,alignItems:c.AlignItems.center,width:c.BlockSize.Full,height:c.BlockSize.Full,paddingLeft:4,paddingRight:4,backgroundColor:c.BackgroundColor.backgroundAlternative},a.default.createElement(s.Box,{paddingBottom:2},a.default.createElement(g.default,{snapId:N[0],badgeSize:s.IconSize.Md,avatarSize:s.IconSize.Xl,borderWidth:3})),a.default.createElement(s.Text,{paddingBottom:2,variant:c.TextVariant.headingMd},A("connectionRequest")),a.default.createElement(s.Text,{variant:c.TextVariant.bodyMd,textAlign:c.TextAlign.Center,padding:[0,4],overflowWrap:c.OverflowWrap.Anywhere},A("snapConnectionWarning",[a.default.createElement(s.Text,{as:"span",key:"1",variant:c.TextVariant.bodyMd,fontWeight:c.FontWeight.Medium},e),a.default.createElement(s.Text,{as:"span",key:"2",variant:c.TextVariant.bodyMd,fontWeight:c.FontWeight.Medium},n)]))):null};return a.default.createElement(s.Box,{className:"snaps-connect",display:c.Display.Flex,flexDirection:c.FlexDirection.Column,alignItems:c.AlignItems.center,height:c.BlockSize.Full,width:c.BlockSize.Full,backgroundColor:c.BackgroundColor.backgroundAlternative},v&&a.default.createElement(f.default,{onAccepted:()=>{w(!1),y(!0)},onCanceled:I}),a.default.createElement(s.Box,{display:c.Display.Flex,height:c.BlockSize.Full,width:c.BlockSize.Full,paddingLeft:4,paddingRight:4},a.default.createElement(x,null)),a.default.createElement(l.PageContainerFooter,{cancelButtonType:"default",hideCancel:!1,disabled:k,onCancel:I,cancelText:A("cancel"),onSubmit:S,submitText:A("connect")}))}A.propTypes={request:i.default.object.isRequired,approveConnection:i.default.func.isRequired,rejectConnection:i.default.func.isRequired,targetSubjectMetadata:i.default.shape({extensionId:i.default.string,iconUrl:i.default.string,name:i.default.string,origin:i.default.string,subjectType:i.default.string}),snapsInstallPrivacyWarningShown:i.default.bool.isRequired,setSnapsInstallPrivacyWarningShownStatus:i.default.func}}}},{package:"$root$",file:"ui/pages/permissions-connect/snaps/snaps-connect/snaps-connect.js"}],[5823,{"../../../helpers/utils/permission":5393},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.getSnapInstallWarnings=function(e,t,n,o){return Object.entries(e).reduce(((e,[i,r])=>{const s=(0,a.getPermissionDescription)({t:t,permissionName:i,permissionValue:r,subjectName:n,getSubjectName:o});return e.concat(s.filter((e=>e.weight<=2)))}),[])};var a=e("../../../helpers/utils/permission")}}},{package:"$root$",file:"ui/pages/permissions-connect/snaps/util.js"}],[5824,{"./remove-snap-account":5825,"./snap-account-card":5826},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var a={RemoveSnapAccount:!0};Object.defineProperty(n,"RemoveSnapAccount",{enumerable:!0,get:function(){return i.default}});var o,i=(o=e("./remove-snap-account"))&&o.__esModule?o:{default:o},r=e("./snap-account-card");Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(a,e)||e in n&&n[e]===r[e]||Object.defineProperty(n,e,{enumerable:!0,get:function(){return r[e]}}))}))}}},{package:"$root$",file:"ui/pages/remove-snap-account/hybrid-compute-sdk.ts"}],[5825,{"../../components/app/snaps/snap-authorship-header":4770,"../../components/component-library":4955,"../../helpers/constants/design-system":5355,"../../hooks/useI18nContext":5427,"./snap-account-card":5826,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=l(e("react")),o=e("../../components/component-library"),i=e("../../helpers/constants/design-system"),r=e("../../hooks/useI18nContext"),s=l(e("../../components/app/snaps/snap-authorship-header")),c=e("./snap-account-card");function l(e){return e&&e.__esModule?e:{default:e}}n.default=({snapId:e,publicAddress:t})=>{const n=(0,r.useI18nContext)();return a.default.createElement(o.Box,{className:"remove-snap-account-page",height:i.BlockSize.Full,width:i.BlockSize.Full,display:i.Display.Flex,borderStyle:i.BorderStyle.none,flexDirection:i.FlexDirection.Column,alignItems:i.AlignItems.center,marginBottom:0},a.default.createElement(s.default,{snapId:e}),a.default.createElement(o.Box,{display:i.Display.Flex,flexDirection:i.FlexDirection.Column,alignItems:i.AlignItems.center,justifyContent:i.JustifyContent.center,paddingLeft:4,paddingRight:4,style:{flexGrow:1}},a.default.createElement(o.Box,{display:i.Display.Flex,flexDirection:i.FlexDirection.Row,justifyContent:i.JustifyContent.spaceBetween},a.default.createElement(o.Box,{display:i.Display.Flex,flexDirection:i.FlexDirection.Column,alignItems:i.AlignItems.center},a.default.createElement(o.Box,{paddingBottom:2},a.default.createElement(o.AvatarIcon,{iconName:o.IconName.UserCircleRemove,color:i.IconColor.errorDefault,backgroundColor:i.BackgroundColor.errorMuted,size:o.AvatarIconSize.Xl})),a.default.createElement(o.Text,{textAlign:i.TextAlign.Center,variant:i.TextVariant.headingLg},n("removeSnapAccountTitle")),a.default.createElement(c.SnapAccountCard,{address:t,remove:!0}),a.default.createElement(o.Text,{variant:i.TextVariant.bodyMd,textAlign:i.TextAlign.Center,overflowWrap:i.OverflowWrap.Anywhere},n("removeSnapAccountDescription"))))))}}}},{package:"$root$",file:"ui/pages/remove-snap-account/remove-snap-account.tsx"}],[5826,{"../../components/component-library":4955,"../../components/multichain":5092,"../../components/multichain/account-list-menu/account-list-menu":5024,"../../helpers/constants/design-system":5355,"../../selectors":5987,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.SnapAccountCard=void 0;var a,o=(a=e("react"))&&a.__esModule?a:{default:a},i=e("react-redux"),r=e("../../selectors"),s=e("../../helpers/constants/design-system"),c=e("../../components/component-library"),l=e("../../components/multichain"),u=e("../../components/multichain/account-list-menu/account-list-menu");n.SnapAccountCard=({address:e,remove:t})=>{const n=(0,i.useSelector)(r.getMetaMaskAccountsOrdered),a=(0,i.useSelector)(r.getInternalAccounts),d=(0,u.mergeAccounts)(n,a).find((t=>t.address===e));return o.default.createElement(c.Box,{className:t?"snap-account-card-remove":"snap-account-card",borderRadius:s.BorderRadius.LG,marginTop:4,marginBottom:4,width:s.BlockSize.Full,style:{boxShadow:"var(--shadow-size-lg) var(--color-shadow-default)"}},o.default.createElement(l.AccountListItem,{account:d,selected:t}))}}}},{package:"$root$",file:"ui/pages/remove-snap-account/snap-account-card.tsx"}],[5827,{"./routes.container":5829},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return o.default}});var a,o=(a=e("./routes.container"))&&a.__esModule?a:{default:a}}}},{package:"$root$",file:"ui/pages/routes/index.js"}],[5828,{"../../../app/scripts/lib/util":120,"../../../shared/constants/app":4493,"../../../shared/constants/desktop":4497,"../../../shared/constants/network":4507,"../../../shared/constants/preferences":4512,"../../../shared/constants/time":4518,"../../../shared/lib/ui-utils":4532,"../../components/app/alerts":4580,"../../components/app/basic-configuration-modal":4589,"../../components/app/loading-network-screen":4650,"../../components/app/modals":4685,"../../components/app/modals/keyring-snap-removal-modal":4686,"../../components/app/nft-default-image/toggle-ipfs-modal":4717,"../../components/app/qr-hardware-popover":4745,"../../components/component-library":4955,"../../components/multichain":5092,"../../components/multichain/app-header/multichain-meta-fox-logo":5043,"../../components/multichain/pages":5145,"../../components/multichain/pages/send":5172,"../../components/ui/alert":5192,"../../components/ui/deprecated-networks/deprecated-networks":5212,"../../components/ui/loading-screen":5256,"../../components/ui/new-network-info/new-network-info":5270,"../../ducks/send":5348,"../../helpers/constants/design-system":5355,"../../helpers/constants/routes":5361,"../../helpers/higher-order-components/authenticated":5371,"../../helpers/higher-order-components/initialized":5373,"../../helpers/utils/util":5399,"../../hooks/desktopHooks":5402,"../asset":5460,"../confirm-add-suggested-nft":5462,"../confirm-add-suggested-token":5464,"../confirmations/confirm-transaction":5663,"../confirmations/confirmation":5671,"../create-account/create-account.component":5735,"../desktop-error":5740,"../desktop-pairing":5744,"../home":5750,"../keychains/restore-vault":5752,"../keychains/reveal-seed":5753,"../lock":5754,"../notification-details":5757,"../notifications":5769,"../notifications-settings":5763,"../onboarding-flow/onboarding-app-header/onboarding-app-header":5795,"../onboarding-flow/onboarding-flow":5797,"../permissions-connect":5810,"../settings":5853,"../settings/deprecated-network-modal/DeprecatedNetworkModal":5847,"../snaps/snap-view":5896,"../snaps/snaps-list":5900,"../swaps":5926,"../token-details":5974,"../unlock-page":5976,classnames:3049,"prop-types":3997,react:4243,"react-idle-timer":4090,"react-router-dom":4228,"webextension-polyfill":4472},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=de(e("classnames")),o=de(e("prop-types")),i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=ue(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var r=o?Object.getOwnPropertyDescriptor(e,i):null;r&&(r.get||r.set)?Object.defineProperty(a,i,r):a[i]=e[i]}return a.default=e,n&&n.set(e,a),a}(e("react")),r=e("react-router-dom"),s=de(e("react-idle-timer")),c=de(e("webextension-polyfill")),l=de(e("../swaps")),u=de(e("../confirmations/confirm-transaction")),d=de(e("../home")),p=e("../../components/multichain/pages"),f=de(e("../settings")),m=de(e("../../helpers/higher-order-components/authenticated")),g=de(e("../../helpers/higher-order-components/initialized")),h=de(e("../lock")),E=de(e("../permissions-connect")),y=de(e("../keychains/restore-vault")),A=de(e("../keychains/reveal-seed")),T=de(e("../confirm-add-suggested-token")),k=de(e("../create-account/create-account.component")),b=de(e("../confirm-add-suggested-nft")),v=de(e("../../components/ui/loading-screen")),w=de(e("../../components/app/loading-network-screen")),C=e("../../components/app/modals"),I=de(e("../../components/ui/alert")),S=e("../../../shared/lib/ui-utils"),N=e("../../components/multichain"),x=de(e("../unlock-page")),O=de(e("../../components/app/alerts")),P=de(e("../asset")),M=de(e("../onboarding-flow/onboarding-app-header/onboarding-app-header")),R=de(e("../token-details")),B=de(e("../notifications")),D=de(e("../notifications-settings")),j=de(e("../notification-details")),L=de(e("../snaps/snaps-list")),F=de(e("../snaps/snap-view")),U=e("../../hooks/desktopHooks"),G=de(e("../desktop-error")),Q=de(e("../desktop-pairing")),H=e("../../helpers/constants/routes"),W=e("../../../shared/constants/desktop"),Y=e("../../../shared/constants/app"),z=e("../../../shared/constants/network"),K=e("../../../app/scripts/lib/util"),q=de(e("../confirmations/confirmation")),Z=de(e("../onboarding-flow/onboarding-flow")),J=de(e("../../components/app/qr-hardware-popover")),V=e("../../ducks/send"),X=de(e("../../components/ui/deprecated-networks/deprecated-networks")),_=de(e("../../components/ui/new-network-info/new-network-info")),$=e("../../../shared/constants/preferences"),ee=e("../../components/component-library"),te=e("../../components/app/nft-default-image/toggle-ipfs-modal"),ne=e("../../components/app/basic-configuration-modal"),ae=de(e("../../components/app/modals/keyring-snap-removal-modal")),oe=e("../../components/multichain/pages/send"),ie=e("../settings/deprecated-network-modal/DeprecatedNetworkModal"),re=e("../../helpers/utils/util"),se=e("../../helpers/constants/design-system"),ce=e("../../../shared/constants/time"),le=e("../../components/multichain/app-header/multichain-meta-fox-logo");function ue(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(ue=function(e){return e?n:t})(e)}function de(e){return e&&e.__esModule?e:{default:e}}function pe(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const fe=e=>Boolean((0,r.matchPath)(e,{path:H.CONFIRM_TRANSACTION_ROUTE,exact:!1}));class me extends i.Component{constructor(...e){super(...e),pe(this,"state",{hideConnectAccountToast:!1}),pe(this,"onAppHeaderClick",(async()=>{const{prepareToLeaveSwaps:e}=this.props;this.onSwapsPage()&&await e()}))}getTheme(){const{theme:e}=this.props;var t;return e===$.ThemeType.os?null!==(t=window)&&void 0!==t&&null!==(t=t.matchMedia("(prefers-color-scheme: dark)"))&&void 0!==t&&t.matches?$.ThemeType.dark:$.ThemeType.light:e}setTheme(){const e=this.getTheme();document.documentElement.setAttribute("data-theme",e)}componentDidMount(){this.updateNewPrivacyPolicyToastDate();const{history:e}=this.props;c.default.runtime.onMessage.addListener((0,U.registerOnDesktopDisconnect)(e))}componentWillUnmount(){const{history:e}=this.props;c.default.runtime.onMessage.removeListener((0,U.registerOnDesktopDisconnect)(e))}componentDidUpdate(e){var t;const{theme:n,account:a,networkToAutomaticallySwitchTo:o,activeTabOrigin:i,totalUnapprovedConfirmationCount:r,isUnlocked:s,useRequestQueue:c,currentExtensionPopupId:l}=this.props;n!==e.theme&&this.setTheme(),(null===(t=e.account)||void 0===t?void 0:t.address)!==(null==a?void 0:a.address)&&this.setState({hideConnectAccountToast:!1}),o&&0===r&&(e.totalUnapprovedConfirmationCount>0||!1===e.isUnlocked&&s)&&this.props.automaticallySwitchNetwork(o,i),c&&l!==undefined&&global.metamask.id!==undefined&&l!==global.metamask.id&&window.close()}UNSAFE_componentWillMount(){const{currentCurrency:e,pageChanged:t,setCurrentCurrencyToUSD:n,history:a,showExtensionInFullSizeView:o}=this.props,i=(0,K.getEnvironmentType)();o&&i===Y.ENVIRONMENT_TYPE_POPUP&&global.platform.openExtensionInBrowser(),e||n(),a.listen(((e,n)=>{"PUSH"===n&&t(e.pathname)})),this.setTheme()}renderRoutes(){const{autoLockTimeLimit:e,setLastActiveTime:t,forgottenPassword:n}=this.props,a=n?r.Route:g.default,o=i.default.createElement(r.Switch,null,i.default.createElement(r.Route,{path:H.ONBOARDING_ROUTE,component:Z.default}),i.default.createElement(r.Route,{path:H.LOCK_ROUTE,component:h.default,exact:!0}),i.default.createElement(r.Route,{path:`${H.DESKTOP_ERROR_ROUTE}/:errorType`,component:G.default,exact:!0}),i.default.createElement(g.default,{path:H.UNLOCK_ROUTE,component:x.default,exact:!0}),i.default.createElement(a,{path:H.RESTORE_VAULT_ROUTE,component:y.default,exact:!0}),i.default.createElement(m.default,{path:H.REVEAL_SEED_ROUTE,component:A.default,exact:!0}),i.default.createElement(m.default,{path:H.SETTINGS_ROUTE,component:f.default}),i.default.createElement(m.default,{path:H.NOTIFICATIONS_SETTINGS_ROUTE,component:D.default}),i.default.createElement(m.default,{path:`${H.NOTIFICATIONS_ROUTE}/:uuid`,component:j.default}),i.default.createElement(m.default,{path:H.NOTIFICATIONS_ROUTE,component:B.default}),i.default.createElement(m.default,{exact:!0,path:H.SNAPS_ROUTE,component:L.default}),i.default.createElement(m.default,{path:H.SNAPS_VIEW_ROUTE,component:F.default}),i.default.createElement(m.default,{path:`${H.CONFIRM_TRANSACTION_ROUTE}/:id?`,component:u.default}),i.default.createElement(m.default,{path:H.SEND_ROUTE,component:oe.SendPage,exact:!0}),i.default.createElement(m.default,{path:`${H.TOKEN_DETAILS}/:address/`,component:R.default,exact:!0}),i.default.createElement(m.default,{path:H.SWAPS_ROUTE,component:l.default}),i.default.createElement(m.default,{path:H.CONFIRM_ADD_SUGGESTED_TOKEN_ROUTE,component:T.default,exact:!0}),i.default.createElement(m.default,{path:H.CONFIRM_ADD_SUGGESTED_NFT_ROUTE,component:b.default,exact:!0}),i.default.createElement(m.default,{path:`${H.CONFIRMATION_V_NEXT_ROUTE}/:id?`,component:q.default}),i.default.createElement(m.default,{path:H.NEW_ACCOUNT_ROUTE,component:k.default}),i.default.createElement(m.default,{path:`${H.CONNECT_ROUTE}/:id`,component:E.default}),i.default.createElement(m.default,{path:`${H.ASSET_ROUTE}/:asset/:id`,component:P.default}),i.default.createElement(m.default,{path:`${H.ASSET_ROUTE}/:asset/`,component:P.default}),i.default.createElement(m.default,{path:H.DESKTOP_PAIRING_ROUTE,component:Q.default,exact:!0}),i.default.createElement(m.default,{path:`${H.CONNECTIONS}/:origin`,component:p.Connections}),i.default.createElement(m.default,{path:H.PERMISSIONS,component:p.PermissionsPage,exact:!0}),i.default.createElement(m.default,{path:H.DEFAULT_ROUTE,component:d.default}));return e>0?i.default.createElement(s.default,{onAction:t,throttle:1e3},o):o}onInitializationUnlockPage(){const{location:e}=this.props;return Boolean((0,r.matchPath)(e.pathname,{path:H.ONBOARDING_UNLOCK_ROUTE,exact:!0}))}onConfirmPage(){const{location:e}=this.props;return Boolean((0,r.matchPath)(e.pathname,{path:H.CONFIRM_TRANSACTION_ROUTE,exact:!1}))}onEditTransactionPage(){return this.props.sendStage===V.SEND_STAGES.EDIT||this.props.sendStage===V.SEND_STAGES.DRAFT||this.props.sendStage===V.SEND_STAGES.ADD_RECIPIENT}onSwapsPage(){const{location:e}=this.props;return Boolean((0,r.matchPath)(e.pathname,{path:H.SWAPS_ROUTE,exact:!1}))}onSwapsBuildQuotePage(){const{location:e}=this.props;return Boolean((0,r.matchPath)(e.pathname,{path:H.BUILD_QUOTE_ROUTE,exact:!1}))}onHomeScreen(){const{location:e}=this.props;return e.pathname===H.DEFAULT_ROUTE}hideAppHeader(){const{location:e}=this.props;if(Boolean((0,r.matchPath)(e.pathname,{path:`${H.DESKTOP_ERROR_ROUTE}/${W.EXTENSION_ERROR_PAGE_TYPES.CONNECTION_LOST}`,exact:!0})))return!0;if(Boolean((0,r.matchPath)(e.pathname,{path:`${H.NOTIFICATIONS_ROUTE}`,exact:!1})))return!0;if(Boolean((0,r.matchPath)(e.pathname,{path:H.ONBOARDING_ROUTE,exact:!1}))&&!this.onInitializationUnlockPage())return!0;const t=(0,K.getEnvironmentType)();if(t===Y.ENVIRONMENT_TYPE_NOTIFICATION)return!0;if(Boolean((0,r.matchPath)(e.pathname,{path:H.PERMISSIONS,exact:!1})))return!0;if(Boolean((0,r.matchPath)(e.pathname,{path:H.CONNECTIONS,exact:!1})))return!0;if(t===Y.ENVIRONMENT_TYPE_POPUP&&this.onConfirmPage())return!0;const n=Boolean((0,r.matchPath)(e.pathname,{path:H.CONNECT_ROUTE,exact:!1}));if(Boolean((0,r.matchPath)(e.pathname,{path:H.SEND_ROUTE,exact:!1})))return!0;const a=Boolean((0,r.matchPath)(e.pathname,{path:H.CONFIRMATION_V_NEXT_ROUTE,exact:!1}));return n||a||fe(this.pathname)}showOnboardingHeader(){const{location:e}=this.props;return Boolean((0,r.matchPath)(e.pathname,{path:H.ONBOARDING_ROUTE,exact:!1}))}renderToasts(){var e;const{t:t}=this.context,{account:n,activeTabOrigin:a,addPermittedAccount:o,showSurveyToast:r,showConnectAccountToast:s,showPrivacyPolicyToast:c,newPrivacyPolicyToastShownDate:l,clearSwitchedNetworkDetails:u,setSurveyLinkLastClickedOrClosed:d,setNewPrivacyPolicyToastClickedOrClosed:p,setSwitchedNetworkNeverShowMessage:f,switchedNetworkDetails:m}=this.props,g=this.getShowAutoNetworkSwitchTest(),h=this.getIsPrivacyToastRecent(),E=!l;return this.onHomeScreen()?i.default.createElement(N.ToastContainer,null,s&&!this.state.hideConnectAccountToast?i.default.createElement(N.Toast,{key:"connect-account-toast",startAdornment:i.default.createElement(ee.AvatarAccount,{address:n.address,size:ee.AvatarAccountSize.Md,borderColor:se.BorderColor.transparent}),text:this.context.t("accountIsntConnectedToastText",[null==n||null===(e=n.metadata)||void 0===e?void 0:e.name,(0,re.getURLHost)(a)]),actionText:this.context.t("connectAccount"),onActionClick:()=>{o(a,n.address),setTimeout((()=>{var e;null===(e=document.querySelector('[data-testid="connection-menu"] [data-tooltipped]'))||void 0===e||e.dispatchEvent(new CustomEvent("mouseenter",{}))}),250*ce.MILLISECOND)},onClose:()=>this.setState({hideConnectAccountToast:!0})}):null,r&&i.default.createElement(N.Toast,{key:"survey-toast",startAdornment:i.default.createElement(ee.Icon,{name:ee.IconName.Heart,color:se.IconColor.errorDefault}),text:t("surveyTitle"),actionText:t("surveyConversion"),onActionClick:()=>{global.platform.openTab({url:S.SURVEY_LINK}),d(Date.now())},onClose:()=>{d(Date.now())}}),c&&(h||E)&&i.default.createElement(N.Toast,{key:"privacy-policy-toast",startAdornment:i.default.createElement(ee.Icon,{name:ee.IconName.Info,color:se.IconColor.iconDefault}),text:t("newPrivacyPolicyTitle"),actionText:t("newPrivacyPolicyActionButton"),onActionClick:()=>{global.platform.openTab({url:S.PRIVACY_POLICY_LINK}),p()},onClose:()=>{p()}}),g?i.default.createElement(N.Toast,{key:"switched-network-toast",startAdornment:i.default.createElement(ee.AvatarNetwork,{size:ee.AvatarAccountSize.Md,borderColor:se.BorderColor.transparent,src:null==m?void 0:m.imageUrl,name:null==m?void 0:m.nickname}),text:this.context.t("switchedNetworkToastMessage",[m.nickname,(0,re.getURLHost)(m.origin)]),actionText:this.context.t("switchedNetworkToastDecline"),onActionClick:()=>f(),onClose:()=>u()}):null):null}updateNewPrivacyPolicyToastDate(){const{showPrivacyPolicyToast:e,newPrivacyPolicyToastShownDate:t,setNewPrivacyPolicyToastShownDate:n}=this.props;e&&!t&&n(Date.now())}getIsPrivacyToastRecent(){const{newPrivacyPolicyToastShownDate:e}=this.props;return new Date-new Date(e)<864e5}getShowAutoNetworkSwitchTest(){return this.props.switchedNetworkDetails&&!this.props.neverShowSwitchedNetworkMessage}render(){const{isLoading:e,isUnlocked:t,alertMessage:n,textDirection:o,loadingMessage:s,isNetworkLoading:c,browserEnvironmentOs:l,browserEnvironmentBrowser:u,isNetworkUsed:d,allAccountsOnNetworkAreEmpty:p,isTestNet:f,currentChainId:m,shouldShowSeedPhraseReminder:g,isCurrentProviderCustom:h,completedOnboarding:E,isAccountMenuOpen:y,toggleAccountMenu:A,isNetworkMenuOpen:T,toggleNetworkMenu:k,accountDetailsAddress:b,isImportTokensModalOpen:S,isDeprecatedNetworkModalOpen:x,location:P,isImportNftsModalOpen:R,hideImportNftsModal:B,isIpfsModalOpen:D,isBasicConfigurationModalOpen:j,hideIpfsModal:L,hideImportTokensModal:F,hideDeprecatedNetworkModal:U,switchedNetworkDetails:G,clearSwitchedNetworkDetails:Q,isShowKeyringSnapRemovalResultModal:W,hideShowKeyringSnapRemovalResultModal:z,pendingConfirmations:q}=this.props,Z=s||c?this.getConnectingLabel(s):null,V=(0,r.matchPath)(P.pathname,{path:H.SEND_ROUTE,exact:!1}),$=t&&m&&!f&&!V&&!d&&!h&&E&&p&&null===G,oe=(0,K.getEnvironmentType)()!==Y.ENVIRONMENT_TYPE_NOTIFICATION&&t&&!g;let re=e&&E;re=e&&E&&!q.some((e=>e.type===Y.SNAP_MANAGE_ACCOUNTS_CONFIRMATION_TYPES.showSnapAccountRedirect));const se=this.getShowAutoNetworkSwitchTest();return i.default.createElement("div",{className:(0,a.default)("app",{[`os-${l}`]:l,[`browser-${u}`]:u}),dir:o,onMouseUp:se?()=>Q():undefined},oe?i.default.createElement(X.default,null):null,P.pathname===H.DEFAULT_ROUTE&&$?i.default.createElement(_.default,null):null,i.default.createElement(J.default,null),i.default.createElement(C.Modal,null),i.default.createElement(I.default,{visible:this.props.alertOpen,msg:n}),!this.hideAppHeader()&&i.default.createElement(N.AppHeader,{location:P}),fe(this.pathname)&&i.default.createElement(le.MultichainMetaFoxLogo,null),this.showOnboardingHeader()&&i.default.createElement(M.default,null),y?i.default.createElement(N.AccountListMenu,{onClose:()=>A()}):null,T?i.default.createElement(N.NetworkListMenu,{onClose:()=>k()}):null,b?i.default.createElement(N.AccountDetails,{address:b}):null,R?i.default.createElement(N.ImportNftsModal,{onClose:()=>B()}):null,D?i.default.createElement(te.ToggleIpfsModal,{onClose:()=>L()}):null,j?i.default.createElement(ne.BasicConfigurationModal,null):null,S?i.default.createElement(N.ImportTokensModal,{onClose:()=>F()}):null,x?i.default.createElement(ie.DeprecatedNetworkModal,{onClose:()=>U()}):null,W&&i.default.createElement(ae.default,{isOpen:W,onClose:()=>z()}),i.default.createElement(ee.Box,{className:"main-container-wrapper"},re?i.default.createElement(v.default,{loadingMessage:Z}):null,!e&&c&&E?i.default.createElement(w.default,null):null,this.renderRoutes()),t?i.default.createElement(O.default,{history:this.props.history}):null,this.renderToasts())}toggleMetamaskActive(){if(this.props.isUnlocked)this.props.lockMetaMask();else{const e=document.querySelector("input[type=password]");if(!e)return;e.focus()}}getConnectingLabel(e){if(e)return e;const{providerType:t,providerId:n}=this.props,{t:a}=this.context;switch(t){case z.NETWORK_TYPES.MAINNET:return a("connectingToMainnet");case z.NETWORK_TYPES.GOERLI:return a("connectingToGoerli");case z.NETWORK_TYPES.SEPOLIA:return a("connectingToSepolia");case z.NETWORK_TYPES.LINEA_GOERLI:return a("connectingToLineaGoerli");case z.NETWORK_TYPES.LINEA_SEPOLIA:return a("connectingToLineaSepolia");case z.NETWORK_TYPES.LINEA_MAINNET:return a("connectingToLineaMainnet");default:return a("connectingTo",[n])}}}n.default=me,pe(me,"propTypes",{currentCurrency:o.default.string,account:o.default.object,activeTabOrigin:o.default.string,showConnectAccountToast:o.default.bool.isRequired,setCurrentCurrencyToUSD:o.default.func,isLoading:o.default.bool,loadingMessage:o.default.string,alertMessage:o.default.string,textDirection:o.default.string,isNetworkLoading:o.default.bool,alertOpen:o.default.bool,isUnlocked:o.default.bool,setLastActiveTime:o.default.func,history:o.default.object,location:o.default.object,lockMetaMask:o.default.func,providerId:o.default.string,providerType:o.default.string,autoLockTimeLimit:o.default.number,pageChanged:o.default.func.isRequired,prepareToLeaveSwaps:o.default.func,browserEnvironmentOs:o.default.string,browserEnvironmentBrowser:o.default.string,theme:o.default.string,sendStage:o.default.string,isNetworkUsed:o.default.bool,allAccountsOnNetworkAreEmpty:o.default.bool,isTestNet:o.default.bool,showExtensionInFullSizeView:o.default.bool,currentChainId:o.default.string,shouldShowSeedPhraseReminder:o.default.bool,forgottenPassword:o.default.bool,isCurrentProviderCustom:o.default.bool,completedOnboarding:o.default.bool,isAccountMenuOpen:o.default.bool,toggleAccountMenu:o.default.func,isNetworkMenuOpen:o.default.bool,toggleNetworkMenu:o.default.func,accountDetailsAddress:o.default.string,isImportNftsModalOpen:o.default.bool.isRequired,hideImportNftsModal:o.default.func.isRequired,isIpfsModalOpen:o.default.bool.isRequired,isBasicConfigurationModalOpen:o.default.bool.isRequired,hideIpfsModal:o.default.func.isRequired,isImportTokensModalOpen:o.default.bool.isRequired,hideImportTokensModal:o.default.func.isRequired,isDeprecatedNetworkModalOpen:o.default.bool.isRequired,hideDeprecatedNetworkModal:o.default.func.isRequired,addPermittedAccount:o.default.func.isRequired,switchedNetworkDetails:o.default.object,clearSwitchedNetworkDetails:o.default.func.isRequired,setSwitchedNetworkNeverShowMessage:o.default.func.isRequired,networkToAutomaticallySwitchTo:o.default.object,neverShowSwitchedNetworkMessage:o.default.bool.isRequired,automaticallySwitchNetwork:o.default.func.isRequired,totalUnapprovedConfirmationCount:o.default.number.isRequired,currentExtensionPopupId:o.default.number,useRequestQueue:o.default.bool,showSurveyToast:o.default.bool.isRequired,showPrivacyPolicyToast:o.default.bool.isRequired,newPrivacyPolicyToastShownDate:o.default.number,setSurveyLinkLastClickedOrClosed:o.default.func.isRequired,setNewPrivacyPolicyToastShownDate:o.default.func.isRequired,setNewPrivacyPolicyToastClickedOrClosed:o.default.func.isRequired,isShowKeyringSnapRemovalResultModal:o.default.bool.isRequired,hideShowKeyringSnapRemovalResultModal:o.default.func.isRequired,pendingConfirmations:o.default.array.isRequired}),pe(me,"contextTypes",{t:o.default.func,metricsEvent:o.default.func})}}},{package:"$root$",file:"ui/pages/routes/routes.component.js"}],[5829,{"../../../shared/constants/preferences":4512,"../../../shared/modules/selectors":4554,"../../ducks/history/history":5343,"../../ducks/metamask/metamask":5346,"../../ducks/send":5348,"../../ducks/swaps/swaps":5351,"../../selectors":5987,"../../store/actions":5998,"./routes.component":5828,"react-redux":4199,"react-router-dom":4228,redux:4261},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,o=e("react-redux"),i=e("react-router-dom"),r=e("redux"),s=e("../../selectors"),c=e("../../../shared/modules/selectors"),l=e("../../store/actions"),u=e("../../ducks/history/history"),d=e("../../ducks/swaps/swaps"),p=e("../../ducks/send"),f=e("../../ducks/metamask/metamask"),m=e("../../../shared/constants/preferences"),g=(a=e("./routes.component"))&&a.__esModule?a:{default:a};n.default=(0,r.compose)(i.withRouter,(0,o.connect)((function(e){var t,n;const{activeTab:a,appState:o}=e,{alertOpen:i,alertMessage:r,isLoading:l,loadingMessage:u}=o,{autoLockTimeLimit:d=m.DEFAULT_AUTO_LOCK_TIME_LIMIT}=(0,s.getPreferences)(e),{completedOnboarding:g}=e.metamask,h=(0,f.getAlertEnabledness)(e).unconnectedAccount,E=(0,s.getSelectedAccount)(e),y=null==a?void 0:a.origin,A=(0,s.getPermittedAccountsForCurrentTab)(e),T=Boolean(h&&E&&y&&A.length>0&&!A.find((e=>e===E.address))),k=(0,s.getNetworkToAutomaticallySwitchTo)(e),b=(0,s.getSwitchedNetworkDetails)(e);return{alertOpen:i,alertMessage:r,account:E,showConnectAccountToast:T,activeTabOrigin:y,textDirection:e.metamask.textDirection,isLoading:l,loadingMessage:u,isUnlocked:(0,f.getIsUnlocked)(e),isNetworkLoading:(0,s.isNetworkLoading)(e),currentCurrency:e.metamask.currentCurrency,autoLockTimeLimit:d,browserEnvironmentOs:null===(t=e.metamask.browserEnvironment)||void 0===t?void 0:t.os,browserEnvironmentContainter:null===(n=e.metamask.browserEnvironment)||void 0===n?void 0:n.browser,providerId:(0,s.getNetworkIdentifier)(e),providerType:(0,f.getProviderConfig)(e).type,theme:(0,s.getTheme)(e),sendStage:(0,p.getSendStage)(e),isNetworkUsed:(0,s.getIsNetworkUsed)(e),allAccountsOnNetworkAreEmpty:(0,s.getAllAccountsOnNetworkAreEmpty)(e),isTestNet:(0,s.getIsTestnet)(e),showExtensionInFullSizeView:(0,s.getShowExtensionInFullSizeView)(e),smartTransactionsOptInStatus:(0,c.getSmartTransactionsOptInStatus)(e),currentChainId:(0,s.getCurrentChainId)(e),shouldShowSeedPhraseReminder:(0,s.getShouldShowSeedPhraseReminder)(e),forgottenPassword:e.metamask.forgottenPassword,isCurrentProviderCustom:(0,s.isCurrentProviderCustom)(e),completedOnboarding:g,isAccountMenuOpen:e.metamask.isAccountMenuOpen,isNetworkMenuOpen:e.metamask.isNetworkMenuOpen,isImportTokensModalOpen:e.appState.importTokensModalOpen,isBasicConfigurationModalOpen:e.appState.showBasicFunctionalityModal,isDeprecatedNetworkModalOpen:e.appState.deprecatedNetworkModalOpen,accountDetailsAddress:e.appState.accountDetailsAddress,isImportNftsModalOpen:e.appState.importNftsModal.open,isIpfsModalOpen:e.appState.showIpfsModalOpen,switchedNetworkDetails:b,networkToAutomaticallySwitchTo:k,totalUnapprovedConfirmationCount:(0,s.getNumberOfAllUnapprovedTransactionsAndMessages)(e),neverShowSwitchedNetworkMessage:(0,s.getNeverShowSwitchedNetworkMessage)(e),currentExtensionPopupId:e.metamask.currentExtensionPopupId,useRequestQueue:(0,s.getUseRequestQueue)(e),newPrivacyPolicyToastShownDate:(0,s.getNewPrivacyPolicyToastShownDate)(e),showPrivacyPolicyToast:(0,s.getShowPrivacyPolicyToast)(e),showSurveyToast:(0,s.getShowSurveyToast)(e),isShowKeyringSnapRemovalResultModal:e.appState.showKeyringRemovalSnapModal,pendingConfirmations:(0,s.getUnapprovedConfirmations)(e)}}),(function(e){return{lockMetaMask:()=>e((0,l.lockMetamask)(!1)),setCurrentCurrencyToUSD:()=>e((0,l.setCurrentCurrency)("usd")),setLastActiveTime:()=>e((0,l.setLastActiveTime)()),pageChanged:t=>e((0,u.pageChanged)(t)),prepareToLeaveSwaps:()=>e((0,d.prepareToLeaveSwaps)()),toggleAccountMenu:()=>e((0,l.toggleAccountMenu)()),toggleNetworkMenu:()=>e((0,l.toggleNetworkMenu)()),hideImportNftsModal:()=>e((0,l.hideImportNftsModal)()),hideIpfsModal:()=>e((0,l.hideIpfsModal)()),hideImportTokensModal:()=>e((0,l.hideImportTokensModal)()),hideDeprecatedNetworkModal:()=>e((0,l.hideDeprecatedNetworkModal)()),addPermittedAccount:(t,n)=>e((0,l.addPermittedAccount)(t,n)),clearSwitchedNetworkDetails:()=>e((0,l.clearSwitchedNetworkDetails)()),setSwitchedNetworkNeverShowMessage:()=>e((0,l.neverShowSwitchedNetworkMessage)()),automaticallySwitchNetwork:(t,n)=>e((0,l.automaticallySwitchNetwork)(t,n)),setSurveyLinkLastClickedOrClosed:t=>e((0,l.setSurveyLinkLastClickedOrClosed)(t)),setNewPrivacyPolicyToastClickedOrClosed:()=>e((0,l.setNewPrivacyPolicyToastClickedOrClosed)()),setNewPrivacyPolicyToastShownDate:t=>e((0,l.setNewPrivacyPolicyToastShownDate)(t)),hideShowKeyringSnapRemovalResultModal:()=>e((0,l.hideKeyringRemovalResultModal)())}})))(g.default)}}},{package:"$root$",file:"ui/pages/routes/routes.container.js"}]],[],{}); \ No newline at end of file diff --git a/contracts/test/e2e/metamask-flask-unpacked/ui-9.js b/contracts/test/e2e/metamask-flask-unpacked/ui-9.js index e114e9e..f796f11 100644 --- a/contracts/test/e2e/metamask-flask-unpacked/ui-9.js +++ b/contracts/test/e2e/metamask-flask-unpacked/ui-9.js @@ -1 +1 @@ -LavaPack.loadBundle([[5830,{"../../../../shared/constants/metametrics":4505,"../../../../shared/constants/preferences":4512,"../../../../shared/constants/smartTransactions":4514,"../../../components/component-library":4955,"../../../components/ui/button":5198,"../../../components/ui/text-field":5302,"../../../components/ui/toggle-button":5306,"../../../helpers/constants/design-system":5355,"../../../helpers/utils/export-utils":5382,"../../../helpers/utils/settings-search":5395,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n=h(e("prop-types")),s=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=g(t);if(a&&a.has(e))return a.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=s?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n.default=e,a&&a.set(e,n),n}(e("react")),r=e("../../../../shared/constants/metametrics"),o=e("../../../../shared/constants/preferences"),i=e("../../../../shared/constants/smartTransactions"),l=e("../../../components/component-library"),c=h(e("../../../components/ui/button")),u=h(e("../../../components/ui/text-field")),d=h(e("../../../components/ui/toggle-button")),p=e("../../../helpers/constants/design-system"),f=e("../../../helpers/utils/export-utils"),m=e("../../../helpers/utils/settings-search");function g(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(g=function(e){return e?a:t})(e)}function h(e){return e&&e.__esModule?e:{default:e}}function _(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var a=e[Symbol.toPrimitive];if(a!==undefined){var n=a.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}const E="CORRUPT_JSON_FILE";class y extends s.PureComponent{constructor(...e){super(...e),_(this,"state",{autoLockTimeLimit:this.props.autoLockTimeLimit,autoLockTimeLimitBeforeNormalization:this.props.autoLockTimeLimit,lockTimeError:"",showResultMessage:!1,restoreSuccessful:!0,restoreMessage:null}),_(this,"settingsRefs",Array((0,m.getNumberOfSettingRoutesInTab)(this.context.t,this.context.t("advanced"))).fill(undefined).map((()=>s.default.createRef()))),_(this,"backupUserData",(async()=>{const{fileName:e,data:t}=await this.props.backupUserData();(0,f.exportAsFile)(e,t,f.ExportableContentType.JSON),this.context.trackEvent({event:"User Data Exported",category:"Backup",properties:{}})}))}componentDidUpdate(){const{t:e}=this.context;(0,m.handleSettingsRefs)(e,e("advanced"),this.settingsRefs)}componentDidMount(){const{t:e}=this.context;(0,m.handleSettingsRefs)(e,e("advanced"),this.settingsRefs)}async getTextFromFile(e){return new Promise(((t,a)=>{const n=new window.FileReader;n.onload=e=>{const a=e.target.result;t(a)},n.onerror=e=>{a(e)},n.readAsText(e)}))}async handleFileUpload(e){e.persist();const t=e.target.files[0],a=await this.getTextFromFile(t);e.target.value="";try{const e=await this.props.restoreUserData(a);this.setState({showResultMessage:!0,restoreSuccessful:e,restoreMessage:null})}catch(e){e.message.match(/Unexpected.+JSON/iu)&&this.setState({showResultMessage:!0,restoreSuccessful:!1,restoreMessage:E})}}renderStateLogs(){const{t:e}=this.context,{displayWarning:t}=this.props;return s.default.createElement(l.Box,{className:"settings-page__content-row",display:p.Display.Flex,flexDirection:p.FlexDirection.Column,ref:this.settingsRefs[0],"data-testid":"advanced-setting-state-logs"},s.default.createElement("div",{className:"settings-page__content-item"},s.default.createElement("span",null,e("stateLogs")),s.default.createElement("span",{className:"settings-page__content-description"},e("stateLogsDescription"))),s.default.createElement("div",{className:"settings-page__content-item"},s.default.createElement("div",{className:"settings-page__content-item-col"},s.default.createElement(c.default,{type:"secondary",large:!0,onClick:()=>{window.logStateString(((a,n)=>{a?t(e("stateLogError")):(0,f.exportAsFile)(`${e("stateLogFileName")}.json`,n,f.ExportableContentType.JSON)}))}},e("downloadStateLogs")))))}renderResetAccount(){const{t:e}=this.context,{showResetAccountConfirmationModal:t}=this.props;return s.default.createElement(l.Box,{ref:this.settingsRefs[1],className:"settings-page__content-row",display:p.Display.Flex,flexDirection:p.FlexDirection.Column,"data-testid":"advanced-setting-reset-account"},s.default.createElement("div",{className:"settings-page__content-item"},s.default.createElement("span",null,e("clearActivity")),s.default.createElement("span",{className:"settings-page__content-description"},e("clearActivityDescription"))),s.default.createElement("div",{className:"settings-page__content-item"},s.default.createElement("div",{className:"settings-page__content-item-col"},s.default.createElement(c.default,{type:"danger",large:!0,className:"settings-tab__button--red",onClick:e=>{e.preventDefault(),this.context.trackEvent({category:r.MetaMetricsEventCategory.Settings,event:r.MetaMetricsEventName.AccountReset,properties:{}}),t()}},e("clearActivityButton")))))}renderToggleStxOptIn(){const{t:e}=this.context,{smartTransactionsOptInStatus:t,setSmartTransactionsOptInStatus:a}=this.props,n=s.default.createElement(l.ButtonLink,{size:l.ButtonLinkSize.Inherit,textProps:{variant:p.TextVariant.bodyMd,alignItems:p.AlignItems.flexStart},as:"a",href:i.SMART_TRANSACTIONS_LEARN_MORE_URL,target:"_blank",rel:"noopener noreferrer"},e("learnMoreUpperCase"));return s.default.createElement(l.Box,{ref:this.settingsRefs[2],className:"settings-page__content-row","data-testid":"advanced-setting-enable-smart-transactions",display:p.Display.Flex,flexDirection:p.FlexDirection.Row,justifyContent:p.JustifyContent.spaceBetween,gap:4},s.default.createElement("div",{className:"settings-page__content-item"},s.default.createElement("span",null,e("smartTransactions")),s.default.createElement("div",{className:"settings-page__content-description"},e("stxOptInDescription",[n]))),s.default.createElement("div",{className:"settings-page__content-item-col"},s.default.createElement(d.default,{value:t,onToggle:e=>{a(!e)},offLabel:e("off"),onLabel:e("on"),dataTestId:"settings-page-stx-opt-in-toggle"})))}renderHexDataOptIn(){const{t:e}=this.context,{sendHexData:t,setHexDataFeatureFlag:a}=this.props;return s.default.createElement(l.Box,{ref:this.settingsRefs[3],className:"settings-page__content-row",display:p.Display.Flex,flexDirection:p.FlexDirection.Row,justifyContent:p.JustifyContent.spaceBetween,gap:4,"data-testid":"advanced-setting-hex-data"},s.default.createElement("div",{className:"settings-page__content-item"},s.default.createElement("span",null,e("showHexData")),s.default.createElement("div",{className:"settings-page__content-description"},e("showHexDataDescription"))),s.default.createElement("div",{className:"settings-page__content-item-col"},s.default.createElement(d.default,{value:t,onToggle:e=>a(!e),offLabel:e("off"),onLabel:e("on")})))}renderShowConversionInTestnets(){const{t:e}=this.context,{showFiatInTestnets:t,setShowFiatConversionOnTestnetsPreference:a}=this.props;return s.default.createElement(l.Box,{ref:this.settingsRefs[4],className:"settings-page__content-row",display:p.Display.Flex,flexDirection:p.FlexDirection.Row,justifyContent:p.JustifyContent.spaceBetween,gap:4,"data-testid":"advanced-setting-show-testnet-conversion"},s.default.createElement("div",{className:"settings-page__content-item"},s.default.createElement("span",null,e("showFiatConversionInTestnets")),s.default.createElement("div",{className:"settings-page__content-description"},e("showFiatConversionInTestnetsDescription"))),s.default.createElement("div",{className:"settings-page__content-item-col"},s.default.createElement(d.default,{value:t,onToggle:e=>a(!e),offLabel:e("off"),onLabel:e("on")})))}renderToggleTestNetworks(){const{t:e}=this.context,{showTestNetworks:t,setShowTestNetworks:a}=this.props;return s.default.createElement(l.Box,{ref:this.settingsRefs[5],className:"settings-page__content-row","data-testid":"advanced-setting-show-testnet-conversion",display:p.Display.Flex,flexDirection:p.FlexDirection.Row,justifyContent:p.JustifyContent.spaceBetween,gap:4},s.default.createElement("div",{className:"settings-page__content-item"},s.default.createElement("span",null,e("showTestnetNetworks")),s.default.createElement("div",{className:"settings-page__content-description"},e("showTestnetNetworksDescription"))),s.default.createElement("div",{className:"settings-page__content-item-col"},s.default.createElement(d.default,{value:t,onToggle:e=>a(!e),offLabel:e("off"),onLabel:e("on")})))}renderToggleExtensionInFullSizeView(){const{t:e}=this.context,{showExtensionInFullSizeView:t,setShowExtensionInFullSizeView:a}=this.props;return s.default.createElement(l.Box,{ref:this.settingsRefs[8],className:"settings-page__content-row","data-testid":"advanced-setting-show-extension-in-full-size-view",display:p.Display.Flex,flexDirection:p.FlexDirection.Row,justifyContent:p.JustifyContent.spaceBetween,gap:4},s.default.createElement("div",{className:"settings-page__content-item"},s.default.createElement("span",null,e("showExtensionInFullSizeView")),s.default.createElement("div",{className:"settings-page__content-description"},e("showExtensionInFullSizeViewDescription"))),s.default.createElement("div",{className:"settings-page__content-item-col"},s.default.createElement(d.default,{value:t,onToggle:e=>a(!e),offLabel:e("off"),onLabel:e("on")})))}renderUseNonceOptIn(){const{t:e}=this.context,{useNonceField:t,setUseNonceField:a}=this.props;return s.default.createElement(l.Box,{ref:this.settingsRefs[6],className:"settings-page__content-row","data-testid":"advanced-setting-custom-nonce",display:p.Display.Flex,flexDirection:p.FlexDirection.Row,justifyContent:p.JustifyContent.spaceBetween,gap:4},s.default.createElement("div",{className:"settings-page__content-item"},s.default.createElement("span",null,e("nonceField")),s.default.createElement("div",{className:"settings-page__content-description"},e("nonceFieldDescription"))),s.default.createElement("div",{className:"settings-page__content-item-col"},s.default.createElement(d.default,{value:t,onToggle:e=>a(!e),offLabel:e("off"),onLabel:e("on")})))}renderAutoLockTimeLimit(){const{t:e}=this.context,{lockTimeError:t}=this.state,{setAutoLockTimeLimit:a}=this.props;return s.default.createElement(l.Box,{ref:this.settingsRefs[7],className:"settings-page__content-row","data-testid":"advanced-setting-auto-lock",display:p.Display.Flex,flexDirection:p.FlexDirection.Column},s.default.createElement("div",{className:"settings-page__content-item"},s.default.createElement("span",null,e("autoLockTimeLimit")),s.default.createElement("div",{className:"settings-page__content-description"},e("autoLockTimeLimitDescription"))),s.default.createElement("div",{className:"settings-page__content-item"},s.default.createElement("div",{className:"settings-page__content-item-col"},s.default.createElement(u.default,{id:"autoTimeout","data-testid":"auto-lockout-time",placeholder:"0",value:this.state.autoLockTimeLimitBeforeNormalization,onChange:e=>this.handleLockChange(e.target.value),error:t,fullWidth:!0,margin:"dense",min:0}),s.default.createElement(c.default,{type:"primary","data-testid":"auto-lockout-button",className:"settings-tab__rpc-save-button",disabled:""!==t,onClick:()=>{a(this.state.autoLockTimeLimit)}},e("save")))))}renderDismissSeedBackupReminderControl(){const{t:e}=this.context,{dismissSeedBackUpReminder:t,setDismissSeedBackUpReminder:a}=this.props;return s.default.createElement(l.Box,{ref:this.settingsRefs[9],className:"settings-page__content-row","data-testid":"advanced-setting-dismiss-reminder",display:p.Display.Flex,flexDirection:p.FlexDirection.Row,justifyContent:p.JustifyContent.spaceBetween,gap:4},s.default.createElement("div",{className:"settings-page__content-item"},s.default.createElement("span",null,e("dismissReminderField")),s.default.createElement("div",{className:"settings-page__content-description"},e("dismissReminderDescriptionField"))),s.default.createElement("div",{className:"settings-page__content-item-col"},s.default.createElement(d.default,{value:t,onToggle:e=>a(!e),offLabel:e("off"),onLabel:e("on")})))}renderToggleEthSignControl(){const{t:e,trackEvent:t}=this.context,{disabledRpcMethodPreferences:a,showEthSignModal:n,setDisabledRpcMethodPreference:o}=this.props;return s.default.createElement(l.Box,{ref:this.settingsRefs[10],className:"settings-page__content-row","data-testid":"advanced-setting-toggle-ethsign",display:p.Display.Flex,flexDirection:p.FlexDirection.Column},s.default.createElement("div",{className:"settings-page__content-item"},s.default.createElement("span",null,e("toggleEthSignField")),s.default.createElement("div",{className:"settings-page__content-description"},e("toggleEthSignDescriptionField"))),null!=a&&a.eth_sign?s.default.createElement(l.BannerAlert,{severity:p.Severity.Danger,marginTop:3,marginBottom:4,descriptionProps:{variant:p.TextVariant.bodyMd}},e("toggleEthSignBannerDescription")):null,s.default.createElement("div",{className:"settings-page__content-item-col"},s.default.createElement(d.default,{className:"eth-sign-toggle",value:(null==a?void 0:a.eth_sign)||!1,onToggle:e=>{e?(e=>{o("eth_sign",!e),t({category:r.MetaMetricsEventCategory.Settings,event:r.MetaMetricsEventName.OnboardingWalletAdvancedSettings,properties:{location:"Settings",enable_eth_sign:!1}})})(e):n()},offLabel:e("toggleEthSignOff"),onLabel:e("toggleEthSignOn")})))}handleLockChange(e){const{t:t}=this.context;if(""===e)return void this.setState({autoLockTimeLimitBeforeNormalization:e,autoLockTimeLimit:o.DEFAULT_AUTO_LOCK_TIME_LIMIT,lockTimeError:""});const a=Number(e);if(Number.isNaN(a)||a<0||a>10080)return void this.setState({autoLockTimeLimitBeforeNormalization:e,autoLockTimeLimit:null,lockTimeError:t("lockTimeInvalid")});const n=a;this.setState({autoLockTimeLimitBeforeNormalization:e,autoLockTimeLimit:n,lockTimeError:""})}renderUserDataBackup(){const{t:e}=this.context;return s.default.createElement(l.Box,{ref:this.settingsRefs[11],className:"settings-page__content-row","data-testid":"advanced-setting-data-backup",display:p.Display.Flex,flexDirection:p.FlexDirection.Column},s.default.createElement("div",{className:"settings-page__content-item"},s.default.createElement("span",null,e("backupUserData")),s.default.createElement("span",{className:"settings-page__content-description"},e("backupUserDataDescription"))),s.default.createElement("div",{className:"settings-page__content-item"},s.default.createElement("div",{className:"settings-page__content-item-col"},s.default.createElement(c.default,{"data-testid":"backup-button",type:"secondary",large:!0,onClick:()=>this.backupUserData()},e("backup")))))}renderRestoreUserData(){const{t:e}=this.context,{showResultMessage:t,restoreSuccessful:a,restoreMessage:n}=this.state,r=e(a?"restoreSuccessful":"restoreFailed"),o=n===E?e("dataBackupSeemsCorrupt"):r;return s.default.createElement(l.Box,{ref:this.settingsRefs[12],className:"settings-page__content-row","data-testid":"advanced-setting-data-restore",display:p.Display.Flex,flexDirection:p.FlexDirection.Column},s.default.createElement("div",{className:"settings-page__content-item"},s.default.createElement("span",null,e("restoreUserData")),s.default.createElement("span",{className:"settings-page__content-description"},e("restoreUserDataDescription"))),s.default.createElement("div",{className:"settings-page__content-item"},s.default.createElement("div",{className:"settings-page__content-item-col"},s.default.createElement("label",{htmlFor:"restore-file",className:"button btn btn--rounded btn-secondary btn--large settings-page__button"},e("restore")),s.default.createElement("input",{id:"restore-file","data-testid":"restore-file",style:{visibility:"hidden"},type:"file",accept:".json",onChange:e=>this.handleFileUpload(e)})),t&&s.default.createElement(l.BannerAlert,{severity:a?l.BannerAlertSeverity.Success:l.BannerAlertSeverity.Danger,description:o,descriptionProps:{"data-testid":"restore-user-data-banner-alert-description"},actionButtonLabel:e("dismiss"),actionButtonOnClick:()=>{this.setState({showResultMessage:!1,restoreSuccessful:!0,restoreMessage:null})}})))}render(){const{warning:e}=this.props;return s.default.createElement("div",{className:"settings-page__body"},e?s.default.createElement("div",{className:"settings-tab__error"},e):null,this.renderStateLogs(),this.renderResetAccount(),this.renderToggleStxOptIn(),this.renderHexDataOptIn(),this.renderShowConversionInTestnets(),this.renderToggleTestNetworks(),this.renderToggleExtensionInFullSizeView(),this.renderUseNonceOptIn(),this.renderAutoLockTimeLimit(),this.renderUserDataBackup(),this.renderRestoreUserData(),this.renderDismissSeedBackupReminderControl(),this.renderToggleEthSignControl())}}a.default=y,_(y,"contextTypes",{t:n.default.func,trackEvent:n.default.func}),_(y,"propTypes",{setUseNonceField:n.default.func,useNonceField:n.default.bool,setHexDataFeatureFlag:n.default.func,displayWarning:n.default.func,showResetAccountConfirmationModal:n.default.func,showEthSignModal:n.default.func,warning:n.default.string,sendHexData:n.default.bool,showFiatInTestnets:n.default.bool,showTestNetworks:n.default.bool,smartTransactionsOptInStatus:n.default.bool,autoLockTimeLimit:n.default.number,setAutoLockTimeLimit:n.default.func.isRequired,setShowFiatConversionOnTestnetsPreference:n.default.func.isRequired,setShowTestNetworks:n.default.func.isRequired,setSmartTransactionsOptInStatus:n.default.func.isRequired,setDismissSeedBackUpReminder:n.default.func.isRequired,dismissSeedBackUpReminder:n.default.bool.isRequired,backupUserData:n.default.func.isRequired,restoreUserData:n.default.func.isRequired,setDisabledRpcMethodPreference:n.default.func.isRequired,disabledRpcMethodPreferences:n.default.shape({eth_sign:n.default.bool.isRequired}),showExtensionInFullSizeView:n.default.bool,setShowExtensionInFullSizeView:n.default.func.isRequired})}}},{package:"$root$",file:"ui/pages/settings/advanced-tab/advanced-tab.component.js"}],[5831,{"../../../../shared/constants/preferences":4512,"../../../selectors":5987,"../../../store/actions":5998,"./advanced-tab.component":5830,"react-redux":4199,"react-router-dom":4228,redux:4261},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.mapStateToProps=a.mapDispatchToProps=a.default=void 0;var n,s=e("react-redux"),r=e("react-router-dom"),o=e("redux"),i=e("../../../../shared/constants/preferences"),l=e("../../../selectors"),c=e("../../../store/actions"),u=(n=e("./advanced-tab.component"))&&n.__esModule?n:{default:n};const d=e=>{const{appState:{warning:t},metamask:a}=e,{featureFlags:{sendHexData:n}={},disabledRpcMethodPreferences:s,useNonceField:r,dismissSeedBackUpReminder:o}=a,{showFiatInTestnets:c,showTestNetworks:u,showExtensionInFullSizeView:d,smartTransactionsOptInStatus:p,autoLockTimeLimit:f=i.DEFAULT_AUTO_LOCK_TIME_LIMIT}=(0,l.getPreferences)(e);return{warning:t,sendHexData:n,showFiatInTestnets:c,showTestNetworks:u,showExtensionInFullSizeView:d,smartTransactionsOptInStatus:p,autoLockTimeLimit:f,useNonceField:r,dismissSeedBackUpReminder:o,disabledRpcMethodPreferences:s}};a.mapStateToProps=d;const p=e=>({backupUserData:()=>(0,c.backupUserData)(),restoreUserData:e=>(0,c.restoreUserData)(e),setHexDataFeatureFlag:t=>e((0,c.setFeatureFlag)("sendHexData",t)),displayWarning:t=>e((0,c.displayWarning)(t)),showResetAccountConfirmationModal:()=>e((0,c.showModal)({name:"CONFIRM_RESET_ACCOUNT"})),showEthSignModal:()=>e((0,c.showModal)({name:"ETH_SIGN"})),setUseNonceField:t=>e((0,c.setUseNonceField)(t)),setShowFiatConversionOnTestnetsPreference:t=>e((0,c.setShowFiatConversionOnTestnetsPreference)(t)),setShowTestNetworks:t=>e((0,c.setShowTestNetworks)(t)),setShowExtensionInFullSizeView:t=>e((0,c.setShowExtensionInFullSizeView)(t)),setSmartTransactionsOptInStatus:t=>e((0,c.setSmartTransactionsOptInStatus)(t)),setAutoLockTimeLimit:t=>e((0,c.setAutoLockTimeLimit)(t)),setDismissSeedBackUpReminder:t=>e((0,c.setDismissSeedBackUpReminder)(t)),setDisabledRpcMethodPreference:(t,a)=>e((0,c.setDisabledRpcMethodPreference)(t,a))});a.mapDispatchToProps=p;a.default=(0,o.compose)(r.withRouter,(0,s.connect)(d,p))(u.default)}}},{package:"$root$",file:"ui/pages/settings/advanced-tab/advanced-tab.container.js"}],[5832,{"./advanced-tab.container":5831},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return s.default}});var n,s=(n=e("./advanced-tab.container"))&&n.__esModule?n:{default:n}}}},{package:"$root$",file:"ui/pages/settings/advanced-tab/index.js"}],[5833,{"../../../../shared/constants/alerts":4492,"../../../components/component-library":4955,"../../../components/ui/toggle-button":5306,"../../../components/ui/tooltip":5310,"../../../ducks/metamask/metamask":5346,"../../../helpers/utils/settings-search":5395,"../../../hooks/useI18nContext":5427,"../../../store/actions":5998,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=g(t);if(a&&a.has(e))return a.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=s?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n.default=e,a&&a.set(e,n),n}(e("react")),s=m(e("prop-types")),r=e("react-redux"),o=e("../../../../shared/constants/alerts"),i=m(e("../../../components/ui/tooltip")),l=m(e("../../../components/ui/toggle-button")),c=e("../../../store/actions"),u=e("../../../ducks/metamask/metamask"),d=e("../../../hooks/useI18nContext"),p=e("../../../helpers/utils/settings-search"),f=e("../../../components/component-library");function m(e){return e&&e.__esModule?e:{default:e}}function g(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(g=function(e){return e?a:t})(e)}const h=({alertId:e,description:t,title:a})=>{const s=(0,d.useI18nContext)(),o=(0,n.useRef)();(0,n.useEffect)((()=>{(0,p.handleSettingsRefs)(s,s("alerts"),o)}),[o,s]);const m=(0,r.useSelector)((t=>(0,u.getAlertEnabledness)(t)[e]));return n.default.createElement(n.default.Fragment,null,n.default.createElement("div",{ref:o,className:"alerts-tab__item"},n.default.createElement("span",null,a),n.default.createElement("div",{className:"alerts-tab__description-container"},n.default.createElement(i.default,{position:"top",title:t,wrapperClassName:"alerts-tab__description"},n.default.createElement(f.Icon,{name:f.IconName.Info,className:"alerts-tab__description__icon"})),n.default.createElement(l.default,{offLabel:s("off"),onLabel:s("on"),onToggle:()=>(0,c.setAlertEnabledness)(e,!m),value:m}))))};h.propTypes={alertId:s.default.string.isRequired,description:s.default.string.isRequired,title:s.default.string.isRequired};a.default=()=>{const e=(0,d.useI18nContext)(),t={[o.AlertTypes.unconnectedAccount]:{title:e("alertSettingsUnconnectedAccount"),description:e("alertSettingsUnconnectedAccountDescription")},[o.AlertTypes.web3ShimUsage]:{title:e("alertSettingsWeb3ShimUsage"),description:e("alertSettingsWeb3ShimUsageDescription")}};return n.default.createElement("div",{className:"alerts-tab__body"},Object.entries(t).map((([e,{title:t,description:a}],s)=>n.default.createElement(h,{alertId:e,description:a,key:e,title:t}))))}}}},{package:"$root$",file:"ui/pages/settings/alerts-tab/alerts-tab.js"}],[5834,{"./alerts-tab":5833},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return s.default}});var n,s=(n=e("./alerts-tab"))&&n.__esModule?n:{default:n}}}},{package:"$root$",file:"ui/pages/settings/alerts-tab/index.js"}],[5835,{"../../../../../shared/modules/hexstring-utils":4544,"../../../../components/ui/identicon":5247,"../../../../components/ui/page-container/page-container-footer":5276,"../../../../components/ui/text-field":5302,"../../../../helpers/constants/routes":5361,"../../../../helpers/utils/util":5399,"../../../confirmations/send/send-content/add-recipient/domain-input":5720,"../../../confirmations/send/send.constants":5721,lodash:3836,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=g(t);if(a&&a.has(e))return a.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=s?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n.default=e,a&&a.set(e,n),n}(e("react")),s=m(e("prop-types")),r=e("lodash"),o=m(e("../../../../components/ui/identicon")),i=m(e("../../../../components/ui/text-field")),l=e("../../../../helpers/constants/routes"),c=e("../../../../helpers/utils/util"),u=m(e("../../../confirmations/send/send-content/add-recipient/domain-input")),d=m(e("../../../../components/ui/page-container/page-container-footer")),p=e("../../../../../shared/modules/hexstring-utils"),f=e("../../../confirmations/send/send.constants");function m(e){return e&&e.__esModule?e:{default:e}}function g(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(g=function(e){return e?a:t})(e)}function h(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var a=e[Symbol.toPrimitive];if(a!==undefined){var n=a.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}class _ extends n.PureComponent{constructor(e){super(e),h(this,"state",{newName:"",ethAddress:"",error:"",input:""}),h(this,"validate",(e=>{const t=!(0,p.isBurnAddress)(e)&&(0,p.isValidHexAddress)(e,{mixedCaseUseChecksum:!0}),a=(0,c.isValidDomainName)(e);t||a||""===e?this.setState({error:"",ethAddress:e}):this.setState({error:f.INVALID_RECIPIENT_ADDRESS_ERROR})})),h(this,"onChange",(e=>{this.setState({input:e}),this.dValidate(e)})),this.dValidate=(0,r.debounce)(this.validate,500)}UNSAFE_componentWillReceiveProps(e){if(e.qrCodeData&&"address"===e.qrCodeData.type){const{domainResolution:t}=this.props,a=e.qrCodeData.values.address.toLowerCase();(t||this.state.ethAddress).toLowerCase()!==a&&(this.setState({input:a}),this.validate(a),this.props.qrCodeDetected(null))}}renderInput(){return n.default.createElement(u.default,{scanQrCode:e=>{this.props.scanQrCode()},onChange:this.onChange,onPaste:e=>{this.setState({input:e}),this.validate(e)},onReset:()=>{this.props.resetDomainResolution(),this.setState({ethAddress:"",input:""})},userInput:this.state.input})}render(){const{t:e}=this.context,{history:t,addToAddressBook:a,domainError:s,domainResolution:r}=this.props,c=s||this.state.error;return n.default.createElement("div",{className:"settings-page__content-row address-book__add-contact"},r&&n.default.createElement("div",{className:"address-book__view-contact__group"},n.default.createElement(o.default,{address:r,diameter:60}),n.default.createElement("div",{className:"address-book__view-contact__group__value"},r)),n.default.createElement("div",{className:"address-book__add-contact__content"},n.default.createElement("div",{className:"address-book__view-contact__group address-book__add-contact__content__username"},n.default.createElement("div",{className:"address-book__view-contact__group__label"},e("userName")),n.default.createElement(i.default,{type:"text",id:"nickname",value:this.state.newName,onChange:e=>this.setState({newName:e.target.value}),fullWidth:!0,margin:"dense"})),n.default.createElement("div",{className:"address-book__view-contact__group"},n.default.createElement("div",{className:"address-book__view-contact__group__label"},e("ethereumPublicAddress")),this.renderInput(),c&&n.default.createElement("div",{className:"address-book__add-contact__error"},e(c)))),n.default.createElement(d.default,{cancelText:this.context.t("cancel"),disabled:Boolean(this.state.error||!this.state.ethAddress||!this.state.newName.trim()),onSubmit:async()=>{await a(r||this.state.ethAddress,this.state.newName),t.push(l.CONTACT_LIST_ROUTE)},onCancel:()=>{t.push(l.CONTACT_LIST_ROUTE)},submitText:this.context.t("save")}))}}a.default=_,h(_,"contextTypes",{t:s.default.func}),h(_,"propTypes",{addToAddressBook:s.default.func,history:s.default.object,scanQrCode:s.default.func,qrCodeData:s.default.object,qrCodeDetected:s.default.func,domainResolution:s.default.string,domainError:s.default.string,resetDomainResolution:s.default.func})}}},{package:"$root$",file:"ui/pages/settings/contact-list-tab/add-contact/add-contact.component.js"}],[5836,{"../../../../ducks/app/app":5336,"../../../../ducks/domains":5340,"../../../../store/actions":5998,"./add-contact.component":5835,"react-redux":4199,"react-router-dom":4228,redux:4261},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n,s=e("redux"),r=e("react-redux"),o=e("react-router-dom"),i=e("../../../../store/actions"),l=e("../../../../ducks/app/app"),c=e("../../../../ducks/domains"),u=(n=e("./add-contact.component"))&&n.__esModule?n:{default:n};a.default=(0,s.compose)(o.withRouter,(0,r.connect)((e=>({qrCodeData:(0,l.getQrCodeData)(e),domainError:(0,c.getDomainError)(e),domainResolution:(0,c.getDomainResolution)(e)})),(e=>({addToAddressBook:(t,a)=>e((0,i.addToAddressBook)(t,a)),scanQrCode:()=>e((0,i.showQrScanner)()),qrCodeDetected:t=>e((0,i.qrCodeDetected)(t)),resetDomainResolution:()=>e((0,c.resetDomainResolution)())}))))(u.default)}}},{package:"$root$",file:"ui/pages/settings/contact-list-tab/add-contact/add-contact.container.js"}],[5837,{"./add-contact.container":5836},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return s.default}});var n,s=(n=e("./add-contact.container"))&&n.__esModule?n:{default:n}}}},{package:"$root$",file:"ui/pages/settings/contact-list-tab/add-contact/index.js"}],[5838,{"../../../components/app/contact-list":4618,"../../../components/component-library":4955,"../../../helpers/constants/design-system":5355,"../../../helpers/constants/routes":5361,"../../../helpers/utils/settings-search":5395,"./add-contact":5837,"./edit-contact":5842,"./view-contact":5844,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=g(t);if(a&&a.has(e))return a.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=s?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n.default=e,a&&a.set(e,n),n}(e("react")),s=m(e("prop-types")),r=m(e("classnames")),o=m(e("../../../components/app/contact-list")),i=e("../../../helpers/constants/routes"),l=e("../../../helpers/utils/settings-search"),c=e("../../../components/component-library"),u=e("../../../helpers/constants/design-system"),d=m(e("./edit-contact")),p=m(e("./add-contact")),f=m(e("./view-contact"));function m(e){return e&&e.__esModule?e:{default:e}}function g(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(g=function(e){return e?a:t})(e)}function h(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var a=e[Symbol.toPrimitive];if(a!==undefined){var n=a.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}class _ extends n.Component{constructor(...e){super(...e),h(this,"settingsRefs",Array((0,l.getNumberOfSettingRoutesInTab)(this.context.t,this.context.t("contacts"))).fill(undefined).map((()=>n.default.createRef())))}componentDidUpdate(){const{t:e}=this.context;(0,l.handleSettingsRefs)(e,e("contacts"),this.settingsRefs)}componentDidMount(){const{t:e}=this.context;(0,l.handleSettingsRefs)(e,e("contacts"),this.settingsRefs)}renderAddresses(){const{addressBook:e,history:t,selectedAddress:a}=this.props,s=e.filter((({name:e})=>Boolean(e))),r=e.filter((({name:e})=>!e)),{t:l}=this.context;return e.length?n.default.createElement("div",null,n.default.createElement(o.default,{searchForContacts:()=>s,searchForRecents:()=>r,selectRecipient:e=>{t.push(`${i.CONTACT_VIEW_ROUTE}/${e}`)},selectedAddress:a})):n.default.createElement("div",{className:"address-book__container"},n.default.createElement("div",null,n.default.createElement(c.Icon,{name:c.IconName.Book,color:u.IconColor.iconMuted,className:"address-book__icon",size:c.IconSize.Xl}),n.default.createElement("h4",{className:"address-book__title"},l("buildContactList")),n.default.createElement("p",{className:"address-book__sub-title"},l("addFriendsAndAddresses")),n.default.createElement("button",{className:"address-book__link",onClick:()=>{t.push(i.CONTACT_ADD_ROUTE)}},"+ ",l("addContact"))))}renderAddButton(){const{history:e,viewingContact:t,editingContact:a}=this.props;return n.default.createElement(c.ButtonPrimary,{className:(0,r.default)("address-book-add-button__button",{"address-book-add-button__button--hidden":t||a}),onClick:()=>{e.push(i.CONTACT_ADD_ROUTE)},margin:4,size:u.Size.LG},this.context.t("addContact"))}renderContactContent(){const{viewingContact:e,editingContact:t,addingContact:a}=this.props;let s=null;return e?s=f.default:t?s=d.default:a&&(s=p.default),s&&n.default.createElement("div",{className:"address-book-contact-content"},n.default.createElement(s,null))}renderAddressBookContent(){const{hideAddressBook:e}=this.props;return e?null:n.default.createElement("div",{ref:this.settingsRefs[0],className:"address-book"},this.renderAddresses())}render(){const{addingContact:e,addressBook:t,currentPath:a}=this.props;return n.default.createElement("div",{className:"address-book-wrapper"},this.renderAddressBookContent(),this.renderContactContent(),a===i.CONTACT_LIST_ROUTE&&!e&&t.length>0?this.renderAddButton():null)}}a.default=_,h(_,"contextTypes",{t:s.default.func}),h(_,"propTypes",{addressBook:s.default.array,history:s.default.object,selectedAddress:s.default.string,viewingContact:s.default.bool,editingContact:s.default.bool,addingContact:s.default.bool,hideAddressBook:s.default.bool,currentPath:s.default.string})}}},{package:"$root$",file:"ui/pages/settings/contact-list-tab/contact-list-tab.component.js"}],[5839,{"../../../helpers/constants/routes":5361,"../../../selectors":5987,"./contact-list-tab.component":5838,"react-redux":4199,"react-router-dom":4228,redux:4261},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n,s=e("redux"),r=e("react-redux"),o=e("react-router-dom"),i=e("../../../selectors"),l=e("../../../helpers/constants/routes"),c=(n=e("./contact-list-tab.component"))&&n.__esModule?n:{default:n};a.default=(0,s.compose)(o.withRouter,(0,r.connect)(((e,t)=>{const{location:a}=t,{pathname:n}=a,s=n.match(/[^/]+$/u)[0],r=s.includes("0x"),o=Boolean(n.match(l.CONTACT_VIEW_ROUTE)),c=Boolean(n.match(l.CONTACT_EDIT_ROUTE)),u=Boolean(n.match(l.CONTACT_ADD_ROUTE)),d=o||c||u;return{viewingContact:o,editingContact:c,addingContact:u,addressBook:(0,i.getAddressBook)(e),selectedAddress:r?s:"",hideAddressBook:d,currentPath:n}})))(c.default)}}},{package:"$root$",file:"ui/pages/settings/contact-list-tab/contact-list-tab.container.js"}],[5840,{"../../../../../shared/modules/hexstring-utils":4544,"../../../../components/component-library":4955,"../../../../components/ui/button/button.component":5197,"../../../../components/ui/page-container/page-container-footer":5276,"../../../../components/ui/text-field":5302,"../../../../helpers/constants/design-system":5355,"prop-types":3997,react:4243,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=f(t);if(a&&a.has(e))return a.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=s?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n.default=e,a&&a.set(e,n),n}(e("react")),s=p(e("prop-types")),r=e("react-router-dom"),o=p(e("../../../../components/ui/button/button.component")),i=p(e("../../../../components/ui/text-field")),l=p(e("../../../../components/ui/page-container/page-container-footer")),c=e("../../../../../shared/modules/hexstring-utils"),u=e("../../../../components/component-library"),d=e("../../../../helpers/constants/design-system");function p(e){return e&&e.__esModule?e:{default:e}}function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(f=function(e){return e?a:t})(e)}function m(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var a=e[Symbol.toPrimitive];if(a!==undefined){var n=a.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}class g extends n.PureComponent{constructor(...e){super(...e),m(this,"state",{newName:this.props.name,newAddress:this.props.address,newMemo:this.props.memo,error:""})}render(){const{t:e}=this.context,{address:t,addToAddressBook:a,chainId:s,history:p,listRoute:f,memo:m,name:g,removeFromAddressBook:h,viewRoute:_}=this.props;return t?n.default.createElement("div",{className:"settings-page__content-row address-book__edit-contact"},n.default.createElement(u.Box,{className:"settings-page__header address-book__header--edit",paddingLeft:6,paddingRight:6},n.default.createElement(u.Box,{display:d.Display.Flex,alignItems:d.AlignItems.center},n.default.createElement(u.AvatarAccount,{size:u.AvatarAccountSize.Lg,address:t}),n.default.createElement(u.Text,{className:"address-book__header__name",variant:d.TextVariant.bodyLgMedium,marginInlineStart:4},g||t)),n.default.createElement(o.default,{type:"link",className:"settings-page__address-book-button",onClick:async()=>{await h(s,t),p.push(f)}},e("deleteContact"))),n.default.createElement("div",{className:"address-book__edit-contact__content"},n.default.createElement("div",{className:"address-book__view-contact__group"},n.default.createElement("div",{className:"address-book__view-contact__group__label"},e("userName")),n.default.createElement(i.default,{type:"text",id:"nickname",placeholder:this.context.t("addAlias"),value:this.state.newName,onChange:e=>this.setState({newName:e.target.value}),fullWidth:!0,margin:"dense"})),n.default.createElement("div",{className:"address-book__view-contact__group"},n.default.createElement("div",{className:"address-book__view-contact__group__label"},e("ethereumPublicAddress")),n.default.createElement(i.default,{type:"text",id:"address",value:this.state.newAddress,error:this.state.error,onChange:e=>this.setState({newAddress:e.target.value}),fullWidth:!0,multiline:!0,rows:4,margin:"dense",classes:{inputMultiline:"address-book__view-contact__address__text-area",inputRoot:"address-book__view-contact__address"}})),n.default.createElement("div",{className:"address-book__view-contact__group"},n.default.createElement("div",{className:"address-book__view-contact__group__label--capitalized"},e("memo")),n.default.createElement(i.default,{type:"text",id:"memo",placeholder:m,value:this.state.newMemo,onChange:e=>this.setState({newMemo:e.target.value}),fullWidth:!0,margin:"dense",multiline:!0,rows:3,classes:{inputMultiline:"address-book__view-contact__text-area",inputRoot:"address-book__view-contact__text-area-wrapper"}}))),n.default.createElement(l.default,{cancelText:this.context.t("cancel"),onSubmit:async()=>{""!==this.state.newAddress&&this.state.newAddress!==t?!(0,c.isBurnAddress)(this.state.newAddress)&&(0,c.isValidHexAddress)(this.state.newAddress,{mixedCaseUseChecksum:!0})?(await h(s,t),await a(this.state.newAddress,this.state.newName||g,this.state.newMemo||m),p.push(f)):this.setState({error:this.context.t("invalidAddress")}):(await a(t,this.state.newName||g,this.state.newMemo||m),p.push(f))},onCancel:()=>{p.push(`${_}/${t}`)},submitText:this.context.t("save"),disabled:this.state.newName===g&&this.state.newAddress===t&&this.state.newMemo===m||!this.state.newName.trim()})):n.default.createElement(r.Redirect,{to:{pathname:f}})}}a.default=g,m(g,"contextTypes",{t:s.default.func}),m(g,"propTypes",{addToAddressBook:s.default.func,removeFromAddressBook:s.default.func,history:s.default.object,name:s.default.string,address:s.default.string,chainId:s.default.string,memo:s.default.string,viewRoute:s.default.string,listRoute:s.default.string}),m(g,"defaultProps",{name:"",memo:""})}}},{package:"$root$",file:"ui/pages/settings/contact-list-tab/edit-contact/edit-contact.component.js"}],[5841,{"../../../../ducks/metamask/metamask":5346,"../../../../helpers/constants/routes":5361,"../../../../selectors":5987,"../../../../store/actions":5998,"./edit-contact.component":5840,"react-redux":4199,"react-router-dom":4228,redux:4261},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n,s=e("redux"),r=e("react-redux"),o=e("react-router-dom"),i=e("../../../../selectors"),l=e("../../../../ducks/metamask/metamask"),c=e("../../../../helpers/constants/routes"),u=e("../../../../store/actions"),d=(n=e("./edit-contact.component"))&&n.__esModule?n:{default:n};a.default=(0,s.compose)(o.withRouter,(0,r.connect)(((e,t)=>{var a;const{location:n}=t,{pathname:s}=n,r=s.match(/[^/]+$/u)[0],o=r.includes("0x")?r.toLowerCase():t.match.params.id,u=(0,i.getAddressBookEntry)(e,o),{memo:d}=u||{},p=(null==u?void 0:u.name)||(null===(a=(0,i.getInternalAccountByAddress)(e,o))||void 0===a?void 0:a.metadata.name),{chainId:f}=(0,l.getProviderConfig)(e);return{address:u?o:null,chainId:f,name:p,memo:d,viewRoute:c.CONTACT_VIEW_ROUTE,listRoute:c.CONTACT_LIST_ROUTE}}),(e=>({addToAddressBook:(t,a,n)=>e((0,u.addToAddressBook)(t,a,n)),removeFromAddressBook:(t,a)=>e((0,u.removeFromAddressBook)(t,a))}))))(d.default)}}},{package:"$root$",file:"ui/pages/settings/contact-list-tab/edit-contact/edit-contact.container.js"}],[5842,{"./edit-contact.container":5841},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return s.default}});var n,s=(n=e("./edit-contact.container"))&&n.__esModule?n:{default:n}}}},{package:"$root$",file:"ui/pages/settings/contact-list-tab/edit-contact/index.js"}],[5843,{"./contact-list-tab.container":5839},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return s.default}});var n,s=(n=e("./contact-list-tab.container"))&&n.__esModule?n:{default:n}}}},{package:"$root$",file:"ui/pages/settings/contact-list-tab/index.js"}],[5844,{"./view-contact.container":5846},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return s.default}});var n,s=(n=e("./view-contact.container"))&&n.__esModule?n:{default:n}}}},{package:"$root$",file:"ui/pages/settings/contact-list-tab/view-contact/index.js"}],[5845,{"../../../../components/component-library":4955,"../../../../components/ui/button/button.component":5197,"../../../../components/ui/tooltip":5310,"../../../../helpers/constants/design-system":5355,"../../../../hooks/useCopyToClipboard":5417,"../../../../hooks/useI18nContext":5427,"prop-types":3997,react:4243,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n=p(e("react")),s=p(e("prop-types")),r=e("react-router-dom"),o=p(e("../../../../components/ui/button/button.component")),i=e("../../../../components/component-library"),l=p(e("../../../../components/ui/tooltip")),c=e("../../../../hooks/useI18nContext"),u=e("../../../../hooks/useCopyToClipboard"),d=e("../../../../helpers/constants/design-system");function p(e){return e&&e.__esModule?e:{default:e}}function f({history:e,name:t,address:a,checkSummedAddress:s,memo:p,editRoute:f,listRoute:m}){const g=(0,c.useI18nContext)(),[h,_]=(0,u.useCopyToClipboard)();return a?n.default.createElement("div",{className:"settings-page__content-row"},n.default.createElement("div",{className:"settings-page__content-item"},n.default.createElement(i.Box,{className:"settings-page__header address-book__header",paddingLeft:6},n.default.createElement(i.AvatarAccount,{size:i.AvatarAccountSize.Lg,address:a}),n.default.createElement(i.Text,{className:"address-book__header__name",variant:d.TextVariant.bodyLgMedium,marginInlineStart:4},t||a)),n.default.createElement("div",{className:"address-book__view-contact__group"},n.default.createElement(o.default,{type:"secondary",onClick:()=>{e.push(`${f}/${a}`)}},g("edit"))),n.default.createElement("div",{className:"address-book__view-contact__group"},n.default.createElement("div",{className:"address-book__view-contact__group__label"},g("ethereumPublicAddress")),n.default.createElement("div",{className:"address-book__view-contact__group__value"},n.default.createElement("div",{className:"address-book__view-contact__group__static-address"},function(e){return`0x${e.slice(2).match(/.{1,4}/gu).join("")}`}(s)),n.default.createElement(l.default,{position:"bottom",title:g(h?"copiedExclamation":"copyToClipboard")},n.default.createElement(i.ButtonIcon,{ariaLabel:"copy",className:"address-book__view-contact__group__static-address--copy-icon",onClick:()=>{_(s)},iconName:h?i.IconName.CopySuccess:i.IconName.Copy,size:i.ButtonIconSize.Lg,color:d.IconColor.primaryDefault})))),p.length>0?n.default.createElement("div",{className:"address-book__view-contact__group"},n.default.createElement("div",{className:"address-book__view-contact__group__label--capitalized"},g("memo")),n.default.createElement("div",{className:"address-book__view-contact__group__static-address"},p)):null)):n.default.createElement(r.Redirect,{to:{pathname:m}})}f.propTypes={name:s.default.string,address:s.default.string,history:s.default.object,checkSummedAddress:s.default.string,memo:s.default.string,editRoute:s.default.string,listRoute:s.default.string.isRequired};a.default=n.default.memo(f)}}},{package:"$root$",file:"ui/pages/settings/contact-list-tab/view-contact/view-contact.component.js"}],[5846,{"../../../../../shared/modules/hexstring-utils":4544,"../../../../helpers/constants/routes":5361,"../../../../selectors":5987,"./view-contact.component":5845,"react-redux":4199,"react-router-dom":4228,redux:4261},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n,s=e("redux"),r=e("react-redux"),o=e("react-router-dom"),i=e("../../../../selectors"),l=e("../../../../helpers/constants/routes"),c=e("../../../../../shared/modules/hexstring-utils"),u=(n=e("./view-contact.component"))&&n.__esModule?n:{default:n};a.default=(0,s.compose)(o.withRouter,(0,r.connect)(((e,t)=>{const{location:a}=t,{pathname:n}=a,s=n.match(/[^/]+$/u)[0],r=s.includes("0x")?s.toLowerCase():t.match.params.id,o=(0,i.getInternalAccountByAddress)(e,r),u=(0,i.getAddressBookEntry)(e,r),{memo:d}=u||{};return{name:(null==u?void 0:u.name)||o.metadata.name,address:u?r:null,checkSummedAddress:(0,c.toChecksumHexAddress)(r),memo:d,editRoute:l.CONTACT_EDIT_ROUTE,listRoute:l.CONTACT_LIST_ROUTE}})))(u.default)}}},{package:"$root$",file:"ui/pages/settings/contact-list-tab/view-contact/view-contact.container.js"}],[5847,{"../../../components/component-library":4955,"../../../helpers/constants/design-system":5355,"../../../helpers/constants/zendesk-url":5368,"../../../hooks/useI18nContext":5427,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.DeprecatedNetworkModal=void 0;var n=l(e("react")),s=e("../../../hooks/useI18nContext"),r=e("../../../components/component-library"),o=e("../../../helpers/constants/design-system"),i=l(e("../../../helpers/constants/zendesk-url"));function l(e){return e&&e.__esModule?e:{default:e}}a.DeprecatedNetworkModal=({onClose:e})=>{const t=(0,s.useI18nContext)();return n.default.createElement(r.Modal,{isOpen:!0,isClosedOnOutsideClick:!1,onClose:e},n.default.createElement(r.ModalOverlay,null),n.default.createElement(r.ModalContent,null,n.default.createElement(r.ModalHeader,{paddingTop:2,paddingBottom:2},t("deprecatedNetwork")),n.default.createElement(r.ModalBody,null,n.default.createElement(r.Box,{paddingBottom:2},n.default.createElement(r.Text,{textAlign:o.TextAlign.Center,variant:o.TextVariant.bodyMd,fontWeight:o.FontWeight.Normal},t("deprecatedNetworkDescription",[n.default.createElement(r.ButtonLink,{key:"import-token-fake-token-warning",rel:"noopener noreferrer",target:"_blank",href:i.default.NETWORK_DEPRECATED,variant:o.TextVariant.bodySm,fontWeight:o.FontWeight.Normal},t("learnMoreUpperCase"))])))),n.default.createElement(r.Box,{display:o.Display.Flex,paddingLeft:4,paddingRight:4,paddingBottom:2},n.default.createElement(r.ButtonPrimary,{block:!0,size:r.ButtonPrimarySize.Lg,onClick:e,textProps:{variant:o.TextVariant.bodyMdMedium},style:{fontSize:"14px"}},t("deprecatedNetworkButtonMsg")))))}}}},{package:"$root$",file:"ui/pages/settings/deprecated-network-modal/DeprecatedNetworkModal.tsx"}],[5848,{"../../../../app/scripts/lib/util":120,"../../../../shared/constants/app":4493,"../../../components/component-library":4955,"../../../components/ui/toggle-button":5306,"../../../helpers/constants/design-system":5355,"../../../helpers/constants/routes":5361,"../../../helpers/utils/settings-search":5395,"../../../hooks/useI18nContext":5427,"../../../store/actions":5998,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n,s=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=h(t);if(a&&a.has(e))return a.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=s?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n.default=e,a&&a.set(e,n),n}(e("react")),r=e("react-redux"),o=e("react-router-dom"),i=e("../../../components/component-library"),l=e("../../../helpers/constants/design-system"),c=(n=e("../../../components/ui/toggle-button"))&&n.__esModule?n:{default:n},u=e("../../../helpers/constants/routes"),d=e("../../../helpers/utils/settings-search"),p=e("../../../hooks/useI18nContext"),f=e("../../../store/actions"),m=e("../../../../app/scripts/lib/util"),g=e("../../../../shared/constants/app");function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(h=function(e){return e?a:t})(e)}a.default=()=>{const e=(0,p.useI18nContext)(),t=(0,r.useDispatch)(),a=(0,o.useHistory)(),[n,h]=(0,s.useState)(!1),[_,E]=(0,s.useState)(!1),[y,b]=(0,s.useState)(!0),w=Array((0,d.getNumberOfSettingRoutesInTab)(e,e("developerOptions"))).fill(undefined).map((()=>s.default.createRef()));(0,s.useEffect)((()=>{(0,d.handleSettingsRefs)(e,e("developerOptions"),w)}),[e,w]);const v=(0,s.useCallback)((()=>{(0,f.resetViewedNotifications)(),h(!0)}),[]),k=(0,s.useCallback)((async()=>{await t((0,f.resetOnboarding)()),E(!0);const e=`${u.ONBOARDING_SECURE_YOUR_WALLET_ROUTE}/?isFromReminder=true`;if((0,m.getEnvironmentType)()===g.ENVIRONMENT_TYPE_POPUP){const{platform:t}=global;null!=t&&t.openExtensionInBrowser&&(null==t||t.openExtensionInBrowser(e,null,!0))}else a.push(e)}),[t,a]);return s.default.createElement("div",{className:"settings-page__body"},s.default.createElement(i.Text,{className:"settings-page__security-tab-sub-header__bold"},e("states")),s.default.createElement(i.Text,{className:"settings-page__security-tab-sub-header",color:l.TextColor.textAlternative,paddingTop:6,ref:w[0]},e("resetStates")),s.default.createElement("div",{className:"settings-page__content-padded"},s.default.createElement(i.Box,{ref:w[1],className:"settings-page__content-row",display:l.Display.Flex,flexDirection:l.FlexDirection.Row,justifyContent:l.JustifyContent.spaceBetween,gap:4},s.default.createElement("div",{className:"settings-page__content-item"},s.default.createElement("span",null,e("announcements")),s.default.createElement("div",{className:"settings-page__content-description"},e("developerOptionsResetStatesAnnouncementsDescription"))),s.default.createElement("div",{className:"settings-page__content-item-col"},s.default.createElement(i.Button,{variant:i.ButtonVariant.Primary,onClick:v},e("reset"))),s.default.createElement("div",{className:"settings-page__content-item-col"},s.default.createElement(i.Box,{display:l.Display.Flex,alignItems:l.AlignItems.center,paddingLeft:2,paddingRight:2,style:{height:"40px",width:"40px"}},s.default.createElement(i.Icon,{className:"settings-page-developer-options__icon-check",name:i.IconName.Check,color:l.IconColor.successDefault,size:i.IconSize.Lg,hidden:!n})))),s.default.createElement(i.Box,{ref:w[2],className:"settings-page__content-row",display:l.Display.Flex,flexDirection:l.FlexDirection.Row,justifyContent:l.JustifyContent.spaceBetween,gap:4},s.default.createElement("div",{className:"settings-page__content-item",style:{flex:"1 1 auto"}},s.default.createElement("span",null,e("onboarding")),s.default.createElement("div",{className:"settings-page__content-description"},e("developerOptionsResetStatesOnboarding"))),s.default.createElement("div",{className:"settings-page__content-item-col"},s.default.createElement(i.Button,{variant:i.ButtonVariant.Primary,onClick:k},e("reset"))),s.default.createElement("div",{className:"settings-page__content-item-col"},s.default.createElement(i.Box,{display:l.Display.Flex,alignItems:l.AlignItems.center,paddingLeft:2,paddingRight:2,style:{height:"40px",width:"40px"}},s.default.createElement(i.Icon,{className:"settings-page-developer-options__icon-check",name:i.IconName.Check,color:l.IconColor.successDefault,size:i.IconSize.Lg,hidden:!_})))),s.default.createElement(i.Box,{ref:w[3],className:"settings-page__content-row",display:l.Display.Flex,flexDirection:l.FlexDirection.Row,justifyContent:l.JustifyContent.spaceBetween,gap:4},s.default.createElement("div",{className:"settings-page__content-item"},s.default.createElement("div",{className:"settings-page__content-description"},s.default.createElement("span",null,e("serviceWorkerKeepAlive")),s.default.createElement("div",{className:"settings-page__content-description"},e("developerOptionsServiceWorkerKeepAlive")))),s.default.createElement("div",{className:"settings-page__content-item-col"},s.default.createElement(c.default,{value:y,onToggle:e=>(async e=>{await t((0,f.setServiceWorkerKeepAlivePreference)(e)),b(e)})(!e),offLabel:e("off"),onLabel:e("on"),dataTestId:"developer-options-service-worker-alive-toggle"})))))}}}},{package:"$root$",file:"ui/pages/settings/developer-options-tab/developer-options-tab.tsx"}],[5849,{"./developer-options-tab":5848},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return s.default}});var n,s=(n=e("./developer-options-tab"))&&n.__esModule?n:{default:n}}}},{package:"$root$",file:"ui/pages/settings/developer-options-tab/index.tsx"}],[5850,{"../../../../shared/constants/metametrics":4505,"../../../components/app/desktop-enable-button":4628,"../../../components/component-library":4955,"../../../components/ui/toggle-button":5306,"../../../helpers/constants/design-system":5355,"../../../helpers/utils/settings-search":5395,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=p(t);if(a&&a.has(e))return a.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=s?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n.default=e,a&&a.set(e,n),n}(e("react")),s=d(e("prop-types")),r=d(e("../../../components/ui/toggle-button")),o=e("../../../helpers/utils/settings-search"),i=e("../../../../shared/constants/metametrics"),l=e("../../../components/component-library"),c=e("../../../helpers/constants/design-system"),u=d(e("../../../components/app/desktop-enable-button"));function d(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(p=function(e){return e?a:t})(e)}function f(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var a=e[Symbol.toPrimitive];if(a!==undefined){var n=a.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}class m extends n.PureComponent{constructor(...e){super(...e),f(this,"settingsRefs",Array((0,o.getNumberOfSettingRoutesInTab)(this.context.t,this.context.t("experimental"))).fill(undefined).map((()=>n.default.createRef())))}componentDidUpdate(){const{t:e}=this.context;(0,o.handleSettingsRefs)(e,e("experimental"),this.settingsRefs)}componentDidMount(){const{t:e}=this.context;(0,o.handleSettingsRefs)(e,e("experimental"),this.settingsRefs)}renderTogglePetnames(){const{t:e}=this.context,{petnamesEnabled:t,setPetnamesEnabled:a}=this.props;return n.default.createElement(l.Box,{ref:this.settingsRefs[0],className:"settings-page__content-row settings-page__content-row-experimental"},n.default.createElement("div",{className:"settings-page__content-item"},n.default.createElement("span",null,e("petnamesEnabledToggle")),n.default.createElement("div",{className:"settings-page__content-description"},e("petnamesEnabledToggleDescription"))),n.default.createElement("div",{className:"settings-page__content-item-col"},n.default.createElement(r.default,{className:"petnames-toggle",value:t,onToggle:e=>a(!e),offLabel:e("off"),onLabel:e("on"),dataTestId:"toggle-petnames"})))}renderToggleRedesignedConfirmations(){const{t:e}=this.context,{redesignedConfirmationsEnabled:t,setRedesignedConfirmationsEnabled:a}=this.props;return n.default.createElement(l.Box,{ref:this.settingsRefs[0],className:"settings-page__content-row settings-page__content-row-experimental"},n.default.createElement("div",{className:"settings-page__content-item"},n.default.createElement("span",null,e("redesignedConfirmationsEnabledToggle")),n.default.createElement("div",{className:"settings-page__content-description"},e("redesignedConfirmationsToggleDescription"))),n.default.createElement("div",{className:"settings-page__content-item-col"},n.default.createElement(r.default,{className:"redesigned-confirmations-toggle",value:t,onToggle:e=>a(!e),offLabel:e("off"),onLabel:e("on"),dataTestId:"toggle-redesigned-confirmations"})))}renderDesktopEnableButton(){const{t:e}=this.context;return n.default.createElement(n.default.Fragment,null,n.default.createElement(l.Text,{variant:c.TextVariant.headingSm,color:c.TextColor.textAlternative,marginBottom:2},e("desktopApp")),n.default.createElement(l.Box,{ref:this.settingsRefs[6],"data-testid":"advanced-setting-desktop-pairing",display:c.Display.Flex,alignItems:c.AlignItems.center,flexDirection:c.FlexDirection.Row,flexWrap:c.FlexWrap.Wrap,justifyContent:c.JustifyContent.spaceBetween},n.default.createElement(l.Text,{marginTop:3,paddingRight:2},e("desktopEnableButtonDescription")),n.default.createElement(l.Box,{className:"settings-page__content-item-col",paddingTop:3},n.default.createElement(u.default,null))))}renderKeyringSnapsToggle(){const{t:e,trackEvent:t}=this.context,{addSnapAccountEnabled:a,setAddSnapAccountEnabled:s}=this.props;return n.default.createElement(n.default.Fragment,null,n.default.createElement(l.Text,{variant:c.TextVariant.headingSm,as:"h4",color:c.TextColor.textAlternative,marginBottom:2,fontWeight:c.FontWeight.Bold},e("snaps")),n.default.createElement(l.Box,{ref:this.settingsRefs[1],className:"settings-page__content-row settings-page__content-row-experimental",marginBottom:3},n.default.createElement("div",{className:"settings-page__content-item"},n.default.createElement("span",null,e("snapAccounts")),n.default.createElement("div",{className:"settings-page__content-description"},n.default.createElement(l.Text,{variant:c.TextVariant.bodySm,as:"h6",color:c.TextColor.textAlternative},e("snapAccountsDescription")),n.default.createElement("div",{className:"settings-page__content-item-col"},n.default.createElement(l.Text,{variant:c.TextVariant.bodyMd,as:"h5",color:c.TextColor.textDefault,fontWeight:c.FontWeight.Medium,marginBottom:0},e("addSnapAccountToggle")),n.default.createElement("div",{"data-testid":"add-account-snap-toggle-div"},n.default.createElement(r.default,{value:a,dataTestId:"add-account-snap-toggle-button",onToggle:e=>{t({event:i.MetaMetricsEventName.AddSnapAccountEnabled,category:i.MetaMetricsEventCategory.Settings,properties:{enabled:!e}}),s(!e)}}))),n.default.createElement(l.Text,{variant:c.TextVariant.bodySm,as:"h6",color:c.TextColor.textAlternative,marginTop:0},e("addSnapAccountsDescription"))))))}renderToggleRequestQueue(){const{t:e}=this.context,{useRequestQueue:t,setUseRequestQueue:a}=this.props;return n.default.createElement(l.Box,{ref:this.settingsRefs[7],className:"settings-page__content-row settings-page__content-row-experimental","data-testid":"experimental-setting-toggle-request-queue"},n.default.createElement("div",{className:"settings-page__content-item"},n.default.createElement("span",null,e("toggleRequestQueueField")),n.default.createElement("div",{className:"settings-page__content-description"},e("toggleRequestQueueDescription"))),n.default.createElement("div",{className:"settings-page__content-item-col"},n.default.createElement(r.default,{className:"request-queue-toggle",value:t||!1,onToggle:e=>a(!e),offLabel:e("toggleRequestQueueOff"),onLabel:e("toggleRequestQueueOn")})))}renderNotificationsToggle(){const{t:e}=this.context,{featureNotificationsEnabled:t,setFeatureNotificationsEnabled:a}=this.props;return n.default.createElement(l.Box,{ref:this.settingsRefs[0],className:"settings-page__content-row settings-page__content-row-experimental"},n.default.createElement("div",{className:"settings-page__content-item"},n.default.createElement("span",null,e("notificationsFeatureToggle")),n.default.createElement("div",{className:"settings-page__content-description"},e("notificationsFeatureToggleDescription"))),n.default.createElement("div",{className:"settings-page__content-item-col"},n.default.createElement(r.default,{value:t,onToggle:e=>a(!e),offLabel:e("off"),onLabel:e("on"),dataTestId:"toggle-notifications"})))}render(){return n.default.createElement("div",{className:"settings-page__body"},this.renderTogglePetnames(),this.renderToggleRedesignedConfirmations(),null,this.renderKeyringSnapsToggle(),this.renderDesktopEnableButton(),this.renderToggleRequestQueue())}}a.default=m,f(m,"contextTypes",{t:s.default.func,trackEvent:s.default.func}),f(m,"propTypes",{addSnapAccountEnabled:s.default.bool,setAddSnapAccountEnabled:s.default.func,useRequestQueue:s.default.bool,setUseRequestQueue:s.default.func,petnamesEnabled:s.default.bool.isRequired,setPetnamesEnabled:s.default.func.isRequired,featureNotificationsEnabled:s.default.bool,setFeatureNotificationsEnabled:s.default.func,redesignedConfirmationsEnabled:s.default.bool.isRequired,setRedesignedConfirmationsEnabled:s.default.func.isRequired})}}},{package:"$root$",file:"ui/pages/settings/experimental-tab/experimental-tab.component.js"}],[5851,{"../../../selectors":5987,"../../../store/actions":5998,"./experimental-tab.component":5850,"react-redux":4199,"react-router-dom":4228,redux:4261},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n,s=e("redux"),r=e("react-redux"),o=e("react-router-dom"),i=e("../../../store/actions"),l=e("../../../selectors"),c=(n=e("./experimental-tab.component"))&&n.__esModule?n:{default:n};a.default=(0,s.compose)(o.withRouter,(0,r.connect)((e=>{const t=(0,l.getPetnamesEnabled)(e),a=(0,l.getFeatureNotificationsEnabled)(e);return{addSnapAccountEnabled:(0,l.getIsAddSnapAccountEnabled)(e),useRequestQueue:(0,l.getUseRequestQueue)(e),petnamesEnabled:t,featureNotificationsEnabled:a,redesignedConfirmationsEnabled:(0,l.getRedesignedConfirmationsEnabled)(e)}}),(e=>({setAddSnapAccountEnabled:e=>(0,i.setAddSnapAccountEnabled)(e),setUseRequestQueue:e=>(0,i.setUseRequestQueue)(e),setPetnamesEnabled:t=>e((0,i.setPetnamesEnabled)(t)),setFeatureNotificationsEnabled:t=>e((0,i.setFeatureNotificationsEnabled)(t)),setRedesignedConfirmationsEnabled:t=>e((0,i.setRedesignedConfirmationsEnabled)(t))}))))(c.default)}}},{package:"$root$",file:"ui/pages/settings/experimental-tab/experimental-tab.container.js"}],[5852,{"./experimental-tab.container":5851},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return s.default}});var n,s=(n=e("./experimental-tab.container"))&&n.__esModule?n:{default:n}}}},{package:"$root$",file:"ui/pages/settings/experimental-tab/index.js"}],[5853,{"./settings.container":5884},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return s.default}});var n,s=(n=e("./settings.container"))&&n.__esModule?n:{default:n}}}},{package:"$root$",file:"ui/pages/settings/index.js"}],[5854,{"./info-tab.component":5855},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return s.default}});var n,s=(n=e("./info-tab.component"))&&n.__esModule?n:{default:n}}}},{package:"$root$",file:"ui/pages/settings/info-tab/index.js"}],[5855,{"../../../../shared/constants/metametrics":4505,"../../../../shared/lib/ui-utils":4532,"../../../components/component-library":4955,"../../../components/ui/button":5198,"../../../helpers/constants/common":5353,"../../../helpers/utils/build-types":5379,"../../../helpers/utils/settings-search":5395,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=f(t);if(a&&a.has(e))return a.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=s?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n.default=e,a&&a.set(e,n),n}(e("react")),s=p(e("prop-types")),r=p(e("../../../components/ui/button")),o=e("../../../components/component-library"),i=e("../../../helpers/constants/common"),l=e("../../../helpers/utils/build-types"),c=e("../../../helpers/utils/settings-search"),u=e("../../../../shared/constants/metametrics"),d=e("../../../../shared/lib/ui-utils");function p(e){return e&&e.__esModule?e:{default:e}}function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(f=function(e){return e?a:t})(e)}function m(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var a=e[Symbol.toPrimitive];if(a!==undefined){var n=a.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}class g extends n.PureComponent{constructor(...e){super(...e),m(this,"state",{version:"12.0.0-flask.0"}),m(this,"settingsRefs",Array((0,c.getNumberOfSettingRoutesInTab)(this.context.t,this.context.t("about"))).fill(undefined).map((()=>n.default.createRef())))}componentDidUpdate(){const{t:e}=this.context;(0,c.handleSettingsRefs)(e,e("about"),this.settingsRefs)}componentDidMount(){const{t:e}=this.context;(0,c.handleSettingsRefs)(e,e("about"),this.settingsRefs)}renderInfoLinks(){const{t:e}=this.context;let t,a;return t="https://metamask.io/privacy.html",a="https://metamask.io/",n.default.createElement("div",{className:"settings-page__content-item settings-page__content-item--without-height"},n.default.createElement("div",{ref:this.settingsRefs[1],className:"info-tab__link-header"},e("links")),n.default.createElement("div",{ref:this.settingsRefs[2],className:"info-tab__link-item"},n.default.createElement(r.default,{type:"link",href:"https://metamask.io/privacy.html",target:"_blank",rel:"noopener noreferrer",className:"info-tab__link-text"},e("privacyMsg"))),n.default.createElement("div",{ref:this.settingsRefs[3],className:"info-tab__link-item"},n.default.createElement(r.default,{type:"link",href:"https://metamask.io/terms.html",target:"_blank",rel:"noopener noreferrer",className:"info-tab__link-text"},e("terms"))),(0,l.isBeta)()?n.default.createElement("div",{ref:this.settingsRefs[8],className:"info-tab__link-item"},n.default.createElement(r.default,{type:"link",href:"https://metamask.io/beta-terms.html",target:"_blank",rel:"noopener noreferrer",className:"info-tab__link-text"},e("betaTerms"),n.default.createElement(o.Tag,{label:e("new"),className:"info-tab__tag"}))):null,n.default.createElement("div",{ref:this.settingsRefs[4],className:"info-tab__link-item"},n.default.createElement(r.default,{type:"link",href:`https://raw.githubusercontent.com/MetaMask/metamask-extension/v${this.state.version}/attribution.txt`,target:"_blank",rel:"noopener noreferrer",className:"info-tab__link-text"},e("attributions"))),n.default.createElement("hr",{className:"info-tab__separator"}),n.default.createElement("div",{ref:this.settingsRefs[5],className:"info-tab__link-item"},n.default.createElement(r.default,{type:"link",href:d.SUPPORT_LINK,target:"_blank",rel:"noopener noreferrer",className:"info-tab__link-text",onClick:()=>{this.context.trackEvent({category:u.MetaMetricsEventCategory.Settings,event:u.MetaMetricsEventName.SupportLinkClicked,properties:{url:d.SUPPORT_LINK}},{contextPropsIntoEventProperties:[u.MetaMetricsContextProp.PageTitle]})}},e("supportCenter"))),n.default.createElement("div",{ref:this.settingsRefs[6],className:"info-tab__link-item"},n.default.createElement(r.default,{type:"link",href:"https://metamask.io/",target:"_blank",rel:"noopener noreferrer",className:"info-tab__link-text"},e("visitWebSite"))),n.default.createElement("div",{ref:this.settingsRefs[7],className:"info-tab__link-item"},n.default.createElement(r.default,{type:"link",href:i.SUPPORT_REQUEST_LINK,target:"_blank",rel:"noopener noreferrer",className:"info-tab__link-text",onClick:()=>{this.context.trackEvent({category:u.MetaMetricsEventCategory.Settings,event:u.MetaMetricsEventName.SupportLinkClicked,properties:{url:i.SUPPORT_REQUEST_LINK}},{contextPropsIntoEventProperties:[u.MetaMetricsContextProp.PageTitle]})}},e("contactUs"))))}render(){const{t:e}=this.context;return n.default.createElement("div",{className:"settings-page__body"},n.default.createElement("div",{className:"settings-page__content-row"},n.default.createElement("div",{className:"settings-page__content-item settings-page__content-item--without-height"},n.default.createElement("div",{className:"info-tab__item"},n.default.createElement("div",{ref:this.settingsRefs[0],className:"info-tab__version-header"},(0,l.isBeta)()?e("betaMetamaskVersion"):e("metamaskVersion")),n.default.createElement("div",{className:"info-tab__version-number"},this.state.version)),n.default.createElement("div",{className:"info-tab__item"},n.default.createElement("div",{className:"info-tab__about"},e("builtAroundTheWorld")))),this.renderInfoLinks()),n.default.createElement("div",{className:"info-tab__logo-wrapper"},n.default.createElement("img",{src:"./images/logo/metamask-fox.svg",className:"info-tab__logo",alt:"MetaMask Logo"})))}}a.default=g,m(g,"contextTypes",{t:s.default.func,trackEvent:s.default.func})}}},{package:"$root$",file:"ui/pages/settings/info-tab/info-tab.component.js"}],[5856,{"../../../../components/component-library":4955,"../../../../components/ui/icon/search-icon":5241,"../../../../components/ui/text-field":5302,"../../../../contexts/i18n":5324,"@material-ui/core/InputAdornment":756,"fuse.js":3407,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=f;var n=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=p(t);if(a&&a.has(e))return a.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=s?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n.default=e,a&&a.set(e,n),n}(e("react")),s=d(e("prop-types")),r=d(e("fuse.js")),o=d(e("@material-ui/core/InputAdornment")),i=d(e("../../../../components/ui/text-field")),l=e("../../../../contexts/i18n"),c=d(e("../../../../components/ui/icon/search-icon")),u=e("../../../../components/component-library");function d(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(p=function(e){return e?a:t})(e)}function f({onSearch:e,error:t,networksList:a,searchQueryInput:s}){const d=(0,n.useContext)(l.I18nContext),[p,f]=(0,n.useState)("var(--color-icon-muted)"),m=Object.values(a),g=new r.default(m,{shouldSort:!0,threshold:.2,location:0,distance:100,maxPatternLength:32,minMatchCharLength:1,keys:["label","labelKey"]}),h=async t=>{f(""===t?"var(--color-icon-muted)":"var(--color-icon-alternative)");const a=g.search(t),n=t?[...a]:m;await e({searchQuery:t,results:n})};return n.default.createElement(i.default,{id:"search-networks","data-testid":"search-networks",placeholder:d("customContentSearch"),type:"text",value:s,onChange:e=>h(e.target.value),error:t,fullWidth:!0,autoFocus:!0,autoComplete:"off",classes:{inputRoot:"networks-tab__networks-list__custom-search-network"},startAdornment:n.default.createElement(o.default,{position:"start"},n.default.createElement(c.default,{color:p})),endAdornment:n.default.createElement(n.default.Fragment,null,s&&n.default.createElement(o.default,{className:"imageclosectn",position:"end",onClick:()=>h("")},n.default.createElement(u.Icon,{name:u.IconName.Close,className:"networks-tab__imageclose"})))})}f.propTypes={onSearch:s.default.func,error:s.default.string,networksList:s.default.array,searchQueryInput:s.default.string}}}},{package:"$root$",file:"ui/pages/settings/networks-tab/custom-content-search/custom-content-search.js"}],[5857,{"./custom-content-search":5856},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return s.default}});var n,s=(n=e("./custom-content-search"))&&n.__esModule?n:{default:n}}}},{package:"$root$",file:"ui/pages/settings/networks-tab/custom-content-search/index.js"}],[5858,{"./networks-tab":5870},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return s.default}});var n,s=(n=e("./networks-tab"))&&n.__esModule?n:{default:n}}}},{package:"$root$",file:"ui/pages/settings/networks-tab/index.js"}],[5859,{"./networks-form":5860},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return s.default}});var n,s=(n=e("./networks-form"))&&n.__esModule?n:{default:n}}}},{package:"$root$",file:"ui/pages/settings/networks-tab/networks-form/index.js"}],[5860,{"../../../../../app/scripts/lib/util":120,"../../../../../shared/constants/metametrics":4505,"../../../../../shared/constants/network":4507,"../../../../../shared/lib/fetch-with-cache":4525,"../../../../../shared/modules/conversion.utils":4537,"../../../../../shared/modules/network.utils":4548,"../../../../../shared/modules/rpc.utils":4551,"../../../../components/component-library":4955,"../../../../components/component-library/form-text-field/deprecated":4943,"../../../../components/ui/actionable-message":5191,"../../../../components/ui/button":5198,"../../../../components/ui/form-field":5226,"../../../../contexts/metametrics":5327,"../../../../helpers/constants/design-system":5355,"../../../../helpers/utils/i18n-helper":5386,"../../../../helpers/utils/network-helper":5390,"../../../../hooks/useI18nContext":5427,"../../../../hooks/usePrevious":5436,"../../../../selectors":5987,"../../../../store/actions":5998,classnames:3049,lodash:3836,loglevel:3842,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n=I(e("classnames")),s=e("lodash"),r=I(e("loglevel")),o=I(e("prop-types")),i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=O(t);if(a&&a.has(e))return a.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=s?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n.default=e,a&&a.set(e,n),n}(e("react")),l=e("react-redux"),c=e("../../../../../app/scripts/lib/util"),u=e("../../../../../shared/constants/metametrics"),d=e("../../../../../shared/constants/network"),p=I(e("../../../../../shared/lib/fetch-with-cache")),f=e("../../../../../shared/modules/conversion.utils"),m=e("../../../../../shared/modules/network.utils"),g=e("../../../../../shared/modules/rpc.utils"),h=I(e("../../../../components/ui/actionable-message")),_=I(e("../../../../components/ui/button")),E=I(e("../../../../components/ui/form-field")),y=e("../../../../contexts/metametrics"),b=e("../../../../helpers/utils/i18n-helper"),w=e("../../../../hooks/useI18nContext"),v=e("../../../../hooks/usePrevious"),k=e("../../../../selectors"),T=e("../../../../store/actions"),C=e("../../../../components/component-library"),x=e("../../../../components/component-library/form-text-field/deprecated"),S=e("../../../../helpers/constants/design-system"),N=e("../../../../helpers/utils/network-helper");function O(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(O=function(e){return e?a:t})(e)}function I(e){return e&&e.__esModule?e:{default:e}}const R=e=>e&&"string"==typeof e&&e.startsWith("0x")?parseInt(e,16).toString(10):e,M=({addNewNetwork:e,setActiveOnSubmit:t=!1,restrictHeight:a,isCurrentRpcTarget:o,networksToRender:O,selectedNetwork:I,cancelCallback:M,submitCallback:P})=>{var D,A,L,j,F,B;const U=(0,w.useI18nContext)(),W=(0,l.useDispatch)(),{label:q,labelKey:$,viewOnly:V,rpcPrefs:H}=I,K=q||$&&U((0,b.getNetworkLabelKey)($)),[Q,z]=(0,i.useState)(K||""),[G,Y]=(0,i.useState)((null==I?void 0:I.rpcUrl)||""),[Z,J]=(0,i.useState)((null==I?void 0:I.chainId)||""),[X,ee]=(0,i.useState)((null==I?void 0:I.ticker)||""),[te,ae]=(0,i.useState)([]),[ne,se]=(0,i.useState)((null==I?void 0:I.blockExplorerUrl)||""),[re,oe]=(0,i.useState)({}),[ie,le]=(0,i.useState)({}),[ce,ue]=(0,i.useState)(!1),de=d.FEATURED_RPCS.some((e=>Number(e.chainId)===Number(Z))),[pe,fe]=(0,i.useState)(Boolean(e)),[me,ge]=(0,i.useState)(I),he=(0,i.useContext)(y.MetaMetricsContext),_e=(0,l.useSelector)(k.useSafeChainsListValidationSelector),Ee=(0,i.useRef)([]);(0,i.useEffect)((()=>{_e&&async function(){try{const e=await(0,p.default)({url:"https://chainid.network/chains.json",functionName:"getSafeChainsList"});Object.values(d.BUILT_IN_NETWORKS).forEach((t=>{const a=e.findIndex((e=>e.chainId.toString()===R(t.chainId)));t.ticker&&-1!==a&&(e[a].nativeCurrency.symbol=t.ticker)})),Ee.current=[...e,{chainId:78,nativeCurrency:{symbol:d.CHAINLIST_CURRENCY_SYMBOLS_MAP_NETWORK_COLLISION.WETHIO}},{chainId:88888,nativeCurrency:{symbol:d.CHAINLIST_CURRENCY_SYMBOLS_MAP_NETWORK_COLLISION.CHZ}}]}catch(e){r.default.warn("Failed to fetch chainList from chainid.network",e)}}()}),[_e]);const ye=(0,i.useCallback)((()=>{z(K||""),Y(I.rpcUrl),J(R(I.chainId)),ee(null==I?void 0:I.ticker),se(null==I?void 0:I.blockExplorerUrl),oe({}),le({}),ae([]),ue(!1),fe(!1),ge(I)}),[I,K]),be=(0,i.useRef)(),we=(0,i.useRef)(),ve=(0,i.useRef)(),ke=(0,i.useRef)(),Te=(0,i.useRef)(),Ce=(0,i.useRef)();(0,i.useEffect)((()=>{if(!be.current&&e)z(""),Y(""),J(""),ee(""),se(""),oe({}),ue(!1);else{const e=we.current!==K,t=ke.current!==I.rpcUrl,a=ve.current!==I.chainId,n=Te.current!==I.ticker,r=Ce.current!==I.blockExplorerUrl;!(e||t||a||n||r)||pe&&(0,s.isEqual)(I,me)||ye(I)}be.current=e,we.current=K,ke.current=I.rpcUrl,ve.current=I.chainId,Te.current=I.ticker,Ce.current=I.blockExplorerUrl}),[I,K,e,me,ye,pe]),(0,i.useEffect)((()=>()=>{z(""),Y(""),J(""),ee(""),se(""),oe({}),W((0,T.setSelectedNetworkConfigurationId)(""))}),[z,Y,J,ee,se,oe,W]);const xe=(0,i.useCallback)((e=>{var t,a;const n=R(e);if(""===n.trim()||0===Ee.current.length)return void ae([]);const s=null===(t=Ee.current)||void 0===t?void 0:t.find((e=>e.chainId.toString()===n)),r=null===(a=Ee.current)||void 0===a?void 0:a.reduce(((e,t)=>{var a;t.chainId.toString()===n&&e.push(null===(a=t.nativeCurrency)||void 0===a?void 0:a.symbol);return e}),[]);s!==undefined?ae([...r]):ae([])}),[]),Se=(0,i.useCallback)((e=>(null==e?void 0:e.length)>0&&!(0,c.isWebUrl)(e)?(0,c.isWebUrl)(`https://${e}`)?{key:"urlErrorMsg",msg:U("urlErrorMsg")}:{key:"invalidBlockExplorerURL",msg:U("invalidBlockExplorerURL")}:null),[U]),Ne=(0,i.useCallback)((async(e="")=>{const t=e.trim();let a="",n="",s="",o="",i=10,l=t;if(!l.startsWith("0x"))try{l=`0x${(0,f.decimalToHex)(l)}`}catch(e){return{error:{key:"invalidHexNumber",msg:U("invalidHexNumber")}}}const[c]=O.filter((e=>e.chainId===l&&e.rpcUrl!==G));if(""===t)return null;let u,d;c?(s="chainIdExistsErrorMsg",o=U("chainIdExistsErrorMsg",[c.label??c.labelKey])):t.startsWith("0x")?(i=16,/^0x[0-9a-f]+$/iu.test(t)?(0,m.isPrefixedFormattedHexString)(t)||(n=U("invalidHexNumberLeadingZeros")):(a="invalidHexNumber",n=U("invalidHexNumber"))):/^[0-9]+$/u.test(t)?t.startsWith("0")?(a="invalidNumberLeadingZeros",n=U("invalidNumberLeadingZeros")):(0,m.isSafeChainId)(parseInt(t,i))||(a="invalidChainIdTooBig",n=U("invalidChainIdTooBig")):(a="invalidNumber",n=U("invalidNumber"));try{u=await(0,g.jsonRpcRequest)(G,"eth_chainId")}catch(e){r.default.warn("Failed to fetch the chainId from the endpoint.",e),d=e}if(G&&t)if(d||"string"!=typeof u)a="failedToFetchChainId",n=U("failedToFetchChainId");else if(l!==u){if(!t.startsWith("0x"))try{u=parseInt(u,16).toString(10)}catch(e){r.default.warn("Failed to convert endpoint chain ID to decimal",u)}a="endpointReturnedDifferentChainId",n=U("endpointReturnedDifferentChainId",[u.length<=12?u:`${u.slice(0,9)}...`])}return a?{error:{key:a,msg:n}}:s?{warning:{key:s,msg:o}}:(xe(t),null)}),[G,O,U]),Oe=(0,i.useCallback)((async(e,t)=>{let a,n;const s=R(e);if(!s||!t)return null;if(0===Ee.current.length)a="failedToFetchTickerSymbolData",n=U("failedToFetchTickerSymbolData");else{const e=(0,N.getMatchedChain)(s,Ee.current),r=(0,N.getMatchedSymbols)(s,Ee.current);e===undefined?(a="failedToFetchTickerSymbolData",n=U("failedToFetchTickerSymbolData")):r.some((e=>e.toLowerCase()===t.toLowerCase()))||(a="chainListReturnedDifferentTickerSymbol",n=U("chainListReturnedDifferentTickerSymbol"),ae([...r]))}return a?{key:a,msg:n}:null}),[U]),Ie=(0,i.useCallback)((e=>{const[{rpcUrl:t=null,label:a,labelKey:n}={}]=O.filter((t=>t.rpcUrl===e)),{rpcUrl:s}=I;return(null==e?void 0:e.length)>0&&!(0,c.isWebUrl)(e)?(0,c.isWebUrl)(`https://${e}`)?{key:"urlErrorMsg",msg:U("urlErrorMsg")}:{key:"invalidRPC",msg:U("invalidRPC")}:t&&t!==s?{key:"urlExistsErrorMsg",msg:U("urlExistsErrorMsg",[a??n])}:null}),[I,O,U]),Re=(0,v.usePrevious)(G),Me=(0,v.usePrevious)(Z),Pe=(0,v.usePrevious)(X),De=(0,v.usePrevious)(ne);(0,i.useEffect)((()=>{V||Re===G&&Me===Z&&Pe===X&&De===ne||async function(){const{error:e,warning:t}=await Ne(Z)||{},a=await Oe(Z,X),n=Se(ne),s=Ie(G);oe({...re,blockExplorerUrl:n,rpcUrl:s,chainId:e}),le({...ie,chainId:t,ticker:a})}()}),[re,ie,G,Z,X,ne,V,q,Re,Me,Pe,De,Se,Ne,Oe,Ie]);const Ae=!o&&!V&&!e,Le=(()=>{const e="string"==typeof I.chainId&&I.chainId.toLowerCase().startsWith("0x")&&Z===R(I.chainId);return G===I.rpcUrl&&e&&X===I.ticker&&Q===K&&ne===I.blockExplorerUrl})(),je=(null==I?void 0:I.rpcUrl)&&re.chainId&&de,Fe=Object.keys(re).some((e=>{const t=re[e];return("chainId"!==e||"chainIdExistsErrorMsg"!==(null==t?void 0:t.key))&&(null==t?void 0:t.key)&&(null==t?void 0:t.msg)}))||ce||Le||je||!G||!Z||!X;let Be=null!=G&&G.includes(`/v3/${d.infuraProjectId}`)?G.replace(`/v3/${d.infuraProjectId}`,""):G;var Ue;V&&(Be=null===(Ue=Be)||void 0===Ue?void 0:Ue.toLowerCase());return i.default.createElement("div",{className:(0,n.default)({"networks-tab__network-form":!e,"networks-tab__add-network-form":e,"networks-tab__restrict-height":a})},e?i.default.createElement(h.default,{type:"warning",message:U("onlyAddTrustedNetworks"),iconFillColor:"var(--color-warning-default)",useIcon:!0,withRightButton:!0,className:"networks-tab__add-network-form__alert"}):null,i.default.createElement("div",{className:(0,n.default)({"networks-tab__network-form-body":!e,"networks-tab__network-form-body__view-only":V,"networks-tab__add-network-form-body":e})},i.default.createElement(E.default,{autoFocus:!0,error:(null===(D=re.networkName)||void 0===D?void 0:D.msg)||"",onChange:e=>{fe(!0),z(e)},titleText:U("networkName"),value:Q,disabled:V,dataTestId:"network-form-network-name"}),i.default.createElement(E.default,{error:(null===(A=re.rpcUrl)||void 0===A?void 0:A.msg)||"",onChange:e=>{fe(!0),Y(e)},titleText:U("rpcUrl"),value:Be,disabled:V,dataTestId:"network-form-rpc-url"}),i.default.createElement(E.default,{warning:(null===(L=ie.chainId)||void 0===L?void 0:L.msg)||"",error:(null===(j=re.chainId)||void 0===j?void 0:j.msg)||"",onChange:e=>{fe(!0),J(e),xe(e)},titleText:U("chainId"),value:Z,disabled:V,tooltipText:V?null:U("networkSettingsChainIdDescription"),dataTestId:"network-form-chain-id"}),i.default.createElement(x.FormTextField,{"data-testid":"network-form-ticker",helpText:te&&!te.some((e=>e===X))?i.default.createElement(C.Text,{as:"span",variant:S.TextVariant.bodySm,color:S.TextColor.textDefault,"data-testid":"network-form-ticker-suggestion"},U("suggestedTokenSymbol"),te.map(((e,t)=>i.default.createElement(C.ButtonLink,{as:"button",variant:S.TextVariant.bodySm,color:S.TextColor.primaryDefault,onClick:()=>{ee(e)},paddingLeft:1,paddingRight:1,style:{verticalAlign:"baseline"},key:t},e)))):null,onChange:e=>{fe(!0),ee(e.target.value)},label:U("currencySymbol"),labelProps:{variant:S.TextVariant.bodySm,fontWeight:S.FontWeight.Bold,paddingBottom:1,paddingTop:1},inputProps:{paddingLeft:2,variant:S.TextVariant.bodySm,"data-testid":"network-form-ticker-input"},value:X,disabled:V}),null!==(F=ie.ticker)&&void 0!==F&&F.msg?i.default.createElement(C.HelpText,{severity:C.HelpTextSeverity.Warning,marginTop:1,"data-testid":"network-form-ticker-warning"},ie.ticker.msg):null,i.default.createElement(E.default,{error:(null===(B=re.blockExplorerUrl)||void 0===B?void 0:B.msg)||"",onChange:e=>{fe(!0),se(e)},titleText:U("blockExplorerUrl"),titleUnit:U("optionalWithParanthesis"),value:ne,disabled:V,autoFocus:"blockExplorerUrl"===window.location.hash.split("#")[2],dataTestId:"network-form-block-explorer-url"})),i.default.createElement("div",{className:(0,n.default)({"networks-tab__network-form-footer":!e,"networks-tab__add-network-form-footer":e})},!V&&i.default.createElement(i.default.Fragment,null,Ae&&i.default.createElement(_.default,{type:"danger",onClick:()=>{W((0,T.showModal)({name:"CONFIRM_DELETE_NETWORK",target:I.networkConfigurationId,onConfirm:()=>{ye(),W((0,T.setSelectedNetworkConfigurationId)(""))}}))}},U("delete")),i.default.createElement(_.default,{type:"secondary",onClick:()=>{e?(W((0,T.setSelectedNetworkConfigurationId)("")),null==M||M()):ye()},disabled:Le},U("cancel")),i.default.createElement(_.default,{type:"primary",disabled:Fe,onClick:async()=>{ue(!0);try{const a=(e=>{let t=e;return e.startsWith("0x")||(t=`0x${parseInt(e,10).toString(16)}`),t})(Z.trim().toLowerCase());let n;a===d.CHAIN_IDS.GOERLI?W((0,T.showDeprecatedNetworkModal)()):I.rpcUrl&&G!==I.rpcUrl?await W((0,T.editAndSetNetworkConfiguration)({rpcUrl:G,ticker:X,networkConfigurationId:I.networkConfigurationId,chainId:a,nickname:Q,rpcPrefs:{...H,blockExplorerUrl:ne||(null==H?void 0:H.blockExplorerUrl)}},{source:u.MetaMetricsNetworkEventSource.CustomNetworkForm})):(n=await W((0,T.upsertNetworkConfiguration)({rpcUrl:G,ticker:X,chainId:a,nickname:Q,rpcPrefs:{...H,blockExplorerUrl:ne||(null==H?void 0:H.blockExplorerUrl)}},{setActive:t,source:u.MetaMetricsNetworkEventSource.CustomNetworkForm})),he({event:u.MetaMetricsEventName.CustomNetworkAdded,category:u.MetaMetricsEventCategory.Network,properties:{block_explorer_url:ne,chain_id:a,network_name:Q,source_connection_method:u.MetaMetricsNetworkEventSource.CustomNetworkForm,token_symbol:X}})),e&&!t&&a!==d.CHAIN_IDS.GOERLI&&W((0,T.setNewNetworkAdded)({nickname:Q,networkConfigurationId:n})),null==P||P()}catch(e){throw ue(!1),e}}},U("save")))))};M.propTypes={addNewNetwork:o.default.bool,isCurrentRpcTarget:o.default.bool,networksToRender:o.default.array.isRequired,selectedNetwork:o.default.object,cancelCallback:o.default.func,submitCallback:o.default.func,restrictHeight:o.default.bool,setActiveOnSubmit:o.default.bool},M.defaultProps={selectedNetwork:{}};a.default=M}}},{package:"$root$",file:"ui/pages/settings/networks-tab/networks-form/networks-form.js"}],[5861,{"./networks-list-item":5862},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return s.default}});var n,s=(n=e("./networks-list-item"))&&n.__esModule?n:{default:n}}}},{package:"$root$",file:"ui/pages/settings/networks-tab/networks-list-item/index.js"}],[5862,{"../../../../../app/scripts/lib/util":120,"../../../../../shared/constants/app":4493,"../../../../../shared/constants/network":4507,"../../../../components/component-library":4955,"../../../../components/ui/identicon":5247,"../../../../components/ui/url-icon":5319,"../../../../ducks/metamask/metamask":5346,"../../../../helpers/constants/design-system":5355,"../../../../helpers/constants/routes":5361,"../../../../helpers/utils/i18n-helper":5386,"../../../../helpers/utils/settings-search":5395,"../../../../hooks/useI18nContext":5427,"../../../../store/actions":5998,classnames:3049,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=w(t);if(a&&a.has(e))return a.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=s?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n.default=e,a&&a.set(e,n),n}(e("react")),s=b(e("prop-types")),r=b(e("classnames")),o=e("react-redux"),i=e("../../../../hooks/useI18nContext"),l=e("../../../../../shared/constants/network"),c=e("../../../../helpers/constants/routes"),u=e("../../../../store/actions"),d=e("../../../../../app/scripts/lib/util"),p=e("../../../../../shared/constants/app"),f=e("../../../../ducks/metamask/metamask"),m=b(e("../../../../components/ui/identicon")),g=b(e("../../../../components/ui/url-icon")),h=e("../../../../helpers/utils/settings-search"),_=e("../../../../components/component-library"),E=e("../../../../helpers/constants/design-system"),y=e("../../../../helpers/utils/i18n-helper");function b(e){return e&&e.__esModule?e:{default:e}}function w(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(w=function(e){return e?a:t})(e)}const v=({network:e,networkIsSelected:t,selectedNetworkConfigurationId:a,setSearchQuery:s,setSearchedNetworks:b})=>{const w=(0,i.useI18nContext)(),v=(0,o.useDispatch)(),k=(0,d.getEnvironmentType)()===p.ENVIRONMENT_TYPE_FULLSCREEN,T=(0,o.useSelector)(f.getProviderConfig),{label:C,labelKey:x,networkConfigurationId:S,rpcUrl:N,providerType:O}=e,I=a&&a===S,R=N===T.rpcUrl,M=T.type!==l.NETWORK_TYPES.RPC&&O===T.type,P=I||!t&&(R||M),D=R||M,A=(0,n.useRef)();return(0,n.useEffect)((()=>{(0,h.handleSettingsRefs)(w,w("networks"),A)}),[A,w]),n.default.createElement("div",{ref:A,key:`settings-network-list-item:${S}`,className:"networks-tab__networks-list-item",onClick:()=>{s(""),b([]),v((0,u.setSelectedNetworkConfigurationId)(S)),k||global.platform.openExtensionInBrowser(c.NETWORKS_ROUTE)}},D?n.default.createElement(_.Icon,{name:_.IconName.Check,color:E.IconColor.successDefault}):n.default.createElement(_.Icon,{name:_.IconName.Check,color:E.IconColor.transparent}),e.chainId in l.CHAIN_ID_TO_NETWORK_IMAGE_URL_MAP?n.default.createElement(m.default,{className:"networks-tab__content__custom-image",diameter:24,image:l.CHAIN_ID_TO_NETWORK_IMAGE_URL_MAP[e.chainId],imageBorder:!0}):!e.isATestNetwork&&n.default.createElement(g.default,{className:"networks-tab__content__icon-with-fallback",fallbackClassName:"networks-tab__content__icon-with-fallback",name:C||(0,y.getNetworkLabelKey)(x)}),e.isATestNetwork&&![l.CHAIN_IDS.LINEA_GOERLI,l.CHAIN_IDS.LINEA_SEPOLIA].includes(e.chainId)&&n.default.createElement(g.default,{name:C||(0,y.getNetworkLabelKey)(x),fallbackClassName:(0,r.default)("networks-tab__content__icon-with-fallback",{[`networks-tab__content__icon-with-fallback--color-${x}`]:!0})}),n.default.createElement("div",{className:(0,r.default)("networks-tab__networks-list-name",{"networks-tab__networks-list-name--selected":P,"networks-tab__networks-list-name--disabled":O!==l.NETWORK_TYPES.RPC&&!P})},C||w((0,y.getNetworkLabelKey)(x)),O!==l.NETWORK_TYPES.RPC&&n.default.createElement(_.Icon,{name:_.IconName.Lock,color:E.IconColor.iconMuted,size:_.IconSize.Inherit,marginInlineStart:2})))};v.propTypes={network:s.default.object.isRequired,networkIsSelected:s.default.bool,selectedNetworkConfigurationId:s.default.string,setSearchQuery:s.default.func,setSearchedNetworks:s.default.func};a.default=v}}},{package:"$root$",file:"ui/pages/settings/networks-tab/networks-list-item/networks-list-item.js"}],[5863,{"./networks-list":5864},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return s.default}});var n,s=(n=e("./networks-list"))&&n.__esModule?n:{default:n}}}},{package:"$root$",file:"ui/pages/settings/networks-tab/networks-list/index.js"}],[5864,{"../../../../components/component-library":4955,"../../../../helpers/constants/design-system":5355,"../../../../hooks/useI18nContext":5427,"../custom-content-search":5857,"../networks-list-item":5861,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=p(t);if(a&&a.has(e))return a.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=s?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n.default=e,a&&a.set(e,n),n}(e("react")),s=d(e("prop-types")),r=d(e("classnames")),o=e("../../../../hooks/useI18nContext"),i=d(e("../custom-content-search")),l=e("../../../../helpers/constants/design-system"),c=d(e("../networks-list-item")),u=e("../../../../components/component-library");function d(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(p=function(e){return e?a:t})(e)}const f=({networkIsSelected:e,networksToRender:t,networkDefaultedToProvider:a,selectedNetworkConfigurationId:s})=>{const d=(0,o.useI18nContext)(),[p,f]=(0,n.useState)([]),[m,g]=(0,n.useState)(""),h=0===p.length&&""===m?t:p,_=h.filter((e=>!e.isATestNetwork)),E=h.filter((e=>e.isATestNetwork));return n.default.createElement("div",{className:(0,r.default)("networks-tab__networks-list",{"networks-tab__networks-list--selection":e&&!a})},n.default.createElement(i.default,{onSearch:({searchQuery:e="",results:t=[]})=>{f(t),g(e)},error:0===h.length?d("settingsSearchMatchingNotFound"):null,networksList:t,searchQueryInput:m}),_.map(((t,a)=>n.default.createElement(c.default,{key:`settings-network-list:${t.rpcUrl}`,network:t,networkIsSelected:e,selectedNetworkConfigurationId:s,setSearchQuery:g,setSearchedNetworks:f}))),""===m&&n.default.createElement(u.Text,{variant:l.TextVariant.bodySm,as:"h6",marginTop:4,color:l.Color.textAlternative,className:"networks-tab__networks-list__label"},d("testNetworks")),E.map(((t,a)=>n.default.createElement(c.default,{key:`settings-network-list:${t.rpcUrl}`,network:t,networkIsSelected:e,selectedNetworkConfigurationId:s,setSearchQuery:g,setSearchedNetworks:f}))))};f.propTypes={networkDefaultedToProvider:s.default.bool,networkIsSelected:s.default.bool,networksToRender:s.default.arrayOf(s.default.object).isRequired,selectedNetworkConfigurationId:s.default.string};a.default=f}}},{package:"$root$",file:"ui/pages/settings/networks-tab/networks-list/networks-list.js"}],[5865,{"./networks-tab-content":5866},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return s.default}});var n,s=(n=e("./networks-tab-content"))&&n.__esModule?n:{default:n}}}},{package:"$root$",file:"ui/pages/settings/networks-tab/networks-tab-content/index.js"}],[5866,{"../../../../ducks/metamask/metamask":5346,"../../../../helpers/constants/routes":5361,"../networks-form":5859,"../networks-list":5863,"prop-types":3997,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n=d(e("react")),s=d(e("prop-types")),r=e("react-redux"),o=e("react-router-dom"),i=d(e("../networks-form")),l=d(e("../networks-list")),c=e("../../../../ducks/metamask/metamask"),u=e("../../../../helpers/constants/routes");function d(e){return e&&e.__esModule?e:{default:e}}const p=({networkDefaultedToProvider:e,networkIsSelected:t,networksToRender:a,selectedNetwork:s,shouldRenderNetworkForm:d})=>{const p=(0,r.useSelector)(c.getProviderConfig),f=(0,o.useHistory)();return n.default.createElement(n.default.Fragment,null,n.default.createElement(l.default,{networkDefaultedToProvider:e,networkIsSelected:t,networksToRender:a,selectedNetworkConfigurationId:s.networkConfigurationId}),d?n.default.createElement(i.default,{isCurrentRpcTarget:p.rpcUrl===s.rpcUrl,networksToRender:a,selectedNetwork:s,submitCallback:()=>f.push(u.DEFAULT_ROUTE),cancelCallback:()=>f.push(u.NETWORKS_ROUTE)}):null)};p.propTypes={networkDefaultedToProvider:s.default.bool,networkIsSelected:s.default.bool,networksToRender:s.default.arrayOf(s.default.object).isRequired,selectedNetwork:s.default.object,shouldRenderNetworkForm:s.default.bool.isRequired};a.default=p}}},{package:"$root$",file:"ui/pages/settings/networks-tab/networks-tab-content/networks-tab-content.js"}],[5867,{"./networks-tab-subheader":5868},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return s.default}});var n,s=(n=e("./networks-tab-subheader"))&&n.__esModule?n:{default:n}}}},{package:"$root$",file:"ui/pages/settings/networks-tab/networks-tab-subheader/index.js"}],[5868,{"../../../../components/ui/button":5198,"../../../../helpers/constants/routes":5361,"../../../../hooks/useI18nContext":5427,"prop-types":3997,react:4243,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n=c(e("react")),s=c(e("prop-types")),r=e("react-router-dom"),o=e("../../../../hooks/useI18nContext"),i=e("../../../../helpers/constants/routes"),l=c(e("../../../../components/ui/button"));function c(e){return e&&e.__esModule?e:{default:e}}const u=({addNewNetwork:e})=>{const t=(0,o.useI18nContext)(),a=(0,r.useHistory)();return e?n.default.createElement("div",{className:"networks-tab__subheader"},n.default.createElement("span",{className:"networks-tab__sub-header-text"},t("networks")),n.default.createElement("span",{className:"networks-tab__sub-header-text"}," > "),n.default.createElement("div",{className:"networks-tab__sub-header-text"},t("addANetwork")),n.default.createElement("span",null," > "),n.default.createElement("div",{className:"networks-tab__subheader--break"},t("addANetworkManually"))):n.default.createElement("div",{className:"settings-page__sub-header"},n.default.createElement("span",{className:"settings-page__sub-header-text"},t("networks")),n.default.createElement("div",{className:"networks-tab__add-network-header-button-wrapper"},n.default.createElement(l.default,{type:"primary",onClick:e=>{e.preventDefault(),a.push(i.ADD_POPULAR_CUSTOM_NETWORK)}},t("addANetwork"))))};u.propTypes={addNewNetwork:s.default.bool.isRequired};a.default=u}}},{package:"$root$",file:"ui/pages/settings/networks-tab/networks-tab-subheader/networks-tab-subheader.js"}],[5869,{"../../../../shared/constants/network":4507},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.defaultNetworksData=void 0;var n=e("../../../../shared/constants/network");a.defaultNetworksData=[{labelKey:n.NETWORK_TYPES.MAINNET,iconColor:"#29B6AF",providerType:n.NETWORK_TYPES.MAINNET,rpcUrl:(0,n.getRpcUrl)({network:n.NETWORK_TYPES.MAINNET,excludeProjectId:!0}),chainId:n.CHAIN_IDS.MAINNET,ticker:n.CURRENCY_SYMBOLS.ETH,blockExplorerUrl:"https://etherscan.io"},{labelKey:n.NETWORK_TYPES.SEPOLIA,iconColor:"#CFB5F0",providerType:n.NETWORK_TYPES.SEPOLIA,rpcUrl:(0,n.getRpcUrl)({network:n.NETWORK_TYPES.SEPOLIA,excludeProjectId:!0}),chainId:n.CHAIN_IDS.SEPOLIA,ticker:n.TEST_NETWORK_TICKER_MAP[n.NETWORK_TYPES.SEPOLIA],blockExplorerUrl:"https://sepolia.etherscan.io"},{labelKey:n.NETWORK_TYPES.LINEA_GOERLI,iconColor:"#61dfff",providerType:n.NETWORK_TYPES.LINEA_GOERLI,rpcUrl:(0,n.getRpcUrl)({network:n.NETWORK_TYPES.LINEA_GOERLI,excludeProjectId:!0}),chainId:n.CHAIN_IDS.LINEA_GOERLI,ticker:n.TEST_NETWORK_TICKER_MAP[n.NETWORK_TYPES.LINEA_GOERLI],blockExplorerUrl:"https://goerli.lineascan.build"},{labelKey:n.NETWORK_TYPES.LINEA_SEPOLIA,iconColor:"#61dfff",providerType:n.NETWORK_TYPES.LINEA_SEPOLIA,rpcUrl:(0,n.getRpcUrl)({network:n.NETWORK_TYPES.LINEA_SEPOLIA,excludeProjectId:!0}),chainId:n.CHAIN_IDS.LINEA_SEPOLIA,ticker:n.TEST_NETWORK_TICKER_MAP[n.NETWORK_TYPES.LINEA_SEPOLIA],blockExplorerUrl:"https://sepolia.lineascan.build"},{labelKey:n.NETWORK_TYPES.LINEA_MAINNET,iconColor:"#121212",providerType:n.NETWORK_TYPES.LINEA_MAINNET,rpcUrl:(0,n.getRpcUrl)({network:n.NETWORK_TYPES.LINEA_MAINNET,excludeProjectId:!0}),chainId:n.CHAIN_IDS.LINEA_MAINNET,ticker:n.CURRENCY_SYMBOLS.ETH,blockExplorerUrl:"https://lineascan.build"}]}}},{package:"$root$",file:"ui/pages/settings/networks-tab/networks-tab.constants.js"}],[5870,{"../../../../app/scripts/lib/util":120,"../../../../shared/constants/app":4493,"../../../../shared/constants/network":4507,"../../../components/ui/button":5198,"../../../ducks/metamask/metamask":5346,"../../../helpers/constants/routes":5361,"../../../hooks/useI18nContext":5427,"../../../selectors":5987,"../../../store/actions":5998,"./networks-form":5859,"./networks-tab-content":5865,"./networks-tab-subheader":5867,"./networks-tab.constants":5869,classnames:3049,"prop-types":3997,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=v(t);if(a&&a.has(e))return a.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=s?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n.default=e,a&&a.set(e,n),n}(e("react")),s=w(e("prop-types")),r=w(e("classnames")),o=e("react-router-dom"),i=e("react-redux"),l=e("../../../hooks/useI18nContext"),c=e("../../../helpers/constants/routes"),u=e("../../../store/actions"),d=w(e("../../../components/ui/button")),p=e("../../../../app/scripts/lib/util"),f=e("../../../../shared/constants/app"),m=e("../../../selectors"),g=e("../../../ducks/metamask/metamask"),h=e("../../../../shared/constants/network"),_=e("./networks-tab.constants"),E=w(e("./networks-tab-content")),y=w(e("./networks-form")),b=w(e("./networks-tab-subheader"));function w(e){return e&&e.__esModule?e:{default:e}}function v(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(v=function(e){return e?a:t})(e)}const k=_.defaultNetworksData.map((e=>({...e,viewOnly:!0,isATestNetwork:h.TEST_CHAINS.includes(e.chainId)}))),T=({addNewNetwork:e})=>{const t=(0,l.useI18nContext)(),a=(0,i.useDispatch)(),{pathname:s}=(0,o.useLocation)(),_=(0,o.useHistory)(),w=(0,p.getEnvironmentType)()===f.ENVIRONMENT_TYPE_FULLSCREEN,v=w||Boolean(s.match(c.NETWORKS_FORM_ROUTE))||"blockExplorerUrl"===window.location.hash.split("#")[2],T=(0,i.useSelector)(m.getNetworkConfigurations),C=(0,i.useSelector)(g.getProviderConfig),x=(0,i.useSelector)(m.getNetworksTabSelectedNetworkConfigurationId),S=Object.entries(T).map((([e,t])=>{var a;return{label:t.nickname,iconColor:"var(--color-icon-alternative)",providerType:h.NETWORK_TYPES.RPC,rpcUrl:t.rpcUrl,chainId:t.chainId,ticker:t.ticker,blockExplorerUrl:(null===(a=t.rpcPrefs)||void 0===a?void 0:a.blockExplorerUrl)||"",isATestNetwork:h.TEST_CHAINS.includes(t.chainId),networkConfigurationId:e}})),N=[...k,...S];let O=N.find((e=>e.networkConfigurationId===x))||{};const I=Boolean(O.rpcUrl);let R=!1;return I||(O=N.find((e=>e.rpcUrl===C.rpcUrl||e.providerType!==h.NETWORK_TYPES.RPC&&e.providerType===C.type))||{},R=!0),(0,n.useEffect)((()=>()=>{a((0,u.setSelectedNetworkConfigurationId)(""))}),[a]),n.default.createElement("div",{className:"networks-tab__body"},w?n.default.createElement(b.default,{addNewNetwork:e}):null,n.default.createElement("div",{className:(0,r.default)("networks-tab__content",{"networks-tab__content--with-networks-list-popup-footer":!w&&!v})},e?n.default.createElement(y.default,{networksToRender:N,addNewNetwork:e,submitCallback:()=>_.push(c.DEFAULT_ROUTE),cancelCallback:()=>_.push(c.NETWORKS_ROUTE)}):n.default.createElement(n.default.Fragment,null,n.default.createElement(E.default,{networkDefaultedToProvider:R,networkIsSelected:I,networksToRender:N,providerUrl:C.rpcUrl,selectedNetwork:O,shouldRenderNetworkForm:v}),w||v?null:n.default.createElement("div",{className:"networks-tab__networks-list-popup-footer"},n.default.createElement(d.default,{type:"primary",onClick:()=>{w?_.push(c.ADD_POPULAR_CUSTOM_NETWORK):global.platform.openExtensionInBrowser(c.ADD_POPULAR_CUSTOM_NETWORK)}},t("addNetwork"))))))};T.propTypes={addNewNetwork:s.default.bool};a.default=T}}},{package:"$root$",file:"ui/pages/settings/networks-tab/networks-tab.js"}],[5871,{"./security-tab.container":5875},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return s.default}});var n,s=(n=e("./security-tab.container"))&&n.__esModule?n:{default:n}}}},{package:"$root$",file:"ui/pages/settings/security-tab/index.js"}],[5872,{"./profile-sync-toggle":5873},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return s.default}});var n,s=(n=e("./profile-sync-toggle"))&&n.__esModule?n:{default:n}}}},{package:"$root$",file:"ui/pages/settings/security-tab/profile-sync-toggle/index.ts"}],[5873,{"../../../../../shared/constants/metametrics":4505,"../../../../components/component-library":4955,"../../../../components/ui/icon/preloader/preloader-icon.component":5240,"../../../../components/ui/toggle-button":5306,"../../../../contexts/metametrics":5327,"../../../../helpers/constants/design-system":5355,"../../../../hooks/metamask-notifications/useProfileSyncing":5407,"../../../../hooks/useI18nContext":5427,"../../../../selectors":5987,"../../../../selectors/metamask-notifications/authentication":5988,"../../../../selectors/metamask-notifications/profile-syncing":5990,"../../../../store/actions":5998,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=E(t);if(a&&a.has(e))return a.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=s?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n.default=e,a&&a.set(e,n),n}(e("react")),s=e("react-redux"),r=e("../../../../hooks/useI18nContext"),o=e("../../../../contexts/metametrics"),i=e("../../../../hooks/metamask-notifications/useProfileSyncing"),l=e("../../../../selectors/metamask-notifications/profile-syncing"),c=e("../../../../selectors/metamask-notifications/authentication"),u=e("../../../../store/actions"),d=e("../../../../../shared/constants/metametrics"),p=e("../../../../components/component-library"),f=_(e("../../../../components/ui/toggle-button")),m=e("../../../../helpers/constants/design-system"),g=_(e("../../../../components/ui/icon/preloader/preloader-icon.component")),h=e("../../../../selectors");function _(e){return e&&e.__esModule?e:{default:e}}function E(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(E=function(e){return e?a:t})(e)}a.default=()=>{const e=(0,r.useI18nContext)(),t=(0,n.useContext)(o.MetaMetricsContext),a=(0,s.useDispatch)(),{enableProfileSyncing:_,error:E}=(0,i.useEnableProfileSyncing)(),{disableProfileSyncing:y,error:b}=(0,i.useDisableProfileSyncing)(),{isProfileSyncDisabled:w}=function(){const e=(0,s.useSelector)(h.getUseExternalServices),{setIsProfileSyncingEnabled:t}=(0,i.useSetIsProfileSyncingEnabled)();return(0,n.useEffect)((()=>{!1===e&&t(!1)}),[e,t]),{isProfileSyncDisabled:!e}}(),v=E||b,k=(0,s.useSelector)(l.selectIsProfileSyncingEnabled),T=(0,s.useSelector)(c.selectParticipateInMetaMetrics),C=(0,s.useSelector)(l.selectIsProfileSyncingUpdateLoading);return n.default.createElement(p.Box,null,n.default.createElement(p.Box,{className:"settings-page__content-row",display:m.Display.Flex,flexDirection:m.FlexDirection.Row,justifyContent:m.JustifyContent.spaceBetween,gap:4,"data-testid":"profileSyncToggle"},n.default.createElement("div",{className:"settings-page__content-item",id:"profileSyncLabel"},n.default.createElement("span",null,e("profileSync")),n.default.createElement("div",{className:"settings-page__content-description","data-testid":"profileSyncDescription"},e("profileSyncDescription",[n.default.createElement("a",{href:"https://support.metamask.io/privacy-and-security/profile-privacy",key:"link",target:"_blank",rel:"noopener noreferrer","data-testid":"privacyPolicyLink"},e("profileSyncPrivacyLink"))]))),C&&n.default.createElement(p.Box,{paddingLeft:5,paddingRight:5},n.default.createElement(g.default,{size:36})),!C&&n.default.createElement("div",{className:"settings-page__content-item-col"},n.default.createElement(f.default,{disabled:w,value:k,onToggle:async()=>{k?a((0,u.showModal)({name:"CONFIRM_TURN_OFF_PROFILE_SYNCING",turnOffProfileSyncing:()=>{y(),t({category:d.MetaMetricsEventCategory.Settings,event:d.MetaMetricsEventName.TurnOffProfileSyncing,properties:{participateInMetaMetrics:T}})}})):(await _(),t({category:d.MetaMetricsEventCategory.Settings,event:d.MetaMetricsEventName.TurnOnProfileSyncing,properties:{isProfileSyncingEnabled:k,participateInMetaMetrics:T}}))},offLabel:e("off"),onLabel:e("on"),dataTestId:"toggleButton"}))),v&&n.default.createElement(p.Box,{paddingBottom:4},n.default.createElement(p.Text,{as:"p",color:m.TextColor.errorDefault,variant:m.TextVariant.bodySm},e("notificationsSettingsBoxError"))))}}}},{package:"$root$",file:"ui/pages/settings/security-tab/profile-sync-toggle/profile-sync-toggle.tsx"}],[5874,{"../../../../app/scripts/lib/util":120,"../../../../shared/constants/app":4493,"../../../../shared/constants/metametrics":4505,"../../../../shared/constants/network":4507,"../../../../shared/lib/ui-utils":4532,"../../../components/app/incoming-trasaction-toggle/incoming-transaction-toggle":4648,"../../../components/app/srp-quiz-modal/SRPQuiz":4845,"../../../components/component-library":4955,"../../../components/ui/popover":5281,"../../../components/ui/text-field":5302,"../../../components/ui/toggle-button":5306,"../../../helpers/constants/design-system":5355,"../../../helpers/constants/routes":5361,"../../../helpers/utils/settings-search":5395,"./profile-sync-toggle":5872,lodash:3836,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n=e("lodash"),s=v(e("prop-types")),r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=w(t);if(a&&a.has(e))return a.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=s?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n.default=e,a&&a.set(e,n),n}(e("react")),o=e("../../../../app/scripts/lib/util"),i=e("../../../../shared/constants/app"),l=e("../../../../shared/constants/metametrics"),c=e("../../../../shared/constants/network"),u=e("../../../../shared/lib/ui-utils"),d=v(e("../../../components/app/srp-quiz-modal/SRPQuiz")),p=e("../../../components/component-library"),f=v(e("../../../components/ui/text-field")),m=v(e("../../../components/ui/toggle-button")),g=v(e("../../../components/ui/popover")),h=e("../../../helpers/constants/design-system"),_=e("../../../helpers/constants/routes"),E=e("../../../helpers/utils/settings-search"),y=v(e("../../../components/app/incoming-trasaction-toggle/incoming-transaction-toggle")),b=v(e("./profile-sync-toggle"));function w(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(w=function(e){return e?a:t})(e)}function v(e){return e&&e.__esModule?e:{default:e}}function k(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var a=e[Symbol.toPrimitive];if(a!==undefined){var n=a.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}class T extends r.PureComponent{constructor(...e){super(...e),k(this,"state",{ipfsGateway:this.props.ipfsGateway||c.IPFS_DEFAULT_GATEWAY_URL,ipfsGatewayError:"",srpQuizModalVisible:!1,showDataCollectionDisclaimer:!1,ipfsToggle:this.props.ipfsGateway.length>0}),k(this,"settingsRefCounter",0),k(this,"settingsRefs",Array((0,E.getNumberOfSettingRoutesInTab)(this.context.t,this.context.t("securityAndPrivacy"))).fill(undefined).map((()=>r.default.createRef()))),k(this,"hideSrpQuizModal",(()=>this.setState({srpQuizModalVisible:!1}))),k(this,"renderDataCollectionWarning",(()=>{const{t:e}=this.context;return r.default.createElement(g.default,{wrapTitle:!0,centerTitle:!0,onClose:()=>this.setState({showDataCollectionDisclaimer:!1}),title:r.default.createElement(p.Icon,{size:p.IconSize.Xl,name:p.IconName.Danger,color:h.IconColor.warningDefault}),footer:r.default.createElement(p.Button,{width:h.BlockSize.Full,type:"primary",onClick:()=>this.setState({showDataCollectionDisclaimer:!1})},e("dataCollectionWarningPopoverButton"))},r.default.createElement(p.Box,{display:h.Display.Flex,flexDirection:h.FlexDirection.Column,gap:2,margin:4},r.default.createElement(p.Text,null,e("dataCollectionWarningPopoverDescription"))))}))}componentDidUpdate(e){const{t:t}=this.context;(0,E.handleSettingsRefs)(t,t("securityAndPrivacy"),this.settingsRefs),!0===e.dataCollectionForMarketing&&!0===this.props.participateInMetaMetrics&&!1===this.props.dataCollectionForMarketing&&this.setState({showDataCollectionDisclaimer:!0})}componentDidMount(){const{t:e}=this.context;(0,E.handleSettingsRefs)(e,e("securityAndPrivacy"),this.settingsRefs)}toggleSetting(e,t,a,n){this.context.trackEvent({category:l.MetaMetricsEventCategory.Settings,event:t,properties:{action:a,legacy_event:!0}}),n(!e)}renderSeedWords(){const{t:e}=this.context;return r.default.createElement(r.default.Fragment,null,r.default.createElement("div",{ref:this.settingsRefs[0],className:"settings-page__security-tab-sub-header"},e("secretRecoveryPhrase")),r.default.createElement("div",{className:"settings-page__content-padded"},r.default.createElement(p.Button,{"data-testid":"reveal-seed-words",type:"danger",size:p.BUTTON_SIZES.LG,onClick:e=>{e.preventDefault(),this.context.trackEvent({category:l.MetaMetricsEventCategory.Settings,event:l.MetaMetricsEventName.KeyExportSelected,properties:{key_type:l.MetaMetricsEventKeyType.Srp,location:"Settings"}}),this.context.trackEvent({category:l.MetaMetricsEventCategory.Settings,event:l.MetaMetricsEventName.SrpRevealClicked,properties:{key_type:l.MetaMetricsEventKeyType.Srp,location:"Settings"}}),this.setState({srpQuizModalVisible:!0})}},e("revealSeedWords")),this.state.srpQuizModalVisible&&r.default.createElement(d.default,{isOpen:this.state.srpQuizModalVisible,onClose:this.hideSrpQuizModal})))}renderSecurityAlertsToggle(){const{t:e}=this.context,{securityAlertsEnabled:t}=this.props;return r.default.createElement(r.default.Fragment,null,r.default.createElement("div",{ref:this.settingsRefs[15]},r.default.createElement("span",{className:"settings-page__security-tab-sub-header"},e("securityAlerts"))),r.default.createElement("div",{className:"settings-page__content-padded"},r.default.createElement(p.Box,{ref:this.settingsRefs[2],className:"settings-page__content-row",display:h.Display.Flex,flexDirection:h.FlexDirection.Row,justifyContent:h.JustifyContent.spaceBetween,gap:4},r.default.createElement("div",{className:"settings-page__content-item"},r.default.createElement("div",{className:"settings-page__content-description"},e("securityAlertsDescription",[r.default.createElement("a",{key:"learn_more_link",href:u.SECURITY_ALERTS_LEARN_MORE_LINK,rel:"noreferrer",target:"_blank"},e("learnMoreUpperCase"))]))),r.default.createElement("div",{className:"settings-page__content-item-col","data-testid":"securityAlert"},r.default.createElement(m.default,{value:t,onToggle:this.toggleSecurityAlert.bind(this),offLabel:e("off"),onLabel:e("on")})))))}renderIncomingTransactionsOptIn(){const{incomingTransactionsPreferences:e,allNetworks:t,setIncomingTransactionsPreferences:a}=this.props;return r.default.createElement(y.default,{wrapperRef:this.settingsRefs[1],allNetworks:t,setIncomingTransactionsPreferences:a,incomingTransactionsPreferences:e})}renderPhishingDetectionToggle(){const{t:e}=this.context,{usePhishDetect:t,setUsePhishDetect:a}=this.props;return r.default.createElement(p.Box,{ref:this.settingsRefs[2],className:"settings-page__content-row",display:h.Display.Flex,flexDirection:h.FlexDirection.Row,justifyContent:h.JustifyContent.spaceBetween,gap:4},r.default.createElement("div",{className:"settings-page__content-item"},r.default.createElement("span",null,e("usePhishingDetection")),r.default.createElement("div",{className:"settings-page__content-description"},e("usePhishingDetectionDescription"))),r.default.createElement("div",{className:"settings-page__content-item-col","data-testid":"usePhishingDetection"},r.default.createElement(m.default,{value:t,onToggle:e=>a(!e),offLabel:e("off"),onLabel:e("on")})))}renderUse4ByteResolutionToggle(){const{t:e}=this.context,{use4ByteResolution:t,setUse4ByteResolution:a}=this.props;return r.default.createElement(p.Box,{ref:this.settingsRefs[3],className:"settings-page__content-row",display:h.Display.Flex,flexDirection:h.FlexDirection.Row,justifyContent:h.JustifyContent.spaceBetween,gap:4},r.default.createElement("div",{className:"settings-page__content-item"},r.default.createElement("span",null,e("use4ByteResolution")),r.default.createElement("div",{className:"settings-page__content-description"},e("use4ByteResolutionDescription"))),r.default.createElement("div",{className:"settings-page__content-item-col","data-testid":"4byte-resolution-container"},r.default.createElement(m.default,{value:t,onToggle:e=>a(!e),offLabel:e("off"),onLabel:e("on")})))}renderMetaMetricsOptIn(){const{t:e}=this.context,{participateInMetaMetrics:t,setParticipateInMetaMetrics:a,dataCollectionForMarketing:n,setDataCollectionForMarketing:s}=this.props;return r.default.createElement(p.Box,{ref:this.settingsRefs[4],className:"settings-page__content-row",display:h.Display.Flex,flexDirection:h.FlexDirection.Row,justifyContent:h.JustifyContent.spaceBetween,gap:4},r.default.createElement("div",{className:"settings-page__content-item"},r.default.createElement("span",null,e("participateInMetaMetrics")),r.default.createElement("div",{className:"settings-page__content-description"},r.default.createElement("span",null,e("participateInMetaMetricsDescription")))),r.default.createElement("div",{className:"settings-page__content-item-col","data-testid":"participateInMetaMetrics"},r.default.createElement(m.default,{value:t,onToggle:e=>{const t=!e;a(t),t&&this.context.trackEvent({category:l.MetaMetricsEventCategory.Settings,event:l.MetaMetricsEventName.AnalyticsPreferenceSelected,properties:{is_metrics_opted_in:!1,has_marketing_consent:!1,location:"Settings"}}),n&&s(!1)},offLabel:e("off"),onLabel:e("on")})))}renderDataCollectionForMarketing(){const{t:e}=this.context,{dataCollectionForMarketing:t,participateInMetaMetrics:a,setDataCollectionForMarketing:n,setParticipateInMetaMetrics:s}=this.props;return r.default.createElement(p.Box,{ref:this.settingsRefs[4],className:"settings-page__content-row",display:h.Display.Flex,flexDirection:h.FlexDirection.Row,justifyContent:h.JustifyContent.spaceBetween,gap:4},r.default.createElement("div",{className:"settings-page__content-item"},r.default.createElement("span",null,e("dataCollectionForMarketing")),r.default.createElement("div",{className:"settings-page__content-description"},r.default.createElement("span",null,e("dataCollectionForMarketingDescription")))),r.default.createElement("div",{className:"settings-page__content-item-col","data-testid":"dataCollectionForMarketing"},r.default.createElement(m.default,{value:t,onToggle:e=>{n(!e),a?this.context.trackEvent({category:l.MetaMetricsEventCategory.Settings,event:l.MetaMetricsEventName.AnalyticsPreferenceSelected,properties:{is_metrics_opted_in:!0,has_marketing_consent:!1,location:"Settings"}}):s(!0)},offLabel:e("off"),onLabel:e("on")})))}renderChooseYourNetworkButton(){const{t:e}=this.context;return r.default.createElement(p.Box,{className:"settings-page__content-row","data-testid":"advanced-setting-choose-your-network",display:h.Display.Flex,flexDirection:h.FlexDirection.Column,gap:4},r.default.createElement("div",{className:"settings-page__content-item"},r.default.createElement("span",null,e("chooseYourNetwork")),r.default.createElement("div",{className:"settings-page__content-description"},e("chooseYourNetworkDescription",[r.default.createElement("a",{href:u.CONSENSYS_PRIVACY_LINK,target:"_blank",rel:"noopener noreferrer",key:"cyn-consensys-privacy-link"},e("privacyMsg"))]))),r.default.createElement("div",{className:"settings-page__content-item-col"},r.default.createElement(p.Button,{type:"secondary",className:"settings-page__button",onClick:()=>{(0,o.getEnvironmentType)()===i.ENVIRONMENT_TYPE_POPUP?global.platform.openExtensionInBrowser(_.ADD_POPULAR_CUSTOM_NETWORK):this.props.history.push(_.ADD_POPULAR_CUSTOM_NETWORK)}},e("addCustomNetwork"))))}renderSafeChainsListValidationToggle(){const{t:e}=this.context,{useSafeChainsListValidation:t,setUseSafeChainsListValidation:a}=this.props,n=e("useSafeChainsListValidationWebsite");return r.default.createElement(p.Box,{ref:this.settingsRefs[13],className:"settings-page__content-row","data-testid":"setting-safe-chains-validation",display:h.Display.Flex,flexDirection:h.FlexDirection.Column,gap:4},r.default.createElement(p.Box,{className:"settings-page__content-row",gap:4,display:h.Display.Flex,flexDirection:h.FlexDirection.Row,justifyContent:h.JustifyContent.spaceBetween},r.default.createElement("div",{className:"settings-page__content-item"},r.default.createElement("span",null,e("useSafeChainsListValidation")),r.default.createElement("div",{className:"settings-page__content-description"},e("useSafeChainsListValidationDescription",[r.default.createElement("b",{key:"safechain-list-validation-website"},n)]))),r.default.createElement("div",{className:"settings-page__content-item-col","data-testid":"useSafeChainsListValidation"},r.default.createElement(m.default,{value:t,onToggle:e=>a(!e),offLabel:e("off"),onLabel:e("on")}))))}renderIpfsGatewayControl(){const{t:e}=this.context;let t="";const a=a=>{if(a.length>0)try{const n=(0,o.addUrlProtocolPrefix)(a);n||(t=e("invalidIpfsGateway"));const s=new URL(n);"gateway.ipfs.io"===s.host&&(t=e("forbiddenIpfsGateway")),0===t.length&&this.props.setIpfsGateway(s.host)}catch(a){t=e("invalidIpfsGateway")}else t=e("invalidIpfsGateway");this.setState({ipfsGateway:a,ipfsGatewayError:t})};return r.default.createElement(p.Box,{ref:this.settingsRefs[6],className:"settings-page__content-row","data-testid":"setting-ipfs-gateway",display:h.Display.Flex,flexDirection:h.FlexDirection.Column,gap:4},r.default.createElement(p.Box,{className:"settings-page__content-row",gap:4,display:h.Display.Flex,flexDirection:h.FlexDirection.Row,justifyContent:h.JustifyContent.spaceBetween},r.default.createElement("div",{className:"settings-page__content-item"},r.default.createElement("span",null,e("ipfsGateway")),r.default.createElement("div",{className:"settings-page__content-description"},e("ipfsGatewayDescription"))),r.default.createElement("div",{className:"settings-page__content-item-col","data-testid":"ipfsToggle"},r.default.createElement(m.default,{value:this.state.ipfsToggle,onToggle:e=>{e?(this.props.setIsIpfsGatewayEnabled(!1),this.props.setIpfsGateway("")):(this.props.setIsIpfsGatewayEnabled(!0),a(this.state.ipfsGateway)),this.setState({ipfsToggle:!e})},offLabel:e("off"),onLabel:e("on")}))),this.state.ipfsToggle&&r.default.createElement("div",{className:"settings-page__content-item"},r.default.createElement("span",null,e("addIPFSGateway")),r.default.createElement("div",{className:"settings-page__content-item-col"},r.default.createElement(f.default,{type:"text",value:this.state.ipfsGateway,onChange:e=>a(e.target.value),error:this.state.ipfsGatewayError,fullWidth:!0,margin:"dense"}))),r.default.createElement(p.Box,{className:"settings-page__content-row",display:h.Display.Flex,flexDirection:h.FlexDirection.Row,justifyContent:h.JustifyContent.spaceBetween,gap:4,ref:this.settingsRefs[10],marginTop:3,id:"ens-domains"},r.default.createElement("div",null,e("ensDomainsSettingTitle"),r.default.createElement("div",{className:"settings-page__content-description"},r.default.createElement(p.Text,{color:h.TextColor.inherit,variant:h.TextVariant.inherit},e("ensDomainsSettingDescriptionIntroduction")),r.default.createElement(p.Box,{as:"ul",marginTop:4,marginBottom:4,paddingInlineStart:4,style:{listStyleType:"circle"}},r.default.createElement(p.Text,{as:"li",color:h.TextColor.inherit,variant:h.TextVariant.inherit},e("ensDomainsSettingDescriptionPart1")),r.default.createElement(p.Text,{as:"li",color:h.TextColor.inherit,variant:h.TextVariant.inherit},e("ensDomainsSettingDescriptionPart2"))),r.default.createElement(p.Text,{color:h.TextColor.inherit,variant:h.TextVariant.inherit},e("ensDomainsSettingDescriptionOutroduction")))),r.default.createElement("div",{className:"settings-page__content-item-col","data-testid":"ipfs-gateway-resolution-container"},r.default.createElement(m.default,{value:this.props.useAddressBarEnsResolution,onToggle:e=>this.props.setUseAddressBarEnsResolution(!e),offLabel:e("off"),onLabel:e("on")}))))}renderAutoDetectTokensToggle(){const{t:e}=this.context,{useTokenDetection:t,setUseTokenDetection:a}=this.props;return r.default.createElement(p.Box,{ref:this.settingsRefs[7],className:"settings-page__content-row","data-testid":"advanced-setting-gas-fee-estimation",display:h.Display.Flex,flexDirection:h.FlexDirection.Row,justifyContent:h.JustifyContent.spaceBetween,gap:4,id:"advanced-settings-autodetect-tokens"},r.default.createElement("div",{className:"settings-page__content-item"},r.default.createElement("span",null,e("autoDetectTokens")),r.default.createElement("div",{className:"settings-page__content-description"},e("autoDetectTokensDescription",[r.default.createElement("a",{href:u.AUTO_DETECT_TOKEN_LEARN_MORE_LINK,target:"_blank",rel:"noopener noreferrer",key:"cyn-consensys-privacy-link"},(0,n.startCase)(e("learnMore")))]))),r.default.createElement("div",{className:"settings-page__content-item-col","data-testid":"autoDetectTokens"},r.default.createElement(m.default,{value:t,onToggle:e=>{this.toggleSetting(e,l.MetaMetricsEventName.KeyAutoDetectTokens,l.MetaMetricsEventName.KeyAutoDetectTokens,a)},offLabel:e("off"),onLabel:e("on")})))}renderBatchAccountBalanceRequestsToggle(){const{t:e}=this.context,{useMultiAccountBalanceChecker:t,setUseMultiAccountBalanceChecker:a}=this.props;return r.default.createElement(p.Box,{ref:this.settingsRefs[8],className:"settings-page__content-row",display:h.Display.Flex,flexDirection:h.FlexDirection.Row,justifyContent:h.JustifyContent.spaceBetween,gap:4},r.default.createElement("div",{className:"settings-page__content-item"},r.default.createElement("span",null,e("useMultiAccountBalanceChecker")),r.default.createElement("div",{className:"settings-page__content-description"},e("useMultiAccountBalanceCheckerSettingDescription"))),r.default.createElement("div",{className:"settings-page__content-item-col","data-testid":"useMultiAccountBalanceChecker"},r.default.createElement(m.default,{value:t,onToggle:e=>{this.toggleSetting(e,l.MetaMetricsEventName.KeyBatchAccountBalanceRequests,l.MetaMetricsEventName.KeyBatchAccountBalanceRequests,a)},offLabel:e("off"),onLabel:e("on")})))}renderCurrencyRateCheckToggle(){const{t:e}=this.context,{useCurrencyRateCheck:t,setUseCurrencyRateCheck:a}=this.props;return r.default.createElement(p.Box,{ref:this.settingsRefs[9],className:"settings-page__content-row",display:h.Display.Flex,flexDirection:h.FlexDirection.Row,justifyContent:h.JustifyContent.spaceBetween,gap:4},r.default.createElement("div",{className:"settings-page__content-item"},r.default.createElement("span",null,e("currencyRateCheckToggle")),r.default.createElement("div",{className:"settings-page__content-description"},e("currencyRateCheckToggleDescription",[r.default.createElement("a",{key:"coingecko_link",href:u.COINGECKO_LINK,rel:"noreferrer",target:"_blank"},e("coingecko")),r.default.createElement("a",{key:"cryptocompare_link",href:u.CRYPTOCOMPARE_LINK,rel:"noreferrer",target:"_blank"},e("cryptoCompare")),r.default.createElement("a",{key:"privacy_policy_link",href:u.PRIVACY_POLICY_LINK,rel:"noreferrer",target:"_blank"},e("privacyMsg"))]))),r.default.createElement("div",{className:"settings-page__content-item-col","data-testid":"currencyRateCheckToggle"},r.default.createElement(m.default,{value:t,onToggle:e=>a(!e),offLabel:e("off"),onLabel:e("on")})))}renderDisplayNftMediaToggle(){const{t:e}=this.context,{openSeaEnabled:t,setOpenSeaEnabled:a,useNftDetection:n,setUseNftDetection:s}=this.props;return r.default.createElement(p.Box,{ref:this.settingsRefs[11],className:"settings-page__content-row",display:h.Display.Flex,flexDirection:h.FlexDirection.Row,justifyContent:h.JustifyContent.spaceBetween,gap:4,id:"display-nft-media"},r.default.createElement("div",{className:"settings-page__content-item"},r.default.createElement("span",null,e("displayNftMedia")),r.default.createElement("div",{className:"settings-page__content-description"},e("displayNftMediaDescription"))),r.default.createElement("div",{className:"settings-page__content-item-col","data-testid":"displayNftMedia"},r.default.createElement(m.default,{value:t,onToggle:e=>{this.context.trackEvent({category:l.MetaMetricsEventCategory.Settings,event:"Enabled/Disable OpenSea",properties:{action:"Enabled/Disable OpenSea",legacy_event:!0}}),e&&n&&s(!1),a(!e)},offLabel:e("off"),onLabel:e("on")})))}renderNftDetectionToggle(){const{t:e}=this.context,{openSeaEnabled:t,setOpenSeaEnabled:a,useNftDetection:n,setUseNftDetection:s}=this.props;return r.default.createElement(p.Box,{ref:this.settingsRefs[12],className:"settings-page__content-row",display:h.Display.Flex,flexDirection:h.FlexDirection.Row,justifyContent:h.JustifyContent.spaceBetween,gap:4},r.default.createElement("div",{className:"settings-page__content-item"},r.default.createElement("span",null,e("useNftDetection")),r.default.createElement("div",{className:"settings-page__content-description"},e("useNftDetectionDescriptionText"))),r.default.createElement("div",{className:"settings-page__content-item-col","data-testid":"useNftDetection"},r.default.createElement(m.default,{value:n,onToggle:e=>{this.context.trackEvent({category:l.MetaMetricsEventCategory.Settings,event:"NFT Detected",properties:{action:"NFT Detected",legacy_event:!0}}),e||t||a(!e),s(!e)},offLabel:e("off"),onLabel:e("on")})))}renderExternalNameSourcesToggle(){const{t:e}=this.context,{useExternalNameSources:t,setUseExternalNameSources:a}=this.props;return r.default.createElement(p.Box,{ref:this.settingsRefs[14],className:"settings-page__content-row",display:h.Display.Flex,flexDirection:h.FlexDirection.Row,justifyContent:h.JustifyContent.spaceBetween,gap:4},r.default.createElement("div",{className:"settings-page__content-item"},r.default.createElement("span",null,e("externalNameSourcesSetting")),r.default.createElement("div",{className:"settings-page__content-description"},e("externalNameSourcesSettingDescription"))),r.default.createElement("div",{className:"settings-page__content-item-col","data-testid":"useExternalNameSources"},r.default.createElement(m.default,{value:t,onToggle:e=>a(!e),offLabel:e("off"),onLabel:e("on")})))}renderSimulationsToggle(){const{t:e}=this.context,{useTransactionSimulations:t,setUseTransactionSimulations:a}=this.props;return r.default.createElement(p.Box,{ref:this.settingsRefs[18],className:"settings-page__content-row",display:h.Display.Flex,flexDirection:h.FlexDirection.Row,justifyContent:h.JustifyContent.spaceBetween,gap:4},r.default.createElement("div",{className:"settings-page__content-item"},r.default.createElement("span",null,e("simulationsSettingSubHeader")),r.default.createElement("div",{className:"settings-page__content-description"},e("simulationsSettingDescription",[r.default.createElement("a",{key:"learn_more_link",href:u.TRANSACTION_SIMULATIONS_LEARN_MORE_LINK,rel:"noreferrer",target:"_blank"},e("learnMoreUpperCase"))]))),r.default.createElement("div",{className:"settings-page__content-item-col","data-testid":"useTransactionSimulations"},r.default.createElement(m.default,{value:t,onToggle:e=>a(!e),offLabel:e("off"),onLabel:e("on")})))}toggleSecurityAlert(e){const t=!e,{setSecurityAlertsEnabled:a}=this.props;this.context.trackEvent({category:l.MetaMetricsEventCategory.Settings,event:l.MetaMetricsEventName.SettingsUpdated,properties:{blockaid_alerts_enabled:t}}),a(t)}renderUseExternalServices(){const{t:e}=this.context,{useExternalServices:t,toggleExternalServices:a,setBasicFunctionalityModalOpen:n}=this.props;return r.default.createElement(p.Box,{ref:this.settingsRefs[3],className:"settings-page__content-row",display:h.Display.Flex,flexDirection:h.FlexDirection.Row,justifyContent:h.JustifyContent.spaceBetween,gap:4,"data-testid":"advanced-setting-show-testnet-conversion"},r.default.createElement("div",{className:"settings-page__content-item"},r.default.createElement("span",null,e("basicConfigurationLabel")),r.default.createElement("div",{className:"settings-page__content-description"},e("basicConfigurationDescription",[r.default.createElement("a",{href:"https://consensys.io/privacy-policy",key:"link",target:"_blank",rel:"noreferrer noopener"},e("privacyMsg"))]))),r.default.createElement("div",{className:"settings-page__content-item-col"},r.default.createElement(m.default,{value:t,onToggle:()=>{t?n():a(!0)},offLabel:e("off"),onLabel:e("on")})))}render(){const{warning:e,petnamesEnabled:t}=this.props,{showDataCollectionDisclaimer:a}=this.state;return r.default.createElement("div",{className:"settings-page__body"},this.renderUseExternalServices(),a?this.renderDataCollectionWarning():null,e&&r.default.createElement("div",{className:"settings-tab__error"},e),r.default.createElement("span",{className:"settings-page__security-tab-sub-header__bold"},this.context.t("security")),this.renderSeedWords(),this.renderSecurityAlertsToggle(),r.default.createElement("span",{className:"settings-page__security-tab-sub-header__bold"},this.context.t("privacy")),r.default.createElement("div",{className:"settings-page__content-padded"},r.default.createElement(b.default,null)),r.default.createElement("div",null,r.default.createElement("span",{className:"settings-page__security-tab-sub-header"},this.context.t("alerts"))),r.default.createElement("div",{className:"settings-page__content-padded"},this.renderPhishingDetectionToggle()),r.default.createElement("div",null,r.default.createElement("span",{className:"settings-page__security-tab-sub-header"},this.context.t("smartContracts"))),r.default.createElement("div",{className:"settings-page__content-padded"},this.renderUse4ByteResolutionToggle()),r.default.createElement("span",{className:"settings-page__security-tab-sub-header"},this.context.t("transactions")),r.default.createElement("div",{className:"settings-page__content-padded"},this.renderCurrencyRateCheckToggle(),this.renderIncomingTransactionsOptIn(),this.renderSimulationsToggle()),r.default.createElement("span",{className:"settings-page__security-tab-sub-header",ref:this.settingsRefs[5]},this.context.t("networkProvider")),r.default.createElement("div",{className:"settings-page__content-padded"},this.renderChooseYourNetworkButton(),this.renderSafeChainsListValidationToggle(),this.renderIpfsGatewayControl()),r.default.createElement("span",{className:"settings-page__security-tab-sub-header"},this.context.t("tokenAutoDetection")),r.default.createElement("div",{className:"settings-page__content-padded"},this.renderAutoDetectTokensToggle(),this.renderBatchAccountBalanceRequestsToggle(),this.renderDisplayNftMediaToggle(),this.renderNftDetectionToggle()),t&&r.default.createElement(r.default.Fragment,null,r.default.createElement("span",{className:"settings-page__security-tab-sub-header"},this.context.t("settingsSubHeadingSignaturesAndTransactions")),r.default.createElement("div",{className:"settings-page__content-padded"},this.renderExternalNameSourcesToggle())),r.default.createElement("span",{className:"settings-page__security-tab-sub-header"},this.context.t("metrics")),r.default.createElement("div",{className:"settings-page__content-padded"},this.renderMetaMetricsOptIn(),this.renderDataCollectionForMarketing()))}}a.default=T,k(T,"contextTypes",{t:s.default.func,trackEvent:s.default.func}),k(T,"propTypes",{warning:s.default.string,history:s.default.object,openSeaEnabled:s.default.bool,setOpenSeaEnabled:s.default.func,useNftDetection:s.default.bool,setUseNftDetection:s.default.func,dataCollectionForMarketing:s.default.bool,setDataCollectionForMarketing:s.default.func.isRequired,participateInMetaMetrics:s.default.bool.isRequired,setParticipateInMetaMetrics:s.default.func.isRequired,incomingTransactionsPreferences:s.default.object.isRequired,allNetworks:s.default.array.isRequired,setIncomingTransactionsPreferences:s.default.func.isRequired,setUsePhishDetect:s.default.func.isRequired,usePhishDetect:s.default.bool.isRequired,setUse4ByteResolution:s.default.func.isRequired,use4ByteResolution:s.default.bool.isRequired,useTokenDetection:s.default.bool.isRequired,setUseTokenDetection:s.default.func.isRequired,setIpfsGateway:s.default.func.isRequired,setIsIpfsGatewayEnabled:s.default.func.isRequired,ipfsGateway:s.default.string.isRequired,useMultiAccountBalanceChecker:s.default.bool.isRequired,setUseMultiAccountBalanceChecker:s.default.func.isRequired,useSafeChainsListValidation:s.default.bool.isRequired,setUseSafeChainsListValidation:s.default.func.isRequired,useCurrencyRateCheck:s.default.bool.isRequired,setUseCurrencyRateCheck:s.default.func.isRequired,useAddressBarEnsResolution:s.default.bool.isRequired,setUseAddressBarEnsResolution:s.default.func.isRequired,useExternalNameSources:s.default.bool.isRequired,setUseExternalNameSources:s.default.func.isRequired,setBasicFunctionalityModalOpen:s.default.func.isRequired,setUseTransactionSimulations:s.default.func.isRequired,useTransactionSimulations:s.default.bool.isRequired,petnamesEnabled:s.default.bool.isRequired,securityAlertsEnabled:s.default.bool,useExternalServices:s.default.bool,toggleExternalServices:s.default.func.isRequired,setSecurityAlertsEnabled:s.default.func})}}},{package:"$root$",file:"ui/pages/settings/security-tab/security-tab.component.js"}],[5875,{"../../../ducks/app/app":5336,"../../../selectors":5987,"../../../store/actions":5998,"./security-tab.component":5874,"react-redux":4199,"react-router-dom":4228,redux:4261},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n,s=e("react-redux"),r=e("react-router-dom"),o=e("redux"),i=e("../../../store/actions"),l=e("../../../selectors"),c=e("../../../ducks/app/app"),u=(n=e("./security-tab.component"))&&n.__esModule?n:{default:n};a.default=(0,o.compose)(r.withRouter,(0,s.connect)((e=>{const{appState:{warning:t},metamask:a}=e,n=(0,l.getPetnamesEnabled)(e),{incomingTransactionsPreferences:s,participateInMetaMetrics:r,dataCollectionForMarketing:o,usePhishDetect:i,useTokenDetection:c,ipfsGateway:u,useMultiAccountBalanceChecker:d,useSafeChainsListValidation:p,useCurrencyRateCheck:f,useAddressBarEnsResolution:m,openSeaEnabled:g,useNftDetection:h,use4ByteResolution:_,useExternalServices:E,useExternalNameSources:y}=a;return{warning:t,incomingTransactionsPreferences:s,allNetworks:(0,l.getAllNetworks)(e),participateInMetaMetrics:r,dataCollectionForMarketing:o,usePhishDetect:i,useTokenDetection:c,ipfsGateway:u,useMultiAccountBalanceChecker:d,useSafeChainsListValidation:p,useCurrencyRateCheck:f,useAddressBarEnsResolution:m,openSeaEnabled:g,useNftDetection:h,use4ByteResolution:_,useExternalNameSources:y,useExternalServices:E,petnamesEnabled:n,securityAlertsEnabled:(0,l.getIsSecurityAlertsEnabled)(e),useTransactionSimulations:a.useTransactionSimulations}}),(e=>({setIncomingTransactionsPreferences:(t,a)=>e((0,i.setIncomingTransactionsPreferences)(t,a)),setParticipateInMetaMetrics:t=>e((0,i.setParticipateInMetaMetrics)(t)),setDataCollectionForMarketing:t=>e((0,i.setDataCollectionForMarketing)(t)),setUsePhishDetect:t=>e((0,i.setUsePhishDetect)(t)),setUseCurrencyRateCheck:t=>e((0,i.setUseCurrencyRateCheck)(t)),setUseTokenDetection:t=>e((0,i.setUseTokenDetection)(t)),setIpfsGateway:t=>e((0,i.setIpfsGateway)(t)),setIsIpfsGatewayEnabled:t=>e((0,i.setIsIpfsGatewayEnabled)(t)),setUseMultiAccountBalanceChecker:t=>e((0,i.setUseMultiAccountBalanceChecker)(t)),setUseAddressBarEnsResolution:t=>e((0,i.setUseAddressBarEnsResolution)(t)),setUseSafeChainsListValidation:t=>e((0,i.setUseSafeChainsListValidation)(t)),setBasicFunctionalityModalOpen:()=>e((0,c.openBasicFunctionalityModal)()),setOpenSeaEnabled:t=>e((0,i.setOpenSeaEnabled)(t)),setUseNftDetection:t=>e((0,i.setUseNftDetection)(t)),setUse4ByteResolution:t=>e((0,i.setUse4ByteResolution)(t)),setUseExternalNameSources:t=>e((0,i.setUseExternalNameSources)(t)),toggleExternalServices:t=>e((0,i.toggleExternalServices)(t)),setUseTransactionSimulations:t=>e((0,i.setUseTransactionSimulations)(t)),setSecurityAlertsEnabled:e=>(0,i.setSecurityAlertsEnabled)(e)}))))(u.default)}}},{package:"$root$",file:"ui/pages/settings/security-tab/security-tab.container.js"}],[5876,{"./settings-search-list":5877},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n,s=(n=e("./settings-search-list"))&&n.__esModule?n:{default:n};a.default=s.default}}},{package:"$root$",file:"ui/pages/settings/settings-search-list/index.js"}],[5877,{"../../../components/component-library":4955,"../../../contexts/i18n":5324,"../../../helpers/constants/design-system":5355,"../../../helpers/utils/settings-search":5395,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=p;var n=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=d(t);if(a&&a.has(e))return a.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=s?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n.default=e,a&&a.set(e,n),n}(e("react")),s=u(e("prop-types")),r=u(e("classnames")),o=e("../../../helpers/utils/settings-search"),i=e("../../../contexts/i18n"),l=e("../../../components/component-library"),c=e("../../../helpers/constants/design-system");function u(e){return e&&e.__esModule?e:{default:e}}function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(d=function(e){return e?a:t})(e)}function p({results:e,onClickSetting:t}){const a=(0,n.useContext)(i.I18nContext);return(0,n.useEffect)(o.highlightSearchedText,[e]),n.default.createElement("div",{className:"settings-page__header__search__list"},e.slice(0,5).map((e=>{const{icon:s,iconName:o,tabMessage:i,sectionMessage:u,route:d}=e;return Boolean(s||i||u)&&n.default.createElement("div",{key:`settings_${d}`},n.default.createElement("div",{className:"settings-page__header__search__list__item",onClick:()=>t(e)},o?n.default.createElement(l.Icon,{name:o}):n.default.createElement("i",{className:(0,r.default)("settings-page__header__search__list__item__icon",s)}),n.default.createElement("span",{id:`menu-tab_${d}`,className:(0,r.default)("settings-page__header__search__list__item__tab",{"settings-page__header__search__list__item__tab-multiple-lines":i(a)===a("securityAndPrivacy")})},i(a)),n.default.createElement(l.Icon,{name:l.IconName.ArrowRight,size:c.Size.SM,className:"settings-page__header__search__list__item__caret"}),n.default.createElement("span",{id:`menu-section_${d}`,className:(0,r.default)("settings-page__header__search__list__item__section",{"settings-page__header__search__list__item__section-multiple-lines":i(a)===a("securityAndPrivacy")||i(a)===a("alerts")})},u(a))))})),0===e.length&&n.default.createElement("div",{className:"settings-page__header__search__list__item",style:{cursor:"auto",display:"flex"}},n.default.createElement("span",{className:"settings-page__header__search__list__item__no-matching"},a("settingsSearchMatchingNotFound"))),n.default.createElement("div",{className:"settings-page__header__search__list__item",style:{cursor:"auto",display:"flex"}},n.default.createElement("span",{className:"settings-page__header__search__list__item__request"},a("missingSetting")),n.default.createElement("a",{href:"https://community.metamask.io/c/feature-requests-ideas/13",target:"_blank",rel:"noopener noreferrer",key:"need-help-link",className:"settings-page__header__search__list__item__link"},a("missingSettingRequest"))))}p.propTypes={results:s.default.array,onClickSetting:s.default.func}}}},{package:"$root$",file:"ui/pages/settings/settings-search-list/settings-search-list.js"}],[5878,{"./settings-search":5879},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n,s=(n=e("./settings-search"))&&n.__esModule?n:{default:n};a.default=s.default}}},{package:"$root$",file:"ui/pages/settings/settings-search/index.js"}],[5879,{"../../../../shared/modules/string-utils":4558,"../../../components/component-library":4955,"../../../components/ui/icon/search-icon":5241,"../../../components/ui/text-field":5302,"../../../contexts/i18n":5324,"../../../helpers/constants/design-system":5355,"@material-ui/core/InputAdornment":756,"fuse.js":3407,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=g;var n=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=m(t);if(a&&a.has(e))return a.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=s?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n.default=e,a&&a.set(e,n),n}(e("react")),s=f(e("prop-types")),r=f(e("fuse.js")),o=f(e("@material-ui/core/InputAdornment")),i=f(e("../../../components/ui/text-field")),l=e("../../../contexts/i18n"),c=f(e("../../../components/ui/icon/search-icon")),u=e("../../../../shared/modules/string-utils"),d=e("../../../components/component-library"),p=e("../../../helpers/constants/design-system");function f(e){return e&&e.__esModule?e:{default:e}}function m(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(m=function(e){return e?a:t})(e)}function g({onSearch:e,error:t,settingsRoutesList:a}){const s=(0,n.useContext)(l.I18nContext),[f,m]=(0,n.useState)(""),[g,h]=(0,n.useState)("var(--color-icon-muted)"),_=Object.values(a),E=new r.default(_,{shouldSort:!0,threshold:.3,location:0,distance:100,maxPatternLength:32,minMatchCharLength:1,keys:["tabMessage","sectionMessage","descriptionMessage"],getFn:(e,t)=>e[t](s)}),y=t=>{const a=t.trimStart();m(a),h(""===a?"var(--color-icon-muted)":"var(--color-icon-default)");const n=E.search(a),s=[..._.filter((e=>e.tabMessage&&a&&(0,u.isEqualCaseInsensitive)(e.tab,a))),...n];e({searchQuery:a,results:s})};return n.default.createElement(i.default,{id:"search-settings",placeholder:s("search"),type:"text",value:f,onChange:e=>y(e.target.value),error:t,fullWidth:!0,autoFocus:!0,autoComplete:"off",startAdornment:n.default.createElement(o.default,{position:"start",style:{marginRight:"12px"}},n.default.createElement(c.default,{color:g})),endAdornment:n.default.createElement(n.default.Fragment,null,f&&n.default.createElement(o.default,{className:"imageclosectn",position:"end",onClick:()=>y(""),style:{cursor:"pointer"}},n.default.createElement(d.Icon,{name:d.IconName.Close,color:p.IconColor.iconDefault})))})}g.propTypes={onSearch:s.default.func,error:s.default.string,settingsRoutesList:s.default.array}}}},{package:"$root$",file:"ui/pages/settings/settings-search/settings-search.js"}],[5880,{"./settings-tab.container":5882},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return s.default}});var n,s=(n=e("./settings-tab.container"))&&n.__esModule?n:{default:n}}}},{package:"$root$",file:"ui/pages/settings/settings-tab/index.js"}],[5881,{"../../../../app/_locales/index.json":3,"../../../../shared/constants/metametrics":4505,"../../../../shared/constants/preferences":4512,"../../../components/component-library":4955,"../../../components/ui/dropdown":5218,"../../../components/ui/identicon/blockieIdenticon":5244,"../../../components/ui/jazzicon":5251,"../../../components/ui/toggle-button":5306,"../../../helpers/constants/available-conversions.json":5352,"../../../helpers/constants/design-system":5355,"../../../helpers/utils/settings-search":5395,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=E(t);if(a&&a.has(e))return a.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=s?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n.default=e,a&&a.set(e,n),n}(e("react")),s=_(e("prop-types")),r=_(e("classnames")),o=_(e("../../../helpers/constants/available-conversions.json")),i=e("../../../helpers/constants/design-system"),l=_(e("../../../components/ui/dropdown")),c=_(e("../../../components/ui/toggle-button")),u=_(e("../../../../app/_locales/index.json")),d=_(e("../../../components/ui/jazzicon")),p=_(e("../../../components/ui/identicon/blockieIdenticon")),f=e("../../../../shared/constants/metametrics"),m=e("../../../helpers/utils/settings-search"),g=e("../../../../shared/constants/preferences"),h=e("../../../components/component-library");function _(e){return e&&e.__esModule?e:{default:e}}function E(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(E=function(e){return e?a:t})(e)}function y(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var a=e[Symbol.toPrimitive];if(a!==undefined){var n=a.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}const b=o.default.sort(((e,t)=>e.name.toLocaleLowerCase().localeCompare(t.name.toLocaleLowerCase()))).map((({code:e,name:t})=>({name:`${e.toUpperCase()} - ${t}`,value:e}))),w=u.default.map((e=>({name:`${e.name}`,value:e.code})));class v extends n.PureComponent{constructor(...e){super(...e),y(this,"settingsRefs",Array((0,m.getNumberOfSettingRoutesInTab)(this.context.t,this.context.t("general"))).fill(undefined).map((()=>n.default.createRef())))}componentDidUpdate(){const{t:e}=this.context;(0,m.handleSettingsRefs)(e,e("general"),this.settingsRefs)}componentDidMount(){const{t:e}=this.context;(0,m.handleSettingsRefs)(e,e("general"),this.settingsRefs)}renderCurrentConversion(){const{t:e}=this.context,{currentCurrency:t,setCurrentCurrency:a,lastFetchedConversionDate:s}=this.props;return n.default.createElement(h.Box,{ref:this.settingsRefs[0],className:"settings-page__content-row",display:i.Display.Flex,flexDirection:i.FlexDirection.Column},n.default.createElement("div",{className:"settings-page__content-item"},n.default.createElement("span",null,e("currencyConversion")),n.default.createElement("span",{className:"settings-page__content-description"},s?e("updatedWithDate",[new Date(1e3*s).toString()]):e("noConversionDateAvailable"))),n.default.createElement("div",{className:"settings-page__content-item"},n.default.createElement("div",{className:"settings-page__content-item-col"},n.default.createElement(l.default,{"data-testid":"currency-select",id:"select-currency",options:b,selectedOption:t,onChange:e=>a(e)}))))}renderCurrentLocale(){const{t:e}=this.context,{updateCurrentLocale:t,currentLocale:a}=this.props,s=u.default.find((e=>e.code===a)),r=s?s.name:"";return n.default.createElement(h.Box,{ref:this.settingsRefs[2],className:"settings-page__content-row",display:i.Display.Flex,flexDirection:i.FlexDirection.Column},n.default.createElement("div",{className:"settings-page__content-item"},n.default.createElement("span",{className:"settings-page__content-label"},e("currentLanguage")),n.default.createElement("span",{className:"settings-page__content-description"},r)),n.default.createElement("div",{className:"settings-page__content-item"},n.default.createElement("div",{className:"settings-page__content-item-col"},n.default.createElement(l.default,{"data-testid":"locale-select",id:"select-locale",options:w,selectedOption:a,onChange:async e=>t(e)}))))}renderHideZeroBalanceTokensOptIn(){const{t:e}=this.context,{hideZeroBalanceTokens:t,setHideZeroBalanceTokens:a}=this.props;return n.default.createElement(h.Box,{ref:this.settingsRefs[5],className:"settings-page__content-row",display:i.Display.Flex,flexDirection:i.FlexDirection.Row,justifyContent:i.JustifyContent.spaceBetween,alignItems:i.AlignItems.center,id:"toggle-zero-balance"},n.default.createElement("div",{className:"settings-page__content-item"},n.default.createElement("span",null,e("hideZeroBalanceTokens"))),n.default.createElement("div",{className:"settings-page__content-item-col"},n.default.createElement(c.default,{value:t,onToggle:e=>a(!e),offLabel:e("off"),onLabel:e("on")})))}renderBlockieOptIn(){const{t:e}=this.context,{useBlockie:t,setUseBlockie:a,selectedAddress:s,tokenList:o}=this.props;return n.default.createElement(h.Box,{ref:this.settingsRefs[4],className:"settings-page__content-row",display:i.Display.Flex,flexDirection:i.FlexDirection.Column,id:"blockie-optin"},n.default.createElement("div",{className:"settings-page__content-item"},n.default.createElement(h.Text,{variant:i.TextVariant.bodyMd,as:"h5",color:i.TextColor.textDefault},e("accountIdenticon")),n.default.createElement("span",{className:"settings-page__content-item__description"},e("jazzAndBlockies")),n.default.createElement("div",{className:"settings-page__content-item__identicon"},n.default.createElement("button",{"data-testid":"jazz_icon",onClick:()=>a(!1),className:"settings-page__content-item__identicon__item"},n.default.createElement("div",{className:(0,r.default)("settings-page__content-item__identicon__item__icon",{"settings-page__content-item__identicon__item__icon--active":!t})},n.default.createElement(d.default,{id:"jazzicon",address:s,diameter:32,tokenList:o,style:{display:"block",borderRadius:"16px",width:"32px",height:"32px"}})),n.default.createElement(h.Text,{color:i.TextColor.textDefault,variant:i.TextVariant.bodySm,as:"h6",marginTop:0,marginRight:12,marginBottom:0,marginLeft:3},e("jazzicons"))),n.default.createElement("button",{"data-testid":"blockie_icon",onClick:()=>a(!0),className:"settings-page__content-item__identicon__item"},n.default.createElement("div",{className:(0,r.default)("settings-page__content-item__identicon__item__icon",{"settings-page__content-item__identicon__item__icon--active":t})},n.default.createElement(p.default,{id:"blockies",address:s,diameter:32,borderRadius:"50%"})),n.default.createElement(h.Text,{color:i.TextColor.textDefault,variant:i.TextVariant.bodySm,as:"h6",marginTop:3,marginRight:0,marginBottom:3,marginLeft:3},e("blockies"))))))}renderUsePrimaryCurrencyOptions(){const{t:e}=this.context,t=e=>{this.context.trackEvent({category:f.MetaMetricsEventCategory.Settings,event:f.MetaMetricsEventName.UseNativeCurrencyAsPrimaryCurrency,properties:{use_native_currency_as_primary_currency:e}})},{nativeCurrency:a,setUseNativeCurrencyAsPrimaryCurrencyPreference:s,useNativeCurrencyAsPrimaryCurrency:r}=this.props;return n.default.createElement(h.Box,{ref:this.settingsRefs[1],className:"settings-page__content-row",display:i.Display.Flex,flexDirection:i.FlexDirection.Column},n.default.createElement("div",{className:"settings-page__content-item"},n.default.createElement("span",null,e("primaryCurrencySetting")),n.default.createElement("div",{className:"settings-page__content-description"},e("primaryCurrencySettingDescription"))),n.default.createElement("div",{className:"settings-page__content-item"},n.default.createElement("div",{className:"settings-page__content-item-col"},n.default.createElement("div",{className:"settings-tab__radio-buttons"},n.default.createElement("div",{className:"settings-tab__radio-button"},n.default.createElement("input",{type:"radio","data-testid":"toggle-native-currency",id:"native-primary-currency",onChange:()=>{s(!0),t(!0)},checked:Boolean(r)}),n.default.createElement("label",{htmlFor:"native-primary-currency",className:"settings-tab__radio-label"},a)),n.default.createElement("div",{className:"settings-tab__radio-button"},n.default.createElement("input",{type:"radio","data-testid":"toggle-fiat-currency",id:"fiat-primary-currency",onChange:()=>{s(!1),t(!1)},checked:!r}),n.default.createElement("label",{htmlFor:"fiat-primary-currency",className:"settings-tab__radio-label"},e("fiat")))))))}renderTheme(){const{t:e}=this.context,{theme:t,setTheme:a}=this.props,s=[{name:e("lightTheme"),value:g.ThemeType.light},{name:e("darkTheme"),value:g.ThemeType.dark},{name:e("osTheme"),value:g.ThemeType.os}];return n.default.createElement(h.Box,{ref:this.settingsRefs[3],className:"settings-page__content-row",display:i.Display.Flex,flexDirection:i.FlexDirection.Column},n.default.createElement("div",{className:"settings-page__content-item"},n.default.createElement("span",null,this.context.t("theme")),n.default.createElement("div",{className:"settings-page__content-description"},this.context.t("themeDescription"))),n.default.createElement("div",{className:"settings-page__content-item"},n.default.createElement("div",{className:"settings-page__content-item-col"},n.default.createElement(l.default,{id:"select-theme",options:s,selectedOption:t,onChange:e=>{this.context.trackEvent({category:f.MetaMetricsEventCategory.Settings,event:"Theme Changed",properties:{theme_selected:e}}),a(e)}}))))}render(){const{warning:e}=this.props;return n.default.createElement("div",{className:"settings-page__body"},e?n.default.createElement("div",{className:"settings-tab__error"},e):null,this.renderCurrentConversion(),this.renderUsePrimaryCurrencyOptions(),this.renderCurrentLocale(),this.renderTheme(),this.renderBlockieOptIn(),this.renderHideZeroBalanceTokensOptIn())}}a.default=v,y(v,"contextTypes",{t:s.default.func,metricsEvent:s.default.func,trackEvent:s.default.func}),y(v,"propTypes",{setUseBlockie:s.default.func,setCurrentCurrency:s.default.func,warning:s.default.string,updateCurrentLocale:s.default.func,currentLocale:s.default.string,useBlockie:s.default.bool,currentCurrency:s.default.string,nativeCurrency:s.default.string,useNativeCurrencyAsPrimaryCurrency:s.default.bool,setUseNativeCurrencyAsPrimaryCurrencyPreference:s.default.func,hideZeroBalanceTokens:s.default.bool,setHideZeroBalanceTokens:s.default.func,lastFetchedConversionDate:s.default.number,selectedAddress:s.default.string,tokenList:s.default.object,theme:s.default.string,setTheme:s.default.func})}}},{package:"$root$",file:"ui/pages/settings/settings-tab/settings-tab.component.js"}],[5882,{"../../../selectors":5987,"../../../store/actions":5998,"./settings-tab.component":5881,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n,s=e("react-redux"),r=e("../../../store/actions"),o=e("../../../selectors"),i=(n=e("./settings-tab.component"))&&n.__esModule?n:{default:n};a.default=(0,s.connect)(((e,t)=>{const{appState:{warning:a},metamask:n}=e,{currentCurrency:s,providerConfig:{ticker:r},useBlockie:i,currentLocale:l}=n,{address:c}=(0,o.getSelectedInternalAccount)(e),{useNativeCurrencyAsPrimaryCurrency:u,hideZeroBalanceTokens:d}=(0,o.getPreferences)(e),{lastFetchedConversionDate:p}=t;return{warning:a,currentLocale:l,currentCurrency:s,nativeCurrency:r,useBlockie:i,useNativeCurrencyAsPrimaryCurrency:u,hideZeroBalanceTokens:d,lastFetchedConversionDate:p,selectedAddress:c,tokenList:(0,o.getTokenList)(e),theme:(0,o.getTheme)(e)}}),(e=>({setCurrentCurrency:t=>e((0,r.setCurrentCurrency)(t)),setUseBlockie:t=>e((0,r.setUseBlockie)(t)),updateCurrentLocale:t=>e((0,r.updateCurrentLocale)(t)),setUseNativeCurrencyAsPrimaryCurrencyPreference:t=>e((0,r.setUseNativeCurrencyAsPrimaryCurrencyPreference)(t)),setParticipateInMetaMetrics:t=>e((0,r.setParticipateInMetaMetrics)(t)),setHideZeroBalanceTokens:t=>e((0,r.setHideZeroBalanceTokens)(t)),setTheme:t=>e((0,r.setTheme)(t))})))(i.default)}}},{package:"$root$",file:"ui/pages/settings/settings-tab/settings-tab.container.js"}],[5883,{"../../../app/scripts/lib/util":120,"../../../shared/constants/app":4493,"../../components/app/add-network/add-network":4566,"../../components/app/tab-bar":4849,"../../components/component-library":4955,"../../components/ui/metafox-logo":5268,"../../helpers/constants/design-system":5355,"../../helpers/constants/routes":5361,"../../helpers/utils/settings-search":5395,"./advanced-tab":5832,"./alerts-tab":5834,"./contact-list-tab":5843,"./developer-options-tab":5849,"./experimental-tab":5852,"./info-tab":5854,"./networks-tab":5858,"./security-tab":5871,"./settings-search":5878,"./settings-search-list":5876,"./settings-tab":5880,classnames:3049,"prop-types":3997,react:4243,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=S(t);if(a&&a.has(e))return a.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=s?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n.default=e,a&&a.set(e,n),n}(e("react")),s=x(e("prop-types")),r=e("react-router-dom"),o=x(e("classnames")),i=x(e("../../components/app/tab-bar")),l=e("../../helpers/constants/routes"),c=e("../../helpers/utils/settings-search"),u=x(e("../../components/app/add-network/add-network")),d=e("../../components/component-library"),p=e("../../helpers/constants/design-system"),f=x(e("../../components/ui/metafox-logo")),m=e("../../../app/scripts/lib/util"),g=e("../../../shared/constants/app"),h=x(e("./settings-tab")),_=x(e("./alerts-tab")),E=x(e("./networks-tab")),y=x(e("./advanced-tab")),b=x(e("./info-tab")),w=x(e("./security-tab")),v=x(e("./contact-list-tab")),k=(x(e("./developer-options-tab")),x(e("./experimental-tab"))),T=x(e("./settings-search")),C=x(e("./settings-search-list"));function x(e){return e&&e.__esModule?e:{default:e}}function S(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(S=function(e){return e?a:t})(e)}function N(){return N=Object.assign?Object.assign.bind():function(e){for(var t=1;te.push(l.DEFAULT_ROUTE),display:[p.Display.Flex,p.Display.None]}):n.default.createElement(d.ButtonIcon,{ariaLabel:_("back"),iconName:d.IconName.ArrowLeft,className:"settings-page__header__title-container__back-button",color:p.Color.iconDefault,onClick:()=>e.push(t),display:[p.Display.Flex,p.Display.None],size:d.ButtonIconSize.Sm})),this.renderTitle(),n.default.createElement(d.Box,{className:"settings-page__header__title-container__search",display:[p.Display.Block]},n.default.createElement(T.default,{onSearch:({searchQuery:e="",results:t=[]})=>{this.setState({isSearchList:""!==e,searchResults:t,searchText:e})},settingsRoutesList:(0,c.getSettingsRoutes)()}),u&&h.length>=3&&n.default.createElement(C.default,{results:i,onClickSetting:e=>this.handleClickSetting(e)})),n.default.createElement(d.ButtonIcon,{className:"settings-page__header__title-container__close-button",iconName:d.IconName.Close,ariaLabel:_("close"),onClick:()=>{r?e.push(l.NETWORKS_ROUTE):e.push(s)},size:d.ButtonIconSize.Sm,marginLeft:"auto"}))),n.default.createElement("div",{className:"settings-page__content"},n.default.createElement("div",{className:"settings-page__content__tabs"},this.renderTabs()),n.default.createElement("div",{className:"settings-page__content__modules"},this.renderSubHeader(),this.renderContent())))}renderTitle(){const{t:e}=this.context,{isPopup:t,pathnameI18nKey:a,addressName:s}=this.props;let r;return r=e(t&&s?"details":a&&t?a:"settings"),n.default.createElement("div",{className:"settings-page__header__title-container__title"},n.default.createElement(d.Text,{variant:p.TextVariant.headingMd},r))}renderSubHeader(){const{t:e}=this.context,{currentPath:t,isPopup:a,isAddressEntryPage:s,pathnameI18nKey:r,addressName:i,initialBreadCrumbRoute:c,breadCrumbTextKey:u,history:f,initialBreadCrumbKey:m}=this.props;let g;return g=e(a&&s?"settings":s?"contacts":m||(r||"general")),!t.startsWith(l.NETWORKS_ROUTE)&&n.default.createElement(d.Box,{className:"settings-page__subheader",padding:4,paddingLeft:6,paddingRight:6,display:p.Display.Flex,flexDirection:p.FlexDirection.Row,alignItems:p.AlignItems.center},n.default.createElement(d.Text,{className:(0,o.default)({"settings-page__subheader--link":c}),variant:p.TextVariant.headingSm,onClick:()=>c&&f.push(c)},g),u&&n.default.createElement("div",{className:"settings-page__subheader--break"},n.default.createElement("span",null," > "),e(u)),s&&n.default.createElement("div",{className:"settings-page__subheader--break"},n.default.createElement("span",null," > "),i))}renderTabs(){const{history:e,currentPath:t}=this.props,{t:a}=this.context,s=[{content:a("general"),icon:n.default.createElement(d.Icon,{name:d.IconName.Setting}),key:l.GENERAL_ROUTE},{content:a("advanced"),icon:n.default.createElement("i",{className:"fas fa-sliders-h"}),key:l.ADVANCED_ROUTE},{content:a("contacts"),icon:n.default.createElement(d.Icon,{name:d.IconName.Book}),key:l.CONTACT_LIST_ROUTE},{content:a("securityAndPrivacy"),icon:n.default.createElement("i",{className:"fa fa-lock"}),key:l.SECURITY_ROUTE},{content:a("alerts"),icon:n.default.createElement(d.Icon,{name:d.IconName.Notification}),key:l.ALERTS_ROUTE},{content:a("networks"),icon:n.default.createElement(d.Icon,{name:d.IconName.Plug}),key:l.NETWORKS_ROUTE},{content:a("experimental"),icon:n.default.createElement(d.Icon,{name:d.IconName.Flask}),key:l.EXPERIMENTAL_ROUTE},{content:a("about"),icon:n.default.createElement(d.Icon,{name:d.IconName.Info}),key:l.ABOUT_US_ROUTE}];return n.default.createElement(i.default,{tabs:s,isActive:e=>e===l.GENERAL_ROUTE&&t===l.SETTINGS_ROUTE||(!(e!==l.CONTACT_LIST_ROUTE||!t.includes(l.CONTACT_LIST_ROUTE))||(0,r.matchPath)(t,{exact:!0,path:e})),onSelect:t=>e.push(t)})}renderContent(){return n.default.createElement(r.Switch,null,n.default.createElement(r.Route,{exact:!0,path:l.GENERAL_ROUTE,render:e=>n.default.createElement(h.default,N({},e,{lastFetchedConversionDate:this.state.lastFetchedConversionDate}))}),n.default.createElement(r.Route,{exact:!0,path:l.ABOUT_US_ROUTE,component:b.default}),n.default.createElement(r.Route,{exact:!0,path:l.ADVANCED_ROUTE,component:y.default}),n.default.createElement(r.Route,{exact:!0,path:l.ALERTS_ROUTE,component:_.default}),n.default.createElement(r.Route,{exact:!0,path:l.ADD_NETWORK_ROUTE,render:()=>n.default.createElement(E.default,{addNewNetwork:!0})}),n.default.createElement(r.Route,{exact:!0,path:l.NETWORKS_ROUTE,render:()=>n.default.createElement(E.default,{addNewNetwork:!1})}),n.default.createElement(r.Route,{exact:!0,path:l.ADD_POPULAR_CUSTOM_NETWORK,render:()=>n.default.createElement(u.default,null)}),n.default.createElement(r.Route,{exact:!0,path:l.SECURITY_ROUTE,component:w.default}),n.default.createElement(r.Route,{exact:!0,path:l.EXPERIMENTAL_ROUTE,component:k.default}),!1,n.default.createElement(r.Route,{exact:!0,path:l.CONTACT_LIST_ROUTE,component:v.default}),n.default.createElement(r.Route,{exact:!0,path:l.CONTACT_ADD_ROUTE,component:v.default}),n.default.createElement(r.Route,{exact:!0,path:`${l.CONTACT_EDIT_ROUTE}/:id`,component:v.default}),n.default.createElement(r.Route,{exact:!0,path:`${l.CONTACT_VIEW_ROUTE}/:id`,component:v.default}),n.default.createElement(r.Route,{render:e=>n.default.createElement(h.default,N({},e,{lastFetchedConversionDate:this.state.lastFetchedConversionDate}))}))}}O(I,"propTypes",{addNewNetwork:s.default.bool,addressName:s.default.string,backRoute:s.default.string,breadCrumbTextKey:s.default.string,conversionDate:s.default.number,currentPath:s.default.string,history:s.default.object,initialBreadCrumbKey:s.default.string,initialBreadCrumbRoute:s.default.string,isAddressEntryPage:s.default.bool,isPopup:s.default.bool,mostRecentOverviewPage:s.default.string.isRequired,pathnameI18nKey:s.default.string}),O(I,"contextTypes",{t:s.default.func});a.default=I}}},{package:"$root$",file:"ui/pages/settings/settings.component.js"}],[5884,{"../../../app/scripts/lib/util":120,"../../../shared/constants/app":4493,"../../../shared/modules/hexstring-utils":4544,"../../ducks/history/history":5343,"../../helpers/constants/routes":5361,"../../selectors":5987,"./settings.component":5883,"react-redux":4199,"react-router-dom":4228,redux:4261},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n,s=e("redux"),r=e("react-redux"),o=e("react-router-dom"),i=e("../../selectors"),l=e("../../../shared/constants/app"),c=e("../../../app/scripts/lib/util"),u=e("../../ducks/history/history"),d=e("../../../shared/modules/hexstring-utils"),p=e("../../helpers/constants/routes"),f=(n=e("./settings.component"))&&n.__esModule?n:{default:n};const m={[p.ABOUT_US_ROUTE]:"about",[p.ADD_NETWORK_ROUTE]:"networks",[p.ADD_POPULAR_CUSTOM_NETWORK]:"addNetwork",[p.ADVANCED_ROUTE]:"advanced",[p.ALERTS_ROUTE]:"alerts",[p.CONTACT_ADD_ROUTE]:"newContact",[p.CONTACT_EDIT_ROUTE]:"editContact",[p.CONTACT_LIST_ROUTE]:"contacts",[p.CONTACT_VIEW_ROUTE]:"viewContact",[p.DEVELOPER_OPTIONS_ROUTE]:"developerOptions",[p.EXPERIMENTAL_ROUTE]:"experimental",[p.GENERAL_ROUTE]:"general",[p.NETWORKS_FORM_ROUTE]:"networks",[p.NETWORKS_ROUTE]:"networks",[p.SECURITY_ROUTE]:"securityAndPrivacy"};a.default=(0,s.compose)(o.withRouter,(0,r.connect)(((e,t)=>{var a;const{location:n}=t,{pathname:s}=n,{metamask:{providerConfig:{ticker:r},currencyRates:o}}=e,f=null===(a=o[r])||void 0===a?void 0:a.conversionDate,g=s.match(/[^/]+$/u)[0],h=g.includes("0x"),_=Boolean(s.match(p.CONTACT_ADD_ROUTE)),E=Boolean(s.match(p.CONTACT_EDIT_ROUTE)),y=Boolean(s.match(p.NETWORKS_FORM_ROUTE))||Boolean(s.match(p.ADD_NETWORK_ROUTE)),b=Boolean(s.match(p.ADD_NETWORK_ROUTE)),w=Boolean(s.match(p.ADD_POPULAR_CUSTOM_NETWORK)),v=(0,c.getEnvironmentType)()===l.ENVIRONMENT_TYPE_POPUP,k=m[s];let T=p.SETTINGS_ROUTE;E?T=`${p.CONTACT_VIEW_ROUTE}/${g}`:h||_?T=p.CONTACT_LIST_ROUTE:(y||w)&&(T=p.NETWORKS_ROUTE);return{addNewNetwork:b,addressName:(0,i.getAddressBookEntryOrAccountName)(e,!(0,d.isBurnAddress)(g)&&(0,d.isValidHexAddress)(g,{mixedCaseUseChecksum:!0})?g:""),backRoute:T,conversionDate:f,currentPath:s,initialBreadCrumbKey:undefined,initialBreadCrumbRoute:undefined,isAddressEntryPage:h,isPopup:v,mostRecentOverviewPage:(0,u.getMostRecentOverviewPage)(e),pathnameI18nKey:k}})))(f.default)}}},{package:"$root$",file:"ui/pages/settings/settings.container.js"}],[5885,{"./smart-transaction-status-page":5886},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"SmartTransactionStatusPage",{enumerable:!0,get:function(){return s.default}});var n,s=(n=e("./smart-transaction-status-page"))&&n.__esModule?n:{default:n}}}},{package:"$root$",file:"ui/pages/smart-transactions/smart-transaction-status-page/index.ts"}],[5886,{"../../../../shared/constants/notifications":4508,"../../../../shared/constants/smartTransactions":4514,"../../../../shared/constants/urls":4521,"../../../../shared/modules/conversion.utils":4537,"../../../../shared/modules/selectors":4554,"../../../components/component-library":4955,"../../../helpers/constants/design-system":5355,"../../../hooks/useI18nContext":5427,"../../../selectors":5987,"../../../store/actions":5998,"../../confirmations/components/simulation-details":5616,"@metamask/smart-transactions-controller/dist/types":1765,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.showRemainingTimeInMinAndSec=a.default=a.SmartTransactionStatusPage=void 0;var n=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=_(t);if(a&&a.has(e))return a.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=s?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n.default=e,a&&a.set(e,n),n}(e("react")),s=e("react-redux"),r=e("@metamask/smart-transactions-controller/dist/types"),o=e("../../../components/component-library"),i=e("../../../helpers/constants/design-system"),l=e("../../../hooks/useI18nContext"),c=e("../../../selectors"),u=e("../../../../shared/modules/selectors"),d=e("../../../../shared/constants/urls"),p=e("../../../../shared/constants/smartTransactions"),f=e("../../../store/actions"),m=e("../../../../shared/modules/conversion.utils"),g=e("../../confirmations/components/simulation-details"),h=e("../../../../shared/constants/notifications");function _(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(_=function(e){return e?a:t})(e)}const E=e=>{if(!Number.isInteger(e))return"0:00";return`${Math.floor(e/60)}:${(e%60).toString().padStart(2,"0")}`};a.showRemainingTimeInMinAndSec=E;const y=({isSmartTransactionPending:e,stxDeadline:t,timeLeftForPendingStxInSec:a})=>e?n.default.createElement(o.Box,{display:i.Display.Flex,flexDirection:i.FlexDirection.Column,alignItems:i.AlignItems.center,width:i.BlockSize.Full},n.default.createElement("div",{className:"smart-transaction-status-page__loading-bar-container"},n.default.createElement("div",{className:"smart-transaction-status-page__loading-bar",style:{width:100/t*(t-a)+"%"}}))):null,b=({description:e})=>e?n.default.createElement(o.Box,{display:i.Display.Flex,flexDirection:i.FlexDirection.Column,alignItems:i.AlignItems.center,className:"smart-transaction-status-page__description"},n.default.createElement(o.Text,{marginTop:2,color:i.TextColor.textAlternative,variant:i.TextVariant.bodySm},e)):null,w=({portfolioSmartTransactionStatusUrl:e,isSmartTransactionPending:t,onCloseExtension:a})=>{const s=(0,l.useI18nContext)();if(!e)return null;const r=(0,n.useCallback)((()=>{const n=window.innerWidth>h.NOTIFICATION_WIDTH;t&&!n||a(),global.platform.openTab({url:e})}),[t,a,e]);return n.default.createElement(o.Box,{display:i.Display.Flex,flexDirection:i.FlexDirection.Column,marginTop:2},n.default.createElement(o.Button,{type:"link",variant:o.ButtonVariant.Link,onClick:r},s("viewTransaction")))},v=({isDapp:e,isSmartTransactionPending:t,onCloseExtension:a})=>{const s=(0,l.useI18nContext)();return!e||t?null:n.default.createElement(o.ButtonSecondary,{"data-testid":"smart-transaction-status-page-footer-close-button",onClick:a,width:i.BlockSize.Full,marginTop:3},s("closeExtension"))},k=({isDapp:e,isSmartTransactionPending:t})=>{const a=(0,l.useI18nContext)();return e&&t?n.default.createElement(o.Text,{marginTop:2,color:i.TextColor.textAlternative,variant:i.TextVariant.bodySm},a("closeWindowAnytime")):null},T=({isDapp:e,onViewActivity:t})=>{const a=(0,l.useI18nContext)();return e?null:n.default.createElement(o.ButtonSecondary,{"data-testid":"smart-transaction-status-page-footer-close-button",onClick:t,width:i.BlockSize.Full,marginTop:3},a("viewActivity"))},C=({isDapp:e,isSmartTransactionPending:t,onCloseExtension:a,onViewActivity:s})=>n.default.createElement(o.Box,{className:"smart-transaction-status-page__footer",display:i.Display.Flex,flexDirection:i.FlexDirection.Column,width:i.BlockSize.Full,padding:4,paddingBottom:0},n.default.createElement(k,{isDapp:e,isSmartTransactionPending:t}),n.default.createElement(v,{isDapp:e,isSmartTransactionPending:t,onCloseExtension:a}),n.default.createElement(T,{isDapp:e,onViewActivity:s})),x=({title:e})=>n.default.createElement(o.Text,{color:i.TextColor.textDefault,variant:i.TextVariant.headingMd,as:"h4",fontWeight:i.FontWeight.Bold},e),S=({iconName:e,iconColor:t})=>n.default.createElement(o.Box,{display:i.Display.Flex,style:{fontSize:"48px"}},n.default.createElement(o.Icon,{name:e,color:t,size:o.IconSize.Inherit,marginBottom:4})),N=({requestState:e,onCloseExtension:t,onViewActivity:a})=>{var h,_,v,k,T;const N=(0,l.useI18nContext)(),O=(0,s.useDispatch)(),{smartTransaction:I,isDapp:R,txId:M}=e,P=!I||I.status===r.SmartTransactionStatuses.PENDING,D=(null==I?void 0:I.status)===r.SmartTransactionStatuses.SUCCESS,A=Boolean(null==I||null===(h=I.status)||void 0===h?void 0:h.startsWith(r.SmartTransactionStatuses.CANCELLED)),L=(0,s.useSelector)(u.getFeatureFlagsByChainId),j=(null==L||null===(_=L.smartTransactions)||void 0===_?void 0:_.expectedDeadline)||p.FALLBACK_SMART_TRANSACTIONS_EXPECTED_DEADLINE,F=(null==L||null===(v=L.smartTransactions)||void 0===v?void 0:v.maxDeadline)||p.FALLBACK_SMART_TRANSACTIONS_MAX_DEADLINE,{timeLeftForPendingStxInSec:B,isSmartTransactionTakingTooLong:U,stxDeadline:W}=(({isSmartTransactionPending:e,smartTransaction:t,stxMaxDeadline:a,stxEstimatedDeadline:s})=>{const[r,o]=(0,n.useState)(0),[i,l]=(0,n.useState)(!1),c=i?a:s;return(0,n.useEffect)((()=>{if(!e)return;const a=()=>{const e=null!=t&&t.creationTime?Math.round((Date.now()-t.creationTime)/1e3):0;if(e>c)return o(0),void(i||l(!0));o(c-e)},n=setInterval(a,1e3);return a(),()=>clearInterval(n)}),[e,i,null==t?void 0:t.creationTime,c]),{timeLeftForPendingStxInSec:r,isSmartTransactionTakingTooLong:i,stxDeadline:c}})({isSmartTransactionPending:P,smartTransaction:I,stxMaxDeadline:F,stxEstimatedDeadline:j}),q=(0,s.useSelector)(c.getCurrentChainId),$=(0,s.useSelector)((e=>(0,c.getFullTxData)(e,M)))||{},V=P?n.default.createElement(o.Text,{display:i.Display.InlineBlock,textAlign:i.TextAlign.Center,color:i.TextColor.textAlternative,variant:i.TextVariant.bodySm,className:"smart-transaction-status-page__countdown"},E(B)):undefined,{title:H,description:K,iconName:Q,iconColor:z}=(({t:e,countdown:t,isSmartTransactionPending:a,isSmartTransactionTakingTooLong:n,isSmartTransactionSuccess:s,isSmartTransactionCancelled:r})=>a&&n?{title:e("smartTransactionTakingTooLong"),description:e("smartTransactionTakingTooLongDescription",[t]),iconName:o.IconName.Clock,iconColor:i.IconColor.primaryDefault}:a?{title:e("smartTransactionPending"),description:e("stxEstimatedCompletion",[t]),iconName:o.IconName.Clock,iconColor:i.IconColor.primaryDefault}:s?{title:e("smartTransactionSuccess"),iconName:o.IconName.Confirmation,iconColor:i.IconColor.successDefault}:r?{title:e("smartTransactionCancelled"),description:e("smartTransactionCancelledDescription",[t]),iconName:o.IconName.Danger,iconColor:i.IconColor.errorDefault}:{title:e("smartTransactionError"),description:e("smartTransactionErrorDescription"),iconName:o.IconName.Danger,iconColor:i.IconColor.errorDefault})({t:N,countdown:V,isSmartTransactionPending:P,isSmartTransactionTakingTooLong:U,isSmartTransactionSuccess:D,isSmartTransactionCancelled:A});(0,n.useEffect)((()=>{O((0,f.hideLoadingIndication)())}),[]);const G=(null===(k=$.simulationData)||void 0===k||null===(k=k.tokenBalanceChanges)||void 0===k?void 0:k.length)>0||(null===(T=$.simulationData)||void 0===T?void 0:T.nativeBalanceChange),Y=null==I?void 0:I.uuid,Z=Y&&q?`${d.BaseUrl.Portfolio}/networks/${Number((0,m.hexToDecimal)(q))}/smart-transactions/${Y}`:undefined;return n.default.createElement(o.Box,{className:"smart-transaction-status-page",height:i.BlockSize.Full,width:i.BlockSize.Full,display:i.Display.Flex,borderStyle:i.BorderStyle.none,flexDirection:i.FlexDirection.Column,alignItems:i.AlignItems.center,marginBottom:0},n.default.createElement(o.Box,{display:i.Display.Flex,flexDirection:i.FlexDirection.Column,alignItems:i.AlignItems.center,justifyContent:i.JustifyContent.center,paddingLeft:4,paddingRight:4,width:i.BlockSize.Full,style:{flexGrow:1}},n.default.createElement(o.Box,{display:i.Display.Flex,flexDirection:i.FlexDirection.Column,alignItems:i.AlignItems.center,paddingLeft:6,paddingRight:6,width:i.BlockSize.Full},n.default.createElement(o.Box,{marginTop:3,className:"smart-transaction-status-page__background-animation smart-transaction-status-page__background-animation--top"}),n.default.createElement(S,{iconName:Q,iconColor:z}),n.default.createElement(x,{title:H}),n.default.createElement(y,{isSmartTransactionPending:P,stxDeadline:W,timeLeftForPendingStxInSec:B}),n.default.createElement(b,{description:K}),n.default.createElement(w,{portfolioSmartTransactionStatusUrl:Z,isSmartTransactionPending:P,onCloseExtension:t})),G&&n.default.createElement(g.SimulationDetails,{simulationData:$.simulationData,transactionId:$.id}),n.default.createElement(o.Box,{marginTop:3,className:"smart-transaction-status-page__background-animation smart-transaction-status-page__background-animation--bottom"})),n.default.createElement(C,{isDapp:R,isSmartTransactionPending:P,onCloseExtension:t,onViewActivity:a}))};a.SmartTransactionStatusPage=N;a.default=N}}},{package:"$root$",file:"ui/pages/smart-transactions/smart-transaction-status-page/smart-transaction-status-page.tsx"}],[5887,{"./snap-account-redirect-context":5889},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"SnapAccountRedirectContent",{enumerable:!0,get:function(){return s.default}});var n,s=(n=e("./snap-account-redirect-context"))&&n.__esModule?n:{default:n}}}},{package:"$root$",file:"ui/pages/snap-account-redirect/components/index.ts"}],[5888,{"../../../components/component-library":4955,"../../../helpers/constants/design-system":5355,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n,s=(n=e("react"))&&n.__esModule?n:{default:n},r=e("../../../components/component-library"),o=e("../../../helpers/constants/design-system");const i=({url:e,onSubmit:t})=>s.default.createElement(r.ButtonIcon,{"data-testid":"snap-account-redirect-url-icon",onClick:()=>{global.platform.openTab({url:e}),null==t||t()},iconName:r.IconName.Export,color:o.IconColor.primaryDefault,size:r.ButtonIconSize.Sm,ariaLabel:""});a.default=s.default.memo(i)}}},{package:"$root$",file:"ui/pages/snap-account-redirect/components/redirect-url-icon.tsx"}],[5889,{"../../../components/component-library":4955,"../../../helpers/constants/design-system":5355,"../../../hooks/useI18nContext":5427,"./snap-account-redirect-message":5890,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n=l(e("react")),s=e("../../../components/component-library"),r=e("../../../helpers/constants/design-system"),o=e("../../../hooks/useI18nContext"),i=l(e("./snap-account-redirect-message"));function l(e){return e&&e.__esModule?e:{default:e}}a.default=({url:e,snapName:t,isBlockedUrl:a,message:l,onSubmit:c})=>{const u=(0,o.useI18nContext)();return n.default.createElement(s.Box,{display:r.Display.Flex,flexDirection:r.FlexDirection.Row,justifyContent:r.JustifyContent.spaceBetween,paddingTop:4},n.default.createElement(s.Box,{gap:4,display:r.Display.Flex,flexDirection:r.FlexDirection.Column,alignItems:r.AlignItems.center},n.default.createElement(s.Text,{"data-testid":"snap-account-redirect-content-title",textAlign:r.TextAlign.Center,variant:r.TextVariant.headingLg},u("snapAccountRedirectFinishSigningTitle")),a?n.default.createElement(s.Box,{display:r.Display.Flex,paddingLeft:4,paddingRight:4},n.default.createElement(s.BannerAlert,{severity:s.BannerAlertSeverity.Danger,"data-testid":"snap-account-redirect-content-blocked-url-banner"},n.default.createElement(s.Text,null,u("snapUrlIsBlocked",[n.default.createElement(s.Button,{variant:s.ButtonVariant.Link,size:s.ButtonSize.Inherit,onClick:()=>global.platform.openTab({url:"https://support.metamask.io/hc/en-us/articles/4428045875483--Deceptive-site-ahead-when-trying-to-connect-to-a-site"}),key:"snap-url-is-blocked-learn-more-button"},u("learnMore"))])))):null,!1===a?n.default.createElement(s.Text,{"data-testid":"snap-account-redirect-content-description",textAlign:r.TextAlign.Center,variant:r.TextVariant.bodyMd},u("snapAccountRedirectSiteDescription",[t])):null,(e.length>0||l.length>0)&&!1===a?n.default.createElement(i.default,{snapName:t,url:e,message:l,onSubmit:c}):null))}}}},{package:"$root$",file:"ui/pages/snap-account-redirect/components/snap-account-redirect-context.tsx"}],[5890,{"../../../components/app/snaps/snap-delineator":4775,"../../../components/component-library":4955,"../../../helpers/constants/design-system":5355,"./url-display-box":5891,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n=l(e("react")),s=e("../../../helpers/constants/design-system"),r=e("../../../components/component-library"),o=e("../../../components/app/snaps/snap-delineator"),i=l(e("./url-display-box"));function l(e){return e&&e.__esModule?e:{default:e}}const c=({snapName:e,url:t,message:a,onSubmit:l})=>n.default.createElement(o.SnapDelineator,{"data-testid":"snap-account-redirect-message-container",snapName:e},""!==a?n.default.createElement(r.Text,{variant:s.TextVariant.bodyMd,"data-testid":"snap-account-redirect-message"},a):null,t.length>0?n.default.createElement(r.Box,{paddingTop:2,display:s.Display.Flex},n.default.createElement(i.default,{url:t,onSubmit:l})):null);a.default=n.default.memo(c)}}},{package:"$root$",file:"ui/pages/snap-account-redirect/components/snap-account-redirect-message.tsx"}],[5891,{"../../../components/component-library":4955,"../../../helpers/constants/design-system":5355,"./redirect-url-icon":5888,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n=i(e("react")),s=e("../../../helpers/constants/design-system"),r=e("../../../components/component-library"),o=i(e("./redirect-url-icon"));function i(e){return e&&e.__esModule?e:{default:e}}const l=({url:e,onSubmit:t})=>n.default.createElement(r.Box,{display:s.Display.InlineFlex,backgroundColor:s.BackgroundColor.backgroundDefault,alignItems:s.AlignItems.center,borderWidth:1,borderRadius:s.BorderRadius.SM,borderColor:s.BorderColor.borderDefault,paddingRight:4},n.default.createElement(r.Text,{"data-testid":"snap-account-redirect-url-display-box",padding:2,variant:s.TextVariant.bodyMd,color:s.TextColor.primaryDefault},e),n.default.createElement(o.default,{url:e,onSubmit:t}));a.default=n.default.memo(l)}}},{package:"$root$",file:"ui/pages/snap-account-redirect/components/url-display-box.tsx"}],[5892,{"./snap-account-redirect":5893},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"SnapAccountRedirect",{enumerable:!0,get:function(){return s.default}});var n,s=(n=e("./snap-account-redirect"))&&n.__esModule?n:{default:n}}}},{package:"$root$",file:"ui/pages/snap-account-redirect/index.ts"}],[5893,{"../../components/app/snaps/snap-authorship-header":4770,"../../components/component-library":4955,"../../helpers/constants/design-system":5355,"./components":5887,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n=l(e("react")),s=e("../../components/component-library"),r=e("../../helpers/constants/design-system"),o=l(e("../../components/app/snaps/snap-authorship-header")),i=e("./components");function l(e){return e&&e.__esModule?e:{default:e}}a.default=({url:e,snapId:t,snapName:a,isBlockedUrl:l,message:c,onSubmit:u})=>n.default.createElement(s.Box,{className:"create-snap-account-page",height:r.BlockSize.Full,width:r.BlockSize.Full,borderStyle:r.BorderStyle.none,flexDirection:r.FlexDirection.Column,alignItems:r.AlignItems.center},n.default.createElement(o.default,{snapId:t}),n.default.createElement(s.Box,{display:r.Display.Flex,flexDirection:r.FlexDirection.Column,alignItems:r.AlignItems.center,height:r.BlockSize.Full,paddingLeft:4,paddingRight:4},n.default.createElement(i.SnapAccountRedirectContent,{url:e,onSubmit:u,snapId:t,snapName:a,isBlockedUrl:l,message:c})))}}},{package:"$root$",file:"ui/pages/snap-account-redirect/snap-account-redirect.tsx"}],[5894,{"../../../shared/constants/metametrics":4505,"../../contexts/metametrics":5327,"../../hooks/useI18nContext":5427,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=i(t);if(a&&a.has(e))return a.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=s?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n.default=e,a&&a.set(e,n),n}(e("react")),s=e("../../hooks/useI18nContext"),r=e("../../contexts/metametrics"),o=e("../../../shared/constants/metametrics");function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(i=function(e){return e?a:t})(e)}a.default=({internalAccount:e})=>{const t=(0,s.useI18nContext)(),a=(0,n.useContext)(r.MetaMetricsContext);return(0,n.useEffect)((()=>{var t,n;a({event:o.MetaMetricsEventName.SnapAccountTransactionLoadingViewed,category:o.MetaMetricsEventCategory.Transactions,properties:{snap_id:null==e||null===(t=e.metadata.snap)||void 0===t?void 0:t.id,snap_name:null==e||null===(n=e.metadata.snap)||void 0===n?void 0:n.name,account_type:o.MetaMetricsEventAccountType.Snap}})}),[]),n.default.createElement("span",null,t("loadingScreenSnapMessage"))}}}},{package:"$root$",file:"ui/pages/snap-account-transaction-loading-screen/snap-account-transaction-loading-screen.tsx"}],[5895,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.KeyringSnapRemovalResultStatus=void 0;a.KeyringSnapRemovalResultStatus={Success:"success",Failed:"failed",None:"none"}}}},{package:"$root$",file:"ui/pages/snaps/snap-view/constants.ts"}],[5896,{"./snap-view":5899},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return s.default}});var n,s=(n=e("./snap-view"))&&n.__esModule?n:{default:n}}}},{package:"$root$",file:"ui/pages/snaps/snap-view/index.js"}],[5897,{"../../../components/app/snaps/snap-home-page/snap-home-renderer":4777,"../../../components/component-library":4955,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n=i(e("react")),s=i(e("prop-types")),r=e("../../../components/app/snaps/snap-home-page/snap-home-renderer"),o=e("../../../components/component-library");function i(e){return e&&e.__esModule?e:{default:e}}function l({snapId:e}){return n.default.createElement(o.Box,null,n.default.createElement(r.SnapHomeRenderer,{snapId:e}))}l.propTypes={snapId:s.default.string.isRequired};a.default=l}}},{package:"$root$",file:"ui/pages/snaps/snap-view/snap-home.js"}],[5898,{"../../../components/app/connected-sites-list":4614,"../../../components/app/snaps/keyring-snap-removal-warning":4763,"../../../components/app/snaps/show-more":4766,"../../../components/app/snaps/snap-authorship-expanded":4768,"../../../components/app/snaps/snap-delineator":4775,"../../../components/app/snaps/snap-permissions-list":4792,"../../../components/app/snaps/snap-remove-warning":4796,"../../../components/app/snaps/snap-update-alert":4834,"../../../components/component-library":4955,"../../../helpers/constants/design-system":5355,"../../../helpers/constants/routes":5361,"../../../helpers/constants/snaps":5364,"../../../hooks/useI18nContext":5427,"../../../selectors":5987,"../../../store/actions":5998,"./constants":5895,"prop-types":3997,react:4243,"react-redux":4199,"react-router-dom":4228,semver:4315},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=C(t);if(a&&a.has(e))return a.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=s?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n.default=e,a&&a.set(e,n),n}(e("react")),s=e("react-redux"),r=T(e("prop-types")),o=e("react-router-dom"),i=T(e("semver")),l=e("../../../hooks/useI18nContext"),c=e("../../../helpers/constants/design-system"),u=T(e("../../../components/app/snaps/snap-authorship-expanded")),d=T(e("../../../components/app/snaps/snap-remove-warning")),p=T(e("../../../components/app/connected-sites-list")),f=T(e("../../../components/app/snaps/keyring-snap-removal-warning")),m=e("../../../store/actions"),g=e("../../../selectors"),h=e("../../../components/component-library"),_=T(e("../../../components/app/snaps/snap-permissions-list")),E=e("../../../components/app/snaps/snap-delineator"),y=e("../../../helpers/constants/snaps"),b=T(e("../../../components/app/snaps/snap-update-alert")),w=e("../../../helpers/constants/routes"),v=e("../../../components/app/snaps/show-more"),k=e("./constants");function T(e){return e&&e.__esModule?e:{default:e}}function C(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(C=function(e){return e?a:t})(e)}function x({snapId:e}){const t=(0,o.useHistory)(),a=(0,l.useI18nContext)(),r=(0,s.useSelector)(g.getSnaps),T=(0,s.useDispatch)(),C=Object.entries(r).map((([e,t])=>t)).find((t=>t.id===e)),[x,S]=(0,n.useState)(!1),[N,O]=(0,n.useState)(!1),[I,R]=(0,n.useState)([]),M=(0,s.useSelector)(g.getMemoizedMetaMaskInternalAccounts),P=(0,s.useSelector)((e=>(0,g.getSubjectsWithSnapPermission)(e,null==C?void 0:C.id))),D=(0,s.useSelector)((e=>C&&(0,g.getPermissions)(e,C.id))),{name:A,description:L}=(0,s.useSelector)((t=>(0,g.getSnapMetadata)(t,e)));let j=!1;j=Boolean(null==D?void 0:D.snap_manageAccounts),(0,n.useEffect)((()=>{j&&(async()=>{const e=await(0,m.getSnapAccountsById)(C.id),t=Object.values(M).filter((t=>e.includes(t.address.toLowerCase())));R(t)})()}),[null==C?void 0:C.id,M,j]);const F=(0,s.useSelector)((e=>C?(0,g.getSnapLatestVersion)(e,null==C?void 0:C.id):null)),B=!!F&&i.default.gt(F,C.version);return n.default.createElement(h.Box,null,B&&n.default.createElement(b.default,{snapName:A,onUpdateClick:async()=>{const e={[C.id]:{version:F}},a=await T((0,m.updateSnap)("MetaMask",e));a&&t.push(`${w.CONNECT_ROUTE}/${a}`)},bannerAlertProps:{marginBottom:4}}),n.default.createElement(u.default,{snapId:C.id,snap:C}),n.default.createElement(h.Box,{className:"snap-view__content__description",marginTop:[4,7]},n.default.createElement(E.SnapDelineator,{type:y.DelineatorType.Description,snapName:A},n.default.createElement(v.ShowMore,{buttonBackground:c.BackgroundColor.backgroundDefault},n.default.createElement(h.Text,null,L)))),n.default.createElement(h.Box,{className:"snap-view__content__permissions",marginTop:12},n.default.createElement(h.Text,{variant:c.TextVariant.bodyLgMedium,marginBottom:1},a("permissions")),n.default.createElement(_.default,{snapId:e,snapName:A,permissions:D??{},showOptions:!0})),n.default.createElement(h.Box,{className:"snap-view__content__connected-sites",marginTop:12},n.default.createElement(h.Text,{variant:c.TextVariant.bodyLgMedium,marginBottom:2},a("connectedSites")),n.default.createElement(p.default,{connectedSubjects:P,onDisconnect:e=>{var t;t=e,C.id,T((0,m.disconnectOriginFromSnap)(t,C.id))}})),n.default.createElement(h.Box,{className:"snap-view__content__remove",marginTop:12},n.default.createElement(h.Text,{variant:c.TextVariant.bodyLgMedium,color:c.TextColor.textDefault},a("removeSnap")),n.default.createElement(h.Text,{variant:c.TextVariant.bodyMd,color:c.TextColor.textDefault},a("removeSnapDescription")),n.default.createElement(h.Box,{marginTop:4,display:c.Display.Flex,justifyContent:c.JustifyContent.center},n.default.createElement(h.Button,{className:"snap-view__content__remove-button",danger:"true",variant:h.ButtonVariant.Secondary,width:c.BlockSize.Full,size:h.ButtonSize.Lg,onClick:()=>S(!0),"data-testid":"remove-snap-button",disabled:C.preinstalled&&!1===C.removable},n.default.createElement(h.Text,{color:c.TextColor.inherit,variant:c.TextVariant.bodyMd,flexWrap:c.FlexWrap.NoWrap,ellipsis:!0,style:{overflow:"hidden"},paddingTop:3,paddingBottom:3},`${a("remove")} ${A}`)),n.default.createElement(d.default,{isOpen:x&&(!j||0===I.length)&&!N,onCancel:()=>S(!1),onSubmit:async()=>{await T((0,m.removeSnap)(C.id))},snapName:A}),n.default.createElement(n.default.Fragment,null,n.default.createElement(f.default,{snap:C,keyringAccounts:I,snapUrl:C.url,onCancel:()=>S(!1),onClose:()=>S(!1),onBack:()=>S(!1),onSubmit:async()=>{try{O(!0),await T((0,m.removeSnap)(C.id)),S(!1),T((0,m.showKeyringSnapRemovalModal)({snapName:A,result:k.KeyringSnapRemovalResultStatus.Success}))}catch{S(!1),T((0,m.showKeyringSnapRemovalModal)({snapName:A,result:k.KeyringSnapRemovalResultStatus.Failed}))}finally{O(!1)}},isOpen:x&&j&&I.length>0})))))}x.propTypes={snapId:r.default.string.isRequired};a.default=x}}},{package:"$root$",file:"ui/pages/snaps/snap-view/snap-settings.js"}],[5899,{"../../../components/component-library":4955,"../../../components/multichain/pages/page":5152,"../../../helpers/constants/design-system":5355,"../../../helpers/constants/routes":5361,"../../../selectors":5987,"./snap-home":5897,"./snap-settings":5898,"@metamask/utils":2300,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=g(t);if(a&&a.has(e))return a.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=s?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n.default=e,a&&a.set(e,n),n}(e("react")),s=e("react-router-dom"),r=e("react-redux"),o=e("@metamask/utils"),i=e("../../../helpers/constants/design-system"),l=e("../../../helpers/constants/routes"),c=e("../../../selectors"),u=e("../../../components/component-library"),d=e("../../../components/multichain/pages/page"),p=m(e("./snap-settings")),f=m(e("./snap-home"));function m(e){return e&&e.__esModule?e:{default:e}}function g(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(g=function(e){return e?a:t})(e)}a.default=function(){const e=(0,s.useHistory)(),t=(0,s.useLocation)(),{pathname:a}=t,m=decodeURIComponent(a.match(/[^/]+$/u)[0]),g=(0,r.useSelector)(c.getSnaps),h=Object.entries(g).map((([e,t])=>t)).find((e=>e.id===m)),{name:_}=(0,r.useSelector)((e=>(0,c.getSnapMetadata)(e,m)));(0,n.useEffect)((()=>{h||e.push(l.SNAPS_ROUTE)}),[e,h]);const E=(0,r.useSelector)((e=>h&&(0,c.getPermissions)(e,h.id))),y=E&&(0,o.hasProperty)(E,"endowment:page-home"),[b,w]=(0,n.useState)(!y);if(!h)return null;const v=!h.preinstalled;return n.default.createElement("div",{className:"snap-view"},n.default.createElement(d.Page,{backgroundColor:i.BackgroundColor.backgroundDefault},n.default.createElement(d.Header,{backgroundColor:i.BackgroundColor.backgroundDefault,startAccessory:n.default.createElement(u.ButtonIcon,{ariaLabel:"Back",iconName:"arrow-left",size:"sm",onClick:()=>{b&&y?w(!1):e.push(l.SNAPS_ROUTE)}}),endAccessory:v&&!b&&n.default.createElement(u.ButtonIcon,{ariaLabel:"Settings",iconName:"setting",size:"sm",onClick:()=>{w(!0)}})},_),n.default.createElement(d.Content,{backgroundColor:i.BackgroundColor.backgroundDefault,className:"snap-view__content",paddingTop:0},b?n.default.createElement(p.default,{snapId:m}):n.default.createElement(f.default,{snapId:m}))))}}}},{package:"$root$",file:"ui/pages/snaps/snap-view/snap-view.js"}],[5900,{"./snap-list":5901},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return s.default}});var n,s=(n=e("./snap-list"))&&n.__esModule?n:{default:n}}}},{package:"$root$",file:"ui/pages/snaps/snaps-list/index.js"}],[5901,{"../../../components/app/snaps/snap-list-item":4786,"../../../components/component-library":4955,"../../../components/multichain/pages/page":5152,"../../../helpers/constants/design-system":5355,"../../../helpers/constants/routes":5361,"../../../helpers/utils/settings-search":5395,"../../../helpers/utils/util":5399,"../../../hooks/useI18nContext":5427,"../../../selectors":5987,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n,s=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=h(t);if(a&&a.has(e))return a.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=s?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n.default=e,a&&a.set(e,n),n}(e("react")),r=e("react-redux"),o=e("react-router-dom"),i=(n=e("../../../components/app/snaps/snap-list-item"))&&n.__esModule?n:{default:n},l=e("../../../hooks/useI18nContext"),c=e("../../../helpers/constants/design-system"),u=e("../../../helpers/constants/routes"),d=e("../../../selectors"),p=e("../../../helpers/utils/settings-search"),f=e("../../../components/component-library"),m=e("../../../components/multichain/pages/page"),g=e("../../../helpers/utils/util");function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(h=function(e){return e?a:t})(e)}a.default=()=>{const e=(0,l.useI18nContext)(),t=(0,o.useHistory)(),a=(0,s.useRef)();(0,s.useEffect)((()=>{(0,p.handleSettingsRefs)(e,e("snaps"),a)}),[a,e]);const n=(0,r.useSelector)(d.getSnapsList),h=(0,r.useSelector)(d.getAllSnapAvailableUpdates);return s.default.createElement("div",{className:"snaps"},s.default.createElement(m.Page,{backgroundColor:c.BackgroundColor.backgroundDefault},s.default.createElement(m.Header,{backgroundColor:c.BackgroundColor.backgroundDefault,startAccessory:s.default.createElement(f.ButtonIcon,{ariaLabel:"Back",iconName:"arrow-left",size:"sm",onClick:()=>t.push(u.DEFAULT_ROUTE)})},e("snaps")),s.default.createElement(m.Content,{backgroundColor:c.BackgroundColor.backgroundDefault,className:"snaps__content"},s.default.createElement(f.Box,{className:"snaps__content__list",display:c.Display.Flex,flexDirection:c.FlexDirection.Column,height:c.BlockSize.Full},n.length>0&&s.default.createElement("div",{className:"snaps__content__list__body"},s.default.createElement("div",{className:"snaps__content__list__wrapper"},n.map((e=>s.default.createElement(i.default,{className:"snaps__content__list-item",key:e.key,packageName:e.packageName,name:e.name,onClick:()=>{(e=>{t.push((0,g.getSnapRoute)(e.id))})(e)},snapId:e.id,showUpdateDot:h.get(e.id)}))))),n.length<=5&&s.default.createElement(f.Box,{display:c.Display.Flex,height:c.BlockSize.Full,flexDirection:c.FlexDirection.Row,flexWrap:c.FlexWrap.Wrap,justifyContent:c.JustifyContent.center,className:"snaps__content__list__container--snaps-info-content"},n.length<1&&s.default.createElement(f.Box,{className:"snaps__content__list__container--no-snaps_inner",display:c.Display.Flex,flexDirection:c.FlexDirection.Column,justifyContent:c.JustifyContent.center,alignItems:c.AlignItems.center},s.default.createElement(f.Icon,{name:f.IconName.Snaps,color:c.IconColor.iconMuted,className:"snaps__content__list__no-snaps_icon",size:f.IconSize.Inherit}),s.default.createElement(f.Text,{color:c.Color.textMuted,align:c.TextAlign.Center,marginTop:4},e("noSnaps"))),s.default.createElement(f.Box,{display:c.Display.Flex,width:c.BlockSize.Full,height:c.BlockSize.Min}),s.default.createElement(f.Box,{className:"snaps__content__list__container--no-snaps_banner-tip",display:c.Display.Flex,flexDirection:c.FlexDirection.Column,justifyContent:c.JustifyContent.flexEnd,paddingLeft:4,paddingRight:4,paddingBottom:4},s.default.createElement(f.BannerTip,{logoType:f.BannerTipLogoType.Greeting,description:e("extendWalletWithSnaps"),descriptionProps:{variant:c.TextVariant.bodyMd}},s.default.createElement(f.ButtonLink,{size:c.Size.auto,href:"https://snaps.metamask.io/",target:"_blank",endIconName:f.IconName.Export},`${e("discoverSnaps")}`))))))))}}}},{package:"$root$",file:"ui/pages/snaps/snaps-list/snap-list.js"}],[5902,{"../../../../shared/constants/metametrics":4505,"../../../../shared/modules/selectors":4554,"../../../components/component-library":4955,"../../../components/ui/box":5194,"../../../components/ui/pulse-loader":5283,"../../../contexts/i18n":5324,"../../../contexts/metametrics":5327,"../../../ducks/swaps/swaps":5351,"../../../helpers/constants/design-system":5355,"../../../helpers/constants/routes":5361,"../../../selectors/selectors":5994,"../swaps-footer":5965,"./swap-step-icon":5904,"lodash/isEqual":3824,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=function(){const e=(0,n.useContext)(i.I18nContext),t=(0,r.useHistory)(),a=(0,s.useDispatch)(),b=(0,s.useSelector)(l.getFetchParams,o.default),{destinationTokenInfo:w,sourceTokenInfo:v}=(null==b?void 0:b.metaData)||{},k=(0,s.useSelector)(l.getApproveTxParams,s.shallowEqual),T=(0,s.useSelector)(c.isHardwareWallet),C=(0,s.useSelector)(c.getHardwareWalletType),x=(0,s.useSelector)(u.getSmartTransactionsOptInStatus),S=(0,s.useSelector)(u.getSmartTransactionsEnabled),N=(0,s.useSelector)(l.getCurrentSmartTransactionsEnabled),O=Boolean(k),I=(0,n.useContext)(h.MetaMetricsContext);(0,n.useEffect)((()=>{I({event:"Awaiting Signature(s) on a HW wallet",category:_.MetaMetricsEventCategory.Swaps,sensitiveProperties:{needs_two_confirmations:O,token_from:null==v?void 0:v.symbol,token_from_amount:null==b?void 0:b.value,token_to:null==w?void 0:w.symbol,request_type:null!=b&&b.balanceError?"Quote":"Order",slippage:null==b?void 0:b.slippage,custom_slippage:2===(null==b?void 0:b.slippage),is_hardware_wallet:T,hardware_wallet_type:C,stx_enabled:S,current_stx_enabled:N,stx_user_opt_in:x}})}),[]);const R=e(O?"swapTwoTransactions":"swapConfirmWithHwWallet");return n.default.createElement("div",{className:"awaiting-signatures"},n.default.createElement(f.default,{paddingLeft:8,paddingRight:8,height:m.BLOCK_SIZES.FULL,justifyContent:m.JustifyContent.center,display:m.DISPLAY.FLEX,className:"awaiting-signatures__content"},n.default.createElement(f.default,{marginTop:3,marginBottom:4},n.default.createElement(p.default,null)),n.default.createElement(E.Text,{color:m.TextColor.textDefault,variant:m.TextVariant.headingMd,as:"h3"},R),O&&n.default.createElement(n.default.Fragment,null,n.default.createElement(E.Text,{variant:m.TextVariant.bodyMdBold,marginTop:2},e("swapToConfirmWithHwWallet")),n.default.createElement("ul",{className:"awaiting-signatures__steps"},n.default.createElement("li",null,n.default.createElement(y.default,{stepNumber:1}),e("swapAllowSwappingOf",[n.default.createElement(E.Text,{as:"span",variant:m.TextVariant.bodyMdBold,key:"allowToken"},null==w?void 0:w.symbol)])),n.default.createElement("li",null,n.default.createElement(y.default,{stepNumber:2}),e("swapFromTo",[n.default.createElement(E.Text,{as:"span",variant:m.TextVariant.bodyMdBold,key:"tokenFrom"},null==v?void 0:v.symbol),n.default.createElement(E.Text,{as:"span",variation:m.TextVariant.bodyMdBold,key:"tokenTo"},null==w?void 0:w.symbol)]))),n.default.createElement(E.Text,{variant:m.TextVariant.bodyMd},e("swapGasFeesSplit")))),n.default.createElement(g.default,{onSubmit:async()=>{await a((0,l.prepareToLeaveSwaps)()),t.push(d.DEFAULT_ROUTE),t.push(d.BUILD_QUOTE_ROUTE)},submitText:e("cancel"),hideCancel:!0}))};var n=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=w(t);if(a&&a.has(e))return a.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=s?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n.default=e,a&&a.set(e,n),n}(e("react")),s=e("react-redux"),r=e("react-router-dom"),o=b(e("lodash/isEqual")),i=e("../../../contexts/i18n"),l=e("../../../ducks/swaps/swaps"),c=e("../../../selectors/selectors"),u=e("../../../../shared/modules/selectors"),d=e("../../../helpers/constants/routes"),p=b(e("../../../components/ui/pulse-loader")),f=b(e("../../../components/ui/box")),m=e("../../../helpers/constants/design-system"),g=b(e("../swaps-footer")),h=e("../../../contexts/metametrics"),_=e("../../../../shared/constants/metametrics"),E=e("../../../components/component-library"),y=b(e("./swap-step-icon"));function b(e){return e&&e.__esModule?e:{default:e}}function w(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(w=function(e){return e?a:t})(e)}}}},{package:"$root$",file:"ui/pages/swaps/awaiting-signatures/awaiting-signatures.js"}],[5903,{"./awaiting-signatures":5902},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return s.default}});var n,s=(n=e("./awaiting-signatures"))&&n.__esModule?n:{default:n}}}},{package:"$root$",file:"ui/pages/swaps/awaiting-signatures/index.js"}],[5904,{"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=o;var n=r(e("react")),s=r(e("prop-types"));function r(e){return e&&e.__esModule?e:{default:e}}function o({stepNumber:e=1}){switch(e){case 1:return n.default.createElement("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.default.createElement("circle",{cx:"7",cy:"7",r:"6.25",stroke:"var(--color-primary-default)",strokeWidth:"1.5"}),n.default.createElement("path",{d:"M6.50983 5.192H5.27783L6.14183 4H7.71783V9.68H6.50983V5.192Z",fill:"var(--color-primary-default)"}));case 2:return n.default.createElement("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.default.createElement("circle",{cx:"7",cy:"7",r:"6.25",stroke:"var(--color-primary-default)",strokeWidth:"1.5"}),n.default.createElement("path",{d:"M8.92 9.776H5V9.368C5 9.048 5.056 8.77067 5.168 8.536C5.28 8.296 5.42133 8.08533 5.592 7.904C5.768 7.71733 5.96267 7.54933 6.176 7.4C6.39467 7.25067 6.608 7.10133 6.816 6.952C6.928 6.872 7.03467 6.78933 7.136 6.704C7.24267 6.61867 7.33333 6.53067 7.408 6.44C7.488 6.34933 7.552 6.256 7.6 6.16C7.648 6.064 7.672 5.96533 7.672 5.864C7.672 5.67733 7.616 5.52 7.504 5.392C7.39733 5.25867 7.22933 5.192 7 5.192C6.88267 5.192 6.776 5.21333 6.68 5.256C6.584 5.29333 6.50133 5.344 6.432 5.408C6.368 5.472 6.31733 5.54667 6.28 5.632C6.248 5.71733 6.232 5.808 6.232 5.904H5.024C5.024 5.62667 5.07467 5.37067 5.176 5.136C5.27733 4.90133 5.41867 4.70133 5.6 4.536C5.78133 4.36533 5.99467 4.23467 6.24 4.144C6.48533 4.048 6.752 4 7.04 4C7.28 4 7.50933 4.03733 7.728 4.112C7.952 4.18667 8.14933 4.29867 8.32 4.448C8.49067 4.59733 8.62667 4.784 8.728 5.008C8.82933 5.22667 8.88 5.48267 8.88 5.776C8.88 6.032 8.85067 6.25867 8.792 6.456C8.73333 6.648 8.65067 6.824 8.544 6.984C8.44267 7.13867 8.32 7.28 8.176 7.408C8.032 7.536 7.87733 7.66133 7.712 7.784C7.64267 7.832 7.55733 7.888 7.456 7.952C7.36 8.016 7.26133 8.08267 7.16 8.152C7.064 8.22133 6.97333 8.29333 6.888 8.368C6.80267 8.44267 6.74133 8.51467 6.704 8.584H8.92V9.776Z",fill:"var(--color-primary-default)"}));default:return undefined}}o.propTypes={stepNumber:s.default.number}}}},{package:"$root$",file:"ui/pages/swaps/awaiting-signatures/swap-step-icon.js"}],[5905,{"../../../../shared/constants/metametrics":4505,"../../../../shared/constants/swaps":4516,"../../../../shared/lib/ui-utils":4532,"../../../../shared/modules/selectors":4554,"../../../../shared/modules/swaps.utils":4559,"../../../components/ui/mascot":5262,"../../../components/ui/pulse-loader":5283,"../../../contexts/i18n":5324,"../../../contexts/metametrics":5327,"../../../ducks/swaps/swaps":5351,"../../../helpers/constants/routes":5361,"../../../selectors":5987,"../../../store/actions":5998,"../create-new-swap":5915,"../swaps-footer":5965,"../swaps.util":5967,"../view-on-block-explorer":5969,"./quotes-timeout-icon":5907,"./swap-failure-icon":5908,"./swap-success-icon":5909,"@metamask/etherscan-link":1369,events:3328,"lodash/isEqual":3824,"prop-types":3997,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=M;var n=R(e("events")),s=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=I(t);if(a&&a.has(e))return a.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=s?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n.default=e,a&&a.set(e,n),n}(e("react")),r=e("react-redux"),o=R(e("prop-types")),i=e("react-router-dom"),l=R(e("lodash/isEqual")),c=e("@metamask/etherscan-link"),u=e("../../../contexts/i18n"),d=e("../../../contexts/metametrics"),p=e("../../../../shared/constants/metametrics"),f=e("../../../selectors"),m=e("../../../../shared/modules/selectors"),g=e("../../../ducks/swaps/swaps"),h=R(e("../../../components/ui/mascot")),_=e("../../../../shared/constants/swaps"),E=e("../../../../shared/modules/swaps.utils"),y=R(e("../../../components/ui/pulse-loader")),b=e("../../../helpers/constants/routes"),w=e("../../../store/actions"),v=e("../swaps.util"),k=R(e("../swaps-footer")),T=R(e("../create-new-swap")),C=R(e("../view-on-block-explorer")),x=e("../../../../shared/lib/ui-utils"),S=R(e("./swap-failure-icon")),N=R(e("./swap-success-icon")),O=R(e("./quotes-timeout-icon"));function I(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(I=function(e){return e?a:t})(e)}function R(e){return e&&e.__esModule?e:{default:e}}function M({swapComplete:e,errorKey:t,txHash:a,tokensReceived:o,submittingSwap:I,txId:R}){const M=(0,s.useContext)(u.I18nContext),P=(0,s.useContext)(d.MetaMetricsContext),D=(0,i.useHistory)(),A=(0,r.useDispatch)(),L=(0,s.useRef)(new n.default),{swapMetaData:j}=(0,r.useSelector)((e=>(0,f.getFullTxData)(e,R)))||{},F=(0,r.useSelector)(g.getFetchParams,l.default),B=(0,r.useSelector)(g.getFromTokenInputValue),U=(0,r.useSelector)(g.getMaxSlippage),W=(0,r.useSelector)(g.getUsedQuote,l.default),q=(0,r.useSelector)(g.getApproveTxParams,r.shallowEqual),$=(0,r.useSelector)(g.getUsedSwapsGasPrice),V=(0,r.useSelector)(f.getCurrentCurrency),H=(0,r.useSelector)(f.getUSDConversionRate),K=(0,r.useSelector)(f.getCurrentChainId),Q=(0,r.useSelector)(f.getRpcPrefsForCurrentProvider,r.shallowEqual),[z,G]=(0,s.useState)(!1);let Y;if(W&&$){var Z;Y=(0,v.getRenderableNetworkFeesForQuote)({tradeGas:W.gasEstimateWithRefund||W.averageGas,approveGas:(null==q?void 0:q.gas)||"0x0",gasPrice:$,currentCurrency:V,conversionRate:H,tradeValue:null==W||null===(Z=W.trade)||void 0===Z?void 0:Z.value,sourceSymbol:null==j?void 0:j.token_from,sourceAmount:W.sourceAmount,chainId:K}).rawNetworkFees}const J=(0,r.useSelector)(f.isHardwareWallet),X=(0,r.useSelector)(f.getHardwareWalletType),ee=(0,r.useSelector)(m.getSmartTransactionsOptInStatus),te=(0,r.useSelector)(m.getSmartTransactionsEnabled),ae=(0,r.useSelector)(g.getCurrentSmartTransactionsEnabled),ne={token_from:null==j?void 0:j.token_from,token_from_amount:null==j?void 0:j.token_from_amount,token_to:null==j?void 0:j.token_to,request_type:null!=F&&F.balanceError?"Quote":"Order",slippage:null==j?void 0:j.slippage,custom_slippage:2===(null==j?void 0:j.slippage),gas_fees:Y,is_hardware_wallet:J,hardware_wallet_type:X,stx_enabled:te,current_stx_enabled:ae,stx_user_opt_in:ee},se=Q.blockExplorerUrl??_.SWAPS_CHAINID_DEFAULT_BLOCK_EXPLORER_URL_MAP[K]??null,re=(0,c.getBlockExplorerLink)({hash:a,chainId:K},{blockExplorerUrl:se});let oe,ie,le,ce,ue;return t===_.OFFLINE_FOR_MAINTENANCE?(oe=M("offlineForMaintenance"),le=M("metamaskSwapsOfflineDescription"),ce=M("close"),ie=s.default.createElement(S.default,null)):t===_.SWAP_FAILED_ERROR?(oe=M("swapFailedErrorTitle"),le=M("swapFailedErrorDescriptionWithSupportLink",[s.default.createElement("a",{className:"awaiting-swap__support-link",key:"awaiting-swap-support-link",href:x.SUPPORT_LINK,target:"_blank",rel:"noopener noreferrer",onClick:()=>{P({category:p.MetaMetricsEventCategory.Swaps,event:p.MetaMetricsEventName.SupportLinkClicked,properties:{url:x.SUPPORT_LINK}},{contextPropsIntoEventProperties:[p.MetaMetricsContextProp.PageTitle]})}},new URL(x.SUPPORT_LINK).hostname)]),ce=M("tryAgain"),ie=s.default.createElement(S.default,null),ue=re&&s.default.createElement(C.default,{blockExplorerUrl:re,sensitiveTrackingProperties:ne})):t===_.QUOTES_EXPIRED_ERROR?(oe=M("swapQuotesExpiredErrorTitle"),le=M("swapQuotesExpiredErrorDescription"),ce=M("tryAgain"),ie=s.default.createElement(O.default,null),z||(G(!0),P({event:"Quotes Timed Out",category:p.MetaMetricsEventCategory.Swaps,sensitiveProperties:ne}))):t===_.ERROR_FETCHING_QUOTES?(oe=M("swapFetchingQuotesErrorTitle"),le=M("swapFetchingQuotesErrorDescription"),ce=M("back"),ie=s.default.createElement(S.default,null)):t===_.QUOTES_NOT_AVAILABLE_ERROR?(oe=M("swapQuotesNotAvailableErrorTitle"),le=M("swapQuotesNotAvailableErrorDescription"),ce=M("tryAgain"),ie=s.default.createElement(S.default,null)):t===_.CONTRACT_DATA_DISABLED_ERROR?(oe=M("swapContractDataDisabledErrorTitle"),le=M("swapContractDataDisabledErrorDescription"),ce=M("tryAgain"),ie=s.default.createElement(S.default,null)):t||e?!t&&e&&(oe=M("swapTransactionComplete"),ie=s.default.createElement(N.default,null),ce=M("close"),le=M("swapTokenAvailable",[s.default.createElement("span",{key:"swapTokenAvailable-2",className:"awaiting-swap__amount-and-symbol"},`${o||""} ${null==j?void 0:j.token_to}`)]),ue=re&&s.default.createElement(C.default,{blockExplorerUrl:re,sensitiveTrackingProperties:ne})):(oe=M("swapProcessing"),ie=s.default.createElement(y.default,null),ce=M("swapsViewInActivity"),le=M("swapOnceTransactionHasProcess",[s.default.createElement("span",{key:"swapOnceTransactionHasProcess-1",className:"awaiting-swap__amount-and-symbol","data-testid":"awaiting-swap-amount-and-symbol"},null==j?void 0:j.token_to)]),ue=re&&s.default.createElement(C.default,{blockExplorerUrl:re,sensitiveTrackingProperties:ne})),(0,s.useEffect)((()=>{t&&A((0,w.stopPollingForQuotes)())}),[A,t]),s.default.createElement("div",{className:"awaiting-swap"},s.default.createElement("div",{className:"awaiting-swap__content"},!(e||t)&&s.default.createElement(h.default,{animationEventEmitter:L.current,width:"90",height:"90"}),s.default.createElement("div",{className:"awaiting-swap__status-image"},ie),s.default.createElement("div",{className:"awaiting-swap__header","data-testid":"awaiting-swap-header"},oe),s.default.createElement("div",{className:"awaiting-swap__main-description","data-testid":"awaiting-swap-main-description"},le),ue),!t&&e?s.default.createElement(T.default,{sensitiveTrackingProperties:ne}):null,s.default.createElement(k.default,{onSubmit:async()=>{t===_.OFFLINE_FOR_MAINTENANCE?(await A((0,g.prepareToLeaveSwaps)()),D.push(b.DEFAULT_ROUTE)):t===_.QUOTES_EXPIRED_ERROR?(A((0,g.prepareForRetryGetQuotes)()),await A((0,g.fetchQuotesAndSetQuoteState)(D,B,U,P))):t?await A((0,g.navigateBackToBuildQuote)(D)):((0,E.isSwapsDefaultTokenSymbol)(null==j?void 0:j.token_to,K)||e||await A((0,w.setDefaultHomeActiveTabName)("activity")),D.push(b.DEFAULT_ROUTE))},onCancel:async()=>await A((0,g.navigateBackToBuildQuote)(D)),submitText:ce,disabled:I,hideCancel:t!==_.QUOTES_EXPIRED_ERROR}))}M.propTypes={swapComplete:o.default.bool,txHash:o.default.string,tokensReceived:o.default.string,errorKey:o.default.oneOf([_.QUOTES_EXPIRED_ERROR,_.SWAP_FAILED_ERROR,_.ERROR_FETCHING_QUOTES,_.QUOTES_NOT_AVAILABLE_ERROR,_.OFFLINE_FOR_MAINTENANCE,_.CONTRACT_DATA_DISABLED_ERROR]),submittingSwap:o.default.bool,txId:o.default.string}}}},{package:"$root$",file:"ui/pages/swaps/awaiting-swap/awaiting-swap.js"}],[5906,{"./awaiting-swap":5905},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return s.default}});var n,s=(n=e("./awaiting-swap"))&&n.__esModule?n:{default:n}}}},{package:"$root$",file:"ui/pages/swaps/awaiting-swap/index.js"}],[5907,{react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=function(){return s.default.createElement("svg",{width:"44",height:"44",viewBox:"0 0 44 44",fill:"none",xmlns:"http://www.w3.org/2000/svg"},s.default.createElement("path",{d:"M22 0C9.96768 0 0.178406 9.78928 0.178406 21.8216C0.178406 33.8539 9.96768 43.6432 22 43.6432C34.0323 43.6432 43.8216 33.8539 43.8216 21.8216C43.8216 9.78929 34.0323 0 22 0ZM22 3.27324C32.2633 3.27324 40.5484 11.5583 40.5484 21.8216C40.5484 32.0849 32.2633 40.3699 22 40.3699C11.7367 40.3699 3.45164 32.0849 3.45164 21.8216C3.45164 11.5583 11.7367 3.27324 22 3.27324ZM22 6.00094C21.0961 6.00094 20.3634 6.73371 20.3634 7.63756V21.8216C20.3634 22.4269 20.6932 22.9534 21.1817 23.2366L32.5187 29.783C33.3014 30.235 34.3001 29.9692 34.752 29.1864C35.2039 28.4036 34.938 27.405 34.1553 26.953L23.6366 20.8839V7.63756C23.6366 6.73371 22.9039 6.00094 22 6.00094Z",fill:"var(--color-primary-default)"}))};var n,s=(n=e("react"))&&n.__esModule?n:{default:n}}}},{package:"$root$",file:"ui/pages/swaps/awaiting-swap/quotes-timeout-icon.js"}],[5908,{react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=function(){return s.default.createElement("svg",{width:"45",height:"39",viewBox:"0 0 45 39",fill:"none",xmlns:"http://www.w3.org/2000/svg"},s.default.createElement("path",{d:"M22.203 0.424438L0.285706 38.2816H44.1203L22.203 0.424438ZM22.203 8.39436L37.2064 34.2966H7.19961L22.203 8.39436ZM20.2105 16.3643V24.3342H24.1955V16.3643H20.2105ZM20.2105 28.3192V32.3041H24.1955V28.3192",fill:"var(--color-error-default)"}))};var n,s=(n=e("react"))&&n.__esModule?n:{default:n}}}},{package:"$root$",file:"ui/pages/swaps/awaiting-swap/swap-failure-icon.js"}],[5909,{react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=function(){return s.default.createElement("svg",{width:"38",height:"38",viewBox:"0 0 38 38",fill:"none",xmlns:"http://www.w3.org/2000/svg"},s.default.createElement("path",{d:"M34.1429 19C34.1429 23.0161 32.5474 26.8678 29.7076 29.7076C26.8678 32.5474 23.0161 34.1428 19 34.1428C14.9839 34.1428 11.1322 32.5474 8.29238 29.7076C5.45254 26.8678 3.85714 23.0161 3.85714 19C3.85714 14.9838 5.45254 11.1322 8.29238 8.29237C11.1322 5.45253 14.9839 3.85713 19 3.85713C20.4386 3.85713 21.8393 4.06534 23.1643 4.44391L26.1361 1.47213C23.9404 0.563554 21.5364 0.0714111 19 0.0714111C16.5143 0.0714111 14.0529 0.561013 11.7563 1.51226C9.45983 2.46351 7.37316 3.85778 5.61548 5.61546C2.06568 9.16526 0.0714264 13.9798 0.0714264 19C0.0714264 24.0201 2.06568 28.8347 5.61548 32.3845C7.37316 34.1422 9.45983 35.5364 11.7563 36.4877C14.0529 37.4389 16.5143 37.9286 19 37.9286C24.0202 37.9286 28.8347 35.9343 32.3845 32.3845C35.9343 28.8347 37.9286 24.0201 37.9286 19H34.1429ZM11.2582 15.3657L8.58928 18.0536L17.1071 26.5714L36.0357 7.64284L33.3668 4.95498L17.1071 21.2146L11.2582 15.3657Z",fill:"var(--color-success-default)"}))};var n,s=(n=e("react"))&&n.__esModule?n:{default:n}}}},{package:"$root$",file:"ui/pages/swaps/awaiting-swap/swap-success-icon.js"}],[5910,{"../../../../shared/constants/metametrics":4505,"../../../../shared/constants/swaps":4516,"../../../../shared/lib/swaps-utils":4528,"../../../../shared/lib/token-util":4530,"../../../../shared/lib/transactions-controller-utils":4531,"../../../../shared/modules/conversion.utils":4537,"../../../../shared/modules/selectors":4554,"../../../../shared/modules/string-utils":4558,"../../../../shared/modules/swaps.utils":4559,"../../../components/ui/actionable-message/actionable-message":5190,"../../../components/ui/info-tooltip":5248,"../../../contexts/i18n":5324,"../../../contexts/metametrics":5327,"../../../ducks/metamask/metamask":5346,"../../../ducks/swaps/swaps":5351,"../../../helpers/constants/routes":5361,"../../../helpers/utils/util":5399,"../../../hooks/useEqualityCheck":5422,"../../../hooks/useEthFiatAmount":5423,"../../../hooks/usePrevious":5436,"../../../hooks/useTokenFiatAmount":5446,"../../../hooks/useTokenTracker":5447,"../../../hooks/useTokensToSearch":5448,"../../../selectors":5987,"../../../store/actions":5998,"../dropdown-input-pair":5917,"../dropdown-search-list":5919,"../slippage-buttons":5954,"../swaps-footer":5965,"../swaps.util":5967,"@metamask/etherscan-link":1369,"bignumber.js":2933,classnames:3049,lodash:3836,"prop-types":3997,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=H;var n=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=q(t);if(a&&a.has(e))return a.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=s?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n.default=e,a&&a.set(e,n),n}(e("react")),s=W(e("bignumber.js")),r=W(e("prop-types")),o=e("react-redux"),i=W(e("classnames")),l=e("lodash"),c=e("react-router-dom"),u=e("@metamask/etherscan-link"),d=e("../../../contexts/metametrics"),p=e("../../../hooks/useTokensToSearch"),f=e("../../../hooks/useEqualityCheck"),m=e("../../../contexts/i18n"),g=W(e("../dropdown-input-pair")),h=W(e("../dropdown-search-list")),_=W(e("../slippage-buttons")),E=e("../../../ducks/metamask/metamask"),y=W(e("../../../components/ui/info-tooltip")),b=W(e("../../../components/ui/actionable-message/actionable-message")),w=e("../../../helpers/constants/routes"),v=e("../../../ducks/swaps/swaps"),k=e("../../../selectors"),T=e("../../../../shared/modules/selectors"),C=e("../../../helpers/utils/util"),x=e("../../../hooks/usePrevious"),S=e("../../../hooks/useTokenTracker"),N=e("../../../hooks/useTokenFiatAmount"),O=e("../../../hooks/useEthFiatAmount"),I=e("../../../../shared/modules/swaps.utils"),R=e("../../../../shared/constants/metametrics"),M=e("../../../../shared/constants/swaps"),P=e("../../../store/actions"),D=e("../swaps.util"),A=W(e("../swaps-footer")),L=e("../../../../shared/modules/string-utils"),j=e("../../../../shared/lib/transactions-controller-utils"),F=e("../../../../shared/lib/token-util"),B=e("../../../../shared/lib/swaps-utils"),U=e("../../../../shared/modules/conversion.utils");function W(e){return e&&e.__esModule?e:{default:e}}function q(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(q=function(e){return e?a:t})(e)}const $=[{name:"name",weight:.499},{name:"symbol",weight:.499},{name:"address",weight:.002}];let V;function H({ethBalance:e,selectedAccountAddress:t,shuffledTokensList:a}){var r;const W=(0,n.useContext)(m.I18nContext),q=(0,o.useDispatch)(),H=(0,c.useHistory)(),K=(0,n.useContext)(d.MetaMetricsContext),[Q,z]=(0,n.useState)(undefined),[G,Y]=(0,n.useState)(!1),Z=(0,o.useSelector)(v.getIsFeatureFlagLoaded),J=(0,o.useSelector)(v.getBalanceError),X=(0,o.useSelector)(v.getFetchParams,l.isEqual),{sourceTokenInfo:ee={},destinationTokenInfo:te={}}=(null==X?void 0:X.metaData)||{},ae=(0,o.useSelector)(E.getTokens,l.isEqual),ne=(0,o.useSelector)(v.getTopAssets,l.isEqual),se=(0,o.useSelector)(v.getFromToken,l.isEqual),re=(0,o.useSelector)(v.getFromTokenInputValue),oe=(0,o.useSelector)(v.getFromTokenError),ie=(0,o.useSelector)(v.getMaxSlippage),le=(0,o.useSelector)(v.getToToken,l.isEqual)||te,ce=(0,o.useSelector)(k.getSwapsDefaultToken,l.isEqual),ue=(0,o.useSelector)(k.getCurrentChainId),de=(0,o.useSelector)(k.getRpcPrefsForCurrentProvider,o.shallowEqual),pe=(0,o.useSelector)(k.getTokenList,l.isEqual),fe=(0,o.useSelector)(v.getQuotes,l.isEqual),me=Object.keys(fe).length>0,ge=(0,o.useSelector)(v.getLatestAddedTokenTo,l.isEqual),he=(0,o.useSelector)(k.getTokenExchangeRates,l.isEqual),_e=(0,o.useSelector)(E.getConversionRate),Ee=(0,o.useSelector)(k.getUseCurrencyRateCheck),ye=(0,o.useSelector)(k.isHardwareWallet),be=(0,o.useSelector)(k.getHardwareWalletType),we=(0,o.useSelector)(T.getSmartTransactionsOptInStatus),ve=(0,o.useSelector)(T.getSmartTransactionsEnabled),ke=(0,o.useSelector)(v.getCurrentSmartTransactionsEnabled),Te=(0,o.useSelector)(v.getSmartTransactionFees),Ce=(0,o.useSelector)(k.getCurrentCurrency),xe=(0,I.isSwapsDefaultTokenSymbol)(null==ee?void 0:ee.symbol,ue)?ce:ee,{loading:Se,tokensWithBalances:Ne}=(0,S.useTokenTracker)({tokens:ae}),Oe=!(0,I.isSwapsDefaultTokenSymbol)(null==se?void 0:se.symbol,ue)&&null!=se&&se.balance?[se]:[],Ie=(0,l.uniqBy)([...Ne,...ae,...Oe],"address"),Re=(0,f.useEqualityCheck)(Ie),Me=(0,p.getRenderableTokenData)(se||xe,he,_e,Ce,ue,pe),Pe=(0,p.useTokensToSearch)({usersTokens:Re,topTokens:ne,shuffledTokensList:a,tokenBucketPriority:M.TokenBucketPriority.owned}),De=(0,p.useTokensToSearch)({usersTokens:Re,topTokens:ne,shuffledTokensList:a,tokenBucketPriority:M.TokenBucketPriority.top}),Ae=Pe.find((({address:e})=>(0,L.isEqualCaseInsensitive)(e,null==le?void 0:le.address)))||le,Le=(null==Ae?void 0:Ae.address)&&!(0,I.isSwapsDefaultTokenAddress)(null==Ae?void 0:Ae.address,ue),je=Number((null==Ae?void 0:Ae.occurances)||(null==Ae?void 0:Ae.occurrences)||0),{address:Fe,symbol:Be,string:Ue,decimals:We,balance:qe}=Me||{},{address:$e}=Ae||{},Ve=qe&&(0,j.calcTokenAmount)(qe,We).toString(10),He=(0,x.usePrevious)(Ve),Ke=(0,N.useTokenFiatAmount)(Fe,re||0,Be,{showFiat:Ee},!0),Qe=(0,O.useEthFiatAmount)(re||0,{showFiat:Ee},!0),ze=(0,I.isSwapsDefaultTokenSymbol)(Be,ue)?Qe:Ke,Ge=(0,n.useCallback)(((e,t)=>{q((0,v.setFromTokenInputValue)(e));const a=new s.default(e||0).gt(t||0);J!==a&&q((0,v.setBalanceError)(a)),q((0,v.setFromTokenError)(se&&(0,D.countDecimals)(e)>se.decimals?"tooManyDecimals":null))}),[q,se,J]),Ye=e=>{null!=e&&e.address&&!ze&&null!==Q?(0,D.fetchTokenPrice)(e.address).then((e=>{null!==e&&e!==undefined&&z(e)})):z(null),null!=e&&e.address&&!Re.find((t=>(0,L.isEqualCaseInsensitive)(t.address,e.address)))&&(0,F.fetchTokenBalance)(e.address,t,global.ethereumProvider).then((t=>{if(null!=t&&t.balance){const a=t.balance.toString(10),n=(0,j.calcTokenAmount)(a,e.decimals);q((0,v.setSwapsFromToken)({...e,string:n.toString(10),balance:a}))}})),q((0,v.setSwapsFromToken)(e)),Ge(null!=e&&e.address?re:"",e.string,e.decimals)},Ze=(0,u.getTokenTrackerLink)(Ae.address,ue,null,null,{blockExplorerUrl:M.SWAPS_CHAINID_DEFAULT_BLOCK_EXPLORER_URL_MAP[ue]??null}),Je=de.blockExplorerUrl?(0,C.getURLHostName)(Ze):W("etherscan"),{address:Xe}=le||{},et=(0,n.useCallback)((e=>{ge&&e.address!==Xe&&q((0,P.ignoreTokens)({tokensToIgnore:Xe,dontShowLoadingIndicator:!0})),q((0,v.setSwapToToken)(e)),Y(!1)}),[q,ge,Xe]),tt=(0,n.useCallback)((e=>(0,L.isEqualCaseInsensitive)(e.address,Fe)),[Fe]),at=Ne.find((e=>(0,L.isEqualCaseInsensitive)(e.address,null==se?void 0:se.address))),nt=(0,x.usePrevious)(at);(0,n.useEffect)((()=>{const e=!(0,I.isSwapsDefaultTokenAddress)(null==at?void 0:at.address,ue),t=(0,L.isEqualCaseInsensitive)(null==at?void 0:at.address,null==nt?void 0:nt.address),a=(null==at?void 0:at.balance)!==(null==nt?void 0:nt.balance);e&&t&&a&&q((0,v.setSwapsFromToken)({...se,balance:null==at?void 0:at.balance,string:null==at?void 0:at.string}))}),[q,at,nt,se,ue]),(0,n.useEffect)((()=>{(0,I.isSwapsDefaultTokenAddress)(null==se?void 0:se.address,ue)&&(null==se?void 0:se.balance)!==(0,U.hexToDecimal)(e)&&q((0,v.setSwapsFromToken)({...se,balance:(0,U.hexToDecimal)(e),string:(0,U.getValueFromWeiHex)({value:e,numberOfDecimals:4,toDenomination:"ETH"})}))}),[q,se,e,ue]),(0,n.useEffect)((()=>{He!==Ve&&Ge(re,Ve)}),[Ge,He,re,Ve]);const st=(0,n.useCallback)((()=>{K({event:"Build Quote Page Loaded",category:R.MetaMetricsEventCategory.Swaps,sensitiveProperties:{is_hardware_wallet:ye,hardware_wallet_type:be,stx_enabled:ve,current_stx_enabled:ke,stx_user_opt_in:we}})}),[K,ye,be,ve,ke,we]);(0,n.useEffect)((()=>{q((0,P.resetSwapsPostFetchState)()),q((0,v.setReviewSwapClickedTimestamp)()),st()}),[q,st]),(0,n.useEffect)((()=>{ve&&null!=Te&&Te.tradeTxFees&&(0,P.clearSmartTransactionFees)()}),[ve,Te]);const rt=()=>n.default.createElement("a",{className:"build-quote__token-etherscan-link build-quote__underline",key:"build-quote-etherscan-link",onClick:()=>{K({event:R.MetaMetricsEventName.ExternalLinkClicked,category:R.MetaMetricsEventCategory.Swaps,properties:{link_type:R.MetaMetricsEventLinkType.TokenTracker,location:"Swaps Confirmation",url_domain:(0,C.getURLHostName)(Ze)}}),global.platform.openTab({url:Ze})},target:"_blank",rel:"noopener noreferrer"},Je);let ot="";Ze&&(1===je?ot=W("verifyThisTokenOn",[n.default.createElement(rt,{key:"block-explorer-link"})]):0===je&&(ot=W("verifyThisUnconfirmedTokenOn",[n.default.createElement(rt,{key:"block-explorer-link"})])));const it=W("swapYourTokenBalance",[Ue||"0",Be||(null===(r=M.SWAPS_CHAINID_DEFAULT_TOKEN_MAP[ue])||void 0===r?void 0:r.symbol)||""]),lt=(0,B.shouldEnableDirectWrapping)(ue,Fe,Ae.address),ct=oe||!Z||!Number(re)||!(null!=Ae&&Ae.address)||!Fe||Number(ie)<0||Number(ie)>M.MAX_ALLOWED_SLIPPAGE||Le&&je<2&&!G;return(0,n.useEffect)((()=>{q((0,P.clearSwapsQuotes)()),q((0,P.stopPollingForQuotes)());return V=setTimeout((()=>{V=null,ct||(async()=>{await q((0,v.fetchQuotesAndSetQuoteState)(H,re,ie,K,!0))})()}),1e3),()=>clearTimeout(V)}),[q,H,ie,K,ct,re,Fe,$e,we]),n.default.createElement("div",{className:"build-quote"},n.default.createElement("div",{className:"build-quote__content"},n.default.createElement("div",{className:"build-quote__dropdown-input-pair-header"},n.default.createElement("div",{className:"build-quote__input-label"},W("swapSwapFrom")),!(0,I.isSwapsDefaultTokenSymbol)(Be,ue)&&n.default.createElement("div",{className:"build-quote__max-button","data-testid":"build-quote__max-button",onClick:()=>Ge(Ve||"0",Ve)},W("max"))),n.default.createElement(g.default,{onSelect:Ye,itemsToSearch:Pe,onInputChange:e=>{Ge(e,Ve)},inputValue:re,leftValue:re&&ze,selectedItem:Me,maxListItems:30,loading:Se&&(!(null!=Pe&&Pe.length)||!ne||!Object.keys(ne).length),selectPlaceHolderText:W("swapSelect"),hideItemIf:e=>(0,L.isEqualCaseInsensitive)(e.address,null==Ae?void 0:Ae.address),listContainerClassName:"build-quote__open-dropdown",autoFocus:!0}),n.default.createElement("div",{className:(0,i.default)("build-quote__balance-message",{"build-quote__balance-message--error":J||oe})},!oe&&!J&&Be&&it,!oe&&J&&Be&&n.default.createElement("div",{className:"build-quite__insufficient-funds"},n.default.createElement("div",{className:"build-quite__insufficient-funds-first"},W("swapsNotEnoughForTx",[Be])),n.default.createElement("div",{className:"build-quite__insufficient-funds-second"},it)),oe&&n.default.createElement(n.default.Fragment,null,n.default.createElement("div",{className:"build-quote__form-error"},W("swapTooManyDecimalsError",[Be,We])),n.default.createElement("div",null,it))),n.default.createElement("div",{className:"build-quote__swap-arrows-row"},n.default.createElement("button",{className:"build-quote__swap-arrows","data-testid":"build-quote__swap-arrows",onClick:()=>{et(Me),Ye(Ae)}},n.default.createElement("i",{className:"fa fa-arrow-up",title:W("swapSwapSwitch")}),n.default.createElement("i",{className:"fa fa-arrow-down",title:W("swapSwapSwitch")}))),n.default.createElement("div",{className:"build-quote__dropdown-swap-to-header"},n.default.createElement("div",{className:"build-quote__input-label"},W("swapSwapTo"))),n.default.createElement("div",{className:"dropdown-input-pair dropdown-input-pair__to"},n.default.createElement(h.default,{startingItem:Ae,itemsToSearch:De,fuseSearchKeys:$,selectPlaceHolderText:W("swapSelectAToken"),maxListItems:30,onSelect:et,loading:Se&&(!(null!=De&&De.length)||!ne||!Object.keys(ne).length),externallySelectedItem:Ae,hideItemIf:tt,listContainerClassName:"build-quote__open-to-dropdown",hideRightLabels:!0,defaultToAll:!0,shouldSearchForImports:!0})),Le&&(je<2?n.default.createElement(b.default,{type:1===je?"warning":"danger",message:n.default.createElement("div",{className:"build-quote__token-verification-warning-message"},n.default.createElement("div",{className:"build-quote__bold"},W(1===je?"swapTokenVerificationOnlyOneSource":"swapTokenVerificationAddedManually")),n.default.createElement("div",null,ot)),primaryAction:G?null:{label:W("continue"),onClick:()=>Y(!0)},withRightButton:!0,infoTooltipText:Ze&&W("swapVerifyTokenExplanation",[Je])}):n.default.createElement("div",{className:"build-quote__token-message"},n.default.createElement("span",{className:"build-quote__bold",key:"token-verification-bold-text"},W("swapTokenVerificationSources",[je])),Ze&&n.default.createElement(n.default.Fragment,null,W("swapTokenVerificationMessage",[n.default.createElement("a",{className:"build-quote__token-etherscan-link",key:"build-quote-etherscan-link",onClick:()=>{K({event:"Clicked Block Explorer Link",category:R.MetaMetricsEventCategory.Swaps,properties:{link_type:"Token Tracker",action:"Swaps Confirmation",block_explorer_domain:(0,C.getURLHostName)(Ze)}}),global.platform.openTab({url:Ze})},target:"_blank",rel:"noopener noreferrer"},Je)]),n.default.createElement(y.default,{position:"top",contentText:W("swapVerifyTokenExplanation",[Je]),containerClassName:"build-quote__token-tooltip-container",key:"token-verification-info-tooltip"})))),!lt&&n.default.createElement("div",{className:"build-quote__slippage-buttons-container"},n.default.createElement(_.default,{onSelect:e=>{q((0,v.setMaxSlippage)(e))},maxAllowedSlippage:M.MAX_ALLOWED_SLIPPAGE,currentSlippage:ie,isDirectWrappingEnabled:lt}))),n.default.createElement(A.default,{onSubmit:async()=>{q((0,v.setReviewSwapClickedTimestamp)(Date.now())),V?(clearTimeout(V),q((0,v.fetchQuotesAndSetQuoteState)(H,re,ie,K))):me?H.push(w.VIEW_QUOTE_ROUTE):(await q((0,P.setBackgroundSwapRouteState)("loading")),H.push(w.LOADING_QUOTES_ROUTE))},submitText:W("swapReviewSwap"),disabled:ct,hideCancel:!0,showTermsOfService:!0}))}H.propTypes={ethBalance:r.default.string,selectedAccountAddress:r.default.string,shuffledTokensList:r.default.array}}}},{package:"$root$",file:"ui/pages/swaps/build-quote/build-quote.js"}],[5911,{"./build-quote":5910},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return s.default}});var n,s=(n=e("./build-quote"))&&n.__esModule?n:{default:n}}}},{package:"$root$",file:"ui/pages/swaps/build-quote/index.js"}],[5912,{"../../../../shared/constants/time":4518,"../../../components/ui/info-tooltip":5248,"../../../contexts/i18n":5324,"../../../ducks/swaps/swaps":5351,classnames:3049,luxon:3843,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=_;var n=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=f(t);if(a&&a.has(e))return a.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=s?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n.default=e,a&&a.set(e,n),n}(e("react")),s=e("react-redux"),r=p(e("prop-types")),o=p(e("classnames")),i=e("luxon"),l=e("../../../contexts/i18n"),c=p(e("../../../components/ui/info-tooltip")),u=e("../../../ducks/swaps/swaps"),d=e("../../../../shared/constants/time");function p(e){return e&&e.__esModule?e:{default:e}}function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(f=function(e){return e?a:t})(e)}function m(e,t,a){return a-(e-t)}function g(e){return Math.max(e-d.SECOND,0)}function h(e,t){const[a,n]=t.split(":");return e<=(60*Number(a)+Number(n))*d.SECOND}function _({timeStarted:e,timeOnly:t,timerBase:a,warningTime:r,labelKey:p,infoTooltipLabelKey:f}){const _=(0,n.useContext)(l.I18nContext),E=(0,n.useRef)(),y=(0,n.useRef)(),b=(0,s.useSelector)(u.getSwapsQuoteRefreshTime),w=(0,s.useSelector)(u.getSwapsQuotePrefetchingRefreshTime),v=y.current?b:w,k=Number(a)||v,[T,C]=(0,n.useState)((()=>Date.now())),[x,S]=(0,n.useState)((()=>m(T,e,k)));(0,n.useEffect)((()=>(E.current===undefined&&(E.current=setInterval((()=>{S(g)}),d.SECOND)),function(){clearInterval(E.current)})),[]),(0,n.useEffect)((()=>{if(y.current||(y.current=e||Date.now()),0===x&&e!==y.current){y.current=e;const t=Date.now();C(t),S(m(t,e,k)),clearInterval(E.current),E.current=setInterval((()=>{S(g)}),d.SECOND)}}),[e,x,k]);const N=i.Duration.fromMillis(x).toFormat("m:ss");let O;return t?O=n.default.createElement("div",{className:"countdown-timer__time"},N):p&&(O=_(p,[n.default.createElement("div",{key:"countdown-time-1",className:"countdown-timer__time"},N)])),n.default.createElement("div",{className:"countdown-timer"},n.default.createElement("div",{"data-testid":"countdown-timer__timer-container",className:(0,o.default)("countdown-timer__timer-container",{"countdown-timer__timer-container--warning":r&&h(x,r)})},O),!t&&f?n.default.createElement(c.default,{position:"bottom",contentText:_(f)}):null)}_.propTypes={timeStarted:r.default.number,timeOnly:r.default.bool,timerBase:r.default.number,warningTime:r.default.string,labelKey:r.default.string,infoTooltipLabelKey:r.default.string}}}},{package:"$root$",file:"ui/pages/swaps/countdown-timer/countdown-timer.js"}],[5913,{"./countdown-timer":5912},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return s.default}});var n,s=(n=e("./countdown-timer"))&&n.__esModule?n:{default:n}}}},{package:"$root$",file:"ui/pages/swaps/countdown-timer/index.js"}],[5914,{"../../../../shared/constants/metametrics":4505,"../../../components/ui/box":5194,"../../../contexts/i18n":5324,"../../../contexts/metametrics":5327,"../../../ducks/swaps/swaps":5351,"../../../helpers/constants/routes":5361,"../../../selectors":5987,"lodash/isEqual":3824,"prop-types":3997,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=_;var n=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=h(t);if(a&&a.has(e))return a.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=s?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n.default=e,a&&a.set(e,n),n}(e("react")),s=e("react-redux"),r=g(e("prop-types")),o=e("react-router-dom"),i=g(e("lodash/isEqual")),l=g(e("../../../components/ui/box")),c=e("../../../contexts/i18n"),u=e("../../../contexts/metametrics"),d=e("../../../../shared/constants/metametrics"),p=e("../../../ducks/swaps/swaps"),f=e("../../../helpers/constants/routes"),m=e("../../../selectors");function g(e){return e&&e.__esModule?e:{default:e}}function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(h=function(e){return e?a:t})(e)}function _({sensitiveTrackingProperties:e}){const t=(0,n.useContext)(c.I18nContext),a=(0,n.useContext)(u.MetaMetricsContext),r=(0,s.useDispatch)(),g=(0,o.useHistory)(),h=(0,s.useSelector)(m.getSwapsDefaultToken,i.default);return n.default.createElement(l.default,{marginBottom:3,className:"create-new-swap"},n.default.createElement("button",{onClick:async()=>{a({event:"Make Another Swap",category:d.MetaMetricsEventCategory.Swaps,sensitiveProperties:e}),g.push(f.DEFAULT_ROUTE),await r((0,p.navigateBackToBuildQuote)(g)),r((0,p.setSwapsFromToken)(h))}},t("makeAnotherSwap")))}_.propTypes={sensitiveTrackingProperties:r.default.object.isRequired}}}},{package:"$root$",file:"ui/pages/swaps/create-new-swap/create-new-swap.js"}],[5915,{"./create-new-swap":5914},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return s.default}});var n,s=(n=e("./create-new-swap"))&&n.__esModule?n:{default:n}}}},{package:"$root$",file:"ui/pages/swaps/create-new-swap/index.js"}],[5916,{"../../../components/ui/text-field":5302,"../dropdown-search-list":5919,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=p;var n=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=c(t);if(a&&a.has(e))return a.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=s?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n.default=e,a&&a.set(e,n),n}(e("react")),s=l(e("prop-types")),r=l(e("classnames")),o=l(e("../dropdown-search-list")),i=l(e("../../../components/ui/text-field"));function l(e){return e&&e.__esModule?e:{default:e}}function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(c=function(e){return e?a:t})(e)}const u={1:5.86,2:10.05,3:10.45,4:11.1,5:10,6:10.06,7:9.17,8:10.28,9:10.06,0:11.22,".":4.55},d=e=>String(e).split("").reduce(((e,t)=>e+u[t]),12);function p({itemsToSearch:e=[],onInputChange:t,inputValue:a="",onSelect:s,leftValue:l,selectedItem:c,SearchListPlaceholder:u,maxListItems:p,selectPlaceHolderText:f,loading:m,hideItemIf:g,listContainerClassName:h,autoFocus:_}){const[E,y]=(0,n.useState)(!1),b=(0,n.useRef)(),[w,v]=(0,n.useState)(null);return(0,n.useEffect)((()=>{var e;v(((null==b||null===(e=b.current)||void 0===e||null===(e=e.getBoundingClientRect())||void 0===e?void 0:e.width)||0)+d(a||"")>137)}),[a,b]),n.default.createElement("div",{className:"dropdown-input-pair"},n.default.createElement(o.default,{itemsToSearch:e,SearchListPlaceholder:u,fuseSearchKeys:[{name:"name",weight:.499},{name:"symbol",weight:.499},{name:"address",weight:.002}],maxListItems:p,onOpen:()=>y(!0),onClose:()=>y(!1),onSelect:s,className:E?"dropdown-input-pair__list--full-width":"",externallySelectedItem:c,selectPlaceHolderText:f,selectorClosedClassName:"dropdown-input-pair__selector--closed",listContainerClassName:h,loading:m,hideItemIf:g,defaultToAll:!0}),!E&&n.default.createElement(i.default,{className:(0,r.default)("dropdown-input-pair__input",{"dropdown-input-pair__two-line-input":w}),type:"text",placeholder:"0",onChange:e=>{e.stopPropagation();const n="."===e.target.value?"0.":e.target.value;""===n||/^(\.\d+|\d+(\.\d+)?|\d+\.)$/u.test(n)?t(n):t(a||"")},fullWidth:!0,margin:"dense",value:a,autoFocus:_}),!E&&l&&n.default.createElement("div",{className:(0,r.default)("dropdown-input-pair__left-value",{"dropdown-input-pair__left-value--two-lines":w}),ref:b},"≈ ",l))}p.propTypes={itemsToSearch:s.default.array,onInputChange:s.default.func,inputValue:s.default.oneOfType([s.default.number,s.default.string]),onSelect:s.default.func,leftValue:s.default.string,selectedItem:s.default.object,SearchListPlaceholder:s.default.func,maxListItems:s.default.number,selectPlaceHolderText:s.default.string,loading:s.default.bool,hideItemIf:s.default.func,listContainerClassName:s.default.string,autoFocus:s.default.bool}}}},{package:"$root$",file:"ui/pages/swaps/dropdown-input-pair/dropdown-input-pair.js"}],[5917,{"./dropdown-input-pair":5916},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return s.default}});var n,s=(n=e("./dropdown-input-pair"))&&n.__esModule?n:{default:n}}}},{package:"$root$",file:"ui/pages/swaps/dropdown-input-pair/index.js"}],[5918,{"../../../../shared/constants/metametrics":4505,"../../../../shared/constants/swaps":4516,"../../../../shared/modules/selectors":4554,"../../../components/component-library":4955,"../../../components/ui/actionable-message/actionable-message":5190,"../../../components/ui/pulse-loader":5283,"../../../components/ui/url-icon":5319,"../../../contexts/i18n":5324,"../../../contexts/metametrics":5327,"../../../ducks/swaps/swaps":5351,"../../../helpers/utils/util":5399,"../../../selectors/selectors":5994,"../import-token":5925,"../searchable-item-list":5940,classnames:3049,lodash:3836,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=C;var n=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=k(t);if(a&&a.has(e))return a.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=s?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n.default=e,a&&a.set(e,n),n}(e("react")),s=e("react-redux"),r=v(e("prop-types")),o=v(e("classnames")),i=e("lodash"),l=e("../../../contexts/i18n"),c=v(e("../searchable-item-list")),u=v(e("../../../components/ui/pulse-loader")),d=v(e("../../../components/ui/url-icon")),p=e("../../../components/component-library"),f=v(e("../../../components/ui/actionable-message/actionable-message")),m=v(e("../import-token")),g=e("../../../selectors/selectors"),h=e("../../../../shared/modules/selectors"),_=e("../../../../shared/constants/swaps"),E=e("../../../helpers/utils/util"),y=e("../../../ducks/swaps/swaps"),b=e("../../../contexts/metametrics"),w=e("../../../../shared/constants/metametrics");function v(e){return e&&e.__esModule?e:{default:e}}function k(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(k=function(e){return e?a:t})(e)}function T(){return T=Object.assign?Object.assign.bind():function(e){for(var t=1;t{B(!1),null==N||N()}),[N]),ne=(0,n.useCallback)((e=>{null==C||C(e),$(e),ae()}),[C,ae]),se=(0,n.useCallback)((()=>{F||(B(!0),null==S||S())}),[F,S]),re=(0,n.useRef)();(0,n.useEffect)((()=>{re.current=I}));const oe=re.current;(0,n.useEffect)((()=>{I&&!(0,i.isEqual)(I,q)?$(I):oe&&!I&&$(null)}),[I,q,oe]);const ie=Z.blockExplorerUrl??_.SWAPS_CHAINID_DEFAULT_BLOCK_EXPLORER_URL_MAP[Y]??null,le=(0,E.getURLHostName)(ie),ce={onImportTokenCloseClick:()=>{W(!1),ae()},onImportTokenClick:()=>{te({event:"Token Imported",category:w.MetaMetricsEventCategory.Swaps,sensitiveProperties:{symbol:null==V?void 0:V.symbol,address:null==V?void 0:V.address,chain_id:Y,is_hardware_wallet:z,hardware_wallet_type:G,stx_enabled:X,current_stx_enabled:ee,stx_user_opt_in:J}}),null==C||C(V),$(V),H(null),ae()},setIsImportTokenModalOpen:W,tokenForImport:V};return n.default.createElement("div",{className:(0,o.default)("dropdown-search-list",O),"data-testid":"dropdown-search-list",onClick:se,onKeyUp:e=>{"Escape"===e.key?ae():"Enter"===e.key&&se(e)},tabIndex:"0"},V&&U&&n.default.createElement(m.default,T({isOpen:!0},ce)),!F&&n.default.createElement("div",{className:(0,o.default)("dropdown-search-list__selector-closed-container",R)},n.default.createElement("div",{className:"dropdown-search-list__selector-closed"},(null==q?void 0:q.iconUrl)&&n.default.createElement(d.default,{url:q.iconUrl,className:"dropdown-search-list__selector-closed-icon",name:null==q?void 0:q.symbol}),!(null!=q&&q.iconUrl)&&n.default.createElement("div",{className:"dropdown-search-list__default-dropdown-icon"}),n.default.createElement("div",{className:"dropdown-search-list__labels"},n.default.createElement("div",{className:"dropdown-search-list__item-labels"},n.default.createElement("span",{className:(0,o.default)("dropdown-search-list__closed-primary-label",{"dropdown-search-list__select-default":!(null!=q&&q.symbol)})},(null==q?void 0:q.symbol)||a)))),n.default.createElement(p.Icon,{name:p.IconName.ArrowDown,size:p.IconSize.Xs,marginRight:3})),F&&n.default.createElement(n.default.Fragment,null,n.default.createElement(c.default,{itemsToSearch:M?[]:t,Placeholder:()=>M?n.default.createElement("div",{className:"dropdown-search-list__loading-item"},n.default.createElement(u.default,null),n.default.createElement("div",{className:"dropdown-search-list__loading-item-text-container"},n.default.createElement("span",{className:"dropdown-search-list__loading-item-text"},j("swapFetchingTokens")))):n.default.createElement("div",{className:"dropdown-search-list__placeholder"},j("swapBuildQuotePlaceHolderText",[K]),ie&&n.default.createElement("div",{tabIndex:"0",className:"searchable-item-list__item searchable-item-list__item--add-token",key:"searchable-item-list-item-last"},n.default.createElement(f.default,{message:j("addTokenByContractAddress",[n.default.createElement("a",{key:"dropdown-search-list__etherscan-link",onClick:()=>{te({event:"Clicked Block Explorer Link",category:w.MetaMetricsEventCategory.Swaps,properties:{link_type:"Token Tracker",action:"Verify Contract Address",block_explorer_domain:le}}),global.platform.openTab({url:ie})},target:"_blank",rel:"noopener noreferrer"},le)])}))),searchPlaceholderText:j("swapSearchNameOrAddress"),fuseSearchKeys:r,defaultToAll:v,onClickItem:ne,onOpenImportTokenModalClick:e=>{H(e),W(!0)},maxListItems:k,className:(0,o.default)("dropdown-search-list__token-container",e,{"dropdown-search-list--open":F}),hideRightLabels:P,hideItemIf:D,listContainerClassName:A,shouldSearchForImports:L,searchQuery:K,setSearchQuery:Q}),n.default.createElement("div",{className:"dropdown-search-list__close-area","data-testid":"dropdown-search-list__close-area",onClick:e=>{e.stopPropagation(),B(!1),null==N||N()}})))}C.propTypes={itemsToSearch:r.default.array,onSelect:r.default.func,searchListClassName:r.default.string,fuseSearchKeys:r.default.arrayOf(r.default.shape({name:r.default.string,weight:r.default.number})),defaultToAll:r.default.bool,maxListItems:r.default.number,startingItem:r.default.object,onOpen:r.default.func,onClose:r.default.func,className:r.default.string,externallySelectedItem:r.default.object,loading:r.default.bool,selectPlaceHolderText:r.default.string,selectorClosedClassName:r.default.string,hideRightLabels:r.default.bool,hideItemIf:r.default.func,listContainerClassName:r.default.string,shouldSearchForImports:r.default.bool}}}},{package:"$root$",file:"ui/pages/swaps/dropdown-search-list/dropdown-search-list.js"}],[5919,{"./dropdown-search-list":5918},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return s.default}});var n,s=(n=e("./dropdown-search-list"))&&n.__esModule?n:{default:n}}}},{package:"$root$",file:"ui/pages/swaps/dropdown-search-list/index.js"}],[5920,{"../../../../shared/lib/transactions-controller-utils":4531,"../../../components/component-library":4955,"../../../components/ui/box":5194,"../../../contexts/i18n":5324,"../../../helpers/constants/design-system":5355,"../swaps.util":5967,"bignumber.js":2933,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=g;var n=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=m(t);if(a&&a.has(e))return a.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=s?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n.default=e,a&&a.set(e,n),n}(e("react")),s=f(e("prop-types")),r=f(e("bignumber.js")),o=f(e("classnames")),i=e("../swaps.util"),l=e("../../../../shared/lib/transactions-controller-utils"),c=f(e("../../../components/ui/box")),u=e("../../../helpers/constants/design-system"),d=e("../../../components/component-library"),p=e("../../../contexts/i18n");function f(e){return e&&e.__esModule?e:{default:e}}function m(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(m=function(e){return e?a:t})(e)}function g({primaryTokenValue:e,primaryTokenDecimals:t=18,primaryTokenSymbol:a,secondaryTokenValue:s,secondaryTokenDecimals:f=18,secondaryTokenSymbol:m,boldSymbols:g=!0,showIconForSwappingTokens:h=!0,className:_,onQuotesClick:E}){const[y,b]=(0,n.useState)(!0),w=(0,n.useContext)(p.I18nContext),v=(0,l.calcTokenAmount)(e,t),k=(0,l.calcTokenAmount)(s,f),T=new r.default(k).div(v).round(9).toString(10),C=new r.default(v).div(k).round(9).toString(10),x=y?a:m,S=y?m:a,N=y?T:C;let O,I="=";new r.default(N,10).lt("0.00000001",10)?(O="0.000000001",I="<"):O=new r.default(N,10).lt("0.000001",10)?N:(0,i.formatSwapsValueForDisplay)(N);const R=E?"exchange-rate-display__quote-rate":"exchange-rate-display__quote-rate--no-link",M=E?u.TextColor.primaryDefault:u.TextColor.textDefault;return n.default.createElement("div",{className:(0,o.default)("exchange-rate-display",_)},n.default.createElement(c.default,{display:u.DISPLAY.FLEX,justifyContent:u.JustifyContent.center,alignItems:u.AlignItems.center,onClick:E,color:M,className:R,gap:1,"data-testid":"exchange-rate-display-quote-rate"},n.default.createElement("span",null,"1"),n.default.createElement("span",{className:(0,o.default)({"exchange-rate-display__bold":g}),"data-testid":"exchange-rate-display-base-symbol"},x),n.default.createElement("span",null,I),n.default.createElement("span",null,O),n.default.createElement("span",{className:(0,o.default)({"exchange-rate-display__bold":g})},S)),h&&n.default.createElement(d.Icon,{name:d.IconName.SwapHorizontal,onClick:()=>{b(!y)},color:u.IconColor.iconAlternative,style:{cursor:"pointer"},title:w("switch"),"data-testid":"exchange-rate-display-switch"}))}g.propTypes={primaryTokenValue:s.default.oneOfType([s.default.string,s.default.instanceOf(r.default)]).isRequired,primaryTokenDecimals:s.default.oneOfType([s.default.string,s.default.number]),primaryTokenSymbol:s.default.string.isRequired,secondaryTokenValue:s.default.oneOfType([s.default.string,s.default.instanceOf(r.default)]).isRequired,secondaryTokenDecimals:s.default.oneOfType([s.default.string,s.default.number]),secondaryTokenSymbol:s.default.string.isRequired,className:s.default.string,boldSymbols:s.default.bool,showIconForSwappingTokens:s.default.bool,onQuotesClick:s.default.func}}}},{package:"$root$",file:"ui/pages/swaps/exchange-rate-display/exchange-rate-display.js"}],[5921,{"./exchange-rate-display":5920},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return s.default}});var n,s=(n=e("./exchange-rate-display"))&&n.__esModule?n:{default:n}}}},{package:"$root$",file:"ui/pages/swaps/exchange-rate-display/index.js"}],[5922,{"../../../../shared/constants/metametrics":4505,"../../../../shared/constants/network":4507,"../../../../shared/lib/ui-utils":4532,"../../../components/component-library":4955,"../../../components/ui/info-tooltip":5248,"../../../contexts/i18n":5324,"../../../contexts/metametrics":5327,"../../../helpers/constants/design-system":5355,"../../../selectors":5987,"../../confirmations/components/transaction-detail-item/transaction-detail-item.component":5636,"../../confirmations/components/transaction-detail/transaction-detail.component":5637,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=y;var n=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=E(t);if(a&&a.has(e))return a.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=s?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n.default=e,a&&a.set(e,n),n}(e("react")),s=e("react-redux"),r=_(e("prop-types")),o=e("../../../contexts/i18n"),i=_(e("../../../components/ui/info-tooltip")),l=e("../../../../shared/constants/network"),c=_(e("../../confirmations/components/transaction-detail/transaction-detail.component")),u=_(e("../../confirmations/components/transaction-detail-item/transaction-detail-item.component")),d=e("../../../helpers/constants/design-system"),p=e("../../../contexts/metametrics"),f=e("../../../../shared/constants/metametrics"),m=e("../../../../shared/lib/ui-utils"),g=e("../../../selectors"),h=e("../../../components/component-library");function _(e){return e&&e.__esModule?e:{default:e}}function E(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(E=function(e){return e?a:t})(e)}function y({primaryFee:e,secondaryFee:t,hideTokenApprovalRow:a,tokenApprovalSourceTokenSymbol:r,onTokenApprovalClick:_,metaMaskFee:E,numberOfQuotes:y,onQuotesClick:b,chainId:w}){const v=(0,n.useContext)(o.I18nContext),k=(0,s.useSelector)(g.getUseCurrencyRateCheck),T=(0,n.useContext)(p.MetaMetricsContext),C=n.default.createElement("span",{key:"fee-card-approve-symbol",className:"fee-card__bold"},v("enableToken",[r]));return n.default.createElement("div",{className:"fee-card"},n.default.createElement("div",{className:"fee-card__main"},n.default.createElement(c.default,{disableEditGasFeeButton:!0,rows:[n.default.createElement(u.default,{key:"fee-card-gas-item",detailTitle:n.default.createElement(n.default.Fragment,null,v("transactionDetailGasHeading"),n.default.createElement(i.default,{position:"top",contentText:n.default.createElement(n.default.Fragment,null,n.default.createElement("p",{className:"fee-card__info-tooltip-paragraph"},v("swapGasFeesSummary",[(()=>{switch(w){case l.CHAIN_IDS.MAINNET:return v("networkNameEthereum");case l.CHAIN_IDS.BSC:return v("networkNameBSC");case l.CHAIN_IDS.POLYGON:return v("networkNamePolygon");case l.CHAIN_IDS.LOCALHOST:return v("networkNameTestnet");case l.CHAIN_IDS.GOERLI:return v("networkNameGoerli");case l.CHAIN_IDS.AVALANCHE:return v("networkNameAvalanche");case l.CHAIN_IDS.OPTIMISM:return v("networkNameOpMainnet");case l.CHAIN_IDS.ARBITRUM:return v("networkNameArbitrum");case l.CHAIN_IDS.ZKSYNC_ERA:return v("networkNameZkSyncEra");case l.CHAIN_IDS.LINEA_MAINNET:return v("networkNameLinea");case l.CHAIN_IDS.BASE:return v("networkNameBase");default:throw new Error("This network is not supported for token swaps")}})()])),n.default.createElement("p",{className:"fee-card__info-tooltip-paragraph"},v("swapGasFeesDetails")),n.default.createElement("p",{className:"fee-card__info-tooltip-paragraph"},n.default.createElement("a",{className:"fee-card__link",onClick:()=>{T({event:'Clicked "Gas Fees: Learn More" Link',category:f.MetaMetricsEventCategory.Swaps}),global.platform.openTab({url:m.GAS_FEES_LEARN_MORE_URL})},target:"_blank",rel:"noopener noreferrer"},v("swapGasFeesLearnMore")))),containerClassName:"fee-card__info-tooltip-content-container",wrapperClassName:"fee-card__row-label fee-card__info-tooltip-container"})),detailText:e.fee,detailTotal:k&&t.fee,subText:((null==t?void 0:t.maxFee)!==undefined||(null==e?void 0:e.maxFee)!==undefined)&&n.default.createElement(n.default.Fragment,null,n.default.createElement(h.Text,{as:"span",fontWeight:d.FontWeight.Bold,color:d.TextColor.textAlternative,variant:d.TextVariant.bodySm},v("maxFee")),k?`: ${t.maxFee}`:`: ${e.maxFee}`)})]}),!a&&n.default.createElement("div",{className:"fee-card__row-header"},n.default.createElement("div",{className:"fee-card__row-label"},n.default.createElement("div",{className:"fee-card__row-header-text"},v("swapEnableTokenForSwapping",[C]),n.default.createElement(i.default,{position:"top",contentText:v("swapEnableDescription",[r]),containerClassName:"fee-card__info-tooltip-container"}))),n.default.createElement("div",{className:"fee-card__link",onClick:()=>_()},v("swapEditLimit"))),n.default.createElement("div",{className:"fee-card__row-header"},n.default.createElement("div",{className:"fee-card__row-label"},n.default.createElement("div",{className:"fee-card__row-header-text"},y>1&&n.default.createElement("span",{onClick:b,className:"fee-card__quote-link-text"},v("swapNQuotesWithDot",[y])),v("swapIncludesMMFee",[E]),n.default.createElement(i.default,{position:"top",contentText:v("swapMetaMaskFeeDescription",[E]),wrapperClassName:"fee-card__info-tooltip-container"}))))))}y.propTypes={primaryFee:r.default.shape({fee:r.default.string.isRequired,maxFee:r.default.string.isRequired}).isRequired,secondaryFee:r.default.shape({fee:r.default.string.isRequired,maxFee:r.default.string.isRequired}),hideTokenApprovalRow:r.default.bool.isRequired,tokenApprovalSourceTokenSymbol:r.default.string,onTokenApprovalClick:r.default.func,metaMaskFee:r.default.string.isRequired,onQuotesClick:r.default.func.isRequired,numberOfQuotes:r.default.number.isRequired,chainId:r.default.string.isRequired}}}},{package:"$root$",file:"ui/pages/swaps/fee-card/fee-card.js"}],[5923,{"./fee-card":5922},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return s.default}});var n,s=(n=e("./fee-card"))&&n.__esModule?n:{default:n}}}},{package:"$root$",file:"ui/pages/swaps/fee-card/index.js"}],[5924,{"../../../components/component-library":4955,"../../../components/component-library/form-text-field/deprecated":4943,"../../../components/component-library/modal-content/deprecated":4963,"../../../components/component-library/modal-header/deprecated":4972,"../../../contexts/i18n":5324,"../../../helpers/constants/design-system":5355,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=f;var n,s=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=p(t);if(a&&a.has(e))return a.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=s?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n.default=e,a&&a.set(e,n),n}(e("react")),r=(n=e("prop-types"))&&n.__esModule?n:{default:n},o=e("../../../contexts/i18n"),i=e("../../../helpers/constants/design-system"),l=e("../../../components/component-library"),c=e("../../../components/component-library/form-text-field/deprecated"),u=e("../../../components/component-library/modal-content/deprecated"),d=e("../../../components/component-library/modal-header/deprecated");function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(p=function(e){return e?a:t})(e)}function f({onImportTokenCloseClick:e,onImportTokenClick:t,setIsImportTokenModalOpen:a,tokenForImport:n,isOpen:r}){const p=(0,s.useContext)(o.I18nContext);return s.default.createElement(l.Modal,{isOpen:r,onClose:()=>a(!1)},s.default.createElement(l.ModalOverlay,null),s.default.createElement(u.ModalContent,{modalDialogProps:{display:i.Display.Flex,flexDirection:i.FlexDirection.Column,alignItems:i.AlignItems.center,gap:4}},s.default.createElement(d.ModalHeader,{onClose:()=>a(!1),width:i.BlockSize.Full},p("importTokenQuestion")),s.default.createElement(l.BannerAlert,{severity:i.Severity.Danger,description:p("importTokenWarning")}),s.default.createElement(l.AvatarToken,{src:n.iconUrl,name:n.symbol,size:l.AvatarTokenSize.Xl}),s.default.createElement(l.Text,{variant:i.TextVariant.headingSm,as:"h4"},n.name||""),s.default.createElement(c.FormTextField,{label:p("contract"),id:"import-tokens-input",inputProps:{variant:i.TextVariant.bodySm},readOnly:!0,value:n.address||"",width:i.BlockSize.Full}),s.default.createElement(l.Box,{display:i.Display.Flex,flexDirection:i.FlexDirection.Row,gap:4,width:i.BlockSize.Full},s.default.createElement(l.Button,{variant:l.BUTTON_VARIANT.SECONDARY,block:!0,size:l.BUTTON_SIZES.LG,onClick:e},p("cancel")),s.default.createElement(l.Button,{variant:l.BUTTON_VARIANT.PRIMARY,block:!0,size:l.BUTTON_SIZES.LG,onClick:t,"data-testid":"import-tokens-import-button"},p("import")))))}f.propTypes={onImportTokenCloseClick:r.default.func,onImportTokenClick:r.default.func,setIsImportTokenModalOpen:r.default.func,tokenForImport:r.default.object,isOpen:r.default.bool}}}},{package:"$root$",file:"ui/pages/swaps/import-token/import-token.js"}],[5925,{"./import-token":5924},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return s.default}});var n,s=(n=e("./import-token"))&&n.__esModule?n:{default:n}}}},{package:"$root$",file:"ui/pages/swaps/import-token/index.js"}],[5926,{"../../../shared/constants/metametrics":4505,"../../../shared/constants/swaps":4516,"../../../shared/lib/transactions-controller-utils":4531,"../../../shared/modules/selectors":4554,"../../components/component-library":4955,"../../components/ui/box":5194,"../../contexts/i18n":5324,"../../contexts/metametrics":5327,"../../ducks/swaps/swaps":5351,"../../helpers/constants/design-system":5355,"../../helpers/constants/routes":5361,"../../helpers/higher-order-components/feature-toggled-route":5372,"../../hooks/useGasFeeEstimates":5426,"../../hooks/useUpdateSwapsState":5451,"../../selectors":5987,"../../selectors/selectors":5994,"../../store/actions":5998,"./awaiting-signatures":5903,"./awaiting-swap":5906,"./build-quote":5911,"./loading-swaps-quotes":5929,"./notification-page/notification-page":5934,"./prepare-swap-page/prepare-swap-page":5935,"./smart-transaction-status":5958,"./view-quote":5971,"@metamask/transaction-controller":2234,classnames:3049,lodash:3836,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=function(){var e,t,a,D;const A=(0,n.useContext)(c.I18nContext),L=(0,r.useHistory)(),j=(0,s.useDispatch)(),F=(0,n.useContext)(b.MetaMetricsContext),{pathname:B}=(0,r.useLocation)(),U=B===m.AWAITING_SWAP_ROUTE,W=B===m.AWAITING_SIGNATURES_ROUTE,q=B===m.SWAPS_ERROR_ROUTE,$=B===m.LOADING_QUOTES_ROUTE,V=B===m.SMART_TRANSACTION_STATUS_ROUTE,H=B===m.VIEW_QUOTE_ROUTE,K=B===m.PREPARE_SWAP_ROUTE,[Q,z]=(0,n.useState)(!1),G=(0,s.useSelector)(d.getFetchParams,o.isEqual),{destinationTokenInfo:Y={}}=(null==G?void 0:G.metaData)||{},Z=(0,s.useSelector)(d.getBackgroundSwapRouteState),J=(0,s.useSelector)(u.getSelectedAccount,s.shallowEqual),X=(0,s.useSelector)(d.getQuotes,o.isEqual),ee=(0,s.useSelector)(d.getLatestAddedTokenTo,o.isEqual),te=(0,s.useSelector)(p.getCurrentNetworkTransactions,s.shallowEqual),ae=(0,s.useSelector)(d.getTradeTxId),ne=(0,s.useSelector)(d.getApproveTxId),se=(0,s.useSelector)(d.getAggregatorMetadata,s.shallowEqual),re=(0,s.useSelector)(d.getFetchingQuotes);let oe=(0,s.useSelector)(d.getSwapsErrorKey);const ie=(0,s.useSelector)(d.getSwapsFeatureIsLive),le=(0,s.useSelector)(u.getCurrentChainId),ce=(0,s.useSelector)(u.getIsSwapsChain),ue=(0,s.useSelector)(u.getTokenList,o.isEqual),de=(0,o.shuffle)(Object.values(ue)),pe=(0,s.useSelector)(d.getReviewSwapClickedTimestamp),fe=(0,s.useSelector)(d.getPendingSmartTransactions),me=Boolean(pe),ge=(0,s.useSelector)(f.getSmartTransactionsOptInStatus),he=(0,s.useSelector)(f.getSmartTransactionsEnabled),_e=(0,s.useSelector)(d.getCurrentSmartTransactionsEnabled),Ee=(0,s.useSelector)(d.getSwapRedesignEnabled),ye=(0,s.useSelector)(d.getCurrentSmartTransactionsError);(0,n.useEffect)((()=>{ce||(async()=>{await j((0,d.prepareToLeaveSwaps)()),L.push(m.DEFAULT_ROUTE)})()}),[ce,j,L]),(0,_.useGasFeeEstimates)();const{balance:be,address:we}=J,ve=ne&&te.find((({id:e})=>ne===e)),ke=ae&&te.find((({id:e})=>ae===e)),Te=(null==ke?void 0:ke.txReceipt)&&(0,w.getSwapsTokensReceivedFromTxMeta)(null==Y?void 0:Y.symbol,ke,null==Y?void 0:Y.address,we,null==Y?void 0:Y.decimals,ve,le),Ce=(null==ke?void 0:ke.status)===l.TransactionStatus.confirmed,xe=(null==ve?void 0:ve.status)===l.TransactionStatus.failed||"0x0"===(null==ve||null===(e=ve.txReceipt)||void 0===e?void 0:e.status),Se=(null==ke?void 0:ke.status)===l.TransactionStatus.failed||"0x0"===(null==ke||null===(t=ke.txReceipt)||void 0===t?void 0:t.status),Ne=xe||Se;Ne&&oe!==g.CONTRACT_DATA_DISABLED_ERROR&&(oe=g.SWAP_FAILED_ERROR);const Oe=(0,n.useRef)();(0,n.useEffect)((()=>{Oe.current=()=>{!ee||U&&!Ne||j((0,h.ignoreTokens)({tokensToIgnore:ee,dontShowLoadingIndicator:!0}))}}),[Ne,j,ee,Y,G,U]),(0,n.useEffect)((()=>()=>{Oe.current()}),[]),(0,C.default)();const Ie=(0,s.useSelector)(u.isHardwareWallet),Re=(0,s.useSelector)(u.getHardwareWalletType),Me=(0,n.useRef)();(0,n.useEffect)((()=>{Me.current=()=>{var e,t;F({event:"Exited Swaps",category:y.MetaMetricsEventCategory.Swaps,sensitiveProperties:{token_from:null==G||null===(e=G.sourceTokenInfo)||void 0===e?void 0:e.symbol,token_from_amount:null==G?void 0:G.value,request_type:null==G?void 0:G.balanceError,token_to:null==G||null===(t=G.destinationTokenInfo)||void 0===t?void 0:t.symbol,slippage:null==G?void 0:G.slippage,custom_slippage:2!==(null==G?void 0:G.slippage),current_screen:B.match(/\/swaps\/(.+)/u)[1],is_hardware_wallet:Ie,hardware_wallet_type:Re,stx_enabled:he,current_stx_enabled:_e,stx_user_opt_in:ge}})}})),(0,n.useEffect)((()=>((async()=>{await j((0,d.fetchSwapsLivenessAndFeatureFlags)())})(),()=>{Me.current()})),[j]),(0,n.useEffect)((()=>{oe&&!q&&me&&L.push(m.SWAPS_ERROR_ROUTE)}),[L,oe,q,me]);const Pe=(0,n.useRef)();(0,n.useEffect)((()=>{const e=()=>(Oe.current(),$&&j((0,d.prepareToLeaveSwaps)()),null);return $&&!Pe.current&&(Pe.current=!0,window.addEventListener("beforeunload",e)),()=>window.removeEventListener("beforeunload",e)}),[j,$]);const De=(0,n.useCallback)((()=>{var e,t;F({event:"Error Smart Transactions",category:y.MetaMetricsEventCategory.Swaps,sensitiveProperties:{token_from:null==G||null===(e=G.sourceTokenInfo)||void 0===e?void 0:e.symbol,token_from_amount:null==G?void 0:G.value,request_type:null==G?void 0:G.balanceError,token_to:null==G||null===(t=G.destinationTokenInfo)||void 0===t?void 0:t.symbol,slippage:null==G?void 0:G.slippage,custom_slippage:2!==(null==G?void 0:G.slippage),current_screen:B.match(/\/swaps\/(.+)/u)[1],is_hardware_wallet:Ie,hardware_wallet_type:Re,stx_enabled:he,current_stx_enabled:_e,stx_user_opt_in:ge,stx_error:ye}})}),[ye,_e,F,null==G?void 0:G.balanceError,null==G||null===(a=G.destinationTokenInfo)||void 0===a?void 0:a.symbol,null==G?void 0:G.slippage,null==G||null===(D=G.sourceTokenInfo)||void 0===D?void 0:D.symbol,null==G?void 0:G.value,Re,Ie,B,he,ge]);if((0,n.useEffect)((()=>{ye&&!Q&&(z(!0),De())}),[ye,De,Q]),!ce)return n.default.createElement(n.default.Fragment,null);const Ae=async()=>{Oe.current(),L.push({pathname:m.DEFAULT_ROUTE,state:{stayOnHomePage:!0}}),j((0,d.clearSwapsState)()),await j((0,h.resetBackgroundSwapsState)())};return n.default.createElement("div",{className:"swaps"},n.default.createElement("div",{className:"swaps__container"},n.default.createElement("div",{className:"swaps__header"},!Ee&&n.default.createElement("div",{className:"swaps__header-edit",onClick:async()=>{await j((0,d.navigateBackToBuildQuote)(L))}},H&&A("edit")),Ee&&n.default.createElement(k.default,{display:T.DISPLAY.FLEX,justifyContent:T.JustifyContent.center,marginLeft:4,width:T.FRACTIONS.ONE_TWELFTH,tabIndex:"0",onKeyUp:e=>{"Enter"===e.key&&Ae()}},!U&&!W&&!V&&n.default.createElement(v.Icon,{name:v.IconName.Arrow2Left,size:v.IconSize.Lg,color:T.IconColor.iconAlternative,onClick:Ae,style:{cursor:"pointer"},title:A("cancel")})),n.default.createElement("div",{className:"swaps__title"},A("swap")),!Ee&&n.default.createElement("div",{className:"swaps__header-cancel",onClick:async()=>{Oe.current(),j((0,d.clearSwapsState)()),await j((0,h.resetBackgroundSwapsState)()),L.push(m.DEFAULT_ROUTE)}},!U&&!W&&!V&&A("cancel")),Ee&&n.default.createElement(k.default,{display:T.DISPLAY.FLEX,justifyContent:T.JustifyContent.center,marginRight:4,width:T.FRACTIONS.ONE_TWELFTH,tabIndex:"0",onKeyUp:e=>{"Enter"===e.key&&j((0,d.setTransactionSettingsOpened)(!0))}},K&&n.default.createElement(v.Icon,{name:v.IconName.Setting,size:v.IconSize.Lg,color:T.IconColor.iconAlternative,onClick:()=>{j((0,d.setTransactionSettingsOpened)(!0))},style:{cursor:"pointer"},title:A("transactionSettings")}))),n.default.createElement("div",{className:(0,i.default)("swaps__content",{"swaps__content--redesign-enabled":Ee})},n.default.createElement(r.Switch,null,n.default.createElement(E.default,{redirectRoute:m.SWAPS_MAINTENANCE_ROUTE,flag:ie,path:m.BUILD_QUOTE_ROUTE,exact:!0,render:()=>Ee?n.default.createElement(r.Redirect,{to:{pathname:m.PREPARE_SWAP_ROUTE}}):ke&&!Ne?n.default.createElement(r.Redirect,{to:{pathname:m.AWAITING_SWAP_ROUTE}}):ke&&Z?n.default.createElement(r.Redirect,{to:{pathname:m.SWAPS_ERROR_ROUTE}}):"loading"===Z&&se?n.default.createElement(r.Redirect,{to:{pathname:m.LOADING_QUOTES_ROUTE}}):n.default.createElement(I.default,{ethBalance:be,selectedAccountAddress:we,shuffledTokensList:de})}),n.default.createElement(E.default,{redirectRoute:m.SWAPS_MAINTENANCE_ROUTE,flag:ie,path:m.PREPARE_SWAP_ROUTE,exact:!0,render:()=>Ee?n.default.createElement(R.default,{ethBalance:be,selectedAccountAddress:we,shuffledTokensList:de}):n.default.createElement(r.Redirect,{to:{pathname:m.BUILD_QUOTE_ROUTE}})}),n.default.createElement(E.default,{redirectRoute:m.SWAPS_MAINTENANCE_ROUTE,flag:ie,path:m.VIEW_QUOTE_ROUTE,exact:!0,render:()=>fe.length>0&&"smartTransactionStatus"===Z?n.default.createElement(r.Redirect,{to:{pathname:m.SMART_TRANSACTION_STATUS_ROUTE}}):Ee?n.default.createElement(r.Redirect,{to:{pathname:m.PREPARE_SWAP_ROUTE}}):Object.values(X).length?n.default.createElement(P.default,{numberOfQuotes:Object.values(X).length}):G?n.default.createElement(r.Redirect,{to:{pathname:m.SWAPS_ERROR_ROUTE}}):n.default.createElement(r.Redirect,{to:{pathname:m.BUILD_QUOTE_ROUTE}})}),n.default.createElement(r.Route,{path:m.SWAPS_ERROR_ROUTE,exact:!0,render:()=>oe?n.default.createElement(N.default,{swapComplete:!1,errorKey:oe,txHash:null==ke?void 0:ke.hash,txId:null==ke?void 0:ke.id,submittedTime:null==ke?void 0:ke.submittedTime}):n.default.createElement(r.Redirect,{to:{pathname:m.BUILD_QUOTE_ROUTE}})}),n.default.createElement(r.Route,{path:m.SWAPS_NOTIFICATION_ROUTE,exact:!0,render:()=>oe?n.default.createElement(M.default,{notificationKey:oe}):n.default.createElement(r.Redirect,{to:{pathname:m.PREPARE_SWAP_ROUTE}})}),n.default.createElement(E.default,{redirectRoute:m.SWAPS_MAINTENANCE_ROUTE,flag:ie,path:m.LOADING_QUOTES_ROUTE,exact:!0,render:()=>se?n.default.createElement(O.default,{loadingComplete:!re&&Boolean(Object.values(X).length),onDone:async()=>{await j((0,h.setBackgroundSwapRouteState)("")),oe===g.ERROR_FETCHING_QUOTES||oe===g.QUOTES_NOT_AVAILABLE_ERROR?(j((0,h.setSwapsErrorKey)(g.QUOTES_NOT_AVAILABLE_ERROR)),L.push(m.SWAPS_ERROR_ROUTE)):L.push(m.VIEW_QUOTE_ROUTE)},aggregatorMetadata:se}):n.default.createElement(r.Redirect,{to:{pathname:m.BUILD_QUOTE_ROUTE}})}),n.default.createElement(r.Route,{path:m.SWAPS_MAINTENANCE_ROUTE,exact:!0,render:()=>!1===ie?n.default.createElement(N.default,{errorKey:g.OFFLINE_FOR_MAINTENANCE}):n.default.createElement(r.Redirect,{to:{pathname:m.BUILD_QUOTE_ROUTE}})}),n.default.createElement(r.Route,{path:m.AWAITING_SIGNATURES_ROUTE,exact:!0,render:()=>n.default.createElement(x.default,null)}),n.default.createElement(r.Route,{path:m.SMART_TRANSACTION_STATUS_ROUTE,exact:!0,render:()=>n.default.createElement(S.default,{txId:null==ke?void 0:ke.id})}),n.default.createElement(r.Route,{path:m.AWAITING_SWAP_ROUTE,exact:!0,render:()=>"awaiting"===Z||ke?n.default.createElement(N.default,{swapComplete:Ce,txHash:null==ke?void 0:ke.hash,tokensReceived:Te,txId:null==ke?void 0:ke.id,submittingSwap:"awaiting"===Z&&!(ne||ae)}):n.default.createElement(r.Redirect,{to:{pathname:m.DEFAULT_ROUTE}})})))))};var n=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=A(t);if(a&&a.has(e))return a.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=s?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n.default=e,a&&a.set(e,n),n}(e("react")),s=e("react-redux"),r=e("react-router-dom"),o=e("lodash"),i=D(e("classnames")),l=e("@metamask/transaction-controller"),c=e("../../contexts/i18n"),u=e("../../selectors/selectors"),d=e("../../ducks/swaps/swaps"),p=e("../../selectors"),f=e("../../../shared/modules/selectors"),m=e("../../helpers/constants/routes"),g=e("../../../shared/constants/swaps"),h=e("../../store/actions"),_=e("../../hooks/useGasFeeEstimates"),E=D(e("../../helpers/higher-order-components/feature-toggled-route")),y=e("../../../shared/constants/metametrics"),b=e("../../contexts/metametrics"),w=e("../../../shared/lib/transactions-controller-utils"),v=e("../../components/component-library"),k=D(e("../../components/ui/box")),T=e("../../helpers/constants/design-system"),C=D(e("../../hooks/useUpdateSwapsState")),x=D(e("./awaiting-signatures")),S=D(e("./smart-transaction-status")),N=D(e("./awaiting-swap")),O=D(e("./loading-swaps-quotes")),I=D(e("./build-quote")),R=D(e("./prepare-swap-page/prepare-swap-page")),M=D(e("./notification-page/notification-page")),P=D(e("./view-quote"));function D(e){return e&&e.__esModule?e:{default:e}}function A(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(A=function(e){return e?a:t})(e)}}}},{package:"$root$",file:"ui/pages/swaps/index.js"}],[5927,{"../../../../shared/modules/hexstring-utils":4544,"../../../components/component-library":4955,"../../../components/component-library/text-field-search/deprecated":5e3,"../../../components/ui/box":5194,"../../../contexts/i18n":5324,"../../../helpers/constants/design-system":5355,"../../../selectors/selectors":5994,"../searchable-item-list/item-list":5941,"../swaps.util":5967,lodash:3836,loglevel:3842,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=b;var n=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=E(t);if(a&&a.has(e))return a.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=s?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n.default=e,a&&a.set(e,n),n}(e("react")),s=e("react-redux"),r=_(e("prop-types")),o=e("lodash"),i=_(e("loglevel")),l=_(e("../../../components/ui/box")),c=e("../../../helpers/constants/design-system"),u=e("../../../components/component-library"),d=e("../../../components/component-library/text-field-search/deprecated"),p=_(e("../searchable-item-list/item-list")),f=e("../../../../shared/modules/hexstring-utils"),m=e("../../../contexts/i18n"),g=e("../swaps.util"),h=e("../../../selectors/selectors");function _(e){return e&&e.__esModule?e:{default:e}}function E(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(E=function(e){return e?a:t})(e)}let y;function b({itemsToSearch:e=[],listTitle:t,maxListItems:a,onClickItem:r,onOpenImportTokenModalClick:_,shouldSearchForImports:E,Placeholder:b,hideRightLabels:w,hideItemIf:v,listContainerClassName:k,searchQuery:T,setSearchQuery:C}){const x=(0,n.useRef)(),S=(0,n.useContext)(m.I18nContext),[N,O]=(0,n.useState)(e),I=(0,s.useSelector)(h.getCurrentChainId),R=async t=>{C(t),y&&clearTimeout(y),y=setTimeout((async()=>{y=null;const a=t.trim(),n=a.toUpperCase(),s=a.toLowerCase();if(!a)return void O(e);const r=(0,f.isValidHexAddress)(a);let l=[];if(r){const t=e.find((e=>e.address===s));t&&l.push(t)}else l=(0,o.filter)(e,(function(e){return e.symbol.includes(n)}));const c=""===t?e:l;E&&0===c.length&&r?await(async e=>{try{const t=await(0,g.fetchToken)(e,I);if(t)return t.primaryLabel=t.symbol,t.secondaryLabel=t.name,t.notImported=!0,void O([t])}catch(e){i.default.error("Token not found, show 0 results.",e)}O([])})(a):O(c)}),350)};(0,n.useEffect)((()=>{R(T)}),[T]);return n.default.createElement(l.default,{className:"list-with-search",width:c.BlockSize.Full,tabIndex:"0"},n.default.createElement(l.default,{style:{gridColumnStart:1,gridColumnEnd:3},display:c.Display.Flex,flexDirection:c.FlexDirection.Column},n.default.createElement(d.TextFieldSearch,{id:"list-with-search__text-search",marginBottom:4,onChange:e=>R(e.target.value),clearButtonOnClick:()=>{C("")},value:T,placeholder:S("enterTokenNameOrAddress"),inputProps:{marginRight:0},className:"list-with-search__text-search",autoFocus:!0,tabIndex:"0"})),(null==N?void 0:N.length)>0&&n.default.createElement(p.default,{searchQuery:T,results:N,onClickItem:r,onOpenImportTokenModalClick:_,Placeholder:b,listTitle:t,maxListItems:a,containerRef:x,hideRightLabels:w,hideItemIf:v,listContainerClassName:k}),0===(null==N?void 0:N.length)&&n.default.createElement(l.default,{marginTop:1,marginBottom:5,display:c.Display.Flex,justifyContent:c.JustifyContent.center,alignItems:c.AlignItems.center},n.default.createElement(u.Text,{variant:c.TextVariant.bodyMd,as:"h6"},S("swapNoTokensAvailable",[T]))))}b.propTypes={itemsToSearch:r.default.array,onClickItem:r.default.func,onOpenImportTokenModalClick:r.default.func,Placeholder:r.default.func,listTitle:r.default.string,maxListItems:r.default.number,hideRightLabels:r.default.bool,shouldSearchForImports:r.default.bool,hideItemIf:r.default.func,listContainerClassName:r.default.string,searchQuery:r.default.string,setSearchQuery:r.default.func}}}},{package:"$root$",file:"ui/pages/swaps/list-with-search/list-with-search.js"}],[5928,{react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=function(){return s.default.createElement(s.default.Fragment,null,s.default.createElement("div",{className:"loading-swaps-quotes__background-1","data-testid":"loading-swaps-quotes-background-1"},s.default.createElement("svg",{width:"193",height:"190",viewBox:"0 0 193 190",fill:"none",xmlns:"http://www.w3.org/2000/svg"},s.default.createElement("path",{d:"M153.753 53.876C153.595 53.9493 153.419 54.0161 153.25 54.0651C151.081 54.7451 148.777 53.538 148.086 51.3768C147.763 50.3298 147.851 49.2109 148.361 48.2363C148.87 47.2618 149.732 46.5374 150.78 46.2144C151.828 45.8913 152.948 45.9781 153.923 46.4865C154.898 46.9949 155.622 47.8557 155.944 48.9027C156.567 50.918 155.592 53.0243 153.753 53.876ZM150.817 47.5708C150.245 47.8359 149.782 48.2721 149.495 48.8334C149.144 49.5127 149.073 50.2843 149.303 51.0047C149.774 52.4998 151.375 53.3384 152.877 52.8787C154.374 52.4069 155.215 50.8063 154.756 49.3056C154.526 48.5852 154.027 47.9888 153.36 47.6334C152.68 47.2836 151.908 47.213 151.187 47.4437C151.049 47.4636 150.927 47.52 150.817 47.5708Z",fill:"#86E29B"}),s.default.createElement("path",{d:"M18.3624 73.9241C18.3015 73.9523 18.2407 73.9805 18.1798 74.0087C17.0495 74.4733 15.8073 74.4728 14.6751 74.0078C12.3517 73.0461 11.2387 70.3567 12.2031 68.0341C13.1676 65.7115 15.8598 64.5971 18.1833 65.5589C19.3155 66.0239 20.1951 66.9013 20.6591 68.0304C21.123 69.1595 21.1215 70.4008 20.6552 71.5326C20.2207 72.6053 19.4093 73.4391 18.3624 73.9241ZM15.0433 66.7921C14.3129 67.1305 13.713 67.7186 13.3766 68.5243C12.6776 70.207 13.4834 72.1377 15.1666 72.8348C15.9849 73.1647 16.8786 73.1789 17.6933 72.831C18.5136 72.4952 19.1388 71.8659 19.4818 71.0424C19.8126 70.2245 19.8276 69.3313 19.4801 68.5175C19.1448 67.6981 18.5155 67.0739 17.6917 66.7319C16.8144 66.3703 15.8589 66.4142 15.0433 66.7921Z",fill:"#FFB0EB"}),s.default.createElement("path",{d:"M116.617 37.3839C117.397 37.0226 117.736 36.0982 117.375 35.3192C117.015 34.5402 116.09 34.2016 115.31 34.5629C114.53 34.9243 114.19 35.8487 114.551 36.6277C114.912 37.4067 115.837 37.7453 116.617 37.3839Z",fill:"url(#paint0_linear)"}),s.default.createElement("path",{d:"M55.1317 91.7213C55.9116 91.36 56.2512 90.4356 55.8903 89.6566C55.5294 88.8776 54.6046 88.539 53.8247 88.9003C53.0448 89.2617 52.7052 90.1861 53.0661 90.9651C53.427 91.7441 54.3518 92.0827 55.1317 91.7213Z",fill:"url(#paint1_linear)"}),s.default.createElement("path",{d:"M31.9932 126.235C32.7731 125.874 33.1127 124.95 32.7518 124.171C32.3909 123.392 31.4661 123.053 30.6863 123.414C29.9064 123.776 29.5667 124.7 29.9277 125.479C30.2886 126.258 31.2134 126.597 31.9932 126.235Z",fill:"url(#paint2_linear)"}),s.default.createElement("path",{d:"M119.43 132.589C120.21 132.228 120.55 131.304 120.189 130.525C119.828 129.746 118.903 129.407 118.123 129.768C117.344 130.13 117.004 131.054 117.365 131.833C117.726 132.612 118.651 132.951 119.43 132.589Z",fill:"url(#paint3_linear)"}),s.default.createElement("path",{d:"M44.7469 47.3835C46.0108 46.7979 46.5612 45.2997 45.9763 44.0372C45.3914 42.7747 43.8926 42.2259 42.6286 42.8115C41.3647 43.3971 40.8143 44.8953 41.3992 46.1578C41.9841 47.4203 43.4829 47.9691 44.7469 47.3835Z",fill:"url(#paint4_linear)"}),s.default.createElement("path",{d:"M105.107 90.7857C106.371 90.2001 106.922 88.702 106.337 87.4394C105.752 86.1769 104.253 85.6282 102.989 86.2137C101.725 86.7993 101.175 88.2975 101.76 89.56C102.344 90.8226 103.843 91.3713 105.107 90.7857Z",fill:"url(#paint5_linear)"}),s.default.createElement("path",{d:"M95.5179 172.376C96.7818 171.791 97.3322 170.293 96.7473 169.03C96.1624 167.767 94.6636 167.219 93.3996 167.804C92.1357 168.39 91.5853 169.888 92.1702 171.151C92.7551 172.413 94.2539 172.962 95.5179 172.376Z",fill:"url(#paint6_linear)"}),s.default.createElement("path",{d:"M165.098 102.367C166.362 101.781 166.912 100.283 166.327 99.0205C165.742 97.758 164.244 97.2092 162.98 97.7948C161.716 98.3804 161.165 99.8786 161.75 101.141C162.335 102.404 163.834 102.952 165.098 102.367Z",fill:"url(#paint7_linear)"}),s.default.createElement("defs",null,s.default.createElement("linearGradient",{id:"paint0_linear",x1:"114.554",y1:"36.6326",x2:"117.379",y2:"35.3237",gradientUnits:"userSpaceOnUse"},s.default.createElement("stop",{stopColor:"#75C3FC"}),s.default.createElement("stop",{offset:"1",stopColor:"#75C3FC"})),s.default.createElement("linearGradient",{id:"paint1_linear",x1:"53.0688",y1:"90.97",x2:"55.8937",y2:"89.6611",gradientUnits:"userSpaceOnUse"},s.default.createElement("stop",{stopColor:"#75C3FC"}),s.default.createElement("stop",{offset:"1",stopColor:"#75C3FC"})),s.default.createElement("linearGradient",{id:"paint2_linear",x1:"29.9283",y1:"125.483",x2:"32.7532",y2:"124.174",gradientUnits:"userSpaceOnUse"},s.default.createElement("stop",{stopColor:"#75C3FC"}),s.default.createElement("stop",{offset:"1",stopColor:"#75C3FC"})),s.default.createElement("linearGradient",{id:"paint3_linear",x1:"117.365",y1:"131.837",x2:"120.19",y2:"130.528",gradientUnits:"userSpaceOnUse"},s.default.createElement("stop",{stopColor:"#75C3FC"}),s.default.createElement("stop",{offset:"1",stopColor:"#75C3FC"})),s.default.createElement("linearGradient",{id:"paint4_linear",x1:"41.4394",y1:"46.2402",x2:"45.947",y2:"43.9537",gradientUnits:"userSpaceOnUse"},s.default.createElement("stop",{stopColor:"#75C3FC"}),s.default.createElement("stop",{offset:"1",stopColor:"#75C3FC"})),s.default.createElement("linearGradient",{id:"paint5_linear",x1:"101.8",y1:"89.6425",x2:"106.307",y2:"87.356",gradientUnits:"userSpaceOnUse"},s.default.createElement("stop",{stopColor:"#75C3FC"}),s.default.createElement("stop",{offset:"1",stopColor:"#75C3FC"})),s.default.createElement("linearGradient",{id:"paint6_linear",x1:"92.2104",y1:"171.233",x2:"96.718",y2:"168.947",gradientUnits:"userSpaceOnUse"},s.default.createElement("stop",{stopColor:"#75C3FC"}),s.default.createElement("stop",{offset:"1",stopColor:"#75C3FC"})),s.default.createElement("linearGradient",{id:"paint7_linear",x1:"161.79",y1:"101.224",x2:"166.298",y2:"98.937",gradientUnits:"userSpaceOnUse"},s.default.createElement("stop",{stopColor:"#75C3FC"}),s.default.createElement("stop",{offset:"1",stopColor:"#75C3FC"}))))),s.default.createElement("div",{className:"loading-swaps-quotes__background-2","data-testid":"loading-swaps-quotes-background-2"},s.default.createElement("svg",{width:"195",height:"205",viewBox:"0 0 195 205",fill:"none",xmlns:"http://www.w3.org/2000/svg"},s.default.createElement("path",{d:"M29.84 121.982C30.0408 121.969 30.245 122.01 30.4258 122.106L46.4233 130.275C46.8125 130.478 47.0536 130.893 47.0402 131.324C47.0143 131.768 46.7423 132.148 46.3356 132.308L24.5484 140.937C24.1417 141.097 23.6789 141.005 23.3642 140.702C23.0495 140.4 22.9398 139.937 23.0753 139.525L28.8651 122.727C28.9671 122.426 29.2065 122.169 29.5086 122.056C29.614 122.023 29.7194 121.989 29.84 121.982ZM43.1981 131.148L30.5607 124.689L25.9884 137.96L43.1981 131.148Z",fill:"#75C4FD"}),s.default.createElement("path",{d:"M168.214 54.3381C168.442 54.3238 168.674 54.3764 168.869 54.485C169.217 54.6781 169.44 55.0266 169.465 55.4145L170.59 68.4358C170.631 68.8763 170.416 69.3061 170.041 69.5444C169.666 69.7827 169.182 69.7862 168.805 69.5681L156.14 62.2246C155.763 62.0065 155.535 61.5911 155.548 61.1472C155.56 60.7033 155.818 60.3112 156.209 60.1122L167.75 54.4343C167.908 54.3841 168.067 54.3473 168.214 54.3381ZM168.027 66.3674L167.248 57.3661L159.267 61.2902L168.027 66.3674Z",fill:"#FFB0EB"}),s.default.createElement("path",{d:"M88.6283 16.6885C88.8694 16.6734 89.1154 16.7385 89.3255 16.873L100.21 24.1133C100.561 24.3464 100.762 24.7635 100.708 25.1832C100.653 25.6028 100.381 25.969 99.9864 26.1146L86.3391 31.4276C85.9449 31.5731 85.5106 31.5064 85.1842 31.2314C84.8712 30.9556 84.7239 30.5352 84.8192 30.1264L87.5815 17.5731C87.666 17.2053 87.9162 16.9076 88.2702 16.7646C88.3882 16.7169 88.5078 16.696 88.6283 16.6885ZM97.1342 24.7894L89.4471 19.6718L87.5021 28.5349L97.1342 24.7894Z",fill:"url(#paint0_linear)"}),s.default.createElement("path",{d:"M117.145 183.156C116.944 183.289 116.698 183.356 116.449 183.344L103.402 182.517C102.982 182.49 102.6 182.229 102.437 181.839C102.274 181.448 102.327 180.995 102.596 180.671L111.758 169.247C112.027 168.923 112.436 168.764 112.856 168.839C113.265 168.921 113.603 169.212 113.725 169.614L117.609 181.866C117.72 182.227 117.652 182.61 117.417 182.911C117.339 183.011 117.246 183.089 117.145 183.156ZM105.728 180.393L114.944 180.981L112.197 172.333L105.728 180.393Z",fill:"url(#paint1_linear)"}),s.default.createElement("path",{d:"M38.0816 74.0208C38.1217 74.0183 38.1485 74.0166 38.1887 74.0141C42.3831 73.805 45.9744 77.0577 46.1831 81.2474C46.3919 85.4371 43.1484 89.0241 38.9407 89.234C34.7463 89.4431 31.1549 86.1904 30.9462 82.0007C30.7391 77.8377 33.9307 74.2809 38.0816 74.0208ZM38.9104 87.2486C41.9767 87.0565 44.3523 84.4236 44.1997 81.3448C44.0455 78.2393 41.3949 75.8407 38.2859 75.9952C35.1761 76.1364 32.7753 78.7977 32.9296 81.9033C33.0838 85.0088 35.7344 87.4073 38.8434 87.2528C38.8568 87.252 38.8836 87.2503 38.9104 87.2486Z",fill:"#86E29B"}),s.default.createElement("path",{d:"M162.178 97.8401C162.218 97.8376 162.245 97.8359 162.285 97.8334C166.48 97.6243 170.071 100.877 170.28 105.067C170.489 109.256 167.245 112.843 163.037 113.053C158.843 113.262 155.252 110.01 155.043 105.82C154.836 101.657 158.027 98.1002 162.178 97.8401ZM163.007 111.068C166.073 110.876 168.449 108.243 168.296 105.164C168.142 102.059 165.492 99.6601 162.383 99.8146C159.273 99.9557 156.872 102.617 157.026 105.723C157.181 108.828 159.831 111.227 162.94 111.072C162.953 111.071 162.98 111.07 163.007 111.068Z",fill:"#86E29B"}),s.default.createElement("defs",null,s.default.createElement("linearGradient",{id:"paint0_linear",x1:"100.609",y1:"23.2611",x2:"84.4152",y2:"24.2757",gradientUnits:"userSpaceOnUse"},s.default.createElement("stop",{stopColor:"#FFE466"}),s.default.createElement("stop",{offset:"1",stopColor:"#FFAFEA"})),s.default.createElement("linearGradient",{id:"paint1_linear",x1:"103.812",y1:"183.939",x2:"116.959",y2:"174.66",gradientUnits:"userSpaceOnUse"},s.default.createElement("stop",{stopColor:"#75C3FC"}),s.default.createElement("stop",{offset:"0.0928503",stopColor:"#81C2F6"}),s.default.createElement("stop",{offset:"1",stopColor:"#F0B8BD"}))))))};var n,s=(n=e("react"))&&n.__esModule?n:{default:n}}}},{package:"$root$",file:"ui/pages/swaps/loading-swaps-quotes/background-animation.js"}],[5929,{"./loading-swaps-quotes":5930},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return s.default}});var n,s=(n=e("./loading-swaps-quotes"))&&n.__esModule?n:{default:n}}}},{package:"$root$",file:"ui/pages/swaps/loading-swaps-quotes/index.js"}],[5930,{"../../../../shared/constants/metametrics":4505,"../../../../shared/modules/selectors":4554,"../../../components/ui/mascot":5262,"../../../contexts/i18n":5324,"../../../contexts/metametrics":5327,"../../../ducks/swaps/swaps":5351,"../../../selectors/selectors":5994,"../swaps-footer":5965,"./background-animation":5928,events:3328,lodash:3836,"lodash/isEqual":3824,"prop-types":3997,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=w;var n=b(e("events")),s=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=y(t);if(a&&a.has(e))return a.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=s?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n.default=e,a&&a.set(e,n),n}(e("react")),r=e("react-redux"),o=b(e("prop-types")),i=e("lodash"),l=e("react-router-dom"),c=b(e("lodash/isEqual")),u=e("../../../ducks/swaps/swaps"),d=e("../../../selectors/selectors"),p=e("../../../../shared/modules/selectors"),f=e("../../../contexts/i18n"),m=e("../../../contexts/metametrics"),g=b(e("../../../components/ui/mascot")),h=e("../../../../shared/constants/metametrics"),_=b(e("../swaps-footer")),E=b(e("./background-animation"));function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(y=function(e){return e?a:t})(e)}function b(e){return e&&e.__esModule?e:{default:e}}function w({aggregatorMetadata:e,loadingComplete:t,onDone:a}){var o,y;const b=(0,s.useContext)(f.I18nContext),w=(0,s.useContext)(m.MetaMetricsContext),v=(0,r.useDispatch)(),k=(0,l.useHistory)(),T=(0,s.useRef)(new n.default),C=(0,r.useSelector)(u.getFetchParams,c.default),x=(0,r.useSelector)(u.getQuotesFetchStartTime),S=(0,r.useSelector)(d.isHardwareWallet),N=(0,r.useSelector)(d.getHardwareWalletType),O=(0,r.useSelector)(p.getSmartTransactionsOptInStatus),I=(0,r.useSelector)(p.getSmartTransactionsEnabled),R=(0,r.useSelector)(u.getCurrentSmartTransactionsEnabled),M={event:"Quotes Request Cancelled",category:h.MetaMetricsEventCategory.Swaps,sensitiveProperties:{token_from:null==C||null===(o=C.sourceTokenInfo)||void 0===o?void 0:o.symbol,token_from_amount:null==C?void 0:C.value,request_type:null==C?void 0:C.balanceError,token_to:null==C||null===(y=C.destinationTokenInfo)||void 0===y?void 0:y.symbol,slippage:null==C?void 0:C.slippage,custom_slippage:2!==(null==C?void 0:C.slippage),response_time:Date.now()-x,is_hardware_wallet:S,hardware_wallet_type:N,stx_enabled:I,current_stx_enabled:R,stx_user_opt_in:O}},[P]=(0,s.useState)((()=>(0,i.shuffle)(Object.keys(e)))),D=P.length,A=(0,s.useRef)(),L=A.current,[j,F]=(0,s.useState)(0),[B,U]=(0,s.useState)(null);return(0,s.useEffect)((()=>{let e;e=t?20:500+Math.floor(1500*Math.random());const n=setTimeout((()=>{j{if(L){const{top:e,left:t,width:a,height:n}=L.getBoundingClientRect();U({x:t+a/2,y:e+n/2})}}),[L]),s.default.createElement("div",{className:"loading-swaps-quotes"},s.default.createElement("div",{className:"loading-swaps-quotes__content"},s.default.createElement(s.default.Fragment,null,s.default.createElement("div",{className:"loading-swaps-quotes__quote-counter"},s.default.createElement("span",null,b("swapFetchingQuoteNofN",[Math.min(j+1,D),D]))),s.default.createElement("div",{className:"loading-swaps-quotes__quote-name-check"},s.default.createElement("span",null,b("swapFetchingQuotes"))),s.default.createElement("div",{className:"loading-swaps-quotes__loading-bar-container"},s.default.createElement("div",{className:"loading-swaps-quotes__loading-bar",style:{width:100/D*j+"%"}}))),s.default.createElement("div",{className:"loading-swaps-quotes__animation"},s.default.createElement(E.default,null),s.default.createElement("div",{className:"loading-swaps-quotes__mascot-container",ref:A},s.default.createElement(g.default,{animationEventEmitter:T.current,width:"90",height:"90",lookAtTarget:B})))),s.default.createElement(_.default,{submitText:b("back"),onSubmit:async()=>{w(M),await v((0,u.navigateBackToBuildQuote)(k))},hideCancel:!0}))}w.propTypes={loadingComplete:o.default.bool.isRequired,onDone:o.default.func.isRequired,aggregatorMetadata:o.default.objectOf(o.default.shape({title:o.default.string,color:o.default.string,icon:o.default.string}))}}}},{package:"$root$",file:"ui/pages/swaps/loading-swaps-quotes/loading-swaps-quotes.js"}],[5931,{"./main-quote-summary":5932},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return s.default}});var n,s=(n=e("./main-quote-summary"))&&n.__esModule?n:{default:n}}}},{package:"$root$",file:"ui/pages/swaps/main-quote-summary/index.js"}],[5932,{"../../../../shared/lib/transactions-controller-utils":4531,"../../../components/ui/tooltip":5310,"../../../components/ui/url-icon":5319,"../exchange-rate-display":5921,"../swaps.util":5967,"bignumber.js":2933,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=p;var n=d(e("react")),s=d(e("prop-types")),r=d(e("bignumber.js")),o=d(e("../../../components/ui/tooltip")),i=d(e("../../../components/ui/url-icon")),l=d(e("../exchange-rate-display")),c=e("../swaps.util"),u=e("../../../../shared/lib/transactions-controller-utils");function d(e){return e&&e.__esModule?e:{default:e}}function p({sourceValue:e,sourceSymbol:t,sourceDecimals:a,sourceIconUrl:s,destinationValue:r,destinationSymbol:d,destinationDecimals:p,destinationIconUrl:f}){const m=(0,u.toPrecisionWithoutTrailingZeros)((0,u.calcTokenAmount)(e,a).toString(10),12),g=(0,u.calcTokenAmount)(r,p),h=(0,c.formatSwapsValueForDisplay)(g),_=h.match(/\d+/gu).join("").length,[E,y]=(b=_)<=9?[50,48]:b<=13?[40,32]:[26,15];var b;let w=h;return _>20&&(w=`${h.slice(0,20)}...`),n.default.createElement("div",{className:"main-quote-summary"},n.default.createElement("div",{className:"main-quote-summary__details"},n.default.createElement("div",{className:"main-quote-summary__quote-details-top"},n.default.createElement("div",{className:"main-quote-summary__source-row","data-testid":"main-quote-summary__source-row"},n.default.createElement("span",{className:"main-quote-summary__source-row-value",title:(0,c.formatSwapsValueForDisplay)(m)},(0,c.formatSwapsValueForDisplay)(m)),n.default.createElement(i.default,{url:s,className:"main-quote-summary__icon",name:t,fallbackClassName:"main-quote-summary__icon-fallback"}),n.default.createElement("span",{className:"main-quote-summary__source-row-symbol",title:t},t)),n.default.createElement("i",{className:"fa fa-arrow-down main-quote-summary__down-arrow"}),n.default.createElement("div",{className:"main-quote-summary__destination-row"},n.default.createElement(i.default,{url:f,className:"main-quote-summary__icon",name:d,fallbackClassName:"main-quote-summary__icon-fallback"}),n.default.createElement("span",{className:"main-quote-summary__destination-row-symbol"},d)),n.default.createElement("div",{className:"main-quote-summary__quote-large"},n.default.createElement(o.default,{interactive:!0,position:"bottom",html:h,disabled:w===h},n.default.createElement("span",{className:"main-quote-summary__quote-large-number",style:{fontSize:E,lineHeight:`${y}px`}},`${w}`)))),n.default.createElement("div",{className:"main-quote-summary__exchange-rate-container","data-testid":"main-quote-summary__exchange-rate-container"},n.default.createElement(l.default,{primaryTokenValue:e,primaryTokenDecimals:a,primaryTokenSymbol:t,secondaryTokenValue:r,secondaryTokenDecimals:p,secondaryTokenSymbol:d,arrowColor:"var(--color-primary-default)",boldSymbols:!1,className:"main-quote-summary__exchange-rate-display"}))))}p.propTypes={sourceValue:s.default.oneOfType([s.default.string,s.default.instanceOf(r.default)]).isRequired,sourceDecimals:s.default.oneOfType([s.default.string,s.default.number]),sourceSymbol:s.default.string.isRequired,destinationValue:s.default.oneOfType([s.default.string,s.default.instanceOf(r.default)]).isRequired,destinationDecimals:s.default.oneOfType([s.default.string,s.default.number]),destinationSymbol:s.default.string.isRequired,sourceIconUrl:s.default.string,destinationIconUrl:s.default.string}}}},{package:"$root$",file:"ui/pages/swaps/main-quote-summary/main-quote-summary.js"}],[5933,{"../../../components/ui/mascot":5262,events:3328,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=function(){const e=(0,s.useRef)(new n.default);return s.default.createElement("div",{className:"mascot-background-animation__animation"},s.default.createElement("div",{className:"mascot-background-animation__background-1","data-testid":"mascot-background-animation-background-1"},s.default.createElement("svg",{width:"193",height:"190",viewBox:"0 0 193 190",fill:"none",xmlns:"http://www.w3.org/2000/svg"},s.default.createElement("path",{d:"M153.753 53.876C153.595 53.9493 153.419 54.0161 153.25 54.0651C151.081 54.7451 148.777 53.538 148.086 51.3768C147.763 50.3298 147.851 49.2109 148.361 48.2363C148.87 47.2618 149.732 46.5374 150.78 46.2144C151.828 45.8913 152.948 45.9781 153.923 46.4865C154.898 46.9949 155.622 47.8557 155.944 48.9027C156.567 50.918 155.592 53.0243 153.753 53.876ZM150.817 47.5708C150.245 47.8359 149.782 48.2721 149.495 48.8334C149.144 49.5127 149.073 50.2843 149.303 51.0047C149.774 52.4998 151.375 53.3384 152.877 52.8787C154.374 52.4069 155.215 50.8063 154.756 49.3056C154.526 48.5852 154.027 47.9888 153.36 47.6334C152.68 47.2836 151.908 47.213 151.187 47.4437C151.049 47.4636 150.927 47.52 150.817 47.5708Z",fill:"#86E29B"}),s.default.createElement("path",{d:"M18.3624 73.9241C18.3015 73.9523 18.2407 73.9805 18.1798 74.0087C17.0495 74.4733 15.8073 74.4728 14.6751 74.0078C12.3517 73.0461 11.2387 70.3567 12.2031 68.0341C13.1676 65.7115 15.8598 64.5971 18.1833 65.5589C19.3155 66.0239 20.1951 66.9013 20.6591 68.0304C21.123 69.1595 21.1215 70.4008 20.6552 71.5326C20.2207 72.6053 19.4093 73.4391 18.3624 73.9241ZM15.0433 66.7921C14.3129 67.1305 13.713 67.7186 13.3766 68.5243C12.6776 70.207 13.4834 72.1377 15.1666 72.8348C15.9849 73.1647 16.8786 73.1789 17.6933 72.831C18.5136 72.4952 19.1388 71.8659 19.4818 71.0424C19.8126 70.2245 19.8276 69.3313 19.4801 68.5175C19.1448 67.6981 18.5155 67.0739 17.6917 66.7319C16.8144 66.3703 15.8589 66.4142 15.0433 66.7921Z",fill:"#FFB0EB"}),s.default.createElement("path",{d:"M116.617 37.3839C117.397 37.0226 117.736 36.0982 117.375 35.3192C117.015 34.5402 116.09 34.2016 115.31 34.5629C114.53 34.9243 114.19 35.8487 114.551 36.6277C114.912 37.4067 115.837 37.7453 116.617 37.3839Z",fill:"url(#paint0_linear)"}),s.default.createElement("path",{d:"M55.1317 91.7213C55.9116 91.36 56.2512 90.4356 55.8903 89.6566C55.5294 88.8776 54.6046 88.539 53.8247 88.9003C53.0448 89.2617 52.7052 90.1861 53.0661 90.9651C53.427 91.7441 54.3518 92.0827 55.1317 91.7213Z",fill:"url(#paint1_linear)"}),s.default.createElement("path",{d:"M31.9932 126.235C32.7731 125.874 33.1127 124.95 32.7518 124.171C32.3909 123.392 31.4661 123.053 30.6863 123.414C29.9064 123.776 29.5667 124.7 29.9277 125.479C30.2886 126.258 31.2134 126.597 31.9932 126.235Z",fill:"url(#paint2_linear)"}),s.default.createElement("path",{d:"M119.43 132.589C120.21 132.228 120.55 131.304 120.189 130.525C119.828 129.746 118.903 129.407 118.123 129.768C117.344 130.13 117.004 131.054 117.365 131.833C117.726 132.612 118.651 132.951 119.43 132.589Z",fill:"url(#paint3_linear)"}),s.default.createElement("path",{d:"M44.7469 47.3835C46.0108 46.7979 46.5612 45.2997 45.9763 44.0372C45.3914 42.7747 43.8926 42.2259 42.6286 42.8115C41.3647 43.3971 40.8143 44.8953 41.3992 46.1578C41.9841 47.4203 43.4829 47.9691 44.7469 47.3835Z",fill:"url(#paint4_linear)"}),s.default.createElement("path",{d:"M105.107 90.7857C106.371 90.2001 106.922 88.702 106.337 87.4394C105.752 86.1769 104.253 85.6282 102.989 86.2137C101.725 86.7993 101.175 88.2975 101.76 89.56C102.344 90.8226 103.843 91.3713 105.107 90.7857Z",fill:"url(#paint5_linear)"}),s.default.createElement("path",{d:"M95.5179 172.376C96.7818 171.791 97.3322 170.293 96.7473 169.03C96.1624 167.767 94.6636 167.219 93.3996 167.804C92.1357 168.39 91.5853 169.888 92.1702 171.151C92.7551 172.413 94.2539 172.962 95.5179 172.376Z",fill:"url(#paint6_linear)"}),s.default.createElement("path",{d:"M165.098 102.367C166.362 101.781 166.912 100.283 166.327 99.0205C165.742 97.758 164.244 97.2092 162.98 97.7948C161.716 98.3804 161.165 99.8786 161.75 101.141C162.335 102.404 163.834 102.952 165.098 102.367Z",fill:"url(#paint7_linear)"}),s.default.createElement("defs",null,s.default.createElement("linearGradient",{id:"paint0_linear",x1:"114.554",y1:"36.6326",x2:"117.379",y2:"35.3237",gradientUnits:"userSpaceOnUse"},s.default.createElement("stop",{stopColor:"#75C3FC"}),s.default.createElement("stop",{offset:"1",stopColor:"#75C3FC"})),s.default.createElement("linearGradient",{id:"paint1_linear",x1:"53.0688",y1:"90.97",x2:"55.8937",y2:"89.6611",gradientUnits:"userSpaceOnUse"},s.default.createElement("stop",{stopColor:"#75C3FC"}),s.default.createElement("stop",{offset:"1",stopColor:"#75C3FC"})),s.default.createElement("linearGradient",{id:"paint2_linear",x1:"29.9283",y1:"125.483",x2:"32.7532",y2:"124.174",gradientUnits:"userSpaceOnUse"},s.default.createElement("stop",{stopColor:"#75C3FC"}),s.default.createElement("stop",{offset:"1",stopColor:"#75C3FC"})),s.default.createElement("linearGradient",{id:"paint3_linear",x1:"117.365",y1:"131.837",x2:"120.19",y2:"130.528",gradientUnits:"userSpaceOnUse"},s.default.createElement("stop",{stopColor:"#75C3FC"}),s.default.createElement("stop",{offset:"1",stopColor:"#75C3FC"})),s.default.createElement("linearGradient",{id:"paint4_linear",x1:"41.4394",y1:"46.2402",x2:"45.947",y2:"43.9537",gradientUnits:"userSpaceOnUse"},s.default.createElement("stop",{stopColor:"#75C3FC"}),s.default.createElement("stop",{offset:"1",stopColor:"#75C3FC"})),s.default.createElement("linearGradient",{id:"paint5_linear",x1:"101.8",y1:"89.6425",x2:"106.307",y2:"87.356",gradientUnits:"userSpaceOnUse"},s.default.createElement("stop",{stopColor:"#75C3FC"}),s.default.createElement("stop",{offset:"1",stopColor:"#75C3FC"})),s.default.createElement("linearGradient",{id:"paint6_linear",x1:"92.2104",y1:"171.233",x2:"96.718",y2:"168.947",gradientUnits:"userSpaceOnUse"},s.default.createElement("stop",{stopColor:"#75C3FC"}),s.default.createElement("stop",{offset:"1",stopColor:"#75C3FC"})),s.default.createElement("linearGradient",{id:"paint7_linear",x1:"161.79",y1:"101.224",x2:"166.298",y2:"98.937",gradientUnits:"userSpaceOnUse"},s.default.createElement("stop",{stopColor:"#75C3FC"}),s.default.createElement("stop",{offset:"1",stopColor:"#75C3FC"}))))),s.default.createElement("div",{className:"mascot-background-animation__background-2","data-testid":"mascot-background-animation-background-2"},s.default.createElement("svg",{width:"195",height:"205",viewBox:"0 0 195 205",fill:"none",xmlns:"http://www.w3.org/2000/svg"},s.default.createElement("path",{d:"M29.84 121.982C30.0408 121.969 30.245 122.01 30.4258 122.106L46.4233 130.275C46.8125 130.478 47.0536 130.893 47.0402 131.324C47.0143 131.768 46.7423 132.148 46.3356 132.308L24.5484 140.937C24.1417 141.097 23.6789 141.005 23.3642 140.702C23.0495 140.4 22.9398 139.937 23.0753 139.525L28.8651 122.727C28.9671 122.426 29.2065 122.169 29.5086 122.056C29.614 122.023 29.7194 121.989 29.84 121.982ZM43.1981 131.148L30.5607 124.689L25.9884 137.96L43.1981 131.148Z",fill:"#75C4FD"}),s.default.createElement("path",{d:"M168.214 54.3381C168.442 54.3238 168.674 54.3764 168.869 54.485C169.217 54.6781 169.44 55.0266 169.465 55.4145L170.59 68.4358C170.631 68.8763 170.416 69.3061 170.041 69.5444C169.666 69.7827 169.182 69.7862 168.805 69.5681L156.14 62.2246C155.763 62.0065 155.535 61.5911 155.548 61.1472C155.56 60.7033 155.818 60.3112 156.209 60.1122L167.75 54.4343C167.908 54.3841 168.067 54.3473 168.214 54.3381ZM168.027 66.3674L167.248 57.3661L159.267 61.2902L168.027 66.3674Z",fill:"#FFB0EB"}),s.default.createElement("path",{d:"M88.6283 16.6885C88.8694 16.6734 89.1154 16.7385 89.3255 16.873L100.21 24.1133C100.561 24.3464 100.762 24.7635 100.708 25.1832C100.653 25.6028 100.381 25.969 99.9864 26.1146L86.3391 31.4276C85.9449 31.5731 85.5106 31.5064 85.1842 31.2314C84.8712 30.9556 84.7239 30.5352 84.8192 30.1264L87.5815 17.5731C87.666 17.2053 87.9162 16.9076 88.2702 16.7646C88.3882 16.7169 88.5078 16.696 88.6283 16.6885ZM97.1342 24.7894L89.4471 19.6718L87.5021 28.5349L97.1342 24.7894Z",fill:"url(#paint0_linear)"}),s.default.createElement("path",{d:"M117.145 183.156C116.944 183.289 116.698 183.356 116.449 183.344L103.402 182.517C102.982 182.49 102.6 182.229 102.437 181.839C102.274 181.448 102.327 180.995 102.596 180.671L111.758 169.247C112.027 168.923 112.436 168.764 112.856 168.839C113.265 168.921 113.603 169.212 113.725 169.614L117.609 181.866C117.72 182.227 117.652 182.61 117.417 182.911C117.339 183.011 117.246 183.089 117.145 183.156ZM105.728 180.393L114.944 180.981L112.197 172.333L105.728 180.393Z",fill:"url(#paint1_linear)"}),s.default.createElement("path",{d:"M38.0816 74.0208C38.1217 74.0183 38.1485 74.0166 38.1887 74.0141C42.3831 73.805 45.9744 77.0577 46.1831 81.2474C46.3919 85.4371 43.1484 89.0241 38.9407 89.234C34.7463 89.4431 31.1549 86.1904 30.9462 82.0007C30.7391 77.8377 33.9307 74.2809 38.0816 74.0208ZM38.9104 87.2486C41.9767 87.0565 44.3523 84.4236 44.1997 81.3448C44.0455 78.2393 41.3949 75.8407 38.2859 75.9952C35.1761 76.1364 32.7753 78.7977 32.9296 81.9033C33.0838 85.0088 35.7344 87.4073 38.8434 87.2528C38.8568 87.252 38.8836 87.2503 38.9104 87.2486Z",fill:"#86E29B"}),s.default.createElement("path",{d:"M162.178 97.8401C162.218 97.8376 162.245 97.8359 162.285 97.8334C166.48 97.6243 170.071 100.877 170.28 105.067C170.489 109.256 167.245 112.843 163.037 113.053C158.843 113.262 155.252 110.01 155.043 105.82C154.836 101.657 158.027 98.1002 162.178 97.8401ZM163.007 111.068C166.073 110.876 168.449 108.243 168.296 105.164C168.142 102.059 165.492 99.6601 162.383 99.8146C159.273 99.9557 156.872 102.617 157.026 105.723C157.181 108.828 159.831 111.227 162.94 111.072C162.953 111.071 162.98 111.07 163.007 111.068Z",fill:"#86E29B"}),s.default.createElement("defs",null,s.default.createElement("linearGradient",{id:"paint0_linear",x1:"100.609",y1:"23.2611",x2:"84.4152",y2:"24.2757",gradientUnits:"userSpaceOnUse"},s.default.createElement("stop",{stopColor:"#FFE466"}),s.default.createElement("stop",{offset:"1",stopColor:"#FFAFEA"})),s.default.createElement("linearGradient",{id:"paint1_linear",x1:"103.812",y1:"183.939",x2:"116.959",y2:"174.66",gradientUnits:"userSpaceOnUse"},s.default.createElement("stop",{stopColor:"#75C3FC"}),s.default.createElement("stop",{offset:"0.0928503",stopColor:"#81C2F6"}),s.default.createElement("stop",{offset:"1",stopColor:"#F0B8BD"}))))),s.default.createElement("div",{className:"mascot-background-animation__mascot-container","data-testid":"mascot-background-animation-mascot-container"},s.default.createElement(r.default,{animationEventEmitter:e.current,width:"42",height:"42",followMouse:!1})))};var n=i(e("events")),s=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=o(t);if(a&&a.has(e))return a.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=s?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(n,r,i):n[r]=e[r]}return n.default=e,a&&a.set(e,n),n}(e("react")),r=i(e("../../../components/ui/mascot"));function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(o=function(e){return e?a:t})(e)}function i(e){return e&&e.__esModule?e:{default:e}}}}},{package:"$root$",file:"ui/pages/swaps/mascot-background-animation/mascot-background-animation.js"}],[5934,{"../../../../shared/constants/swaps":4516,"../../../components/component-library":4955,"../../../components/ui/box":5194,"../../../contexts/i18n":5324,"../../../helpers/constants/design-system":5355,"../../../helpers/constants/routes":5361,"../../../store/actions":5998,"../swaps-footer":5965,"prop-types":3997,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=_;var n=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=h(t);if(a&&a.has(e))return a.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=s?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n.default=e,a&&a.set(e,n),n}(e("react")),s=e("react-redux"),r=e("react-router-dom"),o=g(e("prop-types")),i=e("../../../contexts/i18n"),l=e("../../../store/actions"),c=g(e("../../../components/ui/box")),u=e("../../../helpers/constants/design-system"),d=e("../../../components/component-library"),p=e("../../../helpers/constants/routes"),f=g(e("../swaps-footer")),m=e("../../../../shared/constants/swaps");function g(e){return e&&e.__esModule?e:{default:e}}function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(h=function(e){return e?a:t})(e)}function _({notificationKey:e}){const t=(0,n.useContext)(i.I18nContext),a=(0,r.useHistory)(),o=(0,s.useDispatch)();let g="",h="",_="";return e===m.QUOTES_EXPIRED_ERROR&&(g=t("swapAreYouStillThere"),h=t("swapAreYouStillThereDescription"),_=t("swapShowLatestQuotes")),n.default.createElement("div",{className:"notification-page"},n.default.createElement(c.default,{alignItems:u.AlignItems.center,display:u.DISPLAY.FLEX,flexDirection:u.FLEX_DIRECTION.COLUMN,marginTop:10,marginLeft:4,marginRight:4,textAlign:u.TEXT_ALIGN.CENTER,className:"notification-page__content"},n.default.createElement(c.default,{marginTop:8,marginBottom:4},n.default.createElement(d.Icon,{name:d.IconName.Warning,color:u.IconColor.iconMuted,className:"notification-page__warning-icon"})),n.default.createElement(d.Text,{variant:u.TextVariant.bodyLgMedium,as:"h2"},g),n.default.createElement(d.Text,{variant:u.TextVariant.bodyMd,as:"h6"},h)),n.default.createElement(f.default,{onSubmit:async()=>{await o((0,l.setSwapsErrorKey)("")),a.push(p.PREPARE_SWAP_ROUTE)},submitText:_,hideCancel:!0,showTermsOfService:!0}))}_.propTypes={notificationKey:o.default.oneOf([m.QUOTES_EXPIRED_ERROR])}}}},{package:"$root$",file:"ui/pages/swaps/notification-page/notification-page.js"}],[5935,{"../../../../shared/constants/metametrics":4505,"../../../../shared/constants/swaps":4516,"../../../../shared/lib/swaps-utils":4528,"../../../../shared/lib/token-util":4530,"../../../../shared/lib/transactions-controller-utils":4531,"../../../../shared/modules/conversion.utils":4537,"../../../../shared/modules/selectors":4554,"../../../../shared/modules/string-utils":4558,"../../../../shared/modules/swaps.utils":4559,"../../../components/component-library":4955,"../../../components/component-library/modal-content/deprecated":4963,"../../../components/component-library/modal-header/deprecated":4972,"../../../components/ui/box":5194,"../../../contexts/i18n":5324,"../../../contexts/metametrics":5327,"../../../ducks/metamask/metamask":5346,"../../../ducks/swaps/swaps":5351,"../../../helpers/constants/design-system":5355,"../../../helpers/constants/routes":5361,"../../../helpers/utils/portfolio":5394,"../../../helpers/utils/util":5399,"../../../hooks/useEqualityCheck":5422,"../../../hooks/useEthFiatAmount":5423,"../../../hooks/usePrevious":5436,"../../../hooks/useTokenFiatAmount":5446,"../../../hooks/useTokenTracker":5447,"../../../hooks/useTokensToSearch":5448,"../../../selectors":5987,"../../../store/actionConstants":5997,"../../../store/actions":5998,"../import-token":5925,"../list-with-search/list-with-search":5927,"../selected-token/selected-token":5953,"../swaps-banner-alert/swaps-banner-alert":5964,"../swaps-footer":5965,"../swaps.util":5967,"../transaction-settings/transaction-settings":5968,"./quotes-loading-animation":5936,"./review-quote":5937,"@metamask/etherscan-link":1369,"bignumber.js":2933,classnames:3049,lodash:3836,"prop-types":3997,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=ee;var n=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=Z(t);if(a&&a.has(e))return a.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=s?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n.default=e,a&&a.set(e,n),n}(e("react")),s=Y(e("bignumber.js")),r=Y(e("prop-types")),o=e("react-redux"),i=e("lodash"),l=e("react-router-dom"),c=e("@metamask/etherscan-link"),u=Y(e("classnames")),d=e("../../../contexts/metametrics"),p=e("../../../hooks/useTokensToSearch"),f=e("../../../hooks/useEqualityCheck"),m=e("../../../contexts/i18n"),g=e("../../../ducks/metamask/metamask"),h=Y(e("../../../components/ui/box")),_=e("../../../helpers/constants/design-system"),E=e("../../../ducks/swaps/swaps"),y=e("../../../selectors"),b=e("../../../../shared/modules/selectors"),w=e("../../../../shared/modules/conversion.utils"),v=e("../../../helpers/utils/util"),k=e("../../../helpers/utils/portfolio"),T=e("../../../hooks/usePrevious"),C=e("../../../hooks/useTokenTracker"),x=e("../../../hooks/useTokenFiatAmount"),S=e("../../../hooks/useEthFiatAmount"),N=e("../../../../shared/modules/swaps.utils"),O=e("../../../../shared/constants/metametrics"),I=e("../../../../shared/constants/swaps"),R=e("../../../store/actions"),M=e("../../../store/actionConstants"),P=e("../swaps.util"),D=e("../../../../shared/lib/token-util"),A=e("../../../../shared/modules/string-utils"),L=e("../../../../shared/lib/transactions-controller-utils"),j=e("../../../../shared/lib/swaps-utils"),F=e("../../../components/component-library"),B=e("../../../components/component-library/modal-content/deprecated"),U=e("../../../components/component-library/modal-header/deprecated"),W=e("../../../helpers/constants/routes"),q=Y(e("../import-token")),$=Y(e("../transaction-settings/transaction-settings")),V=Y(e("../swaps-banner-alert/swaps-banner-alert")),H=Y(e("../swaps-footer")),K=Y(e("../selected-token/selected-token")),Q=Y(e("../list-with-search/list-with-search")),z=Y(e("./quotes-loading-animation")),G=Y(e("./review-quote"));function Y(e){return e&&e.__esModule?e:{default:e}}function Z(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(Z=function(e){return e?a:t})(e)}function J(){return J=Object.assign?Object.assign.bind():function(e){for(var t=1;tle(!1),[ue,de]=(0,n.useState)(!1),pe=()=>de(!1),[fe,me]=(0,n.useState)(!1),[ge,he]=(0,n.useState)(null),[_e,Ee]=(0,n.useState)(""),[ye,be]=(0,n.useState)(""),[we,ve]=(0,n.useState)(0),[ke,Te]=(0,n.useState)(!1),[Ce,xe]=(0,n.useState)(!1),Se=(0,o.useSelector)(E.getIsFeatureFlagLoaded),Ne=(0,o.useSelector)(E.getBalanceError),Oe=(0,o.useSelector)(E.getFetchParams,i.isEqual),{sourceTokenInfo:Ie={},destinationTokenInfo:Re={}}=(null==Oe?void 0:Oe.metaData)||{},Me=(0,o.useSelector)(g.getTokens,i.isEqual),Pe=(0,o.useSelector)(E.getTopAssets,i.isEqual),De=(0,o.useSelector)(E.getFromToken,i.isEqual),Ae=(0,o.useSelector)(E.getFromTokenInputValue),Le=(0,o.useSelector)(E.getFromTokenError),je=(0,o.useSelector)(E.getMaxSlippage),Fe=(0,o.useSelector)(E.getToToken,i.isEqual)||Re,Be=(0,o.useSelector)(y.getSwapsDefaultToken,i.isEqual),Ue=(0,o.useSelector)(y.getCurrentChainId),We=(0,o.useSelector)(y.getRpcPrefsForCurrentProvider,o.shallowEqual),qe=(0,o.useSelector)(y.getTokenList,i.isEqual),$e=(0,o.useSelector)(E.getQuotes,i.isEqual),Ve=(0,o.useSelector)(E.getLatestAddedTokenTo,i.isEqual),He=Object.keys($e).length,Ke=He>0,Qe=(0,o.useSelector)(E.getSwapsErrorKey),ze=(0,o.useSelector)(E.getAggregatorMetadata,o.shallowEqual),Ge=(0,o.useSelector)(E.getTransactionSettingsOpened,o.shallowEqual),Ye=ze?Object.keys(ze).length:0,Ze=(0,o.useSelector)(y.getIsBridgeChain),Je=(0,o.useSelector)(y.getMetaMetricsId),Xe=(0,o.useSelector)(y.getTokenExchangeRates,i.isEqual),et=(0,o.useSelector)(g.getConversionRate),tt=(0,o.useSelector)(y.isHardwareWallet),at=(0,o.useSelector)(y.getHardwareWalletType),nt=(0,o.useSelector)(b.getSmartTransactionsOptInStatus),st=(0,o.useSelector)(b.getSmartTransactionsEnabled),rt=(0,o.useSelector)(E.getCurrentSmartTransactionsEnabled),ot=rt&&nt,it=(0,o.useSelector)(y.getCurrentCurrency),lt=(0,o.useSelector)(E.getFetchingQuotes),ct=!lt&&Ke,ut=(0,N.isSwapsDefaultTokenSymbol)(null==Ie?void 0:Ie.symbol,Ue)?Be:Ie,{tokensWithBalances:dt}=(0,C.useTokenTracker)({tokens:Me}),pt=!(0,N.isSwapsDefaultTokenSymbol)(null==De?void 0:De.symbol,Ue)&&null!=De&&De.balance?[De]:[],ft=(0,i.uniqBy)([...dt,...Me,...pt],"address"),mt=(0,f.useEqualityCheck)(ft),gt=(0,p.getRenderableTokenData)(De||ut,Xe,et,it,Ue,qe),ht=(0,p.useTokensToSearch)({usersTokens:mt,topTokens:Pe,shuffledTokensList:a,tokenBucketPriority:I.TokenBucketPriority.owned}),_t=(0,p.useTokensToSearch)({usersTokens:mt,topTokens:Pe,shuffledTokensList:a,tokenBucketPriority:I.TokenBucketPriority.top}),Et=ht.find((({address:e})=>(0,A.isEqualCaseInsensitive)(e,null==Fe?void 0:Fe.address)))||Fe,yt=(null==Et?void 0:Et.address)&&!(0,N.isSwapsDefaultTokenAddress)(null==Et?void 0:Et.address,Ue),bt=Number((null==Et?void 0:Et.occurances)||(null==Et?void 0:Et.occurrences)||0),{address:wt,symbol:vt,string:kt,decimals:Tt,balance:Ct}=gt||{},{address:xt}=Et||{},St=Ct&&(0,L.calcTokenAmount)(Ct,Tt).toString(10),Nt=(0,T.usePrevious)(St),Ot=(0,x.useTokenFiatAmount)(wt,Ae||0,vt,{showFiat:!0},!0),It=(0,S.useEthFiatAmount)(Ae||0,{showFiat:!0},!0),Rt=(0,N.isSwapsDefaultTokenSymbol)(vt,Ue)?It:Ot,Mt=(0,n.useCallback)(((e,t)=>{Y((0,E.setFromTokenInputValue)(e));const a=new s.default(e||0).gt(t||0);Ne!==a&&Y((0,E.setBalanceError)(a)),Y((0,E.setFromTokenError)(De&&(0,P.countDecimals)(e)>De.decimals?"tooManyDecimals":null))}),[Y,De,Ne]);(0,n.useEffect)((()=>{let e;if(!ke)return void ve(0);e=ct?20:500+Math.floor(1500*Math.random());const t=setTimeout((()=>{we{await Y((0,R.setBackgroundSwapRouteState)("")),Te(!1),Qe!==I.ERROR_FETCHING_QUOTES&&Qe!==I.QUOTES_NOT_AVAILABLE_ERROR||Y((0,R.setSwapsErrorKey)(I.QUOTES_NOT_AVAILABLE_ERROR))})()}),e);return function(){clearTimeout(t)}}),[lt,we,ct,He,Y,Z,Qe,Ye,ke]);const Pt=e=>{null!=e&&e.address&&!Rt&&null!==te?(0,P.fetchTokenPrice)(e.address).then((e=>{null!==e&&e!==undefined&&ae(e)})):ae(null),null!=e&&e.address&&!mt.find((t=>(0,A.isEqualCaseInsensitive)(t.address,e.address)))&&(0,D.fetchTokenBalance)(e.address,t,global.ethereumProvider).then((t=>{if(null!=t&&t.balance){const a=t.balance.toString(10),n=(0,L.calcTokenAmount)(a,e.decimals);Y((0,E.setSwapsFromToken)({...e,string:n.toString(10),balance:a}))}})),Y((0,E.setSwapsFromToken)(e)),Mt(Ae,e.string,e.decimals)},Dt=(0,c.getTokenTrackerLink)(Et.address,Ue,null,null,{blockExplorerUrl:I.SWAPS_CHAINID_DEFAULT_BLOCK_EXPLORER_URL_MAP[Ue]??null}),At=We.blockExplorerUrl?(0,v.getURLHostName)(Dt):r("etherscan"),{address:Lt}=Fe||{},jt=(0,n.useCallback)((e=>{Ve&&e.address!==Lt&&Y((0,R.ignoreTokens)({tokensToIgnore:Lt,dontShowLoadingIndicator:!0})),Y((0,E.setSwapToToken)(e)),se(!1)}),[Y,Ve,Lt]),Ft=dt.find((e=>(0,A.isEqualCaseInsensitive)(e.address,null==De?void 0:De.address))),Bt=(0,T.usePrevious)(Ft);(0,n.useEffect)((()=>{const e=!(0,N.isSwapsDefaultTokenAddress)(null==Ft?void 0:Ft.address,Ue),t=(0,A.isEqualCaseInsensitive)(null==Ft?void 0:Ft.address,null==Bt?void 0:Bt.address),a=(null==Ft?void 0:Ft.balance)!==(null==Bt?void 0:Bt.balance);e&&t&&a&&Y((0,E.setSwapsFromToken)({...De,balance:null==Ft?void 0:Ft.balance,string:null==Ft?void 0:Ft.string}))}),[Y,Ft,Bt,De,Ue]),(0,n.useEffect)((()=>{(0,N.isSwapsDefaultTokenAddress)(null==De?void 0:De.address,Ue)&&(null==De?void 0:De.balance)!==(0,w.hexToDecimal)(e)&&Y((0,E.setSwapsFromToken)({...De,balance:(0,w.hexToDecimal)(e),string:(0,w.getValueFromWeiHex)({value:e,numberOfDecimals:4,toDenomination:"ETH"})}))}),[Y,De,e,Ue]),(0,n.useEffect)((()=>{null!=De&&De.symbol||null!=ut&&ut.symbol||Y((0,E.setSwapsFromToken)(Be))}),[]),(0,n.useEffect)((()=>{Nt!==St&&Mt(Ae,St)}),[Mt,Nt,Ae,St]);const Ut=(0,n.useCallback)((()=>{ee({event:"Prepare Swap Page Loaded",category:O.MetaMetricsEventCategory.Swaps,sensitiveProperties:{is_hardware_wallet:tt,hardware_wallet_type:at,stx_enabled:st,current_stx_enabled:rt,stx_user_opt_in:nt}})}),[ee,tt,at,st,rt,nt]);(0,n.useEffect)((()=>{Y((0,R.resetSwapsPostFetchState)()),Y((0,E.setReviewSwapClickedTimestamp)()),Ut()}),[Y,Ut]);const Wt=()=>n.default.createElement("a",{className:"prepare-swap-page__token-etherscan-link",key:"prepare-swap-page-etherscan-link",onClick:()=>{ee({event:O.MetaMetricsEventName.ExternalLinkClicked,category:O.MetaMetricsEventCategory.Swaps,properties:{link_type:O.MetaMetricsEventLinkType.TokenTracker,location:"Swaps Confirmation",url_domain:(0,v.getURLHostName)(Dt)}}),global.platform.openTab({url:Dt})},target:"_blank",rel:"noopener noreferrer"},At),qt=`${r("balance")}: ${kt||"0"}`,$t=`${r("balance")}: ${(null==Et?void 0:Et.string)||"0"}`,Vt=(0,j.shouldEnableDirectWrapping)(Ue,wt,Et.address),Ht=Le||!Se||!Number(Ae)||!(null!=Et&&Et.address)||!wt||Number(je)<0||Number(je)>I.MAX_ALLOWED_SLIPPAGE||yt&&bt<2&&!ne;let Kt;(0,n.useEffect)((()=>{Y((0,R.clearSwapsQuotes)()),Y((0,R.stopPollingForQuotes)());return X=setTimeout((()=>{X=null,Ht||(ot&&((0,R.clearSmartTransactionFees)(),Y({type:M.SET_SMART_TRANSACTIONS_ERROR,payload:null})),(async()=>{Te(!0),await Y((0,E.fetchQuotesAndSetQuoteState)(Z,Ae,je,ee,!0))})())}),1e3),()=>clearTimeout(X)}),[Y,Z,je,ee,Ht,Ae,wt,xt,nt,ot]),Kt=Qe&&Qe===I.QUOTES_NOT_AVAILABLE_ERROR?r("swapQuotesNotAvailableErrorTitle"):Ht?null!=Et&&Et.address&&wt?r("swapEnterAmount"):r("swapSelectToken"):r("swapFetchingQuotes");const Qt=(0,n.useCallback)((e=>(0,A.isEqualCaseInsensitive)(e.address,wt)),[wt]),zt=(0,n.useCallback)((e=>(0,A.isEqualCaseInsensitive)(e.address,null==Et?void 0:Et.address)),[null==Et?void 0:Et.address]),Gt=!Qe&&!Ht&&Ke,Yt=!Qe&&!Ht&&!Ke,Zt=!Le&&Ne&&vt,Jt=Ze&&!Gt&&!Yt&&!Ke,Xt=1===bt;(0,n.useEffect)((()=>{Qe===I.QUOTES_EXPIRED_ERROR&&Z.push(W.SWAPS_NOTIFICATION_ROUTE)}),[Qe,Z]),(0,n.useEffect)((()=>{Yt&&oe("")}),[Yt]);const ea={onImportTokenCloseClick:()=>{me(!1)},onImportTokenClick:()=>{ee({event:"Token Imported",category:O.MetaMetricsEventCategory.Swaps,sensitiveProperties:{symbol:null==ge?void 0:ge.symbol,address:null==ge?void 0:ge.address,chain_id:Ue,is_hardware_wallet:tt,hardware_wallet_type:at,stx_enabled:st,current_stx_enabled:rt,stx_user_opt_in:nt}}),null==jt||jt(ge),he(null)},setIsImportTokenModalOpen:me,tokenForImport:ge};let ta,aa,na;re&&!Ht&&(ta=(0,P.formatSwapsValueForDisplay)(re),aa=(0,P.getClassNameForCharLength)(ta,"prepare-swap-page__receive-amount")),Ae&&(na=(0,P.getClassNameForCharLength)(Ae,"prepare-swap-page__from-token-amount"));const sa=vt&&!(0,N.isSwapsDefaultTokenSymbol)(vt,Ue)&&Ct>0;return n.default.createElement("div",{className:"prepare-swap-page"},n.default.createElement("div",{className:"prepare-swap-page__content"},ge&&fe&&n.default.createElement(q.default,J({isOpen:!0},ea)),n.default.createElement(F.Modal,{onClose:ce,isOpen:ie,isClosedOnOutsideClick:!0,isClosedOnEscapeKey:!0,className:"mm-modal__custom-scrollbar"},n.default.createElement(F.ModalOverlay,null),n.default.createElement(B.ModalContent,null,n.default.createElement(U.ModalHeader,{onClose:ce},r("swapSwapTo")),n.default.createElement(h.default,{paddingTop:10,paddingRight:0,paddingBottom:0,paddingLeft:0,display:_.DISPLAY.FLEX},n.default.createElement(Q.default,{selectedItem:Et,itemsToSearch:_t,onClickItem:e=>{null==jt||jt(e),ce()},maxListItems:30,searchQuery:ye,setSearchQuery:be,hideItemIf:Qt,shouldSearchForImports:!0,onOpenImportTokenModalClick:e=>{he(e),me(!0),ce(),be("")}})))),n.default.createElement(F.Modal,{onClose:pe,isOpen:ue,isClosedOnOutsideClick:!0,isClosedOnEscapeKey:!0,className:"mm-modal__custom-scrollbar"},n.default.createElement(F.ModalOverlay,null),n.default.createElement(B.ModalContent,null,n.default.createElement(U.ModalHeader,{onClose:pe},r("swapSwapFrom")),n.default.createElement(h.default,{paddingTop:10,paddingRight:0,paddingBottom:0,paddingLeft:0,display:_.DISPLAY.FLEX},n.default.createElement(Q.default,{selectedItem:gt,itemsToSearch:ht,onClickItem:e=>{null==Pt||Pt(e),pe()},maxListItems:30,searchQuery:_e,setSearchQuery:Ee,hideItemIf:zt})))),n.default.createElement("div",{className:"prepare-swap-page__swap-from-content"},n.default.createElement(h.default,{display:_.DISPLAY.FLEX,justifyContent:_.JustifyContent.spaceBetween,alignItems:_.AlignItems.center},n.default.createElement(K.default,{onClick:()=>de(!0),onClose:pe,selectedToken:gt,testId:"prepare-swap-page-swap-from"}),n.default.createElement(h.default,{display:_.DISPLAY.FLEX,alignItems:_.AlignItems.center},n.default.createElement(F.TextField,{className:(0,u.default)("prepare-swap-page__from-token-amount",{[na]:na}),size:F.TextFieldSize.Sm,placeholder:"0",onChange:e=>{e.stopPropagation();const t="."===e.target.value?"0.":e.target.value;""===t||/^(\.\d+|\d+(\.\d+)?|\d+\.)$/u.test(t)?Mt(t,St):Mt(Ae||"",St)},value:Ae,truncate:!1,testId:"prepare-swap-page-from-token-amount"}))),n.default.createElement(h.default,{display:_.DISPLAY.FLEX,justifyContent:_.JustifyContent.spaceBetween,alignItems:_.AlignItems.stretch},n.default.createElement("div",{className:"prepare-swap-page__balance-message"},vt&&qt,sa&&n.default.createElement("div",{className:"prepare-swap-page__max-balance","data-testid":"prepare-swap-page-max-balance",onClick:()=>Mt(St||"0",St)},r("max"))),Ae&&Rt&&n.default.createElement(h.default,{display:_.DISPLAY.FLEX,justifyContent:_.JustifyContent.flexEnd,alignItems:_.AlignItems.flexEnd},n.default.createElement(F.Text,{variant:_.TextVariant.bodySm,color:_.TextColor.textAlternative},Rt))),Zt&&n.default.createElement(h.default,{display:_.DISPLAY.FLEX,justifyContent:_.JustifyContent.flexStart},n.default.createElement(F.Text,{variant:_.TextVariant.bodySmBold,color:_.TextColor.textAlternative,marginTop:0},r("swapsNotEnoughToken",[vt]))),Le&&n.default.createElement(h.default,{display:_.DISPLAY.FLEX,justifyContent:_.JustifyContent.flexStart},n.default.createElement(F.Text,{variant:_.TextVariant.bodySmBold,color:_.TextColor.textAlternative,marginTop:0},r("swapTooManyDecimalsError",[vt,Tt]))),n.default.createElement(h.default,{display:_.DISPLAY.FLEX,justifyContent:_.JustifyContent.center},n.default.createElement("div",{className:(0,u.default)("prepare-swap-page__switch-tokens",{"prepare-swap-page__switch-tokens--rotate":Ce,"prepare-swap-page__switch-tokens--disabled":Yt}),"data-testid":"prepare-swap-page-switch-tokens",onClick:()=>{Yt||(jt(gt),Pt(Et),xe(!Ce))},title:r("swapSwapSwitch")},n.default.createElement(F.Icon,{name:F.IconName.Arrow2Down,size:F.IconSize.Lg})))),n.default.createElement("div",{className:"prepare-swap-page__swap-to-content"},n.default.createElement(h.default,{display:_.DISPLAY.FLEX,justifyContent:_.JustifyContent.spaceBetween,alignItems:_.AlignItems.center},n.default.createElement(K.default,{onClick:()=>le(!0),onClose:ce,selectedToken:Et,testId:"prepare-swap-page-swap-to"}),n.default.createElement(h.default,{display:_.DISPLAY.FLEX,alignItems:_.AlignItems.center,marginLeft:2,className:"prepare-swap-page__receive-amount-container"},n.default.createElement(F.Text,{as:"h6","data-testid":"prepare-swap-page-receive-amount",className:(0,u.default)("prepare-swap-page__receive-amount",{[aa]:aa})},ta))),n.default.createElement(h.default,{display:_.DISPLAY.FLEX,justifyContent:_.JustifyContent.spaceBetween,alignItems:_.AlignItems.stretch},n.default.createElement("div",{className:"prepare-swap-page__balance-message"},(null==Et?void 0:Et.string)&&$t))),Jt&&n.default.createElement(F.ButtonLink,{endIconName:F.IconName.Export,endIconProps:{size:F.IconSize.Xs},variant:_.TextVariant.bodySm,marginTop:2,fontWeight:_.FontWeight.Normal,onClick:()=>{const e=(0,k.getPortfolioUrl)("bridge","ext_bridge_prepare_swap_link",Je);global.platform.openTab({url:`${e}&token=${wt}`}),ee({category:O.MetaMetricsEventCategory.Swaps,event:O.MetaMetricsEventName.BridgeLinkClicked,properties:{location:"Swaps",text:"Swap across networks with MetaMask Portfolio",chain_id:Ue,token_symbol:vt}})},target:"_blank","data-testid":"prepare-swap-page-cross-chain-swaps-link"},r("crossChainSwapsLink")),!Gt&&yt&&bt<2&&n.default.createElement(h.default,{display:_.DISPLAY.FLEX,marginTop:2},n.default.createElement(F.BannerAlert,{severity:Xt?_.SEVERITIES.WARNING:_.SEVERITIES.DANGER,title:r(Xt?"swapTokenVerifiedOn1SourceTitle":"swapTokenAddedManuallyTitle"),titleProps:{"data-testid":"swaps-banner-title"},width:_.BLOCK_SIZES.FULL},n.default.createElement(h.default,null,n.default.createElement(F.Text,{variant:_.TextVariant.bodyMd,as:"h6","data-testid":"mm-banner-alert-notification-text"},Xt?r("swapTokenVerifiedOn1SourceDescription",[null==Et?void 0:Et.symbol,n.default.createElement(Wt,{key:"block-explorer-link"})]):r("swapTokenAddedManuallyDescription",[n.default.createElement(Wt,{key:"block-explorer-link"})])),!ne&&n.default.createElement(F.ButtonLink,{size:F.ButtonLinkSize.Inherit,textProps:{variant:_.TextVariant.bodyMd,alignItems:_.AlignItems.flexStart},onClick:e=>{e.preventDefault(),se(!0)}},r("swapContinueSwapping"))))),Qe&&n.default.createElement(h.default,{display:_.DISPLAY.FLEX,marginTop:2},n.default.createElement(V.default,{swapsErrorKey:Qe,currentSlippage:je})),Ge&&!Vt&&n.default.createElement($.default,{onSelect:e=>{Y((0,E.setMaxSlippage)(e))},maxAllowedSlippage:I.MAX_ALLOWED_SLIPPAGE,currentSlippage:je,isDirectWrappingEnabled:Vt,onModalClose:()=>{Y((0,E.setTransactionSettingsOpened)(!1))}}),Yt&&n.default.createElement(z.default,{quoteCount:we,numberOfAggregators:Ye}),Gt&&n.default.createElement(G.default,{setReceiveToAmount:oe})),!Ke&&n.default.createElement(H.default,{submitText:Kt,disabled:!0,hideCancel:!0,showTermsOfService:!0}))}ee.propTypes={ethBalance:r.default.string,selectedAccountAddress:r.default.string,shuffledTokensList:r.default.array}}}},{package:"$root$",file:"ui/pages/swaps/prepare-swap-page/prepare-swap-page.js"}],[5936,{"../../../components/component-library":4955,"../../../components/ui/box":5194,"../../../contexts/i18n":5324,"../../../helpers/constants/design-system":5355,"../mascot-background-animation/mascot-background-animation":5933,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=p;var n=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=d(t);if(a&&a.has(e))return a.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=s?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n.default=e,a&&a.set(e,n),n}(e("react")),s=u(e("prop-types")),r=e("../../../contexts/i18n"),o=u(e("../../../components/ui/box")),i=e("../../../helpers/constants/design-system"),l=e("../../../components/component-library"),c=u(e("../mascot-background-animation/mascot-background-animation"));function u(e){return e&&e.__esModule?e:{default:e}}function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(d=function(e){return e?a:t})(e)}function p(e){const{quoteCount:t,numberOfAggregators:a}=e,s=(0,n.useContext)(r.I18nContext);return n.default.createElement(o.default,{marginTop:4,display:i.DISPLAY.FLEX,justifyContent:i.JustifyContent.center,alignItems:i.AlignItems.center,flexDirection:i.FLEX_DIRECTION.COLUMN},n.default.createElement(o.default,{display:i.DISPLAY.FLEX,justifyContent:i.JustifyContent.center,alignItems:i.AlignItems.center},n.default.createElement(l.Text,{variant:i.TextVariant.bodyMd,as:"h6",color:i.TextColor.textAlternative,marginLeft:1,marginRight:1},s("swapFetchingQuote")),n.default.createElement(l.Text,{variant:i.TextVariant.bodyMdBold,as:"h6",color:i.TextColor.textAlternative},s("swapQuoteNofM",[Math.min(t+1,a),a]))),n.default.createElement(c.default,null))}p.propTypes={quoteCount:s.default.number.isRequired,numberOfAggregators:s.default.number.isRequired}}}},{package:"$root$",file:"ui/pages/swaps/prepare-swap-page/quotes-loading-animation.js"}]],[],{}); \ No newline at end of file +LavaPack.loadBundle([[5830,{"../../../../shared/constants/metametrics":4505,"../../../../shared/constants/preferences":4512,"../../../../shared/constants/smartTransactions":4514,"../../../components/component-library":4955,"../../../components/ui/button":5198,"../../../components/ui/text-field":5302,"../../../components/ui/toggle-button":5306,"../../../helpers/constants/design-system":5355,"../../../helpers/utils/export-utils":5382,"../../../helpers/utils/settings-search":5395,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n=h(e("prop-types")),s=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=g(t);if(a&&a.has(e))return a.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=s?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n.default=e,a&&a.set(e,n),n}(e("react")),r=e("../../../../shared/constants/metametrics"),o=e("../../../../shared/constants/preferences"),i=e("../../../../shared/constants/smartTransactions"),l=e("../../../components/component-library"),c=h(e("../../../components/ui/button")),u=h(e("../../../components/ui/text-field")),d=h(e("../../../components/ui/toggle-button")),p=e("../../../helpers/constants/design-system"),f=e("../../../helpers/utils/export-utils"),m=e("../../../helpers/utils/settings-search");function g(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(g=function(e){return e?a:t})(e)}function h(e){return e&&e.__esModule?e:{default:e}}function _(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var a=e[Symbol.toPrimitive];if(a!==undefined){var n=a.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}const E="CORRUPT_JSON_FILE";class y extends s.PureComponent{constructor(...e){super(...e),_(this,"state",{autoLockTimeLimit:this.props.autoLockTimeLimit,autoLockTimeLimitBeforeNormalization:this.props.autoLockTimeLimit,lockTimeError:"",showResultMessage:!1,restoreSuccessful:!0,restoreMessage:null}),_(this,"settingsRefs",Array((0,m.getNumberOfSettingRoutesInTab)(this.context.t,this.context.t("advanced"))).fill(undefined).map((()=>s.default.createRef()))),_(this,"backupUserData",(async()=>{const{fileName:e,data:t}=await this.props.backupUserData();(0,f.exportAsFile)(e,t,f.ExportableContentType.JSON),this.context.trackEvent({event:"User Data Exported",category:"Backup",properties:{}})}))}componentDidUpdate(){const{t:e}=this.context;(0,m.handleSettingsRefs)(e,e("advanced"),this.settingsRefs)}componentDidMount(){const{t:e}=this.context;(0,m.handleSettingsRefs)(e,e("advanced"),this.settingsRefs)}async getTextFromFile(e){return new Promise(((t,a)=>{const n=new window.FileReader;n.onload=e=>{const a=e.target.result;t(a)},n.onerror=e=>{a(e)},n.readAsText(e)}))}async handleFileUpload(e){e.persist();const t=e.target.files[0],a=await this.getTextFromFile(t);e.target.value="";try{const e=await this.props.restoreUserData(a);this.setState({showResultMessage:!0,restoreSuccessful:e,restoreMessage:null})}catch(e){e.message.match(/Unexpected.+JSON/iu)&&this.setState({showResultMessage:!0,restoreSuccessful:!1,restoreMessage:E})}}renderStateLogs(){const{t:e}=this.context,{displayWarning:t}=this.props;return s.default.createElement(l.Box,{className:"settings-page__content-row",display:p.Display.Flex,flexDirection:p.FlexDirection.Column,ref:this.settingsRefs[0],"data-testid":"advanced-setting-state-logs"},s.default.createElement("div",{className:"settings-page__content-item"},s.default.createElement("span",null,e("stateLogs")),s.default.createElement("span",{className:"settings-page__content-description"},e("stateLogsDescription"))),s.default.createElement("div",{className:"settings-page__content-item"},s.default.createElement("div",{className:"settings-page__content-item-col"},s.default.createElement(c.default,{type:"secondary",large:!0,onClick:()=>{window.logStateString(((a,n)=>{a?t(e("stateLogError")):(0,f.exportAsFile)(`${e("stateLogFileName")}.json`,n,f.ExportableContentType.JSON)}))}},e("downloadStateLogs")))))}renderResetAccount(){const{t:e}=this.context,{showResetAccountConfirmationModal:t}=this.props;return s.default.createElement(l.Box,{ref:this.settingsRefs[1],className:"settings-page__content-row",display:p.Display.Flex,flexDirection:p.FlexDirection.Column,"data-testid":"advanced-setting-reset-account"},s.default.createElement("div",{className:"settings-page__content-item"},s.default.createElement("span",null,e("clearActivity")),s.default.createElement("span",{className:"settings-page__content-description"},e("clearActivityDescription"))),s.default.createElement("div",{className:"settings-page__content-item"},s.default.createElement("div",{className:"settings-page__content-item-col"},s.default.createElement(c.default,{type:"danger",large:!0,className:"settings-tab__button--red",onClick:e=>{e.preventDefault(),this.context.trackEvent({category:r.MetaMetricsEventCategory.Settings,event:r.MetaMetricsEventName.AccountReset,properties:{}}),t()}},e("clearActivityButton")))))}renderToggleStxOptIn(){const{t:e}=this.context,{smartTransactionsOptInStatus:t,setSmartTransactionsOptInStatus:a}=this.props,n=s.default.createElement(l.ButtonLink,{size:l.ButtonLinkSize.Inherit,textProps:{variant:p.TextVariant.bodyMd,alignItems:p.AlignItems.flexStart},as:"a",href:i.SMART_TRANSACTIONS_LEARN_MORE_URL,target:"_blank",rel:"noopener noreferrer"},e("learnMoreUpperCase"));return s.default.createElement(l.Box,{ref:this.settingsRefs[2],className:"settings-page__content-row","data-testid":"advanced-setting-enable-smart-transactions",display:p.Display.Flex,flexDirection:p.FlexDirection.Row,justifyContent:p.JustifyContent.spaceBetween,gap:4},s.default.createElement("div",{className:"settings-page__content-item"},s.default.createElement("span",null,e("smartTransactions")),s.default.createElement("div",{className:"settings-page__content-description"},e("stxOptInDescription",[n]))),s.default.createElement("div",{className:"settings-page__content-item-col"},s.default.createElement(d.default,{value:t,onToggle:e=>{a(!e)},offLabel:e("off"),onLabel:e("on"),dataTestId:"settings-page-stx-opt-in-toggle"})))}renderHexDataOptIn(){const{t:e}=this.context,{sendHexData:t,setHexDataFeatureFlag:a}=this.props;return s.default.createElement(l.Box,{ref:this.settingsRefs[3],className:"settings-page__content-row",display:p.Display.Flex,flexDirection:p.FlexDirection.Row,justifyContent:p.JustifyContent.spaceBetween,gap:4,"data-testid":"advanced-setting-hex-data"},s.default.createElement("div",{className:"settings-page__content-item"},s.default.createElement("span",null,e("showHexData")),s.default.createElement("div",{className:"settings-page__content-description"},e("showHexDataDescription"))),s.default.createElement("div",{className:"settings-page__content-item-col"},s.default.createElement(d.default,{value:t,onToggle:e=>a(!e),offLabel:e("off"),onLabel:e("on")})))}renderShowConversionInTestnets(){const{t:e}=this.context,{showFiatInTestnets:t,setShowFiatConversionOnTestnetsPreference:a}=this.props;return s.default.createElement(l.Box,{ref:this.settingsRefs[4],className:"settings-page__content-row",display:p.Display.Flex,flexDirection:p.FlexDirection.Row,justifyContent:p.JustifyContent.spaceBetween,gap:4,"data-testid":"advanced-setting-show-testnet-conversion"},s.default.createElement("div",{className:"settings-page__content-item"},s.default.createElement("span",null,e("showFiatConversionInTestnets")),s.default.createElement("div",{className:"settings-page__content-description"},e("showFiatConversionInTestnetsDescription"))),s.default.createElement("div",{className:"settings-page__content-item-col"},s.default.createElement(d.default,{value:t,onToggle:e=>a(!e),offLabel:e("off"),onLabel:e("on")})))}renderToggleTestNetworks(){const{t:e}=this.context,{showTestNetworks:t,setShowTestNetworks:a}=this.props;return s.default.createElement(l.Box,{ref:this.settingsRefs[5],className:"settings-page__content-row","data-testid":"advanced-setting-show-testnet-conversion",display:p.Display.Flex,flexDirection:p.FlexDirection.Row,justifyContent:p.JustifyContent.spaceBetween,gap:4},s.default.createElement("div",{className:"settings-page__content-item"},s.default.createElement("span",null,e("showTestnetNetworks")),s.default.createElement("div",{className:"settings-page__content-description"},e("showTestnetNetworksDescription"))),s.default.createElement("div",{className:"settings-page__content-item-col"},s.default.createElement(d.default,{value:t,onToggle:e=>a(!e),offLabel:e("off"),onLabel:e("on")})))}renderToggleExtensionInFullSizeView(){const{t:e}=this.context,{showExtensionInFullSizeView:t,setShowExtensionInFullSizeView:a}=this.props;return s.default.createElement(l.Box,{ref:this.settingsRefs[8],className:"settings-page__content-row","data-testid":"advanced-setting-show-extension-in-full-size-view",display:p.Display.Flex,flexDirection:p.FlexDirection.Row,justifyContent:p.JustifyContent.spaceBetween,gap:4},s.default.createElement("div",{className:"settings-page__content-item"},s.default.createElement("span",null,e("showExtensionInFullSizeView")),s.default.createElement("div",{className:"settings-page__content-description"},e("showExtensionInFullSizeViewDescription"))),s.default.createElement("div",{className:"settings-page__content-item-col"},s.default.createElement(d.default,{value:t,onToggle:e=>a(!e),offLabel:e("off"),onLabel:e("on")})))}renderUseNonceOptIn(){const{t:e}=this.context,{useNonceField:t,setUseNonceField:a}=this.props;return s.default.createElement(l.Box,{ref:this.settingsRefs[6],className:"settings-page__content-row","data-testid":"advanced-setting-custom-nonce",display:p.Display.Flex,flexDirection:p.FlexDirection.Row,justifyContent:p.JustifyContent.spaceBetween,gap:4},s.default.createElement("div",{className:"settings-page__content-item"},s.default.createElement("span",null,e("nonceField")),s.default.createElement("div",{className:"settings-page__content-description"},e("nonceFieldDescription"))),s.default.createElement("div",{className:"settings-page__content-item-col"},s.default.createElement(d.default,{value:t,onToggle:e=>a(!e),offLabel:e("off"),onLabel:e("on")})))}renderAutoLockTimeLimit(){const{t:e}=this.context,{lockTimeError:t}=this.state,{setAutoLockTimeLimit:a}=this.props;return s.default.createElement(l.Box,{ref:this.settingsRefs[7],className:"settings-page__content-row","data-testid":"advanced-setting-auto-lock",display:p.Display.Flex,flexDirection:p.FlexDirection.Column},s.default.createElement("div",{className:"settings-page__content-item"},s.default.createElement("span",null,e("autoLockTimeLimit")),s.default.createElement("div",{className:"settings-page__content-description"},e("autoLockTimeLimitDescription"))),s.default.createElement("div",{className:"settings-page__content-item"},s.default.createElement("div",{className:"settings-page__content-item-col"},s.default.createElement(u.default,{id:"autoTimeout","data-testid":"auto-lockout-time",placeholder:"0",value:this.state.autoLockTimeLimitBeforeNormalization,onChange:e=>this.handleLockChange(e.target.value),error:t,fullWidth:!0,margin:"dense",min:0}),s.default.createElement(c.default,{type:"primary","data-testid":"auto-lockout-button",className:"settings-tab__rpc-save-button",disabled:""!==t,onClick:()=>{a(this.state.autoLockTimeLimit)}},e("save")))))}renderDismissSeedBackupReminderControl(){const{t:e}=this.context,{dismissSeedBackUpReminder:t,setDismissSeedBackUpReminder:a}=this.props;return s.default.createElement(l.Box,{ref:this.settingsRefs[9],className:"settings-page__content-row","data-testid":"advanced-setting-dismiss-reminder",display:p.Display.Flex,flexDirection:p.FlexDirection.Row,justifyContent:p.JustifyContent.spaceBetween,gap:4},s.default.createElement("div",{className:"settings-page__content-item"},s.default.createElement("span",null,e("dismissReminderField")),s.default.createElement("div",{className:"settings-page__content-description"},e("dismissReminderDescriptionField"))),s.default.createElement("div",{className:"settings-page__content-item-col"},s.default.createElement(d.default,{value:t,onToggle:e=>a(!e),offLabel:e("off"),onLabel:e("on")})))}renderToggleEthSignControl(){const{t:e,trackEvent:t}=this.context,{disabledRpcMethodPreferences:a,showEthSignModal:n,setDisabledRpcMethodPreference:o}=this.props;return s.default.createElement(l.Box,{ref:this.settingsRefs[10],className:"settings-page__content-row","data-testid":"advanced-setting-toggle-ethsign",display:p.Display.Flex,flexDirection:p.FlexDirection.Column},s.default.createElement("div",{className:"settings-page__content-item"},s.default.createElement("span",null,e("toggleEthSignField")),s.default.createElement("div",{className:"settings-page__content-description"},e("toggleEthSignDescriptionField"))),null!=a&&a.eth_sign?s.default.createElement(l.BannerAlert,{severity:p.Severity.Danger,marginTop:3,marginBottom:4,descriptionProps:{variant:p.TextVariant.bodyMd}},e("toggleEthSignBannerDescription")):null,s.default.createElement("div",{className:"settings-page__content-item-col"},s.default.createElement(d.default,{className:"eth-sign-toggle",value:(null==a?void 0:a.eth_sign)||!1,onToggle:e=>{e?(e=>{o("eth_sign",!e),t({category:r.MetaMetricsEventCategory.Settings,event:r.MetaMetricsEventName.OnboardingWalletAdvancedSettings,properties:{location:"Settings",enable_eth_sign:!1}})})(e):n()},offLabel:e("toggleEthSignOff"),onLabel:e("toggleEthSignOn")})))}handleLockChange(e){const{t:t}=this.context;if(""===e)return void this.setState({autoLockTimeLimitBeforeNormalization:e,autoLockTimeLimit:o.DEFAULT_AUTO_LOCK_TIME_LIMIT,lockTimeError:""});const a=Number(e);if(Number.isNaN(a)||a<0||a>10080)return void this.setState({autoLockTimeLimitBeforeNormalization:e,autoLockTimeLimit:null,lockTimeError:t("lockTimeInvalid")});const n=a;this.setState({autoLockTimeLimitBeforeNormalization:e,autoLockTimeLimit:n,lockTimeError:""})}renderUserDataBackup(){const{t:e}=this.context;return s.default.createElement(l.Box,{ref:this.settingsRefs[11],className:"settings-page__content-row","data-testid":"advanced-setting-data-backup",display:p.Display.Flex,flexDirection:p.FlexDirection.Column},s.default.createElement("div",{className:"settings-page__content-item"},s.default.createElement("span",null,e("backupUserData")),s.default.createElement("span",{className:"settings-page__content-description"},e("backupUserDataDescription"))),s.default.createElement("div",{className:"settings-page__content-item"},s.default.createElement("div",{className:"settings-page__content-item-col"},s.default.createElement(c.default,{"data-testid":"backup-button",type:"secondary",large:!0,onClick:()=>this.backupUserData()},e("backup")))))}renderRestoreUserData(){const{t:e}=this.context,{showResultMessage:t,restoreSuccessful:a,restoreMessage:n}=this.state,r=e(a?"restoreSuccessful":"restoreFailed"),o=n===E?e("dataBackupSeemsCorrupt"):r;return s.default.createElement(l.Box,{ref:this.settingsRefs[12],className:"settings-page__content-row","data-testid":"advanced-setting-data-restore",display:p.Display.Flex,flexDirection:p.FlexDirection.Column},s.default.createElement("div",{className:"settings-page__content-item"},s.default.createElement("span",null,e("restoreUserData")),s.default.createElement("span",{className:"settings-page__content-description"},e("restoreUserDataDescription"))),s.default.createElement("div",{className:"settings-page__content-item"},s.default.createElement("div",{className:"settings-page__content-item-col"},s.default.createElement("label",{htmlFor:"restore-file",className:"button btn btn--rounded btn-secondary btn--large settings-page__button"},e("restore")),s.default.createElement("input",{id:"restore-file","data-testid":"restore-file",style:{visibility:"hidden"},type:"file",accept:".json",onChange:e=>this.handleFileUpload(e)})),t&&s.default.createElement(l.BannerAlert,{severity:a?l.BannerAlertSeverity.Success:l.BannerAlertSeverity.Danger,description:o,descriptionProps:{"data-testid":"restore-user-data-banner-alert-description"},actionButtonLabel:e("dismiss"),actionButtonOnClick:()=>{this.setState({showResultMessage:!1,restoreSuccessful:!0,restoreMessage:null})}})))}render(){const{warning:e}=this.props;return s.default.createElement("div",{className:"settings-page__body"},e?s.default.createElement("div",{className:"settings-tab__error"},e):null,this.renderStateLogs(),this.renderResetAccount(),this.renderToggleStxOptIn(),this.renderHexDataOptIn(),this.renderShowConversionInTestnets(),this.renderToggleTestNetworks(),this.renderToggleExtensionInFullSizeView(),this.renderUseNonceOptIn(),this.renderAutoLockTimeLimit(),this.renderUserDataBackup(),this.renderRestoreUserData(),this.renderDismissSeedBackupReminderControl(),this.renderToggleEthSignControl())}}a.default=y,_(y,"contextTypes",{t:n.default.func,trackEvent:n.default.func}),_(y,"propTypes",{setUseNonceField:n.default.func,useNonceField:n.default.bool,setHexDataFeatureFlag:n.default.func,displayWarning:n.default.func,showResetAccountConfirmationModal:n.default.func,showEthSignModal:n.default.func,warning:n.default.string,sendHexData:n.default.bool,showFiatInTestnets:n.default.bool,showTestNetworks:n.default.bool,smartTransactionsOptInStatus:n.default.bool,autoLockTimeLimit:n.default.number,setAutoLockTimeLimit:n.default.func.isRequired,setShowFiatConversionOnTestnetsPreference:n.default.func.isRequired,setShowTestNetworks:n.default.func.isRequired,setSmartTransactionsOptInStatus:n.default.func.isRequired,setDismissSeedBackUpReminder:n.default.func.isRequired,dismissSeedBackUpReminder:n.default.bool.isRequired,backupUserData:n.default.func.isRequired,restoreUserData:n.default.func.isRequired,setDisabledRpcMethodPreference:n.default.func.isRequired,disabledRpcMethodPreferences:n.default.shape({eth_sign:n.default.bool.isRequired}),showExtensionInFullSizeView:n.default.bool,setShowExtensionInFullSizeView:n.default.func.isRequired})}}},{package:"$root$",file:"ui/pages/settings/advanced-tab/advanced-tab.component.js"}],[5831,{"../../../../shared/constants/preferences":4512,"../../../selectors":5987,"../../../store/actions":5998,"./advanced-tab.component":5830,"react-redux":4199,"react-router-dom":4228,redux:4261},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.mapStateToProps=a.mapDispatchToProps=a.default=void 0;var n,s=e("react-redux"),r=e("react-router-dom"),o=e("redux"),i=e("../../../../shared/constants/preferences"),l=e("../../../selectors"),c=e("../../../store/actions"),u=(n=e("./advanced-tab.component"))&&n.__esModule?n:{default:n};const d=e=>{const{appState:{warning:t},metamask:a}=e,{featureFlags:{sendHexData:n}={},disabledRpcMethodPreferences:s,useNonceField:r,dismissSeedBackUpReminder:o}=a,{showFiatInTestnets:c,showTestNetworks:u,showExtensionInFullSizeView:d,smartTransactionsOptInStatus:p,autoLockTimeLimit:f=i.DEFAULT_AUTO_LOCK_TIME_LIMIT}=(0,l.getPreferences)(e);return{warning:t,sendHexData:n,showFiatInTestnets:c,showTestNetworks:u,showExtensionInFullSizeView:d,smartTransactionsOptInStatus:p,autoLockTimeLimit:f,useNonceField:r,dismissSeedBackUpReminder:o,disabledRpcMethodPreferences:s}};a.mapStateToProps=d;const p=e=>({backupUserData:()=>(0,c.backupUserData)(),restoreUserData:e=>(0,c.restoreUserData)(e),setHexDataFeatureFlag:t=>e((0,c.setFeatureFlag)("sendHexData",t)),displayWarning:t=>e((0,c.displayWarning)(t)),showResetAccountConfirmationModal:()=>e((0,c.showModal)({name:"CONFIRM_RESET_ACCOUNT"})),showEthSignModal:()=>e((0,c.showModal)({name:"ETH_SIGN"})),setUseNonceField:t=>e((0,c.setUseNonceField)(t)),setShowFiatConversionOnTestnetsPreference:t=>e((0,c.setShowFiatConversionOnTestnetsPreference)(t)),setShowTestNetworks:t=>e((0,c.setShowTestNetworks)(t)),setShowExtensionInFullSizeView:t=>e((0,c.setShowExtensionInFullSizeView)(t)),setSmartTransactionsOptInStatus:t=>e((0,c.setSmartTransactionsOptInStatus)(t)),setAutoLockTimeLimit:t=>e((0,c.setAutoLockTimeLimit)(t)),setDismissSeedBackUpReminder:t=>e((0,c.setDismissSeedBackUpReminder)(t)),setDisabledRpcMethodPreference:(t,a)=>e((0,c.setDisabledRpcMethodPreference)(t,a))});a.mapDispatchToProps=p;a.default=(0,o.compose)(r.withRouter,(0,s.connect)(d,p))(u.default)}}},{package:"$root$",file:"ui/pages/settings/advanced-tab/advanced-tab.container.js"}],[5832,{"./advanced-tab.container":5831},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return s.default}});var n,s=(n=e("./advanced-tab.container"))&&n.__esModule?n:{default:n}}}},{package:"$root$",file:"ui/pages/settings/advanced-tab/index.js"}],[5833,{"../../../../shared/constants/alerts":4492,"../../../components/component-library":4955,"../../../components/ui/toggle-button":5306,"../../../components/ui/tooltip":5310,"../../../ducks/metamask/metamask":5346,"../../../helpers/utils/settings-search":5395,"../../../hooks/useI18nContext":5427,"../../../store/actions":5998,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=g(t);if(a&&a.has(e))return a.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=s?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n.default=e,a&&a.set(e,n),n}(e("react")),s=m(e("prop-types")),r=e("react-redux"),o=e("../../../../shared/constants/alerts"),i=m(e("../../../components/ui/tooltip")),l=m(e("../../../components/ui/toggle-button")),c=e("../../../store/actions"),u=e("../../../ducks/metamask/metamask"),d=e("../../../hooks/useI18nContext"),p=e("../../../helpers/utils/settings-search"),f=e("../../../components/component-library");function m(e){return e&&e.__esModule?e:{default:e}}function g(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(g=function(e){return e?a:t})(e)}const h=({alertId:e,description:t,title:a})=>{const s=(0,d.useI18nContext)(),o=(0,n.useRef)();(0,n.useEffect)((()=>{(0,p.handleSettingsRefs)(s,s("alerts"),o)}),[o,s]);const m=(0,r.useSelector)((t=>(0,u.getAlertEnabledness)(t)[e]));return n.default.createElement(n.default.Fragment,null,n.default.createElement("div",{ref:o,className:"alerts-tab__item"},n.default.createElement("span",null,a),n.default.createElement("div",{className:"alerts-tab__description-container"},n.default.createElement(i.default,{position:"top",title:t,wrapperClassName:"alerts-tab__description"},n.default.createElement(f.Icon,{name:f.IconName.Info,className:"alerts-tab__description__icon"})),n.default.createElement(l.default,{offLabel:s("off"),onLabel:s("on"),onToggle:()=>(0,c.setAlertEnabledness)(e,!m),value:m}))))};h.propTypes={alertId:s.default.string.isRequired,description:s.default.string.isRequired,title:s.default.string.isRequired};a.default=()=>{const e=(0,d.useI18nContext)(),t={[o.AlertTypes.unconnectedAccount]:{title:e("alertSettingsUnconnectedAccount"),description:e("alertSettingsUnconnectedAccountDescription")},[o.AlertTypes.web3ShimUsage]:{title:e("alertSettingsWeb3ShimUsage"),description:e("alertSettingsWeb3ShimUsageDescription")}};return n.default.createElement("div",{className:"alerts-tab__body"},Object.entries(t).map((([e,{title:t,description:a}],s)=>n.default.createElement(h,{alertId:e,description:a,key:e,title:t}))))}}}},{package:"$root$",file:"ui/pages/settings/alerts-tab/alerts-tab.js"}],[5834,{"./alerts-tab":5833},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return s.default}});var n,s=(n=e("./alerts-tab"))&&n.__esModule?n:{default:n}}}},{package:"$root$",file:"ui/pages/settings/alerts-tab/index.js"}],[5835,{"../../../../../shared/modules/hexstring-utils":4544,"../../../../components/ui/identicon":5247,"../../../../components/ui/page-container/page-container-footer":5276,"../../../../components/ui/text-field":5302,"../../../../helpers/constants/routes":5361,"../../../../helpers/utils/util":5399,"../../../confirmations/send/send-content/add-recipient/domain-input":5720,"../../../confirmations/send/send.constants":5721,lodash:3836,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=g(t);if(a&&a.has(e))return a.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=s?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n.default=e,a&&a.set(e,n),n}(e("react")),s=m(e("prop-types")),r=e("lodash"),o=m(e("../../../../components/ui/identicon")),i=m(e("../../../../components/ui/text-field")),l=e("../../../../helpers/constants/routes"),c=e("../../../../helpers/utils/util"),u=m(e("../../../confirmations/send/send-content/add-recipient/domain-input")),d=m(e("../../../../components/ui/page-container/page-container-footer")),p=e("../../../../../shared/modules/hexstring-utils"),f=e("../../../confirmations/send/send.constants");function m(e){return e&&e.__esModule?e:{default:e}}function g(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(g=function(e){return e?a:t})(e)}function h(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var a=e[Symbol.toPrimitive];if(a!==undefined){var n=a.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}class _ extends n.PureComponent{constructor(e){super(e),h(this,"state",{newName:"",ethAddress:"",error:"",input:""}),h(this,"validate",(e=>{const t=!(0,p.isBurnAddress)(e)&&(0,p.isValidHexAddress)(e,{mixedCaseUseChecksum:!0}),a=(0,c.isValidDomainName)(e);t||a||""===e?this.setState({error:"",ethAddress:e}):this.setState({error:f.INVALID_RECIPIENT_ADDRESS_ERROR})})),h(this,"onChange",(e=>{this.setState({input:e}),this.dValidate(e)})),this.dValidate=(0,r.debounce)(this.validate,500)}UNSAFE_componentWillReceiveProps(e){if(e.qrCodeData&&"address"===e.qrCodeData.type){const{domainResolution:t}=this.props,a=e.qrCodeData.values.address.toLowerCase();(t||this.state.ethAddress).toLowerCase()!==a&&(this.setState({input:a}),this.validate(a),this.props.qrCodeDetected(null))}}renderInput(){return n.default.createElement(u.default,{scanQrCode:e=>{this.props.scanQrCode()},onChange:this.onChange,onPaste:e=>{this.setState({input:e}),this.validate(e)},onReset:()=>{this.props.resetDomainResolution(),this.setState({ethAddress:"",input:""})},userInput:this.state.input})}render(){const{t:e}=this.context,{history:t,addToAddressBook:a,domainError:s,domainResolution:r}=this.props,c=s||this.state.error;return n.default.createElement("div",{className:"settings-page__content-row address-book__add-contact"},r&&n.default.createElement("div",{className:"address-book__view-contact__group"},n.default.createElement(o.default,{address:r,diameter:60}),n.default.createElement("div",{className:"address-book__view-contact__group__value"},r)),n.default.createElement("div",{className:"address-book__add-contact__content"},n.default.createElement("div",{className:"address-book__view-contact__group address-book__add-contact__content__username"},n.default.createElement("div",{className:"address-book__view-contact__group__label"},e("userName")),n.default.createElement(i.default,{type:"text",id:"nickname",value:this.state.newName,onChange:e=>this.setState({newName:e.target.value}),fullWidth:!0,margin:"dense"})),n.default.createElement("div",{className:"address-book__view-contact__group"},n.default.createElement("div",{className:"address-book__view-contact__group__label"},e("ethereumPublicAddress")),this.renderInput(),c&&n.default.createElement("div",{className:"address-book__add-contact__error"},e(c)))),n.default.createElement(d.default,{cancelText:this.context.t("cancel"),disabled:Boolean(this.state.error||!this.state.ethAddress||!this.state.newName.trim()),onSubmit:async()=>{await a(r||this.state.ethAddress,this.state.newName),t.push(l.CONTACT_LIST_ROUTE)},onCancel:()=>{t.push(l.CONTACT_LIST_ROUTE)},submitText:this.context.t("save")}))}}a.default=_,h(_,"contextTypes",{t:s.default.func}),h(_,"propTypes",{addToAddressBook:s.default.func,history:s.default.object,scanQrCode:s.default.func,qrCodeData:s.default.object,qrCodeDetected:s.default.func,domainResolution:s.default.string,domainError:s.default.string,resetDomainResolution:s.default.func})}}},{package:"$root$",file:"ui/pages/settings/contact-list-tab/add-contact/add-contact.component.js"}],[5836,{"../../../../ducks/app/app":5336,"../../../../ducks/domains":5340,"../../../../store/actions":5998,"./add-contact.component":5835,"react-redux":4199,"react-router-dom":4228,redux:4261},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n,s=e("redux"),r=e("react-redux"),o=e("react-router-dom"),i=e("../../../../store/actions"),l=e("../../../../ducks/app/app"),c=e("../../../../ducks/domains"),u=(n=e("./add-contact.component"))&&n.__esModule?n:{default:n};a.default=(0,s.compose)(o.withRouter,(0,r.connect)((e=>({qrCodeData:(0,l.getQrCodeData)(e),domainError:(0,c.getDomainError)(e),domainResolution:(0,c.getDomainResolution)(e)})),(e=>({addToAddressBook:(t,a)=>e((0,i.addToAddressBook)(t,a)),scanQrCode:()=>e((0,i.showQrScanner)()),qrCodeDetected:t=>e((0,i.qrCodeDetected)(t)),resetDomainResolution:()=>e((0,c.resetDomainResolution)())}))))(u.default)}}},{package:"$root$",file:"ui/pages/settings/contact-list-tab/add-contact/add-contact.container.js"}],[5837,{"./add-contact.container":5836},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return s.default}});var n,s=(n=e("./add-contact.container"))&&n.__esModule?n:{default:n}}}},{package:"$root$",file:"ui/pages/settings/contact-list-tab/add-contact/index.js"}],[5838,{"../../../components/app/contact-list":4618,"../../../components/component-library":4955,"../../../helpers/constants/design-system":5355,"../../../helpers/constants/routes":5361,"../../../helpers/utils/settings-search":5395,"./add-contact":5837,"./edit-contact":5842,"./view-contact":5844,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=g(t);if(a&&a.has(e))return a.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=s?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n.default=e,a&&a.set(e,n),n}(e("react")),s=m(e("prop-types")),r=m(e("classnames")),o=m(e("../../../components/app/contact-list")),i=e("../../../helpers/constants/routes"),l=e("../../../helpers/utils/settings-search"),c=e("../../../components/component-library"),u=e("../../../helpers/constants/design-system"),d=m(e("./edit-contact")),p=m(e("./add-contact")),f=m(e("./view-contact"));function m(e){return e&&e.__esModule?e:{default:e}}function g(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(g=function(e){return e?a:t})(e)}function h(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var a=e[Symbol.toPrimitive];if(a!==undefined){var n=a.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}class _ extends n.Component{constructor(...e){super(...e),h(this,"settingsRefs",Array((0,l.getNumberOfSettingRoutesInTab)(this.context.t,this.context.t("contacts"))).fill(undefined).map((()=>n.default.createRef())))}componentDidUpdate(){const{t:e}=this.context;(0,l.handleSettingsRefs)(e,e("contacts"),this.settingsRefs)}componentDidMount(){const{t:e}=this.context;(0,l.handleSettingsRefs)(e,e("contacts"),this.settingsRefs)}renderAddresses(){const{addressBook:e,history:t,selectedAddress:a}=this.props,s=e.filter((({name:e})=>Boolean(e))),r=e.filter((({name:e})=>!e)),{t:l}=this.context;return e.length?n.default.createElement("div",null,n.default.createElement(o.default,{searchForContacts:()=>s,searchForRecents:()=>r,selectRecipient:e=>{t.push(`${i.CONTACT_VIEW_ROUTE}/${e}`)},selectedAddress:a})):n.default.createElement("div",{className:"address-book__container"},n.default.createElement("div",null,n.default.createElement(c.Icon,{name:c.IconName.Book,color:u.IconColor.iconMuted,className:"address-book__icon",size:c.IconSize.Xl}),n.default.createElement("h4",{className:"address-book__title"},l("buildContactList")),n.default.createElement("p",{className:"address-book__sub-title"},l("addFriendsAndAddresses")),n.default.createElement("button",{className:"address-book__link",onClick:()=>{t.push(i.CONTACT_ADD_ROUTE)}},"+ ",l("addContact"))))}renderAddButton(){const{history:e,viewingContact:t,editingContact:a}=this.props;return n.default.createElement(c.ButtonPrimary,{className:(0,r.default)("address-book-add-button__button",{"address-book-add-button__button--hidden":t||a}),onClick:()=>{e.push(i.CONTACT_ADD_ROUTE)},margin:4,size:u.Size.LG},this.context.t("addContact"))}renderContactContent(){const{viewingContact:e,editingContact:t,addingContact:a}=this.props;let s=null;return e?s=f.default:t?s=d.default:a&&(s=p.default),s&&n.default.createElement("div",{className:"address-book-contact-content"},n.default.createElement(s,null))}renderAddressBookContent(){const{hideAddressBook:e}=this.props;return e?null:n.default.createElement("div",{ref:this.settingsRefs[0],className:"address-book"},this.renderAddresses())}render(){const{addingContact:e,addressBook:t,currentPath:a}=this.props;return n.default.createElement("div",{className:"address-book-wrapper"},this.renderAddressBookContent(),this.renderContactContent(),a===i.CONTACT_LIST_ROUTE&&!e&&t.length>0?this.renderAddButton():null)}}a.default=_,h(_,"contextTypes",{t:s.default.func}),h(_,"propTypes",{addressBook:s.default.array,history:s.default.object,selectedAddress:s.default.string,viewingContact:s.default.bool,editingContact:s.default.bool,addingContact:s.default.bool,hideAddressBook:s.default.bool,currentPath:s.default.string})}}},{package:"$root$",file:"ui/pages/settings/contact-list-tab/contact-list-tab.component.js"}],[5839,{"../../../helpers/constants/routes":5361,"../../../selectors":5987,"./contact-list-tab.component":5838,"react-redux":4199,"react-router-dom":4228,redux:4261},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n,s=e("redux"),r=e("react-redux"),o=e("react-router-dom"),i=e("../../../selectors"),l=e("../../../helpers/constants/routes"),c=(n=e("./contact-list-tab.component"))&&n.__esModule?n:{default:n};a.default=(0,s.compose)(o.withRouter,(0,r.connect)(((e,t)=>{const{location:a}=t,{pathname:n}=a,s=n.match(/[^/]+$/u)[0],r=s.includes("0x"),o=Boolean(n.match(l.CONTACT_VIEW_ROUTE)),c=Boolean(n.match(l.CONTACT_EDIT_ROUTE)),u=Boolean(n.match(l.CONTACT_ADD_ROUTE)),d=o||c||u;return{viewingContact:o,editingContact:c,addingContact:u,addressBook:(0,i.getAddressBook)(e),selectedAddress:r?s:"",hideAddressBook:d,currentPath:n}})))(c.default)}}},{package:"$root$",file:"ui/pages/settings/contact-list-tab/contact-list-tab.container.js"}],[5840,{"../../../../../shared/modules/hexstring-utils":4544,"../../../../components/component-library":4955,"../../../../components/ui/button/button.component":5197,"../../../../components/ui/page-container/page-container-footer":5276,"../../../../components/ui/text-field":5302,"../../../../helpers/constants/design-system":5355,"prop-types":3997,react:4243,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=f(t);if(a&&a.has(e))return a.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=s?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n.default=e,a&&a.set(e,n),n}(e("react")),s=p(e("prop-types")),r=e("react-router-dom"),o=p(e("../../../../components/ui/button/button.component")),i=p(e("../../../../components/ui/text-field")),l=p(e("../../../../components/ui/page-container/page-container-footer")),c=e("../../../../../shared/modules/hexstring-utils"),u=e("../../../../components/component-library"),d=e("../../../../helpers/constants/design-system");function p(e){return e&&e.__esModule?e:{default:e}}function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(f=function(e){return e?a:t})(e)}function m(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var a=e[Symbol.toPrimitive];if(a!==undefined){var n=a.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}class g extends n.PureComponent{constructor(...e){super(...e),m(this,"state",{newName:this.props.name,newAddress:this.props.address,newMemo:this.props.memo,error:""})}render(){const{t:e}=this.context,{address:t,addToAddressBook:a,chainId:s,history:p,listRoute:f,memo:m,name:g,removeFromAddressBook:h,viewRoute:_}=this.props;return t?n.default.createElement("div",{className:"settings-page__content-row address-book__edit-contact"},n.default.createElement(u.Box,{className:"settings-page__header address-book__header--edit",paddingLeft:6,paddingRight:6},n.default.createElement(u.Box,{display:d.Display.Flex,alignItems:d.AlignItems.center},n.default.createElement(u.AvatarAccount,{size:u.AvatarAccountSize.Lg,address:t}),n.default.createElement(u.Text,{className:"address-book__header__name",variant:d.TextVariant.bodyLgMedium,marginInlineStart:4},g||t)),n.default.createElement(o.default,{type:"link",className:"settings-page__address-book-button",onClick:async()=>{await h(s,t),p.push(f)}},e("deleteContact"))),n.default.createElement("div",{className:"address-book__edit-contact__content"},n.default.createElement("div",{className:"address-book__view-contact__group"},n.default.createElement("div",{className:"address-book__view-contact__group__label"},e("userName")),n.default.createElement(i.default,{type:"text",id:"nickname",placeholder:this.context.t("addAlias"),value:this.state.newName,onChange:e=>this.setState({newName:e.target.value}),fullWidth:!0,margin:"dense"})),n.default.createElement("div",{className:"address-book__view-contact__group"},n.default.createElement("div",{className:"address-book__view-contact__group__label"},e("ethereumPublicAddress")),n.default.createElement(i.default,{type:"text",id:"address",value:this.state.newAddress,error:this.state.error,onChange:e=>this.setState({newAddress:e.target.value}),fullWidth:!0,multiline:!0,rows:4,margin:"dense",classes:{inputMultiline:"address-book__view-contact__address__text-area",inputRoot:"address-book__view-contact__address"}})),n.default.createElement("div",{className:"address-book__view-contact__group"},n.default.createElement("div",{className:"address-book__view-contact__group__label--capitalized"},e("memo")),n.default.createElement(i.default,{type:"text",id:"memo",placeholder:m,value:this.state.newMemo,onChange:e=>this.setState({newMemo:e.target.value}),fullWidth:!0,margin:"dense",multiline:!0,rows:3,classes:{inputMultiline:"address-book__view-contact__text-area",inputRoot:"address-book__view-contact__text-area-wrapper"}}))),n.default.createElement(l.default,{cancelText:this.context.t("cancel"),onSubmit:async()=>{""!==this.state.newAddress&&this.state.newAddress!==t?!(0,c.isBurnAddress)(this.state.newAddress)&&(0,c.isValidHexAddress)(this.state.newAddress,{mixedCaseUseChecksum:!0})?(await h(s,t),await a(this.state.newAddress,this.state.newName||g,this.state.newMemo||m),p.push(f)):this.setState({error:this.context.t("invalidAddress")}):(await a(t,this.state.newName||g,this.state.newMemo||m),p.push(f))},onCancel:()=>{p.push(`${_}/${t}`)},submitText:this.context.t("save"),disabled:this.state.newName===g&&this.state.newAddress===t&&this.state.newMemo===m||!this.state.newName.trim()})):n.default.createElement(r.Redirect,{to:{pathname:f}})}}a.default=g,m(g,"contextTypes",{t:s.default.func}),m(g,"propTypes",{addToAddressBook:s.default.func,removeFromAddressBook:s.default.func,history:s.default.object,name:s.default.string,address:s.default.string,chainId:s.default.string,memo:s.default.string,viewRoute:s.default.string,listRoute:s.default.string}),m(g,"defaultProps",{name:"",memo:""})}}},{package:"$root$",file:"ui/pages/settings/contact-list-tab/edit-contact/edit-contact.component.js"}],[5841,{"../../../../ducks/metamask/metamask":5346,"../../../../helpers/constants/routes":5361,"../../../../selectors":5987,"../../../../store/actions":5998,"./edit-contact.component":5840,"react-redux":4199,"react-router-dom":4228,redux:4261},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n,s=e("redux"),r=e("react-redux"),o=e("react-router-dom"),i=e("../../../../selectors"),l=e("../../../../ducks/metamask/metamask"),c=e("../../../../helpers/constants/routes"),u=e("../../../../store/actions"),d=(n=e("./edit-contact.component"))&&n.__esModule?n:{default:n};a.default=(0,s.compose)(o.withRouter,(0,r.connect)(((e,t)=>{var a;const{location:n}=t,{pathname:s}=n,r=s.match(/[^/]+$/u)[0],o=r.includes("0x")?r.toLowerCase():t.match.params.id,u=(0,i.getAddressBookEntry)(e,o),{memo:d}=u||{},p=(null==u?void 0:u.name)||(null===(a=(0,i.getInternalAccountByAddress)(e,o))||void 0===a?void 0:a.metadata.name),{chainId:f}=(0,l.getProviderConfig)(e);return{address:u?o:null,chainId:f,name:p,memo:d,viewRoute:c.CONTACT_VIEW_ROUTE,listRoute:c.CONTACT_LIST_ROUTE}}),(e=>({addToAddressBook:(t,a,n)=>e((0,u.addToAddressBook)(t,a,n)),removeFromAddressBook:(t,a)=>e((0,u.removeFromAddressBook)(t,a))}))))(d.default)}}},{package:"$root$",file:"ui/pages/settings/contact-list-tab/edit-contact/edit-contact.container.js"}],[5842,{"./edit-contact.container":5841},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return s.default}});var n,s=(n=e("./edit-contact.container"))&&n.__esModule?n:{default:n}}}},{package:"$root$",file:"ui/pages/settings/contact-list-tab/edit-contact/index.js"}],[5843,{"./contact-list-tab.container":5839},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return s.default}});var n,s=(n=e("./contact-list-tab.container"))&&n.__esModule?n:{default:n}}}},{package:"$root$",file:"ui/pages/settings/contact-list-tab/index.js"}],[5844,{"./view-contact.container":5846},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return s.default}});var n,s=(n=e("./view-contact.container"))&&n.__esModule?n:{default:n}}}},{package:"$root$",file:"ui/pages/settings/contact-list-tab/view-contact/index.js"}],[5845,{"../../../../components/component-library":4955,"../../../../components/ui/button/button.component":5197,"../../../../components/ui/tooltip":5310,"../../../../helpers/constants/design-system":5355,"../../../../hooks/useCopyToClipboard":5417,"../../../../hooks/useI18nContext":5427,"prop-types":3997,react:4243,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n=p(e("react")),s=p(e("prop-types")),r=e("react-router-dom"),o=p(e("../../../../components/ui/button/button.component")),i=e("../../../../components/component-library"),l=p(e("../../../../components/ui/tooltip")),c=e("../../../../hooks/useI18nContext"),u=e("../../../../hooks/useCopyToClipboard"),d=e("../../../../helpers/constants/design-system");function p(e){return e&&e.__esModule?e:{default:e}}function f({history:e,name:t,address:a,checkSummedAddress:s,memo:p,editRoute:f,listRoute:m}){const g=(0,c.useI18nContext)(),[h,_]=(0,u.useCopyToClipboard)();return a?n.default.createElement("div",{className:"settings-page__content-row"},n.default.createElement("div",{className:"settings-page__content-item"},n.default.createElement(i.Box,{className:"settings-page__header address-book__header",paddingLeft:6},n.default.createElement(i.AvatarAccount,{size:i.AvatarAccountSize.Lg,address:a}),n.default.createElement(i.Text,{className:"address-book__header__name",variant:d.TextVariant.bodyLgMedium,marginInlineStart:4},t||a)),n.default.createElement("div",{className:"address-book__view-contact__group"},n.default.createElement(o.default,{type:"secondary",onClick:()=>{e.push(`${f}/${a}`)}},g("edit"))),n.default.createElement("div",{className:"address-book__view-contact__group"},n.default.createElement("div",{className:"address-book__view-contact__group__label"},g("ethereumPublicAddress")),n.default.createElement("div",{className:"address-book__view-contact__group__value"},n.default.createElement("div",{className:"address-book__view-contact__group__static-address"},function(e){return`0x${e.slice(2).match(/.{1,4}/gu).join("")}`}(s)),n.default.createElement(l.default,{position:"bottom",title:g(h?"copiedExclamation":"copyToClipboard")},n.default.createElement(i.ButtonIcon,{ariaLabel:"copy",className:"address-book__view-contact__group__static-address--copy-icon",onClick:()=>{_(s)},iconName:h?i.IconName.CopySuccess:i.IconName.Copy,size:i.ButtonIconSize.Lg,color:d.IconColor.primaryDefault})))),p.length>0?n.default.createElement("div",{className:"address-book__view-contact__group"},n.default.createElement("div",{className:"address-book__view-contact__group__label--capitalized"},g("memo")),n.default.createElement("div",{className:"address-book__view-contact__group__static-address"},p)):null)):n.default.createElement(r.Redirect,{to:{pathname:m}})}f.propTypes={name:s.default.string,address:s.default.string,history:s.default.object,checkSummedAddress:s.default.string,memo:s.default.string,editRoute:s.default.string,listRoute:s.default.string.isRequired};a.default=n.default.memo(f)}}},{package:"$root$",file:"ui/pages/settings/contact-list-tab/view-contact/view-contact.component.js"}],[5846,{"../../../../../shared/modules/hexstring-utils":4544,"../../../../helpers/constants/routes":5361,"../../../../selectors":5987,"./view-contact.component":5845,"react-redux":4199,"react-router-dom":4228,redux:4261},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n,s=e("redux"),r=e("react-redux"),o=e("react-router-dom"),i=e("../../../../selectors"),l=e("../../../../helpers/constants/routes"),c=e("../../../../../shared/modules/hexstring-utils"),u=(n=e("./view-contact.component"))&&n.__esModule?n:{default:n};a.default=(0,s.compose)(o.withRouter,(0,r.connect)(((e,t)=>{const{location:a}=t,{pathname:n}=a,s=n.match(/[^/]+$/u)[0],r=s.includes("0x")?s.toLowerCase():t.match.params.id,o=(0,i.getInternalAccountByAddress)(e,r),u=(0,i.getAddressBookEntry)(e,r),{memo:d}=u||{};return{name:(null==u?void 0:u.name)||o.metadata.name,address:u?r:null,checkSummedAddress:(0,c.toChecksumHexAddress)(r),memo:d,editRoute:l.CONTACT_EDIT_ROUTE,listRoute:l.CONTACT_LIST_ROUTE}})))(u.default)}}},{package:"$root$",file:"ui/pages/settings/contact-list-tab/view-contact/view-contact.container.js"}],[5847,{"../../../components/component-library":4955,"../../../helpers/constants/design-system":5355,"../../../helpers/constants/zendesk-url":5368,"../../../hooks/useI18nContext":5427,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.DeprecatedNetworkModal=void 0;var n=l(e("react")),s=e("../../../hooks/useI18nContext"),r=e("../../../components/component-library"),o=e("../../../helpers/constants/design-system"),i=l(e("../../../helpers/constants/zendesk-url"));function l(e){return e&&e.__esModule?e:{default:e}}a.DeprecatedNetworkModal=({onClose:e})=>{const t=(0,s.useI18nContext)();return n.default.createElement(r.Modal,{isOpen:!0,isClosedOnOutsideClick:!1,onClose:e},n.default.createElement(r.ModalOverlay,null),n.default.createElement(r.ModalContent,null,n.default.createElement(r.ModalHeader,{paddingTop:2,paddingBottom:2},t("deprecatedNetwork")),n.default.createElement(r.ModalBody,null,n.default.createElement(r.Box,{paddingBottom:2},n.default.createElement(r.Text,{textAlign:o.TextAlign.Center,variant:o.TextVariant.bodyMd,fontWeight:o.FontWeight.Normal},t("deprecatedNetworkDescription",[n.default.createElement(r.ButtonLink,{key:"import-token-fake-token-warning",rel:"noopener noreferrer",target:"_blank",href:i.default.NETWORK_DEPRECATED,variant:o.TextVariant.bodySm,fontWeight:o.FontWeight.Normal},t("learnMoreUpperCase"))])))),n.default.createElement(r.Box,{display:o.Display.Flex,paddingLeft:4,paddingRight:4,paddingBottom:2},n.default.createElement(r.ButtonPrimary,{block:!0,size:r.ButtonPrimarySize.Lg,onClick:e,textProps:{variant:o.TextVariant.bodyMdMedium},style:{fontSize:"14px"}},t("deprecatedNetworkButtonMsg")))))}}}},{package:"$root$",file:"ui/pages/settings/deprecated-network-modal/DeprecatedNetworkModal.tsx"}],[5848,{"../../../../app/scripts/lib/util":120,"../../../../shared/constants/app":4493,"../../../components/component-library":4955,"../../../components/ui/toggle-button":5306,"../../../helpers/constants/design-system":5355,"../../../helpers/constants/routes":5361,"../../../helpers/utils/settings-search":5395,"../../../hooks/useI18nContext":5427,"../../../store/actions":5998,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n,s=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=h(t);if(a&&a.has(e))return a.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=s?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n.default=e,a&&a.set(e,n),n}(e("react")),r=e("react-redux"),o=e("react-router-dom"),i=e("../../../components/component-library"),l=e("../../../helpers/constants/design-system"),c=(n=e("../../../components/ui/toggle-button"))&&n.__esModule?n:{default:n},u=e("../../../helpers/constants/routes"),d=e("../../../helpers/utils/settings-search"),p=e("../../../hooks/useI18nContext"),f=e("../../../store/actions"),m=e("../../../../app/scripts/lib/util"),g=e("../../../../shared/constants/app");function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(h=function(e){return e?a:t})(e)}a.default=()=>{const e=(0,p.useI18nContext)(),t=(0,r.useDispatch)(),a=(0,o.useHistory)(),[n,h]=(0,s.useState)(!1),[_,E]=(0,s.useState)(!1),[y,b]=(0,s.useState)(!0),w=Array((0,d.getNumberOfSettingRoutesInTab)(e,e("developerOptions"))).fill(undefined).map((()=>s.default.createRef()));(0,s.useEffect)((()=>{(0,d.handleSettingsRefs)(e,e("developerOptions"),w)}),[e,w]);const v=(0,s.useCallback)((()=>{(0,f.resetViewedNotifications)(),h(!0)}),[]),k=(0,s.useCallback)((async()=>{await t((0,f.resetOnboarding)()),E(!0);const e=`${u.ONBOARDING_SECURE_YOUR_WALLET_ROUTE}/?isFromReminder=true`;if((0,m.getEnvironmentType)()===g.ENVIRONMENT_TYPE_POPUP){const{platform:t}=global;null!=t&&t.openExtensionInBrowser&&(null==t||t.openExtensionInBrowser(e,null,!0))}else a.push(e)}),[t,a]);return s.default.createElement("div",{className:"settings-page__body"},s.default.createElement(i.Text,{className:"settings-page__security-tab-sub-header__bold"},e("states")),s.default.createElement(i.Text,{className:"settings-page__security-tab-sub-header",color:l.TextColor.textAlternative,paddingTop:6,ref:w[0]},e("resetStates")),s.default.createElement("div",{className:"settings-page__content-padded"},s.default.createElement(i.Box,{ref:w[1],className:"settings-page__content-row",display:l.Display.Flex,flexDirection:l.FlexDirection.Row,justifyContent:l.JustifyContent.spaceBetween,gap:4},s.default.createElement("div",{className:"settings-page__content-item"},s.default.createElement("span",null,e("announcements")),s.default.createElement("div",{className:"settings-page__content-description"},e("developerOptionsResetStatesAnnouncementsDescription"))),s.default.createElement("div",{className:"settings-page__content-item-col"},s.default.createElement(i.Button,{variant:i.ButtonVariant.Primary,onClick:v},e("reset"))),s.default.createElement("div",{className:"settings-page__content-item-col"},s.default.createElement(i.Box,{display:l.Display.Flex,alignItems:l.AlignItems.center,paddingLeft:2,paddingRight:2,style:{height:"40px",width:"40px"}},s.default.createElement(i.Icon,{className:"settings-page-developer-options__icon-check",name:i.IconName.Check,color:l.IconColor.successDefault,size:i.IconSize.Lg,hidden:!n})))),s.default.createElement(i.Box,{ref:w[2],className:"settings-page__content-row",display:l.Display.Flex,flexDirection:l.FlexDirection.Row,justifyContent:l.JustifyContent.spaceBetween,gap:4},s.default.createElement("div",{className:"settings-page__content-item",style:{flex:"1 1 auto"}},s.default.createElement("span",null,e("onboarding")),s.default.createElement("div",{className:"settings-page__content-description"},e("developerOptionsResetStatesOnboarding"))),s.default.createElement("div",{className:"settings-page__content-item-col"},s.default.createElement(i.Button,{variant:i.ButtonVariant.Primary,onClick:k},e("reset"))),s.default.createElement("div",{className:"settings-page__content-item-col"},s.default.createElement(i.Box,{display:l.Display.Flex,alignItems:l.AlignItems.center,paddingLeft:2,paddingRight:2,style:{height:"40px",width:"40px"}},s.default.createElement(i.Icon,{className:"settings-page-developer-options__icon-check",name:i.IconName.Check,color:l.IconColor.successDefault,size:i.IconSize.Lg,hidden:!_})))),s.default.createElement(i.Box,{ref:w[3],className:"settings-page__content-row",display:l.Display.Flex,flexDirection:l.FlexDirection.Row,justifyContent:l.JustifyContent.spaceBetween,gap:4},s.default.createElement("div",{className:"settings-page__content-item"},s.default.createElement("div",{className:"settings-page__content-description"},s.default.createElement("span",null,e("serviceWorkerKeepAlive")),s.default.createElement("div",{className:"settings-page__content-description"},e("developerOptionsServiceWorkerKeepAlive")))),s.default.createElement("div",{className:"settings-page__content-item-col"},s.default.createElement(c.default,{value:y,onToggle:e=>(async e=>{await t((0,f.setServiceWorkerKeepAlivePreference)(e)),b(e)})(!e),offLabel:e("off"),onLabel:e("on"),dataTestId:"developer-options-service-worker-alive-toggle"})))))}}}},{package:"$root$",file:"ui/pages/settings/developer-options-tab/developer-options-tab.tsx"}],[5849,{"./developer-options-tab":5848},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return s.default}});var n,s=(n=e("./developer-options-tab"))&&n.__esModule?n:{default:n}}}},{package:"$root$",file:"ui/pages/settings/developer-options-tab/index.tsx"}],[5850,{"../../../../shared/constants/metametrics":4505,"../../../components/app/desktop-enable-button":4628,"../../../components/component-library":4955,"../../../components/ui/toggle-button":5306,"../../../helpers/constants/design-system":5355,"../../../helpers/utils/settings-search":5395,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=p(t);if(a&&a.has(e))return a.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=s?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n.default=e,a&&a.set(e,n),n}(e("react")),s=d(e("prop-types")),r=d(e("../../../components/ui/toggle-button")),o=e("../../../helpers/utils/settings-search"),i=e("../../../../shared/constants/metametrics"),l=e("../../../components/component-library"),c=e("../../../helpers/constants/design-system"),u=d(e("../../../components/app/desktop-enable-button"));function d(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(p=function(e){return e?a:t})(e)}function f(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var a=e[Symbol.toPrimitive];if(a!==undefined){var n=a.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}class m extends n.PureComponent{constructor(...e){super(...e),f(this,"settingsRefs",Array((0,o.getNumberOfSettingRoutesInTab)(this.context.t,this.context.t("experimental"))).fill(undefined).map((()=>n.default.createRef())))}componentDidUpdate(){const{t:e}=this.context;(0,o.handleSettingsRefs)(e,e("experimental"),this.settingsRefs)}componentDidMount(){const{t:e}=this.context;(0,o.handleSettingsRefs)(e,e("experimental"),this.settingsRefs)}renderTogglePetnames(){const{t:e}=this.context,{petnamesEnabled:t,setPetnamesEnabled:a}=this.props;return n.default.createElement(l.Box,{ref:this.settingsRefs[0],className:"settings-page__content-row settings-page__content-row-experimental"},n.default.createElement("div",{className:"settings-page__content-item"},n.default.createElement("span",null,e("petnamesEnabledToggle")),n.default.createElement("div",{className:"settings-page__content-description"},e("petnamesEnabledToggleDescription"))),n.default.createElement("div",{className:"settings-page__content-item-col"},n.default.createElement(r.default,{className:"petnames-toggle",value:t,onToggle:e=>a(!e),offLabel:e("off"),onLabel:e("on"),dataTestId:"toggle-petnames"})))}renderToggleRedesignedConfirmations(){const{t:e}=this.context,{redesignedConfirmationsEnabled:t,setRedesignedConfirmationsEnabled:a}=this.props;return n.default.createElement(l.Box,{ref:this.settingsRefs[0],className:"settings-page__content-row settings-page__content-row-experimental"},n.default.createElement("div",{className:"settings-page__content-item"},n.default.createElement("span",null,e("redesignedConfirmationsEnabledToggle")),n.default.createElement("div",{className:"settings-page__content-description"},e("redesignedConfirmationsToggleDescription"))),n.default.createElement("div",{className:"settings-page__content-item-col"},n.default.createElement(r.default,{className:"redesigned-confirmations-toggle",value:t,onToggle:e=>a(!e),offLabel:e("off"),onLabel:e("on"),dataTestId:"toggle-redesigned-confirmations"})))}renderDesktopEnableButton(){const{t:e}=this.context;return n.default.createElement(n.default.Fragment,null,n.default.createElement(l.Text,{variant:c.TextVariant.headingSm,color:c.TextColor.textAlternative,marginBottom:2},e("desktopApp")),n.default.createElement(l.Box,{ref:this.settingsRefs[6],"data-testid":"advanced-setting-desktop-pairing",display:c.Display.Flex,alignItems:c.AlignItems.center,flexDirection:c.FlexDirection.Row,flexWrap:c.FlexWrap.Wrap,justifyContent:c.JustifyContent.spaceBetween},n.default.createElement(l.Text,{marginTop:3,paddingRight:2},e("desktopEnableButtonDescription")),n.default.createElement(l.Box,{className:"settings-page__content-item-col",paddingTop:3},n.default.createElement(u.default,null))))}renderKeyringSnapsToggle(){const{t:e,trackEvent:t}=this.context,{addSnapAccountEnabled:a,setAddSnapAccountEnabled:s}=this.props;return n.default.createElement(n.default.Fragment,null,n.default.createElement(l.Text,{variant:c.TextVariant.headingSm,as:"h4",color:c.TextColor.textAlternative,marginBottom:2,fontWeight:c.FontWeight.Bold},e("snaps")),n.default.createElement(l.Box,{ref:this.settingsRefs[1],className:"settings-page__content-row settings-page__content-row-experimental",marginBottom:3},n.default.createElement("div",{className:"settings-page__content-item"},n.default.createElement("span",null,e("snapAccounts")),n.default.createElement("div",{className:"settings-page__content-description"},n.default.createElement(l.Text,{variant:c.TextVariant.bodySm,as:"h6",color:c.TextColor.textAlternative},e("snapAccountsDescription")),n.default.createElement("div",{className:"settings-page__content-item-col"},n.default.createElement(l.Text,{variant:c.TextVariant.bodyMd,as:"h5",color:c.TextColor.textDefault,fontWeight:c.FontWeight.Medium,marginBottom:0},e("addSnapAccountToggle")),n.default.createElement("div",{"data-testid":"add-account-snap-toggle-div"},n.default.createElement(r.default,{value:a,dataTestId:"add-account-snap-toggle-button",onToggle:e=>{t({event:i.MetaMetricsEventName.AddSnapAccountEnabled,category:i.MetaMetricsEventCategory.Settings,properties:{enabled:!e}}),s(!e)}}))),n.default.createElement(l.Text,{variant:c.TextVariant.bodySm,as:"h6",color:c.TextColor.textAlternative,marginTop:0},e("addSnapAccountsDescription"))))))}renderToggleRequestQueue(){const{t:e}=this.context,{useRequestQueue:t,setUseRequestQueue:a}=this.props;return n.default.createElement(l.Box,{ref:this.settingsRefs[7],className:"settings-page__content-row settings-page__content-row-experimental","data-testid":"experimental-setting-toggle-request-queue"},n.default.createElement("div",{className:"settings-page__content-item"},n.default.createElement("span",null,e("toggleRequestQueueField")),n.default.createElement("div",{className:"settings-page__content-description"},e("toggleRequestQueueDescription"))),n.default.createElement("div",{className:"settings-page__content-item-col"},n.default.createElement(r.default,{className:"request-queue-toggle",value:t||!1,onToggle:e=>a(!e),offLabel:e("toggleRequestQueueOff"),onLabel:e("toggleRequestQueueOn")})))}renderNotificationsToggle(){const{t:e}=this.context,{featureNotificationsEnabled:t,setFeatureNotificationsEnabled:a}=this.props;return n.default.createElement(l.Box,{ref:this.settingsRefs[0],className:"settings-page__content-row settings-page__content-row-experimental"},n.default.createElement("div",{className:"settings-page__content-item"},n.default.createElement("span",null,e("notificationsFeatureToggle")),n.default.createElement("div",{className:"settings-page__content-description"},e("notificationsFeatureToggleDescription"))),n.default.createElement("div",{className:"settings-page__content-item-col"},n.default.createElement(r.default,{value:t,onToggle:e=>a(!e),offLabel:e("off"),onLabel:e("on"),dataTestId:"toggle-notifications"})))}render(){return n.default.createElement("div",{className:"settings-page__body"},this.renderTogglePetnames(),this.renderToggleRedesignedConfirmations(),null,this.renderKeyringSnapsToggle(),this.renderDesktopEnableButton(),this.renderToggleRequestQueue())}}a.default=m,f(m,"contextTypes",{t:s.default.func,trackEvent:s.default.func}),f(m,"propTypes",{addSnapAccountEnabled:s.default.bool,setAddSnapAccountEnabled:s.default.func,useRequestQueue:s.default.bool,setUseRequestQueue:s.default.func,petnamesEnabled:s.default.bool.isRequired,setPetnamesEnabled:s.default.func.isRequired,featureNotificationsEnabled:s.default.bool,setFeatureNotificationsEnabled:s.default.func,redesignedConfirmationsEnabled:s.default.bool.isRequired,setRedesignedConfirmationsEnabled:s.default.func.isRequired})}}},{package:"$root$",file:"ui/pages/settings/experimental-tab/experimental-tab.component.js"}],[5851,{"../../../selectors":5987,"../../../store/actions":5998,"./experimental-tab.component":5850,"react-redux":4199,"react-router-dom":4228,redux:4261},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n,s=e("redux"),r=e("react-redux"),o=e("react-router-dom"),i=e("../../../store/actions"),l=e("../../../selectors"),c=(n=e("./experimental-tab.component"))&&n.__esModule?n:{default:n};a.default=(0,s.compose)(o.withRouter,(0,r.connect)((e=>{const t=(0,l.getPetnamesEnabled)(e),a=(0,l.getFeatureNotificationsEnabled)(e);return{addSnapAccountEnabled:(0,l.getIsAddSnapAccountEnabled)(e),useRequestQueue:(0,l.getUseRequestQueue)(e),petnamesEnabled:t,featureNotificationsEnabled:a,redesignedConfirmationsEnabled:(0,l.getRedesignedConfirmationsEnabled)(e)}}),(e=>({setAddSnapAccountEnabled:e=>(0,i.setAddSnapAccountEnabled)(e),setUseRequestQueue:e=>(0,i.setUseRequestQueue)(e),setPetnamesEnabled:t=>e((0,i.setPetnamesEnabled)(t)),setFeatureNotificationsEnabled:t=>e((0,i.setFeatureNotificationsEnabled)(t)),setRedesignedConfirmationsEnabled:t=>e((0,i.setRedesignedConfirmationsEnabled)(t))}))))(c.default)}}},{package:"$root$",file:"ui/pages/settings/experimental-tab/experimental-tab.container.js"}],[5852,{"./experimental-tab.container":5851},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return s.default}});var n,s=(n=e("./experimental-tab.container"))&&n.__esModule?n:{default:n}}}},{package:"$root$",file:"ui/pages/settings/experimental-tab/index.js"}],[5853,{"./settings.container":5884},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return s.default}});var n,s=(n=e("./settings.container"))&&n.__esModule?n:{default:n}}}},{package:"$root$",file:"ui/pages/settings/index.js"}],[5854,{"./info-tab.component":5855},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return s.default}});var n,s=(n=e("./info-tab.component"))&&n.__esModule?n:{default:n}}}},{package:"$root$",file:"ui/pages/settings/info-tab/index.js"}],[5855,{"../../../../shared/constants/metametrics":4505,"../../../../shared/lib/ui-utils":4532,"../../../components/component-library":4955,"../../../components/ui/button":5198,"../../../helpers/constants/common":5353,"../../../helpers/utils/build-types":5379,"../../../helpers/utils/settings-search":5395,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=f(t);if(a&&a.has(e))return a.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=s?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n.default=e,a&&a.set(e,n),n}(e("react")),s=p(e("prop-types")),r=p(e("../../../components/ui/button")),o=e("../../../components/component-library"),i=e("../../../helpers/constants/common"),l=e("../../../helpers/utils/build-types"),c=e("../../../helpers/utils/settings-search"),u=e("../../../../shared/constants/metametrics"),d=e("../../../../shared/lib/ui-utils");function p(e){return e&&e.__esModule?e:{default:e}}function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(f=function(e){return e?a:t})(e)}function m(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var a=e[Symbol.toPrimitive];if(a!==undefined){var n=a.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}class g extends n.PureComponent{constructor(...e){super(...e),m(this,"state",{version:"12.0.0-flask.0"}),m(this,"settingsRefs",Array((0,c.getNumberOfSettingRoutesInTab)(this.context.t,this.context.t("about"))).fill(undefined).map((()=>n.default.createRef())))}componentDidUpdate(){const{t:e}=this.context;(0,c.handleSettingsRefs)(e,e("about"),this.settingsRefs)}componentDidMount(){const{t:e}=this.context;(0,c.handleSettingsRefs)(e,e("about"),this.settingsRefs)}renderInfoLinks(){const{t:e}=this.context;let t,a;return t="https://metamask.io/privacy.html",a="https://metamask.io/",n.default.createElement("div",{className:"settings-page__content-item settings-page__content-item--without-height"},n.default.createElement("div",{ref:this.settingsRefs[1],className:"info-tab__link-header"},e("links")),n.default.createElement("div",{ref:this.settingsRefs[2],className:"info-tab__link-item"},n.default.createElement(r.default,{type:"link",href:"https://metamask.io/privacy.html",target:"_blank",rel:"noopener noreferrer",className:"info-tab__link-text"},e("privacyMsg"))),n.default.createElement("div",{ref:this.settingsRefs[3],className:"info-tab__link-item"},n.default.createElement(r.default,{type:"link",href:"https://metamask.io/terms.html",target:"_blank",rel:"noopener noreferrer",className:"info-tab__link-text"},e("terms"))),(0,l.isBeta)()?n.default.createElement("div",{ref:this.settingsRefs[8],className:"info-tab__link-item"},n.default.createElement(r.default,{type:"link",href:"https://metamask.io/beta-terms.html",target:"_blank",rel:"noopener noreferrer",className:"info-tab__link-text"},e("betaTerms"),n.default.createElement(o.Tag,{label:e("new"),className:"info-tab__tag"}))):null,n.default.createElement("div",{ref:this.settingsRefs[4],className:"info-tab__link-item"},n.default.createElement(r.default,{type:"link",href:`https://raw.githubusercontent.com/MetaMask/metamask-extension/v${this.state.version}/attribution.txt`,target:"_blank",rel:"noopener noreferrer",className:"info-tab__link-text"},e("attributions"))),n.default.createElement("hr",{className:"info-tab__separator"}),n.default.createElement("div",{ref:this.settingsRefs[5],className:"info-tab__link-item"},n.default.createElement(r.default,{type:"link",href:d.SUPPORT_LINK,target:"_blank",rel:"noopener noreferrer",className:"info-tab__link-text",onClick:()=>{this.context.trackEvent({category:u.MetaMetricsEventCategory.Settings,event:u.MetaMetricsEventName.SupportLinkClicked,properties:{url:d.SUPPORT_LINK}},{contextPropsIntoEventProperties:[u.MetaMetricsContextProp.PageTitle]})}},e("supportCenter"))),n.default.createElement("div",{ref:this.settingsRefs[6],className:"info-tab__link-item"},n.default.createElement(r.default,{type:"link",href:"https://metamask.io/",target:"_blank",rel:"noopener noreferrer",className:"info-tab__link-text"},e("visitWebSite"))),n.default.createElement("div",{ref:this.settingsRefs[7],className:"info-tab__link-item"},n.default.createElement(r.default,{type:"link",href:i.SUPPORT_REQUEST_LINK,target:"_blank",rel:"noopener noreferrer",className:"info-tab__link-text",onClick:()=>{this.context.trackEvent({category:u.MetaMetricsEventCategory.Settings,event:u.MetaMetricsEventName.SupportLinkClicked,properties:{url:i.SUPPORT_REQUEST_LINK}},{contextPropsIntoEventProperties:[u.MetaMetricsContextProp.PageTitle]})}},e("contactUs"))))}render(){const{t:e}=this.context;return n.default.createElement("div",{className:"settings-page__body"},n.default.createElement("div",{className:"settings-page__content-row"},n.default.createElement("div",{className:"settings-page__content-item settings-page__content-item--without-height"},n.default.createElement("div",{className:"info-tab__item"},n.default.createElement("div",{ref:this.settingsRefs[0],className:"info-tab__version-header"},(0,l.isBeta)()?e("betaMetamaskVersion"):e("metamaskVersion")),n.default.createElement("div",{className:"info-tab__version-number"},this.state.version)),n.default.createElement("div",{className:"info-tab__item"},n.default.createElement("div",{className:"info-tab__about"},e("builtAroundTheWorld")))),this.renderInfoLinks()),n.default.createElement("div",{className:"info-tab__logo-wrapper"},n.default.createElement("img",{src:"./images/logo/metamask-fox.svg",className:"info-tab__logo",alt:"MetaMask Logo"})))}}a.default=g,m(g,"contextTypes",{t:s.default.func,trackEvent:s.default.func})}}},{package:"$root$",file:"ui/pages/settings/info-tab/info-tab.component.js"}],[5856,{"../../../../components/component-library":4955,"../../../../components/ui/icon/search-icon":5241,"../../../../components/ui/text-field":5302,"../../../../contexts/i18n":5324,"@material-ui/core/InputAdornment":756,"fuse.js":3407,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=f;var n=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=p(t);if(a&&a.has(e))return a.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=s?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n.default=e,a&&a.set(e,n),n}(e("react")),s=d(e("prop-types")),r=d(e("fuse.js")),o=d(e("@material-ui/core/InputAdornment")),i=d(e("../../../../components/ui/text-field")),l=e("../../../../contexts/i18n"),c=d(e("../../../../components/ui/icon/search-icon")),u=e("../../../../components/component-library");function d(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(p=function(e){return e?a:t})(e)}function f({onSearch:e,error:t,networksList:a,searchQueryInput:s}){const d=(0,n.useContext)(l.I18nContext),[p,f]=(0,n.useState)("var(--color-icon-muted)"),m=Object.values(a),g=new r.default(m,{shouldSort:!0,threshold:.2,location:0,distance:100,maxPatternLength:32,minMatchCharLength:1,keys:["label","labelKey"]}),h=async t=>{f(""===t?"var(--color-icon-muted)":"var(--color-icon-alternative)");const a=g.search(t),n=t?[...a]:m;await e({searchQuery:t,results:n})};return n.default.createElement(i.default,{id:"search-networks","data-testid":"search-networks",placeholder:d("customContentSearch"),type:"text",value:s,onChange:e=>h(e.target.value),error:t,fullWidth:!0,autoFocus:!0,autoComplete:"off",classes:{inputRoot:"networks-tab__networks-list__custom-search-network"},startAdornment:n.default.createElement(o.default,{position:"start"},n.default.createElement(c.default,{color:p})),endAdornment:n.default.createElement(n.default.Fragment,null,s&&n.default.createElement(o.default,{className:"imageclosectn",position:"end",onClick:()=>h("")},n.default.createElement(u.Icon,{name:u.IconName.Close,className:"networks-tab__imageclose"})))})}f.propTypes={onSearch:s.default.func,error:s.default.string,networksList:s.default.array,searchQueryInput:s.default.string}}}},{package:"$root$",file:"ui/pages/settings/networks-tab/custom-content-search/custom-content-search.js"}],[5857,{"./custom-content-search":5856},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return s.default}});var n,s=(n=e("./custom-content-search"))&&n.__esModule?n:{default:n}}}},{package:"$root$",file:"ui/pages/settings/networks-tab/custom-content-search/index.js"}],[5858,{"./networks-tab":5870},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return s.default}});var n,s=(n=e("./networks-tab"))&&n.__esModule?n:{default:n}}}},{package:"$root$",file:"ui/pages/settings/networks-tab/index.js"}],[5859,{"./networks-form":5860},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return s.default}});var n,s=(n=e("./networks-form"))&&n.__esModule?n:{default:n}}}},{package:"$root$",file:"ui/pages/settings/networks-tab/networks-form/index.js"}],[5860,{"../../../../../app/scripts/lib/util":120,"../../../../../shared/constants/metametrics":4505,"../../../../../shared/constants/network":4507,"../../../../../shared/lib/fetch-with-cache":4525,"../../../../../shared/modules/conversion.utils":4537,"../../../../../shared/modules/network.utils":4548,"../../../../../shared/modules/rpc.utils":4551,"../../../../components/component-library":4955,"../../../../components/component-library/form-text-field/deprecated":4943,"../../../../components/ui/actionable-message":5191,"../../../../components/ui/button":5198,"../../../../components/ui/form-field":5226,"../../../../contexts/metametrics":5327,"../../../../helpers/constants/design-system":5355,"../../../../helpers/utils/i18n-helper":5386,"../../../../helpers/utils/network-helper":5390,"../../../../hooks/useI18nContext":5427,"../../../../hooks/usePrevious":5436,"../../../../selectors":5987,"../../../../store/actions":5998,classnames:3049,lodash:3836,loglevel:3842,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n=I(e("classnames")),s=e("lodash"),r=I(e("loglevel")),o=I(e("prop-types")),i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=O(t);if(a&&a.has(e))return a.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=s?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n.default=e,a&&a.set(e,n),n}(e("react")),l=e("react-redux"),c=e("../../../../../app/scripts/lib/util"),u=e("../../../../../shared/constants/metametrics"),d=e("../../../../../shared/constants/network"),p=I(e("../../../../../shared/lib/fetch-with-cache")),f=e("../../../../../shared/modules/conversion.utils"),m=e("../../../../../shared/modules/network.utils"),g=e("../../../../../shared/modules/rpc.utils"),h=I(e("../../../../components/ui/actionable-message")),_=I(e("../../../../components/ui/button")),E=I(e("../../../../components/ui/form-field")),y=e("../../../../contexts/metametrics"),b=e("../../../../helpers/utils/i18n-helper"),w=e("../../../../hooks/useI18nContext"),v=e("../../../../hooks/usePrevious"),k=e("../../../../selectors"),T=e("../../../../store/actions"),C=e("../../../../components/component-library"),x=e("../../../../components/component-library/form-text-field/deprecated"),S=e("../../../../helpers/constants/design-system"),N=e("../../../../helpers/utils/network-helper");function O(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(O=function(e){return e?a:t})(e)}function I(e){return e&&e.__esModule?e:{default:e}}const R=e=>e&&"string"==typeof e&&e.startsWith("0x")?parseInt(e,16).toString(10):e,M=({addNewNetwork:e,setActiveOnSubmit:t=!1,restrictHeight:a,isCurrentRpcTarget:o,networksToRender:O,selectedNetwork:I,cancelCallback:M,submitCallback:P})=>{var D,A,L,j,F,B;const U=(0,w.useI18nContext)(),W=(0,l.useDispatch)(),{label:q,labelKey:$,viewOnly:V,rpcPrefs:H}=I,K=q||$&&U((0,b.getNetworkLabelKey)($)),[Q,z]=(0,i.useState)(K||""),[G,Y]=(0,i.useState)((null==I?void 0:I.rpcUrl)||""),[Z,J]=(0,i.useState)((null==I?void 0:I.chainId)||""),[X,ee]=(0,i.useState)((null==I?void 0:I.ticker)||""),[te,ae]=(0,i.useState)([]),[ne,se]=(0,i.useState)((null==I?void 0:I.blockExplorerUrl)||""),[re,oe]=(0,i.useState)({}),[ie,le]=(0,i.useState)({}),[ce,ue]=(0,i.useState)(!1),de=d.FEATURED_RPCS.some((e=>Number(e.chainId)===Number(Z))),[pe,fe]=(0,i.useState)(Boolean(e)),[me,ge]=(0,i.useState)(I),he=(0,i.useContext)(y.MetaMetricsContext),_e=(0,l.useSelector)(k.useSafeChainsListValidationSelector),Ee=(0,i.useRef)([]);(0,i.useEffect)((()=>{_e&&async function(){try{const e=await(0,p.default)({url:"https://chainid.network/chains.json",functionName:"getSafeChainsList"});Object.values(d.BUILT_IN_NETWORKS).forEach((t=>{const a=e.findIndex((e=>e.chainId.toString()===R(t.chainId)));t.ticker&&-1!==a&&(e[a].nativeCurrency.symbol=t.ticker)})),Ee.current=[...e,{chainId:78,nativeCurrency:{symbol:d.CHAINLIST_CURRENCY_SYMBOLS_MAP_NETWORK_COLLISION.WETHIO}},{chainId:88888,nativeCurrency:{symbol:d.CHAINLIST_CURRENCY_SYMBOLS_MAP_NETWORK_COLLISION.CHZ}}]}catch(e){r.default.warn("Failed to fetch chainList from chainid.network",e)}}()}),[_e]);const ye=(0,i.useCallback)((()=>{z(K||""),Y(I.rpcUrl),J(R(I.chainId)),ee(null==I?void 0:I.ticker),se(null==I?void 0:I.blockExplorerUrl),oe({}),le({}),ae([]),ue(!1),fe(!1),ge(I)}),[I,K]),be=(0,i.useRef)(),we=(0,i.useRef)(),ve=(0,i.useRef)(),ke=(0,i.useRef)(),Te=(0,i.useRef)(),Ce=(0,i.useRef)();(0,i.useEffect)((()=>{if(!be.current&&e)z(""),Y(""),J(""),ee(""),se(""),oe({}),ue(!1);else{const e=we.current!==K,t=ke.current!==I.rpcUrl,a=ve.current!==I.chainId,n=Te.current!==I.ticker,r=Ce.current!==I.blockExplorerUrl;!(e||t||a||n||r)||pe&&(0,s.isEqual)(I,me)||ye(I)}be.current=e,we.current=K,ke.current=I.rpcUrl,ve.current=I.chainId,Te.current=I.ticker,Ce.current=I.blockExplorerUrl}),[I,K,e,me,ye,pe]),(0,i.useEffect)((()=>()=>{z(""),Y(""),J(""),ee(""),se(""),oe({}),W((0,T.setSelectedNetworkConfigurationId)(""))}),[z,Y,J,ee,se,oe,W]);const xe=(0,i.useCallback)((e=>{var t,a;const n=R(e);if(""===n.trim()||0===Ee.current.length)return void ae([]);const s=null===(t=Ee.current)||void 0===t?void 0:t.find((e=>e.chainId.toString()===n)),r=null===(a=Ee.current)||void 0===a?void 0:a.reduce(((e,t)=>{var a;t.chainId.toString()===n&&e.push(null===(a=t.nativeCurrency)||void 0===a?void 0:a.symbol);return e}),[]);s!==undefined?ae([...r]):ae([])}),[]),Se=(0,i.useCallback)((e=>(null==e?void 0:e.length)>0&&!(0,c.isWebUrl)(e)?(0,c.isWebUrl)(`https://${e}`)?{key:"urlErrorMsg",msg:U("urlErrorMsg")}:{key:"invalidBlockExplorerURL",msg:U("invalidBlockExplorerURL")}:null),[U]),Ne=(0,i.useCallback)((async(e="")=>{const t=e.trim();let a="",n="",s="",o="",i=10,l=t;if(!l.startsWith("0x"))try{l=`0x${(0,f.decimalToHex)(l)}`}catch(e){return{error:{key:"invalidHexNumber",msg:U("invalidHexNumber")}}}const[c]=O.filter((e=>e.chainId===l&&e.rpcUrl!==G));if(""===t)return null;let u,d;c?(s="chainIdExistsErrorMsg",o=U("chainIdExistsErrorMsg",[c.label??c.labelKey])):t.startsWith("0x")?(i=16,/^0x[0-9a-f]+$/iu.test(t)?(0,m.isPrefixedFormattedHexString)(t)||(n=U("invalidHexNumberLeadingZeros")):(a="invalidHexNumber",n=U("invalidHexNumber"))):/^[0-9]+$/u.test(t)?t.startsWith("0")?(a="invalidNumberLeadingZeros",n=U("invalidNumberLeadingZeros")):(0,m.isSafeChainId)(parseInt(t,i))||(a="invalidChainIdTooBig",n=U("invalidChainIdTooBig")):(a="invalidNumber",n=U("invalidNumber"));try{u=await(0,g.jsonRpcRequest)(G,"eth_chainId")}catch(e){r.default.warn("Failed to fetch the chainId from the endpoint.",e),d=e}if(G&&t)if(d||"string"!=typeof u)a="failedToFetchChainId",n=U("failedToFetchChainId");else if(l!==u){if(!t.startsWith("0x"))try{u=parseInt(u,16).toString(10)}catch(e){r.default.warn("Failed to convert endpoint chain ID to decimal",u)}a="endpointReturnedDifferentChainId",n=U("endpointReturnedDifferentChainId",[u.length<=12?u:`${u.slice(0,9)}...`])}return a?{error:{key:a,msg:n}}:s?{warning:{key:s,msg:o}}:(xe(t),null)}),[G,O,U]),Oe=(0,i.useCallback)((async(e,t)=>{let a,n;const s=R(e);if(!s||!t)return null;if(0===Ee.current.length)a="failedToFetchTickerSymbolData",n=U("failedToFetchTickerSymbolData");else{const e=(0,N.getMatchedChain)(s,Ee.current),r=(0,N.getMatchedSymbols)(s,Ee.current);e===undefined?(a="failedToFetchTickerSymbolData",n=U("failedToFetchTickerSymbolData")):r.some((e=>e.toLowerCase()===t.toLowerCase()))||(a="chainListReturnedDifferentTickerSymbol",n=U("chainListReturnedDifferentTickerSymbol"),ae([...r]))}return a?{key:a,msg:n}:null}),[U]),Ie=(0,i.useCallback)((e=>{const[{rpcUrl:t=null,label:a,labelKey:n}={}]=O.filter((t=>t.rpcUrl===e)),{rpcUrl:s}=I;return(null==e?void 0:e.length)>0&&!(0,c.isWebUrl)(e)?(0,c.isWebUrl)(`https://${e}`)?{key:"urlErrorMsg",msg:U("urlErrorMsg")}:{key:"invalidRPC",msg:U("invalidRPC")}:t&&t!==s?{key:"urlExistsErrorMsg",msg:U("urlExistsErrorMsg",[a??n])}:null}),[I,O,U]),Re=(0,v.usePrevious)(G),Me=(0,v.usePrevious)(Z),Pe=(0,v.usePrevious)(X),De=(0,v.usePrevious)(ne);(0,i.useEffect)((()=>{V||Re===G&&Me===Z&&Pe===X&&De===ne||async function(){const{error:e,warning:t}=await Ne(Z)||{},a=await Oe(Z,X),n=Se(ne),s=Ie(G);oe({...re,blockExplorerUrl:n,rpcUrl:s,chainId:e}),le({...ie,chainId:t,ticker:a})}()}),[re,ie,G,Z,X,ne,V,q,Re,Me,Pe,De,Se,Ne,Oe,Ie]);const Ae=!o&&!V&&!e,Le=(()=>{const e="string"==typeof I.chainId&&I.chainId.toLowerCase().startsWith("0x")&&Z===R(I.chainId);return G===I.rpcUrl&&e&&X===I.ticker&&Q===K&&ne===I.blockExplorerUrl})(),je=(null==I?void 0:I.rpcUrl)&&re.chainId&&de,Fe=Object.keys(re).some((e=>{const t=re[e];return("chainId"!==e||"chainIdExistsErrorMsg"!==(null==t?void 0:t.key))&&(null==t?void 0:t.key)&&(null==t?void 0:t.msg)}))||ce||Le||je||!G||!Z||!X;let Be=null!=G&&G.includes(`/v3/${d.infuraProjectId}`)?G.replace(`/v3/${d.infuraProjectId}`,""):G;var Ue;V&&(Be=null===(Ue=Be)||void 0===Ue?void 0:Ue.toLowerCase());return i.default.createElement("div",{className:(0,n.default)({"networks-tab__network-form":!e,"networks-tab__add-network-form":e,"networks-tab__restrict-height":a})},e?i.default.createElement(h.default,{type:"warning",message:U("onlyAddTrustedNetworks"),iconFillColor:"var(--color-warning-default)",useIcon:!0,withRightButton:!0,className:"networks-tab__add-network-form__alert"}):null,i.default.createElement("div",{className:(0,n.default)({"networks-tab__network-form-body":!e,"networks-tab__network-form-body__view-only":V,"networks-tab__add-network-form-body":e})},i.default.createElement(E.default,{autoFocus:!0,error:(null===(D=re.networkName)||void 0===D?void 0:D.msg)||"",onChange:e=>{fe(!0),z(e)},titleText:U("networkName"),value:Q,disabled:V,dataTestId:"network-form-network-name"}),i.default.createElement(E.default,{error:(null===(A=re.rpcUrl)||void 0===A?void 0:A.msg)||"",onChange:e=>{fe(!0),Y(e)},titleText:U("rpcUrl"),value:Be,disabled:V,dataTestId:"network-form-rpc-url"}),i.default.createElement(E.default,{warning:(null===(L=ie.chainId)||void 0===L?void 0:L.msg)||"",error:(null===(j=re.chainId)||void 0===j?void 0:j.msg)||"",onChange:e=>{fe(!0),J(e),xe(e)},titleText:U("chainId"),value:Z,disabled:V,tooltipText:V?null:U("networkSettingsChainIdDescription"),dataTestId:"network-form-chain-id"}),i.default.createElement(x.FormTextField,{"data-testid":"network-form-ticker",helpText:te&&!te.some((e=>e===X))?i.default.createElement(C.Text,{as:"span",variant:S.TextVariant.bodySm,color:S.TextColor.textDefault,"data-testid":"network-form-ticker-suggestion"},U("suggestedTokenSymbol"),te.map(((e,t)=>i.default.createElement(C.ButtonLink,{as:"button",variant:S.TextVariant.bodySm,color:S.TextColor.primaryDefault,onClick:()=>{ee(e)},paddingLeft:1,paddingRight:1,style:{verticalAlign:"baseline"},key:t},e)))):null,onChange:e=>{fe(!0),ee(e.target.value)},label:U("currencySymbol"),labelProps:{variant:S.TextVariant.bodySm,fontWeight:S.FontWeight.Bold,paddingBottom:1,paddingTop:1},inputProps:{paddingLeft:2,variant:S.TextVariant.bodySm,"data-testid":"network-form-ticker-input"},value:X,disabled:V}),null!==(F=ie.ticker)&&void 0!==F&&F.msg?i.default.createElement(C.HelpText,{severity:C.HelpTextSeverity.Warning,marginTop:1,"data-testid":"network-form-ticker-warning"},ie.ticker.msg):null,i.default.createElement(E.default,{error:(null===(B=re.blockExplorerUrl)||void 0===B?void 0:B.msg)||"",onChange:e=>{fe(!0),se(e)},titleText:U("blockExplorerUrl"),titleUnit:U("optionalWithParanthesis"),value:ne,disabled:V,autoFocus:"blockExplorerUrl"===window.location.hash.split("#")[2],dataTestId:"network-form-block-explorer-url"})),i.default.createElement("div",{className:(0,n.default)({"networks-tab__network-form-footer":!e,"networks-tab__add-network-form-footer":e})},!V&&i.default.createElement(i.default.Fragment,null,Ae&&i.default.createElement(_.default,{type:"danger",onClick:()=>{W((0,T.showModal)({name:"CONFIRM_DELETE_NETWORK",target:I.networkConfigurationId,onConfirm:()=>{ye(),W((0,T.setSelectedNetworkConfigurationId)(""))}}))}},U("delete")),i.default.createElement(_.default,{type:"secondary",onClick:()=>{e?(W((0,T.setSelectedNetworkConfigurationId)("")),null==M||M()):ye()},disabled:Le},U("cancel")),i.default.createElement(_.default,{type:"primary",disabled:Fe,onClick:async()=>{ue(!0);try{const a=(e=>{let t=e;return e.startsWith("0x")||(t=`0x${parseInt(e,10).toString(16)}`),t})(Z.trim().toLowerCase());let n;a===d.CHAIN_IDS.GOERLI?W((0,T.showDeprecatedNetworkModal)()):I.rpcUrl&&G!==I.rpcUrl?await W((0,T.editAndSetNetworkConfiguration)({rpcUrl:G,ticker:X,networkConfigurationId:I.networkConfigurationId,chainId:a,nickname:Q,rpcPrefs:{...H,blockExplorerUrl:ne||(null==H?void 0:H.blockExplorerUrl)}},{source:u.MetaMetricsNetworkEventSource.CustomNetworkForm})):(n=await W((0,T.upsertNetworkConfiguration)({rpcUrl:G,ticker:X,chainId:a,nickname:Q,rpcPrefs:{...H,blockExplorerUrl:ne||(null==H?void 0:H.blockExplorerUrl)}},{setActive:t,source:u.MetaMetricsNetworkEventSource.CustomNetworkForm})),he({event:u.MetaMetricsEventName.CustomNetworkAdded,category:u.MetaMetricsEventCategory.Network,properties:{block_explorer_url:ne,chain_id:a,network_name:Q,source_connection_method:u.MetaMetricsNetworkEventSource.CustomNetworkForm,token_symbol:X}})),e&&!t&&a!==d.CHAIN_IDS.GOERLI&&W((0,T.setNewNetworkAdded)({nickname:Q,networkConfigurationId:n})),null==P||P()}catch(e){throw ue(!1),e}}},U("save")))))};M.propTypes={addNewNetwork:o.default.bool,isCurrentRpcTarget:o.default.bool,networksToRender:o.default.array.isRequired,selectedNetwork:o.default.object,cancelCallback:o.default.func,submitCallback:o.default.func,restrictHeight:o.default.bool,setActiveOnSubmit:o.default.bool},M.defaultProps={selectedNetwork:{}};a.default=M}}},{package:"$root$",file:"ui/pages/settings/networks-tab/networks-form/networks-form.js"}],[5861,{"./networks-list-item":5862},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return s.default}});var n,s=(n=e("./networks-list-item"))&&n.__esModule?n:{default:n}}}},{package:"$root$",file:"ui/pages/settings/networks-tab/networks-list-item/index.js"}],[5862,{"../../../../../app/scripts/lib/util":120,"../../../../../shared/constants/app":4493,"../../../../../shared/constants/network":4507,"../../../../components/component-library":4955,"../../../../components/ui/identicon":5247,"../../../../components/ui/url-icon":5319,"../../../../ducks/metamask/metamask":5346,"../../../../helpers/constants/design-system":5355,"../../../../helpers/constants/routes":5361,"../../../../helpers/utils/i18n-helper":5386,"../../../../helpers/utils/settings-search":5395,"../../../../hooks/useI18nContext":5427,"../../../../store/actions":5998,classnames:3049,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=w(t);if(a&&a.has(e))return a.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=s?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n.default=e,a&&a.set(e,n),n}(e("react")),s=b(e("prop-types")),r=b(e("classnames")),o=e("react-redux"),i=e("../../../../hooks/useI18nContext"),l=e("../../../../../shared/constants/network"),c=e("../../../../helpers/constants/routes"),u=e("../../../../store/actions"),d=e("../../../../../app/scripts/lib/util"),p=e("../../../../../shared/constants/app"),f=e("../../../../ducks/metamask/metamask"),m=b(e("../../../../components/ui/identicon")),g=b(e("../../../../components/ui/url-icon")),h=e("../../../../helpers/utils/settings-search"),_=e("../../../../components/component-library"),E=e("../../../../helpers/constants/design-system"),y=e("../../../../helpers/utils/i18n-helper");function b(e){return e&&e.__esModule?e:{default:e}}function w(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(w=function(e){return e?a:t})(e)}const v=({network:e,networkIsSelected:t,selectedNetworkConfigurationId:a,setSearchQuery:s,setSearchedNetworks:b})=>{const w=(0,i.useI18nContext)(),v=(0,o.useDispatch)(),k=(0,d.getEnvironmentType)()===p.ENVIRONMENT_TYPE_FULLSCREEN,T=(0,o.useSelector)(f.getProviderConfig),{label:C,labelKey:x,networkConfigurationId:S,rpcUrl:N,providerType:O}=e,I=a&&a===S,R=N===T.rpcUrl,M=T.type!==l.NETWORK_TYPES.RPC&&O===T.type,P=I||!t&&(R||M),D=R||M,A=(0,n.useRef)();return(0,n.useEffect)((()=>{(0,h.handleSettingsRefs)(w,w("networks"),A)}),[A,w]),n.default.createElement("div",{ref:A,key:`settings-network-list-item:${S}`,className:"networks-tab__networks-list-item",onClick:()=>{s(""),b([]),v((0,u.setSelectedNetworkConfigurationId)(S)),k||global.platform.openExtensionInBrowser(c.NETWORKS_ROUTE)}},D?n.default.createElement(_.Icon,{name:_.IconName.Check,color:E.IconColor.successDefault}):n.default.createElement(_.Icon,{name:_.IconName.Check,color:E.IconColor.transparent}),e.chainId in l.CHAIN_ID_TO_NETWORK_IMAGE_URL_MAP?n.default.createElement(m.default,{className:"networks-tab__content__custom-image",diameter:24,image:l.CHAIN_ID_TO_NETWORK_IMAGE_URL_MAP[e.chainId],imageBorder:!0}):!e.isATestNetwork&&n.default.createElement(g.default,{className:"networks-tab__content__icon-with-fallback",fallbackClassName:"networks-tab__content__icon-with-fallback",name:C||(0,y.getNetworkLabelKey)(x)}),e.isATestNetwork&&![l.CHAIN_IDS.LINEA_GOERLI,l.CHAIN_IDS.LINEA_SEPOLIA].includes(e.chainId)&&n.default.createElement(g.default,{name:C||(0,y.getNetworkLabelKey)(x),fallbackClassName:(0,r.default)("networks-tab__content__icon-with-fallback",{[`networks-tab__content__icon-with-fallback--color-${x}`]:!0})}),n.default.createElement("div",{className:(0,r.default)("networks-tab__networks-list-name",{"networks-tab__networks-list-name--selected":P,"networks-tab__networks-list-name--disabled":O!==l.NETWORK_TYPES.RPC&&!P})},C||w((0,y.getNetworkLabelKey)(x)),O!==l.NETWORK_TYPES.RPC&&n.default.createElement(_.Icon,{name:_.IconName.Lock,color:E.IconColor.iconMuted,size:_.IconSize.Inherit,marginInlineStart:2})))};v.propTypes={network:s.default.object.isRequired,networkIsSelected:s.default.bool,selectedNetworkConfigurationId:s.default.string,setSearchQuery:s.default.func,setSearchedNetworks:s.default.func};a.default=v}}},{package:"$root$",file:"ui/pages/settings/networks-tab/networks-list-item/networks-list-item.js"}],[5863,{"./networks-list":5864},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return s.default}});var n,s=(n=e("./networks-list"))&&n.__esModule?n:{default:n}}}},{package:"$root$",file:"ui/pages/settings/networks-tab/networks-list/index.js"}],[5864,{"../../../../components/component-library":4955,"../../../../helpers/constants/design-system":5355,"../../../../hooks/useI18nContext":5427,"../custom-content-search":5857,"../networks-list-item":5861,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=p(t);if(a&&a.has(e))return a.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=s?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n.default=e,a&&a.set(e,n),n}(e("react")),s=d(e("prop-types")),r=d(e("classnames")),o=e("../../../../hooks/useI18nContext"),i=d(e("../custom-content-search")),l=e("../../../../helpers/constants/design-system"),c=d(e("../networks-list-item")),u=e("../../../../components/component-library");function d(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(p=function(e){return e?a:t})(e)}const f=({networkIsSelected:e,networksToRender:t,networkDefaultedToProvider:a,selectedNetworkConfigurationId:s})=>{const d=(0,o.useI18nContext)(),[p,f]=(0,n.useState)([]),[m,g]=(0,n.useState)(""),h=0===p.length&&""===m?t:p,_=h.filter((e=>!e.isATestNetwork)),E=h.filter((e=>e.isATestNetwork));return n.default.createElement("div",{className:(0,r.default)("networks-tab__networks-list",{"networks-tab__networks-list--selection":e&&!a})},n.default.createElement(i.default,{onSearch:({searchQuery:e="",results:t=[]})=>{f(t),g(e)},error:0===h.length?d("settingsSearchMatchingNotFound"):null,networksList:t,searchQueryInput:m}),_.map(((t,a)=>n.default.createElement(c.default,{key:`settings-network-list:${t.rpcUrl}`,network:t,networkIsSelected:e,selectedNetworkConfigurationId:s,setSearchQuery:g,setSearchedNetworks:f}))),""===m&&n.default.createElement(u.Text,{variant:l.TextVariant.bodySm,as:"h6",marginTop:4,color:l.Color.textAlternative,className:"networks-tab__networks-list__label"},d("testNetworks")),E.map(((t,a)=>n.default.createElement(c.default,{key:`settings-network-list:${t.rpcUrl}`,network:t,networkIsSelected:e,selectedNetworkConfigurationId:s,setSearchQuery:g,setSearchedNetworks:f}))))};f.propTypes={networkDefaultedToProvider:s.default.bool,networkIsSelected:s.default.bool,networksToRender:s.default.arrayOf(s.default.object).isRequired,selectedNetworkConfigurationId:s.default.string};a.default=f}}},{package:"$root$",file:"ui/pages/settings/networks-tab/networks-list/networks-list.js"}],[5865,{"./networks-tab-content":5866},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return s.default}});var n,s=(n=e("./networks-tab-content"))&&n.__esModule?n:{default:n}}}},{package:"$root$",file:"ui/pages/settings/networks-tab/networks-tab-content/index.js"}],[5866,{"../../../../ducks/metamask/metamask":5346,"../../../../helpers/constants/routes":5361,"../networks-form":5859,"../networks-list":5863,"prop-types":3997,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n=d(e("react")),s=d(e("prop-types")),r=e("react-redux"),o=e("react-router-dom"),i=d(e("../networks-form")),l=d(e("../networks-list")),c=e("../../../../ducks/metamask/metamask"),u=e("../../../../helpers/constants/routes");function d(e){return e&&e.__esModule?e:{default:e}}const p=({networkDefaultedToProvider:e,networkIsSelected:t,networksToRender:a,selectedNetwork:s,shouldRenderNetworkForm:d})=>{const p=(0,r.useSelector)(c.getProviderConfig),f=(0,o.useHistory)();return n.default.createElement(n.default.Fragment,null,n.default.createElement(l.default,{networkDefaultedToProvider:e,networkIsSelected:t,networksToRender:a,selectedNetworkConfigurationId:s.networkConfigurationId}),d?n.default.createElement(i.default,{isCurrentRpcTarget:p.rpcUrl===s.rpcUrl,networksToRender:a,selectedNetwork:s,submitCallback:()=>f.push(u.DEFAULT_ROUTE),cancelCallback:()=>f.push(u.NETWORKS_ROUTE)}):null)};p.propTypes={networkDefaultedToProvider:s.default.bool,networkIsSelected:s.default.bool,networksToRender:s.default.arrayOf(s.default.object).isRequired,selectedNetwork:s.default.object,shouldRenderNetworkForm:s.default.bool.isRequired};a.default=p}}},{package:"$root$",file:"ui/pages/settings/networks-tab/networks-tab-content/networks-tab-content.js"}],[5867,{"./networks-tab-subheader":5868},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return s.default}});var n,s=(n=e("./networks-tab-subheader"))&&n.__esModule?n:{default:n}}}},{package:"$root$",file:"ui/pages/settings/networks-tab/networks-tab-subheader/index.js"}],[5868,{"../../../../components/ui/button":5198,"../../../../helpers/constants/routes":5361,"../../../../hooks/useI18nContext":5427,"prop-types":3997,react:4243,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n=c(e("react")),s=c(e("prop-types")),r=e("react-router-dom"),o=e("../../../../hooks/useI18nContext"),i=e("../../../../helpers/constants/routes"),l=c(e("../../../../components/ui/button"));function c(e){return e&&e.__esModule?e:{default:e}}const u=({addNewNetwork:e})=>{const t=(0,o.useI18nContext)(),a=(0,r.useHistory)();return e?n.default.createElement("div",{className:"networks-tab__subheader"},n.default.createElement("span",{className:"networks-tab__sub-header-text"},t("networks")),n.default.createElement("span",{className:"networks-tab__sub-header-text"}," > "),n.default.createElement("div",{className:"networks-tab__sub-header-text"},t("addANetwork")),n.default.createElement("span",null," > "),n.default.createElement("div",{className:"networks-tab__subheader--break"},t("addANetworkManually"))):n.default.createElement("div",{className:"settings-page__sub-header"},n.default.createElement("span",{className:"settings-page__sub-header-text"},t("networks")),n.default.createElement("div",{className:"networks-tab__add-network-header-button-wrapper"},n.default.createElement(l.default,{type:"primary",onClick:e=>{e.preventDefault(),a.push(i.ADD_POPULAR_CUSTOM_NETWORK)}},t("addANetwork"))))};u.propTypes={addNewNetwork:s.default.bool.isRequired};a.default=u}}},{package:"$root$",file:"ui/pages/settings/networks-tab/networks-tab-subheader/networks-tab-subheader.js"}],[5869,{"../../../../shared/constants/network":4507},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.defaultNetworksData=void 0;var n=e("../../../../shared/constants/network");a.defaultNetworksData=[{labelKey:n.NETWORK_TYPES.MAINNET,iconColor:"#29B6AF",providerType:n.NETWORK_TYPES.MAINNET,rpcUrl:(0,n.getRpcUrl)({network:n.NETWORK_TYPES.MAINNET,excludeProjectId:!0}),chainId:n.CHAIN_IDS.MAINNET,ticker:n.CURRENCY_SYMBOLS.ETH,blockExplorerUrl:"https://etherscan.io"},{labelKey:n.NETWORK_TYPES.SEPOLIA,iconColor:"#CFB5F0",providerType:n.NETWORK_TYPES.SEPOLIA,rpcUrl:(0,n.getRpcUrl)({network:n.NETWORK_TYPES.SEPOLIA,excludeProjectId:!0}),chainId:n.CHAIN_IDS.SEPOLIA,ticker:n.TEST_NETWORK_TICKER_MAP[n.NETWORK_TYPES.SEPOLIA],blockExplorerUrl:"https://sepolia.etherscan.io"},{labelKey:n.NETWORK_TYPES.LINEA_GOERLI,iconColor:"#61dfff",providerType:n.NETWORK_TYPES.LINEA_GOERLI,rpcUrl:(0,n.getRpcUrl)({network:n.NETWORK_TYPES.LINEA_GOERLI,excludeProjectId:!0}),chainId:n.CHAIN_IDS.LINEA_GOERLI,ticker:n.TEST_NETWORK_TICKER_MAP[n.NETWORK_TYPES.LINEA_GOERLI],blockExplorerUrl:"https://goerli.lineascan.build"},{labelKey:n.NETWORK_TYPES.LINEA_SEPOLIA,iconColor:"#61dfff",providerType:n.NETWORK_TYPES.LINEA_SEPOLIA,rpcUrl:(0,n.getRpcUrl)({network:n.NETWORK_TYPES.LINEA_SEPOLIA,excludeProjectId:!0}),chainId:n.CHAIN_IDS.LINEA_SEPOLIA,ticker:n.TEST_NETWORK_TICKER_MAP[n.NETWORK_TYPES.LINEA_SEPOLIA],blockExplorerUrl:"https://sepolia.lineascan.build"},{labelKey:n.NETWORK_TYPES.LINEA_MAINNET,iconColor:"#121212",providerType:n.NETWORK_TYPES.LINEA_MAINNET,rpcUrl:(0,n.getRpcUrl)({network:n.NETWORK_TYPES.LINEA_MAINNET,excludeProjectId:!0}),chainId:n.CHAIN_IDS.LINEA_MAINNET,ticker:n.CURRENCY_SYMBOLS.ETH,blockExplorerUrl:"https://lineascan.build"}]}}},{package:"$root$",file:"ui/pages/settings/networks-tab/networks-tab.constants.js"}],[5870,{"../../../../app/scripts/lib/util":120,"../../../../shared/constants/app":4493,"../../../../shared/constants/network":4507,"../../../components/ui/button":5198,"../../../ducks/metamask/metamask":5346,"../../../helpers/constants/routes":5361,"../../../hooks/useI18nContext":5427,"../../../selectors":5987,"../../../store/actions":5998,"./networks-form":5859,"./networks-tab-content":5865,"./networks-tab-subheader":5867,"./networks-tab.constants":5869,classnames:3049,"prop-types":3997,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=v(t);if(a&&a.has(e))return a.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=s?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n.default=e,a&&a.set(e,n),n}(e("react")),s=w(e("prop-types")),r=w(e("classnames")),o=e("react-router-dom"),i=e("react-redux"),l=e("../../../hooks/useI18nContext"),c=e("../../../helpers/constants/routes"),u=e("../../../store/actions"),d=w(e("../../../components/ui/button")),p=e("../../../../app/scripts/lib/util"),f=e("../../../../shared/constants/app"),m=e("../../../selectors"),g=e("../../../ducks/metamask/metamask"),h=e("../../../../shared/constants/network"),_=e("./networks-tab.constants"),E=w(e("./networks-tab-content")),y=w(e("./networks-form")),b=w(e("./networks-tab-subheader"));function w(e){return e&&e.__esModule?e:{default:e}}function v(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(v=function(e){return e?a:t})(e)}const k=_.defaultNetworksData.map((e=>({...e,viewOnly:!0,isATestNetwork:h.TEST_CHAINS.includes(e.chainId)}))),T=({addNewNetwork:e})=>{const t=(0,l.useI18nContext)(),a=(0,i.useDispatch)(),{pathname:s}=(0,o.useLocation)(),_=(0,o.useHistory)(),w=(0,p.getEnvironmentType)()===f.ENVIRONMENT_TYPE_FULLSCREEN,v=w||Boolean(s.match(c.NETWORKS_FORM_ROUTE))||"blockExplorerUrl"===window.location.hash.split("#")[2],T=(0,i.useSelector)(m.getNetworkConfigurations),C=(0,i.useSelector)(g.getProviderConfig),x=(0,i.useSelector)(m.getNetworksTabSelectedNetworkConfigurationId),S=Object.entries(T).map((([e,t])=>{var a;return{label:t.nickname,iconColor:"var(--color-icon-alternative)",providerType:h.NETWORK_TYPES.RPC,rpcUrl:t.rpcUrl,chainId:t.chainId,ticker:t.ticker,blockExplorerUrl:(null===(a=t.rpcPrefs)||void 0===a?void 0:a.blockExplorerUrl)||"",isATestNetwork:h.TEST_CHAINS.includes(t.chainId),networkConfigurationId:e}})),N=[...k,...S];let O=N.find((e=>e.networkConfigurationId===x))||{};const I=Boolean(O.rpcUrl);let R=!1;return I||(O=N.find((e=>e.rpcUrl===C.rpcUrl||e.providerType!==h.NETWORK_TYPES.RPC&&e.providerType===C.type))||{},R=!0),(0,n.useEffect)((()=>()=>{a((0,u.setSelectedNetworkConfigurationId)(""))}),[a]),n.default.createElement("div",{className:"networks-tab__body"},w?n.default.createElement(b.default,{addNewNetwork:e}):null,n.default.createElement("div",{className:(0,r.default)("networks-tab__content",{"networks-tab__content--with-networks-list-popup-footer":!w&&!v})},e?n.default.createElement(y.default,{networksToRender:N,addNewNetwork:e,submitCallback:()=>_.push(c.DEFAULT_ROUTE),cancelCallback:()=>_.push(c.NETWORKS_ROUTE)}):n.default.createElement(n.default.Fragment,null,n.default.createElement(E.default,{networkDefaultedToProvider:R,networkIsSelected:I,networksToRender:N,providerUrl:C.rpcUrl,selectedNetwork:O,shouldRenderNetworkForm:v}),w||v?null:n.default.createElement("div",{className:"networks-tab__networks-list-popup-footer"},n.default.createElement(d.default,{type:"primary",onClick:()=>{w?_.push(c.ADD_POPULAR_CUSTOM_NETWORK):global.platform.openExtensionInBrowser(c.ADD_POPULAR_CUSTOM_NETWORK)}},t("addNetwork"))))))};T.propTypes={addNewNetwork:s.default.bool};a.default=T}}},{package:"$root$",file:"ui/pages/settings/networks-tab/networks-tab.js"}],[5871,{"./security-tab.container":5875},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return s.default}});var n,s=(n=e("./security-tab.container"))&&n.__esModule?n:{default:n}}}},{package:"$root$",file:"ui/pages/settings/security-tab/index.js"}],[5872,{"./profile-sync-toggle":5873},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return s.default}});var n,s=(n=e("./profile-sync-toggle"))&&n.__esModule?n:{default:n}}}},{package:"$root$",file:"ui/pages/settings/security-tab/profile-sync-toggle/hybrid-compute-sdk.ts"}],[5873,{"../../../../../shared/constants/metametrics":4505,"../../../../components/component-library":4955,"../../../../components/ui/icon/preloader/preloader-icon.component":5240,"../../../../components/ui/toggle-button":5306,"../../../../contexts/metametrics":5327,"../../../../helpers/constants/design-system":5355,"../../../../hooks/metamask-notifications/useProfileSyncing":5407,"../../../../hooks/useI18nContext":5427,"../../../../selectors":5987,"../../../../selectors/metamask-notifications/authentication":5988,"../../../../selectors/metamask-notifications/profile-syncing":5990,"../../../../store/actions":5998,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=E(t);if(a&&a.has(e))return a.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=s?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n.default=e,a&&a.set(e,n),n}(e("react")),s=e("react-redux"),r=e("../../../../hooks/useI18nContext"),o=e("../../../../contexts/metametrics"),i=e("../../../../hooks/metamask-notifications/useProfileSyncing"),l=e("../../../../selectors/metamask-notifications/profile-syncing"),c=e("../../../../selectors/metamask-notifications/authentication"),u=e("../../../../store/actions"),d=e("../../../../../shared/constants/metametrics"),p=e("../../../../components/component-library"),f=_(e("../../../../components/ui/toggle-button")),m=e("../../../../helpers/constants/design-system"),g=_(e("../../../../components/ui/icon/preloader/preloader-icon.component")),h=e("../../../../selectors");function _(e){return e&&e.__esModule?e:{default:e}}function E(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(E=function(e){return e?a:t})(e)}a.default=()=>{const e=(0,r.useI18nContext)(),t=(0,n.useContext)(o.MetaMetricsContext),a=(0,s.useDispatch)(),{enableProfileSyncing:_,error:E}=(0,i.useEnableProfileSyncing)(),{disableProfileSyncing:y,error:b}=(0,i.useDisableProfileSyncing)(),{isProfileSyncDisabled:w}=function(){const e=(0,s.useSelector)(h.getUseExternalServices),{setIsProfileSyncingEnabled:t}=(0,i.useSetIsProfileSyncingEnabled)();return(0,n.useEffect)((()=>{!1===e&&t(!1)}),[e,t]),{isProfileSyncDisabled:!e}}(),v=E||b,k=(0,s.useSelector)(l.selectIsProfileSyncingEnabled),T=(0,s.useSelector)(c.selectParticipateInMetaMetrics),C=(0,s.useSelector)(l.selectIsProfileSyncingUpdateLoading);return n.default.createElement(p.Box,null,n.default.createElement(p.Box,{className:"settings-page__content-row",display:m.Display.Flex,flexDirection:m.FlexDirection.Row,justifyContent:m.JustifyContent.spaceBetween,gap:4,"data-testid":"profileSyncToggle"},n.default.createElement("div",{className:"settings-page__content-item",id:"profileSyncLabel"},n.default.createElement("span",null,e("profileSync")),n.default.createElement("div",{className:"settings-page__content-description","data-testid":"profileSyncDescription"},e("profileSyncDescription",[n.default.createElement("a",{href:"https://support.metamask.io/privacy-and-security/profile-privacy",key:"link",target:"_blank",rel:"noopener noreferrer","data-testid":"privacyPolicyLink"},e("profileSyncPrivacyLink"))]))),C&&n.default.createElement(p.Box,{paddingLeft:5,paddingRight:5},n.default.createElement(g.default,{size:36})),!C&&n.default.createElement("div",{className:"settings-page__content-item-col"},n.default.createElement(f.default,{disabled:w,value:k,onToggle:async()=>{k?a((0,u.showModal)({name:"CONFIRM_TURN_OFF_PROFILE_SYNCING",turnOffProfileSyncing:()=>{y(),t({category:d.MetaMetricsEventCategory.Settings,event:d.MetaMetricsEventName.TurnOffProfileSyncing,properties:{participateInMetaMetrics:T}})}})):(await _(),t({category:d.MetaMetricsEventCategory.Settings,event:d.MetaMetricsEventName.TurnOnProfileSyncing,properties:{isProfileSyncingEnabled:k,participateInMetaMetrics:T}}))},offLabel:e("off"),onLabel:e("on"),dataTestId:"toggleButton"}))),v&&n.default.createElement(p.Box,{paddingBottom:4},n.default.createElement(p.Text,{as:"p",color:m.TextColor.errorDefault,variant:m.TextVariant.bodySm},e("notificationsSettingsBoxError"))))}}}},{package:"$root$",file:"ui/pages/settings/security-tab/profile-sync-toggle/profile-sync-toggle.tsx"}],[5874,{"../../../../app/scripts/lib/util":120,"../../../../shared/constants/app":4493,"../../../../shared/constants/metametrics":4505,"../../../../shared/constants/network":4507,"../../../../shared/lib/ui-utils":4532,"../../../components/app/incoming-trasaction-toggle/incoming-transaction-toggle":4648,"../../../components/app/srp-quiz-modal/SRPQuiz":4845,"../../../components/component-library":4955,"../../../components/ui/popover":5281,"../../../components/ui/text-field":5302,"../../../components/ui/toggle-button":5306,"../../../helpers/constants/design-system":5355,"../../../helpers/constants/routes":5361,"../../../helpers/utils/settings-search":5395,"./profile-sync-toggle":5872,lodash:3836,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n=e("lodash"),s=v(e("prop-types")),r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=w(t);if(a&&a.has(e))return a.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=s?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n.default=e,a&&a.set(e,n),n}(e("react")),o=e("../../../../app/scripts/lib/util"),i=e("../../../../shared/constants/app"),l=e("../../../../shared/constants/metametrics"),c=e("../../../../shared/constants/network"),u=e("../../../../shared/lib/ui-utils"),d=v(e("../../../components/app/srp-quiz-modal/SRPQuiz")),p=e("../../../components/component-library"),f=v(e("../../../components/ui/text-field")),m=v(e("../../../components/ui/toggle-button")),g=v(e("../../../components/ui/popover")),h=e("../../../helpers/constants/design-system"),_=e("../../../helpers/constants/routes"),E=e("../../../helpers/utils/settings-search"),y=v(e("../../../components/app/incoming-trasaction-toggle/incoming-transaction-toggle")),b=v(e("./profile-sync-toggle"));function w(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(w=function(e){return e?a:t})(e)}function v(e){return e&&e.__esModule?e:{default:e}}function k(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var a=e[Symbol.toPrimitive];if(a!==undefined){var n=a.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}class T extends r.PureComponent{constructor(...e){super(...e),k(this,"state",{ipfsGateway:this.props.ipfsGateway||c.IPFS_DEFAULT_GATEWAY_URL,ipfsGatewayError:"",srpQuizModalVisible:!1,showDataCollectionDisclaimer:!1,ipfsToggle:this.props.ipfsGateway.length>0}),k(this,"settingsRefCounter",0),k(this,"settingsRefs",Array((0,E.getNumberOfSettingRoutesInTab)(this.context.t,this.context.t("securityAndPrivacy"))).fill(undefined).map((()=>r.default.createRef()))),k(this,"hideSrpQuizModal",(()=>this.setState({srpQuizModalVisible:!1}))),k(this,"renderDataCollectionWarning",(()=>{const{t:e}=this.context;return r.default.createElement(g.default,{wrapTitle:!0,centerTitle:!0,onClose:()=>this.setState({showDataCollectionDisclaimer:!1}),title:r.default.createElement(p.Icon,{size:p.IconSize.Xl,name:p.IconName.Danger,color:h.IconColor.warningDefault}),footer:r.default.createElement(p.Button,{width:h.BlockSize.Full,type:"primary",onClick:()=>this.setState({showDataCollectionDisclaimer:!1})},e("dataCollectionWarningPopoverButton"))},r.default.createElement(p.Box,{display:h.Display.Flex,flexDirection:h.FlexDirection.Column,gap:2,margin:4},r.default.createElement(p.Text,null,e("dataCollectionWarningPopoverDescription"))))}))}componentDidUpdate(e){const{t:t}=this.context;(0,E.handleSettingsRefs)(t,t("securityAndPrivacy"),this.settingsRefs),!0===e.dataCollectionForMarketing&&!0===this.props.participateInMetaMetrics&&!1===this.props.dataCollectionForMarketing&&this.setState({showDataCollectionDisclaimer:!0})}componentDidMount(){const{t:e}=this.context;(0,E.handleSettingsRefs)(e,e("securityAndPrivacy"),this.settingsRefs)}toggleSetting(e,t,a,n){this.context.trackEvent({category:l.MetaMetricsEventCategory.Settings,event:t,properties:{action:a,legacy_event:!0}}),n(!e)}renderSeedWords(){const{t:e}=this.context;return r.default.createElement(r.default.Fragment,null,r.default.createElement("div",{ref:this.settingsRefs[0],className:"settings-page__security-tab-sub-header"},e("secretRecoveryPhrase")),r.default.createElement("div",{className:"settings-page__content-padded"},r.default.createElement(p.Button,{"data-testid":"reveal-seed-words",type:"danger",size:p.BUTTON_SIZES.LG,onClick:e=>{e.preventDefault(),this.context.trackEvent({category:l.MetaMetricsEventCategory.Settings,event:l.MetaMetricsEventName.KeyExportSelected,properties:{key_type:l.MetaMetricsEventKeyType.Srp,location:"Settings"}}),this.context.trackEvent({category:l.MetaMetricsEventCategory.Settings,event:l.MetaMetricsEventName.SrpRevealClicked,properties:{key_type:l.MetaMetricsEventKeyType.Srp,location:"Settings"}}),this.setState({srpQuizModalVisible:!0})}},e("revealSeedWords")),this.state.srpQuizModalVisible&&r.default.createElement(d.default,{isOpen:this.state.srpQuizModalVisible,onClose:this.hideSrpQuizModal})))}renderSecurityAlertsToggle(){const{t:e}=this.context,{securityAlertsEnabled:t}=this.props;return r.default.createElement(r.default.Fragment,null,r.default.createElement("div",{ref:this.settingsRefs[15]},r.default.createElement("span",{className:"settings-page__security-tab-sub-header"},e("securityAlerts"))),r.default.createElement("div",{className:"settings-page__content-padded"},r.default.createElement(p.Box,{ref:this.settingsRefs[2],className:"settings-page__content-row",display:h.Display.Flex,flexDirection:h.FlexDirection.Row,justifyContent:h.JustifyContent.spaceBetween,gap:4},r.default.createElement("div",{className:"settings-page__content-item"},r.default.createElement("div",{className:"settings-page__content-description"},e("securityAlertsDescription",[r.default.createElement("a",{key:"learn_more_link",href:u.SECURITY_ALERTS_LEARN_MORE_LINK,rel:"noreferrer",target:"_blank"},e("learnMoreUpperCase"))]))),r.default.createElement("div",{className:"settings-page__content-item-col","data-testid":"securityAlert"},r.default.createElement(m.default,{value:t,onToggle:this.toggleSecurityAlert.bind(this),offLabel:e("off"),onLabel:e("on")})))))}renderIncomingTransactionsOptIn(){const{incomingTransactionsPreferences:e,allNetworks:t,setIncomingTransactionsPreferences:a}=this.props;return r.default.createElement(y.default,{wrapperRef:this.settingsRefs[1],allNetworks:t,setIncomingTransactionsPreferences:a,incomingTransactionsPreferences:e})}renderPhishingDetectionToggle(){const{t:e}=this.context,{usePhishDetect:t,setUsePhishDetect:a}=this.props;return r.default.createElement(p.Box,{ref:this.settingsRefs[2],className:"settings-page__content-row",display:h.Display.Flex,flexDirection:h.FlexDirection.Row,justifyContent:h.JustifyContent.spaceBetween,gap:4},r.default.createElement("div",{className:"settings-page__content-item"},r.default.createElement("span",null,e("usePhishingDetection")),r.default.createElement("div",{className:"settings-page__content-description"},e("usePhishingDetectionDescription"))),r.default.createElement("div",{className:"settings-page__content-item-col","data-testid":"usePhishingDetection"},r.default.createElement(m.default,{value:t,onToggle:e=>a(!e),offLabel:e("off"),onLabel:e("on")})))}renderUse4ByteResolutionToggle(){const{t:e}=this.context,{use4ByteResolution:t,setUse4ByteResolution:a}=this.props;return r.default.createElement(p.Box,{ref:this.settingsRefs[3],className:"settings-page__content-row",display:h.Display.Flex,flexDirection:h.FlexDirection.Row,justifyContent:h.JustifyContent.spaceBetween,gap:4},r.default.createElement("div",{className:"settings-page__content-item"},r.default.createElement("span",null,e("use4ByteResolution")),r.default.createElement("div",{className:"settings-page__content-description"},e("use4ByteResolutionDescription"))),r.default.createElement("div",{className:"settings-page__content-item-col","data-testid":"4byte-resolution-container"},r.default.createElement(m.default,{value:t,onToggle:e=>a(!e),offLabel:e("off"),onLabel:e("on")})))}renderMetaMetricsOptIn(){const{t:e}=this.context,{participateInMetaMetrics:t,setParticipateInMetaMetrics:a,dataCollectionForMarketing:n,setDataCollectionForMarketing:s}=this.props;return r.default.createElement(p.Box,{ref:this.settingsRefs[4],className:"settings-page__content-row",display:h.Display.Flex,flexDirection:h.FlexDirection.Row,justifyContent:h.JustifyContent.spaceBetween,gap:4},r.default.createElement("div",{className:"settings-page__content-item"},r.default.createElement("span",null,e("participateInMetaMetrics")),r.default.createElement("div",{className:"settings-page__content-description"},r.default.createElement("span",null,e("participateInMetaMetricsDescription")))),r.default.createElement("div",{className:"settings-page__content-item-col","data-testid":"participateInMetaMetrics"},r.default.createElement(m.default,{value:t,onToggle:e=>{const t=!e;a(t),t&&this.context.trackEvent({category:l.MetaMetricsEventCategory.Settings,event:l.MetaMetricsEventName.AnalyticsPreferenceSelected,properties:{is_metrics_opted_in:!1,has_marketing_consent:!1,location:"Settings"}}),n&&s(!1)},offLabel:e("off"),onLabel:e("on")})))}renderDataCollectionForMarketing(){const{t:e}=this.context,{dataCollectionForMarketing:t,participateInMetaMetrics:a,setDataCollectionForMarketing:n,setParticipateInMetaMetrics:s}=this.props;return r.default.createElement(p.Box,{ref:this.settingsRefs[4],className:"settings-page__content-row",display:h.Display.Flex,flexDirection:h.FlexDirection.Row,justifyContent:h.JustifyContent.spaceBetween,gap:4},r.default.createElement("div",{className:"settings-page__content-item"},r.default.createElement("span",null,e("dataCollectionForMarketing")),r.default.createElement("div",{className:"settings-page__content-description"},r.default.createElement("span",null,e("dataCollectionForMarketingDescription")))),r.default.createElement("div",{className:"settings-page__content-item-col","data-testid":"dataCollectionForMarketing"},r.default.createElement(m.default,{value:t,onToggle:e=>{n(!e),a?this.context.trackEvent({category:l.MetaMetricsEventCategory.Settings,event:l.MetaMetricsEventName.AnalyticsPreferenceSelected,properties:{is_metrics_opted_in:!0,has_marketing_consent:!1,location:"Settings"}}):s(!0)},offLabel:e("off"),onLabel:e("on")})))}renderChooseYourNetworkButton(){const{t:e}=this.context;return r.default.createElement(p.Box,{className:"settings-page__content-row","data-testid":"advanced-setting-choose-your-network",display:h.Display.Flex,flexDirection:h.FlexDirection.Column,gap:4},r.default.createElement("div",{className:"settings-page__content-item"},r.default.createElement("span",null,e("chooseYourNetwork")),r.default.createElement("div",{className:"settings-page__content-description"},e("chooseYourNetworkDescription",[r.default.createElement("a",{href:u.CONSENSYS_PRIVACY_LINK,target:"_blank",rel:"noopener noreferrer",key:"cyn-consensys-privacy-link"},e("privacyMsg"))]))),r.default.createElement("div",{className:"settings-page__content-item-col"},r.default.createElement(p.Button,{type:"secondary",className:"settings-page__button",onClick:()=>{(0,o.getEnvironmentType)()===i.ENVIRONMENT_TYPE_POPUP?global.platform.openExtensionInBrowser(_.ADD_POPULAR_CUSTOM_NETWORK):this.props.history.push(_.ADD_POPULAR_CUSTOM_NETWORK)}},e("addCustomNetwork"))))}renderSafeChainsListValidationToggle(){const{t:e}=this.context,{useSafeChainsListValidation:t,setUseSafeChainsListValidation:a}=this.props,n=e("useSafeChainsListValidationWebsite");return r.default.createElement(p.Box,{ref:this.settingsRefs[13],className:"settings-page__content-row","data-testid":"setting-safe-chains-validation",display:h.Display.Flex,flexDirection:h.FlexDirection.Column,gap:4},r.default.createElement(p.Box,{className:"settings-page__content-row",gap:4,display:h.Display.Flex,flexDirection:h.FlexDirection.Row,justifyContent:h.JustifyContent.spaceBetween},r.default.createElement("div",{className:"settings-page__content-item"},r.default.createElement("span",null,e("useSafeChainsListValidation")),r.default.createElement("div",{className:"settings-page__content-description"},e("useSafeChainsListValidationDescription",[r.default.createElement("b",{key:"safechain-list-validation-website"},n)]))),r.default.createElement("div",{className:"settings-page__content-item-col","data-testid":"useSafeChainsListValidation"},r.default.createElement(m.default,{value:t,onToggle:e=>a(!e),offLabel:e("off"),onLabel:e("on")}))))}renderIpfsGatewayControl(){const{t:e}=this.context;let t="";const a=a=>{if(a.length>0)try{const n=(0,o.addUrlProtocolPrefix)(a);n||(t=e("invalidIpfsGateway"));const s=new URL(n);"gateway.ipfs.io"===s.host&&(t=e("forbiddenIpfsGateway")),0===t.length&&this.props.setIpfsGateway(s.host)}catch(a){t=e("invalidIpfsGateway")}else t=e("invalidIpfsGateway");this.setState({ipfsGateway:a,ipfsGatewayError:t})};return r.default.createElement(p.Box,{ref:this.settingsRefs[6],className:"settings-page__content-row","data-testid":"setting-ipfs-gateway",display:h.Display.Flex,flexDirection:h.FlexDirection.Column,gap:4},r.default.createElement(p.Box,{className:"settings-page__content-row",gap:4,display:h.Display.Flex,flexDirection:h.FlexDirection.Row,justifyContent:h.JustifyContent.spaceBetween},r.default.createElement("div",{className:"settings-page__content-item"},r.default.createElement("span",null,e("ipfsGateway")),r.default.createElement("div",{className:"settings-page__content-description"},e("ipfsGatewayDescription"))),r.default.createElement("div",{className:"settings-page__content-item-col","data-testid":"ipfsToggle"},r.default.createElement(m.default,{value:this.state.ipfsToggle,onToggle:e=>{e?(this.props.setIsIpfsGatewayEnabled(!1),this.props.setIpfsGateway("")):(this.props.setIsIpfsGatewayEnabled(!0),a(this.state.ipfsGateway)),this.setState({ipfsToggle:!e})},offLabel:e("off"),onLabel:e("on")}))),this.state.ipfsToggle&&r.default.createElement("div",{className:"settings-page__content-item"},r.default.createElement("span",null,e("addIPFSGateway")),r.default.createElement("div",{className:"settings-page__content-item-col"},r.default.createElement(f.default,{type:"text",value:this.state.ipfsGateway,onChange:e=>a(e.target.value),error:this.state.ipfsGatewayError,fullWidth:!0,margin:"dense"}))),r.default.createElement(p.Box,{className:"settings-page__content-row",display:h.Display.Flex,flexDirection:h.FlexDirection.Row,justifyContent:h.JustifyContent.spaceBetween,gap:4,ref:this.settingsRefs[10],marginTop:3,id:"ens-domains"},r.default.createElement("div",null,e("ensDomainsSettingTitle"),r.default.createElement("div",{className:"settings-page__content-description"},r.default.createElement(p.Text,{color:h.TextColor.inherit,variant:h.TextVariant.inherit},e("ensDomainsSettingDescriptionIntroduction")),r.default.createElement(p.Box,{as:"ul",marginTop:4,marginBottom:4,paddingInlineStart:4,style:{listStyleType:"circle"}},r.default.createElement(p.Text,{as:"li",color:h.TextColor.inherit,variant:h.TextVariant.inherit},e("ensDomainsSettingDescriptionPart1")),r.default.createElement(p.Text,{as:"li",color:h.TextColor.inherit,variant:h.TextVariant.inherit},e("ensDomainsSettingDescriptionPart2"))),r.default.createElement(p.Text,{color:h.TextColor.inherit,variant:h.TextVariant.inherit},e("ensDomainsSettingDescriptionOutroduction")))),r.default.createElement("div",{className:"settings-page__content-item-col","data-testid":"ipfs-gateway-resolution-container"},r.default.createElement(m.default,{value:this.props.useAddressBarEnsResolution,onToggle:e=>this.props.setUseAddressBarEnsResolution(!e),offLabel:e("off"),onLabel:e("on")}))))}renderAutoDetectTokensToggle(){const{t:e}=this.context,{useTokenDetection:t,setUseTokenDetection:a}=this.props;return r.default.createElement(p.Box,{ref:this.settingsRefs[7],className:"settings-page__content-row","data-testid":"advanced-setting-gas-fee-estimation",display:h.Display.Flex,flexDirection:h.FlexDirection.Row,justifyContent:h.JustifyContent.spaceBetween,gap:4,id:"advanced-settings-autodetect-tokens"},r.default.createElement("div",{className:"settings-page__content-item"},r.default.createElement("span",null,e("autoDetectTokens")),r.default.createElement("div",{className:"settings-page__content-description"},e("autoDetectTokensDescription",[r.default.createElement("a",{href:u.AUTO_DETECT_TOKEN_LEARN_MORE_LINK,target:"_blank",rel:"noopener noreferrer",key:"cyn-consensys-privacy-link"},(0,n.startCase)(e("learnMore")))]))),r.default.createElement("div",{className:"settings-page__content-item-col","data-testid":"autoDetectTokens"},r.default.createElement(m.default,{value:t,onToggle:e=>{this.toggleSetting(e,l.MetaMetricsEventName.KeyAutoDetectTokens,l.MetaMetricsEventName.KeyAutoDetectTokens,a)},offLabel:e("off"),onLabel:e("on")})))}renderBatchAccountBalanceRequestsToggle(){const{t:e}=this.context,{useMultiAccountBalanceChecker:t,setUseMultiAccountBalanceChecker:a}=this.props;return r.default.createElement(p.Box,{ref:this.settingsRefs[8],className:"settings-page__content-row",display:h.Display.Flex,flexDirection:h.FlexDirection.Row,justifyContent:h.JustifyContent.spaceBetween,gap:4},r.default.createElement("div",{className:"settings-page__content-item"},r.default.createElement("span",null,e("useMultiAccountBalanceChecker")),r.default.createElement("div",{className:"settings-page__content-description"},e("useMultiAccountBalanceCheckerSettingDescription"))),r.default.createElement("div",{className:"settings-page__content-item-col","data-testid":"useMultiAccountBalanceChecker"},r.default.createElement(m.default,{value:t,onToggle:e=>{this.toggleSetting(e,l.MetaMetricsEventName.KeyBatchAccountBalanceRequests,l.MetaMetricsEventName.KeyBatchAccountBalanceRequests,a)},offLabel:e("off"),onLabel:e("on")})))}renderCurrencyRateCheckToggle(){const{t:e}=this.context,{useCurrencyRateCheck:t,setUseCurrencyRateCheck:a}=this.props;return r.default.createElement(p.Box,{ref:this.settingsRefs[9],className:"settings-page__content-row",display:h.Display.Flex,flexDirection:h.FlexDirection.Row,justifyContent:h.JustifyContent.spaceBetween,gap:4},r.default.createElement("div",{className:"settings-page__content-item"},r.default.createElement("span",null,e("currencyRateCheckToggle")),r.default.createElement("div",{className:"settings-page__content-description"},e("currencyRateCheckToggleDescription",[r.default.createElement("a",{key:"coingecko_link",href:u.COINGECKO_LINK,rel:"noreferrer",target:"_blank"},e("coingecko")),r.default.createElement("a",{key:"cryptocompare_link",href:u.CRYPTOCOMPARE_LINK,rel:"noreferrer",target:"_blank"},e("cryptoCompare")),r.default.createElement("a",{key:"privacy_policy_link",href:u.PRIVACY_POLICY_LINK,rel:"noreferrer",target:"_blank"},e("privacyMsg"))]))),r.default.createElement("div",{className:"settings-page__content-item-col","data-testid":"currencyRateCheckToggle"},r.default.createElement(m.default,{value:t,onToggle:e=>a(!e),offLabel:e("off"),onLabel:e("on")})))}renderDisplayNftMediaToggle(){const{t:e}=this.context,{openSeaEnabled:t,setOpenSeaEnabled:a,useNftDetection:n,setUseNftDetection:s}=this.props;return r.default.createElement(p.Box,{ref:this.settingsRefs[11],className:"settings-page__content-row",display:h.Display.Flex,flexDirection:h.FlexDirection.Row,justifyContent:h.JustifyContent.spaceBetween,gap:4,id:"display-nft-media"},r.default.createElement("div",{className:"settings-page__content-item"},r.default.createElement("span",null,e("displayNftMedia")),r.default.createElement("div",{className:"settings-page__content-description"},e("displayNftMediaDescription"))),r.default.createElement("div",{className:"settings-page__content-item-col","data-testid":"displayNftMedia"},r.default.createElement(m.default,{value:t,onToggle:e=>{this.context.trackEvent({category:l.MetaMetricsEventCategory.Settings,event:"Enabled/Disable OpenSea",properties:{action:"Enabled/Disable OpenSea",legacy_event:!0}}),e&&n&&s(!1),a(!e)},offLabel:e("off"),onLabel:e("on")})))}renderNftDetectionToggle(){const{t:e}=this.context,{openSeaEnabled:t,setOpenSeaEnabled:a,useNftDetection:n,setUseNftDetection:s}=this.props;return r.default.createElement(p.Box,{ref:this.settingsRefs[12],className:"settings-page__content-row",display:h.Display.Flex,flexDirection:h.FlexDirection.Row,justifyContent:h.JustifyContent.spaceBetween,gap:4},r.default.createElement("div",{className:"settings-page__content-item"},r.default.createElement("span",null,e("useNftDetection")),r.default.createElement("div",{className:"settings-page__content-description"},e("useNftDetectionDescriptionText"))),r.default.createElement("div",{className:"settings-page__content-item-col","data-testid":"useNftDetection"},r.default.createElement(m.default,{value:n,onToggle:e=>{this.context.trackEvent({category:l.MetaMetricsEventCategory.Settings,event:"NFT Detected",properties:{action:"NFT Detected",legacy_event:!0}}),e||t||a(!e),s(!e)},offLabel:e("off"),onLabel:e("on")})))}renderExternalNameSourcesToggle(){const{t:e}=this.context,{useExternalNameSources:t,setUseExternalNameSources:a}=this.props;return r.default.createElement(p.Box,{ref:this.settingsRefs[14],className:"settings-page__content-row",display:h.Display.Flex,flexDirection:h.FlexDirection.Row,justifyContent:h.JustifyContent.spaceBetween,gap:4},r.default.createElement("div",{className:"settings-page__content-item"},r.default.createElement("span",null,e("externalNameSourcesSetting")),r.default.createElement("div",{className:"settings-page__content-description"},e("externalNameSourcesSettingDescription"))),r.default.createElement("div",{className:"settings-page__content-item-col","data-testid":"useExternalNameSources"},r.default.createElement(m.default,{value:t,onToggle:e=>a(!e),offLabel:e("off"),onLabel:e("on")})))}renderSimulationsToggle(){const{t:e}=this.context,{useTransactionSimulations:t,setUseTransactionSimulations:a}=this.props;return r.default.createElement(p.Box,{ref:this.settingsRefs[18],className:"settings-page__content-row",display:h.Display.Flex,flexDirection:h.FlexDirection.Row,justifyContent:h.JustifyContent.spaceBetween,gap:4},r.default.createElement("div",{className:"settings-page__content-item"},r.default.createElement("span",null,e("simulationsSettingSubHeader")),r.default.createElement("div",{className:"settings-page__content-description"},e("simulationsSettingDescription",[r.default.createElement("a",{key:"learn_more_link",href:u.TRANSACTION_SIMULATIONS_LEARN_MORE_LINK,rel:"noreferrer",target:"_blank"},e("learnMoreUpperCase"))]))),r.default.createElement("div",{className:"settings-page__content-item-col","data-testid":"useTransactionSimulations"},r.default.createElement(m.default,{value:t,onToggle:e=>a(!e),offLabel:e("off"),onLabel:e("on")})))}toggleSecurityAlert(e){const t=!e,{setSecurityAlertsEnabled:a}=this.props;this.context.trackEvent({category:l.MetaMetricsEventCategory.Settings,event:l.MetaMetricsEventName.SettingsUpdated,properties:{blockaid_alerts_enabled:t}}),a(t)}renderUseExternalServices(){const{t:e}=this.context,{useExternalServices:t,toggleExternalServices:a,setBasicFunctionalityModalOpen:n}=this.props;return r.default.createElement(p.Box,{ref:this.settingsRefs[3],className:"settings-page__content-row",display:h.Display.Flex,flexDirection:h.FlexDirection.Row,justifyContent:h.JustifyContent.spaceBetween,gap:4,"data-testid":"advanced-setting-show-testnet-conversion"},r.default.createElement("div",{className:"settings-page__content-item"},r.default.createElement("span",null,e("basicConfigurationLabel")),r.default.createElement("div",{className:"settings-page__content-description"},e("basicConfigurationDescription",[r.default.createElement("a",{href:"https://consensys.io/privacy-policy",key:"link",target:"_blank",rel:"noreferrer noopener"},e("privacyMsg"))]))),r.default.createElement("div",{className:"settings-page__content-item-col"},r.default.createElement(m.default,{value:t,onToggle:()=>{t?n():a(!0)},offLabel:e("off"),onLabel:e("on")})))}render(){const{warning:e,petnamesEnabled:t}=this.props,{showDataCollectionDisclaimer:a}=this.state;return r.default.createElement("div",{className:"settings-page__body"},this.renderUseExternalServices(),a?this.renderDataCollectionWarning():null,e&&r.default.createElement("div",{className:"settings-tab__error"},e),r.default.createElement("span",{className:"settings-page__security-tab-sub-header__bold"},this.context.t("security")),this.renderSeedWords(),this.renderSecurityAlertsToggle(),r.default.createElement("span",{className:"settings-page__security-tab-sub-header__bold"},this.context.t("privacy")),r.default.createElement("div",{className:"settings-page__content-padded"},r.default.createElement(b.default,null)),r.default.createElement("div",null,r.default.createElement("span",{className:"settings-page__security-tab-sub-header"},this.context.t("alerts"))),r.default.createElement("div",{className:"settings-page__content-padded"},this.renderPhishingDetectionToggle()),r.default.createElement("div",null,r.default.createElement("span",{className:"settings-page__security-tab-sub-header"},this.context.t("smartContracts"))),r.default.createElement("div",{className:"settings-page__content-padded"},this.renderUse4ByteResolutionToggle()),r.default.createElement("span",{className:"settings-page__security-tab-sub-header"},this.context.t("transactions")),r.default.createElement("div",{className:"settings-page__content-padded"},this.renderCurrencyRateCheckToggle(),this.renderIncomingTransactionsOptIn(),this.renderSimulationsToggle()),r.default.createElement("span",{className:"settings-page__security-tab-sub-header",ref:this.settingsRefs[5]},this.context.t("networkProvider")),r.default.createElement("div",{className:"settings-page__content-padded"},this.renderChooseYourNetworkButton(),this.renderSafeChainsListValidationToggle(),this.renderIpfsGatewayControl()),r.default.createElement("span",{className:"settings-page__security-tab-sub-header"},this.context.t("tokenAutoDetection")),r.default.createElement("div",{className:"settings-page__content-padded"},this.renderAutoDetectTokensToggle(),this.renderBatchAccountBalanceRequestsToggle(),this.renderDisplayNftMediaToggle(),this.renderNftDetectionToggle()),t&&r.default.createElement(r.default.Fragment,null,r.default.createElement("span",{className:"settings-page__security-tab-sub-header"},this.context.t("settingsSubHeadingSignaturesAndTransactions")),r.default.createElement("div",{className:"settings-page__content-padded"},this.renderExternalNameSourcesToggle())),r.default.createElement("span",{className:"settings-page__security-tab-sub-header"},this.context.t("metrics")),r.default.createElement("div",{className:"settings-page__content-padded"},this.renderMetaMetricsOptIn(),this.renderDataCollectionForMarketing()))}}a.default=T,k(T,"contextTypes",{t:s.default.func,trackEvent:s.default.func}),k(T,"propTypes",{warning:s.default.string,history:s.default.object,openSeaEnabled:s.default.bool,setOpenSeaEnabled:s.default.func,useNftDetection:s.default.bool,setUseNftDetection:s.default.func,dataCollectionForMarketing:s.default.bool,setDataCollectionForMarketing:s.default.func.isRequired,participateInMetaMetrics:s.default.bool.isRequired,setParticipateInMetaMetrics:s.default.func.isRequired,incomingTransactionsPreferences:s.default.object.isRequired,allNetworks:s.default.array.isRequired,setIncomingTransactionsPreferences:s.default.func.isRequired,setUsePhishDetect:s.default.func.isRequired,usePhishDetect:s.default.bool.isRequired,setUse4ByteResolution:s.default.func.isRequired,use4ByteResolution:s.default.bool.isRequired,useTokenDetection:s.default.bool.isRequired,setUseTokenDetection:s.default.func.isRequired,setIpfsGateway:s.default.func.isRequired,setIsIpfsGatewayEnabled:s.default.func.isRequired,ipfsGateway:s.default.string.isRequired,useMultiAccountBalanceChecker:s.default.bool.isRequired,setUseMultiAccountBalanceChecker:s.default.func.isRequired,useSafeChainsListValidation:s.default.bool.isRequired,setUseSafeChainsListValidation:s.default.func.isRequired,useCurrencyRateCheck:s.default.bool.isRequired,setUseCurrencyRateCheck:s.default.func.isRequired,useAddressBarEnsResolution:s.default.bool.isRequired,setUseAddressBarEnsResolution:s.default.func.isRequired,useExternalNameSources:s.default.bool.isRequired,setUseExternalNameSources:s.default.func.isRequired,setBasicFunctionalityModalOpen:s.default.func.isRequired,setUseTransactionSimulations:s.default.func.isRequired,useTransactionSimulations:s.default.bool.isRequired,petnamesEnabled:s.default.bool.isRequired,securityAlertsEnabled:s.default.bool,useExternalServices:s.default.bool,toggleExternalServices:s.default.func.isRequired,setSecurityAlertsEnabled:s.default.func})}}},{package:"$root$",file:"ui/pages/settings/security-tab/security-tab.component.js"}],[5875,{"../../../ducks/app/app":5336,"../../../selectors":5987,"../../../store/actions":5998,"./security-tab.component":5874,"react-redux":4199,"react-router-dom":4228,redux:4261},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n,s=e("react-redux"),r=e("react-router-dom"),o=e("redux"),i=e("../../../store/actions"),l=e("../../../selectors"),c=e("../../../ducks/app/app"),u=(n=e("./security-tab.component"))&&n.__esModule?n:{default:n};a.default=(0,o.compose)(r.withRouter,(0,s.connect)((e=>{const{appState:{warning:t},metamask:a}=e,n=(0,l.getPetnamesEnabled)(e),{incomingTransactionsPreferences:s,participateInMetaMetrics:r,dataCollectionForMarketing:o,usePhishDetect:i,useTokenDetection:c,ipfsGateway:u,useMultiAccountBalanceChecker:d,useSafeChainsListValidation:p,useCurrencyRateCheck:f,useAddressBarEnsResolution:m,openSeaEnabled:g,useNftDetection:h,use4ByteResolution:_,useExternalServices:E,useExternalNameSources:y}=a;return{warning:t,incomingTransactionsPreferences:s,allNetworks:(0,l.getAllNetworks)(e),participateInMetaMetrics:r,dataCollectionForMarketing:o,usePhishDetect:i,useTokenDetection:c,ipfsGateway:u,useMultiAccountBalanceChecker:d,useSafeChainsListValidation:p,useCurrencyRateCheck:f,useAddressBarEnsResolution:m,openSeaEnabled:g,useNftDetection:h,use4ByteResolution:_,useExternalNameSources:y,useExternalServices:E,petnamesEnabled:n,securityAlertsEnabled:(0,l.getIsSecurityAlertsEnabled)(e),useTransactionSimulations:a.useTransactionSimulations}}),(e=>({setIncomingTransactionsPreferences:(t,a)=>e((0,i.setIncomingTransactionsPreferences)(t,a)),setParticipateInMetaMetrics:t=>e((0,i.setParticipateInMetaMetrics)(t)),setDataCollectionForMarketing:t=>e((0,i.setDataCollectionForMarketing)(t)),setUsePhishDetect:t=>e((0,i.setUsePhishDetect)(t)),setUseCurrencyRateCheck:t=>e((0,i.setUseCurrencyRateCheck)(t)),setUseTokenDetection:t=>e((0,i.setUseTokenDetection)(t)),setIpfsGateway:t=>e((0,i.setIpfsGateway)(t)),setIsIpfsGatewayEnabled:t=>e((0,i.setIsIpfsGatewayEnabled)(t)),setUseMultiAccountBalanceChecker:t=>e((0,i.setUseMultiAccountBalanceChecker)(t)),setUseAddressBarEnsResolution:t=>e((0,i.setUseAddressBarEnsResolution)(t)),setUseSafeChainsListValidation:t=>e((0,i.setUseSafeChainsListValidation)(t)),setBasicFunctionalityModalOpen:()=>e((0,c.openBasicFunctionalityModal)()),setOpenSeaEnabled:t=>e((0,i.setOpenSeaEnabled)(t)),setUseNftDetection:t=>e((0,i.setUseNftDetection)(t)),setUse4ByteResolution:t=>e((0,i.setUse4ByteResolution)(t)),setUseExternalNameSources:t=>e((0,i.setUseExternalNameSources)(t)),toggleExternalServices:t=>e((0,i.toggleExternalServices)(t)),setUseTransactionSimulations:t=>e((0,i.setUseTransactionSimulations)(t)),setSecurityAlertsEnabled:e=>(0,i.setSecurityAlertsEnabled)(e)}))))(u.default)}}},{package:"$root$",file:"ui/pages/settings/security-tab/security-tab.container.js"}],[5876,{"./settings-search-list":5877},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n,s=(n=e("./settings-search-list"))&&n.__esModule?n:{default:n};a.default=s.default}}},{package:"$root$",file:"ui/pages/settings/settings-search-list/index.js"}],[5877,{"../../../components/component-library":4955,"../../../contexts/i18n":5324,"../../../helpers/constants/design-system":5355,"../../../helpers/utils/settings-search":5395,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=p;var n=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=d(t);if(a&&a.has(e))return a.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=s?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n.default=e,a&&a.set(e,n),n}(e("react")),s=u(e("prop-types")),r=u(e("classnames")),o=e("../../../helpers/utils/settings-search"),i=e("../../../contexts/i18n"),l=e("../../../components/component-library"),c=e("../../../helpers/constants/design-system");function u(e){return e&&e.__esModule?e:{default:e}}function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(d=function(e){return e?a:t})(e)}function p({results:e,onClickSetting:t}){const a=(0,n.useContext)(i.I18nContext);return(0,n.useEffect)(o.highlightSearchedText,[e]),n.default.createElement("div",{className:"settings-page__header__search__list"},e.slice(0,5).map((e=>{const{icon:s,iconName:o,tabMessage:i,sectionMessage:u,route:d}=e;return Boolean(s||i||u)&&n.default.createElement("div",{key:`settings_${d}`},n.default.createElement("div",{className:"settings-page__header__search__list__item",onClick:()=>t(e)},o?n.default.createElement(l.Icon,{name:o}):n.default.createElement("i",{className:(0,r.default)("settings-page__header__search__list__item__icon",s)}),n.default.createElement("span",{id:`menu-tab_${d}`,className:(0,r.default)("settings-page__header__search__list__item__tab",{"settings-page__header__search__list__item__tab-multiple-lines":i(a)===a("securityAndPrivacy")})},i(a)),n.default.createElement(l.Icon,{name:l.IconName.ArrowRight,size:c.Size.SM,className:"settings-page__header__search__list__item__caret"}),n.default.createElement("span",{id:`menu-section_${d}`,className:(0,r.default)("settings-page__header__search__list__item__section",{"settings-page__header__search__list__item__section-multiple-lines":i(a)===a("securityAndPrivacy")||i(a)===a("alerts")})},u(a))))})),0===e.length&&n.default.createElement("div",{className:"settings-page__header__search__list__item",style:{cursor:"auto",display:"flex"}},n.default.createElement("span",{className:"settings-page__header__search__list__item__no-matching"},a("settingsSearchMatchingNotFound"))),n.default.createElement("div",{className:"settings-page__header__search__list__item",style:{cursor:"auto",display:"flex"}},n.default.createElement("span",{className:"settings-page__header__search__list__item__request"},a("missingSetting")),n.default.createElement("a",{href:"https://community.metamask.io/c/feature-requests-ideas/13",target:"_blank",rel:"noopener noreferrer",key:"need-help-link",className:"settings-page__header__search__list__item__link"},a("missingSettingRequest"))))}p.propTypes={results:s.default.array,onClickSetting:s.default.func}}}},{package:"$root$",file:"ui/pages/settings/settings-search-list/settings-search-list.js"}],[5878,{"./settings-search":5879},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n,s=(n=e("./settings-search"))&&n.__esModule?n:{default:n};a.default=s.default}}},{package:"$root$",file:"ui/pages/settings/settings-search/index.js"}],[5879,{"../../../../shared/modules/string-utils":4558,"../../../components/component-library":4955,"../../../components/ui/icon/search-icon":5241,"../../../components/ui/text-field":5302,"../../../contexts/i18n":5324,"../../../helpers/constants/design-system":5355,"@material-ui/core/InputAdornment":756,"fuse.js":3407,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=g;var n=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=m(t);if(a&&a.has(e))return a.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=s?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n.default=e,a&&a.set(e,n),n}(e("react")),s=f(e("prop-types")),r=f(e("fuse.js")),o=f(e("@material-ui/core/InputAdornment")),i=f(e("../../../components/ui/text-field")),l=e("../../../contexts/i18n"),c=f(e("../../../components/ui/icon/search-icon")),u=e("../../../../shared/modules/string-utils"),d=e("../../../components/component-library"),p=e("../../../helpers/constants/design-system");function f(e){return e&&e.__esModule?e:{default:e}}function m(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(m=function(e){return e?a:t})(e)}function g({onSearch:e,error:t,settingsRoutesList:a}){const s=(0,n.useContext)(l.I18nContext),[f,m]=(0,n.useState)(""),[g,h]=(0,n.useState)("var(--color-icon-muted)"),_=Object.values(a),E=new r.default(_,{shouldSort:!0,threshold:.3,location:0,distance:100,maxPatternLength:32,minMatchCharLength:1,keys:["tabMessage","sectionMessage","descriptionMessage"],getFn:(e,t)=>e[t](s)}),y=t=>{const a=t.trimStart();m(a),h(""===a?"var(--color-icon-muted)":"var(--color-icon-default)");const n=E.search(a),s=[..._.filter((e=>e.tabMessage&&a&&(0,u.isEqualCaseInsensitive)(e.tab,a))),...n];e({searchQuery:a,results:s})};return n.default.createElement(i.default,{id:"search-settings",placeholder:s("search"),type:"text",value:f,onChange:e=>y(e.target.value),error:t,fullWidth:!0,autoFocus:!0,autoComplete:"off",startAdornment:n.default.createElement(o.default,{position:"start",style:{marginRight:"12px"}},n.default.createElement(c.default,{color:g})),endAdornment:n.default.createElement(n.default.Fragment,null,f&&n.default.createElement(o.default,{className:"imageclosectn",position:"end",onClick:()=>y(""),style:{cursor:"pointer"}},n.default.createElement(d.Icon,{name:d.IconName.Close,color:p.IconColor.iconDefault})))})}g.propTypes={onSearch:s.default.func,error:s.default.string,settingsRoutesList:s.default.array}}}},{package:"$root$",file:"ui/pages/settings/settings-search/settings-search.js"}],[5880,{"./settings-tab.container":5882},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return s.default}});var n,s=(n=e("./settings-tab.container"))&&n.__esModule?n:{default:n}}}},{package:"$root$",file:"ui/pages/settings/settings-tab/index.js"}],[5881,{"../../../../app/_locales/index.json":3,"../../../../shared/constants/metametrics":4505,"../../../../shared/constants/preferences":4512,"../../../components/component-library":4955,"../../../components/ui/dropdown":5218,"../../../components/ui/identicon/blockieIdenticon":5244,"../../../components/ui/jazzicon":5251,"../../../components/ui/toggle-button":5306,"../../../helpers/constants/available-conversions.json":5352,"../../../helpers/constants/design-system":5355,"../../../helpers/utils/settings-search":5395,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=E(t);if(a&&a.has(e))return a.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=s?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n.default=e,a&&a.set(e,n),n}(e("react")),s=_(e("prop-types")),r=_(e("classnames")),o=_(e("../../../helpers/constants/available-conversions.json")),i=e("../../../helpers/constants/design-system"),l=_(e("../../../components/ui/dropdown")),c=_(e("../../../components/ui/toggle-button")),u=_(e("../../../../app/_locales/index.json")),d=_(e("../../../components/ui/jazzicon")),p=_(e("../../../components/ui/identicon/blockieIdenticon")),f=e("../../../../shared/constants/metametrics"),m=e("../../../helpers/utils/settings-search"),g=e("../../../../shared/constants/preferences"),h=e("../../../components/component-library");function _(e){return e&&e.__esModule?e:{default:e}}function E(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(E=function(e){return e?a:t})(e)}function y(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var a=e[Symbol.toPrimitive];if(a!==undefined){var n=a.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}const b=o.default.sort(((e,t)=>e.name.toLocaleLowerCase().localeCompare(t.name.toLocaleLowerCase()))).map((({code:e,name:t})=>({name:`${e.toUpperCase()} - ${t}`,value:e}))),w=u.default.map((e=>({name:`${e.name}`,value:e.code})));class v extends n.PureComponent{constructor(...e){super(...e),y(this,"settingsRefs",Array((0,m.getNumberOfSettingRoutesInTab)(this.context.t,this.context.t("general"))).fill(undefined).map((()=>n.default.createRef())))}componentDidUpdate(){const{t:e}=this.context;(0,m.handleSettingsRefs)(e,e("general"),this.settingsRefs)}componentDidMount(){const{t:e}=this.context;(0,m.handleSettingsRefs)(e,e("general"),this.settingsRefs)}renderCurrentConversion(){const{t:e}=this.context,{currentCurrency:t,setCurrentCurrency:a,lastFetchedConversionDate:s}=this.props;return n.default.createElement(h.Box,{ref:this.settingsRefs[0],className:"settings-page__content-row",display:i.Display.Flex,flexDirection:i.FlexDirection.Column},n.default.createElement("div",{className:"settings-page__content-item"},n.default.createElement("span",null,e("currencyConversion")),n.default.createElement("span",{className:"settings-page__content-description"},s?e("updatedWithDate",[new Date(1e3*s).toString()]):e("noConversionDateAvailable"))),n.default.createElement("div",{className:"settings-page__content-item"},n.default.createElement("div",{className:"settings-page__content-item-col"},n.default.createElement(l.default,{"data-testid":"currency-select",id:"select-currency",options:b,selectedOption:t,onChange:e=>a(e)}))))}renderCurrentLocale(){const{t:e}=this.context,{updateCurrentLocale:t,currentLocale:a}=this.props,s=u.default.find((e=>e.code===a)),r=s?s.name:"";return n.default.createElement(h.Box,{ref:this.settingsRefs[2],className:"settings-page__content-row",display:i.Display.Flex,flexDirection:i.FlexDirection.Column},n.default.createElement("div",{className:"settings-page__content-item"},n.default.createElement("span",{className:"settings-page__content-label"},e("currentLanguage")),n.default.createElement("span",{className:"settings-page__content-description"},r)),n.default.createElement("div",{className:"settings-page__content-item"},n.default.createElement("div",{className:"settings-page__content-item-col"},n.default.createElement(l.default,{"data-testid":"locale-select",id:"select-locale",options:w,selectedOption:a,onChange:async e=>t(e)}))))}renderHideZeroBalanceTokensOptIn(){const{t:e}=this.context,{hideZeroBalanceTokens:t,setHideZeroBalanceTokens:a}=this.props;return n.default.createElement(h.Box,{ref:this.settingsRefs[5],className:"settings-page__content-row",display:i.Display.Flex,flexDirection:i.FlexDirection.Row,justifyContent:i.JustifyContent.spaceBetween,alignItems:i.AlignItems.center,id:"toggle-zero-balance"},n.default.createElement("div",{className:"settings-page__content-item"},n.default.createElement("span",null,e("hideZeroBalanceTokens"))),n.default.createElement("div",{className:"settings-page__content-item-col"},n.default.createElement(c.default,{value:t,onToggle:e=>a(!e),offLabel:e("off"),onLabel:e("on")})))}renderBlockieOptIn(){const{t:e}=this.context,{useBlockie:t,setUseBlockie:a,selectedAddress:s,tokenList:o}=this.props;return n.default.createElement(h.Box,{ref:this.settingsRefs[4],className:"settings-page__content-row",display:i.Display.Flex,flexDirection:i.FlexDirection.Column,id:"blockie-optin"},n.default.createElement("div",{className:"settings-page__content-item"},n.default.createElement(h.Text,{variant:i.TextVariant.bodyMd,as:"h5",color:i.TextColor.textDefault},e("accountIdenticon")),n.default.createElement("span",{className:"settings-page__content-item__description"},e("jazzAndBlockies")),n.default.createElement("div",{className:"settings-page__content-item__identicon"},n.default.createElement("button",{"data-testid":"jazz_icon",onClick:()=>a(!1),className:"settings-page__content-item__identicon__item"},n.default.createElement("div",{className:(0,r.default)("settings-page__content-item__identicon__item__icon",{"settings-page__content-item__identicon__item__icon--active":!t})},n.default.createElement(d.default,{id:"jazzicon",address:s,diameter:32,tokenList:o,style:{display:"block",borderRadius:"16px",width:"32px",height:"32px"}})),n.default.createElement(h.Text,{color:i.TextColor.textDefault,variant:i.TextVariant.bodySm,as:"h6",marginTop:0,marginRight:12,marginBottom:0,marginLeft:3},e("jazzicons"))),n.default.createElement("button",{"data-testid":"blockie_icon",onClick:()=>a(!0),className:"settings-page__content-item__identicon__item"},n.default.createElement("div",{className:(0,r.default)("settings-page__content-item__identicon__item__icon",{"settings-page__content-item__identicon__item__icon--active":t})},n.default.createElement(p.default,{id:"blockies",address:s,diameter:32,borderRadius:"50%"})),n.default.createElement(h.Text,{color:i.TextColor.textDefault,variant:i.TextVariant.bodySm,as:"h6",marginTop:3,marginRight:0,marginBottom:3,marginLeft:3},e("blockies"))))))}renderUsePrimaryCurrencyOptions(){const{t:e}=this.context,t=e=>{this.context.trackEvent({category:f.MetaMetricsEventCategory.Settings,event:f.MetaMetricsEventName.UseNativeCurrencyAsPrimaryCurrency,properties:{use_native_currency_as_primary_currency:e}})},{nativeCurrency:a,setUseNativeCurrencyAsPrimaryCurrencyPreference:s,useNativeCurrencyAsPrimaryCurrency:r}=this.props;return n.default.createElement(h.Box,{ref:this.settingsRefs[1],className:"settings-page__content-row",display:i.Display.Flex,flexDirection:i.FlexDirection.Column},n.default.createElement("div",{className:"settings-page__content-item"},n.default.createElement("span",null,e("primaryCurrencySetting")),n.default.createElement("div",{className:"settings-page__content-description"},e("primaryCurrencySettingDescription"))),n.default.createElement("div",{className:"settings-page__content-item"},n.default.createElement("div",{className:"settings-page__content-item-col"},n.default.createElement("div",{className:"settings-tab__radio-buttons"},n.default.createElement("div",{className:"settings-tab__radio-button"},n.default.createElement("input",{type:"radio","data-testid":"toggle-native-currency",id:"native-primary-currency",onChange:()=>{s(!0),t(!0)},checked:Boolean(r)}),n.default.createElement("label",{htmlFor:"native-primary-currency",className:"settings-tab__radio-label"},a)),n.default.createElement("div",{className:"settings-tab__radio-button"},n.default.createElement("input",{type:"radio","data-testid":"toggle-fiat-currency",id:"fiat-primary-currency",onChange:()=>{s(!1),t(!1)},checked:!r}),n.default.createElement("label",{htmlFor:"fiat-primary-currency",className:"settings-tab__radio-label"},e("fiat")))))))}renderTheme(){const{t:e}=this.context,{theme:t,setTheme:a}=this.props,s=[{name:e("lightTheme"),value:g.ThemeType.light},{name:e("darkTheme"),value:g.ThemeType.dark},{name:e("osTheme"),value:g.ThemeType.os}];return n.default.createElement(h.Box,{ref:this.settingsRefs[3],className:"settings-page__content-row",display:i.Display.Flex,flexDirection:i.FlexDirection.Column},n.default.createElement("div",{className:"settings-page__content-item"},n.default.createElement("span",null,this.context.t("theme")),n.default.createElement("div",{className:"settings-page__content-description"},this.context.t("themeDescription"))),n.default.createElement("div",{className:"settings-page__content-item"},n.default.createElement("div",{className:"settings-page__content-item-col"},n.default.createElement(l.default,{id:"select-theme",options:s,selectedOption:t,onChange:e=>{this.context.trackEvent({category:f.MetaMetricsEventCategory.Settings,event:"Theme Changed",properties:{theme_selected:e}}),a(e)}}))))}render(){const{warning:e}=this.props;return n.default.createElement("div",{className:"settings-page__body"},e?n.default.createElement("div",{className:"settings-tab__error"},e):null,this.renderCurrentConversion(),this.renderUsePrimaryCurrencyOptions(),this.renderCurrentLocale(),this.renderTheme(),this.renderBlockieOptIn(),this.renderHideZeroBalanceTokensOptIn())}}a.default=v,y(v,"contextTypes",{t:s.default.func,metricsEvent:s.default.func,trackEvent:s.default.func}),y(v,"propTypes",{setUseBlockie:s.default.func,setCurrentCurrency:s.default.func,warning:s.default.string,updateCurrentLocale:s.default.func,currentLocale:s.default.string,useBlockie:s.default.bool,currentCurrency:s.default.string,nativeCurrency:s.default.string,useNativeCurrencyAsPrimaryCurrency:s.default.bool,setUseNativeCurrencyAsPrimaryCurrencyPreference:s.default.func,hideZeroBalanceTokens:s.default.bool,setHideZeroBalanceTokens:s.default.func,lastFetchedConversionDate:s.default.number,selectedAddress:s.default.string,tokenList:s.default.object,theme:s.default.string,setTheme:s.default.func})}}},{package:"$root$",file:"ui/pages/settings/settings-tab/settings-tab.component.js"}],[5882,{"../../../selectors":5987,"../../../store/actions":5998,"./settings-tab.component":5881,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n,s=e("react-redux"),r=e("../../../store/actions"),o=e("../../../selectors"),i=(n=e("./settings-tab.component"))&&n.__esModule?n:{default:n};a.default=(0,s.connect)(((e,t)=>{const{appState:{warning:a},metamask:n}=e,{currentCurrency:s,providerConfig:{ticker:r},useBlockie:i,currentLocale:l}=n,{address:c}=(0,o.getSelectedInternalAccount)(e),{useNativeCurrencyAsPrimaryCurrency:u,hideZeroBalanceTokens:d}=(0,o.getPreferences)(e),{lastFetchedConversionDate:p}=t;return{warning:a,currentLocale:l,currentCurrency:s,nativeCurrency:r,useBlockie:i,useNativeCurrencyAsPrimaryCurrency:u,hideZeroBalanceTokens:d,lastFetchedConversionDate:p,selectedAddress:c,tokenList:(0,o.getTokenList)(e),theme:(0,o.getTheme)(e)}}),(e=>({setCurrentCurrency:t=>e((0,r.setCurrentCurrency)(t)),setUseBlockie:t=>e((0,r.setUseBlockie)(t)),updateCurrentLocale:t=>e((0,r.updateCurrentLocale)(t)),setUseNativeCurrencyAsPrimaryCurrencyPreference:t=>e((0,r.setUseNativeCurrencyAsPrimaryCurrencyPreference)(t)),setParticipateInMetaMetrics:t=>e((0,r.setParticipateInMetaMetrics)(t)),setHideZeroBalanceTokens:t=>e((0,r.setHideZeroBalanceTokens)(t)),setTheme:t=>e((0,r.setTheme)(t))})))(i.default)}}},{package:"$root$",file:"ui/pages/settings/settings-tab/settings-tab.container.js"}],[5883,{"../../../app/scripts/lib/util":120,"../../../shared/constants/app":4493,"../../components/app/add-network/add-network":4566,"../../components/app/tab-bar":4849,"../../components/component-library":4955,"../../components/ui/metafox-logo":5268,"../../helpers/constants/design-system":5355,"../../helpers/constants/routes":5361,"../../helpers/utils/settings-search":5395,"./advanced-tab":5832,"./alerts-tab":5834,"./contact-list-tab":5843,"./developer-options-tab":5849,"./experimental-tab":5852,"./info-tab":5854,"./networks-tab":5858,"./security-tab":5871,"./settings-search":5878,"./settings-search-list":5876,"./settings-tab":5880,classnames:3049,"prop-types":3997,react:4243,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=S(t);if(a&&a.has(e))return a.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=s?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n.default=e,a&&a.set(e,n),n}(e("react")),s=x(e("prop-types")),r=e("react-router-dom"),o=x(e("classnames")),i=x(e("../../components/app/tab-bar")),l=e("../../helpers/constants/routes"),c=e("../../helpers/utils/settings-search"),u=x(e("../../components/app/add-network/add-network")),d=e("../../components/component-library"),p=e("../../helpers/constants/design-system"),f=x(e("../../components/ui/metafox-logo")),m=e("../../../app/scripts/lib/util"),g=e("../../../shared/constants/app"),h=x(e("./settings-tab")),_=x(e("./alerts-tab")),E=x(e("./networks-tab")),y=x(e("./advanced-tab")),b=x(e("./info-tab")),w=x(e("./security-tab")),v=x(e("./contact-list-tab")),k=(x(e("./developer-options-tab")),x(e("./experimental-tab"))),T=x(e("./settings-search")),C=x(e("./settings-search-list"));function x(e){return e&&e.__esModule?e:{default:e}}function S(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(S=function(e){return e?a:t})(e)}function N(){return N=Object.assign?Object.assign.bind():function(e){for(var t=1;te.push(l.DEFAULT_ROUTE),display:[p.Display.Flex,p.Display.None]}):n.default.createElement(d.ButtonIcon,{ariaLabel:_("back"),iconName:d.IconName.ArrowLeft,className:"settings-page__header__title-container__back-button",color:p.Color.iconDefault,onClick:()=>e.push(t),display:[p.Display.Flex,p.Display.None],size:d.ButtonIconSize.Sm})),this.renderTitle(),n.default.createElement(d.Box,{className:"settings-page__header__title-container__search",display:[p.Display.Block]},n.default.createElement(T.default,{onSearch:({searchQuery:e="",results:t=[]})=>{this.setState({isSearchList:""!==e,searchResults:t,searchText:e})},settingsRoutesList:(0,c.getSettingsRoutes)()}),u&&h.length>=3&&n.default.createElement(C.default,{results:i,onClickSetting:e=>this.handleClickSetting(e)})),n.default.createElement(d.ButtonIcon,{className:"settings-page__header__title-container__close-button",iconName:d.IconName.Close,ariaLabel:_("close"),onClick:()=>{r?e.push(l.NETWORKS_ROUTE):e.push(s)},size:d.ButtonIconSize.Sm,marginLeft:"auto"}))),n.default.createElement("div",{className:"settings-page__content"},n.default.createElement("div",{className:"settings-page__content__tabs"},this.renderTabs()),n.default.createElement("div",{className:"settings-page__content__modules"},this.renderSubHeader(),this.renderContent())))}renderTitle(){const{t:e}=this.context,{isPopup:t,pathnameI18nKey:a,addressName:s}=this.props;let r;return r=e(t&&s?"details":a&&t?a:"settings"),n.default.createElement("div",{className:"settings-page__header__title-container__title"},n.default.createElement(d.Text,{variant:p.TextVariant.headingMd},r))}renderSubHeader(){const{t:e}=this.context,{currentPath:t,isPopup:a,isAddressEntryPage:s,pathnameI18nKey:r,addressName:i,initialBreadCrumbRoute:c,breadCrumbTextKey:u,history:f,initialBreadCrumbKey:m}=this.props;let g;return g=e(a&&s?"settings":s?"contacts":m||(r||"general")),!t.startsWith(l.NETWORKS_ROUTE)&&n.default.createElement(d.Box,{className:"settings-page__subheader",padding:4,paddingLeft:6,paddingRight:6,display:p.Display.Flex,flexDirection:p.FlexDirection.Row,alignItems:p.AlignItems.center},n.default.createElement(d.Text,{className:(0,o.default)({"settings-page__subheader--link":c}),variant:p.TextVariant.headingSm,onClick:()=>c&&f.push(c)},g),u&&n.default.createElement("div",{className:"settings-page__subheader--break"},n.default.createElement("span",null," > "),e(u)),s&&n.default.createElement("div",{className:"settings-page__subheader--break"},n.default.createElement("span",null," > "),i))}renderTabs(){const{history:e,currentPath:t}=this.props,{t:a}=this.context,s=[{content:a("general"),icon:n.default.createElement(d.Icon,{name:d.IconName.Setting}),key:l.GENERAL_ROUTE},{content:a("advanced"),icon:n.default.createElement("i",{className:"fas fa-sliders-h"}),key:l.ADVANCED_ROUTE},{content:a("contacts"),icon:n.default.createElement(d.Icon,{name:d.IconName.Book}),key:l.CONTACT_LIST_ROUTE},{content:a("securityAndPrivacy"),icon:n.default.createElement("i",{className:"fa fa-lock"}),key:l.SECURITY_ROUTE},{content:a("alerts"),icon:n.default.createElement(d.Icon,{name:d.IconName.Notification}),key:l.ALERTS_ROUTE},{content:a("networks"),icon:n.default.createElement(d.Icon,{name:d.IconName.Plug}),key:l.NETWORKS_ROUTE},{content:a("experimental"),icon:n.default.createElement(d.Icon,{name:d.IconName.Flask}),key:l.EXPERIMENTAL_ROUTE},{content:a("about"),icon:n.default.createElement(d.Icon,{name:d.IconName.Info}),key:l.ABOUT_US_ROUTE}];return n.default.createElement(i.default,{tabs:s,isActive:e=>e===l.GENERAL_ROUTE&&t===l.SETTINGS_ROUTE||(!(e!==l.CONTACT_LIST_ROUTE||!t.includes(l.CONTACT_LIST_ROUTE))||(0,r.matchPath)(t,{exact:!0,path:e})),onSelect:t=>e.push(t)})}renderContent(){return n.default.createElement(r.Switch,null,n.default.createElement(r.Route,{exact:!0,path:l.GENERAL_ROUTE,render:e=>n.default.createElement(h.default,N({},e,{lastFetchedConversionDate:this.state.lastFetchedConversionDate}))}),n.default.createElement(r.Route,{exact:!0,path:l.ABOUT_US_ROUTE,component:b.default}),n.default.createElement(r.Route,{exact:!0,path:l.ADVANCED_ROUTE,component:y.default}),n.default.createElement(r.Route,{exact:!0,path:l.ALERTS_ROUTE,component:_.default}),n.default.createElement(r.Route,{exact:!0,path:l.ADD_NETWORK_ROUTE,render:()=>n.default.createElement(E.default,{addNewNetwork:!0})}),n.default.createElement(r.Route,{exact:!0,path:l.NETWORKS_ROUTE,render:()=>n.default.createElement(E.default,{addNewNetwork:!1})}),n.default.createElement(r.Route,{exact:!0,path:l.ADD_POPULAR_CUSTOM_NETWORK,render:()=>n.default.createElement(u.default,null)}),n.default.createElement(r.Route,{exact:!0,path:l.SECURITY_ROUTE,component:w.default}),n.default.createElement(r.Route,{exact:!0,path:l.EXPERIMENTAL_ROUTE,component:k.default}),!1,n.default.createElement(r.Route,{exact:!0,path:l.CONTACT_LIST_ROUTE,component:v.default}),n.default.createElement(r.Route,{exact:!0,path:l.CONTACT_ADD_ROUTE,component:v.default}),n.default.createElement(r.Route,{exact:!0,path:`${l.CONTACT_EDIT_ROUTE}/:id`,component:v.default}),n.default.createElement(r.Route,{exact:!0,path:`${l.CONTACT_VIEW_ROUTE}/:id`,component:v.default}),n.default.createElement(r.Route,{render:e=>n.default.createElement(h.default,N({},e,{lastFetchedConversionDate:this.state.lastFetchedConversionDate}))}))}}O(I,"propTypes",{addNewNetwork:s.default.bool,addressName:s.default.string,backRoute:s.default.string,breadCrumbTextKey:s.default.string,conversionDate:s.default.number,currentPath:s.default.string,history:s.default.object,initialBreadCrumbKey:s.default.string,initialBreadCrumbRoute:s.default.string,isAddressEntryPage:s.default.bool,isPopup:s.default.bool,mostRecentOverviewPage:s.default.string.isRequired,pathnameI18nKey:s.default.string}),O(I,"contextTypes",{t:s.default.func});a.default=I}}},{package:"$root$",file:"ui/pages/settings/settings.component.js"}],[5884,{"../../../app/scripts/lib/util":120,"../../../shared/constants/app":4493,"../../../shared/modules/hexstring-utils":4544,"../../ducks/history/history":5343,"../../helpers/constants/routes":5361,"../../selectors":5987,"./settings.component":5883,"react-redux":4199,"react-router-dom":4228,redux:4261},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n,s=e("redux"),r=e("react-redux"),o=e("react-router-dom"),i=e("../../selectors"),l=e("../../../shared/constants/app"),c=e("../../../app/scripts/lib/util"),u=e("../../ducks/history/history"),d=e("../../../shared/modules/hexstring-utils"),p=e("../../helpers/constants/routes"),f=(n=e("./settings.component"))&&n.__esModule?n:{default:n};const m={[p.ABOUT_US_ROUTE]:"about",[p.ADD_NETWORK_ROUTE]:"networks",[p.ADD_POPULAR_CUSTOM_NETWORK]:"addNetwork",[p.ADVANCED_ROUTE]:"advanced",[p.ALERTS_ROUTE]:"alerts",[p.CONTACT_ADD_ROUTE]:"newContact",[p.CONTACT_EDIT_ROUTE]:"editContact",[p.CONTACT_LIST_ROUTE]:"contacts",[p.CONTACT_VIEW_ROUTE]:"viewContact",[p.DEVELOPER_OPTIONS_ROUTE]:"developerOptions",[p.EXPERIMENTAL_ROUTE]:"experimental",[p.GENERAL_ROUTE]:"general",[p.NETWORKS_FORM_ROUTE]:"networks",[p.NETWORKS_ROUTE]:"networks",[p.SECURITY_ROUTE]:"securityAndPrivacy"};a.default=(0,s.compose)(o.withRouter,(0,r.connect)(((e,t)=>{var a;const{location:n}=t,{pathname:s}=n,{metamask:{providerConfig:{ticker:r},currencyRates:o}}=e,f=null===(a=o[r])||void 0===a?void 0:a.conversionDate,g=s.match(/[^/]+$/u)[0],h=g.includes("0x"),_=Boolean(s.match(p.CONTACT_ADD_ROUTE)),E=Boolean(s.match(p.CONTACT_EDIT_ROUTE)),y=Boolean(s.match(p.NETWORKS_FORM_ROUTE))||Boolean(s.match(p.ADD_NETWORK_ROUTE)),b=Boolean(s.match(p.ADD_NETWORK_ROUTE)),w=Boolean(s.match(p.ADD_POPULAR_CUSTOM_NETWORK)),v=(0,c.getEnvironmentType)()===l.ENVIRONMENT_TYPE_POPUP,k=m[s];let T=p.SETTINGS_ROUTE;E?T=`${p.CONTACT_VIEW_ROUTE}/${g}`:h||_?T=p.CONTACT_LIST_ROUTE:(y||w)&&(T=p.NETWORKS_ROUTE);return{addNewNetwork:b,addressName:(0,i.getAddressBookEntryOrAccountName)(e,!(0,d.isBurnAddress)(g)&&(0,d.isValidHexAddress)(g,{mixedCaseUseChecksum:!0})?g:""),backRoute:T,conversionDate:f,currentPath:s,initialBreadCrumbKey:undefined,initialBreadCrumbRoute:undefined,isAddressEntryPage:h,isPopup:v,mostRecentOverviewPage:(0,u.getMostRecentOverviewPage)(e),pathnameI18nKey:k}})))(f.default)}}},{package:"$root$",file:"ui/pages/settings/settings.container.js"}],[5885,{"./smart-transaction-status-page":5886},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"SmartTransactionStatusPage",{enumerable:!0,get:function(){return s.default}});var n,s=(n=e("./smart-transaction-status-page"))&&n.__esModule?n:{default:n}}}},{package:"$root$",file:"ui/pages/smart-transactions/smart-transaction-status-page/hybrid-compute-sdk.ts"}],[5886,{"../../../../shared/constants/notifications":4508,"../../../../shared/constants/smartTransactions":4514,"../../../../shared/constants/urls":4521,"../../../../shared/modules/conversion.utils":4537,"../../../../shared/modules/selectors":4554,"../../../components/component-library":4955,"../../../helpers/constants/design-system":5355,"../../../hooks/useI18nContext":5427,"../../../selectors":5987,"../../../store/actions":5998,"../../confirmations/components/simulation-details":5616,"@metamask/smart-transactions-controller/dist/types":1765,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.showRemainingTimeInMinAndSec=a.default=a.SmartTransactionStatusPage=void 0;var n=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=_(t);if(a&&a.has(e))return a.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=s?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n.default=e,a&&a.set(e,n),n}(e("react")),s=e("react-redux"),r=e("@metamask/smart-transactions-controller/dist/types"),o=e("../../../components/component-library"),i=e("../../../helpers/constants/design-system"),l=e("../../../hooks/useI18nContext"),c=e("../../../selectors"),u=e("../../../../shared/modules/selectors"),d=e("../../../../shared/constants/urls"),p=e("../../../../shared/constants/smartTransactions"),f=e("../../../store/actions"),m=e("../../../../shared/modules/conversion.utils"),g=e("../../confirmations/components/simulation-details"),h=e("../../../../shared/constants/notifications");function _(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(_=function(e){return e?a:t})(e)}const E=e=>{if(!Number.isInteger(e))return"0:00";return`${Math.floor(e/60)}:${(e%60).toString().padStart(2,"0")}`};a.showRemainingTimeInMinAndSec=E;const y=({isSmartTransactionPending:e,stxDeadline:t,timeLeftForPendingStxInSec:a})=>e?n.default.createElement(o.Box,{display:i.Display.Flex,flexDirection:i.FlexDirection.Column,alignItems:i.AlignItems.center,width:i.BlockSize.Full},n.default.createElement("div",{className:"smart-transaction-status-page__loading-bar-container"},n.default.createElement("div",{className:"smart-transaction-status-page__loading-bar",style:{width:100/t*(t-a)+"%"}}))):null,b=({description:e})=>e?n.default.createElement(o.Box,{display:i.Display.Flex,flexDirection:i.FlexDirection.Column,alignItems:i.AlignItems.center,className:"smart-transaction-status-page__description"},n.default.createElement(o.Text,{marginTop:2,color:i.TextColor.textAlternative,variant:i.TextVariant.bodySm},e)):null,w=({portfolioSmartTransactionStatusUrl:e,isSmartTransactionPending:t,onCloseExtension:a})=>{const s=(0,l.useI18nContext)();if(!e)return null;const r=(0,n.useCallback)((()=>{const n=window.innerWidth>h.NOTIFICATION_WIDTH;t&&!n||a(),global.platform.openTab({url:e})}),[t,a,e]);return n.default.createElement(o.Box,{display:i.Display.Flex,flexDirection:i.FlexDirection.Column,marginTop:2},n.default.createElement(o.Button,{type:"link",variant:o.ButtonVariant.Link,onClick:r},s("viewTransaction")))},v=({isDapp:e,isSmartTransactionPending:t,onCloseExtension:a})=>{const s=(0,l.useI18nContext)();return!e||t?null:n.default.createElement(o.ButtonSecondary,{"data-testid":"smart-transaction-status-page-footer-close-button",onClick:a,width:i.BlockSize.Full,marginTop:3},s("closeExtension"))},k=({isDapp:e,isSmartTransactionPending:t})=>{const a=(0,l.useI18nContext)();return e&&t?n.default.createElement(o.Text,{marginTop:2,color:i.TextColor.textAlternative,variant:i.TextVariant.bodySm},a("closeWindowAnytime")):null},T=({isDapp:e,onViewActivity:t})=>{const a=(0,l.useI18nContext)();return e?null:n.default.createElement(o.ButtonSecondary,{"data-testid":"smart-transaction-status-page-footer-close-button",onClick:t,width:i.BlockSize.Full,marginTop:3},a("viewActivity"))},C=({isDapp:e,isSmartTransactionPending:t,onCloseExtension:a,onViewActivity:s})=>n.default.createElement(o.Box,{className:"smart-transaction-status-page__footer",display:i.Display.Flex,flexDirection:i.FlexDirection.Column,width:i.BlockSize.Full,padding:4,paddingBottom:0},n.default.createElement(k,{isDapp:e,isSmartTransactionPending:t}),n.default.createElement(v,{isDapp:e,isSmartTransactionPending:t,onCloseExtension:a}),n.default.createElement(T,{isDapp:e,onViewActivity:s})),x=({title:e})=>n.default.createElement(o.Text,{color:i.TextColor.textDefault,variant:i.TextVariant.headingMd,as:"h4",fontWeight:i.FontWeight.Bold},e),S=({iconName:e,iconColor:t})=>n.default.createElement(o.Box,{display:i.Display.Flex,style:{fontSize:"48px"}},n.default.createElement(o.Icon,{name:e,color:t,size:o.IconSize.Inherit,marginBottom:4})),N=({requestState:e,onCloseExtension:t,onViewActivity:a})=>{var h,_,v,k,T;const N=(0,l.useI18nContext)(),O=(0,s.useDispatch)(),{smartTransaction:I,isDapp:R,txId:M}=e,P=!I||I.status===r.SmartTransactionStatuses.PENDING,D=(null==I?void 0:I.status)===r.SmartTransactionStatuses.SUCCESS,A=Boolean(null==I||null===(h=I.status)||void 0===h?void 0:h.startsWith(r.SmartTransactionStatuses.CANCELLED)),L=(0,s.useSelector)(u.getFeatureFlagsByChainId),j=(null==L||null===(_=L.smartTransactions)||void 0===_?void 0:_.expectedDeadline)||p.FALLBACK_SMART_TRANSACTIONS_EXPECTED_DEADLINE,F=(null==L||null===(v=L.smartTransactions)||void 0===v?void 0:v.maxDeadline)||p.FALLBACK_SMART_TRANSACTIONS_MAX_DEADLINE,{timeLeftForPendingStxInSec:B,isSmartTransactionTakingTooLong:U,stxDeadline:W}=(({isSmartTransactionPending:e,smartTransaction:t,stxMaxDeadline:a,stxEstimatedDeadline:s})=>{const[r,o]=(0,n.useState)(0),[i,l]=(0,n.useState)(!1),c=i?a:s;return(0,n.useEffect)((()=>{if(!e)return;const a=()=>{const e=null!=t&&t.creationTime?Math.round((Date.now()-t.creationTime)/1e3):0;if(e>c)return o(0),void(i||l(!0));o(c-e)},n=setInterval(a,1e3);return a(),()=>clearInterval(n)}),[e,i,null==t?void 0:t.creationTime,c]),{timeLeftForPendingStxInSec:r,isSmartTransactionTakingTooLong:i,stxDeadline:c}})({isSmartTransactionPending:P,smartTransaction:I,stxMaxDeadline:F,stxEstimatedDeadline:j}),q=(0,s.useSelector)(c.getCurrentChainId),$=(0,s.useSelector)((e=>(0,c.getFullTxData)(e,M)))||{},V=P?n.default.createElement(o.Text,{display:i.Display.InlineBlock,textAlign:i.TextAlign.Center,color:i.TextColor.textAlternative,variant:i.TextVariant.bodySm,className:"smart-transaction-status-page__countdown"},E(B)):undefined,{title:H,description:K,iconName:Q,iconColor:z}=(({t:e,countdown:t,isSmartTransactionPending:a,isSmartTransactionTakingTooLong:n,isSmartTransactionSuccess:s,isSmartTransactionCancelled:r})=>a&&n?{title:e("smartTransactionTakingTooLong"),description:e("smartTransactionTakingTooLongDescription",[t]),iconName:o.IconName.Clock,iconColor:i.IconColor.primaryDefault}:a?{title:e("smartTransactionPending"),description:e("stxEstimatedCompletion",[t]),iconName:o.IconName.Clock,iconColor:i.IconColor.primaryDefault}:s?{title:e("smartTransactionSuccess"),iconName:o.IconName.Confirmation,iconColor:i.IconColor.successDefault}:r?{title:e("smartTransactionCancelled"),description:e("smartTransactionCancelledDescription",[t]),iconName:o.IconName.Danger,iconColor:i.IconColor.errorDefault}:{title:e("smartTransactionError"),description:e("smartTransactionErrorDescription"),iconName:o.IconName.Danger,iconColor:i.IconColor.errorDefault})({t:N,countdown:V,isSmartTransactionPending:P,isSmartTransactionTakingTooLong:U,isSmartTransactionSuccess:D,isSmartTransactionCancelled:A});(0,n.useEffect)((()=>{O((0,f.hideLoadingIndication)())}),[]);const G=(null===(k=$.simulationData)||void 0===k||null===(k=k.tokenBalanceChanges)||void 0===k?void 0:k.length)>0||(null===(T=$.simulationData)||void 0===T?void 0:T.nativeBalanceChange),Y=null==I?void 0:I.uuid,Z=Y&&q?`${d.BaseUrl.Portfolio}/networks/${Number((0,m.hexToDecimal)(q))}/smart-transactions/${Y}`:undefined;return n.default.createElement(o.Box,{className:"smart-transaction-status-page",height:i.BlockSize.Full,width:i.BlockSize.Full,display:i.Display.Flex,borderStyle:i.BorderStyle.none,flexDirection:i.FlexDirection.Column,alignItems:i.AlignItems.center,marginBottom:0},n.default.createElement(o.Box,{display:i.Display.Flex,flexDirection:i.FlexDirection.Column,alignItems:i.AlignItems.center,justifyContent:i.JustifyContent.center,paddingLeft:4,paddingRight:4,width:i.BlockSize.Full,style:{flexGrow:1}},n.default.createElement(o.Box,{display:i.Display.Flex,flexDirection:i.FlexDirection.Column,alignItems:i.AlignItems.center,paddingLeft:6,paddingRight:6,width:i.BlockSize.Full},n.default.createElement(o.Box,{marginTop:3,className:"smart-transaction-status-page__background-animation smart-transaction-status-page__background-animation--top"}),n.default.createElement(S,{iconName:Q,iconColor:z}),n.default.createElement(x,{title:H}),n.default.createElement(y,{isSmartTransactionPending:P,stxDeadline:W,timeLeftForPendingStxInSec:B}),n.default.createElement(b,{description:K}),n.default.createElement(w,{portfolioSmartTransactionStatusUrl:Z,isSmartTransactionPending:P,onCloseExtension:t})),G&&n.default.createElement(g.SimulationDetails,{simulationData:$.simulationData,transactionId:$.id}),n.default.createElement(o.Box,{marginTop:3,className:"smart-transaction-status-page__background-animation smart-transaction-status-page__background-animation--bottom"})),n.default.createElement(C,{isDapp:R,isSmartTransactionPending:P,onCloseExtension:t,onViewActivity:a}))};a.SmartTransactionStatusPage=N;a.default=N}}},{package:"$root$",file:"ui/pages/smart-transactions/smart-transaction-status-page/smart-transaction-status-page.tsx"}],[5887,{"./snap-account-redirect-context":5889},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"SnapAccountRedirectContent",{enumerable:!0,get:function(){return s.default}});var n,s=(n=e("./snap-account-redirect-context"))&&n.__esModule?n:{default:n}}}},{package:"$root$",file:"ui/pages/snap-account-redirect/components/hybrid-compute-sdk.ts"}],[5888,{"../../../components/component-library":4955,"../../../helpers/constants/design-system":5355,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n,s=(n=e("react"))&&n.__esModule?n:{default:n},r=e("../../../components/component-library"),o=e("../../../helpers/constants/design-system");const i=({url:e,onSubmit:t})=>s.default.createElement(r.ButtonIcon,{"data-testid":"snap-account-redirect-url-icon",onClick:()=>{global.platform.openTab({url:e}),null==t||t()},iconName:r.IconName.Export,color:o.IconColor.primaryDefault,size:r.ButtonIconSize.Sm,ariaLabel:""});a.default=s.default.memo(i)}}},{package:"$root$",file:"ui/pages/snap-account-redirect/components/redirect-url-icon.tsx"}],[5889,{"../../../components/component-library":4955,"../../../helpers/constants/design-system":5355,"../../../hooks/useI18nContext":5427,"./snap-account-redirect-message":5890,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n=l(e("react")),s=e("../../../components/component-library"),r=e("../../../helpers/constants/design-system"),o=e("../../../hooks/useI18nContext"),i=l(e("./snap-account-redirect-message"));function l(e){return e&&e.__esModule?e:{default:e}}a.default=({url:e,snapName:t,isBlockedUrl:a,message:l,onSubmit:c})=>{const u=(0,o.useI18nContext)();return n.default.createElement(s.Box,{display:r.Display.Flex,flexDirection:r.FlexDirection.Row,justifyContent:r.JustifyContent.spaceBetween,paddingTop:4},n.default.createElement(s.Box,{gap:4,display:r.Display.Flex,flexDirection:r.FlexDirection.Column,alignItems:r.AlignItems.center},n.default.createElement(s.Text,{"data-testid":"snap-account-redirect-content-title",textAlign:r.TextAlign.Center,variant:r.TextVariant.headingLg},u("snapAccountRedirectFinishSigningTitle")),a?n.default.createElement(s.Box,{display:r.Display.Flex,paddingLeft:4,paddingRight:4},n.default.createElement(s.BannerAlert,{severity:s.BannerAlertSeverity.Danger,"data-testid":"snap-account-redirect-content-blocked-url-banner"},n.default.createElement(s.Text,null,u("snapUrlIsBlocked",[n.default.createElement(s.Button,{variant:s.ButtonVariant.Link,size:s.ButtonSize.Inherit,onClick:()=>global.platform.openTab({url:"https://support.metamask.io/hc/en-us/articles/4428045875483--Deceptive-site-ahead-when-trying-to-connect-to-a-site"}),key:"snap-url-is-blocked-learn-more-button"},u("learnMore"))])))):null,!1===a?n.default.createElement(s.Text,{"data-testid":"snap-account-redirect-content-description",textAlign:r.TextAlign.Center,variant:r.TextVariant.bodyMd},u("snapAccountRedirectSiteDescription",[t])):null,(e.length>0||l.length>0)&&!1===a?n.default.createElement(i.default,{snapName:t,url:e,message:l,onSubmit:c}):null))}}}},{package:"$root$",file:"ui/pages/snap-account-redirect/components/snap-account-redirect-context.tsx"}],[5890,{"../../../components/app/snaps/snap-delineator":4775,"../../../components/component-library":4955,"../../../helpers/constants/design-system":5355,"./url-display-box":5891,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n=l(e("react")),s=e("../../../helpers/constants/design-system"),r=e("../../../components/component-library"),o=e("../../../components/app/snaps/snap-delineator"),i=l(e("./url-display-box"));function l(e){return e&&e.__esModule?e:{default:e}}const c=({snapName:e,url:t,message:a,onSubmit:l})=>n.default.createElement(o.SnapDelineator,{"data-testid":"snap-account-redirect-message-container",snapName:e},""!==a?n.default.createElement(r.Text,{variant:s.TextVariant.bodyMd,"data-testid":"snap-account-redirect-message"},a):null,t.length>0?n.default.createElement(r.Box,{paddingTop:2,display:s.Display.Flex},n.default.createElement(i.default,{url:t,onSubmit:l})):null);a.default=n.default.memo(c)}}},{package:"$root$",file:"ui/pages/snap-account-redirect/components/snap-account-redirect-message.tsx"}],[5891,{"../../../components/component-library":4955,"../../../helpers/constants/design-system":5355,"./redirect-url-icon":5888,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n=i(e("react")),s=e("../../../helpers/constants/design-system"),r=e("../../../components/component-library"),o=i(e("./redirect-url-icon"));function i(e){return e&&e.__esModule?e:{default:e}}const l=({url:e,onSubmit:t})=>n.default.createElement(r.Box,{display:s.Display.InlineFlex,backgroundColor:s.BackgroundColor.backgroundDefault,alignItems:s.AlignItems.center,borderWidth:1,borderRadius:s.BorderRadius.SM,borderColor:s.BorderColor.borderDefault,paddingRight:4},n.default.createElement(r.Text,{"data-testid":"snap-account-redirect-url-display-box",padding:2,variant:s.TextVariant.bodyMd,color:s.TextColor.primaryDefault},e),n.default.createElement(o.default,{url:e,onSubmit:t}));a.default=n.default.memo(l)}}},{package:"$root$",file:"ui/pages/snap-account-redirect/components/url-display-box.tsx"}],[5892,{"./snap-account-redirect":5893},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"SnapAccountRedirect",{enumerable:!0,get:function(){return s.default}});var n,s=(n=e("./snap-account-redirect"))&&n.__esModule?n:{default:n}}}},{package:"$root$",file:"ui/pages/snap-account-redirect/hybrid-compute-sdk.ts"}],[5893,{"../../components/app/snaps/snap-authorship-header":4770,"../../components/component-library":4955,"../../helpers/constants/design-system":5355,"./components":5887,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n=l(e("react")),s=e("../../components/component-library"),r=e("../../helpers/constants/design-system"),o=l(e("../../components/app/snaps/snap-authorship-header")),i=e("./components");function l(e){return e&&e.__esModule?e:{default:e}}a.default=({url:e,snapId:t,snapName:a,isBlockedUrl:l,message:c,onSubmit:u})=>n.default.createElement(s.Box,{className:"create-snap-account-page",height:r.BlockSize.Full,width:r.BlockSize.Full,borderStyle:r.BorderStyle.none,flexDirection:r.FlexDirection.Column,alignItems:r.AlignItems.center},n.default.createElement(o.default,{snapId:t}),n.default.createElement(s.Box,{display:r.Display.Flex,flexDirection:r.FlexDirection.Column,alignItems:r.AlignItems.center,height:r.BlockSize.Full,paddingLeft:4,paddingRight:4},n.default.createElement(i.SnapAccountRedirectContent,{url:e,onSubmit:u,snapId:t,snapName:a,isBlockedUrl:l,message:c})))}}},{package:"$root$",file:"ui/pages/snap-account-redirect/snap-account-redirect.tsx"}],[5894,{"../../../shared/constants/metametrics":4505,"../../contexts/metametrics":5327,"../../hooks/useI18nContext":5427,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=i(t);if(a&&a.has(e))return a.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=s?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n.default=e,a&&a.set(e,n),n}(e("react")),s=e("../../hooks/useI18nContext"),r=e("../../contexts/metametrics"),o=e("../../../shared/constants/metametrics");function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(i=function(e){return e?a:t})(e)}a.default=({internalAccount:e})=>{const t=(0,s.useI18nContext)(),a=(0,n.useContext)(r.MetaMetricsContext);return(0,n.useEffect)((()=>{var t,n;a({event:o.MetaMetricsEventName.SnapAccountTransactionLoadingViewed,category:o.MetaMetricsEventCategory.Transactions,properties:{snap_id:null==e||null===(t=e.metadata.snap)||void 0===t?void 0:t.id,snap_name:null==e||null===(n=e.metadata.snap)||void 0===n?void 0:n.name,account_type:o.MetaMetricsEventAccountType.Snap}})}),[]),n.default.createElement("span",null,t("loadingScreenSnapMessage"))}}}},{package:"$root$",file:"ui/pages/snap-account-transaction-loading-screen/snap-account-transaction-loading-screen.tsx"}],[5895,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.KeyringSnapRemovalResultStatus=void 0;a.KeyringSnapRemovalResultStatus={Success:"success",Failed:"failed",None:"none"}}}},{package:"$root$",file:"ui/pages/snaps/snap-view/constants.ts"}],[5896,{"./snap-view":5899},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return s.default}});var n,s=(n=e("./snap-view"))&&n.__esModule?n:{default:n}}}},{package:"$root$",file:"ui/pages/snaps/snap-view/index.js"}],[5897,{"../../../components/app/snaps/snap-home-page/snap-home-renderer":4777,"../../../components/component-library":4955,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n=i(e("react")),s=i(e("prop-types")),r=e("../../../components/app/snaps/snap-home-page/snap-home-renderer"),o=e("../../../components/component-library");function i(e){return e&&e.__esModule?e:{default:e}}function l({snapId:e}){return n.default.createElement(o.Box,null,n.default.createElement(r.SnapHomeRenderer,{snapId:e}))}l.propTypes={snapId:s.default.string.isRequired};a.default=l}}},{package:"$root$",file:"ui/pages/snaps/snap-view/snap-home.js"}],[5898,{"../../../components/app/connected-sites-list":4614,"../../../components/app/snaps/keyring-snap-removal-warning":4763,"../../../components/app/snaps/show-more":4766,"../../../components/app/snaps/snap-authorship-expanded":4768,"../../../components/app/snaps/snap-delineator":4775,"../../../components/app/snaps/snap-permissions-list":4792,"../../../components/app/snaps/snap-remove-warning":4796,"../../../components/app/snaps/snap-update-alert":4834,"../../../components/component-library":4955,"../../../helpers/constants/design-system":5355,"../../../helpers/constants/routes":5361,"../../../helpers/constants/snaps":5364,"../../../hooks/useI18nContext":5427,"../../../selectors":5987,"../../../store/actions":5998,"./constants":5895,"prop-types":3997,react:4243,"react-redux":4199,"react-router-dom":4228,semver:4315},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=C(t);if(a&&a.has(e))return a.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=s?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n.default=e,a&&a.set(e,n),n}(e("react")),s=e("react-redux"),r=T(e("prop-types")),o=e("react-router-dom"),i=T(e("semver")),l=e("../../../hooks/useI18nContext"),c=e("../../../helpers/constants/design-system"),u=T(e("../../../components/app/snaps/snap-authorship-expanded")),d=T(e("../../../components/app/snaps/snap-remove-warning")),p=T(e("../../../components/app/connected-sites-list")),f=T(e("../../../components/app/snaps/keyring-snap-removal-warning")),m=e("../../../store/actions"),g=e("../../../selectors"),h=e("../../../components/component-library"),_=T(e("../../../components/app/snaps/snap-permissions-list")),E=e("../../../components/app/snaps/snap-delineator"),y=e("../../../helpers/constants/snaps"),b=T(e("../../../components/app/snaps/snap-update-alert")),w=e("../../../helpers/constants/routes"),v=e("../../../components/app/snaps/show-more"),k=e("./constants");function T(e){return e&&e.__esModule?e:{default:e}}function C(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(C=function(e){return e?a:t})(e)}function x({snapId:e}){const t=(0,o.useHistory)(),a=(0,l.useI18nContext)(),r=(0,s.useSelector)(g.getSnaps),T=(0,s.useDispatch)(),C=Object.entries(r).map((([e,t])=>t)).find((t=>t.id===e)),[x,S]=(0,n.useState)(!1),[N,O]=(0,n.useState)(!1),[I,R]=(0,n.useState)([]),M=(0,s.useSelector)(g.getMemoizedMetaMaskInternalAccounts),P=(0,s.useSelector)((e=>(0,g.getSubjectsWithSnapPermission)(e,null==C?void 0:C.id))),D=(0,s.useSelector)((e=>C&&(0,g.getPermissions)(e,C.id))),{name:A,description:L}=(0,s.useSelector)((t=>(0,g.getSnapMetadata)(t,e)));let j=!1;j=Boolean(null==D?void 0:D.snap_manageAccounts),(0,n.useEffect)((()=>{j&&(async()=>{const e=await(0,m.getSnapAccountsById)(C.id),t=Object.values(M).filter((t=>e.includes(t.address.toLowerCase())));R(t)})()}),[null==C?void 0:C.id,M,j]);const F=(0,s.useSelector)((e=>C?(0,g.getSnapLatestVersion)(e,null==C?void 0:C.id):null)),B=!!F&&i.default.gt(F,C.version);return n.default.createElement(h.Box,null,B&&n.default.createElement(b.default,{snapName:A,onUpdateClick:async()=>{const e={[C.id]:{version:F}},a=await T((0,m.updateSnap)("MetaMask",e));a&&t.push(`${w.CONNECT_ROUTE}/${a}`)},bannerAlertProps:{marginBottom:4}}),n.default.createElement(u.default,{snapId:C.id,snap:C}),n.default.createElement(h.Box,{className:"snap-view__content__description",marginTop:[4,7]},n.default.createElement(E.SnapDelineator,{type:y.DelineatorType.Description,snapName:A},n.default.createElement(v.ShowMore,{buttonBackground:c.BackgroundColor.backgroundDefault},n.default.createElement(h.Text,null,L)))),n.default.createElement(h.Box,{className:"snap-view__content__permissions",marginTop:12},n.default.createElement(h.Text,{variant:c.TextVariant.bodyLgMedium,marginBottom:1},a("permissions")),n.default.createElement(_.default,{snapId:e,snapName:A,permissions:D??{},showOptions:!0})),n.default.createElement(h.Box,{className:"snap-view__content__connected-sites",marginTop:12},n.default.createElement(h.Text,{variant:c.TextVariant.bodyLgMedium,marginBottom:2},a("connectedSites")),n.default.createElement(p.default,{connectedSubjects:P,onDisconnect:e=>{var t;t=e,C.id,T((0,m.disconnectOriginFromSnap)(t,C.id))}})),n.default.createElement(h.Box,{className:"snap-view__content__remove",marginTop:12},n.default.createElement(h.Text,{variant:c.TextVariant.bodyLgMedium,color:c.TextColor.textDefault},a("removeSnap")),n.default.createElement(h.Text,{variant:c.TextVariant.bodyMd,color:c.TextColor.textDefault},a("removeSnapDescription")),n.default.createElement(h.Box,{marginTop:4,display:c.Display.Flex,justifyContent:c.JustifyContent.center},n.default.createElement(h.Button,{className:"snap-view__content__remove-button",danger:"true",variant:h.ButtonVariant.Secondary,width:c.BlockSize.Full,size:h.ButtonSize.Lg,onClick:()=>S(!0),"data-testid":"remove-snap-button",disabled:C.preinstalled&&!1===C.removable},n.default.createElement(h.Text,{color:c.TextColor.inherit,variant:c.TextVariant.bodyMd,flexWrap:c.FlexWrap.NoWrap,ellipsis:!0,style:{overflow:"hidden"},paddingTop:3,paddingBottom:3},`${a("remove")} ${A}`)),n.default.createElement(d.default,{isOpen:x&&(!j||0===I.length)&&!N,onCancel:()=>S(!1),onSubmit:async()=>{await T((0,m.removeSnap)(C.id))},snapName:A}),n.default.createElement(n.default.Fragment,null,n.default.createElement(f.default,{snap:C,keyringAccounts:I,snapUrl:C.url,onCancel:()=>S(!1),onClose:()=>S(!1),onBack:()=>S(!1),onSubmit:async()=>{try{O(!0),await T((0,m.removeSnap)(C.id)),S(!1),T((0,m.showKeyringSnapRemovalModal)({snapName:A,result:k.KeyringSnapRemovalResultStatus.Success}))}catch{S(!1),T((0,m.showKeyringSnapRemovalModal)({snapName:A,result:k.KeyringSnapRemovalResultStatus.Failed}))}finally{O(!1)}},isOpen:x&&j&&I.length>0})))))}x.propTypes={snapId:r.default.string.isRequired};a.default=x}}},{package:"$root$",file:"ui/pages/snaps/snap-view/snap-settings.js"}],[5899,{"../../../components/component-library":4955,"../../../components/multichain/pages/page":5152,"../../../helpers/constants/design-system":5355,"../../../helpers/constants/routes":5361,"../../../selectors":5987,"./snap-home":5897,"./snap-settings":5898,"@metamask/utils":2300,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=g(t);if(a&&a.has(e))return a.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=s?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n.default=e,a&&a.set(e,n),n}(e("react")),s=e("react-router-dom"),r=e("react-redux"),o=e("@metamask/utils"),i=e("../../../helpers/constants/design-system"),l=e("../../../helpers/constants/routes"),c=e("../../../selectors"),u=e("../../../components/component-library"),d=e("../../../components/multichain/pages/page"),p=m(e("./snap-settings")),f=m(e("./snap-home"));function m(e){return e&&e.__esModule?e:{default:e}}function g(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(g=function(e){return e?a:t})(e)}a.default=function(){const e=(0,s.useHistory)(),t=(0,s.useLocation)(),{pathname:a}=t,m=decodeURIComponent(a.match(/[^/]+$/u)[0]),g=(0,r.useSelector)(c.getSnaps),h=Object.entries(g).map((([e,t])=>t)).find((e=>e.id===m)),{name:_}=(0,r.useSelector)((e=>(0,c.getSnapMetadata)(e,m)));(0,n.useEffect)((()=>{h||e.push(l.SNAPS_ROUTE)}),[e,h]);const E=(0,r.useSelector)((e=>h&&(0,c.getPermissions)(e,h.id))),y=E&&(0,o.hasProperty)(E,"endowment:page-home"),[b,w]=(0,n.useState)(!y);if(!h)return null;const v=!h.preinstalled;return n.default.createElement("div",{className:"snap-view"},n.default.createElement(d.Page,{backgroundColor:i.BackgroundColor.backgroundDefault},n.default.createElement(d.Header,{backgroundColor:i.BackgroundColor.backgroundDefault,startAccessory:n.default.createElement(u.ButtonIcon,{ariaLabel:"Back",iconName:"arrow-left",size:"sm",onClick:()=>{b&&y?w(!1):e.push(l.SNAPS_ROUTE)}}),endAccessory:v&&!b&&n.default.createElement(u.ButtonIcon,{ariaLabel:"Settings",iconName:"setting",size:"sm",onClick:()=>{w(!0)}})},_),n.default.createElement(d.Content,{backgroundColor:i.BackgroundColor.backgroundDefault,className:"snap-view__content",paddingTop:0},b?n.default.createElement(p.default,{snapId:m}):n.default.createElement(f.default,{snapId:m}))))}}}},{package:"$root$",file:"ui/pages/snaps/snap-view/snap-view.js"}],[5900,{"./snap-list":5901},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return s.default}});var n,s=(n=e("./snap-list"))&&n.__esModule?n:{default:n}}}},{package:"$root$",file:"ui/pages/snaps/snaps-list/index.js"}],[5901,{"../../../components/app/snaps/snap-list-item":4786,"../../../components/component-library":4955,"../../../components/multichain/pages/page":5152,"../../../helpers/constants/design-system":5355,"../../../helpers/constants/routes":5361,"../../../helpers/utils/settings-search":5395,"../../../helpers/utils/util":5399,"../../../hooks/useI18nContext":5427,"../../../selectors":5987,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n,s=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=h(t);if(a&&a.has(e))return a.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=s?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n.default=e,a&&a.set(e,n),n}(e("react")),r=e("react-redux"),o=e("react-router-dom"),i=(n=e("../../../components/app/snaps/snap-list-item"))&&n.__esModule?n:{default:n},l=e("../../../hooks/useI18nContext"),c=e("../../../helpers/constants/design-system"),u=e("../../../helpers/constants/routes"),d=e("../../../selectors"),p=e("../../../helpers/utils/settings-search"),f=e("../../../components/component-library"),m=e("../../../components/multichain/pages/page"),g=e("../../../helpers/utils/util");function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(h=function(e){return e?a:t})(e)}a.default=()=>{const e=(0,l.useI18nContext)(),t=(0,o.useHistory)(),a=(0,s.useRef)();(0,s.useEffect)((()=>{(0,p.handleSettingsRefs)(e,e("snaps"),a)}),[a,e]);const n=(0,r.useSelector)(d.getSnapsList),h=(0,r.useSelector)(d.getAllSnapAvailableUpdates);return s.default.createElement("div",{className:"snaps"},s.default.createElement(m.Page,{backgroundColor:c.BackgroundColor.backgroundDefault},s.default.createElement(m.Header,{backgroundColor:c.BackgroundColor.backgroundDefault,startAccessory:s.default.createElement(f.ButtonIcon,{ariaLabel:"Back",iconName:"arrow-left",size:"sm",onClick:()=>t.push(u.DEFAULT_ROUTE)})},e("snaps")),s.default.createElement(m.Content,{backgroundColor:c.BackgroundColor.backgroundDefault,className:"snaps__content"},s.default.createElement(f.Box,{className:"snaps__content__list",display:c.Display.Flex,flexDirection:c.FlexDirection.Column,height:c.BlockSize.Full},n.length>0&&s.default.createElement("div",{className:"snaps__content__list__body"},s.default.createElement("div",{className:"snaps__content__list__wrapper"},n.map((e=>s.default.createElement(i.default,{className:"snaps__content__list-item",key:e.key,packageName:e.packageName,name:e.name,onClick:()=>{(e=>{t.push((0,g.getSnapRoute)(e.id))})(e)},snapId:e.id,showUpdateDot:h.get(e.id)}))))),n.length<=5&&s.default.createElement(f.Box,{display:c.Display.Flex,height:c.BlockSize.Full,flexDirection:c.FlexDirection.Row,flexWrap:c.FlexWrap.Wrap,justifyContent:c.JustifyContent.center,className:"snaps__content__list__container--snaps-info-content"},n.length<1&&s.default.createElement(f.Box,{className:"snaps__content__list__container--no-snaps_inner",display:c.Display.Flex,flexDirection:c.FlexDirection.Column,justifyContent:c.JustifyContent.center,alignItems:c.AlignItems.center},s.default.createElement(f.Icon,{name:f.IconName.Snaps,color:c.IconColor.iconMuted,className:"snaps__content__list__no-snaps_icon",size:f.IconSize.Inherit}),s.default.createElement(f.Text,{color:c.Color.textMuted,align:c.TextAlign.Center,marginTop:4},e("noSnaps"))),s.default.createElement(f.Box,{display:c.Display.Flex,width:c.BlockSize.Full,height:c.BlockSize.Min}),s.default.createElement(f.Box,{className:"snaps__content__list__container--no-snaps_banner-tip",display:c.Display.Flex,flexDirection:c.FlexDirection.Column,justifyContent:c.JustifyContent.flexEnd,paddingLeft:4,paddingRight:4,paddingBottom:4},s.default.createElement(f.BannerTip,{logoType:f.BannerTipLogoType.Greeting,description:e("extendWalletWithSnaps"),descriptionProps:{variant:c.TextVariant.bodyMd}},s.default.createElement(f.ButtonLink,{size:c.Size.auto,href:"https://snaps.metamask.io/",target:"_blank",endIconName:f.IconName.Export},`${e("discoverSnaps")}`))))))))}}}},{package:"$root$",file:"ui/pages/snaps/snaps-list/snap-list.js"}],[5902,{"../../../../shared/constants/metametrics":4505,"../../../../shared/modules/selectors":4554,"../../../components/component-library":4955,"../../../components/ui/box":5194,"../../../components/ui/pulse-loader":5283,"../../../contexts/i18n":5324,"../../../contexts/metametrics":5327,"../../../ducks/swaps/swaps":5351,"../../../helpers/constants/design-system":5355,"../../../helpers/constants/routes":5361,"../../../selectors/selectors":5994,"../swaps-footer":5965,"./swap-step-icon":5904,"lodash/isEqual":3824,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=function(){const e=(0,n.useContext)(i.I18nContext),t=(0,r.useHistory)(),a=(0,s.useDispatch)(),b=(0,s.useSelector)(l.getFetchParams,o.default),{destinationTokenInfo:w,sourceTokenInfo:v}=(null==b?void 0:b.metaData)||{},k=(0,s.useSelector)(l.getApproveTxParams,s.shallowEqual),T=(0,s.useSelector)(c.isHardwareWallet),C=(0,s.useSelector)(c.getHardwareWalletType),x=(0,s.useSelector)(u.getSmartTransactionsOptInStatus),S=(0,s.useSelector)(u.getSmartTransactionsEnabled),N=(0,s.useSelector)(l.getCurrentSmartTransactionsEnabled),O=Boolean(k),I=(0,n.useContext)(h.MetaMetricsContext);(0,n.useEffect)((()=>{I({event:"Awaiting Signature(s) on a HW wallet",category:_.MetaMetricsEventCategory.Swaps,sensitiveProperties:{needs_two_confirmations:O,token_from:null==v?void 0:v.symbol,token_from_amount:null==b?void 0:b.value,token_to:null==w?void 0:w.symbol,request_type:null!=b&&b.balanceError?"Quote":"Order",slippage:null==b?void 0:b.slippage,custom_slippage:2===(null==b?void 0:b.slippage),is_hardware_wallet:T,hardware_wallet_type:C,stx_enabled:S,current_stx_enabled:N,stx_user_opt_in:x}})}),[]);const R=e(O?"swapTwoTransactions":"swapConfirmWithHwWallet");return n.default.createElement("div",{className:"awaiting-signatures"},n.default.createElement(f.default,{paddingLeft:8,paddingRight:8,height:m.BLOCK_SIZES.FULL,justifyContent:m.JustifyContent.center,display:m.DISPLAY.FLEX,className:"awaiting-signatures__content"},n.default.createElement(f.default,{marginTop:3,marginBottom:4},n.default.createElement(p.default,null)),n.default.createElement(E.Text,{color:m.TextColor.textDefault,variant:m.TextVariant.headingMd,as:"h3"},R),O&&n.default.createElement(n.default.Fragment,null,n.default.createElement(E.Text,{variant:m.TextVariant.bodyMdBold,marginTop:2},e("swapToConfirmWithHwWallet")),n.default.createElement("ul",{className:"awaiting-signatures__steps"},n.default.createElement("li",null,n.default.createElement(y.default,{stepNumber:1}),e("swapAllowSwappingOf",[n.default.createElement(E.Text,{as:"span",variant:m.TextVariant.bodyMdBold,key:"allowToken"},null==w?void 0:w.symbol)])),n.default.createElement("li",null,n.default.createElement(y.default,{stepNumber:2}),e("swapFromTo",[n.default.createElement(E.Text,{as:"span",variant:m.TextVariant.bodyMdBold,key:"tokenFrom"},null==v?void 0:v.symbol),n.default.createElement(E.Text,{as:"span",variation:m.TextVariant.bodyMdBold,key:"tokenTo"},null==w?void 0:w.symbol)]))),n.default.createElement(E.Text,{variant:m.TextVariant.bodyMd},e("swapGasFeesSplit")))),n.default.createElement(g.default,{onSubmit:async()=>{await a((0,l.prepareToLeaveSwaps)()),t.push(d.DEFAULT_ROUTE),t.push(d.BUILD_QUOTE_ROUTE)},submitText:e("cancel"),hideCancel:!0}))};var n=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=w(t);if(a&&a.has(e))return a.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=s?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n.default=e,a&&a.set(e,n),n}(e("react")),s=e("react-redux"),r=e("react-router-dom"),o=b(e("lodash/isEqual")),i=e("../../../contexts/i18n"),l=e("../../../ducks/swaps/swaps"),c=e("../../../selectors/selectors"),u=e("../../../../shared/modules/selectors"),d=e("../../../helpers/constants/routes"),p=b(e("../../../components/ui/pulse-loader")),f=b(e("../../../components/ui/box")),m=e("../../../helpers/constants/design-system"),g=b(e("../swaps-footer")),h=e("../../../contexts/metametrics"),_=e("../../../../shared/constants/metametrics"),E=e("../../../components/component-library"),y=b(e("./swap-step-icon"));function b(e){return e&&e.__esModule?e:{default:e}}function w(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(w=function(e){return e?a:t})(e)}}}},{package:"$root$",file:"ui/pages/swaps/awaiting-signatures/awaiting-signatures.js"}],[5903,{"./awaiting-signatures":5902},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return s.default}});var n,s=(n=e("./awaiting-signatures"))&&n.__esModule?n:{default:n}}}},{package:"$root$",file:"ui/pages/swaps/awaiting-signatures/index.js"}],[5904,{"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=o;var n=r(e("react")),s=r(e("prop-types"));function r(e){return e&&e.__esModule?e:{default:e}}function o({stepNumber:e=1}){switch(e){case 1:return n.default.createElement("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.default.createElement("circle",{cx:"7",cy:"7",r:"6.25",stroke:"var(--color-primary-default)",strokeWidth:"1.5"}),n.default.createElement("path",{d:"M6.50983 5.192H5.27783L6.14183 4H7.71783V9.68H6.50983V5.192Z",fill:"var(--color-primary-default)"}));case 2:return n.default.createElement("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.default.createElement("circle",{cx:"7",cy:"7",r:"6.25",stroke:"var(--color-primary-default)",strokeWidth:"1.5"}),n.default.createElement("path",{d:"M8.92 9.776H5V9.368C5 9.048 5.056 8.77067 5.168 8.536C5.28 8.296 5.42133 8.08533 5.592 7.904C5.768 7.71733 5.96267 7.54933 6.176 7.4C6.39467 7.25067 6.608 7.10133 6.816 6.952C6.928 6.872 7.03467 6.78933 7.136 6.704C7.24267 6.61867 7.33333 6.53067 7.408 6.44C7.488 6.34933 7.552 6.256 7.6 6.16C7.648 6.064 7.672 5.96533 7.672 5.864C7.672 5.67733 7.616 5.52 7.504 5.392C7.39733 5.25867 7.22933 5.192 7 5.192C6.88267 5.192 6.776 5.21333 6.68 5.256C6.584 5.29333 6.50133 5.344 6.432 5.408C6.368 5.472 6.31733 5.54667 6.28 5.632C6.248 5.71733 6.232 5.808 6.232 5.904H5.024C5.024 5.62667 5.07467 5.37067 5.176 5.136C5.27733 4.90133 5.41867 4.70133 5.6 4.536C5.78133 4.36533 5.99467 4.23467 6.24 4.144C6.48533 4.048 6.752 4 7.04 4C7.28 4 7.50933 4.03733 7.728 4.112C7.952 4.18667 8.14933 4.29867 8.32 4.448C8.49067 4.59733 8.62667 4.784 8.728 5.008C8.82933 5.22667 8.88 5.48267 8.88 5.776C8.88 6.032 8.85067 6.25867 8.792 6.456C8.73333 6.648 8.65067 6.824 8.544 6.984C8.44267 7.13867 8.32 7.28 8.176 7.408C8.032 7.536 7.87733 7.66133 7.712 7.784C7.64267 7.832 7.55733 7.888 7.456 7.952C7.36 8.016 7.26133 8.08267 7.16 8.152C7.064 8.22133 6.97333 8.29333 6.888 8.368C6.80267 8.44267 6.74133 8.51467 6.704 8.584H8.92V9.776Z",fill:"var(--color-primary-default)"}));default:return undefined}}o.propTypes={stepNumber:s.default.number}}}},{package:"$root$",file:"ui/pages/swaps/awaiting-signatures/swap-step-icon.js"}],[5905,{"../../../../shared/constants/metametrics":4505,"../../../../shared/constants/swaps":4516,"../../../../shared/lib/ui-utils":4532,"../../../../shared/modules/selectors":4554,"../../../../shared/modules/swaps.utils":4559,"../../../components/ui/mascot":5262,"../../../components/ui/pulse-loader":5283,"../../../contexts/i18n":5324,"../../../contexts/metametrics":5327,"../../../ducks/swaps/swaps":5351,"../../../helpers/constants/routes":5361,"../../../selectors":5987,"../../../store/actions":5998,"../create-new-swap":5915,"../swaps-footer":5965,"../swaps.util":5967,"../view-on-block-explorer":5969,"./quotes-timeout-icon":5907,"./swap-failure-icon":5908,"./swap-success-icon":5909,"@metamask/etherscan-link":1369,events:3328,"lodash/isEqual":3824,"prop-types":3997,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=M;var n=R(e("events")),s=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=I(t);if(a&&a.has(e))return a.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=s?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n.default=e,a&&a.set(e,n),n}(e("react")),r=e("react-redux"),o=R(e("prop-types")),i=e("react-router-dom"),l=R(e("lodash/isEqual")),c=e("@metamask/etherscan-link"),u=e("../../../contexts/i18n"),d=e("../../../contexts/metametrics"),p=e("../../../../shared/constants/metametrics"),f=e("../../../selectors"),m=e("../../../../shared/modules/selectors"),g=e("../../../ducks/swaps/swaps"),h=R(e("../../../components/ui/mascot")),_=e("../../../../shared/constants/swaps"),E=e("../../../../shared/modules/swaps.utils"),y=R(e("../../../components/ui/pulse-loader")),b=e("../../../helpers/constants/routes"),w=e("../../../store/actions"),v=e("../swaps.util"),k=R(e("../swaps-footer")),T=R(e("../create-new-swap")),C=R(e("../view-on-block-explorer")),x=e("../../../../shared/lib/ui-utils"),S=R(e("./swap-failure-icon")),N=R(e("./swap-success-icon")),O=R(e("./quotes-timeout-icon"));function I(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(I=function(e){return e?a:t})(e)}function R(e){return e&&e.__esModule?e:{default:e}}function M({swapComplete:e,errorKey:t,txHash:a,tokensReceived:o,submittingSwap:I,txId:R}){const M=(0,s.useContext)(u.I18nContext),P=(0,s.useContext)(d.MetaMetricsContext),D=(0,i.useHistory)(),A=(0,r.useDispatch)(),L=(0,s.useRef)(new n.default),{swapMetaData:j}=(0,r.useSelector)((e=>(0,f.getFullTxData)(e,R)))||{},F=(0,r.useSelector)(g.getFetchParams,l.default),B=(0,r.useSelector)(g.getFromTokenInputValue),U=(0,r.useSelector)(g.getMaxSlippage),W=(0,r.useSelector)(g.getUsedQuote,l.default),q=(0,r.useSelector)(g.getApproveTxParams,r.shallowEqual),$=(0,r.useSelector)(g.getUsedSwapsGasPrice),V=(0,r.useSelector)(f.getCurrentCurrency),H=(0,r.useSelector)(f.getUSDConversionRate),K=(0,r.useSelector)(f.getCurrentChainId),Q=(0,r.useSelector)(f.getRpcPrefsForCurrentProvider,r.shallowEqual),[z,G]=(0,s.useState)(!1);let Y;if(W&&$){var Z;Y=(0,v.getRenderableNetworkFeesForQuote)({tradeGas:W.gasEstimateWithRefund||W.averageGas,approveGas:(null==q?void 0:q.gas)||"0x0",gasPrice:$,currentCurrency:V,conversionRate:H,tradeValue:null==W||null===(Z=W.trade)||void 0===Z?void 0:Z.value,sourceSymbol:null==j?void 0:j.token_from,sourceAmount:W.sourceAmount,chainId:K}).rawNetworkFees}const J=(0,r.useSelector)(f.isHardwareWallet),X=(0,r.useSelector)(f.getHardwareWalletType),ee=(0,r.useSelector)(m.getSmartTransactionsOptInStatus),te=(0,r.useSelector)(m.getSmartTransactionsEnabled),ae=(0,r.useSelector)(g.getCurrentSmartTransactionsEnabled),ne={token_from:null==j?void 0:j.token_from,token_from_amount:null==j?void 0:j.token_from_amount,token_to:null==j?void 0:j.token_to,request_type:null!=F&&F.balanceError?"Quote":"Order",slippage:null==j?void 0:j.slippage,custom_slippage:2===(null==j?void 0:j.slippage),gas_fees:Y,is_hardware_wallet:J,hardware_wallet_type:X,stx_enabled:te,current_stx_enabled:ae,stx_user_opt_in:ee},se=Q.blockExplorerUrl??_.SWAPS_CHAINID_DEFAULT_BLOCK_EXPLORER_URL_MAP[K]??null,re=(0,c.getBlockExplorerLink)({hash:a,chainId:K},{blockExplorerUrl:se});let oe,ie,le,ce,ue;return t===_.OFFLINE_FOR_MAINTENANCE?(oe=M("offlineForMaintenance"),le=M("metamaskSwapsOfflineDescription"),ce=M("close"),ie=s.default.createElement(S.default,null)):t===_.SWAP_FAILED_ERROR?(oe=M("swapFailedErrorTitle"),le=M("swapFailedErrorDescriptionWithSupportLink",[s.default.createElement("a",{className:"awaiting-swap__support-link",key:"awaiting-swap-support-link",href:x.SUPPORT_LINK,target:"_blank",rel:"noopener noreferrer",onClick:()=>{P({category:p.MetaMetricsEventCategory.Swaps,event:p.MetaMetricsEventName.SupportLinkClicked,properties:{url:x.SUPPORT_LINK}},{contextPropsIntoEventProperties:[p.MetaMetricsContextProp.PageTitle]})}},new URL(x.SUPPORT_LINK).hostname)]),ce=M("tryAgain"),ie=s.default.createElement(S.default,null),ue=re&&s.default.createElement(C.default,{blockExplorerUrl:re,sensitiveTrackingProperties:ne})):t===_.QUOTES_EXPIRED_ERROR?(oe=M("swapQuotesExpiredErrorTitle"),le=M("swapQuotesExpiredErrorDescription"),ce=M("tryAgain"),ie=s.default.createElement(O.default,null),z||(G(!0),P({event:"Quotes Timed Out",category:p.MetaMetricsEventCategory.Swaps,sensitiveProperties:ne}))):t===_.ERROR_FETCHING_QUOTES?(oe=M("swapFetchingQuotesErrorTitle"),le=M("swapFetchingQuotesErrorDescription"),ce=M("back"),ie=s.default.createElement(S.default,null)):t===_.QUOTES_NOT_AVAILABLE_ERROR?(oe=M("swapQuotesNotAvailableErrorTitle"),le=M("swapQuotesNotAvailableErrorDescription"),ce=M("tryAgain"),ie=s.default.createElement(S.default,null)):t===_.CONTRACT_DATA_DISABLED_ERROR?(oe=M("swapContractDataDisabledErrorTitle"),le=M("swapContractDataDisabledErrorDescription"),ce=M("tryAgain"),ie=s.default.createElement(S.default,null)):t||e?!t&&e&&(oe=M("swapTransactionComplete"),ie=s.default.createElement(N.default,null),ce=M("close"),le=M("swapTokenAvailable",[s.default.createElement("span",{key:"swapTokenAvailable-2",className:"awaiting-swap__amount-and-symbol"},`${o||""} ${null==j?void 0:j.token_to}`)]),ue=re&&s.default.createElement(C.default,{blockExplorerUrl:re,sensitiveTrackingProperties:ne})):(oe=M("swapProcessing"),ie=s.default.createElement(y.default,null),ce=M("swapsViewInActivity"),le=M("swapOnceTransactionHasProcess",[s.default.createElement("span",{key:"swapOnceTransactionHasProcess-1",className:"awaiting-swap__amount-and-symbol","data-testid":"awaiting-swap-amount-and-symbol"},null==j?void 0:j.token_to)]),ue=re&&s.default.createElement(C.default,{blockExplorerUrl:re,sensitiveTrackingProperties:ne})),(0,s.useEffect)((()=>{t&&A((0,w.stopPollingForQuotes)())}),[A,t]),s.default.createElement("div",{className:"awaiting-swap"},s.default.createElement("div",{className:"awaiting-swap__content"},!(e||t)&&s.default.createElement(h.default,{animationEventEmitter:L.current,width:"90",height:"90"}),s.default.createElement("div",{className:"awaiting-swap__status-image"},ie),s.default.createElement("div",{className:"awaiting-swap__header","data-testid":"awaiting-swap-header"},oe),s.default.createElement("div",{className:"awaiting-swap__main-description","data-testid":"awaiting-swap-main-description"},le),ue),!t&&e?s.default.createElement(T.default,{sensitiveTrackingProperties:ne}):null,s.default.createElement(k.default,{onSubmit:async()=>{t===_.OFFLINE_FOR_MAINTENANCE?(await A((0,g.prepareToLeaveSwaps)()),D.push(b.DEFAULT_ROUTE)):t===_.QUOTES_EXPIRED_ERROR?(A((0,g.prepareForRetryGetQuotes)()),await A((0,g.fetchQuotesAndSetQuoteState)(D,B,U,P))):t?await A((0,g.navigateBackToBuildQuote)(D)):((0,E.isSwapsDefaultTokenSymbol)(null==j?void 0:j.token_to,K)||e||await A((0,w.setDefaultHomeActiveTabName)("activity")),D.push(b.DEFAULT_ROUTE))},onCancel:async()=>await A((0,g.navigateBackToBuildQuote)(D)),submitText:ce,disabled:I,hideCancel:t!==_.QUOTES_EXPIRED_ERROR}))}M.propTypes={swapComplete:o.default.bool,txHash:o.default.string,tokensReceived:o.default.string,errorKey:o.default.oneOf([_.QUOTES_EXPIRED_ERROR,_.SWAP_FAILED_ERROR,_.ERROR_FETCHING_QUOTES,_.QUOTES_NOT_AVAILABLE_ERROR,_.OFFLINE_FOR_MAINTENANCE,_.CONTRACT_DATA_DISABLED_ERROR]),submittingSwap:o.default.bool,txId:o.default.string}}}},{package:"$root$",file:"ui/pages/swaps/awaiting-swap/awaiting-swap.js"}],[5906,{"./awaiting-swap":5905},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return s.default}});var n,s=(n=e("./awaiting-swap"))&&n.__esModule?n:{default:n}}}},{package:"$root$",file:"ui/pages/swaps/awaiting-swap/index.js"}],[5907,{react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=function(){return s.default.createElement("svg",{width:"44",height:"44",viewBox:"0 0 44 44",fill:"none",xmlns:"http://www.w3.org/2000/svg"},s.default.createElement("path",{d:"M22 0C9.96768 0 0.178406 9.78928 0.178406 21.8216C0.178406 33.8539 9.96768 43.6432 22 43.6432C34.0323 43.6432 43.8216 33.8539 43.8216 21.8216C43.8216 9.78929 34.0323 0 22 0ZM22 3.27324C32.2633 3.27324 40.5484 11.5583 40.5484 21.8216C40.5484 32.0849 32.2633 40.3699 22 40.3699C11.7367 40.3699 3.45164 32.0849 3.45164 21.8216C3.45164 11.5583 11.7367 3.27324 22 3.27324ZM22 6.00094C21.0961 6.00094 20.3634 6.73371 20.3634 7.63756V21.8216C20.3634 22.4269 20.6932 22.9534 21.1817 23.2366L32.5187 29.783C33.3014 30.235 34.3001 29.9692 34.752 29.1864C35.2039 28.4036 34.938 27.405 34.1553 26.953L23.6366 20.8839V7.63756C23.6366 6.73371 22.9039 6.00094 22 6.00094Z",fill:"var(--color-primary-default)"}))};var n,s=(n=e("react"))&&n.__esModule?n:{default:n}}}},{package:"$root$",file:"ui/pages/swaps/awaiting-swap/quotes-timeout-icon.js"}],[5908,{react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=function(){return s.default.createElement("svg",{width:"45",height:"39",viewBox:"0 0 45 39",fill:"none",xmlns:"http://www.w3.org/2000/svg"},s.default.createElement("path",{d:"M22.203 0.424438L0.285706 38.2816H44.1203L22.203 0.424438ZM22.203 8.39436L37.2064 34.2966H7.19961L22.203 8.39436ZM20.2105 16.3643V24.3342H24.1955V16.3643H20.2105ZM20.2105 28.3192V32.3041H24.1955V28.3192",fill:"var(--color-error-default)"}))};var n,s=(n=e("react"))&&n.__esModule?n:{default:n}}}},{package:"$root$",file:"ui/pages/swaps/awaiting-swap/swap-failure-icon.js"}],[5909,{react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=function(){return s.default.createElement("svg",{width:"38",height:"38",viewBox:"0 0 38 38",fill:"none",xmlns:"http://www.w3.org/2000/svg"},s.default.createElement("path",{d:"M34.1429 19C34.1429 23.0161 32.5474 26.8678 29.7076 29.7076C26.8678 32.5474 23.0161 34.1428 19 34.1428C14.9839 34.1428 11.1322 32.5474 8.29238 29.7076C5.45254 26.8678 3.85714 23.0161 3.85714 19C3.85714 14.9838 5.45254 11.1322 8.29238 8.29237C11.1322 5.45253 14.9839 3.85713 19 3.85713C20.4386 3.85713 21.8393 4.06534 23.1643 4.44391L26.1361 1.47213C23.9404 0.563554 21.5364 0.0714111 19 0.0714111C16.5143 0.0714111 14.0529 0.561013 11.7563 1.51226C9.45983 2.46351 7.37316 3.85778 5.61548 5.61546C2.06568 9.16526 0.0714264 13.9798 0.0714264 19C0.0714264 24.0201 2.06568 28.8347 5.61548 32.3845C7.37316 34.1422 9.45983 35.5364 11.7563 36.4877C14.0529 37.4389 16.5143 37.9286 19 37.9286C24.0202 37.9286 28.8347 35.9343 32.3845 32.3845C35.9343 28.8347 37.9286 24.0201 37.9286 19H34.1429ZM11.2582 15.3657L8.58928 18.0536L17.1071 26.5714L36.0357 7.64284L33.3668 4.95498L17.1071 21.2146L11.2582 15.3657Z",fill:"var(--color-success-default)"}))};var n,s=(n=e("react"))&&n.__esModule?n:{default:n}}}},{package:"$root$",file:"ui/pages/swaps/awaiting-swap/swap-success-icon.js"}],[5910,{"../../../../shared/constants/metametrics":4505,"../../../../shared/constants/swaps":4516,"../../../../shared/lib/swaps-utils":4528,"../../../../shared/lib/token-util":4530,"../../../../shared/lib/transactions-controller-utils":4531,"../../../../shared/modules/conversion.utils":4537,"../../../../shared/modules/selectors":4554,"../../../../shared/modules/string-utils":4558,"../../../../shared/modules/swaps.utils":4559,"../../../components/ui/actionable-message/actionable-message":5190,"../../../components/ui/info-tooltip":5248,"../../../contexts/i18n":5324,"../../../contexts/metametrics":5327,"../../../ducks/metamask/metamask":5346,"../../../ducks/swaps/swaps":5351,"../../../helpers/constants/routes":5361,"../../../helpers/utils/util":5399,"../../../hooks/useEqualityCheck":5422,"../../../hooks/useEthFiatAmount":5423,"../../../hooks/usePrevious":5436,"../../../hooks/useTokenFiatAmount":5446,"../../../hooks/useTokenTracker":5447,"../../../hooks/useTokensToSearch":5448,"../../../selectors":5987,"../../../store/actions":5998,"../dropdown-input-pair":5917,"../dropdown-search-list":5919,"../slippage-buttons":5954,"../swaps-footer":5965,"../swaps.util":5967,"@metamask/etherscan-link":1369,"bignumber.js":2933,classnames:3049,lodash:3836,"prop-types":3997,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=H;var n=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=q(t);if(a&&a.has(e))return a.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=s?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n.default=e,a&&a.set(e,n),n}(e("react")),s=W(e("bignumber.js")),r=W(e("prop-types")),o=e("react-redux"),i=W(e("classnames")),l=e("lodash"),c=e("react-router-dom"),u=e("@metamask/etherscan-link"),d=e("../../../contexts/metametrics"),p=e("../../../hooks/useTokensToSearch"),f=e("../../../hooks/useEqualityCheck"),m=e("../../../contexts/i18n"),g=W(e("../dropdown-input-pair")),h=W(e("../dropdown-search-list")),_=W(e("../slippage-buttons")),E=e("../../../ducks/metamask/metamask"),y=W(e("../../../components/ui/info-tooltip")),b=W(e("../../../components/ui/actionable-message/actionable-message")),w=e("../../../helpers/constants/routes"),v=e("../../../ducks/swaps/swaps"),k=e("../../../selectors"),T=e("../../../../shared/modules/selectors"),C=e("../../../helpers/utils/util"),x=e("../../../hooks/usePrevious"),S=e("../../../hooks/useTokenTracker"),N=e("../../../hooks/useTokenFiatAmount"),O=e("../../../hooks/useEthFiatAmount"),I=e("../../../../shared/modules/swaps.utils"),R=e("../../../../shared/constants/metametrics"),M=e("../../../../shared/constants/swaps"),P=e("../../../store/actions"),D=e("../swaps.util"),A=W(e("../swaps-footer")),L=e("../../../../shared/modules/string-utils"),j=e("../../../../shared/lib/transactions-controller-utils"),F=e("../../../../shared/lib/token-util"),B=e("../../../../shared/lib/swaps-utils"),U=e("../../../../shared/modules/conversion.utils");function W(e){return e&&e.__esModule?e:{default:e}}function q(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(q=function(e){return e?a:t})(e)}const $=[{name:"name",weight:.499},{name:"symbol",weight:.499},{name:"address",weight:.002}];let V;function H({ethBalance:e,selectedAccountAddress:t,shuffledTokensList:a}){var r;const W=(0,n.useContext)(m.I18nContext),q=(0,o.useDispatch)(),H=(0,c.useHistory)(),K=(0,n.useContext)(d.MetaMetricsContext),[Q,z]=(0,n.useState)(undefined),[G,Y]=(0,n.useState)(!1),Z=(0,o.useSelector)(v.getIsFeatureFlagLoaded),J=(0,o.useSelector)(v.getBalanceError),X=(0,o.useSelector)(v.getFetchParams,l.isEqual),{sourceTokenInfo:ee={},destinationTokenInfo:te={}}=(null==X?void 0:X.metaData)||{},ae=(0,o.useSelector)(E.getTokens,l.isEqual),ne=(0,o.useSelector)(v.getTopAssets,l.isEqual),se=(0,o.useSelector)(v.getFromToken,l.isEqual),re=(0,o.useSelector)(v.getFromTokenInputValue),oe=(0,o.useSelector)(v.getFromTokenError),ie=(0,o.useSelector)(v.getMaxSlippage),le=(0,o.useSelector)(v.getToToken,l.isEqual)||te,ce=(0,o.useSelector)(k.getSwapsDefaultToken,l.isEqual),ue=(0,o.useSelector)(k.getCurrentChainId),de=(0,o.useSelector)(k.getRpcPrefsForCurrentProvider,o.shallowEqual),pe=(0,o.useSelector)(k.getTokenList,l.isEqual),fe=(0,o.useSelector)(v.getQuotes,l.isEqual),me=Object.keys(fe).length>0,ge=(0,o.useSelector)(v.getLatestAddedTokenTo,l.isEqual),he=(0,o.useSelector)(k.getTokenExchangeRates,l.isEqual),_e=(0,o.useSelector)(E.getConversionRate),Ee=(0,o.useSelector)(k.getUseCurrencyRateCheck),ye=(0,o.useSelector)(k.isHardwareWallet),be=(0,o.useSelector)(k.getHardwareWalletType),we=(0,o.useSelector)(T.getSmartTransactionsOptInStatus),ve=(0,o.useSelector)(T.getSmartTransactionsEnabled),ke=(0,o.useSelector)(v.getCurrentSmartTransactionsEnabled),Te=(0,o.useSelector)(v.getSmartTransactionFees),Ce=(0,o.useSelector)(k.getCurrentCurrency),xe=(0,I.isSwapsDefaultTokenSymbol)(null==ee?void 0:ee.symbol,ue)?ce:ee,{loading:Se,tokensWithBalances:Ne}=(0,S.useTokenTracker)({tokens:ae}),Oe=!(0,I.isSwapsDefaultTokenSymbol)(null==se?void 0:se.symbol,ue)&&null!=se&&se.balance?[se]:[],Ie=(0,l.uniqBy)([...Ne,...ae,...Oe],"address"),Re=(0,f.useEqualityCheck)(Ie),Me=(0,p.getRenderableTokenData)(se||xe,he,_e,Ce,ue,pe),Pe=(0,p.useTokensToSearch)({usersTokens:Re,topTokens:ne,shuffledTokensList:a,tokenBucketPriority:M.TokenBucketPriority.owned}),De=(0,p.useTokensToSearch)({usersTokens:Re,topTokens:ne,shuffledTokensList:a,tokenBucketPriority:M.TokenBucketPriority.top}),Ae=Pe.find((({address:e})=>(0,L.isEqualCaseInsensitive)(e,null==le?void 0:le.address)))||le,Le=(null==Ae?void 0:Ae.address)&&!(0,I.isSwapsDefaultTokenAddress)(null==Ae?void 0:Ae.address,ue),je=Number((null==Ae?void 0:Ae.occurances)||(null==Ae?void 0:Ae.occurrences)||0),{address:Fe,symbol:Be,string:Ue,decimals:We,balance:qe}=Me||{},{address:$e}=Ae||{},Ve=qe&&(0,j.calcTokenAmount)(qe,We).toString(10),He=(0,x.usePrevious)(Ve),Ke=(0,N.useTokenFiatAmount)(Fe,re||0,Be,{showFiat:Ee},!0),Qe=(0,O.useEthFiatAmount)(re||0,{showFiat:Ee},!0),ze=(0,I.isSwapsDefaultTokenSymbol)(Be,ue)?Qe:Ke,Ge=(0,n.useCallback)(((e,t)=>{q((0,v.setFromTokenInputValue)(e));const a=new s.default(e||0).gt(t||0);J!==a&&q((0,v.setBalanceError)(a)),q((0,v.setFromTokenError)(se&&(0,D.countDecimals)(e)>se.decimals?"tooManyDecimals":null))}),[q,se,J]),Ye=e=>{null!=e&&e.address&&!ze&&null!==Q?(0,D.fetchTokenPrice)(e.address).then((e=>{null!==e&&e!==undefined&&z(e)})):z(null),null!=e&&e.address&&!Re.find((t=>(0,L.isEqualCaseInsensitive)(t.address,e.address)))&&(0,F.fetchTokenBalance)(e.address,t,global.ethereumProvider).then((t=>{if(null!=t&&t.balance){const a=t.balance.toString(10),n=(0,j.calcTokenAmount)(a,e.decimals);q((0,v.setSwapsFromToken)({...e,string:n.toString(10),balance:a}))}})),q((0,v.setSwapsFromToken)(e)),Ge(null!=e&&e.address?re:"",e.string,e.decimals)},Ze=(0,u.getTokenTrackerLink)(Ae.address,ue,null,null,{blockExplorerUrl:M.SWAPS_CHAINID_DEFAULT_BLOCK_EXPLORER_URL_MAP[ue]??null}),Je=de.blockExplorerUrl?(0,C.getURLHostName)(Ze):W("etherscan"),{address:Xe}=le||{},et=(0,n.useCallback)((e=>{ge&&e.address!==Xe&&q((0,P.ignoreTokens)({tokensToIgnore:Xe,dontShowLoadingIndicator:!0})),q((0,v.setSwapToToken)(e)),Y(!1)}),[q,ge,Xe]),tt=(0,n.useCallback)((e=>(0,L.isEqualCaseInsensitive)(e.address,Fe)),[Fe]),at=Ne.find((e=>(0,L.isEqualCaseInsensitive)(e.address,null==se?void 0:se.address))),nt=(0,x.usePrevious)(at);(0,n.useEffect)((()=>{const e=!(0,I.isSwapsDefaultTokenAddress)(null==at?void 0:at.address,ue),t=(0,L.isEqualCaseInsensitive)(null==at?void 0:at.address,null==nt?void 0:nt.address),a=(null==at?void 0:at.balance)!==(null==nt?void 0:nt.balance);e&&t&&a&&q((0,v.setSwapsFromToken)({...se,balance:null==at?void 0:at.balance,string:null==at?void 0:at.string}))}),[q,at,nt,se,ue]),(0,n.useEffect)((()=>{(0,I.isSwapsDefaultTokenAddress)(null==se?void 0:se.address,ue)&&(null==se?void 0:se.balance)!==(0,U.hexToDecimal)(e)&&q((0,v.setSwapsFromToken)({...se,balance:(0,U.hexToDecimal)(e),string:(0,U.getValueFromWeiHex)({value:e,numberOfDecimals:4,toDenomination:"ETH"})}))}),[q,se,e,ue]),(0,n.useEffect)((()=>{He!==Ve&&Ge(re,Ve)}),[Ge,He,re,Ve]);const st=(0,n.useCallback)((()=>{K({event:"Build Quote Page Loaded",category:R.MetaMetricsEventCategory.Swaps,sensitiveProperties:{is_hardware_wallet:ye,hardware_wallet_type:be,stx_enabled:ve,current_stx_enabled:ke,stx_user_opt_in:we}})}),[K,ye,be,ve,ke,we]);(0,n.useEffect)((()=>{q((0,P.resetSwapsPostFetchState)()),q((0,v.setReviewSwapClickedTimestamp)()),st()}),[q,st]),(0,n.useEffect)((()=>{ve&&null!=Te&&Te.tradeTxFees&&(0,P.clearSmartTransactionFees)()}),[ve,Te]);const rt=()=>n.default.createElement("a",{className:"build-quote__token-etherscan-link build-quote__underline",key:"build-quote-etherscan-link",onClick:()=>{K({event:R.MetaMetricsEventName.ExternalLinkClicked,category:R.MetaMetricsEventCategory.Swaps,properties:{link_type:R.MetaMetricsEventLinkType.TokenTracker,location:"Swaps Confirmation",url_domain:(0,C.getURLHostName)(Ze)}}),global.platform.openTab({url:Ze})},target:"_blank",rel:"noopener noreferrer"},Je);let ot="";Ze&&(1===je?ot=W("verifyThisTokenOn",[n.default.createElement(rt,{key:"block-explorer-link"})]):0===je&&(ot=W("verifyThisUnconfirmedTokenOn",[n.default.createElement(rt,{key:"block-explorer-link"})])));const it=W("swapYourTokenBalance",[Ue||"0",Be||(null===(r=M.SWAPS_CHAINID_DEFAULT_TOKEN_MAP[ue])||void 0===r?void 0:r.symbol)||""]),lt=(0,B.shouldEnableDirectWrapping)(ue,Fe,Ae.address),ct=oe||!Z||!Number(re)||!(null!=Ae&&Ae.address)||!Fe||Number(ie)<0||Number(ie)>M.MAX_ALLOWED_SLIPPAGE||Le&&je<2&&!G;return(0,n.useEffect)((()=>{q((0,P.clearSwapsQuotes)()),q((0,P.stopPollingForQuotes)());return V=setTimeout((()=>{V=null,ct||(async()=>{await q((0,v.fetchQuotesAndSetQuoteState)(H,re,ie,K,!0))})()}),1e3),()=>clearTimeout(V)}),[q,H,ie,K,ct,re,Fe,$e,we]),n.default.createElement("div",{className:"build-quote"},n.default.createElement("div",{className:"build-quote__content"},n.default.createElement("div",{className:"build-quote__dropdown-input-pair-header"},n.default.createElement("div",{className:"build-quote__input-label"},W("swapSwapFrom")),!(0,I.isSwapsDefaultTokenSymbol)(Be,ue)&&n.default.createElement("div",{className:"build-quote__max-button","data-testid":"build-quote__max-button",onClick:()=>Ge(Ve||"0",Ve)},W("max"))),n.default.createElement(g.default,{onSelect:Ye,itemsToSearch:Pe,onInputChange:e=>{Ge(e,Ve)},inputValue:re,leftValue:re&&ze,selectedItem:Me,maxListItems:30,loading:Se&&(!(null!=Pe&&Pe.length)||!ne||!Object.keys(ne).length),selectPlaceHolderText:W("swapSelect"),hideItemIf:e=>(0,L.isEqualCaseInsensitive)(e.address,null==Ae?void 0:Ae.address),listContainerClassName:"build-quote__open-dropdown",autoFocus:!0}),n.default.createElement("div",{className:(0,i.default)("build-quote__balance-message",{"build-quote__balance-message--error":J||oe})},!oe&&!J&&Be&&it,!oe&&J&&Be&&n.default.createElement("div",{className:"build-quite__insufficient-funds"},n.default.createElement("div",{className:"build-quite__insufficient-funds-first"},W("swapsNotEnoughForTx",[Be])),n.default.createElement("div",{className:"build-quite__insufficient-funds-second"},it)),oe&&n.default.createElement(n.default.Fragment,null,n.default.createElement("div",{className:"build-quote__form-error"},W("swapTooManyDecimalsError",[Be,We])),n.default.createElement("div",null,it))),n.default.createElement("div",{className:"build-quote__swap-arrows-row"},n.default.createElement("button",{className:"build-quote__swap-arrows","data-testid":"build-quote__swap-arrows",onClick:()=>{et(Me),Ye(Ae)}},n.default.createElement("i",{className:"fa fa-arrow-up",title:W("swapSwapSwitch")}),n.default.createElement("i",{className:"fa fa-arrow-down",title:W("swapSwapSwitch")}))),n.default.createElement("div",{className:"build-quote__dropdown-swap-to-header"},n.default.createElement("div",{className:"build-quote__input-label"},W("swapSwapTo"))),n.default.createElement("div",{className:"dropdown-input-pair dropdown-input-pair__to"},n.default.createElement(h.default,{startingItem:Ae,itemsToSearch:De,fuseSearchKeys:$,selectPlaceHolderText:W("swapSelectAToken"),maxListItems:30,onSelect:et,loading:Se&&(!(null!=De&&De.length)||!ne||!Object.keys(ne).length),externallySelectedItem:Ae,hideItemIf:tt,listContainerClassName:"build-quote__open-to-dropdown",hideRightLabels:!0,defaultToAll:!0,shouldSearchForImports:!0})),Le&&(je<2?n.default.createElement(b.default,{type:1===je?"warning":"danger",message:n.default.createElement("div",{className:"build-quote__token-verification-warning-message"},n.default.createElement("div",{className:"build-quote__bold"},W(1===je?"swapTokenVerificationOnlyOneSource":"swapTokenVerificationAddedManually")),n.default.createElement("div",null,ot)),primaryAction:G?null:{label:W("continue"),onClick:()=>Y(!0)},withRightButton:!0,infoTooltipText:Ze&&W("swapVerifyTokenExplanation",[Je])}):n.default.createElement("div",{className:"build-quote__token-message"},n.default.createElement("span",{className:"build-quote__bold",key:"token-verification-bold-text"},W("swapTokenVerificationSources",[je])),Ze&&n.default.createElement(n.default.Fragment,null,W("swapTokenVerificationMessage",[n.default.createElement("a",{className:"build-quote__token-etherscan-link",key:"build-quote-etherscan-link",onClick:()=>{K({event:"Clicked Block Explorer Link",category:R.MetaMetricsEventCategory.Swaps,properties:{link_type:"Token Tracker",action:"Swaps Confirmation",block_explorer_domain:(0,C.getURLHostName)(Ze)}}),global.platform.openTab({url:Ze})},target:"_blank",rel:"noopener noreferrer"},Je)]),n.default.createElement(y.default,{position:"top",contentText:W("swapVerifyTokenExplanation",[Je]),containerClassName:"build-quote__token-tooltip-container",key:"token-verification-info-tooltip"})))),!lt&&n.default.createElement("div",{className:"build-quote__slippage-buttons-container"},n.default.createElement(_.default,{onSelect:e=>{q((0,v.setMaxSlippage)(e))},maxAllowedSlippage:M.MAX_ALLOWED_SLIPPAGE,currentSlippage:ie,isDirectWrappingEnabled:lt}))),n.default.createElement(A.default,{onSubmit:async()=>{q((0,v.setReviewSwapClickedTimestamp)(Date.now())),V?(clearTimeout(V),q((0,v.fetchQuotesAndSetQuoteState)(H,re,ie,K))):me?H.push(w.VIEW_QUOTE_ROUTE):(await q((0,P.setBackgroundSwapRouteState)("loading")),H.push(w.LOADING_QUOTES_ROUTE))},submitText:W("swapReviewSwap"),disabled:ct,hideCancel:!0,showTermsOfService:!0}))}H.propTypes={ethBalance:r.default.string,selectedAccountAddress:r.default.string,shuffledTokensList:r.default.array}}}},{package:"$root$",file:"ui/pages/swaps/build-quote/build-quote.js"}],[5911,{"./build-quote":5910},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return s.default}});var n,s=(n=e("./build-quote"))&&n.__esModule?n:{default:n}}}},{package:"$root$",file:"ui/pages/swaps/build-quote/index.js"}],[5912,{"../../../../shared/constants/time":4518,"../../../components/ui/info-tooltip":5248,"../../../contexts/i18n":5324,"../../../ducks/swaps/swaps":5351,classnames:3049,luxon:3843,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=_;var n=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=f(t);if(a&&a.has(e))return a.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=s?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n.default=e,a&&a.set(e,n),n}(e("react")),s=e("react-redux"),r=p(e("prop-types")),o=p(e("classnames")),i=e("luxon"),l=e("../../../contexts/i18n"),c=p(e("../../../components/ui/info-tooltip")),u=e("../../../ducks/swaps/swaps"),d=e("../../../../shared/constants/time");function p(e){return e&&e.__esModule?e:{default:e}}function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(f=function(e){return e?a:t})(e)}function m(e,t,a){return a-(e-t)}function g(e){return Math.max(e-d.SECOND,0)}function h(e,t){const[a,n]=t.split(":");return e<=(60*Number(a)+Number(n))*d.SECOND}function _({timeStarted:e,timeOnly:t,timerBase:a,warningTime:r,labelKey:p,infoTooltipLabelKey:f}){const _=(0,n.useContext)(l.I18nContext),E=(0,n.useRef)(),y=(0,n.useRef)(),b=(0,s.useSelector)(u.getSwapsQuoteRefreshTime),w=(0,s.useSelector)(u.getSwapsQuotePrefetchingRefreshTime),v=y.current?b:w,k=Number(a)||v,[T,C]=(0,n.useState)((()=>Date.now())),[x,S]=(0,n.useState)((()=>m(T,e,k)));(0,n.useEffect)((()=>(E.current===undefined&&(E.current=setInterval((()=>{S(g)}),d.SECOND)),function(){clearInterval(E.current)})),[]),(0,n.useEffect)((()=>{if(y.current||(y.current=e||Date.now()),0===x&&e!==y.current){y.current=e;const t=Date.now();C(t),S(m(t,e,k)),clearInterval(E.current),E.current=setInterval((()=>{S(g)}),d.SECOND)}}),[e,x,k]);const N=i.Duration.fromMillis(x).toFormat("m:ss");let O;return t?O=n.default.createElement("div",{className:"countdown-timer__time"},N):p&&(O=_(p,[n.default.createElement("div",{key:"countdown-time-1",className:"countdown-timer__time"},N)])),n.default.createElement("div",{className:"countdown-timer"},n.default.createElement("div",{"data-testid":"countdown-timer__timer-container",className:(0,o.default)("countdown-timer__timer-container",{"countdown-timer__timer-container--warning":r&&h(x,r)})},O),!t&&f?n.default.createElement(c.default,{position:"bottom",contentText:_(f)}):null)}_.propTypes={timeStarted:r.default.number,timeOnly:r.default.bool,timerBase:r.default.number,warningTime:r.default.string,labelKey:r.default.string,infoTooltipLabelKey:r.default.string}}}},{package:"$root$",file:"ui/pages/swaps/countdown-timer/countdown-timer.js"}],[5913,{"./countdown-timer":5912},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return s.default}});var n,s=(n=e("./countdown-timer"))&&n.__esModule?n:{default:n}}}},{package:"$root$",file:"ui/pages/swaps/countdown-timer/index.js"}],[5914,{"../../../../shared/constants/metametrics":4505,"../../../components/ui/box":5194,"../../../contexts/i18n":5324,"../../../contexts/metametrics":5327,"../../../ducks/swaps/swaps":5351,"../../../helpers/constants/routes":5361,"../../../selectors":5987,"lodash/isEqual":3824,"prop-types":3997,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=_;var n=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=h(t);if(a&&a.has(e))return a.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=s?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n.default=e,a&&a.set(e,n),n}(e("react")),s=e("react-redux"),r=g(e("prop-types")),o=e("react-router-dom"),i=g(e("lodash/isEqual")),l=g(e("../../../components/ui/box")),c=e("../../../contexts/i18n"),u=e("../../../contexts/metametrics"),d=e("../../../../shared/constants/metametrics"),p=e("../../../ducks/swaps/swaps"),f=e("../../../helpers/constants/routes"),m=e("../../../selectors");function g(e){return e&&e.__esModule?e:{default:e}}function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(h=function(e){return e?a:t})(e)}function _({sensitiveTrackingProperties:e}){const t=(0,n.useContext)(c.I18nContext),a=(0,n.useContext)(u.MetaMetricsContext),r=(0,s.useDispatch)(),g=(0,o.useHistory)(),h=(0,s.useSelector)(m.getSwapsDefaultToken,i.default);return n.default.createElement(l.default,{marginBottom:3,className:"create-new-swap"},n.default.createElement("button",{onClick:async()=>{a({event:"Make Another Swap",category:d.MetaMetricsEventCategory.Swaps,sensitiveProperties:e}),g.push(f.DEFAULT_ROUTE),await r((0,p.navigateBackToBuildQuote)(g)),r((0,p.setSwapsFromToken)(h))}},t("makeAnotherSwap")))}_.propTypes={sensitiveTrackingProperties:r.default.object.isRequired}}}},{package:"$root$",file:"ui/pages/swaps/create-new-swap/create-new-swap.js"}],[5915,{"./create-new-swap":5914},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return s.default}});var n,s=(n=e("./create-new-swap"))&&n.__esModule?n:{default:n}}}},{package:"$root$",file:"ui/pages/swaps/create-new-swap/index.js"}],[5916,{"../../../components/ui/text-field":5302,"../dropdown-search-list":5919,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=p;var n=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=c(t);if(a&&a.has(e))return a.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=s?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n.default=e,a&&a.set(e,n),n}(e("react")),s=l(e("prop-types")),r=l(e("classnames")),o=l(e("../dropdown-search-list")),i=l(e("../../../components/ui/text-field"));function l(e){return e&&e.__esModule?e:{default:e}}function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(c=function(e){return e?a:t})(e)}const u={1:5.86,2:10.05,3:10.45,4:11.1,5:10,6:10.06,7:9.17,8:10.28,9:10.06,0:11.22,".":4.55},d=e=>String(e).split("").reduce(((e,t)=>e+u[t]),12);function p({itemsToSearch:e=[],onInputChange:t,inputValue:a="",onSelect:s,leftValue:l,selectedItem:c,SearchListPlaceholder:u,maxListItems:p,selectPlaceHolderText:f,loading:m,hideItemIf:g,listContainerClassName:h,autoFocus:_}){const[E,y]=(0,n.useState)(!1),b=(0,n.useRef)(),[w,v]=(0,n.useState)(null);return(0,n.useEffect)((()=>{var e;v(((null==b||null===(e=b.current)||void 0===e||null===(e=e.getBoundingClientRect())||void 0===e?void 0:e.width)||0)+d(a||"")>137)}),[a,b]),n.default.createElement("div",{className:"dropdown-input-pair"},n.default.createElement(o.default,{itemsToSearch:e,SearchListPlaceholder:u,fuseSearchKeys:[{name:"name",weight:.499},{name:"symbol",weight:.499},{name:"address",weight:.002}],maxListItems:p,onOpen:()=>y(!0),onClose:()=>y(!1),onSelect:s,className:E?"dropdown-input-pair__list--full-width":"",externallySelectedItem:c,selectPlaceHolderText:f,selectorClosedClassName:"dropdown-input-pair__selector--closed",listContainerClassName:h,loading:m,hideItemIf:g,defaultToAll:!0}),!E&&n.default.createElement(i.default,{className:(0,r.default)("dropdown-input-pair__input",{"dropdown-input-pair__two-line-input":w}),type:"text",placeholder:"0",onChange:e=>{e.stopPropagation();const n="."===e.target.value?"0.":e.target.value;""===n||/^(\.\d+|\d+(\.\d+)?|\d+\.)$/u.test(n)?t(n):t(a||"")},fullWidth:!0,margin:"dense",value:a,autoFocus:_}),!E&&l&&n.default.createElement("div",{className:(0,r.default)("dropdown-input-pair__left-value",{"dropdown-input-pair__left-value--two-lines":w}),ref:b},"≈ ",l))}p.propTypes={itemsToSearch:s.default.array,onInputChange:s.default.func,inputValue:s.default.oneOfType([s.default.number,s.default.string]),onSelect:s.default.func,leftValue:s.default.string,selectedItem:s.default.object,SearchListPlaceholder:s.default.func,maxListItems:s.default.number,selectPlaceHolderText:s.default.string,loading:s.default.bool,hideItemIf:s.default.func,listContainerClassName:s.default.string,autoFocus:s.default.bool}}}},{package:"$root$",file:"ui/pages/swaps/dropdown-input-pair/dropdown-input-pair.js"}],[5917,{"./dropdown-input-pair":5916},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return s.default}});var n,s=(n=e("./dropdown-input-pair"))&&n.__esModule?n:{default:n}}}},{package:"$root$",file:"ui/pages/swaps/dropdown-input-pair/index.js"}],[5918,{"../../../../shared/constants/metametrics":4505,"../../../../shared/constants/swaps":4516,"../../../../shared/modules/selectors":4554,"../../../components/component-library":4955,"../../../components/ui/actionable-message/actionable-message":5190,"../../../components/ui/pulse-loader":5283,"../../../components/ui/url-icon":5319,"../../../contexts/i18n":5324,"../../../contexts/metametrics":5327,"../../../ducks/swaps/swaps":5351,"../../../helpers/utils/util":5399,"../../../selectors/selectors":5994,"../import-token":5925,"../searchable-item-list":5940,classnames:3049,lodash:3836,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=C;var n=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=k(t);if(a&&a.has(e))return a.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=s?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n.default=e,a&&a.set(e,n),n}(e("react")),s=e("react-redux"),r=v(e("prop-types")),o=v(e("classnames")),i=e("lodash"),l=e("../../../contexts/i18n"),c=v(e("../searchable-item-list")),u=v(e("../../../components/ui/pulse-loader")),d=v(e("../../../components/ui/url-icon")),p=e("../../../components/component-library"),f=v(e("../../../components/ui/actionable-message/actionable-message")),m=v(e("../import-token")),g=e("../../../selectors/selectors"),h=e("../../../../shared/modules/selectors"),_=e("../../../../shared/constants/swaps"),E=e("../../../helpers/utils/util"),y=e("../../../ducks/swaps/swaps"),b=e("../../../contexts/metametrics"),w=e("../../../../shared/constants/metametrics");function v(e){return e&&e.__esModule?e:{default:e}}function k(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(k=function(e){return e?a:t})(e)}function T(){return T=Object.assign?Object.assign.bind():function(e){for(var t=1;t{B(!1),null==N||N()}),[N]),ne=(0,n.useCallback)((e=>{null==C||C(e),$(e),ae()}),[C,ae]),se=(0,n.useCallback)((()=>{F||(B(!0),null==S||S())}),[F,S]),re=(0,n.useRef)();(0,n.useEffect)((()=>{re.current=I}));const oe=re.current;(0,n.useEffect)((()=>{I&&!(0,i.isEqual)(I,q)?$(I):oe&&!I&&$(null)}),[I,q,oe]);const ie=Z.blockExplorerUrl??_.SWAPS_CHAINID_DEFAULT_BLOCK_EXPLORER_URL_MAP[Y]??null,le=(0,E.getURLHostName)(ie),ce={onImportTokenCloseClick:()=>{W(!1),ae()},onImportTokenClick:()=>{te({event:"Token Imported",category:w.MetaMetricsEventCategory.Swaps,sensitiveProperties:{symbol:null==V?void 0:V.symbol,address:null==V?void 0:V.address,chain_id:Y,is_hardware_wallet:z,hardware_wallet_type:G,stx_enabled:X,current_stx_enabled:ee,stx_user_opt_in:J}}),null==C||C(V),$(V),H(null),ae()},setIsImportTokenModalOpen:W,tokenForImport:V};return n.default.createElement("div",{className:(0,o.default)("dropdown-search-list",O),"data-testid":"dropdown-search-list",onClick:se,onKeyUp:e=>{"Escape"===e.key?ae():"Enter"===e.key&&se(e)},tabIndex:"0"},V&&U&&n.default.createElement(m.default,T({isOpen:!0},ce)),!F&&n.default.createElement("div",{className:(0,o.default)("dropdown-search-list__selector-closed-container",R)},n.default.createElement("div",{className:"dropdown-search-list__selector-closed"},(null==q?void 0:q.iconUrl)&&n.default.createElement(d.default,{url:q.iconUrl,className:"dropdown-search-list__selector-closed-icon",name:null==q?void 0:q.symbol}),!(null!=q&&q.iconUrl)&&n.default.createElement("div",{className:"dropdown-search-list__default-dropdown-icon"}),n.default.createElement("div",{className:"dropdown-search-list__labels"},n.default.createElement("div",{className:"dropdown-search-list__item-labels"},n.default.createElement("span",{className:(0,o.default)("dropdown-search-list__closed-primary-label",{"dropdown-search-list__select-default":!(null!=q&&q.symbol)})},(null==q?void 0:q.symbol)||a)))),n.default.createElement(p.Icon,{name:p.IconName.ArrowDown,size:p.IconSize.Xs,marginRight:3})),F&&n.default.createElement(n.default.Fragment,null,n.default.createElement(c.default,{itemsToSearch:M?[]:t,Placeholder:()=>M?n.default.createElement("div",{className:"dropdown-search-list__loading-item"},n.default.createElement(u.default,null),n.default.createElement("div",{className:"dropdown-search-list__loading-item-text-container"},n.default.createElement("span",{className:"dropdown-search-list__loading-item-text"},j("swapFetchingTokens")))):n.default.createElement("div",{className:"dropdown-search-list__placeholder"},j("swapBuildQuotePlaceHolderText",[K]),ie&&n.default.createElement("div",{tabIndex:"0",className:"searchable-item-list__item searchable-item-list__item--add-token",key:"searchable-item-list-item-last"},n.default.createElement(f.default,{message:j("addTokenByContractAddress",[n.default.createElement("a",{key:"dropdown-search-list__etherscan-link",onClick:()=>{te({event:"Clicked Block Explorer Link",category:w.MetaMetricsEventCategory.Swaps,properties:{link_type:"Token Tracker",action:"Verify Contract Address",block_explorer_domain:le}}),global.platform.openTab({url:ie})},target:"_blank",rel:"noopener noreferrer"},le)])}))),searchPlaceholderText:j("swapSearchNameOrAddress"),fuseSearchKeys:r,defaultToAll:v,onClickItem:ne,onOpenImportTokenModalClick:e=>{H(e),W(!0)},maxListItems:k,className:(0,o.default)("dropdown-search-list__token-container",e,{"dropdown-search-list--open":F}),hideRightLabels:P,hideItemIf:D,listContainerClassName:A,shouldSearchForImports:L,searchQuery:K,setSearchQuery:Q}),n.default.createElement("div",{className:"dropdown-search-list__close-area","data-testid":"dropdown-search-list__close-area",onClick:e=>{e.stopPropagation(),B(!1),null==N||N()}})))}C.propTypes={itemsToSearch:r.default.array,onSelect:r.default.func,searchListClassName:r.default.string,fuseSearchKeys:r.default.arrayOf(r.default.shape({name:r.default.string,weight:r.default.number})),defaultToAll:r.default.bool,maxListItems:r.default.number,startingItem:r.default.object,onOpen:r.default.func,onClose:r.default.func,className:r.default.string,externallySelectedItem:r.default.object,loading:r.default.bool,selectPlaceHolderText:r.default.string,selectorClosedClassName:r.default.string,hideRightLabels:r.default.bool,hideItemIf:r.default.func,listContainerClassName:r.default.string,shouldSearchForImports:r.default.bool}}}},{package:"$root$",file:"ui/pages/swaps/dropdown-search-list/dropdown-search-list.js"}],[5919,{"./dropdown-search-list":5918},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return s.default}});var n,s=(n=e("./dropdown-search-list"))&&n.__esModule?n:{default:n}}}},{package:"$root$",file:"ui/pages/swaps/dropdown-search-list/index.js"}],[5920,{"../../../../shared/lib/transactions-controller-utils":4531,"../../../components/component-library":4955,"../../../components/ui/box":5194,"../../../contexts/i18n":5324,"../../../helpers/constants/design-system":5355,"../swaps.util":5967,"bignumber.js":2933,classnames:3049,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=g;var n=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=m(t);if(a&&a.has(e))return a.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=s?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n.default=e,a&&a.set(e,n),n}(e("react")),s=f(e("prop-types")),r=f(e("bignumber.js")),o=f(e("classnames")),i=e("../swaps.util"),l=e("../../../../shared/lib/transactions-controller-utils"),c=f(e("../../../components/ui/box")),u=e("../../../helpers/constants/design-system"),d=e("../../../components/component-library"),p=e("../../../contexts/i18n");function f(e){return e&&e.__esModule?e:{default:e}}function m(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(m=function(e){return e?a:t})(e)}function g({primaryTokenValue:e,primaryTokenDecimals:t=18,primaryTokenSymbol:a,secondaryTokenValue:s,secondaryTokenDecimals:f=18,secondaryTokenSymbol:m,boldSymbols:g=!0,showIconForSwappingTokens:h=!0,className:_,onQuotesClick:E}){const[y,b]=(0,n.useState)(!0),w=(0,n.useContext)(p.I18nContext),v=(0,l.calcTokenAmount)(e,t),k=(0,l.calcTokenAmount)(s,f),T=new r.default(k).div(v).round(9).toString(10),C=new r.default(v).div(k).round(9).toString(10),x=y?a:m,S=y?m:a,N=y?T:C;let O,I="=";new r.default(N,10).lt("0.00000001",10)?(O="0.000000001",I="<"):O=new r.default(N,10).lt("0.000001",10)?N:(0,i.formatSwapsValueForDisplay)(N);const R=E?"exchange-rate-display__quote-rate":"exchange-rate-display__quote-rate--no-link",M=E?u.TextColor.primaryDefault:u.TextColor.textDefault;return n.default.createElement("div",{className:(0,o.default)("exchange-rate-display",_)},n.default.createElement(c.default,{display:u.DISPLAY.FLEX,justifyContent:u.JustifyContent.center,alignItems:u.AlignItems.center,onClick:E,color:M,className:R,gap:1,"data-testid":"exchange-rate-display-quote-rate"},n.default.createElement("span",null,"1"),n.default.createElement("span",{className:(0,o.default)({"exchange-rate-display__bold":g}),"data-testid":"exchange-rate-display-base-symbol"},x),n.default.createElement("span",null,I),n.default.createElement("span",null,O),n.default.createElement("span",{className:(0,o.default)({"exchange-rate-display__bold":g})},S)),h&&n.default.createElement(d.Icon,{name:d.IconName.SwapHorizontal,onClick:()=>{b(!y)},color:u.IconColor.iconAlternative,style:{cursor:"pointer"},title:w("switch"),"data-testid":"exchange-rate-display-switch"}))}g.propTypes={primaryTokenValue:s.default.oneOfType([s.default.string,s.default.instanceOf(r.default)]).isRequired,primaryTokenDecimals:s.default.oneOfType([s.default.string,s.default.number]),primaryTokenSymbol:s.default.string.isRequired,secondaryTokenValue:s.default.oneOfType([s.default.string,s.default.instanceOf(r.default)]).isRequired,secondaryTokenDecimals:s.default.oneOfType([s.default.string,s.default.number]),secondaryTokenSymbol:s.default.string.isRequired,className:s.default.string,boldSymbols:s.default.bool,showIconForSwappingTokens:s.default.bool,onQuotesClick:s.default.func}}}},{package:"$root$",file:"ui/pages/swaps/exchange-rate-display/exchange-rate-display.js"}],[5921,{"./exchange-rate-display":5920},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return s.default}});var n,s=(n=e("./exchange-rate-display"))&&n.__esModule?n:{default:n}}}},{package:"$root$",file:"ui/pages/swaps/exchange-rate-display/index.js"}],[5922,{"../../../../shared/constants/metametrics":4505,"../../../../shared/constants/network":4507,"../../../../shared/lib/ui-utils":4532,"../../../components/component-library":4955,"../../../components/ui/info-tooltip":5248,"../../../contexts/i18n":5324,"../../../contexts/metametrics":5327,"../../../helpers/constants/design-system":5355,"../../../selectors":5987,"../../confirmations/components/transaction-detail-item/transaction-detail-item.component":5636,"../../confirmations/components/transaction-detail/transaction-detail.component":5637,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=y;var n=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=E(t);if(a&&a.has(e))return a.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=s?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n.default=e,a&&a.set(e,n),n}(e("react")),s=e("react-redux"),r=_(e("prop-types")),o=e("../../../contexts/i18n"),i=_(e("../../../components/ui/info-tooltip")),l=e("../../../../shared/constants/network"),c=_(e("../../confirmations/components/transaction-detail/transaction-detail.component")),u=_(e("../../confirmations/components/transaction-detail-item/transaction-detail-item.component")),d=e("../../../helpers/constants/design-system"),p=e("../../../contexts/metametrics"),f=e("../../../../shared/constants/metametrics"),m=e("../../../../shared/lib/ui-utils"),g=e("../../../selectors"),h=e("../../../components/component-library");function _(e){return e&&e.__esModule?e:{default:e}}function E(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(E=function(e){return e?a:t})(e)}function y({primaryFee:e,secondaryFee:t,hideTokenApprovalRow:a,tokenApprovalSourceTokenSymbol:r,onTokenApprovalClick:_,metaMaskFee:E,numberOfQuotes:y,onQuotesClick:b,chainId:w}){const v=(0,n.useContext)(o.I18nContext),k=(0,s.useSelector)(g.getUseCurrencyRateCheck),T=(0,n.useContext)(p.MetaMetricsContext),C=n.default.createElement("span",{key:"fee-card-approve-symbol",className:"fee-card__bold"},v("enableToken",[r]));return n.default.createElement("div",{className:"fee-card"},n.default.createElement("div",{className:"fee-card__main"},n.default.createElement(c.default,{disableEditGasFeeButton:!0,rows:[n.default.createElement(u.default,{key:"fee-card-gas-item",detailTitle:n.default.createElement(n.default.Fragment,null,v("transactionDetailGasHeading"),n.default.createElement(i.default,{position:"top",contentText:n.default.createElement(n.default.Fragment,null,n.default.createElement("p",{className:"fee-card__info-tooltip-paragraph"},v("swapGasFeesSummary",[(()=>{switch(w){case l.CHAIN_IDS.MAINNET:return v("networkNameEthereum");case l.CHAIN_IDS.BSC:return v("networkNameBSC");case l.CHAIN_IDS.POLYGON:return v("networkNamePolygon");case l.CHAIN_IDS.LOCALHOST:return v("networkNameTestnet");case l.CHAIN_IDS.GOERLI:return v("networkNameGoerli");case l.CHAIN_IDS.AVALANCHE:return v("networkNameAvalanche");case l.CHAIN_IDS.OPTIMISM:return v("networkNameOpMainnet");case l.CHAIN_IDS.ARBITRUM:return v("networkNameArbitrum");case l.CHAIN_IDS.ZKSYNC_ERA:return v("networkNameZkSyncEra");case l.CHAIN_IDS.LINEA_MAINNET:return v("networkNameLinea");case l.CHAIN_IDS.BASE:return v("networkNameBase");default:throw new Error("This network is not supported for token swaps")}})()])),n.default.createElement("p",{className:"fee-card__info-tooltip-paragraph"},v("swapGasFeesDetails")),n.default.createElement("p",{className:"fee-card__info-tooltip-paragraph"},n.default.createElement("a",{className:"fee-card__link",onClick:()=>{T({event:'Clicked "Gas Fees: Learn More" Link',category:f.MetaMetricsEventCategory.Swaps}),global.platform.openTab({url:m.GAS_FEES_LEARN_MORE_URL})},target:"_blank",rel:"noopener noreferrer"},v("swapGasFeesLearnMore")))),containerClassName:"fee-card__info-tooltip-content-container",wrapperClassName:"fee-card__row-label fee-card__info-tooltip-container"})),detailText:e.fee,detailTotal:k&&t.fee,subText:((null==t?void 0:t.maxFee)!==undefined||(null==e?void 0:e.maxFee)!==undefined)&&n.default.createElement(n.default.Fragment,null,n.default.createElement(h.Text,{as:"span",fontWeight:d.FontWeight.Bold,color:d.TextColor.textAlternative,variant:d.TextVariant.bodySm},v("maxFee")),k?`: ${t.maxFee}`:`: ${e.maxFee}`)})]}),!a&&n.default.createElement("div",{className:"fee-card__row-header"},n.default.createElement("div",{className:"fee-card__row-label"},n.default.createElement("div",{className:"fee-card__row-header-text"},v("swapEnableTokenForSwapping",[C]),n.default.createElement(i.default,{position:"top",contentText:v("swapEnableDescription",[r]),containerClassName:"fee-card__info-tooltip-container"}))),n.default.createElement("div",{className:"fee-card__link",onClick:()=>_()},v("swapEditLimit"))),n.default.createElement("div",{className:"fee-card__row-header"},n.default.createElement("div",{className:"fee-card__row-label"},n.default.createElement("div",{className:"fee-card__row-header-text"},y>1&&n.default.createElement("span",{onClick:b,className:"fee-card__quote-link-text"},v("swapNQuotesWithDot",[y])),v("swapIncludesMMFee",[E]),n.default.createElement(i.default,{position:"top",contentText:v("swapMetaMaskFeeDescription",[E]),wrapperClassName:"fee-card__info-tooltip-container"}))))))}y.propTypes={primaryFee:r.default.shape({fee:r.default.string.isRequired,maxFee:r.default.string.isRequired}).isRequired,secondaryFee:r.default.shape({fee:r.default.string.isRequired,maxFee:r.default.string.isRequired}),hideTokenApprovalRow:r.default.bool.isRequired,tokenApprovalSourceTokenSymbol:r.default.string,onTokenApprovalClick:r.default.func,metaMaskFee:r.default.string.isRequired,onQuotesClick:r.default.func.isRequired,numberOfQuotes:r.default.number.isRequired,chainId:r.default.string.isRequired}}}},{package:"$root$",file:"ui/pages/swaps/fee-card/fee-card.js"}],[5923,{"./fee-card":5922},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return s.default}});var n,s=(n=e("./fee-card"))&&n.__esModule?n:{default:n}}}},{package:"$root$",file:"ui/pages/swaps/fee-card/index.js"}],[5924,{"../../../components/component-library":4955,"../../../components/component-library/form-text-field/deprecated":4943,"../../../components/component-library/modal-content/deprecated":4963,"../../../components/component-library/modal-header/deprecated":4972,"../../../contexts/i18n":5324,"../../../helpers/constants/design-system":5355,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=f;var n,s=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=p(t);if(a&&a.has(e))return a.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=s?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n.default=e,a&&a.set(e,n),n}(e("react")),r=(n=e("prop-types"))&&n.__esModule?n:{default:n},o=e("../../../contexts/i18n"),i=e("../../../helpers/constants/design-system"),l=e("../../../components/component-library"),c=e("../../../components/component-library/form-text-field/deprecated"),u=e("../../../components/component-library/modal-content/deprecated"),d=e("../../../components/component-library/modal-header/deprecated");function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(p=function(e){return e?a:t})(e)}function f({onImportTokenCloseClick:e,onImportTokenClick:t,setIsImportTokenModalOpen:a,tokenForImport:n,isOpen:r}){const p=(0,s.useContext)(o.I18nContext);return s.default.createElement(l.Modal,{isOpen:r,onClose:()=>a(!1)},s.default.createElement(l.ModalOverlay,null),s.default.createElement(u.ModalContent,{modalDialogProps:{display:i.Display.Flex,flexDirection:i.FlexDirection.Column,alignItems:i.AlignItems.center,gap:4}},s.default.createElement(d.ModalHeader,{onClose:()=>a(!1),width:i.BlockSize.Full},p("importTokenQuestion")),s.default.createElement(l.BannerAlert,{severity:i.Severity.Danger,description:p("importTokenWarning")}),s.default.createElement(l.AvatarToken,{src:n.iconUrl,name:n.symbol,size:l.AvatarTokenSize.Xl}),s.default.createElement(l.Text,{variant:i.TextVariant.headingSm,as:"h4"},n.name||""),s.default.createElement(c.FormTextField,{label:p("contract"),id:"import-tokens-input",inputProps:{variant:i.TextVariant.bodySm},readOnly:!0,value:n.address||"",width:i.BlockSize.Full}),s.default.createElement(l.Box,{display:i.Display.Flex,flexDirection:i.FlexDirection.Row,gap:4,width:i.BlockSize.Full},s.default.createElement(l.Button,{variant:l.BUTTON_VARIANT.SECONDARY,block:!0,size:l.BUTTON_SIZES.LG,onClick:e},p("cancel")),s.default.createElement(l.Button,{variant:l.BUTTON_VARIANT.PRIMARY,block:!0,size:l.BUTTON_SIZES.LG,onClick:t,"data-testid":"import-tokens-import-button"},p("import")))))}f.propTypes={onImportTokenCloseClick:r.default.func,onImportTokenClick:r.default.func,setIsImportTokenModalOpen:r.default.func,tokenForImport:r.default.object,isOpen:r.default.bool}}}},{package:"$root$",file:"ui/pages/swaps/import-token/import-token.js"}],[5925,{"./import-token":5924},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return s.default}});var n,s=(n=e("./import-token"))&&n.__esModule?n:{default:n}}}},{package:"$root$",file:"ui/pages/swaps/import-token/index.js"}],[5926,{"../../../shared/constants/metametrics":4505,"../../../shared/constants/swaps":4516,"../../../shared/lib/transactions-controller-utils":4531,"../../../shared/modules/selectors":4554,"../../components/component-library":4955,"../../components/ui/box":5194,"../../contexts/i18n":5324,"../../contexts/metametrics":5327,"../../ducks/swaps/swaps":5351,"../../helpers/constants/design-system":5355,"../../helpers/constants/routes":5361,"../../helpers/higher-order-components/feature-toggled-route":5372,"../../hooks/useGasFeeEstimates":5426,"../../hooks/useUpdateSwapsState":5451,"../../selectors":5987,"../../selectors/selectors":5994,"../../store/actions":5998,"./awaiting-signatures":5903,"./awaiting-swap":5906,"./build-quote":5911,"./loading-swaps-quotes":5929,"./notification-page/notification-page":5934,"./prepare-swap-page/prepare-swap-page":5935,"./smart-transaction-status":5958,"./view-quote":5971,"@metamask/transaction-controller":2234,classnames:3049,lodash:3836,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=function(){var e,t,a,D;const A=(0,n.useContext)(c.I18nContext),L=(0,r.useHistory)(),j=(0,s.useDispatch)(),F=(0,n.useContext)(b.MetaMetricsContext),{pathname:B}=(0,r.useLocation)(),U=B===m.AWAITING_SWAP_ROUTE,W=B===m.AWAITING_SIGNATURES_ROUTE,q=B===m.SWAPS_ERROR_ROUTE,$=B===m.LOADING_QUOTES_ROUTE,V=B===m.SMART_TRANSACTION_STATUS_ROUTE,H=B===m.VIEW_QUOTE_ROUTE,K=B===m.PREPARE_SWAP_ROUTE,[Q,z]=(0,n.useState)(!1),G=(0,s.useSelector)(d.getFetchParams,o.isEqual),{destinationTokenInfo:Y={}}=(null==G?void 0:G.metaData)||{},Z=(0,s.useSelector)(d.getBackgroundSwapRouteState),J=(0,s.useSelector)(u.getSelectedAccount,s.shallowEqual),X=(0,s.useSelector)(d.getQuotes,o.isEqual),ee=(0,s.useSelector)(d.getLatestAddedTokenTo,o.isEqual),te=(0,s.useSelector)(p.getCurrentNetworkTransactions,s.shallowEqual),ae=(0,s.useSelector)(d.getTradeTxId),ne=(0,s.useSelector)(d.getApproveTxId),se=(0,s.useSelector)(d.getAggregatorMetadata,s.shallowEqual),re=(0,s.useSelector)(d.getFetchingQuotes);let oe=(0,s.useSelector)(d.getSwapsErrorKey);const ie=(0,s.useSelector)(d.getSwapsFeatureIsLive),le=(0,s.useSelector)(u.getCurrentChainId),ce=(0,s.useSelector)(u.getIsSwapsChain),ue=(0,s.useSelector)(u.getTokenList,o.isEqual),de=(0,o.shuffle)(Object.values(ue)),pe=(0,s.useSelector)(d.getReviewSwapClickedTimestamp),fe=(0,s.useSelector)(d.getPendingSmartTransactions),me=Boolean(pe),ge=(0,s.useSelector)(f.getSmartTransactionsOptInStatus),he=(0,s.useSelector)(f.getSmartTransactionsEnabled),_e=(0,s.useSelector)(d.getCurrentSmartTransactionsEnabled),Ee=(0,s.useSelector)(d.getSwapRedesignEnabled),ye=(0,s.useSelector)(d.getCurrentSmartTransactionsError);(0,n.useEffect)((()=>{ce||(async()=>{await j((0,d.prepareToLeaveSwaps)()),L.push(m.DEFAULT_ROUTE)})()}),[ce,j,L]),(0,_.useGasFeeEstimates)();const{balance:be,address:we}=J,ve=ne&&te.find((({id:e})=>ne===e)),ke=ae&&te.find((({id:e})=>ae===e)),Te=(null==ke?void 0:ke.txReceipt)&&(0,w.getSwapsTokensReceivedFromTxMeta)(null==Y?void 0:Y.symbol,ke,null==Y?void 0:Y.address,we,null==Y?void 0:Y.decimals,ve,le),Ce=(null==ke?void 0:ke.status)===l.TransactionStatus.confirmed,xe=(null==ve?void 0:ve.status)===l.TransactionStatus.failed||"0x0"===(null==ve||null===(e=ve.txReceipt)||void 0===e?void 0:e.status),Se=(null==ke?void 0:ke.status)===l.TransactionStatus.failed||"0x0"===(null==ke||null===(t=ke.txReceipt)||void 0===t?void 0:t.status),Ne=xe||Se;Ne&&oe!==g.CONTRACT_DATA_DISABLED_ERROR&&(oe=g.SWAP_FAILED_ERROR);const Oe=(0,n.useRef)();(0,n.useEffect)((()=>{Oe.current=()=>{!ee||U&&!Ne||j((0,h.ignoreTokens)({tokensToIgnore:ee,dontShowLoadingIndicator:!0}))}}),[Ne,j,ee,Y,G,U]),(0,n.useEffect)((()=>()=>{Oe.current()}),[]),(0,C.default)();const Ie=(0,s.useSelector)(u.isHardwareWallet),Re=(0,s.useSelector)(u.getHardwareWalletType),Me=(0,n.useRef)();(0,n.useEffect)((()=>{Me.current=()=>{var e,t;F({event:"Exited Swaps",category:y.MetaMetricsEventCategory.Swaps,sensitiveProperties:{token_from:null==G||null===(e=G.sourceTokenInfo)||void 0===e?void 0:e.symbol,token_from_amount:null==G?void 0:G.value,request_type:null==G?void 0:G.balanceError,token_to:null==G||null===(t=G.destinationTokenInfo)||void 0===t?void 0:t.symbol,slippage:null==G?void 0:G.slippage,custom_slippage:2!==(null==G?void 0:G.slippage),current_screen:B.match(/\/swaps\/(.+)/u)[1],is_hardware_wallet:Ie,hardware_wallet_type:Re,stx_enabled:he,current_stx_enabled:_e,stx_user_opt_in:ge}})}})),(0,n.useEffect)((()=>((async()=>{await j((0,d.fetchSwapsLivenessAndFeatureFlags)())})(),()=>{Me.current()})),[j]),(0,n.useEffect)((()=>{oe&&!q&&me&&L.push(m.SWAPS_ERROR_ROUTE)}),[L,oe,q,me]);const Pe=(0,n.useRef)();(0,n.useEffect)((()=>{const e=()=>(Oe.current(),$&&j((0,d.prepareToLeaveSwaps)()),null);return $&&!Pe.current&&(Pe.current=!0,window.addEventListener("beforeunload",e)),()=>window.removeEventListener("beforeunload",e)}),[j,$]);const De=(0,n.useCallback)((()=>{var e,t;F({event:"Error Smart Transactions",category:y.MetaMetricsEventCategory.Swaps,sensitiveProperties:{token_from:null==G||null===(e=G.sourceTokenInfo)||void 0===e?void 0:e.symbol,token_from_amount:null==G?void 0:G.value,request_type:null==G?void 0:G.balanceError,token_to:null==G||null===(t=G.destinationTokenInfo)||void 0===t?void 0:t.symbol,slippage:null==G?void 0:G.slippage,custom_slippage:2!==(null==G?void 0:G.slippage),current_screen:B.match(/\/swaps\/(.+)/u)[1],is_hardware_wallet:Ie,hardware_wallet_type:Re,stx_enabled:he,current_stx_enabled:_e,stx_user_opt_in:ge,stx_error:ye}})}),[ye,_e,F,null==G?void 0:G.balanceError,null==G||null===(a=G.destinationTokenInfo)||void 0===a?void 0:a.symbol,null==G?void 0:G.slippage,null==G||null===(D=G.sourceTokenInfo)||void 0===D?void 0:D.symbol,null==G?void 0:G.value,Re,Ie,B,he,ge]);if((0,n.useEffect)((()=>{ye&&!Q&&(z(!0),De())}),[ye,De,Q]),!ce)return n.default.createElement(n.default.Fragment,null);const Ae=async()=>{Oe.current(),L.push({pathname:m.DEFAULT_ROUTE,state:{stayOnHomePage:!0}}),j((0,d.clearSwapsState)()),await j((0,h.resetBackgroundSwapsState)())};return n.default.createElement("div",{className:"swaps"},n.default.createElement("div",{className:"swaps__container"},n.default.createElement("div",{className:"swaps__header"},!Ee&&n.default.createElement("div",{className:"swaps__header-edit",onClick:async()=>{await j((0,d.navigateBackToBuildQuote)(L))}},H&&A("edit")),Ee&&n.default.createElement(k.default,{display:T.DISPLAY.FLEX,justifyContent:T.JustifyContent.center,marginLeft:4,width:T.FRACTIONS.ONE_TWELFTH,tabIndex:"0",onKeyUp:e=>{"Enter"===e.key&&Ae()}},!U&&!W&&!V&&n.default.createElement(v.Icon,{name:v.IconName.Arrow2Left,size:v.IconSize.Lg,color:T.IconColor.iconAlternative,onClick:Ae,style:{cursor:"pointer"},title:A("cancel")})),n.default.createElement("div",{className:"swaps__title"},A("swap")),!Ee&&n.default.createElement("div",{className:"swaps__header-cancel",onClick:async()=>{Oe.current(),j((0,d.clearSwapsState)()),await j((0,h.resetBackgroundSwapsState)()),L.push(m.DEFAULT_ROUTE)}},!U&&!W&&!V&&A("cancel")),Ee&&n.default.createElement(k.default,{display:T.DISPLAY.FLEX,justifyContent:T.JustifyContent.center,marginRight:4,width:T.FRACTIONS.ONE_TWELFTH,tabIndex:"0",onKeyUp:e=>{"Enter"===e.key&&j((0,d.setTransactionSettingsOpened)(!0))}},K&&n.default.createElement(v.Icon,{name:v.IconName.Setting,size:v.IconSize.Lg,color:T.IconColor.iconAlternative,onClick:()=>{j((0,d.setTransactionSettingsOpened)(!0))},style:{cursor:"pointer"},title:A("transactionSettings")}))),n.default.createElement("div",{className:(0,i.default)("swaps__content",{"swaps__content--redesign-enabled":Ee})},n.default.createElement(r.Switch,null,n.default.createElement(E.default,{redirectRoute:m.SWAPS_MAINTENANCE_ROUTE,flag:ie,path:m.BUILD_QUOTE_ROUTE,exact:!0,render:()=>Ee?n.default.createElement(r.Redirect,{to:{pathname:m.PREPARE_SWAP_ROUTE}}):ke&&!Ne?n.default.createElement(r.Redirect,{to:{pathname:m.AWAITING_SWAP_ROUTE}}):ke&&Z?n.default.createElement(r.Redirect,{to:{pathname:m.SWAPS_ERROR_ROUTE}}):"loading"===Z&&se?n.default.createElement(r.Redirect,{to:{pathname:m.LOADING_QUOTES_ROUTE}}):n.default.createElement(I.default,{ethBalance:be,selectedAccountAddress:we,shuffledTokensList:de})}),n.default.createElement(E.default,{redirectRoute:m.SWAPS_MAINTENANCE_ROUTE,flag:ie,path:m.PREPARE_SWAP_ROUTE,exact:!0,render:()=>Ee?n.default.createElement(R.default,{ethBalance:be,selectedAccountAddress:we,shuffledTokensList:de}):n.default.createElement(r.Redirect,{to:{pathname:m.BUILD_QUOTE_ROUTE}})}),n.default.createElement(E.default,{redirectRoute:m.SWAPS_MAINTENANCE_ROUTE,flag:ie,path:m.VIEW_QUOTE_ROUTE,exact:!0,render:()=>fe.length>0&&"smartTransactionStatus"===Z?n.default.createElement(r.Redirect,{to:{pathname:m.SMART_TRANSACTION_STATUS_ROUTE}}):Ee?n.default.createElement(r.Redirect,{to:{pathname:m.PREPARE_SWAP_ROUTE}}):Object.values(X).length?n.default.createElement(P.default,{numberOfQuotes:Object.values(X).length}):G?n.default.createElement(r.Redirect,{to:{pathname:m.SWAPS_ERROR_ROUTE}}):n.default.createElement(r.Redirect,{to:{pathname:m.BUILD_QUOTE_ROUTE}})}),n.default.createElement(r.Route,{path:m.SWAPS_ERROR_ROUTE,exact:!0,render:()=>oe?n.default.createElement(N.default,{swapComplete:!1,errorKey:oe,txHash:null==ke?void 0:ke.hash,txId:null==ke?void 0:ke.id,submittedTime:null==ke?void 0:ke.submittedTime}):n.default.createElement(r.Redirect,{to:{pathname:m.BUILD_QUOTE_ROUTE}})}),n.default.createElement(r.Route,{path:m.SWAPS_NOTIFICATION_ROUTE,exact:!0,render:()=>oe?n.default.createElement(M.default,{notificationKey:oe}):n.default.createElement(r.Redirect,{to:{pathname:m.PREPARE_SWAP_ROUTE}})}),n.default.createElement(E.default,{redirectRoute:m.SWAPS_MAINTENANCE_ROUTE,flag:ie,path:m.LOADING_QUOTES_ROUTE,exact:!0,render:()=>se?n.default.createElement(O.default,{loadingComplete:!re&&Boolean(Object.values(X).length),onDone:async()=>{await j((0,h.setBackgroundSwapRouteState)("")),oe===g.ERROR_FETCHING_QUOTES||oe===g.QUOTES_NOT_AVAILABLE_ERROR?(j((0,h.setSwapsErrorKey)(g.QUOTES_NOT_AVAILABLE_ERROR)),L.push(m.SWAPS_ERROR_ROUTE)):L.push(m.VIEW_QUOTE_ROUTE)},aggregatorMetadata:se}):n.default.createElement(r.Redirect,{to:{pathname:m.BUILD_QUOTE_ROUTE}})}),n.default.createElement(r.Route,{path:m.SWAPS_MAINTENANCE_ROUTE,exact:!0,render:()=>!1===ie?n.default.createElement(N.default,{errorKey:g.OFFLINE_FOR_MAINTENANCE}):n.default.createElement(r.Redirect,{to:{pathname:m.BUILD_QUOTE_ROUTE}})}),n.default.createElement(r.Route,{path:m.AWAITING_SIGNATURES_ROUTE,exact:!0,render:()=>n.default.createElement(x.default,null)}),n.default.createElement(r.Route,{path:m.SMART_TRANSACTION_STATUS_ROUTE,exact:!0,render:()=>n.default.createElement(S.default,{txId:null==ke?void 0:ke.id})}),n.default.createElement(r.Route,{path:m.AWAITING_SWAP_ROUTE,exact:!0,render:()=>"awaiting"===Z||ke?n.default.createElement(N.default,{swapComplete:Ce,txHash:null==ke?void 0:ke.hash,tokensReceived:Te,txId:null==ke?void 0:ke.id,submittingSwap:"awaiting"===Z&&!(ne||ae)}):n.default.createElement(r.Redirect,{to:{pathname:m.DEFAULT_ROUTE}})})))))};var n=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=A(t);if(a&&a.has(e))return a.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=s?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n.default=e,a&&a.set(e,n),n}(e("react")),s=e("react-redux"),r=e("react-router-dom"),o=e("lodash"),i=D(e("classnames")),l=e("@metamask/transaction-controller"),c=e("../../contexts/i18n"),u=e("../../selectors/selectors"),d=e("../../ducks/swaps/swaps"),p=e("../../selectors"),f=e("../../../shared/modules/selectors"),m=e("../../helpers/constants/routes"),g=e("../../../shared/constants/swaps"),h=e("../../store/actions"),_=e("../../hooks/useGasFeeEstimates"),E=D(e("../../helpers/higher-order-components/feature-toggled-route")),y=e("../../../shared/constants/metametrics"),b=e("../../contexts/metametrics"),w=e("../../../shared/lib/transactions-controller-utils"),v=e("../../components/component-library"),k=D(e("../../components/ui/box")),T=e("../../helpers/constants/design-system"),C=D(e("../../hooks/useUpdateSwapsState")),x=D(e("./awaiting-signatures")),S=D(e("./smart-transaction-status")),N=D(e("./awaiting-swap")),O=D(e("./loading-swaps-quotes")),I=D(e("./build-quote")),R=D(e("./prepare-swap-page/prepare-swap-page")),M=D(e("./notification-page/notification-page")),P=D(e("./view-quote"));function D(e){return e&&e.__esModule?e:{default:e}}function A(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(A=function(e){return e?a:t})(e)}}}},{package:"$root$",file:"ui/pages/swaps/index.js"}],[5927,{"../../../../shared/modules/hexstring-utils":4544,"../../../components/component-library":4955,"../../../components/component-library/text-field-search/deprecated":5e3,"../../../components/ui/box":5194,"../../../contexts/i18n":5324,"../../../helpers/constants/design-system":5355,"../../../selectors/selectors":5994,"../searchable-item-list/item-list":5941,"../swaps.util":5967,lodash:3836,loglevel:3842,"prop-types":3997,react:4243,"react-redux":4199},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=b;var n=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=E(t);if(a&&a.has(e))return a.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=s?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n.default=e,a&&a.set(e,n),n}(e("react")),s=e("react-redux"),r=_(e("prop-types")),o=e("lodash"),i=_(e("loglevel")),l=_(e("../../../components/ui/box")),c=e("../../../helpers/constants/design-system"),u=e("../../../components/component-library"),d=e("../../../components/component-library/text-field-search/deprecated"),p=_(e("../searchable-item-list/item-list")),f=e("../../../../shared/modules/hexstring-utils"),m=e("../../../contexts/i18n"),g=e("../swaps.util"),h=e("../../../selectors/selectors");function _(e){return e&&e.__esModule?e:{default:e}}function E(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(E=function(e){return e?a:t})(e)}let y;function b({itemsToSearch:e=[],listTitle:t,maxListItems:a,onClickItem:r,onOpenImportTokenModalClick:_,shouldSearchForImports:E,Placeholder:b,hideRightLabels:w,hideItemIf:v,listContainerClassName:k,searchQuery:T,setSearchQuery:C}){const x=(0,n.useRef)(),S=(0,n.useContext)(m.I18nContext),[N,O]=(0,n.useState)(e),I=(0,s.useSelector)(h.getCurrentChainId),R=async t=>{C(t),y&&clearTimeout(y),y=setTimeout((async()=>{y=null;const a=t.trim(),n=a.toUpperCase(),s=a.toLowerCase();if(!a)return void O(e);const r=(0,f.isValidHexAddress)(a);let l=[];if(r){const t=e.find((e=>e.address===s));t&&l.push(t)}else l=(0,o.filter)(e,(function(e){return e.symbol.includes(n)}));const c=""===t?e:l;E&&0===c.length&&r?await(async e=>{try{const t=await(0,g.fetchToken)(e,I);if(t)return t.primaryLabel=t.symbol,t.secondaryLabel=t.name,t.notImported=!0,void O([t])}catch(e){i.default.error("Token not found, show 0 results.",e)}O([])})(a):O(c)}),350)};(0,n.useEffect)((()=>{R(T)}),[T]);return n.default.createElement(l.default,{className:"list-with-search",width:c.BlockSize.Full,tabIndex:"0"},n.default.createElement(l.default,{style:{gridColumnStart:1,gridColumnEnd:3},display:c.Display.Flex,flexDirection:c.FlexDirection.Column},n.default.createElement(d.TextFieldSearch,{id:"list-with-search__text-search",marginBottom:4,onChange:e=>R(e.target.value),clearButtonOnClick:()=>{C("")},value:T,placeholder:S("enterTokenNameOrAddress"),inputProps:{marginRight:0},className:"list-with-search__text-search",autoFocus:!0,tabIndex:"0"})),(null==N?void 0:N.length)>0&&n.default.createElement(p.default,{searchQuery:T,results:N,onClickItem:r,onOpenImportTokenModalClick:_,Placeholder:b,listTitle:t,maxListItems:a,containerRef:x,hideRightLabels:w,hideItemIf:v,listContainerClassName:k}),0===(null==N?void 0:N.length)&&n.default.createElement(l.default,{marginTop:1,marginBottom:5,display:c.Display.Flex,justifyContent:c.JustifyContent.center,alignItems:c.AlignItems.center},n.default.createElement(u.Text,{variant:c.TextVariant.bodyMd,as:"h6"},S("swapNoTokensAvailable",[T]))))}b.propTypes={itemsToSearch:r.default.array,onClickItem:r.default.func,onOpenImportTokenModalClick:r.default.func,Placeholder:r.default.func,listTitle:r.default.string,maxListItems:r.default.number,hideRightLabels:r.default.bool,shouldSearchForImports:r.default.bool,hideItemIf:r.default.func,listContainerClassName:r.default.string,searchQuery:r.default.string,setSearchQuery:r.default.func}}}},{package:"$root$",file:"ui/pages/swaps/list-with-search/list-with-search.js"}],[5928,{react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=function(){return s.default.createElement(s.default.Fragment,null,s.default.createElement("div",{className:"loading-swaps-quotes__background-1","data-testid":"loading-swaps-quotes-background-1"},s.default.createElement("svg",{width:"193",height:"190",viewBox:"0 0 193 190",fill:"none",xmlns:"http://www.w3.org/2000/svg"},s.default.createElement("path",{d:"M153.753 53.876C153.595 53.9493 153.419 54.0161 153.25 54.0651C151.081 54.7451 148.777 53.538 148.086 51.3768C147.763 50.3298 147.851 49.2109 148.361 48.2363C148.87 47.2618 149.732 46.5374 150.78 46.2144C151.828 45.8913 152.948 45.9781 153.923 46.4865C154.898 46.9949 155.622 47.8557 155.944 48.9027C156.567 50.918 155.592 53.0243 153.753 53.876ZM150.817 47.5708C150.245 47.8359 149.782 48.2721 149.495 48.8334C149.144 49.5127 149.073 50.2843 149.303 51.0047C149.774 52.4998 151.375 53.3384 152.877 52.8787C154.374 52.4069 155.215 50.8063 154.756 49.3056C154.526 48.5852 154.027 47.9888 153.36 47.6334C152.68 47.2836 151.908 47.213 151.187 47.4437C151.049 47.4636 150.927 47.52 150.817 47.5708Z",fill:"#86E29B"}),s.default.createElement("path",{d:"M18.3624 73.9241C18.3015 73.9523 18.2407 73.9805 18.1798 74.0087C17.0495 74.4733 15.8073 74.4728 14.6751 74.0078C12.3517 73.0461 11.2387 70.3567 12.2031 68.0341C13.1676 65.7115 15.8598 64.5971 18.1833 65.5589C19.3155 66.0239 20.1951 66.9013 20.6591 68.0304C21.123 69.1595 21.1215 70.4008 20.6552 71.5326C20.2207 72.6053 19.4093 73.4391 18.3624 73.9241ZM15.0433 66.7921C14.3129 67.1305 13.713 67.7186 13.3766 68.5243C12.6776 70.207 13.4834 72.1377 15.1666 72.8348C15.9849 73.1647 16.8786 73.1789 17.6933 72.831C18.5136 72.4952 19.1388 71.8659 19.4818 71.0424C19.8126 70.2245 19.8276 69.3313 19.4801 68.5175C19.1448 67.6981 18.5155 67.0739 17.6917 66.7319C16.8144 66.3703 15.8589 66.4142 15.0433 66.7921Z",fill:"#FFB0EB"}),s.default.createElement("path",{d:"M116.617 37.3839C117.397 37.0226 117.736 36.0982 117.375 35.3192C117.015 34.5402 116.09 34.2016 115.31 34.5629C114.53 34.9243 114.19 35.8487 114.551 36.6277C114.912 37.4067 115.837 37.7453 116.617 37.3839Z",fill:"url(#paint0_linear)"}),s.default.createElement("path",{d:"M55.1317 91.7213C55.9116 91.36 56.2512 90.4356 55.8903 89.6566C55.5294 88.8776 54.6046 88.539 53.8247 88.9003C53.0448 89.2617 52.7052 90.1861 53.0661 90.9651C53.427 91.7441 54.3518 92.0827 55.1317 91.7213Z",fill:"url(#paint1_linear)"}),s.default.createElement("path",{d:"M31.9932 126.235C32.7731 125.874 33.1127 124.95 32.7518 124.171C32.3909 123.392 31.4661 123.053 30.6863 123.414C29.9064 123.776 29.5667 124.7 29.9277 125.479C30.2886 126.258 31.2134 126.597 31.9932 126.235Z",fill:"url(#paint2_linear)"}),s.default.createElement("path",{d:"M119.43 132.589C120.21 132.228 120.55 131.304 120.189 130.525C119.828 129.746 118.903 129.407 118.123 129.768C117.344 130.13 117.004 131.054 117.365 131.833C117.726 132.612 118.651 132.951 119.43 132.589Z",fill:"url(#paint3_linear)"}),s.default.createElement("path",{d:"M44.7469 47.3835C46.0108 46.7979 46.5612 45.2997 45.9763 44.0372C45.3914 42.7747 43.8926 42.2259 42.6286 42.8115C41.3647 43.3971 40.8143 44.8953 41.3992 46.1578C41.9841 47.4203 43.4829 47.9691 44.7469 47.3835Z",fill:"url(#paint4_linear)"}),s.default.createElement("path",{d:"M105.107 90.7857C106.371 90.2001 106.922 88.702 106.337 87.4394C105.752 86.1769 104.253 85.6282 102.989 86.2137C101.725 86.7993 101.175 88.2975 101.76 89.56C102.344 90.8226 103.843 91.3713 105.107 90.7857Z",fill:"url(#paint5_linear)"}),s.default.createElement("path",{d:"M95.5179 172.376C96.7818 171.791 97.3322 170.293 96.7473 169.03C96.1624 167.767 94.6636 167.219 93.3996 167.804C92.1357 168.39 91.5853 169.888 92.1702 171.151C92.7551 172.413 94.2539 172.962 95.5179 172.376Z",fill:"url(#paint6_linear)"}),s.default.createElement("path",{d:"M165.098 102.367C166.362 101.781 166.912 100.283 166.327 99.0205C165.742 97.758 164.244 97.2092 162.98 97.7948C161.716 98.3804 161.165 99.8786 161.75 101.141C162.335 102.404 163.834 102.952 165.098 102.367Z",fill:"url(#paint7_linear)"}),s.default.createElement("defs",null,s.default.createElement("linearGradient",{id:"paint0_linear",x1:"114.554",y1:"36.6326",x2:"117.379",y2:"35.3237",gradientUnits:"userSpaceOnUse"},s.default.createElement("stop",{stopColor:"#75C3FC"}),s.default.createElement("stop",{offset:"1",stopColor:"#75C3FC"})),s.default.createElement("linearGradient",{id:"paint1_linear",x1:"53.0688",y1:"90.97",x2:"55.8937",y2:"89.6611",gradientUnits:"userSpaceOnUse"},s.default.createElement("stop",{stopColor:"#75C3FC"}),s.default.createElement("stop",{offset:"1",stopColor:"#75C3FC"})),s.default.createElement("linearGradient",{id:"paint2_linear",x1:"29.9283",y1:"125.483",x2:"32.7532",y2:"124.174",gradientUnits:"userSpaceOnUse"},s.default.createElement("stop",{stopColor:"#75C3FC"}),s.default.createElement("stop",{offset:"1",stopColor:"#75C3FC"})),s.default.createElement("linearGradient",{id:"paint3_linear",x1:"117.365",y1:"131.837",x2:"120.19",y2:"130.528",gradientUnits:"userSpaceOnUse"},s.default.createElement("stop",{stopColor:"#75C3FC"}),s.default.createElement("stop",{offset:"1",stopColor:"#75C3FC"})),s.default.createElement("linearGradient",{id:"paint4_linear",x1:"41.4394",y1:"46.2402",x2:"45.947",y2:"43.9537",gradientUnits:"userSpaceOnUse"},s.default.createElement("stop",{stopColor:"#75C3FC"}),s.default.createElement("stop",{offset:"1",stopColor:"#75C3FC"})),s.default.createElement("linearGradient",{id:"paint5_linear",x1:"101.8",y1:"89.6425",x2:"106.307",y2:"87.356",gradientUnits:"userSpaceOnUse"},s.default.createElement("stop",{stopColor:"#75C3FC"}),s.default.createElement("stop",{offset:"1",stopColor:"#75C3FC"})),s.default.createElement("linearGradient",{id:"paint6_linear",x1:"92.2104",y1:"171.233",x2:"96.718",y2:"168.947",gradientUnits:"userSpaceOnUse"},s.default.createElement("stop",{stopColor:"#75C3FC"}),s.default.createElement("stop",{offset:"1",stopColor:"#75C3FC"})),s.default.createElement("linearGradient",{id:"paint7_linear",x1:"161.79",y1:"101.224",x2:"166.298",y2:"98.937",gradientUnits:"userSpaceOnUse"},s.default.createElement("stop",{stopColor:"#75C3FC"}),s.default.createElement("stop",{offset:"1",stopColor:"#75C3FC"}))))),s.default.createElement("div",{className:"loading-swaps-quotes__background-2","data-testid":"loading-swaps-quotes-background-2"},s.default.createElement("svg",{width:"195",height:"205",viewBox:"0 0 195 205",fill:"none",xmlns:"http://www.w3.org/2000/svg"},s.default.createElement("path",{d:"M29.84 121.982C30.0408 121.969 30.245 122.01 30.4258 122.106L46.4233 130.275C46.8125 130.478 47.0536 130.893 47.0402 131.324C47.0143 131.768 46.7423 132.148 46.3356 132.308L24.5484 140.937C24.1417 141.097 23.6789 141.005 23.3642 140.702C23.0495 140.4 22.9398 139.937 23.0753 139.525L28.8651 122.727C28.9671 122.426 29.2065 122.169 29.5086 122.056C29.614 122.023 29.7194 121.989 29.84 121.982ZM43.1981 131.148L30.5607 124.689L25.9884 137.96L43.1981 131.148Z",fill:"#75C4FD"}),s.default.createElement("path",{d:"M168.214 54.3381C168.442 54.3238 168.674 54.3764 168.869 54.485C169.217 54.6781 169.44 55.0266 169.465 55.4145L170.59 68.4358C170.631 68.8763 170.416 69.3061 170.041 69.5444C169.666 69.7827 169.182 69.7862 168.805 69.5681L156.14 62.2246C155.763 62.0065 155.535 61.5911 155.548 61.1472C155.56 60.7033 155.818 60.3112 156.209 60.1122L167.75 54.4343C167.908 54.3841 168.067 54.3473 168.214 54.3381ZM168.027 66.3674L167.248 57.3661L159.267 61.2902L168.027 66.3674Z",fill:"#FFB0EB"}),s.default.createElement("path",{d:"M88.6283 16.6885C88.8694 16.6734 89.1154 16.7385 89.3255 16.873L100.21 24.1133C100.561 24.3464 100.762 24.7635 100.708 25.1832C100.653 25.6028 100.381 25.969 99.9864 26.1146L86.3391 31.4276C85.9449 31.5731 85.5106 31.5064 85.1842 31.2314C84.8712 30.9556 84.7239 30.5352 84.8192 30.1264L87.5815 17.5731C87.666 17.2053 87.9162 16.9076 88.2702 16.7646C88.3882 16.7169 88.5078 16.696 88.6283 16.6885ZM97.1342 24.7894L89.4471 19.6718L87.5021 28.5349L97.1342 24.7894Z",fill:"url(#paint0_linear)"}),s.default.createElement("path",{d:"M117.145 183.156C116.944 183.289 116.698 183.356 116.449 183.344L103.402 182.517C102.982 182.49 102.6 182.229 102.437 181.839C102.274 181.448 102.327 180.995 102.596 180.671L111.758 169.247C112.027 168.923 112.436 168.764 112.856 168.839C113.265 168.921 113.603 169.212 113.725 169.614L117.609 181.866C117.72 182.227 117.652 182.61 117.417 182.911C117.339 183.011 117.246 183.089 117.145 183.156ZM105.728 180.393L114.944 180.981L112.197 172.333L105.728 180.393Z",fill:"url(#paint1_linear)"}),s.default.createElement("path",{d:"M38.0816 74.0208C38.1217 74.0183 38.1485 74.0166 38.1887 74.0141C42.3831 73.805 45.9744 77.0577 46.1831 81.2474C46.3919 85.4371 43.1484 89.0241 38.9407 89.234C34.7463 89.4431 31.1549 86.1904 30.9462 82.0007C30.7391 77.8377 33.9307 74.2809 38.0816 74.0208ZM38.9104 87.2486C41.9767 87.0565 44.3523 84.4236 44.1997 81.3448C44.0455 78.2393 41.3949 75.8407 38.2859 75.9952C35.1761 76.1364 32.7753 78.7977 32.9296 81.9033C33.0838 85.0088 35.7344 87.4073 38.8434 87.2528C38.8568 87.252 38.8836 87.2503 38.9104 87.2486Z",fill:"#86E29B"}),s.default.createElement("path",{d:"M162.178 97.8401C162.218 97.8376 162.245 97.8359 162.285 97.8334C166.48 97.6243 170.071 100.877 170.28 105.067C170.489 109.256 167.245 112.843 163.037 113.053C158.843 113.262 155.252 110.01 155.043 105.82C154.836 101.657 158.027 98.1002 162.178 97.8401ZM163.007 111.068C166.073 110.876 168.449 108.243 168.296 105.164C168.142 102.059 165.492 99.6601 162.383 99.8146C159.273 99.9557 156.872 102.617 157.026 105.723C157.181 108.828 159.831 111.227 162.94 111.072C162.953 111.071 162.98 111.07 163.007 111.068Z",fill:"#86E29B"}),s.default.createElement("defs",null,s.default.createElement("linearGradient",{id:"paint0_linear",x1:"100.609",y1:"23.2611",x2:"84.4152",y2:"24.2757",gradientUnits:"userSpaceOnUse"},s.default.createElement("stop",{stopColor:"#FFE466"}),s.default.createElement("stop",{offset:"1",stopColor:"#FFAFEA"})),s.default.createElement("linearGradient",{id:"paint1_linear",x1:"103.812",y1:"183.939",x2:"116.959",y2:"174.66",gradientUnits:"userSpaceOnUse"},s.default.createElement("stop",{stopColor:"#75C3FC"}),s.default.createElement("stop",{offset:"0.0928503",stopColor:"#81C2F6"}),s.default.createElement("stop",{offset:"1",stopColor:"#F0B8BD"}))))))};var n,s=(n=e("react"))&&n.__esModule?n:{default:n}}}},{package:"$root$",file:"ui/pages/swaps/loading-swaps-quotes/background-animation.js"}],[5929,{"./loading-swaps-quotes":5930},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return s.default}});var n,s=(n=e("./loading-swaps-quotes"))&&n.__esModule?n:{default:n}}}},{package:"$root$",file:"ui/pages/swaps/loading-swaps-quotes/index.js"}],[5930,{"../../../../shared/constants/metametrics":4505,"../../../../shared/modules/selectors":4554,"../../../components/ui/mascot":5262,"../../../contexts/i18n":5324,"../../../contexts/metametrics":5327,"../../../ducks/swaps/swaps":5351,"../../../selectors/selectors":5994,"../swaps-footer":5965,"./background-animation":5928,events:3328,lodash:3836,"lodash/isEqual":3824,"prop-types":3997,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=w;var n=b(e("events")),s=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=y(t);if(a&&a.has(e))return a.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=s?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n.default=e,a&&a.set(e,n),n}(e("react")),r=e("react-redux"),o=b(e("prop-types")),i=e("lodash"),l=e("react-router-dom"),c=b(e("lodash/isEqual")),u=e("../../../ducks/swaps/swaps"),d=e("../../../selectors/selectors"),p=e("../../../../shared/modules/selectors"),f=e("../../../contexts/i18n"),m=e("../../../contexts/metametrics"),g=b(e("../../../components/ui/mascot")),h=e("../../../../shared/constants/metametrics"),_=b(e("../swaps-footer")),E=b(e("./background-animation"));function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(y=function(e){return e?a:t})(e)}function b(e){return e&&e.__esModule?e:{default:e}}function w({aggregatorMetadata:e,loadingComplete:t,onDone:a}){var o,y;const b=(0,s.useContext)(f.I18nContext),w=(0,s.useContext)(m.MetaMetricsContext),v=(0,r.useDispatch)(),k=(0,l.useHistory)(),T=(0,s.useRef)(new n.default),C=(0,r.useSelector)(u.getFetchParams,c.default),x=(0,r.useSelector)(u.getQuotesFetchStartTime),S=(0,r.useSelector)(d.isHardwareWallet),N=(0,r.useSelector)(d.getHardwareWalletType),O=(0,r.useSelector)(p.getSmartTransactionsOptInStatus),I=(0,r.useSelector)(p.getSmartTransactionsEnabled),R=(0,r.useSelector)(u.getCurrentSmartTransactionsEnabled),M={event:"Quotes Request Cancelled",category:h.MetaMetricsEventCategory.Swaps,sensitiveProperties:{token_from:null==C||null===(o=C.sourceTokenInfo)||void 0===o?void 0:o.symbol,token_from_amount:null==C?void 0:C.value,request_type:null==C?void 0:C.balanceError,token_to:null==C||null===(y=C.destinationTokenInfo)||void 0===y?void 0:y.symbol,slippage:null==C?void 0:C.slippage,custom_slippage:2!==(null==C?void 0:C.slippage),response_time:Date.now()-x,is_hardware_wallet:S,hardware_wallet_type:N,stx_enabled:I,current_stx_enabled:R,stx_user_opt_in:O}},[P]=(0,s.useState)((()=>(0,i.shuffle)(Object.keys(e)))),D=P.length,A=(0,s.useRef)(),L=A.current,[j,F]=(0,s.useState)(0),[B,U]=(0,s.useState)(null);return(0,s.useEffect)((()=>{let e;e=t?20:500+Math.floor(1500*Math.random());const n=setTimeout((()=>{j{if(L){const{top:e,left:t,width:a,height:n}=L.getBoundingClientRect();U({x:t+a/2,y:e+n/2})}}),[L]),s.default.createElement("div",{className:"loading-swaps-quotes"},s.default.createElement("div",{className:"loading-swaps-quotes__content"},s.default.createElement(s.default.Fragment,null,s.default.createElement("div",{className:"loading-swaps-quotes__quote-counter"},s.default.createElement("span",null,b("swapFetchingQuoteNofN",[Math.min(j+1,D),D]))),s.default.createElement("div",{className:"loading-swaps-quotes__quote-name-check"},s.default.createElement("span",null,b("swapFetchingQuotes"))),s.default.createElement("div",{className:"loading-swaps-quotes__loading-bar-container"},s.default.createElement("div",{className:"loading-swaps-quotes__loading-bar",style:{width:100/D*j+"%"}}))),s.default.createElement("div",{className:"loading-swaps-quotes__animation"},s.default.createElement(E.default,null),s.default.createElement("div",{className:"loading-swaps-quotes__mascot-container",ref:A},s.default.createElement(g.default,{animationEventEmitter:T.current,width:"90",height:"90",lookAtTarget:B})))),s.default.createElement(_.default,{submitText:b("back"),onSubmit:async()=>{w(M),await v((0,u.navigateBackToBuildQuote)(k))},hideCancel:!0}))}w.propTypes={loadingComplete:o.default.bool.isRequired,onDone:o.default.func.isRequired,aggregatorMetadata:o.default.objectOf(o.default.shape({title:o.default.string,color:o.default.string,icon:o.default.string}))}}}},{package:"$root$",file:"ui/pages/swaps/loading-swaps-quotes/loading-swaps-quotes.js"}],[5931,{"./main-quote-summary":5932},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return s.default}});var n,s=(n=e("./main-quote-summary"))&&n.__esModule?n:{default:n}}}},{package:"$root$",file:"ui/pages/swaps/main-quote-summary/index.js"}],[5932,{"../../../../shared/lib/transactions-controller-utils":4531,"../../../components/ui/tooltip":5310,"../../../components/ui/url-icon":5319,"../exchange-rate-display":5921,"../swaps.util":5967,"bignumber.js":2933,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=p;var n=d(e("react")),s=d(e("prop-types")),r=d(e("bignumber.js")),o=d(e("../../../components/ui/tooltip")),i=d(e("../../../components/ui/url-icon")),l=d(e("../exchange-rate-display")),c=e("../swaps.util"),u=e("../../../../shared/lib/transactions-controller-utils");function d(e){return e&&e.__esModule?e:{default:e}}function p({sourceValue:e,sourceSymbol:t,sourceDecimals:a,sourceIconUrl:s,destinationValue:r,destinationSymbol:d,destinationDecimals:p,destinationIconUrl:f}){const m=(0,u.toPrecisionWithoutTrailingZeros)((0,u.calcTokenAmount)(e,a).toString(10),12),g=(0,u.calcTokenAmount)(r,p),h=(0,c.formatSwapsValueForDisplay)(g),_=h.match(/\d+/gu).join("").length,[E,y]=(b=_)<=9?[50,48]:b<=13?[40,32]:[26,15];var b;let w=h;return _>20&&(w=`${h.slice(0,20)}...`),n.default.createElement("div",{className:"main-quote-summary"},n.default.createElement("div",{className:"main-quote-summary__details"},n.default.createElement("div",{className:"main-quote-summary__quote-details-top"},n.default.createElement("div",{className:"main-quote-summary__source-row","data-testid":"main-quote-summary__source-row"},n.default.createElement("span",{className:"main-quote-summary__source-row-value",title:(0,c.formatSwapsValueForDisplay)(m)},(0,c.formatSwapsValueForDisplay)(m)),n.default.createElement(i.default,{url:s,className:"main-quote-summary__icon",name:t,fallbackClassName:"main-quote-summary__icon-fallback"}),n.default.createElement("span",{className:"main-quote-summary__source-row-symbol",title:t},t)),n.default.createElement("i",{className:"fa fa-arrow-down main-quote-summary__down-arrow"}),n.default.createElement("div",{className:"main-quote-summary__destination-row"},n.default.createElement(i.default,{url:f,className:"main-quote-summary__icon",name:d,fallbackClassName:"main-quote-summary__icon-fallback"}),n.default.createElement("span",{className:"main-quote-summary__destination-row-symbol"},d)),n.default.createElement("div",{className:"main-quote-summary__quote-large"},n.default.createElement(o.default,{interactive:!0,position:"bottom",html:h,disabled:w===h},n.default.createElement("span",{className:"main-quote-summary__quote-large-number",style:{fontSize:E,lineHeight:`${y}px`}},`${w}`)))),n.default.createElement("div",{className:"main-quote-summary__exchange-rate-container","data-testid":"main-quote-summary__exchange-rate-container"},n.default.createElement(l.default,{primaryTokenValue:e,primaryTokenDecimals:a,primaryTokenSymbol:t,secondaryTokenValue:r,secondaryTokenDecimals:p,secondaryTokenSymbol:d,arrowColor:"var(--color-primary-default)",boldSymbols:!1,className:"main-quote-summary__exchange-rate-display"}))))}p.propTypes={sourceValue:s.default.oneOfType([s.default.string,s.default.instanceOf(r.default)]).isRequired,sourceDecimals:s.default.oneOfType([s.default.string,s.default.number]),sourceSymbol:s.default.string.isRequired,destinationValue:s.default.oneOfType([s.default.string,s.default.instanceOf(r.default)]).isRequired,destinationDecimals:s.default.oneOfType([s.default.string,s.default.number]),destinationSymbol:s.default.string.isRequired,sourceIconUrl:s.default.string,destinationIconUrl:s.default.string}}}},{package:"$root$",file:"ui/pages/swaps/main-quote-summary/main-quote-summary.js"}],[5933,{"../../../components/ui/mascot":5262,events:3328,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=function(){const e=(0,s.useRef)(new n.default);return s.default.createElement("div",{className:"mascot-background-animation__animation"},s.default.createElement("div",{className:"mascot-background-animation__background-1","data-testid":"mascot-background-animation-background-1"},s.default.createElement("svg",{width:"193",height:"190",viewBox:"0 0 193 190",fill:"none",xmlns:"http://www.w3.org/2000/svg"},s.default.createElement("path",{d:"M153.753 53.876C153.595 53.9493 153.419 54.0161 153.25 54.0651C151.081 54.7451 148.777 53.538 148.086 51.3768C147.763 50.3298 147.851 49.2109 148.361 48.2363C148.87 47.2618 149.732 46.5374 150.78 46.2144C151.828 45.8913 152.948 45.9781 153.923 46.4865C154.898 46.9949 155.622 47.8557 155.944 48.9027C156.567 50.918 155.592 53.0243 153.753 53.876ZM150.817 47.5708C150.245 47.8359 149.782 48.2721 149.495 48.8334C149.144 49.5127 149.073 50.2843 149.303 51.0047C149.774 52.4998 151.375 53.3384 152.877 52.8787C154.374 52.4069 155.215 50.8063 154.756 49.3056C154.526 48.5852 154.027 47.9888 153.36 47.6334C152.68 47.2836 151.908 47.213 151.187 47.4437C151.049 47.4636 150.927 47.52 150.817 47.5708Z",fill:"#86E29B"}),s.default.createElement("path",{d:"M18.3624 73.9241C18.3015 73.9523 18.2407 73.9805 18.1798 74.0087C17.0495 74.4733 15.8073 74.4728 14.6751 74.0078C12.3517 73.0461 11.2387 70.3567 12.2031 68.0341C13.1676 65.7115 15.8598 64.5971 18.1833 65.5589C19.3155 66.0239 20.1951 66.9013 20.6591 68.0304C21.123 69.1595 21.1215 70.4008 20.6552 71.5326C20.2207 72.6053 19.4093 73.4391 18.3624 73.9241ZM15.0433 66.7921C14.3129 67.1305 13.713 67.7186 13.3766 68.5243C12.6776 70.207 13.4834 72.1377 15.1666 72.8348C15.9849 73.1647 16.8786 73.1789 17.6933 72.831C18.5136 72.4952 19.1388 71.8659 19.4818 71.0424C19.8126 70.2245 19.8276 69.3313 19.4801 68.5175C19.1448 67.6981 18.5155 67.0739 17.6917 66.7319C16.8144 66.3703 15.8589 66.4142 15.0433 66.7921Z",fill:"#FFB0EB"}),s.default.createElement("path",{d:"M116.617 37.3839C117.397 37.0226 117.736 36.0982 117.375 35.3192C117.015 34.5402 116.09 34.2016 115.31 34.5629C114.53 34.9243 114.19 35.8487 114.551 36.6277C114.912 37.4067 115.837 37.7453 116.617 37.3839Z",fill:"url(#paint0_linear)"}),s.default.createElement("path",{d:"M55.1317 91.7213C55.9116 91.36 56.2512 90.4356 55.8903 89.6566C55.5294 88.8776 54.6046 88.539 53.8247 88.9003C53.0448 89.2617 52.7052 90.1861 53.0661 90.9651C53.427 91.7441 54.3518 92.0827 55.1317 91.7213Z",fill:"url(#paint1_linear)"}),s.default.createElement("path",{d:"M31.9932 126.235C32.7731 125.874 33.1127 124.95 32.7518 124.171C32.3909 123.392 31.4661 123.053 30.6863 123.414C29.9064 123.776 29.5667 124.7 29.9277 125.479C30.2886 126.258 31.2134 126.597 31.9932 126.235Z",fill:"url(#paint2_linear)"}),s.default.createElement("path",{d:"M119.43 132.589C120.21 132.228 120.55 131.304 120.189 130.525C119.828 129.746 118.903 129.407 118.123 129.768C117.344 130.13 117.004 131.054 117.365 131.833C117.726 132.612 118.651 132.951 119.43 132.589Z",fill:"url(#paint3_linear)"}),s.default.createElement("path",{d:"M44.7469 47.3835C46.0108 46.7979 46.5612 45.2997 45.9763 44.0372C45.3914 42.7747 43.8926 42.2259 42.6286 42.8115C41.3647 43.3971 40.8143 44.8953 41.3992 46.1578C41.9841 47.4203 43.4829 47.9691 44.7469 47.3835Z",fill:"url(#paint4_linear)"}),s.default.createElement("path",{d:"M105.107 90.7857C106.371 90.2001 106.922 88.702 106.337 87.4394C105.752 86.1769 104.253 85.6282 102.989 86.2137C101.725 86.7993 101.175 88.2975 101.76 89.56C102.344 90.8226 103.843 91.3713 105.107 90.7857Z",fill:"url(#paint5_linear)"}),s.default.createElement("path",{d:"M95.5179 172.376C96.7818 171.791 97.3322 170.293 96.7473 169.03C96.1624 167.767 94.6636 167.219 93.3996 167.804C92.1357 168.39 91.5853 169.888 92.1702 171.151C92.7551 172.413 94.2539 172.962 95.5179 172.376Z",fill:"url(#paint6_linear)"}),s.default.createElement("path",{d:"M165.098 102.367C166.362 101.781 166.912 100.283 166.327 99.0205C165.742 97.758 164.244 97.2092 162.98 97.7948C161.716 98.3804 161.165 99.8786 161.75 101.141C162.335 102.404 163.834 102.952 165.098 102.367Z",fill:"url(#paint7_linear)"}),s.default.createElement("defs",null,s.default.createElement("linearGradient",{id:"paint0_linear",x1:"114.554",y1:"36.6326",x2:"117.379",y2:"35.3237",gradientUnits:"userSpaceOnUse"},s.default.createElement("stop",{stopColor:"#75C3FC"}),s.default.createElement("stop",{offset:"1",stopColor:"#75C3FC"})),s.default.createElement("linearGradient",{id:"paint1_linear",x1:"53.0688",y1:"90.97",x2:"55.8937",y2:"89.6611",gradientUnits:"userSpaceOnUse"},s.default.createElement("stop",{stopColor:"#75C3FC"}),s.default.createElement("stop",{offset:"1",stopColor:"#75C3FC"})),s.default.createElement("linearGradient",{id:"paint2_linear",x1:"29.9283",y1:"125.483",x2:"32.7532",y2:"124.174",gradientUnits:"userSpaceOnUse"},s.default.createElement("stop",{stopColor:"#75C3FC"}),s.default.createElement("stop",{offset:"1",stopColor:"#75C3FC"})),s.default.createElement("linearGradient",{id:"paint3_linear",x1:"117.365",y1:"131.837",x2:"120.19",y2:"130.528",gradientUnits:"userSpaceOnUse"},s.default.createElement("stop",{stopColor:"#75C3FC"}),s.default.createElement("stop",{offset:"1",stopColor:"#75C3FC"})),s.default.createElement("linearGradient",{id:"paint4_linear",x1:"41.4394",y1:"46.2402",x2:"45.947",y2:"43.9537",gradientUnits:"userSpaceOnUse"},s.default.createElement("stop",{stopColor:"#75C3FC"}),s.default.createElement("stop",{offset:"1",stopColor:"#75C3FC"})),s.default.createElement("linearGradient",{id:"paint5_linear",x1:"101.8",y1:"89.6425",x2:"106.307",y2:"87.356",gradientUnits:"userSpaceOnUse"},s.default.createElement("stop",{stopColor:"#75C3FC"}),s.default.createElement("stop",{offset:"1",stopColor:"#75C3FC"})),s.default.createElement("linearGradient",{id:"paint6_linear",x1:"92.2104",y1:"171.233",x2:"96.718",y2:"168.947",gradientUnits:"userSpaceOnUse"},s.default.createElement("stop",{stopColor:"#75C3FC"}),s.default.createElement("stop",{offset:"1",stopColor:"#75C3FC"})),s.default.createElement("linearGradient",{id:"paint7_linear",x1:"161.79",y1:"101.224",x2:"166.298",y2:"98.937",gradientUnits:"userSpaceOnUse"},s.default.createElement("stop",{stopColor:"#75C3FC"}),s.default.createElement("stop",{offset:"1",stopColor:"#75C3FC"}))))),s.default.createElement("div",{className:"mascot-background-animation__background-2","data-testid":"mascot-background-animation-background-2"},s.default.createElement("svg",{width:"195",height:"205",viewBox:"0 0 195 205",fill:"none",xmlns:"http://www.w3.org/2000/svg"},s.default.createElement("path",{d:"M29.84 121.982C30.0408 121.969 30.245 122.01 30.4258 122.106L46.4233 130.275C46.8125 130.478 47.0536 130.893 47.0402 131.324C47.0143 131.768 46.7423 132.148 46.3356 132.308L24.5484 140.937C24.1417 141.097 23.6789 141.005 23.3642 140.702C23.0495 140.4 22.9398 139.937 23.0753 139.525L28.8651 122.727C28.9671 122.426 29.2065 122.169 29.5086 122.056C29.614 122.023 29.7194 121.989 29.84 121.982ZM43.1981 131.148L30.5607 124.689L25.9884 137.96L43.1981 131.148Z",fill:"#75C4FD"}),s.default.createElement("path",{d:"M168.214 54.3381C168.442 54.3238 168.674 54.3764 168.869 54.485C169.217 54.6781 169.44 55.0266 169.465 55.4145L170.59 68.4358C170.631 68.8763 170.416 69.3061 170.041 69.5444C169.666 69.7827 169.182 69.7862 168.805 69.5681L156.14 62.2246C155.763 62.0065 155.535 61.5911 155.548 61.1472C155.56 60.7033 155.818 60.3112 156.209 60.1122L167.75 54.4343C167.908 54.3841 168.067 54.3473 168.214 54.3381ZM168.027 66.3674L167.248 57.3661L159.267 61.2902L168.027 66.3674Z",fill:"#FFB0EB"}),s.default.createElement("path",{d:"M88.6283 16.6885C88.8694 16.6734 89.1154 16.7385 89.3255 16.873L100.21 24.1133C100.561 24.3464 100.762 24.7635 100.708 25.1832C100.653 25.6028 100.381 25.969 99.9864 26.1146L86.3391 31.4276C85.9449 31.5731 85.5106 31.5064 85.1842 31.2314C84.8712 30.9556 84.7239 30.5352 84.8192 30.1264L87.5815 17.5731C87.666 17.2053 87.9162 16.9076 88.2702 16.7646C88.3882 16.7169 88.5078 16.696 88.6283 16.6885ZM97.1342 24.7894L89.4471 19.6718L87.5021 28.5349L97.1342 24.7894Z",fill:"url(#paint0_linear)"}),s.default.createElement("path",{d:"M117.145 183.156C116.944 183.289 116.698 183.356 116.449 183.344L103.402 182.517C102.982 182.49 102.6 182.229 102.437 181.839C102.274 181.448 102.327 180.995 102.596 180.671L111.758 169.247C112.027 168.923 112.436 168.764 112.856 168.839C113.265 168.921 113.603 169.212 113.725 169.614L117.609 181.866C117.72 182.227 117.652 182.61 117.417 182.911C117.339 183.011 117.246 183.089 117.145 183.156ZM105.728 180.393L114.944 180.981L112.197 172.333L105.728 180.393Z",fill:"url(#paint1_linear)"}),s.default.createElement("path",{d:"M38.0816 74.0208C38.1217 74.0183 38.1485 74.0166 38.1887 74.0141C42.3831 73.805 45.9744 77.0577 46.1831 81.2474C46.3919 85.4371 43.1484 89.0241 38.9407 89.234C34.7463 89.4431 31.1549 86.1904 30.9462 82.0007C30.7391 77.8377 33.9307 74.2809 38.0816 74.0208ZM38.9104 87.2486C41.9767 87.0565 44.3523 84.4236 44.1997 81.3448C44.0455 78.2393 41.3949 75.8407 38.2859 75.9952C35.1761 76.1364 32.7753 78.7977 32.9296 81.9033C33.0838 85.0088 35.7344 87.4073 38.8434 87.2528C38.8568 87.252 38.8836 87.2503 38.9104 87.2486Z",fill:"#86E29B"}),s.default.createElement("path",{d:"M162.178 97.8401C162.218 97.8376 162.245 97.8359 162.285 97.8334C166.48 97.6243 170.071 100.877 170.28 105.067C170.489 109.256 167.245 112.843 163.037 113.053C158.843 113.262 155.252 110.01 155.043 105.82C154.836 101.657 158.027 98.1002 162.178 97.8401ZM163.007 111.068C166.073 110.876 168.449 108.243 168.296 105.164C168.142 102.059 165.492 99.6601 162.383 99.8146C159.273 99.9557 156.872 102.617 157.026 105.723C157.181 108.828 159.831 111.227 162.94 111.072C162.953 111.071 162.98 111.07 163.007 111.068Z",fill:"#86E29B"}),s.default.createElement("defs",null,s.default.createElement("linearGradient",{id:"paint0_linear",x1:"100.609",y1:"23.2611",x2:"84.4152",y2:"24.2757",gradientUnits:"userSpaceOnUse"},s.default.createElement("stop",{stopColor:"#FFE466"}),s.default.createElement("stop",{offset:"1",stopColor:"#FFAFEA"})),s.default.createElement("linearGradient",{id:"paint1_linear",x1:"103.812",y1:"183.939",x2:"116.959",y2:"174.66",gradientUnits:"userSpaceOnUse"},s.default.createElement("stop",{stopColor:"#75C3FC"}),s.default.createElement("stop",{offset:"0.0928503",stopColor:"#81C2F6"}),s.default.createElement("stop",{offset:"1",stopColor:"#F0B8BD"}))))),s.default.createElement("div",{className:"mascot-background-animation__mascot-container","data-testid":"mascot-background-animation-mascot-container"},s.default.createElement(r.default,{animationEventEmitter:e.current,width:"42",height:"42",followMouse:!1})))};var n=i(e("events")),s=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=o(t);if(a&&a.has(e))return a.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=s?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(n,r,i):n[r]=e[r]}return n.default=e,a&&a.set(e,n),n}(e("react")),r=i(e("../../../components/ui/mascot"));function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(o=function(e){return e?a:t})(e)}function i(e){return e&&e.__esModule?e:{default:e}}}}},{package:"$root$",file:"ui/pages/swaps/mascot-background-animation/mascot-background-animation.js"}],[5934,{"../../../../shared/constants/swaps":4516,"../../../components/component-library":4955,"../../../components/ui/box":5194,"../../../contexts/i18n":5324,"../../../helpers/constants/design-system":5355,"../../../helpers/constants/routes":5361,"../../../store/actions":5998,"../swaps-footer":5965,"prop-types":3997,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=_;var n=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=h(t);if(a&&a.has(e))return a.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=s?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n.default=e,a&&a.set(e,n),n}(e("react")),s=e("react-redux"),r=e("react-router-dom"),o=g(e("prop-types")),i=e("../../../contexts/i18n"),l=e("../../../store/actions"),c=g(e("../../../components/ui/box")),u=e("../../../helpers/constants/design-system"),d=e("../../../components/component-library"),p=e("../../../helpers/constants/routes"),f=g(e("../swaps-footer")),m=e("../../../../shared/constants/swaps");function g(e){return e&&e.__esModule?e:{default:e}}function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(h=function(e){return e?a:t})(e)}function _({notificationKey:e}){const t=(0,n.useContext)(i.I18nContext),a=(0,r.useHistory)(),o=(0,s.useDispatch)();let g="",h="",_="";return e===m.QUOTES_EXPIRED_ERROR&&(g=t("swapAreYouStillThere"),h=t("swapAreYouStillThereDescription"),_=t("swapShowLatestQuotes")),n.default.createElement("div",{className:"notification-page"},n.default.createElement(c.default,{alignItems:u.AlignItems.center,display:u.DISPLAY.FLEX,flexDirection:u.FLEX_DIRECTION.COLUMN,marginTop:10,marginLeft:4,marginRight:4,textAlign:u.TEXT_ALIGN.CENTER,className:"notification-page__content"},n.default.createElement(c.default,{marginTop:8,marginBottom:4},n.default.createElement(d.Icon,{name:d.IconName.Warning,color:u.IconColor.iconMuted,className:"notification-page__warning-icon"})),n.default.createElement(d.Text,{variant:u.TextVariant.bodyLgMedium,as:"h2"},g),n.default.createElement(d.Text,{variant:u.TextVariant.bodyMd,as:"h6"},h)),n.default.createElement(f.default,{onSubmit:async()=>{await o((0,l.setSwapsErrorKey)("")),a.push(p.PREPARE_SWAP_ROUTE)},submitText:_,hideCancel:!0,showTermsOfService:!0}))}_.propTypes={notificationKey:o.default.oneOf([m.QUOTES_EXPIRED_ERROR])}}}},{package:"$root$",file:"ui/pages/swaps/notification-page/notification-page.js"}],[5935,{"../../../../shared/constants/metametrics":4505,"../../../../shared/constants/swaps":4516,"../../../../shared/lib/swaps-utils":4528,"../../../../shared/lib/token-util":4530,"../../../../shared/lib/transactions-controller-utils":4531,"../../../../shared/modules/conversion.utils":4537,"../../../../shared/modules/selectors":4554,"../../../../shared/modules/string-utils":4558,"../../../../shared/modules/swaps.utils":4559,"../../../components/component-library":4955,"../../../components/component-library/modal-content/deprecated":4963,"../../../components/component-library/modal-header/deprecated":4972,"../../../components/ui/box":5194,"../../../contexts/i18n":5324,"../../../contexts/metametrics":5327,"../../../ducks/metamask/metamask":5346,"../../../ducks/swaps/swaps":5351,"../../../helpers/constants/design-system":5355,"../../../helpers/constants/routes":5361,"../../../helpers/utils/portfolio":5394,"../../../helpers/utils/util":5399,"../../../hooks/useEqualityCheck":5422,"../../../hooks/useEthFiatAmount":5423,"../../../hooks/usePrevious":5436,"../../../hooks/useTokenFiatAmount":5446,"../../../hooks/useTokenTracker":5447,"../../../hooks/useTokensToSearch":5448,"../../../selectors":5987,"../../../store/actionConstants":5997,"../../../store/actions":5998,"../import-token":5925,"../list-with-search/list-with-search":5927,"../selected-token/selected-token":5953,"../swaps-banner-alert/swaps-banner-alert":5964,"../swaps-footer":5965,"../swaps.util":5967,"../transaction-settings/transaction-settings":5968,"./quotes-loading-animation":5936,"./review-quote":5937,"@metamask/etherscan-link":1369,"bignumber.js":2933,classnames:3049,lodash:3836,"prop-types":3997,react:4243,"react-redux":4199,"react-router-dom":4228},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=ee;var n=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=Z(t);if(a&&a.has(e))return a.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=s?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n.default=e,a&&a.set(e,n),n}(e("react")),s=Y(e("bignumber.js")),r=Y(e("prop-types")),o=e("react-redux"),i=e("lodash"),l=e("react-router-dom"),c=e("@metamask/etherscan-link"),u=Y(e("classnames")),d=e("../../../contexts/metametrics"),p=e("../../../hooks/useTokensToSearch"),f=e("../../../hooks/useEqualityCheck"),m=e("../../../contexts/i18n"),g=e("../../../ducks/metamask/metamask"),h=Y(e("../../../components/ui/box")),_=e("../../../helpers/constants/design-system"),E=e("../../../ducks/swaps/swaps"),y=e("../../../selectors"),b=e("../../../../shared/modules/selectors"),w=e("../../../../shared/modules/conversion.utils"),v=e("../../../helpers/utils/util"),k=e("../../../helpers/utils/portfolio"),T=e("../../../hooks/usePrevious"),C=e("../../../hooks/useTokenTracker"),x=e("../../../hooks/useTokenFiatAmount"),S=e("../../../hooks/useEthFiatAmount"),N=e("../../../../shared/modules/swaps.utils"),O=e("../../../../shared/constants/metametrics"),I=e("../../../../shared/constants/swaps"),R=e("../../../store/actions"),M=e("../../../store/actionConstants"),P=e("../swaps.util"),D=e("../../../../shared/lib/token-util"),A=e("../../../../shared/modules/string-utils"),L=e("../../../../shared/lib/transactions-controller-utils"),j=e("../../../../shared/lib/swaps-utils"),F=e("../../../components/component-library"),B=e("../../../components/component-library/modal-content/deprecated"),U=e("../../../components/component-library/modal-header/deprecated"),W=e("../../../helpers/constants/routes"),q=Y(e("../import-token")),$=Y(e("../transaction-settings/transaction-settings")),V=Y(e("../swaps-banner-alert/swaps-banner-alert")),H=Y(e("../swaps-footer")),K=Y(e("../selected-token/selected-token")),Q=Y(e("../list-with-search/list-with-search")),z=Y(e("./quotes-loading-animation")),G=Y(e("./review-quote"));function Y(e){return e&&e.__esModule?e:{default:e}}function Z(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(Z=function(e){return e?a:t})(e)}function J(){return J=Object.assign?Object.assign.bind():function(e){for(var t=1;tle(!1),[ue,de]=(0,n.useState)(!1),pe=()=>de(!1),[fe,me]=(0,n.useState)(!1),[ge,he]=(0,n.useState)(null),[_e,Ee]=(0,n.useState)(""),[ye,be]=(0,n.useState)(""),[we,ve]=(0,n.useState)(0),[ke,Te]=(0,n.useState)(!1),[Ce,xe]=(0,n.useState)(!1),Se=(0,o.useSelector)(E.getIsFeatureFlagLoaded),Ne=(0,o.useSelector)(E.getBalanceError),Oe=(0,o.useSelector)(E.getFetchParams,i.isEqual),{sourceTokenInfo:Ie={},destinationTokenInfo:Re={}}=(null==Oe?void 0:Oe.metaData)||{},Me=(0,o.useSelector)(g.getTokens,i.isEqual),Pe=(0,o.useSelector)(E.getTopAssets,i.isEqual),De=(0,o.useSelector)(E.getFromToken,i.isEqual),Ae=(0,o.useSelector)(E.getFromTokenInputValue),Le=(0,o.useSelector)(E.getFromTokenError),je=(0,o.useSelector)(E.getMaxSlippage),Fe=(0,o.useSelector)(E.getToToken,i.isEqual)||Re,Be=(0,o.useSelector)(y.getSwapsDefaultToken,i.isEqual),Ue=(0,o.useSelector)(y.getCurrentChainId),We=(0,o.useSelector)(y.getRpcPrefsForCurrentProvider,o.shallowEqual),qe=(0,o.useSelector)(y.getTokenList,i.isEqual),$e=(0,o.useSelector)(E.getQuotes,i.isEqual),Ve=(0,o.useSelector)(E.getLatestAddedTokenTo,i.isEqual),He=Object.keys($e).length,Ke=He>0,Qe=(0,o.useSelector)(E.getSwapsErrorKey),ze=(0,o.useSelector)(E.getAggregatorMetadata,o.shallowEqual),Ge=(0,o.useSelector)(E.getTransactionSettingsOpened,o.shallowEqual),Ye=ze?Object.keys(ze).length:0,Ze=(0,o.useSelector)(y.getIsBridgeChain),Je=(0,o.useSelector)(y.getMetaMetricsId),Xe=(0,o.useSelector)(y.getTokenExchangeRates,i.isEqual),et=(0,o.useSelector)(g.getConversionRate),tt=(0,o.useSelector)(y.isHardwareWallet),at=(0,o.useSelector)(y.getHardwareWalletType),nt=(0,o.useSelector)(b.getSmartTransactionsOptInStatus),st=(0,o.useSelector)(b.getSmartTransactionsEnabled),rt=(0,o.useSelector)(E.getCurrentSmartTransactionsEnabled),ot=rt&&nt,it=(0,o.useSelector)(y.getCurrentCurrency),lt=(0,o.useSelector)(E.getFetchingQuotes),ct=!lt&&Ke,ut=(0,N.isSwapsDefaultTokenSymbol)(null==Ie?void 0:Ie.symbol,Ue)?Be:Ie,{tokensWithBalances:dt}=(0,C.useTokenTracker)({tokens:Me}),pt=!(0,N.isSwapsDefaultTokenSymbol)(null==De?void 0:De.symbol,Ue)&&null!=De&&De.balance?[De]:[],ft=(0,i.uniqBy)([...dt,...Me,...pt],"address"),mt=(0,f.useEqualityCheck)(ft),gt=(0,p.getRenderableTokenData)(De||ut,Xe,et,it,Ue,qe),ht=(0,p.useTokensToSearch)({usersTokens:mt,topTokens:Pe,shuffledTokensList:a,tokenBucketPriority:I.TokenBucketPriority.owned}),_t=(0,p.useTokensToSearch)({usersTokens:mt,topTokens:Pe,shuffledTokensList:a,tokenBucketPriority:I.TokenBucketPriority.top}),Et=ht.find((({address:e})=>(0,A.isEqualCaseInsensitive)(e,null==Fe?void 0:Fe.address)))||Fe,yt=(null==Et?void 0:Et.address)&&!(0,N.isSwapsDefaultTokenAddress)(null==Et?void 0:Et.address,Ue),bt=Number((null==Et?void 0:Et.occurances)||(null==Et?void 0:Et.occurrences)||0),{address:wt,symbol:vt,string:kt,decimals:Tt,balance:Ct}=gt||{},{address:xt}=Et||{},St=Ct&&(0,L.calcTokenAmount)(Ct,Tt).toString(10),Nt=(0,T.usePrevious)(St),Ot=(0,x.useTokenFiatAmount)(wt,Ae||0,vt,{showFiat:!0},!0),It=(0,S.useEthFiatAmount)(Ae||0,{showFiat:!0},!0),Rt=(0,N.isSwapsDefaultTokenSymbol)(vt,Ue)?It:Ot,Mt=(0,n.useCallback)(((e,t)=>{Y((0,E.setFromTokenInputValue)(e));const a=new s.default(e||0).gt(t||0);Ne!==a&&Y((0,E.setBalanceError)(a)),Y((0,E.setFromTokenError)(De&&(0,P.countDecimals)(e)>De.decimals?"tooManyDecimals":null))}),[Y,De,Ne]);(0,n.useEffect)((()=>{let e;if(!ke)return void ve(0);e=ct?20:500+Math.floor(1500*Math.random());const t=setTimeout((()=>{we{await Y((0,R.setBackgroundSwapRouteState)("")),Te(!1),Qe!==I.ERROR_FETCHING_QUOTES&&Qe!==I.QUOTES_NOT_AVAILABLE_ERROR||Y((0,R.setSwapsErrorKey)(I.QUOTES_NOT_AVAILABLE_ERROR))})()}),e);return function(){clearTimeout(t)}}),[lt,we,ct,He,Y,Z,Qe,Ye,ke]);const Pt=e=>{null!=e&&e.address&&!Rt&&null!==te?(0,P.fetchTokenPrice)(e.address).then((e=>{null!==e&&e!==undefined&&ae(e)})):ae(null),null!=e&&e.address&&!mt.find((t=>(0,A.isEqualCaseInsensitive)(t.address,e.address)))&&(0,D.fetchTokenBalance)(e.address,t,global.ethereumProvider).then((t=>{if(null!=t&&t.balance){const a=t.balance.toString(10),n=(0,L.calcTokenAmount)(a,e.decimals);Y((0,E.setSwapsFromToken)({...e,string:n.toString(10),balance:a}))}})),Y((0,E.setSwapsFromToken)(e)),Mt(Ae,e.string,e.decimals)},Dt=(0,c.getTokenTrackerLink)(Et.address,Ue,null,null,{blockExplorerUrl:I.SWAPS_CHAINID_DEFAULT_BLOCK_EXPLORER_URL_MAP[Ue]??null}),At=We.blockExplorerUrl?(0,v.getURLHostName)(Dt):r("etherscan"),{address:Lt}=Fe||{},jt=(0,n.useCallback)((e=>{Ve&&e.address!==Lt&&Y((0,R.ignoreTokens)({tokensToIgnore:Lt,dontShowLoadingIndicator:!0})),Y((0,E.setSwapToToken)(e)),se(!1)}),[Y,Ve,Lt]),Ft=dt.find((e=>(0,A.isEqualCaseInsensitive)(e.address,null==De?void 0:De.address))),Bt=(0,T.usePrevious)(Ft);(0,n.useEffect)((()=>{const e=!(0,N.isSwapsDefaultTokenAddress)(null==Ft?void 0:Ft.address,Ue),t=(0,A.isEqualCaseInsensitive)(null==Ft?void 0:Ft.address,null==Bt?void 0:Bt.address),a=(null==Ft?void 0:Ft.balance)!==(null==Bt?void 0:Bt.balance);e&&t&&a&&Y((0,E.setSwapsFromToken)({...De,balance:null==Ft?void 0:Ft.balance,string:null==Ft?void 0:Ft.string}))}),[Y,Ft,Bt,De,Ue]),(0,n.useEffect)((()=>{(0,N.isSwapsDefaultTokenAddress)(null==De?void 0:De.address,Ue)&&(null==De?void 0:De.balance)!==(0,w.hexToDecimal)(e)&&Y((0,E.setSwapsFromToken)({...De,balance:(0,w.hexToDecimal)(e),string:(0,w.getValueFromWeiHex)({value:e,numberOfDecimals:4,toDenomination:"ETH"})}))}),[Y,De,e,Ue]),(0,n.useEffect)((()=>{null!=De&&De.symbol||null!=ut&&ut.symbol||Y((0,E.setSwapsFromToken)(Be))}),[]),(0,n.useEffect)((()=>{Nt!==St&&Mt(Ae,St)}),[Mt,Nt,Ae,St]);const Ut=(0,n.useCallback)((()=>{ee({event:"Prepare Swap Page Loaded",category:O.MetaMetricsEventCategory.Swaps,sensitiveProperties:{is_hardware_wallet:tt,hardware_wallet_type:at,stx_enabled:st,current_stx_enabled:rt,stx_user_opt_in:nt}})}),[ee,tt,at,st,rt,nt]);(0,n.useEffect)((()=>{Y((0,R.resetSwapsPostFetchState)()),Y((0,E.setReviewSwapClickedTimestamp)()),Ut()}),[Y,Ut]);const Wt=()=>n.default.createElement("a",{className:"prepare-swap-page__token-etherscan-link",key:"prepare-swap-page-etherscan-link",onClick:()=>{ee({event:O.MetaMetricsEventName.ExternalLinkClicked,category:O.MetaMetricsEventCategory.Swaps,properties:{link_type:O.MetaMetricsEventLinkType.TokenTracker,location:"Swaps Confirmation",url_domain:(0,v.getURLHostName)(Dt)}}),global.platform.openTab({url:Dt})},target:"_blank",rel:"noopener noreferrer"},At),qt=`${r("balance")}: ${kt||"0"}`,$t=`${r("balance")}: ${(null==Et?void 0:Et.string)||"0"}`,Vt=(0,j.shouldEnableDirectWrapping)(Ue,wt,Et.address),Ht=Le||!Se||!Number(Ae)||!(null!=Et&&Et.address)||!wt||Number(je)<0||Number(je)>I.MAX_ALLOWED_SLIPPAGE||yt&&bt<2&&!ne;let Kt;(0,n.useEffect)((()=>{Y((0,R.clearSwapsQuotes)()),Y((0,R.stopPollingForQuotes)());return X=setTimeout((()=>{X=null,Ht||(ot&&((0,R.clearSmartTransactionFees)(),Y({type:M.SET_SMART_TRANSACTIONS_ERROR,payload:null})),(async()=>{Te(!0),await Y((0,E.fetchQuotesAndSetQuoteState)(Z,Ae,je,ee,!0))})())}),1e3),()=>clearTimeout(X)}),[Y,Z,je,ee,Ht,Ae,wt,xt,nt,ot]),Kt=Qe&&Qe===I.QUOTES_NOT_AVAILABLE_ERROR?r("swapQuotesNotAvailableErrorTitle"):Ht?null!=Et&&Et.address&&wt?r("swapEnterAmount"):r("swapSelectToken"):r("swapFetchingQuotes");const Qt=(0,n.useCallback)((e=>(0,A.isEqualCaseInsensitive)(e.address,wt)),[wt]),zt=(0,n.useCallback)((e=>(0,A.isEqualCaseInsensitive)(e.address,null==Et?void 0:Et.address)),[null==Et?void 0:Et.address]),Gt=!Qe&&!Ht&&Ke,Yt=!Qe&&!Ht&&!Ke,Zt=!Le&&Ne&&vt,Jt=Ze&&!Gt&&!Yt&&!Ke,Xt=1===bt;(0,n.useEffect)((()=>{Qe===I.QUOTES_EXPIRED_ERROR&&Z.push(W.SWAPS_NOTIFICATION_ROUTE)}),[Qe,Z]),(0,n.useEffect)((()=>{Yt&&oe("")}),[Yt]);const ea={onImportTokenCloseClick:()=>{me(!1)},onImportTokenClick:()=>{ee({event:"Token Imported",category:O.MetaMetricsEventCategory.Swaps,sensitiveProperties:{symbol:null==ge?void 0:ge.symbol,address:null==ge?void 0:ge.address,chain_id:Ue,is_hardware_wallet:tt,hardware_wallet_type:at,stx_enabled:st,current_stx_enabled:rt,stx_user_opt_in:nt}}),null==jt||jt(ge),he(null)},setIsImportTokenModalOpen:me,tokenForImport:ge};let ta,aa,na;re&&!Ht&&(ta=(0,P.formatSwapsValueForDisplay)(re),aa=(0,P.getClassNameForCharLength)(ta,"prepare-swap-page__receive-amount")),Ae&&(na=(0,P.getClassNameForCharLength)(Ae,"prepare-swap-page__from-token-amount"));const sa=vt&&!(0,N.isSwapsDefaultTokenSymbol)(vt,Ue)&&Ct>0;return n.default.createElement("div",{className:"prepare-swap-page"},n.default.createElement("div",{className:"prepare-swap-page__content"},ge&&fe&&n.default.createElement(q.default,J({isOpen:!0},ea)),n.default.createElement(F.Modal,{onClose:ce,isOpen:ie,isClosedOnOutsideClick:!0,isClosedOnEscapeKey:!0,className:"mm-modal__custom-scrollbar"},n.default.createElement(F.ModalOverlay,null),n.default.createElement(B.ModalContent,null,n.default.createElement(U.ModalHeader,{onClose:ce},r("swapSwapTo")),n.default.createElement(h.default,{paddingTop:10,paddingRight:0,paddingBottom:0,paddingLeft:0,display:_.DISPLAY.FLEX},n.default.createElement(Q.default,{selectedItem:Et,itemsToSearch:_t,onClickItem:e=>{null==jt||jt(e),ce()},maxListItems:30,searchQuery:ye,setSearchQuery:be,hideItemIf:Qt,shouldSearchForImports:!0,onOpenImportTokenModalClick:e=>{he(e),me(!0),ce(),be("")}})))),n.default.createElement(F.Modal,{onClose:pe,isOpen:ue,isClosedOnOutsideClick:!0,isClosedOnEscapeKey:!0,className:"mm-modal__custom-scrollbar"},n.default.createElement(F.ModalOverlay,null),n.default.createElement(B.ModalContent,null,n.default.createElement(U.ModalHeader,{onClose:pe},r("swapSwapFrom")),n.default.createElement(h.default,{paddingTop:10,paddingRight:0,paddingBottom:0,paddingLeft:0,display:_.DISPLAY.FLEX},n.default.createElement(Q.default,{selectedItem:gt,itemsToSearch:ht,onClickItem:e=>{null==Pt||Pt(e),pe()},maxListItems:30,searchQuery:_e,setSearchQuery:Ee,hideItemIf:zt})))),n.default.createElement("div",{className:"prepare-swap-page__swap-from-content"},n.default.createElement(h.default,{display:_.DISPLAY.FLEX,justifyContent:_.JustifyContent.spaceBetween,alignItems:_.AlignItems.center},n.default.createElement(K.default,{onClick:()=>de(!0),onClose:pe,selectedToken:gt,testId:"prepare-swap-page-swap-from"}),n.default.createElement(h.default,{display:_.DISPLAY.FLEX,alignItems:_.AlignItems.center},n.default.createElement(F.TextField,{className:(0,u.default)("prepare-swap-page__from-token-amount",{[na]:na}),size:F.TextFieldSize.Sm,placeholder:"0",onChange:e=>{e.stopPropagation();const t="."===e.target.value?"0.":e.target.value;""===t||/^(\.\d+|\d+(\.\d+)?|\d+\.)$/u.test(t)?Mt(t,St):Mt(Ae||"",St)},value:Ae,truncate:!1,testId:"prepare-swap-page-from-token-amount"}))),n.default.createElement(h.default,{display:_.DISPLAY.FLEX,justifyContent:_.JustifyContent.spaceBetween,alignItems:_.AlignItems.stretch},n.default.createElement("div",{className:"prepare-swap-page__balance-message"},vt&&qt,sa&&n.default.createElement("div",{className:"prepare-swap-page__max-balance","data-testid":"prepare-swap-page-max-balance",onClick:()=>Mt(St||"0",St)},r("max"))),Ae&&Rt&&n.default.createElement(h.default,{display:_.DISPLAY.FLEX,justifyContent:_.JustifyContent.flexEnd,alignItems:_.AlignItems.flexEnd},n.default.createElement(F.Text,{variant:_.TextVariant.bodySm,color:_.TextColor.textAlternative},Rt))),Zt&&n.default.createElement(h.default,{display:_.DISPLAY.FLEX,justifyContent:_.JustifyContent.flexStart},n.default.createElement(F.Text,{variant:_.TextVariant.bodySmBold,color:_.TextColor.textAlternative,marginTop:0},r("swapsNotEnoughToken",[vt]))),Le&&n.default.createElement(h.default,{display:_.DISPLAY.FLEX,justifyContent:_.JustifyContent.flexStart},n.default.createElement(F.Text,{variant:_.TextVariant.bodySmBold,color:_.TextColor.textAlternative,marginTop:0},r("swapTooManyDecimalsError",[vt,Tt]))),n.default.createElement(h.default,{display:_.DISPLAY.FLEX,justifyContent:_.JustifyContent.center},n.default.createElement("div",{className:(0,u.default)("prepare-swap-page__switch-tokens",{"prepare-swap-page__switch-tokens--rotate":Ce,"prepare-swap-page__switch-tokens--disabled":Yt}),"data-testid":"prepare-swap-page-switch-tokens",onClick:()=>{Yt||(jt(gt),Pt(Et),xe(!Ce))},title:r("swapSwapSwitch")},n.default.createElement(F.Icon,{name:F.IconName.Arrow2Down,size:F.IconSize.Lg})))),n.default.createElement("div",{className:"prepare-swap-page__swap-to-content"},n.default.createElement(h.default,{display:_.DISPLAY.FLEX,justifyContent:_.JustifyContent.spaceBetween,alignItems:_.AlignItems.center},n.default.createElement(K.default,{onClick:()=>le(!0),onClose:ce,selectedToken:Et,testId:"prepare-swap-page-swap-to"}),n.default.createElement(h.default,{display:_.DISPLAY.FLEX,alignItems:_.AlignItems.center,marginLeft:2,className:"prepare-swap-page__receive-amount-container"},n.default.createElement(F.Text,{as:"h6","data-testid":"prepare-swap-page-receive-amount",className:(0,u.default)("prepare-swap-page__receive-amount",{[aa]:aa})},ta))),n.default.createElement(h.default,{display:_.DISPLAY.FLEX,justifyContent:_.JustifyContent.spaceBetween,alignItems:_.AlignItems.stretch},n.default.createElement("div",{className:"prepare-swap-page__balance-message"},(null==Et?void 0:Et.string)&&$t))),Jt&&n.default.createElement(F.ButtonLink,{endIconName:F.IconName.Export,endIconProps:{size:F.IconSize.Xs},variant:_.TextVariant.bodySm,marginTop:2,fontWeight:_.FontWeight.Normal,onClick:()=>{const e=(0,k.getPortfolioUrl)("bridge","ext_bridge_prepare_swap_link",Je);global.platform.openTab({url:`${e}&token=${wt}`}),ee({category:O.MetaMetricsEventCategory.Swaps,event:O.MetaMetricsEventName.BridgeLinkClicked,properties:{location:"Swaps",text:"Swap across networks with MetaMask Portfolio",chain_id:Ue,token_symbol:vt}})},target:"_blank","data-testid":"prepare-swap-page-cross-chain-swaps-link"},r("crossChainSwapsLink")),!Gt&&yt&&bt<2&&n.default.createElement(h.default,{display:_.DISPLAY.FLEX,marginTop:2},n.default.createElement(F.BannerAlert,{severity:Xt?_.SEVERITIES.WARNING:_.SEVERITIES.DANGER,title:r(Xt?"swapTokenVerifiedOn1SourceTitle":"swapTokenAddedManuallyTitle"),titleProps:{"data-testid":"swaps-banner-title"},width:_.BLOCK_SIZES.FULL},n.default.createElement(h.default,null,n.default.createElement(F.Text,{variant:_.TextVariant.bodyMd,as:"h6","data-testid":"mm-banner-alert-notification-text"},Xt?r("swapTokenVerifiedOn1SourceDescription",[null==Et?void 0:Et.symbol,n.default.createElement(Wt,{key:"block-explorer-link"})]):r("swapTokenAddedManuallyDescription",[n.default.createElement(Wt,{key:"block-explorer-link"})])),!ne&&n.default.createElement(F.ButtonLink,{size:F.ButtonLinkSize.Inherit,textProps:{variant:_.TextVariant.bodyMd,alignItems:_.AlignItems.flexStart},onClick:e=>{e.preventDefault(),se(!0)}},r("swapContinueSwapping"))))),Qe&&n.default.createElement(h.default,{display:_.DISPLAY.FLEX,marginTop:2},n.default.createElement(V.default,{swapsErrorKey:Qe,currentSlippage:je})),Ge&&!Vt&&n.default.createElement($.default,{onSelect:e=>{Y((0,E.setMaxSlippage)(e))},maxAllowedSlippage:I.MAX_ALLOWED_SLIPPAGE,currentSlippage:je,isDirectWrappingEnabled:Vt,onModalClose:()=>{Y((0,E.setTransactionSettingsOpened)(!1))}}),Yt&&n.default.createElement(z.default,{quoteCount:we,numberOfAggregators:Ye}),Gt&&n.default.createElement(G.default,{setReceiveToAmount:oe})),!Ke&&n.default.createElement(H.default,{submitText:Kt,disabled:!0,hideCancel:!0,showTermsOfService:!0}))}ee.propTypes={ethBalance:r.default.string,selectedAccountAddress:r.default.string,shuffledTokensList:r.default.array}}}},{package:"$root$",file:"ui/pages/swaps/prepare-swap-page/prepare-swap-page.js"}],[5936,{"../../../components/component-library":4955,"../../../components/ui/box":5194,"../../../contexts/i18n":5324,"../../../helpers/constants/design-system":5355,"../mascot-background-animation/mascot-background-animation":5933,"prop-types":3997,react:4243},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=p;var n=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=d(t);if(a&&a.has(e))return a.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=s?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}return n.default=e,a&&a.set(e,n),n}(e("react")),s=u(e("prop-types")),r=e("../../../contexts/i18n"),o=u(e("../../../components/ui/box")),i=e("../../../helpers/constants/design-system"),l=e("../../../components/component-library"),c=u(e("../mascot-background-animation/mascot-background-animation"));function u(e){return e&&e.__esModule?e:{default:e}}function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(d=function(e){return e?a:t})(e)}function p(e){const{quoteCount:t,numberOfAggregators:a}=e,s=(0,n.useContext)(r.I18nContext);return n.default.createElement(o.default,{marginTop:4,display:i.DISPLAY.FLEX,justifyContent:i.JustifyContent.center,alignItems:i.AlignItems.center,flexDirection:i.FLEX_DIRECTION.COLUMN},n.default.createElement(o.default,{display:i.DISPLAY.FLEX,justifyContent:i.JustifyContent.center,alignItems:i.AlignItems.center},n.default.createElement(l.Text,{variant:i.TextVariant.bodyMd,as:"h6",color:i.TextColor.textAlternative,marginLeft:1,marginRight:1},s("swapFetchingQuote")),n.default.createElement(l.Text,{variant:i.TextVariant.bodyMdBold,as:"h6",color:i.TextColor.textAlternative},s("swapQuoteNofM",[Math.min(t+1,a),a]))),n.default.createElement(c.default,null))}p.propTypes={quoteCount:s.default.number.isRequired,numberOfAggregators:s.default.number.isRequired}}}},{package:"$root$",file:"ui/pages/swaps/prepare-swap-page/quotes-loading-animation.js"}]],[],{}); \ No newline at end of file diff --git a/contracts/test/e2e/send-user-op.e2e.test.ts b/contracts/test/e2e/send-user-op.e2e.test.ts index 4b14ecf..0d2f11f 100644 --- a/contracts/test/e2e/send-user-op.e2e.test.ts +++ b/contracts/test/e2e/send-user-op.e2e.test.ts @@ -6,7 +6,7 @@ import * as http from "http"; const RECOVERY_PHRASE = "test test test test test test test test test test test junk"; -test('Scramble : Recover existing wallet!', async ({ context, extensionId }) => { +test('Full e2e test', async ({ context, extensionId }) => { /** @DEV keep in production, snap needs to build longer */ // await sleep(15000); @@ -114,6 +114,8 @@ test('Scramble : Recover existing wallet!', async ({ context, extensionId }) => await clickTestIdAndWait(extensionPopup, 'page-container-footer-next') await clickTestIdAndWait(extensionPopup, 'page-container-footer-next') await clickTestIdAndWait(extensionPopup, 'page-container-footer-next') + + await sleep(1000); await nP3.reload(); await sleep(5000); extensionPopup = context.pages().find(page => page.url().startsWith(`chrome-extension://${extensionId}`)); diff --git a/docker-compose.local.yml b/docker-compose.local.yml index 633136f..6b3f723 100644 --- a/docker-compose.local.yml +++ b/docker-compose.local.yml @@ -18,8 +18,8 @@ services: offchain-service: build: - context: ./backend/offchain - dockerfile: ../Dockerfile + context: ./backend + dockerfile: ./Dockerfile ports: - "${OC_LISTEN_PORT:-1234}:${OC_LISTEN_PORT:-1234}" env_file: ./backend/.env diff --git a/frontend/.env-boba-sepolia-snaplocal b/frontend/.env-boba-sepolia-snaplocal index fd4374c..5d7b267 100644 --- a/frontend/.env-boba-sepolia-snaplocal +++ b/frontend/.env-boba-sepolia-snaplocal @@ -1,4 +1,4 @@ VITE_SMART_CONTRACT=0xc8d1507b62aeb0aca00cb91441d19559fb68f15f VITE_RPC_PROVIDER=https://sepolia.boba.network VITE_SNAP_ORIGIN=local:http://localhost:8080 -VITE_SNAP_VERSION=1.1.3 \ No newline at end of file +VITE_SNAP_VERSION=1.1.4 \ No newline at end of file diff --git a/frontend/.env-local b/frontend/.env-local index 4956283..d56fef1 100644 --- a/frontend/.env-local +++ b/frontend/.env-local @@ -1,4 +1,4 @@ -VITE_SMART_CONTRACT=0x1f10f3ba7acb61b2f50b9d6ddcf91a6f787c0e82 +VITE_SMART_CONTRACT=0x5fc8d32690cc91d4c39d9d3abcbd16989f875707 VITE_RPC_PROVIDER=http://localhost:9545 VITE_SNAP_ORIGIN=local:http://localhost:8080 -VITE_SNAP_VERSION=1.1.3 \ No newline at end of file +VITE_SNAP_VERSION=1.1.4 \ No newline at end of file diff --git a/frontend/package.json b/frontend/package.json index 3b37c9c..9404d07 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -11,6 +11,7 @@ "preview": "vite preview" }, "dependencies": { + "@bobanetwork/aa-hc-sdk-client": "^1.0.0", "@metamask/keyring-api": "^8.0.0", "@radix-ui/react-label": "^2.1.0", "@radix-ui/react-slot": "^1.0.2", diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index 131ecbd..7f0dfaf 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -1,10 +1,10 @@ -import NetworkAlert from "@/components/AccountAlert"; -import Navbar from "@/components/Navbar"; +import NetworkAlert from "@/components/components/AccountAlert.tsx"; +import Navbar from "@/components/components/Navbar.tsx"; import "./App.css"; -import Alert from "./components/Alert"; +import Alert from "./components/components/Alert.tsx"; import { MetaMaskProvider } from "./context/MetamaskContext"; import "./styles/global.css"; -import TokenPriceFetcher from "./components/TokenPriceFetcher"; +import MainComponent from "@/components/MainComponent.tsx"; function App() { return ( @@ -17,7 +17,7 @@ function App() {
- {} + {}
diff --git a/frontend/src/components/TokenPriceFetcher.tsx b/frontend/src/components/MainComponent.tsx similarity index 76% rename from frontend/src/components/TokenPriceFetcher.tsx rename to frontend/src/components/MainComponent.tsx index 466c750..f08d1c0 100644 --- a/frontend/src/components/TokenPriceFetcher.tsx +++ b/frontend/src/components/MainComponent.tsx @@ -2,52 +2,54 @@ import {useContext, useEffect, useState} from "react"; import {Button} from "./ui/button"; import {defaultSnapOrigin} from "@/config"; import {MetaMaskContext} from "@/context/MetamaskContext"; -import {concat, ethers, FunctionFragment, Wallet} from "ethers"; -import {AbiCoder} from "ethers"; -import {hexlify} from "ethers"; -import {CopyIcon} from "./CopyIcon"; -import {YOUR_CONTRACT} from "@/config/snap"; +import {ethers} from "ethers"; +import {CopyIcon} from "./components/CopyIcon.tsx"; +import {YOUR_CONTRACT_ADDRESS} from "@/config/snap"; import {useContractAbi} from "@/hooks/useContractAbi"; import {Loader2} from "lucide-react"; +import {HybridComputeClientSDK} from "@bobanetwork/aa-hc-sdk-client" const FormComponent = () => { + /** @DEV General Frontend Setup */ const [state] = useContext(MetaMaskContext); - const [contractAddress, setContractAddress] = useState(YOUR_CONTRACT); - const [tokenSymbol, setTokenSymbol] = useState("ETH"); - const [tokenPrice, setTokenPrice] = useState(""); const [lastFetchedViaHC, setLastFetchedViaHC] = useState(0); - const {abi: contractAbi} = useContractAbi("TokenPrice"); const [txResponse, setTxResponse] = useState(null); - const [usePaymaster, setUsePaymaster] = useState(false) - const [isLoading, setIsLoading] = useState(false); const [error, setError] = useState(null); - const abiCoder = new AbiCoder(); + /** @DEV Contract Configuration */ + const [contractAddress, setContractAddress] = useState(YOUR_CONTRACT_ADDRESS); + const {abi: contractAbi} = useContractAbi("TokenPrice"); + const [tokenSymbol, setTokenSymbol] = useState("ETH"); + const [tokenPrice, setTokenPrice] = useState(""); const provider = new ethers.JsonRpcProvider( import.meta.env.VITE_RPC_PROVIDER ); + const contract = new ethers.Contract(contractAddress, contractAbi, provider); - const contract = new ethers.Contract( - contractAddress, - contractAbi, - provider, - ); + /*** @DEV invoke the SDK */ + let clientSdk: HybridComputeClientSDK; + /** @DEV Auto updating UI with data from the contract */ useEffect(() => { const intervalId = setInterval(() => { contract.tokenPrices(tokenSymbol).then(response => { setTokenPrice(response[0] ?? response['0']); - setLastFetchedViaHC(parseInt(response[1] ?? response['1'])); // unix timestamp - console.log("fetched price: ", tokenPrice, lastFetchedViaHC); + setLastFetchedViaHC(parseInt(response[1] ?? response['1'])); }); }, 5_000); - - // Clear the interval on unmount return () => clearInterval(intervalId); }, [setTokenPrice, contract]); - const onSubmit = async () => { + useEffect(() => { + if (state.selectedAcount) { + clientSdk = new HybridComputeClientSDK("901", state.selectedAcount.id) + } + }, [state.selectedAcount]) + + + /** @DEV Configure and call your contract */ + const onInvokeSnapSubmit = async () => { try { if (!state.selectedAcount || !state.selectedAcount.id) { console.error("Account not connected or invalid snap") @@ -59,38 +61,27 @@ const FormComponent = () => { setTxResponse(""); setError(""); - // Prepare the function selector and encoded parameters for the smart contract interaction. - // This specifies which function to call on the contract and with what arguments - const funcSelector = FunctionFragment.getSelector("fetchPrice", ["string"]); - const encodedParams = abiCoder.encode(["string"], [tokenSymbol]); - const txData = hexlify(concat([funcSelector, encodedParams])); + clientSdk = new HybridComputeClientSDK("901", state.selectedAcount.id) - const transactionDetails = { - payload: { - to: import.meta.env.VITE_SMART_CONTRACT, - value: "0", - data: txData, - }, - account: state.selectedAcount.id, - scope: `eip155:${state.chain}`, - }; + /** @DEV create the transaction */ + const transactionDetails = await clientSdk.buildInvokeTransaction({ + selector: {name: "fetchPrice", params: ["string"]}, + transaction: { + contractAddress: import.meta.env.VITE_SMART_CONTRACT, + parameters: {types: ['string'], values: [tokenSymbol]}, + value: "0" + } + }) - // Send request to RPC via our wallet. - const txResponse = await window.ethereum?.request({ - method: "wallet_invokeSnap", - params: { - snapId: defaultSnapOrigin, - request: { - method: `eth_sendUserOpBoba${usePaymaster ? 'PM' : ''}`, - params: [transactionDetails], - id: state.selectedAcount?.id, - }, - }, - }); + /** @DEV invoke the snap */ + const clientSdkTxResponse = await clientSdk.invokeSnap({ + defaultSnapOrigin, + transactionDetails, + }) - console.log("txResponse:", txResponse); - setTxResponse(txResponse); + console.log("Tx response is: ", clientSdkTxResponse); + setTxResponse(txResponse); } catch (error: any) { console.log(`error`, error); setError(error.message); @@ -99,10 +90,6 @@ const FormComponent = () => { } }; - const handleChangePaymaster = () => { - setUsePaymaster(!usePaymaster) - } - return (
@@ -133,18 +120,12 @@ const FormComponent = () => { placeholder="ETH" />
- {/* -
- -
*/}
- //
- // ) - // } - return <> } diff --git a/frontend/src/components/Alert.tsx b/frontend/src/components/components/Alert.tsx similarity index 100% rename from frontend/src/components/Alert.tsx rename to frontend/src/components/components/Alert.tsx diff --git a/frontend/src/components/ConnectButton.tsx b/frontend/src/components/components/ConnectButton.tsx similarity index 93% rename from frontend/src/components/ConnectButton.tsx rename to frontend/src/components/components/ConnectButton.tsx index 583a283..03e99f5 100644 --- a/frontend/src/components/ConnectButton.tsx +++ b/frontend/src/components/components/ConnectButton.tsx @@ -1,5 +1,5 @@ -import { MetamaskState } from "@/context/MetamaskContext"; -import { Button } from "./ui/button"; +import { MetamaskState } from "@/context/MetamaskContext.tsx"; +import { Button } from "../ui/button.tsx"; import MMFlaskFox from "@/assets/flask_fox.svg"; import truncateEthAddress from 'truncate-eth-address'; diff --git a/frontend/src/components/CopyIcon.tsx b/frontend/src/components/components/CopyIcon.tsx similarity index 100% rename from frontend/src/components/CopyIcon.tsx rename to frontend/src/components/components/CopyIcon.tsx diff --git a/frontend/src/components/Navbar.tsx b/frontend/src/components/components/Navbar.tsx similarity index 94% rename from frontend/src/components/Navbar.tsx rename to frontend/src/components/components/Navbar.tsx index 9f32529..c0e733b 100644 --- a/frontend/src/components/Navbar.tsx +++ b/frontend/src/components/components/Navbar.tsx @@ -1,9 +1,9 @@ import logo from '@/assets/enya-logo.svg'; import { snapPackageVersion } from '@/config'; -import { MetamaskActions, MetaMaskContext } from '@/context/MetamaskContext'; +import { MetamaskActions, MetaMaskContext } from '@/context/MetamaskContext.tsx'; import { useContext } from 'react'; -import { HeaderButtons } from './ConnectButton'; -import { connectSnap, getSnap } from '@/lib/snap'; +import { HeaderButtons } from './ConnectButton.tsx'; +import { connectSnap, getSnap } from '@/lib/snap.ts'; const Navbar = () => { const [state, dispatch] = useContext(MetaMaskContext); diff --git a/frontend/src/config/snap.ts b/frontend/src/config/snap.ts index a5a1651..bdd6619 100644 --- a/frontend/src/config/snap.ts +++ b/frontend/src/config/snap.ts @@ -11,7 +11,7 @@ export const defaultSnapOrigin = import.meta.env.VITE_SNAP_ORIGIN ?? 'npm:@boban * Version of snap installed so have to give release on each new version. * - can use to show the button to user to update snaps. */ -export const snapPackageVersion = import.meta.env.VITE_SNAP_VERSION ?? "1.1.3"; +export const snapPackageVersion = import.meta.env.VITE_SNAP_VERSION ?? "1.1.4"; /* Contract address that you want to invoke. */ -export const YOUR_CONTRACT = import.meta.env.VITE_SMART_CONTRACT; +export const YOUR_CONTRACT_ADDRESS = import.meta.env.VITE_SMART_CONTRACT; diff --git a/package.json b/package.json index b57927d..9b5290f 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "version": "1.0.0", "description": "Full-stack example for Account Abstraction Hybrid Compute", "scripts": { - "start:local": "cd contracts && npx pnpm compile && npx ts-node ./script/deploy-local.ts && cd ..", + "start:local": "cd contracts && npx pnpm compile && npx ts-node ./script/deploy-local.ts", "start:local:ci": "cd contracts && npx pnpm compile && npx ts-node ./script/deploy-local.ts --ci=true && cd .. && docker-compose -f docker-compose.local.yml up -d --build", "start:sepolia": "cd contracts && npx pnpm compile && npx ts-node ./script/deploy-sepolia.ts && cd ..", "full-test": "cd contracts && npx pnpm compile && npx ts-node ./script/deploy-local.ts && cd .. && docker-compose -f docker-compose.local.yml up -d --build && cd contracts && yarn test-e2e", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 6b1d17b..fb200b4 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -10,27 +10,18 @@ importers: backend: dependencies: - '@types/express': - specifier: ^4.17.21 - version: 4.17.21 + '@bobanetwork/aa-hc-sdk-server': + specifier: ^1.0.1 + version: 1.0.1(typescript@5.5.4)(zod@3.23.8) axios: specifier: ^1.7.2 version: 1.7.3 - body-parser: - specifier: ^1.20.2 - version: 1.20.2 dotenv: specifier: ^16.4.5 version: 16.4.5 - express: - specifier: ^4.19.2 - version: 4.19.2 - json-rpc-2.0: - specifier: ^1.7.0 - version: 1.7.0 web3: - specifier: ^4.11.1 - version: 4.11.1(typescript@5.5.4)(zod@3.23.8) + specifier: ^4.13.0 + version: 4.13.0(typescript@5.5.4)(zod@3.23.8) devDependencies: '@types/body-parser': specifier: ^1.19.5 @@ -195,6 +186,9 @@ importers: frontend: dependencies: + '@bobanetwork/aa-hc-sdk-client': + specifier: ^1.0.0 + version: 1.0.0(react@18.3.1) '@metamask/keyring-api': specifier: ^8.0.0 version: 8.1.0(@metamask/providers@17.1.2(webextension-polyfill@0.12.0))(webextension-polyfill@0.12.0) @@ -222,9 +216,15 @@ importers: ethers: specifier: ^6.13.1 version: 6.13.2 + i: + specifier: ^0.3.7 + version: 0.3.7 lucide-react: specifier: ^0.395.0 version: 0.395.0(react@18.3.1) + npm: + specifier: ^10.8.3 + version: 10.8.3 postcss: specifier: ^8.4.38 version: 8.4.41 @@ -469,6 +469,16 @@ packages: '@bcoe/v8-coverage@0.2.3': resolution: {integrity: sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==} + '@bobanetwork/aa-hc-sdk-client@1.0.0': + resolution: {integrity: sha512-oInsYMjyFfeUWF6K2sohEZbS1JbfUrM55+nhKdeyp+2fRZiwPy5wmegV/HgFXHeVzoSnUm8+m62EQiuqQJeFxQ==} + peerDependencies: + react: ^18.0.0 + + '@bobanetwork/aa-hc-sdk-server@1.0.1': + resolution: {integrity: sha512-o6RxpsbdXKEC+J5XkXuh/4WIchTnxmZssKNJskfebJth2l8ykE1hD/hbsWkNlMeKz9NVnNTA3bLqJRgNQv6g2A==} + peerDependencies: + typescript: ^5.0.0 + '@colors/colors@1.5.0': resolution: {integrity: sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==} engines: {node: '>=0.1.90'} @@ -1814,6 +1824,10 @@ packages: resolution: {integrity: sha512-ml9pReCu3M61kGlqoTm2umSXTlRTuGTx0bfYj+uIUKKYycG5NtSbeetV3faSU6R7ajOPw0g/J1PvK4qNy7s5bA==} engines: {node: '>= 0.8', npm: 1.2.8000 || >= 1.4.16} + body-parser@1.20.3: + resolution: {integrity: sha512-7rAxByjUMqQ3/bHJy7D6OGXvx/MMc4IqBn/X0fcM1QUcAItpZrBEYhWGem+tzXH90c+G01ypMcYJBO9Y30203g==} + engines: {node: '>= 0.8', npm: 1.2.8000 || >= 1.4.16} + boxen@5.1.2: resolution: {integrity: sha512-9gYgQKXx+1nP8mP7CzFyaUARhg7D3n1dF/FnErWmu9l6JvGpNUN278h0aSb+QjoiKSWG+iZ3uHrcqk0qrY9RQQ==} engines: {node: '>=10'} @@ -2237,6 +2251,10 @@ packages: resolution: {integrity: sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==} engines: {node: '>= 0.8'} + encodeurl@2.0.0: + resolution: {integrity: sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==} + engines: {node: '>= 0.8'} + enquirer@2.4.1: resolution: {integrity: sha512-rRqJg/6gd538VHvR3PSrdRBb/1Vy2YfzHqzvbhGIQpDRKIa4FgV/54b5Q1xYSxOOwKvjXweS26E0Q+nAMwp2pQ==} engines: {node: '>=8.6'} @@ -2406,6 +2424,10 @@ packages: resolution: {integrity: sha512-5T6nhjsT+EOMzuck8JjBHARTHfMht0POzlA60WV2pMD3gyXw2LZnZ+ueGdNxG+0calOJcWKbpFcuzLZ91YWq9Q==} engines: {node: '>= 0.10.0'} + express@4.21.0: + resolution: {integrity: sha512-VqcNGcj/Id5ZT1LZ/cfihi3ttTn+NJmkli2eZADigjq29qTlWi/hAQ43t/VLPq8+UX06FCEx3ByOYet6ZFblng==} + engines: {node: '>= 0.10.0'} + extension-port-stream@4.2.0: resolution: {integrity: sha512-i5IgiPVMVrHN+Zx8PRjvFsOw8L1A3sboVwPZghDjW9Yp1BMmBDE6mCcTNu4xMXPYduBOwI3CBK7wd72LcOyD6g==} engines: {node: '>=12.0.0'} @@ -2452,6 +2474,10 @@ packages: resolution: {integrity: sha512-5uXcUVftlQMFnWC9qu/svkWv3GTd2PfUhK/3PLkYNAe7FbqJMt3515HaxE6eRL74GdsriiwujiawdaB1BpEISg==} engines: {node: '>= 0.8'} + finalhandler@1.3.1: + resolution: {integrity: sha512-6BN9trH7bp3qvnrRyzsBz+g3lZxTNZTbVO2EV1CS0WIcDbawYVdYvGflME/9QP0h0pYlCDBCTjYa9nZzMDpyxQ==} + engines: {node: '>= 0.8'} + find-replace@3.0.0: resolution: {integrity: sha512-6Tb2myMioCAgv5kfvP5/PkZZ/ntTpVK39fHY7WkWBgvbeE+VHd/tZuZ4mrC+bxh4cfOZeYKVPaJIZtZXV7GNCQ==} engines: {node: '>=4.0.0'} @@ -2733,6 +2759,10 @@ packages: resolution: {integrity: sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==} engines: {node: '>=10.17.0'} + i@0.3.7: + resolution: {integrity: sha512-FYz4wlXgkQwIPqhzC5TdNMLSE5+GS1IIDJZY/1ZiEPCT2S3COUVZeT5OW4BmW4r5LHLQuOosSwsvnroG9GR59Q==} + engines: {node: '>=0.4'} + iconv-lite@0.4.24: resolution: {integrity: sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==} engines: {node: '>=0.10.0'} @@ -3211,6 +3241,9 @@ packages: merge-descriptors@1.0.1: resolution: {integrity: sha512-cCi6g3/Zr1iqQi6ySbseM1Xvooa98N0w31jzUYrXPX2xqObmFGHJ0tQ5u74H3mVh7wLouTseZyYIq39g8cNp1w==} + merge-descriptors@1.0.3: + resolution: {integrity: sha512-gaNvAS7TZ897/rVaZ0nMtAyxNyi/pdbjbAwUpFQpN70GqnVfOiXpeUUMKRBmzXaSQ8DdTX4/0ms62r2K+hE6mQ==} + merge-stream@2.0.0: resolution: {integrity: sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==} @@ -3369,6 +3402,80 @@ packages: resolution: {integrity: sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==} engines: {node: '>=8'} + npm@10.8.3: + resolution: {integrity: sha512-0IQlyAYvVtQ7uOhDFYZCGK8kkut2nh8cpAdA9E6FvRSJaTgtZRZgNjlC5ZCct//L73ygrpY93CxXpRJDtNqPVg==} + engines: {node: ^18.17.0 || >=20.5.0} + hasBin: true + bundledDependencies: + - '@isaacs/string-locale-compare' + - '@npmcli/arborist' + - '@npmcli/config' + - '@npmcli/fs' + - '@npmcli/map-workspaces' + - '@npmcli/package-json' + - '@npmcli/promise-spawn' + - '@npmcli/redact' + - '@npmcli/run-script' + - '@sigstore/tuf' + - abbrev + - archy + - cacache + - chalk + - ci-info + - cli-columns + - fastest-levenshtein + - fs-minipass + - glob + - graceful-fs + - hosted-git-info + - ini + - init-package-json + - is-cidr + - json-parse-even-better-errors + - libnpmaccess + - libnpmdiff + - libnpmexec + - libnpmfund + - libnpmhook + - libnpmorg + - libnpmpack + - libnpmpublish + - libnpmsearch + - libnpmteam + - libnpmversion + - make-fetch-happen + - minimatch + - minipass + - minipass-pipeline + - ms + - node-gyp + - nopt + - normalize-package-data + - npm-audit-report + - npm-install-checks + - npm-package-arg + - npm-pick-manifest + - npm-profile + - npm-registry-fetch + - npm-user-validate + - p-map + - pacote + - parse-conflict-json + - proc-log + - qrcode-terminal + - read + - semver + - spdx-expression-parse + - ssri + - supports-color + - tar + - text-table + - tiny-relative-date + - treeverse + - validate-npm-package-name + - which + - write-file-atomic + number-to-bn@1.7.0: resolution: {integrity: sha512-wsJ9gfSz1/s4ZsJN01lyonwuxA1tml6X1yBDnfpMglypcBRFZZkus26EdPSlqS5GJfYddVZa22p3VNb3z5m5Ig==} engines: {node: '>=6.5.0', npm: '>=3'} @@ -3488,6 +3595,9 @@ packages: resolution: {integrity: sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==} engines: {node: '>=16 || 14 >=14.18'} + path-to-regexp@0.1.10: + resolution: {integrity: sha512-7lf7qcQidTku0Gu3YDPc8DJ1q7OOucfa/BSsIwjuh56VU7katFvuM8hULfkwB3Fns/rsVF7PwPKVw1sl5KQS9w==} + path-to-regexp@0.1.7: resolution: {integrity: sha512-5DFkuoqlv1uYQKxy8omFBeJPQcdoE07Kv2sferDCrAq1ohOU+MSDswDIbnx3YAM60qIOnYa53wBhXW0EbMonrQ==} @@ -3779,6 +3889,10 @@ packages: resolution: {integrity: sha512-qqWzuOjSFOuqPjFe4NOsMLafToQQwBSOEpS+FwEt3A2V3vKubTquT3vmLTQpFgMXp8AlFWFuP1qKaJZOtPpVXg==} engines: {node: '>= 0.8.0'} + send@0.19.0: + resolution: {integrity: sha512-dW41u5VfLXu8SJh5bwRmyYUbAoSB3c9uQh6L8h/KtsFREPWpbX1lrljJo186Jc4nmci/sGUZ9a0a0J2zgfq2hw==} + engines: {node: '>= 0.8.0'} + serialize-javascript@6.0.2: resolution: {integrity: sha512-Saa1xPByTTq2gdeFZYLLo+RFE35NHZkAbqZeWNd3BpzppeVisAqpDjcp8dyf6uIvEqJRd46jemmyA4iFIeVk8g==} @@ -3786,6 +3900,10 @@ packages: resolution: {integrity: sha512-XGuRDNjXUijsUL0vl6nSD7cwURuzEgglbOaFuZM9g3kwDXOWVTck0jLzjPzGD+TazWbboZYu52/9/XPdUgne9g==} engines: {node: '>= 0.8.0'} + serve-static@1.16.2: + resolution: {integrity: sha512-VqpjJZKadQB/PEbEwvFdO43Ax5dFBZ2UECszz8bQ7pi7wt//PWe1P6MN7eCnjsatYtBT6EuiClbjSWP2WrIoTw==} + engines: {node: '>= 0.8.0'} + set-function-length@1.2.2: resolution: {integrity: sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==} engines: {node: '>= 0.4'} @@ -4256,22 +4374,42 @@ packages: resolution: {integrity: sha512-Q8LIAqmF7vkRydBPiU+OC7wI44nEU6JEExolFaOakqrjMtQ1CWFHRUQMNJRDsk5bRirjyShuAsuqLeYByvvXhg==} engines: {node: '>=14', npm: '>=6.12.0'} + web3-core@4.6.0: + resolution: {integrity: sha512-j8uQ/7zSwpmLClMMeZb736Ok3V4cWSd0dnd29jkd10d1pedi32r+hSAgycxSJLLWtPHOzMBIXUjj3TF/IAClVQ==} + engines: {node: '>=14', npm: '>=6.12.0'} + web3-errors@1.2.1: resolution: {integrity: sha512-dIsi8SFC9TCAWpPmacXeVMk/F8tDNa1Bvg8/Cc2cvJo8LRSWd099szEyb+/SiMYcLlEbwftiT9Rpukz7ql4hBg==} engines: {node: '>=14', npm: '>=6.12.0'} + web3-errors@1.3.0: + resolution: {integrity: sha512-j5JkAKCtuVMbY3F5PYXBqg1vWrtF4jcyyMY1rlw8a4PV67AkqlepjGgpzWJZd56Mt+TvHy6DA1F/3Id8LatDSQ==} + engines: {node: '>=14', npm: '>=6.12.0'} + web3-eth-abi@4.2.3: resolution: {integrity: sha512-rPVwTn0O1CzbtfXwEfIjUP0W5Y7u1OFjugwKpSqJzPQE6+REBg6OELjomTGZBu+GThxHnv0rp15SOxvqp+tyXA==} engines: {node: '>=14', npm: '>=6.12.0'} + web3-eth-abi@4.2.4: + resolution: {integrity: sha512-FGoj/ENm/Iq3+6myJyiDCwbFkha9ZCx2fRdiIdw3mp7S4lgu+ay3EVzQPRxJjNBm09UEfxB9yoSAPKj9Z3Mbxg==} + engines: {node: '>=14', npm: '>=6.12.0'} + web3-eth-accounts@4.1.3: resolution: {integrity: sha512-61Nb7xCXy6Vw/6xUZMM5ITtXetXmaP0F8oKRxika4GO4fRfKZLAwBZtshMyrdAORPZYq77ENiqXJVU+hTmtUaQ==} engines: {node: '>=14', npm: '>=6.12.0'} + web3-eth-accounts@4.2.1: + resolution: {integrity: sha512-aOlEZFzqAgKprKs7+DGArU4r9b+ILBjThpeq42aY7LAQcP+mSpsWcQgbIRK3r/n3OwTYZ3aLPk0Ih70O/LwnYA==} + engines: {node: '>=14', npm: '>=6.12.0'} + web3-eth-contract@4.6.0: resolution: {integrity: sha512-mgQ/WUUlgW9BVKKVGU/Q7KrQEbEGI98h8ppox7fT964wY9ITFMDuRCvYk50WTWnFMdjFtOBqt1xRJ0+B1ekCHg==} engines: {node: '>=14', npm: '>=6.12.0'} + web3-eth-contract@4.7.0: + resolution: {integrity: sha512-fdStoBOjFyMHwlyJmSUt/BTDL1ATwKGmG3zDXQ/zTKlkkW/F/074ut0Vry4GuwSBg9acMHc0ycOiZx9ZKjNHsw==} + engines: {node: '>=14', npm: '>=6.12.0'} + web3-eth-ens@4.4.0: resolution: {integrity: sha512-DeyVIS060hNV9g8dnTx92syqvgbvPricE3MerCxe/DquNZT3tD8aVgFfq65GATtpCgDDJffO2bVeHp3XBemnSQ==} engines: {node: '>=14', npm: '>=6.12.0'} @@ -4284,10 +4422,18 @@ packages: resolution: {integrity: sha512-sXeyLKJ7ddQdMxz1BZkAwImjqh7OmKxhXoBNF3isDmD4QDpMIwv/t237S3q4Z0sZQamPa/pHebJRWVuvP8jZdw==} engines: {node: '>=14', npm: '>=6.12.0'} + web3-eth-personal@4.1.0: + resolution: {integrity: sha512-RFN83uMuvA5cu1zIwwJh9A/bAj0OBxmGN3tgx19OD/9ygeUZbifOL06jgFzN0t+1ekHqm3DXYQM8UfHpXi7yDQ==} + engines: {node: '>=14', npm: '>=6.12.0'} + web3-eth@4.8.2: resolution: {integrity: sha512-DLV/fIMG6gBp/B0gv0+G4FzxZ4YCDQsY3lzqqv7avwh3uU7/O27aifCUcFd7Ye+3ixTqCjAvLEl9wYSeyG3zQw==} engines: {node: '>=14', npm: '>=6.12.0'} + web3-eth@4.9.0: + resolution: {integrity: sha512-lE+5rQUkQq1Mzf3uZ/tlay8nvMyC/CmaRFRFQ015OZuvSrRr/byZhhkzY5ZWkIetESTMqfWapu67yeHebcHxwA==} + engines: {node: '>=14', npm: '>=6.12.0'} + web3-net@4.1.0: resolution: {integrity: sha512-WWmfvHVIXWEoBDWdgKNYKN8rAy6SgluZ0abyRyXOL3ESr7ym7pKWbfP4fjApIHlYTh8tNqkrdPfM4Dyi6CA0SA==} engines: {node: '>=14', npm: '>=6.12.0'} @@ -4296,6 +4442,10 @@ packages: resolution: {integrity: sha512-6qRUGAhJfVQM41E5t+re5IHYmb5hSaLc02BE2MaRQsz2xKA6RjmHpOA5h/+ojJxEpI9NI2CrfDKOAgtJfoUJQg==} engines: {node: '>=14', npm: '>=6.12.0'} + web3-providers-http@4.2.0: + resolution: {integrity: sha512-IPMnDtHB7dVwaB7/mMxAZzyq7d5ezfO1+Vw0bNfAeIi7gaDlJiggp85SdyAfOgov8AMUA/dyiY72kQ0KmjXKvQ==} + engines: {node: '>=14', npm: '>=6.12.0'} + web3-providers-ipc@4.0.7: resolution: {integrity: sha512-YbNqY4zUvIaK2MHr1lQFE53/8t/ejHtJchrWn9zVbFMGXlTsOAbNoIoZWROrg1v+hCBvT2c9z8xt7e/+uz5p1g==} engines: {node: '>=14', npm: '>=6.12.0'} @@ -4312,10 +4462,18 @@ packages: resolution: {integrity: sha512-N7AgGB+ilKPFQohnlI1vNHWmQ5Wh5vlGdYKWCWJc9kisKxxGtOsqN3W8tOj6/898sHZIXU9i/IAOyreGDIybmw==} engines: {node: '>=14', npm: '>=6.12.0'} + web3-rpc-providers@1.0.0-rc.2: + resolution: {integrity: sha512-ocFIEXcBx/DYQ90HhVepTBUVnL9pGsZw8wyPb1ZINSenwYus9SvcFkjU1Hfvd/fXjuhAv2bUVch9vxvMx1mXAQ==} + engines: {node: '>=14', npm: '>=6.12.0'} + web3-types@1.7.0: resolution: {integrity: sha512-nhXxDJ7a5FesRw9UG5SZdP/C/3Q2EzHGnB39hkAV+YGXDMgwxBXFWebQLfEzZzuArfHnvC0sQqkIHNwSKcVjdA==} engines: {node: '>=14', npm: '>=6.12.0'} + web3-types@1.8.0: + resolution: {integrity: sha512-Z51wFLPGhZM/1uDxrxE8gzju3t2aEdRGn+YmLX463id5UjTuMEmP/9in1GFjqrsPB3m86czs8RnGBUt3ovueMw==} + engines: {node: '>=14', npm: '>=6.12.0'} + web3-utils@1.10.4: resolution: {integrity: sha512-tsu8FiKJLk2PzhDl9fXbGUWTkkVXYhtTA+SmEFkKft+9BgwLxfCRpU96sWv7ICC8zixBNd3JURVoiR3dUXgP8A==} engines: {node: '>=8.0.0'} @@ -4332,6 +4490,10 @@ packages: resolution: {integrity: sha512-KUntBtnc+cj9ur/yNcdTok9MpCI9dHf8h1hRmLPVICF5wyKyHbR4t+51vqUnK5bI6UxVfRPT++qCcP7KhDACVA==} engines: {node: '>=14.0.0', npm: '>=6.12.0'} + web3@4.13.0: + resolution: {integrity: sha512-wRXTu/YjelvBJ7PSLzp/rW8/6pqj4RlXzdKSkjk01RaHDvnpLogLU/VL8OF5ygqhY7IzhY5MSrl9SnC8C9Z4uA==} + engines: {node: '>=14.0.0', npm: '>=6.12.0'} + webextension-polyfill@0.12.0: resolution: {integrity: sha512-97TBmpoWJEE+3nFBQ4VocyCdLKfw54rFaJ6EVQYLBCXqCIpLSZkwGgASpv4oPt9gdKCJ80RJlcmNzNn008Ag6Q==} @@ -4699,6 +4861,29 @@ snapshots: '@bcoe/v8-coverage@0.2.3': {} + '@bobanetwork/aa-hc-sdk-client@1.0.0(react@18.3.1)': + dependencies: + ethers: 6.13.2 + react: 18.3.1 + transitivePeerDependencies: + - bufferutil + - utf-8-validate + + '@bobanetwork/aa-hc-sdk-server@1.0.1(typescript@5.5.4)(zod@3.23.8)': + dependencies: + body-parser: 1.20.3 + dotenv: 16.4.5 + express: 4.21.0 + json-rpc-2.0: 1.7.0 + typescript: 5.5.4 + web3: 4.13.0(typescript@5.5.4)(zod@3.23.8) + transitivePeerDependencies: + - bufferutil + - encoding + - supports-color + - utf-8-validate + - zod + '@colors/colors@1.5.0': optional: true @@ -6386,6 +6571,23 @@ snapshots: transitivePeerDependencies: - supports-color + body-parser@1.20.3: + dependencies: + bytes: 3.1.2 + content-type: 1.0.5 + debug: 2.6.9 + depd: 2.0.0 + destroy: 1.2.0 + http-errors: 2.0.0 + iconv-lite: 0.4.24 + on-finished: 2.4.1 + qs: 6.13.0 + raw-body: 2.5.2 + type-is: 1.6.18 + unpipe: 1.0.0 + transitivePeerDependencies: + - supports-color + boxen@5.1.2: dependencies: ansi-align: 3.0.1 @@ -6805,6 +7007,8 @@ snapshots: encodeurl@1.0.2: {} + encodeurl@2.0.0: {} + enquirer@2.4.1: dependencies: ansi-colors: 4.1.3 @@ -7134,6 +7338,42 @@ snapshots: transitivePeerDependencies: - supports-color + express@4.21.0: + dependencies: + accepts: 1.3.8 + array-flatten: 1.1.1 + body-parser: 1.20.3 + content-disposition: 0.5.4 + content-type: 1.0.5 + cookie: 0.6.0 + cookie-signature: 1.0.6 + debug: 2.6.9 + depd: 2.0.0 + encodeurl: 2.0.0 + escape-html: 1.0.3 + etag: 1.8.1 + finalhandler: 1.3.1 + fresh: 0.5.2 + http-errors: 2.0.0 + merge-descriptors: 1.0.3 + methods: 1.1.2 + on-finished: 2.4.1 + parseurl: 1.3.3 + path-to-regexp: 0.1.10 + proxy-addr: 2.0.7 + qs: 6.13.0 + range-parser: 1.2.1 + safe-buffer: 5.2.1 + send: 0.19.0 + serve-static: 1.16.2 + setprototypeof: 1.2.0 + statuses: 2.0.1 + type-is: 1.6.18 + utils-merge: 1.0.1 + vary: 1.1.2 + transitivePeerDependencies: + - supports-color + extension-port-stream@4.2.0(webextension-polyfill@0.12.0): dependencies: readable-stream: 3.6.2 @@ -7189,6 +7429,18 @@ snapshots: transitivePeerDependencies: - supports-color + finalhandler@1.3.1: + dependencies: + debug: 2.6.9 + encodeurl: 2.0.0 + escape-html: 1.0.3 + on-finished: 2.4.1 + parseurl: 1.3.3 + statuses: 2.0.1 + unpipe: 1.0.0 + transitivePeerDependencies: + - supports-color + find-replace@3.0.0: dependencies: array-back: 3.1.0 @@ -7566,6 +7818,8 @@ snapshots: human-signals@2.1.0: {} + i@0.3.7: {} + iconv-lite@0.4.24: dependencies: safer-buffer: 2.1.2 @@ -8184,6 +8438,8 @@ snapshots: merge-descriptors@1.0.1: {} + merge-descriptors@1.0.3: {} + merge-stream@2.0.0: {} merge2@1.4.1: {} @@ -8320,6 +8576,8 @@ snapshots: dependencies: path-key: 3.1.1 + npm@10.8.3: {} + number-to-bn@1.7.0: dependencies: bn.js: 4.11.6 @@ -8429,6 +8687,8 @@ snapshots: lru-cache: 10.4.3 minipass: 7.1.2 + path-to-regexp@0.1.10: {} + path-to-regexp@0.1.7: {} path-type@4.0.0: {} @@ -8722,6 +8982,24 @@ snapshots: transitivePeerDependencies: - supports-color + send@0.19.0: + dependencies: + debug: 2.6.9 + depd: 2.0.0 + destroy: 1.2.0 + encodeurl: 1.0.2 + escape-html: 1.0.3 + etag: 1.8.1 + fresh: 0.5.2 + http-errors: 2.0.0 + mime: 1.6.0 + ms: 2.1.3 + on-finished: 2.4.1 + range-parser: 1.2.1 + statuses: 2.0.1 + transitivePeerDependencies: + - supports-color + serialize-javascript@6.0.2: dependencies: randombytes: 2.1.0 @@ -8735,6 +9013,15 @@ snapshots: transitivePeerDependencies: - supports-color + serve-static@1.16.2: + dependencies: + encodeurl: 2.0.0 + escape-html: 1.0.3 + parseurl: 1.3.3 + send: 0.19.0 + transitivePeerDependencies: + - supports-color + set-function-length@1.2.2: dependencies: define-data-property: 1.1.4 @@ -9246,10 +9533,31 @@ snapshots: - encoding - utf-8-validate + web3-core@4.6.0: + dependencies: + web3-errors: 1.3.0 + web3-eth-accounts: 4.2.1 + web3-eth-iban: 4.0.7 + web3-providers-http: 4.2.0 + web3-providers-ws: 4.0.8 + web3-types: 1.8.0 + web3-utils: 4.3.1 + web3-validator: 2.0.6 + optionalDependencies: + web3-providers-ipc: 4.0.7 + transitivePeerDependencies: + - bufferutil + - encoding + - utf-8-validate + web3-errors@1.2.1: dependencies: web3-types: 1.7.0 + web3-errors@1.3.0: + dependencies: + web3-types: 1.8.0 + web3-eth-abi@4.2.3(typescript@5.5.4)(zod@3.23.8): dependencies: abitype: 0.7.1(typescript@5.5.4)(zod@3.23.8) @@ -9261,6 +9569,17 @@ snapshots: - typescript - zod + web3-eth-abi@4.2.4(typescript@5.5.4)(zod@3.23.8): + dependencies: + abitype: 0.7.1(typescript@5.5.4)(zod@3.23.8) + web3-errors: 1.3.0 + web3-types: 1.8.0 + web3-utils: 4.3.1 + web3-validator: 2.0.6 + transitivePeerDependencies: + - typescript + - zod + web3-eth-accounts@4.1.3: dependencies: '@ethereumjs/rlp': 4.0.1 @@ -9271,6 +9590,16 @@ snapshots: web3-utils: 4.3.1 web3-validator: 2.0.6 + web3-eth-accounts@4.2.1: + dependencies: + '@ethereumjs/rlp': 4.0.1 + crc-32: 1.2.2 + ethereum-cryptography: 2.2.1 + web3-errors: 1.3.0 + web3-types: 1.8.0 + web3-utils: 4.3.1 + web3-validator: 2.0.6 + web3-eth-contract@4.6.0(typescript@5.5.4)(zod@3.23.8): dependencies: '@ethereumjs/rlp': 5.0.2 @@ -9288,15 +9617,32 @@ snapshots: - utf-8-validate - zod + web3-eth-contract@4.7.0(typescript@5.5.4)(zod@3.23.8): + dependencies: + '@ethereumjs/rlp': 5.0.2 + web3-core: 4.6.0 + web3-errors: 1.3.0 + web3-eth: 4.9.0(typescript@5.5.4)(zod@3.23.8) + web3-eth-abi: 4.2.4(typescript@5.5.4)(zod@3.23.8) + web3-types: 1.8.0 + web3-utils: 4.3.1 + web3-validator: 2.0.6 + transitivePeerDependencies: + - bufferutil + - encoding + - typescript + - utf-8-validate + - zod + web3-eth-ens@4.4.0(typescript@5.5.4)(zod@3.23.8): dependencies: '@adraffy/ens-normalize': 1.10.1 - web3-core: 4.5.0 - web3-errors: 1.2.1 - web3-eth: 4.8.2(typescript@5.5.4)(zod@3.23.8) - web3-eth-contract: 4.6.0(typescript@5.5.4)(zod@3.23.8) + web3-core: 4.6.0 + web3-errors: 1.3.0 + web3-eth: 4.9.0(typescript@5.5.4)(zod@3.23.8) + web3-eth-contract: 4.7.0(typescript@5.5.4)(zod@3.23.8) web3-net: 4.1.0 - web3-types: 1.7.0 + web3-types: 1.8.0 web3-utils: 4.3.1 web3-validator: 2.0.6 transitivePeerDependencies: @@ -9328,6 +9674,21 @@ snapshots: - utf-8-validate - zod + web3-eth-personal@4.1.0(typescript@5.5.4)(zod@3.23.8): + dependencies: + web3-core: 4.6.0 + web3-eth: 4.9.0(typescript@5.5.4)(zod@3.23.8) + web3-rpc-methods: 1.3.0 + web3-types: 1.8.0 + web3-utils: 4.3.1 + web3-validator: 2.0.6 + transitivePeerDependencies: + - bufferutil + - encoding + - typescript + - utf-8-validate + - zod + web3-eth@4.8.2(typescript@5.5.4)(zod@3.23.8): dependencies: setimmediate: 1.0.5 @@ -9348,11 +9709,31 @@ snapshots: - utf-8-validate - zod + web3-eth@4.9.0(typescript@5.5.4)(zod@3.23.8): + dependencies: + setimmediate: 1.0.5 + web3-core: 4.6.0 + web3-errors: 1.3.0 + web3-eth-abi: 4.2.4(typescript@5.5.4)(zod@3.23.8) + web3-eth-accounts: 4.2.1 + web3-net: 4.1.0 + web3-providers-ws: 4.0.8 + web3-rpc-methods: 1.3.0 + web3-types: 1.8.0 + web3-utils: 4.3.1 + web3-validator: 2.0.6 + transitivePeerDependencies: + - bufferutil + - encoding + - typescript + - utf-8-validate + - zod + web3-net@4.1.0: dependencies: - web3-core: 4.5.0 + web3-core: 4.6.0 web3-rpc-methods: 1.3.0 - web3-types: 1.7.0 + web3-types: 1.8.0 web3-utils: 4.3.1 transitivePeerDependencies: - bufferutil @@ -9368,10 +9749,19 @@ snapshots: transitivePeerDependencies: - encoding + web3-providers-http@4.2.0: + dependencies: + cross-fetch: 4.0.0 + web3-errors: 1.3.0 + web3-types: 1.8.0 + web3-utils: 4.3.1 + transitivePeerDependencies: + - encoding + web3-providers-ipc@4.0.7: dependencies: - web3-errors: 1.2.1 - web3-types: 1.7.0 + web3-errors: 1.3.0 + web3-types: 1.8.0 web3-utils: 4.3.1 optional: true @@ -9379,8 +9769,8 @@ snapshots: dependencies: '@types/ws': 8.5.3 isomorphic-ws: 5.0.0(ws@8.18.0) - web3-errors: 1.2.1 - web3-types: 1.7.0 + web3-errors: 1.3.0 + web3-types: 1.8.0 web3-utils: 4.3.1 ws: 8.18.0 transitivePeerDependencies: @@ -9389,8 +9779,8 @@ snapshots: web3-rpc-methods@1.3.0: dependencies: - web3-core: 4.5.0 - web3-types: 1.7.0 + web3-core: 4.6.0 + web3-types: 1.8.0 web3-validator: 2.0.6 transitivePeerDependencies: - bufferutil @@ -9410,8 +9800,23 @@ snapshots: - encoding - utf-8-validate + web3-rpc-providers@1.0.0-rc.2: + dependencies: + web3-errors: 1.3.0 + web3-providers-http: 4.2.0 + web3-providers-ws: 4.0.8 + web3-types: 1.8.0 + web3-utils: 4.3.1 + web3-validator: 2.0.6 + transitivePeerDependencies: + - bufferutil + - encoding + - utf-8-validate + web3-types@1.7.0: {} + web3-types@1.8.0: {} + web3-utils@1.10.4: dependencies: '@ethereumjs/util': 8.1.0 @@ -9427,16 +9832,16 @@ snapshots: dependencies: ethereum-cryptography: 2.2.1 eventemitter3: 5.0.1 - web3-errors: 1.2.1 - web3-types: 1.7.0 + web3-errors: 1.3.0 + web3-types: 1.8.0 web3-validator: 2.0.6 web3-validator@2.0.6: dependencies: ethereum-cryptography: 2.2.1 util: 0.12.5 - web3-errors: 1.2.1 - web3-types: 1.7.0 + web3-errors: 1.3.0 + web3-types: 1.8.0 zod: 3.23.8 web3@4.11.1(typescript@5.5.4)(zod@3.23.8): @@ -9465,6 +9870,32 @@ snapshots: - utf-8-validate - zod + web3@4.13.0(typescript@5.5.4)(zod@3.23.8): + dependencies: + web3-core: 4.6.0 + web3-errors: 1.3.0 + web3-eth: 4.9.0(typescript@5.5.4)(zod@3.23.8) + web3-eth-abi: 4.2.4(typescript@5.5.4)(zod@3.23.8) + web3-eth-accounts: 4.2.1 + web3-eth-contract: 4.7.0(typescript@5.5.4)(zod@3.23.8) + web3-eth-ens: 4.4.0(typescript@5.5.4)(zod@3.23.8) + web3-eth-iban: 4.0.7 + web3-eth-personal: 4.1.0(typescript@5.5.4)(zod@3.23.8) + web3-net: 4.1.0 + web3-providers-http: 4.2.0 + web3-providers-ws: 4.0.8 + web3-rpc-methods: 1.3.0 + web3-rpc-providers: 1.0.0-rc.2 + web3-types: 1.8.0 + web3-utils: 4.3.1 + web3-validator: 2.0.6 + transitivePeerDependencies: + - bufferutil + - encoding + - typescript + - utf-8-validate + - zod + webextension-polyfill@0.12.0: {} webidl-conversions@3.0.1: {} diff --git a/snap-account-abstraction-keyring b/snap-account-abstraction-keyring index cfdd3a5..2876fc0 160000 --- a/snap-account-abstraction-keyring +++ b/snap-account-abstraction-keyring @@ -1 +1 @@ -Subproject commit cfdd3a50ccd50271565126df6b25195f77c1021c +Subproject commit 2876fc066d2ac202ea233a6ba66953ca0a1f80ae